Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/graphics
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv4138/graphics
Added Files:
xsane.info
Log Message:
Works on 10.8
--- NEW FILE: xsane.info ---
Package: xsane
Version: 0.998
Revision: 3
Source: mirror:custom:%n-%v.tar.gz
Source-MD5: 936f1cc76b37caa8f285e1e15ac7e0aa
CustomMirror: <<
nam-US: ftp://ftp2.sane-project.org/pub/sane/xsane
eur-NO: ftp://ftp3.sane-project.org/pub/sane/xsane
eur-AT: ftp://gd.tuwien.ac.at/hci/sane/xsane
eur-NO: ftp://sunsite.uio.no/pub/sane/xsane
eur-DE: http://www.xsane.org/cgi-bin/sitexplorer.cgi?/download
<<
Description: Graphical frontend and gimp2 plugin for sane
# first item is for a rotten test for gettext in configure;
# the -lintl in the LDFLAGS also (would be far better to just add this for the
configure test)
# second is for missing declarations _ would prefer not to use getopt.c
altogether (and libgnugetopt instead ?)
PatchScript: <<
#!/bin/sh -ev
sed -i.bak -e '/gettext in libintl/,/return/{ /^int$/i \
#include <libintl.h>
}' configure
sed -i.bak -e '1i \
#include <string.h>\
#include <unistd.h>
' lib/getopt.c
<<
Depends: <<
gimp2-svg-shlibs | gimp2-shlibs,
glib2-shlibs,
gtk+2-shlibs,
lcms2-shlibs,
libgettext8-shlibs,
libjpeg8-shlibs,
libpng14-shlibs,
libtiff-shlibs,
sane-backends-shlibs,
x11
<<
# former BuildDepends, adjusted for gnome2: gimp2-default (>= 2.4.5-1),
gimp2-dev (>= 2.4.5-1), sane-backends-dev (>= 1.0.19-1), libusb (>=
0.1.12-1013), libpng3, libjpeg, libtiff, libmpeg, glib2, gtk+2, netpbm10,
orbit2-dev, giflib, imlib, aalib (>= 1.4rc5-2), gnome-libs-dev,
libgettext3-dev, gettext-bin, gettext-tools, libiconv-dev, libexif12, libgphoto2
BuildDepends: <<
atk1,
cairo,
fontconfig2-dev,
freetype219,
gettext-tools,
gimp2-svg-default | gimp2-default,
gimp2-svg-dev | gimp2-dev,
glib2-dev,
glitz,
gtk+2,
gtk+2-dev,
lcms2,
libexif12,
libgettext8-dev,
libgphoto2,
libiconv-dev,
libjpeg8,
libpng14,
libtiff,
libusb,
pango1-xft2-ft219-dev,
pixman,
pkgconfig,
sane-backends-dev,
x11-dev
<<
SetCPPFlags: -DDEFAULT_BROWSER=open
SetLDFLAGS: -L%p/lib/pango-ft219/lib -L%p/lib/freetype219/lib
-L%p/lib/fontconfig2/lib -lintl
CompileScript: <<
PKG_CONFIG_PATH=%p/lib/pango-ft219/lib/pkgconfig:%p/lib/fontconfig2/lib/pkgconfig:%p/lib/freetype219/lib/pkgconfig:${PKG_CONFIG_PATH}
\
gt_cv_func_gettext_libc=no ./configure %c
cd lib && make && ranlib liblib.a
make
<<
InstallScript: <<
make install prefix=%i sane_prefix=%i mandir=%i/share/man
<<
DocFiles: xsane.COPYING xsane.TODO
DescPort: <<
configure test for 'gettext in libintl' is rotten,
neither includes libintl.h nor links to -lintl
Proper fix would be to configure.in and to m4/gettext.m4
Initial port by Pepe Barbe <[email protected]>
<<
Maintainer: None <[email protected]>
HomePage: http://www.xsane.org
License: GPL
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs