From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4EF3215827B for ; Mon, 11 Aug 2025 09:38:38 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 342BD3415DB for ; Mon, 11 Aug 2025 09:38:38 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 1066711055F; Mon, 11 Aug 2025 09:38:35 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id F1E2B11055F for ; Mon, 11 Aug 2025 09:38:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AA72F340BD3 for ; Mon, 11 Aug 2025 09:38:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4C11E3338 for ; Mon, 11 Aug 2025 09:38:33 +0000 (UTC) From: "Petr Vaněk" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Petr Vaněk" Message-ID: <1754905081.07fb5f859cfe2bd06877a433f4ff0959155cc7ac.arkamar@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-wm/dwm/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-wm/dwm/Manifest x11-wm/dwm/dwm-6.6.ebuild X-VCS-Directories: x11-wm/dwm/ X-VCS-Committer: arkamar X-VCS-Committer-Name: Petr Vaněk X-VCS-Revision: 07fb5f859cfe2bd06877a433f4ff0959155cc7ac X-VCS-Branch: master Date: Mon, 11 Aug 2025 09:38:33 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c38e0cd1-bacf-4521-889e-09750cdd0096 X-Archives-Hash: 4eb941bea5c3576247341b668041d479 commit: 07fb5f859cfe2bd06877a433f4ff0959155cc7ac Author: Petr Vaněk gentoo org> AuthorDate: Mon Aug 11 09:03:48 2025 +0000 Commit: Petr Vaněk gentoo org> CommitDate: Mon Aug 11 09:38:01 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07fb5f85 x11-wm/dwm: add 6.6 Signed-off-by: Petr Vaněk gentoo.org> x11-wm/dwm/Manifest | 1 + x11-wm/dwm/dwm-6.6.ebuild | 68 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) diff --git a/x11-wm/dwm/Manifest b/x11-wm/dwm/Manifest index 833b2e155339..69e906147032 100644 --- a/x11-wm/dwm/Manifest +++ b/x11-wm/dwm/Manifest @@ -1 +1,2 @@ DIST dwm-6.5.tar.gz 25588 BLAKE2B 5f837e49026d3213cfa98411f301c134bccf0299b892d9cb0d54a77d1785c905a4d6bcea941f240bc713122a37d61061eeafc594c27b9f486ca7187558479394 SHA512 6cc3efd8d8a5e96517474fdcb1c1a6192fdf669c1bb02de6aea0a9f1a951360bf73c9576a5a0f06b00e2f839bacc304d60548d5ead0996bf46d82be4121ed248 +DIST dwm-6.6.tar.gz 26379 BLAKE2B 8256fcc6067b75ab4575cb46a6699365979c25aeaf0f47074d0760092e9524f71fd19e5a09769bd70e52f9be3401c69754345d00bbe98a22c12894f70e5506b6 SHA512 b8d11449f3145662e764e15f7828fa3671ad6ffbd00b3a3edbe7ea26cb7e75d0b45e2af69a785d388f6109645d6914b434512ada342b784380970a3eba735b80 diff --git a/x11-wm/dwm/dwm-6.6.ebuild b/x11-wm/dwm/dwm-6.6.ebuild new file mode 100644 index 000000000000..4e413f14975f --- /dev/null +++ b/x11-wm/dwm/dwm-6.6.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit savedconfig toolchain-funcs + +DESCRIPTION="a dynamic window manager for X11" +HOMEPAGE="https://dwm.suckless.org/" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://git.suckless.org/dwm" +else + SRC_URI="https://dl.suckless.org/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="xinerama" + +RDEPEND=" + media-libs/fontconfig + x11-libs/libX11 + >=x11-libs/libXft-2.3.5 + xinerama? ( x11-libs/libXinerama ) +" +DEPEND=" + ${RDEPEND} + x11-base/xorg-proto + xinerama? ( x11-base/xorg-proto ) +" + +src_prepare() { + default + + sed -i \ + -e "s/ -Os / /" \ + -e "/^\(LDFLAGS\|CFLAGS\|CPPFLAGS\)/{s| = | += |g;s|-s ||g}" \ + -e "/^X11LIB/{s:/usr/X11R6/lib:/usr/$(get_libdir)/X11:}" \ + -e '/^X11INC/{s:/usr/X11R6/include:/usr/include/X11:}' \ + config.mk || die + + restore_config config.h +} + +src_compile() { + if use xinerama; then + emake CC="$(tc-getCC)" dwm + else + emake CC="$(tc-getCC)" XINERAMAFLAGS="" XINERAMALIBS="" dwm + fi +} + +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install + + exeinto /etc/X11/Sessions + newexe "${FILESDIR}"/dwm-session2 dwm + + insinto /usr/share/xsessions + doins "${FILESDIR}"/dwm.desktop + + dodoc README + + save_config config.h +}