summaryrefslogtreecommitdiffstats
path: root/multimedia/cheese3/files/patch-configure
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-10-19 06:43:09 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-10-19 06:43:09 +0800
commit26655acf384cb73cd2b40eda0dc4e38cede14f18 (patch)
tree9c6df7d9446ccfb577e9f9b8d2b23299d006bdd9 /multimedia/cheese3/files/patch-configure
parent934034ff3e8a5788b963bf9c9574c26992fc144b (diff)
downloadmarcuscom-ports-26655acf384cb73cd2b40eda0dc4e38cede14f18.tar.gz
marcuscom-ports-26655acf384cb73cd2b40eda0dc4e38cede14f18.tar.zst
marcuscom-ports-26655acf384cb73cd2b40eda0dc4e38cede14f18.zip
Update to 3.2.1.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@16476 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'multimedia/cheese3/files/patch-configure')
-rw-r--r--multimedia/cheese3/files/patch-configure254
1 files changed, 40 insertions, 214 deletions
diff --git a/multimedia/cheese3/files/patch-configure b/multimedia/cheese3/files/patch-configure
index d58409b3c..51af2f91a 100644
--- a/multimedia/cheese3/files/patch-configure
+++ b/multimedia/cheese3/files/patch-configure
@@ -1,5 +1,5 @@
---- configure.orig 2011-09-20 14:42:00.000000000 +0200
-+++ configure 2011-09-20 14:42:06.000000000 +0200
+--- configure.orig 2011-10-19 00:15:28.000000000 +0200
++++ configure 2011-10-19 00:25:35.000000000 +0200
@@ -724,7 +724,10 @@
HAVE_XTEST_FALSE
HAVE_XTEST_TRUE
@@ -29,77 +29,11 @@
CHEESE_CFLAGS
C compiler flags for CHEESE, overriding pkg-config
CHEESE_LIBS linker flags for CHEESE, overriding pkg-config
-@@ -10986,14 +10993,7 @@
- *) objformat=elf ;;
- esac
- fi
-- # Handle Gentoo/FreeBSD as it was Linux
-- case $host_vendor in
-- gentoo)
-- version_type=linux ;;
-- *)
-- version_type=freebsd-$objformat ;;
-- esac
--
-+ version_type=freebsd-$objformat
- case $version_type in
- freebsd-elf*)
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
-@@ -11004,12 +11004,6 @@
- library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
- need_version=yes
- ;;
-- linux)
-- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
-- soname_spec='${libname}${release}${shared_ext}$major'
-- need_lib_prefix=no
-- need_version=no
-- ;;
- esac
- shlibpath_var=LD_LIBRARY_PATH
- case $host_os in
-@@ -12951,7 +12945,6 @@
-
-
-
--
- if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
- if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
-@@ -13080,7 +13073,6 @@
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; then
- pkg_cv_UDEV_CFLAGS=`$PKG_CONFIG --cflags "gudev-1.0" 2>/dev/null`
-- test "x$?" != "x0" && pkg_failed=yes
- else
- pkg_failed=yes
- fi
-@@ -13097,7 +13089,6 @@
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; then
- pkg_cv_UDEV_LIBS=`$PKG_CONFIG --libs "gudev-1.0" 2>/dev/null`
-- test "x$?" != "x0" && pkg_failed=yes
- else
- pkg_failed=yes
- fi
-@@ -13117,9 +13108,9 @@
- _pkg_short_errors_supported=no
- fi
- if test $_pkg_short_errors_supported = yes; then
-- UDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gudev-1.0" 2>&1`
-+ UDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gudev-1.0" 2>&1`
- else
-- UDEV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gudev-1.0" 2>&1`
-+ UDEV_PKG_ERRORS=`$PKG_CONFIG --print-errors "gudev-1.0" 2>&1`
- fi
- # Put the nasty error message in config.log where it belongs
- echo "$UDEV_PKG_ERRORS" >&5
-@@ -13140,6 +13131,82 @@
+@@ -13116,6 +13123,80 @@
UDEV_PKG=gudev-1.0
fi
+HAL_PKG=
-+if test x$UDEV_PKG = "x" ; then
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for HAL" >&5
@@ -109,12 +43,12 @@
+ pkg_cv_HAL_CFLAGS="$HAL_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 hal\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "dbus-1 hal") 2>&5
++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hal\""; } >&5
++ ($PKG_CONFIG --exists --print-errors "hal") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
-+ pkg_cv_HAL_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 hal" 2>/dev/null`
++ pkg_cv_HAL_CFLAGS=`$PKG_CONFIG --cflags "hal" 2>/dev/null`
+else
+ pkg_failed=yes
+fi
@@ -125,12 +59,12 @@
+ pkg_cv_HAL_LIBS="$HAL_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 hal\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "dbus-1 hal") 2>&5
++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hal\""; } >&5
++ ($PKG_CONFIG --exists --print-errors "hal") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
-+ pkg_cv_HAL_LIBS=`$PKG_CONFIG --libs "dbus-1 hal" 2>/dev/null`
++ pkg_cv_HAL_LIBS=`$PKG_CONFIG --libs "hal" 2>/dev/null`
+else
+ pkg_failed=yes
+fi
@@ -150,9 +84,9 @@
+ _pkg_short_errors_supported=no
+fi
+ if test $_pkg_short_errors_supported = yes; then
-+ HAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "dbus-1 hal" 2>&1`
++ HAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "hal" 2>&1`
+ else
-+ HAL_PKG_ERRORS=`$PKG_CONFIG --print-errors "dbus-1 hal" 2>&1`
++ HAL_PKG_ERRORS=`$PKG_CONFIG --print-errors "hal" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$HAL_PKG_ERRORS" >&5
@@ -172,12 +106,11 @@
+
+ HAL_PKG=hal
+fi
-+fi
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking operating system" >&5
$as_echo_n "checking operating system... " >&6; }
case $host in
-@@ -13154,6 +13221,17 @@
+@@ -13130,6 +13211,17 @@
as_fn_error $? "libgudev is required under Linux and not installed" "$LINENO" 5
fi
;;
@@ -195,114 +128,79 @@
*)
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported operating system" >&5
$as_echo "unsupported operating system" >&6; }
-@@ -13257,7 +13335,8 @@
- clutter-1.0 >= \$CLUTTER_REQUIRED \\
+@@ -13234,6 +13326,7 @@
clutter-gst-1.0 >= \$CLUTTERGST_REQUIRED \\
mx-1.0 \\
-- \$UDEV_PKG
-+ \$UDEV_PKG \\
+ \$UDEV_PKG
+ \$HAL_PKG
\""; } >&5
($PKG_CONFIG --exists --print-errors "\
glib-2.0 >= $GLIB_REQUIRED \
-@@ -13272,7 +13351,8 @@
- clutter-1.0 >= $CLUTTER_REQUIRED \
+@@ -13249,6 +13342,7 @@
clutter-gst-1.0 >= $CLUTTERGST_REQUIRED \
mx-1.0 \
-- $UDEV_PKG
-+ $UDEV_PKG \
+ $UDEV_PKG
+ $HAL_PKG
") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-@@ -13290,9 +13370,9 @@
- clutter-1.0 >= $CLUTTER_REQUIRED \
+@@ -13267,6 +13361,7 @@
clutter-gst-1.0 >= $CLUTTERGST_REQUIRED \
mx-1.0 \
-- $UDEV_PKG
-+ $UDEV_PKG \
+ $UDEV_PKG
+ $HAL_PKG
" 2>/dev/null`
-- test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
- fi
-@@ -13316,7 +13396,8 @@
- clutter-1.0 >= \$CLUTTER_REQUIRED \\
+@@ -13292,6 +13387,7 @@
clutter-gst-1.0 >= \$CLUTTERGST_REQUIRED \\
mx-1.0 \\
-- \$UDEV_PKG
-+ \$UDEV_PKG \\
+ \$UDEV_PKG
+ \$HAL_PKG
\""; } >&5
($PKG_CONFIG --exists --print-errors "\
glib-2.0 >= $GLIB_REQUIRED \
-@@ -13331,7 +13412,8 @@
- clutter-1.0 >= $CLUTTER_REQUIRED \
+@@ -13307,6 +13403,7 @@
clutter-gst-1.0 >= $CLUTTERGST_REQUIRED \
mx-1.0 \
-- $UDEV_PKG
-+ $UDEV_PKG \
+ $UDEV_PKG
+ $HAL_PKG
") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-@@ -13349,9 +13431,9 @@
- clutter-1.0 >= $CLUTTER_REQUIRED \
+@@ -13325,6 +13422,7 @@
clutter-gst-1.0 >= $CLUTTERGST_REQUIRED \
mx-1.0 \
-- $UDEV_PKG
-+ $UDEV_PKG \
+ $UDEV_PKG
+ $HAL_PKG
" 2>/dev/null`
-- test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
- fi
-@@ -13371,7 +13453,7 @@
- _pkg_short_errors_supported=no
- fi
- if test $_pkg_short_errors_supported = yes; then
-- CHEESE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "\
-+ CHEESE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "\
- glib-2.0 >= $GLIB_REQUIRED \
- gio-2.0 >= $GIO_REQUIRED \
- x11 \
-@@ -13384,10 +13466,11 @@
- clutter-1.0 >= $CLUTTER_REQUIRED \
+@@ -13359,6 +13457,7 @@
clutter-gst-1.0 >= $CLUTTERGST_REQUIRED \
mx-1.0 \
-- $UDEV_PKG
-+ $UDEV_PKG \
+ $UDEV_PKG
+ $HAL_PKG
" 2>&1`
else
-- CHEESE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "\
-+ CHEESE_PKG_ERRORS=`$PKG_CONFIG --print-errors "\
- glib-2.0 >= $GLIB_REQUIRED \
- gio-2.0 >= $GIO_REQUIRED \
- x11 \
-@@ -13400,7 +13483,8 @@
- clutter-1.0 >= $CLUTTER_REQUIRED \
+ CHEESE_PKG_ERRORS=`$PKG_CONFIG --print-errors "\
+@@ -13375,6 +13474,7 @@
clutter-gst-1.0 >= $CLUTTERGST_REQUIRED \
mx-1.0 \
-- $UDEV_PKG
-+ $UDEV_PKG \
+ $UDEV_PKG
+ $HAL_PKG
" 2>&1`
fi
# Put the nasty error message in config.log where it belongs
-@@ -13419,7 +13503,8 @@
- clutter-1.0 >= $CLUTTER_REQUIRED \
+@@ -13394,6 +13494,7 @@
clutter-gst-1.0 >= $CLUTTERGST_REQUIRED \
mx-1.0 \
-- $UDEV_PKG
-+ $UDEV_PKG \
+ $UDEV_PKG
+ $HAL_PKG
) were not met:
$CHEESE_PKG_ERRORS
-@@ -13475,6 +13560,7 @@
+@@ -13449,6 +13550,7 @@
gee-1.0 >= \$GEE_REQUIRED \\
libcanberra-gtk3 >= \$LIBCANBERRA_REQUIRED \\
\$UDEV_PKG \\
@@ -310,7 +208,7 @@
gnome-video-effects
\""; } >&5
($PKG_CONFIG --exists --print-errors "\
-@@ -13487,6 +13573,7 @@
+@@ -13461,6 +13563,7 @@
gee-1.0 >= $GEE_REQUIRED \
libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
$UDEV_PKG \
@@ -318,18 +216,15 @@
gnome-video-effects
") 2>&5
ac_status=$?
-@@ -13502,9 +13589,9 @@
+@@ -13476,6 +13579,7 @@
gee-1.0 >= $GEE_REQUIRED \
libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
$UDEV_PKG \
+ $HAL_PKG \
gnome-video-effects
" 2>/dev/null`
-- test "x$?" != "x0" && pkg_failed=yes
else
- pkg_failed=yes
- fi
-@@ -13525,6 +13612,7 @@
+@@ -13498,6 +13602,7 @@
gee-1.0 >= \$GEE_REQUIRED \\
libcanberra-gtk3 >= \$LIBCANBERRA_REQUIRED \\
\$UDEV_PKG \\
@@ -337,7 +232,7 @@
gnome-video-effects
\""; } >&5
($PKG_CONFIG --exists --print-errors "\
-@@ -13537,6 +13625,7 @@
+@@ -13510,6 +13615,7 @@
gee-1.0 >= $GEE_REQUIRED \
libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
$UDEV_PKG \
@@ -345,27 +240,15 @@
gnome-video-effects
") 2>&5
ac_status=$?
-@@ -13552,9 +13641,9 @@
+@@ -13525,6 +13631,7 @@
gee-1.0 >= $GEE_REQUIRED \
libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
$UDEV_PKG \
+ $HAL_PKG \
gnome-video-effects
" 2>/dev/null`
-- test "x$?" != "x0" && pkg_failed=yes
else
- pkg_failed=yes
- fi
-@@ -13574,7 +13663,7 @@
- _pkg_short_errors_supported=no
- fi
- if test $_pkg_short_errors_supported = yes; then
-- CHEESE_GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "\
-+ CHEESE_GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "\
- gio-2.0 >= $GIO_REQUIRED \
- gtk+-3.0 >= $GTK_REQUIRED \
- gdk-3.0 >= $GDK_REQUIRED \
-@@ -13584,10 +13673,11 @@
+@@ -13556,6 +13663,7 @@
gee-1.0 >= $GEE_REQUIRED \
libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
$UDEV_PKG \
@@ -373,12 +256,7 @@
gnome-video-effects
" 2>&1`
else
-- CHEESE_GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "\
-+ CHEESE_GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "\
- gio-2.0 >= $GIO_REQUIRED \
- gtk+-3.0 >= $GTK_REQUIRED \
- gdk-3.0 >= $GDK_REQUIRED \
-@@ -13597,6 +13687,7 @@
+@@ -13569,6 +13677,7 @@
gee-1.0 >= $GEE_REQUIRED \
libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
$UDEV_PKG \
@@ -386,7 +264,7 @@
gnome-video-effects
" 2>&1`
fi
-@@ -13613,6 +13704,7 @@
+@@ -13585,6 +13694,7 @@
gee-1.0 >= $GEE_REQUIRED \
libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
$UDEV_PKG \
@@ -394,55 +272,3 @@
gnome-video-effects
) were not met:
-@@ -13909,6 +14001,7 @@
- else
- as_fn_error $? "You need to have gtk-doc >= 1.14 installed to build $PACKAGE_NAME" "$LINENO" 5
- fi
-+ if test "x$PACKAGE_NAME" != "xglib"; then
-
- pkg_failed=no
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
-@@ -13924,7 +14017,6 @@
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; then
- pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
-- test "x$?" != "x0" && pkg_failed=yes
- else
- pkg_failed=yes
- fi
-@@ -13941,7 +14033,6 @@
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; then
- pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
-- test "x$?" != "x0" && pkg_failed=yes
- else
- pkg_failed=yes
- fi
-@@ -13961,9 +14052,9 @@
- _pkg_short_errors_supported=no
- fi
- if test $_pkg_short_errors_supported = yes; then
-- GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
-+ GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
- else
-- GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
-+ GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
- fi
- # Put the nasty error message in config.log where it belongs
- echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
-@@ -14000,6 +14091,7 @@
- $as_echo "yes" >&6; }
-
- fi
-+ fi
- fi
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
-@@ -14178,7 +14270,6 @@
-
-
-
--
- if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
- if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.