[arch-commits] Commit in opengl-man-pages/trunk (PKGBUILD)

2020-05-17 Thread Evangelos Foutras via arch-commits
Date: Sunday, May 17, 2020 @ 07:21:20
  Author: foutrelis
Revision: 384875

upgpkg: opengl-man-pages 20190725-2: drop pkgver() for reproducibility

Modified:
  opengl-man-pages/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-05-16 22:06:12 UTC (rev 384874)
+++ PKGBUILD2020-05-17 07:21:20 UTC (rev 384875)
@@ -14,10 +14,6 @@
 sha256sums=('SKIP'
 'a7b2f6669d7ead91dcaf5a03620cdf9d37c54d83fd1899b4ef84683c7e6d4024')
 
-pkgver() {
-  date +%Y%m%d
-}
-
 build() {
   for manpages in gl4; do
 cd "${srcdir}/${pkgname}/${manpages}"


[arch-commits] Commit in opengl-man-pages/trunk (PKGBUILD)

2020-05-16 Thread Felix Yan via arch-commits
Date: Saturday, May 16, 2020 @ 10:00:15
  Author: felixonmars
Revision: 384000

upgpkg: opengl-man-pages 20190725-2: reproducibility rebuild

Modified:
  opengl-man-pages/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-05-16 09:59:49 UTC (rev 383999)
+++ PKGBUILD2020-05-16 10:00:15 UTC (rev 384000)
@@ -3,7 +3,7 @@
 pkgname=opengl-man-pages
 pkgver=20190725
 _commit=8acb9c72a30d36a6f7e89b9b2de0635c50773cdb
-pkgrel=1
+pkgrel=2
 pkgdesc="OpenGL Man Pages - OpenGL 4.x"
 arch=('any')
 url="https://github.com/KhronosGroup/OpenGL-Refpages;


[arch-commits] Commit in opengl-man-pages/trunk (PKGBUILD)

2019-07-25 Thread Andreas Radke via arch-commits
Date: Thursday, July 25, 2019 @ 19:47:57
  Author: andyrtr
Revision: 358585

upgpkg: opengl-man-pages 20190725-1

only ship OpenGL 4.x man pages; fix broken pages FS#57655

Modified:
  opengl-man-pages/trunk/PKGBUILD

--+
 PKGBUILD |   30 --
 1 file changed, 8 insertions(+), 22 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-07-25 15:59:27 UTC (rev 358584)
+++ PKGBUILD2019-07-25 19:47:57 UTC (rev 358585)
@@ -1,24 +1,18 @@
 # Maintainer: AndyRTR 
 
 pkgname=opengl-man-pages
-pkgver=20190711
+pkgver=20190725
 _commit=8acb9c72a30d36a6f7e89b9b2de0635c50773cdb
 pkgrel=1
-pkgdesc="OpenGL Man Pages"
+pkgdesc="OpenGL Man Pages - OpenGL 4.x"
 arch=('any')
 url="https://github.com/KhronosGroup/OpenGL-Refpages;
 license=('custom')
-# OpenGL 4.x (current) API and GLSL pages - libxslt' 'docbook-xsl'
-# OpenGL 3.x and older 'w3c-mathml2' 'docbook-mathml'
-makedepends=('libxslt' 'docbook-xsl' 'w3c-mathml2' 'docbook-mathml' 'git')
+makedepends=('docbook5-xml' 'docbook-xsl' 'libxslt' 'docbook-mathml' 
'w3c-mathml2' 'python' 'git')
 
source=(${pkgname}::git+https://github.com/KhronosGroup/OpenGL-Refpages#commit=$_commit
 'LICENSE')
 sha256sums=('SKIP'
 'a7b2f6669d7ead91dcaf5a03620cdf9d37c54d83fd1899b4ef84683c7e6d4024')
-# gl2.1 = OpenGL 2.1 (including fixed functionality)
-# es3   = OpenGL ES 3.x (will always be the latest ES, currently 3.2)
-# gl4   = OpenGL 4.x (current) API and GLSL pages
-_mandirs=(gl4 es3 gl2.1)
 
 pkgver() {
   date +%Y%m%d
@@ -25,25 +19,17 @@
 }
 
 build() {
-  export WD=`pwd`
-  xmlcatalog --create --noout \
---add public "-//W3C//DTD MathML 2.0//EN" 
"file:///usr/share/xml/w3c/mathml2/mathml2.dtd" \
---add public "-//W3C//DTD MathML//EN" 
"file:///usr/share/xml/w3c/mathml2/mathml2.dtd" \
---add system "http://www.w3.org/TR/MathML2/dtd/mathml2.dtd; 
"file:///usr/share/xml/w3c/mathml2/mathml2.dtd" \
-mathml2.cat
-  export XML_CATALOG_FILES="$WD/mathml2.cat /etc/xml/catalog"
- 
-  for manpages in ${_mandirs[@]}; do
+  for manpages in gl4; do
 cd "${srcdir}/${pkgname}/${manpages}"
-for file in gl*.xml; do
-  xsltproc --noout --nonet 
/usr/share/xml/docbook/xsl-stylesheets-*/manpages/docbook.xsl ${file}
-done
+  for file in *.xml; do
+xsltproc --xinclude --noout --nonet 
/usr/share/xml/docbook/xsl-stylesheets-*/manpages/docbook.xsl ${file}
+  done
   done
 }
 
 package() {
   install -d "${pkgdir}/usr/share/man/man3"
-  for manpages in ${_mandirs[@]}; do
+  for manpages in gl4; do
 cd "${srcdir}/${pkgname}/${manpages}"
 install -m644 *.3G "${pkgdir}/usr/share/man/man3/"
   done


[arch-commits] Commit in opengl-man-pages/trunk (PKGBUILD)

2019-07-11 Thread Andreas Radke via arch-commits
Date: Thursday, July 11, 2019 @ 13:04:34
  Author: andyrtr
Revision: 357751

upgpkg: opengl-man-pages 20190711-1

-I

Modified:
  opengl-man-pages/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-07-11 12:26:40 UTC (rev 357750)
+++ PKGBUILD2019-07-11 13:04:34 UTC (rev 357751)
@@ -1,8 +1,8 @@
 # Maintainer: AndyRTR 
 
 pkgname=opengl-man-pages
-pkgver=20180321
-_commit=3e3580afb5d0634e71582c0d691f6cc756d31a5d
+pkgver=20190711
+_commit=8acb9c72a30d36a6f7e89b9b2de0635c50773cdb
 pkgrel=1
 pkgdesc="OpenGL Man Pages"
 arch=('any')


[arch-commits] Commit in opengl-man-pages/trunk (PKGBUILD)

2018-03-21 Thread Andreas Radke via arch-commits
Date: Wednesday, March 21, 2018 @ 12:37:56
  Author: andyrtr
Revision: 319744

upgpkg: opengl-man-pages 20180321-1

upstream update 20180321

Modified:
  opengl-man-pages/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-03-21 12:25:37 UTC (rev 319743)
+++ PKGBUILD2018-03-21 12:37:56 UTC (rev 319744)
@@ -2,8 +2,8 @@
 # Maintainer: AndyRTR 
 
 pkgname=opengl-man-pages
-pkgver=20170404
-_commit=03552a8094ae3017e0b8b2ad44c602f81c03e848
+pkgver=20180321
+_commit=3e3580afb5d0634e71582c0d691f6cc756d31a5d
 pkgrel=1
 pkgdesc="OpenGL Man Pages"
 arch=('any')


[arch-commits] Commit in opengl-man-pages/trunk (PKGBUILD)

2017-04-04 Thread Andreas Radke
Date: Tuesday, April 4, 2017 @ 17:59:42
  Author: andyrtr
Revision: 292079

upgpkg: opengl-man-pages 20170404-1

upstream update 20170404; source moved to github

Modified:
  opengl-man-pages/trunk/PKGBUILD

--+
 PKGBUILD |   28 +---
 1 file changed, 13 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-04-04 16:16:44 UTC (rev 292078)
+++ PKGBUILD2017-04-04 17:59:42 UTC (rev 292079)
@@ -2,26 +2,24 @@
 # Maintainer: AndyRTR 
 
 pkgname=opengl-man-pages
-pkgver=20160220
-_revision=32463
+pkgver=20170404
+_commit=03552a8094ae3017e0b8b2ad44c602f81c03e848
 pkgrel=1
 pkgdesc="OpenGL Man Pages"
 arch=('any')
-url="http://www.opengl.org/wiki/Getting_started/XML_Toolchain_and_Man_Pages;
+url="https://github.com/KhronosGroup/OpenGL-Refpages;
 license=('custom')
 # OpenGL 4.x (current) API and GLSL pages - libxslt' 'docbook-xsl'
 # OpenGL 3.x and older 'w3c-mathml2' 'docbook-mathml'
-makedepends=('libxslt' 'docbook-xsl' 'w3c-mathml2' 'docbook-mathml' 
'subversion')
-# https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/docs/
-source=(man4::svn+https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/docs/man4/#revision=${_revision}
# OpenGL 4.x (current) API and GLSL pages
-
man3::svn+https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/docs/man3/#revision=${_revision}
# OpenGL 3.x API pages
-
man2::svn+https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/docs/man2/#revision=${_revision}
# OpenGL 2.x API pages
+makedepends=('libxslt' 'docbook-xsl' 'w3c-mathml2' 'docbook-mathml' 'git')
+source=(${pkgname}::git+https://github.com/KhronosGroup/OpenGL-Refpages#commit=$_commit
 'LICENSE')
-md5sums=('SKIP'
- 'SKIP'
- 'SKIP'
- 'cb856abe5968300057e650096ba25b2f')
-_mandirs=(man4 man3 man2)
+sha256sums=('SKIP'
+'a7b2f6669d7ead91dcaf5a03620cdf9d37c54d83fd1899b4ef84683c7e6d4024')
+# gl2.1 = OpenGL 2.1 (including fixed functionality)
+# es3   = OpenGL ES 3.x (will always be the latest ES, currently 3.2)
+# gl4   = OpenGL 4.x (current) API and GLSL pages
+_mandirs=(gl4 es3 gl2.1)
 
 pkgver() {
   date +%Y%m%d
@@ -37,7 +35,7 @@
   export XML_CATALOG_FILES="$WD/mathml2.cat /etc/xml/catalog"
  
   for manpages in ${_mandirs[@]}; do
-cd "${srcdir}/${manpages}"
+cd "${srcdir}/${pkgname}/${manpages}"
 for file in gl*.xml; do
   xsltproc --noout --nonet 
/usr/share/xml/docbook/xsl-stylesheets-*/manpages/docbook.xsl ${file}
 done
@@ -47,7 +45,7 @@
 package() {
   install -d "${pkgdir}/usr/share/man/man3"
   for manpages in ${_mandirs[@]}; do
-cd "${srcdir}/${manpages}"
+cd "${srcdir}/${pkgname}/${manpages}"
 install -m644 *.3G "${pkgdir}/usr/share/man/man3/"
   done
   # license


[arch-commits] Commit in opengl-man-pages/trunk (PKGBUILD)

2016-02-20 Thread Andreas Radke
Date: Saturday, February 20, 2016 @ 18:15:03
  Author: andyrtr
Revision: 260083

upgpkg: opengl-man-pages 20160220-1

upstream update to current svn

Modified:
  opengl-man-pages/trunk/PKGBUILD

--+
 PKGBUILD |   55 ++-
 1 file changed, 26 insertions(+), 29 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-02-20 14:21:39 UTC (rev 260082)
+++ PKGBUILD2016-02-20 17:15:03 UTC (rev 260083)
@@ -2,48 +2,44 @@
 # Maintainer: AndyRTR 
 
 pkgname=opengl-man-pages
-_svndate=20130605
-pkgver=0.${_svndate}
+pkgver=20160220
+_revision=32463
 pkgrel=1
 pkgdesc="OpenGL Man Pages"
 arch=('any')
 url="http://www.opengl.org/wiki/Getting_started/XML_Toolchain_and_Man_Pages;
 license=('custom')
-makedepends=('libxslt' 'docbook-xsl' 'w3c-mathml2' 'docbook-mathml')
-options=('!makeflags')
-source=("https://sources.archlinux.org/other/${pkgname}/${pkgname}_${_svndate}.tar.xz;
+# OpenGL 4.x (current) API and GLSL pages - libxslt' 'docbook-xsl'
+# OpenGL 3.x and older 'w3c-mathml2' 'docbook-mathml'
+makedepends=('libxslt' 'docbook-xsl' 'w3c-mathml2' 'docbook-mathml' 
'subversion')
+# https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/docs/
+source=(man4::svn+https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/docs/man4/#revision=${_revision}
# OpenGL 4.x (current) API and GLSL pages
+
man3::svn+https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/docs/man3/#revision=${_revision}
# OpenGL 3.x API pages
+
man2::svn+https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/docs/man2/#revision=${_revision}
# OpenGL 2.x API pages
 'LICENSE')
-md5sums=('b557459f660facc4d69cff8fc1a0f024'
+md5sums=('SKIP'
+ 'SKIP'
+ 'SKIP'
  'cb856abe5968300057e650096ba25b2f')
-_mandirs=(man2 man3 man4) # manglsl fail to build, broken upstream
+_mandirs=(man4 man3 man2)
 
-# source PKGBUILD && mksource
-mksource() {
-  mkdir ${pkgname}-source
-  
-  pushd ${pkgname}-source
-  for manpages in ${_mandirs[@]} manglsl; do
-svn co --username anonymous --password anonymous 
https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/docs/${manpages}/
 ${manpages}
-find ${manpages} -depth -type d -name .svn -exec rm -rf {} \;
-  done
-  tar -cvJf ../${pkgname}_${_svndate}.tar.xz ${_mandirs[@]}
-  popd
+pkgver() {
+  date +%Y%m%d
 }
 
-prepare() {
-  cd "${srcdir}/man2"
-  
-  # this file isn't in man2 anymore but in man3
-  sed -i '/glDrawElementsInstanced.xml/d' xhtml/Makefile
-}
-
 build() {
+  export WD=`pwd`
+  xmlcatalog --create --noout \
+--add public "-//W3C//DTD MathML 2.0//EN" 
"file:///usr/share/xml/w3c/mathml2/mathml2.dtd" \
+--add public "-//W3C//DTD MathML//EN" 
"file:///usr/share/xml/w3c/mathml2/mathml2.dtd" \
+--add system "http://www.w3.org/TR/MathML2/dtd/mathml2.dtd; 
"file:///usr/share/xml/w3c/mathml2/mathml2.dtd" \
+mathml2.cat
+  export XML_CATALOG_FILES="$WD/mathml2.cat /etc/xml/catalog"
+ 
   for manpages in ${_mandirs[@]}; do
 cd "${srcdir}/${manpages}"
-export ROOT="${srcdir}/${manpages}"
-make
-for file in *.xml; do
-  xsltproc --noout --nonet 
/usr/share/xml/docbook/xsl-stylesheets-1.78.1/manpages/docbook.xsl ${file}
+for file in gl*.xml; do
+  xsltproc --noout --nonet 
/usr/share/xml/docbook/xsl-stylesheets-*/manpages/docbook.xsl ${file}
 done
   done
 }
@@ -54,5 +50,6 @@
 cd "${srcdir}/${manpages}"
 install -m644 *.3G "${pkgdir}/usr/share/man/man3/"
   done
+  # license
   install -D -m644 "${srcdir}/LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }


[arch-commits] Commit in opengl-man-pages/trunk (PKGBUILD)

2013-06-05 Thread Laurent Carlier
Date: Wednesday, June 5, 2013 @ 16:36:20
  Author: lcarlier
Revision: 187330

upgpkg: opengl-man-pages 0.20130605-1

Add missing manpages for OpenGL 3.x and 4.x, GLSL excepted (FS#34935)

Modified:
  opengl-man-pages/trunk/PKGBUILD

--+
 PKGBUILD |   39 +++
 1 file changed, 27 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-06-05 12:52:10 UTC (rev 187329)
+++ PKGBUILD2013-06-05 14:36:20 UTC (rev 187330)
@@ -2,7 +2,7 @@
 # Maintainer: AndyRTR andy...@archlinux.org
 
 pkgname=opengl-man-pages
-_svndate=20120225
+_svndate=20130605
 pkgver=0.${_svndate}
 pkgrel=1
 pkgdesc=OpenGL Man Pages
@@ -13,31 +13,46 @@
 options=('!makeflags')
 
source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}_${_svndate}.tar.xz;
 'LICENSE')
-md5sums=('15429a947576e424b96956680c0e9e4c'
+md5sums=('b557459f660facc4d69cff8fc1a0f024'
  'cb856abe5968300057e650096ba25b2f')
+_mandirs=(man2 man3 man4) # manglsl fail to build, broken upstream
 
 # source PKGBUILD  mksource
 mksource() {
   mkdir ${pkgname}-source
+  
   pushd ${pkgname}-source
-  svn co --username anonymous --password anonymous 
https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/docs/man/ man 
-  find man -depth -type d -name .svn -exec rm -rf {} \;
-  tar -cvJf ../${pkgname}_${_svndate}.tar.xz man/*
+  for manpages in ${_mandirs[@]} manglsl; do
+svn co --username anonymous --password anonymous 
https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/docs/${manpages}/
 ${manpages}
+find ${manpages} -depth -type d -name .svn -exec rm -rf {} \;
+  done
+  tar -cvJf ../${pkgname}_${_svndate}.tar.xz ${_mandirs[@]}
   popd
 }
 
+prepare() {
+  cd ${srcdir}/man2
+  
+  # this file isn't in man2 anymore but in man3
+  sed -i '/glDrawElementsInstanced.xml/d' xhtml/Makefile
+}
+
 build() {
-  cd ${srcdir}/man
-  export ROOT=${srcdir}/man
-  make
-  for file in *.xml; do
-xsltproc --noout --nonet 
/usr/share/xml/docbook/xsl-stylesheets-1.76.1/manpages/docbook.xsl ${file}
+  for manpages in ${_mandirs[@]}; do
+cd ${srcdir}/${manpages}
+export ROOT=${srcdir}/${manpages}
+make
+for file in *.xml; do
+  xsltproc --noout --nonet 
/usr/share/xml/docbook/xsl-stylesheets-1.78.1/manpages/docbook.xsl ${file}
+done
   done
 }
 
 package() {
-  cd ${srcdir}/man
   install -d ${pkgdir}/usr/share/man/man3
-  install -m644 *.3G ${pkgdir}/usr/share/man/man3/
+  for manpages in ${_mandirs[@]}; do
+cd ${srcdir}/${manpages}
+install -m644 *.3G ${pkgdir}/usr/share/man/man3/
+  done
   install -D -m644 ${srcdir}/LICENSE 
${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
 }



[arch-commits] Commit in opengl-man-pages/trunk (PKGBUILD)

2012-02-25 Thread Pierre Schmitz
Date: Saturday, February 25, 2012 @ 07:42:03
  Author: pierre
Revision: 151283

upgpkg: opengl-man-pages 0.20120225-1

upstream update

Modified:
  opengl-man-pages/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2012-02-25 12:36:27 UTC (rev 151282)
+++ PKGBUILD2012-02-25 12:42:03 UTC (rev 151283)
@@ -2,7 +2,7 @@
 # Maintainer: AndyRTR andy...@archlinux.org
 
 pkgname=opengl-man-pages
-_svndate=20110206
+_svndate=20120225
 pkgver=0.${_svndate}
 pkgrel=1
 pkgdesc=OpenGL Man Pages
@@ -11,9 +11,10 @@
 license=('custom')
 makedepends=('libxslt' 'docbook-xsl' 'w3c-mathml2' 'docbook-mathml')
 options=('!makeflags')
-source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}_${_svndate}.tar.xz 
LICENSE)
-md5sums=('8c10a5f1054d453dbc1e01a5105c169e' 'cb856abe5968300057e650096ba25b2f')
-sha1sums=('280d085b4dbdcc1946b541ef51a556fe3e12c1a8' 
'b2cb9b184d85700f597dc3a5fa83572b6887bb46')
+source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}_${_svndate}.tar.xz;
+'LICENSE')
+md5sums=('15429a947576e424b96956680c0e9e4c'
+ 'cb856abe5968300057e650096ba25b2f')
 
 # source PKGBUILD  mksource
 mksource() {