* [gentoo-commits] repo/gentoo:master commit in: dev-util/netsurf-buildsystem/files/, dev-util/netsurf-buildsystem/
@ 2018-11-13 18:13 Virgil Dupras
0 siblings, 0 replies; 4+ messages in thread
From: Virgil Dupras @ 2018-11-13 18:13 UTC (permalink / raw
To: gentoo-commits
commit: 05d5e71256665ca40897df0fc459cecdd08123e5
Author: Virgil Dupras <vdupras <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 13 16:09:03 2018 +0000
Commit: Virgil Dupras <vdupras <AT> gentoo <DOT> org>
CommitDate: Tue Nov 13 18:04:19 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05d5e712
dev-util/netsurf-buildsystem: new package
This replaces the netsurf eclass which not necessary and too complex for
its own need. Being an eclass makes modifying it too heavy a process.
Most of netsurf.eclass' purpose was to wrap netsurf's build system,
which is now what we do in this package. In addition to installing it as
a normal package, we add a helper shell script that can then be loaded
in consumer ebuilds.
Signed-off-by: Virgil Dupras <vdupras <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
dev-util/netsurf-buildsystem/Manifest | 1 +
.../netsurf-buildsystem/files/gentoo-helpers.sh | 18 +++++++++++++++
dev-util/netsurf-buildsystem/metadata.xml | 8 +++++++
.../netsurf-buildsystem-1.7.ebuild | 26 ++++++++++++++++++++++
4 files changed, 53 insertions(+)
diff --git a/dev-util/netsurf-buildsystem/Manifest b/dev-util/netsurf-buildsystem/Manifest
new file mode 100644
index 00000000000..a3735c4cc6e
--- /dev/null
+++ b/dev-util/netsurf-buildsystem/Manifest
@@ -0,0 +1 @@
+DIST buildsystem-1.7.tar.gz 38597 BLAKE2B d0981ef282ac0d93d81a1a6a6bee1fc2a0151c962be6ce2900a67843ba8ebc67e00508cded2a7375f6bbe0d45572690f127872936a282de80eb08655ac571603 SHA512 f6a46ac25f41e695ec13d7b2b564250c4cc44a40a688904eb17aa4b547c2df0102cc0effb7a23a2ffa6b9178ae5cf452b63980caf26e06e479168c85803f1e58
diff --git a/dev-util/netsurf-buildsystem/files/gentoo-helpers.sh b/dev-util/netsurf-buildsystem/files/gentoo-helpers.sh
new file mode 100644
index 00000000000..e033a53f767
--- /dev/null
+++ b/dev-util/netsurf-buildsystem/files/gentoo-helpers.sh
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+netsurf_define_makeconf() {
+ NETSURF_MAKECONF=(
+ NSSHARED=/usr/share/netsurf-buildsystem
+ LIBDIR="$(get_libdir)"
+ PREFIX="${EROOT}/usr"
+ Q=
+ CC="$(tc-getCC)"
+ LD="$(tc-getLD)"
+ HOST_CC="\$(CC)"
+ CCOPT=
+ CCNOOPT=
+ CCDBG=
+ LDDBG=
+ AR="$(tc-getAR)"
+ )
+}
diff --git a/dev-util/netsurf-buildsystem/metadata.xml b/dev-util/netsurf-buildsystem/metadata.xml
new file mode 100644
index 00000000000..88de5fc462b
--- /dev/null
+++ b/dev-util/netsurf-buildsystem/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>vdupras@gentoo.org</email>
+ <name>Virgil Dupras</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-util/netsurf-buildsystem/netsurf-buildsystem-1.7.ebuild b/dev-util/netsurf-buildsystem/netsurf-buildsystem-1.7.ebuild
new file mode 100644
index 00000000000..f8dd03f986a
--- /dev/null
+++ b/dev-util/netsurf-buildsystem/netsurf-buildsystem-1.7.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_P="buildsystem-${PV}"
+DESCRIPTION="Build system used for netsurf and its libs"
+HOMEPAGE="https://www.netsurf-browser.org"
+SRC_URI="https://download.netsurf-browser.org/libs/releases/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~m68k-mint"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ default
+ sed -e 's:/bin/which:which:' -i "makefiles/Makefile.tools" || die
+}
+
+src_install() {
+ emake DESTDIR="${ED}" PREFIX=/usr install
+ insinto /usr/share/netsurf-buildsystem
+ doins "${FILESDIR}/gentoo-helpers.sh"
+}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/netsurf-buildsystem/files/, dev-util/netsurf-buildsystem/
@ 2019-02-04 21:38 Virgil Dupras
0 siblings, 0 replies; 4+ messages in thread
From: Virgil Dupras @ 2019-02-04 21:38 UTC (permalink / raw
To: gentoo-commits
commit: 07c478522a0b5be995eb0cd74a95f74f48872068
Author: Virgil Dupras <vdupras <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 4 21:20:40 2019 +0000
Commit: Virgil Dupras <vdupras <AT> gentoo <DOT> org>
CommitDate: Mon Feb 4 21:20:40 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07c47852
dev-util/netsurf-buildsystem: build with empty WARNINGFLAGS
Closes: https://bugs.gentoo.org/642164
Signed-off-by: Virgil Dupras <vdupras <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
.../netsurf-buildsystem/files/gentoo-helpers-r1.sh | 19 ++++++++++++++++
.../netsurf-buildsystem-1.7-r1.ebuild | 26 ++++++++++++++++++++++
2 files changed, 45 insertions(+)
diff --git a/dev-util/netsurf-buildsystem/files/gentoo-helpers-r1.sh b/dev-util/netsurf-buildsystem/files/gentoo-helpers-r1.sh
new file mode 100644
index 00000000000..9ac4354e386
--- /dev/null
+++ b/dev-util/netsurf-buildsystem/files/gentoo-helpers-r1.sh
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+netsurf_define_makeconf() {
+ NETSURF_MAKECONF=(
+ NSSHARED="${EROOT}"/usr/share/netsurf-buildsystem
+ LIBDIR="$(get_libdir)"
+ PREFIX="${EROOT}/usr"
+ Q=
+ CC="$(tc-getCC)"
+ LD="$(tc-getLD)"
+ HOST_CC="\$(CC)"
+ CCOPT=
+ CCNOOPT=
+ CCDBG=
+ LDDBG=
+ AR="$(tc-getAR)"
+ WARNFLAGS=
+ )
+}
diff --git a/dev-util/netsurf-buildsystem/netsurf-buildsystem-1.7-r1.ebuild b/dev-util/netsurf-buildsystem/netsurf-buildsystem-1.7-r1.ebuild
new file mode 100644
index 00000000000..3cae740cce6
--- /dev/null
+++ b/dev-util/netsurf-buildsystem/netsurf-buildsystem-1.7-r1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_P="buildsystem-${PV}"
+DESCRIPTION="Build system used for netsurf and its libs"
+HOMEPAGE="https://www.netsurf-browser.org"
+SRC_URI="https://download.netsurf-browser.org/libs/releases/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~m68k-mint"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ default
+ sed -e 's:/bin/which:which:' -i "makefiles/Makefile.tools" || die
+}
+
+src_install() {
+ emake DESTDIR="${ED}" PREFIX=/usr install
+ insinto /usr/share/netsurf-buildsystem
+ newins "${FILESDIR}/gentoo-helpers-r1.sh" gentoo-helpers.sh
+}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/netsurf-buildsystem/files/, dev-util/netsurf-buildsystem/
@ 2020-05-19 17:06 Andreas Sturmlechner
0 siblings, 0 replies; 4+ messages in thread
From: Andreas Sturmlechner @ 2020-05-19 17:06 UTC (permalink / raw
To: gentoo-commits
commit: d4ad86c1ff048deadcc69d2855d8b4bc922947f1
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu May 7 09:29:13 2020 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue May 19 17:05:57 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4ad86c1
dev-util/netsurf-buildsystem: Drop 1.7 and 1.7-r1
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
dev-util/netsurf-buildsystem/Manifest | 1 -
.../netsurf-buildsystem/files/gentoo-helpers.sh | 18 ---------------
.../netsurf-buildsystem-1.7-r1.ebuild | 26 ----------------------
.../netsurf-buildsystem-1.7.ebuild | 26 ----------------------
4 files changed, 71 deletions(-)
diff --git a/dev-util/netsurf-buildsystem/Manifest b/dev-util/netsurf-buildsystem/Manifest
index 6634a8f9865..14bd8454e33 100644
--- a/dev-util/netsurf-buildsystem/Manifest
+++ b/dev-util/netsurf-buildsystem/Manifest
@@ -1,2 +1 @@
-DIST buildsystem-1.7.tar.gz 38597 BLAKE2B d0981ef282ac0d93d81a1a6a6bee1fc2a0151c962be6ce2900a67843ba8ebc67e00508cded2a7375f6bbe0d45572690f127872936a282de80eb08655ac571603 SHA512 f6a46ac25f41e695ec13d7b2b564250c4cc44a40a688904eb17aa4b547c2df0102cc0effb7a23a2ffa6b9178ae5cf452b63980caf26e06e479168c85803f1e58
DIST buildsystem-1.8.tar.gz 38617 BLAKE2B 0fd5539feae0b81828efe90c82baf6ce7fceec2f2189adddb0e32d2106f9263ebd14b32f3dce8daae13110f0e69801caed48ce81709ce09d809ba50041690cc7 SHA512 0f577f4867e5e12770f9b9c42ea55e884362180bc195b6ebf56e56305ce84e230407cd2ebb3b182cc03087ffef5f39187e52e2e2f8f2b86aa20a16fa33bdff8b
diff --git a/dev-util/netsurf-buildsystem/files/gentoo-helpers.sh b/dev-util/netsurf-buildsystem/files/gentoo-helpers.sh
deleted file mode 100644
index ee81b3ccf88..00000000000
--- a/dev-util/netsurf-buildsystem/files/gentoo-helpers.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/bash
-
-netsurf_define_makeconf() {
- NETSURF_MAKECONF=(
- NSSHARED="${EROOT}"/usr/share/netsurf-buildsystem
- LIBDIR="$(get_libdir)"
- PREFIX="${EROOT}/usr"
- Q=
- CC="$(tc-getCC)"
- LD="$(tc-getLD)"
- HOST_CC="\$(CC)"
- CCOPT=
- CCNOOPT=
- CCDBG=
- LDDBG=
- AR="$(tc-getAR)"
- )
-}
diff --git a/dev-util/netsurf-buildsystem/netsurf-buildsystem-1.7-r1.ebuild b/dev-util/netsurf-buildsystem/netsurf-buildsystem-1.7-r1.ebuild
deleted file mode 100644
index dfe114ef3c0..00000000000
--- a/dev-util/netsurf-buildsystem/netsurf-buildsystem-1.7-r1.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MY_P="buildsystem-${PV}"
-DESCRIPTION="Build system used for netsurf and its libs"
-HOMEPAGE="https://www.netsurf-browser.org"
-SRC_URI="https://download.netsurf-browser.org/libs/releases/${MY_P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~m68k-mint"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
- default
- sed -e 's:/bin/which:which:' -i "makefiles/Makefile.tools" || die
-}
-
-src_install() {
- emake DESTDIR="${ED}" PREFIX=/usr install
- insinto /usr/share/netsurf-buildsystem
- newins "${FILESDIR}/gentoo-helpers-r1.sh" gentoo-helpers.sh
-}
diff --git a/dev-util/netsurf-buildsystem/netsurf-buildsystem-1.7.ebuild b/dev-util/netsurf-buildsystem/netsurf-buildsystem-1.7.ebuild
deleted file mode 100644
index 9c649380d53..00000000000
--- a/dev-util/netsurf-buildsystem/netsurf-buildsystem-1.7.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MY_P="buildsystem-${PV}"
-DESCRIPTION="Build system used for netsurf and its libs"
-HOMEPAGE="https://www.netsurf-browser.org"
-SRC_URI="https://download.netsurf-browser.org/libs/releases/${MY_P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 sparc x86 ~m68k-mint"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
- default
- sed -e 's:/bin/which:which:' -i "makefiles/Makefile.tools" || die
-}
-
-src_install() {
- emake DESTDIR="${ED}" PREFIX=/usr install
- insinto /usr/share/netsurf-buildsystem
- doins "${FILESDIR}/gentoo-helpers.sh"
-}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/netsurf-buildsystem/files/, dev-util/netsurf-buildsystem/
@ 2020-06-17 13:38 Michael Orlitzky
0 siblings, 0 replies; 4+ messages in thread
From: Michael Orlitzky @ 2020-06-17 13:38 UTC (permalink / raw
To: gentoo-commits
commit: eee8e638bf1559af6f93fe2995d69e2b0b9f176c
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 17 11:37:50 2020 +0000
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Wed Jun 17 13:38:16 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eee8e638
dev-util/netsurf-buildsystem: new version 1.9.
This version comes with a gentoo-helpers-r2.sh that contains the
correct Gentoo-prefix paths for PREFIX and NSSHARED. The problem was
originally reported against netsurf.eclass, but it has migrated to
this script in the meantime.
Bug: https://bugs.gentoo.org/489542
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
dev-util/netsurf-buildsystem/Manifest | 1 +
.../netsurf-buildsystem/files/gentoo-helpers-r2.sh | 22 ++++++++++++++++++
.../netsurf-buildsystem-1.9.ebuild | 26 ++++++++++++++++++++++
3 files changed, 49 insertions(+)
diff --git a/dev-util/netsurf-buildsystem/Manifest b/dev-util/netsurf-buildsystem/Manifest
index 14bd8454e33..91a37af3916 100644
--- a/dev-util/netsurf-buildsystem/Manifest
+++ b/dev-util/netsurf-buildsystem/Manifest
@@ -1 +1,2 @@
DIST buildsystem-1.8.tar.gz 38617 BLAKE2B 0fd5539feae0b81828efe90c82baf6ce7fceec2f2189adddb0e32d2106f9263ebd14b32f3dce8daae13110f0e69801caed48ce81709ce09d809ba50041690cc7 SHA512 0f577f4867e5e12770f9b9c42ea55e884362180bc195b6ebf56e56305ce84e230407cd2ebb3b182cc03087ffef5f39187e52e2e2f8f2b86aa20a16fa33bdff8b
+DIST buildsystem-1.9.tar.gz 38723 BLAKE2B 0fc4aae4f9a21058c7e437170e74147f6b6dc20220d53986a212e717846d5738df2771081f000705cd69335fbe61653b24a3e86d454a53b24f9cadd5e7aaac97 SHA512 52d7181af56946b95f22d5cc8fb2c58287fe43c940d4104e4a05744cfe332d0e0ea6da76cb8d635eb34cac4d66f53dc01ac5f440b82a207265d39744f112a80d
diff --git a/dev-util/netsurf-buildsystem/files/gentoo-helpers-r2.sh b/dev-util/netsurf-buildsystem/files/gentoo-helpers-r2.sh
new file mode 100644
index 00000000000..403279ecc5f
--- /dev/null
+++ b/dev-util/netsurf-buildsystem/files/gentoo-helpers-r2.sh
@@ -0,0 +1,22 @@
+#!/bin/bash
+
+netsurf_define_makeconf() {
+ NETSURF_MAKECONF=(
+ PREFIX="${EPREFIX}/usr"
+ NSSHARED="${EPREFIX}/usr/share/netsurf-buildsystem"
+ LIBDIR="$(get_libdir)"
+ Q=
+ CC="$(tc-getCC)"
+ LD="$(tc-getLD)"
+ HOST_CC="\$(CC)"
+ BUILD_CC="$(tc-getBUILD_CC)"
+ CXX="$(tc-getCXX)"
+ BUILD_CXX="$(tc-getBUILD_CXX)"
+ CCOPT=
+ CCNOOPT=
+ CCDBG=
+ LDDBG=
+ AR="$(tc-getAR)"
+ WARNFLAGS=
+ )
+}
diff --git a/dev-util/netsurf-buildsystem/netsurf-buildsystem-1.9.ebuild b/dev-util/netsurf-buildsystem/netsurf-buildsystem-1.9.ebuild
new file mode 100644
index 00000000000..70b4b63fad4
--- /dev/null
+++ b/dev-util/netsurf-buildsystem/netsurf-buildsystem-1.9.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_P="buildsystem-${PV}"
+DESCRIPTION="Build system used for netsurf and its libs"
+HOMEPAGE="https://www.netsurf-browser.org"
+SRC_URI="https://download.netsurf-browser.org/libs/releases/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~m68k-mint"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ default
+ sed -e 's:/bin/which:which:' -i "makefiles/Makefile.tools" || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
+ insinto /usr/share/netsurf-buildsystem
+ newins "${FILESDIR}/gentoo-helpers-r2.sh" gentoo-helpers.sh
+}
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-06-17 13:38 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-04 21:38 [gentoo-commits] repo/gentoo:master commit in: dev-util/netsurf-buildsystem/files/, dev-util/netsurf-buildsystem/ Virgil Dupras
-- strict thread matches above, loose matches on Subject: below --
2020-06-17 13:38 Michael Orlitzky
2020-05-19 17:06 Andreas Sturmlechner
2018-11-13 18:13 Virgil Dupras
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox