import vala 0.3.1

Vala is a new programming language that aims to bring modern programming
language features to GNOME developers without imposing any additional
runtime requirements and without using a different ABI compared to
applications and libraries written in C.

valac, the Vala compiler, is a self-hosting compiler that translates
Vala source code into C source and header files. It uses the GObject
type system to create classes and interfaces declared in the Vala source
code. It's also planned to generate GIDL files when gobject-
introspection is ready.

ok ajacoutot@
This commit is contained in:
jasper 2008-05-05 09:27:40 +00:00
parent e4bf20cda2
commit 63e0f5b5e8
6 changed files with 446 additions and 0 deletions

46
lang/vala/Makefile Normal file
View File

@ -0,0 +1,46 @@
# $OpenBSD: Makefile,v 1.1.1.1 2008/05/05 09:27:40 jasper Exp $
COMMENT= compiler for the GObject type system
GNOME_PROJECT= vala
GNOME_VERSION= 0.3.1
SHARED_LIBS += vala 0.0 # .0.0
CATEGORIES= lang
HOMEPAGE= http://live.gnome.org/Vala
# LGPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes \
Xi Xinerama Xrandr Xrender atk-1.0 c cairo expat fontconfig \
freetype glib-2.0 glitz gmodule-2.0 gobject-2.0 gthread-2.0 \
m pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre png pthread z
MODULES= devel/gettext \
x11/gnome
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= ::textproc/libxslt \
::textproc/p5-XML-LibXML
LIB_DEPENDS= gdk_pixbuf-2.0,gdk-x11-2.0,gtk-x11-2.0::x11/gtk+2
REGRESS_DEPENDS= ::shells/bash
MODGNOME_DEVHELP_FILES= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --enable-gen-project \
--enable-vapigen
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib" \
CPPFLAGS="-I${LOCALBASE}/include"
SUBST_VARS= LOCALBASE
pre-regress:
${SUBST_CMD} ${WRKSRC}/tests/testrunner.sh
chmod +x ${WRKSRC}/tests/testrunner.sh
.include <bsd.port.mk>

5
lang/vala/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (vala-0.3.1.tar.bz2) = al8dgveutngFwo7nYtuJbQ==
RMD160 (vala-0.3.1.tar.bz2) = bs0pj1oqm2zKYDhbNlJHawtC8sI=
SHA1 (vala-0.3.1.tar.bz2) = FbZwrBDNo/huZ0LaQHnOD49yEKM=
SHA256 (vala-0.3.1.tar.bz2) = UTxgGzcwjgKHtvleuwFEbk9/39ymFwoxEPKXl7484os=
SIZE (vala-0.3.1.tar.bz2) = 1212751

View File

@ -0,0 +1,18 @@
$OpenBSD: patch-tests_testrunner_sh,v 1.1.1.1 2008/05/05 09:27:40 jasper Exp $
--- tests/testrunner.sh.orig Sun Apr 13 11:08:11 2008
+++ tests/testrunner.sh Sun May 4 21:32:52 2008
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!${LOCALBASE}/bin/bash
# testrunner.sh
#
# Copyright (C) 2006-2007 Jürg Billeter
@@ -53,7 +53,7 @@ do
CODE=1
continue
fi
- if ./$testbuild 2>&1 | tee $testbuild.err | cmp -s $testsrc.exp
+ if ./$testbuild 2>&1 | tee $testbuild.err && cmp -s $testbuild.err $testsrc.exp
then
rm $testbuild.c $testbuild.h $testbuild$exe $testbuild.err
else

10
lang/vala/pkg/DESCR Normal file
View File

@ -0,0 +1,10 @@
Vala is a new programming language that aims to bring modern programming
language features to GNOME developers without imposing any additional
runtime requirements and without using a different ABI compared to
applications and libraries written in C.
valac, the Vala compiler, is a self-hosting compiler that translates
Vala source code into C source and header files. It uses the GObject
type system to create classes and interfaces declared in the Vala source
code. It's also planned to generate GIDL files when gobject-
introspection is ready.

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2008/05/05 09:27:40 jasper Exp $
@lib lib/libvala.so.${LIBvala_VERSION}

365
lang/vala/pkg/PLIST Normal file
View File

@ -0,0 +1,365 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/05/05 09:27:40 jasper Exp $
%%SHARED%%
bin/vala-gen-introspect
bin/vala-gen-project
bin/valac
bin/vapicheck
bin/vapigen
include/vala-1.0/
include/vala-1.0/ccode/
include/vala-1.0/ccode/valaccodeassignment.h
include/vala-1.0/ccode/valaccodebinaryexpression.h
include/vala-1.0/ccode/valaccodeblock.h
include/vala-1.0/ccode/valaccodebreakstatement.h
include/vala-1.0/ccode/valaccodecasestatement.h
include/vala-1.0/ccode/valaccodecastexpression.h
include/vala-1.0/ccode/valaccodecommaexpression.h
include/vala-1.0/ccode/valaccodecomment.h
include/vala-1.0/ccode/valaccodeconditionalexpression.h
include/vala-1.0/ccode/valaccodeconstant.h
include/vala-1.0/ccode/valaccodecontinuestatement.h
include/vala-1.0/ccode/valaccodedeclaration.h
include/vala-1.0/ccode/valaccodedeclarator.h
include/vala-1.0/ccode/valaccodedostatement.h
include/vala-1.0/ccode/valaccodeelementaccess.h
include/vala-1.0/ccode/valaccodeemptystatement.h
include/vala-1.0/ccode/valaccodeenum.h
include/vala-1.0/ccode/valaccodeenumvalue.h
include/vala-1.0/ccode/valaccodeexpression.h
include/vala-1.0/ccode/valaccodeexpressionstatement.h
include/vala-1.0/ccode/valaccodeformalparameter.h
include/vala-1.0/ccode/valaccodeforstatement.h
include/vala-1.0/ccode/valaccodefragment.h
include/vala-1.0/ccode/valaccodefunction.h
include/vala-1.0/ccode/valaccodefunctioncall.h
include/vala-1.0/ccode/valaccodefunctiondeclarator.h
include/vala-1.0/ccode/valaccodegotostatement.h
include/vala-1.0/ccode/valaccodeidentifier.h
include/vala-1.0/ccode/valaccodeifstatement.h
include/vala-1.0/ccode/valaccodeincludedirective.h
include/vala-1.0/ccode/valaccodeinitializerlist.h
include/vala-1.0/ccode/valaccodelabel.h
include/vala-1.0/ccode/valaccodelinedirective.h
include/vala-1.0/ccode/valaccodemacroreplacement.h
include/vala-1.0/ccode/valaccodememberaccess.h
include/vala-1.0/ccode/valaccodemodifiers.h
include/vala-1.0/ccode/valaccodenewline.h
include/vala-1.0/ccode/valaccodenode.h
include/vala-1.0/ccode/valaccodeoncesection.h
include/vala-1.0/ccode/valaccodeparenthesizedexpression.h
include/vala-1.0/ccode/valaccodereturnstatement.h
include/vala-1.0/ccode/valaccodestatement.h
include/vala-1.0/ccode/valaccodestruct.h
include/vala-1.0/ccode/valaccodeswitchstatement.h
include/vala-1.0/ccode/valaccodetypedefinition.h
include/vala-1.0/ccode/valaccodeunaryexpression.h
include/vala-1.0/ccode/valaccodevariabledeclarator.h
include/vala-1.0/ccode/valaccodewhilestatement.h
include/vala-1.0/ccode/valaccodewriter.h
include/vala-1.0/gee/
include/vala-1.0/gee/arraylist.h
include/vala-1.0/gee/collection.h
include/vala-1.0/gee/hashmap.h
include/vala-1.0/gee/hashset.h
include/vala-1.0/gee/iterable.h
include/vala-1.0/gee/iterator.h
include/vala-1.0/gee/list.h
include/vala-1.0/gee/map.h
include/vala-1.0/gee/readonlycollection.h
include/vala-1.0/gee/readonlylist.h
include/vala-1.0/gee/readonlymap.h
include/vala-1.0/gee/readonlyset.h
include/vala-1.0/gee/set.h
include/vala-1.0/gobject/
include/vala-1.0/gobject/valaccodearraycreationexpressionbinding.h
include/vala-1.0/gobject/valaccodeassignmentbinding.h
include/vala-1.0/gobject/valaccodebinding.h
include/vala-1.0/gobject/valaccodeclassbinding.h
include/vala-1.0/gobject/valaccodecompiler.h
include/vala-1.0/gobject/valaccodecreationmethodbinding.h
include/vala-1.0/gobject/valaccodedynamicmethodbinding.h
include/vala-1.0/gobject/valaccodedynamicsignalbinding.h
include/vala-1.0/gobject/valaccodeelementaccessbinding.h
include/vala-1.0/gobject/valaccodeexpressionbinding.h
include/vala-1.0/gobject/valaccodegenerator.h
include/vala-1.0/gobject/valaccodegeneratorsignal.h
include/vala-1.0/gobject/valaccodegeneratorsourcefile.h
include/vala-1.0/gobject/valaccodegeneratorstruct.h
include/vala-1.0/gobject/valaccodeinterfacebinding.h
include/vala-1.0/gobject/valaccodeinvocationexpressionbinding.h
include/vala-1.0/gobject/valaccodememberaccessbinding.h
include/vala-1.0/gobject/valaccodemethodbinding.h
include/vala-1.0/gobject/valaccodetypesymbolbinding.h
include/vala-1.0/gobject/valaclassregisterfunction.h
include/vala-1.0/gobject/valagidlwriter.h
include/vala-1.0/gobject/valainterfaceregisterfunction.h
include/vala-1.0/gobject/valatyperegisterfunction.h
include/vala-1.0/vala/
include/vala-1.0/vala/vala.h
include/vala-1.0/vala/valaaddressofexpression.h
include/vala-1.0/vala/valaarraycreationexpression.h
include/vala-1.0/vala/valaarraylengthfield.h
include/vala-1.0/vala/valaarraymovemethod.h
include/vala-1.0/vala/valaarrayresizemethod.h
include/vala-1.0/vala/valaarraytype.h
include/vala-1.0/vala/valaassignment.h
include/vala-1.0/vala/valaattribute.h
include/vala-1.0/vala/valaattributeprocessor.h
include/vala-1.0/vala/valabaseaccess.h
include/vala-1.0/vala/valabasicblock.h
include/vala-1.0/vala/valabinaryexpression.h
include/vala-1.0/vala/valablock.h
include/vala-1.0/vala/valabooleanliteral.h
include/vala-1.0/vala/valabreakstatement.h
include/vala-1.0/vala/valacastexpression.h
include/vala-1.0/vala/valacatchclause.h
include/vala-1.0/vala/valacfgbuilder.h
include/vala-1.0/vala/valacharacterliteral.h
include/vala-1.0/vala/valaclass.h
include/vala-1.0/vala/valaclasstype.h
include/vala-1.0/vala/valacodebinding.h
include/vala-1.0/vala/valacodecontext.h
include/vala-1.0/vala/valacodegenerator.h
include/vala-1.0/vala/valacodenode.h
include/vala-1.0/vala/valacodevisitor.h
include/vala-1.0/vala/valaconditionalexpression.h
include/vala-1.0/vala/valaconstant.h
include/vala-1.0/vala/valaconstructor.h
include/vala-1.0/vala/valacontinuestatement.h
include/vala-1.0/vala/valacreationmethod.h
include/vala-1.0/vala/valadatatype.h
include/vala-1.0/vala/valadeclarationstatement.h
include/vala-1.0/vala/valadelegate.h
include/vala-1.0/vala/valadelegatetype.h
include/vala-1.0/vala/valadeletestatement.h
include/vala-1.0/vala/valadestructor.h
include/vala-1.0/vala/valadostatement.h
include/vala-1.0/vala/valadynamicmethod.h
include/vala-1.0/vala/valadynamicsignal.h
include/vala-1.0/vala/valaelementaccess.h
include/vala-1.0/vala/valaemptystatement.h
include/vala-1.0/vala/valaenum.h
include/vala-1.0/vala/valaenumvalue.h
include/vala-1.0/vala/valaerrorcode.h
include/vala-1.0/vala/valaerrordomain.h
include/vala-1.0/vala/valaerrortype.h
include/vala-1.0/vala/valaexpression.h
include/vala-1.0/vala/valaexpressionstatement.h
include/vala-1.0/vala/valafield.h
include/vala-1.0/vala/valaforeachstatement.h
include/vala-1.0/vala/valaformalparameter.h
include/vala-1.0/vala/valaforstatement.h
include/vala-1.0/vala/valaifstatement.h
include/vala-1.0/vala/valainitializerlist.h
include/vala-1.0/vala/valainstancecast.h
include/vala-1.0/vala/valaintegerliteral.h
include/vala-1.0/vala/valaintegertype.h
include/vala-1.0/vala/valainterface.h
include/vala-1.0/vala/valainterfacetype.h
include/vala-1.0/vala/valainterfacewriter.h
include/vala-1.0/vala/valainvalidtype.h
include/vala-1.0/vala/valainvocationexpression.h
include/vala-1.0/vala/valalambdaexpression.h
include/vala-1.0/vala/valaliteral.h
include/vala-1.0/vala/valalocalvariable.h
include/vala-1.0/vala/valalockable.h
include/vala-1.0/vala/valalockstatement.h
include/vala-1.0/vala/valamember.h
include/vala-1.0/vala/valamemberaccess.h
include/vala-1.0/vala/valamemberinitializer.h
include/vala-1.0/vala/valamemorymanager.h
include/vala-1.0/vala/valamethod.h
include/vala-1.0/vala/valamethodtype.h
include/vala-1.0/vala/valanamedargument.h
include/vala-1.0/vala/valanamespace.h
include/vala-1.0/vala/valanamespacereference.h
include/vala-1.0/vala/valanullchecker.h
include/vala-1.0/vala/valanullliteral.h
include/vala-1.0/vala/valanulltype.h
include/vala-1.0/vala/valaobjectcreationexpression.h
include/vala-1.0/vala/valaparenthesizedexpression.h
include/vala-1.0/vala/valaparser.h
include/vala-1.0/vala/valapointerindirection.h
include/vala-1.0/vala/valapointertype.h
include/vala-1.0/vala/valapostfixexpression.h
include/vala-1.0/vala/valaproperty.h
include/vala-1.0/vala/valapropertyaccessor.h
include/vala-1.0/vala/valarealliteral.h
include/vala-1.0/vala/valareferencetransferexpression.h
include/vala-1.0/vala/valareferencetype.h
include/vala-1.0/vala/valareport.h
include/vala-1.0/vala/valareturnstatement.h
include/vala-1.0/vala/valascanner.h
include/vala-1.0/vala/valascope.h
include/vala-1.0/vala/valasemanticanalyzer.h
include/vala-1.0/vala/valasignal.h
include/vala-1.0/vala/valasignaltype.h
include/vala-1.0/vala/valasizeofexpression.h
include/vala-1.0/vala/valasourcefile.h
include/vala-1.0/vala/valasourcefilecycle.h
include/vala-1.0/vala/valasourcelocation.h
include/vala-1.0/vala/valasourcereference.h
include/vala-1.0/vala/valastatement.h
include/vala-1.0/vala/valastringliteral.h
include/vala-1.0/vala/valastruct.h
include/vala-1.0/vala/valaswitchlabel.h
include/vala-1.0/vala/valaswitchsection.h
include/vala-1.0/vala/valaswitchstatement.h
include/vala-1.0/vala/valasymbol.h
include/vala-1.0/vala/valasymbolresolver.h
include/vala-1.0/vala/valathrowstatement.h
include/vala-1.0/vala/valatokentype.h
include/vala-1.0/vala/valatrystatement.h
include/vala-1.0/vala/valatuple.h
include/vala-1.0/vala/valatypecheck.h
include/vala-1.0/vala/valatypeofexpression.h
include/vala-1.0/vala/valatypeparameter.h
include/vala-1.0/vala/valatypeparametertype.h
include/vala-1.0/vala/valatypesymbol.h
include/vala-1.0/vala/valaunaryexpression.h
include/vala-1.0/vala/valaunresolvedsymbol.h
include/vala-1.0/vala/valaunresolvedtype.h
include/vala-1.0/vala/valavaluetype.h
include/vala-1.0/vala/valavoidtype.h
include/vala-1.0/vala/valawhilestatement.h
lib/libvala.a
lib/libvala.la
lib/pkgconfig/vala-1.0.pc
lib/vala/
lib/vala/gen-introspect
@man man/man1/vala-gen-introspect.1
@man man/man1/valac.1
@man man/man1/vapigen.1
share/devhelp/books/
share/devhelp/books/vala/
share/devhelp/books/vala/classes.html
share/devhelp/books/vala/default.css
share/devhelp/books/vala/delegates.html
share/devhelp/books/vala/enums.html
share/devhelp/books/vala/exceptions.html
share/devhelp/books/vala/expressions.html
share/devhelp/books/vala/index.html
share/devhelp/books/vala/interfaces.html
share/devhelp/books/vala/namespaces.html
share/devhelp/books/vala/overview.html
share/devhelp/books/vala/statements.html
share/devhelp/books/vala/structs.html
share/devhelp/books/vala/types.html
share/devhelp/books/vala/vala.devhelp2
share/vala/
share/vala/licenses/
share/vala/licenses/gpl-2.0.txt
share/vala/licenses/gpl-3.0.txt
share/vala/licenses/lgpl-2.1.txt
share/vala/licenses/lgpl-3.0.txt
share/vala/vapi/
share/vala/vapi/atk.vapi
share/vala/vapi/bzlib.vapi
share/vala/vapi/cairo.vapi
share/vala/vapi/curses.vapi
share/vala/vapi/dbus-glib-1.vapi
share/vala/vapi/enchant.vapi
share/vala/vapi/gconf-2.0.vapi
share/vala/vapi/gdk-2.0.deps
share/vala/vapi/gdk-2.0.vapi
share/vala/vapi/gdk-pixbuf-2.0.vapi
share/vala/vapi/gdk-x11-2.0.deps
share/vala/vapi/gdk-x11-2.0.vapi
share/vala/vapi/gio-2.0.vapi
share/vala/vapi/gio-unix-2.0.deps
share/vala/vapi/gio-unix-2.0.vapi
share/vala/vapi/glib-2.0.vapi
share/vala/vapi/gnome-desktop-2.0.deps
share/vala/vapi/gnome-desktop-2.0.vapi
share/vala/vapi/gnome-keyring-1.vapi
share/vala/vapi/gnome-vfs-2.0.vapi
share/vala/vapi/goocanvas.deps
share/vala/vapi/goocanvas.vapi
share/vala/vapi/gstreamer-0.10.vapi
share/vala/vapi/gstreamer-audio-0.10.deps
share/vala/vapi/gstreamer-audio-0.10.vapi
share/vala/vapi/gstreamer-base-0.10.deps
share/vala/vapi/gstreamer-base-0.10.vapi
share/vala/vapi/gstreamer-check-0.10.deps
share/vala/vapi/gstreamer-check-0.10.vapi
share/vala/vapi/gstreamer-controller-0.10.deps
share/vala/vapi/gstreamer-controller-0.10.vapi
share/vala/vapi/gstreamer-dataprotocol-0.10.deps
share/vala/vapi/gstreamer-dataprotocol-0.10.vapi
share/vala/vapi/gstreamer-fft-0.10.deps
share/vala/vapi/gstreamer-fft-0.10.vapi
share/vala/vapi/gstreamer-interfaces-0.10.deps
share/vala/vapi/gstreamer-interfaces-0.10.vapi
share/vala/vapi/gstreamer-net-0.10.deps
share/vala/vapi/gstreamer-net-0.10.vapi
share/vala/vapi/gstreamer-netbuffer-0.10.deps
share/vala/vapi/gstreamer-netbuffer-0.10.vapi
share/vala/vapi/gstreamer-pbutils-0.10.deps
share/vala/vapi/gstreamer-pbutils-0.10.vapi
share/vala/vapi/gstreamer-riff-0.10.deps
share/vala/vapi/gstreamer-riff-0.10.vapi
share/vala/vapi/gstreamer-rtp-0.10.deps
share/vala/vapi/gstreamer-rtp-0.10.vapi
share/vala/vapi/gstreamer-rtsp-0.10.deps
share/vala/vapi/gstreamer-rtsp-0.10.vapi
share/vala/vapi/gstreamer-sdp-0.10.deps
share/vala/vapi/gstreamer-sdp-0.10.vapi
share/vala/vapi/gstreamer-tag-0.10.deps
share/vala/vapi/gstreamer-tag-0.10.vapi
share/vala/vapi/gstreamer-video-0.10.deps
share/vala/vapi/gstreamer-video-0.10.vapi
share/vala/vapi/gtk+-2.0.deps
share/vala/vapi/gtk+-2.0.vapi
share/vala/vapi/gtkmozembed.deps
share/vala/vapi/gtkmozembed.vapi
share/vala/vapi/gtksourceview-2.0.deps
share/vala/vapi/gtksourceview-2.0.vapi
share/vala/vapi/hal.deps
share/vala/vapi/hal.vapi
share/vala/vapi/hildon-1.deps
share/vala/vapi/hildon-1.vapi
share/vala/vapi/hildon-fm-2.deps
share/vala/vapi/hildon-fm-2.vapi
share/vala/vapi/json-glib-1.0.vapi
share/vala/vapi/libbonoboui-2.0.vapi
share/vala/vapi/libftdi.deps
share/vala/vapi/libftdi.vapi
share/vala/vapi/libglade-2.0.deps
share/vala/vapi/libglade-2.0.vapi
share/vala/vapi/libgnome-2.0.vapi
share/vala/vapi/libgnome-menu.vapi
share/vala/vapi/libgnomeui-2.0.deps
share/vala/vapi/libgnomeui-2.0.vapi
share/vala/vapi/libnotify.deps
share/vala/vapi/libnotify.vapi
share/vala/vapi/liboobs-1.vapi
share/vala/vapi/libpanelapplet-2.0.deps
share/vala/vapi/libpanelapplet-2.0.vapi
share/vala/vapi/libsexy.deps
share/vala/vapi/libsexy.vapi
share/vala/vapi/libsoup-2.2.vapi
share/vala/vapi/libsoup-2.4.deps
share/vala/vapi/libsoup-2.4.vapi
share/vala/vapi/libusb.vapi
share/vala/vapi/libwnck-1.0.deps
share/vala/vapi/libwnck-1.0.vapi
share/vala/vapi/libxml-2.0.vapi
share/vala/vapi/pango.deps
share/vala/vapi/pango.vapi
share/vala/vapi/pangocairo.deps
share/vala/vapi/pangocairo.vapi
share/vala/vapi/poppler-glib.deps
share/vala/vapi/poppler-glib.vapi
share/vala/vapi/sdl-gfx.vapi
share/vala/vapi/sdl-image.vapi
share/vala/vapi/sdl-mixer.vapi
share/vala/vapi/sdl-ttf.vapi
share/vala/vapi/sdl.vapi
share/vala/vapi/sqlite3.vapi
share/vala/vapi/taglib_c.vapi
share/vala/vapi/vala-1.0.vapi
share/vala/vapi/vte.deps
share/vala/vapi/vte.vapi
share/vala/vapi/webkit-1.0.deps
share/vala/vapi/webkit-1.0.vapi
share/vala/vapi/zlib.vapi