From f53c212680c1817ef2337855ef8814dea6b07e4e Mon Sep 17 00:00:00 2001 From: root Date: Wed, 24 Aug 2011 23:14:38 +0000 Subject: Wed Aug 24 23:14:37 UTC 2011 --- community/aqbanking/PKGBUILD | 8 +-- community/chmsee/PKGBUILD | 16 ++--- community/couchdb/PKGBUILD | 15 +++-- community/couchdb/rc-script.patch | 91 ++++++++--------------------- community/ginac/PKGBUILD | 10 +++- community/gtkwave/PKGBUILD | 4 +- community/gwenhywfar/PKGBUILD | 12 ++-- community/mongodb/PKGBUILD | 6 +- community/notion/PKGBUILD | 24 ++++++-- community/notion/doc-build-fix.patch | 106 ++++++++++++++++++++++++++++++++++ community/python2-rst2pdf/PKGBUILD | 37 ++++++++++++ community/swi-prolog/PKGBUILD | 10 +++- community/unrealircd/PKGBUILD | 25 +++----- community/unrealircd/arch-fixes.patch | 56 ++++++++++++++++++ 14 files changed, 296 insertions(+), 124 deletions(-) create mode 100644 community/notion/doc-build-fix.patch create mode 100644 community/python2-rst2pdf/PKGBUILD create mode 100644 community/unrealircd/arch-fixes.patch (limited to 'community') diff --git a/community/aqbanking/PKGBUILD b/community/aqbanking/PKGBUILD index 36d291377..59b20c371 100644 --- a/community/aqbanking/PKGBUILD +++ b/community/aqbanking/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 51223 2011-07-05 21:41:50Z spupykin $ +# $Id: PKGBUILD 54691 2011-08-23 10:03:09Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: David Moore pkgname=aqbanking -pkgver=5.0.11 +pkgver=5.0.14 pkgrel=1 pkgdesc="A library for online banking and financial applications" arch=(i686 x86_64) @@ -12,8 +12,8 @@ url="http://www.aquamaniac.de/aqbanking" license=('GPL') depends=('gwenhywfar' 'ktoblzcheck' 'libofx') options=('!makeflags' '!libtool') -source=("aqbanking-$pkgver.tar.gz::http://www2.aquamaniac.de/sites/download/download.php?package=03&release=84&file=01&dummy=aqbanking-$pkgver.tar.gz") -md5sums=('08b42813f7a6c1ac3529e1004b66d81d') +source=("aqbanking-$pkgver.tar.gz::http://www2.aquamaniac.de/sites/download/download.php?package=03&release=85&file=01&dummy=aqbanking-$pkgver.tar.gz") +md5sums=('c489bc8a8621d77653f09cae1ceb06e8') build() { cd $srcdir/aqbanking-$pkgver diff --git a/community/chmsee/PKGBUILD b/community/chmsee/PKGBUILD index d5809b91e..4c0076a82 100644 --- a/community/chmsee/PKGBUILD +++ b/community/chmsee/PKGBUILD @@ -4,31 +4,31 @@ # Contributor: Ermanno pkgname=chmsee -pkgver=1.99.03 -pkgrel=2 +pkgver=1.99.05 +pkgrel=1 arch=('i686' 'x86_64') pkgdesc="A chm (MS HTML help file format) viewer based on xulrunner." url="http://chmsee.googlecode.com/" license="GPL" -depends=('xulrunner>=5.0' 'chmlib' 'desktop-file-utils') -makedepends=() +depends=('xulrunner>=6.0' 'chmlib' 'desktop-file-utils') +makedepends=('python2') source=(chmsee-$pkgver.tar.gz::https://github.com/jungleji/chmsee/tarball/v$pkgver chmsee) install=chmsee.install -md5sums=('d72625e82222497237efeb228fb53816' +md5sums=('accef6baba2842ad13c59db3627c05f1' '4999362b0c89c24764cbd25173610a38') build() { - cd ${srcdir}/jungleji-chmsee-e06453b/src + cd ${srcdir}/jungleji-chmsee-370f906/src cp Makefile.arch Makefile - sed -i -e 's/2.0/5.0/g' Makefile + sed -i -e 's/5.0/6.0/g' Makefile make } package() { - cd ${srcdir}/jungleji-chmsee-e06453b + cd ${srcdir}/jungleji-chmsee-370f906 install -d ${pkgdir}/usr/share/chmsee cp -a * ${pkgdir}/usr/share/chmsee diff --git a/community/couchdb/PKGBUILD b/community/couchdb/PKGBUILD index 6d4d6d171..db519cae8 100644 --- a/community/couchdb/PKGBUILD +++ b/community/couchdb/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 51045 2011-07-04 15:16:10Z spupykin $ +# $Id: PKGBUILD 54686 2011-08-23 09:50:02Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Vitaliy Berdinskikh ur6lad[at]i.ua # Previous Contributor: Michael Fellinger pkgname=couchdb pkgver=1.1.0 -pkgrel=1.svn20110704 +pkgrel=1.svn20110823 pkgdesc="A document-oriented database that can be queried and indexed in a MapReduce fashion using JSON" arch=('i686' 'x86_64') url="http://couchdb.apache.org" @@ -18,16 +18,17 @@ backup=('etc/couchdb/local.ini' 'etc/conf.d/couchdb' 'etc/logrotate.d/couchdb') #source=("http://www.apache.org/dist/$pkgname/$pkgver/apache-$pkgname-$pkgver.tar.gz" -source=("http://arch.p5n.pp.ru/~sergej/dl/apache-couchdb-$pkgver.svn20110704.tar.gz" +source=("http://arch.p5n.pp.ru/~sergej/dl/apache-couchdb-$pkgver.svn20110823.tar.gz" "rc-script.patch") -md5sums=('a961f9047aa34df56ef19d6f6dce083b' - 'e9b5595338efbdc1a5db13284a296612') +md5sums=('b5a6e2dab45f19ef39f04a46ac146a0a' + '12171b097d2f98f4874e002bc1eabfc5') build() { cd "$srcdir/apache-$pkgname-$pkgver" + [ -x configure ] || ./bootstrap sed -i 's|-ljs|-lmozjs185|' configure - ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var + [ -f Makefile ] || ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var make patch etc/init/couchdb <$srcdir/rc-script.patch } @@ -39,8 +40,6 @@ package() { install -Dm755 etc/default/couchdb $pkgdir/etc/conf.d/couchdb sed -i 's|\(CONFIGURATION_FILE=/etc/\)default\(/couchdb\)|\1conf.d\2|' $pkgdir/etc/rc.d/couchdb sed -i 's|\(COUCHDB_OPTIONS=\)|\1"-p /var/run/couchdb/couchdb.pid"|' $pkgdir/etc/conf.d/couchdb - sed -i 's|$COUCHDB -s|$COUCHDB $COUCHDB_OPTIONS -s|' $pkgdir/etc/rc.d/couchdb - sed -i 's|su $COUCHDB_USER -c|su $COUCHDB_USER -s /bin/bash -c|' $pkgdir/etc/rc.d/couchdb rm -rf $pkgdir/etc/default/ $pkgdir/var/run } diff --git a/community/couchdb/rc-script.patch b/community/couchdb/rc-script.patch index d38f4dc6c..d7fd105c4 100644 --- a/community/couchdb/rc-script.patch +++ b/community/couchdb/rc-script.patch @@ -1,15 +1,14 @@ ---- couchdb.org 2011-04-01 19:56:32.000000000 +0000 -+++ couchdb 2011-04-01 19:59:17.000000000 +0000 -@@ -1,4 +1,7 @@ +--- couchdb.orig 2011-08-23 13:13:45.000000000 +0400 ++++ couchdb 2011-08-23 13:34:20.000000000 +0400 +@@ -1,4 +1,6 @@ -#!/bin/sh -e +#!/bin/bash -+#general config +. /etc/rc.conf +. /etc/rc.d/functions # Licensed under the Apache License, Version 2.0 (the "License"); you may not # use this file except in compliance with the License. You may obtain a copy of -@@ -29,7 +32,7 @@ +@@ -29,7 +31,7 @@ NAME=couchdb SCRIPT_NAME=`basename $0` COUCHDB=/usr/bin/couchdb @@ -18,73 +17,33 @@ RUN_DIR=/var/run/couchdb LSB_LIBRARY=/lib/lsb/init-functions -@@ -61,8 +63,9 @@ +@@ -42,16 +44,14 @@ fi - start_couchdb () { -- # Start Apache CouchDB as a background process. -+ stat_busy "Starting the CouchDB daemon" + log_daemon_msg () { +- # Dummy function to be replaced by LSB library. +- +- echo $@ ++ stat_busy $@ + } -+ [ -d /var/run/couchdb ] || mkdir -p /var/run/couchdb - command="$COUCHDB -b" - if test -n "$COUCHDB_STDOUT_FILE"; then - command="$command -o $COUCHDB_STDOUT_FILE" -@@ -79,38 +82,38 @@ - mkdir -p "$RUN_DIR" - if test -n "$COUCHDB_USER"; then - chown $COUCHDB_USER "$RUN_DIR" -- if su $COUCHDB_USER -c "$command" > /dev/null; then -- return $SCRIPT_OK -+ if su $COUCHDB_USER -s /bin/bash -c "$command" > /dev/null; then -+ stat_done - else -- return $SCRIPT_ERROR -+ stat_fail - fi - else - if $command > /dev/null; then -- return $SCRIPT_OK -+ stat_done - else -- return $SCRIPT_ERROR -+ stat_fail - fi + log_end_msg () { +- # Dummy function to be replaced by LSB library. +- + if test "$1" != "0"; then +- echo "Error with $DESCRIPTION: $NAME" ++ stat_fail ++ else ++ stat_done fi + return $1 } - - stop_couchdb () { -- # Stop the running Apache CouchDB process. -+ stat_busy "Stopping the CouchDB daemon" - - command="$COUCHDB -d" - if test -n "$COUCHDB_OPTIONS"; then +@@ -66,7 +66,7 @@ command="$command $COUCHDB_OPTIONS" fi if test -n "$COUCHDB_USER"; then -- if su $COUCHDB_USER -c "$command" > /dev/null; then -- return $SCRIPT_OK -+ if su $COUCHDB_USER -s /bin/bash -c "$command" > /dev/null; then -+ stat_done +- if su $COUCHDB_USER -c "$command"; then ++ if su $COUCHDB_USER -s /bin/bash -c "$command"; then + return $SCRIPT_OK else -- return $SCRIPT_ERROR -+ stat_fail - fi - else - if $command > /dev/null; then -- return $SCRIPT_OK -+ stat_done - else -- return $SCRIPT_ERROR -+ stat_fail - fi - fi - } -@@ -118,7 +121,7 @@ - display_status () { - # Display the status of the running Apache CouchDB process. - -- $COUCHDB -s -+ $COUCHDB $COUCHDB_OPTIONS -s - } - - parse_script_option_list () { + return $SCRIPT_ERROR diff --git a/community/ginac/PKGBUILD b/community/ginac/PKGBUILD index 432ccbef4..5468f6f69 100644 --- a/community/ginac/PKGBUILD +++ b/community/ginac/PKGBUILD @@ -2,17 +2,17 @@ # Contributor: Thomas Baechler pkgname=ginac -pkgver=1.6.0 +pkgver=1.6.1 pkgrel=1 pkgdesc='A set of libraries that allow the creation of integrated systems that embed symbolic manipulations.' arch=('i686' 'x86_64') url='http://www.ginac.de' license=('GPL') depends=('cln') -makedepends=('transfig') +makedepends=('transfig' 'doxygen' 'texlive-bin') options=('!libtool') source=("ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/ginac-${pkgver}.tar.bz2") -md5sums=('6d1385b440c00705a368ad51d60a292d') +md5sums=('d383f3ee50f88ffa1b3966fdb11d0f12') build() { cd ginac-${pkgver} @@ -21,6 +21,10 @@ build() { --prefix=/usr make +} + +check() { + cd ginac-${pkgver} make check } diff --git a/community/gtkwave/PKGBUILD b/community/gtkwave/PKGBUILD index afdcd4c2f..c9e33afda 100644 --- a/community/gtkwave/PKGBUILD +++ b/community/gtkwave/PKGBUILD @@ -2,7 +2,7 @@ # Contributor: Jared Casper pkgname=gtkwave -pkgver=3.3.22 +pkgver=3.3.24 pkgrel=1 pkgdesc='A wave viewer which reads LXT, LXT2, VZT, GHW and VCD/EVCD files' arch=('i686' 'x86_64') @@ -12,7 +12,7 @@ depends=('gtk2') makedepends=('gperf') install='gtkwave.install' source=("http://gtkwave.sourceforge.net/gtkwave-${pkgver}.tar.gz") -md5sums=('106d5b6554793b6ce418d469870b61ca') +md5sums=('792cdc0b7c3e4583f407800020877d05') build() { cd gtkwave-${pkgver} diff --git a/community/gwenhywfar/PKGBUILD b/community/gwenhywfar/PKGBUILD index ee5e44c65..a81ba0275 100644 --- a/community/gwenhywfar/PKGBUILD +++ b/community/gwenhywfar/PKGBUILD @@ -1,20 +1,20 @@ -# $Id: PKGBUILD 54457 2011-08-18 15:06:59Z bluewind $ +# $Id: PKGBUILD 54696 2011-08-23 10:04:10Z spupykin $ # Maintainer: Sergej Pupykin # Maintainer: William Rea pkgname=gwenhywfar -pkgver=4.2.0 -pkgrel=2 +pkgver=4.2.1 +pkgrel=1 pkgdesc="OS abstraction functions for various projects" arch=(i686 x86_64) url="http://www.aquamaniac.de" options=('!libtool') license=("LGPL") -depends=('openssl' 'gnutls') +depends=('openssl' 'gnutls' 'libgcrypt') makedepends=('gtk2' 'qt') optdepends=('gtk2' 'qt') -source=("gwenhywfar-$pkgver.tar.gz::http://www2.aquamaniac.de/sites/download/download.php?package=01&release=62&file=01&dummy=gwenhywfar-$pkgver.tar.gz") -md5sums=('62d15e090a0c21bc9d22489ceaaadfde') +source=("gwenhywfar-$pkgver.tar.gz::http://www2.aquamaniac.de/sites/download/download.php?package=01&release=63&file=01&dummy=gwenhywfar-$pkgver.tar.gz") +md5sums=('b1673f601af5f07d591f6716d822275b') build() { pacman -Q gwenhywfar && return 1 diff --git a/community/mongodb/PKGBUILD b/community/mongodb/PKGBUILD index e46c04f9f..1648fc546 100644 --- a/community/mongodb/PKGBUILD +++ b/community/mongodb/PKGBUILD @@ -3,8 +3,8 @@ # Contributor: Alec Thomas pkgname=mongodb -pkgver=1.8.2 -pkgrel=6 +pkgver=1.8.3 +pkgrel=1 pkgdesc='A high-performance, open source, schema-free document-oriented database.' arch=('i686' 'x86_64') url='http://www.mongodb.org' @@ -19,7 +19,7 @@ source=("http://downloads.mongodb.org/src/mongodb-src-r${pkgver}.tar.gz" 'mongodb.conf' 'mongodb-1.8.0-spidermonkey-1.8.5-support.patch' 'add-js185-support-to-SConstruct.diff') -md5sums=('951fb1a75d90fc822cf4528585a970cf' +md5sums=('662e7ad6ff9f8e4d16c72c038b4a0c60' '85eaa28e349fdc6250f883624e624cca' '4839fe1d638187ca3226e8267b947318' '2e6409732fba887c9cfe81257b5260ad' diff --git a/community/notion/PKGBUILD b/community/notion/PKGBUILD index f7bb06784..0bc1fcd14 100644 --- a/community/notion/PKGBUILD +++ b/community/notion/PKGBUILD @@ -1,20 +1,20 @@ -# $Id: PKGBUILD 54370 2011-08-17 15:48:41Z spupykin $ +# $Id: PKGBUILD 54702 2011-08-23 11:42:16Z spupykin $ # Maintainer: Sergej Pupykin # Maintainer: Eugen Zagorodniy e dot zagorodniy at gmail dot com # Contributor: aunoor pkgname=notion -pkgver=20110817 +pkgver=20110823 pkgrel=1 pkgdesc="Tabbed tiling, window manager. Fork of Ion3" url="http://sourceforge.net/projects/notion/" arch=('i686' 'x86_64') license=('custom:LGPL') depends=('glib2' 'gettext' 'lua' 'libxext' 'libsm') -makedepends=('git' 'pkgconfig') +makedepends=('git' 'pkgconfig' + 'rubber' 'latex2html' 'texlive-htmlxml' 'texlive-latexextra') conflicts=('ion3') provides=('libtu' 'libextl') -source=() _gitroot="git://notion.git.sourceforge.net/gitroot/notion/notion" _gitname="notion" @@ -22,6 +22,11 @@ _gitroot2="git://notion.git.sourceforge.net/gitroot/notion/libtu" _gitname2="libtu" _gitroot3="git://notion.git.sourceforge.net/gitroot/notion/libextl" _gitname3="libextl" +_gitroot4="git://notion.git.sourceforge.net/gitroot/notion/notion-doc" +_gitname4="notion-doc" + +source=(doc-build-fix.patch) +md5sums=('68b348427d0531d2679a8a8d97d51c7d') build() { cd ${srcdir} @@ -51,6 +56,14 @@ build() { echo fi + if [ -d ${srcdir}/${_gitname}/${_gitname4} ]; then + echo + git pull origin + else + git clone --depth 1 ${_gitroot4} + echo + fi + msg "GIT checkout done or server timeout" rm -rf ${srcdir}/${_gitname}-build @@ -67,11 +80,14 @@ build() { -i system.mk make INCLUDES=-I${srcdir}/${_gitname}-build + (cd notion-doc && patch -p1 <$srcdir/doc-build-fix.patch) + (cd notion-doc && make -j1 TOPDIR=.. all) } package() { cd ${srcdir}/${_gitname}-build make PREFIX=${pkgdir}/usr ETCDIR=${pkgdir}/etc/notion install + (cd notion-doc && make PREFIX=${pkgdir}/usr TOPDIR=.. install) mkdir -p ${pkgdir}/usr/share/licenses/notion cp LICENSE ${pkgdir}/usr/share/licenses/notion } diff --git a/community/notion/doc-build-fix.patch b/community/notion/doc-build-fix.patch new file mode 100644 index 000000000..45cc19725 --- /dev/null +++ b/community/notion/doc-build-fix.patch @@ -0,0 +1,106 @@ +diff --git a/Makefile b/Makefile +index 8cb5b6c..11c3ca0 100644 +--- a/Makefile ++++ b/Makefile +@@ -19,6 +19,12 @@ FNTEXES=ioncore.exports mod_tiling.exports \ + mod_query.exports de.exports mod_menu.exports \ + mod_dock.exports mod_sp.exports mod_statusbar.exports + ++TEXSOURCES=conf-bindings.tex confintro.tex conf-menus.tex \ ++ conf-statusbar.tex conf.tex conf-winprops.tex cstyle.tex designnotes.tex \ ++ de.tex fdl.tex fnref.tex fullhierarchy.tex hookref.tex luaif.tex \ ++ macros.tex miscref.tex notionconf.tex notionnotes.tex objectsimpl.tex objects.tex \ ++ prelim.tex statusd.tex tricks.tex ++ + RUBBER_DVI=rubber + RUBBER_PS=rubber -p + RUBBER_PDF=rubber -d +@@ -31,14 +37,17 @@ TARGETS = notionconf notionnotes + nothing: + @ echo "Please read the README first." + +-%-dvi: ++%-dvi: $(TEXSOURCES) + $(RUBBER_DVI) $* +- +-%-ps: ++ touch $@ ++ ++%-ps: $(TEXSOURCES) + $(RUBBER_PS) $* ++ touch $@ + +-%-pdf: ++%-pdf: $(TEXSOURCES) + $(RUBBER_PDF) $* ++ touch $@ + + # Install + ###################################### +@@ -48,30 +57,38 @@ install: + for d in $(DOCS); do \ + for e in ps pdf dvi; do \ + test -f $$d.$$e && $(INSTALL) -m $(DATA_MODE) $$d.$$e $(DOCDIR); \ +- done; \ ++ done; \ + $(INSTALLDIR) $(DOCDIR)/$$d; \ +- for i in $$d/*; do \ +- $(INSTALL) -m $(DATA_MODE) $$i $(DOCDIR)/$$i; \ ++ for i in $$d/*; do \ ++ $(INSTALL) -m $(DATA_MODE) $$i $(DOCDIR)/$$i; \ + done; \ +- done ++ rm -f $(DOCDIR)/$$d/*.log; \ ++ rm -f $(DOCDIR)/$$d/WARNINGS; \ ++ rm -f $(DOCDIR)/$$d/*.aux; \ ++ rm -f $(DOCDIR)/$$d/*.idx; \ ++ rm -f $(DOCDIR)/$$d/*.tex; \ ++ rm -f $(DOCDIR)/$$d/*.pl; \ ++ done + + # notionconf rules + ###################################### + +-notionconf-dvi: fnlist.tex +-notionconf-ps: fnlist.tex +-notionconf-pdf: fnlist.tex ++notionconf-dvi: fnlist.tex $(TEXSOURCES) ++notionconf-ps: fnlist.tex $(TEXSOURCES) ++notionconf-pdf: fnlist.tex $(TEXSOURCES) + +-notionconf-html: $(FNTEXES) ++notionconf-html: $(FNTEXES) $(TEXSOURCES) + $(L2H) -split 3 notionconf + cp notion.css notionconf ++ touch $@ + + # notionnotes rules + ###################################### + +-notionnotes-html: ++notionnotes-html: $(TEXSOURCES) + $(L2H) -split 4 notionnotes + cp notion.css notionnotes ++ touch $@ + + # More generic rules + ###################################### +@@ -94,7 +111,7 @@ all-html: $(patsubst %, %-html, $(TARGETS)) + + clean: + rm -f $(FNTEXES) fnlist.tex +- rm -f *.aux *.toc *.log ++ rm -f *.aux *.toc *.log *.out + rm -f *.idx *.ild *.ilg *.ind + + realclean: clean +@@ -111,7 +128,8 @@ $(TOPDIR)/%/exports.tex: + $(MAKE) -C $$(dirname $@) _exports_doc + + %.exports: $(TOPDIR)/%/exports.tex +- cp $< $@ ++ cat $< | sed 's|UTF8_STRING|UTF8\\_STRING|' >$@ ++# cp $< $@ + + # Function list + ###################################### diff --git a/community/python2-rst2pdf/PKGBUILD b/community/python2-rst2pdf/PKGBUILD new file mode 100644 index 000000000..b33bcdea3 --- /dev/null +++ b/community/python2-rst2pdf/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 54723 2011-08-23 21:08:22Z angvp $ +# Maintainer: Angel Velasquez +# Contributor: Roberto Alsina +pkgname=python2-rst2pdf +pkgver=0.16 +pkgrel=10 +pkgdesc="Create PDFs from simple text markup, no LaTeX required." +arch=('i686' 'x86_64') +url="http://rst2pdf.googlecode.com" +license=('MIT') +depends=('python2' 'setuptools' 'docutils' 'python-reportlab') +source=(http://rst2pdf.googlecode.com/files/rst2pdf-$pkgver.tar.gz LICENSE.txt + rst2pdf-0.16_docutils-0.8.patch) +optdepends=('uniconvertor: vector images support' + 'python-svglib: some SVG support' + 'inkscape: best SVG support' + 'python-wordaxe: hyphenation' + 'python2-pygments: Syntax Highlighting' + 'pil: non-JPEG bitmap image formats' + 'pythonmagick: more image formats') +md5sums=('67b8bfac3ac55a85a09fc35ba98794d3' + '416f8046c66b9476cdbacda69a673afe' + 'fcd21288b01b35f654579670dd8c7a02') + +build() { + cd $srcdir/rst2pdf-$pkgver + patch -p0 < ../rst2pdf-0.16_docutils-0.8.patch + python2 setup.py install --root=$pkgdir +} + +package() { + cd $srcdir/rst2pdf-$pkgver + install -D ../LICENSE.txt $pkgdir/usr/share/licenses/python-rst2pdf/COPYING + (cd doc && rst2man rst2pdf.txt rst2pdf.1) + install -D doc/rst2pdf.1 $pkgdir/usr/share/man/man1/rst2pdf.1 + gzip $pkgdir/usr/share/man/man1/rst2pdf.1 +} diff --git a/community/swi-prolog/PKGBUILD b/community/swi-prolog/PKGBUILD index 9e0faf6f9..86646aa3b 100644 --- a/community/swi-prolog/PKGBUILD +++ b/community/swi-prolog/PKGBUILD @@ -3,7 +3,7 @@ # Contributor: Juergen Hoetzel pkgname=swi-prolog -pkgver=5.10.4 +pkgver=5.10.5 pkgrel=1 pkgdesc='Prolog environment' arch=('i686' 'x86_64') @@ -18,7 +18,7 @@ optdepends=('unixodbc: for using the odbc4pl library' 'libxft: for using the pl2xpce library') options=('!makeflags') source=("http://www.swi-prolog.org/download/stable/src/pl-${pkgver}.tar.gz") -md5sums=('363433bb2f80a6c2befeaee7768197b4') +md5sums=('1ca45eddd3590fb525085761e75a4ebd') build() { cd pl-${pkgver} @@ -32,6 +32,12 @@ build() { make } +check() { + cd pl-${pkgver} + + make check || true +} + package() { cd pl-${pkgver} diff --git a/community/unrealircd/PKGBUILD b/community/unrealircd/PKGBUILD index 3ad0f297a..bcb80f277 100644 --- a/community/unrealircd/PKGBUILD +++ b/community/unrealircd/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 33887 2010-11-29 08:54:01Z spupykin $ +# $Id: PKGBUILD 54707 2011-08-23 12:04:07Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Zerial pkgname=unrealircd pkgver=3.2.8.1 -pkgrel=6 +pkgrel=7 pkgdesc="Open Source IRC Server." arch=('i686' 'x86_64') url="http://unrealircd.com" @@ -14,29 +14,18 @@ conflicts=(ircd) provides=(ircd) backup=(etc/unrealircd/unrealircd.conf) source=(http://www.unrealircd.com/downloads/Unreal$pkgver.tar.gz - unrealircd.rc) + unrealircd.rc + arch-fixes.patch) md5sums=('7b741e94e867c0a7370553fd01506c66' - '0d728240132a97a2cef61be9558750b1') + '0d728240132a97a2cef61be9558750b1' + '670f0a5ecd60789cd5f296a1901cf1b7') build() { mkdir -p $pkgdir/etc/unrealircd mkdir -p $pkgdir/usr/bin cd $srcdir/Unreal3.2 - patch src/ircd.c < #if 0 -857c857 -< #ifdef ZIP_LINKS ---- -> #if 0 -867c867 -< #ifdef USE_LIBCURL ---- -> #if 0 -EOF + patch -p1 <$srcdir/arch-fixes.patch ./configure --with-showlistmodes \ --enable-hub --enable-prefixaq --with-listen=5 \ diff --git a/community/unrealircd/arch-fixes.patch b/community/unrealircd/arch-fixes.patch new file mode 100644 index 000000000..02bbb18b3 --- /dev/null +++ b/community/unrealircd/arch-fixes.patch @@ -0,0 +1,56 @@ +diff -wbBur Unreal3.2/doc/example.conf Unreal3.2.my/doc/example.conf +--- Unreal3.2/doc/example.conf 2009-04-13 15:03:55.000000000 +0400 ++++ Unreal3.2.my/doc/example.conf 2011-08-23 15:48:46.000000000 +0400 +@@ -33,8 +33,8 @@ + */ + + /* FOR *NIX, uncomment the following 2lines: */ +-//loadmodule "src/modules/commands.so"; +-//loadmodule "src/modules/cloak.so"; ++loadmodule "modules/commands.so"; ++loadmodule "modules/cloak.so"; + + /* FOR Windows, uncomment the following 2 lines: */ + //loadmodule "modules/commands.dll"; +diff -wbBur Unreal3.2/src/ircd.c Unreal3.2.my/src/ircd.c +--- Unreal3.2/src/ircd.c 2009-03-01 21:37:58.000000000 +0300 ++++ Unreal3.2.my/src/ircd.c 2011-08-23 15:44:30.000000000 +0400 +@@ -844,7 +844,7 @@ + const char *compiledfor, *runtime; + int error = 0; + +-#ifdef USE_SSL ++#if 0 + compiledfor = OPENSSL_VERSION_TEXT; + runtime = SSLeay_version(SSLEAY_VERSION); + if (strcasecmp(compiledfor, runtime)) +@@ -854,7 +854,7 @@ + error=1; + } + #endif +-#ifdef ZIP_LINKS ++#if 0 + runtime = zlibVersion(); + compiledfor = ZLIB_VERSION; + if (*compiledfor != *runtime) +@@ -864,7 +864,7 @@ + error = 1; + } + #endif +-#ifdef USE_LIBCURL ++#if 0 + /* Perhaps someone should tell them to do this a bit more easy ;) + * problem is runtime output is like: 'libcurl/7.11.1 zlib/1.2.1 c-ares/1.2.0' + * while header output is like: '7.11.1'. +diff -wbBur Unreal3.2/unreal.in Unreal3.2.my/unreal.in +--- Unreal3.2/unreal.in 2009-03-01 21:37:55.000000000 +0300 ++++ Unreal3.2.my/unreal.in 2011-08-23 15:49:20.000000000 +0400 +@@ -7,7 +7,7 @@ + if [ -r $PID_FILE ] ; then + mv -f $PID_FILE $PID_BACKUP + fi +- @BINDIR@ ++ @BINDIR@/ircd + sleep 1 + if [ ! -r $PID_FILE ] ; then + echo "Possible error encountered (IRCd seemingly not started)" -- cgit v1.2.3-54-g00ecf