From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CF4091582EF for ; Sun, 09 Feb 2025 14:16:10 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id B0A94343022 for ; Sun, 09 Feb 2025 14:16:10 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id AD6E31103CB; Sun, 09 Feb 2025 14:16:09 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id A1CA61103CB for ; Sun, 09 Feb 2025 14:16:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 46BB6343022 for ; Sun, 09 Feb 2025 14:16:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AA6141D29 for ; Sun, 09 Feb 2025 14:16:07 +0000 (UTC) From: "Andrey Grozin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrey Grozin" Message-ID: <1739110536.27eca3daadb6397802d22f3e06e754afc8db7698.grozin@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-visualization/gle/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-visualization/gle/Manifest sci-visualization/gle/gle-4.3.5.ebuild X-VCS-Directories: sci-visualization/gle/ X-VCS-Committer: grozin X-VCS-Committer-Name: Andrey Grozin X-VCS-Revision: 27eca3daadb6397802d22f3e06e754afc8db7698 X-VCS-Branch: master Date: Sun, 09 Feb 2025 14:16:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b74f0d6e-0092-45fb-a3c8-a611d352743e X-Archives-Hash: eecfd59129328bd31314458c9461dbdf commit: 27eca3daadb6397802d22f3e06e754afc8db7698 Author: Andrey Grozin gentoo org> AuthorDate: Sun Feb 9 14:14:55 2025 +0000 Commit: Andrey Grozin gentoo org> CommitDate: Sun Feb 9 14:15:36 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27eca3da sci-visualization/gle: bump to 4.3.5 Signed-off-by: Andrey Grozin gentoo.org> sci-visualization/gle/Manifest | 2 + sci-visualization/gle/gle-4.3.5.ebuild | 89 ++++++++++++++++++++++++++++++++++ 2 files changed, 91 insertions(+) diff --git a/sci-visualization/gle/Manifest b/sci-visualization/gle/Manifest index 0bb3855bdcd3..53f4077c93a6 100644 --- a/sci-visualization/gle/Manifest +++ b/sci-visualization/gle/Manifest @@ -1,4 +1,6 @@ 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-4.3.5.pdf 4050569 BLAKE2B 1d5010ff92ce41180b9a91eddb0c3b410e2264b4e3a73012eaa8592eadf3229890f0a90b6b850ef76c880827a767828fad2b6bea62a4f15f6642cdca52b6851f SHA512 ea65a8968830a642731bb66d0a8d00a932efcf4812104b31289f7faecf998db7c838b58a4b652430f781c90b954e3079231012c326e4f53b3f62c715b4dd892b +DIST gle-4.3.5.tar.gz 1804056 BLAKE2B 31c72b9e7204a0dcc48ceff700b8e6db07c052fcdb1a676bf3f53944fcf581b82c46073a4dfa9e20f316d0be977846c7361669691007da903ec7e477464c7b85 SHA512 80f109bfa2969335a8d6ca75fd4fb18363e0ed51df127729e7e31370a651e7590fe33681031784eaeac8c1cb6c084d7809bd989955ce04b6729c76ebaf0a712a DIST gle-library.tar.gz 1073620 BLAKE2B 051f9584dbf3195c7598ae54b12ab8d373e8054e8ff4c3d1dfed70319c29c5cb8bb1f0baff127768bcf9e36e4f52be3b3238e786e1598d1cdfbd6d1af6d6bdd3 SHA512 af6a46f2bd945714679eb9d8ca4c70ca9a741cf6652590eb3a8d9422059f49ce3d2c33418c37899bd54f9e0bc0085ae82ffd2f2b84b77879e2f2d09a0026d12a DIST gle-mode.el.gz 7359 BLAKE2B bcbc61651f87f3ee1d079fc0a0de38788523a5ee33f56087b89f4e15b9ef5ee4010cf47679c38da3dfae1954ddbfee4728d10c0af6530f645ff63ab2b219da09 SHA512 c8d291c23f53346d8a44b7d95d737da88c6ec0af597fb8298a564a5567a9e9a0db658d14c3cb43157d58614e65cf2293eaeb01528a7a49722a2da07e16f940e1 diff --git a/sci-visualization/gle/gle-4.3.5.ebuild b/sci-visualization/gle/gle-4.3.5.ebuild new file mode 100644 index 000000000000..bb81806b3d94 --- /dev/null +++ b/sci-visualization/gle/gle-4.3.5.ebuild @@ -0,0 +1,89 @@ +# 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 +}