public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: x11-misc/i3-restore/
@ 2024-02-25 10:02 Viorel Munteanu
  0 siblings, 0 replies; 4+ messages in thread
From: Viorel Munteanu @ 2024-02-25 10:02 UTC (permalink / raw
  To: gentoo-commits

commit:     632f5f0efa812d7ed3d82af4136e865eb7bf2dca
Author:     Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru>
AuthorDate: Sun Feb 25 04:51:47 2024 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Sun Feb 25 04:51:47 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=632f5f0e

x11-misc/i3-restore: new package, add 4.1

Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly <AT> ya.ru>

 x11-misc/i3-restore/Manifest              |  1 +
 x11-misc/i3-restore/i3-restore-4.1.ebuild | 49 +++++++++++++++++++++++++++++++
 x11-misc/i3-restore/metadata.xml          | 11 +++++++
 3 files changed, 61 insertions(+)

diff --git a/x11-misc/i3-restore/Manifest b/x11-misc/i3-restore/Manifest
new file mode 100644
index 0000000000..390ad6d48c
--- /dev/null
+++ b/x11-misc/i3-restore/Manifest
@@ -0,0 +1 @@
+DIST i3-restore-4.1.tar.gz 33362 BLAKE2B 008637a1ad5281f9076c02daddd6e89cecaba1c5361ae53fc949386d25b759fd0fb2a0cfa47637b0f31b05e487987b81854a514ec413f7be70077b5f458d279d SHA512 a0affbbf564830a6de400c2f3d3bb7549676e670d4ad10b341482eb3dca771e109054f4d114625c7cd7636c56915e9eaeb1d956e43bc2b3cfb23334503d301b2

diff --git a/x11-misc/i3-restore/i3-restore-4.1.ebuild b/x11-misc/i3-restore/i3-restore-4.1.ebuild
new file mode 100644
index 0000000000..20905fc3e3
--- /dev/null
+++ b/x11-misc/i3-restore/i3-restore-4.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2024 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="A simple bash + python script to restore your i3 session"
+HOMEPAGE="https://github.com/jdholtz/i3-restore/"
+
+SRC_URI="https://github.com/jdholtz/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+LICENSE="GPL-3"
+SLOT="0"
+
+PYTHON_COMPAT=( python3_{7..12} )
+inherit python-single-r1
+
+RDEPEND="
+	x11-wm/i3
+	"${PYTHON_DEPS}"
+"
+DEPEND="
+	x11-misc/xdotool
+	app-misc/jq
+	$(python_gen_cond_dep \
+	'dev-python/psutil[${PYTHON_USEDEP}]' )
+"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+src_prepare() {
+	sed -i 's#CURR_DIR="$(dirname "${0}")"#CURR_DIR=/usr/libexec/i3-restore#' i3-save i3-restore  \
+		|| die "Sed error!"
+	default
+}
+
+src_install() {
+	insinto "/usr/libexec/${PN}"
+	doins -r utils
+	dobin i3-save
+	dobin i3-restore
+	python_moduleinto "/usr/libexec/${PN}"
+	python_domodule programs
+}
+
+pkg_postinst() {
+	elog "Usage: i3-save and i3-restore"
+	elog "See the documentation about automatic saving and restoring https://github.com/jdholtz/i3-restore/?tab=readme-ov-file#automating-the-script"
+}

diff --git a/x11-misc/i3-restore/metadata.xml b/x11-misc/i3-restore/metadata.xml
new file mode 100644
index 0000000000..2edebb765d
--- /dev/null
+++ b/x11-misc/i3-restore/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person" proxied="yes">
+		<email>zdanevich.vitaly@ya.ru</email>
+		<name>Vitaly Zdanevich</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">jdholtz/i3-restore</remote-id>
+	</upstream>
+</pkgmetadata>


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

* [gentoo-commits] repo/proj/guru:master commit in: x11-misc/i3-restore/
@ 2024-02-26 16:30 Viorel Munteanu
  0 siblings, 0 replies; 4+ messages in thread
From: Viorel Munteanu @ 2024-02-26 16:30 UTC (permalink / raw
  To: gentoo-commits

commit:     dfed77677b653892eee1e40b842fee9aac33ddf3
Author:     Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru>
AuthorDate: Sun Feb 25 21:24:03 2024 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Sun Feb 25 21:24:03 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=dfed7767

x11-misc/i3-restore: add <longdescription>

Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly <AT> ya.ru>

 x11-misc/i3-restore/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/x11-misc/i3-restore/metadata.xml b/x11-misc/i3-restore/metadata.xml
index 2edebb765d..f6d057e77b 100644
--- a/x11-misc/i3-restore/metadata.xml
+++ b/x11-misc/i3-restore/metadata.xml
@@ -5,6 +5,9 @@
 		<email>zdanevich.vitaly@ya.ru</email>
 		<name>Vitaly Zdanevich</name>
 	</maintainer>
+	<longdescription>
+A simple Python and Bash script to restore your i3 session. It works very similar to how Firefox restores a previous session. The script can correctly restore terminal subprocesses (such as Vim and ssh) and web browser instances exactly how they were before.
+	</longdescription>
 	<upstream>
 		<remote-id type="github">jdholtz/i3-restore</remote-id>
 	</upstream>


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

* [gentoo-commits] repo/proj/guru:master commit in: x11-misc/i3-restore/
@ 2024-02-26 16:30 Viorel Munteanu
  0 siblings, 0 replies; 4+ messages in thread
From: Viorel Munteanu @ 2024-02-26 16:30 UTC (permalink / raw
  To: gentoo-commits

commit:     9e43dab919c961a50cbed428b81424da5a7c83c4
Author:     Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru>
AuthorDate: Sun Feb 25 20:31:38 2024 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Sun Feb 25 20:31:38 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9e43dab9

x11-misc/i3-restore: fix permission for logs folder

Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly <AT> ya.ru>

 x11-misc/i3-restore/i3-restore-4.1.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/x11-misc/i3-restore/i3-restore-4.1.ebuild b/x11-misc/i3-restore/i3-restore-4.1.ebuild
index c88117bc1f..5b81eef559 100644
--- a/x11-misc/i3-restore/i3-restore-4.1.ebuild
+++ b/x11-misc/i3-restore/i3-restore-4.1.ebuild
@@ -35,10 +35,14 @@ src_prepare() {
 }
 
 src_install() {
+	keepdir /usr/libexec/${PN}/logs || die
+	fperms 777 /usr/libexec/${PN}/logs || die
+
 	insinto "/usr/libexec/${PN}"
 	doins -r utils
 	dobin i3-save
 	dobin i3-restore
+
 	python_moduleinto "/usr/libexec/${PN}"
 	python_domodule programs
 }


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

* [gentoo-commits] repo/proj/guru:master commit in: x11-misc/i3-restore/
@ 2024-03-07 11:34 Andrew Ammerlaan
  0 siblings, 0 replies; 4+ messages in thread
From: Andrew Ammerlaan @ 2024-03-07 11:34 UTC (permalink / raw
  To: gentoo-commits

commit:     76572b25a75c1e207866cc49b3b834f0824627ab
Author:     Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru>
AuthorDate: Thu Mar  7 03:39:18 2024 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Thu Mar  7 03:39:18 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=76572b25

x11-misc/i3-restore: add einfo with link to alternative software

Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly <AT> ya.ru>

 x11-misc/i3-restore/i3-restore-4.1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/x11-misc/i3-restore/i3-restore-4.1.ebuild b/x11-misc/i3-restore/i3-restore-4.1.ebuild
index 5b81eef559..2d3d1965b9 100644
--- a/x11-misc/i3-restore/i3-restore-4.1.ebuild
+++ b/x11-misc/i3-restore/i3-restore-4.1.ebuild
@@ -50,4 +50,5 @@ src_install() {
 pkg_postinst() {
 	elog "Usage: i3-save and i3-restore"
 	elog "See the documentation about automatic saving and restoring https://github.com/jdholtz/i3-restore/?tab=readme-ov-file#automating-the-script"
+	elog "Alternative software: https://github.com/JonnyHaystack/i3-resurrect"
 }


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

end of thread, other threads:[~2024-03-07 11:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-26 16:30 [gentoo-commits] repo/proj/guru:master commit in: x11-misc/i3-restore/ Viorel Munteanu
  -- strict thread matches above, loose matches on Subject: below --
2024-03-07 11:34 Andrew Ammerlaan
2024-02-26 16:30 Viorel Munteanu
2024-02-25 10:02 Viorel Munteanu

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