diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:11 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:57 +0100 |
commit | d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612 (patch) | |
tree | f36fe3008f36ff75cbdd31b630f8f13f1f205ebb /meta-extras/packages | |
parent | caab7fc509bf27706ff3248689f6afd04225cfda (diff) | |
download | poky-d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612.tar.gz |
packages: Separate out most of the remaining packages into recipes
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta-extras/packages')
34 files changed, 1618 insertions, 0 deletions
diff --git a/meta-extras/packages/clutter/clutter-helix.inc b/meta-extras/packages/clutter/clutter-helix.inc new file mode 100644 index 0000000000..6bbbb244d7 --- /dev/null +++ b/meta-extras/packages/clutter/clutter-helix.inc | |||
@@ -0,0 +1,15 @@ | |||
1 | DESCRIPTION = "Clutter Helix" | ||
2 | HOMEPAGE = "http://www.clutter-project.org/" | ||
3 | LICENSE = "LGPL" | ||
4 | |||
5 | DEPENDS = "helix-libs" | ||
6 | |||
7 | FILESPATH = "${FILE_DIRNAME}/clutter-helix" | ||
8 | |||
9 | COMPATIBLE_HOST = '(x86_64|i.86.*)-linux' | ||
10 | |||
11 | PACKAGES =+ "${PN}-examples" | ||
12 | FILES_${PN}-examples = "${bindir}/video-player ${bindir}/audio-player" | ||
13 | |||
14 | inherit autotools pkgconfig gtk-doc | ||
15 | |||
diff --git a/meta-extras/packages/clutter/clutter-helix_git.bb b/meta-extras/packages/clutter/clutter-helix_git.bb new file mode 100644 index 0000000000..1c272306bf --- /dev/null +++ b/meta-extras/packages/clutter/clutter-helix_git.bb | |||
@@ -0,0 +1,8 @@ | |||
1 | require clutter-helix.inc | ||
2 | |||
3 | PV = "0.8.0+git${SRCPV}" | ||
4 | PR = "r0" | ||
5 | |||
6 | SRC_URI = "git://git.clutter-project.org/clutter-helix.git;protocol=git" | ||
7 | |||
8 | S = "${WORKDIR}/git" | ||
diff --git a/meta-extras/packages/librds/librds_0.0.1.bb b/meta-extras/packages/librds/librds_0.0.1.bb new file mode 100644 index 0000000000..3c99ec1ba0 --- /dev/null +++ b/meta-extras/packages/librds/librds_0.0.1.bb | |||
@@ -0,0 +1,11 @@ | |||
1 | DESCRIPTION = "A software library for accessing RDS data" | ||
2 | HOMEPAGE = "http://rdsd.berlios.de/" | ||
3 | SECTION = "libs" | ||
4 | PROVIDES = "librds" | ||
5 | LICENSE = "GPLv2" | ||
6 | |||
7 | PR = "r1" | ||
8 | |||
9 | SRC_URI = "http://download.berlios.de/rdsd/librds-${PV}.tar.gz" | ||
10 | |||
11 | inherit autotools pkgconfig | ||
diff --git a/meta-extras/packages/mozilla/files/eabi-fix.patch b/meta-extras/packages/mozilla/files/eabi-fix.patch new file mode 100644 index 0000000000..fd3bb88683 --- /dev/null +++ b/meta-extras/packages/mozilla/files/eabi-fix.patch | |||
@@ -0,0 +1,66 @@ | |||
1 | http://lists.debian.org/debian-arm/2007/05/msg00039.html | ||
2 | |||
3 | From: Lennert Buytenhek <buytenh@wantstofly.org> | ||
4 | |||
5 | Hi, | ||
6 | |||
7 | The reason that building nss (i.e., firefox) would segfault on ARM EABI | ||
8 | systems is an assumption about the layout of the jmp_buf structure in | ||
9 | the nspr library (which nss depends on) that does hold on old-ABI but | ||
10 | no longer holds on EABI. The attached patch fixes this assumption, | ||
11 | and fixes the shlibsign segfault during the building of nss (it also | ||
12 | fixes a floating point byte order assumption.) | ||
13 | |||
14 | Looks sane? | ||
15 | |||
16 | It's of course a stupid idea to depend on a particular layout of the | ||
17 | jmp_buf structure in application programs, but oh well. People write | ||
18 | ugly buggy code, film at 11. | ||
19 | |||
20 | |||
21 | --- mozilla/nsprpub/pr/src/misc/prdtoa.c.orig 2007-05-06 02:39:00.000000000 +0200 | ||
22 | +++ mozilla/nsprpub/pr/src/misc/prdtoa.c 2007-05-06 02:39:22.000000000 +0200 | ||
23 | @@ -59,8 +59,8 @@ | ||
24 | /* FIXME: deal with freelist and p5s. */ | ||
25 | } | ||
26 | |||
27 | -#if defined(__arm) || defined(__arm__) || defined(__arm26__) \ | ||
28 | - || defined(__arm32__) | ||
29 | +#if (defined(__arm) || defined(__arm__) || defined(__arm26__) \ | ||
30 | + || defined(__arm32__)) && !defined(__ARM_EABI__) && !defined(__ARMEB__) | ||
31 | #define IEEE_ARM | ||
32 | #elif defined(IS_LITTLE_ENDIAN) | ||
33 | #define IEEE_8087 | ||
34 | --- mozilla/nsprpub/pr/include/md/_linux.h.orig 2007-05-06 02:39:45.000000000 +0200 | ||
35 | +++ mozilla/nsprpub/pr/include/md/_linux.h 2007-05-06 02:40:57.000000000 +0200 | ||
36 | @@ -346,7 +346,7 @@ | ||
37 | #error "Linux/MIPS pre-glibc2 not supported yet" | ||
38 | #endif /* defined(__GLIBC__) && __GLIBC__ >= 2 */ | ||
39 | |||
40 | -#elif defined(__arm__) | ||
41 | +#elif defined(__arm__) && !defined(__ARM_EABI__) | ||
42 | /* ARM/Linux */ | ||
43 | #if defined(__GLIBC__) && __GLIBC__ >= 2 | ||
44 | #define _MD_GET_SP(_t) (_t)->md.context[0].__jmpbuf[20] | ||
45 | @@ -358,6 +358,18 @@ | ||
46 | #error "ARM/Linux pre-glibc2 not supported yet" | ||
47 | #endif /* defined(__GLIBC__) && __GLIBC__ >= 2 */ | ||
48 | |||
49 | +#elif defined(__arm__) && defined(__ARM_EABI__) | ||
50 | +/* ARM/Linux */ | ||
51 | +#if defined(__GLIBC__) && __GLIBC__ >= 2 | ||
52 | +#define _MD_GET_SP(_t) (_t)->md.context[0].__jmpbuf[8] | ||
53 | +#define _MD_SET_FP(_t, val) ((_t)->md.context[0].__jmpbuf[7] = (val)) | ||
54 | +#define _MD_GET_SP_PTR(_t) &(_MD_GET_SP(_t)) | ||
55 | +#define _MD_GET_FP_PTR(_t) (&(_t)->md.context[0].__jmpbuf[7]) | ||
56 | +#define _MD_SP_TYPE __ptr_t | ||
57 | +#else | ||
58 | +#error "ARM/Linux pre-glibc2 not supported yet" | ||
59 | +#endif /* defined(__GLIBC__) && __GLIBC__ >= 2 */ | ||
60 | + | ||
61 | #else | ||
62 | |||
63 | #error "Unknown CPU architecture" | ||
64 | |||
65 | |||
66 | |||
diff --git a/meta-extras/packages/mozilla/files/eabi-fix2.patch b/meta-extras/packages/mozilla/files/eabi-fix2.patch new file mode 100644 index 0000000000..5f64e7f796 --- /dev/null +++ b/meta-extras/packages/mozilla/files/eabi-fix2.patch | |||
@@ -0,0 +1,56 @@ | |||
1 | https://bugzilla.mozilla.org/show_bug.cgi?id=369722 | ||
2 | |||
3 | Index: js/src/jsnum.h | ||
4 | =================================================================== | ||
5 | RCS file: /cvsroot/mozilla/js/src/jsnum.h,v | ||
6 | retrieving revision 3.27 | ||
7 | diff -p -u -8 -r3.27 jsnum.h | ||
8 | --- mozilla/js/src/jsnum.h 21 Dec 2006 01:00:32 -0000 3.27 | ||
9 | +++ mozilla/js/src/jsnum.h 8 Feb 2007 12:13:01 -0000 | ||
10 | @@ -52,23 +52,24 @@ JS_BEGIN_EXTERN_C | ||
11 | |||
12 | /* | ||
13 | * Stefan Hanske <sh990154@mail.uni-greifswald.de> reports: | ||
14 | * ARM is a little endian architecture but 64 bit double words are stored | ||
15 | * differently: the 32 bit words are in little endian byte order, the two words | ||
16 | * are stored in big endian`s way. | ||
17 | */ | ||
18 | |||
19 | -#if defined(__arm) || defined(__arm32__) || defined(__arm26__) || defined(__arm__) | ||
20 | -#define CPU_IS_ARM | ||
21 | +#if !defined(__ARM_EABI__) && \ | ||
22 | + (defined(__arm) || defined(__arm32__) || defined(__arm26__) || defined(__arm__)) | ||
23 | +#define IEEE_ARM | ||
24 | #endif | ||
25 | |||
26 | typedef union jsdpun { | ||
27 | struct { | ||
28 | -#if defined(IS_LITTLE_ENDIAN) && !defined(CPU_IS_ARM) | ||
29 | +#if defined(IS_LITTLE_ENDIAN) && !defined(IEEE_ARM) | ||
30 | uint32 lo, hi; | ||
31 | #else | ||
32 | uint32 hi, lo; | ||
33 | #endif | ||
34 | } s; | ||
35 | jsdouble d; | ||
36 | } jsdpun; | ||
37 | |||
38 | @@ -87,17 +88,17 @@ typedef union jsdpun { | ||
39 | |||
40 | #else /* not or old GNUC */ | ||
41 | |||
42 | /* | ||
43 | * We don't know of any non-gcc compilers that perform alias optimization, | ||
44 | * so this code should work. | ||
45 | */ | ||
46 | |||
47 | -#if defined(IS_LITTLE_ENDIAN) && !defined(CPU_IS_ARM) | ||
48 | +#if defined(IS_LITTLE_ENDIAN) && !defined(IEEE_ARM) | ||
49 | #define JSDOUBLE_HI32(x) (((uint32 *)&(x))[1]) | ||
50 | #define JSDOUBLE_LO32(x) (((uint32 *)&(x))[0]) | ||
51 | #else | ||
52 | #define JSDOUBLE_HI32(x) (((uint32 *)&(x))[0]) | ||
53 | #define JSDOUBLE_LO32(x) (((uint32 *)&(x))[1]) | ||
54 | #endif | ||
55 | |||
56 | #define JSDOUBLE_SET_HI32(x, y) (JSDOUBLE_HI32(x)=(y)) | ||
diff --git a/meta-extras/packages/mozilla/files/eabi-fix3.patch b/meta-extras/packages/mozilla/files/eabi-fix3.patch new file mode 100644 index 0000000000..8bf8c2f4da --- /dev/null +++ b/meta-extras/packages/mozilla/files/eabi-fix3.patch | |||
@@ -0,0 +1,15 @@ | |||
1 | From: Marcin Juszkiewicz <openembedded@hrw.one.pl> | ||
2 | |||
3 | Index: mozilla/extensions/transformiix/source/base/Double.cpp | ||
4 | =================================================================== | ||
5 | --- mozilla.orig/extensions/transformiix/source/base/Double.cpp 2007-05-09 11:21:34.000000000 +0200 | ||
6 | +++ mozilla/extensions/transformiix/source/base/Double.cpp 2007-05-09 11:23:59.000000000 +0200 | ||
7 | @@ -71,7 +71,7 @@ | ||
8 | * are stored in big endian`s way. | ||
9 | */ | ||
10 | |||
11 | -#if defined(__arm) || defined(__arm32__) || defined(_arm26__) || defined(__arm__) | ||
12 | +#if !defined(__ARM_EABI__) && defined(__arm) || defined(__arm32__) || defined(_arm26__) || defined(__arm__) | ||
13 | #define CPU_IS_ARM | ||
14 | #endif | ||
15 | |||
diff --git a/meta-extras/packages/mozilla/files/minimo.desktop b/meta-extras/packages/mozilla/files/minimo.desktop new file mode 100644 index 0000000000..5ef0f2075a --- /dev/null +++ b/meta-extras/packages/mozilla/files/minimo.desktop | |||
@@ -0,0 +1,9 @@ | |||
1 | [Desktop Entry] | ||
2 | Name=Minimo | ||
3 | Comment=Minimo web browser | ||
4 | Exec=minimo http://www.mozilla.org/projects/minimo/home.html | ||
5 | Terminal=0 | ||
6 | Type=Application | ||
7 | Icon=minimo.png | ||
8 | Categories=Application;Network; | ||
9 | StartupNotify=True | ||
diff --git a/meta-extras/packages/mozilla/files/minimo.png b/meta-extras/packages/mozilla/files/minimo.png new file mode 100644 index 0000000000..f8b2e2192b --- /dev/null +++ b/meta-extras/packages/mozilla/files/minimo.png | |||
Binary files differ | |||
diff --git a/meta-extras/packages/mozilla/minimo/bug-322806.diff b/meta-extras/packages/mozilla/minimo/bug-322806.diff new file mode 100644 index 0000000000..e001e3fc67 --- /dev/null +++ b/meta-extras/packages/mozilla/minimo/bug-322806.diff | |||
@@ -0,0 +1,13 @@ | |||
1 | See https://bugzilla.mozilla.org/show_bug.cgi?id=322806 and http://bugs.openembedded.org/show_bug.cgi?id=1600 | ||
2 | |||
3 | --- /tmp/xptcinvoke_arm.cpp 2006-12-10 20:02:57.000000000 +0100 | ||
4 | +++ mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_arm.cpp 2006-12-10 20:03:54.592227000 +0100 | ||
5 | @@ -212,7 +212,7 @@ | ||
6 | "add sp, sp, r4 \n\t" /* restore stack pointer */ | ||
7 | "mov %0, r0 \n\t" /* the result... */ | ||
8 | : "=r" (result) | ||
9 | - : "r" (&my_params) | ||
10 | + : "r" (&my_params), "m" (my_params) | ||
11 | : "r0", "r1", "r2", "r3", "r4", "ip", "lr", "sp" | ||
12 | ); | ||
13 | |||
diff --git a/meta-extras/packages/mozilla/minimo/minimo b/meta-extras/packages/mozilla/minimo/minimo new file mode 100644 index 0000000000..d130173adf --- /dev/null +++ b/meta-extras/packages/mozilla/minimo/minimo | |||
@@ -0,0 +1,4 @@ | |||
1 | #!/bin/sh | ||
2 | export MOZILLA_FIVE_HOME=/usr/lib/mozilla-minimo | ||
3 | export LD_LIBRARY_PATH=${MOZILLA_FIVE_HOME} | ||
4 | exec ${MOZILLA_FIVE_HOME}/minimo "$@" | ||
diff --git a/meta-extras/packages/mozilla/minimo/minimo.patch b/meta-extras/packages/mozilla/minimo/minimo.patch new file mode 100644 index 0000000000..8894ee7f45 --- /dev/null +++ b/meta-extras/packages/mozilla/minimo/minimo.patch | |||
@@ -0,0 +1,356 @@ | |||
1 | Index: mozilla/content/html/content/src/nsFormSubmission.cpp | ||
2 | =================================================================== | ||
3 | --- mozilla.orig/content/html/content/src/nsFormSubmission.cpp 2005-07-13 18:55:59.000000000 +0200 | ||
4 | +++ mozilla/content/html/content/src/nsFormSubmission.cpp 2007-05-10 12:11:20.000000000 +0200 | ||
5 | @@ -1315,11 +1315,6 @@ | ||
6 | nsresult rv = NS_OK; | ||
7 | |||
8 | nsCAutoString charset(aCharset); | ||
9 | - // canonical name is passed so that we just have to check against | ||
10 | - // *our* canonical names listed in charsetaliases.properties | ||
11 | - if (charset.EqualsLiteral("ISO-8859-1")) { | ||
12 | - charset.AssignLiteral("windows-1252"); | ||
13 | - } | ||
14 | |||
15 | // use UTF-8 for UTF-16* and UTF-32* (per WHATWG and existing practice of | ||
16 | // MS IE/Opera). | ||
17 | Index: mozilla/embedding/base/Makefile.in | ||
18 | =================================================================== | ||
19 | --- mozilla.orig/embedding/base/Makefile.in 2006-02-14 06:28:31.000000000 +0100 | ||
20 | +++ mozilla/embedding/base/Makefile.in 2007-05-10 12:11:20.000000000 +0200 | ||
21 | @@ -43,6 +43,7 @@ | ||
22 | |||
23 | MODULE = embed_base | ||
24 | LIBRARY_NAME = embed_base_s | ||
25 | +EXPORT_LIBRARY = 1 | ||
26 | XPIDL_MODULE = embed_base | ||
27 | |||
28 | include $(DEPTH)/config/autoconf.mk | ||
29 | Index: mozilla/js/src/Makefile.in | ||
30 | =================================================================== | ||
31 | --- mozilla.orig/js/src/Makefile.in 2006-07-28 00:56:20.000000000 +0200 | ||
32 | +++ mozilla/js/src/Makefile.in 2007-05-10 12:11:21.000000000 +0200 | ||
33 | @@ -46,6 +46,7 @@ | ||
34 | |||
35 | MODULE = js | ||
36 | LIBRARY_NAME = mozjs | ||
37 | +EXPORT_LIBRARY = 1 | ||
38 | LIB_IS_C_ONLY = 1 | ||
39 | GRE_MODULE = 1 | ||
40 | |||
41 | Index: mozilla/minimo/Makefile.in | ||
42 | =================================================================== | ||
43 | --- mozilla.orig/minimo/Makefile.in 2006-07-24 21:40:53.000000000 +0200 | ||
44 | +++ mozilla/minimo/Makefile.in 2007-05-10 12:13:46.000000000 +0200 | ||
45 | @@ -41,6 +41,6 @@ | ||
46 | |||
47 | include $(DEPTH)/config/autoconf.mk | ||
48 | |||
49 | -DIRS = config components chrome locales customization base extensions | ||
50 | +DIRS = config chrome locales customization base extensions | ||
51 | |||
52 | include $(topsrcdir)/config/rules.mk | ||
53 | Index: mozilla/minimo/base/Makefile.in | ||
54 | =================================================================== | ||
55 | --- mozilla.orig/minimo/base/Makefile.in 2006-08-09 17:42:26.000000000 +0200 | ||
56 | +++ mozilla/minimo/base/Makefile.in 2007-05-10 12:11:21.000000000 +0200 | ||
57 | @@ -96,7 +96,6 @@ | ||
58 | |||
59 | # this should move into the toolkit! | ||
60 | LOCAL_INCLUDES = -I$(srcdir) -I$(topsrcdir)/xpfe/browser/src/ | ||
61 | -CPPSRCS += nsBrowserStatusFilter.cpp nsBrowserInstance.cpp | ||
62 | |||
63 | ifdef WINCE | ||
64 | RCINCLUDE = wince/SplashScreen.rc | ||
65 | @@ -143,10 +142,6 @@ | ||
66 | endif | ||
67 | |||
68 | |||
69 | -FINAL_LINK_COMPS=$(topsrcdir)/minimo/base/$(FINAL_PLATFORM)/minimo-link-comps | ||
70 | -FINAL_LINK_COMP_NAMES=$(topsrcdir)/minimo/base/$(FINAL_PLATFORM)/minimo-link-names | ||
71 | -FINAL_LINK_LIBS=$(topsrcdir)/minimo/base/$(FINAL_PLATFORM)/minimo-link-libs | ||
72 | - | ||
73 | include $(topsrcdir)/config/static-config.mk | ||
74 | |||
75 | EXTRA_DEPS += $(STATIC_EXTRA_DEPS) | ||
76 | @@ -180,14 +175,11 @@ | ||
77 | # (same as in mozilla/js/src/Makefile.in) | ||
78 | ifdef WINCE | ||
79 | LDFLAGS += -OPT:NOICF | ||
80 | +else | ||
81 | +# Hack to work around libxpcom_core.a / libunicharutil_s.a link order problem. | ||
82 | +LDFLAGS += -u NS_StringGetData_P -u NS_StringGetMutableData_P | ||
83 | endif | ||
84 | |||
85 | -export:: | ||
86 | - $(NSINSTALL) $(topsrcdir)/xpfe/browser/src/nsBrowserStatusFilter.cpp . | ||
87 | - $(NSINSTALL) $(topsrcdir)/xpfe/browser/src/nsBrowserInstance.cpp . | ||
88 | - | ||
89 | - | ||
90 | -GARBAGE += nsBrowserStatusFilter.cpp nsBrowserInstance.cpp | ||
91 | |||
92 | ifdef WINCE | ||
93 | package:: | ||
94 | Index: mozilla/minimo/base/Minimo.cpp | ||
95 | =================================================================== | ||
96 | --- mozilla.orig/minimo/base/Minimo.cpp 2006-10-27 22:30:36.000000000 +0200 | ||
97 | +++ mozilla/minimo/base/Minimo.cpp 2007-05-10 12:13:21.000000000 +0200 | ||
98 | @@ -813,6 +813,8 @@ | ||
99 | #ifdef MOZ_WIDGET_GTK2 | ||
100 | gtk_set_locale(); | ||
101 | gtk_init(&argc, &argv); | ||
102 | + gtk_widget_set_default_visual(gdk_rgb_get_visual()); | ||
103 | + gtk_widget_set_default_colormap(gdk_rgb_get_cmap()); | ||
104 | #endif | ||
105 | |||
106 | #ifdef HACKY_PRE_LOAD_LIBRARY | ||
107 | Index: mozilla/minimo/base/SplashScreen.cpp | ||
108 | =================================================================== | ||
109 | --- mozilla.orig/minimo/base/SplashScreen.cpp 2006-08-21 21:00:24.000000000 +0200 | ||
110 | +++ mozilla/minimo/base/SplashScreen.cpp 2007-05-10 12:11:22.000000000 +0200 | ||
111 | @@ -202,9 +202,24 @@ | ||
112 | void KillSplashScreen() {} | ||
113 | void GetScreenSize(unsigned long* x, unsigned long* y) | ||
114 | { | ||
115 | +#ifdef MOZ_WIDGET_GTK2 | ||
116 | + GdkDisplay* display = gdk_display_get_default(); | ||
117 | + if (display != NULL) | ||
118 | + { | ||
119 | + GdkScreen *screen; | ||
120 | + screen = gdk_display_get_default_screen(display); | ||
121 | + *x = gdk_screen_get_width(screen); | ||
122 | + *y = gdk_screen_get_height(screen); | ||
123 | + } | ||
124 | + else | ||
125 | + { | ||
126 | +#endif | ||
127 | // we need to figure this out. | ||
128 | *x = 240; | ||
129 | *y = 320; | ||
130 | +#ifdef MOZ_WIDGET_GTK2 | ||
131 | + } | ||
132 | +#endif | ||
133 | } | ||
134 | |||
135 | |||
136 | Index: mozilla/minimo/config/linux_package.sh | ||
137 | =================================================================== | ||
138 | --- mozilla.orig/minimo/config/linux_package.sh 2006-06-30 18:35:19.000000000 +0200 | ||
139 | +++ mozilla/minimo/config/linux_package.sh 2007-05-10 12:11:22.000000000 +0200 | ||
140 | @@ -29,9 +29,7 @@ | ||
141 | cp -pRL bin/libnssckbi.so minimo | ||
142 | cp -pRL bin/libsmime3.so minimo | ||
143 | cp -pRL bin/libsoftokn3.so minimo | ||
144 | -cp -pRL bin/libsoftokn3.chk minimo | ||
145 | cp -pRL bin/libfreebl3.so minimo | ||
146 | -cp -pRL bin/libfreebl3.chk minimo | ||
147 | cp -pRL bin/libssl3.so minimo | ||
148 | |||
149 | mkdir -p minimo/chrome | ||
150 | @@ -62,8 +60,6 @@ | ||
151 | cp -pRL bin/components/nsHelperAppDlg.js minimo/components | ||
152 | cp -pRL bin/components/nsProgressDialog.js minimo/components | ||
153 | |||
154 | -cp -pRL bin/extensions/spatial-navigation@extensions.mozilla.org/components/* minimo/components | ||
155 | - | ||
156 | mkdir -p minimo/greprefs | ||
157 | cp -pRL bin/greprefs/* minimo/greprefs | ||
158 | |||
159 | @@ -80,7 +76,7 @@ | ||
160 | |||
161 | echo Linking XPT files. | ||
162 | |||
163 | -bin/xpt_link minimo/components/all.xpt bin/components/*.xpt | ||
164 | +host/bin/host_xpt_link minimo/components/all.xpt bin/components/*.xpt | ||
165 | |||
166 | echo Chewing on chrome | ||
167 | |||
168 | Index: mozilla/profile/dirserviceprovider/src/Makefile.in | ||
169 | =================================================================== | ||
170 | --- mozilla.orig/profile/dirserviceprovider/src/Makefile.in 2005-04-06 05:35:21.000000000 +0200 | ||
171 | +++ mozilla/profile/dirserviceprovider/src/Makefile.in 2007-05-10 12:11:23.000000000 +0200 | ||
172 | @@ -44,6 +44,7 @@ | ||
173 | |||
174 | MODULE = profdirserviceprovider | ||
175 | LIBRARY_NAME = profdirserviceprovider_s | ||
176 | +EXPORT_LIBRARY = 1 | ||
177 | MOZILLA_INTERNAL_API = 1 | ||
178 | |||
179 | REQUIRES = xpcom \ | ||
180 | Index: mozilla/security/coreconf/Linux.mk | ||
181 | =================================================================== | ||
182 | --- mozilla.orig/security/coreconf/Linux.mk 2006-02-03 23:26:36.000000000 +0100 | ||
183 | +++ mozilla/security/coreconf/Linux.mk 2007-05-10 12:11:23.000000000 +0200 | ||
184 | @@ -117,6 +117,10 @@ | ||
185 | OS_REL_CFLAGS = -DLINUX1_2 -D_XOPEN_SOURCE | ||
186 | CPU_ARCH = mips | ||
187 | else | ||
188 | +ifeq ($(OS_TEST),arm) | ||
189 | + OS_REL_CFLAGS = -DLINUX1_2 -D_XOPEN_SOURCE | ||
190 | + CPU_ARCH = arm | ||
191 | +else | ||
192 | OS_REL_CFLAGS = -DLINUX1_2 -Di386 -D_XOPEN_SOURCE | ||
193 | CPU_ARCH = x86 | ||
194 | endif | ||
195 | @@ -133,6 +137,7 @@ | ||
196 | endif | ||
197 | endif | ||
198 | endif | ||
199 | +endif | ||
200 | |||
201 | |||
202 | LIBC_TAG = _glibc | ||
203 | Index: mozilla/security/coreconf/arch.mk | ||
204 | =================================================================== | ||
205 | --- mozilla.orig/security/coreconf/arch.mk 2006-02-03 23:26:36.000000000 +0100 | ||
206 | +++ mozilla/security/coreconf/arch.mk 2007-05-10 12:11:24.000000000 +0200 | ||
207 | @@ -60,18 +60,14 @@ | ||
208 | 64BIT_TAG= | ||
209 | endif | ||
210 | |||
211 | -OS_ARCH := $(subst /,_,$(shell uname -s)) | ||
212 | +OS_ARCH := Linux | ||
213 | |||
214 | # | ||
215 | # Attempt to differentiate between sparc and x86 Solaris | ||
216 | # | ||
217 | |||
218 | -OS_TEST := $(shell uname -m) | ||
219 | -ifeq ($(OS_TEST),i86pc) | ||
220 | - OS_RELEASE := $(shell uname -r)_$(OS_TEST) | ||
221 | -else | ||
222 | - OS_RELEASE := $(shell uname -r) | ||
223 | -endif | ||
224 | +OS_TEST := arm | ||
225 | +OS_RELEASE := 2.6 | ||
226 | |||
227 | # | ||
228 | # Force the IRIX64 machines to use IRIX. | ||
229 | Index: mozilla/toolkit/components/build/Makefile.in | ||
230 | =================================================================== | ||
231 | --- mozilla.orig/toolkit/components/build/Makefile.in 2006-07-13 22:08:29.000000000 +0200 | ||
232 | +++ mozilla/toolkit/components/build/Makefile.in 2007-05-10 12:11:27.000000000 +0200 | ||
233 | @@ -112,7 +112,6 @@ | ||
234 | $(NULL) | ||
235 | |||
236 | SHARED_LIBRARY_LIBS = \ | ||
237 | - ../startup/src/$(LIB_PREFIX)appstartup_s.$(LIB_SUFFIX) \ | ||
238 | $(NULL) | ||
239 | |||
240 | ifdef MOZ_XPINSTALL | ||
241 | Index: mozilla/toolkit/components/startup/src/Makefile.in | ||
242 | =================================================================== | ||
243 | --- mozilla.orig/toolkit/components/startup/src/Makefile.in 2005-07-27 22:42:44.000000000 +0200 | ||
244 | +++ mozilla/toolkit/components/startup/src/Makefile.in 2007-05-10 12:11:27.000000000 +0200 | ||
245 | @@ -43,6 +43,7 @@ | ||
246 | |||
247 | MODULE = toolkitcomps | ||
248 | LIBRARY_NAME = appstartup_s | ||
249 | +EXPORT_LIBRARY = 1 | ||
250 | FORCE_STATIC_LIB = 1 | ||
251 | LIBXUL_LIBRARY = 1 | ||
252 | |||
253 | Index: mozilla/toolkit/xre/Makefile.in | ||
254 | =================================================================== | ||
255 | --- mozilla.orig/toolkit/xre/Makefile.in 2007-02-06 08:13:20.000000000 +0100 | ||
256 | +++ mozilla/toolkit/xre/Makefile.in 2007-05-10 12:11:27.000000000 +0200 | ||
257 | @@ -45,7 +45,6 @@ | ||
258 | |||
259 | MODULE = xulapp | ||
260 | LIBRARY_NAME = xulapp_s | ||
261 | -EXPORT_LIBRARY = 1 | ||
262 | LIBXUL_LIBRARY = 1 | ||
263 | |||
264 | REQUIRES = \ | ||
265 | @@ -180,14 +179,6 @@ | ||
266 | |||
267 | include $(topsrcdir)/config/rules.mk | ||
268 | |||
269 | -ifdef BUILD_STATIC_LIBS | ||
270 | -export:: | ||
271 | - @$(PERL) -I$(MOZILLA_DIR)/config $(MOZILLA_DIR)/config/build-list.pl $(FINAL_LINK_COMP_NAMES) Apprunner | ||
272 | -# embedding/browser/gtk/src/Makefile.in sucks! we need to add an empty line to | ||
273 | -# FINAL_LINK_COMPS to keep the two lists in sync :-( | ||
274 | - @$(PERL) -I$(MOZILLA_DIR)/config $(MOZILLA_DIR)/config/build-list.pl $(FINAL_LINK_COMPS) "" | ||
275 | -endif | ||
276 | - | ||
277 | LOCAL_INCLUDES += \ | ||
278 | -I$(srcdir) \ | ||
279 | -I$(topsrcdir)/xpfe/bootstrap \ | ||
280 | Index: mozilla/xpcom/build/Makefile.in | ||
281 | =================================================================== | ||
282 | --- mozilla.orig/xpcom/build/Makefile.in 2006-01-29 17:51:02.000000000 +0100 | ||
283 | +++ mozilla/xpcom/build/Makefile.in 2007-05-10 12:11:27.000000000 +0200 | ||
284 | @@ -61,7 +61,7 @@ | ||
285 | endif | ||
286 | |||
287 | # Do not set EXPORT_LIBRARY as we do not want xpcom in the static libs list | ||
288 | -#EXPORT_LIBRARY = 1 | ||
289 | +EXPORT_LIBRARY = 1 | ||
290 | GRE_MODULE = 1 | ||
291 | MOZILLA_INTERNAL_API = 1 | ||
292 | |||
293 | Index: mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_arm.cpp | ||
294 | =================================================================== | ||
295 | --- mozilla.orig/xpcom/reflect/xptcall/src/md/unix/xptcstubs_arm.cpp 2004-04-18 16:18:18.000000000 +0200 | ||
296 | +++ mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_arm.cpp 2007-05-10 12:11:27.000000000 +0200 | ||
297 | @@ -45,9 +45,9 @@ | ||
298 | #endif | ||
299 | |||
300 | /* Specify explicitly a symbol for this function, don't try to guess the c++ mangled symbol. */ | ||
301 | -static nsresult PrepareAndDispatch(nsXPTCStubBase* self, uint32 methodIndex, PRUint32* args) asm("_PrepareAndDispatch"); | ||
302 | +nsresult PrepareAndDispatch(nsXPTCStubBase* self, uint32 methodIndex, PRUint32* args) asm("_PrepareAndDispatch"); | ||
303 | |||
304 | -static nsresult | ||
305 | +nsresult | ||
306 | PrepareAndDispatch(nsXPTCStubBase* self, uint32 methodIndex, PRUint32* args) | ||
307 | { | ||
308 | #define PARAM_BUFFER_COUNT 16 | ||
309 | Index: mozilla/xpfe/browser/src/Makefile.in | ||
310 | =================================================================== | ||
311 | --- mozilla.orig/xpfe/browser/src/Makefile.in 2005-03-18 22:23:45.000000000 +0100 | ||
312 | +++ mozilla/xpfe/browser/src/Makefile.in 2007-05-10 12:11:27.000000000 +0200 | ||
313 | @@ -44,6 +44,7 @@ | ||
314 | |||
315 | MODULE = browser | ||
316 | LIBRARY_NAME = mozbrwsr_s | ||
317 | +EXPORT_LIBRARY = 1 | ||
318 | FORCE_STATIC_LIB = 1 | ||
319 | LIBXUL_LIBRARY = 1 | ||
320 | MODULE_NAME = nsBrowserModule | ||
321 | Index: mozilla/xpfe/components/build/Makefile.in | ||
322 | =================================================================== | ||
323 | --- mozilla.orig/xpfe/components/build/Makefile.in 2005-09-27 02:15:25.000000000 +0200 | ||
324 | +++ mozilla/xpfe/components/build/Makefile.in 2007-05-10 12:11:27.000000000 +0200 | ||
325 | @@ -44,7 +44,6 @@ | ||
326 | |||
327 | MODULE = appcomps | ||
328 | LIBRARY_NAME = appcomps | ||
329 | -EXPORT_LIBRARY = 1 | ||
330 | IS_COMPONENT = 1 | ||
331 | MODULE_NAME = application | ||
332 | LIBXUL_LIBRARY = 1 | ||
333 | Index: mozilla/xpfe/components/filepicker/src/Makefile.in | ||
334 | =================================================================== | ||
335 | --- mozilla.orig/xpfe/components/filepicker/src/Makefile.in 2006-05-22 18:29:32.000000000 +0200 | ||
336 | +++ mozilla/xpfe/components/filepicker/src/Makefile.in 2007-05-10 12:11:27.000000000 +0200 | ||
337 | @@ -47,7 +47,6 @@ | ||
338 | MODULE = filepicker | ||
339 | LIBRARY_NAME = fileview | ||
340 | SHORT_LIBNAME = fileview | ||
341 | -EXPORT_LIBRARY = 1 | ||
342 | IS_COMPONENT = 1 | ||
343 | MODULE_NAME = nsFileViewModule | ||
344 | MOZILLA_INTERNAL_API = 1 | ||
345 | Index: mozilla/xpfe/components/find/src/Makefile.in | ||
346 | =================================================================== | ||
347 | --- mozilla.orig/xpfe/components/find/src/Makefile.in 2005-03-18 22:23:46.000000000 +0100 | ||
348 | +++ mozilla/xpfe/components/find/src/Makefile.in 2007-05-10 12:11:27.000000000 +0200 | ||
349 | @@ -45,7 +45,6 @@ | ||
350 | MODULE = appcomps | ||
351 | XPIDL_MODULE = mozfind | ||
352 | LIBRARY_NAME = mozfind | ||
353 | -EXPORT_LIBRARY = 1 | ||
354 | IS_COMPONENT = 1 | ||
355 | MODULE_NAME = nsFindComponent | ||
356 | LIBXUL_LIBRARY = 1 | ||
diff --git a/meta-extras/packages/mozilla/minimo/minimo.png b/meta-extras/packages/mozilla/minimo/minimo.png new file mode 100644 index 0000000000..f8b2e2192b --- /dev/null +++ b/meta-extras/packages/mozilla/minimo/minimo.png | |||
Binary files differ | |||
diff --git a/meta-extras/packages/mozilla/minimo/mozconfig b/meta-extras/packages/mozilla/minimo/mozconfig new file mode 100644 index 0000000000..393981e9fa --- /dev/null +++ b/meta-extras/packages/mozilla/minimo/mozconfig | |||
@@ -0,0 +1,36 @@ | |||
1 | # mozilla/configure: Features and packages: | ||
2 | |||
3 | ac_add_options --enable-application=minimo | ||
4 | ac_add_options --enable-default-toolkit=gtk2 | ||
5 | ac_add_options --disable-freetype2 | ||
6 | ac_add_options --enable-xft | ||
7 | ac_add_options --disable-postscript | ||
8 | ac_add_options --disable-xprint | ||
9 | ac_add_options --disable-gnomevfs | ||
10 | ac_add_options --disable-gnomeui | ||
11 | ac_add_options --disable-jsd | ||
12 | ac_add_options --disable-plugins | ||
13 | ac_add_options --disable-view-source | ||
14 | ac_add_options --disable-accessibility | ||
15 | ac_add_options --disable-xpinstall | ||
16 | ac_add_options --enable-single-profile | ||
17 | ac_add_options --disable-jsloader | ||
18 | ac_add_options --disable-printing | ||
19 | ac_add_options --enable-native-uconv | ||
20 | ac_add_options --enable-plaintext-editor-only | ||
21 | ac_add_options --disable-xpcom-obsolete | ||
22 | ac_add_options --disable-pref-extensions | ||
23 | ac_add_options --disable-extensions | ||
24 | ac_add_options --enable-image-decoders=png,gif,jpeg | ||
25 | ac_add_options --disable-mathml | ||
26 | ac_add_options --disable-installer | ||
27 | ac_add_options --disable-updater | ||
28 | ac_add_options --disable-tests | ||
29 | ac_add_options --enable-optimize=-Os | ||
30 | ac_add_options --disable-logging | ||
31 | ac_add_options --enable-strip | ||
32 | ac_add_options --enable-elf-dynstr-gc | ||
33 | ac_add_options --disable-shared | ||
34 | ac_add_options --enable-static | ||
35 | ac_add_options --disable-profilesharing | ||
36 | ac_add_options --disable-profilelocking | ||
diff --git a/meta-extras/packages/mozilla/minimo_cvs.bb b/meta-extras/packages/mozilla/minimo_cvs.bb new file mode 100644 index 0000000000..5eec96d143 --- /dev/null +++ b/meta-extras/packages/mozilla/minimo_cvs.bb | |||
@@ -0,0 +1,153 @@ | |||
1 | DESCRIPTION = "A minimal version of the Mozilla web browser for mobile devices" | ||
2 | SECTION = "x11/network" | ||
3 | LICENSE = "MPL/GPL/LGPL" | ||
4 | HOMEPAGE = "http://www.mozilla.org/projects/minimo/" | ||
5 | PRIORITY = "optional" | ||
6 | |||
7 | DEPENDS = "libxrender xt xft fontconfig freetype libidl dbus-glib pango atk gtk+ libidl-native" | ||
8 | |||
9 | CVSSVR = "cvs-mirror.mozilla.org" | ||
10 | BRTAG = "MOZILLA_1_8_BRANCH" | ||
11 | MOZDATE = "20070510" | ||
12 | |||
13 | PV = "0.02+cvs${MOZDATE}" | ||
14 | PR = "r3" | ||
15 | |||
16 | SRC_URI = "cvs://anonymous@${CVSSVR}/cvsroot;module=mozilla;tag=${BRTAG};date=${MOZDATE} \ | ||
17 | file://minimo.patch;patch=1 \ | ||
18 | file://bug-322806.diff;patch=1 \ | ||
19 | file://mozconfig \ | ||
20 | file://minimo \ | ||
21 | file://eabi-fix.patch;patch=1 \ | ||
22 | file://eabi-fix2.patch;patch=1 \ | ||
23 | file://eabi-fix3.patch;patch=1 \ | ||
24 | file://minimo.desktop \ | ||
25 | file://minimo.png" | ||
26 | |||
27 | inherit autotools | ||
28 | |||
29 | S = "${WORKDIR}/mozilla" | ||
30 | |||
31 | export MOZCONFIG = "${WORKDIR}/mozconfig" | ||
32 | |||
33 | export CROSS_COMPILE="1" | ||
34 | export ac_cv_prog_HOST_CC="${BUILD_CC}" | ||
35 | export ac_cv_prog_HOST_CFLAGS="${BUILD_CFLAGS}" | ||
36 | export ac_cv_prog_HOST_CXX="${BUILD_CXX}" | ||
37 | export ac_cv_prog_HOST_CXXFLAGS="${BUILD_CXXFLAGS}" | ||
38 | export HOST_LIBIDL_CONFIG = "${STAGING_BINDIR_NATIVE}/libIDL-config-2" | ||
39 | |||
40 | mozdir="${libdir}/mozilla-minimo" | ||
41 | |||
42 | EXTRA_OECONF += "--build=${BUILD_SYS} --host=${BUILD_SYS} --target=${TARGET_SYS} " | ||
43 | |||
44 | do_configure() { | ||
45 | cd ${S} | ||
46 | oe_runmake -f client.mk CONFIGURE_ARGS="${EXTRA_OECONF}" configure | ||
47 | sed -i s:${TARGET_PREFIX}strip:echo:g config/autoconf.mk | ||
48 | } | ||
49 | |||
50 | do_compile() { | ||
51 | cd ${S} | ||
52 | oe_runmake -f client.mk build | ||
53 | } | ||
54 | |||
55 | do_install() { | ||
56 | cd ${WORKDIR} | ||
57 | |||
58 | install -d ${D}${bindir} | ||
59 | install -m 0755 minimo ${D}${bindir} | ||
60 | |||
61 | install -d ${D}${datadir}/applications | ||
62 | install -m 0644 minimo.desktop ${D}${datadir}/applications | ||
63 | |||
64 | install -d ${D}/${datadir}/pixmaps | ||
65 | install -m 0644 minimo.png ${D}${datadir}/pixmaps | ||
66 | |||
67 | cd ${S} | ||
68 | |||
69 | ./minimo/config/linux_package.sh ${S} ${S}/minimo/config | ||
70 | |||
71 | cd dist/minimo | ||
72 | |||
73 | install -d ${D}${mozdir} | ||
74 | install -m 0755 minimo ${D}${mozdir} | ||
75 | install -m 0755 libfreebl3.so ${D}${mozdir} | ||
76 | install -m 0755 libnspr4.so ${D}${mozdir} | ||
77 | install -m 0755 libnss3.so ${D}${mozdir} | ||
78 | install -m 0755 libnssckbi.so ${D}${mozdir} | ||
79 | install -m 0755 libplc4.so ${D}${mozdir} | ||
80 | install -m 0755 libplds4.so ${D}${mozdir} | ||
81 | install -m 0755 libsmime3.so ${D}${mozdir} | ||
82 | install -m 0755 libsoftokn3.so ${D}${mozdir} | ||
83 | install -m 0755 libssl3.so ${D}${mozdir} | ||
84 | |||
85 | install -d ${D}${mozdir}/chrome | ||
86 | install -m 0644 chrome/classic.jar ${D}${mozdir}/chrome | ||
87 | install -m 0644 chrome/classic.manifest ${D}${mozdir}/chrome | ||
88 | install -m 0644 chrome/en-US.jar ${D}${mozdir}/chrome | ||
89 | install -m 0644 chrome/en-US.manifest ${D}${mozdir}/chrome | ||
90 | install -m 0644 chrome/minimo-skin-vga.jar ${D}${mozdir}/chrome | ||
91 | install -m 0644 chrome/minimo-skin-vga.manifest ${D}${mozdir}/chrome | ||
92 | install -m 0644 chrome/minimo-skin.jar ${D}${mozdir}/chrome | ||
93 | install -m 0644 chrome/minimo-skin.manifest ${D}${mozdir}/chrome | ||
94 | install -m 0644 chrome/minimo.jar ${D}${mozdir}/chrome | ||
95 | install -m 0644 chrome/minimo.manifest ${D}${mozdir}/chrome | ||
96 | install -m 0644 chrome/pippki.jar ${D}${mozdir}/chrome | ||
97 | install -m 0644 chrome/pippki.manifest ${D}${mozdir}/chrome | ||
98 | install -m 0644 chrome/toolkit.jar ${D}${mozdir}/chrome | ||
99 | install -m 0644 chrome/toolkit.manifest ${D}${mozdir}/chrome | ||
100 | |||
101 | install -d ${D}${mozdir}/components | ||
102 | install -m 0644 components/all.xpt ${D}${mozdir}/components | ||
103 | install -m 0644 components/nsHelperAppDlg.js ${D}${mozdir}/components | ||
104 | install -m 0644 components/nsProgressDialog.js ${D}${mozdir}/components | ||
105 | |||
106 | install -d ${D}${mozdir}/greprefs | ||
107 | install -m 0644 greprefs/all.js ${D}${mozdir}/greprefs | ||
108 | install -m 0644 greprefs/security-prefs.js ${D}${mozdir}/greprefs | ||
109 | |||
110 | install -d ${D}${mozdir}/res | ||
111 | install -m 0644 res/forms.css ${D}${mozdir}/res | ||
112 | install -m 0644 res/html.css ${D}${mozdir}/res | ||
113 | install -m 0644 res/quirk.css ${D}${mozdir}/res | ||
114 | install -m 0644 res/ua.css ${D}${mozdir}/res | ||
115 | install -m 0644 res/arrow.gif ${D}${mozdir}/res | ||
116 | install -m 0644 res/arrowd.gif ${D}${mozdir}/res | ||
117 | install -m 0644 res/broken-image.gif ${D}${mozdir}/res | ||
118 | install -m 0644 res/loading-image.gif ${D}${mozdir}/res | ||
119 | install -m 0644 res/charsetData.properties ${D}${mozdir}/res | ||
120 | install -m 0644 res/charsetalias.properties ${D}${mozdir}/res | ||
121 | install -m 0644 res/langGroups.properties ${D}${mozdir}/res | ||
122 | install -m 0644 res/language.properties ${D}${mozdir}/res | ||
123 | install -m 0644 res/unixcharset.properties ${D}${mozdir}/res | ||
124 | |||
125 | install -d ${D}${mozdir}/res/dtd | ||
126 | install -m 0644 res/dtd/xhtml11.dtd ${D}${mozdir}/res/dtd | ||
127 | |||
128 | install -d ${D}${mozdir}/res/entityTables | ||
129 | install -m 0644 res/entityTables/html40Latin1.properties ${D}${mozdir}/res/entityTables | ||
130 | install -m 0644 res/entityTables/html40Special.properties ${D}${mozdir}/res/entityTables | ||
131 | install -m 0644 res/entityTables/html40Symbols.properties ${D}${mozdir}/res/entityTables | ||
132 | install -m 0644 res/entityTables/htmlEntityVersions.properties ${D}${mozdir}/res/entityTables | ||
133 | install -m 0644 res/entityTables/transliterate.properties ${D}${mozdir}/res/entityTables | ||
134 | |||
135 | install -d ${D}${mozdir}/res/fonts | ||
136 | install -m 0644 res/fonts/fontEncoding.properties ${D}${mozdir}/res/fonts | ||
137 | install -m 0644 res/fonts/pangoFontEncoding.properties ${D}${mozdir}/res/fonts | ||
138 | |||
139 | install -d ${D}${mozdir}/res/html | ||
140 | install -m 0644 res/html/gopher-audio.gif ${D}${mozdir}/res/html | ||
141 | install -m 0644 res/html/gopher-binary.gif ${D}${mozdir}/res/html | ||
142 | install -m 0644 res/html/gopher-find.gif ${D}${mozdir}/res/html | ||
143 | install -m 0644 res/html/gopher-image.gif ${D}${mozdir}/res/html | ||
144 | install -m 0644 res/html/gopher-menu.gif ${D}${mozdir}/res/html | ||
145 | install -m 0644 res/html/gopher-movie.gif ${D}${mozdir}/res/html | ||
146 | install -m 0644 res/html/gopher-sound.gif ${D}${mozdir}/res/html | ||
147 | install -m 0644 res/html/gopher-telnet.gif ${D}${mozdir}/res/html | ||
148 | install -m 0644 res/html/gopher-text.gif ${D}${mozdir}/res/html | ||
149 | install -m 0644 res/html/gopher-unknown.gif ${D}${mozdir}/res/html | ||
150 | } | ||
151 | |||
152 | FILES_${PN}-dbg += "${libdir}/mozilla-minimo/.debug*" | ||
153 | FILES_${PN} += "${mozdir}" | ||
diff --git a/meta-extras/packages/networkmanager/files/70NetworkManagerApplet.shbg b/meta-extras/packages/networkmanager/files/70NetworkManagerApplet.shbg new file mode 100644 index 0000000000..8858b3e7c2 --- /dev/null +++ b/meta-extras/packages/networkmanager/files/70NetworkManagerApplet.shbg | |||
@@ -0,0 +1,4 @@ | |||
1 | #!/bin/sh | ||
2 | # Wait for the desktop to say its finished loading | ||
3 | dbus-wait org.matchbox_project.desktop Loaded | ||
4 | exec /usr/bin/nm-applet | ||
diff --git a/meta-extras/packages/networkmanager/files/99_networkmanager b/meta-extras/packages/networkmanager/files/99_networkmanager new file mode 100644 index 0000000000..20cbcc1bca --- /dev/null +++ b/meta-extras/packages/networkmanager/files/99_networkmanager | |||
@@ -0,0 +1 @@ | |||
d root root 0700 /var/run/NetworkManager none | |||
diff --git a/meta-extras/packages/networkmanager/files/NetworkManager b/meta-extras/packages/networkmanager/files/NetworkManager new file mode 100644 index 0000000000..4522e0107b --- /dev/null +++ b/meta-extras/packages/networkmanager/files/NetworkManager | |||
@@ -0,0 +1,43 @@ | |||
1 | #!/bin/sh | ||
2 | # | ||
3 | ### BEGIN INIT INFO | ||
4 | # Provides: NetworkManager | ||
5 | # Required-Start: $remote_fs dbus hal | ||
6 | # Required-Stop: $remote_fs dbus hal | ||
7 | # Should-Start: $syslog | ||
8 | # Should-Stop: $syslog | ||
9 | # Default-Start: 2 3 4 5 | ||
10 | # Default-Stop: 0 1 6 | ||
11 | # Short-Description: network connection manager | ||
12 | # Description: Daemon for automatically switching network | ||
13 | # connections to the best available connection. | ||
14 | ### END INIT INFO | ||
15 | |||
16 | . /etc/profile | ||
17 | |||
18 | case $1 in | ||
19 | 'start') | ||
20 | echo -n "Starting NetworkManager daemon: NetworkManager" | ||
21 | /usr/sbin/NetworkManager | ||
22 | /usr/sbin/NetworkManagerDispatcher | ||
23 | /usr/sbin/wpa_supplicant -u & | ||
24 | echo "." | ||
25 | ;; | ||
26 | |||
27 | 'stop') | ||
28 | echo -n "Stopping NetworkManager daemon: NetworkManager" | ||
29 | kill `ps |grep /usr/sbin/NetworkManagerDispatcher | grep -v grep | cut "-d " -f2` | ||
30 | kill `ps |grep /usr/sbin/NetworkManager | grep -v grep | cut "-d " -f2` | ||
31 | kill `ps |grep /usr/sbin/wpa_supplicant | grep -v grep | cut "-d " -f2` | ||
32 | echo "." | ||
33 | ;; | ||
34 | |||
35 | 'restart') | ||
36 | $0 stop | ||
37 | $0 start | ||
38 | ;; | ||
39 | |||
40 | *) | ||
41 | echo "Usage: $0 { start | stop | restart }" | ||
42 | ;; | ||
43 | esac | ||
diff --git a/meta-extras/packages/networkmanager/files/allow-disabling.patch b/meta-extras/packages/networkmanager/files/allow-disabling.patch new file mode 100644 index 0000000000..10730e9fe5 --- /dev/null +++ b/meta-extras/packages/networkmanager/files/allow-disabling.patch | |||
@@ -0,0 +1,45 @@ | |||
1 | Allow interfaces to be ignored by networkmanager by creation of a | ||
2 | /etc/network/nm-disabled-INTERFACENAME file. | ||
3 | |||
4 | RP - 16/7/2008 | ||
5 | |||
6 | Index: trunk/src/backends/NetworkManagerDebian.c | ||
7 | =================================================================== | ||
8 | --- trunk.orig/src/backends/NetworkManagerDebian.c 2008-07-15 19:23:11.000000000 +0100 | ||
9 | +++ trunk/src/backends/NetworkManagerDebian.c 2008-07-15 19:37:05.000000000 +0100 | ||
10 | @@ -29,6 +29,7 @@ | ||
11 | |||
12 | #include <stdio.h> | ||
13 | #include <sys/types.h> | ||
14 | +#include <sys/stat.h> | ||
15 | #include <signal.h> | ||
16 | #include <arpa/inet.h> | ||
17 | #include "NetworkManagerGeneric.h" | ||
18 | @@ -374,12 +375,25 @@ | ||
19 | /* | ||
20 | * nm_system_device_get_disabled | ||
21 | * | ||
22 | - * Return whether the distro-specific system config tells us to use | ||
23 | - * dhcp for this device. | ||
24 | + * Return whether the distro-specific system config tells us to interact | ||
25 | + * with this device. | ||
26 | * | ||
27 | */ | ||
28 | gboolean nm_system_device_get_disabled (NMDevice *dev) | ||
29 | { | ||
30 | + struct stat statbuf; | ||
31 | + gchar *filepath; | ||
32 | + | ||
33 | + g_return_val_if_fail (dev != NULL, FALSE); | ||
34 | + | ||
35 | + filepath = g_strdup_printf (SYSCONFDIR"/network/nm-disabled-%s", nm_device_get_iface (dev)); | ||
36 | + | ||
37 | + if (stat(filepath, &statbuf) == 0) { | ||
38 | + g_free(filepath); | ||
39 | + return TRUE; | ||
40 | + } | ||
41 | + | ||
42 | + g_free(filepath); | ||
43 | return FALSE; | ||
44 | } | ||
45 | |||
diff --git a/meta-extras/packages/networkmanager/files/applet-no-animation.patch b/meta-extras/packages/networkmanager/files/applet-no-animation.patch new file mode 100644 index 0000000000..d437fd0fc9 --- /dev/null +++ b/meta-extras/packages/networkmanager/files/applet-no-animation.patch | |||
@@ -0,0 +1,234 @@ | |||
1 | Index: trunk/src/applet.c | ||
2 | =================================================================== | ||
3 | --- trunk.orig/src/applet.c 2008-02-06 20:30:04.000000000 +0000 | ||
4 | +++ trunk/src/applet.c 2008-02-06 20:46:59.000000000 +0000 | ||
5 | @@ -111,8 +111,6 @@ | ||
6 | |||
7 | static void nma_init (NMApplet *applet) | ||
8 | { | ||
9 | - applet->animation_id = 0; | ||
10 | - applet->animation_step = 0; | ||
11 | applet->passphrase_dialog = NULL; | ||
12 | applet->icon_theme = NULL; | ||
13 | #ifdef ENABLE_NOTIFY | ||
14 | @@ -1006,20 +1004,6 @@ | ||
15 | } | ||
16 | } | ||
17 | |||
18 | -static gboolean | ||
19 | -vpn_animation_timeout (gpointer data) | ||
20 | -{ | ||
21 | - NMApplet *applet = NM_APPLET (data); | ||
22 | - | ||
23 | - foo_set_icon (applet, applet->vpn_connecting_icons[applet->animation_step], ICON_LAYER_VPN); | ||
24 | - | ||
25 | - applet->animation_step++; | ||
26 | - if (applet->animation_step >= NUM_VPN_CONNECTING_FRAMES) | ||
27 | - applet->animation_step = 0; | ||
28 | - | ||
29 | - return TRUE; | ||
30 | -} | ||
31 | - | ||
32 | static void | ||
33 | vpn_connection_state_changed (NMVPNConnection *connection, | ||
34 | NMVPNConnectionState state, | ||
35 | @@ -1030,10 +1014,6 @@ | ||
36 | |||
37 | switch (state) { | ||
38 | case NM_VPN_CONNECTION_STATE_ACTIVATED: | ||
39 | - if (applet->animation_id) { | ||
40 | - g_source_remove (applet->animation_id); | ||
41 | - applet->animation_id = 0; | ||
42 | - } | ||
43 | foo_set_icon (applet, applet->vpn_lock_icon, ICON_LAYER_VPN); | ||
44 | // vpn_connection_info_set_last_attempt_success (info, TRUE); | ||
45 | break; | ||
46 | @@ -1041,10 +1021,7 @@ | ||
47 | case NM_VPN_CONNECTION_STATE_NEED_AUTH: | ||
48 | case NM_VPN_CONNECTION_STATE_CONNECT: | ||
49 | case NM_VPN_CONNECTION_STATE_IP_CONFIG_GET: | ||
50 | - if (applet->animation_id == 0) { | ||
51 | - applet->animation_step = 0; | ||
52 | - applet->animation_id = g_timeout_add (100, vpn_animation_timeout, applet); | ||
53 | - } | ||
54 | + foo_set_icon (applet, applet->network_connecting_icon, ICON_LAYER_VPN); | ||
55 | break; | ||
56 | case NM_VPN_CONNECTION_STATE_FAILED: | ||
57 | // vpn_connection_info_set_last_attempt_success (info, FALSE); | ||
58 | @@ -1053,10 +1030,6 @@ | ||
59 | g_hash_table_remove (applet->vpn_connections, nm_vpn_connection_get_name (connection)); | ||
60 | /* Fall through */ | ||
61 | default: | ||
62 | - if (applet->animation_id) { | ||
63 | - g_source_remove (applet->animation_id); | ||
64 | - applet->animation_id = 0; | ||
65 | - } | ||
66 | foo_set_icon (applet, NULL, ICON_LAYER_VPN); | ||
67 | break; | ||
68 | } | ||
69 | @@ -2295,45 +2268,6 @@ | ||
70 | } FooAnimationTimeoutInfo; | ||
71 | |||
72 | static void | ||
73 | -foo_animation_timeout_info_destroy (gpointer data) | ||
74 | -{ | ||
75 | - g_slice_free (FooAnimationTimeoutInfo, data); | ||
76 | -} | ||
77 | - | ||
78 | -static gboolean | ||
79 | -foo_animation_timeout (gpointer data) | ||
80 | -{ | ||
81 | - FooAnimationTimeoutInfo *info = (FooAnimationTimeoutInfo *) data; | ||
82 | - NMApplet *applet = info->applet; | ||
83 | - int stage = -1; | ||
84 | - | ||
85 | - switch (info->state) { | ||
86 | - case NM_DEVICE_STATE_PREPARE: | ||
87 | - stage = 0; | ||
88 | - break; | ||
89 | - case NM_DEVICE_STATE_CONFIG: | ||
90 | - stage = 1; | ||
91 | - break; | ||
92 | - case NM_DEVICE_STATE_IP_CONFIG: | ||
93 | - stage = 2; | ||
94 | - break; | ||
95 | - default: | ||
96 | - break; | ||
97 | - } | ||
98 | - | ||
99 | - if (stage >= 0) | ||
100 | - foo_set_icon (applet, | ||
101 | - applet->network_connecting_icons[stage][applet->animation_step], | ||
102 | - ICON_LAYER_LINK); | ||
103 | - | ||
104 | - applet->animation_step++; | ||
105 | - if (applet->animation_step >= NUM_CONNECTING_FRAMES) | ||
106 | - applet->animation_step = 0; | ||
107 | - | ||
108 | - return TRUE; | ||
109 | -} | ||
110 | - | ||
111 | -static void | ||
112 | foo_common_state_change (NMDevice *device, NMDeviceState state, NMApplet *applet) | ||
113 | { | ||
114 | FooAnimationTimeoutInfo *info; | ||
115 | @@ -2345,11 +2279,7 @@ | ||
116 | info = g_slice_new (FooAnimationTimeoutInfo); | ||
117 | info->applet = applet; | ||
118 | info->state = state; | ||
119 | - applet->animation_step = 0; | ||
120 | - applet->animation_id = g_timeout_add_full (G_PRIORITY_DEFAULT_IDLE, | ||
121 | - 100, foo_animation_timeout, | ||
122 | - info, | ||
123 | - foo_animation_timeout_info_destroy); | ||
124 | + foo_set_icon (applet, applet->network_connecting_icon, ICON_LAYER_LINK); | ||
125 | break; | ||
126 | case NM_DEVICE_STATE_ACTIVATED: | ||
127 | break; | ||
128 | @@ -2602,12 +2532,6 @@ | ||
129 | NMApplet *applet = NM_APPLET (user_data); | ||
130 | gboolean handled = FALSE; | ||
131 | |||
132 | - applet->animation_step = 0; | ||
133 | - if (applet->animation_id) { | ||
134 | - g_source_remove (applet->animation_id); | ||
135 | - applet->animation_id = 0; | ||
136 | - } | ||
137 | - | ||
138 | clear_active_connections (applet); | ||
139 | applet->active_connections = nm_client_get_active_connections (applet->nm_client); | ||
140 | |||
141 | @@ -3166,17 +3090,8 @@ | ||
142 | if (applet->wireless_100_icon) | ||
143 | g_object_unref (applet->wireless_100_icon); | ||
144 | |||
145 | - for (i = 0; i < NUM_CONNECTING_STAGES; i++) { | ||
146 | - int j; | ||
147 | - | ||
148 | - for (j = 0; j < NUM_CONNECTING_FRAMES; j++) | ||
149 | - if (applet->network_connecting_icons[i][j]) | ||
150 | - g_object_unref (applet->network_connecting_icons[i][j]); | ||
151 | - } | ||
152 | - | ||
153 | - for (i = 0; i < NUM_VPN_CONNECTING_FRAMES; i++) | ||
154 | - if (applet->vpn_connecting_icons[i]) | ||
155 | - g_object_unref (applet->vpn_connecting_icons[i]); | ||
156 | + if (applet->network_connecting_icon) | ||
157 | + g_object_unref (applet->network_connecting_icon); | ||
158 | |||
159 | nma_icons_zero (applet); | ||
160 | } | ||
161 | @@ -3196,16 +3111,7 @@ | ||
162 | applet->wireless_75_icon = NULL; | ||
163 | applet->wireless_100_icon = NULL; | ||
164 | |||
165 | - for (i = 0; i < NUM_CONNECTING_STAGES; i++) | ||
166 | - { | ||
167 | - int j; | ||
168 | - | ||
169 | - for (j = 0; j < NUM_CONNECTING_FRAMES; j++) | ||
170 | - applet->network_connecting_icons[i][j] = NULL; | ||
171 | - } | ||
172 | - | ||
173 | - for (i = 0; i < NUM_VPN_CONNECTING_FRAMES; i++) | ||
174 | - applet->vpn_connecting_icons[i] = NULL; | ||
175 | + applet->network_connecting_icon = NULL; | ||
176 | |||
177 | applet->icons_loaded = FALSE; | ||
178 | } | ||
179 | @@ -3257,28 +3163,7 @@ | ||
180 | ICON_LOAD(applet->wireless_75_icon, "nm-signal-75"); | ||
181 | ICON_LOAD(applet->wireless_100_icon, "nm-signal-100"); | ||
182 | |||
183 | - for (i = 0; i < NUM_CONNECTING_STAGES; i++) | ||
184 | - { | ||
185 | - int j; | ||
186 | - | ||
187 | - for (j = 0; j < NUM_CONNECTING_FRAMES; j++) | ||
188 | - { | ||
189 | - char *name; | ||
190 | - | ||
191 | - name = g_strdup_printf ("nm-stage%02d-connecting%02d", i+1, j+1); | ||
192 | - ICON_LOAD(applet->network_connecting_icons[i][j], name); | ||
193 | - g_free (name); | ||
194 | - } | ||
195 | - } | ||
196 | - | ||
197 | - for (i = 0; i < NUM_VPN_CONNECTING_FRAMES; i++) | ||
198 | - { | ||
199 | - char *name; | ||
200 | - | ||
201 | - name = g_strdup_printf ("nm-vpn-connecting%02d", i+1); | ||
202 | - ICON_LOAD(applet->vpn_connecting_icons[i], name); | ||
203 | - g_free (name); | ||
204 | - } | ||
205 | + ICON_LOAD(applet->network_connecting_icon, "nm-connecting"); | ||
206 | |||
207 | success = TRUE; | ||
208 | |||
209 | Index: trunk/src/applet.h | ||
210 | =================================================================== | ||
211 | --- trunk.orig/src/applet.h 2008-02-06 20:30:06.000000000 +0000 | ||
212 | +++ trunk/src/applet.h 2008-02-06 20:46:05.000000000 +0000 | ||
213 | @@ -111,20 +111,12 @@ | ||
214 | GdkPixbuf * wireless_50_icon; | ||
215 | GdkPixbuf * wireless_75_icon; | ||
216 | GdkPixbuf * wireless_100_icon; | ||
217 | -#define NUM_CONNECTING_STAGES 3 | ||
218 | -#define NUM_CONNECTING_FRAMES 11 | ||
219 | - GdkPixbuf * network_connecting_icons[NUM_CONNECTING_STAGES][NUM_CONNECTING_FRAMES]; | ||
220 | -#define NUM_VPN_CONNECTING_FRAMES 14 | ||
221 | - GdkPixbuf * vpn_connecting_icons[NUM_VPN_CONNECTING_FRAMES]; | ||
222 | + GdkPixbuf * network_connecting_icon; | ||
223 | GdkPixbuf * vpn_lock_icon; | ||
224 | |||
225 | /* Active status icon pixbufs */ | ||
226 | GdkPixbuf * icon_layers[ICON_LAYER_MAX + 1]; | ||
227 | |||
228 | - /* Animation stuff */ | ||
229 | - int animation_step; | ||
230 | - guint animation_id; | ||
231 | - | ||
232 | /* Direct UI elements */ | ||
233 | #ifdef HAVE_STATUS_ICON | ||
234 | GtkStatusIcon * status_icon; | ||
diff --git a/meta-extras/packages/networkmanager/files/applet-no-gnome.diff b/meta-extras/packages/networkmanager/files/applet-no-gnome.diff new file mode 100644 index 0000000000..e098e8c9ed --- /dev/null +++ b/meta-extras/packages/networkmanager/files/applet-no-gnome.diff | |||
@@ -0,0 +1,59 @@ | |||
1 | --- | ||
2 | configure.ac | 3 +-- | ||
3 | src/main.c | 8 ++++++++ | ||
4 | 2 files changed, 9 insertions(+), 2 deletions(-) | ||
5 | |||
6 | Index: src/main.c | ||
7 | =================================================================== | ||
8 | --- src/main.c.orig 2007-09-26 10:39:16.000000000 +0100 | ||
9 | +++ src/main.c 2007-09-26 10:39:37.000000000 +0100 | ||
10 | @@ -27,7 +27,9 @@ | ||
11 | |||
12 | #include <string.h> | ||
13 | #include <gtk/gtk.h> | ||
14 | +#if 0 | ||
15 | #include <libgnomeui/libgnomeui.h> | ||
16 | +#endif | ||
17 | #include <glib/gi18n-lib.h> | ||
18 | |||
19 | #include "applet.h" | ||
20 | @@ -36,11 +38,15 @@ | ||
21 | int main (int argc, char *argv[]) | ||
22 | { | ||
23 | NMApplet * applet; | ||
24 | +#if 0 | ||
25 | GnomeProgram * program; | ||
26 | |||
27 | program = gnome_program_init ("nm-applet", VERSION, LIBGNOMEUI_MODULE, | ||
28 | argc, argv, | ||
29 | GNOME_PARAM_NONE, GNOME_PARAM_NONE); | ||
30 | +#else | ||
31 | + gtk_init (&argc, &argv); | ||
32 | +#endif | ||
33 | |||
34 | bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR); | ||
35 | bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); | ||
36 | @@ -53,7 +59,9 @@ int main (int argc, char *argv[]) | ||
37 | gtk_main (); | ||
38 | |||
39 | g_object_unref (applet); | ||
40 | +#if 0 | ||
41 | g_object_unref (program); | ||
42 | +#endif | ||
43 | |||
44 | exit (0); | ||
45 | } | ||
46 | Index: configure.ac | ||
47 | =================================================================== | ||
48 | --- configure.ac.orig 2007-09-26 10:39:30.000000000 +0100 | ||
49 | +++ configure.ac 2007-09-26 10:39:37.000000000 +0100 | ||
50 | @@ -65,8 +65,7 @@ PKG_CHECK_MODULES(NMA, | ||
51 | gtk+-2.0 >= 2.6 | ||
52 | libglade-2.0 | ||
53 | gconf-2.0 | ||
54 | - gnome-keyring-1 | ||
55 | - libgnomeui-2.0]) | ||
56 | + gnome-keyring-1]) | ||
57 | |||
58 | ##### Find out the version of DBUS we're using | ||
59 | dbus_version=`pkg-config --modversion dbus-1` | ||
diff --git a/meta-extras/packages/networkmanager/files/libnlfix.patch b/meta-extras/packages/networkmanager/files/libnlfix.patch new file mode 100644 index 0000000000..69f4922ea0 --- /dev/null +++ b/meta-extras/packages/networkmanager/files/libnlfix.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | Index: trunk/src/nm-netlink.c | ||
2 | =================================================================== | ||
3 | --- trunk.orig/src/nm-netlink.c 2007-09-25 22:37:50.000000000 +0100 | ||
4 | +++ trunk/src/nm-netlink.c 2009-05-16 12:44:26.000000000 +0100 | ||
5 | @@ -52,16 +52,20 @@ | ||
6 | struct nl_handle * | ||
7 | nm_netlink_get_default_handle (void) | ||
8 | { | ||
9 | + struct nl_cb *cb; | ||
10 | + | ||
11 | if (def_nl_handle) | ||
12 | return def_nl_handle; | ||
13 | |||
14 | - def_nl_handle = nl_handle_alloc_nondefault (NL_CB_VERBOSE); | ||
15 | - g_assert (def_nl_handle); | ||
16 | + cb = nl_cb_alloc(NL_CB_VERBOSE); | ||
17 | + def_nl_handle = nl_handle_alloc_cb (cb); | ||
18 | + if (!def_nl_handle) { | ||
19 | + nm_warning ("couldn't allocate netlink handle."); | ||
20 | + return NULL; | ||
21 | + } | ||
22 | |||
23 | - nl_handle_set_pid (def_nl_handle, (pthread_self () << 16 | getpid ())); | ||
24 | if (nl_connect (def_nl_handle, NETLINK_ROUTE) < 0) { | ||
25 | nm_error ("couldn't connect to netlink: %s", nl_geterror ()); | ||
26 | - nl_handle_destroy (def_nl_handle); | ||
27 | return NULL; | ||
28 | } | ||
29 | |||
diff --git a/meta-extras/packages/networkmanager/files/makefile-fix.patch b/meta-extras/packages/networkmanager/files/makefile-fix.patch new file mode 100644 index 0000000000..5fbbf3a74a --- /dev/null +++ b/meta-extras/packages/networkmanager/files/makefile-fix.patch | |||
@@ -0,0 +1,17 @@ | |||
1 | This line causes libtool to try and create a program which fails since there is no | ||
2 | main(). This is hidden with libtool 1.5.10 but appears with 2.2.2. | ||
3 | |||
4 | RP - 14/4/08 | ||
5 | |||
6 | Index: trunk/src/ppp-manager/Makefile.am | ||
7 | =================================================================== | ||
8 | --- trunk.orig/src/ppp-manager/Makefile.am 2008-04-14 23:00:54.000000000 +0100 | ||
9 | +++ trunk/src/ppp-manager/Makefile.am 2008-04-14 23:01:24.000000000 +0100 | ||
10 | @@ -25,7 +25,6 @@ | ||
11 | $(top_builddir)/src/marshallers/libmarshallers.la | ||
12 | |||
13 | nm_pppd_plugindir = $(libdir) | ||
14 | -nm_pppd_plugin_PROGRAMS = nm-pppd-plugin.so | ||
15 | |||
16 | nm_pppd_plugin_so_SOURCES = \ | ||
17 | nm-pppd-plugin.c \ | ||
diff --git a/meta-extras/packages/networkmanager/files/nmutil-fix.patch b/meta-extras/packages/networkmanager/files/nmutil-fix.patch new file mode 100644 index 0000000000..d8495bac40 --- /dev/null +++ b/meta-extras/packages/networkmanager/files/nmutil-fix.patch | |||
@@ -0,0 +1,12 @@ | |||
1 | Index: trunk/configure.ac | ||
2 | =================================================================== | ||
3 | --- trunk.orig/configure.ac 2009-01-08 10:49:26.000000000 -0600 | ||
4 | +++ trunk/configure.ac 2009-01-08 12:00:34.000000000 -0600 | ||
5 | @@ -62,6 +62,7 @@ | ||
6 | glib-2.0 >= 2.10 | ||
7 | NetworkManager >= 0.7.0 | ||
8 | libnm_glib | ||
9 | + libnm-util | ||
10 | gtk+-2.0 >= 2.6 | ||
11 | libglade-2.0 | ||
12 | gconf-2.0 | ||
diff --git a/meta-extras/packages/networkmanager/files/no-restarts.diff b/meta-extras/packages/networkmanager/files/no-restarts.diff new file mode 100644 index 0000000000..20bdf82aab --- /dev/null +++ b/meta-extras/packages/networkmanager/files/no-restarts.diff | |||
@@ -0,0 +1,21 @@ | |||
1 | Index: src/backends/NetworkManagerDebian.c | ||
2 | =================================================================== | ||
3 | --- src/backends/NetworkManagerDebian.c (revision 2881) | ||
4 | +++ src/backends/NetworkManagerDebian.c (working copy) | ||
5 | @@ -204,8 +204,6 @@ | ||
6 | */ | ||
7 | void nm_system_update_dns (void) | ||
8 | { | ||
9 | - nm_spawn_process ("/usr/sbin/invoke-rc.d nscd restart"); | ||
10 | - | ||
11 | } | ||
12 | |||
13 | |||
14 | @@ -218,7 +216,6 @@ | ||
15 | */ | ||
16 | void nm_system_restart_mdns_responder (void) | ||
17 | { | ||
18 | - nm_spawn_process ("/usr/bin/killall -q -USR1 mDNSResponder"); | ||
19 | } | ||
20 | |||
21 | |||
diff --git a/meta-extras/packages/networkmanager/files/no_vpn.patch b/meta-extras/packages/networkmanager/files/no_vpn.patch new file mode 100644 index 0000000000..49423e879f --- /dev/null +++ b/meta-extras/packages/networkmanager/files/no_vpn.patch | |||
@@ -0,0 +1,13 @@ | |||
1 | Index: trunk/src/applet.c | ||
2 | =================================================================== | ||
3 | --- trunk.orig/src/applet.c 2008-02-29 17:47:39.000000000 +0000 | ||
4 | +++ trunk/src/applet.c 2008-02-29 17:48:38.000000000 +0000 | ||
5 | @@ -1783,7 +1783,7 @@ | ||
6 | } | ||
7 | |||
8 | nma_menu_add_devices (menu, applet); | ||
9 | - nma_menu_add_vpn_submenu (menu, applet); | ||
10 | + //nma_menu_add_vpn_submenu (menu, applet); | ||
11 | |||
12 | gtk_widget_show_all (applet->menu); | ||
13 | |||
diff --git a/meta-extras/packages/networkmanager/networkmanager-applet_svn.bb b/meta-extras/packages/networkmanager/networkmanager-applet_svn.bb new file mode 100644 index 0000000000..1f0987011f --- /dev/null +++ b/meta-extras/packages/networkmanager/networkmanager-applet_svn.bb | |||
@@ -0,0 +1,33 @@ | |||
1 | DESCRIPTION = "GTK+ applet for NetworkManager" | ||
2 | HOMEPAGE = "http://projects.gnome.org/NetworkManager/" | ||
3 | BUGTRACKER = "https://bugzilla.gnome.org/buglist.cgi?query_format=specific&order=relevance+desc&bug_status=__open__&product=NetworkManager&content=" | ||
4 | LICENSE = "GPLv2+ & LGPLv2.1+" | ||
5 | DEPENDS = "networkmanager dbus-glib libglade gconf gnome-keyring" | ||
6 | #TODO DEPENDS libnotify | ||
7 | RDEPENDS = "networkmanager dbus-wait" | ||
8 | PR = "r7" | ||
9 | |||
10 | inherit gnome gtk-icon-cache | ||
11 | |||
12 | SRC_URI = "svn://svn.gnome.org/svn/network-manager-applet/;module=trunk;proto=http \ | ||
13 | file://applet-no-gnome.diff;patch=1;pnum=0 \ | ||
14 | file://applet-no-animation.patch;patch=1 \ | ||
15 | file://no_vpn.patch;patch=1 \ | ||
16 | file://nmutil-fix.patch;patch=1 \ | ||
17 | file://70NetworkManagerApplet.shbg" | ||
18 | |||
19 | PV = "0.0+svnr${SRCREV}" | ||
20 | |||
21 | S = "${WORKDIR}/trunk" | ||
22 | |||
23 | FILES_${PN} += "${datadir}/nm-applet/ \ | ||
24 | ${datadir}/gnome-vpn-properties/ \ | ||
25 | ${datadir}/gnome/autostart/" | ||
26 | |||
27 | do_install_append () { | ||
28 | install -d ${D}${sysconfdir}/X11/Xsession.d/ | ||
29 | install -m 755 ${WORKDIR}/70NetworkManagerApplet.shbg ${D}${sysconfdir}/X11/Xsession.d/ | ||
30 | } | ||
31 | |||
32 | #TODO: remove if libnotify in DEPENDS | ||
33 | EXTRA_OECONF += "--without-libnotify" | ||
diff --git a/meta-extras/packages/networkmanager/networkmanager_svn.bb b/meta-extras/packages/networkmanager/networkmanager_svn.bb new file mode 100644 index 0000000000..40f04e497c --- /dev/null +++ b/meta-extras/packages/networkmanager/networkmanager_svn.bb | |||
@@ -0,0 +1,51 @@ | |||
1 | DESCRIPTION = "NetworkManager" | ||
2 | HOMEPAGE = "http://projects.gnome.org/NetworkManager/" | ||
3 | BUGTRACKER = "https://bugzilla.gnome.org/buglist.cgi?query_format=specific&order=relevance+desc&bug_status=__open__&product=NetworkManager&content=" | ||
4 | SECTION = "net/misc" | ||
5 | LICENSE = "GPLv2+ & LGPLv2+" | ||
6 | PRIORITY = "optional" | ||
7 | DEPENDS = "libnl dbus dbus-glib hal gconf-dbus wireless-tools ppp gnome-common polkit" | ||
8 | RDEPENDS = "hal wpa-supplicant iproute2 dhcp-client" | ||
9 | |||
10 | PV = "0.7+svnr${SRCREV}" | ||
11 | PR = "r10" | ||
12 | |||
13 | SRC_URI="svn://svn.gnome.org/svn/NetworkManager/;module=trunk;proto=http \ | ||
14 | file://no-restarts.diff;patch=1;pnum=0 \ | ||
15 | file://libnlfix.patch;patch=1 \ | ||
16 | file://makefile-fix.patch;patch=1 \ | ||
17 | file://allow-disabling.patch;patch=1 \ | ||
18 | file://NetworkManager \ | ||
19 | file://99_networkmanager" | ||
20 | |||
21 | EXTRA_OECONF = "--with-distro=debian \ | ||
22 | --with-ip=/sbin/ip" | ||
23 | # TODO: will /bin/ip from busybox do? | ||
24 | |||
25 | S = "${WORKDIR}/trunk" | ||
26 | |||
27 | inherit autotools pkgconfig update-rc.d | ||
28 | |||
29 | INITSCRIPT_NAME = "NetworkManager" | ||
30 | INITSCRIPT_PARAMS = "defaults 22" | ||
31 | |||
32 | do_install_append () { | ||
33 | install -d ${D}/etc/default/volatiles | ||
34 | install -m 0644 ${WORKDIR}/99_networkmanager ${D}/etc/default/volatiles | ||
35 | # This overwrites the provided init script | ||
36 | install -m 0755 ${WORKDIR}/NetworkManager ${D}/etc/init.d/ | ||
37 | rmdir ${D}/var/run/NetworkManager | ||
38 | rmdir ${D}/var/run | ||
39 | } | ||
40 | |||
41 | PACKAGES =+ "libnmutil libnmglib" | ||
42 | |||
43 | FILES_libnmutil += "${libdir}/libnm-util.so.*" | ||
44 | |||
45 | FILES_libnmglib += "${libdir}/libnm_glib.so.*" | ||
46 | |||
47 | FILES_${PN}-dev = "${includedir}/* \ | ||
48 | ${libdir}/*.so \ | ||
49 | ${libdir}/*.a \ | ||
50 | ${libdir}/pkgconfig/*.pc \ | ||
51 | ${datadir}/NetworkManager/gdb-cmd" | ||
diff --git a/meta-extras/packages/qmake/qmake2-cross/0001-fix-mkspecs.patch b/meta-extras/packages/qmake/qmake2-cross/0001-fix-mkspecs.patch new file mode 100644 index 0000000000..4ebc3dea8d --- /dev/null +++ b/meta-extras/packages/qmake/qmake2-cross/0001-fix-mkspecs.patch | |||
@@ -0,0 +1,120 @@ | |||
1 | From 594157753a24d0575aaf948dc0e9500f6bdb2178 Mon Sep 17 00:00:00 2001 | ||
2 | From: Michael Krelin <hacker@klever.net> | ||
3 | Date: Sat, 2 Jun 2007 16:39:58 +0200 | ||
4 | Subject: [PATCH] fix mkspecs | ||
5 | |||
6 | --- | ||
7 | mkspecs/common/g++.conf | 18 +++++++++--------- | ||
8 | mkspecs/common/linux.conf | 26 +++++++++++++------------- | ||
9 | 2 files changed, 22 insertions(+), 22 deletions(-) | ||
10 | |||
11 | Index: qt-embedded-linux-opensource-src-4.5.3/mkspecs/common/g++.conf | ||
12 | =================================================================== | ||
13 | --- qt-embedded-linux-opensource-src-4.5.3.orig/mkspecs/common/g++.conf | ||
14 | +++ qt-embedded-linux-opensource-src-4.5.3/mkspecs/common/g++.conf | ||
15 | @@ -2,12 +2,12 @@ | ||
16 | # qmake configuration for common gcc | ||
17 | # | ||
18 | |||
19 | -QMAKE_CC = gcc | ||
20 | -QMAKE_CFLAGS += -pipe | ||
21 | +QMAKE_CC = $(OE_QMAKE_CC) | ||
22 | +QMAKE_CFLAGS += -pipe $(OE_QMAKE_CFLAGS) | ||
23 | QMAKE_CFLAGS_DEPS += -M | ||
24 | QMAKE_CFLAGS_WARN_ON += -Wall -W | ||
25 | QMAKE_CFLAGS_WARN_OFF += -w | ||
26 | -QMAKE_CFLAGS_RELEASE += -O2 | ||
27 | +QMAKE_CFLAGS_RELEASE += -O2 | ||
28 | QMAKE_CFLAGS_DEBUG += -g | ||
29 | QMAKE_CFLAGS_SHLIB += -fPIC | ||
30 | QMAKE_CFLAGS_STATIC_LIB += -fPIC | ||
31 | @@ -16,8 +16,8 @@ QMAKE_CFLAGS_HIDESYMS += -fvisibility= | ||
32 | QMAKE_CFLAGS_PRECOMPILE += -x c-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT} | ||
33 | QMAKE_CFLAGS_USE_PRECOMPILE += -include ${QMAKE_PCH_OUTPUT_BASE} | ||
34 | |||
35 | -QMAKE_CXX = g++ | ||
36 | -QMAKE_CXXFLAGS += $$QMAKE_CFLAGS | ||
37 | +QMAKE_CXX = $(OE_QMAKE_CXX) | ||
38 | +QMAKE_CXXFLAGS += $$QMAKE_CFLAGS $(OE_QMAKE_CXXFLAGS) | ||
39 | QMAKE_CXXFLAGS_DEPS += $$QMAKE_CFLAGS_DEPS | ||
40 | QMAKE_CXXFLAGS_WARN_ON += $$QMAKE_CFLAGS_WARN_ON | ||
41 | QMAKE_CXXFLAGS_WARN_OFF += $$QMAKE_CFLAGS_WARN_OFF | ||
42 | @@ -30,11 +30,11 @@ QMAKE_CXXFLAGS_HIDESYMS += $$QMAKE_CFLAG | ||
43 | QMAKE_CXXFLAGS_PRECOMPILE += -x c++-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT} | ||
44 | QMAKE_CXXFLAGS_USE_PRECOMPILE = $$QMAKE_CFLAGS_USE_PRECOMPILE | ||
45 | |||
46 | -QMAKE_LINK = g++ | ||
47 | -QMAKE_LINK_SHLIB = g++ | ||
48 | -QMAKE_LINK_C = gcc | ||
49 | -QMAKE_LINK_C_SHLIB = gcc | ||
50 | -QMAKE_LFLAGS += | ||
51 | +QMAKE_LINK = $(OE_QMAKE_LINK) | ||
52 | +QMAKE_LINK_SHLIB = $(OE_QMAKE_LINK) | ||
53 | +QMAKE_LINK_C = $(OE_QMAKE_CC) | ||
54 | +QMAKE_LINK_C_SHLIB = $(OE_QMAKE_CC) | ||
55 | +QMAKE_LFLAGS += $(OE_QMAKE_LDFLAGS) | ||
56 | QMAKE_LFLAGS_RELEASE += -Wl,-O1 | ||
57 | QMAKE_LFLAGS_DEBUG += | ||
58 | QMAKE_LFLAGS_APP += | ||
59 | @@ -43,7 +43,7 @@ QMAKE_LFLAGS_PLUGIN += $$QMAKE_LFLAGS_SH | ||
60 | QMAKE_LFLAGS_SONAME += -Wl,-soname, | ||
61 | QMAKE_LFLAGS_THREAD += | ||
62 | QMAKE_LFLAGS_NOUNDEF += -Wl,--no-undefined | ||
63 | -QMAKE_RPATH = -Wl,-rpath, | ||
64 | +QMAKE_RPATH = -Wl,-rpath-link, | ||
65 | |||
66 | QMAKE_PCH_OUTPUT_EXT = .gch | ||
67 | |||
68 | Index: qt-embedded-linux-opensource-src-4.5.3/mkspecs/common/linux.conf | ||
69 | =================================================================== | ||
70 | --- qt-embedded-linux-opensource-src-4.5.3.orig/mkspecs/common/linux.conf | ||
71 | +++ qt-embedded-linux-opensource-src-4.5.3/mkspecs/common/linux.conf | ||
72 | @@ -7,27 +7,27 @@ QMAKE_CXXFLAGS_THREAD += $$QMAKE_CFLAGS_ | ||
73 | |||
74 | QMAKE_INCDIR = | ||
75 | QMAKE_LIBDIR = | ||
76 | -QMAKE_INCDIR_X11 = /usr/X11R6/include | ||
77 | -QMAKE_LIBDIR_X11 = /usr/X11R6/lib | ||
78 | -QMAKE_INCDIR_QT = $$[QT_INSTALL_HEADERS] | ||
79 | -QMAKE_LIBDIR_QT = $$[QT_INSTALL_LIBS] | ||
80 | -QMAKE_INCDIR_OPENGL = /usr/X11R6/include | ||
81 | -QMAKE_LIBDIR_OPENGL = /usr/X11R6/lib | ||
82 | +QMAKE_INCDIR_X11 = | ||
83 | +QMAKE_LIBDIR_X11 = | ||
84 | +QMAKE_INCDIR_QT = $(OE_QMAKE_INCDIR_QT) | ||
85 | +QMAKE_LIBDIR_QT = $(OE_QMAKE_LIBDIR_QT) | ||
86 | +QMAKE_INCDIR_OPENGL = | ||
87 | +QMAKE_LIBDIR_OPENGL = | ||
88 | |||
89 | QMAKE_LIBS = | ||
90 | QMAKE_LIBS_DYNLOAD = -ldl | ||
91 | -QMAKE_LIBS_X11 = -lXext -lX11 -lm | ||
92 | -QMAKE_LIBS_X11SM = -lSM -lICE | ||
93 | +QMAKE_LIBS_X11 = $(OE_QMAKE_LIBS_X11) | ||
94 | +QMAKE_LIBS_X11SM = $(OE_QMAKE_LIBS_X11SM) | ||
95 | QMAKE_LIBS_NIS = -lnsl | ||
96 | QMAKE_LIBS_OPENGL = -lGLU -lGL | ||
97 | QMAKE_LIBS_OPENGL_QT = -lGL | ||
98 | QMAKE_LIBS_THREAD = -lpthread | ||
99 | |||
100 | -QMAKE_MOC = $$[QT_INSTALL_BINS]/moc | ||
101 | -QMAKE_UIC = $$[QT_INSTALL_BINS]/uic | ||
102 | +QMAKE_MOC = $(OE_QMAKE_MOC) | ||
103 | +QMAKE_UIC = $(OE_QMAKE_UIC) | ||
104 | |||
105 | -QMAKE_AR = ar cqs | ||
106 | -QMAKE_OBJCOPY = objcopy | ||
107 | +QMAKE_AR = $(OE_QMAKE_AR) cqs | ||
108 | +QMAKE_OBJCOPY = $(OE_QMAKE_OBJCOPY) | ||
109 | QMAKE_RANLIB = | ||
110 | |||
111 | QMAKE_TAR = tar -cf | ||
112 | @@ -39,7 +39,7 @@ QMAKE_COPY_DIR = $(COPY) -r | ||
113 | QMAKE_MOVE = mv -f | ||
114 | QMAKE_DEL_FILE = rm -f | ||
115 | QMAKE_DEL_DIR = rmdir | ||
116 | -QMAKE_STRIP = strip | ||
117 | +QMAKE_STRIP = $(OE_QMAKE_STRIP) | ||
118 | QMAKE_STRIPFLAGS_LIB += --strip-unneeded | ||
119 | QMAKE_CHK_DIR_EXISTS = test -d | ||
120 | QMAKE_MKDIR = mkdir -p | ||
diff --git a/meta-extras/packages/qmake/qmake2-cross/linux-oe-qmake.conf b/meta-extras/packages/qmake/qmake2-cross/linux-oe-qmake.conf new file mode 100644 index 0000000000..f58481a693 --- /dev/null +++ b/meta-extras/packages/qmake/qmake2-cross/linux-oe-qmake.conf | |||
@@ -0,0 +1 @@ | |||
include(../linux-g++/qmake.conf) | |||
diff --git a/meta-extras/packages/qmake/qmake2-cross/use-lflags-last.patch b/meta-extras/packages/qmake/qmake2-cross/use-lflags-last.patch new file mode 100644 index 0000000000..4197dbbf64 --- /dev/null +++ b/meta-extras/packages/qmake/qmake2-cross/use-lflags-last.patch | |||
@@ -0,0 +1,22 @@ | |||
1 | Index: qtopia-core-opensource-src-4.3.1/qmake/generators/unix/unixmake2.cpp | ||
2 | =================================================================== | ||
3 | --- qtopia-core-opensource-src-4.3.1.orig/qmake/generators/unix/unixmake2.cpp 2007-10-07 13:45:26.000000000 +0200 | ||
4 | +++ qtopia-core-opensource-src-4.3.1/qmake/generators/unix/unixmake2.cpp 2007-10-07 13:57:09.000000000 +0200 | ||
5 | @@ -416,7 +416,7 @@ | ||
6 | t << "\n\t" << mkdir_p_asstring(destdir) << "\n\t"; | ||
7 | if(!project->isEmpty("QMAKE_PRE_LINK")) | ||
8 | t << var("QMAKE_PRE_LINK") << "\n\t"; | ||
9 | - t << "$(LINK) $(LFLAGS) -o $(TARGET) " << incr_deps << " " << incr_objs << " $(OBJCOMP) $(LIBS)"; | ||
10 | + t << "$(LINK) -o $(TARGET) " << incr_deps << " " << incr_objs << " $(OBJCOMP) $(LIBS) $(LFLAGS)"; | ||
11 | if(!project->isEmpty("QMAKE_POST_LINK")) | ||
12 | t << "\n\t" << var("QMAKE_POST_LINK"); | ||
13 | t << endl << endl; | ||
14 | @@ -430,7 +430,7 @@ | ||
15 | t << mkdir_p_asstring(destdir) << "\n\t"; | ||
16 | if(!project->isEmpty("QMAKE_PRE_LINK")) | ||
17 | t << var("QMAKE_PRE_LINK") << "\n\t"; | ||
18 | - t << "$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)"; | ||
19 | + t << "$(LINK) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS) $(LFLAGS)"; | ||
20 | if(!project->isEmpty("QMAKE_POST_LINK")) | ||
21 | t << "\n\t" << var("QMAKE_POST_LINK"); | ||
22 | t << endl << endl; | ||
diff --git a/meta-extras/packages/qmake/qmake2-cross_2.10a.bb b/meta-extras/packages/qmake/qmake2-cross_2.10a.bb new file mode 100644 index 0000000000..60f738b9ce --- /dev/null +++ b/meta-extras/packages/qmake/qmake2-cross_2.10a.bb | |||
@@ -0,0 +1,74 @@ | |||
1 | DESCRIPTION = "TrollTech Makefile Generator" | ||
2 | PRIORITY = "optional" | ||
3 | HOMEPAGE = "http://www.trolltech.com" | ||
4 | SECTION = "devel" | ||
5 | LICENSE = "GPL" | ||
6 | PR = "r2" | ||
7 | |||
8 | QTVER = "qt-embedded-linux-opensource-src-4.5.3" | ||
9 | |||
10 | SRC_URI = "ftp://ftp.trolltech.com/pub/qt/source/${QTVER}.tar.gz \ | ||
11 | file://0001-fix-mkspecs.patch;patch=1 \ | ||
12 | file://use-lflags-last.patch;patch=1 \ | ||
13 | file://linux-oe-qmake.conf" | ||
14 | S = "${WORKDIR}/${QTVER}" | ||
15 | |||
16 | # we need the real target system here | ||
17 | CROSS_SYS := "${TARGET_SYS}" | ||
18 | CROSS_BINDIR := "${STAGING_BINDIR_CROSS}" | ||
19 | inherit autotools cross | ||
20 | |||
21 | export QTDIR = "${S}" | ||
22 | EXTRA_OEMAKE = "-e" | ||
23 | EXTRA_OECONF = "-opensource" | ||
24 | |||
25 | do_configure() { | ||
26 | # Install the OE build templates | ||
27 | for template in linux-oe-g++ linux-uclibc-oe-g++ linux-gnueabi-oe-g++ | ||
28 | do | ||
29 | install -d ${S}/mkspecs/$template | ||
30 | install -m 0644 ${WORKDIR}/linux-oe-qmake.conf ${S}/mkspecs/$template/qmake.conf | ||
31 | ln -sf ../linux-g++/qplatformdefs.h ${S}/mkspecs/$template/qplatformdefs.h | ||
32 | done | ||
33 | |||
34 | QMAKESPEC= | ||
35 | PLATFORM=${HOST_OS}-oe-g++ | ||
36 | export PLATFORM | ||
37 | # yes, TARGET_SYS is correct, because this is a 'cross'-qmake-native :) :M: | ||
38 | export OE_QMAKE_CC="${CC}" | ||
39 | export OE_QMAKE_CFLAGS="${CFLAGS}" | ||
40 | export OE_QMAKE_CXX="${CXX}" | ||
41 | export OE_QMAKE_CXXFLAGS="-fno-exceptions -fno-rtti ${CXXFLAGS}" | ||
42 | export OE_QMAKE_LDFLAGS="${LDFLAGS}" | ||
43 | export OE_QMAKE_LINK="${CCLD}" | ||
44 | export OE_QMAKE_AR="${AR}" | ||
45 | export OE_QMAKE_OBJCOPY="${OBJCOPY}" | ||
46 | export OE_QMAKE_STRIP="${STRIP}" | ||
47 | export OE_QMAKE_UIC="${STAGING_BINDIR_NATIVE}/uic" | ||
48 | export OE_QMAKE_MOC="${STAGING_BINDIR_NATIVE}/moc" | ||
49 | export OE_QMAKE_RCC="non-existant" | ||
50 | export OE_QMAKE_QMAKE="${STAGING_BINDIR_NATIVE}/qmake" | ||
51 | export OE_QMAKE_RPATH="-Wl,-rpath-link," | ||
52 | echo yes | ./configure -prefix ${STAGING_DIR}/${CROSS_SYS}/qt4 ${EXTRA_OECONF} || die "Configuring qt failed" | ||
53 | } | ||
54 | |||
55 | do_compile() { | ||
56 | : | ||
57 | } | ||
58 | |||
59 | do_install() { | ||
60 | install -d ${D}${CROSS_BINDIR}/ | ||
61 | install -m 0755 bin/qmake ${D}${CROSS_BINDIR}/qmake2 | ||
62 | install -m 0755 bin/qmake ${D}${CROSS_BINDIR}/qmake-qt4 | ||
63 | install -d ${D}${STAGING_DIR}/${CROSS_SYS}/qt4/ | ||
64 | cp -PfR mkspecs ${D}${STAGING_DIR}/${CROSS_SYS}/qt4/ | ||
65 | install -d ${D}${STAGING_DIR}/${HOST_SYS}/qt4/ | ||
66 | cp -PfR mkspecs ${D}${STAGING_DIR}/${HOST_SYS}/qt4/ | ||
67 | } | ||
68 | |||
69 | sysroot_stage_all_append() { | ||
70 | sysroot_stage_dir ${D}/${STAGING_DIR_NATIVE}/qt4 ${SYSROOT_DESTDIR}/${STAGING_DIR_NATIVE}/qt4 | ||
71 | sysroot_stage_dir ${D}/${STAGING_DIR_TARGET}/qt4 ${SYSROOT_DESTDIR}/${STAGING_DIR_TARGET}/qt4 | ||
72 | } | ||
73 | |||
74 | |||
diff --git a/meta-extras/packages/smart/smart_1.1.bb b/meta-extras/packages/smart/smart_1.1.bb new file mode 100644 index 0000000000..8f89eb3e00 --- /dev/null +++ b/meta-extras/packages/smart/smart_1.1.bb | |||
@@ -0,0 +1,29 @@ | |||
1 | DESCRIPTION = "Next generation package handling tool." | ||
2 | HOMEPAGE = "http://labix.org/smart/" | ||
3 | LICENSE = "GPL v2+" | ||
4 | DEPENDS = "zlib python desktop-file-utils-native python-pygtk rpm" | ||
5 | |||
6 | SRC_URI = "http://labix.org/download/smart/smart-1.1.tar.bz2" | ||
7 | |||
8 | S = "${WORKDIR}/smart-${PV}" | ||
9 | |||
10 | inherit distutils | ||
11 | |||
12 | FILES_${PN} += "/usr/share/lib/${PYTHON_DIR}/site-packages/smart/interfaces/images/*.png \ | ||
13 | /usr/share/lib/${PYTHON_DIR/site-packages/smart/backends/" | ||
14 | |||
15 | FILES_${PN}-doc += "/usr/share/share/man/man8/smart.8" | ||
16 | |||
17 | FILES_${PN}-locale += "/usr/share/share/locale/es_ES/LC_MESSAGES/smart.mo \ | ||
18 | /usr/share/share/locale/it/LC_MESSAGES/smart.mo \ | ||
19 | /usr/share/share/locale/de/LC_MESSAGES/smart.mo \ | ||
20 | /usr/share/share/locale/ru/LC_MESSAGES/smart.mo \ | ||
21 | /usr/share/share/locale/sv/LC_MESSAGES/smart.mo \ | ||
22 | /usr/share/share/locale/fr/LC_MESSAGES/smart.mo \ | ||
23 | /usr/share/share/locale/hu/LC_MESSAGES/smart.mo \ | ||
24 | /usr/share/share/locale/zh_TW/LC_MESSAGES/smart.mo \ | ||
25 | /usr/share/share/locale/pt_BR/LC_MESSAGES/smart.mo \ | ||
26 | /usr/share/share/locale/zh_CN/LC_MESSAGES/smart.mo" | ||
27 | |||
28 | FILES_${PN}-dbg += "/usr/lib/${PYTHON_DIR}/site-packages/smart/backends/rpm/.debug \ | ||
29 | /usr/lib/${PYTHON_DIR}/site-packages/smart/backends/deb/.debug \" \ No newline at end of file | ||
diff --git a/meta-extras/packages/uicmoc/uicmoc4-native.inc b/meta-extras/packages/uicmoc/uicmoc4-native.inc new file mode 100644 index 0000000000..b6933628d9 --- /dev/null +++ b/meta-extras/packages/uicmoc/uicmoc4-native.inc | |||
@@ -0,0 +1,67 @@ | |||
1 | DESCRIPTION = "User-Interface-, Meta-Object-, and Resource Compiler for Qt/[X11|Mac|Embedded] version 4.x" | ||
2 | DEPENDS = "zlib-native" | ||
3 | SECTION = "libs" | ||
4 | HOMEPAGE = "http://www.trolltech.com" | ||
5 | PRIORITY = "optional" | ||
6 | LICENSE = "GPL" | ||
7 | PR = "r1" | ||
8 | |||
9 | SRC_URI = "ftp://ftp.trolltech.com/qt/source/qtopia-core-opensource-src-${PV}.tar.gz" | ||
10 | S = "${WORKDIR}/qtopia-core-opensource-src-${PV}" | ||
11 | |||
12 | inherit native | ||
13 | |||
14 | EXTRA_OECONF = "-prefix ${STAGING_DIR_NATIVE}/qt4 \ | ||
15 | -qt-libjpeg -qt-gif -system-zlib \ | ||
16 | -no-nis -no-cups -no-exceptions \ | ||
17 | -no-accessibility -no-libjpeg \ | ||
18 | -no-nas-sound -no-sm \ | ||
19 | -no-xshape -no-xinerama \ | ||
20 | -no-xcursor -no-xrandr \ | ||
21 | -no-xrender -no-fontconfig \ | ||
22 | -no-tablet -no-xkb \ | ||
23 | -no-libpng \ | ||
24 | -verbose -release -fast -static \ | ||
25 | -L ${STAGING_LIBDIR_NATIVE} \ | ||
26 | -qt3support " | ||
27 | # yank default -e | ||
28 | EXTRA_OEMAKE = " " | ||
29 | |||
30 | do_configure() { | ||
31 | sed -i 's:^QT += xml qt3support$:QT += xml qt3support network:' "${S}"/src/tools/uic3/uic3.pro | ||
32 | echo yes | ./configure ${EXTRA_OECONF} || die "Configuring qt failed. EXTRA_OECONF was ${EXTRA_OECONF}" | ||
33 | } | ||
34 | |||
35 | TOBUILD = "\ | ||
36 | src/tools/moc \ | ||
37 | src/corelib \ | ||
38 | src/sql \ | ||
39 | src/qt3support \ | ||
40 | src/xml \ | ||
41 | src/tools/uic \ | ||
42 | src/tools/rcc \ | ||
43 | src/network \ | ||
44 | src/gui \ | ||
45 | src/tools/uic3 \ | ||
46 | " | ||
47 | |||
48 | do_compile() { | ||
49 | unset CC CXX CFLAGS LFLAGS CXXFLAGS CPPFLAGS | ||
50 | for i in ${TOBUILD}; do | ||
51 | cd ${S}/$i && oe_runmake CC="${CC}" CXX="${CXX}" | ||
52 | done | ||
53 | } | ||
54 | |||
55 | do_install() { | ||
56 | install -d ${D}${bindir}/ | ||
57 | install -m 0755 bin/moc ${D}${bindir}//moc4 | ||
58 | install -m 0755 bin/uic ${D}${bindir}/uic4 | ||
59 | install -m 0755 bin/uic3 ${D}${bindir}/uic34 | ||
60 | install -m 0755 bin/rcc $${D}${bindir}/rcc4 | ||
61 | install -d ${D}/qt4/ | ||
62 | install -m 0644 tools/porting/src/q3porting.xml ${D}/qt4/ | ||
63 | } | ||
64 | |||
65 | sysroot_stage_all_append() { | ||
66 | sysroot_stage_dir ${D}/qt4 ${SYSROOT_DESTDIR}/${STAGING_DIR_TARGET}/qt4 | ||
67 | } | ||
diff --git a/meta-extras/packages/uicmoc/uicmoc4-native_4.3.2.bb b/meta-extras/packages/uicmoc/uicmoc4-native_4.3.2.bb new file mode 100644 index 0000000000..1950f63068 --- /dev/null +++ b/meta-extras/packages/uicmoc/uicmoc4-native_4.3.2.bb | |||
@@ -0,0 +1 @@ | |||
require uicmoc4-native.inc | |||