summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-08 14:25:59 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-08 14:49:16 +0100
commit67f6baa72a2c4ab868ec9c333863476e4e77513a (patch)
tree00b72871d7f12e556eb98c67c1a0b3b0c94c3871
parent71e56f8d89c05859ddb817731653d39a8145fb98 (diff)
downloadpoky-67f6baa72a2c4ab868ec9c333863476e4e77513a.tar.gz
meta-demoapps: Remove except for xeyes and pong-clock
http://lists.linuxtogo.org/pipermail/openembedded-core/2012-May/022059.html As proposed by Martin Jansa with a couple of changes from me. (From OE-Core rev: 204ee7391c19f9b2fa7f8b2ef46d04c7ccf5bd42) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta-demoapps/recipes-connectivity/farsight/farsight2_0.0.9.bb23
-rw-r--r--meta-demoapps/recipes-connectivity/farsight/libnice_0.0.6.bb23
-rw-r--r--meta-demoapps/recipes-connectivity/libetpan/files/cxx-is-here.patch20
-rw-r--r--meta-demoapps/recipes-connectivity/libetpan/libetpan_0.54.bb20
-rw-r--r--meta-demoapps/recipes-connectivity/loudmouth/loudmouth_1.4.0.bb10
-rw-r--r--meta-demoapps/recipes-connectivity/openswan/openswan-2.4.7/installflags.patch15
-rw-r--r--meta-demoapps/recipes-connectivity/openswan/openswan-2.4.7/ld-library-path-breakage.patch28
-rw-r--r--meta-demoapps/recipes-connectivity/openswan/openswan-2.4.7/openswan-2.4.7-gentoo.patch379
-rw-r--r--meta-demoapps/recipes-connectivity/openswan/openswan_2.4.7.bb36
-rw-r--r--meta-demoapps/recipes-connectivity/opensync/libopensync-0.37/build-in-src.patch20
-rw-r--r--meta-demoapps/recipes-connectivity/opensync/libopensync-0.37/cmake.patch19
-rw-r--r--meta-demoapps/recipes-connectivity/opensync/libopensync-0.37/no-python-check.patch18
-rw-r--r--meta-demoapps/recipes-connectivity/opensync/libopensync-plugin-evolution2/0.37-fixes.patch25
-rw-r--r--meta-demoapps/recipes-connectivity/opensync/libopensync-plugin-evolution2_0.36.bb8
-rw-r--r--meta-demoapps/recipes-connectivity/opensync/libopensync-plugin-file_0.37.bb2
-rw-r--r--meta-demoapps/recipes-connectivity/opensync/libopensync-plugin-google-calendar_0.36.bb2
-rw-r--r--meta-demoapps/recipes-connectivity/opensync/libopensync-plugin-irmc_0.36.bb4
-rw-r--r--meta-demoapps/recipes-connectivity/opensync/libopensync-plugin-syncml/fixerror.patch15
-rw-r--r--meta-demoapps/recipes-connectivity/opensync/libopensync-plugin-syncml_0.38.bb8
-rw-r--r--meta-demoapps/recipes-connectivity/opensync/libopensync-plugin-vformat_0.37.bb4
-rw-r--r--meta-demoapps/recipes-connectivity/opensync/libopensync-plugin_0.36.inc11
-rw-r--r--meta-demoapps/recipes-connectivity/opensync/libopensync_0.37.bb26
-rw-r--r--meta-demoapps/recipes-connectivity/opensync/libsync_git.bb22
-rw-r--r--meta-demoapps/recipes-connectivity/opensync/libsyncml/build-in-src.patch21
-rw-r--r--meta-demoapps/recipes-connectivity/opensync/libsyncml_0.5.4.bb17
-rw-r--r--meta-demoapps/recipes-connectivity/opensync/msynctool_0.38.bb20
-rw-r--r--meta-demoapps/recipes-connectivity/telepathy/empathy/no-gnome-doc.patch41
-rw-r--r--meta-demoapps/recipes-connectivity/telepathy/empathy_2.26.1.bb29
-rw-r--r--meta-demoapps/recipes-connectivity/telepathy/telepathy-farsight_0.0.7.bb16
-rw-r--r--meta-demoapps/recipes-connectivity/telepathy/telepathy-gabble/gabble.manager33
-rw-r--r--meta-demoapps/recipes-connectivity/telepathy/telepathy-gabble_0.7.8.bb18
-rw-r--r--meta-demoapps/recipes-connectivity/wbxml/files/no-doc-install.patch17
-rw-r--r--meta-demoapps/recipes-connectivity/wbxml/wbxml2_0.9.2.bb24
-rw-r--r--meta-demoapps/recipes-gnome/abiword/abiword-2.5.inc64
-rw-r--r--meta-demoapps/recipes-gnome/abiword/abiword-embedded_2.5.2.bb12
-rw-r--r--meta-demoapps/recipes-gnome/abiword/abiword.inc64
-rw-r--r--meta-demoapps/recipes-gnome/abiword/abiword_2.5.2.bb5
-rw-r--r--meta-demoapps/recipes-gnome/abiword/abiword_svn.bb10
-rw-r--r--meta-demoapps/recipes-gnome/gcalctool/gcalctool/fix-includedir.patch33
-rw-r--r--meta-demoapps/recipes-gnome/gcalctool/gcalctool_5.7.32.bb13
-rw-r--r--meta-demoapps/recipes-gnome/gcalctool/gcalctool_5.8.17.bb12
-rw-r--r--meta-demoapps/recipes-gnome/gnome/gnome-settings-daemon/configurefix.patch32
-rw-r--r--meta-demoapps/recipes-gnome/gnome/gnome-settings-daemon/desktop-moblin.patch13
-rw-r--r--meta-demoapps/recipes-gnome/gnome/gnome-settings-daemon/gnome-settings-daemon-2.24.0-catch-deviceadded.patch21
-rw-r--r--meta-demoapps/recipes-gnome/gnome/gnome-settings-daemon/gnome-settings-daemon-fix-gthread.patch15
-rw-r--r--meta-demoapps/recipes-gnome/gnome/gnome-settings-daemon/mojito-cleanup.patch76
-rw-r--r--meta-demoapps/recipes-gnome/gnome/gnome-settings-daemon/mount-plugin.patch620
-rw-r--r--meta-demoapps/recipes-gnome/gnome/gnome-settings-daemon_2.26.1.bb25
-rw-r--r--meta-demoapps/recipes-gnome/gnome/gnome-terminal/30f29e7d8e1b67c40cd18a7155ba30c4382692d5.patch22
-rw-r--r--meta-demoapps/recipes-gnome/gnome/gnome-terminal_2.26.3.bb16
-rw-r--r--meta-demoapps/recipes-gnome/gnome/libgnomecanvas_2.20.0.bb14
-rw-r--r--meta-demoapps/recipes-gnome/gnome/libgnomekbd_2.26.0.bb14
-rw-r--r--meta-demoapps/recipes-gnome/libgsf/libgsf_1.14.5.bb25
-rw-r--r--meta-demoapps/recipes-gnome/libgtkstylus/files/gtkstylus.sh5
-rw-r--r--meta-demoapps/recipes-gnome/libgtkstylus/libgtkstylus_0.5.bb24
-rw-r--r--meta-demoapps/recipes-gnome/wv/wv-1.2.0/pkgconfig.patch15
-rw-r--r--meta-demoapps/recipes-gnome/wv/wv_1.2.0.bb14
-rw-r--r--meta-demoapps/recipes-graphics/clutter/tidy.inc20
-rw-r--r--meta-demoapps/recipes-graphics/clutter/tidy/autofoo.patch13
-rw-r--r--meta-demoapps/recipes-graphics/clutter/tidy/tidy-enable-tests.patch22
-rw-r--r--meta-demoapps/recipes-graphics/clutter/tidy_git.bb14
-rw-r--r--meta-demoapps/recipes-graphics/libxklavier/libxklavier/pkgconfigfix.patch17
-rw-r--r--meta-demoapps/recipes-graphics/libxklavier/libxklavier_3.9.bb11
-rw-r--r--meta-demoapps/recipes-graphics/xorg-app/xbacklight_1.1.bb4
-rw-r--r--meta-demoapps/recipes-graphics/xorg-app/xrdb/60XDefaults.sh3
-rw-r--r--meta-demoapps/recipes-graphics/xorg-app/xrdb_1.0.5.bb14
-rw-r--r--meta-demoapps/recipes-graphics/xorg-lib/liblbxutil/mkg3states.patch65
-rw-r--r--meta-demoapps/recipes-graphics/xorg-lib/liblbxutil_1.1.0.bb11
-rw-r--r--meta-demoapps/recipes-graphics/xorg-lib/libxaw_1.0.5.bb21
-rw-r--r--meta-demoapps/recipes-graphics/xorg-lib/libxevie_1.0.2.bb8
-rw-r--r--meta-demoapps/recipes-graphics/xorg-lib/libxkbui_1.0.2.bb8
-rw-r--r--meta-demoapps/recipes-graphics/xorg-proto/xproxymanagementprotocol_1.0.3.bb5
-rw-r--r--meta-demoapps/recipes-graphics/xournal/files/ldflags.patch17
-rw-r--r--meta-demoapps/recipes-graphics/xournal/files/no-printing.diff180
-rw-r--r--meta-demoapps/recipes-graphics/xournal/xournal_0.2.bb12
-rw-r--r--meta-demoapps/recipes-sato/claws-mail/claws-mail.inc58
-rw-r--r--meta-demoapps/recipes-sato/claws-mail/claws-mail_2.9.1.bb1
-rw-r--r--meta-demoapps/recipes-sato/claws-mail/claws-plugin-gtkhtml2-viewer_0.15.bb14
-rw-r--r--meta-demoapps/recipes-sato/claws-mail/claws-plugin-maildir_0.24.4.bb14
-rw-r--r--meta-demoapps/recipes-sato/claws-mail/claws-plugin-mailmbox_1.13.bb14
-rw-r--r--meta-demoapps/recipes-sato/claws-mail/claws-plugin-rssyl_0.13.bb14
-rw-r--r--meta-demoapps/recipes-sato/claws-mail/files/desktop.patch21
-rw-r--r--meta-demoapps/recipes-sato/claws-mail/files/fix-build.patch26
-rw-r--r--meta-demoapps/recipes-sato/claws-mail/files/owl-window-menu.patch1011
-rw-r--r--meta-demoapps/recipes-sato/claws-mail/files/streamline-ui.patch1010
-rw-r--r--meta-demoapps/recipes-sato/clipboard-manager/clipboard-manager_0.6.4.bb33
-rw-r--r--meta-demoapps/recipes-sato/clipboard-manager/files/daemonize.patch46
-rw-r--r--meta-demoapps/recipes-sato/clipboard-manager/files/makefile.patch20
-rw-r--r--meta-demoapps/recipes-sato/clipboard-manager/files/script.patch41
-rw-r--r--meta-demoapps/recipes-sato/epdfview/epdfview/epdfview-ui-print.xml12
-rw-r--r--meta-demoapps/recipes-sato/epdfview/epdfview/epdfview-ui.xml57
-rw-r--r--meta-demoapps/recipes-sato/epdfview/epdfview/epdfview.desktop10
-rw-r--r--meta-demoapps/recipes-sato/epdfview/epdfview/owl-menus.patch327
-rw-r--r--meta-demoapps/recipes-sato/epdfview/epdfview_0.1.6.bb21
-rw-r--r--meta-demoapps/recipes-sato/epdfview/epdfview_0.1.7.bb21
-rw-r--r--meta-demoapps/recipes-sato/kf/files/fix-configure.patch27
-rw-r--r--meta-demoapps/recipes-sato/kf/files/fix-desktop-file.patch22
-rw-r--r--meta-demoapps/recipes-sato/kf/files/gcc4.patch32
-rw-r--r--meta-demoapps/recipes-sato/kf/kf_0.5.4.1.bb16
-rw-r--r--meta-demoapps/recipes-sato/matchbox-themes-extra/matchbox-themes-extra_0.3.bb28
-rw-r--r--meta-demoapps/recipes-sato/matchbox-themes-extra/matchbox-themes-extra_git.bb33
-rw-r--r--meta-demoapps/recipes-sato/matchbox-themes-gtk/files/gtkrc1
-rw-r--r--meta-demoapps/recipes-sato/matchbox-themes-gtk/matchbox-themes-gtk.bb17
-rw-r--r--meta-demoapps/recipes-support/iso-codes/iso-codes_3.3.bb13
-rw-r--r--meta-demoapps/recipes-support/libfribidi/files/libtool-update.patch13
-rw-r--r--meta-demoapps/recipes-support/libfribidi/libfribidi_0.10.4.bb23
-rw-r--r--meta-demoapps/recipes-support/openobex/files/disable-cable-test.patch17
-rw-r--r--meta-demoapps/recipes-support/openobex/files/libusb_crosscompile_check.patch15
-rw-r--r--meta-demoapps/recipes-support/openobex/openobex_1.5.bb23
-rw-r--r--meta-demoapps/recipes-support/poppler/poppler-data_0.1.bb16
-rw-r--r--meta-demoapps/recipes-support/poppler/poppler-fpu.inc6
-rw-r--r--meta-demoapps/recipes-support/poppler/poppler.inc18
-rw-r--r--meta-demoapps/recipes-support/poppler/poppler_0.9.2.bb2
-rw-r--r--meta/recipes-graphics/pong-clock/pong-clock/pong-clock-no-flicker.c (renamed from meta-demoapps/recipes-graphics/pong-clock/pong-clock/pong-clock-no-flicker.c)0
-rw-r--r--meta/recipes-graphics/pong-clock/pong-clock_1.0.bb (renamed from meta-demoapps/recipes-graphics/pong-clock/pong-clock_1.0.bb)0
-rw-r--r--meta/recipes-graphics/xorg-app/xeyes_1.0.1.bb (renamed from meta-demoapps/recipes-graphics/xorg-app/xeyes_1.0.1.bb)0
116 files changed, 0 insertions, 5676 deletions
diff --git a/meta-demoapps/recipes-connectivity/farsight/farsight2_0.0.9.bb b/meta-demoapps/recipes-connectivity/farsight/farsight2_0.0.9.bb
deleted file mode 100644
index ee0ce8a45c..0000000000
--- a/meta-demoapps/recipes-connectivity/farsight/farsight2_0.0.9.bb
+++ /dev/null
@@ -1,23 +0,0 @@
1DESCRIPTION = "FarSight is an audio/video conferencing framework specifically designed for Instant Messengers."
2HOMEPAGE = "http://farsight.sf.net"
3SRC_URI = "http://farsight.freedesktop.org/releases/farsight2/${BPN}-${PV}.tar.gz"
4LICENSE = "LGPLv2.1"
5DEPENDS = "libnice glib-2.0 libxml2 zlib dbus gstreamer gst-plugins-base"
6
7inherit autotools
8
9PR = "r2"
10
11EXTRA_OECONF = " \
12 --disable-debug \
13 --disable-gtk-doc \
14 --disable-python \
15"
16
17FILES_${PN} += "${libdir}/*/*.so"
18FILES_${PN}-dev += "${libdir}/f*/*a ${libdir}/g*/*a"
19FILES_${PN}-dbg += "${libdir}/*/.debug"
20
21
22
23
diff --git a/meta-demoapps/recipes-connectivity/farsight/libnice_0.0.6.bb b/meta-demoapps/recipes-connectivity/farsight/libnice_0.0.6.bb
deleted file mode 100644
index 30cc7a1b9b..0000000000
--- a/meta-demoapps/recipes-connectivity/farsight/libnice_0.0.6.bb
+++ /dev/null
@@ -1,23 +0,0 @@
1SUMMARY = "IETF draft Interactice Connectivity Establishment standard"
2DESCRIPTION = "Libnice is an implementation of the IETF's draft Interactice Connectivity Establishment standard (ICE)."
3HOMEPAGE = "http://nice.freedesktop.org/wiki/"
4SRC_URI = "http://nice.freedesktop.org/releases/libnice-${PV}.tar.gz"
5
6LICENSE = "LGPL/MPL"
7DEPENDS = "glib-2.0 gstreamer"
8
9inherit autotools
10
11FILES_${PN} += "${libdir}/gstreamer-0.10/*.so"
12FILES_${PN}-dev += "${libdir}/gstreamer-0.10/*a"
13FILES_${PN}-dbg += "${libdir}/gstreamer-0.10/.debug"
14
15do_compile_append() {
16 for i in $(find ${S} -name "*.pc") ; do
17 sed -i -e s:${STAGING_DIR_TARGET}::g \
18 -e s:/${TARGET_SYS}::g \
19 $i
20 done
21}
22
23
diff --git a/meta-demoapps/recipes-connectivity/libetpan/files/cxx-is-here.patch b/meta-demoapps/recipes-connectivity/libetpan/files/cxx-is-here.patch
deleted file mode 100644
index 03d8da6858..0000000000
--- a/meta-demoapps/recipes-connectivity/libetpan/files/cxx-is-here.patch
+++ /dev/null
@@ -1,20 +0,0 @@
1Upstream-Status: Inappropriate [configuration]
2
3---
4 configure.ac | 1 +
5 1 file changed, 1 insertion(+)
6
7--- libetpan-0.54.orig/configure.ac
8+++ libetpan-0.54/configure.ac
9@@ -104,10 +104,11 @@ if test "$have_w32_system" = yes; then
10 fi
11 AM_CONDITIONAL(HAVE_MINGW32_SYSTEM, test "$have_w32_system" = yes)
12
13 # Check the C compiler.
14 AC_PROG_CC
15+AC_PROG_CXX
16
17 # Compiler flags.
18 AC_ARG_ENABLE(debug, [ --enable-debug setup flags (gcc) for debugging (default=no)],
19 if test "x$GCC" = xyes; then
20 CFLAGS="$CFLAGS -O2 -g"
diff --git a/meta-demoapps/recipes-connectivity/libetpan/libetpan_0.54.bb b/meta-demoapps/recipes-connectivity/libetpan/libetpan_0.54.bb
deleted file mode 100644
index 9b69471753..0000000000
--- a/meta-demoapps/recipes-connectivity/libetpan/libetpan_0.54.bb
+++ /dev/null
@@ -1,20 +0,0 @@
1SUMMARY = "Library for communicating with mail and news services"
2DESCRIPTION = "libetpan is a library for communicating with mail and news servers. \
3It supports the protocols SMTP, POP3, IMAP and NNTP."
4HOMEPAGE = "http://www.etpan.org"
5SECTION = "libs"
6DEPENDS = "curl expat gnutls"
7LICENSE = "BSD"
8PR = "r1"
9
10SRC_URI = "${SOURCEFORGE_MIRROR}/libetpan/libetpan-${PV}.tar.gz \
11 file://cxx-is-here.patch;patch=1"
12
13inherit autotools pkgconfig gettext binconfig
14
15EXTRA_OECONF = "--without-openssl --with-gnutls --disable-db"
16
17PARALLEL_MAKE = ""
18
19FILES_${PN} = "${libdir}/lib*.so.*"
20FILES_${PN}-dev = "${bindir} ${includedir} ${libdir}/lib*.so ${libdir}/*.la ${libdir}/*.a ${libdir}/pkgconfig"
diff --git a/meta-demoapps/recipes-connectivity/loudmouth/loudmouth_1.4.0.bb b/meta-demoapps/recipes-connectivity/loudmouth/loudmouth_1.4.0.bb
deleted file mode 100644
index b6af11d398..0000000000
--- a/meta-demoapps/recipes-connectivity/loudmouth/loudmouth_1.4.0.bb
+++ /dev/null
@@ -1,10 +0,0 @@
1SUMMARY = "XMPP/Jabber library"
2DESCRIPTION = "Loudmouth is a lightweight and easy-to-use C library for programming with the XMPP/Jabber protocol."
3HOMEPAGE = "http://www.loudmouth-project.org/"
4LICENSE = "LGPL"
5DEPENDS = "glib-2.0 gnutls libcheck"
6PR = "r2"
7
8SRC_URI = "http://ftp.imendio.com/pub/imendio/${BPN}/src/${BPN}-${PV}.tar.bz2"
9
10inherit autotools pkgconfig
diff --git a/meta-demoapps/recipes-connectivity/openswan/openswan-2.4.7/installflags.patch b/meta-demoapps/recipes-connectivity/openswan/openswan-2.4.7/installflags.patch
deleted file mode 100644
index ffebf2b504..0000000000
--- a/meta-demoapps/recipes-connectivity/openswan/openswan-2.4.7/installflags.patch
+++ /dev/null
@@ -1,15 +0,0 @@
1Upstream-Status: Inappropriate [configuration]
2
3Index: openswan-2.4.7/Makefile.inc
4===================================================================
5--- openswan-2.4.7.orig/Makefile.inc 2006-12-25 18:05:40.608503250 +0100
6+++ openswan-2.4.7/Makefile.inc 2006-12-25 18:06:39.028154250 +0100
7@@ -158,7 +158,7 @@
8 # how backup names are composed.
9 # Note that the install procedures will never overwrite an existing config
10 # file, which is why -b is not specified for them.
11-INSTBINFLAGS=-b --suffix=.old
12+INSTBINFLAGS=
13 INSTSUIDFLAGS=--mode=u+rxs,g+rx,o+rx --group=root -b --suffix=.old
14 INSTMANFLAGS=
15 INSTCONFFLAGS=
diff --git a/meta-demoapps/recipes-connectivity/openswan/openswan-2.4.7/ld-library-path-breakage.patch b/meta-demoapps/recipes-connectivity/openswan/openswan-2.4.7/ld-library-path-breakage.patch
deleted file mode 100644
index 92f3547f90..0000000000
--- a/meta-demoapps/recipes-connectivity/openswan/openswan-2.4.7/ld-library-path-breakage.patch
+++ /dev/null
@@ -1,28 +0,0 @@
1Upstream-Status: Inappropriate [configuration]
2
3--- openswan-2.2.0.orig/programs/Makefile.program 2004-06-03 03:06:27.000000000 +0200
4+++ openswan-2.2.0/programs/Makefile.program 2005-03-05 13:50:19.000000000 +0100
5@@ -30,10 +30,6 @@
6
7 CFLAGS+= ${WERROR}
8
9-ifneq ($(LD_LIBRARY_PATH),)
10-LDFLAGS=-L$(LD_LIBRARY_PATH)
11-endif
12-
13 MANDIR8=$(MANTREE)/man8
14 MANDIR5=$(MANTREE)/man5
15
16--- openswan-2.2.0.orig/programs/pluto/Makefile 2005-01-03 20:40:45.000000000 +0100
17+++ openswan-2.2.0/programs/pluto/Makefile 2005-03-05 13:51:21.000000000 +0100
18@@ -234,10 +234,6 @@
19 LIBSPLUTO+=${CURL_LIBS}
20 LIBSPLUTO+= -lgmp -lresolv # -lefence
21
22-ifneq ($(LD_LIBRARY_PATH),)
23-LDFLAGS=-L$(LD_LIBRARY_PATH)
24-endif
25-
26 LIBSADNS = $(OPENSWANLIB)
27 LIBSADNS += -lresolv # -lefence
28
diff --git a/meta-demoapps/recipes-connectivity/openswan/openswan-2.4.7/openswan-2.4.7-gentoo.patch b/meta-demoapps/recipes-connectivity/openswan/openswan-2.4.7/openswan-2.4.7-gentoo.patch
deleted file mode 100644
index c24227c18f..0000000000
--- a/meta-demoapps/recipes-connectivity/openswan/openswan-2.4.7/openswan-2.4.7-gentoo.patch
+++ /dev/null
@@ -1,379 +0,0 @@
1Upstream-Status: Inappropriate [configuration]
2
3diff -Nru openswan-2.4.7.orig/doc/Makefile openswan-2.4.7/doc/Makefile
4--- openswan-2.4.7.orig/doc/Makefile 2005-11-08 23:32:45.000000000 +0200
5+++ openswan-2.4.7/doc/Makefile 2006-12-06 22:46:54.732830840 +0200
6@@ -1,6 +1,6 @@
7 # Makefile to generate various formats from HTML source
8 #
9-# Assumes the htmldoc utility is available.
10+# No longer cares if the htmldoc utility is available.
11 # This can be downloaded from www.easysw.com
12 #
13 # Also needs lynx(1) for HTML-to-text conversion
14diff -Nru openswan-2.4.7.orig/lib/libcrypto/libdes/asm/crypt586.pl openswan-2.4.7/lib/libcrypto/libdes/asm/crypt586.pl
15--- openswan-2.4.7.orig/lib/libcrypto/libdes/asm/crypt586.pl 2004-07-16 03:24:45.000000000 +0300
16+++ openswan-2.4.7/lib/libcrypto/libdes/asm/crypt586.pl 2006-12-06 22:46:54.732830840 +0200
17@@ -1,4 +1,4 @@
18-#!/usr/local/bin/perl
19+#!/usr/bin/perl
20 #
21 # The inner loop instruction sequence and the IP/FP modifications are from
22 # Svend Olaf Mikkelsen <svolaf@inet.uni-c.dk>
23diff -Nru openswan-2.4.7.orig/lib/libcrypto/libdes/asm/perlasm/cbc.pl openswan-2.4.7/lib/libcrypto/libdes/asm/perlasm/cbc.pl
24--- openswan-2.4.7.orig/lib/libcrypto/libdes/asm/perlasm/cbc.pl 2004-07-10 11:07:06.000000000 +0300
25+++ openswan-2.4.7/lib/libcrypto/libdes/asm/perlasm/cbc.pl 2006-12-06 22:46:54.736831090 +0200
26@@ -1,4 +1,4 @@
27-#!/usr/local/bin/perl
28+#!/usr/bin/perl
29
30 # void des_ncbc_encrypt(input, output, length, schedule, ivec, enc)
31 # des_cblock (*input);
32diff -Nru openswan-2.4.7.orig/lib/libcrypto/libdes/asm/perlasm/x86asm.pl openswan-2.4.7/lib/libcrypto/libdes/asm/perlasm/x86asm.pl
33--- openswan-2.4.7.orig/lib/libcrypto/libdes/asm/perlasm/x86asm.pl 2004-07-10 11:07:06.000000000 +0300
34+++ openswan-2.4.7/lib/libcrypto/libdes/asm/perlasm/x86asm.pl 2006-12-06 22:46:54.736831090 +0200
35@@ -1,4 +1,4 @@
36-#!/usr/local/bin/perl
37+#!/usr/bin/perl
38
39 # require 'x86asm.pl';
40 # &asm_init("cpp","des-586.pl");
41diff -Nru openswan-2.4.7.orig/lib/libcrypto/libdes/asm/perlasm/x86ms.pl openswan-2.4.7/lib/libcrypto/libdes/asm/perlasm/x86ms.pl
42--- openswan-2.4.7.orig/lib/libcrypto/libdes/asm/perlasm/x86ms.pl 2004-07-10 11:07:07.000000000 +0300
43+++ openswan-2.4.7/lib/libcrypto/libdes/asm/perlasm/x86ms.pl 2006-12-06 22:46:54.736831090 +0200
44@@ -1,4 +1,4 @@
45-#!/usr/local/bin/perl
46+#!/usr/bin/perl
47
48 package x86ms;
49
50diff -Nru openswan-2.4.7.orig/lib/libcrypto/libdes/asm/perlasm/x86unix.pl openswan-2.4.7/lib/libcrypto/libdes/asm/perlasm/x86unix.pl
51--- openswan-2.4.7.orig/lib/libcrypto/libdes/asm/perlasm/x86unix.pl 2004-07-10 11:07:07.000000000 +0300
52+++ openswan-2.4.7/lib/libcrypto/libdes/asm/perlasm/x86unix.pl 2006-12-06 22:46:54.736831090 +0200
53@@ -1,4 +1,4 @@
54-#!/usr/local/bin/perl
55+#!/usr/bin/perl
56
57 package x86unix;
58
59diff -Nru openswan-2.4.7.orig/lib/liblwres/Makefile openswan-2.4.7/lib/liblwres/Makefile
60--- openswan-2.4.7.orig/lib/liblwres/Makefile 2004-12-18 20:13:34.000000000 +0200
61+++ openswan-2.4.7/lib/liblwres/Makefile 2006-12-06 22:46:54.736831090 +0200
62@@ -20,7 +20,7 @@
63 CDEFINES = -g
64 CWARNINGS = -Werror
65
66-CFLAGS=${CINCLUDES} ${CDEFINES} ${CWARNINGS}
67+CFLAGS=${CINCLUDES} ${CDEFINES} ${CWARNINGS} $(USERCOMPILE)
68
69 VERSION="@(\#) openswan-hacking-9.3-for-osw2"
70 LIBINTERFACE=2
71diff -Nru openswan-2.4.7.orig/linux/net/ipsec/des/asm/des-586.pl openswan-2.4.7/linux/net/ipsec/des/asm/des-586.pl
72--- openswan-2.4.7.orig/linux/net/ipsec/des/asm/des-586.pl 2004-07-10 11:06:50.000000000 +0300
73+++ openswan-2.4.7/linux/net/ipsec/des/asm/des-586.pl 2006-12-06 22:46:54.736831090 +0200
74@@ -1,4 +1,4 @@
75-#!/usr/local/bin/perl
76+#!/usr/bin/perl
77 #
78 # The inner loop instruction sequence and the IP/FP modifications are from
79 # Svend Olaf Mikkelsen <svolaf@inet.uni-c.dk>
80diff -Nru openswan-2.4.7.orig/linux/net/ipsec/des/asm/des686.pl openswan-2.4.7/linux/net/ipsec/des/asm/des686.pl
81--- openswan-2.4.7.orig/linux/net/ipsec/des/asm/des686.pl 2004-07-10 11:06:50.000000000 +0300
82+++ openswan-2.4.7/linux/net/ipsec/des/asm/des686.pl 2006-12-06 22:46:54.740831340 +0200
83@@ -1,4 +1,4 @@
84-#!/usr/local/bin/perl
85+#!/usr/bin/perl
86
87 $prog="des686.pl";
88
89diff -Nru openswan-2.4.7.orig/linux/net/ipsec/des/asm/desboth.pl openswan-2.4.7/linux/net/ipsec/des/asm/desboth.pl
90--- openswan-2.4.7.orig/linux/net/ipsec/des/asm/desboth.pl 2004-07-10 11:06:50.000000000 +0300
91+++ openswan-2.4.7/linux/net/ipsec/des/asm/desboth.pl 2006-12-06 22:46:54.740831340 +0200
92@@ -1,4 +1,4 @@
93-#!/usr/local/bin/perl
94+#!/usr/bin/perl
95
96 $L="edi";
97 $R="esi";
98diff -Nru openswan-2.4.7.orig/Makefile.inc openswan-2.4.7/Makefile.inc
99--- openswan-2.4.7.orig/Makefile.inc 2006-11-14 19:56:09.000000000 +0200
100+++ openswan-2.4.7/Makefile.inc 2006-12-06 22:48:32.534943089 +0200
101@@ -46,7 +46,7 @@
102 DESTDIR?=
103
104 # "local" part of tree, used in building other pathnames
105-INC_USRLOCAL=/usr/local
106+INC_USRLOCAL?=/usr
107
108 # PUBDIR is where the "ipsec" command goes; beware, many things define PATH
109 # settings which are assumed to include it (or at least, to include *some*
110@@ -80,7 +80,7 @@
111 MANPLACES=man3 man5 man8
112
113 # where configuration files go
114-FINALCONFFILE?=/etc/ipsec.conf
115+FINALCONFFILE?=/etc/ipsec/ipsec.conf
116 CONFFILE=$(DESTDIR)$(FINALCONFFILE)
117
118 FINALCONFDIR?=/etc
119@@ -91,7 +91,7 @@
120
121 # sample configuration files go into
122 INC_DOCDIR?=share/doc
123-FINALEXAMPLECONFDIR=${INC_USRLOCAL}/${INC_DOCDIR}/openswan
124+FINALEXAMPLECONFDIR?=${INC_USRLOCAL}/${INC_DOCDIR}/openswan
125 EXAMPLECONFDIR=${DESTDIR}${FINALEXAMPLECONFDIR}
126
127 FINALDOCDIR?=${INC_USRLOCAL}/${INC_DOCDIR}/openswan
128@@ -239,7 +239,7 @@
129 # installed one in RH 7.2, won't work - you wind up depending upon
130 # openssl.
131
132-BIND9STATICLIBDIR?=/usr/local/lib
133+BIND9STATICLIBDIR?=/usr/lib
134
135 # if you install elsewere, you may need to point the include files to it.
136 #BIND9STATICLIBDIR?=/sandel/lib
137diff -Nru openswan-2.4.7.orig/programs/barf/barf.in openswan-2.4.7/programs/barf/barf.in
138--- openswan-2.4.7.orig/programs/barf/barf.in 2006-11-07 05:49:18.000000000 +0200
139+++ openswan-2.4.7/programs/barf/barf.in 2006-12-06 22:46:54.740831340 +0200
140@@ -16,7 +16,7 @@
141
142 LOGS=${LOGS-/var/log}
143 CONFS=${IPSEC_CONFS-/etc}
144-CONFDDIR=${IPSEC_CONFDDIR-/etc/ipsec.d}
145+CONFDDIR=${IPSEC_CONFDDIR-/etc/ipsec/ipsec.d}
146 me="ipsec barf"
147 # Max lines to use for things like 'route -n'
148 maxlines=100
149@@ -238,13 +238,13 @@
150 done
151 fi
152 _________________________ ipsec/ls-libdir
153-ls -l ${IPSEC_LIBDIR-/usr/local/lib/ipsec}
154+ls -l ${IPSEC_LIBDIR-/usr/lib/ipsec}
155 _________________________ ipsec/ls-execdir
156-ls -l ${IPSEC_EXECDIR-/usr/local/libexec/ipsec}
157+ls -l ${IPSEC_EXECDIR-/usr/libexec/ipsec}
158 _________________________ ipsec/updowns
159-for f in `ls ${IPSEC_EXECDIR-/usr/local/libexec/ipsec} | egrep updown`
160+for f in `ls ${IPSEC_EXECDIR-/usr/libexec/ipsec} | egrep updown`
161 do
162- cat ${IPSEC_EXECDIR-/usr/local/libexec/ipsec}/$f
163+ cat ${IPSEC_EXECDIR-/usr/libexec/ipsec}/$f
164 done
165 _________________________ /proc/net/dev
166 cat /proc/net/dev
167diff -Nru openswan-2.4.7.orig/programs/eroute/eroute.5 openswan-2.4.7/programs/eroute/eroute.5
168--- openswan-2.4.7.orig/programs/eroute/eroute.5 2006-10-26 23:40:43.000000000 +0300
169+++ openswan-2.4.7/programs/eroute/eroute.5 2006-12-06 22:57:19.307864340 +0200
170@@ -168,7 +168,7 @@
171 .SH "FILES"
172
173 .PP
174-/proc/net/ipsec_eroute, /usr/local/bin/ipsec
175+/proc/net/ipsec_eroute, /usr/bin/ipsec
176
177 .SH "SEE ALSO"
178
179diff -Nru openswan-2.4.7.orig/programs/eroute/eroute.8 openswan-2.4.7/programs/eroute/eroute.8
180--- openswan-2.4.7.orig/programs/eroute/eroute.8 2003-10-31 04:32:27.000000000 +0200
181+++ openswan-2.4.7/programs/eroute/eroute.8 2006-12-06 22:46:54.740831340 +0200
182@@ -308,7 +308,7 @@
183 .br
184 .LP
185 .SH FILES
186-/proc/net/ipsec_eroute, /usr/local/bin/ipsec
187+/proc/net/ipsec_eroute, /usr/bin/ipsec
188 .SH "SEE ALSO"
189 ipsec(8), ipsec_manual(8), ipsec_tncfg(8), ipsec_spi(8),
190 ipsec_spigrp(8), ipsec_klipsdebug(8), ipsec_eroute(5)
191diff -Nru openswan-2.4.7.orig/programs/_include/_include.in openswan-2.4.7/programs/_include/_include.in
192--- openswan-2.4.7.orig/programs/_include/_include.in 2003-01-06 23:44:04.000000000 +0200
193+++ openswan-2.4.7/programs/_include/_include.in 2006-12-06 22:46:54.740831340 +0200
194@@ -47,10 +47,10 @@
195 do
196 if test ! -r "$f"
197 then
198- if test ! "$f" = "/etc/ipsec.conf"
199+ if test ! "$f" = "/etc/ipsec/ipsec.conf"
200 then
201 echo "#:cannot open configuration file \'$f\'"
202- if test "$f" = "/etc/ipsec.secrets"
203+ if test "$f" = "/etc/ipsec/ipsec.secrets"
204 then
205 echo "#:Your secrets file will be created when you start FreeS/WAN for the first time."
206 fi
207diff -Nru openswan-2.4.7.orig/programs/ipsec/ipsec.8 openswan-2.4.7/programs/ipsec/ipsec.8
208--- openswan-2.4.7.orig/programs/ipsec/ipsec.8 2003-02-27 18:51:54.000000000 +0200
209+++ openswan-2.4.7/programs/ipsec/ipsec.8 2006-12-06 22:46:54.744831590 +0200
210@@ -81,7 +81,7 @@
211 .I ipsec
212 thinks the IPsec configuration files are stored.
213 .SH FILES
214-/usr/local/lib/ipsec usual utilities directory
215+/usr/lib/ipsec usual utilities directory
216 .SH ENVIRONMENT
217 .PP
218 The following environment variables control where FreeS/WAN finds its
219diff -Nru openswan-2.4.7.orig/programs/klipsdebug/klipsdebug.5 openswan-2.4.7/programs/klipsdebug/klipsdebug.5
220--- openswan-2.4.7.orig/programs/klipsdebug/klipsdebug.5 2006-10-27 01:21:25.000000000 +0300
221+++ openswan-2.4.7/programs/klipsdebug/klipsdebug.5 2006-12-06 22:58:04.150666840 +0200
222@@ -114,7 +114,7 @@
223 .SH "FILES"
224
225 .PP
226-/proc/net/ipsec_klipsdebug, /usr/local/bin/ipsec
227+/proc/net/ipsec_klipsdebug, /usr/bin/ipsec
228
229 .SH "SEE ALSO"
230
231diff -Nru openswan-2.4.7.orig/programs/klipsdebug/klipsdebug.8 openswan-2.4.7/programs/klipsdebug/klipsdebug.8
232--- openswan-2.4.7.orig/programs/klipsdebug/klipsdebug.8 2006-10-27 01:21:25.000000000 +0300
233+++ openswan-2.4.7/programs/klipsdebug/klipsdebug.8 2006-12-06 22:58:22.295800840 +0200
234@@ -111,7 +111,7 @@
235 .SH "FILES"
236
237 .PP
238-/proc/net/ipsec_klipsdebug, /usr/local/bin/ipsec
239+/proc/net/ipsec_klipsdebug, /usr/bin/ipsec
240
241 .SH "SEE ALSO"
242
243diff -Nru openswan-2.4.7.orig/programs/mailkey/mailkey.in openswan-2.4.7/programs/mailkey/mailkey.in
244--- openswan-2.4.7.orig/programs/mailkey/mailkey.in 2006-10-29 02:49:23.000000000 +0300
245+++ openswan-2.4.7/programs/mailkey/mailkey.in 2006-12-06 22:46:54.828836839 +0200
246@@ -60,7 +60,7 @@
247
248 "$test1st"
249
250-Common concerns: This account must be able to read /etc/ipsec.secrets.
251+Common concerns: This account must be able to read /etc/ipsec/ipsec.secrets.
252 If you haven't generated your key yet, please run 'ipsec newhostkey'."
253 exit 0
254 }
255diff -Nru openswan-2.4.7.orig/programs/pluto/Makefile openswan-2.4.7/programs/pluto/Makefile
256--- openswan-2.4.7.orig/programs/pluto/Makefile 2006-11-07 17:55:52.000000000 +0200
257+++ openswan-2.4.7/programs/pluto/Makefile 2006-12-06 22:46:54.832837088 +0200
258@@ -256,7 +256,7 @@
259 -DPOLICYGROUPSDIR=\"${FINALCONFDDIR}/policies\" \
260 -DPERPEERLOGDIR=\"${FINALLOGDIR}/pluto/peer\"
261
262-ALLFLAGS = $(CPPFLAGS) $(CFLAGS)
263+ALLFLAGS = $(CPPFLAGS) $(CFLAGS) $(USERCOMPILE)
264
265 # libefence is a free memory allocation debugger
266 # Solaris 2 needs -lsocket -lnsl
267diff -Nru openswan-2.4.7.orig/programs/setup/Makefile openswan-2.4.7/programs/setup/Makefile
268--- openswan-2.4.7.orig/programs/setup/Makefile 2004-12-18 20:13:43.000000000 +0200
269+++ openswan-2.4.7/programs/setup/Makefile 2006-12-06 22:46:54.832837088 +0200
270@@ -33,25 +33,10 @@
271 @rm -f $(BINDIR)/setup
272 @$(INSTALL) $(INSTBINFLAGS) setup $(RCDIR)/ipsec
273 @ln -s $(FINALRCDIR)/ipsec $(BINDIR)/setup
274- -@for i in 0 1 2 3 4 5 6; do mkdir -p $(RCDIR)/../rc$$i.d; done
275- -@cd $(RCDIR)/../rc0.d && ln -f -s ../init.d/ipsec K76ipsec
276- -@cd $(RCDIR)/../rc1.d && ln -f -s ../init.d/ipsec K76ipsec
277- -@cd $(RCDIR)/../rc2.d && ln -f -s ../init.d/ipsec S47ipsec
278- -@cd $(RCDIR)/../rc3.d && ln -f -s ../init.d/ipsec S47ipsec
279- -@cd $(RCDIR)/../rc4.d && ln -f -s ../init.d/ipsec S47ipsec
280- -@cd $(RCDIR)/../rc5.d && ln -f -s ../init.d/ipsec S47ipsec
281- -@cd $(RCDIR)/../rc6.d && ln -f -s ../init.d/ipsec K76ipsec
282
283 install_file_list::
284 @echo $(RCDIR)/ipsec
285 @echo $(BINDIR)/setup
286- @echo $(RCDIR)/../rc0.d/K76ipsec
287- @echo $(RCDIR)/../rc1.d/K76ipsec
288- @echo $(RCDIR)/../rc2.d/S47ipsec
289- @echo $(RCDIR)/../rc3.d/S47ipsec
290- @echo $(RCDIR)/../rc4.d/S47ipsec
291- @echo $(RCDIR)/../rc5.d/S47ipsec
292- @echo $(RCDIR)/../rc6.d/K76ipsec
293
294 clean::
295 @rm -f setup
296diff -Nru openswan-2.4.7.orig/programs/showhostkey/showhostkey.in openswan-2.4.7/programs/showhostkey/showhostkey.in
297--- openswan-2.4.7.orig/programs/showhostkey/showhostkey.in 2004-11-14 15:40:41.000000000 +0200
298+++ openswan-2.4.7/programs/showhostkey/showhostkey.in 2006-12-06 22:46:54.844837840 +0200
299@@ -18,7 +18,7 @@
300 usage="Usage: $me [--file secrets] [--left] [--right] [--txt gateway] [--id id]
301 [--dhclient] [--ipseckey]"
302
303-file=/etc/ipsec.secrets
304+file=/etc/ipsec/ipsec.secrets
305 fmt=""
306 gw=
307 id=
308diff -Nru openswan-2.4.7.orig/programs/spi/spi.5 openswan-2.4.7/programs/spi/spi.5
309--- openswan-2.4.7.orig/programs/spi/spi.5 2006-10-26 23:53:59.000000000 +0300
310+++ openswan-2.4.7/programs/spi/spi.5 2006-12-06 23:00:11.910340779 +0200
311@@ -157,7 +157,7 @@
312 .SH "FILES"
313
314 .PP
315-/proc/net/ipsec_spi, /usr/local/bin/ipsec
316+/proc/net/ipsec_spi, /usr/bin/ipsec
317
318 .SH "SEE ALSO"
319
320diff -Nru openswan-2.4.7.orig/programs/spi/spi.8 openswan-2.4.7/programs/spi/spi.8
321--- openswan-2.4.7.orig/programs/spi/spi.8 2006-10-30 22:00:04.000000000 +0200
322+++ openswan-2.4.7/programs/spi/spi.8 2006-12-06 23:00:27.043286530 +0200
323@@ -215,7 +215,7 @@
324 .SH "FILES"
325
326 .PP
327-/proc/net/ipsec_spi, /usr/local/bin/ipsec
328+/proc/net/ipsec_spi, /usr/bin/ipsec
329
330 .SH "SEE ALSO"
331
332diff -Nru openswan-2.4.7.orig/programs/spigrp/spigrp.5 openswan-2.4.7/programs/spigrp/spigrp.5
333--- openswan-2.4.7.orig/programs/spigrp/spigrp.5 2006-10-26 23:50:29.000000000 +0300
334+++ openswan-2.4.7/programs/spigrp/spigrp.5 2006-12-06 23:01:25.650949280 +0200
335@@ -67,7 +67,7 @@
336 .SH "FILES"
337
338 .PP
339-/proc/net/ipsec_spigrp, /usr/local/bin/ipsec
340+/proc/net/ipsec_spigrp, /usr/bin/ipsec
341
342 .SH "SEE ALSO"
343
344diff -Nru openswan-2.4.7.orig/programs/spigrp/spigrp.8 openswan-2.4.7/programs/spigrp/spigrp.8
345--- openswan-2.4.7.orig/programs/spigrp/spigrp.8 2006-10-26 23:50:29.000000000 +0300
346+++ openswan-2.4.7/programs/spigrp/spigrp.8 2006-12-06 23:01:39.079788532 +0200
347@@ -87,7 +87,7 @@
348 .SH "FILES"
349
350 .PP
351-/proc/net/ipsec_spigrp, /usr/local/bin/ipsec
352+/proc/net/ipsec_spigrp, /usr/bin/ipsec
353
354 .SH "SEE ALSO"
355
356diff -Nru openswan-2.4.7.orig/programs/tncfg/tncfg.5 openswan-2.4.7/programs/tncfg/tncfg.5
357--- openswan-2.4.7.orig/programs/tncfg/tncfg.5 2006-10-26 23:58:11.000000000 +0300
358+++ openswan-2.4.7/programs/tncfg/tncfg.5 2006-12-06 23:01:59.385057530 +0200
359@@ -101,7 +101,7 @@
360 .SH "FILES"
361
362 .PP
363-/proc/net/ipsec_tncfg, /usr/local/bin/ipsec
364+/proc/net/ipsec_tncfg, /usr/bin/ipsec
365
366 .SH "SEE ALSO"
367
368diff -Nru openswan-2.4.7.orig/programs/tncfg/tncfg.8 openswan-2.4.7/programs/tncfg/tncfg.8
369--- openswan-2.4.7.orig/programs/tncfg/tncfg.8 2006-10-26 23:58:11.000000000 +0300
370+++ openswan-2.4.7/programs/tncfg/tncfg.8 2006-12-06 23:02:09.245673780 +0200
371@@ -63,7 +63,7 @@
372 .SH "FILES"
373
374 .PP
375-/proc/net/ipsec_tncfg, /usr/local/bin/ipsec
376+/proc/net/ipsec_tncfg, /usr/bin/ipsec
377
378 .SH "SEE ALSO"
379
diff --git a/meta-demoapps/recipes-connectivity/openswan/openswan_2.4.7.bb b/meta-demoapps/recipes-connectivity/openswan/openswan_2.4.7.bb
deleted file mode 100644
index f783a8582b..0000000000
--- a/meta-demoapps/recipes-connectivity/openswan/openswan_2.4.7.bb
+++ /dev/null
@@ -1,36 +0,0 @@
1SECTION = "console/network"
2SUMMARY = "IPsec implementation"
3DESCRIPTION = "Openswan is an Open Source implementation of IPsec for the \
4Linux operating system."
5HOMEPAGE = "http://www.openswan.org"
6LICENSE = "GPLv2"
7DEPENDS = "gmp flex-native"
8RRECOMMENDS_${PN} = "kernel-module-ipsec"
9PR = "r2"
10
11SRC_URI = "http://www.openswan.org/download/old/openswan-${PV}.tar.gz \
12 file://openswan-2.4.7-gentoo.patch;patch=1 \
13 file://installflags.patch;patch=1 \
14 file://ld-library-path-breakage.patch;patch=1"
15S = "${WORKDIR}/openswan-${PV}"
16
17PARALLEL_MAKE = ""
18EXTRA_OEMAKE = "DESTDIR=${D} \
19 USERCOMPILE="${CFLAGS}" \
20 FINALCONFDIR=${sysconfdir}/ipsec \
21 INC_RCDEFAULT=${sysconfdir}/init.d \
22 INC_USRLOCAL=${prefix} \
23 INC_MANDIR=share/man WERROR=''"
24
25do_compile () {
26 oe_runmake programs
27}
28
29do_install () {
30 oe_runmake install
31}
32
33FILES_${PN} = "${sysconfdir} ${libdir}/ipsec/* ${sbindir}/* ${libexecdir}/ipsec/*"
34FILES_${PN}-dbg += "${libdir}/ipsec/.debug ${libexecdir}/ipsec/.debug"
35
36CONFFILES_${PN} = "${sysconfdir}/ipsec/ipsec.conf"
diff --git a/meta-demoapps/recipes-connectivity/opensync/libopensync-0.37/build-in-src.patch b/meta-demoapps/recipes-connectivity/opensync/libopensync-0.37/build-in-src.patch
deleted file mode 100644
index fa61e15ffb..0000000000
--- a/meta-demoapps/recipes-connectivity/opensync/libopensync-0.37/build-in-src.patch
+++ /dev/null
@@ -1,20 +0,0 @@
1Upstream-Status: Inappropriate [configuration]
2
3---
4 cmake/OpenSyncInternal.cmake.in | 1 -
5 1 file changed, 1 deletion(-)
6
7--- libopensync-0.36.orig/cmake/OpenSyncInternal.cmake.in
8+++ libopensync-0.36/cmake/OpenSyncInternal.cmake.in
9@@ -5,11 +5,10 @@ INCLUDE( OpenSyncTesting )
10 INCLUDE( OpenSyncPackaging )
11 INCLUDE( OpenSyncPlugin )
12 INCLUDE( OpenSyncPlatforms )
13 INCLUDE( MacroEnsureOutOfSourceBuild )
14
15-MACRO_ENSURE_OUT_OF_SOURCE_BUILD("${CMAKE_PROJECT_NAME} doesn't allow to build within the source directory. Please, create a seperate build directory and run 'cmake ${PROJECT_SOURCE_DIR} [options]'!")
16
17
18 SET( OPENSYNC_PLUGINDIR "@OPENSYNC_PLUGINDIR@" )
19 SET( OPENSYNC_FORMATSDIR "@OPENSYNC_FORMATSDIR@" )
20 SET( OPENSYNC_PYTHON_PLUGINDIR "@OPENSYNC_PYTHON_PLUGINDIR@" )
diff --git a/meta-demoapps/recipes-connectivity/opensync/libopensync-0.37/cmake.patch b/meta-demoapps/recipes-connectivity/opensync/libopensync-0.37/cmake.patch
deleted file mode 100644
index 20d09cf002..0000000000
--- a/meta-demoapps/recipes-connectivity/opensync/libopensync-0.37/cmake.patch
+++ /dev/null
@@ -1,19 +0,0 @@
1Upstream-Status: Inappropriate [configuration]
2
3---
4 opensync/CMakeLists.txt | 1 -
5 1 file changed, 1 deletion(-)
6
7Index: libopensync-0.37/opensync/CMakeLists.txt
8===================================================================
9--- libopensync-0.37.orig/opensync/CMakeLists.txt 2008-10-15 13:56:45.000000000 +0100
10+++ libopensync-0.37/opensync/CMakeLists.txt 2008-10-15 13:59:03.000000000 +0100
11@@ -67,8 +67,6 @@
12 SET_TARGET_PROPERTIES( opensync PROPERTIES VERSION ${OPENSYNC_LIBVERSION_VERSION} )
13 SET_TARGET_PROPERTIES( opensync PROPERTIES SOVERSION ${OPENSYNC_LIBVERSION_SOVERSION} )
14
15-SET_TARGET_PROPERTIES( opensync PROPERTIES COMPILE_FLAGS ${SYMBOLS_VISIBILITY} )
16-
17 IF ( OPENSYNC_UNITTESTS )
18 ADD_LIBRARY( opensync-testing SHARED ${libopensync_LIB_SRCS} )
19 TARGET_LINK_LIBRARIES( opensync-testing ${GLIB2_LIBRARIES} ${GTHREAD2_LIBRARIES} ${GMODULE2_LIBRARIES} ${LIBXML2_LIBRARIES} ${LIBXSLT_LIBRARIES} ${LIBEXSLT_LIBRARIES} ${SQLITE3_LIBRARIES} )
diff --git a/meta-demoapps/recipes-connectivity/opensync/libopensync-0.37/no-python-check.patch b/meta-demoapps/recipes-connectivity/opensync/libopensync-0.37/no-python-check.patch
deleted file mode 100644
index d59fddbf20..0000000000
--- a/meta-demoapps/recipes-connectivity/opensync/libopensync-0.37/no-python-check.patch
+++ /dev/null
@@ -1,18 +0,0 @@
1Upstream-Status: Inappropriate [configuration]
2
3---
4 CMakeLists.txt | 1 -
5 1 file changed, 1 deletion(-)
6
7Index: libopensync-0.37/CMakeLists.txt
8===================================================================
9--- libopensync-0.37.orig/CMakeLists.txt 2008-08-18 16:14:24.000000000 +0100
10+++ libopensync-0.37/CMakeLists.txt 2008-10-15 14:00:12.000000000 +0100
11@@ -65,7 +65,6 @@
12 FIND_PACKAGE( LibXslt REQUIRED )
13 FIND_PACKAGE( LibExslt REQUIRED )
14 FIND_PACKAGE( SWIG )
15-FIND_PACKAGE( PythonLibs )
16 FIND_PACKAGE( Check )
17
18 ADD_SUBDIRECTORY( opensync )
diff --git a/meta-demoapps/recipes-connectivity/opensync/libopensync-plugin-evolution2/0.37-fixes.patch b/meta-demoapps/recipes-connectivity/opensync/libopensync-plugin-evolution2/0.37-fixes.patch
deleted file mode 100644
index 9ef0353332..0000000000
--- a/meta-demoapps/recipes-connectivity/opensync/libopensync-plugin-evolution2/0.37-fixes.patch
+++ /dev/null
@@ -1,25 +0,0 @@
1Upstream-Status: Inappropriate [configuration]
2
3Index: libopensync-plugin-evolution2-0.36/cmake/modules/FindOpenSync.cmake
4===================================================================
5--- libopensync-plugin-evolution2-0.36.orig/cmake/modules/FindOpenSync.cmake 2008-10-20 13:07:14.000000000 +0100
6+++ libopensync-plugin-evolution2-0.36/cmake/modules/FindOpenSync.cmake 2008-10-20 13:08:09.000000000 +0100
7@@ -23,15 +23,15 @@
8 ENDIF ( OpenSync_FIND_REQUIRED )
9
10 IF ( OPENSYNC_MIN_VERSION )
11- PKG_SEARCH_MODULE( OPENSYNC ${_pkgconfig_REQUIRED} opensync-1.0>=${OPENSYNC_MIN_VERSION} )
12+ PKG_SEARCH_MODULE( OPENSYNC ${_pkgconfig_REQUIRED} libopensync>=${OPENSYNC_MIN_VERSION} )
13 ELSE ( OPENSYNC_MIN_VERSION )
14- PKG_SEARCH_MODULE( OPENSYNC ${_pkgconfig_REQUIRED} opensync-1.0 )
15+ PKG_SEARCH_MODULE( OPENSYNC ${_pkgconfig_REQUIRED} libopensync )
16 ENDIF ( OPENSYNC_MIN_VERSION )
17
18 FIND_PROGRAM( PKGCONFIG_EXECUTABLE NAMES pkg-config )
19
20 IF ( PKGCONFIG_EXECUTABLE )
21- EXEC_PROGRAM( ${PKGCONFIG_EXECUTABLE} ARGS opensync-1.0 --variable=datadir OUTPUT_VARIABLE _opensync_data_DIR )
22+ EXEC_PROGRAM( ${PKGCONFIG_EXECUTABLE} ARGS libopensync --variable=datadir OUTPUT_VARIABLE _opensync_data_DIR )
23 STRING( REGEX REPLACE "[\r\n]" " " _opensync_data_DIR "${_opensync_data_DIR}" )
24 ENDIF ( PKGCONFIG_EXECUTABLE )
25
diff --git a/meta-demoapps/recipes-connectivity/opensync/libopensync-plugin-evolution2_0.36.bb b/meta-demoapps/recipes-connectivity/opensync/libopensync-plugin-evolution2_0.36.bb
deleted file mode 100644
index 42dc4dd33d..0000000000
--- a/meta-demoapps/recipes-connectivity/opensync/libopensync-plugin-evolution2_0.36.bb
+++ /dev/null
@@ -1,8 +0,0 @@
1require libopensync-plugin_0.36.inc
2LICENSE = "LGPL"
3
4DEPENDS += " evolution-data-server"
5
6SRC_URI += "file://0.37-fixes.patch;patch=1"
7
8PR = "r2"
diff --git a/meta-demoapps/recipes-connectivity/opensync/libopensync-plugin-file_0.37.bb b/meta-demoapps/recipes-connectivity/opensync/libopensync-plugin-file_0.37.bb
deleted file mode 100644
index 404c172490..0000000000
--- a/meta-demoapps/recipes-connectivity/opensync/libopensync-plugin-file_0.37.bb
+++ /dev/null
@@ -1,2 +0,0 @@
1require libopensync-plugin_0.36.inc
2LICENSE = "LGPL"
diff --git a/meta-demoapps/recipes-connectivity/opensync/libopensync-plugin-google-calendar_0.36.bb b/meta-demoapps/recipes-connectivity/opensync/libopensync-plugin-google-calendar_0.36.bb
deleted file mode 100644
index dbcb2aac12..0000000000
--- a/meta-demoapps/recipes-connectivity/opensync/libopensync-plugin-google-calendar_0.36.bb
+++ /dev/null
@@ -1,2 +0,0 @@
1require libopensync-plugin_0.36.inc
2LICENSE = "GPLv2"
diff --git a/meta-demoapps/recipes-connectivity/opensync/libopensync-plugin-irmc_0.36.bb b/meta-demoapps/recipes-connectivity/opensync/libopensync-plugin-irmc_0.36.bb
deleted file mode 100644
index cb601f2dc7..0000000000
--- a/meta-demoapps/recipes-connectivity/opensync/libopensync-plugin-irmc_0.36.bb
+++ /dev/null
@@ -1,4 +0,0 @@
1require libopensync-plugin_0.36.inc
2LICENSE = "GPLv2"
3
4DEPENDS += "openobex bluez4"
diff --git a/meta-demoapps/recipes-connectivity/opensync/libopensync-plugin-syncml/fixerror.patch b/meta-demoapps/recipes-connectivity/opensync/libopensync-plugin-syncml/fixerror.patch
deleted file mode 100644
index 9e7a260774..0000000000
--- a/meta-demoapps/recipes-connectivity/opensync/libopensync-plugin-syncml/fixerror.patch
+++ /dev/null
@@ -1,15 +0,0 @@
1Upstream-Status: Inappropriate [others]
2
3Index: libopensync-plugin-syncml-0.38/src/syncml_callbacks.c
4===================================================================
5--- libopensync-plugin-syncml-0.38.orig/src/syncml_callbacks.c 2009-07-31 10:30:33.000000000 +0100
6+++ libopensync-plugin-syncml-0.38/src/syncml_callbacks.c 2009-07-31 10:30:39.000000000 +0100
7@@ -405,7 +405,7 @@
8 } else {
9 /* This problem should be fixed with the next SLOW-SYNC. */
10 osync_trace(TRACE_EXIT_ERROR, "%s - unexpected Add or Replace command", __func__);
11- smlErrorSet(error, SML_ERROR_TEMPORARY, "Unwanted Add or Replace command on second OMA DS session.");
12+ smlErrorSet(error, SML_ERROR_GENERIC, "Unwanted Add or Replace command on second OMA DS session.");
13 return FALSE;
14 }
15 }
diff --git a/meta-demoapps/recipes-connectivity/opensync/libopensync-plugin-syncml_0.38.bb b/meta-demoapps/recipes-connectivity/opensync/libopensync-plugin-syncml_0.38.bb
deleted file mode 100644
index e33336f57e..0000000000
--- a/meta-demoapps/recipes-connectivity/opensync/libopensync-plugin-syncml_0.38.bb
+++ /dev/null
@@ -1,8 +0,0 @@
1require libopensync-plugin_0.36.inc
2LICENSE = "LGPL"
3
4DEPENDS += " libsyncml (>= 0.4.7)"
5
6SRC_URI += "file://fixerror.patch;patch=1"
7
8PR = "r1"
diff --git a/meta-demoapps/recipes-connectivity/opensync/libopensync-plugin-vformat_0.37.bb b/meta-demoapps/recipes-connectivity/opensync/libopensync-plugin-vformat_0.37.bb
deleted file mode 100644
index a7d50dc615..0000000000
--- a/meta-demoapps/recipes-connectivity/opensync/libopensync-plugin-vformat_0.37.bb
+++ /dev/null
@@ -1,4 +0,0 @@
1require libopensync-plugin_0.36.inc
2LICENSE = "LGPL"
3
4DEPENDS += "libcheck"
diff --git a/meta-demoapps/recipes-connectivity/opensync/libopensync-plugin_0.36.inc b/meta-demoapps/recipes-connectivity/opensync/libopensync-plugin_0.36.inc
deleted file mode 100644
index cde47796dd..0000000000
--- a/meta-demoapps/recipes-connectivity/opensync/libopensync-plugin_0.36.inc
+++ /dev/null
@@ -1,11 +0,0 @@
1DEPENDS = "libopensync (>= 0.36)"
2
3DESCRIPTION ?= "OpenSync plugin"
4
5SRC_URI = "http://opensync.org/download/releases/${PV}/${BPN}-${PV}.tar.bz2"
6
7inherit cmake
8
9FILES_${PN} += "${libdir}/opensync*/plugins/*.so \
10 ${libdir}/opensync*/formats/*.so \
11 ${datadir}/opensync*/defaults/"
diff --git a/meta-demoapps/recipes-connectivity/opensync/libopensync_0.37.bb b/meta-demoapps/recipes-connectivity/opensync/libopensync_0.37.bb
deleted file mode 100644
index 437bdd2885..0000000000
--- a/meta-demoapps/recipes-connectivity/opensync/libopensync_0.37.bb
+++ /dev/null
@@ -1,26 +0,0 @@
1LICENSE = "LGPL"
2HOMEPAGE = "http://www.opensync.org/"
3SUMMARY = "Synchronization framwork"
4DESCRIPTION = "The OpenSync project is an ongoing effort to create a synchronization framework that will be a platform independent, general purpose synchronization engine utilizing modular plugins for content formats and different kind of connection types. OpenSync's modularity should allow it to be extended easily to new devices and purposes without radically changing the architecture itself, allowing it to support wide variety of devices used today and in the future."
5DEPENDS = "sqlite3 libxml2 glib-2.0 libcheck zlib libxslt"
6
7PR = "r1"
8
9SRC_URI = "http://opensync.org/download/releases/${PV}/libopensync-${PV}.tar.bz2\
10 file://cmake.patch;patch=1 \
11 file://build-in-src.patch;patch=1 \
12 file://no-python-check.patch;patch=1"
13
14inherit cmake pkgconfig
15
16LEAD_SONAME = "libopensync.so"
17
18FILES_${PN} += " ${libdir}/opensync*/formats/*.so \
19 ${libdir}/opensync*/osplugin \
20 ${datadir}/opensync*/schemas \
21 ${datadir}/opensync*/capabilities \
22 ${datadir}/opensync*/descriptions \
23 "
24FILES_${PN}-dbg += " ${libdir}/opensync*/formats/.debug/*.so \
25 ${libdir}/opensync*/.debug/osplugin "
26
diff --git a/meta-demoapps/recipes-connectivity/opensync/libsync_git.bb b/meta-demoapps/recipes-connectivity/opensync/libsync_git.bb
deleted file mode 100644
index 498620691d..0000000000
--- a/meta-demoapps/recipes-connectivity/opensync/libsync_git.bb
+++ /dev/null
@@ -1,22 +0,0 @@
1SUMMARY = "GObject-based sync library"
2DESCRIPTION = "LibSync is a GObject-based framework for more convenient use of \
3OpenSync in GLib applications."
4LICENSE = "LGPLv2"
5SECTION = "x11"
6DEPENDS = "glib-2.0 gtk+ libglade libopensync avahi"
7RRECOMMENDS_${PN} = "\
8 libopensync-plugin-file \
9 "
10SRCREV = "3f375969d56028505db97cd25ef1679a167cfc59"
11PV = "0.0+gitr${SRCPV}"
12PR = "r2"
13
14SRC_URI = "git://git.yoctoproject.org/sync;protocol=git"
15
16inherit autotools pkgconfig
17
18S = "${WORKDIR}/sync"
19
20PACKAGES += "synctool"
21FILES_${PN} = "${libdir}/lib*.so.*"
22FILES_synctool = "${bindir} ${datadir}"
diff --git a/meta-demoapps/recipes-connectivity/opensync/libsyncml/build-in-src.patch b/meta-demoapps/recipes-connectivity/opensync/libsyncml/build-in-src.patch
deleted file mode 100644
index 9947af042d..0000000000
--- a/meta-demoapps/recipes-connectivity/opensync/libsyncml/build-in-src.patch
+++ /dev/null
@@ -1,21 +0,0 @@
1Upstream-Status: Inappropriate [configuration]
2
3---
4 CMakeLists.txt | 4 ----
5 1 file changed, 4 deletions(-)
6
7Index: libsyncml-0.5.4/CMakeLists.txt
8===================================================================
9--- libsyncml-0.5.4.orig/CMakeLists.txt 2009-07-31 09:56:16.000000000 +0100
10+++ libsyncml-0.5.4/CMakeLists.txt 2009-07-31 09:57:33.000000000 +0100
11@@ -72,10 +72,6 @@
12 CHECK_TYPE_SIZE( uint32_t UINT32_T )
13 CHECK_TYPE_SIZE( uint8_t UINT8_T )
14
15-# ensure out od source build
16-INCLUDE( MacroEnsureOutOfSourceBuild )
17-MACRO_ENSURE_OUT_OF_SOURCE_BUILD("${CMAKE_PROJECT_NAME} doesn't allow to build within the source directory. Please, create a seperate build directory and run 'cmake ${PROJECT_SOURCE_DIR} [options]'!")
18-
19 # find requirements
20 SET ( GLIB2_MIN_VERSION "2.12" )
21 SET ( OPENOBEX_MIN_VERSION "1.1" )
diff --git a/meta-demoapps/recipes-connectivity/opensync/libsyncml_0.5.4.bb b/meta-demoapps/recipes-connectivity/opensync/libsyncml_0.5.4.bb
deleted file mode 100644
index e96463bbaf..0000000000
--- a/meta-demoapps/recipes-connectivity/opensync/libsyncml_0.5.4.bb
+++ /dev/null
@@ -1,17 +0,0 @@
1DESCRIPTION = "Libsyncml is a implementation of the SyncML protocol."
2HOMEPAGE = "http://libsyncml.opensync.org/"
3LICENSE = "LGPL"
4DEPENDS = "sed-native wbxml2 libsoup libxml2 bluez4 openobex libcheck"
5PR = "r1"
6
7SRC_URI = "${SOURCEFORGE_MIRROR}/libsyncml/0.5.4/libsyncml-0.5.4.tar.bz2 \
8 file://build-in-src.patch;patch=1"
9
10inherit cmake pkgconfig
11
12PACKAGES += "${PN}-tools"
13
14FILES_${PN}-tools = "${bindir}"
15FILES_${PN} = "${libdir}/*.so.*"
16
17export VERBOSE="1"
diff --git a/meta-demoapps/recipes-connectivity/opensync/msynctool_0.38.bb b/meta-demoapps/recipes-connectivity/opensync/msynctool_0.38.bb
deleted file mode 100644
index ff86a0b103..0000000000
--- a/meta-demoapps/recipes-connectivity/opensync/msynctool_0.38.bb
+++ /dev/null
@@ -1,20 +0,0 @@
1SUMMARY = "Calendar (and other PIM data) synchronization program"
2DESCRIPTION = "msynctool is a program to synchronize calendars, \
3addressbooks and other PIM data between programs on your computer and \
4other computers, mobile devices, PDAs or cell phones. It uses the \
5OpenSync plugins when synchronizing data."
6HOMEPAGE = "http://www.opensync.org/"
7LICENSE = "GPLv2+"
8LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
9 file://tools/msynctool.c;beginline=1;endline=20;md5=0b71ef245b75c74bff7d7ec58b9b4527"
10
11DEPENDS = "libopensync glib-2.0"
12
13SRC_URI = "http://www.opensync.org/download/releases/${PV}/msynctool-${PV}.tar.bz2"
14
15inherit cmake pkgconfig
16
17PR = "r0"
18
19SRC_URI[md5sum] = "495c45d6f12d3523a736864b0ced6ce5"
20SRC_URI[sha256sum] = "4a903d4db05bf2f677a675ec47e9791da9b1752c9feda0026157e82aa97e372b"
diff --git a/meta-demoapps/recipes-connectivity/telepathy/empathy/no-gnome-doc.patch b/meta-demoapps/recipes-connectivity/telepathy/empathy/no-gnome-doc.patch
deleted file mode 100644
index ee15f4da58..0000000000
--- a/meta-demoapps/recipes-connectivity/telepathy/empathy/no-gnome-doc.patch
+++ /dev/null
@@ -1,41 +0,0 @@
1Upstream-Status: Inappropriate [disable feature]
2
3---
4 Makefile.am | 2 +-
5 configure.ac | 1 -
6 help/Makefile.am | 1 -
7 3 files changed, 1 insertion(+), 3 deletions(-)
8
9--- empathy-0.23.4.orig/Makefile.am
10+++ empathy-0.23.4/Makefile.am
11@@ -1,6 +1,6 @@
12-SUBDIRS = tools extensions po data libempathy libempathy-gtk src docs help
13+SUBDIRS = tools extensions po data libempathy libempathy-gtk src
14
15 if HAVE_MEGAPHONE
16 SUBDIRS += megaphone
17 endif
18
19--- empathy-0.23.4.orig/configure.ac
20+++ empathy-0.23.4/configure.ac
21@@ -55,11 +55,10 @@ AM_PROG_LIBTOOL
22 AM_PROG_MKDIR_P
23 AM_PATH_GLIB_2_0
24 AC_PATH_XTRA
25 IT_PROG_INTLTOOL([0.35.0])
26 GTK_DOC_CHECK([1.3])
27-GNOME_DOC_INIT
28 IDT_COMPILE_WARNINGS
29 AC_PATH_PROG(DBUS_BINDING_TOOL, dbus-binding-tool)
30 AC_PATH_PROG(GCONFTOOL, gconftool-2)
31 AM_GCONF_SOURCE_2
32 GLIB_GENMARSHAL=`$PKG_CONFIG glib-2.0 --variable=glib_genmarshal`
33--- empathy-0.23.4.orig/help/Makefile.am
34+++ empathy-0.23.4/help/Makefile.am
35@@ -1,6 +1,5 @@
36-include $(top_srcdir)/gnome-doc-utils.make
37
38 DOC_MODULE = empathy
39 DOC_ENTITIES = legal.xml
40 DOC_FIGURES = \
41 figures/empathy-main-window.png \
diff --git a/meta-demoapps/recipes-connectivity/telepathy/empathy_2.26.1.bb b/meta-demoapps/recipes-connectivity/telepathy/empathy_2.26.1.bb
deleted file mode 100644
index f4f8faec63..0000000000
--- a/meta-demoapps/recipes-connectivity/telepathy/empathy_2.26.1.bb
+++ /dev/null
@@ -1,29 +0,0 @@
1SUMMARY = "a Telepathy based IM client"
2DESCRIPTION = "Instant messaging program supporting text, voice, video, file \
3transfers and interapplication communication over many different protocols, \
4include: AIM, MSN, Google Talk (Jabber/XMPP), Facebook, Yahoo!, Salut, \
5Gadu-Gadu, Groupwise, ICQ and QQ."
6HOMEPAGE = "http://blogs.gnome.org/view/xclaesse/2007/04/26/0"
7LICENSE = "GPL"
8DEPENDS = "libcanberra telepathy-farsight gnome-doc-utils python-native telepathy-python telepathy-mission-control libtelepathy telepathy-glib gtk+ gconf libglade evolution-data-server"
9RDEPENDS_${PN} = "telepathy-mission-control"
10RRECOMMENDS_${PN} = "telepathy-gabble"
11PR = "r4"
12
13inherit gnome
14
15PARALLEL_MAKE = ""
16
17EXTRA_OECONF += "--disable-scrollkeeper"
18
19PACKAGES =+ "empathy-scrollkeeper-junk"
20FILES_empathy-scrollkeeper-junk = "/var/lib/scrollkeeper"
21
22FILES_${PN} += "${datadir}/mission-control/profiles/*.profile \
23 ${datadir}/dbus-1/services/*.service \
24 ${datadir}/telepathy/managers/*.chandler \
25 ${datadir}/icons \
26 ${libdir}/python*"
27
28FILES_${PN}-dbg += "${libdir}/python*/*/.debug"
29
diff --git a/meta-demoapps/recipes-connectivity/telepathy/telepathy-farsight_0.0.7.bb b/meta-demoapps/recipes-connectivity/telepathy/telepathy-farsight_0.0.7.bb
deleted file mode 100644
index 3ddee8f4ad..0000000000
--- a/meta-demoapps/recipes-connectivity/telepathy/telepathy-farsight_0.0.7.bb
+++ /dev/null
@@ -1,16 +0,0 @@
1SUMMARY = "Telepathy fasrsight"
2DESCRIPTION = "Glue library for telepathy media signalling and the media \
3streaming capabilities of Farsight2."
4HOMEPAGE = "http://telepathy.freedesktop.org/wiki/"
5DEPENDS = "glib-2.0 dbus telepathy-glib farsight2"
6LICENSE = "LGPLv2"
7
8SRC_URI = "http://telepathy.freedesktop.org/releases/telepathy-farsight/${BPN}-${PV}.tar.gz \
9"
10
11inherit autotools
12
13EXTRA_OECONF = "--disable-python"
14
15FILES_${PN} += "${datadir}/telepathy \
16 ${datadir}/dbus-1"
diff --git a/meta-demoapps/recipes-connectivity/telepathy/telepathy-gabble/gabble.manager b/meta-demoapps/recipes-connectivity/telepathy/telepathy-gabble/gabble.manager
deleted file mode 100644
index 9000cd41cc..0000000000
--- a/meta-demoapps/recipes-connectivity/telepathy/telepathy-gabble/gabble.manager
+++ /dev/null
@@ -1,33 +0,0 @@
1
2[ConnectionManager]
3BusName=org.freedesktop.Telepathy.ConnectionManager.gabble
4ObjectPath=/org/freedesktop/Telepathy/ConnectionManager/gabble
5
6[Protocol jabber]
7param-account=s required register
8param-password=s required register
9param-server=s
10param-resource=s
11param-priority=n
12param-port=q
13param-old-ssl=b
14param-register=b
15param-low-bandwidth=b
16param-https-proxy-server=s
17param-https-proxy-port=q
18param-fallback-conference-server=s
19param-stun-server=s
20param-stun-port=q
21param-ignore-ssl-errors=b
22param-alias=s
23param-mac=s
24param-btid=s
25default-resource=Telepathy
26default-priority=0
27default-port=5222
28default-old-ssl=false
29default-register=false
30default-low-bandwidth=false
31default-https-proxy-port=443
32default-stun-port=3478
33default-ignore-ssl-errors=false
diff --git a/meta-demoapps/recipes-connectivity/telepathy/telepathy-gabble_0.7.8.bb b/meta-demoapps/recipes-connectivity/telepathy/telepathy-gabble_0.7.8.bb
deleted file mode 100644
index 36e9d65874..0000000000
--- a/meta-demoapps/recipes-connectivity/telepathy/telepathy-gabble_0.7.8.bb
+++ /dev/null
@@ -1,18 +0,0 @@
1SUMMARY = "Telepathy Jabber/XMPP connection manager"
2DESCRIPTION = "Telepathy implementation of the Jabber/XMPP protocols."
3HOMEPAGE = "http://telepathy.freedesktop.org/wiki/"
4DEPENDS = "glib-2.0 dbus loudmouth telepathy-glib dbus-glib"
5LICENSE = "LGPL"
6
7# gabble.manager needs to get regenerated every release, so please don't copy it over blindly
8SRC_URI = "http://telepathy.freedesktop.org/releases/telepathy-gabble/${BPN}-${PV}.tar.gz \
9 file://gabble.manager"
10
11inherit autotools pkgconfig
12
13do_compile_prepend() {
14 cp ${WORKDIR}/gabble.manager ${S}/data/
15}
16
17FILES_${PN} += "${datadir}/telepathy \
18 ${datadir}/dbus-1"
diff --git a/meta-demoapps/recipes-connectivity/wbxml/files/no-doc-install.patch b/meta-demoapps/recipes-connectivity/wbxml/files/no-doc-install.patch
deleted file mode 100644
index 1d9ea431c2..0000000000
--- a/meta-demoapps/recipes-connectivity/wbxml/files/no-doc-install.patch
+++ /dev/null
@@ -1,17 +0,0 @@
1
2Upstream-Status: Inappropriate [configuration]
3--- wbxml2-0.9.2/Makefile.am.old 2007-01-03 19:50:24.000000000 +0000
4+++ wbxml2-0.9.2/Makefile.am 2007-01-03 19:50:39.000000000 +0000
5@@ -24,9 +24,9 @@
6 TODO\
7 doxygen.h
8
9-install-data-local:
10- $(mkinstalldirs) $(DESTDIR)$(wbxmldocdir)/manual
11- cp -Rp doc/* $(DESTDIR)$(wbxmldocdir)/manual
12+#install-data-local:
13+# $(mkinstalldirs) $(DESTDIR)$(wbxmldocdir)/manual
14+# cp -Rp doc/* $(DESTDIR)$(wbxmldocdir)/manual
15
16 dist-bz2: distdir
17 sed -e "s/tar.gz/tar.bz2/g" $(distdir)/wbxml2.spec > $(distdir)/wbxml2.spec.aux
diff --git a/meta-demoapps/recipes-connectivity/wbxml/wbxml2_0.9.2.bb b/meta-demoapps/recipes-connectivity/wbxml/wbxml2_0.9.2.bb
deleted file mode 100644
index 42655a1df8..0000000000
--- a/meta-demoapps/recipes-connectivity/wbxml/wbxml2_0.9.2.bb
+++ /dev/null
@@ -1,24 +0,0 @@
1SUMMARY = "Parsing and Encoding of WBXML documents"
2DESCRIPTION = "The WBXML Library (aka libwbxml) contains a library and \
3its associated tools to Parse, Encode and Handle WBXML documents. The \
4WBXML format is a binary representation of XML, defined by the Wap \
5Forum, and used to reduce bandwidth in mobile communications."
6LICENSE = "GPLv2"
7
8DEPENDS = "libxml2 sed-native expat"
9
10SRC_URI = "${SOURCEFORGE_MIRROR}/wbxmllib/${BPN}-${PV}.tar.gz \
11 file://no-doc-install.patch;patch=1"
12
13inherit autotools pkgconfig
14
15do_configure_append() {
16 sed -i s:-I/usr/include::g Makefile
17 sed -i s:-I/usr/include::g */Makefile
18}
19
20PACKAGES += "${PN}-tools"
21
22FILES_${PN}-tools = "${bindir}"
23FILES_${PN} = "${libdir}/*.so.*"
24
diff --git a/meta-demoapps/recipes-gnome/abiword/abiword-2.5.inc b/meta-demoapps/recipes-gnome/abiword/abiword-2.5.inc
deleted file mode 100644
index 511ae97bef..0000000000
--- a/meta-demoapps/recipes-gnome/abiword/abiword-2.5.inc
+++ /dev/null
@@ -1,64 +0,0 @@
1DESCRIPTION = "AbiWord is free word processing program similar to Microsoft(r) Word"
2HOMEPAGE = "http://www.abiword.org"
3SECTION = "x11/office"
4LICENSE = "GPLv2"
5DEPENDS = "perl-native wv libgsf libglade libfribidi jpeg libpng libxml2"
6RDEPENDS_${PN} = "glibc-gconv-ibm850 glibc-gconv-cp1252 \
7 glibc-gconv-iso8859-15 glibc-gconv-iso8859-1"
8
9SRC_URI = "http://www.abiword.org/downloads/abiword/${PV}/source/abiword-${PV}.tar.gz"
10
11#want 2.x from 2.x.y for the installation directory
12SHRT_VER = "${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1]}"
13
14FILES_${PN} += " \
15 ${datadir}/icons/* \
16 ${datadir}/abiword-${SHRT_VER}/glade \
17 ${datadir}/abiword-${SHRT_VER}/scripts \
18 ${datadir}/abiword-${SHRT_VER}/system.profile-en \
19 ${datadir}/abiword-${SHRT_VER}/system.profile-en_GB \
20 ${datadir}/abiword-${SHRT_VER}/templates/normal.awt \
21 ${datadir}/abiword-${SHRT_VER}/templates/normal.awt-en_GB \
22 ${datadir}/abiword-${SHRT_VER}/templates/Employee-Directory.awt \
23 ${datadir}/abiword-${SHRT_VER}/templates/Business-Report.awt \
24 ${datadir}/abiword-${SHRT_VER}/templates/Fax-Coversheet.awt \
25 ${datadir}/abiword-${SHRT_VER}/templates/Resume.awt \
26 ${datadir}/abiword-${SHRT_VER}/templates/Two-Columns.awt \
27 ${datadir}/abiword-${SHRT_VER}/templates/Memo.awt \
28 ${datadir}/abiword-${SHRT_VER}/templates/Press-Release.awt "
29
30# ${datadir}/abiword-${SHRT_VER}/templates/A4.awt \
31# ${datadir}/abiword-${SHRT_VER}/templates/US-Letter.awt \
32
33inherit autotools pkgconfig
34
35PARALLEL_MAKE = ""
36
37EXTRA_OECONF = " --disable-pspell \
38 --disable-spellcheck \
39 --disable-printing \
40 --disable-exports \
41 --with-sys-wv"
42
43# AbiWord configure.ac does not play nicely with autoreconf
44# so use the autogen.sh script that comes with AbiWord
45#
46do_configure() {
47 cd ${S}
48 export NOCONFIGURE="no"; ./autogen.sh
49 oe_runconf
50}
51
52
53do_install_append() {
54 install -d ${D}${datadir}/pixmaps/
55 mv ${D}${datadir}/icons/* ${D}${datadir}/pixmaps/
56}
57
58PACKAGES += " abiword-clipart abiword-icons abiword-strings abiword-systemprofiles abiword-templates "
59
60FILES_abiword-clipart += "${datadir}/abiword-${SHRT_VER}/clipart"
61FILES_abiword-icons += "${datadir}/abiword-${SHRT_VER}/icons"
62FILES_abiword-strings += "${datadir}/abiword-${SHRT_VER}/AbiWord/strings"
63FILES_abiword-systemprofiles += "${datadir}/abiword-${SHRT_VER}/AbiWord/system.profile*"
64FILES_abiword-templates += "${datadir}/abiword-${SHRT_VER}/templates"
diff --git a/meta-demoapps/recipes-gnome/abiword/abiword-embedded_2.5.2.bb b/meta-demoapps/recipes-gnome/abiword/abiword-embedded_2.5.2.bb
deleted file mode 100644
index 7ee0f866a0..0000000000
--- a/meta-demoapps/recipes-gnome/abiword/abiword-embedded_2.5.2.bb
+++ /dev/null
@@ -1,12 +0,0 @@
1require abiword-2.5.inc
2
3PR = "r1"
4
5EXTRA_OECONF += "--enable-embedded"
6
7S = "${WORKDIR}/abiword-${PV}"
8
9RCONFLICTS = "abiword"
10RPROVIDES += "abiword"
11
12
diff --git a/meta-demoapps/recipes-gnome/abiword/abiword.inc b/meta-demoapps/recipes-gnome/abiword/abiword.inc
deleted file mode 100644
index 036f98f348..0000000000
--- a/meta-demoapps/recipes-gnome/abiword/abiword.inc
+++ /dev/null
@@ -1,64 +0,0 @@
1DESCRIPTION = "AbiWord is free word processing program similar to Microsoft(r) Word"
2SECTION = "gnome/office"
3HOMEPAGE = "http://www.abiword.org""
4LICENSE = "GPLv2"
5
6DEPENDS = "libgsf libglade libfribidi libxml2 wv"
7RRECOMMENDS_${PN} = "glibc-gconv-ibm850 glibc-gconv-cp1252 \
8 glibc-gconv-iso8859-15 glibc-gconv-iso8859-1"
9
10# Share this file between recipes that use cvs and that pull tarballs
11# (one day change this to differentiate automatically based on PV and set the
12# SRC_URI and S var directly)
13RELURI = "http://www.abiword.org/downloads/abiword/${PV}/source/abiword-${PV}.tar.gz"
14RELSRC = "${WORKDIR}/abiword-${PV}/abi"
15
16SVNURI = "svn://svn.abisource.com/abiword/trunk;module=abiword;proto=http"
17SVNSRC = "${WORKDIR}/abi"
18
19#want 2.x from 2.x.y for the installation directory
20SHRT_VER = "${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1]}"
21
22FILES_${PN} += " \
23 ${datadir}/icons/* \
24 ${datadir}/mime-info \
25 ${datadir}/abiword-${SHRT_VER}/glade \
26 ${datadir}/abiword-${SHRT_VER}/system.profile-en \
27 ${datadir}/abiword-${SHRT_VER}/system.profile-en-GB \
28 "
29
30# ${datadir}/abiword-${SHRT_VER}/templates/normal.awt \
31# ${datadir}/abiword-${SHRT_VER}/templates/normal.awt-en_GB \
32
33inherit autotools pkgconfig
34
35PARALLEL_MAKE = ""
36
37# This is a minimalistic AbiWord build
38#
39# if you are planning to build plugins, make sure to comment out the
40# --disable-exports options
41
42EXTRA_OECONF = " --enable-embedded=poky \
43 --disable-printing \
44 --with-sys-wv \
45 --disable-exports \
46 --disable-spellcheck"
47
48# TODO -- refactor this, so that instead of two strings and profiles
49# packages we have lots of locale packages, each with a set of strings and
50# a profile
51#
52PACKAGES += " abiword-strings abiword-systemprofiles"
53
54FILES_abiword-strings += "${datadir}/abiword-${SHRT_VER}/strings"
55FILES_abiword-systemprofiles += "${datadir}/abiword-${SHRT_VER}/system.profile*"
56
57# AbiWord configure.ac does not play nicely with autoreconf
58# so use the autogen.sh script that comes with AbiWord
59#
60do_configure() {
61 cd ${S}
62 export NOCONFIGURE="no"; ./autogen.sh
63 oe_runconf
64}
diff --git a/meta-demoapps/recipes-gnome/abiword/abiword_2.5.2.bb b/meta-demoapps/recipes-gnome/abiword/abiword_2.5.2.bb
deleted file mode 100644
index c10d761b06..0000000000
--- a/meta-demoapps/recipes-gnome/abiword/abiword_2.5.2.bb
+++ /dev/null
@@ -1,5 +0,0 @@
1require abiword-2.5.inc
2
3PR = "r2"
4
5RCONFLICTS_${PN} = "abiword-embedded"
diff --git a/meta-demoapps/recipes-gnome/abiword/abiword_svn.bb b/meta-demoapps/recipes-gnome/abiword/abiword_svn.bb
deleted file mode 100644
index a8946a80ee..0000000000
--- a/meta-demoapps/recipes-gnome/abiword/abiword_svn.bb
+++ /dev/null
@@ -1,10 +0,0 @@
1require abiword.inc
2
3SRCREV = "21818"
4PV="2.5.2+svnr${SRCPV}"
5PR = "r0"
6
7SRC_URI = "${SVNURI}"
8
9S = "${SVNSRC}"
10
diff --git a/meta-demoapps/recipes-gnome/gcalctool/gcalctool/fix-includedir.patch b/meta-demoapps/recipes-gnome/gcalctool/gcalctool/fix-includedir.patch
deleted file mode 100644
index 64a9affded..0000000000
--- a/meta-demoapps/recipes-gnome/gcalctool/gcalctool/fix-includedir.patch
+++ /dev/null
@@ -1,33 +0,0 @@
1---
2 Makefile.am | 2 +-
3 gcalctool/Makefile.am | 2 --
4 2 files changed, 1 insertion(+), 3 deletions(-)
5
6Upstream-Status: Inappropriate [configuration]
7
8Index: gcalctool-5.8.17/gcalctool/Makefile.am
9===================================================================
10--- gcalctool-5.8.17.orig/gcalctool/Makefile.am 2005-12-19 15:46:57.000000000 +0000
11+++ gcalctool-5.8.17/gcalctool/Makefile.am 2007-05-16 16:03:26.000000000 +0100
12@@ -1,8 +1,6 @@
13 ## Process this file with automake to produce Makefile.in
14
15 INCLUDES = \
16- -I$(includedir) \
17- -DG_DISABLE_DEPRECATED \
18 -DGDK_PIXBUF_DISABLE_DEPRECATED \
19 -DGDK_DISABLE_DEPRECATED \
20 -DGNOME_DISABLE_DEPRECATED \
21Index: gcalctool-5.8.17/Makefile.am
22===================================================================
23--- gcalctool-5.8.17.orig/Makefile.am 2007-05-16 15:35:44.000000000 +0100
24+++ gcalctool-5.8.17/Makefile.am 2007-05-16 16:06:46.000000000 +0100
25@@ -29,7 +29,7 @@ DISTCLEANFILES = \
26 gnome-doc-utils.make \
27 gcalctool.desktop
28
29-SUBDIRS = po gcalctool help
30+SUBDIRS = po gcalctool
31
32 SCHEMAS_FILE = gcalctool.schemas
33
diff --git a/meta-demoapps/recipes-gnome/gcalctool/gcalctool_5.7.32.bb b/meta-demoapps/recipes-gnome/gcalctool/gcalctool_5.7.32.bb
deleted file mode 100644
index 4b74cf19c5..0000000000
--- a/meta-demoapps/recipes-gnome/gcalctool/gcalctool_5.7.32.bb
+++ /dev/null
@@ -1,13 +0,0 @@
1LICENSE = "GPL"
2SECTION = "x11"
3DEPENDS = "gtk+"
4DESCRIPTION = "gcalctool is a powerful calculator"
5PR = "r2"
6
7SRC_URI = "http://download.gnome.org/sources/${BPN}/5.7/${BPN}-${PV}.tar.gz \
8 file://makefile-fix.diff;patch=1\
9 file://fix-includedir.patch;patch=1"
10
11inherit autotools pkgconfig
12
13EXTRA_OECONF = "--disable-gnome"
diff --git a/meta-demoapps/recipes-gnome/gcalctool/gcalctool_5.8.17.bb b/meta-demoapps/recipes-gnome/gcalctool/gcalctool_5.8.17.bb
deleted file mode 100644
index 8854ecf312..0000000000
--- a/meta-demoapps/recipes-gnome/gcalctool/gcalctool_5.8.17.bb
+++ /dev/null
@@ -1,12 +0,0 @@
1LICENSE = "GPL"
2SECTION = "x11"
3DEPENDS = "gtk+ gnome-doc-utils"
4DESCRIPTION = "gcalctool is a powerful calculator"
5PR = "r0"
6
7SRC_URI = "http://download.gnome.org/sources/${BPN}/5.8/${BPN}-${PV}.tar.gz \
8 file://fix-includedir.patch;patch=1"
9
10inherit autotools pkgconfig
11
12EXTRA_OECONF = "--disable-gnome"
diff --git a/meta-demoapps/recipes-gnome/gnome/gnome-settings-daemon/configurefix.patch b/meta-demoapps/recipes-gnome/gnome/gnome-settings-daemon/configurefix.patch
deleted file mode 100644
index 892946f782..0000000000
--- a/meta-demoapps/recipes-gnome/gnome/gnome-settings-daemon/configurefix.patch
+++ /dev/null
@@ -1,32 +0,0 @@
1Upstream-Status: Inappropriate [configuration]
2
3Index: gnome-settings-daemon-2.26.1/configure.ac
4===================================================================
5--- gnome-settings-daemon-2.26.1.orig/configure.ac 2009-09-16 22:57:31.000000000 +0100
6+++ gnome-settings-daemon-2.26.1/configure.ac 2009-09-16 22:58:45.000000000 +0100
7@@ -133,9 +133,6 @@
8 #
9 AC_DEFUN([AC_CHECK_X_HEADERS], [
10 ac_save_CPPFLAGS="$CPPFLAGS"
11- if test \! -z "$includedir" ; then
12- CPPFLAGS="$CPPFLAGS -I$includedir"
13- fi
14 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
15 AC_CHECK_HEADERS([$1],[$2],[$3],[$4])
16 CPPFLAGS="$ac_save_CPPFLAGS"])
17@@ -148,15 +145,9 @@
18 ac_save_LDFLAGS="$LDFLAGS"
19 # ac_save_LIBS="$LIBS"
20
21- if test \! -z "$includedir" ; then
22- CPPFLAGS="$CPPFLAGS -I$includedir"
23- fi
24 # note: $X_CFLAGS includes $x_includes
25 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
26
27- if test \! -z "$libdir" ; then
28- LDFLAGS="$LDFLAGS -L$libdir"
29- fi
30 # note: $X_LIBS includes $x_libraries
31 LDFLAGS="$LDFLAGS $ALL_X_LIBS"
32
diff --git a/meta-demoapps/recipes-gnome/gnome/gnome-settings-daemon/desktop-moblin.patch b/meta-demoapps/recipes-gnome/gnome/gnome-settings-daemon/desktop-moblin.patch
deleted file mode 100644
index b8f1661b06..0000000000
--- a/meta-demoapps/recipes-gnome/gnome/gnome-settings-daemon/desktop-moblin.patch
+++ /dev/null
@@ -1,13 +0,0 @@
1Upstream-Status: Inappropriate [configuration]
2
3--- gnome-settings-daemon-2.26.1/data/gnome-settings-daemon.desktop.in.in~ 2009-04-24 20:59:51.000000000 -0700
4+++ gnome-settings-daemon-2.26.1/data/gnome-settings-daemon.desktop.in.in 2009-04-24 20:59:51.000000000 -0700
5@@ -2,7 +2,7 @@
6 Type=Application
7 _Name=GNOME Settings Daemon
8 Exec=@LIBEXECDIR@/gnome-settings-daemon
9-OnlyShowIn=GNOME;
10+OnlyShowIn=GNOME;MOBLIN;
11 X-GNOME-Autostart-Phase=Initialization
12 X-GNOME-Autostart-Notify=true
13 X-GNOME-AutoRestart=true
diff --git a/meta-demoapps/recipes-gnome/gnome/gnome-settings-daemon/gnome-settings-daemon-2.24.0-catch-deviceadded.patch b/meta-demoapps/recipes-gnome/gnome/gnome-settings-daemon/gnome-settings-daemon-2.24.0-catch-deviceadded.patch
deleted file mode 100644
index b9cf6e17d3..0000000000
--- a/meta-demoapps/recipes-gnome/gnome/gnome-settings-daemon/gnome-settings-daemon-2.24.0-catch-deviceadded.patch
+++ /dev/null
@@ -1,21 +0,0 @@
1Upstream-Status: Pending
2
3============================================================
4 Listen for DeviceAdded in addition to DeviceEnabled
5
6 This should help address problems like left-handed
7mouse, and acceleration settings getting lost after
8resume, or when new devices gets plugged in.
9
10diff --git a/plugins/mouse/gsd-mouse-manager.c b/plugins/mouse/gsd-mouse-manager.c
11--- a/plugins/mouse/gsd-mouse-manager.c
12+++ b/plugins/mouse/gsd-mouse-manager.c
13@@ -320,7 +320,7 @@ devicepresence_filter (GdkXEvent *xevent,
14 if (xev->type == xi_presence)
15 {
16 XDevicePresenceNotifyEvent *dpn = (XDevicePresenceNotifyEvent *) xev;
17- if (dpn->devchange == DeviceEnabled)
18+ if (dpn->devchange == DeviceEnabled || dpn->devchange == DeviceAdded)
19 set_mouse_settings ((GsdMouseManager *) data);
20 }
21 return GDK_FILTER_CONTINUE;
diff --git a/meta-demoapps/recipes-gnome/gnome/gnome-settings-daemon/gnome-settings-daemon-fix-gthread.patch b/meta-demoapps/recipes-gnome/gnome/gnome-settings-daemon/gnome-settings-daemon-fix-gthread.patch
deleted file mode 100644
index 965da0961e..0000000000
--- a/meta-demoapps/recipes-gnome/gnome/gnome-settings-daemon/gnome-settings-daemon-fix-gthread.patch
+++ /dev/null
@@ -1,15 +0,0 @@
1Upstream-Status: Inappropriate [configuration]
2
3Index: gnome-settings-daemon-2.25.90/configure.ac
4===================================================================
5--- gnome-settings-daemon-2.25.90.orig/configure.ac
6+++ gnome-settings-daemon-2.25.90/configure.ac
7@@ -85,6 +85,8 @@ AC_PATH_PROG(GCONFTOOL, gconftool-2)
8
9 AM_GCONF_SOURCE_2
10
11+AC_CHECK_LIB(gthread-2.0, g_thread_init)
12+
13 dnl ---------------------------------------------------------------------------
14 dnl - Check for libnotify
15 dnl ---------------------------------------------------------------------------
diff --git a/meta-demoapps/recipes-gnome/gnome/gnome-settings-daemon/mojito-cleanup.patch b/meta-demoapps/recipes-gnome/gnome/gnome-settings-daemon/mojito-cleanup.patch
deleted file mode 100644
index 79f28711c5..0000000000
--- a/meta-demoapps/recipes-gnome/gnome/gnome-settings-daemon/mojito-cleanup.patch
+++ /dev/null
@@ -1,76 +0,0 @@
1Upstream-Status: Pending
2
3diff --git a/plugins/housekeeping/gsd-housekeeping-manager.c b/plugins/housekeeping/gsd-housekeeping-manager.c
4index f84cfad..e8f474a 100644
5--- a/plugins/housekeeping/gsd-housekeeping-manager.c
6+++ b/plugins/housekeeping/gsd-housekeeping-manager.c
7@@ -85,9 +85,13 @@ thumb_data_free (gpointer data)
8 }
9 }
10
11+typedef enum {
12+ HASH,
13+ HASH_PNG
14+} FileType;
15
16 static GList *
17-read_dir_for_purge (const char *path, GList *files)
18+read_dir_for_purge (const char *path, GList *files, FileType type)
19 {
20 GFile *read_path;
21 GFileEnumerator *enum_dir;
22@@ -105,9 +109,20 @@ read_dir_for_purge (const char *path, GList *files)
23 GFileInfo *info;
24 while ((info = g_file_enumerator_next_file (enum_dir, NULL, NULL)) != NULL) {
25 const char *name;
26+ gboolean prune = FALSE;
27+
28 name = g_file_info_get_name (info);
29
30- if (strlen (name) == 36 && strcmp (name + 32, ".png") == 0) {
31+ switch (type) {
32+ case HASH:
33+ prune = (strlen (name) == 36);
34+ break;
35+ case HASH_PNG:
36+ prune = (strlen (name) == 36 && strcmp (name + 32, ".png") == 0);
37+ break;
38+ }
39+
40+ if (prune) {
41 ThumbData *td;
42 GFile *entry;
43 char *entry_path;
44@@ -197,14 +212,14 @@ purge_thumbnail_cache (void)
45 ".thumbnails",
46 "normal",
47 NULL);
48- files = read_dir_for_purge (path, NULL);
49+ files = read_dir_for_purge (path, NULL, HASH_PNG);
50 g_free (path);
51
52 path = g_build_filename (g_get_home_dir (),
53 ".thumbnails",
54 "large",
55 NULL);
56- files = read_dir_for_purge (path, files);
57+ files = read_dir_for_purge (path, files, HASH_PNG);
58 g_free (path);
59
60 path = g_build_filename (g_get_home_dir (),
61@@ -212,7 +227,14 @@ purge_thumbnail_cache (void)
62 "fail",
63 "gnome-thumbnail-factory",
64 NULL);
65- files = read_dir_for_purge (path, files);
66+ files = read_dir_for_purge (path, files, HASH_PNG);
67+ g_free (path);
68+
69+ path = g_build_filename (g_get_user_cache_dir (),
70+ "mojito",
71+ "thumbnails",
72+ NULL);
73+ files = read_dir_for_purge (path, files, HASH);
74 g_free (path);
75
76 g_get_current_time (&current_time);
diff --git a/meta-demoapps/recipes-gnome/gnome/gnome-settings-daemon/mount-plugin.patch b/meta-demoapps/recipes-gnome/gnome/gnome-settings-daemon/mount-plugin.patch
deleted file mode 100644
index 25dc36e672..0000000000
--- a/meta-demoapps/recipes-gnome/gnome/gnome-settings-daemon/mount-plugin.patch
+++ /dev/null
@@ -1,620 +0,0 @@
1Upstream-Status: Pending
2
3diff --git a/configure.ac b/configure.ac
4index 135f2ce..ba737a5 100644
5--- a/configure.ac
6+++ b/configure.ac
7@@ -356,6 +356,7 @@ plugins/keybindings/Makefile
8 plugins/keyboard/Makefile
9 plugins/media-keys/Makefile
10 plugins/media-keys/cut-n-paste/Makefile
11+plugins/mount/Makefile
12 plugins/mouse/Makefile
13 plugins/screensaver/Makefile
14 plugins/sound/Makefile
15diff --git a/data/gnome-settings-daemon.schemas.in b/data/gnome-settings-daemon.schemas.in
16index 4920ae3..502e9e6 100644
17--- a/data/gnome-settings-daemon.schemas.in
18+++ b/data/gnome-settings-daemon.schemas.in
19@@ -557,5 +557,29 @@
20 </locale>
21 </schema>
22
23+ <schema>
24+ <key>/schemas/apps/gnome_settings_daemon/plugins/mount/active</key>
25+ <applyto>/apps/gnome_settings_daemon/plugins/mount/active</applyto>
26+ <owner>gnome-settings-daemon</owner>
27+ <type>bool</type>
28+ <default>TRUE</default>
29+ <locale name="C">
30+ <short>Enable mount plugin</short>
31+ <long>Set to True to enable the plugin to automount media.</long>
32+ </locale>
33+ </schema>
34+ <schema>
35+ <key>/schemas/apps/gnome_settings_daemon/plugins/mount/priority</key>
36+ <applyto>/apps/gnome_settings_daemon/plugins/mount/priority</applyto>
37+ <owner>gnome-settings-daemon</owner>
38+ <type>int</type>
39+ <default>99</default>
40+ <locale name="C">
41+ <short></short>
42+ <long></long>
43+ </locale>
44+ </schema>
45+
46+
47 </schemalist>
48 </gconfschemafile>
49diff --git a/plugins/Makefile.am b/plugins/Makefile.am
50index 2d33061..46615c1 100644
51--- a/plugins/Makefile.am
52+++ b/plugins/Makefile.am
53@@ -11,6 +11,7 @@ SUBDIRS = \
54 keybindings \
55 keyboard \
56 media-keys \
57+ mount \
58 mouse \
59 screensaver \
60 sound \
61diff --git a/plugins/mount/Makefile.am b/plugins/mount/Makefile.am
62new file mode 100644
63index 0000000..188c83d
64--- /dev/null
65+++ b/plugins/mount/Makefile.am
66@@ -0,0 +1,39 @@
67+plugin_LTLIBRARIES = \
68+ libmount.la
69+
70+libmount_la_SOURCES = \
71+ gsd-mount-manager.c \
72+ gsd-mount-manager.h \
73+ gsd-mount-plugin.c \
74+ gsd-mount-plugin.h
75+
76+libmount_la_CPPFLAGS = \
77+ -I$(top_srcdir)/gnome-settings-daemon \
78+ -DGNOME_SETTINGS_LOCALEDIR=\""$(datadir)/locale"\" \
79+ $(AM_CPPFLAGS)
80+
81+libmount_la_CFLAGS = \
82+ $(SETTINGS_PLUGIN_CFLAGS) \
83+ $(AM_CFLAGS)
84+
85+libmount_la_LDFLAGS = \
86+ $(GSD_PLUGIN_LDFLAGS)
87+
88+libmount_la_LIBADD = \
89+ $(SETTINGS_PLUGIN_LIBS)
90+
91+plugin_in_files = \
92+ mount.gnome-settings-plugin.in
93+
94+plugin_DATA = $(plugin_in_files:.gnome-settings-plugin.in=.gnome-settings-plugin)
95+
96+EXTRA_DIST = \
97+ $(plugin_in_files)
98+
99+CLEANFILES = \
100+ $(plugin_DATA)
101+
102+DISTCLEANFILES = \
103+ $(plugin_DATA)
104+
105+@GSD_INTLTOOL_PLUGIN_RULE@
106diff --git a/plugins/mount/gsd-mount-manager.c b/plugins/mount/gsd-mount-manager.c
107new file mode 100644
108index 0000000..a768f03
109--- /dev/null
110+++ b/plugins/mount/gsd-mount-manager.c
111@@ -0,0 +1,261 @@
112+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
113+ *
114+ * Copyright (C) 2009 Intel Corporation
115+ *
116+ * This program is free software; you can redistribute it and/or modify it under
117+ * the terms of the GNU General Public License as published by the Free Software
118+ * Foundation; either version 2 of the License, or (at your option) any later
119+ * version.
120+ *
121+ * This program is distributed in the hope that it will be useful, but WITHOUT
122+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
123+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
124+ * details.
125+ *
126+ * You should have received a copy of the GNU General Public License along with
127+ * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
128+ * Place - Suite 330, Boston, MA 02111-1307, USA.
129+ *
130+ */
131+
132+#include <config.h>
133+
134+#include <glib.h>
135+#include <glib/gi18n.h>
136+#include <gio/gio.h>
137+#include <gtk/gtk.h>
138+
139+#include "gsd-mount-manager.h"
140+
141+#define GSD_MOUNT_MANAGER_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GSD_TYPE_MOUNT_MANAGER, GsdMountManagerPrivate))
142+
143+struct GsdMountManagerPrivate
144+{
145+ GVolumeMonitor *monitor;
146+};
147+
148+G_DEFINE_TYPE (GsdMountManager, gsd_mount_manager, G_TYPE_OBJECT)
149+
150+static gpointer manager_object = NULL;
151+
152+#if 0
153+static void
154+drive_connected_cb (GVolumeMonitor *monitor,
155+ GDrive *drive,
156+ GsdMountManager *manager)
157+{
158+ /* TODO: listen for the eject button */
159+}
160+#endif
161+
162+static void
163+volume_mounted_cb (GObject *source_object, GAsyncResult *result, gpointer user_data)
164+{
165+ GError *error = NULL;
166+ char *name;
167+
168+ name = g_volume_get_name (G_VOLUME (source_object));
169+
170+ if (!g_volume_mount_finish (G_VOLUME (source_object), result, &error)) {
171+ g_debug ("Failed to mount '%s': %s", name, error->message);
172+
173+ if (error->code != G_IO_ERROR_FAILED_HANDLED) {
174+ char *primary;
175+ GtkWidget *dialog;
176+
177+ primary = g_strdup_printf (_("Unable to mount %s"), name);
178+
179+ dialog = gtk_message_dialog_new (NULL, 0,
180+ GTK_MESSAGE_ERROR,
181+ GTK_BUTTONS_CLOSE,
182+ primary);
183+
184+ g_free (primary);
185+ gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), error->message);
186+
187+ gtk_dialog_run (GTK_DIALOG (dialog));
188+ gtk_widget_destroy (dialog);
189+ }
190+ g_error_free (error);
191+ } else {
192+ g_debug ("Mounted '%s'", name);
193+ }
194+
195+ g_free (name);
196+}
197+
198+static void
199+volume_added_cb (GVolumeMonitor *monitor,
200+ GVolume *volume,
201+ GsdMountManager *manager)
202+{
203+ char *name;
204+
205+ name = g_volume_get_name (volume);
206+ g_debug ("Volme '%s' added", name);
207+
208+ if (g_volume_can_mount (volume)) {
209+ GMountOperation *mount_op;
210+
211+ g_debug ("Mounting '%s'", name);
212+
213+ mount_op = gtk_mount_operation_new (NULL);
214+ g_volume_mount (volume, G_MOUNT_MOUNT_NONE,
215+ mount_op, NULL,
216+ volume_mounted_cb, manager);
217+ }
218+
219+ g_free (name);
220+}
221+
222+static void
223+mount_added_cb (GVolumeMonitor *monitor,
224+ GMount *mount,
225+ GsdMountManager *manager)
226+{
227+ GFile *file;
228+ char *uri;
229+
230+ file = g_mount_get_root (mount);
231+ uri = g_file_get_uri (file);
232+
233+ g_debug ("%s mounted, starting file manager", uri);
234+
235+ /* TODO: error */
236+ gtk_show_uri (NULL, uri, GDK_CURRENT_TIME, NULL);
237+
238+ g_free (uri);
239+ g_object_unref (file);
240+}
241+
242+static void
243+mount_existing_volumes (GsdMountManager *manager)
244+{
245+ /* TODO: iterate over drives to hook up eject */
246+ GList *l;
247+
248+ g_debug ("Mounting existing volumes");
249+
250+ l = g_volume_monitor_get_volumes (manager->priv->monitor);
251+ while (l) {
252+ GVolume *volume = l->data;
253+ GMount *mount;
254+
255+ mount = g_volume_get_mount (volume);
256+ if (mount == NULL &&
257+ g_volume_can_mount (volume) &&
258+ g_volume_should_automount (volume)) {
259+ GMountOperation *mount_op;
260+ char *name;
261+
262+ name = g_volume_get_name (volume);
263+ g_debug ("Mounting '%s'", name);
264+ g_free (name);
265+
266+ mount_op = gtk_mount_operation_new (NULL);
267+ g_volume_mount (volume, G_MOUNT_MOUNT_NONE,
268+ mount_op, NULL,
269+ volume_mounted_cb, manager);
270+ }
271+
272+ if (mount)
273+ g_object_unref (mount);
274+ g_object_unref (volume);
275+ l = g_list_delete_link (l, l);
276+ }
277+}
278+
279+gboolean
280+gsd_mount_manager_start (GsdMountManager *manager,
281+ GError **error)
282+{
283+ g_debug ("Starting mount manager");
284+
285+ manager->priv->monitor = g_volume_monitor_get ();
286+
287+#if 0
288+ g_signal_connect_object (manager->priv->monitor, "drive-connected",
289+ G_CALLBACK (drive_connected_cb), manager, 0);
290+#endif
291+ g_signal_connect_object (manager->priv->monitor, "volume-added",
292+ G_CALLBACK (volume_added_cb), manager, 0);
293+ g_signal_connect_object (manager->priv->monitor, "mount-added",
294+ G_CALLBACK (mount_added_cb), manager, 0);
295+
296+ /* TODO: handle eject buttons */
297+
298+#if 0
299+ mount_existing_volumes (manager);
300+#endif
301+
302+ return TRUE;
303+}
304+
305+void
306+gsd_mount_manager_stop (GsdMountManager *manager)
307+{
308+ g_debug ("Stopping mount manager");
309+}
310+
311+static void
312+gsd_mount_manager_dispose (GObject *object)
313+{
314+ GsdMountManager *manager = GSD_MOUNT_MANAGER (object);
315+
316+ if (manager->priv->monitor) {
317+ g_signal_handlers_disconnect_by_func
318+ (manager->priv->monitor, volume_added_cb, manager);
319+ g_signal_handlers_disconnect_by_func
320+ (manager->priv->monitor, mount_added_cb, manager);
321+ g_object_unref (manager->priv->monitor);
322+ manager->priv->monitor = NULL;
323+ }
324+
325+ G_OBJECT_CLASS (gsd_mount_manager_parent_class)->dispose (object);
326+}
327+
328+static void
329+gsd_mount_manager_init (GsdMountManager *manager)
330+{
331+ manager->priv = GSD_MOUNT_MANAGER_GET_PRIVATE (manager);
332+}
333+
334+static void
335+gsd_mount_manager_finalize (GObject *object)
336+{
337+ GsdMountManager *mount_manager;
338+
339+ g_return_if_fail (object != NULL);
340+ g_return_if_fail (GSD_IS_MOUNT_MANAGER (object));
341+
342+ mount_manager = GSD_MOUNT_MANAGER (object);
343+
344+ g_return_if_fail (mount_manager->priv != NULL);
345+
346+ G_OBJECT_CLASS (gsd_mount_manager_parent_class)->finalize (object);
347+}
348+
349+static void
350+gsd_mount_manager_class_init (GsdMountManagerClass *klass)
351+{
352+ GObjectClass *object_class = G_OBJECT_CLASS (klass);
353+
354+ object_class->dispose = gsd_mount_manager_dispose;
355+ object_class->finalize = gsd_mount_manager_finalize;
356+
357+ g_type_class_add_private (klass, sizeof (GsdMountManagerPrivate));
358+}
359+
360+GsdMountManager *
361+gsd_mount_manager_new (void)
362+{
363+ if (manager_object != NULL) {
364+ g_object_ref (manager_object);
365+ } else {
366+ manager_object = g_object_new (GSD_TYPE_MOUNT_MANAGER, NULL);
367+ g_object_add_weak_pointer (manager_object,
368+ (gpointer *) &manager_object);
369+ }
370+
371+ return GSD_MOUNT_MANAGER (manager_object);
372+}
373diff --git a/plugins/mount/gsd-mount-manager.h b/plugins/mount/gsd-mount-manager.h
374new file mode 100644
375index 0000000..9093fff
376--- /dev/null
377+++ b/plugins/mount/gsd-mount-manager.h
378@@ -0,0 +1,58 @@
379+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
380+ *
381+ * Copyright (C) 2009 Intel Corporation
382+ *
383+ * This program is free software; you can redistribute it and/or modify it under
384+ * the terms of the GNU General Public License as published by the Free Software
385+ * Foundation; either version 2 of the License, or (at your option) any later
386+ * version.
387+ *
388+ * This program is distributed in the hope that it will be useful, but WITHOUT
389+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
390+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
391+ * details.
392+ *
393+ * You should have received a copy of the GNU General Public License along with
394+ * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
395+ * Place - Suite 330, Boston, MA 02111-1307, USA.
396+ *
397+ */
398+
399+#ifndef __GSD_MOUNT_MANAGER_H
400+#define __GSD_MOUNT_MANAGER_H
401+
402+#include <glib-object.h>
403+
404+G_BEGIN_DECLS
405+
406+#define GSD_TYPE_MOUNT_MANAGER (gsd_mount_manager_get_type ())
407+#define GSD_MOUNT_MANAGER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSD_TYPE_MOUNT_MANAGER, GsdMountManager))
408+#define GSD_MOUNT_MANAGER_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GSD_TYPE_MOUNT_MANAGER, GsdMountManagerClass))
409+#define GSD_IS_MOUNT_MANAGER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSD_TYPE_MOUNT_MANAGER))
410+#define GSD_IS_MOUNT_MANAGER_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GSD_TYPE_MOUNT_MANAGER))
411+#define GSD_MOUNT_MANAGER_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GSD_TYPE_MOUNT_MANAGER, GsdMountManagerClass))
412+
413+typedef struct GsdMountManagerPrivate GsdMountManagerPrivate;
414+
415+typedef struct
416+{
417+ GObject parent;
418+ GsdMountManagerPrivate *priv;
419+} GsdMountManager;
420+
421+typedef struct
422+{
423+ GObjectClass parent_class;
424+} GsdMountManagerClass;
425+
426+GType gsd_mount_manager_get_type (void);
427+
428+GsdMountManager * gsd_mount_manager_new (void);
429+
430+gboolean gsd_mount_manager_start (GsdMountManager *manager,
431+ GError **error);
432+void gsd_mount_manager_stop (GsdMountManager *manager);
433+
434+G_END_DECLS
435+
436+#endif /* __GSD_MOUNT_MANAGER_H */
437diff --git a/plugins/mount/gsd-mount-plugin.c b/plugins/mount/gsd-mount-plugin.c
438new file mode 100644
439index 0000000..af295a5
440--- /dev/null
441+++ b/plugins/mount/gsd-mount-plugin.c
442@@ -0,0 +1,103 @@
443+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
444+ *
445+ * Copyright (C) 2009 Intel Corporation
446+ *
447+ * This program is free software; you can redistribute it and/or modify it under
448+ * the terms of the GNU General Public License as published by the Free Software
449+ * Foundation; either version 2, or (at your option) any later version.
450+ *
451+ * This program is distributed in the hope that it will be useful, but WITHOUT
452+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
453+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
454+ * details.
455+ *
456+ * You should have received a copy of the GNU General Public License along with
457+ * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
458+ * Place - Suite 330, Boston, MA 02111-1307, USA.
459+ *
460+ */
461+
462+#include <config.h>
463+
464+#include <glib/gi18n.h>
465+#include <gmodule.h>
466+#include <gnome-settings-daemon/gnome-settings-plugin.h>
467+
468+#include "gsd-mount-plugin.h"
469+#include "gsd-mount-manager.h"
470+
471+struct GsdMountPluginPrivate {
472+ GsdMountManager *manager;
473+};
474+
475+#define GSD_MOUNT_PLUGIN_GET_PRIVATE(object) (G_TYPE_INSTANCE_GET_PRIVATE ((object), GSD_TYPE_MOUNT_PLUGIN, GsdMountPluginPrivate))
476+
477+GNOME_SETTINGS_PLUGIN_REGISTER (GsdMountPlugin, gsd_mount_plugin)
478+
479+static void
480+gsd_mount_plugin_init (GsdMountPlugin *plugin)
481+{
482+ plugin->priv = GSD_MOUNT_PLUGIN_GET_PRIVATE (plugin);
483+
484+ g_debug ("GsdMountPlugin initializing");
485+
486+ plugin->priv->manager = gsd_mount_manager_new ();
487+}
488+
489+static void
490+gsd_mount_plugin_finalize (GObject *object)
491+{
492+ GsdMountPlugin *plugin;
493+
494+ g_return_if_fail (object != NULL);
495+ g_return_if_fail (GSD_IS_MOUNT_PLUGIN (object));
496+
497+ g_debug ("GsdMountPlugin finalizing");
498+
499+ plugin = GSD_MOUNT_PLUGIN (object);
500+
501+ g_return_if_fail (plugin->priv != NULL);
502+
503+ if (plugin->priv->manager != NULL) {
504+ g_object_unref (plugin->priv->manager);
505+ }
506+
507+ G_OBJECT_CLASS (gsd_mount_plugin_parent_class)->finalize (object);
508+}
509+
510+static void
511+impl_activate (GnomeSettingsPlugin *plugin)
512+{
513+ gboolean res;
514+ GError *error;
515+
516+ g_debug ("Activating mount plugin");
517+
518+ error = NULL;
519+ res = gsd_mount_manager_start (GSD_MOUNT_PLUGIN (plugin)->priv->manager, &error);
520+ if (! res) {
521+ g_warning ("Unable to start mount manager: %s", error->message);
522+ g_error_free (error);
523+ }
524+}
525+
526+static void
527+impl_deactivate (GnomeSettingsPlugin *plugin)
528+{
529+ g_debug ("Deactivating mount plugin");
530+ gsd_mount_manager_stop (GSD_MOUNT_PLUGIN (plugin)->priv->manager);
531+}
532+
533+static void
534+gsd_mount_plugin_class_init (GsdMountPluginClass *klass)
535+{
536+ GObjectClass *object_class = G_OBJECT_CLASS (klass);
537+ GnomeSettingsPluginClass *plugin_class = GNOME_SETTINGS_PLUGIN_CLASS (klass);
538+
539+ object_class->finalize = gsd_mount_plugin_finalize;
540+
541+ plugin_class->activate = impl_activate;
542+ plugin_class->deactivate = impl_deactivate;
543+
544+ g_type_class_add_private (klass, sizeof (GsdMountPluginPrivate));
545+}
546diff --git a/plugins/mount/gsd-mount-plugin.h b/plugins/mount/gsd-mount-plugin.h
547new file mode 100644
548index 0000000..526a41f
549--- /dev/null
550+++ b/plugins/mount/gsd-mount-plugin.h
551@@ -0,0 +1,55 @@
552+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
553+ *
554+ * Copyright (C) 2009 Intel Corporation
555+ *
556+ * This program is free software; you can redistribute it and/or modify it under
557+ * the terms of the GNU General Public License as published by the Free Software
558+ * Foundation; either version 2, or (at your option) any later version.
559+ *
560+ * This program is distributed in the hope that it will be useful, but WITHOUT
561+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
562+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
563+ * details.
564+ *
565+ * You should have received a copy of the GNU General Public License along with
566+ * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
567+ * Place - Suite 330, Boston, MA 02111-1307, USA.
568+ *
569+ */
570+
571+#ifndef __GSD_MOUNT_PLUGIN_H__
572+#define __GSD_MOUNT_PLUGIN_H__
573+
574+#include <glib-object.h>
575+#include <gmodule.h>
576+#include <gnome-settings-daemon/gnome-settings-plugin.h>
577+
578+G_BEGIN_DECLS
579+
580+#define GSD_TYPE_MOUNT_PLUGIN (gsd_mount_plugin_get_type ())
581+#define GSD_MOUNT_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSD_TYPE_MOUNT_PLUGIN, GsdMountPlugin))
582+#define GSD_MOUNT_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GSD_TYPE_MOUNT_PLUGIN, GsdMountPluginClass))
583+#define GSD_IS_MOUNT_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSD_TYPE_MOUNT_PLUGIN))
584+#define GSD_IS_MOUNT_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GSD_TYPE_MOUNT_PLUGIN))
585+#define GSD_MOUNT_PLUGIN_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GSD_TYPE_MOUNT_PLUGIN, GsdMountPluginClass))
586+
587+typedef struct GsdMountPluginPrivate GsdMountPluginPrivate;
588+
589+typedef struct
590+{
591+ GnomeSettingsPlugin parent;
592+ GsdMountPluginPrivate *priv;
593+} GsdMountPlugin;
594+
595+typedef struct
596+{
597+ GnomeSettingsPluginClass parent_class;
598+} GsdMountPluginClass;
599+
600+GType gsd_mount_plugin_get_type (void) G_GNUC_CONST;
601+
602+G_MODULE_EXPORT GType register_gnome_settings_plugin (GTypeModule *module);
603+
604+G_END_DECLS
605+
606+#endif /* __GSD_MOUNT_PLUGIN_H__ */
607diff --git a/plugins/mount/mount.gnome-settings-plugin.in b/plugins/mount/mount.gnome-settings-plugin.in
608new file mode 100644
609index 0000000..ca29ad1
610--- /dev/null
611+++ b/plugins/mount/mount.gnome-settings-plugin.in
612@@ -0,0 +1,8 @@
613+[GNOME Settings Plugin]
614+Module=mount
615+IAge=0
616+_Name=Mount
617+_Description=Mount removable media
618+Authors=Ross Burton
619+Copyright=Copyright © 2009 Intel Corporation
620+Website=
diff --git a/meta-demoapps/recipes-gnome/gnome/gnome-settings-daemon_2.26.1.bb b/meta-demoapps/recipes-gnome/gnome/gnome-settings-daemon_2.26.1.bb
deleted file mode 100644
index cb216b2753..0000000000
--- a/meta-demoapps/recipes-gnome/gnome/gnome-settings-daemon_2.26.1.bb
+++ /dev/null
@@ -1,25 +0,0 @@
1DESCRIPTION = "GNOME settings daemon"
2LICENSE = "GPL"
3DEPENDS = "libxklavier gnome-doc-utils gtk+ libglade libgnomekbd gnome-desktop librsvg libxml2 libart-lgpl"
4
5PR = "r3"
6
7inherit gnome
8
9SRC_URI += "file://desktop-moblin.patch;patch=1 \
10 file://gnome-settings-daemon-fix-gthread.patch;patch=1 \
11 file://mount-plugin.patch;patch=1 \
12 file://gnome-settings-daemon-2.24.0-catch-deviceadded.patch;patch=1 \
13 file://configurefix.patch;patch=1 \
14 file://mojito-cleanup.patch;patch=1"
15
16EXTRA_OECONF = "--disable-esd --x-includes=${STAGING_INCDIR} --x-libraries=${STAGING_LIBDIR}"
17ASNEEDED = ""
18
19FILES_${PN} += "${libdir}/gnome-settings-daemon-2.0/*.so ${libdir}/gnome-settings-daemon-2.0/*plugin \
20 ${datadir}/dbus-1/ \
21 ${datadir}/icon* \
22 ${datadir}/xsession*"
23
24FILES_${PN}-dbg += "${libdir}/gnome-settings-daemon-2.0/.debug"
25FILES_${PN}-dev += "${libdir}/gnome-settings-daemon-2.0/*.a ${libdir}/gnome-settings-daemon-2.0/*.la"
diff --git a/meta-demoapps/recipes-gnome/gnome/gnome-terminal/30f29e7d8e1b67c40cd18a7155ba30c4382692d5.patch b/meta-demoapps/recipes-gnome/gnome/gnome-terminal/30f29e7d8e1b67c40cd18a7155ba30c4382692d5.patch
deleted file mode 100644
index 435cb6a3f5..0000000000
--- a/meta-demoapps/recipes-gnome/gnome/gnome-terminal/30f29e7d8e1b67c40cd18a7155ba30c4382692d5.patch
+++ /dev/null
@@ -1,22 +0,0 @@
1From 30f29e7d8e1b67c40cd18a7155ba30c4382692d5 Mon Sep 17 00:00:00 2001
2From: Seán de Búrca <leftmostcat@gmail.com>
3Date: Fri, 07 Aug 2009 00:38:52 +0000
4Subject: Remove useless Plural-Forms line which breaks build with gnome-doc-utils master
5
6Upstream-Status: Inappropriate [configuration]
7
8---
9diff --git a/help/el/el.po b/help/el/el.po
10index ab77264..635b68f 100644
11--- a/help/el/el.po
12+++ b/help/el/el.po
13@@ -10,7 +10,6 @@ msgstr ""
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
17-"Plural-Forms: 2\n"
18 "X-Poedit-Language: Greek\n"
19 "X-Poedit-Country: GREECE\n"
20 "X-Generator: Lokalize 0.2\n"
21--
22cgit v0.8.3.1
diff --git a/meta-demoapps/recipes-gnome/gnome/gnome-terminal_2.26.3.bb b/meta-demoapps/recipes-gnome/gnome/gnome-terminal_2.26.3.bb
deleted file mode 100644
index 73f0b99eac..0000000000
--- a/meta-demoapps/recipes-gnome/gnome/gnome-terminal_2.26.3.bb
+++ /dev/null
@@ -1,16 +0,0 @@
1DESCRIPTION = "GNOME Terminal"
2LICENSE = "GPL"
3DEPENDS = "gtk+ glib-2.0 startup-notification dbus-glib vte"
4PR = "r2"
5
6inherit gnome
7
8SRC_URI += "file://30f29e7d8e1b67c40cd18a7155ba30c4382692d5.patch;patch=1"
9
10EXTRA_OECONF += "--disable-scrollkeeper"
11
12# Remove an autogenerated file that needs to be rebuilt
13do_configure_prepend () {
14 rm -f ${S}/src/terminal-type-builtins.c
15}
16
diff --git a/meta-demoapps/recipes-gnome/gnome/libgnomecanvas_2.20.0.bb b/meta-demoapps/recipes-gnome/gnome/libgnomecanvas_2.20.0.bb
deleted file mode 100644
index 266d44b050..0000000000
--- a/meta-demoapps/recipes-gnome/gnome/libgnomecanvas_2.20.0.bb
+++ /dev/null
@@ -1,14 +0,0 @@
1LICENSE = "GPL"
2SECTION = "x11/gnome/libs"
3DESCRIPTION = "A powerful object-oriented display"
4PR = "r2"
5
6inherit gnome
7
8DEPENDS = "libglade libart-lgpl virtual/gail"
9
10EXTRA_OECONF = "--disable-gtk-doc"
11
12FILES_${PN} += "${libdir}/libglade/*/libcanvas.so"
13FILES_${PN}-dbg += "${libdir}/libglade/*/.debug/"
14FILES_${PN}-dev += "${libdir}/libglade/*/libcanvas.*a"
diff --git a/meta-demoapps/recipes-gnome/gnome/libgnomekbd_2.26.0.bb b/meta-demoapps/recipes-gnome/gnome/libgnomekbd_2.26.0.bb
deleted file mode 100644
index 68e4eeef49..0000000000
--- a/meta-demoapps/recipes-gnome/gnome/libgnomekbd_2.26.0.bb
+++ /dev/null
@@ -1,14 +0,0 @@
1DESCRIPTION = "GNOME keyboard library"
2LICENSE = "LGPL"
3
4DEPENDS = "gconf dbus libxklavier gtk+"
5
6inherit gnome
7
8do_configure_append() {
9 find ${S} -name Makefile | xargs sed -i s:'-I$(includedir)':'-I.':g
10 find ${S} -name Makefile | xargs sed -i s:'-I/usr/include':'-I${STAGING_INCDIR}':g
11}
12
13
14
diff --git a/meta-demoapps/recipes-gnome/libgsf/libgsf_1.14.5.bb b/meta-demoapps/recipes-gnome/libgsf/libgsf_1.14.5.bb
deleted file mode 100644
index 01139c7989..0000000000
--- a/meta-demoapps/recipes-gnome/libgsf/libgsf_1.14.5.bb
+++ /dev/null
@@ -1,25 +0,0 @@
1DESCRIPTION = "GNOME Structured File Library"
2LICENSE = "GPL"
3SECTION = "libs"
4PR = "r3"
5
6LIC_FILES_CHKSUM = "file://COPYING;md5=dc7371b50816c96e145fa0f8ade8e24d \
7 file://COPYING.LIB;md5=61464cfe342798eeced82efe9ae55f63 \
8 file://gsf/gsf.h;endline=25;md5=15cf6d31ad023167779ab5f0bbb76f49"
9
10DEPENDS= "libxml2 bzip2 glib-2.0 zlib"
11RDEPENDS_${PN} = "gconf"
12
13
14PACKAGES =+ "${PN}-gnome ${PN}-gnome-dev "
15
16FILES_${PN}-gnome = "${libdir}/libgsf-gnome-1.so.*"
17FILES_${PN}-gnome-dev = "${libdir}/libgsf-gnome-1.* ${includedir}/libgsf-1/gsf-gnome"
18
19inherit autotools pkgconfig gnome gconf
20
21EXTRA_OECONF = "\
22 --without-python \
23 --without-gnome \
24 --disable-gtk-doc \
25 --with-bz2"
diff --git a/meta-demoapps/recipes-gnome/libgtkstylus/files/gtkstylus.sh b/meta-demoapps/recipes-gnome/libgtkstylus/files/gtkstylus.sh
deleted file mode 100644
index b1302ede0e..0000000000
--- a/meta-demoapps/recipes-gnome/libgtkstylus/files/gtkstylus.sh
+++ /dev/null
@@ -1,5 +0,0 @@
1#!/bin/sh
2
3GTK_MODULES=libgtkstylus.so
4
5export GTK_MODULES
diff --git a/meta-demoapps/recipes-gnome/libgtkstylus/libgtkstylus_0.5.bb b/meta-demoapps/recipes-gnome/libgtkstylus/libgtkstylus_0.5.bb
deleted file mode 100644
index b359938f5b..0000000000
--- a/meta-demoapps/recipes-gnome/libgtkstylus/libgtkstylus_0.5.bb
+++ /dev/null
@@ -1,24 +0,0 @@
1DESCRIPTION = "GTK plugin for stylus based systems"
2SECTION = "libs"
3DEPENDS = "gtk+"
4LICENSE = "LGPL"
5PR = "r2"
6
7inherit autotools
8
9SRC_URI = "http://burtonini.com/temp/${BPN}-${PV}.tar.gz \
10 file://gtkstylus.sh"
11
12do_install_append() {
13 install -d ${D}/${sysconfdir}/X11/Xsession.d
14 install -m 755 ${WORKDIR}/gtkstylus.sh ${D}/${sysconfdir}/X11/Xsession.d/45gtkstylus
15}
16
17# Horrible but rpm falls over if you use '*'
18GTKVER = "2.10.0"
19
20FILES_${PN} = "${sysconfdir} \
21 ${libdir}/gtk-2.0/${GTKVER}/modules/libgtkstylus.so.*"
22FILES_${PN}-dbg += "${libdir}/gtk-2.0/${GTKVER}/modules/.debug"
23FILES_${PN}-dev += "${libdir}/gtk-2.0/${GTKVER}/modules/libgtkstylus.so \
24 ${libdir}/gtk-2.0/${GTKVER}/modules/libgtkstylus.*a"
diff --git a/meta-demoapps/recipes-gnome/wv/wv-1.2.0/pkgconfig.patch b/meta-demoapps/recipes-gnome/wv/wv-1.2.0/pkgconfig.patch
deleted file mode 100644
index 0c0eddf7ed..0000000000
--- a/meta-demoapps/recipes-gnome/wv/wv-1.2.0/pkgconfig.patch
+++ /dev/null
@@ -1,15 +0,0 @@
1Upstream-Status: Inappropriate [configuration]
2
3Index: wv-1.2.0/wv-1.0.pc.in
4===================================================================
5--- wv-1.2.0.orig/wv-1.0.pc.in 2008-03-19 22:25:18.000000000 +0000
6+++ wv-1.2.0/wv-1.0.pc.in 2008-03-19 22:26:32.000000000 +0000
7@@ -6,5 +6,6 @@
8 Name: wvWare
9 Description: Word Document Filter library and utilities
10 Version: @VERSION@
11-Libs: -L${libdir} -lwv @WMF_LIBS@ @XML_LIBS@ @GLIB_LIBS@ @GSF_LIBS@ @PNG_LIBS@ @ZLIB_LIBS@ @LIBS@ -lm
12-Cflags: -I${includedir}/wv @GSF_CFLAGS@
13+Requires: libgsf-1
14+Libs: -L${libdir} -lwv @WMF_LIBS@ @XML_LIBS@ @PNG_LIBS@ @ZLIB_LIBS@ @LIBS@ -lm
15+Cflags: -I${includedir}/wv
diff --git a/meta-demoapps/recipes-gnome/wv/wv_1.2.0.bb b/meta-demoapps/recipes-gnome/wv/wv_1.2.0.bb
deleted file mode 100644
index 54878a97f0..0000000000
--- a/meta-demoapps/recipes-gnome/wv/wv_1.2.0.bb
+++ /dev/null
@@ -1,14 +0,0 @@
1DESCRIPTION = "Programs for accessing Microsoft Word documents"
2HOMEPAGE = "http://wvware.sourceforge.net/"
3LICENSE = "GPLv2"
4DEPENDS = "libgsf glib-2.0"
5PR = "r3"
6
7SRC_URI = "${SOURCEFORGE_MIRROR}/wvware/wv-${PV}.tar.gz \
8 file://pkgconfig.patch;patch=1"
9
10inherit autotools pkgconfig
11
12S = "${WORKDIR}/${BPN}-${PV}"
13
14EXTRA_OECONF = ""
diff --git a/meta-demoapps/recipes-graphics/clutter/tidy.inc b/meta-demoapps/recipes-graphics/clutter/tidy.inc
deleted file mode 100644
index 13d6fc7686..0000000000
--- a/meta-demoapps/recipes-graphics/clutter/tidy.inc
+++ /dev/null
@@ -1,20 +0,0 @@
1DESCRIPTION = "Tidy library"
2HOMEPAGE = "http://www.clutter-project.org/"
3LICENSE = "LGPLv2.1+"
4
5STDDEPENDS = "clutter-1.4"
6BASE_CONF = "--disable-gtk-doc"
7
8DEPENDS = "${STDDEPENDS}"
9EXTRA_OECONF = "${BASE_CONF}"
10
11inherit autotools pkgconfig
12
13PACKAGES =+ "tidy-examples"
14FILES_tidy-examples = "${bindir}/test-*"
15
16do_configure_prepend() {
17 touch ${S}/gtk-doc.make
18 sed -i s:docs/reference/Makefile::g ${S}/configure.ac
19 sed -i s:docs::g ${S}/Makefile.am
20}
diff --git a/meta-demoapps/recipes-graphics/clutter/tidy/autofoo.patch b/meta-demoapps/recipes-graphics/clutter/tidy/autofoo.patch
deleted file mode 100644
index 51b4eeaf28..0000000000
--- a/meta-demoapps/recipes-graphics/clutter/tidy/autofoo.patch
+++ /dev/null
@@ -1,13 +0,0 @@
1Upstream-Status: Inappropriate [configuration]
2
3Index: tidy/doc/reference/Makefile.am
4===================================================================
5--- tidy.orig/doc/reference/Makefile.am 2007-11-06 19:36:56.000000000 +0000
6+++ tidy/doc/reference/Makefile.am 2007-11-06 19:37:02.000000000 +0000
7@@ -77,4 +77,4 @@ include $(top_srcdir)/gtk-doc.make
8
9 # Other files to distribute
10 # e.g. EXTRA_DIST += version.xml.in
11-EXTRA_DIST += version.xml.in
12+EXTRA_DIST = version.xml.in
13
diff --git a/meta-demoapps/recipes-graphics/clutter/tidy/tidy-enable-tests.patch b/meta-demoapps/recipes-graphics/clutter/tidy/tidy-enable-tests.patch
deleted file mode 100644
index 694257703f..0000000000
--- a/meta-demoapps/recipes-graphics/clutter/tidy/tidy-enable-tests.patch
+++ /dev/null
@@ -1,22 +0,0 @@
1Upstream-Status: Inappropriate [configuration]
2
3Index: trunk/tests/Makefile.am
4===================================================================
5--- trunk.orig/tests/Makefile.am 2008-03-04 12:22:10.000000000 +0000
6+++ trunk/tests/Makefile.am 2008-03-04 12:23:46.000000000 +0000
7@@ -1,4 +1,4 @@
8-noinst_PROGRAMS = \
9+bin_PROGRAMS = \
10 test-button \
11 test-finger-scroll \
12 test-list-view \
13@@ -14,6 +14,9 @@
14 test-grow \
15 test-viewport
16
17+test_texture_framedir = $(pkgdatadir)
18+test_texture_frame_DATA = frame.png
19+
20 INCLUDES = -I$(top_srcdir)
21 LDADD = $(top_builddir)/tidy/libtidy-1.0.la
22
diff --git a/meta-demoapps/recipes-graphics/clutter/tidy_git.bb b/meta-demoapps/recipes-graphics/clutter/tidy_git.bb
deleted file mode 100644
index 623de18a1d..0000000000
--- a/meta-demoapps/recipes-graphics/clutter/tidy_git.bb
+++ /dev/null
@@ -1,14 +0,0 @@
1require tidy.inc
2
3LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34 \
4 file://tidy/tidy.h;endline=21;md5=ac342e7aac55849bf0755d79967fa3e8"
5
6SRCREV = "e25416e1293e1074bfa6727c80527dcff5b1f3cb"
7PV = "0.1.0+git${SRCPV}"
8PR = "r7"
9
10SRC_URI = "git://git.clutter-project.org/tidy.git;protocol=git \
11 file://tidy-enable-tests.patch;patch=1"
12
13S = "${WORKDIR}/git"
14
diff --git a/meta-demoapps/recipes-graphics/libxklavier/libxklavier/pkgconfigfix.patch b/meta-demoapps/recipes-graphics/libxklavier/libxklavier/pkgconfigfix.patch
deleted file mode 100644
index f58f30b2cd..0000000000
--- a/meta-demoapps/recipes-graphics/libxklavier/libxklavier/pkgconfigfix.patch
+++ /dev/null
@@ -1,17 +0,0 @@
1Upstream-Status: Inappropriate [configuration]
2
3Index: libxklavier-3.7/libxklavier.pc.in
4===================================================================
5--- libxklavier-3.7.orig/libxklavier.pc.in 2009-06-10 15:58:46.000000000 +0100
6+++ libxklavier-3.7/libxklavier.pc.in 2009-06-10 16:00:45.000000000 +0100
7@@ -5,7 +5,7 @@
8
9 Name: libxklavier
10 Description: libxklavier library
11-Requires: libxml-2.0
12+Requires: libxml-2.0 glib-2.0
13 Version: @VERSION@
14-Libs: -L${libdir} -lxklavier @GLIB_LIBS@ @XML_LIBS@
15-Cflags: -I${includedir} @GLIB_CFLAGS@
16+Libs: -L${libdir} -lxklavier
17+Cflags: -I${includedir}
diff --git a/meta-demoapps/recipes-graphics/libxklavier/libxklavier_3.9.bb b/meta-demoapps/recipes-graphics/libxklavier/libxklavier_3.9.bb
deleted file mode 100644
index da077b82ac..0000000000
--- a/meta-demoapps/recipes-graphics/libxklavier/libxklavier_3.9.bb
+++ /dev/null
@@ -1,11 +0,0 @@
1DESCRIPTION = "Utility library to make using XKB easier"
2SECTION = "x11/libs"
3DEPENDS = "iso-codes libxml2 glib-2.0 libxkbfile"
4LICENSE = "LGPL"
5PR = "r2"
6
7SRC_URI = "${SOURCEFORGE_MIRROR}/gswitchit/libxklavier-${PV}.tar.bz2 \
8 file://pkgconfigfix.patch;patch=1"
9
10inherit autotools
11
diff --git a/meta-demoapps/recipes-graphics/xorg-app/xbacklight_1.1.bb b/meta-demoapps/recipes-graphics/xorg-app/xbacklight_1.1.bb
deleted file mode 100644
index 78804d734e..0000000000
--- a/meta-demoapps/recipes-graphics/xorg-app/xbacklight_1.1.bb
+++ /dev/null
@@ -1,4 +0,0 @@
1require xorg-app-common.inc
2
3DESCRIPTION = "X Backlight Utility"
4DEPENDS += "libxrender libxrandr"
diff --git a/meta-demoapps/recipes-graphics/xorg-app/xrdb/60XDefaults.sh b/meta-demoapps/recipes-graphics/xorg-app/xrdb/60XDefaults.sh
deleted file mode 100644
index 08d8beca33..0000000000
--- a/meta-demoapps/recipes-graphics/xorg-app/xrdb/60XDefaults.sh
+++ /dev/null
@@ -1,3 +0,0 @@
1if [ -e $HOME/.Xdefaults ]; then
2 xrdb -merge -nocpp < $HOME/.Xdefaults
3fi
diff --git a/meta-demoapps/recipes-graphics/xorg-app/xrdb_1.0.5.bb b/meta-demoapps/recipes-graphics/xorg-app/xrdb_1.0.5.bb
deleted file mode 100644
index 906d7d8527..0000000000
--- a/meta-demoapps/recipes-graphics/xorg-app/xrdb_1.0.5.bb
+++ /dev/null
@@ -1,14 +0,0 @@
1require xorg-app-common.inc
2
3DESCRIPTION = "X server resource database utility"
4LICENSE = "xrdb"
5DEPENDS += "libxmu"
6PE = "1"
7PR = "r2"
8
9SRC_URI += "file://60XDefaults.sh"
10
11do_install_append() {
12 install -d ${D}${sysconfdir}/X11/Xsession.d/
13 install -m 0755 ${WORKDIR}/60XDefaults.sh ${D}${sysconfdir}/X11/Xsession.d/
14}
diff --git a/meta-demoapps/recipes-graphics/xorg-lib/liblbxutil/mkg3states.patch b/meta-demoapps/recipes-graphics/xorg-lib/liblbxutil/mkg3states.patch
deleted file mode 100644
index 63c1847223..0000000000
--- a/meta-demoapps/recipes-graphics/xorg-lib/liblbxutil/mkg3states.patch
+++ /dev/null
@@ -1,65 +0,0 @@
1Upstream-Status: Inappropriate [configuration]
2
3During the build process the mkg3states binary needs to be run. This patch
4allows it to be built with the build systems gcc allowing this to work.
5
6RP 31/3/10
7
8Index: liblbxutil-1.1.0/configure.ac
9===================================================================
10--- liblbxutil-1.1.0.orig/configure.ac 2009-12-04 22:52:04.000000000 +0000
11+++ liblbxutil-1.1.0/configure.ac 2010-03-31 15:26:33.000000000 +0100
12@@ -50,4 +50,5 @@
13
14 AC_OUTPUT([Makefile
15 src/Makefile
16+ src/image/Makefile
17 lbxutil.pc])
18Index: liblbxutil-1.1.0/src/Makefile.am
19===================================================================
20--- liblbxutil-1.1.0.orig/src/Makefile.am 2009-12-04 23:03:17.000000000 +0000
21+++ liblbxutil-1.1.0/src/Makefile.am 2010-03-31 15:27:25.000000000 +0100
22@@ -3,10 +3,7 @@
23 AM_CFLAGS = $(CWARNFLAGS) $(LBXUTIL_CFLAGS)
24 INCLUDES = -I$(top_srcdir)/include
25
26-noinst_PROGRAMS = mkg3states
27-
28-mkg3states_SOURCES = \
29- $(srcdir)/image/mkg3states.c
30+SUBDIRS = image
31
32 liblbxutil_la_SOURCES = \
33 $(srcdir)/lbx_zlib/reqstats.h \
34@@ -38,9 +35,8 @@
35
36 $(srcdir)/image/dfaxg42d.c: g3states.h
37
38-g3states.h: mkg3states
39- -rm -f g3states.h
40- $(AM_V_GEN) ./mkg3states -c > g3states.h_ && mv g3states.h_ g3states.h
41+g3states.h: image/mkg3states
42+ ./image/mkg3states -c > g3states.h_ && mv g3states.h_ g3states.h
43
44 liblbxutil_la_LDFLAGS = -version-number 1:0:0 -no-undefined
45
46Index: liblbxutil-1.1.0/src/image/Makefile.am
47===================================================================
48--- /dev/null 1970-01-01 00:00:00.000000000 +0000
49+++ liblbxutil-1.1.0/src/image/Makefile.am 2010-03-31 15:26:33.000000000 +0100
50@@ -0,0 +1,15 @@
51+# evil hack
52+CFLAGS=$(CFLAGS_FOR_BUILD)
53+CPPFLAGS=$(CPPFLAGS_FOR_BUILD)
54+LDFLAGS=$(LDFLAGS_FOR_BUILD)
55+
56+CC=$(CC_FOR_BUILD)
57+LIBTOOL = @LIBTOOL@ --tag=CC
58+
59+noinst_PROGRAMS = mkg3states
60+
61+mkg3states_SOURCES = \
62+ mkg3states.c
63+
64+mkg3states_CFLAGS=$(CFLAGS_FOR_BUILD)
65+mkg3states_LDFLAGS=$(LDFLAGS_FOR_BUILD)
diff --git a/meta-demoapps/recipes-graphics/xorg-lib/liblbxutil_1.1.0.bb b/meta-demoapps/recipes-graphics/xorg-lib/liblbxutil_1.1.0.bb
deleted file mode 100644
index cdf3509246..0000000000
--- a/meta-demoapps/recipes-graphics/xorg-lib/liblbxutil_1.1.0.bb
+++ /dev/null
@@ -1,11 +0,0 @@
1require xorg-lib-common.inc
2
3DESCRIPTION = "XFIXES Extension"
4DEPENDS += " libxext xextproto xproto zlib"
5PROVIDES = "lbxutil"
6PE = "1"
7PR = "r1"
8
9SRC_URI += "file://mkg3states.patch;patch=1"
10
11export CC_FOR_BUILD = "gcc"
diff --git a/meta-demoapps/recipes-graphics/xorg-lib/libxaw_1.0.5.bb b/meta-demoapps/recipes-graphics/xorg-lib/libxaw_1.0.5.bb
deleted file mode 100644
index 489f456647..0000000000
--- a/meta-demoapps/recipes-graphics/xorg-lib/libxaw_1.0.5.bb
+++ /dev/null
@@ -1,21 +0,0 @@
1require xorg-lib-common.inc
2
3DESCRIPTION = "X Athena Widget Set"
4DEPENDS += "xproto virtual/libx11 libxext xextproto libxt libxmu libxpm libxp printproto libxau"
5PROVIDES = "xaw"
6PR = "r1"
7PE = "1"
8
9XORG_PN = "libXaw"
10
11do_install_append () {
12 ln -sf libXaw6.so.6 ${D}${libdir}/libXaw.so.6
13 ln -sf libXaw7.so.7 ${D}${libdir}/libXaw.so.7
14 ln -sf libXaw7.so.7 ${D}${libdir}/libXaw.so
15}
16
17PACKAGES =+ "libxaw6 libxaw7 libxaw8"
18
19FILES_libxaw6 = "${libdir}/libXaw6.so.6*"
20FILES_libxaw7 = "${libdir}/libXaw7.so.7*"
21FILES_libxaw8 = "${libdir}/libXaw8.so.8*"
diff --git a/meta-demoapps/recipes-graphics/xorg-lib/libxevie_1.0.2.bb b/meta-demoapps/recipes-graphics/xorg-lib/libxevie_1.0.2.bb
deleted file mode 100644
index 6c6b4595aa..0000000000
--- a/meta-demoapps/recipes-graphics/xorg-lib/libxevie_1.0.2.bb
+++ /dev/null
@@ -1,8 +0,0 @@
1require xorg-lib-common.inc
2
3DESCRIPTION = "X11 EvIE extension library"
4DEPENDS += "libxext evieext"
5PR = "r1"
6PE = "1"
7
8XORG_PN = "libXevie"
diff --git a/meta-demoapps/recipes-graphics/xorg-lib/libxkbui_1.0.2.bb b/meta-demoapps/recipes-graphics/xorg-lib/libxkbui_1.0.2.bb
deleted file mode 100644
index 9a3f5f1327..0000000000
--- a/meta-demoapps/recipes-graphics/xorg-lib/libxkbui_1.0.2.bb
+++ /dev/null
@@ -1,8 +0,0 @@
1require xorg-lib-common.inc
2
3DESCRIPTION = "X11 keyboard UI presentation library"
4LICENSE= "GPL"
5DEPENDS += "virtual/libx11 libxt libxkbfile"
6PROVIDES = "xkbui"
7PR = "r1"
8PE = "1"
diff --git a/meta-demoapps/recipes-graphics/xorg-proto/xproxymanagementprotocol_1.0.3.bb b/meta-demoapps/recipes-graphics/xorg-proto/xproxymanagementprotocol_1.0.3.bb
deleted file mode 100644
index 9c3d9efa71..0000000000
--- a/meta-demoapps/recipes-graphics/xorg-proto/xproxymanagementprotocol_1.0.3.bb
+++ /dev/null
@@ -1,5 +0,0 @@
1require xorg-proto-common.inc
2
3PROVIDES="xproxymngproto"
4PR = "r1"
5PE = "1"
diff --git a/meta-demoapps/recipes-graphics/xournal/files/ldflags.patch b/meta-demoapps/recipes-graphics/xournal/files/ldflags.patch
deleted file mode 100644
index ec75e71529..0000000000
--- a/meta-demoapps/recipes-graphics/xournal/files/ldflags.patch
+++ /dev/null
@@ -1,17 +0,0 @@
1Upstream-Status: Inappropriate [configuration]
2
3---
4 src/Makefile.am | 2 +-
5 1 file changed, 1 insertion(+), 1 deletion(-)
6
7Index: xournal-0.2/src/Makefile.am
8===================================================================
9--- xournal-0.2.orig/src/Makefile.am 2007-05-09 15:06:26.000000000 +0100
10+++ xournal-0.2/src/Makefile.am 2007-05-09 15:06:35.000000000 +0100
11@@ -21,5 +21,5 @@ xournal_SOURCES = \
12 xo-interface.c xo-interface.h \
13 xo-callbacks.c xo-callbacks.h
14
15-xournal_LDADD = @PACKAGE_LIBS@
16+xournal_LDADD = @PACKAGE_LIBS@ -lz
17
diff --git a/meta-demoapps/recipes-graphics/xournal/files/no-printing.diff b/meta-demoapps/recipes-graphics/xournal/files/no-printing.diff
deleted file mode 100644
index 9fac498084..0000000000
--- a/meta-demoapps/recipes-graphics/xournal/files/no-printing.diff
+++ /dev/null
@@ -1,180 +0,0 @@
1Upstream-Status: Inappropriate [configuration]
2
3diff -ru xournal-0.2/configure.in xournal-0.2.noprint/configure.in
4--- xournal-0.2/configure.in 2006-01-29 22:25:10.000000000 +0000
5+++ xournal-0.2.noprint/configure.in 2006-03-17 13:08:01.000000000 +0000
6@@ -10,11 +10,16 @@
7 AM_PROG_CC_STDC
8 AC_HEADER_STDC
9
10-pkg_modules="gtk+-2.0 >= 2.4.0 libgnomecanvas-2.0 >= 2.4.0 libgnomeprintui-2.2 >= 2.0.0"
11+pkg_modules="gtk+-2.0 >= 2.4.0 libgnomecanvas-2.0 >= 2.4.0"
12 PKG_CHECK_MODULES(PACKAGE, [$pkg_modules])
13 AC_SUBST(PACKAGE_CFLAGS)
14 AC_SUBST(PACKAGE_LIBS)
15
16+#PKG_CHECK_MODULES(GNOMEPRINT, libgnomeprintui-2.2 >= 2.0.0
17+#AC_SUBST(GNOMEPRINT_CFLAGS)
18+#AC_SUBST(GNOMEPRINT_LIBS)
19+AM_CONDITIONAL(ENABLE_PRINTING, false)
20+
21 AC_OUTPUT([
22 Makefile
23 src/Makefile
24diff -ru xournal-0.2/src/main.c xournal-0.2.noprint/src/main.c
25--- xournal-0.2/src/main.c 2006-01-29 22:22:52.000000000 +0000
26+++ xournal-0.2.noprint/src/main.c 2006-03-17 13:14:50.000000000 +0000
27@@ -28,7 +28,9 @@
28
29 void hide_unimplemented(void)
30 {
31+#if ENABLE_PRINTING
32 gtk_widget_hide(GET_COMPONENT("filePrintOptions"));
33+#endif
34 gtk_widget_hide(GET_COMPONENT("journalFlatten"));
35 gtk_widget_hide(GET_COMPONENT("papercolorOther"));
36 gtk_widget_hide(GET_COMPONENT("journalApplyAllPages"));
37diff -ru xournal-0.2/src/Makefile.am xournal-0.2.noprint/src/Makefile.am
38--- xournal-0.2/src/Makefile.am 2005-12-14 20:54:42.000000000 +0000
39+++ xournal-0.2.noprint/src/Makefile.am 2006-03-17 13:07:47.000000000 +0000
40@@ -7,12 +7,16 @@
41
42 bin_PROGRAMS = xournal
43
44+if ENABLE_PRINTING
45+PRINT_SOURCE = xo-print.c xo-print.h
46+endif
47+
48 xournal_SOURCES = \
49 main.c xournal.h \
50 xo-misc.c xo-misc.h \
51 xo-file.c xo-file.h \
52 xo-paint.c xo-paint.h \
53- xo-print.c xo-print.h \
54+ $(PRINT_SOURCE) \
55 xo-support.c xo-support.h \
56 xo-interface.c xo-interface.h \
57 xo-callbacks.c xo-callbacks.h
58diff -ru xournal-0.2/src/xo-callbacks.c xournal-0.2.noprint/src/xo-callbacks.c
59--- xournal-0.2/src/xo-callbacks.c 2006-01-29 19:39:22.000000000 +0000
60+++ xournal-0.2.noprint/src/xo-callbacks.c 2006-03-17 13:12:01.000000000 +0000
61@@ -7,7 +7,9 @@
62 #include <gtk/gtk.h>
63 #include <libgnomecanvas/libgnomecanvas.h>
64 #include <time.h>
65+#if ENABLE_PRINTING
66 #include <libgnomeprintui/gnome-print-dialog.h>
67+#endif
68 #include <glib/gstdio.h>
69
70 #include "xournal.h"
71@@ -17,7 +19,9 @@
72 #include "xo-misc.h"
73 #include "xo-file.h"
74 #include "xo-paint.h"
75+#if ENABLE_PRINTING
76 #include "xo-print.h"
77+#endif
78
79 void
80 on_fileNew_activate (GtkMenuItem *menuitem,
81@@ -261,7 +265,7 @@
82
83 }
84
85-
86+#if ENABLE_PRINTING
87 void
88 on_filePrint_activate (GtkMenuItem *menuitem,
89 gpointer user_data)
90@@ -407,7 +411,7 @@
91
92 g_free(filename);
93 }
94-
95+#endif
96
97 void
98 on_fileQuit_activate (GtkMenuItem *menuitem,
99diff -ru xournal-0.2/src/xo-callbacks.h xournal-0.2.noprint/src/xo-callbacks.h
100--- xournal-0.2/src/xo-callbacks.h 2006-01-26 20:47:00.000000000 +0000
101+++ xournal-0.2.noprint/src/xo-callbacks.h 2006-03-17 13:08:45.000000000 +0000
102@@ -24,6 +24,7 @@
103 on_filePrintOptions_activate (GtkMenuItem *menuitem,
104 gpointer user_data);
105
106+#if ENABLE_PRINTING
107 void
108 on_filePrint_activate (GtkMenuItem *menuitem,
109 gpointer user_data);
110@@ -32,6 +33,8 @@
111 on_filePrintPDF_activate (GtkMenuItem *menuitem,
112 gpointer user_data);
113
114+#endif
115+
116 void
117 on_fileQuit_activate (GtkMenuItem *menuitem,
118 gpointer user_data);
119diff -ru xournal-0.2/src/xo-interface.c xournal-0.2.noprint/src/xo-interface.c
120--- xournal-0.2/src/xo-interface.c 2006-01-29 18:58:25.000000000 +0000
121+++ xournal-0.2.noprint/src/xo-interface.c 2006-03-17 13:11:31.000000000 +0000
122@@ -41,10 +41,12 @@
123 GtkWidget *fileSave;
124 GtkWidget *fileSaveAs;
125 GtkWidget *separator1;
126+#if ENABLE_PRINTING
127 GtkWidget *filePrintOptions;
128 GtkWidget *image501;
129 GtkWidget *filePrint;
130 GtkWidget *filePrintPDF;
131+#endif
132 GtkWidget *separator2;
133 GtkWidget *fileQuit;
134 GtkWidget *menuEdit;
135@@ -327,6 +329,7 @@
136 gtk_container_add (GTK_CONTAINER (menuFile_menu), separator1);
137 gtk_widget_set_sensitive (separator1, FALSE);
138
139+#if ENABLE_PRINTING
140 filePrintOptions = gtk_image_menu_item_new_with_mnemonic ("Print Options");
141 gtk_widget_show (filePrintOptions);
142 gtk_container_add (GTK_CONTAINER (menuFile_menu), filePrintOptions);
143@@ -347,6 +350,7 @@
144 gtk_widget_show (separator2);
145 gtk_container_add (GTK_CONTAINER (menuFile_menu), separator2);
146 gtk_widget_set_sensitive (separator2, FALSE);
147+#endif
148
149 fileQuit = gtk_image_menu_item_new_from_stock ("gtk-quit", accel_group);
150 gtk_widget_show (fileQuit);
151@@ -1522,6 +1526,7 @@
152 g_signal_connect ((gpointer) fileSaveAs, "activate",
153 G_CALLBACK (on_fileSaveAs_activate),
154 NULL);
155+#if ENABLE_PRINTING
156 g_signal_connect ((gpointer) filePrintOptions, "activate",
157 G_CALLBACK (on_filePrintOptions_activate),
158 NULL);
159@@ -1531,6 +1536,7 @@
160 g_signal_connect ((gpointer) filePrintPDF, "activate",
161 G_CALLBACK (on_filePrintPDF_activate),
162 NULL);
163+#endif
164 g_signal_connect ((gpointer) fileQuit, "activate",
165 G_CALLBACK (on_fileQuit_activate),
166 NULL);
167@@ -1941,11 +1947,13 @@
168 GLADE_HOOKUP_OBJECT (winMain, fileSave, "fileSave");
169 GLADE_HOOKUP_OBJECT (winMain, fileSaveAs, "fileSaveAs");
170 GLADE_HOOKUP_OBJECT (winMain, separator1, "separator1");
171+#if ENABLE_PRINTING
172 GLADE_HOOKUP_OBJECT (winMain, filePrintOptions, "filePrintOptions");
173 GLADE_HOOKUP_OBJECT (winMain, image501, "image501");
174 GLADE_HOOKUP_OBJECT (winMain, filePrint, "filePrint");
175 GLADE_HOOKUP_OBJECT (winMain, filePrintPDF, "filePrintPDF");
176 GLADE_HOOKUP_OBJECT (winMain, separator2, "separator2");
177+#endif
178 GLADE_HOOKUP_OBJECT (winMain, fileQuit, "fileQuit");
179 GLADE_HOOKUP_OBJECT (winMain, menuEdit, "menuEdit");
180 GLADE_HOOKUP_OBJECT (winMain, menuEdit_menu, "menuEdit_menu");
diff --git a/meta-demoapps/recipes-graphics/xournal/xournal_0.2.bb b/meta-demoapps/recipes-graphics/xournal/xournal_0.2.bb
deleted file mode 100644
index 1ca6e1ed7c..0000000000
--- a/meta-demoapps/recipes-graphics/xournal/xournal_0.2.bb
+++ /dev/null
@@ -1,12 +0,0 @@
1HOMEPAGE = "http://www-math.mit.edu/~auroux/software/xournal/"
2DESCRIPTION = "Xournal is an application for notetaking, sketching, keeping a journal using a stylus."
3DEPENDS = "gtk+ libgnomecanvas zlib"
4SECTION = "x11"
5LICENSE = "GPL"
6PR = "r2"
7
8SRC_URI = "http://math.mit.edu/~auroux/software/xournal/xournal-0.2.tar.gz \
9 file://ldflags.patch;patch=1 \
10 file://no-printing.diff;patch=1"
11
12inherit autotools pkgconfig
diff --git a/meta-demoapps/recipes-sato/claws-mail/claws-mail.inc b/meta-demoapps/recipes-sato/claws-mail/claws-mail.inc
deleted file mode 100644
index 664a0bcafb..0000000000
--- a/meta-demoapps/recipes-sato/claws-mail/claws-mail.inc
+++ /dev/null
@@ -1,58 +0,0 @@
1SECTION = "x11/network"
2DESCRIPTION = "Mail user agent"
3#DEPENDS = "gtk+ gpgme libetpan libgnomeprint aspell openssl"
4DEPENDS = "gtk+ libetpan openssl libowl"
5LICENSE = "GPL"
6PR = "r7"
7
8SRC_URI = "\
9 ${SOURCEFORGE_MIRROR}/sylpheed-claws/claws-mail-${PV}.tar.bz2 \
10 file://desktop.patch;patch=1 \
11 file://streamline-ui.patch;patch=1 \
12 file://owl-window-menu.patch;patch=1 \
13 file://fix-build.patch;patch=1 \
14 "
15
16FILES_${PN} = "${bindir} ${datadir}/pixmaps ${datadir}/applications"
17
18#EXTRA_OECONF = "--disable-aspell-test \
19# --disable-dillo-viewer-plugin --with-aspell-prefix=${STAGING_DIR_HOST}${prefix} \
20# --enable-aspell"
21
22EXTRA_OECONF = "--disable-aspell-test \
23 --disable-aspell \
24 --disable-manual \
25 --disable-crash-dialog \
26 --disable-jpilot \
27 --disable-trayicon-plugin \
28 --disable-spamassassin-plugin \
29 --disable-bogofilter-plugin \
30 --disable-pgpcore-plugin \
31 --disable-pgpmime-plugin \
32 --disable-pgpinline-plugin \
33 --disable-dillo-viewer-plugin \
34 --disable-clamav-plugin \
35 --disable-gnomeprint \
36 --disable-valgrind \
37 --disable-static \
38 "
39
40# --disable-openssl \
41# --disable-libetpan \
42
43CFLAGS += "-D_GNU_SOURCE"
44
45inherit autotools pkgconfig gettext
46
47do_install_append() {
48 install -d ${D}${datadir}/applications
49 install -m 0644 claws-mail.desktop ${D}${datadir}/applications/
50 install -d ${D}${datadir}/pixmaps
51 install -m 0644 claws-mail.png ${D}${datadir}/pixmaps/
52}
53
54#python populate_packages_prepend () {
55# abiword_libdir = bb.data.expand('${libdir}/claws-mail/plugins', d)
56#
57# do_split_packages(d, abiword_libdir, '^(.*)\.so$', 'claws-mail-plugin-%s', 'Claws plugin for %s', extra_depends='')
58#}
diff --git a/meta-demoapps/recipes-sato/claws-mail/claws-mail_2.9.1.bb b/meta-demoapps/recipes-sato/claws-mail/claws-mail_2.9.1.bb
deleted file mode 100644
index f8a8396b95..0000000000
--- a/meta-demoapps/recipes-sato/claws-mail/claws-mail_2.9.1.bb
+++ /dev/null
@@ -1 +0,0 @@
1require claws-mail.inc
diff --git a/meta-demoapps/recipes-sato/claws-mail/claws-plugin-gtkhtml2-viewer_0.15.bb b/meta-demoapps/recipes-sato/claws-mail/claws-plugin-gtkhtml2-viewer_0.15.bb
deleted file mode 100644
index 82918173e4..0000000000
--- a/meta-demoapps/recipes-sato/claws-mail/claws-plugin-gtkhtml2-viewer_0.15.bb
+++ /dev/null
@@ -1,14 +0,0 @@
1SECTION = "x11/network"
2DESCRIPTION = "Mail user agent plugins"
3DEPENDS = "claws-mail gtkhtml2 curl"
4LICENSE = "GPL"
5PR = "r1"
6
7SRC_URI = "http://www.claws-mail.org/downloads/plugins/gtkhtml2_viewer-${PV}.tar.gz"
8
9inherit autotools pkgconfig gettext
10
11S = "${WORKDIR}/gtkhtml2_viewer-${PV}"
12
13FILES_${PN} = "${libdir}/claws-mail/plugins/*.so"
14
diff --git a/meta-demoapps/recipes-sato/claws-mail/claws-plugin-maildir_0.24.4.bb b/meta-demoapps/recipes-sato/claws-mail/claws-plugin-maildir_0.24.4.bb
deleted file mode 100644
index 4351d1e5de..0000000000
--- a/meta-demoapps/recipes-sato/claws-mail/claws-plugin-maildir_0.24.4.bb
+++ /dev/null
@@ -1,14 +0,0 @@
1SECTION = "x11/network"
2DESCRIPTION = "Mail user agent plugins"
3DEPENDS = "claws-mail db"
4LICENSE = "GPL"
5PR = "r1"
6
7SRC_URI = "http://www.claws-mail.org/downloads/plugins/maildir-${PV}.tar.gz"
8
9inherit autotools pkgconfig
10
11S = "${WORKDIR}/maildir-${PV}"
12
13FILES_${PN} = "${libdir}/claws-mail/plugins/*.so"
14
diff --git a/meta-demoapps/recipes-sato/claws-mail/claws-plugin-mailmbox_1.13.bb b/meta-demoapps/recipes-sato/claws-mail/claws-plugin-mailmbox_1.13.bb
deleted file mode 100644
index fe7041494f..0000000000
--- a/meta-demoapps/recipes-sato/claws-mail/claws-plugin-mailmbox_1.13.bb
+++ /dev/null
@@ -1,14 +0,0 @@
1SECTION = "x11/network"
2DESCRIPTION = "Mail user agent plugins"
3DEPENDS = "claws-mail"
4LICENSE = "GPL"
5PR = "r2"
6
7SRC_URI = "http://www.claws-mail.org/downloads/plugins/mailmbox-${PV}.tar.gz"
8
9inherit autotools pkgconfig
10
11S = "${WORKDIR}/mailmbox-${PV}"
12
13FILES_${PN} = "${libdir}/claws-mail/plugins/*.so"
14FILES_${PN}-dbg = "${libdir}/claws-mail/plugins/.debug"
diff --git a/meta-demoapps/recipes-sato/claws-mail/claws-plugin-rssyl_0.13.bb b/meta-demoapps/recipes-sato/claws-mail/claws-plugin-rssyl_0.13.bb
deleted file mode 100644
index de0705c7fd..0000000000
--- a/meta-demoapps/recipes-sato/claws-mail/claws-plugin-rssyl_0.13.bb
+++ /dev/null
@@ -1,14 +0,0 @@
1SECTION = "x11/network"
2DESCRIPTION = "Mail user agent plugins"
3DEPENDS = "claws-mail libxml2 curl glib-2.0 gtk+"
4LICENSE = "GPL"
5PR = "r1"
6
7SRC_URI = "http://www.claws-mail.org/downloads/plugins/rssyl-${PV}.tar.gz"
8
9inherit autotools pkgconfig gettext
10
11S = "${WORKDIR}/rssyl-${PV}"
12
13FILES_${PN} = "${libdir}/claws-mail/plugins/*.so"
14
diff --git a/meta-demoapps/recipes-sato/claws-mail/files/desktop.patch b/meta-demoapps/recipes-sato/claws-mail/files/desktop.patch
deleted file mode 100644
index d5ca3dbac3..0000000000
--- a/meta-demoapps/recipes-sato/claws-mail/files/desktop.patch
+++ /dev/null
@@ -1,21 +0,0 @@
1Upstream-Status: Inappropriate [configuration]
2
3Index: claws-mail-2.9.1/claws-mail.desktop
4===================================================================
5--- claws-mail-2.9.1.orig/claws-mail.desktop 2007-04-24 17:40:20.000000000 +0100
6+++ claws-mail-2.9.1/claws-mail.desktop 2007-04-25 07:08:36.000000000 +0100
7@@ -1,11 +1,11 @@
8 [Desktop Entry]
9 Encoding=UTF-8
10-Name=Claws Mail
11+Name=Mail
12 Exec=claws-mail
13 Icon=claws-mail
14-Info="Claws Mail"
15+Info=Email Application
16 Categories=GTK;Network;Email;
17-Comment="Gtk+ based Mail Client"
18+Comment=Email Application
19 Terminal=false
20 Type=Application
21 StartupNotify=true
diff --git a/meta-demoapps/recipes-sato/claws-mail/files/fix-build.patch b/meta-demoapps/recipes-sato/claws-mail/files/fix-build.patch
deleted file mode 100644
index 41ca1d65ac..0000000000
--- a/meta-demoapps/recipes-sato/claws-mail/files/fix-build.patch
+++ /dev/null
@@ -1,26 +0,0 @@
1Upstream-Status: Pending
2
3Remove duplicate file entries as this breaks install with new Automake
4
5JL 19/03/10
6
7Index: claws-mail-2.9.1/src/gtk/Makefile.am
8===================================================================
9--- claws-mail-2.9.1.orig/src/gtk/Makefile.am 2007-03-22 07:52:47.000000000 +0000
10+++ claws-mail-2.9.1/src/gtk/Makefile.am 2010-03-19 14:54:06.565828281 +0000
11@@ -44,7 +44,6 @@
12 filesel.h \
13 foldersort.h \
14 gtkaspell.h \
15- gtksctree.h \
16 gtkshruler.h \
17 gtksctree.h \
18 gtksourceprintjob.h \
19@@ -57,7 +56,6 @@
20 menu.h \
21 pluginwindow.h \
22 prefswindow.h \
23- gtkvscrollbutton.h \
24 progressdialog.h \
25 quicksearch.h \
26 sslcertwindow.h \
diff --git a/meta-demoapps/recipes-sato/claws-mail/files/owl-window-menu.patch b/meta-demoapps/recipes-sato/claws-mail/files/owl-window-menu.patch
deleted file mode 100644
index 97807b213b..0000000000
--- a/meta-demoapps/recipes-sato/claws-mail/files/owl-window-menu.patch
+++ /dev/null
@@ -1,1011 +0,0 @@
1Upstream-Status: Inappropriate [enable feature]
2
3Index: claws-mail-2.9.1/src/addressbook.c
4===================================================================
5--- claws-mail-2.9.1.orig/src/addressbook.c 2007-04-25 10:18:13.000000000 +0100
6+++ claws-mail-2.9.1/src/addressbook.c 2007-04-25 10:30:23.000000000 +0100
7@@ -941,7 +941,6 @@
8 sizeof(addressbook_entries[0]);
9 menubar = menubar_create(window, addressbook_entries, n_entries,
10 "<AddressBook>", NULL);
11- gtk_box_pack_start(GTK_BOX(vbox), menubar, FALSE, TRUE, 0);
12 menu_factory = gtk_item_factory_from_widget(menubar);
13
14 vbox2 = gtk_vbox_new(FALSE, BORDER_WIDTH);
15Index: claws-mail-2.9.1/src/gtk/menu.c
16===================================================================
17--- claws-mail-2.9.1.orig/src/gtk/menu.c 2007-04-25 10:18:13.000000000 +0100
18+++ claws-mail-2.9.1/src/gtk/menu.c 2007-04-25 10:30:23.000000000 +0100
19@@ -35,10 +35,7 @@
20 #include "menu.h"
21 #include "utils.h"
22
23-#ifdef MAEMO
24-#include <hildon-widgets/hildon-program.h>
25-#include <gtk/gtkmain.h>
26-#endif
27+#include <libowl/owlwindowmenu.h>
28
29 static void connect_accel_change_signals(GtkWidget* widget, GtkWidget *wid2) ;
30
31@@ -49,20 +46,14 @@
32 GtkItemFactory *factory;
33 GtkWidget *menubar;
34
35-#ifdef MAEMO
36 factory = gtk_item_factory_new(GTK_TYPE_MENU, path, NULL);
37-#else
38- factory = gtk_item_factory_new(GTK_TYPE_MENU_BAR, path, NULL);
39-#endif
40 gtk_item_factory_set_translate_func(factory, menu_translate,
41 NULL, NULL);
42 gtk_item_factory_create_items(factory, n_entries, entries, data);
43 gtk_window_add_accel_group (GTK_WINDOW (window), factory->accel_group);
44
45 menubar = gtk_item_factory_get_widget(factory, path);
46-#ifdef MAEMO
47- hildon_window_set_menu(HILDON_WINDOW(window), GTK_MENU(menubar));
48-#endif
49+ owl_set_window_menu(GTK_WINDOW(window), GTK_MENU(menubar));
50 return menubar;
51 }
52
53Index: claws-mail-2.9.1/src/mainwindow.c
54===================================================================
55--- claws-mail-2.9.1.orig/src/mainwindow.c 2007-04-25 10:26:40.000000000 +0100
56+++ claws-mail-2.9.1/src/mainwindow.c 2007-04-25 10:30:23.000000000 +0100
57@@ -1094,8 +1094,6 @@
58 n_menu_entries = sizeof(mainwin_entries) / sizeof(mainwin_entries[0]);
59 menubar = menubar_create(window, mainwin_entries,
60 n_menu_entries, "<Main>", mainwin);
61- gtk_widget_show(menubar);
62- gtk_box_pack_start(GTK_BOX(vbox), menubar, FALSE, TRUE, 0);
63 ifactory = gtk_item_factory_from_widget(menubar);
64
65 /* gtk_widget_show(gtk_item_factory_get_item(ifactory,"/Message/Mailing-List"));
66Index: claws-mail-2.9.1/src/messageview.c
67===================================================================
68--- claws-mail-2.9.1.orig/src/messageview.c 2007-04-25 10:18:13.000000000 +0100
69+++ claws-mail-2.9.1/src/messageview.c 2007-04-25 10:30:23.000000000 +0100
70@@ -414,8 +414,6 @@
71 n_menu_entries = sizeof(msgview_entries) / sizeof(msgview_entries[0]);
72 menubar = menubar_create(window, msgview_entries,
73 n_menu_entries, "<MessageView>", msgview);
74- gtk_widget_show(menubar);
75- gtk_box_pack_start(GTK_BOX(vbox), menubar, FALSE, TRUE, 0);
76
77 if (prefs_common.toolbar_detachable) {
78 handlebox = gtk_handle_box_new();
79@@ -478,6 +476,7 @@
80 g_signal_connect(G_OBJECT(window), "key_press_event",
81 G_CALLBACK(key_pressed), msgview);
82 #endif
83+ gtk_widget_realize(window);
84 messageview_add_toolbar(msgview, window);
85
86 if (show) {
87Index: claws-mail-2.9.1/configure.ac
88===================================================================
89--- claws-mail-2.9.1.orig/configure.ac 2007-04-25 10:18:13.000000000 +0100
90+++ claws-mail-2.9.1/configure.ac 2007-04-25 10:30:23.000000000 +0100
91@@ -406,6 +406,11 @@
92 AC_SUBST(GTK_CFLAGS)
93 AC_SUBST(GTK_LIBS)
94
95+OWL_CFLAGS=""
96+OWL_LIBS="-lowl"
97+AC_SUBST(OWL_CFLAGS)
98+AC_SUBST(OWL_LIBS)
99+
100 dnl GNU/Aspell is used for spell checking
101 AC_ARG_ENABLE(aspell,
102 [ --disable-aspell Disable GNU/aspell support [default=yes]],
103Index: claws-mail-2.9.1/src/Makefile.am
104===================================================================
105--- claws-mail-2.9.1.orig/src/Makefile.am 2007-04-25 10:18:13.000000000 +0100
106+++ claws-mail-2.9.1/src/Makefile.am 2007-04-25 10:30:23.000000000 +0100
107@@ -471,7 +471,8 @@
108 $(LIBICONV) \
109 $(STARTUP_NOTIFICATION_LIBS) \
110 $(LIBETPAN_LIBS) \
111- $(MAEMO_LIBS)
112+ $(MAEMO_LIBS) \
113+ $(OWL_LIBS)
114
115 AM_CPPFLAGS = \
116 -DG_LOG_DOMAIN=\"Claws-Mail\" \
117@@ -489,6 +490,7 @@
118 $(LIBETPAN_CPPFLAGS) \
119 $(STARTUP_NOTIFICATION_CFLAGS) \
120 $(MAEMO_CFLAGS) \
121+ $(OWL_CFLAGS) \
122 -Wno-unused-function
123
124 #no-unused-function is there because of bison stuff
125Index: claws-mail-2.9.1/configure
126===================================================================
127--- claws-mail-2.9.1.orig/configure 2007-04-25 10:18:13.000000000 +0100
128+++ claws-mail-2.9.1/configure 2007-04-25 10:30:23.000000000 +0100
129@@ -769,7 +769,6 @@
130 # include <unistd.h>
131 #endif"
132
133-gt_needs=
134 ac_subst_vars='SHELL
135 PATH_SEPARATOR
136 PACKAGE_NAME
137@@ -942,6 +941,8 @@
138 PASSCRYPT_KEY
139 GTK_CFLAGS
140 GTK_LIBS
141+OWL_LIBS
142+OWL_CFLAGS
143 ASPELL
144 ASPELL_CFLAGS
145 ASPELL_LIBS
146@@ -2063,7 +2064,6 @@
147 >$cache_file
148 fi
149
150-gt_needs="$gt_needs "
151 # Check that the precious variables saved in the cache have kept the same
152 # value.
153 ac_cache_corrupted=false
154@@ -3001,9 +3001,7 @@
155 # Put the nasty error message in config.log where it belongs
156 echo "$GNOME2_PKG_ERRORS" >&5
157
158- { echo "$as_me:$LINENO: result: no" >&5
159-echo "${ECHO_T}no" >&6; }
160- ac_enable_gnome2=no
161+ ac_enable_gnome2=no
162 elif test $pkg_failed = untried; then
163 ac_enable_gnome2=no
164 else
165@@ -4147,14 +4145,12 @@
166
167
168
169-
170- { echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
171-echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6; }
172-if test "${ac_cv_lib_cposix_strerror+set}" = set; then
173+{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
174+echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
175+if test "${ac_cv_search_strerror+set}" = set; then
176 echo $ECHO_N "(cached) $ECHO_C" >&6
177 else
178- ac_check_lib_save_LIBS=$LIBS
179-LIBS="-lcposix $LIBS"
180+ ac_func_search_save_LIBS=$LIBS
181 cat >conftest.$ac_ext <<_ACEOF
182 /* confdefs.h. */
183 _ACEOF
184@@ -4177,7 +4173,14 @@
185 return 0;
186 }
187 _ACEOF
188-rm -f conftest.$ac_objext conftest$ac_exeext
189+for ac_lib in '' cposix; do
190+ if test -z "$ac_lib"; then
191+ ac_res="none required"
192+ else
193+ ac_res=-l$ac_lib
194+ LIBS="-l$ac_lib $ac_func_search_save_LIBS"
195+ fi
196+ rm -f conftest.$ac_objext conftest$ac_exeext
197 if { (ac_try="$ac_link"
198 case "(($ac_try" in
199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
200@@ -4195,25 +4198,35 @@
201 test ! -s conftest.err
202 } && test -s conftest$ac_exeext &&
203 $as_test_x conftest$ac_exeext; then
204- ac_cv_lib_cposix_strerror=yes
205+ ac_cv_search_strerror=$ac_res
206 else
207 echo "$as_me: failed program was:" >&5
208 sed 's/^/| /' conftest.$ac_ext >&5
209
210- ac_cv_lib_cposix_strerror=no
211+
212 fi
213
214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
215- conftest$ac_exeext conftest.$ac_ext
216-LIBS=$ac_check_lib_save_LIBS
217+ conftest$ac_exeext
218+ if test "${ac_cv_search_strerror+set}" = set; then
219+ break
220+fi
221+done
222+if test "${ac_cv_search_strerror+set}" = set; then
223+ :
224+else
225+ ac_cv_search_strerror=no
226 fi
227-{ echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
228-echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6; }
229-if test $ac_cv_lib_cposix_strerror = yes; then
230- LIBS="$LIBS -lcposix"
231+rm conftest.$ac_ext
232+LIBS=$ac_func_search_save_LIBS
233 fi
234+{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
235+echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
236+ac_res=$ac_cv_search_strerror
237+if test "$ac_res" != no; then
238+ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
239
240-
241+fi
242
243 # Find a good install program. We prefer a C program (faster),
244 # so one script is as good as another. But avoid the broken or
245@@ -5769,7 +5782,7 @@
246 ;;
247 *-*-irix6*)
248 # Find out which ABI we are using.
249- echo '#line 5772 "configure"' > conftest.$ac_ext
250+ echo '#line 5785 "configure"' > conftest.$ac_ext
251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
252 (eval $ac_compile) 2>&5
253 ac_status=$?
254@@ -8555,11 +8568,11 @@
255 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
256 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
257 -e 's:$: $lt_compiler_flag:'`
258- (eval echo "\"\$as_me:8558: $lt_compile\"" >&5)
259+ (eval echo "\"\$as_me:8571: $lt_compile\"" >&5)
260 (eval "$lt_compile" 2>conftest.err)
261 ac_status=$?
262 cat conftest.err >&5
263- echo "$as_me:8562: \$? = $ac_status" >&5
264+ echo "$as_me:8575: \$? = $ac_status" >&5
265 if (exit $ac_status) && test -s "$ac_outfile"; then
266 # The compiler can only warn and ignore the option if not recognized
267 # So say no if there are warnings other than the usual output.
268@@ -8823,11 +8836,11 @@
269 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
270 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
271 -e 's:$: $lt_compiler_flag:'`
272- (eval echo "\"\$as_me:8826: $lt_compile\"" >&5)
273+ (eval echo "\"\$as_me:8839: $lt_compile\"" >&5)
274 (eval "$lt_compile" 2>conftest.err)
275 ac_status=$?
276 cat conftest.err >&5
277- echo "$as_me:8830: \$? = $ac_status" >&5
278+ echo "$as_me:8843: \$? = $ac_status" >&5
279 if (exit $ac_status) && test -s "$ac_outfile"; then
280 # The compiler can only warn and ignore the option if not recognized
281 # So say no if there are warnings other than the usual output.
282@@ -8927,11 +8940,11 @@
283 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
284 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
285 -e 's:$: $lt_compiler_flag:'`
286- (eval echo "\"\$as_me:8930: $lt_compile\"" >&5)
287+ (eval echo "\"\$as_me:8943: $lt_compile\"" >&5)
288 (eval "$lt_compile" 2>out/conftest.err)
289 ac_status=$?
290 cat out/conftest.err >&5
291- echo "$as_me:8934: \$? = $ac_status" >&5
292+ echo "$as_me:8947: \$? = $ac_status" >&5
293 if (exit $ac_status) && test -s out/conftest2.$ac_objext
294 then
295 # The compiler can only warn and ignore the option if not recognized
296@@ -11224,7 +11237,7 @@
297 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
298 lt_status=$lt_dlunknown
299 cat > conftest.$ac_ext <<EOF
300-#line 11227 "configure"
301+#line 11240 "configure"
302 #include "confdefs.h"
303
304 #if HAVE_DLFCN_H
305@@ -11324,7 +11337,7 @@
306 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
307 lt_status=$lt_dlunknown
308 cat > conftest.$ac_ext <<EOF
309-#line 11327 "configure"
310+#line 11340 "configure"
311 #include "confdefs.h"
312
313 #if HAVE_DLFCN_H
314@@ -13660,11 +13673,11 @@
315 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
316 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
317 -e 's:$: $lt_compiler_flag:'`
318- (eval echo "\"\$as_me:13663: $lt_compile\"" >&5)
319+ (eval echo "\"\$as_me:13676: $lt_compile\"" >&5)
320 (eval "$lt_compile" 2>conftest.err)
321 ac_status=$?
322 cat conftest.err >&5
323- echo "$as_me:13667: \$? = $ac_status" >&5
324+ echo "$as_me:13680: \$? = $ac_status" >&5
325 if (exit $ac_status) && test -s "$ac_outfile"; then
326 # The compiler can only warn and ignore the option if not recognized
327 # So say no if there are warnings other than the usual output.
328@@ -13764,11 +13777,11 @@
329 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
330 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
331 -e 's:$: $lt_compiler_flag:'`
332- (eval echo "\"\$as_me:13767: $lt_compile\"" >&5)
333+ (eval echo "\"\$as_me:13780: $lt_compile\"" >&5)
334 (eval "$lt_compile" 2>out/conftest.err)
335 ac_status=$?
336 cat out/conftest.err >&5
337- echo "$as_me:13771: \$? = $ac_status" >&5
338+ echo "$as_me:13784: \$? = $ac_status" >&5
339 if (exit $ac_status) && test -s out/conftest2.$ac_objext
340 then
341 # The compiler can only warn and ignore the option if not recognized
342@@ -15325,11 +15338,11 @@
343 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
344 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
345 -e 's:$: $lt_compiler_flag:'`
346- (eval echo "\"\$as_me:15328: $lt_compile\"" >&5)
347+ (eval echo "\"\$as_me:15341: $lt_compile\"" >&5)
348 (eval "$lt_compile" 2>conftest.err)
349 ac_status=$?
350 cat conftest.err >&5
351- echo "$as_me:15332: \$? = $ac_status" >&5
352+ echo "$as_me:15345: \$? = $ac_status" >&5
353 if (exit $ac_status) && test -s "$ac_outfile"; then
354 # The compiler can only warn and ignore the option if not recognized
355 # So say no if there are warnings other than the usual output.
356@@ -15429,11 +15442,11 @@
357 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
358 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
359 -e 's:$: $lt_compiler_flag:'`
360- (eval echo "\"\$as_me:15432: $lt_compile\"" >&5)
361+ (eval echo "\"\$as_me:15445: $lt_compile\"" >&5)
362 (eval "$lt_compile" 2>out/conftest.err)
363 ac_status=$?
364 cat out/conftest.err >&5
365- echo "$as_me:15436: \$? = $ac_status" >&5
366+ echo "$as_me:15449: \$? = $ac_status" >&5
367 if (exit $ac_status) && test -s out/conftest2.$ac_objext
368 then
369 # The compiler can only warn and ignore the option if not recognized
370@@ -17616,11 +17629,11 @@
371 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
372 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
373 -e 's:$: $lt_compiler_flag:'`
374- (eval echo "\"\$as_me:17619: $lt_compile\"" >&5)
375+ (eval echo "\"\$as_me:17632: $lt_compile\"" >&5)
376 (eval "$lt_compile" 2>conftest.err)
377 ac_status=$?
378 cat conftest.err >&5
379- echo "$as_me:17623: \$? = $ac_status" >&5
380+ echo "$as_me:17636: \$? = $ac_status" >&5
381 if (exit $ac_status) && test -s "$ac_outfile"; then
382 # The compiler can only warn and ignore the option if not recognized
383 # So say no if there are warnings other than the usual output.
384@@ -17884,11 +17897,11 @@
385 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
386 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
387 -e 's:$: $lt_compiler_flag:'`
388- (eval echo "\"\$as_me:17887: $lt_compile\"" >&5)
389+ (eval echo "\"\$as_me:17900: $lt_compile\"" >&5)
390 (eval "$lt_compile" 2>conftest.err)
391 ac_status=$?
392 cat conftest.err >&5
393- echo "$as_me:17891: \$? = $ac_status" >&5
394+ echo "$as_me:17904: \$? = $ac_status" >&5
395 if (exit $ac_status) && test -s "$ac_outfile"; then
396 # The compiler can only warn and ignore the option if not recognized
397 # So say no if there are warnings other than the usual output.
398@@ -17988,11 +18001,11 @@
399 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
400 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
401 -e 's:$: $lt_compiler_flag:'`
402- (eval echo "\"\$as_me:17991: $lt_compile\"" >&5)
403+ (eval echo "\"\$as_me:18004: $lt_compile\"" >&5)
404 (eval "$lt_compile" 2>out/conftest.err)
405 ac_status=$?
406 cat out/conftest.err >&5
407- echo "$as_me:17995: \$? = $ac_status" >&5
408+ echo "$as_me:18008: \$? = $ac_status" >&5
409 if (exit $ac_status) && test -s out/conftest2.$ac_objext
410 then
411 # The compiler can only warn and ignore the option if not recognized
412@@ -20960,16 +20973,9 @@
413 found_so=
414 found_a=
415 if test $use_additional = yes; then
416- if test -n "$shlibext" \
417- && { test -f "$additional_libdir/lib$name.$shlibext" \
418- || { test "$shlibext" = dll \
419- && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
420+ if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
421 found_dir="$additional_libdir"
422- if test -f "$additional_libdir/lib$name.$shlibext"; then
423- found_so="$additional_libdir/lib$name.$shlibext"
424- else
425- found_so="$additional_libdir/lib$name.dll.a"
426- fi
427+ found_so="$additional_libdir/lib$name.$shlibext"
428 if test -f "$additional_libdir/lib$name.la"; then
429 found_la="$additional_libdir/lib$name.la"
430 fi
431@@ -20997,16 +21003,9 @@
432 case "$x" in
433 -L*)
434 dir=`echo "X$x" | sed -e 's/^X-L//'`
435- if test -n "$shlibext" \
436- && { test -f "$dir/lib$name.$shlibext" \
437- || { test "$shlibext" = dll \
438- && test -f "$dir/lib$name.dll.a"; }; }; then
439+ if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
440 found_dir="$dir"
441- if test -f "$dir/lib$name.$shlibext"; then
442- found_so="$dir/lib$name.$shlibext"
443- else
444- found_so="$dir/lib$name.dll.a"
445- fi
446+ found_so="$dir/lib$name.$shlibext"
447 if test -f "$dir/lib$name.la"; then
448 found_la="$dir/lib$name.la"
449 fi
450@@ -21927,13 +21926,6 @@
451
452
453
454-
455-
456-
457-
458-
459-
460-
461 { echo "$as_me:$LINENO: checking for CFPreferencesCopyAppValue" >&5
462 echo $ECHO_N "checking for CFPreferencesCopyAppValue... $ECHO_C" >&6; }
463 if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then
464@@ -22070,37 +22062,17 @@
465 LTLIBINTL=
466 POSUB=
467
468- case " $gt_needs " in
469- *" need-formatstring-macros "*) gt_api_version=3 ;;
470- *" need-ngettext "*) gt_api_version=2 ;;
471- *) gt_api_version=1 ;;
472- esac
473- gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
474- gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
475-
476 if test "$USE_NLS" = "yes"; then
477 gt_use_preinstalled_gnugettext=no
478
479
480- if test $gt_api_version -ge 3; then
481- gt_revision_test_code='
482-#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
483-#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
484-#endif
485-typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
486-'
487- else
488- gt_revision_test_code=
489- fi
490- if test $gt_api_version -ge 2; then
491- gt_expression_test_code=' + * ngettext ("", "", 0)'
492- else
493- gt_expression_test_code=
494- fi
495+
496+
497+
498
499 { echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
500 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6; }
501-if { as_var=$gt_func_gnugettext_libc; eval "test \"\${$as_var+set}\" = set"; }; then
502+if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
503 echo $ECHO_N "(cached) $ECHO_C" >&6
504 else
505 cat >conftest.$ac_ext <<_ACEOF
506@@ -22110,14 +22082,13 @@
507 cat >>conftest.$ac_ext <<_ACEOF
508 /* end confdefs.h. */
509 #include <libintl.h>
510-$gt_revision_test_code
511 extern int _nl_msg_cat_cntr;
512 extern int *_nl_domain_bindings;
513 int
514 main ()
515 {
516 bindtextdomain ("", "");
517-return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
518+return * gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
519 ;
520 return 0;
521 }
522@@ -22140,22 +22111,21 @@
523 test ! -s conftest.err
524 } && test -s conftest$ac_exeext &&
525 $as_test_x conftest$ac_exeext; then
526- eval "$gt_func_gnugettext_libc=yes"
527+ gt_cv_func_gnugettext1_libc=yes
528 else
529 echo "$as_me: failed program was:" >&5
530 sed 's/^/| /' conftest.$ac_ext >&5
531
532- eval "$gt_func_gnugettext_libc=no"
533+ gt_cv_func_gnugettext1_libc=no
534 fi
535
536 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
537 conftest$ac_exeext conftest.$ac_ext
538 fi
539-ac_res=`eval echo '${'$gt_func_gnugettext_libc'}'`
540- { echo "$as_me:$LINENO: result: $ac_res" >&5
541-echo "${ECHO_T}$ac_res" >&6; }
542+{ echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
543+echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6; }
544
545- if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
546+ if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
547
548
549
550@@ -22398,16 +22368,9 @@
551 found_so=
552 found_a=
553 if test $use_additional = yes; then
554- if test -n "$shlibext" \
555- && { test -f "$additional_libdir/lib$name.$shlibext" \
556- || { test "$shlibext" = dll \
557- && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
558+ if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
559 found_dir="$additional_libdir"
560- if test -f "$additional_libdir/lib$name.$shlibext"; then
561- found_so="$additional_libdir/lib$name.$shlibext"
562- else
563- found_so="$additional_libdir/lib$name.dll.a"
564- fi
565+ found_so="$additional_libdir/lib$name.$shlibext"
566 if test -f "$additional_libdir/lib$name.la"; then
567 found_la="$additional_libdir/lib$name.la"
568 fi
569@@ -22435,16 +22398,9 @@
570 case "$x" in
571 -L*)
572 dir=`echo "X$x" | sed -e 's/^X-L//'`
573- if test -n "$shlibext" \
574- && { test -f "$dir/lib$name.$shlibext" \
575- || { test "$shlibext" = dll \
576- && test -f "$dir/lib$name.dll.a"; }; }; then
577+ if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
578 found_dir="$dir"
579- if test -f "$dir/lib$name.$shlibext"; then
580- found_so="$dir/lib$name.$shlibext"
581- else
582- found_so="$dir/lib$name.dll.a"
583- fi
584+ found_so="$dir/lib$name.$shlibext"
585 if test -f "$dir/lib$name.la"; then
586 found_la="$dir/lib$name.la"
587 fi
588@@ -22712,7 +22668,7 @@
589
590 { echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
591 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6; }
592-if { as_var=$gt_func_gnugettext_libintl; eval "test \"\${$as_var+set}\" = set"; }; then
593+if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
594 echo $ECHO_N "(cached) $ECHO_C" >&6
595 else
596 gt_save_CPPFLAGS="$CPPFLAGS"
597@@ -22726,7 +22682,6 @@
598 cat >>conftest.$ac_ext <<_ACEOF
599 /* end confdefs.h. */
600 #include <libintl.h>
601-$gt_revision_test_code
602 extern int _nl_msg_cat_cntr;
603 extern
604 #ifdef __cplusplus
605@@ -22737,7 +22692,7 @@
606 main ()
607 {
608 bindtextdomain ("", "");
609-return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
610+return * gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias ("")
611 ;
612 return 0;
613 }
614@@ -22760,17 +22715,17 @@
615 test ! -s conftest.err
616 } && test -s conftest$ac_exeext &&
617 $as_test_x conftest$ac_exeext; then
618- eval "$gt_func_gnugettext_libintl=yes"
619+ gt_cv_func_gnugettext1_libintl=yes
620 else
621 echo "$as_me: failed program was:" >&5
622 sed 's/^/| /' conftest.$ac_ext >&5
623
624- eval "$gt_func_gnugettext_libintl=no"
625+ gt_cv_func_gnugettext1_libintl=no
626 fi
627
628 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
629 conftest$ac_exeext conftest.$ac_ext
630- if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
631+ if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
632 LIBS="$LIBS $LIBICONV"
633 cat >conftest.$ac_ext <<_ACEOF
634 /* confdefs.h. */
635@@ -22779,7 +22734,6 @@
636 cat >>conftest.$ac_ext <<_ACEOF
637 /* end confdefs.h. */
638 #include <libintl.h>
639-$gt_revision_test_code
640 extern int _nl_msg_cat_cntr;
641 extern
642 #ifdef __cplusplus
643@@ -22790,7 +22744,7 @@
644 main ()
645 {
646 bindtextdomain ("", "");
647-return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
648+return * gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias ("")
649 ;
650 return 0;
651 }
652@@ -22815,7 +22769,7 @@
653 $as_test_x conftest$ac_exeext; then
654 LIBINTL="$LIBINTL $LIBICONV"
655 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
656- eval "$gt_func_gnugettext_libintl=yes"
657+ gt_cv_func_gnugettext1_libintl=yes
658
659 else
660 echo "$as_me: failed program was:" >&5
661@@ -22830,13 +22784,12 @@
662 CPPFLAGS="$gt_save_CPPFLAGS"
663 LIBS="$gt_save_LIBS"
664 fi
665-ac_res=`eval echo '${'$gt_func_gnugettext_libintl'}'`
666- { echo "$as_me:$LINENO: result: $ac_res" >&5
667-echo "${ECHO_T}$ac_res" >&6; }
668+{ echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
669+echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6; }
670 fi
671
672- if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
673- || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
674+ if test "$gt_cv_func_gnugettext1_libc" = "yes" \
675+ || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
676 && test "$PACKAGE" != gettext-runtime \
677 && test "$PACKAGE" != gettext-tools; }; then
678 gt_use_preinstalled_gnugettext=yes
679@@ -22876,7 +22829,7 @@
680 { echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
681 echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6; }
682 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
683- if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
684+ if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
685 gt_source="external libintl"
686 else
687 gt_source="libc"
688@@ -22891,7 +22844,7 @@
689 if test "$USE_NLS" = "yes"; then
690
691 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
692- if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
693+ if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
694 { echo "$as_me:$LINENO: checking how to link with libintl" >&5
695 echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6; }
696 { echo "$as_me:$LINENO: result: $LIBINTL" >&5
697@@ -26592,12 +26545,8 @@
698 esac
699 done
700
701-
702-
703-if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
704- if test -n "$ac_tool_prefix"; then
705- # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
706-set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
707+ # Extract the first word of "pkg-config", so it can be a program name with args.
708+set dummy pkg-config; ac_word=$2
709 { echo "$as_me:$LINENO: checking for $ac_word" >&5
710 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
711 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
712@@ -26623,6 +26572,7 @@
713 done
714 IFS=$as_save_IFS
715
716+ test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
717 ;;
718 esac
719 fi
720@@ -26636,88 +26586,19 @@
721 fi
722
723
724-fi
725-if test -z "$ac_cv_path_PKG_CONFIG"; then
726- ac_pt_PKG_CONFIG=$PKG_CONFIG
727- # Extract the first word of "pkg-config", so it can be a program name with args.
728-set dummy pkg-config; ac_word=$2
729-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
730-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
731-if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
732- echo $ECHO_N "(cached) $ECHO_C" >&6
733-else
734- case $ac_pt_PKG_CONFIG in
735- [\\/]* | ?:[\\/]*)
736- ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
737- ;;
738- *)
739- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
740-for as_dir in $PATH
741-do
742- IFS=$as_save_IFS
743- test -z "$as_dir" && as_dir=.
744- for ac_exec_ext in '' $ac_executable_extensions; do
745- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
746- ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
747- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
748- break 2
749- fi
750-done
751-done
752-IFS=$as_save_IFS
753-
754- ;;
755-esac
756-fi
757-ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
758-if test -n "$ac_pt_PKG_CONFIG"; then
759- { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
760-echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
761-else
762- { echo "$as_me:$LINENO: result: no" >&5
763-echo "${ECHO_T}no" >&6; }
764-fi
765-
766- if test "x$ac_pt_PKG_CONFIG" = x; then
767- PKG_CONFIG=""
768- else
769- case $cross_compiling:$ac_tool_warned in
770-yes:)
771-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
772-whose name does not start with the host triplet. If you think this
773-configuration is useful to you, please write to autoconf@gnu.org." >&5
774-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
775-whose name does not start with the host triplet. If you think this
776-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
777-ac_tool_warned=yes ;;
778-esac
779- PKG_CONFIG=$ac_pt_PKG_CONFIG
780- fi
781-else
782- PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
783-fi
784-
785-fi
786-if test -n "$PKG_CONFIG"; then
787- _pkg_min_version=0.7
788- { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
789-echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
790- if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
791- { echo "$as_me:$LINENO: result: yes" >&5
792-echo "${ECHO_T}yes" >&6; }
793- else
794- { echo "$as_me:$LINENO: result: no" >&5
795-echo "${ECHO_T}no" >&6; }
796- PKG_CONFIG=""
797- fi
798-
799-fi
800
801 no_glib=""
802
803- if test "x$PKG_CONFIG" = x ; then
804+ if test x$PKG_CONFIG != xno ; then
805+ if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
806+ :
807+ else
808+ echo *** pkg-config too old; version 0.7 or better required.
809+ no_glib=yes
810+ PKG_CONFIG=no
811+ fi
812+ else
813 no_glib=yes
814- PKG_CONFIG=no
815 fi
816
817 min_glib_version=2.6.0
818@@ -27223,9 +27104,7 @@
819 # Put the nasty error message in config.log where it belongs
820 echo "$OPENSSL_PKG_ERRORS" >&5
821
822- { echo "$as_me:$LINENO: result: no" >&5
823-echo "${ECHO_T}no" >&6; }
824- ac_cv_enable_openssl=no
825+ ac_cv_enable_openssl=no
826 elif test $pkg_failed = untried; then
827 ac_cv_enable_openssl=no
828 else
829@@ -27793,6 +27672,11 @@
830
831
832
833+OWL_LIBS="-lowl"
834+OLS_CFLAGS=""
835+
836+
837+
838 # Check whether --enable-aspell was given.
839 if test "${enable_aspell+set}" = set; then
840 enableval=$enable_aspell; ac_cv_enable_aspell=$enableval
841@@ -28242,9 +28126,7 @@
842 # Put the nasty error message in config.log where it belongs
843 echo "$MAEMO_PKG_ERRORS" >&5
844
845- { echo "$as_me:$LINENO: result: no" >&5
846-echo "${ECHO_T}no" >&6; }
847- ac_cv_enable_maemo=no
848+ ac_cv_enable_maemo=no
849 elif test $pkg_failed = untried; then
850 ac_cv_enable_maemo=no
851 else
852@@ -29796,8 +29678,6 @@
853 # Put the nasty error message in config.log where it belongs
854 echo "$STARTUP_NOTIFICATION_PKG_ERRORS" >&5
855
856- { echo "$as_me:$LINENO: result: no" >&5
857-echo "${ECHO_T}no" >&6; }
858
859 echo "Building without libstartup-notification"
860 enable_startup_notification=no
861@@ -31300,9 +31180,7 @@
862 # Put the nasty error message in config.log where it belongs
863 echo "$CLAMAV_PKG_ERRORS" >&5
864
865- { echo "$as_me:$LINENO: result: no" >&5
866-echo "${ECHO_T}no" >&6; }
867- ac_cv_enable_clamav_plugin=no
868+ ac_cv_enable_clamav_plugin=no
869 elif test $pkg_failed = untried; then
870 ac_cv_enable_clamav_plugin=no
871 else
872@@ -31684,9 +31562,7 @@
873 # Put the nasty error message in config.log where it belongs
874 echo "$GNOMEPRINT_PKG_ERRORS" >&5
875
876- { echo "$as_me:$LINENO: result: no" >&5
877-echo "${ECHO_T}no" >&6; }
878- ac_cv_enable_gnomeprint=no
879+ ac_cv_enable_gnomeprint=no
880 elif test $pkg_failed = untried; then
881 ac_cv_enable_gnomeprint=no
882 else
883@@ -31794,9 +31670,7 @@
884 # Put the nasty error message in config.log where it belongs
885 echo "$VALGRIND_PKG_ERRORS" >&5
886
887- { echo "$as_me:$LINENO: result: no" >&5
888-echo "${ECHO_T}no" >&6; }
889- ac_cv_enable_valgrind=no
890+ ac_cv_enable_valgrind=no
891 elif test $pkg_failed = untried; then
892 ac_cv_enable_valgrind=no
893 else
894@@ -32884,6 +32758,8 @@
895 PASSCRYPT_KEY!$PASSCRYPT_KEY$ac_delim
896 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
897 GTK_LIBS!$GTK_LIBS$ac_delim
898+OWL_LIBS!$OWL_LIBS$ac_delim
899+OWL_CFLAGS!$OWL_CFLAGS$ac_delim
900 ASPELL!$ASPELL$ac_delim
901 ASPELL_CFLAGS!$ASPELL_CFLAGS$ac_delim
902 ASPELL_LIBS!$ASPELL_LIBS$ac_delim
903@@ -32904,8 +32780,6 @@
904 BUILD_SPAMASSASSIN_PLUGIN_FALSE!$BUILD_SPAMASSASSIN_PLUGIN_FALSE$ac_delim
905 BUILD_BOGOFILTER_PLUGIN_TRUE!$BUILD_BOGOFILTER_PLUGIN_TRUE$ac_delim
906 BUILD_BOGOFILTER_PLUGIN_FALSE!$BUILD_BOGOFILTER_PLUGIN_FALSE$ac_delim
907-GPGME_CONFIG!$GPGME_CONFIG$ac_delim
908-GPGME_CFLAGS!$GPGME_CFLAGS$ac_delim
909 _ACEOF
910
911 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
912@@ -32947,6 +32821,8 @@
913 ac_delim='%!_!# '
914 for ac_last_try in false false false false false :; do
915 cat >conf$$subs.sed <<_ACEOF
916+GPGME_CONFIG!$GPGME_CONFIG$ac_delim
917+GPGME_CFLAGS!$GPGME_CFLAGS$ac_delim
918 GPGME_LIBS!$GPGME_LIBS$ac_delim
919 BUILD_PGPCORE_PLUGIN_TRUE!$BUILD_PGPCORE_PLUGIN_TRUE$ac_delim
920 BUILD_PGPCORE_PLUGIN_FALSE!$BUILD_PGPCORE_PLUGIN_FALSE$ac_delim
921@@ -32979,7 +32855,7 @@
922 LTLIBOBJS!$LTLIBOBJS$ac_delim
923 _ACEOF
924
925- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 30; then
926+ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 32; then
927 break
928 elif $ac_last_try; then
929 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
930Index: claws-mail-2.9.1/src/Makefile.in
931===================================================================
932--- claws-mail-2.9.1.orig/src/Makefile.in 2007-04-25 10:18:13.000000000 +0100
933+++ claws-mail-2.9.1/src/Makefile.in 2007-04-25 10:30:23.000000000 +0100
934@@ -45,8 +45,7 @@
935 $(top_srcdir)/m4/aspell.m4 $(top_srcdir)/m4/check-type.m4 \
936 $(top_srcdir)/m4/gnupg-check-typedef.m4 \
937 $(top_srcdir)/m4/gnupg.m4 $(top_srcdir)/m4/gpgme.m4 \
938- $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/spamassassin.m4 \
939- $(top_srcdir)/configure.ac
940+ $(top_srcdir)/m4/spamassassin.m4 $(top_srcdir)/configure.ac
941 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
942 $(ACLOCAL_M4)
943 mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
944@@ -122,7 +121,7 @@
945 $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_2) \
946 $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_2) \
947 $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_2) \
948- $(am__DEPENDENCIES_2)
949+ $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_2)
950 claws_mail_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
951 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
952 $(claws_mail_LDFLAGS) $(LDFLAGS) -o $@
953@@ -272,6 +271,8 @@
954 OBJEXT = @OBJEXT@
955 OPENSSL_CFLAGS = @OPENSSL_CFLAGS@
956 OPENSSL_LIBS = @OPENSSL_LIBS@
957+OWL_CFLAGS = @OWL_CFLAGS@
958+OWL_LIBS = @OWL_LIBS@
959 PACKAGE = @PACKAGE@
960 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
961 PACKAGE_NAME = @PACKAGE_NAME@
962@@ -815,7 +816,8 @@
963 $(LIBICONV) \
964 $(STARTUP_NOTIFICATION_LIBS) \
965 $(LIBETPAN_LIBS) \
966- $(MAEMO_LIBS)
967+ $(MAEMO_LIBS) \
968+ $(OWL_LIBS)
969
970 AM_CPPFLAGS = \
971 -DG_LOG_DOMAIN=\"Claws-Mail\" \
972@@ -833,7 +835,7 @@
973 $(LIBETPAN_CPPFLAGS) \
974 $(STARTUP_NOTIFICATION_CFLAGS) \
975 $(MAEMO_CFLAGS) \
976- -Wno-unused-function
977+ $(OWL_CFLAGS)
978
979
980 #no-unused-function is there because of bison stuff
981@@ -1406,6 +1408,7 @@
982 install-exec-hook:
983 @rm -f $(DESTDIR)$(bindir)/sylpheed-claws
984 @ln -s claws-mail $(DESTDIR)$(bindir)/sylpheed-claws
985+ -Wno-unused-function
986
987 @CYGWIN_TRUE@claws-mail$(EXEEXT): $(claws_mail_OBJECTS) $(claws_mail_DEPENDENCIES)
988 @CYGWIN_TRUE@ @rm -f claws-mail$(EXEEXT)
989Index: claws-mail-2.9.1/autogen.sh
990===================================================================
991--- claws-mail-2.9.1.orig/autogen.sh 2007-04-25 10:18:13.000000000 +0100
992+++ claws-mail-2.9.1/autogen.sh 2007-04-25 10:30:23.000000000 +0100
993@@ -74,5 +74,4 @@
994 && libtoolize --force --copy \
995 && autoheader \
996 && automake --add-missing --foreign --copy \
997- && autoconf \
998- && ./configure --enable-maintainer-mode $@
999+ && autoconf
1000Index: claws-mail-2.9.1/src/compose.c
1001===================================================================
1002--- claws-mail-2.9.1.orig/src/compose.c 2007-04-25 10:18:13.000000000 +0100
1003+++ claws-mail-2.9.1/src/compose.c 2007-04-25 10:30:23.000000000 +0100
1004@@ -6192,7 +6192,6 @@
1005 n_menu_entries = sizeof(compose_entries) / sizeof(compose_entries[0]);
1006 menubar = menubar_create(window, compose_entries,
1007 n_menu_entries, "<Compose>", compose);
1008- gtk_box_pack_start(GTK_BOX(vbox), menubar, FALSE, TRUE, 0);
1009
1010 handlebox = gtk_hbox_new(FALSE, 0);
1011 gtk_box_pack_start(GTK_BOX(vbox), handlebox, FALSE, FALSE, 0);
diff --git a/meta-demoapps/recipes-sato/claws-mail/files/streamline-ui.patch b/meta-demoapps/recipes-sato/claws-mail/files/streamline-ui.patch
deleted file mode 100644
index 81a2a6bd90..0000000000
--- a/meta-demoapps/recipes-sato/claws-mail/files/streamline-ui.patch
+++ /dev/null
@@ -1,1010 +0,0 @@
1Upstream-Status: Inappropriate [disable feature]
2
3Index: claws-mail-2.9.1/src/mainwindow.c
4===================================================================
5--- claws-mail-2.9.1.orig/src/mainwindow.c 2007-04-25 07:40:10.000000000 +0100
6+++ claws-mail-2.9.1/src/mainwindow.c 2007-04-25 10:26:40.000000000 +0100
7@@ -189,9 +189,6 @@
8 static void toggle_statusbar_cb (MainWindow *mainwin,
9 guint action,
10 GtkWidget *widget);
11-static void set_layout_cb (MainWindow *mainwin,
12- guint action,
13- GtkWidget *widget);
14
15 static void addressbook_open_cb (MainWindow *mainwin,
16 guint action,
17@@ -538,94 +535,24 @@
18 {N_("/_Edit/_Search folder..."), "<shift><control>F", search_cb, 1, NULL},
19 {N_("/_Edit/_Quick search"), "slash", mainwindow_quicksearch, 0, NULL},
20 {N_("/_View"), NULL, NULL, 0, "<Branch>"},
21- {N_("/_View/Show or hi_de"), NULL, NULL, 0, "<Branch>"},
22- {N_("/_View/Show or hi_de/_Message view"),
23- "V", toggle_message_cb, 0, "<ToggleItem>"},
24- {N_("/_View/Show or hi_de/_Toolbar"),
25- NULL, NULL, 0, "<Branch>"},
26- {N_("/_View/Show or hi_de/_Toolbar/Text _below icons"),
27- NULL, toggle_toolbar_cb, TOOLBAR_BOTH, "<RadioItem>"},
28- {N_("/_View/Show or hi_de/_Toolbar/Text be_side icons"),
29- NULL, toggle_toolbar_cb, TOOLBAR_BOTH_HORIZ, "/View/Show or hide/Toolbar/Text below icons"},
30- {N_("/_View/Show or hi_de/_Toolbar/_Icons only"),
31- NULL, toggle_toolbar_cb, TOOLBAR_ICON, "/View/Show or hide/Toolbar/Text below icons"},
32- {N_("/_View/Show or hi_de/_Toolbar/_Text only"),
33- NULL, toggle_toolbar_cb, TOOLBAR_TEXT, "/View/Show or hide/Toolbar/Text below icons"},
34- {N_("/_View/Show or hi_de/_Toolbar/_Hide"),
35- NULL, toggle_toolbar_cb, TOOLBAR_NONE, "/View/Show or hide/Toolbar/Text below icons"},
36- {N_("/_View/Show or hi_de/Status _bar"),
37- NULL, toggle_statusbar_cb, 0, "<ToggleItem>"},
38 {N_("/_View/Set displayed _columns"), NULL, NULL, 0, "<Branch>"},
39 {N_("/_View/Set displayed _columns/in _Folder list..."), NULL, set_folder_display_item_cb, 0, NULL},
40 {N_("/_View/Set displayed _columns/in _Message list..."),NULL, set_summary_display_item_cb, 0, NULL},
41
42 {N_("/_View/---"), NULL, NULL, 0, "<Separator>"},
43- {N_("/_View/La_yout"), NULL, NULL, 0, "<Branch>"},
44- {N_("/_View/Layout/_Standard"), NULL, set_layout_cb, NORMAL_LAYOUT, "<RadioItem>"},
45- {N_("/_View/Layout/_Three columns"), NULL, set_layout_cb, VERTICAL_LAYOUT, "/View/Layout/Standard"},
46- {N_("/_View/Layout/_Wide message"), NULL, set_layout_cb, WIDE_LAYOUT, "/View/Layout/Standard"},
47- {N_("/_View/Layout/W_ide message list"),NULL, set_layout_cb, WIDE_MSGLIST_LAYOUT, "/View/Layout/Standard"},
48- {N_("/_View/Layout/S_mall screen"), NULL, set_layout_cb, SMALL_LAYOUT, "/View/Layout/Standard"},
49- {N_("/_View/---"), NULL, NULL, 0, "<Separator>"},
50 {N_("/_View/_Sort"), NULL, NULL, 0, "<Branch>"},
51- {N_("/_View/_Sort/by _number"), NULL, sort_summary_cb, SORT_BY_NUMBER, "<RadioItem>"},
52- {N_("/_View/_Sort/by S_ize"), NULL, sort_summary_cb, SORT_BY_SIZE, "/View/Sort/by number"},
53- {N_("/_View/_Sort/by _Date"), NULL, sort_summary_cb, SORT_BY_DATE, "/View/Sort/by number"},
54- {N_("/_View/_Sort/by _From"), NULL, sort_summary_cb, SORT_BY_FROM, "/View/Sort/by number"},
55- {N_("/_View/_Sort/by _To"), NULL, sort_summary_cb, SORT_BY_TO, "/View/Sort/by number"},
56- {N_("/_View/_Sort/by S_ubject"), NULL, sort_summary_cb, SORT_BY_SUBJECT, "/View/Sort/by number"},
57- {N_("/_View/_Sort/by _color label"),
58- NULL, sort_summary_cb, SORT_BY_LABEL, "/View/Sort/by number"},
59- {N_("/_View/_Sort/by _mark"), NULL, sort_summary_cb, SORT_BY_MARK, "/View/Sort/by number"},
60- {N_("/_View/_Sort/by _status"), NULL, sort_summary_cb, SORT_BY_STATUS, "/View/Sort/by number"},
61- {N_("/_View/_Sort/by a_ttachment"),
62- NULL, sort_summary_cb, SORT_BY_MIME, "/View/Sort/by number"},
63- {N_("/_View/_Sort/by score"), NULL, sort_summary_cb, SORT_BY_SCORE, "/View/Sort/by number"},
64- {N_("/_View/_Sort/by locked"), NULL, sort_summary_cb, SORT_BY_LOCKED, "/View/Sort/by number"},
65- {N_("/_View/_Sort/D_on't sort"), NULL, sort_summary_cb, SORT_BY_NONE, "/View/Sort/by number"},
66+ {N_("/_View/_Sort/by _Date"), NULL, sort_summary_cb, SORT_BY_DATE, "<RadioItem>"},
67+ {N_("/_View/_Sort/by _From"), NULL, sort_summary_cb, SORT_BY_FROM, "/View/Sort/by Date"},
68+ {N_("/_View/_Sort/by _To"), NULL, sort_summary_cb, SORT_BY_TO, "/View/Sort/by Date"},
69+ {N_("/_View/_Sort/by S_ubject"), NULL, sort_summary_cb, SORT_BY_SUBJECT, "/View/Sort/by Date"},
70 {N_("/_View/_Sort/---"), NULL, NULL, 0, "<Separator>"},
71 {N_("/_View/_Sort/Ascending"), NULL, sort_summary_type_cb, SORT_ASCENDING, "<RadioItem>"},
72 {N_("/_View/_Sort/Descending"), NULL, sort_summary_type_cb, SORT_DESCENDING, "/View/Sort/Ascending"},
73- {N_("/_View/_Sort/---"), NULL, NULL, 0, "<Separator>"},
74- {N_("/_View/_Sort/_Attract by subject"),
75- NULL, attract_by_subject_cb, 0, NULL},
76 {N_("/_View/Th_read view"), "<control>T", thread_cb, 0, "<ToggleItem>"},
77 {N_("/_View/E_xpand all threads"), NULL, expand_threads_cb, 0, NULL},
78 {N_("/_View/Co_llapse all threads"), NULL, collapse_threads_cb, 0, NULL},
79 {N_("/_View/_Hide read messages"), NULL, hide_read_messages, 0, "<ToggleItem>"},
80
81- {N_("/_View/---"), NULL, NULL, 0, "<Separator>"},
82- {N_("/_View/_Go to"), NULL, NULL, 0, "<Branch>"},
83- {N_("/_View/_Go to/_Previous message"), "P", prev_cb, 0, NULL},
84- {N_("/_View/_Go to/_Next message"), "N", next_cb, 0, NULL},
85- {N_("/_View/_Go to/---"), NULL, NULL, 0, "<Separator>"},
86- {N_("/_View/_Go to/P_revious unread message"),
87- "<shift>P", prev_unread_cb, 0, NULL},
88- {N_("/_View/_Go to/N_ext unread message"),
89- "<shift>N", next_unread_cb, 0, NULL},
90- {N_("/_View/_Go to/---"), NULL, NULL, 0, "<Separator>"},
91- {N_("/_View/_Go to/Previous ne_w message"), NULL, prev_new_cb, 0, NULL},
92- {N_("/_View/_Go to/Ne_xt new message"), NULL, next_new_cb, 0, NULL},
93- {N_("/_View/_Go to/---"), NULL, NULL, 0, "<Separator>"},
94- {N_("/_View/_Go to/Previous _marked message"),
95- NULL, prev_marked_cb, 0, NULL},
96- {N_("/_View/_Go to/Next m_arked message"),
97- NULL, next_marked_cb, 0, NULL},
98- {N_("/_View/_Go to/---"), NULL, NULL, 0, "<Separator>"},
99- {N_("/_View/_Go to/Previous _labeled message"),
100- NULL, prev_labeled_cb, 0, NULL},
101- {N_("/_View/_Go to/Next la_beled message"),
102- NULL, next_labeled_cb, 0, NULL},
103- {N_("/_View/_Go to/---"), NULL, NULL, 0, "<Separator>"},
104- {N_("/_View/_Go to/Last read message"),
105- NULL, last_read_cb, 0, NULL},
106- {N_("/_View/_Go to/Parent message"),
107- "<control>Up", parent_cb, 0, NULL},
108- {N_("/_View/_Go to/---"), NULL, NULL, 0, "<Separator>"},
109- {N_("/_View/_Go to/Next unread _folder"), "<shift>G", goto_unread_folder_cb, 0, NULL},
110- {N_("/_View/_Go to/_Other folder..."), "G", goto_folder_cb, 0, NULL},
111- {N_("/_View/---"), NULL, NULL, 0, "<Separator>"},
112-
113 #define ENC_SEPARATOR \
114 {N_("/_View/Character _encoding/---"), NULL, NULL, 0, "<Separator>"}
115 #define ENC_ACTION(action) \
116@@ -742,7 +669,6 @@
117 #undef DEC_ACTION
118
119 {N_("/_View/---"), NULL, NULL, 0, "<Separator>"},
120- {N_("/_View/Open in new _window"), "<control><alt>N", open_msg_cb, 0, NULL},
121 {N_("/_View/Mess_age source"), "<control>U", view_source_cb, 0, NULL},
122 {N_("/_View/All headers"), "<control>H", show_all_header_cb, 0, "<ToggleItem>"},
123 {N_("/_View/Quotes"), NULL, NULL, 0, "<Branch>"},
124@@ -1137,23 +1063,14 @@
125 gint i;
126 guint n_menu_entries;
127
128- static GdkGeometry geometry;
129-
130 debug_print("Creating main window...\n");
131 mainwin = g_new0(MainWindow, 1);
132
133 /* main window */
134 window = gtkut_window_new(GTK_WINDOW_TOPLEVEL, "mainwindow");
135- gtk_window_set_title(GTK_WINDOW(window), PROG_VERSION);
136+ gtk_window_set_title(GTK_WINDOW(window), _("Mail"));
137 gtk_window_set_resizable(GTK_WINDOW(window), TRUE);
138
139- if (!geometry.min_height) {
140- geometry.min_width = 320;
141- geometry.min_height = 200;
142- }
143- gtk_window_set_geometry_hints(GTK_WINDOW(window), NULL, &geometry,
144- GDK_HINT_MIN_SIZE);
145-
146 g_signal_connect(G_OBJECT(window), "delete_event",
147 G_CALLBACK(main_window_close_cb), mainwin);
148 MANAGE_WINDOW_SIGNALS_CONNECT(window);
149@@ -1184,21 +1101,9 @@
150 /* gtk_widget_show(gtk_item_factory_get_item(ifactory,"/Message/Mailing-List"));
151 main_create_mailing_list_menu (mainwin, NULL); */
152
153- menu_set_sensitive(ifactory, "/Help/Manual", manual_available(MANUAL_MANUAL_LOCAL));
154-
155- if (prefs_common.toolbar_detachable) {
156- handlebox = gtk_handle_box_new();
157- gtk_widget_show(handlebox);
158- gtk_box_pack_start(GTK_BOX(vbox), handlebox, FALSE, FALSE, 0);
159- g_signal_connect(G_OBJECT(handlebox), "child_attached",
160- G_CALLBACK(toolbar_child_attached), mainwin);
161- g_signal_connect(G_OBJECT(handlebox), "child_detached",
162- G_CALLBACK(toolbar_child_detached), mainwin);
163- } else {
164- handlebox = gtk_hbox_new(FALSE, 0);
165- gtk_widget_show(handlebox);
166- gtk_box_pack_start(GTK_BOX(vbox), handlebox, FALSE, FALSE, 0);
167- }
168+ handlebox = gtk_hbox_new(FALSE, 0);
169+ gtk_widget_show(handlebox);
170+ gtk_box_pack_start(GTK_BOX(vbox), handlebox, FALSE, FALSE, 0);
171 /* link window to mainwin->window to avoid gdk warnings */
172 mainwin->window = window;
173
174@@ -1405,36 +1310,6 @@
175 (ifactory, "/View/Character encoding/Auto detect");
176 gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menuitem), TRUE);
177
178- switch (prefs_common.toolbar_style) {
179- case TOOLBAR_NONE:
180- menuitem = gtk_item_factory_get_item
181- (ifactory, "/View/Show or hide/Toolbar/Hide");
182- break;
183- case TOOLBAR_ICON:
184- menuitem = gtk_item_factory_get_item
185- (ifactory, "/View/Show or hide/Toolbar/Icons only");
186- break;
187- case TOOLBAR_TEXT:
188- menuitem = gtk_item_factory_get_item
189- (ifactory, "/View/Show or hide/Toolbar/Text only");
190- break;
191- case TOOLBAR_BOTH:
192- menuitem = gtk_item_factory_get_item
193- (ifactory, "/View/Show or hide/Toolbar/Text below icons");
194- break;
195- case TOOLBAR_BOTH_HORIZ:
196- menuitem = gtk_item_factory_get_item
197- (ifactory,
198- "/View/Show or hide/Toolbar/Text beside icons");
199- }
200- gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menuitem), TRUE);
201-
202- gtk_widget_hide(mainwin->hbox_stat);
203- menuitem = gtk_item_factory_get_item
204- (ifactory, "/View/Show or hide/Status bar");
205- gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menuitem),
206- prefs_common.show_statusbar);
207-
208 /* set account selection menu */
209 ac_menu = gtk_item_factory_get_widget
210 (ifactory, "/Configuration/Change current account");
211@@ -2284,16 +2159,6 @@
212 {"/View/Expand all threads" , M_MSG_EXIST},
213 {"/View/Collapse all threads" , M_MSG_EXIST},
214 {"/View/Hide read messages" , M_HIDE_READ_MSG},
215- {"/View/Go to/Previous message" , M_MSG_EXIST},
216- {"/View/Go to/Next message" , M_MSG_EXIST},
217- {"/View/Go to/Previous unread message" , M_MSG_EXIST},
218- {"/View/Go to/Previous new message" , M_MSG_EXIST},
219- {"/View/Go to/Previous marked message" , M_MSG_EXIST},
220- {"/View/Go to/Previous labeled message", M_MSG_EXIST},
221- {"/View/Go to/Next labeled message", M_MSG_EXIST},
222- {"/View/Go to/Last read message" , M_SINGLE_TARGET_EXIST},
223- {"/View/Go to/Parent message" , M_SINGLE_TARGET_EXIST},
224- {"/View/Open in new window" , M_SINGLE_TARGET_EXIST},
225 {"/View/Message source" , M_SINGLE_TARGET_EXIST},
226 {"/View/All headers" , M_SINGLE_TARGET_EXIST},
227 {"/View/Quotes" , M_SINGLE_TARGET_EXIST},
228@@ -2379,40 +2244,20 @@
229 gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menuitem), active); \
230 }
231
232- SET_CHECK_MENU_ACTIVE("/View/Show or hide/Message view",
233- messageview_is_visible(mainwin->messageview));
234-
235 summaryview = mainwin->summaryview;
236- menu_path = "/View/Sort/Don't sort";
237+ menu_path = "/View/Sort/by Date";
238
239 switch (summaryview->sort_key) {
240- case SORT_BY_NUMBER:
241- menu_path = "/View/Sort/by number"; break;
242- case SORT_BY_SIZE:
243- menu_path = "/View/Sort/by Size"; break;
244- case SORT_BY_DATE:
245- menu_path = "/View/Sort/by Date"; break;
246 case SORT_BY_FROM:
247 menu_path = "/View/Sort/by From"; break;
248 case SORT_BY_TO:
249 menu_path = "/View/Sort/by To"; break;
250 case SORT_BY_SUBJECT:
251 menu_path = "/View/Sort/by Subject"; break;
252- case SORT_BY_LABEL:
253- menu_path = "/View/Sort/by color label"; break;
254- case SORT_BY_MARK:
255- menu_path = "/View/Sort/by mark"; break;
256- case SORT_BY_STATUS:
257- menu_path = "/View/Sort/by status"; break;
258- case SORT_BY_MIME:
259- menu_path = "/View/Sort/by attachment"; break;
260- case SORT_BY_SCORE:
261- menu_path = "/View/Sort/by score"; break;
262- case SORT_BY_LOCKED:
263- menu_path = "/View/Sort/by locked"; break;
264 case SORT_BY_NONE:
265+ case SORT_BY_DATE:
266 default:
267- menu_path = "/View/Sort/Don't sort"; break;
268+ menu_path = "/View/Sort/by Date"; break;
269 }
270 SET_CHECK_MENU_ACTIVE(menu_path, TRUE);
271
272@@ -2735,8 +2580,6 @@
273 gtk_widget_destroy(mainwin->hpaned);
274 }
275
276- menu_set_sensitive(ifactory, "/View/Show or hide/Message view",
277- (layout_mode != WIDE_MSGLIST_LAYOUT && layout_mode != SMALL_LAYOUT));
278 switch (layout_mode) {
279 case VERTICAL_LAYOUT:
280 case NORMAL_LAYOUT:
281@@ -2877,37 +2720,6 @@
282
283 prefs_common.layout_mode = layout_mode;
284
285- menuitem = gtk_item_factory_get_item
286- (ifactory, "/View/Show or hide/Message view");
287- gtk_check_menu_item_set_active
288- (GTK_CHECK_MENU_ITEM(menuitem),
289- messageview_is_visible(mainwin->messageview));
290-
291-#define SET_CHECK_MENU_ACTIVE(path, active) \
292-{ \
293- menuitem = gtk_item_factory_get_widget(ifactory, path); \
294- gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menuitem), active); \
295-}
296-
297- switch (prefs_common.layout_mode) {
298- case NORMAL_LAYOUT:
299- SET_CHECK_MENU_ACTIVE("/View/Layout/Standard", TRUE);
300- break;
301- case VERTICAL_LAYOUT:
302- SET_CHECK_MENU_ACTIVE("/View/Layout/Three columns", TRUE);
303- break;
304- case WIDE_LAYOUT:
305- SET_CHECK_MENU_ACTIVE("/View/Layout/Wide message", TRUE);
306- break;
307- case WIDE_MSGLIST_LAYOUT:
308- SET_CHECK_MENU_ACTIVE("/View/Layout/Wide message list", TRUE);
309- break;
310- case SMALL_LAYOUT:
311- SET_CHECK_MENU_ACTIVE("/View/Layout/Small screen", TRUE);
312- break;
313- }
314-#undef SET_CHECK_MENU_ACTIVE
315-
316 if (folderwin) {
317 g_signal_connect
318 (G_OBJECT(folderwin), "size_allocate",
319@@ -3116,12 +2928,6 @@
320 summary_toggle_view(mainwin->summaryview);
321 }
322
323-static void toggle_toolbar_cb(MainWindow *mainwin, guint action,
324- GtkWidget *widget)
325-{
326- toolbar_toggle(action, mainwin);
327-}
328-
329 static void main_window_reply_cb(MainWindow *mainwin, guint action,
330 GtkWidget *widget)
331 {
332Index: claws-mail-2.9.1/src/prefs_common.c
333===================================================================
334--- claws-mail-2.9.1.orig/src/prefs_common.c 2007-04-25 07:40:10.000000000 +0100
335+++ claws-mail-2.9.1/src/prefs_common.c 2007-04-25 07:42:17.000000000 +0100
336@@ -262,7 +262,7 @@
337 {"default_reply_list", "TRUE", &prefs_common.default_reply_list, P_BOOL,
338 NULL, NULL, NULL},
339
340-#ifndef MAEMO
341+#if 0
342 {"show_ruler", "TRUE", &prefs_common.show_ruler, P_BOOL,
343 NULL, NULL, NULL},
344 #else
345@@ -300,7 +300,7 @@
346 &prefs_common.normalfont_gtk1, P_STRING, NULL, NULL, NULL},
347
348 /* new fonts */
349-#ifndef MAEMO
350+#if 0
351 {"widget_font_gtk2", NULL,
352 &SPECIFIC_PREFS.widgetfont, P_STRING, NULL, NULL, NULL},
353 {"message_font_gtk2", "Monospace 9",
354@@ -416,7 +416,7 @@
355
356 {"enable_thread", "TRUE", &prefs_common.enable_thread, P_BOOL,
357 NULL, NULL, NULL},
358-#ifndef MAEMO
359+#if 0
360 {"toolbar_style", "3", &prefs_common.toolbar_style, P_ENUM,
361 NULL, NULL, NULL},
362 #else
363@@ -544,7 +544,7 @@
364 {"folder_col_pos_total", "3",
365 &prefs_common.folder_col_pos[F_COL_TOTAL], P_INT, NULL, NULL, NULL},
366
367-#ifndef MAEMO
368+#if 0
369 {"folder_col_size_folder", "120",
370 &prefs_common.folder_col_size[F_COL_FOLDER], P_INT, NULL, NULL, NULL},
371 {"folder_col_size_new", "32",
372@@ -702,7 +702,7 @@
373 &SPECIFIC_PREFS.mime_open_cmd, P_STRING, NULL, NULL, NULL},
374
375 /* Interface */
376-#ifndef MAEMO
377+#if 0
378 {"layout_mode", "0", &prefs_common.layout_mode, P_INT,
379 NULL, NULL, NULL},
380 #else
381Index: claws-mail-2.9.1/src/toolbar.c
382===================================================================
383--- claws-mail-2.9.1.orig/src/toolbar.c 2007-04-25 07:40:10.000000000 +0100
384+++ claws-mail-2.9.1/src/toolbar.c 2007-04-25 07:42:17.000000000 +0100
385@@ -841,26 +841,17 @@
386 gtk_widget_hide(handlebox_wid);
387 break;
388 case TOOLBAR_ICON:
389- gtk_toolbar_set_style(GTK_TOOLBAR(toolbar_wid),
390- GTK_TOOLBAR_ICONS);
391- break;
392 case TOOLBAR_TEXT:
393- gtk_toolbar_set_style(GTK_TOOLBAR(toolbar_wid),
394- GTK_TOOLBAR_TEXT);
395- break;
396 case TOOLBAR_BOTH:
397- gtk_toolbar_set_style(GTK_TOOLBAR(toolbar_wid),
398- GTK_TOOLBAR_BOTH);
399- break;
400 case TOOLBAR_BOTH_HORIZ:
401 gtk_toolbar_set_style(GTK_TOOLBAR(toolbar_wid),
402- GTK_TOOLBAR_BOTH_HORIZ);
403+ GTK_TOOLBAR_ICONS);
404 break;
405 default:
406 return;
407 }
408
409- prefs_common.toolbar_style = (ToolbarStyle)action;
410+ prefs_common.toolbar_style = (ToolbarStyle)TOOLBAR_ICON;
411 gtk_widget_set_size_request(handlebox_wid, 1, -1);
412
413 if (prefs_common.toolbar_style != TOOLBAR_NONE) {
414@@ -1594,7 +1585,7 @@
415 gtk_container_add(GTK_CONTAINER(container), toolbar);
416 gtk_container_set_border_width(GTK_CONTAINER(container), 2);
417 gtk_toolbar_set_orientation(GTK_TOOLBAR(toolbar), GTK_ORIENTATION_HORIZONTAL);
418- gtk_toolbar_set_style(GTK_TOOLBAR(toolbar), GTK_TOOLBAR_BOTH);
419+ gtk_toolbar_set_style(GTK_TOOLBAR(toolbar), GTK_TOOLBAR_ICONS);
420
421 for (cur = toolbar_list; cur != NULL; cur = cur->next) {
422
423Index: claws-mail-2.9.1/src/gtk/prefswindow.c
424===================================================================
425--- claws-mail-2.9.1.orig/src/gtk/prefswindow.c 2007-04-25 07:40:10.000000000 +0100
426+++ claws-mail-2.9.1/src/gtk/prefswindow.c 2007-04-25 10:30:15.000000000 +0100
427@@ -343,6 +343,10 @@
428 gint x = gdk_screen_width();
429 gint y = gdk_screen_height();
430 static GdkGeometry geometry;
431+ gint col_count = g_slist_length (prefs_pages);
432+
433+ if (col_count > 1)
434+ col_count = 2;
435
436 prefswindow = g_new0(PrefsWindow, 1);
437
438@@ -360,39 +364,52 @@
439 gtk_window_set_resizable (GTK_WINDOW(prefswindow->window), TRUE);
440 gtk_container_set_border_width(GTK_CONTAINER(prefswindow->window), 4);
441
442- prefswindow->table1 = gtk_table_new(2, 2, FALSE);
443+ prefswindow->table1 = gtk_table_new(col_count, col_count, FALSE);
444 gtk_widget_show(prefswindow->table1);
445 gtk_container_add(GTK_CONTAINER(prefswindow->window), prefswindow->table1);
446
447- prefswindow->scrolledwindow1 = gtk_scrolled_window_new(NULL, NULL);
448- gtk_widget_show(prefswindow->scrolledwindow1);
449- gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(prefswindow->scrolledwindow1), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
450- gtk_table_attach(GTK_TABLE(prefswindow->table1), prefswindow->scrolledwindow1, 0, 1, 0, 1, GTK_FILL, GTK_FILL | GTK_EXPAND, 2, 2);
451-
452- prefswindow->tree_view = prefswindow_tree_view_create(prefswindow);
453- gtk_widget_show(prefswindow->tree_view);
454- gtk_container_add(GTK_CONTAINER(prefswindow->scrolledwindow1),
455- prefswindow->tree_view);
456-
457- prefswindow->frame = gtk_frame_new(NULL);
458- gtk_widget_show(prefswindow->frame);
459- gtk_frame_set_shadow_type(GTK_FRAME(prefswindow->frame), GTK_SHADOW_IN);
460- gtk_table_attach(GTK_TABLE(prefswindow->table1), prefswindow->frame, 1, 2, 0, 1, GTK_FILL | GTK_EXPAND, GTK_FILL | GTK_EXPAND, 2, 2);
461-
462- prefswindow->table2 = gtk_table_new(1, 2, FALSE);
463- gtk_widget_show(prefswindow->table2);
464- gtk_container_add(GTK_CONTAINER(prefswindow->frame), prefswindow->table2);
465-
466- prefswindow->labelframe = gtk_frame_new(NULL);
467- gtk_widget_show(prefswindow->labelframe);
468- gtk_frame_set_shadow_type(GTK_FRAME(prefswindow->labelframe), GTK_SHADOW_OUT);
469- gtk_table_attach(GTK_TABLE(prefswindow->table2), prefswindow->labelframe, 0, 1, 0, 1, GTK_FILL | GTK_EXPAND, GTK_FILL, 1, 1);
470-
471- prefswindow->pagelabel = gtk_label_new("");
472- gtk_widget_show(prefswindow->pagelabel);
473- gtk_label_set_justify(GTK_LABEL(prefswindow->pagelabel), GTK_JUSTIFY_LEFT);
474- gtk_misc_set_alignment(GTK_MISC(prefswindow->pagelabel), 0, 0.0);
475- gtk_container_add(GTK_CONTAINER(prefswindow->labelframe), prefswindow->pagelabel);
476+ if (col_count > 1)
477+ {
478+ prefswindow->scrolledwindow1 = gtk_scrolled_window_new(NULL, NULL);
479+ gtk_widget_show(prefswindow->scrolledwindow1);
480+ gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(prefswindow->scrolledwindow1), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
481+ gtk_table_attach(GTK_TABLE(prefswindow->table1), prefswindow->scrolledwindow1, 0, 1, 0, 1, GTK_FILL, GTK_FILL | GTK_EXPAND, 2, 2);
482+
483+ prefswindow->tree_view = prefswindow_tree_view_create(prefswindow);
484+ gtk_widget_show(prefswindow->tree_view);
485+ gtk_container_add(GTK_CONTAINER(prefswindow->scrolledwindow1),
486+ prefswindow->tree_view);
487+
488+ prefswindow->frame = gtk_frame_new(NULL);
489+ gtk_widget_show(prefswindow->frame);
490+ gtk_frame_set_shadow_type(GTK_FRAME(prefswindow->frame), GTK_SHADOW_IN);
491+ gtk_table_attach(GTK_TABLE(prefswindow->table1), prefswindow->frame, col_count - 1, col_count, 0, 1, GTK_FILL | GTK_EXPAND, GTK_FILL | GTK_EXPAND, 2, 2);
492+
493+ prefswindow->table2 = gtk_table_new(1, 2, FALSE);
494+ gtk_widget_show(prefswindow->table2);
495+ gtk_container_add(GTK_CONTAINER(prefswindow->frame), prefswindow->table2);
496+ }
497+ else
498+ {
499+ prefswindow->table2 = gtk_table_new(1, 2, FALSE);
500+ gtk_widget_show(prefswindow->table2);
501+ gtk_table_attach(GTK_TABLE(prefswindow->table1), prefswindow->table2, 0, 1, 0, 1, GTK_FILL | GTK_EXPAND, GTK_FILL | GTK_EXPAND, 2, 2);
502+ }
503+
504+
505+ if (col_count > 1)
506+ {
507+ prefswindow->labelframe = gtk_frame_new(NULL);
508+ gtk_widget_show(prefswindow->labelframe);
509+ gtk_frame_set_shadow_type(GTK_FRAME(prefswindow->labelframe), GTK_SHADOW_OUT);
510+ gtk_table_attach(GTK_TABLE(prefswindow->table2), prefswindow->labelframe, 0, 1, 0, 1, GTK_FILL | GTK_EXPAND, GTK_FILL, 1, 1);
511+
512+ prefswindow->pagelabel = gtk_label_new("");
513+ gtk_widget_show(prefswindow->pagelabel);
514+ gtk_label_set_justify(GTK_LABEL(prefswindow->pagelabel), GTK_JUSTIFY_LEFT);
515+ gtk_misc_set_alignment(GTK_MISC(prefswindow->pagelabel), 0, 0.0);
516+ gtk_container_add(GTK_CONTAINER(prefswindow->labelframe), prefswindow->pagelabel);
517+ }
518
519 prefswindow->scrolledwindow2 = gtk_scrolled_window_new(NULL, NULL);
520 gtk_widget_show(prefswindow->scrolledwindow2);
521@@ -411,9 +428,38 @@
522 gtk_widget_show(prefswindow->empty_page);
523 gtk_container_add(GTK_CONTAINER(prefswindow->notebook), prefswindow->empty_page);
524
525- prefswindow_build_tree(prefswindow->tree_view, prefs_pages);
526+ if (col_count > 1)
527+ {
528+ prefswindow_build_tree(prefswindow->tree_view, prefs_pages);
529+
530+ gtk_widget_grab_focus(prefswindow->tree_view);
531+ }
532+ else
533+ {
534+ PrefsPage * page = prefs_pages->data;
535+ gint pagenum;
536+ GtkAdjustment *adj;
537+
538+ if (!page->page_open)
539+ {
540+ page->create_widget(page,
541+ GTK_WINDOW(prefswindow->window),
542+ prefswindow->data);
543+ gtk_container_add(GTK_CONTAINER(prefswindow->notebook),
544+ page->widget);
545+ page->page_open = TRUE;
546+ }
547+
548+ pagenum = gtk_notebook_page_num(GTK_NOTEBOOK(prefswindow->notebook),
549+ page->widget);
550+ gtk_notebook_set_current_page(GTK_NOTEBOOK(prefswindow->notebook),
551+ pagenum);
552
553- gtk_widget_grab_focus(prefswindow->tree_view);
554+ adj = gtk_scrolled_window_get_vadjustment(
555+ GTK_SCROLLED_WINDOW(prefswindow->scrolledwindow2));
556+ gtk_adjustment_set_value(adj, 0);
557+
558+ }
559
560 gtkut_stock_button_set_create(&prefswindow->confirm_area,
561 &prefswindow->apply_btn, GTK_STOCK_APPLY,
562@@ -440,28 +486,6 @@
563 G_CALLBACK(prefswindow_key_pressed), &(prefswindow->window));
564 #endif
565
566- /* connect to callback only if we hhave non-NULL pointers to store size to */
567- if (prefswindow->save_width && prefswindow->save_height) {
568- g_signal_connect(G_OBJECT(prefswindow->window), "size_allocate",
569- G_CALLBACK(prefs_size_allocate_cb), prefswindow);
570- }
571-
572- if (!geometry.min_height) {
573-
574- if (x < 800 && y < 600) {
575- geometry.min_width = 600;
576- geometry.min_height = 440;
577- } else {
578- geometry.min_width = 700;
579- geometry.min_height = 550;
580- }
581- }
582- gtk_window_set_geometry_hints(GTK_WINDOW(prefswindow->window), NULL, &geometry,
583- GDK_HINT_MIN_SIZE);
584- if (prefswindow->save_width && prefswindow->save_height) {
585- gtk_widget_set_size_request(prefswindow->window, *(prefswindow->save_width),
586- *(prefswindow->save_height));
587- }
588
589 gtk_widget_show(prefswindow->window);
590 #ifdef MAEMO
591Index: claws-mail-2.9.1/src/compose.c
592===================================================================
593--- claws-mail-2.9.1.orig/src/compose.c 2007-04-25 07:40:10.000000000 +0100
594+++ claws-mail-2.9.1/src/compose.c 2007-04-25 10:18:13.000000000 +0100
595@@ -352,9 +352,6 @@
596
597 /* callback functions */
598
599-static gboolean compose_edit_size_alloc (GtkEditable *widget,
600- GtkAllocation *allocation,
601- GtkSHRuler *shruler);
602 static void account_activated (GtkComboBox *optmenu,
603 gpointer data);
604 static void attach_selected (GtkTreeView *tree_view,
605@@ -439,9 +436,6 @@
606 guint action,
607 GtkWidget *widget);
608
609-static void compose_toggle_ruler_cb (gpointer data,
610- guint action,
611- GtkWidget *widget);
612 static void compose_toggle_sign_cb (gpointer data,
613 guint action,
614 GtkWidget *widget);
615@@ -788,7 +782,6 @@
616 ENC_ACTION(C_WINDOWS_874)},
617
618 {N_("/_Tools"), NULL, NULL, 0, "<Branch>"},
619- {N_("/_Tools/Show _ruler"), NULL, compose_toggle_ruler_cb, 0, "<ToggleItem>"},
620 {N_("/_Tools/_Address book"), "<shift><control>A", compose_address_cb , 0, NULL},
621 {N_("/_Tools/_Template"), NULL, NULL, 0, "<Branch>"},
622 {N_("/_Tools/Actio_ns"), NULL, NULL, 0, "<Branch>"},
623@@ -2067,7 +2060,6 @@
624 menu_set_sensitive(ifactory, "/Message/Insert signature", FALSE);
625 menu_set_sensitive(ifactory, "/Edit", FALSE);
626 menu_set_sensitive(ifactory, "/Options", FALSE);
627- menu_set_sensitive(ifactory, "/Tools/Show ruler", FALSE);
628 menu_set_sensitive(ifactory, "/Tools/Actions", FALSE);
629
630 if (compose->toolbar->draft_btn)
631@@ -5684,7 +5676,7 @@
632 g_signal_connect(G_OBJECT(GTK_COMBO(combo)->entry), "grab_focus",
633 G_CALLBACK(compose_grab_focus_cb), compose);
634 gtk_widget_show(combo);
635- gtk_table_attach(GTK_TABLE(compose->header_table), combo, 0, 1, compose->header_nextrow, compose->header_nextrow+1, GTK_SHRINK, GTK_FILL, 0, 0);
636+ gtk_table_attach(GTK_TABLE(compose->header_table), combo, 0, 1, compose->header_nextrow, compose->header_nextrow+1, GTK_FILL, GTK_FILL, 0, 0);
637 if (compose->header_last) {
638 const gchar *last_header_entry = gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(compose->header_last->combo)->entry));
639 string = headers;
640@@ -5778,7 +5770,7 @@
641
642 static GtkWidget *compose_create_header(Compose *compose)
643 {
644- GtkWidget *from_optmenu_hbox;
645+ GtkWidget *from_optmenu;
646 GtkWidget *header_scrolledwin;
647 GtkWidget *header_table;
648
649@@ -5788,18 +5780,20 @@
650 header_scrolledwin = gtk_scrolled_window_new(NULL, NULL);
651 gtk_widget_show(header_scrolledwin);
652 gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(header_scrolledwin), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
653-
654 header_table = gtk_table_new(2, 2, FALSE);
655+ gtk_table_set_col_spacings (GTK_TABLE (header_table), BORDER_WIDTH);
656 gtk_widget_show(header_table);
657 gtk_container_set_border_width(GTK_CONTAINER(header_table), BORDER_WIDTH);
658 gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(header_scrolledwin), header_table);
659- gtk_viewport_set_shadow_type(GTK_VIEWPORT(GTK_BIN(header_scrolledwin)->child), GTK_SHADOW_ETCHED_IN);
660+ gtk_viewport_set_shadow_type(GTK_VIEWPORT(GTK_BIN(header_scrolledwin)->child), GTK_SHADOW_NONE);
661 count = 0;
662
663 /* option menu for selecting accounts */
664- from_optmenu_hbox = compose_account_option_menu_create(compose);
665- gtk_table_attach(GTK_TABLE(header_table), from_optmenu_hbox,
666- 0, 2, count, count + 1, GTK_EXPAND | GTK_FILL, GTK_SHRINK, 0, 0);
667+ from_optmenu = compose_account_option_menu_create(compose);
668+ gtk_table_attach(GTK_TABLE(header_table), from_optmenu,
669+ 0, 1, count, count + 1, GTK_FILL, GTK_FILL, 0, 0);
670+ gtk_table_attach(GTK_TABLE(header_table), compose->from_name,
671+ 1, 2, count, count + 1, GTK_EXPAND | GTK_FILL, GTK_FILL, 0, 0);
672 count++;
673
674 compose->header_table = header_table;
675@@ -6140,15 +6134,12 @@
676 GtkWidget *vbox2;
677
678 GtkWidget *label;
679- GtkWidget *subject_hbox;
680- GtkWidget *subject_frame;
681+ GtkWidget *edit_frame;
682 GtkWidget *subject_entry;
683 GtkWidget *subject;
684 GtkWidget *paned;
685
686 GtkWidget *edit_vbox;
687- GtkWidget *ruler_hbox;
688- GtkWidget *ruler;
689 GtkWidget *scrolledwin;
690 GtkWidget *text;
691 GtkTextBuffer *buffer;
692@@ -6169,8 +6160,6 @@
693 GtkAspell * gtkaspell = NULL;
694 #endif
695
696- static GdkGeometry geometry;
697-
698 g_return_val_if_fail(account != NULL, NULL);
699
700 debug_print("Creating compose window...\n");
701@@ -6190,28 +6179,6 @@
702
703 window = gtkut_window_new(GTK_WINDOW_TOPLEVEL, "compose");
704
705- gtk_window_set_resizable(GTK_WINDOW(window), TRUE);
706- gtk_widget_set_size_request(window, -1, prefs_common.compose_height);
707-
708- if (!geometry.max_width) {
709- geometry.max_width = gdk_screen_width();
710- geometry.max_height = gdk_screen_height();
711- }
712-
713- gtk_window_set_geometry_hints(GTK_WINDOW(window), NULL,
714- &geometry, GDK_HINT_MAX_SIZE);
715- if (!geometry.min_width) {
716- geometry.min_width = 600;
717- geometry.min_height = 480;
718- }
719- gtk_window_set_geometry_hints(GTK_WINDOW(window), NULL,
720- &geometry, GDK_HINT_MIN_SIZE);
721-
722-#ifndef MAEMO
723- if (compose_force_window_origin)
724- gtk_widget_set_uposition(window, prefs_common.compose_x,
725- prefs_common.compose_y);
726-#endif
727 g_signal_connect(G_OBJECT(window), "delete_event",
728 G_CALLBACK(compose_delete_cb), compose);
729 MANAGE_WINDOW_SIGNALS_CONNECT(window);
730@@ -6227,11 +6194,7 @@
731 n_menu_entries, "<Compose>", compose);
732 gtk_box_pack_start(GTK_BOX(vbox), menubar, FALSE, TRUE, 0);
733
734- if (prefs_common.toolbar_detachable) {
735- handlebox = gtk_handle_box_new();
736- } else {
737- handlebox = gtk_hbox_new(FALSE, 0);
738- }
739+ handlebox = gtk_hbox_new(FALSE, 0);
740 gtk_box_pack_start(GTK_BOX(vbox), handlebox, FALSE, FALSE, 0);
741
742 gtk_widget_realize(handlebox);
743@@ -6244,7 +6207,6 @@
744
745 /* Notebook */
746 notebook = gtk_notebook_new();
747- gtk_widget_set_size_request(notebook, -1, 130);
748 gtk_widget_show(notebook);
749
750 /* header labels and entries */
751@@ -6258,18 +6220,10 @@
752 /* Others Tab */
753 gtk_notebook_append_page(GTK_NOTEBOOK(notebook),
754 compose_create_others(compose),
755- gtk_label_new_with_mnemonic(_("Othe_rs")));
756+ gtk_label_new_with_mnemonic(_("Othe_r")));
757
758 /* Subject */
759- subject_hbox = gtk_hbox_new(FALSE, 0);
760- gtk_widget_show(subject_hbox);
761-
762- subject_frame = gtk_frame_new(NULL);
763- gtk_frame_set_shadow_type(GTK_FRAME(subject_frame), GTK_SHADOW_NONE);
764- gtk_box_pack_start(GTK_BOX(subject_hbox), subject_frame, TRUE, TRUE, 0);
765- gtk_widget_show(subject_frame);
766-
767- subject = gtk_hbox_new(FALSE, HSPACING_NARROW);
768+ subject = gtk_hbox_new(FALSE, BORDER_WIDTH);
769 gtk_container_set_border_width(GTK_CONTAINER(subject), 0);
770 gtk_widget_show(subject);
771
772@@ -6283,20 +6237,16 @@
773 G_CALLBACK(compose_grab_focus_cb), compose);
774 gtk_widget_show(subject_entry);
775 compose->subject_entry = subject_entry;
776- gtk_container_add(GTK_CONTAINER(subject_frame), subject);
777
778- edit_vbox = gtk_vbox_new(FALSE, 0);
779+ edit_vbox = gtk_vbox_new(FALSE, BORDER_WIDTH);
780+ gtk_container_set_border_width(GTK_CONTAINER(edit_vbox), BORDER_WIDTH);
781
782- gtk_box_pack_start(GTK_BOX(edit_vbox), subject_hbox, FALSE, FALSE, 0);
783+ gtk_box_pack_start(GTK_BOX(edit_vbox), subject, FALSE, FALSE, 0);
784
785- /* ruler */
786- ruler_hbox = gtk_hbox_new(FALSE, 0);
787- gtk_box_pack_start(GTK_BOX(edit_vbox), ruler_hbox, FALSE, FALSE, 0);
788-
789- ruler = gtk_shruler_new();
790- gtk_ruler_set_range(GTK_RULER(ruler), 0.0, 100.0, 1.0, 100.0);
791- gtk_box_pack_start(GTK_BOX(ruler_hbox), ruler, TRUE, TRUE,
792- BORDER_WIDTH);
793+ edit_frame = gtk_frame_new(NULL);
794+ gtk_frame_set_shadow_type(GTK_FRAME(edit_frame), GTK_SHADOW_IN);
795+ gtk_widget_show(edit_frame);
796+ gtk_container_add(GTK_CONTAINER(edit_frame), edit_vbox);
797
798 /* text widget */
799 scrolledwin = gtk_scrolled_window_new(NULL, NULL);
800@@ -6317,9 +6267,6 @@
801
802 gtk_container_add(GTK_CONTAINER(scrolledwin), text);
803
804- g_signal_connect_after(G_OBJECT(text), "size_allocate",
805- G_CALLBACK(compose_edit_size_alloc),
806- ruler);
807 g_signal_connect(G_OBJECT(buffer), "changed",
808 G_CALLBACK(compose_changed_cb), compose);
809 g_signal_connect(G_OBJECT(text), "grab_focus",
810@@ -6363,7 +6310,7 @@
811 gtk_widget_set_size_request(edit_vbox, -1, mode == COMPOSE_NEW ? 250 : 230);
812 #endif
813 gtk_paned_add1(GTK_PANED(paned), notebook);
814- gtk_paned_add2(GTK_PANED(paned), edit_vbox);
815+ gtk_paned_add2(GTK_PANED(paned), edit_frame);
816 gtk_widget_show_all(paned);
817
818
819@@ -6408,8 +6355,6 @@
820
821 compose->notebook = notebook;
822 compose->edit_vbox = edit_vbox;
823- compose->ruler_hbox = ruler_hbox;
824- compose->ruler = ruler;
825 compose->scrolledwin = scrolledwin;
826 compose->text = text;
827
828@@ -6531,13 +6476,6 @@
829
830 compose_list = g_list_append(compose_list, compose);
831
832- if (!prefs_common.show_ruler)
833- gtk_widget_hide(ruler_hbox);
834-
835- menuitem = gtk_item_factory_get_item(ifactory, "/Tools/Show ruler");
836- gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menuitem),
837- prefs_common.show_ruler);
838-
839 /* Priority */
840 compose->priority = PRIORITY_NORMAL;
841 compose_update_priority_menu_item(compose);
842@@ -6568,7 +6506,6 @@
843 static GtkWidget *compose_account_option_menu_create(Compose *compose)
844 {
845 GList *accounts;
846- GtkWidget *hbox;
847 GtkWidget *optmenu;
848 GtkWidget *optmenubox;
849 GtkListStore *menu;
850@@ -6584,7 +6521,6 @@
851 optmenu = gtkut_sc_combobox_create(optmenubox, FALSE);
852 menu = GTK_LIST_STORE(gtk_combo_box_get_model(GTK_COMBO_BOX(optmenu)));
853
854- hbox = gtk_hbox_new(FALSE, 6);
855 from_name = gtk_entry_new();
856
857 g_signal_connect_after(G_OBJECT(from_name), "grab_focus",
858@@ -6623,9 +6559,6 @@
859 G_CALLBACK(account_activated),
860 compose);
861
862- gtk_box_pack_start(GTK_BOX(hbox), optmenubox, FALSE, FALSE, 0);
863- gtk_box_pack_start(GTK_BOX(hbox), from_name, TRUE, TRUE, 0);
864-
865 gtk_tooltips_set_tip(compose->tooltips, optmenubox,
866 _("Account to use for this email"), NULL);
867 gtk_tooltips_set_tip(compose->tooltips, from_name,
868@@ -6633,7 +6566,7 @@
869
870 compose->from_name = from_name;
871
872- return hbox;
873+ return optmenubox;
874 }
875
876 static void compose_set_priority_cb(gpointer data,
877@@ -7851,32 +7784,6 @@
878
879 /* callback functions */
880
881-/* compose_edit_size_alloc() - called when resized. don't know whether Gtk
882- * includes "non-client" (windows-izm) in calculation, so this calculation
883- * may not be accurate.
884- */
885-static gboolean compose_edit_size_alloc(GtkEditable *widget,
886- GtkAllocation *allocation,
887- GtkSHRuler *shruler)
888-{
889- if (prefs_common.show_ruler) {
890- gint char_width = 0, char_height = 0;
891- gint line_width_in_chars;
892-
893- gtkut_get_font_size(GTK_WIDGET(widget),
894- &char_width, &char_height);
895- line_width_in_chars =
896- (allocation->width - allocation->x) / char_width;
897-
898- /* got the maximum */
899- gtk_ruler_set_range(GTK_RULER(shruler),
900- 0.0, line_width_in_chars, 0,
901- /*line_width_in_chars*/ char_width);
902- }
903-
904- return TRUE;
905-}
906-
907 static void account_activated(GtkComboBox *optmenu, gpointer data)
908 {
909 Compose *compose = (Compose *)data;
910@@ -9040,21 +8947,6 @@
911 compose_update_privacy_system_menu_item(compose, warn);
912 }
913
914-static void compose_toggle_ruler_cb(gpointer data, guint action,
915- GtkWidget *widget)
916-{
917- Compose *compose = (Compose *)data;
918-
919- if (GTK_CHECK_MENU_ITEM(widget)->active) {
920- gtk_widget_show(compose->ruler_hbox);
921- prefs_common.show_ruler = TRUE;
922- } else {
923- gtk_widget_hide(compose->ruler_hbox);
924- gtk_widget_queue_resize(compose->edit_vbox);
925- prefs_common.show_ruler = FALSE;
926- }
927-}
928-
929 static void compose_attach_drag_received_cb (GtkWidget *widget,
930 GdkDragContext *context,
931 gint x,
932Index: claws-mail-2.9.1/src/folderview.c
933===================================================================
934--- claws-mail-2.9.1.orig/src/folderview.c 2007-04-03 19:10:25.000000000 +0100
935+++ claws-mail-2.9.1/src/folderview.c 2007-04-25 10:28:00.000000000 +0100
936@@ -73,6 +73,11 @@
937 #define COL_FOLDER_WIDTH 150
938 #define COL_NUM_WIDTH 32
939
940+/* added dummy column to stop the last column from
941+ * resizing insanely in small screen view
942+ */
943+#define _N_FOLDER_COLS (N_FOLDER_COLS + 1)
944+
945 static GList *folderview_list = NULL;
946
947 static GtkStyle *normal_style;
948@@ -448,7 +453,7 @@
949 gint *col_pos;
950 FolderColumnState *col_state;
951 FolderColumnType type;
952- gchar *titles[N_FOLDER_COLS];
953+ gchar *titles[_N_FOLDER_COLS];
954 gint i;
955 GtkWidget *scrolledwin = folderview->scrolledwin;
956
957@@ -471,8 +476,9 @@
958 titles[col_pos[F_COL_UNREAD]] = _("Unread");
959 /* TRANSLATORS: This in Number sign in American style */
960 titles[col_pos[F_COL_TOTAL]] = _("#");
961+ titles[F_COL_DUMMY] = "";
962
963- ctree = gtk_sctree_new_with_titles(N_FOLDER_COLS, col_pos[F_COL_FOLDER],
964+ ctree = gtk_sctree_new_with_titles(_N_FOLDER_COLS, col_pos[F_COL_FOLDER],
965 titles);
966
967 gtk_clist_set_selection_mode(GTK_CLIST(ctree), GTK_SELECTION_BROWSE);
968@@ -510,6 +516,9 @@
969 (GTK_CLIST(ctree), i, col_state[i].visible);
970 }
971
972+ GTK_WIDGET_UNSET_FLAGS(GTK_CLIST(ctree)->column[i].button,
973+ GTK_CAN_FOCUS);
974+
975 g_signal_connect(G_OBJECT(ctree), "key_press_event",
976 G_CALLBACK(folderview_key_pressed),
977 folderview);
978@@ -605,9 +614,6 @@
979 (GTK_SCROLLED_WINDOW(scrolledwin),
980 GTK_POLICY_AUTOMATIC,
981 prefs_common.folderview_vscrollbar_policy);
982- gtk_widget_set_size_request(scrolledwin,
983- prefs_common.folderview_width,
984- prefs_common.folderview_height);
985
986 folderview->scrolledwin = scrolledwin;
987 ctree = folderview_ctree_create(folderview);
988@@ -2268,7 +2274,7 @@
989 static void folderview_create_folder_node(FolderView *folderview, FolderItem *item)
990 {
991 GtkCTree *ctree = GTK_CTREE(folderview->ctree);
992- gchar *text[N_FOLDER_COLS] = {NULL, "0", "0", "0"};
993+ gchar *text[_N_FOLDER_COLS] = {NULL, "0", "0", "0", ""};
994 GtkCTreeNode *node, *parent_node;
995 gint *col_pos = folderview->col_pos;
996 FolderItemUpdateData hookdata;
997Index: claws-mail-2.9.1/src/folderview.h
998===================================================================
999--- claws-mail-2.9.1.orig/src/folderview.h 2007-03-22 17:22:52.000000000 +0000
1000+++ claws-mail-2.9.1/src/folderview.h 2007-04-25 10:16:55.000000000 +0100
1001@@ -37,7 +37,8 @@
1002 F_COL_FOLDER,
1003 F_COL_NEW,
1004 F_COL_UNREAD,
1005- F_COL_TOTAL
1006+ F_COL_TOTAL,
1007+ F_COL_DUMMY
1008 } FolderColumnType;
1009
1010 #define N_FOLDER_COLS 4
diff --git a/meta-demoapps/recipes-sato/clipboard-manager/clipboard-manager_0.6.4.bb b/meta-demoapps/recipes-sato/clipboard-manager/clipboard-manager_0.6.4.bb
deleted file mode 100644
index 82dd1d047f..0000000000
--- a/meta-demoapps/recipes-sato/clipboard-manager/clipboard-manager_0.6.4.bb
+++ /dev/null
@@ -1,33 +0,0 @@
1LICENSE = "GPL"
2DESCRIPTION = "clipboard manager"
3DEPENDS = "virtual/libx11"
4
5SRC_URI = "svn://stage.maemo.org/svn/maemo/projects/haf/tags/clipboard-manager/;module=${PV};proto=https \
6 file://makefile.patch;patch=1 \
7 file://script.patch;patch=1 \
8 file://daemonize.patch;patch=1 \
9 "
10
11S = "${WORKDIR}/${PV}"
12
13inherit autotools pkgconfig
14
15do_install_append () {
16 mv ${D}/${sysconfdir}/X11/Xsession.d/clipboard.sh ${D}/${sysconfdir}/X11/Xsession.d/70clipboard
17 chmod u+x ${D}/${sysconfdir}/X11/Xsession.d/70clipboard
18}
19
20pkg_postinst_clipboard-manager () {
21#!/bin/sh -e
22if [ x"$D" = "x" ]; then
23 {
24 if [ x$(pidof clipboard-manager) != x ]; then
25 kill -TERM $(pidof clipboard-manager)
26 fi
27
28 ${sysconfdir}/X11/Xsession.d/70clipboard
29 } > /dev/null
30else
31 exit 1
32fi
33}
diff --git a/meta-demoapps/recipes-sato/clipboard-manager/files/daemonize.patch b/meta-demoapps/recipes-sato/clipboard-manager/files/daemonize.patch
deleted file mode 100644
index 24c11a9fa8..0000000000
--- a/meta-demoapps/recipes-sato/clipboard-manager/files/daemonize.patch
+++ /dev/null
@@ -1,46 +0,0 @@
1Upstream-Status: Inappropriate [enable feature]
2
3Index: 0.6.4/manager.c
4===================================================================
5--- 0.6.4.orig/manager.c 2007-06-28 12:23:37.000000000 +0100
6+++ 0.6.4/manager.c 2007-06-28 12:36:14.000000000 +0100
7@@ -68,7 +68,8 @@
8 ClipboardManager *manager;
9 int terminated = False;
10 Display *display;
11-
12+ pid_t pid;
13+
14 display = XOpenDisplay (NULL);
15
16 if (!display)
17@@ -83,6 +84,29 @@
18 exit (1);
19 }
20
21+ /* deamonize */
22+ pid = fork();
23+ switch (pid)
24+ {
25+ case -1: fprintf (stderr, "Fork failed.\n");
26+ /* Fall through */
27+ default: exit(0); break;
28+ case 0: break;
29+ }
30+
31+ chdir ("/");
32+ setsid ();
33+ umask (0);
34+
35+ pid = fork();
36+ switch (pid)
37+ {
38+ case -1: fprintf (stderr, "Fork failed.\n");
39+ /* Fall through */
40+ default: exit(0); break;
41+ case 0: break;
42+ }
43+
44 XSetErrorHandler (x_error);
45 manager = clipboard_manager_new (display,
46 error_trap_push, error_trap_pop,
diff --git a/meta-demoapps/recipes-sato/clipboard-manager/files/makefile.patch b/meta-demoapps/recipes-sato/clipboard-manager/files/makefile.patch
deleted file mode 100644
index 17cd74269b..0000000000
--- a/meta-demoapps/recipes-sato/clipboard-manager/files/makefile.patch
+++ /dev/null
@@ -1,20 +0,0 @@
1Upstream-Status: Inappropriate [configuration]
2
3Index: 0.6.4/Makefile.am
4===================================================================
5--- 0.6.4.orig/Makefile.am 2007-06-28 12:23:37.000000000 +0100
6+++ 0.6.4/Makefile.am 2007-06-28 14:21:23.000000000 +0100
7@@ -1,5 +1,3 @@
8-SUBDIRS = debian
9-
10 bin_PROGRAMS = clipboard-manager
11
12 INCLUDES = \
13@@ -21,6 +19,6 @@
14 clipboard.txt \
15 clipboard.sh
16
17-servicedir = $(sysconfdir)/osso-af-init
18+servicedir = $(sysconfdir)/X11/Xsession.d
19
20 service_DATA = clipboard.sh
diff --git a/meta-demoapps/recipes-sato/clipboard-manager/files/script.patch b/meta-demoapps/recipes-sato/clipboard-manager/files/script.patch
deleted file mode 100644
index bdab05a930..0000000000
--- a/meta-demoapps/recipes-sato/clipboard-manager/files/script.patch
+++ /dev/null
@@ -1,41 +0,0 @@
1Upstream-Status: Inappropriate [disable feature]
2
3Index: 0.6.4/clipboard.sh
4===================================================================
5--- 0.6.4.orig/clipboard.sh 2007-06-28 12:23:37.000000000 +0100
6+++ 0.6.4/clipboard.sh 2007-06-28 14:27:39.000000000 +0100
7@@ -1,33 +1,2 @@
8 #!/bin/sh
9-# Clipboard persistence manager startup script
10-
11-if [ "x$AF_PIDDIR" = "x" ]; then
12- echo "$0: Error, AF_PIDDIR is not defined"
13- exit 2
14-fi
15-if [ "x$LAUNCHWRAPPER_NICE_TRYRESTART" = "x" ]; then
16- echo "$0: Error, LAUNCHWRAPPER_NICE_TRYRESTART is not defined"
17- exit 2
18-fi
19-if [ ! -w $AF_PIDDIR ]; then
20- echo "$0: Error, directory $AF_PIDDIR is not writable"
21- exit 2
22-fi
23-PROG=/usr/bin/clipboard-manager
24-SVC="clipboard-manager"
25-
26-case "$1" in
27-start) START=TRUE
28- ;;
29-stop) START=FALSE
30- ;;
31-*) echo "Usage: $0 {start|stop}"
32- exit 1
33- ;;
34-esac
35-
36-if [ $START = TRUE ]; then
37- source $LAUNCHWRAPPER_NICE_TRYRESTART start "$SVC" $PROG
38-else
39- source $LAUNCHWRAPPER_NICE_TRYRESTART stop "$SVC" $PROG
40-fi
41+/usr/bin/clipboard-manager &
diff --git a/meta-demoapps/recipes-sato/epdfview/epdfview/epdfview-ui-print.xml b/meta-demoapps/recipes-sato/epdfview/epdfview/epdfview-ui-print.xml
deleted file mode 100644
index 3ddf5147df..0000000000
--- a/meta-demoapps/recipes-sato/epdfview/epdfview/epdfview-ui-print.xml
+++ /dev/null
@@ -1,12 +0,0 @@
1<ui>
2 <menubar name="MenuBar">
3 <menu name="TopMenu" action="Top">
4 <menu action="FileMenu">
5 <placeholder name="PrintPlaceHolder">
6 <separator/>
7 <menuitem name="Print" action="Print"/>
8 </placeholder>
9 </menu>
10 </menu>
11 </menubar>
12</ui>
diff --git a/meta-demoapps/recipes-sato/epdfview/epdfview/epdfview-ui.xml b/meta-demoapps/recipes-sato/epdfview/epdfview/epdfview-ui.xml
deleted file mode 100644
index 602d86f903..0000000000
--- a/meta-demoapps/recipes-sato/epdfview/epdfview/epdfview-ui.xml
+++ /dev/null
@@ -1,57 +0,0 @@
1<ui>
2 <menubar name="MenuBar">
3 <menu name="TopMenu" action="Top">
4 <menu action="FileMenu">
5 <menuitem name="OpenFile" action="OpenFile"/>
6 <menuitem name="ReloadFile" action="ReloadFile"/>
7 <menuitem name="SaveFile" action="SaveFile"/>
8 <placeholder name="PrintPlaceHolder"/>
9 <separator/>
10 <menuitem name="Quit" action="Quit"/>
11 </menu>
12 <menu action="EditMenu">
13 <menuitem name="Find" action="Find"/>
14 <separator />
15 <menuitem name="Preferences" action="Preferences"/>
16 </menu>
17 <menu action="ViewMenu">
18 <menuitem name="ShowToolBar" action="ShowToolBar"/>
19 <menuitem name="ShowStatusBar" action="ShowStatusBar"/>
20 <menuitem name="ShowIndex" action="ShowIndex"/>
21 <separator/>
22 <menuitem name="ZoomIn" action="ZoomIn"/>
23 <menuitem name="ZoomOut" action="ZoomOut"/>
24 <menuitem name="ZoomFit" action="ZoomFit"/>
25 <menuitem name="ZoomWidth" action="ZoomWidth"/>
26 <separator />
27 <menuitem name="FullScreen" action="FullScreen"/>
28 <separator />
29 <menuitem name="RotateRight" action="RotateRight"/>
30 <menuitem name="RotateLeft" action="RotateLeft"/>
31 </menu>
32 <menu action="GoMenu">
33 <menuitem name="GoToFirstPage" action="GoToFirstPage"/>
34 <menuitem name="GoToPreviousPage" action="GoToPreviousPage"/>
35 <menuitem name="GoToNextPage" action="GoToNextPage"/>
36 <menuitem name="GoToLastPage" action="GoToLastPage"/>
37 </menu>
38 <menu action="HelpMenu">
39 <menuitem name="About" action="About"/>
40 </menu>
41 </menu>
42 </menubar>
43
44 <toolbar name="ToolBar">
45 <toolitem name="OpenFile" action="OpenFile"/>
46 <separator/>
47 <toolitem name="GoToPreviousPage" action="GoToPreviousPage"/>
48 <toolitem name="GoToNextPage" action="GoToNextPage"/>
49 <separator/>
50 <toolitem name="ZoomIn" action="ZoomIn"/>
51 <toolitem name="ZoomOut" action="ZoomOut"/>
52 <toolitem name="ZoomFit" action="ZoomFit"/>
53 <toolitem name="ZoomWidth" action="ZoomWidth"/>
54 </toolbar>
55
56 <accelerator name="SlashAccelerator" action="Slash"/>
57</ui>
diff --git a/meta-demoapps/recipes-sato/epdfview/epdfview/epdfview.desktop b/meta-demoapps/recipes-sato/epdfview/epdfview/epdfview.desktop
deleted file mode 100644
index d3bf06d2aa..0000000000
--- a/meta-demoapps/recipes-sato/epdfview/epdfview/epdfview.desktop
+++ /dev/null
@@ -1,10 +0,0 @@
1[Desktop Entry]
2Categories=Viewer;Office;GTK;
3Comment=Lightweight PDF document viewer
4Exec=epdfview %f
5GenericName=PDF Viewer
6Icon=accessories-text-editor
7Name=PDF Viewer
8MimeType=application/pdf;
9Terminal=false
10Type=Application
diff --git a/meta-demoapps/recipes-sato/epdfview/epdfview/owl-menus.patch b/meta-demoapps/recipes-sato/epdfview/epdfview/owl-menus.patch
deleted file mode 100644
index b7ca962011..0000000000
--- a/meta-demoapps/recipes-sato/epdfview/epdfview/owl-menus.patch
+++ /dev/null
@@ -1,327 +0,0 @@
1Upstream-Status: Inappropriate [enable feature]
2
3Index: epdfview-0.1.7/src/Makefile.am
4===================================================================
5--- epdfview-0.1.7.orig/src/Makefile.am 2010-07-13 12:30:44.014172385 +0100
6+++ epdfview-0.1.7/src/Makefile.am 2010-07-13 12:30:48.780063260 +0100
7@@ -58,7 +58,7 @@
8 main.cxx
9
10 libshell_cxxflags = -I$(top_srcdir)/src/gtk $(GTK2_CFLAGS)
11-libshell_ldadd = $(GTK2_LIBS) $(top_builddir)/src/gtk/libshell-gtk.a
12+libshell_ldadd = $(GTK2_LIBS) $(top_builddir)/src/gtk/libshell-gtk.a -lowl
13
14 epdfview_CXXFLAGS = \
15 -DLOCALEDIR='"$(datadir)/locale"' \
16Index: epdfview-0.1.7/src/gtk/MainView.cxx
17===================================================================
18--- epdfview-0.1.7.orig/src/gtk/MainView.cxx 2010-07-13 12:30:44.014172385 +0100
19+++ epdfview-0.1.7/src/gtk/MainView.cxx 2010-07-13 12:30:48.782124540 +0100
20@@ -20,6 +20,7 @@
21 #include <string.h>
22 #include <gettext.h>
23 #include <gtk/gtk.h>
24+#include <libowl/owlwindowmenu.h>
25 #include <epdfview.h>
26 #include "StockIcons.h"
27 #include "FindView.h"
28@@ -86,6 +87,7 @@
29 // The actions for menus and toolbars.
30 static const GtkActionEntry g_NormalEntries[] =
31 {
32+ { "Top", NULL, "", NULL, NULL, NULL },
33 { "FileMenu", NULL, N_("_File"), NULL, NULL, NULL },
34 { "EditMenu", NULL, N_("_Edit"), NULL, NULL, NULL },
35 { "ViewMenu", NULL, N_("_View"), NULL, NULL, NULL },
36@@ -100,7 +102,7 @@
37 N_("Reload the current document"),
38 G_CALLBACK (main_window_reload_cb) },
39
40- { "SaveFile", GTK_STOCK_SAVE, N_("_Save a Copy..."), "<control>S",
41+ { "SaveFile", GTK_STOCK_SAVE, N_("_Save a Copy..."), "<control>W",
42 N_("Save a copy of the current document"),
43 G_CALLBACK (main_window_save_file_cb) },
44
45@@ -110,11 +112,11 @@
46 G_CALLBACK (main_window_print_cb) },
47 #endif // HAVE_CUPS
48
49- { "Quit", GTK_STOCK_CLOSE, N_("_Close"), "<control>W",
50+ { "Quit", GTK_STOCK_CLOSE, N_("_Close"), "<control>Q",
51 N_("Close this window"),
52 G_CALLBACK (main_window_quit_cb) },
53
54- { "Find", GTK_STOCK_FIND, N_("_Find"), "<control>F",
55+ { "Find", GTK_STOCK_FIND, N_("_Find"), "<control>S",
56 N_("Find a word in the document"),
57 G_CALLBACK (main_window_find_cb) },
58
59@@ -138,19 +140,19 @@
60 N_("Rotate the document 90 degrees counter-clockwise"),
61 G_CALLBACK (main_window_rotate_left_cb) },
62
63- { "GoToFirstPage", GTK_STOCK_GOTO_FIRST, N_("_First Page"), "<control>Home",
64+ { "GoToFirstPage", GTK_STOCK_GOTO_FIRST, N_("_First Page"), "<control>1",
65 N_("Go to the first page"),
66 G_CALLBACK (main_window_go_to_first_page_cb) },
67
68- { "GoToNextPage", GTK_STOCK_GO_FORWARD, N_("_Next Page"), "<Shift>Page_Down",
69+ { "GoToNextPage", GTK_STOCK_GO_FORWARD, N_("_Next Page"), "<Shift>Down",
70 N_("Go to the next page"),
71 G_CALLBACK (main_window_go_to_next_page_cb) },
72
73- { "GoToPreviousPage", GTK_STOCK_GO_BACK, N_("_Previous Page"), "<Shift>Page_Up",
74+ { "GoToPreviousPage", GTK_STOCK_GO_BACK, N_("_Previous Page"), "<Shift>Up",
75 N_("Go to the previous page"),
76 G_CALLBACK (main_window_go_to_previous_page_cb) },
77
78- { "GoToLastPage", GTK_STOCK_GOTO_LAST, N_("_Last Page"), "<control>End",
79+ { "GoToLastPage", GTK_STOCK_GOTO_LAST, N_("_Last Page"), "<control>0",
80 N_("Go to the last page"),
81 G_CALLBACK (main_window_go_to_last_page_cb) },
82
83@@ -172,7 +174,7 @@
84
85 static GtkToggleActionEntry g_ToggleEntries[] =
86 {
87- { "FullScreen", NULL, N_("F_ull screen"), "F11",
88+ { "FullScreen", NULL, N_("F_ull screen"), "<control>F",
89 N_("Toggle full screen window"),
90 G_CALLBACK (main_window_fullscreen_cb), FALSE },
91
92@@ -184,7 +186,7 @@
93 N_("Show or hide the statusbar"),
94 G_CALLBACK (main_window_show_statusbar_cb), TRUE },
95
96- { "ShowIndex", NULL, N_("Show I_ndex"), "F9",
97+ { "ShowIndex", NULL, N_("Show I_ndex"), "<control>I",
98 N_("Show or hide the document's outline"),
99 G_CALLBACK (main_window_show_index_cb), FALSE },
100
101@@ -234,9 +236,8 @@
102 GtkAccelGroup *accelGroup = gtk_ui_manager_get_accel_group (m_UIManager);
103 gtk_window_add_accel_group (GTK_WINDOW (m_MainWindow), accelGroup);
104 // Add the menu bar and tool bar.
105- GtkWidget *menuBar = gtk_ui_manager_get_widget (m_UIManager, "/MenuBar");
106- gtk_box_pack_start (GTK_BOX (m_MainBox), menuBar, FALSE, FALSE, 0);
107- gtk_widget_show (menuBar);
108+ owl_set_window_menu_item (GTK_WINDOW (m_MainWindow),
109+ GTK_MENU_ITEM(gtk_ui_manager_get_widget(m_UIManager, "/MenuBar/TopMenu")));
110 GtkWidget *toolBar = gtk_ui_manager_get_widget (m_UIManager, "/ToolBar");
111 gtk_box_pack_start (GTK_BOX (m_MainBox), toolBar, FALSE, FALSE, 0);
112 // Add the current page tool item.
113@@ -285,7 +286,7 @@
114 MainView::activeZoomFit (gboolean active)
115 {
116 GtkAction *zoomFit =
117- gtk_ui_manager_get_action (m_UIManager, "/MenuBar/ViewMenu/ZoomFit");
118+ gtk_ui_manager_get_action (m_UIManager, "/MenuBar/TopMenu/ViewMenu/ZoomFit");
119 gtk_toggle_action_set_active (GTK_TOGGLE_ACTION (zoomFit), active);
120 }
121
122@@ -293,7 +294,7 @@
123 MainView::activeZoomWidth (gboolean active)
124 {
125 GtkAction *zoomWidth =
126- gtk_ui_manager_get_action (m_UIManager, "/MenuBar/ViewMenu/ZoomWidth");
127+ gtk_ui_manager_get_action (m_UIManager, "/MenuBar/TopMenu/ViewMenu/ZoomWidth");
128 gtk_toggle_action_set_active (GTK_TOGGLE_ACTION (zoomWidth), active);
129 }
130
131@@ -484,7 +485,7 @@
132 MainView::sensitiveFind (gboolean sensitive)
133 {
134 GtkAction *find =
135- gtk_ui_manager_get_action (m_UIManager, "/MenuBar/EditMenu/Find");
136+ gtk_ui_manager_get_action (m_UIManager, "/MenuBar/TopMenu/EditMenu/Find");
137 gtk_action_set_sensitive (find, sensitive);
138 }
139
140@@ -492,7 +493,7 @@
141 MainView::sensitiveGoToFirstPage (gboolean sensitive)
142 {
143 GtkAction *goToFirstPage = gtk_ui_manager_get_action (m_UIManager,
144- "/MenuBar/GoMenu/GoToFirstPage");
145+ "/MenuBar/TopMenu/GoMenu/GoToFirstPage");
146 gtk_action_set_sensitive (goToFirstPage, sensitive);
147 }
148
149@@ -500,7 +501,7 @@
150 MainView::sensitiveGoToLastPage (gboolean sensitive)
151 {
152 GtkAction *goToLastPage =
153- gtk_ui_manager_get_action (m_UIManager, "/MenuBar/GoMenu/GoToLastPage");
154+ gtk_ui_manager_get_action (m_UIManager, "/MenuBar/TopMenu/GoMenu/GoToLastPage");
155 gtk_action_set_sensitive (goToLastPage, sensitive);
156 }
157
158@@ -508,7 +509,7 @@
159 MainView::sensitiveGoToNextPage (gboolean sensitive)
160 {
161 GtkAction *goToNextPage =
162- gtk_ui_manager_get_action (m_UIManager, "/MenuBar/GoMenu/GoToNextPage");
163+ gtk_ui_manager_get_action (m_UIManager, "/MenuBar/TopMenu/GoMenu/GoToNextPage");
164 gtk_action_set_sensitive (goToNextPage, sensitive);
165 }
166
167@@ -522,7 +523,7 @@
168 MainView::sensitiveGoToPreviousPage (gboolean sensitive)
169 {
170 GtkAction *goToPreviousPage = gtk_ui_manager_get_action (m_UIManager,
171- "/MenuBar/GoMenu/GoToPreviousPage");
172+ "/MenuBar/TopMenu/GoMenu/GoToPreviousPage");
173 gtk_action_set_sensitive (goToPreviousPage, sensitive);
174 }
175
176@@ -530,7 +531,7 @@
177 MainView::sensitiveOpen (gboolean sensitive)
178 {
179 GtkAction *open =
180- gtk_ui_manager_get_action (m_UIManager, "/MenuBar/FileMenu/OpenFile");
181+ gtk_ui_manager_get_action (m_UIManager, "/MenuBar/TopMenu/FileMenu/OpenFile");
182 gtk_action_set_sensitive (open, sensitive);
183 }
184
185@@ -539,7 +540,7 @@
186 MainView::sensitivePrint (gboolean sensitive)
187 {
188 GtkAction *print = gtk_ui_manager_get_action (m_UIManager,
189- "/MenuBar/FileMenu/PrintPlaceHolder/Print");
190+ "/MenuBar/TopMenu/FileMenu/PrintPlaceHolder/Print");
191 gtk_action_set_sensitive (print, sensitive);
192 }
193 #endif // HAVE_CUPS
194@@ -548,7 +549,7 @@
195 MainView::sensitiveReload (gboolean sensitive)
196 {
197 GtkAction *reload =
198- gtk_ui_manager_get_action (m_UIManager, "/MenuBar/FileMenu/ReloadFile");
199+ gtk_ui_manager_get_action (m_UIManager, "/MenuBar/TopMenu/FileMenu/ReloadFile");
200 gtk_action_set_sensitive (reload, sensitive);
201 }
202
203@@ -556,7 +557,7 @@
204 MainView::sensitiveRotateLeft (gboolean sensitive)
205 {
206 GtkAction *rotateLeft =
207- gtk_ui_manager_get_action (m_UIManager, "/MenuBar/ViewMenu/RotateLeft");
208+ gtk_ui_manager_get_action (m_UIManager, "/MenuBar/TopMenu/ViewMenu/RotateLeft");
209 gtk_action_set_sensitive (rotateLeft, sensitive);
210 }
211
212@@ -564,7 +565,7 @@
213 MainView::sensitiveRotateRight (gboolean sensitive)
214 {
215 GtkAction *rotateRight = gtk_ui_manager_get_action (m_UIManager,
216- "/MenuBar/ViewMenu/RotateRight");
217+ "/MenuBar/TopMenu/ViewMenu/RotateRight");
218 gtk_action_set_sensitive (rotateRight, sensitive);
219 }
220
221@@ -572,7 +573,7 @@
222 MainView::sensitiveSave (gboolean sensitive)
223 {
224 GtkAction *save =
225- gtk_ui_manager_get_action (m_UIManager, "/MenuBar/FileMenu/SaveFile");
226+ gtk_ui_manager_get_action (m_UIManager, "/MenuBar/TopMenu/FileMenu/SaveFile");
227 gtk_action_set_sensitive (save, sensitive);
228 }
229
230@@ -586,7 +587,7 @@
231 MainView::sensitiveZoomIn (gboolean sensitive)
232 {
233 GtkAction *zoomIn =
234- gtk_ui_manager_get_action (m_UIManager, "/MenuBar/ViewMenu/ZoomIn");
235+ gtk_ui_manager_get_action (m_UIManager, "/MenuBar/TopMenu/ViewMenu/ZoomIn");
236 gtk_action_set_sensitive (zoomIn, sensitive);
237 }
238
239@@ -594,7 +595,7 @@
240 MainView::sensitiveZoomOut (gboolean sensitive)
241 {
242 GtkAction *zoomOut =
243- gtk_ui_manager_get_action (m_UIManager, "/MenuBar/ViewMenu/ZoomOut");
244+ gtk_ui_manager_get_action (m_UIManager, "/MenuBar/TopMenu/ViewMenu/ZoomOut");
245 gtk_action_set_sensitive (zoomOut, sensitive);
246 }
247
248@@ -602,7 +603,7 @@
249 MainView::sensitiveZoomFit (gboolean sensitive)
250 {
251 GtkAction *zoomFit =
252- gtk_ui_manager_get_action (m_UIManager, "/MenuBar/ViewMenu/ZoomFit");
253+ gtk_ui_manager_get_action (m_UIManager, "/MenuBar/TopMenu/ViewMenu/ZoomFit");
254 gtk_action_set_sensitive (zoomFit, sensitive);
255 }
256
257@@ -610,7 +611,7 @@
258 MainView::sensitiveZoomWidth (gboolean sensitive)
259 {
260 GtkAction *zoomWidth =
261- gtk_ui_manager_get_action (m_UIManager, "/MenuBar/ViewMenu/ZoomWidth");
262+ gtk_ui_manager_get_action (m_UIManager, "/MenuBar/TopMenu/ViewMenu/ZoomWidth");
263 gtk_action_set_sensitive (zoomWidth, sensitive);
264 }
265
266@@ -654,7 +655,7 @@
267 }
268 GtkAction *showIndex =
269 gtk_ui_manager_get_action (m_UIManager,
270- "/MenuBar/ViewMenu/ShowIndex");
271+ "/MenuBar/TopMenu/ViewMenu/ShowIndex");
272 gtk_toggle_action_set_active (GTK_TOGGLE_ACTION (showIndex), show);
273 }
274
275@@ -695,13 +696,13 @@
276 gtk_window_fullscreen (GTK_WINDOW (m_MainWindow));
277 // Hide the menu bar, tool bar, status bar and the index bar. Then
278 // zoom to fit.
279- gtk_widget_hide (menuBar);
280+// gtk_widget_hide (menuBar);
281 gtk_widget_hide (toolBar);
282 gtk_widget_hide (m_StatusBar);
283 gtk_widget_hide (m_Sidebar);
284 gtk_toggle_action_set_active (
285 GTK_TOGGLE_ACTION (gtk_ui_manager_get_action (m_UIManager,
286- "/MenuBar/ViewMenu/ZoomFit")), TRUE);
287+ "/MenuBar/TopMenu/ViewMenu/ZoomFit")), TRUE);
288 }
289 else
290 {
291@@ -711,15 +712,15 @@
292 // enabled.
293 main_window_show_index_cb (
294 GTK_TOGGLE_ACTION (gtk_ui_manager_get_action (m_UIManager,
295- "/MenuBar/ViewMenu/ShowIndex")),
296+ "/MenuBar/TopMenu/ViewMenu/ShowIndex")),
297 (gpointer)m_Pter);
298 main_window_show_statusbar_cb (
299 GTK_TOGGLE_ACTION (gtk_ui_manager_get_action (m_UIManager,
300- "/MenuBar/ViewMenu/ShowStatusBar")),
301+ "/MenuBar/TopMenu/ViewMenu/ShowStatusBar")),
302 (gpointer)m_Pter);
303 main_window_show_toolbar_cb (
304 GTK_TOGGLE_ACTION (gtk_ui_manager_get_action (m_UIManager,
305- "/MenuBar/ViewMenu/ShowToolBar")),
306+ "/MenuBar/TopMenu/ViewMenu/ShowToolBar")),
307 (gpointer)m_Pter);
308 }
309 }
310@@ -814,7 +815,7 @@
311 MainView::showStatusbar (gboolean show)
312 {
313 GtkAction *toggleAction = gtk_ui_manager_get_action (m_UIManager,
314- "/MenuBar/ViewMenu/ShowStatusBar");
315+ "/MenuBar/TopMenu/ViewMenu/ShowStatusBar");
316 gtk_toggle_action_set_active (GTK_TOGGLE_ACTION (toggleAction), show);
317 if ( show )
318 {
319@@ -830,7 +831,7 @@
320 MainView::showToolbar (gboolean show)
321 {
322 GtkAction *toggleAction = gtk_ui_manager_get_action (m_UIManager,
323- "/MenuBar/ViewMenu/ShowToolBar");
324+ "/MenuBar/TopMenu/ViewMenu/ShowToolBar");
325 gtk_toggle_action_set_active (GTK_TOGGLE_ACTION (toggleAction), show);
326 GtkWidget *toolBar = gtk_ui_manager_get_widget (m_UIManager, "/ToolBar");
327 if ( show )
diff --git a/meta-demoapps/recipes-sato/epdfview/epdfview_0.1.6.bb b/meta-demoapps/recipes-sato/epdfview/epdfview_0.1.6.bb
deleted file mode 100644
index a528474d9b..0000000000
--- a/meta-demoapps/recipes-sato/epdfview/epdfview_0.1.6.bb
+++ /dev/null
@@ -1,21 +0,0 @@
1DESCRIPTION = "A minimal PDF viewer based on gtk and poppler"
2HOMEPAGE = "http://trac.emma-soft.com/epdfview/"
3LICENSE = "GPLv2"
4SECTION = "x11/applications"
5DEPENDS = "poppler gtk+ libowl"
6PR="r0"
7
8SRC_URI = "http://trac.emma-soft.com/epdfview/chrome/site/releases/epdfview-${PV}.tar.bz2 \
9 file://owl-menus.patch \
10 file://epdfview.desktop \
11 file://epdfview-ui.xml \
12 file://epdfview-ui-print.xml"
13
14inherit autotools gettext
15
16do_install_prepend() {
17 install ${WORKDIR}/epdfview-ui.xml ${S}/data/epdfview-ui.xml
18 install ${WORKDIR}/epdfview-ui-print.xml ${S}/data/epdfview-ui-print.xml
19 install ${WORKDIR}/epdfview.desktop ${S}/data/epdfview.desktop
20}
21
diff --git a/meta-demoapps/recipes-sato/epdfview/epdfview_0.1.7.bb b/meta-demoapps/recipes-sato/epdfview/epdfview_0.1.7.bb
deleted file mode 100644
index 34e08bd140..0000000000
--- a/meta-demoapps/recipes-sato/epdfview/epdfview_0.1.7.bb
+++ /dev/null
@@ -1,21 +0,0 @@
1DESCRIPTION = "A minimal PDF viewer based on gtk and poppler"
2HOMEPAGE = "http://trac.emma-soft.com/epdfview/"
3LICENSE = "GPLv2"
4SECTION = "x11/applications"
5DEPENDS = "poppler gtk+"
6PR="r0"
7
8SRC_URI = "http://trac.emma-soft.com/epdfview/chrome/site/releases/epdfview-${PV}.tar.bz2 \
9 file://owl-menus.patch;patch=1 \
10 file://epdfview.desktop \
11 file://epdfview-ui.xml \
12 file://epdfview-ui-print.xml"
13
14inherit autotools gettext
15
16do_install_prepend() {
17 install ${WORKDIR}/epdfview-ui.xml ${S}/data/epdfview-ui.xml
18 install ${WORKDIR}/epdfview-ui-print.xml ${S}/data/epdfview-ui-print.xml
19 install ${WORKDIR}/epdfview.desktop ${S}/data/epdfview.desktop
20}
21
diff --git a/meta-demoapps/recipes-sato/kf/files/fix-configure.patch b/meta-demoapps/recipes-sato/kf/files/fix-configure.patch
deleted file mode 100644
index ae6bf71c50..0000000000
--- a/meta-demoapps/recipes-sato/kf/files/fix-configure.patch
+++ /dev/null
@@ -1,27 +0,0 @@
1Upstream-Status: Inappropriate [configuration]
2
3diff -urNd ../kf-0.5.4.1-r0/kf-0.5.4.1/configure.in kf-0.5.4.1/configure.in
4--- ../kf-0.5.4.1-r0/kf-0.5.4.1/configure.in 2005-04-27 19:42:49.000000000 +0100
5+++ kf-0.5.4.1/configure.in 2005-09-29 14:12:32.000000000 +0100
6@@ -27,7 +27,7 @@
7 dnl AC_ARG_ENABLE(debug,)
8
9 dnl modules needed for package
10-MODULES="gtk+-2.0 >= 2.0.0 libglade-2.0 >= 1.110.0 loudmouth-1.0 >= 0.16"
11+MODULES="gtk+-2.0 >= 2.0.0 libglade-2.0 >= 1.110.0 loudmouth-1.0 >= 0.16 libxml-2.0"
12 dnl MODULES="gtk+-2.0 >= 2.0.0 libglade-2.0 >= 1.110.0 loudmouth-1.0 >= 0.15.1"
13
14 dnl GtkSpell
15@@ -60,9 +60,9 @@
16 AC_DEFINE([HAVE_LM_CONNECTION_SET_JID],1,[We have lm_connection_set_jid])
17 fi
18
19-dnl XScreenSaver stuff...
20-AC_DEFINE([HAVE_XSCREENSAVER], [1], [Whether to support XScreenSaver extension])
21-PACKAGE_LIBS="$PACKAGE_LIBS -lXss -L/usr/X11R6/lib"
22+#dnl XScreenSaver stuff...
23+#AC_DEFINE([HAVE_XSCREENSAVER], [1], [Whether to support XScreenSaver extension])
24+#PACKAGE_LIBS="$PACKAGE_LIBS -lXss -L/usr/X11R6/lib"
25
26 AC_SUBST(PACKAGE_CFLAGS)
27 AC_SUBST(PACKAGE_LIBS)
diff --git a/meta-demoapps/recipes-sato/kf/files/fix-desktop-file.patch b/meta-demoapps/recipes-sato/kf/files/fix-desktop-file.patch
deleted file mode 100644
index c749616897..0000000000
--- a/meta-demoapps/recipes-sato/kf/files/fix-desktop-file.patch
+++ /dev/null
@@ -1,22 +0,0 @@
1Upstream-Status: Inappropriate [configuration]
2
3Common subdirectories: kf-0.5.4.1.orig/data and kf-0.5.4.1/data
4diff -u kf-0.5.4.1.orig/kf.desktop kf-0.5.4.1/kf.desktop
5--- kf-0.5.4.1.orig/kf.desktop 2005-04-19 22:08:44.000000000 +0100
6+++ kf-0.5.4.1/kf.desktop 2005-10-03 14:36:47.000000000 +0100
7@@ -1,6 +1,6 @@
8 [Desktop Entry]
9 Encoding=UTF-8
10-Name=kf jabber client
11+Name=Instant Messenger
12 Name[pl]=kf klient sieci jabber
13 Name[lt]=Pokalbių programa kf
14 GenericName=Instant Messenger
15@@ -11,5 +11,6 @@
16 Icon=kf.png
17 Terminal=false
18 Type=Application
19-Categories=GTK;Application;Network;
20+Categories=GTK;PIM;Application;Network;
21 StartupNotify=true
22+X-MB-SingleInstance=true
diff --git a/meta-demoapps/recipes-sato/kf/files/gcc4.patch b/meta-demoapps/recipes-sato/kf/files/gcc4.patch
deleted file mode 100644
index 9e16529fc6..0000000000
--- a/meta-demoapps/recipes-sato/kf/files/gcc4.patch
+++ /dev/null
@@ -1,32 +0,0 @@
1Upstream-Status: Pending
2
3Index: kf-0.5.4.1/src/jispman.c
4===================================================================
5--- kf-0.5.4.1.orig/src/jispman.c 2006-12-03 15:33:47.000000000 +0100
6+++ kf-0.5.4.1/src/jispman.c 2006-12-03 15:35:01.000000000 +0100
7@@ -25,12 +25,6 @@
8 #include "emoticons.h"
9 #include "kf.h"
10
11-struct _KfJispManager {
12- GHashTable *jisps; /** A hash-table of all JISP pachages managed by this object, indexed by their filename */
13- GList *patterns; /** A list of patterns */
14-};
15-
16-
17 /**
18 * \brief create a new instance of KfJispManager
19 * \return a new instance of KfJispManager
20Index: kf-0.5.4.1/src/jispman.h
21===================================================================
22--- kf-0.5.4.1.orig/src/jispman.h 2006-12-03 15:33:47.000000000 +0100
23+++ kf-0.5.4.1/src/jispman.h 2006-12-03 15:34:37.000000000 +0100
24@@ -25,6 +25,8 @@
25 #include "jisp.h"
26
27 typedef struct _KfJispManager {
28+ GHashTable *jisps; /** A hash-table of all JISP pachages managed by this object, indexed by their filename */
29+ GList *patterns; /** A list of patterns */
30 } KfJispManager;
31
32 /**
diff --git a/meta-demoapps/recipes-sato/kf/kf_0.5.4.1.bb b/meta-demoapps/recipes-sato/kf/kf_0.5.4.1.bb
deleted file mode 100644
index 67db92cbeb..0000000000
--- a/meta-demoapps/recipes-sato/kf/kf_0.5.4.1.bb
+++ /dev/null
@@ -1,16 +0,0 @@
1DESCRIPTION = "Kf is a GTK+ instant messaging client."
2LICENSE = "GPL"
3DEPENDS = "libxml2 glib-2.0 gtk+ loudmouth libglade"
4PR = "r4"
5
6SRC_URI = "http://jabberstudio.2nw.net/${BPN}/${BPN}-${PV}.tar.gz \
7 file://fix-configure.patch;patch=1 \
8 file://fix-desktop-file.patch;patch=0 \
9 file://gcc4.patch;patch=1"
10
11inherit autotools pkgconfig
12
13EXTRA_OECONF = "--disable-binreloc"
14
15export PKG_CONFIG="${STAGING_BINDIR_NATIVE}/pkg-config"
16
diff --git a/meta-demoapps/recipes-sato/matchbox-themes-extra/matchbox-themes-extra_0.3.bb b/meta-demoapps/recipes-sato/matchbox-themes-extra/matchbox-themes-extra_0.3.bb
deleted file mode 100644
index 1ba7b0a1b3..0000000000
--- a/meta-demoapps/recipes-sato/matchbox-themes-extra/matchbox-themes-extra_0.3.bb
+++ /dev/null
@@ -1,28 +0,0 @@
1DESCRIPTION = "Matchbox window manager extra themes"
2LICENSE = "GPL"
3DEPENDS = "matchbox-wm"
4SECTION = "x11/wm"
5
6SRC_URI = "http://downloads.yoctoproject.org/releases/matchbox/matchbox-themes-extra/${PV}/matchbox-themes-extra-${PV}.tar.bz2"
7S = "${WORKDIR}/matchbox-themes-extra-${PV}"
8
9SRC_URI[md5sum] = "04312628f4a21f4105bce1251ea08035"
10SRC_URI[sha256sum] = "98a1c8695842b0cd7f32e67b0ef9118fd0f32db5297f3f08706c706dee8fc6be"
11
12inherit autotools pkgconfig
13
14# split into several packages plus one meta package
15PACKAGES = "${PN} ${PN}-industrial ${PN}-expose ${PN}-mbcrystal"
16
17ALLOW_EMPTY_${PN} = "1"
18FILES_${PN} = ""
19RDEPENDS_${PN} = "${PN}-industrial ${PN}-expose ${PN}-mbcrystal"
20
21FILES_${PN}-industrial = "${datadir}/themes/Industrial \
22 ${datadir}/icons/Industrial"
23
24FILES_${PN}-expose = "${datadir}/themes/expose \
25 ${datadir}/icons/expose"
26
27FILES_${PN}-mbcrystal = "${datadir}/themes/mbcrystal \
28 ${datadir}/icons/mbcrystal"
diff --git a/meta-demoapps/recipes-sato/matchbox-themes-extra/matchbox-themes-extra_git.bb b/meta-demoapps/recipes-sato/matchbox-themes-extra/matchbox-themes-extra_git.bb
deleted file mode 100644
index 214dd3d5d0..0000000000
--- a/meta-demoapps/recipes-sato/matchbox-themes-extra/matchbox-themes-extra_git.bb
+++ /dev/null
@@ -1,33 +0,0 @@
1DESCRIPTION = "Matchbox window manager extra themes"
2LICENSE = "GPL"
3DEPENDS = "matchbox-wm"
4SECTION = "x11/wm"
5SRCREV = "f848f9e4e577d5b9719f05b5152df1ce59399f5c"
6PV = "0.3+git${SRCPV}"
7
8LIC_FILES_CHKSUM = "file://configure.ac;endline=7;md5=3c4e087662e37f10e469425f3a0ad225"
9
10SRC_URI = "git://git.yoctoproject.org/${BPN};protocol=git"
11S = "${WORKDIR}/git"
12
13inherit autotools pkgconfig
14
15# split into several packages plus one meta package
16PACKAGES = "${PN} ${PN}-industrial ${PN}-expose ${PN}-mbcrystal ${PN}-clearlooks"
17
18ALLOW_EMPTY_${PN} = 1
19FILES_${PN} = ""
20RDEPENDS_${PN} = "${PN}-industrial ${PN}-expose ${PN}-mbcrystal ${PN}-clearlooks"
21
22FILES_${PN}-industrial = "${datadir}/themes/Industrial \
23 ${datadir}/icons/Industrial"
24
25FILES_${PN}-expose = "${datadir}/themes/expose \
26 ${datadir}/icons/expose"
27
28FILES_${PN}-mbcrystal = "${datadir}/themes/mbcrystal \
29 ${datadir}/icons/mbcrystal"
30
31FILES_${PN}-clearlooks = "${datadir}/themes/Clearlooks \
32 ${datadir}/icons/Clearlooks"
33
diff --git a/meta-demoapps/recipes-sato/matchbox-themes-gtk/files/gtkrc b/meta-demoapps/recipes-sato/matchbox-themes-gtk/files/gtkrc
deleted file mode 100644
index 6dc40c0aa5..0000000000
--- a/meta-demoapps/recipes-sato/matchbox-themes-gtk/files/gtkrc
+++ /dev/null
@@ -1 +0,0 @@
1include "/usr/share/themes/Clearlooks/gtk-2.0/gtkrc"
diff --git a/meta-demoapps/recipes-sato/matchbox-themes-gtk/matchbox-themes-gtk.bb b/meta-demoapps/recipes-sato/matchbox-themes-gtk/matchbox-themes-gtk.bb
deleted file mode 100644
index 21716cf72e..0000000000
--- a/meta-demoapps/recipes-sato/matchbox-themes-gtk/matchbox-themes-gtk.bb
+++ /dev/null
@@ -1,17 +0,0 @@
1DESCRIPTION = "Gtk2 theme files to accompany default Matchbox themes"
2LICENSE = "GPL"
3DEPENDS = "gtk-engines"
4RDEPENDS_${PN} = "matchbox-wm gtk-engine-clearlooks"
5SECTION = "x11/base"
6PR = "r3"
7
8SRC_URI = "file://gtkrc"
9
10FILES_${PN} = "${datadir}/themes"
11
12do_install() {
13 install -d ${D}${datadir}/themes/blondie/gtk-2.0
14 install -d ${D}${datadir}/themes/MBOpus/gtk-2.0
15 install -m 644 ${WORKDIR}/gtkrc ${D}${datadir}/themes/blondie/gtk-2.0/
16 install -m 644 ${WORKDIR}/gtkrc ${D}${datadir}/themes/MBOpus/gtk-2.0/
17}
diff --git a/meta-demoapps/recipes-support/iso-codes/iso-codes_3.3.bb b/meta-demoapps/recipes-support/iso-codes/iso-codes_3.3.bb
deleted file mode 100644
index 21843fd1f4..0000000000
--- a/meta-demoapps/recipes-support/iso-codes/iso-codes_3.3.bb
+++ /dev/null
@@ -1,13 +0,0 @@
1SECTION = "libs"
2DESCRIPTION = "ISO language, territory, currency, script codes and their translations"
3LICENSE = "LGPL"
4SECTION = "libs"
5PACKAGE_ARCH = "all"
6
7SRC_URI = "ftp://pkg-isocodes.alioth.debian.org/pub/pkg-isocodes/iso-codes-${PV}.tar.gz"
8
9inherit autotools
10
11FILES_${PN}-dev="${datadir}/pkgconfig/iso-codes.pc"
12FILES_${PN}="${datadir}/xml/iso-codes/ \
13 ${datadir}/iso-codes/"
diff --git a/meta-demoapps/recipes-support/libfribidi/files/libtool-update.patch b/meta-demoapps/recipes-support/libfribidi/files/libtool-update.patch
deleted file mode 100644
index 7fbbe28b8e..0000000000
--- a/meta-demoapps/recipes-support/libfribidi/files/libtool-update.patch
+++ /dev/null
@@ -1,13 +0,0 @@
1Upstream-Status: Inappropriate [configuration]
2
3--- fribidi-0.10.4/configure.in~ 2002-05-19 11:06:48.000000000 +0100
4+++ fribidi-0.10.4/configure.in 2004-08-03 17:42:28.000000000 +0100
5@@ -50,7 +50,7 @@
6 AC_PROG_INSTALL
7 AC_PROG_LN_S
8 AC_PROG_MAKE_SET
9-AC_PROG_RANLIB
10+#AC_PROG_RANLIB
11 AC_PATH_PROG(SED, sed, $PATH)
12
13
diff --git a/meta-demoapps/recipes-support/libfribidi/libfribidi_0.10.4.bb b/meta-demoapps/recipes-support/libfribidi/libfribidi_0.10.4.bb
deleted file mode 100644
index a731421d83..0000000000
--- a/meta-demoapps/recipes-support/libfribidi/libfribidi_0.10.4.bb
+++ /dev/null
@@ -1,23 +0,0 @@
1DESCRIPTION = "Fribidi library for bidirectional text"
2SECTION = "libs"
3LICENSE = "GPL"
4
5inherit autotools pkgconfig
6
7PR = "r0"
8
9S = "${WORKDIR}/fribidi-${PV}"
10
11SRC_URI = "${SOURCEFORGE_MIRROR}/fribidi/fribidi-${PV}.tar.bz2 \
12 file://libtool-update.patch;patch=1"
13
14#PACKAGES += " ${PN}-bin"
15FILES_${PN} = "${libdir}/lib*.so.*"
16#FILES_${PN}-bin = "${libdir}/uu*"
17
18do_configure_prepend () {
19# this version of libtool is old - we have to nobble this file to get it to litoolize
20 rm ltconfig
21 rm aclocal.m4
22 rm acinclude.m4
23}
diff --git a/meta-demoapps/recipes-support/openobex/files/disable-cable-test.patch b/meta-demoapps/recipes-support/openobex/files/disable-cable-test.patch
deleted file mode 100644
index 4251138f73..0000000000
--- a/meta-demoapps/recipes-support/openobex/files/disable-cable-test.patch
+++ /dev/null
@@ -1,17 +0,0 @@
1
2#
3# Patch managed by http://www.holgerschurig.de/patcher.html
4#
5Upstream-Status: Inappropriate [configuration]
6
7--- openobex-1.2/apps/Makefile.am~disable-cable-test
8+++ openobex-1.2/apps/Makefile.am
9@@ -6,7 +6,7 @@
10 obex_io.c obex_io.h \
11 obex_put_common.c obex_put_common.h
12
13-bin_PROGRAMS = irxfer obex_tcp irobex_palm3 obex_test
14+bin_PROGRAMS = irxfer obex_tcp irobex_palm3
15
16 obex_test_SOURCES = \
17 obex_test.c obex_test.h \
diff --git a/meta-demoapps/recipes-support/openobex/files/libusb_crosscompile_check.patch b/meta-demoapps/recipes-support/openobex/files/libusb_crosscompile_check.patch
deleted file mode 100644
index 18841a819a..0000000000
--- a/meta-demoapps/recipes-support/openobex/files/libusb_crosscompile_check.patch
+++ /dev/null
@@ -1,15 +0,0 @@
1Upstream-Status: Inappropriate [configuration]
2
3Index: openobex-1.5/acinclude.m4
4===================================================================
5--- openobex-1.5.orig/acinclude.m4 2009-02-08 18:30:22.000000000 +0000
6+++ openobex-1.5/acinclude.m4 2009-07-31 09:55:46.000000000 +0100
7@@ -158,7 +158,7 @@
8 ;;
9 *)
10 PKG_CHECK_MODULES(USB, libusb, usb_lib_found=yes, AC_MSG_RESULT(no))
11- AC_CHECK_FILE(${prefix}/lib/pkgconfig/libusb.pc, REQUIRES="libusb")
12+ REQUIRES="libusb"
13 ;;
14 esac
15 AC_SUBST(USB_CFLAGS)
diff --git a/meta-demoapps/recipes-support/openobex/openobex_1.5.bb b/meta-demoapps/recipes-support/openobex/openobex_1.5.bb
deleted file mode 100644
index 397c9325af..0000000000
--- a/meta-demoapps/recipes-support/openobex/openobex_1.5.bb
+++ /dev/null
@@ -1,23 +0,0 @@
1DESCRIPTION = "The Openobex project is an open source implementation of the \
2Object Exchange (OBEX) protocol."
3HOMEPAGE = "http://openobex.triq.net"
4SECTION = "libs"
5PROVIDES = "openobex-apps"
6DEPENDS = "libusb bluez4"
7LICENSE = "GPL"
8PR = "r4"
9
10SRC_URI = "${KERNELORG_MIRROR}/linux/bluetooth/openobex-${PV}.tar.gz \
11 file://disable-cable-test.patch;patch=1 \
12 file://libusb_crosscompile_check.patch;patch=1"
13
14inherit autotools binconfig pkgconfig
15
16EXTRA_OECONF = "--enable-apps --enable-syslog --enable-dump \
17 --with-usb=${STAGING_LIBDIR}/.. --with-bluez=${STAGING_LIBDIR}/.."
18
19# how to stop shlibrename from renaming -apps?
20PACKAGES += "openobex-apps"
21FILES_${PN} = "${libdir}/lib*.so.*"
22FILES_${PN}-dev += "${bindir}/openobex-config"
23FILES_${PN}-apps = "${bindir}/*"
diff --git a/meta-demoapps/recipes-support/poppler/poppler-data_0.1.bb b/meta-demoapps/recipes-support/poppler/poppler-data_0.1.bb
deleted file mode 100644
index 37a8564d8f..0000000000
--- a/meta-demoapps/recipes-support/poppler/poppler-data_0.1.bb
+++ /dev/null
@@ -1,16 +0,0 @@
1DESCRIPTION = "Poppler is a PDF rendering library based on the xpdf-3.0 code base."
2LICENSE = "Adobe"
3PR = "r0"
4
5SRC_URI = "http://poppler.freedesktop.org/${BPN}-${PV}.tar.gz"
6
7do_compile() {
8}
9
10do_install() {
11 oe_runmake install DESTDIR=${D}
12}
13
14FILES_${PN} += "${datadir}"
15PACKAGE_ARCH = "all"
16
diff --git a/meta-demoapps/recipes-support/poppler/poppler-fpu.inc b/meta-demoapps/recipes-support/poppler/poppler-fpu.inc
deleted file mode 100644
index 2fbee13b51..0000000000
--- a/meta-demoapps/recipes-support/poppler/poppler-fpu.inc
+++ /dev/null
@@ -1,6 +0,0 @@
1
2def get_poppler_fpu_setting(bb, d):
3 if d.getVar('TARGET_FPU', 1) in [ 'soft' ]:
4 return "--enable-fixedpoint"
5 return ""
6
diff --git a/meta-demoapps/recipes-support/poppler/poppler.inc b/meta-demoapps/recipes-support/poppler/poppler.inc
deleted file mode 100644
index b534ac2ed2..0000000000
--- a/meta-demoapps/recipes-support/poppler/poppler.inc
+++ /dev/null
@@ -1,18 +0,0 @@
1DESCRIPTION = "Poppler is a PDF rendering library based on the xpdf-3.0 code base."
2DEPENDS = "fontconfig jpeg zlib gtk+ cairo"
3LICENSE = "GPL"
4PR = "r1"
5
6SRC_URI = "http://poppler.freedesktop.org/${BPN}-${PV}.tar.gz"
7
8inherit autotools pkgconfig
9
10EXTRA_OECONF = " --enable-xpdf-headers \
11 --disable-gtk-test \
12 --disable-poppler-qt --disable-poppler-qt4 \
13 --enable-zlib \
14 "
15
16#check for TARGET_FPU=soft and inform configure of the result so it can disable some floating points
17require poppler-fpu.inc
18EXTRA_OECONF += "${@get_poppler_fpu_setting(bb, d)}"
diff --git a/meta-demoapps/recipes-support/poppler/poppler_0.9.2.bb b/meta-demoapps/recipes-support/poppler/poppler_0.9.2.bb
deleted file mode 100644
index 92c25bc0ac..0000000000
--- a/meta-demoapps/recipes-support/poppler/poppler_0.9.2.bb
+++ /dev/null
@@ -1,2 +0,0 @@
1require poppler.inc
2PR = "r2"
diff --git a/meta-demoapps/recipes-graphics/pong-clock/pong-clock/pong-clock-no-flicker.c b/meta/recipes-graphics/pong-clock/pong-clock/pong-clock-no-flicker.c
index 41cebc58a7..41cebc58a7 100644
--- a/meta-demoapps/recipes-graphics/pong-clock/pong-clock/pong-clock-no-flicker.c
+++ b/meta/recipes-graphics/pong-clock/pong-clock/pong-clock-no-flicker.c
diff --git a/meta-demoapps/recipes-graphics/pong-clock/pong-clock_1.0.bb b/meta/recipes-graphics/pong-clock/pong-clock_1.0.bb
index 8d3659ff91..8d3659ff91 100644
--- a/meta-demoapps/recipes-graphics/pong-clock/pong-clock_1.0.bb
+++ b/meta/recipes-graphics/pong-clock/pong-clock_1.0.bb
diff --git a/meta-demoapps/recipes-graphics/xorg-app/xeyes_1.0.1.bb b/meta/recipes-graphics/xorg-app/xeyes_1.0.1.bb
index 07ce0724fa..07ce0724fa 100644
--- a/meta-demoapps/recipes-graphics/xorg-app/xeyes_1.0.1.bb
+++ b/meta/recipes-graphics/xorg-app/xeyes_1.0.1.bb