pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/parrot Update from version 1.0.0 to 1.1.0 (now th...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d5ddf7e1d9cb
branches:  trunk
changeset: 559199:d5ddf7e1d9cb
user:      he <he%pkgsrc.org@localhost>
date:      Tue May 19 21:41:48 2009 +0000

description:
Update from version 1.0.0 to 1.1.0 (now that 1.2.0 is about to be released :)

Pkgsrc changes:
 o Add LICENSE setting (artistic-2.0)
 o Centralize version number setting
 o Assume that this supports user-destdir

Upstream changes:

- Core
  + Added op: load_language, find_caller_lex
  + socket IO are back as PMC
  + refactor some PMC: Hash, ManagedStruct
- Compiler
  + PGE
    - Allow \x, \c, and \o in enumerated character classes (incl ranges)
    - Add initial greedy-only version of **  quantifier
  + PCT
    - Add HLL source line bytecode annotations
    - Add another dumper format to assist syntax highlighters
    - Revise mk_language_shell.pl to updated create_language.pl
- Deprecations
  + Removed ops: gcd, exec, classname, need_finalize, runinterp, substr_r
  + Removed dynamic op: mul
  + Removed .HLL_map directive; use interp's .hll_map() instead
  + Removed PMCs: slice, bound_nci, ref
  + Removed Configure.pl option: --pmc
  + Removed PMC union struct
- Documentation
  + Book
    - Reorganization and many improvements & additions
- Tools
  + Add a parrot-fuzzer
- Miscellaneous
  + Improve Debian/Ubuntu package
  + various bugfixes, code cleanups, and coding standard fixes

diffstat:

 lang/parrot/Makefile         |  17 +++++--
 lang/parrot/distinfo         |  11 +---
 lang/parrot/patches/patch-aa |  56 ---------------------------
 lang/parrot/patches/patch-ab |  36 -----------------
 lang/parrot/patches/patch-ac |  90 --------------------------------------------
 5 files changed, 16 insertions(+), 194 deletions(-)

diffs (252 lines):

diff -r fcd29c502a08 -r d5ddf7e1d9cb lang/parrot/Makefile
--- a/lang/parrot/Makefile      Tue May 19 21:38:33 2009 +0000
+++ b/lang/parrot/Makefile      Tue May 19 21:41:48 2009 +0000
@@ -1,14 +1,18 @@
-# $NetBSD: Makefile,v 1.15 2009/03/25 23:01:48 he Exp $
+# $NetBSD: Makefile,v 1.16 2009/05/19 21:41:48 he Exp $
 #
 
-DISTNAME=              parrot-1.0.0
+VERSION=               1.1.0
+RTYPE=                 devel
+DISTNAME=              parrot-${VERSION}
 CATEGORIES=            lang
-MASTER_SITES=          ftp://ftp.parrot.org/pub/parrot/releases/stable/1.0.0/
+MASTER_SITES=          ftp://ftp.parrot.org/pub/parrot/releases/${RTYPE}/${VERSION}/
 
 MAINTAINER=            he%NetBSD.org@localhost
 HOMEPAGE=              http://www.parrotcode.org/
 COMMENT=               Virtual machine made to run Perl 6 and other languages
+LICENSE=               artistic-2.0
 
+PKG_DESTDIR_SUPPORT=   user-destdir
 USE_LANGUAGES=         c c++
 USE_TOOLS+=            perl
 PTHREAD_OPTS+=         require
@@ -34,9 +38,12 @@
 SUBST_SED.pthread+=    -e '/^LINKFLAGS /s|$$|${PTHREAD_LDFLAGS:Q} ${PTHREAD_LIBS:Q}|'
 SUBST_SED.pthread+=    -e '/^LDFLAGS /s|$$|${PTHREAD_LDFLAGS:Q} ${PTHREAD_LIBS:Q}|'
 
+pre-install:
+       ${CHMOD} -R g-w ${WRKSRC}
+
 post-install:
-       if [ -e ${PREFIX}/lib/libparrot.so.1.0.0 ]; then \
-               ${LN} -s libparrot.so.1.0.0 ${PREFIX}/lib/libparrot.so ; \
+       if [ -e ${PREFIX}/lib/libparrot.so.${VERSION} ]; then \
+               ${LN} -s libparrot.so.${VERSION} ${PREFIX}/lib/libparrot.so ; \
        fi
 
 .include "../../textproc/icu/buildlink3.mk"
diff -r fcd29c502a08 -r d5ddf7e1d9cb lang/parrot/distinfo
--- a/lang/parrot/distinfo      Tue May 19 21:38:33 2009 +0000
+++ b/lang/parrot/distinfo      Tue May 19 21:41:48 2009 +0000
@@ -1,10 +1,7 @@
-$NetBSD: distinfo,v 1.11 2009/04/20 07:55:00 he Exp $
+$NetBSD: distinfo,v 1.12 2009/05/19 21:41:48 he Exp $
 
-SHA1 (parrot-1.0.0.tar.gz) = 9e028f5fff38a332c13ad4389652a016d7a824f7
-RMD160 (parrot-1.0.0.tar.gz) = 46f60accd33f16cc910f4ea03840badc358d22c7
-Size (parrot-1.0.0.tar.gz) = 3908888 bytes
-SHA1 (patch-aa) = b3ad6ae9acbd8f25682395933fe48209b50a9752
-SHA1 (patch-ab) = 9165c08ded7b434e1baabe7d64ede08d00155e72
-SHA1 (patch-ac) = 5e2875b46aa390fc512bf22001146a4a470ae192
+SHA1 (parrot-1.1.0.tar.gz) = 5f18ddf92f588135a741e52618fbc456ba56cf34
+RMD160 (parrot-1.1.0.tar.gz) = a329c698442ec73412ac886da59f188c0ff1e080
+Size (parrot-1.1.0.tar.gz) = 3896911 bytes
 SHA1 (patch-ad) = 9002a7ca55f8f960bea669e383431b3eeb83a878
 SHA1 (patch-ae) = 72e4752112dab2f0b72ede5c45b77fd5b5554606
diff -r fcd29c502a08 -r d5ddf7e1d9cb lang/parrot/patches/patch-aa
--- a/lang/parrot/patches/patch-aa      Tue May 19 21:38:33 2009 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,56 +0,0 @@
-$NetBSD: patch-aa,v 1.4 2009/03/25 23:01:48 he Exp $
-
-NetBSD's powerpc assembler wants % in front of registers, and
-the C compiler doesn't prepend _ to symbols it emits.
-
---- src/jit/ppc/asm.s.orig     2009-03-08 21:32:42.000000000 +0100
-+++ src/jit/ppc/asm.s
-@@ -1,25 +1,30 @@
- .text
-     .align 12
-+#ifdef __linux__
-     .globl _Parrot_ppc_jit_restore_nonvolatile_registers
- _Parrot_ppc_jit_restore_nonvolatile_registers:
-+#else
-+    .globl Parrot_ppc_jit_restore_nonvolatile_registers
-+Parrot_ppc_jit_restore_nonvolatile_registers:
-+#endif
- 
--    lfd     f14,-84(r1)
--    lfd     f15,-92(r1)
--    lfd     f16,-100(r1)
--    lfd     f17,-108(r1)
--    lfd     f18,-116(r1)
--    lfd     f19,-124(r1)
--    lfd     f20,-132(r1)
--    lfd     f21,-140(r1)
--    lfd     f22,-148(r1)
--    lfd     f23,-156(r1)
--    lfd     f24,-164(r1)
--    lfd     f25,-172(r1)
--    lfd     f26,-180(r1)
--    lfd     f27,-188(r1)
--    lfd     f28,-196(r1)
--    lfd     f29,-204(r1)
--    lfd     f30,-212(r1)
--    lfd     f31,-220(r1)
-+    lfd     %f14,-84(%r1)
-+    lfd     %f15,-92(%r1)
-+    lfd     %f16,-100(%r1)
-+    lfd     %f17,-108(%r1)
-+    lfd     %f18,-116(%r1)
-+    lfd     %f19,-124(%r1)
-+    lfd     %f20,-132(%r1)
-+    lfd     %f21,-140(%r1)
-+    lfd     %f22,-148(%r1)
-+    lfd     %f23,-156(%r1)
-+    lfd     %f24,-164(%r1)
-+    lfd     %f25,-172(%r1)
-+    lfd     %f26,-180(%r1)
-+    lfd     %f27,-188(%r1)
-+    lfd     %f28,-196(%r1)
-+    lfd     %f29,-204(%r1)
-+    lfd     %f30,-212(%r1)
-+    lfd     %f31,-220(%r1)
- 
-     blr
diff -r fcd29c502a08 -r d5ddf7e1d9cb lang/parrot/patches/patch-ab
--- a/lang/parrot/patches/patch-ab      Tue May 19 21:38:33 2009 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,36 +0,0 @@
-$NetBSD: patch-ab,v 1.7 2009/04/20 07:55:00 he Exp $
-
-The R_PPC_ADDR16{HI,LO} constants are named something else on
-NetBSD, and might be elsewhere.
-Also add workarounds for NetBSD/powerpc 3.x, which has some
-constants defined as enums.
-
---- src/exec_save.c.orig       2009-03-08 21:32:43.000000000 +0100
-+++ src/exec_save.c    2009-04-19 12:55:25.000000000 +0200
-@@ -150,6 +150,26 @@
- #    include <elf.h>
- #  endif
- 
-+#  if defined(PARROT_PPC)
-+#    if !defined(R_PPC_ADDR16_HI) && !defined(R_PPC_ADDR16_LO) && \
-+         defined(R_PPC_16_HI) && defined(R_PPC_16_LO)
-+#      define R_PPC_ADDR16_HI R_PPC_16_HI
-+#      define R_PPC_ADDR16_LO R_PPC_16_LO
-+#    endif
-+     /*
-+      * NetBSD/powerpc 3.x and OpenBSD/powerpc doesn't define these constants,
-+      * but instead has them as enums, so add some workarounds for those.
-+      */
-+#    if !defined(R_PPC_ADDR16_HI) && !defined(R_PPC_ADDR16_LO) && \
-+         (defined(__NetBSD__) || defined(__OpenBSD__))
-+#      define R_PPC_ADDR16_HI RELOC_16_HI
-+#      define R_PPC_ADDR16_LO RELOC_16_LO
-+#    endif
-+#    if !defined(R_PPC_REL24) && (defined(__NetBSD__) || defined(__OpenBSD__))
-+#      define R_PPC_REL24     RELOC_REL24
-+#    endif
-+#  endif /* PARROT_PPC */
-+
- /* Add a section to the file
-  *
-  * n = Name
diff -r fcd29c502a08 -r d5ddf7e1d9cb lang/parrot/patches/patch-ac
--- a/lang/parrot/patches/patch-ac      Tue May 19 21:38:33 2009 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,90 +0,0 @@
-$NetBSD: patch-ac,v 1.4 2009/03/25 23:01:48 he Exp $
-
-Undo a GNUism, using == with test in place of =.
-
---- tools/dev/mk_native_pbc.orig       2009-03-09 05:19:51.000000000 +0100
-+++ tools/dev/mk_native_pbc
-@@ -37,16 +37,16 @@ ptrsize=$(./parrot_config ptrsize)
- # 8 or 12 or 16 on intel
- numvalsize=$(./parrot_config numvalsize)
- 
--if [ "$ptrsize" == "4" ]
-+if [ "$ptrsize" = "4" ]
- then
--    if [ "$byteorder" == "1234" ]
-+    if [ "$byteorder" = "1234" ]
-     then
--        if [ "$numvalsize" == "12" ]
-+        if [ "$numvalsize" = "12" ]
-         then
-             N=2
-             echo "2: i386 32-bit opcode_t, 32-bit intval, 12-byte long double"
-         else
--            if [ "$numvalsize" == "4" ]
-+            if [ "$numvalsize" = "4" ]
-             then
-                 N=8
-                 echo "8: i386 32-bit opcode_t, 32-bit intval, 4-byte float"
-@@ -60,13 +60,13 @@ then
-             fi
-         fi
-     else
--        if [ "$byteorder" == "4321" ]
-+        if [ "$byteorder" = "4321" ]
-         then
-             N=3
-             echo "3: PPC BE 32 bit opcode_t, 32 bit intval"
-         else
--            if [ "$byteorder" == "12345678" \
--                 -a "$(./parrot_config osname)" == "cygwin" ]
-+            if [ "$byteorder" = "12345678" \
-+                 -a "$(./parrot_config osname)" = "cygwin" ]
-             then
-                 echo "1: cygwin use64bitint"
-                 N=1
-@@ -78,11 +78,11 @@ then
-         fi
-     fi
- else
--    if [ "$ptrsize" == "8" ]
-+    if [ "$ptrsize" = "8" ]
-     then
--        if [ "$byteorder" == "12345678" ]
-+        if [ "$byteorder" = "12345678" ]
-         then
--            if [ "$numvalsize" == "8" ]
-+            if [ "$numvalsize" = "8" ]
-             then
-                 N=4
-                 echo "4: x86_64 double float 64 bit opcode_t, 8-byte double"
-@@ -95,7 +95,7 @@ else
-                 echo "5: x86_64 64 bit opcode_t, 16-byte long double"
-             fi
-         else
--            if [ "$numvalsize" == "8" ]
-+            if [ "$numvalsize" = "8" ]
-             then
-                 N=6
-                 echo "6: big-endian 64-bit"
-@@ -139,8 +139,8 @@ perl t/harness t/native_pbc/integer.t &&
-     perl t/harness t/native_pbc/number.t && \
-     perl t/harness t/native_pbc/string.t
- 
--if [ "$enable_long_double" == "1" ]; then
--    if [ "$1" == "--noconf" ]; then
-+if [ "$enable_long_double" = "1" ]; then
-+    if [ "$1" = "--noconf" ]; then
-       echo "Hmm. You have no long double, and we want to try --floatval=long double"
-       echo "However for this you must reconfigure your parrot and you gave --noconf"
-       exit
-@@ -151,8 +151,8 @@ if [ "$enable_long_double" == "1" ]; the
-     make -s || exit 1
-     hugefloatvalsize=$(./parrot_config hugefloatvalsize)
-     numvalsize=$(./parrot_config numvalsize)
--    #if [ "hugefloatvalsize" == "12" ]; then echo "Only 12 byte long double. Sorry"; exit; fi
--    #if [ "numvalsize" == "12" ]; then echo "Only 12 byte double. Sorry"; exit; fi
-+    #if [ "hugefloatvalsize" = "12" ]; then echo "Only 12 byte long double. Sorry"; exit; fi
-+    #if [ "numvalsize" = "12" ]; then echo "Only 12 byte double. Sorry"; exit; fi
-     # 1+2, 4+5, 6+7
-     M=$((N+1))
-     [ -e t/op/number_1.pasm ] || perl t/harness t/op/number.t



Home | Main Index | Thread Index | Old Index