public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-util/chirurgien/
@ 2022-12-13  5:30 Maciej Barć
  0 siblings, 0 replies; 5+ messages in thread
From: Maciej Barć @ 2022-12-13  5:30 UTC (permalink / raw
  To: gentoo-commits

commit:     4e0e8a99f407145d351b98f7d07076fb89083f2f
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 13 05:28:28 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Dec 13 05:30:25 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e0e8a99

dev-util/chirurgien: new package; add 2.1

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-util/chirurgien/Manifest              |  1 +
 dev-util/chirurgien/chirurgien-2.1.ebuild | 42 +++++++++++++++++++++++++++++++
 dev-util/chirurgien/metadata.xml          | 18 +++++++++++++
 3 files changed, 61 insertions(+)

diff --git a/dev-util/chirurgien/Manifest b/dev-util/chirurgien/Manifest
new file mode 100644
index 000000000000..58456738785c
--- /dev/null
+++ b/dev-util/chirurgien/Manifest
@@ -0,0 +1 @@
+DIST chirurgien-2.1.tar.gz 1618936 BLAKE2B f1d57ae5daab9c196ab87632f7894dab1cbca231de2794501a33157cf0b9175e2be172c903a093cc08b0a8948ba7e847d2cb259b9857a0c1598fb15c9caff3d7 SHA512 2a80ffa3a892a3c1664da6677940a91973d71492b06caf9a067ac372ece49efdb8444eb1473b7bcd89d083469edc7befab61eacf77dc45c6a38f5bad6067917e

diff --git a/dev-util/chirurgien/chirurgien-2.1.ebuild b/dev-util/chirurgien/chirurgien-2.1.ebuild
new file mode 100644
index 000000000000..1333c2444c40
--- /dev/null
+++ b/dev-util/chirurgien/chirurgien-2.1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gnome2-utils meson xdg
+
+DESCRIPTION="Chirurgien helps to understand and manipulate file formats"
+HOMEPAGE="https://github.com/leonardschardijn/Chirurgien/"
+SRC_URI="https://github.com/leonardschardijn/${PN^}/archive/v${PV}.tar.gz
+	-> ${P}.tar.gz"
+S="${WORKDIR}"/${P^}
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+	gui-libs/gtk:4
+	dev-libs/glib:2
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	dev-libs/appstream-glib
+	dev-util/desktop-file-utils
+"
+
+src_install() {
+	meson_src_install
+
+	mv "${ED}"/usr/share/appdata "${ED}"/usr/share/metainfo || die
+}
+
+pkg_postinst() {
+	gnome2_schemas_update
+	xdg_pkg_postinst
+}
+
+pkg_postrm() {
+	gnome2_schemas_update
+	xdg_pkg_postrm
+}

diff --git a/dev-util/chirurgien/metadata.xml b/dev-util/chirurgien/metadata.xml
new file mode 100644
index 000000000000..7a4e054a211b
--- /dev/null
+++ b/dev-util/chirurgien/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+  <maintainer type="person">
+    <email>xgqt@gentoo.org</email>
+    <name>Maciej Barć</name>
+  </maintainer>
+  <longdescription>
+    Chirurgien helps understand and manipulate file formats. Features: file
+    format highlighting, file description panel, field edition, extraction,
+    deletion and insertion.
+  </longdescription>
+  <upstream>
+    <bugs-to>https://github.com/leonardschardijn/Chirurgien/</bugs-to>
+    <remote-id type="github">leonardschardijn/Chirurgien</remote-id>
+  </upstream>
+</pkgmetadata>


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

* [gentoo-commits] repo/gentoo:master commit in: dev-util/chirurgien/
@ 2022-12-13  9:09 Maciej Barć
  0 siblings, 0 replies; 5+ messages in thread
From: Maciej Barć @ 2022-12-13  9:09 UTC (permalink / raw
  To: gentoo-commits

commit:     ba2b5b875bec6a041974e54a3207a29de1b54ec7
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 13 08:26:23 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Dec 13 09:09:44 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba2b5b87

dev-util/chirurgien: do not use the provided postinstall script

Closes: https://bugs.gentoo.org/885729
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-util/chirurgien/chirurgien-2.1.ebuild | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/dev-util/chirurgien/chirurgien-2.1.ebuild b/dev-util/chirurgien/chirurgien-2.1.ebuild
index 1333c2444c40..ce697c47292f 100644
--- a/dev-util/chirurgien/chirurgien-2.1.ebuild
+++ b/dev-util/chirurgien/chirurgien-2.1.ebuild
@@ -25,6 +25,13 @@ BDEPEND="
 	dev-util/desktop-file-utils
 "
 
+src_prepare() {
+	# Do not use the provided postinstall script.
+	sed -i "/^meson.add_install_script/d" meson.build || die
+
+	default
+}
+
 src_install() {
 	meson_src_install
 


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

* [gentoo-commits] repo/gentoo:master commit in: dev-util/chirurgien/
@ 2023-02-08  1:55 Sam James
  0 siblings, 0 replies; 5+ messages in thread
From: Sam James @ 2023-02-08  1:55 UTC (permalink / raw
  To: gentoo-commits

commit:     c06cb2a10b2d2c1b40bddbd4f79a18f8e7d882bd
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Feb  8 01:55:10 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Feb  8 01:55:10 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c06cb2a1

dev-util/chirurgien: Stabilize 2.1 amd64, #893566

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/chirurgien/chirurgien-2.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-util/chirurgien/chirurgien-2.1.ebuild b/dev-util/chirurgien/chirurgien-2.1.ebuild
index 402ca97d86c2..50465e44cddf 100644
--- a/dev-util/chirurgien/chirurgien-2.1.ebuild
+++ b/dev-util/chirurgien/chirurgien-2.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -13,7 +13,7 @@ S="${WORKDIR}"/${P^}
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 
 RDEPEND="
 	gui-libs/gtk:4


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

* [gentoo-commits] repo/gentoo:master commit in: dev-util/chirurgien/
@ 2024-03-11 11:21 Maciej Barć
  0 siblings, 0 replies; 5+ messages in thread
From: Maciej Barć @ 2024-03-11 11:21 UTC (permalink / raw
  To: gentoo-commits

commit:     a52b5a2bfe67f58896e4f780e5a9df6302db0c54
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 11 10:43:30 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Mar 11 11:17:49 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a52b5a2b

dev-util/chirurgien: bump to 2.2

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-util/chirurgien/Manifest              |  1 +
 dev-util/chirurgien/chirurgien-2.2.ebuild | 61 +++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)

diff --git a/dev-util/chirurgien/Manifest b/dev-util/chirurgien/Manifest
index 58456738785c..3aad2f2ac130 100644
--- a/dev-util/chirurgien/Manifest
+++ b/dev-util/chirurgien/Manifest
@@ -1 +1,2 @@
 DIST chirurgien-2.1.tar.gz 1618936 BLAKE2B f1d57ae5daab9c196ab87632f7894dab1cbca231de2794501a33157cf0b9175e2be172c903a093cc08b0a8948ba7e847d2cb259b9857a0c1598fb15c9caff3d7 SHA512 2a80ffa3a892a3c1664da6677940a91973d71492b06caf9a067ac372ece49efdb8444eb1473b7bcd89d083469edc7befab61eacf77dc45c6a38f5bad6067917e
+DIST chirurgien-2.2.tar.gz 1619079 BLAKE2B 336a151158e4ea1622112f9255f350aac06bccbcdf35ae40e3b9c4e41a9594063b56d4134153c5a812e3e17efce6c276b40cf74b43b842d54ceb4f0b6914aa79 SHA512 e557960a193d3703f1c1ec6b91a24811aa018f80fae9619e8add48afcbc6d37248069e37779d248a8ac23f8a5a68f892e34bef694563ce6b9f8a0c2d43ddd66d

diff --git a/dev-util/chirurgien/chirurgien-2.2.ebuild b/dev-util/chirurgien/chirurgien-2.2.ebuild
new file mode 100644
index 000000000000..137dd8168eaf
--- /dev/null
+++ b/dev-util/chirurgien/chirurgien-2.2.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gnome2-utils meson xdg
+
+DESCRIPTION="Chirurgien helps to understand and manipulate file formats"
+HOMEPAGE="https://github.com/leonardschardijn/Chirurgien/"
+
+if [[ "${PV}" == *9999* ]] ; then
+	inherit git-r3
+
+	EGIT_REPO_URI="https://github.com/leonardschardijn/${PN^}.git"
+else
+	SRC_URI="https://github.com/leonardschardijn/${PN^}/archive/v${PV}.tar.gz
+		-> ${P}.tar.gz"
+	S="${WORKDIR}/${P^}"
+
+	KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+
+RDEPEND="
+	gui-libs/gtk:4
+	dev-libs/glib:2
+"
+DEPEND="
+	${RDEPEND}
+"
+BDEPEND="
+	dev-libs/appstream-glib
+	dev-util/desktop-file-utils
+"
+
+PATCHES=( "${FILESDIR}/${PN}-2.1-dont-validate-appstream.patch" )
+
+src_prepare() {
+	# Do not use the provided postinstall script.
+	sed -i "/^meson.add_install_script/d" meson.build || die
+
+	default
+}
+
+src_install() {
+	meson_src_install
+
+	mv "${ED}"/usr/share/appdata "${ED}"/usr/share/metainfo || die
+}
+
+pkg_postinst() {
+	gnome2_schemas_update
+	xdg_pkg_postinst
+}
+
+pkg_postrm() {
+	gnome2_schemas_update
+	xdg_pkg_postrm
+}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-util/chirurgien/
@ 2024-04-11  4:55 Arthur Zamarin
  0 siblings, 0 replies; 5+ messages in thread
From: Arthur Zamarin @ 2024-04-11  4:55 UTC (permalink / raw
  To: gentoo-commits

commit:     58bed6165ad9f36bb322de0c09ca75c03b592a78
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 11 04:55:33 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Apr 11 04:55:33 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58bed616

dev-util/chirurgien: Stabilize 2.2 amd64, #929106

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-util/chirurgien/chirurgien-2.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/chirurgien/chirurgien-2.2.ebuild b/dev-util/chirurgien/chirurgien-2.2.ebuild
index 137dd8168eaf..ea6b61616671 100644
--- a/dev-util/chirurgien/chirurgien-2.2.ebuild
+++ b/dev-util/chirurgien/chirurgien-2.2.ebuild
@@ -17,7 +17,7 @@ else
 		-> ${P}.tar.gz"
 	S="${WORKDIR}/${P^}"
 
-	KEYWORDS="~amd64 ~x86"
+	KEYWORDS="amd64 ~x86"
 fi
 
 LICENSE="GPL-3+"


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

end of thread, other threads:[~2024-04-11  4:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-08  1:55 [gentoo-commits] repo/gentoo:master commit in: dev-util/chirurgien/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2024-04-11  4:55 Arthur Zamarin
2024-03-11 11:21 Maciej Barć
2022-12-13  9:09 Maciej Barć
2022-12-13  5:30 Maciej Barć

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