[arch-commits] Commit in stellarium/repos (10 files)
Date: Saturday, May 14, 2016 @ 22:10:45 Author: arojas Revision: 268023 archrelease: copy trunk to extra-i686, extra-x86_64 Added: stellarium/repos/extra-i686/PKGBUILD (from rev 268021, stellarium/trunk/PKGBUILD) stellarium/repos/extra-i686/libpng14.patch (from rev 268021, stellarium/trunk/libpng14.patch) stellarium/repos/extra-x86_64/PKGBUILD (from rev 268022, stellarium/trunk/PKGBUILD) stellarium/repos/extra-x86_64/libpng14.patch (from rev 268022, stellarium/trunk/libpng14.patch) Deleted: stellarium/repos/extra-i686/PKGBUILD stellarium/repos/extra-i686/libpng14.patch stellarium/repos/extra-i686/stellarium.install stellarium/repos/extra-x86_64/PKGBUILD stellarium/repos/extra-x86_64/libpng14.patch stellarium/repos/extra-x86_64/stellarium.install -+ /PKGBUILD | 58 ++ /libpng14.patch | 42 +++ extra-i686/PKGBUILD | 30 --- extra-i686/libpng14.patch | 21 - extra-i686/stellarium.install | 14 - extra-x86_64/PKGBUILD | 30 --- extra-x86_64/libpng14.patch | 21 - extra-x86_64/stellarium.install | 14 - 8 files changed, 100 insertions(+), 130 deletions(-) Deleted: extra-i686/PKGBUILD === --- extra-i686/PKGBUILD 2016-05-14 20:10:36 UTC (rev 268022) +++ extra-i686/PKGBUILD 2016-05-14 20:10:45 UTC (rev 268023) @@ -1,30 +0,0 @@ -# $Id$ -# Maintainer: Ronald van Haren -# Contributor: Damir Perisa - -pkgname=stellarium -pkgver=0.14.3 -pkgrel=1 -pkgdesc="A stellarium with great graphics and a nice database of sky-objects" -arch=("i686" "x86_64") -url="http://stellarium.free.fr/"; -license=('GPL2') -depends=('libpng' 'glu' 'libgl' 'freetype2' 'openssl' 'qt5-script' - 'desktop-file-utils' 'xdg-utils' 'phonon' 'qt5-serialport') -install=stellarium.install -makedepends=('cmake' 'boost' 'mesa' 'mesa-libgl' 'qt5-tools') -source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz) -sha1sums=('50e9e2555316df5ae64230361c8970d89385b0f3') - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - - cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE - make -} - -package() { - cd "${srcdir}/${pkgname}-${pkgver}" - - make DESTDIR="${pkgdir}" install -} Copied: stellarium/repos/extra-i686/PKGBUILD (from rev 268021, stellarium/trunk/PKGBUILD) === --- extra-i686/PKGBUILD (rev 0) +++ extra-i686/PKGBUILD 2016-05-14 20:10:45 UTC (rev 268023) @@ -0,0 +1,29 @@ +# $Id$ +# Maintainer: Ronald van Haren +# Contributor: Damir Perisa + +pkgname=stellarium +pkgver=0.14.3 +pkgrel=2 +pkgdesc="A stellarium with great graphics and a nice database of sky-objects" +arch=("i686" "x86_64") +url="http://stellarium.org/"; +license=('GPL2') +depends=('libpng' 'glu' 'libgl' 'freetype2' 'openssl' 'qt5-script' + 'desktop-file-utils' 'xdg-utils' 'phonon' 'qt5-serialport') +makedepends=('cmake' 'boost' 'mesa' 'mesa-libgl' 'qt5-tools') +source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz) +sha1sums=('50e9e2555316df5ae64230361c8970d89385b0f3') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install +} Deleted: extra-i686/libpng14.patch === --- extra-i686/libpng14.patch 2016-05-14 20:10:36 UTC (rev 268022) +++ extra-i686/libpng14.patch 2016-05-14 20:10:45 UTC (rev 268023) @@ -1,21 +0,0 @@ -diff -Naur stellarium-0.10.2-orig/src/core/StelTextureMgr.cpp stellarium-0.10.2/src/core/StelTextureMgr.cpp stellarium-0.10.2-orig/src/core/StelTextureMgr.cpp 2010-01-21 17:04:57.0 -0500 -+++ stellarium-0.10.2/src/core/StelTextureMgr.cpp 2010-01-21 17:06:55.0 -0500 -@@ -513,7 +513,7 @@ - fread (magic, 1, sizeof (magic), fp); - - /* check for valid magic number */ -- if (!png_check_sig (magic, sizeof (magic))) -+ if (png_sig_cmp (magic, 0, sizeof (magic))) - { - qWarning() << "error: \"" << filename << "\" is not a valid PNG image!"; - fclose (fp); -@@ -576,7 +576,7 @@ - /* convert 1-2-4 bits grayscale images to 8 bits - grayscale. */ - if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) -- png_set_gray_1_2_4_to_8 (png_ptr); -+ png_set_expand_gray_1_2_4_to_8 (png_ptr); - - if (png_get_valid (png_ptr, info_ptr, PNG_INFO_tRNS)) - png_set_tRNS_to_alpha (png_ptr); Copied: stellarium/repos/extra-i686/libpng14.patch (from rev 268021, stellarium/trunk/libpng14.patch)
[arch-commits] Commit in stellarium/repos (10 files)
Date: Friday, October 12, 2012 @ 15:14:51 Author: andyrtr Revision: 168495 archrelease: copy trunk to testing-i686, testing-x86_64 Added: stellarium/repos/testing-i686/ stellarium/repos/testing-i686/PKGBUILD (from rev 168494, stellarium/trunk/PKGBUILD) stellarium/repos/testing-i686/libpng14.patch (from rev 168494, stellarium/trunk/libpng14.patch) stellarium/repos/testing-i686/stellarium.desktop (from rev 168494, stellarium/trunk/stellarium.desktop) stellarium/repos/testing-i686/stellarium.png (from rev 168494, stellarium/trunk/stellarium.png) stellarium/repos/testing-x86_64/ stellarium/repos/testing-x86_64/PKGBUILD (from rev 168494, stellarium/trunk/PKGBUILD) stellarium/repos/testing-x86_64/libpng14.patch (from rev 168494, stellarium/trunk/libpng14.patch) stellarium/repos/testing-x86_64/stellarium.desktop (from rev 168494, stellarium/trunk/stellarium.desktop) stellarium/repos/testing-x86_64/stellarium.png (from rev 168494, stellarium/trunk/stellarium.png) ---+ testing-i686/PKGBUILD | 38 testing-i686/libpng14.patch | 21 +++ testing-i686/stellarium.desktop |9 testing-x86_64/PKGBUILD | 38 testing-x86_64/libpng14.patch | 21 +++ testing-x86_64/stellarium.desktop |9 6 files changed, 136 insertions(+) Copied: stellarium/repos/testing-i686/PKGBUILD (from rev 168494, stellarium/trunk/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2012-10-12 19:14:51 UTC (rev 168495) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Ronald van Haren +# Contributor: Damir Perisa + +pkgname=stellarium +pkgver=0.11.4 +pkgrel=2 +pkgdesc="A stellarium with great graphics and a nice database of sky-objects" +arch=("i686" "x86_64") +url="http://stellarium.free.fr/"; +license=('GPL2') +depends=('libpng' 'glu' 'libgl' 'freetype2' 'qt' 'openssl') +makedepends=('cmake' 'boost' 'mesa') +source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz + stellarium.desktop +stellarium.png) +sha1sums=('5b8bfd71b4c3eabbc1db64b71221eeebe6785dbf' + 'c9cc79212542238227b5bd6af99f60fe056f4ab2' + 'b890d3b6c4dcfcfcc696514202af11b2a50c0fea') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + + cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + + make DESTDIR=${pkgdir} install + + # install desktop file & pixmap + install -Dm644 ${srcdir}/stellarium.desktop \ + ${pkgdir}/usr/share/applications/stellarium.desktop + install -Dm644 ${srcdir}/stellarium.png \ + ${pkgdir}/usr/share/pixmaps/stellarium.png +} Copied: stellarium/repos/testing-i686/libpng14.patch (from rev 168494, stellarium/trunk/libpng14.patch) === --- testing-i686/libpng14.patch (rev 0) +++ testing-i686/libpng14.patch 2012-10-12 19:14:51 UTC (rev 168495) @@ -0,0 +1,21 @@ +diff -Naur stellarium-0.10.2-orig/src/core/StelTextureMgr.cpp stellarium-0.10.2/src/core/StelTextureMgr.cpp +--- stellarium-0.10.2-orig/src/core/StelTextureMgr.cpp 2010-01-21 17:04:57.0 -0500 stellarium-0.10.2/src/core/StelTextureMgr.cpp 2010-01-21 17:06:55.0 -0500 +@@ -513,7 +513,7 @@ + fread (magic, 1, sizeof (magic), fp); + + /* check for valid magic number */ +- if (!png_check_sig (magic, sizeof (magic))) ++ if (png_sig_cmp (magic, 0, sizeof (magic))) + { + qWarning() << "error: \"" << filename << "\" is not a valid PNG image!"; + fclose (fp); +@@ -576,7 +576,7 @@ + /* convert 1-2-4 bits grayscale images to 8 bits + grayscale. */ + if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) +- png_set_gray_1_2_4_to_8 (png_ptr); ++ png_set_expand_gray_1_2_4_to_8 (png_ptr); + + if (png_get_valid (png_ptr, info_ptr, PNG_INFO_tRNS)) + png_set_tRNS_to_alpha (png_ptr); Copied: stellarium/repos/testing-i686/stellarium.desktop (from rev 168494, stellarium/trunk/stellarium.desktop) === --- testing-i686/stellarium.desktop (rev 0) +++ testing-i686/stellarium.desktop 2012-10-12 19:14:51 UTC (rev 168495) @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=Stellarium nightsky renderer +GenericName=Nightsky renderer +Comment=A real-time nightsky renderer +Categories=Education;Science;Astronomy; +Icon=stellarium +Exec=stellarium +Terminal=false +Type=Application Copied: stellarium/repos/testing-i686/stellarium.png (from rev 168494, stellarium/trunk/stellarium.png) ==