summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome/gtk-engines
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2015-10-09 20:59:03 (GMT)
committerTudor Florea <tudor.florea@enea.com>2015-10-09 20:59:03 (GMT)
commit972dcfcdbfe75dcfeb777150c136576cf1a71e99 (patch)
tree97a61cd7e293d7ae9d56ef7ed0f81253365bb026 /meta/recipes-gnome/gtk-engines
downloadpoky-972dcfcdbfe75dcfeb777150c136576cf1a71e99.tar.gz
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/recipes-gnome/gtk-engines')
-rw-r--r--meta/recipes-gnome/gtk-engines/gtk-engines-2.20.2/glib-2.32.patch23
-rw-r--r--meta/recipes-gnome/gtk-engines/gtk-engines-2.20.2/substitute-tests.patch37
-rw-r--r--meta/recipes-gnome/gtk-engines/gtk-engines_2.20.2.bb46
3 files changed, 106 insertions, 0 deletions
diff --git a/meta/recipes-gnome/gtk-engines/gtk-engines-2.20.2/glib-2.32.patch b/meta/recipes-gnome/gtk-engines/gtk-engines-2.20.2/glib-2.32.patch
new file mode 100644
index 0000000..f0b878d
--- /dev/null
+++ b/meta/recipes-gnome/gtk-engines/gtk-engines-2.20.2/glib-2.32.patch
@@ -0,0 +1,23 @@
1From 8d49a386f467cbf8e0842d2218126f643e50f834 Mon Sep 17 00:00:00 2001
2From: Dominique Leuenberger <dimstar@opensuse.org>
3Date: Sun, 27 Nov 2011 14:24:57 +0000
4Subject: Fix build with glib 2.31: Only glib.h can be #include'd. Fixes bug #664914
5
6Upstream-Status: Backport
7
8---
9diff --git a/engines/clearlooks/src/animation.c b/engines/clearlooks/src/animation.c
10index 1f7a41f..56a9286 100644
11--- a/engines/clearlooks/src/animation.c
12+++ b/engines/clearlooks/src/animation.c
13@@ -28,7 +28,7 @@
14 #include "animation.h"
15
16 #ifdef HAVE_WORKING_ANIMATION
17-#include <glib/gtimer.h>
18+#include <glib.h>
19
20 struct _AnimationInfo {
21 GTimer *timer;
22--
23cgit v0.9.0.2
diff --git a/meta/recipes-gnome/gtk-engines/gtk-engines-2.20.2/substitute-tests.patch b/meta/recipes-gnome/gtk-engines/gtk-engines-2.20.2/substitute-tests.patch
new file mode 100644
index 0000000..5c557ba
--- /dev/null
+++ b/meta/recipes-gnome/gtk-engines/gtk-engines-2.20.2/substitute-tests.patch
@@ -0,0 +1,37 @@
1Upstream-Status: Pending
2
3Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
4diff -Nurd gtk-engines-2.20.2/configure.ac gtk-engines-2.20.2/configure.ac
5--- gtk-engines-2.20.2/configure.ac 2010-10-01 15:42:37.000000000 +0300
6+++ gtk-engines-2.20.2/configure.ac 2013-08-20 02:50:27.930510565 +0300
7@@ -166,6 +166,9 @@
8
9 AC_SUBST(DEVELOPMENT_CFLAGS)
10
11+AC_SUBST([exported_symbols_tests], [[$(EXPORTED_SYMBOLS_TESTS)]])
12+AC_SUBST([torture_test_tests], [[$(TORTURE_TEST_TESTS)]])
13+
14 AM_CONFIG_HEADER([engines/support/config.h])
15
16 AC_CONFIG_FILES([
17diff -Nurd gtk-engines-2.20.2/test/Makefile.am gtk-engines-2.20.2/test/Makefile.am
18--- gtk-engines-2.20.2/test/Makefile.am 2010-09-19 18:18:21.000000000 +0300
19+++ gtk-engines-2.20.2/test/Makefile.am 2013-08-20 02:50:36.842510865 +0300
20@@ -66,7 +66,7 @@
21 # Prefix with exported_
22 EXPORTED_SYMBOLS_TESTS = $(patsubst %,exported_%,$(BUILD_ENGINES))
23
24-TESTS += $(EXPORTED_SYMBOLS_TESTS)
25+TESTS += @exported_symbols_tests@
26
27
28 #############################################################
29@@ -88,7 +88,7 @@
30 TORTURE_TEST_TESTS = torture_buildin $(patsubst %,torture_%,$(TORTURE_TEST_ENGINES))
31
32 # Add TORTURE_TEST_ENGINES to list of tests
33-TESTS += $(TORTURE_TEST_TESTS)
34+TESTS += @torture_test_tests@
35
36 # Possible other tests:
37 # - An extensive theme switch tests that loads/unloads the engine
diff --git a/meta/recipes-gnome/gtk-engines/gtk-engines_2.20.2.bb b/meta/recipes-gnome/gtk-engines/gtk-engines_2.20.2.bb
new file mode 100644
index 0000000..33b6afe
--- /dev/null
+++ b/meta/recipes-gnome/gtk-engines/gtk-engines_2.20.2.bb
@@ -0,0 +1,46 @@
1SUMMARY = "GTK+ theme engines"
2HOMEPAGE = "http://www.gnome.org/"
3BUGTRACKER = "https://bugzilla.gnome.org/"
4
5LICENSE = "LGPLv2.1"
6LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
7
8SECTION = "x11/base"
9DEPENDS = "intltool-native gtk+"
10
11PR = "r3"
12
13PACKAGES += "${PN}-schemas"
14PACKAGES_DYNAMIC += "^gtk-engine-.* ^gtk-theme-.*"
15
16RDEPENDS_gtk-theme-redmond = "gtk-engine-redmond95"
17RDEPENDS_gtk-theme-metal = "gtk-engine-metal"
18RDEPENDS_gtk-theme-mist = "gtk-engine-mist"
19RDEPENDS_gtk-theme-crux = "gtk-engine-crux-engine"
20RDEPENDS_gtk-theme-lighthouseblue = "gtk-engine-lighthouseblue"
21RDEPENDS_gtk-theme-thinice = "gtk-engine-thinice"
22RDEPENDS_gtk-theme-industrial = "gtk-engine-industrial"
23RDEPENDS_gtk-theme-clearlooks = "gtk-engine-clearlooks"
24
25FILES_${PN} = ""
26FILES_${PN}-dev += "${libdir}/gtk-2.0/*/engines/*.la"
27FILES_${PN}-dbg += "${libdir}/gtk-2.0/*/engines/.debug"
28FILES_${PN}-schemas = "${datadir}/gtk-engines/*.xml"
29
30CFLAGS_prepend = "-DHAVE_ANIMATION "
31
32inherit gnomebase
33
34python populate_packages_prepend() {
35 engines_root = os.path.join(d.getVar('libdir', True), "gtk-2.0/2.10.0/engines")
36 themes_root = os.path.join(d.getVar('datadir', True), "themes")
37
38 do_split_packages(d, engines_root, '^lib(.*)\.so$', 'gtk-engine-%s', 'GTK %s theme engine', extra_depends='')
39 do_split_packages(d, themes_root, '(.*)', 'gtk-theme-%s', 'GTK theme %s', allow_dirs=True, extra_depends='')
40 # TODO: mark theme packages as arch all
41}
42
43SRC_URI += "file://glib-2.32.patch \
44 file://substitute-tests.patch"
45SRC_URI[archive.md5sum] = "5deb287bc6075dc21812130604c7dc4f"
46SRC_URI[archive.sha256sum] = "15b680abca6c773ecb85253521fa100dd3b8549befeecc7595b10209d62d66b5"