commit:     5c11268b88a2be69caae6d00f17a5a8df914dd46
Author:     Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 13 06:18:32 2025 +0000
Commit:     Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Mon Oct 13 06:18:32 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c11268b

sci-visualization/gle: remove old version

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/latexmk.patch       |  21 -----
 sci-visualization/gle/files/license.patch       |  11 ---
 sci-visualization/gle/files/tiff.patch          |   9 ---
 sci-visualization/gle/files/zstd-shared.patch   |  28 -------
 sci-visualization/gle/gle-4.3.7.ebuild          | 101 ------------------------
 8 files changed, 271 deletions(-)

diff --git a/sci-visualization/gle/Manifest b/sci-visualization/gle/Manifest
index dc91d2383b01..6ddba01c6128 100644
--- a/sci-visualization/gle/Manifest
+++ b/sci-visualization/gle/Manifest
@@ -1,7 +1,4 @@
-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/cmake-cmp0177.patch 
b/sci-visualization/gle/files/cmake-cmp0177.patch
deleted file mode 100644
index 29fc17d71e3e..000000000000
--- a/sci-visualization/gle/files/cmake-cmp0177.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-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
deleted file mode 100644
index f73cf75ab0a9..000000000000
--- a/sci-visualization/gle/files/install-dirs.patch
+++ /dev/null
@@ -1,65 +0,0 @@
-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/latexmk.patch 
b/sci-visualization/gle/files/latexmk.patch
deleted file mode 100644
index 7b723a9bf2ba..000000000000
--- a/sci-visualization/gle/files/latexmk.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff '--color=auto' -r -U3 gle-manual-4.3.6.orig/Makefile.gcc 
gle-manual-4.3.6/Makefile.gcc
---- gle-manual-4.3.6.orig/Makefile.gcc 2025-04-05 03:19:08.000000000 +0700
-+++ gle-manual-4.3.6/Makefile.gcc      2025-05-14 11:54:38.311675981 +0700
-@@ -52,7 +52,7 @@
- 
- ifneq ($(UNAME_S),Darwin)
- pdf: defs.tex
--      pdflatex gle-manual.tex
-+      latexmk -pdf gle-manual.tex
- else
- # define the APPLE command to elimnate the countour plots for macOS in 
utilities\countour.tex
- # the coutour figures cause a seg fault in GLE and this workaround eliminates
-@@ -63,7 +63,7 @@
- 
- 
- dvi:
--      latex gle-manual.tex
-+      latexmk -dvi gle-manual.tex
- 
- index:
-       makeindex gle-manual

diff --git a/sci-visualization/gle/files/license.patch 
b/sci-visualization/gle/files/license.patch
deleted file mode 100644
index 05b44088f420..000000000000
--- a/sci-visualization/gle/files/license.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-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
deleted file mode 100644
index 98bdc2e018d8..000000000000
--- a/sci-visualization/gle/files/tiff.patch
+++ /dev/null
@@ -1,9 +0,0 @@
-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/files/zstd-shared.patch 
b/sci-visualization/gle/files/zstd-shared.patch
deleted file mode 100644
index 8d80486d4efa..000000000000
--- a/sci-visualization/gle/files/zstd-shared.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-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.7.ebuild 
b/sci-visualization/gle/gle-4.3.7.ebuild
deleted file mode 100644
index 975f8b76880f..000000000000
--- a/sci-visualization/gle/gle-4.3.7.ebuild
+++ /dev/null
@@ -1,101 +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 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/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}"/cmake-cmp0177.patch
-       "${FILESDIR}"/install-dirs.patch
-       "${FILESDIR}"/top_dir.patch
-       "${FILESDIR}"/zstd-shared.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
-       #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"
-               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
-}

Reply via email to