Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:j_ohny_b:KTechLab
gtkextra2
gtkextra2-configure-ac.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gtkextra2-configure-ac.patch of Package gtkextra2
diff -pruN gtk+extra-2.1.2.orig/acconfig.h gtk+extra-2.1.2/acconfig.h --- gtk+extra-2.1.2.orig/acconfig.h 2002-02-27 21:28:57.000000000 +0100 +++ gtk+extra-2.1.2/acconfig.h 1970-01-01 01:00:00.000000000 +0100 @@ -1,29 +0,0 @@ -/* acconfig.h - This file is in the public domain. - - Descriptive text for the C preprocessor macros that - the distributed Autoconf macros can define. - No software package will use all of them; autoheader copies the ones - your configure.in uses into your configuration header file templates. - - The entries are in sort -df order: alphabetical, case insensitive, - ignoring punctuation (such as underscores). Although this order - can split up related entries, it makes it easier to check whether - a given entry is in the file. - - Leave the following blank line there!! Autoheader needs it. */ - - -/* Other stuff */ -#undef ENABLE_NLS - -#undef HAVE_GETTEXT -#undef HAVE_UNISTD_H -#undef HAVE_DIRENT_H -#undef HAVE_FNMATCH_H - - -/* Leave that blank line there!! Autoheader needs it. - If you're adding to this file, keep in mind: - The entries are in sort -df order: alphabetical, case insensitive, - ignoring punctuation (such as underscores). */ diff -pruN gtk+extra-2.1.2.orig/config.h.in gtk+extra-2.1.2/config.h.in --- gtk+extra-2.1.2.orig/config.h.in 2010-03-21 01:05:55.000000000 +0100 +++ gtk+extra-2.1.2/config.h.in 2014-12-21 12:14:58.602408508 +0100 @@ -1,33 +1,4 @@ /* config.h.in. Generated from configure.in by autoheader. */ -/* acconfig.h - This file is in the public domain. - - Descriptive text for the C preprocessor macros that - the distributed Autoconf macros can define. - No software package will use all of them; autoheader copies the ones - your configure.in uses into your configuration header file templates. - - The entries are in sort -df order: alphabetical, case insensitive, - ignoring punctuation (such as underscores). Although this order - can split up related entries, it makes it easier to check whether - a given entry is in the file. - - Leave the following blank line there!! Autoheader needs it. */ - - -/* Other stuff */ -#undef ENABLE_NLS - -#undef HAVE_GETTEXT -#undef HAVE_UNISTD_H -#undef HAVE_DIRENT_H -#undef HAVE_FNMATCH_H - - -/* Leave that blank line there!! Autoheader needs it. - If you're adding to this file, keep in mind: - The entries are in sort -df order: alphabetical, case insensitive, - ignoring punctuation (such as underscores). */ /* undef */ #undef ENABLE_NLS diff -pruN gtk+extra-2.1.2.orig/configure.ac gtk+extra-2.1.2/configure.ac --- gtk+extra-2.1.2.orig/configure.ac 1970-01-01 01:00:00.000000000 +0100 +++ gtk+extra-2.1.2/configure.ac 2014-12-21 12:14:58.602408508 +0100 @@ -0,0 +1,211 @@ +# Process this file with autoconf to produce a configure script. +AC_INIT(gtkextra) + +# Save this value here, since automake will set cflags later +cflags_set=${CFLAGS+set} + +AC_DIVERT_PUSH(NOTICE)dnl +# Making releases: +# GTK_EXTRA_MICRO_VERSION += 1; +# GTK_EXTRA_INTERFACE_AGE += 1; +# GTK_EXTRA_BINARY_AGE += 1; +# if any functions have been added, set GTK_EXTRA_INTERFACE_AGE to 0. +# if backwards compatibility has been broken, +# set GTK_BINARY_AGE and GTK_EXTRA_INTERFACE_AGE to 0. + +GTK_EXTRA_MAJOR_VERSION=2 +GTK_EXTRA_MINOR_VERSION=1 +GTK_EXTRA_MICRO_VERSION=2 +GTK_EXTRA_INTERFACE_AGE=1 +GTK_EXTRA_BINARY_AGE=1 +GTK_EXTRA_VERSION=$GTK_EXTRA_MAJOR_VERSION.$GTK_EXTRA_MINOR_VERSION.$GTK_EXTRA_MICRO_VERSION +dnl +AC_DIVERT_POP()dnl + +AC_SUBST(GTK_EXTRA_MAJOR_VERSION) +AC_SUBST(GTK_EXTRA_MINOR_VERSION) +AC_SUBST(GTK_EXTRA_MICRO_VERSION) +AC_SUBST(GTK_EXTRA_INTERFACE_AGE) +AC_SUBST(GTK_EXTRA_BINARY_AGE) +AC_SUBST(GTK_EXTRA_VERSION) +AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal) + +# libtool versioning +LT_CURRENT=`expr $GTK_EXTRA_MICRO_VERSION - $GTK_EXTRA_INTERFACE_AGE` +LT_REVISION=$GTK_EXTRA_INTERFACE_AGE +LT_AGE=`expr $GTK_EXTRA_BINARY_AGE - $GTK_EXTRA_INTERFACE_AGE` +LIBGTKEXTRA_SO_VERSION=$LT_CURRENT:$LT_REVISION:$LT_AGE +AC_SUBST(LIBGTKEXTRA_SO_VERSION) +AC_SUBST(LT_CURRENT) +AC_SUBST(LT_REVISION) +AC_SUBST(LT_AGE) + +# For automake +VERSION=$GTK_EXTRA_VERSION +PACKAGE=gtk+extra + +# Initialize automake stuff +AM_INIT_AUTOMAKE($PACKAGE, $VERSION, no-define) + +# Specify a configuration file +AM_CONFIG_HEADER(config.h) +AC_CONFIG_MACRO_DIR(m4) +AC_DEFINE([ENABLE_NLS],1,undef) +AC_DEFINE([HAVE_GETTEXT],1,undef) + +# Build time sanity check... +AM_SANITY_CHECK + +# Checks for programs. +AC_PROG_CC +AC_ISC_POSIX +AM_PROG_CC_STDC +AC_PROG_INSTALL +AC_PROG_MAKE_SET + +# Initialize libtool +AC_LIBTOOL_WIN32_DLL +AM_PROG_LIBTOOL + +AM_MAINTAINER_MODE + +AC_MSG_CHECKING([for some Win32 platform]) +case "$host" in + *-*-mingw*|*-*-cygwin*) + platform_win32=yes + ;; + *) + platform_win32=no + ;; +esac +AC_MSG_RESULT([$platform_win32]) +AM_CONDITIONAL(PLATFORM_WIN32, test "$platform_win32" = "yes") + +AC_MSG_CHECKING([for native Win32]) +case "$host" in + *-*-mingw*) + os_win32=yes + ;; + *) + os_win32=no + ;; +esac +AC_MSG_RESULT([$os_win32]) +AM_CONDITIONAL(OS_WIN32, test "$os_win32" = "yes") + +if test "$os_win32" = "yes"; then + AC_CHECK_PROG(ms_librarian, lib.exe, yes, no) +fi +AM_CONDITIONAL(MS_LIB_AVAILABLE, test x$ms_librarian = xyes) + +if test "$platform_win32" = "yes"; then + gdktarget=win32 +else + gdktarget=x11 +fi + +AC_ARG_WITH(gdktarget, [ --with-gdktarget=[[x11/linux-fb/win32]] select GDK target [default depends on host system]], + gdktarget=$with_gdktarget) + +AC_SUBST(gdktarget) +case $gdktarget in + x11|linux-fb|win32) ;; + *) AC_MSG_ERROR([Invalid target for GDK: use x11, linux-fb or win32.]);; +esac + +gtkextratargetlib=libgtkextra-$gdktarget-2.0.la + +AC_SUBST(gtkextratargetlib) +AC_CHECK_LIB(m, sqrt) + + +if test "x$gdktarget" = "xwin32"; then + # We start off with the libraries from Pango + + ## be sure we also have Pango built with win32 support + PANGO_PACKAGES="pangowin32" + + if test x$have_wintab = xyes; then + GDK_WIN32_EXTRA_CFLAGS="-I $with_wintab/include" + AC_SUBST(GDK_WIN32_EXTRA_CFLAGS) + fi + + GDK_EXTRA_LIBS="$GDK_EXTRA_LIBS" + AM_CONDITIONAL(USE_WIN32, true) +else + AM_CONDITIONAL(USE_WIN32, false) +fi + + +changequote(,)dnl +if test "x$GCC" = "xyes"; then + case " $CFLAGS " in + *[\ \ ]-Wall[\ \ ]*) ;; + *) CFLAGS="$CFLAGS -Wall" ;; + esac +fi +changequote([,])dnl + +# Honor aclocal flags +ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS" + +# Checks for header files. +AC_HEADER_STDC + +# Checks for typedefs, structures, and compiler characteristics. +AC_C_CONST + +dnl header file checks +AC_CHECK_HEADERS(unistd.h, AC_DEFINE(HAVE_UNISTD_H)) +AC_CHECK_HEADERS(dirent.h, AC_DEFINE(HAVE_DIRENT_H)) +dnl Don't attempt to use fnmatch under win32 due to problems with creating DLLs. +if test "$platform_win32" = "no"; then + AC_CHECK_HEADERS(fnmatch.h, AC_DEFINE(HAVE_FNMATCH_H)) +fi + +dnl NeXTStep cc seems to need this +AC_MSG_CHECKING([for extra flags for POSIX compliance]) +AC_TRY_COMPILE([#include <dirent.h>], [DIR *dir;], + AC_MSG_RESULT(none needed), + gtk_save_CFLAGS=$CFLAGS + CFLAGS="$CFLAGS -posix" + AC_TRY_COMPILE([#include <dirent.h>], [DIR *dir;], + AC_MSG_RESULT(-posix), + AC_MSG_RESULT() + CFLAGS=$gtk_save_CFLAGS + AC_MSG_WARN([Could not determine POSIX flag. (-posix didn't work.)]))) + + +# Checks for typedefs, structures, and compiler characteristics. +AC_C_CONST +AC_C_INLINE + +# check for gtk-doc +GTK_DOC_CHECK(1.4) + +dnl +dnl Start of pkg-config checks +dnl + +# Find the GTK+ include and library directories. + +## Initial sanity check, done here so that users get told they +## have the wrong dependencies as early in the process as possible. +## Later on we actually use the cflags/libs from separate pkg-config +## calls. Oh, also the later pkg-config calls don't include +## the version requirements since those make the module lists +## annoying to construct + +# Find the GTK+ include and library directories. + +PKG_CHECK_MODULES(GTK, [gtk+-2.0 >= 2.0.0 fontconfig] ) + +AC_OUTPUT( +Makefile +gtkextra/Makefile +gtkextra/gtkextrafeatures.h +docs/Makefile +docs/reference/Makefile +gtkextra-2.0.spec +gtkextra-2.0.pc +) diff -pruN gtk+extra-2.1.2.orig/configure.in gtk+extra-2.1.2/configure.in --- gtk+extra-2.1.2.orig/configure.in 2014-12-21 12:10:26.575414391 +0100 +++ gtk+extra-2.1.2/configure.in 1970-01-01 01:00:00.000000000 +0100 @@ -1,211 +0,0 @@ -# Process this file with autoconf to produce a configure script. -AC_INIT(gtkextra) - -# Save this value here, since automake will set cflags later -cflags_set=${CFLAGS+set} - -AC_DIVERT_PUSH(NOTICE)dnl -# Making releases: -# GTK_EXTRA_MICRO_VERSION += 1; -# GTK_EXTRA_INTERFACE_AGE += 1; -# GTK_EXTRA_BINARY_AGE += 1; -# if any functions have been added, set GTK_EXTRA_INTERFACE_AGE to 0. -# if backwards compatibility has been broken, -# set GTK_BINARY_AGE and GTK_EXTRA_INTERFACE_AGE to 0. - -GTK_EXTRA_MAJOR_VERSION=2 -GTK_EXTRA_MINOR_VERSION=1 -GTK_EXTRA_MICRO_VERSION=2 -GTK_EXTRA_INTERFACE_AGE=1 -GTK_EXTRA_BINARY_AGE=1 -GTK_EXTRA_VERSION=$GTK_EXTRA_MAJOR_VERSION.$GTK_EXTRA_MINOR_VERSION.$GTK_EXTRA_MICRO_VERSION -dnl -AC_DIVERT_POP()dnl - -AC_SUBST(GTK_EXTRA_MAJOR_VERSION) -AC_SUBST(GTK_EXTRA_MINOR_VERSION) -AC_SUBST(GTK_EXTRA_MICRO_VERSION) -AC_SUBST(GTK_EXTRA_INTERFACE_AGE) -AC_SUBST(GTK_EXTRA_BINARY_AGE) -AC_SUBST(GTK_EXTRA_VERSION) -AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal) - -# libtool versioning -LT_CURRENT=`expr $GTK_EXTRA_MICRO_VERSION - $GTK_EXTRA_INTERFACE_AGE` -LT_REVISION=$GTK_EXTRA_INTERFACE_AGE -LT_AGE=`expr $GTK_EXTRA_BINARY_AGE - $GTK_EXTRA_INTERFACE_AGE` -LIBGTKEXTRA_SO_VERSION=$LT_CURRENT:$LT_REVISION:$LT_AGE -AC_SUBST(LIBGTKEXTRA_SO_VERSION) -AC_SUBST(LT_CURRENT) -AC_SUBST(LT_REVISION) -AC_SUBST(LT_AGE) - -# For automake -VERSION=$GTK_EXTRA_VERSION -PACKAGE=gtk+extra - -# Initialize automake stuff -AM_INIT_AUTOMAKE($PACKAGE, $VERSION, no-define) - -# Specify a configuration file -AM_CONFIG_HEADER(config.h) -AC_CONFIG_MACRO_DIR(m4) -AC_DEFINE([ENABLE_NLS],1,undef) -AC_DEFINE([HAVE_GETTEXT],1,undef) - -# Build time sanity check... -AM_SANITY_CHECK - -# Checks for programs. -AC_PROG_CC -AC_ISC_POSIX -AM_PROG_CC_STDC -AC_PROG_INSTALL -AC_PROG_MAKE_SET - -# Initialize libtool -AC_LIBTOOL_WIN32_DLL -AM_PROG_LIBTOOL - -AM_MAINTAINER_MODE - -AC_MSG_CHECKING([for some Win32 platform]) -case "$host" in - *-*-mingw*|*-*-cygwin*) - platform_win32=yes - ;; - *) - platform_win32=no - ;; -esac -AC_MSG_RESULT([$platform_win32]) -AM_CONDITIONAL(PLATFORM_WIN32, test "$platform_win32" = "yes") - -AC_MSG_CHECKING([for native Win32]) -case "$host" in - *-*-mingw*) - os_win32=yes - ;; - *) - os_win32=no - ;; -esac -AC_MSG_RESULT([$os_win32]) -AM_CONDITIONAL(OS_WIN32, test "$os_win32" = "yes") - -if test "$os_win32" = "yes"; then - AC_CHECK_PROG(ms_librarian, lib.exe, yes, no) -fi -AM_CONDITIONAL(MS_LIB_AVAILABLE, test x$ms_librarian = xyes) - -if test "$platform_win32" = "yes"; then - gdktarget=win32 -else - gdktarget=x11 -fi - -AC_ARG_WITH(gdktarget, [ --with-gdktarget=[[x11/linux-fb/win32]] select GDK target [default depends on host system]], - gdktarget=$with_gdktarget) - -AC_SUBST(gdktarget) -case $gdktarget in - x11|linux-fb|win32) ;; - *) AC_MSG_ERROR([Invalid target for GDK: use x11, linux-fb or win32.]);; -esac - -gtkextratargetlib=libgtkextra-$gdktarget-2.0.la - -AC_SUBST(gtkextratargetlib) -AC_CHECK_LIB(m, sqrt) - - -if test "x$gdktarget" = "xwin32"; then - # We start off with the libraries from Pango - - ## be sure we also have Pango built with win32 support - PANGO_PACKAGES="pangowin32" - - if test x$have_wintab = xyes; then - GDK_WIN32_EXTRA_CFLAGS="-I $with_wintab/include" - AC_SUBST(GDK_WIN32_EXTRA_CFLAGS) - fi - - GDK_EXTRA_LIBS="$GDK_EXTRA_LIBS" - AM_CONDITIONAL(USE_WIN32, true) -else - AM_CONDITIONAL(USE_WIN32, false) -fi - - -changequote(,)dnl -if test "x$GCC" = "xyes"; then - case " $CFLAGS " in - *[\ \ ]-Wall[\ \ ]*) ;; - *) CFLAGS="$CFLAGS -Wall" ;; - esac -fi -changequote([,])dnl - -# Honor aclocal flags -ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS" - -# Checks for header files. -AC_HEADER_STDC - -# Checks for typedefs, structures, and compiler characteristics. -AC_C_CONST - -dnl header file checks -AC_CHECK_HEADERS(unistd.h, AC_DEFINE(HAVE_UNISTD_H)) -AC_CHECK_HEADERS(dirent.h, AC_DEFINE(HAVE_DIRENT_H)) -dnl Don't attempt to use fnmatch under win32 due to problems with creating DLLs. -if test "$platform_win32" = "no"; then - AC_CHECK_HEADERS(fnmatch.h, AC_DEFINE(HAVE_FNMATCH_H)) -fi - -dnl NeXTStep cc seems to need this -AC_MSG_CHECKING([for extra flags for POSIX compliance]) -AC_TRY_COMPILE([#include <dirent.h>], [DIR *dir;], - AC_MSG_RESULT(none needed), - gtk_save_CFLAGS=$CFLAGS - CFLAGS="$CFLAGS -posix" - AC_TRY_COMPILE([#include <dirent.h>], [DIR *dir;], - AC_MSG_RESULT(-posix), - AC_MSG_RESULT() - CFLAGS=$gtk_save_CFLAGS - AC_MSG_WARN([Could not determine POSIX flag. (-posix didn't work.)]))) - - -# Checks for typedefs, structures, and compiler characteristics. -AC_C_CONST -AC_C_INLINE - -# check for gtk-doc -GTK_DOC_CHECK(1.4) - -dnl -dnl Start of pkg-config checks -dnl - -# Find the GTK+ include and library directories. - -## Initial sanity check, done here so that users get told they -## have the wrong dependencies as early in the process as possible. -## Later on we actually use the cflags/libs from separate pkg-config -## calls. Oh, also the later pkg-config calls don't include -## the version requirements since those make the module lists -## annoying to construct - -# Find the GTK+ include and library directories. - -PKG_CHECK_MODULES(GTK, [gtk+-2.0 >= 2.0.0 fontconfig] ) - -AC_OUTPUT( -Makefile -gtkextra/Makefile -gtkextra/gtkextrafeatures.h -docs/Makefile -docs/reference/Makefile -gtkextra-2.0.spec -gtkextra-2.0.pc -) diff -pruN gtk+extra-2.1.2.orig/docs/reference/Makefile.am gtk+extra-2.1.2/docs/reference/Makefile.am --- gtk+extra-2.1.2.orig/docs/reference/Makefile.am 2005-09-19 14:25:43.000000000 +0200 +++ gtk+extra-2.1.2/docs/reference/Makefile.am 2014-12-21 12:20:17.926232871 +0100 @@ -58,9 +58,9 @@ expand_content_files= # CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library. # Only needed if you are using gtkdoc-scangobj to dynamically query widget # signals and properties. -# e.g. INCLUDES=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS) +# e.g. AM_CPPFLAGS=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS) # e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib) -INCLUDES=-I$(top_srcdir) -I$(top_srcdir)/gtkextra -I$(top_builddir) $(GTK_CFLAGS) +AM_CPPFLAGS=-I$(top_srcdir) -I$(top_srcdir)/gtkextra -I$(top_builddir) $(GTK_CFLAGS) GTKDOC_LIBS=$(top_builddir)/gtkextra/libgtkextra-x11-2.0.la $(GTK_LIBS) # This includes the standard gtk-doc make rules, copied by gtkdocize. diff -pruN gtk+extra-2.1.2.orig/gtkextra/Makefile.am gtk+extra-2.1.2/gtkextra/Makefile.am --- gtk+extra-2.1.2.orig/gtkextra/Makefile.am 2005-06-16 00:54:34.000000000 +0200 +++ gtk+extra-2.1.2/gtkextra/Makefile.am 2014-12-21 12:20:33.982174180 +0100 @@ -169,7 +169,7 @@ gtkextra_extra_sources = \ gtkextrafeatures.h.in \ gtkextra-marshal.list -INCLUDES = -I$(top_buildir) -I$(top_srcdir) $(GTK_CFLAGS) +AM_CPPFLAGS = -I$(top_buildir) -I$(top_srcdir) $(GTK_CFLAGS) # target platform: lib_LTLIBRARIES = $(gtkextratargetlib) diff -pruN gtk+extra-2.1.2.orig/Makefile.am gtk+extra-2.1.2/Makefile.am --- gtk+extra-2.1.2.orig/Makefile.am 2004-08-17 00:21:54.000000000 +0200 +++ gtk+extra-2.1.2/Makefile.am 2014-12-21 12:16:49.755997249 +0100 @@ -5,11 +5,11 @@ SUBDIRS = $(SRC_SUBDIRS) docs # require automake 1.7 AUTOMAKE_OPTIONS = 1.7 +ACLOCAL_AMFLAGS = -I m4 EXTRA_DIST = \ TODO \ gtkextra-2.0.m4 \ - acconfig.h \ makecopyright \ config.h.win32 \ gtkextra-2.0.spec diff -pruN gtk+extra-2.1.2.orig/missing gtk+extra-2.1.2/missing --- gtk+extra-2.1.2.orig/missing 2010-03-11 08:42:54.000000000 +0100 +++ gtk+extra-2.1.2/missing 2014-12-21 12:17:20.757882521 +0100 @@ -168,7 +168,7 @@ WARNING: \`$1' is $msg. You should only autoheader*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if - you modified \`acconfig.h' or \`${configure_ac}'. You might want + you modified \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor