debian/0000755000000000000000000000000012225347523007173 5ustar debian/changelog0000644000000000000000000001620312225347517011052 0ustar nautilus-python (1.1-4) unstable; urgency=low * Team upload. * Sync with ubuntu (Closes: #697565, #558613, #725665) - debian/control(.in) changes excluded except added dh-autoreconf b-d -- Andreas Henriksson Wed, 09 Oct 2013 23:48:55 +0200 nautilus-python (1.1-3ubuntu3) saucy; urgency=low [ Doug McMahon ] * d/p/02_python_multiarch_path.patch: Follow up fix for i386 multiarch. (LP: #1170017) -- Barry Warsaw Wed, 29 May 2013 16:34:23 -0400 nautilus-python (1.1-3ubuntu2) saucy; urgency=low [ Dr.Amr Osman ] * debian/patches/02_python_multiarch_path.patch: Add 64bit multiarch search paths for libpython2.7.so. (LP: #1170017) -- Barry Warsaw Tue, 28 May 2013 16:26:27 -0400 nautilus-python (1.1-3ubuntu1) raring; urgency=low * Fix FTBFS with python multiarch headers; Add dh-autoreconf to control; Add autoreconf to rules - update debian/control - update debian/rules - add debian/patches/02_python_multiarch_path.patch - update debian/patches/series -- Micah Gersten Sun, 06 Jan 2013 17:52:30 -0600 nautilus-python (1.1-3) unstable; urgency=low * Bump debhelper compatibility to 8. * Set pkg-gnome-maintainers@lists.alioth.debian.org as Maintainer. * Tighten dependency on python-gi to ensure it has dynamic bindings support. Closes: #652109 -- Michael Biebl Thu, 15 Dec 2011 01:00:58 +0100 nautilus-python (1.1-2) unstable; urgency=low [ Josselin Mouette ] * Replace python-gobject by python-gi. [ Martin Pitt ] * Add 00git_open_terminal_example_GI.patch: Use GI GConf bindings in open terminal example. Patch taken from upstream git. * Add 01_port_examples_to_GI.patch: Port remaining examples to GI bindings/GSettings. (Closes: #649910, LP: #898959) -- Martin Pitt Fri, 02 Dec 2011 07:40:34 +0100 nautilus-python (1.1-1) unstable; urgency=low * New upstream release. - Transition to nautilus 3 (Closes: #637315) * debian/control.in: - Adjusts {build-}dependencies - Bump Standards-Version to 3.9.2 (no further changes) - Add Vcs-* fields * Switch to dpkg-source 3.0 (quilt) format * debian/dirs: Create system-wide extensions directory to new location * debian/watch: Switch to .xz tarballs * debian/README.Debian: Update to new locations * debian/lintian-overrides: Add an override for the empty system-wide extensions directory * debian/copyright: Add missing copyright statements -- Laurent Bigonville Wed, 19 Oct 2011 22:04:10 +0200 nautilus-python (0.6.1-1) unstable; urgency=low [ Josselin Mouette ] * Require python-gconf instead of python-gnome2. Closes: #541582. * Add missing dependency on python-gtk2. * Drop useless .la files. [ Emilio Pozuelo Monfort ] * New upstream release. * debian/patches/02_libeel.patch, debian/patches/10_dlopen-nasty.patch, debian/patches/50_CVE-2009-0317.patch, debian/patches/70_missing_m4.patch, debian/patches/90_relibtoolize.patch: - Removed, no longer needed / applied upstream. * debian/control.in: - Remove libgnomevfs-dev from build depends, add python-gobject-dev. - Standards-Version is 3.8.4, no changes needed. * debian/watch: - Don't uupdate. * debian/control.in, debian/rules: - Remove quilt support, no longer needed. -- Emilio Pozuelo Monfort Sat, 30 Jan 2010 14:12:47 +0100 nautilus-python (0.5.1-2) unstable; urgency=low * Remove useless libeel build-dependency. -- Josselin Mouette Sat, 25 Apr 2009 12:51:34 +0200 nautilus-python (0.5.1-1) unstable; urgency=low * New upstream release. * Switch to quilt; build-depend on quilt. * Rename un-numbered patches. * 01_fix-extension-directory.patch: removed, fixed upstream. * 02_libeel.patch: drop eel requirement. * update.patch: removed, merged upstream. * 70_missing_m4.patch: add missing m4 macros to acinclude.m4. * 90_relibtoolize.patch: as the name says. * Use debhelper compatibility mode 7. * Refer to versioned GPL in the copyright. -- Josselin Mouette Thu, 16 Apr 2009 18:30:58 +0200 nautilus-python (0.5.0-2) unstable; urgency=low [ Loic Minier ] * Section is gnome says ftpmasters. * Wrap build-deps and deps. * Add ${misc:Depends}. [ Emilio Pozuelo Monfort ] * Change section back to python, override has been fixed. * Do not duplicate the section in the binary package stanza. [ Josselin Mouette ] * 50_CVE-2009-0317.patch: fix CVE-2009-0317: untrusted search path vulnerability. Closes: #513419 * Standards version is 3.8.1. * Upload to unstable. * Pass --no-act to dh_makeshlibs. -- Josselin Mouette Tue, 07 Apr 2009 15:51:10 +0200 nautilus-python (0.5.0-1) experimental; urgency=low * New upstream release, depends on Nautilus 2.22 so target experimental * Add watch file, and patches from Ubuntu * Also add nasty patch to load libpython2.5.so.1. Ugly. -- Ross Burton Sun, 20 Apr 2008 16:33:37 +0100 nautilus-python (0.4.3-2) unstable; urgency=low [ Ross Burton ] * Acknowledge NMU. * Add to pkg-gnome team maintainership. * Bump Standards. * Fix FSF address. [ Loic Minier ] * Add a get-orig-source target to retrieve the upstream tarball. -- Ross Burton Thu, 26 Apr 2007 11:12:37 +0100 nautilus-python (0.4.3-1.1) unstable; urgency=low * NMU. * Upload to unstable. * Drop dependency on python2.3, lowering severity of #373465. -- Matthias Klose Mon, 1 Jan 2007 11:36:59 +0100 nautilus-python (0.4.3-1) experimental; urgency=low * New upstream releases. - Should not cause nautilus to crash anymore. (Closes: #304370) * Add CDBS' utils. [debian/rules] * Add CDBS' simple patch system. [debian/patches, debian/rules] * Merge patch by Sam Morris to ease use of the package: - Add a README.Debian file containing notes on usage. [debian/README.Debian] - Create an empty /usr/lib/nautilus/extensions-1.0/python directory for plugins to be installed into. [debian/dirs] - Add missing libeel2-dev (>= 2.6.0) build-dep. [debian/control] -- Loic Minier Wed, 1 Mar 2006 20:36:33 +0100 nautilus-python (0.4.1-1) experimental; urgency=low [ Ross Burton ] * New upstream release (closes: #314297) - Threading fixes (closes: #304019) - Examples are not installed by default (closes: #309653) * Change build-dep to nautilus-extension (closes: #323743) * Tighten build-deps [Sebastien Bacher ] * debian/control: - build with the current gnome-python packages. -- Ross Burton Wed, 12 Oct 2005 21:03:53 +0100 nautilus-python (0.3.0-3) unstable; urgency=low * Add Depends on python-gnome2 -- Ross Burton Tue, 8 Mar 2005 13:44:23 +0000 nautilus-python (0.3.0-2) unstable; urgency=low * Build-Dep on python-gnome2-dev (closes: #283026) -- Ross Burton Mon, 29 Nov 2004 10:46:07 +0000 nautilus-python (0.3.0-1) unstable; urgency=low * Initial Release. -- Ross Burton Wed, 6 Oct 2004 18:02:08 +0100 debian/source/0000755000000000000000000000000012225347523010473 5ustar debian/source/format0000644000000000000000000000001411647250006011675 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000000207311647250006011124 0ustar This package was debianized by Ross Burton on Wed, 6 Oct 2004 18:02:08 +0100. It was downloaded from ftp://ftp.gnome.org/ Copyright: Copyright (C) 2004,2005 Johan Dahlin Copyright (C) 2003,2004 Novell, Inc. Upstream Author: Johan Dahlin License: 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; version 2 dated June, 1991. 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-2'. debian/watch0000644000000000000000000000015611647250006010222 0ustar version=3 http://ftp.gnome.org/pub/GNOME/sources/nautilus-python/([\d\.]+)/nautilus-python-([\d\.]+)\.tar\.xz debian/NEWS0000644000000000000000000000107211647625745007706 0ustar nautilus-python (1.1-1) unstable; urgency=low The extensions should now be arch-independent, the system-wide extension directory has changed to /usr/share/nautilus-python/extensions/. -- Laurent Bigonville Tue, 18 Oct 2011 11:51:17 +0200 nautilus-python (0.5.0-1) experimental; urgency=low This version of nautilus-python requires Nautilus 2.22. Because there have been API/ABI changes, the extension directory has changed to /usr/lib/nautilus/extension-2.0/python. -- Ross Burton Sun, 20 Apr 2008 16:43:55 +0100 debian/compat0000644000000000000000000000000211672233154010370 0ustar 8 debian/control0000644000000000000000000000244112225347625010602 0ustar # This file is autogenerated. DO NOT EDIT! # # Modifications should be made to debian/control.in instead. # This file is regenerated automatically in the clean target. Source: nautilus-python Section: python Priority: optional Maintainer: Debian GNOME Maintainers Uploaders: Andreas Henriksson , Emilio Pozuelo Monfort , Josselin Mouette , Laurent Bigonville , Martin Pitt , Michael Biebl Build-Depends: debhelper (>= 8), dh-autoreconf, cdbs, gnome-pkg-tools, python-dev, python-gi-dev, libnautilus-extension-dev (>= 3.0) Standards-Version: 3.9.2 Vcs-Svn: svn://anonscm.debian.org/pkg-gnome/packages/unstable/nautilus-python Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-gnome/packages/unstable/nautilus-python/ Package: python-nautilus Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python-gi (>= 3.0), gir1.2-nautilus-3.0 Description: Python binding for Nautilus components Python binding for Nautilus, to allow Nautilus property page and menu item extensions to be written in Python. debian/rules0000755000000000000000000000115012225346613010247 0ustar #! /usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/rules/utils.mk include /usr/share/cdbs/1/class/gnome.mk include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk -include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk include /usr/share/cdbs/1/rules/autoreconf.mk DEB_INSTALL_EXAMPLES_python-nautilus := $(wildcard examples/*.py) examples/README DEB_DH_MAKESHLIBS_ARGS_python-nautilus += --no-act binary-post-install/python-nautilus:: rm -rf debian/python-nautilus/usr/share/doc/nautilus-python/ rm -f debian/python-nautilus/usr/lib/nautilus/extensions-3.0/*.la debian/patches/0000755000000000000000000000000012225347523010622 5ustar debian/patches/02_python_multiarch_path.patch0000644000000000000000000000275212225346613016556 0ustar Description: Include Python multiarch headers and library search paths Use python-config to find the python include dirs Author: Micah Gersten --- a/m4/python.m4 +++ b/m4/python.m4 @@ -45,7 +45,7 @@ dnl deduce PYTHON_INCLUDES py_prefix=`$PYTHON -c "import sys; print(sys.prefix)"` py_exec_prefix=`$PYTHON -c "import sys; print(sys.exec_prefix)"` -PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}" +PYTHON_INCLUDES=`python-config --includes` if test "$py_prefix" != "$py_exec_prefix"; then PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}" fi @@ -85,7 +85,7 @@ dnl pathname ends in /lib64, we assume a 64-bit ABI. Otherwise we use the dnl default, namely "lib". enable_lib64="$1" - libdirsuffix="" + libdirsuffix="/i386-linux-gnu/" searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` if test "$enable_lib64" = "yes" -a -n "$searchpath"; then save_IFS="${IFS= }"; IFS=":" @@ -93,9 +93,11 @@ if test -d "$searchdir"; then case "$searchdir" in */lib64/ | */lib64 ) libdirsuffix=64 ;; + /lib/x86_64-linux-gnu/ | /lib/x86_64-linux-gnu ) libdirsuffix=/x86_64-linux-gnu ;; *) searchdir=`cd "$searchdir" && pwd` case "$searchdir" in */lib64 ) libdirsuffix=64 ;; + /lib/x86_64-linux-gnu ) libdirsuffix=/x86_64-linux-gnu ;; esac ;; esac fi debian/patches/series0000644000000000000000000000014112225346613012032 0ustar 00git_open_terminal_example_GI.patch 01_port_examples_to_GI.patch 02_python_multiarch_path.patch debian/patches/00git_open_terminal_example_GI.patch0000644000000000000000000000211311666070557017601 0ustar From 0d1192b0b600d27a25ebdae045f7ad3e8145529e Mon Sep 17 00:00:00 2001 From: Adam Plumb Date: Mon, 17 Oct 2011 14:39:08 -0500 Subject: [PATCH 1/2] Fixed the open terminal example to use the dynamic GConf bindings --- examples/open-terminal.py | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/examples/open-terminal.py b/examples/open-terminal.py index 1a12f01..7c70844 100644 --- a/examples/open-terminal.py +++ b/examples/open-terminal.py @@ -2,15 +2,13 @@ import os import urllib -import gconf - -from gi.repository import Nautilus, GObject +from gi.repository import Nautilus, GObject, GConf TERMINAL_KEY = '/desktop/gnome/applications/terminal/exec' -class OpenTerminalExtension(GObject.GObject, Nautilus.MenuProvider): +class OpenTerminalExtension(Nautilus.MenuProvider, GObject.GObject): def __init__(self): - self.client = gconf.client_get_default() + self.client = GConf.Client.get_default() def _open_terminal(self, file): filename = urllib.unquote(file.get_uri()[7:]) -- 1.7.7.3 debian/patches/01_port_examples_to_GI.patch0000644000000000000000000000456611666070777016135 0ustar From 110eda85d650a6bb9ac10a39e36f7489d243962f Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Fri, 2 Dec 2011 07:24:21 +0100 Subject: [PATCH 2/2] Port remaining examples to GI bindings/GSettings With current pygobject versions you cannot mix static and GI bindings for the same library any more. Port the examples to only use GI, and port background-image.py from gconf to gsettings to actually work with GNOME 3.0. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=665362 Bug-Debian: http://bugs.debian.org/649910 Bug-Ubuntu: https://launchpad.net/bugs/898959 --- examples/background-image.py | 15 +++++---------- examples/block-size-column.py | 5 ++--- 2 files changed, 7 insertions(+), 13 deletions(-) diff --git a/examples/background-image.py b/examples/background-image.py index f23c2a6..535ec8d 100644 --- a/examples/background-image.py +++ b/examples/background-image.py @@ -1,23 +1,18 @@ -import urllib - -import gconf - -from gi.repository import Nautilus, GObject +from gi.repository import Nautilus, GObject, Gio SUPPORTED_FORMATS = 'image/jpeg', 'image/png' -BACKGROUND_KEY = '/desktop/gnome/background/picture_filename' +BACKGROUND_SCHEMA = 'org.gnome.desktop.background' +BACKGROUND_KEY = 'picture-uri' class BackgroundImageExtension(GObject.GObject, Nautilus.MenuProvider): def __init__(self): - self.gconf = gconf.client_get_default() + self.bgsettings = Gio.Settings.new(BACKGROUND_SCHEMA) def menu_activate_cb(self, menu, file): if file.is_gone(): return - # Strip leading file:// - filename = urllib.unquote(file.get_uri()[7:]) - self.gconf.set_string(BACKGROUND_KEY, filename) + self.bgsettings[BACKGROUND_KEY] = file.get_uri() def get_file_items(self, window, files): if len(files) != 1: diff --git a/examples/block-size-column.py b/examples/block-size-column.py index a197539..fda87a9 100644 --- a/examples/block-size-column.py +++ b/examples/block-size-column.py @@ -1,10 +1,9 @@ import os import urllib -import gobject -from gi.repository import Nautilus +from gi.repository import GObject, Nautilus -class ColumnExtension(gobject.GObject, Nautilus.ColumnProvider, Nautilus.InfoProvider): +class ColumnExtension(GObject.GObject, Nautilus.ColumnProvider, Nautilus.InfoProvider): def __init__(self): pass -- 1.7.7.3 debian/control.in0000644000000000000000000000164612225347163011212 0ustar Source: nautilus-python Section: python Priority: optional Maintainer: Debian GNOME Maintainers Uploaders: @GNOME_TEAM@ Build-Depends: debhelper (>= 8), dh-autoreconf, cdbs, gnome-pkg-tools, python-dev, python-gi-dev, libnautilus-extension-dev (>= 3.0) Standards-Version: 3.9.2 Vcs-Svn: svn://anonscm.debian.org/pkg-gnome/packages/unstable/nautilus-python Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-gnome/packages/unstable/nautilus-python/ Package: python-nautilus Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python-gi (>= 3.0), gir1.2-nautilus-3.0 Description: Python binding for Nautilus components Python binding for Nautilus, to allow Nautilus property page and menu item extensions to be written in Python. debian/lintian-overrides0000644000000000000000000000021711647250006012550 0ustar # System-wide directory where extensions must be added python-nautilus: package-contains-empty-directory usr/share/nautilus-python/extensions/ debian/dirs0000644000000000000000000000004511647250006010052 0ustar usr/share/nautilus-python/extensions debian/README.Debian0000644000000000000000000000070311647250006011230 0ustar nautilus-python for Debian -------------------------- Plugins are loaded by default from two locations: /usr/share/nautilus-python/extensions - all-user plugin directory ~/.local/share/nautilus-python/extensions - per-user plugin directory Sample plugins can be found in /usr/share/doc/python-nautilus/examples. To use them, copy them to one of the locations above and restart nautilus--this can be done gracefully by running 'nautilus --quit'. debian/docs0000644000000000000000000000000710323662134010036 0ustar README