public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Matt Jolly" <kangie@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/dillo/
Date: Sat,  1 Jun 2024 00:46:05 +0000 (UTC)	[thread overview]
Message-ID: <1717202546.b07732fc411f73372f4dda5241cbfe80c2cbfbf1.kangie@gentoo> (raw)

commit:     b07732fc411f73372f4dda5241cbfe80c2cbfbf1
Author:     Matt Jolly <kangie <AT> gentoo <DOT> org>
AuthorDate: Sat Jun  1 00:20:54 2024 +0000
Commit:     Matt Jolly <kangie <AT> gentoo <DOT> org>
CommitDate: Sat Jun  1 00:42:26 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b07732fc

www-client/dillo: new package, add 3.1.0, 9999

Signed-off-by: Matt Jolly <kangie <AT> gentoo.org>

 www-client/dillo/Manifest           |   2 +
 www-client/dillo/dillo-3.1.0.ebuild | 102 ++++++++++++++++++++++++++++++++++++
 www-client/dillo/dillo-9999.ebuild  |  92 ++++++++++++++++++++++++++++++++
 www-client/dillo/metadata.xml       |  16 ++++++
 4 files changed, 212 insertions(+)

diff --git a/www-client/dillo/Manifest b/www-client/dillo/Manifest
new file mode 100644
index 000000000000..981e70c1e5e0
--- /dev/null
+++ b/www-client/dillo/Manifest
@@ -0,0 +1,2 @@
+DIST dillo-3.1.0-html-tests.tar.xz 46836 BLAKE2B cb5c4ac685bd816cb4adf416d42be1e10de2289ba9180dc2c3181353448ee9a3c043e39e8cede06ba1417f822678bfcea9b1cea73e76768a8934fbd90fa8b00f SHA512 af8625602aae52b209eb3d60fd536c8d5a630b36010fece933e77ab990f48e6d14e4b3bc4fda8df8e5e17e01990bebea3fa343a2e14ae8238b6486d658d6bbd2
+DIST dillo-3.1.0.tar.bz2 994610 BLAKE2B 02e5cd44163e5f066cbccf05a497439db6b7525cf612577908d435414f8a3dbbb4d7ab6a9345709dde5b278373f9d42f5a9f4143a32d5bcc49e2e4a7258a0f6d SHA512 c8a2ea420c2d70a60acc242cf15bd90e65c265db434f9693a1a8e7343cde1eb02c8144293c547582fb0985f306a07f11a7eb8e30c35ec2418131f717b1fda01f

diff --git a/www-client/dillo/dillo-3.1.0.ebuild b/www-client/dillo/dillo-3.1.0.ebuild
new file mode 100644
index 000000000000..b0a46b7df935
--- /dev/null
+++ b/www-client/dillo/dillo-3.1.0.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools toolchain-funcs virtualx
+
+DESCRIPTION="Lean FLTK based web browser"
+HOMEPAGE="https://dillo-browser.github.io/"
+
+if [[ ${PV} == *9999* ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/dillo-browser/dillo.git"
+else
+	SRC_URI="
+		https://github.com/dillo-browser/dillo/releases/download/v${PV}/${P}.tar.bz2
+		test? ( https://deps.gentoo.zip/www-client/${P}-html-tests.tar.xz )
+	"
+	KEYWORDS="~amd64"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="debug doc +gif +jpeg mbedtls +png +ssl +openssl +xembed"
+REQUIRED_USE="
+	ssl? ( || ( openssl mbedtls ) )
+"
+
+RDEPEND="
+	>=x11-libs/fltk-1.3:1
+	sys-libs/zlib
+	x11-libs/libX11
+	jpeg? ( media-libs/libjpeg-turbo:= )
+	png? ( >=media-libs/libpng-1.2:= )
+	ssl? (
+		mbedtls? ( net-libs/mbedtls:= )
+		openssl? ( dev-libs/openssl:= )
+	)
+	test? (
+		media-gfx/imagemagick
+		x11-apps/xwd
+		x11-apps/xwininfo
+	)
+
+"
+DEPEND="
+	${RDEPEND}
+"
+BDEPEND="
+	doc? ( app-text/doxygen )
+"
+
+DOCS="AUTHORS ChangeLog README NEWS doc/*.txt doc/README"
+
+src_prepare() {
+	default
+	if use test; then
+		# https://github.com/dillo-browser/dillo/pull/176
+		# Upstream forgot to package tests for 3.1.0, I've done it
+		# so we'll just move them into place for this release.
+		rm -r "${S}"/test/html || die "Failed to remove broken test dir"
+		mv "${WORKDIR}"/html test/ || die "Failed to add good tests"
+	fi
+	eautoreconf
+}
+
+src_configure() {
+	local myeconfargs=(
+		$(use_enable debug rtfl)
+		$(use_enable gif)
+		$(use_enable jpeg)
+		$(use_enable mbedtls)
+		$(use_enable openssl)
+		$(use_enable png)
+		$(use_enable ssl tls)
+		$(use_enable xembed)
+		--enable-ipv6
+	)
+
+	use test && myeconfargs+=( --enable-html-tests=yes )
+
+	econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+	emake AR="$(tc-getAR)"
+
+	if use doc; then
+		doxygen Doxyfile || die
+	fi
+}
+
+src_test() {
+	# The test suite consistently fails with -jN in portage
+	virtx emake -j1 check
+}
+
+src_install() {
+	default
+
+	use doc && dodoc -r html
+}

diff --git a/www-client/dillo/dillo-9999.ebuild b/www-client/dillo/dillo-9999.ebuild
new file mode 100644
index 000000000000..dc06be8e2058
--- /dev/null
+++ b/www-client/dillo/dillo-9999.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools toolchain-funcs virtualx
+
+DESCRIPTION="Lean FLTK based web browser"
+HOMEPAGE="https://dillo-browser.github.io/"
+
+if [[ ${PV} == *9999* ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/dillo-browser/dillo.git"
+else
+	SRC_URI="https://github.com/dillo-browser/dillo/releases/download/v${PV}/${P}.tar.bz2"
+	KEYWORDS="~amd64"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="debug doc +gif +jpeg mbedtls +png +ssl +openssl +xembed"
+REQUIRED_USE="
+	ssl? ( || ( openssl mbedtls ) )
+"
+
+RDEPEND="
+	>=x11-libs/fltk-1.3:1
+	sys-libs/zlib
+	x11-libs/libX11
+	jpeg? ( media-libs/libjpeg-turbo:= )
+	png? ( >=media-libs/libpng-1.2:= )
+	ssl? (
+		mbedtls? ( net-libs/mbedtls:= )
+		openssl? ( dev-libs/openssl:= )
+	)
+	test? (
+		media-gfx/imagemagick
+		x11-apps/xwd
+		x11-apps/xwininfo
+	)
+
+"
+DEPEND="
+	${RDEPEND}
+"
+BDEPEND="
+	doc? ( app-text/doxygen )
+"
+
+DOCS="AUTHORS ChangeLog README NEWS doc/*.txt doc/README"
+
+src_prepare() {
+	default
+	eautoreconf
+}
+
+src_configure() {
+	local myeconfargs=(
+		$(use_enable debug rtfl)
+		$(use_enable gif)
+		$(use_enable jpeg)
+		$(use_enable mbedtls)
+		$(use_enable openssl)
+		$(use_enable png)
+		$(use_enable ssl tls)
+		$(use_enable xembed)
+		--enable-ipv6
+	)
+
+	use test && myeconfargs+=( --enable-html-tests=yes )
+
+	econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+	emake AR="$(tc-getAR)"
+
+	if use doc; then
+		doxygen Doxyfile || die
+	fi
+}
+
+src_test() {
+	# The test suite consistently fails with -jN in portage
+	virtx emake -j1 check
+}
+
+src_install() {
+	default
+
+	use doc && dodoc -r html
+}

diff --git a/www-client/dillo/metadata.xml b/www-client/dillo/metadata.xml
new file mode 100644
index 000000000000..3e919778f73f
--- /dev/null
+++ b/www-client/dillo/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+    <email>Kangie@gentoo.org</email>
+    <description>Primary maintainer</description>
+  </maintainer>
+  <use>
+    <flag name="openssl">Build against the <pkg>dev-libs/openssl</pkg> library for TLS support.</flag>
+    <flag name="mbedtls">Build against the <pkg>net-libs/mbedtls</pkg> library for TLS support.</flag>
+    <flag name="xembed">Enable XEmbed protocol support</flag>
+  </use>
+  <upstream>
+    <remote-id type="github">dillo-browser/dillo</remote-id>
+  </upstream>
+</pkgmetadata>


             reply	other threads:[~2024-06-01  0:46 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-01  0:46 Matt Jolly [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-26 22:21 [gentoo-commits] repo/gentoo:master commit in: www-client/dillo/ Matt Jolly
2025-01-31 15:08 Matt Jolly
2025-01-07 19:54 Sam James
2024-12-26 17:50 Ionen Wolkens
2024-12-12 21:26 Matt Jolly
2024-10-18  0:44 Matt Jolly
2024-06-19  6:09 Matt Jolly
2024-06-19  6:09 Matt Jolly
2024-06-19  6:09 Matt Jolly
2024-06-19  6:09 Matt Jolly
2023-01-09  1:38 Jonas Stein
2022-03-26  0:01 Sam James
2021-12-07 23:50 Sam James
2021-12-07  6:26 Agostino Sarubbo
2021-12-07  0:31 Sam James
2021-12-06 15:23 Sam James
2021-12-05 18:21 Arthur Zamarin
2021-12-05 13:55 Jakov Smolić
2021-10-19 19:09 Jakov Smolić
2021-08-04  8:15 Yixun Lan
2021-04-30 18:30 Mikle Kolyada
2021-03-30  9:27 Sam James
2021-03-28 19:53 Sam James
2021-02-06  1:00 Jonas Stein
2020-08-06 11:55 Jeroen Roovers
2020-08-06 11:50 Agostino Sarubbo
2020-08-05 14:01 Agostino Sarubbo
2020-08-03 16:58 Sergei Trofimovich
2020-08-03  6:42 Jeroen Roovers
2020-08-02 12:04 Sergei Trofimovich
2020-08-02 11:48 Sergei Trofimovich
2020-08-02 11:39 Sergei Trofimovich
2020-02-09 12:37 Jeroen Roovers
2020-02-09 12:37 Jeroen Roovers
2020-02-09 11:45 Jeroen Roovers
2020-01-09 19:31 Jeroen Roovers
2018-09-26 23:01 Patrice Clement
2018-08-19 17:54 Jeroen Roovers
2018-04-15  1:41 Aaron Bauman
2018-03-16 22:50 Lars Wendler
2017-05-25 13:36 Jeroen Roovers
2015-11-23  9:25 Agostino Sarubbo
2015-11-21  7:11 Anthony G. Basile
2015-11-07 12:12 Markus Meier
2015-11-05 11:20 Agostino Sarubbo
2015-11-03 16:18 Agostino Sarubbo
2015-10-19  9:27 Agostino Sarubbo
2015-10-09  5:21 Jeroen Roovers
2015-10-02 17:21 Chí-Thanh Christopher Nguyễn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1717202546.b07732fc411f73372f4dda5241cbfe80c2cbfbf1.kangie@gentoo \
    --to=kangie@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox