All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-java][PATCH 1/3] llvm: Use default PACKAGES var
@ 2012-07-18  1:56 Khem Raj
  2012-07-18  1:56 ` [meta-java][PATCH 2/3] openjdk-6: Use virtual/libiconv instead of libiconv in DEPENDS Khem Raj
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Khem Raj @ 2012-07-18  1:56 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Khem Raj

avoids packaging errors with oe-core master

Signed-off-by: Khem Raj <rak.khem@gmail.com>
---
 recipes-core/llvm/llvm.inc |    2 --
 1 file changed, 2 deletions(-)

diff --git a/recipes-core/llvm/llvm.inc b/recipes-core/llvm/llvm.inc
index 578cd40..5a46092 100644
--- a/recipes-core/llvm/llvm.inc
+++ b/recipes-core/llvm/llvm.inc
@@ -65,8 +65,6 @@ EXTRA_OECMAKE = "\
 # We need to reset this to avoid breakage as we build out of tree
 TOOLCHAIN_OPTIONS = ""
 
-PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-dev ${PN}"
-
 PACKAGES_DYNAMIC = "llvm-*"
 
 # the difference to the non-native build is that we do not need
-- 
1.7.9.5




^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [meta-java][PATCH 2/3] openjdk-6: Use virtual/libiconv instead of libiconv in DEPENDS
  2012-07-18  1:56 [meta-java][PATCH 1/3] llvm: Use default PACKAGES var Khem Raj
@ 2012-07-18  1:56 ` Khem Raj
  2012-07-18  1:56 ` [meta-java][PATCH 3/3] classpath: Fix build with automake 1.12 Khem Raj
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 8+ messages in thread
From: Khem Raj @ 2012-07-18  1:56 UTC (permalink / raw)
  To: openembedded-devel

This lets it work with whatever is providing libiconv functionality

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 recipes-core/openjdk/openjdk-6-common.inc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-core/openjdk/openjdk-6-common.inc b/recipes-core/openjdk/openjdk-6-common.inc
index 4aea61e..9d7e810 100644
--- a/recipes-core/openjdk/openjdk-6-common.inc
+++ b/recipes-core/openjdk/openjdk-6-common.inc
@@ -41,7 +41,7 @@ DEPENDS = "giflib libpng jpeg cups \
            zip-native \
           "
 
-DEPENDS_append_libc-uclibc = " libiconv "
+DEPENDS_append_libc-uclibc = " virtual/libiconv "
 
 # The OpenJDK build with interpreter optimizations for ARM depends on a binary
 # that generates constants for an assembler source file. There is no other
-- 
1.7.9.5




^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [meta-java][PATCH 3/3] classpath: Fix build with automake 1.12
  2012-07-18  1:56 [meta-java][PATCH 1/3] llvm: Use default PACKAGES var Khem Raj
  2012-07-18  1:56 ` [meta-java][PATCH 2/3] openjdk-6: Use virtual/libiconv instead of libiconv in DEPENDS Khem Raj
@ 2012-07-18  1:56 ` Khem Raj
  2012-07-18  8:48   ` Koen Kooi
                     ` (2 more replies)
  2012-07-18  8:48 ` [meta-java][PATCH 1/3] llvm: Use default PACKAGES var Koen Kooi
  2012-07-19 20:17 ` Henning Heinold
  3 siblings, 3 replies; 8+ messages in thread
From: Khem Raj @ 2012-07-18  1:56 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../classpath/classpath-0.98/automake.patch        |  100 ++++++++++++++++++++
 recipes-core/classpath/classpath_0.98.bb           |    1 +
 2 files changed, 101 insertions(+)
 create mode 100644 recipes-core/classpath/classpath-0.98/automake.patch

diff --git a/recipes-core/classpath/classpath-0.98/automake.patch b/recipes-core/classpath/classpath-0.98/automake.patch
new file mode 100644
index 0000000..da86300
--- /dev/null
+++ b/recipes-core/classpath/classpath-0.98/automake.patch
@@ -0,0 +1,100 @@
+Fix build with automake 1.12
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+
+Index: classpath-0.98/examples/Makefile.am
+===================================================================
+--- classpath-0.98.orig/examples/Makefile.am	2012-07-17 17:35:05.428405912 -0700
++++ classpath-0.98/examples/Makefile.am	2012-07-17 17:36:28.008405840 -0700
+@@ -96,9 +96,9 @@
+ endif
+ 
+ $(EXAMPLE_ZIP): $(EXAMPLE_JAVA_FILES)
+-	@mkdir_p@ classes/gnu/classpath/examples/icons
++	@MKDIR_P@ classes/gnu/classpath/examples/icons
+ 	cp $(EXAMPLE_ICONS) classes/gnu/classpath/examples/icons
+-	@mkdir_p@ classes/gnu/classpath/examples/swing
++	@MKDIR_P@ classes/gnu/classpath/examples/swing
+ 	cp $(EXAMPLE_HTML) classes/gnu/classpath/examples/swing
+ 	$(JCOMPILER) -d classes $(EXAMPLE_JAVA_FILES) 
+ 	(cd classes; \
+Index: classpath-0.98/lib/Makefile.am
+===================================================================
+--- classpath-0.98.orig/lib/Makefile.am	2012-07-17 17:35:05.448405923 -0700
++++ classpath-0.98/lib/Makefile.am	2012-07-17 17:36:44.728405932 -0700
+@@ -83,18 +83,18 @@
+ resources: copy-vmresources.sh
+ 	@list=`cd $(top_srcdir)/resource && $(FIND) gnu java javax org -name \*\.properties -print -o -name \*\.css -print`; for p in $$list; do \
+           dirname=`dirname $$p`; \
+-          if ! test -d "$$dirname"; then @mkdir_p@ "$$dirname"; fi; \
++          if ! test -d "$$dirname"; then @MKDIR_P@ "$$dirname"; fi; \
+ 	  cp $(top_srcdir)/resource/$$p $$p; \
+ 	done
+ 	@list=`cd $(top_srcdir)/resource && $(FIND) META-INF -name CVS -prune -o -name .svn -prune -o -name \*\.in -prune -o -type f -print`; for p in $$list; do \
+           dirname=`dirname $$p`; \
+-          if ! test -d "$$dirname"; then @mkdir_p@ "$$dirname"; fi; \
++          if ! test -d "$$dirname"; then @MKDIR_P@ "$$dirname"; fi; \
+ 	  cp $(top_srcdir)/resource/$$p $$p; \
+ 	done
+ 	@$(SHELL) ./copy-vmresources.sh
+ 	@list=`cd $(top_srcdir) && $(FIND) gnu/javax/swing/plaf/gtk/icons -name *.png -type f -print`; for p in $$list; do \
+           dirname=`dirname $$p`; \
+-          if ! test -d "$$dirname"; then @mkdir_p@ "$$dirname"; fi; \
++          if ! test -d "$$dirname"; then @MKDIR_P@ "$$dirname"; fi; \
+ 	  cp $(top_srcdir)/$$p $$p; \
+ 	done
+ 	touch resources
+@@ -102,7 +102,7 @@
+ classes: genclasses
+ 
+ $(top_builddir)/gnu/java/locale/LocaleData.java: $(top_srcdir)/scripts/generate-locale-list.sh 
+-	@mkdir_p@ $(top_builddir)/gnu/java/locale
++	@MKDIR_P@ $(top_builddir)/gnu/java/locale
+ 	$(top_srcdir)/scripts/generate-locale-list.sh > $(top_builddir)/gnu/java/locale/LocaleData.java
+ 
+ genclasses: gen-classlist.sh standard.omit $(top_builddir)/gnu/java/locale/LocaleData.java gen-xpath-parser
+@@ -160,7 +160,7 @@
+ 	-rm -rf lists
+ 
+ dist-hook:
+-	@mkdir_p@ $(distdir)
++	@MKDIR_P@ $(distdir)
+ 	cp -pdfR $(top_srcdir)/gnu $(top_srcdir)/java $(top_srcdir)/javax $(top_srcdir)/org $(top_srcdir)/sun $(top_srcdir)/vm $(top_srcdir)/resource $(distdir)/..
+ # Delete not wanted files.
+ 	$(FIND) $(distdir)/../gnu $(distdir)/../java $(distdir)/../javax $(distdir)/../org $(distdir)/../sun $(distdir)/../vm $(distdir)/../resource -name CVS -print | xargs rm -fr
+Index: classpath-0.98/tools/Makefile.am
+===================================================================
+--- classpath-0.98.orig/tools/Makefile.am	2012-07-17 17:35:05.456405922 -0700
++++ classpath-0.98/tools/Makefile.am	2012-07-17 17:37:00.828405721 -0700
+@@ -312,11 +312,11 @@
+ # so they get also included.
+ $(TOOLS_ZIP): $(ALL_TOOLS_FILES)
+ 	@rm -rf classes asm
+-	@mkdir_p@ classes asm 
++	@MKDIR_P@ classes asm 
+ if CREATE_GJDOC
+ if CREATE_GJDOC_PARSER
+ ## Generate antlr sources.
+-	@mkdir_p@ $(gjdoc_gendir)/gnu/classpath/tools/gjdoc/expr
++	@MKDIR_P@ $(gjdoc_gendir)/gnu/classpath/tools/gjdoc/expr
+ 	$(ANTLR) -o $(gjdoc_gendir)/gnu/classpath/tools/gjdoc/expr/ \
+ 	  $(srcdir)/gnu/classpath/tools/gjdoc/expr/java-expression.g
+ endif
+@@ -346,7 +346,7 @@
+ 	       sun/rmi/rmic $(GJDOC_EX) -name \*.properties -print -o -name \*.jav -print`; \
+ 	for p in $$list; do \
+ 	  dirname=classes/`dirname $$p`; \
+-	  if ! test -d "$$dirname"; then @mkdir_p@ "$$dirname"; fi; \
++	  if ! test -d "$$dirname"; then @MKDIR_P@ "$$dirname"; fi; \
+ 	  echo "  cp $(srcdir)/resource/$$p classes/$$p"; \
+ 	  cp $(srcdir)/resource/$$p classes/$$p; \
+ 	done
+@@ -354,7 +354,7 @@
+ ## Copy over gjdoc resource files.
+ 	for res in $(gjdoc_resources); do \
+ 	  dir=classes/`dirname $$res`; \
+-	  if ! test -d "$$dir"; then @mkdir_p@ "$$dir"; fi; \
++	  if ! test -d "$$dir"; then @MKDIR_P@ "$$dir"; fi; \
+ 	  echo "  cp $(srcdir)/resource/gnu/classpath/tools/gjdoc/$$res classes/$$res"; \
+ 	  cp $(srcdir)/resource/gnu/classpath/tools/gjdoc/$$res classes/$$res; \
+ 	done 
diff --git a/recipes-core/classpath/classpath_0.98.bb b/recipes-core/classpath/classpath_0.98.bb
index d822452..caff590 100644
--- a/recipes-core/classpath/classpath_0.98.bb
+++ b/recipes-core/classpath/classpath_0.98.bb
@@ -8,6 +8,7 @@ SRC_URI += " \
             file://autotools.patch \
             file://fix-gmp.patch \
             file://toolwrapper-exithook.patch \
+            file://automake.patch \
            "
 
 SRC_URI[md5sum] = "90c6571b8b0309e372faa0f9f6255ea9"
-- 
1.7.9.5




^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [meta-java][PATCH 1/3] llvm: Use default PACKAGES var
  2012-07-18  1:56 [meta-java][PATCH 1/3] llvm: Use default PACKAGES var Khem Raj
  2012-07-18  1:56 ` [meta-java][PATCH 2/3] openjdk-6: Use virtual/libiconv instead of libiconv in DEPENDS Khem Raj
  2012-07-18  1:56 ` [meta-java][PATCH 3/3] classpath: Fix build with automake 1.12 Khem Raj
@ 2012-07-18  8:48 ` Koen Kooi
  2012-07-19 20:17 ` Henning Heinold
  3 siblings, 0 replies; 8+ messages in thread
From: Koen Kooi @ 2012-07-18  8:48 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 18-07-12 03:56, Khem Raj schreef:
> avoids packaging errors with oe-core master
> 
> Signed-off-by: Khem Raj <rak.khem@gmail.com> --- 
> recipes-core/llvm/llvm.inc |    2 -- 1 file changed, 2 deletions(-)
> 
> diff --git a/recipes-core/llvm/llvm.inc b/recipes-core/llvm/llvm.inc 
> index 578cd40..5a46092 100644 --- a/recipes-core/llvm/llvm.inc +++
> b/recipes-core/llvm/llvm.inc @@ -65,8 +65,6 @@ EXTRA_OECMAKE = "\ # We
> need to reset this to avoid breakage as we build out of tree 
> TOOLCHAIN_OPTIONS = ""
> 
> -PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-dev ${PN}" - PACKAGES_DYNAMIC =
> "llvm-*"
> 
> # the difference to the non-native build is that we do not need

Missing PR bump
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org

iD4DBQFQBnhDMkyGM64RGpERAiZOAJiZ/WWBJsjB0e8KfZ1WnQXss+yBAKCo3EPs
UyuZpsd67ZRQgQy64w3kXg==
=SiHr
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [meta-java][PATCH 3/3] classpath: Fix build with automake 1.12
  2012-07-18  1:56 ` [meta-java][PATCH 3/3] classpath: Fix build with automake 1.12 Khem Raj
@ 2012-07-18  8:48   ` Koen Kooi
  2012-07-18 11:17   ` Henning Heinold
  2012-07-19 20:18   ` Henning Heinold
  2 siblings, 0 replies; 8+ messages in thread
From: Koen Kooi @ 2012-07-18  8:48 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 18-07-12 03:56, Khem Raj schreef:
> Signed-off-by: Khem Raj <raj.khem@gmail.com> --- 
> .../classpath/classpath-0.98/automake.patch        |  100
> ++++++++++++++++++++ recipes-core/classpath/classpath_0.98.bb           |
> 1 + 2 files changed, 101 insertions(+) create mode 100644
> recipes-core/classpath/classpath-0.98/automake.patch
> 
> diff --git a/recipes-core/classpath/classpath-0.98/automake.patch
> b/recipes-core/classpath/classpath-0.98/automake.patch new file mode
> 100644 index 0000000..da86300 --- /dev/null +++
> b/recipes-core/classpath/classpath-0.98/automake.patch @@ -0,0 +1,100 @@ 
> +Fix build with automake 1.12 + +Signed-off-by: Khem Raj
> <raj.khem@gmail.com> + +Index: classpath-0.98/examples/Makefile.am 
> +=================================================================== +---
> classpath-0.98.orig/examples/Makefile.am	2012-07-17 17:35:05.428405912
> -0700 ++++ classpath-0.98/examples/Makefile.am	2012-07-17
> 17:36:28.008405840 -0700 +@@ -96,9 +96,9 @@ + endif + + $(EXAMPLE_ZIP):
> $(EXAMPLE_JAVA_FILES) +-	@mkdir_p@ classes/gnu/classpath/examples/icons 
> ++	@MKDIR_P@ classes/gnu/classpath/examples/icons + 	cp $(EXAMPLE_ICONS)
> classes/gnu/classpath/examples/icons +-	@mkdir_p@
> classes/gnu/classpath/examples/swing ++	@MKDIR_P@
> classes/gnu/classpath/examples/swing + 	cp $(EXAMPLE_HTML)
> classes/gnu/classpath/examples/swing + 	$(JCOMPILER) -d classes
> $(EXAMPLE_JAVA_FILES) + 	(cd classes; \ +Index:
> classpath-0.98/lib/Makefile.am 
> +=================================================================== +---
> classpath-0.98.orig/lib/Makefile.am	2012-07-17 17:35:05.448405923 -0700 
> ++++ classpath-0.98/lib/Makefile.am	2012-07-17 17:36:44.728405932 -0700 
> +@@ -83,18 +83,18 @@ + resources: copy-vmresources.sh + 	@list=`cd
> $(top_srcdir)/resource && $(FIND) gnu java javax org -name \*\.properties
> -print -o -name \*\.css -print`; for p in $$list; do \ +
> dirname=`dirname $$p`; \ +-          if ! test -d "$$dirname"; then
> @mkdir_p@ "$$dirname"; fi; \ ++          if ! test -d "$$dirname"; then
> @MKDIR_P@ "$$dirname"; fi; \ + 	  cp $(top_srcdir)/resource/$$p $$p; \ +
> done + 	@list=`cd $(top_srcdir)/resource && $(FIND) META-INF -name CVS
> -prune -o -name .svn -prune -o -name \*\.in -prune -o -type f -print`;
> for p in $$list; do \ +           dirname=`dirname $$p`; \ +-          if
> ! test -d "$$dirname"; then @mkdir_p@ "$$dirname"; fi; \ ++          if !
> test -d "$$dirname"; then @MKDIR_P@ "$$dirname"; fi; \ + 	  cp
> $(top_srcdir)/resource/$$p $$p; \ + 	done + 	@$(SHELL)
> ./copy-vmresources.sh + 	@list=`cd $(top_srcdir) && $(FIND)
> gnu/javax/swing/plaf/gtk/icons -name *.png -type f -print`; for p in
> $$list; do \ +           dirname=`dirname $$p`; \ +-          if ! test
> -d "$$dirname"; then @mkdir_p@ "$$dirname"; fi; \ ++          if ! test
> -d "$$dirname"; then @MKDIR_P@ "$$dirname"; fi; \ + 	  cp
> $(top_srcdir)/$$p $$p; \ + 	done + 	touch resources +@@ -102,7 +102,7 @@ 
> + classes: genclasses + +
> $(top_builddir)/gnu/java/locale/LocaleData.java:
> $(top_srcdir)/scripts/generate-locale-list.sh +-	@mkdir_p@
> $(top_builddir)/gnu/java/locale ++	@MKDIR_P@
> $(top_builddir)/gnu/java/locale +
> $(top_srcdir)/scripts/generate-locale-list.sh >
> $(top_builddir)/gnu/java/locale/LocaleData.java + + genclasses:
> gen-classlist.sh standard.omit
> $(top_builddir)/gnu/java/locale/LocaleData.java gen-xpath-parser +@@
> -160,7 +160,7 @@ + 	-rm -rf lists + + dist-hook: +-	@mkdir_p@ $(distdir) 
> ++	@MKDIR_P@ $(distdir) + 	cp -pdfR $(top_srcdir)/gnu $(top_srcdir)/java
> $(top_srcdir)/javax $(top_srcdir)/org $(top_srcdir)/sun $(top_srcdir)/vm
> $(top_srcdir)/resource $(distdir)/.. + # Delete not wanted files. +
> $(FIND) $(distdir)/../gnu $(distdir)/../java $(distdir)/../javax
> $(distdir)/../org $(distdir)/../sun $(distdir)/../vm
> $(distdir)/../resource -name CVS -print | xargs rm -fr +Index:
> classpath-0.98/tools/Makefile.am 
> +=================================================================== +---
> classpath-0.98.orig/tools/Makefile.am	2012-07-17 17:35:05.456405922
> -0700 ++++ classpath-0.98/tools/Makefile.am	2012-07-17 17:37:00.828405721
> -0700 +@@ -312,11 +312,11 @@ + # so they get also included. +
> $(TOOLS_ZIP): $(ALL_TOOLS_FILES) + 	@rm -rf classes asm +-	@mkdir_p@
> classes asm ++	@MKDIR_P@ classes asm + if CREATE_GJDOC + if
> CREATE_GJDOC_PARSER + ## Generate antlr sources. +-	@mkdir_p@
> $(gjdoc_gendir)/gnu/classpath/tools/gjdoc/expr ++	@MKDIR_P@
> $(gjdoc_gendir)/gnu/classpath/tools/gjdoc/expr + 	$(ANTLR) -o
> $(gjdoc_gendir)/gnu/classpath/tools/gjdoc/expr/ \ +
> $(srcdir)/gnu/classpath/tools/gjdoc/expr/java-expression.g + endif +@@
> -346,7 +346,7 @@ + 	       sun/rmi/rmic $(GJDOC_EX) -name \*.properties
> -print -o -name \*.jav -print`; \ + 	for p in $$list; do \ +
> dirname=classes/`dirname $$p`; \ +-	  if ! test -d "$$dirname"; then
> @mkdir_p@ "$$dirname"; fi; \ ++	  if ! test -d "$$dirname"; then
> @MKDIR_P@ "$$dirname"; fi; \ + 	  echo "  cp $(srcdir)/resource/$$p
> classes/$$p"; \ + 	  cp $(srcdir)/resource/$$p classes/$$p; \ + 	done +@@
> -354,7 +354,7 @@ + ## Copy over gjdoc resource files. + 	for res in
> $(gjdoc_resources); do \ + 	  dir=classes/`dirname $$res`; \ +-	  if !
> test -d "$$dir"; then @mkdir_p@ "$$dir"; fi; \ ++	  if ! test -d "$$dir";
> then @MKDIR_P@ "$$dir"; fi; \ + 	  echo "  cp
> $(srcdir)/resource/gnu/classpath/tools/gjdoc/$$res classes/$$res"; \ +
> cp $(srcdir)/resource/gnu/classpath/tools/gjdoc/$$res classes/$$res; \ +
> done diff --git a/recipes-core/classpath/classpath_0.98.bb
> b/recipes-core/classpath/classpath_0.98.bb index d822452..caff590 100644 
> --- a/recipes-core/classpath/classpath_0.98.bb +++
> b/recipes-core/classpath/classpath_0.98.bb @@ -8,6 +8,7 @@ SRC_URI += "
> \ file://autotools.patch \ file://fix-gmp.patch \ 
> file://toolwrapper-exithook.patch \ +            file://automake.patch \ 
> "
> 
> SRC_URI[md5sum] = "90c6571b8b0309e372faa0f9f6255ea9"

Missing PR bump
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org

iD8DBQFQBnhXMkyGM64RGpERAn5LAJ9KJCKXLn27P3Yqui13P2kHcuhCkwCgmXOg
0Oxo+bfycM6k8XzSA1TwOcM=
=29DE
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [meta-java][PATCH 3/3] classpath: Fix build with automake 1.12
  2012-07-18  1:56 ` [meta-java][PATCH 3/3] classpath: Fix build with automake 1.12 Khem Raj
  2012-07-18  8:48   ` Koen Kooi
@ 2012-07-18 11:17   ` Henning Heinold
  2012-07-19 20:18   ` Henning Heinold
  2 siblings, 0 replies; 8+ messages in thread
From: Henning Heinold @ 2012-07-18 11:17 UTC (permalink / raw)
  To: openembedded-devel

On Tue, Jul 17, 2012 at 06:56:08PM -0700, Khem Raj wrote:
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>  .../classpath/classpath-0.98/automake.patch        |  100 ++++++++++++++++++++
>  recipes-core/classpath/classpath_0.98.bb           |    1 +
>  2 files changed, 101 insertions(+)
>  create mode 100644 recipes-core/classpath/classpath-0.98/automake.patch
> 
> diff --git a/recipes-core/classpath/classpath-0.98/automake.patch b/recipes-core/classpath/classpath-0.98/automake.patch
> new file mode 100644
> index 0000000..da86300
> --- /dev/null
> +++ b/recipes-core/classpath/classpath-0.98/automake.patch
> @@ -0,0 +1,100 @@
> +Fix build with automake 1.12
> +
> +Signed-off-by: Khem Raj <raj.khem@gmail.com>
> +
> +Index: classpath-0.98/examples/Makefile.am
> +===================================================================
> +--- classpath-0.98.orig/examples/Makefile.am	2012-07-17 17:35:05.428405912 -0700
> ++++ classpath-0.98/examples/Makefile.am	2012-07-17 17:36:28.008405840 -0700
> +@@ -96,9 +96,9 @@
> + endif
> + 
> + $(EXAMPLE_ZIP): $(EXAMPLE_JAVA_FILES)
> +-	@mkdir_p@ classes/gnu/classpath/examples/icons
> ++	@MKDIR_P@ classes/gnu/classpath/examples/icons
> + 	cp $(EXAMPLE_ICONS) classes/gnu/classpath/examples/icons
> +-	@mkdir_p@ classes/gnu/classpath/examples/swing
> ++	@MKDIR_P@ classes/gnu/classpath/examples/swing
> + 	cp $(EXAMPLE_HTML) classes/gnu/classpath/examples/swing
> + 	$(JCOMPILER) -d classes $(EXAMPLE_JAVA_FILES) 
> + 	(cd classes; \
> +Index: classpath-0.98/lib/Makefile.am
> +===================================================================
> +--- classpath-0.98.orig/lib/Makefile.am	2012-07-17 17:35:05.448405923 -0700
> ++++ classpath-0.98/lib/Makefile.am	2012-07-17 17:36:44.728405932 -0700
> +@@ -83,18 +83,18 @@
> + resources: copy-vmresources.sh
> + 	@list=`cd $(top_srcdir)/resource && $(FIND) gnu java javax org -name \*\.properties -print -o -name \*\.css -print`; for p in $$list; do \
> +           dirname=`dirname $$p`; \
> +-          if ! test -d "$$dirname"; then @mkdir_p@ "$$dirname"; fi; \
> ++          if ! test -d "$$dirname"; then @MKDIR_P@ "$$dirname"; fi; \
> + 	  cp $(top_srcdir)/resource/$$p $$p; \
> + 	done
> + 	@list=`cd $(top_srcdir)/resource && $(FIND) META-INF -name CVS -prune -o -name .svn -prune -o -name \*\.in -prune -o -type f -print`; for p in $$list; do \
> +           dirname=`dirname $$p`; \
> +-          if ! test -d "$$dirname"; then @mkdir_p@ "$$dirname"; fi; \
> ++          if ! test -d "$$dirname"; then @MKDIR_P@ "$$dirname"; fi; \
> + 	  cp $(top_srcdir)/resource/$$p $$p; \
> + 	done
> + 	@$(SHELL) ./copy-vmresources.sh
> + 	@list=`cd $(top_srcdir) && $(FIND) gnu/javax/swing/plaf/gtk/icons -name *.png -type f -print`; for p in $$list; do \
> +           dirname=`dirname $$p`; \
> +-          if ! test -d "$$dirname"; then @mkdir_p@ "$$dirname"; fi; \
> ++          if ! test -d "$$dirname"; then @MKDIR_P@ "$$dirname"; fi; \
> + 	  cp $(top_srcdir)/$$p $$p; \
> + 	done
> + 	touch resources
> +@@ -102,7 +102,7 @@
> + classes: genclasses
> + 
> + $(top_builddir)/gnu/java/locale/LocaleData.java: $(top_srcdir)/scripts/generate-locale-list.sh 
> +-	@mkdir_p@ $(top_builddir)/gnu/java/locale
> ++	@MKDIR_P@ $(top_builddir)/gnu/java/locale
> + 	$(top_srcdir)/scripts/generate-locale-list.sh > $(top_builddir)/gnu/java/locale/LocaleData.java
> + 
> + genclasses: gen-classlist.sh standard.omit $(top_builddir)/gnu/java/locale/LocaleData.java gen-xpath-parser
> +@@ -160,7 +160,7 @@
> + 	-rm -rf lists
> + 
> + dist-hook:
> +-	@mkdir_p@ $(distdir)
> ++	@MKDIR_P@ $(distdir)
> + 	cp -pdfR $(top_srcdir)/gnu $(top_srcdir)/java $(top_srcdir)/javax $(top_srcdir)/org $(top_srcdir)/sun $(top_srcdir)/vm $(top_srcdir)/resource $(distdir)/..
> + # Delete not wanted files.
> + 	$(FIND) $(distdir)/../gnu $(distdir)/../java $(distdir)/../javax $(distdir)/../org $(distdir)/../sun $(distdir)/../vm $(distdir)/../resource -name CVS -print | xargs rm -fr
> +Index: classpath-0.98/tools/Makefile.am
> +===================================================================
> +--- classpath-0.98.orig/tools/Makefile.am	2012-07-17 17:35:05.456405922 -0700
> ++++ classpath-0.98/tools/Makefile.am	2012-07-17 17:37:00.828405721 -0700
> +@@ -312,11 +312,11 @@
> + # so they get also included.
> + $(TOOLS_ZIP): $(ALL_TOOLS_FILES)
> + 	@rm -rf classes asm
> +-	@mkdir_p@ classes asm 
> ++	@MKDIR_P@ classes asm 
> + if CREATE_GJDOC
> + if CREATE_GJDOC_PARSER
> + ## Generate antlr sources.
> +-	@mkdir_p@ $(gjdoc_gendir)/gnu/classpath/tools/gjdoc/expr
> ++	@MKDIR_P@ $(gjdoc_gendir)/gnu/classpath/tools/gjdoc/expr
> + 	$(ANTLR) -o $(gjdoc_gendir)/gnu/classpath/tools/gjdoc/expr/ \
> + 	  $(srcdir)/gnu/classpath/tools/gjdoc/expr/java-expression.g
> + endif
> +@@ -346,7 +346,7 @@
> + 	       sun/rmi/rmic $(GJDOC_EX) -name \*.properties -print -o -name \*.jav -print`; \
> + 	for p in $$list; do \
> + 	  dirname=classes/`dirname $$p`; \
> +-	  if ! test -d "$$dirname"; then @mkdir_p@ "$$dirname"; fi; \
> ++	  if ! test -d "$$dirname"; then @MKDIR_P@ "$$dirname"; fi; \
> + 	  echo "  cp $(srcdir)/resource/$$p classes/$$p"; \
> + 	  cp $(srcdir)/resource/$$p classes/$$p; \
> + 	done
> +@@ -354,7 +354,7 @@
> + ## Copy over gjdoc resource files.
> + 	for res in $(gjdoc_resources); do \
> + 	  dir=classes/`dirname $$res`; \
> +-	  if ! test -d "$$dir"; then @mkdir_p@ "$$dir"; fi; \
> ++	  if ! test -d "$$dir"; then @MKDIR_P@ "$$dir"; fi; \
> + 	  echo "  cp $(srcdir)/resource/gnu/classpath/tools/gjdoc/$$res classes/$$res"; \
> + 	  cp $(srcdir)/resource/gnu/classpath/tools/gjdoc/$$res classes/$$res; \
> + 	done 
> diff --git a/recipes-core/classpath/classpath_0.98.bb b/recipes-core/classpath/classpath_0.98.bb
> index d822452..caff590 100644
> --- a/recipes-core/classpath/classpath_0.98.bb
> +++ b/recipes-core/classpath/classpath_0.98.bb
> @@ -8,6 +8,7 @@ SRC_URI += " \
>              file://autotools.patch \
>              file://fix-gmp.patch \
>              file://toolwrapper-exithook.patch \
> +            file://automake.patch \
>             "
>  
>  SRC_URI[md5sum] = "90c6571b8b0309e372faa0f9f6255ea9"
> -- 
> 1.7.9.5

I started it too and used $(MKDIR_P) as suggested upstream by autotools maker.

The 'AM_PROG_MKDIR_P' macro is deprecated, and will soon be removed.
You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro instead,
and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files.

Bye Henning



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [meta-java][PATCH 1/3] llvm: Use default PACKAGES var
  2012-07-18  1:56 [meta-java][PATCH 1/3] llvm: Use default PACKAGES var Khem Raj
                   ` (2 preceding siblings ...)
  2012-07-18  8:48 ` [meta-java][PATCH 1/3] llvm: Use default PACKAGES var Koen Kooi
@ 2012-07-19 20:17 ` Henning Heinold
  3 siblings, 0 replies; 8+ messages in thread
From: Henning Heinold @ 2012-07-19 20:17 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Khem Raj

On Tue, Jul 17, 2012 at 06:56:06PM -0700, Khem Raj wrote:
> avoids packaging errors with oe-core master
> 
> Signed-off-by: Khem Raj <rak.khem@gmail.com>
> ---
>  recipes-core/llvm/llvm.inc |    2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/recipes-core/llvm/llvm.inc b/recipes-core/llvm/llvm.inc
> index 578cd40..5a46092 100644
> --- a/recipes-core/llvm/llvm.inc
> +++ b/recipes-core/llvm/llvm.inc
> @@ -65,8 +65,6 @@ EXTRA_OECMAKE = "\
>  # We need to reset this to avoid breakage as we build out of tree
>  TOOLCHAIN_OPTIONS = ""
>  
> -PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-dev ${PN}"
> -
>  PACKAGES_DYNAMIC = "llvm-*"
>  
>  # the difference to the non-native build is that we do not need
> -- 
> 1.7.9.5

Thanks, applied to meta-java master branch.

Bye Henning



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [meta-java][PATCH 3/3] classpath: Fix build with automake 1.12
  2012-07-18  1:56 ` [meta-java][PATCH 3/3] classpath: Fix build with automake 1.12 Khem Raj
  2012-07-18  8:48   ` Koen Kooi
  2012-07-18 11:17   ` Henning Heinold
@ 2012-07-19 20:18   ` Henning Heinold
  2 siblings, 0 replies; 8+ messages in thread
From: Henning Heinold @ 2012-07-19 20:18 UTC (permalink / raw)
  To: openembedded-devel

On Tue, Jul 17, 2012 at 06:56:08PM -0700, Khem Raj wrote:
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>  .../classpath/classpath-0.98/automake.patch        |  100 ++++++++++++++++++++
>  recipes-core/classpath/classpath_0.98.bb           |    1 +
>  2 files changed, 101 insertions(+)
>  create mode 100644 recipes-core/classpath/classpath-0.98/automake.patch
> 
> diff --git a/recipes-core/classpath/classpath-0.98/automake.patch b/recipes-core/classpath/classpath-0.98/automake.patch
> new file mode 100644
> index 0000000..da86300
> --- /dev/null
> +++ b/recipes-core/classpath/classpath-0.98/automake.patch
> @@ -0,0 +1,100 @@
> +Fix build with automake 1.12
> +
> +Signed-off-by: Khem Raj <raj.khem@gmail.com>
> +
> +Index: classpath-0.98/examples/Makefile.am
> +===================================================================
> +--- classpath-0.98.orig/examples/Makefile.am	2012-07-17 17:35:05.428405912 -0700
> ++++ classpath-0.98/examples/Makefile.am	2012-07-17 17:36:28.008405840 -0700
> +@@ -96,9 +96,9 @@
> + endif
> + 
> + $(EXAMPLE_ZIP): $(EXAMPLE_JAVA_FILES)
> +-	@mkdir_p@ classes/gnu/classpath/examples/icons
> ++	@MKDIR_P@ classes/gnu/classpath/examples/icons
> + 	cp $(EXAMPLE_ICONS) classes/gnu/classpath/examples/icons
> +-	@mkdir_p@ classes/gnu/classpath/examples/swing
> ++	@MKDIR_P@ classes/gnu/classpath/examples/swing
> + 	cp $(EXAMPLE_HTML) classes/gnu/classpath/examples/swing
> + 	$(JCOMPILER) -d classes $(EXAMPLE_JAVA_FILES) 
> + 	(cd classes; \
> +Index: classpath-0.98/lib/Makefile.am
> +===================================================================
> +--- classpath-0.98.orig/lib/Makefile.am	2012-07-17 17:35:05.448405923 -0700
> ++++ classpath-0.98/lib/Makefile.am	2012-07-17 17:36:44.728405932 -0700
> +@@ -83,18 +83,18 @@
> + resources: copy-vmresources.sh
> + 	@list=`cd $(top_srcdir)/resource && $(FIND) gnu java javax org -name \*\.properties -print -o -name \*\.css -print`; for p in $$list; do \
> +           dirname=`dirname $$p`; \
> +-          if ! test -d "$$dirname"; then @mkdir_p@ "$$dirname"; fi; \
> ++          if ! test -d "$$dirname"; then @MKDIR_P@ "$$dirname"; fi; \
> + 	  cp $(top_srcdir)/resource/$$p $$p; \
> + 	done
> + 	@list=`cd $(top_srcdir)/resource && $(FIND) META-INF -name CVS -prune -o -name .svn -prune -o -name \*\.in -prune -o -type f -print`; for p in $$list; do \
> +           dirname=`dirname $$p`; \
> +-          if ! test -d "$$dirname"; then @mkdir_p@ "$$dirname"; fi; \
> ++          if ! test -d "$$dirname"; then @MKDIR_P@ "$$dirname"; fi; \
> + 	  cp $(top_srcdir)/resource/$$p $$p; \
> + 	done
> + 	@$(SHELL) ./copy-vmresources.sh
> + 	@list=`cd $(top_srcdir) && $(FIND) gnu/javax/swing/plaf/gtk/icons -name *.png -type f -print`; for p in $$list; do \
> +           dirname=`dirname $$p`; \
> +-          if ! test -d "$$dirname"; then @mkdir_p@ "$$dirname"; fi; \
> ++          if ! test -d "$$dirname"; then @MKDIR_P@ "$$dirname"; fi; \
> + 	  cp $(top_srcdir)/$$p $$p; \
> + 	done
> + 	touch resources
> +@@ -102,7 +102,7 @@
> + classes: genclasses
> + 
> + $(top_builddir)/gnu/java/locale/LocaleData.java: $(top_srcdir)/scripts/generate-locale-list.sh 
> +-	@mkdir_p@ $(top_builddir)/gnu/java/locale
> ++	@MKDIR_P@ $(top_builddir)/gnu/java/locale
> + 	$(top_srcdir)/scripts/generate-locale-list.sh > $(top_builddir)/gnu/java/locale/LocaleData.java
> + 
> + genclasses: gen-classlist.sh standard.omit $(top_builddir)/gnu/java/locale/LocaleData.java gen-xpath-parser
> +@@ -160,7 +160,7 @@
> + 	-rm -rf lists
> + 
> + dist-hook:
> +-	@mkdir_p@ $(distdir)
> ++	@MKDIR_P@ $(distdir)
> + 	cp -pdfR $(top_srcdir)/gnu $(top_srcdir)/java $(top_srcdir)/javax $(top_srcdir)/org $(top_srcdir)/sun $(top_srcdir)/vm $(top_srcdir)/resource $(distdir)/..
> + # Delete not wanted files.
> + 	$(FIND) $(distdir)/../gnu $(distdir)/../java $(distdir)/../javax $(distdir)/../org $(distdir)/../sun $(distdir)/../vm $(distdir)/../resource -name CVS -print | xargs rm -fr
> +Index: classpath-0.98/tools/Makefile.am
> +===================================================================
> +--- classpath-0.98.orig/tools/Makefile.am	2012-07-17 17:35:05.456405922 -0700
> ++++ classpath-0.98/tools/Makefile.am	2012-07-17 17:37:00.828405721 -0700
> +@@ -312,11 +312,11 @@
> + # so they get also included.
> + $(TOOLS_ZIP): $(ALL_TOOLS_FILES)
> + 	@rm -rf classes asm
> +-	@mkdir_p@ classes asm 
> ++	@MKDIR_P@ classes asm 
> + if CREATE_GJDOC
> + if CREATE_GJDOC_PARSER
> + ## Generate antlr sources.
> +-	@mkdir_p@ $(gjdoc_gendir)/gnu/classpath/tools/gjdoc/expr
> ++	@MKDIR_P@ $(gjdoc_gendir)/gnu/classpath/tools/gjdoc/expr
> + 	$(ANTLR) -o $(gjdoc_gendir)/gnu/classpath/tools/gjdoc/expr/ \
> + 	  $(srcdir)/gnu/classpath/tools/gjdoc/expr/java-expression.g
> + endif
> +@@ -346,7 +346,7 @@
> + 	       sun/rmi/rmic $(GJDOC_EX) -name \*.properties -print -o -name \*.jav -print`; \
> + 	for p in $$list; do \
> + 	  dirname=classes/`dirname $$p`; \
> +-	  if ! test -d "$$dirname"; then @mkdir_p@ "$$dirname"; fi; \
> ++	  if ! test -d "$$dirname"; then @MKDIR_P@ "$$dirname"; fi; \
> + 	  echo "  cp $(srcdir)/resource/$$p classes/$$p"; \
> + 	  cp $(srcdir)/resource/$$p classes/$$p; \
> + 	done
> +@@ -354,7 +354,7 @@
> + ## Copy over gjdoc resource files.
> + 	for res in $(gjdoc_resources); do \
> + 	  dir=classes/`dirname $$res`; \
> +-	  if ! test -d "$$dir"; then @mkdir_p@ "$$dir"; fi; \
> ++	  if ! test -d "$$dir"; then @MKDIR_P@ "$$dir"; fi; \
> + 	  echo "  cp $(srcdir)/resource/gnu/classpath/tools/gjdoc/$$res classes/$$res"; \
> + 	  cp $(srcdir)/resource/gnu/classpath/tools/gjdoc/$$res classes/$$res; \
> + 	done 
> diff --git a/recipes-core/classpath/classpath_0.98.bb b/recipes-core/classpath/classpath_0.98.bb
> index d822452..caff590 100644
> --- a/recipes-core/classpath/classpath_0.98.bb
> +++ b/recipes-core/classpath/classpath_0.98.bb
> @@ -8,6 +8,7 @@ SRC_URI += " \
>              file://autotools.patch \
>              file://fix-gmp.patch \
>              file://toolwrapper-exithook.patch \
> +            file://automake.patch \
>             "
>  
>  SRC_URI[md5sum] = "90c6571b8b0309e372faa0f9f6255ea9"
> -- 
> 1.7.9.5
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

I upgraded to classpath 0.99 anyway and pachted it with $(MKDIR_P).

Bye Henning



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-07-19 20:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-18  1:56 [meta-java][PATCH 1/3] llvm: Use default PACKAGES var Khem Raj
2012-07-18  1:56 ` [meta-java][PATCH 2/3] openjdk-6: Use virtual/libiconv instead of libiconv in DEPENDS Khem Raj
2012-07-18  1:56 ` [meta-java][PATCH 3/3] classpath: Fix build with automake 1.12 Khem Raj
2012-07-18  8:48   ` Koen Kooi
2012-07-18 11:17   ` Henning Heinold
2012-07-19 20:18   ` Henning Heinold
2012-07-18  8:48 ` [meta-java][PATCH 1/3] llvm: Use default PACKAGES var Koen Kooi
2012-07-19 20:17 ` Henning Heinold

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.