[arch-commits] Commit in simgear/trunk (PKGBUILD osg-3.2.patch)

Sergej Pupykin spupykin at nymeria.archlinux.org
Wed Feb 19 10:21:43 UTC 2014


    Date: Wednesday, February 19, 2014 @ 11:21:43
  Author: spupykin
Revision: 105918

upgpkg: simgear 3.0.0-1

upd

Modified:
  simgear/trunk/PKGBUILD
Deleted:
  simgear/trunk/osg-3.2.patch

---------------+
 PKGBUILD      |    8 ++++----
 osg-3.2.patch |   22 ----------------------
 2 files changed, 4 insertions(+), 26 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-02-19 10:08:35 UTC (rev 105917)
+++ PKGBUILD	2014-02-19 10:21:43 UTC (rev 105918)
@@ -4,11 +4,11 @@
 # Contributor: Hans Janssen <hans at janserv.xs4all.nl>
 
 pkgname=simgear
-pkgver=2.12.1
-pkgrel=2
+pkgver=3.0.0
+pkgrel=1
 pkgdesc="A set of open-source libraries designed to be used as building blocks for quickly assembling 3d simulations, games, and visualization applications."
 arch=(i686 x86_64)
-depends=('glut' 'freealut' 'plib' 'openscenegraph')
+depends=('glu' 'glut' 'freealut' 'plib' 'openscenegraph')
 makedepends=('boost' 'cmake' 'mesa')
 license=("GPL")
 #url="http://www.simgear.org"
@@ -16,7 +16,7 @@
 options=('!makeflags' 'staticlibs')
 #source=("SimGear-$pkgver.tar.gz::https://gitorious.org/fg/simgear/archive-tarball/release/$pkgver")
 source=("http://mirrors.ibiblio.org/pub/mirrors/simgear/ftp/Source/simgear-$pkgver.tar.bz2")
-md5sums=('8c483e13bce96f1dc27300a087fdb962')
+md5sums=('097f55962dfc48b3e740334dbfda64a6')
 
 build() {
   cd $srcdir/simgear-$pkgver

Deleted: osg-3.2.patch
===================================================================
--- osg-3.2.patch	2014-02-19 10:08:35 UTC (rev 105917)
+++ osg-3.2.patch	2014-02-19 10:21:43 UTC (rev 105918)
@@ -1,22 +0,0 @@
-diff -wbBur simgear-2.10.0/simgear/scene/material/EffectGeode.cxx simgear-2.10.0.q/simgear/scene/material/EffectGeode.cxx
---- simgear-2.10.0/simgear/scene/material/EffectGeode.cxx	2011-06-29 18:58:56.000000000 +0400
-+++ simgear-2.10.0.q/simgear/scene/material/EffectGeode.cxx	2013-07-25 16:14:24.268934729 +0400
-@@ -80,15 +80,15 @@
-         int n = _effect->getGenerator(Effect::TANGENT);
-         tsg->generate(geometry, 0);  // 0 is normal_unit, but I have no idea what that is!
-         if (n != -1 && !geometry->getVertexAttribArray(n))
--            geometry->setVertexAttribData(n, osg::Geometry::ArrayData(tsg->getTangentArray(), osg::Geometry::BIND_PER_VERTEX,GL_FALSE));
-+            geometry->setVertexAttribArray(n, tsg->getTangentArray(), osg::Array::BIND_PER_VERTEX);
- 
-         n = _effect->getGenerator(Effect::BINORMAL);
-         if (n != -1 && !geometry->getVertexAttribArray(n))
--            geometry->setVertexAttribData(n, osg::Geometry::ArrayData(tsg->getBinormalArray(), osg::Geometry::BIND_PER_VERTEX,GL_FALSE));
-+            geometry->setVertexAttribArray(n, tsg->getBinormalArray(), osg::Array::BIND_PER_VERTEX);
- 
-         n = _effect->getGenerator(Effect::NORMAL);
-         if (n != -1 && !geometry->getVertexAttribArray(n))
--            geometry->setVertexAttribData(n, osg::Geometry::ArrayData(tsg->getNormalArray(), osg::Geometry::BIND_PER_VERTEX,GL_FALSE));
-+            geometry->setVertexAttribArray(n, tsg->getNormalArray(), osg::Array::BIND_PER_VERTEX);
-     }
- }
- 




More information about the arch-commits mailing list