Skip to contentSkip to conversation

svn commit: trunk/buildroot/package/java: classpath concierge jamvm

Buildroot ninevoltz at uclibc.org 5 participants 9 messages Apr 24, 2008

lore
Share & tools
lore
#0 lore raw

Author: ninevoltz
Date: 2008-04-24 09:48:20 -0700 (Thu, 24 Apr 2008) New Revision: 21845

Log:
bump to 0.97.1, removed patch as it has been already applied in upstream revision 0.97.0 (http://gcc.gnu.org/bugzilla/buglist.cgi?product=classpath&target_milestone=0.97)
also fix change in package path that prevented patches from being applied

Removed:
trunk/buildroot/package/java/classpath/classpath-avr32-endianness.patch

Modified:
trunk/buildroot/package/java/classpath/classpath.mk trunk/buildroot/package/java/concierge/concierge.mk trunk/buildroot/package/java/jamvm/jamvm.mk

Changeset:
Deleted: trunk/buildroot/package/java/classpath/classpath-avr32-endianness.patch
===================================================================

buildroot/package/java/classpath/classpath-avr32-endianness.patch +0 -29
@@ -1,29 +0,0 @@
-diff -rup ../classpath-0.96.1.default/ChangeLog ./ChangeLog
---- ../classpath-0.96.1.default/ChangeLog       2007-10-16 17:35:33.000000000
-+0200
-+++ ./ChangeLog 2007-12-18 09:36:39.000000000 +0100
-@@ -1,3 +1,7 @@
-+2007-12-18  Leen Toelen  <[email protected]>
-+
-+       * native/fdlibm/ieeefp.h: Added avr32 support
-+
- 2007-10-16  Mark Wielaard  <[email protected]>
-
-        * NEWS: Mention small compile/configure/build fixes.
-diff -rup ../classpath-0.96.1.default/native/fdlibm/ieeefp.h
-./native/fdlibm/ieeefp.h
---- ../classpath-0.96.1.default/native/fdlibm/ieeefp.h  2006-04-19
-19:55:13.000000000 +0200
-+++ ./native/fdlibm/ieeefp.h    2007-12-18 09:32:55.000000000 +0100
-@@ -87,6 +87,10 @@
- #define __IEEE_LITTLE_ENDIAN
- #endif
-
-+#ifdef __AVR32__
-+#define __IEEE_BIG_ENDIAN
-+#endif
-+
- #ifdef __MIPSEL__
- #define __IEEE_LITTLE_ENDIAN
- #endif
-

Modified: trunk/buildroot/package/java/classpath/classpath.mk
===================================================================

buildroot/package/java/classpath/classpath.mk +4 -3
@@ -3,14 +3,15 @@
 # classpath 0.96.1
 #
 #############################################################
-CLASSPATH_VERSION = 0.96.1
+CLASSPATH_VERSION = 0.97.1
 CLASSPATH_SOURCE = classpath-$(CLASSPATH_VERSION).tar.gz
 CLASSPATH_SITE = $(BR2_GNU_MIRROR)/classpath
 CLASSPATH_AUTORECONF = NO
 CLASSPATH_INSTALL_STAGING = YES
 CLASSPATH_INSTALL_TARGET = YES
 CLASSPATH_INSTALL_STAGING_OPT = DESTDIR=$(STAGING_DIR) install 
-CLASSPATH_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install 
+CLASSPATH_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
+CLASSPATH_DIR_PREFIX = package/java
 
 CLASSPATH_CONF_ENV = ac_cv_func_posix_getpwuid_r=yes glib_cv_stack_grows=no \
 		glib_cv_uscore=no ac_cv_func_strtod=yes \
@@ -91,4 +92,4 @@
 
 
 
-$(eval $(call AUTOTARGETS,package,classpath))
+$(eval $(call AUTOTARGETS,package/java,classpath))

Modified: trunk/buildroot/package/java/concierge/concierge.mk
===================================================================

buildroot/package/java/concierge/concierge.mk +7 -6
@@ -10,19 +10,20 @@
 CONCIERGE_SITE_BUNDLES = http://concierge.sourceforge.net/bundles/
 
 $(DL_DIR)/concierge:
-	mkdir -p $(DL_DIR)/concierge/
-	$(WGET) -P $(DL_DIR)/concierge/ $(CONCIERGE_SITE)/concierge-$(CONCIERGE_VERSION).jar
-	$(WGET) -P $(DL_DIR)/concierge/ $(CONCIERGE_SITE_BUNDLES)shell-1.0.0.RC2.jar
-	$(WGET) -P $(DL_DIR)/concierge/ $(CONCIERGE_SITE_BUNDLES)service-tracker-1.0.0.RC2.jar
-	$(WGET) -P $(DL_DIR)/concierge/ $(CONCIERGE_SITE_BUNDLES)event-admin-1.0.0.RC2.jar
+	 mkdir -p $(DL_DIR)/concierge/
+	 $(WGET) -P $(DL_DIR)/concierge/ $(CONCIERGE_SITE)/concierge-$(CONCIERGE_VERSION).jar
+	 $(WGET) -P $(DL_DIR)/concierge/ $(CONCIERGE_SITE_BUNDLES)shell-1.0.0.RC2.jar
+	 $(WGET) -P $(DL_DIR)/concierge/ $(CONCIERGE_SITE_BUNDLES)service-tracker-1.0.0.RC2.jar
+	 $(WGET) -P $(DL_DIR)/concierge/ $(CONCIERGE_SITE_BUNDLES)event-admin-1.0.0.RC2.jar
 
 $(TARGET_DIR)/usr/lib/concierge/: $(DL_DIR)/concierge
+	mkdir -p $(TARGET_DIR)/usr/lib
 	mkdir -p $(TARGET_DIR)/usr/lib/concierge
 	cp -dpf $(DL_DIR)/concierge/* $(TARGET_DIR)/usr/lib/concierge/
 	cp -dpf package/concierge/files/init.xargs $(TARGET_DIR)/usr/lib/concierge/
 	touch -c $@
 
-$(TARGET_DIR)/usr/bin/concierge:
+$(TARGET_DIR)/usr/bin/concierge: 
 	cp -dpf package/concierge/files/concierge $(TARGET_DIR)/usr/bin/
 	chmod +x $(TARGET_DIR)/usr/bin/concierge
 	touch -c $@

Modified: trunk/buildroot/package/java/jamvm/jamvm.mk
===================================================================

buildroot/package/java/jamvm/jamvm.mk +2 -1
@@ -11,6 +11,7 @@
 JAMVM_INSTALL_TARGET = YES
 JAMVM_INSTALL_STAGING_OPT = DESTDIR=$(STAGING_DIR) install
 JAMVM_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
+JAMVM_DIR_PREFIX = package/java
 
 JAMVM_CONF_ENV = ac_cv_func_posix_getpwuid_r=yes glib_cv_stack_grows=no \
 		glib_cv_uscore=no ac_cv_func_strtod=yes \
@@ -102,4 +103,4 @@
 		CC="$(STAGING_DIR)/usr/bin/avr32-linux-gcc"
 endif
 
-$(eval $(call AUTOTARGETS,package,jamvm))
+$(eval $(call AUTOTARGETS,package/java,jamvm))
#1 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"ninevoltz" == ninevoltz <[email protected]> writes:

Hi,

ninevoltz> Author: ninevoltz
ninevoltz> Date: 2008-04-24 09:48:20 -0700 (Thu, 24 Apr 2008) ninevoltz> New Revision: 21845

ninevoltz> Log:
ninevoltz> bump to 0.97.1, removed patch as it has been already applied in upstream revision 0.97.0 (http://gcc.gnu.org/bugzilla/buglist.cgi?product=classpath&target_milestone=0.97)
ninevoltz> also fix change in package path that prevented patches from being applied

Thanks.

ninevoltz> +JAMVM_DIR_PREFIX = package/java

ninevoltz> -$(eval $(call AUTOTARGETS,package,jamvm)) ninevoltz> +$(eval $(call AUTOTARGETS,package/java,jamvm))

Wouldn't it make sense for <package>_DIR_PREFIX to default to the 1st argument of AUTOTARGETS?

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw

I don't even see where JAMVM_DIR_PREFIX is being used at all. I'm removing it.

John

Quoted 26 lines · Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"ninevoltz" == ninevoltz <[email protected]> writes:

Hi,

ninevoltz> Author: ninevoltz
ninevoltz> Date: 2008-04-24 09:48:20 -0700 (Thu, 24 Apr 2008) ninevoltz> New Revision: 21845

ninevoltz> Log:
ninevoltz> bump to 0.97.1, removed patch as it has been already applied in
upstream revision 0.97.0 (
http://gcc.gnu.org/bugzilla/buglist.cgi?product=classpath&target_milestone=0.97
)
ninevoltz> also fix change in package path that prevented patches from
being applied

Thanks.

ninevoltz> +JAMVM_DIR_PREFIX = package/java

ninevoltz> -$(eval $(call AUTOTARGETS,package,jamvm)) ninevoltz> +$(eval $(call AUTOTARGETS,package/java,jamvm))

Wouldn't it make sense for <package>_DIR_PREFIX to default to the 1st argument of AUTOTARGETS?

Quoted 7 lines

--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20080424/a907fa81/attachment.htm

#3 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"John" == John Voltz <[email protected]> writes:

John> I don't even see where JAMVM_DIR_PREFIX is being used at John> all. I'm removing it.

It seems to be used in Makfile.autotools.in ($(PKG)_DIR_PREFIX) for finding the patches, so you better not.

Does it apply the avr32 patch if you leave it out?

Signature · 1 line
Bye, Peter Korsgaard
#4 lore raw

Makefile.autotools.in will use the first argument of call AUTOTARGETS, look around line 161. I've never used <pkg>_DIR_PREFIX in any of the makefiles I've created and it works in festival this way, even with the multiple sub-directories.

John

Quoted 5 lines · Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"John" == John Voltz <[email protected]> writes:

John> I don't even see where JAMVM_DIR_PREFIX is being used at John> all. I'm removing it.

Quoted 8 lines

It seems to be used in Makfile.autotools.in ($(PKG)_DIR_PREFIX) for finding the patches, so you better not.

Does it apply the avr32 patch if you leave it out?

--
Bye, Peter Korsgaard

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20080424/e01130d9/attachment.htm

#5 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"John" == John Voltz <[email protected]> writes:

John> Makefile.autotools.in will use the first argument of call John> AUTOTARGETS, look around line 161. I've never used John> <pkg>_DIR_PREFIX in any of the makefiles I've created and it John> works in festival this way, even with the multiple John> sub-directories.

Ok, so why did you add it to classpath and jamvm?

Signature · 1 line
Bye, Peter Korsgaard
#6 lore raw

I didn't :) I don't even know who the originator was for the whole java/jam/classpath/concierge collection. I know there were several people involved, but as far as the actual commit in the Google Code svn, it was Thiago Correa.

John

Quoted 8 lines · Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"John" == John Voltz <[email protected]> writes:

John> Makefile.autotools.in will use the first argument of call John> AUTOTARGETS, look around line 161. I've never used John> <pkg>_DIR_PREFIX in any of the makefiles I've created and it John> works in festival this way, even with the multiple John> sub-directories.

Quoted 5 lines

Ok, so why did you add it to classpath and jamvm?

--
Bye, Peter Korsgaard

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20080424/6a59c675/attachment.htm

#7 lore raw
In reply to Peter Korsgaard

The commit that change the makefile was previous to the one updating the package version, back then, just setting the <pkg>_DIR_PREFIX wasn't enough to get the patch applied.

I had to do some trial and error to get it to work, and that's the only way it has *smile*.

Quoted 19 lines · Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"John" == John Voltz <[email protected]> writes:

John> Makefile.autotools.in will use the first argument of call John> AUTOTARGETS, look around line 161. I've never used John> <pkg>_DIR_PREFIX in any of the makefiles I've created and it John> works in festival this way, even with the multiple John> sub-directories.

Ok, so why did you add it to classpath and jamvm?

--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot

#8 lore raw
In reply to ninevoltz at uclibc.org
Quoted 28 lines · ninevoltz at uclibc.org

Author: ninevoltz
Date: 2008-04-24 09:48:20 -0700 (Thu, 24 Apr 2008) New Revision: 21845

Log:
bump to 0.97.1, removed patch as it has been already applied in upstream revision 0.97.0 (http://gcc.gnu.org/bugzilla/buglist.cgi?product=classpath&target_milestone=0.97)
also fix change in package path that prevented patches from being applied

Removed:
trunk/buildroot/package/java/classpath/classpath-avr32-endianness.patch

Modified:
trunk/buildroot/package/java/classpath/classpath.mk trunk/buildroot/package/java/concierge/concierge.mk trunk/buildroot/package/java/jamvm/jamvm.mk

Changeset:
Deleted: trunk/buildroot/package/java/classpath/classpath-avr32-endianness.patch

Modified: trunk/buildroot/package/java/concierge/concierge.mk
===================================================================

buildroot/package/java/concierge/concierge.mk +0 -0
@@ -10,19 +10,20 @@

CONCIERGE_SITE_BUNDLES = http://concierge.sourceforge.net/bundles/

$(DL_DIR)/concierge:

buildroot/package/java/concierge/concierge.mk line 13

Quoted 6 lines
buildroot/package/java/concierge/concierge.mk +1 -5
-	mkdir -p $(DL_DIR)/concierge/
-	$(WGET) -P $(DL_DIR)/concierge/ $(CONCIERGE_SITE)/concierge-$(CONCIERGE_VERSION).jar
-	$(WGET) -P $(DL_DIR)/concierge/ $(CONCIERGE_SITE_BUNDLES)shell-1.0.0.RC2.jar
-	$(WGET) -P $(DL_DIR)/concierge/ $(CONCIERGE_SITE_BUNDLES)service-tracker-1.0.0.RC2.jar
-	$(WGET) -P $(DL_DIR)/concierge/ $(CONCIERGE_SITE_BUNDLES)event-admin-1.0.0.RC2.jar
+	 mkdir -p $(DL_DIR)/concierge/

Wow, now that's really broken, but ok, we can top that for sure

Quoted 8 lines
buildroot/package/java/concierge/concierge.mk +4 -0
+	 $(WGET) -P $(DL_DIR)/concierge/ $(CONCIERGE_SITE)/concierge-$(CONCIERGE_VERSION).jar
+	 $(WGET) -P $(DL_DIR)/concierge/ $(CONCIERGE_SITE_BUNDLES)shell-1.0.0.RC2.jar
+	 $(WGET) -P $(DL_DIR)/concierge/ $(CONCIERGE_SITE_BUNDLES)service-tracker-1.0.0.RC2.jar
+	 $(WGET) -P $(DL_DIR)/concierge/ $(CONCIERGE_SITE_BUNDLES)event-admin-1.0.0.RC2.jar

$(TARGET_DIR)/usr/lib/concierge/: $(DL_DIR)/concierge

alright, that tops it.

Quoted 2 lines
buildroot/package/java/concierge/concierge.mk +1 -0
+	mkdir -p $(TARGET_DIR)/usr/lib
	mkdir -p $(TARGET_DIR)/usr/lib/concierge

oh yes.

Quoted 9 lines
	cp -dpf $(DL_DIR)/concierge/* $(TARGET_DIR)/usr/lib/concierge/
	cp -dpf package/concierge/files/init.xargs $(TARGET_DIR)/usr/lib/concierge/
	touch -c $@

-$(TARGET_DIR)/usr/bin/concierge:
+$(TARGET_DIR)/usr/bin/concierge:

	cp -dpf package/concierge/files/concierge $(TARGET_DIR)/usr/bin/
	chmod +x $(TARGET_DIR)/usr/bin/concierge
	touch -c $@

wow. My favourite by now still is the "mkdir -p", but not using $(INSTALL) -m0775 -D here is just about as good.
Hard to decide what hunk deserves the attribute of most-misguided-and-nonsensical hunk of this revision. Let's just wait for the next one :(