* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/gle/, sci-visualization/gle/files/
@ 2023-08-21 12:43 Andrey Grozin
0 siblings, 0 replies; 9+ messages in thread
From: Andrey Grozin @ 2023-08-21 12:43 UTC (permalink / raw
To: gentoo-commits
commit: 0da61ca1fcea2d4061ba1cb39addb6fadd90957a
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 21 12:43:41 2023 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Mon Aug 21 12:43:41 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0da61ca1
sci-visualization/gle: bump to 4.3.4
Signed-off-by: Andrey Grozin <grozin <AT> 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 000000000000..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.txt 2023-04-11 07:46:19.000000000 +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 000000000000..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.txt 2023-04-11 07:46:19.000000000 +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 000000000000..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/v${PV}/gle-manual.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
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ fi
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/gle/, sci-visualization/gle/files/
@ 2025-10-13 6:11 Andrey Grozin
0 siblings, 0 replies; 9+ messages in thread
From: Andrey Grozin @ 2025-10-13 6:11 UTC (permalink / raw
To: gentoo-commits
commit: 25f5cda80f5130b59de355d513ed5ea26d52a025
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 13 06:10:35 2025 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Mon Oct 13 06:10:35 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25f5cda8
sci-visualization/gle: bump to 4.3.8
Closes: https://bugs.gentoo.org/949683
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
sci-visualization/gle/Manifest | 3 +
sci-visualization/gle/files/gle-4.3.8.patch | 137 ++++++++++++++++++++++++++++
sci-visualization/gle/gle-4.3.8.ebuild | 93 +++++++++++++++++++
3 files changed, 233 insertions(+)
diff --git a/sci-visualization/gle/Manifest b/sci-visualization/gle/Manifest
index af36b4a7020c..dc91d2383b01 100644
--- a/sci-visualization/gle/Manifest
+++ b/sci-visualization/gle/Manifest
@@ -1,4 +1,7 @@
DIST gle-4.3.7.tar.gz 1810016 BLAKE2B 76ce8502c7050ac3de724b7a45448f5e78f9e1d8ce44cd707e4d05871d81a4420de1a40108989d6c372c2f9a848755a703e78d170001152f7cc84d81603be36d SHA512 0d9567dde326e8ddf31dbdacf1f0f68c4c42d44a40869ab5c88e6692a6a16760278f037cbced11205660d2ba0099b282b63e99a92f2e250359fa56df48b52ecf
+DIST gle-4.3.8.tar.gz 1813845 BLAKE2B 60110635fef90a7ff1259f4d078a3776f68aa2f9a5e7d4970362a9452cefe2a2c7fcf0fb5c09dff1ac925f8299a724544f7386caef852122659526d3fd4528fc SHA512 b341c057f97e0a4a409884cc5e78b2ce027632c1c20129be72a22bb8d832f0491d7d549584f958a40b283acbf3aaa4ddbedb84469064977762d159d95e080d36
DIST gle-library-4.3.7.tar.gz 1643914 BLAKE2B 00bc562132dd95fa00bbf8222b70151d8687b10b12e1d3486a7dca2dc0830120181004f5f0c95f595e23e8db2079dbdac2eb0af8e4bcb7ab898f47a18a607994 SHA512 78e4223d587f032f59c093fcb74e935cb8dece52747f4ec5523a95c7a7ee092c94555a8899226daae8d81071b295cef099e20a33c7075dffdab9cf369d9c4212
+DIST gle-library-4.3.8.tar.gz 1638476 BLAKE2B 82fd9910ec87ff2685f026441279b650631968d4bfbcd48e027c23f1fd8165b45ee92039d73236471c5330c48529046cfc5b23c9d08f2932723ba0cf9205d36f SHA512 cd622f24efb611ec524cab72a2b168a2e76aac0d48791d79960fa3a3372fc7eb37ad06bcd6ff42281dd78a24693f4f1d1560c7a4f28409a283cad8586943a37a
DIST gle-manual-4.3.7.tar.gz 365047 BLAKE2B 0997efa35927ceb2cf58efd04d5ec5968ae7b8571ae33233386d37f62117984a61d0eb9458cf909e88864863bbb6ca0a005b6ebb36424e2a3f09ba4c2a9dc652 SHA512 dcf61e49482439db083d0f30530dc3924095d8f0c2f91ae693f2dac7073110509cc508034823115493458b8c9d8375919c6b09554a33cecbdae85e423265e13e
+DIST gle-manual-4.3.8.tar.gz 365933 BLAKE2B 5be7302b7eef0525abfe013767fcedf198b79dea49edf22c12430ad472c39402a198a0a4ea3ffc0ca71abb07c96b5f5a4321ce152bc5b9c9d5ea9d11600b374b SHA512 ed571b1ac092d6ed646c99b356afe510d117669e82a1e42709a9aa7521e9b495d701c14efca59963dfaec5024f482314856c3e0c097dbb9ccddd4a9862627344
DIST gle-mode.el.gz 7359 BLAKE2B bcbc61651f87f3ee1d079fc0a0de38788523a5ee33f56087b89f4e15b9ef5ee4010cf47679c38da3dfae1954ddbfee4728d10c0af6530f645ff63ab2b219da09 SHA512 c8d291c23f53346d8a44b7d95d737da88c6ec0af597fb8298a564a5567a9e9a0db658d14c3cb43157d58614e65cf2293eaeb01528a7a49722a2da07e16f940e1
diff --git a/sci-visualization/gle/files/gle-4.3.8.patch b/sci-visualization/gle/files/gle-4.3.8.patch
new file mode 100644
index 000000000000..5650a62ab5ad
--- /dev/null
+++ b/sci-visualization/gle/files/gle-4.3.8.patch
@@ -0,0 +1,137 @@
+diff '--color=auto' -r -U3 src.orig/CMakeLists.txt src/CMakeLists.txt
+--- src.orig/CMakeLists.txt 2025-10-05 20:31:58.000000000 +0700
++++ src/CMakeLists.txt 2025-10-13 11:23:23.257474930 +0700
+@@ -1,10 +1,11 @@
+ #
+ # -- CMakeLists.txt for GLE - Graphics Layout Engine
+ #
+-cmake_minimum_required (VERSION 3.30)
++cmake_minimum_required (VERSION 3.50)
+ cmake_policy(SET CMP0091 NEW) # windows static runtimes selection
+ #cmake_policy(SET CMP0167 NEW) # The FindBoost module is removed. only for cmake 3.30 and later live with the warning for now
+ cmake_policy(SET CMP0074 NEW) # uses <PackageName>_ROOT variables.
++cmake_policy(SET CMP0177 NEW) # normalize DESTINATION paths
+ set(CMAKE_CXX_STANDARD 17)
+ set(CMAKE_CXX_STANDARD_REQUIRED ON)
+ include(CheckIncludeFile)
+@@ -595,18 +596,17 @@
+
+ # documentation file installation in doc folder
+ install(FILES
+- ../doc/LICENSE.txt
+ ../doc/README.txt
+ ../doc/ChangeLog.txt
+ CONFIGURATIONS Release Debug
+- DESTINATION ./doc
++ DESTINATION ./${GLEDOC}
+ )
+ #
+ # -- install include files from gle-library repo
+ #
+ install(DIRECTORY
+ ${GLE_EXAMPLES_LIBRARY_PATH}/include/
+- DESTINATION ./gleinc
++ DESTINATION ./share/gle/gleinc
+ CONFIGURATIONS Release Debug
+ OPTIONAL
+ PATTERN "*.gle"
+@@ -617,7 +617,7 @@
+ #
+ install(FILES
+ ${GLE_USER_MANUAL_PATH}/gle-manual.pdf
+- DESTINATION ./doc
++ DESTINATION ./${GLEDOC}
+ CONFIGURATIONS Release Debug
+ OPTIONAL
+ )
+diff '--color=auto' -r -U3 src.orig/fonts/CMakeLists.txt src/fonts/CMakeLists.txt
+--- src.orig/fonts/CMakeLists.txt 2025-10-05 20:31:58.000000000 +0700
++++ src/fonts/CMakeLists.txt 2025-10-13 11:25:22.307477179 +0700
+@@ -310,5 +310,5 @@
+ ${FMT_FILES}
+ ${FVE_FILES}
+ CONFIGURATIONS Release Debug
+- DESTINATION font)
++ DESTINATION ./share/gle/font)
+
+diff '--color=auto' -r -U3 src.orig/gle/CMakeLists.txt src/gle/CMakeLists.txt
+--- src.orig/gle/CMakeLists.txt 2025-10-05 20:31:58.000000000 +0700
++++ src/gle/CMakeLists.txt 2025-10-13 11:39:25.134159818 +0700
+@@ -1,3 +1,4 @@
++cmake_policy(SET CMP0177 NEW) # normalize DESTINATION paths
+
+ set(GLE_SOURCES
+ bitmap/img2ps.cpp
+@@ -129,10 +130,10 @@
+
+ if(ZSTD_FOUND)
+ target_link_libraries ( gle LINK_PUBLIC
+- zstd::libzstd_static
++ zstd::libzstd_shared
+ )
+ target_link_libraries ( gle-graphics LINK_PUBLIC
+- zstd::libzstd_static
++ zstd::libzstd_shared
+ )
+ endif()
+
+@@ -201,5 +202,5 @@
+
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/glerc
+ CONFIGURATIONS Release Debug
+- DESTINATION . )
++ DESTINATION ./share/gle )
+
+diff '--color=auto' -r -U3 src.orig/gui/CMakeLists.txt src/gui/CMakeLists.txt
+--- src.orig/gui/CMakeLists.txt 2025-10-05 20:31:58.000000000 +0700
++++ src/gui/CMakeLists.txt 2025-10-13 11:40:02.467493862 +0700
+@@ -126,7 +126,7 @@
+ endif()
+ if(ZSTD_FOUND)
+ list(APPEND QGLE_LIBRARIES
+- zstd::libzstd_static
++ zstd::libzstd_shared
+ )
+ endif()
+
+diff '--color=auto' -r -U3 src.orig/TeX/CMakeLists.txt src/TeX/CMakeLists.txt
+--- src.orig/TeX/CMakeLists.txt 2025-10-05 20:31:58.000000000 +0700
++++ src/TeX/CMakeLists.txt 2025-10-13 12:42:14.357564475 +0700
+@@ -1,8 +1,8 @@
+ #
+ # -- generate inittex.ini from init.tex
+ #
+-set(GLE_DIR ${CMAKE_BINARY_DIR}/gle$<$<PLATFORM_ID:Windows>:$<IF:$<CONFIG:debug>,/Debug,/Release>>)
+-set(GLE gle$<$<CONFIG:Debug>:d>)
++set(GLE_DIR ${CMAKE_BINARY_DIR}/gle)
++set(GLE ${GLE_DIR}/gle)
+ # inittex.ini is generated from init.tex by running "gle -mkinittex"
+ # for gle to run:
+ # - init.tex must reside one directory level up from location of the gle executable.
+@@ -29,7 +29,7 @@
+ COMMAND "$<$<NOT:$<PLATFORM_ID:Windows>>:${CMAKE_COMMAND};-E;copy;${GLE_DIR}/glerc;${CMAKE_BINARY_DIR}/glerc>"
+ COMMAND "$<$<NOT:$<PLATFORM_ID:Windows>>:${CMAKE_COMMAND};-E;create_symlink;${GLE_DIR}/font;${CMAKE_BINARY_DIR}/font>"
+ COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/init.tex ${CMAKE_BINARY_DIR}$<$<PLATFORM_ID:Windows>:/gle>/init.tex
+- COMMAND ${GLE} -mkinittex
++ COMMAND GLE_TOP=${CMAKE_BINARY_DIR} ${GLE} -mkinittex
+ COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_BINARY_DIR}$<$<PLATFORM_ID:Windows>:/gle>/inittex.ini ${CMAKE_CURRENT_SOURCE_DIR}
+ COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_BINARY_DIR}$<$<PLATFORM_ID:Windows>:/gle>/inittex.ini ${CMAKE_BINARY_DIR}/TeX
+ COMMAND ${CMAKE_COMMAND} -E rm ${CMAKE_BINARY_DIR}$<$<PLATFORM_ID:Windows>:/gle>/init.tex
+@@ -40,6 +40,8 @@
+ COMMAND_EXPAND_LISTS
+ )
+
++cmake_policy(SET CMP0177 NEW) # normalize DESTINATION paths
++
+ add_custom_target(inittex ALL
+ DEPENDS inittex.ini
+ )
+@@ -48,7 +50,7 @@
+ init.tex
+ inittex.ini
+ CONFIGURATIONS Release Debug
+- DESTINATION .
++ DESTINATION ./share/gle
+ )
+
+
diff --git a/sci-visualization/gle/gle-4.3.8.ebuild b/sci-visualization/gle/gle-4.3.8.ebuild
new file mode 100644
index 000000000000..00991b0bea38
--- /dev/null
+++ b/sci-visualization/gle/gle-4.3.8.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CMAKE_BUILD_TYPE=Release
+inherit cmake elisp-common flag-o-matic
+
+DESCRIPTION="Graphics Layout Engine"
+HOMEPAGE="https://glx.sourceforge.io/ https://github.com/vlabella/GLE/"
+SRC_URI="https://github.com/vlabella/GLE/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/vlabella/gle-library/archive/refs/tags/v${PV}.tar.gz -> ${PN}-library-${PV}.tar.gz
+ doc? ( https://github.com/vlabella/gle-manual/archive/refs/tags/v${PV}.tar.gz -> ${PN}-manual-${PV}.tar.gz )
+ emacs? ( https://dev.gentoo.org/~grozin/gle-mode.el.gz )"
+S="${WORKDIR}"/GLE-${PV}/src
+LICENSE="BSD gui? ( GPL-2+ )"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc emacs gui manip"
+
+DEPEND="app-text/ghostscript-gpl
+ app-text/poppler
+ dev-libs/boost
+ media-libs/libjpeg-turbo
+ media-libs/libpng
+ media-libs/tiff
+ sys-libs/zlib
+ x11-libs/cairo
+ x11-libs/pixman
+ gui? (
+ media-libs/freeglut
+ media-libs/glu
+ dev-qt/qtbase[dbus,gui,network,opengl,widgets]
+ )
+ manip? ( sys-libs/ncurses:0 )
+ emacs? ( app-editors/emacs:* )"
+RDEPEND="${DEPEND}
+ virtual/latex-base"
+BDEPEND="kde-frameworks/extra-cmake-modules
+ doc? ( virtual/latex-base )"
+
+PATCHES=(
+ "${FILESDIR}"/gle-4.3.8.patch
+ "${FILESDIR}"/top_dir.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=(
+ -DGLEDOC=share/doc/${PF}
+ -DGLE_EXAMPLES_LIBRARY_PATH="${WORKDIR}"/gle-library-${PV}
+ -DBUILD_GUI=$(usex gui)
+ -DBUILD_MANIP=$(usex manip)
+ )
+ cmake_src_configure
+}
+
+src_compile() {
+ cmake_src_compile
+ use emacs && elisp-compile "${WORKDIR}"/*.el
+
+ # I don't really understand why is this hack needed
+ sed -e 's/|+//' -i "${BUILD_DIR}"/gle/cmake_install.cmake
+}
+
+src_install() {
+ export GLE_TOP="${D}"/usr/share/gle
+ cmake_src_install
+ if use doc; then
+ pushd "$WORKDIR"/gle-manual-${PV} > /dev/null || die "pushd gle_manual failed"
+ export PATH="${D}"/usr/bin:${PATH}
+ make -f Makefile.gcc GLE="${D}"/usr/bin/gle
+ dodoc gle-manual.pdf
+ popd > /dev/null
+ fi
+ 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
+}
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/gle/, sci-visualization/gle/files/
@ 2025-05-16 12:33 Andrey Grozin
0 siblings, 0 replies; 9+ messages in thread
From: Andrey Grozin @ 2025-05-16 12:33 UTC (permalink / raw
To: gentoo-commits
commit: e087d54f805ddcff819e6e1b6ccf4c184432b97d
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Fri May 16 12:33:17 2025 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Fri May 16 12:33:17 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e087d54f
sci-visualization/gle: remove old versions
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
sci-visualization/gle/Manifest | 3 -
sci-visualization/gle/files/gle.sh | 3 -
sci-visualization/gle/files/qgle.sh | 3 -
sci-visualization/gle/gle-4.3.5.ebuild | 89 ----------------------------
sci-visualization/gle/gle-4.3.6.ebuild | 103 ---------------------------------
5 files changed, 201 deletions(-)
diff --git a/sci-visualization/gle/Manifest b/sci-visualization/gle/Manifest
index 7c2ee7b2cda0..3af9ccec9795 100644
--- a/sci-visualization/gle/Manifest
+++ b/sci-visualization/gle/Manifest
@@ -1,7 +1,4 @@
-DIST gle-4.3.5.pdf 4050569 BLAKE2B 1d5010ff92ce41180b9a91eddb0c3b410e2264b4e3a73012eaa8592eadf3229890f0a90b6b850ef76c880827a767828fad2b6bea62a4f15f6642cdca52b6851f SHA512 ea65a8968830a642731bb66d0a8d00a932efcf4812104b31289f7faecf998db7c838b58a4b652430f781c90b954e3079231012c326e4f53b3f62c715b4dd892b
-DIST gle-4.3.5.tar.gz 1804056 BLAKE2B 31c72b9e7204a0dcc48ceff700b8e6db07c052fcdb1a676bf3f53944fcf581b82c46073a4dfa9e20f316d0be977846c7361669691007da903ec7e477464c7b85 SHA512 80f109bfa2969335a8d6ca75fd4fb18363e0ed51df127729e7e31370a651e7590fe33681031784eaeac8c1cb6c084d7809bd989955ce04b6729c76ebaf0a712a
DIST gle-4.3.6.tar.gz 1808371 BLAKE2B 98cada36d0c142c054ff12d207b5fdaa381b57af0aee241552e792e7b1328b6a5d90c70a6d84ea3dad5808cd14ccfa5d3c434186e7d6ac3d4be353313401c8fb SHA512 033dffe19a348f9d69ab3f0af5d185b72f9837d4c9369d2b5d64f4981851c46042ef35d98a41c8e10808d4a1d278263edd8e4efb2195ca6f6459f3941aa7384e
DIST gle-library-4.3.6.tar.gz 1639461 BLAKE2B a87dfe84a298272bae2d03b251052c66a453bfe086ca82b23a9de513ef056ea0d3d2a85abba10a77151a3f03db726702e656a0b8f40dc61c923246c62f038888 SHA512 cb6461cb7bcad4ddac21591c2a258c0f3f96e22e2f09ec2458488a325d7a97ffc93d59bedd3b405a98a93b5934d720313f344972515a98de22452e7535a6920a
-DIST gle-library.tar.gz 1073620 BLAKE2B 051f9584dbf3195c7598ae54b12ab8d373e8054e8ff4c3d1dfed70319c29c5cb8bb1f0baff127768bcf9e36e4f52be3b3238e786e1598d1cdfbd6d1af6d6bdd3 SHA512 af6a46f2bd945714679eb9d8ca4c70ca9a741cf6652590eb3a8d9422059f49ce3d2c33418c37899bd54f9e0bc0085ae82ffd2f2b84b77879e2f2d09a0026d12a
DIST gle-manual-4.3.6.tar.gz 364976 BLAKE2B 20dbcb918ff55c24590afeff6d6f4aa84db020e0b6f09f840d4cab24f5418c34317d3e1868c86d161850643148a2fe387c07cfa32f2d3460943a4e85f7b61082 SHA512 afdb972a18ccbf54fe50eb0d39ec67fc1775ae4ba9aadb73a4f5c25ed5ceaca36c0addf2a398bb621b8a015d140cf46f4e3799b26141e346b48a0d4445f1dd02
DIST gle-mode.el.gz 7359 BLAKE2B bcbc61651f87f3ee1d079fc0a0de38788523a5ee33f56087b89f4e15b9ef5ee4010cf47679c38da3dfae1954ddbfee4728d10c0af6530f645ff63ab2b219da09 SHA512 c8d291c23f53346d8a44b7d95d737da88c6ec0af597fb8298a564a5567a9e9a0db658d14c3cb43157d58614e65cf2293eaeb01528a7a49722a2da07e16f940e1
diff --git a/sci-visualization/gle/files/gle.sh b/sci-visualization/gle/files/gle.sh
deleted file mode 100644
index 38fb09ada2fa..000000000000
--- a/sci-visualization/gle/files/gle.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-export GLE_TOP=/usr/share/gle
-exec /usr/bin/gle.bin $*
diff --git a/sci-visualization/gle/files/qgle.sh b/sci-visualization/gle/files/qgle.sh
deleted file mode 100644
index 13ec7070df98..000000000000
--- a/sci-visualization/gle/files/qgle.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-export GLE_TOP=/usr/share/gle
-exec /usr/bin/qgle.bin $*
diff --git a/sci-visualization/gle/gle-4.3.5.ebuild b/sci-visualization/gle/gle-4.3.5.ebuild
deleted file mode 100644
index bb81806b3d94..000000000000
--- a/sci-visualization/gle/gle-4.3.5.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake elisp-common flag-o-matic
-
-DESCRIPTION="Graphics Layout Engine"
-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
- 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() {
- # -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}
- )
- 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
- elisp-site-file-install "${FILESDIR}/${SITEFILE}"
- fi
-}
-
-pkg_postinst() {
- use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
- use emacs && elisp-site-regen
-}
diff --git a/sci-visualization/gle/gle-4.3.6.ebuild b/sci-visualization/gle/gle-4.3.6.ebuild
deleted file mode 100644
index bcc61f54ce33..000000000000
--- a/sci-visualization/gle/gle-4.3.6.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-CMAKE_BUILD_TYPE=Release
-inherit cmake elisp-common flag-o-matic
-
-DESCRIPTION="Graphics Layout Engine"
-HOMEPAGE="https://glx.sourceforge.io/ https://github.com/vlabella/GLE/"
-SRC_URI="https://github.com/vlabella/GLE/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
- https://github.com/vlabella/gle-library/archive/refs/tags/v${PV}.tar.gz -> ${PN}-library-${PV}.tar.gz
- doc? ( https://github.com/vlabella/gle-manual/archive/refs/tags/v${PV}.tar.gz -> ${PN}-manual-${PV}.tar.gz )
- emacs? ( https://dev.gentoo.org/~grozin/gle-mode.el.gz )"
-S="${WORKDIR}"/GLE-${PV}/src
-LICENSE="BSD GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="doc emacs gui manip"
-
-DEPEND="app-text/ghostscript-gpl
- app-text/poppler
- dev-libs/boost
- media-libs/libpng
- media-libs/tiff
- sys-libs/zlib
- media-libs/libjpeg-turbo
- x11-libs/cairo
- x11-libs/pixman
- gui? (
- media-libs/freeglut
- media-libs/glu
- dev-qt/qtcore:5
- dev-qt/qtdbus:5
- dev-qt/qtgui:5
- dev-qt/qtnetwork:5
- dev-qt/qtopengl:5
- dev-qt/qtwidgets:5
- )
- manip? ( sys-libs/ncurses:0 )
- emacs? ( app-editors/emacs:* )"
-RDEPEND="${DEPEND}
- virtual/latex-base"
-BDEPEND="kde-frameworks/extra-cmake-modules
- doc? ( virtual/latex-base )"
-
-PATCHES=( "${FILESDIR}"/install-dirs.patch "${FILESDIR}"/zstd-shared.patch "${FILESDIR}"/cmake-cmp0177.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=(
- -DGLEDOC=share/doc/${PF}
- -DGLE_EXAMPLES_LIBRARY_PATH="${WORKDIR}"/gle-library-${PV}
- -DBUILD_GUI=$(usex gui)
- -DBUILD_MANIP=$(usex manip)
- )
- cmake_src_configure
-}
-
-src_compile() {
- cmake_src_compile
- use emacs && elisp-compile "${WORKDIR}"/*.el
-
- # I don't really understand why is this hack needed
- sed -e 's/|+//' -i "${BUILD_DIR}"/gle/cmake_install.cmake
-}
-
-src_install() {
- cmake_src_install
- mv "${D}"/usr/bin/gle "${D}"/usr/bin/gle.bin
- newbin "${FILESDIR}"/gle.sh gle
- if use gui; then
- mv "${D}"/usr/bin/qgle "${D}"/usr/bin/qgle.bin
- newbin "${FILESDIR}"/qgle.sh qgle
- fi
- GLE_TOP="${D}"/usr/share/${PN} "${D}"/usr/bin/gle.bin -mkinittex
- if use doc; then
- pushd "$WORKDIR"/gle-manual-${PV} > /dev/null || die "pushd gle_manual failed"
- patch -p1 < "FILESDIR"/latexmk.patch
- export GLE_TOP="${D}"/usr/share/gle
- export PATH="${D}"/usr/bin:${PATH}
- make -f Makefile.gcc GLE="${D}"/usr/bin/gle.bin
- dodoc gle-manual.pdf
- popd > /dev/null
- fi
- 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
-}
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/gle/, sci-visualization/gle/files/
@ 2025-05-09 10:25 Andrey Grozin
0 siblings, 0 replies; 9+ messages in thread
From: Andrey Grozin @ 2025-05-09 10:25 UTC (permalink / raw
To: gentoo-commits
commit: 75de2acee0dd85cc883400a7670f70fa347dd9d2
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Fri May 9 10:24:39 2025 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Fri May 9 10:24:39 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75de2ace
sci-visualization/gle: bump to 4.3.6
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
sci-visualization/gle/Manifest | 3 +
sci-visualization/gle/files/cmake-cmp0177.patch | 33 ++++++++
sci-visualization/gle/files/install-dirs.patch | 65 +++++++++++++++
sci-visualization/gle/files/qgle.sh | 3 +
sci-visualization/gle/files/zstd-shared.patch | 28 +++++++
sci-visualization/gle/gle-4.3.6.ebuild | 101 ++++++++++++++++++++++++
sci-visualization/gle/metadata.xml | 3 +
7 files changed, 236 insertions(+)
diff --git a/sci-visualization/gle/Manifest b/sci-visualization/gle/Manifest
index 9c5cfd67b18b..7c2ee7b2cda0 100644
--- a/sci-visualization/gle/Manifest
+++ b/sci-visualization/gle/Manifest
@@ -1,4 +1,7 @@
DIST gle-4.3.5.pdf 4050569 BLAKE2B 1d5010ff92ce41180b9a91eddb0c3b410e2264b4e3a73012eaa8592eadf3229890f0a90b6b850ef76c880827a767828fad2b6bea62a4f15f6642cdca52b6851f SHA512 ea65a8968830a642731bb66d0a8d00a932efcf4812104b31289f7faecf998db7c838b58a4b652430f781c90b954e3079231012c326e4f53b3f62c715b4dd892b
DIST gle-4.3.5.tar.gz 1804056 BLAKE2B 31c72b9e7204a0dcc48ceff700b8e6db07c052fcdb1a676bf3f53944fcf581b82c46073a4dfa9e20f316d0be977846c7361669691007da903ec7e477464c7b85 SHA512 80f109bfa2969335a8d6ca75fd4fb18363e0ed51df127729e7e31370a651e7590fe33681031784eaeac8c1cb6c084d7809bd989955ce04b6729c76ebaf0a712a
+DIST gle-4.3.6.tar.gz 1808371 BLAKE2B 98cada36d0c142c054ff12d207b5fdaa381b57af0aee241552e792e7b1328b6a5d90c70a6d84ea3dad5808cd14ccfa5d3c434186e7d6ac3d4be353313401c8fb SHA512 033dffe19a348f9d69ab3f0af5d185b72f9837d4c9369d2b5d64f4981851c46042ef35d98a41c8e10808d4a1d278263edd8e4efb2195ca6f6459f3941aa7384e
+DIST gle-library-4.3.6.tar.gz 1639461 BLAKE2B a87dfe84a298272bae2d03b251052c66a453bfe086ca82b23a9de513ef056ea0d3d2a85abba10a77151a3f03db726702e656a0b8f40dc61c923246c62f038888 SHA512 cb6461cb7bcad4ddac21591c2a258c0f3f96e22e2f09ec2458488a325d7a97ffc93d59bedd3b405a98a93b5934d720313f344972515a98de22452e7535a6920a
DIST gle-library.tar.gz 1073620 BLAKE2B 051f9584dbf3195c7598ae54b12ab8d373e8054e8ff4c3d1dfed70319c29c5cb8bb1f0baff127768bcf9e36e4f52be3b3238e786e1598d1cdfbd6d1af6d6bdd3 SHA512 af6a46f2bd945714679eb9d8ca4c70ca9a741cf6652590eb3a8d9422059f49ce3d2c33418c37899bd54f9e0bc0085ae82ffd2f2b84b77879e2f2d09a0026d12a
+DIST gle-manual-4.3.6.tar.gz 364976 BLAKE2B 20dbcb918ff55c24590afeff6d6f4aa84db020e0b6f09f840d4cab24f5418c34317d3e1868c86d161850643148a2fe387c07cfa32f2d3460943a4e85f7b61082 SHA512 afdb972a18ccbf54fe50eb0d39ec67fc1775ae4ba9aadb73a4f5c25ed5ceaca36c0addf2a398bb621b8a015d140cf46f4e3799b26141e346b48a0d4445f1dd02
DIST gle-mode.el.gz 7359 BLAKE2B bcbc61651f87f3ee1d079fc0a0de38788523a5ee33f56087b89f4e15b9ef5ee4010cf47679c38da3dfae1954ddbfee4728d10c0af6530f645ff63ab2b219da09 SHA512 c8d291c23f53346d8a44b7d95d737da88c6ec0af597fb8298a564a5567a9e9a0db658d14c3cb43157d58614e65cf2293eaeb01528a7a49722a2da07e16f940e1
diff --git a/sci-visualization/gle/files/cmake-cmp0177.patch b/sci-visualization/gle/files/cmake-cmp0177.patch
new file mode 100644
index 000000000000..29fc17d71e3e
--- /dev/null
+++ b/sci-visualization/gle/files/cmake-cmp0177.patch
@@ -0,0 +1,33 @@
+diff '--color=auto' -r -U3 src.orig/CMakeLists.txt src/CMakeLists.txt
+--- src.orig/CMakeLists.txt 2025-04-04 21:33:02.000000000 +0700
++++ src/CMakeLists.txt 2025-05-09 15:38:00.286727733 +0700
+@@ -3,8 +3,9 @@
+ #
+ cmake_minimum_required (VERSION 3.18)
+ cmake_policy(SET CMP0091 NEW) # windows static runtimes selection
+-#cmake_policy(SET CMP0167 NEW) # The FindBoost module is removed. only for cmake 3.30 and later live with the warning for now
++cmake_policy(SET CMP0167 NEW) # The FindBoost module is removed. only for cmake 3.30 and later live with the warning for now
+ cmake_policy(SET CMP0074 NEW) # uses <PackageName>_ROOT variables.
++cmake_policy(SET CMP0177 NEW) # normalize DESTINATION paths
+ include(CheckIncludeFile)
+ include(CheckIncludeFiles)
+ include(CheckIncludeFileCXX)
+diff '--color=auto' -r -U3 src.orig/gle/CMakeLists.txt src/gle/CMakeLists.txt
+--- src.orig/gle/CMakeLists.txt 2025-04-04 21:33:02.000000000 +0700
++++ src/gle/CMakeLists.txt 2025-05-09 15:37:46.627110918 +0700
+@@ -1,3 +1,4 @@
++cmake_policy(SET CMP0177 NEW) # normalize DESTINATION paths
+
+ set(GLE_SOURCES
+ bitmap/img2ps.cpp
+diff '--color=auto' -r -U3 src.orig/TeX/CMakeLists.txt src/TeX/CMakeLists.txt
+--- src.orig/TeX/CMakeLists.txt 2025-04-04 21:33:02.000000000 +0700
++++ src/TeX/CMakeLists.txt 2025-05-09 15:37:46.627335526 +0700
+@@ -44,6 +44,7 @@
+ # CONFIGURATIONS Release Debug
+ # DESTINATION .
+ # )
++cmake_policy(SET CMP0177 NEW) # normalize DESTINATION paths
+
+ install(FILES
+ init.tex
diff --git a/sci-visualization/gle/files/install-dirs.patch b/sci-visualization/gle/files/install-dirs.patch
new file mode 100644
index 000000000000..f73cf75ab0a9
--- /dev/null
+++ b/sci-visualization/gle/files/install-dirs.patch
@@ -0,0 +1,65 @@
+diff '--color=auto' -r -U3 src.orig/CMakeLists.txt src/CMakeLists.txt
+--- src.orig/CMakeLists.txt 2025-04-04 21:33:02.000000000 +0700
++++ src/CMakeLists.txt 2025-05-07 13:15:48.636179953 +0700
+@@ -580,18 +580,17 @@
+
+ # documentation file installation in doc folder
+ install(FILES
+- ../doc/LICENSE.txt
+ ../doc/README.txt
+ ../doc/ChangeLog.txt
+ CONFIGURATIONS Release Debug
+- DESTINATION ./doc
++ DESTINATION ./${GLEDOC}
+ )
+ #
+ # -- install include files from gle-library repo
+ #
+ install(DIRECTORY
+ ${GLE_EXAMPLES_LIBRARY_PATH}/include/
+- DESTINATION ./gleinc
++ DESTINATION ./share/gle/gleinc
+ CONFIGURATIONS Release Debug
+ OPTIONAL
+ PATTERN "*.gle"
+@@ -602,7 +601,7 @@
+ #
+ install(FILES
+ ${GLE_USER_MANUAL_PATH}/gle-manual.pdf
+- DESTINATION ./doc
++ DESTINATION ./${GLEDOC}
+ CONFIGURATIONS Release Debug
+ OPTIONAL
+ )
+diff '--color=auto' -r -U3 src.orig/fonts/CMakeLists.txt src/fonts/CMakeLists.txt
+--- src.orig/fonts/CMakeLists.txt 2025-04-04 21:33:02.000000000 +0700
++++ src/fonts/CMakeLists.txt 2025-05-07 13:15:15.580233720 +0700
+@@ -310,5 +310,5 @@
+ ${FMT_FILES}
+ ${FVE_FILES}
+ CONFIGURATIONS Release Debug
+- DESTINATION font)
++ DESTINATION ./share/gle/font)
+
+diff '--color=auto' -r -U3 src.orig/gle/CMakeLists.txt src/gle/CMakeLists.txt
+--- src.orig/gle/CMakeLists.txt 2025-04-04 21:33:02.000000000 +0700
++++ src/gle/CMakeLists.txt 2025-05-07 13:15:15.580978515 +0700
+@@ -201,5 +201,5 @@
+
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/glerc
+ CONFIGURATIONS Release Debug
+- DESTINATION . )
++ DESTINATION ./share/gle )
+
+diff '--color=auto' -r -U3 src.orig/TeX/CMakeLists.txt src/TeX/CMakeLists.txt
+--- src.orig/TeX/CMakeLists.txt 2025-04-04 21:33:02.000000000 +0700
++++ src/TeX/CMakeLists.txt 2025-05-07 13:15:15.581572441 +0700
+@@ -48,7 +48,7 @@
+ install(FILES
+ init.tex
+ CONFIGURATIONS Release Debug
+- DESTINATION .
++ DESTINATION ./share/gle
+ )
+ # make the inittex.ini in the install folder
+ install(CODE
diff --git a/sci-visualization/gle/files/qgle.sh b/sci-visualization/gle/files/qgle.sh
new file mode 100644
index 000000000000..13ec7070df98
--- /dev/null
+++ b/sci-visualization/gle/files/qgle.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+export GLE_TOP=/usr/share/gle
+exec /usr/bin/qgle.bin $*
diff --git a/sci-visualization/gle/files/zstd-shared.patch b/sci-visualization/gle/files/zstd-shared.patch
new file mode 100644
index 000000000000..8d80486d4efa
--- /dev/null
+++ b/sci-visualization/gle/files/zstd-shared.patch
@@ -0,0 +1,28 @@
+diff '--color=auto' -r -U3 src.orig/gle/CMakeLists.txt src/gle/CMakeLists.txt
+--- src.orig/gle/CMakeLists.txt 2025-04-04 21:33:02.000000000 +0700
++++ src/gle/CMakeLists.txt 2025-05-07 12:09:15.269438466 +0700
+@@ -129,10 +129,10 @@
+
+ if(ZSTD_FOUND)
+ target_link_libraries ( gle LINK_PUBLIC
+- zstd::libzstd_static
++ zstd::libzstd_shared
+ )
+ target_link_libraries ( gle-graphics LINK_PUBLIC
+- zstd::libzstd_static
++ zstd::libzstd_shared
+ )
+ endif()
+
+diff '--color=auto' -r -U3 src.orig/gui/CMakeLists.txt src/gui/CMakeLists.txt
+--- src.orig/gui/CMakeLists.txt 2025-04-04 21:33:02.000000000 +0700
++++ src/gui/CMakeLists.txt 2025-05-07 12:09:48.146105759 +0700
+@@ -102,7 +102,7 @@
+
+ if(ZSTD_FOUND)
+ list(APPEND QGLE_LIBRARIES
+- zstd::libzstd_static
++ zstd::libzstd_shared
+ )
+ endif()
+
diff --git a/sci-visualization/gle/gle-4.3.6.ebuild b/sci-visualization/gle/gle-4.3.6.ebuild
new file mode 100644
index 000000000000..3b482c359712
--- /dev/null
+++ b/sci-visualization/gle/gle-4.3.6.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CMAKE_BUILD_TYPE=Release
+inherit cmake elisp-common flag-o-matic
+
+DESCRIPTION="Graphics Layout Engine"
+HOMEPAGE="https://glx.sourceforge.io/ https://github.com/vlabella/GLE/"
+SRC_URI="https://github.com/vlabella/GLE/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/vlabella/gle-library/archive/refs/tags/v${PV}.tar.gz -> ${PN}-library-${PV}.tar.gz
+ doc? ( https://github.com/vlabella/gle-manual/archive/refs/tags/v${PV}.tar.gz -> ${PN}-manual-${PV}.tar.gz )
+ emacs? ( https://dev.gentoo.org/~grozin/gle-mode.el.gz )"
+S="${WORKDIR}"/GLE-${PV}/src
+LICENSE="BSD GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc emacs gui manip"
+
+DEPEND="app-text/ghostscript-gpl
+ app-text/poppler
+ dev-libs/boost
+ media-libs/libpng
+ media-libs/tiff
+ sys-libs/zlib
+ media-libs/libjpeg-turbo
+ x11-libs/cairo
+ x11-libs/pixman
+ gui? (
+ media-libs/freeglut
+ media-libs/glu
+ dev-qt/qtcore:5
+ dev-qt/qtdbus:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtopengl:5
+ dev-qt/qtwidgets:5
+ )
+ manip? ( sys-libs/ncurses:0 )
+ emacs? ( app-editors/emacs:* )"
+RDEPEND="${DEPEND}
+ virtual/latex-base"
+BDEPEND="kde-frameworks/extra-cmake-modules
+ doc? ( virtual/latex-base )"
+
+PATCHES=( "${FILESDIR}"/install-dirs.patch "${FILESDIR}"/zstd-shared.patch "${FILESDIR}"/cmake-cmp0177.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=(
+ -DGLEDOC=share/doc/${PF}
+ -DGLE_EXAMPLES_LIBRARY_PATH="${WORKDIR}"/gle-library-${PV}
+ -DBUILD_GUI=$(usex gui)
+ -DBUILD_MANIP=$(usex manip)
+ )
+ cmake_src_configure
+}
+
+src_compile() {
+ cmake_src_compile
+ use emacs && elisp-compile "${WORKDIR}"/*.el
+
+ # I don't really understand why is this hack needed
+ sed -e 's/|+//' -i "${BUILD_DIR}"/gle/cmake_install.cmake
+}
+
+src_install() {
+ cmake_src_install
+ mv "${D}"/usr/bin/gle "${D}"/usr/bin/gle.bin
+ newbin "${FILESDIR}"/gle.sh gle
+ mv "${D}"/usr/bin/qgle "${D}"/usr/bin/qgle.bin
+ newbin "${FILESDIR}"/qgle.sh qgle
+ GLE_TOP="${D}"/usr/share/${PN} "${D}"/usr/bin/gle.bin -mkinittex
+ if use doc; then
+ pushd "$WORKDIR"/gle-manual-${PV} > /dev/null || die "pushd gle_manual failed"
+ patch -p1 < "FILESDIR"/latexmk.patch
+ export GLE_TOP="${D}"/usr/share/gle
+ export PATH="${D}"/usr/bin:${PATH}
+ make -f Makefile.gcc GLE="${D}"/usr/bin/gle.bin
+ dodoc gle-manual.pdf
+ popd > /dev/null
+ fi
+ 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
+}
diff --git a/sci-visualization/gle/metadata.xml b/sci-visualization/gle/metadata.xml
index 436234231cdc..bcd80dd91c43 100644
--- a/sci-visualization/gle/metadata.xml
+++ b/sci-visualization/gle/metadata.xml
@@ -15,6 +15,9 @@
range of facilities for producing publication-quality graphs,
diagrams, posters and slides.
</longdescription>
+ <use>
+ <flag name="manip">Build data manipulation program</flag>
+ </use>
<upstream>
<remote-id type="github">vlabella/gle</remote-id>
<remote-id type="sourceforge">glx</remote-id>
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/gle/, sci-visualization/gle/files/
@ 2023-08-22 8:39 Andrey Grozin
0 siblings, 0 replies; 9+ messages in thread
From: Andrey Grozin @ 2023-08-22 8:39 UTC (permalink / raw
To: gentoo-commits
commit: 2141de0308768993d9d21770c828d0c7425ba8dd
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 22 08:39:31 2023 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Tue Aug 22 08:39:31 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2141de03
sci-visualization/gle: remove old versions
Signed-off-by: Andrey Grozin <grozin <AT> 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..000000000000
--- 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.000000000 +0700
-+++ src/makefmt/makefmt.cpp 2022-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.txt 2022-04-14 02:47:12.000000000 +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..000000000000
--- 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.txt 2022-04-14 02:47:12.000000000 +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/pixman-1 REQUIRED)
- if(PIXMAN_FOUND)
- message("-- Found PIXMAN: " ${PIXMAN_LIBRARIES} )
diff --git a/sci-visualization/gle/files/ghostscript.patch b/sci-visualization/gle/files/ghostscript.patch
deleted file mode 100644
index 576477ca17c3..000000000000
--- a/sci-visualization/gle/files/ghostscript.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-diff -r -U2 src.orig/CMakeLists.txt src/CMakeLists.txt
---- src.orig/CMakeLists.txt 2022-04-14 02:47:12.000000000 +0700
-+++ src/CMakeLists.txt 2022-12-20 13:03:11.386586253 +0700
-@@ -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} )
-
diff --git a/sci-visualization/gle/files/install.patch b/sci-visualization/gle/files/install.patch
deleted file mode 100644
index b4a82f5548f6..000000000000
--- a/sci-visualization/gle/files/install.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff -r -U2 src.orig/TeX/CMakeLists.txt src/TeX/CMakeLists.txt
---- src.orig/TeX/CMakeLists.txt 2022-04-14 02:47:12.000000000 +0700
-+++ src/TeX/CMakeLists.txt 2022-12-20 13:34:00.953502995 +0700
-@@ -52,11 +52,11 @@
- )
- # make the inittex.ini in the install folder
--install(CODE "execute_process(COMMAND ${CMAKE_INSTALL_PREFIX}/bin/gle$<$<CONFIG:Debug>:d> -mkinittex)")
-+# install(CODE "execute_process(COMMAND ${CMAKE_INSTALL_PREFIX}/bin/gle$<$<CONFIG:Debug>:d> -mkinittex)")
- # explicity install inittex.ini for cpack even though its created in this directory
- # from gle -mkinittex command above
--install(FILES
-- ${CMAKE_INSTALL_PREFIX}/inittex.ini
-- CONFIGURATIONS Release Debug
-- DESTINATION .
--)
-+# install(FILES
-+# ${CMAKE_INSTALL_PREFIX}/inittex.ini
-+# CONFIGURATIONS Release Debug
-+# DESTINATION .
-+# )
diff --git a/sci-visualization/gle/files/lic.patch b/sci-visualization/gle/files/lic.patch
deleted file mode 100644
index 3bfa54a1de65..000000000000
--- a/sci-visualization/gle/files/lic.patch
+++ /dev/null
@@ -1,9 +0,0 @@
-diff -r -U2 src.orig/CMakeLists.txt src/CMakeLists.txt
---- src.orig/CMakeLists.txt 2022-04-14 02:47:12.000000000 +0700
-+++ src/CMakeLists.txt 2022-12-20 13:03:11.386586253 +0700
-@@ -398,5 +401,4 @@
- # documentation file installation in doc folder
- install(FILES
-- ../doc/LICENSE.txt
- ../doc/README.txt
- ../doc/ChangeLog.txt
diff --git a/sci-visualization/gle/files/link.patch b/sci-visualization/gle/files/link.patch
deleted file mode 100644
index b565670cbd09..000000000000
--- a/sci-visualization/gle/files/link.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff -r -U2 src.orig/gui/CMakeLists.txt src/gui/CMakeLists.txt
---- src.orig/gui/CMakeLists.txt 2022-04-14 02:47:12.000000000 +0700
-+++ src/gui/CMakeLists.txt 2022-12-19 10:21:59.026388957 +0700
-@@ -54,11 +54,14 @@
- $<$<PLATFORM_ID:Windows>:qgle.rc>
- )
--# no jpeg as its contianed in Qt
-+# no jpeg as its contained in Qt
-+# but need to add JPEG for Linux!
-+# 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
diff --git a/sci-visualization/gle/files/wayland.patch b/sci-visualization/gle/files/wayland.patch
deleted file mode 100644
index acdbc43a08bc..000000000000
--- a/sci-visualization/gle/files/wayland.patch
+++ /dev/null
@@ -1,10 +0,0 @@
-diff -r -U2 src.orig/gui/main.cpp src/gui/main.cpp
---- src.orig/gui/main.cpp 2022-04-14 02:47:12.000000000 +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 --git a/sci-visualization/gle/gle-4.3.3-r3.ebuild b/sci-visualization/gle/gle-4.3.3-r3.ebuild
deleted file mode 100644
index 5c2be2635c7d..000000000000
--- a/sci-visualization/gle/gle-4.3.3-r3.ebuild
+++ /dev/null
@@ -1,94 +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
- https://dev.gentoo.org/~grozin/gle-c++17.patch.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=( \
- "${WORKDIR}"/${PN}-c++17.patch \
- "${FILESDIR}"/cairo-pixman.patch \
- "${FILESDIR}"/ghostscript.patch \
- "${FILESDIR}"/link.patch \
- "${FILESDIR}"/array.patch \
- "${FILESDIR}"/wayland.patch \
- "${FILESDIR}"/install.patch \
- "${FILESDIR}"/lic.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
-}
diff --git a/sci-visualization/gle/gle-4.3.4.ebuild b/sci-visualization/gle/gle-4.3.4.ebuild
deleted file mode 100644
index 7602f290b544..000000000000
--- a/sci-visualization/gle/gle-4.3.4.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# 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 )
- 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
- elisp-site-file-install "${FILESDIR}/${SITEFILE}"
- fi
-}
-
-pkg_postinst() {
- use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
- use emacs && elisp-site-regen
-}
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/gle/, sci-visualization/gle/files/
@ 2023-05-14 10:29 Andreas Sturmlechner
0 siblings, 0 replies; 9+ messages in thread
From: Andreas Sturmlechner @ 2023-05-14 10:29 UTC (permalink / raw
To: gentoo-commits
commit: 0bfba004e7ce52ca5071702176c7cd63b3d5093b
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun May 14 07:25:45 2023 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun May 14 10:27:50 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bfba004
sci-visualization/gle: drop 4.2.5-r4
Signed-off-by: Andreas Sturmlechner <asturm <AT> 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..000000000000
--- 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.h 2015-08-16 13:51:24.000000000 +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.cpp 2015-08-16 13:51:24.000000000 +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 <stdio.h>
- #include <math.h>
-+#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..000000000000
--- 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_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/files/gle-4.2.5-parallel.patch b/sci-visualization/gle/files/gle-4.2.5-parallel.patch
deleted file mode 100644
index eeca1f5946ba..000000000000
--- a/sci-visualization/gle/files/gle-4.2.5-parallel.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-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.000000000 +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-r4.ebuild b/sci-visualization/gle/gle-4.2.5-r4.ebuild
deleted file mode 100644
index 88e3c6d80dd6..000000000000
--- a/sci-visualization/gle/gle-4.2.5-r4.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# Copyright 1999-2022 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}
-
-DESCRIPTION="Graphics Layout Engine"
-HOMEPAGE="https://glx.sourceforge.net"
-SRC_URI="mirror://sourceforge/glx/${MY_P}f-src.tar.gz"
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="BSD-2 emacs? ( GPL-2 )"
-SLOT="0"
-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:* )
- jpeg? ( media-libs/libjpeg-turbo:= )
- 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
- )
- )"
-BDEPEND="doc? ( dev-texlive/texlive-latexextra )"
-
-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
- use doc && emake -j1 doc
-
- if use emacs; then
- 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 || die
- dodoc README.txt
-
- use doc && dodoc build/doc/gle-manual.pdf
-
- if use emacs; then
- 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/* || die
- 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
-}
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/gle/, sci-visualization/gle/files/
@ 2022-12-24 6:23 Andrey Grozin
0 siblings, 0 replies; 9+ messages in thread
From: Andrey Grozin @ 2022-12-24 6:23 UTC (permalink / raw
To: gentoo-commits
commit: acf10dea930bd45a1a70e4d72d698bff7f01a14a
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 24 06:22:45 2022 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Sat Dec 24 06:22:45 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acf10dea
sci-visualization/gle: remove old revision
Signed-off-by: Andrey Grozin <grozin <AT> 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..000000000000
--- 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.txt 2022-04-14 02:47:12.000000000 +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.txt 2022-04-14 02:47:12.000000000 +0700
-+++ src/gui/CMakeLists.txt 2022-12-19 10:21:59.026388957 +0700
-@@ -54,11 +54,14 @@
- $<$<PLATFORM_ID:Windows>: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.000000000 +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.000000000 +0700
-+++ src/gui/qgs.h 2022-12-19 10:21:59.068388958 +0700
-@@ -40,7 +40,7 @@
- #include "gsinc/ierrors.h"
- #else
--#include <ierrors.h>
--#include <iapi.h>
--#include <gdevdsp.h>
-+#include <ghostscript/ierrors.h>
-+#include <ghostscript/iapi.h>
-+#include <ghostscript/gdevdsp.h>
-
- #endif
-diff -r -U2 src.orig/makefmt/makefmt.cpp src/makefmt/makefmt.cpp
---- src.orig/makefmt/makefmt.cpp 2022-04-14 02:47:12.000000000 +0700
-+++ src/makefmt/makefmt.cpp 2022-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.txt 2022-04-14 02:47:12.000000000 +0700
-+++ src/TeX/CMakeLists.txt 2022-12-20 13:34:00.953502995 +0700
-@@ -52,11 +52,11 @@
- )
- # make the inittex.ini in the install folder
--install(CODE "execute_process(COMMAND ${CMAKE_INSTALL_PREFIX}/bin/gle$<$<CONFIG:Debug>:d> -mkinittex)")
-+# install(CODE "execute_process(COMMAND ${CMAKE_INSTALL_PREFIX}/bin/gle$<$<CONFIG:Debug>:d> -mkinittex)")
- # explicity install inittex.ini for cpack even though its created in this directory
- # from gle -mkinittex command above
--install(FILES
-- ${CMAKE_INSTALL_PREFIX}/inittex.ini
-- CONFIGURATIONS Release Debug
-- DESTINATION .
--)
-+# install(FILES
-+# ${CMAKE_INSTALL_PREFIX}/inittex.ini
-+# CONFIGURATIONS Release Debug
-+# DESTINATION .
-+# )
-
-Только в src/TeX: CMakeLists.txt~
diff --git a/sci-visualization/gle/gle-4.3.3-r2.ebuild b/sci-visualization/gle/gle-4.3.3-r2.ebuild
deleted file mode 100644
index 63f5cc0125d8..000000000000
--- a/sci-visualization/gle/gle-4.3.3-r2.ebuild
+++ /dev/null
@@ -1,84 +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/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
-}
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/gle/, sci-visualization/gle/files/
@ 2019-04-11 20:49 David Seifert
0 siblings, 0 replies; 9+ messages in thread
From: David Seifert @ 2019-04-11 20:49 UTC (permalink / raw
To: gentoo-commits
commit: bc9d0ab7531be52dcde085e832feac2f3a9b7e99
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 11 20:48:11 2019 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Thu Apr 11 20:48:53 2019 +0000
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 <soap <AT> 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 00000000000..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
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/gle/, sci-visualization/gle/files/
@ 2018-01-13 8:15 Andrey Grozin
0 siblings, 0 replies; 9+ messages in thread
From: Andrey Grozin @ 2018-01-13 8:15 UTC (permalink / raw
To: gentoo-commits
commit: d886010781dc6f67ccf137b8e1397b225238793f
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 13 08:14:40 2018 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Sat Jan 13 08:14:40 2018 +0000
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 00000000000..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.h 2015-08-16 13:51:24.000000000 +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.cpp 2015-08-16 13:51:24.000000000 +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 <stdio.h>
+ #include <math.h>
++#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 00000000000..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.000000000 +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
}
^ permalink raw reply related [flat|nested] 9+ messages in thread
end of thread, other threads:[~2025-10-13 6:11 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-21 12:43 [gentoo-commits] repo/gentoo:master commit in: sci-visualization/gle/, sci-visualization/gle/files/ Andrey Grozin
-- strict thread matches above, loose matches on Subject: below --
2025-10-13 6:11 Andrey Grozin
2025-05-16 12:33 Andrey Grozin
2025-05-09 10:25 Andrey Grozin
2023-08-22 8:39 Andrey Grozin
2023-05-14 10:29 Andreas Sturmlechner
2022-12-24 6:23 Andrey Grozin
2019-04-11 20:49 David Seifert
2018-01-13 8:15 Andrey Grozin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox