pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/graphics/gimp-resynthesizer



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu May 22 11:51:42 UTC 2025

Modified Files:
        pkgsrc/graphics/gimp-resynthesizer: Makefile PLIST distinfo
Removed Files:
        pkgsrc/graphics/gimp-resynthesizer/patches: patch-Makefile

Log Message:
gimp-resynthesizer: update to 3.0.0.

v3.0 for GIMP API 3.0

The outer plugins are in Scheme rather than Python.

The outer plugins and engine are ported to the GIMP API v3.

The user interface plugin (the control panel)
is in Scheme instead of C and Gtk.

The build system is meson instead of GNU automake.

Tests are revised, with new reference images (different from v2.0.)

Fixes for high-bit depth images.
The engine works in 8-bit depth, with loss of precision.

The Resynthesizer suite now accepts INDEXED images (having a palette.)
Results depend on the order of the palette being perceptual e.g. grayscale or "Sepia."

The "Sharpen" and "Enlarge and Sharpen" plugins are obsolete:
not ported to Scheme and not installed.
They were little used.

The default build is non-threaded.


To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 pkgsrc/graphics/gimp-resynthesizer/Makefile
cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/graphics/gimp-resynthesizer/PLIST
cvs rdiff -u -r1.5 -r1.6 pkgsrc/graphics/gimp-resynthesizer/distinfo
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/graphics/gimp-resynthesizer/patches/patch-Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/gimp-resynthesizer/Makefile
diff -u pkgsrc/graphics/gimp-resynthesizer/Makefile:1.67 pkgsrc/graphics/gimp-resynthesizer/Makefile:1.68
--- pkgsrc/graphics/gimp-resynthesizer/Makefile:1.67    Mon May 19 11:05:22 2025
+++ pkgsrc/graphics/gimp-resynthesizer/Makefile Thu May 22 11:51:42 2025
@@ -1,34 +1,34 @@
-# $NetBSD: Makefile,v 1.67 2025/05/19 11:05:22 wiz Exp $
+# $NetBSD: Makefile,v 1.68 2025/05/22 11:51:42 wiz Exp $
 
-DISTNAME=      resynthesizer-0.16
+DISTNAME=      resynthesizer-3.0.0
 PKGNAME=       gimp-${DISTNAME}
-PKGREVISION=   63
 CATEGORIES=    graphics
-MASTER_SITES=  http://www.logarithmic.net/pfh-files/resynthesizer/
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=bootchk/}
+GITHUB_PROJECT=        resynthesizer
+GITHUB_TAG=    v3.0
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      http://www.logarithmic.net/pfh/resynthesizer
-COMMENT=       Gimp plug-in for texture synthesis
-LICENSE=       gnu-gpl-v2
+HOMEPAGE=      https://github.com/bootchk/resynthesizer
+COMMENT=       Suite of gimp plug-ins for texture synthesis
+LICENSE=       gnu-gpl-v3
 
-USE_LANGUAGES= c++
+USE_LANGUAGES= c c++
 USE_TOOLS+=    pkg-config
 
-BROKEN=                "Does not support gimp3, but perhaps soon."
-
-INSTALLATION_DIRS=     lib/gimp/2.0/plug-ins
-INSTALLATION_DIRS+=    share/gimp/2.0/scripts
-INSTALLATION_DIRS+=    share/doc/gimp-resynthesizer
-
-do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/resynth \
-               ${DESTDIR}${PREFIX}/lib/gimp/2.0/plug-ins/
-       ${INSTALL_DATA} ${WRKSRC}/smart-enlarge.scm \
-               ${DESTDIR}${PREFIX}/share/gimp/2.0/scripts/
-       ${INSTALL_DATA} ${WRKSRC}/smart-remove.scm \
-               ${DESTDIR}${PREFIX}/share/gimp/2.0/scripts/
-       ${INSTALL_DATA} ${WRKSRC}/README \
-               ${DESTDIR}${PREFIX}/share/doc/gimp-resynthesizer
+SUBST_CLASSES+=                scm
+SUBST_FILES.scm+=      outerPlugins/plug-in-heal-selection.scm
+SUBST_FILES.scm+=      outerPlugins/plug-in-heal-transparency.scm
+SUBST_FILES.scm+=      outerPlugins/plug-in-map-style.scm
+SUBST_FILES.scm+=      outerPlugins/plug-in-render-texture.scm
+SUBST_FILES.scm+=      outerPlugins/plug-in-resynth-controls.scm
+SUBST_FILES.scm+=      outerPlugins/plug-in-resynth-enlarge.scm
+SUBST_FILES.scm+=      outerPlugins/plug-in-resynth-fill-pattern.scm
+SUBST_FILES.scm+=      outerPlugins/plug-in-resynth-sharpen.scm
+SUBST_FILES.scm+=      outerPlugins/plug-in-uncrop.scm
+SUBST_SED.scm+=                -e "s,\#!/usr/bin/env ,\#!${PREFIX}/bin/,"
+SUBST_STAGE.scm=       pre-configure
+SUBST_MESSAGE.scm=     Fixing path to gimp-script-fu-interpreter-3.0.
 
+.include "../../devel/meson/build.mk"
 .include "../../graphics/gimp/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/graphics/gimp-resynthesizer/PLIST
diff -u pkgsrc/graphics/gimp-resynthesizer/PLIST:1.1.1.1 pkgsrc/graphics/gimp-resynthesizer/PLIST:1.2
--- pkgsrc/graphics/gimp-resynthesizer/PLIST:1.1.1.1    Wed Apr 14 00:01:31 2010
+++ pkgsrc/graphics/gimp-resynthesizer/PLIST    Thu May 22 11:51:42 2025
@@ -1,5 +1,9 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2010/04/14 00:01:31 wiz Exp $
-lib/gimp/2.0/plug-ins/resynth
-share/doc/gimp-resynthesizer/README
-share/gimp/2.0/scripts/smart-enlarge.scm
-share/gimp/2.0/scripts/smart-remove.scm
+@comment $NetBSD: PLIST,v 1.2 2025/05/22 11:51:42 wiz Exp $
+lib/gimp/3.0/plug-ins/plug-in-heal-selection/plug-in-heal-selection.scm
+lib/gimp/3.0/plug-ins/plug-in-heal-transparency/plug-in-heal-transparency.scm
+lib/gimp/3.0/plug-ins/plug-in-map-style/plug-in-map-style.scm
+lib/gimp/3.0/plug-ins/plug-in-render-texture/plug-in-render-texture.scm
+lib/gimp/3.0/plug-ins/plug-in-resynth-controls/plug-in-resynth-controls.scm
+lib/gimp/3.0/plug-ins/plug-in-resynth-fill-pattern/plug-in-resynth-fill-pattern.scm
+lib/gimp/3.0/plug-ins/plug-in-uncrop/plug-in-uncrop.scm
+lib/gimp/3.0/plug-ins/resynthesizer/resynthesizer

Index: pkgsrc/graphics/gimp-resynthesizer/distinfo
diff -u pkgsrc/graphics/gimp-resynthesizer/distinfo:1.5 pkgsrc/graphics/gimp-resynthesizer/distinfo:1.6
--- pkgsrc/graphics/gimp-resynthesizer/distinfo:1.5     Tue Oct 26 10:46:12 2021
+++ pkgsrc/graphics/gimp-resynthesizer/distinfo Thu May 22 11:51:42 2025
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.5 2021/10/26 10:46:12 nia Exp $
+$NetBSD: distinfo,v 1.6 2025/05/22 11:51:42 wiz Exp $
 
-BLAKE2s (resynthesizer-0.16.tar.gz) = 6a341ce2832740ddbd73c8e4f8bcbd1e5dd29de3aaa51e95d15cf9af1ac6e223
-SHA512 (resynthesizer-0.16.tar.gz) = 6838dfe919e45bd8e8eea570127a586dc5718ee57504748d1de192bd627e26670bd7d82a25b7cb56a4fe597f3eb2c9d0c922da318fec5b6bf8a52801a856b662
-Size (resynthesizer-0.16.tar.gz) = 18241 bytes
-SHA1 (patch-Makefile) = 5ddf6be3884aad811ec8f6687eb6f3fcfb408775
+BLAKE2s (resynthesizer-3.0.0.tar.gz) = 2039c25d73f50af9bc26d0dc84c58e4b889b911f513c96e33d5581103981b625
+SHA512 (resynthesizer-3.0.0.tar.gz) = 053b365bb4c1d8228a3fe1e67fb9758c67a4dc040801ab3179b2c973508137aa8995a6f3c51a270c61b9cd8019e755cb4e8e1650857e288c112a2948daf4fb66
+Size (resynthesizer-3.0.0.tar.gz) = 19968926 bytes



Home | Main Index | Thread Index | Old Index