From owner-freebsd-ports@FreeBSD.ORG Fri Sep 5 11:18:39 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7F6CAF0B for ; Fri, 5 Sep 2014 11:18:39 +0000 (UTC) Received: from avasout08.plus.net (avasout08.plus.net [212.159.14.20]) by mx1.freebsd.org (Postfix) with ESMTP id EDC4114AA for ; Fri, 5 Sep 2014 11:18:37 +0000 (UTC) Received: from curlew.milibyte.co.uk ([84.92.153.232]) by avasout08 with smtp id nPJa1o005516WCc01PJbNw; Fri, 05 Sep 2014 12:18:36 +0100 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.1 cv=fsVSZTIf c=1 sm=1 tr=0 a=lfSX4pPLp9EkufIcToJk/A==:117 a=lfSX4pPLp9EkufIcToJk/A==:17 a=D7rCoLxHAAAA:8 a=0Bzu9jTXAAAA:8 a=OOzCJWdBeL0A:10 a=Tcj7s0NxxwAA:10 a=OAqljaM3Y2cA:10 a=ZTb9aqGL9YkA:10 a=8nJEP1OIZ-IA:10 a=6I5d2MoRAAAA:8 a=pGLkceISAAAA:8 a=5mfK3YTBAAAA:8 a=sZlbb26qbGhy5EmwA7MA:9 a=wPNLvfGTeEIA:10 a=MSl-tDqOz04A:10 Received: from curlew.lan ([192.168.1.13]) by curlew.milibyte.co.uk with esmtp (Exim 4.84) (envelope-from ) id 1XPrXF-0001aO-NL for freebsd-ports@freebsd.org; Fri, 05 Sep 2014 12:18:34 +0100 From: Mike Clarke To: freebsd-ports@freebsd.org Date: Fri, 05 Sep 2014 12:18:32 +0100 Message-ID: <2699983.mP1DDQ7fn8@curlew.lan> User-Agent: KMail/4.12.5 (FreeBSD/9.3-RELEASE; KDE/4.12.5; amd64; ; ) MIME-Version: 1.0 X-SA-Exim-Connect-IP: 192.168.1.13 X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on curlew.lan X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, T_FILL_THIS_FORM_SHORT autolearn=ham autolearn_force=no version=3.4.0 Subject: Poudriere fails to set up gimp support for xsane Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="iso-8859-1" X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on curlew.milibyte.co.uk) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Sep 2014 11:18:39 -0000 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