Created attachment 236246 [details] graphics-schemer2.g20190406.patch schemer2 is a terminal colorscheme generator and converter with the following features: * Reads configuration for several different terminals. * Outputs configuration in several different formats for different terminals. * Can output colors as a generated image/wallpaper either random or customized. * Configurable color difference threshold. * Configurable minimum and maximum brightness value. WWW: https://github.com/thefryscorer/schemer2 portlint: looks fine. poudriere: testport is ok.
Comment on attachment 236246 [details] graphics-schemer2.g20190406.patch >From bac4e99feebf62a1ed140f51a90bc81d34ab2239 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Jes=C3=BAs=20Daniel=20Colmenares=20Oviedo?= > <DtxdF@disroot.org> >Date: Tue, 30 Aug 2022 21:46:58 -0400 >Subject: [PATCH] graphics/schemer2: new port > >schemer2 is a terminal colorscheme generator and converter with the >following features: > >* Reads configuration for several different terminals. >* Outputs configuration in several different formats for different > terminals. >* Can output colors as a generated image/wallpaper either random or > customized. >* Configurable color difference threshold. >* Configurable minimum and maximum brightness value. > >WWW: https://github.com/thefryscorer/schemer2 >--- > graphics/schemer2/Makefile | 22 ++++++++++++++++++++++ > graphics/schemer2/distinfo | 3 +++ > graphics/schemer2/pkg-descr | 12 ++++++++++++ > 3 files changed, 37 insertions(+) > create mode 100644 graphics/schemer2/Makefile > create mode 100644 graphics/schemer2/distinfo > create mode 100644 graphics/schemer2/pkg-descr > >diff --git a/graphics/schemer2/Makefile b/graphics/schemer2/Makefile >new file mode 100644 >index 000000000..4927f551e >--- /dev/null >+++ b/graphics/schemer2/Makefile >@@ -0,0 +1,22 @@ >+PORTNAME= schemer2 >+DISTVERSION= g20190406 >+CATEGORIES= graphics >+ >+MAINTAINER= DtxdF@disroot.org >+COMMENT= Terminal Colorscheme Generator and Converter >+ >+LICENSE= NONE >+ >+USES= go >+ >+USE_GITHUB= yes >+GH_ACCOUNT= thefryscorer >+GH_TAGNAME= 89a66cbf40440e82921719c6919f11bb563d7cfa >+ >+PLIST_FILES= ${PREFIX}/bin/${GO_PKGNAME} >+ >+do-build: >+ (cd ${GO_WRKSRC} && ${SETENV} ${MAKE_ENV} ${GO_ENV} GOPROXY=off ${GO_CMD} build \ >+ -o ${GO_WRKDIR_BIN}/${GO_PKGNAME} main.go format.go image.go output.go input.go) >+ >+.include <bsd.port.mk> >diff --git a/graphics/schemer2/distinfo b/graphics/schemer2/distinfo >new file mode 100644 >index 000000000..1c824d31d >--- /dev/null >+++ b/graphics/schemer2/distinfo >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1661841180 >+SHA256 (thefryscorer-schemer2-g20190406-89a66cbf40440e82921719c6919f11bb563d7cfa_GH0.tar.gz) = 1938a11648e0e2ced6dcc64024489513167965c8f535faeffdf556dc2a9388ee >+SIZE (thefryscorer-schemer2-g20190406-89a66cbf40440e82921719c6919f11bb563d7cfa_GH0.tar.gz) = 17481 >diff --git a/graphics/schemer2/pkg-descr b/graphics/schemer2/pkg-descr >new file mode 100644 >index 000000000..3ee83b65c >--- /dev/null >+++ b/graphics/schemer2/pkg-descr >@@ -0,0 +1,12 @@ >+schemer2 is a terminal colorscheme generator and converter with the >+following features: >+ >+* Reads configuration for several different terminals. >+* Outputs configuration in several different formats for different >+ terminals. >+* Can output colors as a generated image/wallpaper either random or >+ customized. >+* Configurable color difference threshold. >+* Configurable minimum and maximum brightness value. >+ >+WWW: https://github.com/thefryscorer/schemer2 >-- >2.37.2 >
Created attachment 240449 [details] schemer2-g20190406.patch Description: * Move WWW from pkg-descr to Makefile * pet portclippy/portfmt QA: * portlint: OK (looks fine.) * testport: (poudriere: 13.1-RELEASE, amd64): - Warning: License is not auto-accepted, packages will not be built, ports depending on this one will be ignored. - Warning: License does not allow package to be distributed, ports depending on this one will be ignored
Created attachment 241852 [details] schemer2-g20190406.patch Description: schemer2 is a terminal colorscheme generator and converter with the following features: * Reads configuration for several different terminals. * Outputs configuration in several different formats for different terminals. * Can output colors as a generated image/wallpaper either random or customized. * Configurable color difference threshold. * Configurable minimum and maximum brightness value. WWW: https://github.com/thefryscorer/schemer2 QA: * portlint: OK (looks fine.) * testport: (poudriere: 13.1-RELEASE, amd64): - Warning: License is not auto-accepted, packages will not be built, ports depending on this one will be ignored. - Warning: License does not allow package to be distributed, ports depending on this one will be ignored
Asked upstream to define the license of this project: https://github.com/thefryscorer/schemer2/issues/10
(In reply to Robert Clausecker from comment #4) Thank you!. I will be watching for any changes in this regard.
I'm not going to commit this one due to the unclear license. Perhaps you could alter the patch in bug #271153 not to depend on this port? Then we can get at least that one committed.
(In reply to Robert Clausecker from comment #6) No problem, but I'm not at home at the moment, so I'll do it on Sunday/Monday.