From nobody Fri Mar 31 10:42:32 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Pnxgs2PRRz42JKd; Fri, 31 Mar 2023 10:42:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Pnxgs0Hs9z3LYD; Fri, 31 Mar 2023 10:42:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680259353; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=3rQL95gjDbnoyCWgfW5d54cwEMO3I54KZlut7YsUmYA=; b=cg2nAJYgS2K77HzaR2CcBd0gHGxWk92JhWI494C8dYfisCSFIDaMQudQBGh9gNsZjq3KZI pnRUSWYDZdnhjglQ0ZpAEq40mAvAfCiywoeDQvBwAMWIaSwSnqTwZBwTG64mqJY1d6c1xb oGBMW2G0pAEvI4rfI2/i5tOp7lfgUs6JmFd/lrCT2wsfJsW5U/RTMpDXJe29wV0SYOXp9h JA9CyHfxkSqHRHNNNYDFvH+vUrQxr2vtgqE/YexSrcgkv+xKaFkRr6HlIpf7fltNdP8Lym +KTUKndvWP4heSuuBAnxJrtjt2mNbIbYpbPak9KRwX0qb2S9lf56YOhZSELsag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680259353; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=3rQL95gjDbnoyCWgfW5d54cwEMO3I54KZlut7YsUmYA=; b=qL5rVWvzap6EqnRWM/rtxt7slBonAEtSGLakUQ8MrmbvWYZ2tJMSR0fZR5aqN1X5cGnv/l wOxPLI+jjWsf4HsjtQYZbMlHfLTqaDZ/97MQcluTOuX6RvBiMpz9mr4SZ2HoQuLVxLWRHE +hqtGrOctIB+yHyot2+wTFDPQ4a8mNXOHAd+vpSn+7n8HyOlbCC7WQH5gQJbvB8qDDygNb dhAeuDkae/9INnB4LzS7zTLcNxQWmxxNtrTTdbguwAm57rSj733r7IQgM2w0vFUeDXAZHF OO4i3uWkWYkrkqgWnBV7pIOeBKOwIfZ9/8FYg8qyxoyPO6MQ7q/lsfBN+TF3Ig== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1680259353; a=rsa-sha256; cv=none; b=AklEs02jvod9xBdlhMD1GofizFpOGCXT9HkwPoD551BwvS75MC1Ft3kS4rhBEe11/B0X4D /6qV5y1+YOllX5kO58aedbodaCHIfmUBrTjpZaAZDUaRD2a6zfkkWs/J3Ga3881dZZHh8m j/Tty7RhC6CkWHddZIpMplnV/4B4GAJrdxGwYJMI8hsdDau03+I56kIrHJ5qfggRbmMuov 1LoHA91mEa4eGxAsq+b7tco+GOhzUx4OF9Nadet2vTxqy6jIrh0zVmeVL09k0HM4/KcPrE 7LnjZsSni87sebs0k6BRZHP5Nd1rs6dXK6tVFZVGSIAVfC0KejYpqlRX5tgoxg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Pnxgr6Vk8zr5b; Fri, 31 Mar 2023 10:42:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 32VAgW38070541; Fri, 31 Mar 2023 10:42:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32VAgWsS070540; Fri, 31 Mar 2023 10:42:32 GMT (envelope-from git) Date: Fri, 31 Mar 2023 10:42:32 GMT Message-Id: <202303311042.32VAgWsS070540@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Clausecker Subject: git: 00125cc731aa - main - graphics/pywal: new port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 00125cc731aa270cca04f4afda664c7010bd083f Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=00125cc731aa270cca04f4afda664c7010bd083f commit 00125cc731aa270cca04f4afda664c7010bd083f Author: Robert Clausecker AuthorDate: 2023-03-29 12:40:44 +0000 Commit: Robert Clausecker CommitDate: 2023-03-31 10:42:06 +0000 graphics/pywal: new port Pywal is a tool that generates a color palette from the dominant colors in an image. It then applies the colors system-wide and on-the-fly in all of your favourite programs. There are currently 5 supported color generation backends, each providing a different palette of colors from each image. You're bound to find an appealing color-scheme. Pywal also supports predefined themes and has over 250 themes built-in. You can also create your own theme files to share with others. The goal of Pywal was to be as out of the way as possible. It doesn't modify any of your existing configuration files. Instead it works around them and provides tools to integrate your system as you see fit. Terminal emulators and TTYs have their color-schemes updated in real-time with no delay. With minimal configuration this functionality can be extended to almost anything running on your system. WWW: https://github.com/dylanaraps/pywal Requested by: reddit user /u/twllnbrck --- graphics/Makefile | 1 + graphics/pywal/Makefile | 19 +++++++++++++++++++ graphics/pywal/distinfo | 3 +++ graphics/pywal/files/patch-pywal_util.py | 11 +++++++++++ graphics/pywal/pkg-descr | 18 ++++++++++++++++++ 5 files changed, 52 insertions(+) diff --git a/graphics/Makefile b/graphics/Makefile index b43147fdb622..0fcd0037c0fa 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -963,6 +963,7 @@ SUBDIR += py-willow SUBDIR += py-yaswfp SUBDIR += py-zbar-py + SUBDIR += pywal SUBDIR += qcomicbook SUBDIR += qcustomplot-qt5 SUBDIR += qgis diff --git a/graphics/pywal/Makefile b/graphics/pywal/Makefile new file mode 100644 index 000000000000..a66fcb08438a --- /dev/null +++ b/graphics/pywal/Makefile @@ -0,0 +1,19 @@ +PORTNAME= pywal +DISTVERSION= 3.3.0 +CATEGORIES= graphics +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= fuz@fuz.su +COMMENT= Generate and change color-schemes on the fly +WWW= https://github.com/dylanaraps/pywal + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.md + +USES= magick:run python +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include diff --git a/graphics/pywal/distinfo b/graphics/pywal/distinfo new file mode 100644 index 000000000000..fe1dd02ba369 --- /dev/null +++ b/graphics/pywal/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1680089939 +SHA256 (pywal-3.3.0.tar.gz) = efeab992c2702c7e07529ac9757425862ea1796a6fc0331148bc45a8675230b7 +SIZE (pywal-3.3.0.tar.gz) = 61269 diff --git a/graphics/pywal/files/patch-pywal_util.py b/graphics/pywal/files/patch-pywal_util.py new file mode 100644 index 000000000000..348e80a2eacf --- /dev/null +++ b/graphics/pywal/files/patch-pywal_util.py @@ -0,0 +1,11 @@ +--- pywal/util.py.orig 2023-03-29 11:39:40 UTC ++++ pywal/util.py +@@ -179,7 +179,7 @@ def disown(cmd): + def get_pid(name): + """Check if process is running by name.""" + try: +- subprocess.check_output(["pidof", "-s", name]) ++ subprocess.check_output(["pgrep", "-x", name]) + except subprocess.CalledProcessError: + return False + diff --git a/graphics/pywal/pkg-descr b/graphics/pywal/pkg-descr new file mode 100644 index 000000000000..4dd43fb18988 --- /dev/null +++ b/graphics/pywal/pkg-descr @@ -0,0 +1,18 @@ +Pywal is a tool that generates a color palette from the dominant colors +in an image. It then applies the colors system-wide and on-the-fly in +all of your favourite programs. + +There are currently 5 supported color generation backends, each +providing a different palette of colors from each image. You're bound to +find an appealing color-scheme. + +Pywal also supports predefined themes and has over 250 themes built-in. +You can also create your own theme files to share with others. + +The goal of Pywal was to be as out of the way as possible. It doesn't +modify any of your existing configuration files. Instead it works around +them and provides tools to integrate your system as you see fit. + +Terminal emulators and TTYs have their color-schemes updated in +real-time with no delay. With minimal configuration this functionality +can be extended to almost anything running on your system.