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

2020-05-06 Thread Allan McRae via arch-commits
Date: Thursday, May 7, 2020 @ 05:10:39
  Author: allan
Revision: 382560

upgpkg: opensp 1.5.2-9: .BUILDINFO rebuild

Modified:
  opensp/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-05-07 05:02:48 UTC (rev 382559)
+++ PKGBUILD2020-05-07 05:10:39 UTC (rev 382560)
@@ -4,7 +4,7 @@
 
 pkgname=opensp
 pkgver=1.5.2
-pkgrel=8
+pkgrel=9
 pkgdesc="A library and a set of tools for validating, parsing and manipulating 
SGML and XML documents"
 arch=('x86_64')
 url="http://openjade.sourceforge.net/";


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

2017-12-03 Thread Jan de Groot via arch-commits
Date: Sunday, December 3, 2017 @ 23:03:50
  Author: jgc
Revision: 311597

upgpkg: opensp 1.5.2-8

Switch to https and sha256. Fix overlinking

Modified:
  opensp/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2017-12-03 23:00:09 UTC (rev 311596)
+++ PKGBUILD2017-12-03 23:03:50 UTC (rev 311597)
@@ -5,7 +5,7 @@
 
 pkgname=opensp
 pkgver=1.5.2
-pkgrel=7
+pkgrel=8
 pkgdesc="A library and a set of tools for validating, parsing and manipulating 
SGML and XML documents"
 arch=('x86_64')
 url="http://openjade.sourceforge.net/";
@@ -12,8 +12,8 @@
 license=('BSD')
 depends=('sgml-common' 'perl')
 makedepends=('xmlto' 'docbook-xsl')
-source=("http://downloads.sourceforge.net/project/openjade/opensp/$pkgver/OpenSP-$pkgver.tar.gz";)
-sha1sums=('b4e903e980f8a8b3887396a24e067bef126e97d5')
+source=("https://downloads.sourceforge.net/project/openjade/opensp/$pkgver/OpenSP-$pkgver.tar.gz";)
+sha256sums=('57f4898498a368918b0d49c826aa434bb5b703d2c3b169beb348016ab25617ce')
 
 build() {
   cd OpenSP-$pkgver
@@ -24,6 +24,7 @@
 --enable-default-catalog=/etc/sgml/catalog \
 --enable-default-search-path=/usr/share/sgml:/usr/share/xml \
 --enable-xml-messages
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
 }
 


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

2016-06-21 Thread Andreas Radke
Date: Tuesday, June 21, 2016 @ 19:21:38
  Author: andyrtr
Revision: 270453

upgpkg: opensp 1.5.2-7

fix conlicts with jade and file conflicts - FS#49792+FS49775

Modified:
  opensp/trunk/PKGBUILD

--+
 PKGBUILD |   20 ++--
 1 file changed, 10 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-06-21 19:16:34 UTC (rev 270452)
+++ PKGBUILD2016-06-21 19:21:38 UTC (rev 270453)
@@ -5,7 +5,7 @@
 
 pkgname=opensp
 pkgver=1.5.2
-pkgrel=6
+pkgrel=7
 pkgdesc="A library and a set of tools for validating, parsing and manipulating 
SGML and XML documents"
 arch=('i686' 'x86_64')
 url="http://openjade.sourceforge.net/";
@@ -12,7 +12,6 @@
 license=('BSD')
 depends=('sgml-common' 'perl')
 makedepends=('xmlto' 'docbook-xsl')
-conflicts=('jade')
 
source=("http://downloads.sourceforge.net/project/openjade/opensp/$pkgver/OpenSP-$pkgver.tar.gz";)
 sha1sums=('b4e903e980f8a8b3887396a24e067bef126e97d5')
 
@@ -36,16 +35,17 @@
 package() {
   cd OpenSP-$pkgver
   make DESTDIR="${pkgdir}" install
-  
+
   # add symlinks for compatibility with jade, see FS#49775
-  ln -v -sf onsgmls   $pkgdir/usr/bin/nsgmls
-  ln -v -sf osgmlnorm $pkgdir/usr/bin/sgmlnorm
-  ln -v -sf ospam $pkgdir/usr/bin/spam
-  ln -v -sf ospcat$pkgdir/usr/bin/spcat
-  ln -v -sf ospent$pkgdir/usr/bin/spent
-  ln -v -sf osx   $pkgdir/usr/bin/sx
-  ln -v -sf osx   $pkgdir/usr/bin/sgml2xml
+  for file in nsgmls sgmlnorm spam spcat spent sx ; do
+ln -s o$file $pkgdir/usr/bin/$file
+echo ".so man1/o${file}.1" > $pkgdir/usr/share/man/man1/${file}.1
+  done
   ln -v -sf libosp.so $pkgdir/usr/lib/libsp.so
+
+  # Rename sx to sgml2xml; FS#49792
+  mv $pkgdir/usr/bin/sx $pkgdir/usr/bin/sgml2xml
+  mv $pkgdir/usr/share/man/man1/{sx,sgml2xml}.1
   
   install -D -m644 COPYING "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
 }


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

2016-06-20 Thread Andreas Radke
Date: Monday, June 20, 2016 @ 19:59:02
  Author: andyrtr
Revision: 270387

upgpkg: opensp 1.5.2-6

add jade symlinks; FS#49775; fix deps

Modified:
  opensp/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2016-06-20 19:24:57 UTC (rev 270386)
+++ PKGBUILD2016-06-20 19:59:02 UTC (rev 270387)
@@ -1,19 +1,20 @@
 # $Id$
-# Maintainer:
+# Maintainer: Andreas Radke 
 # Contributor: dorphell 
 # Contributor: Tom Newsom 
 
 pkgname=opensp
 pkgver=1.5.2
-pkgrel=5
+pkgrel=6
 pkgdesc="A library and a set of tools for validating, parsing and manipulating 
SGML and XML documents"
 arch=('i686' 'x86_64')
 url="http://openjade.sourceforge.net/";
 license=('BSD')
-depends=('gcc-libs')
+depends=('sgml-common' 'perl')
 makedepends=('xmlto' 'docbook-xsl')
-source=("http://download.sourceforge.net/openjade/OpenSP-$pkgver.tar.gz";)
-md5sums=('670b223c5d12cee40c9137be86b6c39b')
+conflicts=('jade')
+source=("http://downloads.sourceforge.net/project/openjade/opensp/$pkgver/OpenSP-$pkgver.tar.gz";)
+sha1sums=('b4e903e980f8a8b3887396a24e067bef126e97d5')
 
 build() {
   cd OpenSP-$pkgver
@@ -21,14 +22,30 @@
 --mandir=/usr/share/man \
 --disable-nls \
 --enable-http \
---enable-default-catalog=/etc/sgml/catalog:/etc/xml/catalog \
+--enable-default-catalog=/etc/sgml/catalog \
 --enable-default-search-path=/usr/share/sgml:/usr/share/xml \
 --enable-xml-messages
   make
 }
 
+check() {
+  cd OpenSP-$pkgver
+  make check || /bin/true
+}
+
 package() {
   cd OpenSP-$pkgver
   make DESTDIR="${pkgdir}" install
+  
+  # add symlinks for compatibility with jade, see FS#49775
+  ln -v -sf onsgmls   $pkgdir/usr/bin/nsgmls
+  ln -v -sf osgmlnorm $pkgdir/usr/bin/sgmlnorm
+  ln -v -sf ospam $pkgdir/usr/bin/spam
+  ln -v -sf ospcat$pkgdir/usr/bin/spcat
+  ln -v -sf ospent$pkgdir/usr/bin/spent
+  ln -v -sf osx   $pkgdir/usr/bin/sx
+  ln -v -sf osx   $pkgdir/usr/bin/sgml2xml
+  ln -v -sf libosp.so $pkgdir/usr/lib/libsp.so
+  
   install -D -m644 COPYING "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
 }


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

2015-12-05 Thread Evangelos Foutras
Date: Saturday, December 5, 2015 @ 18:05:51
  Author: foutrelis
Revision: 252482

C++11 ABI rebuild

Modified:
  opensp/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2015-12-05 16:51:04 UTC (rev 252481)
+++ PKGBUILD2015-12-05 17:05:51 UTC (rev 252482)
@@ -5,7 +5,7 @@
 
 pkgname=opensp
 pkgver=1.5.2
-pkgrel=4
+pkgrel=5
 pkgdesc="A library and a set of tools for validating, parsing and manipulating 
SGML and XML documents"
 arch=('i686' 'x86_64')
 url="http://openjade.sourceforge.net/";


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

2013-10-26 Thread Eric BĂ©langer
Date: Sunday, October 27, 2013 @ 04:04:09
  Author: eric
Revision: 197584

upgpkg: opensp 1.5.2-4

Rebuild without static libraries

Modified:
  opensp/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2013-10-27 02:51:46 UTC (rev 197583)
+++ PKGBUILD2013-10-27 03:04:09 UTC (rev 197584)
@@ -5,7 +5,7 @@
 
 pkgname=opensp
 pkgver=1.5.2
-pkgrel=3
+pkgrel=4
 pkgdesc="A library and a set of tools for validating, parsing and manipulating 
SGML and XML documents"
 arch=('i686' 'x86_64')
 url="http://openjade.sourceforge.net/";
@@ -12,12 +12,11 @@
 license=('BSD')
 depends=('gcc-libs')
 makedepends=('xmlto' 'docbook-xsl')
-options=('!libtool')
 source=("http://download.sourceforge.net/openjade/OpenSP-$pkgver.tar.gz";)
 md5sums=('670b223c5d12cee40c9137be86b6c39b')
 
 build() {
-  cd "${srcdir}"/OpenSP-$pkgver
+  cd OpenSP-$pkgver
   ./configure --prefix=/usr \
 --mandir=/usr/share/man \
 --disable-nls \
@@ -29,7 +28,7 @@
 }
 
 package() {
-  cd "${srcdir}"/OpenSP-$pkgver
+  cd OpenSP-$pkgver
   make DESTDIR="${pkgdir}" install
   install -D -m644 COPYING "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
 }



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

2012-02-18 Thread Pierre Schmitz
Date: Saturday, February 18, 2012 @ 09:51:02
  Author: pierre
Revision: 150565

upgpkg: opensp 1.5.2-3

rebuild old package

Modified:
  opensp/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2012-02-18 14:45:45 UTC (rev 150564)
+++ PKGBUILD2012-02-18 14:51:02 UTC (rev 150565)
@@ -5,7 +5,7 @@
 
 pkgname=opensp
 pkgver=1.5.2
-pkgrel=2
+pkgrel=3
 pkgdesc="A library and a set of tools for validating, parsing and manipulating 
SGML and XML documents"
 arch=('i686' 'x86_64')
 url="http://openjade.sourceforge.net/";



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

2011-05-12 Thread Andrea Scarpino
Date: Thursday, May 12, 2011 @ 16:50:20
  Author: andrea
Revision: 123744

upgpkg: opensp 1.5.2-2
rebuild old package

Modified:
  opensp/trunk/PKGBUILD

--+
 PKGBUILD |   34 --
 1 file changed, 20 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-05-12 20:48:54 UTC (rev 123743)
+++ PKGBUILD2011-05-12 20:50:20 UTC (rev 123744)
@@ -1,29 +1,35 @@
 # $Id$
-# Maintainer: dorphell 
+# Maintainer:
+# Contributor: dorphell 
 # Contributor: Tom Newsom 
 
 pkgname=opensp
 pkgver=1.5.2
-pkgrel=1
-pkgdesc="A library and a set of tools for validating, parsing and manipulating 
SGML and XML documents."
+pkgrel=2
+pkgdesc="A library and a set of tools for validating, parsing and manipulating 
SGML and XML documents"
 arch=('i686' 'x86_64')
 url="http://openjade.sourceforge.net/";
 license=('BSD')
 depends=('gcc-libs')
 makedepends=('xmlto' 'docbook-xsl')
 options=('!libtool')
-source=(http://download.sourceforge.net/openjade/OpenSP-$pkgver.tar.gz)
+source=("http://download.sourceforge.net/openjade/OpenSP-$pkgver.tar.gz";)
 md5sums=('670b223c5d12cee40c9137be86b6c39b')
 
 build() {
-  cd $srcdir/OpenSP-$pkgver
-  ./configure --prefix=/usr --mandir=/usr/share/man \
- --disable-nls \
- --enable-http \
- --enable-default-catalog=/etc/sgml/catalog:/etc/xml/catalog \
- --enable-default-search-path=/usr/share/sgml:/usr/share/xml \
- --enable-xml-messages || return 1
-  make || return 1
-  make DESTDIR=$pkgdir install || return 1
-  install -D -m644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
+  cd "${srcdir}"/OpenSP-$pkgver
+  ./configure --prefix=/usr \
+--mandir=/usr/share/man \
+--disable-nls \
+--enable-http \
+--enable-default-catalog=/etc/sgml/catalog:/etc/xml/catalog \
+--enable-default-search-path=/usr/share/sgml:/usr/share/xml \
+--enable-xml-messages
+  make
 }
+
+package() {
+  cd "${srcdir}"/OpenSP-$pkgver
+  make DESTDIR="${pkgdir}" install
+  install -D -m644 COPYING "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
+}