Version bump
authorAndrey Grozin <grozin@gentoo.org>
Mon, 9 Jan 2012 07:05:24 +0000 (07:05 +0000)
committerAndrey Grozin <grozin@gentoo.org>
Mon, 9 Jan 2012 07:05:24 +0000 (07:05 +0000)
Package-Manager: portage-2.2.0_alpha84/cvs/Linux i686

sci-visualization/gle/ChangeLog
sci-visualization/gle/Manifest
sci-visualization/gle/files/gle-4.2.4-parallel.patch [new file with mode: 0644]
sci-visualization/gle/gle-4.2.4.ebuild [new file with mode: 0644]

index f772716efc6b683be9d75913724742174104412b..59cbabc60f854d9f36573a65fa180bdf1f51a502 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for sci-visualization/gle
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gle/ChangeLog,v 1.15 2011/06/10 12:07:38 grozin Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gle/ChangeLog,v 1.16 2012/01/09 07:05:24 grozin Exp $
+
+*gle-4.2.4 (09 Jan 2012)
+
+  09 Jan 2012; Andrey Grozin <grozin@gentoo.org> +gle-4.2.4.ebuild,
+  +files/gle-4.2.4-parallel.patch:
+  Version bump
 
   10 Jun 2011; Andrey Grozin <grozin@gentoo.org> gle-4.2.3b.ebuild:
   Fixed dependence with USE=qt4, thanks to fulvio ciriaco <oivulf@gmail.com>
index b92523412e75742daa27ead72041367984b9c58d..6b81c28953bad102807e0ec0965965ccb5290142 100644 (file)
@@ -1,9 +1,12 @@
 AUX 64gle-gentoo.el 161 RMD160 3bb0a12b3db10d0331c272c9386ffc1a3757db58 SHA1 cb2a4da6d13088fe869480efa2ae35c9babe0ea7 SHA256 a14ce47df108c25318471f1ae3ccc6c9984b7e1a2728e16b57cef0a848156a55
 AUX gle-4.2.3b-overflows.patch 466 RMD160 c10b1cf28b396586834e45e14433370763915787 SHA1 7eece556ca720a81555f284f66c55e424a9be115 SHA256 0c566eb6e98207859e22cef9318bfec07d62792b6277b35717c51a5df79c9725
 AUX gle-4.2.3b-parallel.patch 464 RMD160 61711adb213a073f0f8ff3b02bef39d4ec48e814 SHA1 70f9f5c644629eb20003bd6b39ac4d4da9086a0e SHA256 ac8ecbb9ea3198dfcb57c7cffe22dfbb5fc88f53fa4e68744078fa4f693ed8f0
+AUX gle-4.2.4-parallel.patch 464 RMD160 61711adb213a073f0f8ff3b02bef39d4ec48e814 SHA1 70f9f5c644629eb20003bd6b39ac4d4da9086a0e SHA256 ac8ecbb9ea3198dfcb57c7cffe22dfbb5fc88f53fa4e68744078fa4f693ed8f0
 DIST GLEusersguide.pdf 2244780 RMD160 6f2b8814f100e3971737ad45d017144e5912fd4e SHA1 2039e6b255da68200b5f881f2554bbdd6e82034a SHA256 02c13fe038f8b4b7726ac3e6a74410e299f50cdccb2b040d7ed1fbc99b9cfbef
 DIST gle-graphics-4.2.3bf-src.tar.gz 2262745 RMD160 60381d22ad8e1d17d8cbd9736522b768e2476bfd SHA1 7a0b0ff1be264ce1e7606419f80362efe06c60b5 SHA256 18c2b35cc3b669b0f8246a7ed7068feff7ab747254b0b8a215ebc98a6991121f
+DIST gle-graphics-4.2.4f-src.tar.gz 2321209 RMD160 779a4d43de7a1968fa6e6b49a56983224bf9f064 SHA1 a9d23931c4da1cca4d4618cf5959b27c4bccf26d SHA256 0da6fe583e25011d3996151893b37ee946653ecedcccef1449d15e9fb8efea5b
 DIST gle-manual-4.2.2.pdf 2238766 RMD160 23befacc8b51375ef8832ab39db21c5e497b9cdd SHA1 2b07238a62ca7099648aa9660fd934a88c966a5e SHA256 fbc4ba2613882d2d4ae3f8484c77aa27a257fc1b0ec02a46085c3651a2ace58e
 EBUILD gle-4.2.3b.ebuild 2825 RMD160 15739f8fa680a74a5019198a590c519581e030bd SHA1 308f133c4808f7d99a0ccadddbf1ea91c802e752 SHA256 1d5b84aa47631e2af2db79b13fff7384de49db0e99ea4ad46d356d746370a159
-MISC ChangeLog 3079 RMD160 94946c0250e3c25b2cb4e14fb95912e73430a925 SHA1 ec4068c05155f11eeeb0bbe95242f6b55cf06e83 SHA256 7eaad18163a0a27e35e76caedc1816e15b1ad761933def315063833b429f5b84
+EBUILD gle-4.2.4.ebuild 2781 RMD160 576bbb4cc0b93c70b1f2831a848e4cbf6f6f8247 SHA1 6738cf3f3df1e942718e9663ae7e463592722163 SHA256 bc142b049be8451d16c30b829072489d21d5f8ac0c7cfd72598cc132f42bd276
+MISC ChangeLog 3224 RMD160 af84269f1fd5d02727d8ae7573e153117ef24997 SHA1 bcffc92e2352619b31337052b93521ceafaed755 SHA256 de961bb21a8dee952b38d71c30c8a359a9809a9547fa38744396b173d8234cba
 MISC metadata.xml 515 RMD160 a04a55d1a6c8f1e947200d546e5e8e22be5d144d SHA1 f9a02c835f68b9d91bda0578045e0631084b607b SHA256 a75689c90bb13cf073d34c175453181823b0f6cc9a824baa69bd56e1308d5c95
diff --git a/sci-visualization/gle/files/gle-4.2.4-parallel.patch b/sci-visualization/gle/files/gle-4.2.4-parallel.patch
new file mode 100644 (file)
index 0000000..1eff8c0
--- /dev/null
@@ -0,0 +1,21 @@
+--- src/gui/MakefileAC.in.orig 2010-01-06 20:10:04.000000000 +0000
++++ src/gui/MakefileAC.in      2010-01-06 20:21:15.000000000 +0000
+@@ -84,14 +84,14 @@
+ qmake:
+       $(QMAKE_PROG) $(QMAKE_OPTS)
+-domake:
+-      $(MAKE_PROG)
++domake: Makefile
++      $(MAKE)
+-repmake:
++repmake: Makefile
+       perl ../../platform/autopackage/qt-replace.pl Makefile
+ doclean:
+-      -$(MAKE_PROG) clean
++      -$(MAKE) clean
+       -@$(RM) qgle install_qgle_name_mac Makefile
+       -@$(RMDIR) moc
+       -@$(RMDIR) objects
diff --git a/sci-visualization/gle/gle-4.2.4.ebuild b/sci-visualization/gle/gle-4.2.4.ebuild
new file mode 100644 (file)
index 0000000..a9e79e6
--- /dev/null
@@ -0,0 +1,108 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gle/gle-4.2.4.ebuild,v 1.1 2012/01/09 07:05:24 grozin Exp $
+
+EAPI=2
+inherit eutils elisp-common qt4-r2 flag-o-matic autotools
+
+DESCRIPTION="Graphics Layout Engine"
+HOMEPAGE="http://glx.sourceforge.net/"
+MY_P=${PN}-graphics-${PV}
+MAN_V=4.2.2
+SRC_URI="mirror://sourceforge/glx/${MY_P}f-src.tar.gz
+       doc? ( mirror://sourceforge/glx/${PN}-manual-${MAN_V}.pdf
+                  mirror://sourceforge/glx/GLEusersguide.pdf )"
+SLOT="0"
+LICENSE="BSD-2 emacs? ( GPL-2 ) qt4? ( GPL-2 )"
+IUSE="X qt4 jpeg png tiff doc emacs vim-syntax"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="sys-libs/ncurses
+       X? ( x11-libs/libX11 )
+       qt4? ( x11-libs/qt-opengl:4 )
+       jpeg? ( virtual/jpeg )
+       png? ( media-libs/libpng )
+       tiff? ( media-libs/tiff )
+       emacs? ( virtual/emacs )"
+
+RDEPEND="${DEPEND}
+       app-text/ghostscript-gpl
+       virtual/latex-base
+       vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
+
+S="${WORKDIR}"/${MY_P}
+
+src_prepare() {
+       epatch "${FILESDIR}"/${P}-parallel.patch
+       eaclocal
+       eautoconf
+}
+
+src_configure() {
+       # CPPFLAGS are understood as C++ flags
+       append-cppflags ${CXXFLAGS}
+       econf \
+               --without-rpath \
+               --with-manip \
+               $(use_with qt4 qt /usr) \
+               $(use_with X x) \
+               $(use_with jpeg) \
+               $(use_with png) \
+               $(use_with tiff)
+}
+
+src_compile() {
+       emake || die "emake failed"
+       if use emacs; then
+               cd contrib/editors/highlighting
+               mv ${PN}-emacs.el ${PN}-mode.el
+               elisp-compile ${PN}-mode.el || die
+       fi
+}
+
+src_install() {
+       # -jN failed to install some data files
+       emake -j1 DESTDIR="${D}" install || die "emake install failed"
+       #emake DESTDIR="${D}" install || die "emake install failed"
+       rmdir "${D}"/usr/share/doc/gle-graphics || die "rmdir gle-graphics failed"
+       dodoc README.txt
+
+       if use qt4; then
+               newicon src/gui/images/gle_icon.png gle.png
+               make_desktop_entry qgle GLE gle
+               newdoc src/gui/readme.txt gui_readme.txt
+       fi
+
+       if use doc; then
+               insinto /usr/share/doc/${PF}
+               doins "${DISTDIR}"/${PN}-manual-${MAN_V}.pdf \
+                       "${DISTDIR}"/GLEusersguide.pdf
+       fi
+
+       if use emacs; then
+               elisp-install ${PN} contrib/editors/highlighting/gle-mode.{el,elc} || die
+               elisp-site-file-install "${FILESDIR}"/64gle-gentoo.el || die
+       fi
+
+       if use vim-syntax ; then
+               dodir /usr/share/vim/vimfiles/ftplugins \
+                       /usr/share/vim/vimfiles/indent \
+                       /usr/share/vim/vimfiles/syntax
+               cd contrib/editors/highlighting/vim
+               chmod 644 ftplugin/* indent/* syntax/*
+               insinto /usr/share/vim/vimfiles/ftplugins
+               doins ftplugin/* || die
+               insinto /usr/share/vim/vimfiles/indent
+               doins indent/* || die
+               insinto /usr/share/vim/vimfiles/syntax
+               doins syntax/* || die
+       fi
+}
+
+pkg_postinst() {
+       use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+       use emacs && elisp-site-regen
+}