[gentoo-commits] repo/gentoo:master commit in: dev-libs/uriparser/files/, dev-libs/uriparser/
commit: 63df6ab2e4749fbb894f599d03cb62e3d4f4bc27 Author: Sebastian Pipping gentoo org> AuthorDate: Sat May 11 10:50:19 2024 + Commit: Sebastian Pipping gentoo org> CommitDate: Sat May 11 10:51:16 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63df6ab2 dev-libs/uriparser: Fix docs compilation Closes: https://bugs.gentoo.org/931287 Signed-off-by: Sebastian Pipping gentoo.org> .../files/uriparser-0.9.8-docs-compilation.patch | 13 + dev-libs/uriparser/uriparser-0.9.8-r1.ebuild | 61 ++ 2 files changed, 74 insertions(+) diff --git a/dev-libs/uriparser/files/uriparser-0.9.8-docs-compilation.patch b/dev-libs/uriparser/files/uriparser-0.9.8-docs-compilation.patch new file mode 100644 index ..fbf298e6a7cd --- /dev/null +++ b/dev-libs/uriparser/files/uriparser-0.9.8-docs-compilation.patch @@ -0,0 +1,13 @@ +diff --git a/doc/preprocess.sh b/doc/preprocess.sh +index c77bb6a..6ee75f2 100755 +--- a/doc/preprocess.sh b/doc/preprocess.sh +@@ -1,4 +1,6 @@ + #! /usr/bin/env bash + # Run GCC preprocessor and delete empty lines +-: ${CPP:=cpp} +-"${CPP}" -DURI_DOXYGEN -DURI_NO_UNICODE -C -I ../include "$1" | sed -e '/^$/d' -e 's/COMMENT_HACK//g' ++: ${CC:=cc} ++PS4='doc/preprocess.sh|# ' ++set -x ++"${CC}" -E -DURI_DOXYGEN -DURI_NO_UNICODE -C -I ../include "$1" | sed -e '/^$/d' -e 's/COMMENT_HACK//g' diff --git a/dev-libs/uriparser/uriparser-0.9.8-r1.ebuild b/dev-libs/uriparser/uriparser-0.9.8-r1.ebuild new file mode 100644 index ..984256a19ba3 --- /dev/null +++ b/dev-libs/uriparser/uriparser-0.9.8-r1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Strictly RFC 3986 compliant URI parsing library in C" +HOMEPAGE="https://uriparser.github.io/; +SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.bz2; + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="+doc qt5 test unicode" # +doc to address warning RequiredUseDefaults + +REQUIRED_USE="qt5? ( doc ) test? ( unicode )" +RESTRICT="!test? ( test )" + +DEPEND=" + test? ( >=dev-cpp/gtest-1.8.1 ) +" +BDEPEND=" + virtual/pkgconfig + doc? ( + >=app-text/doxygen-1.5.8 + media-gfx/graphviz + qt5? ( dev-qt/qthelp:5 ) + ) +" + +PATCHES=( + "${FILESDIR}"/${P}-docs-compilation.patch +) + +DOCS=( AUTHORS ChangeLog THANKS ) + +src_configure() { + local mycmakeargs=( + -DURIPARSER_BUILD_CHAR=ON + -DURIPARSER_BUILD_DOCS=$(usex doc ON OFF) + -DURIPARSER_BUILD_TESTS=$(usex test ON OFF) + -DURIPARSER_BUILD_TOOLS=ON + -DURIPARSER_BUILD_WCHAR_T=$(usex unicode ON OFF) + + # The usex wrapper is here to address this warning: + # One or more CMake variables were not used by the project: + # CMAKE_DISABLE_FIND_PACKAGE_Qt5Help + $(usex doc "$(cmake_use_find_package qt5 Qt5Help)") + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + + if use doc && use qt5; then + dodoc "${BUILD_DIR}"/doc/*.qch + docompress -x /usr/share/doc/${PF}/${P}.qch + fi +}
[gentoo-commits] repo/gentoo:master commit in: dev-libs/uriparser/files/, dev-libs/uriparser/
commit: ad9d878072286d18950d21b140daa609dafb4b52 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Feb 28 16:03:31 2021 + Commit: Sebastian Pipping gentoo org> CommitDate: Sat Mar 6 18:17:09 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad9d8780 dev-libs/uriparser: Drop 0.9.1 and 0.9.3 Package-Manager: Portage-3.0.16, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner gentoo.org> Signed-off-by: Sebastian Pipping gentoo.org> dev-libs/uriparser/Manifest| 2 - .../uriparser/files/uriparser-0.9.3-tests.patch| 23 -- dev-libs/uriparser/uriparser-0.9.1.ebuild | 41 - dev-libs/uriparser/uriparser-0.9.3.ebuild | 51 -- 4 files changed, 117 deletions(-) diff --git a/dev-libs/uriparser/Manifest b/dev-libs/uriparser/Manifest index f038a0adca0..a0e9a59a991 100644 --- a/dev-libs/uriparser/Manifest +++ b/dev-libs/uriparser/Manifest @@ -1,3 +1 @@ -DIST uriparser-0.9.1.tar.bz2 372722 BLAKE2B 6fe21d1f5a98564f3e08094b1e27a13ea00baff3c4e09645236d8b08cba5455d49862a2d66fec02057efbb3b3d2e36040aeab31630f516eedd1ef36c84211638 SHA512 c6a4f3b737d4c53ba14148a5be363d93947c8c32755b369726ccdd6e01e8a2293d2c94d448700fc97bb56092696b67965646ae07c9ef31be253e2279d0bc3821 -DIST uriparser-0.9.3.tar.bz2 173073 BLAKE2B daf4d4ef2801850b8b4b3622ec195c7bfdc105cca085ea4a9d3ed9427bf7cf2eedcce4954b679a0ed1a79b7c57c98a1998b0cac27bd2b1de540aa79fdd4b160d SHA512 424419ea7b5f945b37ea06091d59e731c6a7ee76e7998f8a4e598036b3de8b593d62d1af6c6ddc7c31b43fc6795d4a5fa8d50da2508ca19de100a106fa3e DIST uriparser-0.9.4.tar.bz2 174551 BLAKE2B b95f270685757052fca02fae0a029f08de8bc14bea733bd56e62f0bcdc6592f015453ed38c87171cea9054618328dc94a512ff816519f70594653451f751c4f8 SHA512 c5e671ce2589aacd2c562e66facbee9e1cad3101e840f40b7ebdb917fa669e0c3ae7ed75623692f601655c0b82c10bcfe3086ad628beac8f965e613228e67ecd diff --git a/dev-libs/uriparser/files/uriparser-0.9.3-tests.patch b/dev-libs/uriparser/files/uriparser-0.9.3-tests.patch deleted file mode 100644 index ad6f1c1311d..000 --- a/dev-libs/uriparser/files/uriparser-0.9.3-tests.patch +++ /dev/null @@ -1,23 +0,0 @@ -From f870e6c68696a6018702caa5c8a2feba9b0f99fa Mon Sep 17 00:00:00 2001 -From: Sebastian Pipping -Date: Sun, 28 Apr 2019 17:35:31 +0200 -Subject: [PATCH] tests: No longer crash when compiled with -DNDEBUG (fixes - #67) - - test/MemoryManagerSuite.cpp | 2 ++ - 1 files changed, 2 insertions(+) - -diff --git a/test/MemoryManagerSuite.cpp b/test/MemoryManagerSuite.cpp -index 85f498b..4cda664 100644 a/test/MemoryManagerSuite.cpp -+++ b/test/MemoryManagerSuite.cpp -@@ -19,6 +19,8 @@ - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -+#undef NDEBUG // because we rely on assert(3) further down -+ - #include - #include - #include // memcpy diff --git a/dev-libs/uriparser/uriparser-0.9.1.ebuild b/dev-libs/uriparser/uriparser-0.9.1.ebuild deleted file mode 100644 index 8af0a3c0d76..000 --- a/dev-libs/uriparser/uriparser-0.9.1.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Uriparser is a strictly RFC 3986 compliant URI parsing library in C" -HOMEPAGE="https://uriparser.github.io/; -SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.bz2; - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" -IUSE="doc qt5 test unicode" - -RDEPEND="" -DEPEND="virtual/pkgconfig - doc? ( >=app-doc/doxygen-1.5.8 - qt5? ( dev-qt/qthelp:5 ) ) - test? ( >=dev-cpp/gtest-1.8.1 )" - -REQUIRED_USE="test? ( unicode )" -RESTRICT="!test? ( test )" - -DOCS=( AUTHORS ChangeLog THANKS ) - -src_configure() { - econf \ - $(use_enable test) \ - --enable-char \ - $(use_enable unicode wchar_t) \ - $(use_enable doc) -} - -src_install() { - default - - if use doc && use qt5; then - dodoc doc/*.qch - docompress -x /usr/share/doc/${PF}/${P}.qch - fi -} diff --git a/dev-libs/uriparser/uriparser-0.9.3.ebuild b/dev-libs/uriparser/uriparser-0.9.3.ebuild deleted file mode 100644 index 54a967442dc..000 --- a/dev-libs/uriparser/uriparser-0.9.3.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake-utils - -DESCRIPTION="Uriparser is a strictly RFC 3986 compliant URI parsing library in C" -HOMEPAGE="https://uriparser.github.io/; -SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.bz2; - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" -IUSE="doc qt5 test unicode" - -RDEPEND=""
[gentoo-commits] repo/gentoo:master commit in: dev-libs/uriparser/files/
commit: 6530c2490cdb2413c8882b13f744df25ebea23b4 Author: Michael Mair-Keimberger gmail com> AuthorDate: Sun Jan 7 08:02:15 2018 + Commit: Sebastian Pipping gentoo org> CommitDate: Sun Jan 7 20:53:43 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6530c249 dev-libs/uriparser: remove unused patch Closes: https://github.com/gentoo/gentoo/pull/6778 .../uriparser/files/uriparser-0.8.1-doc-install.patch| 16 1 file changed, 16 deletions(-) diff --git a/dev-libs/uriparser/files/uriparser-0.8.1-doc-install.patch b/dev-libs/uriparser/files/uriparser-0.8.1-doc-install.patch deleted file mode 100644 index 1beb0ad4089..000 --- a/dev-libs/uriparser/files/uriparser-0.8.1-doc-install.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff --git a/doc/Makefile.am b/doc/Makefile.am -index 5814a0c..fb9e035 100644 a/doc/Makefile.am -+++ b/doc/Makefile.am -@@ -23,8 +23,9 @@ distclean-local: - - ## Install doc files - install-data-local: -- $(MKDIR_P) "$(DESTDIR)$(docdir)/html" ## Didn't work with installdirs-local -- $(INSTALL_DATA) html/*.{css,html,png} "$(DESTDIR)$(docdir)/html/" -+ $(MKDIR_P) "$(DESTDIR)$(docdir)/html/search" ## Didn't work with installdirs-local -+ $(INSTALL_DATA) html/*.css html/*.html html/*.js html/*.map html/*.md5 html/*.png "$(DESTDIR)$(docdir)/html/" -+ $(INSTALL_DATA) html/search/* "$(DESTDIR)$(docdir)/html/search/" - -$(INSTALL_DATA) *.qch "$(DESTDIR)$(docdir)/" - -