Skip to content

Commit

Permalink
gimp-plugin-fix-ca 4.2 (August 24, 2024)
Browse files Browse the repository at this point in the history
- Added Swedish Translation, thanks to Anders Jonsson.
- rpmlint found spelling en_US error for traveling.
  • Loading branch information
JoesCat committed Aug 24, 2024
1 parent adc1a60 commit 840550a
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 9 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 [email protected]
Expand Down Expand Up @@ -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).
Expand Down
3 changes: 2 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down Expand Up @@ -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],[:])
Expand Down
5 changes: 3 additions & 2 deletions org.gimp.extension.fix-ca.metainfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
<description>
<p xml:lang="C">
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.
</p>
<p xml:lang="es">
Esta extensión ayuda a corregir la aberración cromática lateral (CA) debido
Expand Down Expand Up @@ -44,6 +44,7 @@
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0+</project_license>
<releases>
<release version="4.2" date="2024-08-24" />
<release version="4.1" date="2024-07-19" />
<release version="4.0" date="2024-02-29" />
<release version="3.0.4" date="2023-12-02" />
Expand Down
6 changes: 3 additions & 3 deletions rpm/gimp-fix-ca.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down

0 comments on commit 840550a

Please sign in to comment.