summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-support')
-rw-r--r--meta-oe/recipes-support/fbreader/fbreader-0.12.10/Makefile.patch22
-rw-r--r--meta-oe/recipes-support/fbreader/fbreader-0.12.10/gcc45.patch20
-rw-r--r--meta-oe/recipes-support/fbreader/fbreader_0.12.10.bb45
-rw-r--r--meta-oe/recipes-support/fbreader/fbreader_git.bb45
-rw-r--r--meta-oe/recipes-support/fbreader/files/0001-Fix-installation-of-the-icons-when-RESOLUTION-is-set.patch40
-rw-r--r--meta-oe/recipes-support/fltk/fltk-1.1.10/disable_test.patch13
-rw-r--r--meta-oe/recipes-support/fltk/fltk-1.1.10/dso-fix.patch13
-rw-r--r--meta-oe/recipes-support/fltk/fltk_1.1.10.bb37
-rw-r--r--meta-oe/recipes-support/gpm/gpm-1.99.7/init32
-rw-r--r--meta-oe/recipes-support/gpm/gpm-1.99.7/no-docs.patch18
-rw-r--r--meta-oe/recipes-support/gpm/gpm-1.99.7/processcreds.patch12
-rw-r--r--meta-oe/recipes-support/gpm/gpm_1.99.7.bb43
-rw-r--r--meta-oe/recipes-support/iksemel/iksemel-1.4/r25.diff32
-rw-r--r--meta-oe/recipes-support/iksemel/iksemel_1.4.bb16
-rw-r--r--meta-oe/recipes-support/joe/joe_3.1.bb13
-rw-r--r--meta-oe/recipes-support/links/files/ac-prog-cxx.patch11
-rw-r--r--meta-oe/recipes-support/links/files/cookies-save-0.96.patch106
-rw-r--r--meta-oe/recipes-support/links/files/links-2.1pre17-fix-segfault-on-loading-cookies.patch20
-rw-r--r--meta-oe/recipes-support/links/files/links2.desktop14
-rw-r--r--meta-oe/recipes-support/links/links-x11_2.0+2.1pre30.bb26
-rw-r--r--meta-oe/recipes-support/links/links.inc19
-rw-r--r--meta-oe/recipes-support/links/links_2.0+2.1pre30.bb13
-rw-r--r--meta-oe/recipes-support/ode/ode/install.patch23
-rw-r--r--meta-oe/recipes-support/ode/ode_0.9.bb24
-rw-r--r--meta-oe/recipes-support/openldap/openldap-2.4.23/initscript29
-rw-r--r--meta-oe/recipes-support/openldap/openldap-2.4.23/install-strip.patch14
-rw-r--r--meta-oe/recipes-support/openldap/openldap-2.4.23/openldap-m4-pthread.patch20
-rw-r--r--meta-oe/recipes-support/openldap/openldap_2.4.23.bb270
-rw-r--r--meta-oe/recipes-support/opensync/libsyncml_0.5.4.bb29
-rw-r--r--meta-oe/recipes-support/opensync/wbxml2_0.10.8.bb29
-rw-r--r--meta-oe/recipes-support/xchat/xchat-2.8.8/glib-2.32.patch44
-rw-r--r--meta-oe/recipes-support/xchat/xchat_2.8.8.bb30
32 files changed, 1122 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/fbreader/fbreader-0.12.10/Makefile.patch b/meta-oe/recipes-support/fbreader/fbreader-0.12.10/Makefile.patch
new file mode 100644
index 000000000..0e498c712
--- /dev/null
+++ b/meta-oe/recipes-support/fbreader/fbreader-0.12.10/Makefile.patch
@@ -0,0 +1,22 @@
1diff -uri fbreader-0.12.1.orig/fbreader/Makefile fbreader-0.12.1/fbreader/Makefile
2--- fbreader-0.12.1.orig/fbreader/Makefile 2009-12-13 09:03:11.000000000 +0100
3+++ fbreader-0.12.1/fbreader/Makefile 2009-12-14 17:18:47.548638783 +0100
4@@ -37,7 +37,6 @@
5 @install $(TARGET) $(DESTDIR)$(BINDIR)/FBReader
6 @install -d $(FBSHAREDIR)
7 @install -d $(FBSHAREDIR)/help
8- @./scripts/install_help.sh $(VARIANT) $(FBSHAREDIR)/help
9 @install -d $(FBSHAREDIR)/network
10 @install -m 0644 $(wildcard data/network/*.xml) $(FBSHAREDIR)/network
11 @install -d $(FBSHAREDIR)/network/certificates
12@@ -58,8 +57,8 @@
13 @install -d $(FBSHAREDIR)/resources
14 @install -m 0644 $(wildcard data/resources/*.xml) $(FBSHAREDIR)/resources
15 @install -d $(DESTDIR)$(APPIMAGEDIR_REAL)
16- @install -m 0644 $(wildcard data/icons/toolbar/$(VARIANT)/*.*) $(DESTDIR)$(APPIMAGEDIR_REAL)
17- @install -m 0644 $(wildcard data/icons/filetree/$(VARIANT)/*.*) $(DESTDIR)$(APPIMAGEDIR_REAL)
18+ @install -m 0644 $(wildcard data/icons/toolbar/$(TARGET_ARCH)/*.*) $(DESTDIR)$(APPIMAGEDIR_REAL)
19+ @install -m 0644 $(wildcard data/icons/filetree/$(TARGET_ARCH)/*.*) $(DESTDIR)$(APPIMAGEDIR_REAL)
20 @install -m 0644 $(wildcard data/icons/booktree/new/*.*) $(DESTDIR)$(APPIMAGEDIR_REAL)
21 @make -C $(TARGET_ARCH) RESOLUTION=$(RESOLUTION) install
22
diff --git a/meta-oe/recipes-support/fbreader/fbreader-0.12.10/gcc45.patch b/meta-oe/recipes-support/fbreader/fbreader-0.12.10/gcc45.patch
new file mode 100644
index 000000000..00cba1023
--- /dev/null
+++ b/meta-oe/recipes-support/fbreader/fbreader-0.12.10/gcc45.patch
@@ -0,0 +1,20 @@
1 Fix compilation with gcc 4.5
2
3 [FBreader Ticket #340] -- http://old.fbreader.org/mantis/view.php?id=340
4
5 Without that patch we have:
6 Compiling Library.o ...Library.cpp:42:1: error: 'Library::Library' names the constructor, not the type
7
8 Upstream-Status: Accepted [Fixed in Version 0.14.0]
9
10--- fbreader-0.12.10-orig/fbreader/src/library/Library.cpp 2010-04-01 15:14:24.000000000 +0200
11+++ fbreader-0.12.10/fbreader/src/library/Library.cpp 2010-04-13 13:34:06.000000000 +0200
12@@ -39,7 +39,7 @@
13 shared_ptr<Library> Library::ourInstance;
14 const size_t Library::MaxRecentListSize = 10;
15
16-Library::Library &Library::Instance() {
17+Library &Library::Instance() {
18 if (ourInstance.isNull()) {
19 ourInstance = new Library();
20 }
diff --git a/meta-oe/recipes-support/fbreader/fbreader_0.12.10.bb b/meta-oe/recipes-support/fbreader/fbreader_0.12.10.bb
new file mode 100644
index 000000000..40fc6317e
--- /dev/null
+++ b/meta-oe/recipes-support/fbreader/fbreader_0.12.10.bb
@@ -0,0 +1,45 @@
1DESCRIPTION = "FBreader is an ebook reader"
2HOMEPAGE = "http://www.fbreader.org"
3SECTION = "x11/utils"
4LICENSE = "GPLv2+"
5LIC_FILES_CHKSUM = "file://fbreader/LICENSE;md5=94d55d512a9ba36caa9b7df079bae19f"
6DEPENDS = "gtk+ enca expat bzip2 libgpewidget virtual/libiconv liblinebreak libfribidi curl"
7
8SRC_URI = "http://www.fbreader.org/fbreader-sources-${PV}.tgz \
9file://Makefile.patch \
10file://gcc45.patch"
11
12# Set the defaults
13READER_RESOLUTION ?= "1024x600"
14READER_ARCH ?= "desktop"
15READER_UI ?= "gtk"
16READER_STATUS ?= "release"
17
18# because of defaults overriden in machine config
19PACKAGE_ARCH_om-gta01 = "${MACHINE_ARCH}"
20PACKAGE_ARCH_om-gta02 = "${MACHINE_ARCH}"
21PACKAGE_ARCH_om-gta04 = "${MACHINE_ARCH}"
22
23FILES_${PN} += "${datadir}/FBReader ${datadir}/zlibrary ${libdir}/zlibrary"
24FILES_${PN}-dbg += "${libdir}/zlibrary/ui/.debug/"
25
26CFLAGS_append = " RESOLUTION=${READER_RESOLUTION} INSTALLDIR=${prefix}"
27EXTRA_OEMAKE = "CC='${CXX}' LD='${CXX}' LDFLAGS='${LDFLAGS}' INCPATH='${STAGING_INCDIR}' LIBPATH='${STAGING_LIBDIR}'"
28
29inherit pkgconfig
30
31do_configure() {
32 cd ${WORKDIR}/${PN}-${PV}
33 mv makefiles/target.mk makefiles/target.mk.orig
34
35 echo "TARGET_ARCH = ${READER_ARCH}" > makefiles/target.mk
36 echo "UI_TYPE = ${READER_UI}" >> makefiles/target.mk
37 echo "TARGET_STATUS = ${READER_STATUS}" >> makefiles/target.mk
38}
39
40do_install() {
41 oe_runmake install DESTDIR=${D} RESOLUTION=${READER_RESOLUTION}
42}
43
44SRC_URI[md5sum] = "da9ec4721efdb0ec0aaa182bff16ad82"
45SRC_URI[sha256sum] = "328aec454db80e225aa0b5c31adef74bf62a14357482947e87e9731686b3c624"
diff --git a/meta-oe/recipes-support/fbreader/fbreader_git.bb b/meta-oe/recipes-support/fbreader/fbreader_git.bb
new file mode 100644
index 000000000..8baec79cc
--- /dev/null
+++ b/meta-oe/recipes-support/fbreader/fbreader_git.bb
@@ -0,0 +1,45 @@
1DESCRIPTION = "FBreader is an ebook reader"
2HOMEPAGE = "http://www.fbreader.org"
3SECTION = "x11/utils"
4LICENSE = "GPLv2+"
5LIC_FILES_CHKSUM = "file://fbreader/LICENSE;md5=94d55d512a9ba36caa9b7df079bae19f"
6DEPENDS = "gtk+ enca expat bzip2 libgpewidget virtual/libiconv liblinebreak libfribidi curl"
7SRCREV = "2cf1ec0e306e1122dbed850bfa005cd59a6168ee"
8PV = "0.99.5+gitr${SRCPV}"
9PR = "r0"
10
11DEFAULT_PREFERENCE = "-1"
12
13SRC_URI = "git://github.com/geometer/FBReader.git;protocol=http;branch=master \
14 file://0001-Fix-installation-of-the-icons-when-RESOLUTION-is-set.patch"
15
16# Set the defaults
17READER_RESOLUTION ?= "1024x600"
18READER_ARCH ?= "desktop"
19READER_UI ?= "gtk"
20READER_STATUS ?= "release"
21
22# because of defaults overriden in machine config
23PACKAGE_ARCH_om-gta01 = "${MACHINE_ARCH}"
24PACKAGE_ARCH_om-gta02 = "${MACHINE_ARCH}"
25
26FILES_${PN} += "${datadir}/FBReader ${datadir}/zlibrary ${libdir}/zlibrary"
27FILES_${PN}-dbg += "${libdir}/zlibrary/ui/.debug/"
28
29CFLAGS_append = " RESOLUTION=${READER_RESOLUTION} INSTALLDIR=${prefix}"
30EXTRA_OEMAKE = "CC='${CXX}' LD='${CXX}' INCPATH='${STAGING_INCDIR}' LIBPATH='${STAGING_LIBDIR}'"
31inherit pkgconfig
32
33S = "${WORKDIR}/git"
34
35do_configure() {
36 cd "${S}"
37
38 echo "TARGET_ARCH = ${READER_ARCH}" > makefiles/target.mk
39 echo "UI_TYPE = ${READER_UI}" >> makefiles/target.mk
40 echo "TARGET_STATUS = ${READER_STATUS}" >> makefiles/target.mk
41}
42
43do_install() {
44 oe_runmake install DESTDIR=${D} RESOLUTION=${READER_RESOLUTION}
45}
diff --git a/meta-oe/recipes-support/fbreader/files/0001-Fix-installation-of-the-icons-when-RESOLUTION-is-set.patch b/meta-oe/recipes-support/fbreader/files/0001-Fix-installation-of-the-icons-when-RESOLUTION-is-set.patch
new file mode 100644
index 000000000..f6e12023b
--- /dev/null
+++ b/meta-oe/recipes-support/fbreader/files/0001-Fix-installation-of-the-icons-when-RESOLUTION-is-set.patch
@@ -0,0 +1,40 @@
1From da4170b61bb41eff0af170d1d77bfd90f9ebe5dd Mon Sep 17 00:00:00 2001
2From: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
3Date: Fri, 20 Jan 2012 11:34:42 +0100
4Subject: [PATCH] Fix installation of the icons when RESOLUTION is set
5
6When resolution is set, the following code(in fbreader/Makefile) is executed:
7 VARIANT = $(TARGET_ARCH)
8 ifneq "$(RESOLUTION)" ""
9 VARIANT = $(TARGET_ARCH)_$(RESOLUTION)
10 endif
11
12This fix is based on a patch from the openembedded project,
13 which can be found here:
14 http://cgit.openembedded.org/openembedded/tree/recipes/fbreader/fbreader-0.12.1/Makefile.patch
15
16Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
17---
18 Submitted trough github to git://github.com/geometer/FBReader.git as a pull request
19
20 fbreader/Makefile | 4 ++--
21 1 files changed, 2 insertions(+), 2 deletions(-)
22
23diff --git a/fbreader/Makefile b/fbreader/Makefile
24index bfa9242..03e6cc3 100644
25--- a/fbreader/Makefile
26+++ b/fbreader/Makefile
27@@ -60,8 +60,8 @@ do_install:
28 @install -d $(FBSHAREDIR)/resources
29 @install -m 0644 $(wildcard data/resources/*.xml) $(FBSHAREDIR)/resources
30 @install -d $(DESTDIR)$(APPIMAGEDIR_REAL)
31- @install -m 0644 $(wildcard data/icons/toolbar/$(VARIANT)/*.*) $(DESTDIR)$(APPIMAGEDIR_REAL)
32- @install -m 0644 $(wildcard data/icons/filetree/$(VARIANT)/*.*) $(DESTDIR)$(APPIMAGEDIR_REAL)
33+ @install -m 0644 $(wildcard data/icons/toolbar/$(TARGET_ARCH)/*.*) $(DESTDIR)$(APPIMAGEDIR_REAL)
34+ @install -m 0644 $(wildcard data/icons/filetree/$(TARGET_ARCH)/*.*) $(DESTDIR)$(APPIMAGEDIR_REAL)
35 @install -m 0644 $(wildcard data/icons/booktree/new/*.*) $(DESTDIR)$(APPIMAGEDIR_REAL)
36 @make -C $(TARGET_ARCH) RESOLUTION=$(RESOLUTION) install
37
38--
391.7.4.1
40
diff --git a/meta-oe/recipes-support/fltk/fltk-1.1.10/disable_test.patch b/meta-oe/recipes-support/fltk/fltk-1.1.10/disable_test.patch
new file mode 100644
index 000000000..8c01a1f80
--- /dev/null
+++ b/meta-oe/recipes-support/fltk/fltk-1.1.10/disable_test.patch
@@ -0,0 +1,13 @@
1Index: fltk-1.1.9/Makefile
2===================================================================
3--- fltk-1.1.9.orig/Makefile 2008-06-06 16:14:11.936736201 +0200
4+++ fltk-1.1.9/Makefile 2008-06-06 16:14:22.526357637 +0200
5@@ -27,7 +27,7 @@
6
7 include makeinclude
8
9-DIRS = $(IMAGEDIRS) src fluid test documentation
10+DIRS = $(IMAGEDIRS) src fluid documentation
11
12 all: makeinclude fltk-config
13 for dir in $(DIRS); do\
diff --git a/meta-oe/recipes-support/fltk/fltk-1.1.10/dso-fix.patch b/meta-oe/recipes-support/fltk/fltk-1.1.10/dso-fix.patch
new file mode 100644
index 000000000..867e9efcb
--- /dev/null
+++ b/meta-oe/recipes-support/fltk/fltk-1.1.10/dso-fix.patch
@@ -0,0 +1,13 @@
1src/fl_set_fonts_xft.cxx is using fontconfig symbols
2
3--- a/makeinclude.in 2012-01-26 18:09:58.628799060 +0100
4+++ b/makeinclude.in 2012-01-26 18:08:58.115801758 +0100
5@@ -81,7 +81,7 @@
6 AUDIOLIBS = @AUDIOLIBS@
7 DSOFLAGS = -L. @DSOFLAGS@
8 LDFLAGS = $(OPTIM) @LDFLAGS@
9-LDLIBS = @LIBS@
10+LDLIBS = @LIBS@ -lfontconfig
11 GLDLIBS = @GLLIB@ @LIBS@
12 LINKFLTK = @LINKFLTK@
13 LINKFLTKGL = @LINKFLTKGL@
diff --git a/meta-oe/recipes-support/fltk/fltk_1.1.10.bb b/meta-oe/recipes-support/fltk/fltk_1.1.10.bb
new file mode 100644
index 000000000..2611b2065
--- /dev/null
+++ b/meta-oe/recipes-support/fltk/fltk_1.1.10.bb
@@ -0,0 +1,37 @@
1DESCRIPTION = "FLTK is a cross-platform C++ GUI toolkit"
2HOMEPAGE = "http://www.fltk.org"
3SECTION = "libs"
4LICENSE = "LGPLv2 & FLTK"
5LIC_FILES_CHKSUM = "file://COPYING;md5=1c0b73db66884b6a925e727400315130"
6
7DEPENDS = "alsa-lib zlib jpeg libpng libxext libxft"
8
9SRC_URI = "ftp://ftp.rz.tu-bs.de/pub/mirror/ftp.easysw.com/ftp/pub/fltk/${PV}/fltk-${PV}-source.tar.bz2 \
10 file://disable_test.patch \
11 file://dso-fix.patch \
12 "
13
14S = "${WORKDIR}/fltk-${PV}"
15
16inherit lib_package autotools binconfig
17
18TARGET_CC_ARCH += "${LDFLAGS} -DXFT_MAJOR=2"
19
20EXTRA_OECONF = "--enable-shared \
21 --enable-threads \
22 --enable-xdbe --enable-xft --enable-gl \
23 --x-includes=${STAGING_INCDIR} --x-libraries=${STAGING_LIBDIR}"
24
25do_configure() {
26 oe_runconf
27}
28
29python populate_packages_prepend () {
30 if (bb.data.getVar('DEBIAN_NAMES', d, 1)):
31 bb.data.setVar('PKG_${PN}', 'libfltk${PV}', d)
32}
33
34LEAD_SONAME = "libfltk.so"
35
36SRC_URI[md5sum] = "a1765594bc427ff892e36089fe1fa672"
37SRC_URI[sha256sum] = "37ada22bf2586b8dd30d84209b8b58bdcb864627e5d02ae3f2c323a29261b19a"
diff --git a/meta-oe/recipes-support/gpm/gpm-1.99.7/init b/meta-oe/recipes-support/gpm/gpm-1.99.7/init
new file mode 100644
index 000000000..2dcf9ab04
--- /dev/null
+++ b/meta-oe/recipes-support/gpm/gpm-1.99.7/init
@@ -0,0 +1,32 @@
1#! /bin/sh
2
3# Grab the common functions
4#. /etc/init.d/functions
5
6# FIXME:
7# Add a configuration file for GPM here
8
9test -x /usr/sbin/gpm || exit 0
10
11case "$1" in
12 start)
13 if [ ! -p /dev/gpmdata ]; then
14 mkfifo /dev/gpmdata
15 fi
16
17 echo "Starting GPM:"
18 start-stop-daemon -S -x /usr/sbin/gpm -- -R -m /dev/psaux -t ps2
19 ;;
20 stop)
21 echo "Stopping GPM:"
22 start-stop-daemon -K -x /usr/sbin/gpm
23 ;;
24 restart|force-reload)
25 $0 stop
26 $0 start
27 ;;
28 *)
29 usage /etc/init.d/gpm
30esac
31
32exit 0
diff --git a/meta-oe/recipes-support/gpm/gpm-1.99.7/no-docs.patch b/meta-oe/recipes-support/gpm/gpm-1.99.7/no-docs.patch
new file mode 100644
index 000000000..f10217a94
--- /dev/null
+++ b/meta-oe/recipes-support/gpm/gpm-1.99.7/no-docs.patch
@@ -0,0 +1,18 @@
1
2#
3# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4#
5
6Index: gpm-1.99.7/Makefile.in
7===================================================================
8--- gpm-1.99.7.orig/Makefile.in 2008-07-24 03:36:35.000000000 -0700
9+++ gpm-1.99.7/Makefile.in 2010-06-22 18:28:45.269507001 -0700
10@@ -19,7 +19,7 @@
11 # user-overridable flags, but it's also all the implicit rule looks at.
12 # missing ?
13
14-SUBDIRS = src doc contrib gpm2
15+SUBDIRS = src
16
17
18 ### simple, but effective rules
diff --git a/meta-oe/recipes-support/gpm/gpm-1.99.7/processcreds.patch b/meta-oe/recipes-support/gpm/gpm-1.99.7/processcreds.patch
new file mode 100644
index 000000000..d647eca0a
--- /dev/null
+++ b/meta-oe/recipes-support/gpm/gpm-1.99.7/processcreds.patch
@@ -0,0 +1,12 @@
1Index: gpm-1.99.7/src/daemon/processconn.c
2===================================================================
3--- gpm-1.99.7.orig/src/daemon/processconn.c 2010-09-29 17:36:18.571782951 +0400
4+++ gpm-1.99.7/src/daemon/processconn.c 2010-09-29 17:42:44.659991758 +0400
5@@ -20,6 +20,7 @@
6 *
7 ********/
8
9+#define _GNU_SOURCE
10 #include <sys/socket.h> /* accept */
11 #include <stdlib.h> /* malloc */
12 #include <unistd.h> /* close */
diff --git a/meta-oe/recipes-support/gpm/gpm_1.99.7.bb b/meta-oe/recipes-support/gpm/gpm_1.99.7.bb
new file mode 100644
index 000000000..bd42de3dc
--- /dev/null
+++ b/meta-oe/recipes-support/gpm/gpm_1.99.7.bb
@@ -0,0 +1,43 @@
1DESCRIPTION = "GPM (General Purpose Mouse) is a mouse server \
2for the console and xterm, with sample clients included \
3(emacs, etc)."
4SECTION = "console/utils"
5LICENSE = "GPLv2+"
6LIC_FILES_CHKSUM = "file://gpm2/core/main.c;endline=19;md5=66d3c205c4e7ee5704b2ee351dfed72f"
7
8DEPENDS = "ncurses"
9
10SRC_URI = "ftp://arcana.linux.it/pub/gpm/gpm-${PV}.tar.bz2 \
11 file://no-docs.patch \
12 file://processcreds.patch \
13 file://init"
14
15inherit autotools update-rc.d
16
17INITSCRIPT_NAME = "gpm"
18INITSCRIPT_PARAMS = "defaults"
19
20#export LIBS = "-lm"
21
22# all fields are /* FIXME: gpm 1.99.13 */
23# gpm-1.99.7/src/lib/libhigh.c:171:43: error: parameter 'clientdata' set but not used [-Werror=unused-but-set-parameter]
24# gpm-1.99.7/src/lib/report-lib.c:28:21: error: parameter 'line' set but not used [-Werror=unused-but-set-parameter]
25# gpm-1.99.7/src/lib/report-lib.c:28:33: error: parameter 'file' set but not used [-Werror=unused-but-set-parameter]
26# gpm-1.99.7/src/drivers/empty/i.c:26:23: error: parameter 'fd' set but not used [-Werror=unused-but-set-parameter]
27# gpm-1.99.7/src/drivers/empty/i.c:26:42: error: parameter 'flags' set but not used [-Werror=unused-but-set-parameter]
28# gpm-1.99.7/src/drivers/etouch/i.c:34:43: error: parameter 'flags' set but not used [-Werror=unused-but-set-parameter]
29# gpm-1.99.7/src/drivers/msc/r.c:32:12: error: variable 'dy' set but not used [-Werror=unused-but-set-variable]
30# gpm-1.99.7/src/drivers/msc/r.c:32:8: error: variable 'dx' set but not used [-Werror=unused-but-set-variable]
31# cc1: all warnings being treated as errors
32CFLAGS += "-Wno-extra -Wno-error=unused-but-set-parameter -Wno-error=unused-but-set-variable"
33
34do_install () {
35 oe_runmake 'ROOT=${D}' install
36 install -m 0644 src/headers/gpm.h ${D}${includedir}
37 install -d ${D}/${sysconfdir}/init.d
38 install -m 0755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/gpm
39 cd ${D}${libdir} && ln -sf libgpm.so.1.19.0 libgpm.so.1
40}
41SRC_URI[md5sum] = "9fdddf5f53cb11d40bb2bb671d3ac544"
42SRC_URI[sha256sum] = "6071378b24494e36ca3ef6377606e7e565040413c86704753a162d2180af32ee"
43
diff --git a/meta-oe/recipes-support/iksemel/iksemel-1.4/r25.diff b/meta-oe/recipes-support/iksemel/iksemel-1.4/r25.diff
new file mode 100644
index 000000000..e666ce07b
--- /dev/null
+++ b/meta-oe/recipes-support/iksemel/iksemel-1.4/r25.diff
@@ -0,0 +1,32 @@
1Taken from upstream subversion repository:
2
3http://code.google.com/p/iksemel/source/detail?r=25
4
5===================================================================
6---
7 configure.ac | 10 +++++++++-
8 1 file changed, 9 insertions(+), 1 deletion(-)
9
10--- iksemel-1.4.orig/configure.ac
11+++ iksemel-1.4/configure.ac
12@@ -43,11 +43,19 @@ AM_CONDITIONAL(DO_POSIX, test "x$defio"
13 dnl Checks for library functions
14 AC_SEARCH_LIBS(recv,socket)
15 AC_CHECK_FUNCS(getopt_long)
16 AC_CHECK_FUNCS(getaddrinfo)
17
18-AM_PATH_LIBGNUTLS(,AC_DEFINE(HAVE_GNUTLS,,"Use libgnutls"))
19+dnl Check GNU TLS
20+PKG_CHECK_MODULES(GNUTLS, gnutls >= 2.0.0, have_gnutls=yes, have_gnutls=no)
21+if test "x$have_gnutls" = "xyes"; then
22+ LIBGNUTLS_CFLAGS="$GNUTLS_CFLAGS"
23+ LIBGNUTLS_LIBS="$GNUTLS_LIBS"
24+ AC_SUBST(LIBGNUTLS_CFLAGS)
25+ AC_SUBST(LIBGNUTLS_LIBS)
26+ AC_DEFINE(HAVE_GNUTLS, 1, [whether to use GnuTSL support.])
27+fi
28
29 dnl Check -Wall flag of GCC
30 if test "x$GCC" = "xyes"; then
31 if test -z "`echo "$CFLAGS" | grep "\-Wall" 2> /dev/null`" ; then
32 CFLAGS="$CFLAGS -Wall"
diff --git a/meta-oe/recipes-support/iksemel/iksemel_1.4.bb b/meta-oe/recipes-support/iksemel/iksemel_1.4.bb
new file mode 100644
index 000000000..98691496e
--- /dev/null
+++ b/meta-oe/recipes-support/iksemel/iksemel_1.4.bb
@@ -0,0 +1,16 @@
1DESCRIPTION = "Fast and portable XML parser and Jabber protocol library"
2AUTHOR = "Gurer Ozen <meduketto at gmail.com>"
3HOMEPAGE = "http://iksemel.googlecode.com"
4SECTION = "libs"
5LICENSE = "LGPLv2.1"
6LIC_FILES_CHKSUM = "file://COPYING;md5=d8045f3b8f929c1cb29a1e3fd737b499"
7DEPENDS = "gnutls"
8
9PR = "r1"
10
11SRC_URI = "http://iksemel.googlecode.com/files/${P}.tar.gz;name=archive \
12 file://r25.diff"
13SRC_URI[archive.md5sum] = "532e77181694f87ad5eb59435d11c1ca"
14SRC_URI[archive.sha256sum] = "458c1b8fb3349076a6cecf26c29db1d561315d84e16bfcfba419f327f502e244"
15
16inherit autotools pkgconfig
diff --git a/meta-oe/recipes-support/joe/joe_3.1.bb b/meta-oe/recipes-support/joe/joe_3.1.bb
new file mode 100644
index 000000000..6c9190ffd
--- /dev/null
+++ b/meta-oe/recipes-support/joe/joe_3.1.bb
@@ -0,0 +1,13 @@
1SECTION = "console/utils"
2DESCRIPTION = "Console text editor with good functionality, good choice for vi-haters."
3HOMEPAGE = "http://joe-editor.sourceforge.net/"
4LICENSE = "GPLv1"
5LIC_FILES_CHKSUM = "file://COPYING;md5=da10ed7cf8038981c580e11c1d3e8fb6"
6RDEPENDS_${PN} = "ncurses-terminfo"
7
8SRC_URI = "${SOURCEFORGE_MIRROR}/joe-editor/joe-${PV}.tar.gz"
9
10inherit autotools
11
12SRC_URI[md5sum] = "2a6ef018870fca9b7df85401994fb0e0"
13SRC_URI[sha256sum] = "252390e4bc687957f09f334095904c8cc53b39c7b663ed47861ae1d11aef5946"
diff --git a/meta-oe/recipes-support/links/files/ac-prog-cxx.patch b/meta-oe/recipes-support/links/files/ac-prog-cxx.patch
new file mode 100644
index 000000000..41c382685
--- /dev/null
+++ b/meta-oe/recipes-support/links/files/ac-prog-cxx.patch
@@ -0,0 +1,11 @@
1--- links-2.1pre20/configure.in.orig 2005-12-21 15:23:49.000000000 +0000
2+++ links-2.1pre20/configure.in 2005-12-21 15:23:59.000000000 +0000
3@@ -18,7 +18,7 @@
4 dnl Checks for programs.
5 AC_PROG_CC
6
7-#AC_PROG_CXX
8+AC_PROG_CXX
9 #AC_PROG_AWK
10 #AM_PROG_LEX
11 #AC_PROG_YACC
diff --git a/meta-oe/recipes-support/links/files/cookies-save-0.96.patch b/meta-oe/recipes-support/links/files/cookies-save-0.96.patch
new file mode 100644
index 000000000..a1e35c01c
--- /dev/null
+++ b/meta-oe/recipes-support/links/files/cookies-save-0.96.patch
@@ -0,0 +1,106 @@
1diff -ru links-0.96/cookies.c links-0.96+cookies-save/cookies.c
2--- links-0.96/cookies.c Mon Sep 3 07:19:37 2001
3+++ links-0.96+cookies-save/cookies.c Mon Sep 3 07:18:42 2001
4@@ -276,15 +276,99 @@
5
6 void init_cookies(void)
7 {
8- /* !!! FIXME: read cookies */
9+ unsigned char in_buffer[MAX_STR_LEN];
10+ unsigned char *cookfile, *p, *q;
11+ FILE *fp;
12+
13+ /* must be called after init_home */
14+ if (! links_home) return;
15+
16+ cookfile = stracpy(links_home);
17+ if (! cookfile) return;
18+ add_to_strn(&cookfile, "cookies");
19+
20+ fp = fopen(cookfile, "r");
21+ mem_free(cookfile);
22+ if (fp == NULL) return;
23+
24+ while (fgets(in_buffer, MAX_STR_LEN, fp)) {
25+ struct cookie *cookie;
26+
27+ if (!(cookie = mem_alloc(sizeof(struct cookie)))) return;
28+ memset(cookie, 0, sizeof(struct cookie));
29+
30+ q = in_buffer; p = strchr(in_buffer, ' ');
31+ if (p == NULL) goto inv;
32+ *p++ = '\0';
33+ cookie->name = stracpy(q);
34+
35+ q = p; p = strchr(p, ' ');
36+ if (p == NULL) goto inv;
37+ *p++ = '\0';
38+ cookie->value = stracpy(q);
39+
40+ q = p; p = strchr(p, ' ');
41+ if (p == NULL) goto inv;
42+ *p++ = '\0';
43+ cookie->server = stracpy(q);
44+
45+ q = p; p = strchr(p, ' ');
46+ if (p == NULL) goto inv;
47+ *p++ = '\0';
48+ cookie->path = stracpy(q);
49+
50+ q = p; p = strchr(p, ' ');
51+ if (p == NULL) goto inv;
52+ *p++ = '\0';
53+ cookie->domain = stracpy(q);
54+
55+ q = p; p = strchr(p, ' ');
56+ if (p == NULL) goto inv;
57+ *p++ = '\0';
58+ cookie->expires = atoi(q);
59+
60+ cookie->secure = atoi(p);
61+
62+ cookie->id = cookie_id++;
63+
64+ accept_cookie(cookie);
65+
66+ continue;
67+
68+inv:
69+ free_cookie(cookie);
70+ free(cookie);
71+ }
72+ fclose(fp);
73 }
74
75 void cleanup_cookies(void)
76 {
77 struct cookie *c;
78+ unsigned char *cookfile;
79+ FILE *fp;
80+
81 free_list(c_domains);
82- /* !!! FIXME: save cookies */
83- foreach (c, cookies) free_cookie(c);
84+
85+ cookfile = stracpy(links_home);
86+ if (! cookfile) return;
87+ add_to_strn(&cookfile, "cookies");
88+
89+ fp = fopen(cookfile, "w");
90+ mem_free(cookfile);
91+ if (fp == NULL) return;
92+
93+ foreach (c, cookies) {
94+ if (c->expires && ! cookie_expired(c))
95+ fprintf(fp, "%s %s %s %s %s %d %d\n", c->name, c->value,
96+ c->server?c->server:(unsigned char *)"", c->path?c->path:(unsigned char *)"",
97+ c->domain?c->domain:(unsigned char *)"", c->expires, c->secure);
98+
99+ free_cookie(c);
100+ }
101+
102+ fclose(fp);
103+
104 free_list(cookies);
105 }
106
diff --git a/meta-oe/recipes-support/links/files/links-2.1pre17-fix-segfault-on-loading-cookies.patch b/meta-oe/recipes-support/links/files/links-2.1pre17-fix-segfault-on-loading-cookies.patch
new file mode 100644
index 000000000..0d3b407e2
--- /dev/null
+++ b/meta-oe/recipes-support/links/files/links-2.1pre17-fix-segfault-on-loading-cookies.patch
@@ -0,0 +1,20 @@
1--- links-2.1pre17/cookies.c.pix 2005-05-15 23:05:10.000000000 +0800
2+++ links-2.1pre17/cookies.c 2005-05-15 23:17:21.000000000 +0800
3@@ -41,7 +41,7 @@
4
5 void free_cookie(struct cookie *c)
6 {
7- mem_free(c->name);
8+ if (c->value) mem_free(c->name);
9 if (c->value) mem_free(c->value);
10 if (c->server) mem_free(c->server);
11 if (c->path) mem_free(c->path);
12@@ -355,7 +355,7 @@
13
14 inv:
15 free_cookie(cookie);
16- free(cookie);
17+ mem_free(cookie);
18 }
19 fclose(fp);
20 }
diff --git a/meta-oe/recipes-support/links/files/links2.desktop b/meta-oe/recipes-support/links/files/links2.desktop
new file mode 100644
index 000000000..a05bce1b2
--- /dev/null
+++ b/meta-oe/recipes-support/links/files/links2.desktop
@@ -0,0 +1,14 @@
1[Desktop Entry]
2Encoding=UTF-8
3Name=Links
4Comment=Links is a browser very similar to lynx
5Comment[es]=El links es un browser para modo texto, similar a lynx
6Comment[pl]=Links jest przeglÄ…darkÄ… podobnÄ… do lynksa
7Comment[pt]=O links é um browser para modo texto, similar ao lynx
8Comment[pt_BR]=O links é um browser para modo texto, similar ao lynx
9Exec=links -g
10Terminal=true
11Icon=links2
12Type=Application
13Categories=Application;ConsoleOnly;Network;WebBrowser;
14# vi: encoding=utf-8
diff --git a/meta-oe/recipes-support/links/links-x11_2.0+2.1pre30.bb b/meta-oe/recipes-support/links/links-x11_2.0+2.1pre30.bb
new file mode 100644
index 000000000..b71da9f88
--- /dev/null
+++ b/meta-oe/recipes-support/links/links-x11_2.0+2.1pre30.bb
@@ -0,0 +1,26 @@
1require links.inc
2
3DEPENDS += "virtual/libx11"
4RCONFLICTS_${PN} = "links"
5
6SRC_URI += " file://links2.desktop \
7 http://www.xora.org.uk/oe/links2.png;name=icon"
8
9EXTRA_OECONF = "--enable-javascript --with-libfl --enable-graphics \
10 --with-ssl=${STAGING_LIBDIR}/.. --with-libjpeg \
11 --without-libtiff --without-svgalib --without-fb \
12 --without-directfb --without-pmshell --without-atheos \
13 --with-x --without-gpm --without-sdl"
14
15do_install_append() {
16 install -d ${D}/${datadir}/applications
17 install -m 0644 ${WORKDIR}/links2.desktop ${D}/${datadir}/applications
18 install -d ${D}/${datadir}/pixmaps
19 install -m 0644 ${WORKDIR}/links2.png ${D}/${datadir}/pixmaps
20}
21
22
23SRC_URI[md5sum] = "f0f107cc824b71e43f0c6ab620209daf"
24SRC_URI[sha256sum] = "f32314d851e86ec463967ddce78d051e3953b529878cbaeecf882c625ad29c75"
25SRC_URI[icon.md5sum] = "477e8787927c634614bac01b44355a33"
26SRC_URI[icon.sha256sum] = "eddcd8b8c8698aa621d1a453943892d77b72ed492e0d14e0dbac5c6a57e52f47"
diff --git a/meta-oe/recipes-support/links/links.inc b/meta-oe/recipes-support/links/links.inc
new file mode 100644
index 000000000..9001d2a3b
--- /dev/null
+++ b/meta-oe/recipes-support/links/links.inc
@@ -0,0 +1,19 @@
1DESCRIPTION = "Links is graphics and text mode WWW \
2browser, similar to Lynx."
3HOMEPAGE = "http://links.twibright.com/"
4SECTION = "console/network"
5LICENSE = "GPLv2"
6LIC_FILES_CHKSUM = "file://COPYING;md5=b0c80473f97008e42e29a9f80fcc55ff"
7DEPENDS = "jpeg libpng flex openssl zlib"
8
9LPV = "${@bb.data.getVar("PV",d,1).split("+")[1]}"
10
11SRC_URI = "http://links.twibright.com/download/links-${LPV}.tar.bz2 \
12 file://ac-prog-cxx.patch \
13 file://cookies-save-0.96.patch \
14 file://links-2.1pre17-fix-segfault-on-loading-cookies.patch"
15
16inherit autotools
17
18S = "${WORKDIR}/links-${LPV}"
19
diff --git a/meta-oe/recipes-support/links/links_2.0+2.1pre30.bb b/meta-oe/recipes-support/links/links_2.0+2.1pre30.bb
new file mode 100644
index 000000000..24961737d
--- /dev/null
+++ b/meta-oe/recipes-support/links/links_2.0+2.1pre30.bb
@@ -0,0 +1,13 @@
1require links.inc
2
3DEPENDS += "gpm"
4RCONFLICTS_${PN} = "links-x11"
5
6EXTRA_OECONF = "--enable-javascript --with-libfl --enable-graphics \
7 --with-ssl=${STAGING_LIBDIR}/.. --with-libjpeg \
8 --without-libtiff --without-svgalib --with-fb \
9 --without-directfb --without-pmshell --without-atheos \
10 --without-x --without-sdl"
11
12SRC_URI[md5sum] = "f0f107cc824b71e43f0c6ab620209daf"
13SRC_URI[sha256sum] = "f32314d851e86ec463967ddce78d051e3953b529878cbaeecf882c625ad29c75"
diff --git a/meta-oe/recipes-support/ode/ode/install.patch b/meta-oe/recipes-support/ode/ode/install.patch
new file mode 100644
index 000000000..2f6cdb008
--- /dev/null
+++ b/meta-oe/recipes-support/ode/ode/install.patch
@@ -0,0 +1,23 @@
1--- ode-0.9.orig/Makefile.am 2007-02-21 15:54:54.000000000 +0100
2+++ ode-0.9/Makefile.am 2010-08-21 16:15:55.000000000 +0200
3@@ -25,13 +25,13 @@
4
5 if USE_SONAME
6 install-exec-hook:
7- ln -s $(libdir)/@ODE_SONAME@.@ODE_REVISION@.@ODE_AGE@ \
8- $(libdir)/libode.so
9- ln -s $(libdir)/@ODE_SONAME@.@ODE_REVISION@.@ODE_AGE@ \
10- $(libdir)/@ODE_SONAME@
11- ln -s $(libdir)/@ODE_SONAME@.@ODE_REVISION@.@ODE_AGE@ \
12- $(libdir)/@ODE_SONAME@.@ODE_REVISION@
13- /sbin/ldconfig
14+ ln -s @ODE_SONAME@.@ODE_REVISION@.@ODE_AGE@ \
15+ $(DESTDIR)/$(libdir)/libode.so
16+ ln -s @ODE_SONAME@.@ODE_REVISION@.@ODE_AGE@ \
17+ $(DESTDIR)/$(libdir)/@ODE_SONAME@
18+ ln -s @ODE_SONAME@.@ODE_REVISION@.@ODE_AGE@ \
19+ $(DESTDIR)/$(libdir)/@ODE_SONAME@.@ODE_REVISION@
20+ echo /sbin/ldconfig
21 else
22 install-exec-hook:
23 endif
diff --git a/meta-oe/recipes-support/ode/ode_0.9.bb b/meta-oe/recipes-support/ode/ode_0.9.bb
new file mode 100644
index 000000000..d076abb24
--- /dev/null
+++ b/meta-oe/recipes-support/ode/ode_0.9.bb
@@ -0,0 +1,24 @@
1DESCRIPTION = "ODE is an Open Source Physics Engine."
2SECTION = "libs"
3HOMEPAGE = "http://www.ode.org"
4LICENSE = "LGPLv2.1 & BSD"
5LIC_FILES_CHKSUM = "file://LICENSE-BSD.TXT;md5=c74e6304a772117e059458fb9763a928 \
6 file://LICENSE.TXT;md5=771782cb6245c7fbbe74bc0ec059beff"
7
8
9SRC_URI = "${SOURCEFORGE_MIRROR}/opende/ode-src-${PV}.zip \
10 file://install.patch"
11
12SRC_URI[md5sum] = "4c03759b76a0649a6d5108c8e172e1e4"
13SRC_URI[sha256sum] = "460d0851b743b1f144ef2a8259004d6774504c95d08e9357a96a296111496feb"
14
15inherit autotools binconfig
16
17EXTRA_OECONF = "--disable-demos --enable-soname"
18
19do_configure_append() {
20 echo "#define dInfinity DBL_MAX" >>include/ode/config.h
21}
22
23FILES_${PN} = "${libdir}/lib*${SOLIBS}"
24
diff --git a/meta-oe/recipes-support/openldap/openldap-2.4.23/initscript b/meta-oe/recipes-support/openldap/openldap-2.4.23/initscript
new file mode 100644
index 000000000..40881cd6d
--- /dev/null
+++ b/meta-oe/recipes-support/openldap/openldap-2.4.23/initscript
@@ -0,0 +1,29 @@
1#! /bin/sh
2#
3# This is an init script for openembedded
4# Copy it to /etc/init.d/openldap and type
5# > update-rc.d openldap defaults 60
6#
7
8
9slapd=/usr/libexec/slapd
10test -x "$slapd" || exit 0
11
12
13case "$1" in
14 start)
15 echo -n "Starting OpenLDAP: "
16 start-stop-daemon --start --quiet --exec $slapd
17 echo "."
18 ;;
19 stop)
20 echo -n "Stopping OpenLDAP: "
21 start-stop-daemon --stop --quiet --pidfile /var/run/slapd.pid
22 echo "."
23 ;;
24 *)
25 echo "Usage: /etc/init.d/openldap {start|stop}"
26 exit 1
27esac
28
29exit 0 \ No newline at end of file
diff --git a/meta-oe/recipes-support/openldap/openldap-2.4.23/install-strip.patch b/meta-oe/recipes-support/openldap/openldap-2.4.23/install-strip.patch
new file mode 100644
index 000000000..9d7640ca9
--- /dev/null
+++ b/meta-oe/recipes-support/openldap/openldap-2.4.23/install-strip.patch
@@ -0,0 +1,14 @@
1# This patch ensures that the install operations which strip
2# programs and libraries (LTINSTALL) work in a cross build
3# environment.
4--- openldap-2.2.24/.pc/install-strip.patch/build/top.mk 2005-01-20 09:00:55.000000000 -0800
5+++ openldap-2.2.24/build/top.mk 2005-04-16 13:48:20.536710376 -0700
6@@ -116,7 +116,7 @@
7 LTLINK_MOD = $(LIBTOOL) $(LTONLY_MOD) --mode=link \
8 $(CC) $(LT_CFLAGS) $(LDFLAGS) $(LTFLAGS_MOD)
9
10-LTINSTALL = $(LIBTOOL) --mode=install $(INSTALL)
11+LTINSTALL = STRIPPROG="@STRIP@" $(LIBTOOL) --mode=install $(top_srcdir)/contrib/ldapc++/install-sh -c
12 LTFINISH = $(LIBTOOL) --mode=finish
13
14 # Misc UNIX commands used in build environment
diff --git a/meta-oe/recipes-support/openldap/openldap-2.4.23/openldap-m4-pthread.patch b/meta-oe/recipes-support/openldap/openldap-2.4.23/openldap-m4-pthread.patch
new file mode 100644
index 000000000..b669b7254
--- /dev/null
+++ b/meta-oe/recipes-support/openldap/openldap-2.4.23/openldap-m4-pthread.patch
@@ -0,0 +1,20 @@
1--- openldap-2.3.11/build/openldap.m4.orig 2005-11-11 00:11:18.604322590 -0800
2+++ openldap-2.3.11/build/openldap.m4 2005-11-11 00:26:21.621145856 -0800
3@@ -788,7 +788,7 @@ AC_DEFUN([OL_PTHREAD_TEST_FUNCTION],[[
4 ]])
5
6 AC_DEFUN([OL_PTHREAD_TEST_PROGRAM],
7-AC_LANG_SOURCE([OL_PTHREAD_TEST_INCLUDES
8+[AC_LANG_SOURCE([[OL_PTHREAD_TEST_INCLUDES
9
10 int main(argc, argv)
11 int argc;
12@@ -796,7 +796,7 @@ int main(argc, argv)
13 {
14 OL_PTHREAD_TEST_FUNCTION
15 }
16-]))
17+]])])
18 dnl --------------------------------------------------------------------
19 AC_DEFUN([OL_PTHREAD_TRY], [# Pthread try link: $1 ($2)
20 if test "$ol_link_threads" = no ; then
diff --git a/meta-oe/recipes-support/openldap/openldap_2.4.23.bb b/meta-oe/recipes-support/openldap/openldap_2.4.23.bb
new file mode 100644
index 000000000..3ef12d3a1
--- /dev/null
+++ b/meta-oe/recipes-support/openldap/openldap_2.4.23.bb
@@ -0,0 +1,270 @@
1# OpenLDAP, a license free (see http://www.OpenLDAP.org/license.html)
2#
3DESCRIPTION = "OpenLDAP Software is an open source implementation of the Lightweight Directory Access Protocol."
4HOMEPAGE = "http://www.OpenLDAP.org/license.html"
5# The OpenLDAP Public License - see the HOMEPAGE - defines
6# the license. www.openldap.org claims this is Open Source
7# (see http://www.openldap.org), the license appears to be
8# basically BSD. opensource.org does not record this license
9# at present (so it is apparently not OSI certified).
10LICENSE = "OpenLDAP"
11LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=3d82d3085f228af211a6502c7ea7c3c7"
12SECTION = "libs"
13
14LDAP_VER = "${@'.'.join(bb.data.getVar('PV',d,1).split('.')[0:2])}"
15
16SRC_URI = "ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/${P}.tgz"
17SRC_URI += "file://openldap-m4-pthread.patch"
18SRC_URI += "file://initscript"
19SRC_URI[md5sum] = "90150b8c0d0192e10b30157e68844ddf"
20SRC_URI[sha256sum] = "5a5ede91d5e8ab3c7f637620aa29a3b96eb34318a8b26c8eef2d2c789fc055e3"
21
22# The original top.mk used INSTALL, not INSTALL_STRIP_PROGRAM when
23# installing .so and executables, this fails in cross compilation
24# environments
25SRC_URI += "file://install-strip.patch"
26
27inherit autotools
28
29# OPTIONS
30# The following two variables can be set in a distro or local.conf
31# to switch features on. Each feature foo defines OPENLDAP_OPTION_foo
32# and OPENLDAP_DEPENDS_foo in this file - to include feature foo add
33# the two variables into the setting of the options below (please use
34# += because that means this can be done in *both* distro.conf and
35# local.conf!
36OPENLDAP_OPTIONS ?= ""
37OPENLDAP_DEPENDS ?= ""
38
39# CV SETTINGS
40# Required to work round AC_FUNC_MEMCMP which gets the wrong answer
41# when cross compiling (should be in site?)
42EXTRA_OECONF += "ac_cv_func_memcmp_working=yes"
43
44# CONFIG DEFINITIONS
45# The following is necessary because it cannot be determined for a
46# cross compile automagically. Select should yield fine on all OE
47# systems...
48EXTRA_OECONF += "--with-yielding-select=yes"
49# Shared libraries are nice...
50EXTRA_OECONF += "--enable-dynamic"
51#
52# Disable TLS to remove the need for openssl/libcrypto
53OPENLDAP_OPTION_tls ?= "--with-tls"
54# set the following to "openssl" to build tls support
55OPENLDAP_DEPENDS_tls ?= "gnutls"
56EXTRA_OECONF += "${OPENLDAP_OPTION_tls}"
57DEPENDS += "${OPENLDAP_DEPENDS_tls}"
58#
59# Disable Cyrus SASL, which may or may not be working at present...
60OPENLDAP_OPTION_sasl ?= "--without-cyrus-sasl"
61# set the following to "cyrus-sasl" to build SASL support
62OPENLDAP_DEPENDS_sasl ?= ""
63EXTRA_OECONF += "${OPENLDAP_OPTION_sasl}"
64DEPENDS += "${OPENLDAP_DEPENDS_sasl}"
65
66# SLAPD options
67#
68# UNIX crypt(3) passwd support:
69EXTRA_OECONF += "--enable-crypt"
70#
71# Enable dynamic module loading. If this is *disabled* the
72# dependency on libtool is removed (to disable set the following
73# to variables to "" in a .conf file).
74OPENLDAP_OPTION_modules += "lt_cv_dlopen_self=yes --enable-modules"
75OPENLDAP_DEPENDS_modules += "libtool"
76EXTRA_OECONF += " ${OPENLDAP_OPTION_modules}"
77DEPENDS += "${OPENLDAP_DEPENDS_modules}"
78
79# SLAPD BACKEND
80#
81# The backend must be set by the configuration. This controls the
82# required database, the default database, bdb, is turned off but
83# can be turned back on again and it *is* below! The monitor backend
84# is also disabled. If you try to change the backends but fail to
85# enable a single one the build will fail in an obvious way.
86#
87EXTRA_OECONF += "--disable-bdb --disable-hdb --disable-monitor"
88#
89# Backends="bdb dnssrv hdb ldap ldbm meta monitor null passwd perl shell sql"
90#
91# Note that multiple backends can be built. The ldbm backend requires a
92# build-time choice of database API. The bdb backend forces this to be
93# DB4. To use the gdbm (or other) API the Berkely database module must
94# be removed from the build.
95md = "${libexecdir}/openldap"
96#
97#--enable-bdb enable Berkeley DB backend no|yes|mod yes
98# The Berkely DB is the standard choice. This version of OpenLDAP requires
99# the version 4 implementation or better.
100# To disable this set all three of the following variables to <empty> in
101# a .conf file (this will allow ldbm to be build with gdbm).
102#OPENLDAP_OPTION_bdb ?= "--enable-bdb=mod"
103OPENLDAP_DEPENDS_bdb ?= "db"
104EXTRA_OECONF += "${OPENLDAP_OPTION_bdb}"
105DEPENDS += "${OPENLDAP_DEPENDS_bdb}"
106#
107#--enable-dnssrv enable dnssrv backend no|yes|mod no
108# This has no dependencies.
109EXTRA_OECONF += "--enable-dnssrv=mod"
110#
111#--enable-hdb enable Hierarchical DB backend no|yes|mod no
112# This forces ldbm to use Berkeley too, remove to use gdbm
113#OPENLDAP_OPTION_hdb ?= "--enable-hdb=mod"
114OPENLDAP_DEPENDS_hdb ?= "db"
115OPENLDAP_PACKAGE_hdb ?= "${PN}-backend-hdb"
116EXTRA_OECONF += "${OPENLDAP_OPTION_hdb}"
117DEPENDS += "${OPENLDAP_DEPENDS_hdb}"
118#
119#--enable-ldap enable ldap backend no|yes|mod no
120# This has no dependencies
121EXTRA_OECONF += "--enable-ldap=mod"
122#
123#--enable-ldbm enable ldbm backend no|yes|mod no
124# ldbm requires further specification of the underlying database API, because
125# bdb is enabled above this must be set to berkeley, however the config
126# defaults this correctly so --with-ldbm-api is *not* set. The build will
127# fail if bdb is removed (above) but not database is built to provide the
128# support for ldbm (because the 'DEPENDS_ldbm' is empty below.)
129#
130# So to use gdbm set:
131OPENLDAP_OPTION_ldbm = "--enable-ldbm=mod --with-ldbm-api=gdbm"
132OPENLDAP_DEPENDS_ldbm = "gdbm"
133# And clear the bdb and hdb settings.
134OPENLDAP_OPTION_ldbm ?= "--enable-ldbm=mod"
135OPENLDAP_DEPENDS_ldbm ?= ""
136EXTRA_OECONF += "${OPENLDAP_OPTION_ldbm}"
137DEPENDS += "${OPENLDAP_DEPENDS_ldbm}"
138#
139#--enable-meta enable metadirectory backend no|yes|mod no
140# No dependencies
141EXTRA_OECONF += "--enable-meta=mod"
142#
143#--enable-monitor enable monitor backend no|yes|mod yes
144EXTRA_OECONF += "--enable-monitor=mod"
145#
146#--enable-null enable null backend no|yes|mod no
147EXTRA_OECONF += "--enable-null=mod"
148#
149#--enable-passwd enable passwd backend no|yes|mod no
150EXTRA_OECONF += " --enable-passwd=mod"
151#
152#--enable-perl enable perl backend no|yes|mod no
153# This requires a loadable perl dynamic library, if enabled without
154# doing something appropriate (building perl?) the build will pick
155# up the build machine perl - not good.
156OPENLDAP_OPTION_perl ?= "--enable-perl=mod"
157OPENLDAP_DEPENDS_perl ?= "perl"
158#EXTRA_OECONF += "${OPENLDAP_OPTION_perl}"
159#DEPENDS += "${OPENLDAP_DEPENDS_perl}"
160#
161#--enable-shell enable shell backend no|yes|mod no
162EXTRA_OECONF += "--enable-shell=mod"
163#
164#--enable-sql enable sql backend no|yes|mod no
165# sql requires some sql backend which provides sql.h, sqlite* provides
166# sqlite.h (which may be compatible but hasn't been tried.)
167OPENLDAP_OPTION_sql ?= "--enable-sql=mod"
168OPENLDAP_DEPENDS_sql ?= "sql"
169#EXTRA_OECONF += "${OPENLDAP_OPTION_sql}"
170#DEPENDS += "${OPENLDAP_DEPENDS_sql}"
171#
172#--enable-dyngroup Dynamic Group overlay no|yes|mod no
173# This is a demo, Proxy Cache defines init_module which conflicts with the
174# same symbol in dyngroup
175#EXTRA_OECONF += "--enable-dyngroup=mod"
176#
177#--enable-proxycache Proxy Cache overlay no|yes|mod no
178EXTRA_OECONF += "--enable-proxycache=mod"
179FILES_${PN}-overlay-proxycache = "${md}/pcache-*.so.*"
180PACKAGES += "${PN}-overlay-proxycache"
181#
182# LOCAL OPTION OVERRIDES
183# The distro/lcoal options must be added in *last*
184EXTRA_OECONF += "${OPENLDAP_OPTIONS}"
185DEPENDS += "${OPENLDAP_DEPENDS}"
186
187CPPFLAGS_append = " -D_GNU_SOURCE"
188
189do_configure() {
190 cp ${STAGING_DATADIR_NATIVE}/libtool/config/ltmain.sh ${S}/build
191 rm -f ${S}/libtool
192 aclocal
193 libtoolize --force --copy
194 gnu-configize
195 autoconf
196 oe_runconf
197}
198
199#FIXME: this is a hack, at present an openldap build will pick up the header
200# files from staging rather than the local ones (bad -I order), so remove
201# the headers (from openldap-old.x) before compiling...
202do_compile_prepend() {
203 (
204 cd ${STAGING_INCDIR}
205 rm -f ldap.h ldap_*.h
206 )
207 (
208 cd ${STAGING_LIBDIR}
209 rm -f libldap* liblber*
210 )
211}
212
213LEAD_SONAME = "libldap-${LDAP_VER}.so.*"
214
215# The executables go in a separate package. This allows the
216# installation of the libraries with no daemon support.
217# Each module also has its own package - see above.
218PACKAGES += "${PN}-slapd ${PN}-slurpd ${PN}-bin"
219
220# Package contents - shift most standard contents to -bin
221FILES_${PN} = "${libdir}/lib*.so.* ${sysconfdir}/openldap/ldap.* ${localstatedir}/openldap-data"
222FILES_${PN}-slapd = "${sysconfdir}/init.d ${libexecdir}/slapd ${sbindir} ${localstatedir}/run \
223 ${sysconfdir}/openldap/slapd.* ${sysconfdir}/openldap/schema \
224 ${sysconfdir}/openldap/DB_CONFIG.example"
225FILES_${PN}-slurpd = "${libexecdir}/slurpd ${localstatedir}/openldap-slurp ${localstatedir}/run"
226FILES_${PN}-bin = "${bindir}"
227FILES_${PN}-dev = "${includedir} ${libdir}/lib*.so ${libdir}/*.la ${libdir}/*.a ${libexecdir}/openldap/*.a ${libexecdir}/openldap/*.la ${libexecdir}/openldap/*.so"
228FILES_${PN}-dbg += "${libexecdir}/openldap/.debug"
229
230do_install_append() {
231 install -d ${D}${sysconfdir}/init.d
232 cat ${WORKDIR}/initscript > ${D}${sysconfdir}/init.d/openldap
233 chmod 755 ${D}${sysconfdir}/init.d/openldap
234 # This is duplicated in /etc/openldap and is for slapd
235 rm -f ${D}${localstatedir}/openldap-data/DB_CONFIG.example
236}
237
238pkg_postinst_${PN}-slapd () {
239 if test -n "${D}"; then
240 D="-r $D"
241 fi
242 update-rc.d $D openldap defaults
243}
244
245pkg_prerm_${PN}-slapd () {
246 if test -n "${D}"; then
247 D="-r $D"
248 fi
249 update-rc.d $D openldap remove
250}
251
252PACKAGES_DYNAMIC = "openldap-backends openldap-backend-*"
253
254python populate_packages_prepend () {
255 backend_dir = bb.data.expand('${libexecdir}/openldap', d)
256 do_split_packages(d, backend_dir, 'back_([a-z]*)\-.*\.so\..*$', 'openldap-backend-%s', 'OpenLDAP %s backend', extra_depends='', allow_links=True)
257
258 metapkg = "openldap-backends"
259 bb.data.setVar('ALLOW_EMPTY_' + metapkg, "1", d)
260 bb.data.setVar('FILES_' + metapkg, "", d)
261 metapkg_rdepends = []
262 packages = bb.data.getVar('PACKAGES', d, 1).split()
263 for pkg in packages[1:]:
264 if pkg.count("openldap-backend-") and not pkg in metapkg_rdepends and not pkg.count("-dev") and not pkg.count("-dbg") and not pkg.count("static") and not pkg.count("locale"):
265 metapkg_rdepends.append(pkg)
266 bb.data.setVar('RDEPENDS_' + metapkg, ' '.join(metapkg_rdepends), d)
267 bb.data.setVar('DESCRIPTION_' + metapkg, 'OpenLDAP backends meta package', d)
268 packages.append(metapkg)
269 bb.data.setVar('PACKAGES', ' '.join(packages), d)
270}
diff --git a/meta-oe/recipes-support/opensync/libsyncml_0.5.4.bb b/meta-oe/recipes-support/opensync/libsyncml_0.5.4.bb
new file mode 100644
index 000000000..057505807
--- /dev/null
+++ b/meta-oe/recipes-support/opensync/libsyncml_0.5.4.bb
@@ -0,0 +1,29 @@
1DESCRIPTION = "Libsyncml is an implementation of the SyncML protocol."
2HOMEPAGE = "https://libsyncml.opensync.org/"
3SECTION = "libs"
4LICENSE = "LGPLv2.1"
5LIC_FILES_CHKSUM = "file://COPYING;md5=fad9b3332be894bab9bc501572864b29"
6
7DEPENDS = "libxml2 glib-2.0"
8RRECOMMENDS_${PN} = "wbxml2 openobex libsoup-2.4"
9
10SRC_URI = "${SOURCEFORGE_MIRROR}/libsyncml/libsyncml-${PV}.tar.gz"
11SRC_URI[md5sum] = "84879ed7cb94618530fbcb801a1a4f95"
12SRC_URI[sha256sum] = "05d6513637adb1300a3a58b6e29d53ab6373c8f370807d0d925bae72b2920e53"
13
14inherit cmake pkgconfig
15
16EXTRA_OECMAKE += " . -B${WORKDIR}/build "
17
18PACKAGES += "${PN}-tools"
19
20FILES_${PN}-tools = "${bindir}"
21FILES_${PN} = "${libdir}/*.so.*"
22
23do_build_prepend() {
24 cd ${WORKDIR}/build
25}
26
27do_install_prepend() {
28 cd ${WORKDIR}/build
29}
diff --git a/meta-oe/recipes-support/opensync/wbxml2_0.10.8.bb b/meta-oe/recipes-support/opensync/wbxml2_0.10.8.bb
new file mode 100644
index 000000000..c87e477e6
--- /dev/null
+++ b/meta-oe/recipes-support/opensync/wbxml2_0.10.8.bb
@@ -0,0 +1,29 @@
1DESCRIPTION = "WBXML parsing and encoding library."
2HOMEPAGE = "http://libwbxml.opensync.org/"
3SECTION = "libs"
4LICENSE = "LGPLv2.1+"
5LIC_FILES_CHKSUM = "file://COPYING;md5=c1128ee5341ccd5927d8bafe4b6266e1"
6
7SRC_URI = "${SOURCEFORGE_MIRROR}/libwbxml/libwbxml-${PV}.tar.gz"
8
9SRC_URI[md5sum] = "f5031e9f730ffd9dc6a2d1ded585e1d1"
10SRC_URI[sha256sum] = "a057daa098f12838eb4e635bb28413027f1b73819872c3fbf64e3207790a3f7d"
11
12S = "${WORKDIR}/libwbxml-${PV}"
13
14inherit cmake pkgconfig
15
16EXTRA_OECMAKE += " . -B${WORKDIR}/build "
17
18PACKAGES += "${PN}-tools"
19
20FILES_${PN}-tools = "${bindir}"
21FILES_${PN} = "${libdir}/*.so.*"
22
23do_build_prepend() {
24 cd ${WORKDIR}/build
25}
26
27do_install_prepend() {
28 cd ${WORKDIR}/build
29}
diff --git a/meta-oe/recipes-support/xchat/xchat-2.8.8/glib-2.32.patch b/meta-oe/recipes-support/xchat/xchat-2.8.8/glib-2.32.patch
new file mode 100644
index 000000000..c9bce6a9c
--- /dev/null
+++ b/meta-oe/recipes-support/xchat/xchat-2.8.8/glib-2.32.patch
@@ -0,0 +1,44 @@
1--- xchat-2.8.8.orig/src/common/xchat.h 2009-08-16 11:40:16.000000000 +0200
2+++ xchat-2.8.8/src/common/xchat.h 2012-05-06 08:30:16.125755497 +0200
3@@ -1,10 +1,6 @@
4 #include "../../config.h"
5
6-#include <glib/gslist.h>
7-#include <glib/glist.h>
8-#include <glib/gutils.h>
9-#include <glib/giochannel.h>
10-#include <glib/gstrfuncs.h>
11+#include <glib.h>
12 #include <time.h> /* need time_t */
13
14 #ifndef XCHAT_H
15--- xchat-2.8.8.orig/src/common/servlist.c 2010-05-16 09:24:26.000000000 +0200
16+++ xchat-2.8.8/src/common/servlist.c 2012-05-06 08:30:45.681758019 +0200
17@@ -24,7 +24,6 @@
18 #include <unistd.h>
19
20 #include "xchat.h"
21-#include <glib/ghash.h>
22
23 #include "cfgfiles.h"
24 #include "fe.h"
25--- xchat-2.8.8.orig/src/common/util.c 2009-08-16 11:40:16.000000000 +0200
26+++ xchat-2.8.8/src/common/util.c 2012-05-06 08:31:10.389760122 +0200
27@@ -39,7 +39,6 @@
28 #include <errno.h>
29 #include "xchat.h"
30 #include "xchatc.h"
31-#include <glib/gmarkup.h>
32 #include <ctype.h>
33 #include "util.h"
34 #include "../../config.h"
35--- xchat-2.8.8.orig/src/common/text.c 2010-05-30 04:14:41.000000000 +0200
36+++ xchat-2.8.8/src/common/text.c 2012-05-06 08:31:22.300761137 +0200
37@@ -28,7 +28,6 @@
38 #include <sys/mman.h>
39
40 #include "xchat.h"
41-#include <glib/ghash.h>
42 #include "cfgfiles.h"
43 #include "chanopt.h"
44 #include "plugin.h"
diff --git a/meta-oe/recipes-support/xchat/xchat_2.8.8.bb b/meta-oe/recipes-support/xchat/xchat_2.8.8.bb
new file mode 100644
index 000000000..3346e1871
--- /dev/null
+++ b/meta-oe/recipes-support/xchat/xchat_2.8.8.bb
@@ -0,0 +1,30 @@
1DESCRIPTION = "Full-featured IRC chat client with scripting support"
2LICENSE = "GPLv2+"
3HOMEPAGE = "http://www.xchat.org"
4SECTION = "x11/network"
5DEPENDS = "libgcrypt zlib gtk+"
6DEPENDS += "gdk-pixbuf-native"
7LIC_FILES_CHKSUM = "file://COPYING;md5=c93c0550bd3173f4504b2cbd8991e50b"
8
9PR = "r1"
10
11SRC_URI = "http://xchat.org/files/source/2.8/xchat-${PV}.tar.bz2 \
12 file://glib-2.32.patch \
13"
14
15inherit autotools gettext
16
17EXTRA_OECONF = "\
18 --disable-perl \
19 --disable-python \
20 --disable-tcl \
21"
22do_configure_prepend(){
23 rm -f ${S}/po/Makefile.in.in
24}
25
26FILES_${PN} += "${datadir}/dbus-1"
27FILES_${PN}-dbg += "${libdir}/xchat/plugins/.debug"
28
29SRC_URI[md5sum] = "6775c44f38e84d06c06c336b32c4a452"
30SRC_URI[sha256sum] = "0d6d69437b5e1e45f3e66270fe369344943de8a1190e498fafa5296315a27db0"