[gentoo-commits] repo/proj/guru:master commit in: gui-wm/dwl/

2023-09-25 Thread Florian Schmaus
commit: 2017a5d79749a1fddb75939d6eb7e8ba45777bcd
Author: Leonardo Hernández Hernández  proton  me>
AuthorDate: Sun Sep 24 17:55:55 2023 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Sun Sep 24 19:07:26 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2017a5d7

gui-wm/dwl: add maintainer description (for myself)

Signed-off-by: Leonardo Hernández Hernández  proton.me>

 gui-wm/dwl/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gui-wm/dwl/metadata.xml b/gui-wm/dwl/metadata.xml
index edea311e77..b8f3da9cf9 100644
--- a/gui-wm/dwl/metadata.xml
+++ b/gui-wm/dwl/metadata.xml
@@ -4,6 +4,7 @@
 
 leohdz...@proton.me
 Leonardo Hernández Hernández
+Upstream Maintainer (please CC on bugs)
 
 
 svdm-gen...@protonmail.com



[gentoo-commits] repo/proj/guru:master commit in: gui-wm/dwl/, gui-wm/dwl/files/

2023-09-25 Thread Florian Schmaus
commit: d8685c86220f11451d49336c7eae2fb3f38b45fa
Author: Leonardo Hernández Hernández  proton  me>
AuthorDate: Sun Sep 24 20:46:28 2023 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Sun Sep 24 20:46:56 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d8685c86

gui-wm/dwl: treeclean, moved to ::gentoo

Signed-off-by: Leonardo Hernández Hernández  proton.me>

 gui-wm/dwl/Manifest   |  2 --
 gui-wm/dwl/dwl-0.3.1.ebuild   | 50 --
 gui-wm/dwl/dwl-0.4-r2.ebuild  | 83 ---
 gui-wm/dwl/dwl--r1.ebuild | 74 --
 gui-wm/dwl/dwl-.ebuild| 74 --
 gui-wm/dwl/files/dwl.desktop  |  7 
 gui-wm/dwl/metadata.xml   | 20 ---
 7 files changed, 310 deletions(-)

diff --git a/gui-wm/dwl/Manifest b/gui-wm/dwl/Manifest
deleted file mode 100644
index f1202584c5..00
--- a/gui-wm/dwl/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST dwl-0.3.1.tar.gz 51347 BLAKE2B 
754dcf17de405f4a3f69478444fe46199f4e67fd7a7801e02131676e23e7324b49d6f31da629a6ab977262a210b95adcb8407c37b81031aac3ee6d2427f27a10
 SHA512 
c6bcaf26d6f67f7712f907331c947afc84a5c5b990f5ec6d568d65f624a2cafd1617055ed514cd7e8a331abcd4c37ed574672dcbeeb890607d8eb38e7a304215
-DIST dwl-0.4.tar.gz 55527 BLAKE2B 
a4c6d763574f2bf88db959a4730447874de61d4d868d12285feebc121204c4dbda82ab3cfef791999e138898daa5564d295d4943aff015d91d62d9c9ade6d005
 SHA512 
6e15e05001e6469d13bef2d532980585d57de55c8feb461a7c25a76d7cdaee022785485faca02cd9d1214457fbeb1bec0eb652700ba0ddccca4aa780df0046b2

diff --git a/gui-wm/dwl/dwl-0.3.1.ebuild b/gui-wm/dwl/dwl-0.3.1.ebuild
deleted file mode 100644
index b5ee696160..00
--- a/gui-wm/dwl/dwl-0.3.1.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 2021-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit flag-o-matic savedconfig toolchain-funcs desktop
-
-DESCRIPTION="dwm for Wayland"
-HOMEPAGE="https://github.com/djpohly/dwl";
-SRC_URI="https://github.com/djpohly/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="CC0-1.0 GPL-3+ MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="X"
-
-RDEPEND="
-   dev-libs/libinput
-   dev-libs/wayland
-   gui-libs/wlroots:0/15[X(-)?]
-   x11-libs/libxkbcommon
-   X? ( x11-libs/libxcb )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   dev-libs/wayland-protocols
-   dev-util/wayland-scanner
-   virtual/pkgconfig
-"
-
-src_prepare() {
-   default
-
-   restore_config config.h
-}
-
-src_configure() {
-   use X && append-cppflags -DXWAYLAND
-   tc-export CC
-}
-
-src_install() {
-   emake PREFIX="${ED}/usr" install
-
-   domenu "${FILESDIR}"/dwl.desktop
-
-   einstalldocs
-
-   save_config config.h
-}

diff --git a/gui-wm/dwl/dwl-0.4-r2.ebuild b/gui-wm/dwl/dwl-0.4-r2.ebuild
deleted file mode 100644
index c9095c4d87..00
--- a/gui-wm/dwl/dwl-0.4-r2.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 2022-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit flag-o-matic savedconfig toolchain-funcs
-
-WLROOTS_SLOT="0/16"
-if [[ ${PV} == * ]]; then
-   EGIT_REPO_URI="https://github.com/djpohly/dwl";
-   inherit git-r3
-
-   # -r0: main (latest wlroots release)
-   # -r1: wlroots-next (wlroots-)
-   case ${PVR} in
-   )
-   EGIT_BRANCH=main
-   ;;
-   -r1)
-   EGIT_BRANCH=wlroots-next
-   WLROOTS_SLOT="0/"
-   ;;
-   esac
-else
-   SRC_URI="https://github.com/djpohly/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~x86"
-fi
-
-DESCRIPTION="dwm for Wayland"
-HOMEPAGE="https://github.com/djpohly/dwl";
-
-LICENSE="CC0-1.0 GPL-3+ MIT"
-SLOT="0"
-IUSE="X"
-
-RDEPEND="
-   dev-libs/libinput:=
-   dev-libs/wayland
-   gui-libs/wlroots:${WLROOTS_SLOT}[X(-)?]
-   x11-libs/libxkbcommon
-   X? (
-   x11-libs/libxcb:=
-   x11-libs/xcb-util-wm
-   )
-"
-# uses 
-DEPEND="
-   ${RDEPEND}
-   sys-kernel/linux-headers
-"
-BDEPEND="
-   dev-libs/wayland-protocols
-   dev-util/wayland-scanner
-   virtual/pkgconfig
-"
-
-src_prepare() {
-   restore_config config.h
-
-   default
-}
-
-src_configure() {
-   sed -i "s:/local::g" config.mk || die
-
-   sed -i "s:pkg-config:$(tc-getPKG_CONFIG):g" config.mk || die
-
-   tc-export CC
-
-   if use X; then
-   append-cppflags '-DXWAYLAND'
-   append-libs '-lxcb' '-lxcb-icccm'
-   fi
-}
-
-src_install() {
-   default
-
-   insinto /usr/share/wayland-sessions
-   doins "${FILESDIR}"/dwl.desktop
-
-   save_config config.h
-}

diff --git a/gui-wm/dwl/dwl--r1.ebuild b/gui-wm/dwl/dwl--r1.eb

[gentoo-commits] repo/proj/guru:master commit in: gui-wm/dwl/

2023-09-25 Thread Florian Schmaus
commit: dd245c75ee7443db9b0c1e070d3b31d069ef2c8d
Author: Leonardo Hernández Hernández  proton  me>
AuthorDate: Sun Sep 24 17:50:28 2023 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Sun Sep 24 19:07:26 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=dd245c75

gui-wm/dwl: add missing dependency on linux-headers

Signed-off-by: Leonardo Hernández Hernández  proton.me>

 gui-wm/dwl/{dwl-0.4-r1.ebuild => dwl-0.4-r2.ebuild} | 6 +-
 gui-wm/dwl/dwl--r1.ebuild   | 7 ++-
 gui-wm/dwl/dwl-.ebuild  | 7 ++-
 3 files changed, 17 insertions(+), 3 deletions(-)

diff --git a/gui-wm/dwl/dwl-0.4-r1.ebuild b/gui-wm/dwl/dwl-0.4-r2.ebuild
similarity index 94%
rename from gui-wm/dwl/dwl-0.4-r1.ebuild
rename to gui-wm/dwl/dwl-0.4-r2.ebuild
index f7a7e6fab1..c9095c4d87 100644
--- a/gui-wm/dwl/dwl-0.4-r1.ebuild
+++ b/gui-wm/dwl/dwl-0.4-r2.ebuild
@@ -43,7 +43,11 @@ RDEPEND="
x11-libs/xcb-util-wm
)
 "
-DEPEND="${RDEPEND}"
+# uses 
+DEPEND="
+   ${RDEPEND}
+   sys-kernel/linux-headers
+"
 BDEPEND="
dev-libs/wayland-protocols
dev-util/wayland-scanner

diff --git a/gui-wm/dwl/dwl--r1.ebuild b/gui-wm/dwl/dwl--r1.ebuild
index f47bb7c415..69c568ba6f 100644
--- a/gui-wm/dwl/dwl--r1.ebuild
+++ b/gui-wm/dwl/dwl--r1.ebuild
@@ -43,7 +43,12 @@ RDEPEND="
x11-libs/xcb-util-wm
)
 "
-DEPEND="${RDEPEND}"
+
+# uses 
+DEPEND="
+   ${RDEPEND}
+   sys-kernel/linux-headers
+"
 BDEPEND="
>=dev-libs/wayland-protocols-1.32
dev-util/wayland-scanner

diff --git a/gui-wm/dwl/dwl-.ebuild b/gui-wm/dwl/dwl-.ebuild
index 2b5d46c788..1f9febd575 100644
--- a/gui-wm/dwl/dwl-.ebuild
+++ b/gui-wm/dwl/dwl-.ebuild
@@ -43,7 +43,12 @@ RDEPEND="
x11-libs/xcb-util-wm
)
 "
-DEPEND="${RDEPEND}"
+
+# uses 
+DEPEND="
+   ${RDEPEND}
+   sys-kernel/linux-headers
+"
 BDEPEND="
dev-libs/wayland-protocols
dev-util/wayland-scanner



[gentoo-commits] repo/proj/guru:master commit in: gui-wm/dwl/

2023-09-25 Thread Florian Schmaus
commit: 8abe8b5829b25e8139d28c183c9756371e0cc6b2
Author: Leonardo Hernández Hernández  proton  me>
AuthorDate: Sun Sep 24 17:41:27 2023 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Sun Sep 24 19:07:25 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8abe8b58

gui-wm/dwl: fix LICENSE

Signed-off-by: Leonardo Hernández Hernández  proton.me>

 gui-wm/dwl/dwl-0.3.1.ebuild   | 2 +-
 gui-wm/dwl/dwl-0.4-r1.ebuild  | 2 +-
 gui-wm/dwl/dwl--r1.ebuild | 2 +-
 gui-wm/dwl/dwl-.ebuild| 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/gui-wm/dwl/dwl-0.3.1.ebuild b/gui-wm/dwl/dwl-0.3.1.ebuild
index 8438f673a7..b5ee696160 100644
--- a/gui-wm/dwl/dwl-0.3.1.ebuild
+++ b/gui-wm/dwl/dwl-0.3.1.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="dwm for Wayland"
 HOMEPAGE="https://github.com/djpohly/dwl";
 SRC_URI="https://github.com/djpohly/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
-LICENSE="CC0-1.0 GPL-3 MIT"
+LICENSE="CC0-1.0 GPL-3+ MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="X"

diff --git a/gui-wm/dwl/dwl-0.4-r1.ebuild b/gui-wm/dwl/dwl-0.4-r1.ebuild
index a7cb0860f4..e2dc6b7893 100644
--- a/gui-wm/dwl/dwl-0.4-r1.ebuild
+++ b/gui-wm/dwl/dwl-0.4-r1.ebuild
@@ -30,7 +30,7 @@ fi
 DESCRIPTION="dwm for Wayland"
 HOMEPAGE="https://github.com/djpohly/dwl";
 
-LICENSE="CC0-1.0 GPL-3 MIT"
+LICENSE="CC0-1.0 GPL-3+ MIT"
 SLOT="0"
 IUSE="X"
 

diff --git a/gui-wm/dwl/dwl--r1.ebuild b/gui-wm/dwl/dwl--r1.ebuild
index 71b919a82b..f201ca4b4d 100644
--- a/gui-wm/dwl/dwl--r1.ebuild
+++ b/gui-wm/dwl/dwl--r1.ebuild
@@ -30,7 +30,7 @@ fi
 DESCRIPTION="dwm for Wayland"
 HOMEPAGE="https://github.com/djpohly/dwl";
 
-LICENSE="CC0-1.0 GPL-3 MIT"
+LICENSE="CC0-1.0 GPL-3+ MIT"
 SLOT="0"
 IUSE="X"
 

diff --git a/gui-wm/dwl/dwl-.ebuild b/gui-wm/dwl/dwl-.ebuild
index a7cb0860f4..e2dc6b7893 100644
--- a/gui-wm/dwl/dwl-.ebuild
+++ b/gui-wm/dwl/dwl-.ebuild
@@ -30,7 +30,7 @@ fi
 DESCRIPTION="dwm for Wayland"
 HOMEPAGE="https://github.com/djpohly/dwl";
 
-LICENSE="CC0-1.0 GPL-3 MIT"
+LICENSE="CC0-1.0 GPL-3+ MIT"
 SLOT="0"
 IUSE="X"
 



[gentoo-commits] repo/proj/guru:master commit in: gui-wm/dwl/

2023-09-25 Thread Florian Schmaus
commit: 33255e52774e58107ef48bd339daa4c650ed2c4d
Author: Leonardo Hernández Hernández  proton  me>
AuthorDate: Sun Sep 24 17:47:24 2023 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Sun Sep 24 19:07:25 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=33255e52

gui-wm/dwl: simplify ebuilds

also use the desktop file provided by upstream

Signed-off-by: Leonardo Hernández Hernández  proton.me>

 gui-wm/dwl/dwl-0.4-r1.ebuild  |  3 +--
 gui-wm/dwl/dwl--r1.ebuild | 29 +
 gui-wm/dwl/dwl-.ebuild| 29 +
 3 files changed, 19 insertions(+), 42 deletions(-)

diff --git a/gui-wm/dwl/dwl-0.4-r1.ebuild b/gui-wm/dwl/dwl-0.4-r1.ebuild
index e2dc6b7893..f7a7e6fab1 100644
--- a/gui-wm/dwl/dwl-0.4-r1.ebuild
+++ b/gui-wm/dwl/dwl-0.4-r1.ebuild
@@ -5,6 +5,7 @@ EAPI=8
 
 inherit flag-o-matic savedconfig toolchain-funcs
 
+WLROOTS_SLOT="0/16"
 if [[ ${PV} == * ]]; then
EGIT_REPO_URI="https://github.com/djpohly/dwl";
inherit git-r3
@@ -14,7 +15,6 @@ if [[ ${PV} == * ]]; then
case ${PVR} in
)
EGIT_BRANCH=main
-   WLROOTS_SLOT="0/16"
;;
-r1)
EGIT_BRANCH=wlroots-next
@@ -22,7 +22,6 @@ if [[ ${PV} == * ]]; then
;;
esac
 else
-   WLROOTS_SLOT="0/16"
SRC_URI="https://github.com/djpohly/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
 fi

diff --git a/gui-wm/dwl/dwl--r1.ebuild b/gui-wm/dwl/dwl--r1.ebuild
index f201ca4b4d..f47bb7c415 100644
--- a/gui-wm/dwl/dwl--r1.ebuild
+++ b/gui-wm/dwl/dwl--r1.ebuild
@@ -3,18 +3,18 @@
 
 EAPI=8
 
-inherit flag-o-matic savedconfig toolchain-funcs
+inherit savedconfig toolchain-funcs
 
-if [[ ${PV} == * ]]; then
+WLROOTS_SLOT="0/16"
+if [[ ${PV} == ** ]]; then
EGIT_REPO_URI="https://github.com/djpohly/dwl";
inherit git-r3
 
-   # -r0: main (latest wlroots release)
+   # -r0: main (latest stable wlroots release)
# -r1: wlroots-next (wlroots-)
case ${PVR} in
)
EGIT_BRANCH=main
-   WLROOTS_SLOT="0/16"
;;
-r1)
EGIT_BRANCH=wlroots-next
@@ -22,7 +22,6 @@ if [[ ${PV} == * ]]; then
;;
esac
 else
-   WLROOTS_SLOT="0/16"
SRC_URI="https://github.com/djpohly/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
 fi
@@ -57,24 +56,14 @@ src_prepare() {
default
 }
 
-src_configure() {
-   sed -i "s:/local::g" config.mk || die
-
-   sed -i "s:pkg-config:$(tc-getPKG_CONFIG):g" config.mk || die
-
-   tc-export CC
-
-   if use X; then
-   append-cppflags '-DXWAYLAND'
-   append-libs '-lxcb' '-lxcb-icccm'
-   fi
+src_compile() {
+   emake PKG_CONFIG="$(tc-getPKG_CONFIG)" CC="$(tc-getCC)" \
+   XWAYLAND="$(usex X -DXWAYLAND "")" XLIBS="$(usex X "xcb 
xcb-icccm" "")" dwl
 }
 
 src_install() {
-   default
-
-   insinto /usr/share/wayland-sessions
-   doins "${FILESDIR}"/dwl.desktop
+   emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
+   dodoc README.md
 
save_config config.h
 }

diff --git a/gui-wm/dwl/dwl-.ebuild b/gui-wm/dwl/dwl-.ebuild
index e2dc6b7893..2b5d46c788 100644
--- a/gui-wm/dwl/dwl-.ebuild
+++ b/gui-wm/dwl/dwl-.ebuild
@@ -3,18 +3,18 @@
 
 EAPI=8
 
-inherit flag-o-matic savedconfig toolchain-funcs
+inherit savedconfig toolchain-funcs
 
-if [[ ${PV} == * ]]; then
+WLROOTS_SLOT="0/16"
+if [[ ${PV} == ** ]]; then
EGIT_REPO_URI="https://github.com/djpohly/dwl";
inherit git-r3
 
-   # -r0: main (latest wlroots release)
+   # -r0: main (latest stable wlroots release)
# -r1: wlroots-next (wlroots-)
case ${PVR} in
)
EGIT_BRANCH=main
-   WLROOTS_SLOT="0/16"
;;
-r1)
EGIT_BRANCH=wlroots-next
@@ -22,7 +22,6 @@ if [[ ${PV} == * ]]; then
;;
esac
 else
-   WLROOTS_SLOT="0/16"
SRC_URI="https://github.com/djpohly/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
 fi
@@ -57,24 +56,14 @@ src_prepare() {
default
 }
 
-src_configure() {
-   sed -i "s:/local::g" config.mk || die
-
-   sed -i "s:pkg-config:$(tc-getPKG_CONFIG):g" config.mk || die
-
-   tc-export CC
-
-   if use X; then
-   append-cppflags '-DXWAYLAND'
-   append-libs '-lxcb' '-lxcb-icccm'
-   fi
+src_compile() {
+   emake PKG_CONFIG="$(tc-getPKG_CONFIG)" CC="$(tc-getCC)" \
+   XWAYLAND="$(usex X -

[gentoo-commits] repo/proj/guru:master commit in: gui-wm/dwl/

2023-07-24 Thread Viorel Munteanu
commit: 2e13554e3c2e4747b1c7a8d82765816e17472e59
Author: Leonardo Hernández Hernández  proton  me>
AuthorDate: Mon Jul 24 02:04:48 2023 +
Commit: Viorel Munteanu  gentoo  org>
CommitDate: Mon Jul 24 02:05:15 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2e13554e

gui-wm/dwl: sync live

Signed-off-by: Leonardo Hernández Hernández  proton.me>

 gui-wm/dwl/dwl--r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gui-wm/dwl/dwl--r1.ebuild b/gui-wm/dwl/dwl--r1.ebuild
index a7cb0860f..71b919a82 100644
--- a/gui-wm/dwl/dwl--r1.ebuild
+++ b/gui-wm/dwl/dwl--r1.ebuild
@@ -46,7 +46,7 @@ RDEPEND="
 "
 DEPEND="${RDEPEND}"
 BDEPEND="
-   dev-libs/wayland-protocols
+   >=dev-libs/wayland-protocols-1.32
dev-util/wayland-scanner
virtual/pkgconfig
 "



[gentoo-commits] repo/proj/guru:master commit in: gui-wm/dwl/

2022-12-31 Thread Florian Schmaus
commit: 04622f22b637868fe81bf6f773e33ebe025eedc2
Author: Leonardo Hernández Hernández  outlook  com>
AuthorDate: Fri Dec 30 21:03:29 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Fri Dec 30 21:04:31 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=04622f22

gui-wm/dwl: set WLROOTS_SLOT for non-live

Signed-off-by: Leonardo Hernández Hernández  outlook.com>

 gui-wm/dwl/dwl--r1.ebuild | 1 +
 gui-wm/dwl/dwl-.ebuild| 1 +
 2 files changed, 2 insertions(+)

diff --git a/gui-wm/dwl/dwl--r1.ebuild b/gui-wm/dwl/dwl--r1.ebuild
index b456ff6b8..ef6dbf4f6 100644
--- a/gui-wm/dwl/dwl--r1.ebuild
+++ b/gui-wm/dwl/dwl--r1.ebuild
@@ -22,6 +22,7 @@ if [[ ${PV} == * ]]; then
;;
esac
 else
+   WLROOTS_SLOT="0/16"
SRC_URI="https://github.com/djpohly/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
 fi

diff --git a/gui-wm/dwl/dwl-.ebuild b/gui-wm/dwl/dwl-.ebuild
index b456ff6b8..ef6dbf4f6 100644
--- a/gui-wm/dwl/dwl-.ebuild
+++ b/gui-wm/dwl/dwl-.ebuild
@@ -22,6 +22,7 @@ if [[ ${PV} == * ]]; then
;;
esac
 else
+   WLROOTS_SLOT="0/16"
SRC_URI="https://github.com/djpohly/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
 fi



[gentoo-commits] repo/proj/guru:master commit in: gui-wm/dwl/

2022-12-31 Thread Florian Schmaus
commit: baa6eac6641648bce493dfba617cd50ebad445f6
Author: Leonardo Hernández Hernández  outlook  com>
AuthorDate: Fri Dec 30 21:05:28 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Fri Dec 30 21:05:28 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=baa6eac6

gui-wm/dwl: add 0.4

Signed-off-by: Leonardo Hernández Hernández  outlook.com>

 gui-wm/dwl/Manifest   |  1 +
 gui-wm/dwl/dwl-0.4.ebuild | 78 +++
 2 files changed, 79 insertions(+)

diff --git a/gui-wm/dwl/Manifest b/gui-wm/dwl/Manifest
index 2d6894869..ddac0c615 100644
--- a/gui-wm/dwl/Manifest
+++ b/gui-wm/dwl/Manifest
@@ -1,2 +1,3 @@
 DIST dwl-0.3.1.tar.gz 51347 BLAKE2B 
754dcf17de405f4a3f69478444fe46199f4e67fd7a7801e02131676e23e7324b49d6f31da629a6ab977262a210b95adcb8407c37b81031aac3ee6d2427f27a10
 SHA512 
c6bcaf26d6f67f7712f907331c947afc84a5c5b990f5ec6d568d65f624a2cafd1617055ed514cd7e8a331abcd4c37ed574672dcbeeb890607d8eb38e7a304215
+DIST dwl-0.4.tar.gz 55527 BLAKE2B 
a4c6d763574f2bf88db959a4730447874de61d4d868d12285feebc121204c4dbda82ab3cfef791999e138898daa5564d295d4943aff015d91d62d9c9ade6d005
 SHA512 
6e15e05001e6469d13bef2d532980585d57de55c8feb461a7c25a76d7cdaee022785485faca02cd9d1214457fbeb1bec0eb652700ba0ddccca4aa780df0046b2
 DIST dwl-0.4_rc2.tar.gz 54093 BLAKE2B 
13ae6c071bd4fc8202101c689983e232a8af4ff1f83142a44954998a709307c447a611d8dd46a3534baf41e64a3f7ed4d6fa548b1426212114a463cc29f4e94a
 SHA512 
5f95dac99b9fbec971366f55c7a41f2a0fcff7e321c52a4afe04dd17465cde063c37aee677e833c937169782ddfb59fde66eb3c556171d9d80205837a806c7ee

diff --git a/gui-wm/dwl/dwl-0.4.ebuild b/gui-wm/dwl/dwl-0.4.ebuild
new file mode 100644
index 0..ef6dbf4f6
--- /dev/null
+++ b/gui-wm/dwl/dwl-0.4.ebuild
@@ -0,0 +1,78 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic savedconfig toolchain-funcs
+
+if [[ ${PV} == * ]]; then
+   EGIT_REPO_URI="https://github.com/djpohly/dwl";
+   inherit git-r3
+
+   # -r0: main (latest wlroots release)
+   # -r1: wlroots-next (wlroots-)
+   case ${PVR} in
+   )
+   EGIT_BRANCH=main
+   WLROOTS_SLOT="0/16"
+   ;;
+   -r1)
+   EGIT_BRANCH=wlroots-next
+   WLROOTS_SLOT="0/"
+   ;;
+   esac
+else
+   WLROOTS_SLOT="0/16"
+   SRC_URI="https://github.com/djpohly/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="dwm for Wayland"
+HOMEPAGE="https://github.com/djpohly/dwl";
+
+LICENSE="CC0-1.0 GPL-3 MIT"
+SLOT="0"
+IUSE="X"
+
+RDEPEND="
+   dev-libs/libinput:=
+   dev-libs/wayland
+   gui-libs/wlroots:${WLROOTS_SLOT}[X(-)?]
+   x11-libs/libxkbcommon
+   X? (
+   x11-libs/libxcb:=
+   x11-libs/xcb-util-wm
+   )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   dev-libs/wayland-protocols
+   dev-util/wayland-scanner
+   virtual/pkgconfig
+"
+
+src_prepare() {
+   restore_config config.h
+
+   default
+}
+
+src_configure() {
+   sed -i "s:/local::g" config.mk || die
+
+   sed -i "s:pkg-config:$(tc-getPKG_CONFIG):g" config.mk || die
+
+   if use X; then
+   append-cppflags '-DXWAYLAND'
+   append-libs '-lxcb' '-lxcb-icccm'
+   fi
+}
+
+src_install() {
+   default
+
+   insinto /usr/share/wayland-sessions
+   doins "${FILESDIR}"/dwl.desktop
+
+   save_config config.h
+}



[gentoo-commits] repo/proj/guru:master commit in: gui-wm/dwl/

2022-12-05 Thread Viorel Munteanu
commit: 9363aa3abceb27e9cf4ff9b41de9193d6f10b315
Author: Leonardo Hernández Hernández  outlook  com>
AuthorDate: Fri Dec  2 18:10:58 2022 +
Commit: Viorel Munteanu  gentoo  org>
CommitDate: Fri Dec  2 18:10:58 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9363aa3a

gui-wm/dwl: new live ebuild (like dev-vcs/git)

Signed-off-by: Leonardo Hernández Hernández  outlook.com>

 gui-wm/dwl/{dwl-.ebuild => dwl--r1.ebuild} | 27 ++
 gui-wm/dwl/dwl-.ebuild | 27 ++
 2 files changed, 46 insertions(+), 8 deletions(-)

diff --git a/gui-wm/dwl/dwl-.ebuild b/gui-wm/dwl/dwl--r1.ebuild
similarity index 61%
copy from gui-wm/dwl/dwl-.ebuild
copy to gui-wm/dwl/dwl--r1.ebuild
index 0b7bde09f..b456ff6b8 100644
--- a/gui-wm/dwl/dwl-.ebuild
+++ b/gui-wm/dwl/dwl--r1.ebuild
@@ -3,21 +3,40 @@
 
 EAPI=8
 
-inherit flag-o-matic git-r3 savedconfig toolchain-funcs
+inherit flag-o-matic savedconfig toolchain-funcs
+
+if [[ ${PV} == * ]]; then
+   EGIT_REPO_URI="https://github.com/djpohly/dwl";
+   inherit git-r3
+
+   # -r0: main (latest wlroots release)
+   # -r1: wlroots-next (wlroots-)
+   case ${PVR} in
+   )
+   EGIT_BRANCH=main
+   WLROOTS_SLOT="0/16"
+   ;;
+   -r1)
+   EGIT_BRANCH=wlroots-next
+   WLROOTS_SLOT="0/"
+   ;;
+   esac
+else
+   SRC_URI="https://github.com/djpohly/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86"
+fi
 
 DESCRIPTION="dwm for Wayland"
 HOMEPAGE="https://github.com/djpohly/dwl";
-EGIT_REPO_URI="https://github.com/djpohly/dwl";
 
 LICENSE="CC0-1.0 GPL-3 MIT"
 SLOT="0"
-KEYWORDS=""
 IUSE="X"
 
 RDEPEND="
dev-libs/libinput:=
dev-libs/wayland
-   gui-libs/wlroots:0:16[X(-)?]
+   gui-libs/wlroots:${WLROOTS_SLOT}[X(-)?]
x11-libs/libxkbcommon
X? (
x11-libs/libxcb:=

diff --git a/gui-wm/dwl/dwl-.ebuild b/gui-wm/dwl/dwl-.ebuild
index 0b7bde09f..b456ff6b8 100644
--- a/gui-wm/dwl/dwl-.ebuild
+++ b/gui-wm/dwl/dwl-.ebuild
@@ -3,21 +3,40 @@
 
 EAPI=8
 
-inherit flag-o-matic git-r3 savedconfig toolchain-funcs
+inherit flag-o-matic savedconfig toolchain-funcs
+
+if [[ ${PV} == * ]]; then
+   EGIT_REPO_URI="https://github.com/djpohly/dwl";
+   inherit git-r3
+
+   # -r0: main (latest wlroots release)
+   # -r1: wlroots-next (wlroots-)
+   case ${PVR} in
+   )
+   EGIT_BRANCH=main
+   WLROOTS_SLOT="0/16"
+   ;;
+   -r1)
+   EGIT_BRANCH=wlroots-next
+   WLROOTS_SLOT="0/"
+   ;;
+   esac
+else
+   SRC_URI="https://github.com/djpohly/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86"
+fi
 
 DESCRIPTION="dwm for Wayland"
 HOMEPAGE="https://github.com/djpohly/dwl";
-EGIT_REPO_URI="https://github.com/djpohly/dwl";
 
 LICENSE="CC0-1.0 GPL-3 MIT"
 SLOT="0"
-KEYWORDS=""
 IUSE="X"
 
 RDEPEND="
dev-libs/libinput:=
dev-libs/wayland
-   gui-libs/wlroots:0:16[X(-)?]
+   gui-libs/wlroots:${WLROOTS_SLOT}[X(-)?]
x11-libs/libxkbcommon
X? (
x11-libs/libxcb:=



[gentoo-commits] repo/proj/guru:master commit in: gui-wm/dwl/

2022-12-05 Thread Viorel Munteanu
commit: c5981e5883dbef471eaf1c931c62607b3dc2ca85
Author: Leonardo Hernández Hernández  outlook  com>
AuthorDate: Fri Dec  2 18:04:26 2022 +
Commit: Viorel Munteanu  gentoo  org>
CommitDate: Fri Dec  2 18:06:12 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c5981e58

gui-wm/dwl: sync live

Signed-off-by: Leonardo Hernández Hernández  outlook.com>

 gui-wm/dwl/dwl-.ebuild | 9 ++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/gui-wm/dwl/dwl-.ebuild b/gui-wm/dwl/dwl-.ebuild
index b06ca0afe..0b7bde09f 100644
--- a/gui-wm/dwl/dwl-.ebuild
+++ b/gui-wm/dwl/dwl-.ebuild
@@ -17,9 +17,12 @@ IUSE="X"
 RDEPEND="
dev-libs/libinput:=
dev-libs/wayland
+   gui-libs/wlroots:0:16[X(-)?]
x11-libs/libxkbcommon
-   gui-libs/wlroots:0/15[X(-)?]
-   X? ( x11-libs/libxcb:= )
+   X? (
+   x11-libs/libxcb:=
+   x11-libs/xcb-util-wm
+   )
 "
 DEPEND="${RDEPEND}"
 BDEPEND="
@@ -41,7 +44,7 @@ src_configure() {
 
if use X; then
append-cppflags '-DXWAYLAND'
-   append-libs '-lxcb'
+   append-libs '-lxcb' '-lxcb-icccm'
fi
 }
 



[gentoo-commits] repo/proj/guru:master commit in: gui-wm/dwl/

2022-09-09 Thread Ronny Gutbrod
commit: 358edb82132086a89b5f0ec2bb1d75cc18fc6475
Author: Leonardo Hernández Hernández  outlook  com>
AuthorDate: Fri Sep  9 02:12:57 2022 +
Commit: Ronny Gutbrod  tastytea  de>
CommitDate: Fri Sep  9 02:52:03 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=358edb82

gui-wm/dwl: fix libxcb dependency

also don't include LICENSE* into DOCS

Signed-off-by: Leonardo Hernández Hernández  outlook.com>

 gui-wm/dwl/dwl-.ebuild | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/gui-wm/dwl/dwl-.ebuild b/gui-wm/dwl/dwl-.ebuild
index ad416e20a..d44eaaac2 100644
--- a/gui-wm/dwl/dwl-.ebuild
+++ b/gui-wm/dwl/dwl-.ebuild
@@ -14,14 +14,12 @@ SLOT="0"
 KEYWORDS=""
 IUSE="X"
 
-DOCS=( LICENSE LICENSE.{dwm,sway,tinywl} README.md )
-
 RDEPEND="
dev-libs/libinput
dev-libs/wayland
-   x11-libs/libxcb
x11-libs/libxkbcommon
gui-libs/wlroots:0/15[X(-)?]
+   X? ( x11-libs/libxcb )
 "
 DEPEND="${RDEPEND}"
 BDEPEND="



[gentoo-commits] repo/proj/guru:master commit in: gui-wm/dwl/

2022-09-09 Thread Ronny Gutbrod
commit: 2e56c7bf53b4442b497726aeb6a532d500a02563
Author: Leonardo Hernández Hernández  outlook  com>
AuthorDate: Fri Sep  9 02:06:12 2022 +
Commit: Ronny Gutbrod  tastytea  de>
CommitDate: Fri Sep  9 02:52:03 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2e56c7bf

gui-wm/dwl: fix wlroots dependency

Signed-off-by: Leonardo Hernández Hernández  outlook.com>

 gui-wm/dwl/dwl-0.3.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gui-wm/dwl/dwl-0.3.1.ebuild b/gui-wm/dwl/dwl-0.3.1.ebuild
index 79989a7d8..1c27fa208 100644
--- a/gui-wm/dwl/dwl-0.3.1.ebuild
+++ b/gui-wm/dwl/dwl-0.3.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2021 Gentoo Authors
+# Copyright 2021-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -17,7 +17,7 @@ IUSE="X"
 RDEPEND="
dev-libs/libinput
dev-libs/wayland
-   >=gui-libs/wlroots-0.15.1[X(-)?]
+   gui-libs/wlroots:0/15[X(-)?]
x11-libs/libxcb
x11-libs/libxkbcommon
 "



[gentoo-commits] repo/proj/guru:master commit in: gui-wm/dwl/

2022-09-09 Thread Ronny Gutbrod
commit: 683ebd4495367a980dcdf547f51ddcb1b033fd3a
Author: Efe İzbudak  metu  edu  tr>
AuthorDate: Fri Sep  9 13:29:58 2022 +
Commit: Ronny Gutbrod  tastytea  de>
CommitDate: Fri Sep  9 13:32:26 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=683ebd44

gui-wm/dwl: fixed libxcb dependency

Copied off of version 

Signed-off-by: Efe İzbudak  metu.edu.tr>

 gui-wm/dwl/dwl-0.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gui-wm/dwl/dwl-0.3.1.ebuild b/gui-wm/dwl/dwl-0.3.1.ebuild
index 1c27fa208..8438f673a 100644
--- a/gui-wm/dwl/dwl-0.3.1.ebuild
+++ b/gui-wm/dwl/dwl-0.3.1.ebuild
@@ -18,8 +18,8 @@ RDEPEND="
dev-libs/libinput
dev-libs/wayland
gui-libs/wlroots:0/15[X(-)?]
-   x11-libs/libxcb
x11-libs/libxkbcommon
+   X? ( x11-libs/libxcb )
 "
 DEPEND="${RDEPEND}"
 BDEPEND="



[gentoo-commits] repo/proj/guru:master commit in: gui-wm/dwl/

2022-04-14 Thread Andrew Ammerlaan
commit: 05aee9b8e5d9db5b4d36457311a376f9fc170d92
Author: Dex Conner  danwin1210  de>
AuthorDate: Thu Apr 14 05:25:51 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Thu Apr 14 05:25:51 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=05aee9b8

gui-wm/dwl: drop 0.2.1, 0.3

Signed-off-by: Dex Conner  danwin1210.de>

 gui-wm/dwl/Manifest |  2 --
 gui-wm/dwl/dwl-0.2.1.ebuild | 51 -
 gui-wm/dwl/dwl-0.3.ebuild   | 50 
 3 files changed, 103 deletions(-)

diff --git a/gui-wm/dwl/Manifest b/gui-wm/dwl/Manifest
index 77bdfc71a..6da9d682f 100644
--- a/gui-wm/dwl/Manifest
+++ b/gui-wm/dwl/Manifest
@@ -1,3 +1 @@
-DIST dwl-0.2.1.tar.gz 49275 BLAKE2B 
e99acc86e937e288fbaf4532fc446d7b6820fec5316b8417824369a142481c67f3a2567733e2836b3dfeb88658f42c8df9db6d3283a3d23082451e868d4f8150
 SHA512 
caac92082c97d36a8f1ff3b3cf9762ee16e43595223acedb752646de9c78240718a4d118513e8314b0089f7073d6cea5d6a8313fd0d2b8f9d3b06b0d78af
 DIST dwl-0.3.1.tar.gz 51347 BLAKE2B 
754dcf17de405f4a3f69478444fe46199f4e67fd7a7801e02131676e23e7324b49d6f31da629a6ab977262a210b95adcb8407c37b81031aac3ee6d2427f27a10
 SHA512 
c6bcaf26d6f67f7712f907331c947afc84a5c5b990f5ec6d568d65f624a2cafd1617055ed514cd7e8a331abcd4c37ed574672dcbeeb890607d8eb38e7a304215
-DIST dwl-0.3.tar.gz 48523 BLAKE2B 
4064d01641f833a12a9b4cde304efded878a1037f19f477d765366cf41f16358576ddc6e210fb13d91f2acd4874395685aa680a150e034e5fe79ea8202ee3ab3
 SHA512 
2575c782df55e70f27db5b9ff50f8b47979354f4e9c1a6b37638221db13573790344996cc884e317f3738d848a4209257ae6abe5c173a556b8d2690391e04691

diff --git a/gui-wm/dwl/dwl-0.2.1.ebuild b/gui-wm/dwl/dwl-0.2.1.ebuild
deleted file mode 100644
index 285f36ac7..0
--- a/gui-wm/dwl/dwl-0.2.1.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit flag-o-matic savedconfig toolchain-funcs
-
-DESCRIPTION="dwm for Wayland"
-HOMEPAGE="https://github.com/djpohly/dwl";
-SRC_URI="https://github.com/djpohly/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="CC0-1.0 GPL-3 MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="X"
-
-RDEPEND="
-   dev-libs/libinput
-   dev-libs/wayland
-   gui-libs/wlroots[X(-)?]
-   x11-libs/libxcb
-   x11-libs/libxkbcommon
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   dev-libs/wayland-protocols
-   dev-util/wayland-scanner
-   virtual/pkgconfig
-"
-
-src_prepare() {
-   default
-
-   restore_config config.h
-}
-
-src_configure() {
-   use X && append-cppflags -DXWAYLAND
-   tc-export CC
-}
-
-src_install() {
-   emake PREFIX="${ED}/usr" install
-
-   insinto /usr/share/wayland-sessions
-   doins "${FILESDIR}"/dwl.desktop
-
-   einstalldocs
-
-   save_config config.h
-}

diff --git a/gui-wm/dwl/dwl-0.3.ebuild b/gui-wm/dwl/dwl-0.3.ebuild
deleted file mode 100644
index 79989a7d8..0
--- a/gui-wm/dwl/dwl-0.3.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit flag-o-matic savedconfig toolchain-funcs desktop
-
-DESCRIPTION="dwm for Wayland"
-HOMEPAGE="https://github.com/djpohly/dwl";
-SRC_URI="https://github.com/djpohly/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="CC0-1.0 GPL-3 MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="X"
-
-RDEPEND="
-   dev-libs/libinput
-   dev-libs/wayland
-   >=gui-libs/wlroots-0.15.1[X(-)?]
-   x11-libs/libxcb
-   x11-libs/libxkbcommon
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   dev-libs/wayland-protocols
-   dev-util/wayland-scanner
-   virtual/pkgconfig
-"
-
-src_prepare() {
-   default
-
-   restore_config config.h
-}
-
-src_configure() {
-   use X && append-cppflags -DXWAYLAND
-   tc-export CC
-}
-
-src_install() {
-   emake PREFIX="${ED}/usr" install
-
-   domenu "${FILESDIR}"/dwl.desktop
-
-   einstalldocs
-
-   save_config config.h
-}



[gentoo-commits] repo/proj/guru:master commit in: gui-wm/dwl/

2022-04-12 Thread Ronny Gutbrod
commit: 0db2605c3c2b83537a16885dbfb0716623b7ce60
Author: Dex Conner  danwin1210  de>
AuthorDate: Mon Apr 11 05:46:45 2022 +
Commit: Ronny Gutbrod  tastytea  de>
CommitDate: Mon Apr 11 05:46:45 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0db2605c

gui-wm/dwl: add 0.3.1

Signed-off-by: Dex Conner  danwin1210.de>

 gui-wm/dwl/Manifest |  1 +
 gui-wm/dwl/dwl-0.3.1.ebuild | 50 +
 2 files changed, 51 insertions(+)

diff --git a/gui-wm/dwl/Manifest b/gui-wm/dwl/Manifest
index 058421339..77bdfc71a 100644
--- a/gui-wm/dwl/Manifest
+++ b/gui-wm/dwl/Manifest
@@ -1,2 +1,3 @@
 DIST dwl-0.2.1.tar.gz 49275 BLAKE2B 
e99acc86e937e288fbaf4532fc446d7b6820fec5316b8417824369a142481c67f3a2567733e2836b3dfeb88658f42c8df9db6d3283a3d23082451e868d4f8150
 SHA512 
caac92082c97d36a8f1ff3b3cf9762ee16e43595223acedb752646de9c78240718a4d118513e8314b0089f7073d6cea5d6a8313fd0d2b8f9d3b06b0d78af
+DIST dwl-0.3.1.tar.gz 51347 BLAKE2B 
754dcf17de405f4a3f69478444fe46199f4e67fd7a7801e02131676e23e7324b49d6f31da629a6ab977262a210b95adcb8407c37b81031aac3ee6d2427f27a10
 SHA512 
c6bcaf26d6f67f7712f907331c947afc84a5c5b990f5ec6d568d65f624a2cafd1617055ed514cd7e8a331abcd4c37ed574672dcbeeb890607d8eb38e7a304215
 DIST dwl-0.3.tar.gz 48523 BLAKE2B 
4064d01641f833a12a9b4cde304efded878a1037f19f477d765366cf41f16358576ddc6e210fb13d91f2acd4874395685aa680a150e034e5fe79ea8202ee3ab3
 SHA512 
2575c782df55e70f27db5b9ff50f8b47979354f4e9c1a6b37638221db13573790344996cc884e317f3738d848a4209257ae6abe5c173a556b8d2690391e04691

diff --git a/gui-wm/dwl/dwl-0.3.1.ebuild b/gui-wm/dwl/dwl-0.3.1.ebuild
new file mode 100644
index 0..79989a7d8
--- /dev/null
+++ b/gui-wm/dwl/dwl-0.3.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic savedconfig toolchain-funcs desktop
+
+DESCRIPTION="dwm for Wayland"
+HOMEPAGE="https://github.com/djpohly/dwl";
+SRC_URI="https://github.com/djpohly/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="CC0-1.0 GPL-3 MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="X"
+
+RDEPEND="
+   dev-libs/libinput
+   dev-libs/wayland
+   >=gui-libs/wlroots-0.15.1[X(-)?]
+   x11-libs/libxcb
+   x11-libs/libxkbcommon
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   dev-libs/wayland-protocols
+   dev-util/wayland-scanner
+   virtual/pkgconfig
+"
+
+src_prepare() {
+   default
+
+   restore_config config.h
+}
+
+src_configure() {
+   use X && append-cppflags -DXWAYLAND
+   tc-export CC
+}
+
+src_install() {
+   emake PREFIX="${ED}/usr" install
+
+   domenu "${FILESDIR}"/dwl.desktop
+
+   einstalldocs
+
+   save_config config.h
+}



[gentoo-commits] repo/proj/guru:master commit in: gui-wm/dwl/

2022-04-10 Thread Andrew Ammerlaan
commit: b353baa46e72630c1f0cd45ac92d3accbaca20dc
Author: Dex Conner  danwin1210  de>
AuthorDate: Sat Apr  9 05:57:29 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sat Apr  9 05:57:29 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b353baa4

gui-wm/dwl: Replace doins with domenu

Signed-off-by: Dex Conner  danwin1210.de>

 gui-wm/dwl/dwl-0.3.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/gui-wm/dwl/dwl-0.3.ebuild b/gui-wm/dwl/dwl-0.3.ebuild
index 285f36ac7..6aaa4d363 100644
--- a/gui-wm/dwl/dwl-0.3.ebuild
+++ b/gui-wm/dwl/dwl-0.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit flag-o-matic savedconfig toolchain-funcs
+inherit flag-o-matic savedconfig toolchain-funcs desktop
 
 DESCRIPTION="dwm for Wayland"
 HOMEPAGE="https://github.com/djpohly/dwl";
@@ -42,8 +42,7 @@ src_configure() {
 src_install() {
emake PREFIX="${ED}/usr" install
 
-   insinto /usr/share/wayland-sessions
-   doins "${FILESDIR}"/dwl.desktop
+   domenu "${FILESDIR}"/dwl.desktop
 
einstalldocs
 



[gentoo-commits] repo/proj/guru:master commit in: gui-wm/dwl/

2022-04-10 Thread Andrew Ammerlaan
commit: 263f1e2754ab6b80293d01c8f84034f83911d1a9
Author: Dex Conner  danwin1210  de>
AuthorDate: Sat Apr  9 06:20:36 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sat Apr  9 06:20:36 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=263f1e27

gui-wm/dwl: Fix wlroots dependency version

Signed-off-by: Dex Conner  danwin1210.de>

 gui-wm/dwl/dwl-0.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gui-wm/dwl/dwl-0.3.ebuild b/gui-wm/dwl/dwl-0.3.ebuild
index 6aaa4d363..79989a7d8 100644
--- a/gui-wm/dwl/dwl-0.3.ebuild
+++ b/gui-wm/dwl/dwl-0.3.ebuild
@@ -17,7 +17,7 @@ IUSE="X"
 RDEPEND="
dev-libs/libinput
dev-libs/wayland
-   gui-libs/wlroots[X(-)?]
+   >=gui-libs/wlroots-0.15.1[X(-)?]
x11-libs/libxcb
x11-libs/libxkbcommon
 "



[gentoo-commits] repo/proj/guru:master commit in: gui-wm/dwl/

2022-04-07 Thread Ronny Gutbrod
commit: 75d9561ab351c62c4708840c5e94dc5d2e8d7c6d
Author: Dex Conner  danwin1210  de>
AuthorDate: Thu Apr  7 18:40:40 2022 +
Commit: Ronny Gutbrod  tastytea  de>
CommitDate: Thu Apr  7 18:40:40 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=75d9561a

gui-wm/dwl: add myself as a maintainer

Signed-off-by: Dex Conner  danwin1210.de>

 gui-wm/dwl/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/gui-wm/dwl/metadata.xml b/gui-wm/dwl/metadata.xml
index aac9766aa..48174678f 100644
--- a/gui-wm/dwl/metadata.xml
+++ b/gui-wm/dwl/metadata.xml
@@ -9,4 +9,8 @@
 svdm-gen...@protonmail.com
 Simon van der Maas
 
+
+cantcuckt...@danwin1210.de
+Dex Conner
+
 



[gentoo-commits] repo/proj/guru:master commit in: gui-wm/dwl/

2022-04-06 Thread Andrew Ammerlaan
commit: cc96a7e63f8df3f5827a205a12e5dcd2c94b67c2
Author: Dex Conner  danwin1210  de>
AuthorDate: Wed Apr  6 05:45:26 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Wed Apr  6 05:45:26 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cc96a7e6

gui-wm/dwl: add 0.3

Signed-off-by: Dex Conner  danwin1210.de>

 gui-wm/dwl/Manifest   |  1 +
 gui-wm/dwl/dwl-0.3.ebuild | 51 +++
 2 files changed, 52 insertions(+)

diff --git a/gui-wm/dwl/Manifest b/gui-wm/dwl/Manifest
index 619213fdf..058421339 100644
--- a/gui-wm/dwl/Manifest
+++ b/gui-wm/dwl/Manifest
@@ -1 +1,2 @@
 DIST dwl-0.2.1.tar.gz 49275 BLAKE2B 
e99acc86e937e288fbaf4532fc446d7b6820fec5316b8417824369a142481c67f3a2567733e2836b3dfeb88658f42c8df9db6d3283a3d23082451e868d4f8150
 SHA512 
caac92082c97d36a8f1ff3b3cf9762ee16e43595223acedb752646de9c78240718a4d118513e8314b0089f7073d6cea5d6a8313fd0d2b8f9d3b06b0d78af
+DIST dwl-0.3.tar.gz 48523 BLAKE2B 
4064d01641f833a12a9b4cde304efded878a1037f19f477d765366cf41f16358576ddc6e210fb13d91f2acd4874395685aa680a150e034e5fe79ea8202ee3ab3
 SHA512 
2575c782df55e70f27db5b9ff50f8b47979354f4e9c1a6b37638221db13573790344996cc884e317f3738d848a4209257ae6abe5c173a556b8d2690391e04691

diff --git a/gui-wm/dwl/dwl-0.3.ebuild b/gui-wm/dwl/dwl-0.3.ebuild
new file mode 100644
index 0..285f36ac7
--- /dev/null
+++ b/gui-wm/dwl/dwl-0.3.ebuild
@@ -0,0 +1,51 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic savedconfig toolchain-funcs
+
+DESCRIPTION="dwm for Wayland"
+HOMEPAGE="https://github.com/djpohly/dwl";
+SRC_URI="https://github.com/djpohly/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="CC0-1.0 GPL-3 MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="X"
+
+RDEPEND="
+   dev-libs/libinput
+   dev-libs/wayland
+   gui-libs/wlroots[X(-)?]
+   x11-libs/libxcb
+   x11-libs/libxkbcommon
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   dev-libs/wayland-protocols
+   dev-util/wayland-scanner
+   virtual/pkgconfig
+"
+
+src_prepare() {
+   default
+
+   restore_config config.h
+}
+
+src_configure() {
+   use X && append-cppflags -DXWAYLAND
+   tc-export CC
+}
+
+src_install() {
+   emake PREFIX="${ED}/usr" install
+
+   insinto /usr/share/wayland-sessions
+   doins "${FILESDIR}"/dwl.desktop
+
+   einstalldocs
+
+   save_config config.h
+}



[gentoo-commits] repo/proj/guru:master commit in: gui-wm/dwl/, gui-wm/dwl/files/

2021-06-26 Thread Haelwenn Monnier
commit: 8f2d32a64feee96b8dd76ca787533364df381dd8
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Sat Jun 26 00:46:22 2021 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Sat Jun 26 00:49:00 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8f2d32a6

gui-wm/dwl: savedconfig and use flag for Xwayland

Signed-off-by: Anna (cybertailor) Vyalkova  sysrq.in>

 gui-wm/dwl/dwl-0.2.1.ebuild  | 45 +---
 gui-wm/dwl/files/dwl.desktop |  7 +++
 2 files changed, 45 insertions(+), 7 deletions(-)

diff --git a/gui-wm/dwl/dwl-0.2.1.ebuild b/gui-wm/dwl/dwl-0.2.1.ebuild
index fbd1f9833..285f36ac7 100644
--- a/gui-wm/dwl/dwl-0.2.1.ebuild
+++ b/gui-wm/dwl/dwl-0.2.1.ebuild
@@ -3,18 +3,49 @@
 
 EAPI=7
 
+inherit flag-o-matic savedconfig toolchain-funcs
+
 DESCRIPTION="dwm for Wayland"
 HOMEPAGE="https://github.com/djpohly/dwl";
-SRC_URI="https://github.com/djpohly/dwl/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/djpohly/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
-LICENSE="GPL-3"
+LICENSE="CC0-1.0 GPL-3 MIT"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~x86"
+IUSE="X"
+
+RDEPEND="
+   dev-libs/libinput
+   dev-libs/wayland
+   gui-libs/wlroots[X(-)?]
+   x11-libs/libxcb
+   x11-libs/libxkbcommon
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   dev-libs/wayland-protocols
+   dev-util/wayland-scanner
+   virtual/pkgconfig
+"
 
-DEPEND="gui-libs/wlroots
-dev-libs/wayland-protocols"
-RDEPEND="${DEPEND}"
+src_prepare() {
+   default
+
+   restore_config config.h
+}
+
+src_configure() {
+   use X && append-cppflags -DXWAYLAND
+   tc-export CC
+}
 
 src_install() {
-   emake PREFIX="${D}"/usr install
+   emake PREFIX="${ED}/usr" install
+
+   insinto /usr/share/wayland-sessions
+   doins "${FILESDIR}"/dwl.desktop
+
+   einstalldocs
+
+   save_config config.h
 }

diff --git a/gui-wm/dwl/files/dwl.desktop b/gui-wm/dwl/files/dwl.desktop
new file mode 100644
index 0..343f5d4cd
--- /dev/null
+++ b/gui-wm/dwl/files/dwl.desktop
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Name=dwl
+Comment=dwm for Wayland
+Exec=/usr/bin/dwl
+TryExec=dwl
+Icon=
+Type=Application



[gentoo-commits] repo/proj/guru:master commit in: gui-wm/dwl/, gui-wm/dwl/files/

2021-02-19 Thread Michał Górny
commit: 4d49bc35a8ba636556dacee3d2a62036d378aa70
Author: Simon van der Maas  protonmail  com>
AuthorDate: Thu Feb 18 10:13:49 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Feb 18 10:13:49 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4d49bc35

gui-wm/dwl: fixed ebuild

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Simon van der Maas  protonmail.com>

 gui-wm/dwl/dwl-0.2.ebuild |  4 +++-
 gui-wm/dwl/files/dwl-0.2-prefix.patch | 11 ---
 2 files changed, 3 insertions(+), 12 deletions(-)

diff --git a/gui-wm/dwl/dwl-0.2.ebuild b/gui-wm/dwl/dwl-0.2.ebuild
index 415e0dd7..fbd1f983 100644
--- a/gui-wm/dwl/dwl-0.2.ebuild
+++ b/gui-wm/dwl/dwl-0.2.ebuild
@@ -15,4 +15,6 @@ DEPEND="gui-libs/wlroots
 dev-libs/wayland-protocols"
 RDEPEND="${DEPEND}"
 
-PATCHES=( "${FILESDIR}/${P}-prefix.patch" )
+src_install() {
+   emake PREFIX="${D}"/usr install
+}

diff --git a/gui-wm/dwl/files/dwl-0.2-prefix.patch 
b/gui-wm/dwl/files/dwl-0.2-prefix.patch
deleted file mode 100644
index 3020247b..
--- a/gui-wm/dwl/files/dwl-0.2-prefix.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff --git a/config.mk b/config.mk
-index cd4e821..bdb2687 100644
 a/config.mk
-+++ b/config.mk
-@@ -1,5 +1,5 @@
- # paths
--PREFIX = /usr/local
-+PREFIX = /var/tmp/portage/gui-wm/dwl-0.2/image
-
- # Default compile flags (overridable by environment)
- CFLAGS ?= -g -Wall -Wextra -Werror -Wno-unused-parameter -Wno-sign-compare 
-Wno-unused-function -Wno-unused-variable -Wdeclaration-after-statement



[gentoo-commits] repo/proj/guru:master commit in: gui-wm/dwl/

2021-02-19 Thread Michał Górny
commit: 60d7c03f6da3240b2d1b64f2689f2554c5d06d20
Author: Simon van der Maas  protonmail  com>
AuthorDate: Wed Feb 17 18:51:49 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Feb 17 18:52:16 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=60d7c03f

gui-wm/dwl: fixed ebuild

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Simon van der Maas  protonmail.com>

 gui-wm/dwl/dwl-0.2.ebuild | 6 +-
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/gui-wm/dwl/dwl-0.2.ebuild b/gui-wm/dwl/dwl-0.2.ebuild
index 1e332d95..415e0dd7 100644
--- a/gui-wm/dwl/dwl-0.2.ebuild
+++ b/gui-wm/dwl/dwl-0.2.ebuild
@@ -13,10 +13,6 @@ KEYWORDS="~amd64"
 
 DEPEND="gui-libs/wlroots
 dev-libs/wayland-protocols"
-
 RDEPEND="${DEPEND}"
 
-src_prepare() {
-   eapply "${FILESDIR}/${P}-prefix.patch"
-   eapply_user
-}
+PATCHES=( "${FILESDIR}/${P}-prefix.patch" )