Summary: | graphics/xsane: Not recognized by gimp when installed as a package | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Mike Clarke <jmc-freebsd2> | ||||
Component: | Individual Port(s) | Assignee: | Dmitry Marakasov <amdmi3> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | avg, koalative, shoesoft | ||||
Priority: | --- | Keywords: | needs-qa, patch-ready | ||||
Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(koalative) |
||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Mike Clarke
2014-12-15 21:27:00 UTC
Maintainer CC'd (In reply to Bugzilla Automation from comment #1) > Maintainer CC'd (In reply to Mike Clarke from comment #0) > curlew:/home/mike% freebsd-version -uk > 10.1-RELEASE > 10.1-RELEASE-p1 > > Gimp produces the error message > > /home/mike/.gimp-2.8/plug-ins/xsane: GIMP support missing > (gimp:31420): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error > Hi, I am in the middle of holidays, will take a look in first week of Jan. IRC this does not happen on FreeBSD-9. (In reply to Dave Shar from comment #2) > Hi, I am in the middle of holidays, will take a look in first week of Jan. > IRC this does not happen on FreeBSD-9. I did have the same problem with 9.3-RELEASE <https://lists.freebsd.org/pipermail/freebsd-ports/2014-September/095300.html> but held back with a bug report until I'd upgraded to 10 in case it went away. It seems to affect xsane installed from the FreeBSD repository or a local poudriere repository but no problem when built directly from ports. (In reply to Mike Clarke from comment #3) > > I did have the same problem with 9.3-RELEASE > <https://lists.freebsd.org/pipermail/freebsd-ports/2014-September/095300. > html> but held back with a bug report until I'd upgraded to 10 in case it > went away. It seems to affect xsane installed from the FreeBSD repository or > a local poudriere repository but no problem when built directly from ports. This is poudriere related issue since install from ports works. Packages in FreeBSD repositories are built with poudriere or tinderbox and that is why it does not work in your case. I believe the plugin softlink is already there in ~/.gimp-\* I will still check why it does not work and see what can be done. (In reply to Dave Shar from comment #4) > (In reply to Mike Clarke from comment #3) > I believe the plugin softlink is already there in ~/.gimp-\* Yes it is curlew:/home/mike% ls -l ~/.gimp-2.8/plug-ins/ total 1 lrwxr-xr-x 1 mike mike 20 1 Sep 15:53 xsane@ -> /usr/local/bin/xsane curlew:/home/mike% ls -l /usr/local/bin/xsane -r-xr-xr-x 1 root wheel 620008 15 Dec 21:19 /usr/local/bin/xsane* Currently, gimp is listed as run dependency. For the plugin to work, gimp has to be available during the build. Otherwise: checking for GIMP - version >= 1.3.23... *** Could not run GIMP test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means GIMP is incorrectly installed. *** When gimp-2.0 is not installed but gimp-1.x is installed then you can *** ignore this error message. The problem should also occur if you build xsane from ports when gimp is not yet installed. Comment #6 correctly identified the problem. Are there any news on this bug? Created attachment 157407 [details]
trivial fix
This trivial patch seems to fix the problem.
(In reply to Andriy Gapon from comment #8) Yes, the patch fixes the problem here A commit references this bug: Author: amdmi3 Date: Thu Jun 25 21:57:49 UTC 2015 New revision: 390603 URL: https://svnweb.freebsd.org/changeset/ports/390603 Log: - Fix dependency on gimp: this is in face lib-depend PR: 196000 Submitted by: jmc-freebsd2@milibyte.co.uk, avg Approved by: maintainer timeout (koalative@gmail.com, 7 months) Changes: head/graphics/xsane/Makefile |