diff options
author | Mateusz Łukasik <mati75@linuxmint.pl> | 2018-03-12 05:45:30 -0400 |
---|---|---|
committer | Mateusz Łukasik <mati75@linuxmint.pl> | 2018-03-12 05:45:30 -0400 |
commit | 2c78c09122a9981e80389cf8d757a687e991956d (patch) | |
tree | 75061c4e8bfcb18c65839fd4f6a4be4d058f2716 | |
parent | ddef07cab834612d6470fbb4483afde40cd2d708 (diff) | |
parent | cef29dd391a1db61d23dcd7c41002f84cfc7d572 (diff) |
smplayer (18.2.2~ds0-1) unstable; urgency=medium
* New upstream release.
* Move VCS to salsa.
* Bump Standards-Version to 4.1.3.
* Dump dh version to 11.
[dgit import unpatched smplayer 18.2.2~ds0-1]
-rw-r--r-- | debian/changelog | 423 | ||||
-rw-r--r-- | debian/clean | 3 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 60 | ||||
-rw-r--r-- | debian/copyright | 313 | ||||
-rw-r--r-- | debian/docs | 3 | ||||
-rw-r--r-- | debian/gbp.conf | 3 | ||||
-rw-r--r-- | debian/patches/01-update-mime-types.patch | 16 | ||||
-rw-r--r-- | debian/patches/02-disable_updates.patch | 15 | ||||
-rw-r--r-- | debian/patches/04_update_desktop_launcher.patch | 26 | ||||
-rw-r--r-- | debian/patches/05-add-debian-hardening-flags.patch | 18 | ||||
-rw-r--r-- | debian/patches/06-tryfixplaylist.patch | 23 | ||||
-rw-r--r-- | debian/patches/series | 5 | ||||
-rw-r--r-- | debian/repack.local | 2 | ||||
-rwxr-xr-x | debian/repack.sh | 161 | ||||
-rw-r--r-- | debian/repack.stub | 82 | ||||
-rwxr-xr-x | debian/rules | 27 | ||||
-rw-r--r-- | debian/smplayer-l10n.install | 1 | ||||
-rw-r--r-- | debian/smplayer.install | 7 | ||||
-rw-r--r-- | debian/smplayer.xpm | 269 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/watch | 3 |
22 files changed, 1462 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..27b8154 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,423 @@ +smplayer (18.2.2~ds0-1) unstable; urgency=medium + + * New upstream release. + * Move VCS to salsa. + * Bump Standards-Version to 4.1.3. + * Dump dh version to 11. + + -- Mateusz Łukasik <mati75@linuxmint.pl> Mon, 12 Mar 2018 10:45:30 +0100 + +smplayer (17.11.2~ds0-1) unstable; urgency=medium + + * New upstream release. + * Bump Standards-Version to 4.1.1. + * Change smplayer-l10n section to localization. + + -- Mateusz Łukasik <mati75@linuxmint.pl> Mon, 27 Nov 2017 12:26:35 +0100 + +smplayer (17.8.0~ds0-1) unstable; urgency=medium + + * New upstream release. + * Bump Standards-Version to 4.0.1. (no changes needed) + + -- Mateusz Łukasik <mati75@linuxmint.pl> Sun, 13 Aug 2017 12:16:18 +0200 + +smplayer (17.7.0~ds0-1) unstable; urgency=medium + + * New upstream release. (Closes: #869411) + * Bump Standards-Version to 4.0.0. (no changes needed) + * Upload to unstable. + + -- Mateusz Łukasik <mati75@linuxmint.pl> Sun, 23 Jul 2017 12:06:00 +0200 + +smplayer (17.3.0~ds0-1) experimental; urgency=medium + + * New upstream release. + + -- Mateusz Łukasik <mati75@linuxmint.pl> Sat, 18 Mar 2017 21:25:44 +0100 + +smplayer (17.2.0~ds0-1) experimental; urgency=medium + + * New upstream bugfix release. + * Update debian/copyright. + + -- Mateusz Łukasik <mati75@linuxmint.pl> Mon, 13 Feb 2017 21:19:07 +0100 + +smplayer (16.11.0~ds0-1) unstable; urgency=medium + + * New upstream release. + * Drop all references to mplayer2. + * debian/patches: + - Add 01-update-mime-types.patch to merge mime types from vlc. + (Closes: #842899) + + -- Mateusz Łukasik <mati75@linuxmint.pl> Tue, 22 Nov 2016 17:31:13 +0100 + +smplayer (16.9.0~ds0-1) unstable; urgency=medium + + [ Mateusz Łukasik ] + * New upstream release. (Closes: #825294) + * debian/control: + - Add qtbase5-private-dev to B-D. + - Remove Maia Kozheva from uploaders. (Closes: #829314) + * Bump debhelper version to 10. + + [ Sebastian Ramacher ] + * Fix Vcs-* links + + -- Mateusz Łukasik <mati75@linuxmint.pl> Fri, 14 Oct 2016 13:03:05 +0200 + +smplayer (16.4.0~ds0-1) unstable; urgency=medium + + * New upstream release. (Closes: #809667, #820431) + - Refresh all patches and drop 03-not_define_reminder_actions.patch. + * debian/control: + - Bump standards version to 3.9.8. (no changes needed) + - Update package description. (Closes: #819656) + - Use secured links in VCS fields. + * debian/rules: + - Enable hardening=+all. + + -- Mateusz Łukasik <mati75@linuxmint.pl> Fri, 08 Apr 2016 22:48:57 +0200 + +smplayer (15.11.0~ds0-1) unstable; urgency=medium + + [ Mateusz Łukasik ] + * Repackaging upstream sources to drop included zlib sources. + * New upstream release. (Closes: #770357, #798961, #799040, #800533, + LP: #1390937) + - Build with QT5. + * Bump standards version to 3.9.6. (no changes needed) + * Patch working: (thanks Alf Gaida <agaida@siduction.org>) + - Add 03-not_define_reminder_actions.patch to do not define reminder + actions (Closes: #770359) + - Add 04_update_desktop_launcher.patch for add Unity Launcher + Quicklist and Keywords in desktop file. (LP: #938015) + - Refresh 02-disable_updates.patch. + - Add 05-add-debian-hardening-flags.patch to using Debian hardening + flags. + - Add 06-tryfixplaylist.patch to fix playlist that disappear after + leaving full-screen with openbox. (Closes: #799385, #799984) + * debian/rules: + - Remove /usr/share/doc/smplayer/es/gpl.htm + * Update debian/copyright. + * Add support for mpv: (Closes: #783401) + - debian/control: Add mpv instead of mplayer|mplayer2. + * debian/repack.local: update for dfsg to remove zlib directory. + * Drop depends on mplayer2. It has been removed from Debian repository. + * Remove debian/menu -- no longer needed. + + [ Alf Gaida ] + * debian/rules: + - Make local rebuilds possible. (Closes: #770382) + + -- Mateusz Łukasik <mati75@linuxmint.pl> Sun, 06 Dec 2015 21:24:40 +0100 + +smplayer (14.9.0~ds0-1) unstable; urgency=medium + + [ Mateusz Łukasik ] + * New upstream release. + + [ Alessio Treglia ] + * Repackaging upstream sources to get rid of + zlib/contrib/dotzlib/DotZLib.chm. + * Enable parallel builds. + + -- Mateusz Łukasik <mati75@linuxmint.pl> Wed, 10 Sep 2014 13:50:48 +0200 + +smplayer (14.3.0-1) unstable; urgency=medium + + * Add myself to uploaders. + * New upstream release. (Closes: #740769, #742685) + * debian/control: + - bump standards version to 3.9.5. (no changes needed) + - rename smplayer-translations to smplayer-l10n. (Closes: #698365) + + -- Mateusz Łukasik <mati75@linuxmint.pl> Mon, 21 Apr 2014 11:53:59 +0200 + +smplayer (0.8.6-2) unstable; urgency=low + + * Team upload. + * Remove doc-base document, faq.html file is no longer + provided. (Closes: #725829) + * Disable updates checking mechanism. + * Add licensing information on libmaia, split sources stanzas from + License ones. + + -- Alessio Treglia <alessio@debian.org> Wed, 09 Oct 2013 12:02:50 +0100 + +smplayer (0.8.6-1) unstable; urgency=low + + * Team upload. + * Upload to unstable. + * New upstream release. + * Refresh patches. + * Fix VCS urls to meet the canonical form. + + -- Alessio Treglia <alessio@debian.org> Tue, 08 Oct 2013 12:51:23 +0100 + +smplayer (0.8.4-1) experimental; urgency=low + + * Imported Upstream version 0.8.4 + - improved downloading on slow links, closes: #607187. + - no longer overwrites previously downloaded subtitles, closes: #607190. + * Testing confirms that this version works with both, mplayer and + mplayer2, closes: #640889, #641909, #643781, #678315. + * Improve mplayer2 auto-detection, closes: #699864. + + -- Reinhard Tartler <siretart@tauware.de> Sat, 30 Mar 2013 09:15:38 +0100 + +smplayer (0.8.3-1) experimental; urgency=low + + * Team upload. + * New upstream release. (Closes: #698300) + + -- Alessio Treglia <alessio@debian.org> Tue, 12 Feb 2013 03:00:21 +0000 + +smplayer (0.8.0-1) unstable; urgency=low + + [ Maia Kozheva ] + * New upstream release: + - Changes since 0.7.1: + + A toolbar editor has been added. Now it's possible to select the + buttons and controls that want to appear in the toolbars. + + New video filters: gradfun, blur and sharpen. + + Now it's possible to change the GUI (default, mini, mpc) at runtime, + no restart required. + + sub files from opensubtitles should work again. + + (Youtube) Recognize short urls (like this one: + http://y2u.be/F5OcZBVPwOA) + + Better support for chapters in video files. + + Bug fix: remote m3u files work from the favorites menu or command line. + + Internal changes in the single instance option (switch to + QtSingleApplication). + - Fixes since 0.7.0: + + SMPlayer took more than 10 seconds to show when running for the very + first time. + + The links to download subtitles from Opensubtitles were wrong. + + SMPlayer crashed in the favorite editor when trying to select a file + if the KDE open dialog was used. + - Changes since 0.7.0: + + By default the screenshots are saved in the user's pictures folder + instead of the SMPlayer's config folder. + + Now it's possible to change the opensubtitles server. + + Youtube: seeking is slow with flv videos, so now flv videos have the + lowest priority. + + Youtube: now it's possible to search and download videos from youtube. + This is provided by an external application (in linux you have to + install an independent package: smtube). + * debian/copyright: + - Rewrite according to DEP-5 specification. + * debian/control: + - Depend on mplayer2 | mplayer. (Closes: #638279) + - Update Standards-Version to 3.9.3. + * Remove debian/patches/handle_local_urls.diff, merged upstream. + + [ Alessio Treglia ] + * Mention smplayer is also a front-end for MPlayer2. + * Fix small typo in the description. + + -- Maia Kozheva <sikon@ubuntu.com> Sat, 14 Apr 2012 12:01:57 +0700 + +smplayer (0.7.0-1) unstable; urgency=low + + * Team upload. + * New upstream release (Closes: #655125): + - Changes since 0.6.10: + + New favorite menu, where you can add your favorite videos, music, + streams, youtube videos... It's also possible to add submenus. + + Support for youtube. Now you can open urls like + http://www.youtube.com/watch?v=..... using the Open -> URL dialog or + dragging a link from a browser to the smplayer window. + + Support for mplayer2 (http://www.mplayer2.org). It's a fork of mplayer + with interesting features like precise seeking, ordered chapters in + mkv videos and better pause handling (e.g. seek works while the video + is paused). + + New translation: croatian. + - Changes since 0.6.9: + + New vdpau configuration dialog, which allow to select the vdpau codecs + to use. (Closes: #610204) + + Port for eCS, OS/2 (by Silvan Scherrer). + + New menu to select the closed caption channel (requires mplayer >= + r32607). + + Possibility to select the seeking method (absolute or relative). + + Possibility to sort the items of the playlist. + * Remove debian/patches/enable_ffodivxvdpau.diff, the application now + provides a configuration dialog for vdpau. + * Refresh handle_local_urls.diff. + * Update copyright notice. + + -- Alessio Treglia <alessio@debian.org> Thu, 16 Feb 2012 11:51:44 +0100 + +smplayer (0.6.9-4) unstable; urgency=low + + * Bump Standards-Version to 3.9.2. + * Modify URL parsing patch to handle some corner cases. (Closes: #626324) + + -- Maia Kozheva <sikon@ubuntu.com> Thu, 12 May 2011 20:38:49 +0700 + +smplayer (0.6.9-3) unstable; urgency=low + + * Add debian/patches/handle_local_urls.diff. (Closes: #583398) + + -- Maia Kozheva <sikon@ubuntu.com> Thu, 28 Apr 2011 23:36:22 +0700 + +smplayer (0.6.9-2) unstable; urgency=low + + [ Maia Kozheva ] + * Switch to 3.0 (quilt) format. + * debian/control: + - Bump Standards-Version to 3.9.1. + - Add Vcs-Git and Vcs-Browser fields. + - Enable DM-Upload-Allowed. + + [ Reinhard Tartler ] + * Bugfix: add support for ffodivxvdpau, Closes: #609815. + Thanks to Thibaut VARENE <varenet@debian.org> for the patch. + + -- Maia Kozheva <sikon@ubuntu.com> Sun, 08 Aug 2010 21:47:58 +0700 + +smplayer (0.6.9-1) unstable; urgency=low + + * New upstream release. + * debian/control: + - Removed mplayer-nogui from Depends, as it is now a transitional package + to mplayer in both Debian and Ubuntu. + - Bumped Standards-Version to 3.8.4 (no changes needed). + + -- Maia Kozheva <sikon@ubuntu.com> Sun, 09 May 2010 21:23:36 +0700 + +smplayer (0.6.8-2) unstable; urgency=low + + * debian/compat: + - Bumped to 7. + * debian/control: + - Changed maintainer to team. + - Build-depend on dh 7, no cdbs. + * debian/rules, debian/clean: + - Rewritten to use dh 7. + - Set DOC_PATH and remove an unneeded upstream file. + * debian/smplayer.install, debian/smplayer.doc-base: + - Install upstream docs correctly. (Closes: #557069) + * Dropped debian/README.source - not using CDBS simple-patchsys anymore. + + -- Maia Kozheva <sikon@ubuntu.com> Sat, 21 Nov 2009 14:08:08 +0600 + +smplayer (0.6.8-1) unstable; urgency=low + + * New upstream release. (Closes: #543156) + * Added /usr/share/pixmaps to debian/menu. (Closes: #526353) + * debian/control: Bumped Standards-Version to 3.8.3. + * debian/rules: + - Removed VERSION variables, not relevant anymore. + - Removed dh_desktop. + * Removed 01_gl_translation.patch, fixed upstream. + + -- Maia Kozheva <sikon@ubuntu.com> Wed, 04 Nov 2009 12:45:38 +0600 + +smplayer (0.6.7-1) unstable; urgency=low + + * New upstream release. (Closes: #523791) + - Reworked subtitle font preferences. (Closes: #503295) + - No longer installs qt_fr.qm. (Closes: #486314) + * debian/control: + - Bumped Standards-Version to 3.8.1. + - Changed maintainer name (still the same person and GPG key). + - Changed section to video. + - Build-depend on zlib1g-dev for findsubtitles. + - Require Qt >= 4.3 per readme. + - Added ${misc:Depends}. + - Make smplayer-translations depend on smplayer and smplayer recommend + smplayer-translations, not the other way round. (Closes: #489375) + * debian/copyright: + - Significantly expanded per-file with new upstream authors. + * debian/rules: + - Make make use correct uic in install. + - Clean svn_revision. + - Removed get-orig-source - not needed with uscan --repack. + * debian/patches/01_gl_translation.patch: + - Added patch to fix lrelease error on smplayer_gl.ts. + * Added debian/README.source for simple-patchsys. + + -- Maia Kozheva <sikon@ubuntu.com> Tue, 31 Mar 2009 23:05:43 +0700 + +smplayer (0.6.1-1) unstable; urgency=low + + * New upstream release. + * Updated get-orig-source rule (again). + + -- Matvey Kozhev <sikon@ubuntu.com> Fri, 30 May 2008 12:52:19 +0700 + +smplayer (0.6.0-1) unstable; urgency=low + + * New upstream release. + * Bumped debian/compat to 6. + * debian/control: + - Require debhelper >= 6. + - Relaxed the dependency of smplayer-translations on smplayer + to Recommends. (Closes: #478713) + * Dropped debian/smplayer.desktop, changes applied upstream. + + -- Matvey Kozhev <sikon@ubuntu.com> Tue, 13 May 2008 10:12:30 +0700 + +smplayer (0.6.0~rc4-1) unstable; urgency=low + + * New upstream release. + + -- Matvey Kozhev <sikon@ubuntu.com> Wed, 16 Apr 2008 15:11:15 +0700 + +smplayer (0.6.0~rc3-1) unstable; urgency=low + + * New upstream release. + * debian/rules: + - Disable debug output on console. + + -- Matvey Kozhev <sikon@ubuntu.com> Mon, 24 Mar 2008 20:40:33 +0600 + +smplayer (0.6.0~rc2-1) unstable; urgency=low + + * New upstream release. + * debian/control: + - Updated upstream homepage (for real this time). + * debian/rules: + - Added --no-symlink to uscan in get-orig-source to avoid creating + .orig.tar.bz2 symlinks. + + -- Matvey Kozhev <sikon@lucidfox.org> Fri, 15 Feb 2008 14:58:22 +0600 + +smplayer (0.6.0~rc1-1) unstable; urgency=low + + * New upstream release. + * debian/control: + - Build-depend on CDBS. + - Updated upstream homepage. + * debian/copyright: + - Updated download address. + * debian/rules: + - Migrated to CDBS. + - Tweaked get-orig-source to work with release candidates. + * debian/docs: + - Removed Translations.txt, upstream removed it from the tarball. + - Added Release_notes.txt. + * debian/manpages, debian/smplayer.1: + - Deleted, manpage merged upstream. + * debian/smplayer.install: + - Install usr/share/man. + + -- Matvey Kozhev <sikon@lucidfox.org> Thu, 31 Jan 2008 13:44:53 +0600 + +smplayer (0.5.62-1) unstable; urgency=low + + * First upload to Debian. (Closes: #459789) + * debian/control: + - Set maintainer to myself. + * debian/copyright: + - Mentioned takeover from Ubuntu. + * debian/menu: + - Replaced icon name "smplayer" with "smplayer.xpm". + * debian/rules: + - Replaced "make distclean" (nonexistent rule) with "make clean". + - Fixed CONF_PATH. + - Additional cleanup through dh_clean. + + -- Matvey Kozhev <sikon@lucidfox.org> Wed, 09 Jan 2008 00:10:25 +0600 diff --git a/debian/clean b/debian/clean new file mode 100644 index 0000000..c9b62d2 --- /dev/null +++ b/debian/clean @@ -0,0 +1,3 @@ +svn_revision +svn_revision.txt +src/svn_revision.h diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..b4de394 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +11 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..4cb6bcf --- /dev/null +++ b/debian/control @@ -0,0 +1,60 @@ +Source: smplayer +Section: video +Priority: optional +Maintainer: Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org> +Uploaders: + Reinhard Tartler <siretart@tauware.de>, + Mateusz Łukasik <mati75@linuxmint.pl> +Build-Depends: + debhelper (>= 11), + qtbase5-dev (>= 5.1), + qtbase5-private-dev, + qt5-qmake, + qtscript5-dev, + qttools5-dev-tools, + zlib1g-dev +Standards-Version: 4.1.3 +Homepage: http://smplayer.sourceforge.net/ +Vcs-Git: https://salsa.debian.org/multimedia-team/smplayer.git +Vcs-Browser: https://salsa.debian.org/multimedia-team/smplayer + +Package: smplayer +Architecture: any +Depends: + mpv (>= 0.6.2) | mplayer, + ${misc:Depends}, + ${shlibs:Depends} +Recommends: + smplayer-themes, + smplayer-l10n +Description: Complete front-end for MPlayer and mpv + Qt5 front-end for mplayer and forks, with basic features like playing + videos, DVDs, and VCDs to more advanced features like support + for MPlayer filters and more. One of the most interesting features + of SMPlayer: it remembers the settings of all files you play. + So you start to watch a movie but you have to leave... don't + worry, when you open that movie again it will resume at the same + point you left it, and with the same settings: audio track, + subtitles, volume... + +Package: smplayer-l10n +Architecture: all +Section: localization +Depends: + smplayer (>= ${source:Version}), + ${misc:Depends} +Replaces: + smplayer (<< 0.5.62), smplayer-translations (<< 14.3.0) +Breaks: + smplayer-translations (<< 14.3.0) +Description: Complete front-end for MPlayer and mpv - translation files + Qt5 front-end for mplayer and forks, with basic features like playing + videos, DVDs, and VCDs to more advanced features like support + for MPlayer filters and more. One of the most interesting features + of SMPlayer: it remembers the settings of all files you play. + So you start to watch a movie but you have to leave... don't + worry, when you open that movie again it will resume at the same + point you left it, and with the same settings: audio track, + subtitles, volume... + . + This package contains translation files. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..96c793b --- /dev/null +++ b/debian/copyright @@ -0,0 +1,313 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: SMPlayer +Upstream-Contact: Ricardo Villalba <rvm@escomposlinux.org> +Source: http://smplayer.sf.net + +Files: * +License: GPL-2+ +Copyright: + 2006-2017, Ricardo Villalba <rvm@escomposlinux.org> + +Files: debian/* +License: GPL-2+ +Copyright: + 2007, Cyril Breuil <cyrilbport@gmail.com> + 2008-2012, Maia Kozheva <sikon@ubuntu.com> + 2013-2017, Mateusz Łukasik <mati75@linuxmint.pl> + +Files: + src/myslider.cpp + src/myslider.h +Copyright: 2006-2017, Ricardo Villalba <rvm@escomposlinux.org> +License: LGPL-2.1+ + +Files: + src/verticaltext.cpp + src/verticaltext.h +Copyright: 2003-2004, Christian Esken <esken@kde.org> +License: LGPL-2+ + +Files: src/skingui/mediabarpanel.cpp + src/skingui/mediabarpanel.h + src/skingui/mediapanel.cpp + src/skingui/mediapanel.h + src/skingui/mybutton.cpp + src/skingui/mybutton.h + src/skingui/myicon.cpp + src/skingui/myicon.h + src/skingui/panelseeker.cpp + src/skingui/panelseeker.h + src/skingui/playcontrol.cpp + src/skingui/playcontrol.h + src/skingui/qpropertysetter.cpp + src/skingui/qpropertysetter.h + src/skingui/volumecontrolpanel.cpp +Copyright: 2006-2017, Ricardo Villalba <rvm@users.sourceforge.net> + 2010, Ori Rejwan +License: GPL-2+ + +Files: Copying_BSD.txt + src/qtsingleapplication/qtlocalpeer.cpp + src/qtsingleapplication/qtlocalpeer.h + src/qtsingleapplication/qtlockedfile.cpp + src/qtsingleapplication/qtlockedfile.h + src/qtsingleapplication/qtlockedfile_unix.cpp + src/qtsingleapplication/qtlockedfile_win.cpp + src/qtsingleapplication/qtsingleapplication.cpp + src/qtsingleapplication/qtsingleapplication.h + src/qtsingleapplication/qtsinglecoreapplication.cpp + src/qtsingleapplication/qtsinglecoreapplication.h +Copyright: 2013, Digia Plc and/or its subsidiary(-ies). +License: BSD-3-clause + +Files: src/findsubtitles/maia/maiaFault.cpp + src/findsubtitles/maia/maiaFault.h + src/findsubtitles/maia/maiaXmlRpcClient.cpp + src/findsubtitles/maia/maiaXmlRpcClient.h + src/findsubtitles/maia/maiaXmlRpcServer.cpp + src/findsubtitles/maia/maiaXmlRpcServer.h + src/findsubtitles/maia/maiaXmlRpcServerConnection.cpp + src/findsubtitles/maia/maiaXmlRpcServerConnection.h +Copyright: 2007, Sebastian Wiedenroth <wiedi@frubar.net> +License: BSD-2-clause + +Files: src/mpcgui/mpcgui.cpp + src/mpcgui/mpcgui.h + src/mpcgui/mpcstyles.cpp + src/mpcgui/mpcstyles.h +Copyright: 2008, matt_ <matt@endboss.org> +License: GPL-2+ + +Files: src/mpris2/mediaplayer2.cpp + src/mpris2/mediaplayer2player.cpp + src/mpris2/mpris2.cpp +Copyright: 2006-2017, Ricardo Villalba <rvm@users.sourceforge.net> + 2012, Bernd Buschinski <b.buschinski@googlemail.com> + 2012, Eike Hein <hein@kde.org> +License: GPL-2+ + +Files: src/mpris2/mediaplayer2.h + src/mpris2/mediaplayer2player.h + src/mpris2/mpris2.h +Copyright: 2006-2017, Ricardo Villalba <rvm@users.sourceforge.net> + 2012, Eike Hein <hein@kde.org> +License: GPL-2+ + +Files: src/findsubtitles/maia/maiaObject.cpp + src/findsubtitles/maia/maiaObject.h +Copyright: 2003, Frerich Raabe <raabe@kde.org> and + 2007, Sebastian Wiedenroth <wiedi@frubar.net> +License: BSD-2-clause + +Files: Copying_libmaia.txt + src/findsubtitles/maia/LICENSE +Copyright: 2010, Sebastian Wiedenroth. +License: BSD-2-clause + +Files: Copying.txt + setup/license.txt +Copyright: 1989, 1991, Free Software Foundation, Inc. +License: GPL-2+ + +Files: src/chapters.cpp + src/chapters.h +Copyright: 2006-2017, Ricardo Villalba <rvm@escomposlinux.org> +License: GPL-2+ + +Files: webserver/mongoose.h +Copyright: 1991, 1993, The Regents of the University of California + 2004-2013, Sergey Lyubka + 2013-2016, Cesanta Software Limited +License: BSD-3-clause + +Files: Copying_openssl.txt +Copyright: 1995-1998, Eric Young (eay@cryptsoft.com) + 1998-2011, The OpenSSL Project +License: BSD-4-clause + +Files: os2/readme.os2 +Copyright: 200-2013 RVM <rvm@users.sourceforge.net>. + 2008, 2012, Silvan Scherrer +License: GPL-2+ + +Files: src/findsubtitles/filedownloader/main.cpp +Copyright: 2004-2008, Trolltech ASA +License: GPL-2+ + +Files: src/shortcutgetter.cpp +Copyright: 2006, FullMetalCoder + 2006-2017, Ricardo Villalba <rvm@users.sourceforge.net> +License: GPL-2+ + +Files: webserver/mongoose.c +Copyright: Steve Reid <steve@edmweb.com> + 2014-2016, Cesanta Software Limited +License: GPL-2+ + +Files: src/shortcutgetter.h +Copyright: 2006, FullMetalCoder + 2006-2017, Ricardo Villalba <rvm@users.sourceforge.net> +License: GPL-2+ + +Files: src/filehash.cpp +Copyright: 2006-2017, Ricardo Villalba <rvm@users.sourceforge.net> + Kamil Dziobek turbos11(at)gmail.com +License: GPL-2+ + +Files: src/mplayerprocess.cpp +Copyright: 2000-2015, MPlayer Team + 2006-2017, Ricardo Villalba <rvm@users.sourceforge.net> +License: GPL-2+ + +Files: src/skingui/volumecontrolpanel.h +Copyright: 2010, Ori Rejwan +License: GPL-2+ + +Files: src/about.cpp +Copyright: 2006-2017, Ricardo Villalba <rvm@users.sourceforge.net> + 2006-2017, Ricardo Villalba <rvm@users.sourceforge.net> +License: GPL-2+ + +Files: src/verticaltext.h +Copyright: 2003-2004, Christian Esken <esken@kde.org> +License: GPL-2+ + +License: LGPL-2+ + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + . + You should have received a copy of the GNU Library General Public + License along with this program; if not, write to the + Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. + . + On Debian GNU/Linux systems, the complete text of the GNU Library General + Public License version 2 can be found in the file + `/usr/share/common-licenses/LGPL-2+'. + +License: LGPL-2.1+ + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) version 3, or any + later version accepted by the membership of KDE e.V. (or its + successor approved by the membership of KDE e.V.), Trolltech ASA + (or its successors, if any) and the KDE Free Qt Foundation, which shall + act as a proxy defined in Section 6 of version 3 of the license. + . + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + . + You should have received a copy of the GNU Lesser General Public + License along with this library. If not, see http://www.gnu.org/licenses/. + . + On Debian GNU/Linux systems, the complete text of the GNU Lesser General + Public License version 2.1 can be found in the file + `/usr/share/common-licenses/LGPL-2.1'. + +License: GPL-2+ + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program; if not, write to the + Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. + . + On Debian systems, the full text of the GNU General Public + License version 2 can be found in the file + `/usr/share/common-licenses/GPL-2'. + +License: BSD-2-clause + All rights reserved. + . + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + . + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS + IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +License: BSD-3-clause + All rights reserved. + . + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this + software without specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS + BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR + BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF + ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +License: BSD-4-clause + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 4. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..03602c7 --- /dev/null +++ b/debian/docs @@ -0,0 +1,3 @@ +Not_so_obvious_things.txt +Readme.txt +Release_notes.txt diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..4f24002 --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,3 @@ +[DEFAULT] +pristine-tar = True +compression = bzip2 diff --git a/debian/patches/01-update-mime-types.patch b/debian/patches/01-update-mime-types.patch new file mode 100644 index 0000000..aa33c92 --- /dev/null +++ b/debian/patches/01-update-mime-types.patch @@ -0,0 +1,16 @@ +Description: Update mime types +Author: Mateusz Łukasik <mati75@linuxmint.pl> +Bug-Debian: https://bugs.debian.org/842899 +Last-Update: 2018-01-10 + +--- a/smplayer.desktop ++++ b/smplayer.desktop +@@ -4,7 +4,7 @@ Comment=A great MPlayer front-end + Exec=smplayer %U + GenericName=Media Player + Icon=smplayer +-MimeType=audio/ac3;audio/mp4;audio/mpeg;audio/vnd.rn-realaudio;audio/vorbis;audio/x-adpcm;audio/x-matroska;audio/x-mp2;audio/x-mp3;audio/x-ms-wma;audio/x-vorbis;audio/x-wav;audio/mpegurl;audio/x-mpegurl;audio/x-pn-realaudio;audio/x-scpls;audio/aac;audio/flac;audio/ogg;video/avi;video/mp4;video/flv;video/mpeg;video/quicktime;video/vnd.rn-realvideo;video/x-matroska;video/x-ms-asf;video/x-msvideo;video/x-ms-wmv;video/x-ogm+ogg;video/x-theora;video/webm; ++MimeType=application/ogg;application/x-ogg;audio/ogg;audio/x-vorbis;audio/x-vorbis+ogg;video/ogg;video/x-ogm+ogg;video/x-theora+ogg;video/x-theora;audio/x-speex;audio/opus;application/x-flac;audio/flac;audio/x-flac;audio/x-ms-asf;audio/x-ms-asx;audio/x-ms-wax;audio/x-ms-wma;video/x-ms-asf;video/x-ms-asf-plugin;video/x-ms-asx;video/x-ms-wm;video/x-ms-wmv;video/x-ms-wmx;video/x-ms-wvx;video/x-msvideo;audio/x-pn-windows-acm;video/divx;video/msvideo;video/vnd.divx;video/x-avi;application/vnd.rn-realmedia;application/vnd.rn-realmedia-vbr;audio/vnd.rn-realaudio;audio/x-pn-realaudio;audio/x-pn-realaudio-plugin;audio/x-real-audio;audio/x-realaudio;video/vnd.rn-realvideo;audio/mpeg;audio/mpg;audio/mp1;audio/mp2;audio/mp3;audio/x-mp1;audio/x-mp2;audio/x-mp3;audio/x-mpeg;audio/x-mpg;video/mp2t;video/mpeg;video/mpeg-system;video/x-mpeg;video/x-mpeg2;video/x-mpeg-system;application/mpeg4-iod;application/mpeg4-muxcodetable;application/x-extension-m4a;application/x-extension-mp4;audio/aac;audio/m4a;audio/mp4;audio/x-m4a;audio/x-aac;video/mp4;video/mp4v-es;video/x-m4v;application/x-quicktime-media-link;application/x-quicktimeplayer;video/quicktime;application/x-matroska;audio/x-matroska;video/x-matroska;video/webm;audio/webm;audio/3gpp;audio/3gpp2;audio/AMR;audio/AMR-WB;audio/amr;audio/amr-wb;video/3gp;video/3gpp;video/3gpp2;x-scheme-handler/mms;x-scheme-handler/mmsh;x-scheme-handler/rtsp;x-scheme-handler/rtp;x-scheme-handler/rtmp;x-scheme-handler/icy;x-scheme-handler/icyx;x-content/video-vcd;x-content/video-svcd;x-content/video-dvd;x-content/audio-cdda;x-content/audio-player;application/ram;application/xspf+xml;audio/mpegurl;audio/x-mpegurl;audio/scpls;audio/x-scpls;text/google-video-pointer;text/x-google-video-pointer;video/vnd.mpegurl;application/vnd.apple.mpegurl;application/vnd.ms-asf;application/vnd.ms-wpl;application/sdp;audio/dv;video/dv;audio/x-aiff;audio/x-pn-aiff;video/x-anim;video/x-nsv;video/fli;video/flv;video/x-flc;video/x-fli;video/x-flv;audio/wav;audio/x-pn-au;audio/x-pn-wav;audio/x-wav;audio/ac3;audio/eac3;audio/vnd.dts;audio/vnd.dts.hd;audio/vnd.dolby.heaac.1;audio/vnd.dolby.heaac.2;audio/vnd.dolby.mlp;audio/basic;audio/midi;audio/x-ape;audio/x-gsm;audio/x-musepack;audio/x-tta;audio/x-wavpack;audio/x-shorten;application/x-shockwave-flash;application/x-flash-video;misc/ultravox;image/vnd.rn-realpix;audio/x-it;audio/x-mod;audio/x-s3m;audio/x-xm;application/mxf; + Name=SMPlayer + Type=Application + X-KDE-StartupNotify=false diff --git a/debian/patches/02-disable_updates.patch b/debian/patches/02-disable_updates.patch new file mode 100644 index 0000000..b202251 --- /dev/null +++ b/debian/patches/02-disable_updates.patch @@ -0,0 +1,15 @@ +Description: Disable updates checking mechanism. +Author: Alessio Treglia <alessio@debian.org> +Forwarded: not-needed + +--- a/src/smplayer.pro ++++ b/src/smplayer.pro +@@ -29,7 +29,7 @@ DEFINES += MINIGUI + DEFINES += MPCGUI + DEFINES += SKINS + DEFINES += MPRIS2 +-DEFINES += UPDATE_CHECKER ++#DEFINES += UPDATE_CHECKER + #DEFINES += CHECK_UPGRADED + DEFINES += AUTO_SHUTDOWN_PC + #DEFINES += CAPTURE_STREAM diff --git a/debian/patches/04_update_desktop_launcher.patch b/debian/patches/04_update_desktop_launcher.patch new file mode 100644 index 0000000..5987a90 --- /dev/null +++ b/debian/patches/04_update_desktop_launcher.patch @@ -0,0 +1,26 @@ +Description: Add Unity Launcher Quicklist and keywords to desktop file +Author: Mateusz Łukasik <mati75@linuxmint.pl> +Bug-Ubuntu: https://bugs.launchpad.net/bugs/938015 + +--- b/smplayer.desktop ++++ b/smplayer.desktop +@@ -8,6 +8,19 @@ MimeType=audio/ac3;audio/mp4;audio/mpeg; + Name=SMPlayer + Type=Application + X-KDE-StartupNotify=false ++Keywords=movie;player;media;kde;qt; ++ ++X-Ayatana-Desktop-Shortcuts=Screen;Window ++ ++[Mini Shortcut Group] ++Name=Open with mini GUI ++Exec=smplayer -minigui ++TargetEnvironment=Unity ++ ++[mpc Shortcut Group] ++Name=Open with mpc GUI ++Exec=smplayer -mpcgui ++TargetEnvironment=Unity + + # Translations + Comment[ar]=واجهة-طرفية ممتازة للمشغل MPlayer diff --git a/debian/patches/05-add-debian-hardening-flags.patch b/debian/patches/05-add-debian-hardening-flags.patch new file mode 100644 index 0000000..62504ad --- /dev/null +++ b/debian/patches/05-add-debian-hardening-flags.patch @@ -0,0 +1,18 @@ +Description: Add Debian hardening flags to qmake. +Author: Mateusz Łukasik <mati75@linuxmint.pl> + + +--- a/src/smplayer.pro ++++ b/src/smplayer.pro +@@ -5,6 +5,11 @@ CONFIG += qt warn_on + CONFIG += release + #CONFIG += debug + ++QMAKE_CPPFLAGS *= $(shell dpkg-buildflags --get CPPFLAGS) ++QMAKE_CFLAGS *= $(shell dpkg-buildflags --get CFLAGS) ++QMAKE_CXXFLAGS *= $(shell dpkg-buildflags --get CXXFLAGS) ++QMAKE_LFLAGS *= $(shell dpkg-buildflags --get LDFLAGS) ++ + QT += network xml + + RESOURCES = icons.qrc H2O.qrc diff --git a/debian/patches/06-tryfixplaylist.patch b/debian/patches/06-tryfixplaylist.patch new file mode 100644 index 0000000..eb70562 --- /dev/null +++ b/debian/patches/06-tryfixplaylist.patch @@ -0,0 +1,23 @@ +Description: try to fix playlist hide wuth a hack that always show the playlist if are activated +Author: PICCORO Lenz McKAY <mckaygerhard@gmail.com> +Bug-Debian: http://bugs.debian.org/799385 +Bug-Debian: http://bugs.debian.org/799984 + +Origin: https://sourceforge.net/p/smplayer/patches/62/ +Bug: https://sourceforge.net/p/smplayer/bugs/482/ +Forwarded: not-needed + +--- a/src/baseguiplus.cpp ++++ b/src/baseguiplus.cpp +@@ -427,10 +427,10 @@ void BaseGuiPlus::aboutToExitFullscreen( + #endif + ); + ++ playlistdock->setFloating( fullscreen_playlist_was_floating ); + if (fullscreen_playlist_was_visible) { + playlistdock->show(); + } +- playlistdock->setFloating( fullscreen_playlist_was_floating ); + ignore_playlist_events = false; + #endif + } diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..622dd1e --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,5 @@ +02-disable_updates.patch +04_update_desktop_launcher.patch +05-add-debian-hardening-flags.patch +06-tryfixplaylist.patch +01-update-mime-types.patch diff --git a/debian/repack.local b/debian/repack.local new file mode 100644 index 0000000..bb41ca5 --- /dev/null +++ b/debian/repack.local @@ -0,0 +1,2 @@ +SUFFIX=~ds0 +rm -rf zlib diff --git a/debian/repack.sh b/debian/repack.sh new file mode 100755 index 0000000..5b7bda3 --- /dev/null +++ b/debian/repack.sh @@ -0,0 +1,161 @@ +#!/bin/sh + +# see the repack.stub for how to use + +# TODO: provide example watch files and repack.locals +# TODO: test suite. problems fixed that need to be tested: +# * globbing +# * whitespace and then comments in the MANIFEST +# TODO: does / in weird places work? test suite too. +# TODO: I actually broke stuff with the MANIFEST change not thinking.. +# TODO: allow for a sepearate (and multiple) MANIFEST files, then +# de-uglify libsyntax-highlight-engine-kate-perl. +# TODO: have each mv and rm check that something actually changed, and +# if not, die + +set -e +set -u + +usage() { + echo "Usage: repack.sh --upstream-version <ver> <downloaded file>" + exit 1 +} + +if [ "$#" != "3" ]; then + usage +fi +if [ "$1" != "--upstream-version" ]; then + usage +fi +if [ ! -f "$3" ]; then + if [ -n "$3" ]; then + echo "$3 doesn't exist" + fi + usage +fi +VER="$2" +FILE="$3" +PKG=`dpkg-parsechangelog|grep ^Source:|sed 's/^Source: //'` + +SUFFIX="+dfsg" + +echo +echo "Repackaging $FILE" +echo + +DIR=`mktemp -d ./tmpRepackXXXXXX` +DIR=$(readlink -f "$DIR") +trap "/bin/rm -rf \"$DIR\"" QUIT INT EXIT + +# Create an extra directory to cope with rootless tarballs +UP_BASE="$DIR/unpack" +mkdir "$UP_BASE" +tar xf "$FILE" -C "$UP_BASE" || unzip "$FILE" -d "$UP_BASE" + +if [ `ls -1 "$UP_BASE" | wc -l` -eq 1 ]; then + # Tarball does contain a root directory + UP_BASE="$UP_BASE/`ls -1 "$UP_BASE"`" +fi + +RM_OPTS="-vrf" + +real_rm(){ + /bin/rm "$@" +} + +real_mv(){ + /bin/mv "$@" +} + +rm(){ + set +f + MYOLDPWD=$(pwd) + cd "$UP_BASE" + if [ "$MANIFEST" = "1" ]; then + PERM=$(stat --format=%a "MANIFEST") + chmod u+w "MANIFEST" + fi + for i in $@; do + if [ "$MANIFEST" = "1" ]; then + PATTERN="^$i" + if [ -d "$i" ]; then + if ! { echo "$PATTERN" | grep -q "/$" ; }; then + PATTERN="${PATTERN}/" + fi + else + PATTERN="${PATTERN}\s?" + fi + grep -Ev "$PATTERN" "MANIFEST" > "$DIR/MANIFEST" + real_mv "$DIR/MANIFEST" "MANIFEST" + fi + real_rm "$RM_OPTS" "$i" + done + if [ "$MANIFEST" = "1" ]; then + chmod $PERM "MANIFEST" + fi + cd $MYOLDPWD + set -f +} + +mv(){ + set +f + OLD=$(pwd) + cd $UP_BASE + real_mv "$@" + cd $OLD + if [ "$MANIFEST" = "1" ]; then + echo "MANIFEST cannot be manipulated with mv yet, patches welcome" + exit 1 + fi + set -f +} + +# bump with incompatible changes +REPACK_VERSION=3 + +requires_version(){ + if [ $REPACK_VERSION -lt $1 ]; then + echo "repack.sh is not up to date enough for this package. you need at least version $1, while this script is only version $REPACK_VERSION" + exit 1 + fi +} + +MANIFEST=0 +## Remove stuff +set -f +MYORIGPWD=$(pwd) +cd "$UP_BASE" +. "$MYORIGPWD/debian/repack.local" +cd $MYORIGPWD +set +f +## End + +REPACK_DIR="$PKG-${VER}${SUFFIX}.orig" # DevRef § 6.7.8.2 +DFSG_TAR="$(dirname $FILE)/${PKG}_${VER}${SUFFIX}.orig.tar" + +real_mv "$UP_BASE" "$DIR/$REPACK_DIR" + +# .gz or .bz2? +FILETYPE=$(file --brief --mime-type --dereference "$FILE") +case "$FILETYPE" in + application/x-gzip|application/zip|application/gzip) + C_PROGRAM="gzip" + C_SUFFIX="gz" + ;; + application/x-bzip2) + C_PROGRAM="bzip2" + C_SUFFIX="bz2" + ;; + *) + echo "E: Unknown filetye $FILETYPE" + exit 1 + ;; +esac + +# Using a pipe hides tar errors! +tar cfC "$DIR/repacked.tar" "$DIR" "$REPACK_DIR" +$C_PROGRAM -9 < "$DIR/repacked.tar" > "$DIR/repacked.tar.$C_SUFFIX" + +real_mv "$DIR/repacked.tar.$C_SUFFIX" "$DFSG_TAR.$C_SUFFIX" + +echo "*** $DFSG_TAR.$C_SUFFIX ready" diff --git a/debian/repack.stub b/debian/repack.stub new file mode 100644 index 0000000..ac56520 --- /dev/null +++ b/debian/repack.stub @@ -0,0 +1,82 @@ +#!/bin/sh + +: <<=cut +=pod + +=head1 NAME + +repack.stub - script to repack upstream tarballs from uscan + +=head1 INSTRUCTIONS + +put this in debian/repack.stub and add "debian sh debian/repack.stub" to +the end of the line in debian/watch. you will also need to add a version +mangle to debian/watch. + +then create a debian/repack.local. this is a shell script that is +sources under "set -e", so be careful to check returns codes. + +=head1 FUNCTIONS + +=over 4 + +=item rm + +rm is replaced by a function that does some magic ("rm -rv" by default), but also changes MANIFEST if $MANIFEST is 1 + +=item mv + +mv is replaced by a function that just does mv (by default), but also changes MANIFEST if $MANIFEST is 1 + +=item requires_version + +requires_version is there for future usage for requiring certain versions of the script + +=back + +=head1 VARIABLES + +=over 4 + +=item SUFFIX + +defaults to +dfsg + +what to append to the upstream version + +=item RM_OPTS + +defaults to -vrf + +options to pass to rm + +=item MANIFEST + +defaults to 0, set to 1 to turn on. + +this will manipulate MANIFEST files in CPAN tarballs. + +=item UP_BASE + +this is the directory where the upstream source is. + +=back + +=cut + +if [ -z "$REPACK_SH" ]; then + if [ -f ../../scripts/repack.sh ]; then + REPACK_SH=../../scripts/repack.sh + fi + if [ -z "$REPACK_SH" ] && which repack.sh > /dev/null; then + REPACK_SH=$(which repack.sh) + fi +fi + +if [ ! -f "$REPACK_SH" ]; then + echo "Couldn't find a repack.sh. please put it in your PATH, put it at ../../scripts/repack.sh, or put it somewhere else and set the REPACK_SH variable" + echo "You can get it from http://svn.debian.org/viewsvn/pkg-perl/scripts/repack.sh" + exit 1 +fi + +exec "$REPACK_SH" "$@" diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..fde193c --- /dev/null +++ b/debian/rules @@ -0,0 +1,27 @@ +#!/usr/bin/make -f + +export REPACK_SH = $(CURDIR)/debian/repack.sh + +export QT_SELECT=5 + +export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +QMAKE_OPTS = DEFINES+=NO_DEBUG_ON_CONSOLE DEFINES-=MPLAYER2_SUPPORT +MAKE_OPTS = PREFIX=/usr QMAKE=qmake LRELEASE=lrelease QMAKE_OPTS="$(QMAKE_OPTS)" + + +%: + dh $@ + +override_dh_auto_clean: + [ ! -d src/.moc ] || $(RM) -r src/.moc + [ ! -d src/.obj ] || $(RM) -r src/.obj + [ ! -d src/.ui ] || $(RM) -r src/.ui + [ ! -f src/Makefile ] || dh_auto_clean + +override_dh_auto_build: + dh_auto_build -- $(MAKE_OPTS) DOC_PATH=\\\"/usr/share/doc/smplayer\\\" + +override_dh_auto_install: + dh_auto_install -- $(MAKE_OPTS) DOC_PATH=/usr/share/doc/smplayer + rm -f debian/tmp/usr/share/doc/smplayer/Copying.txt diff --git a/debian/smplayer-l10n.install b/debian/smplayer-l10n.install new file mode 100644 index 0000000..4ee0e9b --- /dev/null +++ b/debian/smplayer-l10n.install @@ -0,0 +1 @@ +usr/share/smplayer/translations diff --git a/debian/smplayer.install b/debian/smplayer.install new file mode 100644 index 0000000..e0ba60f --- /dev/null +++ b/debian/smplayer.install @@ -0,0 +1,7 @@ +debian/smplayer.xpm usr/share/pixmaps +usr/bin/smplayer +usr/share/icons +usr/share/man +usr/share/smplayer/input.conf +usr/share/smplayer/shortcuts +smplayer*.desktop usr/share/applications diff --git a/debian/smplayer.xpm b/debian/smplayer.xpm new file mode 100644 index 0000000..5528350 --- /dev/null +++ b/debian/smplayer.xpm @@ -0,0 +1,269 @@ +/* XPM */ +static char *smplayer[] = { +/* columns rows colors chars-per-pixel */ +"32 32 231 2", +" c #000000", +". c #010408", +"X c #0C0C0C", +"o c #111111", +"O c #1D1D1D", +"+ c #061229", +"@ c #091429", +"# c #061A38", +"$ c #081634", +"% c #091A3C", +"& c #141421", +"* c #232323", +"= c #26292A", +"- c #2A2A2A", +"; c #353535", +": c #3A3A3A", +"> c #0E2C4C", +", c #0D2450", +"< c #0E2758", +"1 c #0E3471", +"2 c #0F3D7A", +"3 c #333E41", +"4 c #3B3C43", +"5 c #285368", +"6 c #395E6A", +"7 c #7D4F39", +"8 c #444444", +"9 c #4B4B4B", +"0 c #544C4A", +"q c #525252", +"w c #5B5B5B", +"e c #444E63", +"r c #4F5F63", +"t c #636363", +"y c #61646B", +"u c #6A6A6B", +"i c #666F73", +"p c #6A6A74", +"a c #6A6F79", +"s c #64767B", +"d c #706D6C", +"f c #737374", +"g c #70707B", +"h c #7C7877", +"j c #7A7A7B", +"k c #153E8A", +"l c #16408F", +"z c #164294", +"x c #14479A", +"c c #154BA4", +"v c #184CA2", +"b c #1A51AA", +"n c #1454B4", +"m c #1456B8", +"M c #165BBC", +"N c #274A8F", +"B c #285C80", +"V c #28539E", +"C c #2962B8", +"Z c #3E68B0", +"A c #1661C5", +"S c #1A62C4", +"D c #1C67C9", +"F c #267AD2", +"G c #475A83", +"H c #5B5B92", +"J c #526DA3", +"K c #687C82", +"L c #727287", +"P c #7B7C82", +"I c #407ACD", +"U c #7979CA", +"Y c #2F83D6", +"T c #3883D5", +"R c #3B97DA", +"E c #3C98DE", +"W c #4EA4BF", +"Q c #798593", +"! c #6F8CBF", +"~ c #7686A6", +"^ c #7C8FB5", +"/ c #7B9CA4", +"( c #63A3B6", +") c #76A9B8", +"_ c #5380C5", +"` c #5887CD", +"' c #518BD6", +"] c #579BDE", +"[ c #5E9ADC", +"{ c #58B5D4", +"} c #5ABADA", +"| c #4FB6EA", +" . c #5CA8E2", +".. c #50B8EB", +"X. c #5FBAEB", +"o. c #648AC6", +"O. c #6888C0", +"+. c #6A97D7", +"@. c #6E98D4", +"#. c #689BDC", +"$. c #7899CE", +"%. c #7E9ED2", +"&. c #60AFE6", +"*. c #6BA8E2", +"=. c #7CA9E1", +"-. c #71B9E9", +";. c #7DB4E6", +":. c #69C4EE", +">. c #77C7E3", +",. c #7EC6EE", +"<. c #79CCF2", +"1. c #8E5328", +"2. c #AC5D3E", +"3. c #94765C", +"4. c #AA755C", +"5. c #DF6C3F", +"6. c #DA7E30", +"7. c #E57233", +"8. c #E57C3C", +"9. c #FC7E38", +"0. c #B8885A", +"q. c #A38A6C", +"w. c #D48333", +"e. c #E7983F", +"r. c #ED953C", +"t. c #F48A36", +"y. c #FD8B34", +"u. c #FC8838", +"i. c #D38549", +"p. c #EE9B42", +"a. c #F29549", +"s. c #F29846", +"d. c #838383", +"f. c #82848A", +"g. c #8B8B8C", +"h. c #829499", +"j. c #8F9094", +"k. c #8B929B", +"l. c #929293", +"z. c #959598", +"x. c #979898", +"c. c #9A9A9B", +"v. c #8B8BB6", +"b. c #8692A0", +"n. c #8793AA", +"m. c #8C97AA", +"M. c #8C99AB", +"N. c #8D9CB2", +"B. c #929DA9", +"V. c #9A9BA1", +"C. c #88B3BF", +"Z. c #93A1A6", +"A. c #9FA0A4", +"S. c #A2948C", +"D. c #A69D99", +"F. c #A3A3A4", +"G. c #A4A5AB", +"H. c #ABABAC", +"J. c #AAACB2", +"K. c #A4B7BC", +"L. c #AFB0B3", +"P. c #B2B3B3", +"I. c #B3B4BB", +"U. c #BBBBBB", +"Y. c #8989CA", +"T. c #829CC8", +"R. c #9696F6", +"E. c #89A1C7", +"W. c #81A6DA", +"Q. c #8CAED7", +"!. c #93ACC8", +"~. c #9DA8C0", +"^. c #9DB1D2", +"/. c #86B1E2", +"(. c #80B9E8", +"). c #8FBFEA", +"_. c #A2A2CC", +"`. c #A0B9DD", +"'. c #A8BADA", +"]. c #B7B8C0", +"[. c #B9BCC3", +"{. c #BCBCCC", +"}. c #B1BCD2", +"|. c #A8A8F5", +" X c #82C2EC", +".X c #88D3F4", +"XX c #92CBEF", +"oX c #9CC8E4", +"OX c #9CD0ED", +"+X c #98D8EF", +"@X c #96D9F4", +"#X c #BFC1C6", +"$X c #B8C6DC", +"%X c #A4DEF4", +"&X c #B0C3E2", +"*X c #BBCAE2", +"=X c #C9AE92", +"-X c #DAB389", +";X c #EBE5BC", +":X c #C2C2C2", +">X c #C3C4CB", +",X c #CBCBCB", +"<X c #C6C8D2", +"1X c #C4CEDF", +"2X c #C8C8D2", +"3X c #CCCCDB", +"4X c #D3D3D3", +"5X c #D4D4DC", +"6X c #DBDBDB", +"7X c #C9CAE6", +"8X c #C2C2FF", +"9X c #CACAFF", +"0X c #CDD6E5", +"qX c #CED8EA", +"wX c #D6D6E2", +"eX c #DBDDE2", +"rX c #D9DCEC", +"tX c #D6D6FF", +"yX c #DADAF0", +"uX c #DADAFF", +"iX c #E2E2E2", +"pX c #E6E7E9", +"aX c #EAEAEA", +"sX c #E4E4F1", +"dX c #E6E6FF", +"fX c #E4E9F2", +"gX c #EAEBF5", +"hX c #EBEBFA", +"jX c #F3F4FC", +"kX c #FCFCFE", +"lX c None", +/* pixels */ +"lXlXlXlXlXlXlXlXlXlXlXlXlXlX: : : : : lXlXlXlXlXlXlXlXlXlXlXlXlX", +"lXlXlXlXlXlXlXlXlXlXlX: q f j g.l.g.g.g.h t lXlXlXlXlXlXlXlXlXlX", +"lXlXlXlXlXlXlXlXlXlXq f l.l.j x.P.U.U.U.U.F.x.H.lXlXlXlXlXlXlXlX", +"lXlXlXlXlXlXlXlXlXw g.g.q d.:X4X,X,X4X4X:XA.U.,X,XlXlXlXlXlXlXlX", +"lXlXlXlXlXlXlXlXw l.f 8 U.P.l.D.,X4X4Xz.: ; 8 c.4X4XU.lXlXlXlXlX", +"lXlXlXlXlX = 8 g.j 0 ,Xg.; ; ; t ,X#X: ; ; ; : P.6X4X,XlXlXlXlX", +"lXlXlXlX : H.t g.8 ,X:X: ; ; ; ; b.A.; ; ; ; ; z.6X6X6XlXlXlXlX", +"lXlXlX. 9 Z.K.l.: H.,XJ.; ; ; ; ; q.U.; ; ; ; : P.iX6X6X6XlXlXlX", +"lXlX. 0 Z.OX+Xs w q.$XU.: : ; ; : F.6Xf ; ; ; j iXiXiXiX6X6XlXlX", +"lXX q M./.;.,.>./ 8 d.,Xl.: ; : h 4X6X6XP.x.P.iX4XH.P.iXiXiXlXlX", +"o w M.%.+.] .X.} r j Q :XU.F.U.6X6X6X6XpXpXaXP.8 ; ; t iX6XlXlX", +"t P.^ O.U F T E | { ; X : x.4X6XU.D.S.j aXaXpX9 ; ; ; ; :XiXlXlX", +"9 P.a J Z C S F R ..{ * * ; U.H.4.8.i.4XU.aX4X; ; : ; ; F.iXiXlX", +"lX; w e N v n A F R 5 6 ; * j 5.9.u.a.=Xh aXiXH.].J.f.: P.iXaXlX", +"lXo O ; @ k v m M > 5 :.( 3 w 2.u.y.s.e.4XpXgX2Xj.j g.G.iXiXlXlX", +"lXlX % k x # 2 Y X.<.) u 0 7.t.r.s.-X[.5Xl.y w u j 5XiXlXlX", +"lXlXlX $ + 1 m D ] -..XC.x.7 6.6.0.q.U.H.f t t w d A.iXlXlX", +"lXlXlXlX % z v m ' *. X@X/ 9 1.3.P H.4Xc.Y.U p t t f.[.lXlX", +"lXlXlXlXlX , z b ` #.;.XX%XK u t A.I.,X{.9X8Xv.u t j I.lXlX", +"lXlXlXlXlXlX . < V o.@.=.).oXi J.y J.3X,XrXdXjX7Xf t j A.lXlX", +"lXlXlXlXlXlXlX . G ! $.=.Q.h.Q [.f wXsX>XhXjXkXgXj t j V.lXlX", +"lXlXlXlXlXlXlXlX X y ~ E.E.k.!.k.>Xj wXhX,XjXkXkXgXQ u j V.lXlX", +"lXlXlXlXlXlXlXlXlX= w f n.k.^.^.Q ].u >XwX,XsXhXkXrXh t j V.lXlX", +"lXlXlXlXlXlXlXlXlXlX; w f.~.&X&XN.V.w J.[.,X3XtXuX_.d t j J. lX", +"lXlXlXlXlXlXlXlXlXlXlX: d.c.$X$X$XB.f g.G.,XG.|.R.L u t j {. lX", +"lXlXlXlXlXlXlXlXlXlXlXlX0 Q L.1XqX0XJ.j z.,XA.g p t w u c.H.& lX", +"lXlXlXlXlXlXlXlXlXlXlXlXlXw F.:XrXfXfXeXH.J.>Xf.t w t f >X4 H lX", +"lXlXlXlXlXlXlXlXlXlXlXlXlX* t P.6XgXjXkXc.f gXJ.j d f H.[.lXlXlX", +"lXlXlXlXlXlXlXlXlXlXlXlXlXlX- g.>XsXjXx.o X I.pX<X[.>X[. lXlXlX", +"lXlXlXlXlXlXlXlXlXlXlXlXlXlXlX* q.0Xd.. lX 9 P j.t X lXlXlXlX", +"lXlXlXlXlXlXlXlXlXlXlXlXlXlXlXlX; q . lXlXlXlXlXlXlXlXlXlXlXlXlX", +"lXlXlXlXlXlXlXlXlXlXlXlXlXlXlXlXlXlXlXlXlXlXlXlXlXlXlXlXlXlXlXlX" +}; diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..4b87b5b --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=dversionmangle=s/~ds.*// \ +http://sf.net/smplayer/smplayer-([0-9][^r]*)\.tar\.bz2 debian sh debian/repack.stub |