[arch-commits] Commit in dmd/repos/community-x86_64 (6 files)

Dan Printzell wild at archlinux.org
Sat Mar 16 23:03:26 UTC 2019


    Date: Saturday, March 16, 2019 @ 23:03:25
  Author: wild
Revision: 442254

archrelease: copy trunk to community-x86_64

Added:
  dmd/repos/community-x86_64/PKGBUILD
    (from rev 442253, dmd/trunk/PKGBUILD)
  dmd/repos/community-x86_64/dmd-doc.desktop
    (from rev 442253, dmd/trunk/dmd-doc.desktop)
  dmd/repos/community-x86_64/dmd.conf
    (from rev 442253, dmd/trunk/dmd.conf)
Deleted:
  dmd/repos/community-x86_64/PKGBUILD
  dmd/repos/community-x86_64/dmd-doc.desktop
  dmd/repos/community-x86_64/dmd.conf

-----------------+
 PKGBUILD        |  280 ++++++++++++++++++++++++++----------------------------
 dmd-doc.desktop |   14 +-
 dmd.conf        |   10 -
 3 files changed, 151 insertions(+), 153 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-16 23:03:14 UTC (rev 442253)
+++ PKGBUILD	2019-03-16 23:03:25 UTC (rev 442254)
@@ -1,141 +0,0 @@
-# Maintainer: Dan Printzell <arch at vild.io>
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-# Contributor: Mihails Strasunse <public at dicebot.lv>
-# Contributor: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: Chris Brannon <cmbrannon79 at gmail.com>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Anders Bergh <anders1 at gmail.com>
-# Contributor: Alexander Fehr <pizzapunk gmail com>
-
-pkgname=('dmd' 'dmd-docs' 'libphobos')
-pkgdesc='D programming language compiler and standard library'
-groups=('dlang' 'dlang-dmd')
-pkgbase=dmd
-pkgver=2.084.1
-pkgrel=1
-epoch=1
-arch=('x86_64')
-url='https://www.dlang.org'
-makedepends=('git' 'ldc' 'strip-nondeterminism')
-source=("git+https://github.com/dlang/dmd.git#tag=v$pkgver"
-        "git+https://github.com/dlang/druntime.git#tag=v$pkgver"
-        "git+https://github.com/dlang/phobos.git#tag=v$pkgver"
-        "http://downloads.dlang.org/releases/2.x/$pkgver/dmd.$pkgver.linux.tar.xz"
-        "http://downloads.dlang.org/releases/2.x/$pkgver/dmd.$pkgver.linux.tar.xz.sig"
-        'dmd.conf'
-        'dmd-doc.desktop')
-sha256sums=('SKIP'
-            'SKIP'
-            'SKIP'
-            '7af3b28db8ee7d6de5f8dc53827dd9ea1520830da373c07d26cf974c2038d8db'
-            'SKIP'
-            '3d639e89528fed1da90006f4dfb2b0fdc41308da5a96d953381ff4ccf257c035'
-            '19c9cd3670bdef7fbde88de36c459d940e6b7bacc2a5e48aefbfd1b2c1895e07')
-validpgpkeys=('AFC7DB45693D62BB472BF27BAB8FE924C2F7E724') # Martin Nowak <code at dawg.eu>
-noextract=("dmd.$pkgver.linux.tar.xz")
-
-prepare() {
-    # We only want to extract the docs & samples, not the prebuild executables
-    tar xfJ "dmd.$pkgver.linux.tar.xz" dmd2/html
-
-    # Make sure the version is not -dirty
-    sed -i "s/result.status == 0/false/" "$srcdir"/dmd/config.d
-
-    # Add $LDFLAGS and $CXXFLAGS to the compilation
-    # '-link-defaultlib-shared=false' statically links dmd to liblphobos
-    _linkflags=$(echo -ne $LDFLAGS | cut -d\" -f2 | tail -c+4 | sed "s/,/ -L=/g")
-
-    sed -i "/^CXXFLAGS :=/ a $CXXFLAGS \\\\" "$srcdir"/dmd/src/posix.mak
-    sed -i "/^DFLAGS=/ a override DFLAGS += -link-defaultlib-shared=false $_linkflags" "$srcdir"/dmd/src/posix.mak
-    sed -i "/^DFLAGS=/ a override DFLAGS += $_linkflags" "$srcdir"/druntime/posix.mak
-    sed -i "/^DFLAGS=/ a override DFLAGS += $_linkflags" "$srcdir"/phobos/posix.mak
-}
-
-build() {
-    cd "$srcdir"/dmd
-    make -f posix.mak BUILD=release ENABLE_RELEASE=1 PIC=1 ENABLE_LTO=1 HOST_DMD=ldmd2
-
-    cd "$srcdir"/druntime
-    make -f posix.mak DMD="$srcdir"/dmd/generated/linux/release/*/dmd BUILD=release ENABLE_RELEASE=1 PIC=1
-
-    cd "$srcdir"/phobos
-    make -f posix.mak DMD="$srcdir"/dmd/generated/linux/release/*/dmd BUILD=release ENABLE_RELEASE=1 PIC=1
-
-    # This requires object.d to compile, thus need to be after druntime is built
-    cd "$srcdir"/dmd
-    make -C docs DMD="$srcdir"/dmd/generated/linux/release/*/dmd OTHER_MAN_PAGES=man/man5/dmd.conf.5
-}
-
-package_dmd() {
-    pkgdesc="The D programming language reference compiler"
-    backup=('etc/dmd.conf')
-    depends=('gcc' 'libphobos')
-    optdepends=(
-        'dtools: collection of useful utilities for development in D'
-        'gcc-multilib: to cross-compile 32-bit applications'
-        'dmd-docs: documentation and sample code for D'
-    )
-    provides=("d-compiler=$pkgver")
-    license=('Boost')
-
-    cd "$srcdir"/dmd
-
-    install -Dm755 "$srcdir"/dmd/generated/linux/release/*/dmd "$pkgdir"/usr/bin/dmd
-
-    mkdir -p "$pkgdir"/etc
-    install -Dm644 "$srcdir"/dmd.conf "$pkgdir"/etc/dmd.conf
-
-    mkdir -p "$pkgdir"/usr/share/man/man1
-    mkdir -p "$pkgdir"/usr/share/man/man5
-    cp -r generated/docs/man/man1/* "$pkgdir"/usr/share/man/man1/
-    cp -r generated/docs/man/man5/* "$pkgdir"/usr/share/man/man5/
-
-    install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
-    find "$pkgdir"/usr -type f | xargs chmod 0644
-    chmod 755 "$pkgdir"/usr/bin/*
-}
-
-package_dmd-docs() {
-    pkgdesc="Documentation and sample code for D programming language"
-    depends=('dmd')
-    license=('Boost')
-
-    cd "$srcdir"/dmd
-
-    mkdir -p "$pkgdir"/usr/share/applications
-    install -Dm644 "$srcdir"/dmd-doc.desktop "$pkgdir"/usr/share/applications/dmd-doc.desktop
-
-    mkdir -p "$pkgdir"/usr/share/d/samples/
-    cp -r samples/* "$pkgdir"/usr/share/d/samples/
-
-    mkdir -p "$pkgdir"/usr/share/d/html
-    cp -r "$srcdir"/dmd2/html/* "$pkgdir"/usr/share/d/html/
-
-    install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_libphobos() {
-    pkgdesc="The Phobos standard library for D programming language"
-    options=('staticlibs' '!strip')
-    depends=('gcc-libs')
-    conflicts=('libphobos-devel')
-    provides=("d-runtime=$pkgver" "d-stdlib=$pkgver" "libphobos-devel=$pkgver")
-    replaces=('libphobos-devel')
-    license=('Boost')
-
-    mkdir -p "$pkgdir"/usr/lib
-    cp -P $(find "$srcdir"/{druntime,phobos}/generated/linux/release/ \( -iname "*.a" -a \! -iname "*.so.a" \) -o \( -iname "*.so*" -a \! -iname "*.o" -a \! -iname "*.a" \) ) "$pkgdir"/usr/lib
-
-    strip-nondeterminism "$pkgdir"/usr/lib/libphobos2.a
-
-    mkdir -p "$pkgdir"/usr/include/dlang/dmd
-    cp -r "$srcdir"/phobos/{*.d,etc,std} "$pkgdir"/usr/include/dlang/dmd
-    cp -r "$srcdir"/druntime/import/* "$pkgdir"/usr/include/dlang/dmd/
-
-    find "$pkgdir"/usr -type f | xargs chmod 0644
-
-    install -Dm644 "$srcdir"/druntime/LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE-druntime
-    install -Dm644 "$srcdir"/phobos/LICENSE_1_0.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-

Copied: dmd/repos/community-x86_64/PKGBUILD (from rev 442253, dmd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-03-16 23:03:25 UTC (rev 442254)
@@ -0,0 +1,139 @@
+# Maintainer: Dan Printzell <arch at vild.io>
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+# Contributor: Mihails Strasunse <public at dicebot.lv>
+# Contributor: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Chris Brannon <cmbrannon79 at gmail.com>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Anders Bergh <anders1 at gmail.com>
+# Contributor: Alexander Fehr <pizzapunk gmail com>
+
+pkgname=('dmd' 'dmd-docs' 'libphobos')
+pkgdesc='D programming language compiler and standard library'
+groups=('dlang' 'dlang-dmd')
+pkgbase=dmd
+pkgver=2.085.0
+pkgrel=1
+epoch=1
+arch=('x86_64')
+url='https://www.dlang.org'
+makedepends=('git' 'ldc' 'strip-nondeterminism')
+source=("git+https://github.com/dlang/dmd.git#tag=v$pkgver"
+        "git+https://github.com/dlang/druntime.git#tag=v$pkgver"
+        "git+https://github.com/dlang/phobos.git#tag=v$pkgver"
+        "http://downloads.dlang.org/releases/2.x/$pkgver/dmd.$pkgver.linux.tar.xz"
+        "http://downloads.dlang.org/releases/2.x/$pkgver/dmd.$pkgver.linux.tar.xz.sig"
+        'dmd.conf'
+        'dmd-doc.desktop')
+sha256sums=('SKIP'
+            'SKIP'
+            'SKIP'
+            '25d53bb87ff337f99984fcf77d4216d0b9af53ce9dfaf1c3fadf9c3959338487'
+            'SKIP'
+            '3d639e89528fed1da90006f4dfb2b0fdc41308da5a96d953381ff4ccf257c035'
+            '4b7b8722b3fa11082f0f332397b1b66c85b30ce773c43c3fedcba5768a1484b1')
+validpgpkeys=('AFC7DB45693D62BB472BF27BAB8FE924C2F7E724') # Martin Nowak <code at dawg.eu>
+noextract=("dmd.$pkgver.linux.tar.xz")
+
+prepare() {
+    # We only want to extract the docs & samples, not the prebuild executables
+    tar xfJ "dmd.$pkgver.linux.tar.xz" dmd2/html
+
+    # Make sure the version is not -dirty
+    sed -i "s/result.status == 0/false/" "$srcdir"/dmd/config.d
+
+    # Add $LDFLAGS and $CXXFLAGS to the compilation
+    # '-link-defaultlib-shared=false' statically links dmd to liblphobos
+    sed -i "/^CXXFLAGS :=/ a $CXXFLAGS \\\\" "$srcdir"/dmd/src/posix.mak
+    sed -i "/^DFLAGS=/ a override DFLAGS += -link-defaultlib-shared=false -L=\"$LDFLAGS\"" "$srcdir"/dmd/src/posix.mak
+    sed -i "/^DFLAGS=/ a override DFLAGS += $_linkflags" "$srcdir"/druntime/posix.mak
+    sed -i "/^DFLAGS=/ a override DFLAGS += $_linkflags" "$srcdir"/phobos/posix.mak
+}
+
+build() {
+    cd "$srcdir"/dmd
+    make -f posix.mak BUILD=release ENABLE_RELEASE=1 PIC=1 ENABLE_LTO=1 HOST_DMD=ldmd2
+
+    cd "$srcdir"/druntime
+    make -f posix.mak DMD="$srcdir"/dmd/generated/linux/release/*/dmd BUILD=release ENABLE_RELEASE=1 PIC=1
+
+    cd "$srcdir"/phobos
+    make -f posix.mak DMD="$srcdir"/dmd/generated/linux/release/*/dmd BUILD=release ENABLE_RELEASE=1 PIC=1
+
+    # This requires object.d to compile, thus need to be after druntime is built
+    cd "$srcdir"/dmd
+    make -C docs DMD="$srcdir"/dmd/generated/linux/release/*/dmd OTHER_MAN_PAGES=man/man5/dmd.conf.5
+}
+
+package_dmd() {
+    pkgdesc="The D programming language reference compiler"
+    backup=('etc/dmd.conf')
+    depends=('gcc' 'libphobos')
+    optdepends=(
+        'dtools: collection of useful utilities for development in D'
+        'gcc-multilib: to cross-compile 32-bit applications'
+        'dmd-docs: documentation and sample code for D'
+    )
+    provides=("d-compiler=$pkgver")
+    license=('Boost')
+
+    cd "$srcdir"/dmd
+
+    install -Dm755 "$srcdir"/dmd/generated/linux/release/*/dmd "$pkgdir"/usr/bin/dmd
+
+    mkdir -p "$pkgdir"/etc
+    install -Dm644 "$srcdir"/dmd.conf "$pkgdir"/etc/dmd.conf
+
+    mkdir -p "$pkgdir"/usr/share/man/man1
+    mkdir -p "$pkgdir"/usr/share/man/man5
+    cp -r generated/docs/man/man1/* "$pkgdir"/usr/share/man/man1/
+    cp -r generated/docs/man/man5/* "$pkgdir"/usr/share/man/man5/
+
+    install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+    find "$pkgdir"/usr -type f | xargs chmod 0644
+    chmod 755 "$pkgdir"/usr/bin/*
+}
+
+package_dmd-docs() {
+    pkgdesc="Documentation and sample code for D programming language"
+    depends=('dmd')
+    license=('Boost')
+
+    cd "$srcdir"/dmd
+
+    mkdir -p "$pkgdir"/usr/share/applications
+    install -Dm644 "$srcdir"/dmd-doc.desktop "$pkgdir"/usr/share/applications/dmd-doc.desktop
+
+    mkdir -p "$pkgdir"/usr/share/d/samples/
+    cp -r samples/* "$pkgdir"/usr/share/d/samples/
+
+    mkdir -p "$pkgdir"/usr/share/d/html
+    cp -r "$srcdir"/dmd2/html/* "$pkgdir"/usr/share/d/html/
+
+    install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_libphobos() {
+    pkgdesc="The Phobos standard library for D programming language"
+    options=('staticlibs' '!strip')
+    depends=('gcc-libs')
+    conflicts=('libphobos-devel')
+    provides=("d-runtime=$pkgver" "d-stdlib=$pkgver" "libphobos-devel=$pkgver")
+    replaces=('libphobos-devel')
+    license=('Boost')
+
+    mkdir -p "$pkgdir"/usr/lib
+    cp -P $(find "$srcdir"/{druntime,phobos}/generated/linux/release/ \( -iname "*.a" -a \! -iname "*.so.a" \) -o \( -iname "*.so*" -a \! -iname "*.o" -a \! -iname "*.a" \) ) "$pkgdir"/usr/lib
+
+    strip-nondeterminism "$pkgdir"/usr/lib/libphobos2.a
+
+    mkdir -p "$pkgdir"/usr/include/dlang/dmd
+    cp -r "$srcdir"/phobos/{*.d,etc,std} "$pkgdir"/usr/include/dlang/dmd
+    cp -r "$srcdir"/druntime/import/* "$pkgdir"/usr/include/dlang/dmd/
+
+    find "$pkgdir"/usr -type f | xargs chmod 0644
+
+    install -Dm644 "$srcdir"/druntime/LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE-druntime
+    install -Dm644 "$srcdir"/phobos/LICENSE_1_0.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+

Deleted: dmd-doc.desktop
===================================================================
--- dmd-doc.desktop	2019-03-16 23:03:14 UTC (rev 442253)
+++ dmd-doc.desktop	2019-03-16 23:03:25 UTC (rev 442254)
@@ -1,7 +0,0 @@
-[Desktop Entry]
-Type=Application
-Name=dmd/phobos documentation
-Comment=dmd compiler and phobos library documentation
-Exec=xdg-open /usr/share/d/html/d/language-reference.html
-Icon=dmd-doc
-Categories=Development;

Copied: dmd/repos/community-x86_64/dmd-doc.desktop (from rev 442253, dmd/trunk/dmd-doc.desktop)
===================================================================
--- dmd-doc.desktop	                        (rev 0)
+++ dmd-doc.desktop	2019-03-16 23:03:25 UTC (rev 442254)
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Type=Application
+Name=dmd/phobos documentation
+Comment=dmd compiler and phobos library documentation
+Exec=xdg-open /usr/share/d/html/d/spec/intro.html
+Icon=dmd-doc
+Categories=Development;

Deleted: dmd.conf
===================================================================
--- dmd.conf	2019-03-16 23:03:14 UTC (rev 442253)
+++ dmd.conf	2019-03-16 23:03:25 UTC (rev 442254)
@@ -1,5 +0,0 @@
-[Environment32]
-DFLAGS=-I/usr/include/dlang/dmd -L-L/usr/lib32 -L--export-dynamic -fPIC
-
-[Environment64]
-DFLAGS=-I/usr/include/dlang/dmd -L-L/usr/lib -L--export-dynamic -fPIC

Copied: dmd/repos/community-x86_64/dmd.conf (from rev 442253, dmd/trunk/dmd.conf)
===================================================================
--- dmd.conf	                        (rev 0)
+++ dmd.conf	2019-03-16 23:03:25 UTC (rev 442254)
@@ -0,0 +1,5 @@
+[Environment32]
+DFLAGS=-I/usr/include/dlang/dmd -L-L/usr/lib32 -L--export-dynamic -fPIC
+
+[Environment64]
+DFLAGS=-I/usr/include/dlang/dmd -L-L/usr/lib -L--export-dynamic -fPIC



More information about the arch-commits mailing list