Bug 28598 - please build gimp-plugin-wavelet denoise for mageia8
Summary: please build gimp-plugin-wavelet denoise for mageia8
Status: RESOLVED WORKSFORME
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: All Packagers
QA Contact:
URL:
Whiteboard: Missing past plugins.
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-15 09:34 CET by Walter Müller
Modified: 2021-03-21 22:07 CET (History)
4 users (show)

See Also:
Source RPM: 8/x86_64/media/core/release/gimp-plugin-wavelet-denoise.rpm
CVE:
Status comment:


Attachments
Screenshot showing installed plugin 'showing' in menu (64.67 KB, image/png)
2021-03-19 21:14 CET, Lewis Smith
Details
Screenshot of invoked new plugin dialogue (47.70 KB, image/png)
2021-03-19 21:16 CET, Lewis Smith
Details

Description Walter Müller 2021-03-15 09:34:43 CET
Description of problem: the gimp-plugin wavelet-denoise is no more part of mageia 8. It is a great tool for retouching photographs.


Version-Release number of selected component (if applicable): mageia 8


How reproducible:


Steps to Reproduce:
1.
2.
3.
Comment 1 Lewis Smith 2021-03-15 22:24:19 CET
Do you know that the 'wavelet-denoise' plug-in is available for Gimp 2.10?
There is certainly no sign of it in Mageia 8. I will check M7. The nearest is wavelet-decompose.
Where did you get the left-truncated RPM reference in the SRPM box?

This needs some research. The User manual says "Several dozen plugins are included in the main GIMP distribution, and installed automatically along with GIMP" but without detailing them.

CC: (none) => lewyssmith

Comment 2 Walter Müller 2021-03-16 10:20:40 CET
Hello,

I tried this one with a download from that source: https://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/7.1/x86_64/media/core/release/gimp-plugin-wavelet-denoise-0.3.1-10.mga7.x86_64.rpm

I got this error:
urpmi gimp-plugin-wavelet-denoise-0.3.1-10.mga7.x86_64.rpm
Das gewünschte Paket kann nicht installiert werden:
gimp-plugin-wavelet-denoise-0.3.1-10.mga7.x86_64 (wegen nicht erfüllter Abhängigkeit von libgegl-npd-0.4.so.0()(64bit) )
(--> could not be installed, because there is no libgegl-npd-0.4.so...)

By searching after that libgegl-... I found in the mga8-sources ligegl0.4_0

I thought, it must be easy, to manage this, but I can't do this, I have not the knowledge.

When you use gimp, you can open -->Help  --> Plugin-Browser. There you can see installed plugins.

This question I don't understand, sorry:
"Where did you get the left-truncated RPM reference in the SRPM box?" Perhaps you ment the source above?  Another source would be here: https://pkgs.org/download/gimp-plugin-wavelet-denoise

I hope, I could answer your questions and I hope, that it would be possible to manage the problem, because wavelet-denoise is a really fine and easy tool for retouching photographs.

Thank you,
have a good time.
Comment 3 Aurelien Oudelet 2021-03-16 10:40:11 CET
Hi, thanks reporting this.

@Lewis, Gimp 2.10 was restored in late days of Mageia 8 devel because it was switched to latest Gimp's devel version and for python3 compatibility.

So, some plugins could be missing.

Assigning globally and CC'd David G. who recently enabled some other one.

Whiteboard: (none) => Missing past plugins.
Severity: enhancement => normal
Component: New RPM package request => RPM Packages
Assignee: bugsquad => pkg-bugs
CC: (none) => geiger.david68210, ouaurelien

Comment 4 David GEIGER 2021-03-16 19:11:34 CET
This package was removed for a good reason:

http://svnweb.mageia.org/packages/obsolete/gimp-plugin-wavelet-denoise/


So closing this bug as WONTFIX.

Thanks for your comprehension.

Status: NEW => RESOLVED
Resolution: (none) => WONTFIX

Comment 5 Lewis Smith 2021-03-16 20:50:36 CET
PostScript
 gimp-plugin-wavelet-denoise-0.3.1-10.mga7.src.rpm
was available, and for reasons already given, is no longer. From David's URL:
>  No update upstream in 3 years, no active maintainer on our end
The last bit is true for for most of our packages...
The first part may just mean that the package is stable, unchanging.
OTOH there may be a technical reason for this decision.
Being a Gimp user, I shall try installing on M8 the M7 package (if libgegl0.4_0 can be satisfied) to see what happens.
Comment 6 Walter Müller 2021-03-17 09:57:42 CET
@Lewis:

Thank you! 
You wrote: "Being a Gimp user, I shall try installing on M8 the M7 package (if libgegl0.4_0 can be satisfied) to see what happens."

How could I manage this?
Comment 7 Florian Hubold 2021-03-17 17:09:30 CET
(In reply to Walter Müller from comment #6)

> How could I manage this?

You'd have to force the installation, and manually create a symlink for libgegl as follows:


urpmi --allow-force ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/7/x86_64/media/core/release/gimp-plugin-wavelet-denoise-0.3.1-10.mga7.x86_64.rpm

ln -s /usr/lib64/libgegl-npd-0.4.so /usr/lib64/libgegl-npd-0.4.so.0


But I'm not sure if the plugin will still work, as it will not compile anymore under mga8 or other recent distros with gcc10, seems a patch is needed, see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=957272;msg=12

CC: (none) => doktor5000

Comment 8 Walter Müller 2021-03-18 17:21:38 CET
Thank you.

I could install with http://......, there was no symlink created because of existing libgegl-npd-0.4.so.0 [ln: die symbolische Verknüpfung '/usr/lib64/libgegl-npd-0.4.so.0' konnte nicht angelegt werden: Die Datei existiert bereits]

The plugin is not visible in gimp.

So it seems, that it does not work in mga 8.
Comment 9 Lewis Smith 2021-03-19 21:13:02 CET
Trying M8 at last. Thank you Florian for the explicit advice comment 7.
* Downloaded the given RPM
* Already had lib64gegl0.4_0-0.4.28-1.mga8.

* Created the symlink as instructed earlier:
$ ls -l /usr/lib64/libgegl-npd-0.4.*
-rwxr-xr-x 1 root root 32264 Rha  30 20:55 /usr/lib64/libgegl-npd-0.4.so*
lrwxrwxrwx 1 root root    29 Maw  19 20:43 /usr/lib64/libgegl-npd-0.4.so.0 -> /usr/lib64/libgegl-npd-0.4.so*

* Tested the install:
$ sudo urpmi --allow-force --test /mnt/common/downloads/gimp-plugin-wavelet-denoise-0.3.1-10.mga7.x86_64.rpm 
... Failed
	libgegl-npd-0.4.so.0()(64bit) is needed by gimp-plugin-wavelet-denoise-0.3.1-10.mga7.x86_64

* Forced it:
$ sudo urpmi --allow-force /mnt/common/downloads/gimp-plugin-wavelet-denoise-0.3.1-10.mga7.x86_64.rpm 
Installing gimp-plugin-wavelet-denoise-0.3.1-10.mga7.x86_64.rpm o /mnt/common/downloads
Installation failed:
	libgegl-npd-0.4.so.0()(64bit) is needed by gimp-plugin-wavelet-denoise-0.3.1-10.mga7.x86_64
Try install without the dependency (y/N) y
Preparing...               #############################################
      1/1: gimp-plugin-wavelet-denoise
                                 #############################################

* $ ls  /usr/lib64/gimp/2.0/plug-ins/wavelet*
/usr/lib64/gimp/2.0/plug-ins/wavelet-denoise*
/usr/lib64/gimp/2.0/plug-ins/wavelet-decompose:
wavelet-decompose*

The new plugin shows up in Gimp Filters-Enhance (screenshot to attach).
With an new image open, activating the plugin works (screenshot to attach).

@Walter : only you can say whether it actually works!
Comment 10 Lewis Smith 2021-03-19 21:14:52 CET
Created attachment 12480 [details]
Screenshot showing installed plugin 'showing' in menu
Comment 11 Lewis Smith 2021-03-19 21:16:09 CET
Created attachment 12481 [details]
Screenshot of invoked new plugin dialogue
Comment 12 Walter Müller 2021-03-20 10:57:32 CET
Thank you, Lewis.

I have problems with sudo. It seems, that I have no rights for it. How could I change this?
Comment 13 Aurelien Oudelet 2021-03-20 12:04:41 CET
(In reply to Walter Müller from comment #12)
> Thank you, Lewis.
> 
> I have problems with sudo. It seems, that I have no rights for it. How could
> I change this?

Make your user account member of wheel group using userdrake in Mageia Control Centre.
Comment 14 Walter Müller 2021-03-20 13:19:30 CET
ok, inspite of all, I get this:

$ sudo urpmi --allow-force
/mnt/common/downloads/gimp-plugin-wavelet-denoise-0.3.1-10.mga7.x86_64.rpm 
Installing gimp-plugin-wavelet-denoise-0.3.1-10.mga7.x86_64.rpm o
/mnt/common/downloads
[sudo] Passwort für walter: 
walter ist nicht in der sudoers-Datei. Dieser Vorfall wird gemeldet.
bash: /mnt/common/downloads/gimp-plugin-wavelet-denoise-0.3.1-10.mga7.x86_64.rpm: Datei oder Verzeichnis nicht gefunden
bash: Installing: Kommando nicht gefunden.
bash: /mnt/common/downloads: Datei oder Verzeichnis nicht gefunden
Comment 15 Walter Müller 2021-03-20 16:24:14 CET
and before. Why could'nt I download the rpm?

Namen oder RPM-Dateien von der Befehlszeile werden installiert.
-bash: ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/7/x86_64/media/core/release/gimp-plugin-wavelet-denoise-0.3.1-10.mga7.x86_64.rpm: Datei oder Verzeichnis nicht gefunden

And then, using root:

sudo urpmi --allow-force /mnt/common/downloads/gimp-plugin-wavelet-denoise-0.3.1-10.mga7.x86_64.rpm 
Zugriff auf die RPM-Datei [/mnt/common/downloads/gimp-plugin-wavelet-denoise-0.3.1-10.mga7.x86_64.rpm] nicht möglich
Fehler bei der Registrierung lokaler Pakete

?
Comment 16 Walter Müller 2021-03-21 17:16:28 CET
yeeeeeeeeeeeeeeeeeees!

I changed installing. Some days before I had downloaded the gimp-plugin-wavelet-denoise-0.3.1-10.mga7.x86_64.rpm, so I changed direction to this file and installed as shown above:

# urpmi --allow-force gimp-plugin-wavelet-denoise-0.3.1-10.mga7.x86_64.rpm

Then it comes: 

gimp-plugin-wavelet-denoise-0.3.1-10.mga7.x86_64.rpm wird installiert
Installation fehlgeschlagen:
	libgegl-npd-0.4.so.0()(64bit) wird benötigt von gimp-plugin-wavelet-denoise-0.3.1-10.mga7.x86_64
Soll eine Installation ohne Abhängigkeitstest versucht werden? (j/N) j
Vorbereiten …                    ##########################################################################################################################################################################################################
      1/1: gimp-plugin-wavelet-denoise
                                 ##########################################################################################################################################################################################################

Wavelet denoise is installed and using it on Gimp shows, that it functions as wished.

Thank you!!!
Comment 17 Lewis Smith 2021-03-21 20:11:36 CET
Sorry for your long struggle. You should have used comment 9 as a guide; I did not say to copy the commands exactly. I thought you would have seen that. You had 2 hurdles for nothing:
- 'sudo' is just to get root privileges for a command that requires it, like urpmi. You do not have to use it: 'su' to give you a root subshell (exit to leave), but it is less secure because of this.
- The path to the RPM was just on my box. I expected you to spot that; you did in the end.

> Wavelet denoise is installed and using it on Gimp shows that it functions
> as wished.
Thanks for the +ve feedback.

Resolution: WONTFIX => WORKSFORME

Comment 18 Walter Müller 2021-03-21 22:07:17 CET
Hello Lewis,
it seems to be my way of doing that. It's ok. I am really happy, that the plugin is again in gimp. I use it very often, when I retouch photographs of people, it is my first step-

Thank you!

Note You need to log in before you can comment on or make changes to this bug.