[OE-core] [PATCH 9/9] evolution-data-server: fix with automake work in progress

Kamble, Nitin A nitin.a.kamble at intel.com
Wed May 23 00:06:42 UTC 2012


Please ignore this evolution-data-server commit, as it is not complete yet.

Nitin


> -----Original Message-----
> From: openembedded-core-bounces at lists.openembedded.org
> [mailto:openembedded-core-bounces at lists.openembedded.org] On Behalf Of
> nitin.a.kamble at intel.com
> Sent: Tuesday, May 22, 2012 5:05 PM
> To: openembedded-core at lists.openembedded.org
> Subject: [OE-core] [PATCH 9/9] evolution-data-server: fix with automake
> work in progress
> 
> From: Nitin A Kamble <nitin.a.kamble at intel.com>
> 
> Signed-off-by: Nitin A Kamble <nitin.a.kamble at intel.com>
> ---
>  ...olution-data-server_fix_for_automake-1.12.patch |   73
> ++++++++++++++++++++
>  meta/recipes-sato/eds/evolution-data-server_git.bb |    1 +
>  2 files changed, 74 insertions(+), 0 deletions(-)  create mode 100644
> meta/recipes-sato/eds/evolution-data-server/evolution-data-
> server_fix_for_automake-1.12.patch
> 
> diff --git a/meta/recipes-sato/eds/evolution-data-server/evolution-
> data-server_fix_for_automake-1.12.patch b/meta/recipes-
> sato/eds/evolution-data-server/evolution-data-server_fix_for_automake-
> 1.12.patch
> new file mode 100644
> index 0000000..affe0df
> --- /dev/null
> +++ b/meta/recipes-sato/eds/evolution-data-server/evolution-data-
> server_
> +++ fix_for_automake-1.12.patch
> @@ -0,0 +1,73 @@
> +Upstream-Status: Pending
> +
> +This patch fixes following kind of issues with automake 1.12
> +
> +| automake: warnings are treated as errors
> +| Makefile.am:15: warning: '%'-style pattern rules are a GNU make
> +| extension
> +...
> +| Makefile.am:21: warning: pkgconfig_DATA:-$(API_VERSION: non-POSIX
> +| variable name
> +...
> +| /srv/home/nitin/builds/build-gcc47/tmp/sysroots/x86_64-
> linux/usr/shar
> +| e/automake-1.12/am/ltlibrary.am: warning: 'libebookbackendfile.la':
> +| linking libtool libraries using a non-POSIX
> +| /srv/home/nitin/builds/build-gcc47/tmp/sysroots/x86_64-
> linux/usr/share/automake-1.12/am/ltlibrary.am: archiver requires
> 'AM_PROG_AR' in 'configure.ac'
> +...
> +| addressbook/libebook/Makefile.am:55: warning: '%'-style pattern
> rules
> +| are a GNU make extension
> +...
> +| addressbook/libebook/Makefile.am:65: warning: '%'-style pattern
> rules
> +| are a GNU make extension
> +| addressbook/libebook/Makefile.am:66: warning: subst -,_,$*: non-
> POSIX
> +| variable name
> +| addressbook/libebook/Makefile.am:66: (probably a GNU make extension)
> +| addressbook/libebook/Makefile.am:72: warning:
> +| pkgconfig_DATA:-$(API_VERSION: non-POSIX variable name
> +
> +
> +Signed-Off-By: Nitin A Kamble <nitin.a.kamble at intel.com>
> +2012/05/03
> +
> +Index: git/Makefile.am
> +===================================================================
> +--- git.orig/Makefile.am
> ++++ git/Makefile.am
> +@@ -12,7 +12,7 @@ DIST_SUBDIRS = libedataserver libebacken
> + changelogs =			\
> + 	ChangeLog
> +
> +-%-$(API_VERSION).pc: %.pc
> ++.pc.-$(API_VERSION).pc:
> + 	 cp $< $@
> +
> + pkgconfigdir = $(libdir)/pkgconfig
> +Index: git/configure.ac
> +===================================================================
> +--- git.orig/configure.ac
> ++++ git/configure.ac
> +@@ -25,6 +25,10 @@ AC_CONFIG_MACRO_DIR([m4])
> + AC_CONFIG_SRCDIR(README)
> + AC_CONFIG_HEADERS(config.h)
> +
> ++# automake 1.12 seems to require this, but automake 1.11 doesn't
> ++recognize it
> ++m4_pattern_allow([AM_PROG_AR])
> ++AM_PROG_AR
> ++
> + dnl This is for the autoconf tests only - it set's the language we
> use
> + AC_LANG(C)
> +
> +Index: git/addressbook/libebook/Makefile.am
> +===================================================================
> +--- git.orig/addressbook/libebook/Makefile.am
> ++++ git/addressbook/libebook/Makefile.am
> +@@ -52,7 +52,7 @@ libebookinclude_HEADERS =				\
> + 	e-name-western.h				\
> + 	e-vcard.h
> +
> +-%-$(API_VERSION).pc: %.pc
> ++.pc.-$(API_VERSION).pc:
> + 	 cp $< $@
> +
> + e-name-western-tables.h: e-name-western-tables.h.in @@ -62,7 +62,7 @@
> +pkgconfigdir = $(libdir)/pkgconfig  pkgconfig_DATA =
> +libebook-$(API_VERSION).pc
> +
> + DBUS_GENERATED_H = e-data-book-factory-bindings.h
> +e-data-book-bindings.h e-data-book-view-bindings.h
> +-%-bindings.h: $(top_srcdir)/addressbook/libedata-book/%.xml
> ++./%-bindings.h: $(top_srcdir)/addressbook/libedata-book/%.xml
> + 	@DBUS_BINDING_TOOL@ --mode=glib-client --output=$@ --
> prefix=$(subst
> + -,_,$*) $^
> +
> + BUILT_SOURCES = $(DBUS_GENERATED_H) $(MARSHAL_GENERATED)
> diff --git a/meta/recipes-sato/eds/evolution-data-server_git.bb
> b/meta/recipes-sato/eds/evolution-data-server_git.bb
> index 1d675dc..325bf4c 100644
> --- a/meta/recipes-sato/eds/evolution-data-server_git.bb
> +++ b/meta/recipes-sato/eds/evolution-data-server_git.bb
> @@ -21,6 +21,7 @@ SRC_URI = "git://git.gnome.org/evolution-data-
> server;protocol=git \
>             file://new-contact-fix.patch \
>             file://old-gdk-api.patch \
>             file://depbuildfix.patch \
> +           file://evolution-data-server_fix_for_automake-1.12.patch \
>             file://iconv-detect.h"
> 
>  S = "${WORKDIR}/git"
> --
> 1.7.7
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core




More information about the Openembedded-core mailing list