From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E1E98158041 for ; Sat, 24 Feb 2024 15:35:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A9D60E2A1A; Sat, 24 Feb 2024 15:35:08 +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 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8F197E2A1A for ; Sat, 24 Feb 2024 15:35:08 +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 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B6F63343068 for ; Sat, 24 Feb 2024 15:35:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 253E8131B for ; Sat, 24 Feb 2024 15:35:06 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1708788807.16faaa3393776b4c369c64ce207245ebde67f043.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/asahi-configs/files/, sys-apps/asahi-configs/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/asahi-configs/asahi-configs-1.0.ebuild sys-apps/asahi-configs/files/baloo sys-apps/asahi-configs/files/envvars sys-apps/asahi-configs/files/kcminput sys-apps/asahi-configs/files/xorg-modeset sys-apps/asahi-configs/files/xorg-naturalscroll sys-apps/asahi-configs/metadata.xml X-VCS-Directories: sys-apps/asahi-configs/files/ sys-apps/asahi-configs/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 16faaa3393776b4c369c64ce207245ebde67f043 X-VCS-Branch: master Date: Sat, 24 Feb 2024 15:35:06 +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: d01e0e0f-bd46-41bc-9008-c99bea76e683 X-Archives-Hash: 44fccbff429bfe8ff971d02b22b927e2 commit: 16faaa3393776b4c369c64ce207245ebde67f043 Author: James Calligeros gmail com> AuthorDate: Sat Feb 10 05:50:32 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sat Feb 24 15:33:27 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16faaa33 sys-apps/asahi-configs: new package, add 1.0 Signed-off-by: James Calligeros gmail.com> Closes: https://github.com/gentoo/gentoo/pull/35255 Signed-off-by: Sam James gentoo.org> sys-apps/asahi-configs/asahi-configs-1.0.ebuild | 28 +++++++++++++++++++++++++ sys-apps/asahi-configs/files/baloo | 2 ++ sys-apps/asahi-configs/files/envvars | 3 +++ sys-apps/asahi-configs/files/kcminput | 2 ++ sys-apps/asahi-configs/files/xorg-modeset | 6 ++++++ sys-apps/asahi-configs/files/xorg-naturalscroll | 7 +++++++ sys-apps/asahi-configs/metadata.xml | 14 +++++++++++++ 7 files changed, 62 insertions(+) diff --git a/sys-apps/asahi-configs/asahi-configs-1.0.ebuild b/sys-apps/asahi-configs/asahi-configs-1.0.ebuild new file mode 100644 index 000000000000..665872c427a8 --- /dev/null +++ b/sys-apps/asahi-configs/asahi-configs-1.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +DESCRIPTION="Asahi Linux configurations" +HOMEPAGE="https://asahilinux.org/" +LICENSE="MIT" +SLOT="0" +KEYWORDS="arm64" + +src_unpack() { + mkdir "${S}" || die + cp "${FILESDIR}"/* "${S}/" || die +} + +src_install() { + insinto /etc/xdg/ + newins "${FILESDIR}/kcminput" kcminputrc + newins "${FILESDIR}/baloo" baloofilerc + + insinto /etc/X11/xorg.conf.d/ + newins "${FILESDIR}/xorg-modeset" 30-modesetting.conf + newins "${FILESDIR}/xorg-naturalscroll" 20-natural-scrolling.conf + + exeinto /etc/profile.d/ + newexe "${FILESDIR}/envvars" asahi.sh +} diff --git a/sys-apps/asahi-configs/files/baloo b/sys-apps/asahi-configs/files/baloo new file mode 100644 index 000000000000..694400b83e28 --- /dev/null +++ b/sys-apps/asahi-configs/files/baloo @@ -0,0 +1,2 @@ +[General] +only basic indexing=true diff --git a/sys-apps/asahi-configs/files/envvars b/sys-apps/asahi-configs/files/envvars new file mode 100644 index 000000000000..4368fedc51bb --- /dev/null +++ b/sys-apps/asahi-configs/files/envvars @@ -0,0 +1,3 @@ +export MOZ_ENABLE_WAYLAND=1 +export QV4_FORCE_INTERPRETER=1 +export KWIN_FORCE_SW_CURSOR=1 diff --git a/sys-apps/asahi-configs/files/kcminput b/sys-apps/asahi-configs/files/kcminput new file mode 100644 index 000000000000..6e0914e6abeb --- /dev/null +++ b/sys-apps/asahi-configs/files/kcminput @@ -0,0 +1,2 @@ +[Libinput][Defaults][Touchpad] +NaturalScroll=true diff --git a/sys-apps/asahi-configs/files/xorg-modeset b/sys-apps/asahi-configs/files/xorg-modeset new file mode 100644 index 000000000000..9b1caeea66d8 --- /dev/null +++ b/sys-apps/asahi-configs/files/xorg-modeset @@ -0,0 +1,6 @@ +Section "OutputClass" + Identifier "appledrm" + MatchDriver "apple" + Driver "modesetting" + Option "PrimaryGPU" "true" +EndSection diff --git a/sys-apps/asahi-configs/files/xorg-naturalscroll b/sys-apps/asahi-configs/files/xorg-naturalscroll new file mode 100644 index 000000000000..59fdcf12ca51 --- /dev/null +++ b/sys-apps/asahi-configs/files/xorg-naturalscroll @@ -0,0 +1,7 @@ +Section "InputClass" + Identifier "Enable natural scrolling by default" + MatchIsTouchpad "on" + MatchDevicePath "/dev/input/event*" + MatchDriver "libinput" + Option "Natural Scrolling" "on" +EndSection diff --git a/sys-apps/asahi-configs/metadata.xml b/sys-apps/asahi-configs/metadata.xml new file mode 100644 index 000000000000..78cf3a46e034 --- /dev/null +++ b/sys-apps/asahi-configs/metadata.xml @@ -0,0 +1,14 @@ + + + + + jcalligeros99@gmail.com + James Calligeros + + + asahi@gentoo.org + + + AsahiLinux/PKGBUILDs + +