[arch-commits] Commit in gdc/trunk (PKGBUILD)

2018-09-09 Thread Filipe Laíns via arch-commits
Date: Sunday, September 9, 2018 @ 15:33:09
  Author: ffy00
Revision: 378913

upgpkg: gdc 8.2.1+2.068.2-2

Modified:
  gdc/trunk/PKGBUILD

--+
 PKGBUILD |   13 -
 1 file changed, 4 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-09-09 15:32:52 UTC (rev 378912)
+++ PKGBUILD2018-09-09 15:33:09 UTC (rev 378913)
@@ -17,7 +17,7 @@
 _gdc_commit=76136b64ad3a5b8b38992c56f7f70ec700702e76 # Change here
 _gdmd_commit=0b374bfb3b0df7d0ad76de95e9dd0d5ff7ea07fa # Change here
 _d_ver=''
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 license=('GPL3')
 url="https://github.com/D-Programming-GDC/GDC;
@@ -42,7 +42,7 @@
 _d_ver="+$(cat gdc/gcc/d/VERSION | sed 's|\"||g')"
   fi
 
-  echo "$(cat gcc/gcc/BASE-VER)$_d_ver"
+  echo "$(cat gcc/gcc/BASE-VER | sed -e 's|gcc-||' -e 's|-.*||')$_d_ver"
 }
 
 prepare() {
@@ -79,7 +79,7 @@
   --mandir=/usr/share/man \
   --infodir=/usr/share/info \
   --enable-languages=c++,d,lto \
-  --enable-checking \
+  --enable-checking=release \
   --enable-link-mutex \
   --disable-libgomp \
   --disable-libmudflap \
@@ -91,11 +91,9 @@
   --enable-libmpx \
   --with-system-zlib \
   --with-isl \
-  --enable-__cxa_atexit \
   --disable-libunwind-exceptions \
   --enable-clocale=gnu \
   --disable-libstdcxx-pch \
-  --disable-libssp \
   --enable-gnu-unique-object \
   --enable-linker-build-id \
   --enable-lto \
@@ -105,7 +103,6 @@
   --enable-gnu-indirect-function \
   --disable-multilib \
   --disable-werror \
-  --disable-bootstrap \
   --enable-default-pie \
   --enable-default-ssp \
   --with-bugurl=https://bugzilla.gdcproject.org/ \
@@ -112,8 +109,6 @@
   --with-pkgversion="GDC ${pkgver%+*} based on D 
v${pkgver#*+} built with ISL $_islver for Arch Linux" \
   gdc_include_dir=/usr/include/dlang/gdc
 
-#  make all-gcc all-target-libstdc++-v3
-#  make all-gcc all-target-libstdc++-v3
   make
 }
 
@@ -123,7 +118,7 @@
 #  make check-d
 #  grep -v "^PASS" gcc/testsuite/gdc*/gdc.sum ||:
 #
-#  cd objdir/x86_64-pc-linux-gnu/libphobos/libdruntime
+#  cd x86_64-pc-linux-gnu/libphobos/libdruntime
 #
 #  make unittest
 #  ./unittest


[arch-commits] Commit in gdc/trunk (PKGBUILD)

2018-09-09 Thread Filipe Laíns via arch-commits
Date: Sunday, September 9, 2018 @ 15:32:52
  Author: ffy00
Revision: 378912

upgpkg: gdc 8.2.1+2.068.2-1

Modified:
  gdc/trunk/PKGBUILD

--+
 PKGBUILD |   26 +++---
 1 file changed, 23 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-09-09 14:50:43 UTC (rev 378911)
+++ PKGBUILD2018-09-09 15:32:52 UTC (rev 378912)
@@ -42,7 +42,7 @@
 _d_ver="+$(cat gdc/gcc/d/VERSION | sed 's|\"||g')"
   fi
 
-  echo "$(cat gcc/gcc/BASE-VER | sed -e 's|gcc-||' -e 's|-.*||')$_d_ver"
+  echo "$(cat gcc/gcc/BASE-VER)$_d_ver"
 }
 
 prepare() {
@@ -66,7 +66,7 @@
 }
 
 build() {
-  cd "$srcdir"/gcc-build
+  cd gcc-build
 
   # using -pipe causes spurious test-suite failures
   # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48565
@@ -78,7 +78,13 @@
   --libexecdir=/usr/lib \
   --mandir=/usr/share/man \
   --infodir=/usr/share/info \
-  --enable-languages=d \
+  --enable-languages=c++,d,lto \
+  --enable-checking \
+  --enable-link-mutex \
+  --disable-libgomp \
+  --disable-libmudflap \
+  --disable-libquadmath \
+  --disable-multilib \
   --enable-shared \
   --enable-static \
   --enable-threads=posix \
@@ -106,9 +112,23 @@
   --with-pkgversion="GDC ${pkgver%+*} based on D 
v${pkgver#*+} built with ISL $_islver for Arch Linux" \
   gdc_include_dir=/usr/include/dlang/gdc
 
+#  make all-gcc all-target-libstdc++-v3
+#  make all-gcc all-target-libstdc++-v3
   make
 }
 
+#check() {
+#  cd gcc-build
+#
+#  make check-d
+#  grep -v "^PASS" gcc/testsuite/gdc*/gdc.sum ||:
+#
+#  cd objdir/x86_64-pc-linux-gnu/libphobos/libdruntime
+#
+#  make unittest
+#  ./unittest
+#}
+
 package_gdc() {
   depends=('gcc' 'perl' 'binutils' 'libgphobos')
   provides=("d-compiler=${pkgver#*+}")


[arch-commits] Commit in gdc/trunk (PKGBUILD)

2018-09-08 Thread Filipe Laíns via arch-commits
Date: Saturday, September 8, 2018 @ 20:24:51
  Author: ffy00
Revision: 378827

upgpkg: gdc 8.2.1+2.068.2-1

Modified:
  gdc/trunk/PKGBUILD

--+
 PKGBUILD |   30 ++
 1 file changed, 14 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-09-08 20:17:44 UTC (rev 378826)
+++ PKGBUILD2018-09-08 20:24:51 UTC (rev 378827)
@@ -1,3 +1,4 @@
+# $Id$
 # Maintainer: Filipe Laíns (FFY00) 
 # Contributor: Daniel Kozak (kozzi) 
 # Contributor: Mihails Strasuns 
@@ -8,15 +9,15 @@
 # Contributor: Elijah Stone 
 
 pkgbase=gdc
-pkgname=('gdc' 'libgphobos')
-pkgver=8.2.0+2.068.2
+pkgname=(gdc libgphobos)
+pkgver=8.2.1+2.068.2
 #_branch=gdc-8-stable
-_gdc_commit=76136b64ad3a5b8b38992c56f7f70ec700702e76
-_islver=0.19
-_gccver=8.2.0
+_islver=0.20 # Change here
+_gccver=8-20180831 # Change here
+_gdc_commit=76136b64ad3a5b8b38992c56f7f70ec700702e76 # Change here
+_gdmd_commit=0b374bfb3b0df7d0ad76de95e9dd0d5ff7ea07fa # Change here
 _d_ver=''
-_gdmd_commit=0b374bfb3b0df7d0ad76de95e9dd0d5ff7ea07fa
-pkgrel=6
+pkgrel=1
 arch=('x86_64')
 license=('GPL3')
 url="https://github.com/D-Programming-GDC/GDC;
@@ -23,13 +24,13 @@
 pkgdesc="GCC based D compiler"
 groups=('dlang')
 makedepends=('git')
-source=("ftp://gcc.gnu.org/pub/gcc/releases/$_gccver/gcc-$_gccver.tar.xz;
+source=("ftp://gcc.gnu.org/pub/gcc/snapshots/$_gccver/gcc-$_gccver.tar.xz;
 "http://isl.gforge.inria.fr/isl-$_islver.tar.bz2;
 
"gdc::git+https://github.com/D-Programming-GDC/GDC.git#commit=$_gdc_commit;
 
"git+https://github.com/D-Programming-GDC/GDMD.git#commit=$_gdmd_commit;
 'paths.diff')
-sha512sums=('64898a165f67e136d802a92e7633bf1b06c85266027e52127ea025bf5fc2291b5e858288aac0bdba246e6cdf7c6ec88bc8e0e7f3f6f1985f4297710cafde56ed'
-
'08f4db964d9e02ec8aa9779378ed76e0ddf1d56f81f87664dbf787555ce496cdc87e836f8a51ae137f45e648c604870cce07ee45919eafb549e404afb8f27083'
+sha512sums=('56f00dfb37611183a446d80f3c56c91fc4e5287801eaa5871ba6695b19654ecd424d4f9346f03ab1d30017e81fb5646beecd6cb1c63b88767ab2b3f8181fef2a'
+
'afe2e159b74646a26449268637403d271f9e3f6410d8cc1c9cffca41370c4357b165dea844db0c2a654591f954e54710dda650c8088abd4711406aa6302da950'
 'SKIP'
 'SKIP'
 
'841504e9dffe718f7e5a5fbbf03299f2b51acd783d47f99894aa5d411abcc56aedfffd4b16595e3a9446f2206f9eb29cb01e235e82c211796cd24dc23c02b578')
@@ -41,7 +42,7 @@
 _d_ver="+$(cat gdc/gcc/d/VERSION | sed 's|\"||g')"
   fi
 
-  echo "$(cat gdc/gcc.version | sed -e 's|gcc-||' -e 's|-.*||')$_d_ver"
+  echo "$(cat gcc/gcc/BASE-VER | sed -e 's|gcc-||' -e 's|-.*||')$_d_ver"
 }
 
 prepare() {
@@ -101,13 +102,10 @@
   --disable-bootstrap \
   --enable-default-pie \
   --enable-default-ssp \
-  --with-bugurl=https://bugs.archlinux.org/ \
+  --with-bugurl=https://bugzilla.gdcproject.org/ \
   --with-pkgversion="GDC ${pkgver%+*} based on D 
v${pkgver#*+} built with ISL $_islver for Arch Linux" \
   gdc_include_dir=/usr/include/dlang/gdc
 
-  #--enable-gold \
-
-
   make
 }
 
@@ -125,7 +123,6 @@
   install -Dm 644 "$srcdir"/GDMD/dmd-script.1 
"$pkgdir"/usr/share/man/man1/gdmd.1
 }
 
-
 package_libgphobos() {
   pkgdesc="Standard library for D programming language, GDC port"
   provides=('d-runtime' 'd-stdlib')
@@ -139,3 +136,4 @@
 rmdir "$pkgdir"/usr/lib64
   fi
 }
+


[arch-commits] Commit in gdc/trunk (PKGBUILD)

2018-09-03 Thread Filipe Laíns via arch-commits
Date: Monday, September 3, 2018 @ 16:19:32
  Author: ffy00
Revision: 376402

upgpkg: gdc 8.2.0+2.068.2-6

Fix missing lto plugin

Modified:
  gdc/trunk/PKGBUILD

--+
 PKGBUILD |5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-09-03 15:33:21 UTC (rev 376401)
+++ PKGBUILD2018-09-03 16:19:32 UTC (rev 376402)
@@ -16,7 +16,7 @@
 _gccver=8.2.0
 _d_ver=''
 _gdmd_commit=0b374bfb3b0df7d0ad76de95e9dd0d5ff7ea07fa
-pkgrel=5
+pkgrel=6
 arch=('x86_64')
 license=('GPL3')
 url="https://github.com/D-Programming-GDC/GDC;
@@ -91,6 +91,7 @@
   --disable-libssp \
   --enable-gnu-unique-object \
   --enable-linker-build-id \
+  --enable-lto \
   --enable-plugin \
   --enable-install-libiberty \
   --with-linker-hash-style=gnu \
@@ -104,7 +105,7 @@
   --with-pkgversion="GDC ${pkgver%+*} based on D 
v${pkgver#*+} built with ISL $_islver for Arch Linux" \
   gdc_include_dir=/usr/include/dlang/gdc
 
-  #--enable-gold \ 
+  #--enable-gold \
 
 
   make


[arch-commits] Commit in gdc/trunk (PKGBUILD)

2018-08-30 Thread Filipe Laíns via arch-commits
Date: Thursday, August 30, 2018 @ 14:47:55
  Author: ffy00
Revision: 375471

upgpkg: gdc 8.2.0+2.068.2-5

Fix GCC version mismatch

Modified:
  gdc/trunk/PKGBUILD

--+
 PKGBUILD |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-08-30 14:43:57 UTC (rev 375470)
+++ PKGBUILD2018-08-30 14:47:55 UTC (rev 375471)
@@ -13,10 +13,10 @@
 #_branch=gdc-8-stable
 _gdc_commit=76136b64ad3a5b8b38992c56f7f70ec700702e76
 _islver=0.19
-_gccver=8.2.0-RC-20180719
+_gccver=8.2.0
 _d_ver=''
 _gdmd_commit=0b374bfb3b0df7d0ad76de95e9dd0d5ff7ea07fa
-pkgrel=4
+pkgrel=5
 arch=('x86_64')
 license=('GPL3')
 url="https://github.com/D-Programming-GDC/GDC;
@@ -23,12 +23,12 @@
 pkgdesc="GCC based D compiler"
 groups=('dlang')
 makedepends=('git')
-source=("ftp://gcc.gnu.org/pub/gcc/snapshots/$_gccver/gcc-$_gccver.tar.xz;
+source=("ftp://gcc.gnu.org/pub/gcc/releases/$_gccver/gcc-$_gccver.tar.xz;
 "http://isl.gforge.inria.fr/isl-$_islver.tar.bz2;
 
"gdc::git+https://github.com/D-Programming-GDC/GDC.git#commit=$_gdc_commit;
 
"git+https://github.com/D-Programming-GDC/GDMD.git#commit=$_gdmd_commit;
 'paths.diff')
-sha512sums=('cabd998089c219d92e89308e5904c59acebf31c57f83da1d3febce57597ca42897e252823c7f6242f0f3b45c91df3b39163898a596f935d9561a58f8acb148bd'
+sha512sums=('64898a165f67e136d802a92e7633bf1b06c85266027e52127ea025bf5fc2291b5e858288aac0bdba246e6cdf7c6ec88bc8e0e7f3f6f1985f4297710cafde56ed'
 
'08f4db964d9e02ec8aa9779378ed76e0ddf1d56f81f87664dbf787555ce496cdc87e836f8a51ae137f45e648c604870cce07ee45919eafb549e404afb8f27083'
 'SKIP'
 'SKIP'


[arch-commits] Commit in gdc/trunk (PKGBUILD)

2018-08-30 Thread Filipe Laíns via arch-commits
Date: Thursday, August 30, 2018 @ 14:10:20
  Author: ffy00
Revision: 375466

upgpkg: gdc 8.2.0+2.068.2-4

Modified:
  gdc/trunk/PKGBUILD

--+
 PKGBUILD |   12 +++-
 1 file changed, 7 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-08-30 13:39:12 UTC (rev 375465)
+++ PKGBUILD2018-08-30 14:10:20 UTC (rev 375466)
@@ -10,11 +10,13 @@
 pkgbase=gdc
 pkgname=('gdc' 'libgphobos')
 pkgver=8.2.0+2.068.2
-_branch=gdc-8-stable
+#_branch=gdc-8-stable
+_gdc_commit=76136b64ad3a5b8b38992c56f7f70ec700702e76
 _islver=0.19
 _gccver=8.2.0-RC-20180719
 _d_ver=''
-pkgrel=3
+_gdmd_commit=0b374bfb3b0df7d0ad76de95e9dd0d5ff7ea07fa
+pkgrel=4
 arch=('x86_64')
 license=('GPL3')
 url="https://github.com/D-Programming-GDC/GDC;
@@ -23,8 +25,8 @@
 makedepends=('git')
 source=("ftp://gcc.gnu.org/pub/gcc/snapshots/$_gccver/gcc-$_gccver.tar.xz;
 "http://isl.gforge.inria.fr/isl-$_islver.tar.bz2;
-"gdc::git+https://github.com/D-Programming-GDC/GDC.git#branch=$_branch;
-'git+https://github.com/D-Programming-GDC/GDMD.git'
+
"gdc::git+https://github.com/D-Programming-GDC/GDC.git#commit=$_gdc_commit;
+
"git+https://github.com/D-Programming-GDC/GDMD.git#commit=$_gdmd_commit;
 'paths.diff')
 
sha512sums=('cabd998089c219d92e89308e5904c59acebf31c57f83da1d3febce57597ca42897e252823c7f6242f0f3b45c91df3b39163898a596f935d9561a58f8acb148bd'
 
'08f4db964d9e02ec8aa9779378ed76e0ddf1d56f81f87664dbf787555ce496cdc87e836f8a51ae137f45e648c604870cce07ee45919eafb549e404afb8f27083'
@@ -99,7 +101,7 @@
   --enable-default-pie \
   --enable-default-ssp \
   --with-bugurl=https://bugs.archlinux.org/ \
-  --with-pkgversion="GDC ${pkgver%+*} based on D 
v${pkgver#*+} built with ISL $_isl for Arch Linux" \
+  --with-pkgversion="GDC ${pkgver%+*} based on D 
v${pkgver#*+} built with ISL $_islver for Arch Linux" \
   gdc_include_dir=/usr/include/dlang/gdc
 
   #--enable-gold \ 


[arch-commits] Commit in gdc/trunk (PKGBUILD)

2018-08-30 Thread Filipe Laíns via arch-commits
Date: Thursday, August 30, 2018 @ 13:39:07
  Author: ffy00
Revision: 375464

upgpkg: gdc 8.2.0+2.068.2-3

Modified:
  gdc/trunk/PKGBUILD

--+
 PKGBUILD |   21 +
 1 file changed, 13 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-08-30 08:07:06 UTC (rev 375463)
+++ PKGBUILD2018-08-30 13:39:07 UTC (rev 375464)
@@ -9,11 +9,12 @@
 
 pkgbase=gdc
 pkgname=('gdc' 'libgphobos')
-pkgver=8.2.0
+pkgver=8.2.0+2.068.2
 _branch=gdc-8-stable
 _islver=0.19
 _gccver=8.2.0-RC-20180719
-pkgrel=1
+_d_ver=''
+pkgrel=3
 arch=('x86_64')
 license=('GPL3')
 url="https://github.com/D-Programming-GDC/GDC;
@@ -32,11 +33,10 @@
 
'841504e9dffe718f7e5a5fbbf03299f2b51acd783d47f99894aa5d411abcc56aedfffd4b16595e3a9446f2206f9eb29cb01e235e82c211796cd24dc23c02b578')
 
 pkgver() {
-  _d_ver_=''
-  if [ -f gcc/d/verstr.h ]; then
-_d_ver="+$(cat gcc/d/verstr.h | sed 's|\"||g')"
-  elif [ -f gcc/d/VERSION ]; then
-_d_ver="+$(cat gcc/d/VERSION | sed 's|\"||g')"
+  if [ -f gdc/gcc/d/verstr.h ]; then
+_d_ver="+$(cat gdc/gcc/d/verstr.h | sed 's|\"||g')"
+  elif [ -f gdc/gcc/d/VERSION ]; then
+_d_ver="+$(cat gdc/gcc/d/VERSION | sed 's|\"||g')"
   fi
 
   echo "$(cat gdc/gcc.version | sed -e 's|gcc-||' -e 's|-.*||')$_d_ver"
@@ -102,7 +102,7 @@
   --with-pkgversion="GDC ${pkgver%+*} based on D 
v${pkgver#*+} built with ISL $_isl for Arch Linux" \
   gdc_include_dir=/usr/include/dlang/gdc
 
-  #--enable-gold \
+  #--enable-gold \ 
 
 
   make
@@ -130,4 +130,9 @@
 
   cd "$srcdir"/gcc-build
   make -C $CHOST/libphobos DESTDIR="$pkgdir" install
+
+  if [ -d "$pkgdir"/usr/lib64 ]; then
+mv "$pkgdir"/usr/lib64/* "$pkgdir"/usr/lib
+rmdir "$pkgdir"/usr/lib64
+  fi
 }


[arch-commits] Commit in gdc/trunk (PKGBUILD)

2018-08-29 Thread Filipe Laíns via arch-commits
Date: Wednesday, August 29, 2018 @ 23:41:52
  Author: ffy00
Revision: 375411

revert that

Sorry, I am gonna stop and go to sleep. I am making a mess.

Modified:
  gdc/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-08-29 23:39:52 UTC (rev 375410)
+++ PKGBUILD2018-08-29 23:41:52 UTC (rev 375411)
@@ -100,7 +100,7 @@
   --enable-default-ssp \
   --with-bugurl=https://bugs.archlinux.org/ \
   --with-pkgversion="GDC ${pkgver%+*} based on D 
v${pkgver#*+} built with ISL $_isl for Arch Linux" \
-  --gdc_include_dir=/usr/include/dlang/gdc
+  gdc_include_dir=/usr/include/dlang/gdc
 
   #--enable-gold \
 


[arch-commits] Commit in gdc/trunk (PKGBUILD)

2018-08-29 Thread Filipe Laíns via arch-commits
Date: Wednesday, August 29, 2018 @ 23:39:52
  Author: ffy00
Revision: 375410

fix D include dir

Modified:
  gdc/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-08-29 23:36:41 UTC (rev 375409)
+++ PKGBUILD2018-08-29 23:39:52 UTC (rev 375410)
@@ -13,7 +13,6 @@
 _branch=gdc-8-stable
 _islver=0.19
 _gccver=8.2.0-RC-20180719
-_d_ver=''
 pkgrel=1
 arch=('x86_64')
 license=('GPL3')
@@ -33,6 +32,7 @@
 
'841504e9dffe718f7e5a5fbbf03299f2b51acd783d47f99894aa5d411abcc56aedfffd4b16595e3a9446f2206f9eb29cb01e235e82c211796cd24dc23c02b578')
 
 pkgver() {
+  _d_ver_=''
   if [ -f gcc/d/verstr.h ]; then
 _d_ver="+$(cat gcc/d/verstr.h | sed 's|\"||g')"
   elif [ -f gcc/d/VERSION ]; then
@@ -100,7 +100,7 @@
   --enable-default-ssp \
   --with-bugurl=https://bugs.archlinux.org/ \
   --with-pkgversion="GDC ${pkgver%+*} based on D 
v${pkgver#*+} built with ISL $_isl for Arch Linux" \
-  gdc_include_dir=/usr/include/dlang/gdc
+  --gdc_include_dir=/usr/include/dlang/gdc
 
   #--enable-gold \
 


[arch-commits] Commit in gdc/trunk (PKGBUILD)

2018-08-29 Thread Filipe Laíns via arch-commits
Date: Wednesday, August 29, 2018 @ 23:35:28
  Author: ffy00
Revision: 375406

fix _d_ver

Modified:
  gdc/trunk/PKGBUILD

--+
 PKGBUILD |   13 -
 1 file changed, 4 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-08-29 23:35:23 UTC (rev 375405)
+++ PKGBUILD2018-08-29 23:35:28 UTC (rev 375406)
@@ -9,12 +9,12 @@
 
 pkgbase=gdc
 pkgname=('gdc' 'libgphobos')
-pkgver=8.2.0+2.068.2
+pkgver=8.2.0
 _branch=gdc-8-stable
 _islver=0.19
 _gccver=8.2.0-RC-20180719
 _d_ver=''
-pkgrel=2
+pkgrel=1
 arch=('x86_64')
 license=('GPL3')
 url="https://github.com/D-Programming-GDC/GDC;
@@ -99,10 +99,10 @@
   --enable-default-pie \
   --enable-default-ssp \
   --with-bugurl=https://bugs.archlinux.org/ \
-  --with-pkgversion="GDC ${pkgver%+*} based on D 
v$_d_ver built with ISL $_isl for Arch Linux" \
+  --with-pkgversion="GDC ${pkgver%+*} based on D 
v${pkgver#*+} built with ISL $_isl for Arch Linux" \
   gdc_include_dir=/usr/include/dlang/gdc
 
-  #--enable-gold \ 
+  #--enable-gold \
 
 
   make
@@ -130,9 +130,4 @@
 
   cd "$srcdir"/gcc-build
   make -C $CHOST/libphobos DESTDIR="$pkgdir" install
-
-  if [ -d "$pkgdir"/usr/lib64 ]; then
-mv "$pkgdir"/usr/lib64/* "$pkgdir"/usr/lib
-rmdir "$pkgdir"/usr/lib64
-  fi
 }


[arch-commits] Commit in gdc/trunk (PKGBUILD)

2018-08-29 Thread Filipe Laíns via arch-commits
Date: Wednesday, August 29, 2018 @ 23:17:09
  Author: ffy00
Revision: 375396

fix pkgver

Modified:
  gdc/trunk/PKGBUILD

--+
 PKGBUILD |   12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-08-29 23:15:54 UTC (rev 375395)
+++ PKGBUILD2018-08-29 23:17:09 UTC (rev 375396)
@@ -33,6 +33,12 @@
 
'841504e9dffe718f7e5a5fbbf03299f2b51acd783d47f99894aa5d411abcc56aedfffd4b16595e3a9446f2206f9eb29cb01e235e82c211796cd24dc23c02b578')
 
 pkgver() {
+  if [ -f gcc/d/verstr.h ]; then
+_d_ver="+$(cat gcc/d/verstr.h | sed 's|\"||g')"
+  elif [ -f gcc/d/VERSION ]; then
+_d_ver="+$(cat gcc/d/VERSION | sed 's|\"||g')"
+  fi
+
   echo "$(cat gdc/gcc.version | sed -e 's|gcc-||' -e 's|-.*||')$_d_ver"
 }
 
@@ -59,12 +65,6 @@
 build() {
   cd "$srcdir"/gcc-build
 
-  if [ -f gcc/d/verstr.h ]; then
-_d_ver="+$(cat gcc/d/verstr.h | sed 's|\"||g')"
-  elif [ -f gcc/d/VERSION ]; then
-_d_ver="+$(cat gcc/d/VERSION | sed 's|\"||g')"
-  fi
-
   # using -pipe causes spurious test-suite failures
   # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48565
   export CFLAGS="${CFLAGS/-pipe/} -O2"


[arch-commits] Commit in gdc/trunk (PKGBUILD)

2018-08-29 Thread Filipe Laíns via arch-commits
Date: Wednesday, August 29, 2018 @ 23:15:54
  Author: ffy00
Revision: 375395

fix pkgbuild

Modified:
  gdc/trunk/PKGBUILD

--+
 PKGBUILD |   28 
 1 file changed, 12 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-08-29 22:37:06 UTC (rev 375394)
+++ PKGBUILD2018-08-29 23:15:54 UTC (rev 375395)
@@ -10,9 +10,9 @@
 pkgbase=gdc
 pkgname=('gdc' 'libgphobos')
 pkgver=8.2.0+2.068.2
-_branch=gdc-8-stable # Change here! pkgver/_gccver/_d_ver will be 
automatically updated.
-_islver=0.19 # Change here!
-_gccver=$(curl 
https://raw.githubusercontent.com/D-Programming-GDC/GDC/$_branch/gcc.version)
+_branch=gdc-8-stable
+_islver=0.19
+_gccver=8.2.0-RC-20180719
 _d_ver=''
 pkgrel=2
 arch=('x86_64')
@@ -21,12 +21,12 @@
 pkgdesc="GCC based D compiler"
 groups=('dlang')
 makedepends=('git')
-source=("ftp://gcc.gnu.org/pub/gcc/snapshots/${_gccver#gcc-}/$_gccver.tar.xz;
+source=("ftp://gcc.gnu.org/pub/gcc/snapshots/$_gccver/gcc-$_gccver.tar.xz;
 "http://isl.gforge.inria.fr/isl-$_islver.tar.bz2;
-'gdc::git+https://github.com/D-Programming-GDC/GDC.git'
+"gdc::git+https://github.com/D-Programming-GDC/GDC.git#branch=$_branch;
 'git+https://github.com/D-Programming-GDC/GDMD.git'
 'paths.diff')
-sha512sums=('64898a165f67e136d802a92e7633bf1b06c85266027e52127ea025bf5fc2291b5e858288aac0bdba246e6cdf7c6ec88bc8e0e7f3f6f1985f4297710cafde56ed'
+sha512sums=('cabd998089c219d92e89308e5904c59acebf31c57f83da1d3febce57597ca42897e252823c7f6242f0f3b45c91df3b39163898a596f935d9561a58f8acb148bd'
 
'08f4db964d9e02ec8aa9779378ed76e0ddf1d56f81f87664dbf787555ce496cdc87e836f8a51ae137f45e648c604870cce07ee45919eafb549e404afb8f27083'
 'SKIP'
 'SKIP'
@@ -38,7 +38,7 @@
 
 prepare() {
   # Setup paths
-  ln -sf "$srcdir"/$_gccver "$srcdir"/gcc
+  ln -sf "$srcdir"/gcc-$_gccver "$srcdir"/gcc
   ln -sf "$srcdir"/isl-$_islver "$srcdir"/gcc/isl
 
   # Setup gcc
@@ -50,22 +50,21 @@
   # Seup gdc
   cd "$srcdir"/gdc
 
-  git checkout $_branch
   git apply "$srcdir"/paths.diff
   ./setup-gcc.sh ../gcc
 
   mkdir "$srcdir"/gcc-build
+}
 
+build() {
+  cd "$srcdir"/gcc-build
+
   if [ -f gcc/d/verstr.h ]; then
 _d_ver="+$(cat gcc/d/verstr.h | sed 's|\"||g')"
   elif [ -f gcc/d/VERSION ]; then
 _d_ver="+$(cat gcc/d/VERSION | sed 's|\"||g')"
   fi
-}
 
-build() {
-  cd "$srcdir"/gcc-build
-
   # using -pipe causes spurious test-suite failures
   # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48565
   export CFLAGS="${CFLAGS/-pipe/} -O2"
@@ -114,11 +113,9 @@
   provides=("d-compiler=${pkgver#*+}")
   pkgdesc="Compiler for D programming language which uses gcc backend"
 
-  _libdir=usr/lib/gcc/$CHOST/${pkgver%+*}
-
   # Binaries
   install -Dm 755 gcc-build/gcc/gdc "$pkgdir"/usr/bin/gdc
-  install -Dm 755 gcc-build/gcc/cc1d "$pkgdir"/$_libdir/cc1d
+  install -Dm 755 gcc-build/gcc/cc1d 
"$pkgdir"/usr/lib/gcc/$CHOST/${pkgver%+*}/cc1d
   install -Dm 755 GDMD/dmd-script "$pkgdir"/usr/bin/gdmd
 
   # Doc
@@ -135,7 +132,6 @@
   make -C $CHOST/libphobos DESTDIR="$pkgdir" install
 
   if [ -d "$pkgdir"/usr/lib64 ]; then
-echo "/usr/lib64 detected - !!!"
 mv "$pkgdir"/usr/lib64/* "$pkgdir"/usr/lib
 rmdir "$pkgdir"/usr/lib64
   fi


[arch-commits] Commit in gdc/trunk (PKGBUILD)

2018-08-29 Thread Filipe Laíns via arch-commits
Date: Wednesday, August 29, 2018 @ 22:35:15
  Author: ffy00
Revision: 375391

upgpkg: gdc 8.2.0+2.068.2-2

Modified:
  gdc/trunk/PKGBUILD

--+
 PKGBUILD |   15 +--
 1 file changed, 9 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-08-29 22:34:56 UTC (rev 375390)
+++ PKGBUILD2018-08-29 22:35:15 UTC (rev 375391)
@@ -1,4 +1,3 @@
-# $Id$
 # Maintainer: Filipe Laíns (FFY00) 
 # Contributor: Daniel Kozak (kozzi) 
 # Contributor: Mihails Strasuns 
@@ -15,12 +14,12 @@
 _islver=0.19 # Change here!
 _gccver=$(curl 
https://raw.githubusercontent.com/D-Programming-GDC/GDC/$_branch/gcc.version)
 _d_ver=''
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 license=('GPL3')
 url="https://github.com/D-Programming-GDC/GDC;
 pkgdesc="GCC based D compiler"
-groups=('dlang' 'dlang-dmd')
+groups=('dlang')
 makedepends=('git')
 source=("ftp://gcc.gnu.org/pub/gcc/snapshots/${_gccver#gcc-}/$_gccver.tar.xz;
 "http://isl.gforge.inria.fr/isl-$_islver.tar.bz2;
@@ -91,7 +90,6 @@
   --disable-libssp \
   --enable-gnu-unique-object \
   --enable-linker-build-id \
-  --enable-lto \
   --enable-plugin \
   --enable-install-libiberty \
   --with-linker-hash-style=gnu \
@@ -98,10 +96,9 @@
   --enable-gnu-indirect-function \
   --disable-multilib \
   --disable-werror \
-  --enable-checking=release \
+  --disable-bootstrap \
   --enable-default-pie \
   --enable-default-ssp \
-  --enable-cet=auto \
   --with-bugurl=https://bugs.archlinux.org/ \
   --with-pkgversion="GDC ${pkgver%+*} based on D 
v$_d_ver built with ISL $_isl for Arch Linux" \
   gdc_include_dir=/usr/include/dlang/gdc
@@ -136,4 +133,10 @@
 
   cd "$srcdir"/gcc-build
   make -C $CHOST/libphobos DESTDIR="$pkgdir" install
+
+  if [ -d "$pkgdir"/usr/lib64 ]; then
+echo "/usr/lib64 detected - !!!"
+mv "$pkgdir"/usr/lib64/* "$pkgdir"/usr/lib
+rmdir "$pkgdir"/usr/lib64
+  fi
 }


[arch-commits] Commit in gdc/trunk (PKGBUILD)

2017-04-17 Thread Evangelos Foutras
Date: Monday, April 17, 2017 @ 15:29:29
  Author: foutrelis
Revision: 223492

upgpkg: gdc 6.2.1-2

Rebuild package signed by disabled key (FS#53676).

Modified:
  gdc/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-04-17 15:29:11 UTC (rev 223491)
+++ PKGBUILD2017-04-17 15:29:29 UTC (rev 223492)
@@ -7,7 +7,7 @@
 
 pkgname=('gdc' 'libgphobos-devel' 'libgphobos')
 pkgver=6.2.1
-pkgrel=1
+pkgrel=2
 _islver=0.16.1
 _gcc_commit=c2103c1
 arch=('i686' 'x86_64')
@@ -16,9 +16,9 @@
 makedepends=('binutils>=2.26' 'git')
 
 source=(
-git://gcc.gnu.org/git/gcc.git#commit=$_gcc_commit
+git+https://gcc.gnu.org/git/gcc.git#commit=$_gcc_commit
 http://isl.gforge.inria.fr/isl-$_islver.tar.bz2
-gdc::git://github.com/D-Programming-GDC/GDC.git#tag=v2.068.2_gcc6
+gdc::git+https://github.com/D-Programming-GDC/GDC.git#tag=v2.068.2_gcc6
 git+https://github.com/D-Programming-GDC/GDMD.git
 paths.diff
 )


[arch-commits] Commit in gdc/trunk (PKGBUILD folders.diff paths.diff system_zlib.diff)

2016-12-26 Thread Mihails Strasuns
Date: Monday, December 26, 2016 @ 22:49:05
  Author: dicebot
Revision: 202871

upgpkg: gdc 6.2.1-1

gdc based on gcc 6.2.1 and D fe 2.068.2

Added:
  gdc/trunk/paths.diff
Modified:
  gdc/trunk/PKGBUILD
Deleted:
  gdc/trunk/folders.diff
  gdc/trunk/system_zlib.diff

--+
 PKGBUILD |  143 -
 folders.diff |   39 --
 paths.diff   |   39 ++
 system_zlib.diff |   49 --
 4 files changed, 115 insertions(+), 155 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-12-26 22:42:29 UTC (rev 202870)
+++ PKGBUILD2016-12-26 22:49:05 UTC (rev 202871)
@@ -1,3 +1,4 @@
+# $Id$
 # Maintainer: Mihails Strasuns 
 # Contributor: Moritz Maxeiner 
 # Contributor: Jerome Berger 
@@ -4,26 +5,22 @@
 # Contributor: Jesus Alvarez 
 # Contributor: Allan McRae 
 
-pkgname=('gdc' 'libgphobos-devel')
-pkgver=6.1.1
+pkgname=('gdc' 'libgphobos-devel' 'libgphobos')
+pkgver=6.2.1
 pkgrel=1
-_pkgver=6
 _islver=0.16.1
-_commit=80f78834
+_gcc_commit=c2103c1
 arch=('i686' 'x86_64')
 license=('GPL')
 url="https://github.com/D-Programming-GDC/GDC;
-makedepends=('binutils>=2.26' 'git' 'gcc' 'make' 'perl' 'automake')
-options=('!emptydirs' '!buildflags')
-groups=('dlang' 'dlang-gdc')
-conflicts=('gdc1-bin' 'gdc1-hg' 'gdc-git')
+makedepends=('binutils>=2.26' 'git')
+
 source=(
-git://gcc.gnu.org/git/gcc.git#commit=${_commit}
-http://isl.gforge.inria.fr/isl-${_islver}.tar.bz2
-
gdc::git://github.com/D-Programming-GDC/GDC.git#commit=73a7fb5d4e75c0e1a4ee7cdb67d080cceb8ff955
+git://gcc.gnu.org/git/gcc.git#commit=$_gcc_commit
+http://isl.gforge.inria.fr/isl-$_islver.tar.bz2
+gdc::git://github.com/D-Programming-GDC/GDC.git#tag=v2.068.2_gcc6
 git+https://github.com/D-Programming-GDC/GDMD.git
-folders.diff
-system_zlib.diff
+paths.diff
 )
 sha256sums=(
 'SKIP'
@@ -30,60 +27,73 @@
 '412538bb65c799ac98e17e8cfcdacbb257a57362acfaaff254b0fcae970126d2'
 'SKIP'
 'SKIP'
-'ea5c80a28026393bd4627485602660a4a01d9fbc65299e95e768013e197bad20'
-'3c818788b5435794c37e5d3d131fe74c813368a3b7260f85fb2cd725308e4889'
+'e04cea391007ebab5d9b0ff33179c1fded0afcf43059b811290472ea5361'
 )
 
-# gcc-6.0 forces a changed triplet - need to address in pacman/devtools
-[[ $CARCH == "x86_64" ]] && CHOST=x86_64-pc-linux-gnu
+_libdir="usr/lib/gcc/$CHOST/$pkgver"
 
 prepare() {
-  cd ${srcdir}/gcc
+cd $srcdir/gcc
 
-  # link isl for in-tree build
-  ln -sf ../isl-${_islver} isl
+# link isl for in-tree build
+ln -s ../isl-$_islver isl
 
-  # Do not run fixincludes
-  sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in
+# Do not run fixincludes
+sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in
 
-  # Arch Linux installs x86_64 libraries /lib
-  [[ $CARCH == "x86_64" ]] && sed -i '/m64=/s/lib64/lib/' 
gcc/config/i386/t-linux64
+# Arch Linux installs x86_64 libraries /lib
+[[ $CARCH == "x86_64" ]] && sed -i '/m64=/s/lib64/lib/' 
gcc/config/i386/t-linux64
 
-  # hack! - some configure tests for header files using "$CPP $CPPFLAGS"
-  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" {libiberty,gcc}/configure
+# hack! - some configure tests for header files using "$CPP $CPPFLAGS"
+sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" {libiberty,gcc}/configure
 
-  cd $srcdir/gdc
-  git apply $srcdir/folders.diff # fix gdc_include_path
-  git apply $srcdir/system_zlib.diff # use correct system zlib
-  ./setup-gcc.sh ../gcc
+# GDC setup
+cd $srcdir/gdc
+git apply $srcdir/paths.diff
+./setup-gcc.sh ../gcc
 
-  mkdir ${srcdir}/gcc-build
+mkdir $srcdir/gcc-build
 }
 
 build() {
-  cd ${srcdir}/gcc-build
+cd $srcdir/gcc-build
 
-  # using -pipe causes spurious test-suite failures
-  # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48565
-  CFLAGS=${CFLAGS/-pipe/}
-  CXXFLAGS=${CXXFLAGS/-pipe/}
+# using -pipe causes spurious test-suite failures
+# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48565
+CFLAGS=${CFLAGS/-pipe/}
+CXXFLAGS=${CXXFLAGS/-pipe/}
 
-  ${srcdir}/gcc/configure --prefix=/usr \
-  --libdir=/usr/lib --libexecdir=/usr/lib \
-  --mandir=/usr/share/man --infodir=/usr/share/info \
-  --with-bugurl=https://bugs.archlinux.org/ \
-  --enable-languages=d \
-  --enable-shared --enable-threads=posix --enable-libmpx \
-  --with-system-zlib --with-isl --enable-__cxa_atexit \
-  --disable-libunwind-exceptions --enable-clocale=gnu \
-  --disable-libstdcxx-pch --disable-libssp \
-  --enable-gnu-unique-object --enable-linker-build-id \
-  --enable-lto --enable-plugin --enable-install-libiberty \
-  --with-linker-hash-style=gnu --enable-gnu-indirect-function \
-  --disable-multilib --disable-werror \
-  --enable-checking=release
+

[arch-commits] Commit in gdc/trunk (PKGBUILD system_zlib.diff)

2016-05-05 Thread Михаил Страшун
Date: Friday, May 6, 2016 @ 07:01:00
  Author: dicebot
Revision: 173915

upgpkg: gdc 6.1.1-1

gdc adapted for gcc 6.1.1

Modified:
  gdc/trunk/PKGBUILD
  gdc/trunk/system_zlib.diff

--+
 PKGBUILD |  108 -
 system_zlib.diff |   47 ++-
 2 files changed, 64 insertions(+), 91 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-05-06 02:52:36 UTC (rev 173914)
+++ PKGBUILD2016-05-06 05:01:00 UTC (rev 173915)
@@ -2,78 +2,88 @@
 # Contributor: Moritz Maxeiner 
 # Contributor: Jerome Berger 
 # Contributor: Jesus Alvarez 
+# Contributor: Allan McRae 
 
 pkgname=('gdc' 'libgphobos-devel')
-pkgver=5.3.0
-pkgrel=2
+pkgver=6.1.1
+pkgrel=1
+_pkgver=6
+_islver=0.16.1
+_commit=80f78834
 arch=('i686' 'x86_64')
+license=('GPL')
 url="https://github.com/D-Programming-GDC/GDC;
-license=('GPL')
-makedepends=('binutils>=2.23' 'git' 'gcc' 'make' 'perl' 'automake')
+makedepends=('binutils>=2.26' 'git' 'gcc' 'make' 'perl' 'automake')
 options=('!emptydirs' '!buildflags')
+groups=('dlang' 'dlang-gdc')
+conflicts=('gdc1-bin' 'gdc1-hg' 'gdc-git')
 source=(
-"ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2;
-
"gdc::git://github.com/D-Programming-GDC/GDC.git#commit=e95a735b978da70467bbb553fab40efa3ea17569"
-"git+https://github.com/D-Programming-GDC/GDMD.git;
-"folders.diff"
-"system_zlib.diff"
+git://gcc.gnu.org/git/gcc.git#commit=${_commit}
+http://isl.gforge.inria.fr/isl-${_islver}.tar.bz2
+
gdc::git://github.com/D-Programming-GDC/GDC.git#commit=73a7fb5d4e75c0e1a4ee7cdb67d080cceb8ff955
+git+https://github.com/D-Programming-GDC/GDMD.git
+folders.diff
+system_zlib.diff
 )
 sha256sums=(
-'b84f5592e9218b73dbae612b5253035a7b34a9a1f7688d2e1bfaaf7267d5c4db'
 'SKIP'
+'412538bb65c799ac98e17e8cfcdacbb257a57362acfaaff254b0fcae970126d2'
 'SKIP'
+'SKIP'
 'ea5c80a28026393bd4627485602660a4a01d9fbc65299e95e768013e197bad20'
-'4c679ac426a841182215654fc0294449e4fde107da0e0f6c2dbb6476f0b2'
+'3c818788b5435794c37e5d3d131fe74c813368a3b7260f85fb2cd725308e4889'
 )
 
-groups=('dlang' 'dlang-gdc')
-conflicts=('gdc1-bin' 'gdc1-hg' 'gdc-git')
+# gcc-6.0 forces a changed triplet - need to address in pacman/devtools
+[[ $CARCH == "x86_64" ]] && CHOST=x86_64-pc-linux-gnu
 
-prepare()
-{
-cd $srcdir/gcc-$pkgver
+prepare() {
+  cd ${srcdir}/gcc
 
-# Arch Linux installs x86_64 libraries /lib
-[[ $CARCH == "x86_64" ]] && sed -i '/m64=/s/lib64/lib/' 
gcc/config/i386/t-linux64
+  # link isl for in-tree build
+  ln -sf ../isl-${_islver} isl
 
-echo ${pkgver} > gcc/BASE-VER
+  # Do not run fixincludes
+  sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in
 
-# hack! - some configure tests for header files using "$CPP $CPPFLAGS"
-sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" {libiberty,gcc}/configure
+  # Arch Linux installs x86_64 libraries /lib
+  [[ $CARCH == "x86_64" ]] && sed -i '/m64=/s/lib64/lib/' 
gcc/config/i386/t-linux64
 
-cd $srcdir/gdc
-git apply $srcdir/folders.diff # fix gdc_include_path
-git apply $srcdir/system_zlib.diff # use correct system zlib
-./setup-gcc.sh ../gcc-$pkgver
+  # hack! - some configure tests for header files using "$CPP $CPPFLAGS"
+  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" {libiberty,gcc}/configure
 
-mkdir $srcdir/gcc-build
+  cd $srcdir/gdc
+  git apply $srcdir/folders.diff # fix gdc_include_path
+  git apply $srcdir/system_zlib.diff # use correct system zlib
+  ./setup-gcc.sh ../gcc
+
+  mkdir ${srcdir}/gcc-build
 }
 
+build() {
+  cd ${srcdir}/gcc-build
 
-build()
-{
-cd ${srcdir}/gcc-build
+  # using -pipe causes spurious test-suite failures
+  # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48565
+  CFLAGS=${CFLAGS/-pipe/}
+  CXXFLAGS=${CXXFLAGS/-pipe/}
 
-${srcdir}/gcc-$pkgver/configure --prefix=/usr \
---libdir=/usr/lib --libexecdir=/usr/lib \
---mandir=/usr/share/man --infodir=/usr/share/info \
---with-bugurl=https://bugs.archlinux.org/ \
---enable-languages=d \
---enable-shared --enable-threads=posix \
---with-system-zlib --enable-__cxa_atexit \
---disable-libunwind-exceptions --enable-clocale=gnu \
---disable-libstdcxx-pch --disable-libssp \
---enable-gnu-unique-object --enable-linker-build-id \
---enable-cloog-backend=isl --disable-cloog-version-check \
---enable-gold --enable-plugin --enable-ld=default \
---enable-install-libiberty --with-plugin-ld=ld.gold \
---with-linker-hash-style=gnu \
---disable-multilib --disable-werror \
---disable-nls --disable-bootstrap \
---disable-libgomp --disable-libmudflap --disable-libquadmath \
---enable-checking=release
+  ${srcdir}/gcc/configure 

[arch-commits] Commit in gdc/trunk (PKGBUILD system_zlib.diff)

2016-02-08 Thread Михаил Страшун
Date: Monday, February 8, 2016 @ 10:42:34
  Author: dicebot
Revision: 160883

upgpkg: gdc 5.3.0-2

Upgrade to latest non-tagged GDC commit which is compatible with GCC 5.3

Modified:
  gdc/trunk/PKGBUILD
  gdc/trunk/system_zlib.diff

--+
 PKGBUILD |6 +++---
 system_zlib.diff |6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-02-08 09:17:44 UTC (rev 160882)
+++ PKGBUILD2016-02-08 09:42:34 UTC (rev 160883)
@@ -5,7 +5,7 @@
 
 pkgname=('gdc' 'libgphobos-devel')
 pkgver=5.3.0
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 url="https://github.com/D-Programming-GDC/GDC;
 license=('GPL')
@@ -13,7 +13,7 @@
 options=('!emptydirs' '!buildflags')
 source=(
 "ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2;
-"gdc::git://github.com/D-Programming-GDC/GDC.git#tag=v2.066.1_gcc5"
+
"gdc::git://github.com/D-Programming-GDC/GDC.git#commit=e95a735b978da70467bbb553fab40efa3ea17569"
 "git+https://github.com/D-Programming-GDC/GDMD.git;
 "folders.diff"
 "system_zlib.diff"
@@ -23,7 +23,7 @@
 'SKIP'
 'SKIP'
 'ea5c80a28026393bd4627485602660a4a01d9fbc65299e95e768013e197bad20'
-'1bf81cde6a7bad096f76db2f20ad8ab2801cd0ab2dd2fa0219503073e8dae480'
+'4c679ac426a841182215654fc0294449e4fde107da0e0f6c2dbb6476f0b2'
 )
 
 groups=('dlang' 'dlang-gdc')

Modified: system_zlib.diff
===
--- system_zlib.diff2016-02-08 09:17:44 UTC (rev 160882)
+++ system_zlib.diff2016-02-08 09:42:34 UTC (rev 160883)
@@ -1,7 +1,7 @@
-diff --git a/gcc/d/d-spec.cc b/gcc/d/d-spec.cc
+diff --git a/gcc/d/d-spec.c b/gcc/d/d-spec.c
 index a43cb34..e4bb527 100644
 a/gcc/d/d-spec.cc
-+++ b/gcc/d/d-spec.cc
+--- a/gcc/d/d-spec.c
 b/gcc/d/d-spec.c
 @@ -96,7 +96,7 @@ lang_specific_driver (cl_decoded_option **in_decoded_options,
/* The number of arguments being added to what's in argv, other than
   libraries.  We use this to track the number of times we've inserted


[arch-commits] Commit in gdc/trunk (PKGBUILD)

2015-12-24 Thread Михаил Страшун
Date: Thursday, December 24, 2015 @ 16:02:39
  Author: dicebot
Revision: 154445

upgpkg: gdc 5.3.0-1

gdc on 5.3 gcc base (no gdc version change)

Modified:
  gdc/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-12-24 13:33:07 UTC (rev 15)
+++ PKGBUILD2015-12-24 15:02:39 UTC (rev 154445)
@@ -4,7 +4,7 @@
 # Contributor: Jesus Alvarez 
 
 pkgname=('gdc' 'libgphobos-devel')
-pkgver=5.2.0
+pkgver=5.3.0
 pkgrel=1
 arch=('i686' 'x86_64')
 url="https://github.com/D-Programming-GDC/GDC;
@@ -19,7 +19,7 @@
 "system_zlib.diff"
 )
 sha256sums=(
-'5f835b04b5f7dd4f4d2dc96190ec1621b8d89f2dc6f638f9f8bc1b1014ba8cad'
+'b84f5592e9218b73dbae612b5253035a7b34a9a1f7688d2e1bfaaf7267d5c4db'
 'SKIP'
 'SKIP'
 'ea5c80a28026393bd4627485602660a4a01d9fbc65299e95e768013e197bad20'


[arch-commits] Commit in gdc/trunk (PKGBUILD)

2015-07-23 Thread Михаил Страшун
Date: Thursday, July 23, 2015 @ 23:23:14
  Author: dicebot
Revision: 137344

upgpkg: gdc 5.2.0-1

update gdc to use gcc 5.2.0

Modified:
  gdc/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-07-23 20:57:02 UTC (rev 137343)
+++ PKGBUILD2015-07-23 21:23:14 UTC (rev 137344)
@@ -4,8 +4,8 @@
 # Contributor: Jesus Alvarez jeezu...@gmail.com
 
 pkgname=('gdc' 'libgphobos-devel')
-pkgver=5.1.0
-pkgrel=3
+pkgver=5.2.0
+pkgrel=1
 arch=('i686' 'x86_64')
 url=https://github.com/D-Programming-GDC/GDC;
 license=('GPL')
@@ -19,7 +19,7 @@
 system_zlib.diff
 )
 sha256sums=(
-'b7dafdf89cbb0e20333dbf5b5349319ae06e3d1a30bf3515b5488f7e89dca5ad'
+'5f835b04b5f7dd4f4d2dc96190ec1621b8d89f2dc6f638f9f8bc1b1014ba8cad'
 'SKIP'
 'SKIP'
 'ea5c80a28026393bd4627485602660a4a01d9fbc65299e95e768013e197bad20'


[arch-commits] Commit in gdc/trunk (PKGBUILD)

2015-06-04 Thread Михаил Страшун
Date: Thursday, June 4, 2015 @ 20:16:22
  Author: dicebot
Revision: 134809

upgpkg: gdc 5.1.0-3

fix gdc description (wrong version mentioned)

Modified:
  gdc/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-06-04 18:13:30 UTC (rev 134808)
+++ PKGBUILD2015-06-04 18:16:22 UTC (rev 134809)
@@ -5,7 +5,7 @@
 
 pkgname=('gdc' 'libgphobos-devel')
 pkgver=5.1.0
-pkgrel=2
+pkgrel=3
 arch=('i686' 'x86_64')
 url=https://github.com/D-Programming-GDC/GDC;
 license=('GPL')
@@ -80,7 +80,7 @@
 {
 depends=('gcc' 'perl' 'binutils' 'libgphobos-devel')
 provides=(d-compiler)
-pkgdesc=Compiler for D programming language which uses gcc backend (2.065 
frontend version)
+pkgdesc=Compiler for D programming language which uses gcc backend
  
 install -D -m755 $srcdir/gcc-build/gcc/gdc $pkgdir/usr/bin/gdc
 install -D -m755 $srcdir/gcc-build/gcc/cc1d 
$pkgdir/usr/lib/gcc/$CHOST/$pkgver/cc1d


[arch-commits] Commit in gdc/trunk (PKGBUILD system_zlib.diff)

2015-06-04 Thread Михаил Страшун
Date: Thursday, June 4, 2015 @ 16:10:29
  Author: dicebot
Revision: 134782

upgpkg: gdc 5.1.0-2

Bug: GDC wasn't using system zlib

Added:
  gdc/trunk/system_zlib.diff
Modified:
  gdc/trunk/PKGBUILD

--+
 PKGBUILD |7 +++-
 system_zlib.diff |   86 +
 2 files changed, 91 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-06-04 14:02:57 UTC (rev 134781)
+++ PKGBUILD2015-06-04 14:10:29 UTC (rev 134782)
@@ -5,7 +5,7 @@
 
 pkgname=('gdc' 'libgphobos-devel')
 pkgver=5.1.0
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 url=https://github.com/D-Programming-GDC/GDC;
 license=('GPL')
@@ -13,9 +13,10 @@
 options=('!emptydirs' '!buildflags')
 source=(
 ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2;
-gdc::git://github.com/D-Programming-GDC/GDC.git#branch=gdc-5
+gdc::git://github.com/D-Programming-GDC/GDC.git#tag=v2.066.1_gcc5
 git+https://github.com/D-Programming-GDC/GDMD.git;
 folders.diff
+system_zlib.diff
 )
 sha256sums=(
 'b7dafdf89cbb0e20333dbf5b5349319ae06e3d1a30bf3515b5488f7e89dca5ad'
@@ -22,6 +23,7 @@
 'SKIP'
 'SKIP'
 'ea5c80a28026393bd4627485602660a4a01d9fbc65299e95e768013e197bad20'
+'1bf81cde6a7bad096f76db2f20ad8ab2801cd0ab2dd2fa0219503073e8dae480'
 )
 
 groups=('dlang' 'dlang-gdc')
@@ -41,6 +43,7 @@
 
 cd $srcdir/gdc
 git apply $srcdir/folders.diff # fix gdc_include_path
+git apply $srcdir/system_zlib.diff # use correct system zlib
 ./setup-gcc.sh ../gcc-$pkgver
 
 mkdir $srcdir/gcc-build

Added: system_zlib.diff
===
--- system_zlib.diff(rev 0)
+++ system_zlib.diff2015-06-04 14:10:29 UTC (rev 134782)
@@ -0,0 +1,86 @@
+diff --git a/gcc/d/d-spec.cc b/gcc/d/d-spec.cc
+index a43cb34..e4bb527 100644
+--- a/gcc/d/d-spec.cc
 b/gcc/d/d-spec.cc
+@@ -96,7 +96,7 @@ lang_specific_driver (cl_decoded_option **in_decoded_options,
+   /* The number of arguments being added to what's in argv, other than
+  libraries.  We use this to track the number of times we've inserted
+  -xd/-xnone.  */
+-  int added = 0;
++  int added = 1; /* -lz */
+ 
+   /* The new argument list will be contained in this.  */
+   cl_decoded_option *new_decoded_options;
+@@ -462,6 +462,14 @@ lang_specific_driver (cl_decoded_option 
**in_decoded_options,
+   j++;
+ }
+ 
++  /* Use the up-to-date system zlib with libphobos */
++  {
++  generate_option (OPT_l, z, 1, CL_DRIVER,
++  new_decoded_options[j]);
++  added_libraries++;
++  j++;
++  }
++
+   /* Add `-lgphobos' if we haven't already done so.  */
+   if (library  0  phobos)
+ {
+diff --git a/libphobos/src/Makefile.am b/libphobos/src/Makefile.am
+index de99b58..d174646 100644
+--- a/libphobos/src/Makefile.am
 b/libphobos/src/Makefile.am
+@@ -92,8 +92,6 @@ Z_OBJS=zlib/adler32.o zlib/compress.o zlib/crc32.o 
zlib/deflate.o \
+zlib/infback.o zlib/inffast.o zlib/inflate.o zlib/inftrees.o \
+zlib/trees.o zlib/uncompr.o zlib/zutil.o
+ 
+-ZLIB_OBJS=@ZLIB_OBJS@
+-
+ 
+ # modules which require some kind of operating system
+ OS_OBJS=std/file.o std/mmfile.o std/path.o std/process.o \
+@@ -113,7 +111,7 @@ WINDOWS_OBJS=std/c/windows/com.o std/c/windows/stat.o 
std/c/wcharh.o \
+ 
+ D_EXTRA_OBJS=@D_EXTRA_OBJS@
+ 
+-ALL_PHOBOS_OBJS = $(D_EXTRA_OBJS) $(MAIN_OBJS) $(ZLIB_OBJS)
++ALL_PHOBOS_OBJS = $(D_EXTRA_OBJS) $(MAIN_OBJS)
+ 
+ 
+ libgphobos2.a : $(ALL_PHOBOS_OBJS) ../libdruntime/libgdruntime.a
+diff --git a/libphobos/src/Makefile.in b/libphobos/src/Makefile.in
+index 6d3a91f..803e4aa 100644
+--- a/libphobos/src/Makefile.in
 b/libphobos/src/Makefile.in
+@@ -150,7 +150,6 @@ SHELL = @SHELL@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ WERROR = @WERROR@
+-ZLIB_OBJS = @ZLIB_OBJS@
+ abs_builddir = @abs_builddir@
+ abs_srcdir = @abs_srcdir@
+ abs_top_builddir = @abs_top_builddir@
+@@ -272,7 +271,7 @@ WINDOWS_OBJS = std/c/windows/com.o std/c/windows/stat.o 
std/c/wcharh.o \
+std/windows/charset.o std/windows/iunknown.o 
std/windows/registry.o \
+std/windows/syserror.o std/internal/windows/advapi32.o
+ 
+-ALL_PHOBOS_OBJS = $(D_EXTRA_OBJS) $(MAIN_OBJS) $(ZLIB_OBJS)
++ALL_PHOBOS_OBJS = $(D_EXTRA_OBJS) $(MAIN_OBJS)
+ 
+ # Work around what appears to be a GNU make bug handling MAKEFLAGS
+ # values defined in terms of make variables, as is the case for CC and
+diff --git a/libphobos/src/etc/c/zlib.d b/libphobos/src/etc/c/zlib.d
+index 65b1d92..b41b63a 100644
+--- a/libphobos/src/etc/c/zlib.d
 b/libphobos/src/etc/c/zlib.d
+@@ -37,8 +37,8 @@ import core.stdc.config;
+ 
+ extern (C):
+ 
+-const char[] ZLIB_VERSION = 1.2.3;
+-const ZLIB_VERNUM = 0x1230;
++const char[] ZLIB_VERSION = 1.2.8;
++const ZLIB_VERNUM = 0x1280;
+ 
+ /*
+  The 'zlib' compression library provides in-memory 

[arch-commits] Commit in gdc/trunk (PKGBUILD)

2015-05-28 Thread Михаил Страшун
Date: Thursday, May 28, 2015 @ 23:25:46
  Author: dicebot
Revision: 134287

upgpkg: gdc 5.1.0-1

Switch gdc to 5.1 gcc base

Modified:
  gdc/trunk/PKGBUILD

--+
 PKGBUILD |   10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-05-28 21:22:45 UTC (rev 134286)
+++ PKGBUILD2015-05-28 21:25:46 UTC (rev 134287)
@@ -4,8 +4,8 @@
 # Contributor: Jesus Alvarez jeezu...@gmail.com
 
 pkgname=('gdc' 'libgphobos-devel')
-pkgver=4.9.2
-pkgrel=2
+pkgver=5.1.0
+pkgrel=1
 arch=('i686' 'x86_64')
 url=https://github.com/D-Programming-GDC/GDC;
 license=('GPL')
@@ -13,12 +13,12 @@
 options=('!emptydirs' '!buildflags')
 source=(
 ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2;
-gdc::git://github.com/D-Programming-GDC/GDC.git#tag=v2.066.1_gcc4.9
+gdc::git://github.com/D-Programming-GDC/GDC.git#branch=gdc-5
 git+https://github.com/D-Programming-GDC/GDMD.git;
 folders.diff
 )
 sha256sums=(
-'2020c98295856aa13fda0f2f3a4794490757fc24bcca918d52cc8b4917b972dd'
+'b7dafdf89cbb0e20333dbf5b5349319ae06e3d1a30bf3515b5488f7e89dca5ad'
 'SKIP'
 'SKIP'
 'ea5c80a28026393bd4627485602660a4a01d9fbc65299e95e768013e197bad20'
@@ -70,7 +70,7 @@
 --disable-libgomp --disable-libmudflap --disable-libquadmath \
 --enable-checking=release
 
-make 
+make -j 4
 }
 
 package_gdc()


[arch-commits] Commit in gdc/trunk (PKGBUILD folders.diff)

2015-04-24 Thread Михаил Страшун
Date: Friday, April 24, 2015 @ 19:22:12
  Author: dicebot
Revision: 132127

upgpkg: gdc 4.9.2-2

GDC D frontend - 2.066.1

Modified:
  gdc/trunk/PKGBUILD
  gdc/trunk/folders.diff

--+
 PKGBUILD |8 +++
 folders.diff |   61 ++---
 2 files changed, 37 insertions(+), 32 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-04-24 17:11:41 UTC (rev 132126)
+++ PKGBUILD2015-04-24 17:22:12 UTC (rev 132127)
@@ -5,15 +5,15 @@
 
 pkgname=('gdc' 'libgphobos-devel')
 pkgver=4.9.2
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 url=https://github.com/D-Programming-GDC/GDC;
 license=('GPL')
-makedepends=('binutils=2.23' 'git' 'gcc' 'make' 'perl' 'cloog' 'automake')
+makedepends=('binutils=2.23' 'git' 'gcc' 'make' 'perl' 'automake')
 options=('!emptydirs' '!buildflags')
 source=(
 ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2;
-gdc::git://github.com/D-Programming-GDC/GDC.git#branch=gdc-4.9
+gdc::git://github.com/D-Programming-GDC/GDC.git#tag=v2.066.1_gcc4.9
 git+https://github.com/D-Programming-GDC/GDMD.git;
 folders.diff
 )
@@ -21,7 +21,7 @@
 '2020c98295856aa13fda0f2f3a4794490757fc24bcca918d52cc8b4917b972dd'
 'SKIP'
 'SKIP'
-'82f1ba0825164a74660bd5008d8f3acae1bacc3271c86475efc1601fe0da73c4'
+'ea5c80a28026393bd4627485602660a4a01d9fbc65299e95e768013e197bad20'
 )
 
 groups=('dlang' 'dlang-gdc')

Modified: folders.diff
===
--- folders.diff2015-04-24 17:11:41 UTC (rev 132126)
+++ folders.diff2015-04-24 17:22:12 UTC (rev 132127)
@@ -1,34 +1,39 @@
+diff --git a/gcc/d/d-incpath.cc b/gcc/d/d-incpath.cc
+index e04ddc6..168a033 100644
+--- a/gcc/d/d-incpath.cc
 b/gcc/d/d-incpath.cc
+@@ -202,7 +202,7 @@ add_import_paths(const char *iprefix, const char 
*imultilib, bool stdinc)
+   import_path = xstrdup(p-fname);
+ 
+ // Add D-specific suffix.
+-import_path = concat(import_path, /d, NULL);
++import_path = concat(import_path, /dlang/gdc, NULL);
+ 
+ // Ignore duplicate entries.
+ bool found = false;
+diff --git a/libphobos/configure b/libphobos/configure
+index 2ff7114..f7f0660 100755
+--- a/libphobos/configure
 b/libphobos/configure
+@@ -3883,7 +3883,7 @@ fi
+ 
+ 
+ # Default case for install directory for D sources files.
+-gdc_include_dir='${libdir}/gcc/${target_alias}'/${d_gcc_ver}/include/d
++gdc_include_dir=${prefix}/include/dlang/gdc
+ 
+ 
+ # Sanity check for the cross-compilation case:
 diff --git a/libphobos/configure.ac b/libphobos/configure.ac
-index 51d9b86..6ff04f1 100644
+index 84492dd..947f6a8 100644
 --- a/libphobos/configure.ac
 +++ b/libphobos/configure.ac
-@@ -239,9 +239,9 @@ else
- fi
+@@ -167,7 +167,7 @@ AC_SUBST(phobos_toolexecdir)
+ AC_SUBST(phobos_toolexeclibdir)
  
- if test ${gdc_host} != ${gdc_target}; then
--gdc_include_dir='${libdir}/gcc/${host_alias}'/${d_gcc_ver}/include/d
-+gdc_include_dir='${libdir}/gcc/${host_alias}'/${d_gcc_ver}/include/dlang
- else
--gdc_include_dir='${prefix}'/include/d/${d_gcc_ver}
-+gdc_include_dir='${prefix}'/include/dlang/gdc
- fi
+ # Default case for install directory for D sources files.
+-gdc_include_dir='${libdir}/gcc/${target_alias}'/${d_gcc_ver}/include/d
++gdc_include_dir=${prefix}/include/dlang/gdc
  AC_SUBST(gdc_include_dir)
- AC_ARG_WITH([cross-host],
-
-diff --git a/gcc/d/Make-lang.in b/gcc/d/Make-lang.in
-index 17e5c45..8a656b1 100644
 a/gcc/d/Make-lang.in
-+++ b/gcc/d/Make-lang.in
-@@ -25,10 +25,10 @@ D_TARGET_INSTALL_NAME = $(target_alias)-$(shell echo 
gdc|sed '$(program_transfor
  
- # This should be configured
- ifeq ($(host), $(target))
--  D_include_dir = `echo $(exec_prefix) | sed -e 's|^$(prefix)||' -e 
's|/[^/]*|/..|g'`/include/d/$(version)
-+  D_include_dir = `echo $(exec_prefix) | sed -e 's|^$(prefix)||' -e 
's|/[^/]*|/..|g'`/include/dlang/gdc
-   gcc_d_include_dir = $(libsubdir)/$(unlibsubdir)/..$(D_include_dir)
- else
--  gcc_d_include_dir = $(libsubdir)/include/d
-+  gcc_d_include_dir = $(libsubdir)/include/dlang/gdc
- endif
-
-
+ dnl Checks for header files.


[arch-commits] Commit in gdc/trunk (PKGBUILD)

2014-11-10 Thread Михаил Страшун
Date: Tuesday, November 11, 2014 @ 02:38:38
  Author: dicebot
Revision: 122331

upgpkg: gdc 4.9.2-1

gdc update for gcc 4.9.2

Modified:
  gdc/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-11-11 00:45:30 UTC (rev 122330)
+++ PKGBUILD2014-11-11 01:38:38 UTC (rev 122331)
@@ -4,8 +4,8 @@
 # Contributor: Jesus Alvarez jeezu...@gmail.com
 
 pkgname=('gdc' 'libgphobos-devel')
-pkgver=4.9.1
-pkgrel=2
+pkgver=4.9.2
+pkgrel=1
 arch=('i686' 'x86_64')
 url=https://github.com/D-Programming-GDC/GDC;
 license=('GPL')
@@ -18,7 +18,7 @@
 folders.diff
 )
 sha256sums=(
-'d334781a124ada6f38e63b545e2a3b8c2183049515a1abab6d513f109f1d717e'
+'2020c98295856aa13fda0f2f3a4794490757fc24bcca918d52cc8b4917b972dd'
 'SKIP'
 'SKIP'
 '82f1ba0825164a74660bd5008d8f3acae1bacc3271c86475efc1601fe0da73c4'


[arch-commits] Commit in gdc/trunk (PKGBUILD)

2014-09-14 Thread Михаил Страшун
Date: Sunday, September 14, 2014 @ 10:44:02
  Author: dicebot
Revision: 118952

upgpkg: gdc 4.9.1-2

gdc : rebuild with new upstream branch head and update description

Modified:
  gdc/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-09-14 08:32:26 UTC (rev 118951)
+++ PKGBUILD2014-09-14 08:44:02 UTC (rev 118952)
@@ -5,7 +5,7 @@
 
 pkgname=('gdc' 'libgphobos-devel')
 pkgver=4.9.1
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 url=https://github.com/D-Programming-GDC/GDC;
 license=('GPL')
@@ -77,7 +77,7 @@
 {
 depends=('gcc' 'perl' 'binutils' 'libgphobos-devel')
 provides=(d-compiler)
-pkgdesc=Compiler for D programming language which uses gcc backend 
(2.064.2 frontend version)
+pkgdesc=Compiler for D programming language which uses gcc backend (2.065 
frontend version)
  
 install -D -m755 $srcdir/gcc-build/gcc/gdc $pkgdir/usr/bin/gdc
 install -D -m755 $srcdir/gcc-build/gcc/cc1d 
$pkgdir/usr/lib/gcc/$CHOST/$pkgver/cc1d



[arch-commits] Commit in gdc/trunk (PKGBUILD)

2014-07-23 Thread Михаил Страшун
Date: Thursday, July 24, 2014 @ 01:43:28
  Author: dicebot
Revision: 116269

upgpkg: gdc 4.9.1-1

gdc - 4.9.1

Modified:
  gdc/trunk/PKGBUILD

--+
 PKGBUILD |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-07-23 23:23:06 UTC (rev 116268)
+++ PKGBUILD2014-07-23 23:43:28 UTC (rev 116269)
@@ -4,8 +4,8 @@
 # Contributor: Jesus Alvarez jeezu...@gmail.com
 
 pkgname=('gdc' 'libgphobos-devel')
-pkgver=4.9.0
-pkgrel=3
+pkgver=4.9.1
+pkgrel=1
 arch=('i686' 'x86_64')
 url=https://github.com/D-Programming-GDC/GDC;
 license=('GPL')
@@ -18,7 +18,7 @@
 folders.diff
 )
 sha256sums=(
-'b9b047a97bade9c1c89970bc8e211ff57b7b8998a1730a80a653d329f8ed1257'
+'d334781a124ada6f38e63b545e2a3b8c2183049515a1abab6d513f109f1d717e'
 'SKIP'
 'SKIP'
 '82f1ba0825164a74660bd5008d8f3acae1bacc3271c86475efc1601fe0da73c4'
@@ -106,7 +106,7 @@
rm $pkgdir/usr/include/dlang/gdc/gcc/libbacktrace.d.in
 
 # phobos
-cp $srcdir/gdc/libphobos/src/crc32.d ${pkgdir}/usr/include/dlang/gdc/
+# cp $srcdir/gdc/libphobos/src/crc32.d ${pkgdir}/usr/include/dlang/gdc/
 cp -r $srcdir/gdc/libphobos/src/std ${pkgdir}/usr/include/dlang/gdc/std
 cp -r $srcdir/gdc/libphobos/src/etc ${pkgdir}/usr/include/dlang/gdc/etc
 



[arch-commits] Commit in gdc/trunk (PKGBUILD)

2014-06-10 Thread Михаил Страшун
Date: Tuesday, June 10, 2014 @ 20:52:37
  Author: dicebot
Revision: 112980

upgpkg: gdc 4.9.0-3

rebuild gdc vs [staging]

Modified:
  gdc/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-06-10 18:08:29 UTC (rev 112979)
+++ PKGBUILD2014-06-10 18:52:37 UTC (rev 112980)
@@ -5,7 +5,7 @@
 
 pkgname=('gdc' 'libgphobos-devel')
 pkgver=4.9.0
-pkgrel=2
+pkgrel=3
 arch=('i686' 'x86_64')
 url=https://github.com/D-Programming-GDC/GDC;
 license=('GPL')



[arch-commits] Commit in gdc/trunk (PKGBUILD)

2014-06-06 Thread Михаил Страшун
Date: Friday, June 6, 2014 @ 12:58:37
  Author: dicebot
Revision: 112755

upgpkg: gdc 4.9.0-2

isl 0.13 rebuild

Modified:
  gdc/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-06-06 09:25:10 UTC (rev 112754)
+++ PKGBUILD2014-06-06 10:58:37 UTC (rev 112755)
@@ -5,7 +5,7 @@
 
 pkgname=('gdc' 'libgphobos-devel')
 pkgver=4.9.0
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 url=https://github.com/D-Programming-GDC/GDC;
 license=('GPL')



[arch-commits] Commit in gdc/trunk (PKGBUILD)

2014-05-01 Thread Михаил Страшун
Date: Friday, May 2, 2014 @ 00:59:34
  Author: dicebot
Revision: 110504

gdc: preparation for gcc 4.9.0 switch

Modified:
  gdc/trunk/PKGBUILD

--+
 PKGBUILD |   25 -
 1 file changed, 12 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-05-01 18:40:21 UTC (rev 110503)
+++ PKGBUILD2014-05-01 22:59:34 UTC (rev 110504)
@@ -4,22 +4,21 @@
 # Contributor: Jesus Alvarez jeezu...@gmail.com
 
 pkgname=('gdc' 'libgphobos-devel')
-pkgver=4.8.2
-pkgrel=7
+pkgver=4.9.0
+pkgrel=1
 arch=('i686' 'x86_64')
 url=https://github.com/D-Programming-GDC/GDC;
 license=('GPL')
 makedepends=('binutils=2.23' 'git' 'gcc' 'make' 'perl' 'cloog' 'automake')
 options=('!emptydirs' '!buildflags')
-_snapshot=4.8-20130725
 source=(
-ftp://gcc.gnu.org/pub/gcc/snapshots/${_snapshot}/gcc-${_snapshot}.tar.bz2;
-gdc::git://github.com/D-Programming-GDC/GDC.git#branch=gdc-4.8
+ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2;
+gdc::git://github.com/D-Programming-GDC/GDC.git#branch=gdc-4.9
 git+https://github.com/D-Programming-GDC/GDMD.git;
 folders.diff
 )
 sha256sums=(
-'e4e2202b15f8ba323f88c65de0e4190b0630a4b2e70b0653526b31e946877ead'
+'b9b047a97bade9c1c89970bc8e211ff57b7b8998a1730a80a653d329f8ed1257'
 'SKIP'
 'SKIP'
 '82f1ba0825164a74660bd5008d8f3acae1bacc3271c86475efc1601fe0da73c4'
@@ -30,12 +29,12 @@
 
 prepare()
 {
-cd $srcdir/gcc-$_snapshot
+cd $srcdir/gcc-$pkgver
 
-# Do not run fixincludes
-sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in
+# Arch Linux installs x86_64 libraries /lib
+[[ $CARCH == x86_64 ]]  sed -i '/m64=/s/lib64/lib/' 
gcc/config/i386/t-linux64
 
-echo $pkgver  gcc/BASE-VER
+echo ${pkgver}  gcc/BASE-VER
 
 # hack! - some configure tests for header files using $CPP $CPPFLAGS
 sed -i /ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/ {libiberty,gcc}/configure
@@ -42,7 +41,7 @@
 
 cd $srcdir/gdc
 git apply $srcdir/folders.diff # fix gdc_include_path
-./setup-gcc.sh ../gcc-$_snapshot
+./setup-gcc.sh ../gcc-$pkgver
 
 mkdir $srcdir/gcc-build
 }
@@ -52,7 +51,7 @@
 {
 cd ${srcdir}/gcc-build
 
-${srcdir}/gcc-$_snapshot/configure --prefix=/usr \
+${srcdir}/gcc-$pkgver/configure --prefix=/usr \
 --libdir=/usr/lib --libexecdir=/usr/lib \
 --mandir=/usr/share/man --infodir=/usr/share/info \
 --with-bugurl=https://bugs.archlinux.org/ \
@@ -63,7 +62,7 @@
 --disable-libstdcxx-pch --disable-libssp \
 --enable-gnu-unique-object --enable-linker-build-id \
 --enable-cloog-backend=isl --disable-cloog-version-check \
---enable-lto --enable-gold --enable-plugin --enable-ld=default \
+--enable-gold --enable-plugin --enable-ld=default \
 --enable-install-libiberty --with-plugin-ld=ld.gold \
 --with-linker-hash-style=gnu \
 --disable-multilib --disable-werror \



[arch-commits] Commit in gdc/trunk (PKGBUILD)

2014-03-02 Thread Михаил Страшун
Date: Monday, March 3, 2014 @ 01:09:46
  Author: dicebot
Revision: 106424

upgpkg: gdc 4.8.2-7

gdc: release flags + reverse stdlib dependency

Modified:
  gdc/trunk/PKGBUILD

--+
 PKGBUILD |   41 +
 1 file changed, 25 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-03-02 22:29:17 UTC (rev 106423)
+++ PKGBUILD2014-03-03 00:09:46 UTC (rev 106424)
@@ -5,7 +5,7 @@
 
 pkgname=('gdc' 'libgphobos-devel')
 pkgver=4.8.2
-pkgrel=5
+pkgrel=7
 arch=('i686' 'x86_64')
 url=https://github.com/D-Programming-GDC/GDC;
 license=('GPL')
@@ -12,12 +12,18 @@
 makedepends=('binutils=2.23' 'git' 'gcc' 'make' 'perl' 'cloog' 'automake')
 options=('!emptydirs' '!buildflags')
 _snapshot=4.8-20130725
-source=(ftp://gcc.gnu.org/pub/gcc/snapshots/${_snapshot}/gcc-${_snapshot}.tar.bz2
-gdc::git://github.com/D-Programming-GDC/GDC.git#branch=gdc-4.8
-folders.diff)
-sha256sums=('e4e2202b15f8ba323f88c65de0e4190b0630a4b2e70b0653526b31e946877ead'
-'SKIP'
-'82f1ba0825164a74660bd5008d8f3acae1bacc3271c86475efc1601fe0da73c4')
+source=(
+ftp://gcc.gnu.org/pub/gcc/snapshots/${_snapshot}/gcc-${_snapshot}.tar.bz2;
+gdc::git://github.com/D-Programming-GDC/GDC.git#branch=gdc-4.8
+git+https://github.com/D-Programming-GDC/GDMD.git;
+folders.diff
+)
+sha256sums=(
+'e4e2202b15f8ba323f88c65de0e4190b0630a4b2e70b0653526b31e946877ead'
+'SKIP'
+'SKIP'
+'82f1ba0825164a74660bd5008d8f3acae1bacc3271c86475efc1601fe0da73c4'
+)
 
 groups=('dlang' 'dlang-gdc')
 conflicts=('gdc1-bin' 'gdc1-hg' 'gdc-git')
@@ -54,15 +60,16 @@
 --enable-shared --enable-threads=posix \
 --with-system-zlib --enable-__cxa_atexit \
 --disable-libunwind-exceptions --enable-clocale=gnu \
---disable-libstdcxx-pch \
+--disable-libstdcxx-pch --disable-libssp \
 --enable-gnu-unique-object --enable-linker-build-id \
 --enable-cloog-backend=isl --disable-cloog-version-check \
---enable-lto --enable-gold --enable-ld=default \
---enable-plugin --with-plugin-ld=ld.gold \
---with-linker-hash-style=gnu --disable-install-libiberty \
---disable-multilib --disable-libssp --disable-werror \
+--enable-lto --enable-gold --enable-plugin --enable-ld=default \
+--enable-install-libiberty --with-plugin-ld=ld.gold \
+--with-linker-hash-style=gnu \
+--disable-multilib --disable-werror \
 --disable-nls --disable-bootstrap \
---disable-libgomp --disable-libmudflap --disable-libquadmath
+--disable-libgomp --disable-libmudflap --disable-libquadmath \
+--enable-checking=release
 
 make 
 }
@@ -69,13 +76,16 @@
 
 package_gdc()
 {
-depends=('gcc' 'binutils')
-optdepends=('libgphobos-devel: D standard library, GDC version')
+depends=('gcc' 'perl' 'binutils' 'libgphobos-devel')
 provides=(d-compiler)
 pkgdesc=Compiler for D programming language which uses gcc backend 
(2.064.2 frontend version)
  
 install -D -m755 $srcdir/gcc-build/gcc/gdc $pkgdir/usr/bin/gdc
 install -D -m755 $srcdir/gcc-build/gcc/cc1d 
$pkgdir/usr/lib/gcc/$CHOST/$pkgver/cc1d
+
+# tools
+install -D -m755 $srcdir/GDMD/dmd-script $pkgdir/usr/bin/gdmd
+install -D -m644 $srcdir/GDMD/dmd-script.1 
$pkgdir/usr/share/man/man1/gdmd.1
 }
 
 package_libgphobos-devel()
@@ -83,7 +93,6 @@
 pkgdesc=Standard library for D programming language, GDC port
 provides=(d-runtime d-stdlib)
 options=(staticlibs)
-depends=('gdc')
 
 # druntime
 install -D $srcdir/gdc/libphobos/libdruntime/object.di 
$pkgdir/usr/include/dlang/gdc/object.di



[arch-commits] Commit in gdc/trunk (PKGBUILD folders.diff)

2014-01-06 Thread Михаил Страшун
Date: Monday, January 6, 2014 @ 14:45:20
  Author: dicebot
Revision: 103472

upgpkg: gdc 4.8.2-5

Adjust gdc configure.ac patch to new upstream

Modified:
  gdc/trunk/PKGBUILD
  gdc/trunk/folders.diff

--+
 PKGBUILD |   21 +++--
 folders.diff |   30 --
 2 files changed, 35 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-01-06 13:38:05 UTC (rev 103471)
+++ PKGBUILD2014-01-06 13:45:20 UTC (rev 103472)
@@ -5,7 +5,7 @@
 
 pkgname=('gdc' 'libgphobos-devel')
 pkgver=4.8.2
-pkgrel=4
+pkgrel=5
 arch=('i686' 'x86_64')
 url=https://github.com/D-Programming-GDC/GDC;
 license=('GPL')
@@ -17,7 +17,7 @@
 folders.diff)
 sha256sums=('e4e2202b15f8ba323f88c65de0e4190b0630a4b2e70b0653526b31e946877ead'
 'SKIP'
-'805d1130394e3ff18ae7043e111fe2ea045a7da6f290d298a670f9e2c35ba533')
+'82f1ba0825164a74660bd5008d8f3acae1bacc3271c86475efc1601fe0da73c4')
 
 groups=('dlang' 'dlang-gdc')
 conflicts=('gdc1-bin' 'gdc1-hg' 'gdc-git')
@@ -86,20 +86,21 @@
 depends=('gdc')
 
 # druntime
-install -D $srcdir/gdc/libphobos/libdruntime/object.di 
$pkgdir/usr/include/dlang/gdc/$pkgver/object.di
-cp -r $srcdir/gdc/libphobos/libdruntime/core 
$pkgdir/usr/include/dlang/gdc/$pkgver/core
-cp -r $srcdir/gdc/libphobos/libdruntime/gcc 
$pkgdir/usr/include/dlang/gdc/$pkgver/gcc
+install -D $srcdir/gdc/libphobos/libdruntime/object.di 
$pkgdir/usr/include/dlang/gdc/object.di
+install -D $srcdir/gdc/libphobos/libdruntime/__entrypoint.di 
${pkgdir}/usr/include/dlang/gdc/__entrypoint.di
+cp -r $srcdir/gdc/libphobos/libdruntime/core 
$pkgdir/usr/include/dlang/gdc/core
+cp -r $srcdir/gdc/libphobos/libdruntime/gcc 
$pkgdir/usr/include/dlang/gdc/gcc
 
 # workaround for auto-generated libbacktrace issue
# script needs to be re-written to first call normal gcc instalaltion 
targets to
# avoid such problems in future
-   cp $srcdir/gcc-build/$CHOST/libphobos/libdruntime/gcc/libbacktrace.d 
$pkgdir/usr/include/dlang/gdc/$pkgver/gcc
-   rm $pkgdir/usr/include/dlang/gdc/$pkgver/gcc/libbacktrace.d.in
+   cp $srcdir/gcc-build/$CHOST/libphobos/libdruntime/gcc/libbacktrace.d 
$pkgdir/usr/include/dlang/gdc/gcc/
+   rm $pkgdir/usr/include/dlang/gdc/gcc/libbacktrace.d.in
 
 # phobos
-cp $srcdir/gdc/libphobos/src/crc32.d 
${pkgdir}/usr/include/dlang/gdc/$pkgver/crc32.d
-cp -r $srcdir/gdc/libphobos/src/std 
${pkgdir}/usr/include/dlang/gdc/$pkgver/std
-cp -r $srcdir/gdc/libphobos/src/etc 
${pkgdir}/usr/include/dlang/gdc/$pkgver/etc
+cp $srcdir/gdc/libphobos/src/crc32.d ${pkgdir}/usr/include/dlang/gdc/
+cp -r $srcdir/gdc/libphobos/src/std ${pkgdir}/usr/include/dlang/gdc/std
+cp -r $srcdir/gdc/libphobos/src/etc ${pkgdir}/usr/include/dlang/gdc/etc
 
 install -D -m644 $srcdir/gcc-build/$CHOST/libphobos/src/libgphobos2.a 
$pkgdir/usr/lib/libgphobos2.a
 }

Modified: folders.diff
===
--- folders.diff2014-01-06 13:38:05 UTC (rev 103471)
+++ folders.diff2014-01-06 13:45:20 UTC (rev 103472)
@@ -1,16 +1,34 @@
 diff --git a/libphobos/configure.ac b/libphobos/configure.ac
-index 69dfc35..89b8136 100644
+index 51d9b86..6ff04f1 100644
 --- a/libphobos/configure.ac
 +++ b/libphobos/configure.ac
-@@ -215,9 +215,9 @@ dnl (# Default case for install directory for include 
files.) and on
- # will have to modify gcc/configure.ac ..
- # For now, basic workaround for cross compilers ..
- if test ${host} != ${target}; then
+@@ -239,9 +239,9 @@ else
+ fi
+ 
+ if test ${gdc_host} != ${gdc_target}; then
 -gdc_include_dir='${libdir}/gcc/${host_alias}'/${d_gcc_ver}/include/d
 +gdc_include_dir='${libdir}/gcc/${host_alias}'/${d_gcc_ver}/include/dlang
  else
 -gdc_include_dir='${prefix}'/include/d/${d_gcc_ver}
-+gdc_include_dir='${prefix}'/include/dlang/gcc
++gdc_include_dir='${prefix}'/include/dlang/gdc
  fi
  AC_SUBST(gdc_include_dir)
  AC_ARG_WITH([cross-host],
+
+diff --git a/gcc/d/Make-lang.in b/gcc/d/Make-lang.in
+index 17e5c45..8a656b1 100644
+--- a/gcc/d/Make-lang.in
 b/gcc/d/Make-lang.in
+@@ -25,10 +25,10 @@ D_TARGET_INSTALL_NAME = $(target_alias)-$(shell echo 
gdc|sed '$(program_transfor
+ 
+ # This should be configured
+ ifeq ($(host), $(target))
+-  D_include_dir = `echo $(exec_prefix) | sed -e 's|^$(prefix)||' -e 
's|/[^/]*|/..|g'`/include/d/$(version)
++  D_include_dir = `echo $(exec_prefix) | sed -e 's|^$(prefix)||' -e 
's|/[^/]*|/..|g'`/include/dlang/gdc
+   gcc_d_include_dir = $(libsubdir)/$(unlibsubdir)/..$(D_include_dir)
+ else
+-  gcc_d_include_dir = $(libsubdir)/include/d
++  gcc_d_include_dir = $(libsubdir)/include/dlang/gdc
+ endif
+
+



[arch-commits] Commit in gdc/trunk (PKGBUILD folders.diff)

2013-12-31 Thread Михаил Страшун
Date: Tuesday, December 31, 2013 @ 15:19:22
  Author: dicebot
Revision: 103251

upgpkg: gdc 4.8.2-4

gdc upstream has been updated to 2.064.2 frontend

Modified:
  gdc/trunk/PKGBUILD
  gdc/trunk/folders.diff

--+
 PKGBUILD |6 +++---
 folders.diff |   27 +--
 2 files changed, 8 insertions(+), 25 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-12-31 13:12:55 UTC (rev 103250)
+++ PKGBUILD2013-12-31 14:19:22 UTC (rev 103251)
@@ -5,7 +5,7 @@
 
 pkgname=('gdc' 'libgphobos-devel')
 pkgver=4.8.2
-pkgrel=3
+pkgrel=4
 arch=('i686' 'x86_64')
 url=https://github.com/D-Programming-GDC/GDC;
 license=('GPL')
@@ -17,7 +17,7 @@
 folders.diff)
 sha256sums=('e4e2202b15f8ba323f88c65de0e4190b0630a4b2e70b0653526b31e946877ead'
 'SKIP'
-'88a1f1315633e9dde18637ff5239898abd94dca9a39fdb211a66555dd84c2fec')
+'805d1130394e3ff18ae7043e111fe2ea045a7da6f290d298a670f9e2c35ba533')
 
 groups=('dlang' 'dlang-gdc')
 conflicts=('gdc1-bin' 'gdc1-hg' 'gdc-git')
@@ -72,7 +72,7 @@
 depends=('gcc' 'binutils')
 optdepends=('libgphobos-devel: D standard library, GDC version')
 provides=(d-compiler)
-pkgdesc=Compiler for D programming language wich uses gcc backend
+pkgdesc=Compiler for D programming language which uses gcc backend 
(2.064.2 frontend version)
  
 install -D -m755 $srcdir/gcc-build/gcc/gdc $pkgdir/usr/bin/gdc
 install -D -m755 $srcdir/gcc-build/gcc/cc1d 
$pkgdir/usr/lib/gcc/$CHOST/$pkgver/cc1d

Modified: folders.diff
===
--- folders.diff2013-12-31 13:12:55 UTC (rev 103250)
+++ folders.diff2013-12-31 14:19:22 UTC (rev 103251)
@@ -1,33 +1,16 @@
-diff --git a/gcc/d/Make-lang.in b/gcc/d/Make-lang.in
-index 9570bf3..52addc0 100644
 a/gcc/d/Make-lang.in
-+++ b/gcc/d/Make-lang.in
-@@ -25,10 +25,10 @@ D_TARGET_INSTALL_NAME = $(target_alias)-$(shell echo 
gdc|sed '$(program_transfor
- 
- # This should be configured
- ifeq ($(host), $(target))
--  D_include_dir = `echo $(exec_prefix) | sed -e 's|^$(prefix)||' -e 
's|/[^/]*|/..|g'`/include/d/$(version)
-+  D_include_dir = `echo $(exec_prefix) | sed -e 's|^$(prefix)||' -e 
's|/[^/]*|/..|g'`/include/dlang/gdc/$(version)
-   gcc_d_include_dir = $(libsubdir)/$(unlibsubdir)/..$(D_include_dir)
- else
--  gcc_d_include_dir = $(libsubdir)/include/d
-+  gcc_d_include_dir = $(libsubdir)/include/dlang/gdc
- endif
- 
- 
 diff --git a/libphobos/configure.ac b/libphobos/configure.ac
-index dfb8fec..0b88ff4 100644
+index 69dfc35..89b8136 100644
 --- a/libphobos/configure.ac
 +++ b/libphobos/configure.ac
-@@ -220,9 +220,9 @@ dnl (# Default case for install directory for include 
files.) and on
+@@ -215,9 +215,9 @@ dnl (# Default case for install directory for include 
files.) and on
  # will have to modify gcc/configure.ac ..
  # For now, basic workaround for cross compilers ..
- if test ${host} != ${build}; then
+ if test ${host} != ${target}; then
 -gdc_include_dir='${libdir}/gcc/${host_alias}'/${d_gcc_ver}/include/d
-+gdc_include_dir='${libdir}/gcc/${host_alias}'/${d_gcc_ver}/include/dlang/
++gdc_include_dir='${libdir}/gcc/${host_alias}'/${d_gcc_ver}/include/dlang
  else
 -gdc_include_dir='${prefix}'/include/d/${d_gcc_ver}
-+gdc_include_dir='${prefix}'/include/dlang/gdc/${d_gcc_ver}
++gdc_include_dir='${prefix}'/include/dlang/gcc
  fi
  AC_SUBST(gdc_include_dir)
  AC_ARG_WITH([cross-host],



[arch-commits] Commit in gdc/trunk (PKGBUILD)

2013-11-22 Thread Михаил Страшун
Date: Friday, November 22, 2013 @ 18:09:08
  Author: dicebot
Revision: 101315

upgpkg: gdc 4.8.2-3

gdc: add staticlibs options

Modified:
  gdc/trunk/PKGBUILD

--+
 PKGBUILD |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-11-22 17:06:59 UTC (rev 101314)
+++ PKGBUILD2013-11-22 17:09:08 UTC (rev 101315)
@@ -5,7 +5,7 @@
 
 pkgname=('gdc' 'libgphobos-devel')
 pkgver=4.8.2
-pkgrel=2
+pkgrel=3
 arch=('i686' 'x86_64')
 url=https://github.com/D-Programming-GDC/GDC;
 license=('GPL')
@@ -82,6 +82,7 @@
 {
 pkgdesc=Standard library for D programming language, GDC port
 provides=(d-runtime d-stdlib)
+options=(staticlibs)
 depends=('gdc')
 
 # druntime



[arch-commits] Commit in gdc/trunk (PKGBUILD)

2013-11-21 Thread Михаил Страшун
Date: Thursday, November 21, 2013 @ 15:31:22
  Author: dicebot
Revision: 101272

upgpkg: gdc 4.8.2-2

gdc: add auto-generated module to target

Modified:
  gdc/trunk/PKGBUILD

--+
 PKGBUILD |9 +++--
 1 file changed, 7 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-11-21 14:10:33 UTC (rev 101271)
+++ PKGBUILD2013-11-21 14:31:22 UTC (rev 101272)
@@ -5,7 +5,7 @@
 
 pkgname=('gdc' 'libgphobos-devel')
 pkgver=4.8.2
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 url=https://github.com/D-Programming-GDC/GDC;
 license=('GPL')
@@ -82,7 +82,6 @@
 {
 pkgdesc=Standard library for D programming language, GDC port
 provides=(d-runtime d-stdlib)
-options=(staticlibs)
 depends=('gdc')
 
 # druntime
@@ -90,6 +89,12 @@
 cp -r $srcdir/gdc/libphobos/libdruntime/core 
$pkgdir/usr/include/dlang/gdc/$pkgver/core
 cp -r $srcdir/gdc/libphobos/libdruntime/gcc 
$pkgdir/usr/include/dlang/gdc/$pkgver/gcc
 
+# workaround for auto-generated libbacktrace issue
+   # script needs to be re-written to first call normal gcc instalaltion 
targets to
+   # avoid such problems in future
+   cp $srcdir/gcc-build/$CHOST/libphobos/libdruntime/gcc/libbacktrace.d 
$pkgdir/usr/include/dlang/gdc/$pkgver/gcc
+   rm $pkgdir/usr/include/dlang/gdc/$pkgver/gcc/libbacktrace.d.in
+
 # phobos
 cp $srcdir/gdc/libphobos/src/crc32.d 
${pkgdir}/usr/include/dlang/gdc/$pkgver/crc32.d
 cp -r $srcdir/gdc/libphobos/src/std 
${pkgdir}/usr/include/dlang/gdc/$pkgver/std



[arch-commits] Commit in gdc/trunk (PKGBUILD)

2013-11-03 Thread Михаил Страшун
Date: Sunday, November 3, 2013 @ 15:43:04
  Author: dicebot
Revision: 100399

upgpkg: gdc 4.8.2-1

gdc - 4.8.2

Modified:
  gdc/trunk/PKGBUILD

--+
 PKGBUILD |7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-11-03 12:30:25 UTC (rev 100398)
+++ PKGBUILD2013-11-03 14:43:04 UTC (rev 100399)
@@ -4,8 +4,8 @@
 # Contributor: Jesus Alvarez jeezu...@gmail.com
 
 pkgname=('gdc' 'libgphobos-devel')
-pkgver=4.8.1
-pkgrel=6
+pkgver=4.8.2
+pkgrel=1
 arch=('i686' 'x86_64')
 url=https://github.com/D-Programming-GDC/GDC;
 license=('GPL')
@@ -75,7 +75,7 @@
 pkgdesc=Compiler for D programming language wich uses gcc backend
  
 install -D -m755 $srcdir/gcc-build/gcc/gdc $pkgdir/usr/bin/gdc
-install -D -m755 $srcdir/gcc-build/gcc/cc1d 
$pkgdir/usr/lib/gcc/$CHOST/4.8.1/cc1d
+install -D -m755 $srcdir/gcc-build/gcc/cc1d 
$pkgdir/usr/lib/gcc/$CHOST/$pkgver/cc1d
 }
 
 package_libgphobos-devel()
@@ -82,6 +82,7 @@
 {
 pkgdesc=Standard library for D programming language, GDC port
 provides=(d-runtime d-stdlib)
+options=(staticlibs)
 depends=('gdc')
 
 # druntime



[arch-commits] Commit in gdc/trunk (PKGBUILD)

2013-10-02 Thread Михаил Страшун
Date: Wednesday, October 2, 2013 @ 15:34:59
  Author: dicebot
Revision: 97977

upgpkg: gdc 4.8.1-6

Add common  values for D packages

Modified:
  gdc/trunk/PKGBUILD

--+
 PKGBUILD |4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-10-02 13:30:38 UTC (rev 97976)
+++ PKGBUILD2013-10-02 13:34:59 UTC (rev 97977)
@@ -5,7 +5,7 @@
 
 pkgname=('gdc' 'libgphobos-devel')
 pkgver=4.8.1
-pkgrel=5
+pkgrel=6
 arch=('i686' 'x86_64')
 url=https://github.com/D-Programming-GDC/GDC;
 license=('GPL')
@@ -71,6 +71,7 @@
 {
 depends=('gcc' 'binutils')
 optdepends=('libgphobos-devel: D standard library, GDC version')
+provides=(d-compiler)
 pkgdesc=Compiler for D programming language wich uses gcc backend
  
 install -D -m755 $srcdir/gcc-build/gcc/gdc $pkgdir/usr/bin/gdc
@@ -80,6 +81,7 @@
 package_libgphobos-devel()
 {
 pkgdesc=Standard library for D programming language, GDC port
+provides=(d-runtime d-stdlib)
 depends=('gdc')
 
 # druntime



[arch-commits] Commit in gdc/trunk (PKGBUILD)

2013-09-30 Thread Михаил Страшун
Date: Monday, September 30, 2013 @ 15:07:01
  Author: dicebot
Revision: 97883

upgpkg: gdc 4.8.1-5

Fix FS#37039 : add missing external binary deps for gdc

Modified:
  gdc/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-09-30 13:00:41 UTC (rev 97882)
+++ PKGBUILD2013-09-30 13:07:01 UTC (rev 97883)
@@ -5,7 +5,7 @@
 
 pkgname=('gdc' 'libgphobos-devel')
 pkgver=4.8.1
-pkgrel=4
+pkgrel=5
 arch=('i686' 'x86_64')
 url=https://github.com/D-Programming-GDC/GDC;
 license=('GPL')
@@ -69,7 +69,7 @@
 
 package_gdc()
 {
-depends=('libmpc' 'zlib')
+depends=('gcc' 'binutils')
 optdepends=('libgphobos-devel: D standard library, GDC version')
 pkgdesc=Compiler for D programming language wich uses gcc backend
  



[arch-commits] Commit in gdc/trunk (PKGBUILD)

2013-09-15 Thread Михаил Страшун
Date: Sunday, September 15, 2013 @ 23:54:20
  Author: dicebot
Revision: 97266

upgpkg: gdc 4.8.1-4

Fix #36939 - remove unused libatomic

Modified:
  gdc/trunk/PKGBUILD

--+
 PKGBUILD |3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-09-15 21:53:08 UTC (rev 97265)
+++ PKGBUILD2013-09-15 21:54:20 UTC (rev 97266)
@@ -5,7 +5,7 @@
 
 pkgname=('gdc' 'libgphobos-devel')
 pkgver=4.8.1
-pkgrel=3
+pkgrel=4
 arch=('i686' 'x86_64')
 url=https://github.com/D-Programming-GDC/GDC;
 license=('GPL')
@@ -93,5 +93,4 @@
 cp -r $srcdir/gdc/libphobos/src/etc 
${pkgdir}/usr/include/dlang/gdc/$pkgver/etc
 
 install -D -m644 $srcdir/gcc-build/$CHOST/libphobos/src/libgphobos2.a 
$pkgdir/usr/lib/libgphobos2.a
-install -D -m644 $srcdir/gcc-build/$CHOST/libatomic/.libs/libatomic.a 
$pkgdir/usr/lib/libatomic.a
 }



[arch-commits] Commit in gdc/trunk (PKGBUILD)

2013-09-06 Thread Михаил Страшун
Date: Saturday, September 7, 2013 @ 01:55:29
  Author: dicebot
Revision: 96870

upgpkg: gdc 4.8.1-3

Fix #36669: 'description' - 'pkgdesc'

Modified:
  gdc/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-09-06 23:14:03 UTC (rev 96869)
+++ PKGBUILD2013-09-06 23:55:29 UTC (rev 96870)
@@ -5,7 +5,7 @@
 
 pkgname=('gdc' 'libgphobos-devel')
 pkgver=4.8.1
-pkgrel=2
+pkgrel=3
 arch=('i686' 'x86_64')
 url=https://github.com/D-Programming-GDC/GDC;
 license=('GPL')
@@ -71,7 +71,7 @@
 {
 depends=('libmpc' 'zlib')
 optdepends=('libgphobos-devel: D standard library, GDC version')
-description=Compiler for D programming language wich uses gcc backend
+pkgdesc=Compiler for D programming language wich uses gcc backend
  
 install -D -m755 $srcdir/gcc-build/gcc/gdc $pkgdir/usr/bin/gdc
 install -D -m755 $srcdir/gcc-build/gcc/cc1d 
$pkgdir/usr/lib/gcc/$CHOST/4.8.1/cc1d
@@ -79,7 +79,7 @@
 
 package_libgphobos-devel()
 {
-description=Standard library for D programming language, GDC port
+pkgdesc=Standard library for D programming language, GDC port
 depends=('gdc')
 
 # druntime



[arch-commits] Commit in gdc/trunk (PKGBUILD folders.diff)

2013-08-25 Thread Михаил Страшун
Date: Monday, August 26, 2013 @ 02:30:41
  Author: dicebot
Revision: 96342

upgpkg: gdc 4.8.1-2

Fix FS#36669 - missing description

Modified:
  gdc/trunk/PKGBUILD
  gdc/trunk/folders.diff

--+
 PKGBUILD |   16 ++--
 folders.diff |   21 +++--
 2 files changed, 21 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-08-25 20:41:23 UTC (rev 96341)
+++ PKGBUILD2013-08-26 00:30:41 UTC (rev 96342)
@@ -5,7 +5,7 @@
 
 pkgname=('gdc' 'libgphobos-devel')
 pkgver=4.8.1
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 url=https://github.com/D-Programming-GDC/GDC;
 license=('GPL')
@@ -17,7 +17,7 @@
 folders.diff)
 sha256sums=('e4e2202b15f8ba323f88c65de0e4190b0630a4b2e70b0653526b31e946877ead'
 'SKIP'
-'cd9df3c4129092f9a3ce6f608baa83e12935d7185d0ad3e273799264a21b031e')
+'88a1f1315633e9dde18637ff5239898abd94dca9a39fdb211a66555dd84c2fec')
 
 groups=('dlang' 'dlang-gdc')
 conflicts=('gdc1-bin' 'gdc1-hg' 'gdc-git')
@@ -71,6 +71,7 @@
 {
 depends=('libmpc' 'zlib')
 optdepends=('libgphobos-devel: D standard library, GDC version')
+description=Compiler for D programming language wich uses gcc backend
  
 install -D -m755 $srcdir/gcc-build/gcc/gdc $pkgdir/usr/bin/gdc
 install -D -m755 $srcdir/gcc-build/gcc/cc1d 
$pkgdir/usr/lib/gcc/$CHOST/4.8.1/cc1d
@@ -78,6 +79,9 @@
 
 package_libgphobos-devel()
 {
+description=Standard library for D programming language, GDC port
+depends=('gdc')
+
 # druntime
 install -D $srcdir/gdc/libphobos/libdruntime/object.di 
$pkgdir/usr/include/dlang/gdc/$pkgver/object.di
 cp -r $srcdir/gdc/libphobos/libdruntime/core 
$pkgdir/usr/include/dlang/gdc/$pkgver/core
@@ -84,10 +88,10 @@
 cp -r $srcdir/gdc/libphobos/libdruntime/gcc 
$pkgdir/usr/include/dlang/gdc/$pkgver/gcc
 
 # phobos
-cp $srcdir/gdc/libphobos/crc32.d 
${pkgdir}/usr/include/dlang/gdc/$pkgver/crc32.d
-cp -r $srcdir/gdc/libphobos/std ${pkgdir}/usr/include/dlang/gdc/$pkgver/std
-cp -r $srcdir/gdc/libphobos/etc ${pkgdir}/usr/include/dlang/gdc/$pkgver/etc
+cp $srcdir/gdc/libphobos/src/crc32.d 
${pkgdir}/usr/include/dlang/gdc/$pkgver/crc32.d
+cp -r $srcdir/gdc/libphobos/src/std 
${pkgdir}/usr/include/dlang/gdc/$pkgver/std
+cp -r $srcdir/gdc/libphobos/src/etc 
${pkgdir}/usr/include/dlang/gdc/$pkgver/etc
 
-install -D -m644 $srcdir/gcc-build/$CHOST/libphobos/libgphobos2.a 
$pkgdir/usr/lib/libgphobos2.a
+install -D -m644 $srcdir/gcc-build/$CHOST/libphobos/src/libgphobos2.a 
$pkgdir/usr/lib/libgphobos2.a
 install -D -m644 $srcdir/gcc-build/$CHOST/libatomic/.libs/libatomic.a 
$pkgdir/usr/lib/libatomic.a
 }

Modified: folders.diff
===
--- folders.diff2013-08-25 20:41:23 UTC (rev 96341)
+++ folders.diff2013-08-26 00:30:41 UTC (rev 96342)
@@ -1,13 +1,14 @@
 diff --git a/gcc/d/Make-lang.in b/gcc/d/Make-lang.in
-index 5bdab1b..aa1122e 100644
+index 9570bf3..52addc0 100644
 --- a/gcc/d/Make-lang.in
 +++ b/gcc/d/Make-lang.in
-@@ -25,9 +25,9 @@ D_TARGET_INSTALL_NAME = $(target_alias)-$(shell echo gdc|sed 
'$(program_transfor
+@@ -25,10 +25,10 @@ D_TARGET_INSTALL_NAME = $(target_alias)-$(shell echo 
gdc|sed '$(program_transfor
  
  # This should be configured
  ifeq ($(host), $(target))
--  gcc_d_include_dir = $(prefix)/include/d/$(version)
-+  gcc_d_include_dir = $(prefix)/include/dlang/gdc/$(version)
+-  D_include_dir = `echo $(exec_prefix) | sed -e 's|^$(prefix)||' -e 
's|/[^/]*|/..|g'`/include/d/$(version)
++  D_include_dir = `echo $(exec_prefix) | sed -e 's|^$(prefix)||' -e 
's|/[^/]*|/..|g'`/include/dlang/gdc/$(version)
+   gcc_d_include_dir = $(libsubdir)/$(unlibsubdir)/..$(D_include_dir)
  else
 -  gcc_d_include_dir = $(libsubdir)/include/d
 +  gcc_d_include_dir = $(libsubdir)/include/dlang/gdc
@@ -14,16 +15,16 @@
  endif
  
  
-diff --git a/libphobos/configure.in b/libphobos/configure.in
-index f6b3660..7e88b23 100644
 a/libphobos/configure.in
-+++ b/libphobos/configure.in
-@@ -232,9 +232,9 @@ dnl (# Default case for install directory for include 
files.) and on
+diff --git a/libphobos/configure.ac b/libphobos/configure.ac
+index dfb8fec..0b88ff4 100644
+--- a/libphobos/configure.ac
 b/libphobos/configure.ac
+@@ -220,9 +220,9 @@ dnl (# Default case for install directory for include 
files.) and on
  # will have to modify gcc/configure.ac ..
  # For now, basic workaround for cross compilers ..
  if test ${host} != ${build}; then
 -gdc_include_dir='${libdir}/gcc/${host_alias}'/${d_gcc_ver}/include/d
-+
gdc_include_dir='${libdir}/gcc/${host_alias}'/${d_gcc_ver}/include/dlang/gdc
++gdc_include_dir='${libdir}/gcc/${host_alias}'/${d_gcc_ver}/include/dlang/
  else
 -gdc_include_dir='${prefix}'/include/d/${d_gcc_ver}
 +gdc_include_dir='${prefix}'/include/dlang/gdc/${d_gcc_ver}