From 840550a885f9ac65be04e9e717dd79ee5970d04c Mon Sep 17 00:00:00 2001 From: Joe Da Silva Date: Sat, 24 Aug 2024 15:52:41 -0700 Subject: [PATCH] gimp-plugin-fix-ca 4.2 (August 24, 2024) - Added Swedish Translation, thanks to Anders Jonsson. - rpmlint found spelling en_US error for traveling. --- README.md | 5 +++-- configure.ac | 3 ++- org.gimp.extension.fix-ca.metainfo.xml | 5 +++-- rpm/gimp-fix-ca.spec.in | 6 +++--- tests/Makefile.am | 2 +- 5 files changed, 12 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 4bda858..3e6acab 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,8 @@ Fix-CA is a [GIMP](http://www.gimp.org/) plug-in to correct Chromatic Aberration (CA). For a general explanation about Chromatic Aberration, you can find information from [Wikipedia](http://en.wikipedia.org/wiki/Chromatic_aberration). -Fix-CA is able to fix Lateral CA colored fringing caused by light travelling -through lenses, and Directional CA caused by light travelling through dense +Fix-CA is able to fix Lateral CA colored fringing caused by light traveling +through lenses, and Directional CA caused by light traveling through dense material such as glass and water. This plug-in was written by Kriang Lerdsuwanakij lerdsuwa@users.sourceforge.net @@ -227,6 +227,7 @@ make install ## Version History +- 4.2 (August 24, 2024) Added Swedish. rpmlint found minor en_US spelling error. Add further differentiation from gimp3 in case both gimp2&gimp3 are present at the same time. - 4.1 (July 19, 2024) Upgraded code to work with 2.10.34 (broke in MSYS2). Fixed non-interactive scripting, added make check and updated other files for self-tests. - 4.0 (February 29, 2024) Upgraded code to use GIMP-2.10 API. Now Gimp-Fix-CA works with RGB/RGBA with precisions of 8bit, 16bit, 32bit, or double for each color of R,G,B,A. Also added Lens X/Y center and a lens centerline in the preview window. Local Language support now included for the installable Gimp-Fix-CA. This version is bumped to 4.0 since it requires GIMP-2.10.xx, and also because non-interactive scripting also requires Lateral Lens X/Y positions (default=-1,-1) - 3.0.4 (December 2, 2023) mostly edits around make system. Minimal mods to fix-ca.c code (which needs updating). diff --git a/configure.ac b/configure.ac index ecba307..9e631dc 100644 --- a/configure.ac +++ b/configure.ac @@ -21,7 +21,7 @@ AC_PREREQ([2.68]) # m4_define([fix_ca_name], [gimp-fix-ca]) m4_define([fix_ca_major_version], [4]) -m4_define([fix_ca_minor_version], [1]) +m4_define([fix_ca_minor_version], [2]) m4_define([fix_ca_version],[fix_ca_major_version.fix_ca_minor_version]) m4_define([fix_ca_package_name], [gimp-fix-ca]) m4_define([fix_ca_package_home], [https://github.com/JoesCat/gimp-fix-ca]) @@ -53,6 +53,7 @@ AC_PROG_LN_S AC_PROG_MKDIR_P AC_PATH_PROG([CHMOD],[chmod],[:]) AC_PATH_PROG([STRIP],[strip],[:]) +AC_PATH_PROG([GIMP],[gimp-2.10],[:]) AC_PATH_PROG([GIMPTOOL],[gimptool-2.0],[:]) AC_PATH_PROG([MD5SUM],[md5sum],[:]) AC_PATH_PROG([MSGFMT],[msgfmt],[:]) diff --git a/org.gimp.extension.fix-ca.metainfo.xml b/org.gimp.extension.fix-ca.metainfo.xml index fbc3e81..03bfd12 100644 --- a/org.gimp.extension.fix-ca.metainfo.xml +++ b/org.gimp.extension.fix-ca.metainfo.xml @@ -8,9 +8,9 @@

This extension helps the user correct Lateral Chromatic Aberration (CA) due - to different color wavelengths travelling through a lens, or Directional CA, + to different color wavelengths traveling through a lens, or Directional CA, where the amount of CA is assumed to be the same throughout the image due to - light travelling through dense material such as glass or water. + light traveling through dense material such as glass or water.

Esta extensión ayuda a corregir la aberración cromática lateral (CA) debido @@ -44,6 +44,7 @@ CC0-1.0 GPL-3.0+ + diff --git a/rpm/gimp-fix-ca.spec.in b/rpm/gimp-fix-ca.spec.in index 7036f8a..ee21093 100644 --- a/rpm/gimp-fix-ca.spec.in +++ b/rpm/gimp-fix-ca.spec.in @@ -20,12 +20,12 @@ BuildRequires: make BuildRequires: gettext-devel BuildRequires: gtk+2-devel BuildRequires: pkgconfig(gimp-2.0) -Requires: gimp >= 2.10.0 +Requires: gimp >= 2.10.0, gimp < 2.99.0 %description A Gimp2 plug-in to correct Chromatic Aberration (CA). -Fix-CA can fix Lateral CA caused due to light travelling through lenses, -and fix Directional CA due to light travelling through dense material +Fix-CA can fix Lateral CA caused due to light traveling through lenses, +and fix Directional CA due to light traveling through dense material such as glass or water. %prep diff --git a/tests/Makefile.am b/tests/Makefile.am index d050cd1..8de969a 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -15,7 +15,7 @@ update-test1: echo "rm -f ${builddir}/test1.bmp" >> ${builddir}/test1.sh; \ echo "${GIMPTOOL} --install-script ${srcdir}/test-fix-ca.scm" >> ${builddir}/test1.sh; \ echo "${GIMPTOOL} --install-bin ${builddir}/test-fix-ca" >> ${builddir}/test1.sh; \ - echo "gimp --verbose --console-messages -i -b '(test \"${top_srcdir}/img-fix-ca/full-branches.jpg\" \"${builddir}/test1.bmp\" 6.0 -2.4 658 1280 1 0.0 0.0 0.0 0.0)' -b '(gimp-quit 0)'" >> ${builddir}/test1.sh; \ + echo "${GIMP} --verbose --console-messages -i -b '(test \"${top_srcdir}/img-fix-ca/full-branches.jpg\" \"${builddir}/test1.bmp\" 6.0 -2.4 658 1280 1 0.0 0.0 0.0 0.0)' -b '(gimp-quit 0)'" >> ${builddir}/test1.sh; \ echo "${GIMPTOOL} --uninstall-bin test-fix-ca" >> ${builddir}/test1.sh; \ echo "${GIMPTOOL} --uninstall-script test-fix-ca.scm" >> ${builddir}/test1.sh; \ echo "${MD5SUM} -c ${top_srcdir}/tests/test1.md5" >> ${builddir}/test1.sh; \