[gentoo-commits] repo/gentoo:master commit in: x11-misc/xssstate/

2024-02-15 Thread Bernard Cafarelli
commit: 7954f0aadbe3407ed91ffe50c45587680611a3e5
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Thu Feb 15 13:08:48 2024 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Thu Feb 15 13:11:33 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7954f0aa

x11-misc/xssstate: add myself as a maintainer

Signed-off-by: Bernard Cafarelli  gentoo.org>

 x11-misc/xssstate/metadata.xml | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/x11-misc/xssstate/metadata.xml b/x11-misc/xssstate/metadata.xml
index 115e9d64a669..8a473e90e026 100644
--- a/x11-misc/xssstate/metadata.xml
+++ b/x11-misc/xssstate/metadata.xml
@@ -1,5 +1,8 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-   
+   
+   voyag...@gentoo.org
+   Bernard Cafarelli
+   
 



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xssstate/files/, x11-misc/xssstate/

2022-09-24 Thread Sam James
commit: 85a1ad79647a6e5592c5c59172ceed1a91ef1ea8
Author: orbea  riseup  net>
AuthorDate: Sat Sep 24 04:41:22 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Sep 25 01:27:19 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85a1ad79

x11-misc/xssstate: Don't hardcode /usr/lib

Bug: https://bugs.gentoo.org/732450
Closes: https://bugs.gentoo.org/732450
Upstream-Commit: 
https://git.suckless.org/xssstate/commit/5d8e9b49ce2970f786f1e5aa12bbaae83900453f.html
Signed-off-by: orbea  riseup.net>
Closes: https://github.com/gentoo/gentoo/pull/27419
Signed-off-by: Sam James  gentoo.org>

 x11-misc/xssstate/files/xssstate-1.1-libdir.patch | 23 +
 x11-misc/xssstate/xssstate-1.1-r1.ebuild  | 42 +++
 2 files changed, 65 insertions(+)

diff --git a/x11-misc/xssstate/files/xssstate-1.1-libdir.patch 
b/x11-misc/xssstate/files/xssstate-1.1-libdir.patch
new file mode 100644
index ..cedde569f12b
--- /dev/null
+++ b/x11-misc/xssstate/files/xssstate-1.1-libdir.patch
@@ -0,0 +1,23 @@
+Bug: https://bugs.gentoo.org/732450
+Upstream-Commit: 
https://git.suckless.org/xssstate/commit/5d8e9b49ce2970f786f1e5aa12bbaae83900453f.html
+
+From: orbea 
+Date: Fri, 23 Sep 2022 21:17:01 -0700
+Subject: [PATCH] config.mk: Add LIBDIR
+
+--- a/config.mk
 b/config.mk
+@@ -5,11 +5,12 @@ VERSION = 1.1
+ 
+ # paths
+ PREFIX = /usr/local
++LIBDIR = ${PREFIX}/lib
+ MANPREFIX = ${PREFIX}/share/man
+ 
+ # includes and libs
+ INCS = -I. -I/usr/include
+-LIBS = -L/usr/lib -lc -lX11 -lXss
++LIBS = -L${LIBDIR} -lc -lX11 -lXss
+ 
+ # flags
+ CPPFLAGS = -DVERSION=\"${VERSION}\"

diff --git a/x11-misc/xssstate/xssstate-1.1-r1.ebuild 
b/x11-misc/xssstate/xssstate-1.1-r1.ebuild
new file mode 100644
index ..a28494199a22
--- /dev/null
+++ b/x11-misc/xssstate/xssstate-1.1-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="A simple tool to retrieve the X screensaver state"
+HOMEPAGE="https://tools.suckless.org/x/xssstate;
+SRC_URI="https://dl.suckless.org/tools/${P}.tar.gz;
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+
+RDEPEND="
+   x11-libs/libX11
+   x11-libs/libXScrnSaver
+"
+DEPEND="
+   ${RDEPEND}
+   x11-base/xorg-proto
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.0.20130103-gentoo.patch
+   "${FILESDIR}"/${PN}-1.1-libdir.patch #732450
+)
+
+src_compile() {
+   emake CC="$(tc-getCC)" LIBDIR="${EPREFIX}/usr/$(get_libdir)"
+}
+
+src_install() {
+   emake install \
+   DESTDIR="${D}" \
+   PREFIX="${EPREFIX}"/usr \
+   LIBDIR="${EPREFIX}/usr/$(get_libdir)"
+
+   dodoc README xsidle.sh
+   doman ${PN}.1
+}



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xssstate/

2021-07-03 Thread Georgy Yakovlev
commit: 3b5bf33fd842f77036429ebae15f8eca4b4a63d4
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sat Jul  3 20:57:22 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sat Jul  3 20:57:22 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b5bf33f

x11-misc/xssstate: keyword 1.1 for ~arm64

Signed-off-by: Georgy Yakovlev  gentoo.org>

 x11-misc/xssstate/xssstate-1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/xssstate/xssstate-1.1.ebuild 
b/x11-misc/xssstate/xssstate-1.1.ebuild
index 0dbd9da68b1..e670a5598b2 100644
--- a/x11-misc/xssstate/xssstate-1.1.ebuild
+++ b/x11-misc/xssstate/xssstate-1.1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://dl.suckless.org/tools/${P}.tar.gz;
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~x86"
 
 RDEPEND="
x11-libs/libX11



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xssstate/

2021-07-03 Thread Georgy Yakovlev
commit: 694ce0b5a24e303461ae8ca6f9b2fb86cbfab08c
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sat Jul  3 20:57:35 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sat Jul  3 20:57:35 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=694ce0b5

x11-misc/xssstate: keyword 1.1 for ~ppc64

Signed-off-by: Georgy Yakovlev  gentoo.org>

 x11-misc/xssstate/xssstate-1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/xssstate/xssstate-1.1.ebuild 
b/x11-misc/xssstate/xssstate-1.1.ebuild
index e670a5598b2..384b74fe4fa 100644
--- a/x11-misc/xssstate/xssstate-1.1.ebuild
+++ b/x11-misc/xssstate/xssstate-1.1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://dl.suckless.org/tools/${P}.tar.gz;
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
 
 RDEPEND="
x11-libs/libX11



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xssstate/

2021-04-19 Thread Sam James
commit: af5e791f5cc0b8d4ed12074f1ee73a00d35a51f5
Author: Sam James  gentoo  org>
AuthorDate: Tue Apr 20 01:46:09 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Apr 20 01:49:49 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af5e791f

x11-misc/xssstate: port to EAPI 7

Signed-off-by: Sam James  gentoo.org>

 x11-misc/xssstate/xssstate-1.1.ebuild | 13 +
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/x11-misc/xssstate/xssstate-1.1.ebuild 
b/x11-misc/xssstate/xssstate-1.1.ebuild
index 194e85aa60e..0dbd9da68b1 100644
--- a/x11-misc/xssstate/xssstate-1.1.ebuild
+++ b/x11-misc/xssstate/xssstate-1.1.ebuild
@@ -1,8 +1,9 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit epatch toolchain-funcs
+EAPI=7
+
+inherit toolchain-funcs
 
 DESCRIPTION="A simple tool to retrieve the X screensaver state"
 HOMEPAGE="https://tools.suckless.org/x/xssstate;
@@ -11,7 +12,6 @@ SRC_URI="https://dl.suckless.org/tools/${P}.tar.gz;
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
 
 RDEPEND="
x11-libs/libX11
@@ -22,8 +22,13 @@ DEPEND="
x11-base/xorg-proto
 "
 
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.0.20130103-gentoo.patch
+)
+
 src_prepare() {
-   epatch "${FILESDIR}"/${PN}-1.0.20130103-gentoo.patch
+   default
+
tc-export CC
 }
 



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xssstate/

2021-04-18 Thread Sam James
commit: acac711fe2676dc1d79603ba2ba4a58f348195e9
Author: Sam James  gentoo  org>
AuthorDate: Fri Apr 16 14:07:37 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 18 06:05:29 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acac711f

x11-misc/xssstate: eutils->epatch

Package-Manager: Portage-3.0.14-prefix, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 x11-misc/xssstate/xssstate-1.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/x11-misc/xssstate/xssstate-1.1.ebuild 
b/x11-misc/xssstate/xssstate-1.1.ebuild
index 311c55ab00f..194e85aa60e 100644
--- a/x11-misc/xssstate/xssstate-1.1.ebuild
+++ b/x11-misc/xssstate/xssstate-1.1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
-inherit eutils toolchain-funcs
+inherit epatch toolchain-funcs
 
 DESCRIPTION="A simple tool to retrieve the X screensaver state"
 HOMEPAGE="https://tools.suckless.org/x/xssstate;



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xssstate/

2020-11-03 Thread Georgy Yakovlev
commit: 993acaff2bc8d7d5111405df87706a1149199387
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Tue Nov  3 21:52:33 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Tue Nov  3 21:54:33 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=993acaff

x11-misc/xssstate: update metadata.xml

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Georgy Yakovlev  gentoo.org>

 x11-misc/xssstate/metadata.xml | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/x11-misc/xssstate/metadata.xml b/x11-misc/xssstate/metadata.xml
index 7f81a451ce1..efcd58fe0b9 100644
--- a/x11-misc/xssstate/metadata.xml
+++ b/x11-misc/xssstate/metadata.xml
@@ -1,8 +1,8 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-
-desktop-m...@gentoo.org
-Gentoo Desktop Miscellaneous Project
-
+   
+   gyakov...@gentoo.org
+   Georgy Yakovlev
+   
 



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xssstate/

2017-08-31 Thread Jeroen Roovers
commit: 6ce8f86ed8983bf2abd54a27a9d6ce9f3c0aeb58
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Thu Aug 31 10:09:19 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Thu Aug 31 10:09:19 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ce8f86e

x11-misc/xssstate: Switch to HTTPS.

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 x11-misc/xssstate/xssstate-1.1.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/x11-misc/xssstate/xssstate-1.1.ebuild 
b/x11-misc/xssstate/xssstate-1.1.ebuild
index e6267b03d3f..cda0b3adfc2 100644
--- a/x11-misc/xssstate/xssstate-1.1.ebuild
+++ b/x11-misc/xssstate/xssstate-1.1.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
 inherit eutils toolchain-funcs
 
 DESCRIPTION="A simple tool to retrieve the X screensaver state"
-HOMEPAGE="http://tools.suckless.org/x/xssstate;
-SRC_URI="http://dl.suckless.org/tools/${P}.tar.gz;
+HOMEPAGE="https://tools.suckless.org/x/xssstate;
+SRC_URI="https://dl.suckless.org/tools/${P}.tar.gz;
 
 LICENSE="MIT"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xssstate/

2016-05-08 Thread Jeroen Roovers
commit: ff7aea3a549a5fb5d400ba0301ed92d985457019
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sun May  8 09:08:41 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sun May  8 09:08:41 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff7aea3a

x11-misc/xssstate: Update HOMEPAGE.

Package-Manager: portage-2.2.28

 x11-misc/xssstate/xssstate-1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/xssstate/xssstate-1.1.ebuild 
b/x11-misc/xssstate/xssstate-1.1.ebuild
index 460229e..702ecd0 100644
--- a/x11-misc/xssstate/xssstate-1.1.ebuild
+++ b/x11-misc/xssstate/xssstate-1.1.ebuild
@@ -6,7 +6,7 @@ EAPI=5
 inherit eutils toolchain-funcs
 
 DESCRIPTION="A simple tool to retrieve the X screensaver state"
-HOMEPAGE="http://tools.suckless.org/xssstate;
+HOMEPAGE="http://tools.suckless.org/x/xssstate;
 SRC_URI="http://dl.suckless.org/tools/${P}.tar.gz;
 
 LICENSE="MIT"