[gentoo-commits] repo/proj/guru:dev commit in: x11-wm/firefox-i3-workspaces/

2024-04-09 Thread Viorel Munteanu
commit: 5588712c41e64927ec8220c879557a89015a95af
Author: Viorel Munteanu  gentoo  org>
AuthorDate: Tue Apr  9 16:25:42 2024 +
Commit: Viorel Munteanu  gentoo  org>
CommitDate: Tue Apr  9 16:25:42 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5588712c

x11-wm/firefox-i3-workspaces: fix tarball name

Signed-off-by: Viorel Munteanu  gentoo.org>

 x11-wm/firefox-i3-workspaces/Manifest  | 2 +-
 x11-wm/firefox-i3-workspaces/firefox-i3-workspaces-0.10.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/x11-wm/firefox-i3-workspaces/Manifest 
b/x11-wm/firefox-i3-workspaces/Manifest
index 9314fe40f1..ba0f20113c 100644
--- a/x11-wm/firefox-i3-workspaces/Manifest
+++ b/x11-wm/firefox-i3-workspaces/Manifest
@@ -1 +1 @@
-DIST 0.10.tar.gz 54784 BLAKE2B 
88f61133a04fc0a13eee72a12ab222d4378bf4daa02fab812a6ea61ef167fd19c4ca9b7571fdb8d762b82cbbd0932b0fbd3b621748481ead77f425e8d879a1f2
 SHA512 
45c97cd37e436d2b61767a1ca62f96bc6efa650829f587329008189d1b87f6af80fc10c7046b5c788bc9ae932d415c2b6d8f26a3cede0841e055f6ce8bd90ffb
+DIST firefox-i3-workspaces-0.10.gh.tar.gz 54784 BLAKE2B 
88f61133a04fc0a13eee72a12ab222d4378bf4daa02fab812a6ea61ef167fd19c4ca9b7571fdb8d762b82cbbd0932b0fbd3b621748481ead77f425e8d879a1f2
 SHA512 
45c97cd37e436d2b61767a1ca62f96bc6efa650829f587329008189d1b87f6af80fc10c7046b5c788bc9ae932d415c2b6d8f26a3cede0841e055f6ce8bd90ffb

diff --git a/x11-wm/firefox-i3-workspaces/firefox-i3-workspaces-0.10.ebuild 
b/x11-wm/firefox-i3-workspaces/firefox-i3-workspaces-0.10.ebuild
index adbaa09892..6ef48303e3 100644
--- a/x11-wm/firefox-i3-workspaces/firefox-i3-workspaces-0.10.ebuild
+++ b/x11-wm/firefox-i3-workspaces/firefox-i3-workspaces-0.10.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 DESCRIPTION="Restore Firefox windows to correct i3 workspaces, helper web 
extension is needed"
 HOMEPAGE="https://github.com/yurikhan/firefox-i3-workspaces;
-SRC_URI="https://github.com/yurikhan/$PN/archive/refs/tags/$PV.tar.gz;
+SRC_URI="https://github.com/yurikhan/$PN/archive/refs/tags/$PV.tar.gz -> 
${P}.gh.tar.gz"
 
 LICENSE="GPL-3"
 SLOT=0



[gentoo-commits] repo/proj/guru:dev commit in: x11-wm/firefox-i3-workspaces/

2024-04-09 Thread Vitaly Zdanevich
commit: 340a815b68ff576fe26c1eb85d3028756dd09024
Author: Vitaly Zdanevich  ya  ru>
AuthorDate: Tue Apr  9 14:14:04 2024 +
Commit: Vitaly Zdanevich  ya  ru>
CommitDate: Tue Apr  9 14:14:04 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=340a815b

x11-wm/firefox-i3-workspaces: windowS workspaceS to windows workspaces

Signed-off-by: Vitaly Zdanevich  ya.ru>

 x11-wm/firefox-i3-workspaces/firefox-i3-workspaces-0.10.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-wm/firefox-i3-workspaces/firefox-i3-workspaces-0.10.ebuild 
b/x11-wm/firefox-i3-workspaces/firefox-i3-workspaces-0.10.ebuild
index 473488147c..adbaa09892 100644
--- a/x11-wm/firefox-i3-workspaces/firefox-i3-workspaces-0.10.ebuild
+++ b/x11-wm/firefox-i3-workspaces/firefox-i3-workspaces-0.10.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-DESCRIPTION="Restore Firefox windowS to correct i3 workspaceS, helper web 
extension is needed"
+DESCRIPTION="Restore Firefox windows to correct i3 workspaces, helper web 
extension is needed"
 HOMEPAGE="https://github.com/yurikhan/firefox-i3-workspaces;
 SRC_URI="https://github.com/yurikhan/$PN/archive/refs/tags/$PV.tar.gz;
 



[gentoo-commits] repo/proj/guru:dev commit in: x11-wm/firefox-i3-workspaces/

2024-04-08 Thread Vitaly Zdanevich
commit: 6000289ff41119afda465bf7c68e8280d338872b
Author: Vitaly Zdanevich  ya  ru>
AuthorDate: Mon Apr  8 08:24:45 2024 +
Commit: Vitaly Zdanevich  ya  ru>
CommitDate: Mon Apr  8 08:24:45 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6000289f

metadata.xml: fix gitlab to github

Signed-off-by: Vitaly Zdanevich  ya.ru>

 x11-wm/firefox-i3-workspaces/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-wm/firefox-i3-workspaces/metadata.xml 
b/x11-wm/firefox-i3-workspaces/metadata.xml
index 241f322a87..b05b7389ed 100644
--- a/x11-wm/firefox-i3-workspaces/metadata.xml
+++ b/x11-wm/firefox-i3-workspaces/metadata.xml
@@ -6,7 +6,7 @@
zdanevich.vit...@ya.ru


-   yurikhan/firefox-i3-workspaces
+   yurikhan/firefox-i3-workspaces

https://github.com/yurikhan/firefox-i3-workspaces/issues

 



[gentoo-commits] repo/proj/guru:dev commit in: x11-wm/firefox-i3-workspaces/

2024-04-06 Thread Vitaly Zdanevich
commit: d913ab40226251d62a4b70b0e727c56df73f7f06
Author: Vitaly Zdanevich  ya  ru>
AuthorDate: Sun Apr  7 05:55:02 2024 +
Commit: Vitaly Zdanevich  ya  ru>
CommitDate: Sun Apr  7 05:55:02 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d913ab40

x11-wm/firefox-i3-workspaces: remove commented line of code about S=...

Signed-off-by: Vitaly Zdanevich  ya.ru>

 x11-wm/firefox-i3-workspaces/firefox-i3-workspaces-0.10.ebuild | 2 --
 1 file changed, 2 deletions(-)

diff --git a/x11-wm/firefox-i3-workspaces/firefox-i3-workspaces-0.10.ebuild 
b/x11-wm/firefox-i3-workspaces/firefox-i3-workspaces-0.10.ebuild
index 372f2d6040..473488147c 100644
--- a/x11-wm/firefox-i3-workspaces/firefox-i3-workspaces-0.10.ebuild
+++ b/x11-wm/firefox-i3-workspaces/firefox-i3-workspaces-0.10.ebuild
@@ -16,8 +16,6 @@ RDEPEND="
dev-python/i3ipc
 "
 
-# S="${DISTDIR}"
-
 PATCHES=(
"$FILESDIR/path-adapt.patch"
 )



[gentoo-commits] repo/proj/guru:dev commit in: x11-wm/firefox-i3-workspaces/, x11-wm/firefox-i3-workspaces/files/

2024-04-06 Thread Vitaly Zdanevich
commit: d215ee8db96e85b1cf14a220a0eaf165a63406ce
Author: Vitaly Zdanevich  ya  ru>
AuthorDate: Sun Apr  7 05:35:41 2024 +
Commit: Vitaly Zdanevich  ya  ru>
CommitDate: Sun Apr  7 05:35:41 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d215ee8d

x11-wm/firefox-i3-workspaces: new package

Signed-off-by: Vitaly Zdanevich  ya.ru>

 x11-wm/firefox-i3-workspaces/Manifest  |  1 +
 .../firefox-i3-workspaces/files/path-adapt.patch   | 13 
 .../firefox-i3-workspaces-0.10.ebuild  | 38 ++
 x11-wm/firefox-i3-workspaces/metadata.xml  | 12 +++
 4 files changed, 64 insertions(+)

diff --git a/x11-wm/firefox-i3-workspaces/Manifest 
b/x11-wm/firefox-i3-workspaces/Manifest
new file mode 100644
index 00..9314fe40f1
--- /dev/null
+++ b/x11-wm/firefox-i3-workspaces/Manifest
@@ -0,0 +1 @@
+DIST 0.10.tar.gz 54784 BLAKE2B 
88f61133a04fc0a13eee72a12ab222d4378bf4daa02fab812a6ea61ef167fd19c4ca9b7571fdb8d762b82cbbd0932b0fbd3b621748481ead77f425e8d879a1f2
 SHA512 
45c97cd37e436d2b61767a1ca62f96bc6efa650829f587329008189d1b87f6af80fc10c7046b5c788bc9ae932d415c2b6d8f26a3cede0841e055f6ce8bd90ffb

diff --git a/x11-wm/firefox-i3-workspaces/files/path-adapt.patch 
b/x11-wm/firefox-i3-workspaces/files/path-adapt.patch
new file mode 100644
index 00..20b18deeb4
--- /dev/null
+++ b/x11-wm/firefox-i3-workspaces/files/path-adapt.patch
@@ -0,0 +1,13 @@
+diff --git a/host/i3_workspaces.json b/host/i3_workspaces.json
+index 3e1c6e5..14288b2 100644
+--- a/host/i3_workspaces.json
 b/host/i3_workspaces.json
+@@ -1,7 +1,7 @@
+ {
+   "name": "i3_workspaces",
+   "description": "Communicate with i3 about which workspaces Firefox windows 
are on",
+-  "path": "/home/yuri/projects/firefox-i3-workspaces/host/i3_workspaces.py",
++  "path": "/usr/lib/i3_workspaces.py",
+   "type": "stdio",
+   "allowed_extensions": ["i3-workspaces@yurikhan.space"]
+ }

diff --git a/x11-wm/firefox-i3-workspaces/firefox-i3-workspaces-0.10.ebuild 
b/x11-wm/firefox-i3-workspaces/firefox-i3-workspaces-0.10.ebuild
new file mode 100644
index 00..372f2d6040
--- /dev/null
+++ b/x11-wm/firefox-i3-workspaces/firefox-i3-workspaces-0.10.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Restore Firefox windowS to correct i3 workspaceS, helper web 
extension is needed"
+HOMEPAGE="https://github.com/yurikhan/firefox-i3-workspaces;
+SRC_URI="https://github.com/yurikhan/$PN/archive/refs/tags/$PV.tar.gz;
+
+LICENSE="GPL-3"
+SLOT=0
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+   x11-wm/i3
+   dev-python/i3ipc
+"
+
+# S="${DISTDIR}"
+
+PATCHES=(
+   "$FILESDIR/path-adapt.patch"
+)
+
+src_install() {
+   path_py="$ED/usr/lib/"
+   mkdir -p $path_py || die
+   cp host/i3_workspaces.py $path_py || die
+   # Not dobin because this is not for the user CLI - only Firefox should 
call this
+
+   path_json=/usr/lib64/mozilla/native-messaging-hosts/
+   mkdir -p "$ED/$path_json" || die
+   cp host/i3_workspaces.json "$ED$path_json" || die
+}
+
+pkg_postinst() {
+   einfo "Install browser extension from 
https://addons.mozilla.org/en-US/firefox/addon/i3-workspaces/;
+}

diff --git a/x11-wm/firefox-i3-workspaces/metadata.xml 
b/x11-wm/firefox-i3-workspaces/metadata.xml
new file mode 100644
index 00..241f322a87
--- /dev/null
+++ b/x11-wm/firefox-i3-workspaces/metadata.xml
@@ -0,0 +1,12 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   Vitaly Zdanevich
+   zdanevich.vit...@ya.ru
+   
+   
+   yurikhan/firefox-i3-workspaces
+   
https://github.com/yurikhan/firefox-i3-workspaces/issues
+   
+