summaryrefslogtreecommitdiff
path: root/packages/eel
diff options
context:
space:
mode:
Diffstat (limited to 'packages/eel')
-rw-r--r--packages/eel/.mtn2git_empty0
-rw-r--r--packages/eel/eel/.mtn2git_empty0
-rw-r--r--packages/eel/eel/configure.patch42
-rw-r--r--packages/eel/eel_2.6.1.bb45
4 files changed, 87 insertions, 0 deletions
diff --git a/packages/eel/.mtn2git_empty b/packages/eel/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/eel/.mtn2git_empty
diff --git a/packages/eel/eel/.mtn2git_empty b/packages/eel/eel/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/eel/eel/.mtn2git_empty
diff --git a/packages/eel/eel/configure.patch b/packages/eel/eel/configure.patch
index e69de29bb2..594a753535 100644
--- a/packages/eel/eel/configure.patch
+++ b/packages/eel/eel/configure.patch
@@ -0,0 +1,42 @@
+--- eel-2.6.1/configure.in 2004-04-19 03:54:15.000000000 -0700
++++ eel-2.6.1.new/configure.in 2004-11-12 17:48:40.272719976 -0700
+@@ -87,21 +87,25 @@
+ dnl ===========================================================================
+
+ dnl strftime checks
++dnl grrrr... this doesn't work for cross compiling
++dnl define it for OE
+
+-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 )
++dnl AC_TRY_RUN([#include <time.h>
++dnl int main ()
++dnl {
++dnl char buf[100];
++dnl struct tm tm = {0};
++dnl tm.tm_year = 99;
++dnl if (strftime(buf, 100, "%EY", &tm) == 4 &&
++dnl strcmp (buf, "1999")==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 ===========================================================================
+
diff --git a/packages/eel/eel_2.6.1.bb b/packages/eel/eel_2.6.1.bb
index e69de29bb2..a9a50cf172 100644
--- a/packages/eel/eel_2.6.1.bb
+++ b/packages/eel/eel_2.6.1.bb
@@ -0,0 +1,45 @@
+# eel OE build file
+# Copyright (C) 2005, Advanced Micro Devices, Inc. All Rights Reserved
+# Released under the MIT license (see packages/COPYING)
+
+inherit gnome
+
+LICENSE="GPL"
+SRC_URI += "file://configure.patch;patch=1"
+
+DEPENDS="libgnomeui gail"
+EXTRA_OECONF = "--disable-gtk-doc"
+
+edir="${STAGING_INCDIR}/eel-2/eel"
+
+headers="eel-accessibility.h eel-graphic-effects.h \
+ eel-alert-dialog.h eel-gtk-container.h \
+ eel-art-extensions.h eel-gtk-extensions.h \
+ eel-art-gtk-extensions.h eel-gtk-macros.h \
+ eel-background-box.h eel-i18n.h \
+ eel-background.h eel-image-table.h \
+ eel-canvas-rect-ellipse.h eel-labeled-image.h \
+ eel-canvas-util.h eel-marshal.h \
+ eel-canvas.h eel-pango-extensions.h \
+ eel-cell-renderer-pixbuf-list.h eel-preferences-glade.h \
+ eel-dateedit-extensions.h eel-preferences.h \
+ eel-debug-drawing.h eel-self-checks.h \
+ eel-debug.h eel-stock-dialogs.h \
+ eel-editable-label.h eel-string-list.h \
+ eel-ellipsizing-label.h eel-string.h \
+ eel-enumeration.h eel-type-builtins.h \
+ eel-features.h eel-types.h \
+ eel-gconf-extensions.h eel-vfs-extensions.h \
+ eel-gdk-extensions.h eel-wrap-table.h \
+ eel-gdk-pixbuf-extensions.h eel-xml-extensions.h \
+ eel-glib-extensions.h eel.h \
+ eel-gnome-extensions.h"
+
+do_stage() {
+ install -d ${edir}
+ for file in ${headers}; do
+ install -m 0644 eel/$file ${edir}/$file
+ done
+
+ oe_libinstall -C eel libeel-2 ${STAGING_LIBDIR}
+}