[arch-commits] Commit in celestia/trunk (PKGBUILD)

2020-11-28 Thread Antonio Rojas via arch-commits
Date: Saturday, November 28, 2020 @ 18:11:19
  Author: arojas
Revision: 402376

Update to 1.6.2.1

Modified:
  celestia/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-28 18:06:24 UTC (rev 402375)
+++ PKGBUILD2020-11-28 18:11:19 UTC (rev 402376)
@@ -2,7 +2,7 @@
 # Contributor : Damir Perisa 
 
 pkgname=celestia
-pkgver=1.6.2
+pkgver=1.6.2.1
 pkgrel=1
 pkgdesc="Real-time space simulation"
 arch=('x86_64')
@@ -10,8 +10,8 @@
 url="https://celestia.space/;
 depends=('gtk2' 'libtheora' 'lua53' 'gtkglext' 'glut' 'libxmu' 'glu' 'libjpeg' 
'mesa')
 options=('!makeflags')
-source=("https://downloads.sourceforge.net/sourceforge/celestia/${pkgname}-${pkgver}.tar.gz;)
-sha1sums=('c94562902e3fcfa72203f96d5f711edb868dfc7e')
+source=("https://github.com/CelestiaProject/Celestia/archive/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha1sums=('fbd404e0a132f0b555cf2e061e36bd384fb6038c')
 
 prepare() {
 cd Celestia-${pkgver}


[arch-commits] Commit in celestia/trunk (PKGBUILD)

2020-05-16 Thread Felix Yan via arch-commits
Date: Saturday, May 16, 2020 @ 11:59:57
  Author: felixonmars
Revision: 384401

upgpkg: celestia 1.6.1-8: reproducibility rebuild

Modified:
  celestia/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-05-16 11:59:55 UTC (rev 384400)
+++ PKGBUILD2020-05-16 11:59:57 UTC (rev 384401)
@@ -3,7 +3,7 @@
 
 pkgname=celestia
 pkgver=1.6.1
-pkgrel=7
+pkgrel=8
 pkgdesc="Real-time space simulation"
 arch=('x86_64')
 license=('GPL')


[arch-commits] Commit in celestia/trunk (PKGBUILD)

2019-04-09 Thread Antonio Rojas via arch-commits
Date: Tuesday, April 9, 2019 @ 15:07:31
  Author: arojas
Revision: 350461

https

Modified:
  celestia/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-04-09 15:05:10 UTC (rev 350460)
+++ PKGBUILD2019-04-09 15:07:31 UTC (rev 350461)
@@ -7,10 +7,10 @@
 pkgdesc="Real-time space simulation"
 arch=('x86_64')
 license=('GPL')
-url="http://www.shatters.net/celestia/;
+url="https://celestia.space/;
 depends=('gtk2' 'libtheora' 'lua51' 'gtkglext' 'glut' 'libxmu' 'glu' 'libjpeg' 
'mesa')
 options=('!makeflags')
-source=("http://downloads.sourceforge.net/sourceforge/celestia/${pkgname}-${pkgver}.tar.gz;
+source=("https://downloads.sourceforge.net/sourceforge/celestia/${pkgname}-${pkgver}.tar.gz;
 'celestia-1.6.1-gcc46.patch'
 'celestia-1.6.1-libpng15.patch'
 'celestia-1.6.1-libpng16.patch'


[arch-commits] Commit in celestia/trunk (PKGBUILD)

2018-06-05 Thread Antonio Rojas via arch-commits
Date: Tuesday, June 5, 2018 @ 06:57:26
  Author: arojas
Revision: 325885

BUILDINFO rebuild

Modified:
  celestia/trunk/PKGBUILD

--+
 PKGBUILD |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-06-05 06:48:08 UTC (rev 325884)
+++ PKGBUILD2018-06-05 06:57:26 UTC (rev 325885)
@@ -4,7 +4,7 @@
 
 pkgname=celestia
 pkgver=1.6.1
-pkgrel=6
+pkgrel=7
 pkgdesc="Real-time space simulation"
 arch=('x86_64')
 license=('GPL')
@@ -35,6 +35,7 @@
 patch -Np1 -i "${srcdir}/gcc-4.7-fixes.diff"
 
 sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.in
+sed -e 's|lua5.1|lua51|g' -i configure.in
 
 autoreconf -vi
 }


[arch-commits] Commit in celestia/trunk (PKGBUILD)

2015-12-06 Thread Evangelos Foutras
Date: Sunday, December 6, 2015 @ 17:31:38
  Author: foutrelis
Revision: 252846

C++11 ABI rebuild

Modified:
  celestia/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-12-06 16:26:01 UTC (rev 252845)
+++ PKGBUILD2015-12-06 16:31:38 UTC (rev 252846)
@@ -4,7 +4,7 @@
 
 pkgname=celestia
 pkgver=1.6.1
-pkgrel=5
+pkgrel=6
 pkgdesc="Real-time space simulation"
 arch=('i686' 'x86_64')
 license=('GPL')


[arch-commits] Commit in celestia/trunk (PKGBUILD celestia-1.6.1-libpng16.patch)

2013-04-29 Thread Evangelos Foutras
Date: Monday, April 29, 2013 @ 17:24:48
  Author: foutrelis
Revision: 183898

upgpkg: celestia 1.6.1-5

libpng 1.6 rebuild.

Added:
  celestia/trunk/celestia-1.6.1-libpng16.patch
Modified:
  celestia/trunk/PKGBUILD

---+
 PKGBUILD  |   28 +++-
 celestia-1.6.1-libpng16.patch |   25 +
 2 files changed, 44 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-04-29 14:25:02 UTC (rev 183897)
+++ PKGBUILD2013-04-29 15:24:48 UTC (rev 183898)
@@ -4,7 +4,7 @@
 
 pkgname=celestia
 pkgver=1.6.1
-pkgrel=4
+pkgrel=5
 pkgdesc=Real-time space simulation
 arch=('i686' 'x86_64')
 license=('GPL')
@@ -12,33 +12,43 @@
 depends=('gtk2' 'libtheora' 'lua51' 'gtkglext' 'glut' 'libxmu' 'glu' 'libjpeg' 
'mesa')
 options=('!makeflags')
 
source=(http://downloads.sourceforge.net/sourceforge/celestia/${pkgname}-${pkgver}.tar.gz;
-'celestia-1.6.1-gcc46.patch' 
+'celestia-1.6.1-gcc46.patch'
 'celestia-1.6.1-libpng15.patch'
+'celestia-1.6.1-libpng16.patch'
 'celestia-1.6.1-linking.patch'
 'gcc-4.7-fixes.diff')
 sha1sums=('1f0fdf4525a8b9d6c708e1f6383babed670d18e7'
   '7c08ca391603806d788cb8f3342acedafc924eef'
   '46ecc4e10b24191384bc848c206652498843adf0'
+  '6f357bd319cdac0776206726e0743b90d4d8127b'
   '534c8eee18d13a868c91f0b870ebecc05f3e7ae1'
   '582f9eed93eca02a16350f02c29e2ea6f69aa869')
 
-build() {
+prepare() {
 cd ${srcdir}/${pkgname}-${pkgver}
 
 # build patch
 patch -Np0 -i ${srcdir}/celestia-1.6.1-gcc46.patch
 patch -Np0 -i ${srcdir}/celestia-1.6.1-libpng15.patch
+patch -Np2 -i ${srcdir}/celestia-1.6.1-libpng16.patch
 patch -Np1 -i ${srcdir}/celestia-1.6.1-linking.patch
 patch -Np1 -i ${srcdir}/gcc-4.7-fixes.diff
 
-# This version of Celestia has a bug in the font rendering and requires 
-fsigned-char 
-export CFLAGS=$CFLAGS -fsigned-char
-export CXXFLAGS=$CXXFLAGS -fsigned-char
+sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.in
 
-autoreconf
+autoreconf -vi
+}
+
+build() {
+cd ${srcdir}/${pkgname}-${pkgver}
+
+# This version of Celestia has a bug in the font rendering and requires 
-fsigned-char
+CFLAGS+=' -fsigned-char'
+CXXFLAGS+=' -fsigned-char'
+
 ./configure --prefix=/usr \
 --with-lua=/usr \
-   --datadir=/usr/share \
+--datadir=/usr/share \
 --with-gtk \
 --disable-rpath \
 --with-lua
@@ -48,6 +58,6 @@
 package() {
 cd ${srcdir}/${pkgname}-${pkgver}
 
-make DESTDIR=${pkgdir} install
+make DESTDIR=${pkgdir} MKDIR_P='mkdir -p' install
 }
 

Added: celestia-1.6.1-libpng16.patch
===
--- celestia-1.6.1-libpng16.patch   (rev 0)
+++ celestia-1.6.1-libpng16.patch   2013-04-29 15:24:48 UTC (rev 183898)
@@ -0,0 +1,25 @@
+image.cpp:530:61: error: ‘memcpy’ was not declared in this scope
+
+https://bugs.gentoo.org/show_bug.cgi?id=464764
+
+Patch written by Lars Wendler polynomia...@gentoo.org
+--- a/celestia/src/celengine/image.cpp
 b/celestia/src/celengine/image.cpp
+@@ -42,6 +42,7 @@ extern C {
+ #include jpeglib.h
+ #else
+ #include cstdio
++#include string.h
+ #include jpeglib.h
+ #endif
+ }
+--- a/celestia/src/celengine/texture.cpp
 b/celestia/src/celengine/texture.cpp
+@@ -28,6 +28,7 @@
+ #include cstdlib
+ #include cstdio
+ #include cassert
++#include string.h
+ 
+ #ifndef _WIN32
+ #ifndef TARGET_OS_MAC



[arch-commits] Commit in celestia/trunk (PKGBUILD)

2012-11-21 Thread Ronald van Haren
Date: Wednesday, November 21, 2012 @ 14:16:02
  Author: ronald
Revision: 171778

upgpkg: celestia 1.6.1-4

lua rebuild

Modified:
  celestia/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-11-21 19:15:52 UTC (rev 171777)
+++ PKGBUILD2012-11-21 19:16:02 UTC (rev 171778)
@@ -4,12 +4,12 @@
 
 pkgname=celestia
 pkgver=1.6.1
-pkgrel=3
+pkgrel=4
 pkgdesc=Real-time space simulation
 arch=('i686' 'x86_64')
 license=('GPL')
 url=http://www.shatters.net/celestia/;
-depends=('gtk2' 'libtheora' 'lua' 'gtkglext' 'glut' 'libxmu' 'glu' 'libjpeg')
+depends=('gtk2' 'libtheora' 'lua51' 'gtkglext' 'glut' 'libxmu' 'glu' 'libjpeg' 
'mesa')
 options=('!makeflags')
 
source=(http://downloads.sourceforge.net/sourceforge/celestia/${pkgname}-${pkgver}.tar.gz;
 'celestia-1.6.1-gcc46.patch' 



[arch-commits] Commit in celestia/trunk (PKGBUILD gcc-4.7-fixes.diff)

2012-10-12 Thread andyrtr
Date: Friday, October 12, 2012 @ 12:52:59
  Author: andyrtr
Revision: 168481

upgpkg: celestia 1.6.1-3

mesa - glu rebuild; add a gcc4.7 build fix

Added:
  celestia/trunk/gcc-4.7-fixes.diff
Modified:
  celestia/trunk/PKGBUILD

+
 PKGBUILD   |   11 +++
 gcc-4.7-fixes.diff |   10 ++
 2 files changed, 17 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-10-12 13:08:15 UTC (rev 168480)
+++ PKGBUILD2012-10-12 16:52:59 UTC (rev 168481)
@@ -4,21 +4,23 @@
 
 pkgname=celestia
 pkgver=1.6.1
-pkgrel=2
+pkgrel=3
 pkgdesc=Real-time space simulation
 arch=('i686' 'x86_64')
 license=('GPL')
 url=http://www.shatters.net/celestia/;
-depends=('gtk2' 'libtheora' 'lua' 'gtkglext' 'glut' 'libxmu' 'mesa' 'libjpeg')
+depends=('gtk2' 'libtheora' 'lua' 'gtkglext' 'glut' 'libxmu' 'glu' 'libjpeg')
 options=('!makeflags')
 
source=(http://downloads.sourceforge.net/sourceforge/celestia/${pkgname}-${pkgver}.tar.gz;
 'celestia-1.6.1-gcc46.patch' 
 'celestia-1.6.1-libpng15.patch'
-'celestia-1.6.1-linking.patch')
+'celestia-1.6.1-linking.patch'
+'gcc-4.7-fixes.diff')
 sha1sums=('1f0fdf4525a8b9d6c708e1f6383babed670d18e7'
   '7c08ca391603806d788cb8f3342acedafc924eef'
   '46ecc4e10b24191384bc848c206652498843adf0'
-  '534c8eee18d13a868c91f0b870ebecc05f3e7ae1')
+  '534c8eee18d13a868c91f0b870ebecc05f3e7ae1'
+  '582f9eed93eca02a16350f02c29e2ea6f69aa869')
 
 build() {
 cd ${srcdir}/${pkgname}-${pkgver}
@@ -27,6 +29,7 @@
 patch -Np0 -i ${srcdir}/celestia-1.6.1-gcc46.patch
 patch -Np0 -i ${srcdir}/celestia-1.6.1-libpng15.patch
 patch -Np1 -i ${srcdir}/celestia-1.6.1-linking.patch
+patch -Np1 -i ${srcdir}/gcc-4.7-fixes.diff
 
 # This version of Celestia has a bug in the font rendering and requires 
-fsigned-char 
 export CFLAGS=$CFLAGS -fsigned-char

Added: gcc-4.7-fixes.diff
===
--- gcc-4.7-fixes.diff  (rev 0)
+++ gcc-4.7-fixes.diff  2012-10-12 16:52:59 UTC (rev 168481)
@@ -0,0 +1,10 @@
+--- a/src/celmath/intersect.h
 b/src/celmath/intersect.h
+@@ -15,6 +15,7 @@
+ #include ray.h
+ #include sphere.h
+ #include ellipsoid.h
++#include mathlib.h
+ 
+ 
+ templateclass T bool testIntersection(const Ray3T ray,



[arch-commits] Commit in celestia/trunk (PKGBUILD)

2010-01-18 Thread Ionut Biru
Date: Monday, January 18, 2010 @ 16:47:42
  Author: ibiru
Revision: 63841

upgpkg: celestia 1.6.0-2
libjpeg8/libpng1.4.0 rebuild

Modified:
  celestia/trunk/PKGBUILD

--+
 PKGBUILD |   12 +++-
 1 file changed, 7 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2010-01-18 21:37:51 UTC (rev 63840)
+++ PKGBUILD2010-01-18 21:47:42 UTC (rev 63841)
@@ -4,28 +4,30 @@
 
 pkgname=celestia
 pkgver=1.6.0
-pkgrel=1
+pkgrel=2
 pkgdesc=Real-time space simulation
 arch=('i686' 'x86_64')
 license=('GPL')
 url=http://www.shatters.net/celestia/;
-depends=('gtk2' 'libtheora' 'lua' 'gtkglext' 'glut' 'libxmu' 'mesa' 
'libjpeg=7')
+depends=('gtk2' 'libtheora' 'lua' 'gtkglext' 'glut' 'libxmu' 'mesa' 
'libjpeg=8')
 options=('!makeflags')
 
source=(http://downloads.sourceforge.net/sourceforge/celestia/${pkgname}-${pkgver}.tar.gz
-   'celestia-1.5.1-gcc44.patch')
+   celestia-1.5.1-gcc44.patch libpng14.patch)
 md5sums=('9b96a8e7666ab5a26f032b9d605e023d'
- '0c606dbd3a641afb1b0725428db854c8')
+ '0c606dbd3a641afb1b0725428db854c8'
+ '829c0860659272a9f55aedf096ee4216')
 
 build() {
 cd ${srcdir}/${pkgname}-${pkgver}
 
 # build patch
 patch -Np0  ${srcdir}/celestia-1.5.1-gcc44.patch || return 1
+patch -Np1 -i ${srcdir}/libpng14.patch || return 1
 
 ./configure --prefix=/usr \
 --with-lua=/usr \
--datadir=/usr/share \
---with-gtk 
+--with-gtk
 make || return 1
 make DESTDIR=${pkgdir} install || return 1
 }