meta-gnome: add Pimlico (contacts, dates, tasks)
PATCH 1/1 meta-gnome: add Pimlico (contacts, dates, tasks)
This has just been removed from oe-core and some people are still using the applications.
Signed-off-by Ross Burton <[email protected]>
--- meta-gnome/recipes-gnome/pimlico/contacts.inc | 34 ++++++++++ .../contacts-conditionally-install-schema.patch | 37 +++++++++++ .../contacts/contacts-owl-window-menu.patch | 54 ++++++++++++++++ .../recipes-gnome/pimlico/contacts/make-382.patch | 16 +++++ .../pimlico/contacts/stock_contact.png | Bin 0 -> 2311 bytes .../pimlico/contacts/stock_person.png | Bin 0 -> 2280 bytes meta-gnome/recipes-gnome/pimlico/contacts_0.9.bb | 18 ++++++ meta-gnome/recipes-gnome/pimlico/contacts_git.bb | 19 ++++++ meta-gnome/recipes-gnome/pimlico/dates.inc | 20 ++++++ .../pimlico/dates/dates-owl-window-menu.patch | 67 ++++++++++++++++++++ .../dates/dso_linking_change_build_fix.patch | 44 +++++++++++++ .../recipes-gnome/pimlico/dates/make-382.patch | 18 ++++++ .../uclibc-NL_TIME_FIRST_WEEKDAY-absent.patch | 37 +++++++++++ meta-gnome/recipes-gnome/pimlico/dates_0.4.8.bb | 5 ++ meta-gnome/recipes-gnome/pimlico/dates_git.bb | 18 ++++++ meta-gnome/recipes-gnome/pimlico/tasks.inc | 16 +++++ .../recipes-gnome/pimlico/tasks/tasks-owl.diff | 67 ++++++++++++++++++++ meta-gnome/recipes-gnome/pimlico/tasks_0.19.bb | 15 +++++ meta-gnome/recipes-gnome/pimlico/tasks_git.bb | 9 +++ 19 files changed, 494 insertions(+) create mode 100644 meta-gnome/recipes-gnome/pimlico/contacts.inc create mode 100644 meta-gnome/recipes-gnome/pimlico/contacts/contacts-conditionally-install-schema.patch create mode 100644 meta-gnome/recipes-gnome/pimlico/contacts/contacts-owl-window-menu.patch create mode 100644 meta-gnome/recipes-gnome/pimlico/contacts/make-382.patch create mode 100644 meta-gnome/recipes-gnome/pimlico/contacts/stock_contact.png create mode 100644 meta-gnome/recipes-gnome/pimlico/contacts/stock_person.png create mode 100644 meta-gnome/recipes-gnome/pimlico/contacts_0.9.bb create mode 100644 meta-gnome/recipes-gnome/pimlico/contacts_git.bb create mode 100644 meta-gnome/recipes-gnome/pimlico/dates.inc create mode 100644 meta-gnome/recipes-gnome/pimlico/dates/dates-owl-window-menu.patch create mode 100644 meta-gnome/recipes-gnome/pimlico/dates/dso_linking_change_build_fix.patch create mode 100644 meta-gnome/recipes-gnome/pimlico/dates/make-382.patch create mode 100644 meta-gnome/recipes-gnome/pimlico/dates/uclibc-NL_TIME_FIRST_WEEKDAY-absent.patch create mode 100644 meta-gnome/recipes-gnome/pimlico/dates_0.4.8.bb create mode 100644 meta-gnome/recipes-gnome/pimlico/dates_git.bb create mode 100644 meta-gnome/recipes-gnome/pimlico/tasks.inc create mode 100644 meta-gnome/recipes-gnome/pimlico/tasks/tasks-owl.diff create mode 100644 meta-gnome/recipes-gnome/pimlico/tasks_0.19.bb create mode 100644 meta-gnome/recipes-gnome/pimlico/tasks_git.bb
meta-gnome/recipes-gnome/pimlico/contacts.inc new file +34 -0
@@ -0,0 +1,34 @@ +DESCRIPTION = "Address-book application." +HOMEPAGE = "http://pimlico-project.org/contacts.html" +BUGTRACKER = "https://bugzilla.gnome.org/" + +LICENSE = "GPLv2 & GPLv2+ & GPLv3+ " +SECTION = "x11" +DEPENDS = "glib-2.0 gtk+ evolution-data-server" +DEPENDS_append_poky = " libowl" +RDEPENDS_${PN} = "libedata-book" + +inherit autotools pkgconfig + +OWL = "--disable-owl" +OWL_poky = "--enable-owl" + +EXTRA_OECONF += "--disable-gnome-vfs ${OWL}" +EXTRA_OEMAKE += "GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1" + +do_install_append () { + install -d ${D}/${datadir}/pixmaps + install -m 0644 ${WORKDIR}/stock_contact.png ${D}/${datadir}/pixmaps + install -m 0644 ${WORKDIR}/stock_person.png ${D}/${datadir}/pixmaps +} + +FILES_${PN} += "${datadir}/pixmaps/stock_contact.png \ + ${datadir}/pixmaps/stock_person.png \ + ${datadir}/icons/hicolor" + +SRC_URI = "file://stock_contact.png \ + file://stock_person.png \ + file://contacts-conditionally-install-schema.patch \ + " + +SRC_URI_append_poky = " file://contacts-owl-window-menu.patch;apply=yes "
meta-gnome/recipes-gnome/pimlico/contacts/contacts-conditionally-install-schema.patch new file +37 -0
@@ -0,0 +1,37 @@ +Install schema should respect to GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL + +If GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL is set, the schema should not +be installed. + +Signed-off-by: Robert Yang <[email protected]> + +Upstream-Status: Pending +--- + data/Makefile.am | 7 ++++--- + 1 files changed, 4 insertions(+), 3 deletions(-) + +diff --git a/data/Makefile.am b/data/Makefile.am +index f790823..b6fd643 100644 +--- a/data/Makefile.am ++++ b/data/Makefile.am +@@ -14,13 +14,14 @@ dist_man1_MANS = contacts.1 + + if HAVE_GCONF + install-data-local: +- GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) \ ++ if [ "$(GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL)" != "1" ]; then \ ++ GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) \ + $(GCONFTOOL) --makefile-install-rule $(schema_DATA) || \ + (echo ;\ + echo "*****************************************************"; \ + echo "Installation of schemas failed, install them manually"; \ +- echo "*****************************************************";) +- @true ++ echo "*****************************************************";); \ ++ fi + endif + + CLEANFILES = $(desktop_DATA) +-- +1.7.7.6 +
meta-gnome/recipes-gnome/pimlico/contacts/contacts-owl-window-menu.patch new file +54 -0
54 lines not on this page · raw message
meta-gnome/recipes-gnome/pimlico/contacts/make-382.patch new file +16 -0
@@ -0,0 +1,16 @@ +Fix for stricter parser in make 3.82. This fix has been pushed to upstream git. + +JL - 15/12/10 + +Upstream-Status: Accepted + +Index: git/Makefile.am +=================================================================== +--- git.orig/Makefile.am ++++ git/Makefile.am +@@ -11,4 +11,4 @@ DISTCLEANFILES = $(INTLTOOL_BUILT) + MAINTAINERCLEANFILES = aclocal.m4 compile config.guess config.sub configure depcomp $(INTLTOOL_BUILT:=.in) install-sh ltmain.sh mkinstalldirs Makefile.in missing + + snapshot: +- $(MAKE) dist distdir=$(PACKAGE)-snap`date +"%Y%m%d"` ++ $(MAKE) dist distdir=$(PACKAGE)-snap`date +"%Y%m%d"`
meta-gnome/recipes-gnome/pimlico/contacts/stock_contact.png new file binary +0 -0
meta-gnome/recipes-gnome/pimlico/contacts/stock_person.png new file binary +0 -0
meta-gnome/recipes-gnome/pimlico/contacts_0.9.bb new file +18 -0
@@ -0,0 +1,18 @@ +require contacts.inc + +PR = "r7" + +SRC_URI =+ "http://pimlico-project.org/sources/${BPN}/${BPN}-${PV}.tar.gz" + +SRC_URI[md5sum] = "aab5affbf93d6fa7b978b323a8d44de0" +SRC_URI[sha256sum] = "9cacec98f8123993033aaa255f3f4c04c86a1be65e487dd21f0aaa54384a6f6d" + +LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ + file://src/contacts-main.h;endline=18;md5=0371af46fbc72e33575e0072dca5fb19 \ + file://src/contacts-dbus.c;endline=18;md5=e4da9ac1a0539fafc7df431010904fd5 \ + file://src/contacts-gtk.c;endline=21;md5=1c2e3f55b215635eff4ba76f7696f8ee" + +do_configure_prepend () { + # It used 8 spaces to instead of a tab, but it doesn't work for us + sed -i 's/^ $(MAKE) dist distdir=/\t$(MAKE) dist distdir/' Makefile.am +}
meta-gnome/recipes-gnome/pimlico/contacts_git.bb new file +19 -0
@@ -0,0 +1,19 @@ +require contacts.inc + +LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ + file://src/contacts-main.h;endline=20;md5=9dc3531c914fb6d6d4a8d1aee4519fef \ + file://src/contacts-dbus.c;endline=20;md5=95e02d77f155fbd07a14dba3348b9b03 \ + file://src/contacts-gtk.c;endline=23;md5=e1ee9b9e72045f2d3aa44cf17313b46e" + +SRCREV = "19853893fdb595de6aa59db0d9dc2f9451ed2933" +PV = "0.12+git${SRCPV}" +PR = "r4" + +S = "${WORKDIR}/git" + +SRC_URI =+ "git://git.gnome.org/${BPN};protocol=git \ + file://make-382.patch" + +S = "${WORKDIR}/git" + +
meta-gnome/recipes-gnome/pimlico/dates.inc new file +20 -0
@@ -0,0 +1,20 @@ +DESCRIPTION = "Dates is a calendar application." +HOMEPAGE = "http://pimlico-project.org/dates.html" +BUGTRACKER = "https://bugzilla.gnome.org/" + +LICENSE = "GPLv2 & GPLv2+ & LGPLv2+" + +SECTION = "x11" +DEPENDS = "glib-2.0 gtk+ libglade evolution-data-server" +RDEPENDS_${PN} = "libedata-cal" + +inherit autotools gettext pkgconfig gtk-icon-cache + +# Poky/Sato specific enhancements +OWL = "--disable-owl" +OWL_poky = "--enable-owl --disable-dnd" + +EXTRA_OECONF += "${OWL}" +DEPENDS_append_poky = " libowl" +SRC_URI_append_poky = " file://dates-owl-window-menu.patch;apply=yes " +
meta-gnome/recipes-gnome/pimlico/dates/dates-owl-window-menu.patch new file +67 -0
67 lines not on this page · raw message
meta-gnome/recipes-gnome/pimlico/dates/dso_linking_change_build_fix.patch new file +44 -0
44 lines not on this page · raw message
meta-gnome/recipes-gnome/pimlico/dates/make-382.patch new file +18 -0
@@ -0,0 +1,18 @@ +Make 3.82 is offended by the use of spaces instead of tabs. This has been fixed +in upstream git. + +JL - 15/12/10 + +Upstream-Status: Accepted + +Index: git/Makefile.am +=================================================================== +--- git.orig/Makefile.am ++++ git/Makefile.am +@@ -7,5 +7,5 @@ DISTCLEANFILES = intltool-extract intlto + MAINTAINERCLEANFILES = $(DISTCLEANFILES) aclocal.m4 compile config.guess config.sub configure depcomp install-sh ltmain.sh Makefile.in missing + + snapshot: +- $(MAKE) dist distdir=$(PACKAGE)-snap`date +"%Y%m%d"` ++ $(MAKE) dist distdir=$(PACKAGE)-snap`date +"%Y%m%d"` +
meta-gnome/recipes-gnome/pimlico/dates/uclibc-NL_TIME_FIRST_WEEKDAY-absent.patch new file +37 -0
@@ -0,0 +1,37 @@ +uclibc has langinfo.h but it does not define _NL_TIME_FIRST_WEEKDAY +therefore we introduce a check in configure for the this define +and then we make sure that we use it when it really exists + +Signed-off-by: Khem Raj <[email protected]> + +Upstream-Status: Pending + +Index: git/configure.ac +=================================================================== +--- git.orig/configure.ac 2011-07-18 10:34:15.000000000 -0700 ++++ git/configure.ac 2011-07-18 10:54:26.403798188 -0700 +@@ -98,6 +98,8 @@ + src/libgtkdatesview.pc + ]) + ++AC_CHECK_DECLS([_NL_TIME_FIRST_WEEKDAY],[],[],[[#include <langinfo.h>]]) ++ + AC_OUTPUT + + echo " " +Index: git/src/dates_view.c +=================================================================== +--- git.orig/src/dates_view.c 2011-07-18 10:34:15.000000000 -0700 ++++ git/src/dates_view.c 2011-07-18 10:58:46.093798136 -0700 +@@ -1505,7 +1505,11 @@ + priv->days = 1; + priv->months = 0; + priv->months_in_row = 4; ++#if HAVE_DECL__NL_TIME_FIRST_WEEKDAY + priv->week_start = *nl_langinfo (_NL_TIME_FIRST_WEEKDAY) - 1; ++#else ++ priv->week_start = 0; ++#endif + priv->dragbox = TRUE; + priv->single_click = TRUE; + priv->double_click = FALSE;
meta-gnome/recipes-gnome/pimlico/dates_0.4.8.bb new file +5 -0
@@ -0,0 +1,5 @@ +require dates.inc + +PR = "r6" + +SRC_URI = "http://pimlico-project.org/sources/dates/dates-${PV}.tar.gz"
meta-gnome/recipes-gnome/pimlico/dates_git.bb new file +18 -0
@@ -0,0 +1,18 @@ +require dates.inc + +LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ + file://src/dates_view.h;endline=22;md5=29f934f356eb970309cdeb6693b3123a \ + file://src/dates_hildon.c;endline=19;md5=63938904198b25de429abb65fbdbdb8a \ + file://src/gconf-bridge.c;endline=22;md5=ad7626c6daf4aec590474a243f4912fa" + +SRCREV = "514185dc1f6588085fda41eb59898b93d0487dd4" +PV = "0.4.11+git${SRCPV}" +PR = "r8" + +S = "${WORKDIR}/git" + +SRC_URI = "git://git.gnome.org/${BPN};protocol=git \ + file://make-382.patch \ + file://dso_linking_change_build_fix.patch \ + file://uclibc-NL_TIME_FIRST_WEEKDAY-absent.patch \ + "
meta-gnome/recipes-gnome/pimlico/tasks.inc new file +16 -0
@@ -0,0 +1,16 @@ +DESCRIPTION = "Task list application" +HOMEPAGE = "http://pimlico-project.org/tasks.html" +BUGTRACKER = "https://bugzilla.gnome.org/" + +LICENSE = "GPLv2 & GPLv2+" + +SECTION = "x11" +DEPENDS = "glib-2.0 gtk+ evolution-data-server" +DEPENDS_append_poky = " libowl" + +inherit autotools pkgconfig gtk-icon-cache + +OWL ?= "--disable-owl" +OWL_poky ?= "--enable-owl" + +EXTRA_OECONF += "${OWL}"
meta-gnome/recipes-gnome/pimlico/tasks/tasks-owl.diff new file +67 -0
67 lines not on this page · raw message
meta-gnome/recipes-gnome/pimlico/tasks_0.19.bb new file +15 -0
@@ -0,0 +1,15 @@ +require tasks.inc + +LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ + file://src/gtk/main.c;endline=19;md5=8659d0b7fd68a2ad6ac30c6539ea5b82 \ + file://src/omoko/openmoko-tasks.c;endline=20;md5=04d56a46863c9f4247694f40257a836a \ + file://src/hildon/hildon-tasks.c;endline=21;md5=488ddf31dc14b2196dec7cc736211b52" + +SRC_URI = "http://pimlico-project.org/sources/${BPN}/${BPN}-${PV}.tar.gz" + +SRC_URI[md5sum] = "0afd969758561599fd782e1effb39c08" +SRC_URI[sha256sum] = "1a7fdc5f95a2193a1a25fdb13f071867fb7e42245ce19ccee4bcccb69e557f2e" + +OWL_poky = "--with-owl" + +PR = "r2"
meta-gnome/recipes-gnome/pimlico/tasks_git.bb new file +9 -0
@@ -0,0 +1,9 @@ +require tasks.inc + +SRC_URI = "git://git.gnome.org/${BPN};protocol=git" + +SRCREV = "ea52d46d691c5fce4473ea4e24a35411381f3a65" +PV = "0.13+git${SRCPV}" +PR = "r3" + +S = "${WORKDIR}/git"
Signature · 1 line
1.7.10