summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Alexander <wired@gentoo.org>2011-11-01 08:37:27 +0000
committerAlex Alexander <wired@gentoo.org>2011-11-01 08:37:27 +0000
commit0819bbbc994af4707c57d0458a977afccb4b5516 (patch)
treed1908aae53018c0ea211f3ac1256eaf1c874464a /app-misc/mc
parentCombine all patches fixing linking issues into one (diff)
downloadhistorical-0819bbbc994af4707c57d0458a977afccb4b5516.tar.gz
historical-0819bbbc994af4707c57d0458a977afccb4b5516.tar.bz2
historical-0819bbbc994af4707c57d0458a977afccb4b5516.zip
new use flag: mclib. install NEWS file, bug 389143
Package-Manager: portage-2.2.0_alpha71/cvs/Linux x86_64
Diffstat (limited to 'app-misc/mc')
-rw-r--r--app-misc/mc/ChangeLog8
-rw-r--r--app-misc/mc/Manifest25
-rw-r--r--app-misc/mc/mc-4.8.0-r1.ebuild81
-rw-r--r--app-misc/mc/metadata.xml4
4 files changed, 109 insertions, 9 deletions
diff --git a/app-misc/mc/ChangeLog b/app-misc/mc/ChangeLog
index a21650a224b4..81cd77cc85c8 100644
--- a/app-misc/mc/ChangeLog
+++ b/app-misc/mc/ChangeLog
@@ -1,6 +1,12 @@
# 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.227 2011/10/21 16:29:53 slyfox Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v 1.228 2011/11/01 08:37:27 wired Exp $
+
+*mc-4.8.0-r1 (01 Nov 2011)
+
+ 01 Nov 2011; Alex Alexander <wired@gentoo.org> +mc-4.8.0-r1.ebuild,
+ metadata.xml:
+ new use flag: mclib. install NEWS file, bug 389143
21 Oct 2011; Sergei Trofimovich <slyfox@gentoo.org> metadata.xml:
Added myself to maintainers.
diff --git a/app-misc/mc/Manifest b/app-misc/mc/Manifest
index 4162548d6337..c57eece99e91 100644
--- a/app-misc/mc/Manifest
+++ b/app-misc/mc/Manifest
@@ -1,5 +1,5 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA512
AUX mc-4.8.0-fix-nls.patch 949 RMD160 24627543ec6744b1b1d710a306dce4d5782e360e SHA1 d70b0ec63f65b72e414efcac2cc04e75740848d1 SHA256 504856248f6c3ab21870c7555f31cdcd9ac509c883ab6cc2929440fb9d1e2216
DIST mc-4.7.0.10.tar.bz2 2862849 RMD160 83a527a94a81f886eb7f80b8965554bf927cad65 SHA1 2bc13f963780eaddac2f675b9145656d759f974e SHA256 99136c447a718c6bd681cb0f7d3ab9df4f5494d35cb3682f01ccf004873e56fb
@@ -13,13 +13,24 @@ EBUILD mc-4.7.0.3.ebuild 1706 RMD160 47509be466b4c9cb659cbaee63ac3f4919802b30 SH
EBUILD mc-4.7.5.2.ebuild 1932 RMD160 3b87f23cb58a5a5f9b72b4f201a235790733413b SHA1 4b941eaa1a692cbb2a80e8eccbffa15ded7732c6 SHA256 052230597b16113163c4aa7ccb068614fd1cdbe710ef9ff084f46e0a3375fcfc
EBUILD mc-4.7.5.3.ebuild 2021 RMD160 c993e962d2a909d8bf70711bc4606833413f50fd SHA1 b51b3a2c4b30e38ec9f4a6db80d63b6622e7bc4d SHA256 69eb538e74a8910ba22449bb616dbbce1d1c3bd71d641d66133d389815eca4bf
EBUILD mc-4.7.5.5.ebuild 2018 RMD160 0918ae22d12e861303f8a195a635e07c1d1c8d93 SHA1 f551966487ff962c8bbc449bdc9cec7ffc0f8ae6 SHA256 4781e7bb5fddc12f377a42103a05637e525cdae9fbe7d82114e187dbe76eb692
+EBUILD mc-4.8.0-r1.ebuild 2166 RMD160 c41af4ee2309720cf75bfe009f90f1f8b11c3482 SHA1 0d7270e3d5f6bab1983471a0ad36c70493defb75 SHA256 cb1635c7ce8d77a34175800e4bb2fe4ade9a996d062cf4a215581ca7c9221506
EBUILD mc-4.8.0.ebuild 2129 RMD160 d89babe5e2963e0321cbb837efb0a14880fdd643 SHA1 c55c2607670aac419a840bca667ae77bca3a6fa0 SHA256 02153fb918ef5288fbc4dfe181247f768b78edc9b9434a7710246dd2382f14a5
-MISC ChangeLog 32227 RMD160 3e23e5d2b7ded4f715cc58784f560e4af7119711 SHA1 6ee8866ee37c602b2449e47e0de83ca8173ec630 SHA256 69d3363c7f1a27280c9aaab1de84200adf8645df8ee3c1fc969779bbc8b6167d
-MISC metadata.xml 409 RMD160 f14c41b9dac31c927a6594e323d03ed479e31df5 SHA1 2fff715168ffaa968931c286576cf3d44787c0c8 SHA256 4b17c78196135dfabc60685a4ea0535f7b692e0cb2035028f0890a1dd7cc8c1c
+MISC ChangeLog 32394 RMD160 7534c1c14bf3a7ab4e89ceb4b82d278a57ed513e SHA1 3800c6fef1a1baf511cc541c1a526efc803563ce SHA256 3b529c08940b38346067c00877172c0fcdcb815a997c0e25bb94862f1923cb37
+MISC metadata.xml 537 RMD160 c0111e0e7a9f3d60dbed2c2d623cd302caa71d2f SHA1 d93980823087e3a75b2c1fdb2bcddcf7af05b40c SHA256 b48a361bbc299ba292ab56ced28b9dba200c3006e97604435da7f8f4004638bf
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
+Version: GnuPG v2.0.18 (GNU/Linux)
-iEYEARECAAYFAk6hnu8ACgkQcaHudmEf86qvEgCfSN39rb/ePweZSaYZeNi4tVta
-8CwAniJ5NLmhgFjibwvdj38IWS4LMxP+
-=x5zp
+iQIcBAEBCgAGBQJOr6/UAAoJEDZF8K7rm0r6xaUP/jdmlZ+iNoVT4vF18oIdw94v
+WzVoTlHdZeIhItGtRqwG7BkT5wTkrQUsoy+f3w3JdhiKYJNapsQyFsseI9EJCc7C
+UmQhOrPezt7UFWr8fTCC65PTAHDw4DTnA+WsigItv+ekJFoBYZUMw+3vWg9dguxe
+vjEUZdZkMS5yCZpShTJGTXj6HpGPldKufP0UBDRw1iXpnxblVIGIcSzGBsMBjD2L
+yFu536VgV86jQjeXp8Cnrt+RkxLYQyX8nxUvixPSG+G0w2VctDDoB5IQoIjImceL
+knH78z+p+5TVuldDj4wM4dFR4cVZWZtSwyPvLjekhzn8WLNvbz+wsQbXGnLhlrB6
+Hzvdm8P6+yzcWt8wjEr3jxu9us3Sl91ymn5DVq8Ohk7Psb8jHqg/kLrQqXotFvuJ
+S6g4mJedGhVC7n+9SXIkaHrwHduX+hQUeJa4ETIWmSE1+ZIjbxXryVdOQl05rHUI
+EilyAsHOzpzoFPjf+lmNH7MH93NMthNMPnGYJ7YcCXUMbOqBIXlkfl+vh5SYg85y
+ruFf1XOSYAn1X7UnSI36QsIIn1jKctXSgoaRl+lFkfNOGvPEKYxv9yqyMwhoVrdH
+VLFL4usrdv+he4Exmn63ipVRmw2RsslS5tOqiqNiffJL50sWlioWHDR50rzJ4a3+
+AVrAPp11qsagI1uGs8V4
+=LH7/
-----END PGP SIGNATURE-----
diff --git a/app-misc/mc/mc-4.8.0-r1.ebuild b/app-misc/mc/mc-4.8.0-r1.ebuild
new file mode 100644
index 000000000000..02425d13a0d3
--- /dev/null
+++ b/app-misc/mc/mc-4.8.0-r1.ebuild
@@ -0,0 +1,81 @@
+# 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.0-r1.ebuild,v 1.1 2011/11/01 08:37:27 wired Exp $
+
+EAPI=4
+
+inherit base flag-o-matic
+
+MY_P=${P/_/-}
+
+DESCRIPTION="GNU Midnight Commander is a text based file manager"
+HOMEPAGE="http://www.midnight-commander.org"
+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"
+
+REQUIRED_USE="^^ ( ncurses slang )"
+
+RDEPEND=">=dev-libs/glib-2.8:2
+ gpm? ( sys-libs/gpm )
+ kernel_linux? ( sys-fs/e2fsprogs )
+ ncurses? ( sys-libs/ncurses )
+ samba? ( net-fs/samba )
+ slang? ( >=sys-libs/slang-2 )
+ X? ( x11-libs/libX11
+ x11-libs/libICE
+ x11-libs/libXau
+ x11-libs/libXdmcp
+ x11-libs/libSM )"
+DEPEND="${RDEPEND}
+ app-arch/xz-utils
+ dev-util/pkgconfig
+ nls? ( sys-devel/gettext )
+ test? ( dev-libs/check )
+ "
+
+S=${WORKDIR}/${MY_P}
+
+PATCHES=("${FILESDIR}/${PN}"-4.8.0-fix-nls.patch)
+
+src_configure() {
+ local myscreen=ncurses
+ use slang && myscreen=slang
+ [[ ${CHOST} == *-solaris* ]] && append-ldflags "-lnsl -lsocket"
+
+ econf \
+ --disable-dependency-tracking \
+ $(use_enable nls) \
+ --enable-vfs \
+ $(use_enable kernel_linux vfs-undelfs) \
+ --enable-charset \
+ $(use_with X x) \
+ $(use_enable samba vfs-smb) \
+ $(use_with gpm gpm-mouse) \
+ --with-screen=${myscreen} \
+ $(use_with edit) \
+ $(use_enable mclib) \
+ $(use_enable test tests)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc AUTHORS README NEWS
+
+ # fix bug #334383
+ if [[ ${EUID} == 0 ]] ; then
+ fowners root:tty /usr/libexec/mc/cons.saver ||
+ die "setting cons.saver's owner failed"
+ fperms g+s /usr/libexec/mc/cons.saver ||
+ die "setting cons.saver's permissions failed"
+ fi
+}
+
+pkg_postinst() {
+ elog "To enable exiting to latest working directory,"
+ elog "put this into your ~/.bashrc:"
+ elog ". ${EPREFIX}/usr/libexec/mc/mc.sh"
+}
diff --git a/app-misc/mc/metadata.xml b/app-misc/mc/metadata.xml
index d0ed6c6e7acb..4cf95b5121ff 100644
--- a/app-misc/mc/metadata.xml
+++ b/app-misc/mc/metadata.xml
@@ -4,12 +4,14 @@
<herd>desktop-misc</herd>
<maintainer>
<email>wired@gentoo.org</email>
+ <name>Alex Alexander</name>
</maintainer>
<maintainer>
<email>slyfox@gentoo.org</email>
<name>Sergei Trofimovich</name>
</maintainer>
<use>
- <flag name="edit">Build mcedit application</flag>
+ <flag name="edit">Compile and install the mcedit application</flag>
+ <flag name="mclib">Compile and install the libmc.so shared library</flag>
</use>
</pkgmetadata>