[csw-devel] SF.net SVN: gar:[10040] csw/mgar/pkg

theferret at users.sourceforge.net theferret at users.sourceforge.net
Sun May 30 02:13:13 CEST 2010


Revision: 10040
          http://gar.svn.sourceforge.net/gar/?rev=10040&view=rev
Author:   theferret
Date:     2010-05-30 00:13:13 +0000 (Sun, 30 May 2010)

Log Message:
-----------
libxft2: quick relocation under /opt/csw instead of /opt/csw/X11

Added Paths:
-----------
    csw/mgar/pkg/libxft2/
    csw/mgar/pkg/libxft2/trunk/
    csw/mgar/pkg/libxft2/trunk/Makefile
    csw/mgar/pkg/libxft2/trunk/README
    csw/mgar/pkg/libxft2/trunk/copyright
    csw/mgar/pkg/libxft2/trunk/depend
    csw/mgar/pkg/libxft2/trunk/pkginfo
    csw/mgar/pkg/libxft2/trunk/prototype.i386
    csw/mgar/pkg/libxft2/trunk/prototype.sparc


Property changes on: csw/mgar/pkg/libxft2/trunk
___________________________________________________________________
Added: svn:ignore
   + cookies
download
work
cswstage
build


Added: csw/mgar/pkg/libxft2/trunk/Makefile
===================================================================
--- csw/mgar/pkg/libxft2/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/libxft2/trunk/Makefile	2010-05-30 00:13:13 UTC (rev 10040)
@@ -0,0 +1,85 @@
+#This Makefile originally generated from a template under 
+# pkg/TEMPLATES/createpkg
+# You will most likely have to use GNU make to use it.
+# This is one specifically hacked to make building sparcv9 packages
+# easier.
+#
+# Steps to use:
+# 
+# 1. put your normal prototype  as prototype.i386
+# 2. copy to prototype.sparc and edit as appropriate
+# 3. search for "XXX" and replace with appropriate string
+#
+# 4. build your package with:
+#    "make", "make sparcv9", "make package"
+
+
+#Uncomment one of these definitions. The -b invokation,
+# is suitable for use with small packages, where you want to have a few files
+# in your top level src directory. It is also suitable for
+# "relocateable" packages. see the createpkg docs for more details.
+#CREATEPKG=createpkg -b `pwd`
+CREATEPKG=createpkg -r `pwd`/build/*/cswstage
+
+## hax for sparcv9
+RAWLIB=libXft.so.2.1.13
+
+
+BUILDDIR=build/*
+
+
+
+STDFILES=pkginfo copyright prototype
+FILES=
+
+all:	build
+
+
+build:	build/.config.done
+	(cd $(BUILDDIR) ; \
+	$(MAKE) ; \
+	stagepkg  )
+
+
+# dummy target for configure
+build/.config.done:
+	@echo Configuring with:
+	@echo CC=$(CC) $(CFLAGS)
+	@echo CXX=$(CXX) $(CXXFLAGS)
+	(cd $(BUILDDIR) ; \
+	test -f ../../patchfile.preconf && \
+		gpatch -p0 <../../patchfile.preconf ; \
+	./configure --prefix=/opt/csw --disable-static ; \
+	if test -f ../../patchfile.postconf ; then \
+                 gpatch -p0 <../../patchfile.postconf ; fi)
+	touch build/.config.done
+
+
+# I tried depending this on   $(BUILDDIR)/config.log  but that didnt stick
+configure:	build/.config.done
+
+sparcv9:
+	(cd $(BUILDDIR)/src ; \
+	gmake clean;  \
+	LD_OPTIONS="" gmake CFLAGS='-xstrconst -fast -xarch=v9' \
+	  LDFLAGS='-R/opt/csw/lib/sparcv9 -L/opt/csw/lib/sparcv9'  ; \
+	  strip .libs/$(RAWLIB); \
+	  cp .libs/$(RAWLIB) ../cswstage ; cd .. ;\
+	  sed 's:libdir=.*:/opt/csw/lib/sparcv9:' xft.pc>cswstage/xft.pc.sparcv9 ; \
+	echo sparcv9 build done  )
+
+
+package:	$(STDFILE) $(FILES)
+	$(CREATEPKG)
+
+
+
+pkgclean:
+	rm -f *.pkg.gz package
+
+clean:	pkgclean
+	cd $(BUILDDIR) && make clean
+
+reallyclean:	clean
+	rm -f $BUILDDIR/config.log $BUILDDIR/config.cache $BUILDDIR/config.status
+	rm -f build/.config.done	

Added: csw/mgar/pkg/libxft2/trunk/README
===================================================================
--- csw/mgar/pkg/libxft2/trunk/README	                        (rev 0)
+++ csw/mgar/pkg/libxft2/trunk/README	2010-05-30 00:13:13 UTC (rev 10040)
@@ -0,0 +1,5 @@
+This is a "Phil quickie special", because William is rather busy right now.
+
+
+nothing special here. just extract libxft2 in build, then type "make" here.
+

Added: csw/mgar/pkg/libxft2/trunk/copyright
===================================================================
--- csw/mgar/pkg/libxft2/trunk/copyright	                        (rev 0)
+++ csw/mgar/pkg/libxft2/trunk/copyright	2010-05-30 00:13:13 UTC (rev 10040)
@@ -0,0 +1,21 @@
+
+Copyright © 2001,2003 Keith Packard
+
+Permission to use, copy, modify, distribute, and sell this software and its
+documentation for any purpose is hereby granted without fee, provided that
+the above copyright notice appear in all copies and that both that
+copyright notice and this permission notice appear in supporting
+documentation, and that the name of Keith Packard not be used in
+advertising or publicity pertaining to distribution of the software without
+specific, written prior permission.  Keith Packard makes no
+representations about the suitability of this software for any purpose.  It
+is provided "as is" without express or implied warranty.
+
+KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
+INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
+EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
+CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
+DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
+TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+PERFORMANCE OF THIS SOFTWARE.
+

Added: csw/mgar/pkg/libxft2/trunk/depend
===================================================================
--- csw/mgar/pkg/libxft2/trunk/depend	                        (rev 0)
+++ csw/mgar/pkg/libxft2/trunk/depend	2010-05-30 00:13:13 UTC (rev 10040)
@@ -0,0 +1,4 @@
+P	CSWcommon
+P	CSWftype2
+P	CSWfconfig
+P	CSWlibxrender

Added: csw/mgar/pkg/libxft2/trunk/pkginfo
===================================================================
--- csw/mgar/pkg/libxft2/trunk/pkginfo	                        (rev 0)
+++ csw/mgar/pkg/libxft2/trunk/pkginfo	2010-05-30 00:13:13 UTC (rev 10040)
@@ -0,0 +1,8 @@
+PKG=CSWlibxft2
+NAME=libxft2 - A client-side font API for X applications
+VERSION=2.1.14,REV=2010.05.30
+CATEGORY=application
+VENDOR=http://xorg.freedesktop.org/releases/X11R7.5/src/lib/ packaged for CSW by Philip Brown
+HOTLINE=http://www.opencsw.org/bugtrack/
+EMAIL=phil at opencsw.org
+OPENCSW_REPOSITORY=https://gar.svn.sf.net/svnroot/gar/csw/mgar/pkg/libxft2/trunk

Added: csw/mgar/pkg/libxft2/trunk/prototype.i386
===================================================================
--- csw/mgar/pkg/libxft2/trunk/prototype.i386	                        (rev 0)
+++ csw/mgar/pkg/libxft2/trunk/prototype.i386	2010-05-30 00:13:13 UTC (rev 10040)
@@ -0,0 +1,22 @@
+i pkginfo
+i copyright
+i depend
+d none /opt/csw/bin 0755 root bin
+f none /opt/csw/bin/xft-config 0755 root bin
+d none /opt/csw/share 0755 root bin
+d none /opt/csw/share/man 0755 root bin
+d none /opt/csw/share/man/man1 0755 root bin
+f none /opt/csw/share/man/man1/xft-config.1 0644 root bin
+d none /opt/csw/share/man/man3 0755 root bin
+f none /opt/csw/share/man/man3/Xft.3 0644 root bin
+d none /opt/csw/lib 0755 root bin
+s none /opt/csw/lib/libXft.so=libXft.so.2.1.13
+d none /opt/csw/lib/pkgconfig 0755 root bin
+f none /opt/csw/lib/pkgconfig/xft.pc 0644 root bin
+s none /opt/csw/lib/libXft.so.2=libXft.so.2.1.13
+f none /opt/csw/lib/libXft.so.2.1.13 0755 root bin
+d none /opt/csw/include 0755 root bin
+d none /opt/csw/include/X11 0755 root bin
+d none /opt/csw/include/X11/Xft 0755 root bin
+f none /opt/csw/include/X11/Xft/XftCompat.h 0644 root bin
+f none /opt/csw/include/X11/Xft/Xft.h 0644 root bin

Added: csw/mgar/pkg/libxft2/trunk/prototype.sparc
===================================================================
--- csw/mgar/pkg/libxft2/trunk/prototype.sparc	                        (rev 0)
+++ csw/mgar/pkg/libxft2/trunk/prototype.sparc	2010-05-30 00:13:13 UTC (rev 10040)
@@ -0,0 +1,27 @@
+i pkginfo
+i copyright
+i depend
+d none /opt/csw/bin 0755 root bin
+f none /opt/csw/bin/xft-config 0755 root bin
+d none /opt/csw/share 0755 root bin
+d none /opt/csw/share/man 0755 root bin
+d none /opt/csw/share/man/man1 0755 root bin
+f none /opt/csw/share/man/man1/xft-config.1 0644 root bin
+d none /opt/csw/share/man/man3 0755 root bin
+f none /opt/csw/share/man/man3/Xft.3 0644 root bin
+d none /opt/csw/lib 0755 root bin
+d none /opt/csw/lib/pkgconfig 0755 root bin
+f none /opt/csw/lib/pkgconfig/xft.pc 0644 root bin
+s none /opt/csw/lib/libXft.so=libXft.so.2.1.13
+s none /opt/csw/lib/libXft.so.2=libXft.so.2.1.13
+f none /opt/csw/lib/libXft.so.2.1.13 0755 root bin
+d none /opt/csw/include 0755 root bin
+d none /opt/csw/include/X11 0755 root bin
+d none /opt/csw/include/X11/Xft 0755 root bin
+f none /opt/csw/include/X11/Xft/XftCompat.h 0644 root bin
+f none /opt/csw/include/X11/Xft/Xft.h 0644 root bin
+d none /opt/csw/lib/sparcv9/pkgconfig 0755 root bin
+f none /opt/csw/lib/sparcv9/pkgconfig/xft.pc=xft.pc.sparcv9 0644 root bin
+s none /opt/csw/lib/sparcv9/libXft.so=lib/sparcv9Xft.so.2.1.13
+s none /opt/csw/lib/sparcv9/libXft.so.2=lib/sparcv9Xft.so.2.1.13
+f none /opt/csw/lib/sparcv9/libXft.so.2.1.13=libXft.so.2.1.13 0755 root bin


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list