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 34B0715808B for ; Fri, 25 Mar 2022 11:24:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B33C9E088C; Fri, 25 Mar 2022 11:24:14 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8F98DE088C for ; Fri, 25 Mar 2022 11:24:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 smtp.gentoo.org (Postfix) with ESMTPS id DD0763433B6 for ; Fri, 25 Mar 2022 11:24:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 21FD3339 for ; Fri, 25 Mar 2022 11:24:10 +0000 (UTC) From: "Ronny Gutbrod" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ronny Gutbrod" Message-ID: <1647955229.fda8e09771b03a1b61f16636e778e41792f0eaf9.tastytea@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: x11-misc/picom-jonaburg/ X-VCS-Repository: repo/proj/guru X-VCS-Files: x11-misc/picom-jonaburg/metadata.xml x11-misc/picom-jonaburg/picom-jonaburg-9999.ebuild X-VCS-Directories: x11-misc/picom-jonaburg/ X-VCS-Committer: tastytea X-VCS-Committer-Name: Ronny Gutbrod X-VCS-Revision: fda8e09771b03a1b61f16636e778e41792f0eaf9 X-VCS-Branch: master Date: Fri, 25 Mar 2022 11:24:10 +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: 9465731d-01af-440d-a5a1-7cbcb70c637d X-Archives-Hash: 9fe1951459c1832b3d0856af56dbba28 commit: fda8e09771b03a1b61f16636e778e41792f0eaf9 Author: Thamognya Kodi thamognya com> AuthorDate: Tue Mar 22 13:20:29 2022 +0000 Commit: Ronny Gutbrod tastytea de> CommitDate: Tue Mar 22 13:20:29 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fda8e097 x11-misc/picom-jonaburg: add 9999 ebuild Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Thamognya Kodi thamognya.com> x11-misc/picom-jonaburg/metadata.xml | 21 ++++++ x11-misc/picom-jonaburg/picom-jonaburg-9999.ebuild | 75 ++++++++++++++++++++++ 2 files changed, 96 insertions(+) diff --git a/x11-misc/picom-jonaburg/metadata.xml b/x11-misc/picom-jonaburg/metadata.xml new file mode 100644 index 000000000..a8bc90f91 --- /dev/null +++ b/x11-misc/picom-jonaburg/metadata.xml @@ -0,0 +1,21 @@ + + + + + contact@thamognya.com + Thamognya Kodi + Primary maintainer + + + This is a forked version from Sandmark's picom branch, including Blackcapcoder's animation code inside. The animations here are further smoothed and time deltas reduced from 1ms to 40us for high refresh rates and buttery smooth transitions. + + + jonaburg/picom + + + Enable config file support + Build documentation and man pages (requires app-text/asciidoc) + Enable support for using drm for vsync + Enable features that require opengl (opengl backend, and opengl vsync methods) + + diff --git a/x11-misc/picom-jonaburg/picom-jonaburg-9999.ebuild b/x11-misc/picom-jonaburg/picom-jonaburg-9999.ebuild new file mode 100644 index 000000000..d0e4bdf44 --- /dev/null +++ b/x11-misc/picom-jonaburg/picom-jonaburg-9999.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +inherit git-r3 meson python-any-r1 virtualx xdg + +DESCRIPTION="A lightweight compositor for X11 (previously a compton fork)" +HOMEPAGE="https://github.com/jonaburg/picom" +if [[ ${PV} == *9999 ]]; then + EGIT_REPO_URI="https://github.com/jonaburg/picom.git" +else + COMMIT="e3c19cd7d1108d114552267f302548c113278d45" + VERSION_REV="e3c19cd" + SRC_URI="https://github.com/jonaburg/picom/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-${COMMIT}" + KEYWORDS="~amd64" +fi + +LICENSE="MPL-2.0 MIT" +SLOT="0" +IUSE="+config-file dbus +doc +drm opengl pcre test" + +REQUIRED_USE="test? ( dbus )" # avoid "DBus support not compiled in!" +RESTRICT="test" # but tests require dbus_next + +RDEPEND="dev-libs/libev + dev-libs/uthash + x11-libs/libX11 + x11-libs/libxcb + x11-libs/libXext + x11-libs/pixman + x11-libs/xcb-util-image + x11-libs/xcb-util-renderutil + config-file? ( + dev-libs/libconfig:= + ) + dbus? ( sys-apps/dbus ) + drm? ( x11-libs/libdrm ) + opengl? ( virtual/opengl ) + pcre? ( dev-libs/libpcre ) + !x11-misc/compton" +DEPEND="${RDEPEND} + x11-base/xorg-proto" +BDEPEND="virtual/pkgconfig + doc? ( app-text/asciidoc ) + test? ( $(python_gen_any_dep 'dev-python/xcffib[${PYTHON_USEDEP}]') ) +" + +DOCS=( README.md picom.sample.conf ) + +python_check_deps() { + has_version -b "dev-python/xcffib[${PYTHON_USEDEP}]" +} + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_configure() { + local emesonargs=( + $(meson_use config-file config_file) + $(meson_use dbus) + $(meson_use doc with_docs) + $(meson_use opengl) + $(meson_use pcre regex) + ) + + meson_src_configure +} + +src_test() { + virtx "${S}/tests/run_tests.sh" "${BUILD_DIR}/src/${PN}" +}