public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/brickd/
@ 2025-03-24  7:19 Tim Lapawa
  0 siblings, 0 replies; 5+ messages in thread
From: Tim Lapawa @ 2025-03-24  7:19 UTC (permalink / raw
  To: gentoo-commits

commit:     fd6b99fa3c3fa1cd2a7565003562a78b5aae2892
Author:     Tim Lapawa <gentoo <AT> lapawa <DOT> de>
AuthorDate: Mon Mar 24 07:18:05 2025 +0000
Commit:     Tim Lapawa <gentoo <AT> lapawa <DOT> de>
CommitDate: Mon Mar 24 07:18:05 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fd6b99fa

net-misc/brickd: new package, add 2.4.7

Signed-off-by: Tim Lapawa <gentoo <AT> lapawa.de>

 net-misc/brickd/Manifest            |  2 ++
 net-misc/brickd/brickd-2.4.7.ebuild | 27 +++++++++++++++++++++++++++
 2 files changed, 29 insertions(+)

diff --git a/net-misc/brickd/Manifest b/net-misc/brickd/Manifest
new file mode 100644
index 000000000..10e1998da
--- /dev/null
+++ b/net-misc/brickd/Manifest
@@ -0,0 +1,2 @@
+DIST brickd-2.4.7.tar.gz 6252607 BLAKE2B 1b7a2a6424266625a6a887eeab4dae260c4425b0837fbb77399746c58edc9f4cdbd89dd19ceeeed6fa66429591a5cf44909b6739af582429c0f23229d962a802 SHA512 63bcc088fbc0a1f0375713263a4e29beba22de5c112ebfcdc8b8c1558dc130772808d780a0e9c3c73a289aae101c46b534e99a239ea939348208abaee524762a
+DIST daemonlib-brickd-2.4.7.tar.gz 62686 BLAKE2B 9bbea5e5e74ba47b6968754082240a623176e716f654ead9386338c3da44236ca4219fe631bf0119214509c2bcec92904ca55f0f423c0c906ca026df41ad4c5c SHA512 b182aaa8d26d5ade2fbe07f232a71f7eed4b9942c640f09232960f93e368be81fce5cfbc4a300c355c89d7609669216430c7edf254a2ed7d27f1f82574449795

diff --git a/net-misc/brickd/brickd-2.4.7.ebuild b/net-misc/brickd/brickd-2.4.7.ebuild
new file mode 100644
index 000000000..ec72f41da
--- /dev/null
+++ b/net-misc/brickd/brickd-2.4.7.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+EAPI=8
+DESCRIPTION="Network Daemon bridging API bindings to Tinkerforge hardware bricks"
+HOMEPAGE="https://www.tinkerforge.com/en/doc/Software/Brickd.html https://github.com/Tinkerforge/brickd https://github.com/Tinkerforge/daemonlib"
+SRC_URI="
+	https://github.com/Tinkerforge/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
+	https://github.com/Tinkerforge/daemonlib/archive/refs/tags/${P}.tar.gz -> daemonlib-${P}.tar.gz"
+S="${WORKDIR}/${P}/src/${PN}"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+RDEPEND="
+	>=dev-libs/libusb-1.0.27
+	>=dev-libs/libgpiod-1.6.4"
+DEPEND="${RDEPEND}"
+BDEPEND=">=virtual/pkgconfig-3
+	>=dev-build/make-4.4.1
+	>=sys-devel/gcc-14.2.1"
+src_configure() {
+	# source code of daemonlib package must be linked into brickd sources
+	# reference: https://github.com/Tinkerforge/brickd
+	ln -s "${WORKDIR}/daemonlib-${P}" "${WORKDIR}/${P}/src/daemonlib" || die
+}
+src_compile() {
+	emake
+}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/brickd/
@ 2025-03-25 15:36 Takuya Wakazono
  0 siblings, 0 replies; 5+ messages in thread
From: Takuya Wakazono @ 2025-03-25 15:36 UTC (permalink / raw
  To: gentoo-commits

commit:     bb77c7c1317c324e77957ca4ab77da7e3f68f3ff
Author:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Tue Mar 25 15:34:37 2025 +0000
Commit:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Tue Mar 25 15:34:37 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bb77c7c1

net-misc/brickd: avoid compressing man pages

Closes: https://bugs.gentoo.org/952033
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>

 net-misc/brickd/brickd-2.4.7.ebuild | 14 +++++++++-----
 net-misc/brickd/metadata.xml        |  9 +++++++++
 2 files changed, 18 insertions(+), 5 deletions(-)

diff --git a/net-misc/brickd/brickd-2.4.7.ebuild b/net-misc/brickd/brickd-2.4.7.ebuild
index ec72f41da..52552af32 100644
--- a/net-misc/brickd/brickd-2.4.7.ebuild
+++ b/net-misc/brickd/brickd-2.4.7.ebuild
@@ -11,17 +11,21 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64"
 RDEPEND="
-	>=dev-libs/libusb-1.0.27
-	>=dev-libs/libgpiod-1.6.4"
+	>=dev-libs/libusb-1.0.27:1
+	>=dev-libs/libgpiod-1.6.4:="
 DEPEND="${RDEPEND}"
 BDEPEND=">=virtual/pkgconfig-3
 	>=dev-build/make-4.4.1
 	>=sys-devel/gcc-14.2.1"
+
+src_prepare() {
+	default
+	# avoid compressing man pages, bug 952033
+	sed -i '/gzip.*\/man\//d' Makefile || die
+}
+
 src_configure() {
 	# source code of daemonlib package must be linked into brickd sources
 	# reference: https://github.com/Tinkerforge/brickd
 	ln -s "${WORKDIR}/daemonlib-${P}" "${WORKDIR}/${P}/src/daemonlib" || die
 }
-src_compile() {
-	emake
-}

diff --git a/net-misc/brickd/metadata.xml b/net-misc/brickd/metadata.xml
new file mode 100644
index 000000000..00a560a59
--- /dev/null
+++ b/net-misc/brickd/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<!-- maintainer-needed -->
+	<upstream>
+		<remote-id type="github">Tinkerforge/brickd</remote-id>
+		<doc>https://www.tinkerforge.com/en/doc/Software/Brickd.html</doc>
+	</upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/brickd/
@ 2025-03-25 15:36 Takuya Wakazono
  0 siblings, 0 replies; 5+ messages in thread
From: Takuya Wakazono @ 2025-03-25 15:36 UTC (permalink / raw
  To: gentoo-commits

commit:     52b1e0053cd07e7c5d00b206a6b4717592417562
Author:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Tue Mar 25 15:34:37 2025 +0000
Commit:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Tue Mar 25 15:34:37 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=52b1e005

net-misc/brickd: fix service file installation

- fix automagic systemd service installation
- install OpenRC service instead of SysVinit one

Closes: https://bugs.gentoo.org/952034
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>

 net-misc/brickd/brickd-2.4.7.ebuild | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/net-misc/brickd/brickd-2.4.7.ebuild b/net-misc/brickd/brickd-2.4.7.ebuild
index 52552af32..cdec48bac 100644
--- a/net-misc/brickd/brickd-2.4.7.ebuild
+++ b/net-misc/brickd/brickd-2.4.7.ebuild
@@ -10,6 +10,8 @@ S="${WORKDIR}/${P}/src/${PN}"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64"
+IUSE="systemd"
+
 RDEPEND="
 	>=dev-libs/libusb-1.0.27:1
 	>=dev-libs/libgpiod-1.6.4:="
@@ -29,3 +31,13 @@ src_configure() {
 	# reference: https://github.com/Tinkerforge/brickd
 	ln -s "${WORKDIR}/daemonlib-${P}" "${WORKDIR}/${P}/src/daemonlib" || die
 }
+
+src_install() {
+	local myemakeargs=(
+		prefix="${EPREFIX}/usr"
+		DESTDIR="${D}"
+		WITH_SYSTEMD="$(usex systemd)"
+	)
+	emake "${myemakeargs[@]}" install
+	newinitd "${WORKDIR}/${P}"/src/build_data/alpine/brickd/brickd.initd brickd
+}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/brickd/
@ 2025-03-26  6:49 Tim Lapawa
  0 siblings, 0 replies; 5+ messages in thread
From: Tim Lapawa @ 2025-03-26  6:49 UTC (permalink / raw
  To: gentoo-commits

commit:     c20f7c893825bc2298a9c940fc1be654d4ff906a
Author:     Tim Lapawa <gentoo <AT> lapawa <DOT> de>
AuthorDate: Wed Mar 26 06:48:13 2025 +0000
Commit:     Tim Lapawa <gentoo <AT> lapawa <DOT> de>
CommitDate: Wed Mar 26 06:48:13 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c20f7c89

net-misc/brickd:

Signed-off-by: Tim Lapawa <gentoo <AT> lapawa.de>
Removed man page compression

 net-misc/brickd/brickd-2.4.7-r1.ebuild | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/net-misc/brickd/brickd-2.4.7-r1.ebuild b/net-misc/brickd/brickd-2.4.7-r1.ebuild
new file mode 100644
index 000000000..545969a42
--- /dev/null
+++ b/net-misc/brickd/brickd-2.4.7-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+EAPI=8
+DESCRIPTION="Network Daemon bridging API bindings to Tinkerforge hardware bricks"
+HOMEPAGE="https://www.tinkerforge.com/en/doc/Software/Brickd.html https://github.com/Tinkerforge/brickd https://github.com/Tinkerforge/daemonlib"
+SRC_URI="
+	https://github.com/Tinkerforge/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
+	https://github.com/Tinkerforge/daemonlib/archive/refs/tags/${P}.tar.gz -> daemonlib-${P}.tar.gz"
+S="${WORKDIR}/${P}/src/${PN}"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+RDEPEND="
+	>=dev-libs/libusb-1.0.27
+	>=dev-libs/libgpiod-1.6.4"
+DEPEND="${RDEPEND}"
+BDEPEND=">=virtual/pkgconfig-3
+	>=dev-build/make-4.4.1
+	>=sys-devel/gcc-14.2.1"
+src_configure() {
+	# source code of daemonlib package must be linked into brickd sources
+	# reference: https://github.com/Tinkerforge/brickd
+	ln -s "${WORKDIR}/daemonlib-${P}" "${WORKDIR}/${P}/src/daemonlib" || die
+	# removing man page compression from Makefile
+	sed -i 's/^.*gzip.*man.*$//g' "${WORKDIR}/${P}/src/brickd/Makefile"
+}
+src_compile() {
+	emake
+}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/brickd/
@ 2025-03-26 17:00 Tim Lapawa
  0 siblings, 0 replies; 5+ messages in thread
From: Tim Lapawa @ 2025-03-26 17:00 UTC (permalink / raw
  To: gentoo-commits

commit:     06e0d10544005029261ac313f8f6b7220740b4ff
Author:     Tim Lapawa <gentoo <AT> lapawa <DOT> de>
AuthorDate: Wed Mar 26 16:59:28 2025 +0000
Commit:     Tim Lapawa <gentoo <AT> lapawa <DOT> de>
CommitDate: Wed Mar 26 16:59:28 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=06e0d105

net-misc/brickd: drop 2.4.7-r1

Signed-off-by: Tim Lapawa <gentoo <AT> lapawa.de>

 net-misc/brickd/brickd-2.4.7-r1.ebuild | 29 -----------------------------
 1 file changed, 29 deletions(-)

diff --git a/net-misc/brickd/brickd-2.4.7-r1.ebuild b/net-misc/brickd/brickd-2.4.7-r1.ebuild
deleted file mode 100644
index 545969a42..000000000
--- a/net-misc/brickd/brickd-2.4.7-r1.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-EAPI=8
-DESCRIPTION="Network Daemon bridging API bindings to Tinkerforge hardware bricks"
-HOMEPAGE="https://www.tinkerforge.com/en/doc/Software/Brickd.html https://github.com/Tinkerforge/brickd https://github.com/Tinkerforge/daemonlib"
-SRC_URI="
-	https://github.com/Tinkerforge/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
-	https://github.com/Tinkerforge/daemonlib/archive/refs/tags/${P}.tar.gz -> daemonlib-${P}.tar.gz"
-S="${WORKDIR}/${P}/src/${PN}"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64"
-RDEPEND="
-	>=dev-libs/libusb-1.0.27
-	>=dev-libs/libgpiod-1.6.4"
-DEPEND="${RDEPEND}"
-BDEPEND=">=virtual/pkgconfig-3
-	>=dev-build/make-4.4.1
-	>=sys-devel/gcc-14.2.1"
-src_configure() {
-	# source code of daemonlib package must be linked into brickd sources
-	# reference: https://github.com/Tinkerforge/brickd
-	ln -s "${WORKDIR}/daemonlib-${P}" "${WORKDIR}/${P}/src/daemonlib" || die
-	# removing man page compression from Makefile
-	sed -i 's/^.*gzip.*man.*$//g' "${WORKDIR}/${P}/src/brickd/Makefile"
-}
-src_compile() {
-	emake
-}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-03-26 17:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-26 17:00 [gentoo-commits] repo/proj/guru:dev commit in: net-misc/brickd/ Tim Lapawa
  -- strict thread matches above, loose matches on Subject: below --
2025-03-26  6:49 Tim Lapawa
2025-03-25 15:36 Takuya Wakazono
2025-03-25 15:36 Takuya Wakazono
2025-03-24  7:19 Tim Lapawa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox