diff options
Diffstat (limited to 'meta/packages/gnome')
32 files changed, 936 insertions, 0 deletions
diff --git a/meta/packages/gnome/files/gtk-doc.m4 b/meta/packages/gnome/files/gtk-doc.m4 new file mode 100644 index 0000000000..3ec41666b2 --- /dev/null +++ b/meta/packages/gnome/files/gtk-doc.m4 | |||
@@ -0,0 +1,53 @@ | |||
1 | dnl -*- mode: autoconf -*- | ||
2 | |||
3 | # serial 1 | ||
4 | |||
5 | dnl Usage: | ||
6 | dnl GTK_DOC_CHECK([minimum-gtk-doc-version]) | ||
7 | AC_DEFUN([GTK_DOC_CHECK], | ||
8 | [ | ||
9 | AC_BEFORE([AC_PROG_LIBTOOL],[$0])dnl setup libtool first | ||
10 | AC_BEFORE([AM_PROG_LIBTOOL],[$0])dnl setup libtool first | ||
11 | dnl for overriding the documentation installation directory | ||
12 | AC_ARG_WITH(html-dir, | ||
13 | AC_HELP_STRING([--with-html-dir=PATH], [path to installed docs]),, | ||
14 | [with_html_dir='${datadir}/gtk-doc/html']) | ||
15 | HTML_DIR="$with_html_dir" | ||
16 | AC_SUBST(HTML_DIR) | ||
17 | |||
18 | dnl enable/disable documentation building | ||
19 | AC_ARG_ENABLE(gtk-doc, | ||
20 | AC_HELP_STRING([--enable-gtk-doc], | ||
21 | [use gtk-doc to build documentation [default=no]]),, | ||
22 | enable_gtk_doc=no) | ||
23 | |||
24 | have_gtk_doc=no | ||
25 | if test -z "$PKG_CONFIG"; then | ||
26 | AC_PATH_PROG(PKG_CONFIG, pkg-config, no) | ||
27 | fi | ||
28 | if test "$PKG_CONFIG" != "no" && $PKG_CONFIG --exists gtk-doc; then | ||
29 | have_gtk_doc=yes | ||
30 | fi | ||
31 | |||
32 | dnl do we want to do a version check? | ||
33 | ifelse([$1],[],, | ||
34 | [gtk_doc_min_version=$1 | ||
35 | if test "$have_gtk_doc" = yes; then | ||
36 | AC_MSG_CHECKING([gtk-doc version >= $gtk_doc_min_version]) | ||
37 | if $PKG_CONFIG --atleast-version $gtk_doc_min_version gtk-doc; then | ||
38 | AC_MSG_RESULT(yes) | ||
39 | else | ||
40 | AC_MSG_RESULT(no) | ||
41 | have_gtk_doc=no | ||
42 | fi | ||
43 | fi | ||
44 | ]) | ||
45 | if test x$enable_gtk_doc = xyes; then | ||
46 | if test "$have_gtk_doc" != yes; then | ||
47 | enable_gtk_doc=no | ||
48 | fi | ||
49 | fi | ||
50 | |||
51 | AM_CONDITIONAL(ENABLE_GTK_DOC, test x$enable_gtk_doc = xyes) | ||
52 | AM_CONDITIONAL(GTK_DOC_USE_LIBTOOL, test -n "$LIBTOOL") | ||
53 | ]) | ||
diff --git a/meta/packages/gnome/files/gtk-doc.make b/meta/packages/gnome/files/gtk-doc.make new file mode 100644 index 0000000000..c319e7ad7c --- /dev/null +++ b/meta/packages/gnome/files/gtk-doc.make | |||
@@ -0,0 +1,148 @@ | |||
1 | # -*- mode: makefile -*- | ||
2 | |||
3 | #################################### | ||
4 | # Everything below here is generic # | ||
5 | #################################### | ||
6 | |||
7 | if GTK_DOC_USE_LIBTOOL | ||
8 | GTKDOC_CC = $(LIBTOOL) --mode=compile $(CC) $(INCLUDES) $(AM_CFLAGS) $(CFLAGS) | ||
9 | GTKDOC_LD = $(LIBTOOL) --mode=link $(CC) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) | ||
10 | else | ||
11 | GTKDOC_CC = $(CC) $(INCLUDES) $(AM_CFLAGS) $(CFLAGS) | ||
12 | GTKDOC_LD = $(CC) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) | ||
13 | endif | ||
14 | |||
15 | # We set GPATH here; this gives us semantics for GNU make | ||
16 | # which are more like other make's VPATH, when it comes to | ||
17 | # whether a source that is a target of one rule is then | ||
18 | # searched for in VPATH/GPATH. | ||
19 | # | ||
20 | GPATH = $(srcdir) | ||
21 | |||
22 | TARGET_DIR=$(HTML_DIR)/$(DOC_MODULE) | ||
23 | |||
24 | EXTRA_DIST = \ | ||
25 | $(content_files) \ | ||
26 | $(HTML_IMAGES) \ | ||
27 | $(DOC_MAIN_SGML_FILE) \ | ||
28 | $(DOC_MODULE).types \ | ||
29 | $(DOC_MODULE)-sections.txt \ | ||
30 | $(DOC_MODULE)-overrides.txt | ||
31 | |||
32 | DOC_STAMPS=scan-build.stamp tmpl-build.stamp sgml-build.stamp html-build.stamp \ | ||
33 | $(srcdir)/tmpl.stamp $(srcdir)/sgml.stamp $(srcdir)/html.stamp | ||
34 | |||
35 | SCANOBJ_FILES = \ | ||
36 | $(DOC_MODULE).args \ | ||
37 | $(DOC_MODULE).hierarchy \ | ||
38 | $(DOC_MODULE).interfaces \ | ||
39 | $(DOC_MODULE).prerequisites \ | ||
40 | $(DOC_MODULE).signals | ||
41 | |||
42 | CLEANFILES = $(SCANOBJ_FILES) $(DOC_MODULE)-scan.o $(DOC_MODULE)-unused.txt $(DOC_STAMPS) | ||
43 | |||
44 | if ENABLE_GTK_DOC | ||
45 | all-local: html-build.stamp | ||
46 | |||
47 | #### scan #### | ||
48 | |||
49 | scan-build.stamp: $(HFILE_GLOB) | ||
50 | @echo '*** Scanning header files ***' | ||
51 | @-chmod -R u+w $(srcdir) | ||
52 | if grep -l '^..*$$' $(srcdir)/$(DOC_MODULE).types > /dev/null ; then \ | ||
53 | CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" CFLAGS="$(GTKDOC_CFLAGS)" LDFLAGS="$(GTKDOC_LIBS)" gtkdoc-scangobj $(SCANGOBJ_OPTIONS) --module=$(DOC_MODULE) --output-dir=$(srcdir) ; \ | ||
54 | else \ | ||
55 | cd $(srcdir) ; \ | ||
56 | for i in $(SCANOBJ_FILES) ; do \ | ||
57 | test -f $$i || touch $$i ; \ | ||
58 | done \ | ||
59 | fi | ||
60 | cd $(srcdir) && \ | ||
61 | gtkdoc-scan --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --ignore-headers="$(IGNORE_HFILES)" $(SCAN_OPTIONS) $(EXTRA_HFILES) | ||
62 | touch scan-build.stamp | ||
63 | |||
64 | $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES): scan-build.stamp | ||
65 | @true | ||
66 | |||
67 | #### templates #### | ||
68 | |||
69 | tmpl-build.stamp: $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt | ||
70 | @echo '*** Rebuilding template files ***' | ||
71 | @-chmod -R u+w $(srcdir) | ||
72 | cd $(srcdir) && gtkdoc-mktmpl --module=$(DOC_MODULE) | ||
73 | touch tmpl-build.stamp | ||
74 | |||
75 | tmpl.stamp: tmpl-build.stamp | ||
76 | @true | ||
77 | |||
78 | #### xml #### | ||
79 | |||
80 | sgml-build.stamp: tmpl.stamp $(CFILE_GLOB) $(srcdir)/tmpl/*.sgml | ||
81 | @echo '*** Building XML ***' | ||
82 | @-chmod -R u+w $(srcdir) | ||
83 | cd $(srcdir) && \ | ||
84 | gtkdoc-mkdb --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --output-format=xml $(MKDB_OPTIONS) | ||
85 | touch sgml-build.stamp | ||
86 | |||
87 | sgml.stamp: sgml-build.stamp | ||
88 | @true | ||
89 | |||
90 | #### html #### | ||
91 | |||
92 | html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) | ||
93 | @echo '*** Building HTML ***' | ||
94 | @-chmod -R u+w $(srcdir) | ||
95 | rm -rf $(srcdir)/html | ||
96 | mkdir $(srcdir)/html | ||
97 | cd $(srcdir)/html && gtkdoc-mkhtml $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE) | ||
98 | test "x$(HTML_IMAGES)" = "x" || ( cd $(srcdir) && cp $(HTML_IMAGES) html ) | ||
99 | @echo '-- Fixing Crossreferences' | ||
100 | cd $(srcdir) && gtkdoc-fixxref --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS) | ||
101 | touch html-build.stamp | ||
102 | endif | ||
103 | |||
104 | ############## | ||
105 | |||
106 | clean-local: | ||
107 | rm -f *~ *.bak | ||
108 | |||
109 | maintainer-clean-local: clean | ||
110 | cd $(srcdir) && rm -rf xml html $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt | ||
111 | |||
112 | install-data-local: | ||
113 | $(mkinstalldirs) $(DESTDIR)$(TARGET_DIR) | ||
114 | (installfiles=`echo $(srcdir)/html/*`; \ | ||
115 | if test "$$installfiles" = '$(srcdir)/html/*'; \ | ||
116 | then echo '-- Nothing to install' ; \ | ||
117 | else \ | ||
118 | for i in $$installfiles; do \ | ||
119 | echo '-- Installing '$$i ; \ | ||
120 | $(INSTALL_DATA) $$i $(DESTDIR)$(TARGET_DIR); \ | ||
121 | done; \ | ||
122 | echo '-- Installing $(srcdir)/html/index.sgml' ; \ | ||
123 | $(INSTALL_DATA) $(srcdir)/html/index.sgml $(DESTDIR)$(TARGET_DIR) || :; \ | ||
124 | fi) | ||
125 | |||
126 | uninstall-local: | ||
127 | rm -f $(DESTDIR)$(TARGET_DIR)/* | ||
128 | |||
129 | # | ||
130 | # Require gtk-doc when making dist | ||
131 | # | ||
132 | if ENABLE_GTK_DOC | ||
133 | dist-check-gtkdoc: | ||
134 | else | ||
135 | dist-check-gtkdoc: | ||
136 | @echo "*** gtk-doc must be installed and enabled in order to make dist" | ||
137 | @false | ||
138 | endif | ||
139 | |||
140 | dist-hook: dist-check-gtkdoc dist-hook-local | ||
141 | mkdir $(distdir)/tmpl | ||
142 | mkdir $(distdir)/xml | ||
143 | mkdir $(distdir)/html | ||
144 | -cp $(srcdir)/tmpl/*.sgml $(distdir)/tmpl | ||
145 | -cp $(srcdir)/xml/*.xml $(distdir)/xml | ||
146 | -cp $(srcdir)/html/* $(distdir)/html | ||
147 | |||
148 | .PHONY : dist-hook-local | ||
diff --git a/meta/packages/gnome/gconf-2.6.1/backends.patch b/meta/packages/gnome/gconf-2.6.1/backends.patch new file mode 100644 index 0000000000..8d6099b41f --- /dev/null +++ b/meta/packages/gnome/gconf-2.6.1/backends.patch | |||
@@ -0,0 +1,13 @@ | |||
1 | --- gconf/backends/Makefile.am~ 2003-11-03 00:19:33.000000000 +0000 | ||
2 | +++ gconf/backends/Makefile.am 2004-05-15 19:01:38.000000000 +0100 | ||
3 | @@ -28,8 +28,8 @@ | ||
4 | |||
5 | noinst_PROGRAMS = xml-test | ||
6 | |||
7 | -xml_test_SOURCES= $(libgconfbackend_oldxml_la_SOURCES) xml-test.c | ||
8 | -xml_test_LDADD = $(DEPENDENT_WITH_XML_LIBS) $(top_builddir)/gconf/libgconf-$(MAJOR_VERSION).la | ||
9 | +#xml_test_SOURCES= $(libgconfbackend_oldxml_la_SOURCES) xml-test.c | ||
10 | +xml_test_LDADD = $(DEPENDENT_WITH_XML_LIBS) $(top_builddir)/gconf/libgconf-$(MAJOR_VERSION).la libgconfbackend-oldxml.la | ||
11 | |||
12 | bin_PROGRAMS = gconf-merge-tree | ||
13 | gconf_merge_tree_SOURCES = gconf-merge-tree.c | ||
diff --git a/meta/packages/gnome/gconf-dbus/69gconfd-dbus b/meta/packages/gnome/gconf-dbus/69gconfd-dbus new file mode 100755 index 0000000000..c2add042f6 --- /dev/null +++ b/meta/packages/gnome/gconf-dbus/69gconfd-dbus | |||
@@ -0,0 +1,3 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | /usr/libexec/gconfd-2 & | ||
diff --git a/meta/packages/gnome/gconf-dbus/gconf-dbus-update.patch b/meta/packages/gnome/gconf-dbus/gconf-dbus-update.patch new file mode 100755 index 0000000000..9870078b86 --- /dev/null +++ b/meta/packages/gnome/gconf-dbus/gconf-dbus-update.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | ? gconf/gconf.service | ||
2 | Index: gconf/Makefile.am | ||
3 | =================================================================== | ||
4 | RCS file: /cvs/gnome/gconf/gconf/Makefile.am,v | ||
5 | retrieving revision 1.78.4.8 | ||
6 | diff -u -r1.78.4.8 Makefile.am | ||
7 | --- gconf/Makefile.am 21 Dec 2003 14:21:15 -0000 1.78.4.8 | ||
8 | +++ gconf/Makefile.am 22 Jan 2005 00:30:13 -0000 | ||
9 | @@ -155,6 +155,7 @@ | ||
10 | |||
11 | libgconf_2_la_LDFLAGS = -version-info $(GCONF_CURRENT):$(GCONF_REVISION):$(GCONF_AGE) -no-undefined | ||
12 | libgconf_2_la_LIBADD = $(INTLLIBS) $(DEPENDENT_LIBS) $(GCONF_IPC_LIBS) | ||
13 | +libgconf_2_la_CFLAGS = $(AM_CFLAGS) | ||
14 | |||
15 | if HAVE_DBUS | ||
16 | servicedir = $(DBUS_SERVICE_DIR) | ||
17 | Index: backends/Makefile.am | ||
18 | =================================================================== | ||
19 | RCS file: /cvs/gnome/gconf/backends/Makefile.am,v | ||
20 | retrieving revision 1.30 | ||
21 | diff -u -r1.30 Makefile.am | ||
22 | --- backends/Makefile.am 3 Nov 2003 00:19:33 -0000 1.30 | ||
23 | +++ backends/Makefile.am 22 Jan 2005 00:30:14 -0000 | ||
24 | @@ -17,6 +17,7 @@ | ||
25 | |||
26 | libgconfbackend_oldxml_la_LDFLAGS = -avoid-version -module -no-undefined | ||
27 | libgconfbackend_oldxml_la_LIBADD = $(DEPENDENT_WITH_XML_LIBS) $(top_builddir)/gconf/libgconf-$(MAJOR_VERSION).la | ||
28 | +libgconfbackend_oldxml_la_CFLAGS = $(AM_CFLAGS) | ||
29 | |||
30 | libgconfbackend_xml_la_SOURCES = \ | ||
31 | markup-backend.c \ | ||
diff --git a/meta/packages/gnome/gconf-dbus/no-deprecation.patch b/meta/packages/gnome/gconf-dbus/no-deprecation.patch new file mode 100644 index 0000000000..133ea550ee --- /dev/null +++ b/meta/packages/gnome/gconf-dbus/no-deprecation.patch | |||
@@ -0,0 +1,11 @@ | |||
1 | --- trunk/examples/basic-gconf-app.c.old 2006-04-25 20:39:48.000000000 +0100 | ||
2 | +++ trunk/examples/basic-gconf-app.c 2006-04-25 20:40:11.000000000 +0100 | ||
3 | @@ -80,7 +80,7 @@ | ||
4 | |||
5 | /* Be clean and pure */ | ||
6 | #define GTK_DISABLE_DEPRECATED | ||
7 | -#define G_DISABLE_DEPRECATED | ||
8 | +/*#define G_DISABLE_DEPRECATED*/ | ||
9 | |||
10 | #include <gconf/gconf-client.h> | ||
11 | #include <gtk/gtk.h> | ||
diff --git a/meta/packages/gnome/gconf-dbus/remove-old-translations.patch b/meta/packages/gnome/gconf-dbus/remove-old-translations.patch new file mode 100644 index 0000000000..486570040f --- /dev/null +++ b/meta/packages/gnome/gconf-dbus/remove-old-translations.patch | |||
@@ -0,0 +1,11 @@ | |||
1 | --- trunk/configure.in.old 2006-06-21 13:49:59.000000000 +0100 | ||
2 | +++ trunk/configure.in 2006-06-21 13:50:21.000000000 +0100 | ||
3 | @@ -189,7 +189,7 @@ | ||
4 | |||
5 | AC_CHECK_FUNCS(flockfile) | ||
6 | |||
7 | -ALL_LINGUAS="am ar az be bg bn ca cs cy da de el en_GB es eu fa fi fr ga gl hi hr hu id it ja ko lt lv mk ml mn ms nl nn no pl pt pt_BR ro ru sk sl sq sr sr@Latn sv tr uk vi yi zh_CN zh_TW ta" | ||
8 | +ALL_LINGUAS="am ar az be bg bn ca cs cy da de el en_GB es eu fa fi fr ga gl hi hr hu id it ja ko lt lv mk ml ms nl nn no pl pt pt_BR ro ru sk sl sq sr sr@Latn sv tr uk vi yi zh_CN zh_TW ta" | ||
9 | |||
10 | AM_GLIB_GNU_GETTEXT | ||
11 | |||
diff --git a/meta/packages/gnome/gconf-dbus/xml-backend-locks-compile-fix.patch b/meta/packages/gnome/gconf-dbus/xml-backend-locks-compile-fix.patch new file mode 100644 index 0000000000..c195aad639 --- /dev/null +++ b/meta/packages/gnome/gconf-dbus/xml-backend-locks-compile-fix.patch | |||
@@ -0,0 +1,16 @@ | |||
1 | --- trunk/backends/xml-backend.c~ 2006-01-18 09:57:39.000000000 -0800 | ||
2 | +++ trunk/backends/xml-backend.c 2006-01-19 11:38:37.000000000 -0800 | ||
3 | @@ -115,6 +115,13 @@ | ||
4 | |||
5 | typedef struct _XMLSource XMLSource; | ||
6 | |||
7 | +extern GConfLock* | ||
8 | +gconf_get_lock (const gchar *lock_directory, | ||
9 | + GError **err); | ||
10 | +extern gboolean | ||
11 | +gconf_release_lock (GConfLock *lock, | ||
12 | + GError **err); | ||
13 | + | ||
14 | /* XMLSource **/ | ||
15 | |||
16 | struct _XMLSource { | ||
diff --git a/meta/packages/gnome/gconf-dbus/xml-backend-oldxml-Makefile.patch b/meta/packages/gnome/gconf-dbus/xml-backend-oldxml-Makefile.patch new file mode 100644 index 0000000000..312a356c84 --- /dev/null +++ b/meta/packages/gnome/gconf-dbus/xml-backend-oldxml-Makefile.patch | |||
@@ -0,0 +1,11 @@ | |||
1 | --- trunk/backends/Makefile~ 2006-01-19 09:52:22.000000000 -0800 | ||
2 | +++ trunk/backends/Makefile 2006-01-19 13:13:23.000000000 -0800 | ||
3 | @@ -84,7 +84,7 @@ | ||
4 | xml_test_OBJECTS = $(am_xml_test_OBJECTS) | ||
5 | xml_test_DEPENDENCIES = $(am__DEPENDENCIES_1) \ | ||
6 | $(top_builddir)/gconf/libgconf-$(MAJOR_VERSION).la \ | ||
7 | - $(top_builddir)/backends/libgconfbackend-oldxml.la | ||
8 | + libgconfbackend-oldxml.la | ||
9 | DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) | ||
10 | depcomp = $(SHELL) $(top_srcdir)/depcomp | ||
11 | am__depfiles_maybe = depfiles | ||
diff --git a/meta/packages/gnome/gconf-dbus_cvs.bb b/meta/packages/gnome/gconf-dbus_cvs.bb new file mode 100755 index 0000000000..f8be0c4eee --- /dev/null +++ b/meta/packages/gnome/gconf-dbus_cvs.bb | |||
@@ -0,0 +1,38 @@ | |||
1 | SECTION = "x11/utils" | ||
2 | DEPENDS = "gtk+ glib-2.0 dbus libxml2 popt" | ||
3 | DESCRIPTION = "Settings daemon using DBUS for communication." | ||
4 | LICENSE = "GPL" | ||
5 | MAINTAINER = "Florian Boor <florian@kernelconcepts.de>" | ||
6 | PROVIDES = "gconf" | ||
7 | RPROVIDES_${PN} = "gconf" | ||
8 | RPROVIDES_${PN}-dev = "gconf-dev" | ||
9 | |||
10 | PV = "0.0+cvs${SRCDATE}" | ||
11 | PR = "r8" | ||
12 | |||
13 | SRC_URI = "cvs://anonymous@anoncvs.gnome.org/cvs/gnome;module=gconf;tag=gconf-dbus-2-6 \ | ||
14 | file://gconf-dbus-update.patch;patch=1;pnum=0 \ | ||
15 | file://69gconfd-dbus" | ||
16 | |||
17 | inherit pkgconfig autotools | ||
18 | S = "${WORKDIR}/gconf" | ||
19 | |||
20 | FILES_${PN} += " ${libdir}/GConf/2/*.so ${libdir}/dbus-1.0 ${sysconfdir} ${datadir}/dbus*" | ||
21 | |||
22 | EXTRA_OECONF = " --with-ipc=dbus --disable-gtk-doc --enable-gtk --host=${HOST_SYS} --enable-shared --disable-static" | ||
23 | |||
24 | HEADERS = "gconf.h gconf-changeset.h gconf-listeners.h gconf-schema.h gconf-value.h gconf-error.h gconf-engine.h gconf-client.h gconf-enum-types.h" | ||
25 | |||
26 | do_stage() { | ||
27 | oe_libinstall -so -C gconf libgconf-2 ${STAGING_LIBDIR} | ||
28 | install -d ${STAGING_INCDIR}/gconf/2/gconf/ | ||
29 | ( cd gconf; for i in ${HEADERS}; do install -m 0644 $i ${STAGING_INCDIR}/gconf/2/gconf/$i; done ) | ||
30 | install -m 0644 gconf.m4 ${STAGING_DATADIR}/aclocal/gconf-2.m4 | ||
31 | } | ||
32 | |||
33 | do_install_append () { | ||
34 | install -d ${D}/${sysconfdir}/X11/Xsession.d | ||
35 | install -m 755 ${WORKDIR}/69gconfd-dbus ${D}/${sysconfdir}/X11/Xsession.d/ | ||
36 | install -d ${D}/${datadir}/dbus-1.0/services/ | ||
37 | install -m 644 gconf/gconf.service ${D}${datadir}/dbus-1.0/services/ | ||
38 | } | ||
diff --git a/meta/packages/gnome/gconf-dbus_svn.bb b/meta/packages/gnome/gconf-dbus_svn.bb new file mode 100644 index 0000000000..1aba51c56c --- /dev/null +++ b/meta/packages/gnome/gconf-dbus_svn.bb | |||
@@ -0,0 +1,49 @@ | |||
1 | SECTION = "x11/utils" | ||
2 | DEPENDS = "gtk+ glib-2.0 dbus libxml2 popt" | ||
3 | DESCRIPTION = "Settings daemon using DBUS for communication." | ||
4 | LICENSE = "GPL" | ||
5 | MAINTAINER = "Florian Boor <florian@kernelconcepts.de>" | ||
6 | PROVIDES = "gconf" | ||
7 | RPROVIDES_${PN} = "gconf" | ||
8 | RPROVIDES_${PN}-dev = "gconf-dev" | ||
9 | |||
10 | PV = "2.10.0+svn${SRCDATE}" | ||
11 | PR = "r2" | ||
12 | |||
13 | SRC_URI = "svn://developer.imendio.com/svn/gconf-dbus;module=trunk;proto=http \ | ||
14 | file://gconf-dbus-update.patch;patch=1;pnum=0 \ | ||
15 | file://xml-backend-locks-compile-fix.patch;patch=1 \ | ||
16 | file://no-deprecation.patch;patch=1 \ | ||
17 | file://remove-old-translations.patch;patch=1 \ | ||
18 | file://xml-backend-oldxml-Makefile.patch \ | ||
19 | file://69gconfd-dbus" | ||
20 | |||
21 | inherit pkgconfig autotools | ||
22 | S = "${WORKDIR}/trunk" | ||
23 | |||
24 | PARALLEL_MAKE = "" | ||
25 | |||
26 | FILES_${PN} += " ${libdir}/GConf/2/*.so ${libdir}/dbus-1.0 ${sysconfdir} ${datadir}/dbus*" | ||
27 | |||
28 | EXTRA_OECONF = " --with-ipc=dbus --disable-gtk-doc --enable-gtk --host=${HOST_SYS} --enable-shared --disable-static" | ||
29 | |||
30 | HEADERS = "gconf.h gconf-changeset.h gconf-listeners.h gconf-schema.h gconf-value.h gconf-error.h gconf-engine.h gconf-client.h gconf-enum-types.h" | ||
31 | |||
32 | do_compile_prepend() { | ||
33 | cd ${S} | ||
34 | patch -p1 < ../xml-backend-oldxml-Makefile.patch | ||
35 | } | ||
36 | |||
37 | do_stage() { | ||
38 | oe_libinstall -so -C gconf libgconf-2 ${STAGING_LIBDIR} | ||
39 | install -d ${STAGING_INCDIR}/gconf/2/gconf/ | ||
40 | ( cd gconf; for i in ${HEADERS}; do install -m 0644 $i ${STAGING_INCDIR}/gconf/2/gconf/$i; done ) | ||
41 | install -m 0644 gconf.m4 ${STAGING_DATADIR}/aclocal/gconf-2.m4 | ||
42 | } | ||
43 | |||
44 | do_install_append () { | ||
45 | install -d ${D}/${sysconfdir}/X11/Xsession.d | ||
46 | install -m 755 ${WORKDIR}/69gconfd-dbus ${D}/${sysconfdir}/X11/Xsession.d/ | ||
47 | install -d ${D}/${datadir}/dbus-1.0/services/ | ||
48 | install -m 644 gconf/gconf.service ${D}${datadir}/dbus-1.0/services/ | ||
49 | } | ||
diff --git a/meta/packages/gnome/gconf_2.6.1.bb b/meta/packages/gnome/gconf_2.6.1.bb new file mode 100644 index 0000000000..7a2ef334e4 --- /dev/null +++ b/meta/packages/gnome/gconf_2.6.1.bb | |||
@@ -0,0 +1,33 @@ | |||
1 | LICENSE = "LGPL" | ||
2 | SECTION = "x11/gnome" | ||
3 | DESCRIPTION = "GNOME configuration database system" | ||
4 | SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/GConf/2.6/GConf-${PV}.tar.bz2 \ | ||
5 | file://backends.patch;patch=1" | ||
6 | DEPENDS = "orbit2 glib-2.0 libxml2 gtk+" | ||
7 | ORBIT_IDL_SRC = "${STAGING_BINDIR}/orbit-idl-2" | ||
8 | |||
9 | FILES_${PN} += " ${libdir}/GConf/*" | ||
10 | PR = "r1" | ||
11 | |||
12 | S = "${WORKDIR}/GConf-${PV}" | ||
13 | |||
14 | EXTRA_OECONF = "--disable-gtk-doc --enable-gtk" | ||
15 | |||
16 | inherit autotools pkgconfig gettext | ||
17 | |||
18 | HEADERS = "gconf.h gconf-changeset.h gconf-listeners.h gconf-schema.h gconf-value.h gconf-error.h gconf-engine.h gconf-client.h gconf-enum-types.h" | ||
19 | |||
20 | do_compile() { | ||
21 | oe_runmake ORBIT_IDL="${ORBIT_IDL_SRC}" | ||
22 | } | ||
23 | |||
24 | do_stage() { | ||
25 | oe_libinstall -so -C gconf libgconf-2 ${STAGING_LIBDIR} | ||
26 | install -d ${STAGING_INCDIR}/gconf/2/gconf/ | ||
27 | ( cd gconf; for i in ${HEADERS}; do install -m 0644 $i ${STAGING_INCDIR}/gconf/$i; done ) | ||
28 | install -m 0644 gconf.m4 ${STAGING_DATADIR}/aclocal/gconf-2.m4 | ||
29 | } | ||
30 | |||
31 | do_install() { | ||
32 | oe_runmake ORBIT_IDL="${ORBIT_IDL_SRC}" DESTDIR="${D}" install | ||
33 | } | ||
diff --git a/meta/packages/gnome/gnome-common/omf.patch b/meta/packages/gnome/gnome-common/omf.patch new file mode 100644 index 0000000000..334425e4b2 --- /dev/null +++ b/meta/packages/gnome/gnome-common/omf.patch | |||
@@ -0,0 +1,13 @@ | |||
1 | --- gnome-common-2.4.0/doc-build/omf.make 2003-05-24 08:16:25.000000000 -0700 | ||
2 | +++ gnome-common-2.4.0.new/doc-build/omf.make 2004-11-15 14:01:12.185155192 -0700 | ||
3 | @@ -43,7 +43,9 @@ | ||
4 | install-data-hook-omf: | ||
5 | $(mkinstalldirs) $(DESTDIR)$(omf_dest_dir) | ||
6 | for file in $(omffile); do \ | ||
7 | - $(INSTALL_DATA) $$file.out $(DESTDIR)$(omf_dest_dir)/$$file; \ | ||
8 | + if [ -f $$file.out ]; then \ | ||
9 | + $(INSTALL_DATA) $$file.out $(DESTDIR)$(omf_dest_dir)/$$file; \ | ||
10 | + fi; \ | ||
11 | done | ||
12 | -scrollkeeper-update -p $(scrollkeeper_localstate_dir) -o $(DESTDIR)$(omf_dest_dir) | ||
13 | |||
diff --git a/meta/packages/gnome/gnome-common_2.4.0.bb b/meta/packages/gnome/gnome-common_2.4.0.bb new file mode 100644 index 0000000000..2991db81c7 --- /dev/null +++ b/meta/packages/gnome/gnome-common_2.4.0.bb | |||
@@ -0,0 +1,28 @@ | |||
1 | LICENSE = "GPL" | ||
2 | SECTION = "x11/gnome" | ||
3 | PR = "r0" | ||
4 | DESCRIPTION = "Common macros for building GNOME applications" | ||
5 | inherit gnome | ||
6 | |||
7 | # The omf.make file failed if scrollkeeper doesn't happen to be | ||
8 | # installed | ||
9 | |||
10 | SRC_URI += "file://omf.patch;patch=1" | ||
11 | |||
12 | EXTRA_AUTORECONF = "" | ||
13 | DEPENDS = "" | ||
14 | |||
15 | FILES_${PN} += "${datadir}/aclocal" | ||
16 | FILES_${PN}-dev = "" | ||
17 | |||
18 | do_stage () { | ||
19 | rm -rf ${STAGE_TEMP} | ||
20 | mkdir -p ${STAGE_TEMP} | ||
21 | make DESTDIR="${STAGE_TEMP}" install | ||
22 | cp -pPR ${STAGE_TEMP}${bindir}/* ${STAGING_DIR}/${BUILD_SYS}/bin | ||
23 | install -d ${STAGING_DATADIR}/gnome-common | ||
24 | install -d ${STAGING_DATADIR}/aclocal | ||
25 | cp -pPR ${STAGE_TEMP}${datadir}/gnome-common/* ${STAGING_DATADIR}/gnome-common | ||
26 | cp -pPR ${STAGE_TEMP}${datadir}/aclocal/* ${STAGING_DATADIR}/aclocal | ||
27 | rm -rf ${STAGE_TEMP} | ||
28 | } | ||
diff --git a/meta/packages/gnome/gnome-mime-data_2.4.2.bb b/meta/packages/gnome/gnome-mime-data_2.4.2.bb new file mode 100644 index 0000000000..c71f21c9d8 --- /dev/null +++ b/meta/packages/gnome/gnome-mime-data_2.4.2.bb | |||
@@ -0,0 +1,7 @@ | |||
1 | LICENSE = "GPL" | ||
2 | inherit gnome | ||
3 | |||
4 | DEPENDS += "shared-mime-info intltool-native" | ||
5 | RDEPENDS = "shared-mime-info" | ||
6 | |||
7 | PR = "r2" | ||
diff --git a/meta/packages/gnome/gnome-vfs-dbus/gconftool-lossage.patch b/meta/packages/gnome/gnome-vfs-dbus/gconftool-lossage.patch new file mode 100644 index 0000000000..3dbc130ddc --- /dev/null +++ b/meta/packages/gnome/gnome-vfs-dbus/gconftool-lossage.patch | |||
@@ -0,0 +1,11 @@ | |||
1 | --- gnome-vfs-2.6.0/configure.in~ 2004-03-22 12:36:23.000000000 +0000 | ||
2 | +++ gnome-vfs-2.6.0/configure.in 2004-06-07 16:04:34.000000000 +0100 | ||
3 | @@ -154,7 +154,7 @@ | ||
4 | AC_PATH_PROG(GCONFTOOL, gconftool-2, no) | ||
5 | |||
6 | if test x"$GCONFTOOL" = xno; then | ||
7 | - AC_MSG_ERROR([gconftool-2 executable not found in your path - should be installed with GConf]) | ||
8 | + AC_MSG_WARN([gconftool-2 executable not found in your path - should be installed with GConf]) | ||
9 | fi | ||
10 | |||
11 | AM_GCONF_SOURCE_2 | ||
diff --git a/meta/packages/gnome/gnome-vfs-dbus/gssapi.patch b/meta/packages/gnome/gnome-vfs-dbus/gssapi.patch new file mode 100644 index 0000000000..bcf46176b2 --- /dev/null +++ b/meta/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/meta/packages/gnome/gnome-vfs-dbus/no-gtk-doc.patch b/meta/packages/gnome/gnome-vfs-dbus/no-gtk-doc.patch new file mode 100644 index 0000000000..331889b639 --- /dev/null +++ b/meta/packages/gnome/gnome-vfs-dbus/no-gtk-doc.patch | |||
@@ -0,0 +1,24 @@ | |||
1 | diff -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; \ | ||
13 | diff -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/meta/packages/gnome/gnome-vfs-dbus/remove-old-translations.patch b/meta/packages/gnome/gnome-vfs-dbus/remove-old-translations.patch new file mode 100644 index 0000000000..a5a13f73c3 --- /dev/null +++ b/meta/packages/gnome/gnome-vfs-dbus/remove-old-translations.patch | |||
@@ -0,0 +1,11 @@ | |||
1 | --- trunk/configure.in.old 2006-06-21 14:15:24.000000000 +0100 | ||
2 | +++ trunk/configure.in 2006-06-21 14:19:35.000000000 +0100 | ||
3 | @@ -127,7 +127,7 @@ | ||
4 | AC_SUBST(GETTEXT_PACKAGE) | ||
5 | AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Name of the gettext package]) | ||
6 | |||
7 | -ALL_LINGUAS="af am ar az be bg bn bs ca cs cy da de el en_CA en_GB eo es et eu fa fi fr ga gl gu he hi hr hu id is it ja ko li lt lv mk ml mn mr ms nb ne nl nn no nso pa pl pt pt_BR ro ru rw sk sl sq sr sr@ije sr@Latn sv ta th tr uk vi wa xh yi zh_CN zh_TW zu" | ||
8 | +ALL_LINGUAS="af am az bg bn bs ca cs cy da de el en_CA en_GB eo es et eu fa fi fr ga gl gu he hi hr hu id is it ja ko li lt lv mk ml mn mr ms nb ne nl nn no nso pa pl pt pt_BR ro ru rw sk sl sq sr sr@ije sr@Latn sv ta th tr uk vi wa xh yi zh_CN zh_TW zu" | ||
9 | AM_GLIB_GNU_GETTEXT | ||
10 | |||
11 | |||
diff --git a/meta/packages/gnome/gnome-vfs-dbus_2.8.4.4.bb b/meta/packages/gnome/gnome-vfs-dbus_2.8.4.4.bb new file mode 100644 index 0000000000..8133be73e0 --- /dev/null +++ b/meta/packages/gnome/gnome-vfs-dbus_2.8.4.4.bb | |||
@@ -0,0 +1,91 @@ | |||
1 | LICENSE = "GPL" | ||
2 | SECTION = "x11/gnome" | ||
3 | PR = "r1" | ||
4 | PROVIDES = "gnome-vfs" | ||
5 | RPROVIDES = "gnome-vfs" | ||
6 | |||
7 | inherit gnome pkgconfig | ||
8 | |||
9 | DEPENDS = "libxml2 gconf-dbus dbus bzip2 gnome-mime-data zlib" | ||
10 | RRECOMMENDS = "gnome-vfs-plugin-file shared-mime-info" | ||
11 | |||
12 | |||
13 | SRC_URI = "http://ftp.imendio.com/pub/extra/${PN}/${PN}-${PV}.tar.gz \ | ||
14 | file://gssapi.patch;patch=1;pnum=1 \ | ||
15 | file://gconftool-lossage.patch;patch=1;pnum=1" | ||
16 | |||
17 | EXTRA_OECONF = "--with-ipc=dbus" | ||
18 | |||
19 | FILES_${PN} += " ${libdir}/vfs" | ||
20 | FILES_${PN}-dev += " ${libdir}/gnome-vfs-2.0/modules/*.a ${libdir}/gnome-vfs-2.0/modules/*.la ${libdir}/gnome-vfs-2.0/include" | ||
21 | FILES_${PN}-doc += " ${datadir}/gtk-doc" | ||
22 | |||
23 | GNOME_VFS_HEADERS = " \ | ||
24 | gnome-vfs-utils.h \ | ||
25 | gnome-vfs-application-registry.h \ | ||
26 | gnome-vfs-async-ops.h \ | ||
27 | gnome-vfs-ops.h \ | ||
28 | gnome-vfs-uri.h \ | ||
29 | gnome-vfs-standard-callbacks.h \ | ||
30 | gnome-vfs-module-callback.h \ | ||
31 | gnome-vfs-context.h \ | ||
32 | gnome-vfs-file-info.h \ | ||
33 | gnome-vfs-directory.h \ | ||
34 | gnome-vfs-mime-monitor.h \ | ||
35 | gnome-vfs-mime-handlers.h \ | ||
36 | gnome-vfs-result.h \ | ||
37 | gnome-vfs-job-limit.h \ | ||
38 | gnome-vfs-file-size.h \ | ||
39 | gnome-vfs-mime-utils.h \ | ||
40 | gnome-vfs-find-directory.h \ | ||
41 | gnome-vfs-init.h \ | ||
42 | gnome-vfs-handle.h \ | ||
43 | gnome-vfs.h \ | ||
44 | gnome-vfs-cancellation.h \ | ||
45 | gnome-vfs-xfer.h \ | ||
46 | gnome-vfs-monitor.h \ | ||
47 | gnome-vfs-types.h \ | ||
48 | gnome-vfs-volume-monitor.h \ | ||
49 | gnome-vfs-drive.h \ | ||
50 | gnome-vfs-volume.h \ | ||
51 | gnome-vfs-enum-types.h \ | ||
52 | gnome-vfs-address.h \ | ||
53 | gnome-vfs-dns-sd.h \ | ||
54 | gnome-vfs-mime-info-cache.h \ | ||
55 | gnome-vfs-resolve.h" | ||
56 | |||
57 | GNOME_VFS_MODULE_HEADERS = " \ | ||
58 | gnome-vfs-mime-info.h \ | ||
59 | gnome-vfs-transform.h \ | ||
60 | gnome-vfs-ssl.h \ | ||
61 | gnome-vfs-inet-connection.h \ | ||
62 | gnome-vfs-socket.h \ | ||
63 | gnome-vfs-parse-ls.h \ | ||
64 | gnome-vfs-method.h \ | ||
65 | gnome-vfs-cancellable-ops.h \ | ||
66 | gnome-vfs-module.h \ | ||
67 | gnome-vfs-module-shared.h \ | ||
68 | gnome-vfs-module-callback-module-api.h \ | ||
69 | gnome-vfs-mime.h \ | ||
70 | gnome-vfs-socket-buffer.h" | ||
71 | |||
72 | do_stage() { | ||
73 | oe_libinstall -so -C libgnomevfs libgnomevfs-2 ${STAGING_LIBDIR} | ||
74 | install -d ${STAGING_INCDIR}/gnome-vfs-2.0/libgnomevfs | ||
75 | for i in ${GNOME_VFS_HEADERS}; do install -m 0644 libgnomevfs/$i ${STAGING_INCDIR}/gnome-vfs-2.0/libgnomevfs/; done | ||
76 | install -d ${STAGING_INCDIR}/gnome-vfs-module-2.0/libgnomevfs | ||
77 | for i in ${GNOME_VFS_MODULE_HEADERS}; do install -m 0644 libgnomevfs/$i ${STAGING_INCDIR}/gnome-vfs-module-2.0/libgnomevfs/; done | ||
78 | } | ||
79 | |||
80 | do_install() { | ||
81 | oe_runmake ORBIT_IDL="${ORBIT_IDL_SRC}" DESTDIR="${D}" install | ||
82 | } | ||
83 | |||
84 | PACKAGES_DYNAMIC = "gnome-vfs-plugin-*" | ||
85 | |||
86 | python populate_packages_prepend () { | ||
87 | print bb.data.getVar('FILES_gnome-vfs', d, 1) | ||
88 | |||
89 | plugindir = bb.data.expand('${libdir}/gnome-vfs-2.0/modules/', d) | ||
90 | do_split_packages(d, plugindir, '^lib(.*)\.so$', 'gnome-vfs-plugin-%s', 'GNOME VFS plugin for %s') | ||
91 | } | ||
diff --git a/meta/packages/gnome/gnome-vfs-dbus_cvs.bb b/meta/packages/gnome/gnome-vfs-dbus_cvs.bb new file mode 100755 index 0000000000..9ccd23e414 --- /dev/null +++ b/meta/packages/gnome/gnome-vfs-dbus_cvs.bb | |||
@@ -0,0 +1,102 @@ | |||
1 | SECTION = "x11/utils" | ||
2 | DEPENDS = "gtk+ glib-2.0 gconf dbus libxml2 zlib bzip2 gnome-mime-data" | ||
3 | DESCRIPTION = "Virtual file system library using DBUS for communication." | ||
4 | LICENSE = "GPLv2" | ||
5 | MAINTAINER = "Chris Lord <chris@openedhand.com>" | ||
6 | PROVIDES = "gnome-vfs" | ||
7 | RPROVIDES_${PN} = "gnome-vfs" | ||
8 | RPROVIDES_${PN}-dev = "gnome-vfs-dev" | ||
9 | RRECOMMENDS_${PN} = "gnome-vfs-plugin-file shared-mime-info" | ||
10 | |||
11 | PV = "2.12.0+cvs${SRCDATE}" | ||
12 | PR = "r6" | ||
13 | |||
14 | SRC_URI = "svn://anonymous@developer.imendio.com/svn/gnome-vfs-dbus;module=trunk;proto=http \ | ||
15 | file://no-gtk-doc.patch;patch=1 \ | ||
16 | file://gconftool-lossage.patch;patch=1 \ | ||
17 | file://gssapi.patch;patch=1 \ | ||
18 | file://remove-old-translations.patch;patch=1" | ||
19 | S = "${WORKDIR}/trunk" | ||
20 | |||
21 | inherit pkgconfig autotools | ||
22 | |||
23 | EXTRA_OECONF = "--with-ipc=dbus --disable-hal --disable-gtk-doc --disable-more-warnings --disable-howl" | ||
24 | |||
25 | FILES_${PN} += " ${libdir}/vfs ${datadir}/dbus-1/services/dbus-vfs-daemon.service" | ||
26 | FILES_${PN}-dev += " ${libdir}/gnome-vfs-2.0/modules/*.a ${libdir}/gnome-vfs-2.0/modules/*.la ${libdir}/gnome-vfs-2.0/include" | ||
27 | FILES_${PN}-doc += " ${datadir}/gtk-doc" | ||
28 | |||
29 | # These header lists have been copy-pasted from trunk/libgnomevfs/Makefile.am | ||
30 | GNOME_VFS_PLATFORM_HEADERS = " \ | ||
31 | gnome-vfs-file-size.h" | ||
32 | |||
33 | GNOME_VFS_MODULE_HEADERS = " \ | ||
34 | gnome-vfs-cancellable-ops.h \ | ||
35 | gnome-vfs-inet-connection.h \ | ||
36 | gnome-vfs-method.h \ | ||
37 | gnome-vfs-mime.h \ | ||
38 | gnome-vfs-mime-info.h \ | ||
39 | gnome-vfs-module-callback-module-api.h \ | ||
40 | gnome-vfs-module-shared.h \ | ||
41 | gnome-vfs-module.h \ | ||
42 | gnome-vfs-parse-ls.h \ | ||
43 | gnome-vfs-ssl.h \ | ||
44 | gnome-vfs-transform.h \ | ||
45 | gnome-vfs-socket-buffer.h \ | ||
46 | gnome-vfs-socket.h" | ||
47 | |||
48 | GNOME_VFS_HEADERS = " \ | ||
49 | gnome-vfs-application-registry.h \ | ||
50 | gnome-vfs-address.h \ | ||
51 | gnome-vfs-async-ops.h \ | ||
52 | gnome-vfs-cancellation.h \ | ||
53 | gnome-vfs-context.h \ | ||
54 | gnome-vfs-directory.h \ | ||
55 | gnome-vfs-dns-sd.h \ | ||
56 | gnome-vfs-drive.h \ | ||
57 | gnome-vfs-enum-types.h \ | ||
58 | gnome-vfs-file-info.h \ | ||
59 | gnome-vfs-file-size.h \ | ||
60 | gnome-vfs-find-directory.h \ | ||
61 | gnome-vfs-handle.h \ | ||
62 | gnome-vfs-init.h \ | ||
63 | gnome-vfs-job-limit.h \ | ||
64 | gnome-vfs-mime-deprecated.h \ | ||
65 | gnome-vfs-mime-handlers.h \ | ||
66 | gnome-vfs-mime-info-cache.h \ | ||
67 | gnome-vfs-mime-monitor.h \ | ||
68 | gnome-vfs-mime-utils.h \ | ||
69 | gnome-vfs-module-callback.h \ | ||
70 | gnome-vfs-monitor.h \ | ||
71 | gnome-vfs-ops.h \ | ||
72 | gnome-vfs-resolve.h \ | ||
73 | gnome-vfs-result.h \ | ||
74 | gnome-vfs-standard-callbacks.h \ | ||
75 | gnome-vfs-types.h \ | ||
76 | gnome-vfs-uri.h \ | ||
77 | gnome-vfs-utils.h \ | ||
78 | gnome-vfs-volume-monitor.h \ | ||
79 | gnome-vfs-volume.h \ | ||
80 | gnome-vfs-xfer.h \ | ||
81 | gnome-vfs.h" | ||
82 | |||
83 | do_stage() { | ||
84 | oe_libinstall -so -C libgnomevfs libgnomevfs-2 ${STAGING_LIBDIR} | ||
85 | install -d ${STAGING_INCDIR}/gnome-vfs-2.0/libgnomevfs | ||
86 | for i in ${GNOME_VFS_HEADERS}; do install -m 0644 libgnomevfs/$i ${STAGING_INCDIR}/gnome-vfs-2.0/libgnomevfs/; done | ||
87 | install -d ${STAGING_INCDIR}/gnome-vfs-module-2.0/libgnomevfs | ||
88 | for i in ${GNOME_VFS_MODULE_HEADERS}; do install -m 0644 libgnomevfs/$i ${STAGING_INCDIR}/gnome-vfs-module-2.0/libgnomevfs/; done | ||
89 | install -d ${STAGING_INCDIR}/include/libgnomevfs | ||
90 | for i in ${GNOME_VFS_PLATFORM_HEADERS}; do install -m 0644 libgnomevfs/$i ${STAGING_INCDIR}/include/libgnomevfs/; done | ||
91 | } | ||
92 | |||
93 | PACKAGES_DYNAMIC = "gnome-vfs-plugin-*" | ||
94 | |||
95 | python populate_packages_prepend () { | ||
96 | print bb.data.getVar('FILES_gnome-vfs', d, 1) | ||
97 | |||
98 | plugindir = bb.data.expand('${libdir}/gnome-vfs-2.0/modules/', d) | ||
99 | do_split_packages(d, plugindir, '^lib(.*)\.so$', 'gnome-vfs-plugin-%s', | ||
100 | 'GNOME VFS plugin for %s') | ||
101 | } | ||
102 | |||
diff --git a/meta/packages/gnome/libart-lgpl/Makefile.am.patch b/meta/packages/gnome/libart-lgpl/Makefile.am.patch new file mode 100644 index 0000000000..749de32e2a --- /dev/null +++ b/meta/packages/gnome/libart-lgpl/Makefile.am.patch | |||
@@ -0,0 +1,13 @@ | |||
1 | --- libart_lgpl-2.3.16/Makefile.am.old 2004-06-26 18:57:07.000000000 +0100 | ||
2 | +++ libart_lgpl-2.3.16/Makefile.am 2004-06-26 18:57:12.000000000 +0100 | ||
3 | @@ -5,8 +5,8 @@ | ||
4 | |||
5 | BUILT_SOURCES = art_config.h | ||
6 | |||
7 | -art_config.h: gen_art_config | ||
8 | - ./gen_art_config > art_config.h | ||
9 | +#art_config.h: gen_art_config | ||
10 | +# ./gen_art_config > art_config.h | ||
11 | |||
12 | EXTRA_DIST = \ | ||
13 | libart-config.in \ | ||
diff --git a/meta/packages/gnome/libart-lgpl/arm/art_config.h b/meta/packages/gnome/libart-lgpl/arm/art_config.h new file mode 100644 index 0000000000..b0e74ad6ae --- /dev/null +++ b/meta/packages/gnome/libart-lgpl/arm/art_config.h | |||
@@ -0,0 +1,10 @@ | |||
1 | /* Automatically generated by gen_art_config.c */ | ||
2 | |||
3 | #define ART_SIZEOF_CHAR 1 | ||
4 | #define ART_SIZEOF_SHORT 2 | ||
5 | #define ART_SIZEOF_INT 4 | ||
6 | #define ART_SIZEOF_LONG 4 | ||
7 | |||
8 | typedef unsigned char art_u8; | ||
9 | typedef unsigned short art_u16; | ||
10 | typedef unsigned int art_u32; | ||
diff --git a/meta/packages/gnome/libart-lgpl/i386/art_config.h b/meta/packages/gnome/libart-lgpl/i386/art_config.h new file mode 100644 index 0000000000..b0e74ad6ae --- /dev/null +++ b/meta/packages/gnome/libart-lgpl/i386/art_config.h | |||
@@ -0,0 +1,10 @@ | |||
1 | /* Automatically generated by gen_art_config.c */ | ||
2 | |||
3 | #define ART_SIZEOF_CHAR 1 | ||
4 | #define ART_SIZEOF_SHORT 2 | ||
5 | #define ART_SIZEOF_INT 4 | ||
6 | #define ART_SIZEOF_LONG 4 | ||
7 | |||
8 | typedef unsigned char art_u8; | ||
9 | typedef unsigned short art_u16; | ||
10 | typedef unsigned int art_u32; | ||
diff --git a/meta/packages/gnome/libart-lgpl/i586/art_config.h b/meta/packages/gnome/libart-lgpl/i586/art_config.h new file mode 100644 index 0000000000..b0e74ad6ae --- /dev/null +++ b/meta/packages/gnome/libart-lgpl/i586/art_config.h | |||
@@ -0,0 +1,10 @@ | |||
1 | /* Automatically generated by gen_art_config.c */ | ||
2 | |||
3 | #define ART_SIZEOF_CHAR 1 | ||
4 | #define ART_SIZEOF_SHORT 2 | ||
5 | #define ART_SIZEOF_INT 4 | ||
6 | #define ART_SIZEOF_LONG 4 | ||
7 | |||
8 | typedef unsigned char art_u8; | ||
9 | typedef unsigned short art_u16; | ||
10 | typedef unsigned int art_u32; | ||
diff --git a/meta/packages/gnome/libart-lgpl/i686/art_config.h b/meta/packages/gnome/libart-lgpl/i686/art_config.h new file mode 100644 index 0000000000..b0e74ad6ae --- /dev/null +++ b/meta/packages/gnome/libart-lgpl/i686/art_config.h | |||
@@ -0,0 +1,10 @@ | |||
1 | /* Automatically generated by gen_art_config.c */ | ||
2 | |||
3 | #define ART_SIZEOF_CHAR 1 | ||
4 | #define ART_SIZEOF_SHORT 2 | ||
5 | #define ART_SIZEOF_INT 4 | ||
6 | #define ART_SIZEOF_LONG 4 | ||
7 | |||
8 | typedef unsigned char art_u8; | ||
9 | typedef unsigned short art_u16; | ||
10 | typedef unsigned int art_u32; | ||
diff --git a/meta/packages/gnome/libart-lgpl_2.3.16.bb b/meta/packages/gnome/libart-lgpl_2.3.16.bb new file mode 100644 index 0000000000..8028c8ef3f --- /dev/null +++ b/meta/packages/gnome/libart-lgpl_2.3.16.bb | |||
@@ -0,0 +1,30 @@ | |||
1 | DESCRIPTION = "Library of functions for 2D graphics" | ||
2 | SECTION = "x11/gnome" | ||
3 | LICENSE = "LGPL" | ||
4 | PR = "r2" | ||
5 | ART_CONFIG = "${HOST_ARCH}/art_config.h" | ||
6 | |||
7 | # can't use gnome.oeclass due to _ in filename | ||
8 | SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/libart_lgpl/2.3/libart_lgpl-${PV}.tar.bz2 \ | ||
9 | file://${ART_CONFIG} \ | ||
10 | file://Makefile.am.patch;patch=1" | ||
11 | |||
12 | inherit autotools pkgconfig | ||
13 | |||
14 | DEPENDS = "" | ||
15 | |||
16 | FILES_${PN} = "${libdir}/*.so.*" | ||
17 | FILES_${PN}-dev += "${bindir}/libart2-config" | ||
18 | |||
19 | S = "${WORKDIR}/libart_lgpl-${PV}" | ||
20 | |||
21 | do_configure_prepend() { | ||
22 | cp ${WORKDIR}/${ART_CONFIG} ${S}/art_config.h | ||
23 | } | ||
24 | |||
25 | EXTRA_OECONF = "--disable-gtk-doc" | ||
26 | |||
27 | do_stage() { | ||
28 | autotools_stage_includes | ||
29 | oe_libinstall -a -so libart_lgpl_2 ${STAGING_LIBDIR} | ||
30 | } | ||
diff --git a/meta/packages/gnome/libgnomecanvas_2.6.1.1.bb b/meta/packages/gnome/libgnomecanvas_2.6.1.1.bb new file mode 100644 index 0000000000..5c716855e7 --- /dev/null +++ b/meta/packages/gnome/libgnomecanvas_2.6.1.1.bb | |||
@@ -0,0 +1,16 @@ | |||
1 | LICENSE = "GPL" | ||
2 | SECTION = "x11/gnome/libs" | ||
3 | PR = "r1" | ||
4 | DESCRIPTION = "A powerful object-oriented display" | ||
5 | inherit gnome | ||
6 | |||
7 | DEPENDS = "libglade libart-lgpl" | ||
8 | |||
9 | EXTRA_OECONF = "--disable-gtk-doc" | ||
10 | |||
11 | FILES_${PN} += "${libdir}/libglade/*/libcanvas.so" | ||
12 | |||
13 | do_stage() { | ||
14 | gnome_stage_includes | ||
15 | oe_libinstall -C libgnomecanvas -a -so libgnomecanvas-2 ${STAGING_LIBDIR} | ||
16 | } | ||
diff --git a/meta/packages/gnome/libsoup_2.2.7.bb b/meta/packages/gnome/libsoup_2.2.7.bb new file mode 100644 index 0000000000..e97a11cc96 --- /dev/null +++ b/meta/packages/gnome/libsoup_2.2.7.bb | |||
@@ -0,0 +1,18 @@ | |||
1 | LICENSE = "GPL" | ||
2 | DESCRIPTION = "An HTTP library implementation in C" | ||
3 | SECTION = "x11/gnome/libs" | ||
4 | SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/${PN}/2.2/${PN}-${PV}.tar.bz2" | ||
5 | DEPENDS = "glib-2.0 gnutls libxml2" | ||
6 | MAINTAINER = "Chris Lord <chris@openedhand.com>" | ||
7 | |||
8 | inherit autotools pkgconfig | ||
9 | |||
10 | FILES_${PN} = "${libdir}/lib*.so.*" | ||
11 | FILES_${PN}-dev = "${includedir} ${libdir}" | ||
12 | FILES_${PN}-doc = "${datadir}" | ||
13 | |||
14 | do_stage() { | ||
15 | autotools_stage_all | ||
16 | install -d ${STAGING_DATADIR}/pkgconfig | ||
17 | install -m 0644 ${D}${libdir}/pkgconfig/* ${STAGING_DATADIR}/pkgconfig/ | ||
18 | } | ||
diff --git a/meta/packages/gnome/orbit2-2.10.2/configure-lossage.patch b/meta/packages/gnome/orbit2-2.10.2/configure-lossage.patch new file mode 100644 index 0000000000..7485a0ce0c --- /dev/null +++ b/meta/packages/gnome/orbit2-2.10.2/configure-lossage.patch | |||
@@ -0,0 +1,35 @@ | |||
1 | --- orbit/configure.in~ 2004-05-07 09:31:32.000000000 +0100 | ||
2 | +++ orbit/configure.in 2004-05-08 19:27:35.000000000 +0100 | ||
3 | @@ -193,19 +193,19 @@ | ||
4 | dnl So many people with broken linking setups asked about this | ||
5 | dnl it turned out to be necessary to check for this. | ||
6 | dnl | ||
7 | -dofus_save_libs="$LIBS" | ||
8 | -LIBS="$ORBIT_LIBS $LIBS" | ||
9 | -AC_TRY_RUN([ #include <stdio.h> | ||
10 | - main () | ||
11 | - { | ||
12 | - return 0; | ||
13 | - } ],, | ||
14 | - AC_MSG_ERROR([ | ||
15 | -Linking is badly borked on your system. Please ensure your library path is correct | ||
16 | -Check config.log for details - check near the end of the log above 'failed program was' | ||
17 | -Alternatively ensure that your /etc/ld.so.conf (and/or LD_LIBRARY_PATH) includes the | ||
18 | -prefix you're compiling on: '${prefix}' ])) | ||
19 | -LIBS="$dofus_save_libs" | ||
20 | +dnl dofus_save_libs="$LIBS" | ||
21 | +dnl LIBS="$ORBIT_LIBS $LIBS" | ||
22 | +dnl AC_TRY_RUN([ #include <stdio.h> | ||
23 | +dnl main () | ||
24 | +dnl { | ||
25 | +dnl return 0; | ||
26 | +dnl } ],, | ||
27 | +dnl AC_MSG_ERROR([ | ||
28 | +dnl Linking is badly borked on your system. Please ensure your library path is correct | ||
29 | +dnl Check config.log for details - check near the end of the log above 'failed program was' | ||
30 | +dnl Alternatively ensure that your /etc/ld.so.conf (and/or LD_LIBRARY_PATH) includes the | ||
31 | +dnl prefix you're compiling on: '${prefix}' ])) | ||
32 | +dnl LIBS="$dofus_save_libs" | ||
33 | |||
34 | orig_CPPFLAGS=$CPPFLAGS | ||
35 | CPPFLAGS="$CPPFLAGS $ORBIT_CFLAGS" | ||
diff --git a/meta/packages/gnome/orbit2-native_2.10.2.bb b/meta/packages/gnome/orbit2-native_2.10.2.bb new file mode 100644 index 0000000000..69fb3ded32 --- /dev/null +++ b/meta/packages/gnome/orbit2-native_2.10.2.bb | |||
@@ -0,0 +1,21 @@ | |||
1 | DESCRIPTION = "CORBA ORB" | ||
2 | LICENSE = "LGPL GPL" | ||
3 | SECTION = "x11/gnome/libs" | ||
4 | SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/ORBit2/2.10/ORBit2-${PV}.tar.bz2 \ | ||
5 | file://configure-lossage.patch;patch=1;pnum=1 \ | ||
6 | file://gtk-doc.m4 \ | ||
7 | file://gtk-doc.make" | ||
8 | DEPENDS = "libidl-native popt-native gtk-doc" | ||
9 | |||
10 | S = "${WORKDIR}/ORBit2-${PV}" | ||
11 | FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/orbit2-${PV}" | ||
12 | |||
13 | inherit autotools native pkgconfig | ||
14 | |||
15 | EXTRA_OECONF = "--disable-gtk-doc" | ||
16 | |||
17 | do_configure_prepend() { | ||
18 | mkdir -p m4 | ||
19 | install ${WORKDIR}/gtk-doc.m4 ./m4/ | ||
20 | install ${WORKDIR}/gtk-doc.make ./ | ||
21 | } | ||
diff --git a/meta/packages/gnome/orbit2_2.10.2.bb b/meta/packages/gnome/orbit2_2.10.2.bb new file mode 100644 index 0000000000..83d6f0ec15 --- /dev/null +++ b/meta/packages/gnome/orbit2_2.10.2.bb | |||
@@ -0,0 +1,46 @@ | |||
1 | LICENSE = "GPL" | ||
2 | PR = "r2" | ||
3 | DESCRIPTION = "CORBA ORB" | ||
4 | SECTION = "x11/gnome/libs" | ||
5 | SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/ORBit2/2.10/ORBit2-${PV}.tar.bz2 \ | ||
6 | file://configure-lossage.patch;patch=1;pnum=1 \ | ||
7 | file://gtk-doc.m4 \ | ||
8 | file://gtk-doc.make" | ||
9 | DEPENDS = "libidl popt orbit2-native gtk-doc" | ||
10 | |||
11 | FILES_${PN} += "${libdir}/orbit-2.0/*.so" | ||
12 | |||
13 | S = "${WORKDIR}/ORBit2-${PV}" | ||
14 | |||
15 | inherit autotools pkgconfig | ||
16 | |||
17 | EXTRA_OECONF = "--disable-gtk-doc" | ||
18 | EXTRA_OEMAKE = "IDL_COMPILER='${STAGING_BINDIR}/orbit-idl-2'" | ||
19 | |||
20 | do_configure_prepend() { | ||
21 | mkdir -p m4 | ||
22 | install ${WORKDIR}/gtk-doc.m4 ./m4/ | ||
23 | install ${WORKDIR}/gtk-doc.make ./ | ||
24 | } | ||
25 | |||
26 | do_compile_append () { | ||
27 | sed 's:^orbit_idl=.*/:orbit_idl=${STAGING_BINDIR}/:' < ORBit-2.0.pc > ORBit-2.0.pc.new | ||
28 | mv ORBit-2.0.pc.new ORBit-2.0.pc | ||
29 | } | ||
30 | |||
31 | do_stage() { | ||
32 | oe_libinstall -so -C src/orb libORBit-2 ${STAGING_LIBDIR} | ||
33 | oe_libinstall -so -C src/services/name libORBitCosNaming-2 ${STAGING_LIBDIR} | ||
34 | oe_libinstall -so -C src/services/imodule libORBit-imodule-2 ${STAGING_LIBDIR} | ||
35 | install -m 0644 src/services/name/libname-server-2.a ${STAGING_LIBDIR}/ | ||
36 | |||
37 | for dir in orbit orbit/poa orbit/orb-core orbit/util orbit/dynamic; do | ||
38 | install -d ${STAGING_INCDIR}/orbit-2.0/$dir | ||
39 | ( cd include/$dir; for i in *.h; do install -m 0644 $i ${STAGING_INCDIR}/orbit-2.0/$dir/$i; done ) | ||
40 | done | ||
41 | |||
42 | install -d ${STAGING_INCDIR}/orbit-2.0/ORBitservices | ||
43 | install -m 0644 src/services/name/CosNaming.h ${STAGING_INCDIR}/orbit-2.0/ORBitservices/ | ||
44 | install -m 0644 src/services/name/CosNaming_impl.h ${STAGING_INCDIR}/orbit-2.0/ORBitservices/ | ||
45 | install -m 0644 src/services/imodule/orbit-imodule.h ${STAGING_INCDIR}/orbit-2.0/ORBitservices/ | ||
46 | } | ||