summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Alexander <wired@gentoo.org>2011-12-16 13:17:35 +0000
committerAlex Alexander <wired@gentoo.org>2011-12-16 13:17:35 +0000
commitb2e2bace33fe901c58729d3b170eb3596006cdff (patch)
treed242648f8b2a9edb7b77dc479429ad59ac86ac6c /app-misc
parentStable for AMD64, wrt bug #394071 (diff)
downloadhistorical-b2e2bace33fe901c58729d3b170eb3596006cdff.tar.gz
historical-b2e2bace33fe901c58729d3b170eb3596006cdff.tar.bz2
historical-b2e2bace33fe901c58729d3b170eb3596006cdff.zip
new use flag: xdg - toggles mc's config dir location between $XDG_CONFIG_HOME/mc and $HOME/.mc
Package-Manager: portage-2.2.0_alpha81/cvs/Linux x86_64
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/mc/ChangeLog7
-rw-r--r--app-misc/mc/Manifest32
-rw-r--r--app-misc/mc/mc-4.8.1-r1.ebuild10
-rw-r--r--app-misc/mc/metadata.xml1
4 files changed, 30 insertions, 20 deletions
diff --git a/app-misc/mc/ChangeLog b/app-misc/mc/ChangeLog
index f325c7931c84..e69508481b74 100644
--- a/app-misc/mc/ChangeLog
+++ b/app-misc/mc/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-misc/mc
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v 1.234 2011/12/16 10:16:30 wired Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v 1.235 2011/12/16 13:17:35 wired Exp $
+
+ 16 Dec 2011; Alex Alexander <wired@gentoo.org> mc-4.8.1-r1.ebuild,
+ metadata.xml:
+ new use flag: xdg - toggles mc's config dir location between
+ $XDG_CONFIG_HOME/mc and $HOME/.mc
*mc-4.8.1-r1 (16 Dec 2011)
*mc-4.7.5.6-r1 (16 Dec 2011)
diff --git a/app-misc/mc/Manifest b/app-misc/mc/Manifest
index 4c8a81d345ab..4ce31c2fb528 100644
--- a/app-misc/mc/Manifest
+++ b/app-misc/mc/Manifest
@@ -16,23 +16,23 @@ EBUILD mc-4.7.5.2.ebuild 1950 RMD160 1ca9e3bda31808ca7ef6134f4dc0bd1f960dce16 SH
EBUILD mc-4.7.5.5.ebuild 2037 RMD160 0118de937f9787474f988c79191743ba2d7d4fae SHA1 31d8d714368b48eda34eb2991b0d5140e8af6c8c SHA256 c8e739027220fe2e00c3d6fc87e833456c4bb2008c9315feb907ad4ac384a57c
EBUILD mc-4.7.5.6-r1.ebuild 2045 RMD160 270e8616950482b443dc4d0d982353511084f871 SHA1 fbd907cfc5a57cc2fb1d9af779f35d369f0c3790 SHA256 93b5a58fb99313f7c395c5b049cf26bfd56a42aedac7bbcdbf0d5d0eddb8edcd
EBUILD mc-4.8.0-r2.ebuild 2237 RMD160 1e97d628a8baaf5b621083efbe5915fe34c925fe SHA1 6f46c2c11fc45fcce4bbf5f1fa64605630491960 SHA256 ef3a0a94cec9dc495c14193f549e4041fd2b1160d9fab30fb77a9b21e7fd1306
-EBUILD mc-4.8.1-r1.ebuild 2135 RMD160 9db55509afda2cbd1c34720d14de52073d1a906b SHA1 64575b2e49a3fbcf361622dac3014779ca692169 SHA256 d02961e99be4b75a03187889135f18ead7aad1ea63f306d75b6ca214ceff9d51
-MISC ChangeLog 33471 RMD160 53d882a82470e83709a56208a51ae823abb450e3 SHA1 b85b2c9228c7d0f23e7c3e56cb40cebe045f574c SHA256 a3bcec04eb2cb63386af0b42fdede222702d46489d9b0ec4429d434616520112
-MISC metadata.xml 537 RMD160 c0111e0e7a9f3d60dbed2c2d623cd302caa71d2f SHA1 d93980823087e3a75b2c1fdb2bcddcf7af05b40c SHA256 b48a361bbc299ba292ab56ced28b9dba200c3006e97604435da7f8f4004638bf
+EBUILD mc-4.8.1-r1.ebuild 2218 RMD160 033bd76f8624ad3fac85a8f9a0b7311cb6a6fb84 SHA1 85b961559fbaf5c76fb1b70523a3c2895de77084 SHA256 dc954a5edc9ffe4d6817b80aab8d813c8154167316686fdf0823c78dcf57c552
+MISC ChangeLog 33656 RMD160 3815a557ba62c943222b918fd2536b99e542d7c3 SHA1 3e66e0058b4501a07bab28d11b5df419bb1e5b68 SHA256 24f509b56567411c8d99502583d4f1cdf7ed81220988574eac8d03c17492f542
+MISC metadata.xml 653 RMD160 5c0932709a9e11cef3ac4c95c88b906f688681c5 SHA1 bc2b471e4c49117bccb3dd2b1f9ec00cb24ca5da SHA256 760d390ffdbec152f1220dd02edc067a10243c4f936eed416b52d46a955dd683
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
-iQIcBAEBCgAGBQJO6xsOAAoJEDZF8K7rm0r6OaIP/2g0xHWo2ELeGVdnwRf+VQsE
-n50oGuuqVB4yh02y9B/ZXbuaqaF9nSnFHc3IrnghnijOZ2TULo+iUAxhl+eDVr4d
-Lq7E+/lb+quPjzkv/V4M05YVGDv/VXG5uxY8VK9qhmzHVQ3Y9vZk6KD7Tu7cBfHp
-6JfobC+QzZD6s3+EyB30wv95JM8urSgdMTmzKFLH4w3TAUwkkgoN9OaPLEsC024j
-2/w6bIiIPapX08hBu+pjx7AdDjTVj11Ev+Qh0fLSOgBZj9skBKgCHz54HALyl5UH
-1+1ODkZHRP/IGW6yjksaFEqDtapXuhF9LDXZ3EgI9biyn7rc/f8TS+ekzpQOGC2K
-PONd0IgliAWgK6KP9A6ZxMZZd98A5nUwzog0JkG1RWkgr4LvoRBEPD/ojbzXMG1G
-NU/A8V1zCMK8m8RtYhM52oRS892RXZNzVDUJ58w6NEfnLBp5wRBkRxFb7OLkaOze
-HfHkTWIHBuTkW0CaslB69+9PefBEqzu4jCS25nmlpqa7kFwlW5Vputtv/zvF6ZRd
-5qCGnCJHBXX9Q5HzWx4PnkkbeAk1ofJ650iCRV8ZjGOgWmIMOzu8rPClByzN6SsF
-EVjBo+v4eoCT2WXnTK3Go23JeviYkPqrAcCe+J9RdjAuvUnCCmirZJKVQipaaBJx
-s+uatiagEDGk//xZgqcb
-=YuvY
+iQIcBAEBCgAGBQJO60WBAAoJEDZF8K7rm0r6I4oQAIp8fGWuQtN2TWHmFjSpPEzt
+DtCoD3lRuDBD+JVjAOFiOlJh98ubJCZtDimdMcDZwkRohteGbQ4tilVOMdt0LMF/
+CjgcnJAj9Sp3ALChVXbDkhqpwsVOHPv2ZmdOvLxkujRJeZxY+6L9hPYPAtlFR/9I
+CpmcoNWFDUJVMvJjlJjc+nKkb+P7q8y0W1FEXZql3xpKPnMkvHwYpfKnSXoXe+JG
+nIBg8JMbzojZ99FS5UJXugthAF5vZoUnoQG3Kl/LB3RJQ4ugM3aPH3DKARes9FbX
+EnVXmWIgRGTrliSMEBdJyOQgfsMKHYIwQf+R9IlwwbMGN8mNTo6JIlM/WKOJsmQJ
+mJXYrKYX1sQnELBHr8ICq6BnrXB47i5om8fps9hMN9iKYdEyrSMGxSRmoSibQpkg
+8ACKXZoRE+sGouJafXPmX6jkpHcvRn+HMm6EjZ2kG6zA2h9W1Q3WkGRrkM/jUx+z
+VhK2s+pwBzISiy0VmwYwVMhUFxSPWkxbOxU+Pv5aKQE3J8QtsRqAb8jD0UbuP7YM
+S2pLFUm2FENn4v16VLVFe4PkWAsbL+Gh4m7Vspe+pSKk3YkN8ll4YxdeCb4zMZAY
+Hu4z34Z7ifsVnemuDNHrykJ7s2vFF81cfsfoz5QxmCJOX8pwJ3gBQhK22pKuZMeB
+rZHh6Qj4obLMm7NIceFk
+=lvxi
-----END PGP SIGNATURE-----
diff --git a/app-misc/mc/mc-4.8.1-r1.ebuild b/app-misc/mc/mc-4.8.1-r1.ebuild
index 0ee12670949f..e0500fd73490 100644
--- a/app-misc/mc/mc-4.8.1-r1.ebuild
+++ b/app-misc/mc/mc-4.8.1-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/mc-4.8.1-r1.ebuild,v 1.1 2011/12/16 10:16:30 wired Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/mc-4.8.1-r1.ebuild,v 1.2 2011/12/16 13:17:35 wired Exp $
EAPI=4
@@ -15,7 +15,7 @@ SRC_URI="http://www.midnight-commander.org/downloads/${MY_P}.tar.xz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
-IUSE="+edit gpm mclib +ncurses nls samba slang test X"
+IUSE="+edit gpm mclib +ncurses nls samba slang test X +xdg"
REQUIRED_USE="^^ ( ncurses slang )"
@@ -44,6 +44,9 @@ src_configure() {
use slang && myscreen=slang
[[ ${CHOST} == *-solaris* ]] && append-ldflags "-lnsl -lsocket"
+ local homedir=".mc"
+ use xdg && homedir="XDG"
+
econf \
--disable-dependency-tracking \
$(use_enable nls) \
@@ -56,7 +59,8 @@ src_configure() {
--with-screen=${myscreen} \
$(use_with edit) \
$(use_enable mclib) \
- $(use_enable test tests)
+ $(use_enable test tests) \
+ --with-homedir=${homedir}
}
src_install() {
diff --git a/app-misc/mc/metadata.xml b/app-misc/mc/metadata.xml
index 4cf95b5121ff..3334c7cec3d1 100644
--- a/app-misc/mc/metadata.xml
+++ b/app-misc/mc/metadata.xml
@@ -13,5 +13,6 @@
<use>
<flag name="edit">Compile and install the mcedit application</flag>
<flag name="mclib">Compile and install the libmc.so shared library</flag>
+ <flag name="xdg">Toggles mc's config dir location. Enable for $XDG_CONFIG_HOME/mc, disable for $HOME/.mc</flag>
</use>
</pkgmetadata>