nautilus: Add based roughly on OE.dev recipe
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
parent
d3983072bc
commit
2c0cee1b31
|
@ -0,0 +1,7 @@
|
|||
Index: nautilus-2.24.2/add-include-prefix
|
||||
===================================================================
|
||||
--- nautilus-2.24.2.orig/add-include-prefix 2008-10-06 17:22:21.000000000 +0000
|
||||
+++ nautilus-2.24.2/add-include-prefix 2009-04-09 16:00:05.000000000 +0000
|
||||
@@ -1 +1 @@
|
||||
-sed -e 's/^/ /' -e 's/ */ /g' -e 's/ / -I /g' -e 's/ -I $//'
|
||||
+sed -e 's:^: :' -e 's: *: :g' -e 's: : -I '"$SYSROOT"':g' -e 's: -I '"$SYSROOT"'$::'
|
|
@ -0,0 +1,28 @@
|
|||
--- /tmp/configure.in 2009-04-13 11:26:43.000000000 +0200
|
||||
+++ nautilus-2.26.1/configure.in 2009-04-13 11:28:37.000000000 +0200
|
||||
@@ -375,25 +375,6 @@
|
||||
|
||||
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.])
|
||||
- )
|
||||
-
|
||||
-dnl ===========================================================================
|
||||
-
|
||||
#
|
||||
# Checks for Xft/XRender
|
||||
#
|
|
@ -0,0 +1,29 @@
|
|||
# nautilus OE build file
|
||||
# Copyright (C) 2005, Advanced Micro Devices, Inc. All Rights Reserved
|
||||
# Released under the MIT license (see packages/COPYING)
|
||||
|
||||
inherit gnome
|
||||
|
||||
SRC_URI += "file://idl-sysroot.patch;patch=1 \
|
||||
file://no-try-run-strftime.diff;patch=1 \
|
||||
"
|
||||
|
||||
export SYSROOT = "${STAGING_DIR_HOST}"
|
||||
|
||||
LICENSE = "GPL"
|
||||
|
||||
DEPENDS = "gail gtk+ pango gnome-desktop libxml2 dbus-glib libunique libexif librsvg"
|
||||
#DEPENDS += "gvfs"
|
||||
#RDEPENDS = "gvfs gvfsd-ftp gvfsd-sftp gvfsd-trash"
|
||||
|
||||
EXTRA_OECONF = " --disable-gtk-doc --disable-update-mimedb --disable-tracker --disable-beagle"
|
||||
|
||||
PACKAGES += " libnautilus"
|
||||
|
||||
FILES_${PN} += "${datadir}/icons /usr/libexec/ "
|
||||
FILES_libnautilus = "/usr/lib/*.so*"
|
||||
FILES_${PN}-dbg += "/usr/libexec/.debug"
|
||||
|
||||
do_configure_prepend() {
|
||||
sed -i -e /docs/d Makefile.am
|
||||
}
|
Loading…
Reference in New Issue