Update of /cvsroot/fink/experimental/dmacks/finkinfo
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv3452

Added Files:
        libgs8.63.info libgs8.63.patch libspectre1.info 
        libspectre1.patch 
Log Message:
builds, but can't read ps files...that's a problem for a ps reader lib


--- NEW FILE: libgs8.63.info ---
Package: libgs8.63
Version: 8.63
Revision: 1
Source: 
http://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs863/ghostscript-%v.tar.bz2
Source-MD5: c770eedfdd846a53e211e3ba5339de21
BuildDepends: <<
        fink (>= 0.24.12-1),
        libpng3,
        x11-dev
<<
Depends: %n-shlibs (= %v-%r)
BuildDependsOnly: true
PatchFile: %n.patch
PatchFile-MD5: dd25a10f6ac548bf780b3ef67ae0cc43
PatchScript: <<
        %{default_script}
        mv libpng libpng_UNUSED
        mv zlib zlib_UNUSED
<<
CompileScript: <<
        ln -s src/unix-gcc.mak makefile
        make so prefix=%p

        nm -j sobin/libgs.8.63.dylib | sort | uniq > sym
        echo "_gs_error_names" > expsym
        grep ^_gsapi_ sym | grep -v _gsapi_instance_counter >> expsym
        nmedit -s expsym sobin/libgs.8.63.dylib
<<
InstallScript: <<
        make soinstall DESTDIR=%d prefix=%p
<<
DocFiles: LICENSE
SplitOff: <<
        Package: %N-shlibs
        Depends: <<
                ghostscript-fonts,
                libpng3-shlibs,
                x11
        <<
        Files: <<
                lib/libgs.8.63.dylib
                share/ghostscript/%N/Resource
                share/ghostscript/%N/lib
        <<
        Shlibs: %p/lib/libgs.8.63.dylib 8.63.0 %n (>= 8.63-1)
        DocFiles: LICENSE
<<
DescPort: <<
        Adjust compiler and linker flags for darwin and fink

        Privatize all symbols except ones that seem part of external
        API (avoids multiple-definition warnings and other collisions
        if linking against (libgs and an external lib that libgs also
        has internally)
<<
DescPackaging: <<
        Hack to build the lib *only*, not programs on top of it.

        Adjust runtime datadir pathname (2 places!) to avoid collision
        with one from whatever fink package would have the programs as
        part of some other build.

        Use external libs whenever possible and adjust makefiles to
        pass fink -I and -L flags for them:
                png (fink)
                libz (system)
                jpeg (use included--apparently needs customized lib)

        CMap files are not GPL (see LICENSE file for info)
<<
Description: Ghostscript (PostScript rendering) library
Homepage: http://pages.cs.wisc.edu/~ghost
#License: GPL
License: Restrictive/Distributable
Maintainer: Daniel Macks <[EMAIL PROTECTED]>

--- NEW FILE: libspectre1.info ---
Package: libspectre1
Version: 0.2.2
Revision: 1
Source: http://libspectre.freedesktop.org/releases/libspectre-%v.tar.gz
Source-MD5: 0600653653d9313e3be135b2217ea7fd
BuildDepends: <<
        fink (>= 0.24.12-1),
        libgs8.63
<<
Depends: %n-shlibs (= %v-%r)
BuildDependsOnly: true
InfoTest: <<
        TestDepends: <<
                cairo (>= 1.8-1),
                freetype219 (>= 2.3.7-7),
                libpng3,
                pixman (>= 0.12.0-1),
                x11-dev
        <<
        TestConfigureParams: --enable-test
<<
PatchFile: %n.patch
PatchFile-MD5: 26710781395c12a82d9df101c2783e7e
PatchScript: <<
        %{default_script}
        rm -f libspectre/ghostscript/*.h
<<
ConfigureParams: --disable-dependency-tracking --disable-static
InstallScript: make install DESTDIR=%d
DocFiles: AUTHORS COPYING ChangeLog NEWS README TODO
SplitOff: <<
        Package: %N-shlibs
        Depends: libgs8.63-shlibs
        Files: lib/libspectre.1.*
        Shlibs: %p/lib/libspectre.1.dylib 3.0.0 %n (>= 0.2.2-1)
        DocFiles: AUTHORS COPYING ChangeLog NEWS README TODO
<<
DescPort: <<
        Don't rely on included libgs headers to match the external
        libgs library.See:
        https://bugs.freedesktop.org/show_bug.cgi?id=18827

        Fails miserably while loading files. See:
        https://bugs.freedesktop.org/show_bug.cgi?id=18826
<<
DescPackaging: <<
        Disable self-test (requires cairo and its deps) unless -m
<<
Description: PostScript document rendering library
Homepage: http://libspectre.freedesktop.org
License: GPL
Maintainer: Daniel Macks <[EMAIL PROTECTED]>


--- NEW FILE: libspectre1.patch ---
diff -Nurd -x'*~' libspectre-0.2.2.orig/configure libspectre-0.2.2/configure
--- libspectre-0.2.2.orig/configure     2008-11-25 11:24:10.000000000 -0500
+++ libspectre-0.2.2/configure  2008-11-29 13:19:15.000000000 -0500
@@ -21219,7 +21219,7 @@
 if test "${enable_test+set}" = set; then
   enableval=$enable_test; enable_test="$enableval"
 else
-  enable_test=yes
+  enable_test=no
 fi
 
 

--- NEW FILE: libgs8.63.patch ---
diff -Nurd -x'*~' ghostscript-8.63.orig/src/unix-dll.mak 
ghostscript-8.63/src/unix-dll.mak
--- ghostscript-8.63.orig/src/unix-dll.mak      2007-11-27 17:58:40.000000000 
-0500
+++ ghostscript-8.63/src/unix-dll.mak   2008-11-29 15:48:47.000000000 -0500
@@ -34,28 +34,28 @@
 # simple loader (no support for display device)
 GSSOC_XENAME=$(GS)c$(XE)
 GSSOC_XE=$(BINDIR)/$(GSSOC_XENAME)
-GSSOC=$(BINDIR)/$(SOBINRELDIR)/$(GSSOC_XENAME)
+#GSSOC=$(BINDIR)/$(SOBINRELDIR)/$(GSSOC_XENAME)
 
 # loader suporting display device using Gtk+
 GSSOX_XENAME=$(GS)x$(XE)
 GSSOX_XE=$(BINDIR)/$(GSSOX_XENAME)
-GSSOX=$(BINDIR)/$(SOBINRELDIR)/$(GSSOX_XENAME)
+#GSSOX=$(BINDIR)/$(SOBINRELDIR)/$(GSSOX_XENAME)
 
 # shared library
 GS_SONAME_BASE=lib$(GS)
 
 # GNU/Linux
-GS_SOEXT=so
-GS_SONAME=$(GS_SONAME_BASE).$(GS_SOEXT)
-GS_SONAME_MAJOR=$(GS_SONAME).$(GS_VERSION_MAJOR)
-GS_SONAME_MAJOR_MINOR=$(GS_SONAME).$(GS_VERSION_MAJOR).$(GS_VERSION_MINOR)
-LDFLAGS_SO=-shared -Wl,-soname=$(GS_SONAME_MAJOR)
+#GS_SOEXT=so
+#GS_SONAME=$(GS_SONAME_BASE).$(GS_SOEXT)
+#GS_SONAME_MAJOR=$(GS_SONAME).$(GS_VERSION_MAJOR)
+#GS_SONAME_MAJOR_MINOR=$(GS_SONAME).$(GS_VERSION_MAJOR).$(GS_VERSION_MINOR)
+#LDFLAGS_SO=-shared -Wl,-soname=$(GS_SONAME_MAJOR)
 
 # MacOS X
-#GS_SOEXT=dylib
-#GS_SONAME=$(GS_SONAME_BASE).$(GS_SOEXT)
-#GS_SONAME_MAJOR=$(GS_SONAME_BASE).$(GS_VERSION_MAJOR).$(GS_SOEXT)
-#GS_SONAME_MAJOR_MINOR=$(GS_SONAME_BASE).$(GS_VERSION_MAJOR).$(GS_VERSION_MINOR).$(GS_SOEXT)
+GS_SOEXT=dylib
+GS_SONAME=$(GS_SONAME_BASE).$(GS_SOEXT)
+GS_SONAME_MAJOR=$(GS_SONAME_BASE).$(GS_VERSION_MAJOR).$(GS_SOEXT)
+GS_SONAME_MAJOR_MINOR=$(GS_SONAME_BASE).$(GS_VERSION_MAJOR).$(GS_VERSION_MINOR).$(GS_SOEXT)
 #LDFLAGS_SO=-dynamiclib -flat-namespace
 #LDFLAGS_SO=-dynamiclib -install-name $(GS_SONAME_MAJOR_MINOR)
 #LDFLAGS_SO=-dynamiclib
@@ -63,6 +63,7 @@
 GS_SO=$(BINDIR)/$(GS_SONAME)
 GS_SO_MAJOR=$(BINDIR)/$(GS_SONAME_MAJOR) 
 GS_SO_MAJOR_MINOR=$(BINDIR)/$(GS_SONAME_MAJOR_MINOR)
+LDFLAGS_SO=-dynamiclib -install_name $(libdir)/$(GS_SONAME_MAJOR_MINOR) 
-compatibility_version $(GS_VERSION_MAJOR).$(GS_VERSION_MINOR) -L$(libdir)
 
 # Shared object is built by redefining GS_XE in a recursive make.
 
@@ -116,8 +117,8 @@
        -mkdir -p $(DESTDIR)$(bindir)
        -mkdir -p $(DESTDIR)$(libdir)
        -mkdir -p $(DESTDIR)$(gsincludedir)
-       $(INSTALL_PROGRAM) $(GSSOC) $(DESTDIR)$(bindir)/$(GSSOC_XENAME)
-       $(INSTALL_PROGRAM) $(GSSOX) $(DESTDIR)$(bindir)/$(GSSOX_XENAME)
+#      $(INSTALL_PROGRAM) $(GSSOC) $(DESTDIR)$(bindir)/$(GSSOC_XENAME)
+#      $(INSTALL_PROGRAM) $(GSSOX) $(DESTDIR)$(bindir)/$(GSSOX_XENAME)
        $(INSTALL_PROGRAM) $(BINDIR)/$(SOBINRELDIR)/$(GS_SONAME_MAJOR_MINOR) 
$(DESTDIR)$(libdir)/$(GS_SONAME_MAJOR_MINOR)
        $(RM_) $(DESTDIR)$(libdir)/$(GS_SONAME)
        ln -s $(GS_SONAME_MAJOR_MINOR) $(DESTDIR)$(libdir)/$(GS_SONAME)
@@ -127,7 +128,7 @@
        $(INSTALL_DATA) $(PSSRC)ierrors.h $(DESTDIR)$(gsincludedir)/ierrors.h
        $(INSTALL_DATA) $(PSSRC)gdevdsp.h $(DESTDIR)$(gsincludedir)/gdevdsp.h
 
-soinstall: install-so install-scripts install-data $(INSTALL_SHARED) 
$(INSTALL_CONTRIB)
+soinstall: install-so install-data $(INSTALL_SHARED) $(INSTALL_CONTRIB)
 
 # Make the build directories
 SODIRS: STDDIRS
diff -Nurd -x'*~' ghostscript-8.63.orig/src/unix-gcc.mak 
ghostscript-8.63/src/unix-gcc.mak
--- ghostscript-8.63.orig/src/unix-gcc.mak      2008-02-29 03:13:08.000000000 
-0500
+++ ghostscript-8.63/src/unix-gcc.mak   2008-11-30 13:10:48.000000000 -0500
@@ -62,8 +62,8 @@
 man1ext = 1
 datadir = $(prefix)/share
 gsdir = $(datadir)/ghostscript
-gsdatadir = $(gsdir)/$(GS_DOT_VERSION)
-gssharedir = $(libdir)/ghostscript/$(GS_DOT_VERSION)
+gsdatadir = $(gsdir)/libgs$(GS_DOT_VERSION)
+gssharedir = $(libdir)/ghostscript/libgs$(GS_DOT_VERSION)
 gsincludedir = $(includedir)/ghostscript/
 
 docdir=$(gsdatadir)/doc
@@ -149,25 +149,25 @@
 # You may need to change this if the libpng version changes.
 # See libpng.mak for more information.
 
-PNGSRCDIR=libpng
+PNGSRCDIR=$(prefix)/include
 
 # Choose whether to use a shared version of the PNG library, and if so,
 # what its name is.
 # See gs.mak and Make.htm for more information.
 
-SHARE_LIBPNG=0
+SHARE_LIBPNG=1
 LIBPNG_NAME=png
 
 # Define the directory where the zlib sources are stored.
 # See zlib.mak for more information.
 
-ZSRCDIR=zlib
+ZSRCDIR=$(prefix)/include
 
 # Choose whether to use a shared version of the zlib library, and if so,
 # what its name is (usually libz, but sometimes libgz).
 # See gs.mak and Make.htm for more information.
 
-SHARE_ZLIB=0
+SHARE_ZLIB=1
 #ZLIB_NAME=gz
 ZLIB_NAME=z
 
@@ -224,7 +224,7 @@
 CFLAGS_STANDARD=-O2
 CFLAGS_DEBUG=-g -O0
 CFLAGS_PROFILE=-pg -O2
-CFLAGS_SO=-fPIC -shared
+CFLAGS_SO=-fPIC
 
 # Define the other compilation flags.  Add at most one of the following:
 #      -DBSD4_2 for 4.2bsd systems.
@@ -259,7 +259,7 @@
 # Solaris may need -lnsl -lsocket -lposix4.
 # (Libraries required by individual drivers are handled automatically.)
 
-EXTRALIBS=-rdynamic -ldl
+EXTRALIBS=
 
 # Define the standard libraries to search at the end of linking.
 # Most platforms require -lpthread for the POSIX threads library;
@@ -399,8 +399,9 @@
 DEVICE_DEVS21=$(DD)spotcmyk.dev $(DD)devicen.dev $(DD)xcf.dev $(DD)bmpsep1.dev 
$(DD)bmpsep8.dev $(DD)bmp16m.dev $(DD)bmp32b.dev $(DD)psdcmyk.dev 
$(DD)psdrgb.dev $(DD)pamcmyk32.dev
 
 # Shared library target to build.
-GS_SHARED_OBJS=$(GLOBJDIR)/X11.so $(GLOBJDIR)/lvga256.so $(GLOBJDIR)/vgalib.so
+#GS_SHARED_OBJS=$(GLOBJDIR)/X11.so $(GLOBJDIR)/lvga256.so $(GLOBJDIR)/vgalib.so
 #GS_SHARED_OBJS=$(GLOBJDIR)/X11.so
+GS_SHARED_OBJS=
 
 # ---------------------------- End of options --------------------------- #
 
diff -Nurd -x'*~' ghostscript-8.63.orig/src/unixinst.mak 
ghostscript-8.63/src/unixinst.mak
--- ghostscript-8.63.orig/src/unixinst.mak      2007-08-14 16:48:29.000000000 
-0400
+++ ghostscript-8.63/src/unixinst.mak   2008-11-29 06:05:23.000000000 -0500
@@ -53,7 +53,7 @@
 PSEXDIR=$(PSLIBDIR)/../examples
 PSMANDIR=$(PSLIBDIR)/../man
 
-install-data: install-libdata install-resdata install-doc install-man 
install-examples
+install-data: install-libdata install-resdata install-doc install-examples
 
 # There's no point in providing a complete dependency list: we include
 # one file from each subdirectory just as a sanity check.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to