From: Thomas V. S. <tho...@us...> - 2003-12-14 16:51:52
|
CVS Root: /cvsroot/gstreamer Modules: common gst-plugins Changes by: thomasvs Date: Sun Dec 14 2003 08:51:51 PST Log message: make pixbuf loader dir configurable Modified files: common/m4 : as-ac-expand.m4 gst-plugins : ChangeLog configure.ac Links: http://cvs.sf.net/cgi-bin/viewcvs.cgi/gstreamer/common/m4/as-ac-expand.m4.diff?r1=1.1&r2=1.2 http://cvs.sf.net/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins/ChangeLog.diff?r1=1.17&r2=1.18 http://cvs.sf.net/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins/configure.ac.diff?r1=1.334&r2=1.335 ====Begin Diffs==== Index: ChangeLog =================================================================== RCS file: /cvsroot/gstreamer/gst-plugins/ChangeLog,v retrieving revision 1.17 retrieving revision 1.18 diff -u -d -r1.17 -r1.18 --- ChangeLog 14 Dec 2003 11:58:29 -0000 1.17 +++ ChangeLog 14 Dec 2003 16:51:39 -0000 1.18 @@ -1,11 +1,15 @@ +2003-12-14 Thomas Vander Stichele <thomas at apestaart dot org> + + * configure.ac: make pixbuf loader configurable + 2003-12-14 Amaury Jacquot <sx...@es...> * sys/xvideo/gstximage.c: remove 3 unnecessary X headers * sys/xvideo/gstxvimage.c: same * sys/xvideo/gstxwindow.c: same - these problems occur when using the X server from freedestkop.org + these problems occur when using the X server from freedesktop.org -2003-12-03 set REAL_NAME environment variable <thomas at apestaart dot org> +2003-12-03 Thomas Vander Stichele <thomas at apestaart dot org> * common/m4/gst-feature.m4: *** instead of newline when not built * configure.ac: fix X detection when no X stuff present Index: configure.ac =================================================================== RCS file: /cvsroot/gstreamer/gst-plugins/configure.ac,v retrieving revision 1.334 retrieving revision 1.335 diff -u -d -r1.334 -r1.335 --- configure.ac 13 Dec 2003 20:13:14 -0000 1.334 +++ configure.ac 14 Dec 2003 16:51:38 -0000 1.335 @@ -215,6 +215,12 @@ xhppa*) HAVE_CPU_HPPA=yes AC_DEFINE(HAVE_CPU_HPPA, 1, [Define if the target CPU is a HPPA]) ;; esac +# make these available to automake +AM_CONDITIONAL(HAVE_CPU_I386, test "x$HAVE_CPU_I386" = "xyes") +AM_CONDITIONAL(HAVE_CPU_PPC, test "x$HAVE_CPU_PPC" = "xyes") +AM_CONDITIONAL(HAVE_CPU_ALPHA, test "x$HAVE_CPU_ALPHA" = "xyes") +AM_CONDITIONAL(HAVE_CPU_ARM, test "x$HAVE_CPU_ARM" = "xyes") +AM_CONDITIONAL(HAVE_CPU_SPARC, test "x$HAVE_CPU_SPARC" = "xyes") dnl Determine endianness AC_C_BIGENDIAN @@ -256,20 +262,32 @@ AC_SUBST(HAVE_GTK) AM_CONDITIONAL(HAVE_GDK_LOADERS, test "x$HAVE_GTK_22" = "xyes") -GDK_PIXBUF_LOADER_DIR="$GDK_PIXBUF_LIBDIR/gtk-2.0/\$(GTK_VERSION)/loaders" +# allow customization of pixbuf loader install location +# when nothing specified, adhere to prefix settings +# when called without any option with this argument, autodetect +# when called with a path, set to the given path AC_ARG_WITH(gdk-pixbuf-loader-dir, AC_HELP_STRING([--with-gdk-pixbuf-loader-dir], - [directory to install the gdk_pixbuf loader]), - [if test "x${withval}" != x ; then + [directory to install the gdk_pixbuf loader (none for pkg-config default)]), + [ + if test "x${withval}" != xyes ; then GDK_PIXBUF_LOADER_DIR="${withval}" + else + GDK_PIXBUF_LOADER_DIR="$GDK_PIXBUF_LIBDIR/gtk-2.0/\$GTK_VERSION/loaders" fi -]) + ], + # nothing specified + GDK_PIXBUF_LOADER_DIR=${libdir}/gtk-2.0/\$GTK_VERSION/loaders +) + +AS_AC_EXPAND(GDK_PIXBUF_LOADER_DIR, $GDK_PIXBUF_LOADER_DIR) AC_SUBST(GDK_PIXBUF_LOADER_DIR) +AC_MSG_NOTICE([Putting GTK+-2 pixbuf loaders in $GDK_PIXBUF_LOADER_DIR]) GDK_PIXBUF_CONFDIR="$GDK_PIXBUF_PREFIXDIR/etc/gtk-2.0/" AC_ARG_WITH(gdk-pixbuf-conffile, - AC_HELP_STRING([--with-gdk-pixbuf-confdir], - [path to the gdk_pixbuf config directroy]), + AC_HELP_STRING([--with-gdk-pixbuf-conf-dir], + [path to the gdk_pixbuf config directory]), [if test "x${withval}" != x ; then GDK_PIXBUF_CONFDIR="${withval}" fi @@ -1277,11 +1295,6 @@ dnl These should be "USE_*" instead of "HAVE_*", but some packages expect dnl HAVE_ and it is likely to be easier to stick with the old name -AM_CONDITIONAL(HAVE_CPU_I386, test "x$HAVE_CPU_I386" = "xyes") -AM_CONDITIONAL(HAVE_CPU_PPC, test "x$HAVE_CPU_PPC" = "xyes") -AM_CONDITIONAL(HAVE_CPU_ALPHA, test "x$HAVE_CPU_ALPHA" = "xyes") -AM_CONDITIONAL(HAVE_CPU_ARM, test "x$HAVE_CPU_ARM" = "xyes") -AM_CONDITIONAL(HAVE_CPU_SPARC, test "x$HAVE_CPU_SPARC" = "xyes") AM_CONDITIONAL(HAVE_LIBMMX, test "x$USE_LIBMMX" = "xyes") AM_CONDITIONAL(HAVE_ATOMIC_H, test "x$USE_ATOMIC_H" = "xyes") @@ -1501,6 +1514,7 @@ gst-libs/gst/propertyprobe/Makefile gst-libs/gst/resample/Makefile gst-libs/gst/riff/Makefile +gst-libs/gst/tag/Makefile gst-libs/gst/tuner/Makefile gst-libs/gst/video/Makefile gst-libs/gst/xoverlay/Makefile Index: as-ac-expand.m4 =================================================================== RCS file: /cvsroot/gstreamer/common/m4/as-ac-expand.m4,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- as-ac-expand.m4 12 Apr 2002 15:28:41 -0000 1.1 +++ as-ac-expand.m4 14 Dec 2003 16:51:39 -0000 1.2 @@ -15,7 +15,7 @@ fi exec_prefix_save=$exec_prefix if test "x$exec_prefix" = "xNONE"; then - exec_prefix=/usr/local + exec_prefix=$prefix fi full_var="$FROM_VAR" |