SOURCES: Xdialog-configure.patch - build with gtk2

aredridel aredridel at pld-linux.org
Mon Mar 20 05:08:47 CET 2006


Author: aredridel                    Date: Mon Mar 20 04:08:46 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- build with gtk2

---- Files affected:
SOURCES:
   Xdialog-configure.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/Xdialog-configure.patch
diff -u SOURCES/Xdialog-configure.patch:1.1 SOURCES/Xdialog-configure.patch:1.2
--- SOURCES/Xdialog-configure.patch:1.1	Tue Aug 31 19:03:10 2004
+++ SOURCES/Xdialog-configure.patch	Mon Mar 20 05:08:41 2006
@@ -1,10 +1,36 @@
---- Xdialog-2.1.2/configure.in.orig	2004-08-31 18:51:36.000000000 +0200
-+++ Xdialog-2.1.2/configure.in	2004-08-31 18:53:16.000000000 +0200
-@@ -19,6 +19,7 @@
- AC_PROG_CC
+diff -ur Xdialog-2.2.0-orig/configure.in Xdialog-2.2.0/configure.in
+--- Xdialog-2.2.0-orig/configure.in	2006-02-17 08:36:26.000000000 -0700
++++ Xdialog-2.2.0/configure.in	2006-03-19 20:58:24.000000000 -0700
+@@ -20,6 +20,7 @@
  AM_PROG_CC_STDC
+ AC_PROG_RANLIB
  AC_HEADER_STDC
 +AC_PROG_RANLIB
  AC_CHECK_HEADERS(unistd.h)
  AC_CHECK_HEADERS(errno.h)
  AC_CHECK_HEADERS(fcntl.h)
+@@ -29,20 +30,9 @@
+ ALL_LINGUAS="fr de ru es hu pt_BR no_NO id nl it pl ca sv_SE"
+ AM_GNU_GETTEXT([external])
+ 
+-compile_for="gtk1"
+-AC_ARG_WITH(gtk2,
+-  [  --with-gtk2             Compiles for GTK2],[
+-  compile_for="gtk2"
+-  CPPFLAGS="$CPPFLAGS -DUSE_GTK2"
+-  AC_MSG_RESULT(Compiling for GTK2)
+-  ])
+-if test "$compile_for" = "gtk2" ; then
+-  AM_PATH_GTK_2_0(2.2.0, ,
+-            AC_MSG_ERROR(Cannot find GTK2.))
+-else
+-  AM_PATH_GTK(1.2.0, ,
+-            AC_MSG_ERROR(Cannot find GTK: Is gtk-config in path?))
+-fi
++CPPFLAGS="$CPPFLAGS -DUSE_GTK2"
++AC_MSG_RESULT(Compiling for GTK2)
++AM_PATH_GTK_2_0(2.2.0, , AC_MSG_ERROR(Cannot find GTK2.))
+ 
+ dnl Set PACKAGE_DATA_DIR in config.h.
+ if test "x${datadir}" = 'x${prefix}/share'; then
+Only in Xdialog-2.2.0: configure.in.orig
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/Xdialog-configure.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list