[arch-commits] Commit in openscad/repos (12 files)

Kyle Keen kkeen at archlinux.org
Mon Apr 18 12:22:12 UTC 2016


    Date: Monday, April 18, 2016 @ 14:22:11
  Author: kkeen
Revision: 171343

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

Added:
  openscad/repos/community-i686/CHANGELOG
    (from rev 171342, openscad/trunk/CHANGELOG)
  openscad/repos/community-i686/PKGBUILD
    (from rev 171342, openscad/trunk/PKGBUILD)
  openscad/repos/community-i686/openscad.install
    (from rev 171342, openscad/trunk/openscad.install)
  openscad/repos/community-x86_64/CHANGELOG
    (from rev 171342, openscad/trunk/CHANGELOG)
  openscad/repos/community-x86_64/PKGBUILD
    (from rev 171342, openscad/trunk/PKGBUILD)
  openscad/repos/community-x86_64/openscad.install
    (from rev 171342, openscad/trunk/openscad.install)
Deleted:
  openscad/repos/community-i686/CHANGELOG
  openscad/repos/community-i686/PKGBUILD
  openscad/repos/community-i686/openscad.install
  openscad/repos/community-x86_64/CHANGELOG
  openscad/repos/community-x86_64/PKGBUILD
  openscad/repos/community-x86_64/openscad.install

-----------------------------------+
 /CHANGELOG                        |  190 ++++++++++++++++++++++++++++++++++++
 /PKGBUILD                         |  110 ++++++++++++++++++++
 /openscad.install                 |   26 ++++
 community-i686/CHANGELOG          |   90 -----------------
 community-i686/PKGBUILD           |   55 ----------
 community-i686/openscad.install   |   13 --
 community-x86_64/CHANGELOG        |   90 -----------------
 community-x86_64/PKGBUILD         |   55 ----------
 community-x86_64/openscad.install |   13 --
 9 files changed, 326 insertions(+), 316 deletions(-)

Deleted: community-i686/CHANGELOG
===================================================================
--- community-i686/CHANGELOG	2016-04-18 12:21:39 UTC (rev 171342)
+++ community-i686/CHANGELOG	2016-04-18 12:22:11 UTC (rev 171343)
@@ -1,90 +0,0 @@
-2015-11-16 Kyle Keen <keenerd at gmail.com>
-	* 2015.03.02-1
-	- Bugfix release
-
-2015-10-19 Kyle Keen <keenerd at gmail.com>
-	* 2015.03.01-5
-	- No changes
-	- Rebuild for cgal-4.7
-
-2015-10-02 foutrelis
-	* 2015.03.01-4
-	- No changes
-
-2015-04-29 Kyle Keen <keenerd at gmail.com>
-	* 2015.03.01-3
-	- No changes
-	- Rebuild for qscintilla-2.9-1
-
-2015-04-22 Kyle Keen <keenerd at gmail.com>
-	* 2015.03.01-2
-	- No changes
-	- Rebuild for boost-1.58.0-1
-
-2015-04-22 Kyle Keen <keenerd at gmail.com>
-	* 2015.03.01-1
-	- Bugfix release
-
-2015-04-11 Kyle Keen <keenerd at gmail.com>
-	* 2015.03-2
-	- No changes
-	- Rebuild for cgal-4.6-1
-
-2015-03-10 Kyle Keen <keenerd at gmail.com>
-	* 2015.03-1
-	- New release
-	- Now uses qscintilla for the editor
-
-2014-11-04 Kyle Keen <keenerd at gmail.com>
-	* 2014.03-5
-	- No changes
-	- Rebuild for boost-1.57.0-1
-
-2014-08-18 Kyle Keen <keenerd at gmail.com>
-	* 2014.03-4
-	- No changes
-	- Rebuild for boost-1.56.0-1
-
-2014-08-18 Kyle Keen <keenerd at gmail.com>
-	* 2014.03-3
-	- No changes
-	- Rebuild for glew-1.11.0-1
-
-2014-08-12 Kyle Keen <keenerd at gmail.com>
-	* 2014.03-2
-	- No changes
-	- Rebuild for boost-1.56.0-1
-
-2014-03-09 Kyle Keen <keenerd at gmail.com>
-
-	* 2014.03-1
-	- New release
-	- MIME associations
-
-2014-02-10 Kyle Keen <keenerd at gmail.com>
-
-	* 2013.06-3
-	- Moved package to [community]
-	- Explicit boost depends
-	- Use official resources
-
-2014-02-07 Chirantan Ekbote <chirantan.ekbote at gmail.com>
-
-	* 2013.06-2
-	- Update makedepends since eigen3 has now become eigen in [extra]
-
-2013-06-19 Chirantan Ekbote <chirantan.ekbote at gmail.com>
-
-	* 2013.06-1 :
-	- Updated to version 2013.06
-
-2013-03-01 Chirantan Ekbote <chirantan.ekbote at gmail.com>
-
-	* 2013.01-2 :
-	Dependency qt replaced with qt4
-
-2013-01-23 Chirantan Ekbote <chirantan.ekbote at gmail.com>
-
-	* 2013.01-1 :
-	New upstream release.
-	Dependency eigen2 repaced by eigen3

Copied: openscad/repos/community-i686/CHANGELOG (from rev 171342, openscad/trunk/CHANGELOG)
===================================================================
--- community-i686/CHANGELOG	                        (rev 0)
+++ community-i686/CHANGELOG	2016-04-18 12:22:11 UTC (rev 171343)
@@ -0,0 +1,95 @@
+2015-04-18 Kyle Keen <keenerd at gmail.com>
+	* 2015.03.03-1
+	- Update to latest release
+	- Rebuild for cgal-4.8
+
+2015-11-16 Kyle Keen <keenerd at gmail.com>
+	* 2015.03.02-1
+	- Bugfix release
+
+2015-10-19 Kyle Keen <keenerd at gmail.com>
+	* 2015.03.01-5
+	- No changes
+	- Rebuild for cgal-4.7
+
+2015-10-02 foutrelis
+	* 2015.03.01-4
+	- No changes
+
+2015-04-29 Kyle Keen <keenerd at gmail.com>
+	* 2015.03.01-3
+	- No changes
+	- Rebuild for qscintilla-2.9-1
+
+2015-04-22 Kyle Keen <keenerd at gmail.com>
+	* 2015.03.01-2
+	- No changes
+	- Rebuild for boost-1.58.0-1
+
+2015-04-22 Kyle Keen <keenerd at gmail.com>
+	* 2015.03.01-1
+	- Bugfix release
+
+2015-04-11 Kyle Keen <keenerd at gmail.com>
+	* 2015.03-2
+	- No changes
+	- Rebuild for cgal-4.6-1
+
+2015-03-10 Kyle Keen <keenerd at gmail.com>
+	* 2015.03-1
+	- New release
+	- Now uses qscintilla for the editor
+
+2014-11-04 Kyle Keen <keenerd at gmail.com>
+	* 2014.03-5
+	- No changes
+	- Rebuild for boost-1.57.0-1
+
+2014-08-18 Kyle Keen <keenerd at gmail.com>
+	* 2014.03-4
+	- No changes
+	- Rebuild for boost-1.56.0-1
+
+2014-08-18 Kyle Keen <keenerd at gmail.com>
+	* 2014.03-3
+	- No changes
+	- Rebuild for glew-1.11.0-1
+
+2014-08-12 Kyle Keen <keenerd at gmail.com>
+	* 2014.03-2
+	- No changes
+	- Rebuild for boost-1.56.0-1
+
+2014-03-09 Kyle Keen <keenerd at gmail.com>
+
+	* 2014.03-1
+	- New release
+	- MIME associations
+
+2014-02-10 Kyle Keen <keenerd at gmail.com>
+
+	* 2013.06-3
+	- Moved package to [community]
+	- Explicit boost depends
+	- Use official resources
+
+2014-02-07 Chirantan Ekbote <chirantan.ekbote at gmail.com>
+
+	* 2013.06-2
+	- Update makedepends since eigen3 has now become eigen in [extra]
+
+2013-06-19 Chirantan Ekbote <chirantan.ekbote at gmail.com>
+
+	* 2013.06-1 :
+	- Updated to version 2013.06
+
+2013-03-01 Chirantan Ekbote <chirantan.ekbote at gmail.com>
+
+	* 2013.01-2 :
+	Dependency qt replaced with qt4
+
+2013-01-23 Chirantan Ekbote <chirantan.ekbote at gmail.com>
+
+	* 2013.01-1 :
+	New upstream release.
+	Dependency eigen2 repaced by eigen3

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2016-04-18 12:21:39 UTC (rev 171342)
+++ community-i686/PKGBUILD	2016-04-18 12:22:11 UTC (rev 171343)
@@ -1,55 +0,0 @@
-# $Id$
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-# Contributor: Chirantan Ekbote <chirantan.ekbote at gmail.com>
-# Contributor: Eric Anderson <ejona86 at gmail.com>
-# Contributor: Pierre DOUCET <pierre at equinoxefr.org>
-pkgname=openscad
-pkgver=2015.03.02
-_ver=2015.03-2  # hopefully -X is temporary
-pkgrel=3
-pkgdesc="The programmers solid 3D CAD modeller"
-url="http://openscad.org/"
-arch=('i686' 'x86_64')
-license=('GPL2')
-install=openscad.install
-changelog=CHANGELOG
-depends=('qt4' 'qscintilla' 'cgal' 'opencsg' 'boost-libs' 'shared-mime-info')
-makedepends=('eigen' 'boost' 'imagemagick')
-# full tests need imagemagick and an X11 or framebuffer session
-checkdepends=('cmake' 'xproto' 'libx11' 'python2')
-source=("http://files.openscad.org/openscad-$_ver.src.tar.gz")
-md5sums=('58e9dc59e120d75f8f11d126df313467')
-
-build() {
-    cd "$srcdir/$pkgname-$_ver"
-    qmake-qt4 PREFIX="/usr"
-    make
-    convert "icons/$pkgname.png" -resize 128x128\> "icons/$pkgname-128.png"
-}
-
-check() {
-    # see doc/testing.txt about enabling
-    # normally will display stuff, run image diffs
-    cd "$srcdir/$pkgname-$_ver/tests"
-    sed -i 's/exit 1/exit 0/' virtualfb.sh
-    cmake .
-    # pkgconfig weirdness
-    sed -i 's/-lmpfr/& -lX11/' CMakeFiles/openscad_nogui.dir/link.txt 
-    make
-    sed -i 's/ python$/&2/' *.py
-    sed -i 's|/usr/bin/python"|/usr/bin/python2"|g' CTestTestfile.cmake
-    sed -i 's|/usr/bin/python |/usr/bin/python2 |g' CTestCustom.cmake
-    msg "Running headless tests..."
-    ctest -R 'dumptest|csgtexttest|csgtermtest|openscad-nonascii|openscad-override'
-    # echotest is buggy on i686, check again next release
-}
-
-package() {
-    cd "$srcdir/$pkgname-$_ver"
-    make INSTALL_ROOT="$pkgdir" install
-    # can't remove earlier, py files needed for tests
-    rm "$pkgdir/usr/share/openscad/libraries/MCAD/"*.py
-    install -Dm644 "icons/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
-    install -Dm644 "icons/$pkgname-128.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
-    install -Dm644 "icons/$pkgname.xml" "$pkgdir/usr/share/mime/packages/$pkgname.xml"
-}

Copied: openscad/repos/community-i686/PKGBUILD (from rev 171342, openscad/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2016-04-18 12:22:11 UTC (rev 171343)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Chirantan Ekbote <chirantan.ekbote at gmail.com>
+# Contributor: Eric Anderson <ejona86 at gmail.com>
+# Contributor: Pierre DOUCET <pierre at equinoxefr.org>
+pkgname=openscad
+pkgver=2015.03.03
+_ver=2015.03-3  # hopefully -X is temporary
+pkgrel=1
+pkgdesc="The programmers solid 3D CAD modeller"
+url="http://openscad.org/"
+arch=('i686' 'x86_64')
+license=('GPL2')
+install=openscad.install
+changelog=CHANGELOG
+depends=('qt4' 'qscintilla' 'cgal' 'opencsg' 'boost-libs' 'shared-mime-info')
+makedepends=('eigen' 'boost' 'imagemagick')
+# full tests need imagemagick and an X11 or framebuffer session
+checkdepends=('cmake' 'xproto' 'libx11' 'python2')
+source=("http://files.openscad.org/openscad-$_ver.src.tar.gz")
+md5sums=('a498a218a247468eee140ccc44c73afa')
+
+build() {
+    cd "$srcdir/$pkgname-$_ver"
+    qmake-qt4 PREFIX="/usr"
+    make
+    convert "icons/$pkgname.png" -resize 128x128\> "icons/$pkgname-128.png"
+}
+
+check() {
+    # see doc/testing.txt about enabling
+    # normally will display stuff, run image diffs
+    cd "$srcdir/$pkgname-$_ver/tests"
+    sed -i 's/exit 1/exit 0/' virtualfb.sh
+    cmake .
+    # pkgconfig weirdness
+    sed -i 's/-lmpfr/& -lX11/' CMakeFiles/openscad_nogui.dir/link.txt 
+    make
+    sed -i 's/ python$/&2/' *.py
+    sed -i 's|/usr/bin/python"|/usr/bin/python2"|g' CTestTestfile.cmake
+    sed -i 's|/usr/bin/python |/usr/bin/python2 |g' CTestCustom.cmake
+    msg "Running headless tests..."
+    ctest -R 'dumptest|csgtexttest|csgtermtest|openscad-nonascii|openscad-override'
+    # echotest is buggy on i686, check again next release
+}
+
+package() {
+    cd "$srcdir/$pkgname-$_ver"
+    make INSTALL_ROOT="$pkgdir" install
+    # can't remove earlier, py files needed for tests
+    rm "$pkgdir/usr/share/openscad/libraries/MCAD/"*.py
+    install -Dm644 "icons/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
+    install -Dm644 "icons/$pkgname-128.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
+    install -Dm644 "icons/$pkgname.xml" "$pkgdir/usr/share/mime/packages/$pkgname.xml"
+}

Deleted: community-i686/openscad.install
===================================================================
--- community-i686/openscad.install	2016-04-18 12:21:39 UTC (rev 171342)
+++ community-i686/openscad.install	2016-04-18 12:22:11 UTC (rev 171343)
@@ -1,13 +0,0 @@
-post_install() {
-  update-desktop-database -q
-  update-mime-database usr/share/mime &> /dev/null
-  xdg-icon-resource forceupdate --theme hicolor &> /dev/null
-}
-
-post_upgrade() {
-  post_install
-}
-
-post_remove() {
-  post_install
-}

Copied: openscad/repos/community-i686/openscad.install (from rev 171342, openscad/trunk/openscad.install)
===================================================================
--- community-i686/openscad.install	                        (rev 0)
+++ community-i686/openscad.install	2016-04-18 12:22:11 UTC (rev 171343)
@@ -0,0 +1,13 @@
+post_install() {
+  update-desktop-database -q
+  update-mime-database usr/share/mime &> /dev/null
+  xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}

Deleted: community-x86_64/CHANGELOG
===================================================================
--- community-x86_64/CHANGELOG	2016-04-18 12:21:39 UTC (rev 171342)
+++ community-x86_64/CHANGELOG	2016-04-18 12:22:11 UTC (rev 171343)
@@ -1,90 +0,0 @@
-2015-11-16 Kyle Keen <keenerd at gmail.com>
-	* 2015.03.02-1
-	- Bugfix release
-
-2015-10-19 Kyle Keen <keenerd at gmail.com>
-	* 2015.03.01-5
-	- No changes
-	- Rebuild for cgal-4.7
-
-2015-10-02 foutrelis
-	* 2015.03.01-4
-	- No changes
-
-2015-04-29 Kyle Keen <keenerd at gmail.com>
-	* 2015.03.01-3
-	- No changes
-	- Rebuild for qscintilla-2.9-1
-
-2015-04-22 Kyle Keen <keenerd at gmail.com>
-	* 2015.03.01-2
-	- No changes
-	- Rebuild for boost-1.58.0-1
-
-2015-04-22 Kyle Keen <keenerd at gmail.com>
-	* 2015.03.01-1
-	- Bugfix release
-
-2015-04-11 Kyle Keen <keenerd at gmail.com>
-	* 2015.03-2
-	- No changes
-	- Rebuild for cgal-4.6-1
-
-2015-03-10 Kyle Keen <keenerd at gmail.com>
-	* 2015.03-1
-	- New release
-	- Now uses qscintilla for the editor
-
-2014-11-04 Kyle Keen <keenerd at gmail.com>
-	* 2014.03-5
-	- No changes
-	- Rebuild for boost-1.57.0-1
-
-2014-08-18 Kyle Keen <keenerd at gmail.com>
-	* 2014.03-4
-	- No changes
-	- Rebuild for boost-1.56.0-1
-
-2014-08-18 Kyle Keen <keenerd at gmail.com>
-	* 2014.03-3
-	- No changes
-	- Rebuild for glew-1.11.0-1
-
-2014-08-12 Kyle Keen <keenerd at gmail.com>
-	* 2014.03-2
-	- No changes
-	- Rebuild for boost-1.56.0-1
-
-2014-03-09 Kyle Keen <keenerd at gmail.com>
-
-	* 2014.03-1
-	- New release
-	- MIME associations
-
-2014-02-10 Kyle Keen <keenerd at gmail.com>
-
-	* 2013.06-3
-	- Moved package to [community]
-	- Explicit boost depends
-	- Use official resources
-
-2014-02-07 Chirantan Ekbote <chirantan.ekbote at gmail.com>
-
-	* 2013.06-2
-	- Update makedepends since eigen3 has now become eigen in [extra]
-
-2013-06-19 Chirantan Ekbote <chirantan.ekbote at gmail.com>
-
-	* 2013.06-1 :
-	- Updated to version 2013.06
-
-2013-03-01 Chirantan Ekbote <chirantan.ekbote at gmail.com>
-
-	* 2013.01-2 :
-	Dependency qt replaced with qt4
-
-2013-01-23 Chirantan Ekbote <chirantan.ekbote at gmail.com>
-
-	* 2013.01-1 :
-	New upstream release.
-	Dependency eigen2 repaced by eigen3

Copied: openscad/repos/community-x86_64/CHANGELOG (from rev 171342, openscad/trunk/CHANGELOG)
===================================================================
--- community-x86_64/CHANGELOG	                        (rev 0)
+++ community-x86_64/CHANGELOG	2016-04-18 12:22:11 UTC (rev 171343)
@@ -0,0 +1,95 @@
+2015-04-18 Kyle Keen <keenerd at gmail.com>
+	* 2015.03.03-1
+	- Update to latest release
+	- Rebuild for cgal-4.8
+
+2015-11-16 Kyle Keen <keenerd at gmail.com>
+	* 2015.03.02-1
+	- Bugfix release
+
+2015-10-19 Kyle Keen <keenerd at gmail.com>
+	* 2015.03.01-5
+	- No changes
+	- Rebuild for cgal-4.7
+
+2015-10-02 foutrelis
+	* 2015.03.01-4
+	- No changes
+
+2015-04-29 Kyle Keen <keenerd at gmail.com>
+	* 2015.03.01-3
+	- No changes
+	- Rebuild for qscintilla-2.9-1
+
+2015-04-22 Kyle Keen <keenerd at gmail.com>
+	* 2015.03.01-2
+	- No changes
+	- Rebuild for boost-1.58.0-1
+
+2015-04-22 Kyle Keen <keenerd at gmail.com>
+	* 2015.03.01-1
+	- Bugfix release
+
+2015-04-11 Kyle Keen <keenerd at gmail.com>
+	* 2015.03-2
+	- No changes
+	- Rebuild for cgal-4.6-1
+
+2015-03-10 Kyle Keen <keenerd at gmail.com>
+	* 2015.03-1
+	- New release
+	- Now uses qscintilla for the editor
+
+2014-11-04 Kyle Keen <keenerd at gmail.com>
+	* 2014.03-5
+	- No changes
+	- Rebuild for boost-1.57.0-1
+
+2014-08-18 Kyle Keen <keenerd at gmail.com>
+	* 2014.03-4
+	- No changes
+	- Rebuild for boost-1.56.0-1
+
+2014-08-18 Kyle Keen <keenerd at gmail.com>
+	* 2014.03-3
+	- No changes
+	- Rebuild for glew-1.11.0-1
+
+2014-08-12 Kyle Keen <keenerd at gmail.com>
+	* 2014.03-2
+	- No changes
+	- Rebuild for boost-1.56.0-1
+
+2014-03-09 Kyle Keen <keenerd at gmail.com>
+
+	* 2014.03-1
+	- New release
+	- MIME associations
+
+2014-02-10 Kyle Keen <keenerd at gmail.com>
+
+	* 2013.06-3
+	- Moved package to [community]
+	- Explicit boost depends
+	- Use official resources
+
+2014-02-07 Chirantan Ekbote <chirantan.ekbote at gmail.com>
+
+	* 2013.06-2
+	- Update makedepends since eigen3 has now become eigen in [extra]
+
+2013-06-19 Chirantan Ekbote <chirantan.ekbote at gmail.com>
+
+	* 2013.06-1 :
+	- Updated to version 2013.06
+
+2013-03-01 Chirantan Ekbote <chirantan.ekbote at gmail.com>
+
+	* 2013.01-2 :
+	Dependency qt replaced with qt4
+
+2013-01-23 Chirantan Ekbote <chirantan.ekbote at gmail.com>
+
+	* 2013.01-1 :
+	New upstream release.
+	Dependency eigen2 repaced by eigen3

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2016-04-18 12:21:39 UTC (rev 171342)
+++ community-x86_64/PKGBUILD	2016-04-18 12:22:11 UTC (rev 171343)
@@ -1,55 +0,0 @@
-# $Id$
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-# Contributor: Chirantan Ekbote <chirantan.ekbote at gmail.com>
-# Contributor: Eric Anderson <ejona86 at gmail.com>
-# Contributor: Pierre DOUCET <pierre at equinoxefr.org>
-pkgname=openscad
-pkgver=2015.03.02
-_ver=2015.03-2  # hopefully -X is temporary
-pkgrel=3
-pkgdesc="The programmers solid 3D CAD modeller"
-url="http://openscad.org/"
-arch=('i686' 'x86_64')
-license=('GPL2')
-install=openscad.install
-changelog=CHANGELOG
-depends=('qt4' 'qscintilla' 'cgal' 'opencsg' 'boost-libs' 'shared-mime-info')
-makedepends=('eigen' 'boost' 'imagemagick')
-# full tests need imagemagick and an X11 or framebuffer session
-checkdepends=('cmake' 'xproto' 'libx11' 'python2')
-source=("http://files.openscad.org/openscad-$_ver.src.tar.gz")
-md5sums=('58e9dc59e120d75f8f11d126df313467')
-
-build() {
-    cd "$srcdir/$pkgname-$_ver"
-    qmake-qt4 PREFIX="/usr"
-    make
-    convert "icons/$pkgname.png" -resize 128x128\> "icons/$pkgname-128.png"
-}
-
-check() {
-    # see doc/testing.txt about enabling
-    # normally will display stuff, run image diffs
-    cd "$srcdir/$pkgname-$_ver/tests"
-    sed -i 's/exit 1/exit 0/' virtualfb.sh
-    cmake .
-    # pkgconfig weirdness
-    sed -i 's/-lmpfr/& -lX11/' CMakeFiles/openscad_nogui.dir/link.txt 
-    make
-    sed -i 's/ python$/&2/' *.py
-    sed -i 's|/usr/bin/python"|/usr/bin/python2"|g' CTestTestfile.cmake
-    sed -i 's|/usr/bin/python |/usr/bin/python2 |g' CTestCustom.cmake
-    msg "Running headless tests..."
-    ctest -R 'dumptest|csgtexttest|csgtermtest|openscad-nonascii|openscad-override'
-    # echotest is buggy on i686, check again next release
-}
-
-package() {
-    cd "$srcdir/$pkgname-$_ver"
-    make INSTALL_ROOT="$pkgdir" install
-    # can't remove earlier, py files needed for tests
-    rm "$pkgdir/usr/share/openscad/libraries/MCAD/"*.py
-    install -Dm644 "icons/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
-    install -Dm644 "icons/$pkgname-128.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
-    install -Dm644 "icons/$pkgname.xml" "$pkgdir/usr/share/mime/packages/$pkgname.xml"
-}

Copied: openscad/repos/community-x86_64/PKGBUILD (from rev 171342, openscad/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2016-04-18 12:22:11 UTC (rev 171343)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Chirantan Ekbote <chirantan.ekbote at gmail.com>
+# Contributor: Eric Anderson <ejona86 at gmail.com>
+# Contributor: Pierre DOUCET <pierre at equinoxefr.org>
+pkgname=openscad
+pkgver=2015.03.03
+_ver=2015.03-3  # hopefully -X is temporary
+pkgrel=1
+pkgdesc="The programmers solid 3D CAD modeller"
+url="http://openscad.org/"
+arch=('i686' 'x86_64')
+license=('GPL2')
+install=openscad.install
+changelog=CHANGELOG
+depends=('qt4' 'qscintilla' 'cgal' 'opencsg' 'boost-libs' 'shared-mime-info')
+makedepends=('eigen' 'boost' 'imagemagick')
+# full tests need imagemagick and an X11 or framebuffer session
+checkdepends=('cmake' 'xproto' 'libx11' 'python2')
+source=("http://files.openscad.org/openscad-$_ver.src.tar.gz")
+md5sums=('a498a218a247468eee140ccc44c73afa')
+
+build() {
+    cd "$srcdir/$pkgname-$_ver"
+    qmake-qt4 PREFIX="/usr"
+    make
+    convert "icons/$pkgname.png" -resize 128x128\> "icons/$pkgname-128.png"
+}
+
+check() {
+    # see doc/testing.txt about enabling
+    # normally will display stuff, run image diffs
+    cd "$srcdir/$pkgname-$_ver/tests"
+    sed -i 's/exit 1/exit 0/' virtualfb.sh
+    cmake .
+    # pkgconfig weirdness
+    sed -i 's/-lmpfr/& -lX11/' CMakeFiles/openscad_nogui.dir/link.txt 
+    make
+    sed -i 's/ python$/&2/' *.py
+    sed -i 's|/usr/bin/python"|/usr/bin/python2"|g' CTestTestfile.cmake
+    sed -i 's|/usr/bin/python |/usr/bin/python2 |g' CTestCustom.cmake
+    msg "Running headless tests..."
+    ctest -R 'dumptest|csgtexttest|csgtermtest|openscad-nonascii|openscad-override'
+    # echotest is buggy on i686, check again next release
+}
+
+package() {
+    cd "$srcdir/$pkgname-$_ver"
+    make INSTALL_ROOT="$pkgdir" install
+    # can't remove earlier, py files needed for tests
+    rm "$pkgdir/usr/share/openscad/libraries/MCAD/"*.py
+    install -Dm644 "icons/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
+    install -Dm644 "icons/$pkgname-128.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
+    install -Dm644 "icons/$pkgname.xml" "$pkgdir/usr/share/mime/packages/$pkgname.xml"
+}

Deleted: community-x86_64/openscad.install
===================================================================
--- community-x86_64/openscad.install	2016-04-18 12:21:39 UTC (rev 171342)
+++ community-x86_64/openscad.install	2016-04-18 12:22:11 UTC (rev 171343)
@@ -1,13 +0,0 @@
-post_install() {
-  update-desktop-database -q
-  update-mime-database usr/share/mime &> /dev/null
-  xdg-icon-resource forceupdate --theme hicolor &> /dev/null
-}
-
-post_upgrade() {
-  post_install
-}
-
-post_remove() {
-  post_install
-}

Copied: openscad/repos/community-x86_64/openscad.install (from rev 171342, openscad/trunk/openscad.install)
===================================================================
--- community-x86_64/openscad.install	                        (rev 0)
+++ community-x86_64/openscad.install	2016-04-18 12:22:11 UTC (rev 171343)
@@ -0,0 +1,13 @@
+post_install() {
+  update-desktop-database -q
+  update-mime-database usr/share/mime &> /dev/null
+  xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}



More information about the arch-commits mailing list