From 759bcabde952faa269f4f9f357b8636d5ba04219 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Fri, 13 Jun 2008 20:15:04 -0300 Subject: exo: update to 0.3.4 This release needs a configure patch to avoid testing for strftime modifiers that can't be ran while cross compiling. --- packages/xfce/exo/configure.patch | 43 +++++++++++++++++++++++++++++++++++++++ packages/xfce/exo_0.3.2.bb | 15 -------------- packages/xfce/exo_0.3.4.bb | 17 ++++++++++++++++ 3 files changed, 60 insertions(+), 15 deletions(-) create mode 100644 packages/xfce/exo/configure.patch delete mode 100644 packages/xfce/exo_0.3.2.bb create mode 100644 packages/xfce/exo_0.3.4.bb (limited to 'packages/xfce') diff --git a/packages/xfce/exo/configure.patch b/packages/xfce/exo/configure.patch new file mode 100644 index 0000000000..2ccfcfc994 --- /dev/null +++ b/packages/xfce/exo/configure.patch @@ -0,0 +1,43 @@ +--- exo-0.3.4/configure.in~ 2007-12-02 10:37:06.000000000 -0200 ++++ exo-0.3.4/configure.in 2008-06-05 17:21:42.000000000 -0300 +@@ -127,22 +127,24 @@ + dnl *************************************** + dnl *** Check for strftime() extensions *** + dnl *************************************** +-AC_TRY_RUN([ +- #include +- #include +- int +- main (int argc, char **argv) +- { +- struct tm tm; +- char buffer[16]; +- tm.tm_year = 81; +- if (strftime (buffer, 16, "%EY", &tm) == 4 && strcmp (buffer, "1981") == 0) +- return 0; +- return 1; +- } +-], [ +- AC_DEFINE([HAVE_STRFTIME_EXTENSION], 1, [Define if strftime supports %E and %O modifiers.]) +-]) ++dnl grrrr... this doesn't work for cross compiling, define it for OE ++AC_DEFINE([HAVE_STRFTIME_EXTENSION], 1, [Define if strftime supports %E and %O modifiers.]) ++dnl AC_TRY_RUN([ ++dnl #include ++dnl #include ++dnl int ++dnl main (int argc, char **argv) ++dnl { ++dnl struct tm tm; ++dnl char buffer[16]; ++dnl tm.tm_year = 81; ++dnl if (strftime (buffer, 16, "%EY", &tm) == 4 && strcmp (buffer, "1981") == 0) ++dnl return 0; ++dnl return 1; ++dnl } ++dnl ], [ ++dnl AC_DEFINE([HAVE_STRFTIME_EXTENSION], 1, [Define if strftime supports %E and %O modifiers.]) ++dnl ]) + + dnl ****************************** + dnl *** Check for i18n support *** diff --git a/packages/xfce/exo_0.3.2.bb b/packages/xfce/exo_0.3.2.bb deleted file mode 100644 index b72ff52a91..0000000000 --- a/packages/xfce/exo_0.3.2.bb +++ /dev/null @@ -1,15 +0,0 @@ -DEPENDS = "libxfce4util xfce-mcs-manager hal liburi-perl-native python-native" - -inherit xfce -XFCE_VERSION = 4.4.1 - -# Note: Python checking is broken - -do_stage() { - autotools_stage_all -} - -FILES_${PN} += "${datadir}/xfce4/ \ - ${libdir}/xfce4/mcs-plugins/exo-preferred-applications-settings.so" -FILES_${PN}-dev += "${libdir}/xfce4/mcs-plugins/exo-preferred-applications-settings.*" -FILES_${PN}-dbg += "${libdir}/xfce4/mcs-plugins/.debug/exo-preferred-applications-settings.*" diff --git a/packages/xfce/exo_0.3.4.bb b/packages/xfce/exo_0.3.4.bb new file mode 100644 index 0000000000..49ab44582c --- /dev/null +++ b/packages/xfce/exo_0.3.4.bb @@ -0,0 +1,17 @@ +DEPENDS = "libxfce4util xfce-mcs-manager hal liburi-perl-native python-native" + +inherit xfce +XFCE_VERSION = 4.4.2 + +SRC_URI += " file://configure.patch;patch=1" + +# Note: Python checking is broken + +do_stage() { + autotools_stage_all +} + +FILES_${PN} += "${datadir}/xfce4/ \ + ${libdir}/xfce4/mcs-plugins/exo-preferred-applications-settings.so" +FILES_${PN}-dev += "${libdir}/xfce4/mcs-plugins/exo-preferred-applications-settings.*" +FILES_${PN}-dbg += "${libdir}/xfce4/mcs-plugins/.debug/exo-preferred-applications-settings.*" -- cgit v1.2.3