[arch-commits] Commit in ldc/repos (6 files)

Sven-Hendrik Haase svenstaro at nymeria.archlinux.org
Tue Feb 19 02:32:25 UTC 2013


    Date: Tuesday, February 19, 2013 @ 03:32:24
  Author: svenstaro
Revision: 84438

archrelease: copy trunk to community-i686, community-x86_64

Added:
  ldc/repos/community-i686/PKGBUILD
    (from rev 84437, ldc/trunk/PKGBUILD)
  ldc/repos/community-x86_64/PKGBUILD
    (from rev 84437, ldc/trunk/PKGBUILD)
Deleted:
  ldc/repos/community-i686/PKGBUILD
  ldc/repos/community-i686/fix-llvm-IRBuilder.h-include-when-using-LLVM-3.2.patch
  ldc/repos/community-x86_64/PKGBUILD
  ldc/repos/community-x86_64/fix-llvm-IRBuilder.h-include-when-using-LLVM-3.2.patch

-------------------------------------------------------------------------+
 community-i686/PKGBUILD                                                 |  131 ++++------
 community-i686/fix-llvm-IRBuilder.h-include-when-using-LLVM-3.2.patch   |   25 -
 community-x86_64/PKGBUILD                                               |  131 ++++------
 community-x86_64/fix-llvm-IRBuilder.h-include-when-using-LLVM-3.2.patch |   25 -
 4 files changed, 128 insertions(+), 184 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2013-02-19 02:32:13 UTC (rev 84437)
+++ community-i686/PKGBUILD	2013-02-19 02:32:24 UTC (rev 84438)
@@ -1,67 +0,0 @@
-# $Id$
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-pkgname=ldc
-pkgver=20121225
-pkgrel=1
-pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2"
-arch=('i686' 'x86_64')
-url="http://www.dsource.org/projects/ldc"
-license=('BSD')
-depends=('llvm' 'libconfig')
-makedepends=('git' 'cmake')
-backup=('etc/ldc2.conf')
-source=(fix-llvm-IRBuilder.h-include-when-using-LLVM-3.2.patch)
-md5sums=('0dacd8e4b8f88030c107dbb2a35bcc42')
-
-_gitroot=git://github.com/ldc-developers/ldc.git
-_gitname=ldc
-_gitbranch=master
-
-[[ $CARCH == "x86_64" ]] && _multilib="ON"
-[[ $CARCH == "i686" ]] && _multilib="OFF"
-
-build() {
-  cd "$srcdir"
-  msg "Connecting to GIT server...."
-
-  if [[ -d "$_gitname" ]]; then
-    cd "$_gitname" && git pull origin
-    msg "The local files are updated."
-  else
-    git clone --branch "$_gitbranch" "$_gitroot" "$_gitname"
-  fi
-
-  msg "GIT checkout done or server timeout"
-  msg "Starting build..."
-
-  rm -rf "$srcdir/$_gitname-build"
-  git clone --recursive "$srcdir/$_gitname" "$srcdir/$_gitname-build"
-  cd "$srcdir/$_gitname-build"
-
-  # llvm/Support/IRBuilder.h was relocated in LLVM 3.2
-  patch -Np1 -i "$srcdir/fix-llvm-IRBuilder.h-include-when-using-LLVM-3.2.patch"
-
-  mkdir build && cd build
-  cmake \
-      -DCMAKE_INSTALL_PREFIX=/usr \
-      -DINCLUDE_INSTALL_DIR=/usr/include/d/std-ldc \
-      -DMULTILIB=$_multilib \
-      ..
-  make
-}
-
-package() {
-  cd "$srcdir/$_gitname-build"
-
-  cd build
-  make DESTDIR=$pkgdir install
-  cd ..
-
-  mkdir -p $pkgdir/usr/share/bash-completion/
-  mv $pkgdir/etc/bash_completion.d $pkgdir/usr/share/bash-completion/completions
-
-  install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
-
-  # We don't actually want the multilib libs in this package
-  rm -rf $pkgdir/usr/lib32
-}

Copied: ldc/repos/community-i686/PKGBUILD (from rev 84437, ldc/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2013-02-19 02:32:24 UTC (rev 84438)
@@ -0,0 +1,64 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+pkgname=ldc
+pkgver=20130219
+pkgrel=1
+pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2"
+arch=('i686' 'x86_64')
+url="http://www.dsource.org/projects/ldc"
+license=('BSD')
+depends=('llvm' 'libconfig')
+makedepends=('git' 'cmake')
+backup=('etc/ldc2.conf')
+source=()
+md5sums=()
+
+_gitroot=git://github.com/ldc-developers/ldc.git
+_gitname=ldc
+_gitbranch=master
+
+[[ $CARCH == "x86_64" ]] && _multilib="ON"
+[[ $CARCH == "i686" ]] && _multilib="OFF"
+
+build() {
+  cd "$srcdir"
+  msg "Connecting to GIT server...."
+
+  if [[ -d "$_gitname" ]]; then
+    cd "$_gitname" && git pull origin
+    msg "The local files are updated."
+  else
+    git clone --branch "$_gitbranch" "$_gitroot" "$_gitname"
+  fi
+
+  msg "GIT checkout done or server timeout"
+  msg "Starting build..."
+
+  rm -rf "$srcdir/$_gitname-build"
+  git clone --recursive "$srcdir/$_gitname" "$srcdir/$_gitname-build"
+  cd "$srcdir/$_gitname-build"
+
+  mkdir build && cd build
+  cmake \
+      -DCMAKE_INSTALL_PREFIX=/usr \
+      -DINCLUDE_INSTALL_DIR=/usr/include/d/std-ldc \
+      -DMULTILIB=$_multilib \
+      ..
+  make
+}
+
+package() {
+  cd "$srcdir/$_gitname-build"
+
+  cd build
+  make DESTDIR=$pkgdir install
+  cd ..
+
+  mkdir -p $pkgdir/usr/share/bash-completion/
+  mv $pkgdir/etc/bash_completion.d $pkgdir/usr/share/bash-completion/completions
+
+  install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+
+  # We don't actually want the multilib libs in this package
+  rm -rf $pkgdir/usr/lib32
+}

Deleted: community-i686/fix-llvm-IRBuilder.h-include-when-using-LLVM-3.2.patch
===================================================================
--- community-i686/fix-llvm-IRBuilder.h-include-when-using-LLVM-3.2.patch	2013-02-19 02:32:13 UTC (rev 84437)
+++ community-i686/fix-llvm-IRBuilder.h-include-when-using-LLVM-3.2.patch	2013-02-19 02:32:24 UTC (rev 84438)
@@ -1,25 +0,0 @@
-From 984207e348fe9ef1444cbec897cb8c429859a9c0 Mon Sep 17 00:00:00 2001
-From: Evangelos Foutras <evangelos at foutrelis.com>
-Date: Tue, 25 Dec 2012 04:55:30 +0200
-Subject: [PATCH] Fix llvm/IRBuilder.h include when using LLVM 3.2
-
----
- gen/passes/GarbageCollect2Stack.cpp | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/gen/passes/GarbageCollect2Stack.cpp b/gen/passes/GarbageCollect2Stack.cpp
-index f20bdd4..9927615 100644
---- a/gen/passes/GarbageCollect2Stack.cpp
-+++ b/gen/passes/GarbageCollect2Stack.cpp
-@@ -27,7 +27,7 @@
- #include "llvm/Intrinsics.h"
- #include "llvm/Support/CallSite.h"
- #include "llvm/Support/CommandLine.h"
--#if LDC_LLVM_VER >= 303
-+#if LDC_LLVM_VER >= 302
- #include "llvm/IRBuilder.h"
- #else
- #include "llvm/Support/IRBuilder.h"
--- 
-1.8.0.2
-

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2013-02-19 02:32:13 UTC (rev 84437)
+++ community-x86_64/PKGBUILD	2013-02-19 02:32:24 UTC (rev 84438)
@@ -1,67 +0,0 @@
-# $Id$
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-pkgname=ldc
-pkgver=20121225
-pkgrel=1
-pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2"
-arch=('i686' 'x86_64')
-url="http://www.dsource.org/projects/ldc"
-license=('BSD')
-depends=('llvm' 'libconfig')
-makedepends=('git' 'cmake')
-backup=('etc/ldc2.conf')
-source=(fix-llvm-IRBuilder.h-include-when-using-LLVM-3.2.patch)
-md5sums=('0dacd8e4b8f88030c107dbb2a35bcc42')
-
-_gitroot=git://github.com/ldc-developers/ldc.git
-_gitname=ldc
-_gitbranch=master
-
-[[ $CARCH == "x86_64" ]] && _multilib="ON"
-[[ $CARCH == "i686" ]] && _multilib="OFF"
-
-build() {
-  cd "$srcdir"
-  msg "Connecting to GIT server...."
-
-  if [[ -d "$_gitname" ]]; then
-    cd "$_gitname" && git pull origin
-    msg "The local files are updated."
-  else
-    git clone --branch "$_gitbranch" "$_gitroot" "$_gitname"
-  fi
-
-  msg "GIT checkout done or server timeout"
-  msg "Starting build..."
-
-  rm -rf "$srcdir/$_gitname-build"
-  git clone --recursive "$srcdir/$_gitname" "$srcdir/$_gitname-build"
-  cd "$srcdir/$_gitname-build"
-
-  # llvm/Support/IRBuilder.h was relocated in LLVM 3.2
-  patch -Np1 -i "$srcdir/fix-llvm-IRBuilder.h-include-when-using-LLVM-3.2.patch"
-
-  mkdir build && cd build
-  cmake \
-      -DCMAKE_INSTALL_PREFIX=/usr \
-      -DINCLUDE_INSTALL_DIR=/usr/include/d/std-ldc \
-      -DMULTILIB=$_multilib \
-      ..
-  make
-}
-
-package() {
-  cd "$srcdir/$_gitname-build"
-
-  cd build
-  make DESTDIR=$pkgdir install
-  cd ..
-
-  mkdir -p $pkgdir/usr/share/bash-completion/
-  mv $pkgdir/etc/bash_completion.d $pkgdir/usr/share/bash-completion/completions
-
-  install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
-
-  # We don't actually want the multilib libs in this package
-  rm -rf $pkgdir/usr/lib32
-}

Copied: ldc/repos/community-x86_64/PKGBUILD (from rev 84437, ldc/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2013-02-19 02:32:24 UTC (rev 84438)
@@ -0,0 +1,64 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+pkgname=ldc
+pkgver=20130219
+pkgrel=1
+pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2"
+arch=('i686' 'x86_64')
+url="http://www.dsource.org/projects/ldc"
+license=('BSD')
+depends=('llvm' 'libconfig')
+makedepends=('git' 'cmake')
+backup=('etc/ldc2.conf')
+source=()
+md5sums=()
+
+_gitroot=git://github.com/ldc-developers/ldc.git
+_gitname=ldc
+_gitbranch=master
+
+[[ $CARCH == "x86_64" ]] && _multilib="ON"
+[[ $CARCH == "i686" ]] && _multilib="OFF"
+
+build() {
+  cd "$srcdir"
+  msg "Connecting to GIT server...."
+
+  if [[ -d "$_gitname" ]]; then
+    cd "$_gitname" && git pull origin
+    msg "The local files are updated."
+  else
+    git clone --branch "$_gitbranch" "$_gitroot" "$_gitname"
+  fi
+
+  msg "GIT checkout done or server timeout"
+  msg "Starting build..."
+
+  rm -rf "$srcdir/$_gitname-build"
+  git clone --recursive "$srcdir/$_gitname" "$srcdir/$_gitname-build"
+  cd "$srcdir/$_gitname-build"
+
+  mkdir build && cd build
+  cmake \
+      -DCMAKE_INSTALL_PREFIX=/usr \
+      -DINCLUDE_INSTALL_DIR=/usr/include/d/std-ldc \
+      -DMULTILIB=$_multilib \
+      ..
+  make
+}
+
+package() {
+  cd "$srcdir/$_gitname-build"
+
+  cd build
+  make DESTDIR=$pkgdir install
+  cd ..
+
+  mkdir -p $pkgdir/usr/share/bash-completion/
+  mv $pkgdir/etc/bash_completion.d $pkgdir/usr/share/bash-completion/completions
+
+  install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+
+  # We don't actually want the multilib libs in this package
+  rm -rf $pkgdir/usr/lib32
+}

Deleted: community-x86_64/fix-llvm-IRBuilder.h-include-when-using-LLVM-3.2.patch
===================================================================
--- community-x86_64/fix-llvm-IRBuilder.h-include-when-using-LLVM-3.2.patch	2013-02-19 02:32:13 UTC (rev 84437)
+++ community-x86_64/fix-llvm-IRBuilder.h-include-when-using-LLVM-3.2.patch	2013-02-19 02:32:24 UTC (rev 84438)
@@ -1,25 +0,0 @@
-From 984207e348fe9ef1444cbec897cb8c429859a9c0 Mon Sep 17 00:00:00 2001
-From: Evangelos Foutras <evangelos at foutrelis.com>
-Date: Tue, 25 Dec 2012 04:55:30 +0200
-Subject: [PATCH] Fix llvm/IRBuilder.h include when using LLVM 3.2
-
----
- gen/passes/GarbageCollect2Stack.cpp | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/gen/passes/GarbageCollect2Stack.cpp b/gen/passes/GarbageCollect2Stack.cpp
-index f20bdd4..9927615 100644
---- a/gen/passes/GarbageCollect2Stack.cpp
-+++ b/gen/passes/GarbageCollect2Stack.cpp
-@@ -27,7 +27,7 @@
- #include "llvm/Intrinsics.h"
- #include "llvm/Support/CallSite.h"
- #include "llvm/Support/CommandLine.h"
--#if LDC_LLVM_VER >= 303
-+#if LDC_LLVM_VER >= 302
- #include "llvm/IRBuilder.h"
- #else
- #include "llvm/Support/IRBuilder.h"
--- 
-1.8.0.2
-




More information about the arch-commits mailing list