Author: gcasa
Date: Sun Oct  5 06:39:21 2014
New Revision: 38104

URL: http://svn.gna.org/viewcvs/gnustep?rev=38104&view=rev
Log:
Fix script and add config file to directory.

Added:
    tools/scripts/trunk/fontconfig.pc
Modified:
    tools/scripts/trunk/windows-build

Added: tools/scripts/trunk/fontconfig.pc
URL: 
http://svn.gna.org/viewcvs/gnustep/tools/scripts/trunk/fontconfig.pc?rev=38104&view=auto
==============================================================================
--- tools/scripts/trunk/fontconfig.pc   (added)
+++ tools/scripts/trunk/fontconfig.pc   Sun Oct  5 06:39:21 2014
@@ -0,0 +1,12 @@
+prefix=/mingw
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: Fontconfig
+Version: 2.9.0
+Description: Font configuration and customization library
+
+Libs: -L${libdir} -lfontconfig
+Libs.private: -lz -lexpat -lfreetype    
+Cflags: -I${includedir}

Modified: tools/scripts/trunk/windows-build
URL: 
http://svn.gna.org/viewcvs/gnustep/tools/scripts/trunk/windows-build?rev=38104&r1=38103&r2=38104&view=diff
==============================================================================
--- tools/scripts/trunk/windows-build   (original)
+++ tools/scripts/trunk/windows-build   Sun Oct  5 06:39:21 2014
@@ -3,11 +3,18 @@
 echo "Building for Windows/win32/MinGW..."
 echo ""
 
-export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
+if [ -f /mingw/lib/pkgconfig/fontconfig.pc ]; then
+    echo "fontconfig.pc file exists..."
+else
+    echo "fontconfig.pc does not exist, copying..."
+    cp ./fontconfig.pc /mingw/lib/pkgconfig
+fi
+
+export 
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/mingw/lib/pkgconfig:${PKG_CONFIG_PATH}
 cd make && ./configure --with-layout=gnustep --prefix=/GNUstep && make install
 cd ../base && CFLAGS+=-I/usr/local/include LDFLAGS+=-L/usr/local/lib 
./configure --with-installation-domain=SYSTEM && make 
GNUSTEP_INSTALLATION_DOMAIN=SYSTEM debug=yes install
 cd ../gui && ./configure && make GNUSTEP_INSTALLATION_DOMAIN=SYSTEM debug=yes 
install
-cd ../back && ./configure --enable-graphic=cairo && make 
GNUSTEP_INSTALLATION_DOMAIN=SYSTEM debug=yes install
+cd ../back && ./configure --enable-graphics=cairo && make 
GNUSTEP_INSTALLATION_DOMAIN=SYSTEM debug=yes install
 
 echo ""
 echo "Done."


_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to