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

Evangelos Foutras foutrelis at archlinux.org
Mon Dec 21 19:02:07 UTC 2015


    Date: Monday, December 21, 2015 @ 20:02:07
  Author: foutrelis
Revision: 154039

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

Added:
  povray/repos/community-staging-i686/
  povray/repos/community-staging-i686/PKGBUILD
    (from rev 154038, povray/trunk/PKGBUILD)
  povray/repos/community-staging-i686/povray3.7.0_rc3-user-conf.patch
    (from rev 154038, povray/trunk/povray3.7.0_rc3-user-conf.patch)
  povray/repos/community-staging-x86_64/
  povray/repos/community-staging-x86_64/PKGBUILD
    (from rev 154038, povray/trunk/PKGBUILD)
  povray/repos/community-staging-x86_64/povray3.7.0_rc3-user-conf.patch
    (from rev 154038, povray/trunk/povray3.7.0_rc3-user-conf.patch)

----------------------------------------------------------+
 community-staging-i686/PKGBUILD                          |   59 +++++++++++++
 community-staging-i686/povray3.7.0_rc3-user-conf.patch   |   27 +++++
 community-staging-x86_64/PKGBUILD                        |   59 +++++++++++++
 community-staging-x86_64/povray3.7.0_rc3-user-conf.patch |   27 +++++
 4 files changed, 172 insertions(+)

Copied: povray/repos/community-staging-i686/PKGBUILD (from rev 154038, povray/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-12-21 19:02:07 UTC (rev 154039)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+# Contributor: tobias <tobias at archlinux.org>
+# Contributor: red_over_blue
+# Contributor: neri
+
+pkgname=povray
+pkgver=3.7
+pkgrel=11
+epoch=1
+pkgdesc='Script based raytracer for creating 3D graphics'
+arch=('x86_64' 'i686')
+license=('AGPL3')
+url='http://povray.org/'
+depends=('libtiff' 'libpng' 'boost-libs')
+makedepends=('boost')
+backup=("etc/povray/$pkgver/povray.conf"
+        "etc/povray/$pkgver/povray.ini")
+source=("$pkgname-$pkgver.zip::https://github.com/POV-Ray/povray/archive/3.7-stable.zip"
+        'povray3.7.0_rc3-user-conf.patch')
+sha256sums=('9d4752c19a33bd1c804abc1642e2c6c2256af7ea47b0c534c6aa12938d05cf34'
+            '95b04ec4973e6e8a80fc83df2e3caff0b4d6699c4154144f3017d42cab7236e0')
+
+prepare() {
+  cd "$pkgname-$pkgver-stable"
+
+  cd unix
+  sed 's/automake --w/automake --add-missing --w/g' -i prebuild.sh
+  sed 's/dist-bzip2/dist-bzip2 subdir-objects/g' -i configure.ac
+  ./prebuild.sh
+  cd ..
+  ./bootstrap
+  patch -p1 < "$srcdir/povray3.7.0_rc3-user-conf.patch"
+}
+
+build() {
+  cd "$pkgname-$pkgver-stable"
+
+  ./configure LIBS="-lboost_system -lboost_thread" COMPILED_BY='Arch Linux' \
+    --prefix=/usr --sysconfdir=/etc
+  make CXXFLAGS+="-w -lboost_system -lboost_thread"
+  gzip -f povray.1
+}
+
+package() {
+  cd "$pkgname-$pkgver-stable"
+
+  install -d "$pkgdir/usr/share/$pkgname-$pkgver"
+  install -d "$pkgdir/usr/share/doc/$pkgname-$pkgver"
+  cp -r icons include ini scenes scripts "$pkgdir/usr/share/$pkgname-$pkgver"
+  cp -r doc "$pkgdir/usr/share/doc/$pkgname-$pkgver"
+  install -Dm755 unix/povray "$pkgdir/usr/bin/povray"
+  install -Dm644 povray.conf "$pkgdir/etc/povray/$pkgver/povray.conf"
+  install -Dm644 povray.ini "$pkgdir/etc/povray/$pkgver/povray.ini"
+  install -Dm644 povray.1.gz "$pkgdir/usr/share/man/man1/povray.1.gz"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: povray/repos/community-staging-i686/povray3.7.0_rc3-user-conf.patch (from rev 154038, povray/trunk/povray3.7.0_rc3-user-conf.patch)
===================================================================
--- community-staging-i686/povray3.7.0_rc3-user-conf.patch	                        (rev 0)
+++ community-staging-i686/povray3.7.0_rc3-user-conf.patch	2015-12-21 19:02:07 UTC (rev 154039)
@@ -0,0 +1,27 @@
+ Makefile.am |   13 -------------
+ 1 files changed, 0 insertions(+), 13 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index 76b394c..9822c52 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -107,19 +107,6 @@ install-data-local:
+ 	for f in $$filelist ; do \
+ 	  $(INSTALL_DATA) $(top_srcdir)/doc/$$f $(DESTDIR)$(povdocdir)/$$f && echo "$(DESTDIR)$(povdocdir)/$$f" >> $(povinstall); \
+ 	done
+-	@echo "Creating user directories..."; \
+-	for p in $(povuser) $(povconfuser) ; do \
+-	  $(mkdir_p) $$p && chown $(povowner) $$p && chgrp $(povgroup) $$p && printf "%s\n" "$$p" "`cat $(povinstall)`" > $(povinstall); \
+-	done
+-	@echo "Copying user configuration and INI files..."; \
+-	for f in povray.conf povray.ini ; do \
+-	  if test -f $(povconfuser)/$$f; then \
+-	    echo "Creating backup of $(povconfuser)/$$f"; \
+-	    mv -f $(povconfuser)/$$f $(povconfuser)/$$f.bak; \
+-	  fi; \
+-	done; \
+-	$(INSTALL_DATA) $(top_srcdir)/povray.conf $(povconfuser)/povray.conf && chown $(povowner) $(povconfuser)/povray.conf && chgrp $(povgroup) $(povconfuser)/povray.conf  && echo "$(povconfuser)/povray.conf" >> $(povinstall); \
+-	$(INSTALL_DATA) $(top_builddir)/povray.ini $(povconfuser)/povray.ini && chown $(povowner) $(povconfuser)/povray.ini && chgrp $(povgroup) $(povconfuser)/povray.ini  && echo "$(povconfuser)/povray.ini" >> $(povinstall)
+ 
+ # Remove data, config, and empty folders for 'make uninstall'.
+ # Use 'hook' instead of 'local' so as to properly remove *empty* folders (e.g. scripts).

Copied: povray/repos/community-staging-x86_64/PKGBUILD (from rev 154038, povray/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-12-21 19:02:07 UTC (rev 154039)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+# Contributor: tobias <tobias at archlinux.org>
+# Contributor: red_over_blue
+# Contributor: neri
+
+pkgname=povray
+pkgver=3.7
+pkgrel=11
+epoch=1
+pkgdesc='Script based raytracer for creating 3D graphics'
+arch=('x86_64' 'i686')
+license=('AGPL3')
+url='http://povray.org/'
+depends=('libtiff' 'libpng' 'boost-libs')
+makedepends=('boost')
+backup=("etc/povray/$pkgver/povray.conf"
+        "etc/povray/$pkgver/povray.ini")
+source=("$pkgname-$pkgver.zip::https://github.com/POV-Ray/povray/archive/3.7-stable.zip"
+        'povray3.7.0_rc3-user-conf.patch')
+sha256sums=('9d4752c19a33bd1c804abc1642e2c6c2256af7ea47b0c534c6aa12938d05cf34'
+            '95b04ec4973e6e8a80fc83df2e3caff0b4d6699c4154144f3017d42cab7236e0')
+
+prepare() {
+  cd "$pkgname-$pkgver-stable"
+
+  cd unix
+  sed 's/automake --w/automake --add-missing --w/g' -i prebuild.sh
+  sed 's/dist-bzip2/dist-bzip2 subdir-objects/g' -i configure.ac
+  ./prebuild.sh
+  cd ..
+  ./bootstrap
+  patch -p1 < "$srcdir/povray3.7.0_rc3-user-conf.patch"
+}
+
+build() {
+  cd "$pkgname-$pkgver-stable"
+
+  ./configure LIBS="-lboost_system -lboost_thread" COMPILED_BY='Arch Linux' \
+    --prefix=/usr --sysconfdir=/etc
+  make CXXFLAGS+="-w -lboost_system -lboost_thread"
+  gzip -f povray.1
+}
+
+package() {
+  cd "$pkgname-$pkgver-stable"
+
+  install -d "$pkgdir/usr/share/$pkgname-$pkgver"
+  install -d "$pkgdir/usr/share/doc/$pkgname-$pkgver"
+  cp -r icons include ini scenes scripts "$pkgdir/usr/share/$pkgname-$pkgver"
+  cp -r doc "$pkgdir/usr/share/doc/$pkgname-$pkgver"
+  install -Dm755 unix/povray "$pkgdir/usr/bin/povray"
+  install -Dm644 povray.conf "$pkgdir/etc/povray/$pkgver/povray.conf"
+  install -Dm644 povray.ini "$pkgdir/etc/povray/$pkgver/povray.ini"
+  install -Dm644 povray.1.gz "$pkgdir/usr/share/man/man1/povray.1.gz"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: povray/repos/community-staging-x86_64/povray3.7.0_rc3-user-conf.patch (from rev 154038, povray/trunk/povray3.7.0_rc3-user-conf.patch)
===================================================================
--- community-staging-x86_64/povray3.7.0_rc3-user-conf.patch	                        (rev 0)
+++ community-staging-x86_64/povray3.7.0_rc3-user-conf.patch	2015-12-21 19:02:07 UTC (rev 154039)
@@ -0,0 +1,27 @@
+ Makefile.am |   13 -------------
+ 1 files changed, 0 insertions(+), 13 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index 76b394c..9822c52 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -107,19 +107,6 @@ install-data-local:
+ 	for f in $$filelist ; do \
+ 	  $(INSTALL_DATA) $(top_srcdir)/doc/$$f $(DESTDIR)$(povdocdir)/$$f && echo "$(DESTDIR)$(povdocdir)/$$f" >> $(povinstall); \
+ 	done
+-	@echo "Creating user directories..."; \
+-	for p in $(povuser) $(povconfuser) ; do \
+-	  $(mkdir_p) $$p && chown $(povowner) $$p && chgrp $(povgroup) $$p && printf "%s\n" "$$p" "`cat $(povinstall)`" > $(povinstall); \
+-	done
+-	@echo "Copying user configuration and INI files..."; \
+-	for f in povray.conf povray.ini ; do \
+-	  if test -f $(povconfuser)/$$f; then \
+-	    echo "Creating backup of $(povconfuser)/$$f"; \
+-	    mv -f $(povconfuser)/$$f $(povconfuser)/$$f.bak; \
+-	  fi; \
+-	done; \
+-	$(INSTALL_DATA) $(top_srcdir)/povray.conf $(povconfuser)/povray.conf && chown $(povowner) $(povconfuser)/povray.conf && chgrp $(povgroup) $(povconfuser)/povray.conf  && echo "$(povconfuser)/povray.conf" >> $(povinstall); \
+-	$(INSTALL_DATA) $(top_builddir)/povray.ini $(povconfuser)/povray.ini && chown $(povowner) $(povconfuser)/povray.ini && chgrp $(povgroup) $(povconfuser)/povray.ini  && echo "$(povconfuser)/povray.ini" >> $(povinstall)
+ 
+ # Remove data, config, and empty folders for 'make uninstall'.
+ # Use 'hook' instead of 'local' so as to properly remove *empty* folders (e.g. scripts).



More information about the arch-commits mailing list