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

andyrtr at archlinux.org andyrtr at archlinux.org
Sun Dec 2 09:47:22 UTC 2012


    Date: Sunday, December 2, 2012 @ 04:47:22
  Author: andyrtr
Revision: 172301

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

Added:
  glew/repos/extra-i686/PKGBUILD
    (from rev 172300, glew/trunk/PKGBUILD)
  glew/repos/extra-i686/glxew_export_fix.diff
    (from rev 172300, glew/trunk/glxew_export_fix.diff)
  glew/repos/extra-x86_64/PKGBUILD
    (from rev 172300, glew/trunk/PKGBUILD)
  glew/repos/extra-x86_64/glxew_export_fix.diff
    (from rev 172300, glew/trunk/glxew_export_fix.diff)
Deleted:
  glew/repos/extra-i686/PKGBUILD
  glew/repos/extra-x86_64/PKGBUILD

------------------------------------+
 extra-i686/PKGBUILD                |   65 +++++++++++++++++++----------------
 extra-i686/glxew_export_fix.diff   |   30 ++++++++++++++++
 extra-x86_64/PKGBUILD              |   65 +++++++++++++++++++----------------
 extra-x86_64/glxew_export_fix.diff |   30 ++++++++++++++++
 4 files changed, 132 insertions(+), 58 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2012-12-02 09:46:45 UTC (rev 172300)
+++ extra-i686/PKGBUILD	2012-12-02 09:47:22 UTC (rev 172301)
@@ -1,29 +0,0 @@
-# $Id$
-# Maintainer: Stéphane Gaudreault <stephane at archlinux.org>
-# Contributor: SleepyDog
-
-pkgname=glew
-pkgver=1.9.0
-pkgrel=1
-pkgdesc="The OpenGL Extension Wrangler Library"
-arch=('i686' 'x86_64')
-url="http://glew.sourceforge.net"
-license=('BSD' 'MIT' 'GPL')
-depends=('libxmu' 'libxi' 'glu')
-source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tgz)
-sha1sums=('9291f5c5afefd482c7f3e91ffb3cd4716c6c9ffe')
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  sed -i 's|lib64|lib|' config/Makefile.linux
-  make
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make GLEW_DEST="${pkgdir}/usr" install.all
-  install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-
-  rm "${pkgdir}"/usr/lib/{libGLEW,libGLEWmx}.a
-  chmod 0755 "${pkgdir}"/usr/lib/libGLEW*.so.${pkgver}
-}

Copied: glew/repos/extra-i686/PKGBUILD (from rev 172300, glew/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2012-12-02 09:47:22 UTC (rev 172301)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: SleepyDog
+
+pkgname=glew
+pkgver=1.9.0
+pkgrel=2
+pkgdesc="The OpenGL Extension Wrangler Library"
+arch=('i686' 'x86_64')
+url="http://glew.sourceforge.net"
+license=('BSD' 'MIT' 'GPL')
+depends=('libxmu' 'libxi' 'glu')
+source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tgz
+        glxew_export_fix.diff)
+sha1sums=('9291f5c5afefd482c7f3e91ffb3cd4716c6c9ffe'
+          'f389645a1400aebdadce596fec970cfe0be6c15b')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  
+  # fix compilation for some 3rd party apps; FS#32835
+  patch -Np1 -i ${srcdir}/glxew_export_fix.diff
+  
+  sed -i 's|lib64|lib|' config/Makefile.linux
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make GLEW_DEST="${pkgdir}/usr" install.all
+  install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+  rm "${pkgdir}"/usr/lib/{libGLEW,libGLEWmx}.a
+  chmod 0755 "${pkgdir}"/usr/lib/libGLEW*.so.${pkgver}
+}

Copied: glew/repos/extra-i686/glxew_export_fix.diff (from rev 172300, glew/trunk/glxew_export_fix.diff)
===================================================================
--- extra-i686/glxew_export_fix.diff	                        (rev 0)
+++ extra-i686/glxew_export_fix.diff	2012-12-02 09:47:22 UTC (rev 172301)
@@ -0,0 +1,30 @@
+X-Git-Url: 
+http://glew.git.sourceforge.net/git/gitweb.cgi?p=glew%2Fglew;a=blobdiff_plain;f=auto%2Fsrc%2Fglxew_mid.h;h=e9a3391acefafcc1b2979d2cfad1d43c602521c1;hp=cfcd20d472a790f461e01e6e20a570582452236c;hb=6d14805de58321e8a7b1881323e604bb0ba27217;hpb=38a3d857549e7ac31b7edb2a1cfa1ead52f72220
+
+diff --git a/auto/src/glxew_mid.h b/auto/src/glxew_mid.h
+index cfcd20d..e9a3391 100644
+--- a/auto/src/glxew_mid.h
++++ b/auto/src/glxew_mid.h
+@@ -1,7 +1,7 @@
+ /* ------------------------------------------------------------------------- */
+ 
+ #ifdef GLEW_MX
+-#define GLXEW_FUN_EXPORT
++#define GLXEW_FUN_EXPORT GLEW_FUN_EXPORT
+ #define GLXEW_VAR_EXPORT
+ #else
+ #define GLXEW_FUN_EXPORT GLEW_FUN_EXPORT
+Index: glew-1.8.0/include/GL/glxew.h
+===================================================================
+--- glew-1.8.0.orig/include/GL/glxew.h	2012-08-08 20:56:17.574088414 +0200
++++ glew-1.8.0/include/GL/glxew.h	2012-08-08 20:57:34.350092129 +0200
+@@ -1360,7 +1360,7 @@
+ /* ------------------------------------------------------------------------- */
+ 
+ #ifdef GLEW_MX
+-#define GLXEW_FUN_EXPORT
++#define GLXEW_FUN_EXPORT GLEW_FUN_EXPORT
+ #define GLXEW_VAR_EXPORT
+ #else
+ #define GLXEW_FUN_EXPORT GLEW_FUN_EXPORT
+ 

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2012-12-02 09:46:45 UTC (rev 172300)
+++ extra-x86_64/PKGBUILD	2012-12-02 09:47:22 UTC (rev 172301)
@@ -1,29 +0,0 @@
-# $Id$
-# Maintainer: Stéphane Gaudreault <stephane at archlinux.org>
-# Contributor: SleepyDog
-
-pkgname=glew
-pkgver=1.9.0
-pkgrel=1
-pkgdesc="The OpenGL Extension Wrangler Library"
-arch=('i686' 'x86_64')
-url="http://glew.sourceforge.net"
-license=('BSD' 'MIT' 'GPL')
-depends=('libxmu' 'libxi' 'glu')
-source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tgz)
-sha1sums=('9291f5c5afefd482c7f3e91ffb3cd4716c6c9ffe')
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  sed -i 's|lib64|lib|' config/Makefile.linux
-  make
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make GLEW_DEST="${pkgdir}/usr" install.all
-  install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-
-  rm "${pkgdir}"/usr/lib/{libGLEW,libGLEWmx}.a
-  chmod 0755 "${pkgdir}"/usr/lib/libGLEW*.so.${pkgver}
-}

Copied: glew/repos/extra-x86_64/PKGBUILD (from rev 172300, glew/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2012-12-02 09:47:22 UTC (rev 172301)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: SleepyDog
+
+pkgname=glew
+pkgver=1.9.0
+pkgrel=2
+pkgdesc="The OpenGL Extension Wrangler Library"
+arch=('i686' 'x86_64')
+url="http://glew.sourceforge.net"
+license=('BSD' 'MIT' 'GPL')
+depends=('libxmu' 'libxi' 'glu')
+source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tgz
+        glxew_export_fix.diff)
+sha1sums=('9291f5c5afefd482c7f3e91ffb3cd4716c6c9ffe'
+          'f389645a1400aebdadce596fec970cfe0be6c15b')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  
+  # fix compilation for some 3rd party apps; FS#32835
+  patch -Np1 -i ${srcdir}/glxew_export_fix.diff
+  
+  sed -i 's|lib64|lib|' config/Makefile.linux
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make GLEW_DEST="${pkgdir}/usr" install.all
+  install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+  rm "${pkgdir}"/usr/lib/{libGLEW,libGLEWmx}.a
+  chmod 0755 "${pkgdir}"/usr/lib/libGLEW*.so.${pkgver}
+}

Copied: glew/repos/extra-x86_64/glxew_export_fix.diff (from rev 172300, glew/trunk/glxew_export_fix.diff)
===================================================================
--- extra-x86_64/glxew_export_fix.diff	                        (rev 0)
+++ extra-x86_64/glxew_export_fix.diff	2012-12-02 09:47:22 UTC (rev 172301)
@@ -0,0 +1,30 @@
+X-Git-Url: 
+http://glew.git.sourceforge.net/git/gitweb.cgi?p=glew%2Fglew;a=blobdiff_plain;f=auto%2Fsrc%2Fglxew_mid.h;h=e9a3391acefafcc1b2979d2cfad1d43c602521c1;hp=cfcd20d472a790f461e01e6e20a570582452236c;hb=6d14805de58321e8a7b1881323e604bb0ba27217;hpb=38a3d857549e7ac31b7edb2a1cfa1ead52f72220
+
+diff --git a/auto/src/glxew_mid.h b/auto/src/glxew_mid.h
+index cfcd20d..e9a3391 100644
+--- a/auto/src/glxew_mid.h
++++ b/auto/src/glxew_mid.h
+@@ -1,7 +1,7 @@
+ /* ------------------------------------------------------------------------- */
+ 
+ #ifdef GLEW_MX
+-#define GLXEW_FUN_EXPORT
++#define GLXEW_FUN_EXPORT GLEW_FUN_EXPORT
+ #define GLXEW_VAR_EXPORT
+ #else
+ #define GLXEW_FUN_EXPORT GLEW_FUN_EXPORT
+Index: glew-1.8.0/include/GL/glxew.h
+===================================================================
+--- glew-1.8.0.orig/include/GL/glxew.h	2012-08-08 20:56:17.574088414 +0200
++++ glew-1.8.0/include/GL/glxew.h	2012-08-08 20:57:34.350092129 +0200
+@@ -1360,7 +1360,7 @@
+ /* ------------------------------------------------------------------------- */
+ 
+ #ifdef GLEW_MX
+-#define GLXEW_FUN_EXPORT
++#define GLXEW_FUN_EXPORT GLEW_FUN_EXPORT
+ #define GLXEW_VAR_EXPORT
+ #else
+ #define GLXEW_FUN_EXPORT GLEW_FUN_EXPORT
+ 




More information about the arch-commits mailing list