diff options
author | John N. Laliberte <allanonjl@gentoo.org> | 2006-07-07 22:23:06 +0000 |
---|---|---|
committer | John N. Laliberte <allanonjl@gentoo.org> | 2006-07-07 22:23:06 +0000 |
commit | f1bf810d7b273a2833107639249ece8417208c84 (patch) | |
tree | 8eecacd56fecbcce4394ed91271d9bbda3462045 /gnome-base | |
parent | Unmasking tos-getenv. New ebuild for java generation 2 available. (diff) | |
download | gentoo-2-f1bf810d7b273a2833107639249ece8417208c84.tar.gz gentoo-2-f1bf810d7b273a2833107639249ece8417208c84.tar.bz2 gentoo-2-f1bf810d7b273a2833107639249ece8417208c84.zip |
apply patch to disable autoplay of dvds, thanks to Ed Catmur, #139223
(Portage version: 2.1.1_pre2-r1)
Diffstat (limited to 'gnome-base')
5 files changed, 97 insertions, 1 deletions
diff --git a/gnome-base/gnome-volume-manager/ChangeLog b/gnome-base/gnome-volume-manager/ChangeLog index c32e65c7fa97..4f0aa71c1294 100644 --- a/gnome-base/gnome-volume-manager/ChangeLog +++ b/gnome-base/gnome-volume-manager/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for gnome-base/gnome-volume-manager # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-volume-manager/ChangeLog,v 1.52 2006/05/14 09:24:32 dertobi123 Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-volume-manager/ChangeLog,v 1.53 2006/07/07 22:23:06 allanonjl Exp $ + +*gnome-volume-manager-1.5.15-r2 (07 Jul 2006) + + 07 Jul 2006; John N. Laliberte <allanonjl@gentoo.org> + +files/disable-totem-dvd-autoplay.patch, + +gnome-volume-manager-1.5.15-r2.ebuild: + apply patch to disable autoplay of dvds, thanks to Ed Catmur, #139223 14 May 2006; Tobias Scherbaum <dertobi123@gentoo.org> gnome-volume-manager-1.5.15-r1.ebuild: diff --git a/gnome-base/gnome-volume-manager/files/digest-gnome-volume-manager-1.5.15-r1 b/gnome-base/gnome-volume-manager/files/digest-gnome-volume-manager-1.5.15-r1 index 8c8645e907ce..fba69291efd5 100644 --- a/gnome-base/gnome-volume-manager/files/digest-gnome-volume-manager-1.5.15-r1 +++ b/gnome-base/gnome-volume-manager/files/digest-gnome-volume-manager-1.5.15-r1 @@ -1 +1,3 @@ MD5 0bf3ee007c951a5d833a3c17bbe59ec6 gnome-volume-manager-1.5.15.tar.bz2 311956 +RMD160 b179d3ea4fb6cc8fd1166f5e409d5e2d06c98b7e gnome-volume-manager-1.5.15.tar.bz2 311956 +SHA256 c346d7f47bc3194c96f62376b006e6c111963d3b697f2c92fbd13da34f04f19b gnome-volume-manager-1.5.15.tar.bz2 311956 diff --git a/gnome-base/gnome-volume-manager/files/digest-gnome-volume-manager-1.5.15-r2 b/gnome-base/gnome-volume-manager/files/digest-gnome-volume-manager-1.5.15-r2 new file mode 100644 index 000000000000..fba69291efd5 --- /dev/null +++ b/gnome-base/gnome-volume-manager/files/digest-gnome-volume-manager-1.5.15-r2 @@ -0,0 +1,3 @@ +MD5 0bf3ee007c951a5d833a3c17bbe59ec6 gnome-volume-manager-1.5.15.tar.bz2 311956 +RMD160 b179d3ea4fb6cc8fd1166f5e409d5e2d06c98b7e gnome-volume-manager-1.5.15.tar.bz2 311956 +SHA256 c346d7f47bc3194c96f62376b006e6c111963d3b697f2c92fbd13da34f04f19b gnome-volume-manager-1.5.15.tar.bz2 311956 diff --git a/gnome-base/gnome-volume-manager/files/disable-totem-dvd-autoplay.patch b/gnome-base/gnome-volume-manager/files/disable-totem-dvd-autoplay.patch new file mode 100644 index 000000000000..e8eb838873df --- /dev/null +++ b/gnome-base/gnome-volume-manager/files/disable-totem-dvd-autoplay.patch @@ -0,0 +1,20 @@ +--- gnome-volume-manager-1.5.15/gnome-volume-manager.schemas.in 2006/07/04 18:57:03 1.1 ++++ gnome-volume-manager-1.5.15/gnome-volume-manager.schemas.in 2006/07/04 18:57:32 +@@ -121,7 +121,7 @@ + <key>/schemas/desktop/gnome/volume_manager/autoplay_dvd</key> + <applyto>/desktop/gnome/volume_manager/autoplay_dvd</applyto> + <type>bool</type> +- <default>true</default> ++ <default>false</default> + <locale name="C"> + <short>Play inserted video DVDs</short> + <long>Whether, when a video DVD is inserted, +@@ -133,7 +133,7 @@ + <key>/schemas/desktop/gnome/volume_manager/autoplay_dvd_command</key> + <applyto>/desktop/gnome/volume_manager/autoplay_dvd_command</applyto> + <type>string</type> +- <default>totem %d</default> ++ <default></default> + <locale name="C"> + <short>DVD play command</short> + <long>Command to run when a video DVD is inserted.</long> diff --git a/gnome-base/gnome-volume-manager/gnome-volume-manager-1.5.15-r2.ebuild b/gnome-base/gnome-volume-manager/gnome-volume-manager-1.5.15-r2.ebuild new file mode 100644 index 000000000000..ce35ebe77ef2 --- /dev/null +++ b/gnome-base/gnome-volume-manager/gnome-volume-manager-1.5.15-r2.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-volume-manager/gnome-volume-manager-1.5.15-r2.ebuild,v 1.1 2006/07/07 22:23:06 allanonjl Exp $ + +inherit gnome2 eutils autotools + +DESCRIPTION="Daemon that enforces volume-related policies" +HOMEPAGE="http://www.gnome.org/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="crypt debug doc" + +RDEPEND="gnome-base/nautilus + sys-devel/gettext + >=gnome-base/libgnomeui-2.1.5 + >=sys-apps/dbus-0.31 + >=sys-apps/hal-0.5.6 + >=x11-libs/gtk+-2.6 + >=gnome-base/libglade-2 + >=gnome-base/gconf-2 + >=gnome-base/control-center-2.0 + gnome-base/gnome-mime-data + gnome-base/gnome-mount" + +DEPEND="${RDEPEND} + dev-util/pkgconfig + >=dev-util/intltool-0.27.2" + +DOCS="AUTHORS ChangeLog README HACKING NEWS TODO" + +pkg_setup() { + G2CONF="${G2CONF} \ + $(use_enable crypt) \ + $(use_enable debug) \ + $(use_enable doc)" + + # FIXME: We should be more intelligent about disabling multiuser support + # (like enable it when pam_console is available?). For now, this is a + # slightly nicer solution than applying ${PN}-1.5.9-no-pam_console.patch + G2CONF="${G2CONF} --disable-multiuser" +} + +src_unpack() { + gnome2_src_unpack + + # Hard disable the libnotify support as it was not tested sufficiently. + # Drop this patch with the 2.16 cycle + epatch ${FILESDIR}/${PN}-1.5.15-no-libnotify.patch + + # disable dvd playback in totem since it doesn't work. + epatch "${FILESDIR}"/disable-totem-dvd-autoplay.patch + + eautoreconf +} + +pkg_postinst() { + gnome2_pkg_postinst + + einfo "To start the gnome-volume-manager daemon you need to configure" + einfo "it through it's preferences capplet. Also the HAL daemon (hald)" + einfo "needs to be running or it will shut down." +} |