Bug 30931

Summary: gimp-plugin-astronomy: updated several files so that it build with current version of Mageia
Product: Mageia Reporter: Joe Da Silva <digital>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Normal CC: jani.valimaa
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
URL: https://github.com/JoesCat/gimp-plugin-astronomy
Whiteboard:
Source RPM: Please update gimp-plugin-astronomy to version 0.11 and source code URL CVE:
Status comment:

Description Joe Da Silva 2022-10-04 06:01:18 CEST
Description of problem:
existing version 0.10 no longer builds properly, needed updates to build with a recent version of Mageia. Found the most likely candidate of gimp-plugin-astronomy and suggested an update - project appears to have no activity.
Then also tried contacting original author (website shows hints of no longer being active http://www.hennigbuam.de/georg/gimp.html ). No reply received even after waiting some time.
Due to no activity, decided to merge and commit a proposed version 0.11 which updates the automake files, but left the gimp-plugin-astronomy code still as-was except for a few fixes to '%' get gettext to build correctly.

Version-Release number of selected component (if applicable):
Due to the updated configure/make, updated it to 0.11

How reproducible:
Build fine with Mageia8, 32bit, and gimp 2.10. filter Menu gains additional "Astronomy" menu with several astronomy plugins.
Also included rpm spec file.
To avoid a possible issue with configure.ac GETTEXT_VERSION(some_number), you need to build using:
aclocal --force
autoconf -f
automake --add-missing
(this avoid the problem with autoreconf pointing to a GETTEXT_VERSION() problem.

Steps to Reproduce (from source code at https://github.com/JoesCat/gimp-plugin-astronomy)
1. aclocal --force
2. autoconf -f
3. automake --add-missing
4. ./configure
5. make dist
At this point you have a spec file and tar.bz2 file for an RPM

This is similar to bug=30764
This is a partial improvement to bug=28914
Comment 1 Jani Välimaa 2022-10-04 09:49:41 CEST
I recommend to use AM_GNU_GETTEXT_REQUIRE_VERSION([version]) instead of AM_GNU_GETTEXT_VERSION in configure.ac and then run autoreconf.

From https://www.gnu.org/software/gettext/manual/html_node/autopoint-Invocation.html

"The autopoint program copies standard gettext infrastructure files into a source package. It extracts from a macro call of the form AM_GNU_GETTEXT_VERSION(version), found in the package’s configure.in or configure.ac file, the gettext version used by the package, and copies the infrastructure files belonging to this version into the package.

To extract the latest available infrastructure which satisfies a version requirement, then you can use the form AM_GNU_GETTEXT_REQUIRE_VERSION(version) instead. For example, if gettext 0.21 is installed on your system and 0.19.1 is requested, then the infrastructure files of version 0.21 will be copied into a source package."

Summary: updated several files so that it build with current version of Mageia => gimp-plugin-astronomy: updated several files so that it build with current version of Mageia

Comment 2 Jani Välimaa 2022-10-04 16:35:46 CEST
Fixed with gimp-plugin-astronomy-0.11-1.mga9.

Status: NEW => RESOLVED
Resolution: (none) => FIXED
CC: (none) => jani.valimaa