--- gnome-mount-0.8~svn20080225.orig/debian/patches/01_missing_include.patch +++ gnome-mount-0.8~svn20080225/debian/patches/01_missing_include.patch @@ -0,0 +1,13 @@ +# Description: Add missing include to fix FTBFS +# Upstream: http://bugzilla.gnome.org/show_bug.cgi?id=514946 + +--- gnome-mount-0.8~svn20080225/src/gnome-mount.c 2008-02-25 22:15:27.000000000 +0100 ++++ gnome-mount-0.8~svn20080225.new/src/gnome-mount.c 2008-03-05 15:29:30.000000000 +0100 +@@ -30,6 +30,7 @@ + #include + #include + #include ++#include + + #include + #include --- gnome-mount-0.8~svn20080225.orig/debian/patches/05_ignore_slash_label.patch +++ gnome-mount-0.8~svn20080225/debian/patches/05_ignore_slash_label.patch @@ -0,0 +1,11 @@ +--- a/src/gnome-mount.c 2007-03-09 17:53:55.000000000 +0100 ++++ b/src/gnome-mount.c 2007-03-09 17:56:42.000000000 +0100 +@@ -1467,7 +1467,7 @@ + if (volume != NULL) { + const char *label; + label = libhal_volume_get_label (volume); +- if (label != NULL) { ++ if (label != NULL && strcmp(label, "/") != 0) { + int n; + + mount_point = g_strdup (label); --- gnome-mount-0.8~svn20080225.orig/debian/patches/ubuntu-default-mount-options.patch +++ gnome-mount-0.8~svn20080225/debian/patches/ubuntu-default-mount-options.patch @@ -0,0 +1,65 @@ +diff -Nur -x '*.orig' -x '*~' gnome-mount-0.8~svn20080225/gnome-mount.schemas.in gnome-mount-0.8~svn20080225.new/gnome-mount.schemas.in +--- gnome-mount-0.8~svn20080225/gnome-mount.schemas.in 2007-08-01 02:49:20.000000000 +0200 ++++ gnome-mount-0.8~svn20080225.new/gnome-mount.schemas.in 2008-03-05 15:30:05.000000000 +0100 +@@ -6,7 +6,7 @@ + /system/storage/default_options/vfat/mount_options + list + string +- [shortname=lower,uid=] ++ [shortname=mixed,uid=,utf8,umask=077,exec,flush] + + Default mount options for vfat fs + A list of default mount options for volumes formatted with the vfat file system. +@@ -18,7 +18,7 @@ + /system/storage/default_options/iso9660/mount_options + list + string +- [uid=] ++ [uid=,utf8,exec] + + Default mount options for iso9660 fs + A list of default mount options for volumes formatted with the iso9660 file system. +@@ -30,7 +30,7 @@ + /system/storage/default_options/udf/mount_options + list + string +- [uid=] ++ [uid=,exec] + + Default mount options for udf fs + A list of default mount options for volumes formatted with the udf file system. +@@ -42,7 +42,7 @@ + /system/storage/default_options/ntfs/mount_options + list + string +- [umask=222] ++ [umask=222,utf8,exec] + + Default mount options for ntfs fs + A list of default mount options for volumes formatted with the ntfs file system. +@@ -64,13 +64,23 @@ + /system/storage/default_options/ntfs-3g/mount_options + list + string +- [locale=] ++ [locale=,exec] + + Default mount options for ntfs-3g fs + A list of default mount options for volumes formatted with the ntfs file system using ntfs-3g. + + + +- ++ ++ /schemas/system/storage/default_options/hfs/mount_options ++ /system/storage/default_options/hfs/mount_options ++ list ++ string ++ [uid=,] ++ ++ Default mount options for hfs fs ++ A list of default mount options for volumes formatted with the hfs file system. ++ ++ + + --- gnome-mount-0.8~svn20080225.orig/debian/patches/08_crypto_setup_error_dialog.patch +++ gnome-mount-0.8~svn20080225/debian/patches/08_crypto_setup_error_dialog.patch @@ -0,0 +1,50 @@ +--- a/src/gnome-mount.c ++++ b/src/gnome-mount.c +@@ -454,6 +454,39 @@ + } + } + ++static void ++show_error_dialog_setup_crypto (const char *udi, LibHalVolume *volume, LibHalDrive *drive, ++ const char *error_name, const char *error_detail) ++{ ++ GtkWidget *w; ++ ++ if (!opt_noui) { ++ w = gtk_message_dialog_new (NULL, ++ GTK_DIALOG_MODAL, ++ GTK_MESSAGE_ERROR, ++ GTK_BUTTONS_CLOSE, ++ _("Unable to set up crypto device")); ++ ++ if (strcmp (error_name, "org.freedesktop.Hal.Device.Volume.Crypto.SetupError") == 0 && ++ strstr (error_detail, "cryptsetup not found")) { ++ gtk_message_dialog_format_secondary_text ( ++ GTK_MESSAGE_DIALOG (w), ++ _("You need to install the cryptsetup package.")); ++ } else { ++ ++ /* copout fallback; show exception name */ ++ ++ gtk_message_dialog_format_secondary_markup ( ++ GTK_MESSAGE_DIALOG (w), ++ _("Error %s\n\n%s"), ++ error_name, error_detail); ++ } ++ ++ gtk_dialog_run (GTK_DIALOG (w)); ++ gtk_widget_unref (w); ++ } ++} ++ + + /** Integrate a dbus mainloop. + * +@@ -2268,6 +2301,7 @@ + if (strcmp (error.name, "org.freedesktop.Hal.Device.Volume.Crypto.SetupPasswordError") == 0) { + *password_error = TRUE; + } ++ show_error_dialog_setup_crypto(udi, volume, drive, error.name, error.message); + dbus_error_free (&error); + goto out; + } --- gnome-mount-0.8~svn20080225.orig/debian/patches/90_from_svn_allow_ejecting_drives.patch +++ gnome-mount-0.8~svn20080225/debian/patches/90_from_svn_allow_ejecting_drives.patch @@ -0,0 +1,66 @@ +diff -Nur -x '*.orig' -x '*~' gnome-mount-0.8~svn20080225/src/gnome-mount.c gnome-mount-0.8~svn20080225.new/src/gnome-mount.c +--- gnome-mount-0.8~svn20080225/src/gnome-mount.c 2008-04-21 18:58:40.000000000 +0200 ++++ gnome-mount-0.8~svn20080225.new/src/gnome-mount.c 2008-04-21 18:58:41.000000000 +0200 +@@ -206,7 +206,7 @@ + * org.freedesktop.Hal.Device.Volume.InvalidEjectOption + * org.freedesktop.Hal.Device.Volume.Busy + * org.freedesktop.Hal.Device.Volume.UnknownFailure +- * ++ * org.freedesktop.Hal.Device.UnknownError + * + * in a sane way. + */ +@@ -241,7 +241,8 @@ + /* TODO: could add 'Lazy Unmount' button */ + } else if (strcmp (error_name, "org.freedesktop.Hal.Device.Volume.InvalidUnmountOption") == 0 || + strcmp (error_name, "org.freedesktop.Hal.Device.Volume.UnsupportedEjectOption") == 0 || +- strcmp (error_name, "org.freedesktop.Hal.Device.Volume.UnknownFailure") == 0) { ++ strcmp (error_name, "org.freedesktop.Hal.Device.Volume.UnknownFailure") == 0 || ++ strcmp (error_name, "org.freedesktop.Hal.Device.UnknownError") == 0) { + gtk_message_dialog_format_secondary_text ( + GTK_MESSAGE_DIALOG (w), + volume_name != NULL ? +@@ -2971,6 +2972,43 @@ + if (found) { + goto try_drive; + } else { ++ if (opt_eject) { ++ char **volumes_udis; ++ int num_volumes; ++ int n; ++ ++ /* HACK TODO XXX ALERT: ugh.. try to find a mountable volume with an eject ++ * method.. ++ */ ++ volumes_udis = libhal_drive_find_all_volumes (hal_ctx, drive, &num_volumes); ++ if (volumes_udis != NULL) { ++ for (n = 0; n < num_volumes; n++) { ++ char **vol_ifs; ++ int m; ++ ++ vol_ifs = libhal_device_get_property_strlist ( ++ hal_ctx, ++ volumes_udis[n], ++ "info.interfaces", ++ NULL); ++ if (vol_ifs != NULL) { ++ for (m = 0; vol_ifs[m] != NULL; m++) { ++ if (strcmp (ifs[m], "org.freedesktop.Hal.Device.Volume") == 0) { ++ volume = libhal_volume_from_udi (hal_ctx, volumes_udis[n]); ++ libhal_drive_free (drive); ++ drive = NULL; ++ goto try_drive; ++ } ++ } ++ } ++ libhal_free_string_array (vol_ifs); ++ } ++ libhal_free_string_array (volumes_udis); ++ } ++ ++ } ++ ++ + if (opt_verbose) + g_message (_("Drive %s does not contain media."), + resolved_device_file != NULL ? resolved_device_file : opt_hal_udi); --- gnome-mount-0.8~svn20080225.orig/debian/copyright +++ gnome-mount-0.8~svn20080225/debian/copyright @@ -0,0 +1,32 @@ +This package was debianized by Michael Biebl on +Tue, 15 Aug 2006 23:58:34 +0200. + +It was downloaded from http://people.freedesktop.org/~david/dist/ + +Upstream Author: + David Zeuthen + +Copyright: + Copyright (C) 2006 David Zeuthen, + +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 + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + +The Debian packaging is (C) 2006, Michael Biebl and +is licensed under the GPL, see above. --- gnome-mount-0.8~svn20080225.orig/debian/changelog +++ gnome-mount-0.8~svn20080225/debian/changelog @@ -0,0 +1,293 @@ +gnome-mount (0.8~svn20080225-0ubuntu4) hardy; urgency=low + + * debian/patches/06_allow_eject_drive.patch: + - don't use this change for now, it breaks the svn backport and it's better + to be able to eject ipods rather than empty cd drives (lp: #211693) + + -- Sebastien Bacher Mon, 21 Apr 2008 18:33:16 +0200 + +gnome-mount (0.8~svn20080225-0ubuntu3) hardy; urgency=low + + * debian/patches/90_from_svn_allow_ejecting_drives.patch: + - change from SVN, allow to eject drives, make ejecting and ipod in nautilus + work as expected (lp: #211693) + + -- Sebastien Bacher Thu, 17 Apr 2008 09:46:50 +0200 + +gnome-mount (0.8~svn20080225-0ubuntu2) hardy; urgency=low + + * debian/patches/06_allow_eject_drive.patch: + - allow to use eject on empty drives (lp: #203574) + + -- Sebastien Bacher Tue, 01 Apr 2008 12:52:35 +0200 + +gnome-mount (0.8~svn20080225-0ubuntu1) hardy; urgency=low + + * Update to SVN snapshot: + - Builds nautilus extension for new nautilus 2.0 ABI now, unbreaking the + volume/drive properties tabs. (LP: #186196) + - Applied debian/patches/02_msgbox_unref.patch upstream, removed patch. + - No other changes. + * debian/patches/ubuntu-default-mount-options.patch: Use 'flush' option for + vfat. It does not actually work in the current kernel, but at least it's + there once it will actually do something useful. (LP: #149277) + + -- Martin Pitt Wed, 05 Mar 2008 15:30:46 +0100 + +gnome-mount (0.7-2ubuntu2) hardy; urgency=low + + * debian/patches/ubuntu-default-mount-options.patch: Drop VFAT option + 'usefree', it's not necessary any more with the current Hardy kernel, + and incompatible with pre-gutsy kernels. (LP: #151025) + + -- Martin Pitt Mon, 03 Mar 2008 15:54:25 +0100 + +gnome-mount (0.7-2ubuntu1) hardy; urgency=low + + * Merge with Debian unstable; see 0.7-1ubuntu1 for remaining changes. + * Add debian/patches/01_missing_include.patch: Add missing #include + to fix FTBFS. Forwarded to Gnome #514946. + * Add debian/patches/02_msgbox_unref.patch: Fix/work around crash when + destroying unused message box. (LP: #122673) + + -- Martin Pitt Thu, 07 Feb 2008 12:56:09 +0100 + +gnome-mount (0.7-2) unstable; urgency=low + + * debian/control + - The Vcs-* fields are now officially supported, so remove the XS- prefix. + - Bump Standards-Version to 3.7.3. No further changes required. + - Use the "Homepage:" field to specify the upstream URL. + - Fix a few capitalization errors in the package description. + + -- Michael Biebl Fri, 11 Jan 2008 01:44:57 +0100 + +gnome-mount (0.7-1ubuntu1) hardy; urgency=low + + * Merge with Debian unstable; remaining changes: + - debian/rules: Ignore libgnome-mount for dh_shlibdeps, so that + gnome-mount does not end up depending on half of Gnome just for the + nautilus extension. This keeps it suitable for XFCE. + - debian/patches/05_ignore_slash_label.patch: If the label is a single + '/', ignore it, so that it does not end up as /media/_. (LP #83323) + - debian/patches/08_crypto_setup_error_dialog.patch: If setup_crypto() + fails with Crypto.SetupError, display an error dialog instead of failing + silently. Special-case a missing /sbin/cryptsetup, suggest to install the + package. (LP #78358, forwarded to Gnome #426326) + - debian/patches/ubuntu-default-mount-options.patch: Change a few default + mount options for compatibility to UTF8 and previous Ubuntu versions. + * debian/control: Add dependency to policykit-gnome. + * Drop 02_sudo_session_dbus.patch and 03_root_mounting.patch, they are not + necessary any more with PolicyKit. + + -- Martin Pitt Tue, 20 Nov 2007 16:11:23 +0100 + +gnome-mount (0.7-1) unstable; urgency=low + + * New upstream release. + - Don't flood ~/.xsession-errors with debug messages. Closes: #443457 + * debian/control + - Add build dependency on autotools-dev for up-to-date config.{guess,sub} + files. + * debian/watch + - Updated to new download location. + + -- Michael Biebl Wed, 17 Oct 2007 18:23:05 +0200 + +gnome-mount (0.6-1ubuntu4) gutsy; urgency=low + + * debian/patches/ubuntu-default-mount-options.patch: Use "usefree" VFAT + mount option by default, to avoid very long blocking of statfs() calls on + VFAT. (LP: #133567) + + -- Martin Pitt Mon, 08 Oct 2007 19:37:08 +0200 + +gnome-mount (0.6-1ubuntu3) gutsy; urgency=low + + * Fixed grammar in debian/patches/03_root_mounting.patch (LP: #138477) + + -- dAniel hAhler Mon, 10 Sep 2007 01:10:13 +0200 + +gnome-mount (0.6-1ubuntu2) gutsy; urgency=low + + * debian/patches/ubuntu-default-mount-options.patch: Fix NTFS default mount + options. + + -- Martin Pitt Fri, 27 Apr 2007 09:14:59 +0200 + +gnome-mount (0.6-1ubuntu1) gutsy; urgency=low + + * Merge with Debian unstable; remaining changes: + - debian/rules: Ignore libgnome-mount for dh_shlibdeps, so that + gnome-mount does not end up depending on half of Gnome just for the + nautilus extension. This keeps it suitable for XFCE. + - debian/patches/02_sudo_session_dbus.patch: When being run through sudo, + temporarily drop real user id to the sudo user, so that notify_init() + connects to the actual user's session dbus instead of root's nonexisting + one. + - debian/patches/03_root_mounting.patch: If we get a + PermissionDeniedByPolicy on mounting, unmounting, or ejecting, and are + in the 'admin' group, call ourselves through gksu, so that + administrators can handle fixed partitions just like removable ones. + (https://wiki.ubuntu.com/MountAllLocalFilesystems) + - debian/patches/05_ignore_slash_label.patch: If the label is a single + '/', ignore it, so that it does not end up as /media/_. (LP #83323) + - debian/patches/06_dont_flood_log.patch: Don't flood ~/.xsession-errors + with messages about drive and volume. (LP #93238, forwarded to Gnome + #419928) + - debian/patches/08_crypto_setup_error_dialog.patch: If setup_crypto() + fails with Crypto.SetupError, display an error dialog instead of failing + silently. Special-case a missing /sbin/cryptsetup, suggest to install the + package. (LP #78358, forwarded to Gnome #426326) + - debian/patches/ubuntu-default-mount-options.patch: Change a few default + mount options for compatibility to UTF8 and previous Ubuntu versions. + * Drop debian/patches/04_ntfs_mount_options.patch, upstream now. + * Drop debian/patches/07_gnome_password_dialog.patch, upstream now. + * Drop debian/patches/99autoreconf.patch not necessary any more. + + -- Martin Pitt Mon, 23 Apr 2007 15:44:20 +0200 + +gnome-mount (0.6-1) unstable; urgency=low + + * New upstream release. + * debian/patches/01-missing_includes.patch + - Removed. Fixed upstream. + + -- Michael Biebl Wed, 11 Apr 2007 01:11:08 +0200 + +gnome-mount (0.5-3) unstable; urgency=low + + * debian/control + - Add an explicit build dependency on libeel2-dev (>= 2.5.0). + - Add XS-Vcs-* fields. + - Replace Recommends: cryptsetup with Suggests. + * debian/rules + - Pass "-Wl,--as-needed" to LDFLAGS. + + -- Michael Biebl Fri, 27 Oct 2006 14:02:16 +0200 + +gnome-mount (0.5-2ubuntu8) feisty; urgency=low + + * Add debian/patches/08_crypto_setup_error_dialog.patch: If setup_crypto() + fails with Crypto.SetupError, display an error dialog instead of failing + silently. Special-case a missing /sbin/cryptsetup, suggest to install the + package. (LP: #78358) + + -- Martin Pitt Wed, 4 Apr 2007 20:31:19 +0200 + +gnome-mount (0.5-2ubuntu7) feisty; urgency=low + + [ Jani Monoses ] + * debian/patches/07_gnome_password_dialog.patch: + Patch from upstream svn, import a local copy of GnomePasswordDialog + and drop the GNOME library dependencies (LP: #97642) + * debian/patches/99_autoreconf: + autotools rerun + * debian/rules: + make dh_shlibdeps ignore libgnome-mount so the package does not hard + depend on libgnome. + + [ Martin Pitt ] + * debian/patches/03_root_mounting.patch: Add #include to make + getenv() available again. + + -- Martin Pitt Wed, 4 Apr 2007 19:44:17 +0200 + +gnome-mount (0.5-2ubuntu6) feisty; urgency=low + + * debian/patches/06_dont_flood_log.patch: + - don't flood xsession-errors with messages about drive and volume + (Ubuntu: #93238) + + -- Sebastien Bacher Fri, 30 Mar 2007 18:09:02 +0200 + +gnome-mount (0.5-2ubuntu5) feisty; urgency=low + + * debian/control: Set Ubuntu maintainer (to me). + * debian/patches/ubuntu-default-mount-options.patch: Use shortname=mixed + mount option for VFAT to stay compatible with earlier Ubuntu releases. + (LP: #76200) + * debian/patches/ubuntu-default-mount-options.patch: Mount with 'exec' by + default to stay compatible with earlier Ubuntu releases. + (LP: #87627) + * debian/patches/ubuntu-default-mount-options.patch: Use 'uid' option by + default for HFS. (LP: #84044) + * Add debian/patches/05_ignore_slash_label.patch: If the label is a single + '/', ignore it, so that it does not end up as /media/_. (LP: #83323) + + -- Martin Pitt Fri, 9 Mar 2007 18:03:18 +0100 + +gnome-mount (0.5-2ubuntu4) feisty; urgency=low + + * debian/patches/03_root_mounting.patch: + - Pass mount policy that was figured out from the user's gconf setup to + the gksu'ed instance. Based on a patch from Florent Mertens, thank you! + - Move gksu calling into separate function gksu_myself() to keep the code + clean. + - Closes: LP#78314 + * Add debian/patches/04_ntfs_mount_options.patch: + - Supply sane default mount options for ntfs-3g and ntfs-fuse. + - Patch from Florent Mertens, thank you! + - Closes: LP#78375 + + -- Martin Pitt Wed, 10 Jan 2007 08:59:33 +0100 + +gnome-mount (0.5-2ubuntu3) feisty; urgency=low + + * Add debian/patches/02_sudo_session_dbus.patch: + - When being run through sudo, temporarily drop real user id to the sudo + user, so that notify_init() connects to the actual user's session dbus + instead of root's nonexisting one. + * Add debian/patches/03_root_mounting.patch: + - If we get a PermissionDeniedByPolicy on mounting, unmounting, or + ejecting, and are in the 'admin' group, call ourselves through gksu, so + that administrators can handle fixed partitions just like removable ones. + - See https://wiki.ubuntu.com/MountAllLocalFilesystems for details. + + -- Martin Pitt Tue, 12 Dec 2006 09:05:18 +0100 + +gnome-mount (0.5-2ubuntu2) feisty; urgency=low + + * Drop cryptsetup from Recommends: to Suggests. + + -- Martin Pitt Thu, 16 Nov 2006 16:15:42 -0800 + +gnome-mount (0.5-2ubuntu1) feisty; urgency=low + + * First Ubuntu version. + * debian/control: Add missing libeel2-dev build dependency. (Debian bug + #395478) + * debian/rules: Use -Wl,--as-needed to get rid of unnecessary library + dependencies. + * Add debian/patches/ubuntu-default-mount-options.patch: + - Use 'utf8' option for VFAT, ISO-9660, and NTFS. + - Mount VFAT with umask 077 to stay compatible to previous Ubuntu releases + and keep the possibility of using VFAT USB sticks for ssh/gpg keys. + + -- Martin Pitt Wed, 1 Nov 2006 11:29:11 +0100 + +gnome-mount (0.5-2) unstable; urgency=low + + * debian/control + - Add Depends on hal and eject. + - Add a Recommends on cryptsetup for luks encrypted partitions. + - Update maintainer email address to biebl@debian.org. + * debian/patches/01-missing_includes.patch + - Added, fixes implicit pointer conversions. Closes: #393553 + + -- Michael Biebl Wed, 18 Oct 2006 18:37:45 +0200 + +gnome-mount (0.5-1) unstable; urgency=low + + * New upstream release. + * Added build dependency on libnotify-dev (>= 0.3.0). + * Tightened build dependency on libhal-storage-dev (>= 0.5.8.1). + + -- Michael Biebl Wed, 20 Sep 2006 00:59:21 +0200 + +gnome-mount (0.4-1) unstable; urgency=low + + * Initial release. Closes: #387208 + + -- Michael Biebl Wed, 13 Sep 2006 01:43:19 +0200 + --- gnome-mount-0.8~svn20080225.orig/debian/watch +++ gnome-mount-0.8~svn20080225/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://hal.freedesktop.org/releases/gnome-mount-(.*)\.tar\.gz --- gnome-mount-0.8~svn20080225.orig/debian/control +++ gnome-mount-0.8~svn20080225/debian/control @@ -0,0 +1,29 @@ +Source: gnome-mount +Section: gnome +Priority: optional +Maintainer: Martin Pitt +XSBC-Original-Maintainer: Michael Biebl +Build-Depends: cdbs, debhelper (>= 5.0.0), autotools-dev, libgnome-keyring-dev (>= 0.4), libgnomeui-dev (>= 2.1.5), libdbus-1-dev (>= 0.60), libdbus-glib-1-dev (>= 0.60), libhal-storage-dev (>= 0.5.8.1), libgtk2.0-dev (>= 2.8.0), libglade2-dev, libxml-parser-perl, libnautilus-extension-dev (>= 2.5.0), libnotify-dev (>= 0.3.0), libeel2-dev (>= 2.5.0) +Standards-Version: 3.7.3 +Vcs-Svn: svn://svn.debian.org/svn/pkg-utopia/packages/unstable/gnome-mount +Vcs-Browser: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/gnome-mount +Homepage: http://svn.gnome.org/viewvc/gnome-mount/trunk/ + +Package: gnome-mount +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, hal, eject, policykit-gnome +Suggests: cryptsetup +Enhances: nautilus +Description: wrapper for (un)mounting and ejecting storage devices + The gnome-mount package contains programs for mounting, unmounting and + ejecting storage devices. The goal for gnome-mount is to get the appropriate + GNOME software (such as gnome-volume-manager and GnomeVFS) to use his method + instead of invoking mount/umount/eject or direct HAL invoking methods. + . + All the gnome-mount programs utilize the methods on HAL and as such run + unprivileged. The rationale for gnome-mount is to have a centralized place (in + GConf) where settings (e.g. mount options and mount locations) are maintained. + . + A nautilus extension allows to easily change the mount options which can be + user, drive or volume specific. + --- gnome-mount-0.8~svn20080225.orig/debian/rules +++ gnome-mount-0.8~svn20080225/debian/rules @@ -0,0 +1,16 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/gnome.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk +include /usr/share/cdbs/1/rules/utils.mk + +DEB_CONFIGURE_EXTRA_FLAGS := --enable-nautilus-extension +DEB_CONFIGURE_SCRIPT_ENV += LDFLAGS="-Wl,--as-needed" +DEB_DH_MAKESHLIBS_ARGS := -Xlibgnome-mount +DEB_DH_SHLIBDEPS_ARGS := -Xlibgnome-mount +DEB_INSTALL_DOCS_ALL := AUTHORS NEWS README + +binary-install/gnome-mount:: + rm -f debian/gnome-mount/usr/lib/nautilus/extensions-1.0/libgnome-mount.la + rm -f debian/gnome-mount/usr/lib/nautilus/extensions-1.0/libgnome-mount.a --- gnome-mount-0.8~svn20080225.orig/debian/links +++ gnome-mount-0.8~svn20080225/debian/links @@ -0,0 +1,2 @@ +/usr/share/man/man1/gnome-mount.1.gz usr/share/man/man1/gnome-umount.1.gz +/usr/share/man/man1/gnome-mount.1.gz usr/share/man/man1/gnome-eject.1.gz --- gnome-mount-0.8~svn20080225.orig/debian/compat +++ gnome-mount-0.8~svn20080225/debian/compat @@ -0,0 +1 @@ +5