diff options
3 files changed, 64 insertions, 0 deletions
diff --git a/meta-moblin/packages/nautilus/nautilus/idl-sysroot.patch b/meta-moblin/packages/nautilus/nautilus/idl-sysroot.patch new file mode 100644 index 0000000000..0062cfb11a --- /dev/null +++ b/meta-moblin/packages/nautilus/nautilus/idl-sysroot.patch | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | Index: nautilus-2.24.2/add-include-prefix | ||
| 2 | =================================================================== | ||
| 3 | --- nautilus-2.24.2.orig/add-include-prefix 2008-10-06 17:22:21.000000000 +0000 | ||
| 4 | +++ nautilus-2.24.2/add-include-prefix 2009-04-09 16:00:05.000000000 +0000 | ||
| 5 | @@ -1 +1 @@ | ||
| 6 | -sed -e 's/^/ /' -e 's/ */ /g' -e 's/ / -I /g' -e 's/ -I $//' | ||
| 7 | +sed -e 's:^: :' -e 's: *: :g' -e 's: : -I '"$SYSROOT"':g' -e 's: -I '"$SYSROOT"'$::' | ||
diff --git a/meta-moblin/packages/nautilus/nautilus/no-try-run-strftime.diff b/meta-moblin/packages/nautilus/nautilus/no-try-run-strftime.diff new file mode 100644 index 0000000000..ccd2934b3a --- /dev/null +++ b/meta-moblin/packages/nautilus/nautilus/no-try-run-strftime.diff | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | --- /tmp/configure.in 2009-04-13 11:26:43.000000000 +0200 | ||
| 2 | +++ nautilus-2.26.1/configure.in 2009-04-13 11:28:37.000000000 +0200 | ||
| 3 | @@ -375,25 +375,6 @@ | ||
| 4 | |||
| 5 | dnl =========================================================================== | ||
| 6 | |||
| 7 | -dnl strftime checks | ||
| 8 | - | ||
| 9 | -AC_TRY_RUN([#include <time.h> | ||
| 10 | - int main () | ||
| 11 | - { | ||
| 12 | - char buf[100]; | ||
| 13 | - struct tm tm = {0}; | ||
| 14 | - tm.tm_year = 99; | ||
| 15 | - if (strftime(buf, 100, "%EY", &tm) == 4 && | ||
| 16 | - strcmp (buf, "1999")==0) | ||
| 17 | - return 0; | ||
| 18 | - return 1; | ||
| 19 | - } | ||
| 20 | - ], | ||
| 21 | - AC_DEFINE(HAVE_STRFTIME_EXTENSION, 1, [Define if strftime supports %E and %O modifiers.]) | ||
| 22 | - ) | ||
| 23 | - | ||
| 24 | -dnl =========================================================================== | ||
| 25 | - | ||
| 26 | # | ||
| 27 | # Checks for Xft/XRender | ||
| 28 | # | ||
diff --git a/meta-moblin/packages/nautilus/nautilus_2.26.1.bb b/meta-moblin/packages/nautilus/nautilus_2.26.1.bb new file mode 100644 index 0000000000..e653ae9918 --- /dev/null +++ b/meta-moblin/packages/nautilus/nautilus_2.26.1.bb | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | # nautilus OE build file | ||
| 2 | # Copyright (C) 2005, Advanced Micro Devices, Inc. All Rights Reserved | ||
| 3 | # Released under the MIT license (see packages/COPYING) | ||
| 4 | |||
| 5 | inherit gnome | ||
| 6 | |||
| 7 | SRC_URI += "file://idl-sysroot.patch;patch=1 \ | ||
| 8 | file://no-try-run-strftime.diff;patch=1 \ | ||
| 9 | " | ||
| 10 | |||
| 11 | export SYSROOT = "${STAGING_DIR_HOST}" | ||
| 12 | |||
| 13 | LICENSE = "GPL" | ||
| 14 | |||
| 15 | DEPENDS = "gail gtk+ pango gnome-desktop libxml2 dbus-glib libunique libexif librsvg" | ||
| 16 | #DEPENDS += "gvfs" | ||
| 17 | #RDEPENDS = "gvfs gvfsd-ftp gvfsd-sftp gvfsd-trash" | ||
| 18 | |||
| 19 | EXTRA_OECONF = " --disable-gtk-doc --disable-update-mimedb --disable-tracker --disable-beagle" | ||
| 20 | |||
| 21 | PACKAGES += " libnautilus" | ||
| 22 | |||
| 23 | FILES_${PN} += "${datadir}/icons /usr/libexec/ " | ||
| 24 | FILES_libnautilus = "/usr/lib/*.so*" | ||
| 25 | FILES_${PN}-dbg += "/usr/libexec/.debug" | ||
| 26 | |||
| 27 | do_configure_prepend() { | ||
| 28 | sed -i -e /docs/d Makefile.am | ||
| 29 | } | ||
