[arch-commits] Commit in supercollider/repos (8 files)

Evangelos Foutras foutrelis at archlinux.org
Sun Dec 6 23:08:13 UTC 2015


    Date: Monday, December 7, 2015 @ 00:08:10
  Author: foutrelis
Revision: 149337

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

Added:
  supercollider/repos/community-staging-i686/
  supercollider/repos/community-staging-i686/PKGBUILD
    (from rev 149335, supercollider/trunk/PKGBUILD)
  supercollider/repos/community-staging-i686/ftbfs-gcc-4.9.patch
    (from rev 149335, supercollider/trunk/ftbfs-gcc-4.9.patch)
  supercollider/repos/community-staging-i686/supercollider.install
    (from rev 149335, supercollider/trunk/supercollider.install)
  supercollider/repos/community-staging-x86_64/
  supercollider/repos/community-staging-x86_64/PKGBUILD
    (from rev 149335, supercollider/trunk/PKGBUILD)
  supercollider/repos/community-staging-x86_64/ftbfs-gcc-4.9.patch
    (from rev 149335, supercollider/trunk/ftbfs-gcc-4.9.patch)
  supercollider/repos/community-staging-x86_64/supercollider.install
    (from rev 149335, supercollider/trunk/supercollider.install)

------------------------------------------------+
 community-staging-i686/PKGBUILD                |   42 +++++++++++++++++++++++
 community-staging-i686/ftbfs-gcc-4.9.patch     |   20 ++++++++++
 community-staging-i686/supercollider.install   |   12 ++++++
 community-staging-x86_64/PKGBUILD              |   42 +++++++++++++++++++++++
 community-staging-x86_64/ftbfs-gcc-4.9.patch   |   20 ++++++++++
 community-staging-x86_64/supercollider.install |   12 ++++++
 6 files changed, 148 insertions(+)

Copied: supercollider/repos/community-staging-i686/PKGBUILD (from rev 149335, supercollider/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-12-06 23:08:10 UTC (rev 149337)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer : speps <speps at aur dot archlinux dot org>
+# Contributor: osc <farid at archlinux-br.org>
+
+_name=SuperCollider
+pkgname=supercollider
+pkgver=3.6.6
+pkgrel=2
+pkgdesc="An environment and programming language for real time audio synthesis and algorithmic composition"
+arch=('i686' 'x86_64')
+url="http://supercollider.sourceforge.net/"
+license=('GPL3')
+depends=('jack' 'fftw' 'cwiid' 'qtwebkit')
+makedepends=('cmake' 'ruby' 'vim' 'emacs')
+optdepends=('emacs: emacs interface'
+            'gedit: gedit interface'
+            'vim: vim interface'
+            'ruby: vim support')
+install="$pkgname.install"
+source=("http://download.sourceforge.net/project/$pkgname/Source/${pkgver%.*}/$_name-$pkgver-Source-linux.tar.bz2"
+        "ftbfs-gcc-4.9.patch")
+md5sums=('14d6063933230c74e42f5923a811e7c6'
+         '257a9198e650638a9a43bad2812760f7')
+
+prepare() {
+  cd "$srcdir/$_name-Source"
+  patch -Np1 -i ../ftbfs-gcc-4.9.patch
+}
+
+build() {
+  cd "$srcdir/$_name-Source"
+  [ -d b ] || mkdir b && cd b
+  cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
+           -DCMAKE_BUILD_TYPE=Release \
+           -DLIBSCSYNTH=ON
+  make
+}
+
+package() {
+  cd "$srcdir/$_name-Source/b"
+  make DESTDIR="$pkgdir/" install
+}

Copied: supercollider/repos/community-staging-i686/ftbfs-gcc-4.9.patch (from rev 149335, supercollider/trunk/ftbfs-gcc-4.9.patch)
===================================================================
--- community-staging-i686/ftbfs-gcc-4.9.patch	                        (rev 0)
+++ community-staging-i686/ftbfs-gcc-4.9.patch	2015-12-06 23:08:10 UTC (rev 149337)
@@ -0,0 +1,20 @@
+From: Felipe Sateler <fsateler at debian.org>
+Date: Fri, 6 Jun 2014 13:15:18 -0400
+Subject: Fix implementation of aligned_allocator::construct<U>.
+
+Fixes a build failure with gcc >= 4.9, because it defines __cplusplus >= 201103L.
+
+A typo, apparently. This patch can be dropped in the next upstream release.
+Index: supercollider/server/supernova/utilities/malloc_aligned.hpp
+===================================================================
+--- supercollider.orig/server/supernova/utilities/malloc_aligned.hpp	2014-09-11 09:15:20.399357542 +0100
++++ supercollider/server/supernova/utilities/malloc_aligned.hpp	2014-09-11 09:15:20.399357542 +0100
+@@ -243,7 +243,7 @@
+     template< class U, class... Args >
+     void construct(U * p, Args&& ... args)
+     {
+-        ::new(p) T(std::forward<Args>(args)...);
++        ::new(p) U(std::forward<Args>(args)...);
+     }
+ #endif
+

Copied: supercollider/repos/community-staging-i686/supercollider.install (from rev 149335, supercollider/trunk/supercollider.install)
===================================================================
--- community-staging-i686/supercollider.install	                        (rev 0)
+++ community-staging-i686/supercollider.install	2015-12-06 23:08:10 UTC (rev 149337)
@@ -0,0 +1,12 @@
+post_install() {
+  update-desktop-database -q
+  update-mime-database usr/share/mime
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}
\ No newline at end of file

Copied: supercollider/repos/community-staging-x86_64/PKGBUILD (from rev 149335, supercollider/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-12-06 23:08:10 UTC (rev 149337)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer : speps <speps at aur dot archlinux dot org>
+# Contributor: osc <farid at archlinux-br.org>
+
+_name=SuperCollider
+pkgname=supercollider
+pkgver=3.6.6
+pkgrel=2
+pkgdesc="An environment and programming language for real time audio synthesis and algorithmic composition"
+arch=('i686' 'x86_64')
+url="http://supercollider.sourceforge.net/"
+license=('GPL3')
+depends=('jack' 'fftw' 'cwiid' 'qtwebkit')
+makedepends=('cmake' 'ruby' 'vim' 'emacs')
+optdepends=('emacs: emacs interface'
+            'gedit: gedit interface'
+            'vim: vim interface'
+            'ruby: vim support')
+install="$pkgname.install"
+source=("http://download.sourceforge.net/project/$pkgname/Source/${pkgver%.*}/$_name-$pkgver-Source-linux.tar.bz2"
+        "ftbfs-gcc-4.9.patch")
+md5sums=('14d6063933230c74e42f5923a811e7c6'
+         '257a9198e650638a9a43bad2812760f7')
+
+prepare() {
+  cd "$srcdir/$_name-Source"
+  patch -Np1 -i ../ftbfs-gcc-4.9.patch
+}
+
+build() {
+  cd "$srcdir/$_name-Source"
+  [ -d b ] || mkdir b && cd b
+  cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
+           -DCMAKE_BUILD_TYPE=Release \
+           -DLIBSCSYNTH=ON
+  make
+}
+
+package() {
+  cd "$srcdir/$_name-Source/b"
+  make DESTDIR="$pkgdir/" install
+}

Copied: supercollider/repos/community-staging-x86_64/ftbfs-gcc-4.9.patch (from rev 149335, supercollider/trunk/ftbfs-gcc-4.9.patch)
===================================================================
--- community-staging-x86_64/ftbfs-gcc-4.9.patch	                        (rev 0)
+++ community-staging-x86_64/ftbfs-gcc-4.9.patch	2015-12-06 23:08:10 UTC (rev 149337)
@@ -0,0 +1,20 @@
+From: Felipe Sateler <fsateler at debian.org>
+Date: Fri, 6 Jun 2014 13:15:18 -0400
+Subject: Fix implementation of aligned_allocator::construct<U>.
+
+Fixes a build failure with gcc >= 4.9, because it defines __cplusplus >= 201103L.
+
+A typo, apparently. This patch can be dropped in the next upstream release.
+Index: supercollider/server/supernova/utilities/malloc_aligned.hpp
+===================================================================
+--- supercollider.orig/server/supernova/utilities/malloc_aligned.hpp	2014-09-11 09:15:20.399357542 +0100
++++ supercollider/server/supernova/utilities/malloc_aligned.hpp	2014-09-11 09:15:20.399357542 +0100
+@@ -243,7 +243,7 @@
+     template< class U, class... Args >
+     void construct(U * p, Args&& ... args)
+     {
+-        ::new(p) T(std::forward<Args>(args)...);
++        ::new(p) U(std::forward<Args>(args)...);
+     }
+ #endif
+

Copied: supercollider/repos/community-staging-x86_64/supercollider.install (from rev 149335, supercollider/trunk/supercollider.install)
===================================================================
--- community-staging-x86_64/supercollider.install	                        (rev 0)
+++ community-staging-x86_64/supercollider.install	2015-12-06 23:08:10 UTC (rev 149337)
@@ -0,0 +1,12 @@
+post_install() {
+  update-desktop-database -q
+  update-mime-database usr/share/mime
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}
\ No newline at end of file



More information about the arch-commits mailing list