From: "Lucio Sauer" <watermanpaint@posteo.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: gnome-extra/junction/
Date: Sat, 6 Apr 2024 23:47:50 +0000 (UTC) [thread overview]
Message-ID: <1712446989.3297a17695e363513e0f5857142d56c31fe377a9.watermanpaint@gentoo> (raw)
commit: 3297a17695e363513e0f5857142d56c31fe377a9
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Sat Apr 6 23:43:09 2024 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Sat Apr 6 23:43:09 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3297a176
gnome-extra/junction: fix startup issues
- missing library (928867)
- upstream doesn't honor fallback for XDG_DATA_DIRS
https://github.com/sonnyp/Junction/issues/115#issuecomment-2041227264
Closes: https://bugs.gentoo.org/928867
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
| 67 +++++++++++++++++++++++++++++
1 file changed, 67 insertions(+)
--git a/gnome-extra/junction/junction-1.7-r1.ebuild b/gnome-extra/junction/junction-1.7-r1.ebuild
new file mode 100644
index 0000000000..fade9b0557
--- /dev/null
+++ b/gnome-extra/junction/junction-1.7-r1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit xdg gnome2-utils meson
+
+TROLL_COMMIT="94ced56f1b08e6955f6c8325a04c74736d39b823"
+DESCRIPTION="Application/browser chooser"
+HOMEPAGE="
+ https://apps.gnome.org/app/re.sonny.Junction/
+ https://github.com/sonnyp/Junction
+"
+SRC_URI="
+ https://github.com/sonnyp/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/sonnyp/troll/archive/${TROLL_COMMIT}.tar.gz -> troll-${P}.tar.gz
+"
+S="${WORKDIR}/${PN^}-${PV}"
+
+LICENSE="GPL-3+"
+KEYWORDS="~amd64"
+SLOT="0"
+
+DEPEND="
+ dev-libs/gjs
+ dev-libs/glib:2
+"
+RDEPEND="${DEPEND}
+ dev-libs/gobject-introspection
+ dev-libs/libportal[introspection,gtk]
+ gui-libs/gtk:4[introspection]
+ gui-libs/libadwaita:1[introspection]
+ net-libs/libsoup:3.0[introspection]
+"
+BDEPEND="
+ dev-util/blueprint-compiler
+ sys-devel/gettext
+"
+
+src_prepare() {
+ default
+
+ rmdir "${S}"/troll || die
+ mv "${WORKDIR}"/troll-${TROLL_COMMIT} "${S}"/troll || die
+
+ # https://github.com/sonnyp/Junction/issues/115
+ sed \
+ 's#XDG_DATA_DIRS=\(.*\) gjs#XDG_DATA_DIRS=\1:/usr/local/share/:/usr/share/ gjs#' \
+ -i src/bin.js || die
+}
+
+# only data files validators, skip them
+src_test() {
+ :
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+ gnome2_schemas_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+ gnome2_schemas_update
+}
next reply other threads:[~2024-04-06 23:47 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-06 23:47 Lucio Sauer [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-04-10 20:54 [gentoo-commits] repo/proj/guru:dev commit in: gnome-extra/junction/ Lucio Sauer
2024-04-07 0:09 Lucio Sauer
2024-04-07 0:09 Lucio Sauer
2024-04-06 19:13 Ronaldo V. Lobato
2024-04-06 18:41 Ronaldo V. Lobato
2022-11-29 15:02 Anna Vyalkova
2022-11-28 14:20 Anna Vyalkova
2022-11-26 21:03 Randall Vasquez
2022-09-08 10:24 Andrew Ammerlaan
2022-08-22 0:27 Randall Vasquez
2022-08-21 21:17 Randall Vasquez
2022-08-20 12:54 Randall Vasquez
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=1712446989.3297a17695e363513e0f5857142d56c31fe377a9.watermanpaint@gentoo \
--to=watermanpaint@posteo.net \
--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