Author: qboosh                       Date: Tue May  1 21:14:40 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added pkgconfig patch, fixed GTK*,SDL*,Image_SVG build

---- Files affected:
SPECS:
   pike.spec (1.44 -> 1.45) 

---- Diffs:

================================================================
Index: SPECS/pike.spec
diff -u SPECS/pike.spec:1.44 SPECS/pike.spec:1.45
--- SPECS/pike.spec:1.44        Tue May  1 18:53:49 2007
+++ SPECS/pike.spec     Tue May  1 23:14:34 2007
@@ -3,6 +3,9 @@
 # Conditional build:
 %bcond_without GL      # don't build GL and GLUT modules
 #
+# TODO:
+# - dvb (not ready for version 3 API in Linux 2.6.x)
+# - PDF.Panda?
 %include       /usr/lib/rpm/macros.perl
 Summary:       Interpreted, high-level, object oriented language
 Summary(pl.UTF-8):     Interpretowalny, obiektowy język wysokiego poziomu
@@ -24,7 +27,9 @@
 Patch3:                %{name}-freetype-includes.patch
 Patch4:                %{name}-ssl.patch
 Patch5:                %{name}-sparc.patch
+Patch6:                %{name}-pkgconfig.patch
 URL:           http://pike.ida.liu.se/
+BuildRequires: Mird-devel
 %{?with_GL:BuildRequires:      OpenGL-devel}
 %{?with_GL:BuildRequires:      OpenGL-glut-devel}
 BuildRequires: SDL-devel
@@ -41,12 +46,14 @@
 BuildRequires: gtk+-devel
 BuildRequires: libglade-devel
 BuildRequires: libjpeg-devel
+BuildRequires: librsvg-devel >= 2.0
 BuildRequires: libtiff-devel
 BuildRequires: mysql-devel >= 3.20
 BuildRequires: nettle-devel
 BuildRequires: openssl-devel >= 0.9.7d
 BuildRequires: pdflib-devel
 BuildRequires: perl-base >= 1:5.6
+BuildRequires: pkgconfig
 BuildRequires: postgresql-devel >= 7.2
 BuildRequires: postgresql-backend-devel >= 7.2
 BuildRequires: sane-backends-devel
@@ -288,6 +295,7 @@
 %patch4 -p1
 # issue fixed (s/\*/+/)? needs check if pike works on sparc now
 #%patch5 -p1
+%patch6 -p1
 
 %build
 # TODO
@@ -301,12 +309,17 @@
        %{__autoconf} -I ../..
        cd ..
 done
-cd ..
+cd ../post_modules/_Image_SVG
+%{__autoconf} -I ../..
+cd ../..
 # workaround - don't try to rebuild other configures
 # (or all Makefile.in files must be patched with s/--localdir/-I/)
 touch */configure */*/configure */*/*/configure
 CPPFLAGS="-I/usr/include/postgresql/internal -I/usr/include/postgresql/server"
 %configure \
+       GTK_CONFIG=/usr/bin/gtk-config \
+       LIBGLADE_CONFIG=/usr/bin/libglade-config \
+       SDL_CONFIG=/usr/bin/sdl-config \
        --with-double-precision \
        --with-freetype \
        --with-gif \
@@ -478,6 +491,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.45  2007/05/01 21:14:34  qboosh
+- added pkgconfig patch, fixed GTK*,SDL*,Image_SVG build
+
 Revision 1.44  2007/05/01 16:53:49  qboosh
 - up to 7.6.112 (still doesn't build)
 - removed obsolete Image-configure patch
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/pike.spec?r1=1.44&r2=1.45&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to