diff options
Diffstat (limited to 'meta/recipes-graphics/libxsettings-client/libxsettings-client')
4 files changed, 68 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 @@ | |||
1 | Upstream-Status: Inappropriate [configuration] | ||
2 | |||
3 | Do not set Os optimization in target APP CFLAGS, since it may have potential | ||
4 | error if "--enable-target-optspace" is not set when configuring GCC. | ||
5 | |||
6 | Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> | ||
7 | |||
8 | diff -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 @@ | |||
1 | Upstream-Status: Inappropriate [configuration] | ||
2 | |||
3 | Index: 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 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> | ||
4 | diff -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" | ||