New commits:
commit 2b463bc53f254356b8b0b5bf928613f692bcffb6
Author: Treeve Jelbert <treeve AT sourcemage.org>
Commit: Treeve Jelbert <treeve AT sourcemage.org>
new spell - libxkbcommon-git
commit a2382adbb50df1e89f93e5518bb76ec81b70fc01
Author: Treeve Jelbert <treeve AT sourcemage.org>
Commit: Treeve Jelbert <treeve AT sourcemage.org>
new spell - wayland-0.85.0
commit d8d07510f1657ebb57abb63a6b2fb5d7a002b499
Author: Treeve Jelbert <treeve AT sourcemage.org>
Commit: Treeve Jelbert <treeve AT sourcemage.org>
mesalib - add wayland support
commit 12262131ce98ada8ea0d62c5a272f063605a09b6
Author: Treeve Jelbert <treeve AT sourcemage.org>
Commit: Treeve Jelbert <treeve AT sourcemage.org>
mesalib - more config options
commit e0e7f11c911299e0b30d43679291e0c3e608dee7
Author: Treeve Jelbert <treeve AT sourcemage.org>
Commit: Treeve Jelbert <treeve AT sourcemage.org>
mesalib: => 8.0
commit bbba7cad8eaa7905e4f7e1b0dbff8c7dd1800f6b
Author: Treeve Jelbert <treeve AT sourcemage.org>
Commit: Treeve Jelbert <treeve AT sourcemage.org>
zsync: => 0.6.2
commit 157e80ad1e93b658bbc433009b1ab6ed0ccd6fe5
Author: Treeve Jelbert <treeve AT sourcemage.org>
Commit: Treeve Jelbert <treeve AT sourcemage.org>
mesalib - remove obsolete depends
commit ec760a77dd97bbe7530c5064150e2c0fd88593c3
Author: Treeve Jelbert <treeve AT sourcemage.org>
Commit: Treeve Jelbert <treeve AT sourcemage.org>
opengtl-0.9.16
commit 8fcbdfbce192f857143ffa349477302fa1d3f226
Author: Treeve Jelbert <treeve AT sourcemage.org>
Commit: Treeve Jelbert <treeve AT sourcemage.org>
mesalib-8.0-rc2 (devel)
commit 6bf298f7ffd59c3d7dda7fbe74743d9631a9339a
Author: Treeve Jelbert <treeve AT sourcemage.org>
Commit: Treeve Jelbert <treeve AT sourcemage.org>
Mesalib-8.0-rc1 (devel)
this update is only intended to test the new llvm-3.0
it builds for me when specifying radeon drivers
I have libdrm-2.4.29 and libxcb-1.8
commit 62a6331e6f832d14e178b5da3259708bac3869e4
Author: Treeve Jelbert <treeve AT sourcemage.org>
Commit: Treeve Jelbert <treeve AT sourcemage.org>
llvm: => 3.0
diff --git a/ChangeLog b/ChangeLog
index 7e1927d..b0ff1ca 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-02-15 Treeve Jelbert <treeve AT sourcemage.org>
+ * xorg-lib/wayland: new compositor libary
+ * xorg-lib/libxkbcommon: library interface to the XKB compiler
+
2012-02-11 Ladislav Hagara <hgr AT vabo.cz>
* devel/nodejs: new spell
platform for building fast, scalable network applications
diff --git a/devel/llvm/BUILD b/devel/llvm/BUILD
index dbdd799..cf1ebfb 100755
--- a/devel/llvm/BUILD
+++ b/devel/llvm/BUILD
@@ -1,2 +1,2 @@
-OPTS="$LLVMJIT $OPTS --build=${BUILD}" &&
-default_build
+OPTS+=" -DBUILD_SHARED_LIBS=1 -DLLVM_TARGETS_TO_BUILD=X86
-DCMAKE_BUILD_TYPE=RELEASE" &&
+cmake_build
diff --git a/devel/llvm/CONFIGURE b/devel/llvm/CONFIGURE
index 20e8043..666fb1b 100755
--- a/devel/llvm/CONFIGURE
+++ b/devel/llvm/CONFIGURE
@@ -3,8 +3,4 @@ then
config_query LLVM_WITH_ANALYZER \
"Install clang static analyzer (scan-build and scan-view)?" \
n
-fi &&
-
-config_query_option LLVMJIT "Enable Just In Time compiling?" y \
- "--enable-jit" \
- "--disable-jit"
+fi
diff --git a/devel/llvm/DEPENDS b/devel/llvm/DEPENDS
index a740784..4d89c8f 100755
--- a/devel/llvm/DEPENDS
+++ b/devel/llvm/DEPENDS
@@ -1,6 +1,7 @@
depends libtool &&
depends -sub CXX gcc &&
-
+depends cmake &&
+depends pkgconfig &&
if [[ "$LLVM_WITH_ANALYZER" == "y" ]]
then
# perl is required for scan-build, which is the analyzer itself
@@ -11,7 +12,6 @@ then
suggest_depends python
fi &&
-optional_depends doxygen \
- "--enable-doxygen" \
- "--disable-doxygen" \
- "build doxygen documentation?"
+optional_depends ocaml '' '' 'build bindings for OCaml' &&
+optional_depends doxygen '' '' "build documentation?" &&
+optional_depends libffi '-DLLVM_ENABLE_FFI=1' '' 'use sytem FFI'
diff --git a/devel/llvm/DETAILS b/devel/llvm/DETAILS
index 5d78f17..8788e9d 100755
--- a/devel/llvm/DETAILS
+++ b/devel/llvm/DETAILS
@@ -1,20 +1,20 @@
SPELL=llvm
- VERSION=2.9
- SOURCE="${SPELL}-${VERSION}.tgz"
+ VERSION=3.0
+ SOURCE="${SPELL}-${VERSION}.tar.gz"
SOURCE2=$SOURCE.sig
SOURCE_URL[0]=http://${SPELL}.org/releases/${VERSION}/${SOURCE}
SOURCE2_URL[0]=${SOURCE_URL[0]}.sig
- SOURCE_GPG=0DD88BA2.gpg:$SOURCE2:UPSTREAM_KEY
+ SOURCE_GPG=E95C63DC.gpg:$SOURCE2:UPSTREAM_KEY
SOURCE2_IGNORE=signature
if [[ "$LLVM_WITH_CLANG" == y ]]; then
- SOURCE3="clang-${VERSION}.tgz"
+ SOURCE3="clang-${VERSION}.tar.gz"
SOURCE3_URL[0]="http://${SPELL}.org/releases/${VERSION}/${SOURCE3}"
SOURCE4="$SOURCE3.sig"
SOURCE4_URL[0]="${SOURCE3_URL[0]}.sig"
SOURCE3_GPG="0DD88BA2.gpg:$SOURCE4:UPSTREAM_KEY"
SOURCE4_IGNORE="signature"
fi
-SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}.src"
WEB_SITE="http://llvm.org "
LICENSE[0]=BSD
ENTERED=20081115
diff --git a/devel/llvm/E95C63DC.gpg b/devel/llvm/E95C63DC.gpg
new file mode 100644
index 0000000..2a3d800
Binary files /dev/null and b/devel/llvm/E95C63DC.gpg differ
diff --git a/devel/llvm/HISTORY b/devel/llvm/HISTORY
index 25a7a93..f163572 100644
--- a/devel/llvm/HISTORY
+++ b/devel/llvm/HISTORY
@@ -1,3 +1,17 @@
+2012-01-15 Treeve Jelbert <treeve AT sourcemage.org>
+ * DETAILS: version 3.0
+ now uses .tar.gz
+ different gpg
+ * E95C63DC.gpg: added
+ key E95C63DC: public key "Bill Wendling <wendling AT apple.com>"
+ * DEPENDS: add cmake, libffi, ocaml, pkgconfig
+ * BUILD: use cmake_build
+ also build shared libraries;
+ needed by some other spells, such as opengtl
+ only build X86 targets
+ * CONFIGURE: remove ref to jit
+ * PRE_BUILD: small fix to find libffi
+
2011-09-26 Justin Boffemmyer <flux AT sourcemage.org>
* DETAILS, PRE_BUILD: converted clang sources to also use upstream
signature checking, and corrected source numbering (clang source
diff --git a/devel/llvm/PRE_BUILD b/devel/llvm/PRE_BUILD
index f4248b8..87a253c 100755
--- a/devel/llvm/PRE_BUILD
+++ b/devel/llvm/PRE_BUILD
@@ -3,4 +3,13 @@ if [[ "$LLVM_WITH_CLANG" == y ]]; then
cd ${SOURCE_DIRECTORY}/tools &&
unpack_file 3 &&
mv clang-${VERSION} clang
+fi &&
+# small cmake related fix for libffi
+cd ${SOURCE_DIRECTORY} &&
+if spell_ok libffi;then
+ FFI=`pkg-config --cflags-only-I libffi` &&
+ FFI=${FFI//-I/} &&
+ FFI=${FFI//\ */} &&
+ sed -i "/FFI_I/s|\"\"|\"$FFI\"|" CMakeLists.txt
fi
+
diff --git a/graphics-libs/mesalib/BUILD b/graphics-libs/mesalib/BUILD
index 397e436..d8468a1 100755
--- a/graphics-libs/mesalib/BUILD
+++ b/graphics-libs/mesalib/BUILD
@@ -17,5 +17,6 @@ esac &&
OPTS="--with-driver=$MESALIB_BUILD \
--with-dri-drivers=$MESALIB_DRIVERS_CONF \
$MESALIB_OPTS \
+ --with-egl-platforms=${MESA_EGL//\ /,} \
$OPTS" &&
default_build
diff --git a/graphics-libs/mesalib/CONFIGURE b/graphics-libs/mesalib/CONFIGURE
index 8a59422..f02758b 100755
--- a/graphics-libs/mesalib/CONFIGURE
+++ b/graphics-libs/mesalib/CONFIGURE
@@ -33,8 +33,7 @@ config_query_list MESALIB_BUILD
\
osmesa &&
if [[ $MESALIB_BUILD == dri ]]; then
- AVAILABLE_DRIVERS="i810 i915 i965 mach64 mga r128 r200 r300 r600 radeon
savage \
- sis swrast tdfx unichrome"
+ AVAILABLE_DRIVERS="i915 i965 intel r200 radeon swrast"
config_query_multi MESALIB_DRIVERS \
"What drivers would you like to build?" \
@@ -46,7 +45,7 @@ if [[ $MESALIB_BUILD == dri ]]; then
config_query_multi MESALIB_GALLIUM \
"What Gallium3D drivers woulld you like to build?" \
- none llvm svga i915 i965 radeon r600 nouveau swrast
+ none llvm svga i915 i965 radeon nouveau swrast
fi &&
if [[ $MESALIB_BUILD == xlib ]]; then MESALIB_DRIVERS="swrast"
@@ -61,23 +60,39 @@ config_query_option MESALIB_OPTS "enable EGL library?" y \
config_query_option MESALIB_OPTS "enable OpenGL Utility library?" y \
"--enable-glu" "--disable-glu" &&