[Vala] Compile vala on win
- From: Daniel Gosnell <djgosnell gmail com>
- To: vala-list gnome org
- Subject: [Vala] Compile vala on win
- Date: Wed, 26 Sep 2012 08:13:44 -0400
- Daniel G.
On Sep 26, 2012 8:02 AM, <vala-list-request gnome org> wrote:
Send vala-list mailing list submissions to
vala-list gnome org
To subscribe or unsubscribe via the World Wide Web, visit
https://mail.gnome.org/mailman/listinfo/vala-list
or, via email, send a message with subject or body 'help' to
vala-list-request gnome org
You can reach the person managing the list at
vala-list-owner gnome org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of vala-list digest..."
Today's Topics:
1. How to compile Vala using MingW under Windows (raum no-log org)
2. How to compile Vala using MingW under Windows (raum no-log org)
3. Re: Gee [ANNOUNCE] Libgee 0.8.0 - GObject collection library (JM)
----------------------------------------------------------------------
Message: 1
Date: Tue, 25 Sep 2012 23:16:49 +0200
From: raum no-log org
To: vala-list gnome org
Subject: [Vala] How to compile Vala using MingW under Windows
Message-ID:
<63cd1c40ab6331fd8b7d9d33d3b409c9 squirrel webmail no-log org>
Content-Type: text/plain;charset=iso-8859-1
Hello,
I think I've successed to compile vala 0.18 under Windows. You could have
a look to my page (tarball available for testing) :
http://linbox.free.fr/vala
Here it is :
----------------------------------
How to compile Vala under Windows
----------------------------------
# First step :
c:\> mkdir vala-build
c:\> cd vala-build
c:\vala-build> mkdir vala
c:\vala-build> mkdir vala-src
c:\vala-build> mkdir mingw
c:\vala-build> mkdir msys
c:\vala-build> mkdir build
c:\vala-build> cd mingw
# MingW installation
# From http://sourceforge.net/projects/mingw/files/, these packages
# binutils-2.22-1-mingw32-bin
# gcc-core-4.6.2-1-mingw32-bin
# libgmp-5.0.1-1-mingw32-dll-10
# libiconv-1.14-2-mingw32-dev
# libiconv-1.14-2-mingw32-dll-2
# libintl-0.18.1.1-1-msys-1.0.17-dll-8
# libmpc-0.8.1-1-mingw32-dll-2
# libmpfr-2.4.1-1-mingw32-dll-1
# pthreads-w32-2.9.0-mingw32-pre-20110507-2-dev
# w32api-3.17-2-mingw32-dev
c:\vala-build\mingw> wget
http://sourceforge.net/projects/mingw/files/MinGW/Base/binutils/binutils-2.22/binutils-2.22-1-mingw32-bin.tar.lzma/download
c:\vala-build\mingw> wget
http://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/Version4/gcc-4.6.2-1/gcc-core-4.6.2-1-mingw32-bin.tar.lzma/download
c:\vala-build\mingw> wget
http://sourceforge.net/projects/mingw/files/MinGW/Base/gmp/gmp-5.0.1-1/libgmp-5.0.1-1-mingw32-dll-10.tar.lzma/download
c:\vala-build\mingw> wget
http://sourceforge.net/projects/mingw/files/MinGW/Base/libiconv/libiconv-1.14-2/libiconv-1.14-2-mingw32-dev.tar.lzma/download
c:\vala-build\mingw> wget
http://sourceforge.net/projects/mingw/files/MinGW/Base/libiconv/libiconv-1.14-2/libiconv-1.14-2-mingw32-dll-2.tar.lzma/download
c:\vala-build\mingw> wget
http://sourceforge.net/projects/mingw/files/MSYS/Base/gettext/gettext-0.18.1.1-1/libintl-0.18.1.1-1-msys-1.0.17-dll-8.tar.lzma/download
c:\vala-build\mingw> wget
http://sourceforge.net/projects/mingw/files/MinGW/Base/mpc/mpc-0.8.1-1/libmpc-0.8.1-1-mingw32-dll-2.tar.lzma/download
c:\vala-build\mingw> wget
http://sourceforge.net/projects/mingw/files/MinGW/Base/mpfr/mpfr-2.4.1-1/libmpfr-2.4.1-1-mingw32-dll-1.tar.lzma/download
c:\vala-build\mingw> wget
http://sourceforge.net/projects/mingw/files/MinGW/Base/pthreads-w32/pthreads-w32-2.9.0-pre-20110507-2/pthreads-w32-2.9.0-mingw32-pre-20110507-2-dev.tar.lzma/download
c:\vala-build\mingw> wget
http://sourceforge.net/projects/mingw/files/MinGW/Base/w32api/w32api-3.17/w32api-3.17-2-mingw32-dev.tar.lzma/download
#Then extract and you should have :
c:\vala-build\mingw> dir
bin
include
lib
libexec
c:\vala-build\mingw> cd ..\msys
# msysCORE-1.0.17-1-msys-1.0.17-bin.tar.lzma
c:\vala-build\msys> wget
http://sourceforge.net/projects/mingw/files/MSYS/Base/msys-core/msys-1.0.17-1/msysCORE-1.0.17-1-msys-1.0.17-bin.tar.lzma/download
# and extract
c:\vala-build\mingw> cd ..\vala-src
c:\vala-build\vala-src>
# download lastest release from https://live.gnome.org/Vala/Release and
extract
# download http://vala-win32.googlecode.com/files/vala-0.12.0.exe and
install in c:\vala-build\vala
----------------------------
Ok now we need to adjust msys configuration.
Edit c:\vala-build\msys\etc\fstab to :
C:/vala-build/mingw /mingw
C:/vala-build/vala /vala
C:/vala-build/vala-src /vala-src
C:/vala-build/mingw/lib /usr/lib
C:/vala-build/build /build
Edit c:\vala-build\msys\etc\profile to :
++ export PATH="/usr/bin:/bin:/usr/local/bin:/vala/bin:/mingw/bin:."
-- if [ $MSYSTEM == MINGW32 ]; then
-- export PATH=".:/usr/local/bin:/mingw/bin:/bin:$PATH"
-- else
-- export PATH=".:/usr/local/bin:/bin:/mingw/bin:$PATH"
-- fi
And now, just double click on msys.bat
my_machine# cd /vala-src
my_machine:/vala-src# ./configure --prefix=/build --disable-vapigen
(...)
my_machine:/vala-src# make
(...)
my_machine:/vala-src# make install
And that's all... If you want to test your new fresh install, just change
PATH variable.
tips: --disable-vapigen to avoid sys/wait.h fatal error when compiling
------------------------------
Message: 2
Date: Wed, 26 Sep 2012 09:08:29 +0200
From: raum no-log org
To: vala-list gnome org
Subject: [Vala] How to compile Vala using MingW under Windows
Message-ID: <b6b4314e652350d078dfc77a799dfe93 squirrel 80 67 172 39>
Content-Type: text/plain;charset=iso-8859-1
Hi,
Feel free to help me to improve (or correct ;-) ) this mini how-to and
report if something doesn't work.
Next step, I think I'll try to bundle clang... :-?
Thanks
Raum
(...)
I think I've successed to compile vala 0.18 under Windows. You could have
a look to my page (tarball available for testing) :
http://linbox.free.fr/vala
Here it is :
----------------------------------
How to compile Vala under Windows
----------------------------------
# First step :
c:\> mkdir vala-build
c:\> cd vala-build
c:\vala-build> mkdir vala
c:\vala-build> mkdir vala-src
c:\vala-build> mkdir mingw
c:\vala-build> mkdir msys
c:\vala-build> mkdir build
(...)
------------------------------
Message: 3
Date: Wed, 26 Sep 2012 09:27:56 +0200
From: JM <interflug1 gmx net>
To: vala-list gnome org
Subject: Re: [Vala] Gee [ANNOUNCE] Libgee 0.8.0 - GObject collection
library
Message-ID: <1348644476 12539 1 camel notebook>
Content-Type: text/plain; charset="UTF-8"
Hello Maciej,
can you point me to an example for gee's functional iterators and usage
example in in functional style?
Thank you!
JM
Am Montag, den 24.09.2012, 22:26 +0200 schrieb Maciej Piechotka:
On Mon, 2012-09-24 at 22:14 +0200, Maciej Piechotka wrote:
We are very pleased to announce version 0.8.0 of Libgee, the GObject
collection library.
Libgee 0.8.0 is now available for download at:
http://download.gnome.org/sources/libgee/0.8/
Also please note that now Libgee has its own mailing-list
http://mail.gnome.org/mailman/listinfo/libgee-list
and its own #gee IRC channel.
New in 0.8.0
------------
* Fix Traversable.chop (bug #684348)
* Remove unnecessary method
* Update README
* Move everything to GenericAccessor
Yay. I knew I've forgotten about something. Above are changes since
0.7.90 instead of 0.6 branch. The cool new features include:
* Functional iterators enabling users to write efficient and clear code
in functional style
* Introducing the lock-free list implementation (EXPERIMENTAL for 0.8)
* Adding ArrayQueue
* Introduction of Lazy values
* Allow to query about state of iterator
* Port to Vala mixins enabling future-proofing of ABI and API
Libgee is a collection library providing GObject-based interfaces and
classes for commonly used data structures.
Libgee provides the following interfaces:
* Traversable
o Iterable
+ Collection
# List
* BidirList
# Set
* SortedSet
o BidirSortedSet
# MultiSet
# Queue
* Deque
+ Map
# SortedMap
* BidirSortedMap
o Iterator
+ BidirIterator
# BidirListIterator
+ ListIterator
# BidirListIterator
* MultiMap
The ArrayList, ArrauQueue, ConcurrentLinkedList HashSet, HashMap,
HashMultiSet,
HashMultiMap, LinkedList, PriorityQueue, TreeSet, TreeMap,
TreeMultiSet, and TreeMultiMap classes provide a reasonable sample
implementation of those interfaces. In addition, a set of abstract
classes are provided to ease the implementation of new collections.
Around that, the API provide means to retrieve read-only views,
efficient sort algorithms, simple, bi-directional or index-based
mutable
iterators depending on the collection type.
Libgee is written in Vala and can be used like any GObject-based C
library. It's planned to provide bindings for further languages.
More information about Vala is available at
http://live.gnome.org/Libgee
Maciej Marcin Piechotka
_______________________________________________
vala-list mailing list
vala-list gnome org
https://mail.gnome.org/mailman/listinfo/vala-list
------------------------------
_______________________________________________
vala-list mailing list
vala-list gnome org
https://mail.gnome.org/mailman/listinfo/vala-list
End of vala-list Digest, Vol 58, Issue 29
*****************************************
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]