diff options
author | he <he@pkgsrc.org> | 2011-01-30 10:52:09 +0000 |
---|---|---|
committer | he <he@pkgsrc.org> | 2011-01-30 10:52:09 +0000 |
commit | 81ad10ed9b89f763368c9a0b8907f48773f69b33 (patch) | |
tree | 93341b7d67c52bd5471928a68362eaa8131a451f /lang/parrot | |
parent | 5b56f33cee7a2ce5bccb34df96aab49f81a6b697 (diff) | |
download | pkgsrc-81ad10ed9b89f763368c9a0b8907f48773f69b33.tar.gz |
Upgrade parrot from version 2.11.0 to 3.0.0.
Pkgsrc changes:
o Remove local patch which is no longer needed.
o Adapt PLIST to changes in the set of installed files.
Upstream changes:
- Core
+ A new embedding API is available in "parrot/api.h" and documented in
docs/pdd/pdd10_embedding.pod .
+ Packfile PMCs were refactored and can now be used to produce runnable
bytecode.
+ Packfile manipulation code now throws embedder-friendly exceptions rather
than printing error details directly to stderr.
+ Unicode support for file IO, environment variables, program names, and
command-line parameters was improved.
+ An experimental gdb pretty-printers in tools/dev for Parrot STRINGs and
PMCs is now available. (gdb 7.2 or later and Python are required)
+ c2str.pl and pmc2c.pl improvements result in a noticeably faster build.
+ Bugs in our Digest::sha256 library and bit-related dynamic ops were fixed
by GCI student Nolan Lum. Both now work correctly on 32 and 64 bit
systems.
- Languages
+ ;)XD - OMeta for Winxed https://github.com/plobsing/ohm-eta-wink-kzd
- Community
+ tree-optimization by GSoC student Tyler L. Curtis joined the nest and now
lives at http://github.com/parrot/tree-optimization .
+ Plumage now lives at http://github.com/parrot/plumage and is installable.
+ Christmas went as scheduled. The Parrot team does not take credit for
this event.
- Documentation
+ HTML documentation generation has been rewritten and greatly simplified.
+ We have improved documentation in docs/project/git_workflow.pod about
keeping a fork of parrot.git in sync.
+ Translations of our README in various languages are now in the
docs/translation directory, thanks to Google Code-In students.
- Tests
+ A better way to write "todo" tests with Parrot's Test::More was implemented
by GCI student Fernando Brito.
+ Major increases in test coverage of many core PMCs, dynamic PMCs and
dynamic opcodes resulted from GCI and the intrepid students it attracted.
+ Jonathan "Duke" Leto set up Debian Linux x86_64 and sparc32 smokers
in the GCC Compile Farm, which continually submit smoke reports with
a variety of configuration options and compilers. Thanks, GCC!
+ Makefile dependency checking is now automatically tested, resulting in a
more reliable parallel build.
+ Coverage tests were improved for platforms with and without Devel::Cover.
Diffstat (limited to 'lang/parrot')
-rw-r--r-- | lang/parrot/Makefile | 6 | ||||
-rw-r--r-- | lang/parrot/PLIST | 9 | ||||
-rw-r--r-- | lang/parrot/distinfo | 9 | ||||
-rw-r--r-- | lang/parrot/patches/patch-al | 76 |
4 files changed, 14 insertions, 86 deletions
diff --git a/lang/parrot/Makefile b/lang/parrot/Makefile index 3e137f6b35d..c8c5366cc40 100644 --- a/lang/parrot/Makefile +++ b/lang/parrot/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.41 2010/12/22 21:29:31 he Exp $ +# $NetBSD: Makefile,v 1.42 2011/01/30 10:52:09 he Exp $ # -VERSION= 2.11.0 -RTYPE= devel +VERSION= 3.0.0 +RTYPE= stable DISTNAME= parrot-${VERSION} CATEGORIES= lang MASTER_SITES= ftp://ftp.parrot.org/pub/parrot/releases/${RTYPE}/${VERSION}/ diff --git a/lang/parrot/PLIST b/lang/parrot/PLIST index 2cf5c2ad477..62a15791c1f 100644 --- a/lang/parrot/PLIST +++ b/lang/parrot/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.24 2010/12/22 21:29:31 he Exp $ +@comment $NetBSD: PLIST,v 1.25 2011/01/30 10:52:09 he Exp $ bin/ops2c bin/parrot bin/parrot-nqp @@ -10,6 +10,7 @@ bin/pbc_disassemble bin/pbc_dump bin/pbc_merge bin/pbc_to_exe +include/parrot/${PKGVERSION}/parrot/api.h include/parrot/${PKGVERSION}/parrot/atomic.h include/parrot/${PKGVERSION}/parrot/atomic/fallback.h include/parrot/${PKGVERSION}/parrot/atomic/gcc_pcc.h @@ -81,7 +82,6 @@ include/parrot/${PKGVERSION}/parrot/settings.h include/parrot/${PKGVERSION}/parrot/stat.h include/parrot/${PKGVERSION}/parrot/string.h include/parrot/${PKGVERSION}/parrot/string_funcs.h -include/parrot/${PKGVERSION}/parrot/string_primitives.h include/parrot/${PKGVERSION}/parrot/sub.h include/parrot/${PKGVERSION}/parrot/sysmem.h include/parrot/${PKGVERSION}/parrot/thr_pthread.h @@ -145,9 +145,11 @@ include/parrot/${PKGVERSION}/pmc/pmc_orderedhashiterator.h include/parrot/${PKGVERSION}/pmc/pmc_packfile.h include/parrot/${PKGVERSION}/pmc/pmc_packfileannotation.h include/parrot/${PKGVERSION}/pmc/pmc_packfileannotations.h +include/parrot/${PKGVERSION}/pmc/pmc_packfilebytecodesegment.h include/parrot/${PKGVERSION}/pmc/pmc_packfileconstanttable.h include/parrot/${PKGVERSION}/pmc/pmc_packfiledebug.h include/parrot/${PKGVERSION}/pmc/pmc_packfiledirectory.h +include/parrot/${PKGVERSION}/pmc/pmc_packfileopmap.h include/parrot/${PKGVERSION}/pmc/pmc_packfilerawsegment.h include/parrot/${PKGVERSION}/pmc/pmc_packfilesegment.h include/parrot/${PKGVERSION}/pmc/pmc_parrotinterpreter.h @@ -476,6 +478,7 @@ lib/parrot/${PKGVERSION}/tools/lib/Parrot/Docs/Group.pm lib/parrot/${PKGVERSION}/tools/lib/Parrot/Docs/HTMLPage.pm lib/parrot/${PKGVERSION}/tools/lib/Parrot/Docs/Item.pm lib/parrot/${PKGVERSION}/tools/lib/Parrot/Docs/POD2HTML.pm +lib/parrot/${PKGVERSION}/tools/lib/Parrot/Docs/PodToHtml.pm lib/parrot/${PKGVERSION}/tools/lib/Parrot/Docs/Section.pm lib/parrot/${PKGVERSION}/tools/lib/Parrot/Docs/Section/C.pm lib/parrot/${PKGVERSION}/tools/lib/Parrot/Docs/Section/Compilers.pm @@ -609,9 +612,11 @@ src/parrot/${PKGVERSION}/pmc/orderedhashiterator.dump src/parrot/${PKGVERSION}/pmc/packfile.dump src/parrot/${PKGVERSION}/pmc/packfileannotation.dump src/parrot/${PKGVERSION}/pmc/packfileannotations.dump +src/parrot/${PKGVERSION}/pmc/packfilebytecodesegment.dump src/parrot/${PKGVERSION}/pmc/packfileconstanttable.dump src/parrot/${PKGVERSION}/pmc/packfiledebug.dump src/parrot/${PKGVERSION}/pmc/packfiledirectory.dump +src/parrot/${PKGVERSION}/pmc/packfileopmap.dump src/parrot/${PKGVERSION}/pmc/packfilerawsegment.dump src/parrot/${PKGVERSION}/pmc/packfilesegment.dump src/parrot/${PKGVERSION}/pmc/parrotinterpreter.dump diff --git a/lang/parrot/distinfo b/lang/parrot/distinfo index 854b12741ce..5941e219b34 100644 --- a/lang/parrot/distinfo +++ b/lang/parrot/distinfo @@ -1,9 +1,8 @@ -$NetBSD: distinfo,v 1.34 2010/12/22 21:29:31 he Exp $ +$NetBSD: distinfo,v 1.35 2011/01/30 10:52:09 he Exp $ -SHA1 (parrot-2.11.0.tar.gz) = 126d72df53efed11a3713127b07268d92ba21e76 -RMD160 (parrot-2.11.0.tar.gz) = b69a579912ebb70699f36ae7ad04f9b378af7587 -Size (parrot-2.11.0.tar.gz) = 3849095 bytes +SHA1 (parrot-3.0.0.tar.gz) = 93cba01a96f4f94d89240ffb4ff47bbdce6641bb +RMD160 (parrot-3.0.0.tar.gz) = 5217734e15bc6c3c73478a85e078b916bfd31ced +Size (parrot-3.0.0.tar.gz) = 3914733 bytes SHA1 (patch-ad) = aae66d32722d4c761132e57176469de7c7d51c88 SHA1 (patch-ae) = 75d1507157dbed60071c20e1c8fa781eb7877b52 SHA1 (patch-ak) = 45df82c2240f4619feadc482bcf2636a6b5aa41a -SHA1 (patch-al) = 3e61ae8fbc526dc671a0baca5cc6c1a2ea168f56 diff --git a/lang/parrot/patches/patch-al b/lang/parrot/patches/patch-al deleted file mode 100644 index 3028148262a..00000000000 --- a/lang/parrot/patches/patch-al +++ /dev/null @@ -1,76 +0,0 @@ -$NetBSD: patch-al,v 1.1 2010/11/22 12:11:38 he Exp $ - -Copy FreeBSD's sysmem, and s/freebsd/netbsd/. - ---- config/gen/platform/netbsd/sysmem.c.orig 2010-11-18 10:41:13.000000000 +0100 -+++ config/gen/platform/netbsd/sysmem.c 2010-11-13 17:50:25.000000000 +0100 -@@ -0,0 +1,69 @@ -+/* -+ * Copyright (C) 2010, Parrot Foundation. -+ */ -+ -+/* -+ -+=head1 NAME -+ -+config/gen/platform/netbsd/sysmem.c -+ -+=head1 DESCRIPTION -+ -+Get system memory information. -+ -+=head2 Functions -+ -+=over 4 -+ -+=cut -+ -+*/ -+#include <sys/sysctl.h> -+#include <stdio.h> -+ -+/* -+ -+=item C<size_t Parrot_sysmem_amount(PARROT_INTERP)> -+ -+Get information about available physical memory. -+ -+=cut -+ -+*/ -+ -+size_t -+Parrot_sysmem_amount(PARROT_INTERP) -+{ -+ int err = 0; -+ size_t memsize = 0; -+ char *err_msg; -+ unsigned long length = sizeof (memsize); -+ -+ int selection[2] = { CTL_HW, HW_PHYSMEM }; -+ -+ err = sysctl(selection, 2, &memsize, &length, NULL, 0); -+ -+ if (err) { -+ err_msg = strerror(err); -+ Parrot_ex_throw_from_c_args(interp, NULL, EXCEPTION_EXTERNAL_ERROR, -+ "sysctl failed: %s", err_msg); -+ } -+ -+ return memsize; -+} -+ -+/* -+ -+=back -+ -+=cut -+ -+*/ -+ -+/* -+ * Local variables: -+ * c-file-style: "parrot" -+ * End: -+ * vim: expandtab shiftwidth=4: -+ */ |