--- ntfs-config-1.0.1.orig/debian/copyright +++ ntfs-config-1.0.1/debian/copyright @@ -0,0 +1,94 @@ +This package was debianized by Florent Mertens on +Fri, 12 Jan 2007 02:02:15 +0100. + +It was downloaded from http://flomertens.free.fr/ntfs-config/ + +Upstream Author: Florent Mertens + +Copyright: + (C) 2007 Mertens Florent + (C) 2004 Sandino Flores Moreno + +Translate: + Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007 + zh_HK - Abel Cheung , 2007. + sk - Jozef Riha , 2007. + fr - Mertens Florent , 2007., Ersplus , 2007. + +Last-Translator: + Sukanto Ghosh + Antonio Cuñat Alario + Petr Halas + Martin Pihl + Stefanie Koch + Ioannis Koniaris + Glennji Mason + Jonathan Zeppettini + Nicholas Wastell + skarevoluti + jklök + amp3030 + Florent Mertens + N!R ^A^ + Sukanto Ghosh + Adrian Goll + Frigyes + Luca Livraghi + José Lou C. + Young-Ho Cha + zolookas + Bjorn Heesakkers + Yannig MARCHEGAY (Kokoyaya) + e.s.t + wilson_p_junior + Joel calado + Alex Bogdan Covaci + wiz + Malinthe Samarakoon + Jose Riha + Daniel Nylander + konuralp + Viet Hung + rainofchaos + freefallingbody + + +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; 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 + +The Debian packaging is (C) 2007, Florent Mertens and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. + + +NtfsConfig/SimpleGladeApp.py and NtfsConfig/Fstab/SimpleGladeApp.py: + + This library 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 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General Public License +version 2 can be found in `/usr/share/common-licenses/LGPL-2.1'. + --- ntfs-config-1.0.1.orig/debian/control +++ ntfs-config-1.0.1/debian/control @@ -0,0 +1,23 @@ +Source: ntfs-config +Section: admin +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Ivan Borzenkov +Build-Depends: debhelper (>= 5), autotools-dev, cdbs, python-gtk2-dev, + libgtk2.0-dev (>= 2.6), libglade2-dev, python-support, + libhal-dev (>= 0.5.2), libhal-storage-dev (>= 0.5.2), + libxml-parser-perl, autoconf, python-dev +Standards-Version: 3.8.3 +XB-Python-Version: ${python:Versions} +Homepage: http://flomertens.free.fr/ntfs-config/ + +Package: ntfs-config +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, ntfs-3g, python2.5, udev, + python-glade2 +XB-Python-Version: ${python:Versions} +Description: Enable/disable write support for any NTFS devices + This program allow you to easily configure all of your NTFS devices + to allow write support via a friendly gui. + For that use, it will configure them to use the open source ntfs-3g + driver. You'll also be able to easily disable this feature. --- ntfs-config-1.0.1.orig/debian/docs +++ ntfs-config-1.0.1/debian/docs @@ -0,0 +1,2 @@ +README +TODO --- ntfs-config-1.0.1.orig/debian/compat +++ ntfs-config-1.0.1/debian/compat @@ -0,0 +1 @@ +5 --- ntfs-config-1.0.1.orig/debian/rules +++ ntfs-config-1.0.1/debian/rules @@ -0,0 +1,18 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +post-patches:: + rm -f configure + autoconf + +install/ntfs-config:: + #sed -e 's/^.*bin\/python.*/#!\/usr\/bin\/python/' -i debian/ntfs-config/usr/bin/ntfs-config + #sed -e 's/^.*bin\/python.*/#!\/usr\/bin\/python/' -i debian/ntfs-config/usr/sbin/ntfs-config-root + dh_pysupport + dh_python + +clean:: + rm -f configure --- ntfs-config-1.0.1.orig/debian/changelog +++ ntfs-config-1.0.1/debian/changelog @@ -0,0 +1,85 @@ +ntfs-config (1.0.1-3ubuntu1) lucid; urgency=low + + * Sync with Debian + * Add kubuntu_01_kdesu.diff to fix kdesu usage + + -- Jonathan Riddell Tue, 05 Jan 2010 17:45:37 +0000 + +ntfs-config (1.0.1-3) unstable; urgency=low + + * Fix missing runtime depend (Closes: #548726) + + -- Ivan Borzenkov Mon, 28 Sep 2009 21:30:39 +0400 + +ntfs-config (1.0.1-2) unstable; urgency=low + + * Add copyright of *.po files + + -- Ivan Borzenkov Sun, 30 Aug 2009 13:11:13 +0400 + +ntfs-config (1.0.1-1) unstable; urgency=low + + * New upstream release + * Porting to Debian (Closes: #482576) + * Up Standards-Version to 3.8.3 - make lintian clean + * Fix error in ntfs-config-root + * Fix error build whis python 2.4 + * Update Homepage + + -- Ivan Borzenkov Fri, 21 Aug 2009 00:05:12 +0400 + +ntfs-config (0.5.5-0ubuntu5) karmic; urgency=low + + * Add 01_desktop_agnostic_su.diff to use su-to-root, closes LP: #329095 + * Add depends on "menu" + * Add simple-patchsys to debian/rules + + -- Jonathan Riddell Fri, 02 Oct 2009 15:11:30 +0100 + +ntfs-config (0.5.5-0ubuntu4) karmic; urgency=low + + * Fixed spelling mistake in /src/prober.c. (LP: #381263) + + -- David Stansby Tue, 02 Jun 2009 11:34:03 +0100 + +ntfs-config (0.5.5-0ubuntu3) jaunty; urgency=low + + * po/fr.po: fix translation of Gtk+ labels such as gtk-cancel to be the same + value as the string. + * data/ntfs-config.glade: don't mark gtk-cancel etc. labels as translatable; + LP: #105639. + + -- Loic Minier Tue, 07 Apr 2009 13:19:50 +0200 + +ntfs-config (0.5.5-0ubuntu2) jaunty; urgency=low + + * ntfs-config should go in System->Administration (LP: #124654). + + -- Jonathan Ernst Thu, 23 Oct 2008 23:15:01 +0200 + +ntfs-config (0.5.5-0ubuntu1) feisty; urgency=low + + * New upstream version : + - Translation : New translations and some fix. + + new English (Australia) translation thanks to Glennji Mason ! + + new Korean translation thanks to Young-Ho Cha ! + + new Lithuanian translation thanks to zolookas ! + + new Portuguese (Portugal) translation thanks to Joel calado ! + + add data/ntfs-config.desktop.in for translation. + + fix translated button. + - Fix : use symlink() instead of link() (#84519). + Thanks to Young-Ho Cha ! + - Fix : fix compilation warnings. + - Fix : small code cleanup. + * Change Priority from extra to optional. + * Change Maintainer to Ubuntu MOTU Developers and + Original-Maintainer to myself. + * Remove config file only on purge & remove. + + -- Florent Mertens Mon, 19 Feb 2007 19:52:43 +0100 + +ntfs-config (0.5.4-0ubuntu1) feisty; urgency=low + + * Initial release. + + -- Florent Mertens Thu, 8 Feb 2007 19:47:43 +0100 --- ntfs-config-1.0.1.orig/debian/pycompat +++ ntfs-config-1.0.1/debian/pycompat @@ -0,0 +1 @@ +2 --- ntfs-config-1.0.1.orig/debian/postrm +++ ntfs-config-1.0.1/debian/postrm @@ -0,0 +1,28 @@ +#!/bin/sh +# postrm script for ntfs-config + +set -e + +case "$1" in + purge|remove) + # Remove any fdi rule that could have been created by the program + echo "Removing configuration files created by the program..." + rm -f /etc/hal/fdi/policy/20-ntfs-config-write-policy.fdi + rm -f /etc/hal/fdi/policy/20-ntfs-config-ro-policy.fdi + ;; + + failed-upgrade|upgrade) + ;; + + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 + + --- ntfs-config-1.0.1.orig/debian/dirs +++ ntfs-config-1.0.1/debian/dirs @@ -0,0 +1 @@ +usr/bin --- ntfs-config-1.0.1.orig/debian/patches/kubuntu_01_kdesu.diff +++ ntfs-config-1.0.1/debian/patches/kubuntu_01_kdesu.diff @@ -0,0 +1,19 @@ +--- ntfs-config/ntfs-config-root.in 2010-01-05 17:30:54.000000000 +0000 ++++ ntfs-config/ntfs-config-root.in 2010-01-05 17:44:38.000000000 +0000 +@@ -53,12 +53,12 @@ + desktop = get_desktop() + if desktop == "GNOME" and test_cmd("gksu") : + auth = "gksu" +- elif desktop == "KDE" and test_cmd("kdesu") : +- auth = "kdesu" ++ elif desktop == "KDE" and test_cmd("/usr/lib/kde4/libexec/kdesu") : ++ auth = "/usr/lib/kde4/libexec/kdesu" + elif test_cmd("gksu") : + auth = "gksu" +- elif test_cmd("kdesu") : +- auth = "kdesu" ++ elif test_cmd("/usr/lib/kde4/libexec/kdesu") : ++ auth = "/usr/lib/kde4/libexec/kdesu" + else : + dialog("error", _("No authentication program founds"), \ + _("ntfs-config need to be run as root, but I can't find\n" --- ntfs-config-1.0.1.orig/debian/patches/python24-remove.patch +++ ntfs-config-1.0.1/debian/patches/python24-remove.patch @@ -0,0 +1,13 @@ +--- ntfs-config-1.0.1.orig/configure.in ++++ ntfs-config-1.0.1/configure.in +@@ -35,8 +35,8 @@ + AM_GLIB_GNU_GETTEXT + AC_PROG_INTLTOOL + +-# Check for python > 2.4 and pygtk > 2.6 +-AM_PATH_PYTHON_VERSION(2.4, 2.4.0, 2.5, 2.5.0) ++# Check for python > 2.5 and pygtk > 2.6 ++AM_PATH_PYTHON_VERSION(2.5, 2.5.0) + AC_DEFUN([required_pygtk_version], [2.6.0]) + AC_SUBST([PYOPTIONS], [-OOt]) + AC_MSG_CHECKING(for pygtk >= required_pygtk_version installed) --- ntfs-config-1.0.1.orig/debian/patches/config-root.patch +++ ntfs-config-1.0.1/debian/patches/config-root.patch @@ -0,0 +1,11 @@ +--- ntfs-config-1.0.1.orig/ntfs-config-root.in ++++ ntfs-config-1.0.1/ntfs-config-root.in +@@ -68,7 +68,7 @@ + "the terminal with su or sudo.")) + sys.exit() + logging.info("Launching %s with %s..." % (PACKAGE, auth)) +- os.putenv("%s_user-XAUTHORITY" % PACKAGE, os.environ["XAUTHORITY"]) ++ #os.putenv("%s_user-XAUTHORITY" % PACKAGE, os.environ["XAUTHORITY"]) + argv = [auth, "--", PACKAGE] + argv.extend(sys.argv[1:]) + os.execvp(auth, argv)