debian/0000775000000000000000000000000012315316505007171 5ustar debian/prerem0000664000000000000000000000035112225241570010404 0ustar #!/bin/sh # prerm script for sessioninstaller set -e if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ] ; then update-alternatives --remove gstreamer-codec-install \ /usr/bin/gst-installer || true fi #DEBHELPER# exit 0 debian/copyright0000664000000000000000000000274512225241570011133 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 Name: SessionInstaller Source: http://launchpad.net/sessioninstaller Maintainer: Sebastian Heinlein Copyright: 2008-2010, Sebastian Heinlein License: GPL-2+ Files: sessioninstaller/core.py Copyright: 2008-2010, Sebastian Heinlein 2009, Richard Hughes 2008, Sebastian Dröge License: GPL-2+ Files: sessioninstaller/backends/synaptic.py Copyright: 2008-2010, Sebastian Heinlein 2005-2007, Canonical Ltd. License: GPL-2+ License: GPL-2+ This package 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 package 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL'. debian/changelog0000664000000000000000000001766212315316343011057 0ustar sessioninstaller (0.20+bzr141-0ubuntu4) trusty; urgency=medium * debian/patches/03_new_gstreamer.patch: - update to work with the current gstreamer version (lp: #1278284) -- Sebastien Bacher Fri, 28 Mar 2014 17:01:02 +0100 sessioninstaller (0.20+bzr141-0ubuntu3) trusty; urgency=medium * Rebuild to drop files installed into /usr/share/pyshared. -- Matthias Klose Sun, 23 Feb 2014 13:53:59 +0000 sessioninstaller (0.20+bzr141-0ubuntu2) saucy; urgency=low * Depend on python-commandnotfound for InstallProvideFiles. (LP: #1060507) -- Iain Lane Wed, 09 Oct 2013 12:52:03 +0100 sessioninstaller (0.20+bzr141-0ubuntu1) saucy; urgency=low * Update Vcs-* headers for saucy branch. * New upstream snapshot: - Includes 03_gstreamer_1.0.patch, 04_dont_double_defer.patch, 05_parent_process_name.patch, drop these. - Don't crash on parsing broken .desktop files. (LP: #1190097) -- Martin Pitt Thu, 13 Jun 2013 12:50:45 +0200 sessioninstaller (0.20+bzr134-0ubuntu6) raring; urgency=low * debian/patches/05_parent_process_name.patch: - Cherry pick upstream patch to fix the detection of the client application. Patch from Sebastian Heinlein, thanks! (LP: #1049467) -- POJAR GEORGE Mon, 08 Apr 2013 08:45:12 +0000 sessioninstaller (0.20+bzr134-0ubuntu5) raring; urgency=low * debian/patches/04_dont_double_defer.patch: - Cherry pick upstream patch to avoid calling errback twice on the same deferred object (LP: #1056545) -- Michael Terry Thu, 28 Mar 2013 14:25:57 -0400 sessioninstaller (0.20+bzr134-0ubuntu4) raring; urgency=low [ Michael Vogt ] * fix Bzr-Vcs header [ Iain Lane ] * Cherry-pick upstream patch to learn about gstreamer 1.0 and use g-i GStreamer bindings instead of static python ones. * Drop Depends on python-gst0.10 and add one on the gstreamer-1.0 gir package instead. -- Iain Lane Wed, 13 Feb 2013 10:11:13 +0000 sessioninstaller (0.20+bzr134-0ubuntu3) raring; urgency=low [ Benjamin Kerensa ] * Fix typo in core.py (LP: 988775) [ Michael Vogt ] * new bzr version * drop 03_synchronous_transactions.patch (in trunk now) -- Michael Vogt Mon, 05 Nov 2012 12:42:35 +0100 sessioninstaller (0.20+bzr131-0ubuntu2) quantal; urgency=low * Cherry-pick upstream revision 132 to make transactions synchronous, as is expected (LP: #1042231) -- Iain Lane Thu, 20 Sep 2012 16:13:18 +0100 sessioninstaller (0.20+bzr131-0ubuntu1) quantal; urgency=low * debian/control: Update Vcs-* to Quantal branch. * New upstream snapshot: - Fix typo in error message. (LP: #790500) - Make sure not to accidentally call defer.callback() twice (LP #848605) - Work around static vs. GI gobject binding crash. (LP: #1028640) * Drop fix-defer-callback.patch, included upstream. -- Martin Pitt Tue, 21 Aug 2012 08:50:56 +0200 sessioninstaller (0.20+bzr128-0ubuntu1.1) precise-proposed; urgency=low * debian/patches/fix-defer-callback.patch: - Make sure not to accidentally call defer.callback() twice (LP: #848605) -- Michael Terry Mon, 23 Jul 2012 16:18:37 -0400 sessioninstaller (0.20+bzr128-0ubuntu1) precise-proposed; urgency=low * New upstream release that fixes: - merged lp:~aptdaemon-developers/sessioninstaller/multiarch LP: #899001 - Fix missing translation for the restrcited packages tooltip LP: #972427 - Don't translate debugging messages LP: #792436 - Fix a string substition if the sender_name of InstallPackageNames is unknown - Check if packages are available at all and show a corresponding error message if not (string addition) instead of a generic and no descriptive message -- Michael Vogt Wed, 25 Apr 2012 15:04:59 +0200 sessioninstaller (0.20+bzr123-0ubuntu2) precise; urgency=low * debian/control: Fix dependencies: python-gobject → python-gi. -- Martin Pitt Tue, 13 Mar 2012 19:31:36 +0100 sessioninstaller (0.20+bzr123-0ubuntu1) precise; urgency=low * New upstream snapshot: - Port to PyGI and GTK 3. (LP: #801202) * debian/control: Move Vcs-Bzr: to precise branch. * debian/control: C/R/P: gnome-codec-install, to clean this up on upgrades. session-installer is the preferred UI now. * debian/control: Update dependencies for PyGI/GTK 3 port. * debian/control: Bump Standards-Version to 3.9.2 (no changes necessary). -- Martin Pitt Mon, 14 Nov 2011 15:26:01 +0100 sessioninstaller (0.20+bzr120-0ubuntu2) oneiric; urgency=low * Fixed two typos in debian/control (LP: #793396) -- Alexander Fougner Fri, 24 Jun 2011 12:42:19 +0200 sessioninstaller (0.20+bzr120-0ubuntu1) oneiric; urgency=low * new bzr snapshot * updated from python-support to dh_python2 -- Michael Vogt Fri, 10 Jun 2011 12:53:49 +0200 sessioninstaller (0.20+bzr119-0ubuntu2) natty; urgency=low * debian/patches/02_no_crash_on_install_provides.patch: - do not raise a exception in _install_provide_files() LP: #762431 -- Michael Vogt Mon, 18 Apr 2011 11:51:08 +0200 sessioninstaller (0.20+bzr119-0ubuntu1) natty; urgency=low * new bzr bugfix snaphot: - migrate backend to defer - fix crash in _render_warning (LP: #713984) * debian/patches/02_backends_defer.patch: - dropped, part of upstream now -- Michael Vogt Thu, 31 Mar 2011 18:08:42 +0200 sessioninstaller (0.20+bzr117-0ubuntu1) natty; urgency=low * New bzr version: - Migrate from aptdaemon.defer to defer. (LP: #703330) * debian/patches/02_backends_defer.patch: - Migrate also backends to defer. * debian/control: - Depends on python-defer. - Depends on python-xapian. -- Julien Lavergne Fri, 14 Jan 2011 22:39:37 +0100 sessioninstaller (0.20+bzr115-0ubuntu1) maverick; urgency=low * New bzr version that use the command-not-found database to find files asked for by the InstallProviding interface. This helps e.g. brasero to find the cdrdao package when it needs it (LP: #630877) -- Michael Vogt Fri, 24 Sep 2010 10:50:55 +0200 sessioninstaller (0.20+bzr112-0ubuntu1) maverick; urgency=low * debian/patches/01_disable_install_print_drivers.patch: - silently exit on "InstallPrinterDrivers" (this is not implmented yet) (LP: #633913) * new bzr snapshot that fixes crash in InstallPrinterDrivers() (LP: #612140) -- Michael Vogt Mon, 13 Sep 2010 16:02:53 +0200 sessioninstaller (0.20-1) unstable; urgency=low * New upstream release. * debian/control: Set Standards-Version to 3.9.0 -- Julian Andres Klode Mon, 12 Jul 2010 14:03:40 +0200 sessioninstaller (0.10+bzr104-1) unstable; urgency=low * Initial Upload to Debian (Closes: #558797) - Change maintainer and VCS fields accordingly. * Use python-support instead of python-central. * Really use 3.0 (quilt) source format. * debian/control: Use Vcs-* headers instead of XS-Vcs-* ones. * debian/watch: Add watch file. -- Julian Andres Klode Sun, 06 Jun 2010 14:59:03 +0200 sessioninstaller (0.10+bzr104-0ubuntu1) maverick; urgency=low * new bzr snapshot: - support mime-type install - support icons/applications -- Michael Vogt Thu, 27 May 2010 10:03:53 +0200 sessioninstaller (0.10-0ubuntu2) maverick; urgency=low * debian/copyright: Use machine readable format * debian/source/format: Use 3.0 (quilt) -- Sebastian Heinlein Sun, 16 May 2010 16:21:00 +0200 sessioninstaller (0.10-0ubuntu1~ppa1) lucid; urgency=low * Initial Release. -- Sebastian Heinlein Fri, 05 Dec 2008 14:29:13 -0800 debian/rules0000775000000000000000000000017312225241570010251 0ustar #!/usr/bin/make -f %: dh $@ --with python2 override_dh_auto_clean: dh_auto_clean rm -rf build po/sessioninstaller.pot debian/postinst0000664000000000000000000000033712225241570011001 0ustar #!/bin/sh # postinst script for gstreamer0.10-packagekit set -e update-alternatives --install /usr/bin/gstreamer-codec-install \ gstreamer-codec-install \ /usr/bin/gst-install 80 || true #DEBHELPER# exit 0 debian/source/0000775000000000000000000000000012225241570010470 5ustar debian/source/format0000664000000000000000000000001412225241570011676 0ustar 3.0 (quilt) debian/dirs0000664000000000000000000000002112225241570010045 0ustar usr/bin usr/sbin debian/control0000664000000000000000000000345012225241570010575 0ustar Source: sessioninstaller Section: gnome Priority: extra Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Julian Andres Klode Build-Depends: debhelper (>= 7.3), python (>= 2.6.6-3~), python-setuptools, python-distutils-extra Standards-Version: 3.9.2 X-Python-Version: >= 2.5 Homepage: http://launchpad.net/sessioninstaller Vcs-Bzr: lp:~aptdaemon-developers/sessioninstaller/ubuntu-saucy Vcs-Browser: http://bazaar.launchpad.net/~aptdaemon-developers/sessioninstaller/ubuntu-saucy Package: sessioninstaller Architecture: all Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, aptdaemon (>=0.30), python-aptdaemon.gtk3widgets, python-commandnotfound, python-defer, python-xapian, python-gi, gir1.2-gtk-3.0, gir1.2-gstreamer-1.0 Conflicts: packagekit-gnome, gnome-codec-install Replaces: gnome-codec-install Provides: gnome-codec-install Description: APT based installer using PackageKit's session DBus API Sessioninstaller allows applications to easily install additional software (e.g. extensions or GStreamer codecs), uninstall files and perform simple software status queries by implementing the distribution neutral D-Bus session interface of PackageKit. . The whole process including confirmation, error reporting and progress and notification is handled by sessioninstaller. . The reference implementation of the D-Bus interface can be found in gnome-packagekit. It was also adpoted by KPackageKit. . In contrast to gnome-packagekit and KPackageKit it doesn't use the PackageKit daemon for querying and installation, but instead makes use of APT and aptdaemon (alternatively synaptic can be used). debian/compat0000664000000000000000000000000212225241570010366 0ustar 7 debian/watch0000664000000000000000000000013512225241570010220 0ustar version=3 http://launchpad.net/sessioninstaller/+download .*/sessioninstaller-([0-9.]+)\.tgz debian/examples0000664000000000000000000000000512225241570010724 0ustar test debian/docs0000664000000000000000000000000012225241570010031 0ustar debian/patches/0000775000000000000000000000000012315316255010622 5ustar debian/patches/03_new_gstreamer.patch0000664000000000000000000000172712315316255015016 0ustar === modified file 'sessioninstaller/sessioninstaller/core.py' --- sessioninstaller/sessioninstaller/core.py 2013-06-13 09:37:08 +0000 +++ sessioninstaller/sessioninstaller/core.py 2014-03-27 22:27:47 +0000 @@ -1341,14 +1341,14 @@ score -= 10 provides = [] for struct in structures: - if pkg.candidate.record["Gstreamer-Version"] != struct.version: + if pkg.candidate.record["Gstreamer-Version"].split(".")[0] != struct.version.split(".")[0]: continue if struct.caps: try: pkg_caps = Gst.Caps.from_string(pkg.candidate.record[struct.record]) except KeyError: continue - if not pkg_caps.intersect(struct.caps): + if pkg_caps.intersect(struct.caps).is_empty(): continue else: try: debian/patches/series0000664000000000000000000000014412315316230012027 0ustar 01_disable_install_print_drivers.patch 02_no_crash_on_install_provides.patch 03_new_gstreamer.patch debian/patches/02_no_crash_on_install_provides.patch0000664000000000000000000000153412225241570020075 0ustar ## Description: do not raise exception on _install_provide_files() ## Origin/Author: Michael Vogt ## Bug: https://bugs.launchpad.net/ubuntu/+source/sessioninstaller/+bug/762431 Index: sessioninstaller-0.20+bzr119/sessioninstaller/core.py =================================================================== --- sessioninstaller-0.20+bzr119.orig/sessioninstaller/core.py 2011-04-18 11:39:42.493047332 +0200 +++ sessioninstaller-0.20+bzr119/sessioninstaller/core.py 2011-04-18 11:39:41.543045940 +0200 @@ -711,7 +711,7 @@ dia = ErrorDialog(header, message) dia.run() dia.hide() - raise errors.ModifyInternalError(message) + #raise errors.ModifyInternalError(message) @dbus_deferred_method(PACKAGEKIT_MODIFY_DBUS_INTERFACE, in_signature="uass", out_signature="", debian/patches/01_disable_install_print_drivers.patch0000664000000000000000000000135712225241570020251 0ustar ## Description: add some description ## Origin/Author: add some origin or author ## Bug: bug URL Index: sessioninstaller-0.20+bzr112/sessioninstaller/core.py =================================================================== --- sessioninstaller-0.20+bzr112.orig/sessioninstaller/core.py 2010-09-13 15:51:41.291392000 +0200 +++ sessioninstaller-0.20+bzr112/sessioninstaller/core.py 2010-09-13 15:51:40.361392000 +0200 @@ -1025,6 +1025,7 @@ @track_usage def _install_printer_drivers(self, xid, resources, interaction): + return header = _("Installing printer drivers on request isn't supported") message = _("Currently autodetection and installation of " "missing printer drivers is not supported.")