summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/libxsettings-client
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2015-10-09 22:59:03 +0200
committerTudor Florea <tudor.florea@enea.com>2015-10-09 22:59:03 +0200
commit972dcfcdbfe75dcfeb777150c136576cf1a71e99 (patch)
tree97a61cd7e293d7ae9d56ef7ed0f81253365bb026 /meta/recipes-graphics/libxsettings-client
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-graphics/libxsettings-client')
-rw-r--r--meta/recipes-graphics/libxsettings-client/libxsettings-client/MIT-style-license22
-rw-r--r--meta/recipes-graphics/libxsettings-client/libxsettings-client/disable_Os_option.patch19
-rw-r--r--meta/recipes-graphics/libxsettings-client/libxsettings-client/link-x11.patch13
-rw-r--r--meta/recipes-graphics/libxsettings-client/libxsettings-client/obsolete_automake_macros.patch14
-rw-r--r--meta/recipes-graphics/libxsettings-client/libxsettings-client_0.10.bb39
5 files changed, 107 insertions, 0 deletions
diff --git a/meta/recipes-graphics/libxsettings-client/libxsettings-client/MIT-style-license b/meta/recipes-graphics/libxsettings-client/libxsettings-client/MIT-style-license
new file mode 100644
index 0000000000..628de9830d
--- /dev/null
+++ b/meta/recipes-graphics/libxsettings-client/libxsettings-client/MIT-style-license
@@ -0,0 +1,22 @@
1/*
2 * Copyright © 2001 Red Hat, Inc.
3 *
4 * Permission to use, copy, modify, distribute, and sell this software and its
5 * documentation for any purpose is hereby granted without fee, provided that
6 * the above copyright notice appear in all copies and that both that
7 * copyright notice and this permission notice appear in supporting
8 * documentation, and that the name of Red Hat not be used in advertising or
9 * publicity pertaining to distribution of the software without specific,
10 * written prior permission. Red Hat makes no representations about the
11 * suitability of this software for any purpose. It is provided "as is"
12 * without express or implied warranty.
13 *
14 * RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
15 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL RED HAT
16 * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
17 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
18 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
19 * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
20 *
21 * Author: Owen Taylor, Red Hat, Inc.
22 */
diff --git a/meta/recipes-graphics/libxsettings-client/libxsettings-client/disable_Os_option.patch b/meta/recipes-graphics/libxsettings-client/libxsettings-client/disable_Os_option.patch
new file mode 100644
index 0000000000..64b7efac23
--- /dev/null
+++ b/meta/recipes-graphics/libxsettings-client/libxsettings-client/disable_Os_option.patch
@@ -0,0 +1,19 @@
1Upstream-Status: Inappropriate [configuration]
2
3Do not set Os optimization in target APP CFLAGS, since it may have potential
4error if "--enable-target-optspace" is not set when configuring GCC.
5
6Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
7
8diff -ruN Xsettings-client-0.10-orig/configure.ac Xsettings-client-0.10/configure.ac
9--- Xsettings-client-0.10-orig/configure.ac 2010-09-21 14:01:47.000000000 +0800
10+++ Xsettings-client-0.10/configure.ac 2010-09-21 14:02:01.000000000 +0800
11@@ -3,7 +3,7 @@
12 AM_INIT_AUTOMAKE(Xsettings-client, 0.10)
13 AM_CONFIG_HEADER(config.h)
14
15-CFLAGS="-Os -Wall"
16+CFLAGS="-O2 -Wall"
17
18 # Checks for programs.
19 AC_PROG_CC
diff --git a/meta/recipes-graphics/libxsettings-client/libxsettings-client/link-x11.patch b/meta/recipes-graphics/libxsettings-client/libxsettings-client/link-x11.patch
new file mode 100644
index 0000000000..d08d0d5b99
--- /dev/null
+++ b/meta/recipes-graphics/libxsettings-client/libxsettings-client/link-x11.patch
@@ -0,0 +1,13 @@
1Upstream-Status: Inappropriate [configuration]
2
3Index: Xsettings-client-0.10/Makefile.am
4===================================================================
5--- Xsettings-client-0.10.orig/Makefile.am 2008-02-07 14:49:54.000000000 +0000
6+++ Xsettings-client-0.10/Makefile.am 2008-02-07 14:50:00.000000000 +0000
7@@ -9,4 +9,4 @@
8
9 libXsettings_client_la_SOURCES= $(source_c) $(source_h)
10
11-libXsettings_client_la_LIBADD = @X_LIBS@
12\ No newline at end of file
13+libXsettings_client_la_LIBADD = @X_LIBS@ -lX11
diff --git a/meta/recipes-graphics/libxsettings-client/libxsettings-client/obsolete_automake_macros.patch b/meta/recipes-graphics/libxsettings-client/libxsettings-client/obsolete_automake_macros.patch
new file mode 100644
index 0000000000..905d08e616
--- /dev/null
+++ b/meta/recipes-graphics/libxsettings-client/libxsettings-client/obsolete_automake_macros.patch
@@ -0,0 +1,14 @@
1Upstream-Status: Pending
2
3Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
4diff -Nurd Xsettings-client-0.10/configure.ac Xsettings-client-0.10/configure.ac
5--- Xsettings-client-0.10/configure.ac 2003-03-28 12:39:51.000000000 +0200
6+++ Xsettings-client-0.10/configure.ac 2013-01-11 07:37:21.491597743 +0200
7@@ -1,7 +1,7 @@
8 # Process this file with autoconf to produce a configure script.
9 AC_INIT(xsettings-client.c)
10 AM_INIT_AUTOMAKE(Xsettings-client, 0.10)
11-AM_CONFIG_HEADER(config.h)
12+AC_CONFIG_HEADERS(config.h)
13
14 CFLAGS="-Os -Wall"
diff --git a/meta/recipes-graphics/libxsettings-client/libxsettings-client_0.10.bb b/meta/recipes-graphics/libxsettings-client/libxsettings-client_0.10.bb
new file mode 100644
index 0000000000..d7a80305e8
--- /dev/null
+++ b/meta/recipes-graphics/libxsettings-client/libxsettings-client_0.10.bb
@@ -0,0 +1,39 @@
1SUMMARY = "utility functions for the Xsettings protocol"
2DESCRIPTION = "Libraries used for applications making use of the Xsettings configuration \
3setting propagation protocol. Controls setting of double click timeout, drag-and-drop \
4threshold, and default foreground and background colors for all applications running within a \
5desktop."
6HOMEPAGE = "http://matchbox-project.org/sources/optional-dependencies/"
7BUGTRACKER = "http://bugzilla.yoctoproject.org/"
8SECTION = "x/libs"
9LICENSE = "MIT-style"
10LIC_FILES_CHKSUM = "file://COPYING;md5=7cfac9d2d4dc3694cc7eb605cf32a69b \
11 file://xsettings-client.h;endline=22;md5=7cfac9d2d4dc3694cc7eb605cf32a69b \
12 file://xsettings-common.h;endline=22;md5=7cfac9d2d4dc3694cc7eb605cf32a69b"
13DEPENDS = "virtual/libx11"
14
15PR = "r5"
16
17headers = "xsettings-common.h xsettings-client.h"
18
19SRC_URI = "http://downloads.yoctoproject.org/releases/matchbox/optional-dependencies/Xsettings-client-0.10.tar.gz \
20 file://MIT-style-license \
21 file://link-x11.patch;apply=yes \
22 file://disable_Os_option.patch \
23 file://obsolete_automake_macros.patch \
24"
25
26SRC_URI[md5sum] = "c14aa9db6c097e0306dac97fb7da1add"
27SRC_URI[sha256sum] = "f274a4bc969ae192994a856b7f786c6fce96bae77f96c1c2b71dd97599e06e43"
28
29S = "${WORKDIR}/Xsettings-client-0.10"
30
31inherit autotools gettext
32
33do_configure_prepend() {
34 # This package doesn't ship with its own COPYING file and
35 # autotools will install a GPLv2 one instead of the actual MIT-style license here.
36 # Add the correct license here to avoid confusion.
37 cp -f ${WORKDIR}/MIT-style-license ${S}/COPYING
38}
39