diff options
author | Jeroen Roovers <jer@gentoo.org> | 2012-04-25 20:12:28 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2012-04-25 20:12:28 +0000 |
commit | 48a778584c0e517d1dfea476954caf3770e34b9f (patch) | |
tree | af2f811cde10f5c82a33a2c46bfefb7add9e133f /app-editors/mp | |
parent | arm stable, bug #410611 (diff) | |
download | historical-48a778584c0e517d1dfea476954caf3770e34b9f.tar.gz historical-48a778584c0e517d1dfea476954caf3770e34b9f.tar.bz2 historical-48a778584c0e517d1dfea476954caf3770e34b9f.zip |
Version bump. Add support for LINGUAS as requested by Piotr Szymaniak in bug #402703.
Package-Manager: portage-2.2.0_alpha101/cvs/Linux x86_64
Diffstat (limited to 'app-editors/mp')
-rw-r--r-- | app-editors/mp/ChangeLog | 10 | ||||
-rw-r--r-- | app-editors/mp/Manifest | 12 | ||||
-rw-r--r-- | app-editors/mp/mp-5.2.2.ebuild | 101 |
3 files changed, 116 insertions, 7 deletions
diff --git a/app-editors/mp/ChangeLog b/app-editors/mp/ChangeLog index 8cd3d29901b9..5fcf055990d6 100644 --- a/app-editors/mp/ChangeLog +++ b/app-editors/mp/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-editors/mp -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/mp/ChangeLog,v 1.81 2011/11/12 00:47:44 xmw Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-editors/mp/ChangeLog,v 1.82 2012/04/25 20:12:28 jer Exp $ + +*mp-5.2.2 (25 Apr 2012) + + 25 Apr 2012; Jeroen Roovers <jer@gentoo.org> +mp-5.2.2.ebuild: + Version bump. Add support for LINGUAS as requested by Piotr Szymaniak in bug + #402703. *mp-5.2.1 (12 Nov 2011) diff --git a/app-editors/mp/Manifest b/app-editors/mp/Manifest index 9485e7876ff7..41c1d01ab51c 100644 --- a/app-editors/mp/Manifest +++ b/app-editors/mp/Manifest @@ -1,5 +1,5 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 +Hash: SHA1 AUX mp-5.1.1-asneeded.patch 7946 RMD160 41cbf06311efdfed99aec9dd6b94bd5fbe89eb85 SHA1 5ae8e4a4b28eb6f09adb4b199d6597db1aeb15a2 SHA256 7c045cf8ae121b819e0866c60dad304f5fed12eb28905b056aa5012fb1dc5140 AUX mp-5.1.1-prll.patch 1510 RMD160 8f8763c104ca667b12819caf703e313a9c47c71d SHA1 597a59b89f67737e63ac686422390ab042f3b75b SHA256 59654faa1fa385321635b6b82113e4286e3f7f084127ed9323311f268b6e87f0 @@ -9,16 +9,18 @@ DIST mp-3.3.18b.tar.gz 295661 RMD160 37b52db182035243504cd49acd4ee5dc2668e744 SH DIST mp-5.1.1.tar.gz 426154 RMD160 7a50eddd997f51baeaafb79d65fc1b0137d274e1 SHA1 75fa481518be29f63ef35b152ab18acb3bd445d2 SHA256 1357a22e11cb2b1a44081cdd43c402489169b6d98aec4f736f2e7fc7be1615ee DIST mp-5.1.3.tar.gz 486068 RMD160 f78bfa5986ce3c0e7d5070783ee60a2d03ddea88 SHA1 f05b760b09126fe624703b5d9d4c280803a0c313 SHA256 b9c2773408638eeddfa0eef912cc289b0b92df34ce621dc46eca47a2dc518986 DIST mp-5.2.1.tar.gz 566513 RMD160 933124bd4fd7d23ad899c10ea93e57732f003d87 SHA1 9139b714225938c319fba7d051faf80b696d9204 SHA256 e91ff7b94427a5c49815f091c67c20f47f63fd473318dbd9dce52a68a6a6f9d4 +DIST mp-5.2.2.tar.gz 583918 RMD160 e5ffab5cd2180805c0da75e6004352c154236dfa SHA1 1027adb27a11179c95e9fb7a4ab0d64e228ad792 SHA256 f4c04315e6a0a3b831f218f73904afd3c227aa18b67ab21b39dffbb54edfea1f EBUILD mp-3.3.18b.ebuild 1576 RMD160 b76cc44938e581ecfd38d446452f3a75edeae962 SHA1 999b3f13970927b9be14a12b36ae645d00334aad SHA256 578f68d400e9e5ed5383b08e80944f125b476128252bce9ceb6ea589c0a82bd5 EBUILD mp-5.1.1.ebuild 1893 RMD160 d72459c01b095c7ca0a9f5aafdc7fd03705f357b SHA1 32b36dbb39a0de4fcc22e9c9a8db5e6cbcd795c3 SHA256 bbabc728d46e9dd303e08771f939fd1d564d950a28c6cb776dae2bf95d31249f EBUILD mp-5.1.3.ebuild 2073 RMD160 be38fe5656ba934ad3da1fd54898e9c59f0af119 SHA1 eb973b1a94ef4dfc994f15c220a99bc7359a5204 SHA256 8093d5f590c2119ac7d9975c6f202c8ff7ae654350396ea08ea633a831c0378c EBUILD mp-5.2.1.ebuild 1997 RMD160 de2b68302dd32ea744afc54adf36f5df4cffb220 SHA1 f5ad20779459db8d9033bb242af92ba9704cac3a SHA256 ef3e80a28865b56223a2d3b7bc443ea87f217a98c687a8938f11fb747172c70d -MISC ChangeLog 10191 RMD160 80a7b2829175cc5f8dad70d4aa992ee37d39f713 SHA1 383776412602a895e615b6a77d612768a6c140f5 SHA256 8965968c1b556b8e2487686f2cdfb8121c8070c672623611689b78eb8e37afec +EBUILD mp-5.2.2.ebuild 2346 RMD160 37a400b010f926b0664f8161dfa16edf2a7e6399 SHA1 f7fac98578e7907d67d0db454afd5d15b2096357 SHA256 f218bdf0f62c76404fcb302d70e9294e1b0f787f1ac1b105d926a9dbf9897872 +MISC ChangeLog 10372 RMD160 9186d7df8bce0c00027868f781dcd95e1238b103 SHA1 74b025a711901571c7ff07796cc21f89a0b3ac29 SHA256 59322f68f577f6970d34b7935ea29705683a302284712f61876c1b2e8b28e52d MISC metadata.xml 292 RMD160 354d84d97415a69afafccaae6cd627760a95475f SHA1 6266efbae4646d6658dacb480b8f3a78e5c4735f SHA256 ed31222caf411bbd2101fd43f6b711048213b7ecf27ce7f1643eff0f0ed5f2b3 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iF4EAREIAAYFAk69wjYACgkQknrdDGLu8JDT5AEAkkIVsUmayE0I+h+XeNW3de4s -Vtefd7aHp8mvFHPiN5AA/jGUDbvFFRBgP0QFabk3cskCEOahAqkH3pbB5fP2NFJ1 -=4Oyh +iEYEARECAAYFAk+YWrIACgkQVWmRsqeSphO4MQCfWo5g+LEcGdjL19V7y5MnK6MC +DAcAn2Lie1qJVeBz3LM8dFVM9C6bXaSW +=NA+w -----END PGP SIGNATURE----- diff --git a/app-editors/mp/mp-5.2.2.ebuild b/app-editors/mp/mp-5.2.2.ebuild new file mode 100644 index 000000000000..344568391f1e --- /dev/null +++ b/app-editors/mp/mp-5.2.2.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-editors/mp/mp-5.2.2.ebuild,v 1.1 2012/04/25 20:12:28 jer Exp $ + +EAPI=4 +inherit eutils toolchain-funcs + +DESCRIPTION="Minimum Profit: A text editor for programmers" +HOMEPAGE="http://www.triptico.com/software/mp.html" +SRC_URI="http://www.triptico.com/download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-interix ~ppc-macos ~sparc-solaris ~x86-solaris" +IUSE="gtk iconv kde ncurses nls pcre qt4" + +MP_LINGUAS="de es it nl ru sv" +for mp_lingua in ${MP_LINGUAS}; do + IUSE+=" linguas_${mp_lingua}" +done + +RDEPEND=" + ncurses? ( sys-libs/ncurses ) + gtk? ( + || ( x11-libs/gtk+:3 x11-libs/gtk+:2 ) + >=x11-libs/pango-1.8.0 + dev-libs/atk + dev-libs/glib + media-libs/fontconfig + media-libs/freetype + x11-libs/cairo + ) + !gtk? ( sys-libs/ncurses ) + app-text/grutatxt + iconv? ( virtual/libiconv ) + nls? ( sys-devel/gettext ) + pcre? ( dev-libs/libpcre ) +" +DEPEND=" + ${RDEPEND} + app-text/grutatxt + dev-util/pkgconfig + dev-lang/perl +" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-5.2.1-prll.patch + local mp_lingua + for mp_lingua in ${MP_LINGUAS}; do + if ! use linguas_${mp_lingua}; then + rm po/${mp_lingua/linguas_/}.[mp]o || die + fi + done +} + +src_configure() { + local myconf="--prefix=${EPREFIX}/usr --without-win32" + + if use gtk; then + ! use ncurses && myconf="${myconf} --without-curses" + else + myconf="${myconf} --without-gtk2" + fi + + use iconv || myconf="${myconf} --without-iconv" + + use kde || myconf="${myconf} --without-kde4" + + use nls || myconfig="${myconf} --without-gettext" + + myconf="${myconf} $(use_with pcre)" + use pcre || myconf="${myconf} --with-included-regex" + + use qt4 || myconf="${myconf} --without-qt4" + + tc-export CC + sh config.sh ${myconf} || die "Configure failed" + + for i in "${S}" "${S}"/mpsl "${S}"/mpdm;do + echo ${CFLAGS} >> $i/config.cflags + echo ${CFLAGS} >> $i/config.ldflags + echo ${LDFLAGS} >> $i/config.ldflags + done +} + +src_install() { + dodir /usr/bin + sh config.sh --prefix="${EPREFIX}/usr" + emake -j1 DESTDIR="${D}" install +# use gtk && dosym mp-5 /usr/bin/gmp +} + +pkg_postinst() { + if use gtk ; then + einfo + einfo "mp-5 is symlinked to gmp! Use" + einfo "$ DISPLAY=\"\" mp-5" + einfo "to use text mode!" + einfo + fi +} |