From nobody Thu Feb 03 19:59:06 2022 X-Original-To: dev-commits-ports-main@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 4886519AEA84; Thu, 3 Feb 2022 19:59:07 +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 4JqTyM1X0vz52Wp; Thu, 3 Feb 2022 19:59:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643918347; 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=jq66VYKf3P4MQjNUTuurUqt1/7Y07yp2G+GHCAOH17Q=; b=eMFl1c/vuh+5LH/u2gfNhIhETCMhHfk6BtinXLvIg+Mwmwz9z2KJiFRYTDEXUQsTjzfOeB sGLt1MxgvjlTZuEpTRuPk2MSIK2dX1fXGsv9HcCYSiMz4IpAhbS7yJWD8Djbavk0g8lh1J 4HQbaFOjetBABNruJo3VZ0v5pWxrSO1J+3AaRljZfXVYBMqEDYrTStbLQb9HAtJ+ew8SwE Hs3jE2Y/C/Lc4YpZRhZ7h8HJRHpmjgpUveJlJcZAjil/AoWJNhQQxxE2YnUCwH71NMz90J 8yRgBES5yr6e+t+yrW09upnnwA/SoBRUINbdhIHRUSdAgc9wNQoZ6KRq3w8hvg== 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 134661E12C; Thu, 3 Feb 2022 19:59:07 +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 213Jx6lv068176; Thu, 3 Feb 2022 19:59:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 213Jx6Yo068175; Thu, 3 Feb 2022 19:59:06 GMT (envelope-from git) Date: Thu, 3 Feb 2022 19:59:06 GMT Message-Id: <202202031959.213Jx6Yo068175@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: e24985d3666d - main - graphics/curtail: New port: Simple & useful image compressor List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e24985d3666d7f21ce4d43135cdf15730bbb8f0c Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643918347; 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=jq66VYKf3P4MQjNUTuurUqt1/7Y07yp2G+GHCAOH17Q=; b=JAfNY5h2VLDpTEmfI/CdI2K1agUfaYCeT9IT2Rjk+1bwmF7wMC4FdpBuyMaUwIlPMcnbnk s1P3YTWMWcQyr78G26uo+08l2Eu8kley5mFsKeQuNY30PHXfWfGay75ueMvQuMBNLmzsum 5GGIv/0AS5MpFkrfjQfOdJqwvnolRfXXbzYEVO67tXl20FXO1GiuqbuV5PZx969rQkZGVa cwDb/mSS+L+p58AB+Se/3KhSbIRmsdnF3JQXxd4eVyGORrv75fkMO6PHD+aQMz4NGzkT0/ BcGHNuR34OjoLENaipeCQwGDd1N6f7D1BWLi26BW1E8+34Rk4/O+cxY96eJ5lQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1643918347; a=rsa-sha256; cv=none; b=RQPqooSuAl9mczeAnEN33cWhvaiGegKTXE4OVytjE7QmAFqGasUEfSBovTbA7dZcSBwTGV HoE5aA1cNzuZjGIpnYU5yyq706ppa7c2R76ln85Ex4k22yR+9TfmvryN7zi4jCJXuf9XY8 Q3PI83aaETuEm02jLE+RJsWrqmqJORjACPjsFm2mHD45xLAMUYMozTgMpLRgIEgRjT3zCz KWwIVzVJl8XcCn8i1aUjwYDR1q0HOtsN+DUqBh/cMviAZmVoA5YOqglUhT7vcRKQns0azC 4jqJmOUHaYDBbh+TfMOX9qCSVQx6LHEkW6xD0iGrUklNr3jriLK0mDg5+0Mb/A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=e24985d3666d7f21ce4d43135cdf15730bbb8f0c commit e24985d3666d7f21ce4d43135cdf15730bbb8f0c Author: Yuri Victorovich AuthorDate: 2022-02-03 19:58:23 +0000 Commit: Yuri Victorovich CommitDate: 2022-02-03 19:58:59 +0000 graphics/curtail: New port: Simple & useful image compressor --- graphics/Makefile | 1 + graphics/curtail/Makefile | 33 +++++++++++++++++++++++++++++++++ graphics/curtail/distinfo | 3 +++ graphics/curtail/pkg-descr | 6 ++++++ graphics/curtail/pkg-plist | 27 +++++++++++++++++++++++++++ 5 files changed, 70 insertions(+) diff --git a/graphics/Makefile b/graphics/Makefile index b240f6615207..bd42ccd8d96b 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -115,6 +115,7 @@ SUBDIR += cptutils SUBDIR += crw SUBDIR += curator + SUBDIR += curtail SUBDIR += cuttlefish SUBDIR += darktable SUBDIR += darktable38 diff --git a/graphics/curtail/Makefile b/graphics/curtail/Makefile new file mode 100644 index 000000000000..e1501c63e4bb --- /dev/null +++ b/graphics/curtail/Makefile @@ -0,0 +1,33 @@ +PORTNAME= curtail +DISTVERSION= 1.2.2 +CATEGORIES= graphics print + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Simple & useful image compressor + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING + +BUILD_DEPENDS= appstream-util:devel/appstream-glib +RUN_DEPENDS= cwebp:graphics/webp \ + jpegoptim:graphics/jpegoptim \ + optipng:graphics/optipng \ + pngquant:graphics/pngquant + +USES= desktop-file-utils gettext gnome meson pkgconfig python +USE_GNOME= glib20 gtk30 + +USE_GITHUB= yes +GH_ACCOUNT= Huluti +GH_PROJECT= Curtail + +GLIB_SCHEMAS= com.github.huluti.Curtail.gschema.xml + +NO_ARCH= yes + +BINARY_ALIAS= python3=${PYTHON_CMD} + +post-install: # adjust python path in the executable + @${REINPLACE_CMD} -i '' -e 's|^#!.*|#!${PYTHON_CMD}|' ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + +.include diff --git a/graphics/curtail/distinfo b/graphics/curtail/distinfo new file mode 100644 index 000000000000..948b4d19b581 --- /dev/null +++ b/graphics/curtail/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1643914552 +SHA256 (Huluti-Curtail-1.2.2_GH0.tar.gz) = be5c47d34fbecc08360b33426d7b147de94639e62e01750a43117a409e937c5f +SIZE (Huluti-Curtail-1.2.2_GH0.tar.gz) = 90061 diff --git a/graphics/curtail/pkg-descr b/graphics/curtail/pkg-descr new file mode 100644 index 000000000000..777bad4b9c56 --- /dev/null +++ b/graphics/curtail/pkg-descr @@ -0,0 +1,6 @@ +Curtail (previously ImCompressor) is an useful image compressor, +supporting PNG, JPEG and WEBP file types. It support both lossless and +lossy compression modes with an option to whether keep or not metadata +of images. It is inspired by Trimage and Image-Optimizer. + +WWW: https://github.com/Huluti/Curtail diff --git a/graphics/curtail/pkg-plist b/graphics/curtail/pkg-plist new file mode 100644 index 000000000000..0cdc1e1ee76b --- /dev/null +++ b/graphics/curtail/pkg-plist @@ -0,0 +1,27 @@ +bin/curtail +share/applications/com.github.huluti.Curtail.desktop +%%DATADIR%%/curtail.gresource +%%DATADIR%%/curtail/__init__.py +%%DATADIR%%/curtail/apply.py +%%DATADIR%%/curtail/compressor.py +%%DATADIR%%/curtail/main.py +%%DATADIR%%/curtail/preferences.py +%%DATADIR%%/curtail/tools.py +%%DATADIR%%/curtail/window.py +share/icons/hicolor/scalable/apps/com.github.huluti.Curtail.svg +share/icons/hicolor/symbolic/apps/com.github.huluti.Curtail-symbolic.svg +share/locale/de/LC_MESSAGES/curtail.mo +share/locale/es/LC_MESSAGES/curtail.mo +share/locale/fr/LC_MESSAGES/curtail.mo +share/locale/gl/LC_MESSAGES/curtail.mo +share/locale/hr/LC_MESSAGES/curtail.mo +share/locale/it/LC_MESSAGES/curtail.mo +share/locale/nl/LC_MESSAGES/curtail.mo +share/locale/oc/LC_MESSAGES/curtail.mo +share/locale/pl/LC_MESSAGES/curtail.mo +share/locale/pt_BR/LC_MESSAGES/curtail.mo +share/locale/ru/LC_MESSAGES/curtail.mo +share/locale/sk/LC_MESSAGES/curtail.mo +share/locale/sv/LC_MESSAGES/curtail.mo +share/locale/tr/LC_MESSAGES/curtail.mo +share/metainfo/com.github.huluti.Curtail.appdata.xml