diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2011-12-11 07:15:59 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2011-12-11 07:15:59 +0000 |
commit | 08b7fb1409aa612d501ff9f442c4bec73e870bb0 (patch) | |
tree | 2dc9f5aaf92c14f872aaec2b99f17e9d8b947e1b /xfce-base | |
parent | Version bump for security bug 389317. Use pypi tarballs, and drop examples su... (diff) | |
download | gentoo-2-08b7fb1409aa612d501ff9f442c4bec73e870bb0.tar.gz gentoo-2-08b7fb1409aa612d501ff9f442c4bec73e870bb0.tar.bz2 gentoo-2-08b7fb1409aa612d501ff9f442c4bec73e870bb0.zip |
Introduce Fedora patch for extra keyboard shortcuts wrt #392001 by "Rion"
(Portage version: 2.2.0_alpha79/cvs/Linux x86_64)
Diffstat (limited to 'xfce-base')
-rw-r--r-- | xfce-base/libxfce4ui/ChangeLog | 9 | ||||
-rw-r--r-- | xfce-base/libxfce4ui/files/libxfce4ui-4.8.0-keyboard-shortcuts.patch | 27 | ||||
-rw-r--r-- | xfce-base/libxfce4ui/libxfce4ui-4.8.0-r1.ebuild | 46 | ||||
-rw-r--r-- | xfce-base/libxfce4ui/metadata.xml | 3 |
4 files changed, 83 insertions, 2 deletions
diff --git a/xfce-base/libxfce4ui/ChangeLog b/xfce-base/libxfce4ui/ChangeLog index 6169fcfb0d42..490cf891657b 100644 --- a/xfce-base/libxfce4ui/ChangeLog +++ b/xfce-base/libxfce4ui/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for xfce-base/libxfce4ui # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/xfce-base/libxfce4ui/ChangeLog,v 1.24 2011/05/20 17:50:26 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/xfce-base/libxfce4ui/ChangeLog,v 1.25 2011/12/11 07:15:59 ssuominen Exp $ + +*libxfce4ui-4.8.0-r1 (11 Dec 2011) + + 11 Dec 2011; Samuli Suominen <ssuominen@gentoo.org> + +libxfce4ui-4.8.0-r1.ebuild, + +files/libxfce4ui-4.8.0-keyboard-shortcuts.patch, metadata.xml: + Introduce Fedora patch for extra keyboard shortcuts wrt #392001 by "Rion" 20 May 2011; Fabian Groffen <grobian@gentoo.org> libxfce4ui-4.8.0.ebuild: Add --disable-visibility on Darwin, bug #366857 diff --git a/xfce-base/libxfce4ui/files/libxfce4ui-4.8.0-keyboard-shortcuts.patch b/xfce-base/libxfce4ui/files/libxfce4ui-4.8.0-keyboard-shortcuts.patch new file mode 100644 index 000000000000..e09c75a9d4dd --- /dev/null +++ b/xfce-base/libxfce4ui/files/libxfce4ui-4.8.0-keyboard-shortcuts.patch @@ -0,0 +1,27 @@ +http://bugs.gentoo.org/392001 + +This is http://pkgs.fedoraproject.org/gitweb/?p=libxfce4ui.git;a=blob_plain;f=libxfce4ui-4.7.6-keyboard-shortcuts.patch;hb=HEAD +BUT without the xfhelp4 keyboard shortcut. + +--- libxfce4kbd-private/xfce4-keyboard-shortcuts.xml ++++ libxfce4kbd-private/xfce4-keyboard-shortcuts.xml +@@ -5,9 +5,19 @@ + <property name="default" type="empty"> + <property name="<Alt>F2" type="string" value="xfrun4"/> + <property name="<Control><Alt>Delete" type="string" value="xflock4"/> ++ <property name="<Control><Alt>Escape" type="string" value="xkill"/> ++ <property name="<Control>Escape" type="string" value="xfce4-popup-menu"/> ++ <property name="<Control><Alt>L" type="string" value="xfce4-session-logout"/> ++ <property name="XF86WWW" type="string" value="xfbrowser4"/> ++ <property name="XF86Mail" type="string" value="exo-open --launch MailReader"/> + <property name="XF86Display" type="string" value="xfce4-display-settings --minimal"/> + <property name="<Super>p" type="string" value="xfce4-display-settings --minimal"/> + <property name="<Control>Escape" type="string" value="xfdesktop --menu"/> ++ <property name="XF86AudioRaiseVolume" type="string" value="amixer set Master 10%+ -q"/> ++ <property name="XF86AudioLowerVolume" type="string" value="amixer set Master 10%- -q"/> ++ <property name="XF86AudioMute" type="string" value="amixer set Master toggle -q"/> ++ <property name="Print" type="string" value="xfce4-screenshooter -f"/> ++ <property name="<Alt>Print" type="string" value="xfce4-screenshooter -w"/> + </property> + </property> + <property name="xfwm4" type="empty"> diff --git a/xfce-base/libxfce4ui/libxfce4ui-4.8.0-r1.ebuild b/xfce-base/libxfce4ui/libxfce4ui-4.8.0-r1.ebuild new file mode 100644 index 000000000000..cddc802364ee --- /dev/null +++ b/xfce-base/libxfce4ui/libxfce4ui-4.8.0-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/xfce-base/libxfce4ui/libxfce4ui-4.8.0-r1.ebuild,v 1.1 2011/12/11 07:15:59 ssuominen Exp $ + +EAPI=4 +inherit xfconf + +DESCRIPTION="Xfce's unified widgets library" +HOMEPAGE="http://www.xfce.org/projects/libraries/" +SRC_URI="mirror://xfce/src/xfce/${PN}/4.8/${P}.tar.bz2" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~x86-solaris" +IUSE="debug glade startup-notification vanilla" + +RDEPEND="x11-libs/libX11 + x11-libs/libICE + x11-libs/libSM + >=dev-libs/glib-2.16:2 + >=x11-libs/gtk+-2.14:2 + >=xfce-base/libxfce4util-4.8 + >=xfce-base/xfconf-4.8 + glade? ( dev-util/glade:3 ) + startup-notification? ( x11-libs/startup-notification )" +DEPEND="${RDEPEND} + !<xfce-base/libxfcegui4-4.8 + dev-util/pkgconfig + dev-util/intltool + sys-devel/gettext + dev-lang/perl" + +pkg_setup() { + use vanilla || PATCHES=( "${FILESDIR}"/${P}-keyboard-shortcuts.patch ) #392001 + + XFCONF=( + $(use_enable startup-notification) + $(use_enable glade gladeui) + $(xfconf_use_debug) + --with-html-dir="${EPREFIX}"/usr/share/doc/${PF}/html + ) + + [[ ${CHOST} == *-darwin* ]] && XFCONF+=( --disable-visibility ) #366857 + + DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO ) +} diff --git a/xfce-base/libxfce4ui/metadata.xml b/xfce-base/libxfce4ui/metadata.xml index 2391a7012c18..c9349c23134c 100644 --- a/xfce-base/libxfce4ui/metadata.xml +++ b/xfce-base/libxfce4ui/metadata.xml @@ -3,6 +3,7 @@ <pkgmetadata> <herd>xfce</herd> <use> - <flag name="glade">Build support for Glade 3's GtkBuilder implementation</flag> + <flag name='glade'>Build support for Glade 3's GtkBuilder implementation</flag> + <flag name='vanilla'>Don't apply extra keyboard shortcuts patch from Fedora</flag> </use> </pkgmetadata> |