diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2011-06-24 20:25:58 +0200 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-06-25 10:22:59 +0200 |
commit | ed6175e37524eaf2f3e0a22922d2b549cd399152 (patch) | |
tree | 80ff58de9d1dd99ad13f29cfd944240e2ee988ea /meta-gnome | |
parent | 0fac9d7251fa37aab3c5db617de5467f53400280 (diff) |
nautilus3: add 3.0.2
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-gnome')
-rw-r--r-- | meta-gnome/recipes-gnome/nautilus/nautilus3/no-try-run-strftime.diff | 41 | ||||
-rw-r--r-- | meta-gnome/recipes-gnome/nautilus/nautilus3_3.0.2.bb | 47 |
2 files changed, 88 insertions, 0 deletions
diff --git a/meta-gnome/recipes-gnome/nautilus/nautilus3/no-try-run-strftime.diff b/meta-gnome/recipes-gnome/nautilus/nautilus3/no-try-run-strftime.diff new file mode 100644 index 0000000..56d2e15 --- /dev/null +++ b/meta-gnome/recipes-gnome/nautilus/nautilus3/no-try-run-strftime.diff @@ -0,0 +1,41 @@ +From dc9c8cf2676c8c91ea0ae250cfedf863352f3ccd Mon Sep 17 00:00:00 2001 +From: Koen Kooi <koen@dominion.thruhere.net> +Date: Fri, 24 Jun 2011 20:24:08 +0200 +Subject: [PATCH] hack out check that tries to run generated binaries + +Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> +--- + configure.in | 17 +---------------- + 1 files changed, 1 insertions(+), 16 deletions(-) + +diff --git a/configure.in b/configure.in +index c3aa371..1d3ecdc 100644 +--- a/configure.in ++++ b/configure.in +@@ -251,22 +251,7 @@ AC_SUBST(WARNING_CFLAGS) + + dnl =========================================================================== + +-dnl strftime checks +- +-AC_TRY_RUN([#include <time.h> +- int main () +- { +- char buf[100]; +- struct tm tm = {0}; +- tm.tm_year = 99; +- if (strftime(buf, 100, "%EY", &tm) == 4 && +- strcmp (buf, "1999")==0) +- return 0; +- return 1; +- } +- ], +- AC_DEFINE(HAVE_STRFTIME_EXTENSION, 1, [Define if strftime supports %E and %O modifiers.]) +- ) ++AC_DEFINE(HAVE_STRFTIME_EXTENSION, 1, [Define if strftime supports %E and %O modifiers.]) + + dnl ========================================================================== + +-- +1.6.6.1 + diff --git a/meta-gnome/recipes-gnome/nautilus/nautilus3_3.0.2.bb b/meta-gnome/recipes-gnome/nautilus/nautilus3_3.0.2.bb new file mode 100644 index 0000000..b530cee --- /dev/null +++ b/meta-gnome/recipes-gnome/nautilus/nautilus3_3.0.2.bb @@ -0,0 +1,47 @@ +# nautilus OE build file +# Copyright (C) 2005, Advanced Micro Devices, Inc. All Rights Reserved +# Released under the MIT license (see packages/COPYING) + +LICENSE="GPLv2 && LGPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=f08a446809913fc9b3c718f0eaea0426 \ + file://COPYING.LIB;md5=f30a9716ef3762e3467a2f62bf790f0a" + +PR = "r2" + +DEPENDS = "libnotify3 gtk+3 libunique gvfs librsvg libexif gnome-desktop3" +# optional: tracker + +BPN = "nautilus" +inherit gnome + +SRC_URI += "file://no-try-run-strftime.diff" +SRC_URI[archive.md5sum] = "949187b1f241137ad3a5e6bdca3dfb0b" +SRC_URI[archive.sha256sum] = "6a4c6b75593f0e815763d0040878cd908da72318f18b05f33d24040e0d602b22" + +EXTRA_OECONF = " --disable-gtk-doc --disable-update-mimedb --enable-nst-extension" +export SYSROOT = "${STAGING_DIR_HOST}" + +do_configure() { + sed -i -e /docs/d Makefile.am + autotools_do_configure +} + +RDEPENDS_${PN} = "gvfs gvfsd-ftp gvfsd-sftp gvfsd-trash glib-2.0-utils" +FILES_${PN} += "${datadir}/icons \ + /usr/libexec/ \ + ${datadir}/nautilus* \ + ${datadir}/dbus-1 \ + ${libdir}/nautilus/extensions*/*.so \ + " +FILES_${PN}-dbg += "/usr/libexec/.debug" + +# Don't make nautils drag us in +PRIVATE_LIBS = "libnautilus-extension.so.1" + +pkg_postinst_${PN} () { +if [ -n "$D" ]; then + exit 1 +fi + +glib-compile-schemas ${datadir}/glib-2.0/schemas +} |