Bug 266116 - [NEW PORT] graphics/schemer2: Terminal Colorscheme Generator and Converter
Summary: [NEW PORT] graphics/schemer2: Terminal Colorscheme Generator and Converter
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL: https://github.com/thefryscorer/schemer2
Keywords:
Depends on:
Blocks: 266121
  Show dependency treegraph
 
Reported: 2022-08-31 03:17 UTC by Jesús Daniel Colmenares Oviedo
Modified: 2023-05-18 08:25 UTC (History)
1 user (show)

See Also:


Attachments
graphics-schemer2.g20190406.patch (2.78 KB, patch)
2022-08-31 03:17 UTC, Jesús Daniel Colmenares Oviedo
no flags Details | Diff
schemer2-g20190406.patch (2.83 KB, patch)
2023-02-27 13:49 UTC, Jesús Daniel Colmenares Oviedo
no flags Details | Diff
schemer2-g20190406.patch (2.83 KB, patch)
2023-04-29 13:31 UTC, Jesús Daniel Colmenares Oviedo
DtxdF: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jesús Daniel Colmenares Oviedo 2022-08-31 03:17:57 UTC
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 1 Mohammad 2022-09-07 02:15:22 UTC
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
>
Comment 2 Jesús Daniel Colmenares Oviedo 2023-02-27 13:49:47 UTC
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
Comment 3 Jesús Daniel Colmenares Oviedo 2023-04-29 13:31:59 UTC
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
Comment 4 Robert Clausecker freebsd_committer freebsd_triage 2023-05-01 11:12:22 UTC
Asked upstream to define the license of this project:

    https://github.com/thefryscorer/schemer2/issues/10
Comment 5 Jesús Daniel Colmenares Oviedo 2023-05-01 13:00:26 UTC
(In reply to Robert Clausecker from comment #4)

Thank you!. I will be watching for any changes in this regard.
Comment 6 Robert Clausecker freebsd_committer freebsd_triage 2023-05-11 22:21:01 UTC
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.
Comment 7 Jesús Daniel Colmenares Oviedo 2023-05-11 22:35:45 UTC
(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.