summaryrefslogtreecommitdiffstats
path: root/openembedded
diff options
context:
space:
mode:
Diffstat (limited to 'openembedded')
-rw-r--r--openembedded/packages/bzip2/bzip2-1.0.2/installpaths.patch103
-rw-r--r--openembedded/packages/bzip2/bzip2_1.0.2.bb41
-rw-r--r--openembedded/packages/gnome/gnome-mime-data_2.4.2.bb8
-rw-r--r--openembedded/packages/gnome/gnome-vfs-dbus/gssapi.patch13
-rw-r--r--openembedded/packages/gnome/gnome-vfs-dbus/no-gtk-doc.patch24
-rwxr-xr-xopenembedded/packages/gnome/gnome-vfs-dbus_cvs.bb99
6 files changed, 288 insertions, 0 deletions
diff --git a/openembedded/packages/bzip2/bzip2-1.0.2/installpaths.patch b/openembedded/packages/bzip2/bzip2-1.0.2/installpaths.patch
new file mode 100644
index 0000000000..e7d09a71c5
--- /dev/null
+++ b/openembedded/packages/bzip2/bzip2-1.0.2/installpaths.patch
@@ -0,0 +1,103 @@
1
2#
3# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4#
5
6--- bzip2-1.0.2/Makefile~installpaths
7+++ bzip2-1.0.2/Makefile
8@@ -12,8 +12,12 @@
9 CFLAGS=-Wall -Winline -O2 -fomit-frame-pointer -fno-strength-reduce $(BIGFILES)
10
11 # Where you want it installed when you do 'make install'
12-PREFIX=/usr
13-
14+DESTDIR=
15+prefix=/usr
16+bindir=$(prefix)/bin
17+mandir=$(prefix)/man
18+includedir=$(prefix)/include
19+libdir=$(prefix)/lib
20
21 OBJS= blocksort.o \
22 huffman.o \
23@@ -58,43 +62,43 @@
24 @cat words3
25
26 install: bzip2 bzip2recover
27- if ( test ! -d $(PREFIX)/bin ) ; then mkdir -p $(PREFIX)/bin ; fi
28- if ( test ! -d $(PREFIX)/lib ) ; then mkdir -p $(PREFIX)/lib ; fi
29- if ( test ! -d $(PREFIX)/man ) ; then mkdir -p $(PREFIX)/man ; fi
30- if ( test ! -d $(PREFIX)/man/man1 ) ; then mkdir -p $(PREFIX)/man/man1 ; fi
31- if ( test ! -d $(PREFIX)/include ) ; then mkdir -p $(PREFIX)/include ; fi
32- cp -f bzip2 $(PREFIX)/bin/bzip2
33- cp -f bzip2 $(PREFIX)/bin/bunzip2
34- cp -f bzip2 $(PREFIX)/bin/bzcat
35- cp -f bzip2recover $(PREFIX)/bin/bzip2recover
36- chmod a+x $(PREFIX)/bin/bzip2
37- chmod a+x $(PREFIX)/bin/bunzip2
38- chmod a+x $(PREFIX)/bin/bzcat
39- chmod a+x $(PREFIX)/bin/bzip2recover
40- cp -f bzip2.1 $(PREFIX)/man/man1
41- chmod a+r $(PREFIX)/man/man1/bzip2.1
42- cp -f bzlib.h $(PREFIX)/include
43- chmod a+r $(PREFIX)/include/bzlib.h
44- cp -f libbz2.a $(PREFIX)/lib
45- chmod a+r $(PREFIX)/lib/libbz2.a
46- cp -f bzgrep $(PREFIX)/bin/bzgrep
47- ln $(PREFIX)/bin/bzgrep $(PREFIX)/bin/bzegrep
48- ln $(PREFIX)/bin/bzgrep $(PREFIX)/bin/bzfgrep
49- chmod a+x $(PREFIX)/bin/bzgrep
50- cp -f bzmore $(PREFIX)/bin/bzmore
51- ln $(PREFIX)/bin/bzmore $(PREFIX)/bin/bzless
52- chmod a+x $(PREFIX)/bin/bzmore
53- cp -f bzdiff $(PREFIX)/bin/bzdiff
54- ln $(PREFIX)/bin/bzdiff $(PREFIX)/bin/bzcmp
55- chmod a+x $(PREFIX)/bin/bzdiff
56- cp -f bzgrep.1 bzmore.1 bzdiff.1 $(PREFIX)/man/man1
57- chmod a+r $(PREFIX)/man/man1/bzgrep.1
58- chmod a+r $(PREFIX)/man/man1/bzmore.1
59- chmod a+r $(PREFIX)/man/man1/bzdiff.1
60- echo ".so man1/bzgrep.1" > $(PREFIX)/man/man1/bzegrep.1
61- echo ".so man1/bzgrep.1" > $(PREFIX)/man/man1/bzfgrep.1
62- echo ".so man1/bzmore.1" > $(PREFIX)/man/man1/bzless.1
63- echo ".so man1/bzdiff.1" > $(PREFIX)/man/man1/bzcmp.1
64+ if ( test ! -d $(DESTDIR)$(bindir) ) ; then mkdir -p $(DESTDIR)$(bindir) ; fi
65+ if ( test ! -d $(DESTDIR)$(libdir) ) ; then mkdir -p $(DESTDIR)$(libdir) ; fi
66+ if ( test ! -d $(DESTDIR)$(mandir) ) ; then mkdir -p $(DESTDIR)$(mandir) ; fi
67+ if ( test ! -d $(DESTDIR)$(mandir)/man1 ) ; then mkdir -p $(DESTDIR)$(mandir)/man1 ; fi
68+ if ( test ! -d $(DESTDIR)$(includedir) ) ; then mkdir -p $(DESTDIR)$(includedir) ; fi
69+ cp -f bzip2 $(DESTDIR)$(bindir)/bzip2
70+ cp -f bzip2 $(DESTDIR)$(bindir)/bunzip2
71+ cp -f bzip2 $(DESTDIR)$(bindir)/bzcat
72+ cp -f bzip2recover $(DESTDIR)$(bindir)/bzip2recover
73+ chmod a+x $(DESTDIR)$(bindir)/bzip2
74+ chmod a+x $(DESTDIR)$(bindir)/bunzip2
75+ chmod a+x $(DESTDIR)$(bindir)/bzcat
76+ chmod a+x $(DESTDIR)$(bindir)/bzip2recover
77+ cp -f bzip2.1 $(DESTDIR)$(mandir)/man1
78+ chmod a+r $(DESTDIR)$(mandir)/man1/bzip2.1
79+ cp -f bzlib.h $(DESTDIR)$(includedir)
80+ chmod a+r $(DESTDIR)$(includedir)/bzlib.h
81+ cp -f libbz2.a $(DESTDIR)$(libdir)
82+ chmod a+r $(DESTDIR)$(libdir)/libbz2.a
83+ cp -f bzgrep $(DESTDIR)$(bindir)/bzgrep
84+ ln $(DESTDIR)$(bindir)/bzgrep $(DESTDIR)$(bindir)/bzegrep
85+ ln $(DESTDIR)$(bindir)/bzgrep $(DESTDIR)$(bindir)/bzfgrep
86+ chmod a+x $(DESTDIR)$(bindir)/bzgrep
87+ cp -f bzmore $(DESTDIR)$(bindir)/bzmore
88+ ln $(DESTDIR)$(bindir)/bzmore $(DESTDIR)$(bindir)/bzless
89+ chmod a+x $(DESTDIR)$(bindir)/bzmore
90+ cp -f bzdiff $(DESTDIR)$(bindir)/bzdiff
91+ ln $(DESTDIR)$(bindir)/bzdiff $(DESTDIR)$(bindir)/bzcmp
92+ chmod a+x $(DESTDIR)$(bindir)/bzdiff
93+ cp -f bzgrep.1 bzmore.1 bzdiff.1 $(DESTDIR)$(mandir)/man1
94+ chmod a+r $(DESTDIR)$(mandir)/man1/bzgrep.1
95+ chmod a+r $(DESTDIR)$(mandir)/man1/bzmore.1
96+ chmod a+r $(DESTDIR)$(mandir)/man1/bzdiff.1
97+ echo ".so man1/bzgrep.1" > $(DESTDIR)$(mandir)/man1/bzegrep.1
98+ echo ".so man1/bzgrep.1" > $(DESTDIR)$(mandir)/man1/bzfgrep.1
99+ echo ".so man1/bzmore.1" > $(DESTDIR)$(mandir)/man1/bzless.1
100+ echo ".so man1/bzdiff.1" > $(DESTDIR)$(mandir)/man1/bzcmp.1
101
102 distclean: clean
103 clean:
diff --git a/openembedded/packages/bzip2/bzip2_1.0.2.bb b/openembedded/packages/bzip2/bzip2_1.0.2.bb
new file mode 100644
index 0000000000..1e1cb8e539
--- /dev/null
+++ b/openembedded/packages/bzip2/bzip2_1.0.2.bb
@@ -0,0 +1,41 @@
1DESCRIPTION = "Very high-quality data compression program."
2SECTION = "console/utils"
3PR = "r1"
4
5LICENSE = "bzip2"
6SRC_URI = "ftp://sources.redhat.com/pub/bzip2/v102/bzip2-${PV}.tar.gz \
7 file://installpaths.patch;patch=1"
8
9CFLAGS_append = " -fPIC -fpic -Winline -fno-strength-reduce -D_FILE_OFFSET_BITS=64"
10
11do_compile () {
12 oe_runmake -f Makefile-libbz2_so
13 ln -sf libbz2.so.1.0.2 libbz2.so.1.0
14 ln -sf libbz2.so.1.0.2 libbz2.so.1
15 ln -sf libbz2.so.1.0.2 libbz2.so
16 oe_runmake libbz2.a bzip2 bzip2recover
17}
18
19do_stage () {
20 install -m 0644 bzlib.h ${STAGING_INCDIR}/
21 oe_libinstall -a -so libbz2 ${STAGING_LIBDIR}
22}
23
24do_install () {
25 oe_runmake 'DESTDIR=${D}' install
26 oe_libinstall -a -so libbz2 ${D}${libdir}
27 mv ${D}${bindir}/bunzip2 ${D}${bindir}/bunzip2.${PN}
28 mv ${D}${bindir}/bzcat ${D}${bindir}/bzcat.${PN}
29}
30
31
32pkg_postinst_${PN} () {
33 update-alternatives --install ${bindir}/bunzip2 bunzip2 bunzip2.${PN} 100
34 update-alternatives --install ${bindir}/bzcat bzcat bzcat.${PN} 100
35}
36
37
38pkg_prerm_${PN} () {
39 update-alternatives --remove bunzip2 bunzip2.${PN}
40 update-alternatives --remove bzcat bzcat.${PN}
41}
diff --git a/openembedded/packages/gnome/gnome-mime-data_2.4.2.bb b/openembedded/packages/gnome/gnome-mime-data_2.4.2.bb
new file mode 100644
index 0000000000..bf98e1441c
--- /dev/null
+++ b/openembedded/packages/gnome/gnome-mime-data_2.4.2.bb
@@ -0,0 +1,8 @@
1LICENSE = "GPL"
2
3inherit pkgconfig autotools
4
5SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/${PN}/2.4/${PN}-${PV}.tar.bz2"
6
7DEPENDS += "shared-mime-info intltool-native"
8RDEPENDS = "shared-mime-info"
diff --git a/openembedded/packages/gnome/gnome-vfs-dbus/gssapi.patch b/openembedded/packages/gnome/gnome-vfs-dbus/gssapi.patch
new file mode 100644
index 0000000000..bcf46176b2
--- /dev/null
+++ b/openembedded/packages/gnome/gnome-vfs-dbus/gssapi.patch
@@ -0,0 +1,13 @@
1--- trunk/configure.in.old 2005-10-28 17:18:36.000000000 +0100
2+++ trunk/configure.in 2005-10-28 17:20:34.000000000 +0100
3@@ -444,6 +444,10 @@
4 ])
5 LIBS="$saved_LIBS"
6 CPPFLAGS="$saved_CPPFLAGS"
7+ if test "x$have_gssapi" != "xyes"; then
8+ GSSAPI_LIBS=
9+ GSSAPI_CFLAGS=
10+ fi
11 fi
12 AC_SUBST(GSSAPI_LIBS)
13 AC_SUBST(GSSAPI_CFLAGS)
diff --git a/openembedded/packages/gnome/gnome-vfs-dbus/no-gtk-doc.patch b/openembedded/packages/gnome/gnome-vfs-dbus/no-gtk-doc.patch
new file mode 100644
index 0000000000..331889b639
--- /dev/null
+++ b/openembedded/packages/gnome/gnome-vfs-dbus/no-gtk-doc.patch
@@ -0,0 +1,24 @@
1diff -urNd ../gnome-vfs-dbus-2.12.0cvs20051004-r0/trunk/doc/Makefile.am trunk/doc/Makefile.am
2--- ../gnome-vfs-dbus-2.12.0cvs20051004-r0/trunk/doc/Makefile.am 2005-10-28 15:48:43.000000000 +0100
3+++ trunk/doc/Makefile.am 2005-10-28 16:17:15.000000000 +0100
4@@ -81,7 +81,7 @@
5 GTKDOC_LIBS = $(LIBGNOMEVFS_LIBS) \
6 $(top_builddir)/libgnomevfs/libgnomevfs-2.la
7
8-include $(top_srcdir)/gtk-doc.make
9+#include $(top_srcdir)/gtk-doc.make
10
11 dist-hook-local:
12 # mkdir $(distdir)/TEXT; \
13diff -urNd ../gnome-vfs-dbus-2.12.0cvs20051004-r0/trunk/Makefile.am trunk/Makefile.am
14--- ../gnome-vfs-dbus-2.12.0cvs20051004-r0/trunk/Makefile.am 2005-10-28 15:49:03.000000000 +0100
15+++ trunk/Makefile.am 2005-10-28 16:17:07.000000000 +0100
16@@ -21,7 +21,7 @@
17 gnome-vfs-zip.in \
18 gnome-vfs-2.0.pc.in \
19 gnome-vfs-module-2.0.pc.in \
20- gtk-doc.make \
21+# gtk-doc.make \
22 intltool-extract.in \
23 intltool-merge.in \
24 intltool-update.in
diff --git a/openembedded/packages/gnome/gnome-vfs-dbus_cvs.bb b/openembedded/packages/gnome/gnome-vfs-dbus_cvs.bb
new file mode 100755
index 0000000000..d94812fb54
--- /dev/null
+++ b/openembedded/packages/gnome/gnome-vfs-dbus_cvs.bb
@@ -0,0 +1,99 @@
1DEFAULT_PREFERENCE = "-1"
2
3SECTION = "x11/utils"
4DEPENDS = "gtk+ glib-2.0 gconf dbus libxml2 zlib bzip2"
5DESCRIPTION = "Virtual file system library using DBUS for communication."
6LICENSE = "GPLv2"
7MAINTAINER = "Chris Lord <chris@openedhand.com>"
8PROVIDES = "gnome-vfs"
9RPROVIDES_${PN} = "gnome-vfs"
10RPROVIDES_${PN}-dev = "gnome-vfs-dev"
11RRECOMMENDS_${PN} = "gnome-vfs-plugin-file shared-mime-info"
12
13PV = "2.12.0cvs${CVSDATE}"
14
15SRC_URI = "svn://anonymous@developer.imendio.com/svn/gnome-vfs-dbus;module=trunk;proto=http \
16 file://no-gtk-doc.patch;patch=1 \
17 file://gssapi.patch;patch=1"
18S = "${WORKDIR}/trunk"
19
20inherit pkgconfig autotools
21
22EXTRA_OECONF = "--with-ipc=dbus --disable-hal --disable-gtk-doc --disable-more-warnings"
23
24FILES_${PN} += " ${libdir}/vfs ${datadir}/dbus-1/services/dbus-vfs-daemon.service"
25FILES_${PN}-dev += " ${libdir}/gnome-vfs-2.0/modules/*.a ${libdir}/gnome-vfs-2.0/modules/*.la ${libdir}/gnome-vfs-2.0/include"
26FILES_${PN}-doc += " ${datadir}/gtk-doc"
27
28# These header lists have been copy-pasted from trunk/libgnomevfs/Makefile.am
29GNOME_VFS_PLATFORM_HEADERS = " \
30 gnome-vfs-file-size.h"
31
32GNOME_VFS_MODULE_HEADERS = " \
33 gnome-vfs-cancellable-ops.h \
34 gnome-vfs-inet-connection.h \
35 gnome-vfs-method.h \
36 gnome-vfs-mime.h \
37 gnome-vfs-mime-info.h \
38 gnome-vfs-module-callback-module-api.h \
39 gnome-vfs-module-shared.h \
40 gnome-vfs-module.h \
41 gnome-vfs-parse-ls.h \
42 gnome-vfs-ssl.h \
43 gnome-vfs-transform.h \
44 gnome-vfs-socket-buffer.h \
45 gnome-vfs-socket.h"
46
47GNOME_VFS_HEADERS = " \
48 gnome-vfs-application-registry.h \
49 gnome-vfs-address.h \
50 gnome-vfs-async-ops.h \
51 gnome-vfs-cancellation.h \
52 gnome-vfs-context.h \
53 gnome-vfs-directory.h \
54 gnome-vfs-dns-sd.h \
55 gnome-vfs-drive.h \
56 gnome-vfs-enum-types.h \
57 gnome-vfs-file-info.h \
58 gnome-vfs-file-size.h \
59 gnome-vfs-find-directory.h \
60 gnome-vfs-handle.h \
61 gnome-vfs-init.h \
62 gnome-vfs-job-limit.h \
63 gnome-vfs-mime-deprecated.h \
64 gnome-vfs-mime-handlers.h \
65 gnome-vfs-mime-info-cache.h \
66 gnome-vfs-mime-monitor.h \
67 gnome-vfs-mime-utils.h \
68 gnome-vfs-module-callback.h \
69 gnome-vfs-monitor.h \
70 gnome-vfs-ops.h \
71 gnome-vfs-resolve.h \
72 gnome-vfs-result.h \
73 gnome-vfs-standard-callbacks.h \
74 gnome-vfs-types.h \
75 gnome-vfs-uri.h \
76 gnome-vfs-utils.h \
77 gnome-vfs-volume-monitor.h \
78 gnome-vfs-volume.h \
79 gnome-vfs-xfer.h \
80 gnome-vfs.h"
81
82do_stage() {
83 oe_libinstall -so -C libgnomevfs libgnomevfs-2 ${STAGING_LIBDIR}
84 install -d ${STAGING_INCDIR}/gnome-vfs-2.0/libgnomevfs
85 for i in ${GNOME_VFS_HEADERS}; do install -m 0644 libgnomevfs/$i ${STAGING_INCDIR}/gnome-vfs-2.0/libgnomevfs/; done
86 install -d ${STAGING_INCDIR}/gnome-vfs-module-2.0/libgnomevfs
87 for i in ${GNOME_VFS_MODULE_HEADERS}; do install -m 0644 libgnomevfs/$i ${STAGING_INCDIR}/gnome-vfs-module-2.0/libgnomevfs/; done
88 install -d ${STAGING_INCDIR}/include/libgnomevfs
89 for i in ${GNOME_VFS_PLATFORM_HEADERS}; do install -m 0644 libgnomevfs/$i ${STAGING_INCDIR}/include/libgnomevfs/; done
90}
91
92python populate_packages_prepend () {
93 print bb.data.getVar('FILES_gnome-vfs', d, 1)
94
95 plugindir = bb.data.expand('${libdir}/gnome-vfs-2.0/modules/', d)
96 do_split_packages(d, plugindir, '^lib(.*)\.so$', 'gnome-vfs-plugin-%s',
97'GNOME VFS plugin for %s')
98}
99