[gentoo-commits] repo/gentoo:master commit in: sci-visualization/gle/

2024-07-31 Thread Eli Schwartz
commit: c8010faf979304b6beb789550a8acca28d2e6ac3
Author: Eli Schwartz  gentoo  org>
AuthorDate: Wed Jul 31 23:36:23 2024 +
Commit: Eli Schwartz  gentoo  org>
CommitDate: Thu Aug  1 03:14:17 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8010faf

sci-visualization/gle: update HOMEPAGE to use https

Signed-off-by: Eli Schwartz  gentoo.org>

 sci-visualization/gle/gle-4.3.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-visualization/gle/gle-4.3.4-r1.ebuild 
b/sci-visualization/gle/gle-4.3.4-r1.ebuild
index 4eeeda66df9f..61ded592c798 100644
--- a/sci-visualization/gle/gle-4.3.4-r1.ebuild
+++ b/sci-visualization/gle/gle-4.3.4-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 inherit cmake elisp-common flag-o-matic
 
 DESCRIPTION="Graphics Layout Engine"
-HOMEPAGE="http://glx.sourceforge.io/ https://github.com/vlabella/GLE/";
+HOMEPAGE="https://glx.sourceforge.io/ https://github.com/vlabella/GLE/";
 IUSE="doc emacs"
 LIB_VERSION="d476418f006b001dc7f47dcafb413c0557fa44a7"
 SRC_URI="https://github.com/vlabella/GLE/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz



[gentoo-commits] repo/gentoo:master commit in: sci-visualization/gle/

2024-07-31 Thread Eli Schwartz
commit: f30e7f7f7319330640d9fc44c10909f482c278da
Author: Eli Schwartz  gentoo  org>
AuthorDate: Wed Jul 31 23:29:33 2024 +
Commit: Eli Schwartz  gentoo  org>
CommitDate: Thu Aug  1 03:14:16 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f30e7f7f

sci-visualization/gle: mark as LTO-unsafe

Closes: https://bugs.gentoo.org/927779
Signed-off-by: Eli Schwartz  gentoo.org>

 sci-visualization/gle/gle-4.3.4-r1.ebuild | 9 +++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/sci-visualization/gle/gle-4.3.4-r1.ebuild 
b/sci-visualization/gle/gle-4.3.4-r1.ebuild
index 38c0f6b7b18f..4eeeda66df9f 100644
--- a/sci-visualization/gle/gle-4.3.4-r1.ebuild
+++ b/sci-visualization/gle/gle-4.3.4-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit cmake elisp-common
+inherit cmake elisp-common flag-o-matic
 
 DESCRIPTION="Graphics Layout Engine"
 HOMEPAGE="http://glx.sourceforge.io/ https://github.com/vlabella/GLE/";
@@ -43,6 +43,11 @@ PATCHES=( "${FILESDIR}"/license.patch 
"${FILESDIR}"/tiff.patch )
 SITEFILE="64${PN}-gentoo.el"
 
 src_configure() {
+   # -Werror=odr
+   # https://bugs.gentoo.org/927779
+   # https://github.com/vlabella/GLE/issues/35
+   filter-lto
+
local mycmakeargs=(

-DGLE_EXAMPLES_LIBRARY_PATH="${WORKDIR}"/gle-library-${LIB_VERSION}
)



[gentoo-commits] repo/gentoo:master commit in: sci-visualization/gle/, sci-visualization/gle/files/

2023-08-22 Thread Andrey Grozin
commit: 2141de0308768993d9d21770c828d0c7425ba8dd
Author: Andrey Grozin  gentoo  org>
AuthorDate: Tue Aug 22 08:39:31 2023 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Tue Aug 22 08:39:31 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2141de03

sci-visualization/gle: remove old versions

Signed-off-by: Andrey Grozin  gentoo.org>

 sci-visualization/gle/Manifest |  4 --
 sci-visualization/gle/files/array.patch| 15 
 sci-visualization/gle/files/cairo-pixman.patch | 21 --
 sci-visualization/gle/files/ghostscript.patch  | 16 -
 sci-visualization/gle/files/install.patch  | 20 --
 sci-visualization/gle/files/lic.patch  |  9 ---
 sci-visualization/gle/files/link.patch | 20 --
 sci-visualization/gle/files/wayland.patch  | 10 ---
 sci-visualization/gle/gle-4.3.3-r3.ebuild  | 94 --
 sci-visualization/gle/gle-4.3.4.ebuild | 84 ---
 10 files changed, 293 deletions(-)

diff --git a/sci-visualization/gle/Manifest b/sci-visualization/gle/Manifest
index 3628b91299a2..0bb3855bdcd3 100644
--- a/sci-visualization/gle/Manifest
+++ b/sci-visualization/gle/Manifest
@@ -1,8 +1,4 @@
-DIST gle-4.3.3.tar.gz 1788614 BLAKE2B 
3f608a8dad32d02b06808d5b2cfe4a2beb2c076c74e2972be2e94fe56bf24190b9cc7c69f45f1b02d399354f827c43722029871d6355bc0e4abe003f71b2bf82
 SHA512 
191dde025828f3376c7241e0580fcd459c743fe947f69cc3be1345b43c1d2587852a0d002dfdab7d8b7b45fd30e6bf4e8a4b5c73bcc2f3ce2fd08aa41d799b03
 DIST gle-4.3.4.pdf 3950922 BLAKE2B 
7151b88bdbcf55c6a23b2190cbc00d1cbec78c3026487337f0bbe2746b22ecf81f549b6e778fcf1f82adc6a71805f3ed7c45bda40328b86a56ef2b78c1fffc4d
 SHA512 
78eef1e97bfbe1a1897b22b7650fba08e170708cf53adfd22cd432081497e2c5845534e43549e7fd5b9e3c9e7e1c937dbc0b64b35c5416ce4cf143c55e5a56a9
 DIST gle-4.3.4.tar.gz 1791581 BLAKE2B 
a26fcafb3390fcf083a0d3008e22f3e998b71ba44f373fabf5feb8fd494fe8be8941e6f6118e1062b4ad4330a5e2e722b890edecaeba3a7640af954c7067b8d6
 SHA512 
5b59e0a51b466313b6ae53419137a25764f2b0c4eed8be217e30ba73245afbdbbd74228f5539b50f47dccfd5448be12b18ffa0e935a663bfd2073bb5d5eafeac
-DIST gle-c++17.patch.gz 18738 BLAKE2B 
e0d91aedf2121897336be72d8ad5878be95cf15982b38efb2fda86605d6e0f01b792013a9ab6407692254e5c074630daede05bcf97f349541dd979b21eb2ff15
 SHA512 
3bc4e335577f94eafd140cd64f2ada1926b1679c113de1f0bb0dd1afed67210470340470b19d89dae4ae1ef433f05120332a465711afb4e637e3cf0c6db68ace
 DIST gle-library.tar.gz 1073620 BLAKE2B 
051f9584dbf3195c7598ae54b12ab8d373e8054e8ff4c3d1dfed70319c29c5cb8bb1f0baff127768bcf9e36e4f52be3b3238e786e1598d1cdfbd6d1af6d6bdd3
 SHA512 
af6a46f2bd945714679eb9d8ca4c70ca9a741cf6652590eb3a8d9422059f49ce3d2c33418c37899bd54f9e0bc0085ae82ffd2f2b84b77879e2f2d09a0026d12a
-DIST gle-manual.pdf 3950922 BLAKE2B 
7151b88bdbcf55c6a23b2190cbc00d1cbec78c3026487337f0bbe2746b22ecf81f549b6e778fcf1f82adc6a71805f3ed7c45bda40328b86a56ef2b78c1fffc4d
 SHA512 
78eef1e97bfbe1a1897b22b7650fba08e170708cf53adfd22cd432081497e2c5845534e43549e7fd5b9e3c9e7e1c937dbc0b64b35c5416ce4cf143c55e5a56a9
-DIST gle-manual.pdf.gz 1878050 BLAKE2B 
6ebd3c0214ab8aee3e5a32d1e1cdf1c001cd09325c80a506a1e41f4eb3ec8869b75083c741a5cf8b2f3faf1d2cb0c6cfeca835daa284263598f749109904cc11
 SHA512 
7cc796626fa19541558004250a4a5b206ead7ba704c76fd948693aca144e70926b8213ee8b062841bffedc631eb39a255d69387bbee4a5acc7edc6d093e3113f
 DIST gle-mode.el.gz 7359 BLAKE2B 
bcbc61651f87f3ee1d079fc0a0de38788523a5ee33f56087b89f4e15b9ef5ee4010cf47679c38da3dfae1954ddbfee4728d10c0af6530f645ff63ab2b219da09
 SHA512 
c8d291c23f53346d8a44b7d95d737da88c6ec0af597fb8298a564a5567a9e9a0db658d14c3cb43157d58614e65cf2293eaeb01528a7a49722a2da07e16f940e1

diff --git a/sci-visualization/gle/files/array.patch 
b/sci-visualization/gle/files/array.patch
deleted file mode 100644
index 54b7676aea88..
--- a/sci-visualization/gle/files/array.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-diff -r -U2 src.orig/makefmt/makefmt.cpp src/makefmt/makefmt.cpp
 src.orig/makefmt/makefmt.cpp   2022-04-14 02:47:12.0 +0700
-+++ src/makefmt/makefmt.cpp2022-12-18 14:09:54.399896247 +0700
-@@ -115,6 +115,6 @@
- 
- int main(int argc, char *argv[]) {
--  char filename[80];
--  char fmtname[80];
-+  char filename[200];
-+  char fmtname[200];
-   init_accents();
-   /* encoding file given? */
-diff -r -U2 src.orig/TeX/CMakeLists.txt src/TeX/CMakeLists.txt
 src.orig/TeX/CMakeLists.txt2022-04-14 02:47:12.0 +0700
-+++ src/TeX/CMakeLists.txt 2022-12-20 13:34:00.953502995 +0700

diff --git a/sci-visualization/gle/files/cairo-pixman.patch 
b/sci-visualization/gle/files/cairo-pixman.patch
deleted file mode 100644
index e5b34eb287f9..
--- a/sci-visualization/gle/files/cairo-pixman.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -r -U2 src.orig/CMakeLists.txt src/CMakeLists.txt
 src.orig/CMakeLists.txt2022-04-14 02:47:12.0 +0700
-+++ src/CMakeLists.txt 2022-12-20 13:03:11.38

[gentoo-commits] repo/gentoo:master commit in: sci-visualization/gle/

2023-08-22 Thread Andrey Grozin
commit: 60b9c609a7512f11106ee75175088498cb394d8e
Author: Andrey Grozin  gentoo  org>
AuthorDate: Tue Aug 22 08:36:45 2023 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Tue Aug 22 08:36:45 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60b9c609

sci-visualization/gle: avoid identical distfile names in different versions

Signed-off-by: Andrey Grozin  gentoo.org>

 sci-visualization/gle/Manifest|  1 +
 sci-visualization/gle/gle-4.3.4-r1.ebuild | 84 +++
 2 files changed, 85 insertions(+)

diff --git a/sci-visualization/gle/Manifest b/sci-visualization/gle/Manifest
index 23bf1affc0e5..3628b91299a2 100644
--- a/sci-visualization/gle/Manifest
+++ b/sci-visualization/gle/Manifest
@@ -1,4 +1,5 @@
 DIST gle-4.3.3.tar.gz 1788614 BLAKE2B 
3f608a8dad32d02b06808d5b2cfe4a2beb2c076c74e2972be2e94fe56bf24190b9cc7c69f45f1b02d399354f827c43722029871d6355bc0e4abe003f71b2bf82
 SHA512 
191dde025828f3376c7241e0580fcd459c743fe947f69cc3be1345b43c1d2587852a0d002dfdab7d8b7b45fd30e6bf4e8a4b5c73bcc2f3ce2fd08aa41d799b03
+DIST gle-4.3.4.pdf 3950922 BLAKE2B 
7151b88bdbcf55c6a23b2190cbc00d1cbec78c3026487337f0bbe2746b22ecf81f549b6e778fcf1f82adc6a71805f3ed7c45bda40328b86a56ef2b78c1fffc4d
 SHA512 
78eef1e97bfbe1a1897b22b7650fba08e170708cf53adfd22cd432081497e2c5845534e43549e7fd5b9e3c9e7e1c937dbc0b64b35c5416ce4cf143c55e5a56a9
 DIST gle-4.3.4.tar.gz 1791581 BLAKE2B 
a26fcafb3390fcf083a0d3008e22f3e998b71ba44f373fabf5feb8fd494fe8be8941e6f6118e1062b4ad4330a5e2e722b890edecaeba3a7640af954c7067b8d6
 SHA512 
5b59e0a51b466313b6ae53419137a25764f2b0c4eed8be217e30ba73245afbdbbd74228f5539b50f47dccfd5448be12b18ffa0e935a663bfd2073bb5d5eafeac
 DIST gle-c++17.patch.gz 18738 BLAKE2B 
e0d91aedf2121897336be72d8ad5878be95cf15982b38efb2fda86605d6e0f01b792013a9ab6407692254e5c074630daede05bcf97f349541dd979b21eb2ff15
 SHA512 
3bc4e335577f94eafd140cd64f2ada1926b1679c113de1f0bb0dd1afed67210470340470b19d89dae4ae1ef433f05120332a465711afb4e637e3cf0c6db68ace
 DIST gle-library.tar.gz 1073620 BLAKE2B 
051f9584dbf3195c7598ae54b12ab8d373e8054e8ff4c3d1dfed70319c29c5cb8bb1f0baff127768bcf9e36e4f52be3b3238e786e1598d1cdfbd6d1af6d6bdd3
 SHA512 
af6a46f2bd945714679eb9d8ca4c70ca9a741cf6652590eb3a8d9422059f49ce3d2c33418c37899bd54f9e0bc0085ae82ffd2f2b84b77879e2f2d09a0026d12a

diff --git a/sci-visualization/gle/gle-4.3.4-r1.ebuild 
b/sci-visualization/gle/gle-4.3.4-r1.ebuild
new file mode 100644
index ..38c0f6b7b18f
--- /dev/null
+++ b/sci-visualization/gle/gle-4.3.4-r1.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake elisp-common
+
+DESCRIPTION="Graphics Layout Engine"
+HOMEPAGE="http://glx.sourceforge.io/ https://github.com/vlabella/GLE/";
+IUSE="doc emacs"
+LIB_VERSION="d476418f006b001dc7f47dcafb413c0557fa44a7"
+SRC_URI="https://github.com/vlabella/GLE/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz
+   https://github.com/vlabella/gle-library/archive/${LIB_VERSION}.tar.gz 
-> ${PN}-library.tar.gz
+   doc? ( 
https://github.com/vlabella/GLE/releases/download/v${PV}/gle-manual.pdf -> 
${P}.pdf )
+   emacs? ( https://dev.gentoo.org/~grozin/gle-mode.el.gz )"
+S="${WORKDIR}"/GLE-${PV}/src
+
+LICENSE="BSD GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="app-text/ghostscript-gpl
+   dev-libs/boost
+   dev-qt/qtcore:5
+   dev-qt/qtdbus:5
+   dev-qt/qtgui:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtopengl:5
+   dev-qt/qtwidgets:5
+   media-libs/freeglut
+   media-libs/glu
+   media-libs/libpng
+   media-libs/tiff
+   sys-libs/zlib
+   media-libs/libjpeg-turbo
+   x11-libs/cairo
+   x11-libs/pixman
+   emacs? ( app-editors/emacs:* )"
+RDEPEND="${DEPEND}
+   virtual/latex-base"
+
+PATCHES=( "${FILESDIR}"/license.patch "${FILESDIR}"/tiff.patch )
+SITEFILE="64${PN}-gentoo.el"
+
+src_configure() {
+   local mycmakeargs=(
+   
-DGLE_EXAMPLES_LIBRARY_PATH="${WORKDIR}"/gle-library-${LIB_VERSION}
+   )
+   cmake_src_configure
+}
+
+src_compile() {
+   cmake_src_compile
+   use emacs && elisp-compile "${WORKDIR}"/*.el
+}
+
+src_install() {
+   pushd "${WORKDIR}"/GLE-${PV}/src_build > /dev/null || die "pushd failed"
+   newbin gle/gle gle.bin
+   dobin gui/qgle
+   insinto /usr/share/${PN}
+   doins gle/glerc
+   doins -r gle/font
+   popd > /dev/null
+   newbin "${FILESDIR}"/gle.sh gle
+   dodoc ../doc/README.txt ../doc/ChangeLog.txt
+   doins TeX/init.tex
+   mv "${WORKDIR}"/gle-library-${LIB_VERSION}/include 
"${WORKDIR}"/gle-library-${LIB_VERSION}/gleinc || die "mv failed"
+   doins -r "${WORKDIR}"/gle-library-${LIB_VERSION}/gleinc
+   GLE_TOP="${D}"/usr/share/${PN} "${D}"/usr/bin/gle.bin -mkinittex
+   use doc && dodoc "${DISTDIR}"/*.pdf
+   if use emacs; then
+   elisp-install ${PN} "${WORKDIR}"/*.el "${WORKDIR}"/*.elc
+ 

[gentoo-commits] repo/gentoo:master commit in: sci-visualization/gle/, sci-visualization/gle/files/

2023-08-21 Thread Andrey Grozin
commit: 0da61ca1fcea2d4061ba1cb39addb6fadd90957a
Author: Andrey Grozin  gentoo  org>
AuthorDate: Mon Aug 21 12:43:41 2023 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Mon Aug 21 12:43:41 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0da61ca1

sci-visualization/gle: bump to 4.3.4

Signed-off-by: Andrey Grozin  gentoo.org>

 sci-visualization/gle/Manifest|  2 +
 sci-visualization/gle/files/license.patch | 11 
 sci-visualization/gle/files/tiff.patch|  9 
 sci-visualization/gle/gle-4.3.4.ebuild| 84 +++
 4 files changed, 106 insertions(+)

diff --git a/sci-visualization/gle/Manifest b/sci-visualization/gle/Manifest
index 725aa0b89bfe..23bf1affc0e5 100644
--- a/sci-visualization/gle/Manifest
+++ b/sci-visualization/gle/Manifest
@@ -1,5 +1,7 @@
 DIST gle-4.3.3.tar.gz 1788614 BLAKE2B 
3f608a8dad32d02b06808d5b2cfe4a2beb2c076c74e2972be2e94fe56bf24190b9cc7c69f45f1b02d399354f827c43722029871d6355bc0e4abe003f71b2bf82
 SHA512 
191dde025828f3376c7241e0580fcd459c743fe947f69cc3be1345b43c1d2587852a0d002dfdab7d8b7b45fd30e6bf4e8a4b5c73bcc2f3ce2fd08aa41d799b03
+DIST gle-4.3.4.tar.gz 1791581 BLAKE2B 
a26fcafb3390fcf083a0d3008e22f3e998b71ba44f373fabf5feb8fd494fe8be8941e6f6118e1062b4ad4330a5e2e722b890edecaeba3a7640af954c7067b8d6
 SHA512 
5b59e0a51b466313b6ae53419137a25764f2b0c4eed8be217e30ba73245afbdbbd74228f5539b50f47dccfd5448be12b18ffa0e935a663bfd2073bb5d5eafeac
 DIST gle-c++17.patch.gz 18738 BLAKE2B 
e0d91aedf2121897336be72d8ad5878be95cf15982b38efb2fda86605d6e0f01b792013a9ab6407692254e5c074630daede05bcf97f349541dd979b21eb2ff15
 SHA512 
3bc4e335577f94eafd140cd64f2ada1926b1679c113de1f0bb0dd1afed67210470340470b19d89dae4ae1ef433f05120332a465711afb4e637e3cf0c6db68ace
 DIST gle-library.tar.gz 1073620 BLAKE2B 
051f9584dbf3195c7598ae54b12ab8d373e8054e8ff4c3d1dfed70319c29c5cb8bb1f0baff127768bcf9e36e4f52be3b3238e786e1598d1cdfbd6d1af6d6bdd3
 SHA512 
af6a46f2bd945714679eb9d8ca4c70ca9a741cf6652590eb3a8d9422059f49ce3d2c33418c37899bd54f9e0bc0085ae82ffd2f2b84b77879e2f2d09a0026d12a
+DIST gle-manual.pdf 3950922 BLAKE2B 
7151b88bdbcf55c6a23b2190cbc00d1cbec78c3026487337f0bbe2746b22ecf81f549b6e778fcf1f82adc6a71805f3ed7c45bda40328b86a56ef2b78c1fffc4d
 SHA512 
78eef1e97bfbe1a1897b22b7650fba08e170708cf53adfd22cd432081497e2c5845534e43549e7fd5b9e3c9e7e1c937dbc0b64b35c5416ce4cf143c55e5a56a9
 DIST gle-manual.pdf.gz 1878050 BLAKE2B 
6ebd3c0214ab8aee3e5a32d1e1cdf1c001cd09325c80a506a1e41f4eb3ec8869b75083c741a5cf8b2f3faf1d2cb0c6cfeca835daa284263598f749109904cc11
 SHA512 
7cc796626fa19541558004250a4a5b206ead7ba704c76fd948693aca144e70926b8213ee8b062841bffedc631eb39a255d69387bbee4a5acc7edc6d093e3113f
 DIST gle-mode.el.gz 7359 BLAKE2B 
bcbc61651f87f3ee1d079fc0a0de38788523a5ee33f56087b89f4e15b9ef5ee4010cf47679c38da3dfae1954ddbfee4728d10c0af6530f645ff63ab2b219da09
 SHA512 
c8d291c23f53346d8a44b7d95d737da88c6ec0af597fb8298a564a5567a9e9a0db658d14c3cb43157d58614e65cf2293eaeb01528a7a49722a2da07e16f940e1

diff --git a/sci-visualization/gle/files/license.patch 
b/sci-visualization/gle/files/license.patch
new file mode 100644
index ..05b44088f420
--- /dev/null
+++ b/sci-visualization/gle/files/license.patch
@@ -0,0 +1,11 @@
+diff -r -U3 src.orig/CMakeLists.txt src/CMakeLists.txt
+--- src.orig/CMakeLists.txt2023-04-11 07:46:19.0 +0700
 src/CMakeLists.txt 2023-04-12 21:54:22.107770167 +0700
+@@ -461,7 +461,6 @@
+ 
+ # documentation file installation in doc folder
+ install(FILES
+-  ../doc/LICENSE.txt
+   ../doc/README.txt
+   ../doc/ChangeLog.txt
+   CONFIGURATIONS Release Debug

diff --git a/sci-visualization/gle/files/tiff.patch 
b/sci-visualization/gle/files/tiff.patch
new file mode 100644
index ..98bdc2e018d8
--- /dev/null
+++ b/sci-visualization/gle/files/tiff.patch
@@ -0,0 +1,9 @@
+diff -r -U2 src.orig/gui/CMakeLists.txt src/gui/CMakeLists.txt
+--- src.orig/gui/CMakeLists.txt2023-04-11 07:46:19.0 +0700
 src/gui/CMakeLists.txt 2023-08-21 13:00:21.039704497 +0700
+@@ -70,4 +70,5 @@
+   ${PNG_LIBRARIES}
+   ${PIXMAN_LIBRARIES}
++  TIFF::TIFF
+   Qt::Core
+   Qt::Gui

diff --git a/sci-visualization/gle/gle-4.3.4.ebuild 
b/sci-visualization/gle/gle-4.3.4.ebuild
new file mode 100644
index ..7602f290b544
--- /dev/null
+++ b/sci-visualization/gle/gle-4.3.4.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake elisp-common
+
+DESCRIPTION="Graphics Layout Engine"
+HOMEPAGE="http://glx.sourceforge.io/ https://github.com/vlabella/GLE/";
+IUSE="doc emacs"
+LIB_VERSION="d476418f006b001dc7f47dcafb413c0557fa44a7"
+SRC_URI="https://github.com/vlabella/GLE/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz
+   https://github.com/vlabella/gle-library/archive/${LIB_VERSION}.tar.gz 
-> ${PN}-library.tar.gz
+   doc? ( 
https://github.com/vlabella/GLE/releases/download

[gentoo-commits] repo/gentoo:master commit in: sci-visualization/gle/, sci-visualization/gle/files/

2023-05-14 Thread Andreas Sturmlechner
commit: 0bfba004e7ce52ca5071702176c7cd63b3d5093b
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun May 14 07:25:45 2023 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun May 14 10:27:50 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bfba004

sci-visualization/gle: drop 4.2.5-r4

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 sci-visualization/gle/Manifest |   1 -
 sci-visualization/gle/files/gle-4.2.5-c++14.patch  |  27 --
 .../gle/files/gle-4.2.5-jpeg-9c.patch  |  22 -
 .../gle/files/gle-4.2.5-parallel.patch |  20 
 sci-visualization/gle/gle-4.2.5-r4.ebuild  | 103 -
 5 files changed, 173 deletions(-)

diff --git a/sci-visualization/gle/Manifest b/sci-visualization/gle/Manifest
index 711e164a9042..725aa0b89bfe 100644
--- a/sci-visualization/gle/Manifest
+++ b/sci-visualization/gle/Manifest
@@ -1,6 +1,5 @@
 DIST gle-4.3.3.tar.gz 1788614 BLAKE2B 
3f608a8dad32d02b06808d5b2cfe4a2beb2c076c74e2972be2e94fe56bf24190b9cc7c69f45f1b02d399354f827c43722029871d6355bc0e4abe003f71b2bf82
 SHA512 
191dde025828f3376c7241e0580fcd459c743fe947f69cc3be1345b43c1d2587852a0d002dfdab7d8b7b45fd30e6bf4e8a4b5c73bcc2f3ce2fd08aa41d799b03
 DIST gle-c++17.patch.gz 18738 BLAKE2B 
e0d91aedf2121897336be72d8ad5878be95cf15982b38efb2fda86605d6e0f01b792013a9ab6407692254e5c074630daede05bcf97f349541dd979b21eb2ff15
 SHA512 
3bc4e335577f94eafd140cd64f2ada1926b1679c113de1f0bb0dd1afed67210470340470b19d89dae4ae1ef433f05120332a465711afb4e637e3cf0c6db68ace
-DIST gle-graphics-4.2.5f-src.tar.gz 2330270 BLAKE2B 
46435a2366a278a88786a2dd0e0cbcc48d3ba2fc6d895fb07c81216089a10b2223b2ba692b951ee01a6ab014e84cce9aa3969d063ddf7d04501820aa33084c5c
 SHA512 
d459b24577c9c3f8825c368f864532c97d0a37c94018276a60c941d17dce0e55fe738f7eda3227a47848f2fb32fea1dcec29d9751a5be92cde4d8d38a2eeb0f5
 DIST gle-library.tar.gz 1073620 BLAKE2B 
051f9584dbf3195c7598ae54b12ab8d373e8054e8ff4c3d1dfed70319c29c5cb8bb1f0baff127768bcf9e36e4f52be3b3238e786e1598d1cdfbd6d1af6d6bdd3
 SHA512 
af6a46f2bd945714679eb9d8ca4c70ca9a741cf6652590eb3a8d9422059f49ce3d2c33418c37899bd54f9e0bc0085ae82ffd2f2b84b77879e2f2d09a0026d12a
 DIST gle-manual.pdf.gz 1878050 BLAKE2B 
6ebd3c0214ab8aee3e5a32d1e1cdf1c001cd09325c80a506a1e41f4eb3ec8869b75083c741a5cf8b2f3faf1d2cb0c6cfeca835daa284263598f749109904cc11
 SHA512 
7cc796626fa19541558004250a4a5b206ead7ba704c76fd948693aca144e70926b8213ee8b062841bffedc631eb39a255d69387bbee4a5acc7edc6d093e3113f
 DIST gle-mode.el.gz 7359 BLAKE2B 
bcbc61651f87f3ee1d079fc0a0de38788523a5ee33f56087b89f4e15b9ef5ee4010cf47679c38da3dfae1954ddbfee4728d10c0af6530f645ff63ab2b219da09
 SHA512 
c8d291c23f53346d8a44b7d95d737da88c6ec0af597fb8298a564a5567a9e9a0db658d14c3cb43157d58614e65cf2293eaeb01528a7a49722a2da07e16f940e1

diff --git a/sci-visualization/gle/files/gle-4.2.5-c++14.patch 
b/sci-visualization/gle/files/gle-4.2.5-c++14.patch
deleted file mode 100644
index b548816ae065..
--- a/sci-visualization/gle/files/gle-4.2.5-c++14.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-diff -r -U2 gle-graphics-4.2.5.orig/src/gle/fitcf.h 
gle-graphics-4.2.5/src/gle/fitcf.h
 gle-graphics-4.2.5.orig/src/gle/fitcf.h2015-08-16 13:51:24.0 
+0600
-+++ gle-graphics-4.2.5/src/gle/fitcf.h 2018-01-13 13:57:23.140749391 +0700
-@@ -182,8 +182,8 @@
- typedef struct Namelist Namelist;
- 
--#define abs(x) ((x) >= 0 ? (x) : -(x))
-+/*#define abs(x) ((x) >= 0 ? (x) : -(x))*/
- #define dabs(x) (doublereal)abs(x)
--#define min(a,b) ((a) <= (b) ? (a) : (b))
--#define max(a,b) ((a) >= (b) ? (a) : (b))
-+/*#define min(a,b) ((a) <= (b) ? (a) : (b))*/
-+/*#define max(a,b) ((a) >= (b) ? (a) : (b))*/
- #define dmin(a,b) (doublereal)min(a,b)
- #define dmax(a,b) (doublereal)max(a,b)
-diff -r -U2 gle-graphics-4.2.5.orig/src/gle/surface/ffitcontour.cpp 
gle-graphics-4.2.5/src/gle/surface/ffitcontour.cpp
 gle-graphics-4.2.5.orig/src/gle/surface/ffitcontour.cpp2015-08-16 
13:51:24.0 +0600
-+++ gle-graphics-4.2.5/src/gle/surface/ffitcontour.cpp 2018-01-13 
14:08:08.169722265 +0700
-@@ -49,7 +49,7 @@
- #include "f2c.h"
- #else
--#include "f2c.h"
- #include 
- #include 
-+#include "f2c.h"
- #endif
- 

diff --git a/sci-visualization/gle/files/gle-4.2.5-jpeg-9c.patch 
b/sci-visualization/gle/files/gle-4.2.5-jpeg-9c.patch
deleted file mode 100644
index c5dd2205dc43..
--- a/sci-visualization/gle/files/gle-4.2.5-jpeg-9c.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-https://bugs.gentoo.org/647626
-
 a/src/gle/gle-poppler.cpp
-+++ b/src/gle/gle-poppler.cpp
-@@ -194,7 +194,7 @@
- boolean gle_jpeg_empty_output_buffer(j_compress_ptr cinfo) {
-   gle_jpeg_term_destination(cinfo);
-   gle_jpeg_init_destination(cinfo);
--  return true;
-+  return TRUE;
- }
- 
- void gle_jpeg_memory_dest(j_compress_ptr cinfo, JOCTET* buffer, 
GLEWriteFuncAndClosure writeCallback) {
-@@ -237,7 +237,7 @@
-   cinfo.in_color_space = JCS_RGB;
- }
- jpeg_set_defaul

[gentoo-commits] repo/gentoo:master commit in: sci-visualization/gle/, sci-visualization/gle/files/

2022-12-23 Thread Andrey Grozin
commit: acf10dea930bd45a1a70e4d72d698bff7f01a14a
Author: Andrey Grozin  gentoo  org>
AuthorDate: Sat Dec 24 06:22:45 2022 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Sat Dec 24 06:22:45 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acf10dea

sci-visualization/gle: remove old revision

Signed-off-by: Andrey Grozin  gentoo.org>

 sci-visualization/gle/files/gle-4.3.3.patch | 134 
 sci-visualization/gle/gle-4.3.3-r2.ebuild   |  84 -
 2 files changed, 218 deletions(-)

diff --git a/sci-visualization/gle/files/gle-4.3.3.patch 
b/sci-visualization/gle/files/gle-4.3.3.patch
deleted file mode 100644
index 22dc0b160605..
--- a/sci-visualization/gle/files/gle-4.3.3.patch
+++ /dev/null
@@ -1,134 +0,0 @@
-diff -r -U2 src.orig/CMakeLists.txt src/CMakeLists.txt
 src.orig/CMakeLists.txt2022-04-14 02:47:12.0 +0700
-+++ src/CMakeLists.txt 2022-12-20 13:03:11.386586253 +0700
-@@ -9,4 +9,7 @@
- project (gle VERSION 4.3.3)
- 
-+set(CMAKE_CXX_STANDARD 14)
-+set(CMAKE_CXX_STANDARD_REQUIRED ON)
-+
- add_compile_definitions(GLEVN="${PROJECT_VERSION}")
- set( CMAKE_DEBUG_POSTFIX  "d")
-@@ -130,5 +133,5 @@
-   string(COMPARE NOTEQUAL "${CAIRO_LIBRARIES}" "CAIRO_LIBRARIES-NOTFOUND" 
CAIRO_FOUND)
- endif()
--find_path(CAIRO_INCLUDE_DIRS cairo.h PATHS ${CAIRO_ROOT} PATH_SUFFIXES 
include REQUIRED)
-+find_path(CAIRO_INCLUDE_DIRS cairo.h PATHS ${CAIRO_ROOT} PATH_SUFFIXES 
include include/cairo REQUIRED)
- if(CAIRO_FOUND)
-   message("-- Found CAIRO: " ${CAIRO_LIBRARIES} )
-@@ -154,8 +157,8 @@
-   endif()
- else()
--  find_library(PIXMAN_LIBRARIES NAMES pixman pixmand PATHS ${PIXMAN_ROOT} 
PATH_SUFFIXES lib REQUIRED)
-+  find_library(PIXMAN_LIBRARIES NAMES pixman pixmand pixman-1 PATHS 
${PIXMAN_ROOT} PATH_SUFFIXES lib lib64 REQUIRED)
-   string(COMPARE NOTEQUAL "${PIXMAN_LIBRARIES}" 
"PIXMAN_LIBRARIES-NOTFOUND" PIXMAN_FOUND)
- endif()
--find_path(PIXMAN_INCLUDE_DIRS pixman.h PATHS ${PIXMAN_ROOT} PATH_SUFFIXES 
include REQUIRED)
-+find_path(PIXMAN_INCLUDE_DIRS pixman.h PATHS ${PIXMAN_ROOT} PATH_SUFFIXES 
include include/pixman-1 REQUIRED)
- if(PIXMAN_FOUND)
-   message("-- Found PIXMAN: " ${PIXMAN_LIBRARIES} )
-@@ -164,9 +167,9 @@
- # -- GHOSTscript or GHOSTPDL include directory only since gle links to 
installed version at runtime
- #
--find_path(GDIR1 iapi.h PATHS ${GHOSTPDL_ROOT} PATH_SUFFIXES psi base devices )
-+find_path(GDIR1 iapi.h PATHS ${GHOSTPDL_ROOT} PATH_SUFFIXES psi base devices 
ghostscript )
- list(APPEND GHOSTPDL_INCLUDE_DIRS ${GDIR1} )
--find_path(GDIR2 gdevdsp.h PATHS ${GHOSTPDL_ROOT} PATH_SUFFIXES psi base 
devices )
-+find_path(GDIR2 gdevdsp.h PATHS ${GHOSTPDL_ROOT} PATH_SUFFIXES psi base 
devices ghostscript )
- list(APPEND GHOSTPDL_INCLUDE_DIRS ${GDIR2} )
--find_path(GDIR3 gserrors.h PATHS ${GHOSTPDL_ROOT} PATH_SUFFIXES psi base 
devices )
-+find_path(GDIR3 gserrors.h PATHS ${GHOSTPDL_ROOT} PATH_SUFFIXES psi base 
devices ghostscript )
- list(APPEND GHOSTPDL_INCLUDE_DIRS ${GDIR3} )
- 
-@@ -398,5 +401,4 @@
- # documentation file installation in doc folder
- install(FILES 
--  ../doc/LICENSE.txt 
-   ../doc/README.txt 
-   ../doc/ChangeLog.txt
-diff -r -U2 src.orig/gui/CMakeLists.txt src/gui/CMakeLists.txt
 src.orig/gui/CMakeLists.txt2022-04-14 02:47:12.0 +0700
-+++ src/gui/CMakeLists.txt 2022-12-19 10:21:59.026388957 +0700
-@@ -54,11 +54,14 @@
-   $<$:qgle.rc>
- )
--# no jpeg as its contianed in Qt
-+# no jpeg as its contained in Qt
-+# but need to add JPEG for Debian!
-+# order matters: first static files (and libgle), then dynamic libraries
- target_link_libraries ( qgle LINK_PUBLIC 
-+  libgle-graphics_s
-   ${ZLIB_LIBRARIES}
-+  ${JPEG_LIBRARIES}
-   ${TIFF_LIBRARIES}
-   ${PNG_LIBRARIES}
-   ${PIXMAN_LIBRARIES}
--  libgle-graphics_s
-   Qt::Core
-   Qt::Gui
-@@ -70,5 +73,6 @@
- 
- if(UNIX AND NOT APPLE)
--  target_link_libraries ( qgle LINK_PUBLIC 
-+  target_link_libraries ( qgle LINK_PUBLIC
-+  dl
-   glut
-   GLU
-diff -r -U2 src.orig/gui/main.cpp src/gui/main.cpp
 src.orig/gui/main.cpp  2022-04-14 02:47:12.0 +0700
-+++ src/gui/main.cpp   2022-12-19 10:21:59.046388957 +0700
-@@ -277,5 +277,5 @@
-   #endif
-   #ifdef Q_OS_LINUX
--  Q_IMPORT_PLUGIN(QWaylandIntegrationPlugin)
-+  // Q_IMPORT_PLUGIN(QWaylandIntegrationPlugin)
-   #endif
-   QLocale curLocale("C");
-diff -r -U2 src.orig/gui/qgs.h src/gui/qgs.h
 src.orig/gui/qgs.h 2022-04-14 02:47:12.0 +0700
-+++ src/gui/qgs.h  2022-12-19 10:21:59.068388958 +0700
-@@ -40,7 +40,7 @@
- #include "gsinc/ierrors.h"
- #else
--#include 
--#include 
--#include 
-+#include 
-+#include 
-+#include 
- 
- #endif
-diff -r -U2 src.orig/makefmt/makefmt.cpp src/makefmt/makefmt.cpp
 src.orig/makefmt/makefmt.cpp   2022-04-14 02:47:12.0 +0700
-+

[gentoo-commits] repo/gentoo:master commit in: sci-visualization/gle/files/, sci-visualization/gle/

2022-12-23 Thread Andrey Grozin
commit: f8a5416a5d7ff63ebc486472f0ee36ad41db0f99
Author: Andrey Grozin  gentoo  org>
AuthorDate: Sat Dec 24 06:20:51 2022 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Sat Dec 24 06:20:51 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8a5416a

sci-visualization/gle: ebuild improvements

Signed-off-by: Andrey Grozin  gentoo.org>

 sci-visualization/gle/Manifest |  1 +
 sci-visualization/gle/files/array.patch| 15 
 sci-visualization/gle/files/cairo-pixman.patch | 21 ++
 sci-visualization/gle/files/ghostscript.patch  | 16 +
 sci-visualization/gle/files/install.patch  | 20 ++
 sci-visualization/gle/files/lic.patch  |  9 +++
 sci-visualization/gle/files/link.patch | 20 ++
 sci-visualization/gle/files/wayland.patch  | 10 +++
 sci-visualization/gle/gle-4.3.3-r3.ebuild  | 94 ++
 9 files changed, 206 insertions(+)

diff --git a/sci-visualization/gle/Manifest b/sci-visualization/gle/Manifest
index 77a35673c733..711e164a9042 100644
--- a/sci-visualization/gle/Manifest
+++ b/sci-visualization/gle/Manifest
@@ -1,4 +1,5 @@
 DIST gle-4.3.3.tar.gz 1788614 BLAKE2B 
3f608a8dad32d02b06808d5b2cfe4a2beb2c076c74e2972be2e94fe56bf24190b9cc7c69f45f1b02d399354f827c43722029871d6355bc0e4abe003f71b2bf82
 SHA512 
191dde025828f3376c7241e0580fcd459c743fe947f69cc3be1345b43c1d2587852a0d002dfdab7d8b7b45fd30e6bf4e8a4b5c73bcc2f3ce2fd08aa41d799b03
+DIST gle-c++17.patch.gz 18738 BLAKE2B 
e0d91aedf2121897336be72d8ad5878be95cf15982b38efb2fda86605d6e0f01b792013a9ab6407692254e5c074630daede05bcf97f349541dd979b21eb2ff15
 SHA512 
3bc4e335577f94eafd140cd64f2ada1926b1679c113de1f0bb0dd1afed67210470340470b19d89dae4ae1ef433f05120332a465711afb4e637e3cf0c6db68ace
 DIST gle-graphics-4.2.5f-src.tar.gz 2330270 BLAKE2B 
46435a2366a278a88786a2dd0e0cbcc48d3ba2fc6d895fb07c81216089a10b2223b2ba692b951ee01a6ab014e84cce9aa3969d063ddf7d04501820aa33084c5c
 SHA512 
d459b24577c9c3f8825c368f864532c97d0a37c94018276a60c941d17dce0e55fe738f7eda3227a47848f2fb32fea1dcec29d9751a5be92cde4d8d38a2eeb0f5
 DIST gle-library.tar.gz 1073620 BLAKE2B 
051f9584dbf3195c7598ae54b12ab8d373e8054e8ff4c3d1dfed70319c29c5cb8bb1f0baff127768bcf9e36e4f52be3b3238e786e1598d1cdfbd6d1af6d6bdd3
 SHA512 
af6a46f2bd945714679eb9d8ca4c70ca9a741cf6652590eb3a8d9422059f49ce3d2c33418c37899bd54f9e0bc0085ae82ffd2f2b84b77879e2f2d09a0026d12a
 DIST gle-manual.pdf.gz 1878050 BLAKE2B 
6ebd3c0214ab8aee3e5a32d1e1cdf1c001cd09325c80a506a1e41f4eb3ec8869b75083c741a5cf8b2f3faf1d2cb0c6cfeca835daa284263598f749109904cc11
 SHA512 
7cc796626fa19541558004250a4a5b206ead7ba704c76fd948693aca144e70926b8213ee8b062841bffedc631eb39a255d69387bbee4a5acc7edc6d093e3113f

diff --git a/sci-visualization/gle/files/array.patch 
b/sci-visualization/gle/files/array.patch
new file mode 100644
index ..54b7676aea88
--- /dev/null
+++ b/sci-visualization/gle/files/array.patch
@@ -0,0 +1,15 @@
+diff -r -U2 src.orig/makefmt/makefmt.cpp src/makefmt/makefmt.cpp
+--- src.orig/makefmt/makefmt.cpp   2022-04-14 02:47:12.0 +0700
 src/makefmt/makefmt.cpp2022-12-18 14:09:54.399896247 +0700
+@@ -115,6 +115,6 @@
+ 
+ int main(int argc, char *argv[]) {
+-  char filename[80];
+-  char fmtname[80];
++  char filename[200];
++  char fmtname[200];
+   init_accents();
+   /* encoding file given? */
+diff -r -U2 src.orig/TeX/CMakeLists.txt src/TeX/CMakeLists.txt
+--- src.orig/TeX/CMakeLists.txt2022-04-14 02:47:12.0 +0700
 src/TeX/CMakeLists.txt 2022-12-20 13:34:00.953502995 +0700

diff --git a/sci-visualization/gle/files/cairo-pixman.patch 
b/sci-visualization/gle/files/cairo-pixman.patch
new file mode 100644
index ..e5b34eb287f9
--- /dev/null
+++ b/sci-visualization/gle/files/cairo-pixman.patch
@@ -0,0 +1,21 @@
+diff -r -U2 src.orig/CMakeLists.txt src/CMakeLists.txt
+--- src.orig/CMakeLists.txt2022-04-14 02:47:12.0 +0700
 src/CMakeLists.txt 2022-12-20 13:03:11.386586253 +0700
+@@ -130,5 +133,5 @@
+   string(COMPARE NOTEQUAL "${CAIRO_LIBRARIES}" "CAIRO_LIBRARIES-NOTFOUND" 
CAIRO_FOUND)
+ endif()
+-find_path(CAIRO_INCLUDE_DIRS cairo.h PATHS ${CAIRO_ROOT} PATH_SUFFIXES 
include REQUIRED)
++find_path(CAIRO_INCLUDE_DIRS cairo.h PATHS ${CAIRO_ROOT} PATH_SUFFIXES 
include include/cairo REQUIRED)
+ if(CAIRO_FOUND)
+   message("-- Found CAIRO: " ${CAIRO_LIBRARIES} )
+@@ -154,8 +157,8 @@
+   endif()
+ else()
+-  find_library(PIXMAN_LIBRARIES NAMES pixman pixmand PATHS ${PIXMAN_ROOT} 
PATH_SUFFIXES lib REQUIRED)
++  find_library(PIXMAN_LIBRARIES NAMES pixman pixmand pixman-1 PATHS 
${PIXMAN_ROOT} PATH_SUFFIXES lib REQUIRED)
+   string(COMPARE NOTEQUAL "${PIXMAN_LIBRARIES}" 
"PIXMAN_LIBRARIES-NOTFOUND" PIXMAN_FOUND)
+ endif()
+-find_path(PIXMAN_INCLUDE_DIRS pixman.h PATHS ${PIXMAN_ROOT} PATH_SUFFIXES 
include REQUIRED)
++find_path(PIXMAN_INCLUDE_DIRS pixman.h PATHS ${PIXMAN_ROOT} PATH_SUFFIXES 
include include/pixm

[gentoo-commits] repo/gentoo:master commit in: sci-visualization/gle/

2022-12-21 Thread Andrey Grozin
commit: 2d563301ccc197bb4927f2fc69326591a6f83303
Author: Andrey Grozin  gentoo  org>
AuthorDate: Thu Dec 22 03:37:28 2022 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Thu Dec 22 03:37:28 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d563301

sci-visualization/gle: remove old

Signed-off-by: Andrey Grozin  gentoo.org>

 sci-visualization/gle/gle-4.3.3-r1.ebuild | 83 ---
 1 file changed, 83 deletions(-)

diff --git a/sci-visualization/gle/gle-4.3.3-r1.ebuild 
b/sci-visualization/gle/gle-4.3.3-r1.ebuild
deleted file mode 100644
index cb4cbd283b80..
--- a/sci-visualization/gle/gle-4.3.3-r1.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake elisp-common
-
-DESCRIPTION="Graphics Layout Engine"
-HOMEPAGE="http://glx.sourceforge.io/ https://github.com/vlabella/GLE/";
-IUSE="doc emacs"
-LIB_VERSION="d476418f006b001dc7f47dcafb413c0557fa44a7"
-SRC_URI="https://github.com/vlabella/GLE/archive/refs/tags/${PV}.tar.gz -> 
${P}.tar.gz
-   https://github.com/vlabella/gle-library/archive/${LIB_VERSION}.tar.gz 
-> ${PN}-library.tar.gz
-   doc? ( https://dev.gentoo.org/~grozin/gle-manual.pdf.gz )
-   emacs? ( https://dev.gentoo.org/~grozin/gle-mode.el.gz )"
-S="${WORKDIR}"/GLE-${PV}/src
-
-LICENSE="BSD GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64"
-
-DEPEND="app-text/ghostscript-gpl
-   dev-libs/boost
-   dev-qt/qtcore:5
-   dev-qt/qtdbus:5
-   dev-qt/qtgui:5
-   dev-qt/qtnetwork:5
-   dev-qt/qtopengl:5
-   dev-qt/qtwidgets:5
-   media-libs/glu
-   media-libs/libpng
-   media-libs/tiff
-   sys-libs/zlib
-   media-libs/libjpeg-turbo
-   x11-libs/cairo
-   x11-libs/pixman
-   emacs? ( app-editors/emacs:* )"
-RDEPEND="${DEPEND}
-   virtual/latex-base"
-
-PATCHES=( "${FILESDIR}"/${P}.patch )
-SITEFILE="64${PN}-gentoo.el"
-
-src_configure() {
-   local mycmakeargs=(
-   
-DGLE_EXAMPLES_LIBRARY_PATH="${WORKDIR}"/gle-library-${LIB_VERSION}
-   )
-   cmake_src_configure
-}
-
-src_compile() {
-   cmake_src_compile
-   use emacs && elisp-compile "${WORKDIR}"/*.el
-}
-
-src_install() {
-   pushd "${WORKDIR}"/${P}_build > /dev/null || die "pushd failed"
-   newbin gle/gle gle.bin
-   dobin gui/qgle
-   insinto /usr/share/${PN}
-   doins gle/glerc
-   doins -r gle/font
-   popd > /dev/null
-   newbin "${FILESDIR}"/gle.sh gle
-   dodoc ../doc/README.txt ../doc/ChangeLog.txt
-   doins TeX/init.tex
-   mv "${WORKDIR}"/gle-library-${LIB_VERSION}/include 
"${WORKDIR}"/gle-library-${LIB_VERSION}/gleinc || die "mv failed"
-   doins -r "${WORKDIR}"/gle-library-${LIB_VERSION}/gleinc
-   GLE_TOP="${D}"/usr/share/${PN} "${D}"/usr/bin/gle.bin -mkinittex
-   use doc && dodoc "${WORKDIR}"/*.pdf
-   if use emacs; then
-   elisp-install ${PN} "${WORKDIR}"/*.el "${WORKDIR}"/*.elc
-   elisp-site-file-install "${FILESDIR}/${SITEFILE}"
-   fi
-}
-
-pkg_postinst() {
-   use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
-   use emacs && elisp-site-regen
-}



[gentoo-commits] repo/gentoo:master commit in: sci-visualization/gle/

2022-12-21 Thread Andrey Grozin
commit: 9fe9e639c1b65d8947ec0dea62e9531131d90fa5
Author: Andrey Grozin  gentoo  org>
AuthorDate: Thu Dec 22 03:36:02 2022 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Thu Dec 22 03:36:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fe9e639

sci-visualization/gle: DEPEND on media-libs/freeglut

Closes: https://bugs.gentoo.org/887741
Signed-off-by: Andrey Grozin  gentoo.org>

 sci-visualization/gle/gle-4.3.3-r2.ebuild | 84 +++
 1 file changed, 84 insertions(+)

diff --git a/sci-visualization/gle/gle-4.3.3-r2.ebuild 
b/sci-visualization/gle/gle-4.3.3-r2.ebuild
new file mode 100644
index ..63f5cc0125d8
--- /dev/null
+++ b/sci-visualization/gle/gle-4.3.3-r2.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake elisp-common
+
+DESCRIPTION="Graphics Layout Engine"
+HOMEPAGE="http://glx.sourceforge.io/ https://github.com/vlabella/GLE/";
+IUSE="doc emacs"
+LIB_VERSION="d476418f006b001dc7f47dcafb413c0557fa44a7"
+SRC_URI="https://github.com/vlabella/GLE/archive/refs/tags/${PV}.tar.gz -> 
${P}.tar.gz
+   https://github.com/vlabella/gle-library/archive/${LIB_VERSION}.tar.gz 
-> ${PN}-library.tar.gz
+   doc? ( https://dev.gentoo.org/~grozin/gle-manual.pdf.gz )
+   emacs? ( https://dev.gentoo.org/~grozin/gle-mode.el.gz )"
+S="${WORKDIR}"/GLE-${PV}/src
+
+LICENSE="BSD GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="app-text/ghostscript-gpl
+   dev-libs/boost
+   dev-qt/qtcore:5
+   dev-qt/qtdbus:5
+   dev-qt/qtgui:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtopengl:5
+   dev-qt/qtwidgets:5
+   media-libs/freeglut
+   media-libs/glu
+   media-libs/libpng
+   media-libs/tiff
+   sys-libs/zlib
+   media-libs/libjpeg-turbo
+   x11-libs/cairo
+   x11-libs/pixman
+   emacs? ( app-editors/emacs:* )"
+RDEPEND="${DEPEND}
+   virtual/latex-base"
+
+PATCHES=( "${FILESDIR}"/${P}.patch )
+SITEFILE="64${PN}-gentoo.el"
+
+src_configure() {
+   local mycmakeargs=(
+   
-DGLE_EXAMPLES_LIBRARY_PATH="${WORKDIR}"/gle-library-${LIB_VERSION}
+   )
+   cmake_src_configure
+}
+
+src_compile() {
+   cmake_src_compile
+   use emacs && elisp-compile "${WORKDIR}"/*.el
+}
+
+src_install() {
+   pushd "${WORKDIR}"/${P}_build > /dev/null || die "pushd failed"
+   newbin gle/gle gle.bin
+   dobin gui/qgle
+   insinto /usr/share/${PN}
+   doins gle/glerc
+   doins -r gle/font
+   popd > /dev/null
+   newbin "${FILESDIR}"/gle.sh gle
+   dodoc ../doc/README.txt ../doc/ChangeLog.txt
+   doins TeX/init.tex
+   mv "${WORKDIR}"/gle-library-${LIB_VERSION}/include 
"${WORKDIR}"/gle-library-${LIB_VERSION}/gleinc || die "mv failed"
+   doins -r "${WORKDIR}"/gle-library-${LIB_VERSION}/gleinc
+   GLE_TOP="${D}"/usr/share/${PN} "${D}"/usr/bin/gle.bin -mkinittex
+   use doc && dodoc "${WORKDIR}"/*.pdf
+   if use emacs; then
+   elisp-install ${PN} "${WORKDIR}"/*.el "${WORKDIR}"/*.elc
+   elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+   fi
+}
+
+pkg_postinst() {
+   use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+   use emacs && elisp-site-regen
+}



[gentoo-commits] repo/gentoo:master commit in: sci-visualization/gle/

2022-12-21 Thread Andrey Grozin
commit: 8a98a5a67a6dc5a793123e92a32c85880d4a7bf1
Author: Andrey Grozin  gentoo  org>
AuthorDate: Wed Dec 21 16:46:10 2022 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Wed Dec 21 16:46:10 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a98a5a6

sci-visualization/gle: drop old

Signed-off-by: Andrey Grozin  gentoo.org>

 sci-visualization/gle/gle-4.3.3.ebuild | 82 --
 1 file changed, 82 deletions(-)

diff --git a/sci-visualization/gle/gle-4.3.3.ebuild 
b/sci-visualization/gle/gle-4.3.3.ebuild
deleted file mode 100644
index cb055d4ec0fb..
--- a/sci-visualization/gle/gle-4.3.3.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake elisp-common
-
-DESCRIPTION="Graphics Layout Engine"
-HOMEPAGE="http://glx.sourceforge.io/ https://github.com/vlabella/GLE/";
-IUSE="doc emacs"
-LIB_VERSION="d476418f006b001dc7f47dcafb413c0557fa44a7"
-SRC_URI="https://github.com/vlabella/GLE/archive/refs/tags/${PV}.tar.gz -> 
${P}.tar.gz
-   https://github.com/vlabella/gle-library/archive/${LIB_VERSION}.tar.gz 
-> ${PN}-library.tar.gz
-   doc? ( https://dev.gentoo.org/~grozin/gle-manual.pdf.gz )
-   emacs? ( https://dev.gentoo.org/~grozin/gle-mode.el.gz )"
-S="${WORKDIR}"/GLE-${PV}/src
-
-LICENSE="BSD GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64"
-
-DEPEND="app-text/ghostscript-gpl
-   dev-libs/boost
-   dev-qt/qtcore:5
-   dev-qt/qtdbus:5
-   dev-qt/qtgui:5
-   dev-qt/qtnetwork:5
-   dev-qt/qtopengl:5
-   dev-qt/qtwidgets:5
-   media-libs/libpng
-   media-libs/tiff
-   sys-libs/zlib
-   media-libs/libjpeg-turbo
-   x11-libs/cairo
-   x11-libs/pixman
-   emacs? ( app-editors/emacs:* )"
-RDEPEND="${DEPEND}
-   virtual/latex-base"
-
-PATCHES=( "${FILESDIR}"/${P}.patch )
-SITEFILE="64${PN}-gentoo.el"
-
-src_configure() {
-   local mycmakeargs=(
-   
-DGLE_EXAMPLES_LIBRARY_PATH="${WORKDIR}"/gle-library-${LIB_VERSION}
-   )
-   cmake_src_configure
-}
-
-src_compile() {
-   cmake_src_compile
-   use emacs && elisp-compile "${WORKDIR}"/*.el
-}
-
-src_install() {
-   pushd "${WORKDIR}"/${P}_build > /dev/null || die "pushd failed"
-   newbin gle/gle gle.bin
-   dobin gui/qgle
-   insinto /usr/share/${PN}
-   doins gle/glerc
-   doins -r gle/font
-   popd > /dev/null
-   newbin "${FILESDIR}"/gle.sh gle
-   dodoc ../doc/README.txt ../doc/ChangeLog.txt
-   doins TeX/init.tex
-   mv "${WORKDIR}"/gle-library-${LIB_VERSION}/include 
"${WORKDIR}"/gle-library-${LIB_VERSION}/gleinc || die "mv failed"
-   doins -r "${WORKDIR}"/gle-library-${LIB_VERSION}/gleinc
-   GLE_TOP="${D}"/usr/share/${PN} "${D}"/usr/bin/gle.bin -mkinittex
-   use doc && dodoc "${WORKDIR}"/*.pdf
-   if use emacs; then
-   elisp-install ${PN} "${WORKDIR}"/*.el "${WORKDIR}"/*.elc
-   elisp-site-file-install "${FILESDIR}/${SITEFILE}"
-   fi
-}
-
-pkg_postinst() {
-   use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
-   use emacs && elisp-site-regen
-}



[gentoo-commits] repo/gentoo:master commit in: sci-visualization/gle/

2022-12-21 Thread Andrey Grozin
commit: ca57df6a85cf284187ca5919f131430b83dcb3d0
Author: Andrey Grozin  gentoo  org>
AuthorDate: Wed Dec 21 16:44:22 2022 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Wed Dec 21 16:44:22 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca57df6a

sci-visualization/gle: DEPEND on media/libs/glu

Closes: https://bugs.gentoo.org/887737
Signed-off-by: Andrey Grozin  gentoo.org>

 sci-visualization/gle/gle-4.3.3-r1.ebuild | 83 +++
 1 file changed, 83 insertions(+)

diff --git a/sci-visualization/gle/gle-4.3.3-r1.ebuild 
b/sci-visualization/gle/gle-4.3.3-r1.ebuild
new file mode 100644
index ..cb4cbd283b80
--- /dev/null
+++ b/sci-visualization/gle/gle-4.3.3-r1.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake elisp-common
+
+DESCRIPTION="Graphics Layout Engine"
+HOMEPAGE="http://glx.sourceforge.io/ https://github.com/vlabella/GLE/";
+IUSE="doc emacs"
+LIB_VERSION="d476418f006b001dc7f47dcafb413c0557fa44a7"
+SRC_URI="https://github.com/vlabella/GLE/archive/refs/tags/${PV}.tar.gz -> 
${P}.tar.gz
+   https://github.com/vlabella/gle-library/archive/${LIB_VERSION}.tar.gz 
-> ${PN}-library.tar.gz
+   doc? ( https://dev.gentoo.org/~grozin/gle-manual.pdf.gz )
+   emacs? ( https://dev.gentoo.org/~grozin/gle-mode.el.gz )"
+S="${WORKDIR}"/GLE-${PV}/src
+
+LICENSE="BSD GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="app-text/ghostscript-gpl
+   dev-libs/boost
+   dev-qt/qtcore:5
+   dev-qt/qtdbus:5
+   dev-qt/qtgui:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtopengl:5
+   dev-qt/qtwidgets:5
+   media-libs/glu
+   media-libs/libpng
+   media-libs/tiff
+   sys-libs/zlib
+   media-libs/libjpeg-turbo
+   x11-libs/cairo
+   x11-libs/pixman
+   emacs? ( app-editors/emacs:* )"
+RDEPEND="${DEPEND}
+   virtual/latex-base"
+
+PATCHES=( "${FILESDIR}"/${P}.patch )
+SITEFILE="64${PN}-gentoo.el"
+
+src_configure() {
+   local mycmakeargs=(
+   
-DGLE_EXAMPLES_LIBRARY_PATH="${WORKDIR}"/gle-library-${LIB_VERSION}
+   )
+   cmake_src_configure
+}
+
+src_compile() {
+   cmake_src_compile
+   use emacs && elisp-compile "${WORKDIR}"/*.el
+}
+
+src_install() {
+   pushd "${WORKDIR}"/${P}_build > /dev/null || die "pushd failed"
+   newbin gle/gle gle.bin
+   dobin gui/qgle
+   insinto /usr/share/${PN}
+   doins gle/glerc
+   doins -r gle/font
+   popd > /dev/null
+   newbin "${FILESDIR}"/gle.sh gle
+   dodoc ../doc/README.txt ../doc/ChangeLog.txt
+   doins TeX/init.tex
+   mv "${WORKDIR}"/gle-library-${LIB_VERSION}/include 
"${WORKDIR}"/gle-library-${LIB_VERSION}/gleinc || die "mv failed"
+   doins -r "${WORKDIR}"/gle-library-${LIB_VERSION}/gleinc
+   GLE_TOP="${D}"/usr/share/${PN} "${D}"/usr/bin/gle.bin -mkinittex
+   use doc && dodoc "${WORKDIR}"/*.pdf
+   if use emacs; then
+   elisp-install ${PN} "${WORKDIR}"/*.el "${WORKDIR}"/*.elc
+   elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+   fi
+}
+
+pkg_postinst() {
+   use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+   use emacs && elisp-site-regen
+}



[gentoo-commits] repo/gentoo:master commit in: sci-visualization/gle/files/, sci-visualization/gle/

2022-12-21 Thread Andrey Grozin
commit: 6891faa4a5d8e70e28fc7faca054921acc2dd99e
Author: Andrey Grozin  gentoo  org>
AuthorDate: Wed Dec 21 16:00:41 2022 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Wed Dec 21 16:01:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6891faa4

sci-visualization/gle: bump to 4.3.3

Signed-off-by: Andrey Grozin  gentoo.org>

 sci-visualization/gle/Manifest  |   4 +
 sci-visualization/gle/files/64gle-gentoo.el |   2 +-
 sci-visualization/gle/files/gle-4.3.3.patch | 134 
 sci-visualization/gle/files/gle.sh  |   3 +
 sci-visualization/gle/gle-4.3.3.ebuild  |  82 +
 5 files changed, 224 insertions(+), 1 deletion(-)

diff --git a/sci-visualization/gle/Manifest b/sci-visualization/gle/Manifest
index e76fdeeb715c..77a35673c733 100644
--- a/sci-visualization/gle/Manifest
+++ b/sci-visualization/gle/Manifest
@@ -1 +1,5 @@
+DIST gle-4.3.3.tar.gz 1788614 BLAKE2B 
3f608a8dad32d02b06808d5b2cfe4a2beb2c076c74e2972be2e94fe56bf24190b9cc7c69f45f1b02d399354f827c43722029871d6355bc0e4abe003f71b2bf82
 SHA512 
191dde025828f3376c7241e0580fcd459c743fe947f69cc3be1345b43c1d2587852a0d002dfdab7d8b7b45fd30e6bf4e8a4b5c73bcc2f3ce2fd08aa41d799b03
 DIST gle-graphics-4.2.5f-src.tar.gz 2330270 BLAKE2B 
46435a2366a278a88786a2dd0e0cbcc48d3ba2fc6d895fb07c81216089a10b2223b2ba692b951ee01a6ab014e84cce9aa3969d063ddf7d04501820aa33084c5c
 SHA512 
d459b24577c9c3f8825c368f864532c97d0a37c94018276a60c941d17dce0e55fe738f7eda3227a47848f2fb32fea1dcec29d9751a5be92cde4d8d38a2eeb0f5
+DIST gle-library.tar.gz 1073620 BLAKE2B 
051f9584dbf3195c7598ae54b12ab8d373e8054e8ff4c3d1dfed70319c29c5cb8bb1f0baff127768bcf9e36e4f52be3b3238e786e1598d1cdfbd6d1af6d6bdd3
 SHA512 
af6a46f2bd945714679eb9d8ca4c70ca9a741cf6652590eb3a8d9422059f49ce3d2c33418c37899bd54f9e0bc0085ae82ffd2f2b84b77879e2f2d09a0026d12a
+DIST gle-manual.pdf.gz 1878050 BLAKE2B 
6ebd3c0214ab8aee3e5a32d1e1cdf1c001cd09325c80a506a1e41f4eb3ec8869b75083c741a5cf8b2f3faf1d2cb0c6cfeca835daa284263598f749109904cc11
 SHA512 
7cc796626fa19541558004250a4a5b206ead7ba704c76fd948693aca144e70926b8213ee8b062841bffedc631eb39a255d69387bbee4a5acc7edc6d093e3113f
+DIST gle-mode.el.gz 7359 BLAKE2B 
bcbc61651f87f3ee1d079fc0a0de38788523a5ee33f56087b89f4e15b9ef5ee4010cf47679c38da3dfae1954ddbfee4728d10c0af6530f645ff63ab2b219da09
 SHA512 
c8d291c23f53346d8a44b7d95d737da88c6ec0af597fb8298a564a5567a9e9a0db658d14c3cb43157d58614e65cf2293eaeb01528a7a49722a2da07e16f940e1

diff --git a/sci-visualization/gle/files/64gle-gentoo.el 
b/sci-visualization/gle/files/64gle-gentoo.el
index 841503ba6eec..6c60d91fd302 100644
--- a/sci-visualization/gle/files/64gle-gentoo.el
+++ b/sci-visualization/gle/files/64gle-gentoo.el
@@ -2,5 +2,5 @@
 ;;; gle site-lisp configuration
 
 (add-to-list 'load-path "@SITELISP@")
-(autoload 'gle-mode "gle-mode")
 (add-to-list 'auto-mode-alist '("\\.gle\\'" . gle-mode))
+(autoload 'gle-mode "gle-mode" "Major mode for gle files." t)

diff --git a/sci-visualization/gle/files/gle-4.3.3.patch 
b/sci-visualization/gle/files/gle-4.3.3.patch
new file mode 100644
index ..22dc0b160605
--- /dev/null
+++ b/sci-visualization/gle/files/gle-4.3.3.patch
@@ -0,0 +1,134 @@
+diff -r -U2 src.orig/CMakeLists.txt src/CMakeLists.txt
+--- src.orig/CMakeLists.txt2022-04-14 02:47:12.0 +0700
 src/CMakeLists.txt 2022-12-20 13:03:11.386586253 +0700
+@@ -9,4 +9,7 @@
+ project (gle VERSION 4.3.3)
+ 
++set(CMAKE_CXX_STANDARD 14)
++set(CMAKE_CXX_STANDARD_REQUIRED ON)
++
+ add_compile_definitions(GLEVN="${PROJECT_VERSION}")
+ set( CMAKE_DEBUG_POSTFIX  "d")
+@@ -130,5 +133,5 @@
+   string(COMPARE NOTEQUAL "${CAIRO_LIBRARIES}" "CAIRO_LIBRARIES-NOTFOUND" 
CAIRO_FOUND)
+ endif()
+-find_path(CAIRO_INCLUDE_DIRS cairo.h PATHS ${CAIRO_ROOT} PATH_SUFFIXES 
include REQUIRED)
++find_path(CAIRO_INCLUDE_DIRS cairo.h PATHS ${CAIRO_ROOT} PATH_SUFFIXES 
include include/cairo REQUIRED)
+ if(CAIRO_FOUND)
+   message("-- Found CAIRO: " ${CAIRO_LIBRARIES} )
+@@ -154,8 +157,8 @@
+   endif()
+ else()
+-  find_library(PIXMAN_LIBRARIES NAMES pixman pixmand PATHS ${PIXMAN_ROOT} 
PATH_SUFFIXES lib REQUIRED)
++  find_library(PIXMAN_LIBRARIES NAMES pixman pixmand pixman-1 PATHS 
${PIXMAN_ROOT} PATH_SUFFIXES lib lib64 REQUIRED)
+   string(COMPARE NOTEQUAL "${PIXMAN_LIBRARIES}" 
"PIXMAN_LIBRARIES-NOTFOUND" PIXMAN_FOUND)
+ endif()
+-find_path(PIXMAN_INCLUDE_DIRS pixman.h PATHS ${PIXMAN_ROOT} PATH_SUFFIXES 
include REQUIRED)
++find_path(PIXMAN_INCLUDE_DIRS pixman.h PATHS ${PIXMAN_ROOT} PATH_SUFFIXES 
include include/pixman-1 REQUIRED)
+ if(PIXMAN_FOUND)
+   message("-- Found PIXMAN: " ${PIXMAN_LIBRARIES} )
+@@ -164,9 +167,9 @@
+ # -- GHOSTscript or GHOSTPDL include directory only since gle links to 
installed version at runtime
+ #
+-find_path(GDIR1 iapi.h PATHS ${GHOSTPDL_ROOT} PATH_SUFFIXES psi base devices )
++find_path(GDIR1 iapi.h PATHS ${GHOSTPDL_ROOT} PATH_SUFFIXES psi base devices 
ghostscript )
+ list(APPEND GHOSTP

[gentoo-commits] repo/gentoo:master commit in: sci-visualization/gle/

2022-12-15 Thread Sam James
commit: 529fe76cc0c6381051100c4740e54a34ced3d0e4
Author: Sam James  gentoo  org>
AuthorDate: Fri Dec 16 01:32:10 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Dec 16 01:38:50 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=529fe76c

sci-visualization/gle: add media-libs/libtiff subslot dep

libtiff changed SONAME.

Signed-off-by: Sam James  gentoo.org>

 sci-visualization/gle/{gle-4.2.5-r2.ebuild => gle-4.2.5-r4.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-visualization/gle/gle-4.2.5-r2.ebuild 
b/sci-visualization/gle/gle-4.2.5-r4.ebuild
similarity index 98%
rename from sci-visualization/gle/gle-4.2.5-r2.ebuild
rename to sci-visualization/gle/gle-4.2.5-r4.ebuild
index 4b5b8440b544..88e3c6d80dd6 100644
--- a/sci-visualization/gle/gle-4.2.5-r2.ebuild
+++ b/sci-visualization/gle/gle-4.2.5-r4.ebuild
@@ -20,7 +20,7 @@ IUSE="doc emacs jpeg png tiff vim-syntax X"
 DEPEND="
sys-libs/ncurses:=
emacs? ( >=app-editors/emacs-23.1:* )
-   jpeg? ( virtual/jpeg:0 )
+   jpeg? ( media-libs/libjpeg-turbo:= )
png? ( media-libs/libpng:= )
tiff? ( media-libs/tiff:= )
X? ( x11-libs/libX11 )"



[gentoo-commits] repo/gentoo:master commit in: sci-visualization/gle/

2022-11-19 Thread Andrew Ammerlaan
commit: cd8be2a0b00a2a6184273e7936edb5fdd55c6bda
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Sat Nov 19 09:21:35 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sat Nov 19 11:39:41 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd8be2a0

sci-visualization/gle: use HTTPS

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/28335
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 sci-visualization/gle/gle-4.2.5-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-visualization/gle/gle-4.2.5-r2.ebuild 
b/sci-visualization/gle/gle-4.2.5-r2.ebuild
index 185bd857cbb2..4b5b8440b544 100644
--- a/sci-visualization/gle/gle-4.2.5-r2.ebuild
+++ b/sci-visualization/gle/gle-4.2.5-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -8,7 +8,7 @@ inherit autotools elisp-common flag-o-matic
 MY_P=${PN}-graphics-${PV}
 
 DESCRIPTION="Graphics Layout Engine"
-HOMEPAGE="http://glx.sourceforge.net/";
+HOMEPAGE="https://glx.sourceforge.net";
 SRC_URI="mirror://sourceforge/glx/${MY_P}f-src.tar.gz"
 S="${WORKDIR}/${MY_P}"
 



[gentoo-commits] repo/gentoo:master commit in: sci-visualization/gle/

2022-08-03 Thread Sam James
commit: 0ff59588bcd61765035baa8b1e06b8bdfa9fa97f
Author: Sam James  gentoo  org>
AuthorDate: Wed Aug  3 23:49:24 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Aug  3 23:49:24 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ff59588

sci-visualization/gle: fix metadata typo

Signed-off-by: Sam James  gentoo.org>

 sci-visualization/gle/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-visualization/gle/metadata.xml 
b/sci-visualization/gle/metadata.xml
index 8de898d2b1f0..436234231cdc 100644
--- a/sci-visualization/gle/metadata.xml
+++ b/sci-visualization/gle/metadata.xml
@@ -16,7 +16,7 @@
diagrams, posters and slides.


-   vlabella/gle
+   vlabella/gle
glx

 



[gentoo-commits] repo/gentoo:master commit in: sci-visualization/gle/

2022-08-03 Thread Sam James
commit: e8e6fa022bee38a90883913a20b678ca099fa0e1
Author: Sam James  gentoo  org>
AuthorDate: Wed Aug  3 23:43:18 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Aug  3 23:43:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8e6fa02

sci-visualization/gle: drop to maintainer-needed

Signed-off-by: Sam James  gentoo.org>

 sci-visualization/gle/metadata.xml | 35 ++-
 1 file changed, 18 insertions(+), 17 deletions(-)

diff --git a/sci-visualization/gle/metadata.xml 
b/sci-visualization/gle/metadata.xml
index 2656ea147980..8de898d2b1f0 100644
--- a/sci-visualization/gle/metadata.xml
+++ b/sci-visualization/gle/metadata.xml
@@ -1,21 +1,22 @@
 
 https://www.gentoo.org/dtd/metadata.dtd";>
 
-  
-gro...@gentoo.org
-Andrey Grozin
-  
-  
-s...@gentoo.org
-Gentoo Science Project
-  
-  
-  GLE (Graphics Layout Engine) is a high-quality graphics package for
-  scientists, combining a user-friendly scripting language with a full
-  range of facilities for producing publication-quality graphs,
-  diagrams, posters and slides.
-
-  
-glx
-  
+   
+   gro...@gentoo.org
+   Andrey Grozin
+   
+   
+   s...@gentoo.org
+   Gentoo Science Project
+   
+   
+   GLE (Graphics Layout Engine) is a high-quality graphics package for
+   scientists, combining a user-friendly scripting language with a full
+   range of facilities for producing publication-quality graphs,
+   diagrams, posters and slides.
+   
+   
+   vlabella/gle
+   glx
+   
 



[gentoo-commits] repo/gentoo:master commit in: sci-visualization/gle/

2021-05-25 Thread Andrey Grozin
commit: c763bb6b827d535854910a555141577fb1e41f67
Author: Andrey Grozin  gentoo  org>
AuthorDate: Wed May 26 03:50:51 2021 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Wed May 26 03:50:51 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c763bb6b

Revert "sci-visualization/gle: ebuild improvement"

This reverts commit d98b29b602c9ba51f5bf18b2a1af5cfe6279d820.

Signed-off-by: Andrey Grozin  gentoo.org>

 sci-visualization/gle/gle-4.2.5-r2.ebuild | 60 ---
 1 file changed, 31 insertions(+), 29 deletions(-)

diff --git a/sci-visualization/gle/gle-4.2.5-r2.ebuild 
b/sci-visualization/gle/gle-4.2.5-r2.ebuild
index e1aca59e92a..185bd857cbb 100644
--- a/sci-visualization/gle/gle-4.2.5-r2.ebuild
+++ b/sci-visualization/gle/gle-4.2.5-r2.ebuild
@@ -1,34 +1,39 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
-inherit elisp-common flag-o-matic autotools
+EAPI=7
+
+inherit autotools elisp-common flag-o-matic
+
+MY_P=${PN}-graphics-${PV}
 
 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"
-SLOT="0"
+S="${WORKDIR}/${MY_P}"
+
 LICENSE="BSD-2 emacs? ( GPL-2 )"
-IUSE="X jpeg png tiff doc emacs vim-syntax"
+SLOT="0"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc emacs jpeg png tiff vim-syntax X"
 
 DEPEND="
-   sys-libs/ncurses:0=
-   X? ( x11-libs/libX11 )
+   sys-libs/ncurses:=
+   emacs? ( >=app-editors/emacs-23.1:* )
jpeg? ( virtual/jpeg:0 )
-   png? ( media-libs/libpng:0= )
-   tiff? ( media-libs/tiff:0 )
-   doc? ( dev-texlive/texlive-latexextra )
-   emacs? ( >=app-editors/emacs-23.1:* )"
-
+   png? ( media-libs/libpng:= )
+   tiff? ( media-libs/tiff:= )
+   X? ( x11-libs/libX11 )"
 RDEPEND="${DEPEND}
app-text/ghostscript-gpl
virtual/latex-base
-   vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
-
-S="${WORKDIR}"/${MY_P}
+   vim-syntax? (
+   || (
+   app-editors/vim
+   app-editors/gvim
+   )
+   )"
+BDEPEND="doc? ( dev-texlive/texlive-latexextra )"
 
 PATCHES=(
"${FILESDIR}"/${P}-parallel.patch
@@ -58,35 +63,32 @@ src_configure() {
 
 src_compile() {
emake
-   if use doc; then
-   emake -j1 doc
-   fi
+   use doc && emake -j1 doc
+
if use emacs; then
-   cd contrib/editors/highlighting
-   mv ${PN}-emacs.el ${PN}-mode.el
-   elisp-compile ${PN}-mode.el || die
+   cd contrib/editors/highlighting || die
+   mv ${PN}-emacs.el ${PN}-mode.el || die
+   elisp-compile ${PN}-mode.el
fi
 }
 
 src_install() {
# -jN failed to install some data files
emake -j1 DESTDIR="${D}" install
-   rm -rf "${ED}"/usr/share/doc/gle-graphics
+   rm -rf "${ED}"/usr/share/doc/gle-graphics || die
dodoc README.txt
 
-   if use doc; then
-   dodoc build/doc/gle-manual.pdf
-   fi
+   use doc && dodoc build/doc/gle-manual.pdf
 
if use emacs; then
-   elisp-install ${PN} 
contrib/editors/highlighting/gle-mode.{el,elc} || die
-   elisp-site-file-install "${FILESDIR}"/64gle-gentoo.el || die
+   elisp-install ${PN} 
contrib/editors/highlighting/gle-mode.{el,elc}
+   elisp-site-file-install "${FILESDIR}"/64gle-gentoo.el
fi
 
if use vim-syntax ; then
dodir /usr/share/vim/vimfiles/{ftplugins,indent,syntax}
cd contrib/editors/highlighting/vim || die
-   chmod 644 ftplugin/* indent/* syntax/*
+   chmod 644 ftplugin/* indent/* syntax/* || die
insinto /usr/share/vim/vimfiles
doins -r ftplugin indent syntax
fi



[gentoo-commits] repo/gentoo:master commit in: sci-visualization/gle/

2021-05-25 Thread Andrey Grozin
commit: d98b29b602c9ba51f5bf18b2a1af5cfe6279d820
Author: Andrey Grozin  gentoo  org>
AuthorDate: Wed May 26 03:27:12 2021 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Wed May 26 03:27:12 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d98b29b6

sci-visualization/gle: ebuild improvement

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andrey Grozin  gentoo.org>

 sci-visualization/gle/gle-4.2.5-r2.ebuild | 60 +++
 1 file changed, 29 insertions(+), 31 deletions(-)

diff --git a/sci-visualization/gle/gle-4.2.5-r2.ebuild 
b/sci-visualization/gle/gle-4.2.5-r2.ebuild
index 185bd857cbb..e1aca59e92a 100644
--- a/sci-visualization/gle/gle-4.2.5-r2.ebuild
+++ b/sci-visualization/gle/gle-4.2.5-r2.ebuild
@@ -1,39 +1,34 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
-
-inherit autotools elisp-common flag-o-matic
-
-MY_P=${PN}-graphics-${PV}
+EAPI=6
+inherit elisp-common 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"
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="BSD-2 emacs? ( GPL-2 )"
 SLOT="0"
+LICENSE="BSD-2 emacs? ( GPL-2 )"
+IUSE="X jpeg png tiff doc emacs vim-syntax"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc emacs jpeg png tiff vim-syntax X"
 
 DEPEND="
-   sys-libs/ncurses:=
-   emacs? ( >=app-editors/emacs-23.1:* )
+   sys-libs/ncurses:0=
+   X? ( x11-libs/libX11 )
jpeg? ( virtual/jpeg:0 )
-   png? ( media-libs/libpng:= )
-   tiff? ( media-libs/tiff:= )
-   X? ( x11-libs/libX11 )"
+   png? ( media-libs/libpng:0= )
+   tiff? ( media-libs/tiff:0 )
+   doc? ( dev-texlive/texlive-latexextra )
+   emacs? ( >=app-editors/emacs-23.1:* )"
+
 RDEPEND="${DEPEND}
app-text/ghostscript-gpl
virtual/latex-base
-   vim-syntax? (
-   || (
-   app-editors/vim
-   app-editors/gvim
-   )
-   )"
-BDEPEND="doc? ( dev-texlive/texlive-latexextra )"
+   vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
+
+S="${WORKDIR}"/${MY_P}
 
 PATCHES=(
"${FILESDIR}"/${P}-parallel.patch
@@ -63,32 +58,35 @@ src_configure() {
 
 src_compile() {
emake
-   use doc && emake -j1 doc
-
+   if use doc; then
+   emake -j1 doc
+   fi
if use emacs; then
-   cd contrib/editors/highlighting || die
-   mv ${PN}-emacs.el ${PN}-mode.el || die
-   elisp-compile ${PN}-mode.el
+   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
-   rm -rf "${ED}"/usr/share/doc/gle-graphics || die
+   rm -rf "${ED}"/usr/share/doc/gle-graphics
dodoc README.txt
 
-   use doc && dodoc build/doc/gle-manual.pdf
+   if use doc; then
+   dodoc build/doc/gle-manual.pdf
+   fi
 
if use emacs; then
-   elisp-install ${PN} 
contrib/editors/highlighting/gle-mode.{el,elc}
-   elisp-site-file-install "${FILESDIR}"/64gle-gentoo.el
+   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,indent,syntax}
cd contrib/editors/highlighting/vim || die
-   chmod 644 ftplugin/* indent/* syntax/* || die
+   chmod 644 ftplugin/* indent/* syntax/*
insinto /usr/share/vim/vimfiles
doins -r ftplugin indent syntax
fi



[gentoo-commits] repo/gentoo:master commit in: sci-visualization/gle/

2021-05-25 Thread David Seifert
commit: 4ac43a527d53faebcbc76a88dfc1fde1b40d1e80
Author: David Seifert  gentoo  org>
AuthorDate: Tue May 25 14:54:56 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Tue May 25 14:54:56 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ac43a52

sci-visualization/gle: [QA] Major cleanup

Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: David Seifert  gentoo.org>

 sci-visualization/gle/gle-4.2.5-r2.ebuild | 61 ---
 1 file changed, 31 insertions(+), 30 deletions(-)

diff --git a/sci-visualization/gle/gle-4.2.5-r2.ebuild 
b/sci-visualization/gle/gle-4.2.5-r2.ebuild
index ff7853dd3b7..185bd857cbb 100644
--- a/sci-visualization/gle/gle-4.2.5-r2.ebuild
+++ b/sci-visualization/gle/gle-4.2.5-r2.ebuild
@@ -1,34 +1,39 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
-inherit elisp-common flag-o-matic autotools
+EAPI=7
+
+inherit autotools elisp-common flag-o-matic
+
+MY_P=${PN}-graphics-${PV}
 
 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"
-SLOT="0"
+S="${WORKDIR}/${MY_P}"
+
 LICENSE="BSD-2 emacs? ( GPL-2 )"
-IUSE="X jpeg png tiff doc emacs vim-syntax"
+SLOT="0"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc emacs jpeg png tiff vim-syntax X"
 
 DEPEND="
-   sys-libs/ncurses:0=
-   X? ( x11-libs/libX11 )
+   sys-libs/ncurses:=
+   emacs? ( >=app-editors/emacs-23.1:* )
jpeg? ( virtual/jpeg:0 )
-   png? ( media-libs/libpng:0= )
-   tiff? ( media-libs/tiff:0 )
-   doc? ( dev-texlive/texlive-latexextra )
-   emacs? ( >=app-editors/emacs-23.1:* )"
-
+   png? ( media-libs/libpng:= )
+   tiff? ( media-libs/tiff:= )
+   X? ( x11-libs/libX11 )"
 RDEPEND="${DEPEND}
app-text/ghostscript-gpl
virtual/latex-base
-   vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
-
-S="${WORKDIR}"/${MY_P}
+   vim-syntax? (
+   || (
+   app-editors/vim
+   app-editors/gvim
+   )
+   )"
+BDEPEND="doc? ( dev-texlive/texlive-latexextra )"
 
 PATCHES=(
"${FILESDIR}"/${P}-parallel.patch
@@ -58,36 +63,32 @@ src_configure() {
 
 src_compile() {
emake
-   if use doc; then
-   emake -j1 doc
-   fi
+   use doc && emake -j1 doc
+
if use emacs; then
-   cd contrib/editors/highlighting
-   mv ${PN}-emacs.el ${PN}-mode.el
-   elisp-compile ${PN}-mode.el || die
+   cd contrib/editors/highlighting || die
+   mv ${PN}-emacs.el ${PN}-mode.el || die
+   elisp-compile ${PN}-mode.el
fi
 }
 
 src_install() {
# -jN failed to install some data files
emake -j1 DESTDIR="${D}" install
-   rm -rf "${ED}"/usr/share/doc/gle-graphics
+   rm -rf "${ED}"/usr/share/doc/gle-graphics || die
dodoc README.txt
 
-   if use doc; then
-   insinto /usr/share/doc/${PF}
-   doins build/doc/gle-manual.pdf
-   fi
+   use doc && dodoc build/doc/gle-manual.pdf
 
if use emacs; then
-   elisp-install ${PN} 
contrib/editors/highlighting/gle-mode.{el,elc} || die
-   elisp-site-file-install "${FILESDIR}"/64gle-gentoo.el || die
+   elisp-install ${PN} 
contrib/editors/highlighting/gle-mode.{el,elc}
+   elisp-site-file-install "${FILESDIR}"/64gle-gentoo.el
fi
 
if use vim-syntax ; then
dodir /usr/share/vim/vimfiles/{ftplugins,indent,syntax}
cd contrib/editors/highlighting/vim || die
-   chmod 644 ftplugin/* indent/* syntax/*
+   chmod 644 ftplugin/* indent/* syntax/* || die
insinto /usr/share/vim/vimfiles
doins -r ftplugin indent syntax
fi



[gentoo-commits] repo/gentoo:master commit in: sci-visualization/gle/

2021-05-25 Thread David Seifert
commit: 35b49503f117737030aa1a97a6f9a3ae4c3ef123
Author: David Seifert  gentoo  org>
AuthorDate: Tue May 25 14:54:53 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Tue May 25 14:54:53 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35b49503

sci-visualization/gle: drop 4.2.5-r1

Signed-off-by: David Seifert  gentoo.org>

 sci-visualization/gle/gle-4.2.5-r1.ebuild | 101 --
 1 file changed, 101 deletions(-)

diff --git a/sci-visualization/gle/gle-4.2.5-r1.ebuild 
b/sci-visualization/gle/gle-4.2.5-r1.ebuild
deleted file mode 100644
index 9c52191e544..000
--- a/sci-visualization/gle/gle-4.2.5-r1.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit elisp-common 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"
-SLOT="0"
-LICENSE="BSD-2 emacs? ( GPL-2 )"
-IUSE="X jpeg png tiff doc emacs vim-syntax"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-
-DEPEND="
-   sys-libs/ncurses:0=
-   X? ( x11-libs/libX11 )
-   jpeg? ( virtual/jpeg:0 )
-   png? ( media-libs/libpng:0= )
-   tiff? ( media-libs/tiff:0 )
-   doc? ( dev-texlive/texlive-latexextra )
-   emacs? ( >=app-editors/emacs-23.1:* )"
-
-RDEPEND="${DEPEND}
-   app-text/ghostscript-gpl
-   virtual/latex-base
-   vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
-
-S="${WORKDIR}"/${MY_P}
-
-PATCHES=(
-   "${FILESDIR}"/${P}-parallel.patch
-   "${FILESDIR}"/${P}-c++14.patch
-   "${FILESDIR}"/${P}-jpeg-9c.patch
-)
-
-src_prepare() {
-   default
-   eaclocal
-   eautoconf
-}
-
-src_configure() {
-   # CPPFLAGS are understood as C++ flags
-   append-cppflags ${CXXFLAGS}
-   econf \
-   --without-rpath \
-   --without-qt \
-   --with-manip \
-   $(use_with X x) \
-   $(use_with jpeg) \
-   $(use_with png) \
-   $(use_with tiff)
-}
-
-src_compile() {
-   emake
-   if use doc; then
-   emake -j1 doc
-   fi
-   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
-   rm -rf "${ED}"/usr/share/doc/gle-graphics
-   dodoc README.txt
-
-   if use doc; then
-   insinto /usr/share/doc/${PF}
-   doins build/doc/gle-manual.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,indent,syntax}
-   cd contrib/editors/highlighting/vim || die
-   chmod 644 ftplugin/* indent/* syntax/*
-   insinto /usr/share/vim/vimfiles
-   doins -r ftplugin indent syntax
-   fi
-}
-
-pkg_postinst() {
-   use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
-   use emacs && elisp-site-regen
-}



[gentoo-commits] repo/gentoo:master commit in: sci-visualization/gle/

2021-05-25 Thread Andrey Grozin
commit: 70b5458dd9b7b09c8e95d23dfd99c213d66d9d13
Author: Andrey Grozin  gentoo  org>
AuthorDate: Tue May 25 14:14:58 2021 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Tue May 25 14:15:55 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70b5458d

sci-visualization/gle: use -std=c++14

Closes: https://bugs.gentoo.org/789831
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andrey Grozin  gentoo.org>

 sci-visualization/gle/gle-4.2.5-r2.ebuild | 102 ++
 1 file changed, 102 insertions(+)

diff --git a/sci-visualization/gle/gle-4.2.5-r2.ebuild 
b/sci-visualization/gle/gle-4.2.5-r2.ebuild
new file mode 100644
index 000..ff7853dd3b7
--- /dev/null
+++ b/sci-visualization/gle/gle-4.2.5-r2.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit elisp-common 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"
+SLOT="0"
+LICENSE="BSD-2 emacs? ( GPL-2 )"
+IUSE="X jpeg png tiff doc emacs vim-syntax"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+DEPEND="
+   sys-libs/ncurses:0=
+   X? ( x11-libs/libX11 )
+   jpeg? ( virtual/jpeg:0 )
+   png? ( media-libs/libpng:0= )
+   tiff? ( media-libs/tiff:0 )
+   doc? ( dev-texlive/texlive-latexextra )
+   emacs? ( >=app-editors/emacs-23.1:* )"
+
+RDEPEND="${DEPEND}
+   app-text/ghostscript-gpl
+   virtual/latex-base
+   vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
+
+S="${WORKDIR}"/${MY_P}
+
+PATCHES=(
+   "${FILESDIR}"/${P}-parallel.patch
+   "${FILESDIR}"/${P}-c++14.patch
+   "${FILESDIR}"/${P}-jpeg-9c.patch
+)
+
+src_prepare() {
+   default
+   eaclocal
+   eautoconf
+}
+
+src_configure() {
+   # CPPFLAGS are understood as C++ flags
+   append-cppflags ${CXXFLAGS}
+   append-cppflags -std=c++14
+   econf \
+   --without-rpath \
+   --without-qt \
+   --with-manip \
+   $(use_with X x) \
+   $(use_with jpeg) \
+   $(use_with png) \
+   $(use_with tiff)
+}
+
+src_compile() {
+   emake
+   if use doc; then
+   emake -j1 doc
+   fi
+   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
+   rm -rf "${ED}"/usr/share/doc/gle-graphics
+   dodoc README.txt
+
+   if use doc; then
+   insinto /usr/share/doc/${PF}
+   doins build/doc/gle-manual.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,indent,syntax}
+   cd contrib/editors/highlighting/vim || die
+   chmod 644 ftplugin/* indent/* syntax/*
+   insinto /usr/share/vim/vimfiles
+   doins -r ftplugin indent syntax
+   fi
+}
+
+pkg_postinst() {
+   use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+   use emacs && elisp-site-regen
+}



[gentoo-commits] repo/gentoo:master commit in: sci-visualization/gle/

2019-12-20 Thread Ulrich Müller
commit: 550137eebf83d88e9585992fb26e73c2560ff793
Author: Ulrich Müller  gentoo  org>
AuthorDate: Fri Dec 20 16:32:50 2019 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Fri Dec 20 22:48:55 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=550137ee

sci-visualization/gle: Update virtual/emacs dependency.

The virtual is deprecated, depend on app-editors/emacs instead.

Package-Manager: Portage-2.3.82, Repoman-2.3.20
Signed-off-by: Ulrich Müller  gentoo.org>

 sci-visualization/gle/gle-4.2.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-visualization/gle/gle-4.2.5-r1.ebuild 
b/sci-visualization/gle/gle-4.2.5-r1.ebuild
index f0d2a19ba6a..dee5f4ae58c 100644
--- a/sci-visualization/gle/gle-4.2.5-r1.ebuild
+++ b/sci-visualization/gle/gle-4.2.5-r1.ebuild
@@ -21,7 +21,7 @@ DEPEND="
png? ( media-libs/libpng:0= )
tiff? ( media-libs/tiff:0 )
doc? ( dev-texlive/texlive-latexextra )
-   emacs? ( virtual/emacs )"
+   emacs? ( >=app-editors/emacs-23.1:* )"
 
 RDEPEND="${DEPEND}
app-text/ghostscript-gpl



[gentoo-commits] repo/gentoo:master commit in: sci-visualization/gle/, sci-visualization/gle/files/

2019-04-11 Thread David Seifert
commit: bc9d0ab7531be52dcde085e832feac2f3a9b7e99
Author: David Seifert  gentoo  org>
AuthorDate: Thu Apr 11 20:48:11 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Thu Apr 11 20:48:53 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc9d0ab7

sci-visualization/gle: Fix building with media-libs/jpeg

Closes: https://bugs.gentoo.org/647626
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: David Seifert  gentoo.org>

 .../gle/files/gle-4.2.5-jpeg-9c.patch  | 22 ++
 sci-visualization/gle/gle-4.2.5-r1.ebuild  | 10 ++
 2 files changed, 28 insertions(+), 4 deletions(-)

diff --git a/sci-visualization/gle/files/gle-4.2.5-jpeg-9c.patch 
b/sci-visualization/gle/files/gle-4.2.5-jpeg-9c.patch
new file mode 100644
index 000..c5dd2205dc4
--- /dev/null
+++ b/sci-visualization/gle/files/gle-4.2.5-jpeg-9c.patch
@@ -0,0 +1,22 @@
+https://bugs.gentoo.org/647626
+
+--- a/src/gle/gle-poppler.cpp
 b/src/gle/gle-poppler.cpp
+@@ -194,7 +194,7 @@
+ boolean gle_jpeg_empty_output_buffer(j_compress_ptr cinfo) {
+   gle_jpeg_term_destination(cinfo);
+   gle_jpeg_init_destination(cinfo);
+-  return true;
++  return TRUE;
+ }
+ 
+ void gle_jpeg_memory_dest(j_compress_ptr cinfo, JOCTET* buffer, 
GLEWriteFuncAndClosure writeCallback) {
+@@ -237,7 +237,7 @@
+   cinfo.in_color_space = JCS_RGB;
+ }
+ jpeg_set_defaults(&cinfo);
+-jpeg_start_compress(&cinfo, true);
++jpeg_start_compress(&cinfo, TRUE);
+ JSAMPROW row = new JSAMPLE[cinfo.input_components * width];
+ JSAMPROW row_pointer[1];
+ row_pointer[0] = row;

diff --git a/sci-visualization/gle/gle-4.2.5-r1.ebuild 
b/sci-visualization/gle/gle-4.2.5-r1.ebuild
index c9157c01809..f0d2a19ba6a 100644
--- a/sci-visualization/gle/gle-4.2.5-r1.ebuild
+++ b/sci-visualization/gle/gle-4.2.5-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -30,9 +30,11 @@ RDEPEND="${DEPEND}
 
 S="${WORKDIR}"/${MY_P}
 
-PATCHES=( "${FILESDIR}"/${P}-parallel.patch
- "${FILESDIR}"/${P}-c++14.patch
-   )
+PATCHES=(
+   "${FILESDIR}"/${P}-parallel.patch
+   "${FILESDIR}"/${P}-c++14.patch
+   "${FILESDIR}"/${P}-jpeg-9c.patch
+)
 
 src_prepare() {
default



[gentoo-commits] repo/gentoo:master commit in: sci-visualization/gle/files/, sci-visualization/gle/

2018-01-13 Thread Andrey Grozin
commit: 6a6f1f244057cdbbd13db6f2d68fdcec64baad9a
Author: Andrey Grozin  gentoo  org>
AuthorDate: Sat Jan 13 08:17:36 2018 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Sat Jan 13 08:17:36 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a6f1f24

sci-visualization/gle: clean old

Closes: https://bugs.gentoo.org/642562
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 .../gle/files/gle-4.2.4b-parallel.patch|  21 -
 sci-visualization/gle/gle-4.2.5.ebuild | 102 -
 2 files changed, 123 deletions(-)

diff --git a/sci-visualization/gle/files/gle-4.2.4b-parallel.patch 
b/sci-visualization/gle/files/gle-4.2.4b-parallel.patch
deleted file mode 100644
index 1eff8c06710..000
--- a/sci-visualization/gle/files/gle-4.2.4b-parallel.patch
+++ /dev/null
@@ -1,21 +0,0 @@
 src/gui/MakefileAC.in.orig 2010-01-06 20:10:04.0 +
-+++ src/gui/MakefileAC.in  2010-01-06 20:21:15.0 +
-@@ -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.5.ebuild 
b/sci-visualization/gle/gle-4.2.5.ebuild
deleted file mode 100644
index 178b6e82de0..000
--- a/sci-visualization/gle/gle-4.2.5.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-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"
-SLOT="0"
-LICENSE="BSD-2 emacs? ( GPL-2 ) qt4? ( GPL-2 )"
-IUSE="X qt4 jpeg png tiff doc emacs vim-syntax"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-
-DEPEND="
-   sys-libs/ncurses:0=
-   X? ( x11-libs/libX11 )
-   qt4? ( dev-qt/qtopengl:4 )
-   jpeg? ( virtual/jpeg:0 )
-   png? ( media-libs/libpng:0= )
-   tiff? ( media-libs/tiff:0 )
-   doc? ( dev-texlive/texlive-latexextra )
-   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}"/${PN}-4.2.4b-parallel.patch
-   eaclocal
-   eautoconf
-}
-
-src_configure() {
-   # CPPFLAGS are understood as C++ flags
-   append-cppflags ${CXXFLAGS}
-   econf \
-   --without-rpath \
-   --with-manip \
-   $(use_with qt4 qt "${EPREFIX}"/usr) \
-   $(use_with X x) \
-   $(use_with jpeg) \
-   $(use_with png) \
-   $(use_with tiff)
-}
-
-src_compile() {
-   emake
-   if use doc; then
-   emake -j1 doc
-   fi
-   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
-   rm -rf "${ED}"/usr/share/doc/gle-graphics
-   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 build/doc/gle-manual.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,indent,syntax}
-   cd contrib/editors/highlighting/vim || die
-   chmod 644 ftplugin/* indent/* syntax/*
-   insinto /usr/share/vim/vimfiles
-   doins -r ftplugin indent syntax
-   fi
-}
-
-pkg_postinst() {
-   use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
-   use emacs && elisp-site-regen
-}



[gentoo-commits] repo/gentoo:master commit in: sci-visualization/gle/, sci-visualization/gle/files/

2018-01-13 Thread Andrey Grozin
commit: d886010781dc6f67ccf137b8e1397b225238793f
Author: Andrey Grozin  gentoo  org>
AuthorDate: Sat Jan 13 08:14:40 2018 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Sat Jan 13 08:14:40 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8860107

sci-visualization/gle: fix building with -std=c++14

Closes: https://bugs.gentoo.org/638876
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sci-visualization/gle/files/gle-4.2.5-c++14.patch  | 27 ++
 .../gle/files/gle-4.2.5-parallel.patch | 20 
 sci-visualization/gle/gle-4.2.5-r1.ebuild  |  8 +--
 3 files changed, 53 insertions(+), 2 deletions(-)

diff --git a/sci-visualization/gle/files/gle-4.2.5-c++14.patch 
b/sci-visualization/gle/files/gle-4.2.5-c++14.patch
new file mode 100644
index 000..b548816ae06
--- /dev/null
+++ b/sci-visualization/gle/files/gle-4.2.5-c++14.patch
@@ -0,0 +1,27 @@
+diff -r -U2 gle-graphics-4.2.5.orig/src/gle/fitcf.h 
gle-graphics-4.2.5/src/gle/fitcf.h
+--- gle-graphics-4.2.5.orig/src/gle/fitcf.h2015-08-16 13:51:24.0 
+0600
 gle-graphics-4.2.5/src/gle/fitcf.h 2018-01-13 13:57:23.140749391 +0700
+@@ -182,8 +182,8 @@
+ typedef struct Namelist Namelist;
+ 
+-#define abs(x) ((x) >= 0 ? (x) : -(x))
++/*#define abs(x) ((x) >= 0 ? (x) : -(x))*/
+ #define dabs(x) (doublereal)abs(x)
+-#define min(a,b) ((a) <= (b) ? (a) : (b))
+-#define max(a,b) ((a) >= (b) ? (a) : (b))
++/*#define min(a,b) ((a) <= (b) ? (a) : (b))*/
++/*#define max(a,b) ((a) >= (b) ? (a) : (b))*/
+ #define dmin(a,b) (doublereal)min(a,b)
+ #define dmax(a,b) (doublereal)max(a,b)
+diff -r -U2 gle-graphics-4.2.5.orig/src/gle/surface/ffitcontour.cpp 
gle-graphics-4.2.5/src/gle/surface/ffitcontour.cpp
+--- gle-graphics-4.2.5.orig/src/gle/surface/ffitcontour.cpp2015-08-16 
13:51:24.0 +0600
 gle-graphics-4.2.5/src/gle/surface/ffitcontour.cpp 2018-01-13 
14:08:08.169722265 +0700
+@@ -49,7 +49,7 @@
+ #include "f2c.h"
+ #else
+-#include "f2c.h"
+ #include 
+ #include 
++#include "f2c.h"
+ #endif
+ 

diff --git a/sci-visualization/gle/files/gle-4.2.5-parallel.patch 
b/sci-visualization/gle/files/gle-4.2.5-parallel.patch
new file mode 100644
index 000..eeca1f5946b
--- /dev/null
+++ b/sci-visualization/gle/files/gle-4.2.5-parallel.patch
@@ -0,0 +1,20 @@
+diff -r -U2 gle-graphics-4.2.5.orig/src/gui/MakefileAC.in 
gle-graphics-4.2.5/src/gui/MakefileAC.in
+--- gle-graphics-4.2.5.orig/src/gui/MakefileAC.in  2015-08-16 
13:51:24.0 +0600
 gle-graphics-4.2.5/src/gui/MakefileAC.in   2018-01-13 14:23:09.066684378 
+0700
+@@ -83,12 +83,12 @@
+   $(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

diff --git a/sci-visualization/gle/gle-4.2.5-r1.ebuild 
b/sci-visualization/gle/gle-4.2.5-r1.ebuild
index b16b4ee3425..c9157c01809 100644
--- a/sci-visualization/gle/gle-4.2.5-r1.ebuild
+++ b/sci-visualization/gle/gle-4.2.5-r1.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 inherit eutils elisp-common flag-o-matic autotools
 
 DESCRIPTION="Graphics Layout Engine"
@@ -30,8 +30,12 @@ RDEPEND="${DEPEND}
 
 S="${WORKDIR}"/${MY_P}
 
+PATCHES=( "${FILESDIR}"/${P}-parallel.patch
+ "${FILESDIR}"/${P}-c++14.patch
+   )
+
 src_prepare() {
-   epatch "${FILESDIR}"/${PN}-4.2.4b-parallel.patch
+   default
eaclocal
eautoconf
 }



[gentoo-commits] repo/gentoo:master commit in: sci-visualization/gle/

2018-01-04 Thread Andrey Grozin
commit: c1bba173d7f558705b38481c79d95a7ab8e81ccc
Author: Andrey Grozin  gentoo  org>
AuthorDate: Thu Jan  4 15:58:52 2018 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Thu Jan  4 15:58:52 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1bba173

sci-visualization/gle: fix removing Qt4 gui

Closes: https://bugs.gentoo.org/642562
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sci-visualization/gle/gle-4.2.5-r1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sci-visualization/gle/gle-4.2.5-r1.ebuild 
b/sci-visualization/gle/gle-4.2.5-r1.ebuild
index 322a1e5c6b2..b16b4ee3425 100644
--- a/sci-visualization/gle/gle-4.2.5-r1.ebuild
+++ b/sci-visualization/gle/gle-4.2.5-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -41,6 +41,7 @@ src_configure() {
append-cppflags ${CXXFLAGS}
econf \
--without-rpath \
+   --without-qt \
--with-manip \
$(use_with X x) \
$(use_with jpeg) \



[gentoo-commits] repo/gentoo:master commit in: sci-visualization/gle/

2017-12-30 Thread Andrey Grozin
commit: d7088464c2d09bccd7035347e78ef5c1937ff456
Author: Andrey Grozin  gentoo  org>
AuthorDate: Sun Dec 31 03:20:53 2017 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Sun Dec 31 03:20:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7088464

sci-visualization/gle: clean an old version

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sci-visualization/gle/Manifest  |   3 -
 sci-visualization/gle/gle-4.2.4c.ebuild | 101 
 2 files changed, 104 deletions(-)

diff --git a/sci-visualization/gle/Manifest b/sci-visualization/gle/Manifest
index ba86b71530b..e76fdeeb715 100644
--- a/sci-visualization/gle/Manifest
+++ b/sci-visualization/gle/Manifest
@@ -1,4 +1 @@
-DIST GLEusersguide.pdf 2244780 BLAKE2B 
c00f6788b8cd27b0c76731f3aee5717efded726555ad68d97f7bc54be51526a259baf7580dfcbc86decf566eb75b846f44545f98389e6716c81afb5055721551
 SHA512 
cce76a83d09a68d449f4e3717e9dfcaa6c0866a1c36eb58f7180c2602f8a780804278804fee555ae6360bcf8b10b34c2124408975ea49824ab5d8ae23685fc71
-DIST gle-graphics-4.2.4cf-src.tar.gz 2321647 BLAKE2B 
a48759c0181fc34a8f235e39e06352b85e5717ea650588cfeb08342eea1b4ba56e7ace54cc8e6970b40423b31c0c70a832579cc11c0f5c6b20679d955a68137c
 SHA512 
961205fcb763ef0fd0b59cfffd10ea7dea8a54a19e79caa97712245a51ceaaeda5b92ce2571852cec14357af696861bf9cd588aa08622cc8f1f5ebf3959a
 DIST gle-graphics-4.2.5f-src.tar.gz 2330270 BLAKE2B 
46435a2366a278a88786a2dd0e0cbcc48d3ba2fc6d895fb07c81216089a10b2223b2ba692b951ee01a6ab014e84cce9aa3969d063ddf7d04501820aa33084c5c
 SHA512 
d459b24577c9c3f8825c368f864532c97d0a37c94018276a60c941d17dce0e55fe738f7eda3227a47848f2fb32fea1dcec29d9751a5be92cde4d8d38a2eeb0f5
-DIST gle-manual-4.2.2.pdf 2238766 BLAKE2B 
0998b0172d6d4039bd8f5942414dddb6200258975bd3267582b7a38bc2dae1e1af6dd4756d483b274e1a3189809f36c7a432b14a24a59ef2e360749e2446d997
 SHA512 
0eaa10f1f13c2f65145cbeb8f713b6de787dcc7dd3c3a30e27514b1cc8e74007d38adc12fc7666d665677354c7c14db521dea05126614def4ec30f3429cd1a41

diff --git a/sci-visualization/gle/gle-4.2.4c.ebuild 
b/sci-visualization/gle/gle-4.2.4c.ebuild
deleted file mode 100644
index 5df58681d2a..000
--- a/sci-visualization/gle/gle-4.2.4c.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-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 ~amd64-linux ~x86-linux"
-
-DEPEND="
-   sys-libs/ncurses:0=
-   X? ( x11-libs/libX11 )
-   qt4? ( dev-qt/qtopengl:4 )
-   jpeg? ( virtual/jpeg:0 )
-   png? ( media-libs/libpng:0= )
-   tiff? ( media-libs/tiff:0 )
-   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}"/${PN}-4.2.4b-parallel.patch
-   eaclocal
-   eautoconf
-}
-
-src_configure() {
-   # CPPFLAGS are understood as C++ flags
-   append-cppflags ${CXXFLAGS}
-   econf \
-   --without-rpath \
-   --with-manip \
-   $(use_with qt4 qt "${EPREFIX}"/usr) \
-   $(use_with X x) \
-   $(use_with jpeg) \
-   $(use_with png) \
-   $(use_with tiff)
-}
-
-src_compile() {
-   emake
-   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
-   rmdir "${ED}"/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,indent,syntax}
-   cd contrib/editors/highl

[gentoo-commits] repo/gentoo:master commit in: sci-visualization/gle/

2017-12-30 Thread Andrey Grozin
commit: 318f6b2af9bde35c8bb573c6535e53ffc1c9fc5c
Author: Andrey Grozin  gentoo  org>
AuthorDate: Sun Dec 31 03:19:00 2017 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Sun Dec 31 03:19:00 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=318f6b2a

sci-visualization/gle: drop an optional Qt4 gui

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sci-visualization/gle/gle-4.2.5-r1.ebuild | 94 +++
 1 file changed, 94 insertions(+)

diff --git a/sci-visualization/gle/gle-4.2.5-r1.ebuild 
b/sci-visualization/gle/gle-4.2.5-r1.ebuild
new file mode 100644
index 000..322a1e5c6b2
--- /dev/null
+++ b/sci-visualization/gle/gle-4.2.5-r1.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils elisp-common 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"
+SLOT="0"
+LICENSE="BSD-2 emacs? ( GPL-2 )"
+IUSE="X jpeg png tiff doc emacs vim-syntax"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+DEPEND="
+   sys-libs/ncurses:0=
+   X? ( x11-libs/libX11 )
+   jpeg? ( virtual/jpeg:0 )
+   png? ( media-libs/libpng:0= )
+   tiff? ( media-libs/tiff:0 )
+   doc? ( dev-texlive/texlive-latexextra )
+   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}"/${PN}-4.2.4b-parallel.patch
+   eaclocal
+   eautoconf
+}
+
+src_configure() {
+   # CPPFLAGS are understood as C++ flags
+   append-cppflags ${CXXFLAGS}
+   econf \
+   --without-rpath \
+   --with-manip \
+   $(use_with X x) \
+   $(use_with jpeg) \
+   $(use_with png) \
+   $(use_with tiff)
+}
+
+src_compile() {
+   emake
+   if use doc; then
+   emake -j1 doc
+   fi
+   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
+   rm -rf "${ED}"/usr/share/doc/gle-graphics
+   dodoc README.txt
+
+   if use doc; then
+   insinto /usr/share/doc/${PF}
+   doins build/doc/gle-manual.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,indent,syntax}
+   cd contrib/editors/highlighting/vim || die
+   chmod 644 ftplugin/* indent/* syntax/*
+   insinto /usr/share/vim/vimfiles
+   doins -r ftplugin indent syntax
+   fi
+}
+
+pkg_postinst() {
+   use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+   use emacs && elisp-site-regen
+}



[gentoo-commits] repo/gentoo:master commit in: sci-visualization/gle/files/

2017-01-29 Thread David Seifert
commit: f2d79c6e0de0558c64593e51115d99623b561ebe
Author: Michael Mair-Keimberger (asterix)  gmail 
 com>
AuthorDate: Sun Jan 29 09:21:04 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Jan 29 20:09:41 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2d79c6e

sci-visualization/gle: remove unused patch

Closes: https://github.com/gentoo/gentoo/pull/3709

 .../gle/files/gle-4.2.4b-gcc-4.7.patch | 62 --
 1 file changed, 62 deletions(-)

diff --git a/sci-visualization/gle/files/gle-4.2.4b-gcc-4.7.patch 
b/sci-visualization/gle/files/gle-4.2.4b-gcc-4.7.patch
deleted file mode 100644
index 1a0c3a4..
--- a/sci-visualization/gle/files/gle-4.2.4b-gcc-4.7.patch
+++ /dev/null
@@ -1,62 +0,0 @@
- src/gle/gle-interface/gle-base.h |4 ++--
- src/gle/tokens/RefCount.h|2 +-
- src/gle/tokens/StringKeyHash.h   |4 ++--
- 3 files changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/src/gle/gle-interface/gle-base.h 
b/src/gle/gle-interface/gle-base.h
-index 26ce8f3..686c2df 100644
 a/src/gle/gle-interface/gle-base.h
-+++ b/src/gle/gle-interface/gle-base.h
-@@ -130,7 +130,7 @@ inline GLERefCountObject* GLE_SET_RC(GLERefCountObject* 
rc, GLERefCountObject* v
- 
- template  class GLERCVector : public vector< GLERC > {
- public:
--  inline void add(T* elem) { push_back(GLERC(elem)); }
-+  inline void add(T* elem) { this->push_back(GLERC(elem)); }
-   inline T* get(int i) { return (*this)[i].get(); }
- };
- 
-@@ -147,7 +147,7 @@ public:
-   }
-   void deleteAll() {
-   for (typename vector::size_type i = 0; i < 
vector::size(); i++) {
--  T* elem = at(i);
-+  T* elem = this->at(i);
-   if (elem != NULL) delete elem;
-   }
-   }
-diff --git a/src/gle/tokens/RefCount.h b/src/gle/tokens/RefCount.h
-index eef1824..d43540b 100644
 a/src/gle/tokens/RefCount.h
-+++ b/src/gle/tokens/RefCount.h
-@@ -125,7 +125,7 @@ public:
- template  class MutableRefCountPtr : public RefCountPtr {
- public:
-   inline RefCountPtr& operator =(RefCountPtr src) {
--  setPtr(src.get()); return *this;
-+  this->setPtr(src.get()); return *this;
-   };
- };
- 
-diff --git a/src/gle/tokens/StringKeyHash.h b/src/gle/tokens/StringKeyHash.h
-index 7db46c3..0966676 100644
 a/src/gle/tokens/StringKeyHash.h
-+++ b/src/gle/tokens/StringKeyHash.h
-@@ -254,7 +254,7 @@ public:
-   return i->second;
-   } else {
-   ElemType nelem(key);
--  insert(StringKeyPair(key, nelem));
-+  this->insert(StringKeyPair(key, nelem));
-   return nelem;
-   }
-   }
-@@ -309,7 +309,7 @@ public:
-   }
- 
-   void add_item(int key, ElemType elem) {
--  insert(IntKeyPair(key, elem));
-+  this->insert(IntKeyPair(key, elem));
-   }
- };
- 



[gentoo-commits] repo/gentoo:master commit in: sci-visualization/gle/

2016-05-14 Thread David Seifert
commit: 6aaa5a437c86c6720a25a7934411f7f5814285b2
Author: David Seifert  gentoo  org>
AuthorDate: Sat May 14 23:24:49 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat May 14 23:24:49 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6aaa5a43

sci-visualization/gle: Fix QA MissingSlotDep

Package-Manager: portage-2.2.28

 sci-visualization/gle/gle-4.2.4c.ebuild | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/sci-visualization/gle/gle-4.2.4c.ebuild 
b/sci-visualization/gle/gle-4.2.4c.ebuild
index 05d4cff..453e886 100644
--- a/sci-visualization/gle/gle-4.2.4c.ebuild
+++ b/sci-visualization/gle/gle-4.2.4c.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -18,12 +18,12 @@ IUSE="X qt4 jpeg png tiff doc emacs vim-syntax"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 
 DEPEND="
-   sys-libs/ncurses
+   sys-libs/ncurses:0=
X? ( x11-libs/libX11 )
qt4? ( dev-qt/qtopengl:4 )
-   jpeg? ( virtual/jpeg )
-   png? ( media-libs/libpng )
-   tiff? ( media-libs/tiff )
+   jpeg? ( virtual/jpeg:0 )
+   png? ( media-libs/libpng:0= )
+   tiff? ( media-libs/tiff:0 )
emacs? ( virtual/emacs )"
 
 RDEPEND="${DEPEND}



[gentoo-commits] repo/gentoo:master commit in: sci-visualization/gle/

2016-05-14 Thread David Seifert
commit: 149ff0236bf0f68874b1708a50611bd68ddd5204
Author: David Seifert  gentoo  org>
AuthorDate: Sat May 14 23:26:26 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat May 14 23:26:26 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=149ff023

sci-visualization/gle: Fix QA MissingSlotDep

Package-Manager: portage-2.2.28

 sci-visualization/gle/gle-4.2.5.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sci-visualization/gle/gle-4.2.5.ebuild 
b/sci-visualization/gle/gle-4.2.5.ebuild
index 2354c47..ad896d8 100644
--- a/sci-visualization/gle/gle-4.2.5.ebuild
+++ b/sci-visualization/gle/gle-4.2.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -16,11 +16,11 @@ IUSE="X qt4 jpeg png tiff doc emacs vim-syntax"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 
 DEPEND="
-   sys-libs/ncurses
+   sys-libs/ncurses:0=
X? ( x11-libs/libX11 )
qt4? ( dev-qt/qtopengl:4 )
jpeg? ( virtual/jpeg:0 )
-   png? ( media-libs/libpng:0 )
+   png? ( media-libs/libpng:0= )
tiff? ( media-libs/tiff:0 )
doc? ( dev-texlive/texlive-latexextra )
emacs? ( virtual/emacs )"



[gentoo-commits] repo/gentoo:master commit in: sci-visualization/gle/

2015-08-21 Thread Andrey Grozin
commit: f4d0b67e491b4386e41c443dfbfcd8d3f4eb32ad
Author: Andrey Grozin  gentoo  org>
AuthorDate: Fri Aug 21 10:14:46 2015 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Fri Aug 21 10:14:46 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4d0b67e

sci-visualization/gle: remove old version

Package-Manager: portage-2.2.20.1

 sci-visualization/gle/Manifest  |   1 -
 sci-visualization/gle/gle-4.2.4b.ebuild | 109 
 2 files changed, 110 deletions(-)

diff --git a/sci-visualization/gle/Manifest b/sci-visualization/gle/Manifest
index 31e6f27..047368e 100644
--- a/sci-visualization/gle/Manifest
+++ b/sci-visualization/gle/Manifest
@@ -1,5 +1,4 @@
 DIST GLEusersguide.pdf 2244780 SHA256 
02c13fe038f8b4b7726ac3e6a74410e299f50cdccb2b040d7ed1fbc99b9cfbef SHA512 
cce76a83d09a68d449f4e3717e9dfcaa6c0866a1c36eb58f7180c2602f8a780804278804fee555ae6360bcf8b10b34c2124408975ea49824ab5d8ae23685fc71
 WHIRLPOOL 
702e9926b0cfca7932279ba5cf459a5c4bf66c40ddad2f068dfec6aad891185a445ca3a830fa0f18371c36261f407aa78c74e7d4a7151ecf68d39d21675a6691
-DIST gle-graphics-4.2.4bf-src.tar.gz 2321414 SHA256 
daa6881840b25bcce40fd12c0215ed13b4dfa4a91b3eb665123c890d7238747d SHA512 
b7f42cdb09b0d52056997779284c9f02f0bb3049d9aaf2058fe08306568fc963ce845faa4773a16d2a84d937ecbd55f682ea9f6f553fde87d3f1d0d2891207d2
 WHIRLPOOL 
08d97c82b8b7078113d045f5d363fc6dacf5d78bd64d11d34c42ed19bfe9eb2da283932bc9fe1f8ee6091d4221712b725d06f2797c7d0b1e670c650fc91afa33
 DIST gle-graphics-4.2.4cf-src.tar.gz 2321647 SHA256 
21715f2943ca528ec94a8e129175693afc3b59bb03f92540a2150ffe72ab47ef SHA512 
961205fcb763ef0fd0b59cfffd10ea7dea8a54a19e79caa97712245a51ceaaeda5b92ce2571852cec14357af696861bf9cd588aa08622cc8f1f5ebf3959a
 WHIRLPOOL 
11465d836e8763fdc286f38ea9761d806174469b0c52e2f3ce3dacbbb1b5d587f1bf0aade3668b38c2b99668066e372782561ed4b1a2dbaf689095c149a8fcbe
 DIST gle-graphics-4.2.5f-src.tar.gz 2330270 SHA256 
6cd6b1d82cbf2c7a0b0affbd67c0ec32460ef6a13f6b41dfdd6f308fd651f102 SHA512 
d459b24577c9c3f8825c368f864532c97d0a37c94018276a60c941d17dce0e55fe738f7eda3227a47848f2fb32fea1dcec29d9751a5be92cde4d8d38a2eeb0f5
 WHIRLPOOL 
6d1cc02f65bfb39fda3ccbc7b56ae27bb5a15be428b171903abb5de8d6bbd089e7338e013708c0c926da4b5cf053c157103bb763e448f73e10d3d6281aed6744
 DIST gle-manual-4.2.2.pdf 2238766 SHA256 
fbc4ba2613882d2d4ae3f8484c77aa27a257fc1b0ec02a46085c3651a2ace58e SHA512 
0eaa10f1f13c2f65145cbeb8f713b6de787dcc7dd3c3a30e27514b1cc8e74007d38adc12fc7666d665677354c7c14db521dea05126614def4ec30f3429cd1a41
 WHIRLPOOL 
55bdb65ca95c3fcf183205c5bb59ca43e74bcd8751fce90aa2dd9cc0aedab9abfbfc986539fcce0b1cf559c68eb3a08d4747bc746509125ec6e15d913bee9482

diff --git a/sci-visualization/gle/gle-4.2.4b.ebuild 
b/sci-visualization/gle/gle-4.2.4b.ebuild
deleted file mode 100644
index fa8f401..000
--- a/sci-visualization/gle/gle-4.2.4b.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=4
-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? ( dev-qt/qtopengl: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 \
-   "${FILESDIR}"/${P}-gcc-4.7.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
-   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
-   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

[gentoo-commits] repo/gentoo:master commit in: sci-visualization/gle/

2015-08-20 Thread Andrey Grozin
commit: 52cb61be383c1f8d1dc1db87680f88e96b95bdf0
Author: Andrey Grozin  gentoo  org>
AuthorDate: Fri Aug 21 05:25:40 2015 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Fri Aug 21 05:27:16 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52cb61be

sci-visualization/gle: version bump

Package-Manager: portage-2.2.20.1

 sci-visualization/gle/Manifest |   5 +-
 sci-visualization/gle/gle-4.2.5.ebuild | 103 +
 2 files changed, 106 insertions(+), 2 deletions(-)

diff --git a/sci-visualization/gle/Manifest b/sci-visualization/gle/Manifest
index 0db3aac..31e6f27 100644
--- a/sci-visualization/gle/Manifest
+++ b/sci-visualization/gle/Manifest
@@ -1,4 +1,5 @@
-DIST GLEusersguide.pdf 2244780 SHA256 
02c13fe038f8b4b7726ac3e6a74410e299f50cdccb2b040d7ed1fbc99b9cfbef
+DIST GLEusersguide.pdf 2244780 SHA256 
02c13fe038f8b4b7726ac3e6a74410e299f50cdccb2b040d7ed1fbc99b9cfbef SHA512 
cce76a83d09a68d449f4e3717e9dfcaa6c0866a1c36eb58f7180c2602f8a780804278804fee555ae6360bcf8b10b34c2124408975ea49824ab5d8ae23685fc71
 WHIRLPOOL 
702e9926b0cfca7932279ba5cf459a5c4bf66c40ddad2f068dfec6aad891185a445ca3a830fa0f18371c36261f407aa78c74e7d4a7151ecf68d39d21675a6691
 DIST gle-graphics-4.2.4bf-src.tar.gz 2321414 SHA256 
daa6881840b25bcce40fd12c0215ed13b4dfa4a91b3eb665123c890d7238747d SHA512 
b7f42cdb09b0d52056997779284c9f02f0bb3049d9aaf2058fe08306568fc963ce845faa4773a16d2a84d937ecbd55f682ea9f6f553fde87d3f1d0d2891207d2
 WHIRLPOOL 
08d97c82b8b7078113d045f5d363fc6dacf5d78bd64d11d34c42ed19bfe9eb2da283932bc9fe1f8ee6091d4221712b725d06f2797c7d0b1e670c650fc91afa33
 DIST gle-graphics-4.2.4cf-src.tar.gz 2321647 SHA256 
21715f2943ca528ec94a8e129175693afc3b59bb03f92540a2150ffe72ab47ef SHA512 
961205fcb763ef0fd0b59cfffd10ea7dea8a54a19e79caa97712245a51ceaaeda5b92ce2571852cec14357af696861bf9cd588aa08622cc8f1f5ebf3959a
 WHIRLPOOL 
11465d836e8763fdc286f38ea9761d806174469b0c52e2f3ce3dacbbb1b5d587f1bf0aade3668b38c2b99668066e372782561ed4b1a2dbaf689095c149a8fcbe
-DIST gle-manual-4.2.2.pdf 2238766 SHA256 
fbc4ba2613882d2d4ae3f8484c77aa27a257fc1b0ec02a46085c3651a2ace58e
+DIST gle-graphics-4.2.5f-src.tar.gz 2330270 SHA256 
6cd6b1d82cbf2c7a0b0affbd67c0ec32460ef6a13f6b41dfdd6f308fd651f102 SHA512 
d459b24577c9c3f8825c368f864532c97d0a37c94018276a60c941d17dce0e55fe738f7eda3227a47848f2fb32fea1dcec29d9751a5be92cde4d8d38a2eeb0f5
 WHIRLPOOL 
6d1cc02f65bfb39fda3ccbc7b56ae27bb5a15be428b171903abb5de8d6bbd089e7338e013708c0c926da4b5cf053c157103bb763e448f73e10d3d6281aed6744
+DIST gle-manual-4.2.2.pdf 2238766 SHA256 
fbc4ba2613882d2d4ae3f8484c77aa27a257fc1b0ec02a46085c3651a2ace58e SHA512 
0eaa10f1f13c2f65145cbeb8f713b6de787dcc7dd3c3a30e27514b1cc8e74007d38adc12fc7666d665677354c7c14db521dea05126614def4ec30f3429cd1a41
 WHIRLPOOL 
55bdb65ca95c3fcf183205c5bb59ca43e74bcd8751fce90aa2dd9cc0aedab9abfbfc986539fcce0b1cf559c68eb3a08d4747bc746509125ec6e15d913bee9482

diff --git a/sci-visualization/gle/gle-4.2.5.ebuild 
b/sci-visualization/gle/gle-4.2.5.ebuild
new file mode 100644
index 000..2354c47
--- /dev/null
+++ b/sci-visualization/gle/gle-4.2.5.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+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"
+SLOT="0"
+LICENSE="BSD-2 emacs? ( GPL-2 ) qt4? ( GPL-2 )"
+IUSE="X qt4 jpeg png tiff doc emacs vim-syntax"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+DEPEND="
+   sys-libs/ncurses
+   X? ( x11-libs/libX11 )
+   qt4? ( dev-qt/qtopengl:4 )
+   jpeg? ( virtual/jpeg:0 )
+   png? ( media-libs/libpng:0 )
+   tiff? ( media-libs/tiff:0 )
+   doc? ( dev-texlive/texlive-latexextra )
+   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}"/${PN}-4.2.4b-parallel.patch
+   eaclocal
+   eautoconf
+}
+
+src_configure() {
+   # CPPFLAGS are understood as C++ flags
+   append-cppflags ${CXXFLAGS}
+   econf \
+   --without-rpath \
+   --with-manip \
+   $(use_with qt4 qt "${EPREFIX}"/usr) \
+   $(use_with X x) \
+   $(use_with jpeg) \
+   $(use_with png) \
+   $(use_with tiff)
+}
+
+src_compile() {
+   emake
+   if use doc; then
+   emake -j1 doc
+   fi
+   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}" inst