diff options
Diffstat (limited to 'meta/recipes-graphics/libxsettings-client')
3 files changed, 63 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/link-x11.patch b/meta/recipes-graphics/libxsettings-client/libxsettings-client/link-x11.patch new file mode 100644 index 0000000000..ee12f0a5b3 --- /dev/null +++ b/meta/recipes-graphics/libxsettings-client/libxsettings-client/link-x11.patch | |||
@@ -0,0 +1,11 @@ | |||
1 | Index: Xsettings-client-0.10/Makefile.am | ||
2 | =================================================================== | ||
3 | --- Xsettings-client-0.10.orig/Makefile.am 2008-02-07 14:49:54.000000000 +0000 | ||
4 | +++ Xsettings-client-0.10/Makefile.am 2008-02-07 14:50:00.000000000 +0000 | ||
5 | @@ -9,4 +9,4 @@ | ||
6 | |||
7 | libXsettings_client_la_SOURCES= $(source_c) $(source_h) | ||
8 | |||
9 | -libXsettings_client_la_LIBADD = @X_LIBS@ | ||
10 | \ No newline at end of file | ||
11 | +libXsettings_client_la_LIBADD = @X_LIBS@ -lX11 | ||
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..ecd6d181eb --- /dev/null +++ b/meta/recipes-graphics/libxsettings-client/libxsettings-client_0.10.bb | |||
@@ -0,0 +1,30 @@ | |||
1 | DESCRIPTION = "Common code for XSETTINGS" | ||
2 | HOMEPAGE = "http://matchbox-project.org/sources/optional-dependencies/" | ||
3 | BUGTRACKER = "http://bugzilla.openedhand.com/" | ||
4 | SECTION = "x/libs" | ||
5 | LICENSE = "MIT-style" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=7cfac9d2d4dc3694cc7eb605cf32a69b \ | ||
7 | file://xsettings-client.h;endline=22;md5=7cfac9d2d4dc3694cc7eb605cf32a69b \ | ||
8 | file://xsettings-common.h;endline=22;md5=7cfac9d2d4dc3694cc7eb605cf32a69b" | ||
9 | PRIORITY = "optional" | ||
10 | DEPENDS = "virtual/libx11" | ||
11 | |||
12 | PR = "r3" | ||
13 | |||
14 | headers = "xsettings-common.h xsettings-client.h" | ||
15 | |||
16 | SRC_URI = "http://projects.o-hand.com/matchbox/sources/optional-dependencies/Xsettings-client-0.10.tar.gz \ | ||
17 | file://MIT-style-license \ | ||
18 | file://link-x11.patch;apply=yes" | ||
19 | |||
20 | S = "${WORKDIR}/Xsettings-client-0.10" | ||
21 | |||
22 | inherit autotools gettext | ||
23 | |||
24 | do_configure_prepend() { | ||
25 | # This package doesn't ship with its own COPYING file and | ||
26 | # autotools will install a GPLv2 one instead of the actual MIT-style license here. | ||
27 | # Add the correct license here to avoid confusion. | ||
28 | cp -f ${WORKDIR}/MIT-style-license ${S}/COPYING | ||
29 | } | ||
30 | |||