From cfe12efb5ec9586dab6961f141d52b103bd8b1d1 Mon Sep 17 00:00:00 2001 From: Saul Wold Date: Mon, 22 Nov 2010 13:57:13 +0000 Subject: Meta: Recipe Reogranization This is the next stage of recipe reorganization, in this stage many recipes where moved to a new meta-demoapps layer since this is more appropriate for demo usage then the core. Additional some recipes were moved to meta-extras to indicate they may be depercated at a future time. A number of recipes were modified since dependencies need to be corrected. Signed-off-by: Saul Wold --- .../farsight/farsight2_0.0.9.bb | 24 + .../recipes-connectivity/farsight/libnice_0.0.6.bb | 24 + .../libetpan/files/cxx-is-here.patch | 18 + .../recipes-connectivity/libetpan/libetpan_0.54.bb | 20 + .../loudmouth/loudmouth_1.4.0.bb | 10 + .../openswan/openswan-2.4.7/installflags.patch | 13 + .../openswan-2.4.7/ld-library-path-breakage.patch | 26 + .../openswan-2.4.7/openswan-2.4.7-gentoo.patch | 377 ++++++++ .../openswan/openswan_2.4.7.bb | 37 + .../opensync/libopensync-0.37/build-in-src.patch | 18 + .../opensync/libopensync-0.37/cmake.patch | 17 + .../libopensync-0.37/no-python-check.patch | 16 + .../libopensync-plugin-evolution2/0.37-fixes.patch | 23 + .../opensync/libopensync-plugin-evolution2_0.36.bb | 8 + .../opensync/libopensync-plugin-file_0.37.bb | 2 + .../libopensync-plugin-google-calendar_0.36.bb | 2 + .../opensync/libopensync-plugin-irmc_0.36.bb | 4 + .../libopensync-plugin-syncml/fixerror.patch | 13 + .../opensync/libopensync-plugin-syncml_0.38.bb | 8 + .../opensync/libopensync-plugin-vformat_0.37.bb | 4 + .../opensync/libopensync-plugin_0.36.inc | 11 + .../opensync/libopensync_0.37.bb | 26 + .../recipes-connectivity/opensync/libsync_svn.bb | 20 + .../opensync/libsyncml/build-in-src.patch | 19 + .../opensync/libsyncml_0.5.4.bb | 17 + .../opensync/msynctool_0.38.bb | 20 + .../telepathy/empathy/no-gnome-doc.patch | 39 + .../telepathy/empathy_2.26.1.bb | 29 + .../telepathy/telepathy-farsight_0.0.7.bb | 18 + .../telepathy/telepathy-gabble/gabble.manager | 33 + .../telepathy/telepathy-gabble_0.7.8.bb | 18 + .../wbxml/files/no-doc-install.patch | 15 + .../recipes-connectivity/wbxml/wbxml2_0.9.2.bb | 24 + .../recipes-gnome/abiword/abiword-2.5.inc | 63 ++ .../abiword/abiword-embedded_2.5.2.bb | 10 + meta-demoapps/recipes-gnome/abiword/abiword.inc | 63 ++ .../recipes-gnome/abiword/abiword_2.5.2.bb | 5 + meta-demoapps/recipes-gnome/abiword/abiword_cvs.bb | 9 + .../gcalctool/gcalctool/fix-includedir.patch | 31 + .../recipes-gnome/gcalctool/gcalctool_5.7.32.bb | 13 + .../recipes-gnome/gcalctool/gcalctool_5.8.17.bb | 12 + .../gnome/gnome-settings-daemon/configurefix.patch | 30 + .../gnome-settings-daemon/desktop-moblin.patch | 11 + ...-settings-daemon-2.24.0-catch-deviceadded.patch | 19 + .../gnome-settings-daemon-fix-gthread.patch | 13 + .../gnome-settings-daemon/mojito-cleanup.patch | 74 ++ .../gnome/gnome-settings-daemon/mount-plugin.patch | 618 ++++++++++++ .../gnome/gnome-settings-daemon_2.26.1.bb | 25 + .../30f29e7d8e1b67c40cd18a7155ba30c4382692d5.patch | 20 + .../recipes-gnome/gnome/gnome-terminal_2.26.3.bb | 16 + .../recipes-gnome/gnome/libgnomecanvas_2.20.0.bb | 14 + .../recipes-gnome/gnome/libgnomekbd_2.26.0.bb | 14 + .../recipes-gnome/libgsf/libgsf_1.14.5.bb | 20 + .../recipes-gnome/libgtkstylus/files/gtkstylus.sh | 5 + .../recipes-gnome/libgtkstylus/libgtkstylus_0.5.bb | 24 + .../recipes-gnome/wv/wv-1.2.0/pkgconfig.patch | 13 + meta-demoapps/recipes-gnome/wv/wv_1.2.0.bb | 14 + .../recipes-graphics/clutter/table/fixes.patch | 14 + .../libxklavier/libxklavier/pkgconfigfix.patch | 15 + .../libxklavier/libxklavier_3.9.bb | 12 + .../pong-clock/pong-clock/pong-clock-no-flicker.c | 410 ++++++++ .../recipes-graphics/pong-clock/pong-clock_1.0.bb | 16 + .../recipes-graphics/xorg-app/xbacklight_1.1.bb | 4 + .../recipes-graphics/xorg-app/xev/diet-x11.patch | 80 ++ .../recipes-graphics/xorg-app/xev_1.0.3.bb | 7 + .../recipes-graphics/xorg-app/xeyes_1.0.1.bb | 4 + .../recipes-graphics/xorg-app/xrdb/60XDefaults.sh | 3 + .../recipes-graphics/xorg-app/xrdb_1.0.5.bb | 14 + .../xorg-lib/liblbxutil/mkg3states.patch | 63 ++ .../recipes-graphics/xorg-lib/liblbxutil_1.1.0.bb | 11 + .../recipes-graphics/xorg-lib/libxaw_1.0.5.bb | 21 + .../recipes-graphics/xorg-lib/libxevie_1.0.2.bb | 8 + .../recipes-graphics/xorg-lib/libxkbui_1.0.2.bb | 8 + .../xorg-proto/xproxymanagementprotocol_1.0.3.bb | 5 + .../recipes-graphics/xournal/files/ldflags.patch | 15 + .../xournal/files/no-printing.diff | 178 ++++ .../recipes-graphics/xournal/xournal_0.2.bb | 12 + .../fuse-2.7.2/not-run-updaterc.d-on-host.patch | 15 + meta-demoapps/recipes-kernel/fuse/fuse.inc | 13 + meta-demoapps/recipes-kernel/fuse/fuse_2.7.2.bb | 22 + .../recipes-sato/claws-mail/claws-mail.inc | 57 ++ .../recipes-sato/claws-mail/claws-mail_2.9.1.bb | 1 + .../claws-plugin-gtkhtml2-viewer_0.15.bb | 14 + .../claws-mail/claws-plugin-maildir_0.24.4.bb | 14 + .../claws-mail/claws-plugin-mailmbox_1.13.bb | 14 + .../claws-mail/claws-plugin-rssyl_0.13.bb | 14 + .../recipes-sato/claws-mail/files/desktop.patch | 19 + .../recipes-sato/claws-mail/files/fix-build.patch | 24 + .../claws-mail/files/owl-window-menu.patch | 1009 ++++++++++++++++++++ .../claws-mail/files/streamline-ui.patch | 1008 +++++++++++++++++++ .../clipboard-manager/clipboard-manager_0.6.4.bb | 33 + .../clipboard-manager/files/daemonize.patch | 44 + .../clipboard-manager/files/makefile.patch | 18 + .../clipboard-manager/files/script.patch | 39 + .../epdfview/epdfview/epdfview-ui-print.xml | 12 + .../recipes-sato/epdfview/epdfview/epdfview-ui.xml | 57 ++ .../epdfview/epdfview/epdfview.desktop | 10 + .../recipes-sato/epdfview/epdfview/owl-menus.patch | 325 +++++++ .../recipes-sato/epdfview/epdfview_0.1.6.bb | 21 + .../recipes-sato/epdfview/epdfview_0.1.7.bb | 21 + .../recipes-sato/kf/files/fix-configure.patch | 25 + .../recipes-sato/kf/files/fix-desktop-file.patch | 20 + meta-demoapps/recipes-sato/kf/files/gcc4.patch | 30 + meta-demoapps/recipes-sato/kf/kf_0.5.4.1.bb | 16 + .../matchbox-themes-extra_0.3.bb | 25 + .../matchbox-themes-extra_svn.bb | 30 + .../recipes-sato/matchbox-themes-gtk/files/gtkrc | 1 + .../matchbox-themes-gtk/matchbox-themes-gtk.bb | 17 + .../recipes-support/iso-codes/iso-codes_3.3.bb | 14 + .../libfribidi/files/libtool-update.patch | 11 + .../libfribidi/libfribidi_0.10.4.bb | 24 + .../openobex/files/disable-cable-test.patch | 16 + .../openobex/files/libusb_crosscompile_check.patch | 13 + .../recipes-support/openobex/openobex_1.5.bb | 23 + .../recipes-support/poppler/poppler-data_0.1.bb | 16 + .../recipes-support/poppler/poppler-fpu.inc | 6 + meta-demoapps/recipes-support/poppler/poppler.inc | 18 + .../recipes-support/poppler/poppler_0.9.2.bb | 2 + meta/recipes-connectivity/bluez/bluez4_4.79.bb | 1 + .../farsight/farsight2_0.0.9.bb | 24 - .../recipes-connectivity/farsight/libnice_0.0.6.bb | 24 - .../libetpan/files/cxx-is-here.patch | 18 - .../recipes-connectivity/libetpan/libetpan_0.54.bb | 20 - .../loudmouth/loudmouth_1.4.0.bb | 10 - .../network-suspend-scripts.bb | 22 - .../network-suspend-scripts/ifupdown | 26 - .../network-suspend-scripts/usbnet | 16 - .../openswan/openswan-2.4.7/installflags.patch | 13 - .../openswan-2.4.7/ld-library-path-breakage.patch | 26 - .../openswan-2.4.7/openswan-2.4.7-gentoo.patch | 377 -------- .../openswan/openswan_2.4.7.bb | 37 - .../opensync/libopensync-0.37/build-in-src.patch | 18 - .../opensync/libopensync-0.37/cmake.patch | 17 - .../libopensync-0.37/no-python-check.patch | 16 - .../libopensync-plugin-evolution2/0.37-fixes.patch | 23 - .../opensync/libopensync-plugin-evolution2_0.36.bb | 8 - .../opensync/libopensync-plugin-file_0.37.bb | 2 - .../libopensync-plugin-google-calendar_0.36.bb | 2 - .../opensync/libopensync-plugin-irmc_0.36.bb | 4 - .../libopensync-plugin-syncml/fixerror.patch | 13 - .../opensync/libopensync-plugin-syncml_0.38.bb | 8 - .../opensync/libopensync-plugin-vformat_0.37.bb | 4 - .../opensync/libopensync-plugin_0.36.inc | 11 - .../opensync/libopensync_0.37.bb | 26 - meta/recipes-connectivity/opensync/libsync_svn.bb | 20 - .../opensync/libsyncml/build-in-src.patch | 19 - .../opensync/libsyncml_0.5.4.bb | 17 - .../opensync/msynctool_0.38.bb | 20 - .../telepathy/empathy/no-gnome-doc.patch | 39 - .../telepathy/empathy_2.26.1.bb | 29 - .../telepathy/telepathy-farsight_0.0.7.bb | 18 - .../telepathy/telepathy-gabble/gabble.manager | 33 - .../telepathy/telepathy-gabble_0.7.8.bb | 18 - .../wbxml/files/no-doc-install.patch | 15 - meta/recipes-connectivity/wbxml/wbxml2_0.9.2.bb | 24 - .../meta/external-csl-toolchain/SUPPORTED | 4 + .../meta/external-csl-toolchain_2008q3-72.bb | 63 ++ meta/recipes-core/meta/external-poky-toolchain.bb | 42 + meta/recipes-core/meta/external-python-tarball.bb | 87 ++ meta/recipes-core/meta/meta-ide-support.bb | 14 + meta/recipes-core/meta/meta-toolchain-sdk.bb | 4 + meta/recipes-core/meta/meta-toolchain.bb | 103 ++ meta/recipes-core/meta/package-index.bb | 29 + meta/recipes-core/tasks/task-poky-tools.bb | 2 + .../dpkg/run-postinsts/run-postinsts | 36 + .../dpkg/run-postinsts/run-postinsts.awk | 30 + meta/recipes-devtools/dpkg/run-postinsts_1.0.bb | 27 + .../exmap-console/exmap-console.inc | 59 -- .../exmap-console/exmap-console_0.4.1.bb | 3 - .../exmap-console/exmap-console_svn.bb | 8 - .../devicekit/devicekit-power_014.bb | 21 - meta/recipes-extended/devicekit/devicekit/volatile | 1 - meta/recipes-extended/devicekit/devicekit_003.bb | 16 - meta/recipes-extended/devicekit/devicekit_git.bb | 34 - meta/recipes-extended/tasks/task-poky-basic.bb | 1 + meta/recipes-extended/tasks/task-poky-lsb.bb | 9 +- meta/recipes-extended/zile/files/for_build.patch | 64 -- meta/recipes-extended/zile/zile_1.7+2.0beta6.bb | 19 - meta/recipes-gnome/abiword/abiword-2.5.inc | 63 -- .../abiword/abiword-embedded_2.5.2.bb | 10 - meta/recipes-gnome/abiword/abiword.inc | 63 -- meta/recipes-gnome/abiword/abiword_2.5.2.bb | 5 - meta/recipes-gnome/abiword/abiword_cvs.bb | 9 - .../gnome/gnome-settings-daemon/configurefix.patch | 30 - .../gnome-settings-daemon/desktop-moblin.patch | 11 - ...-settings-daemon-2.24.0-catch-deviceadded.patch | 19 - .../gnome-settings-daemon-fix-gthread.patch | 13 - .../gnome-settings-daemon/mojito-cleanup.patch | 74 -- .../gnome/gnome-settings-daemon/mount-plugin.patch | 618 ------------ .../gnome/gnome-settings-daemon_2.26.1.bb | 25 - .../30f29e7d8e1b67c40cd18a7155ba30c4382692d5.patch | 20 - meta/recipes-gnome/gnome/gnome-terminal_2.26.3.bb | 16 - meta/recipes-gnome/gnome/libgnomecanvas_2.20.0.bb | 14 - meta/recipes-gnome/gnome/libgnomekbd_2.26.0.bb | 14 - meta/recipes-gnome/gthumb/gthumb_2.12.0.bb | 12 + meta/recipes-gnome/libgsf/libgsf_1.14.5.bb | 20 - meta/recipes-gnome/libgtkstylus/files/gtkstylus.sh | 5 - .../recipes-gnome/libgtkstylus/libgtkstylus_0.5.bb | 24 - meta/recipes-gnome/libunique/libunique_1.1.6.bb | 10 + meta/recipes-gnome/tasks/task-sdk-gmae.inc | 15 + meta/recipes-gnome/wv/wv-1.2.0/pkgconfig.patch | 13 - meta/recipes-gnome/wv/wv_1.2.0.bb | 14 - meta/recipes-graphics/clutter/aaina.inc | 7 - meta/recipes-graphics/clutter/aaina_git.bb | 7 - meta/recipes-graphics/clutter/clutter-0.6_git.bb | 15 - meta/recipes-graphics/clutter/clutter-0.8_git.bb | 13 - meta/recipes-graphics/clutter/clutter-box2d.inc | 2 +- .../clutter/clutter-cairo-0.6_git.bb | 13 - .../clutter/clutter-cairo-0.8_git.bb | 12 - .../clutter/clutter-gst-0.10_git.bb | 14 - .../clutter/clutter-gst-0.6_git.bb | 9 - .../clutter/clutter-gst-0.8_git.bb | 9 - .../clutter/clutter-gtk-0.10_git.bb | 12 - .../clutter/clutter-gtk-0.6_git.bb | 9 - .../clutter/clutter-gtk-0.8_git.bb | 9 - meta/recipes-graphics/clutter/table/fixes.patch | 14 - meta/recipes-graphics/clutter/tidy.inc | 2 +- .../libxklavier/libxklavier/pkgconfigfix.patch | 15 - .../libxklavier/libxklavier_3.9.bb | 12 - .../pong-clock/pong-clock/pong-clock-no-flicker.c | 410 -------- meta/recipes-graphics/pong-clock/pong-clock_1.0.bb | 16 - meta/recipes-graphics/tasks/task-poky-clutter.bb | 18 +- meta/recipes-graphics/xorg-app/xbacklight_1.1.bb | 4 - meta/recipes-graphics/xorg-app/xev/diet-x11.patch | 80 -- meta/recipes-graphics/xorg-app/xev_1.0.3.bb | 7 - meta/recipes-graphics/xorg-app/xeyes_1.0.1.bb | 4 - meta/recipes-graphics/xorg-app/xrdb/60XDefaults.sh | 3 - meta/recipes-graphics/xorg-app/xrdb_1.0.5.bb | 14 - meta/recipes-graphics/xorg-lib/libapplewm_1.0.0.bb | 7 - meta/recipes-graphics/xorg-lib/libfs_1.0.1.bb | 8 - .../xorg-lib/liblbxutil/mkg3states.patch | 63 -- meta/recipes-graphics/xorg-lib/liblbxutil_1.1.0.bb | 11 - meta/recipes-graphics/xorg-lib/liboldx_1.0.1.bb | 6 - .../xorg-lib/libwindowswm_1.0.0.bb | 6 - meta/recipes-graphics/xorg-lib/libxaw_1.0.5.bb | 21 - meta/recipes-graphics/xorg-lib/libxevie_1.0.2.bb | 8 - meta/recipes-graphics/xorg-lib/libxkbui_1.0.2.bb | 8 - .../xorg-proto/applewmproto_1.4.1.bb | 4 - .../xorg-proto/windowswmproto_1.0.4.bb | 4 - .../xorg-proto/xproxymanagementprotocol_1.0.3.bb | 5 - meta/recipes-graphics/xorg-util/imake_1.0.2.bb | 8 - meta/recipes-graphics/xorg-util/lndir_1.0.1.bb | 6 - .../xorg-util/xorg-cf-files_1.0.3.bb | 8 - .../fuse-2.7.2/not-run-updaterc.d-on-host.patch | 15 - meta/recipes-kernel/fuse/fuse.inc | 13 - meta/recipes-kernel/fuse/fuse_2.7.2.bb | 22 - meta/recipes-multimedia/alsa/alsa-oss_1.0.17.bb | 12 - meta/recipes-multimedia/libexif/libexif_0.6.16.bb | 15 - .../libsamplerate/libsamplerate0_0.1.2.bb | 10 + .../pulseaudio/libatomics-ops/doublefix.patch | 25 + .../fedora/libatomic_ops-1.2-ppclwzfix.patch | 15 + .../pulseaudio/libatomics-ops_1.2.bb | 14 + .../pulseaudio/libcanberra/autoconf_version.patch | 38 + .../pulseaudio/libcanberra/nofallbackfix.patch | 16 + .../pulseaudio/libcanberra_0.10.bb | 22 + .../pulseaudio/pulseaudio-0.9.15/alsaerror.patch | 525 ++++++++++ .../pulseaudio-0.9.15/autoconf_version.patch | 13 + .../pulseaudio/pulseaudio-0.9.15/buildfix.patch | 13 + .../pulseaudio/pulseaudio-0.9.15/fallback.patch | 338 +++++++ .../pulseaudio-0.9.15/gcc4-compile-fix.patch | 18 + .../pulseaudio/pulseaudio-0.9.15/periodfix.patch | 73 ++ .../pulseaudio-0.9.15/volatiles.04_pulse | 2 + meta/recipes-multimedia/pulseaudio/pulseaudio.inc | 126 +++ .../pulseaudio/pulseaudio_0.9.15.bb | 18 + meta/recipes-sato/claws-mail/claws-mail.inc | 57 -- meta/recipes-sato/claws-mail/claws-mail_2.9.1.bb | 1 - .../claws-plugin-gtkhtml2-viewer_0.15.bb | 14 - .../claws-mail/claws-plugin-maildir_0.24.4.bb | 14 - .../claws-mail/claws-plugin-mailmbox_1.13.bb | 14 - .../claws-mail/claws-plugin-rssyl_0.13.bb | 14 - meta/recipes-sato/claws-mail/files/desktop.patch | 19 - meta/recipes-sato/claws-mail/files/fix-build.patch | 24 - .../claws-mail/files/owl-window-menu.patch | 1009 -------------------- .../claws-mail/files/streamline-ui.patch | 1008 ------------------- .../clipboard-manager/clipboard-manager_0.6.4.bb | 33 - .../clipboard-manager/files/daemonize.patch | 44 - .../clipboard-manager/files/makefile.patch | 18 - .../clipboard-manager/files/script.patch | 39 - .../epdfview/epdfview/epdfview-ui-print.xml | 12 - .../recipes-sato/epdfview/epdfview/epdfview-ui.xml | 57 -- .../epdfview/epdfview/epdfview.desktop | 10 - .../recipes-sato/epdfview/epdfview/owl-menus.patch | 325 ------- meta/recipes-sato/epdfview/epdfview_0.1.6.bb | 21 - meta/recipes-sato/epdfview/epdfview_0.1.7.bb | 21 - meta/recipes-sato/kf/files/fix-configure.patch | 25 - meta/recipes-sato/kf/files/fix-desktop-file.patch | 20 - meta/recipes-sato/kf/files/gcc4.patch | 30 - meta/recipes-sato/kf/kf_0.5.4.1.bb | 16 - .../matchbox-themes-extra_0.3.bb | 25 - .../matchbox-themes-extra_svn.bb | 30 - meta/recipes-sato/matchbox-themes-gtk/files/gtkrc | 1 - .../matchbox-themes-gtk/matchbox-themes-gtk.bb | 17 - meta/recipes-sato/tasks/task-poky-x11-sato.bb | 2 + meta/recipes-sato/web/web/owl-window-menu.patch | 17 - meta/recipes-sato/web/web_svn.bb | 2 +- .../recipes-support/consolekit/consolekit_0.3.0.bb | 15 + .../consolekit/files/nopolkit.patch | 16 + meta/recipes-support/iso-codes/iso-codes_3.3.bb | 14 - meta/recipes-support/libexif/libexif_0.6.16.bb | 15 + .../libfribidi/files/libtool-update.patch | 11 - .../libfribidi/libfribidi_0.10.4.bb | 24 - meta/recipes-support/ohm/ohm/fix_configure.patch | 39 - meta/recipes-support/ohm/ohm_git.bb | 44 - .../openobex/files/disable-cable-test.patch | 16 - .../openobex/files/libusb_crosscompile_check.patch | 13 - meta/recipes-support/openobex/openobex_1.5.bb | 23 - meta/recipes-tbd/consolekit/consolekit_0.3.0.bb | 15 - meta/recipes-tbd/consolekit/files/nopolkit.patch | 16 - .../gcalctool/gcalctool/fix-includedir.patch | 31 - meta/recipes-tbd/gcalctool/gcalctool_5.7.32.bb | 13 - meta/recipes-tbd/gcalctool/gcalctool_5.8.17.bb | 12 - meta/recipes-tbd/gthumb/gthumb_2.12.0.bb | 12 - .../libsamplerate/libsamplerate0_0.1.2.bb | 10 - meta/recipes-tbd/libunique/libunique_1.1.6.bb | 10 - .../meta/external-csl-toolchain/SUPPORTED | 4 - .../meta/external-csl-toolchain_2008q3-72.bb | 63 -- meta/recipes-tbd/meta/external-poky-toolchain.bb | 42 - meta/recipes-tbd/meta/external-python-tarball.bb | 87 -- meta/recipes-tbd/meta/meta-ide-support.bb | 14 - meta/recipes-tbd/meta/meta-toolchain-sdk.bb | 4 - meta/recipes-tbd/meta/meta-toolchain.bb | 103 -- meta/recipes-tbd/meta/package-index.bb | 29 - meta/recipes-tbd/meta/run-postinsts/run-postinsts | 36 - .../meta/run-postinsts/run-postinsts.awk | 30 - meta/recipes-tbd/meta/run-postinsts_1.0.bb | 27 - meta/recipes-tbd/poppler/poppler-data_0.1.bb | 16 - meta/recipes-tbd/poppler/poppler-fpu.inc | 6 - meta/recipes-tbd/poppler/poppler.inc | 18 - meta/recipes-tbd/poppler/poppler_0.9.2.bb | 2 - .../pulseaudio/libatomics-ops/doublefix.patch | 25 - .../fedora/libatomic_ops-1.2-ppclwzfix.patch | 15 - meta/recipes-tbd/pulseaudio/libatomics-ops_1.2.bb | 14 - .../pulseaudio/libcanberra/autoconf_version.patch | 38 - .../pulseaudio/libcanberra/nofallbackfix.patch | 16 - meta/recipes-tbd/pulseaudio/libcanberra_0.10.bb | 22 - .../pulseaudio/pulseaudio-0.9.15/alsaerror.patch | 525 ---------- .../pulseaudio-0.9.15/autoconf_version.patch | 13 - .../pulseaudio/pulseaudio-0.9.15/buildfix.patch | 13 - .../pulseaudio/pulseaudio-0.9.15/fallback.patch | 338 ------- .../pulseaudio-0.9.15/gcc4-compile-fix.patch | 18 - .../pulseaudio/pulseaudio-0.9.15/periodfix.patch | 73 -- .../pulseaudio-0.9.15/volatiles.04_pulse | 2 - meta/recipes-tbd/pulseaudio/pulseaudio.inc | 126 --- meta/recipes-tbd/pulseaudio/pulseaudio_0.9.15.bb | 18 - meta/recipes-tbd/xournal/files/ldflags.patch | 15 - meta/recipes-tbd/xournal/files/no-printing.diff | 178 ---- meta/recipes-tbd/xournal/xournal_0.2.bb | 12 - 347 files changed, 7912 insertions(+), 8475 deletions(-) create mode 100644 meta-demoapps/recipes-connectivity/farsight/farsight2_0.0.9.bb create mode 100644 meta-demoapps/recipes-connectivity/farsight/libnice_0.0.6.bb create mode 100644 meta-demoapps/recipes-connectivity/libetpan/files/cxx-is-here.patch create mode 100644 meta-demoapps/recipes-connectivity/libetpan/libetpan_0.54.bb create mode 100644 meta-demoapps/recipes-connectivity/loudmouth/loudmouth_1.4.0.bb create mode 100644 meta-demoapps/recipes-connectivity/openswan/openswan-2.4.7/installflags.patch create mode 100644 meta-demoapps/recipes-connectivity/openswan/openswan-2.4.7/ld-library-path-breakage.patch create mode 100644 meta-demoapps/recipes-connectivity/openswan/openswan-2.4.7/openswan-2.4.7-gentoo.patch create mode 100644 meta-demoapps/recipes-connectivity/openswan/openswan_2.4.7.bb create mode 100644 meta-demoapps/recipes-connectivity/opensync/libopensync-0.37/build-in-src.patch create mode 100644 meta-demoapps/recipes-connectivity/opensync/libopensync-0.37/cmake.patch create mode 100644 meta-demoapps/recipes-connectivity/opensync/libopensync-0.37/no-python-check.patch create mode 100644 meta-demoapps/recipes-connectivity/opensync/libopensync-plugin-evolution2/0.37-fixes.patch create mode 100644 meta-demoapps/recipes-connectivity/opensync/libopensync-plugin-evolution2_0.36.bb create mode 100644 meta-demoapps/recipes-connectivity/opensync/libopensync-plugin-file_0.37.bb create mode 100644 meta-demoapps/recipes-connectivity/opensync/libopensync-plugin-google-calendar_0.36.bb create mode 100644 meta-demoapps/recipes-connectivity/opensync/libopensync-plugin-irmc_0.36.bb create mode 100644 meta-demoapps/recipes-connectivity/opensync/libopensync-plugin-syncml/fixerror.patch create mode 100644 meta-demoapps/recipes-connectivity/opensync/libopensync-plugin-syncml_0.38.bb create mode 100644 meta-demoapps/recipes-connectivity/opensync/libopensync-plugin-vformat_0.37.bb create mode 100644 meta-demoapps/recipes-connectivity/opensync/libopensync-plugin_0.36.inc create mode 100644 meta-demoapps/recipes-connectivity/opensync/libopensync_0.37.bb create mode 100644 meta-demoapps/recipes-connectivity/opensync/libsync_svn.bb create mode 100644 meta-demoapps/recipes-connectivity/opensync/libsyncml/build-in-src.patch create mode 100644 meta-demoapps/recipes-connectivity/opensync/libsyncml_0.5.4.bb create mode 100644 meta-demoapps/recipes-connectivity/opensync/msynctool_0.38.bb create mode 100644 meta-demoapps/recipes-connectivity/telepathy/empathy/no-gnome-doc.patch create mode 100644 meta-demoapps/recipes-connectivity/telepathy/empathy_2.26.1.bb create mode 100644 meta-demoapps/recipes-connectivity/telepathy/telepathy-farsight_0.0.7.bb create mode 100644 meta-demoapps/recipes-connectivity/telepathy/telepathy-gabble/gabble.manager create mode 100644 meta-demoapps/recipes-connectivity/telepathy/telepathy-gabble_0.7.8.bb create mode 100644 meta-demoapps/recipes-connectivity/wbxml/files/no-doc-install.patch create mode 100644 meta-demoapps/recipes-connectivity/wbxml/wbxml2_0.9.2.bb create mode 100644 meta-demoapps/recipes-gnome/abiword/abiword-2.5.inc create mode 100644 meta-demoapps/recipes-gnome/abiword/abiword-embedded_2.5.2.bb create mode 100644 meta-demoapps/recipes-gnome/abiword/abiword.inc create mode 100644 meta-demoapps/recipes-gnome/abiword/abiword_2.5.2.bb create mode 100644 meta-demoapps/recipes-gnome/abiword/abiword_cvs.bb create mode 100644 meta-demoapps/recipes-gnome/gcalctool/gcalctool/fix-includedir.patch create mode 100644 meta-demoapps/recipes-gnome/gcalctool/gcalctool_5.7.32.bb create mode 100644 meta-demoapps/recipes-gnome/gcalctool/gcalctool_5.8.17.bb create mode 100644 meta-demoapps/recipes-gnome/gnome/gnome-settings-daemon/configurefix.patch create mode 100644 meta-demoapps/recipes-gnome/gnome/gnome-settings-daemon/desktop-moblin.patch create mode 100644 meta-demoapps/recipes-gnome/gnome/gnome-settings-daemon/gnome-settings-daemon-2.24.0-catch-deviceadded.patch create mode 100644 meta-demoapps/recipes-gnome/gnome/gnome-settings-daemon/gnome-settings-daemon-fix-gthread.patch create mode 100644 meta-demoapps/recipes-gnome/gnome/gnome-settings-daemon/mojito-cleanup.patch create mode 100644 meta-demoapps/recipes-gnome/gnome/gnome-settings-daemon/mount-plugin.patch create mode 100644 meta-demoapps/recipes-gnome/gnome/gnome-settings-daemon_2.26.1.bb create mode 100644 meta-demoapps/recipes-gnome/gnome/gnome-terminal/30f29e7d8e1b67c40cd18a7155ba30c4382692d5.patch create mode 100644 meta-demoapps/recipes-gnome/gnome/gnome-terminal_2.26.3.bb create mode 100644 meta-demoapps/recipes-gnome/gnome/libgnomecanvas_2.20.0.bb create mode 100644 meta-demoapps/recipes-gnome/gnome/libgnomekbd_2.26.0.bb create mode 100644 meta-demoapps/recipes-gnome/libgsf/libgsf_1.14.5.bb create mode 100644 meta-demoapps/recipes-gnome/libgtkstylus/files/gtkstylus.sh create mode 100644 meta-demoapps/recipes-gnome/libgtkstylus/libgtkstylus_0.5.bb create mode 100644 meta-demoapps/recipes-gnome/wv/wv-1.2.0/pkgconfig.patch create mode 100644 meta-demoapps/recipes-gnome/wv/wv_1.2.0.bb create mode 100644 meta-demoapps/recipes-graphics/clutter/table/fixes.patch create mode 100644 meta-demoapps/recipes-graphics/libxklavier/libxklavier/pkgconfigfix.patch create mode 100644 meta-demoapps/recipes-graphics/libxklavier/libxklavier_3.9.bb create mode 100644 meta-demoapps/recipes-graphics/pong-clock/pong-clock/pong-clock-no-flicker.c create mode 100644 meta-demoapps/recipes-graphics/pong-clock/pong-clock_1.0.bb create mode 100644 meta-demoapps/recipes-graphics/xorg-app/xbacklight_1.1.bb create mode 100644 meta-demoapps/recipes-graphics/xorg-app/xev/diet-x11.patch create mode 100644 meta-demoapps/recipes-graphics/xorg-app/xev_1.0.3.bb create mode 100644 meta-demoapps/recipes-graphics/xorg-app/xeyes_1.0.1.bb create mode 100644 meta-demoapps/recipes-graphics/xorg-app/xrdb/60XDefaults.sh create mode 100644 meta-demoapps/recipes-graphics/xorg-app/xrdb_1.0.5.bb create mode 100644 meta-demoapps/recipes-graphics/xorg-lib/liblbxutil/mkg3states.patch create mode 100644 meta-demoapps/recipes-graphics/xorg-lib/liblbxutil_1.1.0.bb create mode 100644 meta-demoapps/recipes-graphics/xorg-lib/libxaw_1.0.5.bb create mode 100644 meta-demoapps/recipes-graphics/xorg-lib/libxevie_1.0.2.bb create mode 100644 meta-demoapps/recipes-graphics/xorg-lib/libxkbui_1.0.2.bb create mode 100644 meta-demoapps/recipes-graphics/xorg-proto/xproxymanagementprotocol_1.0.3.bb create mode 100644 meta-demoapps/recipes-graphics/xournal/files/ldflags.patch create mode 100644 meta-demoapps/recipes-graphics/xournal/files/no-printing.diff create mode 100644 meta-demoapps/recipes-graphics/xournal/xournal_0.2.bb create mode 100644 meta-demoapps/recipes-kernel/fuse/fuse-2.7.2/not-run-updaterc.d-on-host.patch create mode 100644 meta-demoapps/recipes-kernel/fuse/fuse.inc create mode 100644 meta-demoapps/recipes-kernel/fuse/fuse_2.7.2.bb create mode 100644 meta-demoapps/recipes-sato/claws-mail/claws-mail.inc create mode 100644 meta-demoapps/recipes-sato/claws-mail/claws-mail_2.9.1.bb create mode 100644 meta-demoapps/recipes-sato/claws-mail/claws-plugin-gtkhtml2-viewer_0.15.bb create mode 100644 meta-demoapps/recipes-sato/claws-mail/claws-plugin-maildir_0.24.4.bb create mode 100644 meta-demoapps/recipes-sato/claws-mail/claws-plugin-mailmbox_1.13.bb create mode 100644 meta-demoapps/recipes-sato/claws-mail/claws-plugin-rssyl_0.13.bb create mode 100644 meta-demoapps/recipes-sato/claws-mail/files/desktop.patch create mode 100644 meta-demoapps/recipes-sato/claws-mail/files/fix-build.patch create mode 100644 meta-demoapps/recipes-sato/claws-mail/files/owl-window-menu.patch create mode 100644 meta-demoapps/recipes-sato/claws-mail/files/streamline-ui.patch create mode 100644 meta-demoapps/recipes-sato/clipboard-manager/clipboard-manager_0.6.4.bb create mode 100644 meta-demoapps/recipes-sato/clipboard-manager/files/daemonize.patch create mode 100644 meta-demoapps/recipes-sato/clipboard-manager/files/makefile.patch create mode 100644 meta-demoapps/recipes-sato/clipboard-manager/files/script.patch create mode 100644 meta-demoapps/recipes-sato/epdfview/epdfview/epdfview-ui-print.xml create mode 100644 meta-demoapps/recipes-sato/epdfview/epdfview/epdfview-ui.xml create mode 100644 meta-demoapps/recipes-sato/epdfview/epdfview/epdfview.desktop create mode 100644 meta-demoapps/recipes-sato/epdfview/epdfview/owl-menus.patch create mode 100644 meta-demoapps/recipes-sato/epdfview/epdfview_0.1.6.bb create mode 100644 meta-demoapps/recipes-sato/epdfview/epdfview_0.1.7.bb create mode 100644 meta-demoapps/recipes-sato/kf/files/fix-configure.patch create mode 100644 meta-demoapps/recipes-sato/kf/files/fix-desktop-file.patch create mode 100644 meta-demoapps/recipes-sato/kf/files/gcc4.patch create mode 100644 meta-demoapps/recipes-sato/kf/kf_0.5.4.1.bb create mode 100644 meta-demoapps/recipes-sato/matchbox-themes-extra/matchbox-themes-extra_0.3.bb create mode 100644 meta-demoapps/recipes-sato/matchbox-themes-extra/matchbox-themes-extra_svn.bb create mode 100644 meta-demoapps/recipes-sato/matchbox-themes-gtk/files/gtkrc create mode 100644 meta-demoapps/recipes-sato/matchbox-themes-gtk/matchbox-themes-gtk.bb create mode 100644 meta-demoapps/recipes-support/iso-codes/iso-codes_3.3.bb create mode 100644 meta-demoapps/recipes-support/libfribidi/files/libtool-update.patch create mode 100644 meta-demoapps/recipes-support/libfribidi/libfribidi_0.10.4.bb create mode 100644 meta-demoapps/recipes-support/openobex/files/disable-cable-test.patch create mode 100644 meta-demoapps/recipes-support/openobex/files/libusb_crosscompile_check.patch create mode 100644 meta-demoapps/recipes-support/openobex/openobex_1.5.bb create mode 100644 meta-demoapps/recipes-support/poppler/poppler-data_0.1.bb create mode 100644 meta-demoapps/recipes-support/poppler/poppler-fpu.inc create mode 100644 meta-demoapps/recipes-support/poppler/poppler.inc create mode 100644 meta-demoapps/recipes-support/poppler/poppler_0.9.2.bb delete mode 100644 meta/recipes-connectivity/farsight/farsight2_0.0.9.bb delete mode 100644 meta/recipes-connectivity/farsight/libnice_0.0.6.bb delete mode 100644 meta/recipes-connectivity/libetpan/files/cxx-is-here.patch delete mode 100644 meta/recipes-connectivity/libetpan/libetpan_0.54.bb delete mode 100644 meta/recipes-connectivity/loudmouth/loudmouth_1.4.0.bb delete mode 100644 meta/recipes-connectivity/network-suspend-scripts/network-suspend-scripts.bb delete mode 100644 meta/recipes-connectivity/network-suspend-scripts/network-suspend-scripts/ifupdown delete mode 100644 meta/recipes-connectivity/network-suspend-scripts/network-suspend-scripts/usbnet delete mode 100644 meta/recipes-connectivity/openswan/openswan-2.4.7/installflags.patch delete mode 100644 meta/recipes-connectivity/openswan/openswan-2.4.7/ld-library-path-breakage.patch delete mode 100644 meta/recipes-connectivity/openswan/openswan-2.4.7/openswan-2.4.7-gentoo.patch delete mode 100644 meta/recipes-connectivity/openswan/openswan_2.4.7.bb delete mode 100644 meta/recipes-connectivity/opensync/libopensync-0.37/build-in-src.patch delete mode 100644 meta/recipes-connectivity/opensync/libopensync-0.37/cmake.patch delete mode 100644 meta/recipes-connectivity/opensync/libopensync-0.37/no-python-check.patch delete mode 100644 meta/recipes-connectivity/opensync/libopensync-plugin-evolution2/0.37-fixes.patch delete mode 100644 meta/recipes-connectivity/opensync/libopensync-plugin-evolution2_0.36.bb delete mode 100644 meta/recipes-connectivity/opensync/libopensync-plugin-file_0.37.bb delete mode 100644 meta/recipes-connectivity/opensync/libopensync-plugin-google-calendar_0.36.bb delete mode 100644 meta/recipes-connectivity/opensync/libopensync-plugin-irmc_0.36.bb delete mode 100644 meta/recipes-connectivity/opensync/libopensync-plugin-syncml/fixerror.patch delete mode 100644 meta/recipes-connectivity/opensync/libopensync-plugin-syncml_0.38.bb delete mode 100644 meta/recipes-connectivity/opensync/libopensync-plugin-vformat_0.37.bb delete mode 100644 meta/recipes-connectivity/opensync/libopensync-plugin_0.36.inc delete mode 100644 meta/recipes-connectivity/opensync/libopensync_0.37.bb delete mode 100644 meta/recipes-connectivity/opensync/libsync_svn.bb delete mode 100644 meta/recipes-connectivity/opensync/libsyncml/build-in-src.patch delete mode 100644 meta/recipes-connectivity/opensync/libsyncml_0.5.4.bb delete mode 100644 meta/recipes-connectivity/opensync/msynctool_0.38.bb delete mode 100644 meta/recipes-connectivity/telepathy/empathy/no-gnome-doc.patch delete mode 100644 meta/recipes-connectivity/telepathy/empathy_2.26.1.bb delete mode 100644 meta/recipes-connectivity/telepathy/telepathy-farsight_0.0.7.bb delete mode 100644 meta/recipes-connectivity/telepathy/telepathy-gabble/gabble.manager delete mode 100644 meta/recipes-connectivity/telepathy/telepathy-gabble_0.7.8.bb delete mode 100644 meta/recipes-connectivity/wbxml/files/no-doc-install.patch delete mode 100644 meta/recipes-connectivity/wbxml/wbxml2_0.9.2.bb create mode 100644 meta/recipes-core/meta/external-csl-toolchain/SUPPORTED create mode 100644 meta/recipes-core/meta/external-csl-toolchain_2008q3-72.bb create mode 100644 meta/recipes-core/meta/external-poky-toolchain.bb create mode 100644 meta/recipes-core/meta/external-python-tarball.bb create mode 100644 meta/recipes-core/meta/meta-ide-support.bb create mode 100644 meta/recipes-core/meta/meta-toolchain-sdk.bb create mode 100644 meta/recipes-core/meta/meta-toolchain.bb create mode 100644 meta/recipes-core/meta/package-index.bb create mode 100755 meta/recipes-devtools/dpkg/run-postinsts/run-postinsts create mode 100644 meta/recipes-devtools/dpkg/run-postinsts/run-postinsts.awk create mode 100644 meta/recipes-devtools/dpkg/run-postinsts_1.0.bb delete mode 100644 meta/recipes-devtools/exmap-console/exmap-console.inc delete mode 100644 meta/recipes-devtools/exmap-console/exmap-console_0.4.1.bb delete mode 100644 meta/recipes-devtools/exmap-console/exmap-console_svn.bb delete mode 100644 meta/recipes-extended/devicekit/devicekit-power_014.bb delete mode 100644 meta/recipes-extended/devicekit/devicekit/volatile delete mode 100644 meta/recipes-extended/devicekit/devicekit_003.bb delete mode 100644 meta/recipes-extended/devicekit/devicekit_git.bb delete mode 100644 meta/recipes-extended/zile/files/for_build.patch delete mode 100644 meta/recipes-extended/zile/zile_1.7+2.0beta6.bb delete mode 100644 meta/recipes-gnome/abiword/abiword-2.5.inc delete mode 100644 meta/recipes-gnome/abiword/abiword-embedded_2.5.2.bb delete mode 100644 meta/recipes-gnome/abiword/abiword.inc delete mode 100644 meta/recipes-gnome/abiword/abiword_2.5.2.bb delete mode 100644 meta/recipes-gnome/abiword/abiword_cvs.bb delete mode 100644 meta/recipes-gnome/gnome/gnome-settings-daemon/configurefix.patch delete mode 100644 meta/recipes-gnome/gnome/gnome-settings-daemon/desktop-moblin.patch delete mode 100644 meta/recipes-gnome/gnome/gnome-settings-daemon/gnome-settings-daemon-2.24.0-catch-deviceadded.patch delete mode 100644 meta/recipes-gnome/gnome/gnome-settings-daemon/gnome-settings-daemon-fix-gthread.patch delete mode 100644 meta/recipes-gnome/gnome/gnome-settings-daemon/mojito-cleanup.patch delete mode 100644 meta/recipes-gnome/gnome/gnome-settings-daemon/mount-plugin.patch delete mode 100644 meta/recipes-gnome/gnome/gnome-settings-daemon_2.26.1.bb delete mode 100644 meta/recipes-gnome/gnome/gnome-terminal/30f29e7d8e1b67c40cd18a7155ba30c4382692d5.patch delete mode 100644 meta/recipes-gnome/gnome/gnome-terminal_2.26.3.bb delete mode 100644 meta/recipes-gnome/gnome/libgnomecanvas_2.20.0.bb delete mode 100644 meta/recipes-gnome/gnome/libgnomekbd_2.26.0.bb create mode 100644 meta/recipes-gnome/gthumb/gthumb_2.12.0.bb delete mode 100644 meta/recipes-gnome/libgsf/libgsf_1.14.5.bb delete mode 100644 meta/recipes-gnome/libgtkstylus/files/gtkstylus.sh delete mode 100644 meta/recipes-gnome/libgtkstylus/libgtkstylus_0.5.bb create mode 100644 meta/recipes-gnome/libunique/libunique_1.1.6.bb delete mode 100644 meta/recipes-gnome/wv/wv-1.2.0/pkgconfig.patch delete mode 100644 meta/recipes-gnome/wv/wv_1.2.0.bb delete mode 100644 meta/recipes-graphics/clutter/aaina.inc delete mode 100644 meta/recipes-graphics/clutter/aaina_git.bb delete mode 100644 meta/recipes-graphics/clutter/clutter-0.6_git.bb delete mode 100644 meta/recipes-graphics/clutter/clutter-0.8_git.bb delete mode 100644 meta/recipes-graphics/clutter/clutter-cairo-0.6_git.bb delete mode 100644 meta/recipes-graphics/clutter/clutter-cairo-0.8_git.bb delete mode 100644 meta/recipes-graphics/clutter/clutter-gst-0.10_git.bb delete mode 100644 meta/recipes-graphics/clutter/clutter-gst-0.6_git.bb delete mode 100644 meta/recipes-graphics/clutter/clutter-gst-0.8_git.bb delete mode 100644 meta/recipes-graphics/clutter/clutter-gtk-0.10_git.bb delete mode 100644 meta/recipes-graphics/clutter/clutter-gtk-0.6_git.bb delete mode 100644 meta/recipes-graphics/clutter/clutter-gtk-0.8_git.bb delete mode 100644 meta/recipes-graphics/clutter/table/fixes.patch delete mode 100644 meta/recipes-graphics/libxklavier/libxklavier/pkgconfigfix.patch delete mode 100644 meta/recipes-graphics/libxklavier/libxklavier_3.9.bb delete mode 100644 meta/recipes-graphics/pong-clock/pong-clock/pong-clock-no-flicker.c delete mode 100644 meta/recipes-graphics/pong-clock/pong-clock_1.0.bb delete mode 100644 meta/recipes-graphics/xorg-app/xbacklight_1.1.bb delete mode 100644 meta/recipes-graphics/xorg-app/xev/diet-x11.patch delete mode 100644 meta/recipes-graphics/xorg-app/xev_1.0.3.bb delete mode 100644 meta/recipes-graphics/xorg-app/xeyes_1.0.1.bb delete mode 100644 meta/recipes-graphics/xorg-app/xrdb/60XDefaults.sh delete mode 100644 meta/recipes-graphics/xorg-app/xrdb_1.0.5.bb delete mode 100644 meta/recipes-graphics/xorg-lib/libapplewm_1.0.0.bb delete mode 100644 meta/recipes-graphics/xorg-lib/libfs_1.0.1.bb delete mode 100644 meta/recipes-graphics/xorg-lib/liblbxutil/mkg3states.patch delete mode 100644 meta/recipes-graphics/xorg-lib/liblbxutil_1.1.0.bb delete mode 100644 meta/recipes-graphics/xorg-lib/liboldx_1.0.1.bb delete mode 100644 meta/recipes-graphics/xorg-lib/libwindowswm_1.0.0.bb delete mode 100644 meta/recipes-graphics/xorg-lib/libxaw_1.0.5.bb delete mode 100644 meta/recipes-graphics/xorg-lib/libxevie_1.0.2.bb delete mode 100644 meta/recipes-graphics/xorg-lib/libxkbui_1.0.2.bb delete mode 100644 meta/recipes-graphics/xorg-proto/applewmproto_1.4.1.bb delete mode 100644 meta/recipes-graphics/xorg-proto/windowswmproto_1.0.4.bb delete mode 100644 meta/recipes-graphics/xorg-proto/xproxymanagementprotocol_1.0.3.bb delete mode 100644 meta/recipes-graphics/xorg-util/imake_1.0.2.bb delete mode 100644 meta/recipes-graphics/xorg-util/lndir_1.0.1.bb delete mode 100644 meta/recipes-graphics/xorg-util/xorg-cf-files_1.0.3.bb delete mode 100644 meta/recipes-kernel/fuse/fuse-2.7.2/not-run-updaterc.d-on-host.patch delete mode 100644 meta/recipes-kernel/fuse/fuse.inc delete mode 100644 meta/recipes-kernel/fuse/fuse_2.7.2.bb delete mode 100644 meta/recipes-multimedia/alsa/alsa-oss_1.0.17.bb delete mode 100644 meta/recipes-multimedia/libexif/libexif_0.6.16.bb create mode 100644 meta/recipes-multimedia/libsamplerate/libsamplerate0_0.1.2.bb create mode 100644 meta/recipes-multimedia/pulseaudio/libatomics-ops/doublefix.patch create mode 100644 meta/recipes-multimedia/pulseaudio/libatomics-ops/fedora/libatomic_ops-1.2-ppclwzfix.patch create mode 100644 meta/recipes-multimedia/pulseaudio/libatomics-ops_1.2.bb create mode 100644 meta/recipes-multimedia/pulseaudio/libcanberra/autoconf_version.patch create mode 100644 meta/recipes-multimedia/pulseaudio/libcanberra/nofallbackfix.patch create mode 100644 meta/recipes-multimedia/pulseaudio/libcanberra_0.10.bb create mode 100644 meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.15/alsaerror.patch create mode 100644 meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.15/autoconf_version.patch create mode 100644 meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.15/buildfix.patch create mode 100644 meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.15/fallback.patch create mode 100644 meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.15/gcc4-compile-fix.patch create mode 100644 meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.15/periodfix.patch create mode 100644 meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.15/volatiles.04_pulse create mode 100644 meta/recipes-multimedia/pulseaudio/pulseaudio.inc create mode 100644 meta/recipes-multimedia/pulseaudio/pulseaudio_0.9.15.bb delete mode 100644 meta/recipes-sato/claws-mail/claws-mail.inc delete mode 100644 meta/recipes-sato/claws-mail/claws-mail_2.9.1.bb delete mode 100644 meta/recipes-sato/claws-mail/claws-plugin-gtkhtml2-viewer_0.15.bb delete mode 100644 meta/recipes-sato/claws-mail/claws-plugin-maildir_0.24.4.bb delete mode 100644 meta/recipes-sato/claws-mail/claws-plugin-mailmbox_1.13.bb delete mode 100644 meta/recipes-sato/claws-mail/claws-plugin-rssyl_0.13.bb delete mode 100644 meta/recipes-sato/claws-mail/files/desktop.patch delete mode 100644 meta/recipes-sato/claws-mail/files/fix-build.patch delete mode 100644 meta/recipes-sato/claws-mail/files/owl-window-menu.patch delete mode 100644 meta/recipes-sato/claws-mail/files/streamline-ui.patch delete mode 100644 meta/recipes-sato/clipboard-manager/clipboard-manager_0.6.4.bb delete mode 100644 meta/recipes-sato/clipboard-manager/files/daemonize.patch delete mode 100644 meta/recipes-sato/clipboard-manager/files/makefile.patch delete mode 100644 meta/recipes-sato/clipboard-manager/files/script.patch delete mode 100644 meta/recipes-sato/epdfview/epdfview/epdfview-ui-print.xml delete mode 100644 meta/recipes-sato/epdfview/epdfview/epdfview-ui.xml delete mode 100644 meta/recipes-sato/epdfview/epdfview/epdfview.desktop delete mode 100644 meta/recipes-sato/epdfview/epdfview/owl-menus.patch delete mode 100644 meta/recipes-sato/epdfview/epdfview_0.1.6.bb delete mode 100644 meta/recipes-sato/epdfview/epdfview_0.1.7.bb delete mode 100644 meta/recipes-sato/kf/files/fix-configure.patch delete mode 100644 meta/recipes-sato/kf/files/fix-desktop-file.patch delete mode 100644 meta/recipes-sato/kf/files/gcc4.patch delete mode 100644 meta/recipes-sato/kf/kf_0.5.4.1.bb delete mode 100644 meta/recipes-sato/matchbox-themes-extra/matchbox-themes-extra_0.3.bb delete mode 100644 meta/recipes-sato/matchbox-themes-extra/matchbox-themes-extra_svn.bb delete mode 100644 meta/recipes-sato/matchbox-themes-gtk/files/gtkrc delete mode 100644 meta/recipes-sato/matchbox-themes-gtk/matchbox-themes-gtk.bb create mode 100644 meta/recipes-support/consolekit/consolekit_0.3.0.bb create mode 100644 meta/recipes-support/consolekit/files/nopolkit.patch delete mode 100644 meta/recipes-support/iso-codes/iso-codes_3.3.bb create mode 100644 meta/recipes-support/libexif/libexif_0.6.16.bb delete mode 100644 meta/recipes-support/libfribidi/files/libtool-update.patch delete mode 100644 meta/recipes-support/libfribidi/libfribidi_0.10.4.bb delete mode 100644 meta/recipes-support/ohm/ohm/fix_configure.patch delete mode 100644 meta/recipes-support/ohm/ohm_git.bb delete mode 100644 meta/recipes-support/openobex/files/disable-cable-test.patch delete mode 100644 meta/recipes-support/openobex/files/libusb_crosscompile_check.patch delete mode 100644 meta/recipes-support/openobex/openobex_1.5.bb delete mode 100644 meta/recipes-tbd/consolekit/consolekit_0.3.0.bb delete mode 100644 meta/recipes-tbd/consolekit/files/nopolkit.patch delete mode 100644 meta/recipes-tbd/gcalctool/gcalctool/fix-includedir.patch delete mode 100644 meta/recipes-tbd/gcalctool/gcalctool_5.7.32.bb delete mode 100644 meta/recipes-tbd/gcalctool/gcalctool_5.8.17.bb delete mode 100644 meta/recipes-tbd/gthumb/gthumb_2.12.0.bb delete mode 100644 meta/recipes-tbd/libsamplerate/libsamplerate0_0.1.2.bb delete mode 100644 meta/recipes-tbd/libunique/libunique_1.1.6.bb delete mode 100644 meta/recipes-tbd/meta/external-csl-toolchain/SUPPORTED delete mode 100644 meta/recipes-tbd/meta/external-csl-toolchain_2008q3-72.bb delete mode 100644 meta/recipes-tbd/meta/external-poky-toolchain.bb delete mode 100644 meta/recipes-tbd/meta/external-python-tarball.bb delete mode 100644 meta/recipes-tbd/meta/meta-ide-support.bb delete mode 100644 meta/recipes-tbd/meta/meta-toolchain-sdk.bb delete mode 100644 meta/recipes-tbd/meta/meta-toolchain.bb delete mode 100644 meta/recipes-tbd/meta/package-index.bb delete mode 100755 meta/recipes-tbd/meta/run-postinsts/run-postinsts delete mode 100644 meta/recipes-tbd/meta/run-postinsts/run-postinsts.awk delete mode 100644 meta/recipes-tbd/meta/run-postinsts_1.0.bb delete mode 100644 meta/recipes-tbd/poppler/poppler-data_0.1.bb delete mode 100644 meta/recipes-tbd/poppler/poppler-fpu.inc delete mode 100644 meta/recipes-tbd/poppler/poppler.inc delete mode 100644 meta/recipes-tbd/poppler/poppler_0.9.2.bb delete mode 100644 meta/recipes-tbd/pulseaudio/libatomics-ops/doublefix.patch delete mode 100644 meta/recipes-tbd/pulseaudio/libatomics-ops/fedora/libatomic_ops-1.2-ppclwzfix.patch delete mode 100644 meta/recipes-tbd/pulseaudio/libatomics-ops_1.2.bb delete mode 100644 meta/recipes-tbd/pulseaudio/libcanberra/autoconf_version.patch delete mode 100644 meta/recipes-tbd/pulseaudio/libcanberra/nofallbackfix.patch delete mode 100644 meta/recipes-tbd/pulseaudio/libcanberra_0.10.bb delete mode 100644 meta/recipes-tbd/pulseaudio/pulseaudio-0.9.15/alsaerror.patch delete mode 100644 meta/recipes-tbd/pulseaudio/pulseaudio-0.9.15/autoconf_version.patch delete mode 100644 meta/recipes-tbd/pulseaudio/pulseaudio-0.9.15/buildfix.patch delete mode 100644 meta/recipes-tbd/pulseaudio/pulseaudio-0.9.15/fallback.patch delete mode 100644 meta/recipes-tbd/pulseaudio/pulseaudio-0.9.15/gcc4-compile-fix.patch delete mode 100644 meta/recipes-tbd/pulseaudio/pulseaudio-0.9.15/periodfix.patch delete mode 100644 meta/recipes-tbd/pulseaudio/pulseaudio-0.9.15/volatiles.04_pulse delete mode 100644 meta/recipes-tbd/pulseaudio/pulseaudio.inc delete mode 100644 meta/recipes-tbd/pulseaudio/pulseaudio_0.9.15.bb delete mode 100644 meta/recipes-tbd/xournal/files/ldflags.patch delete mode 100644 meta/recipes-tbd/xournal/files/no-printing.diff delete mode 100644 meta/recipes-tbd/xournal/xournal_0.2.bb diff --git a/meta-demoapps/recipes-connectivity/farsight/farsight2_0.0.9.bb b/meta-demoapps/recipes-connectivity/farsight/farsight2_0.0.9.bb new file mode 100644 index 0000000000..e20ec33d64 --- /dev/null +++ b/meta-demoapps/recipes-connectivity/farsight/farsight2_0.0.9.bb @@ -0,0 +1,24 @@ +DESCRIPTION = "FarSight is an audio/video conferencing framework specifically designed for Instant Messengers." +HOMEPAGE = "http://farsight.sf.net" +SRC_URI = "http://farsight.freedesktop.org/releases/farsight2/${P}.tar.gz" +LICENSE = "GPLv2.1" +DEPENDS = "libnice glib-2.0 libxml2 zlib dbus gstreamer gst-plugins-base" + +inherit autotools +AUTOTOOLS_STAGE_PKGCONFIG = "1" + +PR = "r1" + +EXTRA_OECONF = " \ + --disable-debug \ + --disable-gtk-doc \ + --disable-python \ +" + +FILES_${PN} += "${libdir}/*/*.so" +FILES_${PN}-dev += "${libdir}/f*/*a ${libdir}/g*/*a" +FILES_${PN}-dbg += "${libdir}/*/.debug" + + + + diff --git a/meta-demoapps/recipes-connectivity/farsight/libnice_0.0.6.bb b/meta-demoapps/recipes-connectivity/farsight/libnice_0.0.6.bb new file mode 100644 index 0000000000..a837cadee0 --- /dev/null +++ b/meta-demoapps/recipes-connectivity/farsight/libnice_0.0.6.bb @@ -0,0 +1,24 @@ +SUMMARY = "IETF draft Interactice Connectivity Establishment standard" +DESCRIPTION = "Libnice is an implementation of the IETF's draft Interactice Connectivity Establishment standard (ICE)." +HOMEPAGE = "http://nice.freedesktop.org/wiki/" +SRC_URI = "http://nice.freedesktop.org/releases/libnice-${PV}.tar.gz" + +LICENSE = "LGPL/MPL" +DEPENDS = "glib-2.0 gstreamer" + +inherit autotools +AUTOTOOLS_STAGE_PKGCONFIG = "1" + +FILES_${PN} += "${libdir}/gstreamer-0.10/*.so" +FILES_${PN}-dev += "${libdir}/gstreamer-0.10/*a" +FILES_${PN}-dbg += "${libdir}/gstreamer-0.10/.debug" + +do_compile_append() { + for i in $(find ${S} -name "*.pc") ; do + sed -i -e s:${STAGING_DIR_TARGET}::g \ + -e s:/${TARGET_SYS}::g \ + $i + done +} + + diff --git a/meta-demoapps/recipes-connectivity/libetpan/files/cxx-is-here.patch b/meta-demoapps/recipes-connectivity/libetpan/files/cxx-is-here.patch new file mode 100644 index 0000000000..d910daab17 --- /dev/null +++ b/meta-demoapps/recipes-connectivity/libetpan/files/cxx-is-here.patch @@ -0,0 +1,18 @@ +--- + configure.ac | 1 + + 1 file changed, 1 insertion(+) + +--- libetpan-0.54.orig/configure.ac ++++ libetpan-0.54/configure.ac +@@ -104,10 +104,11 @@ if test "$have_w32_system" = yes; then + fi + AM_CONDITIONAL(HAVE_MINGW32_SYSTEM, test "$have_w32_system" = yes) + + # Check the C compiler. + AC_PROG_CC ++AC_PROG_CXX + + # Compiler flags. + AC_ARG_ENABLE(debug, [ --enable-debug setup flags (gcc) for debugging (default=no)], + if test "x$GCC" = xyes; then + 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 new file mode 100644 index 0000000000..9b69471753 --- /dev/null +++ b/meta-demoapps/recipes-connectivity/libetpan/libetpan_0.54.bb @@ -0,0 +1,20 @@ +SUMMARY = "Library for communicating with mail and news services" +DESCRIPTION = "libetpan is a library for communicating with mail and news servers. \ +It supports the protocols SMTP, POP3, IMAP and NNTP." +HOMEPAGE = "http://www.etpan.org" +SECTION = "libs" +DEPENDS = "curl expat gnutls" +LICENSE = "BSD" +PR = "r1" + +SRC_URI = "${SOURCEFORGE_MIRROR}/libetpan/libetpan-${PV}.tar.gz \ + file://cxx-is-here.patch;patch=1" + +inherit autotools pkgconfig gettext binconfig + +EXTRA_OECONF = "--without-openssl --with-gnutls --disable-db" + +PARALLEL_MAKE = "" + +FILES_${PN} = "${libdir}/lib*.so.*" +FILES_${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 new file mode 100644 index 0000000000..e20c41709a --- /dev/null +++ b/meta-demoapps/recipes-connectivity/loudmouth/loudmouth_1.4.0.bb @@ -0,0 +1,10 @@ +SUMMARY = "XMPP/Jabber library" +DESCRIPTION = "Loudmouth is a lightweight and easy-to-use C library for programming with the XMPP/Jabber protocol." +HOMEPAGE = "http://www.loudmouth-project.org/" +LICENSE = "LGPL" +DEPENDS = "glib-2.0 gnutls libcheck" +PR = "r2" + +SRC_URI = "http://ftp.imendio.com/pub/imendio/${PN}/src/${PN}-${PV}.tar.bz2" + +inherit 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 new file mode 100644 index 0000000000..e6da2eaa5f --- /dev/null +++ b/meta-demoapps/recipes-connectivity/openswan/openswan-2.4.7/installflags.patch @@ -0,0 +1,13 @@ +Index: openswan-2.4.7/Makefile.inc +=================================================================== +--- openswan-2.4.7.orig/Makefile.inc 2006-12-25 18:05:40.608503250 +0100 ++++ openswan-2.4.7/Makefile.inc 2006-12-25 18:06:39.028154250 +0100 +@@ -158,7 +158,7 @@ + # how backup names are composed. + # Note that the install procedures will never overwrite an existing config + # file, which is why -b is not specified for them. +-INSTBINFLAGS=-b --suffix=.old ++INSTBINFLAGS= + INSTSUIDFLAGS=--mode=u+rxs,g+rx,o+rx --group=root -b --suffix=.old + INSTMANFLAGS= + 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 new file mode 100644 index 0000000000..e3cc8762cc --- /dev/null +++ b/meta-demoapps/recipes-connectivity/openswan/openswan-2.4.7/ld-library-path-breakage.patch @@ -0,0 +1,26 @@ +--- openswan-2.2.0.orig/programs/Makefile.program 2004-06-03 03:06:27.000000000 +0200 ++++ openswan-2.2.0/programs/Makefile.program 2005-03-05 13:50:19.000000000 +0100 +@@ -30,10 +30,6 @@ + + CFLAGS+= ${WERROR} + +-ifneq ($(LD_LIBRARY_PATH),) +-LDFLAGS=-L$(LD_LIBRARY_PATH) +-endif +- + MANDIR8=$(MANTREE)/man8 + MANDIR5=$(MANTREE)/man5 + +--- openswan-2.2.0.orig/programs/pluto/Makefile 2005-01-03 20:40:45.000000000 +0100 ++++ openswan-2.2.0/programs/pluto/Makefile 2005-03-05 13:51:21.000000000 +0100 +@@ -234,10 +234,6 @@ + LIBSPLUTO+=${CURL_LIBS} + LIBSPLUTO+= -lgmp -lresolv # -lefence + +-ifneq ($(LD_LIBRARY_PATH),) +-LDFLAGS=-L$(LD_LIBRARY_PATH) +-endif +- + LIBSADNS = $(OPENSWANLIB) + LIBSADNS += -lresolv # -lefence + 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 new file mode 100644 index 0000000000..b3863a584b --- /dev/null +++ b/meta-demoapps/recipes-connectivity/openswan/openswan-2.4.7/openswan-2.4.7-gentoo.patch @@ -0,0 +1,377 @@ +diff -Nru openswan-2.4.7.orig/doc/Makefile openswan-2.4.7/doc/Makefile +--- openswan-2.4.7.orig/doc/Makefile 2005-11-08 23:32:45.000000000 +0200 ++++ openswan-2.4.7/doc/Makefile 2006-12-06 22:46:54.732830840 +0200 +@@ -1,6 +1,6 @@ + # Makefile to generate various formats from HTML source + # +-# Assumes the htmldoc utility is available. ++# No longer cares if the htmldoc utility is available. + # This can be downloaded from www.easysw.com + # + # Also needs lynx(1) for HTML-to-text conversion +diff -Nru openswan-2.4.7.orig/lib/libcrypto/libdes/asm/crypt586.pl openswan-2.4.7/lib/libcrypto/libdes/asm/crypt586.pl +--- openswan-2.4.7.orig/lib/libcrypto/libdes/asm/crypt586.pl 2004-07-16 03:24:45.000000000 +0300 ++++ openswan-2.4.7/lib/libcrypto/libdes/asm/crypt586.pl 2006-12-06 22:46:54.732830840 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/local/bin/perl ++#!/usr/bin/perl + # + # The inner loop instruction sequence and the IP/FP modifications are from + # Svend Olaf Mikkelsen +diff -Nru openswan-2.4.7.orig/lib/libcrypto/libdes/asm/perlasm/cbc.pl openswan-2.4.7/lib/libcrypto/libdes/asm/perlasm/cbc.pl +--- openswan-2.4.7.orig/lib/libcrypto/libdes/asm/perlasm/cbc.pl 2004-07-10 11:07:06.000000000 +0300 ++++ openswan-2.4.7/lib/libcrypto/libdes/asm/perlasm/cbc.pl 2006-12-06 22:46:54.736831090 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/local/bin/perl ++#!/usr/bin/perl + + # void des_ncbc_encrypt(input, output, length, schedule, ivec, enc) + # des_cblock (*input); +diff -Nru openswan-2.4.7.orig/lib/libcrypto/libdes/asm/perlasm/x86asm.pl openswan-2.4.7/lib/libcrypto/libdes/asm/perlasm/x86asm.pl +--- openswan-2.4.7.orig/lib/libcrypto/libdes/asm/perlasm/x86asm.pl 2004-07-10 11:07:06.000000000 +0300 ++++ openswan-2.4.7/lib/libcrypto/libdes/asm/perlasm/x86asm.pl 2006-12-06 22:46:54.736831090 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/local/bin/perl ++#!/usr/bin/perl + + # require 'x86asm.pl'; + # &asm_init("cpp","des-586.pl"); +diff -Nru openswan-2.4.7.orig/lib/libcrypto/libdes/asm/perlasm/x86ms.pl openswan-2.4.7/lib/libcrypto/libdes/asm/perlasm/x86ms.pl +--- openswan-2.4.7.orig/lib/libcrypto/libdes/asm/perlasm/x86ms.pl 2004-07-10 11:07:07.000000000 +0300 ++++ openswan-2.4.7/lib/libcrypto/libdes/asm/perlasm/x86ms.pl 2006-12-06 22:46:54.736831090 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/local/bin/perl ++#!/usr/bin/perl + + package x86ms; + +diff -Nru openswan-2.4.7.orig/lib/libcrypto/libdes/asm/perlasm/x86unix.pl openswan-2.4.7/lib/libcrypto/libdes/asm/perlasm/x86unix.pl +--- openswan-2.4.7.orig/lib/libcrypto/libdes/asm/perlasm/x86unix.pl 2004-07-10 11:07:07.000000000 +0300 ++++ openswan-2.4.7/lib/libcrypto/libdes/asm/perlasm/x86unix.pl 2006-12-06 22:46:54.736831090 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/local/bin/perl ++#!/usr/bin/perl + + package x86unix; + +diff -Nru openswan-2.4.7.orig/lib/liblwres/Makefile openswan-2.4.7/lib/liblwres/Makefile +--- openswan-2.4.7.orig/lib/liblwres/Makefile 2004-12-18 20:13:34.000000000 +0200 ++++ openswan-2.4.7/lib/liblwres/Makefile 2006-12-06 22:46:54.736831090 +0200 +@@ -20,7 +20,7 @@ + CDEFINES = -g + CWARNINGS = -Werror + +-CFLAGS=${CINCLUDES} ${CDEFINES} ${CWARNINGS} ++CFLAGS=${CINCLUDES} ${CDEFINES} ${CWARNINGS} $(USERCOMPILE) + + VERSION="@(\#) openswan-hacking-9.3-for-osw2" + LIBINTERFACE=2 +diff -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 +--- openswan-2.4.7.orig/linux/net/ipsec/des/asm/des-586.pl 2004-07-10 11:06:50.000000000 +0300 ++++ openswan-2.4.7/linux/net/ipsec/des/asm/des-586.pl 2006-12-06 22:46:54.736831090 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/local/bin/perl ++#!/usr/bin/perl + # + # The inner loop instruction sequence and the IP/FP modifications are from + # Svend Olaf Mikkelsen +diff -Nru openswan-2.4.7.orig/linux/net/ipsec/des/asm/des686.pl openswan-2.4.7/linux/net/ipsec/des/asm/des686.pl +--- openswan-2.4.7.orig/linux/net/ipsec/des/asm/des686.pl 2004-07-10 11:06:50.000000000 +0300 ++++ openswan-2.4.7/linux/net/ipsec/des/asm/des686.pl 2006-12-06 22:46:54.740831340 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/local/bin/perl ++#!/usr/bin/perl + + $prog="des686.pl"; + +diff -Nru openswan-2.4.7.orig/linux/net/ipsec/des/asm/desboth.pl openswan-2.4.7/linux/net/ipsec/des/asm/desboth.pl +--- openswan-2.4.7.orig/linux/net/ipsec/des/asm/desboth.pl 2004-07-10 11:06:50.000000000 +0300 ++++ openswan-2.4.7/linux/net/ipsec/des/asm/desboth.pl 2006-12-06 22:46:54.740831340 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/local/bin/perl ++#!/usr/bin/perl + + $L="edi"; + $R="esi"; +diff -Nru openswan-2.4.7.orig/Makefile.inc openswan-2.4.7/Makefile.inc +--- openswan-2.4.7.orig/Makefile.inc 2006-11-14 19:56:09.000000000 +0200 ++++ openswan-2.4.7/Makefile.inc 2006-12-06 22:48:32.534943089 +0200 +@@ -46,7 +46,7 @@ + DESTDIR?= + + # "local" part of tree, used in building other pathnames +-INC_USRLOCAL=/usr/local ++INC_USRLOCAL?=/usr + + # PUBDIR is where the "ipsec" command goes; beware, many things define PATH + # settings which are assumed to include it (or at least, to include *some* +@@ -80,7 +80,7 @@ + MANPLACES=man3 man5 man8 + + # where configuration files go +-FINALCONFFILE?=/etc/ipsec.conf ++FINALCONFFILE?=/etc/ipsec/ipsec.conf + CONFFILE=$(DESTDIR)$(FINALCONFFILE) + + FINALCONFDIR?=/etc +@@ -91,7 +91,7 @@ + + # sample configuration files go into + INC_DOCDIR?=share/doc +-FINALEXAMPLECONFDIR=${INC_USRLOCAL}/${INC_DOCDIR}/openswan ++FINALEXAMPLECONFDIR?=${INC_USRLOCAL}/${INC_DOCDIR}/openswan + EXAMPLECONFDIR=${DESTDIR}${FINALEXAMPLECONFDIR} + + FINALDOCDIR?=${INC_USRLOCAL}/${INC_DOCDIR}/openswan +@@ -239,7 +239,7 @@ + # installed one in RH 7.2, won't work - you wind up depending upon + # openssl. + +-BIND9STATICLIBDIR?=/usr/local/lib ++BIND9STATICLIBDIR?=/usr/lib + + # if you install elsewere, you may need to point the include files to it. + #BIND9STATICLIBDIR?=/sandel/lib +diff -Nru openswan-2.4.7.orig/programs/barf/barf.in openswan-2.4.7/programs/barf/barf.in +--- openswan-2.4.7.orig/programs/barf/barf.in 2006-11-07 05:49:18.000000000 +0200 ++++ openswan-2.4.7/programs/barf/barf.in 2006-12-06 22:46:54.740831340 +0200 +@@ -16,7 +16,7 @@ + + LOGS=${LOGS-/var/log} + CONFS=${IPSEC_CONFS-/etc} +-CONFDDIR=${IPSEC_CONFDDIR-/etc/ipsec.d} ++CONFDDIR=${IPSEC_CONFDDIR-/etc/ipsec/ipsec.d} + me="ipsec barf" + # Max lines to use for things like 'route -n' + maxlines=100 +@@ -238,13 +238,13 @@ + done + fi + _________________________ ipsec/ls-libdir +-ls -l ${IPSEC_LIBDIR-/usr/local/lib/ipsec} ++ls -l ${IPSEC_LIBDIR-/usr/lib/ipsec} + _________________________ ipsec/ls-execdir +-ls -l ${IPSEC_EXECDIR-/usr/local/libexec/ipsec} ++ls -l ${IPSEC_EXECDIR-/usr/libexec/ipsec} + _________________________ ipsec/updowns +-for f in `ls ${IPSEC_EXECDIR-/usr/local/libexec/ipsec} | egrep updown` ++for f in `ls ${IPSEC_EXECDIR-/usr/libexec/ipsec} | egrep updown` + do +- cat ${IPSEC_EXECDIR-/usr/local/libexec/ipsec}/$f ++ cat ${IPSEC_EXECDIR-/usr/libexec/ipsec}/$f + done + _________________________ /proc/net/dev + cat /proc/net/dev +diff -Nru openswan-2.4.7.orig/programs/eroute/eroute.5 openswan-2.4.7/programs/eroute/eroute.5 +--- openswan-2.4.7.orig/programs/eroute/eroute.5 2006-10-26 23:40:43.000000000 +0300 ++++ openswan-2.4.7/programs/eroute/eroute.5 2006-12-06 22:57:19.307864340 +0200 +@@ -168,7 +168,7 @@ + .SH "FILES" + + .PP +-/proc/net/ipsec_eroute, /usr/local/bin/ipsec ++/proc/net/ipsec_eroute, /usr/bin/ipsec + + .SH "SEE ALSO" + +diff -Nru openswan-2.4.7.orig/programs/eroute/eroute.8 openswan-2.4.7/programs/eroute/eroute.8 +--- openswan-2.4.7.orig/programs/eroute/eroute.8 2003-10-31 04:32:27.000000000 +0200 ++++ openswan-2.4.7/programs/eroute/eroute.8 2006-12-06 22:46:54.740831340 +0200 +@@ -308,7 +308,7 @@ + .br + .LP + .SH FILES +-/proc/net/ipsec_eroute, /usr/local/bin/ipsec ++/proc/net/ipsec_eroute, /usr/bin/ipsec + .SH "SEE ALSO" + ipsec(8), ipsec_manual(8), ipsec_tncfg(8), ipsec_spi(8), + ipsec_spigrp(8), ipsec_klipsdebug(8), ipsec_eroute(5) +diff -Nru openswan-2.4.7.orig/programs/_include/_include.in openswan-2.4.7/programs/_include/_include.in +--- openswan-2.4.7.orig/programs/_include/_include.in 2003-01-06 23:44:04.000000000 +0200 ++++ openswan-2.4.7/programs/_include/_include.in 2006-12-06 22:46:54.740831340 +0200 +@@ -47,10 +47,10 @@ + do + if test ! -r "$f" + then +- if test ! "$f" = "/etc/ipsec.conf" ++ if test ! "$f" = "/etc/ipsec/ipsec.conf" + then + echo "#:cannot open configuration file \'$f\'" +- if test "$f" = "/etc/ipsec.secrets" ++ if test "$f" = "/etc/ipsec/ipsec.secrets" + then + echo "#:Your secrets file will be created when you start FreeS/WAN for the first time." + fi +diff -Nru openswan-2.4.7.orig/programs/ipsec/ipsec.8 openswan-2.4.7/programs/ipsec/ipsec.8 +--- openswan-2.4.7.orig/programs/ipsec/ipsec.8 2003-02-27 18:51:54.000000000 +0200 ++++ openswan-2.4.7/programs/ipsec/ipsec.8 2006-12-06 22:46:54.744831590 +0200 +@@ -81,7 +81,7 @@ + .I ipsec + thinks the IPsec configuration files are stored. + .SH FILES +-/usr/local/lib/ipsec usual utilities directory ++/usr/lib/ipsec usual utilities directory + .SH ENVIRONMENT + .PP + The following environment variables control where FreeS/WAN finds its +diff -Nru openswan-2.4.7.orig/programs/klipsdebug/klipsdebug.5 openswan-2.4.7/programs/klipsdebug/klipsdebug.5 +--- openswan-2.4.7.orig/programs/klipsdebug/klipsdebug.5 2006-10-27 01:21:25.000000000 +0300 ++++ openswan-2.4.7/programs/klipsdebug/klipsdebug.5 2006-12-06 22:58:04.150666840 +0200 +@@ -114,7 +114,7 @@ + .SH "FILES" + + .PP +-/proc/net/ipsec_klipsdebug, /usr/local/bin/ipsec ++/proc/net/ipsec_klipsdebug, /usr/bin/ipsec + + .SH "SEE ALSO" + +diff -Nru openswan-2.4.7.orig/programs/klipsdebug/klipsdebug.8 openswan-2.4.7/programs/klipsdebug/klipsdebug.8 +--- openswan-2.4.7.orig/programs/klipsdebug/klipsdebug.8 2006-10-27 01:21:25.000000000 +0300 ++++ openswan-2.4.7/programs/klipsdebug/klipsdebug.8 2006-12-06 22:58:22.295800840 +0200 +@@ -111,7 +111,7 @@ + .SH "FILES" + + .PP +-/proc/net/ipsec_klipsdebug, /usr/local/bin/ipsec ++/proc/net/ipsec_klipsdebug, /usr/bin/ipsec + + .SH "SEE ALSO" + +diff -Nru openswan-2.4.7.orig/programs/mailkey/mailkey.in openswan-2.4.7/programs/mailkey/mailkey.in +--- openswan-2.4.7.orig/programs/mailkey/mailkey.in 2006-10-29 02:49:23.000000000 +0300 ++++ openswan-2.4.7/programs/mailkey/mailkey.in 2006-12-06 22:46:54.828836839 +0200 +@@ -60,7 +60,7 @@ + + "$test1st" + +-Common concerns: This account must be able to read /etc/ipsec.secrets. ++Common concerns: This account must be able to read /etc/ipsec/ipsec.secrets. + If you haven't generated your key yet, please run 'ipsec newhostkey'." + exit 0 + } +diff -Nru openswan-2.4.7.orig/programs/pluto/Makefile openswan-2.4.7/programs/pluto/Makefile +--- openswan-2.4.7.orig/programs/pluto/Makefile 2006-11-07 17:55:52.000000000 +0200 ++++ openswan-2.4.7/programs/pluto/Makefile 2006-12-06 22:46:54.832837088 +0200 +@@ -256,7 +256,7 @@ + -DPOLICYGROUPSDIR=\"${FINALCONFDDIR}/policies\" \ + -DPERPEERLOGDIR=\"${FINALLOGDIR}/pluto/peer\" + +-ALLFLAGS = $(CPPFLAGS) $(CFLAGS) ++ALLFLAGS = $(CPPFLAGS) $(CFLAGS) $(USERCOMPILE) + + # libefence is a free memory allocation debugger + # Solaris 2 needs -lsocket -lnsl +diff -Nru openswan-2.4.7.orig/programs/setup/Makefile openswan-2.4.7/programs/setup/Makefile +--- openswan-2.4.7.orig/programs/setup/Makefile 2004-12-18 20:13:43.000000000 +0200 ++++ openswan-2.4.7/programs/setup/Makefile 2006-12-06 22:46:54.832837088 +0200 +@@ -33,25 +33,10 @@ + @rm -f $(BINDIR)/setup + @$(INSTALL) $(INSTBINFLAGS) setup $(RCDIR)/ipsec + @ln -s $(FINALRCDIR)/ipsec $(BINDIR)/setup +- -@for i in 0 1 2 3 4 5 6; do mkdir -p $(RCDIR)/../rc$$i.d; done +- -@cd $(RCDIR)/../rc0.d && ln -f -s ../init.d/ipsec K76ipsec +- -@cd $(RCDIR)/../rc1.d && ln -f -s ../init.d/ipsec K76ipsec +- -@cd $(RCDIR)/../rc2.d && ln -f -s ../init.d/ipsec S47ipsec +- -@cd $(RCDIR)/../rc3.d && ln -f -s ../init.d/ipsec S47ipsec +- -@cd $(RCDIR)/../rc4.d && ln -f -s ../init.d/ipsec S47ipsec +- -@cd $(RCDIR)/../rc5.d && ln -f -s ../init.d/ipsec S47ipsec +- -@cd $(RCDIR)/../rc6.d && ln -f -s ../init.d/ipsec K76ipsec + + install_file_list:: + @echo $(RCDIR)/ipsec + @echo $(BINDIR)/setup +- @echo $(RCDIR)/../rc0.d/K76ipsec +- @echo $(RCDIR)/../rc1.d/K76ipsec +- @echo $(RCDIR)/../rc2.d/S47ipsec +- @echo $(RCDIR)/../rc3.d/S47ipsec +- @echo $(RCDIR)/../rc4.d/S47ipsec +- @echo $(RCDIR)/../rc5.d/S47ipsec +- @echo $(RCDIR)/../rc6.d/K76ipsec + + clean:: + @rm -f setup +diff -Nru openswan-2.4.7.orig/programs/showhostkey/showhostkey.in openswan-2.4.7/programs/showhostkey/showhostkey.in +--- openswan-2.4.7.orig/programs/showhostkey/showhostkey.in 2004-11-14 15:40:41.000000000 +0200 ++++ openswan-2.4.7/programs/showhostkey/showhostkey.in 2006-12-06 22:46:54.844837840 +0200 +@@ -18,7 +18,7 @@ + usage="Usage: $me [--file secrets] [--left] [--right] [--txt gateway] [--id id] + [--dhclient] [--ipseckey]" + +-file=/etc/ipsec.secrets ++file=/etc/ipsec/ipsec.secrets + fmt="" + gw= + id= +diff -Nru openswan-2.4.7.orig/programs/spi/spi.5 openswan-2.4.7/programs/spi/spi.5 +--- openswan-2.4.7.orig/programs/spi/spi.5 2006-10-26 23:53:59.000000000 +0300 ++++ openswan-2.4.7/programs/spi/spi.5 2006-12-06 23:00:11.910340779 +0200 +@@ -157,7 +157,7 @@ + .SH "FILES" + + .PP +-/proc/net/ipsec_spi, /usr/local/bin/ipsec ++/proc/net/ipsec_spi, /usr/bin/ipsec + + .SH "SEE ALSO" + +diff -Nru openswan-2.4.7.orig/programs/spi/spi.8 openswan-2.4.7/programs/spi/spi.8 +--- openswan-2.4.7.orig/programs/spi/spi.8 2006-10-30 22:00:04.000000000 +0200 ++++ openswan-2.4.7/programs/spi/spi.8 2006-12-06 23:00:27.043286530 +0200 +@@ -215,7 +215,7 @@ + .SH "FILES" + + .PP +-/proc/net/ipsec_spi, /usr/local/bin/ipsec ++/proc/net/ipsec_spi, /usr/bin/ipsec + + .SH "SEE ALSO" + +diff -Nru openswan-2.4.7.orig/programs/spigrp/spigrp.5 openswan-2.4.7/programs/spigrp/spigrp.5 +--- openswan-2.4.7.orig/programs/spigrp/spigrp.5 2006-10-26 23:50:29.000000000 +0300 ++++ openswan-2.4.7/programs/spigrp/spigrp.5 2006-12-06 23:01:25.650949280 +0200 +@@ -67,7 +67,7 @@ + .SH "FILES" + + .PP +-/proc/net/ipsec_spigrp, /usr/local/bin/ipsec ++/proc/net/ipsec_spigrp, /usr/bin/ipsec + + .SH "SEE ALSO" + +diff -Nru openswan-2.4.7.orig/programs/spigrp/spigrp.8 openswan-2.4.7/programs/spigrp/spigrp.8 +--- openswan-2.4.7.orig/programs/spigrp/spigrp.8 2006-10-26 23:50:29.000000000 +0300 ++++ openswan-2.4.7/programs/spigrp/spigrp.8 2006-12-06 23:01:39.079788532 +0200 +@@ -87,7 +87,7 @@ + .SH "FILES" + + .PP +-/proc/net/ipsec_spigrp, /usr/local/bin/ipsec ++/proc/net/ipsec_spigrp, /usr/bin/ipsec + + .SH "SEE ALSO" + +diff -Nru openswan-2.4.7.orig/programs/tncfg/tncfg.5 openswan-2.4.7/programs/tncfg/tncfg.5 +--- openswan-2.4.7.orig/programs/tncfg/tncfg.5 2006-10-26 23:58:11.000000000 +0300 ++++ openswan-2.4.7/programs/tncfg/tncfg.5 2006-12-06 23:01:59.385057530 +0200 +@@ -101,7 +101,7 @@ + .SH "FILES" + + .PP +-/proc/net/ipsec_tncfg, /usr/local/bin/ipsec ++/proc/net/ipsec_tncfg, /usr/bin/ipsec + + .SH "SEE ALSO" + +diff -Nru openswan-2.4.7.orig/programs/tncfg/tncfg.8 openswan-2.4.7/programs/tncfg/tncfg.8 +--- openswan-2.4.7.orig/programs/tncfg/tncfg.8 2006-10-26 23:58:11.000000000 +0300 ++++ openswan-2.4.7/programs/tncfg/tncfg.8 2006-12-06 23:02:09.245673780 +0200 +@@ -63,7 +63,7 @@ + .SH "FILES" + + .PP +-/proc/net/ipsec_tncfg, /usr/local/bin/ipsec ++/proc/net/ipsec_tncfg, /usr/bin/ipsec + + .SH "SEE ALSO" + diff --git a/meta-demoapps/recipes-connectivity/openswan/openswan_2.4.7.bb b/meta-demoapps/recipes-connectivity/openswan/openswan_2.4.7.bb new file mode 100644 index 0000000000..022f709f99 --- /dev/null +++ b/meta-demoapps/recipes-connectivity/openswan/openswan_2.4.7.bb @@ -0,0 +1,37 @@ +SECTION = "console/network" +SUMMARY = "IPsec implementation" +DESCRIPTION = "Openswan is an Open Source implementation of IPsec for the \ +Linux operating system." +HOMEPAGE = "http://www.openswan.org" +LICENSE = "GPLv2" +DEPENDS = "gmp flex-native" +RRECOMMENDS = "kernel-module-ipsec" +RDEPENDS_nylon = "perl" +PR = "r0" + +SRC_URI = "http://www.openswan.org/download/old/openswan-${PV}.tar.gz \ + file://openswan-2.4.7-gentoo.patch;patch=1 \ + file://installflags.patch;patch=1 \ + file://ld-library-path-breakage.patch;patch=1" +S = "${WORKDIR}/openswan-${PV}" + +PARALLEL_MAKE = "" +EXTRA_OEMAKE = "DESTDIR=${D} \ + USERCOMPILE="${CFLAGS}" \ + FINALCONFDIR=${sysconfdir}/ipsec \ + INC_RCDEFAULT=${sysconfdir}/init.d \ + INC_USRLOCAL=${prefix} \ + INC_MANDIR=share/man WERROR=''" + +do_compile () { + oe_runmake programs +} + +do_install () { + oe_runmake install +} + +FILES_${PN} = "${sysconfdir} ${libdir}/ipsec/* ${sbindir}/* ${libexecdir}/ipsec/*" +FILES_${PN}-dbg += "${libdir}/ipsec/.debug ${libexecdir}/ipsec/.debug" + +CONFFILES_${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 new file mode 100644 index 0000000000..1810b339a6 --- /dev/null +++ b/meta-demoapps/recipes-connectivity/opensync/libopensync-0.37/build-in-src.patch @@ -0,0 +1,18 @@ +--- + cmake/OpenSyncInternal.cmake.in | 1 - + 1 file changed, 1 deletion(-) + +--- libopensync-0.36.orig/cmake/OpenSyncInternal.cmake.in ++++ libopensync-0.36/cmake/OpenSyncInternal.cmake.in +@@ -5,11 +5,10 @@ INCLUDE( OpenSyncTesting ) + INCLUDE( OpenSyncPackaging ) + INCLUDE( OpenSyncPlugin ) + INCLUDE( OpenSyncPlatforms ) + INCLUDE( MacroEnsureOutOfSourceBuild ) + +-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]'!") + + + SET( OPENSYNC_PLUGINDIR "@OPENSYNC_PLUGINDIR@" ) + SET( OPENSYNC_FORMATSDIR "@OPENSYNC_FORMATSDIR@" ) + 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 new file mode 100644 index 0000000000..7ea4613548 --- /dev/null +++ b/meta-demoapps/recipes-connectivity/opensync/libopensync-0.37/cmake.patch @@ -0,0 +1,17 @@ +--- + opensync/CMakeLists.txt | 1 - + 1 file changed, 1 deletion(-) + +Index: libopensync-0.37/opensync/CMakeLists.txt +=================================================================== +--- libopensync-0.37.orig/opensync/CMakeLists.txt 2008-10-15 13:56:45.000000000 +0100 ++++ libopensync-0.37/opensync/CMakeLists.txt 2008-10-15 13:59:03.000000000 +0100 +@@ -67,8 +67,6 @@ + SET_TARGET_PROPERTIES( opensync PROPERTIES VERSION ${OPENSYNC_LIBVERSION_VERSION} ) + SET_TARGET_PROPERTIES( opensync PROPERTIES SOVERSION ${OPENSYNC_LIBVERSION_SOVERSION} ) + +-SET_TARGET_PROPERTIES( opensync PROPERTIES COMPILE_FLAGS ${SYMBOLS_VISIBILITY} ) +- + IF ( OPENSYNC_UNITTESTS ) + ADD_LIBRARY( opensync-testing SHARED ${libopensync_LIB_SRCS} ) + 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 new file mode 100644 index 0000000000..04257bc623 --- /dev/null +++ b/meta-demoapps/recipes-connectivity/opensync/libopensync-0.37/no-python-check.patch @@ -0,0 +1,16 @@ +--- + CMakeLists.txt | 1 - + 1 file changed, 1 deletion(-) + +Index: libopensync-0.37/CMakeLists.txt +=================================================================== +--- libopensync-0.37.orig/CMakeLists.txt 2008-08-18 16:14:24.000000000 +0100 ++++ libopensync-0.37/CMakeLists.txt 2008-10-15 14:00:12.000000000 +0100 +@@ -65,7 +65,6 @@ + FIND_PACKAGE( LibXslt REQUIRED ) + FIND_PACKAGE( LibExslt REQUIRED ) + FIND_PACKAGE( SWIG ) +-FIND_PACKAGE( PythonLibs ) + FIND_PACKAGE( Check ) + + 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 new file mode 100644 index 0000000000..4a1802ce17 --- /dev/null +++ b/meta-demoapps/recipes-connectivity/opensync/libopensync-plugin-evolution2/0.37-fixes.patch @@ -0,0 +1,23 @@ +Index: libopensync-plugin-evolution2-0.36/cmake/modules/FindOpenSync.cmake +=================================================================== +--- libopensync-plugin-evolution2-0.36.orig/cmake/modules/FindOpenSync.cmake 2008-10-20 13:07:14.000000000 +0100 ++++ libopensync-plugin-evolution2-0.36/cmake/modules/FindOpenSync.cmake 2008-10-20 13:08:09.000000000 +0100 +@@ -23,15 +23,15 @@ + ENDIF ( OpenSync_FIND_REQUIRED ) + + IF ( OPENSYNC_MIN_VERSION ) +- PKG_SEARCH_MODULE( OPENSYNC ${_pkgconfig_REQUIRED} opensync-1.0>=${OPENSYNC_MIN_VERSION} ) ++ PKG_SEARCH_MODULE( OPENSYNC ${_pkgconfig_REQUIRED} libopensync>=${OPENSYNC_MIN_VERSION} ) + ELSE ( OPENSYNC_MIN_VERSION ) +- PKG_SEARCH_MODULE( OPENSYNC ${_pkgconfig_REQUIRED} opensync-1.0 ) ++ PKG_SEARCH_MODULE( OPENSYNC ${_pkgconfig_REQUIRED} libopensync ) + ENDIF ( OPENSYNC_MIN_VERSION ) + + FIND_PROGRAM( PKGCONFIG_EXECUTABLE NAMES pkg-config ) + + IF ( PKGCONFIG_EXECUTABLE ) +- EXEC_PROGRAM( ${PKGCONFIG_EXECUTABLE} ARGS opensync-1.0 --variable=datadir OUTPUT_VARIABLE _opensync_data_DIR ) ++ EXEC_PROGRAM( ${PKGCONFIG_EXECUTABLE} ARGS libopensync --variable=datadir OUTPUT_VARIABLE _opensync_data_DIR ) + STRING( REGEX REPLACE "[\r\n]" " " _opensync_data_DIR "${_opensync_data_DIR}" ) + ENDIF ( PKGCONFIG_EXECUTABLE ) + 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 new file mode 100644 index 0000000000..6548c206a5 --- /dev/null +++ b/meta-demoapps/recipes-connectivity/opensync/libopensync-plugin-evolution2_0.36.bb @@ -0,0 +1,8 @@ +require libopensync-plugin_0.36.inc +LICENSE = "LGPL" + +DEPENDS += " eds-dbus" + +SRC_URI += "file://0.37-fixes.patch;patch=1" + +PR = "r1" 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 new file mode 100644 index 0000000000..404c172490 --- /dev/null +++ b/meta-demoapps/recipes-connectivity/opensync/libopensync-plugin-file_0.37.bb @@ -0,0 +1,2 @@ +require libopensync-plugin_0.36.inc +LICENSE = "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 new file mode 100644 index 0000000000..dbcb2aac12 --- /dev/null +++ b/meta-demoapps/recipes-connectivity/opensync/libopensync-plugin-google-calendar_0.36.bb @@ -0,0 +1,2 @@ +require libopensync-plugin_0.36.inc +LICENSE = "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 new file mode 100644 index 0000000000..cb601f2dc7 --- /dev/null +++ b/meta-demoapps/recipes-connectivity/opensync/libopensync-plugin-irmc_0.36.bb @@ -0,0 +1,4 @@ +require libopensync-plugin_0.36.inc +LICENSE = "GPLv2" + +DEPENDS += "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 new file mode 100644 index 0000000000..7dad889422 --- /dev/null +++ b/meta-demoapps/recipes-connectivity/opensync/libopensync-plugin-syncml/fixerror.patch @@ -0,0 +1,13 @@ +Index: libopensync-plugin-syncml-0.38/src/syncml_callbacks.c +=================================================================== +--- libopensync-plugin-syncml-0.38.orig/src/syncml_callbacks.c 2009-07-31 10:30:33.000000000 +0100 ++++ libopensync-plugin-syncml-0.38/src/syncml_callbacks.c 2009-07-31 10:30:39.000000000 +0100 +@@ -405,7 +405,7 @@ + } else { + /* This problem should be fixed with the next SLOW-SYNC. */ + osync_trace(TRACE_EXIT_ERROR, "%s - unexpected Add or Replace command", __func__); +- smlErrorSet(error, SML_ERROR_TEMPORARY, "Unwanted Add or Replace command on second OMA DS session."); ++ smlErrorSet(error, SML_ERROR_GENERIC, "Unwanted Add or Replace command on second OMA DS session."); + return FALSE; + } + } 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 new file mode 100644 index 0000000000..e33336f57e --- /dev/null +++ b/meta-demoapps/recipes-connectivity/opensync/libopensync-plugin-syncml_0.38.bb @@ -0,0 +1,8 @@ +require libopensync-plugin_0.36.inc +LICENSE = "LGPL" + +DEPENDS += " libsyncml (>= 0.4.7)" + +SRC_URI += "file://fixerror.patch;patch=1" + +PR = "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 new file mode 100644 index 0000000000..a7d50dc615 --- /dev/null +++ b/meta-demoapps/recipes-connectivity/opensync/libopensync-plugin-vformat_0.37.bb @@ -0,0 +1,4 @@ +require libopensync-plugin_0.36.inc +LICENSE = "LGPL" + +DEPENDS += "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 new file mode 100644 index 0000000000..147fcfb5ed --- /dev/null +++ b/meta-demoapps/recipes-connectivity/opensync/libopensync-plugin_0.36.inc @@ -0,0 +1,11 @@ +DEPENDS = "libopensync (>= 0.36)" + +DESCRIPTION ?= "OpenSync plugin" + +SRC_URI = "http://opensync.org/download/releases/${PV}/${P}.tar.bz2" + +inherit cmake + +FILES_${PN} += "${libdir}/opensync*/plugins/*.so \ + ${libdir}/opensync*/formats/*.so \ + ${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 new file mode 100644 index 0000000000..437bdd2885 --- /dev/null +++ b/meta-demoapps/recipes-connectivity/opensync/libopensync_0.37.bb @@ -0,0 +1,26 @@ +LICENSE = "LGPL" +HOMEPAGE = "http://www.opensync.org/" +SUMMARY = "Synchronization framwork" +DESCRIPTION = "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." +DEPENDS = "sqlite3 libxml2 glib-2.0 libcheck zlib libxslt" + +PR = "r1" + +SRC_URI = "http://opensync.org/download/releases/${PV}/libopensync-${PV}.tar.bz2\ + file://cmake.patch;patch=1 \ + file://build-in-src.patch;patch=1 \ + file://no-python-check.patch;patch=1" + +inherit cmake pkgconfig + +LEAD_SONAME = "libopensync.so" + +FILES_${PN} += " ${libdir}/opensync*/formats/*.so \ + ${libdir}/opensync*/osplugin \ + ${datadir}/opensync*/schemas \ + ${datadir}/opensync*/capabilities \ + ${datadir}/opensync*/descriptions \ + " +FILES_${PN}-dbg += " ${libdir}/opensync*/formats/.debug/*.so \ + ${libdir}/opensync*/.debug/osplugin " + diff --git a/meta-demoapps/recipes-connectivity/opensync/libsync_svn.bb b/meta-demoapps/recipes-connectivity/opensync/libsync_svn.bb new file mode 100644 index 0000000000..74ca752ad6 --- /dev/null +++ b/meta-demoapps/recipes-connectivity/opensync/libsync_svn.bb @@ -0,0 +1,20 @@ +SUMMARY = "GObject-based sync library" +DESCRIPTION = "LibSync is a GObject-based framework for more convenient use of \ +OpenSync in GLib applications." +LICENSE = "LGPL" +SECTION = "x11" +DEPENDS = "glib-2.0 gtk+ libglade libopensync avahi" +RRECOMMENDS = "\ + libopensync-plugin-file \ + " +PV = "0.0+svnr${SRCREV}" + +SRC_URI = "svn://svn.o-hand.com/repos/sync/trunk;module=sync;proto=http" + +inherit autotools pkgconfig + +S = "${WORKDIR}/sync" + +PACKAGES += "synctool" +FILES_${PN} = "${libdir}/lib*.so.*" +FILES_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 new file mode 100644 index 0000000000..d8106bdfc7 --- /dev/null +++ b/meta-demoapps/recipes-connectivity/opensync/libsyncml/build-in-src.patch @@ -0,0 +1,19 @@ +--- + CMakeLists.txt | 4 ---- + 1 file changed, 4 deletions(-) + +Index: libsyncml-0.5.4/CMakeLists.txt +=================================================================== +--- libsyncml-0.5.4.orig/CMakeLists.txt 2009-07-31 09:56:16.000000000 +0100 ++++ libsyncml-0.5.4/CMakeLists.txt 2009-07-31 09:57:33.000000000 +0100 +@@ -72,10 +72,6 @@ + CHECK_TYPE_SIZE( uint32_t UINT32_T ) + CHECK_TYPE_SIZE( uint8_t UINT8_T ) + +-# ensure out od source build +-INCLUDE( MacroEnsureOutOfSourceBuild ) +-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]'!") +- + # find requirements + SET ( GLIB2_MIN_VERSION "2.12" ) + 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 new file mode 100644 index 0000000000..c045698031 --- /dev/null +++ b/meta-demoapps/recipes-connectivity/opensync/libsyncml_0.5.4.bb @@ -0,0 +1,17 @@ +DESCRIPTION = "Libsyncml is a implementation of the SyncML protocol." +HOMEPAGE = "http://libsyncml.opensync.org/" +LICENSE = "LGPL" +DEPENDS = "sed-native wbxml2 libsoup libxml2 bluez4 openobex libcheck" +PR = "r1" + +SRC_URI = "${SOURCEFORGE_MIRROR}/libsyncml/0.5.4/libsyncml-0.5.4.tar.bz2 \ + file://build-in-src.patch;patch=1" + +inherit cmake pkgconfig + +PACKAGES += "${PN}-tools" + +FILES_${PN}-tools = "${bindir}" +FILES_${PN} = "${libdir}/*.so.*" + +export VERBOSE=1 diff --git a/meta-demoapps/recipes-connectivity/opensync/msynctool_0.38.bb b/meta-demoapps/recipes-connectivity/opensync/msynctool_0.38.bb new file mode 100644 index 0000000000..ff86a0b103 --- /dev/null +++ b/meta-demoapps/recipes-connectivity/opensync/msynctool_0.38.bb @@ -0,0 +1,20 @@ +SUMMARY = "Calendar (and other PIM data) synchronization program" +DESCRIPTION = "msynctool is a program to synchronize calendars, \ +addressbooks and other PIM data between programs on your computer and \ +other computers, mobile devices, PDAs or cell phones. It uses the \ +OpenSync plugins when synchronizing data." +HOMEPAGE = "http://www.opensync.org/" +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ + file://tools/msynctool.c;beginline=1;endline=20;md5=0b71ef245b75c74bff7d7ec58b9b4527" + +DEPENDS = "libopensync glib-2.0" + +SRC_URI = "http://www.opensync.org/download/releases/${PV}/msynctool-${PV}.tar.bz2" + +inherit cmake pkgconfig + +PR = "r0" + +SRC_URI[md5sum] = "495c45d6f12d3523a736864b0ced6ce5" +SRC_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 new file mode 100644 index 0000000000..13e7943da5 --- /dev/null +++ b/meta-demoapps/recipes-connectivity/telepathy/empathy/no-gnome-doc.patch @@ -0,0 +1,39 @@ +--- + Makefile.am | 2 +- + configure.ac | 1 - + help/Makefile.am | 1 - + 3 files changed, 1 insertion(+), 3 deletions(-) + +--- empathy-0.23.4.orig/Makefile.am ++++ empathy-0.23.4/Makefile.am +@@ -1,6 +1,6 @@ +-SUBDIRS = tools extensions po data libempathy libempathy-gtk src docs help ++SUBDIRS = tools extensions po data libempathy libempathy-gtk src + + if HAVE_MEGAPHONE + SUBDIRS += megaphone + endif + +--- empathy-0.23.4.orig/configure.ac ++++ empathy-0.23.4/configure.ac +@@ -55,11 +55,10 @@ AM_PROG_LIBTOOL + AM_PROG_MKDIR_P + AM_PATH_GLIB_2_0 + AC_PATH_XTRA + IT_PROG_INTLTOOL([0.35.0]) + GTK_DOC_CHECK([1.3]) +-GNOME_DOC_INIT + IDT_COMPILE_WARNINGS + AC_PATH_PROG(DBUS_BINDING_TOOL, dbus-binding-tool) + AC_PATH_PROG(GCONFTOOL, gconftool-2) + AM_GCONF_SOURCE_2 + GLIB_GENMARSHAL=`$PKG_CONFIG glib-2.0 --variable=glib_genmarshal` +--- empathy-0.23.4.orig/help/Makefile.am ++++ empathy-0.23.4/help/Makefile.am +@@ -1,6 +1,5 @@ +-include $(top_srcdir)/gnome-doc-utils.make + + DOC_MODULE = empathy + DOC_ENTITIES = legal.xml + DOC_FIGURES = \ + 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 new file mode 100644 index 0000000000..2e07b19c16 --- /dev/null +++ b/meta-demoapps/recipes-connectivity/telepathy/empathy_2.26.1.bb @@ -0,0 +1,29 @@ +SUMMARY = "a Telepathy based IM client" +DESCRIPTION = "Instant messaging program supporting text, voice, video, file \ +transfers and interapplication communication over many different protocols, \ +include: AIM, MSN, Google Talk (Jabber/XMPP), Facebook, Yahoo!, Salut, \ +Gadu-Gadu, Groupwise, ICQ and QQ." +HOMEPAGE = "http://blogs.gnome.org/view/xclaesse/2007/04/26/0" +LICENSE = "GPL" +DEPENDS = "libcanberra telepathy-farsight gnome-doc-utils python-native telepathy-python telepathy-mission-control libtelepathy telepathy-glib gtk+ gconf libglade eds-dbus" +RDEPENDS = "telepathy-mission-control" +RRECOMMENDS = "telepathy-gabble" +PR = "r2" + +inherit gnome + +PARALLEL_MAKE = "" + +EXTRA_OECONF += "--disable-scrollkeeper" + +PACKAGES =+ "empathy-scrollkeeper-junk" +FILES_empathy-scrollkeeper-junk = "/var/lib/scrollkeeper" + +FILES_${PN} += "${datadir}/mission-control/profiles/*.profile \ + ${datadir}/dbus-1/services/*.service \ + ${datadir}/telepathy/managers/*.chandler \ + ${datadir}/icons \ + ${libdir}/python*" + +FILES_${PN}-dbg += "${libdir}/python*/*/.debug" + 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 new file mode 100644 index 0000000000..3e8d10fe50 --- /dev/null +++ b/meta-demoapps/recipes-connectivity/telepathy/telepathy-farsight_0.0.7.bb @@ -0,0 +1,18 @@ +SUMMARY = "Telepathy fasrsight" +DESCRIPTION = "Glue library for telepathy media signalling and the media \ +streaming capabilities of Farsight2." +HOMEPAGE = "http://telepathy.freedesktop.org/wiki/" +DEPENDS = "glib-2.0 dbus telepathy-glib farsight2" +LICENSE = "LGPLv2" + +SRC_URI = "http://telepathy.freedesktop.org/releases/telepathy-farsight/${P}.tar.gz \ +" + +inherit autotools + +EXTRA_OECONF = "--disable-python" + +AUTOTOOLS_STAGE_PKGCONFIG = "1" + +FILES_${PN} += "${datadir}/telepathy \ + ${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 new file mode 100644 index 0000000000..9000cd41cc --- /dev/null +++ b/meta-demoapps/recipes-connectivity/telepathy/telepathy-gabble/gabble.manager @@ -0,0 +1,33 @@ + +[ConnectionManager] +BusName=org.freedesktop.Telepathy.ConnectionManager.gabble +ObjectPath=/org/freedesktop/Telepathy/ConnectionManager/gabble + +[Protocol jabber] +param-account=s required register +param-password=s required register +param-server=s +param-resource=s +param-priority=n +param-port=q +param-old-ssl=b +param-register=b +param-low-bandwidth=b +param-https-proxy-server=s +param-https-proxy-port=q +param-fallback-conference-server=s +param-stun-server=s +param-stun-port=q +param-ignore-ssl-errors=b +param-alias=s +param-mac=s +param-btid=s +default-resource=Telepathy +default-priority=0 +default-port=5222 +default-old-ssl=false +default-register=false +default-low-bandwidth=false +default-https-proxy-port=443 +default-stun-port=3478 +default-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 new file mode 100644 index 0000000000..ff49418540 --- /dev/null +++ b/meta-demoapps/recipes-connectivity/telepathy/telepathy-gabble_0.7.8.bb @@ -0,0 +1,18 @@ +SUMMARY = "Telepathy Jabber/XMPP connection manager" +DESCRIPTION = "Telepathy implementation of the Jabber/XMPP protocols." +HOMEPAGE = "http://telepathy.freedesktop.org/wiki/" +DEPENDS = "glib-2.0 dbus loudmouth telepathy-glib dbus-glib" +LICENSE = "LGPL" + +# gabble.manager needs to get regenerated every release, so please don't copy it over blindly +SRC_URI = "http://telepathy.freedesktop.org/releases/telepathy-gabble/${P}.tar.gz \ + file://gabble.manager" + +inherit autotools pkgconfig + +do_compile_prepend() { + cp ${WORKDIR}/gabble.manager ${S}/data/ +} + +FILES_${PN} += "${datadir}/telepathy \ + ${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 new file mode 100644 index 0000000000..16084e60e6 --- /dev/null +++ b/meta-demoapps/recipes-connectivity/wbxml/files/no-doc-install.patch @@ -0,0 +1,15 @@ +--- wbxml2-0.9.2/Makefile.am.old 2007-01-03 19:50:24.000000000 +0000 ++++ wbxml2-0.9.2/Makefile.am 2007-01-03 19:50:39.000000000 +0000 +@@ -24,9 +24,9 @@ + TODO\ + doxygen.h + +-install-data-local: +- $(mkinstalldirs) $(DESTDIR)$(wbxmldocdir)/manual +- cp -Rp doc/* $(DESTDIR)$(wbxmldocdir)/manual ++#install-data-local: ++# $(mkinstalldirs) $(DESTDIR)$(wbxmldocdir)/manual ++# cp -Rp doc/* $(DESTDIR)$(wbxmldocdir)/manual + + dist-bz2: distdir + 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 new file mode 100644 index 0000000000..e3ac0017ff --- /dev/null +++ b/meta-demoapps/recipes-connectivity/wbxml/wbxml2_0.9.2.bb @@ -0,0 +1,24 @@ +SUMMARY = "Parsing and Encoding of WBXML documents" +DESCRIPTION = "The WBXML Library (aka libwbxml) contains a library and \ +its associated tools to Parse, Encode and Handle WBXML documents. The \ +WBXML format is a binary representation of XML, defined by the Wap \ +Forum, and used to reduce bandwidth in mobile communications." +LICENSE = "GPLv2" + +DEPENDS = "libxml2 sed-native expat" + +SRC_URI = "${SOURCEFORGE_MIRROR}/wbxmllib/${P}.tar.gz \ + file://no-doc-install.patch;patch=1" + +inherit autotools pkgconfig + +do_configure_append() { + sed -i s:-I/usr/include::g Makefile + sed -i s:-I/usr/include::g */Makefile +} + +PACKAGES += "${PN}-tools" + +FILES_${PN}-tools = "${bindir}" +FILES_${PN} = "${libdir}/*.so.*" + diff --git a/meta-demoapps/recipes-gnome/abiword/abiword-2.5.inc b/meta-demoapps/recipes-gnome/abiword/abiword-2.5.inc new file mode 100644 index 0000000000..dcd3b85534 --- /dev/null +++ b/meta-demoapps/recipes-gnome/abiword/abiword-2.5.inc @@ -0,0 +1,63 @@ +DESCRIPTION = "AbiWord is free word processing program similar to Microsoft(r) Word" +HOMEPAGE = "http://www.abiword.org" +SECTION = "x11/office" +LICENSE = "GPLv2" +DEPENDS = "perl-native wv libgsf libglade libfribidi jpeg libpng libxml2" +RDEPENDS = "glibc-gconv-ibm850 glibc-gconv-cp1252 \ + glibc-gconv-iso8859-15 glibc-gconv-iso8859-1" + +SRC_URI = "http://www.abiword.org/downloads/abiword/${PV}/source/abiword-${PV}.tar.gz" + +#want 2.x from 2.x.y for the installation directory +SHRT_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}" + +FILES_${PN} += " \ + ${datadir}/icons/* \ + ${datadir}/abiword-${SHRT_VER}/glade \ + ${datadir}/abiword-${SHRT_VER}/scripts \ + ${datadir}/abiword-${SHRT_VER}/system.profile-en \ + ${datadir}/abiword-${SHRT_VER}/system.profile-en_GB \ +# ${datadir}/abiword-${SHRT_VER}/templates/A4.awt \ +# ${datadir}/abiword-${SHRT_VER}/templates/US-Letter.awt \ + ${datadir}/abiword-${SHRT_VER}/templates/normal.awt \ + ${datadir}/abiword-${SHRT_VER}/templates/normal.awt-en_GB \ + ${datadir}/abiword-${SHRT_VER}/templates/Employee-Directory.awt \ + ${datadir}/abiword-${SHRT_VER}/templates/Business-Report.awt \ + ${datadir}/abiword-${SHRT_VER}/templates/Fax-Coversheet.awt \ + ${datadir}/abiword-${SHRT_VER}/templates/Resume.awt \ + ${datadir}/abiword-${SHRT_VER}/templates/Two-Columns.awt \ + ${datadir}/abiword-${SHRT_VER}/templates/Memo.awt \ + ${datadir}/abiword-${SHRT_VER}/templates/Press-Release.awt " + +inherit autotools pkgconfig + +PARALLEL_MAKE = "" + +EXTRA_OECONF = " --disable-pspell \ + --disable-spellcheck \ + --disable-printing \ + --disable-exports \ + --with-sys-wv" + +# AbiWord configure.ac does not play nicely with autoreconf +# so use the autogen.sh script that comes with AbiWord +# +do_configure() { + cd ${S} + export NOCONFIGURE="no"; ./autogen.sh + oe_runconf +} + + +do_install_append() { + install -d ${D}${datadir}/pixmaps/ + mv ${D}${datadir}/icons/* ${D}${datadir}/pixmaps/ +} + +PACKAGES += " abiword-clipart abiword-icons abiword-strings abiword-systemprofiles abiword-templates " + +FILES_abiword-clipart += "${datadir}/abiword-${SHRT_VER}/clipart" +FILES_abiword-icons += "${datadir}/abiword-${SHRT_VER}/icons" +FILES_abiword-strings += "${datadir}/abiword-${SHRT_VER}/AbiWord/strings" +FILES_abiword-systemprofiles += "${datadir}/abiword-${SHRT_VER}/AbiWord/system.profile*" +FILES_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 new file mode 100644 index 0000000000..47cf9e03c0 --- /dev/null +++ b/meta-demoapps/recipes-gnome/abiword/abiword-embedded_2.5.2.bb @@ -0,0 +1,10 @@ +require abiword-2.5.inc + +EXTRA_OECONF += "--enable-embedded" + +S = "${WORKDIR}/abiword-${PV}" + +RCONFLICTS = "abiword" +RPROVIDES += "abiword" + + diff --git a/meta-demoapps/recipes-gnome/abiword/abiword.inc b/meta-demoapps/recipes-gnome/abiword/abiword.inc new file mode 100644 index 0000000000..d2fabf931c --- /dev/null +++ b/meta-demoapps/recipes-gnome/abiword/abiword.inc @@ -0,0 +1,63 @@ +DESCRIPTION = "AbiWord is free word processing program similar to Microsoft(r) Word" +SECTION = "gnome/office" +HOMEPAGE = "http://www.abiword.org"" +LICENSE = "GPLv2" + +DEPENDS = "libgsf libglade libfribidi libxml2 wv" +RRECOMMENDS = "glibc-gconv-ibm850 glibc-gconv-cp1252 \ + glibc-gconv-iso8859-15 glibc-gconv-iso8859-1" + +# Share this file between recipes that use cvs and that pull tarballs +# (one day change this to differentiate automatically based on PV and set the +# SRC_URI and S var directly) +RELURI = "http://www.abiword.org/downloads/abiword/${PV}/source/abiword-${PV}.tar.gz" +RELSRC = "${WORKDIR}/abiword-${PV}/abi" + +CVSURI = "cvs://anoncvs:anoncvs@anoncvs.abisource.com/cvsroot;module=abi" +CVSSRC = "${WORKDIR}/abi" + +#want 2.x from 2.x.y for the installation directory +SHRT_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}" + +FILES_${PN} += " \ + ${datadir}/icons/* \ + ${datadir}/mime-info \ + ${datadir}/abiword-${SHRT_VER}/glade \ + ${datadir}/abiword-${SHRT_VER}/system.profile-en \ + ${datadir}/abiword-${SHRT_VER}/system.profile-en-GB \ +# ${datadir}/abiword-${SHRT_VER}/templates/normal.awt \ +# ${datadir}/abiword-${SHRT_VER}/templates/normal.awt-en_GB \ + " + +inherit autotools pkgconfig + +PARALLEL_MAKE = "" + +# This is a minimalistic AbiWord build +# +# if you are planning to build plugins, make sure to comment out the +# --disable-exports options + +EXTRA_OECONF = " --enable-embedded=poky \ + --disable-printing \ + --with-sys-wv \ + --disable-exports \ + --disable-spellcheck" + +# TODO -- refactor this, so that instead of two strings and profiles +# packages we have lots of locale packages, each with a set of strings and +# a profile +# +PACKAGES += " abiword-strings abiword-systemprofiles" + +FILES_abiword-strings += "${datadir}/abiword-${SHRT_VER}/strings" +FILES_abiword-systemprofiles += "${datadir}/abiword-${SHRT_VER}/system.profile*" + +# AbiWord configure.ac does not play nicely with autoreconf +# so use the autogen.sh script that comes with AbiWord +# +do_configure() { + cd ${S} + export NOCONFIGURE="no"; ./autogen.sh + oe_runconf +} diff --git a/meta-demoapps/recipes-gnome/abiword/abiword_2.5.2.bb b/meta-demoapps/recipes-gnome/abiword/abiword_2.5.2.bb new file mode 100644 index 0000000000..566d0fa203 --- /dev/null +++ b/meta-demoapps/recipes-gnome/abiword/abiword_2.5.2.bb @@ -0,0 +1,5 @@ +require abiword-2.5.inc + +PR = "r1" + +RCONFLICTS = "abiword-embedded" diff --git a/meta-demoapps/recipes-gnome/abiword/abiword_cvs.bb b/meta-demoapps/recipes-gnome/abiword/abiword_cvs.bb new file mode 100644 index 0000000000..e0e3bd7d60 --- /dev/null +++ b/meta-demoapps/recipes-gnome/abiword/abiword_cvs.bb @@ -0,0 +1,9 @@ +require abiword.inc + +PV="2.5.0+cvs${SRCDATE}" +PR = "r3" + +SRC_URI = "${CVSURI}" + +S = "${CVSSRC}" + diff --git a/meta-demoapps/recipes-gnome/gcalctool/gcalctool/fix-includedir.patch b/meta-demoapps/recipes-gnome/gcalctool/gcalctool/fix-includedir.patch new file mode 100644 index 0000000000..aeb02ab2c1 --- /dev/null +++ b/meta-demoapps/recipes-gnome/gcalctool/gcalctool/fix-includedir.patch @@ -0,0 +1,31 @@ +--- + Makefile.am | 2 +- + gcalctool/Makefile.am | 2 -- + 2 files changed, 1 insertion(+), 3 deletions(-) + +Index: gcalctool-5.8.17/gcalctool/Makefile.am +=================================================================== +--- gcalctool-5.8.17.orig/gcalctool/Makefile.am 2005-12-19 15:46:57.000000000 +0000 ++++ gcalctool-5.8.17/gcalctool/Makefile.am 2007-05-16 16:03:26.000000000 +0100 +@@ -1,8 +1,6 @@ + ## Process this file with automake to produce Makefile.in + + INCLUDES = \ +- -I$(includedir) \ +- -DG_DISABLE_DEPRECATED \ + -DGDK_PIXBUF_DISABLE_DEPRECATED \ + -DGDK_DISABLE_DEPRECATED \ + -DGNOME_DISABLE_DEPRECATED \ +Index: gcalctool-5.8.17/Makefile.am +=================================================================== +--- gcalctool-5.8.17.orig/Makefile.am 2007-05-16 15:35:44.000000000 +0100 ++++ gcalctool-5.8.17/Makefile.am 2007-05-16 16:06:46.000000000 +0100 +@@ -29,7 +29,7 @@ DISTCLEANFILES = \ + gnome-doc-utils.make \ + gcalctool.desktop + +-SUBDIRS = po gcalctool help ++SUBDIRS = po gcalctool + + SCHEMAS_FILE = gcalctool.schemas + diff --git a/meta-demoapps/recipes-gnome/gcalctool/gcalctool_5.7.32.bb b/meta-demoapps/recipes-gnome/gcalctool/gcalctool_5.7.32.bb new file mode 100644 index 0000000000..f12e6c402a --- /dev/null +++ b/meta-demoapps/recipes-gnome/gcalctool/gcalctool_5.7.32.bb @@ -0,0 +1,13 @@ +LICENSE = "GPL" +SECTION = "x11" +DEPENDS = "gtk+" +DESCRIPTION = "gcalctool is a powerful calculator" +PR = "r2" + +SRC_URI = "http://download.gnome.org/sources/${PN}/5.7/${PN}-${PV}.tar.gz \ + file://makefile-fix.diff;patch=1\ + file://fix-includedir.patch;patch=1" + +inherit autotools pkgconfig + +EXTRA_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 new file mode 100644 index 0000000000..c72860c8f5 --- /dev/null +++ b/meta-demoapps/recipes-gnome/gcalctool/gcalctool_5.8.17.bb @@ -0,0 +1,12 @@ +LICENSE = "GPL" +SECTION = "x11" +DEPENDS = "gtk+ gnome-doc-utils" +DESCRIPTION = "gcalctool is a powerful calculator" +PR = "r0" + +SRC_URI = "http://download.gnome.org/sources/${PN}/5.8/${PN}-${PV}.tar.gz \ + file://fix-includedir.patch;patch=1" + +inherit autotools pkgconfig + +EXTRA_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 new file mode 100644 index 0000000000..01b4f64191 --- /dev/null +++ b/meta-demoapps/recipes-gnome/gnome/gnome-settings-daemon/configurefix.patch @@ -0,0 +1,30 @@ +Index: gnome-settings-daemon-2.26.1/configure.ac +=================================================================== +--- gnome-settings-daemon-2.26.1.orig/configure.ac 2009-09-16 22:57:31.000000000 +0100 ++++ gnome-settings-daemon-2.26.1/configure.ac 2009-09-16 22:58:45.000000000 +0100 +@@ -133,9 +133,6 @@ + # + AC_DEFUN([AC_CHECK_X_HEADERS], [ + ac_save_CPPFLAGS="$CPPFLAGS" +- if test \! -z "$includedir" ; then +- CPPFLAGS="$CPPFLAGS -I$includedir" +- fi + CPPFLAGS="$CPPFLAGS $X_CFLAGS" + AC_CHECK_HEADERS([$1],[$2],[$3],[$4]) + CPPFLAGS="$ac_save_CPPFLAGS"]) +@@ -148,15 +145,9 @@ + ac_save_LDFLAGS="$LDFLAGS" + # ac_save_LIBS="$LIBS" + +- if test \! -z "$includedir" ; then +- CPPFLAGS="$CPPFLAGS -I$includedir" +- fi + # note: $X_CFLAGS includes $x_includes + CPPFLAGS="$CPPFLAGS $X_CFLAGS" + +- if test \! -z "$libdir" ; then +- LDFLAGS="$LDFLAGS -L$libdir" +- fi + # note: $X_LIBS includes $x_libraries + LDFLAGS="$LDFLAGS $ALL_X_LIBS" + 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 new file mode 100644 index 0000000000..d3fd76c621 --- /dev/null +++ b/meta-demoapps/recipes-gnome/gnome/gnome-settings-daemon/desktop-moblin.patch @@ -0,0 +1,11 @@ +--- gnome-settings-daemon-2.26.1/data/gnome-settings-daemon.desktop.in.in~ 2009-04-24 20:59:51.000000000 -0700 ++++ gnome-settings-daemon-2.26.1/data/gnome-settings-daemon.desktop.in.in 2009-04-24 20:59:51.000000000 -0700 +@@ -2,7 +2,7 @@ + Type=Application + _Name=GNOME Settings Daemon + Exec=@LIBEXECDIR@/gnome-settings-daemon +-OnlyShowIn=GNOME; ++OnlyShowIn=GNOME;MOBLIN; + X-GNOME-Autostart-Phase=Initialization + X-GNOME-Autostart-Notify=true + 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 new file mode 100644 index 0000000000..8e1d0ce9ce --- /dev/null +++ b/meta-demoapps/recipes-gnome/gnome/gnome-settings-daemon/gnome-settings-daemon-2.24.0-catch-deviceadded.patch @@ -0,0 +1,19 @@ +============================================================ + Listen for DeviceAdded in addition to DeviceEnabled + + This should help address problems like left-handed +mouse, and acceleration settings getting lost after +resume, or when new devices gets plugged in. + +diff --git a/plugins/mouse/gsd-mouse-manager.c b/plugins/mouse/gsd-mouse-manager.c +--- a/plugins/mouse/gsd-mouse-manager.c ++++ b/plugins/mouse/gsd-mouse-manager.c +@@ -320,7 +320,7 @@ devicepresence_filter (GdkXEvent *xevent, + if (xev->type == xi_presence) + { + XDevicePresenceNotifyEvent *dpn = (XDevicePresenceNotifyEvent *) xev; +- if (dpn->devchange == DeviceEnabled) ++ if (dpn->devchange == DeviceEnabled || dpn->devchange == DeviceAdded) + set_mouse_settings ((GsdMouseManager *) data); + } + 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 new file mode 100644 index 0000000000..d77063eba7 --- /dev/null +++ b/meta-demoapps/recipes-gnome/gnome/gnome-settings-daemon/gnome-settings-daemon-fix-gthread.patch @@ -0,0 +1,13 @@ +Index: gnome-settings-daemon-2.25.90/configure.ac +=================================================================== +--- gnome-settings-daemon-2.25.90.orig/configure.ac ++++ gnome-settings-daemon-2.25.90/configure.ac +@@ -85,6 +85,8 @@ AC_PATH_PROG(GCONFTOOL, gconftool-2) + + AM_GCONF_SOURCE_2 + ++AC_CHECK_LIB(gthread-2.0, g_thread_init) ++ + dnl --------------------------------------------------------------------------- + dnl - Check for libnotify + 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 new file mode 100644 index 0000000000..1aff2d6d6f --- /dev/null +++ b/meta-demoapps/recipes-gnome/gnome/gnome-settings-daemon/mojito-cleanup.patch @@ -0,0 +1,74 @@ +diff --git a/plugins/housekeeping/gsd-housekeeping-manager.c b/plugins/housekeeping/gsd-housekeeping-manager.c +index f84cfad..e8f474a 100644 +--- a/plugins/housekeeping/gsd-housekeeping-manager.c ++++ b/plugins/housekeeping/gsd-housekeeping-manager.c +@@ -85,9 +85,13 @@ thumb_data_free (gpointer data) + } + } + ++typedef enum { ++ HASH, ++ HASH_PNG ++} FileType; + + static GList * +-read_dir_for_purge (const char *path, GList *files) ++read_dir_for_purge (const char *path, GList *files, FileType type) + { + GFile *read_path; + GFileEnumerator *enum_dir; +@@ -105,9 +109,20 @@ read_dir_for_purge (const char *path, GList *files) + GFileInfo *info; + while ((info = g_file_enumerator_next_file (enum_dir, NULL, NULL)) != NULL) { + const char *name; ++ gboolean prune = FALSE; ++ + name = g_file_info_get_name (info); + +- if (strlen (name) == 36 && strcmp (name + 32, ".png") == 0) { ++ switch (type) { ++ case HASH: ++ prune = (strlen (name) == 36); ++ break; ++ case HASH_PNG: ++ prune = (strlen (name) == 36 && strcmp (name + 32, ".png") == 0); ++ break; ++ } ++ ++ if (prune) { + ThumbData *td; + GFile *entry; + char *entry_path; +@@ -197,14 +212,14 @@ purge_thumbnail_cache (void) + ".thumbnails", + "normal", + NULL); +- files = read_dir_for_purge (path, NULL); ++ files = read_dir_for_purge (path, NULL, HASH_PNG); + g_free (path); + + path = g_build_filename (g_get_home_dir (), + ".thumbnails", + "large", + NULL); +- files = read_dir_for_purge (path, files); ++ files = read_dir_for_purge (path, files, HASH_PNG); + g_free (path); + + path = g_build_filename (g_get_home_dir (), +@@ -212,7 +227,14 @@ purge_thumbnail_cache (void) + "fail", + "gnome-thumbnail-factory", + NULL); +- files = read_dir_for_purge (path, files); ++ files = read_dir_for_purge (path, files, HASH_PNG); ++ g_free (path); ++ ++ path = g_build_filename (g_get_user_cache_dir (), ++ "mojito", ++ "thumbnails", ++ NULL); ++ files = read_dir_for_purge (path, files, HASH); + g_free (path); + + g_get_current_time (¤t_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 new file mode 100644 index 0000000000..67f056b505 --- /dev/null +++ b/meta-demoapps/recipes-gnome/gnome/gnome-settings-daemon/mount-plugin.patch @@ -0,0 +1,618 @@ +diff --git a/configure.ac b/configure.ac +index 135f2ce..ba737a5 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -356,6 +356,7 @@ plugins/keybindings/Makefile + plugins/keyboard/Makefile + plugins/media-keys/Makefile + plugins/media-keys/cut-n-paste/Makefile ++plugins/mount/Makefile + plugins/mouse/Makefile + plugins/screensaver/Makefile + plugins/sound/Makefile +diff --git a/data/gnome-settings-daemon.schemas.in b/data/gnome-settings-daemon.schemas.in +index 4920ae3..502e9e6 100644 +--- a/data/gnome-settings-daemon.schemas.in ++++ b/data/gnome-settings-daemon.schemas.in +@@ -557,5 +557,29 @@ + + + ++ ++ /schemas/apps/gnome_settings_daemon/plugins/mount/active ++ /apps/gnome_settings_daemon/plugins/mount/active ++ gnome-settings-daemon ++ bool ++ TRUE ++ ++ Enable mount plugin ++ Set to True to enable the plugin to automount media. ++ ++ ++ ++ /schemas/apps/gnome_settings_daemon/plugins/mount/priority ++ /apps/gnome_settings_daemon/plugins/mount/priority ++ gnome-settings-daemon ++ int ++ 99 ++ ++ ++ ++ ++ ++ ++ + + +diff --git a/plugins/Makefile.am b/plugins/Makefile.am +index 2d33061..46615c1 100644 +--- a/plugins/Makefile.am ++++ b/plugins/Makefile.am +@@ -11,6 +11,7 @@ SUBDIRS = \ + keybindings \ + keyboard \ + media-keys \ ++ mount \ + mouse \ + screensaver \ + sound \ +diff --git a/plugins/mount/Makefile.am b/plugins/mount/Makefile.am +new file mode 100644 +index 0000000..188c83d +--- /dev/null ++++ b/plugins/mount/Makefile.am +@@ -0,0 +1,39 @@ ++plugin_LTLIBRARIES = \ ++ libmount.la ++ ++libmount_la_SOURCES = \ ++ gsd-mount-manager.c \ ++ gsd-mount-manager.h \ ++ gsd-mount-plugin.c \ ++ gsd-mount-plugin.h ++ ++libmount_la_CPPFLAGS = \ ++ -I$(top_srcdir)/gnome-settings-daemon \ ++ -DGNOME_SETTINGS_LOCALEDIR=\""$(datadir)/locale"\" \ ++ $(AM_CPPFLAGS) ++ ++libmount_la_CFLAGS = \ ++ $(SETTINGS_PLUGIN_CFLAGS) \ ++ $(AM_CFLAGS) ++ ++libmount_la_LDFLAGS = \ ++ $(GSD_PLUGIN_LDFLAGS) ++ ++libmount_la_LIBADD = \ ++ $(SETTINGS_PLUGIN_LIBS) ++ ++plugin_in_files = \ ++ mount.gnome-settings-plugin.in ++ ++plugin_DATA = $(plugin_in_files:.gnome-settings-plugin.in=.gnome-settings-plugin) ++ ++EXTRA_DIST = \ ++ $(plugin_in_files) ++ ++CLEANFILES = \ ++ $(plugin_DATA) ++ ++DISTCLEANFILES = \ ++ $(plugin_DATA) ++ ++@GSD_INTLTOOL_PLUGIN_RULE@ +diff --git a/plugins/mount/gsd-mount-manager.c b/plugins/mount/gsd-mount-manager.c +new file mode 100644 +index 0000000..a768f03 +--- /dev/null ++++ b/plugins/mount/gsd-mount-manager.c +@@ -0,0 +1,261 @@ ++/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- ++ * ++ * Copyright (C) 2009 Intel Corporation ++ * ++ * This program is free software; you can redistribute it and/or modify it under ++ * the terms of the GNU General Public License as published by the Free Software ++ * Foundation; either version 2 of the License, or (at your option) any later ++ * version. ++ * ++ * This program is distributed in the hope that it will be useful, but WITHOUT ++ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS ++ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more ++ * details. ++ * ++ * You should have received a copy of the GNU General Public License along with ++ * this program; if not, write to the Free Software Foundation, Inc., 59 Temple ++ * Place - Suite 330, Boston, MA 02111-1307, USA. ++ * ++ */ ++ ++#include ++ ++#include ++#include ++#include ++#include ++ ++#include "gsd-mount-manager.h" ++ ++#define GSD_MOUNT_MANAGER_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GSD_TYPE_MOUNT_MANAGER, GsdMountManagerPrivate)) ++ ++struct GsdMountManagerPrivate ++{ ++ GVolumeMonitor *monitor; ++}; ++ ++G_DEFINE_TYPE (GsdMountManager, gsd_mount_manager, G_TYPE_OBJECT) ++ ++static gpointer manager_object = NULL; ++ ++#if 0 ++static void ++drive_connected_cb (GVolumeMonitor *monitor, ++ GDrive *drive, ++ GsdMountManager *manager) ++{ ++ /* TODO: listen for the eject button */ ++} ++#endif ++ ++static void ++volume_mounted_cb (GObject *source_object, GAsyncResult *result, gpointer user_data) ++{ ++ GError *error = NULL; ++ char *name; ++ ++ name = g_volume_get_name (G_VOLUME (source_object)); ++ ++ if (!g_volume_mount_finish (G_VOLUME (source_object), result, &error)) { ++ g_debug ("Failed to mount '%s': %s", name, error->message); ++ ++ if (error->code != G_IO_ERROR_FAILED_HANDLED) { ++ char *primary; ++ GtkWidget *dialog; ++ ++ primary = g_strdup_printf (_("Unable to mount %s"), name); ++ ++ dialog = gtk_message_dialog_new (NULL, 0, ++ GTK_MESSAGE_ERROR, ++ GTK_BUTTONS_CLOSE, ++ primary); ++ ++ g_free (primary); ++ gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), error->message); ++ ++ gtk_dialog_run (GTK_DIALOG (dialog)); ++ gtk_widget_destroy (dialog); ++ } ++ g_error_free (error); ++ } else { ++ g_debug ("Mounted '%s'", name); ++ } ++ ++ g_free (name); ++} ++ ++static void ++volume_added_cb (GVolumeMonitor *monitor, ++ GVolume *volume, ++ GsdMountManager *manager) ++{ ++ char *name; ++ ++ name = g_volume_get_name (volume); ++ g_debug ("Volme '%s' added", name); ++ ++ if (g_volume_can_mount (volume)) { ++ GMountOperation *mount_op; ++ ++ g_debug ("Mounting '%s'", name); ++ ++ mount_op = gtk_mount_operation_new (NULL); ++ g_volume_mount (volume, G_MOUNT_MOUNT_NONE, ++ mount_op, NULL, ++ volume_mounted_cb, manager); ++ } ++ ++ g_free (name); ++} ++ ++static void ++mount_added_cb (GVolumeMonitor *monitor, ++ GMount *mount, ++ GsdMountManager *manager) ++{ ++ GFile *file; ++ char *uri; ++ ++ file = g_mount_get_root (mount); ++ uri = g_file_get_uri (file); ++ ++ g_debug ("%s mounted, starting file manager", uri); ++ ++ /* TODO: error */ ++ gtk_show_uri (NULL, uri, GDK_CURRENT_TIME, NULL); ++ ++ g_free (uri); ++ g_object_unref (file); ++} ++ ++static void ++mount_existing_volumes (GsdMountManager *manager) ++{ ++ /* TODO: iterate over drives to hook up eject */ ++ GList *l; ++ ++ g_debug ("Mounting existing volumes"); ++ ++ l = g_volume_monitor_get_volumes (manager->priv->monitor); ++ while (l) { ++ GVolume *volume = l->data; ++ GMount *mount; ++ ++ mount = g_volume_get_mount (volume); ++ if (mount == NULL && ++ g_volume_can_mount (volume) && ++ g_volume_should_automount (volume)) { ++ GMountOperation *mount_op; ++ char *name; ++ ++ name = g_volume_get_name (volume); ++ g_debug ("Mounting '%s'", name); ++ g_free (name); ++ ++ mount_op = gtk_mount_operation_new (NULL); ++ g_volume_mount (volume, G_MOUNT_MOUNT_NONE, ++ mount_op, NULL, ++ volume_mounted_cb, manager); ++ } ++ ++ if (mount) ++ g_object_unref (mount); ++ g_object_unref (volume); ++ l = g_list_delete_link (l, l); ++ } ++} ++ ++gboolean ++gsd_mount_manager_start (GsdMountManager *manager, ++ GError **error) ++{ ++ g_debug ("Starting mount manager"); ++ ++ manager->priv->monitor = g_volume_monitor_get (); ++ ++#if 0 ++ g_signal_connect_object (manager->priv->monitor, "drive-connected", ++ G_CALLBACK (drive_connected_cb), manager, 0); ++#endif ++ g_signal_connect_object (manager->priv->monitor, "volume-added", ++ G_CALLBACK (volume_added_cb), manager, 0); ++ g_signal_connect_object (manager->priv->monitor, "mount-added", ++ G_CALLBACK (mount_added_cb), manager, 0); ++ ++ /* TODO: handle eject buttons */ ++ ++#if 0 ++ mount_existing_volumes (manager); ++#endif ++ ++ return TRUE; ++} ++ ++void ++gsd_mount_manager_stop (GsdMountManager *manager) ++{ ++ g_debug ("Stopping mount manager"); ++} ++ ++static void ++gsd_mount_manager_dispose (GObject *object) ++{ ++ GsdMountManager *manager = GSD_MOUNT_MANAGER (object); ++ ++ if (manager->priv->monitor) { ++ g_signal_handlers_disconnect_by_func ++ (manager->priv->monitor, volume_added_cb, manager); ++ g_signal_handlers_disconnect_by_func ++ (manager->priv->monitor, mount_added_cb, manager); ++ g_object_unref (manager->priv->monitor); ++ manager->priv->monitor = NULL; ++ } ++ ++ G_OBJECT_CLASS (gsd_mount_manager_parent_class)->dispose (object); ++} ++ ++static void ++gsd_mount_manager_init (GsdMountManager *manager) ++{ ++ manager->priv = GSD_MOUNT_MANAGER_GET_PRIVATE (manager); ++} ++ ++static void ++gsd_mount_manager_finalize (GObject *object) ++{ ++ GsdMountManager *mount_manager; ++ ++ g_return_if_fail (object != NULL); ++ g_return_if_fail (GSD_IS_MOUNT_MANAGER (object)); ++ ++ mount_manager = GSD_MOUNT_MANAGER (object); ++ ++ g_return_if_fail (mount_manager->priv != NULL); ++ ++ G_OBJECT_CLASS (gsd_mount_manager_parent_class)->finalize (object); ++} ++ ++static void ++gsd_mount_manager_class_init (GsdMountManagerClass *klass) ++{ ++ GObjectClass *object_class = G_OBJECT_CLASS (klass); ++ ++ object_class->dispose = gsd_mount_manager_dispose; ++ object_class->finalize = gsd_mount_manager_finalize; ++ ++ g_type_class_add_private (klass, sizeof (GsdMountManagerPrivate)); ++} ++ ++GsdMountManager * ++gsd_mount_manager_new (void) ++{ ++ if (manager_object != NULL) { ++ g_object_ref (manager_object); ++ } else { ++ manager_object = g_object_new (GSD_TYPE_MOUNT_MANAGER, NULL); ++ g_object_add_weak_pointer (manager_object, ++ (gpointer *) &manager_object); ++ } ++ ++ return GSD_MOUNT_MANAGER (manager_object); ++} +diff --git a/plugins/mount/gsd-mount-manager.h b/plugins/mount/gsd-mount-manager.h +new file mode 100644 +index 0000000..9093fff +--- /dev/null ++++ b/plugins/mount/gsd-mount-manager.h +@@ -0,0 +1,58 @@ ++/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- ++ * ++ * Copyright (C) 2009 Intel Corporation ++ * ++ * This program is free software; you can redistribute it and/or modify it under ++ * the terms of the GNU General Public License as published by the Free Software ++ * Foundation; either version 2 of the License, or (at your option) any later ++ * version. ++ * ++ * This program is distributed in the hope that it will be useful, but WITHOUT ++ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS ++ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more ++ * details. ++ * ++ * You should have received a copy of the GNU General Public License along with ++ * this program; if not, write to the Free Software Foundation, Inc., 59 Temple ++ * Place - Suite 330, Boston, MA 02111-1307, USA. ++ * ++ */ ++ ++#ifndef __GSD_MOUNT_MANAGER_H ++#define __GSD_MOUNT_MANAGER_H ++ ++#include ++ ++G_BEGIN_DECLS ++ ++#define GSD_TYPE_MOUNT_MANAGER (gsd_mount_manager_get_type ()) ++#define GSD_MOUNT_MANAGER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSD_TYPE_MOUNT_MANAGER, GsdMountManager)) ++#define GSD_MOUNT_MANAGER_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GSD_TYPE_MOUNT_MANAGER, GsdMountManagerClass)) ++#define GSD_IS_MOUNT_MANAGER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSD_TYPE_MOUNT_MANAGER)) ++#define GSD_IS_MOUNT_MANAGER_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GSD_TYPE_MOUNT_MANAGER)) ++#define GSD_MOUNT_MANAGER_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GSD_TYPE_MOUNT_MANAGER, GsdMountManagerClass)) ++ ++typedef struct GsdMountManagerPrivate GsdMountManagerPrivate; ++ ++typedef struct ++{ ++ GObject parent; ++ GsdMountManagerPrivate *priv; ++} GsdMountManager; ++ ++typedef struct ++{ ++ GObjectClass parent_class; ++} GsdMountManagerClass; ++ ++GType gsd_mount_manager_get_type (void); ++ ++GsdMountManager * gsd_mount_manager_new (void); ++ ++gboolean gsd_mount_manager_start (GsdMountManager *manager, ++ GError **error); ++void gsd_mount_manager_stop (GsdMountManager *manager); ++ ++G_END_DECLS ++ ++#endif /* __GSD_MOUNT_MANAGER_H */ +diff --git a/plugins/mount/gsd-mount-plugin.c b/plugins/mount/gsd-mount-plugin.c +new file mode 100644 +index 0000000..af295a5 +--- /dev/null ++++ b/plugins/mount/gsd-mount-plugin.c +@@ -0,0 +1,103 @@ ++/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- ++ * ++ * Copyright (C) 2009 Intel Corporation ++ * ++ * This program is free software; you can redistribute it and/or modify it under ++ * the terms of the GNU General Public License as published by the Free Software ++ * Foundation; either version 2, or (at your option) any later version. ++ * ++ * This program is distributed in the hope that it will be useful, but WITHOUT ++ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS ++ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more ++ * details. ++ * ++ * You should have received a copy of the GNU General Public License along with ++ * this program; if not, write to the Free Software Foundation, Inc., 59 Temple ++ * Place - Suite 330, Boston, MA 02111-1307, USA. ++ * ++ */ ++ ++#include ++ ++#include ++#include ++#include ++ ++#include "gsd-mount-plugin.h" ++#include "gsd-mount-manager.h" ++ ++struct GsdMountPluginPrivate { ++ GsdMountManager *manager; ++}; ++ ++#define GSD_MOUNT_PLUGIN_GET_PRIVATE(object) (G_TYPE_INSTANCE_GET_PRIVATE ((object), GSD_TYPE_MOUNT_PLUGIN, GsdMountPluginPrivate)) ++ ++GNOME_SETTINGS_PLUGIN_REGISTER (GsdMountPlugin, gsd_mount_plugin) ++ ++static void ++gsd_mount_plugin_init (GsdMountPlugin *plugin) ++{ ++ plugin->priv = GSD_MOUNT_PLUGIN_GET_PRIVATE (plugin); ++ ++ g_debug ("GsdMountPlugin initializing"); ++ ++ plugin->priv->manager = gsd_mount_manager_new (); ++} ++ ++static void ++gsd_mount_plugin_finalize (GObject *object) ++{ ++ GsdMountPlugin *plugin; ++ ++ g_return_if_fail (object != NULL); ++ g_return_if_fail (GSD_IS_MOUNT_PLUGIN (object)); ++ ++ g_debug ("GsdMountPlugin finalizing"); ++ ++ plugin = GSD_MOUNT_PLUGIN (object); ++ ++ g_return_if_fail (plugin->priv != NULL); ++ ++ if (plugin->priv->manager != NULL) { ++ g_object_unref (plugin->priv->manager); ++ } ++ ++ G_OBJECT_CLASS (gsd_mount_plugin_parent_class)->finalize (object); ++} ++ ++static void ++impl_activate (GnomeSettingsPlugin *plugin) ++{ ++ gboolean res; ++ GError *error; ++ ++ g_debug ("Activating mount plugin"); ++ ++ error = NULL; ++ res = gsd_mount_manager_start (GSD_MOUNT_PLUGIN (plugin)->priv->manager, &error); ++ if (! res) { ++ g_warning ("Unable to start mount manager: %s", error->message); ++ g_error_free (error); ++ } ++} ++ ++static void ++impl_deactivate (GnomeSettingsPlugin *plugin) ++{ ++ g_debug ("Deactivating mount plugin"); ++ gsd_mount_manager_stop (GSD_MOUNT_PLUGIN (plugin)->priv->manager); ++} ++ ++static void ++gsd_mount_plugin_class_init (GsdMountPluginClass *klass) ++{ ++ GObjectClass *object_class = G_OBJECT_CLASS (klass); ++ GnomeSettingsPluginClass *plugin_class = GNOME_SETTINGS_PLUGIN_CLASS (klass); ++ ++ object_class->finalize = gsd_mount_plugin_finalize; ++ ++ plugin_class->activate = impl_activate; ++ plugin_class->deactivate = impl_deactivate; ++ ++ g_type_class_add_private (klass, sizeof (GsdMountPluginPrivate)); ++} +diff --git a/plugins/mount/gsd-mount-plugin.h b/plugins/mount/gsd-mount-plugin.h +new file mode 100644 +index 0000000..526a41f +--- /dev/null ++++ b/plugins/mount/gsd-mount-plugin.h +@@ -0,0 +1,55 @@ ++/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- ++ * ++ * Copyright (C) 2009 Intel Corporation ++ * ++ * This program is free software; you can redistribute it and/or modify it under ++ * the terms of the GNU General Public License as published by the Free Software ++ * Foundation; either version 2, or (at your option) any later version. ++ * ++ * This program is distributed in the hope that it will be useful, but WITHOUT ++ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS ++ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more ++ * details. ++ * ++ * You should have received a copy of the GNU General Public License along with ++ * this program; if not, write to the Free Software Foundation, Inc., 59 Temple ++ * Place - Suite 330, Boston, MA 02111-1307, USA. ++ * ++ */ ++ ++#ifndef __GSD_MOUNT_PLUGIN_H__ ++#define __GSD_MOUNT_PLUGIN_H__ ++ ++#include ++#include ++#include ++ ++G_BEGIN_DECLS ++ ++#define GSD_TYPE_MOUNT_PLUGIN (gsd_mount_plugin_get_type ()) ++#define GSD_MOUNT_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSD_TYPE_MOUNT_PLUGIN, GsdMountPlugin)) ++#define GSD_MOUNT_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GSD_TYPE_MOUNT_PLUGIN, GsdMountPluginClass)) ++#define GSD_IS_MOUNT_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSD_TYPE_MOUNT_PLUGIN)) ++#define GSD_IS_MOUNT_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GSD_TYPE_MOUNT_PLUGIN)) ++#define GSD_MOUNT_PLUGIN_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GSD_TYPE_MOUNT_PLUGIN, GsdMountPluginClass)) ++ ++typedef struct GsdMountPluginPrivate GsdMountPluginPrivate; ++ ++typedef struct ++{ ++ GnomeSettingsPlugin parent; ++ GsdMountPluginPrivate *priv; ++} GsdMountPlugin; ++ ++typedef struct ++{ ++ GnomeSettingsPluginClass parent_class; ++} GsdMountPluginClass; ++ ++GType gsd_mount_plugin_get_type (void) G_GNUC_CONST; ++ ++G_MODULE_EXPORT GType register_gnome_settings_plugin (GTypeModule *module); ++ ++G_END_DECLS ++ ++#endif /* __GSD_MOUNT_PLUGIN_H__ */ +diff --git a/plugins/mount/mount.gnome-settings-plugin.in b/plugins/mount/mount.gnome-settings-plugin.in +new file mode 100644 +index 0000000..ca29ad1 +--- /dev/null ++++ b/plugins/mount/mount.gnome-settings-plugin.in +@@ -0,0 +1,8 @@ ++[GNOME Settings Plugin] ++Module=mount ++IAge=0 ++_Name=Mount ++_Description=Mount removable media ++Authors=Ross Burton ++Copyright=Copyright © 2009 Intel Corporation ++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 new file mode 100644 index 0000000000..cb216b2753 --- /dev/null +++ b/meta-demoapps/recipes-gnome/gnome/gnome-settings-daemon_2.26.1.bb @@ -0,0 +1,25 @@ +DESCRIPTION = "GNOME settings daemon" +LICENSE = "GPL" +DEPENDS = "libxklavier gnome-doc-utils gtk+ libglade libgnomekbd gnome-desktop librsvg libxml2 libart-lgpl" + +PR = "r3" + +inherit gnome + +SRC_URI += "file://desktop-moblin.patch;patch=1 \ + file://gnome-settings-daemon-fix-gthread.patch;patch=1 \ + file://mount-plugin.patch;patch=1 \ + file://gnome-settings-daemon-2.24.0-catch-deviceadded.patch;patch=1 \ + file://configurefix.patch;patch=1 \ + file://mojito-cleanup.patch;patch=1" + +EXTRA_OECONF = "--disable-esd --x-includes=${STAGING_INCDIR} --x-libraries=${STAGING_LIBDIR}" +ASNEEDED = "" + +FILES_${PN} += "${libdir}/gnome-settings-daemon-2.0/*.so ${libdir}/gnome-settings-daemon-2.0/*plugin \ + ${datadir}/dbus-1/ \ + ${datadir}/icon* \ + ${datadir}/xsession*" + +FILES_${PN}-dbg += "${libdir}/gnome-settings-daemon-2.0/.debug" +FILES_${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 new file mode 100644 index 0000000000..0358ed8a64 --- /dev/null +++ b/meta-demoapps/recipes-gnome/gnome/gnome-terminal/30f29e7d8e1b67c40cd18a7155ba30c4382692d5.patch @@ -0,0 +1,20 @@ +From 30f29e7d8e1b67c40cd18a7155ba30c4382692d5 Mon Sep 17 00:00:00 2001 +From: Seán de Búrca +Date: Fri, 07 Aug 2009 00:38:52 +0000 +Subject: Remove useless Plural-Forms line which breaks build with gnome-doc-utils master + +--- +diff --git a/help/el/el.po b/help/el/el.po +index ab77264..635b68f 100644 +--- a/help/el/el.po ++++ b/help/el/el.po +@@ -10,7 +10,6 @@ msgstr "" + "MIME-Version: 1.0\n" + "Content-Type: text/plain; charset=UTF-8\n" + "Content-Transfer-Encoding: 8bit\n" +-"Plural-Forms: 2\n" + "X-Poedit-Language: Greek\n" + "X-Poedit-Country: GREECE\n" + "X-Generator: Lokalize 0.2\n" +-- +cgit 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 new file mode 100644 index 0000000000..73f0b99eac --- /dev/null +++ b/meta-demoapps/recipes-gnome/gnome/gnome-terminal_2.26.3.bb @@ -0,0 +1,16 @@ +DESCRIPTION = "GNOME Terminal" +LICENSE = "GPL" +DEPENDS = "gtk+ glib-2.0 startup-notification dbus-glib vte" +PR = "r2" + +inherit gnome + +SRC_URI += "file://30f29e7d8e1b67c40cd18a7155ba30c4382692d5.patch;patch=1" + +EXTRA_OECONF += "--disable-scrollkeeper" + +# Remove an autogenerated file that needs to be rebuilt +do_configure_prepend () { + rm -f ${S}/src/terminal-type-builtins.c +} + diff --git a/meta-demoapps/recipes-gnome/gnome/libgnomecanvas_2.20.0.bb b/meta-demoapps/recipes-gnome/gnome/libgnomecanvas_2.20.0.bb new file mode 100644 index 0000000000..266d44b050 --- /dev/null +++ b/meta-demoapps/recipes-gnome/gnome/libgnomecanvas_2.20.0.bb @@ -0,0 +1,14 @@ +LICENSE = "GPL" +SECTION = "x11/gnome/libs" +DESCRIPTION = "A powerful object-oriented display" +PR = "r2" + +inherit gnome + +DEPENDS = "libglade libart-lgpl virtual/gail" + +EXTRA_OECONF = "--disable-gtk-doc" + +FILES_${PN} += "${libdir}/libglade/*/libcanvas.so" +FILES_${PN}-dbg += "${libdir}/libglade/*/.debug/" +FILES_${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 new file mode 100644 index 0000000000..f2e4ec533e --- /dev/null +++ b/meta-demoapps/recipes-gnome/gnome/libgnomekbd_2.26.0.bb @@ -0,0 +1,14 @@ +DESCRIPTION = "GNOME keyboard library" +LICENSE = "LGPL" + +DEPENDS = "gconf-dbus dbus libxklavier gtk+" + +inherit gnome + +do_configure_append() { + find ${S} -name Makefile | xargs sed -i s:'-I$(includedir)':'-I.':g + find ${S} -name Makefile | xargs sed -i s:'-I/usr/include':'-I${STAGING_INCDIR}':g +} + + + diff --git a/meta-demoapps/recipes-gnome/libgsf/libgsf_1.14.5.bb b/meta-demoapps/recipes-gnome/libgsf/libgsf_1.14.5.bb new file mode 100644 index 0000000000..10b6390722 --- /dev/null +++ b/meta-demoapps/recipes-gnome/libgsf/libgsf_1.14.5.bb @@ -0,0 +1,20 @@ +LICENSE = "GPL" +SECTION = "libs" +PR = "r0" + +DEPENDS= "libxml2 bzip2 glib-2.0 zlib" +RDEPENDS = "gconf gnome-vfs" + + +PACKAGES =+ "${PN}-gnome ${PN}-gnome-dev " + +FILES_${PN}-gnome = "${libdir}/libgsf-gnome-1.so.*" +FILES_${PN}-gnome-dev = "${libdir}/libgsf-gnome-1.* ${includedir}/libgsf-1/gsf-gnome" + +inherit autotools pkgconfig gnome gconf + +EXTRA_OECONF = "\ + --without-python \ + --without-gnome \ + --disable-gtk-doc \ + --with-bz2" diff --git a/meta-demoapps/recipes-gnome/libgtkstylus/files/gtkstylus.sh b/meta-demoapps/recipes-gnome/libgtkstylus/files/gtkstylus.sh new file mode 100644 index 0000000000..b1302ede0e --- /dev/null +++ b/meta-demoapps/recipes-gnome/libgtkstylus/files/gtkstylus.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +GTK_MODULES=libgtkstylus.so + +export GTK_MODULES diff --git a/meta-demoapps/recipes-gnome/libgtkstylus/libgtkstylus_0.5.bb b/meta-demoapps/recipes-gnome/libgtkstylus/libgtkstylus_0.5.bb new file mode 100644 index 0000000000..f614048a16 --- /dev/null +++ b/meta-demoapps/recipes-gnome/libgtkstylus/libgtkstylus_0.5.bb @@ -0,0 +1,24 @@ +DESCRIPTION = "GTK plugin for stylus based systems" +SECTION = "libs" +DEPENDS = "gtk+" +LICENSE = "LGPL" +PR = "r2" + +inherit autotools + +SRC_URI = "http://burtonini.com/temp/${PN}-${PV}.tar.gz \ + file://gtkstylus.sh" + +do_install_append() { + install -d ${D}/${sysconfdir}/X11/Xsession.d + install -m 755 ${WORKDIR}/gtkstylus.sh ${D}/${sysconfdir}/X11/Xsession.d/45gtkstylus +} + +# Horrible but rpm falls over if you use '*' +GTKVER = "2.10.0" + +FILES_${PN} = "${sysconfdir} \ + ${libdir}/gtk-2.0/${GTKVER}/modules/libgtkstylus.so.*" +FILES_${PN}-dbg += "${libdir}/gtk-2.0/${GTKVER}/modules/.debug" +FILES_${PN}-dev += "${libdir}/gtk-2.0/${GTKVER}/modules/libgtkstylus.so \ + ${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 new file mode 100644 index 0000000000..136d89341f --- /dev/null +++ b/meta-demoapps/recipes-gnome/wv/wv-1.2.0/pkgconfig.patch @@ -0,0 +1,13 @@ +Index: wv-1.2.0/wv-1.0.pc.in +=================================================================== +--- wv-1.2.0.orig/wv-1.0.pc.in 2008-03-19 22:25:18.000000000 +0000 ++++ wv-1.2.0/wv-1.0.pc.in 2008-03-19 22:26:32.000000000 +0000 +@@ -6,5 +6,6 @@ + Name: wvWare + Description: Word Document Filter library and utilities + Version: @VERSION@ +-Libs: -L${libdir} -lwv @WMF_LIBS@ @XML_LIBS@ @GLIB_LIBS@ @GSF_LIBS@ @PNG_LIBS@ @ZLIB_LIBS@ @LIBS@ -lm +-Cflags: -I${includedir}/wv @GSF_CFLAGS@ ++Requires: libgsf-1 ++Libs: -L${libdir} -lwv @WMF_LIBS@ @XML_LIBS@ @PNG_LIBS@ @ZLIB_LIBS@ @LIBS@ -lm ++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 new file mode 100644 index 0000000000..c4c115b90e --- /dev/null +++ b/meta-demoapps/recipes-gnome/wv/wv_1.2.0.bb @@ -0,0 +1,14 @@ +DESCRIPTION = "Programs for accessing Microsoft Word documents" +HOMEPAGE = "http://wvware.sourceforge.net/" +LICENSE = "GPLv2" +DEPENDS = "libgsf glib-2.0" +PR = "r3" + +SRC_URI = "${SOURCEFORGE_MIRROR}/wvware/wv-${PV}.tar.gz \ + file://pkgconfig.patch;patch=1" + +inherit autotools pkgconfig + +S = "${WORKDIR}/${PN}-${PV}" + +EXTRA_OECONF = "" diff --git a/meta-demoapps/recipes-graphics/clutter/table/fixes.patch b/meta-demoapps/recipes-graphics/clutter/table/fixes.patch new file mode 100644 index 0000000000..a7cdc43713 --- /dev/null +++ b/meta-demoapps/recipes-graphics/clutter/table/fixes.patch @@ -0,0 +1,14 @@ +Index: table/Makefile +=================================================================== +--- table.orig/Makefile 2007-07-10 13:24:18.000000000 +0100 ++++ table/Makefile 2007-07-10 13:28:10.000000000 +0100 +@@ -8,7 +8,7 @@ all: table + + + table: table.o clutter-dominatrix.o clutter-video-player.o +- $(CC) -g -Wall $(CFLAGS) -o $@ table.o clutter-dominatrix.o clutter-video-player.o $(LIBS) ++ $(CC) -g -Wall $(CFLAGS) $(LDFLAGS) -o $@ table.o clutter-dominatrix.o clutter-video-player.o $(LIBS) + + clean: + rm -fr *.o table +\ No newline at end of file diff --git a/meta-demoapps/recipes-graphics/libxklavier/libxklavier/pkgconfigfix.patch b/meta-demoapps/recipes-graphics/libxklavier/libxklavier/pkgconfigfix.patch new file mode 100644 index 0000000000..4aaafb2b1e --- /dev/null +++ b/meta-demoapps/recipes-graphics/libxklavier/libxklavier/pkgconfigfix.patch @@ -0,0 +1,15 @@ +Index: libxklavier-3.7/libxklavier.pc.in +=================================================================== +--- libxklavier-3.7.orig/libxklavier.pc.in 2009-06-10 15:58:46.000000000 +0100 ++++ libxklavier-3.7/libxklavier.pc.in 2009-06-10 16:00:45.000000000 +0100 +@@ -5,7 +5,7 @@ + + Name: libxklavier + Description: libxklavier library +-Requires: libxml-2.0 ++Requires: libxml-2.0 glib-2.0 + Version: @VERSION@ +-Libs: -L${libdir} -lxklavier @GLIB_LIBS@ @XML_LIBS@ +-Cflags: -I${includedir} @GLIB_CFLAGS@ ++Libs: -L${libdir} -lxklavier ++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 new file mode 100644 index 0000000000..1d9b6f21a4 --- /dev/null +++ b/meta-demoapps/recipes-graphics/libxklavier/libxklavier_3.9.bb @@ -0,0 +1,12 @@ +DESCRIPTION = "Utility library to make using XKB easier" +SECTION = "x11/libs" +PRIORITY = "optional" +DEPENDS = "iso-codes libxml2 glib-2.0 libxkbfile" +LICENSE = "LGPL" +PR = "r2" + +SRC_URI = "${SOURCEFORGE_MIRROR}/gswitchit/libxklavier-${PV}.tar.bz2 \ + file://pkgconfigfix.patch;patch=1" + +inherit autotools + diff --git a/meta-demoapps/recipes-graphics/pong-clock/pong-clock/pong-clock-no-flicker.c b/meta-demoapps/recipes-graphics/pong-clock/pong-clock/pong-clock-no-flicker.c new file mode 100644 index 0000000000..41cebc58a7 --- /dev/null +++ b/meta-demoapps/recipes-graphics/pong-clock/pong-clock/pong-clock-no-flicker.c @@ -0,0 +1,410 @@ +/* + * Pong Clock - A clock that plays pong. + * See http://mocoloco.com/archives/001766.php for the inspiration. + * + * Copyright (C) 2005 Matthew Allum + * + * Author: Matthew Allum mallum@openedhand.com + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + */ + +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include + +/* Tweak values for different hw setups */ + +#define FPS 50 +#define RESX 40 +#define RESY 40 +#define TO_MISS_SECS 55 +#define BALLDX 16 +#define BALLDY 4 + + +typedef struct PongClock +{ + Display *xdpy; + int xscreen; + Window xwin, xwin_root; + Pixmap backbuffer; + GC xgc; + int xwin_width, xwin_height; + int pixelw, pixelh; + + int ball_x, ball_y, ball_dx, ball_dy; + int bata_y, batb_y; + Bool bata_to_miss, batb_to_miss; + +} +PongClock; + +void +get_time(int *hour, int *min, int *sec) +{ + struct timeval tv; + struct tm *localTime = NULL; + time_t actualTime; + + gettimeofday(&tv, 0); + actualTime = tv.tv_sec; + localTime = localtime(&actualTime); + + if (hour) + *hour = localTime->tm_hour; + + if (min) + *min = localTime->tm_min; + + if (sec) + *sec = localTime->tm_sec; +} + +void +draw_rect (PongClock *pong_clock, + int x, + int y, + int width, + int height) +{ + XFillRectangle (pong_clock->xdpy, + pong_clock->backbuffer, + pong_clock->xgc, + x * pong_clock->pixelw, + y * pong_clock->pixelh, + width * pong_clock->pixelw, + height * pong_clock->pixelh); +} + +void +draw_field (PongClock *pong_clock) +{ + int i; + + draw_rect (pong_clock, 0, 0, RESX+1, 1); + draw_rect (pong_clock, 0, RESY-1, RESX+1, 1); + + for (i=0; i < RESY/2; i++) + draw_rect (pong_clock, (RESX/2)-1, i*2, 2, 1); +} + +void +draw_digit (PongClock *pong_clock, + int x, + int y, + int digit) +{ + int digits[] = { 0x1f8c63f, 0x1f21086, 0x1f0fe1f, 0x1f87e1f, 0x1087e31, + 0x1f87c3f, 0x1f8fc3f, 0x84421f, 0x1f8fe3f, 0x1087e3f }; + + XRectangle rects[5*5]; + int i,j,k; + + i = 0; + + for (k=0; k<5; k++) + for (j=0; j<5; j++) + if (digits[digit] & (1 << ((k*5)+j))) + { + rects[i].x = (x + j) * pong_clock->pixelw; + rects[i].y = (y + k) * pong_clock->pixelh; + rects[i].width = pong_clock->pixelw; + rects[i].height = pong_clock->pixelh; + i++; + } + + XFillRectangles (pong_clock->xdpy, + pong_clock->backbuffer, + pong_clock->xgc, + rects, i); +} + +void +draw_time (PongClock *pong_clock) +{ + int hour, min; + + get_time(&hour, &min, NULL); + + draw_digit (pong_clock, + (RESX/2) - 14, + 5, + hour / 10 ); + + draw_digit (pong_clock, + (RESX/2) - 8, + 5, + hour % 10 ); + + draw_digit (pong_clock, + (RESX/2) + 3, + 5, + min / 10 ); + + draw_digit (pong_clock, + (RESX/2) + 9, + 5, + min % 10 ); +} + +void +draw_bat_and_ball (PongClock *pong_clock) +{ + /* ball */ + + XFillRectangle (pong_clock->xdpy, + pong_clock->backbuffer, + pong_clock->xgc, + pong_clock->ball_x, + pong_clock->ball_y, + pong_clock->pixelw, + pong_clock->pixelh); + + /* bat a */ + + XFillRectangle (pong_clock->xdpy, + pong_clock->backbuffer, + pong_clock->xgc, + 0, + pong_clock->bata_y - (2 * pong_clock->pixelh), + pong_clock->pixelw, + pong_clock->pixelh * 5); + + /* bat b */ + + XFillRectangle (pong_clock->xdpy, + pong_clock->backbuffer, + pong_clock->xgc, + (pong_clock->xwin_width - pong_clock->pixelw), + pong_clock->batb_y - (2 * pong_clock->pixelh), + pong_clock->pixelw, + pong_clock->pixelh * 5); + +} + +void +update_state (PongClock *pong_clock) +{ + int sec, min, hour; + + get_time(&hour, &min, &sec); + + /* Check ball is on field and no ones dues to miss a shot. + */ + if ( (pong_clock->ball_x < 0 && !pong_clock->bata_to_miss) + || (pong_clock->ball_x > (pong_clock->xwin_width - pong_clock->pixelw) + && !pong_clock->batb_to_miss) ) + pong_clock->ball_dx *= -1; + + if ((pong_clock->ball_y < pong_clock->pixelh) + || pong_clock->ball_y > (pong_clock->xwin_height - (2*pong_clock->pixelh))) + pong_clock->ball_dy *= -1; + + pong_clock->ball_x += pong_clock->ball_dx; + pong_clock->ball_y += pong_clock->ball_dy; + + /* Set up someone to miss if we getting close to an hour or min. + */ + if (sec > TO_MISS_SECS) + { + if (min == 59) + pong_clock->batb_to_miss = True; + else + pong_clock->bata_to_miss = True; + } + else + { + /* Reset the game */ + if (pong_clock->bata_to_miss) + { + pong_clock->bata_to_miss = False; + pong_clock->ball_y = pong_clock->bata_y; + pong_clock->ball_x = pong_clock->pixelw; + pong_clock->ball_dx *= -1; + } + + if (pong_clock->batb_to_miss) + { + pong_clock->batb_to_miss = False; + pong_clock->ball_y = pong_clock->batb_y; + pong_clock->ball_x = pong_clock->xwin_width - pong_clock->pixelw; + pong_clock->ball_dx *= -1; + } + } + + /* Keep bats on field and only move in not setup to miss */ + if (pong_clock->ball_y >= (3*pong_clock->pixelh) + && pong_clock->ball_y <= (pong_clock->xwin_height - (5*pong_clock->pixelh))) + { + if (!pong_clock->batb_to_miss) + pong_clock->batb_y = pong_clock->ball_y; + + if (!pong_clock->bata_to_miss) + pong_clock->bata_y = pong_clock->ball_y; + } +} + +void +draw_frame (PongClock *pong_clock) +{ + update_state (pong_clock); + + /* Clear playfield */ + XSetForeground (pong_clock->xdpy, + pong_clock->xgc, + BlackPixel(pong_clock->xdpy, + pong_clock->xscreen)); + + XFillRectangle (pong_clock->xdpy, + pong_clock->backbuffer, + pong_clock->xgc, + 0, 0, + pong_clock->xwin_width, + pong_clock->xwin_height); + + XSetForeground (pong_clock->xdpy, + pong_clock->xgc, + WhitePixel(pong_clock->xdpy, + pong_clock->xscreen)); + + draw_field (pong_clock); + + draw_time (pong_clock); + + draw_bat_and_ball (pong_clock); + + /* flip 'backbuffer' */ + XSetWindowBackgroundPixmap (pong_clock->xdpy, + pong_clock->xwin, + pong_clock->backbuffer); + XClearWindow(pong_clock->xdpy, pong_clock->xwin); + + XSync(pong_clock->xdpy, False); +} + +int +main (int argc, char **argv) +{ + XGCValues gcv; + Atom atoms_WINDOW_STATE, atoms_WINDOW_STATE_FULLSCREEN; + PongClock *pong_clock; + + pong_clock = malloc(sizeof(PongClock)); + memset(pong_clock, 0, sizeof(PongClock)); + + if ((pong_clock->xdpy = XOpenDisplay(getenv("DISPLAY"))) == NULL) { + fprintf(stderr, "Cannot connect to X server on display %s.", + getenv("DISPLAY")); + exit(-1); + } + + pong_clock->xscreen = DefaultScreen(pong_clock->xdpy); + pong_clock->xwin_root = DefaultRootWindow(pong_clock->xdpy); + pong_clock->xwin_width = DisplayWidth(pong_clock->xdpy, + pong_clock->xscreen); + pong_clock->xwin_height = DisplayHeight(pong_clock->xdpy, + pong_clock->xscreen); + + pong_clock->pixelw = pong_clock->xwin_width / RESX; + pong_clock->pixelh = pong_clock->xwin_height / RESY; + + pong_clock->ball_x = 0; + pong_clock->ball_y = pong_clock->xwin_height / 2; + + pong_clock->ball_dx = BALLDX; + pong_clock->ball_dy = BALLDY; + + pong_clock->batb_y = pong_clock->bata_y = pong_clock->ball_y; + + gcv.background = BlackPixel(pong_clock->xdpy, + pong_clock->xscreen); + gcv.foreground = WhitePixel(pong_clock->xdpy, + pong_clock->xscreen); + gcv.graphics_exposures = False; + + pong_clock->xgc = XCreateGC (pong_clock->xdpy, pong_clock->xwin_root, + GCForeground|GCBackground|GCGraphicsExposures, + &gcv); + + atoms_WINDOW_STATE + = XInternAtom(pong_clock->xdpy, "_NET_WM_STATE",False); + atoms_WINDOW_STATE_FULLSCREEN + = XInternAtom(pong_clock->xdpy, "_NET_WM_STATE_FULLSCREEN",False); + + pong_clock->xwin = XCreateSimpleWindow(pong_clock->xdpy, + pong_clock->xwin_root, + 0, 0, + pong_clock->xwin_width, + pong_clock->xwin_height, + 0, + WhitePixel(pong_clock->xdpy, + pong_clock->xscreen), + BlackPixel(pong_clock->xdpy, + pong_clock->xscreen)); + + pong_clock->backbuffer = XCreatePixmap(pong_clock->xdpy, + pong_clock->xwin_root, + pong_clock->xwin_width, + pong_clock->xwin_height, + DefaultDepth(pong_clock->xdpy, + pong_clock->xscreen)); + + XSelectInput(pong_clock->xdpy, pong_clock->xwin, KeyPressMask); + + + /* Set the hints for fullscreen */ + XChangeProperty(pong_clock->xdpy, + pong_clock->xwin, + atoms_WINDOW_STATE, + XA_ATOM, + 32, + PropModeReplace, + (unsigned char *) &atoms_WINDOW_STATE_FULLSCREEN, 1); + + XMapWindow(pong_clock->xdpy, pong_clock->xwin); + + while (True) + { + struct timeval timeout; + XEvent xev; + + timeout.tv_sec = 0; + timeout.tv_usec = 1000000 / FPS; + select (0, NULL, NULL, NULL, &timeout); + + draw_frame (pong_clock); + + XFlush(pong_clock->xdpy); + + if (XPending(pong_clock->xdpy)) + { + if (XCheckMaskEvent(pong_clock->xdpy, + KeyPressMask, + &xev)) + exit(-1); + } + } +} diff --git a/meta-demoapps/recipes-graphics/pong-clock/pong-clock_1.0.bb b/meta-demoapps/recipes-graphics/pong-clock/pong-clock_1.0.bb new file mode 100644 index 0000000000..8d3659ff91 --- /dev/null +++ b/meta-demoapps/recipes-graphics/pong-clock/pong-clock_1.0.bb @@ -0,0 +1,16 @@ +DESCRIPTION = "A clock combined with a game of pong" +LICENSE = "GPLv2+" +DEPENDS = "virtual/libx11 xdmcp xau" + +SRC_URI = "file://pong-clock-no-flicker.c" + +S = "${WORKDIR}" + +do_compile () { + ${CC} -o pong-clock pong-clock-no-flicker.c `pkg-config --cflags --libs x11 xau xdmcp` +} + +do_install () { + install -d ${D}${bindir} + install -m 0755 pong-clock ${D}${bindir} +} diff --git a/meta-demoapps/recipes-graphics/xorg-app/xbacklight_1.1.bb b/meta-demoapps/recipes-graphics/xorg-app/xbacklight_1.1.bb new file mode 100644 index 0000000000..78804d734e --- /dev/null +++ b/meta-demoapps/recipes-graphics/xorg-app/xbacklight_1.1.bb @@ -0,0 +1,4 @@ +require xorg-app-common.inc + +DESCRIPTION = "X Backlight Utility" +DEPENDS += "libxrender libxrandr" diff --git a/meta-demoapps/recipes-graphics/xorg-app/xev/diet-x11.patch b/meta-demoapps/recipes-graphics/xorg-app/xev/diet-x11.patch new file mode 100644 index 0000000000..9f515e8c73 --- /dev/null +++ b/meta-demoapps/recipes-graphics/xorg-app/xev/diet-x11.patch @@ -0,0 +1,80 @@ +--- + xev.c | 16 ++++++++-------- + 1 file changed, 8 insertions(+), 8 deletions(-) + +Index: xev-1.0.2/xev.c +=================================================================== +--- xev-1.0.2.orig/xev.c 2006-06-02 00:25:44.000000000 +0100 ++++ xev-1.0.2/xev.c 2007-05-10 15:22:07.000000000 +0100 +@@ -109,7 +109,7 @@ do_KeyPress (XEvent *eventp) + nbytes = XLookupString (e, str, 256, &ks, NULL); + + /* not supposed to call XmbLookupString on a key release event */ +- if (e->type == KeyPress && xic) { ++ /*if (e->type == KeyPress && xic) { + do { + nmbbytes = XmbLookupString (xic, e, buf, bsize - 1, &ks, &status); + buf[nmbbytes] = '\0'; +@@ -119,7 +119,7 @@ do_KeyPress (XEvent *eventp) + buf = realloc (buf, bsize); + } + } while (status == XBufferOverflow); +- } ++ }*/ + + if (ks == NoSymbol) + ksname = "NoSymbol"; +@@ -149,7 +149,7 @@ do_KeyPress (XEvent *eventp) + } + + /* not supposed to call XmbLookupString on a key release event */ +- if (e->type == KeyPress && xic) { ++ /*if (e->type == KeyPress && xic) { + printf (" XmbLookupString gives %d bytes: ", nmbbytes); + if (nmbbytes > 0) { + dump (buf, nmbbytes); +@@ -157,7 +157,7 @@ do_KeyPress (XEvent *eventp) + } else { + printf ("\n"); + } +- } ++ } */ + + printf (" XFilterEvent returns: %s\n", + XFilterEvent (eventp, e->window) ? "True" : "False"); +@@ -804,7 +804,7 @@ main (int argc, char **argv) + fprintf (stderr, "%s: XSetLocaleModifiers failed\n", ProgramName); + } + +- xim = XOpenIM (dpy, NULL, NULL, NULL); ++ /*xim = XOpenIM (dpy, NULL, NULL, NULL); + if (xim == NULL) { + fprintf (stderr, "%s: XOpenIM failed\n", ProgramName); + } +@@ -831,7 +831,7 @@ main (int argc, char **argv) + } + XFree (xim_styles); + } +- } ++ }*/ + + screen = DefaultScreen (dpy); + +@@ -891,7 +891,7 @@ main (int argc, char **argv) + printf ("Outer window is 0x%lx, inner window is 0x%lx\n", w, subw); + } + +- if (xim && xim_style) { ++ /*if (xim && xim_style) { + xic = XCreateIC (xim, + XNInputStyle, xim_style, + XNClientWindow, w, +@@ -901,7 +901,7 @@ main (int argc, char **argv) + if (xic == NULL) { + fprintf (stderr, "XCreateIC failed\n"); + } +- } ++ }*/ + + for (done = 0; !done; ) { + XEvent event; diff --git a/meta-demoapps/recipes-graphics/xorg-app/xev_1.0.3.bb b/meta-demoapps/recipes-graphics/xorg-app/xev_1.0.3.bb new file mode 100644 index 0000000000..b7a4070a8f --- /dev/null +++ b/meta-demoapps/recipes-graphics/xorg-app/xev_1.0.3.bb @@ -0,0 +1,7 @@ +require xorg-app-common.inc + +DESCRIPTION = "X Event Viewer" +LICENSE = "MIT" +PE = "1" + +SRC_URI += "file://diet-x11.patch;patch=1" diff --git a/meta-demoapps/recipes-graphics/xorg-app/xeyes_1.0.1.bb b/meta-demoapps/recipes-graphics/xorg-app/xeyes_1.0.1.bb new file mode 100644 index 0000000000..07ce0724fa --- /dev/null +++ b/meta-demoapps/recipes-graphics/xorg-app/xeyes_1.0.1.bb @@ -0,0 +1,4 @@ +require xorg-app-common.inc +PE = "1" + +DEPENDS += " virtual/libx11 libxau libxt libxext libxmu" diff --git a/meta-demoapps/recipes-graphics/xorg-app/xrdb/60XDefaults.sh b/meta-demoapps/recipes-graphics/xorg-app/xrdb/60XDefaults.sh new file mode 100644 index 0000000000..08d8beca33 --- /dev/null +++ b/meta-demoapps/recipes-graphics/xorg-app/xrdb/60XDefaults.sh @@ -0,0 +1,3 @@ +if [ -e $HOME/.Xdefaults ]; then + xrdb -merge -nocpp < $HOME/.Xdefaults +fi 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 new file mode 100644 index 0000000000..906d7d8527 --- /dev/null +++ b/meta-demoapps/recipes-graphics/xorg-app/xrdb_1.0.5.bb @@ -0,0 +1,14 @@ +require xorg-app-common.inc + +DESCRIPTION = "X server resource database utility" +LICENSE = "xrdb" +DEPENDS += "libxmu" +PE = "1" +PR = "r2" + +SRC_URI += "file://60XDefaults.sh" + +do_install_append() { + install -d ${D}${sysconfdir}/X11/Xsession.d/ + install -m 0755 ${WORKDIR}/60XDefaults.sh ${D}${sysconfdir}/X11/Xsession.d/ +} diff --git a/meta-demoapps/recipes-graphics/xorg-lib/liblbxutil/mkg3states.patch b/meta-demoapps/recipes-graphics/xorg-lib/liblbxutil/mkg3states.patch new file mode 100644 index 0000000000..029d761d95 --- /dev/null +++ b/meta-demoapps/recipes-graphics/xorg-lib/liblbxutil/mkg3states.patch @@ -0,0 +1,63 @@ +During the build process the mkg3states binary needs to be run. This patch +allows it to be built with the build systems gcc allowing this to work. + +RP 31/3/10 + +Index: liblbxutil-1.1.0/configure.ac +=================================================================== +--- liblbxutil-1.1.0.orig/configure.ac 2009-12-04 22:52:04.000000000 +0000 ++++ liblbxutil-1.1.0/configure.ac 2010-03-31 15:26:33.000000000 +0100 +@@ -50,4 +50,5 @@ + + AC_OUTPUT([Makefile + src/Makefile ++ src/image/Makefile + lbxutil.pc]) +Index: liblbxutil-1.1.0/src/Makefile.am +=================================================================== +--- liblbxutil-1.1.0.orig/src/Makefile.am 2009-12-04 23:03:17.000000000 +0000 ++++ liblbxutil-1.1.0/src/Makefile.am 2010-03-31 15:27:25.000000000 +0100 +@@ -3,10 +3,7 @@ + AM_CFLAGS = $(CWARNFLAGS) $(LBXUTIL_CFLAGS) + INCLUDES = -I$(top_srcdir)/include + +-noinst_PROGRAMS = mkg3states +- +-mkg3states_SOURCES = \ +- $(srcdir)/image/mkg3states.c ++SUBDIRS = image + + liblbxutil_la_SOURCES = \ + $(srcdir)/lbx_zlib/reqstats.h \ +@@ -38,9 +35,8 @@ + + $(srcdir)/image/dfaxg42d.c: g3states.h + +-g3states.h: mkg3states +- -rm -f g3states.h +- $(AM_V_GEN) ./mkg3states -c > g3states.h_ && mv g3states.h_ g3states.h ++g3states.h: image/mkg3states ++ ./image/mkg3states -c > g3states.h_ && mv g3states.h_ g3states.h + + liblbxutil_la_LDFLAGS = -version-number 1:0:0 -no-undefined + +Index: liblbxutil-1.1.0/src/image/Makefile.am +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 ++++ liblbxutil-1.1.0/src/image/Makefile.am 2010-03-31 15:26:33.000000000 +0100 +@@ -0,0 +1,15 @@ ++# evil hack ++CFLAGS=$(CFLAGS_FOR_BUILD) ++CPPFLAGS=$(CPPFLAGS_FOR_BUILD) ++LDFLAGS=$(LDFLAGS_FOR_BUILD) ++ ++CC=$(CC_FOR_BUILD) ++LIBTOOL = @LIBTOOL@ --tag=CC ++ ++noinst_PROGRAMS = mkg3states ++ ++mkg3states_SOURCES = \ ++ mkg3states.c ++ ++mkg3states_CFLAGS=$(CFLAGS_FOR_BUILD) ++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 new file mode 100644 index 0000000000..cdf3509246 --- /dev/null +++ b/meta-demoapps/recipes-graphics/xorg-lib/liblbxutil_1.1.0.bb @@ -0,0 +1,11 @@ +require xorg-lib-common.inc + +DESCRIPTION = "XFIXES Extension" +DEPENDS += " libxext xextproto xproto zlib" +PROVIDES = "lbxutil" +PE = "1" +PR = "r1" + +SRC_URI += "file://mkg3states.patch;patch=1" + +export 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 new file mode 100644 index 0000000000..489f456647 --- /dev/null +++ b/meta-demoapps/recipes-graphics/xorg-lib/libxaw_1.0.5.bb @@ -0,0 +1,21 @@ +require xorg-lib-common.inc + +DESCRIPTION = "X Athena Widget Set" +DEPENDS += "xproto virtual/libx11 libxext xextproto libxt libxmu libxpm libxp printproto libxau" +PROVIDES = "xaw" +PR = "r1" +PE = "1" + +XORG_PN = "libXaw" + +do_install_append () { + ln -sf libXaw6.so.6 ${D}${libdir}/libXaw.so.6 + ln -sf libXaw7.so.7 ${D}${libdir}/libXaw.so.7 + ln -sf libXaw7.so.7 ${D}${libdir}/libXaw.so +} + +PACKAGES =+ "libxaw6 libxaw7 libxaw8" + +FILES_libxaw6 = "${libdir}/libXaw6.so.6*" +FILES_libxaw7 = "${libdir}/libXaw7.so.7*" +FILES_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 new file mode 100644 index 0000000000..6c6b4595aa --- /dev/null +++ b/meta-demoapps/recipes-graphics/xorg-lib/libxevie_1.0.2.bb @@ -0,0 +1,8 @@ +require xorg-lib-common.inc + +DESCRIPTION = "X11 EvIE extension library" +DEPENDS += "libxext evieext" +PR = "r1" +PE = "1" + +XORG_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 new file mode 100644 index 0000000000..9a3f5f1327 --- /dev/null +++ b/meta-demoapps/recipes-graphics/xorg-lib/libxkbui_1.0.2.bb @@ -0,0 +1,8 @@ +require xorg-lib-common.inc + +DESCRIPTION = "X11 keyboard UI presentation library" +LICENSE= "GPL" +DEPENDS += "virtual/libx11 libxt libxkbfile" +PROVIDES = "xkbui" +PR = "r1" +PE = "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 new file mode 100644 index 0000000000..9c3d9efa71 --- /dev/null +++ b/meta-demoapps/recipes-graphics/xorg-proto/xproxymanagementprotocol_1.0.3.bb @@ -0,0 +1,5 @@ +require xorg-proto-common.inc + +PROVIDES="xproxymngproto" +PR = "r1" +PE = "1" diff --git a/meta-demoapps/recipes-graphics/xournal/files/ldflags.patch b/meta-demoapps/recipes-graphics/xournal/files/ldflags.patch new file mode 100644 index 0000000000..7f6585befb --- /dev/null +++ b/meta-demoapps/recipes-graphics/xournal/files/ldflags.patch @@ -0,0 +1,15 @@ +--- + src/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +Index: xournal-0.2/src/Makefile.am +=================================================================== +--- xournal-0.2.orig/src/Makefile.am 2007-05-09 15:06:26.000000000 +0100 ++++ xournal-0.2/src/Makefile.am 2007-05-09 15:06:35.000000000 +0100 +@@ -21,5 +21,5 @@ xournal_SOURCES = \ + xo-interface.c xo-interface.h \ + xo-callbacks.c xo-callbacks.h + +-xournal_LDADD = @PACKAGE_LIBS@ ++xournal_LDADD = @PACKAGE_LIBS@ -lz + diff --git a/meta-demoapps/recipes-graphics/xournal/files/no-printing.diff b/meta-demoapps/recipes-graphics/xournal/files/no-printing.diff new file mode 100644 index 0000000000..7a4724e696 --- /dev/null +++ b/meta-demoapps/recipes-graphics/xournal/files/no-printing.diff @@ -0,0 +1,178 @@ +diff -ru xournal-0.2/configure.in xournal-0.2.noprint/configure.in +--- xournal-0.2/configure.in 2006-01-29 22:25:10.000000000 +0000 ++++ xournal-0.2.noprint/configure.in 2006-03-17 13:08:01.000000000 +0000 +@@ -10,11 +10,16 @@ + AM_PROG_CC_STDC + AC_HEADER_STDC + +-pkg_modules="gtk+-2.0 >= 2.4.0 libgnomecanvas-2.0 >= 2.4.0 libgnomeprintui-2.2 >= 2.0.0" ++pkg_modules="gtk+-2.0 >= 2.4.0 libgnomecanvas-2.0 >= 2.4.0" + PKG_CHECK_MODULES(PACKAGE, [$pkg_modules]) + AC_SUBST(PACKAGE_CFLAGS) + AC_SUBST(PACKAGE_LIBS) + ++#PKG_CHECK_MODULES(GNOMEPRINT, libgnomeprintui-2.2 >= 2.0.0 ++#AC_SUBST(GNOMEPRINT_CFLAGS) ++#AC_SUBST(GNOMEPRINT_LIBS) ++AM_CONDITIONAL(ENABLE_PRINTING, false) ++ + AC_OUTPUT([ + Makefile + src/Makefile +diff -ru xournal-0.2/src/main.c xournal-0.2.noprint/src/main.c +--- xournal-0.2/src/main.c 2006-01-29 22:22:52.000000000 +0000 ++++ xournal-0.2.noprint/src/main.c 2006-03-17 13:14:50.000000000 +0000 +@@ -28,7 +28,9 @@ + + void hide_unimplemented(void) + { ++#if ENABLE_PRINTING + gtk_widget_hide(GET_COMPONENT("filePrintOptions")); ++#endif + gtk_widget_hide(GET_COMPONENT("journalFlatten")); + gtk_widget_hide(GET_COMPONENT("papercolorOther")); + gtk_widget_hide(GET_COMPONENT("journalApplyAllPages")); +diff -ru xournal-0.2/src/Makefile.am xournal-0.2.noprint/src/Makefile.am +--- xournal-0.2/src/Makefile.am 2005-12-14 20:54:42.000000000 +0000 ++++ xournal-0.2.noprint/src/Makefile.am 2006-03-17 13:07:47.000000000 +0000 +@@ -7,12 +7,16 @@ + + bin_PROGRAMS = xournal + ++if ENABLE_PRINTING ++PRINT_SOURCE = xo-print.c xo-print.h ++endif ++ + xournal_SOURCES = \ + main.c xournal.h \ + xo-misc.c xo-misc.h \ + xo-file.c xo-file.h \ + xo-paint.c xo-paint.h \ +- xo-print.c xo-print.h \ ++ $(PRINT_SOURCE) \ + xo-support.c xo-support.h \ + xo-interface.c xo-interface.h \ + xo-callbacks.c xo-callbacks.h +diff -ru xournal-0.2/src/xo-callbacks.c xournal-0.2.noprint/src/xo-callbacks.c +--- xournal-0.2/src/xo-callbacks.c 2006-01-29 19:39:22.000000000 +0000 ++++ xournal-0.2.noprint/src/xo-callbacks.c 2006-03-17 13:12:01.000000000 +0000 +@@ -7,7 +7,9 @@ + #include + #include + #include ++#if ENABLE_PRINTING + #include ++#endif + #include + + #include "xournal.h" +@@ -17,7 +19,9 @@ + #include "xo-misc.h" + #include "xo-file.h" + #include "xo-paint.h" ++#if ENABLE_PRINTING + #include "xo-print.h" ++#endif + + void + on_fileNew_activate (GtkMenuItem *menuitem, +@@ -261,7 +265,7 @@ + + } + +- ++#if ENABLE_PRINTING + void + on_filePrint_activate (GtkMenuItem *menuitem, + gpointer user_data) +@@ -407,7 +411,7 @@ + + g_free(filename); + } +- ++#endif + + void + on_fileQuit_activate (GtkMenuItem *menuitem, +diff -ru xournal-0.2/src/xo-callbacks.h xournal-0.2.noprint/src/xo-callbacks.h +--- xournal-0.2/src/xo-callbacks.h 2006-01-26 20:47:00.000000000 +0000 ++++ xournal-0.2.noprint/src/xo-callbacks.h 2006-03-17 13:08:45.000000000 +0000 +@@ -24,6 +24,7 @@ + on_filePrintOptions_activate (GtkMenuItem *menuitem, + gpointer user_data); + ++#if ENABLE_PRINTING + void + on_filePrint_activate (GtkMenuItem *menuitem, + gpointer user_data); +@@ -32,6 +33,8 @@ + on_filePrintPDF_activate (GtkMenuItem *menuitem, + gpointer user_data); + ++#endif ++ + void + on_fileQuit_activate (GtkMenuItem *menuitem, + gpointer user_data); +diff -ru xournal-0.2/src/xo-interface.c xournal-0.2.noprint/src/xo-interface.c +--- xournal-0.2/src/xo-interface.c 2006-01-29 18:58:25.000000000 +0000 ++++ xournal-0.2.noprint/src/xo-interface.c 2006-03-17 13:11:31.000000000 +0000 +@@ -41,10 +41,12 @@ + GtkWidget *fileSave; + GtkWidget *fileSaveAs; + GtkWidget *separator1; ++#if ENABLE_PRINTING + GtkWidget *filePrintOptions; + GtkWidget *image501; + GtkWidget *filePrint; + GtkWidget *filePrintPDF; ++#endif + GtkWidget *separator2; + GtkWidget *fileQuit; + GtkWidget *menuEdit; +@@ -327,6 +329,7 @@ + gtk_container_add (GTK_CONTAINER (menuFile_menu), separator1); + gtk_widget_set_sensitive (separator1, FALSE); + ++#if ENABLE_PRINTING + filePrintOptions = gtk_image_menu_item_new_with_mnemonic ("Print Options"); + gtk_widget_show (filePrintOptions); + gtk_container_add (GTK_CONTAINER (menuFile_menu), filePrintOptions); +@@ -347,6 +350,7 @@ + gtk_widget_show (separator2); + gtk_container_add (GTK_CONTAINER (menuFile_menu), separator2); + gtk_widget_set_sensitive (separator2, FALSE); ++#endif + + fileQuit = gtk_image_menu_item_new_from_stock ("gtk-quit", accel_group); + gtk_widget_show (fileQuit); +@@ -1522,6 +1526,7 @@ + g_signal_connect ((gpointer) fileSaveAs, "activate", + G_CALLBACK (on_fileSaveAs_activate), + NULL); ++#if ENABLE_PRINTING + g_signal_connect ((gpointer) filePrintOptions, "activate", + G_CALLBACK (on_filePrintOptions_activate), + NULL); +@@ -1531,6 +1536,7 @@ + g_signal_connect ((gpointer) filePrintPDF, "activate", + G_CALLBACK (on_filePrintPDF_activate), + NULL); ++#endif + g_signal_connect ((gpointer) fileQuit, "activate", + G_CALLBACK (on_fileQuit_activate), + NULL); +@@ -1941,11 +1947,13 @@ + GLADE_HOOKUP_OBJECT (winMain, fileSave, "fileSave"); + GLADE_HOOKUP_OBJECT (winMain, fileSaveAs, "fileSaveAs"); + GLADE_HOOKUP_OBJECT (winMain, separator1, "separator1"); ++#if ENABLE_PRINTING + GLADE_HOOKUP_OBJECT (winMain, filePrintOptions, "filePrintOptions"); + GLADE_HOOKUP_OBJECT (winMain, image501, "image501"); + GLADE_HOOKUP_OBJECT (winMain, filePrint, "filePrint"); + GLADE_HOOKUP_OBJECT (winMain, filePrintPDF, "filePrintPDF"); + GLADE_HOOKUP_OBJECT (winMain, separator2, "separator2"); ++#endif + GLADE_HOOKUP_OBJECT (winMain, fileQuit, "fileQuit"); + GLADE_HOOKUP_OBJECT (winMain, menuEdit, "menuEdit"); + 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 new file mode 100644 index 0000000000..1ca6e1ed7c --- /dev/null +++ b/meta-demoapps/recipes-graphics/xournal/xournal_0.2.bb @@ -0,0 +1,12 @@ +HOMEPAGE = "http://www-math.mit.edu/~auroux/software/xournal/" +DESCRIPTION = "Xournal is an application for notetaking, sketching, keeping a journal using a stylus." +DEPENDS = "gtk+ libgnomecanvas zlib" +SECTION = "x11" +LICENSE = "GPL" +PR = "r2" + +SRC_URI = "http://math.mit.edu/~auroux/software/xournal/xournal-0.2.tar.gz \ + file://ldflags.patch;patch=1 \ + file://no-printing.diff;patch=1" + +inherit autotools pkgconfig diff --git a/meta-demoapps/recipes-kernel/fuse/fuse-2.7.2/not-run-updaterc.d-on-host.patch b/meta-demoapps/recipes-kernel/fuse/fuse-2.7.2/not-run-updaterc.d-on-host.patch new file mode 100644 index 0000000000..903a8baa9e --- /dev/null +++ b/meta-demoapps/recipes-kernel/fuse/fuse-2.7.2/not-run-updaterc.d-on-host.patch @@ -0,0 +1,15 @@ +Index: fuse-2.7.2/util/Makefile.am +=================================================================== +--- fuse-2.7.2.orig/util/Makefile.am 2007-04-26 01:36:47.000000000 +0930 ++++ fuse-2.7.2/util/Makefile.am 2008-02-10 16:43:19.000000000 +1030 +@@ -33,10 +33,6 @@ + $(INSTALL_PROGRAM) $(srcdir)/mount.fuse $(DESTDIR)$(MOUNT_FUSE_PATH)/mount.fuse + $(mkdir_p) $(DESTDIR)$(INIT_D_PATH) + $(INSTALL_PROGRAM) $(srcdir)/init_script $(DESTDIR)$(INIT_D_PATH)/fuse +- @if test -x /usr/sbin/update-rc.d; then \ +- echo "/usr/sbin/update-rc.d fuse start 34 S . start 41 0 6 . || true"; \ +- /usr/sbin/update-rc.d fuse start 34 S . start 41 0 6 . || true; \ +- fi + + install-data-local: + $(mkdir_p) $(DESTDIR)$(UDEV_RULES_PATH) diff --git a/meta-demoapps/recipes-kernel/fuse/fuse.inc b/meta-demoapps/recipes-kernel/fuse/fuse.inc new file mode 100644 index 0000000000..c6755ac7c7 --- /dev/null +++ b/meta-demoapps/recipes-kernel/fuse/fuse.inc @@ -0,0 +1,13 @@ +DESCRIPTION = "With FUSE it is possible to implement a fully functional filesystem in a userspace program" +HOMEPAGE = "http://fuse.sf.net" +LICENSE = "GPL" +DEPENDS = "virtual/fakeroot-native" +RRECOMMENDS_fuse = "${@base_contains("MACHINE_FEATURES","kernel26","kernel-module-fuse","fuse-module",d)}" + +SRC_URI = "${SOURCEFORGE_MIRROR}/fuse/fuse-${PV}.tar.gz" + +inherit autotools pkgconfig + +fakeroot do_install() { + oe_runmake install DESTDIR=${D} +} diff --git a/meta-demoapps/recipes-kernel/fuse/fuse_2.7.2.bb b/meta-demoapps/recipes-kernel/fuse/fuse_2.7.2.bb new file mode 100644 index 0000000000..d284a25f5f --- /dev/null +++ b/meta-demoapps/recipes-kernel/fuse/fuse_2.7.2.bb @@ -0,0 +1,22 @@ +require fuse.inc + +PR = "r0" + +SRC_URI += "file://not-run-updaterc.d-on-host.patch;patch=1" + +EXTRA_OECONF = " --disable-kernel-module" + +#package utils in a sperate package and stop debian.bbclass renaming it to libfuse-utils, we want it to be fuse-utils +PACKAGES =+ "fuse-utils-dbg fuse-utils libulockmgr libulockmgr-dev libulockmgr-dbg" +FILES_${PN} += "${libdir}/libfuse.so.*" +FILES_${PN}-dev += "${libdir}/libfuse*.la" + +FILES_libulockmgr = "${libdir}/libulockmgr.so.*" +FILES_libulockmgr-dev += "${libdir}/libulock*.la" +FILES_libulockmgr-dbg += "${libdir}/.debug/libulock*" + +FILES_fuse-utils = "${bindir} ${base_sbindir}" +FILES_fuse-utils-dbg = "${bindir}/.debug ${base_sbindir}/.debug" +DEBIAN_NOAUTONAME_fuse-utils = "1" +DEBIAN_NOAUTONAME_fuse-utils-dbg = "1" + diff --git a/meta-demoapps/recipes-sato/claws-mail/claws-mail.inc b/meta-demoapps/recipes-sato/claws-mail/claws-mail.inc new file mode 100644 index 0000000000..04401df2f5 --- /dev/null +++ b/meta-demoapps/recipes-sato/claws-mail/claws-mail.inc @@ -0,0 +1,57 @@ +SECTION = "x11/network" +DESCRIPTION = "Mail user agent" +#DEPENDS = "gtk+ gpgme libetpan libgnomeprint aspell openssl" +DEPENDS = "gtk+ libetpan openssl libowl" +LICENSE = "GPL" +PR = "r6" + +SRC_URI = "\ + ${SOURCEFORGE_MIRROR}/sylpheed-claws/claws-mail-${PV}.tar.bz2 \ + file://desktop.patch;patch=1 \ + file://streamline-ui.patch;patch=1 \ + file://owl-window-menu.patch;patch=1 \ + file://fix-build.patch;patch=1 \ + " + +FILES_${PN} = "${bindir} ${datadir}/pixmaps ${datadir}/applications" + +#EXTRA_OECONF = "--disable-aspell-test \ +# --disable-dillo-viewer-plugin --with-aspell-prefix=${STAGING_DIR_HOST}${prefix} \ +# --enable-aspell" + +EXTRA_OECONF = "--disable-aspell-test \ + --disable-aspell \ + --disable-manual \ +# --disable-openssl \ + --disable-crash-dialog \ + --disable-jpilot \ + --disable-trayicon-plugin \ + --disable-spamassassin-plugin \ + --disable-bogofilter-plugin \ + --disable-pgpcore-plugin \ + --disable-pgpmime-plugin \ + --disable-pgpinline-plugin \ + --disable-dillo-viewer-plugin \ + --disable-clamav-plugin \ +# --disable-libetpan \ + --disable-gnomeprint \ + --disable-valgrind \ + --disable-static \ + " + +CFLAGS += "-D_GNU_SOURCE" + +inherit autotools pkgconfig gettext + +do_install_append() { + install -d ${D}${datadir}/applications + install -m 0644 claws-mail.desktop ${D}${datadir}/applications/ + install -d ${D}${datadir}/pixmaps + install -m 0644 claws-mail.png ${D}${datadir}/pixmaps/ +} + +#python populate_packages_prepend () { +# abiword_libdir = bb.data.expand('${libdir}/claws-mail/plugins', d) +# +# do_split_packages(d, abiword_libdir, '^(.*)\.so$', 'claws-mail-plugin-%s', 'Claws plugin for %s', extra_depends='') +#} 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 new file mode 100644 index 0000000000..f8a8396b95 --- /dev/null +++ b/meta-demoapps/recipes-sato/claws-mail/claws-mail_2.9.1.bb @@ -0,0 +1 @@ +require 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 new file mode 100644 index 0000000000..82918173e4 --- /dev/null +++ b/meta-demoapps/recipes-sato/claws-mail/claws-plugin-gtkhtml2-viewer_0.15.bb @@ -0,0 +1,14 @@ +SECTION = "x11/network" +DESCRIPTION = "Mail user agent plugins" +DEPENDS = "claws-mail gtkhtml2 curl" +LICENSE = "GPL" +PR = "r1" + +SRC_URI = "http://www.claws-mail.org/downloads/plugins/gtkhtml2_viewer-${PV}.tar.gz" + +inherit autotools pkgconfig gettext + +S = "${WORKDIR}/gtkhtml2_viewer-${PV}" + +FILES_${PN} = "${libdir}/claws-mail/plugins/*.so" + 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 new file mode 100644 index 0000000000..4351d1e5de --- /dev/null +++ b/meta-demoapps/recipes-sato/claws-mail/claws-plugin-maildir_0.24.4.bb @@ -0,0 +1,14 @@ +SECTION = "x11/network" +DESCRIPTION = "Mail user agent plugins" +DEPENDS = "claws-mail db" +LICENSE = "GPL" +PR = "r1" + +SRC_URI = "http://www.claws-mail.org/downloads/plugins/maildir-${PV}.tar.gz" + +inherit autotools pkgconfig + +S = "${WORKDIR}/maildir-${PV}" + +FILES_${PN} = "${libdir}/claws-mail/plugins/*.so" + 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 new file mode 100644 index 0000000000..fe7041494f --- /dev/null +++ b/meta-demoapps/recipes-sato/claws-mail/claws-plugin-mailmbox_1.13.bb @@ -0,0 +1,14 @@ +SECTION = "x11/network" +DESCRIPTION = "Mail user agent plugins" +DEPENDS = "claws-mail" +LICENSE = "GPL" +PR = "r2" + +SRC_URI = "http://www.claws-mail.org/downloads/plugins/mailmbox-${PV}.tar.gz" + +inherit autotools pkgconfig + +S = "${WORKDIR}/mailmbox-${PV}" + +FILES_${PN} = "${libdir}/claws-mail/plugins/*.so" +FILES_${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 new file mode 100644 index 0000000000..de0705c7fd --- /dev/null +++ b/meta-demoapps/recipes-sato/claws-mail/claws-plugin-rssyl_0.13.bb @@ -0,0 +1,14 @@ +SECTION = "x11/network" +DESCRIPTION = "Mail user agent plugins" +DEPENDS = "claws-mail libxml2 curl glib-2.0 gtk+" +LICENSE = "GPL" +PR = "r1" + +SRC_URI = "http://www.claws-mail.org/downloads/plugins/rssyl-${PV}.tar.gz" + +inherit autotools pkgconfig gettext + +S = "${WORKDIR}/rssyl-${PV}" + +FILES_${PN} = "${libdir}/claws-mail/plugins/*.so" + diff --git a/meta-demoapps/recipes-sato/claws-mail/files/desktop.patch b/meta-demoapps/recipes-sato/claws-mail/files/desktop.patch new file mode 100644 index 0000000000..c5ed7a9c7d --- /dev/null +++ b/meta-demoapps/recipes-sato/claws-mail/files/desktop.patch @@ -0,0 +1,19 @@ +Index: claws-mail-2.9.1/claws-mail.desktop +=================================================================== +--- claws-mail-2.9.1.orig/claws-mail.desktop 2007-04-24 17:40:20.000000000 +0100 ++++ claws-mail-2.9.1/claws-mail.desktop 2007-04-25 07:08:36.000000000 +0100 +@@ -1,11 +1,11 @@ + [Desktop Entry] + Encoding=UTF-8 +-Name=Claws Mail ++Name=Mail + Exec=claws-mail + Icon=claws-mail +-Info="Claws Mail" ++Info=Email Application + Categories=GTK;Network;Email; +-Comment="Gtk+ based Mail Client" ++Comment=Email Application + Terminal=false + Type=Application + 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 new file mode 100644 index 0000000000..2f30899fe1 --- /dev/null +++ b/meta-demoapps/recipes-sato/claws-mail/files/fix-build.patch @@ -0,0 +1,24 @@ +Remove duplicate file entries as this breaks install with new Automake + +JL 19/03/10 + +Index: claws-mail-2.9.1/src/gtk/Makefile.am +=================================================================== +--- claws-mail-2.9.1.orig/src/gtk/Makefile.am 2007-03-22 07:52:47.000000000 +0000 ++++ claws-mail-2.9.1/src/gtk/Makefile.am 2010-03-19 14:54:06.565828281 +0000 +@@ -44,7 +44,6 @@ + filesel.h \ + foldersort.h \ + gtkaspell.h \ +- gtksctree.h \ + gtkshruler.h \ + gtksctree.h \ + gtksourceprintjob.h \ +@@ -57,7 +56,6 @@ + menu.h \ + pluginwindow.h \ + prefswindow.h \ +- gtkvscrollbutton.h \ + progressdialog.h \ + quicksearch.h \ + 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 new file mode 100644 index 0000000000..54c61668a9 --- /dev/null +++ b/meta-demoapps/recipes-sato/claws-mail/files/owl-window-menu.patch @@ -0,0 +1,1009 @@ +Index: claws-mail-2.9.1/src/addressbook.c +=================================================================== +--- claws-mail-2.9.1.orig/src/addressbook.c 2007-04-25 10:18:13.000000000 +0100 ++++ claws-mail-2.9.1/src/addressbook.c 2007-04-25 10:30:23.000000000 +0100 +@@ -941,7 +941,6 @@ + sizeof(addressbook_entries[0]); + menubar = menubar_create(window, addressbook_entries, n_entries, + "", NULL); +- gtk_box_pack_start(GTK_BOX(vbox), menubar, FALSE, TRUE, 0); + menu_factory = gtk_item_factory_from_widget(menubar); + + vbox2 = gtk_vbox_new(FALSE, BORDER_WIDTH); +Index: claws-mail-2.9.1/src/gtk/menu.c +=================================================================== +--- claws-mail-2.9.1.orig/src/gtk/menu.c 2007-04-25 10:18:13.000000000 +0100 ++++ claws-mail-2.9.1/src/gtk/menu.c 2007-04-25 10:30:23.000000000 +0100 +@@ -35,10 +35,7 @@ + #include "menu.h" + #include "utils.h" + +-#ifdef MAEMO +-#include +-#include +-#endif ++#include + + static void connect_accel_change_signals(GtkWidget* widget, GtkWidget *wid2) ; + +@@ -49,20 +46,14 @@ + GtkItemFactory *factory; + GtkWidget *menubar; + +-#ifdef MAEMO + factory = gtk_item_factory_new(GTK_TYPE_MENU, path, NULL); +-#else +- factory = gtk_item_factory_new(GTK_TYPE_MENU_BAR, path, NULL); +-#endif + gtk_item_factory_set_translate_func(factory, menu_translate, + NULL, NULL); + gtk_item_factory_create_items(factory, n_entries, entries, data); + gtk_window_add_accel_group (GTK_WINDOW (window), factory->accel_group); + + menubar = gtk_item_factory_get_widget(factory, path); +-#ifdef MAEMO +- hildon_window_set_menu(HILDON_WINDOW(window), GTK_MENU(menubar)); +-#endif ++ owl_set_window_menu(GTK_WINDOW(window), GTK_MENU(menubar)); + return menubar; + } + +Index: claws-mail-2.9.1/src/mainwindow.c +=================================================================== +--- claws-mail-2.9.1.orig/src/mainwindow.c 2007-04-25 10:26:40.000000000 +0100 ++++ claws-mail-2.9.1/src/mainwindow.c 2007-04-25 10:30:23.000000000 +0100 +@@ -1094,8 +1094,6 @@ + n_menu_entries = sizeof(mainwin_entries) / sizeof(mainwin_entries[0]); + menubar = menubar_create(window, mainwin_entries, + n_menu_entries, "
", mainwin); +- gtk_widget_show(menubar); +- gtk_box_pack_start(GTK_BOX(vbox), menubar, FALSE, TRUE, 0); + ifactory = gtk_item_factory_from_widget(menubar); + + /* gtk_widget_show(gtk_item_factory_get_item(ifactory,"/Message/Mailing-List")); +Index: claws-mail-2.9.1/src/messageview.c +=================================================================== +--- claws-mail-2.9.1.orig/src/messageview.c 2007-04-25 10:18:13.000000000 +0100 ++++ claws-mail-2.9.1/src/messageview.c 2007-04-25 10:30:23.000000000 +0100 +@@ -414,8 +414,6 @@ + n_menu_entries = sizeof(msgview_entries) / sizeof(msgview_entries[0]); + menubar = menubar_create(window, msgview_entries, + n_menu_entries, "", msgview); +- gtk_widget_show(menubar); +- gtk_box_pack_start(GTK_BOX(vbox), menubar, FALSE, TRUE, 0); + + if (prefs_common.toolbar_detachable) { + handlebox = gtk_handle_box_new(); +@@ -478,6 +476,7 @@ + g_signal_connect(G_OBJECT(window), "key_press_event", + G_CALLBACK(key_pressed), msgview); + #endif ++ gtk_widget_realize(window); + messageview_add_toolbar(msgview, window); + + if (show) { +Index: claws-mail-2.9.1/configure.ac +=================================================================== +--- claws-mail-2.9.1.orig/configure.ac 2007-04-25 10:18:13.000000000 +0100 ++++ claws-mail-2.9.1/configure.ac 2007-04-25 10:30:23.000000000 +0100 +@@ -406,6 +406,11 @@ + AC_SUBST(GTK_CFLAGS) + AC_SUBST(GTK_LIBS) + ++OWL_CFLAGS="" ++OWL_LIBS="-lowl" ++AC_SUBST(OWL_CFLAGS) ++AC_SUBST(OWL_LIBS) ++ + dnl GNU/Aspell is used for spell checking + AC_ARG_ENABLE(aspell, + [ --disable-aspell Disable GNU/aspell support [default=yes]], +Index: claws-mail-2.9.1/src/Makefile.am +=================================================================== +--- claws-mail-2.9.1.orig/src/Makefile.am 2007-04-25 10:18:13.000000000 +0100 ++++ claws-mail-2.9.1/src/Makefile.am 2007-04-25 10:30:23.000000000 +0100 +@@ -471,7 +471,8 @@ + $(LIBICONV) \ + $(STARTUP_NOTIFICATION_LIBS) \ + $(LIBETPAN_LIBS) \ +- $(MAEMO_LIBS) ++ $(MAEMO_LIBS) \ ++ $(OWL_LIBS) + + AM_CPPFLAGS = \ + -DG_LOG_DOMAIN=\"Claws-Mail\" \ +@@ -489,6 +490,7 @@ + $(LIBETPAN_CPPFLAGS) \ + $(STARTUP_NOTIFICATION_CFLAGS) \ + $(MAEMO_CFLAGS) \ ++ $(OWL_CFLAGS) \ + -Wno-unused-function + + #no-unused-function is there because of bison stuff +Index: claws-mail-2.9.1/configure +=================================================================== +--- claws-mail-2.9.1.orig/configure 2007-04-25 10:18:13.000000000 +0100 ++++ claws-mail-2.9.1/configure 2007-04-25 10:30:23.000000000 +0100 +@@ -769,7 +769,6 @@ + # include + #endif" + +-gt_needs= + ac_subst_vars='SHELL + PATH_SEPARATOR + PACKAGE_NAME +@@ -942,6 +941,8 @@ + PASSCRYPT_KEY + GTK_CFLAGS + GTK_LIBS ++OWL_LIBS ++OWL_CFLAGS + ASPELL + ASPELL_CFLAGS + ASPELL_LIBS +@@ -2063,7 +2064,6 @@ + >$cache_file + fi + +-gt_needs="$gt_needs " + # Check that the precious variables saved in the cache have kept the same + # value. + ac_cache_corrupted=false +@@ -3001,9 +3001,7 @@ + # Put the nasty error message in config.log where it belongs + echo "$GNOME2_PKG_ERRORS" >&5 + +- { echo "$as_me:$LINENO: result: no" >&5 +-echo "${ECHO_T}no" >&6; } +- ac_enable_gnome2=no ++ ac_enable_gnome2=no + elif test $pkg_failed = untried; then + ac_enable_gnome2=no + else +@@ -4147,14 +4145,12 @@ + + + +- +- { echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5 +-echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6; } +-if test "${ac_cv_lib_cposix_strerror+set}" = set; then ++{ echo "$as_me:$LINENO: checking for library containing strerror" >&5 ++echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; } ++if test "${ac_cv_search_strerror+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else +- ac_check_lib_save_LIBS=$LIBS +-LIBS="-lcposix $LIBS" ++ ac_func_search_save_LIBS=$LIBS + cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ + _ACEOF +@@ -4177,7 +4173,14 @@ + return 0; + } + _ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext ++for ac_lib in '' cposix; do ++ if test -z "$ac_lib"; then ++ ac_res="none required" ++ else ++ ac_res=-l$ac_lib ++ LIBS="-l$ac_lib $ac_func_search_save_LIBS" ++ fi ++ rm -f conftest.$ac_objext conftest$ac_exeext + if { (ac_try="$ac_link" + case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; +@@ -4195,25 +4198,35 @@ + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then +- ac_cv_lib_cposix_strerror=yes ++ ac_cv_search_strerror=$ac_res + else + echo "$as_me: failed program was:" >&5 + sed 's/^/| /' conftest.$ac_ext >&5 + +- ac_cv_lib_cposix_strerror=no ++ + fi + + rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ +- conftest$ac_exeext conftest.$ac_ext +-LIBS=$ac_check_lib_save_LIBS ++ conftest$ac_exeext ++ if test "${ac_cv_search_strerror+set}" = set; then ++ break ++fi ++done ++if test "${ac_cv_search_strerror+set}" = set; then ++ : ++else ++ ac_cv_search_strerror=no + fi +-{ echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5 +-echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6; } +-if test $ac_cv_lib_cposix_strerror = yes; then +- LIBS="$LIBS -lcposix" ++rm conftest.$ac_ext ++LIBS=$ac_func_search_save_LIBS + fi ++{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 ++echo "${ECHO_T}$ac_cv_search_strerror" >&6; } ++ac_res=$ac_cv_search_strerror ++if test "$ac_res" != no; then ++ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" + +- ++fi + + # Find a good install program. We prefer a C program (faster), + # so one script is as good as another. But avoid the broken or +@@ -5769,7 +5782,7 @@ + ;; + *-*-irix6*) + # Find out which ABI we are using. +- echo '#line 5772 "configure"' > conftest.$ac_ext ++ echo '#line 5785 "configure"' > conftest.$ac_ext + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +@@ -8555,11 +8568,11 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:8558: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:8571: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 +- echo "$as_me:8562: \$? = $ac_status" >&5 ++ echo "$as_me:8575: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. +@@ -8823,11 +8836,11 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:8826: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:8839: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 +- echo "$as_me:8830: \$? = $ac_status" >&5 ++ echo "$as_me:8843: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. +@@ -8927,11 +8940,11 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:8930: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:8943: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 +- echo "$as_me:8934: \$? = $ac_status" >&5 ++ echo "$as_me:8947: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized +@@ -11224,7 +11237,7 @@ + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < conftest.$ac_ext <&5) ++ (eval echo "\"\$as_me:13676: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 +- echo "$as_me:13667: \$? = $ac_status" >&5 ++ echo "$as_me:13680: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. +@@ -13764,11 +13777,11 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:13767: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:13780: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 +- echo "$as_me:13771: \$? = $ac_status" >&5 ++ echo "$as_me:13784: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized +@@ -15325,11 +15338,11 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:15328: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:15341: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 +- echo "$as_me:15332: \$? = $ac_status" >&5 ++ echo "$as_me:15345: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. +@@ -15429,11 +15442,11 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:15432: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:15445: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 +- echo "$as_me:15436: \$? = $ac_status" >&5 ++ echo "$as_me:15449: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized +@@ -17616,11 +17629,11 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:17619: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:17632: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 +- echo "$as_me:17623: \$? = $ac_status" >&5 ++ echo "$as_me:17636: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. +@@ -17884,11 +17897,11 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:17887: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:17900: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 +- echo "$as_me:17891: \$? = $ac_status" >&5 ++ echo "$as_me:17904: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. +@@ -17988,11 +18001,11 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:17991: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:18004: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 +- echo "$as_me:17995: \$? = $ac_status" >&5 ++ echo "$as_me:18008: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized +@@ -20960,16 +20973,9 @@ + found_so= + found_a= + if test $use_additional = yes; then +- if test -n "$shlibext" \ +- && { test -f "$additional_libdir/lib$name.$shlibext" \ +- || { test "$shlibext" = dll \ +- && test -f "$additional_libdir/lib$name.dll.a"; }; }; then ++ if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then + found_dir="$additional_libdir" +- if test -f "$additional_libdir/lib$name.$shlibext"; then +- found_so="$additional_libdir/lib$name.$shlibext" +- else +- found_so="$additional_libdir/lib$name.dll.a" +- fi ++ found_so="$additional_libdir/lib$name.$shlibext" + if test -f "$additional_libdir/lib$name.la"; then + found_la="$additional_libdir/lib$name.la" + fi +@@ -20997,16 +21003,9 @@ + case "$x" in + -L*) + dir=`echo "X$x" | sed -e 's/^X-L//'` +- if test -n "$shlibext" \ +- && { test -f "$dir/lib$name.$shlibext" \ +- || { test "$shlibext" = dll \ +- && test -f "$dir/lib$name.dll.a"; }; }; then ++ if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then + found_dir="$dir" +- if test -f "$dir/lib$name.$shlibext"; then +- found_so="$dir/lib$name.$shlibext" +- else +- found_so="$dir/lib$name.dll.a" +- fi ++ found_so="$dir/lib$name.$shlibext" + if test -f "$dir/lib$name.la"; then + found_la="$dir/lib$name.la" + fi +@@ -21927,13 +21926,6 @@ + + + +- +- +- +- +- +- +- + { echo "$as_me:$LINENO: checking for CFPreferencesCopyAppValue" >&5 + echo $ECHO_N "checking for CFPreferencesCopyAppValue... $ECHO_C" >&6; } + if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then +@@ -22070,37 +22062,17 @@ + LTLIBINTL= + POSUB= + +- case " $gt_needs " in +- *" need-formatstring-macros "*) gt_api_version=3 ;; +- *" need-ngettext "*) gt_api_version=2 ;; +- *) gt_api_version=1 ;; +- esac +- gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" +- gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" +- + if test "$USE_NLS" = "yes"; then + gt_use_preinstalled_gnugettext=no + + +- if test $gt_api_version -ge 3; then +- gt_revision_test_code=' +-#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +-#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) +-#endif +-typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; +-' +- else +- gt_revision_test_code= +- fi +- if test $gt_api_version -ge 2; then +- gt_expression_test_code=' + * ngettext ("", "", 0)' +- else +- gt_expression_test_code= +- fi ++ ++ ++ + + { echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5 + echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6; } +-if { as_var=$gt_func_gnugettext_libc; eval "test \"\${$as_var+set}\" = set"; }; then ++if test "${gt_cv_func_gnugettext1_libc+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >conftest.$ac_ext <<_ACEOF +@@ -22110,14 +22082,13 @@ + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + #include +-$gt_revision_test_code + extern int _nl_msg_cat_cntr; + extern int *_nl_domain_bindings; + int + main () + { + bindtextdomain ("", ""); +-return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings ++return * gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings + ; + return 0; + } +@@ -22140,22 +22111,21 @@ + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then +- eval "$gt_func_gnugettext_libc=yes" ++ gt_cv_func_gnugettext1_libc=yes + else + echo "$as_me: failed program was:" >&5 + sed 's/^/| /' conftest.$ac_ext >&5 + +- eval "$gt_func_gnugettext_libc=no" ++ gt_cv_func_gnugettext1_libc=no + fi + + rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext + fi +-ac_res=`eval echo '${'$gt_func_gnugettext_libc'}'` +- { echo "$as_me:$LINENO: result: $ac_res" >&5 +-echo "${ECHO_T}$ac_res" >&6; } ++{ echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5 ++echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6; } + +- if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then ++ if test "$gt_cv_func_gnugettext1_libc" != "yes"; then + + + +@@ -22398,16 +22368,9 @@ + found_so= + found_a= + if test $use_additional = yes; then +- if test -n "$shlibext" \ +- && { test -f "$additional_libdir/lib$name.$shlibext" \ +- || { test "$shlibext" = dll \ +- && test -f "$additional_libdir/lib$name.dll.a"; }; }; then ++ if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then + found_dir="$additional_libdir" +- if test -f "$additional_libdir/lib$name.$shlibext"; then +- found_so="$additional_libdir/lib$name.$shlibext" +- else +- found_so="$additional_libdir/lib$name.dll.a" +- fi ++ found_so="$additional_libdir/lib$name.$shlibext" + if test -f "$additional_libdir/lib$name.la"; then + found_la="$additional_libdir/lib$name.la" + fi +@@ -22435,16 +22398,9 @@ + case "$x" in + -L*) + dir=`echo "X$x" | sed -e 's/^X-L//'` +- if test -n "$shlibext" \ +- && { test -f "$dir/lib$name.$shlibext" \ +- || { test "$shlibext" = dll \ +- && test -f "$dir/lib$name.dll.a"; }; }; then ++ if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then + found_dir="$dir" +- if test -f "$dir/lib$name.$shlibext"; then +- found_so="$dir/lib$name.$shlibext" +- else +- found_so="$dir/lib$name.dll.a" +- fi ++ found_so="$dir/lib$name.$shlibext" + if test -f "$dir/lib$name.la"; then + found_la="$dir/lib$name.la" + fi +@@ -22712,7 +22668,7 @@ + + { echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5 + echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6; } +-if { as_var=$gt_func_gnugettext_libintl; eval "test \"\${$as_var+set}\" = set"; }; then ++if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + gt_save_CPPFLAGS="$CPPFLAGS" +@@ -22726,7 +22682,6 @@ + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + #include +-$gt_revision_test_code + extern int _nl_msg_cat_cntr; + extern + #ifdef __cplusplus +@@ -22737,7 +22692,7 @@ + main () + { + bindtextdomain ("", ""); +-return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") ++return * gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias ("") + ; + return 0; + } +@@ -22760,17 +22715,17 @@ + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then +- eval "$gt_func_gnugettext_libintl=yes" ++ gt_cv_func_gnugettext1_libintl=yes + else + echo "$as_me: failed program was:" >&5 + sed 's/^/| /' conftest.$ac_ext >&5 + +- eval "$gt_func_gnugettext_libintl=no" ++ gt_cv_func_gnugettext1_libintl=no + fi + + rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +- if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then ++ if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then + LIBS="$LIBS $LIBICONV" + cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ +@@ -22779,7 +22734,6 @@ + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + #include +-$gt_revision_test_code + extern int _nl_msg_cat_cntr; + extern + #ifdef __cplusplus +@@ -22790,7 +22744,7 @@ + main () + { + bindtextdomain ("", ""); +-return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") ++return * gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias ("") + ; + return 0; + } +@@ -22815,7 +22769,7 @@ + $as_test_x conftest$ac_exeext; then + LIBINTL="$LIBINTL $LIBICONV" + LTLIBINTL="$LTLIBINTL $LTLIBICONV" +- eval "$gt_func_gnugettext_libintl=yes" ++ gt_cv_func_gnugettext1_libintl=yes + + else + echo "$as_me: failed program was:" >&5 +@@ -22830,13 +22784,12 @@ + CPPFLAGS="$gt_save_CPPFLAGS" + LIBS="$gt_save_LIBS" + fi +-ac_res=`eval echo '${'$gt_func_gnugettext_libintl'}'` +- { echo "$as_me:$LINENO: result: $ac_res" >&5 +-echo "${ECHO_T}$ac_res" >&6; } ++{ echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5 ++echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6; } + fi + +- if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ +- || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ ++ if test "$gt_cv_func_gnugettext1_libc" = "yes" \ ++ || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \ + && test "$PACKAGE" != gettext-runtime \ + && test "$PACKAGE" != gettext-tools; }; then + gt_use_preinstalled_gnugettext=yes +@@ -22876,7 +22829,7 @@ + { echo "$as_me:$LINENO: checking where the gettext function comes from" >&5 + echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6; } + if test "$gt_use_preinstalled_gnugettext" = "yes"; then +- if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then ++ if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then + gt_source="external libintl" + else + gt_source="libc" +@@ -22891,7 +22844,7 @@ + if test "$USE_NLS" = "yes"; then + + if test "$gt_use_preinstalled_gnugettext" = "yes"; then +- if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then ++ if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then + { echo "$as_me:$LINENO: checking how to link with libintl" >&5 + echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6; } + { echo "$as_me:$LINENO: result: $LIBINTL" >&5 +@@ -26592,12 +26545,8 @@ + esac + done + +- +- +-if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then +- if test -n "$ac_tool_prefix"; then +- # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. +-set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 ++ # Extract the first word of "pkg-config", so it can be a program name with args. ++set dummy pkg-config; ac_word=$2 + { echo "$as_me:$LINENO: checking for $ac_word" >&5 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } + if test "${ac_cv_path_PKG_CONFIG+set}" = set; then +@@ -26623,6 +26572,7 @@ + done + IFS=$as_save_IFS + ++ test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" + ;; + esac + fi +@@ -26636,88 +26586,19 @@ + fi + + +-fi +-if test -z "$ac_cv_path_PKG_CONFIG"; then +- ac_pt_PKG_CONFIG=$PKG_CONFIG +- # Extract the first word of "pkg-config", so it can be a program name with args. +-set dummy pkg-config; ac_word=$2 +-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +-if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- case $ac_pt_PKG_CONFIG in +- [\\/]* | ?:[\\/]*) +- ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. +- ;; +- *) +- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +-for as_dir in $PATH +-do +- IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do +- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then +- ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" +- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 +- break 2 +- fi +-done +-done +-IFS=$as_save_IFS +- +- ;; +-esac +-fi +-ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG +-if test -n "$ac_pt_PKG_CONFIG"; then +- { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 +-echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; } +-else +- { echo "$as_me:$LINENO: result: no" >&5 +-echo "${ECHO_T}no" >&6; } +-fi +- +- if test "x$ac_pt_PKG_CONFIG" = x; then +- PKG_CONFIG="" +- else +- case $cross_compiling:$ac_tool_warned in +-yes:) +-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools +-whose name does not start with the host triplet. If you think this +-configuration is useful to you, please write to autoconf@gnu.org." >&5 +-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools +-whose name does not start with the host triplet. If you think this +-configuration is useful to you, please write to autoconf@gnu.org." >&2;} +-ac_tool_warned=yes ;; +-esac +- PKG_CONFIG=$ac_pt_PKG_CONFIG +- fi +-else +- PKG_CONFIG="$ac_cv_path_PKG_CONFIG" +-fi +- +-fi +-if test -n "$PKG_CONFIG"; then +- _pkg_min_version=0.7 +- { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 +-echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; } +- if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then +- { echo "$as_me:$LINENO: result: yes" >&5 +-echo "${ECHO_T}yes" >&6; } +- else +- { echo "$as_me:$LINENO: result: no" >&5 +-echo "${ECHO_T}no" >&6; } +- PKG_CONFIG="" +- fi +- +-fi + + no_glib="" + +- if test "x$PKG_CONFIG" = x ; then ++ if test x$PKG_CONFIG != xno ; then ++ if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then ++ : ++ else ++ echo *** pkg-config too old; version 0.7 or better required. ++ no_glib=yes ++ PKG_CONFIG=no ++ fi ++ else + no_glib=yes +- PKG_CONFIG=no + fi + + min_glib_version=2.6.0 +@@ -27223,9 +27104,7 @@ + # Put the nasty error message in config.log where it belongs + echo "$OPENSSL_PKG_ERRORS" >&5 + +- { echo "$as_me:$LINENO: result: no" >&5 +-echo "${ECHO_T}no" >&6; } +- ac_cv_enable_openssl=no ++ ac_cv_enable_openssl=no + elif test $pkg_failed = untried; then + ac_cv_enable_openssl=no + else +@@ -27793,6 +27672,11 @@ + + + ++OWL_LIBS="-lowl" ++OLS_CFLAGS="" ++ ++ ++ + # Check whether --enable-aspell was given. + if test "${enable_aspell+set}" = set; then + enableval=$enable_aspell; ac_cv_enable_aspell=$enableval +@@ -28242,9 +28126,7 @@ + # Put the nasty error message in config.log where it belongs + echo "$MAEMO_PKG_ERRORS" >&5 + +- { echo "$as_me:$LINENO: result: no" >&5 +-echo "${ECHO_T}no" >&6; } +- ac_cv_enable_maemo=no ++ ac_cv_enable_maemo=no + elif test $pkg_failed = untried; then + ac_cv_enable_maemo=no + else +@@ -29796,8 +29678,6 @@ + # Put the nasty error message in config.log where it belongs + echo "$STARTUP_NOTIFICATION_PKG_ERRORS" >&5 + +- { echo "$as_me:$LINENO: result: no" >&5 +-echo "${ECHO_T}no" >&6; } + + echo "Building without libstartup-notification" + enable_startup_notification=no +@@ -31300,9 +31180,7 @@ + # Put the nasty error message in config.log where it belongs + echo "$CLAMAV_PKG_ERRORS" >&5 + +- { echo "$as_me:$LINENO: result: no" >&5 +-echo "${ECHO_T}no" >&6; } +- ac_cv_enable_clamav_plugin=no ++ ac_cv_enable_clamav_plugin=no + elif test $pkg_failed = untried; then + ac_cv_enable_clamav_plugin=no + else +@@ -31684,9 +31562,7 @@ + # Put the nasty error message in config.log where it belongs + echo "$GNOMEPRINT_PKG_ERRORS" >&5 + +- { echo "$as_me:$LINENO: result: no" >&5 +-echo "${ECHO_T}no" >&6; } +- ac_cv_enable_gnomeprint=no ++ ac_cv_enable_gnomeprint=no + elif test $pkg_failed = untried; then + ac_cv_enable_gnomeprint=no + else +@@ -31794,9 +31670,7 @@ + # Put the nasty error message in config.log where it belongs + echo "$VALGRIND_PKG_ERRORS" >&5 + +- { echo "$as_me:$LINENO: result: no" >&5 +-echo "${ECHO_T}no" >&6; } +- ac_cv_enable_valgrind=no ++ ac_cv_enable_valgrind=no + elif test $pkg_failed = untried; then + ac_cv_enable_valgrind=no + else +@@ -32884,6 +32758,8 @@ + PASSCRYPT_KEY!$PASSCRYPT_KEY$ac_delim + GTK_CFLAGS!$GTK_CFLAGS$ac_delim + GTK_LIBS!$GTK_LIBS$ac_delim ++OWL_LIBS!$OWL_LIBS$ac_delim ++OWL_CFLAGS!$OWL_CFLAGS$ac_delim + ASPELL!$ASPELL$ac_delim + ASPELL_CFLAGS!$ASPELL_CFLAGS$ac_delim + ASPELL_LIBS!$ASPELL_LIBS$ac_delim +@@ -32904,8 +32780,6 @@ + BUILD_SPAMASSASSIN_PLUGIN_FALSE!$BUILD_SPAMASSASSIN_PLUGIN_FALSE$ac_delim + BUILD_BOGOFILTER_PLUGIN_TRUE!$BUILD_BOGOFILTER_PLUGIN_TRUE$ac_delim + BUILD_BOGOFILTER_PLUGIN_FALSE!$BUILD_BOGOFILTER_PLUGIN_FALSE$ac_delim +-GPGME_CONFIG!$GPGME_CONFIG$ac_delim +-GPGME_CFLAGS!$GPGME_CFLAGS$ac_delim + _ACEOF + + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then +@@ -32947,6 +32821,8 @@ + ac_delim='%!_!# ' + for ac_last_try in false false false false false :; do + cat >conf$$subs.sed <<_ACEOF ++GPGME_CONFIG!$GPGME_CONFIG$ac_delim ++GPGME_CFLAGS!$GPGME_CFLAGS$ac_delim + GPGME_LIBS!$GPGME_LIBS$ac_delim + BUILD_PGPCORE_PLUGIN_TRUE!$BUILD_PGPCORE_PLUGIN_TRUE$ac_delim + BUILD_PGPCORE_PLUGIN_FALSE!$BUILD_PGPCORE_PLUGIN_FALSE$ac_delim +@@ -32979,7 +32855,7 @@ + LTLIBOBJS!$LTLIBOBJS$ac_delim + _ACEOF + +- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 30; then ++ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 32; then + break + elif $ac_last_try; then + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 +Index: claws-mail-2.9.1/src/Makefile.in +=================================================================== +--- claws-mail-2.9.1.orig/src/Makefile.in 2007-04-25 10:18:13.000000000 +0100 ++++ claws-mail-2.9.1/src/Makefile.in 2007-04-25 10:30:23.000000000 +0100 +@@ -45,8 +45,7 @@ + $(top_srcdir)/m4/aspell.m4 $(top_srcdir)/m4/check-type.m4 \ + $(top_srcdir)/m4/gnupg-check-typedef.m4 \ + $(top_srcdir)/m4/gnupg.m4 $(top_srcdir)/m4/gpgme.m4 \ +- $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/spamassassin.m4 \ +- $(top_srcdir)/configure.ac ++ $(top_srcdir)/m4/spamassassin.m4 $(top_srcdir)/configure.ac + am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) + mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs +@@ -122,7 +121,7 @@ + $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_2) \ +- $(am__DEPENDENCIES_2) ++ $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_2) + claws_mail_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(claws_mail_LDFLAGS) $(LDFLAGS) -o $@ +@@ -272,6 +271,8 @@ + OBJEXT = @OBJEXT@ + OPENSSL_CFLAGS = @OPENSSL_CFLAGS@ + OPENSSL_LIBS = @OPENSSL_LIBS@ ++OWL_CFLAGS = @OWL_CFLAGS@ ++OWL_LIBS = @OWL_LIBS@ + PACKAGE = @PACKAGE@ + PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ + PACKAGE_NAME = @PACKAGE_NAME@ +@@ -815,7 +816,8 @@ + $(LIBICONV) \ + $(STARTUP_NOTIFICATION_LIBS) \ + $(LIBETPAN_LIBS) \ +- $(MAEMO_LIBS) ++ $(MAEMO_LIBS) \ ++ $(OWL_LIBS) + + AM_CPPFLAGS = \ + -DG_LOG_DOMAIN=\"Claws-Mail\" \ +@@ -833,7 +835,7 @@ + $(LIBETPAN_CPPFLAGS) \ + $(STARTUP_NOTIFICATION_CFLAGS) \ + $(MAEMO_CFLAGS) \ +- -Wno-unused-function ++ $(OWL_CFLAGS) + + + #no-unused-function is there because of bison stuff +@@ -1406,6 +1408,7 @@ + install-exec-hook: + @rm -f $(DESTDIR)$(bindir)/sylpheed-claws + @ln -s claws-mail $(DESTDIR)$(bindir)/sylpheed-claws ++ -Wno-unused-function + + @CYGWIN_TRUE@claws-mail$(EXEEXT): $(claws_mail_OBJECTS) $(claws_mail_DEPENDENCIES) + @CYGWIN_TRUE@ @rm -f claws-mail$(EXEEXT) +Index: claws-mail-2.9.1/autogen.sh +=================================================================== +--- claws-mail-2.9.1.orig/autogen.sh 2007-04-25 10:18:13.000000000 +0100 ++++ claws-mail-2.9.1/autogen.sh 2007-04-25 10:30:23.000000000 +0100 +@@ -74,5 +74,4 @@ + && libtoolize --force --copy \ + && autoheader \ + && automake --add-missing --foreign --copy \ +- && autoconf \ +- && ./configure --enable-maintainer-mode $@ ++ && autoconf +Index: claws-mail-2.9.1/src/compose.c +=================================================================== +--- claws-mail-2.9.1.orig/src/compose.c 2007-04-25 10:18:13.000000000 +0100 ++++ claws-mail-2.9.1/src/compose.c 2007-04-25 10:30:23.000000000 +0100 +@@ -6192,7 +6192,6 @@ + n_menu_entries = sizeof(compose_entries) / sizeof(compose_entries[0]); + menubar = menubar_create(window, compose_entries, + n_menu_entries, "", compose); +- gtk_box_pack_start(GTK_BOX(vbox), menubar, FALSE, TRUE, 0); + + handlebox = gtk_hbox_new(FALSE, 0); + 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 new file mode 100644 index 0000000000..29a52ff795 --- /dev/null +++ b/meta-demoapps/recipes-sato/claws-mail/files/streamline-ui.patch @@ -0,0 +1,1008 @@ +Index: claws-mail-2.9.1/src/mainwindow.c +=================================================================== +--- claws-mail-2.9.1.orig/src/mainwindow.c 2007-04-25 07:40:10.000000000 +0100 ++++ claws-mail-2.9.1/src/mainwindow.c 2007-04-25 10:26:40.000000000 +0100 +@@ -189,9 +189,6 @@ + static void toggle_statusbar_cb (MainWindow *mainwin, + guint action, + GtkWidget *widget); +-static void set_layout_cb (MainWindow *mainwin, +- guint action, +- GtkWidget *widget); + + static void addressbook_open_cb (MainWindow *mainwin, + guint action, +@@ -538,94 +535,24 @@ + {N_("/_Edit/_Search folder..."), "F", search_cb, 1, NULL}, + {N_("/_Edit/_Quick search"), "slash", mainwindow_quicksearch, 0, NULL}, + {N_("/_View"), NULL, NULL, 0, ""}, +- {N_("/_View/Show or hi_de"), NULL, NULL, 0, ""}, +- {N_("/_View/Show or hi_de/_Message view"), +- "V", toggle_message_cb, 0, ""}, +- {N_("/_View/Show or hi_de/_Toolbar"), +- NULL, NULL, 0, ""}, +- {N_("/_View/Show or hi_de/_Toolbar/Text _below icons"), +- NULL, toggle_toolbar_cb, TOOLBAR_BOTH, ""}, +- {N_("/_View/Show or hi_de/_Toolbar/Text be_side icons"), +- NULL, toggle_toolbar_cb, TOOLBAR_BOTH_HORIZ, "/View/Show or hide/Toolbar/Text below icons"}, +- {N_("/_View/Show or hi_de/_Toolbar/_Icons only"), +- NULL, toggle_toolbar_cb, TOOLBAR_ICON, "/View/Show or hide/Toolbar/Text below icons"}, +- {N_("/_View/Show or hi_de/_Toolbar/_Text only"), +- NULL, toggle_toolbar_cb, TOOLBAR_TEXT, "/View/Show or hide/Toolbar/Text below icons"}, +- {N_("/_View/Show or hi_de/_Toolbar/_Hide"), +- NULL, toggle_toolbar_cb, TOOLBAR_NONE, "/View/Show or hide/Toolbar/Text below icons"}, +- {N_("/_View/Show or hi_de/Status _bar"), +- NULL, toggle_statusbar_cb, 0, ""}, + {N_("/_View/Set displayed _columns"), NULL, NULL, 0, ""}, + {N_("/_View/Set displayed _columns/in _Folder list..."), NULL, set_folder_display_item_cb, 0, NULL}, + {N_("/_View/Set displayed _columns/in _Message list..."),NULL, set_summary_display_item_cb, 0, NULL}, + + {N_("/_View/---"), NULL, NULL, 0, ""}, +- {N_("/_View/La_yout"), NULL, NULL, 0, ""}, +- {N_("/_View/Layout/_Standard"), NULL, set_layout_cb, NORMAL_LAYOUT, ""}, +- {N_("/_View/Layout/_Three columns"), NULL, set_layout_cb, VERTICAL_LAYOUT, "/View/Layout/Standard"}, +- {N_("/_View/Layout/_Wide message"), NULL, set_layout_cb, WIDE_LAYOUT, "/View/Layout/Standard"}, +- {N_("/_View/Layout/W_ide message list"),NULL, set_layout_cb, WIDE_MSGLIST_LAYOUT, "/View/Layout/Standard"}, +- {N_("/_View/Layout/S_mall screen"), NULL, set_layout_cb, SMALL_LAYOUT, "/View/Layout/Standard"}, +- {N_("/_View/---"), NULL, NULL, 0, ""}, + {N_("/_View/_Sort"), NULL, NULL, 0, ""}, +- {N_("/_View/_Sort/by _number"), NULL, sort_summary_cb, SORT_BY_NUMBER, ""}, +- {N_("/_View/_Sort/by S_ize"), NULL, sort_summary_cb, SORT_BY_SIZE, "/View/Sort/by number"}, +- {N_("/_View/_Sort/by _Date"), NULL, sort_summary_cb, SORT_BY_DATE, "/View/Sort/by number"}, +- {N_("/_View/_Sort/by _From"), NULL, sort_summary_cb, SORT_BY_FROM, "/View/Sort/by number"}, +- {N_("/_View/_Sort/by _To"), NULL, sort_summary_cb, SORT_BY_TO, "/View/Sort/by number"}, +- {N_("/_View/_Sort/by S_ubject"), NULL, sort_summary_cb, SORT_BY_SUBJECT, "/View/Sort/by number"}, +- {N_("/_View/_Sort/by _color label"), +- NULL, sort_summary_cb, SORT_BY_LABEL, "/View/Sort/by number"}, +- {N_("/_View/_Sort/by _mark"), NULL, sort_summary_cb, SORT_BY_MARK, "/View/Sort/by number"}, +- {N_("/_View/_Sort/by _status"), NULL, sort_summary_cb, SORT_BY_STATUS, "/View/Sort/by number"}, +- {N_("/_View/_Sort/by a_ttachment"), +- NULL, sort_summary_cb, SORT_BY_MIME, "/View/Sort/by number"}, +- {N_("/_View/_Sort/by score"), NULL, sort_summary_cb, SORT_BY_SCORE, "/View/Sort/by number"}, +- {N_("/_View/_Sort/by locked"), NULL, sort_summary_cb, SORT_BY_LOCKED, "/View/Sort/by number"}, +- {N_("/_View/_Sort/D_on't sort"), NULL, sort_summary_cb, SORT_BY_NONE, "/View/Sort/by number"}, ++ {N_("/_View/_Sort/by _Date"), NULL, sort_summary_cb, SORT_BY_DATE, ""}, ++ {N_("/_View/_Sort/by _From"), NULL, sort_summary_cb, SORT_BY_FROM, "/View/Sort/by Date"}, ++ {N_("/_View/_Sort/by _To"), NULL, sort_summary_cb, SORT_BY_TO, "/View/Sort/by Date"}, ++ {N_("/_View/_Sort/by S_ubject"), NULL, sort_summary_cb, SORT_BY_SUBJECT, "/View/Sort/by Date"}, + {N_("/_View/_Sort/---"), NULL, NULL, 0, ""}, + {N_("/_View/_Sort/Ascending"), NULL, sort_summary_type_cb, SORT_ASCENDING, ""}, + {N_("/_View/_Sort/Descending"), NULL, sort_summary_type_cb, SORT_DESCENDING, "/View/Sort/Ascending"}, +- {N_("/_View/_Sort/---"), NULL, NULL, 0, ""}, +- {N_("/_View/_Sort/_Attract by subject"), +- NULL, attract_by_subject_cb, 0, NULL}, + {N_("/_View/Th_read view"), "T", thread_cb, 0, ""}, + {N_("/_View/E_xpand all threads"), NULL, expand_threads_cb, 0, NULL}, + {N_("/_View/Co_llapse all threads"), NULL, collapse_threads_cb, 0, NULL}, + {N_("/_View/_Hide read messages"), NULL, hide_read_messages, 0, ""}, + +- {N_("/_View/---"), NULL, NULL, 0, ""}, +- {N_("/_View/_Go to"), NULL, NULL, 0, ""}, +- {N_("/_View/_Go to/_Previous message"), "P", prev_cb, 0, NULL}, +- {N_("/_View/_Go to/_Next message"), "N", next_cb, 0, NULL}, +- {N_("/_View/_Go to/---"), NULL, NULL, 0, ""}, +- {N_("/_View/_Go to/P_revious unread message"), +- "P", prev_unread_cb, 0, NULL}, +- {N_("/_View/_Go to/N_ext unread message"), +- "N", next_unread_cb, 0, NULL}, +- {N_("/_View/_Go to/---"), NULL, NULL, 0, ""}, +- {N_("/_View/_Go to/Previous ne_w message"), NULL, prev_new_cb, 0, NULL}, +- {N_("/_View/_Go to/Ne_xt new message"), NULL, next_new_cb, 0, NULL}, +- {N_("/_View/_Go to/---"), NULL, NULL, 0, ""}, +- {N_("/_View/_Go to/Previous _marked message"), +- NULL, prev_marked_cb, 0, NULL}, +- {N_("/_View/_Go to/Next m_arked message"), +- NULL, next_marked_cb, 0, NULL}, +- {N_("/_View/_Go to/---"), NULL, NULL, 0, ""}, +- {N_("/_View/_Go to/Previous _labeled message"), +- NULL, prev_labeled_cb, 0, NULL}, +- {N_("/_View/_Go to/Next la_beled message"), +- NULL, next_labeled_cb, 0, NULL}, +- {N_("/_View/_Go to/---"), NULL, NULL, 0, ""}, +- {N_("/_View/_Go to/Last read message"), +- NULL, last_read_cb, 0, NULL}, +- {N_("/_View/_Go to/Parent message"), +- "Up", parent_cb, 0, NULL}, +- {N_("/_View/_Go to/---"), NULL, NULL, 0, ""}, +- {N_("/_View/_Go to/Next unread _folder"), "G", goto_unread_folder_cb, 0, NULL}, +- {N_("/_View/_Go to/_Other folder..."), "G", goto_folder_cb, 0, NULL}, +- {N_("/_View/---"), NULL, NULL, 0, ""}, +- + #define ENC_SEPARATOR \ + {N_("/_View/Character _encoding/---"), NULL, NULL, 0, ""} + #define ENC_ACTION(action) \ +@@ -742,7 +669,6 @@ + #undef DEC_ACTION + + {N_("/_View/---"), NULL, NULL, 0, ""}, +- {N_("/_View/Open in new _window"), "N", open_msg_cb, 0, NULL}, + {N_("/_View/Mess_age source"), "U", view_source_cb, 0, NULL}, + {N_("/_View/All headers"), "H", show_all_header_cb, 0, ""}, + {N_("/_View/Quotes"), NULL, NULL, 0, ""}, +@@ -1137,23 +1063,14 @@ + gint i; + guint n_menu_entries; + +- static GdkGeometry geometry; +- + debug_print("Creating main window...\n"); + mainwin = g_new0(MainWindow, 1); + + /* main window */ + window = gtkut_window_new(GTK_WINDOW_TOPLEVEL, "mainwindow"); +- gtk_window_set_title(GTK_WINDOW(window), PROG_VERSION); ++ gtk_window_set_title(GTK_WINDOW(window), _("Mail")); + gtk_window_set_resizable(GTK_WINDOW(window), TRUE); + +- if (!geometry.min_height) { +- geometry.min_width = 320; +- geometry.min_height = 200; +- } +- gtk_window_set_geometry_hints(GTK_WINDOW(window), NULL, &geometry, +- GDK_HINT_MIN_SIZE); +- + g_signal_connect(G_OBJECT(window), "delete_event", + G_CALLBACK(main_window_close_cb), mainwin); + MANAGE_WINDOW_SIGNALS_CONNECT(window); +@@ -1184,21 +1101,9 @@ + /* gtk_widget_show(gtk_item_factory_get_item(ifactory,"/Message/Mailing-List")); + main_create_mailing_list_menu (mainwin, NULL); */ + +- menu_set_sensitive(ifactory, "/Help/Manual", manual_available(MANUAL_MANUAL_LOCAL)); +- +- if (prefs_common.toolbar_detachable) { +- handlebox = gtk_handle_box_new(); +- gtk_widget_show(handlebox); +- gtk_box_pack_start(GTK_BOX(vbox), handlebox, FALSE, FALSE, 0); +- g_signal_connect(G_OBJECT(handlebox), "child_attached", +- G_CALLBACK(toolbar_child_attached), mainwin); +- g_signal_connect(G_OBJECT(handlebox), "child_detached", +- G_CALLBACK(toolbar_child_detached), mainwin); +- } else { +- handlebox = gtk_hbox_new(FALSE, 0); +- gtk_widget_show(handlebox); +- gtk_box_pack_start(GTK_BOX(vbox), handlebox, FALSE, FALSE, 0); +- } ++ handlebox = gtk_hbox_new(FALSE, 0); ++ gtk_widget_show(handlebox); ++ gtk_box_pack_start(GTK_BOX(vbox), handlebox, FALSE, FALSE, 0); + /* link window to mainwin->window to avoid gdk warnings */ + mainwin->window = window; + +@@ -1405,36 +1310,6 @@ + (ifactory, "/View/Character encoding/Auto detect"); + gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menuitem), TRUE); + +- switch (prefs_common.toolbar_style) { +- case TOOLBAR_NONE: +- menuitem = gtk_item_factory_get_item +- (ifactory, "/View/Show or hide/Toolbar/Hide"); +- break; +- case TOOLBAR_ICON: +- menuitem = gtk_item_factory_get_item +- (ifactory, "/View/Show or hide/Toolbar/Icons only"); +- break; +- case TOOLBAR_TEXT: +- menuitem = gtk_item_factory_get_item +- (ifactory, "/View/Show or hide/Toolbar/Text only"); +- break; +- case TOOLBAR_BOTH: +- menuitem = gtk_item_factory_get_item +- (ifactory, "/View/Show or hide/Toolbar/Text below icons"); +- break; +- case TOOLBAR_BOTH_HORIZ: +- menuitem = gtk_item_factory_get_item +- (ifactory, +- "/View/Show or hide/Toolbar/Text beside icons"); +- } +- gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menuitem), TRUE); +- +- gtk_widget_hide(mainwin->hbox_stat); +- menuitem = gtk_item_factory_get_item +- (ifactory, "/View/Show or hide/Status bar"); +- gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menuitem), +- prefs_common.show_statusbar); +- + /* set account selection menu */ + ac_menu = gtk_item_factory_get_widget + (ifactory, "/Configuration/Change current account"); +@@ -2284,16 +2159,6 @@ + {"/View/Expand all threads" , M_MSG_EXIST}, + {"/View/Collapse all threads" , M_MSG_EXIST}, + {"/View/Hide read messages" , M_HIDE_READ_MSG}, +- {"/View/Go to/Previous message" , M_MSG_EXIST}, +- {"/View/Go to/Next message" , M_MSG_EXIST}, +- {"/View/Go to/Previous unread message" , M_MSG_EXIST}, +- {"/View/Go to/Previous new message" , M_MSG_EXIST}, +- {"/View/Go to/Previous marked message" , M_MSG_EXIST}, +- {"/View/Go to/Previous labeled message", M_MSG_EXIST}, +- {"/View/Go to/Next labeled message", M_MSG_EXIST}, +- {"/View/Go to/Last read message" , M_SINGLE_TARGET_EXIST}, +- {"/View/Go to/Parent message" , M_SINGLE_TARGET_EXIST}, +- {"/View/Open in new window" , M_SINGLE_TARGET_EXIST}, + {"/View/Message source" , M_SINGLE_TARGET_EXIST}, + {"/View/All headers" , M_SINGLE_TARGET_EXIST}, + {"/View/Quotes" , M_SINGLE_TARGET_EXIST}, +@@ -2379,40 +2244,20 @@ + gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menuitem), active); \ + } + +- SET_CHECK_MENU_ACTIVE("/View/Show or hide/Message view", +- messageview_is_visible(mainwin->messageview)); +- + summaryview = mainwin->summaryview; +- menu_path = "/View/Sort/Don't sort"; ++ menu_path = "/View/Sort/by Date"; + + switch (summaryview->sort_key) { +- case SORT_BY_NUMBER: +- menu_path = "/View/Sort/by number"; break; +- case SORT_BY_SIZE: +- menu_path = "/View/Sort/by Size"; break; +- case SORT_BY_DATE: +- menu_path = "/View/Sort/by Date"; break; + case SORT_BY_FROM: + menu_path = "/View/Sort/by From"; break; + case SORT_BY_TO: + menu_path = "/View/Sort/by To"; break; + case SORT_BY_SUBJECT: + menu_path = "/View/Sort/by Subject"; break; +- case SORT_BY_LABEL: +- menu_path = "/View/Sort/by color label"; break; +- case SORT_BY_MARK: +- menu_path = "/View/Sort/by mark"; break; +- case SORT_BY_STATUS: +- menu_path = "/View/Sort/by status"; break; +- case SORT_BY_MIME: +- menu_path = "/View/Sort/by attachment"; break; +- case SORT_BY_SCORE: +- menu_path = "/View/Sort/by score"; break; +- case SORT_BY_LOCKED: +- menu_path = "/View/Sort/by locked"; break; + case SORT_BY_NONE: ++ case SORT_BY_DATE: + default: +- menu_path = "/View/Sort/Don't sort"; break; ++ menu_path = "/View/Sort/by Date"; break; + } + SET_CHECK_MENU_ACTIVE(menu_path, TRUE); + +@@ -2735,8 +2580,6 @@ + gtk_widget_destroy(mainwin->hpaned); + } + +- menu_set_sensitive(ifactory, "/View/Show or hide/Message view", +- (layout_mode != WIDE_MSGLIST_LAYOUT && layout_mode != SMALL_LAYOUT)); + switch (layout_mode) { + case VERTICAL_LAYOUT: + case NORMAL_LAYOUT: +@@ -2877,37 +2720,6 @@ + + prefs_common.layout_mode = layout_mode; + +- menuitem = gtk_item_factory_get_item +- (ifactory, "/View/Show or hide/Message view"); +- gtk_check_menu_item_set_active +- (GTK_CHECK_MENU_ITEM(menuitem), +- messageview_is_visible(mainwin->messageview)); +- +-#define SET_CHECK_MENU_ACTIVE(path, active) \ +-{ \ +- menuitem = gtk_item_factory_get_widget(ifactory, path); \ +- gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menuitem), active); \ +-} +- +- switch (prefs_common.layout_mode) { +- case NORMAL_LAYOUT: +- SET_CHECK_MENU_ACTIVE("/View/Layout/Standard", TRUE); +- break; +- case VERTICAL_LAYOUT: +- SET_CHECK_MENU_ACTIVE("/View/Layout/Three columns", TRUE); +- break; +- case WIDE_LAYOUT: +- SET_CHECK_MENU_ACTIVE("/View/Layout/Wide message", TRUE); +- break; +- case WIDE_MSGLIST_LAYOUT: +- SET_CHECK_MENU_ACTIVE("/View/Layout/Wide message list", TRUE); +- break; +- case SMALL_LAYOUT: +- SET_CHECK_MENU_ACTIVE("/View/Layout/Small screen", TRUE); +- break; +- } +-#undef SET_CHECK_MENU_ACTIVE +- + if (folderwin) { + g_signal_connect + (G_OBJECT(folderwin), "size_allocate", +@@ -3116,12 +2928,6 @@ + summary_toggle_view(mainwin->summaryview); + } + +-static void toggle_toolbar_cb(MainWindow *mainwin, guint action, +- GtkWidget *widget) +-{ +- toolbar_toggle(action, mainwin); +-} +- + static void main_window_reply_cb(MainWindow *mainwin, guint action, + GtkWidget *widget) + { +Index: claws-mail-2.9.1/src/prefs_common.c +=================================================================== +--- claws-mail-2.9.1.orig/src/prefs_common.c 2007-04-25 07:40:10.000000000 +0100 ++++ claws-mail-2.9.1/src/prefs_common.c 2007-04-25 07:42:17.000000000 +0100 +@@ -262,7 +262,7 @@ + {"default_reply_list", "TRUE", &prefs_common.default_reply_list, P_BOOL, + NULL, NULL, NULL}, + +-#ifndef MAEMO ++#if 0 + {"show_ruler", "TRUE", &prefs_common.show_ruler, P_BOOL, + NULL, NULL, NULL}, + #else +@@ -300,7 +300,7 @@ + &prefs_common.normalfont_gtk1, P_STRING, NULL, NULL, NULL}, + + /* new fonts */ +-#ifndef MAEMO ++#if 0 + {"widget_font_gtk2", NULL, + &SPECIFIC_PREFS.widgetfont, P_STRING, NULL, NULL, NULL}, + {"message_font_gtk2", "Monospace 9", +@@ -416,7 +416,7 @@ + + {"enable_thread", "TRUE", &prefs_common.enable_thread, P_BOOL, + NULL, NULL, NULL}, +-#ifndef MAEMO ++#if 0 + {"toolbar_style", "3", &prefs_common.toolbar_style, P_ENUM, + NULL, NULL, NULL}, + #else +@@ -544,7 +544,7 @@ + {"folder_col_pos_total", "3", + &prefs_common.folder_col_pos[F_COL_TOTAL], P_INT, NULL, NULL, NULL}, + +-#ifndef MAEMO ++#if 0 + {"folder_col_size_folder", "120", + &prefs_common.folder_col_size[F_COL_FOLDER], P_INT, NULL, NULL, NULL}, + {"folder_col_size_new", "32", +@@ -702,7 +702,7 @@ + &SPECIFIC_PREFS.mime_open_cmd, P_STRING, NULL, NULL, NULL}, + + /* Interface */ +-#ifndef MAEMO ++#if 0 + {"layout_mode", "0", &prefs_common.layout_mode, P_INT, + NULL, NULL, NULL}, + #else +Index: claws-mail-2.9.1/src/toolbar.c +=================================================================== +--- claws-mail-2.9.1.orig/src/toolbar.c 2007-04-25 07:40:10.000000000 +0100 ++++ claws-mail-2.9.1/src/toolbar.c 2007-04-25 07:42:17.000000000 +0100 +@@ -841,26 +841,17 @@ + gtk_widget_hide(handlebox_wid); + break; + case TOOLBAR_ICON: +- gtk_toolbar_set_style(GTK_TOOLBAR(toolbar_wid), +- GTK_TOOLBAR_ICONS); +- break; + case TOOLBAR_TEXT: +- gtk_toolbar_set_style(GTK_TOOLBAR(toolbar_wid), +- GTK_TOOLBAR_TEXT); +- break; + case TOOLBAR_BOTH: +- gtk_toolbar_set_style(GTK_TOOLBAR(toolbar_wid), +- GTK_TOOLBAR_BOTH); +- break; + case TOOLBAR_BOTH_HORIZ: + gtk_toolbar_set_style(GTK_TOOLBAR(toolbar_wid), +- GTK_TOOLBAR_BOTH_HORIZ); ++ GTK_TOOLBAR_ICONS); + break; + default: + return; + } + +- prefs_common.toolbar_style = (ToolbarStyle)action; ++ prefs_common.toolbar_style = (ToolbarStyle)TOOLBAR_ICON; + gtk_widget_set_size_request(handlebox_wid, 1, -1); + + if (prefs_common.toolbar_style != TOOLBAR_NONE) { +@@ -1594,7 +1585,7 @@ + gtk_container_add(GTK_CONTAINER(container), toolbar); + gtk_container_set_border_width(GTK_CONTAINER(container), 2); + gtk_toolbar_set_orientation(GTK_TOOLBAR(toolbar), GTK_ORIENTATION_HORIZONTAL); +- gtk_toolbar_set_style(GTK_TOOLBAR(toolbar), GTK_TOOLBAR_BOTH); ++ gtk_toolbar_set_style(GTK_TOOLBAR(toolbar), GTK_TOOLBAR_ICONS); + + for (cur = toolbar_list; cur != NULL; cur = cur->next) { + +Index: claws-mail-2.9.1/src/gtk/prefswindow.c +=================================================================== +--- claws-mail-2.9.1.orig/src/gtk/prefswindow.c 2007-04-25 07:40:10.000000000 +0100 ++++ claws-mail-2.9.1/src/gtk/prefswindow.c 2007-04-25 10:30:15.000000000 +0100 +@@ -343,6 +343,10 @@ + gint x = gdk_screen_width(); + gint y = gdk_screen_height(); + static GdkGeometry geometry; ++ gint col_count = g_slist_length (prefs_pages); ++ ++ if (col_count > 1) ++ col_count = 2; + + prefswindow = g_new0(PrefsWindow, 1); + +@@ -360,39 +364,52 @@ + gtk_window_set_resizable (GTK_WINDOW(prefswindow->window), TRUE); + gtk_container_set_border_width(GTK_CONTAINER(prefswindow->window), 4); + +- prefswindow->table1 = gtk_table_new(2, 2, FALSE); ++ prefswindow->table1 = gtk_table_new(col_count, col_count, FALSE); + gtk_widget_show(prefswindow->table1); + gtk_container_add(GTK_CONTAINER(prefswindow->window), prefswindow->table1); + +- prefswindow->scrolledwindow1 = gtk_scrolled_window_new(NULL, NULL); +- gtk_widget_show(prefswindow->scrolledwindow1); +- gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(prefswindow->scrolledwindow1), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC); +- gtk_table_attach(GTK_TABLE(prefswindow->table1), prefswindow->scrolledwindow1, 0, 1, 0, 1, GTK_FILL, GTK_FILL | GTK_EXPAND, 2, 2); +- +- prefswindow->tree_view = prefswindow_tree_view_create(prefswindow); +- gtk_widget_show(prefswindow->tree_view); +- gtk_container_add(GTK_CONTAINER(prefswindow->scrolledwindow1), +- prefswindow->tree_view); +- +- prefswindow->frame = gtk_frame_new(NULL); +- gtk_widget_show(prefswindow->frame); +- gtk_frame_set_shadow_type(GTK_FRAME(prefswindow->frame), GTK_SHADOW_IN); +- gtk_table_attach(GTK_TABLE(prefswindow->table1), prefswindow->frame, 1, 2, 0, 1, GTK_FILL | GTK_EXPAND, GTK_FILL | GTK_EXPAND, 2, 2); +- +- prefswindow->table2 = gtk_table_new(1, 2, FALSE); +- gtk_widget_show(prefswindow->table2); +- gtk_container_add(GTK_CONTAINER(prefswindow->frame), prefswindow->table2); +- +- prefswindow->labelframe = gtk_frame_new(NULL); +- gtk_widget_show(prefswindow->labelframe); +- gtk_frame_set_shadow_type(GTK_FRAME(prefswindow->labelframe), GTK_SHADOW_OUT); +- gtk_table_attach(GTK_TABLE(prefswindow->table2), prefswindow->labelframe, 0, 1, 0, 1, GTK_FILL | GTK_EXPAND, GTK_FILL, 1, 1); +- +- prefswindow->pagelabel = gtk_label_new(""); +- gtk_widget_show(prefswindow->pagelabel); +- gtk_label_set_justify(GTK_LABEL(prefswindow->pagelabel), GTK_JUSTIFY_LEFT); +- gtk_misc_set_alignment(GTK_MISC(prefswindow->pagelabel), 0, 0.0); +- gtk_container_add(GTK_CONTAINER(prefswindow->labelframe), prefswindow->pagelabel); ++ if (col_count > 1) ++ { ++ prefswindow->scrolledwindow1 = gtk_scrolled_window_new(NULL, NULL); ++ gtk_widget_show(prefswindow->scrolledwindow1); ++ gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(prefswindow->scrolledwindow1), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC); ++ gtk_table_attach(GTK_TABLE(prefswindow->table1), prefswindow->scrolledwindow1, 0, 1, 0, 1, GTK_FILL, GTK_FILL | GTK_EXPAND, 2, 2); ++ ++ prefswindow->tree_view = prefswindow_tree_view_create(prefswindow); ++ gtk_widget_show(prefswindow->tree_view); ++ gtk_container_add(GTK_CONTAINER(prefswindow->scrolledwindow1), ++ prefswindow->tree_view); ++ ++ prefswindow->frame = gtk_frame_new(NULL); ++ gtk_widget_show(prefswindow->frame); ++ gtk_frame_set_shadow_type(GTK_FRAME(prefswindow->frame), GTK_SHADOW_IN); ++ 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); ++ ++ prefswindow->table2 = gtk_table_new(1, 2, FALSE); ++ gtk_widget_show(prefswindow->table2); ++ gtk_container_add(GTK_CONTAINER(prefswindow->frame), prefswindow->table2); ++ } ++ else ++ { ++ prefswindow->table2 = gtk_table_new(1, 2, FALSE); ++ gtk_widget_show(prefswindow->table2); ++ gtk_table_attach(GTK_TABLE(prefswindow->table1), prefswindow->table2, 0, 1, 0, 1, GTK_FILL | GTK_EXPAND, GTK_FILL | GTK_EXPAND, 2, 2); ++ } ++ ++ ++ if (col_count > 1) ++ { ++ prefswindow->labelframe = gtk_frame_new(NULL); ++ gtk_widget_show(prefswindow->labelframe); ++ gtk_frame_set_shadow_type(GTK_FRAME(prefswindow->labelframe), GTK_SHADOW_OUT); ++ gtk_table_attach(GTK_TABLE(prefswindow->table2), prefswindow->labelframe, 0, 1, 0, 1, GTK_FILL | GTK_EXPAND, GTK_FILL, 1, 1); ++ ++ prefswindow->pagelabel = gtk_label_new(""); ++ gtk_widget_show(prefswindow->pagelabel); ++ gtk_label_set_justify(GTK_LABEL(prefswindow->pagelabel), GTK_JUSTIFY_LEFT); ++ gtk_misc_set_alignment(GTK_MISC(prefswindow->pagelabel), 0, 0.0); ++ gtk_container_add(GTK_CONTAINER(prefswindow->labelframe), prefswindow->pagelabel); ++ } + + prefswindow->scrolledwindow2 = gtk_scrolled_window_new(NULL, NULL); + gtk_widget_show(prefswindow->scrolledwindow2); +@@ -411,9 +428,38 @@ + gtk_widget_show(prefswindow->empty_page); + gtk_container_add(GTK_CONTAINER(prefswindow->notebook), prefswindow->empty_page); + +- prefswindow_build_tree(prefswindow->tree_view, prefs_pages); ++ if (col_count > 1) ++ { ++ prefswindow_build_tree(prefswindow->tree_view, prefs_pages); ++ ++ gtk_widget_grab_focus(prefswindow->tree_view); ++ } ++ else ++ { ++ PrefsPage * page = prefs_pages->data; ++ gint pagenum; ++ GtkAdjustment *adj; ++ ++ if (!page->page_open) ++ { ++ page->create_widget(page, ++ GTK_WINDOW(prefswindow->window), ++ prefswindow->data); ++ gtk_container_add(GTK_CONTAINER(prefswindow->notebook), ++ page->widget); ++ page->page_open = TRUE; ++ } ++ ++ pagenum = gtk_notebook_page_num(GTK_NOTEBOOK(prefswindow->notebook), ++ page->widget); ++ gtk_notebook_set_current_page(GTK_NOTEBOOK(prefswindow->notebook), ++ pagenum); + +- gtk_widget_grab_focus(prefswindow->tree_view); ++ adj = gtk_scrolled_window_get_vadjustment( ++ GTK_SCROLLED_WINDOW(prefswindow->scrolledwindow2)); ++ gtk_adjustment_set_value(adj, 0); ++ ++ } + + gtkut_stock_button_set_create(&prefswindow->confirm_area, + &prefswindow->apply_btn, GTK_STOCK_APPLY, +@@ -440,28 +486,6 @@ + G_CALLBACK(prefswindow_key_pressed), &(prefswindow->window)); + #endif + +- /* connect to callback only if we hhave non-NULL pointers to store size to */ +- if (prefswindow->save_width && prefswindow->save_height) { +- g_signal_connect(G_OBJECT(prefswindow->window), "size_allocate", +- G_CALLBACK(prefs_size_allocate_cb), prefswindow); +- } +- +- if (!geometry.min_height) { +- +- if (x < 800 && y < 600) { +- geometry.min_width = 600; +- geometry.min_height = 440; +- } else { +- geometry.min_width = 700; +- geometry.min_height = 550; +- } +- } +- gtk_window_set_geometry_hints(GTK_WINDOW(prefswindow->window), NULL, &geometry, +- GDK_HINT_MIN_SIZE); +- if (prefswindow->save_width && prefswindow->save_height) { +- gtk_widget_set_size_request(prefswindow->window, *(prefswindow->save_width), +- *(prefswindow->save_height)); +- } + + gtk_widget_show(prefswindow->window); + #ifdef MAEMO +Index: claws-mail-2.9.1/src/compose.c +=================================================================== +--- claws-mail-2.9.1.orig/src/compose.c 2007-04-25 07:40:10.000000000 +0100 ++++ claws-mail-2.9.1/src/compose.c 2007-04-25 10:18:13.000000000 +0100 +@@ -352,9 +352,6 @@ + + /* callback functions */ + +-static gboolean compose_edit_size_alloc (GtkEditable *widget, +- GtkAllocation *allocation, +- GtkSHRuler *shruler); + static void account_activated (GtkComboBox *optmenu, + gpointer data); + static void attach_selected (GtkTreeView *tree_view, +@@ -439,9 +436,6 @@ + guint action, + GtkWidget *widget); + +-static void compose_toggle_ruler_cb (gpointer data, +- guint action, +- GtkWidget *widget); + static void compose_toggle_sign_cb (gpointer data, + guint action, + GtkWidget *widget); +@@ -788,7 +782,6 @@ + ENC_ACTION(C_WINDOWS_874)}, + + {N_("/_Tools"), NULL, NULL, 0, ""}, +- {N_("/_Tools/Show _ruler"), NULL, compose_toggle_ruler_cb, 0, ""}, + {N_("/_Tools/_Address book"), "A", compose_address_cb , 0, NULL}, + {N_("/_Tools/_Template"), NULL, NULL, 0, ""}, + {N_("/_Tools/Actio_ns"), NULL, NULL, 0, ""}, +@@ -2067,7 +2060,6 @@ + menu_set_sensitive(ifactory, "/Message/Insert signature", FALSE); + menu_set_sensitive(ifactory, "/Edit", FALSE); + menu_set_sensitive(ifactory, "/Options", FALSE); +- menu_set_sensitive(ifactory, "/Tools/Show ruler", FALSE); + menu_set_sensitive(ifactory, "/Tools/Actions", FALSE); + + if (compose->toolbar->draft_btn) +@@ -5684,7 +5676,7 @@ + g_signal_connect(G_OBJECT(GTK_COMBO(combo)->entry), "grab_focus", + G_CALLBACK(compose_grab_focus_cb), compose); + gtk_widget_show(combo); +- gtk_table_attach(GTK_TABLE(compose->header_table), combo, 0, 1, compose->header_nextrow, compose->header_nextrow+1, GTK_SHRINK, GTK_FILL, 0, 0); ++ gtk_table_attach(GTK_TABLE(compose->header_table), combo, 0, 1, compose->header_nextrow, compose->header_nextrow+1, GTK_FILL, GTK_FILL, 0, 0); + if (compose->header_last) { + const gchar *last_header_entry = gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(compose->header_last->combo)->entry)); + string = headers; +@@ -5778,7 +5770,7 @@ + + static GtkWidget *compose_create_header(Compose *compose) + { +- GtkWidget *from_optmenu_hbox; ++ GtkWidget *from_optmenu; + GtkWidget *header_scrolledwin; + GtkWidget *header_table; + +@@ -5788,18 +5780,20 @@ + header_scrolledwin = gtk_scrolled_window_new(NULL, NULL); + gtk_widget_show(header_scrolledwin); + gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(header_scrolledwin), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC); +- + header_table = gtk_table_new(2, 2, FALSE); ++ gtk_table_set_col_spacings (GTK_TABLE (header_table), BORDER_WIDTH); + gtk_widget_show(header_table); + gtk_container_set_border_width(GTK_CONTAINER(header_table), BORDER_WIDTH); + gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(header_scrolledwin), header_table); +- gtk_viewport_set_shadow_type(GTK_VIEWPORT(GTK_BIN(header_scrolledwin)->child), GTK_SHADOW_ETCHED_IN); ++ gtk_viewport_set_shadow_type(GTK_VIEWPORT(GTK_BIN(header_scrolledwin)->child), GTK_SHADOW_NONE); + count = 0; + + /* option menu for selecting accounts */ +- from_optmenu_hbox = compose_account_option_menu_create(compose); +- gtk_table_attach(GTK_TABLE(header_table), from_optmenu_hbox, +- 0, 2, count, count + 1, GTK_EXPAND | GTK_FILL, GTK_SHRINK, 0, 0); ++ from_optmenu = compose_account_option_menu_create(compose); ++ gtk_table_attach(GTK_TABLE(header_table), from_optmenu, ++ 0, 1, count, count + 1, GTK_FILL, GTK_FILL, 0, 0); ++ gtk_table_attach(GTK_TABLE(header_table), compose->from_name, ++ 1, 2, count, count + 1, GTK_EXPAND | GTK_FILL, GTK_FILL, 0, 0); + count++; + + compose->header_table = header_table; +@@ -6140,15 +6134,12 @@ + GtkWidget *vbox2; + + GtkWidget *label; +- GtkWidget *subject_hbox; +- GtkWidget *subject_frame; ++ GtkWidget *edit_frame; + GtkWidget *subject_entry; + GtkWidget *subject; + GtkWidget *paned; + + GtkWidget *edit_vbox; +- GtkWidget *ruler_hbox; +- GtkWidget *ruler; + GtkWidget *scrolledwin; + GtkWidget *text; + GtkTextBuffer *buffer; +@@ -6169,8 +6160,6 @@ + GtkAspell * gtkaspell = NULL; + #endif + +- static GdkGeometry geometry; +- + g_return_val_if_fail(account != NULL, NULL); + + debug_print("Creating compose window...\n"); +@@ -6190,28 +6179,6 @@ + + window = gtkut_window_new(GTK_WINDOW_TOPLEVEL, "compose"); + +- gtk_window_set_resizable(GTK_WINDOW(window), TRUE); +- gtk_widget_set_size_request(window, -1, prefs_common.compose_height); +- +- if (!geometry.max_width) { +- geometry.max_width = gdk_screen_width(); +- geometry.max_height = gdk_screen_height(); +- } +- +- gtk_window_set_geometry_hints(GTK_WINDOW(window), NULL, +- &geometry, GDK_HINT_MAX_SIZE); +- if (!geometry.min_width) { +- geometry.min_width = 600; +- geometry.min_height = 480; +- } +- gtk_window_set_geometry_hints(GTK_WINDOW(window), NULL, +- &geometry, GDK_HINT_MIN_SIZE); +- +-#ifndef MAEMO +- if (compose_force_window_origin) +- gtk_widget_set_uposition(window, prefs_common.compose_x, +- prefs_common.compose_y); +-#endif + g_signal_connect(G_OBJECT(window), "delete_event", + G_CALLBACK(compose_delete_cb), compose); + MANAGE_WINDOW_SIGNALS_CONNECT(window); +@@ -6227,11 +6194,7 @@ + n_menu_entries, "", compose); + gtk_box_pack_start(GTK_BOX(vbox), menubar, FALSE, TRUE, 0); + +- if (prefs_common.toolbar_detachable) { +- handlebox = gtk_handle_box_new(); +- } else { +- handlebox = gtk_hbox_new(FALSE, 0); +- } ++ handlebox = gtk_hbox_new(FALSE, 0); + gtk_box_pack_start(GTK_BOX(vbox), handlebox, FALSE, FALSE, 0); + + gtk_widget_realize(handlebox); +@@ -6244,7 +6207,6 @@ + + /* Notebook */ + notebook = gtk_notebook_new(); +- gtk_widget_set_size_request(notebook, -1, 130); + gtk_widget_show(notebook); + + /* header labels and entries */ +@@ -6258,18 +6220,10 @@ + /* Others Tab */ + gtk_notebook_append_page(GTK_NOTEBOOK(notebook), + compose_create_others(compose), +- gtk_label_new_with_mnemonic(_("Othe_rs"))); ++ gtk_label_new_with_mnemonic(_("Othe_r"))); + + /* Subject */ +- subject_hbox = gtk_hbox_new(FALSE, 0); +- gtk_widget_show(subject_hbox); +- +- subject_frame = gtk_frame_new(NULL); +- gtk_frame_set_shadow_type(GTK_FRAME(subject_frame), GTK_SHADOW_NONE); +- gtk_box_pack_start(GTK_BOX(subject_hbox), subject_frame, TRUE, TRUE, 0); +- gtk_widget_show(subject_frame); +- +- subject = gtk_hbox_new(FALSE, HSPACING_NARROW); ++ subject = gtk_hbox_new(FALSE, BORDER_WIDTH); + gtk_container_set_border_width(GTK_CONTAINER(subject), 0); + gtk_widget_show(subject); + +@@ -6283,20 +6237,16 @@ + G_CALLBACK(compose_grab_focus_cb), compose); + gtk_widget_show(subject_entry); + compose->subject_entry = subject_entry; +- gtk_container_add(GTK_CONTAINER(subject_frame), subject); + +- edit_vbox = gtk_vbox_new(FALSE, 0); ++ edit_vbox = gtk_vbox_new(FALSE, BORDER_WIDTH); ++ gtk_container_set_border_width(GTK_CONTAINER(edit_vbox), BORDER_WIDTH); + +- gtk_box_pack_start(GTK_BOX(edit_vbox), subject_hbox, FALSE, FALSE, 0); ++ gtk_box_pack_start(GTK_BOX(edit_vbox), subject, FALSE, FALSE, 0); + +- /* ruler */ +- ruler_hbox = gtk_hbox_new(FALSE, 0); +- gtk_box_pack_start(GTK_BOX(edit_vbox), ruler_hbox, FALSE, FALSE, 0); +- +- ruler = gtk_shruler_new(); +- gtk_ruler_set_range(GTK_RULER(ruler), 0.0, 100.0, 1.0, 100.0); +- gtk_box_pack_start(GTK_BOX(ruler_hbox), ruler, TRUE, TRUE, +- BORDER_WIDTH); ++ edit_frame = gtk_frame_new(NULL); ++ gtk_frame_set_shadow_type(GTK_FRAME(edit_frame), GTK_SHADOW_IN); ++ gtk_widget_show(edit_frame); ++ gtk_container_add(GTK_CONTAINER(edit_frame), edit_vbox); + + /* text widget */ + scrolledwin = gtk_scrolled_window_new(NULL, NULL); +@@ -6317,9 +6267,6 @@ + + gtk_container_add(GTK_CONTAINER(scrolledwin), text); + +- g_signal_connect_after(G_OBJECT(text), "size_allocate", +- G_CALLBACK(compose_edit_size_alloc), +- ruler); + g_signal_connect(G_OBJECT(buffer), "changed", + G_CALLBACK(compose_changed_cb), compose); + g_signal_connect(G_OBJECT(text), "grab_focus", +@@ -6363,7 +6310,7 @@ + gtk_widget_set_size_request(edit_vbox, -1, mode == COMPOSE_NEW ? 250 : 230); + #endif + gtk_paned_add1(GTK_PANED(paned), notebook); +- gtk_paned_add2(GTK_PANED(paned), edit_vbox); ++ gtk_paned_add2(GTK_PANED(paned), edit_frame); + gtk_widget_show_all(paned); + + +@@ -6408,8 +6355,6 @@ + + compose->notebook = notebook; + compose->edit_vbox = edit_vbox; +- compose->ruler_hbox = ruler_hbox; +- compose->ruler = ruler; + compose->scrolledwin = scrolledwin; + compose->text = text; + +@@ -6531,13 +6476,6 @@ + + compose_list = g_list_append(compose_list, compose); + +- if (!prefs_common.show_ruler) +- gtk_widget_hide(ruler_hbox); +- +- menuitem = gtk_item_factory_get_item(ifactory, "/Tools/Show ruler"); +- gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menuitem), +- prefs_common.show_ruler); +- + /* Priority */ + compose->priority = PRIORITY_NORMAL; + compose_update_priority_menu_item(compose); +@@ -6568,7 +6506,6 @@ + static GtkWidget *compose_account_option_menu_create(Compose *compose) + { + GList *accounts; +- GtkWidget *hbox; + GtkWidget *optmenu; + GtkWidget *optmenubox; + GtkListStore *menu; +@@ -6584,7 +6521,6 @@ + optmenu = gtkut_sc_combobox_create(optmenubox, FALSE); + menu = GTK_LIST_STORE(gtk_combo_box_get_model(GTK_COMBO_BOX(optmenu))); + +- hbox = gtk_hbox_new(FALSE, 6); + from_name = gtk_entry_new(); + + g_signal_connect_after(G_OBJECT(from_name), "grab_focus", +@@ -6623,9 +6559,6 @@ + G_CALLBACK(account_activated), + compose); + +- gtk_box_pack_start(GTK_BOX(hbox), optmenubox, FALSE, FALSE, 0); +- gtk_box_pack_start(GTK_BOX(hbox), from_name, TRUE, TRUE, 0); +- + gtk_tooltips_set_tip(compose->tooltips, optmenubox, + _("Account to use for this email"), NULL); + gtk_tooltips_set_tip(compose->tooltips, from_name, +@@ -6633,7 +6566,7 @@ + + compose->from_name = from_name; + +- return hbox; ++ return optmenubox; + } + + static void compose_set_priority_cb(gpointer data, +@@ -7851,32 +7784,6 @@ + + /* callback functions */ + +-/* compose_edit_size_alloc() - called when resized. don't know whether Gtk +- * includes "non-client" (windows-izm) in calculation, so this calculation +- * may not be accurate. +- */ +-static gboolean compose_edit_size_alloc(GtkEditable *widget, +- GtkAllocation *allocation, +- GtkSHRuler *shruler) +-{ +- if (prefs_common.show_ruler) { +- gint char_width = 0, char_height = 0; +- gint line_width_in_chars; +- +- gtkut_get_font_size(GTK_WIDGET(widget), +- &char_width, &char_height); +- line_width_in_chars = +- (allocation->width - allocation->x) / char_width; +- +- /* got the maximum */ +- gtk_ruler_set_range(GTK_RULER(shruler), +- 0.0, line_width_in_chars, 0, +- /*line_width_in_chars*/ char_width); +- } +- +- return TRUE; +-} +- + static void account_activated(GtkComboBox *optmenu, gpointer data) + { + Compose *compose = (Compose *)data; +@@ -9040,21 +8947,6 @@ + compose_update_privacy_system_menu_item(compose, warn); + } + +-static void compose_toggle_ruler_cb(gpointer data, guint action, +- GtkWidget *widget) +-{ +- Compose *compose = (Compose *)data; +- +- if (GTK_CHECK_MENU_ITEM(widget)->active) { +- gtk_widget_show(compose->ruler_hbox); +- prefs_common.show_ruler = TRUE; +- } else { +- gtk_widget_hide(compose->ruler_hbox); +- gtk_widget_queue_resize(compose->edit_vbox); +- prefs_common.show_ruler = FALSE; +- } +-} +- + static void compose_attach_drag_received_cb (GtkWidget *widget, + GdkDragContext *context, + gint x, +Index: claws-mail-2.9.1/src/folderview.c +=================================================================== +--- claws-mail-2.9.1.orig/src/folderview.c 2007-04-03 19:10:25.000000000 +0100 ++++ claws-mail-2.9.1/src/folderview.c 2007-04-25 10:28:00.000000000 +0100 +@@ -73,6 +73,11 @@ + #define COL_FOLDER_WIDTH 150 + #define COL_NUM_WIDTH 32 + ++/* added dummy column to stop the last column from ++ * resizing insanely in small screen view ++ */ ++#define _N_FOLDER_COLS (N_FOLDER_COLS + 1) ++ + static GList *folderview_list = NULL; + + static GtkStyle *normal_style; +@@ -448,7 +453,7 @@ + gint *col_pos; + FolderColumnState *col_state; + FolderColumnType type; +- gchar *titles[N_FOLDER_COLS]; ++ gchar *titles[_N_FOLDER_COLS]; + gint i; + GtkWidget *scrolledwin = folderview->scrolledwin; + +@@ -471,8 +476,9 @@ + titles[col_pos[F_COL_UNREAD]] = _("Unread"); + /* TRANSLATORS: This in Number sign in American style */ + titles[col_pos[F_COL_TOTAL]] = _("#"); ++ titles[F_COL_DUMMY] = ""; + +- ctree = gtk_sctree_new_with_titles(N_FOLDER_COLS, col_pos[F_COL_FOLDER], ++ ctree = gtk_sctree_new_with_titles(_N_FOLDER_COLS, col_pos[F_COL_FOLDER], + titles); + + gtk_clist_set_selection_mode(GTK_CLIST(ctree), GTK_SELECTION_BROWSE); +@@ -510,6 +516,9 @@ + (GTK_CLIST(ctree), i, col_state[i].visible); + } + ++ GTK_WIDGET_UNSET_FLAGS(GTK_CLIST(ctree)->column[i].button, ++ GTK_CAN_FOCUS); ++ + g_signal_connect(G_OBJECT(ctree), "key_press_event", + G_CALLBACK(folderview_key_pressed), + folderview); +@@ -605,9 +614,6 @@ + (GTK_SCROLLED_WINDOW(scrolledwin), + GTK_POLICY_AUTOMATIC, + prefs_common.folderview_vscrollbar_policy); +- gtk_widget_set_size_request(scrolledwin, +- prefs_common.folderview_width, +- prefs_common.folderview_height); + + folderview->scrolledwin = scrolledwin; + ctree = folderview_ctree_create(folderview); +@@ -2268,7 +2274,7 @@ + static void folderview_create_folder_node(FolderView *folderview, FolderItem *item) + { + GtkCTree *ctree = GTK_CTREE(folderview->ctree); +- gchar *text[N_FOLDER_COLS] = {NULL, "0", "0", "0"}; ++ gchar *text[_N_FOLDER_COLS] = {NULL, "0", "0", "0", ""}; + GtkCTreeNode *node, *parent_node; + gint *col_pos = folderview->col_pos; + FolderItemUpdateData hookdata; +Index: claws-mail-2.9.1/src/folderview.h +=================================================================== +--- claws-mail-2.9.1.orig/src/folderview.h 2007-03-22 17:22:52.000000000 +0000 ++++ claws-mail-2.9.1/src/folderview.h 2007-04-25 10:16:55.000000000 +0100 +@@ -37,7 +37,8 @@ + F_COL_FOLDER, + F_COL_NEW, + F_COL_UNREAD, +- F_COL_TOTAL ++ F_COL_TOTAL, ++ F_COL_DUMMY + } FolderColumnType; + + #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 new file mode 100644 index 0000000000..82dd1d047f --- /dev/null +++ b/meta-demoapps/recipes-sato/clipboard-manager/clipboard-manager_0.6.4.bb @@ -0,0 +1,33 @@ +LICENSE = "GPL" +DESCRIPTION = "clipboard manager" +DEPENDS = "virtual/libx11" + +SRC_URI = "svn://stage.maemo.org/svn/maemo/projects/haf/tags/clipboard-manager/;module=${PV};proto=https \ + file://makefile.patch;patch=1 \ + file://script.patch;patch=1 \ + file://daemonize.patch;patch=1 \ + " + +S = "${WORKDIR}/${PV}" + +inherit autotools pkgconfig + +do_install_append () { + mv ${D}/${sysconfdir}/X11/Xsession.d/clipboard.sh ${D}/${sysconfdir}/X11/Xsession.d/70clipboard + chmod u+x ${D}/${sysconfdir}/X11/Xsession.d/70clipboard +} + +pkg_postinst_clipboard-manager () { +#!/bin/sh -e +if [ x"$D" = "x" ]; then + { + if [ x$(pidof clipboard-manager) != x ]; then + kill -TERM $(pidof clipboard-manager) + fi + + ${sysconfdir}/X11/Xsession.d/70clipboard + } > /dev/null +else + exit 1 +fi +} diff --git a/meta-demoapps/recipes-sato/clipboard-manager/files/daemonize.patch b/meta-demoapps/recipes-sato/clipboard-manager/files/daemonize.patch new file mode 100644 index 0000000000..51ce4781a5 --- /dev/null +++ b/meta-demoapps/recipes-sato/clipboard-manager/files/daemonize.patch @@ -0,0 +1,44 @@ +Index: 0.6.4/manager.c +=================================================================== +--- 0.6.4.orig/manager.c 2007-06-28 12:23:37.000000000 +0100 ++++ 0.6.4/manager.c 2007-06-28 12:36:14.000000000 +0100 +@@ -68,7 +68,8 @@ + ClipboardManager *manager; + int terminated = False; + Display *display; +- ++ pid_t pid; ++ + display = XOpenDisplay (NULL); + + if (!display) +@@ -83,6 +84,29 @@ + exit (1); + } + ++ /* deamonize */ ++ pid = fork(); ++ switch (pid) ++ { ++ case -1: fprintf (stderr, "Fork failed.\n"); ++ /* Fall through */ ++ default: exit(0); break; ++ case 0: break; ++ } ++ ++ chdir ("/"); ++ setsid (); ++ umask (0); ++ ++ pid = fork(); ++ switch (pid) ++ { ++ case -1: fprintf (stderr, "Fork failed.\n"); ++ /* Fall through */ ++ default: exit(0); break; ++ case 0: break; ++ } ++ + XSetErrorHandler (x_error); + manager = clipboard_manager_new (display, + 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 new file mode 100644 index 0000000000..6e48da004c --- /dev/null +++ b/meta-demoapps/recipes-sato/clipboard-manager/files/makefile.patch @@ -0,0 +1,18 @@ +Index: 0.6.4/Makefile.am +=================================================================== +--- 0.6.4.orig/Makefile.am 2007-06-28 12:23:37.000000000 +0100 ++++ 0.6.4/Makefile.am 2007-06-28 14:21:23.000000000 +0100 +@@ -1,5 +1,3 @@ +-SUBDIRS = debian +- + bin_PROGRAMS = clipboard-manager + + INCLUDES = \ +@@ -21,6 +19,6 @@ + clipboard.txt \ + clipboard.sh + +-servicedir = $(sysconfdir)/osso-af-init ++servicedir = $(sysconfdir)/X11/Xsession.d + + 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 new file mode 100644 index 0000000000..09e68620d7 --- /dev/null +++ b/meta-demoapps/recipes-sato/clipboard-manager/files/script.patch @@ -0,0 +1,39 @@ +Index: 0.6.4/clipboard.sh +=================================================================== +--- 0.6.4.orig/clipboard.sh 2007-06-28 12:23:37.000000000 +0100 ++++ 0.6.4/clipboard.sh 2007-06-28 14:27:39.000000000 +0100 +@@ -1,33 +1,2 @@ + #!/bin/sh +-# Clipboard persistence manager startup script +- +-if [ "x$AF_PIDDIR" = "x" ]; then +- echo "$0: Error, AF_PIDDIR is not defined" +- exit 2 +-fi +-if [ "x$LAUNCHWRAPPER_NICE_TRYRESTART" = "x" ]; then +- echo "$0: Error, LAUNCHWRAPPER_NICE_TRYRESTART is not defined" +- exit 2 +-fi +-if [ ! -w $AF_PIDDIR ]; then +- echo "$0: Error, directory $AF_PIDDIR is not writable" +- exit 2 +-fi +-PROG=/usr/bin/clipboard-manager +-SVC="clipboard-manager" +- +-case "$1" in +-start) START=TRUE +- ;; +-stop) START=FALSE +- ;; +-*) echo "Usage: $0 {start|stop}" +- exit 1 +- ;; +-esac +- +-if [ $START = TRUE ]; then +- source $LAUNCHWRAPPER_NICE_TRYRESTART start "$SVC" $PROG +-else +- source $LAUNCHWRAPPER_NICE_TRYRESTART stop "$SVC" $PROG +-fi ++/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 new file mode 100644 index 0000000000..3ddf5147df --- /dev/null +++ b/meta-demoapps/recipes-sato/epdfview/epdfview/epdfview-ui-print.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/meta-demoapps/recipes-sato/epdfview/epdfview/epdfview-ui.xml b/meta-demoapps/recipes-sato/epdfview/epdfview/epdfview-ui.xml new file mode 100644 index 0000000000..602d86f903 --- /dev/null +++ b/meta-demoapps/recipes-sato/epdfview/epdfview/epdfview-ui.xml @@ -0,0 +1,57 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/meta-demoapps/recipes-sato/epdfview/epdfview/epdfview.desktop b/meta-demoapps/recipes-sato/epdfview/epdfview/epdfview.desktop new file mode 100644 index 0000000000..d3bf06d2aa --- /dev/null +++ b/meta-demoapps/recipes-sato/epdfview/epdfview/epdfview.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Categories=Viewer;Office;GTK; +Comment=Lightweight PDF document viewer +Exec=epdfview %f +GenericName=PDF Viewer +Icon=accessories-text-editor +Name=PDF Viewer +MimeType=application/pdf; +Terminal=false +Type=Application diff --git a/meta-demoapps/recipes-sato/epdfview/epdfview/owl-menus.patch b/meta-demoapps/recipes-sato/epdfview/epdfview/owl-menus.patch new file mode 100644 index 0000000000..755b71e7a4 --- /dev/null +++ b/meta-demoapps/recipes-sato/epdfview/epdfview/owl-menus.patch @@ -0,0 +1,325 @@ +Index: epdfview-0.1.7/src/Makefile.am +=================================================================== +--- epdfview-0.1.7.orig/src/Makefile.am 2010-07-13 12:30:44.014172385 +0100 ++++ epdfview-0.1.7/src/Makefile.am 2010-07-13 12:30:48.780063260 +0100 +@@ -58,7 +58,7 @@ + main.cxx + + libshell_cxxflags = -I$(top_srcdir)/src/gtk $(GTK2_CFLAGS) +-libshell_ldadd = $(GTK2_LIBS) $(top_builddir)/src/gtk/libshell-gtk.a ++libshell_ldadd = $(GTK2_LIBS) $(top_builddir)/src/gtk/libshell-gtk.a -lowl + + epdfview_CXXFLAGS = \ + -DLOCALEDIR='"$(datadir)/locale"' \ +Index: epdfview-0.1.7/src/gtk/MainView.cxx +=================================================================== +--- epdfview-0.1.7.orig/src/gtk/MainView.cxx 2010-07-13 12:30:44.014172385 +0100 ++++ epdfview-0.1.7/src/gtk/MainView.cxx 2010-07-13 12:30:48.782124540 +0100 +@@ -20,6 +20,7 @@ + #include + #include + #include ++#include + #include + #include "StockIcons.h" + #include "FindView.h" +@@ -86,6 +87,7 @@ + // The actions for menus and toolbars. + static const GtkActionEntry g_NormalEntries[] = + { ++ { "Top", NULL, "", NULL, NULL, NULL }, + { "FileMenu", NULL, N_("_File"), NULL, NULL, NULL }, + { "EditMenu", NULL, N_("_Edit"), NULL, NULL, NULL }, + { "ViewMenu", NULL, N_("_View"), NULL, NULL, NULL }, +@@ -100,7 +102,7 @@ + N_("Reload the current document"), + G_CALLBACK (main_window_reload_cb) }, + +- { "SaveFile", GTK_STOCK_SAVE, N_("_Save a Copy..."), "S", ++ { "SaveFile", GTK_STOCK_SAVE, N_("_Save a Copy..."), "W", + N_("Save a copy of the current document"), + G_CALLBACK (main_window_save_file_cb) }, + +@@ -110,11 +112,11 @@ + G_CALLBACK (main_window_print_cb) }, + #endif // HAVE_CUPS + +- { "Quit", GTK_STOCK_CLOSE, N_("_Close"), "W", ++ { "Quit", GTK_STOCK_CLOSE, N_("_Close"), "Q", + N_("Close this window"), + G_CALLBACK (main_window_quit_cb) }, + +- { "Find", GTK_STOCK_FIND, N_("_Find"), "F", ++ { "Find", GTK_STOCK_FIND, N_("_Find"), "S", + N_("Find a word in the document"), + G_CALLBACK (main_window_find_cb) }, + +@@ -138,19 +140,19 @@ + N_("Rotate the document 90 degrees counter-clockwise"), + G_CALLBACK (main_window_rotate_left_cb) }, + +- { "GoToFirstPage", GTK_STOCK_GOTO_FIRST, N_("_First Page"), "Home", ++ { "GoToFirstPage", GTK_STOCK_GOTO_FIRST, N_("_First Page"), "1", + N_("Go to the first page"), + G_CALLBACK (main_window_go_to_first_page_cb) }, + +- { "GoToNextPage", GTK_STOCK_GO_FORWARD, N_("_Next Page"), "Page_Down", ++ { "GoToNextPage", GTK_STOCK_GO_FORWARD, N_("_Next Page"), "Down", + N_("Go to the next page"), + G_CALLBACK (main_window_go_to_next_page_cb) }, + +- { "GoToPreviousPage", GTK_STOCK_GO_BACK, N_("_Previous Page"), "Page_Up", ++ { "GoToPreviousPage", GTK_STOCK_GO_BACK, N_("_Previous Page"), "Up", + N_("Go to the previous page"), + G_CALLBACK (main_window_go_to_previous_page_cb) }, + +- { "GoToLastPage", GTK_STOCK_GOTO_LAST, N_("_Last Page"), "End", ++ { "GoToLastPage", GTK_STOCK_GOTO_LAST, N_("_Last Page"), "0", + N_("Go to the last page"), + G_CALLBACK (main_window_go_to_last_page_cb) }, + +@@ -172,7 +174,7 @@ + + static GtkToggleActionEntry g_ToggleEntries[] = + { +- { "FullScreen", NULL, N_("F_ull screen"), "F11", ++ { "FullScreen", NULL, N_("F_ull screen"), "F", + N_("Toggle full screen window"), + G_CALLBACK (main_window_fullscreen_cb), FALSE }, + +@@ -184,7 +186,7 @@ + N_("Show or hide the statusbar"), + G_CALLBACK (main_window_show_statusbar_cb), TRUE }, + +- { "ShowIndex", NULL, N_("Show I_ndex"), "F9", ++ { "ShowIndex", NULL, N_("Show I_ndex"), "I", + N_("Show or hide the document's outline"), + G_CALLBACK (main_window_show_index_cb), FALSE }, + +@@ -234,9 +236,8 @@ + GtkAccelGroup *accelGroup = gtk_ui_manager_get_accel_group (m_UIManager); + gtk_window_add_accel_group (GTK_WINDOW (m_MainWindow), accelGroup); + // Add the menu bar and tool bar. +- GtkWidget *menuBar = gtk_ui_manager_get_widget (m_UIManager, "/MenuBar"); +- gtk_box_pack_start (GTK_BOX (m_MainBox), menuBar, FALSE, FALSE, 0); +- gtk_widget_show (menuBar); ++ owl_set_window_menu_item (GTK_WINDOW (m_MainWindow), ++ GTK_MENU_ITEM(gtk_ui_manager_get_widget(m_UIManager, "/MenuBar/TopMenu"))); + GtkWidget *toolBar = gtk_ui_manager_get_widget (m_UIManager, "/ToolBar"); + gtk_box_pack_start (GTK_BOX (m_MainBox), toolBar, FALSE, FALSE, 0); + // Add the current page tool item. +@@ -285,7 +286,7 @@ + MainView::activeZoomFit (gboolean active) + { + GtkAction *zoomFit = +- gtk_ui_manager_get_action (m_UIManager, "/MenuBar/ViewMenu/ZoomFit"); ++ gtk_ui_manager_get_action (m_UIManager, "/MenuBar/TopMenu/ViewMenu/ZoomFit"); + gtk_toggle_action_set_active (GTK_TOGGLE_ACTION (zoomFit), active); + } + +@@ -293,7 +294,7 @@ + MainView::activeZoomWidth (gboolean active) + { + GtkAction *zoomWidth = +- gtk_ui_manager_get_action (m_UIManager, "/MenuBar/ViewMenu/ZoomWidth"); ++ gtk_ui_manager_get_action (m_UIManager, "/MenuBar/TopMenu/ViewMenu/ZoomWidth"); + gtk_toggle_action_set_active (GTK_TOGGLE_ACTION (zoomWidth), active); + } + +@@ -484,7 +485,7 @@ + MainView::sensitiveFind (gboolean sensitive) + { + GtkAction *find = +- gtk_ui_manager_get_action (m_UIManager, "/MenuBar/EditMenu/Find"); ++ gtk_ui_manager_get_action (m_UIManager, "/MenuBar/TopMenu/EditMenu/Find"); + gtk_action_set_sensitive (find, sensitive); + } + +@@ -492,7 +493,7 @@ + MainView::sensitiveGoToFirstPage (gboolean sensitive) + { + GtkAction *goToFirstPage = gtk_ui_manager_get_action (m_UIManager, +- "/MenuBar/GoMenu/GoToFirstPage"); ++ "/MenuBar/TopMenu/GoMenu/GoToFirstPage"); + gtk_action_set_sensitive (goToFirstPage, sensitive); + } + +@@ -500,7 +501,7 @@ + MainView::sensitiveGoToLastPage (gboolean sensitive) + { + GtkAction *goToLastPage = +- gtk_ui_manager_get_action (m_UIManager, "/MenuBar/GoMenu/GoToLastPage"); ++ gtk_ui_manager_get_action (m_UIManager, "/MenuBar/TopMenu/GoMenu/GoToLastPage"); + gtk_action_set_sensitive (goToLastPage, sensitive); + } + +@@ -508,7 +509,7 @@ + MainView::sensitiveGoToNextPage (gboolean sensitive) + { + GtkAction *goToNextPage = +- gtk_ui_manager_get_action (m_UIManager, "/MenuBar/GoMenu/GoToNextPage"); ++ gtk_ui_manager_get_action (m_UIManager, "/MenuBar/TopMenu/GoMenu/GoToNextPage"); + gtk_action_set_sensitive (goToNextPage, sensitive); + } + +@@ -522,7 +523,7 @@ + MainView::sensitiveGoToPreviousPage (gboolean sensitive) + { + GtkAction *goToPreviousPage = gtk_ui_manager_get_action (m_UIManager, +- "/MenuBar/GoMenu/GoToPreviousPage"); ++ "/MenuBar/TopMenu/GoMenu/GoToPreviousPage"); + gtk_action_set_sensitive (goToPreviousPage, sensitive); + } + +@@ -530,7 +531,7 @@ + MainView::sensitiveOpen (gboolean sensitive) + { + GtkAction *open = +- gtk_ui_manager_get_action (m_UIManager, "/MenuBar/FileMenu/OpenFile"); ++ gtk_ui_manager_get_action (m_UIManager, "/MenuBar/TopMenu/FileMenu/OpenFile"); + gtk_action_set_sensitive (open, sensitive); + } + +@@ -539,7 +540,7 @@ + MainView::sensitivePrint (gboolean sensitive) + { + GtkAction *print = gtk_ui_manager_get_action (m_UIManager, +- "/MenuBar/FileMenu/PrintPlaceHolder/Print"); ++ "/MenuBar/TopMenu/FileMenu/PrintPlaceHolder/Print"); + gtk_action_set_sensitive (print, sensitive); + } + #endif // HAVE_CUPS +@@ -548,7 +549,7 @@ + MainView::sensitiveReload (gboolean sensitive) + { + GtkAction *reload = +- gtk_ui_manager_get_action (m_UIManager, "/MenuBar/FileMenu/ReloadFile"); ++ gtk_ui_manager_get_action (m_UIManager, "/MenuBar/TopMenu/FileMenu/ReloadFile"); + gtk_action_set_sensitive (reload, sensitive); + } + +@@ -556,7 +557,7 @@ + MainView::sensitiveRotateLeft (gboolean sensitive) + { + GtkAction *rotateLeft = +- gtk_ui_manager_get_action (m_UIManager, "/MenuBar/ViewMenu/RotateLeft"); ++ gtk_ui_manager_get_action (m_UIManager, "/MenuBar/TopMenu/ViewMenu/RotateLeft"); + gtk_action_set_sensitive (rotateLeft, sensitive); + } + +@@ -564,7 +565,7 @@ + MainView::sensitiveRotateRight (gboolean sensitive) + { + GtkAction *rotateRight = gtk_ui_manager_get_action (m_UIManager, +- "/MenuBar/ViewMenu/RotateRight"); ++ "/MenuBar/TopMenu/ViewMenu/RotateRight"); + gtk_action_set_sensitive (rotateRight, sensitive); + } + +@@ -572,7 +573,7 @@ + MainView::sensitiveSave (gboolean sensitive) + { + GtkAction *save = +- gtk_ui_manager_get_action (m_UIManager, "/MenuBar/FileMenu/SaveFile"); ++ gtk_ui_manager_get_action (m_UIManager, "/MenuBar/TopMenu/FileMenu/SaveFile"); + gtk_action_set_sensitive (save, sensitive); + } + +@@ -586,7 +587,7 @@ + MainView::sensitiveZoomIn (gboolean sensitive) + { + GtkAction *zoomIn = +- gtk_ui_manager_get_action (m_UIManager, "/MenuBar/ViewMenu/ZoomIn"); ++ gtk_ui_manager_get_action (m_UIManager, "/MenuBar/TopMenu/ViewMenu/ZoomIn"); + gtk_action_set_sensitive (zoomIn, sensitive); + } + +@@ -594,7 +595,7 @@ + MainView::sensitiveZoomOut (gboolean sensitive) + { + GtkAction *zoomOut = +- gtk_ui_manager_get_action (m_UIManager, "/MenuBar/ViewMenu/ZoomOut"); ++ gtk_ui_manager_get_action (m_UIManager, "/MenuBar/TopMenu/ViewMenu/ZoomOut"); + gtk_action_set_sensitive (zoomOut, sensitive); + } + +@@ -602,7 +603,7 @@ + MainView::sensitiveZoomFit (gboolean sensitive) + { + GtkAction *zoomFit = +- gtk_ui_manager_get_action (m_UIManager, "/MenuBar/ViewMenu/ZoomFit"); ++ gtk_ui_manager_get_action (m_UIManager, "/MenuBar/TopMenu/ViewMenu/ZoomFit"); + gtk_action_set_sensitive (zoomFit, sensitive); + } + +@@ -610,7 +611,7 @@ + MainView::sensitiveZoomWidth (gboolean sensitive) + { + GtkAction *zoomWidth = +- gtk_ui_manager_get_action (m_UIManager, "/MenuBar/ViewMenu/ZoomWidth"); ++ gtk_ui_manager_get_action (m_UIManager, "/MenuBar/TopMenu/ViewMenu/ZoomWidth"); + gtk_action_set_sensitive (zoomWidth, sensitive); + } + +@@ -654,7 +655,7 @@ + } + GtkAction *showIndex = + gtk_ui_manager_get_action (m_UIManager, +- "/MenuBar/ViewMenu/ShowIndex"); ++ "/MenuBar/TopMenu/ViewMenu/ShowIndex"); + gtk_toggle_action_set_active (GTK_TOGGLE_ACTION (showIndex), show); + } + +@@ -695,13 +696,13 @@ + gtk_window_fullscreen (GTK_WINDOW (m_MainWindow)); + // Hide the menu bar, tool bar, status bar and the index bar. Then + // zoom to fit. +- gtk_widget_hide (menuBar); ++// gtk_widget_hide (menuBar); + gtk_widget_hide (toolBar); + gtk_widget_hide (m_StatusBar); + gtk_widget_hide (m_Sidebar); + gtk_toggle_action_set_active ( + GTK_TOGGLE_ACTION (gtk_ui_manager_get_action (m_UIManager, +- "/MenuBar/ViewMenu/ZoomFit")), TRUE); ++ "/MenuBar/TopMenu/ViewMenu/ZoomFit")), TRUE); + } + else + { +@@ -711,15 +712,15 @@ + // enabled. + main_window_show_index_cb ( + GTK_TOGGLE_ACTION (gtk_ui_manager_get_action (m_UIManager, +- "/MenuBar/ViewMenu/ShowIndex")), ++ "/MenuBar/TopMenu/ViewMenu/ShowIndex")), + (gpointer)m_Pter); + main_window_show_statusbar_cb ( + GTK_TOGGLE_ACTION (gtk_ui_manager_get_action (m_UIManager, +- "/MenuBar/ViewMenu/ShowStatusBar")), ++ "/MenuBar/TopMenu/ViewMenu/ShowStatusBar")), + (gpointer)m_Pter); + main_window_show_toolbar_cb ( + GTK_TOGGLE_ACTION (gtk_ui_manager_get_action (m_UIManager, +- "/MenuBar/ViewMenu/ShowToolBar")), ++ "/MenuBar/TopMenu/ViewMenu/ShowToolBar")), + (gpointer)m_Pter); + } + } +@@ -814,7 +815,7 @@ + MainView::showStatusbar (gboolean show) + { + GtkAction *toggleAction = gtk_ui_manager_get_action (m_UIManager, +- "/MenuBar/ViewMenu/ShowStatusBar"); ++ "/MenuBar/TopMenu/ViewMenu/ShowStatusBar"); + gtk_toggle_action_set_active (GTK_TOGGLE_ACTION (toggleAction), show); + if ( show ) + { +@@ -830,7 +831,7 @@ + MainView::showToolbar (gboolean show) + { + GtkAction *toggleAction = gtk_ui_manager_get_action (m_UIManager, +- "/MenuBar/ViewMenu/ShowToolBar"); ++ "/MenuBar/TopMenu/ViewMenu/ShowToolBar"); + gtk_toggle_action_set_active (GTK_TOGGLE_ACTION (toggleAction), show); + GtkWidget *toolBar = gtk_ui_manager_get_widget (m_UIManager, "/ToolBar"); + 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 new file mode 100644 index 0000000000..a528474d9b --- /dev/null +++ b/meta-demoapps/recipes-sato/epdfview/epdfview_0.1.6.bb @@ -0,0 +1,21 @@ +DESCRIPTION = "A minimal PDF viewer based on gtk and poppler" +HOMEPAGE = "http://trac.emma-soft.com/epdfview/" +LICENSE = "GPLv2" +SECTION = "x11/applications" +DEPENDS = "poppler gtk+ libowl" +PR="r0" + +SRC_URI = "http://trac.emma-soft.com/epdfview/chrome/site/releases/epdfview-${PV}.tar.bz2 \ + file://owl-menus.patch \ + file://epdfview.desktop \ + file://epdfview-ui.xml \ + file://epdfview-ui-print.xml" + +inherit autotools gettext + +do_install_prepend() { + install ${WORKDIR}/epdfview-ui.xml ${S}/data/epdfview-ui.xml + install ${WORKDIR}/epdfview-ui-print.xml ${S}/data/epdfview-ui-print.xml + install ${WORKDIR}/epdfview.desktop ${S}/data/epdfview.desktop +} + diff --git a/meta-demoapps/recipes-sato/epdfview/epdfview_0.1.7.bb b/meta-demoapps/recipes-sato/epdfview/epdfview_0.1.7.bb new file mode 100644 index 0000000000..34e08bd140 --- /dev/null +++ b/meta-demoapps/recipes-sato/epdfview/epdfview_0.1.7.bb @@ -0,0 +1,21 @@ +DESCRIPTION = "A minimal PDF viewer based on gtk and poppler" +HOMEPAGE = "http://trac.emma-soft.com/epdfview/" +LICENSE = "GPLv2" +SECTION = "x11/applications" +DEPENDS = "poppler gtk+" +PR="r0" + +SRC_URI = "http://trac.emma-soft.com/epdfview/chrome/site/releases/epdfview-${PV}.tar.bz2 \ + file://owl-menus.patch;patch=1 \ + file://epdfview.desktop \ + file://epdfview-ui.xml \ + file://epdfview-ui-print.xml" + +inherit autotools gettext + +do_install_prepend() { + install ${WORKDIR}/epdfview-ui.xml ${S}/data/epdfview-ui.xml + install ${WORKDIR}/epdfview-ui-print.xml ${S}/data/epdfview-ui-print.xml + install ${WORKDIR}/epdfview.desktop ${S}/data/epdfview.desktop +} + diff --git a/meta-demoapps/recipes-sato/kf/files/fix-configure.patch b/meta-demoapps/recipes-sato/kf/files/fix-configure.patch new file mode 100644 index 0000000000..fc1ad9a418 --- /dev/null +++ b/meta-demoapps/recipes-sato/kf/files/fix-configure.patch @@ -0,0 +1,25 @@ +diff -urNd ../kf-0.5.4.1-r0/kf-0.5.4.1/configure.in kf-0.5.4.1/configure.in +--- ../kf-0.5.4.1-r0/kf-0.5.4.1/configure.in 2005-04-27 19:42:49.000000000 +0100 ++++ kf-0.5.4.1/configure.in 2005-09-29 14:12:32.000000000 +0100 +@@ -27,7 +27,7 @@ + dnl AC_ARG_ENABLE(debug,) + + dnl modules needed for package +-MODULES="gtk+-2.0 >= 2.0.0 libglade-2.0 >= 1.110.0 loudmouth-1.0 >= 0.16" ++MODULES="gtk+-2.0 >= 2.0.0 libglade-2.0 >= 1.110.0 loudmouth-1.0 >= 0.16 libxml-2.0" + dnl MODULES="gtk+-2.0 >= 2.0.0 libglade-2.0 >= 1.110.0 loudmouth-1.0 >= 0.15.1" + + dnl GtkSpell +@@ -60,9 +60,9 @@ + AC_DEFINE([HAVE_LM_CONNECTION_SET_JID],1,[We have lm_connection_set_jid]) + fi + +-dnl XScreenSaver stuff... +-AC_DEFINE([HAVE_XSCREENSAVER], [1], [Whether to support XScreenSaver extension]) +-PACKAGE_LIBS="$PACKAGE_LIBS -lXss -L/usr/X11R6/lib" ++#dnl XScreenSaver stuff... ++#AC_DEFINE([HAVE_XSCREENSAVER], [1], [Whether to support XScreenSaver extension]) ++#PACKAGE_LIBS="$PACKAGE_LIBS -lXss -L/usr/X11R6/lib" + + AC_SUBST(PACKAGE_CFLAGS) + 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 new file mode 100644 index 0000000000..7a0f7d1bca --- /dev/null +++ b/meta-demoapps/recipes-sato/kf/files/fix-desktop-file.patch @@ -0,0 +1,20 @@ +Common subdirectories: kf-0.5.4.1.orig/data and kf-0.5.4.1/data +diff -u kf-0.5.4.1.orig/kf.desktop kf-0.5.4.1/kf.desktop +--- kf-0.5.4.1.orig/kf.desktop 2005-04-19 22:08:44.000000000 +0100 ++++ kf-0.5.4.1/kf.desktop 2005-10-03 14:36:47.000000000 +0100 +@@ -1,6 +1,6 @@ + [Desktop Entry] + Encoding=UTF-8 +-Name=kf jabber client ++Name=Instant Messenger + Name[pl]=kf klient sieci jabber + Name[lt]=Pokalbių programa kf + GenericName=Instant Messenger +@@ -11,5 +11,6 @@ + Icon=kf.png + Terminal=false + Type=Application +-Categories=GTK;Application;Network; ++Categories=GTK;PIM;Application;Network; + StartupNotify=true ++X-MB-SingleInstance=true diff --git a/meta-demoapps/recipes-sato/kf/files/gcc4.patch b/meta-demoapps/recipes-sato/kf/files/gcc4.patch new file mode 100644 index 0000000000..58727ea0e0 --- /dev/null +++ b/meta-demoapps/recipes-sato/kf/files/gcc4.patch @@ -0,0 +1,30 @@ +Index: kf-0.5.4.1/src/jispman.c +=================================================================== +--- kf-0.5.4.1.orig/src/jispman.c 2006-12-03 15:33:47.000000000 +0100 ++++ kf-0.5.4.1/src/jispman.c 2006-12-03 15:35:01.000000000 +0100 +@@ -25,12 +25,6 @@ + #include "emoticons.h" + #include "kf.h" + +-struct _KfJispManager { +- GHashTable *jisps; /** A hash-table of all JISP pachages managed by this object, indexed by their filename */ +- GList *patterns; /** A list of patterns */ +-}; +- +- + /** + * \brief create a new instance of KfJispManager + * \return a new instance of KfJispManager +Index: kf-0.5.4.1/src/jispman.h +=================================================================== +--- kf-0.5.4.1.orig/src/jispman.h 2006-12-03 15:33:47.000000000 +0100 ++++ kf-0.5.4.1/src/jispman.h 2006-12-03 15:34:37.000000000 +0100 +@@ -25,6 +25,8 @@ + #include "jisp.h" + + typedef struct _KfJispManager { ++ GHashTable *jisps; /** A hash-table of all JISP pachages managed by this object, indexed by their filename */ ++ GList *patterns; /** A list of patterns */ + } KfJispManager; + + /** 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 new file mode 100644 index 0000000000..2baa6d46f7 --- /dev/null +++ b/meta-demoapps/recipes-sato/kf/kf_0.5.4.1.bb @@ -0,0 +1,16 @@ +DESCRIPTION = "Kf is a GTK+ instant messaging client." +LICENSE = "GPL" +DEPENDS = "libxml2 glib-2.0 gtk+ loudmouth libglade" +PR = "r4" + +SRC_URI = "http://jabberstudio.2nw.net/${PN}/${PN}-${PV}.tar.gz \ + file://fix-configure.patch;patch=1 \ + file://fix-desktop-file.patch;patch=0 \ + file://gcc4.patch;patch=1" + +inherit autotools pkgconfig + +EXTRA_OECONF = "--disable-binreloc" + +export PKG_CONFIG="${STAGING_BINDIR_NATIVE}/pkg-config" + 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 new file mode 100644 index 0000000000..fb91f03b12 --- /dev/null +++ b/meta-demoapps/recipes-sato/matchbox-themes-extra/matchbox-themes-extra_0.3.bb @@ -0,0 +1,25 @@ +DESCRIPTION = "Matchbox window manager extra themes" +LICENSE = "GPL" +DEPENDS = "matchbox-wm" +SECTION = "x11/wm" + +SRC_URI = "http://projects.o-hand.com/matchbox/sources/matchbox-themes-extra/${PV}/matchbox-themes-extra-${PV}.tar.bz2" +S = "${WORKDIR}/matchbox-themes-extra-${PV}" + +inherit autotools pkgconfig + +# split into several packages plus one meta package +PACKAGES = "${PN} ${PN}-industrial ${PN}-expose ${PN}-mbcrystal" + +ALLOW_EMPTY_${PN} = "1" +FILES_${PN} = "" +RDEPENDS_${PN} = "${PN}-industrial ${PN}-expose ${PN}-mbcrystal" + +FILES_${PN}-industrial = "${datadir}/themes/Industrial \ + ${datadir}/icons/Industrial" + +FILES_${PN}-expose = "${datadir}/themes/expose \ + ${datadir}/icons/expose" + +FILES_${PN}-mbcrystal = "${datadir}/themes/mbcrystal \ + ${datadir}/icons/mbcrystal" diff --git a/meta-demoapps/recipes-sato/matchbox-themes-extra/matchbox-themes-extra_svn.bb b/meta-demoapps/recipes-sato/matchbox-themes-extra/matchbox-themes-extra_svn.bb new file mode 100644 index 0000000000..6a9f18beaf --- /dev/null +++ b/meta-demoapps/recipes-sato/matchbox-themes-extra/matchbox-themes-extra_svn.bb @@ -0,0 +1,30 @@ +DESCRIPTION = "Matchbox window manager extra themes" +LICENSE = "GPL" +DEPENDS = "matchbox-wm" +SECTION = "x11/wm" +PV = "0.3+svnr${SRCREV}" + +SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=matchbox-themes-extra;proto=http" +S = "${WORKDIR}/${PN}" + +inherit autotools pkgconfig + +# split into several packages plus one meta package +PACKAGES = "${PN} ${PN}-industrial ${PN}-expose ${PN}-mbcrystal ${PN}-clearlooks" + +ALLOW_EMPTY_${PN} = 1 +FILES_${PN} = "" +RDEPENDS_${PN} = "${PN}-industrial ${PN}-expose ${PN}-mbcrystal ${PN}-clearlooks" + +FILES_${PN}-industrial = "${datadir}/themes/Industrial \ + ${datadir}/icons/Industrial" + +FILES_${PN}-expose = "${datadir}/themes/expose \ + ${datadir}/icons/expose" + +FILES_${PN}-mbcrystal = "${datadir}/themes/mbcrystal \ + ${datadir}/icons/mbcrystal" + +FILES_${PN}-clearlooks = "${datadir}/themes/Clearlooks \ + ${datadir}/icons/Clearlooks" + diff --git a/meta-demoapps/recipes-sato/matchbox-themes-gtk/files/gtkrc b/meta-demoapps/recipes-sato/matchbox-themes-gtk/files/gtkrc new file mode 100644 index 0000000000..6dc40c0aa5 --- /dev/null +++ b/meta-demoapps/recipes-sato/matchbox-themes-gtk/files/gtkrc @@ -0,0 +1 @@ +include "/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 new file mode 100644 index 0000000000..60be56de13 --- /dev/null +++ b/meta-demoapps/recipes-sato/matchbox-themes-gtk/matchbox-themes-gtk.bb @@ -0,0 +1,17 @@ +DESCRIPTION = "Gtk2 theme files to accompany default Matchbox themes" +LICENSE = "GPL" +DEPENDS = "gtk-engines" +RDEPENDS = "matchbox-wm gtk-engine-clearlooks" +SECTION = "x11/base" +PR = "r2" + +SRC_URI = "file://gtkrc" + +FILES_${PN} = "${datadir}/themes" + +do_install() { + install -d ${D}${datadir}/themes/blondie/gtk-2.0 + install -d ${D}${datadir}/themes/MBOpus/gtk-2.0 + install -m 644 ${WORKDIR}/gtkrc ${D}${datadir}/themes/blondie/gtk-2.0/ + install -m 644 ${WORKDIR}/gtkrc ${D}${datadir}/themes/MBOpus/gtk-2.0/ +} 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 new file mode 100644 index 0000000000..23d025f4d2 --- /dev/null +++ b/meta-demoapps/recipes-support/iso-codes/iso-codes_3.3.bb @@ -0,0 +1,14 @@ +SECTION = "libs" +DESCRIPTION = "ISO language, territory, currency, script codes and their translations" +PRIORITY = "optional" +LICENSE = "LGPL" +SECTION = "libs" +PACKAGE_ARCH = "all" + +SRC_URI = "ftp://pkg-isocodes.alioth.debian.org/pub/pkg-isocodes/iso-codes-${PV}.tar.gz" + +inherit autotools + +FILES_${PN}-dev="${datadir}/pkgconfig/iso-codes.pc" +FILES_${PN}="${datadir}/xml/iso-codes/ \ + ${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 new file mode 100644 index 0000000000..c7031008fd --- /dev/null +++ b/meta-demoapps/recipes-support/libfribidi/files/libtool-update.patch @@ -0,0 +1,11 @@ +--- fribidi-0.10.4/configure.in~ 2002-05-19 11:06:48.000000000 +0100 ++++ fribidi-0.10.4/configure.in 2004-08-03 17:42:28.000000000 +0100 +@@ -50,7 +50,7 @@ + AC_PROG_INSTALL + AC_PROG_LN_S + AC_PROG_MAKE_SET +-AC_PROG_RANLIB ++#AC_PROG_RANLIB + AC_PATH_PROG(SED, sed, $PATH) + + diff --git a/meta-demoapps/recipes-support/libfribidi/libfribidi_0.10.4.bb b/meta-demoapps/recipes-support/libfribidi/libfribidi_0.10.4.bb new file mode 100644 index 0000000000..d60a190cbd --- /dev/null +++ b/meta-demoapps/recipes-support/libfribidi/libfribidi_0.10.4.bb @@ -0,0 +1,24 @@ +DESCRIPTION = "Fribidi library for bidirectional text" +SECTION = "libs" +PRIORITY = "optional" +LICENSE = "GPL" + +inherit autotools pkgconfig + +PR = "r0" + +S = "${WORKDIR}/fribidi-${PV}" + +SRC_URI = "${SOURCEFORGE_MIRROR}/fribidi/fribidi-${PV}.tar.bz2 \ + file://libtool-update.patch;patch=1" + +#PACKAGES += " ${PN}-bin" +FILES_${PN} = "${libdir}/lib*.so.*" +#FILES_${PN}-bin = "${libdir}/uu*" + +do_configure_prepend () { +# this version of libtool is old - we have to nobble this file to get it to litoolize + rm ltconfig + rm aclocal.m4 + rm acinclude.m4 +} diff --git a/meta-demoapps/recipes-support/openobex/files/disable-cable-test.patch b/meta-demoapps/recipes-support/openobex/files/disable-cable-test.patch new file mode 100644 index 0000000000..95b636dd8f --- /dev/null +++ b/meta-demoapps/recipes-support/openobex/files/disable-cable-test.patch @@ -0,0 +1,16 @@ + +# +# Patch managed by http://www.holgerschurig.de/patcher.html +# + +--- openobex-1.2/apps/Makefile.am~disable-cable-test ++++ openobex-1.2/apps/Makefile.am +@@ -6,7 +6,7 @@ + obex_io.c obex_io.h \ + obex_put_common.c obex_put_common.h + +-bin_PROGRAMS = irxfer obex_tcp irobex_palm3 obex_test ++bin_PROGRAMS = irxfer obex_tcp irobex_palm3 + + obex_test_SOURCES = \ + 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 new file mode 100644 index 0000000000..20ac70bd1e --- /dev/null +++ b/meta-demoapps/recipes-support/openobex/files/libusb_crosscompile_check.patch @@ -0,0 +1,13 @@ +Index: openobex-1.5/acinclude.m4 +=================================================================== +--- openobex-1.5.orig/acinclude.m4 2009-02-08 18:30:22.000000000 +0000 ++++ openobex-1.5/acinclude.m4 2009-07-31 09:55:46.000000000 +0100 +@@ -158,7 +158,7 @@ + ;; + *) + PKG_CHECK_MODULES(USB, libusb, usb_lib_found=yes, AC_MSG_RESULT(no)) +- AC_CHECK_FILE(${prefix}/lib/pkgconfig/libusb.pc, REQUIRES="libusb") ++ REQUIRES="libusb" + ;; + esac + 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 new file mode 100644 index 0000000000..dc07ae1353 --- /dev/null +++ b/meta-demoapps/recipes-support/openobex/openobex_1.5.bb @@ -0,0 +1,23 @@ +DESCRIPTION = "The Openobex project is an open source implementation of the \ +Object Exchange (OBEX) protocol." +HOMEPAGE = "http://openobex.triq.net" +SECTION = "libs" +PROVIDES = "openobex-apps" +DEPENDS = "libusb bluez4" +LICENSE = "GPL" +PR = "r4" + +SRC_URI = "${KERNELORG_MIRROR}/pub/linux/bluetooth/openobex-${PV}.tar.gz \ + file://disable-cable-test.patch;patch=1 \ + file://libusb_crosscompile_check.patch;patch=1" + +inherit autotools binconfig pkgconfig + +EXTRA_OECONF = "--enable-apps --enable-syslog --enable-dump \ + --with-usb=${STAGING_LIBDIR}/.. --with-bluez=${STAGING_LIBDIR}/.." + +# how to stop shlibrename from renaming -apps? +PACKAGES += "openobex-apps" +FILES_${PN} = "${libdir}/lib*.so.*" +FILES_${PN}-dev += "${bindir}/openobex-config" +FILES_${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 new file mode 100644 index 0000000000..ca22e4dba0 --- /dev/null +++ b/meta-demoapps/recipes-support/poppler/poppler-data_0.1.bb @@ -0,0 +1,16 @@ +DESCRIPTION = "Poppler is a PDF rendering library based on the xpdf-3.0 code base." +LICENSE = "Adobe" +PR = "r0" + +SRC_URI = "http://poppler.freedesktop.org/${PN}-${PV}.tar.gz" + +do_compile() { +} + +do_install() { + oe_runmake install DESTDIR=${D} +} + +FILES_${PN} += "${datadir}" +PACKAGE_ARCH = "all" + diff --git a/meta-demoapps/recipes-support/poppler/poppler-fpu.inc b/meta-demoapps/recipes-support/poppler/poppler-fpu.inc new file mode 100644 index 0000000000..a26273020a --- /dev/null +++ b/meta-demoapps/recipes-support/poppler/poppler-fpu.inc @@ -0,0 +1,6 @@ + +def get_poppler_fpu_setting(bb, d): + if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]: + return "--enable-fixedpoint" + return "" + diff --git a/meta-demoapps/recipes-support/poppler/poppler.inc b/meta-demoapps/recipes-support/poppler/poppler.inc new file mode 100644 index 0000000000..645e734e8b --- /dev/null +++ b/meta-demoapps/recipes-support/poppler/poppler.inc @@ -0,0 +1,18 @@ +DESCRIPTION = "Poppler is a PDF rendering library based on the xpdf-3.0 code base." +DEPENDS = "fontconfig jpeg zlib gtk+ cairo" +LICENSE = "GPL" +PR = "r1" + +SRC_URI = "http://poppler.freedesktop.org/${PN}-${PV}.tar.gz" + +inherit autotools pkgconfig + +EXTRA_OECONF = " --enable-xpdf-headers \ + --disable-gtk-test \ + --disable-poppler-qt --disable-poppler-qt4 \ + --enable-zlib \ + " + +#check for TARGET_FPU=soft and inform configure of the result so it can disable some floating points +require poppler-fpu.inc +EXTRA_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 new file mode 100644 index 0000000000..92c25bc0ac --- /dev/null +++ b/meta-demoapps/recipes-support/poppler/poppler_0.9.2.bb @@ -0,0 +1,2 @@ +require poppler.inc +PR = "r2" diff --git a/meta/recipes-connectivity/bluez/bluez4_4.79.bb b/meta/recipes-connectivity/bluez/bluez4_4.79.bb index ee4ee45d3c..c9ef38f655 100644 --- a/meta/recipes-connectivity/bluez/bluez4_4.79.bb +++ b/meta/recipes-connectivity/bluez/bluez4_4.79.bb @@ -9,6 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e \ file://src/main.c;beginline=1;endline=24;md5=9bc54b93cd7e17bf03f52513f39f926e \ file://sbc/sbc.c;beginline=1;endline=25;md5=1a40781ed30d50d8639323a184aeb191" DEPENDS = "gst-plugins-base alsa-lib libusb dbus-glib libnl" +RDEPENDS_${PN}-dev = "bluez-hcidump" # For angstrom we want this to replace at least bluez-libs PROVIDES_append_angstrom = " bluez-utils bluez-libs" diff --git a/meta/recipes-connectivity/farsight/farsight2_0.0.9.bb b/meta/recipes-connectivity/farsight/farsight2_0.0.9.bb deleted file mode 100644 index e20ec33d64..0000000000 --- a/meta/recipes-connectivity/farsight/farsight2_0.0.9.bb +++ /dev/null @@ -1,24 +0,0 @@ -DESCRIPTION = "FarSight is an audio/video conferencing framework specifically designed for Instant Messengers." -HOMEPAGE = "http://farsight.sf.net" -SRC_URI = "http://farsight.freedesktop.org/releases/farsight2/${P}.tar.gz" -LICENSE = "GPLv2.1" -DEPENDS = "libnice glib-2.0 libxml2 zlib dbus gstreamer gst-plugins-base" - -inherit autotools -AUTOTOOLS_STAGE_PKGCONFIG = "1" - -PR = "r1" - -EXTRA_OECONF = " \ - --disable-debug \ - --disable-gtk-doc \ - --disable-python \ -" - -FILES_${PN} += "${libdir}/*/*.so" -FILES_${PN}-dev += "${libdir}/f*/*a ${libdir}/g*/*a" -FILES_${PN}-dbg += "${libdir}/*/.debug" - - - - diff --git a/meta/recipes-connectivity/farsight/libnice_0.0.6.bb b/meta/recipes-connectivity/farsight/libnice_0.0.6.bb deleted file mode 100644 index a837cadee0..0000000000 --- a/meta/recipes-connectivity/farsight/libnice_0.0.6.bb +++ /dev/null @@ -1,24 +0,0 @@ -SUMMARY = "IETF draft Interactice Connectivity Establishment standard" -DESCRIPTION = "Libnice is an implementation of the IETF's draft Interactice Connectivity Establishment standard (ICE)." -HOMEPAGE = "http://nice.freedesktop.org/wiki/" -SRC_URI = "http://nice.freedesktop.org/releases/libnice-${PV}.tar.gz" - -LICENSE = "LGPL/MPL" -DEPENDS = "glib-2.0 gstreamer" - -inherit autotools -AUTOTOOLS_STAGE_PKGCONFIG = "1" - -FILES_${PN} += "${libdir}/gstreamer-0.10/*.so" -FILES_${PN}-dev += "${libdir}/gstreamer-0.10/*a" -FILES_${PN}-dbg += "${libdir}/gstreamer-0.10/.debug" - -do_compile_append() { - for i in $(find ${S} -name "*.pc") ; do - sed -i -e s:${STAGING_DIR_TARGET}::g \ - -e s:/${TARGET_SYS}::g \ - $i - done -} - - diff --git a/meta/recipes-connectivity/libetpan/files/cxx-is-here.patch b/meta/recipes-connectivity/libetpan/files/cxx-is-here.patch deleted file mode 100644 index d910daab17..0000000000 --- a/meta/recipes-connectivity/libetpan/files/cxx-is-here.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- - configure.ac | 1 + - 1 file changed, 1 insertion(+) - ---- libetpan-0.54.orig/configure.ac -+++ libetpan-0.54/configure.ac -@@ -104,10 +104,11 @@ if test "$have_w32_system" = yes; then - fi - AM_CONDITIONAL(HAVE_MINGW32_SYSTEM, test "$have_w32_system" = yes) - - # Check the C compiler. - AC_PROG_CC -+AC_PROG_CXX - - # Compiler flags. - AC_ARG_ENABLE(debug, [ --enable-debug setup flags (gcc) for debugging (default=no)], - if test "x$GCC" = xyes; then - CFLAGS="$CFLAGS -O2 -g" diff --git a/meta/recipes-connectivity/libetpan/libetpan_0.54.bb b/meta/recipes-connectivity/libetpan/libetpan_0.54.bb deleted file mode 100644 index 9b69471753..0000000000 --- a/meta/recipes-connectivity/libetpan/libetpan_0.54.bb +++ /dev/null @@ -1,20 +0,0 @@ -SUMMARY = "Library for communicating with mail and news services" -DESCRIPTION = "libetpan is a library for communicating with mail and news servers. \ -It supports the protocols SMTP, POP3, IMAP and NNTP." -HOMEPAGE = "http://www.etpan.org" -SECTION = "libs" -DEPENDS = "curl expat gnutls" -LICENSE = "BSD" -PR = "r1" - -SRC_URI = "${SOURCEFORGE_MIRROR}/libetpan/libetpan-${PV}.tar.gz \ - file://cxx-is-here.patch;patch=1" - -inherit autotools pkgconfig gettext binconfig - -EXTRA_OECONF = "--without-openssl --with-gnutls --disable-db" - -PARALLEL_MAKE = "" - -FILES_${PN} = "${libdir}/lib*.so.*" -FILES_${PN}-dev = "${bindir} ${includedir} ${libdir}/lib*.so ${libdir}/*.la ${libdir}/*.a ${libdir}/pkgconfig" diff --git a/meta/recipes-connectivity/loudmouth/loudmouth_1.4.0.bb b/meta/recipes-connectivity/loudmouth/loudmouth_1.4.0.bb deleted file mode 100644 index e20c41709a..0000000000 --- a/meta/recipes-connectivity/loudmouth/loudmouth_1.4.0.bb +++ /dev/null @@ -1,10 +0,0 @@ -SUMMARY = "XMPP/Jabber library" -DESCRIPTION = "Loudmouth is a lightweight and easy-to-use C library for programming with the XMPP/Jabber protocol." -HOMEPAGE = "http://www.loudmouth-project.org/" -LICENSE = "LGPL" -DEPENDS = "glib-2.0 gnutls libcheck" -PR = "r2" - -SRC_URI = "http://ftp.imendio.com/pub/imendio/${PN}/src/${PN}-${PV}.tar.bz2" - -inherit autotools pkgconfig diff --git a/meta/recipes-connectivity/network-suspend-scripts/network-suspend-scripts.bb b/meta/recipes-connectivity/network-suspend-scripts/network-suspend-scripts.bb deleted file mode 100644 index dc22ed85f6..0000000000 --- a/meta/recipes-connectivity/network-suspend-scripts/network-suspend-scripts.bb +++ /dev/null @@ -1,22 +0,0 @@ -DESCRIPTION = "Network suspend/resume scripts" -SECTION = "base" -LICENSE = "GPLv2" -PV = "1.1" -PR = "r2" - -SRC_URI = "file://ifupdown \ - file://usbnet" - -do_install() { - install -d ${D}${sysconfdir}/apm/scripts.d - install -m 0755 ${WORKDIR}/ifupdown ${D}${sysconfdir}/apm/scripts.d - install -m 0755 ${WORKDIR}/usbnet ${D}${sysconfdir}/apm/scripts.d - install -d ${D}${sysconfdir}/apm/suspend.d - ln -s ../scripts.d/ifupdown ${D}${sysconfdir}/apm/suspend.d/05ifupdown - ln -s ../scripts.d/usbnet ${D}${sysconfdir}/apm/suspend.d/10usbnet - install -d ${D}${sysconfdir}/apm/resume.d - ln -sf ../scripts.d/ifupdown ${D}${sysconfdir}/apm/resume.d/30ifupdown - ln -sf ../scripts.d/usbnet ${D}${sysconfdir}/apm/resume.d/20usbnet -} - -FILES = "${sysconfdir}/apm" diff --git a/meta/recipes-connectivity/network-suspend-scripts/network-suspend-scripts/ifupdown b/meta/recipes-connectivity/network-suspend-scripts/network-suspend-scripts/ifupdown deleted file mode 100644 index d458da6866..0000000000 --- a/meta/recipes-connectivity/network-suspend-scripts/network-suspend-scripts/ifupdown +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh -# Unloads/loads all interface that are up at time of suspend - -if [ "$1" = suspend ]; then - rm -f /var/run/ifstate-suspend - rm -f /var/run/ifstate-old - cp /var/run/ifstate /var/run/ifstate-old - cat /var/run/ifstate-old | ( - IFS="=" - while read IFACE LOGICAL; do - ifdown $IFACE - echo "$IFACE=$LOGICAL" >>/var/run/ifstate-suspend - done - rm -f /var/run/ifstate-old - ) -elif [ "$1" = resume ] && [ "$2" != standby ] && [ -f /var/run/ifstate-suspend ]; then - cat /var/run/ifstate-suspend | ( - while read LINE; do - ifup $LINE - done - ) - rm -f /var/run/ifstate-suspend -fi - -: exit 0 - diff --git a/meta/recipes-connectivity/network-suspend-scripts/network-suspend-scripts/usbnet b/meta/recipes-connectivity/network-suspend-scripts/network-suspend-scripts/usbnet deleted file mode 100644 index 3731f6339f..0000000000 --- a/meta/recipes-connectivity/network-suspend-scripts/network-suspend-scripts/usbnet +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh -# Unloads/loads usb-eth so it always works - -. /etc/default/usbd - -if [ "$1" = suspend ]; then - rmmod usb-eth - rmmod sa1100usb_core -elif [ "$1" = resume ] && [ "$2" != standby ]; then - modprobe usb-eth - modprobe -r $usbdmodule - modprobe $usbdmodule -fi - -: exit 0 - diff --git a/meta/recipes-connectivity/openswan/openswan-2.4.7/installflags.patch b/meta/recipes-connectivity/openswan/openswan-2.4.7/installflags.patch deleted file mode 100644 index e6da2eaa5f..0000000000 --- a/meta/recipes-connectivity/openswan/openswan-2.4.7/installflags.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: openswan-2.4.7/Makefile.inc -=================================================================== ---- openswan-2.4.7.orig/Makefile.inc 2006-12-25 18:05:40.608503250 +0100 -+++ openswan-2.4.7/Makefile.inc 2006-12-25 18:06:39.028154250 +0100 -@@ -158,7 +158,7 @@ - # how backup names are composed. - # Note that the install procedures will never overwrite an existing config - # file, which is why -b is not specified for them. --INSTBINFLAGS=-b --suffix=.old -+INSTBINFLAGS= - INSTSUIDFLAGS=--mode=u+rxs,g+rx,o+rx --group=root -b --suffix=.old - INSTMANFLAGS= - INSTCONFFLAGS= diff --git a/meta/recipes-connectivity/openswan/openswan-2.4.7/ld-library-path-breakage.patch b/meta/recipes-connectivity/openswan/openswan-2.4.7/ld-library-path-breakage.patch deleted file mode 100644 index e3cc8762cc..0000000000 --- a/meta/recipes-connectivity/openswan/openswan-2.4.7/ld-library-path-breakage.patch +++ /dev/null @@ -1,26 +0,0 @@ ---- openswan-2.2.0.orig/programs/Makefile.program 2004-06-03 03:06:27.000000000 +0200 -+++ openswan-2.2.0/programs/Makefile.program 2005-03-05 13:50:19.000000000 +0100 -@@ -30,10 +30,6 @@ - - CFLAGS+= ${WERROR} - --ifneq ($(LD_LIBRARY_PATH),) --LDFLAGS=-L$(LD_LIBRARY_PATH) --endif -- - MANDIR8=$(MANTREE)/man8 - MANDIR5=$(MANTREE)/man5 - ---- openswan-2.2.0.orig/programs/pluto/Makefile 2005-01-03 20:40:45.000000000 +0100 -+++ openswan-2.2.0/programs/pluto/Makefile 2005-03-05 13:51:21.000000000 +0100 -@@ -234,10 +234,6 @@ - LIBSPLUTO+=${CURL_LIBS} - LIBSPLUTO+= -lgmp -lresolv # -lefence - --ifneq ($(LD_LIBRARY_PATH),) --LDFLAGS=-L$(LD_LIBRARY_PATH) --endif -- - LIBSADNS = $(OPENSWANLIB) - LIBSADNS += -lresolv # -lefence - diff --git a/meta/recipes-connectivity/openswan/openswan-2.4.7/openswan-2.4.7-gentoo.patch b/meta/recipes-connectivity/openswan/openswan-2.4.7/openswan-2.4.7-gentoo.patch deleted file mode 100644 index b3863a584b..0000000000 --- a/meta/recipes-connectivity/openswan/openswan-2.4.7/openswan-2.4.7-gentoo.patch +++ /dev/null @@ -1,377 +0,0 @@ -diff -Nru openswan-2.4.7.orig/doc/Makefile openswan-2.4.7/doc/Makefile ---- openswan-2.4.7.orig/doc/Makefile 2005-11-08 23:32:45.000000000 +0200 -+++ openswan-2.4.7/doc/Makefile 2006-12-06 22:46:54.732830840 +0200 -@@ -1,6 +1,6 @@ - # Makefile to generate various formats from HTML source - # --# Assumes the htmldoc utility is available. -+# No longer cares if the htmldoc utility is available. - # This can be downloaded from www.easysw.com - # - # Also needs lynx(1) for HTML-to-text conversion -diff -Nru openswan-2.4.7.orig/lib/libcrypto/libdes/asm/crypt586.pl openswan-2.4.7/lib/libcrypto/libdes/asm/crypt586.pl ---- openswan-2.4.7.orig/lib/libcrypto/libdes/asm/crypt586.pl 2004-07-16 03:24:45.000000000 +0300 -+++ openswan-2.4.7/lib/libcrypto/libdes/asm/crypt586.pl 2006-12-06 22:46:54.732830840 +0200 -@@ -1,4 +1,4 @@ --#!/usr/local/bin/perl -+#!/usr/bin/perl - # - # The inner loop instruction sequence and the IP/FP modifications are from - # Svend Olaf Mikkelsen -diff -Nru openswan-2.4.7.orig/lib/libcrypto/libdes/asm/perlasm/cbc.pl openswan-2.4.7/lib/libcrypto/libdes/asm/perlasm/cbc.pl ---- openswan-2.4.7.orig/lib/libcrypto/libdes/asm/perlasm/cbc.pl 2004-07-10 11:07:06.000000000 +0300 -+++ openswan-2.4.7/lib/libcrypto/libdes/asm/perlasm/cbc.pl 2006-12-06 22:46:54.736831090 +0200 -@@ -1,4 +1,4 @@ --#!/usr/local/bin/perl -+#!/usr/bin/perl - - # void des_ncbc_encrypt(input, output, length, schedule, ivec, enc) - # des_cblock (*input); -diff -Nru openswan-2.4.7.orig/lib/libcrypto/libdes/asm/perlasm/x86asm.pl openswan-2.4.7/lib/libcrypto/libdes/asm/perlasm/x86asm.pl ---- openswan-2.4.7.orig/lib/libcrypto/libdes/asm/perlasm/x86asm.pl 2004-07-10 11:07:06.000000000 +0300 -+++ openswan-2.4.7/lib/libcrypto/libdes/asm/perlasm/x86asm.pl 2006-12-06 22:46:54.736831090 +0200 -@@ -1,4 +1,4 @@ --#!/usr/local/bin/perl -+#!/usr/bin/perl - - # require 'x86asm.pl'; - # &asm_init("cpp","des-586.pl"); -diff -Nru openswan-2.4.7.orig/lib/libcrypto/libdes/asm/perlasm/x86ms.pl openswan-2.4.7/lib/libcrypto/libdes/asm/perlasm/x86ms.pl ---- openswan-2.4.7.orig/lib/libcrypto/libdes/asm/perlasm/x86ms.pl 2004-07-10 11:07:07.000000000 +0300 -+++ openswan-2.4.7/lib/libcrypto/libdes/asm/perlasm/x86ms.pl 2006-12-06 22:46:54.736831090 +0200 -@@ -1,4 +1,4 @@ --#!/usr/local/bin/perl -+#!/usr/bin/perl - - package x86ms; - -diff -Nru openswan-2.4.7.orig/lib/libcrypto/libdes/asm/perlasm/x86unix.pl openswan-2.4.7/lib/libcrypto/libdes/asm/perlasm/x86unix.pl ---- openswan-2.4.7.orig/lib/libcrypto/libdes/asm/perlasm/x86unix.pl 2004-07-10 11:07:07.000000000 +0300 -+++ openswan-2.4.7/lib/libcrypto/libdes/asm/perlasm/x86unix.pl 2006-12-06 22:46:54.736831090 +0200 -@@ -1,4 +1,4 @@ --#!/usr/local/bin/perl -+#!/usr/bin/perl - - package x86unix; - -diff -Nru openswan-2.4.7.orig/lib/liblwres/Makefile openswan-2.4.7/lib/liblwres/Makefile ---- openswan-2.4.7.orig/lib/liblwres/Makefile 2004-12-18 20:13:34.000000000 +0200 -+++ openswan-2.4.7/lib/liblwres/Makefile 2006-12-06 22:46:54.736831090 +0200 -@@ -20,7 +20,7 @@ - CDEFINES = -g - CWARNINGS = -Werror - --CFLAGS=${CINCLUDES} ${CDEFINES} ${CWARNINGS} -+CFLAGS=${CINCLUDES} ${CDEFINES} ${CWARNINGS} $(USERCOMPILE) - - VERSION="@(\#) openswan-hacking-9.3-for-osw2" - LIBINTERFACE=2 -diff -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 ---- openswan-2.4.7.orig/linux/net/ipsec/des/asm/des-586.pl 2004-07-10 11:06:50.000000000 +0300 -+++ openswan-2.4.7/linux/net/ipsec/des/asm/des-586.pl 2006-12-06 22:46:54.736831090 +0200 -@@ -1,4 +1,4 @@ --#!/usr/local/bin/perl -+#!/usr/bin/perl - # - # The inner loop instruction sequence and the IP/FP modifications are from - # Svend Olaf Mikkelsen -diff -Nru openswan-2.4.7.orig/linux/net/ipsec/des/asm/des686.pl openswan-2.4.7/linux/net/ipsec/des/asm/des686.pl ---- openswan-2.4.7.orig/linux/net/ipsec/des/asm/des686.pl 2004-07-10 11:06:50.000000000 +0300 -+++ openswan-2.4.7/linux/net/ipsec/des/asm/des686.pl 2006-12-06 22:46:54.740831340 +0200 -@@ -1,4 +1,4 @@ --#!/usr/local/bin/perl -+#!/usr/bin/perl - - $prog="des686.pl"; - -diff -Nru openswan-2.4.7.orig/linux/net/ipsec/des/asm/desboth.pl openswan-2.4.7/linux/net/ipsec/des/asm/desboth.pl ---- openswan-2.4.7.orig/linux/net/ipsec/des/asm/desboth.pl 2004-07-10 11:06:50.000000000 +0300 -+++ openswan-2.4.7/linux/net/ipsec/des/asm/desboth.pl 2006-12-06 22:46:54.740831340 +0200 -@@ -1,4 +1,4 @@ --#!/usr/local/bin/perl -+#!/usr/bin/perl - - $L="edi"; - $R="esi"; -diff -Nru openswan-2.4.7.orig/Makefile.inc openswan-2.4.7/Makefile.inc ---- openswan-2.4.7.orig/Makefile.inc 2006-11-14 19:56:09.000000000 +0200 -+++ openswan-2.4.7/Makefile.inc 2006-12-06 22:48:32.534943089 +0200 -@@ -46,7 +46,7 @@ - DESTDIR?= - - # "local" part of tree, used in building other pathnames --INC_USRLOCAL=/usr/local -+INC_USRLOCAL?=/usr - - # PUBDIR is where the "ipsec" command goes; beware, many things define PATH - # settings which are assumed to include it (or at least, to include *some* -@@ -80,7 +80,7 @@ - MANPLACES=man3 man5 man8 - - # where configuration files go --FINALCONFFILE?=/etc/ipsec.conf -+FINALCONFFILE?=/etc/ipsec/ipsec.conf - CONFFILE=$(DESTDIR)$(FINALCONFFILE) - - FINALCONFDIR?=/etc -@@ -91,7 +91,7 @@ - - # sample configuration files go into - INC_DOCDIR?=share/doc --FINALEXAMPLECONFDIR=${INC_USRLOCAL}/${INC_DOCDIR}/openswan -+FINALEXAMPLECONFDIR?=${INC_USRLOCAL}/${INC_DOCDIR}/openswan - EXAMPLECONFDIR=${DESTDIR}${FINALEXAMPLECONFDIR} - - FINALDOCDIR?=${INC_USRLOCAL}/${INC_DOCDIR}/openswan -@@ -239,7 +239,7 @@ - # installed one in RH 7.2, won't work - you wind up depending upon - # openssl. - --BIND9STATICLIBDIR?=/usr/local/lib -+BIND9STATICLIBDIR?=/usr/lib - - # if you install elsewere, you may need to point the include files to it. - #BIND9STATICLIBDIR?=/sandel/lib -diff -Nru openswan-2.4.7.orig/programs/barf/barf.in openswan-2.4.7/programs/barf/barf.in ---- openswan-2.4.7.orig/programs/barf/barf.in 2006-11-07 05:49:18.000000000 +0200 -+++ openswan-2.4.7/programs/barf/barf.in 2006-12-06 22:46:54.740831340 +0200 -@@ -16,7 +16,7 @@ - - LOGS=${LOGS-/var/log} - CONFS=${IPSEC_CONFS-/etc} --CONFDDIR=${IPSEC_CONFDDIR-/etc/ipsec.d} -+CONFDDIR=${IPSEC_CONFDDIR-/etc/ipsec/ipsec.d} - me="ipsec barf" - # Max lines to use for things like 'route -n' - maxlines=100 -@@ -238,13 +238,13 @@ - done - fi - _________________________ ipsec/ls-libdir --ls -l ${IPSEC_LIBDIR-/usr/local/lib/ipsec} -+ls -l ${IPSEC_LIBDIR-/usr/lib/ipsec} - _________________________ ipsec/ls-execdir --ls -l ${IPSEC_EXECDIR-/usr/local/libexec/ipsec} -+ls -l ${IPSEC_EXECDIR-/usr/libexec/ipsec} - _________________________ ipsec/updowns --for f in `ls ${IPSEC_EXECDIR-/usr/local/libexec/ipsec} | egrep updown` -+for f in `ls ${IPSEC_EXECDIR-/usr/libexec/ipsec} | egrep updown` - do -- cat ${IPSEC_EXECDIR-/usr/local/libexec/ipsec}/$f -+ cat ${IPSEC_EXECDIR-/usr/libexec/ipsec}/$f - done - _________________________ /proc/net/dev - cat /proc/net/dev -diff -Nru openswan-2.4.7.orig/programs/eroute/eroute.5 openswan-2.4.7/programs/eroute/eroute.5 ---- openswan-2.4.7.orig/programs/eroute/eroute.5 2006-10-26 23:40:43.000000000 +0300 -+++ openswan-2.4.7/programs/eroute/eroute.5 2006-12-06 22:57:19.307864340 +0200 -@@ -168,7 +168,7 @@ - .SH "FILES" - - .PP --/proc/net/ipsec_eroute, /usr/local/bin/ipsec -+/proc/net/ipsec_eroute, /usr/bin/ipsec - - .SH "SEE ALSO" - -diff -Nru openswan-2.4.7.orig/programs/eroute/eroute.8 openswan-2.4.7/programs/eroute/eroute.8 ---- openswan-2.4.7.orig/programs/eroute/eroute.8 2003-10-31 04:32:27.000000000 +0200 -+++ openswan-2.4.7/programs/eroute/eroute.8 2006-12-06 22:46:54.740831340 +0200 -@@ -308,7 +308,7 @@ - .br - .LP - .SH FILES --/proc/net/ipsec_eroute, /usr/local/bin/ipsec -+/proc/net/ipsec_eroute, /usr/bin/ipsec - .SH "SEE ALSO" - ipsec(8), ipsec_manual(8), ipsec_tncfg(8), ipsec_spi(8), - ipsec_spigrp(8), ipsec_klipsdebug(8), ipsec_eroute(5) -diff -Nru openswan-2.4.7.orig/programs/_include/_include.in openswan-2.4.7/programs/_include/_include.in ---- openswan-2.4.7.orig/programs/_include/_include.in 2003-01-06 23:44:04.000000000 +0200 -+++ openswan-2.4.7/programs/_include/_include.in 2006-12-06 22:46:54.740831340 +0200 -@@ -47,10 +47,10 @@ - do - if test ! -r "$f" - then -- if test ! "$f" = "/etc/ipsec.conf" -+ if test ! "$f" = "/etc/ipsec/ipsec.conf" - then - echo "#:cannot open configuration file \'$f\'" -- if test "$f" = "/etc/ipsec.secrets" -+ if test "$f" = "/etc/ipsec/ipsec.secrets" - then - echo "#:Your secrets file will be created when you start FreeS/WAN for the first time." - fi -diff -Nru openswan-2.4.7.orig/programs/ipsec/ipsec.8 openswan-2.4.7/programs/ipsec/ipsec.8 ---- openswan-2.4.7.orig/programs/ipsec/ipsec.8 2003-02-27 18:51:54.000000000 +0200 -+++ openswan-2.4.7/programs/ipsec/ipsec.8 2006-12-06 22:46:54.744831590 +0200 -@@ -81,7 +81,7 @@ - .I ipsec - thinks the IPsec configuration files are stored. - .SH FILES --/usr/local/lib/ipsec usual utilities directory -+/usr/lib/ipsec usual utilities directory - .SH ENVIRONMENT - .PP - The following environment variables control where FreeS/WAN finds its -diff -Nru openswan-2.4.7.orig/programs/klipsdebug/klipsdebug.5 openswan-2.4.7/programs/klipsdebug/klipsdebug.5 ---- openswan-2.4.7.orig/programs/klipsdebug/klipsdebug.5 2006-10-27 01:21:25.000000000 +0300 -+++ openswan-2.4.7/programs/klipsdebug/klipsdebug.5 2006-12-06 22:58:04.150666840 +0200 -@@ -114,7 +114,7 @@ - .SH "FILES" - - .PP --/proc/net/ipsec_klipsdebug, /usr/local/bin/ipsec -+/proc/net/ipsec_klipsdebug, /usr/bin/ipsec - - .SH "SEE ALSO" - -diff -Nru openswan-2.4.7.orig/programs/klipsdebug/klipsdebug.8 openswan-2.4.7/programs/klipsdebug/klipsdebug.8 ---- openswan-2.4.7.orig/programs/klipsdebug/klipsdebug.8 2006-10-27 01:21:25.000000000 +0300 -+++ openswan-2.4.7/programs/klipsdebug/klipsdebug.8 2006-12-06 22:58:22.295800840 +0200 -@@ -111,7 +111,7 @@ - .SH "FILES" - - .PP --/proc/net/ipsec_klipsdebug, /usr/local/bin/ipsec -+/proc/net/ipsec_klipsdebug, /usr/bin/ipsec - - .SH "SEE ALSO" - -diff -Nru openswan-2.4.7.orig/programs/mailkey/mailkey.in openswan-2.4.7/programs/mailkey/mailkey.in ---- openswan-2.4.7.orig/programs/mailkey/mailkey.in 2006-10-29 02:49:23.000000000 +0300 -+++ openswan-2.4.7/programs/mailkey/mailkey.in 2006-12-06 22:46:54.828836839 +0200 -@@ -60,7 +60,7 @@ - - "$test1st" - --Common concerns: This account must be able to read /etc/ipsec.secrets. -+Common concerns: This account must be able to read /etc/ipsec/ipsec.secrets. - If you haven't generated your key yet, please run 'ipsec newhostkey'." - exit 0 - } -diff -Nru openswan-2.4.7.orig/programs/pluto/Makefile openswan-2.4.7/programs/pluto/Makefile ---- openswan-2.4.7.orig/programs/pluto/Makefile 2006-11-07 17:55:52.000000000 +0200 -+++ openswan-2.4.7/programs/pluto/Makefile 2006-12-06 22:46:54.832837088 +0200 -@@ -256,7 +256,7 @@ - -DPOLICYGROUPSDIR=\"${FINALCONFDDIR}/policies\" \ - -DPERPEERLOGDIR=\"${FINALLOGDIR}/pluto/peer\" - --ALLFLAGS = $(CPPFLAGS) $(CFLAGS) -+ALLFLAGS = $(CPPFLAGS) $(CFLAGS) $(USERCOMPILE) - - # libefence is a free memory allocation debugger - # Solaris 2 needs -lsocket -lnsl -diff -Nru openswan-2.4.7.orig/programs/setup/Makefile openswan-2.4.7/programs/setup/Makefile ---- openswan-2.4.7.orig/programs/setup/Makefile 2004-12-18 20:13:43.000000000 +0200 -+++ openswan-2.4.7/programs/setup/Makefile 2006-12-06 22:46:54.832837088 +0200 -@@ -33,25 +33,10 @@ - @rm -f $(BINDIR)/setup - @$(INSTALL) $(INSTBINFLAGS) setup $(RCDIR)/ipsec - @ln -s $(FINALRCDIR)/ipsec $(BINDIR)/setup -- -@for i in 0 1 2 3 4 5 6; do mkdir -p $(RCDIR)/../rc$$i.d; done -- -@cd $(RCDIR)/../rc0.d && ln -f -s ../init.d/ipsec K76ipsec -- -@cd $(RCDIR)/../rc1.d && ln -f -s ../init.d/ipsec K76ipsec -- -@cd $(RCDIR)/../rc2.d && ln -f -s ../init.d/ipsec S47ipsec -- -@cd $(RCDIR)/../rc3.d && ln -f -s ../init.d/ipsec S47ipsec -- -@cd $(RCDIR)/../rc4.d && ln -f -s ../init.d/ipsec S47ipsec -- -@cd $(RCDIR)/../rc5.d && ln -f -s ../init.d/ipsec S47ipsec -- -@cd $(RCDIR)/../rc6.d && ln -f -s ../init.d/ipsec K76ipsec - - install_file_list:: - @echo $(RCDIR)/ipsec - @echo $(BINDIR)/setup -- @echo $(RCDIR)/../rc0.d/K76ipsec -- @echo $(RCDIR)/../rc1.d/K76ipsec -- @echo $(RCDIR)/../rc2.d/S47ipsec -- @echo $(RCDIR)/../rc3.d/S47ipsec -- @echo $(RCDIR)/../rc4.d/S47ipsec -- @echo $(RCDIR)/../rc5.d/S47ipsec -- @echo $(RCDIR)/../rc6.d/K76ipsec - - clean:: - @rm -f setup -diff -Nru openswan-2.4.7.orig/programs/showhostkey/showhostkey.in openswan-2.4.7/programs/showhostkey/showhostkey.in ---- openswan-2.4.7.orig/programs/showhostkey/showhostkey.in 2004-11-14 15:40:41.000000000 +0200 -+++ openswan-2.4.7/programs/showhostkey/showhostkey.in 2006-12-06 22:46:54.844837840 +0200 -@@ -18,7 +18,7 @@ - usage="Usage: $me [--file secrets] [--left] [--right] [--txt gateway] [--id id] - [--dhclient] [--ipseckey]" - --file=/etc/ipsec.secrets -+file=/etc/ipsec/ipsec.secrets - fmt="" - gw= - id= -diff -Nru openswan-2.4.7.orig/programs/spi/spi.5 openswan-2.4.7/programs/spi/spi.5 ---- openswan-2.4.7.orig/programs/spi/spi.5 2006-10-26 23:53:59.000000000 +0300 -+++ openswan-2.4.7/programs/spi/spi.5 2006-12-06 23:00:11.910340779 +0200 -@@ -157,7 +157,7 @@ - .SH "FILES" - - .PP --/proc/net/ipsec_spi, /usr/local/bin/ipsec -+/proc/net/ipsec_spi, /usr/bin/ipsec - - .SH "SEE ALSO" - -diff -Nru openswan-2.4.7.orig/programs/spi/spi.8 openswan-2.4.7/programs/spi/spi.8 ---- openswan-2.4.7.orig/programs/spi/spi.8 2006-10-30 22:00:04.000000000 +0200 -+++ openswan-2.4.7/programs/spi/spi.8 2006-12-06 23:00:27.043286530 +0200 -@@ -215,7 +215,7 @@ - .SH "FILES" - - .PP --/proc/net/ipsec_spi, /usr/local/bin/ipsec -+/proc/net/ipsec_spi, /usr/bin/ipsec - - .SH "SEE ALSO" - -diff -Nru openswan-2.4.7.orig/programs/spigrp/spigrp.5 openswan-2.4.7/programs/spigrp/spigrp.5 ---- openswan-2.4.7.orig/programs/spigrp/spigrp.5 2006-10-26 23:50:29.000000000 +0300 -+++ openswan-2.4.7/programs/spigrp/spigrp.5 2006-12-06 23:01:25.650949280 +0200 -@@ -67,7 +67,7 @@ - .SH "FILES" - - .PP --/proc/net/ipsec_spigrp, /usr/local/bin/ipsec -+/proc/net/ipsec_spigrp, /usr/bin/ipsec - - .SH "SEE ALSO" - -diff -Nru openswan-2.4.7.orig/programs/spigrp/spigrp.8 openswan-2.4.7/programs/spigrp/spigrp.8 ---- openswan-2.4.7.orig/programs/spigrp/spigrp.8 2006-10-26 23:50:29.000000000 +0300 -+++ openswan-2.4.7/programs/spigrp/spigrp.8 2006-12-06 23:01:39.079788532 +0200 -@@ -87,7 +87,7 @@ - .SH "FILES" - - .PP --/proc/net/ipsec_spigrp, /usr/local/bin/ipsec -+/proc/net/ipsec_spigrp, /usr/bin/ipsec - - .SH "SEE ALSO" - -diff -Nru openswan-2.4.7.orig/programs/tncfg/tncfg.5 openswan-2.4.7/programs/tncfg/tncfg.5 ---- openswan-2.4.7.orig/programs/tncfg/tncfg.5 2006-10-26 23:58:11.000000000 +0300 -+++ openswan-2.4.7/programs/tncfg/tncfg.5 2006-12-06 23:01:59.385057530 +0200 -@@ -101,7 +101,7 @@ - .SH "FILES" - - .PP --/proc/net/ipsec_tncfg, /usr/local/bin/ipsec -+/proc/net/ipsec_tncfg, /usr/bin/ipsec - - .SH "SEE ALSO" - -diff -Nru openswan-2.4.7.orig/programs/tncfg/tncfg.8 openswan-2.4.7/programs/tncfg/tncfg.8 ---- openswan-2.4.7.orig/programs/tncfg/tncfg.8 2006-10-26 23:58:11.000000000 +0300 -+++ openswan-2.4.7/programs/tncfg/tncfg.8 2006-12-06 23:02:09.245673780 +0200 -@@ -63,7 +63,7 @@ - .SH "FILES" - - .PP --/proc/net/ipsec_tncfg, /usr/local/bin/ipsec -+/proc/net/ipsec_tncfg, /usr/bin/ipsec - - .SH "SEE ALSO" - diff --git a/meta/recipes-connectivity/openswan/openswan_2.4.7.bb b/meta/recipes-connectivity/openswan/openswan_2.4.7.bb deleted file mode 100644 index 022f709f99..0000000000 --- a/meta/recipes-connectivity/openswan/openswan_2.4.7.bb +++ /dev/null @@ -1,37 +0,0 @@ -SECTION = "console/network" -SUMMARY = "IPsec implementation" -DESCRIPTION = "Openswan is an Open Source implementation of IPsec for the \ -Linux operating system." -HOMEPAGE = "http://www.openswan.org" -LICENSE = "GPLv2" -DEPENDS = "gmp flex-native" -RRECOMMENDS = "kernel-module-ipsec" -RDEPENDS_nylon = "perl" -PR = "r0" - -SRC_URI = "http://www.openswan.org/download/old/openswan-${PV}.tar.gz \ - file://openswan-2.4.7-gentoo.patch;patch=1 \ - file://installflags.patch;patch=1 \ - file://ld-library-path-breakage.patch;patch=1" -S = "${WORKDIR}/openswan-${PV}" - -PARALLEL_MAKE = "" -EXTRA_OEMAKE = "DESTDIR=${D} \ - USERCOMPILE="${CFLAGS}" \ - FINALCONFDIR=${sysconfdir}/ipsec \ - INC_RCDEFAULT=${sysconfdir}/init.d \ - INC_USRLOCAL=${prefix} \ - INC_MANDIR=share/man WERROR=''" - -do_compile () { - oe_runmake programs -} - -do_install () { - oe_runmake install -} - -FILES_${PN} = "${sysconfdir} ${libdir}/ipsec/* ${sbindir}/* ${libexecdir}/ipsec/*" -FILES_${PN}-dbg += "${libdir}/ipsec/.debug ${libexecdir}/ipsec/.debug" - -CONFFILES_${PN} = "${sysconfdir}/ipsec/ipsec.conf" diff --git a/meta/recipes-connectivity/opensync/libopensync-0.37/build-in-src.patch b/meta/recipes-connectivity/opensync/libopensync-0.37/build-in-src.patch deleted file mode 100644 index 1810b339a6..0000000000 --- a/meta/recipes-connectivity/opensync/libopensync-0.37/build-in-src.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- - cmake/OpenSyncInternal.cmake.in | 1 - - 1 file changed, 1 deletion(-) - ---- libopensync-0.36.orig/cmake/OpenSyncInternal.cmake.in -+++ libopensync-0.36/cmake/OpenSyncInternal.cmake.in -@@ -5,11 +5,10 @@ INCLUDE( OpenSyncTesting ) - INCLUDE( OpenSyncPackaging ) - INCLUDE( OpenSyncPlugin ) - INCLUDE( OpenSyncPlatforms ) - INCLUDE( MacroEnsureOutOfSourceBuild ) - --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]'!") - - - SET( OPENSYNC_PLUGINDIR "@OPENSYNC_PLUGINDIR@" ) - SET( OPENSYNC_FORMATSDIR "@OPENSYNC_FORMATSDIR@" ) - SET( OPENSYNC_PYTHON_PLUGINDIR "@OPENSYNC_PYTHON_PLUGINDIR@" ) diff --git a/meta/recipes-connectivity/opensync/libopensync-0.37/cmake.patch b/meta/recipes-connectivity/opensync/libopensync-0.37/cmake.patch deleted file mode 100644 index 7ea4613548..0000000000 --- a/meta/recipes-connectivity/opensync/libopensync-0.37/cmake.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- - opensync/CMakeLists.txt | 1 - - 1 file changed, 1 deletion(-) - -Index: libopensync-0.37/opensync/CMakeLists.txt -=================================================================== ---- libopensync-0.37.orig/opensync/CMakeLists.txt 2008-10-15 13:56:45.000000000 +0100 -+++ libopensync-0.37/opensync/CMakeLists.txt 2008-10-15 13:59:03.000000000 +0100 -@@ -67,8 +67,6 @@ - SET_TARGET_PROPERTIES( opensync PROPERTIES VERSION ${OPENSYNC_LIBVERSION_VERSION} ) - SET_TARGET_PROPERTIES( opensync PROPERTIES SOVERSION ${OPENSYNC_LIBVERSION_SOVERSION} ) - --SET_TARGET_PROPERTIES( opensync PROPERTIES COMPILE_FLAGS ${SYMBOLS_VISIBILITY} ) -- - IF ( OPENSYNC_UNITTESTS ) - ADD_LIBRARY( opensync-testing SHARED ${libopensync_LIB_SRCS} ) - TARGET_LINK_LIBRARIES( opensync-testing ${GLIB2_LIBRARIES} ${GTHREAD2_LIBRARIES} ${GMODULE2_LIBRARIES} ${LIBXML2_LIBRARIES} ${LIBXSLT_LIBRARIES} ${LIBEXSLT_LIBRARIES} ${SQLITE3_LIBRARIES} ) diff --git a/meta/recipes-connectivity/opensync/libopensync-0.37/no-python-check.patch b/meta/recipes-connectivity/opensync/libopensync-0.37/no-python-check.patch deleted file mode 100644 index 04257bc623..0000000000 --- a/meta/recipes-connectivity/opensync/libopensync-0.37/no-python-check.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- - CMakeLists.txt | 1 - - 1 file changed, 1 deletion(-) - -Index: libopensync-0.37/CMakeLists.txt -=================================================================== ---- libopensync-0.37.orig/CMakeLists.txt 2008-08-18 16:14:24.000000000 +0100 -+++ libopensync-0.37/CMakeLists.txt 2008-10-15 14:00:12.000000000 +0100 -@@ -65,7 +65,6 @@ - FIND_PACKAGE( LibXslt REQUIRED ) - FIND_PACKAGE( LibExslt REQUIRED ) - FIND_PACKAGE( SWIG ) --FIND_PACKAGE( PythonLibs ) - FIND_PACKAGE( Check ) - - ADD_SUBDIRECTORY( opensync ) diff --git a/meta/recipes-connectivity/opensync/libopensync-plugin-evolution2/0.37-fixes.patch b/meta/recipes-connectivity/opensync/libopensync-plugin-evolution2/0.37-fixes.patch deleted file mode 100644 index 4a1802ce17..0000000000 --- a/meta/recipes-connectivity/opensync/libopensync-plugin-evolution2/0.37-fixes.patch +++ /dev/null @@ -1,23 +0,0 @@ -Index: libopensync-plugin-evolution2-0.36/cmake/modules/FindOpenSync.cmake -=================================================================== ---- libopensync-plugin-evolution2-0.36.orig/cmake/modules/FindOpenSync.cmake 2008-10-20 13:07:14.000000000 +0100 -+++ libopensync-plugin-evolution2-0.36/cmake/modules/FindOpenSync.cmake 2008-10-20 13:08:09.000000000 +0100 -@@ -23,15 +23,15 @@ - ENDIF ( OpenSync_FIND_REQUIRED ) - - IF ( OPENSYNC_MIN_VERSION ) -- PKG_SEARCH_MODULE( OPENSYNC ${_pkgconfig_REQUIRED} opensync-1.0>=${OPENSYNC_MIN_VERSION} ) -+ PKG_SEARCH_MODULE( OPENSYNC ${_pkgconfig_REQUIRED} libopensync>=${OPENSYNC_MIN_VERSION} ) - ELSE ( OPENSYNC_MIN_VERSION ) -- PKG_SEARCH_MODULE( OPENSYNC ${_pkgconfig_REQUIRED} opensync-1.0 ) -+ PKG_SEARCH_MODULE( OPENSYNC ${_pkgconfig_REQUIRED} libopensync ) - ENDIF ( OPENSYNC_MIN_VERSION ) - - FIND_PROGRAM( PKGCONFIG_EXECUTABLE NAMES pkg-config ) - - IF ( PKGCONFIG_EXECUTABLE ) -- EXEC_PROGRAM( ${PKGCONFIG_EXECUTABLE} ARGS opensync-1.0 --variable=datadir OUTPUT_VARIABLE _opensync_data_DIR ) -+ EXEC_PROGRAM( ${PKGCONFIG_EXECUTABLE} ARGS libopensync --variable=datadir OUTPUT_VARIABLE _opensync_data_DIR ) - STRING( REGEX REPLACE "[\r\n]" " " _opensync_data_DIR "${_opensync_data_DIR}" ) - ENDIF ( PKGCONFIG_EXECUTABLE ) - diff --git a/meta/recipes-connectivity/opensync/libopensync-plugin-evolution2_0.36.bb b/meta/recipes-connectivity/opensync/libopensync-plugin-evolution2_0.36.bb deleted file mode 100644 index 6548c206a5..0000000000 --- a/meta/recipes-connectivity/opensync/libopensync-plugin-evolution2_0.36.bb +++ /dev/null @@ -1,8 +0,0 @@ -require libopensync-plugin_0.36.inc -LICENSE = "LGPL" - -DEPENDS += " eds-dbus" - -SRC_URI += "file://0.37-fixes.patch;patch=1" - -PR = "r1" diff --git a/meta/recipes-connectivity/opensync/libopensync-plugin-file_0.37.bb b/meta/recipes-connectivity/opensync/libopensync-plugin-file_0.37.bb deleted file mode 100644 index 404c172490..0000000000 --- a/meta/recipes-connectivity/opensync/libopensync-plugin-file_0.37.bb +++ /dev/null @@ -1,2 +0,0 @@ -require libopensync-plugin_0.36.inc -LICENSE = "LGPL" diff --git a/meta/recipes-connectivity/opensync/libopensync-plugin-google-calendar_0.36.bb b/meta/recipes-connectivity/opensync/libopensync-plugin-google-calendar_0.36.bb deleted file mode 100644 index dbcb2aac12..0000000000 --- a/meta/recipes-connectivity/opensync/libopensync-plugin-google-calendar_0.36.bb +++ /dev/null @@ -1,2 +0,0 @@ -require libopensync-plugin_0.36.inc -LICENSE = "GPLv2" diff --git a/meta/recipes-connectivity/opensync/libopensync-plugin-irmc_0.36.bb b/meta/recipes-connectivity/opensync/libopensync-plugin-irmc_0.36.bb deleted file mode 100644 index cb601f2dc7..0000000000 --- a/meta/recipes-connectivity/opensync/libopensync-plugin-irmc_0.36.bb +++ /dev/null @@ -1,4 +0,0 @@ -require libopensync-plugin_0.36.inc -LICENSE = "GPLv2" - -DEPENDS += "openobex bluez4" diff --git a/meta/recipes-connectivity/opensync/libopensync-plugin-syncml/fixerror.patch b/meta/recipes-connectivity/opensync/libopensync-plugin-syncml/fixerror.patch deleted file mode 100644 index 7dad889422..0000000000 --- a/meta/recipes-connectivity/opensync/libopensync-plugin-syncml/fixerror.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: libopensync-plugin-syncml-0.38/src/syncml_callbacks.c -=================================================================== ---- libopensync-plugin-syncml-0.38.orig/src/syncml_callbacks.c 2009-07-31 10:30:33.000000000 +0100 -+++ libopensync-plugin-syncml-0.38/src/syncml_callbacks.c 2009-07-31 10:30:39.000000000 +0100 -@@ -405,7 +405,7 @@ - } else { - /* This problem should be fixed with the next SLOW-SYNC. */ - osync_trace(TRACE_EXIT_ERROR, "%s - unexpected Add or Replace command", __func__); -- smlErrorSet(error, SML_ERROR_TEMPORARY, "Unwanted Add or Replace command on second OMA DS session."); -+ smlErrorSet(error, SML_ERROR_GENERIC, "Unwanted Add or Replace command on second OMA DS session."); - return FALSE; - } - } diff --git a/meta/recipes-connectivity/opensync/libopensync-plugin-syncml_0.38.bb b/meta/recipes-connectivity/opensync/libopensync-plugin-syncml_0.38.bb deleted file mode 100644 index e33336f57e..0000000000 --- a/meta/recipes-connectivity/opensync/libopensync-plugin-syncml_0.38.bb +++ /dev/null @@ -1,8 +0,0 @@ -require libopensync-plugin_0.36.inc -LICENSE = "LGPL" - -DEPENDS += " libsyncml (>= 0.4.7)" - -SRC_URI += "file://fixerror.patch;patch=1" - -PR = "r1" diff --git a/meta/recipes-connectivity/opensync/libopensync-plugin-vformat_0.37.bb b/meta/recipes-connectivity/opensync/libopensync-plugin-vformat_0.37.bb deleted file mode 100644 index a7d50dc615..0000000000 --- a/meta/recipes-connectivity/opensync/libopensync-plugin-vformat_0.37.bb +++ /dev/null @@ -1,4 +0,0 @@ -require libopensync-plugin_0.36.inc -LICENSE = "LGPL" - -DEPENDS += "libcheck" diff --git a/meta/recipes-connectivity/opensync/libopensync-plugin_0.36.inc b/meta/recipes-connectivity/opensync/libopensync-plugin_0.36.inc deleted file mode 100644 index 147fcfb5ed..0000000000 --- a/meta/recipes-connectivity/opensync/libopensync-plugin_0.36.inc +++ /dev/null @@ -1,11 +0,0 @@ -DEPENDS = "libopensync (>= 0.36)" - -DESCRIPTION ?= "OpenSync plugin" - -SRC_URI = "http://opensync.org/download/releases/${PV}/${P}.tar.bz2" - -inherit cmake - -FILES_${PN} += "${libdir}/opensync*/plugins/*.so \ - ${libdir}/opensync*/formats/*.so \ - ${datadir}/opensync*/defaults/" diff --git a/meta/recipes-connectivity/opensync/libopensync_0.37.bb b/meta/recipes-connectivity/opensync/libopensync_0.37.bb deleted file mode 100644 index 437bdd2885..0000000000 --- a/meta/recipes-connectivity/opensync/libopensync_0.37.bb +++ /dev/null @@ -1,26 +0,0 @@ -LICENSE = "LGPL" -HOMEPAGE = "http://www.opensync.org/" -SUMMARY = "Synchronization framwork" -DESCRIPTION = "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." -DEPENDS = "sqlite3 libxml2 glib-2.0 libcheck zlib libxslt" - -PR = "r1" - -SRC_URI = "http://opensync.org/download/releases/${PV}/libopensync-${PV}.tar.bz2\ - file://cmake.patch;patch=1 \ - file://build-in-src.patch;patch=1 \ - file://no-python-check.patch;patch=1" - -inherit cmake pkgconfig - -LEAD_SONAME = "libopensync.so" - -FILES_${PN} += " ${libdir}/opensync*/formats/*.so \ - ${libdir}/opensync*/osplugin \ - ${datadir}/opensync*/schemas \ - ${datadir}/opensync*/capabilities \ - ${datadir}/opensync*/descriptions \ - " -FILES_${PN}-dbg += " ${libdir}/opensync*/formats/.debug/*.so \ - ${libdir}/opensync*/.debug/osplugin " - diff --git a/meta/recipes-connectivity/opensync/libsync_svn.bb b/meta/recipes-connectivity/opensync/libsync_svn.bb deleted file mode 100644 index 74ca752ad6..0000000000 --- a/meta/recipes-connectivity/opensync/libsync_svn.bb +++ /dev/null @@ -1,20 +0,0 @@ -SUMMARY = "GObject-based sync library" -DESCRIPTION = "LibSync is a GObject-based framework for more convenient use of \ -OpenSync in GLib applications." -LICENSE = "LGPL" -SECTION = "x11" -DEPENDS = "glib-2.0 gtk+ libglade libopensync avahi" -RRECOMMENDS = "\ - libopensync-plugin-file \ - " -PV = "0.0+svnr${SRCREV}" - -SRC_URI = "svn://svn.o-hand.com/repos/sync/trunk;module=sync;proto=http" - -inherit autotools pkgconfig - -S = "${WORKDIR}/sync" - -PACKAGES += "synctool" -FILES_${PN} = "${libdir}/lib*.so.*" -FILES_synctool = "${bindir} ${datadir}" diff --git a/meta/recipes-connectivity/opensync/libsyncml/build-in-src.patch b/meta/recipes-connectivity/opensync/libsyncml/build-in-src.patch deleted file mode 100644 index d8106bdfc7..0000000000 --- a/meta/recipes-connectivity/opensync/libsyncml/build-in-src.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- - CMakeLists.txt | 4 ---- - 1 file changed, 4 deletions(-) - -Index: libsyncml-0.5.4/CMakeLists.txt -=================================================================== ---- libsyncml-0.5.4.orig/CMakeLists.txt 2009-07-31 09:56:16.000000000 +0100 -+++ libsyncml-0.5.4/CMakeLists.txt 2009-07-31 09:57:33.000000000 +0100 -@@ -72,10 +72,6 @@ - CHECK_TYPE_SIZE( uint32_t UINT32_T ) - CHECK_TYPE_SIZE( uint8_t UINT8_T ) - --# ensure out od source build --INCLUDE( MacroEnsureOutOfSourceBuild ) --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]'!") -- - # find requirements - SET ( GLIB2_MIN_VERSION "2.12" ) - SET ( OPENOBEX_MIN_VERSION "1.1" ) diff --git a/meta/recipes-connectivity/opensync/libsyncml_0.5.4.bb b/meta/recipes-connectivity/opensync/libsyncml_0.5.4.bb deleted file mode 100644 index c045698031..0000000000 --- a/meta/recipes-connectivity/opensync/libsyncml_0.5.4.bb +++ /dev/null @@ -1,17 +0,0 @@ -DESCRIPTION = "Libsyncml is a implementation of the SyncML protocol." -HOMEPAGE = "http://libsyncml.opensync.org/" -LICENSE = "LGPL" -DEPENDS = "sed-native wbxml2 libsoup libxml2 bluez4 openobex libcheck" -PR = "r1" - -SRC_URI = "${SOURCEFORGE_MIRROR}/libsyncml/0.5.4/libsyncml-0.5.4.tar.bz2 \ - file://build-in-src.patch;patch=1" - -inherit cmake pkgconfig - -PACKAGES += "${PN}-tools" - -FILES_${PN}-tools = "${bindir}" -FILES_${PN} = "${libdir}/*.so.*" - -export VERBOSE=1 diff --git a/meta/recipes-connectivity/opensync/msynctool_0.38.bb b/meta/recipes-connectivity/opensync/msynctool_0.38.bb deleted file mode 100644 index ff86a0b103..0000000000 --- a/meta/recipes-connectivity/opensync/msynctool_0.38.bb +++ /dev/null @@ -1,20 +0,0 @@ -SUMMARY = "Calendar (and other PIM data) synchronization program" -DESCRIPTION = "msynctool is a program to synchronize calendars, \ -addressbooks and other PIM data between programs on your computer and \ -other computers, mobile devices, PDAs or cell phones. It uses the \ -OpenSync plugins when synchronizing data." -HOMEPAGE = "http://www.opensync.org/" -LICENSE = "GPLv2+" -LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ - file://tools/msynctool.c;beginline=1;endline=20;md5=0b71ef245b75c74bff7d7ec58b9b4527" - -DEPENDS = "libopensync glib-2.0" - -SRC_URI = "http://www.opensync.org/download/releases/${PV}/msynctool-${PV}.tar.bz2" - -inherit cmake pkgconfig - -PR = "r0" - -SRC_URI[md5sum] = "495c45d6f12d3523a736864b0ced6ce5" -SRC_URI[sha256sum] = "4a903d4db05bf2f677a675ec47e9791da9b1752c9feda0026157e82aa97e372b" diff --git a/meta/recipes-connectivity/telepathy/empathy/no-gnome-doc.patch b/meta/recipes-connectivity/telepathy/empathy/no-gnome-doc.patch deleted file mode 100644 index 13e7943da5..0000000000 --- a/meta/recipes-connectivity/telepathy/empathy/no-gnome-doc.patch +++ /dev/null @@ -1,39 +0,0 @@ ---- - Makefile.am | 2 +- - configure.ac | 1 - - help/Makefile.am | 1 - - 3 files changed, 1 insertion(+), 3 deletions(-) - ---- empathy-0.23.4.orig/Makefile.am -+++ empathy-0.23.4/Makefile.am -@@ -1,6 +1,6 @@ --SUBDIRS = tools extensions po data libempathy libempathy-gtk src docs help -+SUBDIRS = tools extensions po data libempathy libempathy-gtk src - - if HAVE_MEGAPHONE - SUBDIRS += megaphone - endif - ---- empathy-0.23.4.orig/configure.ac -+++ empathy-0.23.4/configure.ac -@@ -55,11 +55,10 @@ AM_PROG_LIBTOOL - AM_PROG_MKDIR_P - AM_PATH_GLIB_2_0 - AC_PATH_XTRA - IT_PROG_INTLTOOL([0.35.0]) - GTK_DOC_CHECK([1.3]) --GNOME_DOC_INIT - IDT_COMPILE_WARNINGS - AC_PATH_PROG(DBUS_BINDING_TOOL, dbus-binding-tool) - AC_PATH_PROG(GCONFTOOL, gconftool-2) - AM_GCONF_SOURCE_2 - GLIB_GENMARSHAL=`$PKG_CONFIG glib-2.0 --variable=glib_genmarshal` ---- empathy-0.23.4.orig/help/Makefile.am -+++ empathy-0.23.4/help/Makefile.am -@@ -1,6 +1,5 @@ --include $(top_srcdir)/gnome-doc-utils.make - - DOC_MODULE = empathy - DOC_ENTITIES = legal.xml - DOC_FIGURES = \ - figures/empathy-main-window.png \ diff --git a/meta/recipes-connectivity/telepathy/empathy_2.26.1.bb b/meta/recipes-connectivity/telepathy/empathy_2.26.1.bb deleted file mode 100644 index 2e07b19c16..0000000000 --- a/meta/recipes-connectivity/telepathy/empathy_2.26.1.bb +++ /dev/null @@ -1,29 +0,0 @@ -SUMMARY = "a Telepathy based IM client" -DESCRIPTION = "Instant messaging program supporting text, voice, video, file \ -transfers and interapplication communication over many different protocols, \ -include: AIM, MSN, Google Talk (Jabber/XMPP), Facebook, Yahoo!, Salut, \ -Gadu-Gadu, Groupwise, ICQ and QQ." -HOMEPAGE = "http://blogs.gnome.org/view/xclaesse/2007/04/26/0" -LICENSE = "GPL" -DEPENDS = "libcanberra telepathy-farsight gnome-doc-utils python-native telepathy-python telepathy-mission-control libtelepathy telepathy-glib gtk+ gconf libglade eds-dbus" -RDEPENDS = "telepathy-mission-control" -RRECOMMENDS = "telepathy-gabble" -PR = "r2" - -inherit gnome - -PARALLEL_MAKE = "" - -EXTRA_OECONF += "--disable-scrollkeeper" - -PACKAGES =+ "empathy-scrollkeeper-junk" -FILES_empathy-scrollkeeper-junk = "/var/lib/scrollkeeper" - -FILES_${PN} += "${datadir}/mission-control/profiles/*.profile \ - ${datadir}/dbus-1/services/*.service \ - ${datadir}/telepathy/managers/*.chandler \ - ${datadir}/icons \ - ${libdir}/python*" - -FILES_${PN}-dbg += "${libdir}/python*/*/.debug" - diff --git a/meta/recipes-connectivity/telepathy/telepathy-farsight_0.0.7.bb b/meta/recipes-connectivity/telepathy/telepathy-farsight_0.0.7.bb deleted file mode 100644 index 3e8d10fe50..0000000000 --- a/meta/recipes-connectivity/telepathy/telepathy-farsight_0.0.7.bb +++ /dev/null @@ -1,18 +0,0 @@ -SUMMARY = "Telepathy fasrsight" -DESCRIPTION = "Glue library for telepathy media signalling and the media \ -streaming capabilities of Farsight2." -HOMEPAGE = "http://telepathy.freedesktop.org/wiki/" -DEPENDS = "glib-2.0 dbus telepathy-glib farsight2" -LICENSE = "LGPLv2" - -SRC_URI = "http://telepathy.freedesktop.org/releases/telepathy-farsight/${P}.tar.gz \ -" - -inherit autotools - -EXTRA_OECONF = "--disable-python" - -AUTOTOOLS_STAGE_PKGCONFIG = "1" - -FILES_${PN} += "${datadir}/telepathy \ - ${datadir}/dbus-1" diff --git a/meta/recipes-connectivity/telepathy/telepathy-gabble/gabble.manager b/meta/recipes-connectivity/telepathy/telepathy-gabble/gabble.manager deleted file mode 100644 index 9000cd41cc..0000000000 --- a/meta/recipes-connectivity/telepathy/telepathy-gabble/gabble.manager +++ /dev/null @@ -1,33 +0,0 @@ - -[ConnectionManager] -BusName=org.freedesktop.Telepathy.ConnectionManager.gabble -ObjectPath=/org/freedesktop/Telepathy/ConnectionManager/gabble - -[Protocol jabber] -param-account=s required register -param-password=s required register -param-server=s -param-resource=s -param-priority=n -param-port=q -param-old-ssl=b -param-register=b -param-low-bandwidth=b -param-https-proxy-server=s -param-https-proxy-port=q -param-fallback-conference-server=s -param-stun-server=s -param-stun-port=q -param-ignore-ssl-errors=b -param-alias=s -param-mac=s -param-btid=s -default-resource=Telepathy -default-priority=0 -default-port=5222 -default-old-ssl=false -default-register=false -default-low-bandwidth=false -default-https-proxy-port=443 -default-stun-port=3478 -default-ignore-ssl-errors=false diff --git a/meta/recipes-connectivity/telepathy/telepathy-gabble_0.7.8.bb b/meta/recipes-connectivity/telepathy/telepathy-gabble_0.7.8.bb deleted file mode 100644 index ff49418540..0000000000 --- a/meta/recipes-connectivity/telepathy/telepathy-gabble_0.7.8.bb +++ /dev/null @@ -1,18 +0,0 @@ -SUMMARY = "Telepathy Jabber/XMPP connection manager" -DESCRIPTION = "Telepathy implementation of the Jabber/XMPP protocols." -HOMEPAGE = "http://telepathy.freedesktop.org/wiki/" -DEPENDS = "glib-2.0 dbus loudmouth telepathy-glib dbus-glib" -LICENSE = "LGPL" - -# gabble.manager needs to get regenerated every release, so please don't copy it over blindly -SRC_URI = "http://telepathy.freedesktop.org/releases/telepathy-gabble/${P}.tar.gz \ - file://gabble.manager" - -inherit autotools pkgconfig - -do_compile_prepend() { - cp ${WORKDIR}/gabble.manager ${S}/data/ -} - -FILES_${PN} += "${datadir}/telepathy \ - ${datadir}/dbus-1" diff --git a/meta/recipes-connectivity/wbxml/files/no-doc-install.patch b/meta/recipes-connectivity/wbxml/files/no-doc-install.patch deleted file mode 100644 index 16084e60e6..0000000000 --- a/meta/recipes-connectivity/wbxml/files/no-doc-install.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- wbxml2-0.9.2/Makefile.am.old 2007-01-03 19:50:24.000000000 +0000 -+++ wbxml2-0.9.2/Makefile.am 2007-01-03 19:50:39.000000000 +0000 -@@ -24,9 +24,9 @@ - TODO\ - doxygen.h - --install-data-local: -- $(mkinstalldirs) $(DESTDIR)$(wbxmldocdir)/manual -- cp -Rp doc/* $(DESTDIR)$(wbxmldocdir)/manual -+#install-data-local: -+# $(mkinstalldirs) $(DESTDIR)$(wbxmldocdir)/manual -+# cp -Rp doc/* $(DESTDIR)$(wbxmldocdir)/manual - - dist-bz2: distdir - sed -e "s/tar.gz/tar.bz2/g" $(distdir)/wbxml2.spec > $(distdir)/wbxml2.spec.aux diff --git a/meta/recipes-connectivity/wbxml/wbxml2_0.9.2.bb b/meta/recipes-connectivity/wbxml/wbxml2_0.9.2.bb deleted file mode 100644 index e3ac0017ff..0000000000 --- a/meta/recipes-connectivity/wbxml/wbxml2_0.9.2.bb +++ /dev/null @@ -1,24 +0,0 @@ -SUMMARY = "Parsing and Encoding of WBXML documents" -DESCRIPTION = "The WBXML Library (aka libwbxml) contains a library and \ -its associated tools to Parse, Encode and Handle WBXML documents. The \ -WBXML format is a binary representation of XML, defined by the Wap \ -Forum, and used to reduce bandwidth in mobile communications." -LICENSE = "GPLv2" - -DEPENDS = "libxml2 sed-native expat" - -SRC_URI = "${SOURCEFORGE_MIRROR}/wbxmllib/${P}.tar.gz \ - file://no-doc-install.patch;patch=1" - -inherit autotools pkgconfig - -do_configure_append() { - sed -i s:-I/usr/include::g Makefile - sed -i s:-I/usr/include::g */Makefile -} - -PACKAGES += "${PN}-tools" - -FILES_${PN}-tools = "${bindir}" -FILES_${PN} = "${libdir}/*.so.*" - diff --git a/meta/recipes-core/meta/external-csl-toolchain/SUPPORTED b/meta/recipes-core/meta/external-csl-toolchain/SUPPORTED new file mode 100644 index 0000000000..fe9406acd1 --- /dev/null +++ b/meta/recipes-core/meta/external-csl-toolchain/SUPPORTED @@ -0,0 +1,4 @@ +en_GB.UTF-8 UTF-8 +en_GB ISO-8859-1 +en_US.UTF-8 UTF-8 +en_US ISO-8859-1 diff --git a/meta/recipes-core/meta/external-csl-toolchain_2008q3-72.bb b/meta/recipes-core/meta/external-csl-toolchain_2008q3-72.bb new file mode 100644 index 0000000000..0d58445de2 --- /dev/null +++ b/meta/recipes-core/meta/external-csl-toolchain_2008q3-72.bb @@ -0,0 +1,63 @@ +INHIBIT_DEFAULT_DEPS = "1" + +# License applies to this recipe code, not the toolchain itself +LICENSE = "MIT" + +PROVIDES = "\ + linux-libc-headers \ + virtual/arm-none-linux-gnueabi-gcc \ + virtual/arm-none-linux-gnueabi-g++ \ + virtual/arm-none-linux-gnueabi-gcc-initial \ + virtual/arm-none-linux-gnueabi-gcc-intermediate \ + virtual/arm-none-linux-gnueabi-binutils \ + virtual/arm-none-linux-gnueabi-libc-for-gcc \ + virtual/libc \ + virtual/libintl \ + virtual/libiconv \ + glibc-thread-db \ + virtual/linux-libc-headers " +RPROVIDES = "glibc-utils libsegfault glibc-thread-db" +PACKAGES_DYNAMIC = "glibc-gconv-*" +PR = "r1" + +#SRC_URI = "http://www.codesourcery.com/public/gnu_toolchain/arm-none-linux-gnueabi/arm-${PV}-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2 \ + +SRC_URI = "file://SUPPORTED" + +do_install() { + echo "EXTERNAL_TOOLCHAIN is ${EXTERNAL_TOOLCHAIN}" + install -d ${D}${sysconfdir} ${D}${bindir} ${D}${sbindir} ${D}${base_bindir} ${D}${libdir} + install -d ${D}${base_libdir} ${D}${base_sbindir} ${D}${datadir} + + cp -a ${EXTERNAL_TOOLCHAIN}/arm-none-linux-gnueabi/libc/lib/* ${D}${base_libdir} + cp -a ${EXTERNAL_TOOLCHAIN}/arm-none-linux-gnueabi/libc/etc/* ${D}${sysconfdir} + cp -a ${EXTERNAL_TOOLCHAIN}/arm-none-linux-gnueabi/libc/sbin/* ${D}${base_sbindir} + cp -a ${EXTERNAL_TOOLCHAIN}/arm-none-linux-gnueabi/libc/usr/* ${D}/usr + + sed -i -e "s# /lib# ../../lib#g" -e "s# /usr/lib# .#g" ${D}${libdir}/libc.so + sed -i -e "s# /lib# ../../lib#g" -e "s# /usr/lib# .#g" ${D}${libdir}/libpthread.so +} + +GLIBC_INTERNAL_USE_BINARY_LOCALE ?= "compile" + +inherit libc-package + +PACKAGES += "libgcc libgcc-dev libstdc++ libstdc++-dev linux-libc-headers" +FILES_libgcc = "${base_libdir}/libgcc_s.so.1" +FILES_libgcc-dev = "${base_libdir}/libgcc_s.so" +FILES_libstdc++ = "${libdir}/libstdc++.so.*" +FILES_libstdc++-dev = "${includedir}/c++/${PV} \ + ${libdir}/libstdc++.so \ + ${libdir}/libstdc++.la \ + ${libdir}/libstdc++.a \ + ${libdir}/libsupc++.la \ + ${libdir}/libsupc++.a" +FILES_linux-libc-headers = "${includedir}/asm* \ + ${includedir}/linux \ + ${includedir}/mtd \ + ${includedir}/rdma \ + ${includedir}/scsi \ + ${includedir}/sound \ + ${includedir}/video \ +" + diff --git a/meta/recipes-core/meta/external-poky-toolchain.bb b/meta/recipes-core/meta/external-poky-toolchain.bb new file mode 100644 index 0000000000..a387ab3e60 --- /dev/null +++ b/meta/recipes-core/meta/external-poky-toolchain.bb @@ -0,0 +1,42 @@ +PROVIDES = "\ + linux-libc-headers \ + virtual/${TARGET_PREFIX}gcc \ + virtual/${TARGET_PREFIX}gcc-intermediate \ + virtual/${TARGET_PREFIX}gcc-initial \ + virtual/${TARGET_PREFIX}binutils \ + virtual/${TARGET_PREFIX}libc-for-gcc \ + virtual/libc \ + virtual/libintl \ + virtual/libiconv \ + virtual/linux-libc-headers " +RPROVIDES = "glibc-utils libsegfault glibc-thread-db libgcc-dev libstdc++-dev libstdc++" +PACKAGES_DYNAMIC = "glibc-gconv-*" +INHIBIT_DEFAULT_DEPS = "1" +PR = "r1" + +PSTAGING_DISABLED = "1" + +# License applies to this recipe code, not the toolchain itself +LICENSE = "MIT" + +do_install() { + if [ ! -e ${prefix}/environment-setup ]; then + echo "The Poky toolchain could not be found in ${prefix}!" + exit 1 + fi + + install -d ${DEPLOY_DIR}/ipk/ + install -d ${STAGING_DIR}/pkgdata/ + install -d ${STAGING_DIR_TARGET}/shlibs/ + install -d ${STAGING_DIR_TARGET}/${base_libdir}/ + install -d ${STAGING_DIR_TARGET}/${libdir}/ + install -d ${STAGING_DIR_TARGET}/${includedir}/ + + cp -ar ${prefix}/ipk/* ${DEPLOY_DIR}/ipk/ + cp -ar ${prefix}/pkgdata/* ${STAGING_DIR}/pkgdata/ + cp -ar ${prefix}/${TARGET_SYS}/shlibs/* ${STAGING_DIR_TARGET}/shlibs/ + cp -ar ${prefix}/${TARGET_SYS}/lib/* ${STAGING_DIR_TARGET}/${base_libdir}/ + cp -ar ${prefix}/${TARGET_SYS}/usr/include/* ${STAGING_DIR_TARGET}/${includedir}/ + cp -ar ${prefix}/${TARGET_SYS}/usr/lib/* ${STAGING_DIR_TARGET}/${libdir}/ +} + diff --git a/meta/recipes-core/meta/external-python-tarball.bb b/meta/recipes-core/meta/external-python-tarball.bb new file mode 100644 index 0000000000..1812ba5506 --- /dev/null +++ b/meta/recipes-core/meta/external-python-tarball.bb @@ -0,0 +1,87 @@ +DESCRIPTION = "Meta package for building a standalone python tarball" +LICENSE = "MIT" +DEPENDS = "opkg-native opkg-utils-native virtual/fakeroot-native sed-native" + +inherit meta + +SDK_DIR = "${WORKDIR}/sdk" +SDK_OUTPUT = "${SDK_DIR}/image" +SDK_DEPLOY = "${TMPDIR}/deploy/sdk" + +IPKG_HOST = "opkg-cl -f ${IPKGCONF_SDK} -o ${SDK_OUTPUT}" + +TOOLCHAIN_HOST_TASK ?= "\ + python-nativesdk-core \ + python-nativesdk-textutils \ + python-nativesdk-sqlite3 \ + python-nativesdk-pickle \ + python-nativesdk-logging \ + python-nativesdk-elementtree \ + python-nativesdk-curses \ + python-nativesdk-compile \ + python-nativesdk-compiler \ + python-nativesdk-fcntl \ + python-nativesdk-shell \ + python-nativesdk-misc \ + python-nativesdk-subprocess \ + python-nativesdk-xmlrpc \ + python-nativesdk-netclient \ + python-nativesdk-netserver \ + python-nativesdk-distutils" + +TOOLCHAIN_OUTPUTNAME ?= "python-nativesdk-standalone-${SDKMACHINE}" + +RDEPENDS = "${TOOLCHAIN_HOST_TASK}" + +EXCLUDE_FROM_WORLD = "1" + +do_populate_sdk() { + rm -rf ${SDK_OUTPUT} + mkdir -p ${SDK_OUTPUT} + mkdir -p ${SDK_OUTPUT}${localstatedir}/lib/opkg/ + + rm -f ${IPKGCONF_TARGET} + touch ${IPKGCONF_TARGET} + rm -f ${IPKGCONF_SDK} + touch ${IPKGCONF_SDK} + + package_update_index_ipk + package_generate_ipkg_conf + + for arch in ${PACKAGE_ARCHS}; do + revipkgarchs="$arch $revipkgarchs" + done + + ${IPKG_HOST} update + ${IPKG_HOST} install ${TOOLCHAIN_HOST_TASK} + + install -d ${SDK_OUTPUT}/${SDKPATHNATIVE}${localstatedir_nativesdk}/lib/opkg + mv ${SDK_OUTPUT}/var/lib/opkg/* ${SDK_OUTPUT}/${SDKPATHNATIVE}${localstatedir_nativesdk}/lib/opkg/ + rm -Rf ${SDK_OUTPUT}/var + + install -d ${SDK_OUTPUT}/${SDKPATHNATIVE}/${sysconfdir} + install -m 0644 ${IPKGCONF_SDK} ${SDK_OUTPUT}/${SDKPATHNATIVE}/${sysconfdir}/ + + rm -f ${SDK_OUTPUT}/${SDKPATHNATIVE}${libdir_nativesdk}/*.la + + # Link the ld.so.cache file into the hosts filesystem + ln -s /etc/ld.so.cache ${SDK_OUTPUT}/${SDKPATHNATIVE}/etc/ld.so.cache + + # Add version information + versionfile=${SDK_OUTPUT}/${SDKPATH}/version-${MULTIMACH_TARGET_SYS} + touch $versionfile + echo 'Distro: ${DISTRO}' >> $versionfile + echo 'Distro Version: ${DISTRO_VERSION}' >> $versionfile + echo 'Metadata Revision: ${METADATA_REVISION}' >> $versionfile + echo 'Timestamp: ${DATETIME}' >> $versionfile + + # Package it up + mkdir -p ${SDK_DEPLOY} + cd ${SDK_OUTPUT} + ${FAKEROOT} tar cfj ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.tar.bz2 . +} + +do_populate_sdk[nostamp] = "1" +do_populate_sdk[recrdeptask] = "do_package_write" +addtask populate_sdk before do_build after do_install + diff --git a/meta/recipes-core/meta/meta-ide-support.bb b/meta/recipes-core/meta/meta-ide-support.bb new file mode 100644 index 0000000000..8fe9a23036 --- /dev/null +++ b/meta/recipes-core/meta/meta-ide-support.bb @@ -0,0 +1,14 @@ +DESCRIPTION = "Meta package for ensuring the build directory contains all appropriate toolchain packages for using an IDE" +LICENSE = "MIT" +DEPENDS = "virtual/libc gdb-cross qemu-helper-native unfs-server-native" +PR = "r1" + +inherit meta toolchain-scripts + +do_populate_ide_support () { + toolchain_create_tree_env_script +} + +do_populate_ide_support[nostamp] = "1" +do_populate_ide_support[recrdeptask] = "do_package_write" +addtask populate_ide_support before do_build after do_install diff --git a/meta/recipes-core/meta/meta-toolchain-sdk.bb b/meta/recipes-core/meta/meta-toolchain-sdk.bb new file mode 100644 index 0000000000..8572f021d7 --- /dev/null +++ b/meta/recipes-core/meta/meta-toolchain-sdk.bb @@ -0,0 +1,4 @@ +TOOLCHAIN_TARGET_SDKTASK ?= "task-poky-standalone-gmae-sdk-target task-poky-standalone-gmae-sdk-target-dbg" +TOOLCHAIN_TARGET_TASK = "${TOOLCHAIN_TARGET_SDKTASK}" +TOOLCHAIN_OUTPUTNAME = "${SDK_NAME}-toolchain-sdk-${DISTRO_VERSION}" +require meta-toolchain.bb diff --git a/meta/recipes-core/meta/meta-toolchain.bb b/meta/recipes-core/meta/meta-toolchain.bb new file mode 100644 index 0000000000..2fab8f94b2 --- /dev/null +++ b/meta/recipes-core/meta/meta-toolchain.bb @@ -0,0 +1,103 @@ +DESCRIPTION = "Meta package for building a installable toolchain" +LICENSE = "MIT" +DEPENDS = "opkg-native opkg-utils-native virtual/fakeroot-native sed-native" + +inherit meta toolchain-scripts + +SDK_DIR = "${WORKDIR}/sdk" +SDK_OUTPUT = "${SDK_DIR}/image" +SDK_DEPLOY = "${TMPDIR}/deploy/sdk" + +SDKTARGETSYSROOT = "${SDKPATH}/sysroots/${TARGET_SYS}" + +IPKG_HOST = "opkg-cl -f ${IPKGCONF_SDK} -o ${SDK_OUTPUT}" +IPKG_TARGET = "opkg-cl -f ${IPKGCONF_TARGET} -o ${SDK_OUTPUT}/${SDKTARGETSYSROOT}" + +TOOLCHAIN_HOST_TASK ?= "task-sdk-host" +TOOLCHAIN_TARGET_TASK ?= "task-poky-standalone-sdk-target task-poky-standalone-sdk-target-dbg" +TOOLCHAIN_OUTPUTNAME ?= "${SDK_NAME}-toolchain-${DISTRO_VERSION}" + +RDEPENDS = "${TOOLCHAIN_TARGET_TASK} ${TOOLCHAIN_HOST_TASK}" + +EXCLUDE_FROM_WORLD = "1" + +do_populate_sdk() { + rm -rf ${SDK_OUTPUT} + mkdir -p ${SDK_OUTPUT} + mkdir -p ${SDK_OUTPUT}${localstatedir}/lib/opkg/ + mkdir -p ${SDK_OUTPUT}/${SDKTARGETSYSROOT}${localstatedir}/lib/opkg/ + + rm -f ${IPKGCONF_TARGET} + touch ${IPKGCONF_TARGET} + rm -f ${IPKGCONF_SDK} + touch ${IPKGCONF_SDK} + + package_update_index_ipk + package_generate_ipkg_conf + + for arch in ${PACKAGE_ARCHS}; do + revipkgarchs="$arch $revipkgarchs" + done + + ${IPKG_HOST} update + ${IPKG_HOST} install ${TOOLCHAIN_HOST_TASK} + + ${IPKG_TARGET} update + ${IPKG_TARGET} install ${TOOLCHAIN_TARGET_TASK} + + install -d ${SDK_OUTPUT}/${SDKPATHNATIVE}${localstatedir_nativesdk}/lib/opkg + mv ${SDK_OUTPUT}/var/lib/opkg/* ${SDK_OUTPUT}/${SDKPATHNATIVE}${localstatedir_nativesdk}/lib/opkg/ + rm -Rf ${SDK_OUTPUT}/var + + # Don't ship any libGL in the SDK + rm -rf ${SDK_OUTPUT}/${SDKPATHNATIVE}${libdir_nativesdk}/libGL* + + install -d ${SDK_OUTPUT}/${SDKTARGETSYSROOT}/${sysconfdir} + install -m 0644 ${IPKGCONF_TARGET} ${IPKGCONF_SDK} ${SDK_OUTPUT}/${SDKTARGETSYSROOT}/${sysconfdir}/ + + install -d ${SDK_OUTPUT}/${SDKPATHNATIVE}/${sysconfdir} + install -m 0644 ${IPKGCONF_SDK} ${SDK_OUTPUT}/${SDKPATHNATIVE}/${sysconfdir}/ + + # Can copy pstage files here + # target_pkgs=`cat ${SDK_OUTPUT}/${SDKTARGETSYSROOT}/var/lib/opkg/status | grep Package: | cut -f 2 -d ' '` + + # Fix or remove broken .la files + for i in `find ${SDK_OUTPUT}/${SDKTARGETSYSROOT} -name \*.la`; do + sed -i -e "/^dependency_libs=/s,\([[:space:]']\)${base_libdir},\1${SDKTARGETSYSROOT}${base_libdir},g" \ + -e "/^dependency_libs=/s,\([[:space:]']\)${libdir},\1${SDKTARGETSYSROOT}${libdir},g" \ + -e "/^dependency_libs=/s,\-\([LR]\)${base_libdir},-\1${SDKTARGETSYSROOT}${base_libdir},g" \ + -e "/^dependency_libs=/s,\-\([LR]\)${libdir},-\1${SDKTARGETSYSROOT}${libdir},g" \ + -e 's/^installed=yes$/installed=no/' $i + done + #rm -f ${SDK_OUTPUT}/${SDKPATHNATIVE}/lib/*.la + rm -f ${SDK_OUTPUT}/${SDKPATHNATIVE}${libdir_nativesdk}/*.la + + # Link the ld.so.cache file into the hosts filesystem + ln -s /etc/ld.so.cache ${SDK_OUTPUT}/${SDKPATHNATIVE}/etc/ld.so.cache + + # Setup site file for external use + siteconfig=${SDK_OUTPUT}/${SDKPATH}/site-config-${MULTIMACH_TARGET_SYS} + touch $siteconfig + for sitefile in ${CONFIG_SITE} ; do + cat $sitefile >> $siteconfig + done + + toolchain_create_sdk_env_script + + # Add version information + versionfile=${SDK_OUTPUT}/${SDKPATH}/version-${MULTIMACH_TARGET_SYS} + touch $versionfile + echo 'Distro: ${DISTRO}' >> $versionfile + echo 'Distro Version: ${DISTRO_VERSION}' >> $versionfile + echo 'Metadata Revision: ${METADATA_REVISION}' >> $versionfile + echo 'Timestamp: ${DATETIME}' >> $versionfile + + # Package it up + mkdir -p ${SDK_DEPLOY} + cd ${SDK_OUTPUT} + ${FAKEROOT} tar cfj ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.tar.bz2 . +} + +do_populate_sdk[nostamp] = "1" +do_populate_sdk[recrdeptask] = "do_package_write" +addtask populate_sdk before do_build after do_install diff --git a/meta/recipes-core/meta/package-index.bb b/meta/recipes-core/meta/package-index.bb new file mode 100644 index 0000000000..21822fe9da --- /dev/null +++ b/meta/recipes-core/meta/package-index.bb @@ -0,0 +1,29 @@ +DESCRIPTION = "Rebuild the package index" +LICENSE = "MIT" + +INHIBIT_DEFAULT_DEPS = "1" +ALLOW_EMPTY = "1" +PACKAGES = "" + +do_fetch() { +} +do_unpack() { +} +do_patch() { +} +do_configure() { +} +do_compile() { +} +do_install() { +} + +do_build[nostamp] = "1" +do_build[dirs] = "${DEPLOY_DIR_IPK}" +do_build() { + set -ex + package_update_index_ipk + set +ex +} + +EXCLUDE_FROM_WORLD = "1" diff --git a/meta/recipes-core/tasks/task-poky-tools.bb b/meta/recipes-core/tasks/task-poky-tools.bb index 0a2533c525..0bb07a2984 100644 --- a/meta/recipes-core/tasks/task-poky-tools.bb +++ b/meta/recipes-core/tasks/task-poky-tools.bb @@ -63,6 +63,7 @@ RDEPENDS_task-poky-tools-profile_append_atom-pc = " lttng-ust" RDEPENDS_task-poky-tools-testapps = "\ blktool \ + fstests \ tslib-calibrate \ tslib-tests \ lrzsz \ @@ -72,6 +73,7 @@ RDEPENDS_task-poky-tools-testapps = "\ owl-video \ gst-meta-video \ gst-meta-audio \ + x11perf \ xrestop \ xwininfo \ xprop \ diff --git a/meta/recipes-devtools/dpkg/run-postinsts/run-postinsts b/meta/recipes-devtools/dpkg/run-postinsts/run-postinsts new file mode 100755 index 0000000000..f632d1c7d3 --- /dev/null +++ b/meta/recipes-devtools/dpkg/run-postinsts/run-postinsts @@ -0,0 +1,36 @@ +#!/bin/sh +# +# Copyright 2007 Openedhand Ltd. +# +# Author: Richard Purdie +# + +PKGSYSTEM=/var/dpkg + +if [ ! -e $PKGSYSTEM/status ]; then + if [ -e /usr/lib/opkg/status ]; then + PKGSYSTEM=/usr/lib/opkg + else + echo "No package system found" + exit 1 + fi +fi + +STAMP=$PKGSYSTEM/postinsts-done +STATFILE=$PKGSYSTEM/status +STATFILE2=$PKGSYSTEM/status2 + +if [ -e $STAMP ]; then + exit 0 +fi + +awk -f /usr/share/run-postinsts/run-postinsts.awk $STATFILE > $STATFILE2 +if [ $? = 0 ]; then + mv $STATFILE2 $STATFILE + touch $STAMP + exit 0 +else + rm -f $STATFILE2 + rm -f $STAMP + exit 1 +fi diff --git a/meta/recipes-devtools/dpkg/run-postinsts/run-postinsts.awk b/meta/recipes-devtools/dpkg/run-postinsts/run-postinsts.awk new file mode 100644 index 0000000000..09a1400cf4 --- /dev/null +++ b/meta/recipes-devtools/dpkg/run-postinsts/run-postinsts.awk @@ -0,0 +1,30 @@ +# +# Copyright 2007 Openedhand Ltd. +# +# Author: Richard Purdie +# +# Rather hacky proof of concept +# + +BEGIN { + rc=system("test -d /usr/dpkg/info/") + if (rc==0) + pkgdir="/var/dpkg/info" + else + pkgdir="/usr/lib/opkg/info" + package="" +} +/Package:.*/ { + package = substr($0, 10) +} +/Status:.*unpacked.*/ { + print "Configuring: " package > "/dev/stderr" + ret = system(pkgdir "/" package ".postinst 1>&2") + if (ret == 0) + $0 = gensub("unpacked", "installed", 1) + else + print "Postinstall failed for " package > "/dev/stderr" +} +{ + print $0 +} diff --git a/meta/recipes-devtools/dpkg/run-postinsts_1.0.bb b/meta/recipes-devtools/dpkg/run-postinsts_1.0.bb new file mode 100644 index 0000000000..44e840ed13 --- /dev/null +++ b/meta/recipes-devtools/dpkg/run-postinsts_1.0.bb @@ -0,0 +1,27 @@ +DESCRIPTION = "Run postinstall scripts on device using awk" +SECTION = "devel" +PR = "r6" +LICENSE = "MIT" + +SRC_URI = "file://run-postinsts file://run-postinsts.awk" + +INITSCRIPT_NAME = "run-postinsts" +INITSCRIPT_PARAMS = "start 98 S ." + +inherit update-rc.d + +do_configure() { + : +} + +do_compile () { + : +} + +do_install() { + install -d ${D}${sysconfdir}/init.d/ + install -m 0755 ${WORKDIR}/run-postinsts ${D}${sysconfdir}/init.d/ + + install -d ${D}${datadir}/${PN}/ + install -m 0644 ${WORKDIR}/run-postinsts.awk ${D}${datadir}/${PN}/ +} diff --git a/meta/recipes-devtools/exmap-console/exmap-console.inc b/meta/recipes-devtools/exmap-console/exmap-console.inc deleted file mode 100644 index efbd79fce1..0000000000 --- a/meta/recipes-devtools/exmap-console/exmap-console.inc +++ /dev/null @@ -1,59 +0,0 @@ -DESCRIPTION = "Console based version of exmap, a memory usage analysis tool" -HOMEPAGE = "http://projects.o-hand.com/exmap-console" -SECTION = "devel" -LICENSE = "GPL" -DEPENDS = "virtual/kernel readline glib-2.0" - -SRC_URI = "http://projects.o-hand.com/sources/exmap-console/exmap-console-${PV}.tgz" - -TEMPPACKAGE_ARCH := "${PACKAGE_ARCH}" - -inherit module-base -inherit autotools - -PACKAGE_ARCH = "${TEMPPACKAGE_ARCH}" - -PACKAGES =+ "exmap-server kernel-module-exmap" - -FILES_exmap-console = "${bindir}/exmap ${bindir}/exmapd" -RDEPENDS_exmap-console += "kernel-module-exmap" - -FILES_exmap-server = "${bindir}/exmapserver" -RDEPENDS_exmap-server += "kernel-module-exmap" - -FILES_kernel-module-exmap = "${base_libdir}" -PACKAGE_ARCH_kernel-module-exmap = "${MACHINE_ARCH}" -RDEPENDS_kernel-module-exmap += "update-modules kernel-image-${KERNEL_VERSION}" - -S = "${WORKDIR}/exmap-console-${PV}" - -export MODULE_PATH="${D}${base_libdir}/modules/${KERNEL_VERSION}" - -do_compile() { - cd ${S}/src - make - - cd ${S}/kernel - unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS - oe_runmake KERNEL_PATH=${STAGING_KERNEL_DIR} \ - KERNEL_SRC=${STAGING_KERNEL_DIR} \ - KERNEL_VERSION=${KERNEL_VERSION} \ - CC="${KERNEL_CC}" LD="${KERNEL_LD}" \ - ${MAKE_TARGETS} -} - -do_install() { - oe_runmake 'DESTDIR=${D}' 'DEPMOD=/bin/true' install -} - -pkg_postinst_append_kernel-module-exmap () { - if [ -n "$D" ]; then - exit 1 - fi - depmod -a - update-modules || true -} - -pkg_postrm_append_kernel-module-exmap () { - update-modules || true -} diff --git a/meta/recipes-devtools/exmap-console/exmap-console_0.4.1.bb b/meta/recipes-devtools/exmap-console/exmap-console_0.4.1.bb deleted file mode 100644 index c76c5c3b4c..0000000000 --- a/meta/recipes-devtools/exmap-console/exmap-console_0.4.1.bb +++ /dev/null @@ -1,3 +0,0 @@ -require exmap-console.inc - -PR = "r8" diff --git a/meta/recipes-devtools/exmap-console/exmap-console_svn.bb b/meta/recipes-devtools/exmap-console/exmap-console_svn.bb deleted file mode 100644 index ce222854e2..0000000000 --- a/meta/recipes-devtools/exmap-console/exmap-console_svn.bb +++ /dev/null @@ -1,8 +0,0 @@ -require exmap-console.inc - -PV = "0.4+svnr${SRCREV}" -PR = "r5" - -SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=exmap-console;proto=http" - -S = "${WORKDIR}/exmap-console" diff --git a/meta/recipes-extended/devicekit/devicekit-power_014.bb b/meta/recipes-extended/devicekit/devicekit-power_014.bb deleted file mode 100644 index f69a060ef2..0000000000 --- a/meta/recipes-extended/devicekit/devicekit-power_014.bb +++ /dev/null @@ -1,21 +0,0 @@ -DESCRIPTION = "Devicekit power" -LICENSE = "GPLv2" -DEPENDS = "devicekit glib-2.0 dbus-glib polkit" - -SRC_URI = "http://hal.freedesktop.org/releases/DeviceKit-power-${PV}.tar.gz" -S = "${WORKDIR}/DeviceKit-power-${PV}" - -inherit autotools pkgconfig - -do_configure_prepend() { - sed -i -e s:-nonet:\:g ${S}/doc/man/Makefile.am -} - -EXTRA_OECONF = "--with-backend=linux" - -FILES_${PN} += "${datadir}/dbus-1/ \ - ${datadir}/PolicyKit \ - ${base_libdir}/udev/* \ - " - -FILES_${PN}-dbg += "${base_libdir}/udev/.debug" diff --git a/meta/recipes-extended/devicekit/devicekit/volatile b/meta/recipes-extended/devicekit/devicekit/volatile deleted file mode 100644 index 1e399642e0..0000000000 --- a/meta/recipes-extended/devicekit/devicekit/volatile +++ /dev/null @@ -1 +0,0 @@ -d root root 0700 /var/run/devkit none diff --git a/meta/recipes-extended/devicekit/devicekit_003.bb b/meta/recipes-extended/devicekit/devicekit_003.bb deleted file mode 100644 index af812935cd..0000000000 --- a/meta/recipes-extended/devicekit/devicekit_003.bb +++ /dev/null @@ -1,16 +0,0 @@ -DESCRIPTION = "DeviceKit is a simple system service that a) can enumerate devices; b) emits signals when devices are added removed; c) provides a way to merge device information / quirks onto devices." -LICENSE = "GPLv2" -DEPENDS = "udev dbus-glib glib-2.0" - -PR = "r1" - -SRC_URI = "http://hal.freedesktop.org/releases/DeviceKit-${PV}.tar.gz" -S = "${WORKDIR}/DeviceKit-${PV}" - -do_configure_prepend() { - sed -i -e s:-nonet:\:g ${S}/doc/man/Makefile.am -} - -inherit autotools - -FILES_${PN} += "${datadir}/dbus-1/" diff --git a/meta/recipes-extended/devicekit/devicekit_git.bb b/meta/recipes-extended/devicekit/devicekit_git.bb deleted file mode 100644 index 9845a34d56..0000000000 --- a/meta/recipes-extended/devicekit/devicekit_git.bb +++ /dev/null @@ -1,34 +0,0 @@ -LICENSE = "GPL" -DEPENDS = "dbus-glib" - -SRC_URI = "git://anongit.freedesktop.org/DeviceKit/DeviceKit;protocol=git \ - file://volatile" - -PV = "002+git${SRCREV}" -PR = "r2" - -S = "${WORKDIR}/git" - -EXTRA_OECONF = "--disable-man-pages" - -inherit autotools pkgconfig - -do_install_append() { - install -d ${D}/etc/default/volatiles - install -m 0644 ${WORKDIR}/volatile ${D}/etc/default/volatiles/devicekit -} - -pkg_postinst_devicekit () { - # can't do this offline - if [ "x$D" != "x" ]; then - exit 1 - fi - - DBUSPID=`pidof dbus-daemon` - - if [ "x$DBUSPID" != "x" ]; then - /etc/init.d/dbus-1 reload - fi -} - -FILES_${PN} += "${datadir}/dbus-1/" diff --git a/meta/recipes-extended/tasks/task-poky-basic.bb b/meta/recipes-extended/tasks/task-poky-basic.bb index 5e2a35e787..08eddb6bb2 100644 --- a/meta/recipes-extended/tasks/task-poky-basic.bb +++ b/meta/recipes-extended/tasks/task-poky-basic.bb @@ -75,6 +75,7 @@ RDEPENDS_task-poky-basic-utils = "\ gmp \ grep \ makedevs \ + mc \ mktemp \ ncurses \ net-tools \ diff --git a/meta/recipes-extended/tasks/task-poky-lsb.bb b/meta/recipes-extended/tasks/task-poky-lsb.bb index 3004ec2dae..82933e89f6 100644 --- a/meta/recipes-extended/tasks/task-poky-lsb.bb +++ b/meta/recipes-extended/tasks/task-poky-lsb.bb @@ -3,7 +3,7 @@ # DESCRIPTION = "Create Small Image Tasks" -PR = "r1" +PR = "r2" LICENSE = "MIT" PACKAGES = "\ @@ -43,6 +43,7 @@ RDEPENDS_task-poky-lsb = "\ # GPLv2 Should List RDEPENDS_task-poky-sys-extended = "\ curl \ + dhcp-client \ diffutils \ gamin \ hdparm \ @@ -50,6 +51,7 @@ RDEPENDS_task-poky-sys-extended = "\ libxml2 \ lrzsz \ lzo \ + mc \ mdadm \ minicom \ neon \ @@ -62,6 +64,7 @@ RDEPENDS_task-poky-sys-extended = "\ unzip \ watchdog \ which \ + xinetd \ zip \ " @@ -95,9 +98,11 @@ RDEPENDS_task-poky-tcl = "\ RDEPENDS_task-poky-misc = "\ elfutils \ gettext \ + groff \ lsb \ lsof \ -# man-pages \ + man \ + man-pages \ ncurses \ strace \ libusb1 \ diff --git a/meta/recipes-extended/zile/files/for_build.patch b/meta/recipes-extended/zile/files/for_build.patch deleted file mode 100644 index 96380fa220..0000000000 --- a/meta/recipes-extended/zile/files/for_build.patch +++ /dev/null @@ -1,64 +0,0 @@ -Index: zile-2.0beta6/acinclude.m4 -=================================================================== ---- zile-2.0beta6.orig/acinclude.m4 2004-12-20 19:13:07.000000000 -0500 -+++ zile-2.0beta6/acinclude.m4 2005-01-21 20:38:28.982166344 -0500 -@@ -35,3 +35,29 @@ - t} - fi - AC_SUBST(EXEEXT_FOR_BUILD)])dnl -+ -+dnl Get a default for CFLAGS_FOR_BUILD to put into Makefile. -+AC_DEFUN([BFD_CFLAGS_FOR_BUILD], -+[ac_test_CFLAGS=${CFLAGS+set} -+# Put a plausible default for CFLAGS_FOR_BUILD in Makefile. -+if test -z "$CFLAGS_FOR_BUILD"; then -+ if test "x$cross_compiling" = "xyes"; then -+ CFLAGS_FOR_BUILD="-O2" -+ else -+ CFLAGS_FOR_BUILD='$(CFLAGS)' -+ fi -+fi -+AC_SUBST(CFLAGS_FOR_BUILD)])dnl -+ -+dnl Get a default for LDFLAGS_FOR_BUILD to put into Makefile. -+AC_DEFUN([BFD_LDFLAGS_FOR_BUILD], -+[ac_test_LDFLAGS=${LDFLAGS+set} -+# Put a plausible default for LDFLAGS_FOR_BUILD in Makefile. -+if test -z "$LDFLAGS_FOR_BUILD"; then -+ if test "x$cross_compiling" = "xyes"; then -+ LDFLAGS_FOR_BUILD="" -+ else -+ LDFLAGS_FOR_BUILD='$(LDFLAGS)' -+ fi -+fi -+AC_SUBST(LDFLAGS_FOR_BUILD)])dnl -Index: zile-2.0beta6/configure.ac -=================================================================== ---- zile-2.0beta6.orig/configure.ac 2005-01-12 07:56:19.000000000 -0500 -+++ zile-2.0beta6/configure.ac 2005-01-21 20:26:58.178184512 -0500 -@@ -19,6 +19,8 @@ - - AC_PROG_CC - BFD_CC_FOR_BUILD -+BFD_CFLAGS_FOR_BUILD -+BFD_LDFLAGS_FOR_BUILD - AC_C_INLINE - AC_PROG_INSTALL - AC_PROG_RANLIB -Index: zile-2.0beta6/doc/Makefile.am -=================================================================== ---- zile-2.0beta6.orig/doc/Makefile.am 2005-01-03 06:11:32.000000000 -0500 -+++ zile-2.0beta6/doc/Makefile.am 2005-01-21 20:27:17.271281920 -0500 -@@ -27,10 +27,10 @@ - AM_CFLAGS = -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_srcdir)/src - - mkdoc$(EXEEXT_FOR_BUILD): mkdoc.o config.h -- $(CC_FOR_BUILD) $(CFLAGS) $(LDFLAGS) -o $@ mkdoc.o -+ $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@ mkdoc.o - - mkdoc.o: mkdoc.c -- $(CC_FOR_BUILD) -c -I$(top_srcdir)/doc -I$(top_srcdir) -I$(top_srcdir)/src $(CFLAGS) $(srcdir)/mkdoc.c -+ $(CC_FOR_BUILD) -c -I$(top_srcdir)/doc -I$(top_srcdir) -I$(top_srcdir)/src $(CFLAGS_FOR_BUILD) $(srcdir)/mkdoc.c - - AUTODOC: $(AUTODOCSRCS) mkdoc - ./mkdoc $(AUTODOCSRCS) >AUTODOC diff --git a/meta/recipes-extended/zile/zile_1.7+2.0beta6.bb b/meta/recipes-extended/zile/zile_1.7+2.0beta6.bb deleted file mode 100644 index 74d832eef3..0000000000 --- a/meta/recipes-extended/zile/zile_1.7+2.0beta6.bb +++ /dev/null @@ -1,19 +0,0 @@ -DESCRIPTION = "Zile is a very small emacs-like editor." -HOMEPAGE = "http://zile.sourceforge.net/" -LICENSE = "GPL" -DEPENDS = "ncurses" -PRIORITY = "optional" -SECTION = "console/editors" -PR = "r1" - -UV = "${@bb.data.getVar('PV', d, 1).split('+')[1]}" - -SRC_URI = "${SOURCEFORGE_MIRROR}/zile/zile-${UV}.tar.gz \ - file://for_build.patch;patch=1" -S = "${WORKDIR}/zile-${UV}" - -inherit autotools - -export CC_FOR_BUILD = "${BUILD_CC}" -export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS} -DHAVE_VASPRINTF" -export LDFLAGS_FOR_BUILD = "${BUILD_LDFLAGS}" diff --git a/meta/recipes-gnome/abiword/abiword-2.5.inc b/meta/recipes-gnome/abiword/abiword-2.5.inc deleted file mode 100644 index dcd3b85534..0000000000 --- a/meta/recipes-gnome/abiword/abiword-2.5.inc +++ /dev/null @@ -1,63 +0,0 @@ -DESCRIPTION = "AbiWord is free word processing program similar to Microsoft(r) Word" -HOMEPAGE = "http://www.abiword.org" -SECTION = "x11/office" -LICENSE = "GPLv2" -DEPENDS = "perl-native wv libgsf libglade libfribidi jpeg libpng libxml2" -RDEPENDS = "glibc-gconv-ibm850 glibc-gconv-cp1252 \ - glibc-gconv-iso8859-15 glibc-gconv-iso8859-1" - -SRC_URI = "http://www.abiword.org/downloads/abiword/${PV}/source/abiword-${PV}.tar.gz" - -#want 2.x from 2.x.y for the installation directory -SHRT_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}" - -FILES_${PN} += " \ - ${datadir}/icons/* \ - ${datadir}/abiword-${SHRT_VER}/glade \ - ${datadir}/abiword-${SHRT_VER}/scripts \ - ${datadir}/abiword-${SHRT_VER}/system.profile-en \ - ${datadir}/abiword-${SHRT_VER}/system.profile-en_GB \ -# ${datadir}/abiword-${SHRT_VER}/templates/A4.awt \ -# ${datadir}/abiword-${SHRT_VER}/templates/US-Letter.awt \ - ${datadir}/abiword-${SHRT_VER}/templates/normal.awt \ - ${datadir}/abiword-${SHRT_VER}/templates/normal.awt-en_GB \ - ${datadir}/abiword-${SHRT_VER}/templates/Employee-Directory.awt \ - ${datadir}/abiword-${SHRT_VER}/templates/Business-Report.awt \ - ${datadir}/abiword-${SHRT_VER}/templates/Fax-Coversheet.awt \ - ${datadir}/abiword-${SHRT_VER}/templates/Resume.awt \ - ${datadir}/abiword-${SHRT_VER}/templates/Two-Columns.awt \ - ${datadir}/abiword-${SHRT_VER}/templates/Memo.awt \ - ${datadir}/abiword-${SHRT_VER}/templates/Press-Release.awt " - -inherit autotools pkgconfig - -PARALLEL_MAKE = "" - -EXTRA_OECONF = " --disable-pspell \ - --disable-spellcheck \ - --disable-printing \ - --disable-exports \ - --with-sys-wv" - -# AbiWord configure.ac does not play nicely with autoreconf -# so use the autogen.sh script that comes with AbiWord -# -do_configure() { - cd ${S} - export NOCONFIGURE="no"; ./autogen.sh - oe_runconf -} - - -do_install_append() { - install -d ${D}${datadir}/pixmaps/ - mv ${D}${datadir}/icons/* ${D}${datadir}/pixmaps/ -} - -PACKAGES += " abiword-clipart abiword-icons abiword-strings abiword-systemprofiles abiword-templates " - -FILES_abiword-clipart += "${datadir}/abiword-${SHRT_VER}/clipart" -FILES_abiword-icons += "${datadir}/abiword-${SHRT_VER}/icons" -FILES_abiword-strings += "${datadir}/abiword-${SHRT_VER}/AbiWord/strings" -FILES_abiword-systemprofiles += "${datadir}/abiword-${SHRT_VER}/AbiWord/system.profile*" -FILES_abiword-templates += "${datadir}/abiword-${SHRT_VER}/templates" diff --git a/meta/recipes-gnome/abiword/abiword-embedded_2.5.2.bb b/meta/recipes-gnome/abiword/abiword-embedded_2.5.2.bb deleted file mode 100644 index 47cf9e03c0..0000000000 --- a/meta/recipes-gnome/abiword/abiword-embedded_2.5.2.bb +++ /dev/null @@ -1,10 +0,0 @@ -require abiword-2.5.inc - -EXTRA_OECONF += "--enable-embedded" - -S = "${WORKDIR}/abiword-${PV}" - -RCONFLICTS = "abiword" -RPROVIDES += "abiword" - - diff --git a/meta/recipes-gnome/abiword/abiword.inc b/meta/recipes-gnome/abiword/abiword.inc deleted file mode 100644 index d2fabf931c..0000000000 --- a/meta/recipes-gnome/abiword/abiword.inc +++ /dev/null @@ -1,63 +0,0 @@ -DESCRIPTION = "AbiWord is free word processing program similar to Microsoft(r) Word" -SECTION = "gnome/office" -HOMEPAGE = "http://www.abiword.org"" -LICENSE = "GPLv2" - -DEPENDS = "libgsf libglade libfribidi libxml2 wv" -RRECOMMENDS = "glibc-gconv-ibm850 glibc-gconv-cp1252 \ - glibc-gconv-iso8859-15 glibc-gconv-iso8859-1" - -# Share this file between recipes that use cvs and that pull tarballs -# (one day change this to differentiate automatically based on PV and set the -# SRC_URI and S var directly) -RELURI = "http://www.abiword.org/downloads/abiword/${PV}/source/abiword-${PV}.tar.gz" -RELSRC = "${WORKDIR}/abiword-${PV}/abi" - -CVSURI = "cvs://anoncvs:anoncvs@anoncvs.abisource.com/cvsroot;module=abi" -CVSSRC = "${WORKDIR}/abi" - -#want 2.x from 2.x.y for the installation directory -SHRT_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}" - -FILES_${PN} += " \ - ${datadir}/icons/* \ - ${datadir}/mime-info \ - ${datadir}/abiword-${SHRT_VER}/glade \ - ${datadir}/abiword-${SHRT_VER}/system.profile-en \ - ${datadir}/abiword-${SHRT_VER}/system.profile-en-GB \ -# ${datadir}/abiword-${SHRT_VER}/templates/normal.awt \ -# ${datadir}/abiword-${SHRT_VER}/templates/normal.awt-en_GB \ - " - -inherit autotools pkgconfig - -PARALLEL_MAKE = "" - -# This is a minimalistic AbiWord build -# -# if you are planning to build plugins, make sure to comment out the -# --disable-exports options - -EXTRA_OECONF = " --enable-embedded=poky \ - --disable-printing \ - --with-sys-wv \ - --disable-exports \ - --disable-spellcheck" - -# TODO -- refactor this, so that instead of two strings and profiles -# packages we have lots of locale packages, each with a set of strings and -# a profile -# -PACKAGES += " abiword-strings abiword-systemprofiles" - -FILES_abiword-strings += "${datadir}/abiword-${SHRT_VER}/strings" -FILES_abiword-systemprofiles += "${datadir}/abiword-${SHRT_VER}/system.profile*" - -# AbiWord configure.ac does not play nicely with autoreconf -# so use the autogen.sh script that comes with AbiWord -# -do_configure() { - cd ${S} - export NOCONFIGURE="no"; ./autogen.sh - oe_runconf -} diff --git a/meta/recipes-gnome/abiword/abiword_2.5.2.bb b/meta/recipes-gnome/abiword/abiword_2.5.2.bb deleted file mode 100644 index 566d0fa203..0000000000 --- a/meta/recipes-gnome/abiword/abiword_2.5.2.bb +++ /dev/null @@ -1,5 +0,0 @@ -require abiword-2.5.inc - -PR = "r1" - -RCONFLICTS = "abiword-embedded" diff --git a/meta/recipes-gnome/abiword/abiword_cvs.bb b/meta/recipes-gnome/abiword/abiword_cvs.bb deleted file mode 100644 index e0e3bd7d60..0000000000 --- a/meta/recipes-gnome/abiword/abiword_cvs.bb +++ /dev/null @@ -1,9 +0,0 @@ -require abiword.inc - -PV="2.5.0+cvs${SRCDATE}" -PR = "r3" - -SRC_URI = "${CVSURI}" - -S = "${CVSSRC}" - diff --git a/meta/recipes-gnome/gnome/gnome-settings-daemon/configurefix.patch b/meta/recipes-gnome/gnome/gnome-settings-daemon/configurefix.patch deleted file mode 100644 index 01b4f64191..0000000000 --- a/meta/recipes-gnome/gnome/gnome-settings-daemon/configurefix.patch +++ /dev/null @@ -1,30 +0,0 @@ -Index: gnome-settings-daemon-2.26.1/configure.ac -=================================================================== ---- gnome-settings-daemon-2.26.1.orig/configure.ac 2009-09-16 22:57:31.000000000 +0100 -+++ gnome-settings-daemon-2.26.1/configure.ac 2009-09-16 22:58:45.000000000 +0100 -@@ -133,9 +133,6 @@ - # - AC_DEFUN([AC_CHECK_X_HEADERS], [ - ac_save_CPPFLAGS="$CPPFLAGS" -- if test \! -z "$includedir" ; then -- CPPFLAGS="$CPPFLAGS -I$includedir" -- fi - CPPFLAGS="$CPPFLAGS $X_CFLAGS" - AC_CHECK_HEADERS([$1],[$2],[$3],[$4]) - CPPFLAGS="$ac_save_CPPFLAGS"]) -@@ -148,15 +145,9 @@ - ac_save_LDFLAGS="$LDFLAGS" - # ac_save_LIBS="$LIBS" - -- if test \! -z "$includedir" ; then -- CPPFLAGS="$CPPFLAGS -I$includedir" -- fi - # note: $X_CFLAGS includes $x_includes - CPPFLAGS="$CPPFLAGS $X_CFLAGS" - -- if test \! -z "$libdir" ; then -- LDFLAGS="$LDFLAGS -L$libdir" -- fi - # note: $X_LIBS includes $x_libraries - LDFLAGS="$LDFLAGS $ALL_X_LIBS" - diff --git a/meta/recipes-gnome/gnome/gnome-settings-daemon/desktop-moblin.patch b/meta/recipes-gnome/gnome/gnome-settings-daemon/desktop-moblin.patch deleted file mode 100644 index d3fd76c621..0000000000 --- a/meta/recipes-gnome/gnome/gnome-settings-daemon/desktop-moblin.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- gnome-settings-daemon-2.26.1/data/gnome-settings-daemon.desktop.in.in~ 2009-04-24 20:59:51.000000000 -0700 -+++ gnome-settings-daemon-2.26.1/data/gnome-settings-daemon.desktop.in.in 2009-04-24 20:59:51.000000000 -0700 -@@ -2,7 +2,7 @@ - Type=Application - _Name=GNOME Settings Daemon - Exec=@LIBEXECDIR@/gnome-settings-daemon --OnlyShowIn=GNOME; -+OnlyShowIn=GNOME;MOBLIN; - X-GNOME-Autostart-Phase=Initialization - X-GNOME-Autostart-Notify=true - X-GNOME-AutoRestart=true diff --git a/meta/recipes-gnome/gnome/gnome-settings-daemon/gnome-settings-daemon-2.24.0-catch-deviceadded.patch b/meta/recipes-gnome/gnome/gnome-settings-daemon/gnome-settings-daemon-2.24.0-catch-deviceadded.patch deleted file mode 100644 index 8e1d0ce9ce..0000000000 --- a/meta/recipes-gnome/gnome/gnome-settings-daemon/gnome-settings-daemon-2.24.0-catch-deviceadded.patch +++ /dev/null @@ -1,19 +0,0 @@ -============================================================ - Listen for DeviceAdded in addition to DeviceEnabled - - This should help address problems like left-handed -mouse, and acceleration settings getting lost after -resume, or when new devices gets plugged in. - -diff --git a/plugins/mouse/gsd-mouse-manager.c b/plugins/mouse/gsd-mouse-manager.c ---- a/plugins/mouse/gsd-mouse-manager.c -+++ b/plugins/mouse/gsd-mouse-manager.c -@@ -320,7 +320,7 @@ devicepresence_filter (GdkXEvent *xevent, - if (xev->type == xi_presence) - { - XDevicePresenceNotifyEvent *dpn = (XDevicePresenceNotifyEvent *) xev; -- if (dpn->devchange == DeviceEnabled) -+ if (dpn->devchange == DeviceEnabled || dpn->devchange == DeviceAdded) - set_mouse_settings ((GsdMouseManager *) data); - } - return GDK_FILTER_CONTINUE; diff --git a/meta/recipes-gnome/gnome/gnome-settings-daemon/gnome-settings-daemon-fix-gthread.patch b/meta/recipes-gnome/gnome/gnome-settings-daemon/gnome-settings-daemon-fix-gthread.patch deleted file mode 100644 index d77063eba7..0000000000 --- a/meta/recipes-gnome/gnome/gnome-settings-daemon/gnome-settings-daemon-fix-gthread.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: gnome-settings-daemon-2.25.90/configure.ac -=================================================================== ---- gnome-settings-daemon-2.25.90.orig/configure.ac -+++ gnome-settings-daemon-2.25.90/configure.ac -@@ -85,6 +85,8 @@ AC_PATH_PROG(GCONFTOOL, gconftool-2) - - AM_GCONF_SOURCE_2 - -+AC_CHECK_LIB(gthread-2.0, g_thread_init) -+ - dnl --------------------------------------------------------------------------- - dnl - Check for libnotify - dnl --------------------------------------------------------------------------- diff --git a/meta/recipes-gnome/gnome/gnome-settings-daemon/mojito-cleanup.patch b/meta/recipes-gnome/gnome/gnome-settings-daemon/mojito-cleanup.patch deleted file mode 100644 index 1aff2d6d6f..0000000000 --- a/meta/recipes-gnome/gnome/gnome-settings-daemon/mojito-cleanup.patch +++ /dev/null @@ -1,74 +0,0 @@ -diff --git a/plugins/housekeeping/gsd-housekeeping-manager.c b/plugins/housekeeping/gsd-housekeeping-manager.c -index f84cfad..e8f474a 100644 ---- a/plugins/housekeeping/gsd-housekeeping-manager.c -+++ b/plugins/housekeeping/gsd-housekeeping-manager.c -@@ -85,9 +85,13 @@ thumb_data_free (gpointer data) - } - } - -+typedef enum { -+ HASH, -+ HASH_PNG -+} FileType; - - static GList * --read_dir_for_purge (const char *path, GList *files) -+read_dir_for_purge (const char *path, GList *files, FileType type) - { - GFile *read_path; - GFileEnumerator *enum_dir; -@@ -105,9 +109,20 @@ read_dir_for_purge (const char *path, GList *files) - GFileInfo *info; - while ((info = g_file_enumerator_next_file (enum_dir, NULL, NULL)) != NULL) { - const char *name; -+ gboolean prune = FALSE; -+ - name = g_file_info_get_name (info); - -- if (strlen (name) == 36 && strcmp (name + 32, ".png") == 0) { -+ switch (type) { -+ case HASH: -+ prune = (strlen (name) == 36); -+ break; -+ case HASH_PNG: -+ prune = (strlen (name) == 36 && strcmp (name + 32, ".png") == 0); -+ break; -+ } -+ -+ if (prune) { - ThumbData *td; - GFile *entry; - char *entry_path; -@@ -197,14 +212,14 @@ purge_thumbnail_cache (void) - ".thumbnails", - "normal", - NULL); -- files = read_dir_for_purge (path, NULL); -+ files = read_dir_for_purge (path, NULL, HASH_PNG); - g_free (path); - - path = g_build_filename (g_get_home_dir (), - ".thumbnails", - "large", - NULL); -- files = read_dir_for_purge (path, files); -+ files = read_dir_for_purge (path, files, HASH_PNG); - g_free (path); - - path = g_build_filename (g_get_home_dir (), -@@ -212,7 +227,14 @@ purge_thumbnail_cache (void) - "fail", - "gnome-thumbnail-factory", - NULL); -- files = read_dir_for_purge (path, files); -+ files = read_dir_for_purge (path, files, HASH_PNG); -+ g_free (path); -+ -+ path = g_build_filename (g_get_user_cache_dir (), -+ "mojito", -+ "thumbnails", -+ NULL); -+ files = read_dir_for_purge (path, files, HASH); - g_free (path); - - g_get_current_time (¤t_time); diff --git a/meta/recipes-gnome/gnome/gnome-settings-daemon/mount-plugin.patch b/meta/recipes-gnome/gnome/gnome-settings-daemon/mount-plugin.patch deleted file mode 100644 index 67f056b505..0000000000 --- a/meta/recipes-gnome/gnome/gnome-settings-daemon/mount-plugin.patch +++ /dev/null @@ -1,618 +0,0 @@ -diff --git a/configure.ac b/configure.ac -index 135f2ce..ba737a5 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -356,6 +356,7 @@ plugins/keybindings/Makefile - plugins/keyboard/Makefile - plugins/media-keys/Makefile - plugins/media-keys/cut-n-paste/Makefile -+plugins/mount/Makefile - plugins/mouse/Makefile - plugins/screensaver/Makefile - plugins/sound/Makefile -diff --git a/data/gnome-settings-daemon.schemas.in b/data/gnome-settings-daemon.schemas.in -index 4920ae3..502e9e6 100644 ---- a/data/gnome-settings-daemon.schemas.in -+++ b/data/gnome-settings-daemon.schemas.in -@@ -557,5 +557,29 @@ - - - -+ -+ /schemas/apps/gnome_settings_daemon/plugins/mount/active -+ /apps/gnome_settings_daemon/plugins/mount/active -+ gnome-settings-daemon -+ bool -+ TRUE -+ -+ Enable mount plugin -+ Set to True to enable the plugin to automount media. -+ -+ -+ -+ /schemas/apps/gnome_settings_daemon/plugins/mount/priority -+ /apps/gnome_settings_daemon/plugins/mount/priority -+ gnome-settings-daemon -+ int -+ 99 -+ -+ -+ -+ -+ -+ -+ - - -diff --git a/plugins/Makefile.am b/plugins/Makefile.am -index 2d33061..46615c1 100644 ---- a/plugins/Makefile.am -+++ b/plugins/Makefile.am -@@ -11,6 +11,7 @@ SUBDIRS = \ - keybindings \ - keyboard \ - media-keys \ -+ mount \ - mouse \ - screensaver \ - sound \ -diff --git a/plugins/mount/Makefile.am b/plugins/mount/Makefile.am -new file mode 100644 -index 0000000..188c83d ---- /dev/null -+++ b/plugins/mount/Makefile.am -@@ -0,0 +1,39 @@ -+plugin_LTLIBRARIES = \ -+ libmount.la -+ -+libmount_la_SOURCES = \ -+ gsd-mount-manager.c \ -+ gsd-mount-manager.h \ -+ gsd-mount-plugin.c \ -+ gsd-mount-plugin.h -+ -+libmount_la_CPPFLAGS = \ -+ -I$(top_srcdir)/gnome-settings-daemon \ -+ -DGNOME_SETTINGS_LOCALEDIR=\""$(datadir)/locale"\" \ -+ $(AM_CPPFLAGS) -+ -+libmount_la_CFLAGS = \ -+ $(SETTINGS_PLUGIN_CFLAGS) \ -+ $(AM_CFLAGS) -+ -+libmount_la_LDFLAGS = \ -+ $(GSD_PLUGIN_LDFLAGS) -+ -+libmount_la_LIBADD = \ -+ $(SETTINGS_PLUGIN_LIBS) -+ -+plugin_in_files = \ -+ mount.gnome-settings-plugin.in -+ -+plugin_DATA = $(plugin_in_files:.gnome-settings-plugin.in=.gnome-settings-plugin) -+ -+EXTRA_DIST = \ -+ $(plugin_in_files) -+ -+CLEANFILES = \ -+ $(plugin_DATA) -+ -+DISTCLEANFILES = \ -+ $(plugin_DATA) -+ -+@GSD_INTLTOOL_PLUGIN_RULE@ -diff --git a/plugins/mount/gsd-mount-manager.c b/plugins/mount/gsd-mount-manager.c -new file mode 100644 -index 0000000..a768f03 ---- /dev/null -+++ b/plugins/mount/gsd-mount-manager.c -@@ -0,0 +1,261 @@ -+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- -+ * -+ * Copyright (C) 2009 Intel Corporation -+ * -+ * This program is free software; you can redistribute it and/or modify it under -+ * the terms of the GNU General Public License as published by the Free Software -+ * Foundation; either version 2 of the License, or (at your option) any later -+ * version. -+ * -+ * This program is distributed in the hope that it will be useful, but WITHOUT -+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -+ * details. -+ * -+ * You should have received a copy of the GNU General Public License along with -+ * this program; if not, write to the Free Software Foundation, Inc., 59 Temple -+ * Place - Suite 330, Boston, MA 02111-1307, USA. -+ * -+ */ -+ -+#include -+ -+#include -+#include -+#include -+#include -+ -+#include "gsd-mount-manager.h" -+ -+#define GSD_MOUNT_MANAGER_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GSD_TYPE_MOUNT_MANAGER, GsdMountManagerPrivate)) -+ -+struct GsdMountManagerPrivate -+{ -+ GVolumeMonitor *monitor; -+}; -+ -+G_DEFINE_TYPE (GsdMountManager, gsd_mount_manager, G_TYPE_OBJECT) -+ -+static gpointer manager_object = NULL; -+ -+#if 0 -+static void -+drive_connected_cb (GVolumeMonitor *monitor, -+ GDrive *drive, -+ GsdMountManager *manager) -+{ -+ /* TODO: listen for the eject button */ -+} -+#endif -+ -+static void -+volume_mounted_cb (GObject *source_object, GAsyncResult *result, gpointer user_data) -+{ -+ GError *error = NULL; -+ char *name; -+ -+ name = g_volume_get_name (G_VOLUME (source_object)); -+ -+ if (!g_volume_mount_finish (G_VOLUME (source_object), result, &error)) { -+ g_debug ("Failed to mount '%s': %s", name, error->message); -+ -+ if (error->code != G_IO_ERROR_FAILED_HANDLED) { -+ char *primary; -+ GtkWidget *dialog; -+ -+ primary = g_strdup_printf (_("Unable to mount %s"), name); -+ -+ dialog = gtk_message_dialog_new (NULL, 0, -+ GTK_MESSAGE_ERROR, -+ GTK_BUTTONS_CLOSE, -+ primary); -+ -+ g_free (primary); -+ gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), error->message); -+ -+ gtk_dialog_run (GTK_DIALOG (dialog)); -+ gtk_widget_destroy (dialog); -+ } -+ g_error_free (error); -+ } else { -+ g_debug ("Mounted '%s'", name); -+ } -+ -+ g_free (name); -+} -+ -+static void -+volume_added_cb (GVolumeMonitor *monitor, -+ GVolume *volume, -+ GsdMountManager *manager) -+{ -+ char *name; -+ -+ name = g_volume_get_name (volume); -+ g_debug ("Volme '%s' added", name); -+ -+ if (g_volume_can_mount (volume)) { -+ GMountOperation *mount_op; -+ -+ g_debug ("Mounting '%s'", name); -+ -+ mount_op = gtk_mount_operation_new (NULL); -+ g_volume_mount (volume, G_MOUNT_MOUNT_NONE, -+ mount_op, NULL, -+ volume_mounted_cb, manager); -+ } -+ -+ g_free (name); -+} -+ -+static void -+mount_added_cb (GVolumeMonitor *monitor, -+ GMount *mount, -+ GsdMountManager *manager) -+{ -+ GFile *file; -+ char *uri; -+ -+ file = g_mount_get_root (mount); -+ uri = g_file_get_uri (file); -+ -+ g_debug ("%s mounted, starting file manager", uri); -+ -+ /* TODO: error */ -+ gtk_show_uri (NULL, uri, GDK_CURRENT_TIME, NULL); -+ -+ g_free (uri); -+ g_object_unref (file); -+} -+ -+static void -+mount_existing_volumes (GsdMountManager *manager) -+{ -+ /* TODO: iterate over drives to hook up eject */ -+ GList *l; -+ -+ g_debug ("Mounting existing volumes"); -+ -+ l = g_volume_monitor_get_volumes (manager->priv->monitor); -+ while (l) { -+ GVolume *volume = l->data; -+ GMount *mount; -+ -+ mount = g_volume_get_mount (volume); -+ if (mount == NULL && -+ g_volume_can_mount (volume) && -+ g_volume_should_automount (volume)) { -+ GMountOperation *mount_op; -+ char *name; -+ -+ name = g_volume_get_name (volume); -+ g_debug ("Mounting '%s'", name); -+ g_free (name); -+ -+ mount_op = gtk_mount_operation_new (NULL); -+ g_volume_mount (volume, G_MOUNT_MOUNT_NONE, -+ mount_op, NULL, -+ volume_mounted_cb, manager); -+ } -+ -+ if (mount) -+ g_object_unref (mount); -+ g_object_unref (volume); -+ l = g_list_delete_link (l, l); -+ } -+} -+ -+gboolean -+gsd_mount_manager_start (GsdMountManager *manager, -+ GError **error) -+{ -+ g_debug ("Starting mount manager"); -+ -+ manager->priv->monitor = g_volume_monitor_get (); -+ -+#if 0 -+ g_signal_connect_object (manager->priv->monitor, "drive-connected", -+ G_CALLBACK (drive_connected_cb), manager, 0); -+#endif -+ g_signal_connect_object (manager->priv->monitor, "volume-added", -+ G_CALLBACK (volume_added_cb), manager, 0); -+ g_signal_connect_object (manager->priv->monitor, "mount-added", -+ G_CALLBACK (mount_added_cb), manager, 0); -+ -+ /* TODO: handle eject buttons */ -+ -+#if 0 -+ mount_existing_volumes (manager); -+#endif -+ -+ return TRUE; -+} -+ -+void -+gsd_mount_manager_stop (GsdMountManager *manager) -+{ -+ g_debug ("Stopping mount manager"); -+} -+ -+static void -+gsd_mount_manager_dispose (GObject *object) -+{ -+ GsdMountManager *manager = GSD_MOUNT_MANAGER (object); -+ -+ if (manager->priv->monitor) { -+ g_signal_handlers_disconnect_by_func -+ (manager->priv->monitor, volume_added_cb, manager); -+ g_signal_handlers_disconnect_by_func -+ (manager->priv->monitor, mount_added_cb, manager); -+ g_object_unref (manager->priv->monitor); -+ manager->priv->monitor = NULL; -+ } -+ -+ G_OBJECT_CLASS (gsd_mount_manager_parent_class)->dispose (object); -+} -+ -+static void -+gsd_mount_manager_init (GsdMountManager *manager) -+{ -+ manager->priv = GSD_MOUNT_MANAGER_GET_PRIVATE (manager); -+} -+ -+static void -+gsd_mount_manager_finalize (GObject *object) -+{ -+ GsdMountManager *mount_manager; -+ -+ g_return_if_fail (object != NULL); -+ g_return_if_fail (GSD_IS_MOUNT_MANAGER (object)); -+ -+ mount_manager = GSD_MOUNT_MANAGER (object); -+ -+ g_return_if_fail (mount_manager->priv != NULL); -+ -+ G_OBJECT_CLASS (gsd_mount_manager_parent_class)->finalize (object); -+} -+ -+static void -+gsd_mount_manager_class_init (GsdMountManagerClass *klass) -+{ -+ GObjectClass *object_class = G_OBJECT_CLASS (klass); -+ -+ object_class->dispose = gsd_mount_manager_dispose; -+ object_class->finalize = gsd_mount_manager_finalize; -+ -+ g_type_class_add_private (klass, sizeof (GsdMountManagerPrivate)); -+} -+ -+GsdMountManager * -+gsd_mount_manager_new (void) -+{ -+ if (manager_object != NULL) { -+ g_object_ref (manager_object); -+ } else { -+ manager_object = g_object_new (GSD_TYPE_MOUNT_MANAGER, NULL); -+ g_object_add_weak_pointer (manager_object, -+ (gpointer *) &manager_object); -+ } -+ -+ return GSD_MOUNT_MANAGER (manager_object); -+} -diff --git a/plugins/mount/gsd-mount-manager.h b/plugins/mount/gsd-mount-manager.h -new file mode 100644 -index 0000000..9093fff ---- /dev/null -+++ b/plugins/mount/gsd-mount-manager.h -@@ -0,0 +1,58 @@ -+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- -+ * -+ * Copyright (C) 2009 Intel Corporation -+ * -+ * This program is free software; you can redistribute it and/or modify it under -+ * the terms of the GNU General Public License as published by the Free Software -+ * Foundation; either version 2 of the License, or (at your option) any later -+ * version. -+ * -+ * This program is distributed in the hope that it will be useful, but WITHOUT -+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -+ * details. -+ * -+ * You should have received a copy of the GNU General Public License along with -+ * this program; if not, write to the Free Software Foundation, Inc., 59 Temple -+ * Place - Suite 330, Boston, MA 02111-1307, USA. -+ * -+ */ -+ -+#ifndef __GSD_MOUNT_MANAGER_H -+#define __GSD_MOUNT_MANAGER_H -+ -+#include -+ -+G_BEGIN_DECLS -+ -+#define GSD_TYPE_MOUNT_MANAGER (gsd_mount_manager_get_type ()) -+#define GSD_MOUNT_MANAGER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSD_TYPE_MOUNT_MANAGER, GsdMountManager)) -+#define GSD_MOUNT_MANAGER_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GSD_TYPE_MOUNT_MANAGER, GsdMountManagerClass)) -+#define GSD_IS_MOUNT_MANAGER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSD_TYPE_MOUNT_MANAGER)) -+#define GSD_IS_MOUNT_MANAGER_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GSD_TYPE_MOUNT_MANAGER)) -+#define GSD_MOUNT_MANAGER_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GSD_TYPE_MOUNT_MANAGER, GsdMountManagerClass)) -+ -+typedef struct GsdMountManagerPrivate GsdMountManagerPrivate; -+ -+typedef struct -+{ -+ GObject parent; -+ GsdMountManagerPrivate *priv; -+} GsdMountManager; -+ -+typedef struct -+{ -+ GObjectClass parent_class; -+} GsdMountManagerClass; -+ -+GType gsd_mount_manager_get_type (void); -+ -+GsdMountManager * gsd_mount_manager_new (void); -+ -+gboolean gsd_mount_manager_start (GsdMountManager *manager, -+ GError **error); -+void gsd_mount_manager_stop (GsdMountManager *manager); -+ -+G_END_DECLS -+ -+#endif /* __GSD_MOUNT_MANAGER_H */ -diff --git a/plugins/mount/gsd-mount-plugin.c b/plugins/mount/gsd-mount-plugin.c -new file mode 100644 -index 0000000..af295a5 ---- /dev/null -+++ b/plugins/mount/gsd-mount-plugin.c -@@ -0,0 +1,103 @@ -+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- -+ * -+ * Copyright (C) 2009 Intel Corporation -+ * -+ * This program is free software; you can redistribute it and/or modify it under -+ * the terms of the GNU General Public License as published by the Free Software -+ * Foundation; either version 2, or (at your option) any later version. -+ * -+ * This program is distributed in the hope that it will be useful, but WITHOUT -+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -+ * details. -+ * -+ * You should have received a copy of the GNU General Public License along with -+ * this program; if not, write to the Free Software Foundation, Inc., 59 Temple -+ * Place - Suite 330, Boston, MA 02111-1307, USA. -+ * -+ */ -+ -+#include -+ -+#include -+#include -+#include -+ -+#include "gsd-mount-plugin.h" -+#include "gsd-mount-manager.h" -+ -+struct GsdMountPluginPrivate { -+ GsdMountManager *manager; -+}; -+ -+#define GSD_MOUNT_PLUGIN_GET_PRIVATE(object) (G_TYPE_INSTANCE_GET_PRIVATE ((object), GSD_TYPE_MOUNT_PLUGIN, GsdMountPluginPrivate)) -+ -+GNOME_SETTINGS_PLUGIN_REGISTER (GsdMountPlugin, gsd_mount_plugin) -+ -+static void -+gsd_mount_plugin_init (GsdMountPlugin *plugin) -+{ -+ plugin->priv = GSD_MOUNT_PLUGIN_GET_PRIVATE (plugin); -+ -+ g_debug ("GsdMountPlugin initializing"); -+ -+ plugin->priv->manager = gsd_mount_manager_new (); -+} -+ -+static void -+gsd_mount_plugin_finalize (GObject *object) -+{ -+ GsdMountPlugin *plugin; -+ -+ g_return_if_fail (object != NULL); -+ g_return_if_fail (GSD_IS_MOUNT_PLUGIN (object)); -+ -+ g_debug ("GsdMountPlugin finalizing"); -+ -+ plugin = GSD_MOUNT_PLUGIN (object); -+ -+ g_return_if_fail (plugin->priv != NULL); -+ -+ if (plugin->priv->manager != NULL) { -+ g_object_unref (plugin->priv->manager); -+ } -+ -+ G_OBJECT_CLASS (gsd_mount_plugin_parent_class)->finalize (object); -+} -+ -+static void -+impl_activate (GnomeSettingsPlugin *plugin) -+{ -+ gboolean res; -+ GError *error; -+ -+ g_debug ("Activating mount plugin"); -+ -+ error = NULL; -+ res = gsd_mount_manager_start (GSD_MOUNT_PLUGIN (plugin)->priv->manager, &error); -+ if (! res) { -+ g_warning ("Unable to start mount manager: %s", error->message); -+ g_error_free (error); -+ } -+} -+ -+static void -+impl_deactivate (GnomeSettingsPlugin *plugin) -+{ -+ g_debug ("Deactivating mount plugin"); -+ gsd_mount_manager_stop (GSD_MOUNT_PLUGIN (plugin)->priv->manager); -+} -+ -+static void -+gsd_mount_plugin_class_init (GsdMountPluginClass *klass) -+{ -+ GObjectClass *object_class = G_OBJECT_CLASS (klass); -+ GnomeSettingsPluginClass *plugin_class = GNOME_SETTINGS_PLUGIN_CLASS (klass); -+ -+ object_class->finalize = gsd_mount_plugin_finalize; -+ -+ plugin_class->activate = impl_activate; -+ plugin_class->deactivate = impl_deactivate; -+ -+ g_type_class_add_private (klass, sizeof (GsdMountPluginPrivate)); -+} -diff --git a/plugins/mount/gsd-mount-plugin.h b/plugins/mount/gsd-mount-plugin.h -new file mode 100644 -index 0000000..526a41f ---- /dev/null -+++ b/plugins/mount/gsd-mount-plugin.h -@@ -0,0 +1,55 @@ -+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- -+ * -+ * Copyright (C) 2009 Intel Corporation -+ * -+ * This program is free software; you can redistribute it and/or modify it under -+ * the terms of the GNU General Public License as published by the Free Software -+ * Foundation; either version 2, or (at your option) any later version. -+ * -+ * This program is distributed in the hope that it will be useful, but WITHOUT -+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -+ * details. -+ * -+ * You should have received a copy of the GNU General Public License along with -+ * this program; if not, write to the Free Software Foundation, Inc., 59 Temple -+ * Place - Suite 330, Boston, MA 02111-1307, USA. -+ * -+ */ -+ -+#ifndef __GSD_MOUNT_PLUGIN_H__ -+#define __GSD_MOUNT_PLUGIN_H__ -+ -+#include -+#include -+#include -+ -+G_BEGIN_DECLS -+ -+#define GSD_TYPE_MOUNT_PLUGIN (gsd_mount_plugin_get_type ()) -+#define GSD_MOUNT_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSD_TYPE_MOUNT_PLUGIN, GsdMountPlugin)) -+#define GSD_MOUNT_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GSD_TYPE_MOUNT_PLUGIN, GsdMountPluginClass)) -+#define GSD_IS_MOUNT_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSD_TYPE_MOUNT_PLUGIN)) -+#define GSD_IS_MOUNT_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GSD_TYPE_MOUNT_PLUGIN)) -+#define GSD_MOUNT_PLUGIN_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GSD_TYPE_MOUNT_PLUGIN, GsdMountPluginClass)) -+ -+typedef struct GsdMountPluginPrivate GsdMountPluginPrivate; -+ -+typedef struct -+{ -+ GnomeSettingsPlugin parent; -+ GsdMountPluginPrivate *priv; -+} GsdMountPlugin; -+ -+typedef struct -+{ -+ GnomeSettingsPluginClass parent_class; -+} GsdMountPluginClass; -+ -+GType gsd_mount_plugin_get_type (void) G_GNUC_CONST; -+ -+G_MODULE_EXPORT GType register_gnome_settings_plugin (GTypeModule *module); -+ -+G_END_DECLS -+ -+#endif /* __GSD_MOUNT_PLUGIN_H__ */ -diff --git a/plugins/mount/mount.gnome-settings-plugin.in b/plugins/mount/mount.gnome-settings-plugin.in -new file mode 100644 -index 0000000..ca29ad1 ---- /dev/null -+++ b/plugins/mount/mount.gnome-settings-plugin.in -@@ -0,0 +1,8 @@ -+[GNOME Settings Plugin] -+Module=mount -+IAge=0 -+_Name=Mount -+_Description=Mount removable media -+Authors=Ross Burton -+Copyright=Copyright © 2009 Intel Corporation -+Website= diff --git a/meta/recipes-gnome/gnome/gnome-settings-daemon_2.26.1.bb b/meta/recipes-gnome/gnome/gnome-settings-daemon_2.26.1.bb deleted file mode 100644 index cb216b2753..0000000000 --- a/meta/recipes-gnome/gnome/gnome-settings-daemon_2.26.1.bb +++ /dev/null @@ -1,25 +0,0 @@ -DESCRIPTION = "GNOME settings daemon" -LICENSE = "GPL" -DEPENDS = "libxklavier gnome-doc-utils gtk+ libglade libgnomekbd gnome-desktop librsvg libxml2 libart-lgpl" - -PR = "r3" - -inherit gnome - -SRC_URI += "file://desktop-moblin.patch;patch=1 \ - file://gnome-settings-daemon-fix-gthread.patch;patch=1 \ - file://mount-plugin.patch;patch=1 \ - file://gnome-settings-daemon-2.24.0-catch-deviceadded.patch;patch=1 \ - file://configurefix.patch;patch=1 \ - file://mojito-cleanup.patch;patch=1" - -EXTRA_OECONF = "--disable-esd --x-includes=${STAGING_INCDIR} --x-libraries=${STAGING_LIBDIR}" -ASNEEDED = "" - -FILES_${PN} += "${libdir}/gnome-settings-daemon-2.0/*.so ${libdir}/gnome-settings-daemon-2.0/*plugin \ - ${datadir}/dbus-1/ \ - ${datadir}/icon* \ - ${datadir}/xsession*" - -FILES_${PN}-dbg += "${libdir}/gnome-settings-daemon-2.0/.debug" -FILES_${PN}-dev += "${libdir}/gnome-settings-daemon-2.0/*.a ${libdir}/gnome-settings-daemon-2.0/*.la" diff --git a/meta/recipes-gnome/gnome/gnome-terminal/30f29e7d8e1b67c40cd18a7155ba30c4382692d5.patch b/meta/recipes-gnome/gnome/gnome-terminal/30f29e7d8e1b67c40cd18a7155ba30c4382692d5.patch deleted file mode 100644 index 0358ed8a64..0000000000 --- a/meta/recipes-gnome/gnome/gnome-terminal/30f29e7d8e1b67c40cd18a7155ba30c4382692d5.patch +++ /dev/null @@ -1,20 +0,0 @@ -From 30f29e7d8e1b67c40cd18a7155ba30c4382692d5 Mon Sep 17 00:00:00 2001 -From: Seán de Búrca -Date: Fri, 07 Aug 2009 00:38:52 +0000 -Subject: Remove useless Plural-Forms line which breaks build with gnome-doc-utils master - ---- -diff --git a/help/el/el.po b/help/el/el.po -index ab77264..635b68f 100644 ---- a/help/el/el.po -+++ b/help/el/el.po -@@ -10,7 +10,6 @@ msgstr "" - "MIME-Version: 1.0\n" - "Content-Type: text/plain; charset=UTF-8\n" - "Content-Transfer-Encoding: 8bit\n" --"Plural-Forms: 2\n" - "X-Poedit-Language: Greek\n" - "X-Poedit-Country: GREECE\n" - "X-Generator: Lokalize 0.2\n" --- -cgit v0.8.3.1 diff --git a/meta/recipes-gnome/gnome/gnome-terminal_2.26.3.bb b/meta/recipes-gnome/gnome/gnome-terminal_2.26.3.bb deleted file mode 100644 index 73f0b99eac..0000000000 --- a/meta/recipes-gnome/gnome/gnome-terminal_2.26.3.bb +++ /dev/null @@ -1,16 +0,0 @@ -DESCRIPTION = "GNOME Terminal" -LICENSE = "GPL" -DEPENDS = "gtk+ glib-2.0 startup-notification dbus-glib vte" -PR = "r2" - -inherit gnome - -SRC_URI += "file://30f29e7d8e1b67c40cd18a7155ba30c4382692d5.patch;patch=1" - -EXTRA_OECONF += "--disable-scrollkeeper" - -# Remove an autogenerated file that needs to be rebuilt -do_configure_prepend () { - rm -f ${S}/src/terminal-type-builtins.c -} - diff --git a/meta/recipes-gnome/gnome/libgnomecanvas_2.20.0.bb b/meta/recipes-gnome/gnome/libgnomecanvas_2.20.0.bb deleted file mode 100644 index 266d44b050..0000000000 --- a/meta/recipes-gnome/gnome/libgnomecanvas_2.20.0.bb +++ /dev/null @@ -1,14 +0,0 @@ -LICENSE = "GPL" -SECTION = "x11/gnome/libs" -DESCRIPTION = "A powerful object-oriented display" -PR = "r2" - -inherit gnome - -DEPENDS = "libglade libart-lgpl virtual/gail" - -EXTRA_OECONF = "--disable-gtk-doc" - -FILES_${PN} += "${libdir}/libglade/*/libcanvas.so" -FILES_${PN}-dbg += "${libdir}/libglade/*/.debug/" -FILES_${PN}-dev += "${libdir}/libglade/*/libcanvas.*a" diff --git a/meta/recipes-gnome/gnome/libgnomekbd_2.26.0.bb b/meta/recipes-gnome/gnome/libgnomekbd_2.26.0.bb deleted file mode 100644 index f2e4ec533e..0000000000 --- a/meta/recipes-gnome/gnome/libgnomekbd_2.26.0.bb +++ /dev/null @@ -1,14 +0,0 @@ -DESCRIPTION = "GNOME keyboard library" -LICENSE = "LGPL" - -DEPENDS = "gconf-dbus dbus libxklavier gtk+" - -inherit gnome - -do_configure_append() { - find ${S} -name Makefile | xargs sed -i s:'-I$(includedir)':'-I.':g - find ${S} -name Makefile | xargs sed -i s:'-I/usr/include':'-I${STAGING_INCDIR}':g -} - - - diff --git a/meta/recipes-gnome/gthumb/gthumb_2.12.0.bb b/meta/recipes-gnome/gthumb/gthumb_2.12.0.bb new file mode 100644 index 0000000000..f6755b0f6f --- /dev/null +++ b/meta/recipes-gnome/gthumb/gthumb_2.12.0.bb @@ -0,0 +1,12 @@ +DESCRIPTION = "gThumb is an image viewer and browser for the GNOME Desktop" +SECTION = "x11/gnome" +LICENSE = "GPLv2" +DEPENDS = "glib-2.0 gtk+ libxml2 gnome-doc-utils libunique gconf-dbus libpng gstreamer jpeg tiff" +PR = "r1" + +EXTRA_OECONF = "--disable-gnome-keyring --disable-libsoup --disable-exiv2 --disable-clutter" + +inherit gnome pkgconfig + +FILES_${PN} += "${datadir}/icons" +FILES_${PN}-dbg += "${libdir}/gthumb/modules/.debug" diff --git a/meta/recipes-gnome/libgsf/libgsf_1.14.5.bb b/meta/recipes-gnome/libgsf/libgsf_1.14.5.bb deleted file mode 100644 index 10b6390722..0000000000 --- a/meta/recipes-gnome/libgsf/libgsf_1.14.5.bb +++ /dev/null @@ -1,20 +0,0 @@ -LICENSE = "GPL" -SECTION = "libs" -PR = "r0" - -DEPENDS= "libxml2 bzip2 glib-2.0 zlib" -RDEPENDS = "gconf gnome-vfs" - - -PACKAGES =+ "${PN}-gnome ${PN}-gnome-dev " - -FILES_${PN}-gnome = "${libdir}/libgsf-gnome-1.so.*" -FILES_${PN}-gnome-dev = "${libdir}/libgsf-gnome-1.* ${includedir}/libgsf-1/gsf-gnome" - -inherit autotools pkgconfig gnome gconf - -EXTRA_OECONF = "\ - --without-python \ - --without-gnome \ - --disable-gtk-doc \ - --with-bz2" diff --git a/meta/recipes-gnome/libgtkstylus/files/gtkstylus.sh b/meta/recipes-gnome/libgtkstylus/files/gtkstylus.sh deleted file mode 100644 index b1302ede0e..0000000000 --- a/meta/recipes-gnome/libgtkstylus/files/gtkstylus.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -GTK_MODULES=libgtkstylus.so - -export GTK_MODULES diff --git a/meta/recipes-gnome/libgtkstylus/libgtkstylus_0.5.bb b/meta/recipes-gnome/libgtkstylus/libgtkstylus_0.5.bb deleted file mode 100644 index f614048a16..0000000000 --- a/meta/recipes-gnome/libgtkstylus/libgtkstylus_0.5.bb +++ /dev/null @@ -1,24 +0,0 @@ -DESCRIPTION = "GTK plugin for stylus based systems" -SECTION = "libs" -DEPENDS = "gtk+" -LICENSE = "LGPL" -PR = "r2" - -inherit autotools - -SRC_URI = "http://burtonini.com/temp/${PN}-${PV}.tar.gz \ - file://gtkstylus.sh" - -do_install_append() { - install -d ${D}/${sysconfdir}/X11/Xsession.d - install -m 755 ${WORKDIR}/gtkstylus.sh ${D}/${sysconfdir}/X11/Xsession.d/45gtkstylus -} - -# Horrible but rpm falls over if you use '*' -GTKVER = "2.10.0" - -FILES_${PN} = "${sysconfdir} \ - ${libdir}/gtk-2.0/${GTKVER}/modules/libgtkstylus.so.*" -FILES_${PN}-dbg += "${libdir}/gtk-2.0/${GTKVER}/modules/.debug" -FILES_${PN}-dev += "${libdir}/gtk-2.0/${GTKVER}/modules/libgtkstylus.so \ - ${libdir}/gtk-2.0/${GTKVER}/modules/libgtkstylus.*a" diff --git a/meta/recipes-gnome/libunique/libunique_1.1.6.bb b/meta/recipes-gnome/libunique/libunique_1.1.6.bb new file mode 100644 index 0000000000..964da579c1 --- /dev/null +++ b/meta/recipes-gnome/libunique/libunique_1.1.6.bb @@ -0,0 +1,10 @@ +SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/libunique/1.1/libunique-${PV}.tar.bz2" +PR = "r1" + +DEPENDS = "glib-2.0 gtk+ dbus" + +LICENSE = "LGPLv2.1" + +#S = "${WORKDIR}/unique-${PV}" + +inherit autotools diff --git a/meta/recipes-gnome/tasks/task-sdk-gmae.inc b/meta/recipes-gnome/tasks/task-sdk-gmae.inc index 2a0e091693..0ab0b6ede8 100644 --- a/meta/recipes-gnome/tasks/task-sdk-gmae.inc +++ b/meta/recipes-gnome/tasks/task-sdk-gmae.inc @@ -12,6 +12,21 @@ SDK-GMAE = " \ libebook-dev \ libxi-dev \ libsqlite3-dev \ + galago-daemon \ + gnome-desktop \ + gssdp \ + gupnp \ + gupnp-av \ + gupnp-tools \ + gypsy \ + libart-lgpl \ + libgalago \ + libtelepathy \ + pulseaudio \ + telepathy-glib \ + telepathy-idle \ + telepathy-mission-control \ + telepathy-python \ " # TODO: gvfs-dev, mission-control diff --git a/meta/recipes-gnome/wv/wv-1.2.0/pkgconfig.patch b/meta/recipes-gnome/wv/wv-1.2.0/pkgconfig.patch deleted file mode 100644 index 136d89341f..0000000000 --- a/meta/recipes-gnome/wv/wv-1.2.0/pkgconfig.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: wv-1.2.0/wv-1.0.pc.in -=================================================================== ---- wv-1.2.0.orig/wv-1.0.pc.in 2008-03-19 22:25:18.000000000 +0000 -+++ wv-1.2.0/wv-1.0.pc.in 2008-03-19 22:26:32.000000000 +0000 -@@ -6,5 +6,6 @@ - Name: wvWare - Description: Word Document Filter library and utilities - Version: @VERSION@ --Libs: -L${libdir} -lwv @WMF_LIBS@ @XML_LIBS@ @GLIB_LIBS@ @GSF_LIBS@ @PNG_LIBS@ @ZLIB_LIBS@ @LIBS@ -lm --Cflags: -I${includedir}/wv @GSF_CFLAGS@ -+Requires: libgsf-1 -+Libs: -L${libdir} -lwv @WMF_LIBS@ @XML_LIBS@ @PNG_LIBS@ @ZLIB_LIBS@ @LIBS@ -lm -+Cflags: -I${includedir}/wv diff --git a/meta/recipes-gnome/wv/wv_1.2.0.bb b/meta/recipes-gnome/wv/wv_1.2.0.bb deleted file mode 100644 index c4c115b90e..0000000000 --- a/meta/recipes-gnome/wv/wv_1.2.0.bb +++ /dev/null @@ -1,14 +0,0 @@ -DESCRIPTION = "Programs for accessing Microsoft Word documents" -HOMEPAGE = "http://wvware.sourceforge.net/" -LICENSE = "GPLv2" -DEPENDS = "libgsf glib-2.0" -PR = "r3" - -SRC_URI = "${SOURCEFORGE_MIRROR}/wvware/wv-${PV}.tar.gz \ - file://pkgconfig.patch;patch=1" - -inherit autotools pkgconfig - -S = "${WORKDIR}/${PN}-${PV}" - -EXTRA_OECONF = "" diff --git a/meta/recipes-graphics/clutter/aaina.inc b/meta/recipes-graphics/clutter/aaina.inc deleted file mode 100644 index afbc022cdb..0000000000 --- a/meta/recipes-graphics/clutter/aaina.inc +++ /dev/null @@ -1,7 +0,0 @@ -DESCRIPTION = "Aaina Clutter Demo" -HOMEPAGE = "http://www.clutter-project.org/" -LICENSE = "GPL" - -DEPENDS = "clutter-0.6 libxml2 gtk+ neon" - -inherit autotools pkgconfig diff --git a/meta/recipes-graphics/clutter/aaina_git.bb b/meta/recipes-graphics/clutter/aaina_git.bb deleted file mode 100644 index a348cd3d4d..0000000000 --- a/meta/recipes-graphics/clutter/aaina_git.bb +++ /dev/null @@ -1,7 +0,0 @@ -require aaina.inc - -PV = "0.3.0+git${SRCPV}" - -SRC_URI = "git://git.clutter-project.org/toys.git;protocol=git" - -S = "${WORKDIR}/git/aaina" diff --git a/meta/recipes-graphics/clutter/clutter-0.6_git.bb b/meta/recipes-graphics/clutter/clutter-0.6_git.bb deleted file mode 100644 index 5a8ccec164..0000000000 --- a/meta/recipes-graphics/clutter/clutter-0.6_git.bb +++ /dev/null @@ -1,15 +0,0 @@ -require clutter.inc - -PV = "0.6.0+gitr${SRCPV}" -PR = "r5" - -PACKAGES =+ "clutter-examples-0.6" -FILES_clutter-examples-0.6 = "${bindir}/test-* ${pkgdatadir}/redhand.png" - - -SRC_URI = "git://git.clutter-project.org/clutter.git;protocol=git;branch=clutter-0-6 \ - file://symconflict.patch;patch=1 \ - file://enable_tests-0.6.patch;patch=1 " - -S = "${WORKDIR}/git" - diff --git a/meta/recipes-graphics/clutter/clutter-0.8_git.bb b/meta/recipes-graphics/clutter/clutter-0.8_git.bb deleted file mode 100644 index 71e6198030..0000000000 --- a/meta/recipes-graphics/clutter/clutter-0.8_git.bb +++ /dev/null @@ -1,13 +0,0 @@ -require clutter.inc - -PV = "0.8.0+gitr${SRCREV}" -PR = "r2" - -PACKAGES =+ "clutter-examples-0.8" -FILES_clutter-examples-0.8 = "${bindir}/test-* ${pkgdatadir}/redhand.png" - -SRC_URI = "git://git.clutter-project.org/clutter.git;protocol=git;branch=clutter-0-8 \ - file://enable_tests-0.8.patch;patch=1 \ - file://build-fix.patch;patch=1" - -S = "${WORKDIR}/git" diff --git a/meta/recipes-graphics/clutter/clutter-box2d.inc b/meta/recipes-graphics/clutter/clutter-box2d.inc index 1a107c3993..08861958cd 100644 --- a/meta/recipes-graphics/clutter/clutter-box2d.inc +++ b/meta/recipes-graphics/clutter/clutter-box2d.inc @@ -2,7 +2,7 @@ DESCRIPTION = "Clutter Box2D" HOMEPAGE = "http://www.clutter-project.org/" LICENSE = "GPLv2" -DEPENDS = "clutter-0.8" +DEPENDS = "clutter-1.0" # The main clutter lib is machine specific so we need to be too PACKAGE_ARCH = "${MACHINE_ARCH}" diff --git a/meta/recipes-graphics/clutter/clutter-cairo-0.6_git.bb b/meta/recipes-graphics/clutter/clutter-cairo-0.6_git.bb deleted file mode 100644 index 3b7f6a9be5..0000000000 --- a/meta/recipes-graphics/clutter/clutter-cairo-0.6_git.bb +++ /dev/null @@ -1,13 +0,0 @@ -require clutter-cairo.inc - -PV = "0.6.0+git${SRCREV}" -PR = "r1" - -DEPENDS += "clutter-0.6" - -SRC_URI = "git://git.clutter-project.org/clutter-cairo.git;protocol=git;branch=clutter-cairo-0-6 \ - file://enable_examples-0.6.patch;patch=1" - -S = "${WORKDIR}/git" - - diff --git a/meta/recipes-graphics/clutter/clutter-cairo-0.8_git.bb b/meta/recipes-graphics/clutter/clutter-cairo-0.8_git.bb deleted file mode 100644 index cb8482b742..0000000000 --- a/meta/recipes-graphics/clutter/clutter-cairo-0.8_git.bb +++ /dev/null @@ -1,12 +0,0 @@ -require clutter-cairo.inc - -PV = "0.8.0+git${SRCPV}" - -DEPENDS += "clutter-0.8" - -SRC_URI = "git://git.clutter-project.org/clutter-cairo.git;protocol=git;branch=clutter-cairo-0-8 \ - file://enable_examples.patch;patch=1" - -S = "${WORKDIR}/git" - - diff --git a/meta/recipes-graphics/clutter/clutter-gst-0.10_git.bb b/meta/recipes-graphics/clutter/clutter-gst-0.10_git.bb deleted file mode 100644 index a0f874db25..0000000000 --- a/meta/recipes-graphics/clutter/clutter-gst-0.10_git.bb +++ /dev/null @@ -1,14 +0,0 @@ -require clutter-gst.inc - -PV = "0.10.0+git${SRCPV}" - -DEPENDS += "clutter-1.0" - -SRC_URI = "git://git.clutter-project.org/clutter-gst.git;protocol=git;branch=clutter-gst-0.10" - -S = "${WORKDIR}/git" - -do_configure_prepend () { - # Disable DOLT - sed -i -e 's/^DOLT//' ${S}/configure.ac -} diff --git a/meta/recipes-graphics/clutter/clutter-gst-0.6_git.bb b/meta/recipes-graphics/clutter/clutter-gst-0.6_git.bb deleted file mode 100644 index 09979f9e0c..0000000000 --- a/meta/recipes-graphics/clutter/clutter-gst-0.6_git.bb +++ /dev/null @@ -1,9 +0,0 @@ -require clutter-gst.inc - -PV = "0.6.0+git${SRCPV}" - -DEPENDS += "clutter-0.6" - -SRC_URI = "git://git.clutter-project.org/clutter-gst.git;protocol=git;branch=clutter-gst-0-6" - -S = "${WORKDIR}/git" diff --git a/meta/recipes-graphics/clutter/clutter-gst-0.8_git.bb b/meta/recipes-graphics/clutter/clutter-gst-0.8_git.bb deleted file mode 100644 index c5348ecefe..0000000000 --- a/meta/recipes-graphics/clutter/clutter-gst-0.8_git.bb +++ /dev/null @@ -1,9 +0,0 @@ -require clutter-gst.inc - -PV = "0.8.0+git${SRCPV}" - -DEPENDS += "clutter-0.8" - -SRC_URI = "git://git.clutter-project.org/clutter-gst.git;protocol=git;branch=clutter-gst-0-8" - -S = "${WORKDIR}/git" diff --git a/meta/recipes-graphics/clutter/clutter-gtk-0.10_git.bb b/meta/recipes-graphics/clutter/clutter-gtk-0.10_git.bb deleted file mode 100644 index d0613277a7..0000000000 --- a/meta/recipes-graphics/clutter/clutter-gtk-0.10_git.bb +++ /dev/null @@ -1,12 +0,0 @@ -require clutter-gtk.inc - -PV = "0.10.3+git${SRCPV}" -PR = "r1" - -SRC_URI = "git://git.clutter-project.org/clutter-gtk.git;protocol=git;branch=clutter-gtk-0.10" - -S = "${WORKDIR}/git" - -DEPENDS += "clutter-1.0" - -EXTRA_OECONF += "--disable-introspection" diff --git a/meta/recipes-graphics/clutter/clutter-gtk-0.6_git.bb b/meta/recipes-graphics/clutter/clutter-gtk-0.6_git.bb deleted file mode 100644 index d2633ff2d4..0000000000 --- a/meta/recipes-graphics/clutter/clutter-gtk-0.6_git.bb +++ /dev/null @@ -1,9 +0,0 @@ -require clutter-gtk.inc - -PV = "0.6.0+git${SRCPV}" - -DEPENDS += "clutter-0.6" - -SRC_URI = "git://git.clutter-project.org/clutter-gtk.git;protocol=git;branch=clutter-gtk-0-6" - -S = "${WORKDIR}/git" diff --git a/meta/recipes-graphics/clutter/clutter-gtk-0.8_git.bb b/meta/recipes-graphics/clutter/clutter-gtk-0.8_git.bb deleted file mode 100644 index 506d3fb156..0000000000 --- a/meta/recipes-graphics/clutter/clutter-gtk-0.8_git.bb +++ /dev/null @@ -1,9 +0,0 @@ -require clutter-gtk.inc - -PV = "0.8.0+git${SRCPV}" - -DEPENDS += "clutter-0.8" - -SRC_URI = "git://git.clutter-project.org/clutter-gtk.git;protocol=git;branch=clutter-gtk-0-8" - -S = "${WORKDIR}/git" diff --git a/meta/recipes-graphics/clutter/table/fixes.patch b/meta/recipes-graphics/clutter/table/fixes.patch deleted file mode 100644 index a7cdc43713..0000000000 --- a/meta/recipes-graphics/clutter/table/fixes.patch +++ /dev/null @@ -1,14 +0,0 @@ -Index: table/Makefile -=================================================================== ---- table.orig/Makefile 2007-07-10 13:24:18.000000000 +0100 -+++ table/Makefile 2007-07-10 13:28:10.000000000 +0100 -@@ -8,7 +8,7 @@ all: table - - - table: table.o clutter-dominatrix.o clutter-video-player.o -- $(CC) -g -Wall $(CFLAGS) -o $@ table.o clutter-dominatrix.o clutter-video-player.o $(LIBS) -+ $(CC) -g -Wall $(CFLAGS) $(LDFLAGS) -o $@ table.o clutter-dominatrix.o clutter-video-player.o $(LIBS) - - clean: - rm -fr *.o table -\ No newline at end of file diff --git a/meta/recipes-graphics/clutter/tidy.inc b/meta/recipes-graphics/clutter/tidy.inc index 3fa387c049..7d5862b18f 100644 --- a/meta/recipes-graphics/clutter/tidy.inc +++ b/meta/recipes-graphics/clutter/tidy.inc @@ -2,7 +2,7 @@ DESCRIPTION = "Tidy library" HOMEPAGE = "http://www.clutter-project.org/" LICENSE = "LGPL" -STDDEPENDS = "clutter-0.8" +STDDEPENDS = "clutter-1.0" BASE_CONF = "--disable-gtk-doc" DEPENDS = "${STDDEPENDS}" diff --git a/meta/recipes-graphics/libxklavier/libxklavier/pkgconfigfix.patch b/meta/recipes-graphics/libxklavier/libxklavier/pkgconfigfix.patch deleted file mode 100644 index 4aaafb2b1e..0000000000 --- a/meta/recipes-graphics/libxklavier/libxklavier/pkgconfigfix.patch +++ /dev/null @@ -1,15 +0,0 @@ -Index: libxklavier-3.7/libxklavier.pc.in -=================================================================== ---- libxklavier-3.7.orig/libxklavier.pc.in 2009-06-10 15:58:46.000000000 +0100 -+++ libxklavier-3.7/libxklavier.pc.in 2009-06-10 16:00:45.000000000 +0100 -@@ -5,7 +5,7 @@ - - Name: libxklavier - Description: libxklavier library --Requires: libxml-2.0 -+Requires: libxml-2.0 glib-2.0 - Version: @VERSION@ --Libs: -L${libdir} -lxklavier @GLIB_LIBS@ @XML_LIBS@ --Cflags: -I${includedir} @GLIB_CFLAGS@ -+Libs: -L${libdir} -lxklavier -+Cflags: -I${includedir} diff --git a/meta/recipes-graphics/libxklavier/libxklavier_3.9.bb b/meta/recipes-graphics/libxklavier/libxklavier_3.9.bb deleted file mode 100644 index 1d9b6f21a4..0000000000 --- a/meta/recipes-graphics/libxklavier/libxklavier_3.9.bb +++ /dev/null @@ -1,12 +0,0 @@ -DESCRIPTION = "Utility library to make using XKB easier" -SECTION = "x11/libs" -PRIORITY = "optional" -DEPENDS = "iso-codes libxml2 glib-2.0 libxkbfile" -LICENSE = "LGPL" -PR = "r2" - -SRC_URI = "${SOURCEFORGE_MIRROR}/gswitchit/libxklavier-${PV}.tar.bz2 \ - file://pkgconfigfix.patch;patch=1" - -inherit autotools - diff --git a/meta/recipes-graphics/pong-clock/pong-clock/pong-clock-no-flicker.c b/meta/recipes-graphics/pong-clock/pong-clock/pong-clock-no-flicker.c deleted file mode 100644 index 41cebc58a7..0000000000 --- a/meta/recipes-graphics/pong-clock/pong-clock/pong-clock-no-flicker.c +++ /dev/null @@ -1,410 +0,0 @@ -/* - * Pong Clock - A clock that plays pong. - * See http://mocoloco.com/archives/001766.php for the inspiration. - * - * Copyright (C) 2005 Matthew Allum - * - * Author: Matthew Allum mallum@openedhand.com - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - */ - -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -/* Tweak values for different hw setups */ - -#define FPS 50 -#define RESX 40 -#define RESY 40 -#define TO_MISS_SECS 55 -#define BALLDX 16 -#define BALLDY 4 - - -typedef struct PongClock -{ - Display *xdpy; - int xscreen; - Window xwin, xwin_root; - Pixmap backbuffer; - GC xgc; - int xwin_width, xwin_height; - int pixelw, pixelh; - - int ball_x, ball_y, ball_dx, ball_dy; - int bata_y, batb_y; - Bool bata_to_miss, batb_to_miss; - -} -PongClock; - -void -get_time(int *hour, int *min, int *sec) -{ - struct timeval tv; - struct tm *localTime = NULL; - time_t actualTime; - - gettimeofday(&tv, 0); - actualTime = tv.tv_sec; - localTime = localtime(&actualTime); - - if (hour) - *hour = localTime->tm_hour; - - if (min) - *min = localTime->tm_min; - - if (sec) - *sec = localTime->tm_sec; -} - -void -draw_rect (PongClock *pong_clock, - int x, - int y, - int width, - int height) -{ - XFillRectangle (pong_clock->xdpy, - pong_clock->backbuffer, - pong_clock->xgc, - x * pong_clock->pixelw, - y * pong_clock->pixelh, - width * pong_clock->pixelw, - height * pong_clock->pixelh); -} - -void -draw_field (PongClock *pong_clock) -{ - int i; - - draw_rect (pong_clock, 0, 0, RESX+1, 1); - draw_rect (pong_clock, 0, RESY-1, RESX+1, 1); - - for (i=0; i < RESY/2; i++) - draw_rect (pong_clock, (RESX/2)-1, i*2, 2, 1); -} - -void -draw_digit (PongClock *pong_clock, - int x, - int y, - int digit) -{ - int digits[] = { 0x1f8c63f, 0x1f21086, 0x1f0fe1f, 0x1f87e1f, 0x1087e31, - 0x1f87c3f, 0x1f8fc3f, 0x84421f, 0x1f8fe3f, 0x1087e3f }; - - XRectangle rects[5*5]; - int i,j,k; - - i = 0; - - for (k=0; k<5; k++) - for (j=0; j<5; j++) - if (digits[digit] & (1 << ((k*5)+j))) - { - rects[i].x = (x + j) * pong_clock->pixelw; - rects[i].y = (y + k) * pong_clock->pixelh; - rects[i].width = pong_clock->pixelw; - rects[i].height = pong_clock->pixelh; - i++; - } - - XFillRectangles (pong_clock->xdpy, - pong_clock->backbuffer, - pong_clock->xgc, - rects, i); -} - -void -draw_time (PongClock *pong_clock) -{ - int hour, min; - - get_time(&hour, &min, NULL); - - draw_digit (pong_clock, - (RESX/2) - 14, - 5, - hour / 10 ); - - draw_digit (pong_clock, - (RESX/2) - 8, - 5, - hour % 10 ); - - draw_digit (pong_clock, - (RESX/2) + 3, - 5, - min / 10 ); - - draw_digit (pong_clock, - (RESX/2) + 9, - 5, - min % 10 ); -} - -void -draw_bat_and_ball (PongClock *pong_clock) -{ - /* ball */ - - XFillRectangle (pong_clock->xdpy, - pong_clock->backbuffer, - pong_clock->xgc, - pong_clock->ball_x, - pong_clock->ball_y, - pong_clock->pixelw, - pong_clock->pixelh); - - /* bat a */ - - XFillRectangle (pong_clock->xdpy, - pong_clock->backbuffer, - pong_clock->xgc, - 0, - pong_clock->bata_y - (2 * pong_clock->pixelh), - pong_clock->pixelw, - pong_clock->pixelh * 5); - - /* bat b */ - - XFillRectangle (pong_clock->xdpy, - pong_clock->backbuffer, - pong_clock->xgc, - (pong_clock->xwin_width - pong_clock->pixelw), - pong_clock->batb_y - (2 * pong_clock->pixelh), - pong_clock->pixelw, - pong_clock->pixelh * 5); - -} - -void -update_state (PongClock *pong_clock) -{ - int sec, min, hour; - - get_time(&hour, &min, &sec); - - /* Check ball is on field and no ones dues to miss a shot. - */ - if ( (pong_clock->ball_x < 0 && !pong_clock->bata_to_miss) - || (pong_clock->ball_x > (pong_clock->xwin_width - pong_clock->pixelw) - && !pong_clock->batb_to_miss) ) - pong_clock->ball_dx *= -1; - - if ((pong_clock->ball_y < pong_clock->pixelh) - || pong_clock->ball_y > (pong_clock->xwin_height - (2*pong_clock->pixelh))) - pong_clock->ball_dy *= -1; - - pong_clock->ball_x += pong_clock->ball_dx; - pong_clock->ball_y += pong_clock->ball_dy; - - /* Set up someone to miss if we getting close to an hour or min. - */ - if (sec > TO_MISS_SECS) - { - if (min == 59) - pong_clock->batb_to_miss = True; - else - pong_clock->bata_to_miss = True; - } - else - { - /* Reset the game */ - if (pong_clock->bata_to_miss) - { - pong_clock->bata_to_miss = False; - pong_clock->ball_y = pong_clock->bata_y; - pong_clock->ball_x = pong_clock->pixelw; - pong_clock->ball_dx *= -1; - } - - if (pong_clock->batb_to_miss) - { - pong_clock->batb_to_miss = False; - pong_clock->ball_y = pong_clock->batb_y; - pong_clock->ball_x = pong_clock->xwin_width - pong_clock->pixelw; - pong_clock->ball_dx *= -1; - } - } - - /* Keep bats on field and only move in not setup to miss */ - if (pong_clock->ball_y >= (3*pong_clock->pixelh) - && pong_clock->ball_y <= (pong_clock->xwin_height - (5*pong_clock->pixelh))) - { - if (!pong_clock->batb_to_miss) - pong_clock->batb_y = pong_clock->ball_y; - - if (!pong_clock->bata_to_miss) - pong_clock->bata_y = pong_clock->ball_y; - } -} - -void -draw_frame (PongClock *pong_clock) -{ - update_state (pong_clock); - - /* Clear playfield */ - XSetForeground (pong_clock->xdpy, - pong_clock->xgc, - BlackPixel(pong_clock->xdpy, - pong_clock->xscreen)); - - XFillRectangle (pong_clock->xdpy, - pong_clock->backbuffer, - pong_clock->xgc, - 0, 0, - pong_clock->xwin_width, - pong_clock->xwin_height); - - XSetForeground (pong_clock->xdpy, - pong_clock->xgc, - WhitePixel(pong_clock->xdpy, - pong_clock->xscreen)); - - draw_field (pong_clock); - - draw_time (pong_clock); - - draw_bat_and_ball (pong_clock); - - /* flip 'backbuffer' */ - XSetWindowBackgroundPixmap (pong_clock->xdpy, - pong_clock->xwin, - pong_clock->backbuffer); - XClearWindow(pong_clock->xdpy, pong_clock->xwin); - - XSync(pong_clock->xdpy, False); -} - -int -main (int argc, char **argv) -{ - XGCValues gcv; - Atom atoms_WINDOW_STATE, atoms_WINDOW_STATE_FULLSCREEN; - PongClock *pong_clock; - - pong_clock = malloc(sizeof(PongClock)); - memset(pong_clock, 0, sizeof(PongClock)); - - if ((pong_clock->xdpy = XOpenDisplay(getenv("DISPLAY"))) == NULL) { - fprintf(stderr, "Cannot connect to X server on display %s.", - getenv("DISPLAY")); - exit(-1); - } - - pong_clock->xscreen = DefaultScreen(pong_clock->xdpy); - pong_clock->xwin_root = DefaultRootWindow(pong_clock->xdpy); - pong_clock->xwin_width = DisplayWidth(pong_clock->xdpy, - pong_clock->xscreen); - pong_clock->xwin_height = DisplayHeight(pong_clock->xdpy, - pong_clock->xscreen); - - pong_clock->pixelw = pong_clock->xwin_width / RESX; - pong_clock->pixelh = pong_clock->xwin_height / RESY; - - pong_clock->ball_x = 0; - pong_clock->ball_y = pong_clock->xwin_height / 2; - - pong_clock->ball_dx = BALLDX; - pong_clock->ball_dy = BALLDY; - - pong_clock->batb_y = pong_clock->bata_y = pong_clock->ball_y; - - gcv.background = BlackPixel(pong_clock->xdpy, - pong_clock->xscreen); - gcv.foreground = WhitePixel(pong_clock->xdpy, - pong_clock->xscreen); - gcv.graphics_exposures = False; - - pong_clock->xgc = XCreateGC (pong_clock->xdpy, pong_clock->xwin_root, - GCForeground|GCBackground|GCGraphicsExposures, - &gcv); - - atoms_WINDOW_STATE - = XInternAtom(pong_clock->xdpy, "_NET_WM_STATE",False); - atoms_WINDOW_STATE_FULLSCREEN - = XInternAtom(pong_clock->xdpy, "_NET_WM_STATE_FULLSCREEN",False); - - pong_clock->xwin = XCreateSimpleWindow(pong_clock->xdpy, - pong_clock->xwin_root, - 0, 0, - pong_clock->xwin_width, - pong_clock->xwin_height, - 0, - WhitePixel(pong_clock->xdpy, - pong_clock->xscreen), - BlackPixel(pong_clock->xdpy, - pong_clock->xscreen)); - - pong_clock->backbuffer = XCreatePixmap(pong_clock->xdpy, - pong_clock->xwin_root, - pong_clock->xwin_width, - pong_clock->xwin_height, - DefaultDepth(pong_clock->xdpy, - pong_clock->xscreen)); - - XSelectInput(pong_clock->xdpy, pong_clock->xwin, KeyPressMask); - - - /* Set the hints for fullscreen */ - XChangeProperty(pong_clock->xdpy, - pong_clock->xwin, - atoms_WINDOW_STATE, - XA_ATOM, - 32, - PropModeReplace, - (unsigned char *) &atoms_WINDOW_STATE_FULLSCREEN, 1); - - XMapWindow(pong_clock->xdpy, pong_clock->xwin); - - while (True) - { - struct timeval timeout; - XEvent xev; - - timeout.tv_sec = 0; - timeout.tv_usec = 1000000 / FPS; - select (0, NULL, NULL, NULL, &timeout); - - draw_frame (pong_clock); - - XFlush(pong_clock->xdpy); - - if (XPending(pong_clock->xdpy)) - { - if (XCheckMaskEvent(pong_clock->xdpy, - KeyPressMask, - &xev)) - exit(-1); - } - } -} diff --git a/meta/recipes-graphics/pong-clock/pong-clock_1.0.bb b/meta/recipes-graphics/pong-clock/pong-clock_1.0.bb deleted file mode 100644 index 8d3659ff91..0000000000 --- a/meta/recipes-graphics/pong-clock/pong-clock_1.0.bb +++ /dev/null @@ -1,16 +0,0 @@ -DESCRIPTION = "A clock combined with a game of pong" -LICENSE = "GPLv2+" -DEPENDS = "virtual/libx11 xdmcp xau" - -SRC_URI = "file://pong-clock-no-flicker.c" - -S = "${WORKDIR}" - -do_compile () { - ${CC} -o pong-clock pong-clock-no-flicker.c `pkg-config --cflags --libs x11 xau xdmcp` -} - -do_install () { - install -d ${D}${bindir} - install -m 0755 pong-clock ${D}${bindir} -} diff --git a/meta/recipes-graphics/tasks/task-poky-clutter.bb b/meta/recipes-graphics/tasks/task-poky-clutter.bb index ae72bb0c37..153ba9cbf0 100644 --- a/meta/recipes-graphics/tasks/task-poky-clutter.bb +++ b/meta/recipes-graphics/tasks/task-poky-clutter.bb @@ -21,17 +21,15 @@ PACKAGES = "\ ALLOW_EMPTY = "1" RDEPENDS_task-poky-clutter-core = "\ - clutter-0.8 \ - clutter-cairo-0.8 \ - clutter-gst-0.8 \ - clutter-gtk-0.8" + clutter-1.0 \ + clutter-cairo-1.0 \ + clutter-gst-1.0 \ + clutter-gtk-1.0" RDEPENDS_task-poky-clutter-tests = "\ - clutter-cairo-0.8-examples \ - clutter-gst-0.8-examples \ - clutter-gtk-0.8-examples" + clutter-cairo-1.0-examples \ + clutter-gst-1.0-examples \ + clutter-gtk-1.0-examples" RDEPENDS_task-poky-clutter-apps = "\ - aaina \ - clutter-box2d \ - table" + clutter-box2d " diff --git a/meta/recipes-graphics/xorg-app/xbacklight_1.1.bb b/meta/recipes-graphics/xorg-app/xbacklight_1.1.bb deleted file mode 100644 index 78804d734e..0000000000 --- a/meta/recipes-graphics/xorg-app/xbacklight_1.1.bb +++ /dev/null @@ -1,4 +0,0 @@ -require xorg-app-common.inc - -DESCRIPTION = "X Backlight Utility" -DEPENDS += "libxrender libxrandr" diff --git a/meta/recipes-graphics/xorg-app/xev/diet-x11.patch b/meta/recipes-graphics/xorg-app/xev/diet-x11.patch deleted file mode 100644 index 9f515e8c73..0000000000 --- a/meta/recipes-graphics/xorg-app/xev/diet-x11.patch +++ /dev/null @@ -1,80 +0,0 @@ ---- - xev.c | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -Index: xev-1.0.2/xev.c -=================================================================== ---- xev-1.0.2.orig/xev.c 2006-06-02 00:25:44.000000000 +0100 -+++ xev-1.0.2/xev.c 2007-05-10 15:22:07.000000000 +0100 -@@ -109,7 +109,7 @@ do_KeyPress (XEvent *eventp) - nbytes = XLookupString (e, str, 256, &ks, NULL); - - /* not supposed to call XmbLookupString on a key release event */ -- if (e->type == KeyPress && xic) { -+ /*if (e->type == KeyPress && xic) { - do { - nmbbytes = XmbLookupString (xic, e, buf, bsize - 1, &ks, &status); - buf[nmbbytes] = '\0'; -@@ -119,7 +119,7 @@ do_KeyPress (XEvent *eventp) - buf = realloc (buf, bsize); - } - } while (status == XBufferOverflow); -- } -+ }*/ - - if (ks == NoSymbol) - ksname = "NoSymbol"; -@@ -149,7 +149,7 @@ do_KeyPress (XEvent *eventp) - } - - /* not supposed to call XmbLookupString on a key release event */ -- if (e->type == KeyPress && xic) { -+ /*if (e->type == KeyPress && xic) { - printf (" XmbLookupString gives %d bytes: ", nmbbytes); - if (nmbbytes > 0) { - dump (buf, nmbbytes); -@@ -157,7 +157,7 @@ do_KeyPress (XEvent *eventp) - } else { - printf ("\n"); - } -- } -+ } */ - - printf (" XFilterEvent returns: %s\n", - XFilterEvent (eventp, e->window) ? "True" : "False"); -@@ -804,7 +804,7 @@ main (int argc, char **argv) - fprintf (stderr, "%s: XSetLocaleModifiers failed\n", ProgramName); - } - -- xim = XOpenIM (dpy, NULL, NULL, NULL); -+ /*xim = XOpenIM (dpy, NULL, NULL, NULL); - if (xim == NULL) { - fprintf (stderr, "%s: XOpenIM failed\n", ProgramName); - } -@@ -831,7 +831,7 @@ main (int argc, char **argv) - } - XFree (xim_styles); - } -- } -+ }*/ - - screen = DefaultScreen (dpy); - -@@ -891,7 +891,7 @@ main (int argc, char **argv) - printf ("Outer window is 0x%lx, inner window is 0x%lx\n", w, subw); - } - -- if (xim && xim_style) { -+ /*if (xim && xim_style) { - xic = XCreateIC (xim, - XNInputStyle, xim_style, - XNClientWindow, w, -@@ -901,7 +901,7 @@ main (int argc, char **argv) - if (xic == NULL) { - fprintf (stderr, "XCreateIC failed\n"); - } -- } -+ }*/ - - for (done = 0; !done; ) { - XEvent event; diff --git a/meta/recipes-graphics/xorg-app/xev_1.0.3.bb b/meta/recipes-graphics/xorg-app/xev_1.0.3.bb deleted file mode 100644 index b7a4070a8f..0000000000 --- a/meta/recipes-graphics/xorg-app/xev_1.0.3.bb +++ /dev/null @@ -1,7 +0,0 @@ -require xorg-app-common.inc - -DESCRIPTION = "X Event Viewer" -LICENSE = "MIT" -PE = "1" - -SRC_URI += "file://diet-x11.patch;patch=1" diff --git a/meta/recipes-graphics/xorg-app/xeyes_1.0.1.bb b/meta/recipes-graphics/xorg-app/xeyes_1.0.1.bb deleted file mode 100644 index 07ce0724fa..0000000000 --- a/meta/recipes-graphics/xorg-app/xeyes_1.0.1.bb +++ /dev/null @@ -1,4 +0,0 @@ -require xorg-app-common.inc -PE = "1" - -DEPENDS += " virtual/libx11 libxau libxt libxext libxmu" diff --git a/meta/recipes-graphics/xorg-app/xrdb/60XDefaults.sh b/meta/recipes-graphics/xorg-app/xrdb/60XDefaults.sh deleted file mode 100644 index 08d8beca33..0000000000 --- a/meta/recipes-graphics/xorg-app/xrdb/60XDefaults.sh +++ /dev/null @@ -1,3 +0,0 @@ -if [ -e $HOME/.Xdefaults ]; then - xrdb -merge -nocpp < $HOME/.Xdefaults -fi diff --git a/meta/recipes-graphics/xorg-app/xrdb_1.0.5.bb b/meta/recipes-graphics/xorg-app/xrdb_1.0.5.bb deleted file mode 100644 index 906d7d8527..0000000000 --- a/meta/recipes-graphics/xorg-app/xrdb_1.0.5.bb +++ /dev/null @@ -1,14 +0,0 @@ -require xorg-app-common.inc - -DESCRIPTION = "X server resource database utility" -LICENSE = "xrdb" -DEPENDS += "libxmu" -PE = "1" -PR = "r2" - -SRC_URI += "file://60XDefaults.sh" - -do_install_append() { - install -d ${D}${sysconfdir}/X11/Xsession.d/ - install -m 0755 ${WORKDIR}/60XDefaults.sh ${D}${sysconfdir}/X11/Xsession.d/ -} diff --git a/meta/recipes-graphics/xorg-lib/libapplewm_1.0.0.bb b/meta/recipes-graphics/xorg-lib/libapplewm_1.0.0.bb deleted file mode 100644 index bc502fb505..0000000000 --- a/meta/recipes-graphics/xorg-lib/libapplewm_1.0.0.bb +++ /dev/null @@ -1,7 +0,0 @@ -require xorg-lib-common.inc - -DEPENDS += "libxext applewmproto" -PR = "r1" -PE = "1" - -XORG_PN = "libAppleWM" diff --git a/meta/recipes-graphics/xorg-lib/libfs_1.0.1.bb b/meta/recipes-graphics/xorg-lib/libfs_1.0.1.bb deleted file mode 100644 index 010aa311e0..0000000000 --- a/meta/recipes-graphics/xorg-lib/libfs_1.0.1.bb +++ /dev/null @@ -1,8 +0,0 @@ -require xorg-lib-common.inc - -DESCRIPTION = "X11 Font Services library" -DEPENDS += "xproto fontsproto xtrans" -PR = "r1" -PE = "1" - -XORG_PN = "libFS" diff --git a/meta/recipes-graphics/xorg-lib/liblbxutil/mkg3states.patch b/meta/recipes-graphics/xorg-lib/liblbxutil/mkg3states.patch deleted file mode 100644 index 029d761d95..0000000000 --- a/meta/recipes-graphics/xorg-lib/liblbxutil/mkg3states.patch +++ /dev/null @@ -1,63 +0,0 @@ -During the build process the mkg3states binary needs to be run. This patch -allows it to be built with the build systems gcc allowing this to work. - -RP 31/3/10 - -Index: liblbxutil-1.1.0/configure.ac -=================================================================== ---- liblbxutil-1.1.0.orig/configure.ac 2009-12-04 22:52:04.000000000 +0000 -+++ liblbxutil-1.1.0/configure.ac 2010-03-31 15:26:33.000000000 +0100 -@@ -50,4 +50,5 @@ - - AC_OUTPUT([Makefile - src/Makefile -+ src/image/Makefile - lbxutil.pc]) -Index: liblbxutil-1.1.0/src/Makefile.am -=================================================================== ---- liblbxutil-1.1.0.orig/src/Makefile.am 2009-12-04 23:03:17.000000000 +0000 -+++ liblbxutil-1.1.0/src/Makefile.am 2010-03-31 15:27:25.000000000 +0100 -@@ -3,10 +3,7 @@ - AM_CFLAGS = $(CWARNFLAGS) $(LBXUTIL_CFLAGS) - INCLUDES = -I$(top_srcdir)/include - --noinst_PROGRAMS = mkg3states -- --mkg3states_SOURCES = \ -- $(srcdir)/image/mkg3states.c -+SUBDIRS = image - - liblbxutil_la_SOURCES = \ - $(srcdir)/lbx_zlib/reqstats.h \ -@@ -38,9 +35,8 @@ - - $(srcdir)/image/dfaxg42d.c: g3states.h - --g3states.h: mkg3states -- -rm -f g3states.h -- $(AM_V_GEN) ./mkg3states -c > g3states.h_ && mv g3states.h_ g3states.h -+g3states.h: image/mkg3states -+ ./image/mkg3states -c > g3states.h_ && mv g3states.h_ g3states.h - - liblbxutil_la_LDFLAGS = -version-number 1:0:0 -no-undefined - -Index: liblbxutil-1.1.0/src/image/Makefile.am -=================================================================== ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ liblbxutil-1.1.0/src/image/Makefile.am 2010-03-31 15:26:33.000000000 +0100 -@@ -0,0 +1,15 @@ -+# evil hack -+CFLAGS=$(CFLAGS_FOR_BUILD) -+CPPFLAGS=$(CPPFLAGS_FOR_BUILD) -+LDFLAGS=$(LDFLAGS_FOR_BUILD) -+ -+CC=$(CC_FOR_BUILD) -+LIBTOOL = @LIBTOOL@ --tag=CC -+ -+noinst_PROGRAMS = mkg3states -+ -+mkg3states_SOURCES = \ -+ mkg3states.c -+ -+mkg3states_CFLAGS=$(CFLAGS_FOR_BUILD) -+mkg3states_LDFLAGS=$(LDFLAGS_FOR_BUILD) diff --git a/meta/recipes-graphics/xorg-lib/liblbxutil_1.1.0.bb b/meta/recipes-graphics/xorg-lib/liblbxutil_1.1.0.bb deleted file mode 100644 index cdf3509246..0000000000 --- a/meta/recipes-graphics/xorg-lib/liblbxutil_1.1.0.bb +++ /dev/null @@ -1,11 +0,0 @@ -require xorg-lib-common.inc - -DESCRIPTION = "XFIXES Extension" -DEPENDS += " libxext xextproto xproto zlib" -PROVIDES = "lbxutil" -PE = "1" -PR = "r1" - -SRC_URI += "file://mkg3states.patch;patch=1" - -export CC_FOR_BUILD = "gcc" diff --git a/meta/recipes-graphics/xorg-lib/liboldx_1.0.1.bb b/meta/recipes-graphics/xorg-lib/liboldx_1.0.1.bb deleted file mode 100644 index 84470cbc78..0000000000 --- a/meta/recipes-graphics/xorg-lib/liboldx_1.0.1.bb +++ /dev/null @@ -1,6 +0,0 @@ -require xorg-lib-common.inc - -DEPENDS += " virtual/libx11" -PE = "1" - -XORG_PN = "liboldX" diff --git a/meta/recipes-graphics/xorg-lib/libwindowswm_1.0.0.bb b/meta/recipes-graphics/xorg-lib/libwindowswm_1.0.0.bb deleted file mode 100644 index a03d49505b..0000000000 --- a/meta/recipes-graphics/xorg-lib/libwindowswm_1.0.0.bb +++ /dev/null @@ -1,6 +0,0 @@ -require xorg-lib-common.inc - -DEPENDS += "libxext windowswmproto" -PE = "1" - -XORG_PN = "libWindowsWM" diff --git a/meta/recipes-graphics/xorg-lib/libxaw_1.0.5.bb b/meta/recipes-graphics/xorg-lib/libxaw_1.0.5.bb deleted file mode 100644 index 489f456647..0000000000 --- a/meta/recipes-graphics/xorg-lib/libxaw_1.0.5.bb +++ /dev/null @@ -1,21 +0,0 @@ -require xorg-lib-common.inc - -DESCRIPTION = "X Athena Widget Set" -DEPENDS += "xproto virtual/libx11 libxext xextproto libxt libxmu libxpm libxp printproto libxau" -PROVIDES = "xaw" -PR = "r1" -PE = "1" - -XORG_PN = "libXaw" - -do_install_append () { - ln -sf libXaw6.so.6 ${D}${libdir}/libXaw.so.6 - ln -sf libXaw7.so.7 ${D}${libdir}/libXaw.so.7 - ln -sf libXaw7.so.7 ${D}${libdir}/libXaw.so -} - -PACKAGES =+ "libxaw6 libxaw7 libxaw8" - -FILES_libxaw6 = "${libdir}/libXaw6.so.6*" -FILES_libxaw7 = "${libdir}/libXaw7.so.7*" -FILES_libxaw8 = "${libdir}/libXaw8.so.8*" diff --git a/meta/recipes-graphics/xorg-lib/libxevie_1.0.2.bb b/meta/recipes-graphics/xorg-lib/libxevie_1.0.2.bb deleted file mode 100644 index 6c6b4595aa..0000000000 --- a/meta/recipes-graphics/xorg-lib/libxevie_1.0.2.bb +++ /dev/null @@ -1,8 +0,0 @@ -require xorg-lib-common.inc - -DESCRIPTION = "X11 EvIE extension library" -DEPENDS += "libxext evieext" -PR = "r1" -PE = "1" - -XORG_PN = "libXevie" diff --git a/meta/recipes-graphics/xorg-lib/libxkbui_1.0.2.bb b/meta/recipes-graphics/xorg-lib/libxkbui_1.0.2.bb deleted file mode 100644 index 9a3f5f1327..0000000000 --- a/meta/recipes-graphics/xorg-lib/libxkbui_1.0.2.bb +++ /dev/null @@ -1,8 +0,0 @@ -require xorg-lib-common.inc - -DESCRIPTION = "X11 keyboard UI presentation library" -LICENSE= "GPL" -DEPENDS += "virtual/libx11 libxt libxkbfile" -PROVIDES = "xkbui" -PR = "r1" -PE = "1" diff --git a/meta/recipes-graphics/xorg-proto/applewmproto_1.4.1.bb b/meta/recipes-graphics/xorg-proto/applewmproto_1.4.1.bb deleted file mode 100644 index 9f09fff7b7..0000000000 --- a/meta/recipes-graphics/xorg-proto/applewmproto_1.4.1.bb +++ /dev/null @@ -1,4 +0,0 @@ -require xorg-proto-common.inc - -PR = "r1" -PE = "1" diff --git a/meta/recipes-graphics/xorg-proto/windowswmproto_1.0.4.bb b/meta/recipes-graphics/xorg-proto/windowswmproto_1.0.4.bb deleted file mode 100644 index 9f09fff7b7..0000000000 --- a/meta/recipes-graphics/xorg-proto/windowswmproto_1.0.4.bb +++ /dev/null @@ -1,4 +0,0 @@ -require xorg-proto-common.inc - -PR = "r1" -PE = "1" diff --git a/meta/recipes-graphics/xorg-proto/xproxymanagementprotocol_1.0.3.bb b/meta/recipes-graphics/xorg-proto/xproxymanagementprotocol_1.0.3.bb deleted file mode 100644 index 9c3d9efa71..0000000000 --- a/meta/recipes-graphics/xorg-proto/xproxymanagementprotocol_1.0.3.bb +++ /dev/null @@ -1,5 +0,0 @@ -require xorg-proto-common.inc - -PROVIDES="xproxymngproto" -PR = "r1" -PE = "1" diff --git a/meta/recipes-graphics/xorg-util/imake_1.0.2.bb b/meta/recipes-graphics/xorg-util/imake_1.0.2.bb deleted file mode 100644 index e533ece461..0000000000 --- a/meta/recipes-graphics/xorg-util/imake_1.0.2.bb +++ /dev/null @@ -1,8 +0,0 @@ -require xorg-util-common.inc - -DESCRIPTION = "C preprocessor interface to the make utility" -DEPENDS = "util-macros" -RDEPENDS = "perl xproto" - -PR = "r1" -PE = "1" diff --git a/meta/recipes-graphics/xorg-util/lndir_1.0.1.bb b/meta/recipes-graphics/xorg-util/lndir_1.0.1.bb deleted file mode 100644 index b7bd0ad54a..0000000000 --- a/meta/recipes-graphics/xorg-util/lndir_1.0.1.bb +++ /dev/null @@ -1,6 +0,0 @@ -require xorg-util-common.inc - -DESCRIPTION = "create a shadow directory of symbolic links to another directory tree" -DEPENDS += "xproto util-macros" -PR = "r1" -PE = "1" diff --git a/meta/recipes-graphics/xorg-util/xorg-cf-files_1.0.3.bb b/meta/recipes-graphics/xorg-util/xorg-cf-files_1.0.3.bb deleted file mode 100644 index 7c3fb8d7e9..0000000000 --- a/meta/recipes-graphics/xorg-util/xorg-cf-files_1.0.3.bb +++ /dev/null @@ -1,8 +0,0 @@ -require xorg-util-common.inc - -DESCRIPTION = "X Window System CF files" - -PR = "r1" -PE = "1" - -FILES_${PN} += " /usr/lib/X11/config" diff --git a/meta/recipes-kernel/fuse/fuse-2.7.2/not-run-updaterc.d-on-host.patch b/meta/recipes-kernel/fuse/fuse-2.7.2/not-run-updaterc.d-on-host.patch deleted file mode 100644 index 903a8baa9e..0000000000 --- a/meta/recipes-kernel/fuse/fuse-2.7.2/not-run-updaterc.d-on-host.patch +++ /dev/null @@ -1,15 +0,0 @@ -Index: fuse-2.7.2/util/Makefile.am -=================================================================== ---- fuse-2.7.2.orig/util/Makefile.am 2007-04-26 01:36:47.000000000 +0930 -+++ fuse-2.7.2/util/Makefile.am 2008-02-10 16:43:19.000000000 +1030 -@@ -33,10 +33,6 @@ - $(INSTALL_PROGRAM) $(srcdir)/mount.fuse $(DESTDIR)$(MOUNT_FUSE_PATH)/mount.fuse - $(mkdir_p) $(DESTDIR)$(INIT_D_PATH) - $(INSTALL_PROGRAM) $(srcdir)/init_script $(DESTDIR)$(INIT_D_PATH)/fuse -- @if test -x /usr/sbin/update-rc.d; then \ -- echo "/usr/sbin/update-rc.d fuse start 34 S . start 41 0 6 . || true"; \ -- /usr/sbin/update-rc.d fuse start 34 S . start 41 0 6 . || true; \ -- fi - - install-data-local: - $(mkdir_p) $(DESTDIR)$(UDEV_RULES_PATH) diff --git a/meta/recipes-kernel/fuse/fuse.inc b/meta/recipes-kernel/fuse/fuse.inc deleted file mode 100644 index c6755ac7c7..0000000000 --- a/meta/recipes-kernel/fuse/fuse.inc +++ /dev/null @@ -1,13 +0,0 @@ -DESCRIPTION = "With FUSE it is possible to implement a fully functional filesystem in a userspace program" -HOMEPAGE = "http://fuse.sf.net" -LICENSE = "GPL" -DEPENDS = "virtual/fakeroot-native" -RRECOMMENDS_fuse = "${@base_contains("MACHINE_FEATURES","kernel26","kernel-module-fuse","fuse-module",d)}" - -SRC_URI = "${SOURCEFORGE_MIRROR}/fuse/fuse-${PV}.tar.gz" - -inherit autotools pkgconfig - -fakeroot do_install() { - oe_runmake install DESTDIR=${D} -} diff --git a/meta/recipes-kernel/fuse/fuse_2.7.2.bb b/meta/recipes-kernel/fuse/fuse_2.7.2.bb deleted file mode 100644 index d284a25f5f..0000000000 --- a/meta/recipes-kernel/fuse/fuse_2.7.2.bb +++ /dev/null @@ -1,22 +0,0 @@ -require fuse.inc - -PR = "r0" - -SRC_URI += "file://not-run-updaterc.d-on-host.patch;patch=1" - -EXTRA_OECONF = " --disable-kernel-module" - -#package utils in a sperate package and stop debian.bbclass renaming it to libfuse-utils, we want it to be fuse-utils -PACKAGES =+ "fuse-utils-dbg fuse-utils libulockmgr libulockmgr-dev libulockmgr-dbg" -FILES_${PN} += "${libdir}/libfuse.so.*" -FILES_${PN}-dev += "${libdir}/libfuse*.la" - -FILES_libulockmgr = "${libdir}/libulockmgr.so.*" -FILES_libulockmgr-dev += "${libdir}/libulock*.la" -FILES_libulockmgr-dbg += "${libdir}/.debug/libulock*" - -FILES_fuse-utils = "${bindir} ${base_sbindir}" -FILES_fuse-utils-dbg = "${bindir}/.debug ${base_sbindir}/.debug" -DEBIAN_NOAUTONAME_fuse-utils = "1" -DEBIAN_NOAUTONAME_fuse-utils-dbg = "1" - diff --git a/meta/recipes-multimedia/alsa/alsa-oss_1.0.17.bb b/meta/recipes-multimedia/alsa/alsa-oss_1.0.17.bb deleted file mode 100644 index 00e00dc62b..0000000000 --- a/meta/recipes-multimedia/alsa/alsa-oss_1.0.17.bb +++ /dev/null @@ -1,12 +0,0 @@ -DESCRIPTION = "Alsa OSS Compatibility Package" -SECTION = "libs/multimedia" -LICENSE = "GPL" -DEPENDS = "alsa-lib" - -SRC_URI = "ftp://ftp.alsa-project.org/pub/oss-lib/alsa-oss-${PV}.tar.bz2" - -inherit autotools - -do_configure_prepend () { - touch NEWS README AUTHORS ChangeLog -} diff --git a/meta/recipes-multimedia/libexif/libexif_0.6.16.bb b/meta/recipes-multimedia/libexif/libexif_0.6.16.bb deleted file mode 100644 index e3b5c331a8..0000000000 --- a/meta/recipes-multimedia/libexif/libexif_0.6.16.bb +++ /dev/null @@ -1,15 +0,0 @@ -DESCRIPTION = "Library to read the extended image information (EXIF) from JPEG pictures" -HOMEPAGE = "http://sourceforge.net/projects/libexif" -SECTION = "libs" -LICENSE = "LGPL" -DEPENDS = "gettext" - -SRC_URI = "${SOURCEFORGE_MIRROR}/libexif/libexif-${PV}.tar.bz2" - -inherit autotools - -do_configure_append() { - sed -i s:doc\ binary:binary:g Makefile -} - -AUTOTOOLS_STAGE_PKGCONFIG = "1" diff --git a/meta/recipes-multimedia/libsamplerate/libsamplerate0_0.1.2.bb b/meta/recipes-multimedia/libsamplerate/libsamplerate0_0.1.2.bb new file mode 100644 index 0000000000..10923404d0 --- /dev/null +++ b/meta/recipes-multimedia/libsamplerate/libsamplerate0_0.1.2.bb @@ -0,0 +1,10 @@ +DESCRIPTION = "An audio Sample Rate Conversion library" +SECTION = "libs" +LICENSE = "GPL libsamplerate" +DEPENDS = "flac" +PR = "r3" + +SRC_URI = "http://www.mega-nerd.com/SRC/libsamplerate-${PV}.tar.gz" +S = "${WORKDIR}/libsamplerate-${PV}" + +inherit autotools pkgconfig diff --git a/meta/recipes-multimedia/pulseaudio/libatomics-ops/doublefix.patch b/meta/recipes-multimedia/pulseaudio/libatomics-ops/doublefix.patch new file mode 100644 index 0000000000..2172cac41e --- /dev/null +++ b/meta/recipes-multimedia/pulseaudio/libatomics-ops/doublefix.patch @@ -0,0 +1,25 @@ +Double path references breaks recent autoconf+automake + +RP 2/1/10 + +Index: libatomic_ops-1.2/src/atomic_ops/sysdeps/Makefile.am +=================================================================== +--- libatomic_ops-1.2.orig/src/atomic_ops/sysdeps/Makefile.am 2005-09-28 00:53:16.000000000 +0100 ++++ libatomic_ops-1.2/src/atomic_ops/sysdeps/Makefile.am 2010-02-01 14:28:46.397820574 +0000 +@@ -25,7 +25,6 @@ + README \ + \ + gcc/alpha.h gcc/arm.h gcc/x86.h \ +- gcc/hppa.h gcc/ia64.h \ + gcc/powerpc.h gcc/sparc.h \ + gcc/hppa.h gcc/m68k.h gcc/s390.h \ + gcc/ia64.h gcc/x86_64.h gcc/cris.h \ +Index: libatomic_ops-1.2/doc/Makefile.am +=================================================================== +--- libatomic_ops-1.2.orig/doc/Makefile.am 2010-02-01 15:20:09.207788884 +0000 ++++ libatomic_ops-1.2/doc/Makefile.am 2010-02-01 15:20:20.909049794 +0000 +@@ -1,3 +1,3 @@ + # installed documentation + # +-dist_pkgdata_DATA=COPYING LICENSING.txt README.txt COPYING README_stack.txt README_malloc.txt README_win32.txt ++dist_pkgdata_DATA=LICENSING.txt README.txt COPYING README_stack.txt README_malloc.txt README_win32.txt diff --git a/meta/recipes-multimedia/pulseaudio/libatomics-ops/fedora/libatomic_ops-1.2-ppclwzfix.patch b/meta/recipes-multimedia/pulseaudio/libatomics-ops/fedora/libatomic_ops-1.2-ppclwzfix.patch new file mode 100644 index 0000000000..51161dbe0f --- /dev/null +++ b/meta/recipes-multimedia/pulseaudio/libatomics-ops/fedora/libatomic_ops-1.2-ppclwzfix.patch @@ -0,0 +1,15 @@ +http://cvs.fedoraproject.org/viewcvs/devel/libatomic_ops/libatomic_ops-1.2-ppclwzfix.patch + +* add fix for bad variable handling on PPC + +--- libatomic_ops-1.2.orig/src/atomic_ops/sysdeps/gcc/powerpc.h 2007-05-29 19:29:52.000000000 +0200 ++++ libatomic_ops-1.2/src/atomic_ops/sysdeps/gcc/powerpc.h 2007-05-29 19:30:48.000000000 +0200 +@@ -72,7 +72,7 @@ + /* registers. I always got "impossible constraint" when I */ + /* tried the "y" constraint. */ + __asm__ __volatile__ ( +- "lwz %0,%1\n" ++ "lwz%U1%X1 %0,%1\n" + "cmpw cr7,%0,%0\n" + "bne- cr7,1f\n" + "1: isync\n" diff --git a/meta/recipes-multimedia/pulseaudio/libatomics-ops_1.2.bb b/meta/recipes-multimedia/pulseaudio/libatomics-ops_1.2.bb new file mode 100644 index 0000000000..207f1b1ec6 --- /dev/null +++ b/meta/recipes-multimedia/pulseaudio/libatomics-ops_1.2.bb @@ -0,0 +1,14 @@ +DESCRIPTION = "A library for atomic integer operations" +LICENSE = "MIT" + +PR = "r4" + +SRC_URI = "http://www.hpl.hp.com/research/linux/atomic_ops/download/libatomic_ops-1.2.tar.gz \ + file://fedora/libatomic_ops-1.2-ppclwzfix.patch;patch=1 \ + file://doublefix.patch;patch=1" + +S = "${WORKDIR}/libatomic_ops-${PV}" + +ALLOW_EMPTY_${PN} = "1" + +inherit autotools pkgconfig diff --git a/meta/recipes-multimedia/pulseaudio/libcanberra/autoconf_version.patch b/meta/recipes-multimedia/pulseaudio/libcanberra/autoconf_version.patch new file mode 100644 index 0000000000..73a2ea6e49 --- /dev/null +++ b/meta/recipes-multimedia/pulseaudio/libcanberra/autoconf_version.patch @@ -0,0 +1,38 @@ +Allow a slightly older autoconf and disable the inbuild libltdl + +RP - 16/4/09 + +Index: libcanberra-0.10/Makefile.am +=================================================================== +--- libcanberra-0.10.orig/Makefile.am 2009-04-16 14:38:53.000000000 +0100 ++++ libcanberra-0.10/Makefile.am 2009-04-16 14:39:04.000000000 +0100 +@@ -19,7 +19,7 @@ + dist_doc_DATA = README + + EXTRA_DIST = bootstrap.sh autogen.sh LGPL libcanberra.schemas +-SUBDIRS = src gtkdoc libltdl doc ++SUBDIRS = src gtkdoc doc + + MAINTAINERCLEANFILES = README + noinst_DATA = README +Index: libcanberra-0.10/configure.ac +=================================================================== +--- libcanberra-0.10.orig/configure.ac 2009-04-16 14:32:33.000000000 +0100 ++++ libcanberra-0.10/configure.ac 2009-04-16 14:37:50.000000000 +0100 +@@ -19,7 +19,7 @@ + # License along with libcanberra. If not, see + # . + +-AC_PREREQ(2.62) ++AC_PREREQ(2.61) + + AC_INIT([libcanberra], 0.10, [mzyvopnaoreen (at) 0pointer (dot) de]) + AC_CONFIG_SRCDIR([src/common.c]) +@@ -70,7 +70,6 @@ + AC_PROG_LIBTOOL + AC_SUBST(LTDLINCL) + AC_SUBST(LIBLTDL) +-AC_CONFIG_SUBDIRS(libltdl) + + #### Determine build environment #### + diff --git a/meta/recipes-multimedia/pulseaudio/libcanberra/nofallbackfix.patch b/meta/recipes-multimedia/pulseaudio/libcanberra/nofallbackfix.patch new file mode 100644 index 0000000000..89a4fbf9f1 --- /dev/null +++ b/meta/recipes-multimedia/pulseaudio/libcanberra/nofallbackfix.patch @@ -0,0 +1,16 @@ +Index: libcanberra-0.10/src/sound-theme-spec.c +=================================================================== +--- libcanberra-0.10.orig/src/sound-theme-spec.c 2009-05-22 17:08:23.000000000 +0100 ++++ libcanberra-0.10/src/sound-theme-spec.c 2009-05-22 17:12:50.000000000 +0100 +@@ -398,9 +398,9 @@ + if ((ret = load_theme_dir(t, name)) < 0) + goto fail; + ++ /* The fallback theme may intentionally not exist so ignore failure */ + if (!t->loaded_fallback_theme) +- if ((ret = load_theme_dir(t, FALLBACK_THEME)) < 0) +- goto fail; ++ load_theme_dir(t, FALLBACK_THEME); + + if (*_t) + ca_theme_data_free(*_t); diff --git a/meta/recipes-multimedia/pulseaudio/libcanberra_0.10.bb b/meta/recipes-multimedia/pulseaudio/libcanberra_0.10.bb new file mode 100644 index 0000000000..c6d25dccb0 --- /dev/null +++ b/meta/recipes-multimedia/pulseaudio/libcanberra_0.10.bb @@ -0,0 +1,22 @@ +DESCRIPTION = "Libcanberra is an implementation of the XDG Sound Theme and Name Specifications, for generating event sounds on free desktops." +LICENSE = "LGPL" +DEPENDS = "gtk+ pulseaudio alsa-lib libtool" +PR = "r3" + +inherit gconf autotools + +SRC_URI = "http://0pointer.de/lennart/projects/libcanberra/libcanberra-${PV}.tar.gz \ + file://nofallbackfix.patch;patch=1 \ + file://autoconf_version.patch;patch=1" + +EXTRA_OECONF = " --disable-oss --disable-ltdl-install" + +do_configure_prepend () { + rm -f ${S}/libltdl/configure* +} + +FILES_${PN} += "${libdir}/gtk-2.0/modules/ ${datadir}/gnome" +FILES_${PN}-dbg += "${libdir}/gtk-2.0/modules/.debug" + +AUTOTOOLS_STAGE_PKGCONFIG = "1" + diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.15/alsaerror.patch b/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.15/alsaerror.patch new file mode 100644 index 0000000000..2efa3e89b8 --- /dev/null +++ b/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.15/alsaerror.patch @@ -0,0 +1,525 @@ +From: Lennart Poettering +Date: Sun, 19 Apr 2009 17:22:51 +0000 (+0200) +Subject: alsa: properly convert return values of snd_strerror() to utf8 +X-Git-Url: http://git.0pointer.de/?p=pulseaudio.git;a=commitdiff_plain;h=98a25c506e692ab091b4af7e1b37e8432fc08e8f + +alsa: properly convert return values of snd_strerror() to utf8 +--- + +diff --git a/src/modules/alsa/alsa-sink.c b/src/modules/alsa/alsa-sink.c +index 2fbcd7b..41e8b47 100644 +--- a/src/modules/alsa/alsa-sink.c ++++ b/src/modules/alsa/alsa-sink.c +@@ -281,7 +281,7 @@ static int try_recover(struct userdata *u, const char *call, int err) { + pa_assert(call); + pa_assert(err < 0); + +- pa_log_debug("%s: %s", call, snd_strerror(err)); ++ pa_log_debug("%s: %s", call, pa_alsa_strerror(err)); + + pa_assert(err != -EAGAIN); + +@@ -289,7 +289,7 @@ static int try_recover(struct userdata *u, const char *call, int err) { + pa_log_debug("%s: Buffer underrun!", call); + + if ((err = snd_pcm_recover(u->pcm_handle, err, 1)) < 0) { +- pa_log("%s: %s", call, snd_strerror(err)); ++ pa_log("%s: %s", call, pa_alsa_strerror(err)); + return -1; + } + +@@ -636,12 +636,12 @@ static void update_smoother(struct userdata *u) { + /* Let's update the time smoother */ + + if (PA_UNLIKELY((err = pa_alsa_safe_delay(u->pcm_handle, &delay, u->hwbuf_size, &u->sink->sample_spec)) < 0)) { +- pa_log_warn("Failed to query DSP status data: %s", snd_strerror(err)); ++ pa_log_warn("Failed to query DSP status data: %s", pa_alsa_strerror(err)); + return; + } + + if (PA_UNLIKELY((err = snd_pcm_status(u->pcm_handle, status)) < 0)) +- pa_log_warn("Failed to get timestamp: %s", snd_strerror(err)); ++ pa_log_warn("Failed to get timestamp: %s", pa_alsa_strerror(err)); + else { + snd_htimestamp_t htstamp = { 0, 0 }; + snd_pcm_status_get_htstamp(status, &htstamp); +@@ -764,7 +764,7 @@ static int update_sw_params(struct userdata *u) { + pa_log_debug("setting avail_min=%lu", (unsigned long) avail_min); + + if ((err = pa_alsa_set_sw_params(u->pcm_handle, avail_min)) < 0) { +- pa_log("Failed to set software parameters: %s", snd_strerror(err)); ++ pa_log("Failed to set software parameters: %s", pa_alsa_strerror(err)); + return err; + } + +@@ -792,7 +792,7 @@ static int unsuspend(struct userdata *u) { + SND_PCM_NO_AUTO_RESAMPLE| + SND_PCM_NO_AUTO_CHANNELS| + SND_PCM_NO_AUTO_FORMAT)) < 0) { +- pa_log("Error opening PCM device %s: %s", u->device_name, snd_strerror(err)); ++ pa_log("Error opening PCM device %s: %s", u->device_name, pa_alsa_strerror(err)); + goto fail; + } + +@@ -803,7 +803,7 @@ static int unsuspend(struct userdata *u) { + d = u->use_tsched; + + if ((err = pa_alsa_set_hw_params(u->pcm_handle, &ss, &nfrags, &period_size, u->hwbuf_size / u->frame_size, &b, &d, TRUE)) < 0) { +- pa_log("Failed to set hardware parameters: %s", snd_strerror(err)); ++ pa_log("Failed to set hardware parameters: %s", pa_alsa_strerror(err)); + goto fail; + } + +@@ -1030,7 +1030,7 @@ static void sink_get_volume_cb(pa_sink *s) { + return; + + fail: +- pa_log_error("Unable to read volume: %s", snd_strerror(err)); ++ pa_log_error("Unable to read volume: %s", pa_alsa_strerror(err)); + } + + static void sink_set_volume_cb(pa_sink *s) { +@@ -1141,7 +1141,7 @@ static void sink_set_volume_cb(pa_sink *s) { + return; + + fail: +- pa_log_error("Unable to set volume: %s", snd_strerror(err)); ++ pa_log_error("Unable to set volume: %s", pa_alsa_strerror(err)); + } + + static void sink_get_mute_cb(pa_sink *s) { +@@ -1152,7 +1152,7 @@ static void sink_get_mute_cb(pa_sink *s) { + pa_assert(u->mixer_elem); + + if ((err = snd_mixer_selem_get_playback_switch(u->mixer_elem, 0, &sw)) < 0) { +- pa_log_error("Unable to get switch: %s", snd_strerror(err)); ++ pa_log_error("Unable to get switch: %s", pa_alsa_strerror(err)); + return; + } + +@@ -1167,7 +1167,7 @@ static void sink_set_mute_cb(pa_sink *s) { + pa_assert(u->mixer_elem); + + if ((err = snd_mixer_selem_set_playback_switch_all(u->mixer_elem, !s->muted)) < 0) { +- pa_log_error("Unable to set switch: %s", snd_strerror(err)); ++ pa_log_error("Unable to set switch: %s", pa_alsa_strerror(err)); + return; + } + } +@@ -1206,7 +1206,7 @@ static int process_rewind(struct userdata *u) { + pa_log_debug("Requested to rewind %lu bytes.", (unsigned long) rewind_nbytes); + + if (PA_UNLIKELY((unused = pa_alsa_safe_avail(u->pcm_handle, u->hwbuf_size, &u->sink->sample_spec)) < 0)) { +- pa_log("snd_pcm_avail() failed: %s", snd_strerror((int) unused)); ++ pa_log("snd_pcm_avail() failed: %s", pa_alsa_strerror((int) unused)); + return -1; + } + +@@ -1228,7 +1228,7 @@ static int process_rewind(struct userdata *u) { + in_frames = (snd_pcm_sframes_t) (rewind_nbytes / u->frame_size); + pa_log_debug("before: %lu", (unsigned long) in_frames); + if ((out_frames = snd_pcm_rewind(u->pcm_handle, (snd_pcm_uframes_t) in_frames)) < 0) { +- pa_log("snd_pcm_rewind() failed: %s", snd_strerror((int) out_frames)); ++ pa_log("snd_pcm_rewind() failed: %s", pa_alsa_strerror((int) out_frames)); + return -1; + } + pa_log_debug("after: %lu", (unsigned long) out_frames); +@@ -1359,7 +1359,7 @@ static void thread_func(void *userdata) { + pollfd = pa_rtpoll_item_get_pollfd(u->alsa_rtpoll_item, &n); + + if ((err = snd_pcm_poll_descriptors_revents(u->pcm_handle, pollfd, n, &revents)) < 0) { +- pa_log("snd_pcm_poll_descriptors_revents() failed: %s", snd_strerror(err)); ++ pa_log("snd_pcm_poll_descriptors_revents() failed: %s", pa_alsa_strerror(err)); + goto fail; + } + +diff --git a/src/modules/alsa/alsa-source.c b/src/modules/alsa/alsa-source.c +index c59fc75..843f70b 100644 +--- a/src/modules/alsa/alsa-source.c ++++ b/src/modules/alsa/alsa-source.c +@@ -278,7 +278,7 @@ static int try_recover(struct userdata *u, const char *call, int err) { + pa_assert(call); + pa_assert(err < 0); + +- pa_log_debug("%s: %s", call, snd_strerror(err)); ++ pa_log_debug("%s: %s", call, pa_alsa_strerror(err)); + + pa_assert(err != -EAGAIN); + +@@ -286,7 +286,7 @@ static int try_recover(struct userdata *u, const char *call, int err) { + pa_log_debug("%s: Buffer overrun!", call); + + if ((err = snd_pcm_recover(u->pcm_handle, err, 1)) < 0) { +- pa_log("%s: %s", call, snd_strerror(err)); ++ pa_log("%s: %s", call, pa_alsa_strerror(err)); + return -1; + } + +@@ -606,12 +606,12 @@ static void update_smoother(struct userdata *u) { + /* Let's update the time smoother */ + + if (PA_UNLIKELY((err = pa_alsa_safe_delay(u->pcm_handle, &delay, u->hwbuf_size, &u->source->sample_spec)) < 0)) { +- pa_log_warn("Failed to get delay: %s", snd_strerror(err)); ++ pa_log_warn("Failed to get delay: %s", pa_alsa_strerror(err)); + return; + } + + if (PA_UNLIKELY((err = snd_pcm_status(u->pcm_handle, status)) < 0)) +- pa_log_warn("Failed to get timestamp: %s", snd_strerror(err)); ++ pa_log_warn("Failed to get timestamp: %s", pa_alsa_strerror(err)); + else { + snd_htimestamp_t htstamp = { 0, 0 }; + snd_pcm_status_get_htstamp(status, &htstamp); +@@ -721,7 +721,7 @@ static int update_sw_params(struct userdata *u) { + pa_log_debug("setting avail_min=%lu", (unsigned long) avail_min); + + if ((err = pa_alsa_set_sw_params(u->pcm_handle, avail_min)) < 0) { +- pa_log("Failed to set software parameters: %s", snd_strerror(err)); ++ pa_log("Failed to set software parameters: %s", pa_alsa_strerror(err)); + return err; + } + +@@ -747,7 +747,7 @@ static int unsuspend(struct userdata *u) { + SND_PCM_NO_AUTO_RESAMPLE| + SND_PCM_NO_AUTO_CHANNELS| + SND_PCM_NO_AUTO_FORMAT)) < 0) { +- pa_log("Error opening PCM device %s: %s", u->device_name, snd_strerror(err)); ++ pa_log("Error opening PCM device %s: %s", u->device_name, pa_alsa_strerror(err)); + goto fail; + } + +@@ -758,7 +758,7 @@ static int unsuspend(struct userdata *u) { + d = u->use_tsched; + + if ((err = pa_alsa_set_hw_params(u->pcm_handle, &ss, &nfrags, &period_size, u->hwbuf_size / u->frame_size, &b, &d, TRUE)) < 0) { +- pa_log("Failed to set hardware parameters: %s", snd_strerror(err)); ++ pa_log("Failed to set hardware parameters: %s", pa_alsa_strerror(err)); + goto fail; + } + +@@ -988,7 +988,7 @@ static void source_get_volume_cb(pa_source *s) { + return; + + fail: +- pa_log_error("Unable to read volume: %s", snd_strerror(err)); ++ pa_log_error("Unable to read volume: %s", pa_alsa_strerror(err)); + } + + static void source_set_volume_cb(pa_source *s) { +@@ -1100,7 +1100,7 @@ static void source_set_volume_cb(pa_source *s) { + return; + + fail: +- pa_log_error("Unable to set volume: %s", snd_strerror(err)); ++ pa_log_error("Unable to set volume: %s", pa_alsa_strerror(err)); + } + + static void source_get_mute_cb(pa_source *s) { +@@ -1111,7 +1111,7 @@ static void source_get_mute_cb(pa_source *s) { + pa_assert(u->mixer_elem); + + if ((err = snd_mixer_selem_get_capture_switch(u->mixer_elem, 0, &sw)) < 0) { +- pa_log_error("Unable to get switch: %s", snd_strerror(err)); ++ pa_log_error("Unable to get switch: %s", pa_alsa_strerror(err)); + return; + } + +@@ -1126,7 +1126,7 @@ static void source_set_mute_cb(pa_source *s) { + pa_assert(u->mixer_elem); + + if ((err = snd_mixer_selem_set_capture_switch_all(u->mixer_elem, !s->muted)) < 0) { +- pa_log_error("Unable to set switch: %s", snd_strerror(err)); ++ pa_log_error("Unable to set switch: %s", pa_alsa_strerror(err)); + return; + } + } +@@ -1218,7 +1218,7 @@ static void thread_func(void *userdata) { + pollfd = pa_rtpoll_item_get_pollfd(u->alsa_rtpoll_item, &n); + + if ((err = snd_pcm_poll_descriptors_revents(u->pcm_handle, pollfd, n, &revents)) < 0) { +- pa_log("snd_pcm_poll_descriptors_revents() failed: %s", snd_strerror(err)); ++ pa_log("snd_pcm_poll_descriptors_revents() failed: %s", pa_alsa_strerror(err)); + goto fail; + } + +diff --git a/src/modules/alsa/alsa-util.c b/src/modules/alsa/alsa-util.c +index d2dc6e8..ddc3c77 100644 +--- a/src/modules/alsa/alsa-util.c ++++ b/src/modules/alsa/alsa-util.c +@@ -33,6 +33,7 @@ + #include + #include + #include ++#include + + #include + #include +@@ -40,6 +41,7 @@ + #include + #include + #include ++#include + + #include "alsa-util.h" + +@@ -106,7 +108,7 @@ static void io_cb(pa_mainloop_api*a, pa_io_event* e, int fd, pa_io_event_flags_t + pa_assert(i != fdl->num_fds); + + if ((err = snd_mixer_poll_descriptors_revents(fdl->mixer, fdl->work_fds, fdl->num_fds, &revents)) < 0) { +- pa_log_error("Unable to get poll revent: %s", snd_strerror(err)); ++ pa_log_error("Unable to get poll revent: %s", pa_alsa_strerror(err)); + return; + } + +@@ -129,7 +131,7 @@ static void defer_cb(pa_mainloop_api*a, pa_defer_event* e, void *userdata) { + a->defer_enable(fdl->defer, 0); + + if ((n = snd_mixer_poll_descriptors_count(fdl->mixer)) < 0) { +- pa_log("snd_mixer_poll_descriptors_count() failed: %s", snd_strerror(n)); ++ pa_log("snd_mixer_poll_descriptors_count() failed: %s", pa_alsa_strerror(n)); + return; + } + num_fds = (unsigned) n; +@@ -146,7 +148,7 @@ static void defer_cb(pa_mainloop_api*a, pa_defer_event* e, void *userdata) { + memset(fdl->work_fds, 0, sizeof(struct pollfd) * num_fds); + + if ((err = snd_mixer_poll_descriptors(fdl->mixer, fdl->work_fds, num_fds)) < 0) { +- pa_log_error("Unable to get poll descriptors: %s", snd_strerror(err)); ++ pa_log_error("Unable to get poll descriptors: %s", pa_alsa_strerror(err)); + return; + } + +@@ -482,42 +484,42 @@ int pa_alsa_set_sw_params(snd_pcm_t *pcm, snd_pcm_uframes_t avail_min) { + snd_pcm_sw_params_alloca(&swparams); + + if ((err = snd_pcm_sw_params_current(pcm, swparams) < 0)) { +- pa_log_warn("Unable to determine current swparams: %s\n", snd_strerror(err)); ++ pa_log_warn("Unable to determine current swparams: %s\n", pa_alsa_strerror(err)); + return err; + } + + if ((err = snd_pcm_sw_params_set_period_event(pcm, swparams, 0)) < 0) { +- pa_log_warn("Unable to disable period event: %s\n", snd_strerror(err)); ++ pa_log_warn("Unable to disable period event: %s\n", pa_alsa_strerror(err)); + return err; + } + + if ((err = snd_pcm_sw_params_set_tstamp_mode(pcm, swparams, SND_PCM_TSTAMP_ENABLE)) < 0) { +- pa_log_warn("Unable to enable time stamping: %s\n", snd_strerror(err)); ++ pa_log_warn("Unable to enable time stamping: %s\n", pa_alsa_strerror(err)); + return err; + } + + if ((err = snd_pcm_sw_params_get_boundary(swparams, &boundary)) < 0) { +- pa_log_warn("Unable to get boundary: %s\n", snd_strerror(err)); ++ pa_log_warn("Unable to get boundary: %s\n", pa_alsa_strerror(err)); + return err; + } + + if ((err = snd_pcm_sw_params_set_stop_threshold(pcm, swparams, boundary)) < 0) { +- pa_log_warn("Unable to set stop threshold: %s\n", snd_strerror(err)); ++ pa_log_warn("Unable to set stop threshold: %s\n", pa_alsa_strerror(err)); + return err; + } + + if ((err = snd_pcm_sw_params_set_start_threshold(pcm, swparams, (snd_pcm_uframes_t) -1)) < 0) { +- pa_log_warn("Unable to set start threshold: %s\n", snd_strerror(err)); ++ pa_log_warn("Unable to set start threshold: %s\n", pa_alsa_strerror(err)); + return err; + } + + if ((err = snd_pcm_sw_params_set_avail_min(pcm, swparams, avail_min)) < 0) { +- pa_log_error("snd_pcm_sw_params_set_avail_min() failed: %s", snd_strerror(err)); ++ pa_log_error("snd_pcm_sw_params_set_avail_min() failed: %s", pa_alsa_strerror(err)); + return err; + } + + if ((err = snd_pcm_sw_params(pcm, swparams)) < 0) { +- pa_log_warn("Unable to set sw params: %s\n", snd_strerror(err)); ++ pa_log_warn("Unable to set sw params: %s\n", pa_alsa_strerror(err)); + return err; + } + +@@ -854,7 +856,7 @@ snd_pcm_t *pa_alsa_open_by_device_string( + SND_PCM_NO_AUTO_RESAMPLE| + SND_PCM_NO_AUTO_CHANNELS| + (reformat ? 0 : SND_PCM_NO_AUTO_FORMAT))) < 0) { +- pa_log_info("Error opening PCM device %s: %s", d, snd_strerror(err)); ++ pa_log_info("Error opening PCM device %s: %s", d, pa_alsa_strerror(err)); + goto fail; + } + +@@ -882,7 +884,7 @@ snd_pcm_t *pa_alsa_open_by_device_string( + continue; + } + +- pa_log_info("Failed to set hardware parameters on %s: %s", d, snd_strerror(err)); ++ pa_log_info("Failed to set hardware parameters on %s: %s", d, pa_alsa_strerror(err)); + snd_pcm_close(pcm_handle); + + goto fail; +@@ -1000,17 +1002,17 @@ int pa_alsa_prepare_mixer(snd_mixer_t *mixer, const char *dev) { + pa_assert(dev); + + if ((err = snd_mixer_attach(mixer, dev)) < 0) { +- pa_log_info("Unable to attach to mixer %s: %s", dev, snd_strerror(err)); ++ pa_log_info("Unable to attach to mixer %s: %s", dev, pa_alsa_strerror(err)); + return -1; + } + + if ((err = snd_mixer_selem_register(mixer, NULL, NULL)) < 0) { +- pa_log_warn("Unable to register mixer: %s", snd_strerror(err)); ++ pa_log_warn("Unable to register mixer: %s", pa_alsa_strerror(err)); + return -1; + } + + if ((err = snd_mixer_load(mixer)) < 0) { +- pa_log_warn("Unable to load mixer: %s", snd_strerror(err)); ++ pa_log_warn("Unable to load mixer: %s", pa_alsa_strerror(err)); + return -1; + } + +@@ -1136,7 +1138,7 @@ int pa_alsa_find_mixer_and_elem( + } + + if ((err = snd_mixer_open(&m, 0)) < 0) { +- pa_log("Error opening mixer: %s", snd_strerror(err)); ++ pa_log("Error opening mixer: %s", pa_alsa_strerror(err)); + return -1; + } + +@@ -1338,7 +1340,7 @@ void pa_alsa_dump(pa_log_level_t level, snd_pcm_t *pcm) { + pa_assert_se(snd_output_buffer_open(&out) == 0); + + if ((err = snd_pcm_dump(pcm, out)) < 0) +- pa_logl(level, "snd_pcm_dump(): %s", snd_strerror(err)); ++ pa_logl(level, "snd_pcm_dump(): %s", pa_alsa_strerror(err)); + else { + char *s = NULL; + snd_output_buffer_string(out, &s); +@@ -1362,7 +1364,7 @@ void pa_alsa_dump_status(snd_pcm_t *pcm) { + pa_assert_se(snd_pcm_status(pcm, status) == 0); + + if ((err = snd_pcm_status_dump(status, out)) < 0) +- pa_log_debug("snd_pcm_dump(): %s", snd_strerror(err)); ++ pa_log_debug("snd_pcm_dump(): %s", pa_alsa_strerror(err)); + else { + char *s = NULL; + snd_output_buffer_string(out, &s); +@@ -1524,7 +1526,7 @@ void pa_alsa_init_proplist_pcm(pa_core *c, pa_proplist *p, snd_pcm_t *pcm, snd_m + snd_pcm_info_alloca(&info); + + if ((err = snd_pcm_hw_params_current(pcm, hwparams)) < 0) +- pa_log_warn("Error fetching hardware parameter info: %s", snd_strerror(err)); ++ pa_log_warn("Error fetching hardware parameter info: %s", pa_alsa_strerror(err)); + else { + + if ((bits = snd_pcm_hw_params_get_sbits(hwparams)) >= 0) +@@ -1535,7 +1537,7 @@ void pa_alsa_init_proplist_pcm(pa_core *c, pa_proplist *p, snd_pcm_t *pcm, snd_m + pa_proplist_sets(p, "alsa.mixer_element", snd_mixer_selem_get_name(elem)); + + if ((err = snd_pcm_info(pcm, info)) < 0) +- pa_log_warn("Error fetching PCM info: %s", snd_strerror(err)); ++ pa_log_warn("Error fetching PCM info: %s", pa_alsa_strerror(err)); + else + pa_alsa_init_proplist_pcm_info(c, p, info); + } +@@ -1568,14 +1570,14 @@ int pa_alsa_recover_from_poll(snd_pcm_t *pcm, int revents) { + + case SND_PCM_STATE_XRUN: + if ((err = snd_pcm_recover(pcm, -EPIPE, 1)) != 0) { +- pa_log_warn("Could not recover from POLLERR|POLLNVAL|POLLHUP and XRUN: %s", snd_strerror(err)); ++ pa_log_warn("Could not recover from POLLERR|POLLNVAL|POLLHUP and XRUN: %s", pa_alsa_strerror(err)); + return -1; + } + break; + + case SND_PCM_STATE_SUSPENDED: + if ((err = snd_pcm_recover(pcm, -ESTRPIPE, 1)) != 0) { +- pa_log_warn("Could not recover from POLLERR|POLLNVAL|POLLHUP and SUSPENDED: %s", snd_strerror(err)); ++ pa_log_warn("Could not recover from POLLERR|POLLNVAL|POLLHUP and SUSPENDED: %s", pa_alsa_strerror(err)); + return -1; + } + break; +@@ -1585,7 +1587,7 @@ int pa_alsa_recover_from_poll(snd_pcm_t *pcm, int revents) { + snd_pcm_drop(pcm); + + if ((err = snd_pcm_prepare(pcm)) < 0) { +- pa_log_warn("Could not recover from POLLERR|POLLNVAL|POLLHUP with snd_pcm_prepare(): %s", snd_strerror(err)); ++ pa_log_warn("Could not recover from POLLERR|POLLNVAL|POLLHUP with snd_pcm_prepare(): %s", pa_alsa_strerror(err)); + return -1; + } + break; +@@ -1602,7 +1604,7 @@ pa_rtpoll_item* pa_alsa_build_pollfd(snd_pcm_t *pcm, pa_rtpoll *rtpoll) { + pa_assert(pcm); + + if ((n = snd_pcm_poll_descriptors_count(pcm)) < 0) { +- pa_log("snd_pcm_poll_descriptors_count() failed: %s", snd_strerror(n)); ++ pa_log("snd_pcm_poll_descriptors_count() failed: %s", pa_alsa_strerror(n)); + return NULL; + } + +@@ -1610,7 +1612,7 @@ pa_rtpoll_item* pa_alsa_build_pollfd(snd_pcm_t *pcm, pa_rtpoll *rtpoll) { + pollfd = pa_rtpoll_item_get_pollfd(item, NULL); + + if ((err = snd_pcm_poll_descriptors(pcm, pollfd, (unsigned) n)) < 0) { +- pa_log("snd_pcm_poll_descriptors() failed: %s", snd_strerror(err)); ++ pa_log("snd_pcm_poll_descriptors() failed: %s", pa_alsa_strerror(err)); + pa_rtpoll_item_free(item); + return NULL; + } +@@ -1819,3 +1821,30 @@ pa_bool_t pa_alsa_pcm_is_modem(snd_pcm_t *pcm) { + + return snd_pcm_info_get_class(info) == SND_PCM_CLASS_MODEM; + } ++ ++PA_STATIC_TLS_DECLARE(cstrerror, pa_xfree); ++ ++const char* pa_alsa_strerror(int errnum) { ++ const char *original = NULL; ++ char *translated, *t; ++ char errbuf[128]; ++ ++ if ((t = PA_STATIC_TLS_GET(cstrerror))) ++ pa_xfree(t); ++ ++ original = snd_strerror(errnum); ++ ++ if (!original) { ++ pa_snprintf(errbuf, sizeof(errbuf), "Unknown error %i", errnum); ++ original = errbuf; ++ } ++ ++ if (!(translated = pa_locale_to_utf8(original))) { ++ pa_log_warn("Unable to convert error string to locale, filtering."); ++ translated = pa_utf8_filter(original); ++ } ++ ++ PA_STATIC_TLS_SET(cstrerror, translated); ++ ++ return translated; ++} +diff --git a/src/modules/alsa/alsa-util.h b/src/modules/alsa/alsa-util.h +index c8acc7c..77ac8a7 100644 +--- a/src/modules/alsa/alsa-util.h ++++ b/src/modules/alsa/alsa-util.h +@@ -146,4 +146,6 @@ pa_bool_t pa_alsa_pcm_is_hw(snd_pcm_t *pcm); + + pa_bool_t pa_alsa_pcm_is_modem(snd_pcm_t *pcm); + ++const char* pa_alsa_strerror(int errnum); ++ + #endif +diff --git a/src/modules/alsa/module-alsa-card.c b/src/modules/alsa/module-alsa-card.c +index fdc952d..51d466e 100644 +--- a/src/modules/alsa/module-alsa-card.c ++++ b/src/modules/alsa/module-alsa-card.c +@@ -304,7 +304,7 @@ int pa__init(pa_module *m) { + u->modargs = ma; + + if ((alsa_card_index = snd_card_get_index(u->device_id)) < 0) { +- pa_log("Card '%s' doesn't exist: %s", u->device_id, snd_strerror(alsa_card_index)); ++ pa_log("Card '%s' doesn't exist: %s", u->device_id, pa_alsa_strerror(alsa_card_index)); + goto fail; + } + diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.15/autoconf_version.patch b/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.15/autoconf_version.patch new file mode 100644 index 0000000000..7a0759da13 --- /dev/null +++ b/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.15/autoconf_version.patch @@ -0,0 +1,13 @@ +Index: pulseaudio-0.9.15/configure.ac +=================================================================== +--- pulseaudio-0.9.15.orig/configure.ac 2009-04-14 00:09:53.000000000 +0100 ++++ pulseaudio-0.9.15/configure.ac 2009-05-22 11:32:50.000000000 +0100 +@@ -20,7 +20,7 @@ + # along with PulseAudio; if not, write to the Free Software Foundation, + # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +-AC_PREREQ(2.63) ++AC_PREREQ(2.61) + + m4_define(pa_major, [0]) + m4_define(pa_minor, [9]) diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.15/buildfix.patch b/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.15/buildfix.patch new file mode 100644 index 0000000000..ca01e0d80f --- /dev/null +++ b/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.15/buildfix.patch @@ -0,0 +1,13 @@ +Index: pulseaudio-0.9.11/src/pulsecore/atomic.h +=================================================================== +--- pulseaudio-0.9.11.orig/src/pulsecore/atomic.h ++++ pulseaudio-0.9.11/src/pulsecore/atomic.h +@@ -40,6 +40,8 @@ + #error "Please include config.h before including this file!" + #endif + ++#include "macro.h" ++ + #ifdef HAVE_ATOMIC_BUILTINS + + /* __sync based implementation */ diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.15/fallback.patch b/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.15/fallback.patch new file mode 100644 index 0000000000..2fae0d4e78 --- /dev/null +++ b/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.15/fallback.patch @@ -0,0 +1,338 @@ +From: Lennart Poettering +Date: Tue, 28 Apr 2009 23:58:18 +0000 (+0200) +Subject: alsa: allow configuration of fallback device strings in profiles +X-Git-Url: http://git.0pointer.de/?p=pulseaudio.git;a=commitdiff_plain;h=d8710711fb0c74b4ad83ac99c2501218155b502b + +alsa: allow configuration of fallback device strings in profiles + +This has the benefit that we can properly support ALSA devices where +only the raw 'hw' device exists but no 'front' although it's a proper +2ch stereo device. +--- + +diff --git a/src/modules/alsa/alsa-util.c b/src/modules/alsa/alsa-util.c +index 18d6880..a3a0450 100644 +--- a/src/modules/alsa/alsa-util.c ++++ b/src/modules/alsa/alsa-util.c +@@ -528,7 +528,7 @@ int pa_alsa_set_sw_params(snd_pcm_t *pcm, snd_pcm_uframes_t avail_min) { + + static const struct pa_alsa_profile_info device_table[] = { + {{ 1, { PA_CHANNEL_POSITION_MONO }}, +- "hw", ++ "hw", NULL, + N_("Analog Mono"), + "analog-mono", + 1, +@@ -536,7 +536,7 @@ static const struct pa_alsa_profile_info device_table[] = { + "Capture", "Mic" }, + + {{ 2, { PA_CHANNEL_POSITION_LEFT, PA_CHANNEL_POSITION_RIGHT }}, +- "front", ++ "front", "hw", + N_("Analog Stereo"), + "analog-stereo", + 10, +@@ -544,7 +544,7 @@ static const struct pa_alsa_profile_info device_table[] = { + "Capture", "Mic" }, + + {{ 2, { PA_CHANNEL_POSITION_LEFT, PA_CHANNEL_POSITION_RIGHT }}, +- "iec958", ++ "iec958", NULL, + N_("Digital Stereo (IEC958)"), + "iec958-stereo", + 5, +@@ -552,7 +552,7 @@ static const struct pa_alsa_profile_info device_table[] = { + "IEC958 In", NULL }, + + {{ 2, { PA_CHANNEL_POSITION_LEFT, PA_CHANNEL_POSITION_RIGHT }}, +- "hdmi", ++ "hdmi", NULL, + N_("Digital Stereo (HDMI)"), + "hdmi-stereo", + 4, +@@ -561,7 +561,7 @@ static const struct pa_alsa_profile_info device_table[] = { + + {{ 4, { PA_CHANNEL_POSITION_FRONT_LEFT, PA_CHANNEL_POSITION_FRONT_RIGHT, + PA_CHANNEL_POSITION_REAR_LEFT, PA_CHANNEL_POSITION_REAR_RIGHT }}, +- "surround40", ++ "surround40", NULL, + N_("Analog Surround 4.0"), + "analog-surround-40", + 7, +@@ -570,7 +570,7 @@ static const struct pa_alsa_profile_info device_table[] = { + + {{ 4, { PA_CHANNEL_POSITION_FRONT_LEFT, PA_CHANNEL_POSITION_FRONT_RIGHT, + PA_CHANNEL_POSITION_REAR_LEFT, PA_CHANNEL_POSITION_REAR_RIGHT }}, +- "a52", ++ "a52", NULL, + N_("Digital Surround 4.0 (IEC958/AC3)"), + "iec958-ac3-surround-40", + 2, +@@ -580,7 +580,7 @@ static const struct pa_alsa_profile_info device_table[] = { + {{ 5, { PA_CHANNEL_POSITION_FRONT_LEFT, PA_CHANNEL_POSITION_FRONT_RIGHT, + PA_CHANNEL_POSITION_REAR_LEFT, PA_CHANNEL_POSITION_REAR_RIGHT, + PA_CHANNEL_POSITION_LFE }}, +- "surround41", ++ "surround41", NULL, + N_("Analog Surround 4.1"), + "analog-surround-41", + 7, +@@ -590,7 +590,7 @@ static const struct pa_alsa_profile_info device_table[] = { + {{ 5, { PA_CHANNEL_POSITION_FRONT_LEFT, PA_CHANNEL_POSITION_FRONT_RIGHT, + PA_CHANNEL_POSITION_REAR_LEFT, PA_CHANNEL_POSITION_REAR_RIGHT, + PA_CHANNEL_POSITION_CENTER }}, +- "surround50", ++ "surround50", NULL, + N_("Analog Surround 5.0"), + "analog-surround-50", + 7, +@@ -600,7 +600,7 @@ static const struct pa_alsa_profile_info device_table[] = { + {{ 6, { PA_CHANNEL_POSITION_FRONT_LEFT, PA_CHANNEL_POSITION_FRONT_RIGHT, + PA_CHANNEL_POSITION_REAR_LEFT, PA_CHANNEL_POSITION_REAR_RIGHT, + PA_CHANNEL_POSITION_CENTER, PA_CHANNEL_POSITION_LFE }}, +- "surround51", ++ "surround51", NULL, + N_("Analog Surround 5.1"), + "analog-surround-51", + 8, +@@ -610,7 +610,7 @@ static const struct pa_alsa_profile_info device_table[] = { + {{ 6, { PA_CHANNEL_POSITION_FRONT_LEFT, PA_CHANNEL_POSITION_FRONT_RIGHT, + PA_CHANNEL_POSITION_REAR_LEFT, PA_CHANNEL_POSITION_REAR_RIGHT, + PA_CHANNEL_POSITION_FRONT_CENTER, PA_CHANNEL_POSITION_LFE}}, +- "a52", ++ "a52", NULL, + N_("Digital Surround 5.1 (IEC958/AC3)"), + "iec958-ac3-surround-51", + 3, +@@ -621,16 +621,72 @@ static const struct pa_alsa_profile_info device_table[] = { + PA_CHANNEL_POSITION_REAR_LEFT, PA_CHANNEL_POSITION_REAR_RIGHT, + PA_CHANNEL_POSITION_CENTER, PA_CHANNEL_POSITION_LFE, + PA_CHANNEL_POSITION_SIDE_LEFT, PA_CHANNEL_POSITION_SIDE_RIGHT }}, +- "surround71", ++ "surround71", NULL, + N_("Analog Surround 7.1"), + "analog-surround-71", + 7, + "Master", "PCM", + "Capture", "Mic" }, + +- {{ 0, { 0 }}, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL } ++ {{ 0, { 0 }}, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL } + }; + ++static snd_pcm_t *open_by_device_string_with_fallback( ++ const char *prefix, ++ const char *prefix_fallback, ++ const char *dev_id, ++ char **dev, ++ pa_sample_spec *ss, ++ pa_channel_map* map, ++ int mode, ++ uint32_t *nfrags, ++ snd_pcm_uframes_t *period_size, ++ snd_pcm_uframes_t tsched_size, ++ pa_bool_t *use_mmap, ++ pa_bool_t *use_tsched, ++ pa_bool_t require_exact_channel_number) { ++ ++ snd_pcm_t *pcm_handle; ++ char *d; ++ ++ d = pa_sprintf_malloc("%s:%s", prefix, dev_id); ++ ++ pcm_handle = pa_alsa_open_by_device_string( ++ d, ++ dev, ++ ss, ++ map, ++ mode, ++ nfrags, ++ period_size, ++ tsched_size, ++ use_mmap, ++ use_tsched, ++ require_exact_channel_number); ++ pa_xfree(d); ++ ++ if (!pcm_handle && prefix_fallback) { ++ ++ d = pa_sprintf_malloc("%s:%s", prefix_fallback, dev_id); ++ ++ pcm_handle = pa_alsa_open_by_device_string( ++ d, ++ dev, ++ ss, ++ map, ++ mode, ++ nfrags, ++ period_size, ++ tsched_size, ++ use_mmap, ++ use_tsched, ++ require_exact_channel_number); ++ pa_xfree(d); ++ } ++ ++ return pcm_handle; ++} ++ + snd_pcm_t *pa_alsa_open_by_device_id_auto( + const char *dev_id, + char **dev, +@@ -671,14 +727,14 @@ snd_pcm_t *pa_alsa_open_by_device_id_auto( + + pa_log_debug("Checking for %s (%s)", device_table[i].name, device_table[i].alsa_name); + +- d = pa_sprintf_malloc("%s:%s", device_table[i].alsa_name, dev_id); +- + try_ss.channels = device_table[i].map.channels; + try_ss.rate = ss->rate; + try_ss.format = ss->format; + +- pcm_handle = pa_alsa_open_by_device_string( +- d, ++ pcm_handle = open_by_device_string_with_fallback( ++ device_table[i].alsa_name, ++ device_table[i].alsa_name_fallback, ++ dev_id, + dev, + &try_ss, + map, +@@ -690,8 +746,6 @@ snd_pcm_t *pa_alsa_open_by_device_id_auto( + use_tsched, + TRUE); + +- pa_xfree(d); +- + if (pcm_handle) { + + *ss = try_ss; +@@ -703,6 +757,7 @@ snd_pcm_t *pa_alsa_open_by_device_id_auto( + + return pcm_handle; + } ++ + } + + if (direction > 0) { +@@ -775,7 +830,6 @@ snd_pcm_t *pa_alsa_open_by_device_id_profile( + pa_bool_t *use_tsched, + const pa_alsa_profile_info *profile) { + +- char *d; + snd_pcm_t *pcm_handle; + pa_sample_spec try_ss; + +@@ -787,14 +841,14 @@ snd_pcm_t *pa_alsa_open_by_device_id_profile( + pa_assert(period_size); + pa_assert(profile); + +- d = pa_sprintf_malloc("%s:%s", profile->alsa_name, dev_id); +- + try_ss.channels = profile->map.channels; + try_ss.rate = ss->rate; + try_ss.format = ss->format; + +- pcm_handle = pa_alsa_open_by_device_string( +- d, ++ pcm_handle = open_by_device_string_with_fallback( ++ profile->alsa_name, ++ profile->alsa_name_fallback, ++ dev_id, + dev, + &try_ss, + map, +@@ -806,8 +860,6 @@ snd_pcm_t *pa_alsa_open_by_device_id_profile( + use_tsched, + TRUE); + +- pa_xfree(d); +- + if (!pcm_handle) + return NULL; + +@@ -860,6 +912,8 @@ snd_pcm_t *pa_alsa_open_by_device_string( + goto fail; + } + ++ pa_log_debug("Managed to open %s", d); ++ + if ((err = pa_alsa_set_hw_params(pcm_handle, ss, nfrags, period_size, tsched_size, use_mmap, use_tsched, require_exact_channel_number)) < 0) { + + if (!reformat) { +@@ -928,26 +982,25 @@ int pa_alsa_probe_profiles( + snd_pcm_t *pcm_i = NULL; + + if (i->alsa_name) { +- char *id; + pa_sample_spec try_ss; + pa_channel_map try_map; + + pa_log_debug("Checking for playback on %s (%s)", i->name, i->alsa_name); +- id = pa_sprintf_malloc("%s:%s", i->alsa_name, dev_id); + + try_ss = *ss; + try_ss.channels = i->map.channels; + try_map = i->map; + +- pcm_i = pa_alsa_open_by_device_string( +- id, NULL, ++ pcm_i = open_by_device_string_with_fallback( ++ i->alsa_name, ++ i->alsa_name_fallback, ++ dev_id, ++ NULL, + &try_ss, &try_map, + SND_PCM_STREAM_PLAYBACK, + NULL, NULL, 0, NULL, NULL, + TRUE); + +- pa_xfree(id); +- + if (!pcm_i) + continue; + } +@@ -956,26 +1009,25 @@ int pa_alsa_probe_profiles( + snd_pcm_t *pcm_j = NULL; + + if (j->alsa_name) { +- char *jd; + pa_sample_spec try_ss; + pa_channel_map try_map; + + pa_log_debug("Checking for capture on %s (%s)", j->name, j->alsa_name); +- jd = pa_sprintf_malloc("%s:%s", j->alsa_name, dev_id); + + try_ss = *ss; + try_ss.channels = j->map.channels; + try_map = j->map; + +- pcm_j = pa_alsa_open_by_device_string( +- jd, NULL, ++ pcm_j = open_by_device_string_with_fallback( ++ j->alsa_name, ++ j->alsa_name_fallback, ++ dev_id, ++ NULL, + &try_ss, &try_map, + SND_PCM_STREAM_CAPTURE, + NULL, NULL, 0, NULL, NULL, + TRUE); + +- pa_xfree(jd); +- + if (!pcm_j) + continue; + } +diff --git a/src/modules/alsa/alsa-util.h b/src/modules/alsa/alsa-util.h +index 77ac8a7..4c5d336 100644 +--- a/src/modules/alsa/alsa-util.h ++++ b/src/modules/alsa/alsa-util.h +@@ -56,6 +56,7 @@ int pa_alsa_set_sw_params(snd_pcm_t *pcm, snd_pcm_uframes_t avail_min); + typedef struct pa_alsa_profile_info { + pa_channel_map map; + const char *alsa_name; ++ const char *alsa_name_fallback; + const char *description; /* internationalized */ + const char *name; + unsigned priority; diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.15/gcc4-compile-fix.patch b/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.15/gcc4-compile-fix.patch new file mode 100644 index 0000000000..34ad026e4d --- /dev/null +++ b/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.15/gcc4-compile-fix.patch @@ -0,0 +1,18 @@ +| fix for more strict syntax compliance in gcc4.x +| pulsecore/core-util.c: In function 'pa_raise_priority': +| pulsecore/core-util.c:547: error: label at end of compound statement +| Signed off: mickey@openmoko.org +| +Index: pulseaudio-0.9.6/src/pulsecore/core-util.c +=================================================================== +--- pulseaudio-0.9.6.orig/src/pulsecore/core-util.c ++++ pulseaudio-0.9.6/src/pulsecore/core-util.c +@@ -535,7 +535,7 @@ void pa_raise_priority(void) { + pa_log_info("Successfully gained high priority class."); + #endif + +-fail: ++fail:; + + #if defined(HAVE_SYS_CAPABILITY_H) + if (caps) { diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.15/periodfix.patch b/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.15/periodfix.patch new file mode 100644 index 0000000000..3a1c605009 --- /dev/null +++ b/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.15/periodfix.patch @@ -0,0 +1,73 @@ +X-Git-Url: http://git.0pointer.de/?p=pulseaudio.git;a=blobdiff_plain;f=src%2Fmodules%2Falsa%2Falsa-util.c;h=107bec357c7889f0197853f5e5f1951a5a2f5be0;hp=a3a045080dac0e1b30e8671443ce73a03337cf14;hb=4bffc7849f7898fa85dd6ac8e735db86b57814b3;hpb=d2b5ae5525e9036c4f91b1615879a5a07aac5bf2 + +diff --git a/src/modules/alsa/alsa-util.c b/src/modules/alsa/alsa-util.c +index a3a0450..107bec3 100644 +--- a/src/modules/alsa/alsa-util.c ++++ b/src/modules/alsa/alsa-util.c +@@ -334,7 +334,6 @@ int pa_alsa_set_hw_params( + int ret = -1; + snd_pcm_uframes_t _period_size = period_size ? *period_size : 0; + unsigned int _periods = periods ? *periods : 0; +- snd_pcm_uframes_t buffer_size; + unsigned int r = ss->rate; + unsigned int c = ss->channels; + pa_sample_format_t f = ss->format; +@@ -390,39 +389,47 @@ int pa_alsa_set_hw_params( + goto finish; + + if (_period_size && tsched_size && _periods) { ++ + /* Adjust the buffer sizes, if we didn't get the rate we were asking for */ + _period_size = (snd_pcm_uframes_t) (((uint64_t) _period_size * r) / ss->rate); + tsched_size = (snd_pcm_uframes_t) (((uint64_t) tsched_size * r) / ss->rate); + + if (_use_tsched) { +- _period_size = tsched_size; +- _periods = 1; ++ snd_pcm_uframes_t buffer_size; + + pa_assert_se(snd_pcm_hw_params_get_buffer_size_max(hwparams, &buffer_size) == 0); + pa_log_debug("Maximum hw buffer size is %u ms", (unsigned) buffer_size * 1000 / r); ++ ++ _period_size = tsched_size; ++ _periods = 1; + } + ++ if (_period_size > 0 && _periods > 0) { ++ snd_pcm_uframes_t buffer_size; ++ + buffer_size = _periods * _period_size; + ++ if ((ret = snd_pcm_hw_params_set_buffer_size_near(pcm_handle, hwparams, &buffer_size)) < 0) ++ pa_log_info("snd_pcm_hw_params_set_buffer_size_near() failed: %s", pa_alsa_strerror(ret)); ++ } ++ + if (_periods > 0) { + +- /* First we pass 0 as direction to get exactly what we asked +- * for. That this is necessary is presumably a bug in ALSA */ ++ /* First we pass 0 as direction to get exactly what we ++ * asked for. That this is necessary is presumably a bug ++ * in ALSA. All in all this is mostly a hint to ALSA, so ++ * we don't care if this fails. */ + + dir = 0; +- if ((ret = snd_pcm_hw_params_set_periods_near(pcm_handle, hwparams, &_periods, &dir)) < 0) { ++ if (snd_pcm_hw_params_set_periods_near(pcm_handle, hwparams, &_periods, &dir) < 0) { + dir = 1; +- if ((ret = snd_pcm_hw_params_set_periods_near(pcm_handle, hwparams, &_periods, &dir)) < 0) { ++ if (snd_pcm_hw_params_set_periods_near(pcm_handle, hwparams, &_periods, &dir) < 0) { + dir = -1; + if ((ret = snd_pcm_hw_params_set_periods_near(pcm_handle, hwparams, &_periods, &dir)) < 0) +- goto finish; ++ pa_log_info("snd_pcm_hw_params_set_periods_near() failed: %s", pa_alsa_strerror(ret)); + } + } + } +- +- if (_period_size > 0) +- if ((ret = snd_pcm_hw_params_set_buffer_size_near(pcm_handle, hwparams, &buffer_size)) < 0) +- goto finish; + } + + if ((ret = snd_pcm_hw_params(pcm_handle, hwparams)) < 0) diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.15/volatiles.04_pulse b/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.15/volatiles.04_pulse new file mode 100644 index 0000000000..5b1998032b --- /dev/null +++ b/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.15/volatiles.04_pulse @@ -0,0 +1,2 @@ +# +d pulse pulse 0755 /var/run/pulse none diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc new file mode 100644 index 0000000000..fd8e60c471 --- /dev/null +++ b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc @@ -0,0 +1,126 @@ +DESCRIPTION = "Pulseaudio is a sound server for Linux and Unix-like operating systems." +HOMEPAGE = "http://www.pulseaudio.org" +AUTHOR = "Lennart Poettering" +SECTION = "libs/multimedia" +LICENSE = "LGPL" +DEPENDS = "libatomics-ops liboil avahi libsamplerate0 libsndfile1 libtool hal virtual/libx11" +# optional +DEPENDS += "alsa-lib glib-2.0 dbus consolekit hal" + +SRC_URI = "http://0pointer.de/lennart/projects/pulseaudio/pulseaudio-${PV}.tar.gz \ + file://gcc4-compile-fix.patch;patch=1 \ + file://volatiles.04_pulse" + +inherit autotools pkgconfig + +EXTRA_OECONF = "\ + --disable-lynx \ + --disable-bluez \ + --disable-polkit \ + --with-x \ + --without-jack \ + --with-glib \ + --with-alsa \ + --with-oss \ + --with-hal \ +" + +PARALLEL_MAKE = "" + +export TARGET_PFPU = "${TARGET_FPU}" + +# TODO: Use more fine granular version +#OE_LT_RPATH_ALLOW=":${libdir}/pulse-0.9:" +OE_LT_RPATH_ALLOW = "any" +OE_LT_RPATH_ALLOW[export]="1" + +do_install_append() { + install -d ${D}${sysconfdir}/default/volatiles + install -m 0644 ${WORKDIR}/volatiles.04_pulse ${D}${sysconfdir}/default/volatiles/volatiles.04_pulse + + if [ "x${TARGET_PFPU}" == "xsoft" ] ; then + sed -i -e s:\;\ resample-method\ =\ sinc-fastest:resample-method\ =\ trivial: ${D}${sysconfdir}/pulse/daemon.conf + fi +} + +PACKAGES =+ "libpulsecore libpulsecommon libpulsedsp libpulse libpulse-simple libpulse-browse libpulse-mainloop-glib \ + pulseaudio-server pulseaudio-misc pulseaudio-gconf-helper" + +#upgrade path: +RREPLACES_pulseaudio-server = "libpulse-bin libpulse-conf" + +PACKAGES_DYNAMIC = "pulseaudio-lib* pulseaudio-module* libpulse-lib* libpulse-module* " + +FILES_libpulsecore = "${libdir}/libpulsecore*.so" +FILES_libpulsecommon = "${libdir}/libpulsecommon*.so" +FILES_libpulsedsp = "${libdir}/libpulsedsp*.so" +FILES_libpulse = "${libdir}/libpulse.so.*" +FILES_libpulse-simple = "${libdir}/libpulse-simple.so.*" +FILES_libpulse-browse = "${libdir}/libpulse-browse.so.*" +FILES_libpulse-mainloop-glib = "${libdir}/libpulse-mainloop-glib.so.*" + +FILES_${PN}-dbg += "${libexecdir}/pulse/.debug \ + ${libdir}/pulse-${PV}/modules/.debug" +FILES_${PN}-dev += "${libdir}/pulse-${PV}/modules/*.la" +FILES_${PN}-conf = "${sysconfdir}" +FILES_${PN}-bin = "${bindir}/* \ + ${sysconfdir}/default/volatiles/volatiles.04_pulse" +FILES_${PN}-server = "${bindir}/pulseaudio ${bindir}/start-* ${sysconfdir} ${bindir}/pactl" +FILES_${PN}-gconf-helper = "${libexecdir}/pulse/gconf-helper" +FILES_${PN}-misc = "${bindir}/*" + +# Allow the pulseaudio package to be created empty as a placeholder (-dbg and -dev depend on it) +ALLOW_EMPTY_${PN} = "1" + +CONFFILES_pulseaudio-server = "\ + ${sysconfdir}/pulse/default.pa \ + ${sysconfdir}/pulse/daemon.conf \ + ${sysconfdir}/pulse/client.conf \ + " + +pkg_postinst_${PN}-server() { + # can't do this offline + if [ "x$D" != "x" ]; then + exit 1 + fi + grep -q pulse: /etc/group || addgroup pulse + grep -q pulse: /etc/passwd || \ + adduser --disabled-password --home=/var/run/pulse --system \ + --ingroup pulse --no-create-home -g "Pulse audio daemon" pulse + addgroup pulse audio + /etc/init.d/populate-volatile.sh update +} + +pkg_postrm_${PN}-server() { + deluser pulse || true +} + +python populate_packages_prepend() { + #bb.data.setVar('PKG_pulseaudio', 'pulseaudio', d) + + plugindir = bb.data.expand('${libdir}/pulse-${PV}/modules/', d) + do_split_packages(d, plugindir, '^module-(.*)\.so$', 'pulseaudio-module-%s', 'PulseAudio module for %s', extra_depends='' ) + do_split_packages(d, plugindir, '^lib(.*)\.so$', 'pulseaudio-lib-%s', 'PulseAudio library for %s', extra_depends='' ) +} + +RDEPENDS_pulseaudio-module-console-kit =+ "consolekit" +RDEPENDS_pulseaudio-module-hal-detect =+ "hal" +RDEPENDS_pulseaudio-server = " \ + pulseaudio-module-device-restore \ + pulseaudio-module-stream-restore \ + pulseaudio-module-card-restore \ + pulseaudio-module-augment-properties \ + pulseaudio-module-detect \ + pulseaudio-module-alsa-sink \ + pulseaudio-module-alsa-source \ + pulseaudio-module-alsa-card \ + pulseaudio-module-native-protocol-unix \ + pulseaudio-module-hal-detect \ + pulseaudio-module-default-device-restore \ + pulseaudio-module-rescue-streams \ + pulseaudio-module-always-sink \ + pulseaudio-module-suspend-on-idle \ + pulseaudio-module-console-kit \ + pulseaudio-module-position-event-sounds \ + pulseaudio-module-cork-music-on-phone " + diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio_0.9.15.bb b/meta/recipes-multimedia/pulseaudio/pulseaudio_0.9.15.bb new file mode 100644 index 0000000000..49387ece83 --- /dev/null +++ b/meta/recipes-multimedia/pulseaudio/pulseaudio_0.9.15.bb @@ -0,0 +1,18 @@ +require pulseaudio.inc + +DEPENDS += "dbus gdbm speex" +PR = "r14" + +SRC_URI += "\ + file://buildfix.patch;patch=1 \ + file://alsaerror.patch;patch=1 \ + file://periodfix.patch;patch=1 \ + file://fallback.patch;patch=1 \ + file://autoconf_version.patch;patch=1 \ +" + +do_compile_prepend() { + cd ${S} + mkdir -p ${S}/libltdl + cp ${STAGING_LIBDIR}/libltdl* ${S}/libltdl +} diff --git a/meta/recipes-sato/claws-mail/claws-mail.inc b/meta/recipes-sato/claws-mail/claws-mail.inc deleted file mode 100644 index 04401df2f5..0000000000 --- a/meta/recipes-sato/claws-mail/claws-mail.inc +++ /dev/null @@ -1,57 +0,0 @@ -SECTION = "x11/network" -DESCRIPTION = "Mail user agent" -#DEPENDS = "gtk+ gpgme libetpan libgnomeprint aspell openssl" -DEPENDS = "gtk+ libetpan openssl libowl" -LICENSE = "GPL" -PR = "r6" - -SRC_URI = "\ - ${SOURCEFORGE_MIRROR}/sylpheed-claws/claws-mail-${PV}.tar.bz2 \ - file://desktop.patch;patch=1 \ - file://streamline-ui.patch;patch=1 \ - file://owl-window-menu.patch;patch=1 \ - file://fix-build.patch;patch=1 \ - " - -FILES_${PN} = "${bindir} ${datadir}/pixmaps ${datadir}/applications" - -#EXTRA_OECONF = "--disable-aspell-test \ -# --disable-dillo-viewer-plugin --with-aspell-prefix=${STAGING_DIR_HOST}${prefix} \ -# --enable-aspell" - -EXTRA_OECONF = "--disable-aspell-test \ - --disable-aspell \ - --disable-manual \ -# --disable-openssl \ - --disable-crash-dialog \ - --disable-jpilot \ - --disable-trayicon-plugin \ - --disable-spamassassin-plugin \ - --disable-bogofilter-plugin \ - --disable-pgpcore-plugin \ - --disable-pgpmime-plugin \ - --disable-pgpinline-plugin \ - --disable-dillo-viewer-plugin \ - --disable-clamav-plugin \ -# --disable-libetpan \ - --disable-gnomeprint \ - --disable-valgrind \ - --disable-static \ - " - -CFLAGS += "-D_GNU_SOURCE" - -inherit autotools pkgconfig gettext - -do_install_append() { - install -d ${D}${datadir}/applications - install -m 0644 claws-mail.desktop ${D}${datadir}/applications/ - install -d ${D}${datadir}/pixmaps - install -m 0644 claws-mail.png ${D}${datadir}/pixmaps/ -} - -#python populate_packages_prepend () { -# abiword_libdir = bb.data.expand('${libdir}/claws-mail/plugins', d) -# -# do_split_packages(d, abiword_libdir, '^(.*)\.so$', 'claws-mail-plugin-%s', 'Claws plugin for %s', extra_depends='') -#} diff --git a/meta/recipes-sato/claws-mail/claws-mail_2.9.1.bb b/meta/recipes-sato/claws-mail/claws-mail_2.9.1.bb deleted file mode 100644 index f8a8396b95..0000000000 --- a/meta/recipes-sato/claws-mail/claws-mail_2.9.1.bb +++ /dev/null @@ -1 +0,0 @@ -require claws-mail.inc diff --git a/meta/recipes-sato/claws-mail/claws-plugin-gtkhtml2-viewer_0.15.bb b/meta/recipes-sato/claws-mail/claws-plugin-gtkhtml2-viewer_0.15.bb deleted file mode 100644 index 82918173e4..0000000000 --- a/meta/recipes-sato/claws-mail/claws-plugin-gtkhtml2-viewer_0.15.bb +++ /dev/null @@ -1,14 +0,0 @@ -SECTION = "x11/network" -DESCRIPTION = "Mail user agent plugins" -DEPENDS = "claws-mail gtkhtml2 curl" -LICENSE = "GPL" -PR = "r1" - -SRC_URI = "http://www.claws-mail.org/downloads/plugins/gtkhtml2_viewer-${PV}.tar.gz" - -inherit autotools pkgconfig gettext - -S = "${WORKDIR}/gtkhtml2_viewer-${PV}" - -FILES_${PN} = "${libdir}/claws-mail/plugins/*.so" - diff --git a/meta/recipes-sato/claws-mail/claws-plugin-maildir_0.24.4.bb b/meta/recipes-sato/claws-mail/claws-plugin-maildir_0.24.4.bb deleted file mode 100644 index 4351d1e5de..0000000000 --- a/meta/recipes-sato/claws-mail/claws-plugin-maildir_0.24.4.bb +++ /dev/null @@ -1,14 +0,0 @@ -SECTION = "x11/network" -DESCRIPTION = "Mail user agent plugins" -DEPENDS = "claws-mail db" -LICENSE = "GPL" -PR = "r1" - -SRC_URI = "http://www.claws-mail.org/downloads/plugins/maildir-${PV}.tar.gz" - -inherit autotools pkgconfig - -S = "${WORKDIR}/maildir-${PV}" - -FILES_${PN} = "${libdir}/claws-mail/plugins/*.so" - diff --git a/meta/recipes-sato/claws-mail/claws-plugin-mailmbox_1.13.bb b/meta/recipes-sato/claws-mail/claws-plugin-mailmbox_1.13.bb deleted file mode 100644 index fe7041494f..0000000000 --- a/meta/recipes-sato/claws-mail/claws-plugin-mailmbox_1.13.bb +++ /dev/null @@ -1,14 +0,0 @@ -SECTION = "x11/network" -DESCRIPTION = "Mail user agent plugins" -DEPENDS = "claws-mail" -LICENSE = "GPL" -PR = "r2" - -SRC_URI = "http://www.claws-mail.org/downloads/plugins/mailmbox-${PV}.tar.gz" - -inherit autotools pkgconfig - -S = "${WORKDIR}/mailmbox-${PV}" - -FILES_${PN} = "${libdir}/claws-mail/plugins/*.so" -FILES_${PN}-dbg = "${libdir}/claws-mail/plugins/.debug" diff --git a/meta/recipes-sato/claws-mail/claws-plugin-rssyl_0.13.bb b/meta/recipes-sato/claws-mail/claws-plugin-rssyl_0.13.bb deleted file mode 100644 index de0705c7fd..0000000000 --- a/meta/recipes-sato/claws-mail/claws-plugin-rssyl_0.13.bb +++ /dev/null @@ -1,14 +0,0 @@ -SECTION = "x11/network" -DESCRIPTION = "Mail user agent plugins" -DEPENDS = "claws-mail libxml2 curl glib-2.0 gtk+" -LICENSE = "GPL" -PR = "r1" - -SRC_URI = "http://www.claws-mail.org/downloads/plugins/rssyl-${PV}.tar.gz" - -inherit autotools pkgconfig gettext - -S = "${WORKDIR}/rssyl-${PV}" - -FILES_${PN} = "${libdir}/claws-mail/plugins/*.so" - diff --git a/meta/recipes-sato/claws-mail/files/desktop.patch b/meta/recipes-sato/claws-mail/files/desktop.patch deleted file mode 100644 index c5ed7a9c7d..0000000000 --- a/meta/recipes-sato/claws-mail/files/desktop.patch +++ /dev/null @@ -1,19 +0,0 @@ -Index: claws-mail-2.9.1/claws-mail.desktop -=================================================================== ---- claws-mail-2.9.1.orig/claws-mail.desktop 2007-04-24 17:40:20.000000000 +0100 -+++ claws-mail-2.9.1/claws-mail.desktop 2007-04-25 07:08:36.000000000 +0100 -@@ -1,11 +1,11 @@ - [Desktop Entry] - Encoding=UTF-8 --Name=Claws Mail -+Name=Mail - Exec=claws-mail - Icon=claws-mail --Info="Claws Mail" -+Info=Email Application - Categories=GTK;Network;Email; --Comment="Gtk+ based Mail Client" -+Comment=Email Application - Terminal=false - Type=Application - StartupNotify=true diff --git a/meta/recipes-sato/claws-mail/files/fix-build.patch b/meta/recipes-sato/claws-mail/files/fix-build.patch deleted file mode 100644 index 2f30899fe1..0000000000 --- a/meta/recipes-sato/claws-mail/files/fix-build.patch +++ /dev/null @@ -1,24 +0,0 @@ -Remove duplicate file entries as this breaks install with new Automake - -JL 19/03/10 - -Index: claws-mail-2.9.1/src/gtk/Makefile.am -=================================================================== ---- claws-mail-2.9.1.orig/src/gtk/Makefile.am 2007-03-22 07:52:47.000000000 +0000 -+++ claws-mail-2.9.1/src/gtk/Makefile.am 2010-03-19 14:54:06.565828281 +0000 -@@ -44,7 +44,6 @@ - filesel.h \ - foldersort.h \ - gtkaspell.h \ -- gtksctree.h \ - gtkshruler.h \ - gtksctree.h \ - gtksourceprintjob.h \ -@@ -57,7 +56,6 @@ - menu.h \ - pluginwindow.h \ - prefswindow.h \ -- gtkvscrollbutton.h \ - progressdialog.h \ - quicksearch.h \ - sslcertwindow.h \ diff --git a/meta/recipes-sato/claws-mail/files/owl-window-menu.patch b/meta/recipes-sato/claws-mail/files/owl-window-menu.patch deleted file mode 100644 index 54c61668a9..0000000000 --- a/meta/recipes-sato/claws-mail/files/owl-window-menu.patch +++ /dev/null @@ -1,1009 +0,0 @@ -Index: claws-mail-2.9.1/src/addressbook.c -=================================================================== ---- claws-mail-2.9.1.orig/src/addressbook.c 2007-04-25 10:18:13.000000000 +0100 -+++ claws-mail-2.9.1/src/addressbook.c 2007-04-25 10:30:23.000000000 +0100 -@@ -941,7 +941,6 @@ - sizeof(addressbook_entries[0]); - menubar = menubar_create(window, addressbook_entries, n_entries, - "", NULL); -- gtk_box_pack_start(GTK_BOX(vbox), menubar, FALSE, TRUE, 0); - menu_factory = gtk_item_factory_from_widget(menubar); - - vbox2 = gtk_vbox_new(FALSE, BORDER_WIDTH); -Index: claws-mail-2.9.1/src/gtk/menu.c -=================================================================== ---- claws-mail-2.9.1.orig/src/gtk/menu.c 2007-04-25 10:18:13.000000000 +0100 -+++ claws-mail-2.9.1/src/gtk/menu.c 2007-04-25 10:30:23.000000000 +0100 -@@ -35,10 +35,7 @@ - #include "menu.h" - #include "utils.h" - --#ifdef MAEMO --#include --#include --#endif -+#include - - static void connect_accel_change_signals(GtkWidget* widget, GtkWidget *wid2) ; - -@@ -49,20 +46,14 @@ - GtkItemFactory *factory; - GtkWidget *menubar; - --#ifdef MAEMO - factory = gtk_item_factory_new(GTK_TYPE_MENU, path, NULL); --#else -- factory = gtk_item_factory_new(GTK_TYPE_MENU_BAR, path, NULL); --#endif - gtk_item_factory_set_translate_func(factory, menu_translate, - NULL, NULL); - gtk_item_factory_create_items(factory, n_entries, entries, data); - gtk_window_add_accel_group (GTK_WINDOW (window), factory->accel_group); - - menubar = gtk_item_factory_get_widget(factory, path); --#ifdef MAEMO -- hildon_window_set_menu(HILDON_WINDOW(window), GTK_MENU(menubar)); --#endif -+ owl_set_window_menu(GTK_WINDOW(window), GTK_MENU(menubar)); - return menubar; - } - -Index: claws-mail-2.9.1/src/mainwindow.c -=================================================================== ---- claws-mail-2.9.1.orig/src/mainwindow.c 2007-04-25 10:26:40.000000000 +0100 -+++ claws-mail-2.9.1/src/mainwindow.c 2007-04-25 10:30:23.000000000 +0100 -@@ -1094,8 +1094,6 @@ - n_menu_entries = sizeof(mainwin_entries) / sizeof(mainwin_entries[0]); - menubar = menubar_create(window, mainwin_entries, - n_menu_entries, "
", mainwin); -- gtk_widget_show(menubar); -- gtk_box_pack_start(GTK_BOX(vbox), menubar, FALSE, TRUE, 0); - ifactory = gtk_item_factory_from_widget(menubar); - - /* gtk_widget_show(gtk_item_factory_get_item(ifactory,"/Message/Mailing-List")); -Index: claws-mail-2.9.1/src/messageview.c -=================================================================== ---- claws-mail-2.9.1.orig/src/messageview.c 2007-04-25 10:18:13.000000000 +0100 -+++ claws-mail-2.9.1/src/messageview.c 2007-04-25 10:30:23.000000000 +0100 -@@ -414,8 +414,6 @@ - n_menu_entries = sizeof(msgview_entries) / sizeof(msgview_entries[0]); - menubar = menubar_create(window, msgview_entries, - n_menu_entries, "", msgview); -- gtk_widget_show(menubar); -- gtk_box_pack_start(GTK_BOX(vbox), menubar, FALSE, TRUE, 0); - - if (prefs_common.toolbar_detachable) { - handlebox = gtk_handle_box_new(); -@@ -478,6 +476,7 @@ - g_signal_connect(G_OBJECT(window), "key_press_event", - G_CALLBACK(key_pressed), msgview); - #endif -+ gtk_widget_realize(window); - messageview_add_toolbar(msgview, window); - - if (show) { -Index: claws-mail-2.9.1/configure.ac -=================================================================== ---- claws-mail-2.9.1.orig/configure.ac 2007-04-25 10:18:13.000000000 +0100 -+++ claws-mail-2.9.1/configure.ac 2007-04-25 10:30:23.000000000 +0100 -@@ -406,6 +406,11 @@ - AC_SUBST(GTK_CFLAGS) - AC_SUBST(GTK_LIBS) - -+OWL_CFLAGS="" -+OWL_LIBS="-lowl" -+AC_SUBST(OWL_CFLAGS) -+AC_SUBST(OWL_LIBS) -+ - dnl GNU/Aspell is used for spell checking - AC_ARG_ENABLE(aspell, - [ --disable-aspell Disable GNU/aspell support [default=yes]], -Index: claws-mail-2.9.1/src/Makefile.am -=================================================================== ---- claws-mail-2.9.1.orig/src/Makefile.am 2007-04-25 10:18:13.000000000 +0100 -+++ claws-mail-2.9.1/src/Makefile.am 2007-04-25 10:30:23.000000000 +0100 -@@ -471,7 +471,8 @@ - $(LIBICONV) \ - $(STARTUP_NOTIFICATION_LIBS) \ - $(LIBETPAN_LIBS) \ -- $(MAEMO_LIBS) -+ $(MAEMO_LIBS) \ -+ $(OWL_LIBS) - - AM_CPPFLAGS = \ - -DG_LOG_DOMAIN=\"Claws-Mail\" \ -@@ -489,6 +490,7 @@ - $(LIBETPAN_CPPFLAGS) \ - $(STARTUP_NOTIFICATION_CFLAGS) \ - $(MAEMO_CFLAGS) \ -+ $(OWL_CFLAGS) \ - -Wno-unused-function - - #no-unused-function is there because of bison stuff -Index: claws-mail-2.9.1/configure -=================================================================== ---- claws-mail-2.9.1.orig/configure 2007-04-25 10:18:13.000000000 +0100 -+++ claws-mail-2.9.1/configure 2007-04-25 10:30:23.000000000 +0100 -@@ -769,7 +769,6 @@ - # include - #endif" - --gt_needs= - ac_subst_vars='SHELL - PATH_SEPARATOR - PACKAGE_NAME -@@ -942,6 +941,8 @@ - PASSCRYPT_KEY - GTK_CFLAGS - GTK_LIBS -+OWL_LIBS -+OWL_CFLAGS - ASPELL - ASPELL_CFLAGS - ASPELL_LIBS -@@ -2063,7 +2064,6 @@ - >$cache_file - fi - --gt_needs="$gt_needs " - # Check that the precious variables saved in the cache have kept the same - # value. - ac_cache_corrupted=false -@@ -3001,9 +3001,7 @@ - # Put the nasty error message in config.log where it belongs - echo "$GNOME2_PKG_ERRORS" >&5 - -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -- ac_enable_gnome2=no -+ ac_enable_gnome2=no - elif test $pkg_failed = untried; then - ac_enable_gnome2=no - else -@@ -4147,14 +4145,12 @@ - - - -- -- { echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5 --echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6; } --if test "${ac_cv_lib_cposix_strerror+set}" = set; then -+{ echo "$as_me:$LINENO: checking for library containing strerror" >&5 -+echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; } -+if test "${ac_cv_search_strerror+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 - else -- ac_check_lib_save_LIBS=$LIBS --LIBS="-lcposix $LIBS" -+ ac_func_search_save_LIBS=$LIBS - cat >conftest.$ac_ext <<_ACEOF - /* confdefs.h. */ - _ACEOF -@@ -4177,7 +4173,14 @@ - return 0; - } - _ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext -+for ac_lib in '' cposix; do -+ if test -z "$ac_lib"; then -+ ac_res="none required" -+ else -+ ac_res=-l$ac_lib -+ LIBS="-l$ac_lib $ac_func_search_save_LIBS" -+ fi -+ rm -f conftest.$ac_objext conftest$ac_exeext - if { (ac_try="$ac_link" - case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -@@ -4195,25 +4198,35 @@ - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then -- ac_cv_lib_cposix_strerror=yes -+ ac_cv_search_strerror=$ac_res - else - echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - -- ac_cv_lib_cposix_strerror=no -+ - fi - - rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext --LIBS=$ac_check_lib_save_LIBS -+ conftest$ac_exeext -+ if test "${ac_cv_search_strerror+set}" = set; then -+ break -+fi -+done -+if test "${ac_cv_search_strerror+set}" = set; then -+ : -+else -+ ac_cv_search_strerror=no - fi --{ echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5 --echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6; } --if test $ac_cv_lib_cposix_strerror = yes; then -- LIBS="$LIBS -lcposix" -+rm conftest.$ac_ext -+LIBS=$ac_func_search_save_LIBS - fi -+{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 -+echo "${ECHO_T}$ac_cv_search_strerror" >&6; } -+ac_res=$ac_cv_search_strerror -+if test "$ac_res" != no; then -+ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - -- -+fi - - # Find a good install program. We prefer a C program (faster), - # so one script is as good as another. But avoid the broken or -@@ -5769,7 +5782,7 @@ - ;; - *-*-irix6*) - # Find out which ABI we are using. -- echo '#line 5772 "configure"' > conftest.$ac_ext -+ echo '#line 5785 "configure"' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? -@@ -8555,11 +8568,11 @@ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` -- (eval echo "\"\$as_me:8558: $lt_compile\"" >&5) -+ (eval echo "\"\$as_me:8571: $lt_compile\"" >&5) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&5 -- echo "$as_me:8562: \$? = $ac_status" >&5 -+ echo "$as_me:8575: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s "$ac_outfile"; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings other than the usual output. -@@ -8823,11 +8836,11 @@ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` -- (eval echo "\"\$as_me:8826: $lt_compile\"" >&5) -+ (eval echo "\"\$as_me:8839: $lt_compile\"" >&5) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&5 -- echo "$as_me:8830: \$? = $ac_status" >&5 -+ echo "$as_me:8843: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s "$ac_outfile"; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings other than the usual output. -@@ -8927,11 +8940,11 @@ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` -- (eval echo "\"\$as_me:8930: $lt_compile\"" >&5) -+ (eval echo "\"\$as_me:8943: $lt_compile\"" >&5) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&5 -- echo "$as_me:8934: \$? = $ac_status" >&5 -+ echo "$as_me:8947: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s out/conftest2.$ac_objext - then - # The compiler can only warn and ignore the option if not recognized -@@ -11224,7 +11237,7 @@ - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 - lt_status=$lt_dlunknown - cat > conftest.$ac_ext < conftest.$ac_ext <&5) -+ (eval echo "\"\$as_me:13676: $lt_compile\"" >&5) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&5 -- echo "$as_me:13667: \$? = $ac_status" >&5 -+ echo "$as_me:13680: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s "$ac_outfile"; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings other than the usual output. -@@ -13764,11 +13777,11 @@ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` -- (eval echo "\"\$as_me:13767: $lt_compile\"" >&5) -+ (eval echo "\"\$as_me:13780: $lt_compile\"" >&5) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&5 -- echo "$as_me:13771: \$? = $ac_status" >&5 -+ echo "$as_me:13784: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s out/conftest2.$ac_objext - then - # The compiler can only warn and ignore the option if not recognized -@@ -15325,11 +15338,11 @@ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` -- (eval echo "\"\$as_me:15328: $lt_compile\"" >&5) -+ (eval echo "\"\$as_me:15341: $lt_compile\"" >&5) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&5 -- echo "$as_me:15332: \$? = $ac_status" >&5 -+ echo "$as_me:15345: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s "$ac_outfile"; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings other than the usual output. -@@ -15429,11 +15442,11 @@ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` -- (eval echo "\"\$as_me:15432: $lt_compile\"" >&5) -+ (eval echo "\"\$as_me:15445: $lt_compile\"" >&5) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&5 -- echo "$as_me:15436: \$? = $ac_status" >&5 -+ echo "$as_me:15449: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s out/conftest2.$ac_objext - then - # The compiler can only warn and ignore the option if not recognized -@@ -17616,11 +17629,11 @@ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` -- (eval echo "\"\$as_me:17619: $lt_compile\"" >&5) -+ (eval echo "\"\$as_me:17632: $lt_compile\"" >&5) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&5 -- echo "$as_me:17623: \$? = $ac_status" >&5 -+ echo "$as_me:17636: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s "$ac_outfile"; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings other than the usual output. -@@ -17884,11 +17897,11 @@ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` -- (eval echo "\"\$as_me:17887: $lt_compile\"" >&5) -+ (eval echo "\"\$as_me:17900: $lt_compile\"" >&5) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&5 -- echo "$as_me:17891: \$? = $ac_status" >&5 -+ echo "$as_me:17904: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s "$ac_outfile"; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings other than the usual output. -@@ -17988,11 +18001,11 @@ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` -- (eval echo "\"\$as_me:17991: $lt_compile\"" >&5) -+ (eval echo "\"\$as_me:18004: $lt_compile\"" >&5) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&5 -- echo "$as_me:17995: \$? = $ac_status" >&5 -+ echo "$as_me:18008: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s out/conftest2.$ac_objext - then - # The compiler can only warn and ignore the option if not recognized -@@ -20960,16 +20973,9 @@ - found_so= - found_a= - if test $use_additional = yes; then -- if test -n "$shlibext" \ -- && { test -f "$additional_libdir/lib$name.$shlibext" \ -- || { test "$shlibext" = dll \ -- && test -f "$additional_libdir/lib$name.dll.a"; }; }; then -+ if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then - found_dir="$additional_libdir" -- if test -f "$additional_libdir/lib$name.$shlibext"; then -- found_so="$additional_libdir/lib$name.$shlibext" -- else -- found_so="$additional_libdir/lib$name.dll.a" -- fi -+ found_so="$additional_libdir/lib$name.$shlibext" - if test -f "$additional_libdir/lib$name.la"; then - found_la="$additional_libdir/lib$name.la" - fi -@@ -20997,16 +21003,9 @@ - case "$x" in - -L*) - dir=`echo "X$x" | sed -e 's/^X-L//'` -- if test -n "$shlibext" \ -- && { test -f "$dir/lib$name.$shlibext" \ -- || { test "$shlibext" = dll \ -- && test -f "$dir/lib$name.dll.a"; }; }; then -+ if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then - found_dir="$dir" -- if test -f "$dir/lib$name.$shlibext"; then -- found_so="$dir/lib$name.$shlibext" -- else -- found_so="$dir/lib$name.dll.a" -- fi -+ found_so="$dir/lib$name.$shlibext" - if test -f "$dir/lib$name.la"; then - found_la="$dir/lib$name.la" - fi -@@ -21927,13 +21926,6 @@ - - - -- -- -- -- -- -- -- - { echo "$as_me:$LINENO: checking for CFPreferencesCopyAppValue" >&5 - echo $ECHO_N "checking for CFPreferencesCopyAppValue... $ECHO_C" >&6; } - if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then -@@ -22070,37 +22062,17 @@ - LTLIBINTL= - POSUB= - -- case " $gt_needs " in -- *" need-formatstring-macros "*) gt_api_version=3 ;; -- *" need-ngettext "*) gt_api_version=2 ;; -- *) gt_api_version=1 ;; -- esac -- gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" -- gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" -- - if test "$USE_NLS" = "yes"; then - gt_use_preinstalled_gnugettext=no - - -- if test $gt_api_version -ge 3; then -- gt_revision_test_code=' --#ifndef __GNU_GETTEXT_SUPPORTED_REVISION --#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) --#endif --typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; --' -- else -- gt_revision_test_code= -- fi -- if test $gt_api_version -ge 2; then -- gt_expression_test_code=' + * ngettext ("", "", 0)' -- else -- gt_expression_test_code= -- fi -+ -+ -+ - - { echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5 - echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6; } --if { as_var=$gt_func_gnugettext_libc; eval "test \"\${$as_var+set}\" = set"; }; then -+if test "${gt_cv_func_gnugettext1_libc+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 - else - cat >conftest.$ac_ext <<_ACEOF -@@ -22110,14 +22082,13 @@ - cat >>conftest.$ac_ext <<_ACEOF - /* end confdefs.h. */ - #include --$gt_revision_test_code - extern int _nl_msg_cat_cntr; - extern int *_nl_domain_bindings; - int - main () - { - bindtextdomain ("", ""); --return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings -+return * gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings - ; - return 0; - } -@@ -22140,22 +22111,21 @@ - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then -- eval "$gt_func_gnugettext_libc=yes" -+ gt_cv_func_gnugettext1_libc=yes - else - echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - -- eval "$gt_func_gnugettext_libc=no" -+ gt_cv_func_gnugettext1_libc=no - fi - - rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext - fi --ac_res=`eval echo '${'$gt_func_gnugettext_libc'}'` -- { echo "$as_me:$LINENO: result: $ac_res" >&5 --echo "${ECHO_T}$ac_res" >&6; } -+{ echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5 -+echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6; } - -- if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then -+ if test "$gt_cv_func_gnugettext1_libc" != "yes"; then - - - -@@ -22398,16 +22368,9 @@ - found_so= - found_a= - if test $use_additional = yes; then -- if test -n "$shlibext" \ -- && { test -f "$additional_libdir/lib$name.$shlibext" \ -- || { test "$shlibext" = dll \ -- && test -f "$additional_libdir/lib$name.dll.a"; }; }; then -+ if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then - found_dir="$additional_libdir" -- if test -f "$additional_libdir/lib$name.$shlibext"; then -- found_so="$additional_libdir/lib$name.$shlibext" -- else -- found_so="$additional_libdir/lib$name.dll.a" -- fi -+ found_so="$additional_libdir/lib$name.$shlibext" - if test -f "$additional_libdir/lib$name.la"; then - found_la="$additional_libdir/lib$name.la" - fi -@@ -22435,16 +22398,9 @@ - case "$x" in - -L*) - dir=`echo "X$x" | sed -e 's/^X-L//'` -- if test -n "$shlibext" \ -- && { test -f "$dir/lib$name.$shlibext" \ -- || { test "$shlibext" = dll \ -- && test -f "$dir/lib$name.dll.a"; }; }; then -+ if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then - found_dir="$dir" -- if test -f "$dir/lib$name.$shlibext"; then -- found_so="$dir/lib$name.$shlibext" -- else -- found_so="$dir/lib$name.dll.a" -- fi -+ found_so="$dir/lib$name.$shlibext" - if test -f "$dir/lib$name.la"; then - found_la="$dir/lib$name.la" - fi -@@ -22712,7 +22668,7 @@ - - { echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5 - echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6; } --if { as_var=$gt_func_gnugettext_libintl; eval "test \"\${$as_var+set}\" = set"; }; then -+if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 - else - gt_save_CPPFLAGS="$CPPFLAGS" -@@ -22726,7 +22682,6 @@ - cat >>conftest.$ac_ext <<_ACEOF - /* end confdefs.h. */ - #include --$gt_revision_test_code - extern int _nl_msg_cat_cntr; - extern - #ifdef __cplusplus -@@ -22737,7 +22692,7 @@ - main () - { - bindtextdomain ("", ""); --return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") -+return * gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias ("") - ; - return 0; - } -@@ -22760,17 +22715,17 @@ - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then -- eval "$gt_func_gnugettext_libintl=yes" -+ gt_cv_func_gnugettext1_libintl=yes - else - echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - -- eval "$gt_func_gnugettext_libintl=no" -+ gt_cv_func_gnugettext1_libintl=no - fi - - rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -- if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then -+ if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then - LIBS="$LIBS $LIBICONV" - cat >conftest.$ac_ext <<_ACEOF - /* confdefs.h. */ -@@ -22779,7 +22734,6 @@ - cat >>conftest.$ac_ext <<_ACEOF - /* end confdefs.h. */ - #include --$gt_revision_test_code - extern int _nl_msg_cat_cntr; - extern - #ifdef __cplusplus -@@ -22790,7 +22744,7 @@ - main () - { - bindtextdomain ("", ""); --return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") -+return * gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias ("") - ; - return 0; - } -@@ -22815,7 +22769,7 @@ - $as_test_x conftest$ac_exeext; then - LIBINTL="$LIBINTL $LIBICONV" - LTLIBINTL="$LTLIBINTL $LTLIBICONV" -- eval "$gt_func_gnugettext_libintl=yes" -+ gt_cv_func_gnugettext1_libintl=yes - - else - echo "$as_me: failed program was:" >&5 -@@ -22830,13 +22784,12 @@ - CPPFLAGS="$gt_save_CPPFLAGS" - LIBS="$gt_save_LIBS" - fi --ac_res=`eval echo '${'$gt_func_gnugettext_libintl'}'` -- { echo "$as_me:$LINENO: result: $ac_res" >&5 --echo "${ECHO_T}$ac_res" >&6; } -+{ echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5 -+echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6; } - fi - -- if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ -- || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ -+ if test "$gt_cv_func_gnugettext1_libc" = "yes" \ -+ || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \ - && test "$PACKAGE" != gettext-runtime \ - && test "$PACKAGE" != gettext-tools; }; then - gt_use_preinstalled_gnugettext=yes -@@ -22876,7 +22829,7 @@ - { echo "$as_me:$LINENO: checking where the gettext function comes from" >&5 - echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6; } - if test "$gt_use_preinstalled_gnugettext" = "yes"; then -- if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then -+ if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then - gt_source="external libintl" - else - gt_source="libc" -@@ -22891,7 +22844,7 @@ - if test "$USE_NLS" = "yes"; then - - if test "$gt_use_preinstalled_gnugettext" = "yes"; then -- if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then -+ if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then - { echo "$as_me:$LINENO: checking how to link with libintl" >&5 - echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6; } - { echo "$as_me:$LINENO: result: $LIBINTL" >&5 -@@ -26592,12 +26545,8 @@ - esac - done - -- -- --if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then -- if test -n "$ac_tool_prefix"; then -- # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. --set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 -+ # Extract the first word of "pkg-config", so it can be a program name with args. -+set dummy pkg-config; ac_word=$2 - { echo "$as_me:$LINENO: checking for $ac_word" >&5 - echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } - if test "${ac_cv_path_PKG_CONFIG+set}" = set; then -@@ -26623,6 +26572,7 @@ - done - IFS=$as_save_IFS - -+ test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" - ;; - esac - fi -@@ -26636,88 +26586,19 @@ - fi - - --fi --if test -z "$ac_cv_path_PKG_CONFIG"; then -- ac_pt_PKG_CONFIG=$PKG_CONFIG -- # Extract the first word of "pkg-config", so it can be a program name with args. --set dummy pkg-config; ac_word=$2 --{ echo "$as_me:$LINENO: checking for $ac_word" >&5 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } --if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- case $ac_pt_PKG_CONFIG in -- [\\/]* | ?:[\\/]*) -- ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. -- ;; -- *) -- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR --for as_dir in $PATH --do -- IFS=$as_save_IFS -- test -z "$as_dir" && as_dir=. -- for ac_exec_ext in '' $ac_executable_extensions; do -- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then -- ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" -- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 -- break 2 -- fi --done --done --IFS=$as_save_IFS -- -- ;; --esac --fi --ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG --if test -n "$ac_pt_PKG_CONFIG"; then -- { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 --echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; } --else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } --fi -- -- if test "x$ac_pt_PKG_CONFIG" = x; then -- PKG_CONFIG="" -- else -- case $cross_compiling:$ac_tool_warned in --yes:) --{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools --whose name does not start with the host triplet. If you think this --configuration is useful to you, please write to autoconf@gnu.org." >&5 --echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools --whose name does not start with the host triplet. If you think this --configuration is useful to you, please write to autoconf@gnu.org." >&2;} --ac_tool_warned=yes ;; --esac -- PKG_CONFIG=$ac_pt_PKG_CONFIG -- fi --else -- PKG_CONFIG="$ac_cv_path_PKG_CONFIG" --fi -- --fi --if test -n "$PKG_CONFIG"; then -- _pkg_min_version=0.7 -- { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 --echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; } -- if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then -- { echo "$as_me:$LINENO: result: yes" >&5 --echo "${ECHO_T}yes" >&6; } -- else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -- PKG_CONFIG="" -- fi -- --fi - - no_glib="" - -- if test "x$PKG_CONFIG" = x ; then -+ if test x$PKG_CONFIG != xno ; then -+ if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then -+ : -+ else -+ echo *** pkg-config too old; version 0.7 or better required. -+ no_glib=yes -+ PKG_CONFIG=no -+ fi -+ else - no_glib=yes -- PKG_CONFIG=no - fi - - min_glib_version=2.6.0 -@@ -27223,9 +27104,7 @@ - # Put the nasty error message in config.log where it belongs - echo "$OPENSSL_PKG_ERRORS" >&5 - -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -- ac_cv_enable_openssl=no -+ ac_cv_enable_openssl=no - elif test $pkg_failed = untried; then - ac_cv_enable_openssl=no - else -@@ -27793,6 +27672,11 @@ - - - -+OWL_LIBS="-lowl" -+OLS_CFLAGS="" -+ -+ -+ - # Check whether --enable-aspell was given. - if test "${enable_aspell+set}" = set; then - enableval=$enable_aspell; ac_cv_enable_aspell=$enableval -@@ -28242,9 +28126,7 @@ - # Put the nasty error message in config.log where it belongs - echo "$MAEMO_PKG_ERRORS" >&5 - -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -- ac_cv_enable_maemo=no -+ ac_cv_enable_maemo=no - elif test $pkg_failed = untried; then - ac_cv_enable_maemo=no - else -@@ -29796,8 +29678,6 @@ - # Put the nasty error message in config.log where it belongs - echo "$STARTUP_NOTIFICATION_PKG_ERRORS" >&5 - -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } - - echo "Building without libstartup-notification" - enable_startup_notification=no -@@ -31300,9 +31180,7 @@ - # Put the nasty error message in config.log where it belongs - echo "$CLAMAV_PKG_ERRORS" >&5 - -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -- ac_cv_enable_clamav_plugin=no -+ ac_cv_enable_clamav_plugin=no - elif test $pkg_failed = untried; then - ac_cv_enable_clamav_plugin=no - else -@@ -31684,9 +31562,7 @@ - # Put the nasty error message in config.log where it belongs - echo "$GNOMEPRINT_PKG_ERRORS" >&5 - -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -- ac_cv_enable_gnomeprint=no -+ ac_cv_enable_gnomeprint=no - elif test $pkg_failed = untried; then - ac_cv_enable_gnomeprint=no - else -@@ -31794,9 +31670,7 @@ - # Put the nasty error message in config.log where it belongs - echo "$VALGRIND_PKG_ERRORS" >&5 - -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -- ac_cv_enable_valgrind=no -+ ac_cv_enable_valgrind=no - elif test $pkg_failed = untried; then - ac_cv_enable_valgrind=no - else -@@ -32884,6 +32758,8 @@ - PASSCRYPT_KEY!$PASSCRYPT_KEY$ac_delim - GTK_CFLAGS!$GTK_CFLAGS$ac_delim - GTK_LIBS!$GTK_LIBS$ac_delim -+OWL_LIBS!$OWL_LIBS$ac_delim -+OWL_CFLAGS!$OWL_CFLAGS$ac_delim - ASPELL!$ASPELL$ac_delim - ASPELL_CFLAGS!$ASPELL_CFLAGS$ac_delim - ASPELL_LIBS!$ASPELL_LIBS$ac_delim -@@ -32904,8 +32780,6 @@ - BUILD_SPAMASSASSIN_PLUGIN_FALSE!$BUILD_SPAMASSASSIN_PLUGIN_FALSE$ac_delim - BUILD_BOGOFILTER_PLUGIN_TRUE!$BUILD_BOGOFILTER_PLUGIN_TRUE$ac_delim - BUILD_BOGOFILTER_PLUGIN_FALSE!$BUILD_BOGOFILTER_PLUGIN_FALSE$ac_delim --GPGME_CONFIG!$GPGME_CONFIG$ac_delim --GPGME_CFLAGS!$GPGME_CFLAGS$ac_delim - _ACEOF - - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then -@@ -32947,6 +32821,8 @@ - ac_delim='%!_!# ' - for ac_last_try in false false false false false :; do - cat >conf$$subs.sed <<_ACEOF -+GPGME_CONFIG!$GPGME_CONFIG$ac_delim -+GPGME_CFLAGS!$GPGME_CFLAGS$ac_delim - GPGME_LIBS!$GPGME_LIBS$ac_delim - BUILD_PGPCORE_PLUGIN_TRUE!$BUILD_PGPCORE_PLUGIN_TRUE$ac_delim - BUILD_PGPCORE_PLUGIN_FALSE!$BUILD_PGPCORE_PLUGIN_FALSE$ac_delim -@@ -32979,7 +32855,7 @@ - LTLIBOBJS!$LTLIBOBJS$ac_delim - _ACEOF - -- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 30; then -+ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 32; then - break - elif $ac_last_try; then - { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 -Index: claws-mail-2.9.1/src/Makefile.in -=================================================================== ---- claws-mail-2.9.1.orig/src/Makefile.in 2007-04-25 10:18:13.000000000 +0100 -+++ claws-mail-2.9.1/src/Makefile.in 2007-04-25 10:30:23.000000000 +0100 -@@ -45,8 +45,7 @@ - $(top_srcdir)/m4/aspell.m4 $(top_srcdir)/m4/check-type.m4 \ - $(top_srcdir)/m4/gnupg-check-typedef.m4 \ - $(top_srcdir)/m4/gnupg.m4 $(top_srcdir)/m4/gpgme.m4 \ -- $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/spamassassin.m4 \ -- $(top_srcdir)/configure.ac -+ $(top_srcdir)/m4/spamassassin.m4 $(top_srcdir)/configure.ac - am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) - mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs -@@ -122,7 +121,7 @@ - $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_2) \ - $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_2) \ - $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_2) \ -- $(am__DEPENDENCIES_2) -+ $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_2) - claws_mail_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ - $(claws_mail_LDFLAGS) $(LDFLAGS) -o $@ -@@ -272,6 +271,8 @@ - OBJEXT = @OBJEXT@ - OPENSSL_CFLAGS = @OPENSSL_CFLAGS@ - OPENSSL_LIBS = @OPENSSL_LIBS@ -+OWL_CFLAGS = @OWL_CFLAGS@ -+OWL_LIBS = @OWL_LIBS@ - PACKAGE = @PACKAGE@ - PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ - PACKAGE_NAME = @PACKAGE_NAME@ -@@ -815,7 +816,8 @@ - $(LIBICONV) \ - $(STARTUP_NOTIFICATION_LIBS) \ - $(LIBETPAN_LIBS) \ -- $(MAEMO_LIBS) -+ $(MAEMO_LIBS) \ -+ $(OWL_LIBS) - - AM_CPPFLAGS = \ - -DG_LOG_DOMAIN=\"Claws-Mail\" \ -@@ -833,7 +835,7 @@ - $(LIBETPAN_CPPFLAGS) \ - $(STARTUP_NOTIFICATION_CFLAGS) \ - $(MAEMO_CFLAGS) \ -- -Wno-unused-function -+ $(OWL_CFLAGS) - - - #no-unused-function is there because of bison stuff -@@ -1406,6 +1408,7 @@ - install-exec-hook: - @rm -f $(DESTDIR)$(bindir)/sylpheed-claws - @ln -s claws-mail $(DESTDIR)$(bindir)/sylpheed-claws -+ -Wno-unused-function - - @CYGWIN_TRUE@claws-mail$(EXEEXT): $(claws_mail_OBJECTS) $(claws_mail_DEPENDENCIES) - @CYGWIN_TRUE@ @rm -f claws-mail$(EXEEXT) -Index: claws-mail-2.9.1/autogen.sh -=================================================================== ---- claws-mail-2.9.1.orig/autogen.sh 2007-04-25 10:18:13.000000000 +0100 -+++ claws-mail-2.9.1/autogen.sh 2007-04-25 10:30:23.000000000 +0100 -@@ -74,5 +74,4 @@ - && libtoolize --force --copy \ - && autoheader \ - && automake --add-missing --foreign --copy \ -- && autoconf \ -- && ./configure --enable-maintainer-mode $@ -+ && autoconf -Index: claws-mail-2.9.1/src/compose.c -=================================================================== ---- claws-mail-2.9.1.orig/src/compose.c 2007-04-25 10:18:13.000000000 +0100 -+++ claws-mail-2.9.1/src/compose.c 2007-04-25 10:30:23.000000000 +0100 -@@ -6192,7 +6192,6 @@ - n_menu_entries = sizeof(compose_entries) / sizeof(compose_entries[0]); - menubar = menubar_create(window, compose_entries, - n_menu_entries, "", compose); -- gtk_box_pack_start(GTK_BOX(vbox), menubar, FALSE, TRUE, 0); - - handlebox = gtk_hbox_new(FALSE, 0); - gtk_box_pack_start(GTK_BOX(vbox), handlebox, FALSE, FALSE, 0); diff --git a/meta/recipes-sato/claws-mail/files/streamline-ui.patch b/meta/recipes-sato/claws-mail/files/streamline-ui.patch deleted file mode 100644 index 29a52ff795..0000000000 --- a/meta/recipes-sato/claws-mail/files/streamline-ui.patch +++ /dev/null @@ -1,1008 +0,0 @@ -Index: claws-mail-2.9.1/src/mainwindow.c -=================================================================== ---- claws-mail-2.9.1.orig/src/mainwindow.c 2007-04-25 07:40:10.000000000 +0100 -+++ claws-mail-2.9.1/src/mainwindow.c 2007-04-25 10:26:40.000000000 +0100 -@@ -189,9 +189,6 @@ - static void toggle_statusbar_cb (MainWindow *mainwin, - guint action, - GtkWidget *widget); --static void set_layout_cb (MainWindow *mainwin, -- guint action, -- GtkWidget *widget); - - static void addressbook_open_cb (MainWindow *mainwin, - guint action, -@@ -538,94 +535,24 @@ - {N_("/_Edit/_Search folder..."), "F", search_cb, 1, NULL}, - {N_("/_Edit/_Quick search"), "slash", mainwindow_quicksearch, 0, NULL}, - {N_("/_View"), NULL, NULL, 0, ""}, -- {N_("/_View/Show or hi_de"), NULL, NULL, 0, ""}, -- {N_("/_View/Show or hi_de/_Message view"), -- "V", toggle_message_cb, 0, ""}, -- {N_("/_View/Show or hi_de/_Toolbar"), -- NULL, NULL, 0, ""}, -- {N_("/_View/Show or hi_de/_Toolbar/Text _below icons"), -- NULL, toggle_toolbar_cb, TOOLBAR_BOTH, ""}, -- {N_("/_View/Show or hi_de/_Toolbar/Text be_side icons"), -- NULL, toggle_toolbar_cb, TOOLBAR_BOTH_HORIZ, "/View/Show or hide/Toolbar/Text below icons"}, -- {N_("/_View/Show or hi_de/_Toolbar/_Icons only"), -- NULL, toggle_toolbar_cb, TOOLBAR_ICON, "/View/Show or hide/Toolbar/Text below icons"}, -- {N_("/_View/Show or hi_de/_Toolbar/_Text only"), -- NULL, toggle_toolbar_cb, TOOLBAR_TEXT, "/View/Show or hide/Toolbar/Text below icons"}, -- {N_("/_View/Show or hi_de/_Toolbar/_Hide"), -- NULL, toggle_toolbar_cb, TOOLBAR_NONE, "/View/Show or hide/Toolbar/Text below icons"}, -- {N_("/_View/Show or hi_de/Status _bar"), -- NULL, toggle_statusbar_cb, 0, ""}, - {N_("/_View/Set displayed _columns"), NULL, NULL, 0, ""}, - {N_("/_View/Set displayed _columns/in _Folder list..."), NULL, set_folder_display_item_cb, 0, NULL}, - {N_("/_View/Set displayed _columns/in _Message list..."),NULL, set_summary_display_item_cb, 0, NULL}, - - {N_("/_View/---"), NULL, NULL, 0, ""}, -- {N_("/_View/La_yout"), NULL, NULL, 0, ""}, -- {N_("/_View/Layout/_Standard"), NULL, set_layout_cb, NORMAL_LAYOUT, ""}, -- {N_("/_View/Layout/_Three columns"), NULL, set_layout_cb, VERTICAL_LAYOUT, "/View/Layout/Standard"}, -- {N_("/_View/Layout/_Wide message"), NULL, set_layout_cb, WIDE_LAYOUT, "/View/Layout/Standard"}, -- {N_("/_View/Layout/W_ide message list"),NULL, set_layout_cb, WIDE_MSGLIST_LAYOUT, "/View/Layout/Standard"}, -- {N_("/_View/Layout/S_mall screen"), NULL, set_layout_cb, SMALL_LAYOUT, "/View/Layout/Standard"}, -- {N_("/_View/---"), NULL, NULL, 0, ""}, - {N_("/_View/_Sort"), NULL, NULL, 0, ""}, -- {N_("/_View/_Sort/by _number"), NULL, sort_summary_cb, SORT_BY_NUMBER, ""}, -- {N_("/_View/_Sort/by S_ize"), NULL, sort_summary_cb, SORT_BY_SIZE, "/View/Sort/by number"}, -- {N_("/_View/_Sort/by _Date"), NULL, sort_summary_cb, SORT_BY_DATE, "/View/Sort/by number"}, -- {N_("/_View/_Sort/by _From"), NULL, sort_summary_cb, SORT_BY_FROM, "/View/Sort/by number"}, -- {N_("/_View/_Sort/by _To"), NULL, sort_summary_cb, SORT_BY_TO, "/View/Sort/by number"}, -- {N_("/_View/_Sort/by S_ubject"), NULL, sort_summary_cb, SORT_BY_SUBJECT, "/View/Sort/by number"}, -- {N_("/_View/_Sort/by _color label"), -- NULL, sort_summary_cb, SORT_BY_LABEL, "/View/Sort/by number"}, -- {N_("/_View/_Sort/by _mark"), NULL, sort_summary_cb, SORT_BY_MARK, "/View/Sort/by number"}, -- {N_("/_View/_Sort/by _status"), NULL, sort_summary_cb, SORT_BY_STATUS, "/View/Sort/by number"}, -- {N_("/_View/_Sort/by a_ttachment"), -- NULL, sort_summary_cb, SORT_BY_MIME, "/View/Sort/by number"}, -- {N_("/_View/_Sort/by score"), NULL, sort_summary_cb, SORT_BY_SCORE, "/View/Sort/by number"}, -- {N_("/_View/_Sort/by locked"), NULL, sort_summary_cb, SORT_BY_LOCKED, "/View/Sort/by number"}, -- {N_("/_View/_Sort/D_on't sort"), NULL, sort_summary_cb, SORT_BY_NONE, "/View/Sort/by number"}, -+ {N_("/_View/_Sort/by _Date"), NULL, sort_summary_cb, SORT_BY_DATE, ""}, -+ {N_("/_View/_Sort/by _From"), NULL, sort_summary_cb, SORT_BY_FROM, "/View/Sort/by Date"}, -+ {N_("/_View/_Sort/by _To"), NULL, sort_summary_cb, SORT_BY_TO, "/View/Sort/by Date"}, -+ {N_("/_View/_Sort/by S_ubject"), NULL, sort_summary_cb, SORT_BY_SUBJECT, "/View/Sort/by Date"}, - {N_("/_View/_Sort/---"), NULL, NULL, 0, ""}, - {N_("/_View/_Sort/Ascending"), NULL, sort_summary_type_cb, SORT_ASCENDING, ""}, - {N_("/_View/_Sort/Descending"), NULL, sort_summary_type_cb, SORT_DESCENDING, "/View/Sort/Ascending"}, -- {N_("/_View/_Sort/---"), NULL, NULL, 0, ""}, -- {N_("/_View/_Sort/_Attract by subject"), -- NULL, attract_by_subject_cb, 0, NULL}, - {N_("/_View/Th_read view"), "T", thread_cb, 0, ""}, - {N_("/_View/E_xpand all threads"), NULL, expand_threads_cb, 0, NULL}, - {N_("/_View/Co_llapse all threads"), NULL, collapse_threads_cb, 0, NULL}, - {N_("/_View/_Hide read messages"), NULL, hide_read_messages, 0, ""}, - -- {N_("/_View/---"), NULL, NULL, 0, ""}, -- {N_("/_View/_Go to"), NULL, NULL, 0, ""}, -- {N_("/_View/_Go to/_Previous message"), "P", prev_cb, 0, NULL}, -- {N_("/_View/_Go to/_Next message"), "N", next_cb, 0, NULL}, -- {N_("/_View/_Go to/---"), NULL, NULL, 0, ""}, -- {N_("/_View/_Go to/P_revious unread message"), -- "P", prev_unread_cb, 0, NULL}, -- {N_("/_View/_Go to/N_ext unread message"), -- "N", next_unread_cb, 0, NULL}, -- {N_("/_View/_Go to/---"), NULL, NULL, 0, ""}, -- {N_("/_View/_Go to/Previous ne_w message"), NULL, prev_new_cb, 0, NULL}, -- {N_("/_View/_Go to/Ne_xt new message"), NULL, next_new_cb, 0, NULL}, -- {N_("/_View/_Go to/---"), NULL, NULL, 0, ""}, -- {N_("/_View/_Go to/Previous _marked message"), -- NULL, prev_marked_cb, 0, NULL}, -- {N_("/_View/_Go to/Next m_arked message"), -- NULL, next_marked_cb, 0, NULL}, -- {N_("/_View/_Go to/---"), NULL, NULL, 0, ""}, -- {N_("/_View/_Go to/Previous _labeled message"), -- NULL, prev_labeled_cb, 0, NULL}, -- {N_("/_View/_Go to/Next la_beled message"), -- NULL, next_labeled_cb, 0, NULL}, -- {N_("/_View/_Go to/---"), NULL, NULL, 0, ""}, -- {N_("/_View/_Go to/Last read message"), -- NULL, last_read_cb, 0, NULL}, -- {N_("/_View/_Go to/Parent message"), -- "Up", parent_cb, 0, NULL}, -- {N_("/_View/_Go to/---"), NULL, NULL, 0, ""}, -- {N_("/_View/_Go to/Next unread _folder"), "G", goto_unread_folder_cb, 0, NULL}, -- {N_("/_View/_Go to/_Other folder..."), "G", goto_folder_cb, 0, NULL}, -- {N_("/_View/---"), NULL, NULL, 0, ""}, -- - #define ENC_SEPARATOR \ - {N_("/_View/Character _encoding/---"), NULL, NULL, 0, ""} - #define ENC_ACTION(action) \ -@@ -742,7 +669,6 @@ - #undef DEC_ACTION - - {N_("/_View/---"), NULL, NULL, 0, ""}, -- {N_("/_View/Open in new _window"), "N", open_msg_cb, 0, NULL}, - {N_("/_View/Mess_age source"), "U", view_source_cb, 0, NULL}, - {N_("/_View/All headers"), "H", show_all_header_cb, 0, ""}, - {N_("/_View/Quotes"), NULL, NULL, 0, ""}, -@@ -1137,23 +1063,14 @@ - gint i; - guint n_menu_entries; - -- static GdkGeometry geometry; -- - debug_print("Creating main window...\n"); - mainwin = g_new0(MainWindow, 1); - - /* main window */ - window = gtkut_window_new(GTK_WINDOW_TOPLEVEL, "mainwindow"); -- gtk_window_set_title(GTK_WINDOW(window), PROG_VERSION); -+ gtk_window_set_title(GTK_WINDOW(window), _("Mail")); - gtk_window_set_resizable(GTK_WINDOW(window), TRUE); - -- if (!geometry.min_height) { -- geometry.min_width = 320; -- geometry.min_height = 200; -- } -- gtk_window_set_geometry_hints(GTK_WINDOW(window), NULL, &geometry, -- GDK_HINT_MIN_SIZE); -- - g_signal_connect(G_OBJECT(window), "delete_event", - G_CALLBACK(main_window_close_cb), mainwin); - MANAGE_WINDOW_SIGNALS_CONNECT(window); -@@ -1184,21 +1101,9 @@ - /* gtk_widget_show(gtk_item_factory_get_item(ifactory,"/Message/Mailing-List")); - main_create_mailing_list_menu (mainwin, NULL); */ - -- menu_set_sensitive(ifactory, "/Help/Manual", manual_available(MANUAL_MANUAL_LOCAL)); -- -- if (prefs_common.toolbar_detachable) { -- handlebox = gtk_handle_box_new(); -- gtk_widget_show(handlebox); -- gtk_box_pack_start(GTK_BOX(vbox), handlebox, FALSE, FALSE, 0); -- g_signal_connect(G_OBJECT(handlebox), "child_attached", -- G_CALLBACK(toolbar_child_attached), mainwin); -- g_signal_connect(G_OBJECT(handlebox), "child_detached", -- G_CALLBACK(toolbar_child_detached), mainwin); -- } else { -- handlebox = gtk_hbox_new(FALSE, 0); -- gtk_widget_show(handlebox); -- gtk_box_pack_start(GTK_BOX(vbox), handlebox, FALSE, FALSE, 0); -- } -+ handlebox = gtk_hbox_new(FALSE, 0); -+ gtk_widget_show(handlebox); -+ gtk_box_pack_start(GTK_BOX(vbox), handlebox, FALSE, FALSE, 0); - /* link window to mainwin->window to avoid gdk warnings */ - mainwin->window = window; - -@@ -1405,36 +1310,6 @@ - (ifactory, "/View/Character encoding/Auto detect"); - gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menuitem), TRUE); - -- switch (prefs_common.toolbar_style) { -- case TOOLBAR_NONE: -- menuitem = gtk_item_factory_get_item -- (ifactory, "/View/Show or hide/Toolbar/Hide"); -- break; -- case TOOLBAR_ICON: -- menuitem = gtk_item_factory_get_item -- (ifactory, "/View/Show or hide/Toolbar/Icons only"); -- break; -- case TOOLBAR_TEXT: -- menuitem = gtk_item_factory_get_item -- (ifactory, "/View/Show or hide/Toolbar/Text only"); -- break; -- case TOOLBAR_BOTH: -- menuitem = gtk_item_factory_get_item -- (ifactory, "/View/Show or hide/Toolbar/Text below icons"); -- break; -- case TOOLBAR_BOTH_HORIZ: -- menuitem = gtk_item_factory_get_item -- (ifactory, -- "/View/Show or hide/Toolbar/Text beside icons"); -- } -- gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menuitem), TRUE); -- -- gtk_widget_hide(mainwin->hbox_stat); -- menuitem = gtk_item_factory_get_item -- (ifactory, "/View/Show or hide/Status bar"); -- gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menuitem), -- prefs_common.show_statusbar); -- - /* set account selection menu */ - ac_menu = gtk_item_factory_get_widget - (ifactory, "/Configuration/Change current account"); -@@ -2284,16 +2159,6 @@ - {"/View/Expand all threads" , M_MSG_EXIST}, - {"/View/Collapse all threads" , M_MSG_EXIST}, - {"/View/Hide read messages" , M_HIDE_READ_MSG}, -- {"/View/Go to/Previous message" , M_MSG_EXIST}, -- {"/View/Go to/Next message" , M_MSG_EXIST}, -- {"/View/Go to/Previous unread message" , M_MSG_EXIST}, -- {"/View/Go to/Previous new message" , M_MSG_EXIST}, -- {"/View/Go to/Previous marked message" , M_MSG_EXIST}, -- {"/View/Go to/Previous labeled message", M_MSG_EXIST}, -- {"/View/Go to/Next labeled message", M_MSG_EXIST}, -- {"/View/Go to/Last read message" , M_SINGLE_TARGET_EXIST}, -- {"/View/Go to/Parent message" , M_SINGLE_TARGET_EXIST}, -- {"/View/Open in new window" , M_SINGLE_TARGET_EXIST}, - {"/View/Message source" , M_SINGLE_TARGET_EXIST}, - {"/View/All headers" , M_SINGLE_TARGET_EXIST}, - {"/View/Quotes" , M_SINGLE_TARGET_EXIST}, -@@ -2379,40 +2244,20 @@ - gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menuitem), active); \ - } - -- SET_CHECK_MENU_ACTIVE("/View/Show or hide/Message view", -- messageview_is_visible(mainwin->messageview)); -- - summaryview = mainwin->summaryview; -- menu_path = "/View/Sort/Don't sort"; -+ menu_path = "/View/Sort/by Date"; - - switch (summaryview->sort_key) { -- case SORT_BY_NUMBER: -- menu_path = "/View/Sort/by number"; break; -- case SORT_BY_SIZE: -- menu_path = "/View/Sort/by Size"; break; -- case SORT_BY_DATE: -- menu_path = "/View/Sort/by Date"; break; - case SORT_BY_FROM: - menu_path = "/View/Sort/by From"; break; - case SORT_BY_TO: - menu_path = "/View/Sort/by To"; break; - case SORT_BY_SUBJECT: - menu_path = "/View/Sort/by Subject"; break; -- case SORT_BY_LABEL: -- menu_path = "/View/Sort/by color label"; break; -- case SORT_BY_MARK: -- menu_path = "/View/Sort/by mark"; break; -- case SORT_BY_STATUS: -- menu_path = "/View/Sort/by status"; break; -- case SORT_BY_MIME: -- menu_path = "/View/Sort/by attachment"; break; -- case SORT_BY_SCORE: -- menu_path = "/View/Sort/by score"; break; -- case SORT_BY_LOCKED: -- menu_path = "/View/Sort/by locked"; break; - case SORT_BY_NONE: -+ case SORT_BY_DATE: - default: -- menu_path = "/View/Sort/Don't sort"; break; -+ menu_path = "/View/Sort/by Date"; break; - } - SET_CHECK_MENU_ACTIVE(menu_path, TRUE); - -@@ -2735,8 +2580,6 @@ - gtk_widget_destroy(mainwin->hpaned); - } - -- menu_set_sensitive(ifactory, "/View/Show or hide/Message view", -- (layout_mode != WIDE_MSGLIST_LAYOUT && layout_mode != SMALL_LAYOUT)); - switch (layout_mode) { - case VERTICAL_LAYOUT: - case NORMAL_LAYOUT: -@@ -2877,37 +2720,6 @@ - - prefs_common.layout_mode = layout_mode; - -- menuitem = gtk_item_factory_get_item -- (ifactory, "/View/Show or hide/Message view"); -- gtk_check_menu_item_set_active -- (GTK_CHECK_MENU_ITEM(menuitem), -- messageview_is_visible(mainwin->messageview)); -- --#define SET_CHECK_MENU_ACTIVE(path, active) \ --{ \ -- menuitem = gtk_item_factory_get_widget(ifactory, path); \ -- gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menuitem), active); \ --} -- -- switch (prefs_common.layout_mode) { -- case NORMAL_LAYOUT: -- SET_CHECK_MENU_ACTIVE("/View/Layout/Standard", TRUE); -- break; -- case VERTICAL_LAYOUT: -- SET_CHECK_MENU_ACTIVE("/View/Layout/Three columns", TRUE); -- break; -- case WIDE_LAYOUT: -- SET_CHECK_MENU_ACTIVE("/View/Layout/Wide message", TRUE); -- break; -- case WIDE_MSGLIST_LAYOUT: -- SET_CHECK_MENU_ACTIVE("/View/Layout/Wide message list", TRUE); -- break; -- case SMALL_LAYOUT: -- SET_CHECK_MENU_ACTIVE("/View/Layout/Small screen", TRUE); -- break; -- } --#undef SET_CHECK_MENU_ACTIVE -- - if (folderwin) { - g_signal_connect - (G_OBJECT(folderwin), "size_allocate", -@@ -3116,12 +2928,6 @@ - summary_toggle_view(mainwin->summaryview); - } - --static void toggle_toolbar_cb(MainWindow *mainwin, guint action, -- GtkWidget *widget) --{ -- toolbar_toggle(action, mainwin); --} -- - static void main_window_reply_cb(MainWindow *mainwin, guint action, - GtkWidget *widget) - { -Index: claws-mail-2.9.1/src/prefs_common.c -=================================================================== ---- claws-mail-2.9.1.orig/src/prefs_common.c 2007-04-25 07:40:10.000000000 +0100 -+++ claws-mail-2.9.1/src/prefs_common.c 2007-04-25 07:42:17.000000000 +0100 -@@ -262,7 +262,7 @@ - {"default_reply_list", "TRUE", &prefs_common.default_reply_list, P_BOOL, - NULL, NULL, NULL}, - --#ifndef MAEMO -+#if 0 - {"show_ruler", "TRUE", &prefs_common.show_ruler, P_BOOL, - NULL, NULL, NULL}, - #else -@@ -300,7 +300,7 @@ - &prefs_common.normalfont_gtk1, P_STRING, NULL, NULL, NULL}, - - /* new fonts */ --#ifndef MAEMO -+#if 0 - {"widget_font_gtk2", NULL, - &SPECIFIC_PREFS.widgetfont, P_STRING, NULL, NULL, NULL}, - {"message_font_gtk2", "Monospace 9", -@@ -416,7 +416,7 @@ - - {"enable_thread", "TRUE", &prefs_common.enable_thread, P_BOOL, - NULL, NULL, NULL}, --#ifndef MAEMO -+#if 0 - {"toolbar_style", "3", &prefs_common.toolbar_style, P_ENUM, - NULL, NULL, NULL}, - #else -@@ -544,7 +544,7 @@ - {"folder_col_pos_total", "3", - &prefs_common.folder_col_pos[F_COL_TOTAL], P_INT, NULL, NULL, NULL}, - --#ifndef MAEMO -+#if 0 - {"folder_col_size_folder", "120", - &prefs_common.folder_col_size[F_COL_FOLDER], P_INT, NULL, NULL, NULL}, - {"folder_col_size_new", "32", -@@ -702,7 +702,7 @@ - &SPECIFIC_PREFS.mime_open_cmd, P_STRING, NULL, NULL, NULL}, - - /* Interface */ --#ifndef MAEMO -+#if 0 - {"layout_mode", "0", &prefs_common.layout_mode, P_INT, - NULL, NULL, NULL}, - #else -Index: claws-mail-2.9.1/src/toolbar.c -=================================================================== ---- claws-mail-2.9.1.orig/src/toolbar.c 2007-04-25 07:40:10.000000000 +0100 -+++ claws-mail-2.9.1/src/toolbar.c 2007-04-25 07:42:17.000000000 +0100 -@@ -841,26 +841,17 @@ - gtk_widget_hide(handlebox_wid); - break; - case TOOLBAR_ICON: -- gtk_toolbar_set_style(GTK_TOOLBAR(toolbar_wid), -- GTK_TOOLBAR_ICONS); -- break; - case TOOLBAR_TEXT: -- gtk_toolbar_set_style(GTK_TOOLBAR(toolbar_wid), -- GTK_TOOLBAR_TEXT); -- break; - case TOOLBAR_BOTH: -- gtk_toolbar_set_style(GTK_TOOLBAR(toolbar_wid), -- GTK_TOOLBAR_BOTH); -- break; - case TOOLBAR_BOTH_HORIZ: - gtk_toolbar_set_style(GTK_TOOLBAR(toolbar_wid), -- GTK_TOOLBAR_BOTH_HORIZ); -+ GTK_TOOLBAR_ICONS); - break; - default: - return; - } - -- prefs_common.toolbar_style = (ToolbarStyle)action; -+ prefs_common.toolbar_style = (ToolbarStyle)TOOLBAR_ICON; - gtk_widget_set_size_request(handlebox_wid, 1, -1); - - if (prefs_common.toolbar_style != TOOLBAR_NONE) { -@@ -1594,7 +1585,7 @@ - gtk_container_add(GTK_CONTAINER(container), toolbar); - gtk_container_set_border_width(GTK_CONTAINER(container), 2); - gtk_toolbar_set_orientation(GTK_TOOLBAR(toolbar), GTK_ORIENTATION_HORIZONTAL); -- gtk_toolbar_set_style(GTK_TOOLBAR(toolbar), GTK_TOOLBAR_BOTH); -+ gtk_toolbar_set_style(GTK_TOOLBAR(toolbar), GTK_TOOLBAR_ICONS); - - for (cur = toolbar_list; cur != NULL; cur = cur->next) { - -Index: claws-mail-2.9.1/src/gtk/prefswindow.c -=================================================================== ---- claws-mail-2.9.1.orig/src/gtk/prefswindow.c 2007-04-25 07:40:10.000000000 +0100 -+++ claws-mail-2.9.1/src/gtk/prefswindow.c 2007-04-25 10:30:15.000000000 +0100 -@@ -343,6 +343,10 @@ - gint x = gdk_screen_width(); - gint y = gdk_screen_height(); - static GdkGeometry geometry; -+ gint col_count = g_slist_length (prefs_pages); -+ -+ if (col_count > 1) -+ col_count = 2; - - prefswindow = g_new0(PrefsWindow, 1); - -@@ -360,39 +364,52 @@ - gtk_window_set_resizable (GTK_WINDOW(prefswindow->window), TRUE); - gtk_container_set_border_width(GTK_CONTAINER(prefswindow->window), 4); - -- prefswindow->table1 = gtk_table_new(2, 2, FALSE); -+ prefswindow->table1 = gtk_table_new(col_count, col_count, FALSE); - gtk_widget_show(prefswindow->table1); - gtk_container_add(GTK_CONTAINER(prefswindow->window), prefswindow->table1); - -- prefswindow->scrolledwindow1 = gtk_scrolled_window_new(NULL, NULL); -- gtk_widget_show(prefswindow->scrolledwindow1); -- gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(prefswindow->scrolledwindow1), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC); -- gtk_table_attach(GTK_TABLE(prefswindow->table1), prefswindow->scrolledwindow1, 0, 1, 0, 1, GTK_FILL, GTK_FILL | GTK_EXPAND, 2, 2); -- -- prefswindow->tree_view = prefswindow_tree_view_create(prefswindow); -- gtk_widget_show(prefswindow->tree_view); -- gtk_container_add(GTK_CONTAINER(prefswindow->scrolledwindow1), -- prefswindow->tree_view); -- -- prefswindow->frame = gtk_frame_new(NULL); -- gtk_widget_show(prefswindow->frame); -- gtk_frame_set_shadow_type(GTK_FRAME(prefswindow->frame), GTK_SHADOW_IN); -- gtk_table_attach(GTK_TABLE(prefswindow->table1), prefswindow->frame, 1, 2, 0, 1, GTK_FILL | GTK_EXPAND, GTK_FILL | GTK_EXPAND, 2, 2); -- -- prefswindow->table2 = gtk_table_new(1, 2, FALSE); -- gtk_widget_show(prefswindow->table2); -- gtk_container_add(GTK_CONTAINER(prefswindow->frame), prefswindow->table2); -- -- prefswindow->labelframe = gtk_frame_new(NULL); -- gtk_widget_show(prefswindow->labelframe); -- gtk_frame_set_shadow_type(GTK_FRAME(prefswindow->labelframe), GTK_SHADOW_OUT); -- gtk_table_attach(GTK_TABLE(prefswindow->table2), prefswindow->labelframe, 0, 1, 0, 1, GTK_FILL | GTK_EXPAND, GTK_FILL, 1, 1); -- -- prefswindow->pagelabel = gtk_label_new(""); -- gtk_widget_show(prefswindow->pagelabel); -- gtk_label_set_justify(GTK_LABEL(prefswindow->pagelabel), GTK_JUSTIFY_LEFT); -- gtk_misc_set_alignment(GTK_MISC(prefswindow->pagelabel), 0, 0.0); -- gtk_container_add(GTK_CONTAINER(prefswindow->labelframe), prefswindow->pagelabel); -+ if (col_count > 1) -+ { -+ prefswindow->scrolledwindow1 = gtk_scrolled_window_new(NULL, NULL); -+ gtk_widget_show(prefswindow->scrolledwindow1); -+ gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(prefswindow->scrolledwindow1), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC); -+ gtk_table_attach(GTK_TABLE(prefswindow->table1), prefswindow->scrolledwindow1, 0, 1, 0, 1, GTK_FILL, GTK_FILL | GTK_EXPAND, 2, 2); -+ -+ prefswindow->tree_view = prefswindow_tree_view_create(prefswindow); -+ gtk_widget_show(prefswindow->tree_view); -+ gtk_container_add(GTK_CONTAINER(prefswindow->scrolledwindow1), -+ prefswindow->tree_view); -+ -+ prefswindow->frame = gtk_frame_new(NULL); -+ gtk_widget_show(prefswindow->frame); -+ gtk_frame_set_shadow_type(GTK_FRAME(prefswindow->frame), GTK_SHADOW_IN); -+ 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); -+ -+ prefswindow->table2 = gtk_table_new(1, 2, FALSE); -+ gtk_widget_show(prefswindow->table2); -+ gtk_container_add(GTK_CONTAINER(prefswindow->frame), prefswindow->table2); -+ } -+ else -+ { -+ prefswindow->table2 = gtk_table_new(1, 2, FALSE); -+ gtk_widget_show(prefswindow->table2); -+ gtk_table_attach(GTK_TABLE(prefswindow->table1), prefswindow->table2, 0, 1, 0, 1, GTK_FILL | GTK_EXPAND, GTK_FILL | GTK_EXPAND, 2, 2); -+ } -+ -+ -+ if (col_count > 1) -+ { -+ prefswindow->labelframe = gtk_frame_new(NULL); -+ gtk_widget_show(prefswindow->labelframe); -+ gtk_frame_set_shadow_type(GTK_FRAME(prefswindow->labelframe), GTK_SHADOW_OUT); -+ gtk_table_attach(GTK_TABLE(prefswindow->table2), prefswindow->labelframe, 0, 1, 0, 1, GTK_FILL | GTK_EXPAND, GTK_FILL, 1, 1); -+ -+ prefswindow->pagelabel = gtk_label_new(""); -+ gtk_widget_show(prefswindow->pagelabel); -+ gtk_label_set_justify(GTK_LABEL(prefswindow->pagelabel), GTK_JUSTIFY_LEFT); -+ gtk_misc_set_alignment(GTK_MISC(prefswindow->pagelabel), 0, 0.0); -+ gtk_container_add(GTK_CONTAINER(prefswindow->labelframe), prefswindow->pagelabel); -+ } - - prefswindow->scrolledwindow2 = gtk_scrolled_window_new(NULL, NULL); - gtk_widget_show(prefswindow->scrolledwindow2); -@@ -411,9 +428,38 @@ - gtk_widget_show(prefswindow->empty_page); - gtk_container_add(GTK_CONTAINER(prefswindow->notebook), prefswindow->empty_page); - -- prefswindow_build_tree(prefswindow->tree_view, prefs_pages); -+ if (col_count > 1) -+ { -+ prefswindow_build_tree(prefswindow->tree_view, prefs_pages); -+ -+ gtk_widget_grab_focus(prefswindow->tree_view); -+ } -+ else -+ { -+ PrefsPage * page = prefs_pages->data; -+ gint pagenum; -+ GtkAdjustment *adj; -+ -+ if (!page->page_open) -+ { -+ page->create_widget(page, -+ GTK_WINDOW(prefswindow->window), -+ prefswindow->data); -+ gtk_container_add(GTK_CONTAINER(prefswindow->notebook), -+ page->widget); -+ page->page_open = TRUE; -+ } -+ -+ pagenum = gtk_notebook_page_num(GTK_NOTEBOOK(prefswindow->notebook), -+ page->widget); -+ gtk_notebook_set_current_page(GTK_NOTEBOOK(prefswindow->notebook), -+ pagenum); - -- gtk_widget_grab_focus(prefswindow->tree_view); -+ adj = gtk_scrolled_window_get_vadjustment( -+ GTK_SCROLLED_WINDOW(prefswindow->scrolledwindow2)); -+ gtk_adjustment_set_value(adj, 0); -+ -+ } - - gtkut_stock_button_set_create(&prefswindow->confirm_area, - &prefswindow->apply_btn, GTK_STOCK_APPLY, -@@ -440,28 +486,6 @@ - G_CALLBACK(prefswindow_key_pressed), &(prefswindow->window)); - #endif - -- /* connect to callback only if we hhave non-NULL pointers to store size to */ -- if (prefswindow->save_width && prefswindow->save_height) { -- g_signal_connect(G_OBJECT(prefswindow->window), "size_allocate", -- G_CALLBACK(prefs_size_allocate_cb), prefswindow); -- } -- -- if (!geometry.min_height) { -- -- if (x < 800 && y < 600) { -- geometry.min_width = 600; -- geometry.min_height = 440; -- } else { -- geometry.min_width = 700; -- geometry.min_height = 550; -- } -- } -- gtk_window_set_geometry_hints(GTK_WINDOW(prefswindow->window), NULL, &geometry, -- GDK_HINT_MIN_SIZE); -- if (prefswindow->save_width && prefswindow->save_height) { -- gtk_widget_set_size_request(prefswindow->window, *(prefswindow->save_width), -- *(prefswindow->save_height)); -- } - - gtk_widget_show(prefswindow->window); - #ifdef MAEMO -Index: claws-mail-2.9.1/src/compose.c -=================================================================== ---- claws-mail-2.9.1.orig/src/compose.c 2007-04-25 07:40:10.000000000 +0100 -+++ claws-mail-2.9.1/src/compose.c 2007-04-25 10:18:13.000000000 +0100 -@@ -352,9 +352,6 @@ - - /* callback functions */ - --static gboolean compose_edit_size_alloc (GtkEditable *widget, -- GtkAllocation *allocation, -- GtkSHRuler *shruler); - static void account_activated (GtkComboBox *optmenu, - gpointer data); - static void attach_selected (GtkTreeView *tree_view, -@@ -439,9 +436,6 @@ - guint action, - GtkWidget *widget); - --static void compose_toggle_ruler_cb (gpointer data, -- guint action, -- GtkWidget *widget); - static void compose_toggle_sign_cb (gpointer data, - guint action, - GtkWidget *widget); -@@ -788,7 +782,6 @@ - ENC_ACTION(C_WINDOWS_874)}, - - {N_("/_Tools"), NULL, NULL, 0, ""}, -- {N_("/_Tools/Show _ruler"), NULL, compose_toggle_ruler_cb, 0, ""}, - {N_("/_Tools/_Address book"), "A", compose_address_cb , 0, NULL}, - {N_("/_Tools/_Template"), NULL, NULL, 0, ""}, - {N_("/_Tools/Actio_ns"), NULL, NULL, 0, ""}, -@@ -2067,7 +2060,6 @@ - menu_set_sensitive(ifactory, "/Message/Insert signature", FALSE); - menu_set_sensitive(ifactory, "/Edit", FALSE); - menu_set_sensitive(ifactory, "/Options", FALSE); -- menu_set_sensitive(ifactory, "/Tools/Show ruler", FALSE); - menu_set_sensitive(ifactory, "/Tools/Actions", FALSE); - - if (compose->toolbar->draft_btn) -@@ -5684,7 +5676,7 @@ - g_signal_connect(G_OBJECT(GTK_COMBO(combo)->entry), "grab_focus", - G_CALLBACK(compose_grab_focus_cb), compose); - gtk_widget_show(combo); -- gtk_table_attach(GTK_TABLE(compose->header_table), combo, 0, 1, compose->header_nextrow, compose->header_nextrow+1, GTK_SHRINK, GTK_FILL, 0, 0); -+ gtk_table_attach(GTK_TABLE(compose->header_table), combo, 0, 1, compose->header_nextrow, compose->header_nextrow+1, GTK_FILL, GTK_FILL, 0, 0); - if (compose->header_last) { - const gchar *last_header_entry = gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(compose->header_last->combo)->entry)); - string = headers; -@@ -5778,7 +5770,7 @@ - - static GtkWidget *compose_create_header(Compose *compose) - { -- GtkWidget *from_optmenu_hbox; -+ GtkWidget *from_optmenu; - GtkWidget *header_scrolledwin; - GtkWidget *header_table; - -@@ -5788,18 +5780,20 @@ - header_scrolledwin = gtk_scrolled_window_new(NULL, NULL); - gtk_widget_show(header_scrolledwin); - gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(header_scrolledwin), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC); -- - header_table = gtk_table_new(2, 2, FALSE); -+ gtk_table_set_col_spacings (GTK_TABLE (header_table), BORDER_WIDTH); - gtk_widget_show(header_table); - gtk_container_set_border_width(GTK_CONTAINER(header_table), BORDER_WIDTH); - gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(header_scrolledwin), header_table); -- gtk_viewport_set_shadow_type(GTK_VIEWPORT(GTK_BIN(header_scrolledwin)->child), GTK_SHADOW_ETCHED_IN); -+ gtk_viewport_set_shadow_type(GTK_VIEWPORT(GTK_BIN(header_scrolledwin)->child), GTK_SHADOW_NONE); - count = 0; - - /* option menu for selecting accounts */ -- from_optmenu_hbox = compose_account_option_menu_create(compose); -- gtk_table_attach(GTK_TABLE(header_table), from_optmenu_hbox, -- 0, 2, count, count + 1, GTK_EXPAND | GTK_FILL, GTK_SHRINK, 0, 0); -+ from_optmenu = compose_account_option_menu_create(compose); -+ gtk_table_attach(GTK_TABLE(header_table), from_optmenu, -+ 0, 1, count, count + 1, GTK_FILL, GTK_FILL, 0, 0); -+ gtk_table_attach(GTK_TABLE(header_table), compose->from_name, -+ 1, 2, count, count + 1, GTK_EXPAND | GTK_FILL, GTK_FILL, 0, 0); - count++; - - compose->header_table = header_table; -@@ -6140,15 +6134,12 @@ - GtkWidget *vbox2; - - GtkWidget *label; -- GtkWidget *subject_hbox; -- GtkWidget *subject_frame; -+ GtkWidget *edit_frame; - GtkWidget *subject_entry; - GtkWidget *subject; - GtkWidget *paned; - - GtkWidget *edit_vbox; -- GtkWidget *ruler_hbox; -- GtkWidget *ruler; - GtkWidget *scrolledwin; - GtkWidget *text; - GtkTextBuffer *buffer; -@@ -6169,8 +6160,6 @@ - GtkAspell * gtkaspell = NULL; - #endif - -- static GdkGeometry geometry; -- - g_return_val_if_fail(account != NULL, NULL); - - debug_print("Creating compose window...\n"); -@@ -6190,28 +6179,6 @@ - - window = gtkut_window_new(GTK_WINDOW_TOPLEVEL, "compose"); - -- gtk_window_set_resizable(GTK_WINDOW(window), TRUE); -- gtk_widget_set_size_request(window, -1, prefs_common.compose_height); -- -- if (!geometry.max_width) { -- geometry.max_width = gdk_screen_width(); -- geometry.max_height = gdk_screen_height(); -- } -- -- gtk_window_set_geometry_hints(GTK_WINDOW(window), NULL, -- &geometry, GDK_HINT_MAX_SIZE); -- if (!geometry.min_width) { -- geometry.min_width = 600; -- geometry.min_height = 480; -- } -- gtk_window_set_geometry_hints(GTK_WINDOW(window), NULL, -- &geometry, GDK_HINT_MIN_SIZE); -- --#ifndef MAEMO -- if (compose_force_window_origin) -- gtk_widget_set_uposition(window, prefs_common.compose_x, -- prefs_common.compose_y); --#endif - g_signal_connect(G_OBJECT(window), "delete_event", - G_CALLBACK(compose_delete_cb), compose); - MANAGE_WINDOW_SIGNALS_CONNECT(window); -@@ -6227,11 +6194,7 @@ - n_menu_entries, "", compose); - gtk_box_pack_start(GTK_BOX(vbox), menubar, FALSE, TRUE, 0); - -- if (prefs_common.toolbar_detachable) { -- handlebox = gtk_handle_box_new(); -- } else { -- handlebox = gtk_hbox_new(FALSE, 0); -- } -+ handlebox = gtk_hbox_new(FALSE, 0); - gtk_box_pack_start(GTK_BOX(vbox), handlebox, FALSE, FALSE, 0); - - gtk_widget_realize(handlebox); -@@ -6244,7 +6207,6 @@ - - /* Notebook */ - notebook = gtk_notebook_new(); -- gtk_widget_set_size_request(notebook, -1, 130); - gtk_widget_show(notebook); - - /* header labels and entries */ -@@ -6258,18 +6220,10 @@ - /* Others Tab */ - gtk_notebook_append_page(GTK_NOTEBOOK(notebook), - compose_create_others(compose), -- gtk_label_new_with_mnemonic(_("Othe_rs"))); -+ gtk_label_new_with_mnemonic(_("Othe_r"))); - - /* Subject */ -- subject_hbox = gtk_hbox_new(FALSE, 0); -- gtk_widget_show(subject_hbox); -- -- subject_frame = gtk_frame_new(NULL); -- gtk_frame_set_shadow_type(GTK_FRAME(subject_frame), GTK_SHADOW_NONE); -- gtk_box_pack_start(GTK_BOX(subject_hbox), subject_frame, TRUE, TRUE, 0); -- gtk_widget_show(subject_frame); -- -- subject = gtk_hbox_new(FALSE, HSPACING_NARROW); -+ subject = gtk_hbox_new(FALSE, BORDER_WIDTH); - gtk_container_set_border_width(GTK_CONTAINER(subject), 0); - gtk_widget_show(subject); - -@@ -6283,20 +6237,16 @@ - G_CALLBACK(compose_grab_focus_cb), compose); - gtk_widget_show(subject_entry); - compose->subject_entry = subject_entry; -- gtk_container_add(GTK_CONTAINER(subject_frame), subject); - -- edit_vbox = gtk_vbox_new(FALSE, 0); -+ edit_vbox = gtk_vbox_new(FALSE, BORDER_WIDTH); -+ gtk_container_set_border_width(GTK_CONTAINER(edit_vbox), BORDER_WIDTH); - -- gtk_box_pack_start(GTK_BOX(edit_vbox), subject_hbox, FALSE, FALSE, 0); -+ gtk_box_pack_start(GTK_BOX(edit_vbox), subject, FALSE, FALSE, 0); - -- /* ruler */ -- ruler_hbox = gtk_hbox_new(FALSE, 0); -- gtk_box_pack_start(GTK_BOX(edit_vbox), ruler_hbox, FALSE, FALSE, 0); -- -- ruler = gtk_shruler_new(); -- gtk_ruler_set_range(GTK_RULER(ruler), 0.0, 100.0, 1.0, 100.0); -- gtk_box_pack_start(GTK_BOX(ruler_hbox), ruler, TRUE, TRUE, -- BORDER_WIDTH); -+ edit_frame = gtk_frame_new(NULL); -+ gtk_frame_set_shadow_type(GTK_FRAME(edit_frame), GTK_SHADOW_IN); -+ gtk_widget_show(edit_frame); -+ gtk_container_add(GTK_CONTAINER(edit_frame), edit_vbox); - - /* text widget */ - scrolledwin = gtk_scrolled_window_new(NULL, NULL); -@@ -6317,9 +6267,6 @@ - - gtk_container_add(GTK_CONTAINER(scrolledwin), text); - -- g_signal_connect_after(G_OBJECT(text), "size_allocate", -- G_CALLBACK(compose_edit_size_alloc), -- ruler); - g_signal_connect(G_OBJECT(buffer), "changed", - G_CALLBACK(compose_changed_cb), compose); - g_signal_connect(G_OBJECT(text), "grab_focus", -@@ -6363,7 +6310,7 @@ - gtk_widget_set_size_request(edit_vbox, -1, mode == COMPOSE_NEW ? 250 : 230); - #endif - gtk_paned_add1(GTK_PANED(paned), notebook); -- gtk_paned_add2(GTK_PANED(paned), edit_vbox); -+ gtk_paned_add2(GTK_PANED(paned), edit_frame); - gtk_widget_show_all(paned); - - -@@ -6408,8 +6355,6 @@ - - compose->notebook = notebook; - compose->edit_vbox = edit_vbox; -- compose->ruler_hbox = ruler_hbox; -- compose->ruler = ruler; - compose->scrolledwin = scrolledwin; - compose->text = text; - -@@ -6531,13 +6476,6 @@ - - compose_list = g_list_append(compose_list, compose); - -- if (!prefs_common.show_ruler) -- gtk_widget_hide(ruler_hbox); -- -- menuitem = gtk_item_factory_get_item(ifactory, "/Tools/Show ruler"); -- gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menuitem), -- prefs_common.show_ruler); -- - /* Priority */ - compose->priority = PRIORITY_NORMAL; - compose_update_priority_menu_item(compose); -@@ -6568,7 +6506,6 @@ - static GtkWidget *compose_account_option_menu_create(Compose *compose) - { - GList *accounts; -- GtkWidget *hbox; - GtkWidget *optmenu; - GtkWidget *optmenubox; - GtkListStore *menu; -@@ -6584,7 +6521,6 @@ - optmenu = gtkut_sc_combobox_create(optmenubox, FALSE); - menu = GTK_LIST_STORE(gtk_combo_box_get_model(GTK_COMBO_BOX(optmenu))); - -- hbox = gtk_hbox_new(FALSE, 6); - from_name = gtk_entry_new(); - - g_signal_connect_after(G_OBJECT(from_name), "grab_focus", -@@ -6623,9 +6559,6 @@ - G_CALLBACK(account_activated), - compose); - -- gtk_box_pack_start(GTK_BOX(hbox), optmenubox, FALSE, FALSE, 0); -- gtk_box_pack_start(GTK_BOX(hbox), from_name, TRUE, TRUE, 0); -- - gtk_tooltips_set_tip(compose->tooltips, optmenubox, - _("Account to use for this email"), NULL); - gtk_tooltips_set_tip(compose->tooltips, from_name, -@@ -6633,7 +6566,7 @@ - - compose->from_name = from_name; - -- return hbox; -+ return optmenubox; - } - - static void compose_set_priority_cb(gpointer data, -@@ -7851,32 +7784,6 @@ - - /* callback functions */ - --/* compose_edit_size_alloc() - called when resized. don't know whether Gtk -- * includes "non-client" (windows-izm) in calculation, so this calculation -- * may not be accurate. -- */ --static gboolean compose_edit_size_alloc(GtkEditable *widget, -- GtkAllocation *allocation, -- GtkSHRuler *shruler) --{ -- if (prefs_common.show_ruler) { -- gint char_width = 0, char_height = 0; -- gint line_width_in_chars; -- -- gtkut_get_font_size(GTK_WIDGET(widget), -- &char_width, &char_height); -- line_width_in_chars = -- (allocation->width - allocation->x) / char_width; -- -- /* got the maximum */ -- gtk_ruler_set_range(GTK_RULER(shruler), -- 0.0, line_width_in_chars, 0, -- /*line_width_in_chars*/ char_width); -- } -- -- return TRUE; --} -- - static void account_activated(GtkComboBox *optmenu, gpointer data) - { - Compose *compose = (Compose *)data; -@@ -9040,21 +8947,6 @@ - compose_update_privacy_system_menu_item(compose, warn); - } - --static void compose_toggle_ruler_cb(gpointer data, guint action, -- GtkWidget *widget) --{ -- Compose *compose = (Compose *)data; -- -- if (GTK_CHECK_MENU_ITEM(widget)->active) { -- gtk_widget_show(compose->ruler_hbox); -- prefs_common.show_ruler = TRUE; -- } else { -- gtk_widget_hide(compose->ruler_hbox); -- gtk_widget_queue_resize(compose->edit_vbox); -- prefs_common.show_ruler = FALSE; -- } --} -- - static void compose_attach_drag_received_cb (GtkWidget *widget, - GdkDragContext *context, - gint x, -Index: claws-mail-2.9.1/src/folderview.c -=================================================================== ---- claws-mail-2.9.1.orig/src/folderview.c 2007-04-03 19:10:25.000000000 +0100 -+++ claws-mail-2.9.1/src/folderview.c 2007-04-25 10:28:00.000000000 +0100 -@@ -73,6 +73,11 @@ - #define COL_FOLDER_WIDTH 150 - #define COL_NUM_WIDTH 32 - -+/* added dummy column to stop the last column from -+ * resizing insanely in small screen view -+ */ -+#define _N_FOLDER_COLS (N_FOLDER_COLS + 1) -+ - static GList *folderview_list = NULL; - - static GtkStyle *normal_style; -@@ -448,7 +453,7 @@ - gint *col_pos; - FolderColumnState *col_state; - FolderColumnType type; -- gchar *titles[N_FOLDER_COLS]; -+ gchar *titles[_N_FOLDER_COLS]; - gint i; - GtkWidget *scrolledwin = folderview->scrolledwin; - -@@ -471,8 +476,9 @@ - titles[col_pos[F_COL_UNREAD]] = _("Unread"); - /* TRANSLATORS: This in Number sign in American style */ - titles[col_pos[F_COL_TOTAL]] = _("#"); -+ titles[F_COL_DUMMY] = ""; - -- ctree = gtk_sctree_new_with_titles(N_FOLDER_COLS, col_pos[F_COL_FOLDER], -+ ctree = gtk_sctree_new_with_titles(_N_FOLDER_COLS, col_pos[F_COL_FOLDER], - titles); - - gtk_clist_set_selection_mode(GTK_CLIST(ctree), GTK_SELECTION_BROWSE); -@@ -510,6 +516,9 @@ - (GTK_CLIST(ctree), i, col_state[i].visible); - } - -+ GTK_WIDGET_UNSET_FLAGS(GTK_CLIST(ctree)->column[i].button, -+ GTK_CAN_FOCUS); -+ - g_signal_connect(G_OBJECT(ctree), "key_press_event", - G_CALLBACK(folderview_key_pressed), - folderview); -@@ -605,9 +614,6 @@ - (GTK_SCROLLED_WINDOW(scrolledwin), - GTK_POLICY_AUTOMATIC, - prefs_common.folderview_vscrollbar_policy); -- gtk_widget_set_size_request(scrolledwin, -- prefs_common.folderview_width, -- prefs_common.folderview_height); - - folderview->scrolledwin = scrolledwin; - ctree = folderview_ctree_create(folderview); -@@ -2268,7 +2274,7 @@ - static void folderview_create_folder_node(FolderView *folderview, FolderItem *item) - { - GtkCTree *ctree = GTK_CTREE(folderview->ctree); -- gchar *text[N_FOLDER_COLS] = {NULL, "0", "0", "0"}; -+ gchar *text[_N_FOLDER_COLS] = {NULL, "0", "0", "0", ""}; - GtkCTreeNode *node, *parent_node; - gint *col_pos = folderview->col_pos; - FolderItemUpdateData hookdata; -Index: claws-mail-2.9.1/src/folderview.h -=================================================================== ---- claws-mail-2.9.1.orig/src/folderview.h 2007-03-22 17:22:52.000000000 +0000 -+++ claws-mail-2.9.1/src/folderview.h 2007-04-25 10:16:55.000000000 +0100 -@@ -37,7 +37,8 @@ - F_COL_FOLDER, - F_COL_NEW, - F_COL_UNREAD, -- F_COL_TOTAL -+ F_COL_TOTAL, -+ F_COL_DUMMY - } FolderColumnType; - - #define N_FOLDER_COLS 4 diff --git a/meta/recipes-sato/clipboard-manager/clipboard-manager_0.6.4.bb b/meta/recipes-sato/clipboard-manager/clipboard-manager_0.6.4.bb deleted file mode 100644 index 82dd1d047f..0000000000 --- a/meta/recipes-sato/clipboard-manager/clipboard-manager_0.6.4.bb +++ /dev/null @@ -1,33 +0,0 @@ -LICENSE = "GPL" -DESCRIPTION = "clipboard manager" -DEPENDS = "virtual/libx11" - -SRC_URI = "svn://stage.maemo.org/svn/maemo/projects/haf/tags/clipboard-manager/;module=${PV};proto=https \ - file://makefile.patch;patch=1 \ - file://script.patch;patch=1 \ - file://daemonize.patch;patch=1 \ - " - -S = "${WORKDIR}/${PV}" - -inherit autotools pkgconfig - -do_install_append () { - mv ${D}/${sysconfdir}/X11/Xsession.d/clipboard.sh ${D}/${sysconfdir}/X11/Xsession.d/70clipboard - chmod u+x ${D}/${sysconfdir}/X11/Xsession.d/70clipboard -} - -pkg_postinst_clipboard-manager () { -#!/bin/sh -e -if [ x"$D" = "x" ]; then - { - if [ x$(pidof clipboard-manager) != x ]; then - kill -TERM $(pidof clipboard-manager) - fi - - ${sysconfdir}/X11/Xsession.d/70clipboard - } > /dev/null -else - exit 1 -fi -} diff --git a/meta/recipes-sato/clipboard-manager/files/daemonize.patch b/meta/recipes-sato/clipboard-manager/files/daemonize.patch deleted file mode 100644 index 51ce4781a5..0000000000 --- a/meta/recipes-sato/clipboard-manager/files/daemonize.patch +++ /dev/null @@ -1,44 +0,0 @@ -Index: 0.6.4/manager.c -=================================================================== ---- 0.6.4.orig/manager.c 2007-06-28 12:23:37.000000000 +0100 -+++ 0.6.4/manager.c 2007-06-28 12:36:14.000000000 +0100 -@@ -68,7 +68,8 @@ - ClipboardManager *manager; - int terminated = False; - Display *display; -- -+ pid_t pid; -+ - display = XOpenDisplay (NULL); - - if (!display) -@@ -83,6 +84,29 @@ - exit (1); - } - -+ /* deamonize */ -+ pid = fork(); -+ switch (pid) -+ { -+ case -1: fprintf (stderr, "Fork failed.\n"); -+ /* Fall through */ -+ default: exit(0); break; -+ case 0: break; -+ } -+ -+ chdir ("/"); -+ setsid (); -+ umask (0); -+ -+ pid = fork(); -+ switch (pid) -+ { -+ case -1: fprintf (stderr, "Fork failed.\n"); -+ /* Fall through */ -+ default: exit(0); break; -+ case 0: break; -+ } -+ - XSetErrorHandler (x_error); - manager = clipboard_manager_new (display, - error_trap_push, error_trap_pop, diff --git a/meta/recipes-sato/clipboard-manager/files/makefile.patch b/meta/recipes-sato/clipboard-manager/files/makefile.patch deleted file mode 100644 index 6e48da004c..0000000000 --- a/meta/recipes-sato/clipboard-manager/files/makefile.patch +++ /dev/null @@ -1,18 +0,0 @@ -Index: 0.6.4/Makefile.am -=================================================================== ---- 0.6.4.orig/Makefile.am 2007-06-28 12:23:37.000000000 +0100 -+++ 0.6.4/Makefile.am 2007-06-28 14:21:23.000000000 +0100 -@@ -1,5 +1,3 @@ --SUBDIRS = debian -- - bin_PROGRAMS = clipboard-manager - - INCLUDES = \ -@@ -21,6 +19,6 @@ - clipboard.txt \ - clipboard.sh - --servicedir = $(sysconfdir)/osso-af-init -+servicedir = $(sysconfdir)/X11/Xsession.d - - service_DATA = clipboard.sh diff --git a/meta/recipes-sato/clipboard-manager/files/script.patch b/meta/recipes-sato/clipboard-manager/files/script.patch deleted file mode 100644 index 09e68620d7..0000000000 --- a/meta/recipes-sato/clipboard-manager/files/script.patch +++ /dev/null @@ -1,39 +0,0 @@ -Index: 0.6.4/clipboard.sh -=================================================================== ---- 0.6.4.orig/clipboard.sh 2007-06-28 12:23:37.000000000 +0100 -+++ 0.6.4/clipboard.sh 2007-06-28 14:27:39.000000000 +0100 -@@ -1,33 +1,2 @@ - #!/bin/sh --# Clipboard persistence manager startup script -- --if [ "x$AF_PIDDIR" = "x" ]; then -- echo "$0: Error, AF_PIDDIR is not defined" -- exit 2 --fi --if [ "x$LAUNCHWRAPPER_NICE_TRYRESTART" = "x" ]; then -- echo "$0: Error, LAUNCHWRAPPER_NICE_TRYRESTART is not defined" -- exit 2 --fi --if [ ! -w $AF_PIDDIR ]; then -- echo "$0: Error, directory $AF_PIDDIR is not writable" -- exit 2 --fi --PROG=/usr/bin/clipboard-manager --SVC="clipboard-manager" -- --case "$1" in --start) START=TRUE -- ;; --stop) START=FALSE -- ;; --*) echo "Usage: $0 {start|stop}" -- exit 1 -- ;; --esac -- --if [ $START = TRUE ]; then -- source $LAUNCHWRAPPER_NICE_TRYRESTART start "$SVC" $PROG --else -- source $LAUNCHWRAPPER_NICE_TRYRESTART stop "$SVC" $PROG --fi -+/usr/bin/clipboard-manager & diff --git a/meta/recipes-sato/epdfview/epdfview/epdfview-ui-print.xml b/meta/recipes-sato/epdfview/epdfview/epdfview-ui-print.xml deleted file mode 100644 index 3ddf5147df..0000000000 --- a/meta/recipes-sato/epdfview/epdfview/epdfview-ui-print.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - diff --git a/meta/recipes-sato/epdfview/epdfview/epdfview-ui.xml b/meta/recipes-sato/epdfview/epdfview/epdfview-ui.xml deleted file mode 100644 index 602d86f903..0000000000 --- a/meta/recipes-sato/epdfview/epdfview/epdfview-ui.xml +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/meta/recipes-sato/epdfview/epdfview/epdfview.desktop b/meta/recipes-sato/epdfview/epdfview/epdfview.desktop deleted file mode 100644 index d3bf06d2aa..0000000000 --- a/meta/recipes-sato/epdfview/epdfview/epdfview.desktop +++ /dev/null @@ -1,10 +0,0 @@ -[Desktop Entry] -Categories=Viewer;Office;GTK; -Comment=Lightweight PDF document viewer -Exec=epdfview %f -GenericName=PDF Viewer -Icon=accessories-text-editor -Name=PDF Viewer -MimeType=application/pdf; -Terminal=false -Type=Application diff --git a/meta/recipes-sato/epdfview/epdfview/owl-menus.patch b/meta/recipes-sato/epdfview/epdfview/owl-menus.patch deleted file mode 100644 index 755b71e7a4..0000000000 --- a/meta/recipes-sato/epdfview/epdfview/owl-menus.patch +++ /dev/null @@ -1,325 +0,0 @@ -Index: epdfview-0.1.7/src/Makefile.am -=================================================================== ---- epdfview-0.1.7.orig/src/Makefile.am 2010-07-13 12:30:44.014172385 +0100 -+++ epdfview-0.1.7/src/Makefile.am 2010-07-13 12:30:48.780063260 +0100 -@@ -58,7 +58,7 @@ - main.cxx - - libshell_cxxflags = -I$(top_srcdir)/src/gtk $(GTK2_CFLAGS) --libshell_ldadd = $(GTK2_LIBS) $(top_builddir)/src/gtk/libshell-gtk.a -+libshell_ldadd = $(GTK2_LIBS) $(top_builddir)/src/gtk/libshell-gtk.a -lowl - - epdfview_CXXFLAGS = \ - -DLOCALEDIR='"$(datadir)/locale"' \ -Index: epdfview-0.1.7/src/gtk/MainView.cxx -=================================================================== ---- epdfview-0.1.7.orig/src/gtk/MainView.cxx 2010-07-13 12:30:44.014172385 +0100 -+++ epdfview-0.1.7/src/gtk/MainView.cxx 2010-07-13 12:30:48.782124540 +0100 -@@ -20,6 +20,7 @@ - #include - #include - #include -+#include - #include - #include "StockIcons.h" - #include "FindView.h" -@@ -86,6 +87,7 @@ - // The actions for menus and toolbars. - static const GtkActionEntry g_NormalEntries[] = - { -+ { "Top", NULL, "", NULL, NULL, NULL }, - { "FileMenu", NULL, N_("_File"), NULL, NULL, NULL }, - { "EditMenu", NULL, N_("_Edit"), NULL, NULL, NULL }, - { "ViewMenu", NULL, N_("_View"), NULL, NULL, NULL }, -@@ -100,7 +102,7 @@ - N_("Reload the current document"), - G_CALLBACK (main_window_reload_cb) }, - -- { "SaveFile", GTK_STOCK_SAVE, N_("_Save a Copy..."), "S", -+ { "SaveFile", GTK_STOCK_SAVE, N_("_Save a Copy..."), "W", - N_("Save a copy of the current document"), - G_CALLBACK (main_window_save_file_cb) }, - -@@ -110,11 +112,11 @@ - G_CALLBACK (main_window_print_cb) }, - #endif // HAVE_CUPS - -- { "Quit", GTK_STOCK_CLOSE, N_("_Close"), "W", -+ { "Quit", GTK_STOCK_CLOSE, N_("_Close"), "Q", - N_("Close this window"), - G_CALLBACK (main_window_quit_cb) }, - -- { "Find", GTK_STOCK_FIND, N_("_Find"), "F", -+ { "Find", GTK_STOCK_FIND, N_("_Find"), "S", - N_("Find a word in the document"), - G_CALLBACK (main_window_find_cb) }, - -@@ -138,19 +140,19 @@ - N_("Rotate the document 90 degrees counter-clockwise"), - G_CALLBACK (main_window_rotate_left_cb) }, - -- { "GoToFirstPage", GTK_STOCK_GOTO_FIRST, N_("_First Page"), "Home", -+ { "GoToFirstPage", GTK_STOCK_GOTO_FIRST, N_("_First Page"), "1", - N_("Go to the first page"), - G_CALLBACK (main_window_go_to_first_page_cb) }, - -- { "GoToNextPage", GTK_STOCK_GO_FORWARD, N_("_Next Page"), "Page_Down", -+ { "GoToNextPage", GTK_STOCK_GO_FORWARD, N_("_Next Page"), "Down", - N_("Go to the next page"), - G_CALLBACK (main_window_go_to_next_page_cb) }, - -- { "GoToPreviousPage", GTK_STOCK_GO_BACK, N_("_Previous Page"), "Page_Up", -+ { "GoToPreviousPage", GTK_STOCK_GO_BACK, N_("_Previous Page"), "Up", - N_("Go to the previous page"), - G_CALLBACK (main_window_go_to_previous_page_cb) }, - -- { "GoToLastPage", GTK_STOCK_GOTO_LAST, N_("_Last Page"), "End", -+ { "GoToLastPage", GTK_STOCK_GOTO_LAST, N_("_Last Page"), "0", - N_("Go to the last page"), - G_CALLBACK (main_window_go_to_last_page_cb) }, - -@@ -172,7 +174,7 @@ - - static GtkToggleActionEntry g_ToggleEntries[] = - { -- { "FullScreen", NULL, N_("F_ull screen"), "F11", -+ { "FullScreen", NULL, N_("F_ull screen"), "F", - N_("Toggle full screen window"), - G_CALLBACK (main_window_fullscreen_cb), FALSE }, - -@@ -184,7 +186,7 @@ - N_("Show or hide the statusbar"), - G_CALLBACK (main_window_show_statusbar_cb), TRUE }, - -- { "ShowIndex", NULL, N_("Show I_ndex"), "F9", -+ { "ShowIndex", NULL, N_("Show I_ndex"), "I", - N_("Show or hide the document's outline"), - G_CALLBACK (main_window_show_index_cb), FALSE }, - -@@ -234,9 +236,8 @@ - GtkAccelGroup *accelGroup = gtk_ui_manager_get_accel_group (m_UIManager); - gtk_window_add_accel_group (GTK_WINDOW (m_MainWindow), accelGroup); - // Add the menu bar and tool bar. -- GtkWidget *menuBar = gtk_ui_manager_get_widget (m_UIManager, "/MenuBar"); -- gtk_box_pack_start (GTK_BOX (m_MainBox), menuBar, FALSE, FALSE, 0); -- gtk_widget_show (menuBar); -+ owl_set_window_menu_item (GTK_WINDOW (m_MainWindow), -+ GTK_MENU_ITEM(gtk_ui_manager_get_widget(m_UIManager, "/MenuBar/TopMenu"))); - GtkWidget *toolBar = gtk_ui_manager_get_widget (m_UIManager, "/ToolBar"); - gtk_box_pack_start (GTK_BOX (m_MainBox), toolBar, FALSE, FALSE, 0); - // Add the current page tool item. -@@ -285,7 +286,7 @@ - MainView::activeZoomFit (gboolean active) - { - GtkAction *zoomFit = -- gtk_ui_manager_get_action (m_UIManager, "/MenuBar/ViewMenu/ZoomFit"); -+ gtk_ui_manager_get_action (m_UIManager, "/MenuBar/TopMenu/ViewMenu/ZoomFit"); - gtk_toggle_action_set_active (GTK_TOGGLE_ACTION (zoomFit), active); - } - -@@ -293,7 +294,7 @@ - MainView::activeZoomWidth (gboolean active) - { - GtkAction *zoomWidth = -- gtk_ui_manager_get_action (m_UIManager, "/MenuBar/ViewMenu/ZoomWidth"); -+ gtk_ui_manager_get_action (m_UIManager, "/MenuBar/TopMenu/ViewMenu/ZoomWidth"); - gtk_toggle_action_set_active (GTK_TOGGLE_ACTION (zoomWidth), active); - } - -@@ -484,7 +485,7 @@ - MainView::sensitiveFind (gboolean sensitive) - { - GtkAction *find = -- gtk_ui_manager_get_action (m_UIManager, "/MenuBar/EditMenu/Find"); -+ gtk_ui_manager_get_action (m_UIManager, "/MenuBar/TopMenu/EditMenu/Find"); - gtk_action_set_sensitive (find, sensitive); - } - -@@ -492,7 +493,7 @@ - MainView::sensitiveGoToFirstPage (gboolean sensitive) - { - GtkAction *goToFirstPage = gtk_ui_manager_get_action (m_UIManager, -- "/MenuBar/GoMenu/GoToFirstPage"); -+ "/MenuBar/TopMenu/GoMenu/GoToFirstPage"); - gtk_action_set_sensitive (goToFirstPage, sensitive); - } - -@@ -500,7 +501,7 @@ - MainView::sensitiveGoToLastPage (gboolean sensitive) - { - GtkAction *goToLastPage = -- gtk_ui_manager_get_action (m_UIManager, "/MenuBar/GoMenu/GoToLastPage"); -+ gtk_ui_manager_get_action (m_UIManager, "/MenuBar/TopMenu/GoMenu/GoToLastPage"); - gtk_action_set_sensitive (goToLastPage, sensitive); - } - -@@ -508,7 +509,7 @@ - MainView::sensitiveGoToNextPage (gboolean sensitive) - { - GtkAction *goToNextPage = -- gtk_ui_manager_get_action (m_UIManager, "/MenuBar/GoMenu/GoToNextPage"); -+ gtk_ui_manager_get_action (m_UIManager, "/MenuBar/TopMenu/GoMenu/GoToNextPage"); - gtk_action_set_sensitive (goToNextPage, sensitive); - } - -@@ -522,7 +523,7 @@ - MainView::sensitiveGoToPreviousPage (gboolean sensitive) - { - GtkAction *goToPreviousPage = gtk_ui_manager_get_action (m_UIManager, -- "/MenuBar/GoMenu/GoToPreviousPage"); -+ "/MenuBar/TopMenu/GoMenu/GoToPreviousPage"); - gtk_action_set_sensitive (goToPreviousPage, sensitive); - } - -@@ -530,7 +531,7 @@ - MainView::sensitiveOpen (gboolean sensitive) - { - GtkAction *open = -- gtk_ui_manager_get_action (m_UIManager, "/MenuBar/FileMenu/OpenFile"); -+ gtk_ui_manager_get_action (m_UIManager, "/MenuBar/TopMenu/FileMenu/OpenFile"); - gtk_action_set_sensitive (open, sensitive); - } - -@@ -539,7 +540,7 @@ - MainView::sensitivePrint (gboolean sensitive) - { - GtkAction *print = gtk_ui_manager_get_action (m_UIManager, -- "/MenuBar/FileMenu/PrintPlaceHolder/Print"); -+ "/MenuBar/TopMenu/FileMenu/PrintPlaceHolder/Print"); - gtk_action_set_sensitive (print, sensitive); - } - #endif // HAVE_CUPS -@@ -548,7 +549,7 @@ - MainView::sensitiveReload (gboolean sensitive) - { - GtkAction *reload = -- gtk_ui_manager_get_action (m_UIManager, "/MenuBar/FileMenu/ReloadFile"); -+ gtk_ui_manager_get_action (m_UIManager, "/MenuBar/TopMenu/FileMenu/ReloadFile"); - gtk_action_set_sensitive (reload, sensitive); - } - -@@ -556,7 +557,7 @@ - MainView::sensitiveRotateLeft (gboolean sensitive) - { - GtkAction *rotateLeft = -- gtk_ui_manager_get_action (m_UIManager, "/MenuBar/ViewMenu/RotateLeft"); -+ gtk_ui_manager_get_action (m_UIManager, "/MenuBar/TopMenu/ViewMenu/RotateLeft"); - gtk_action_set_sensitive (rotateLeft, sensitive); - } - -@@ -564,7 +565,7 @@ - MainView::sensitiveRotateRight (gboolean sensitive) - { - GtkAction *rotateRight = gtk_ui_manager_get_action (m_UIManager, -- "/MenuBar/ViewMenu/RotateRight"); -+ "/MenuBar/TopMenu/ViewMenu/RotateRight"); - gtk_action_set_sensitive (rotateRight, sensitive); - } - -@@ -572,7 +573,7 @@ - MainView::sensitiveSave (gboolean sensitive) - { - GtkAction *save = -- gtk_ui_manager_get_action (m_UIManager, "/MenuBar/FileMenu/SaveFile"); -+ gtk_ui_manager_get_action (m_UIManager, "/MenuBar/TopMenu/FileMenu/SaveFile"); - gtk_action_set_sensitive (save, sensitive); - } - -@@ -586,7 +587,7 @@ - MainView::sensitiveZoomIn (gboolean sensitive) - { - GtkAction *zoomIn = -- gtk_ui_manager_get_action (m_UIManager, "/MenuBar/ViewMenu/ZoomIn"); -+ gtk_ui_manager_get_action (m_UIManager, "/MenuBar/TopMenu/ViewMenu/ZoomIn"); - gtk_action_set_sensitive (zoomIn, sensitive); - } - -@@ -594,7 +595,7 @@ - MainView::sensitiveZoomOut (gboolean sensitive) - { - GtkAction *zoomOut = -- gtk_ui_manager_get_action (m_UIManager, "/MenuBar/ViewMenu/ZoomOut"); -+ gtk_ui_manager_get_action (m_UIManager, "/MenuBar/TopMenu/ViewMenu/ZoomOut"); - gtk_action_set_sensitive (zoomOut, sensitive); - } - -@@ -602,7 +603,7 @@ - MainView::sensitiveZoomFit (gboolean sensitive) - { - GtkAction *zoomFit = -- gtk_ui_manager_get_action (m_UIManager, "/MenuBar/ViewMenu/ZoomFit"); -+ gtk_ui_manager_get_action (m_UIManager, "/MenuBar/TopMenu/ViewMenu/ZoomFit"); - gtk_action_set_sensitive (zoomFit, sensitive); - } - -@@ -610,7 +611,7 @@ - MainView::sensitiveZoomWidth (gboolean sensitive) - { - GtkAction *zoomWidth = -- gtk_ui_manager_get_action (m_UIManager, "/MenuBar/ViewMenu/ZoomWidth"); -+ gtk_ui_manager_get_action (m_UIManager, "/MenuBar/TopMenu/ViewMenu/ZoomWidth"); - gtk_action_set_sensitive (zoomWidth, sensitive); - } - -@@ -654,7 +655,7 @@ - } - GtkAction *showIndex = - gtk_ui_manager_get_action (m_UIManager, -- "/MenuBar/ViewMenu/ShowIndex"); -+ "/MenuBar/TopMenu/ViewMenu/ShowIndex"); - gtk_toggle_action_set_active (GTK_TOGGLE_ACTION (showIndex), show); - } - -@@ -695,13 +696,13 @@ - gtk_window_fullscreen (GTK_WINDOW (m_MainWindow)); - // Hide the menu bar, tool bar, status bar and the index bar. Then - // zoom to fit. -- gtk_widget_hide (menuBar); -+// gtk_widget_hide (menuBar); - gtk_widget_hide (toolBar); - gtk_widget_hide (m_StatusBar); - gtk_widget_hide (m_Sidebar); - gtk_toggle_action_set_active ( - GTK_TOGGLE_ACTION (gtk_ui_manager_get_action (m_UIManager, -- "/MenuBar/ViewMenu/ZoomFit")), TRUE); -+ "/MenuBar/TopMenu/ViewMenu/ZoomFit")), TRUE); - } - else - { -@@ -711,15 +712,15 @@ - // enabled. - main_window_show_index_cb ( - GTK_TOGGLE_ACTION (gtk_ui_manager_get_action (m_UIManager, -- "/MenuBar/ViewMenu/ShowIndex")), -+ "/MenuBar/TopMenu/ViewMenu/ShowIndex")), - (gpointer)m_Pter); - main_window_show_statusbar_cb ( - GTK_TOGGLE_ACTION (gtk_ui_manager_get_action (m_UIManager, -- "/MenuBar/ViewMenu/ShowStatusBar")), -+ "/MenuBar/TopMenu/ViewMenu/ShowStatusBar")), - (gpointer)m_Pter); - main_window_show_toolbar_cb ( - GTK_TOGGLE_ACTION (gtk_ui_manager_get_action (m_UIManager, -- "/MenuBar/ViewMenu/ShowToolBar")), -+ "/MenuBar/TopMenu/ViewMenu/ShowToolBar")), - (gpointer)m_Pter); - } - } -@@ -814,7 +815,7 @@ - MainView::showStatusbar (gboolean show) - { - GtkAction *toggleAction = gtk_ui_manager_get_action (m_UIManager, -- "/MenuBar/ViewMenu/ShowStatusBar"); -+ "/MenuBar/TopMenu/ViewMenu/ShowStatusBar"); - gtk_toggle_action_set_active (GTK_TOGGLE_ACTION (toggleAction), show); - if ( show ) - { -@@ -830,7 +831,7 @@ - MainView::showToolbar (gboolean show) - { - GtkAction *toggleAction = gtk_ui_manager_get_action (m_UIManager, -- "/MenuBar/ViewMenu/ShowToolBar"); -+ "/MenuBar/TopMenu/ViewMenu/ShowToolBar"); - gtk_toggle_action_set_active (GTK_TOGGLE_ACTION (toggleAction), show); - GtkWidget *toolBar = gtk_ui_manager_get_widget (m_UIManager, "/ToolBar"); - if ( show ) diff --git a/meta/recipes-sato/epdfview/epdfview_0.1.6.bb b/meta/recipes-sato/epdfview/epdfview_0.1.6.bb deleted file mode 100644 index a528474d9b..0000000000 --- a/meta/recipes-sato/epdfview/epdfview_0.1.6.bb +++ /dev/null @@ -1,21 +0,0 @@ -DESCRIPTION = "A minimal PDF viewer based on gtk and poppler" -HOMEPAGE = "http://trac.emma-soft.com/epdfview/" -LICENSE = "GPLv2" -SECTION = "x11/applications" -DEPENDS = "poppler gtk+ libowl" -PR="r0" - -SRC_URI = "http://trac.emma-soft.com/epdfview/chrome/site/releases/epdfview-${PV}.tar.bz2 \ - file://owl-menus.patch \ - file://epdfview.desktop \ - file://epdfview-ui.xml \ - file://epdfview-ui-print.xml" - -inherit autotools gettext - -do_install_prepend() { - install ${WORKDIR}/epdfview-ui.xml ${S}/data/epdfview-ui.xml - install ${WORKDIR}/epdfview-ui-print.xml ${S}/data/epdfview-ui-print.xml - install ${WORKDIR}/epdfview.desktop ${S}/data/epdfview.desktop -} - diff --git a/meta/recipes-sato/epdfview/epdfview_0.1.7.bb b/meta/recipes-sato/epdfview/epdfview_0.1.7.bb deleted file mode 100644 index 34e08bd140..0000000000 --- a/meta/recipes-sato/epdfview/epdfview_0.1.7.bb +++ /dev/null @@ -1,21 +0,0 @@ -DESCRIPTION = "A minimal PDF viewer based on gtk and poppler" -HOMEPAGE = "http://trac.emma-soft.com/epdfview/" -LICENSE = "GPLv2" -SECTION = "x11/applications" -DEPENDS = "poppler gtk+" -PR="r0" - -SRC_URI = "http://trac.emma-soft.com/epdfview/chrome/site/releases/epdfview-${PV}.tar.bz2 \ - file://owl-menus.patch;patch=1 \ - file://epdfview.desktop \ - file://epdfview-ui.xml \ - file://epdfview-ui-print.xml" - -inherit autotools gettext - -do_install_prepend() { - install ${WORKDIR}/epdfview-ui.xml ${S}/data/epdfview-ui.xml - install ${WORKDIR}/epdfview-ui-print.xml ${S}/data/epdfview-ui-print.xml - install ${WORKDIR}/epdfview.desktop ${S}/data/epdfview.desktop -} - diff --git a/meta/recipes-sato/kf/files/fix-configure.patch b/meta/recipes-sato/kf/files/fix-configure.patch deleted file mode 100644 index fc1ad9a418..0000000000 --- a/meta/recipes-sato/kf/files/fix-configure.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff -urNd ../kf-0.5.4.1-r0/kf-0.5.4.1/configure.in kf-0.5.4.1/configure.in ---- ../kf-0.5.4.1-r0/kf-0.5.4.1/configure.in 2005-04-27 19:42:49.000000000 +0100 -+++ kf-0.5.4.1/configure.in 2005-09-29 14:12:32.000000000 +0100 -@@ -27,7 +27,7 @@ - dnl AC_ARG_ENABLE(debug,) - - dnl modules needed for package --MODULES="gtk+-2.0 >= 2.0.0 libglade-2.0 >= 1.110.0 loudmouth-1.0 >= 0.16" -+MODULES="gtk+-2.0 >= 2.0.0 libglade-2.0 >= 1.110.0 loudmouth-1.0 >= 0.16 libxml-2.0" - dnl MODULES="gtk+-2.0 >= 2.0.0 libglade-2.0 >= 1.110.0 loudmouth-1.0 >= 0.15.1" - - dnl GtkSpell -@@ -60,9 +60,9 @@ - AC_DEFINE([HAVE_LM_CONNECTION_SET_JID],1,[We have lm_connection_set_jid]) - fi - --dnl XScreenSaver stuff... --AC_DEFINE([HAVE_XSCREENSAVER], [1], [Whether to support XScreenSaver extension]) --PACKAGE_LIBS="$PACKAGE_LIBS -lXss -L/usr/X11R6/lib" -+#dnl XScreenSaver stuff... -+#AC_DEFINE([HAVE_XSCREENSAVER], [1], [Whether to support XScreenSaver extension]) -+#PACKAGE_LIBS="$PACKAGE_LIBS -lXss -L/usr/X11R6/lib" - - AC_SUBST(PACKAGE_CFLAGS) - AC_SUBST(PACKAGE_LIBS) diff --git a/meta/recipes-sato/kf/files/fix-desktop-file.patch b/meta/recipes-sato/kf/files/fix-desktop-file.patch deleted file mode 100644 index 7a0f7d1bca..0000000000 --- a/meta/recipes-sato/kf/files/fix-desktop-file.patch +++ /dev/null @@ -1,20 +0,0 @@ -Common subdirectories: kf-0.5.4.1.orig/data and kf-0.5.4.1/data -diff -u kf-0.5.4.1.orig/kf.desktop kf-0.5.4.1/kf.desktop ---- kf-0.5.4.1.orig/kf.desktop 2005-04-19 22:08:44.000000000 +0100 -+++ kf-0.5.4.1/kf.desktop 2005-10-03 14:36:47.000000000 +0100 -@@ -1,6 +1,6 @@ - [Desktop Entry] - Encoding=UTF-8 --Name=kf jabber client -+Name=Instant Messenger - Name[pl]=kf klient sieci jabber - Name[lt]=Pokalbių programa kf - GenericName=Instant Messenger -@@ -11,5 +11,6 @@ - Icon=kf.png - Terminal=false - Type=Application --Categories=GTK;Application;Network; -+Categories=GTK;PIM;Application;Network; - StartupNotify=true -+X-MB-SingleInstance=true diff --git a/meta/recipes-sato/kf/files/gcc4.patch b/meta/recipes-sato/kf/files/gcc4.patch deleted file mode 100644 index 58727ea0e0..0000000000 --- a/meta/recipes-sato/kf/files/gcc4.patch +++ /dev/null @@ -1,30 +0,0 @@ -Index: kf-0.5.4.1/src/jispman.c -=================================================================== ---- kf-0.5.4.1.orig/src/jispman.c 2006-12-03 15:33:47.000000000 +0100 -+++ kf-0.5.4.1/src/jispman.c 2006-12-03 15:35:01.000000000 +0100 -@@ -25,12 +25,6 @@ - #include "emoticons.h" - #include "kf.h" - --struct _KfJispManager { -- GHashTable *jisps; /** A hash-table of all JISP pachages managed by this object, indexed by their filename */ -- GList *patterns; /** A list of patterns */ --}; -- -- - /** - * \brief create a new instance of KfJispManager - * \return a new instance of KfJispManager -Index: kf-0.5.4.1/src/jispman.h -=================================================================== ---- kf-0.5.4.1.orig/src/jispman.h 2006-12-03 15:33:47.000000000 +0100 -+++ kf-0.5.4.1/src/jispman.h 2006-12-03 15:34:37.000000000 +0100 -@@ -25,6 +25,8 @@ - #include "jisp.h" - - typedef struct _KfJispManager { -+ GHashTable *jisps; /** A hash-table of all JISP pachages managed by this object, indexed by their filename */ -+ GList *patterns; /** A list of patterns */ - } KfJispManager; - - /** diff --git a/meta/recipes-sato/kf/kf_0.5.4.1.bb b/meta/recipes-sato/kf/kf_0.5.4.1.bb deleted file mode 100644 index 2baa6d46f7..0000000000 --- a/meta/recipes-sato/kf/kf_0.5.4.1.bb +++ /dev/null @@ -1,16 +0,0 @@ -DESCRIPTION = "Kf is a GTK+ instant messaging client." -LICENSE = "GPL" -DEPENDS = "libxml2 glib-2.0 gtk+ loudmouth libglade" -PR = "r4" - -SRC_URI = "http://jabberstudio.2nw.net/${PN}/${PN}-${PV}.tar.gz \ - file://fix-configure.patch;patch=1 \ - file://fix-desktop-file.patch;patch=0 \ - file://gcc4.patch;patch=1" - -inherit autotools pkgconfig - -EXTRA_OECONF = "--disable-binreloc" - -export PKG_CONFIG="${STAGING_BINDIR_NATIVE}/pkg-config" - diff --git a/meta/recipes-sato/matchbox-themes-extra/matchbox-themes-extra_0.3.bb b/meta/recipes-sato/matchbox-themes-extra/matchbox-themes-extra_0.3.bb deleted file mode 100644 index fb91f03b12..0000000000 --- a/meta/recipes-sato/matchbox-themes-extra/matchbox-themes-extra_0.3.bb +++ /dev/null @@ -1,25 +0,0 @@ -DESCRIPTION = "Matchbox window manager extra themes" -LICENSE = "GPL" -DEPENDS = "matchbox-wm" -SECTION = "x11/wm" - -SRC_URI = "http://projects.o-hand.com/matchbox/sources/matchbox-themes-extra/${PV}/matchbox-themes-extra-${PV}.tar.bz2" -S = "${WORKDIR}/matchbox-themes-extra-${PV}" - -inherit autotools pkgconfig - -# split into several packages plus one meta package -PACKAGES = "${PN} ${PN}-industrial ${PN}-expose ${PN}-mbcrystal" - -ALLOW_EMPTY_${PN} = "1" -FILES_${PN} = "" -RDEPENDS_${PN} = "${PN}-industrial ${PN}-expose ${PN}-mbcrystal" - -FILES_${PN}-industrial = "${datadir}/themes/Industrial \ - ${datadir}/icons/Industrial" - -FILES_${PN}-expose = "${datadir}/themes/expose \ - ${datadir}/icons/expose" - -FILES_${PN}-mbcrystal = "${datadir}/themes/mbcrystal \ - ${datadir}/icons/mbcrystal" diff --git a/meta/recipes-sato/matchbox-themes-extra/matchbox-themes-extra_svn.bb b/meta/recipes-sato/matchbox-themes-extra/matchbox-themes-extra_svn.bb deleted file mode 100644 index 6a9f18beaf..0000000000 --- a/meta/recipes-sato/matchbox-themes-extra/matchbox-themes-extra_svn.bb +++ /dev/null @@ -1,30 +0,0 @@ -DESCRIPTION = "Matchbox window manager extra themes" -LICENSE = "GPL" -DEPENDS = "matchbox-wm" -SECTION = "x11/wm" -PV = "0.3+svnr${SRCREV}" - -SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=matchbox-themes-extra;proto=http" -S = "${WORKDIR}/${PN}" - -inherit autotools pkgconfig - -# split into several packages plus one meta package -PACKAGES = "${PN} ${PN}-industrial ${PN}-expose ${PN}-mbcrystal ${PN}-clearlooks" - -ALLOW_EMPTY_${PN} = 1 -FILES_${PN} = "" -RDEPENDS_${PN} = "${PN}-industrial ${PN}-expose ${PN}-mbcrystal ${PN}-clearlooks" - -FILES_${PN}-industrial = "${datadir}/themes/Industrial \ - ${datadir}/icons/Industrial" - -FILES_${PN}-expose = "${datadir}/themes/expose \ - ${datadir}/icons/expose" - -FILES_${PN}-mbcrystal = "${datadir}/themes/mbcrystal \ - ${datadir}/icons/mbcrystal" - -FILES_${PN}-clearlooks = "${datadir}/themes/Clearlooks \ - ${datadir}/icons/Clearlooks" - diff --git a/meta/recipes-sato/matchbox-themes-gtk/files/gtkrc b/meta/recipes-sato/matchbox-themes-gtk/files/gtkrc deleted file mode 100644 index 6dc40c0aa5..0000000000 --- a/meta/recipes-sato/matchbox-themes-gtk/files/gtkrc +++ /dev/null @@ -1 +0,0 @@ -include "/usr/share/themes/Clearlooks/gtk-2.0/gtkrc" diff --git a/meta/recipes-sato/matchbox-themes-gtk/matchbox-themes-gtk.bb b/meta/recipes-sato/matchbox-themes-gtk/matchbox-themes-gtk.bb deleted file mode 100644 index 60be56de13..0000000000 --- a/meta/recipes-sato/matchbox-themes-gtk/matchbox-themes-gtk.bb +++ /dev/null @@ -1,17 +0,0 @@ -DESCRIPTION = "Gtk2 theme files to accompany default Matchbox themes" -LICENSE = "GPL" -DEPENDS = "gtk-engines" -RDEPENDS = "matchbox-wm gtk-engine-clearlooks" -SECTION = "x11/base" -PR = "r2" - -SRC_URI = "file://gtkrc" - -FILES_${PN} = "${datadir}/themes" - -do_install() { - install -d ${D}${datadir}/themes/blondie/gtk-2.0 - install -d ${D}${datadir}/themes/MBOpus/gtk-2.0 - install -m 644 ${WORKDIR}/gtkrc ${D}${datadir}/themes/blondie/gtk-2.0/ - install -m 644 ${WORKDIR}/gtkrc ${D}${datadir}/themes/MBOpus/gtk-2.0/ -} diff --git a/meta/recipes-sato/tasks/task-poky-x11-sato.bb b/meta/recipes-sato/tasks/task-poky-x11-sato.bb index 662e15651e..b191e0b007 100644 --- a/meta/recipes-sato/tasks/task-poky-x11-sato.bb +++ b/meta/recipes-sato/tasks/task-poky-x11-sato.bb @@ -27,4 +27,6 @@ RDEPENDS_task-poky-x11-sato = "\ sato-icon-theme \ settings-daemon \ gtk-sato-engine \ + gthumb \ + x11vnc \ ${NETWORK_MANAGER}" diff --git a/meta/recipes-sato/web/web/owl-window-menu.patch b/meta/recipes-sato/web/web/owl-window-menu.patch index b80905fce3..8877229f36 100644 --- a/meta/recipes-sato/web/web/owl-window-menu.patch +++ b/meta/recipes-sato/web/web/owl-window-menu.patch @@ -81,20 +81,3 @@ Index: trunk/src/web_main.c gtk_main (); g_module_close (module); -Index: trunk/configure.ac -=================================================================== ---- trunk.orig/configure.ac 2007-04-19 15:41:44.000000000 +0100 -+++ trunk/configure.ac 2007-04-25 20:36:34.000000000 +0100 -@@ -14,6 +14,12 @@ - - PKG_CHECK_MODULES(WEB, libxml-2.0 glib-2.0 gthread-2.0 gtk+-2.0 libglade-2.0 gconf-2.0 gobject-2.0) - -+OWL_CFLAGS="" -+OWL_LIBS="-lowl" -+ -+WEB_CFLAGS="$WEB_CFLAGS $OWL_CFLAGS" -+WEB_LIBS="$WEB_LIBS $OWL_LIBS" -+ - # -- Hildon stuff for Maemo - hildon=false - AC_ARG_ENABLE(hildon,AS_HELP_STRING([--enable-hildon],[Turn on hildon support]),[ diff --git a/meta/recipes-sato/web/web_svn.bb b/meta/recipes-sato/web/web_svn.bb index 08005dd253..9aa67b23b2 100644 --- a/meta/recipes-sato/web/web_svn.bb +++ b/meta/recipes-sato/web/web_svn.bb @@ -2,7 +2,7 @@ LICENSE = "GPLv2" SECTION = "x11" DEPENDS = "libxml2 glib-2.0 gtk+ libglade gtkhtml2 curl gconf js libowl" DESCRIPTION = "Web is a multi-platform web browsing application." -PR = "r2" +PR = "r3" PV = "0.0+svnr${SRCREV}" diff --git a/meta/recipes-support/consolekit/consolekit_0.3.0.bb b/meta/recipes-support/consolekit/consolekit_0.3.0.bb new file mode 100644 index 0000000000..fcd735d7ad --- /dev/null +++ b/meta/recipes-support/consolekit/consolekit_0.3.0.bb @@ -0,0 +1,15 @@ +DESCRIPTION = "ConsoleKit is a framework for defining and tracking users, login sessions, and seats." +LICENSE = "GPLv2" +DEPENDS = "dbus" + +inherit gnome + +SRC_URI = "http://people.freedesktop.org/~mccann/dist/ConsoleKit-${PV}.tar.bz2 \ + file://nopolkit.patch;patch=1" +S = "${WORKDIR}/ConsoleKit-${PV}" + +FILES_${PN} += "${libdir}/ConsoleKit ${datadir}/dbus-1 ${datadir}/PolicyKit" + + + + diff --git a/meta/recipes-support/consolekit/files/nopolkit.patch b/meta/recipes-support/consolekit/files/nopolkit.patch new file mode 100644 index 0000000000..bebbcaffff --- /dev/null +++ b/meta/recipes-support/consolekit/files/nopolkit.patch @@ -0,0 +1,16 @@ +Index: ConsoleKit-0.3.0/configure.ac +=================================================================== +--- ConsoleKit-0.3.0.orig/configure.ac 2009-05-22 12:53:27.000000000 +0100 ++++ ConsoleKit-0.3.0/configure.ac 2009-05-22 12:53:56.000000000 +0100 +@@ -55,10 +55,7 @@ + gthread-2.0 >= $GLIB_REQUIRED_VERSION + ) + +-PKG_CHECK_MODULES(POLKIT, +- polkit >= $POLKIT_REQUIRED_VERSION, +- have_polkit=yes, +- have_polkit=no) ++have_polkit=no + if test "x$have_polkit" = "xyes" ; then + AC_DEFINE(HAVE_POLKIT, [], [Define if we have polkit]) + fi diff --git a/meta/recipes-support/iso-codes/iso-codes_3.3.bb b/meta/recipes-support/iso-codes/iso-codes_3.3.bb deleted file mode 100644 index 23d025f4d2..0000000000 --- a/meta/recipes-support/iso-codes/iso-codes_3.3.bb +++ /dev/null @@ -1,14 +0,0 @@ -SECTION = "libs" -DESCRIPTION = "ISO language, territory, currency, script codes and their translations" -PRIORITY = "optional" -LICENSE = "LGPL" -SECTION = "libs" -PACKAGE_ARCH = "all" - -SRC_URI = "ftp://pkg-isocodes.alioth.debian.org/pub/pkg-isocodes/iso-codes-${PV}.tar.gz" - -inherit autotools - -FILES_${PN}-dev="${datadir}/pkgconfig/iso-codes.pc" -FILES_${PN}="${datadir}/xml/iso-codes/ \ - ${datadir}/iso-codes/" diff --git a/meta/recipes-support/libexif/libexif_0.6.16.bb b/meta/recipes-support/libexif/libexif_0.6.16.bb new file mode 100644 index 0000000000..e3b5c331a8 --- /dev/null +++ b/meta/recipes-support/libexif/libexif_0.6.16.bb @@ -0,0 +1,15 @@ +DESCRIPTION = "Library to read the extended image information (EXIF) from JPEG pictures" +HOMEPAGE = "http://sourceforge.net/projects/libexif" +SECTION = "libs" +LICENSE = "LGPL" +DEPENDS = "gettext" + +SRC_URI = "${SOURCEFORGE_MIRROR}/libexif/libexif-${PV}.tar.bz2" + +inherit autotools + +do_configure_append() { + sed -i s:doc\ binary:binary:g Makefile +} + +AUTOTOOLS_STAGE_PKGCONFIG = "1" diff --git a/meta/recipes-support/libfribidi/files/libtool-update.patch b/meta/recipes-support/libfribidi/files/libtool-update.patch deleted file mode 100644 index c7031008fd..0000000000 --- a/meta/recipes-support/libfribidi/files/libtool-update.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- fribidi-0.10.4/configure.in~ 2002-05-19 11:06:48.000000000 +0100 -+++ fribidi-0.10.4/configure.in 2004-08-03 17:42:28.000000000 +0100 -@@ -50,7 +50,7 @@ - AC_PROG_INSTALL - AC_PROG_LN_S - AC_PROG_MAKE_SET --AC_PROG_RANLIB -+#AC_PROG_RANLIB - AC_PATH_PROG(SED, sed, $PATH) - - diff --git a/meta/recipes-support/libfribidi/libfribidi_0.10.4.bb b/meta/recipes-support/libfribidi/libfribidi_0.10.4.bb deleted file mode 100644 index d60a190cbd..0000000000 --- a/meta/recipes-support/libfribidi/libfribidi_0.10.4.bb +++ /dev/null @@ -1,24 +0,0 @@ -DESCRIPTION = "Fribidi library for bidirectional text" -SECTION = "libs" -PRIORITY = "optional" -LICENSE = "GPL" - -inherit autotools pkgconfig - -PR = "r0" - -S = "${WORKDIR}/fribidi-${PV}" - -SRC_URI = "${SOURCEFORGE_MIRROR}/fribidi/fribidi-${PV}.tar.bz2 \ - file://libtool-update.patch;patch=1" - -#PACKAGES += " ${PN}-bin" -FILES_${PN} = "${libdir}/lib*.so.*" -#FILES_${PN}-bin = "${libdir}/uu*" - -do_configure_prepend () { -# this version of libtool is old - we have to nobble this file to get it to litoolize - rm ltconfig - rm aclocal.m4 - rm acinclude.m4 -} diff --git a/meta/recipes-support/ohm/ohm/fix_configure.patch b/meta/recipes-support/ohm/ohm/fix_configure.patch deleted file mode 100644 index e4b774e785..0000000000 --- a/meta/recipes-support/ohm/ohm/fix_configure.patch +++ /dev/null @@ -1,39 +0,0 @@ -Index: git/configure.in -=================================================================== ---- git.orig/configure.in 2007-12-19 13:43:52.000000000 +0000 -+++ git/configure.in 2008-03-06 23:59:57.000000000 +0000 -@@ -201,9 +201,6 @@ - # Like AC_CHECK_HEADER, but it uses the already-computed -I directories. - AC_DEFUN(AC_CHECK_X_HEADER, [ - ac_save_CPPFLAGS="$CPPFLAGS" -- if test \! -z "$includedir" ; then -- CPPFLAGS="$CPPFLAGS -I$includedir" -- fi - CPPFLAGS="$CPPFLAGS $X_CFLAGS" - AC_CHECK_HEADER([$1],[$2],[$3],[$4]) - CPPFLAGS="$ac_save_CPPFLAGS"]) -@@ -211,9 +208,6 @@ - # Like AC_TRY_COMPILE, but it uses the already-computed -I directories. - AC_DEFUN(AC_TRY_X_COMPILE, [ - ac_save_CPPFLAGS="$CPPFLAGS" -- if test \! -z "$includedir" ; then -- CPPFLAGS="$CPPFLAGS -I$includedir" -- fi - CPPFLAGS="$CPPFLAGS $X_CFLAGS" - AC_TRY_COMPILE([$1], [$2], [$3], [$4]) - CPPFLAGS="$ac_save_CPPFLAGS"]) -@@ -224,14 +218,8 @@ - ac_save_CPPFLAGS="$CPPFLAGS" - ac_save_LDFLAGS="$LDFLAGS" - # ac_save_LIBS="$LIBS" -- if test \! -z "$includedir" ; then -- CPPFLAGS="$CPPFLAGS -I$includedir" -- fi - # note: $X_CFLAGS includes $x_includes - CPPFLAGS="$CPPFLAGS $X_CFLAGS" -- if test \! -z "$libdir" ; then -- LDFLAGS="$LDFLAGS -L$libdir" -- fi - # note: $X_LIBS includes $x_libraries - LDFLAGS="$LDFLAGS $ALL_X_LIBS" - AC_CHECK_LIB([$1], [$2], [$3], [$4], [$5]) diff --git a/meta/recipes-support/ohm/ohm_git.bb b/meta/recipes-support/ohm/ohm_git.bb deleted file mode 100644 index 2ba78b35ab..0000000000 --- a/meta/recipes-support/ohm/ohm_git.bb +++ /dev/null @@ -1,44 +0,0 @@ -DESCRIPTION = "Open Hardware Manager" -HOMEPAGE = "http://freedesktop.org/Software/ohm" -LICENSE = "LGPL" - -DEPENDS = "gtk+ dbus-glib intltool-native hal" -RDEPENDS_${PN} += "udev hal-info" -SRC_URI = "git://anongit.freedesktop.org/git/ohm/;protocol=git \ - file://fix_configure.patch;patch=1" - -PV = "0.1.2+git-locrev${SRCREV}" -PR = "r1" - -S = "${WORKDIR}/git" - -inherit autotools pkgconfig - -EXTRA_OECONF = "--with-distro=debian \ - --without-xauth \ - --disable-gtk-doc \ - --disable-docbook-docs" - -do_configure_prepend() { - touch gtk-doc.make -} - -OE_LT_RPATH_ALLOW=":${libdir}/libohm:" -OE_LT_RPATH_ALLOW[export]="1" - -PACKAGES =+ "libohm ohm-plugin-x11" - -FILES_${PN}-dev += "${libdir}/ohm/*.a" - -FILES_${PN} = "${sysconfdir} \ - ${bindir}/* \ - ${sbindir}/* \ - ${libdir}/ohm/*.so \ - " - -FILES_libohm = "${libdir}/libohm.so.*" -FILES_ohm-plugin-x11 = "${libdir}/ohm/libohm_x*.so \ - ${libdir}/ohm/libohm_idle.so \ - ${sysconfdir}/ohm/plugins.d/x* \ - ${sysconfdir}/ohm/plugins.d/idle* \ - " diff --git a/meta/recipes-support/openobex/files/disable-cable-test.patch b/meta/recipes-support/openobex/files/disable-cable-test.patch deleted file mode 100644 index 95b636dd8f..0000000000 --- a/meta/recipes-support/openobex/files/disable-cable-test.patch +++ /dev/null @@ -1,16 +0,0 @@ - -# -# Patch managed by http://www.holgerschurig.de/patcher.html -# - ---- openobex-1.2/apps/Makefile.am~disable-cable-test -+++ openobex-1.2/apps/Makefile.am -@@ -6,7 +6,7 @@ - obex_io.c obex_io.h \ - obex_put_common.c obex_put_common.h - --bin_PROGRAMS = irxfer obex_tcp irobex_palm3 obex_test -+bin_PROGRAMS = irxfer obex_tcp irobex_palm3 - - obex_test_SOURCES = \ - obex_test.c obex_test.h \ diff --git a/meta/recipes-support/openobex/files/libusb_crosscompile_check.patch b/meta/recipes-support/openobex/files/libusb_crosscompile_check.patch deleted file mode 100644 index 20ac70bd1e..0000000000 --- a/meta/recipes-support/openobex/files/libusb_crosscompile_check.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: openobex-1.5/acinclude.m4 -=================================================================== ---- openobex-1.5.orig/acinclude.m4 2009-02-08 18:30:22.000000000 +0000 -+++ openobex-1.5/acinclude.m4 2009-07-31 09:55:46.000000000 +0100 -@@ -158,7 +158,7 @@ - ;; - *) - PKG_CHECK_MODULES(USB, libusb, usb_lib_found=yes, AC_MSG_RESULT(no)) -- AC_CHECK_FILE(${prefix}/lib/pkgconfig/libusb.pc, REQUIRES="libusb") -+ REQUIRES="libusb" - ;; - esac - AC_SUBST(USB_CFLAGS) diff --git a/meta/recipes-support/openobex/openobex_1.5.bb b/meta/recipes-support/openobex/openobex_1.5.bb deleted file mode 100644 index dc07ae1353..0000000000 --- a/meta/recipes-support/openobex/openobex_1.5.bb +++ /dev/null @@ -1,23 +0,0 @@ -DESCRIPTION = "The Openobex project is an open source implementation of the \ -Object Exchange (OBEX) protocol." -HOMEPAGE = "http://openobex.triq.net" -SECTION = "libs" -PROVIDES = "openobex-apps" -DEPENDS = "libusb bluez4" -LICENSE = "GPL" -PR = "r4" - -SRC_URI = "${KERNELORG_MIRROR}/pub/linux/bluetooth/openobex-${PV}.tar.gz \ - file://disable-cable-test.patch;patch=1 \ - file://libusb_crosscompile_check.patch;patch=1" - -inherit autotools binconfig pkgconfig - -EXTRA_OECONF = "--enable-apps --enable-syslog --enable-dump \ - --with-usb=${STAGING_LIBDIR}/.. --with-bluez=${STAGING_LIBDIR}/.." - -# how to stop shlibrename from renaming -apps? -PACKAGES += "openobex-apps" -FILES_${PN} = "${libdir}/lib*.so.*" -FILES_${PN}-dev += "${bindir}/openobex-config" -FILES_${PN}-apps = "${bindir}/*" diff --git a/meta/recipes-tbd/consolekit/consolekit_0.3.0.bb b/meta/recipes-tbd/consolekit/consolekit_0.3.0.bb deleted file mode 100644 index fcd735d7ad..0000000000 --- a/meta/recipes-tbd/consolekit/consolekit_0.3.0.bb +++ /dev/null @@ -1,15 +0,0 @@ -DESCRIPTION = "ConsoleKit is a framework for defining and tracking users, login sessions, and seats." -LICENSE = "GPLv2" -DEPENDS = "dbus" - -inherit gnome - -SRC_URI = "http://people.freedesktop.org/~mccann/dist/ConsoleKit-${PV}.tar.bz2 \ - file://nopolkit.patch;patch=1" -S = "${WORKDIR}/ConsoleKit-${PV}" - -FILES_${PN} += "${libdir}/ConsoleKit ${datadir}/dbus-1 ${datadir}/PolicyKit" - - - - diff --git a/meta/recipes-tbd/consolekit/files/nopolkit.patch b/meta/recipes-tbd/consolekit/files/nopolkit.patch deleted file mode 100644 index bebbcaffff..0000000000 --- a/meta/recipes-tbd/consolekit/files/nopolkit.patch +++ /dev/null @@ -1,16 +0,0 @@ -Index: ConsoleKit-0.3.0/configure.ac -=================================================================== ---- ConsoleKit-0.3.0.orig/configure.ac 2009-05-22 12:53:27.000000000 +0100 -+++ ConsoleKit-0.3.0/configure.ac 2009-05-22 12:53:56.000000000 +0100 -@@ -55,10 +55,7 @@ - gthread-2.0 >= $GLIB_REQUIRED_VERSION - ) - --PKG_CHECK_MODULES(POLKIT, -- polkit >= $POLKIT_REQUIRED_VERSION, -- have_polkit=yes, -- have_polkit=no) -+have_polkit=no - if test "x$have_polkit" = "xyes" ; then - AC_DEFINE(HAVE_POLKIT, [], [Define if we have polkit]) - fi diff --git a/meta/recipes-tbd/gcalctool/gcalctool/fix-includedir.patch b/meta/recipes-tbd/gcalctool/gcalctool/fix-includedir.patch deleted file mode 100644 index aeb02ab2c1..0000000000 --- a/meta/recipes-tbd/gcalctool/gcalctool/fix-includedir.patch +++ /dev/null @@ -1,31 +0,0 @@ ---- - Makefile.am | 2 +- - gcalctool/Makefile.am | 2 -- - 2 files changed, 1 insertion(+), 3 deletions(-) - -Index: gcalctool-5.8.17/gcalctool/Makefile.am -=================================================================== ---- gcalctool-5.8.17.orig/gcalctool/Makefile.am 2005-12-19 15:46:57.000000000 +0000 -+++ gcalctool-5.8.17/gcalctool/Makefile.am 2007-05-16 16:03:26.000000000 +0100 -@@ -1,8 +1,6 @@ - ## Process this file with automake to produce Makefile.in - - INCLUDES = \ -- -I$(includedir) \ -- -DG_DISABLE_DEPRECATED \ - -DGDK_PIXBUF_DISABLE_DEPRECATED \ - -DGDK_DISABLE_DEPRECATED \ - -DGNOME_DISABLE_DEPRECATED \ -Index: gcalctool-5.8.17/Makefile.am -=================================================================== ---- gcalctool-5.8.17.orig/Makefile.am 2007-05-16 15:35:44.000000000 +0100 -+++ gcalctool-5.8.17/Makefile.am 2007-05-16 16:06:46.000000000 +0100 -@@ -29,7 +29,7 @@ DISTCLEANFILES = \ - gnome-doc-utils.make \ - gcalctool.desktop - --SUBDIRS = po gcalctool help -+SUBDIRS = po gcalctool - - SCHEMAS_FILE = gcalctool.schemas - diff --git a/meta/recipes-tbd/gcalctool/gcalctool_5.7.32.bb b/meta/recipes-tbd/gcalctool/gcalctool_5.7.32.bb deleted file mode 100644 index f12e6c402a..0000000000 --- a/meta/recipes-tbd/gcalctool/gcalctool_5.7.32.bb +++ /dev/null @@ -1,13 +0,0 @@ -LICENSE = "GPL" -SECTION = "x11" -DEPENDS = "gtk+" -DESCRIPTION = "gcalctool is a powerful calculator" -PR = "r2" - -SRC_URI = "http://download.gnome.org/sources/${PN}/5.7/${PN}-${PV}.tar.gz \ - file://makefile-fix.diff;patch=1\ - file://fix-includedir.patch;patch=1" - -inherit autotools pkgconfig - -EXTRA_OECONF = "--disable-gnome" diff --git a/meta/recipes-tbd/gcalctool/gcalctool_5.8.17.bb b/meta/recipes-tbd/gcalctool/gcalctool_5.8.17.bb deleted file mode 100644 index c72860c8f5..0000000000 --- a/meta/recipes-tbd/gcalctool/gcalctool_5.8.17.bb +++ /dev/null @@ -1,12 +0,0 @@ -LICENSE = "GPL" -SECTION = "x11" -DEPENDS = "gtk+ gnome-doc-utils" -DESCRIPTION = "gcalctool is a powerful calculator" -PR = "r0" - -SRC_URI = "http://download.gnome.org/sources/${PN}/5.8/${PN}-${PV}.tar.gz \ - file://fix-includedir.patch;patch=1" - -inherit autotools pkgconfig - -EXTRA_OECONF = "--disable-gnome" diff --git a/meta/recipes-tbd/gthumb/gthumb_2.12.0.bb b/meta/recipes-tbd/gthumb/gthumb_2.12.0.bb deleted file mode 100644 index f6755b0f6f..0000000000 --- a/meta/recipes-tbd/gthumb/gthumb_2.12.0.bb +++ /dev/null @@ -1,12 +0,0 @@ -DESCRIPTION = "gThumb is an image viewer and browser for the GNOME Desktop" -SECTION = "x11/gnome" -LICENSE = "GPLv2" -DEPENDS = "glib-2.0 gtk+ libxml2 gnome-doc-utils libunique gconf-dbus libpng gstreamer jpeg tiff" -PR = "r1" - -EXTRA_OECONF = "--disable-gnome-keyring --disable-libsoup --disable-exiv2 --disable-clutter" - -inherit gnome pkgconfig - -FILES_${PN} += "${datadir}/icons" -FILES_${PN}-dbg += "${libdir}/gthumb/modules/.debug" diff --git a/meta/recipes-tbd/libsamplerate/libsamplerate0_0.1.2.bb b/meta/recipes-tbd/libsamplerate/libsamplerate0_0.1.2.bb deleted file mode 100644 index 10923404d0..0000000000 --- a/meta/recipes-tbd/libsamplerate/libsamplerate0_0.1.2.bb +++ /dev/null @@ -1,10 +0,0 @@ -DESCRIPTION = "An audio Sample Rate Conversion library" -SECTION = "libs" -LICENSE = "GPL libsamplerate" -DEPENDS = "flac" -PR = "r3" - -SRC_URI = "http://www.mega-nerd.com/SRC/libsamplerate-${PV}.tar.gz" -S = "${WORKDIR}/libsamplerate-${PV}" - -inherit autotools pkgconfig diff --git a/meta/recipes-tbd/libunique/libunique_1.1.6.bb b/meta/recipes-tbd/libunique/libunique_1.1.6.bb deleted file mode 100644 index 964da579c1..0000000000 --- a/meta/recipes-tbd/libunique/libunique_1.1.6.bb +++ /dev/null @@ -1,10 +0,0 @@ -SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/libunique/1.1/libunique-${PV}.tar.bz2" -PR = "r1" - -DEPENDS = "glib-2.0 gtk+ dbus" - -LICENSE = "LGPLv2.1" - -#S = "${WORKDIR}/unique-${PV}" - -inherit autotools diff --git a/meta/recipes-tbd/meta/external-csl-toolchain/SUPPORTED b/meta/recipes-tbd/meta/external-csl-toolchain/SUPPORTED deleted file mode 100644 index fe9406acd1..0000000000 --- a/meta/recipes-tbd/meta/external-csl-toolchain/SUPPORTED +++ /dev/null @@ -1,4 +0,0 @@ -en_GB.UTF-8 UTF-8 -en_GB ISO-8859-1 -en_US.UTF-8 UTF-8 -en_US ISO-8859-1 diff --git a/meta/recipes-tbd/meta/external-csl-toolchain_2008q3-72.bb b/meta/recipes-tbd/meta/external-csl-toolchain_2008q3-72.bb deleted file mode 100644 index 0d58445de2..0000000000 --- a/meta/recipes-tbd/meta/external-csl-toolchain_2008q3-72.bb +++ /dev/null @@ -1,63 +0,0 @@ -INHIBIT_DEFAULT_DEPS = "1" - -# License applies to this recipe code, not the toolchain itself -LICENSE = "MIT" - -PROVIDES = "\ - linux-libc-headers \ - virtual/arm-none-linux-gnueabi-gcc \ - virtual/arm-none-linux-gnueabi-g++ \ - virtual/arm-none-linux-gnueabi-gcc-initial \ - virtual/arm-none-linux-gnueabi-gcc-intermediate \ - virtual/arm-none-linux-gnueabi-binutils \ - virtual/arm-none-linux-gnueabi-libc-for-gcc \ - virtual/libc \ - virtual/libintl \ - virtual/libiconv \ - glibc-thread-db \ - virtual/linux-libc-headers " -RPROVIDES = "glibc-utils libsegfault glibc-thread-db" -PACKAGES_DYNAMIC = "glibc-gconv-*" -PR = "r1" - -#SRC_URI = "http://www.codesourcery.com/public/gnu_toolchain/arm-none-linux-gnueabi/arm-${PV}-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2 \ - -SRC_URI = "file://SUPPORTED" - -do_install() { - echo "EXTERNAL_TOOLCHAIN is ${EXTERNAL_TOOLCHAIN}" - install -d ${D}${sysconfdir} ${D}${bindir} ${D}${sbindir} ${D}${base_bindir} ${D}${libdir} - install -d ${D}${base_libdir} ${D}${base_sbindir} ${D}${datadir} - - cp -a ${EXTERNAL_TOOLCHAIN}/arm-none-linux-gnueabi/libc/lib/* ${D}${base_libdir} - cp -a ${EXTERNAL_TOOLCHAIN}/arm-none-linux-gnueabi/libc/etc/* ${D}${sysconfdir} - cp -a ${EXTERNAL_TOOLCHAIN}/arm-none-linux-gnueabi/libc/sbin/* ${D}${base_sbindir} - cp -a ${EXTERNAL_TOOLCHAIN}/arm-none-linux-gnueabi/libc/usr/* ${D}/usr - - sed -i -e "s# /lib# ../../lib#g" -e "s# /usr/lib# .#g" ${D}${libdir}/libc.so - sed -i -e "s# /lib# ../../lib#g" -e "s# /usr/lib# .#g" ${D}${libdir}/libpthread.so -} - -GLIBC_INTERNAL_USE_BINARY_LOCALE ?= "compile" - -inherit libc-package - -PACKAGES += "libgcc libgcc-dev libstdc++ libstdc++-dev linux-libc-headers" -FILES_libgcc = "${base_libdir}/libgcc_s.so.1" -FILES_libgcc-dev = "${base_libdir}/libgcc_s.so" -FILES_libstdc++ = "${libdir}/libstdc++.so.*" -FILES_libstdc++-dev = "${includedir}/c++/${PV} \ - ${libdir}/libstdc++.so \ - ${libdir}/libstdc++.la \ - ${libdir}/libstdc++.a \ - ${libdir}/libsupc++.la \ - ${libdir}/libsupc++.a" -FILES_linux-libc-headers = "${includedir}/asm* \ - ${includedir}/linux \ - ${includedir}/mtd \ - ${includedir}/rdma \ - ${includedir}/scsi \ - ${includedir}/sound \ - ${includedir}/video \ -" - diff --git a/meta/recipes-tbd/meta/external-poky-toolchain.bb b/meta/recipes-tbd/meta/external-poky-toolchain.bb deleted file mode 100644 index a387ab3e60..0000000000 --- a/meta/recipes-tbd/meta/external-poky-toolchain.bb +++ /dev/null @@ -1,42 +0,0 @@ -PROVIDES = "\ - linux-libc-headers \ - virtual/${TARGET_PREFIX}gcc \ - virtual/${TARGET_PREFIX}gcc-intermediate \ - virtual/${TARGET_PREFIX}gcc-initial \ - virtual/${TARGET_PREFIX}binutils \ - virtual/${TARGET_PREFIX}libc-for-gcc \ - virtual/libc \ - virtual/libintl \ - virtual/libiconv \ - virtual/linux-libc-headers " -RPROVIDES = "glibc-utils libsegfault glibc-thread-db libgcc-dev libstdc++-dev libstdc++" -PACKAGES_DYNAMIC = "glibc-gconv-*" -INHIBIT_DEFAULT_DEPS = "1" -PR = "r1" - -PSTAGING_DISABLED = "1" - -# License applies to this recipe code, not the toolchain itself -LICENSE = "MIT" - -do_install() { - if [ ! -e ${prefix}/environment-setup ]; then - echo "The Poky toolchain could not be found in ${prefix}!" - exit 1 - fi - - install -d ${DEPLOY_DIR}/ipk/ - install -d ${STAGING_DIR}/pkgdata/ - install -d ${STAGING_DIR_TARGET}/shlibs/ - install -d ${STAGING_DIR_TARGET}/${base_libdir}/ - install -d ${STAGING_DIR_TARGET}/${libdir}/ - install -d ${STAGING_DIR_TARGET}/${includedir}/ - - cp -ar ${prefix}/ipk/* ${DEPLOY_DIR}/ipk/ - cp -ar ${prefix}/pkgdata/* ${STAGING_DIR}/pkgdata/ - cp -ar ${prefix}/${TARGET_SYS}/shlibs/* ${STAGING_DIR_TARGET}/shlibs/ - cp -ar ${prefix}/${TARGET_SYS}/lib/* ${STAGING_DIR_TARGET}/${base_libdir}/ - cp -ar ${prefix}/${TARGET_SYS}/usr/include/* ${STAGING_DIR_TARGET}/${includedir}/ - cp -ar ${prefix}/${TARGET_SYS}/usr/lib/* ${STAGING_DIR_TARGET}/${libdir}/ -} - diff --git a/meta/recipes-tbd/meta/external-python-tarball.bb b/meta/recipes-tbd/meta/external-python-tarball.bb deleted file mode 100644 index 1812ba5506..0000000000 --- a/meta/recipes-tbd/meta/external-python-tarball.bb +++ /dev/null @@ -1,87 +0,0 @@ -DESCRIPTION = "Meta package for building a standalone python tarball" -LICENSE = "MIT" -DEPENDS = "opkg-native opkg-utils-native virtual/fakeroot-native sed-native" - -inherit meta - -SDK_DIR = "${WORKDIR}/sdk" -SDK_OUTPUT = "${SDK_DIR}/image" -SDK_DEPLOY = "${TMPDIR}/deploy/sdk" - -IPKG_HOST = "opkg-cl -f ${IPKGCONF_SDK} -o ${SDK_OUTPUT}" - -TOOLCHAIN_HOST_TASK ?= "\ - python-nativesdk-core \ - python-nativesdk-textutils \ - python-nativesdk-sqlite3 \ - python-nativesdk-pickle \ - python-nativesdk-logging \ - python-nativesdk-elementtree \ - python-nativesdk-curses \ - python-nativesdk-compile \ - python-nativesdk-compiler \ - python-nativesdk-fcntl \ - python-nativesdk-shell \ - python-nativesdk-misc \ - python-nativesdk-subprocess \ - python-nativesdk-xmlrpc \ - python-nativesdk-netclient \ - python-nativesdk-netserver \ - python-nativesdk-distutils" - -TOOLCHAIN_OUTPUTNAME ?= "python-nativesdk-standalone-${SDKMACHINE}" - -RDEPENDS = "${TOOLCHAIN_HOST_TASK}" - -EXCLUDE_FROM_WORLD = "1" - -do_populate_sdk() { - rm -rf ${SDK_OUTPUT} - mkdir -p ${SDK_OUTPUT} - mkdir -p ${SDK_OUTPUT}${localstatedir}/lib/opkg/ - - rm -f ${IPKGCONF_TARGET} - touch ${IPKGCONF_TARGET} - rm -f ${IPKGCONF_SDK} - touch ${IPKGCONF_SDK} - - package_update_index_ipk - package_generate_ipkg_conf - - for arch in ${PACKAGE_ARCHS}; do - revipkgarchs="$arch $revipkgarchs" - done - - ${IPKG_HOST} update - ${IPKG_HOST} install ${TOOLCHAIN_HOST_TASK} - - install -d ${SDK_OUTPUT}/${SDKPATHNATIVE}${localstatedir_nativesdk}/lib/opkg - mv ${SDK_OUTPUT}/var/lib/opkg/* ${SDK_OUTPUT}/${SDKPATHNATIVE}${localstatedir_nativesdk}/lib/opkg/ - rm -Rf ${SDK_OUTPUT}/var - - install -d ${SDK_OUTPUT}/${SDKPATHNATIVE}/${sysconfdir} - install -m 0644 ${IPKGCONF_SDK} ${SDK_OUTPUT}/${SDKPATHNATIVE}/${sysconfdir}/ - - rm -f ${SDK_OUTPUT}/${SDKPATHNATIVE}${libdir_nativesdk}/*.la - - # Link the ld.so.cache file into the hosts filesystem - ln -s /etc/ld.so.cache ${SDK_OUTPUT}/${SDKPATHNATIVE}/etc/ld.so.cache - - # Add version information - versionfile=${SDK_OUTPUT}/${SDKPATH}/version-${MULTIMACH_TARGET_SYS} - touch $versionfile - echo 'Distro: ${DISTRO}' >> $versionfile - echo 'Distro Version: ${DISTRO_VERSION}' >> $versionfile - echo 'Metadata Revision: ${METADATA_REVISION}' >> $versionfile - echo 'Timestamp: ${DATETIME}' >> $versionfile - - # Package it up - mkdir -p ${SDK_DEPLOY} - cd ${SDK_OUTPUT} - ${FAKEROOT} tar cfj ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.tar.bz2 . -} - -do_populate_sdk[nostamp] = "1" -do_populate_sdk[recrdeptask] = "do_package_write" -addtask populate_sdk before do_build after do_install - diff --git a/meta/recipes-tbd/meta/meta-ide-support.bb b/meta/recipes-tbd/meta/meta-ide-support.bb deleted file mode 100644 index 8fe9a23036..0000000000 --- a/meta/recipes-tbd/meta/meta-ide-support.bb +++ /dev/null @@ -1,14 +0,0 @@ -DESCRIPTION = "Meta package for ensuring the build directory contains all appropriate toolchain packages for using an IDE" -LICENSE = "MIT" -DEPENDS = "virtual/libc gdb-cross qemu-helper-native unfs-server-native" -PR = "r1" - -inherit meta toolchain-scripts - -do_populate_ide_support () { - toolchain_create_tree_env_script -} - -do_populate_ide_support[nostamp] = "1" -do_populate_ide_support[recrdeptask] = "do_package_write" -addtask populate_ide_support before do_build after do_install diff --git a/meta/recipes-tbd/meta/meta-toolchain-sdk.bb b/meta/recipes-tbd/meta/meta-toolchain-sdk.bb deleted file mode 100644 index 8572f021d7..0000000000 --- a/meta/recipes-tbd/meta/meta-toolchain-sdk.bb +++ /dev/null @@ -1,4 +0,0 @@ -TOOLCHAIN_TARGET_SDKTASK ?= "task-poky-standalone-gmae-sdk-target task-poky-standalone-gmae-sdk-target-dbg" -TOOLCHAIN_TARGET_TASK = "${TOOLCHAIN_TARGET_SDKTASK}" -TOOLCHAIN_OUTPUTNAME = "${SDK_NAME}-toolchain-sdk-${DISTRO_VERSION}" -require meta-toolchain.bb diff --git a/meta/recipes-tbd/meta/meta-toolchain.bb b/meta/recipes-tbd/meta/meta-toolchain.bb deleted file mode 100644 index 2fab8f94b2..0000000000 --- a/meta/recipes-tbd/meta/meta-toolchain.bb +++ /dev/null @@ -1,103 +0,0 @@ -DESCRIPTION = "Meta package for building a installable toolchain" -LICENSE = "MIT" -DEPENDS = "opkg-native opkg-utils-native virtual/fakeroot-native sed-native" - -inherit meta toolchain-scripts - -SDK_DIR = "${WORKDIR}/sdk" -SDK_OUTPUT = "${SDK_DIR}/image" -SDK_DEPLOY = "${TMPDIR}/deploy/sdk" - -SDKTARGETSYSROOT = "${SDKPATH}/sysroots/${TARGET_SYS}" - -IPKG_HOST = "opkg-cl -f ${IPKGCONF_SDK} -o ${SDK_OUTPUT}" -IPKG_TARGET = "opkg-cl -f ${IPKGCONF_TARGET} -o ${SDK_OUTPUT}/${SDKTARGETSYSROOT}" - -TOOLCHAIN_HOST_TASK ?= "task-sdk-host" -TOOLCHAIN_TARGET_TASK ?= "task-poky-standalone-sdk-target task-poky-standalone-sdk-target-dbg" -TOOLCHAIN_OUTPUTNAME ?= "${SDK_NAME}-toolchain-${DISTRO_VERSION}" - -RDEPENDS = "${TOOLCHAIN_TARGET_TASK} ${TOOLCHAIN_HOST_TASK}" - -EXCLUDE_FROM_WORLD = "1" - -do_populate_sdk() { - rm -rf ${SDK_OUTPUT} - mkdir -p ${SDK_OUTPUT} - mkdir -p ${SDK_OUTPUT}${localstatedir}/lib/opkg/ - mkdir -p ${SDK_OUTPUT}/${SDKTARGETSYSROOT}${localstatedir}/lib/opkg/ - - rm -f ${IPKGCONF_TARGET} - touch ${IPKGCONF_TARGET} - rm -f ${IPKGCONF_SDK} - touch ${IPKGCONF_SDK} - - package_update_index_ipk - package_generate_ipkg_conf - - for arch in ${PACKAGE_ARCHS}; do - revipkgarchs="$arch $revipkgarchs" - done - - ${IPKG_HOST} update - ${IPKG_HOST} install ${TOOLCHAIN_HOST_TASK} - - ${IPKG_TARGET} update - ${IPKG_TARGET} install ${TOOLCHAIN_TARGET_TASK} - - install -d ${SDK_OUTPUT}/${SDKPATHNATIVE}${localstatedir_nativesdk}/lib/opkg - mv ${SDK_OUTPUT}/var/lib/opkg/* ${SDK_OUTPUT}/${SDKPATHNATIVE}${localstatedir_nativesdk}/lib/opkg/ - rm -Rf ${SDK_OUTPUT}/var - - # Don't ship any libGL in the SDK - rm -rf ${SDK_OUTPUT}/${SDKPATHNATIVE}${libdir_nativesdk}/libGL* - - install -d ${SDK_OUTPUT}/${SDKTARGETSYSROOT}/${sysconfdir} - install -m 0644 ${IPKGCONF_TARGET} ${IPKGCONF_SDK} ${SDK_OUTPUT}/${SDKTARGETSYSROOT}/${sysconfdir}/ - - install -d ${SDK_OUTPUT}/${SDKPATHNATIVE}/${sysconfdir} - install -m 0644 ${IPKGCONF_SDK} ${SDK_OUTPUT}/${SDKPATHNATIVE}/${sysconfdir}/ - - # Can copy pstage files here - # target_pkgs=`cat ${SDK_OUTPUT}/${SDKTARGETSYSROOT}/var/lib/opkg/status | grep Package: | cut -f 2 -d ' '` - - # Fix or remove broken .la files - for i in `find ${SDK_OUTPUT}/${SDKTARGETSYSROOT} -name \*.la`; do - sed -i -e "/^dependency_libs=/s,\([[:space:]']\)${base_libdir},\1${SDKTARGETSYSROOT}${base_libdir},g" \ - -e "/^dependency_libs=/s,\([[:space:]']\)${libdir},\1${SDKTARGETSYSROOT}${libdir},g" \ - -e "/^dependency_libs=/s,\-\([LR]\)${base_libdir},-\1${SDKTARGETSYSROOT}${base_libdir},g" \ - -e "/^dependency_libs=/s,\-\([LR]\)${libdir},-\1${SDKTARGETSYSROOT}${libdir},g" \ - -e 's/^installed=yes$/installed=no/' $i - done - #rm -f ${SDK_OUTPUT}/${SDKPATHNATIVE}/lib/*.la - rm -f ${SDK_OUTPUT}/${SDKPATHNATIVE}${libdir_nativesdk}/*.la - - # Link the ld.so.cache file into the hosts filesystem - ln -s /etc/ld.so.cache ${SDK_OUTPUT}/${SDKPATHNATIVE}/etc/ld.so.cache - - # Setup site file for external use - siteconfig=${SDK_OUTPUT}/${SDKPATH}/site-config-${MULTIMACH_TARGET_SYS} - touch $siteconfig - for sitefile in ${CONFIG_SITE} ; do - cat $sitefile >> $siteconfig - done - - toolchain_create_sdk_env_script - - # Add version information - versionfile=${SDK_OUTPUT}/${SDKPATH}/version-${MULTIMACH_TARGET_SYS} - touch $versionfile - echo 'Distro: ${DISTRO}' >> $versionfile - echo 'Distro Version: ${DISTRO_VERSION}' >> $versionfile - echo 'Metadata Revision: ${METADATA_REVISION}' >> $versionfile - echo 'Timestamp: ${DATETIME}' >> $versionfile - - # Package it up - mkdir -p ${SDK_DEPLOY} - cd ${SDK_OUTPUT} - ${FAKEROOT} tar cfj ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.tar.bz2 . -} - -do_populate_sdk[nostamp] = "1" -do_populate_sdk[recrdeptask] = "do_package_write" -addtask populate_sdk before do_build after do_install diff --git a/meta/recipes-tbd/meta/package-index.bb b/meta/recipes-tbd/meta/package-index.bb deleted file mode 100644 index 21822fe9da..0000000000 --- a/meta/recipes-tbd/meta/package-index.bb +++ /dev/null @@ -1,29 +0,0 @@ -DESCRIPTION = "Rebuild the package index" -LICENSE = "MIT" - -INHIBIT_DEFAULT_DEPS = "1" -ALLOW_EMPTY = "1" -PACKAGES = "" - -do_fetch() { -} -do_unpack() { -} -do_patch() { -} -do_configure() { -} -do_compile() { -} -do_install() { -} - -do_build[nostamp] = "1" -do_build[dirs] = "${DEPLOY_DIR_IPK}" -do_build() { - set -ex - package_update_index_ipk - set +ex -} - -EXCLUDE_FROM_WORLD = "1" diff --git a/meta/recipes-tbd/meta/run-postinsts/run-postinsts b/meta/recipes-tbd/meta/run-postinsts/run-postinsts deleted file mode 100755 index f632d1c7d3..0000000000 --- a/meta/recipes-tbd/meta/run-postinsts/run-postinsts +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/sh -# -# Copyright 2007 Openedhand Ltd. -# -# Author: Richard Purdie -# - -PKGSYSTEM=/var/dpkg - -if [ ! -e $PKGSYSTEM/status ]; then - if [ -e /usr/lib/opkg/status ]; then - PKGSYSTEM=/usr/lib/opkg - else - echo "No package system found" - exit 1 - fi -fi - -STAMP=$PKGSYSTEM/postinsts-done -STATFILE=$PKGSYSTEM/status -STATFILE2=$PKGSYSTEM/status2 - -if [ -e $STAMP ]; then - exit 0 -fi - -awk -f /usr/share/run-postinsts/run-postinsts.awk $STATFILE > $STATFILE2 -if [ $? = 0 ]; then - mv $STATFILE2 $STATFILE - touch $STAMP - exit 0 -else - rm -f $STATFILE2 - rm -f $STAMP - exit 1 -fi diff --git a/meta/recipes-tbd/meta/run-postinsts/run-postinsts.awk b/meta/recipes-tbd/meta/run-postinsts/run-postinsts.awk deleted file mode 100644 index 09a1400cf4..0000000000 --- a/meta/recipes-tbd/meta/run-postinsts/run-postinsts.awk +++ /dev/null @@ -1,30 +0,0 @@ -# -# Copyright 2007 Openedhand Ltd. -# -# Author: Richard Purdie -# -# Rather hacky proof of concept -# - -BEGIN { - rc=system("test -d /usr/dpkg/info/") - if (rc==0) - pkgdir="/var/dpkg/info" - else - pkgdir="/usr/lib/opkg/info" - package="" -} -/Package:.*/ { - package = substr($0, 10) -} -/Status:.*unpacked.*/ { - print "Configuring: " package > "/dev/stderr" - ret = system(pkgdir "/" package ".postinst 1>&2") - if (ret == 0) - $0 = gensub("unpacked", "installed", 1) - else - print "Postinstall failed for " package > "/dev/stderr" -} -{ - print $0 -} diff --git a/meta/recipes-tbd/meta/run-postinsts_1.0.bb b/meta/recipes-tbd/meta/run-postinsts_1.0.bb deleted file mode 100644 index 44e840ed13..0000000000 --- a/meta/recipes-tbd/meta/run-postinsts_1.0.bb +++ /dev/null @@ -1,27 +0,0 @@ -DESCRIPTION = "Run postinstall scripts on device using awk" -SECTION = "devel" -PR = "r6" -LICENSE = "MIT" - -SRC_URI = "file://run-postinsts file://run-postinsts.awk" - -INITSCRIPT_NAME = "run-postinsts" -INITSCRIPT_PARAMS = "start 98 S ." - -inherit update-rc.d - -do_configure() { - : -} - -do_compile () { - : -} - -do_install() { - install -d ${D}${sysconfdir}/init.d/ - install -m 0755 ${WORKDIR}/run-postinsts ${D}${sysconfdir}/init.d/ - - install -d ${D}${datadir}/${PN}/ - install -m 0644 ${WORKDIR}/run-postinsts.awk ${D}${datadir}/${PN}/ -} diff --git a/meta/recipes-tbd/poppler/poppler-data_0.1.bb b/meta/recipes-tbd/poppler/poppler-data_0.1.bb deleted file mode 100644 index ca22e4dba0..0000000000 --- a/meta/recipes-tbd/poppler/poppler-data_0.1.bb +++ /dev/null @@ -1,16 +0,0 @@ -DESCRIPTION = "Poppler is a PDF rendering library based on the xpdf-3.0 code base." -LICENSE = "Adobe" -PR = "r0" - -SRC_URI = "http://poppler.freedesktop.org/${PN}-${PV}.tar.gz" - -do_compile() { -} - -do_install() { - oe_runmake install DESTDIR=${D} -} - -FILES_${PN} += "${datadir}" -PACKAGE_ARCH = "all" - diff --git a/meta/recipes-tbd/poppler/poppler-fpu.inc b/meta/recipes-tbd/poppler/poppler-fpu.inc deleted file mode 100644 index a26273020a..0000000000 --- a/meta/recipes-tbd/poppler/poppler-fpu.inc +++ /dev/null @@ -1,6 +0,0 @@ - -def get_poppler_fpu_setting(bb, d): - if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]: - return "--enable-fixedpoint" - return "" - diff --git a/meta/recipes-tbd/poppler/poppler.inc b/meta/recipes-tbd/poppler/poppler.inc deleted file mode 100644 index 645e734e8b..0000000000 --- a/meta/recipes-tbd/poppler/poppler.inc +++ /dev/null @@ -1,18 +0,0 @@ -DESCRIPTION = "Poppler is a PDF rendering library based on the xpdf-3.0 code base." -DEPENDS = "fontconfig jpeg zlib gtk+ cairo" -LICENSE = "GPL" -PR = "r1" - -SRC_URI = "http://poppler.freedesktop.org/${PN}-${PV}.tar.gz" - -inherit autotools pkgconfig - -EXTRA_OECONF = " --enable-xpdf-headers \ - --disable-gtk-test \ - --disable-poppler-qt --disable-poppler-qt4 \ - --enable-zlib \ - " - -#check for TARGET_FPU=soft and inform configure of the result so it can disable some floating points -require poppler-fpu.inc -EXTRA_OECONF += "${@get_poppler_fpu_setting(bb, d)}" diff --git a/meta/recipes-tbd/poppler/poppler_0.9.2.bb b/meta/recipes-tbd/poppler/poppler_0.9.2.bb deleted file mode 100644 index 92c25bc0ac..0000000000 --- a/meta/recipes-tbd/poppler/poppler_0.9.2.bb +++ /dev/null @@ -1,2 +0,0 @@ -require poppler.inc -PR = "r2" diff --git a/meta/recipes-tbd/pulseaudio/libatomics-ops/doublefix.patch b/meta/recipes-tbd/pulseaudio/libatomics-ops/doublefix.patch deleted file mode 100644 index 2172cac41e..0000000000 --- a/meta/recipes-tbd/pulseaudio/libatomics-ops/doublefix.patch +++ /dev/null @@ -1,25 +0,0 @@ -Double path references breaks recent autoconf+automake - -RP 2/1/10 - -Index: libatomic_ops-1.2/src/atomic_ops/sysdeps/Makefile.am -=================================================================== ---- libatomic_ops-1.2.orig/src/atomic_ops/sysdeps/Makefile.am 2005-09-28 00:53:16.000000000 +0100 -+++ libatomic_ops-1.2/src/atomic_ops/sysdeps/Makefile.am 2010-02-01 14:28:46.397820574 +0000 -@@ -25,7 +25,6 @@ - README \ - \ - gcc/alpha.h gcc/arm.h gcc/x86.h \ -- gcc/hppa.h gcc/ia64.h \ - gcc/powerpc.h gcc/sparc.h \ - gcc/hppa.h gcc/m68k.h gcc/s390.h \ - gcc/ia64.h gcc/x86_64.h gcc/cris.h \ -Index: libatomic_ops-1.2/doc/Makefile.am -=================================================================== ---- libatomic_ops-1.2.orig/doc/Makefile.am 2010-02-01 15:20:09.207788884 +0000 -+++ libatomic_ops-1.2/doc/Makefile.am 2010-02-01 15:20:20.909049794 +0000 -@@ -1,3 +1,3 @@ - # installed documentation - # --dist_pkgdata_DATA=COPYING LICENSING.txt README.txt COPYING README_stack.txt README_malloc.txt README_win32.txt -+dist_pkgdata_DATA=LICENSING.txt README.txt COPYING README_stack.txt README_malloc.txt README_win32.txt diff --git a/meta/recipes-tbd/pulseaudio/libatomics-ops/fedora/libatomic_ops-1.2-ppclwzfix.patch b/meta/recipes-tbd/pulseaudio/libatomics-ops/fedora/libatomic_ops-1.2-ppclwzfix.patch deleted file mode 100644 index 51161dbe0f..0000000000 --- a/meta/recipes-tbd/pulseaudio/libatomics-ops/fedora/libatomic_ops-1.2-ppclwzfix.patch +++ /dev/null @@ -1,15 +0,0 @@ -http://cvs.fedoraproject.org/viewcvs/devel/libatomic_ops/libatomic_ops-1.2-ppclwzfix.patch - -* add fix for bad variable handling on PPC - ---- libatomic_ops-1.2.orig/src/atomic_ops/sysdeps/gcc/powerpc.h 2007-05-29 19:29:52.000000000 +0200 -+++ libatomic_ops-1.2/src/atomic_ops/sysdeps/gcc/powerpc.h 2007-05-29 19:30:48.000000000 +0200 -@@ -72,7 +72,7 @@ - /* registers. I always got "impossible constraint" when I */ - /* tried the "y" constraint. */ - __asm__ __volatile__ ( -- "lwz %0,%1\n" -+ "lwz%U1%X1 %0,%1\n" - "cmpw cr7,%0,%0\n" - "bne- cr7,1f\n" - "1: isync\n" diff --git a/meta/recipes-tbd/pulseaudio/libatomics-ops_1.2.bb b/meta/recipes-tbd/pulseaudio/libatomics-ops_1.2.bb deleted file mode 100644 index 207f1b1ec6..0000000000 --- a/meta/recipes-tbd/pulseaudio/libatomics-ops_1.2.bb +++ /dev/null @@ -1,14 +0,0 @@ -DESCRIPTION = "A library for atomic integer operations" -LICENSE = "MIT" - -PR = "r4" - -SRC_URI = "http://www.hpl.hp.com/research/linux/atomic_ops/download/libatomic_ops-1.2.tar.gz \ - file://fedora/libatomic_ops-1.2-ppclwzfix.patch;patch=1 \ - file://doublefix.patch;patch=1" - -S = "${WORKDIR}/libatomic_ops-${PV}" - -ALLOW_EMPTY_${PN} = "1" - -inherit autotools pkgconfig diff --git a/meta/recipes-tbd/pulseaudio/libcanberra/autoconf_version.patch b/meta/recipes-tbd/pulseaudio/libcanberra/autoconf_version.patch deleted file mode 100644 index 73a2ea6e49..0000000000 --- a/meta/recipes-tbd/pulseaudio/libcanberra/autoconf_version.patch +++ /dev/null @@ -1,38 +0,0 @@ -Allow a slightly older autoconf and disable the inbuild libltdl - -RP - 16/4/09 - -Index: libcanberra-0.10/Makefile.am -=================================================================== ---- libcanberra-0.10.orig/Makefile.am 2009-04-16 14:38:53.000000000 +0100 -+++ libcanberra-0.10/Makefile.am 2009-04-16 14:39:04.000000000 +0100 -@@ -19,7 +19,7 @@ - dist_doc_DATA = README - - EXTRA_DIST = bootstrap.sh autogen.sh LGPL libcanberra.schemas --SUBDIRS = src gtkdoc libltdl doc -+SUBDIRS = src gtkdoc doc - - MAINTAINERCLEANFILES = README - noinst_DATA = README -Index: libcanberra-0.10/configure.ac -=================================================================== ---- libcanberra-0.10.orig/configure.ac 2009-04-16 14:32:33.000000000 +0100 -+++ libcanberra-0.10/configure.ac 2009-04-16 14:37:50.000000000 +0100 -@@ -19,7 +19,7 @@ - # License along with libcanberra. If not, see - # . - --AC_PREREQ(2.62) -+AC_PREREQ(2.61) - - AC_INIT([libcanberra], 0.10, [mzyvopnaoreen (at) 0pointer (dot) de]) - AC_CONFIG_SRCDIR([src/common.c]) -@@ -70,7 +70,6 @@ - AC_PROG_LIBTOOL - AC_SUBST(LTDLINCL) - AC_SUBST(LIBLTDL) --AC_CONFIG_SUBDIRS(libltdl) - - #### Determine build environment #### - diff --git a/meta/recipes-tbd/pulseaudio/libcanberra/nofallbackfix.patch b/meta/recipes-tbd/pulseaudio/libcanberra/nofallbackfix.patch deleted file mode 100644 index 89a4fbf9f1..0000000000 --- a/meta/recipes-tbd/pulseaudio/libcanberra/nofallbackfix.patch +++ /dev/null @@ -1,16 +0,0 @@ -Index: libcanberra-0.10/src/sound-theme-spec.c -=================================================================== ---- libcanberra-0.10.orig/src/sound-theme-spec.c 2009-05-22 17:08:23.000000000 +0100 -+++ libcanberra-0.10/src/sound-theme-spec.c 2009-05-22 17:12:50.000000000 +0100 -@@ -398,9 +398,9 @@ - if ((ret = load_theme_dir(t, name)) < 0) - goto fail; - -+ /* The fallback theme may intentionally not exist so ignore failure */ - if (!t->loaded_fallback_theme) -- if ((ret = load_theme_dir(t, FALLBACK_THEME)) < 0) -- goto fail; -+ load_theme_dir(t, FALLBACK_THEME); - - if (*_t) - ca_theme_data_free(*_t); diff --git a/meta/recipes-tbd/pulseaudio/libcanberra_0.10.bb b/meta/recipes-tbd/pulseaudio/libcanberra_0.10.bb deleted file mode 100644 index c6d25dccb0..0000000000 --- a/meta/recipes-tbd/pulseaudio/libcanberra_0.10.bb +++ /dev/null @@ -1,22 +0,0 @@ -DESCRIPTION = "Libcanberra is an implementation of the XDG Sound Theme and Name Specifications, for generating event sounds on free desktops." -LICENSE = "LGPL" -DEPENDS = "gtk+ pulseaudio alsa-lib libtool" -PR = "r3" - -inherit gconf autotools - -SRC_URI = "http://0pointer.de/lennart/projects/libcanberra/libcanberra-${PV}.tar.gz \ - file://nofallbackfix.patch;patch=1 \ - file://autoconf_version.patch;patch=1" - -EXTRA_OECONF = " --disable-oss --disable-ltdl-install" - -do_configure_prepend () { - rm -f ${S}/libltdl/configure* -} - -FILES_${PN} += "${libdir}/gtk-2.0/modules/ ${datadir}/gnome" -FILES_${PN}-dbg += "${libdir}/gtk-2.0/modules/.debug" - -AUTOTOOLS_STAGE_PKGCONFIG = "1" - diff --git a/meta/recipes-tbd/pulseaudio/pulseaudio-0.9.15/alsaerror.patch b/meta/recipes-tbd/pulseaudio/pulseaudio-0.9.15/alsaerror.patch deleted file mode 100644 index 2efa3e89b8..0000000000 --- a/meta/recipes-tbd/pulseaudio/pulseaudio-0.9.15/alsaerror.patch +++ /dev/null @@ -1,525 +0,0 @@ -From: Lennart Poettering -Date: Sun, 19 Apr 2009 17:22:51 +0000 (+0200) -Subject: alsa: properly convert return values of snd_strerror() to utf8 -X-Git-Url: http://git.0pointer.de/?p=pulseaudio.git;a=commitdiff_plain;h=98a25c506e692ab091b4af7e1b37e8432fc08e8f - -alsa: properly convert return values of snd_strerror() to utf8 ---- - -diff --git a/src/modules/alsa/alsa-sink.c b/src/modules/alsa/alsa-sink.c -index 2fbcd7b..41e8b47 100644 ---- a/src/modules/alsa/alsa-sink.c -+++ b/src/modules/alsa/alsa-sink.c -@@ -281,7 +281,7 @@ static int try_recover(struct userdata *u, const char *call, int err) { - pa_assert(call); - pa_assert(err < 0); - -- pa_log_debug("%s: %s", call, snd_strerror(err)); -+ pa_log_debug("%s: %s", call, pa_alsa_strerror(err)); - - pa_assert(err != -EAGAIN); - -@@ -289,7 +289,7 @@ static int try_recover(struct userdata *u, const char *call, int err) { - pa_log_debug("%s: Buffer underrun!", call); - - if ((err = snd_pcm_recover(u->pcm_handle, err, 1)) < 0) { -- pa_log("%s: %s", call, snd_strerror(err)); -+ pa_log("%s: %s", call, pa_alsa_strerror(err)); - return -1; - } - -@@ -636,12 +636,12 @@ static void update_smoother(struct userdata *u) { - /* Let's update the time smoother */ - - if (PA_UNLIKELY((err = pa_alsa_safe_delay(u->pcm_handle, &delay, u->hwbuf_size, &u->sink->sample_spec)) < 0)) { -- pa_log_warn("Failed to query DSP status data: %s", snd_strerror(err)); -+ pa_log_warn("Failed to query DSP status data: %s", pa_alsa_strerror(err)); - return; - } - - if (PA_UNLIKELY((err = snd_pcm_status(u->pcm_handle, status)) < 0)) -- pa_log_warn("Failed to get timestamp: %s", snd_strerror(err)); -+ pa_log_warn("Failed to get timestamp: %s", pa_alsa_strerror(err)); - else { - snd_htimestamp_t htstamp = { 0, 0 }; - snd_pcm_status_get_htstamp(status, &htstamp); -@@ -764,7 +764,7 @@ static int update_sw_params(struct userdata *u) { - pa_log_debug("setting avail_min=%lu", (unsigned long) avail_min); - - if ((err = pa_alsa_set_sw_params(u->pcm_handle, avail_min)) < 0) { -- pa_log("Failed to set software parameters: %s", snd_strerror(err)); -+ pa_log("Failed to set software parameters: %s", pa_alsa_strerror(err)); - return err; - } - -@@ -792,7 +792,7 @@ static int unsuspend(struct userdata *u) { - SND_PCM_NO_AUTO_RESAMPLE| - SND_PCM_NO_AUTO_CHANNELS| - SND_PCM_NO_AUTO_FORMAT)) < 0) { -- pa_log("Error opening PCM device %s: %s", u->device_name, snd_strerror(err)); -+ pa_log("Error opening PCM device %s: %s", u->device_name, pa_alsa_strerror(err)); - goto fail; - } - -@@ -803,7 +803,7 @@ static int unsuspend(struct userdata *u) { - d = u->use_tsched; - - if ((err = pa_alsa_set_hw_params(u->pcm_handle, &ss, &nfrags, &period_size, u->hwbuf_size / u->frame_size, &b, &d, TRUE)) < 0) { -- pa_log("Failed to set hardware parameters: %s", snd_strerror(err)); -+ pa_log("Failed to set hardware parameters: %s", pa_alsa_strerror(err)); - goto fail; - } - -@@ -1030,7 +1030,7 @@ static void sink_get_volume_cb(pa_sink *s) { - return; - - fail: -- pa_log_error("Unable to read volume: %s", snd_strerror(err)); -+ pa_log_error("Unable to read volume: %s", pa_alsa_strerror(err)); - } - - static void sink_set_volume_cb(pa_sink *s) { -@@ -1141,7 +1141,7 @@ static void sink_set_volume_cb(pa_sink *s) { - return; - - fail: -- pa_log_error("Unable to set volume: %s", snd_strerror(err)); -+ pa_log_error("Unable to set volume: %s", pa_alsa_strerror(err)); - } - - static void sink_get_mute_cb(pa_sink *s) { -@@ -1152,7 +1152,7 @@ static void sink_get_mute_cb(pa_sink *s) { - pa_assert(u->mixer_elem); - - if ((err = snd_mixer_selem_get_playback_switch(u->mixer_elem, 0, &sw)) < 0) { -- pa_log_error("Unable to get switch: %s", snd_strerror(err)); -+ pa_log_error("Unable to get switch: %s", pa_alsa_strerror(err)); - return; - } - -@@ -1167,7 +1167,7 @@ static void sink_set_mute_cb(pa_sink *s) { - pa_assert(u->mixer_elem); - - if ((err = snd_mixer_selem_set_playback_switch_all(u->mixer_elem, !s->muted)) < 0) { -- pa_log_error("Unable to set switch: %s", snd_strerror(err)); -+ pa_log_error("Unable to set switch: %s", pa_alsa_strerror(err)); - return; - } - } -@@ -1206,7 +1206,7 @@ static int process_rewind(struct userdata *u) { - pa_log_debug("Requested to rewind %lu bytes.", (unsigned long) rewind_nbytes); - - if (PA_UNLIKELY((unused = pa_alsa_safe_avail(u->pcm_handle, u->hwbuf_size, &u->sink->sample_spec)) < 0)) { -- pa_log("snd_pcm_avail() failed: %s", snd_strerror((int) unused)); -+ pa_log("snd_pcm_avail() failed: %s", pa_alsa_strerror((int) unused)); - return -1; - } - -@@ -1228,7 +1228,7 @@ static int process_rewind(struct userdata *u) { - in_frames = (snd_pcm_sframes_t) (rewind_nbytes / u->frame_size); - pa_log_debug("before: %lu", (unsigned long) in_frames); - if ((out_frames = snd_pcm_rewind(u->pcm_handle, (snd_pcm_uframes_t) in_frames)) < 0) { -- pa_log("snd_pcm_rewind() failed: %s", snd_strerror((int) out_frames)); -+ pa_log("snd_pcm_rewind() failed: %s", pa_alsa_strerror((int) out_frames)); - return -1; - } - pa_log_debug("after: %lu", (unsigned long) out_frames); -@@ -1359,7 +1359,7 @@ static void thread_func(void *userdata) { - pollfd = pa_rtpoll_item_get_pollfd(u->alsa_rtpoll_item, &n); - - if ((err = snd_pcm_poll_descriptors_revents(u->pcm_handle, pollfd, n, &revents)) < 0) { -- pa_log("snd_pcm_poll_descriptors_revents() failed: %s", snd_strerror(err)); -+ pa_log("snd_pcm_poll_descriptors_revents() failed: %s", pa_alsa_strerror(err)); - goto fail; - } - -diff --git a/src/modules/alsa/alsa-source.c b/src/modules/alsa/alsa-source.c -index c59fc75..843f70b 100644 ---- a/src/modules/alsa/alsa-source.c -+++ b/src/modules/alsa/alsa-source.c -@@ -278,7 +278,7 @@ static int try_recover(struct userdata *u, const char *call, int err) { - pa_assert(call); - pa_assert(err < 0); - -- pa_log_debug("%s: %s", call, snd_strerror(err)); -+ pa_log_debug("%s: %s", call, pa_alsa_strerror(err)); - - pa_assert(err != -EAGAIN); - -@@ -286,7 +286,7 @@ static int try_recover(struct userdata *u, const char *call, int err) { - pa_log_debug("%s: Buffer overrun!", call); - - if ((err = snd_pcm_recover(u->pcm_handle, err, 1)) < 0) { -- pa_log("%s: %s", call, snd_strerror(err)); -+ pa_log("%s: %s", call, pa_alsa_strerror(err)); - return -1; - } - -@@ -606,12 +606,12 @@ static void update_smoother(struct userdata *u) { - /* Let's update the time smoother */ - - if (PA_UNLIKELY((err = pa_alsa_safe_delay(u->pcm_handle, &delay, u->hwbuf_size, &u->source->sample_spec)) < 0)) { -- pa_log_warn("Failed to get delay: %s", snd_strerror(err)); -+ pa_log_warn("Failed to get delay: %s", pa_alsa_strerror(err)); - return; - } - - if (PA_UNLIKELY((err = snd_pcm_status(u->pcm_handle, status)) < 0)) -- pa_log_warn("Failed to get timestamp: %s", snd_strerror(err)); -+ pa_log_warn("Failed to get timestamp: %s", pa_alsa_strerror(err)); - else { - snd_htimestamp_t htstamp = { 0, 0 }; - snd_pcm_status_get_htstamp(status, &htstamp); -@@ -721,7 +721,7 @@ static int update_sw_params(struct userdata *u) { - pa_log_debug("setting avail_min=%lu", (unsigned long) avail_min); - - if ((err = pa_alsa_set_sw_params(u->pcm_handle, avail_min)) < 0) { -- pa_log("Failed to set software parameters: %s", snd_strerror(err)); -+ pa_log("Failed to set software parameters: %s", pa_alsa_strerror(err)); - return err; - } - -@@ -747,7 +747,7 @@ static int unsuspend(struct userdata *u) { - SND_PCM_NO_AUTO_RESAMPLE| - SND_PCM_NO_AUTO_CHANNELS| - SND_PCM_NO_AUTO_FORMAT)) < 0) { -- pa_log("Error opening PCM device %s: %s", u->device_name, snd_strerror(err)); -+ pa_log("Error opening PCM device %s: %s", u->device_name, pa_alsa_strerror(err)); - goto fail; - } - -@@ -758,7 +758,7 @@ static int unsuspend(struct userdata *u) { - d = u->use_tsched; - - if ((err = pa_alsa_set_hw_params(u->pcm_handle, &ss, &nfrags, &period_size, u->hwbuf_size / u->frame_size, &b, &d, TRUE)) < 0) { -- pa_log("Failed to set hardware parameters: %s", snd_strerror(err)); -+ pa_log("Failed to set hardware parameters: %s", pa_alsa_strerror(err)); - goto fail; - } - -@@ -988,7 +988,7 @@ static void source_get_volume_cb(pa_source *s) { - return; - - fail: -- pa_log_error("Unable to read volume: %s", snd_strerror(err)); -+ pa_log_error("Unable to read volume: %s", pa_alsa_strerror(err)); - } - - static void source_set_volume_cb(pa_source *s) { -@@ -1100,7 +1100,7 @@ static void source_set_volume_cb(pa_source *s) { - return; - - fail: -- pa_log_error("Unable to set volume: %s", snd_strerror(err)); -+ pa_log_error("Unable to set volume: %s", pa_alsa_strerror(err)); - } - - static void source_get_mute_cb(pa_source *s) { -@@ -1111,7 +1111,7 @@ static void source_get_mute_cb(pa_source *s) { - pa_assert(u->mixer_elem); - - if ((err = snd_mixer_selem_get_capture_switch(u->mixer_elem, 0, &sw)) < 0) { -- pa_log_error("Unable to get switch: %s", snd_strerror(err)); -+ pa_log_error("Unable to get switch: %s", pa_alsa_strerror(err)); - return; - } - -@@ -1126,7 +1126,7 @@ static void source_set_mute_cb(pa_source *s) { - pa_assert(u->mixer_elem); - - if ((err = snd_mixer_selem_set_capture_switch_all(u->mixer_elem, !s->muted)) < 0) { -- pa_log_error("Unable to set switch: %s", snd_strerror(err)); -+ pa_log_error("Unable to set switch: %s", pa_alsa_strerror(err)); - return; - } - } -@@ -1218,7 +1218,7 @@ static void thread_func(void *userdata) { - pollfd = pa_rtpoll_item_get_pollfd(u->alsa_rtpoll_item, &n); - - if ((err = snd_pcm_poll_descriptors_revents(u->pcm_handle, pollfd, n, &revents)) < 0) { -- pa_log("snd_pcm_poll_descriptors_revents() failed: %s", snd_strerror(err)); -+ pa_log("snd_pcm_poll_descriptors_revents() failed: %s", pa_alsa_strerror(err)); - goto fail; - } - -diff --git a/src/modules/alsa/alsa-util.c b/src/modules/alsa/alsa-util.c -index d2dc6e8..ddc3c77 100644 ---- a/src/modules/alsa/alsa-util.c -+++ b/src/modules/alsa/alsa-util.c -@@ -33,6 +33,7 @@ - #include - #include - #include -+#include - - #include - #include -@@ -40,6 +41,7 @@ - #include - #include - #include -+#include - - #include "alsa-util.h" - -@@ -106,7 +108,7 @@ static void io_cb(pa_mainloop_api*a, pa_io_event* e, int fd, pa_io_event_flags_t - pa_assert(i != fdl->num_fds); - - if ((err = snd_mixer_poll_descriptors_revents(fdl->mixer, fdl->work_fds, fdl->num_fds, &revents)) < 0) { -- pa_log_error("Unable to get poll revent: %s", snd_strerror(err)); -+ pa_log_error("Unable to get poll revent: %s", pa_alsa_strerror(err)); - return; - } - -@@ -129,7 +131,7 @@ static void defer_cb(pa_mainloop_api*a, pa_defer_event* e, void *userdata) { - a->defer_enable(fdl->defer, 0); - - if ((n = snd_mixer_poll_descriptors_count(fdl->mixer)) < 0) { -- pa_log("snd_mixer_poll_descriptors_count() failed: %s", snd_strerror(n)); -+ pa_log("snd_mixer_poll_descriptors_count() failed: %s", pa_alsa_strerror(n)); - return; - } - num_fds = (unsigned) n; -@@ -146,7 +148,7 @@ static void defer_cb(pa_mainloop_api*a, pa_defer_event* e, void *userdata) { - memset(fdl->work_fds, 0, sizeof(struct pollfd) * num_fds); - - if ((err = snd_mixer_poll_descriptors(fdl->mixer, fdl->work_fds, num_fds)) < 0) { -- pa_log_error("Unable to get poll descriptors: %s", snd_strerror(err)); -+ pa_log_error("Unable to get poll descriptors: %s", pa_alsa_strerror(err)); - return; - } - -@@ -482,42 +484,42 @@ int pa_alsa_set_sw_params(snd_pcm_t *pcm, snd_pcm_uframes_t avail_min) { - snd_pcm_sw_params_alloca(&swparams); - - if ((err = snd_pcm_sw_params_current(pcm, swparams) < 0)) { -- pa_log_warn("Unable to determine current swparams: %s\n", snd_strerror(err)); -+ pa_log_warn("Unable to determine current swparams: %s\n", pa_alsa_strerror(err)); - return err; - } - - if ((err = snd_pcm_sw_params_set_period_event(pcm, swparams, 0)) < 0) { -- pa_log_warn("Unable to disable period event: %s\n", snd_strerror(err)); -+ pa_log_warn("Unable to disable period event: %s\n", pa_alsa_strerror(err)); - return err; - } - - if ((err = snd_pcm_sw_params_set_tstamp_mode(pcm, swparams, SND_PCM_TSTAMP_ENABLE)) < 0) { -- pa_log_warn("Unable to enable time stamping: %s\n", snd_strerror(err)); -+ pa_log_warn("Unable to enable time stamping: %s\n", pa_alsa_strerror(err)); - return err; - } - - if ((err = snd_pcm_sw_params_get_boundary(swparams, &boundary)) < 0) { -- pa_log_warn("Unable to get boundary: %s\n", snd_strerror(err)); -+ pa_log_warn("Unable to get boundary: %s\n", pa_alsa_strerror(err)); - return err; - } - - if ((err = snd_pcm_sw_params_set_stop_threshold(pcm, swparams, boundary)) < 0) { -- pa_log_warn("Unable to set stop threshold: %s\n", snd_strerror(err)); -+ pa_log_warn("Unable to set stop threshold: %s\n", pa_alsa_strerror(err)); - return err; - } - - if ((err = snd_pcm_sw_params_set_start_threshold(pcm, swparams, (snd_pcm_uframes_t) -1)) < 0) { -- pa_log_warn("Unable to set start threshold: %s\n", snd_strerror(err)); -+ pa_log_warn("Unable to set start threshold: %s\n", pa_alsa_strerror(err)); - return err; - } - - if ((err = snd_pcm_sw_params_set_avail_min(pcm, swparams, avail_min)) < 0) { -- pa_log_error("snd_pcm_sw_params_set_avail_min() failed: %s", snd_strerror(err)); -+ pa_log_error("snd_pcm_sw_params_set_avail_min() failed: %s", pa_alsa_strerror(err)); - return err; - } - - if ((err = snd_pcm_sw_params(pcm, swparams)) < 0) { -- pa_log_warn("Unable to set sw params: %s\n", snd_strerror(err)); -+ pa_log_warn("Unable to set sw params: %s\n", pa_alsa_strerror(err)); - return err; - } - -@@ -854,7 +856,7 @@ snd_pcm_t *pa_alsa_open_by_device_string( - SND_PCM_NO_AUTO_RESAMPLE| - SND_PCM_NO_AUTO_CHANNELS| - (reformat ? 0 : SND_PCM_NO_AUTO_FORMAT))) < 0) { -- pa_log_info("Error opening PCM device %s: %s", d, snd_strerror(err)); -+ pa_log_info("Error opening PCM device %s: %s", d, pa_alsa_strerror(err)); - goto fail; - } - -@@ -882,7 +884,7 @@ snd_pcm_t *pa_alsa_open_by_device_string( - continue; - } - -- pa_log_info("Failed to set hardware parameters on %s: %s", d, snd_strerror(err)); -+ pa_log_info("Failed to set hardware parameters on %s: %s", d, pa_alsa_strerror(err)); - snd_pcm_close(pcm_handle); - - goto fail; -@@ -1000,17 +1002,17 @@ int pa_alsa_prepare_mixer(snd_mixer_t *mixer, const char *dev) { - pa_assert(dev); - - if ((err = snd_mixer_attach(mixer, dev)) < 0) { -- pa_log_info("Unable to attach to mixer %s: %s", dev, snd_strerror(err)); -+ pa_log_info("Unable to attach to mixer %s: %s", dev, pa_alsa_strerror(err)); - return -1; - } - - if ((err = snd_mixer_selem_register(mixer, NULL, NULL)) < 0) { -- pa_log_warn("Unable to register mixer: %s", snd_strerror(err)); -+ pa_log_warn("Unable to register mixer: %s", pa_alsa_strerror(err)); - return -1; - } - - if ((err = snd_mixer_load(mixer)) < 0) { -- pa_log_warn("Unable to load mixer: %s", snd_strerror(err)); -+ pa_log_warn("Unable to load mixer: %s", pa_alsa_strerror(err)); - return -1; - } - -@@ -1136,7 +1138,7 @@ int pa_alsa_find_mixer_and_elem( - } - - if ((err = snd_mixer_open(&m, 0)) < 0) { -- pa_log("Error opening mixer: %s", snd_strerror(err)); -+ pa_log("Error opening mixer: %s", pa_alsa_strerror(err)); - return -1; - } - -@@ -1338,7 +1340,7 @@ void pa_alsa_dump(pa_log_level_t level, snd_pcm_t *pcm) { - pa_assert_se(snd_output_buffer_open(&out) == 0); - - if ((err = snd_pcm_dump(pcm, out)) < 0) -- pa_logl(level, "snd_pcm_dump(): %s", snd_strerror(err)); -+ pa_logl(level, "snd_pcm_dump(): %s", pa_alsa_strerror(err)); - else { - char *s = NULL; - snd_output_buffer_string(out, &s); -@@ -1362,7 +1364,7 @@ void pa_alsa_dump_status(snd_pcm_t *pcm) { - pa_assert_se(snd_pcm_status(pcm, status) == 0); - - if ((err = snd_pcm_status_dump(status, out)) < 0) -- pa_log_debug("snd_pcm_dump(): %s", snd_strerror(err)); -+ pa_log_debug("snd_pcm_dump(): %s", pa_alsa_strerror(err)); - else { - char *s = NULL; - snd_output_buffer_string(out, &s); -@@ -1524,7 +1526,7 @@ void pa_alsa_init_proplist_pcm(pa_core *c, pa_proplist *p, snd_pcm_t *pcm, snd_m - snd_pcm_info_alloca(&info); - - if ((err = snd_pcm_hw_params_current(pcm, hwparams)) < 0) -- pa_log_warn("Error fetching hardware parameter info: %s", snd_strerror(err)); -+ pa_log_warn("Error fetching hardware parameter info: %s", pa_alsa_strerror(err)); - else { - - if ((bits = snd_pcm_hw_params_get_sbits(hwparams)) >= 0) -@@ -1535,7 +1537,7 @@ void pa_alsa_init_proplist_pcm(pa_core *c, pa_proplist *p, snd_pcm_t *pcm, snd_m - pa_proplist_sets(p, "alsa.mixer_element", snd_mixer_selem_get_name(elem)); - - if ((err = snd_pcm_info(pcm, info)) < 0) -- pa_log_warn("Error fetching PCM info: %s", snd_strerror(err)); -+ pa_log_warn("Error fetching PCM info: %s", pa_alsa_strerror(err)); - else - pa_alsa_init_proplist_pcm_info(c, p, info); - } -@@ -1568,14 +1570,14 @@ int pa_alsa_recover_from_poll(snd_pcm_t *pcm, int revents) { - - case SND_PCM_STATE_XRUN: - if ((err = snd_pcm_recover(pcm, -EPIPE, 1)) != 0) { -- pa_log_warn("Could not recover from POLLERR|POLLNVAL|POLLHUP and XRUN: %s", snd_strerror(err)); -+ pa_log_warn("Could not recover from POLLERR|POLLNVAL|POLLHUP and XRUN: %s", pa_alsa_strerror(err)); - return -1; - } - break; - - case SND_PCM_STATE_SUSPENDED: - if ((err = snd_pcm_recover(pcm, -ESTRPIPE, 1)) != 0) { -- pa_log_warn("Could not recover from POLLERR|POLLNVAL|POLLHUP and SUSPENDED: %s", snd_strerror(err)); -+ pa_log_warn("Could not recover from POLLERR|POLLNVAL|POLLHUP and SUSPENDED: %s", pa_alsa_strerror(err)); - return -1; - } - break; -@@ -1585,7 +1587,7 @@ int pa_alsa_recover_from_poll(snd_pcm_t *pcm, int revents) { - snd_pcm_drop(pcm); - - if ((err = snd_pcm_prepare(pcm)) < 0) { -- pa_log_warn("Could not recover from POLLERR|POLLNVAL|POLLHUP with snd_pcm_prepare(): %s", snd_strerror(err)); -+ pa_log_warn("Could not recover from POLLERR|POLLNVAL|POLLHUP with snd_pcm_prepare(): %s", pa_alsa_strerror(err)); - return -1; - } - break; -@@ -1602,7 +1604,7 @@ pa_rtpoll_item* pa_alsa_build_pollfd(snd_pcm_t *pcm, pa_rtpoll *rtpoll) { - pa_assert(pcm); - - if ((n = snd_pcm_poll_descriptors_count(pcm)) < 0) { -- pa_log("snd_pcm_poll_descriptors_count() failed: %s", snd_strerror(n)); -+ pa_log("snd_pcm_poll_descriptors_count() failed: %s", pa_alsa_strerror(n)); - return NULL; - } - -@@ -1610,7 +1612,7 @@ pa_rtpoll_item* pa_alsa_build_pollfd(snd_pcm_t *pcm, pa_rtpoll *rtpoll) { - pollfd = pa_rtpoll_item_get_pollfd(item, NULL); - - if ((err = snd_pcm_poll_descriptors(pcm, pollfd, (unsigned) n)) < 0) { -- pa_log("snd_pcm_poll_descriptors() failed: %s", snd_strerror(err)); -+ pa_log("snd_pcm_poll_descriptors() failed: %s", pa_alsa_strerror(err)); - pa_rtpoll_item_free(item); - return NULL; - } -@@ -1819,3 +1821,30 @@ pa_bool_t pa_alsa_pcm_is_modem(snd_pcm_t *pcm) { - - return snd_pcm_info_get_class(info) == SND_PCM_CLASS_MODEM; - } -+ -+PA_STATIC_TLS_DECLARE(cstrerror, pa_xfree); -+ -+const char* pa_alsa_strerror(int errnum) { -+ const char *original = NULL; -+ char *translated, *t; -+ char errbuf[128]; -+ -+ if ((t = PA_STATIC_TLS_GET(cstrerror))) -+ pa_xfree(t); -+ -+ original = snd_strerror(errnum); -+ -+ if (!original) { -+ pa_snprintf(errbuf, sizeof(errbuf), "Unknown error %i", errnum); -+ original = errbuf; -+ } -+ -+ if (!(translated = pa_locale_to_utf8(original))) { -+ pa_log_warn("Unable to convert error string to locale, filtering."); -+ translated = pa_utf8_filter(original); -+ } -+ -+ PA_STATIC_TLS_SET(cstrerror, translated); -+ -+ return translated; -+} -diff --git a/src/modules/alsa/alsa-util.h b/src/modules/alsa/alsa-util.h -index c8acc7c..77ac8a7 100644 ---- a/src/modules/alsa/alsa-util.h -+++ b/src/modules/alsa/alsa-util.h -@@ -146,4 +146,6 @@ pa_bool_t pa_alsa_pcm_is_hw(snd_pcm_t *pcm); - - pa_bool_t pa_alsa_pcm_is_modem(snd_pcm_t *pcm); - -+const char* pa_alsa_strerror(int errnum); -+ - #endif -diff --git a/src/modules/alsa/module-alsa-card.c b/src/modules/alsa/module-alsa-card.c -index fdc952d..51d466e 100644 ---- a/src/modules/alsa/module-alsa-card.c -+++ b/src/modules/alsa/module-alsa-card.c -@@ -304,7 +304,7 @@ int pa__init(pa_module *m) { - u->modargs = ma; - - if ((alsa_card_index = snd_card_get_index(u->device_id)) < 0) { -- pa_log("Card '%s' doesn't exist: %s", u->device_id, snd_strerror(alsa_card_index)); -+ pa_log("Card '%s' doesn't exist: %s", u->device_id, pa_alsa_strerror(alsa_card_index)); - goto fail; - } - diff --git a/meta/recipes-tbd/pulseaudio/pulseaudio-0.9.15/autoconf_version.patch b/meta/recipes-tbd/pulseaudio/pulseaudio-0.9.15/autoconf_version.patch deleted file mode 100644 index 7a0759da13..0000000000 --- a/meta/recipes-tbd/pulseaudio/pulseaudio-0.9.15/autoconf_version.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: pulseaudio-0.9.15/configure.ac -=================================================================== ---- pulseaudio-0.9.15.orig/configure.ac 2009-04-14 00:09:53.000000000 +0100 -+++ pulseaudio-0.9.15/configure.ac 2009-05-22 11:32:50.000000000 +0100 -@@ -20,7 +20,7 @@ - # along with PulseAudio; if not, write to the Free Software Foundation, - # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. - --AC_PREREQ(2.63) -+AC_PREREQ(2.61) - - m4_define(pa_major, [0]) - m4_define(pa_minor, [9]) diff --git a/meta/recipes-tbd/pulseaudio/pulseaudio-0.9.15/buildfix.patch b/meta/recipes-tbd/pulseaudio/pulseaudio-0.9.15/buildfix.patch deleted file mode 100644 index ca01e0d80f..0000000000 --- a/meta/recipes-tbd/pulseaudio/pulseaudio-0.9.15/buildfix.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: pulseaudio-0.9.11/src/pulsecore/atomic.h -=================================================================== ---- pulseaudio-0.9.11.orig/src/pulsecore/atomic.h -+++ pulseaudio-0.9.11/src/pulsecore/atomic.h -@@ -40,6 +40,8 @@ - #error "Please include config.h before including this file!" - #endif - -+#include "macro.h" -+ - #ifdef HAVE_ATOMIC_BUILTINS - - /* __sync based implementation */ diff --git a/meta/recipes-tbd/pulseaudio/pulseaudio-0.9.15/fallback.patch b/meta/recipes-tbd/pulseaudio/pulseaudio-0.9.15/fallback.patch deleted file mode 100644 index 2fae0d4e78..0000000000 --- a/meta/recipes-tbd/pulseaudio/pulseaudio-0.9.15/fallback.patch +++ /dev/null @@ -1,338 +0,0 @@ -From: Lennart Poettering -Date: Tue, 28 Apr 2009 23:58:18 +0000 (+0200) -Subject: alsa: allow configuration of fallback device strings in profiles -X-Git-Url: http://git.0pointer.de/?p=pulseaudio.git;a=commitdiff_plain;h=d8710711fb0c74b4ad83ac99c2501218155b502b - -alsa: allow configuration of fallback device strings in profiles - -This has the benefit that we can properly support ALSA devices where -only the raw 'hw' device exists but no 'front' although it's a proper -2ch stereo device. ---- - -diff --git a/src/modules/alsa/alsa-util.c b/src/modules/alsa/alsa-util.c -index 18d6880..a3a0450 100644 ---- a/src/modules/alsa/alsa-util.c -+++ b/src/modules/alsa/alsa-util.c -@@ -528,7 +528,7 @@ int pa_alsa_set_sw_params(snd_pcm_t *pcm, snd_pcm_uframes_t avail_min) { - - static const struct pa_alsa_profile_info device_table[] = { - {{ 1, { PA_CHANNEL_POSITION_MONO }}, -- "hw", -+ "hw", NULL, - N_("Analog Mono"), - "analog-mono", - 1, -@@ -536,7 +536,7 @@ static const struct pa_alsa_profile_info device_table[] = { - "Capture", "Mic" }, - - {{ 2, { PA_CHANNEL_POSITION_LEFT, PA_CHANNEL_POSITION_RIGHT }}, -- "front", -+ "front", "hw", - N_("Analog Stereo"), - "analog-stereo", - 10, -@@ -544,7 +544,7 @@ static const struct pa_alsa_profile_info device_table[] = { - "Capture", "Mic" }, - - {{ 2, { PA_CHANNEL_POSITION_LEFT, PA_CHANNEL_POSITION_RIGHT }}, -- "iec958", -+ "iec958", NULL, - N_("Digital Stereo (IEC958)"), - "iec958-stereo", - 5, -@@ -552,7 +552,7 @@ static const struct pa_alsa_profile_info device_table[] = { - "IEC958 In", NULL }, - - {{ 2, { PA_CHANNEL_POSITION_LEFT, PA_CHANNEL_POSITION_RIGHT }}, -- "hdmi", -+ "hdmi", NULL, - N_("Digital Stereo (HDMI)"), - "hdmi-stereo", - 4, -@@ -561,7 +561,7 @@ static const struct pa_alsa_profile_info device_table[] = { - - {{ 4, { PA_CHANNEL_POSITION_FRONT_LEFT, PA_CHANNEL_POSITION_FRONT_RIGHT, - PA_CHANNEL_POSITION_REAR_LEFT, PA_CHANNEL_POSITION_REAR_RIGHT }}, -- "surround40", -+ "surround40", NULL, - N_("Analog Surround 4.0"), - "analog-surround-40", - 7, -@@ -570,7 +570,7 @@ static const struct pa_alsa_profile_info device_table[] = { - - {{ 4, { PA_CHANNEL_POSITION_FRONT_LEFT, PA_CHANNEL_POSITION_FRONT_RIGHT, - PA_CHANNEL_POSITION_REAR_LEFT, PA_CHANNEL_POSITION_REAR_RIGHT }}, -- "a52", -+ "a52", NULL, - N_("Digital Surround 4.0 (IEC958/AC3)"), - "iec958-ac3-surround-40", - 2, -@@ -580,7 +580,7 @@ static const struct pa_alsa_profile_info device_table[] = { - {{ 5, { PA_CHANNEL_POSITION_FRONT_LEFT, PA_CHANNEL_POSITION_FRONT_RIGHT, - PA_CHANNEL_POSITION_REAR_LEFT, PA_CHANNEL_POSITION_REAR_RIGHT, - PA_CHANNEL_POSITION_LFE }}, -- "surround41", -+ "surround41", NULL, - N_("Analog Surround 4.1"), - "analog-surround-41", - 7, -@@ -590,7 +590,7 @@ static const struct pa_alsa_profile_info device_table[] = { - {{ 5, { PA_CHANNEL_POSITION_FRONT_LEFT, PA_CHANNEL_POSITION_FRONT_RIGHT, - PA_CHANNEL_POSITION_REAR_LEFT, PA_CHANNEL_POSITION_REAR_RIGHT, - PA_CHANNEL_POSITION_CENTER }}, -- "surround50", -+ "surround50", NULL, - N_("Analog Surround 5.0"), - "analog-surround-50", - 7, -@@ -600,7 +600,7 @@ static const struct pa_alsa_profile_info device_table[] = { - {{ 6, { PA_CHANNEL_POSITION_FRONT_LEFT, PA_CHANNEL_POSITION_FRONT_RIGHT, - PA_CHANNEL_POSITION_REAR_LEFT, PA_CHANNEL_POSITION_REAR_RIGHT, - PA_CHANNEL_POSITION_CENTER, PA_CHANNEL_POSITION_LFE }}, -- "surround51", -+ "surround51", NULL, - N_("Analog Surround 5.1"), - "analog-surround-51", - 8, -@@ -610,7 +610,7 @@ static const struct pa_alsa_profile_info device_table[] = { - {{ 6, { PA_CHANNEL_POSITION_FRONT_LEFT, PA_CHANNEL_POSITION_FRONT_RIGHT, - PA_CHANNEL_POSITION_REAR_LEFT, PA_CHANNEL_POSITION_REAR_RIGHT, - PA_CHANNEL_POSITION_FRONT_CENTER, PA_CHANNEL_POSITION_LFE}}, -- "a52", -+ "a52", NULL, - N_("Digital Surround 5.1 (IEC958/AC3)"), - "iec958-ac3-surround-51", - 3, -@@ -621,16 +621,72 @@ static const struct pa_alsa_profile_info device_table[] = { - PA_CHANNEL_POSITION_REAR_LEFT, PA_CHANNEL_POSITION_REAR_RIGHT, - PA_CHANNEL_POSITION_CENTER, PA_CHANNEL_POSITION_LFE, - PA_CHANNEL_POSITION_SIDE_LEFT, PA_CHANNEL_POSITION_SIDE_RIGHT }}, -- "surround71", -+ "surround71", NULL, - N_("Analog Surround 7.1"), - "analog-surround-71", - 7, - "Master", "PCM", - "Capture", "Mic" }, - -- {{ 0, { 0 }}, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL } -+ {{ 0, { 0 }}, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL } - }; - -+static snd_pcm_t *open_by_device_string_with_fallback( -+ const char *prefix, -+ const char *prefix_fallback, -+ const char *dev_id, -+ char **dev, -+ pa_sample_spec *ss, -+ pa_channel_map* map, -+ int mode, -+ uint32_t *nfrags, -+ snd_pcm_uframes_t *period_size, -+ snd_pcm_uframes_t tsched_size, -+ pa_bool_t *use_mmap, -+ pa_bool_t *use_tsched, -+ pa_bool_t require_exact_channel_number) { -+ -+ snd_pcm_t *pcm_handle; -+ char *d; -+ -+ d = pa_sprintf_malloc("%s:%s", prefix, dev_id); -+ -+ pcm_handle = pa_alsa_open_by_device_string( -+ d, -+ dev, -+ ss, -+ map, -+ mode, -+ nfrags, -+ period_size, -+ tsched_size, -+ use_mmap, -+ use_tsched, -+ require_exact_channel_number); -+ pa_xfree(d); -+ -+ if (!pcm_handle && prefix_fallback) { -+ -+ d = pa_sprintf_malloc("%s:%s", prefix_fallback, dev_id); -+ -+ pcm_handle = pa_alsa_open_by_device_string( -+ d, -+ dev, -+ ss, -+ map, -+ mode, -+ nfrags, -+ period_size, -+ tsched_size, -+ use_mmap, -+ use_tsched, -+ require_exact_channel_number); -+ pa_xfree(d); -+ } -+ -+ return pcm_handle; -+} -+ - snd_pcm_t *pa_alsa_open_by_device_id_auto( - const char *dev_id, - char **dev, -@@ -671,14 +727,14 @@ snd_pcm_t *pa_alsa_open_by_device_id_auto( - - pa_log_debug("Checking for %s (%s)", device_table[i].name, device_table[i].alsa_name); - -- d = pa_sprintf_malloc("%s:%s", device_table[i].alsa_name, dev_id); -- - try_ss.channels = device_table[i].map.channels; - try_ss.rate = ss->rate; - try_ss.format = ss->format; - -- pcm_handle = pa_alsa_open_by_device_string( -- d, -+ pcm_handle = open_by_device_string_with_fallback( -+ device_table[i].alsa_name, -+ device_table[i].alsa_name_fallback, -+ dev_id, - dev, - &try_ss, - map, -@@ -690,8 +746,6 @@ snd_pcm_t *pa_alsa_open_by_device_id_auto( - use_tsched, - TRUE); - -- pa_xfree(d); -- - if (pcm_handle) { - - *ss = try_ss; -@@ -703,6 +757,7 @@ snd_pcm_t *pa_alsa_open_by_device_id_auto( - - return pcm_handle; - } -+ - } - - if (direction > 0) { -@@ -775,7 +830,6 @@ snd_pcm_t *pa_alsa_open_by_device_id_profile( - pa_bool_t *use_tsched, - const pa_alsa_profile_info *profile) { - -- char *d; - snd_pcm_t *pcm_handle; - pa_sample_spec try_ss; - -@@ -787,14 +841,14 @@ snd_pcm_t *pa_alsa_open_by_device_id_profile( - pa_assert(period_size); - pa_assert(profile); - -- d = pa_sprintf_malloc("%s:%s", profile->alsa_name, dev_id); -- - try_ss.channels = profile->map.channels; - try_ss.rate = ss->rate; - try_ss.format = ss->format; - -- pcm_handle = pa_alsa_open_by_device_string( -- d, -+ pcm_handle = open_by_device_string_with_fallback( -+ profile->alsa_name, -+ profile->alsa_name_fallback, -+ dev_id, - dev, - &try_ss, - map, -@@ -806,8 +860,6 @@ snd_pcm_t *pa_alsa_open_by_device_id_profile( - use_tsched, - TRUE); - -- pa_xfree(d); -- - if (!pcm_handle) - return NULL; - -@@ -860,6 +912,8 @@ snd_pcm_t *pa_alsa_open_by_device_string( - goto fail; - } - -+ pa_log_debug("Managed to open %s", d); -+ - if ((err = pa_alsa_set_hw_params(pcm_handle, ss, nfrags, period_size, tsched_size, use_mmap, use_tsched, require_exact_channel_number)) < 0) { - - if (!reformat) { -@@ -928,26 +982,25 @@ int pa_alsa_probe_profiles( - snd_pcm_t *pcm_i = NULL; - - if (i->alsa_name) { -- char *id; - pa_sample_spec try_ss; - pa_channel_map try_map; - - pa_log_debug("Checking for playback on %s (%s)", i->name, i->alsa_name); -- id = pa_sprintf_malloc("%s:%s", i->alsa_name, dev_id); - - try_ss = *ss; - try_ss.channels = i->map.channels; - try_map = i->map; - -- pcm_i = pa_alsa_open_by_device_string( -- id, NULL, -+ pcm_i = open_by_device_string_with_fallback( -+ i->alsa_name, -+ i->alsa_name_fallback, -+ dev_id, -+ NULL, - &try_ss, &try_map, - SND_PCM_STREAM_PLAYBACK, - NULL, NULL, 0, NULL, NULL, - TRUE); - -- pa_xfree(id); -- - if (!pcm_i) - continue; - } -@@ -956,26 +1009,25 @@ int pa_alsa_probe_profiles( - snd_pcm_t *pcm_j = NULL; - - if (j->alsa_name) { -- char *jd; - pa_sample_spec try_ss; - pa_channel_map try_map; - - pa_log_debug("Checking for capture on %s (%s)", j->name, j->alsa_name); -- jd = pa_sprintf_malloc("%s:%s", j->alsa_name, dev_id); - - try_ss = *ss; - try_ss.channels = j->map.channels; - try_map = j->map; - -- pcm_j = pa_alsa_open_by_device_string( -- jd, NULL, -+ pcm_j = open_by_device_string_with_fallback( -+ j->alsa_name, -+ j->alsa_name_fallback, -+ dev_id, -+ NULL, - &try_ss, &try_map, - SND_PCM_STREAM_CAPTURE, - NULL, NULL, 0, NULL, NULL, - TRUE); - -- pa_xfree(jd); -- - if (!pcm_j) - continue; - } -diff --git a/src/modules/alsa/alsa-util.h b/src/modules/alsa/alsa-util.h -index 77ac8a7..4c5d336 100644 ---- a/src/modules/alsa/alsa-util.h -+++ b/src/modules/alsa/alsa-util.h -@@ -56,6 +56,7 @@ int pa_alsa_set_sw_params(snd_pcm_t *pcm, snd_pcm_uframes_t avail_min); - typedef struct pa_alsa_profile_info { - pa_channel_map map; - const char *alsa_name; -+ const char *alsa_name_fallback; - const char *description; /* internationalized */ - const char *name; - unsigned priority; diff --git a/meta/recipes-tbd/pulseaudio/pulseaudio-0.9.15/gcc4-compile-fix.patch b/meta/recipes-tbd/pulseaudio/pulseaudio-0.9.15/gcc4-compile-fix.patch deleted file mode 100644 index 34ad026e4d..0000000000 --- a/meta/recipes-tbd/pulseaudio/pulseaudio-0.9.15/gcc4-compile-fix.patch +++ /dev/null @@ -1,18 +0,0 @@ -| fix for more strict syntax compliance in gcc4.x -| pulsecore/core-util.c: In function 'pa_raise_priority': -| pulsecore/core-util.c:547: error: label at end of compound statement -| Signed off: mickey@openmoko.org -| -Index: pulseaudio-0.9.6/src/pulsecore/core-util.c -=================================================================== ---- pulseaudio-0.9.6.orig/src/pulsecore/core-util.c -+++ pulseaudio-0.9.6/src/pulsecore/core-util.c -@@ -535,7 +535,7 @@ void pa_raise_priority(void) { - pa_log_info("Successfully gained high priority class."); - #endif - --fail: -+fail:; - - #if defined(HAVE_SYS_CAPABILITY_H) - if (caps) { diff --git a/meta/recipes-tbd/pulseaudio/pulseaudio-0.9.15/periodfix.patch b/meta/recipes-tbd/pulseaudio/pulseaudio-0.9.15/periodfix.patch deleted file mode 100644 index 3a1c605009..0000000000 --- a/meta/recipes-tbd/pulseaudio/pulseaudio-0.9.15/periodfix.patch +++ /dev/null @@ -1,73 +0,0 @@ -X-Git-Url: http://git.0pointer.de/?p=pulseaudio.git;a=blobdiff_plain;f=src%2Fmodules%2Falsa%2Falsa-util.c;h=107bec357c7889f0197853f5e5f1951a5a2f5be0;hp=a3a045080dac0e1b30e8671443ce73a03337cf14;hb=4bffc7849f7898fa85dd6ac8e735db86b57814b3;hpb=d2b5ae5525e9036c4f91b1615879a5a07aac5bf2 - -diff --git a/src/modules/alsa/alsa-util.c b/src/modules/alsa/alsa-util.c -index a3a0450..107bec3 100644 ---- a/src/modules/alsa/alsa-util.c -+++ b/src/modules/alsa/alsa-util.c -@@ -334,7 +334,6 @@ int pa_alsa_set_hw_params( - int ret = -1; - snd_pcm_uframes_t _period_size = period_size ? *period_size : 0; - unsigned int _periods = periods ? *periods : 0; -- snd_pcm_uframes_t buffer_size; - unsigned int r = ss->rate; - unsigned int c = ss->channels; - pa_sample_format_t f = ss->format; -@@ -390,39 +389,47 @@ int pa_alsa_set_hw_params( - goto finish; - - if (_period_size && tsched_size && _periods) { -+ - /* Adjust the buffer sizes, if we didn't get the rate we were asking for */ - _period_size = (snd_pcm_uframes_t) (((uint64_t) _period_size * r) / ss->rate); - tsched_size = (snd_pcm_uframes_t) (((uint64_t) tsched_size * r) / ss->rate); - - if (_use_tsched) { -- _period_size = tsched_size; -- _periods = 1; -+ snd_pcm_uframes_t buffer_size; - - pa_assert_se(snd_pcm_hw_params_get_buffer_size_max(hwparams, &buffer_size) == 0); - pa_log_debug("Maximum hw buffer size is %u ms", (unsigned) buffer_size * 1000 / r); -+ -+ _period_size = tsched_size; -+ _periods = 1; - } - -+ if (_period_size > 0 && _periods > 0) { -+ snd_pcm_uframes_t buffer_size; -+ - buffer_size = _periods * _period_size; - -+ if ((ret = snd_pcm_hw_params_set_buffer_size_near(pcm_handle, hwparams, &buffer_size)) < 0) -+ pa_log_info("snd_pcm_hw_params_set_buffer_size_near() failed: %s", pa_alsa_strerror(ret)); -+ } -+ - if (_periods > 0) { - -- /* First we pass 0 as direction to get exactly what we asked -- * for. That this is necessary is presumably a bug in ALSA */ -+ /* First we pass 0 as direction to get exactly what we -+ * asked for. That this is necessary is presumably a bug -+ * in ALSA. All in all this is mostly a hint to ALSA, so -+ * we don't care if this fails. */ - - dir = 0; -- if ((ret = snd_pcm_hw_params_set_periods_near(pcm_handle, hwparams, &_periods, &dir)) < 0) { -+ if (snd_pcm_hw_params_set_periods_near(pcm_handle, hwparams, &_periods, &dir) < 0) { - dir = 1; -- if ((ret = snd_pcm_hw_params_set_periods_near(pcm_handle, hwparams, &_periods, &dir)) < 0) { -+ if (snd_pcm_hw_params_set_periods_near(pcm_handle, hwparams, &_periods, &dir) < 0) { - dir = -1; - if ((ret = snd_pcm_hw_params_set_periods_near(pcm_handle, hwparams, &_periods, &dir)) < 0) -- goto finish; -+ pa_log_info("snd_pcm_hw_params_set_periods_near() failed: %s", pa_alsa_strerror(ret)); - } - } - } -- -- if (_period_size > 0) -- if ((ret = snd_pcm_hw_params_set_buffer_size_near(pcm_handle, hwparams, &buffer_size)) < 0) -- goto finish; - } - - if ((ret = snd_pcm_hw_params(pcm_handle, hwparams)) < 0) diff --git a/meta/recipes-tbd/pulseaudio/pulseaudio-0.9.15/volatiles.04_pulse b/meta/recipes-tbd/pulseaudio/pulseaudio-0.9.15/volatiles.04_pulse deleted file mode 100644 index 5b1998032b..0000000000 --- a/meta/recipes-tbd/pulseaudio/pulseaudio-0.9.15/volatiles.04_pulse +++ /dev/null @@ -1,2 +0,0 @@ -# -d pulse pulse 0755 /var/run/pulse none diff --git a/meta/recipes-tbd/pulseaudio/pulseaudio.inc b/meta/recipes-tbd/pulseaudio/pulseaudio.inc deleted file mode 100644 index fd8e60c471..0000000000 --- a/meta/recipes-tbd/pulseaudio/pulseaudio.inc +++ /dev/null @@ -1,126 +0,0 @@ -DESCRIPTION = "Pulseaudio is a sound server for Linux and Unix-like operating systems." -HOMEPAGE = "http://www.pulseaudio.org" -AUTHOR = "Lennart Poettering" -SECTION = "libs/multimedia" -LICENSE = "LGPL" -DEPENDS = "libatomics-ops liboil avahi libsamplerate0 libsndfile1 libtool hal virtual/libx11" -# optional -DEPENDS += "alsa-lib glib-2.0 dbus consolekit hal" - -SRC_URI = "http://0pointer.de/lennart/projects/pulseaudio/pulseaudio-${PV}.tar.gz \ - file://gcc4-compile-fix.patch;patch=1 \ - file://volatiles.04_pulse" - -inherit autotools pkgconfig - -EXTRA_OECONF = "\ - --disable-lynx \ - --disable-bluez \ - --disable-polkit \ - --with-x \ - --without-jack \ - --with-glib \ - --with-alsa \ - --with-oss \ - --with-hal \ -" - -PARALLEL_MAKE = "" - -export TARGET_PFPU = "${TARGET_FPU}" - -# TODO: Use more fine granular version -#OE_LT_RPATH_ALLOW=":${libdir}/pulse-0.9:" -OE_LT_RPATH_ALLOW = "any" -OE_LT_RPATH_ALLOW[export]="1" - -do_install_append() { - install -d ${D}${sysconfdir}/default/volatiles - install -m 0644 ${WORKDIR}/volatiles.04_pulse ${D}${sysconfdir}/default/volatiles/volatiles.04_pulse - - if [ "x${TARGET_PFPU}" == "xsoft" ] ; then - sed -i -e s:\;\ resample-method\ =\ sinc-fastest:resample-method\ =\ trivial: ${D}${sysconfdir}/pulse/daemon.conf - fi -} - -PACKAGES =+ "libpulsecore libpulsecommon libpulsedsp libpulse libpulse-simple libpulse-browse libpulse-mainloop-glib \ - pulseaudio-server pulseaudio-misc pulseaudio-gconf-helper" - -#upgrade path: -RREPLACES_pulseaudio-server = "libpulse-bin libpulse-conf" - -PACKAGES_DYNAMIC = "pulseaudio-lib* pulseaudio-module* libpulse-lib* libpulse-module* " - -FILES_libpulsecore = "${libdir}/libpulsecore*.so" -FILES_libpulsecommon = "${libdir}/libpulsecommon*.so" -FILES_libpulsedsp = "${libdir}/libpulsedsp*.so" -FILES_libpulse = "${libdir}/libpulse.so.*" -FILES_libpulse-simple = "${libdir}/libpulse-simple.so.*" -FILES_libpulse-browse = "${libdir}/libpulse-browse.so.*" -FILES_libpulse-mainloop-glib = "${libdir}/libpulse-mainloop-glib.so.*" - -FILES_${PN}-dbg += "${libexecdir}/pulse/.debug \ - ${libdir}/pulse-${PV}/modules/.debug" -FILES_${PN}-dev += "${libdir}/pulse-${PV}/modules/*.la" -FILES_${PN}-conf = "${sysconfdir}" -FILES_${PN}-bin = "${bindir}/* \ - ${sysconfdir}/default/volatiles/volatiles.04_pulse" -FILES_${PN}-server = "${bindir}/pulseaudio ${bindir}/start-* ${sysconfdir} ${bindir}/pactl" -FILES_${PN}-gconf-helper = "${libexecdir}/pulse/gconf-helper" -FILES_${PN}-misc = "${bindir}/*" - -# Allow the pulseaudio package to be created empty as a placeholder (-dbg and -dev depend on it) -ALLOW_EMPTY_${PN} = "1" - -CONFFILES_pulseaudio-server = "\ - ${sysconfdir}/pulse/default.pa \ - ${sysconfdir}/pulse/daemon.conf \ - ${sysconfdir}/pulse/client.conf \ - " - -pkg_postinst_${PN}-server() { - # can't do this offline - if [ "x$D" != "x" ]; then - exit 1 - fi - grep -q pulse: /etc/group || addgroup pulse - grep -q pulse: /etc/passwd || \ - adduser --disabled-password --home=/var/run/pulse --system \ - --ingroup pulse --no-create-home -g "Pulse audio daemon" pulse - addgroup pulse audio - /etc/init.d/populate-volatile.sh update -} - -pkg_postrm_${PN}-server() { - deluser pulse || true -} - -python populate_packages_prepend() { - #bb.data.setVar('PKG_pulseaudio', 'pulseaudio', d) - - plugindir = bb.data.expand('${libdir}/pulse-${PV}/modules/', d) - do_split_packages(d, plugindir, '^module-(.*)\.so$', 'pulseaudio-module-%s', 'PulseAudio module for %s', extra_depends='' ) - do_split_packages(d, plugindir, '^lib(.*)\.so$', 'pulseaudio-lib-%s', 'PulseAudio library for %s', extra_depends='' ) -} - -RDEPENDS_pulseaudio-module-console-kit =+ "consolekit" -RDEPENDS_pulseaudio-module-hal-detect =+ "hal" -RDEPENDS_pulseaudio-server = " \ - pulseaudio-module-device-restore \ - pulseaudio-module-stream-restore \ - pulseaudio-module-card-restore \ - pulseaudio-module-augment-properties \ - pulseaudio-module-detect \ - pulseaudio-module-alsa-sink \ - pulseaudio-module-alsa-source \ - pulseaudio-module-alsa-card \ - pulseaudio-module-native-protocol-unix \ - pulseaudio-module-hal-detect \ - pulseaudio-module-default-device-restore \ - pulseaudio-module-rescue-streams \ - pulseaudio-module-always-sink \ - pulseaudio-module-suspend-on-idle \ - pulseaudio-module-console-kit \ - pulseaudio-module-position-event-sounds \ - pulseaudio-module-cork-music-on-phone " - diff --git a/meta/recipes-tbd/pulseaudio/pulseaudio_0.9.15.bb b/meta/recipes-tbd/pulseaudio/pulseaudio_0.9.15.bb deleted file mode 100644 index 49387ece83..0000000000 --- a/meta/recipes-tbd/pulseaudio/pulseaudio_0.9.15.bb +++ /dev/null @@ -1,18 +0,0 @@ -require pulseaudio.inc - -DEPENDS += "dbus gdbm speex" -PR = "r14" - -SRC_URI += "\ - file://buildfix.patch;patch=1 \ - file://alsaerror.patch;patch=1 \ - file://periodfix.patch;patch=1 \ - file://fallback.patch;patch=1 \ - file://autoconf_version.patch;patch=1 \ -" - -do_compile_prepend() { - cd ${S} - mkdir -p ${S}/libltdl - cp ${STAGING_LIBDIR}/libltdl* ${S}/libltdl -} diff --git a/meta/recipes-tbd/xournal/files/ldflags.patch b/meta/recipes-tbd/xournal/files/ldflags.patch deleted file mode 100644 index 7f6585befb..0000000000 --- a/meta/recipes-tbd/xournal/files/ldflags.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- - src/Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -Index: xournal-0.2/src/Makefile.am -=================================================================== ---- xournal-0.2.orig/src/Makefile.am 2007-05-09 15:06:26.000000000 +0100 -+++ xournal-0.2/src/Makefile.am 2007-05-09 15:06:35.000000000 +0100 -@@ -21,5 +21,5 @@ xournal_SOURCES = \ - xo-interface.c xo-interface.h \ - xo-callbacks.c xo-callbacks.h - --xournal_LDADD = @PACKAGE_LIBS@ -+xournal_LDADD = @PACKAGE_LIBS@ -lz - diff --git a/meta/recipes-tbd/xournal/files/no-printing.diff b/meta/recipes-tbd/xournal/files/no-printing.diff deleted file mode 100644 index 7a4724e696..0000000000 --- a/meta/recipes-tbd/xournal/files/no-printing.diff +++ /dev/null @@ -1,178 +0,0 @@ -diff -ru xournal-0.2/configure.in xournal-0.2.noprint/configure.in ---- xournal-0.2/configure.in 2006-01-29 22:25:10.000000000 +0000 -+++ xournal-0.2.noprint/configure.in 2006-03-17 13:08:01.000000000 +0000 -@@ -10,11 +10,16 @@ - AM_PROG_CC_STDC - AC_HEADER_STDC - --pkg_modules="gtk+-2.0 >= 2.4.0 libgnomecanvas-2.0 >= 2.4.0 libgnomeprintui-2.2 >= 2.0.0" -+pkg_modules="gtk+-2.0 >= 2.4.0 libgnomecanvas-2.0 >= 2.4.0" - PKG_CHECK_MODULES(PACKAGE, [$pkg_modules]) - AC_SUBST(PACKAGE_CFLAGS) - AC_SUBST(PACKAGE_LIBS) - -+#PKG_CHECK_MODULES(GNOMEPRINT, libgnomeprintui-2.2 >= 2.0.0 -+#AC_SUBST(GNOMEPRINT_CFLAGS) -+#AC_SUBST(GNOMEPRINT_LIBS) -+AM_CONDITIONAL(ENABLE_PRINTING, false) -+ - AC_OUTPUT([ - Makefile - src/Makefile -diff -ru xournal-0.2/src/main.c xournal-0.2.noprint/src/main.c ---- xournal-0.2/src/main.c 2006-01-29 22:22:52.000000000 +0000 -+++ xournal-0.2.noprint/src/main.c 2006-03-17 13:14:50.000000000 +0000 -@@ -28,7 +28,9 @@ - - void hide_unimplemented(void) - { -+#if ENABLE_PRINTING - gtk_widget_hide(GET_COMPONENT("filePrintOptions")); -+#endif - gtk_widget_hide(GET_COMPONENT("journalFlatten")); - gtk_widget_hide(GET_COMPONENT("papercolorOther")); - gtk_widget_hide(GET_COMPONENT("journalApplyAllPages")); -diff -ru xournal-0.2/src/Makefile.am xournal-0.2.noprint/src/Makefile.am ---- xournal-0.2/src/Makefile.am 2005-12-14 20:54:42.000000000 +0000 -+++ xournal-0.2.noprint/src/Makefile.am 2006-03-17 13:07:47.000000000 +0000 -@@ -7,12 +7,16 @@ - - bin_PROGRAMS = xournal - -+if ENABLE_PRINTING -+PRINT_SOURCE = xo-print.c xo-print.h -+endif -+ - xournal_SOURCES = \ - main.c xournal.h \ - xo-misc.c xo-misc.h \ - xo-file.c xo-file.h \ - xo-paint.c xo-paint.h \ -- xo-print.c xo-print.h \ -+ $(PRINT_SOURCE) \ - xo-support.c xo-support.h \ - xo-interface.c xo-interface.h \ - xo-callbacks.c xo-callbacks.h -diff -ru xournal-0.2/src/xo-callbacks.c xournal-0.2.noprint/src/xo-callbacks.c ---- xournal-0.2/src/xo-callbacks.c 2006-01-29 19:39:22.000000000 +0000 -+++ xournal-0.2.noprint/src/xo-callbacks.c 2006-03-17 13:12:01.000000000 +0000 -@@ -7,7 +7,9 @@ - #include - #include - #include -+#if ENABLE_PRINTING - #include -+#endif - #include - - #include "xournal.h" -@@ -17,7 +19,9 @@ - #include "xo-misc.h" - #include "xo-file.h" - #include "xo-paint.h" -+#if ENABLE_PRINTING - #include "xo-print.h" -+#endif - - void - on_fileNew_activate (GtkMenuItem *menuitem, -@@ -261,7 +265,7 @@ - - } - -- -+#if ENABLE_PRINTING - void - on_filePrint_activate (GtkMenuItem *menuitem, - gpointer user_data) -@@ -407,7 +411,7 @@ - - g_free(filename); - } -- -+#endif - - void - on_fileQuit_activate (GtkMenuItem *menuitem, -diff -ru xournal-0.2/src/xo-callbacks.h xournal-0.2.noprint/src/xo-callbacks.h ---- xournal-0.2/src/xo-callbacks.h 2006-01-26 20:47:00.000000000 +0000 -+++ xournal-0.2.noprint/src/xo-callbacks.h 2006-03-17 13:08:45.000000000 +0000 -@@ -24,6 +24,7 @@ - on_filePrintOptions_activate (GtkMenuItem *menuitem, - gpointer user_data); - -+#if ENABLE_PRINTING - void - on_filePrint_activate (GtkMenuItem *menuitem, - gpointer user_data); -@@ -32,6 +33,8 @@ - on_filePrintPDF_activate (GtkMenuItem *menuitem, - gpointer user_data); - -+#endif -+ - void - on_fileQuit_activate (GtkMenuItem *menuitem, - gpointer user_data); -diff -ru xournal-0.2/src/xo-interface.c xournal-0.2.noprint/src/xo-interface.c ---- xournal-0.2/src/xo-interface.c 2006-01-29 18:58:25.000000000 +0000 -+++ xournal-0.2.noprint/src/xo-interface.c 2006-03-17 13:11:31.000000000 +0000 -@@ -41,10 +41,12 @@ - GtkWidget *fileSave; - GtkWidget *fileSaveAs; - GtkWidget *separator1; -+#if ENABLE_PRINTING - GtkWidget *filePrintOptions; - GtkWidget *image501; - GtkWidget *filePrint; - GtkWidget *filePrintPDF; -+#endif - GtkWidget *separator2; - GtkWidget *fileQuit; - GtkWidget *menuEdit; -@@ -327,6 +329,7 @@ - gtk_container_add (GTK_CONTAINER (menuFile_menu), separator1); - gtk_widget_set_sensitive (separator1, FALSE); - -+#if ENABLE_PRINTING - filePrintOptions = gtk_image_menu_item_new_with_mnemonic ("Print Options"); - gtk_widget_show (filePrintOptions); - gtk_container_add (GTK_CONTAINER (menuFile_menu), filePrintOptions); -@@ -347,6 +350,7 @@ - gtk_widget_show (separator2); - gtk_container_add (GTK_CONTAINER (menuFile_menu), separator2); - gtk_widget_set_sensitive (separator2, FALSE); -+#endif - - fileQuit = gtk_image_menu_item_new_from_stock ("gtk-quit", accel_group); - gtk_widget_show (fileQuit); -@@ -1522,6 +1526,7 @@ - g_signal_connect ((gpointer) fileSaveAs, "activate", - G_CALLBACK (on_fileSaveAs_activate), - NULL); -+#if ENABLE_PRINTING - g_signal_connect ((gpointer) filePrintOptions, "activate", - G_CALLBACK (on_filePrintOptions_activate), - NULL); -@@ -1531,6 +1536,7 @@ - g_signal_connect ((gpointer) filePrintPDF, "activate", - G_CALLBACK (on_filePrintPDF_activate), - NULL); -+#endif - g_signal_connect ((gpointer) fileQuit, "activate", - G_CALLBACK (on_fileQuit_activate), - NULL); -@@ -1941,11 +1947,13 @@ - GLADE_HOOKUP_OBJECT (winMain, fileSave, "fileSave"); - GLADE_HOOKUP_OBJECT (winMain, fileSaveAs, "fileSaveAs"); - GLADE_HOOKUP_OBJECT (winMain, separator1, "separator1"); -+#if ENABLE_PRINTING - GLADE_HOOKUP_OBJECT (winMain, filePrintOptions, "filePrintOptions"); - GLADE_HOOKUP_OBJECT (winMain, image501, "image501"); - GLADE_HOOKUP_OBJECT (winMain, filePrint, "filePrint"); - GLADE_HOOKUP_OBJECT (winMain, filePrintPDF, "filePrintPDF"); - GLADE_HOOKUP_OBJECT (winMain, separator2, "separator2"); -+#endif - GLADE_HOOKUP_OBJECT (winMain, fileQuit, "fileQuit"); - GLADE_HOOKUP_OBJECT (winMain, menuEdit, "menuEdit"); - GLADE_HOOKUP_OBJECT (winMain, menuEdit_menu, "menuEdit_menu"); diff --git a/meta/recipes-tbd/xournal/xournal_0.2.bb b/meta/recipes-tbd/xournal/xournal_0.2.bb deleted file mode 100644 index 1ca6e1ed7c..0000000000 --- a/meta/recipes-tbd/xournal/xournal_0.2.bb +++ /dev/null @@ -1,12 +0,0 @@ -HOMEPAGE = "http://www-math.mit.edu/~auroux/software/xournal/" -DESCRIPTION = "Xournal is an application for notetaking, sketching, keeping a journal using a stylus." -DEPENDS = "gtk+ libgnomecanvas zlib" -SECTION = "x11" -LICENSE = "GPL" -PR = "r2" - -SRC_URI = "http://math.mit.edu/~auroux/software/xournal/xournal-0.2.tar.gz \ - file://ldflags.patch;patch=1 \ - file://no-printing.diff;patch=1" - -inherit autotools pkgconfig -- cgit v1.2.3