* [gentoo-commits] repo/gentoo:master commit in: media-gfx/libredwg/
@ 2021-05-24 8:37 Andrew Ammerlaan
0 siblings, 0 replies; 23+ messages in thread
From: Andrew Ammerlaan @ 2021-05-24 8:37 UTC (permalink / raw
To: gentoo-commits
commit: 39475d0f0bd78c990693517044643cea39477369
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Mon May 24 08:30:28 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Mon May 24 08:30:28 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39475d0f
media-gfx/libredwg: import from ::sci
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
media-gfx/libredwg/Manifest | 1 +
media-gfx/libredwg/libredwg-0.12.4.ebuild | 78 +++++++++++++++++++++++++++++++
media-gfx/libredwg/metadata.xml | 12 +++++
3 files changed, 91 insertions(+)
diff --git a/media-gfx/libredwg/Manifest b/media-gfx/libredwg/Manifest
new file mode 100644
index 00000000000..1899b90fb65
--- /dev/null
+++ b/media-gfx/libredwg/Manifest
@@ -0,0 +1 @@
+DIST libredwg-0.12.4.tar.gz 18318912 BLAKE2B 21ff443881c19782c747ddf880eba23090295432edf4367161472aeef970e1b93983967e667ca2c3e140bf0b97e7b238bbe4a342815df365cee10bde83a04178 SHA512 df9424f475be512a6e9e02a1156a7d6a966f684f5753f420843593ee9dc236bd33bd10dbd627bab1b9adab9b8e7cb3a6b464c15e643ae755bc7e11974c05cd7a
diff --git a/media-gfx/libredwg/libredwg-0.12.4.ebuild b/media-gfx/libredwg/libredwg-0.12.4.ebuild
new file mode 100644
index 00000000000..f6d7f18dea1
--- /dev/null
+++ b/media-gfx/libredwg/libredwg-0.12.4.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+DOCS_BUILDER="doxygen"
+# File is hardcoded to be run from ../ so we use this instead of DOCS_DIR
+DOCS_CONFIG_NAME="doc/Doxyfile"
+
+inherit docs python-single-r1 perl-functions
+
+DESCRIPTION="C library to handle DWG files"
+HOMEPAGE="https://www.gnu.org/software/libredwg/"
+SRC_URI="https://github.com/LibreDWG/${PN}/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# https://github.com/LibreDWG/libredwg/issues/342
+RESTRICT="test"
+
+IUSE="debug python perl static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+ python? ( ${PYTHON_DEPS} )
+ perl? ( dev-lang/perl )
+ dev-libs/libpcre2
+ dev-libs/pslib
+"
+DEPEND="${RDEPEND}
+ python? ( dev-lang/swig )
+ perl? ( dev-lang/swig )
+"
+
+src_configure() {
+ perl_set_version
+ local myconf=(
+ --enable-write
+ --enable-dxf
+ --enable-json
+ --disable-gcov
+ $(use_enable !debug release)
+ $(use_enable debug trace)
+ $(use_enable debug)
+ $(use_enable static-libs static)
+ $(use_enable python python "${EPYTHON}")
+ $(usex perl "--with-perl-install=vendor" "--with-perl-install=no")
+ )
+
+ if use python || use perl; then
+ myconf+=( --enable-bindings )
+ else
+ myconf+=( --disable-bindings )
+ fi
+
+ econf ${myconf[@]}
+
+ # Fix variable references itself error, fails in src_install otherwise.
+ # Can't put this in src_prepare and use eautoreconf because eautoreconf
+ # only works inside a git repository for this package.
+ sed -i -e 's/TEXINPUTS = "$(TEXINPUTS)$(PATH_SEPARATOR)$(TEXINFO_TEX_DIR)"/TEXINPUTS = "$(PATH_SEPARATOR)$(TEXINFO_TEX_DIR)"/g' doc/Makefile || die
+}
+
+src_compile() {
+ perl_set_version
+ emake
+ docs_compile
+}
+
+src_install() {
+ perl_set_version
+ default
+ use python && python_optimize
+ use perl && perl_domodule bindings/perl/LibreDWG.pm
+}
diff --git a/media-gfx/libredwg/metadata.xml b/media-gfx/libredwg/metadata.xml
new file mode 100644
index 00000000000..a65951be266
--- /dev/null
+++ b/media-gfx/libredwg/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>andrewammerlaan@gentoo.org</email>
+ <name>Andrew Ammerlaan</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">LibreDWG/libredwg</remote-id>
+ <bugs-to>https://github.com/LibreDWG/libredwg/issues</bugs-to>
+ </upstream>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/libredwg/
@ 2021-07-19 10:46 Andrew Ammerlaan
0 siblings, 0 replies; 23+ messages in thread
From: Andrew Ammerlaan @ 2021-07-19 10:46 UTC (permalink / raw
To: gentoo-commits
commit: 71b7afa9cb06a03cf9135fc9ee8c135cbc918a6f
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 19 10:41:48 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Mon Jul 19 10:46:06 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71b7afa9
media-gfx/libredwg: bdep on gcc[sanitize]/clang...[asan]
Closes: https://bugs.gentoo.org/802885
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
media-gfx/libredwg/libredwg-0.12.4.ebuild | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/media-gfx/libredwg/libredwg-0.12.4.ebuild b/media-gfx/libredwg/libredwg-0.12.4.ebuild
index f6d7f18dea1..6edddbd8e78 100644
--- a/media-gfx/libredwg/libredwg-0.12.4.ebuild
+++ b/media-gfx/libredwg/libredwg-0.12.4.ebuild
@@ -34,6 +34,11 @@ DEPEND="${RDEPEND}
python? ( dev-lang/swig )
perl? ( dev-lang/swig )
"
+BDEPEND="|| (
+ sys-devel/gcc[sanitize]
+ sys-libs/compiler-rt-sanitizers[asan(-)]
+ )
+"
src_configure() {
perl_set_version
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/libredwg/
@ 2021-11-28 12:51 Andrew Ammerlaan
0 siblings, 0 replies; 23+ messages in thread
From: Andrew Ammerlaan @ 2021-11-28 12:51 UTC (permalink / raw
To: gentoo-commits
commit: bc073d3b86e9290fd4fedabad640b8795cdecc12
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 28 12:19:42 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sun Nov 28 12:51:28 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc073d3b
media-gfx/libredwg: enable py3.10
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
media-gfx/libredwg/libredwg-0.12.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-gfx/libredwg/libredwg-0.12.4.ebuild b/media-gfx/libredwg/libredwg-0.12.4.ebuild
index 6edddbd8e788..27fe56204a7b 100644
--- a/media-gfx/libredwg/libredwg-0.12.4.ebuild
+++ b/media-gfx/libredwg/libredwg-0.12.4.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{7..10} )
DOCS_BUILDER="doxygen"
# File is hardcoded to be run from ../ so we use this instead of DOCS_DIR
DOCS_CONFIG_NAME="doc/Doxyfile"
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/libredwg/
@ 2022-02-19 11:12 Andrew Ammerlaan
0 siblings, 0 replies; 23+ messages in thread
From: Andrew Ammerlaan @ 2022-02-19 11:12 UTC (permalink / raw
To: gentoo-commits
commit: 159517c6d1f9ce7e49fe79817b3c94639611389b
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 19 11:11:19 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sat Feb 19 11:12:21 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=159517c6
media-gfx/libredwg: add version 0.12.5
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
media-gfx/libredwg/Manifest | 2 +
media-gfx/libredwg/libredwg-0.12.5.ebuild | 110 ++++++++++++++++++++++++++++++
2 files changed, 112 insertions(+)
diff --git a/media-gfx/libredwg/Manifest b/media-gfx/libredwg/Manifest
index 1899b90fb653..9890c3c5ce28 100644
--- a/media-gfx/libredwg/Manifest
+++ b/media-gfx/libredwg/Manifest
@@ -1 +1,3 @@
DIST libredwg-0.12.4.tar.gz 18318912 BLAKE2B 21ff443881c19782c747ddf880eba23090295432edf4367161472aeef970e1b93983967e667ca2c3e140bf0b97e7b238bbe4a342815df365cee10bde83a04178 SHA512 df9424f475be512a6e9e02a1156a7d6a966f684f5753f420843593ee9dc236bd33bd10dbd627bab1b9adab9b8e7cb3a6b464c15e643ae755bc7e11974c05cd7a
+DIST libredwg-0.12.5.tar.gz 16855123 BLAKE2B 2ca0bfafdb0ca6e412d3aaf7df21f80a2eed4bad795bffacc1c767f23dc555b35b2aeedb35dffab099c5dbab2890f9363cfc1508c3fec16a6ff51ce79a272e3e SHA512 0b5da6e863410d9ce012d311e921a39fa0d9cb6d96d17f1df70ca767c1768cd625e35503f24830a6a33400ede92d14b36ce87b92f177a5af7e6d4573920cf50c
+DIST libredwg-85695f3d5903b1cd5b4030efe50db3b4f5f3c928.tar.gz 12597 BLAKE2B cd01f6c446d5d129545fdae07c0101d133e1f4e69ee62e94c27c3c2853dcc30854f40aed0c6f38f6594c5f5eb9e7b2d18d3b2e4f487b7bf1a3f7f39facde38bc SHA512 1d08cfa6216e0fe671dab77a0bd0b4ef0c4eb174878eba909c680e0ee93a82079b3cbf60afe2de7b0078258de8bcc588961e59cf0c14fe5f2d1f70db639ef95a
diff --git a/media-gfx/libredwg/libredwg-0.12.5.ebuild b/media-gfx/libredwg/libredwg-0.12.5.ebuild
new file mode 100644
index 000000000000..0d74bb5e092f
--- /dev/null
+++ b/media-gfx/libredwg/libredwg-0.12.5.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+DOCS_BUILDER="doxygen"
+# File is hardcoded to be run from ../ so we use this instead of DOCS_DIR
+DOCS_CONFIG_NAME="doc/Doxyfile"
+
+inherit autotools docs python-single-r1 perl-functions
+
+JSMN_COMMIT="85695f3d5903b1cd5b4030efe50db3b4f5f3c928"
+
+DESCRIPTION="C library to handle DWG files"
+HOMEPAGE="https://www.gnu.org/software/libredwg/"
+SRC_URI="
+ https://github.com/LibreDWG/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/zserge/jsmn/archive/${JSMN_COMMIT}.tar.gz -> ${PN}-${JSMN_COMMIT}.tar.gz
+"
+
+LICENSE="GPL-3 MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# https://github.com/LibreDWG/libredwg/issues/342
+RESTRICT="test"
+
+IUSE="debug python perl static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+ python? ( ${PYTHON_DEPS} )
+ perl? ( dev-lang/perl )
+ dev-libs/libpcre2
+ dev-libs/pslib
+"
+DEPEND="${RDEPEND}
+ python? ( dev-lang/swig )
+ perl? ( dev-lang/swig )
+"
+BDEPEND="|| (
+ sys-devel/gcc[sanitize]
+ sys-libs/compiler-rt-sanitizers[asan(-)]
+ )
+ dev-vcs/git
+"
+
+src_unpack() {
+ # Build system really wants jsmn to be here
+ default
+ rm -r "${S}/jsmn" || die
+ mv "${WORKDIR}/jsmn-${JSMN_COMMIT}" "${S}/jsmn" || die
+}
+
+src_prepare() {
+ default
+ # https://github.com/LibreDWG/libredwg/issues/404
+ # Workaround: release tarball does not include dwg2ps.1.
+ # Upstream autotools stuff has to be run in git repo
+ git init -q || die
+ git config --global user.email "larry@gentoo.org" || die
+ git config --global user.name "Larry the Cow" || die
+ git add . || die
+ git commit -qm 'init' || die
+ git tag ${PV} || die
+ eautoreconf
+}
+
+src_configure() {
+ perl_set_version
+ local myconf=(
+ --enable-write
+ --enable-dxf
+ --enable-json
+ --disable-gcov
+ $(use_enable !debug release)
+ $(use_enable debug trace)
+ $(use_enable debug)
+ $(use_enable static-libs static)
+ $(use_enable python python "${EPYTHON}")
+ $(usex perl "--with-perl-install=vendor" "--with-perl-install=no")
+ )
+
+ if use python || use perl; then
+ myconf+=( --enable-bindings )
+ else
+ myconf+=( --disable-bindings )
+ fi
+
+ econf ${myconf[@]}
+
+ # Fix variable references itself error, fails in src_install otherwise.
+ # Can't put this in src_prepare and use eautoreconf because eautoreconf
+ # only works inside a git repository for this package.
+ sed -i -e 's/TEXINPUTS = "$(TEXINPUTS)$(PATH_SEPARATOR)$(TEXINFO_TEX_DIR)"/TEXINPUTS += "$(PATH_SEPARATOR)$(TEXINFO_TEX_DIR)"/g' doc/Makefile || die
+}
+
+src_compile() {
+ perl_set_version
+ emake
+ docs_compile
+}
+
+src_install() {
+ perl_set_version
+ default
+ use python && python_optimize
+ use perl && perl_domodule bindings/perl/LibreDWG.pm
+}
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/libredwg/
@ 2022-02-22 10:36 Andrew Ammerlaan
0 siblings, 0 replies; 23+ messages in thread
From: Andrew Ammerlaan @ 2022-02-22 10:36 UTC (permalink / raw
To: gentoo-commits
commit: 0022435d4704b2e41b89091b0229a77c79354ce0
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 22 10:36:08 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Feb 22 10:36:29 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0022435d
media-gfx/libredwg: 0.12.5: fix install of perl bindings
This broke because we moved from the release tarball to the tagged tarball
Closes: https://bugs.gentoo.org/833881
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
media-gfx/libredwg/libredwg-0.12.5.ebuild | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/media-gfx/libredwg/libredwg-0.12.5.ebuild b/media-gfx/libredwg/libredwg-0.12.5.ebuild
index 0d74bb5e092f..8f14bdef8e11 100644
--- a/media-gfx/libredwg/libredwg-0.12.5.ebuild
+++ b/media-gfx/libredwg/libredwg-0.12.5.ebuild
@@ -55,6 +55,8 @@ src_unpack() {
src_prepare() {
default
+ # Fix variable references itself error, fails in src_install otherwise.
+ sed -i -e 's/TEXINPUTS="$(TEXINPUTS)$(PATH_SEPARATOR)$(TEXINFO_TEX_DIR)"/TEXINPUTS="$(PATH_SEPARATOR)$(TEXINFO_TEX_DIR)"/g' doc/Makefile.am || die
# https://github.com/LibreDWG/libredwg/issues/404
# Workaround: release tarball does not include dwg2ps.1.
# Upstream autotools stuff has to be run in git repo
@@ -89,11 +91,6 @@ src_configure() {
fi
econf ${myconf[@]}
-
- # Fix variable references itself error, fails in src_install otherwise.
- # Can't put this in src_prepare and use eautoreconf because eautoreconf
- # only works inside a git repository for this package.
- sed -i -e 's/TEXINPUTS = "$(TEXINPUTS)$(PATH_SEPARATOR)$(TEXINFO_TEX_DIR)"/TEXINPUTS += "$(PATH_SEPARATOR)$(TEXINFO_TEX_DIR)"/g' doc/Makefile || die
}
src_compile() {
@@ -106,5 +103,4 @@ src_install() {
perl_set_version
default
use python && python_optimize
- use perl && perl_domodule bindings/perl/LibreDWG.pm
}
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/libredwg/
@ 2022-06-01 12:56 Andrew Ammerlaan
0 siblings, 0 replies; 23+ messages in thread
From: Andrew Ammerlaan @ 2022-06-01 12:56 UTC (permalink / raw
To: gentoo-commits
commit: 2ba0b24b5ffeb56d9fc2b69834745688f61497cc
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 1 12:55:47 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Wed Jun 1 12:56:47 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ba0b24b
media-gfx/libredwg: enable py3.11, strip .la files if not static-libs
Closes: https://bugs.gentoo.org/847397
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
.../libredwg/{libredwg-0.12.5.ebuild => libredwg-0.12.5-r1.ebuild} | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/media-gfx/libredwg/libredwg-0.12.5.ebuild b/media-gfx/libredwg/libredwg-0.12.5-r1.ebuild
similarity index 91%
rename from media-gfx/libredwg/libredwg-0.12.5.ebuild
rename to media-gfx/libredwg/libredwg-0.12.5-r1.ebuild
index 8f14bdef8e11..a1d3d185df43 100644
--- a/media-gfx/libredwg/libredwg-0.12.5.ebuild
+++ b/media-gfx/libredwg/libredwg-0.12.5-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{8..11} )
DOCS_BUILDER="doxygen"
# File is hardcoded to be run from ../ so we use this instead of DOCS_DIR
DOCS_CONFIG_NAME="doc/Doxyfile"
@@ -103,4 +103,9 @@ src_install() {
perl_set_version
default
use python && python_optimize
+ # remove .la files if static-libs disabled
+ if ! use static-libs; then
+ rm "${ED}/usr/$(get_libdir)/libredwg.la" || die
+ use python && rm "${D}/$(python_get_sitedir)/_LibreDWG.la" || die
+ fi
}
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/libredwg/
@ 2022-06-06 9:06 Andrew Ammerlaan
0 siblings, 0 replies; 23+ messages in thread
From: Andrew Ammerlaan @ 2022-06-06 9:06 UTC (permalink / raw
To: gentoo-commits
commit: ce8dff7b588f34e699865ef55e35066ae9e0bf3e
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 6 09:05:56 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Mon Jun 6 09:05:56 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce8dff7b
media-gfx/libredwg: do not die if use ! python
Closes: https://bugs.gentoo.org/849026
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
media-gfx/libredwg/libredwg-0.12.5-r1.ebuild | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/media-gfx/libredwg/libredwg-0.12.5-r1.ebuild b/media-gfx/libredwg/libredwg-0.12.5-r1.ebuild
index a1d3d185df43..677d324e8fe6 100644
--- a/media-gfx/libredwg/libredwg-0.12.5-r1.ebuild
+++ b/media-gfx/libredwg/libredwg-0.12.5-r1.ebuild
@@ -106,6 +106,8 @@ src_install() {
# remove .la files if static-libs disabled
if ! use static-libs; then
rm "${ED}/usr/$(get_libdir)/libredwg.la" || die
- use python && rm "${D}/$(python_get_sitedir)/_LibreDWG.la" || die
+ if use python; then
+ rm "${D}/$(python_get_sitedir)/_LibreDWG.la" || die
+ fi
fi
}
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/libredwg/
@ 2022-11-08 8:52 Andrew Ammerlaan
0 siblings, 0 replies; 23+ messages in thread
From: Andrew Ammerlaan @ 2022-11-08 8:52 UTC (permalink / raw
To: gentoo-commits
commit: 99c987edb6bd43ff4d698f886ee6b435c4eb41f8
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 8 08:50:45 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Nov 8 08:52:38 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99c987ed
media-gfx/libredwg: drop 0.12.4
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
media-gfx/libredwg/Manifest | 1 -
media-gfx/libredwg/libredwg-0.12.4.ebuild | 83 -------------------------------
2 files changed, 84 deletions(-)
diff --git a/media-gfx/libredwg/Manifest b/media-gfx/libredwg/Manifest
index 9890c3c5ce28..792a2670d2a4 100644
--- a/media-gfx/libredwg/Manifest
+++ b/media-gfx/libredwg/Manifest
@@ -1,3 +1,2 @@
-DIST libredwg-0.12.4.tar.gz 18318912 BLAKE2B 21ff443881c19782c747ddf880eba23090295432edf4367161472aeef970e1b93983967e667ca2c3e140bf0b97e7b238bbe4a342815df365cee10bde83a04178 SHA512 df9424f475be512a6e9e02a1156a7d6a966f684f5753f420843593ee9dc236bd33bd10dbd627bab1b9adab9b8e7cb3a6b464c15e643ae755bc7e11974c05cd7a
DIST libredwg-0.12.5.tar.gz 16855123 BLAKE2B 2ca0bfafdb0ca6e412d3aaf7df21f80a2eed4bad795bffacc1c767f23dc555b35b2aeedb35dffab099c5dbab2890f9363cfc1508c3fec16a6ff51ce79a272e3e SHA512 0b5da6e863410d9ce012d311e921a39fa0d9cb6d96d17f1df70ca767c1768cd625e35503f24830a6a33400ede92d14b36ce87b92f177a5af7e6d4573920cf50c
DIST libredwg-85695f3d5903b1cd5b4030efe50db3b4f5f3c928.tar.gz 12597 BLAKE2B cd01f6c446d5d129545fdae07c0101d133e1f4e69ee62e94c27c3c2853dcc30854f40aed0c6f38f6594c5f5eb9e7b2d18d3b2e4f487b7bf1a3f7f39facde38bc SHA512 1d08cfa6216e0fe671dab77a0bd0b4ef0c4eb174878eba909c680e0ee93a82079b3cbf60afe2de7b0078258de8bcc588961e59cf0c14fe5f2d1f70db639ef95a
diff --git a/media-gfx/libredwg/libredwg-0.12.4.ebuild b/media-gfx/libredwg/libredwg-0.12.4.ebuild
deleted file mode 100644
index 262672037473..000000000000
--- a/media-gfx/libredwg/libredwg-0.12.4.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..10} )
-DOCS_BUILDER="doxygen"
-# File is hardcoded to be run from ../ so we use this instead of DOCS_DIR
-DOCS_CONFIG_NAME="doc/Doxyfile"
-
-inherit docs python-single-r1 perl-functions
-
-DESCRIPTION="C library to handle DWG files"
-HOMEPAGE="https://www.gnu.org/software/libredwg/"
-SRC_URI="https://github.com/LibreDWG/${PN}/releases/download/${PV}/${P}.tar.gz"
-
-LICENSE="GPL-3+ MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-# https://github.com/LibreDWG/libredwg/issues/342
-RESTRICT="test"
-
-IUSE="debug python perl static-libs"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="
- python? ( ${PYTHON_DEPS} )
- perl? ( dev-lang/perl )
- dev-libs/libpcre2
- dev-libs/pslib
-"
-DEPEND="${RDEPEND}
- python? ( dev-lang/swig )
- perl? ( dev-lang/swig )
-"
-BDEPEND="|| (
- sys-devel/gcc[sanitize]
- sys-libs/compiler-rt-sanitizers[asan(-)]
- )
-"
-
-src_configure() {
- perl_set_version
- local myconf=(
- --enable-write
- --enable-dxf
- --enable-json
- --disable-gcov
- $(use_enable !debug release)
- $(use_enable debug trace)
- $(use_enable debug)
- $(use_enable static-libs static)
- $(use_enable python python "${EPYTHON}")
- $(usex perl "--with-perl-install=vendor" "--with-perl-install=no")
- )
-
- if use python || use perl; then
- myconf+=( --enable-bindings )
- else
- myconf+=( --disable-bindings )
- fi
-
- econf ${myconf[@]}
-
- # Fix variable references itself error, fails in src_install otherwise.
- # Can't put this in src_prepare and use eautoreconf because eautoreconf
- # only works inside a git repository for this package.
- sed -i -e 's/TEXINPUTS = "$(TEXINPUTS)$(PATH_SEPARATOR)$(TEXINFO_TEX_DIR)"/TEXINPUTS = "$(PATH_SEPARATOR)$(TEXINFO_TEX_DIR)"/g' doc/Makefile || die
-}
-
-src_compile() {
- perl_set_version
- emake
- docs_compile
-}
-
-src_install() {
- perl_set_version
- default
- use python && python_optimize
- use perl && perl_domodule bindings/perl/LibreDWG.pm
-}
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/libredwg/
@ 2022-11-08 8:52 Andrew Ammerlaan
0 siblings, 0 replies; 23+ messages in thread
From: Andrew Ammerlaan @ 2022-11-08 8:52 UTC (permalink / raw
To: gentoo-commits
commit: 7f3c3f93656e34d3f56ea522324e21a9404b3c24
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 8 08:49:50 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Nov 8 08:52:37 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f3c3f93
media-gfx/libredwg: update license
Closes: https://bugs.gentoo.org/880285
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
media-gfx/libredwg/libredwg-0.12.4.ebuild | 4 ++--
media-gfx/libredwg/libredwg-0.12.5-r1.ebuild | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/media-gfx/libredwg/libredwg-0.12.4.ebuild b/media-gfx/libredwg/libredwg-0.12.4.ebuild
index 27fe56204a7b..262672037473 100644
--- a/media-gfx/libredwg/libredwg-0.12.4.ebuild
+++ b/media-gfx/libredwg/libredwg-0.12.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -14,7 +14,7 @@ DESCRIPTION="C library to handle DWG files"
HOMEPAGE="https://www.gnu.org/software/libredwg/"
SRC_URI="https://github.com/LibreDWG/${PN}/releases/download/${PV}/${P}.tar.gz"
-LICENSE="GPL-3"
+LICENSE="GPL-3+ MIT"
SLOT="0"
KEYWORDS="~amd64"
diff --git a/media-gfx/libredwg/libredwg-0.12.5-r1.ebuild b/media-gfx/libredwg/libredwg-0.12.5-r1.ebuild
index 677d324e8fe6..7a74d1e59946 100644
--- a/media-gfx/libredwg/libredwg-0.12.5-r1.ebuild
+++ b/media-gfx/libredwg/libredwg-0.12.5-r1.ebuild
@@ -19,7 +19,7 @@ SRC_URI="
https://github.com/zserge/jsmn/archive/${JSMN_COMMIT}.tar.gz -> ${PN}-${JSMN_COMMIT}.tar.gz
"
-LICENSE="GPL-3 MIT"
+LICENSE="GPL-3+ MIT"
SLOT="0"
KEYWORDS="~amd64"
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/libredwg/
@ 2023-05-01 13:16 Andrew Ammerlaan
0 siblings, 0 replies; 23+ messages in thread
From: Andrew Ammerlaan @ 2023-05-01 13:16 UTC (permalink / raw
To: gentoo-commits
commit: 4e8d02fce183569d91b4eaeefddd9fc9f3280d64
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Mon May 1 13:13:19 2023 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Mon May 1 13:15:57 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e8d02fc
media-gfx/libredwg: add 0.12.5.5487
Should fix CVE-2022-45332 and CVE-2022-45332. The patch for CVE-2022-35164
is still not merged to master yet because apparently there are some problems
with this patch.
Bug: https://bugs.gentoo.org/905327
Bug: https://bugs.gentoo.org/856034
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
media-gfx/libredwg/Manifest | 1 +
media-gfx/libredwg/libredwg-0.12.5.5487.ebuild | 113 +++++++++++++++++++++++++
2 files changed, 114 insertions(+)
diff --git a/media-gfx/libredwg/Manifest b/media-gfx/libredwg/Manifest
index 792a2670d2a4..8588df408d02 100644
--- a/media-gfx/libredwg/Manifest
+++ b/media-gfx/libredwg/Manifest
@@ -1,2 +1,3 @@
+DIST libredwg-0.12.5.5487.tar.gz 18878778 BLAKE2B 01f6960dc1bab65e447f942d1a198d6ddcef0043ed50e7b58ea4dbb5d52bf25e4d0946170f66455b0ae00e08352d45710546c62e623b1522a6681bf7ea51683e SHA512 8883d0bc6a893fc10960ecd8cb1d32833c955e87b18817194e746e481f6d1ea5587bfb54e8da7ae975d8b3f93bf89a2611c97710449848e1274e734e3443ad52
DIST libredwg-0.12.5.tar.gz 16855123 BLAKE2B 2ca0bfafdb0ca6e412d3aaf7df21f80a2eed4bad795bffacc1c767f23dc555b35b2aeedb35dffab099c5dbab2890f9363cfc1508c3fec16a6ff51ce79a272e3e SHA512 0b5da6e863410d9ce012d311e921a39fa0d9cb6d96d17f1df70ca767c1768cd625e35503f24830a6a33400ede92d14b36ce87b92f177a5af7e6d4573920cf50c
DIST libredwg-85695f3d5903b1cd5b4030efe50db3b4f5f3c928.tar.gz 12597 BLAKE2B cd01f6c446d5d129545fdae07c0101d133e1f4e69ee62e94c27c3c2853dcc30854f40aed0c6f38f6594c5f5eb9e7b2d18d3b2e4f487b7bf1a3f7f39facde38bc SHA512 1d08cfa6216e0fe671dab77a0bd0b4ef0c4eb174878eba909c680e0ee93a82079b3cbf60afe2de7b0078258de8bcc588961e59cf0c14fe5f2d1f70db639ef95a
diff --git a/media-gfx/libredwg/libredwg-0.12.5.5487.ebuild b/media-gfx/libredwg/libredwg-0.12.5.5487.ebuild
new file mode 100644
index 000000000000..2dde554209f8
--- /dev/null
+++ b/media-gfx/libredwg/libredwg-0.12.5.5487.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+DOCS_BUILDER="doxygen"
+# File is hardcoded to be run from ../ so we use this instead of DOCS_DIR
+DOCS_CONFIG_NAME="doc/Doxyfile"
+
+inherit autotools docs python-single-r1 perl-functions
+
+JSMN_COMMIT="85695f3d5903b1cd5b4030efe50db3b4f5f3c928"
+
+DESCRIPTION="C library to handle DWG files"
+HOMEPAGE="https://www.gnu.org/software/libredwg/"
+SRC_URI="
+ https://github.com/LibreDWG/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/zserge/jsmn/archive/${JSMN_COMMIT}.tar.gz -> ${PN}-${JSMN_COMMIT}.tar.gz
+"
+
+LICENSE="GPL-3+ MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# https://github.com/LibreDWG/libredwg/issues/342
+RESTRICT="test"
+
+IUSE="debug python perl static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+ python? ( ${PYTHON_DEPS} )
+ perl? ( dev-lang/perl )
+ dev-libs/libpcre2
+ dev-libs/pslib
+"
+DEPEND="${RDEPEND}
+ python? ( dev-lang/swig )
+ perl? ( dev-lang/swig )
+"
+BDEPEND="|| (
+ sys-devel/gcc[sanitize]
+ sys-libs/compiler-rt-sanitizers[asan(-)]
+ )
+ dev-vcs/git
+"
+
+src_unpack() {
+ # Build system really wants jsmn to be here
+ default
+ rm -r "${S}/jsmn" || die
+ mv "${WORKDIR}/jsmn-${JSMN_COMMIT}" "${S}/jsmn" || die
+}
+
+src_prepare() {
+ default
+ # Fix variable references itself error, fails in src_install otherwise.
+ sed -i -e 's/TEXINPUTS="$(TEXINPUTS)$(PATH_SEPARATOR)$(TEXINFO_TEX_DIR)"/TEXINPUTS="$(PATH_SEPARATOR)$(TEXINFO_TEX_DIR)"/g' doc/Makefile.am || die
+ # https://github.com/LibreDWG/libredwg/issues/404
+ # Workaround: release tarball does not include dwg2ps.1.
+ # Upstream autotools stuff has to be run in git repo
+ git init -q || die
+ git config --global user.email "larry@gentoo.org" || die
+ git config --global user.name "Larry the Cow" || die
+ git add . || die
+ git commit -qm 'init' || die
+ git tag ${PV} || die
+ eautoreconf
+}
+
+src_configure() {
+ perl_set_version
+ local myconf=(
+ --enable-write
+ --enable-dxf
+ --enable-json
+ --disable-gcov
+ $(use_enable !debug release)
+ $(use_enable debug trace)
+ $(use_enable debug)
+ $(use_enable static-libs static)
+ $(use_enable python python "${EPYTHON}")
+ $(usex perl "--with-perl-install=vendor" "--with-perl-install=no")
+ )
+
+ if use python || use perl; then
+ myconf+=( --enable-bindings )
+ else
+ myconf+=( --disable-bindings )
+ fi
+
+ econf ${myconf[@]}
+}
+
+src_compile() {
+ perl_set_version
+ emake
+ docs_compile
+}
+
+src_install() {
+ perl_set_version
+ default
+ use python && python_optimize
+ # remove .la files if static-libs disabled
+ if ! use static-libs; then
+ rm "${ED}/usr/$(get_libdir)/libredwg.la" || die
+ if use python; then
+ rm "${D}/$(python_get_sitedir)/_LibreDWG.la" || die
+ fi
+ fi
+}
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/libredwg/
@ 2023-06-27 12:06 Andrew Ammerlaan
0 siblings, 0 replies; 23+ messages in thread
From: Andrew Ammerlaan @ 2023-06-27 12:06 UTC (permalink / raw
To: gentoo-commits
commit: 169d8132ace3cf5b3f03b1043742eb9dfb7bf6ff
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 27 12:05:07 2023 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Jun 27 12:06:12 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=169d8132
media-gfx/libredwg: drop 0.12.5.5487
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
media-gfx/libredwg/Manifest | 1 -
media-gfx/libredwg/libredwg-0.12.5.5487.ebuild | 113 -------------------------
2 files changed, 114 deletions(-)
diff --git a/media-gfx/libredwg/Manifest b/media-gfx/libredwg/Manifest
index 9dcea6be5e78..7854cd3d43af 100644
--- a/media-gfx/libredwg/Manifest
+++ b/media-gfx/libredwg/Manifest
@@ -1,4 +1,3 @@
-DIST libredwg-0.12.5.5487.tar.gz 18878778 BLAKE2B 01f6960dc1bab65e447f942d1a198d6ddcef0043ed50e7b58ea4dbb5d52bf25e4d0946170f66455b0ae00e08352d45710546c62e623b1522a6681bf7ea51683e SHA512 8883d0bc6a893fc10960ecd8cb1d32833c955e87b18817194e746e481f6d1ea5587bfb54e8da7ae975d8b3f93bf89a2611c97710449848e1274e734e3443ad52
DIST libredwg-0.12.5.5865.tar.gz 18891945 BLAKE2B d779963d29c484e806549a530655041000c79277bbd53795b81b211e63c18e9aa112fa6b6f495dd6f950ac70019cae000b28c76c531d0d942e349ab92295e10a SHA512 24443ca405b33347f43dddf46346b23cb76e5209a7e4451bb5cfc467569df0784cea86a96aaf349aa7b59adb5c38059292ca3c8a831796232fd29b3fad6240b6
DIST libredwg-0.12.5.tar.gz 16855123 BLAKE2B 2ca0bfafdb0ca6e412d3aaf7df21f80a2eed4bad795bffacc1c767f23dc555b35b2aeedb35dffab099c5dbab2890f9363cfc1508c3fec16a6ff51ce79a272e3e SHA512 0b5da6e863410d9ce012d311e921a39fa0d9cb6d96d17f1df70ca767c1768cd625e35503f24830a6a33400ede92d14b36ce87b92f177a5af7e6d4573920cf50c
DIST libredwg-85695f3d5903b1cd5b4030efe50db3b4f5f3c928.tar.gz 12597 BLAKE2B cd01f6c446d5d129545fdae07c0101d133e1f4e69ee62e94c27c3c2853dcc30854f40aed0c6f38f6594c5f5eb9e7b2d18d3b2e4f487b7bf1a3f7f39facde38bc SHA512 1d08cfa6216e0fe671dab77a0bd0b4ef0c4eb174878eba909c680e0ee93a82079b3cbf60afe2de7b0078258de8bcc588961e59cf0c14fe5f2d1f70db639ef95a
diff --git a/media-gfx/libredwg/libredwg-0.12.5.5487.ebuild b/media-gfx/libredwg/libredwg-0.12.5.5487.ebuild
deleted file mode 100644
index 2dde554209f8..000000000000
--- a/media-gfx/libredwg/libredwg-0.12.5.5487.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..11} )
-DOCS_BUILDER="doxygen"
-# File is hardcoded to be run from ../ so we use this instead of DOCS_DIR
-DOCS_CONFIG_NAME="doc/Doxyfile"
-
-inherit autotools docs python-single-r1 perl-functions
-
-JSMN_COMMIT="85695f3d5903b1cd5b4030efe50db3b4f5f3c928"
-
-DESCRIPTION="C library to handle DWG files"
-HOMEPAGE="https://www.gnu.org/software/libredwg/"
-SRC_URI="
- https://github.com/LibreDWG/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
- https://github.com/zserge/jsmn/archive/${JSMN_COMMIT}.tar.gz -> ${PN}-${JSMN_COMMIT}.tar.gz
-"
-
-LICENSE="GPL-3+ MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-# https://github.com/LibreDWG/libredwg/issues/342
-RESTRICT="test"
-
-IUSE="debug python perl static-libs"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="
- python? ( ${PYTHON_DEPS} )
- perl? ( dev-lang/perl )
- dev-libs/libpcre2
- dev-libs/pslib
-"
-DEPEND="${RDEPEND}
- python? ( dev-lang/swig )
- perl? ( dev-lang/swig )
-"
-BDEPEND="|| (
- sys-devel/gcc[sanitize]
- sys-libs/compiler-rt-sanitizers[asan(-)]
- )
- dev-vcs/git
-"
-
-src_unpack() {
- # Build system really wants jsmn to be here
- default
- rm -r "${S}/jsmn" || die
- mv "${WORKDIR}/jsmn-${JSMN_COMMIT}" "${S}/jsmn" || die
-}
-
-src_prepare() {
- default
- # Fix variable references itself error, fails in src_install otherwise.
- sed -i -e 's/TEXINPUTS="$(TEXINPUTS)$(PATH_SEPARATOR)$(TEXINFO_TEX_DIR)"/TEXINPUTS="$(PATH_SEPARATOR)$(TEXINFO_TEX_DIR)"/g' doc/Makefile.am || die
- # https://github.com/LibreDWG/libredwg/issues/404
- # Workaround: release tarball does not include dwg2ps.1.
- # Upstream autotools stuff has to be run in git repo
- git init -q || die
- git config --global user.email "larry@gentoo.org" || die
- git config --global user.name "Larry the Cow" || die
- git add . || die
- git commit -qm 'init' || die
- git tag ${PV} || die
- eautoreconf
-}
-
-src_configure() {
- perl_set_version
- local myconf=(
- --enable-write
- --enable-dxf
- --enable-json
- --disable-gcov
- $(use_enable !debug release)
- $(use_enable debug trace)
- $(use_enable debug)
- $(use_enable static-libs static)
- $(use_enable python python "${EPYTHON}")
- $(usex perl "--with-perl-install=vendor" "--with-perl-install=no")
- )
-
- if use python || use perl; then
- myconf+=( --enable-bindings )
- else
- myconf+=( --disable-bindings )
- fi
-
- econf ${myconf[@]}
-}
-
-src_compile() {
- perl_set_version
- emake
- docs_compile
-}
-
-src_install() {
- perl_set_version
- default
- use python && python_optimize
- # remove .la files if static-libs disabled
- if ! use static-libs; then
- rm "${ED}/usr/$(get_libdir)/libredwg.la" || die
- if use python; then
- rm "${D}/$(python_get_sitedir)/_LibreDWG.la" || die
- fi
- fi
-}
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/libredwg/
@ 2023-06-27 12:06 Andrew Ammerlaan
0 siblings, 0 replies; 23+ messages in thread
From: Andrew Ammerlaan @ 2023-06-27 12:06 UTC (permalink / raw
To: gentoo-commits
commit: ff4e76bd91741c20f4c93c94dfb3366c5df24737
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 27 12:03:59 2023 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Jun 27 12:06:11 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff4e76bd
media-gfx/libredwg: add 0.12.5.5865
patch for CVE-2022-35164 is in this version
Bug: https://bugs.gentoo.org/856034
Bug: https://bugs.gentoo.org/905327
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
media-gfx/libredwg/Manifest | 1 +
media-gfx/libredwg/libredwg-0.12.5.5865.ebuild | 113 +++++++++++++++++++++++++
2 files changed, 114 insertions(+)
diff --git a/media-gfx/libredwg/Manifest b/media-gfx/libredwg/Manifest
index 8588df408d02..9dcea6be5e78 100644
--- a/media-gfx/libredwg/Manifest
+++ b/media-gfx/libredwg/Manifest
@@ -1,3 +1,4 @@
DIST libredwg-0.12.5.5487.tar.gz 18878778 BLAKE2B 01f6960dc1bab65e447f942d1a198d6ddcef0043ed50e7b58ea4dbb5d52bf25e4d0946170f66455b0ae00e08352d45710546c62e623b1522a6681bf7ea51683e SHA512 8883d0bc6a893fc10960ecd8cb1d32833c955e87b18817194e746e481f6d1ea5587bfb54e8da7ae975d8b3f93bf89a2611c97710449848e1274e734e3443ad52
+DIST libredwg-0.12.5.5865.tar.gz 18891945 BLAKE2B d779963d29c484e806549a530655041000c79277bbd53795b81b211e63c18e9aa112fa6b6f495dd6f950ac70019cae000b28c76c531d0d942e349ab92295e10a SHA512 24443ca405b33347f43dddf46346b23cb76e5209a7e4451bb5cfc467569df0784cea86a96aaf349aa7b59adb5c38059292ca3c8a831796232fd29b3fad6240b6
DIST libredwg-0.12.5.tar.gz 16855123 BLAKE2B 2ca0bfafdb0ca6e412d3aaf7df21f80a2eed4bad795bffacc1c767f23dc555b35b2aeedb35dffab099c5dbab2890f9363cfc1508c3fec16a6ff51ce79a272e3e SHA512 0b5da6e863410d9ce012d311e921a39fa0d9cb6d96d17f1df70ca767c1768cd625e35503f24830a6a33400ede92d14b36ce87b92f177a5af7e6d4573920cf50c
DIST libredwg-85695f3d5903b1cd5b4030efe50db3b4f5f3c928.tar.gz 12597 BLAKE2B cd01f6c446d5d129545fdae07c0101d133e1f4e69ee62e94c27c3c2853dcc30854f40aed0c6f38f6594c5f5eb9e7b2d18d3b2e4f487b7bf1a3f7f39facde38bc SHA512 1d08cfa6216e0fe671dab77a0bd0b4ef0c4eb174878eba909c680e0ee93a82079b3cbf60afe2de7b0078258de8bcc588961e59cf0c14fe5f2d1f70db639ef95a
diff --git a/media-gfx/libredwg/libredwg-0.12.5.5865.ebuild b/media-gfx/libredwg/libredwg-0.12.5.5865.ebuild
new file mode 100644
index 000000000000..2dde554209f8
--- /dev/null
+++ b/media-gfx/libredwg/libredwg-0.12.5.5865.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+DOCS_BUILDER="doxygen"
+# File is hardcoded to be run from ../ so we use this instead of DOCS_DIR
+DOCS_CONFIG_NAME="doc/Doxyfile"
+
+inherit autotools docs python-single-r1 perl-functions
+
+JSMN_COMMIT="85695f3d5903b1cd5b4030efe50db3b4f5f3c928"
+
+DESCRIPTION="C library to handle DWG files"
+HOMEPAGE="https://www.gnu.org/software/libredwg/"
+SRC_URI="
+ https://github.com/LibreDWG/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/zserge/jsmn/archive/${JSMN_COMMIT}.tar.gz -> ${PN}-${JSMN_COMMIT}.tar.gz
+"
+
+LICENSE="GPL-3+ MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# https://github.com/LibreDWG/libredwg/issues/342
+RESTRICT="test"
+
+IUSE="debug python perl static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+ python? ( ${PYTHON_DEPS} )
+ perl? ( dev-lang/perl )
+ dev-libs/libpcre2
+ dev-libs/pslib
+"
+DEPEND="${RDEPEND}
+ python? ( dev-lang/swig )
+ perl? ( dev-lang/swig )
+"
+BDEPEND="|| (
+ sys-devel/gcc[sanitize]
+ sys-libs/compiler-rt-sanitizers[asan(-)]
+ )
+ dev-vcs/git
+"
+
+src_unpack() {
+ # Build system really wants jsmn to be here
+ default
+ rm -r "${S}/jsmn" || die
+ mv "${WORKDIR}/jsmn-${JSMN_COMMIT}" "${S}/jsmn" || die
+}
+
+src_prepare() {
+ default
+ # Fix variable references itself error, fails in src_install otherwise.
+ sed -i -e 's/TEXINPUTS="$(TEXINPUTS)$(PATH_SEPARATOR)$(TEXINFO_TEX_DIR)"/TEXINPUTS="$(PATH_SEPARATOR)$(TEXINFO_TEX_DIR)"/g' doc/Makefile.am || die
+ # https://github.com/LibreDWG/libredwg/issues/404
+ # Workaround: release tarball does not include dwg2ps.1.
+ # Upstream autotools stuff has to be run in git repo
+ git init -q || die
+ git config --global user.email "larry@gentoo.org" || die
+ git config --global user.name "Larry the Cow" || die
+ git add . || die
+ git commit -qm 'init' || die
+ git tag ${PV} || die
+ eautoreconf
+}
+
+src_configure() {
+ perl_set_version
+ local myconf=(
+ --enable-write
+ --enable-dxf
+ --enable-json
+ --disable-gcov
+ $(use_enable !debug release)
+ $(use_enable debug trace)
+ $(use_enable debug)
+ $(use_enable static-libs static)
+ $(use_enable python python "${EPYTHON}")
+ $(usex perl "--with-perl-install=vendor" "--with-perl-install=no")
+ )
+
+ if use python || use perl; then
+ myconf+=( --enable-bindings )
+ else
+ myconf+=( --disable-bindings )
+ fi
+
+ econf ${myconf[@]}
+}
+
+src_compile() {
+ perl_set_version
+ emake
+ docs_compile
+}
+
+src_install() {
+ perl_set_version
+ default
+ use python && python_optimize
+ # remove .la files if static-libs disabled
+ if ! use static-libs; then
+ rm "${ED}/usr/$(get_libdir)/libredwg.la" || die
+ if use python; then
+ rm "${D}/$(python_get_sitedir)/_LibreDWG.la" || die
+ fi
+ fi
+}
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/libredwg/
@ 2023-08-17 7:49 Andrew Ammerlaan
0 siblings, 0 replies; 23+ messages in thread
From: Andrew Ammerlaan @ 2023-08-17 7:49 UTC (permalink / raw
To: gentoo-commits
commit: f02a91eff196a3bd669a2525577b1906fc633bc1
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 17 07:33:13 2023 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Thu Aug 17 07:48:52 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f02a91ef
media-gfx/libredwg: add 0.12.5.6149
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
media-gfx/libredwg/Manifest | 1 +
media-gfx/libredwg/libredwg-0.12.5.6149.ebuild | 113 +++++++++++++++++++++++++
2 files changed, 114 insertions(+)
diff --git a/media-gfx/libredwg/Manifest b/media-gfx/libredwg/Manifest
index 7854cd3d43af..159e5af27422 100644
--- a/media-gfx/libredwg/Manifest
+++ b/media-gfx/libredwg/Manifest
@@ -1,3 +1,4 @@
DIST libredwg-0.12.5.5865.tar.gz 18891945 BLAKE2B d779963d29c484e806549a530655041000c79277bbd53795b81b211e63c18e9aa112fa6b6f495dd6f950ac70019cae000b28c76c531d0d942e349ab92295e10a SHA512 24443ca405b33347f43dddf46346b23cb76e5209a7e4451bb5cfc467569df0784cea86a96aaf349aa7b59adb5c38059292ca3c8a831796232fd29b3fad6240b6
+DIST libredwg-0.12.5.6149.tar.gz 18995120 BLAKE2B 5e2698ef3edcdc99e658ac3d9f6ee4090b8e82518c655e4e3d837477b770adae3b159fab98ed3a802d61fcc831dfad3560a93eb268e8ac60aa32f2bb3f74b02a SHA512 e5deca193239c686ecb21aea9bd03005b1983fa9e5eb9c5d0fa4ecf00b3a990f4caaae3abed62bbc7bdf720f9e9d17466d519aa8390fa0109241dcc0eb0a4b40
DIST libredwg-0.12.5.tar.gz 16855123 BLAKE2B 2ca0bfafdb0ca6e412d3aaf7df21f80a2eed4bad795bffacc1c767f23dc555b35b2aeedb35dffab099c5dbab2890f9363cfc1508c3fec16a6ff51ce79a272e3e SHA512 0b5da6e863410d9ce012d311e921a39fa0d9cb6d96d17f1df70ca767c1768cd625e35503f24830a6a33400ede92d14b36ce87b92f177a5af7e6d4573920cf50c
DIST libredwg-85695f3d5903b1cd5b4030efe50db3b4f5f3c928.tar.gz 12597 BLAKE2B cd01f6c446d5d129545fdae07c0101d133e1f4e69ee62e94c27c3c2853dcc30854f40aed0c6f38f6594c5f5eb9e7b2d18d3b2e4f487b7bf1a3f7f39facde38bc SHA512 1d08cfa6216e0fe671dab77a0bd0b4ef0c4eb174878eba909c680e0ee93a82079b3cbf60afe2de7b0078258de8bcc588961e59cf0c14fe5f2d1f70db639ef95a
diff --git a/media-gfx/libredwg/libredwg-0.12.5.6149.ebuild b/media-gfx/libredwg/libredwg-0.12.5.6149.ebuild
new file mode 100644
index 000000000000..4d93c3aa1d28
--- /dev/null
+++ b/media-gfx/libredwg/libredwg-0.12.5.6149.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+DOCS_BUILDER="doxygen"
+# File is hardcoded to be run from ../ so we use this instead of DOCS_DIR
+DOCS_CONFIG_NAME="doc/Doxyfile"
+
+inherit autotools docs python-single-r1 perl-functions
+
+JSMN_COMMIT="85695f3d5903b1cd5b4030efe50db3b4f5f3c928"
+
+DESCRIPTION="C library to handle DWG files"
+HOMEPAGE="https://www.gnu.org/software/libredwg/"
+SRC_URI="
+ https://github.com/LibreDWG/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/zserge/jsmn/archive/${JSMN_COMMIT}.tar.gz -> ${PN}-${JSMN_COMMIT}.tar.gz
+"
+
+LICENSE="GPL-3+ MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# https://github.com/LibreDWG/libredwg/issues/342
+RESTRICT="test"
+
+IUSE="debug python perl static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+ python? ( ${PYTHON_DEPS} )
+ perl? ( dev-lang/perl )
+ dev-libs/libpcre2
+ dev-libs/pslib
+"
+DEPEND="${RDEPEND}
+ python? ( dev-lang/swig )
+ perl? ( dev-lang/swig )
+"
+BDEPEND="|| (
+ sys-devel/gcc[sanitize]
+ sys-libs/compiler-rt-sanitizers[asan(-)]
+ )
+ dev-vcs/git
+"
+
+src_unpack() {
+ # Build system really wants jsmn to be here
+ default
+ rm -r "${S}/jsmn" || die
+ mv "${WORKDIR}/jsmn-${JSMN_COMMIT}" "${S}/jsmn" || die
+}
+
+src_prepare() {
+ default
+ # Fix variable references itself error, fails in src_install otherwise.
+ sed -i -e 's/TEXINPUTS="$(TEXINPUTS)$(PATH_SEPARATOR)$(TEXINFO_TEX_DIR)"/TEXINPUTS="$(PATH_SEPARATOR)$(TEXINFO_TEX_DIR)"/g' doc/Makefile.am || die
+ # https://github.com/LibreDWG/libredwg/issues/404
+ # Workaround: release tarball does not include dwg2ps.1.
+ # Upstream autotools stuff has to be run in git repo
+ git init -q || die
+ git config --global user.email "larry@gentoo.org" || die
+ git config --global user.name "Larry the Cow" || die
+ git add . || die
+ git commit -qm 'init' || die
+ git tag ${PV} || die
+ eautoreconf
+}
+
+src_configure() {
+ perl_set_version
+ local myconf=(
+ --enable-write
+ --enable-dxf
+ --enable-json
+ --disable-gcov
+ $(use_enable !debug release)
+ $(use_enable debug trace)
+ $(use_enable debug)
+ $(use_enable static-libs static)
+ $(use_enable python python "${EPYTHON}")
+ $(usex perl "--with-perl-install=vendor" "--with-perl-install=no")
+ )
+
+ if use python || use perl; then
+ myconf+=( --enable-bindings )
+ else
+ myconf+=( --disable-bindings )
+ fi
+
+ econf ${myconf[@]}
+}
+
+src_compile() {
+ perl_set_version
+ emake
+ docs_compile
+}
+
+src_install() {
+ perl_set_version
+ default
+ use python && python_optimize
+ # remove .la files if static-libs disabled
+ if ! use static-libs; then
+ rm "${ED}/usr/$(get_libdir)/libredwg.la" || die
+ if use python; then
+ rm "${D}/$(python_get_sitedir)/_LibreDWG.la" || die
+ fi
+ fi
+}
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/libredwg/
@ 2023-09-14 9:00 Andrew Ammerlaan
0 siblings, 0 replies; 23+ messages in thread
From: Andrew Ammerlaan @ 2023-09-14 9:00 UTC (permalink / raw
To: gentoo-commits
commit: 91d2178cc61c4705cfbc8cb242656c7b2cc930d6
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 14 08:58:33 2023 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Thu Sep 14 08:58:33 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91d2178c
media-gfx/libredwg: add 0.12.5.6321
Closes: https://bugs.gentoo.org/909301
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
media-gfx/libredwg/Manifest | 1 +
media-gfx/libredwg/libredwg-0.12.5.6321.ebuild | 114 +++++++++++++++++++++++++
2 files changed, 115 insertions(+)
diff --git a/media-gfx/libredwg/Manifest b/media-gfx/libredwg/Manifest
index 159e5af27422..7086d173faed 100644
--- a/media-gfx/libredwg/Manifest
+++ b/media-gfx/libredwg/Manifest
@@ -1,4 +1,5 @@
DIST libredwg-0.12.5.5865.tar.gz 18891945 BLAKE2B d779963d29c484e806549a530655041000c79277bbd53795b81b211e63c18e9aa112fa6b6f495dd6f950ac70019cae000b28c76c531d0d942e349ab92295e10a SHA512 24443ca405b33347f43dddf46346b23cb76e5209a7e4451bb5cfc467569df0784cea86a96aaf349aa7b59adb5c38059292ca3c8a831796232fd29b3fad6240b6
DIST libredwg-0.12.5.6149.tar.gz 18995120 BLAKE2B 5e2698ef3edcdc99e658ac3d9f6ee4090b8e82518c655e4e3d837477b770adae3b159fab98ed3a802d61fcc831dfad3560a93eb268e8ac60aa32f2bb3f74b02a SHA512 e5deca193239c686ecb21aea9bd03005b1983fa9e5eb9c5d0fa4ecf00b3a990f4caaae3abed62bbc7bdf720f9e9d17466d519aa8390fa0109241dcc0eb0a4b40
+DIST libredwg-0.12.5.6321.tar.gz 20413375 BLAKE2B 4645228ca6e4b8624df33b5584b3645a7e40cfa4840b7fd2473cb1b062c61973d89e0fdaf108ca8105835b3c5f4197d030339798c08a2c790b0ead2595b69bd4 SHA512 25ac81e4a6db1f0dea201a24b3cff7a865a18e67e1fa8fbdcecc4e95542812eb66907612593c9afa93aad51fa0e107226b495a477ceed76af4b8b71eadd99e5e
DIST libredwg-0.12.5.tar.gz 16855123 BLAKE2B 2ca0bfafdb0ca6e412d3aaf7df21f80a2eed4bad795bffacc1c767f23dc555b35b2aeedb35dffab099c5dbab2890f9363cfc1508c3fec16a6ff51ce79a272e3e SHA512 0b5da6e863410d9ce012d311e921a39fa0d9cb6d96d17f1df70ca767c1768cd625e35503f24830a6a33400ede92d14b36ce87b92f177a5af7e6d4573920cf50c
DIST libredwg-85695f3d5903b1cd5b4030efe50db3b4f5f3c928.tar.gz 12597 BLAKE2B cd01f6c446d5d129545fdae07c0101d133e1f4e69ee62e94c27c3c2853dcc30854f40aed0c6f38f6594c5f5eb9e7b2d18d3b2e4f487b7bf1a3f7f39facde38bc SHA512 1d08cfa6216e0fe671dab77a0bd0b4ef0c4eb174878eba909c680e0ee93a82079b3cbf60afe2de7b0078258de8bcc588961e59cf0c14fe5f2d1f70db639ef95a
diff --git a/media-gfx/libredwg/libredwg-0.12.5.6321.ebuild b/media-gfx/libredwg/libredwg-0.12.5.6321.ebuild
new file mode 100644
index 000000000000..61cd225885db
--- /dev/null
+++ b/media-gfx/libredwg/libredwg-0.12.5.6321.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+DOCS_BUILDER="doxygen"
+# File is hardcoded to be run from ../ so we use this instead of DOCS_DIR
+DOCS_CONFIG_NAME="doc/Doxyfile"
+
+inherit autotools docs python-single-r1 perl-functions
+
+JSMN_COMMIT="85695f3d5903b1cd5b4030efe50db3b4f5f3c928"
+
+DESCRIPTION="C library to handle DWG files"
+HOMEPAGE="https://www.gnu.org/software/libredwg/"
+SRC_URI="
+ https://github.com/LibreDWG/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/zserge/jsmn/archive/${JSMN_COMMIT}.tar.gz -> ${PN}-${JSMN_COMMIT}.tar.gz
+"
+
+LICENSE="GPL-3+ MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# https://github.com/LibreDWG/libredwg/issues/342
+RESTRICT="test"
+
+IUSE="debug python perl static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+ python? ( ${PYTHON_DEPS} )
+ perl? ( dev-lang/perl )
+ dev-libs/libpcre2
+ dev-libs/pslib
+"
+DEPEND="${RDEPEND}
+ python? ( dev-lang/swig )
+ perl? ( dev-lang/swig )
+"
+BDEPEND="|| (
+ sys-devel/gcc[sanitize]
+ sys-libs/compiler-rt-sanitizers[asan(-)]
+ )
+ dev-vcs/git
+"
+
+src_unpack() {
+ # Build system really wants jsmn to be here
+ default
+ rm -r "${S}/jsmn" || die
+ mv "${WORKDIR}/jsmn-${JSMN_COMMIT}" "${S}/jsmn" || die
+}
+
+src_prepare() {
+ default
+ # Fix variable references itself error, fails in src_install otherwise.
+ sed -i -e 's/TEXINPUTS="$(TEXINPUTS)$(PATH_SEPARATOR)$(TEXINFO_TEX_DIR)"/TEXINPUTS="$(PATH_SEPARATOR)$(TEXINFO_TEX_DIR)"/g' doc/Makefile.am || die
+ # https://github.com/LibreDWG/libredwg/issues/404
+ # Workaround: release tarball does not include dwg2ps.1.
+ # Upstream autotools stuff has to be run in git repo
+ git init -q || die
+ git config --global user.email "larry@gentoo.org" || die
+ git config --global user.name "Larry the Cow" || die
+ git add . || die
+ git commit -qm 'init' || die
+ git tag ${PV} || die
+ eautoreconf
+}
+
+src_configure() {
+ perl_set_version
+ local myconf=(
+ --enable-write
+ --enable-dxf
+ --enable-json
+ --disable-gcov
+ --disable-werror
+ $(use_enable !debug release)
+ $(use_enable debug trace)
+ $(use_enable debug)
+ $(use_enable static-libs static)
+ $(use_enable python python "${EPYTHON}")
+ $(usex perl "--with-perl-install=vendor" "--with-perl-install=no")
+ )
+
+ if use python || use perl; then
+ myconf+=( --enable-bindings )
+ else
+ myconf+=( --disable-bindings )
+ fi
+
+ econf ${myconf[@]}
+}
+
+src_compile() {
+ perl_set_version
+ emake
+ docs_compile
+}
+
+src_install() {
+ perl_set_version
+ default
+ use python && python_optimize
+ # remove .la files if static-libs disabled
+ if ! use static-libs; then
+ rm "${ED}/usr/$(get_libdir)/libredwg.la" || die
+ if use python; then
+ rm "${D}/$(python_get_sitedir)/_LibreDWG.la" || die
+ fi
+ fi
+}
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/libredwg/
@ 2023-09-14 9:00 Andrew Ammerlaan
0 siblings, 0 replies; 23+ messages in thread
From: Andrew Ammerlaan @ 2023-09-14 9:00 UTC (permalink / raw
To: gentoo-commits
commit: 155a3f7e540554ffd19e914cc8b54c9725522797
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 14 08:59:56 2023 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Thu Sep 14 08:59:56 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=155a3f7e
media-gfx/libredwg: drop 0.12.5-r1, 0.12.5.5865
Closes: https://bugs.gentoo.org/905443
Closes: https://bugs.gentoo.org/896222
Bug: https://bugs.gentoo.org/905327
Bug: https://bugs.gentoo.org/856034
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
media-gfx/libredwg/Manifest | 2 -
media-gfx/libredwg/libredwg-0.12.5-r1.ebuild | 113 -------------------------
media-gfx/libredwg/libredwg-0.12.5.5865.ebuild | 113 -------------------------
3 files changed, 228 deletions(-)
diff --git a/media-gfx/libredwg/Manifest b/media-gfx/libredwg/Manifest
index 7086d173faed..2c0c7da460f3 100644
--- a/media-gfx/libredwg/Manifest
+++ b/media-gfx/libredwg/Manifest
@@ -1,5 +1,3 @@
-DIST libredwg-0.12.5.5865.tar.gz 18891945 BLAKE2B d779963d29c484e806549a530655041000c79277bbd53795b81b211e63c18e9aa112fa6b6f495dd6f950ac70019cae000b28c76c531d0d942e349ab92295e10a SHA512 24443ca405b33347f43dddf46346b23cb76e5209a7e4451bb5cfc467569df0784cea86a96aaf349aa7b59adb5c38059292ca3c8a831796232fd29b3fad6240b6
DIST libredwg-0.12.5.6149.tar.gz 18995120 BLAKE2B 5e2698ef3edcdc99e658ac3d9f6ee4090b8e82518c655e4e3d837477b770adae3b159fab98ed3a802d61fcc831dfad3560a93eb268e8ac60aa32f2bb3f74b02a SHA512 e5deca193239c686ecb21aea9bd03005b1983fa9e5eb9c5d0fa4ecf00b3a990f4caaae3abed62bbc7bdf720f9e9d17466d519aa8390fa0109241dcc0eb0a4b40
DIST libredwg-0.12.5.6321.tar.gz 20413375 BLAKE2B 4645228ca6e4b8624df33b5584b3645a7e40cfa4840b7fd2473cb1b062c61973d89e0fdaf108ca8105835b3c5f4197d030339798c08a2c790b0ead2595b69bd4 SHA512 25ac81e4a6db1f0dea201a24b3cff7a865a18e67e1fa8fbdcecc4e95542812eb66907612593c9afa93aad51fa0e107226b495a477ceed76af4b8b71eadd99e5e
-DIST libredwg-0.12.5.tar.gz 16855123 BLAKE2B 2ca0bfafdb0ca6e412d3aaf7df21f80a2eed4bad795bffacc1c767f23dc555b35b2aeedb35dffab099c5dbab2890f9363cfc1508c3fec16a6ff51ce79a272e3e SHA512 0b5da6e863410d9ce012d311e921a39fa0d9cb6d96d17f1df70ca767c1768cd625e35503f24830a6a33400ede92d14b36ce87b92f177a5af7e6d4573920cf50c
DIST libredwg-85695f3d5903b1cd5b4030efe50db3b4f5f3c928.tar.gz 12597 BLAKE2B cd01f6c446d5d129545fdae07c0101d133e1f4e69ee62e94c27c3c2853dcc30854f40aed0c6f38f6594c5f5eb9e7b2d18d3b2e4f487b7bf1a3f7f39facde38bc SHA512 1d08cfa6216e0fe671dab77a0bd0b4ef0c4eb174878eba909c680e0ee93a82079b3cbf60afe2de7b0078258de8bcc588961e59cf0c14fe5f2d1f70db639ef95a
diff --git a/media-gfx/libredwg/libredwg-0.12.5-r1.ebuild b/media-gfx/libredwg/libredwg-0.12.5-r1.ebuild
deleted file mode 100644
index 5e2741282d80..000000000000
--- a/media-gfx/libredwg/libredwg-0.12.5-r1.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-DOCS_BUILDER="doxygen"
-# File is hardcoded to be run from ../ so we use this instead of DOCS_DIR
-DOCS_CONFIG_NAME="doc/Doxyfile"
-
-inherit autotools docs python-single-r1 perl-functions
-
-JSMN_COMMIT="85695f3d5903b1cd5b4030efe50db3b4f5f3c928"
-
-DESCRIPTION="C library to handle DWG files"
-HOMEPAGE="https://www.gnu.org/software/libredwg/"
-SRC_URI="
- https://github.com/LibreDWG/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
- https://github.com/zserge/jsmn/archive/${JSMN_COMMIT}.tar.gz -> ${PN}-${JSMN_COMMIT}.tar.gz
-"
-
-LICENSE="GPL-3+ MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-# https://github.com/LibreDWG/libredwg/issues/342
-RESTRICT="test"
-
-IUSE="debug python perl static-libs"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="
- python? ( ${PYTHON_DEPS} )
- perl? ( dev-lang/perl )
- dev-libs/libpcre2
- dev-libs/pslib
-"
-DEPEND="${RDEPEND}
- python? ( dev-lang/swig )
- perl? ( dev-lang/swig )
-"
-BDEPEND="|| (
- sys-devel/gcc[sanitize]
- sys-libs/compiler-rt-sanitizers[asan(-)]
- )
- dev-vcs/git
-"
-
-src_unpack() {
- # Build system really wants jsmn to be here
- default
- rm -r "${S}/jsmn" || die
- mv "${WORKDIR}/jsmn-${JSMN_COMMIT}" "${S}/jsmn" || die
-}
-
-src_prepare() {
- default
- # Fix variable references itself error, fails in src_install otherwise.
- sed -i -e 's/TEXINPUTS="$(TEXINPUTS)$(PATH_SEPARATOR)$(TEXINFO_TEX_DIR)"/TEXINPUTS="$(PATH_SEPARATOR)$(TEXINFO_TEX_DIR)"/g' doc/Makefile.am || die
- # https://github.com/LibreDWG/libredwg/issues/404
- # Workaround: release tarball does not include dwg2ps.1.
- # Upstream autotools stuff has to be run in git repo
- git init -q || die
- git config --global user.email "larry@gentoo.org" || die
- git config --global user.name "Larry the Cow" || die
- git add . || die
- git commit -qm 'init' || die
- git tag ${PV} || die
- eautoreconf
-}
-
-src_configure() {
- perl_set_version
- local myconf=(
- --enable-write
- --enable-dxf
- --enable-json
- --disable-gcov
- $(use_enable !debug release)
- $(use_enable debug trace)
- $(use_enable debug)
- $(use_enable static-libs static)
- $(use_enable python python "${EPYTHON}")
- $(usex perl "--with-perl-install=vendor" "--with-perl-install=no")
- )
-
- if use python || use perl; then
- myconf+=( --enable-bindings )
- else
- myconf+=( --disable-bindings )
- fi
-
- econf ${myconf[@]}
-}
-
-src_compile() {
- perl_set_version
- emake
- docs_compile
-}
-
-src_install() {
- perl_set_version
- default
- use python && python_optimize
- # remove .la files if static-libs disabled
- if ! use static-libs; then
- rm "${ED}/usr/$(get_libdir)/libredwg.la" || die
- if use python; then
- rm "${D}/$(python_get_sitedir)/_LibreDWG.la" || die
- fi
- fi
-}
diff --git a/media-gfx/libredwg/libredwg-0.12.5.5865.ebuild b/media-gfx/libredwg/libredwg-0.12.5.5865.ebuild
deleted file mode 100644
index 2dde554209f8..000000000000
--- a/media-gfx/libredwg/libredwg-0.12.5.5865.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..11} )
-DOCS_BUILDER="doxygen"
-# File is hardcoded to be run from ../ so we use this instead of DOCS_DIR
-DOCS_CONFIG_NAME="doc/Doxyfile"
-
-inherit autotools docs python-single-r1 perl-functions
-
-JSMN_COMMIT="85695f3d5903b1cd5b4030efe50db3b4f5f3c928"
-
-DESCRIPTION="C library to handle DWG files"
-HOMEPAGE="https://www.gnu.org/software/libredwg/"
-SRC_URI="
- https://github.com/LibreDWG/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
- https://github.com/zserge/jsmn/archive/${JSMN_COMMIT}.tar.gz -> ${PN}-${JSMN_COMMIT}.tar.gz
-"
-
-LICENSE="GPL-3+ MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-# https://github.com/LibreDWG/libredwg/issues/342
-RESTRICT="test"
-
-IUSE="debug python perl static-libs"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="
- python? ( ${PYTHON_DEPS} )
- perl? ( dev-lang/perl )
- dev-libs/libpcre2
- dev-libs/pslib
-"
-DEPEND="${RDEPEND}
- python? ( dev-lang/swig )
- perl? ( dev-lang/swig )
-"
-BDEPEND="|| (
- sys-devel/gcc[sanitize]
- sys-libs/compiler-rt-sanitizers[asan(-)]
- )
- dev-vcs/git
-"
-
-src_unpack() {
- # Build system really wants jsmn to be here
- default
- rm -r "${S}/jsmn" || die
- mv "${WORKDIR}/jsmn-${JSMN_COMMIT}" "${S}/jsmn" || die
-}
-
-src_prepare() {
- default
- # Fix variable references itself error, fails in src_install otherwise.
- sed -i -e 's/TEXINPUTS="$(TEXINPUTS)$(PATH_SEPARATOR)$(TEXINFO_TEX_DIR)"/TEXINPUTS="$(PATH_SEPARATOR)$(TEXINFO_TEX_DIR)"/g' doc/Makefile.am || die
- # https://github.com/LibreDWG/libredwg/issues/404
- # Workaround: release tarball does not include dwg2ps.1.
- # Upstream autotools stuff has to be run in git repo
- git init -q || die
- git config --global user.email "larry@gentoo.org" || die
- git config --global user.name "Larry the Cow" || die
- git add . || die
- git commit -qm 'init' || die
- git tag ${PV} || die
- eautoreconf
-}
-
-src_configure() {
- perl_set_version
- local myconf=(
- --enable-write
- --enable-dxf
- --enable-json
- --disable-gcov
- $(use_enable !debug release)
- $(use_enable debug trace)
- $(use_enable debug)
- $(use_enable static-libs static)
- $(use_enable python python "${EPYTHON}")
- $(usex perl "--with-perl-install=vendor" "--with-perl-install=no")
- )
-
- if use python || use perl; then
- myconf+=( --enable-bindings )
- else
- myconf+=( --disable-bindings )
- fi
-
- econf ${myconf[@]}
-}
-
-src_compile() {
- perl_set_version
- emake
- docs_compile
-}
-
-src_install() {
- perl_set_version
- default
- use python && python_optimize
- # remove .la files if static-libs disabled
- if ! use static-libs; then
- rm "${ED}/usr/$(get_libdir)/libredwg.la" || die
- if use python; then
- rm "${D}/$(python_get_sitedir)/_LibreDWG.la" || die
- fi
- fi
-}
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/libredwg/
@ 2023-11-08 15:01 Andrew Ammerlaan
0 siblings, 0 replies; 23+ messages in thread
From: Andrew Ammerlaan @ 2023-11-08 15:01 UTC (permalink / raw
To: gentoo-commits
commit: 5b3062d95785497eca1f2a663030517f6315e3fd
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 8 15:01:36 2023 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Wed Nov 8 15:01:36 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b3062d9
media-gfx/libredwg: add 0.12.5.6564
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
media-gfx/libredwg/Manifest | 1 +
media-gfx/libredwg/libredwg-0.12.5.6564.ebuild | 114 +++++++++++++++++++++++++
2 files changed, 115 insertions(+)
diff --git a/media-gfx/libredwg/Manifest b/media-gfx/libredwg/Manifest
index 2c0c7da460f3..eb0437b6a805 100644
--- a/media-gfx/libredwg/Manifest
+++ b/media-gfx/libredwg/Manifest
@@ -1,3 +1,4 @@
DIST libredwg-0.12.5.6149.tar.gz 18995120 BLAKE2B 5e2698ef3edcdc99e658ac3d9f6ee4090b8e82518c655e4e3d837477b770adae3b159fab98ed3a802d61fcc831dfad3560a93eb268e8ac60aa32f2bb3f74b02a SHA512 e5deca193239c686ecb21aea9bd03005b1983fa9e5eb9c5d0fa4ecf00b3a990f4caaae3abed62bbc7bdf720f9e9d17466d519aa8390fa0109241dcc0eb0a4b40
DIST libredwg-0.12.5.6321.tar.gz 20413375 BLAKE2B 4645228ca6e4b8624df33b5584b3645a7e40cfa4840b7fd2473cb1b062c61973d89e0fdaf108ca8105835b3c5f4197d030339798c08a2c790b0ead2595b69bd4 SHA512 25ac81e4a6db1f0dea201a24b3cff7a865a18e67e1fa8fbdcecc4e95542812eb66907612593c9afa93aad51fa0e107226b495a477ceed76af4b8b71eadd99e5e
+DIST libredwg-0.12.5.6564.tar.gz 20424314 BLAKE2B c89b0a045190249eee5437ffde76fcc9b5cfa2017bfeb746de897cc191b9dd6b883694bd3b88f539782d5a3a8314620b2e51f538d91499743d67a862a8b29815 SHA512 68f35f5f16cf4c7537b563c0519eaca9d4aa0cd798067d60548e357579e427104e36aa9f3a65405949a869c8c8de4a47610ba97367fb1e2153ec89620fd54d97
DIST libredwg-85695f3d5903b1cd5b4030efe50db3b4f5f3c928.tar.gz 12597 BLAKE2B cd01f6c446d5d129545fdae07c0101d133e1f4e69ee62e94c27c3c2853dcc30854f40aed0c6f38f6594c5f5eb9e7b2d18d3b2e4f487b7bf1a3f7f39facde38bc SHA512 1d08cfa6216e0fe671dab77a0bd0b4ef0c4eb174878eba909c680e0ee93a82079b3cbf60afe2de7b0078258de8bcc588961e59cf0c14fe5f2d1f70db639ef95a
diff --git a/media-gfx/libredwg/libredwg-0.12.5.6564.ebuild b/media-gfx/libredwg/libredwg-0.12.5.6564.ebuild
new file mode 100644
index 000000000000..61cd225885db
--- /dev/null
+++ b/media-gfx/libredwg/libredwg-0.12.5.6564.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+DOCS_BUILDER="doxygen"
+# File is hardcoded to be run from ../ so we use this instead of DOCS_DIR
+DOCS_CONFIG_NAME="doc/Doxyfile"
+
+inherit autotools docs python-single-r1 perl-functions
+
+JSMN_COMMIT="85695f3d5903b1cd5b4030efe50db3b4f5f3c928"
+
+DESCRIPTION="C library to handle DWG files"
+HOMEPAGE="https://www.gnu.org/software/libredwg/"
+SRC_URI="
+ https://github.com/LibreDWG/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/zserge/jsmn/archive/${JSMN_COMMIT}.tar.gz -> ${PN}-${JSMN_COMMIT}.tar.gz
+"
+
+LICENSE="GPL-3+ MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# https://github.com/LibreDWG/libredwg/issues/342
+RESTRICT="test"
+
+IUSE="debug python perl static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+ python? ( ${PYTHON_DEPS} )
+ perl? ( dev-lang/perl )
+ dev-libs/libpcre2
+ dev-libs/pslib
+"
+DEPEND="${RDEPEND}
+ python? ( dev-lang/swig )
+ perl? ( dev-lang/swig )
+"
+BDEPEND="|| (
+ sys-devel/gcc[sanitize]
+ sys-libs/compiler-rt-sanitizers[asan(-)]
+ )
+ dev-vcs/git
+"
+
+src_unpack() {
+ # Build system really wants jsmn to be here
+ default
+ rm -r "${S}/jsmn" || die
+ mv "${WORKDIR}/jsmn-${JSMN_COMMIT}" "${S}/jsmn" || die
+}
+
+src_prepare() {
+ default
+ # Fix variable references itself error, fails in src_install otherwise.
+ sed -i -e 's/TEXINPUTS="$(TEXINPUTS)$(PATH_SEPARATOR)$(TEXINFO_TEX_DIR)"/TEXINPUTS="$(PATH_SEPARATOR)$(TEXINFO_TEX_DIR)"/g' doc/Makefile.am || die
+ # https://github.com/LibreDWG/libredwg/issues/404
+ # Workaround: release tarball does not include dwg2ps.1.
+ # Upstream autotools stuff has to be run in git repo
+ git init -q || die
+ git config --global user.email "larry@gentoo.org" || die
+ git config --global user.name "Larry the Cow" || die
+ git add . || die
+ git commit -qm 'init' || die
+ git tag ${PV} || die
+ eautoreconf
+}
+
+src_configure() {
+ perl_set_version
+ local myconf=(
+ --enable-write
+ --enable-dxf
+ --enable-json
+ --disable-gcov
+ --disable-werror
+ $(use_enable !debug release)
+ $(use_enable debug trace)
+ $(use_enable debug)
+ $(use_enable static-libs static)
+ $(use_enable python python "${EPYTHON}")
+ $(usex perl "--with-perl-install=vendor" "--with-perl-install=no")
+ )
+
+ if use python || use perl; then
+ myconf+=( --enable-bindings )
+ else
+ myconf+=( --disable-bindings )
+ fi
+
+ econf ${myconf[@]}
+}
+
+src_compile() {
+ perl_set_version
+ emake
+ docs_compile
+}
+
+src_install() {
+ perl_set_version
+ default
+ use python && python_optimize
+ # remove .la files if static-libs disabled
+ if ! use static-libs; then
+ rm "${ED}/usr/$(get_libdir)/libredwg.la" || die
+ if use python; then
+ rm "${D}/$(python_get_sitedir)/_LibreDWG.la" || die
+ fi
+ fi
+}
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/libredwg/
@ 2024-01-15 11:14 Andrew Ammerlaan
0 siblings, 0 replies; 23+ messages in thread
From: Andrew Ammerlaan @ 2024-01-15 11:14 UTC (permalink / raw
To: gentoo-commits
commit: 3a390ee4224eb82e3bb684cf17db1e2d5857f929
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 15 11:14:11 2024 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Mon Jan 15 11:14:21 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a390ee4
media-gfx/libredwg: drop 0.12.5.6149
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
media-gfx/libredwg/Manifest | 1 -
media-gfx/libredwg/libredwg-0.12.5.6149.ebuild | 113 -------------------------
2 files changed, 114 deletions(-)
diff --git a/media-gfx/libredwg/Manifest b/media-gfx/libredwg/Manifest
index 716be0c152b7..1237ca5922c7 100644
--- a/media-gfx/libredwg/Manifest
+++ b/media-gfx/libredwg/Manifest
@@ -1,4 +1,3 @@
-DIST libredwg-0.12.5.6149.tar.gz 18995120 BLAKE2B 5e2698ef3edcdc99e658ac3d9f6ee4090b8e82518c655e4e3d837477b770adae3b159fab98ed3a802d61fcc831dfad3560a93eb268e8ac60aa32f2bb3f74b02a SHA512 e5deca193239c686ecb21aea9bd03005b1983fa9e5eb9c5d0fa4ecf00b3a990f4caaae3abed62bbc7bdf720f9e9d17466d519aa8390fa0109241dcc0eb0a4b40
DIST libredwg-0.12.5.6321.tar.gz 20413375 BLAKE2B 4645228ca6e4b8624df33b5584b3645a7e40cfa4840b7fd2473cb1b062c61973d89e0fdaf108ca8105835b3c5f4197d030339798c08a2c790b0ead2595b69bd4 SHA512 25ac81e4a6db1f0dea201a24b3cff7a865a18e67e1fa8fbdcecc4e95542812eb66907612593c9afa93aad51fa0e107226b495a477ceed76af4b8b71eadd99e5e
DIST libredwg-0.12.5.6564.tar.gz 20424314 BLAKE2B c89b0a045190249eee5437ffde76fcc9b5cfa2017bfeb746de897cc191b9dd6b883694bd3b88f539782d5a3a8314620b2e51f538d91499743d67a862a8b29815 SHA512 68f35f5f16cf4c7537b563c0519eaca9d4aa0cd798067d60548e357579e427104e36aa9f3a65405949a869c8c8de4a47610ba97367fb1e2153ec89620fd54d97
DIST libredwg-0.12.5.6938.tar.gz 20513164 BLAKE2B f70909fb32db8c03ca20e9d39a54073bf614c6826c45764a3616913322b0ac2d2e1bb57961ccd9108f068f4bd3a72b9349d9e30159c857372b938e9d2e525235 SHA512 6a53501ffed57b4dc8b8c34104f987f549b5bd3bd7335aee0fc69f2a3fecd694e8fbc672bf325414e0bb2b7e8bfd9bb7542efaf1dc1392aec5b70ab45529f11a
diff --git a/media-gfx/libredwg/libredwg-0.12.5.6149.ebuild b/media-gfx/libredwg/libredwg-0.12.5.6149.ebuild
deleted file mode 100644
index 4d93c3aa1d28..000000000000
--- a/media-gfx/libredwg/libredwg-0.12.5.6149.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-DOCS_BUILDER="doxygen"
-# File is hardcoded to be run from ../ so we use this instead of DOCS_DIR
-DOCS_CONFIG_NAME="doc/Doxyfile"
-
-inherit autotools docs python-single-r1 perl-functions
-
-JSMN_COMMIT="85695f3d5903b1cd5b4030efe50db3b4f5f3c928"
-
-DESCRIPTION="C library to handle DWG files"
-HOMEPAGE="https://www.gnu.org/software/libredwg/"
-SRC_URI="
- https://github.com/LibreDWG/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
- https://github.com/zserge/jsmn/archive/${JSMN_COMMIT}.tar.gz -> ${PN}-${JSMN_COMMIT}.tar.gz
-"
-
-LICENSE="GPL-3+ MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-# https://github.com/LibreDWG/libredwg/issues/342
-RESTRICT="test"
-
-IUSE="debug python perl static-libs"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="
- python? ( ${PYTHON_DEPS} )
- perl? ( dev-lang/perl )
- dev-libs/libpcre2
- dev-libs/pslib
-"
-DEPEND="${RDEPEND}
- python? ( dev-lang/swig )
- perl? ( dev-lang/swig )
-"
-BDEPEND="|| (
- sys-devel/gcc[sanitize]
- sys-libs/compiler-rt-sanitizers[asan(-)]
- )
- dev-vcs/git
-"
-
-src_unpack() {
- # Build system really wants jsmn to be here
- default
- rm -r "${S}/jsmn" || die
- mv "${WORKDIR}/jsmn-${JSMN_COMMIT}" "${S}/jsmn" || die
-}
-
-src_prepare() {
- default
- # Fix variable references itself error, fails in src_install otherwise.
- sed -i -e 's/TEXINPUTS="$(TEXINPUTS)$(PATH_SEPARATOR)$(TEXINFO_TEX_DIR)"/TEXINPUTS="$(PATH_SEPARATOR)$(TEXINFO_TEX_DIR)"/g' doc/Makefile.am || die
- # https://github.com/LibreDWG/libredwg/issues/404
- # Workaround: release tarball does not include dwg2ps.1.
- # Upstream autotools stuff has to be run in git repo
- git init -q || die
- git config --global user.email "larry@gentoo.org" || die
- git config --global user.name "Larry the Cow" || die
- git add . || die
- git commit -qm 'init' || die
- git tag ${PV} || die
- eautoreconf
-}
-
-src_configure() {
- perl_set_version
- local myconf=(
- --enable-write
- --enable-dxf
- --enable-json
- --disable-gcov
- $(use_enable !debug release)
- $(use_enable debug trace)
- $(use_enable debug)
- $(use_enable static-libs static)
- $(use_enable python python "${EPYTHON}")
- $(usex perl "--with-perl-install=vendor" "--with-perl-install=no")
- )
-
- if use python || use perl; then
- myconf+=( --enable-bindings )
- else
- myconf+=( --disable-bindings )
- fi
-
- econf ${myconf[@]}
-}
-
-src_compile() {
- perl_set_version
- emake
- docs_compile
-}
-
-src_install() {
- perl_set_version
- default
- use python && python_optimize
- # remove .la files if static-libs disabled
- if ! use static-libs; then
- rm "${ED}/usr/$(get_libdir)/libredwg.la" || die
- if use python; then
- rm "${D}/$(python_get_sitedir)/_LibreDWG.la" || die
- fi
- fi
-}
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/libredwg/
@ 2024-01-15 11:14 Andrew Ammerlaan
0 siblings, 0 replies; 23+ messages in thread
From: Andrew Ammerlaan @ 2024-01-15 11:14 UTC (permalink / raw
To: gentoo-commits
commit: 78f6dc624ef0c518be8af54aa7c0f08b3b4e9dd8
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 15 11:14:02 2024 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Mon Jan 15 11:14:20 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78f6dc62
media-gfx/libredwg: add 0.12.5.6938
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
media-gfx/libredwg/Manifest | 1 +
media-gfx/libredwg/libredwg-0.12.5.6938.ebuild | 114 +++++++++++++++++++++++++
2 files changed, 115 insertions(+)
diff --git a/media-gfx/libredwg/Manifest b/media-gfx/libredwg/Manifest
index eb0437b6a805..716be0c152b7 100644
--- a/media-gfx/libredwg/Manifest
+++ b/media-gfx/libredwg/Manifest
@@ -1,4 +1,5 @@
DIST libredwg-0.12.5.6149.tar.gz 18995120 BLAKE2B 5e2698ef3edcdc99e658ac3d9f6ee4090b8e82518c655e4e3d837477b770adae3b159fab98ed3a802d61fcc831dfad3560a93eb268e8ac60aa32f2bb3f74b02a SHA512 e5deca193239c686ecb21aea9bd03005b1983fa9e5eb9c5d0fa4ecf00b3a990f4caaae3abed62bbc7bdf720f9e9d17466d519aa8390fa0109241dcc0eb0a4b40
DIST libredwg-0.12.5.6321.tar.gz 20413375 BLAKE2B 4645228ca6e4b8624df33b5584b3645a7e40cfa4840b7fd2473cb1b062c61973d89e0fdaf108ca8105835b3c5f4197d030339798c08a2c790b0ead2595b69bd4 SHA512 25ac81e4a6db1f0dea201a24b3cff7a865a18e67e1fa8fbdcecc4e95542812eb66907612593c9afa93aad51fa0e107226b495a477ceed76af4b8b71eadd99e5e
DIST libredwg-0.12.5.6564.tar.gz 20424314 BLAKE2B c89b0a045190249eee5437ffde76fcc9b5cfa2017bfeb746de897cc191b9dd6b883694bd3b88f539782d5a3a8314620b2e51f538d91499743d67a862a8b29815 SHA512 68f35f5f16cf4c7537b563c0519eaca9d4aa0cd798067d60548e357579e427104e36aa9f3a65405949a869c8c8de4a47610ba97367fb1e2153ec89620fd54d97
+DIST libredwg-0.12.5.6938.tar.gz 20513164 BLAKE2B f70909fb32db8c03ca20e9d39a54073bf614c6826c45764a3616913322b0ac2d2e1bb57961ccd9108f068f4bd3a72b9349d9e30159c857372b938e9d2e525235 SHA512 6a53501ffed57b4dc8b8c34104f987f549b5bd3bd7335aee0fc69f2a3fecd694e8fbc672bf325414e0bb2b7e8bfd9bb7542efaf1dc1392aec5b70ab45529f11a
DIST libredwg-85695f3d5903b1cd5b4030efe50db3b4f5f3c928.tar.gz 12597 BLAKE2B cd01f6c446d5d129545fdae07c0101d133e1f4e69ee62e94c27c3c2853dcc30854f40aed0c6f38f6594c5f5eb9e7b2d18d3b2e4f487b7bf1a3f7f39facde38bc SHA512 1d08cfa6216e0fe671dab77a0bd0b4ef0c4eb174878eba909c680e0ee93a82079b3cbf60afe2de7b0078258de8bcc588961e59cf0c14fe5f2d1f70db639ef95a
diff --git a/media-gfx/libredwg/libredwg-0.12.5.6938.ebuild b/media-gfx/libredwg/libredwg-0.12.5.6938.ebuild
new file mode 100644
index 000000000000..57215dfb3169
--- /dev/null
+++ b/media-gfx/libredwg/libredwg-0.12.5.6938.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+DOCS_BUILDER="doxygen"
+# File is hardcoded to be run from ../ so we use this instead of DOCS_DIR
+DOCS_CONFIG_NAME="doc/Doxyfile"
+
+inherit autotools docs python-single-r1 perl-functions
+
+JSMN_COMMIT="85695f3d5903b1cd5b4030efe50db3b4f5f3c928"
+
+DESCRIPTION="C library to handle DWG files"
+HOMEPAGE="https://www.gnu.org/software/libredwg/ https://github.com/LibreDWG/libredwg"
+SRC_URI="
+ https://github.com/LibreDWG/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/zserge/jsmn/archive/${JSMN_COMMIT}.tar.gz -> ${PN}-${JSMN_COMMIT}.tar.gz
+"
+
+LICENSE="GPL-3+ MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# https://github.com/LibreDWG/libredwg/issues/342
+RESTRICT="test"
+
+IUSE="debug python perl static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+ python? ( ${PYTHON_DEPS} )
+ perl? ( dev-lang/perl )
+ dev-libs/libpcre2
+ dev-libs/pslib
+"
+DEPEND="${RDEPEND}
+ python? ( dev-lang/swig )
+ perl? ( dev-lang/swig )
+"
+BDEPEND="|| (
+ sys-devel/gcc[sanitize]
+ sys-libs/compiler-rt-sanitizers[asan(-)]
+ )
+ dev-vcs/git
+"
+
+src_unpack() {
+ # Build system really wants jsmn to be here
+ default
+ rm -r "${S}/jsmn" || die
+ mv "${WORKDIR}/jsmn-${JSMN_COMMIT}" "${S}/jsmn" || die
+}
+
+src_prepare() {
+ default
+ # Fix variable references itself error, fails in src_install otherwise.
+ sed -i -e 's/TEXINPUTS="$(TEXINPUTS)$(PATH_SEPARATOR)$(TEXINFO_TEX_DIR)"/TEXINPUTS="$(PATH_SEPARATOR)$(TEXINFO_TEX_DIR)"/g' doc/Makefile.am || die
+ # https://github.com/LibreDWG/libredwg/issues/404
+ # Workaround: release tarball does not include dwg2ps.1.
+ # Upstream autotools stuff has to be run in git repo
+ git init -q || die
+ git config --global user.email "larry@gentoo.org" || die
+ git config --global user.name "Larry the Cow" || die
+ git add . || die
+ git commit -qm 'init' || die
+ git tag ${PV} || die
+ eautoreconf
+}
+
+src_configure() {
+ perl_set_version
+ local myconf=(
+ --enable-write
+ --enable-dxf
+ --enable-json
+ --disable-gcov
+ --disable-werror
+ $(use_enable !debug release)
+ $(use_enable debug trace)
+ $(use_enable debug)
+ $(use_enable static-libs static)
+ $(use_enable python python "${EPYTHON}")
+ $(usex perl "--with-perl-install=vendor" "--with-perl-install=no")
+ )
+
+ if use python || use perl; then
+ myconf+=( --enable-bindings )
+ else
+ myconf+=( --disable-bindings )
+ fi
+
+ econf ${myconf[@]}
+}
+
+src_compile() {
+ perl_set_version
+ emake
+ docs_compile
+}
+
+src_install() {
+ perl_set_version
+ default
+ use python && python_optimize
+ # remove .la files if static-libs disabled
+ if ! use static-libs; then
+ rm "${ED}/usr/$(get_libdir)/libredwg.la" || die
+ if use python; then
+ rm "${D}/$(python_get_sitedir)/_LibreDWG.la" || die
+ fi
+ fi
+}
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/libredwg/
@ 2024-02-06 11:30 Andrew Ammerlaan
0 siblings, 0 replies; 23+ messages in thread
From: Andrew Ammerlaan @ 2024-02-06 11:30 UTC (permalink / raw
To: gentoo-commits
commit: 5de53d6ac8c84016c626a2efa13c626c9c7c0252
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 6 11:11:45 2024 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Feb 6 11:29:47 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5de53d6a
media-gfx/libredwg: add 0.13
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
media-gfx/libredwg/Manifest | 1 +
media-gfx/libredwg/libredwg-0.13.ebuild | 114 ++++++++++++++++++++++++++++++++
2 files changed, 115 insertions(+)
diff --git a/media-gfx/libredwg/Manifest b/media-gfx/libredwg/Manifest
index 1237ca5922c7..d8e2d67e3035 100644
--- a/media-gfx/libredwg/Manifest
+++ b/media-gfx/libredwg/Manifest
@@ -1,4 +1,5 @@
DIST libredwg-0.12.5.6321.tar.gz 20413375 BLAKE2B 4645228ca6e4b8624df33b5584b3645a7e40cfa4840b7fd2473cb1b062c61973d89e0fdaf108ca8105835b3c5f4197d030339798c08a2c790b0ead2595b69bd4 SHA512 25ac81e4a6db1f0dea201a24b3cff7a865a18e67e1fa8fbdcecc4e95542812eb66907612593c9afa93aad51fa0e107226b495a477ceed76af4b8b71eadd99e5e
DIST libredwg-0.12.5.6564.tar.gz 20424314 BLAKE2B c89b0a045190249eee5437ffde76fcc9b5cfa2017bfeb746de897cc191b9dd6b883694bd3b88f539782d5a3a8314620b2e51f538d91499743d67a862a8b29815 SHA512 68f35f5f16cf4c7537b563c0519eaca9d4aa0cd798067d60548e357579e427104e36aa9f3a65405949a869c8c8de4a47610ba97367fb1e2153ec89620fd54d97
DIST libredwg-0.12.5.6938.tar.gz 20513164 BLAKE2B f70909fb32db8c03ca20e9d39a54073bf614c6826c45764a3616913322b0ac2d2e1bb57961ccd9108f068f4bd3a72b9349d9e30159c857372b938e9d2e525235 SHA512 6a53501ffed57b4dc8b8c34104f987f549b5bd3bd7335aee0fc69f2a3fecd694e8fbc672bf325414e0bb2b7e8bfd9bb7542efaf1dc1392aec5b70ab45529f11a
+DIST libredwg-0.13.tar.gz 20613784 BLAKE2B 26bab07b651b75b483b5211c77610a7d0af1f6adaca956a5766a6602c6c7e07fe0be3ec976a2119920c3d2df92c827cd9a9632563a91b4467159adb941ca39f7 SHA512 11585b4dcf83c2304e01010f68eb03da14c8d6affef944254a30067acb981d7f02507a932ad4509dfd65252e43d19c22966cc51945621764c4283daf0a1f0ab4
DIST libredwg-85695f3d5903b1cd5b4030efe50db3b4f5f3c928.tar.gz 12597 BLAKE2B cd01f6c446d5d129545fdae07c0101d133e1f4e69ee62e94c27c3c2853dcc30854f40aed0c6f38f6594c5f5eb9e7b2d18d3b2e4f487b7bf1a3f7f39facde38bc SHA512 1d08cfa6216e0fe671dab77a0bd0b4ef0c4eb174878eba909c680e0ee93a82079b3cbf60afe2de7b0078258de8bcc588961e59cf0c14fe5f2d1f70db639ef95a
diff --git a/media-gfx/libredwg/libredwg-0.13.ebuild b/media-gfx/libredwg/libredwg-0.13.ebuild
new file mode 100644
index 000000000000..57215dfb3169
--- /dev/null
+++ b/media-gfx/libredwg/libredwg-0.13.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+DOCS_BUILDER="doxygen"
+# File is hardcoded to be run from ../ so we use this instead of DOCS_DIR
+DOCS_CONFIG_NAME="doc/Doxyfile"
+
+inherit autotools docs python-single-r1 perl-functions
+
+JSMN_COMMIT="85695f3d5903b1cd5b4030efe50db3b4f5f3c928"
+
+DESCRIPTION="C library to handle DWG files"
+HOMEPAGE="https://www.gnu.org/software/libredwg/ https://github.com/LibreDWG/libredwg"
+SRC_URI="
+ https://github.com/LibreDWG/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/zserge/jsmn/archive/${JSMN_COMMIT}.tar.gz -> ${PN}-${JSMN_COMMIT}.tar.gz
+"
+
+LICENSE="GPL-3+ MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# https://github.com/LibreDWG/libredwg/issues/342
+RESTRICT="test"
+
+IUSE="debug python perl static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+ python? ( ${PYTHON_DEPS} )
+ perl? ( dev-lang/perl )
+ dev-libs/libpcre2
+ dev-libs/pslib
+"
+DEPEND="${RDEPEND}
+ python? ( dev-lang/swig )
+ perl? ( dev-lang/swig )
+"
+BDEPEND="|| (
+ sys-devel/gcc[sanitize]
+ sys-libs/compiler-rt-sanitizers[asan(-)]
+ )
+ dev-vcs/git
+"
+
+src_unpack() {
+ # Build system really wants jsmn to be here
+ default
+ rm -r "${S}/jsmn" || die
+ mv "${WORKDIR}/jsmn-${JSMN_COMMIT}" "${S}/jsmn" || die
+}
+
+src_prepare() {
+ default
+ # Fix variable references itself error, fails in src_install otherwise.
+ sed -i -e 's/TEXINPUTS="$(TEXINPUTS)$(PATH_SEPARATOR)$(TEXINFO_TEX_DIR)"/TEXINPUTS="$(PATH_SEPARATOR)$(TEXINFO_TEX_DIR)"/g' doc/Makefile.am || die
+ # https://github.com/LibreDWG/libredwg/issues/404
+ # Workaround: release tarball does not include dwg2ps.1.
+ # Upstream autotools stuff has to be run in git repo
+ git init -q || die
+ git config --global user.email "larry@gentoo.org" || die
+ git config --global user.name "Larry the Cow" || die
+ git add . || die
+ git commit -qm 'init' || die
+ git tag ${PV} || die
+ eautoreconf
+}
+
+src_configure() {
+ perl_set_version
+ local myconf=(
+ --enable-write
+ --enable-dxf
+ --enable-json
+ --disable-gcov
+ --disable-werror
+ $(use_enable !debug release)
+ $(use_enable debug trace)
+ $(use_enable debug)
+ $(use_enable static-libs static)
+ $(use_enable python python "${EPYTHON}")
+ $(usex perl "--with-perl-install=vendor" "--with-perl-install=no")
+ )
+
+ if use python || use perl; then
+ myconf+=( --enable-bindings )
+ else
+ myconf+=( --disable-bindings )
+ fi
+
+ econf ${myconf[@]}
+}
+
+src_compile() {
+ perl_set_version
+ emake
+ docs_compile
+}
+
+src_install() {
+ perl_set_version
+ default
+ use python && python_optimize
+ # remove .la files if static-libs disabled
+ if ! use static-libs; then
+ rm "${ED}/usr/$(get_libdir)/libredwg.la" || die
+ if use python; then
+ rm "${D}/$(python_get_sitedir)/_LibreDWG.la" || die
+ fi
+ fi
+}
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/libredwg/
@ 2024-02-06 11:30 Andrew Ammerlaan
0 siblings, 0 replies; 23+ messages in thread
From: Andrew Ammerlaan @ 2024-02-06 11:30 UTC (permalink / raw
To: gentoo-commits
commit: 2de4468ddc6a054005b83892768deca95ca828ae
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 6 11:13:15 2024 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Feb 6 11:29:48 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2de4468d
media-gfx/libredwg: drop 0.12.5.6321, 0.12.5.6564, 0.12.5.6938
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
media-gfx/libredwg/Manifest | 3 -
media-gfx/libredwg/libredwg-0.12.5.6321.ebuild | 114 -------------------------
media-gfx/libredwg/libredwg-0.12.5.6564.ebuild | 114 -------------------------
media-gfx/libredwg/libredwg-0.12.5.6938.ebuild | 114 -------------------------
4 files changed, 345 deletions(-)
diff --git a/media-gfx/libredwg/Manifest b/media-gfx/libredwg/Manifest
index d8e2d67e3035..79f36959fa65 100644
--- a/media-gfx/libredwg/Manifest
+++ b/media-gfx/libredwg/Manifest
@@ -1,5 +1,2 @@
-DIST libredwg-0.12.5.6321.tar.gz 20413375 BLAKE2B 4645228ca6e4b8624df33b5584b3645a7e40cfa4840b7fd2473cb1b062c61973d89e0fdaf108ca8105835b3c5f4197d030339798c08a2c790b0ead2595b69bd4 SHA512 25ac81e4a6db1f0dea201a24b3cff7a865a18e67e1fa8fbdcecc4e95542812eb66907612593c9afa93aad51fa0e107226b495a477ceed76af4b8b71eadd99e5e
-DIST libredwg-0.12.5.6564.tar.gz 20424314 BLAKE2B c89b0a045190249eee5437ffde76fcc9b5cfa2017bfeb746de897cc191b9dd6b883694bd3b88f539782d5a3a8314620b2e51f538d91499743d67a862a8b29815 SHA512 68f35f5f16cf4c7537b563c0519eaca9d4aa0cd798067d60548e357579e427104e36aa9f3a65405949a869c8c8de4a47610ba97367fb1e2153ec89620fd54d97
-DIST libredwg-0.12.5.6938.tar.gz 20513164 BLAKE2B f70909fb32db8c03ca20e9d39a54073bf614c6826c45764a3616913322b0ac2d2e1bb57961ccd9108f068f4bd3a72b9349d9e30159c857372b938e9d2e525235 SHA512 6a53501ffed57b4dc8b8c34104f987f549b5bd3bd7335aee0fc69f2a3fecd694e8fbc672bf325414e0bb2b7e8bfd9bb7542efaf1dc1392aec5b70ab45529f11a
DIST libredwg-0.13.tar.gz 20613784 BLAKE2B 26bab07b651b75b483b5211c77610a7d0af1f6adaca956a5766a6602c6c7e07fe0be3ec976a2119920c3d2df92c827cd9a9632563a91b4467159adb941ca39f7 SHA512 11585b4dcf83c2304e01010f68eb03da14c8d6affef944254a30067acb981d7f02507a932ad4509dfd65252e43d19c22966cc51945621764c4283daf0a1f0ab4
DIST libredwg-85695f3d5903b1cd5b4030efe50db3b4f5f3c928.tar.gz 12597 BLAKE2B cd01f6c446d5d129545fdae07c0101d133e1f4e69ee62e94c27c3c2853dcc30854f40aed0c6f38f6594c5f5eb9e7b2d18d3b2e4f487b7bf1a3f7f39facde38bc SHA512 1d08cfa6216e0fe671dab77a0bd0b4ef0c4eb174878eba909c680e0ee93a82079b3cbf60afe2de7b0078258de8bcc588961e59cf0c14fe5f2d1f70db639ef95a
diff --git a/media-gfx/libredwg/libredwg-0.12.5.6321.ebuild b/media-gfx/libredwg/libredwg-0.12.5.6321.ebuild
deleted file mode 100644
index 61cd225885db..000000000000
--- a/media-gfx/libredwg/libredwg-0.12.5.6321.ebuild
+++ /dev/null
@@ -1,114 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-DOCS_BUILDER="doxygen"
-# File is hardcoded to be run from ../ so we use this instead of DOCS_DIR
-DOCS_CONFIG_NAME="doc/Doxyfile"
-
-inherit autotools docs python-single-r1 perl-functions
-
-JSMN_COMMIT="85695f3d5903b1cd5b4030efe50db3b4f5f3c928"
-
-DESCRIPTION="C library to handle DWG files"
-HOMEPAGE="https://www.gnu.org/software/libredwg/"
-SRC_URI="
- https://github.com/LibreDWG/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
- https://github.com/zserge/jsmn/archive/${JSMN_COMMIT}.tar.gz -> ${PN}-${JSMN_COMMIT}.tar.gz
-"
-
-LICENSE="GPL-3+ MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-# https://github.com/LibreDWG/libredwg/issues/342
-RESTRICT="test"
-
-IUSE="debug python perl static-libs"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="
- python? ( ${PYTHON_DEPS} )
- perl? ( dev-lang/perl )
- dev-libs/libpcre2
- dev-libs/pslib
-"
-DEPEND="${RDEPEND}
- python? ( dev-lang/swig )
- perl? ( dev-lang/swig )
-"
-BDEPEND="|| (
- sys-devel/gcc[sanitize]
- sys-libs/compiler-rt-sanitizers[asan(-)]
- )
- dev-vcs/git
-"
-
-src_unpack() {
- # Build system really wants jsmn to be here
- default
- rm -r "${S}/jsmn" || die
- mv "${WORKDIR}/jsmn-${JSMN_COMMIT}" "${S}/jsmn" || die
-}
-
-src_prepare() {
- default
- # Fix variable references itself error, fails in src_install otherwise.
- sed -i -e 's/TEXINPUTS="$(TEXINPUTS)$(PATH_SEPARATOR)$(TEXINFO_TEX_DIR)"/TEXINPUTS="$(PATH_SEPARATOR)$(TEXINFO_TEX_DIR)"/g' doc/Makefile.am || die
- # https://github.com/LibreDWG/libredwg/issues/404
- # Workaround: release tarball does not include dwg2ps.1.
- # Upstream autotools stuff has to be run in git repo
- git init -q || die
- git config --global user.email "larry@gentoo.org" || die
- git config --global user.name "Larry the Cow" || die
- git add . || die
- git commit -qm 'init' || die
- git tag ${PV} || die
- eautoreconf
-}
-
-src_configure() {
- perl_set_version
- local myconf=(
- --enable-write
- --enable-dxf
- --enable-json
- --disable-gcov
- --disable-werror
- $(use_enable !debug release)
- $(use_enable debug trace)
- $(use_enable debug)
- $(use_enable static-libs static)
- $(use_enable python python "${EPYTHON}")
- $(usex perl "--with-perl-install=vendor" "--with-perl-install=no")
- )
-
- if use python || use perl; then
- myconf+=( --enable-bindings )
- else
- myconf+=( --disable-bindings )
- fi
-
- econf ${myconf[@]}
-}
-
-src_compile() {
- perl_set_version
- emake
- docs_compile
-}
-
-src_install() {
- perl_set_version
- default
- use python && python_optimize
- # remove .la files if static-libs disabled
- if ! use static-libs; then
- rm "${ED}/usr/$(get_libdir)/libredwg.la" || die
- if use python; then
- rm "${D}/$(python_get_sitedir)/_LibreDWG.la" || die
- fi
- fi
-}
diff --git a/media-gfx/libredwg/libredwg-0.12.5.6564.ebuild b/media-gfx/libredwg/libredwg-0.12.5.6564.ebuild
deleted file mode 100644
index 61cd225885db..000000000000
--- a/media-gfx/libredwg/libredwg-0.12.5.6564.ebuild
+++ /dev/null
@@ -1,114 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-DOCS_BUILDER="doxygen"
-# File is hardcoded to be run from ../ so we use this instead of DOCS_DIR
-DOCS_CONFIG_NAME="doc/Doxyfile"
-
-inherit autotools docs python-single-r1 perl-functions
-
-JSMN_COMMIT="85695f3d5903b1cd5b4030efe50db3b4f5f3c928"
-
-DESCRIPTION="C library to handle DWG files"
-HOMEPAGE="https://www.gnu.org/software/libredwg/"
-SRC_URI="
- https://github.com/LibreDWG/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
- https://github.com/zserge/jsmn/archive/${JSMN_COMMIT}.tar.gz -> ${PN}-${JSMN_COMMIT}.tar.gz
-"
-
-LICENSE="GPL-3+ MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-# https://github.com/LibreDWG/libredwg/issues/342
-RESTRICT="test"
-
-IUSE="debug python perl static-libs"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="
- python? ( ${PYTHON_DEPS} )
- perl? ( dev-lang/perl )
- dev-libs/libpcre2
- dev-libs/pslib
-"
-DEPEND="${RDEPEND}
- python? ( dev-lang/swig )
- perl? ( dev-lang/swig )
-"
-BDEPEND="|| (
- sys-devel/gcc[sanitize]
- sys-libs/compiler-rt-sanitizers[asan(-)]
- )
- dev-vcs/git
-"
-
-src_unpack() {
- # Build system really wants jsmn to be here
- default
- rm -r "${S}/jsmn" || die
- mv "${WORKDIR}/jsmn-${JSMN_COMMIT}" "${S}/jsmn" || die
-}
-
-src_prepare() {
- default
- # Fix variable references itself error, fails in src_install otherwise.
- sed -i -e 's/TEXINPUTS="$(TEXINPUTS)$(PATH_SEPARATOR)$(TEXINFO_TEX_DIR)"/TEXINPUTS="$(PATH_SEPARATOR)$(TEXINFO_TEX_DIR)"/g' doc/Makefile.am || die
- # https://github.com/LibreDWG/libredwg/issues/404
- # Workaround: release tarball does not include dwg2ps.1.
- # Upstream autotools stuff has to be run in git repo
- git init -q || die
- git config --global user.email "larry@gentoo.org" || die
- git config --global user.name "Larry the Cow" || die
- git add . || die
- git commit -qm 'init' || die
- git tag ${PV} || die
- eautoreconf
-}
-
-src_configure() {
- perl_set_version
- local myconf=(
- --enable-write
- --enable-dxf
- --enable-json
- --disable-gcov
- --disable-werror
- $(use_enable !debug release)
- $(use_enable debug trace)
- $(use_enable debug)
- $(use_enable static-libs static)
- $(use_enable python python "${EPYTHON}")
- $(usex perl "--with-perl-install=vendor" "--with-perl-install=no")
- )
-
- if use python || use perl; then
- myconf+=( --enable-bindings )
- else
- myconf+=( --disable-bindings )
- fi
-
- econf ${myconf[@]}
-}
-
-src_compile() {
- perl_set_version
- emake
- docs_compile
-}
-
-src_install() {
- perl_set_version
- default
- use python && python_optimize
- # remove .la files if static-libs disabled
- if ! use static-libs; then
- rm "${ED}/usr/$(get_libdir)/libredwg.la" || die
- if use python; then
- rm "${D}/$(python_get_sitedir)/_LibreDWG.la" || die
- fi
- fi
-}
diff --git a/media-gfx/libredwg/libredwg-0.12.5.6938.ebuild b/media-gfx/libredwg/libredwg-0.12.5.6938.ebuild
deleted file mode 100644
index 57215dfb3169..000000000000
--- a/media-gfx/libredwg/libredwg-0.12.5.6938.ebuild
+++ /dev/null
@@ -1,114 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-DOCS_BUILDER="doxygen"
-# File is hardcoded to be run from ../ so we use this instead of DOCS_DIR
-DOCS_CONFIG_NAME="doc/Doxyfile"
-
-inherit autotools docs python-single-r1 perl-functions
-
-JSMN_COMMIT="85695f3d5903b1cd5b4030efe50db3b4f5f3c928"
-
-DESCRIPTION="C library to handle DWG files"
-HOMEPAGE="https://www.gnu.org/software/libredwg/ https://github.com/LibreDWG/libredwg"
-SRC_URI="
- https://github.com/LibreDWG/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
- https://github.com/zserge/jsmn/archive/${JSMN_COMMIT}.tar.gz -> ${PN}-${JSMN_COMMIT}.tar.gz
-"
-
-LICENSE="GPL-3+ MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-# https://github.com/LibreDWG/libredwg/issues/342
-RESTRICT="test"
-
-IUSE="debug python perl static-libs"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="
- python? ( ${PYTHON_DEPS} )
- perl? ( dev-lang/perl )
- dev-libs/libpcre2
- dev-libs/pslib
-"
-DEPEND="${RDEPEND}
- python? ( dev-lang/swig )
- perl? ( dev-lang/swig )
-"
-BDEPEND="|| (
- sys-devel/gcc[sanitize]
- sys-libs/compiler-rt-sanitizers[asan(-)]
- )
- dev-vcs/git
-"
-
-src_unpack() {
- # Build system really wants jsmn to be here
- default
- rm -r "${S}/jsmn" || die
- mv "${WORKDIR}/jsmn-${JSMN_COMMIT}" "${S}/jsmn" || die
-}
-
-src_prepare() {
- default
- # Fix variable references itself error, fails in src_install otherwise.
- sed -i -e 's/TEXINPUTS="$(TEXINPUTS)$(PATH_SEPARATOR)$(TEXINFO_TEX_DIR)"/TEXINPUTS="$(PATH_SEPARATOR)$(TEXINFO_TEX_DIR)"/g' doc/Makefile.am || die
- # https://github.com/LibreDWG/libredwg/issues/404
- # Workaround: release tarball does not include dwg2ps.1.
- # Upstream autotools stuff has to be run in git repo
- git init -q || die
- git config --global user.email "larry@gentoo.org" || die
- git config --global user.name "Larry the Cow" || die
- git add . || die
- git commit -qm 'init' || die
- git tag ${PV} || die
- eautoreconf
-}
-
-src_configure() {
- perl_set_version
- local myconf=(
- --enable-write
- --enable-dxf
- --enable-json
- --disable-gcov
- --disable-werror
- $(use_enable !debug release)
- $(use_enable debug trace)
- $(use_enable debug)
- $(use_enable static-libs static)
- $(use_enable python python "${EPYTHON}")
- $(usex perl "--with-perl-install=vendor" "--with-perl-install=no")
- )
-
- if use python || use perl; then
- myconf+=( --enable-bindings )
- else
- myconf+=( --disable-bindings )
- fi
-
- econf ${myconf[@]}
-}
-
-src_compile() {
- perl_set_version
- emake
- docs_compile
-}
-
-src_install() {
- perl_set_version
- default
- use python && python_optimize
- # remove .la files if static-libs disabled
- if ! use static-libs; then
- rm "${ED}/usr/$(get_libdir)/libredwg.la" || die
- if use python; then
- rm "${D}/$(python_get_sitedir)/_LibreDWG.la" || die
- fi
- fi
-}
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/libredwg/
@ 2024-02-13 10:15 Andrew Ammerlaan
0 siblings, 0 replies; 23+ messages in thread
From: Andrew Ammerlaan @ 2024-02-13 10:15 UTC (permalink / raw
To: gentoo-commits
commit: 21c10f73de98bce2e2386e58b00f1262333d930e
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 13 09:06:54 2024 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Feb 13 10:15:07 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21c10f73
media-gfx/libredwg: add 0.13.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
media-gfx/libredwg/Manifest | 1 +
media-gfx/libredwg/libredwg-0.13.2.ebuild | 114 ++++++++++++++++++++++++++++++
2 files changed, 115 insertions(+)
diff --git a/media-gfx/libredwg/Manifest b/media-gfx/libredwg/Manifest
index 79f36959fa65..4aab7df14fb2 100644
--- a/media-gfx/libredwg/Manifest
+++ b/media-gfx/libredwg/Manifest
@@ -1,2 +1,3 @@
+DIST libredwg-0.13.2.tar.gz 20627421 BLAKE2B 7d11c5f390a2e9d1afbe26b07a44e3b38a2734df39a0e499b55c59e873686625adf66a0a25de4509dee3fe285488e8d89e2e176e2aaa7c0a13c52abe6472b910 SHA512 ae93bf958c196cc54b8c05664e7201b82a3975845d544ae45cde437d716507ef1de08bf89615b5a67cf3841a014782af335031668ad59b34721a78648caaba67
DIST libredwg-0.13.tar.gz 20613784 BLAKE2B 26bab07b651b75b483b5211c77610a7d0af1f6adaca956a5766a6602c6c7e07fe0be3ec976a2119920c3d2df92c827cd9a9632563a91b4467159adb941ca39f7 SHA512 11585b4dcf83c2304e01010f68eb03da14c8d6affef944254a30067acb981d7f02507a932ad4509dfd65252e43d19c22966cc51945621764c4283daf0a1f0ab4
DIST libredwg-85695f3d5903b1cd5b4030efe50db3b4f5f3c928.tar.gz 12597 BLAKE2B cd01f6c446d5d129545fdae07c0101d133e1f4e69ee62e94c27c3c2853dcc30854f40aed0c6f38f6594c5f5eb9e7b2d18d3b2e4f487b7bf1a3f7f39facde38bc SHA512 1d08cfa6216e0fe671dab77a0bd0b4ef0c4eb174878eba909c680e0ee93a82079b3cbf60afe2de7b0078258de8bcc588961e59cf0c14fe5f2d1f70db639ef95a
diff --git a/media-gfx/libredwg/libredwg-0.13.2.ebuild b/media-gfx/libredwg/libredwg-0.13.2.ebuild
new file mode 100644
index 000000000000..57215dfb3169
--- /dev/null
+++ b/media-gfx/libredwg/libredwg-0.13.2.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+DOCS_BUILDER="doxygen"
+# File is hardcoded to be run from ../ so we use this instead of DOCS_DIR
+DOCS_CONFIG_NAME="doc/Doxyfile"
+
+inherit autotools docs python-single-r1 perl-functions
+
+JSMN_COMMIT="85695f3d5903b1cd5b4030efe50db3b4f5f3c928"
+
+DESCRIPTION="C library to handle DWG files"
+HOMEPAGE="https://www.gnu.org/software/libredwg/ https://github.com/LibreDWG/libredwg"
+SRC_URI="
+ https://github.com/LibreDWG/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/zserge/jsmn/archive/${JSMN_COMMIT}.tar.gz -> ${PN}-${JSMN_COMMIT}.tar.gz
+"
+
+LICENSE="GPL-3+ MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# https://github.com/LibreDWG/libredwg/issues/342
+RESTRICT="test"
+
+IUSE="debug python perl static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+ python? ( ${PYTHON_DEPS} )
+ perl? ( dev-lang/perl )
+ dev-libs/libpcre2
+ dev-libs/pslib
+"
+DEPEND="${RDEPEND}
+ python? ( dev-lang/swig )
+ perl? ( dev-lang/swig )
+"
+BDEPEND="|| (
+ sys-devel/gcc[sanitize]
+ sys-libs/compiler-rt-sanitizers[asan(-)]
+ )
+ dev-vcs/git
+"
+
+src_unpack() {
+ # Build system really wants jsmn to be here
+ default
+ rm -r "${S}/jsmn" || die
+ mv "${WORKDIR}/jsmn-${JSMN_COMMIT}" "${S}/jsmn" || die
+}
+
+src_prepare() {
+ default
+ # Fix variable references itself error, fails in src_install otherwise.
+ sed -i -e 's/TEXINPUTS="$(TEXINPUTS)$(PATH_SEPARATOR)$(TEXINFO_TEX_DIR)"/TEXINPUTS="$(PATH_SEPARATOR)$(TEXINFO_TEX_DIR)"/g' doc/Makefile.am || die
+ # https://github.com/LibreDWG/libredwg/issues/404
+ # Workaround: release tarball does not include dwg2ps.1.
+ # Upstream autotools stuff has to be run in git repo
+ git init -q || die
+ git config --global user.email "larry@gentoo.org" || die
+ git config --global user.name "Larry the Cow" || die
+ git add . || die
+ git commit -qm 'init' || die
+ git tag ${PV} || die
+ eautoreconf
+}
+
+src_configure() {
+ perl_set_version
+ local myconf=(
+ --enable-write
+ --enable-dxf
+ --enable-json
+ --disable-gcov
+ --disable-werror
+ $(use_enable !debug release)
+ $(use_enable debug trace)
+ $(use_enable debug)
+ $(use_enable static-libs static)
+ $(use_enable python python "${EPYTHON}")
+ $(usex perl "--with-perl-install=vendor" "--with-perl-install=no")
+ )
+
+ if use python || use perl; then
+ myconf+=( --enable-bindings )
+ else
+ myconf+=( --disable-bindings )
+ fi
+
+ econf ${myconf[@]}
+}
+
+src_compile() {
+ perl_set_version
+ emake
+ docs_compile
+}
+
+src_install() {
+ perl_set_version
+ default
+ use python && python_optimize
+ # remove .la files if static-libs disabled
+ if ! use static-libs; then
+ rm "${ED}/usr/$(get_libdir)/libredwg.la" || die
+ if use python; then
+ rm "${D}/$(python_get_sitedir)/_LibreDWG.la" || die
+ fi
+ fi
+}
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/libredwg/
@ 2024-02-26 17:09 Andrew Ammerlaan
0 siblings, 0 replies; 23+ messages in thread
From: Andrew Ammerlaan @ 2024-02-26 17:09 UTC (permalink / raw
To: gentoo-commits
commit: 139c27c7e9b7f02cb4ef4a81cfaed76249a0d1a5
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 26 17:08:57 2024 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Mon Feb 26 17:09:11 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=139c27c7
media-gfx/libredwg: add 0.13.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
media-gfx/libredwg/Manifest | 1 +
media-gfx/libredwg/libredwg-0.13.3.ebuild | 114 ++++++++++++++++++++++++++++++
2 files changed, 115 insertions(+)
diff --git a/media-gfx/libredwg/Manifest b/media-gfx/libredwg/Manifest
index 4aab7df14fb2..db65c4cae1b5 100644
--- a/media-gfx/libredwg/Manifest
+++ b/media-gfx/libredwg/Manifest
@@ -1,3 +1,4 @@
DIST libredwg-0.13.2.tar.gz 20627421 BLAKE2B 7d11c5f390a2e9d1afbe26b07a44e3b38a2734df39a0e499b55c59e873686625adf66a0a25de4509dee3fe285488e8d89e2e176e2aaa7c0a13c52abe6472b910 SHA512 ae93bf958c196cc54b8c05664e7201b82a3975845d544ae45cde437d716507ef1de08bf89615b5a67cf3841a014782af335031668ad59b34721a78648caaba67
+DIST libredwg-0.13.3.tar.gz 20749296 BLAKE2B c39a98dab385a2d2a1603eff6347a9c91ba5b526085f0b36b761486be57a4ba1aaa44eb4fb70178fa6f0425797991fef89e51c2dd61b352829e2ebc39215248a SHA512 cf0baf477d053eb6ab2feaeda187f2d92211c7d28aa50318c1c8d7acf1b9c463258fa3a388dddce266bf44e0d4e4cf1bd3aa591c918f8a253515919e5c1b3f57
DIST libredwg-0.13.tar.gz 20613784 BLAKE2B 26bab07b651b75b483b5211c77610a7d0af1f6adaca956a5766a6602c6c7e07fe0be3ec976a2119920c3d2df92c827cd9a9632563a91b4467159adb941ca39f7 SHA512 11585b4dcf83c2304e01010f68eb03da14c8d6affef944254a30067acb981d7f02507a932ad4509dfd65252e43d19c22966cc51945621764c4283daf0a1f0ab4
DIST libredwg-85695f3d5903b1cd5b4030efe50db3b4f5f3c928.tar.gz 12597 BLAKE2B cd01f6c446d5d129545fdae07c0101d133e1f4e69ee62e94c27c3c2853dcc30854f40aed0c6f38f6594c5f5eb9e7b2d18d3b2e4f487b7bf1a3f7f39facde38bc SHA512 1d08cfa6216e0fe671dab77a0bd0b4ef0c4eb174878eba909c680e0ee93a82079b3cbf60afe2de7b0078258de8bcc588961e59cf0c14fe5f2d1f70db639ef95a
diff --git a/media-gfx/libredwg/libredwg-0.13.3.ebuild b/media-gfx/libredwg/libredwg-0.13.3.ebuild
new file mode 100644
index 000000000000..57215dfb3169
--- /dev/null
+++ b/media-gfx/libredwg/libredwg-0.13.3.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+DOCS_BUILDER="doxygen"
+# File is hardcoded to be run from ../ so we use this instead of DOCS_DIR
+DOCS_CONFIG_NAME="doc/Doxyfile"
+
+inherit autotools docs python-single-r1 perl-functions
+
+JSMN_COMMIT="85695f3d5903b1cd5b4030efe50db3b4f5f3c928"
+
+DESCRIPTION="C library to handle DWG files"
+HOMEPAGE="https://www.gnu.org/software/libredwg/ https://github.com/LibreDWG/libredwg"
+SRC_URI="
+ https://github.com/LibreDWG/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/zserge/jsmn/archive/${JSMN_COMMIT}.tar.gz -> ${PN}-${JSMN_COMMIT}.tar.gz
+"
+
+LICENSE="GPL-3+ MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# https://github.com/LibreDWG/libredwg/issues/342
+RESTRICT="test"
+
+IUSE="debug python perl static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+ python? ( ${PYTHON_DEPS} )
+ perl? ( dev-lang/perl )
+ dev-libs/libpcre2
+ dev-libs/pslib
+"
+DEPEND="${RDEPEND}
+ python? ( dev-lang/swig )
+ perl? ( dev-lang/swig )
+"
+BDEPEND="|| (
+ sys-devel/gcc[sanitize]
+ sys-libs/compiler-rt-sanitizers[asan(-)]
+ )
+ dev-vcs/git
+"
+
+src_unpack() {
+ # Build system really wants jsmn to be here
+ default
+ rm -r "${S}/jsmn" || die
+ mv "${WORKDIR}/jsmn-${JSMN_COMMIT}" "${S}/jsmn" || die
+}
+
+src_prepare() {
+ default
+ # Fix variable references itself error, fails in src_install otherwise.
+ sed -i -e 's/TEXINPUTS="$(TEXINPUTS)$(PATH_SEPARATOR)$(TEXINFO_TEX_DIR)"/TEXINPUTS="$(PATH_SEPARATOR)$(TEXINFO_TEX_DIR)"/g' doc/Makefile.am || die
+ # https://github.com/LibreDWG/libredwg/issues/404
+ # Workaround: release tarball does not include dwg2ps.1.
+ # Upstream autotools stuff has to be run in git repo
+ git init -q || die
+ git config --global user.email "larry@gentoo.org" || die
+ git config --global user.name "Larry the Cow" || die
+ git add . || die
+ git commit -qm 'init' || die
+ git tag ${PV} || die
+ eautoreconf
+}
+
+src_configure() {
+ perl_set_version
+ local myconf=(
+ --enable-write
+ --enable-dxf
+ --enable-json
+ --disable-gcov
+ --disable-werror
+ $(use_enable !debug release)
+ $(use_enable debug trace)
+ $(use_enable debug)
+ $(use_enable static-libs static)
+ $(use_enable python python "${EPYTHON}")
+ $(usex perl "--with-perl-install=vendor" "--with-perl-install=no")
+ )
+
+ if use python || use perl; then
+ myconf+=( --enable-bindings )
+ else
+ myconf+=( --disable-bindings )
+ fi
+
+ econf ${myconf[@]}
+}
+
+src_compile() {
+ perl_set_version
+ emake
+ docs_compile
+}
+
+src_install() {
+ perl_set_version
+ default
+ use python && python_optimize
+ # remove .la files if static-libs disabled
+ if ! use static-libs; then
+ rm "${ED}/usr/$(get_libdir)/libredwg.la" || die
+ if use python; then
+ rm "${D}/$(python_get_sitedir)/_LibreDWG.la" || die
+ fi
+ fi
+}
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/libredwg/
@ 2024-03-02 14:44 Andrew Ammerlaan
0 siblings, 0 replies; 23+ messages in thread
From: Andrew Ammerlaan @ 2024-03-02 14:44 UTC (permalink / raw
To: gentoo-commits
commit: ba0a9f492d82e9ac8af7fdc01a05f60acc662b0e
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 2 14:43:48 2024 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sat Mar 2 14:44:19 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba0a9f49
media-gfx/libredwg: only remove la files if they exist
Closes: https://bugs.gentoo.org/914184
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
media-gfx/libredwg/libredwg-0.13.3.ebuild | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/media-gfx/libredwg/libredwg-0.13.3.ebuild b/media-gfx/libredwg/libredwg-0.13.3.ebuild
index 57215dfb3169..d29a75a7f99d 100644
--- a/media-gfx/libredwg/libredwg-0.13.3.ebuild
+++ b/media-gfx/libredwg/libredwg-0.13.3.ebuild
@@ -106,9 +106,6 @@ src_install() {
use python && python_optimize
# remove .la files if static-libs disabled
if ! use static-libs; then
- rm "${ED}/usr/$(get_libdir)/libredwg.la" || die
- if use python; then
- rm "${D}/$(python_get_sitedir)/_LibreDWG.la" || die
- fi
+ find "${ED}" -name '*.la' -delete || die
fi
}
^ permalink raw reply related [flat|nested] 23+ messages in thread
end of thread, other threads:[~2024-03-02 14:44 UTC | newest]
Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-24 8:37 [gentoo-commits] repo/gentoo:master commit in: media-gfx/libredwg/ Andrew Ammerlaan
-- strict thread matches above, loose matches on Subject: below --
2021-07-19 10:46 Andrew Ammerlaan
2021-11-28 12:51 Andrew Ammerlaan
2022-02-19 11:12 Andrew Ammerlaan
2022-02-22 10:36 Andrew Ammerlaan
2022-06-01 12:56 Andrew Ammerlaan
2022-06-06 9:06 Andrew Ammerlaan
2022-11-08 8:52 Andrew Ammerlaan
2022-11-08 8:52 Andrew Ammerlaan
2023-05-01 13:16 Andrew Ammerlaan
2023-06-27 12:06 Andrew Ammerlaan
2023-06-27 12:06 Andrew Ammerlaan
2023-08-17 7:49 Andrew Ammerlaan
2023-09-14 9:00 Andrew Ammerlaan
2023-09-14 9:00 Andrew Ammerlaan
2023-11-08 15:01 Andrew Ammerlaan
2024-01-15 11:14 Andrew Ammerlaan
2024-01-15 11:14 Andrew Ammerlaan
2024-02-06 11:30 Andrew Ammerlaan
2024-02-06 11:30 Andrew Ammerlaan
2024-02-13 10:15 Andrew Ammerlaan
2024-02-26 17:09 Andrew Ammerlaan
2024-03-02 14:44 Andrew Ammerlaan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox