public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ytfzf/, net-misc/ytfzf/files/
@ 2022-09-14  4:05 Ionen Wolkens
  0 siblings, 0 replies; 4+ messages in thread
From: Ionen Wolkens @ 2022-09-14  4:05 UTC (permalink / raw
  To: gentoo-commits

commit:     f7d92d2c8e00f41bfcb6aedd8bff71b7f0fdb2c1
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 14 02:01:15 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed Sep 14 04:02:49 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7d92d2c

net-misc/ytfzf: add 2.5.0

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 net-misc/ytfzf/Manifest                         |  1 +
 net-misc/ytfzf/files/ytfzf-2.5.0-cachedir.patch | 16 +++++++
 net-misc/ytfzf/ytfzf-2.5.0.ebuild               | 63 +++++++++++++++++++++++++
 3 files changed, 80 insertions(+)

diff --git a/net-misc/ytfzf/Manifest b/net-misc/ytfzf/Manifest
index 77eab4c37ce4..4a94a807b041 100644
--- a/net-misc/ytfzf/Manifest
+++ b/net-misc/ytfzf/Manifest
@@ -1 +1,2 @@
 DIST ytfzf-2.4.1.tar.gz 3256903 BLAKE2B e95fc86d1ed2099aeb96d8daf808861e279865e17758dc8b0b5fa4c349dd819371012d13073f89b94469f1d69f00b66bb01860e3190e324baadc30e2cbae8074 SHA512 f0be168d5fd32cc75f95d0533a093cb9e3aa238d39e024271d69f078b974da51504bd1fd65a34378085a148f1ddae68f6c2fdc15c7a56c2353ec3d6695451771
+DIST ytfzf-2.5.0.tar.gz 3260280 BLAKE2B 33535afc6be18fe9efeddf666ccdc646db227fcb601a52baeaca91b9316b87b1300fdab50ceca5eb9e21fef5571a87e917f78f71b97e7ec2abbebf5158b4487d SHA512 43e366694687be517a0b3da0d16e423f32046ab5de92368748e87c622f43e34bd1037f01b37fcb05ae8ce87ca536672cf3f5ca2b2608bab07ec9f4abeabb61ec

diff --git a/net-misc/ytfzf/files/ytfzf-2.5.0-cachedir.patch b/net-misc/ytfzf/files/ytfzf-2.5.0-cachedir.patch
new file mode 100644
index 000000000000..11023779e690
--- /dev/null
+++ b/net-misc/ytfzf/files/ytfzf-2.5.0-cachedir.patch
@@ -0,0 +1,16 @@
+https://github.com/pystardust/ytfzf/commit/cfc739211352b0d5249e48419a34ee6e1913aadd
+From: Euro20179 <sandollar2020@gmail.com>
+Date: Tue, 13 Sep 2022 18:50:36 -0700
+Subject: [PATCH] fix: if cache dir is missing, ytfzf complains when trying to
+ create instances.json
+--- a/ytfzf
++++ b/ytfzf
+@@ -2278,6 +2278,8 @@ do_an_event_function "on_post_set_vars"
+ # files
+ : "${hist_file:="$cache_dir/watch_hist"}" "${search_hist_file:="$cache_dir/search_hist"}"
+ 
++[ ! -d "$cache_dir" ] && mkdir -p "$cache_dir"
++
+ # Where do we put the list of healthy instances?
+ : "${instances_file:="$cache_dir/instances.json"}"
+ 

diff --git a/net-misc/ytfzf/ytfzf-2.5.0.ebuild b/net-misc/ytfzf/ytfzf-2.5.0.ebuild
new file mode 100644
index 000000000000..743a99d9afe1
--- /dev/null
+++ b/net-misc/ytfzf/ytfzf-2.5.0.ebuild
@@ -0,0 +1,63 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit optfeature
+
+DESCRIPTION="Posix script to find and watch youtube videos from the terminal"
+HOMEPAGE="https://github.com/pystardust/ytfzf/"
+SRC_URI="https://github.com/pystardust/ytfzf/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="X minimal"
+
+RDEPEND="
+	app-misc/jq
+	net-misc/curl[ssl]
+	virtual/awk
+	!minimal? (
+		X? ( media-gfx/ueberzug )
+		app-shells/fzf
+		media-video/mpv[lua]
+		net-misc/yt-dlp
+	)"
+
+PATCHES=(
+	"${FILESDIR}"/${P}-cachedir.patch
+)
+
+src_prepare() {
+	default
+
+	sed -i "/^: ...YTFZF_SYSTEM_ADDON_DIR/s|/usr/local|${EPREFIX}/usr|" ytfzf || die
+}
+
+src_compile() { :; }
+
+src_install() {
+	local emakeargs=(
+		DESTDIR="${D}"
+		PREFIX="${EPREFIX}"/usr
+		DOCDIR="${EPREFIX}"/usr/share/doc/${PF}
+	)
+
+	emake "${emakeargs[@]}" addons doc install
+	einstalldocs
+
+	rm -r "${ED}"/usr/share/licenses || die
+}
+
+pkg_postinst() {
+	optfeature "external menu support" x11-misc/dmenu
+	optfeature "desktop notifications" x11-libs/libnotify
+
+	if [[ ! ${REPLACING_VERSIONS} ]]; then
+		elog "Note that ${PN} supports many methods to display menus/thumbnails."
+		elog "This ebuild primarily covers defaults and major features, additional"
+		elog "dependencies may be needed for others. Set USE=minimal if want full"
+		elog "control over optional dependencies (e.g. fzf is optional if use dmenu)."
+	fi
+}


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

* [gentoo-commits] repo/gentoo:master commit in: net-misc/ytfzf/, net-misc/ytfzf/files/
@ 2022-10-23  6:09 Ionen Wolkens
  0 siblings, 0 replies; 4+ messages in thread
From: Ionen Wolkens @ 2022-10-23  6:09 UTC (permalink / raw
  To: gentoo-commits

commit:     cb49b192886e9c956af99d591720ed57560bc37a
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 23 05:28:49 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sun Oct 23 06:06:59 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb49b192

net-misc/ytfzf: add 2.5.1

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 net-misc/ytfzf/Manifest                         |  1 +
 net-misc/ytfzf/files/ytfzf-2.5.1-ueberzug.patch | 10 ++++
 net-misc/ytfzf/ytfzf-2.5.1.ebuild               | 63 +++++++++++++++++++++++++
 3 files changed, 74 insertions(+)

diff --git a/net-misc/ytfzf/Manifest b/net-misc/ytfzf/Manifest
index e3c3a4ca32c4..322f9374caca 100644
--- a/net-misc/ytfzf/Manifest
+++ b/net-misc/ytfzf/Manifest
@@ -1 +1,2 @@
 DIST ytfzf-2.5.0.tar.gz 3260280 BLAKE2B 33535afc6be18fe9efeddf666ccdc646db227fcb601a52baeaca91b9316b87b1300fdab50ceca5eb9e21fef5571a87e917f78f71b97e7ec2abbebf5158b4487d SHA512 43e366694687be517a0b3da0d16e423f32046ab5de92368748e87c622f43e34bd1037f01b37fcb05ae8ce87ca536672cf3f5ca2b2608bab07ec9f4abeabb61ec
+DIST ytfzf-2.5.1.tar.gz 3263331 BLAKE2B 690a108e7b2e744a33acc67ea73ec28af87050c27af0e1cf274b163aa3f9699ee22b10ea7ecf88559c56c57443e686ad5e03ea61dc21571310425280de24d764 SHA512 00ec6a17c465f1590f61590ff45763d4e58cd7a281868817987b199b62c463f38c0543a0f6a71b983bd256f07f8c3cd25a0211945db2a74dada2078a42b69a51

diff --git a/net-misc/ytfzf/files/ytfzf-2.5.1-ueberzug.patch b/net-misc/ytfzf/files/ytfzf-2.5.1-ueberzug.patch
new file mode 100644
index 000000000000..5ebb36564f42
--- /dev/null
+++ b/net-misc/ytfzf/files/ytfzf-2.5.1-ueberzug.patch
@@ -0,0 +1,10 @@
+https://github.com/pystardust/ytfzf/issues/592
+--- a/ytfzf
++++ b/ytfzf
+@@ -1698,4 +1698,4 @@
+ 			mkfifo "$UEBERZUG_FIFO"
+-			ueberzug layer --parser json < "$UEBERZUG_FIFO"  &
+-			exec 3> "$UEBERZUG_FIFO" > "$thumbnail_debug_log" 2>&1 # to keep the fifo open
++			ueberzug layer --parser json < "$UEBERZUG_FIFO" > "$thumbnail_debug_log" 2>&1 &
++			exec 3> "$UEBERZUG_FIFO" # to keep the fifo open
+ 			;;

diff --git a/net-misc/ytfzf/ytfzf-2.5.1.ebuild b/net-misc/ytfzf/ytfzf-2.5.1.ebuild
new file mode 100644
index 000000000000..82ded86e3370
--- /dev/null
+++ b/net-misc/ytfzf/ytfzf-2.5.1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit optfeature
+
+DESCRIPTION="Posix script to find and watch youtube videos from the terminal"
+HOMEPAGE="https://github.com/pystardust/ytfzf/"
+SRC_URI="https://github.com/pystardust/ytfzf/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="X minimal"
+
+RDEPEND="
+	app-misc/jq
+	net-misc/curl[ssl]
+	virtual/awk
+	!minimal? (
+		X? ( media-gfx/ueberzug )
+		app-shells/fzf
+		media-video/mpv[lua]
+		net-misc/yt-dlp
+	)"
+
+PATCHES=(
+	"${FILESDIR}"/${P}-ueberzug.patch
+)
+
+src_prepare() {
+	default
+
+	sed -i "/^: ...YTFZF_SYSTEM_ADDON_DIR/s|/usr/local|${EPREFIX}/usr|" ytfzf || die
+}
+
+src_compile() { :; }
+
+src_install() {
+	local emakeargs=(
+		DESTDIR="${D}"
+		PREFIX="${EPREFIX}"/usr
+		DOCDIR="${EPREFIX}"/usr/share/doc/${PF}
+	)
+
+	emake "${emakeargs[@]}" addons doc install
+	einstalldocs
+
+	rm -r "${ED}"/usr/share/licenses || die
+}
+
+pkg_postinst() {
+	optfeature "external menu support" x11-misc/dmenu
+	optfeature "desktop notifications" x11-libs/libnotify
+
+	if [[ ! ${REPLACING_VERSIONS} ]]; then
+		elog "Note that ${PN} supports many methods to display menus/thumbnails."
+		elog "This ebuild primarily covers defaults and major features, additional"
+		elog "dependencies may be needed for others. Set USE=minimal if want full"
+		elog "control over optional dependencies (e.g. fzf is optional if use dmenu)."
+	fi
+}


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

* [gentoo-commits] repo/gentoo:master commit in: net-misc/ytfzf/, net-misc/ytfzf/files/
@ 2022-10-23  6:31 Ionen Wolkens
  0 siblings, 0 replies; 4+ messages in thread
From: Ionen Wolkens @ 2022-10-23  6:31 UTC (permalink / raw
  To: gentoo-commits

commit:     139136d85a8ae519a0ff2a4912c7fe8cc43cbb77
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 23 06:27:47 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sun Oct 23 06:31:01 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=139136d8

net-misc/ytfzf: add 2.5.2, drop 2.5.1

Identical to 2.5.1 given had a patch for the regression,
this just allows to drop the short lived patch.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 net-misc/ytfzf/Manifest                                   |  2 +-
 net-misc/ytfzf/files/ytfzf-2.5.1-ueberzug.patch           | 10 ----------
 net-misc/ytfzf/{ytfzf-2.5.1.ebuild => ytfzf-2.5.2.ebuild} |  4 ----
 3 files changed, 1 insertion(+), 15 deletions(-)

diff --git a/net-misc/ytfzf/Manifest b/net-misc/ytfzf/Manifest
index 322f9374caca..096082e1ce76 100644
--- a/net-misc/ytfzf/Manifest
+++ b/net-misc/ytfzf/Manifest
@@ -1,2 +1,2 @@
 DIST ytfzf-2.5.0.tar.gz 3260280 BLAKE2B 33535afc6be18fe9efeddf666ccdc646db227fcb601a52baeaca91b9316b87b1300fdab50ceca5eb9e21fef5571a87e917f78f71b97e7ec2abbebf5158b4487d SHA512 43e366694687be517a0b3da0d16e423f32046ab5de92368748e87c622f43e34bd1037f01b37fcb05ae8ce87ca536672cf3f5ca2b2608bab07ec9f4abeabb61ec
-DIST ytfzf-2.5.1.tar.gz 3263331 BLAKE2B 690a108e7b2e744a33acc67ea73ec28af87050c27af0e1cf274b163aa3f9699ee22b10ea7ecf88559c56c57443e686ad5e03ea61dc21571310425280de24d764 SHA512 00ec6a17c465f1590f61590ff45763d4e58cd7a281868817987b199b62c463f38c0543a0f6a71b983bd256f07f8c3cd25a0211945db2a74dada2078a42b69a51
+DIST ytfzf-2.5.2.tar.gz 3263326 BLAKE2B aa0e6b01ba90217df1e488cfbe74f44baadee0fa5f6e29f45ef79af9a0d9587ef394b345ddf6b8a86282f57f097c6728adccba2e444eda38d1746ae95438900f SHA512 aa87d2f3c50bfed3c49d363b23bdf17c6c5307116648f3042148d828d204cc9f1ce61888a82fade26e46dc46991cb2c8f559f5f9aa671d8bcf425d343fdff389

diff --git a/net-misc/ytfzf/files/ytfzf-2.5.1-ueberzug.patch b/net-misc/ytfzf/files/ytfzf-2.5.1-ueberzug.patch
deleted file mode 100644
index 5ebb36564f42..000000000000
--- a/net-misc/ytfzf/files/ytfzf-2.5.1-ueberzug.patch
+++ /dev/null
@@ -1,10 +0,0 @@
-https://github.com/pystardust/ytfzf/issues/592
---- a/ytfzf
-+++ b/ytfzf
-@@ -1698,4 +1698,4 @@
- 			mkfifo "$UEBERZUG_FIFO"
--			ueberzug layer --parser json < "$UEBERZUG_FIFO"  &
--			exec 3> "$UEBERZUG_FIFO" > "$thumbnail_debug_log" 2>&1 # to keep the fifo open
-+			ueberzug layer --parser json < "$UEBERZUG_FIFO" > "$thumbnail_debug_log" 2>&1 &
-+			exec 3> "$UEBERZUG_FIFO" # to keep the fifo open
- 			;;

diff --git a/net-misc/ytfzf/ytfzf-2.5.1.ebuild b/net-misc/ytfzf/ytfzf-2.5.2.ebuild
similarity index 96%
rename from net-misc/ytfzf/ytfzf-2.5.1.ebuild
rename to net-misc/ytfzf/ytfzf-2.5.2.ebuild
index 82ded86e3370..36a2a31e9d01 100644
--- a/net-misc/ytfzf/ytfzf-2.5.1.ebuild
+++ b/net-misc/ytfzf/ytfzf-2.5.2.ebuild
@@ -25,10 +25,6 @@ RDEPEND="
 		net-misc/yt-dlp
 	)"
 
-PATCHES=(
-	"${FILESDIR}"/${P}-ueberzug.patch
-)
-
 src_prepare() {
 	default
 


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

* [gentoo-commits] repo/gentoo:master commit in: net-misc/ytfzf/, net-misc/ytfzf/files/
@ 2022-11-01 20:39 Ionen Wolkens
  0 siblings, 0 replies; 4+ messages in thread
From: Ionen Wolkens @ 2022-11-01 20:39 UTC (permalink / raw
  To: gentoo-commits

commit:     b7d039dac37b450e00cd963070b41ba822a6880a
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Nov  1 19:57:06 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Nov  1 20:32:41 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7d039da

net-misc/ytfzf: drop 2.5.0

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 net-misc/ytfzf/Manifest                         |  1 -
 net-misc/ytfzf/files/ytfzf-2.5.0-cachedir.patch | 16 -------
 net-misc/ytfzf/ytfzf-2.5.0.ebuild               | 63 -------------------------
 3 files changed, 80 deletions(-)

diff --git a/net-misc/ytfzf/Manifest b/net-misc/ytfzf/Manifest
index 096082e1ce76..6824a2467eb1 100644
--- a/net-misc/ytfzf/Manifest
+++ b/net-misc/ytfzf/Manifest
@@ -1,2 +1 @@
-DIST ytfzf-2.5.0.tar.gz 3260280 BLAKE2B 33535afc6be18fe9efeddf666ccdc646db227fcb601a52baeaca91b9316b87b1300fdab50ceca5eb9e21fef5571a87e917f78f71b97e7ec2abbebf5158b4487d SHA512 43e366694687be517a0b3da0d16e423f32046ab5de92368748e87c622f43e34bd1037f01b37fcb05ae8ce87ca536672cf3f5ca2b2608bab07ec9f4abeabb61ec
 DIST ytfzf-2.5.2.tar.gz 3263326 BLAKE2B aa0e6b01ba90217df1e488cfbe74f44baadee0fa5f6e29f45ef79af9a0d9587ef394b345ddf6b8a86282f57f097c6728adccba2e444eda38d1746ae95438900f SHA512 aa87d2f3c50bfed3c49d363b23bdf17c6c5307116648f3042148d828d204cc9f1ce61888a82fade26e46dc46991cb2c8f559f5f9aa671d8bcf425d343fdff389

diff --git a/net-misc/ytfzf/files/ytfzf-2.5.0-cachedir.patch b/net-misc/ytfzf/files/ytfzf-2.5.0-cachedir.patch
deleted file mode 100644
index 11023779e690..000000000000
--- a/net-misc/ytfzf/files/ytfzf-2.5.0-cachedir.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-https://github.com/pystardust/ytfzf/commit/cfc739211352b0d5249e48419a34ee6e1913aadd
-From: Euro20179 <sandollar2020@gmail.com>
-Date: Tue, 13 Sep 2022 18:50:36 -0700
-Subject: [PATCH] fix: if cache dir is missing, ytfzf complains when trying to
- create instances.json
---- a/ytfzf
-+++ b/ytfzf
-@@ -2278,6 +2278,8 @@ do_an_event_function "on_post_set_vars"
- # files
- : "${hist_file:="$cache_dir/watch_hist"}" "${search_hist_file:="$cache_dir/search_hist"}"
- 
-+[ ! -d "$cache_dir" ] && mkdir -p "$cache_dir"
-+
- # Where do we put the list of healthy instances?
- : "${instances_file:="$cache_dir/instances.json"}"
- 

diff --git a/net-misc/ytfzf/ytfzf-2.5.0.ebuild b/net-misc/ytfzf/ytfzf-2.5.0.ebuild
deleted file mode 100644
index 743a99d9afe1..000000000000
--- a/net-misc/ytfzf/ytfzf-2.5.0.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 2021-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit optfeature
-
-DESCRIPTION="Posix script to find and watch youtube videos from the terminal"
-HOMEPAGE="https://github.com/pystardust/ytfzf/"
-SRC_URI="https://github.com/pystardust/ytfzf/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="X minimal"
-
-RDEPEND="
-	app-misc/jq
-	net-misc/curl[ssl]
-	virtual/awk
-	!minimal? (
-		X? ( media-gfx/ueberzug )
-		app-shells/fzf
-		media-video/mpv[lua]
-		net-misc/yt-dlp
-	)"
-
-PATCHES=(
-	"${FILESDIR}"/${P}-cachedir.patch
-)
-
-src_prepare() {
-	default
-
-	sed -i "/^: ...YTFZF_SYSTEM_ADDON_DIR/s|/usr/local|${EPREFIX}/usr|" ytfzf || die
-}
-
-src_compile() { :; }
-
-src_install() {
-	local emakeargs=(
-		DESTDIR="${D}"
-		PREFIX="${EPREFIX}"/usr
-		DOCDIR="${EPREFIX}"/usr/share/doc/${PF}
-	)
-
-	emake "${emakeargs[@]}" addons doc install
-	einstalldocs
-
-	rm -r "${ED}"/usr/share/licenses || die
-}
-
-pkg_postinst() {
-	optfeature "external menu support" x11-misc/dmenu
-	optfeature "desktop notifications" x11-libs/libnotify
-
-	if [[ ! ${REPLACING_VERSIONS} ]]; then
-		elog "Note that ${PN} supports many methods to display menus/thumbnails."
-		elog "This ebuild primarily covers defaults and major features, additional"
-		elog "dependencies may be needed for others. Set USE=minimal if want full"
-		elog "control over optional dependencies (e.g. fzf is optional if use dmenu)."
-	fi
-}


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

end of thread, other threads:[~2022-11-01 20:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-23  6:09 [gentoo-commits] repo/gentoo:master commit in: net-misc/ytfzf/, net-misc/ytfzf/files/ Ionen Wolkens
  -- strict thread matches above, loose matches on Subject: below --
2022-11-01 20:39 Ionen Wolkens
2022-10-23  6:31 Ionen Wolkens
2022-09-14  4:05 Ionen Wolkens

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