Added linguas to IUSE for controlling installation of localized configuration files.
authorJoshua Nichols <nichoj@gentoo.org>
Thu, 15 Feb 2007 01:36:53 +0000 (01:36 +0000)
committerJoshua Nichols <nichoj@gentoo.org>
Thu, 15 Feb 2007 01:36:53 +0000 (01:36 +0000)
Package-Manager: portage-2.1.2-r9

xfce-base/xfdesktop/ChangeLog
xfce-base/xfdesktop/Manifest
xfce-base/xfdesktop/xfdesktop-4.4.0-r3.ebuild

index 4d8b364e5962cfde23de739e2232d622f2c3a0c1..bce96fa0ab16060cd5619c5444f4b7e148eb4db7 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for xfce-base/xfdesktop
 # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/xfce-base/xfdesktop/ChangeLog,v 1.82 2007/02/09 16:42:37 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/xfce-base/xfdesktop/ChangeLog,v 1.83 2007/02/15 01:36:53 nichoj Exp $
+
+  15 Feb 2007; Joshua Nichols <nichoj@gentoo.org> xfdesktop-4.4.0-r3.ebuild:
+  Added linguas to IUSE for controlling installation of localized
+  configuration files.
 
 *xfdesktop-4.4.0-r3 (09 Feb 2007)
 
index 33199f0f4bdfe35e45c5a7b41384dad00fd52e8c..a2027f21a7c2dfbf5ca2a4bc6451ef0335013f3e 100644 (file)
@@ -4,14 +4,14 @@ EBUILD xfdesktop-4.2.3.ebuild 536 RMD160 3cbc0bde908999faf2cd23462272d6e3679167f
 MD5 562a292f1add2002fb6e90aa725bb577 xfdesktop-4.2.3.ebuild 536
 RMD160 3cbc0bde908999faf2cd23462272d6e3679167f4 xfdesktop-4.2.3.ebuild 536
 SHA256 59737fecf5b51541b24e2df491b9bed5c4fa262bc883884e81f5bd7993bc6f92 xfdesktop-4.2.3.ebuild 536
-EBUILD xfdesktop-4.4.0-r3.ebuild 1450 RMD160 15ff60cfdee7e7615068fb2cd6fb722049efb86a SHA1 f8b3ef0f6fbac4c86a5d8d1dcb19aa15380c4dc8 SHA256 44311051e90c951eaebf9948c72027e79ea70618a34ec713f9e50d8f3a3e2f38
-MD5 888b35713301d8a9dc1b38122cf7b9d2 xfdesktop-4.4.0-r3.ebuild 1450
-RMD160 15ff60cfdee7e7615068fb2cd6fb722049efb86a xfdesktop-4.4.0-r3.ebuild 1450
-SHA256 44311051e90c951eaebf9948c72027e79ea70618a34ec713f9e50d8f3a3e2f38 xfdesktop-4.4.0-r3.ebuild 1450
-MISC ChangeLog 10260 RMD160 79eef594603d59248d58497c353ce5149a262612 SHA1 06af069e2e26444ecea64ec04a8a182b69aed9d8 SHA256 7a5af2bbc20f77116d073d5a4054566b7fb5babe93b5962b05c4f10f10d4f1db
-MD5 abec5889448ec69d779072a828758aef ChangeLog 10260
-RMD160 79eef594603d59248d58497c353ce5149a262612 ChangeLog 10260
-SHA256 7a5af2bbc20f77116d073d5a4054566b7fb5babe93b5962b05c4f10f10d4f1db ChangeLog 10260
+EBUILD xfdesktop-4.4.0-r3.ebuild 2054 RMD160 9e3995edc292e68bcbb386d96e245eb9b53d396b SHA1 f32a07b0983b076ba2db7d8bb2a57cc4e3327a0a SHA256 32509cfaab4e67990be9b50dfe1aff8953c4aa9aafe78c0d220d88b3d77aa335
+MD5 5c491958bbcbeacec07dde2828843424 xfdesktop-4.4.0-r3.ebuild 2054
+RMD160 9e3995edc292e68bcbb386d96e245eb9b53d396b xfdesktop-4.4.0-r3.ebuild 2054
+SHA256 32509cfaab4e67990be9b50dfe1aff8953c4aa9aafe78c0d220d88b3d77aa335 xfdesktop-4.4.0-r3.ebuild 2054
+MISC ChangeLog 10429 RMD160 32e6e000b77ef989a3fcdd33890a754f702d0677 SHA1 4f7b7155a5030dd995500cbab574c9e4ed3edf0c SHA256 cb9a6ef8124d30cee204e046b5370907336f2efd2d31a37d61de01e6f896515c
+MD5 e43b6d9934c2b5e4d4b5180811439214 ChangeLog 10429
+RMD160 32e6e000b77ef989a3fcdd33890a754f702d0677 ChangeLog 10429
+SHA256 cb9a6ef8124d30cee204e046b5370907336f2efd2d31a37d61de01e6f896515c ChangeLog 10429
 MISC metadata.xml 157 RMD160 d7470fe88d1b96f3a7f1ef26fb7dc646b4a1b907 SHA1 7eae91f2588bdae8667d37a98fb3090d539eeca1 SHA256 44350daa7594842894d676413708d8ea77ccb0017bed24711af5b256281f5e61
 MD5 c390804e060ffd11a5bbb143434b2b2d metadata.xml 157
 RMD160 d7470fe88d1b96f3a7f1ef26fb7dc646b4a1b907 metadata.xml 157
index 22e5d625416b6408a0c8d135332f3c59fdb171ae..d692adf51d0a56d9a89a431e6fe806d2b80a7ad1 100644 (file)
@@ -1,15 +1,18 @@
 # Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/xfce-base/xfdesktop/xfdesktop-4.4.0-r3.ebuild,v 1.1 2007/02/09 16:42:37 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/xfce-base/xfdesktop/xfdesktop-4.4.0-r3.ebuild,v 1.2 2007/02/15 01:36:53 nichoj Exp $
 
 inherit xfce44
 
 xfce44
+xfce44_core_package
 
 DESCRIPTION="Desktop manager"
 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
 IUSE="dbus debug doc minimal"
 
+LANG="ca cs da de el es et eu fi fr he hu ja ko nl pl pt_BR ro ru sk sv uk vi zh_CN zh_TW"
+
 RDEPEND="x11-libs/libX11
        x11-libs/libSM
        >=dev-libs/glib-2.6
@@ -27,7 +30,14 @@ DEPEND="${RDEPEND}
        dev-util/pkgconfig
        dev-util/intltool"
 
+for X in ${LANG}; do
+       IUSE="${IUSE} linguas_${X}"
+done
+
 XFCE_CONFIG="${XFCE_CONFIG} $(use_enable doc xsltproc)"
+DOCS="AUTHORS ChangeLog NEWS TODO README"
+XFCE_LOCALIZED_CONFIGS="/etc/xdg/xfce4/desktop/xfce-registered-categories.xml
+       /etc/xdg/xfce4/desktop/menu.xml"
 
 pkg_setup() {
        if use dbus; then
@@ -43,6 +53,17 @@ pkg_setup() {
        fi
 }
 
-DOCS="AUTHORS ChangeLog NEWS TODO README"
+src_install() {
+       xfce44_src_install
 
-xfce44_core_package
+       # clean out the config files that don't affect us
+       local config lang
+       for config in ${XFCE_LOCALIZED_CONFIGS}; do
+               for lang in ${LANG}; do
+                       local localized_config="${D}/${config}.${lang}"
+                       if [[ -f ${localized_config} ]]; then
+                               use "linguas_${lang}" || rm ${localized_config}
+                       fi
+               done
+       done
+}