Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Sep 2014 12:18:32 +0100
From:      Mike Clarke <jmc-freebsd2@milibyte.co.uk>
To:        freebsd-ports@freebsd.org
Subject:   Poudriere fails to set up gimp support for xsane
Message-ID:  <2699983.mP1DDQ7fn8@curlew.lan>

next in thread | raw e-mail | index | archive | help
I first raised this issue a few weeks ago under the thread "Cant get 
gimp to use xsane with FreeBSD 10.-RELRASE" but after further testing 
it's starting to look like an issue with poudriere so I thought it 
appropriate to start a new thread.

The problem doesn't appear to be related to the version of gimp, xsane 
or the OS but, for the record, here's what I currently have

curlew:/home/mike% uname -a
FreeBSD curlew.lan 9.3-RELEASE FreeBSD 9.3-RELEASE #0 r268512: Thu Jul 
10 23:44:39 UTC 2014     
root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

curlew:/home/mike% pkg info gimp-app xsane pkg poudriere
gimp-app-2.8.10_5,1
xsane-0.999_2
pkg-1.3.7
poudriere-3.0.17

The problem first became apparrent with gimp and xsane installed from 
packages. Despite pkg info indicating that xsane was built with gimp 
plugin support the option to use xsane did not appear in gimp's "File 
- Create" menu. The output from "gimp --verbose" contained the 
following message:

Parsing '/home/mike/.gimp-2.8/pluginrc'
Querying plug-in: '/home/mike/.gimp-2.8/plug-ins/xsane'
/home/mike/.gimp-2.8/plug-ins/xsane: GIMP support missing

(gimp:4780): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Terminating plug-in: '/home/mike/.gimp-2.8/plug-ins/xsane'

Thinking that there might be a problem with the copy of xsane in the 
FreeBSD repository I then used poudriere to build a package for xsane 
and installed that but had exactly the same problem.

I then used portmaster to build xsane from ports with exactly the same 
options and could access xsane from gimp without any problem.

I've attached output from pkg info for all three versions of the 
package where it can be seen that the working package built by 
portmaster requires 8 libgimp* shared libs but these do not appear in 
the output for the faulty packages from the FreeBSD repository or my 
poudriere repository

=====================================================================

Details of xsane built with portmaster

=====================================================================
curlew:/home/mike% pkg info xsane                                               
xsane-0.999_2                                                                   
Name           : xsane                                                          
Version        : 0.999_2                                                        
Installed on   : Thu Sep  4 20:32:06 BST 2014                                   
Origin         : graphics/xsane                                                 
Architecture   : freebsd:9:x86:64                                               
Prefix         : /usr/local                                                     
Categories     : graphics                                                       
Licenses       : GPLv2                                                          
Maintainer     : koalative@gmail.com                                            
WWW            : http://www.xsane.org/                                          
Comment        : Gtk-based X11 frontend for SANE (Scanner Access Now 
Easy)      
Options        :                                                                
        DOCS           : on                                                     
        GIMP           : on                                                     
        NLS            : on                                                     
Shared Libs required:                                                           
        libtiff.so.4                                                            
        libsane.so.1                                                            
        libpng15.so.15                                                          
        libpangoft2-1.0.so.0                                                    
        libpangocairo-1.0.so.0                                                  
        libpango-1.0.so.0                                                       
        liblcms.so.1                                                            
        libjpeg.so.11                                                           
        libintl.so.9                                                            
        libgtk-x11-2.0.so.0                                                     
        libgobject-2.0.so.0                                                     
        libglib-2.0.so.0                                                        
        libgio-2.0.so.0                                                         
        libgimpwidgets-2.0.so.0                                                 
        libgimpui-2.0.so.0                                                      
        libgimpmodule-2.0.so.0                                                  
        libgimpmath-2.0.so.0                                                    
        libgimpconfig-2.0.so.0                                                  
        libgimpcolor-2.0.so.0                                                   
        libgimpbase-2.0.so.0                                                    
        libgimp-2.0.so.0                                                        
        libgdk_pixbuf-2.0.so.0                                                  
        libgdk-x11-2.0.so.0                                                     
        libfreetype.so.6                                                        
        libfontconfig.so.1
        libcairo.so.2
        libatk-1.0.so.0
Flat size      : 4.72MiB
Description    :
XSANE is a gtk based X11 frontend for SANE (Scanner Access Now Easy).
It works either standalone or as a GIMP plugin.

WWW: http://www.xsane.org/
=====================================================================

Details of xsane built with poudriere

Note 8 missing shared libs: libgimpwidgets-2.0.so.0 libgimpui-2.0.so.0 
libgimpmodule-2.0.so.0 libgimpmath-2.0.so.0 libgimpconfig-2.0.so.0 
libgimpcolor-2.0.so.0 libgimpbase-2.0.so.0 libgimp-2.0.so.0                                                      

=====================================================================
curlew:/home/mike% pkg info xsane
xsane-0.999_2
Name           : xsane
Version        : 0.999_2
Installed on   : Fri Sep  5 10:29:08 BST 2014
Origin         : graphics/xsane
Architecture   : freebsd:9:x86:64
Prefix         : /usr/local
Categories     : graphics
Licenses       : GPLv2
Maintainer     : koalative@gmail.com
WWW            : http://www.xsane.org/
Comment        : Gtk-based X11 frontend for SANE (Scanner Access Now 
Easy)
Options        :
        DOCS           : on
        GIMP           : on
        NLS            : on
Shared Libs required:
        libtiff.so.4
        libsane.so.1
        libpng15.so.15
        libpangoft2-1.0.so.0
        libpangocairo-1.0.so.0
        libpango-1.0.so.0
        liblcms.so.1
        libjpeg.so.11
        libintl.so.9
        libgtk-x11-2.0.so.0
        libgobject-2.0.so.0
        libglib-2.0.so.0
        libgio-2.0.so.0
        libgdk_pixbuf-2.0.so.0
        libgdk-x11-2.0.so.0
        libfreetype.so.6
        libfontconfig.so.1
        libcairo.so.2
        libatk-1.0.so.0
Annotations    :
        repo_type      : binary
        repository     : poudriere
Flat size      : 4.71MiB
Description    :
XSANE is a gtk based X11 frontend for SANE (Scanner Access Now Easy).
It works either standalone or as a GIMP plugin.

WWW: http://www.xsane.org/
=====================================================================

Details of xsane installed from FreeBSD repository
Note the same 8 missing shared libs but also an extra 10 libX* shared 
libs not present in the other 2 versions                                                

=====================================================================
curlew:/home/mike% pkg info xsane
xsane-0.999_2
Name           : xsane
Version        : 0.999_2
Installed on   : Fri Sep  5 10:40:15 BST 2014
Origin         : graphics/xsane
Architecture   : freebsd:9:x86:64
Prefix         : /usr/local
Categories     : graphics
Licenses       : GPLv2
Maintainer     : koalative@gmail.com
WWW            : http://www.xsane.org/
Comment        : Gtk-based X11 frontend for SANE (Scanner Access Now 
Easy)
Options        :
        DOCS           : on
        GIMP           : on
        NLS            : on
Shared Libs required:
        libtiff.so.4
        libsane.so.1
        libpng15.so.15
        libpangoft2-1.0.so.0
        libpangocairo-1.0.so.0
        libpango-1.0.so.0
        liblcms.so.1
        libjpeg.so.11
        libintl.so.9
        libgtk-x11-2.0.so.0
        libgobject-2.0.so.0
        libglib-2.0.so.0
        libgio-2.0.so.0
        libgdk_pixbuf-2.0.so.0
        libgdk-x11-2.0.so.0
        libfreetype.so.6
        libfontconfig.so.1
        libcairo.so.2
        libatk-1.0.so.0
        libXrender.so.1
        libXrandr.so.2
        libXinerama.so.1
        libXi.so.6
        libXfixes.so.3
        libXext.so.6
        libXdamage.so.1
        libXcursor.so.1
        libXcomposite.so.1
        libX11.so.6
Annotations    :
        repo_type      : binary
        repository     : FreeBSD
Flat size      : 4.71MiB
Description    :
XSANE is a gtk based X11 frontend for SANE (Scanner Access Now Easy).
It works either standalone or as a GIMP plugin.

WWW: http://www.xsane.org/
=====================================================================
     
-- 
Mike Clarke



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2699983.mP1DDQ7fn8>