diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2010-09-05 06:13:57 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2010-09-05 06:13:57 (GMT) |
commit | b172f79fadb565ecfbcec9508f9377d8618a4f4c (patch) | |
tree | bf8823b07e3313c3afa000a9b31e4f9a735cb818 /abs/extra | |
parent | f9d54ab7c3853208484e304bc6cf40ab0f79d400 (diff) | |
parent | 5e7027c6194237ca1dc5fcbb3648483a970fb500 (diff) | |
download | linhes_pkgbuild-b172f79fadb565ecfbcec9508f9377d8618a4f4c.zip linhes_pkgbuild-b172f79fadb565ecfbcec9508f9377d8618a4f4c.tar.gz linhes_pkgbuild-b172f79fadb565ecfbcec9508f9377d8618a4f4c.tar.bz2 |
Merge branch 'HEAD' of ssh://cesman@knoppmyth.net/mount/repository/LinHES-PKGBUILD
Diffstat (limited to 'abs/extra')
251 files changed, 9204 insertions, 801 deletions
diff --git a/abs/extra/alpine/2.00-lpam.patch b/abs/extra/alpine/2.00-lpam.patch new file mode 100644 index 0000000..69e66d7 --- /dev/null +++ b/abs/extra/alpine/2.00-lpam.patch @@ -0,0 +1,13 @@ +--- alpine-2.00.orig/alpine/Makefile.in ++++ alpine-2.00/alpine/Makefile.in +@@ -169,7 +169,7 @@ + LIBICONV = @LIBICONV@ + LIBINTL = @LIBINTL@ + LIBOBJS = @LIBOBJS@ +-LIBS = @LIBS@ ++LIBS = @LIBS@ -lpam + LIBTOOL = @LIBTOOL@ + LN = @LN@ + LN_S = @LN_S@ + LTLIBICONV = @LTLIBICONV@ + LTLIBINTL = @LTLIBINTL@ diff --git a/abs/extra/alpine/CVE-2008-5514.patch b/abs/extra/alpine/CVE-2008-5514.patch new file mode 100644 index 0000000..594bea0 --- /dev/null +++ b/abs/extra/alpine/CVE-2008-5514.patch @@ -0,0 +1,20 @@ +--- alpine-2.00/imap/src/c-client/rfc822.c ++++ alpine-2.00/imap/src/c-client/rfc822.c +@@ -1351,6 +1351,7 @@ + + static long rfc822_output_char (RFC822BUFFER *buf,int c) + { ++ if ((buf->cur == buf->end) && !rfc822_output_flush (buf)) return NIL; + *buf->cur++ = c; /* add character, soutr buffer if full */ + return (buf->cur == buf->end) ? rfc822_output_flush (buf) : LONGT; + } +@@ -1374,7 +1375,8 @@ + len -= i; + } + /* soutr buffer now if full */ +- if (len && !rfc822_output_flush (buf)) return NIL; ++ if ((len || (buf->cur == buf->end)) && !rfc822_output_flush (buf)) ++ return NIL; + } + return LONGT; + } diff --git a/abs/extra/alpine/ChangeLog b/abs/extra/alpine/ChangeLog new file mode 100644 index 0000000..4c3bf81 --- /dev/null +++ b/abs/extra/alpine/ChangeLog @@ -0,0 +1,43 @@ +2010-01-23 Eric Belanger <eric@archlinux.org> + + * alpine 2.00-7 + * Updated patchset to level 53 + +2009-09-18 Eric Belanger <eric@archlinux.org> + + * alpine 2.00-6 + * libldap-2.4 rebuild + +2009-09-18 Eric Belanger <eric@archlinux.org> + + * alpine 2.00-5 + * Updated patchset to level 52 + * Security fix + +2009-09-17 Allan McRae <allan@archlinux.org> + + * alpine 2.00-4 + * libldap-2.4 rebuild + +2009-02-07 Eric Belanger <eric@archlinux.org> + + * alpine 2.00-3 + * Updated patchset to level 20 + +2008-12-05 Eric Belanger <eric@archlinux.org> + + * alpine 2.00-2 + * Rebuilt against heimdal 1.2.1 + * Placed copy of all.patch.gz patch on local ftp (close FS#11964) + +2008-09-04 Eric Belanger <eric@archlinux.org> + + * alpine 2.00-1 + * Upstream update + * Replaced install scriptlet with optdepends + +2008-03-26 Eric Belanger <eric@archlinux.org> + + * alpine 1.10-1 + * Upstream update + * Added ChangeLog diff --git a/abs/extra/alpine/PKGBUILD b/abs/extra/alpine/PKGBUILD new file mode 100644 index 0000000..1d75c85 --- /dev/null +++ b/abs/extra/alpine/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 64978 2010-01-23 22:24:15Z eric $ +# Maintainer: Eric Belanger <eric@archlinux.org> +# Contributor: Fabio Scotoni <fabio@esse.ch> + +pkgname=alpine +pkgver=2.00 +pkgrel=7 +_patchlevel=53 +pkgdesc="The Apache-licensed PINE (a tool for reading, sending, and managing electronic messages)" +arch=('i686' 'x86_64') +url="http://www.washington.edu/alpine/" +license=('APACHE') +depends=('libldap>=2.4.11' 'heimdal>=1.2.1' 'gettext') +optdepends=('aspell: for spell-checking support') +provides=('pine') +conflicts=('pine') +replaces=('pine') +options=('!makeflags') +source=(ftp://ftp.cac.washington.edu/${pkgname}/${pkgname}.tar.bz2 \ + http://staff.washington.edu/chappa/alpine/patches/alpine-${pkgver}/all_${_patchlevel}.patch.gz \ + 2.00-lpam.patch CVE-2008-5514.patch) +md5sums=('84e44cbf71ed674800a5d57eed9c1c52' 'c4a85b865f59c095f838617d08b1b123'\ + 'cd3911c16fc6a072e853c0ccfc35857c' '1b52a54a656979116c09fb1d948a4325') +sha1sums=('dcbd3c5419954f484ccf706feaba31ce48cdebc4' '7396ed92062924c126087dc32b98ccebf98e17cc'\ + '1b39525f91ebd5a9de5a1e04f5554f6fa5f58ae3' 'bc61d76a237ff42b00b3f60f2e6fc5c45e261dbb') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + patch -p1 < ../all_${_patchlevel}.patch || return 1 + patch -p1 < ../2.00-lpam.patch || return 1 + patch -p1 < ../CVE-2008-5514.patch || return 1 + ./configure --prefix=/usr --without-passfile --without-tcl \ + --disable-shared --with-system-pinerc=/etc/alpine.d/pine.conf \ + --with-system-fixed-pinerc=/etc/alpine.d/pine.conf.fixed || return 1 + make || return 1 + make DESTDIR="${pkgdir}" install || return 1 +} diff --git a/abs/extra/apcupsd/PKGBUILD b/abs/extra/apcupsd/PKGBUILD index 9f66f5d..ad57d1a 100644 --- a/abs/extra/apcupsd/PKGBUILD +++ b/abs/extra/apcupsd/PKGBUILD @@ -3,8 +3,8 @@ # Maintainer: Todd Musall <tmusall@comcast.net> pkgname=apcupsd -pkgver=3.14.5 -pkgrel=2 +pkgver=3.14.8 +pkgrel=1 pkgdesc="Apcupsd can be used for power mangement and controlling most of APC's UPS models on Unix and Windows machines." arch=(i686 x86_64) url="http://www.apcupsd.org" @@ -17,10 +17,6 @@ source=(http://switch.dl.sf.net/sourceforge/apcupsd/$pkgname-$pkgver.tar.gz \ apcupsd apcupsd.conf run) -md5sums=('4ac73ec91d8ab56f3fac894e172567c4' - '5eae3c4d921eeb81798a0250fe3dd111' - '2f533aec32c9445510bb2127b453b175' - 'd4b8c755ecd30f57810f71a6d6435dd3') build() { cd $startdir/src/$pkgname-$pkgver @@ -36,3 +32,7 @@ build() { mkdir -p $startdir/pkg/etc/sv/apcupsd/supervise install -D -m755 ../run $startdir/pkg/etc/sv/apcupsd } +md5sums=('cd17f0a903dc2220e55ed54e242359d2' + '5eae3c4d921eeb81798a0250fe3dd111' + '2f533aec32c9445510bb2127b453b175' + '32ae73bc096c1d0982c12d8ec46abee2') diff --git a/abs/extra/apcupsd/run b/abs/extra/apcupsd/run index a9dfa3d..bc5c22b 100644 --- a/abs/extra/apcupsd/run +++ b/abs/extra/apcupsd/run @@ -1,3 +1,4 @@ #!/bin/sh exec 2>&1 -exec /sbin/apcupsd -b -f /etc/apcupsd/apcupsd.conf >/dev/null 2>/dev/null + stat_runit "Starting APC UPS Daemon" + exec /sbin/apcupsd -b -f /etc/apcupsd/apcupsd.conf diff --git a/abs/extra/asciidoc/ChangeLog b/abs/extra/asciidoc/ChangeLog new file mode 100644 index 0000000..e9e5156 --- /dev/null +++ b/abs/extra/asciidoc/ChangeLog @@ -0,0 +1,10 @@ + +2009-11-07 Chris Brannon <cmbrannon79@gmail.com> + + * Fixed optdepends, converted to arch=('any'). + + +2008-07-06 Douglas Soares de Andrade <douglas@archlinux.org> + + * Updated for x86_64 - 8.2.7 + diff --git a/abs/extra/asciidoc/PKGBUILD b/abs/extra/asciidoc/PKGBUILD new file mode 100644 index 0000000..2a73a22 --- /dev/null +++ b/abs/extra/asciidoc/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us> +# Contributor: Chris Brannon <cmbrannon79@gmail.com> +# Contributor: Geoffroy Carrier <geoffroy@archlinux.org> +# Contributor: Dan McGee <dan@archlinux.org> +# Contributor: Jaroslaw Rosiek <philosoph@interia.pl> +# Contributor: Darwin Bautista <djclue917@gmail.com> + +pkgname=asciidoc +pkgver=8.5.3 +pkgrel=2 +pkgdesc="Text document format for short documents, articles, books and UNIX man pages" +arch=('any') +url="http://www.methods.co.nz/asciidoc/" +license=('GPL') +depends=('python' 'libxslt' 'docbook-xsl') +optdepends=('lilypond: music-filter' + 'imagemagick: music-filter (used in conjunction with lilypond)' + 'source-highlight: source-highlight-filter' + 'fop: pdf generation' + 'lynx: text generation' + 'w3m: text generation (alternative to lynx)') +source=(http://downloads.sourceforge.net/asciidoc/asciidoc-${pkgver}.tar.gz) + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + ./configure --prefix=/usr --sysconfdir=/etc || return 1 + make install DESTDIR="${pkgdir}" || return 1 + install -Dm644 asciidocapi.py ${pkgdir}/usr/lib/python2.6/site-packages/asciidocapi.py +} +md5sums=('7377872275c2a575151655b19ac6dd3e') diff --git a/abs/extra/autofs/Changelog b/abs/extra/autofs/Changelog index f25555e..d8df4dc 100644..100755 --- a/abs/extra/autofs/Changelog +++ b/abs/extra/autofs/Changelog @@ -1,2 +1,6 @@ 5.0.4-5 4/29/09 Cecil - Added run and finish files for runit. +6/28/10 +Britney - Updated run to manage automount; removed finish and /etc/rc.d/autofs; added logger +5.0.5-1 6/12/10 +Britney - Updated to 5.0.5 based on arch autofs 5.0.5 PKGBUILD and heimdal.patch with runit support added. diff --git a/abs/extra/autofs/PKGBUILD b/abs/extra/autofs/PKGBUILD index 7524ae4..ac317d2 100644..100755 --- a/abs/extra/autofs/PKGBUILD +++ b/abs/extra/autofs/PKGBUILD @@ -1,29 +1,21 @@ -# $Id: PKGBUILD 36638 2009-04-26 19:00:46Z andrea $ +# $Id: PKGBUILD 75323 2010-04-01 10:16:24Z allan $ # Maintainer: Andrea Scarpino <andrea@archlinux.org> # Contributor: Dale Blount <dale@archlinux.org> # Contributor: Manolis Tzanidakis pkgname=autofs -pkgver=5.0.4 -pkgrel=5 -pkgdesc="A kernel-based automounter for Linux." +pkgver=5.0.5 +pkgrel=1 +pkgdesc="A kernel-based automounter for Linux" arch=('i686' 'x86_64') url="http://wiki.autofs.net/FrontPage" license=('GPL2') depends=('libldap' 'libxml2' 'heimdal') backup=(etc/autofs/auto.master etc/autofs/auto.misc etc/conf.d/autofs) -install=autofs.install +install=${pkgname}.install source=("http://www.kernel.org/pub/linux/daemons/${pkgname}/v5/${pkgname}-${pkgver}.tar.bz2" - 'autofs' 'autofs.conf.d' 'auto.master' 'auto.misc' - 'heimdal.patch' 'run' 'finish') -md5sums=('2646dde61edd08dd952255558c733c08' - 'b4984b3161f50cba3d189b0ec594d014' - '47f597c870410055e0fdb66103daf928' - 'a6cefb591e77b31b79dbb7243646c96b' - 'd8a15ec9186c5c0b36e5cea1e2739e8a' - '1ee4825e26ad72bfe86acec3d3da5d2a' - '74d3b5b6c4421275448084472cfa691a' - '43410e98ecb224cde73ce32be5a6aa14') + 'autofs.conf.d' 'auto.master' 'auto.misc' + 'heimdal.patch' 'run' 'log.run' 'finish') build() { export MAKEFLAGS="-j1" @@ -37,18 +29,29 @@ build() { --with-mapdir=/etc/autofs \ --without-hesiod make || return 1 + + sed -i "s:/etc:/etc/autofs:g" man/auto.master.5 +} + +package(){ + cd ${srcdir}/${pkgname}-${pkgver} make INSTALLROOT=${pkgdir} install - local conf_file - for conf_file in auto.{master,misc}; do - install -D -m 644 ${srcdir}/$conf_file ${pkgdir}/etc/autofs/$conf_file - done - - sed -i "s:/etc:/etc/autofs:g" ${pkgdir}/usr/share/man/man5/auto.master.5 - install -D -m 755 ${srcdir}/autofs ${pkgdir}/etc/rc.d/autofs - install -D -m 644 ${srcdir}/autofs.conf.d ${pkgdir}/etc/conf.d/autofs + install -Dm644 ${srcdir}/auto.master ${pkgdir}/etc/autofs/auto.master || return 1 + install -Dm644 ${srcdir}/auto.misc ${pkgdir}/etc/autofs/auto.misc || return 1 + install -Dm644 ${srcdir}/autofs.conf.d ${pkgdir}/etc/conf.d/autofs || return 1 mkdir -p ${pkgdir}/etc/sv/autofs/supervise - install -D -m 744 ${srcdir}/run ${pkgdir}/etc/sv/autofs - install -D -m 744 ${srcdir}/finish ${pkgdir}/etc/sv/autofs + mkdir -p ${pkgdir}/etc/sv/autofs/log/supervise + install -Dm744 ${srcdir}/run ${pkgdir}/etc/sv/autofs || return 1 + install -Dm744 ${srcdir}/finish ${pkgdir}/etc/sv/autofs || return 1 + install -Dm744 ${srcdir}/log.run ${pkgdir}/etc/sv/autofs/log/run || return 1 } -# vim: ts=2 sw=2 et ft=sh + +md5sums=('a1d262cb6ebef0c2dd0fe22232fb3d5a' + '47f597c870410055e0fdb66103daf928' + 'a6cefb591e77b31b79dbb7243646c96b' + 'd8a15ec9186c5c0b36e5cea1e2739e8a' + 'efd46b6406b940cb48f7c6197790fb8e' + 'f2048c24da7fa1421c2e8b0b90fb17f9' + '518e277f960a1af837ba6c5cca13c615' + '5b30948886b6d71287652d784fccf1fb') diff --git a/abs/extra/autofs/autofs.install b/abs/extra/autofs/autofs.install index 61120bb..7806efa 100644 --- a/abs/extra/autofs/autofs.install +++ b/abs/extra/autofs/autofs.install @@ -1,5 +1,5 @@ post_install(){ - echo "########################################################" - echo "In autofs5 --ghost option isn't valid. In order to start" - echo "autofs you must remove it from your /etc/conf.d/autofs. " + echo "#########################################################" + echo "In autofs5 --ghost option isn't valid. In order to start autofs" + echo "you must remove that option from your /etc/conf.d/autofs. " } diff --git a/abs/extra/autofs/finish b/abs/extra/autofs/finish index 26f9d19..40d2fdc 100755 --- a/abs/extra/autofs/finish +++ b/abs/extra/autofs/finish @@ -1,3 +1,9 @@ #!/bin/sh exec 2>&1 -sv down autofs + +. /etc/rc.conf +. /etc/rc.d/functions + +stat_runit "Stopping autofs4 kernel module" && echo "" +set -e # barf if modprobe fails +/sbin/modprobe -r autofs4 diff --git a/abs/extra/autofs/heimdal.patch b/abs/extra/autofs/heimdal.patch index c49b1fd..4aa3218 100644 --- a/abs/extra/autofs/heimdal.patch +++ b/abs/extra/autofs/heimdal.patch @@ -1,5 +1,5 @@ ---- autofs-5.0.4/modules/cyrus-sasl.c~ 2009-01-11 17:18:55.000000000 +0100 -+++ autofs-5.0.4/modules/cyrus-sasl.c 2009-01-11 17:18:55.000000000 +0100 +--- autofs-5.0.5/modules/cyrus-sasl.c~ 2010-03-03 01:38:41.582901786 +0100 ++++ autofs-5.0.5/modules/cyrus-sasl.c 2010-03-03 01:41:32.313704755 +0100 @@ -66,6 +66,15 @@ #endif #endif @@ -16,19 +16,29 @@ /* * Once a krb5 credentials cache is setup, we need to set the KRB5CCNAME * environment variable so that the library knows where to find it. -@@ -451,11 +460,11 @@ +@@ -452,11 +452,11 @@ /* setup a principal for the ticket granting service */ ret = krb5_build_principal_ext(ctxt->krb5ctxt, &tgs_princ, - krb5_princ_realm(ctxt->krb5ctxt, krb5_client_princ)->length, - krb5_princ_realm(ctxt->krb5ctxt, krb5_client_princ)->data, -+ krb5_realm_length(*krb5_princ_realm(ctxt->krb5ctxt, krb5_client_princ)), -+ krb5_realm_data(*krb5_princ_realm(ctxt->krb5ctxt, krb5_client_princ)), ++ krb5_realm_length(*krb5_principal_get_realm(ctxt->krb5ctxt, krb5_client_princ)), ++ krb5_realm_data(*krb5_principal_get_realm(ctxt->krb5ctxt, krb5_client_princ)), strlen(KRB5_TGS_NAME), KRB5_TGS_NAME, - krb5_princ_realm(ctxt->krb5ctxt, krb5_client_princ)->length, - krb5_princ_realm(ctxt->krb5ctxt, krb5_client_princ)->data, -+ krb5_realm_length(*krb5_princ_realm(ctxt->krb5ctxt, krb5_client_princ)), -+ krb5_realm_data(*krb5_princ_realm(ctxt->krb5ctxt, krb5_client_princ)), ++ krb5_realm_length(*krb5_principal_get_realm(ctxt->krb5ctxt, krb5_client_princ)), ++ krb5_realm_data(*krb5_principal_get_realm(ctxt->krb5ctxt, krb5_client_princ)), 0); if (ret) { error(logopt, +--- autofs-5.0.5/modules/Makefile~ 2010-03-03 01:42:18.532868539 +0100 ++++ autofs-5.0.5/modules/Makefile 2010-03-03 01:42:35.360367371 +0100 +@@ -43,7 +43,7 @@ + ifeq ($(SASL), 1) + SASL_OBJ = cyrus-sasl.o + LDAP_FLAGS += $(SASL_FLAGS) $(XML_FLAGS) -DLDAP_THREAD_SAFE +- LIBLDAP += $(LIBSASL) $(XML_LIBS) ++ LIBLDAP += $(LIBSASL) $(XML_LIBS) -lkrb5 + endif + endif
\ No newline at end of file diff --git a/abs/extra/autofs/log.run b/abs/extra/autofs/log.run new file mode 100755 index 0000000..d184328 --- /dev/null +++ b/abs/extra/autofs/log.run @@ -0,0 +1,2 @@ +#!/bin/sh +/usr/bin/logger -p info -i -t autofs diff --git a/abs/extra/autofs/run b/abs/extra/autofs/run index b35a4ea..342ade6 100755 --- a/abs/extra/autofs/run +++ b/abs/extra/autofs/run @@ -1,5 +1,19 @@ #!/bin/sh exec 2>&1 + +. /etc/rc.conf +. /etc/rc.d/functions + +stat_runit "Starting autofs4 kernel module" && echo "" set -e # barf if modprobe fails /sbin/modprobe autofs4 -exec /etc/rc.d/autofs start + +stat_runit "Starting autofs automount" && echo "" +# source application-specific settings +[ -f /etc/conf.d/autofs ] && . /etc/conf.d/autofs + +if [ ! -z "$TIMEOUT" ]; then + daemonoptions="--timeout=$TIMEOUT $daemonoptions" +fi + +exec /usr/sbin/automount -f $daemonoptions diff --git a/abs/extra/bash-completion/PKGBUILD b/abs/extra/bash-completion/PKGBUILD new file mode 100644 index 0000000..5aa6b22 --- /dev/null +++ b/abs/extra/bash-completion/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 67318 2010-02-06 09:38:55Z eric $ +# Maintainer: Aaron Griffin <aaron@archlinux.org> +# Contributor: Aurelien Foret <orelien@chez.com> +# Contributor: Evangelos Foutras <foutrelis@gmail.com> + +pkgname=bash-completion +pkgver=1.2 +pkgrel=1 +pkgdesc="Programmable completion for the bash shell" +arch=(any) +url="http://bash-completion.alioth.debian.org/" +license=('GPL') +depends=('bash') +source=(http://bash-completion.alioth.debian.org/files/$pkgname-$pkgver.tar.gz cowsay.bashcomp) + +build() { + cd "$srcdir/$pkgname-$pkgver" + + # fixes for archlinux + sed -i 's#/sbin/lsmod#/bin/lsmod#' bash_completion || return 1 + + ./configure --prefix=/usr --sysconfdir=/etc + make || return 1 + make DESTDIR="$pkgdir" install + install -D -m644 "$srcdir/cowsay.bashcomp" "$pkgdir/etc/bash_completion.d/cowsay" + + # apache2ctl doesn't work, even when renamed to apachectl (and sed'd) + rm "$pkgdir/etc/bash_completion.d/apache2ctl" + # munin-node doesn't work, even i've updated munin to 1.4.0 + rm "$pkgdir/etc/bash_completion.d/munin-node" +} +# vim:set ts=2 sw=2 et: +md5sums=('457c8808ed54f2b2cdd737b1f37ffa24' + 'e9766bdc391caf825cb24e704422987e') diff --git a/abs/extra/bash-completion/cowsay.bashcomp b/abs/extra/bash-completion/cowsay.bashcomp new file mode 100644 index 0000000..77d8be9 --- /dev/null +++ b/abs/extra/bash-completion/cowsay.bashcomp @@ -0,0 +1,34 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/www/viewcvs.gentoo.org/raw_cvs/gentoo-x86/games-misc/cowsay/files/cowsay.bashcomp,v 1.1 2005/02/06 14:37:54 ka0ttic Exp $ + +# bash command-line completion for cowsay +# Author: Aaron Walker <ka0ttic@gentoo.org> +# Modified by: Michal Bentkowski <mr.ecik at gmail.com> + +_cowsay() { + local cur prev opts x + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + opts="-e -f -h -l -n -T -W -b -d -g -p -s -t -w -y" + + if [[ "${cur}" == -* || ${COMP_CWORD} -eq 1 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) + return 0 + fi + + case "${prev}" in + -f) + COMPREPLY=( $( command ls /usr/share/cowsay| \ + sed -ne 's/^\('$cur'.*\)\.cow$/\1/p') ) + return 0 + ;; + -[eTW]) + COMPREPLY=() + ;; + esac +} +complete -o filenames -F _cowsay cowsay cowthink + +# vim: set ft=sh tw=80 sw=4 et : diff --git a/abs/extra/bluez/PKGBUILD b/abs/extra/bluez/PKGBUILD index 9e8f13b..f8dfbe5 100644 --- a/abs/extra/bluez/PKGBUILD +++ b/abs/extra/bluez/PKGBUILD @@ -1,6 +1,6 @@ # Maintainer: Geoffroy Carrier <geoffroy@archlinux.org> pkgname=bluez -pkgver=4.30 +pkgver=4.69 pkgrel=1 pkgdesc="Libraries and tools for the Bluetooth protocol stack" url="http://www.bluez.org/" @@ -12,11 +12,13 @@ optdepends=('gstreamer0.10-base' 'alsa-lib' 'libusb') conflicts=('bluez-libs' 'bluez-utils') provides=('bluez-libs' 'bluez-utils') replaces=('bluez-libs' 'bluez-utils') +install='bluez.install' backup=(etc/bluetooth/{main,rfcomm,audio,network,input}.conf etc/conf.d/bluetooth) source=("http://www.kernel.org/pub/linux/bluetooth/$pkgname-$pkgver.tar.bz2" - 'bluetooth.conf.d' - 'rc.bluetooth') + bluetooth.conf.d run.bluetoothd run.hidd run.dund run.pand + run.rfcomm) + build() { cd "$srcdir/$pkgname-$pkgver" ./configure --prefix=/usr \ @@ -45,9 +47,17 @@ build() { install -D -m644 "$srcdir/$pkgname-$pkgver/network/network.conf" "$pkgdir/etc/bluetooth/" || return 1 install -D -m644 "$srcdir/$pkgname-$pkgver/input/input.conf" "$pkgdir/etc/bluetooth/" || return 1 install -D -m644 "$srcdir/$pkgname-$pkgver/audio/audio.conf" "$pkgdir/etc/bluetooth/" || return 1 - install -D -m755 "$srcdir/rc.bluetooth" "$pkgdir/etc/rc.d/bluetooth" || return 1 - install -D -m644 "$srcdir/bluetooth.conf.d" "$pkgdir/etc/conf.d/bluetooth" || return 1 + install -D -m644 "$srcdir/bluetooth.conf.d" "$pkgdir/etc/conf.d/bluetooth" || return 1 + install -D -m755 "$srcdir/run.bluetoothd" "$pkgdir/etc/sv/bluetoothd/run" || return 1 + install -D -m755 "$srcdir/run.hidd" "$pkgdir/etc/sv/hidd/run" || return 1 + install -D -m755 "$srcdir/run.dund" "$pkgdir/etc/sv/dund/run" || return 1 + install -D -m755 "$srcdir/run.pand" "$pkgdir/etc/sv/pand/run" || return 1 + install -D -m755 "$srcdir/run.rfcomm" "$pkgdir/etc/sv/rfcomm/run" || return 1 } -md5sums=('5c37fb99c03f40269b9245eec3e7b7f4' +md5sums=('350568aa11a95eac6e56e9289ff1f91d' 'd12be5b494525bb1ba6eac5c3983dd3e' - '03d4f2463b1b580e8d2ada3767140685') + '1c88fcd455920ad8ee0c7cae3fe15771' + 'a9c1b4da8b5a3969865272bd0fb01da2' + '89c073f43a074844b87e28103e48623d' + '8ee99afea417561d01012b8047fd06d5' + '934a9eaa25c275d18115068101fb75e8') diff --git a/abs/extra/bluez/__Changelog b/abs/extra/bluez/__Changelog new file mode 100644 index 0000000..124d0eb --- /dev/null +++ b/abs/extra/bluez/__Changelog @@ -0,0 +1,11 @@ +# by mihanson +I really have no idea how this bluetooth stuff works. If anyone wants to +take a stab at getting this working properly with runit, feel free. I +only need this package to get mythpywii working. + +2010-04-01: +Make this package work with runit. All daemons were seperated into their +own run scripts. Of particular interest is rfcomm and hid2hci utilities. +They are not daemons and I added "/sbin/sv <executable> down ." in their +respective run files. All based on this thread: +http://article.gmane.org/gmane.comp.sysutils.supervision.general/1585/ diff --git a/abs/extra/bluez/bluez.install b/abs/extra/bluez/bluez.install new file mode 100644 index 0000000..f9b757b --- /dev/null +++ b/abs/extra/bluez/bluez.install @@ -0,0 +1,15 @@ +post_install() { + add_service.sh bluetoothd + echo ">>> Only the bluetoothd daemon is started by default." + echo ">>> You can optionally add the following as required:" + echo ">>> hidd dund pand rfcomm" + echo ">>> $ sudo add_service.sh <service_name>" +} + +pre_remove() { + for d in { bluetoothd,hidd,dund,pand,rfcomm } ; do + if [ -d /var/service/${d} ] ; then + remove_servcie.sh $d + fi + done +} diff --git a/abs/extra/bluez/run.bluetoothd b/abs/extra/bluez/run.bluetoothd new file mode 100644 index 0000000..7a92437 --- /dev/null +++ b/abs/extra/bluez/run.bluetoothd @@ -0,0 +1,12 @@ +#!/bin/sh +# +# Start/stop the Bluetooth daemons +# + +. /etc/rc.conf +. /etc/rc.d/functions + +[ -f /etc/conf.d/bluetooth ] && . /etc/conf.d/bluetooth + + stat_runit "Starting bluetooth subsystem:" + exec /usr/sbin/bluetoothd -n diff --git a/abs/extra/bluez/run.dund b/abs/extra/bluez/run.dund new file mode 100644 index 0000000..c42cfa1 --- /dev/null +++ b/abs/extra/bluez/run.dund @@ -0,0 +1,14 @@ +#!/bin/sh +# +# Start/stop the Bluetooth daemons +# + +. /etc/rc.conf +. /etc/rc.d/functions + +[ -f /etc/conf.d/bluetooth ] && . /etc/conf.d/bluetooth + +svwaitup -s 3 /var/service/bluetoothd || exit 1 + + stat_runit "Starting BlueZ Bluetooth dial-up networking daemon" + exec /usr/bin/dund -n -s diff --git a/abs/extra/bluez/run.hidd b/abs/extra/bluez/run.hidd new file mode 100644 index 0000000..e4f66d3 --- /dev/null +++ b/abs/extra/bluez/run.hidd @@ -0,0 +1,14 @@ +#!/bin/sh +# +# Start/stop the Bluetooth daemons +# + +. /etc/rc.conf +. /etc/rc.d/functions + +[ -f /etc/conf.d/bluetooth ] && . /etc/conf.d/bluetooth + +svwaitup -s 3 /var/service/bluetoothd || exit 1 + + stat_runit "Starting Bluetooth HID daemon:" + exec /usr/bin/hidd -n --server diff --git a/abs/extra/bluez/run.pand b/abs/extra/bluez/run.pand new file mode 100644 index 0000000..ab15ef6 --- /dev/null +++ b/abs/extra/bluez/run.pand @@ -0,0 +1,14 @@ +#!/bin/sh +# +# Start/stop the Bluetooth daemons +# + +. /etc/rc.conf +. /etc/rc.d/functions + +[ -f /etc/conf.d/bluetooth ] && . /etc/conf.d/bluetooth + +svwaitup -s 3 /var/service/bluetoothd || exit 1 + + stat_runit "Starting BlueZ Bluetooth PAN daemon" + exec /usr/bin/pand -n -s diff --git a/abs/extra/bluez/run.rfcomm b/abs/extra/bluez/run.rfcomm new file mode 100644 index 0000000..8bc619b --- /dev/null +++ b/abs/extra/bluez/run.rfcomm @@ -0,0 +1,17 @@ +#!/bin/sh +# +# Start/stop the Bluetooth daemons +# + +. /etc/rc.conf +. /etc/rc.d/functions + +[ -f /etc/conf.d/bluetooth ] && . /etc/conf.d/bluetooth + +RFCOMM_CONFIG="/etc/bluetooth/rfcomm.conf" + +svwaitup -s 3 /var/service/bluetoothd || exit 1 + + stat_runit "Starting RFCOMM for the bluetooth subsystem" + /usr/bin/rfcomm -f $RFCOMM_CONFIG bind all + /sbin/sv down . diff --git a/abs/extra/ccache/PKGBUILD b/abs/extra/ccache/PKGBUILD new file mode 100644 index 0000000..81f188b --- /dev/null +++ b/abs/extra/ccache/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 33524 2009-04-04 13:56:15Z giovanni $ +# Maintainer: Giovanni Scafora <giovanni@archlinux.org> +# Contributor: Tom Newsom <Jeepster@gmx.co.uk> + +pkgname=ccache +pkgver=3.0.1 +pkgrel=1 +pkgdesc="ccache is a compiler cache" +url="http://ccache.samba.org/" +source=(http://samba.org/ftp/${pkgname}/$pkgname-$pkgver.tar.gz) +license=('GPL') +arch=('i686' 'x86_64') +depends=('glibc') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + ./configure --prefix=/usr + make || return 1 + install -Dm 755 ccache ${pkgdir}/usr/bin/ccache + install -Dm 644 ccache.1 ${pkgdir}/usr/share/man/man1/ccache.1 + + mkdir -p ${pkgdir}/usr/lib/ccache/bin + ln -sf /usr/bin/ccache ${pkgdir}/usr/lib/ccache/bin/cc + ln -sf /usr/bin/ccache ${pkgdir}/usr/lib/ccache/bin/gcc + ln -sf /usr/bin/ccache ${pkgdir}/usr/lib/ccache/bin/g++ + ln -sf /usr/bin/ccache ${pkgdir}/usr/lib/ccache/bin/cpp + ln -sf /usr/bin/ccache ${pkgdir}/usr/lib/ccache/bin/c++ + ln -sf /usr/bin/ccache ${pkgdir}/usr/lib/ccache/bin/${CHOST}-cc + ln -sf /usr/bin/ccache ${pkgdir}/usr/lib/ccache/bin/${CHOST}-gcc + ln -sf /usr/bin/ccache ${pkgdir}/usr/lib/ccache/bin/${CHOST}-g++ + ln -sf /usr/bin/ccache ${pkgdir}/usr/lib/ccache/bin/${CHOST}-cpp + ln -sf /usr/bin/ccache ${pkgdir}/usr/lib/ccache/bin/${CHOST}-c++ +} + +md5sums=('15f2449899d9e8dc3aff6b86f97ab63e') diff --git a/abs/extra/community/amule/PKGBUILD b/abs/extra/community/amule/PKGBUILD new file mode 100644 index 0000000..3bb5c1b --- /dev/null +++ b/abs/extra/community/amule/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 63810 2010-01-18 20:34:42Z ibiru $ +# Maintainer: Giovanni Scafora <giovanni@archlinux.org> +# Contributor: Henrik Ronellenfitsch <searinox@web.de> + +pkgname=amule +pkgver=2.2.6 +pkgrel=2 +pkgdesc="An eMule-like client for ed2k p2p network" +arch=('i686' 'x86_64') +url="http://www.amule.org" +license=('GPL') +depends=('wxgtk>=2.8.10.1' 'gd>=2.0.35' 'geoip') +makedepends=('crypto++') +source=(http://downloads.sourceforge.net/project/${pkgname}/aMule/${pkgver}/aMule-${pkgver}.tar.bz2) +md5sums=('530d9b48187e36f78fc21bb19e94326d') + +build() { + cd ${srcdir}/aMule-${pkgver} + + ./configure --prefix=/usr \ + --mandir=/usr/share/man \ + --enable-cas \ + --enable-wxcas \ + --enable-amule-daemon \ + --enable-amulecmd \ + --enable-amule-gui \ + --enable-alc \ + --enable-alcc \ + --enable-webserver \ + --disable-debug \ + --enable-optimize \ + --enable-ccache \ + --enable-geoip + + make || return 1 + make DESTDIR=${pkgdir}/ install || return 1 +} diff --git a/abs/extra/community/blockcontrol/PKGBUILD b/abs/extra/community/blockcontrol/PKGBUILD new file mode 100644 index 0000000..2507adc --- /dev/null +++ b/abs/extra/community/blockcontrol/PKGBUILD @@ -0,0 +1,37 @@ +# Contributor: Daniele Marinello <marinz at email dot it> + +pkgname=blockcontrol +pkgver=1.6.9 +pkgrel=3 +pkgdesc="blockcontrol is designed to do all tasks related to IP block daemons (MoBlock or NFBlock). They check internet traffic based on large lists of IP address ranges in order to protect your privacy." +arch=('i686' 'x86_64') +url="http://moblock-deb.sourceforge.net/" +license=('GPL2' 'BSD') +depends=('moblock' 'wget') +conflicts=('moblockcontrol') +source=(http://downloads.sourceforge.net/moblock-deb/$pkgname-$pkgver.tar.gz \ + blockcontrol.lib.patch) +backup=('etc/blockcontrol/blockcontrol.conf' 'etc/blockcontrol/blocklists.list') + +build() { + cd "$startdir/src/$pkgname-$pkgver" + patch -Np1 -i ../blockcontrol.lib.patch || return 1 + + install -D -m 755 $startdir/src/$pkgname-$pkgver/blockcontrol ${pkgdir}/usr/bin/blockcontrol + install -D -m 755 $startdir/src/$pkgname-$pkgver/blockcontrol.main ${pkgdir}/usr/lib/blockcontrol/blockcontrol.main + install -D -m 644 $startdir/src/$pkgname-$pkgver/blockcontrol.defaults ${pkgdir}/usr/lib/blockcontrol/blockcontrol.defaults + install -D -m 644 $startdir/src/$pkgname-$pkgver/blockcontrol.lib ${pkgdir}/usr/lib/blockcontrol/blockcontrol.lib + install -D -m 755 $startdir/src/$pkgname-$pkgver/blockcontrol.wd ${pkgdir}/usr/bin/blockcontrol.wd + install -D -m 644 $startdir/src/$pkgname-$pkgver/allow.p2p ${pkgdir}/etc/blockcontrol/allow.p2p + install -D -m 644 $startdir/src/$pkgname-$pkgver/blockcontrol.conf ${pkgdir}/etc/blockcontrol/blockcontrol.conf + install -D -m 644 $startdir/src/$pkgname-$pkgver/blocklists.list ${pkgdir}/etc/blockcontrol/blocklists.list +# install -D -m 755 $startdir/src/$pkgname-$pkgver/if-up ${pkgdir}/etc/network/if-up.d/blockcontrol + install -D -m 755 $startdir/src/$pkgname-$pkgver/cron.daily ${pkgdir}/etc/cron.daily/blockcontrol + install -D -m 755 $startdir/src/$pkgname-$pkgver/init ${pkgdir}/etc/rc.d/blockcontrol + install -D -m 644 $startdir/src/$pkgname-$pkgver/logrotate ${pkgdir}/etc/logrotate.d/blockcontrol + install -d ${pkgdir}/var/lib/blockcontrol + install -d ${pkgdir}/var/spool/blockcontrol +} + +md5sums=('d02002745aacf6100ff9057bdc80adf3' + 'efcca84e52ea98cc10610830f9c2ba37') diff --git a/abs/extra/community/blockcontrol/blockcontrol.lib.patch b/abs/extra/community/blockcontrol/blockcontrol.lib.patch new file mode 100644 index 0000000..4be1c75 --- /dev/null +++ b/abs/extra/community/blockcontrol/blockcontrol.lib.patch @@ -0,0 +1,15 @@ +--- blockcontrol/blockcontrol_old.lib 2009-09-14 19:35:24.000000000 +0200 ++++ blockcontrol/blockcontrol.lib 2009-11-05 20:29:50.000000000 +0100 +@@ -1344,10 +1344,10 @@ + DAEMON_OPTS="$CUSTOM_DAEMON_OPTS" + elif [ "$NAME" = moblock ] ; then + # The options MoBlock is started with +- DAEMON_OPTS="-$BLOCKLIST_FORMAT $BLOCKLIST $NFQUEUE_NUMBER_OPT $LOG_SYSLOG_OPT $LOG_TIMESTAMP_OPT $REJECT_OPT $ACCEPT_OPT $DAEMON_LOG" ++ DAEMON_OPTS="-$BLOCKLIST_FORMAT $BLOCKLIST $NFQUEUE_NUMBER_OPT $LOG_SYSLOG_OPT $DAEMON_LOG" + elif [ "$NAME" = nfblockd ] ; then + # The options NFBlock is started with +- DAEMON_OPTS="-d -f $BLOCKLIST -p $PIDFILE $NFQUEUE_NUMBER_OPT $REJECT_OPT $ACCEPT_OPT $LOG_SYSLOG_OPT" ++ DAEMON_OPTS="-d -f $BLOCKLIST -p $PIDFILE $NFQUEUE_NUMBER_OPT $LOG_SYSLOG_OPT" + fi + + # Test NICE_LEVEL setting. diff --git a/abs/extra/community/cwiid-git/PKGBUILD b/abs/extra/community/cwiid-git/PKGBUILD new file mode 100644 index 0000000..909f224 --- /dev/null +++ b/abs/extra/community/cwiid-git/PKGBUILD @@ -0,0 +1,62 @@ +#Contributor:Andrea Tarocchi <valdar@email.it> +pkgname=cwiid-git +#pkgver=`date +%Y%m%d` +pkgver=20100716 +pkgrel=1 +pkgdesc="Cwiid-git is the bleeding edge version of a wiimote's driver and utility tools" +arch=(i686 x86_64) +url="http://github.com/abstrakraft/cwiid" +license=('GPL') + +depends=('bluez>=4' 'gtk2' 'python') +makedepends=('git' 'make' 'automake' 'autoconf') +replaces=('cwiid' 'cwiid-svn') +provides=('cwiid' 'cwiid-git') +install=('cwiid.install') +source=() + +_gitroot=git://github.com/abstrakraft/cwiid.git +_gitname=cwiid +_builddir=$srcdir/$_gitname-build + +build() { + + export LDFLAGS= + + cd $srcdir/ + msg "Connecting to github.com GIT server...." + if [ -d $srcdir/$_gitname ] ; then + pushd $_gitname && git pull origin && popd + msg "The local files are updated." + else + git clone $_gitroot + fi + msg "GIT checkout done or server timeout" + msg "Starting make..." + rm -rf $_gitname-build + git clone $_gitname $_gitname-build + + cd $_builddir + + aclocal + autoreconf + ./configure --prefix=/usr --sysconfdir=/etc --disable-ldconfig + + make || return 1 + make DESTDIR="${pkgdir}" install || return 1 + +# aclocal +# autoreconf + +# ./configure --disable-ldconfig --prefix=/usr --sysconfdir=/etc --with-cwiid-plugins-dir=/lib/cwiid/plugins +# make LDFLAGS=-L../libcwiid || return 1 + +# install -d $startdir/pkg/usr/bin +# install -d $startdir/pkg/etc +# install -d $startdir/pkg/usr/lib +# install -d $startdir/pkg/usr/include + +# make install LDFLAGS=-L../libcwiid prefix=$startdir/pkg/usr sysconfdir=$startdir/pkg/etc install + +# install -D -m644 ./wminput/README $pkgdir/usr/share/doc/cwiid/wminput +} diff --git a/abs/extra/community/cwiid-git/cwiid.install b/abs/extra/community/cwiid-git/cwiid.install new file mode 100644 index 0000000..5dc5faf --- /dev/null +++ b/abs/extra/community/cwiid-git/cwiid.install @@ -0,0 +1,16 @@ +# arg 1: the new package version +post_install() { +echo -e "Note:" +echo -e "\033[1;31m==> In order to use wminput you have to load the uinput kernel module:\033[0m" +echo -e "\033[1;31m==> modprobe uinput (as root)\033[0m" +echo -e "\033[1;31m==> and you have to assign correct right acces to /dev/uinput\033[0m" +echo -e "\033[1;31m==> PLEAS READ THE DOC FILE /usr/share/doc/cwiid/wminput\033[0m" +} + +post_upgrade() { + post_install $1 +} + +op=$1 +shift +$op $*
\ No newline at end of file diff --git a/abs/extra/community/deluge/PKGBUILD b/abs/extra/community/deluge/PKGBUILD index 6a1a971..8238baa 100644 --- a/abs/extra/community/deluge/PKGBUILD +++ b/abs/extra/community/deluge/PKGBUILD @@ -2,7 +2,7 @@ # Maintainer: Hugo Doria <hugo@archlinux.org> pkgname=deluge -pkgver=1.1.2 +pkgver=1.2.2 pkgrel=1 pkgdesc="A bittorrent client written with python and pygtk" arch=('i686' 'x86_64') @@ -11,8 +11,7 @@ license=('GPL3') depends=('pygtk' 'boost>=1.37.0' 'pyxdg' 'dbus-python' 'librsvg' 'setuptools') makedepends=('subversion' 'intltool') options=('!emptydirs') -source=(http://download.deluge-torrent.org/source/${pkgver}/${pkgname}-${pkgver}.tar.gz) -md5sums=('c9d56e266e5cb3024f2dbd72c952e182') +source=(http://download.deluge-torrent.org/source/${pkgname}-${pkgver}.tar.gz) build() { @@ -23,3 +22,4 @@ build() { install -D -m644 deluge/data/pixmaps/deluge.svg ${pkgdir}/usr/share/pixmaps/deluge.svg } +md5sums=('5165c6113efa75e2be0310976ce55e43') diff --git a/abs/extra/community/firefox/PKGBUILD b/abs/extra/community/firefox/PKGBUILD index 191c913..17a70b3 100644 --- a/abs/extra/community/firefox/PKGBUILD +++ b/abs/extra/community/firefox/PKGBUILD @@ -3,12 +3,12 @@ pkgname=firefox pkgver=3.5.1 -pkgrel=3 +pkgrel=4 _xulver=1.9.1.1 pkgdesc="Standalone web browser from mozilla.org" arch=(i686 x86_64) license=('MPL' 'GPL' 'LGPL') -depends=("xulrunner>=${_xulver}" 'desktop-file-utils' "nspr>=4.8") +depends=("xulrunner>=${_xulver}" 'desktop-file-utils' "nspr>=4.8" gconf) makedepends=('zip' 'pkgconfig' 'diffutils' 'libgnomeui>=2.24.1' 'python') replaces=('firefox3') install=firefox.install @@ -70,6 +70,7 @@ build() { mv ${pkgdir}/usr/bin/firefox ${pkgdir}/usr/bin/firefox.bin echo "#!/bin/bash +/usr/lib/GConf/gconfd-2 & export LD_PRELOAD=/usr/lib/libGL.so.1 /usr/bin/firefox.bin" > ${pkgdir}/usr/bin/firefox chmod 755 ${pkgdir}/usr/bin/firefox diff --git a/abs/extra/community/flashplugin-prerelease/PKGBUILD b/abs/extra/community/flashplugin-prerelease/PKGBUILD new file mode 100644 index 0000000..d6eca0b --- /dev/null +++ b/abs/extra/community/flashplugin-prerelease/PKGBUILD @@ -0,0 +1,28 @@ +# Contributor : Anish Bhatt <anish[removethis][at]gatech[dot]edu> + +pkgname=flashplugin-prerelease +_licensefile='Reader_Player_AIR_WWEULA-Combined-20080204_1313.pdf' +pkgver=10.1.51.66 +pkgrel=1 +source=('http://download.macromedia.com/pub/labs/flashplayer10/flashplayer10_1_p2_linux_121709.tar.gz' + "http://www.adobe.com/products/eulas/pdfs/${_licensefile}") +md5sums=('4f56f8235cb72a59d04d64ca4bd442b3' + '1636037610ee2aa35c5fb736a697b7e0') + +pkgdesc='Adobe Flash Player Prerelease' +url='http://labs.adobe.com/technologies/flashplayer10/' +arch=('i686') +depends=('mozilla-common' 'libxt' 'gtk2' 'nss' 'curl') +conflicts=('flashplugin') +provides=('flashplayer') +license=('custom') + +build() { + install -d -m755 ${pkgdir}/usr/lib/mozilla/plugins/ || return 1 + if [ "${CARCH}" = 'i686' ]; then + install -m755 ${srcdir}/install_flash_player_10_linux/libflashplayer.so ${pkgdir}/usr/lib/mozilla/plugins/ || return 1 + fi + install -d -m755 ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1 + install -m644 "${_licensefile}" ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1 +} + diff --git a/abs/extra/community/flashplugin/PKGBUILD b/abs/extra/community/flashplugin/PKGBUILD index 1e68f40..7d7e65f 100644 --- a/abs/extra/community/flashplugin/PKGBUILD +++ b/abs/extra/community/flashplugin/PKGBUILD @@ -1,40 +1,27 @@ -# $Id: PKGBUILD 21951 2008-12-18 13:25:19Z thomas $ +# $Id: PKGBUILD 60911 2009-12-09 11:51:09Z andrea $ +# Contributor: Andrea Scarpino <andrea@archlinux.org> pkgname=flashplugin -_licensefile='Reader_Player_WWEULA-Combined-20060724_1430.pdf' -if [ "${CARCH}" = 'i686' ]; then - pkgver=10.0.15.3 - pkgrel=1 - source=('http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.tar.gz' - "http://www.adobe.com/products/eulas/pdfs/${_licensefile}") - md5sums=('afab0b40b0ae11445e2e90a4a9224a8a' - '844cea6c9afc13d9e27f28ce1a6e20f3') -elif [ "${CARCH}" = 'x86_64' ]; then - pkgver=10.0.d21.1 - pkgrel=1 - source=("http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-${pkgver}.linux-x86_64.so.tar.gz" - "http://www.adobe.com/products/eulas/pdfs/${_licensefile}") - md5sums=('c165af9d4e324bfaf6d1cfbdbe959fbb' - '844cea6c9afc13d9e27f28ce1a6e20f3') -else - error Unknown architecture. - exit 1 -fi +_licensefile='Reader_Player_AIR_WWEULA-Combined-20080204_1313.pdf' +pkgver=10.1.53.64 +pkgrel=1 pkgdesc='Adobe Flash Player' -url='http://www.adobe.com/go/getflash' +url='http://get.adobe.com/flashplayer' arch=('i686' 'x86_64') depends=('mozilla-common' 'libxt' 'gtk2' 'nss' 'curl') replaces=('flashplugin-beta') provides=('flashplayer') license=('custom') +source=('http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.tar.gz' + "http://www.adobe.com/products/eulas/pdfs/${_licensefile}") +[ "${CARCH}" = "x86_64" ] && source[0]="http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-${pkgver}.linux-${CARCH}.so.tar.gz" +[ "${CARCH}" = "x86_64" ] && md5sums[0]='8b427c2991c0447af56a951c653ee383' build() { install -d -m755 ${pkgdir}/usr/lib/mozilla/plugins/ || return 1 - if [ "${CARCH}" = 'i686' ]; then - install -m755 ${srcdir}/install_flash_player_10_linux/libflashplayer.so ${pkgdir}/usr/lib/mozilla/plugins/ || return 1 - elif [ "${CARCH}" = 'x86_64' ]; then - install -m755 ${srcdir}/libflashplayer.so ${pkgdir}/usr/lib/mozilla/plugins/ || return 1 - fi + install -m755 ${srcdir}/libflashplayer.so ${pkgdir}/usr/lib/mozilla/plugins/ || return 1 install -d -m755 ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1 - install -m644 "${_licensefile}" ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1 + install -m644 "${_licensefile}" ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.pdf || return 1 } +md5sums=('e4cb4d26124605a54c3d498cc440368f' + '1636037610ee2aa35c5fb736a697b7e0') diff --git a/abs/extra/community/foldingathome/PKGBUILD b/abs/extra/community/foldingathome/PKGBUILD index bb93407..6f00936 100644 --- a/abs/extra/community/foldingathome/PKGBUILD +++ b/abs/extra/community/foldingathome/PKGBUILD @@ -4,7 +4,7 @@ pkgname=foldingathome pkgver=6.02 -pkgrel=6 +pkgrel=7 pkgdesc="Folding@Home is a distributed computing project which studies protein folding, misfolding, aggregation, and related diseases." arch=('i686') url="http://folding.stanford.edu/" @@ -14,13 +14,15 @@ backup=('etc/conf.d/foldingathome') install=foldingathome.install source=(http://www.stanford.edu/group/pandegroup/folding/release/FAH$pkgver-Linux.tgz run) -md5sums=('112b3d66909050f1bb990993a1464cb9' - '61eb4617e7363d586a05dde980ad1c14') build() { cd $startdir/src/ + tar zxf FAH${pkgver}-Linux.tgz + # At this stage, the mpiexec is not included because it requires x86_64. install -D -c -m755 fah6 $startdir/pkg/usr/bin/fah6 || return 1 install -D -m755 run $startdir/pkg/etc/sv/fah/run } +md5sums=('112b3d66909050f1bb990993a1464cb9' + 'cefaf5ba2f3e2fe81533b5ee4795dc78') diff --git a/abs/extra/community/foldingathome/run b/abs/extra/community/foldingathome/run index ede51f2..cd4a072 100644 --- a/abs/extra/community/foldingathome/run +++ b/abs/extra/community/foldingathome/run @@ -22,5 +22,5 @@ if [ -d $FOLDING_DIR ] ; then # No need to direct output to a log file becase a log file # will automatically be placed in $FOLDING_DIR - exec /usr/bin/fah6 -verbosity 9 &> /dev/null < /dev/null + exec /usr/bin/fah6 &> /dev/null < /dev/null fi diff --git a/abs/extra/community/fuzemux/PKGBUILD b/abs/extra/community/fuzemux/PKGBUILD new file mode 100644 index 0000000..5cce2d0 --- /dev/null +++ b/abs/extra/community/fuzemux/PKGBUILD @@ -0,0 +1,42 @@ +# Contributor: Michael Hanson <hansonorders@verizon.net> +# Maintainer: Michael Hanson <hansonorders@verizon.net> +pkgname=fuzemux-svn +pkgver=11 +pkgrel=1 +pkgdesc="A tool to remux AVI video files for the San Disk Sansa Fuze portable media player" +arch=('i686' 'x86_64') +url="http://code.google.com/p/fuzemux" +license=('GPL3') +#depends=() +makedepends=('subversion' 'autoconf') +provides=('fuzemux') +install=('fuzemux-svn.install') + +_svntrunk=http://fuzemux.googlecode.com/svn/trunk/ +_svnmod=fuzemux + +build() { + cd "$srcdir" + + if [ -d $_svnmod/.svn ]; then + (cd $_svnmod && svn up -r $pkgver) + else + svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod + fi + + msg "SVN checkout done or server timeout" + msg "Starting make..." + + rm -rf "$srcdir/$_svnmod-build" + cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build" + cd "$srcdir/$_svnmod-build" + + # + # BUILD + # + /usr/bin/autoreconf --install + ./configure --prefix=/usr + make || return 1 + make DESTDIR="$pkgdir/" install +} +md5sums=() diff --git a/abs/extra/community/fuzemux/fuzemux-svn.install b/abs/extra/community/fuzemux/fuzemux-svn.install new file mode 100644 index 0000000..877ec1b --- /dev/null +++ b/abs/extra/community/fuzemux/fuzemux-svn.install @@ -0,0 +1,5 @@ +post_install() { + echo ">>>" + echo ">>> A user job script is supplied at /usr/LH/bin/myth2fuze" + echo ">>>" +} diff --git a/abs/extra/community/mediatomb/PKGBUILD b/abs/extra/community/mediatomb/PKGBUILD new file mode 100644 index 0000000..aaf4d58 --- /dev/null +++ b/abs/extra/community/mediatomb/PKGBUILD @@ -0,0 +1,57 @@ +# Orginal Contributor: William Rea <sillywilly@gmail.com> +# Contributor: Nikhil Bysani <nikron@gmail.com> +# Contributor: Mika Hynnä <igheax@gmail.com> + +# 20090525: +# + makedepends=('gcc' 'patch' 'make') +# + mediatomb-0.11.0+glibc-2.10.patch + +pkgname=mediatomb +pkgver=0.11.0 +pkgrel=10 +pkgdesc="A UPnP mediaserver" +arch=('i686' 'x86_64') +url="http://mediatomb.sourceforge.net" +license=('GPL') +depends=('libexif' 'taglib' 'sqlite3' 'expat' 'spidermonkey' 'curl' 'ffmpeg') +makedepends=('gcc' 'patch' 'make') +backup=(etc/conf.d/mediatomb) +source=( + http://mesh.dl.sourceforge.net/sourceforge/mediatomb/mediatomb-$pkgver.tar.gz \ + mediatomb.rc \ + mediatomb.conf \ + http://kapsi.fi/~ighea/arch/mediatomb-gcc-4.3.patch + mediatomb-0.11.0+glibc-2.10.patch +) + +build() +{ + cd $startdir/src/mediatomb-$pkgver || return 1 + patch -Np1 < ../mediatomb-gcc-4.3.patch || return 1 + patch -Np0 < ../mediatomb-0.11.0+glibc-2.10.patch || return 1 + + sed -e s/"ffmpeg\/avformat.h"/"libavformat\/avformat.h"/g -i configure + sed -e s/"ffmpeg\/avformat.h"/"libavformat\/avformat.h"/g -i configure.ac + sed -e s/"ffmpeg\/avformat.h"/"libavformat\/avformat.h"/g -i src/metadata/ffmpeg_handler.cc + + + ./configure --prefix=/usr --enable-mysql=no --enable-libmagic=yes \ + --enable-libjs=yes --enable-ffmpeg --with-ffmpeg-h=/usr/include/ || return 1 + + make || return 1 + make DESTDIR=$startdir/pkg install || return 1 + + # rc-script + mkdir -p $startdir/pkg/etc/rc.d/ || return 1 + install -m0755 ../mediatomb.rc $startdir/pkg/etc/rc.d/mediatomb || return 1 + + # config-file + mkdir -p $startdir/pkg/etc/conf.d/ || return 1 + install -m0644 ../mediatomb.conf $startdir/pkg/etc/conf.d/mediatomb || return 1 + +} +md5sums=('661f08933830d920de21436fe122fb15' + 'a7ff197d5760b20b04675ba67bfd9e86' + 'a4cbd08c32c93f116363a29bef60e21d' + 'eda28d01e035b3237566da5b1aad7712' + '3b895eabee88a0697b4fd0c30af6cab2') diff --git a/abs/extra/community/mediatomb/mediatomb-0.11.0+glibc-2.10.patch b/abs/extra/community/mediatomb/mediatomb-0.11.0+glibc-2.10.patch new file mode 100644 index 0000000..b1436c1 --- /dev/null +++ b/abs/extra/community/mediatomb/mediatomb-0.11.0+glibc-2.10.patch @@ -0,0 +1,23 @@ +--- src/tools.cc (revisione 2018) ++++ src/tools.cc (copia locale) +@@ -303,8 +303,8 @@ + Ref<StringBuffer> buf(new StringBuffer(len / 2)); + for (int i = 0; i < len; i += 2) + { +- char *chi = strchr(HEX_CHARS, ptr[i]); +- char *clo = strchr(HEX_CHARS, ptr[i + 1]); ++ const char *chi = strchr(HEX_CHARS, ptr[i]); ++ const char *clo = strchr(HEX_CHARS, ptr[i + 1]); + int hi, lo; + + if (chi) +@@ -397,7 +397,7 @@ + char clo = data[i++]; + int hi, lo; + +- char *pos; ++ const char *pos; + + pos = strchr(hex, chi); + if (!pos) + diff --git a/abs/extra/community/mediatomb/mediatomb-gcc-4.3.patch b/abs/extra/community/mediatomb/mediatomb-gcc-4.3.patch new file mode 100644 index 0000000..9440bec --- /dev/null +++ b/abs/extra/community/mediatomb/mediatomb-gcc-4.3.patch @@ -0,0 +1,24 @@ +# GCC-4.3 compatibility patch by Mika Hynnä (ighea) <igheaxATgmailDOTcom> +# +--- mediatomb-0.11.0/src/url.cc 2008-03-02 00:48:36.000000000 +0200 ++++ mediatomb-0.11.0.new/src/url.cc 2008-04-14 00:53:21.000000000 +0300 +@@ -75,7 +75,7 @@ + + if (only_header) + { +- curl_easy_setopt(curl_handle, CURLOPT_NOBODY); ++ curl_easy_setopt(curl_handle, CURLOPT_NOBODY,0); + curl_easy_setopt(curl_handle, CURLOPT_HEADERFUNCTION, URL::dl); + curl_easy_setopt(curl_handle, CURLOPT_HEADERDATA, + (void *)buffer.getPtr()); +--- mediatomb-0.11.0/src/metadata/id3_handler.cc 2008-03-02 00:48:36.000000000 +0200 ++++ mediatomb-0.11.0.new/src/metadata/id3_handler.cc 2008-04-14 01:22:36.000000000 +0300 +@@ -36,6 +36,8 @@ + + #ifdef HAVE_ID3 + ++#include <string.h> ++ + #ifdef HAVE_CONFIG_H + #undef HAVE_CONFIG_H // else utils.h from the id3 library tries to import "config.h" + diff --git a/abs/extra/community/mediatomb/mediatomb.conf b/abs/extra/community/mediatomb/mediatomb.conf new file mode 100644 index 0000000..339bd9e --- /dev/null +++ b/abs/extra/community/mediatomb/mediatomb.conf @@ -0,0 +1,5 @@ +# User to run the mediatomb as: +USER="" +# Extra parameters to pass to the daemon: +PARAMS="" + diff --git a/abs/extra/community/mediatomb/mediatomb.rc b/abs/extra/community/mediatomb/mediatomb.rc new file mode 100755 index 0000000..b3333cc --- /dev/null +++ b/abs/extra/community/mediatomb/mediatomb.rc @@ -0,0 +1,58 @@ +#!/bin/bash + +DESC="MediaTomb UPnP A/V Media Server" + +USER="" + +if [ "$(whoami)" != "root" ];then + echo "You must be root to start/restart/stop services." + exit 1 +fi + +. /etc/rc.conf +. /etc/rc.d/functions + +[ -r "/etc/conf.d/mediatomb" ] && . /etc/conf.d/mediatomb + +PID=`pidof -o %PPID /usr/bin/mediatomb` + +case "$1" in + start) + stat_busy "Starting $DESC" + if [ -z "$PID" ]; then + if [ -n "$USER" ]; then + echo -n "Starting as user: $USER" + su - $USER -c "/usr/bin/mediatomb -d $PARAMS &> /dev/null" || stat_fail + else + /usr/bin/mediatomb -d $PARAMS &> /dev/null || stat_fail + fi + PID=`pidof -o %PPID /usr/bin/mediatomb` + if [ -z "$PID" ]; then exit 1;fi + echo $PID > /var/run/mediatomb.pid + add_daemon mediatomb + stat_done + else + echo -n "Already running!" + stat_fail + fi + ;; + stop) + stat_busy "Stopping $DESC" + [ ! -z "$PID" ] && kill $PID &> /dev/null + if [ $? -gt 0 ]; then + echo -n "Not started!" + stat_fail + else + rm /var/run/mediatomb.pid + rm_daemon mediatomb + stat_done + fi + ;; + restart) + $0 stop + sleep 1 + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac diff --git a/abs/extra/community/mobloquer/PKGBUILD b/abs/extra/community/mobloquer/PKGBUILD index eecdb4a..b6254d5 100644 --- a/abs/extra/community/mobloquer/PKGBUILD +++ b/abs/extra/community/mobloquer/PKGBUILD @@ -1,26 +1,26 @@ -# Contributor: marinz <marinz@email.it> +# Contributor: Daniele Marinello <marinz att email dot it> pkgname=mobloquer -pkgver=0.5 -pkgrel=5 +pkgver=0.6 +pkgrel=6 pkgdesc="A graphical front end for moblock" arch=('i686' 'x86_64') url="http://mobloquer.foutrelis.com/" license=('GPL') -depends=('qt' 'moblockcontrol') -source=(http://download.sourceforge.net/mobloquer/$pkgname-$pkgver.tar.gz) -md5sums=('2adb03d170fa0e9a7ffcc9dac8d71bf5') +depends=('qt' 'blockcontrol') +source=(http://downloads.sourceforge.net/mobloquer/$pkgname-$pkgver.tar.gz) +md5sums=('6363ee4c42da1d85367fdd65d4bf42ca') build() { - cd $startdir/src/$pkgname + cd $startdir/src/$pkgname-$pkgver qmake make || return 1 - - install -d ${pkgdir}/usr/share/applications ${pkgdir}/usr/bin - install -m 755 -p $startdir/src/mobloquer/images/mobloquer.png $startdir/pkg/usr/share/pixmaps/ - install -m 644 -p $startdir/src/mobloquer/other/Mobloquer.desktop $startdir/pkg/usr/share/applications/ - install -m 755 -p $startdir/src/mobloquer/mobloquer $startdir/pkg/usr/bin/mobloquer + + install -d ${pkgdir}/usr/share/applications ${pkgdir}/usr/bin ${pkgdir}/usr/share/pixmaps + install -m 644 -p $startdir/src/$pkgname-$pkgver/images/mobloquer.png $startdir/pkg/usr/share/pixmaps/ + install -m 644 -p $startdir/src/$pkgname-$pkgver/other/Mobloquer.desktop $startdir/pkg/usr/share/applications/ + install -m 755 -p $startdir/src/$pkgname-$pkgver/mobloquer $startdir/pkg/usr/bin/mobloquer } diff --git a/abs/extra/community/mre/PKGBUILD b/abs/extra/community/mre/PKGBUILD new file mode 100644 index 0000000..72d3bc3 --- /dev/null +++ b/abs/extra/community/mre/PKGBUILD @@ -0,0 +1,41 @@ +arch=('i686') +pkgname=mre +pkgver=1.1.2 +pkgrel=2 +_kernver=2.6.28-LinHES +pkgdesc="Myth Recording Extender" +url="http://sourceforge.net/projects/mythtv-tools/" +license=('GPL-2') +depends=('PearDB' 'PearLog') +makedepends=() +source=('mre-1.1.2.tar.gz' 'patch.diff' 'livescores.tgz' 'run' 'mre.lr') +install=('mre.install') + +build() { + cd $startdir/src/mre-1.1.2/ + patch -p0 < ../patch.diff + ./configure + make INST_ROOT=$startdir/pkg install + cp $startdir/src/mre-1.1.2/conf/mre.conf $startdir/pkg/etc/mre.conf + cp $startdir/src/mre-1.1.2/test/test_title_subtitle.php\ + $startdir/pkg/usr/local/bin/ + chmod a+x $startdir/pkg/usr/local/bin/test_title_subtitle.php + rm -r $startdir/pkg/etc/init.d + mkdir -p $startdir/pkg/var/log/mre + touch $startdir/pkg/var/log/mre/mre.log + chown mythtv:mythtv "$startdir/pkg/var/log/mre/mre.log" + mkdir -p $startdir/pkg/etc/sv/mre + cp $startdir/src/run $startdir/pkg/etc/sv/mre/run + mkdir -p $startdir/pkg/etc/logrotate.d + cp $startdir/src/mre.lr $startdir/pkg/etc/logrotate.d/mre.lr + mkdir -p $startdir/pkg/data/srv/http/htdocs/ + cp -r $startdir/src/scores /$startdir/pkg/data/srv/http/htdocs/ + chown -R http:users "$startdir/pkg/data/srv/http/htdocs/scores" +} + + +md5sums=('8ab312e7597ae9413a57bd5e9a068096' + 'd2591989da512c0faa567408721b6e95' + 'fcc02a234b22ba5c2714a6b8dbaf3bef' + 'dea22d4e0f2c1dd8a2debd2f50756dda' + '6d71ab57afd974c5130c994b94e8746f') diff --git a/abs/extra/community/mre/livescores.tgz b/abs/extra/community/mre/livescores.tgz Binary files differnew file mode 100644 index 0000000..d97175b --- /dev/null +++ b/abs/extra/community/mre/livescores.tgz diff --git a/abs/extra/community/mre/mre-1.1.2.tar.gz b/abs/extra/community/mre/mre-1.1.2.tar.gz Binary files differnew file mode 100644 index 0000000..3846e4b --- /dev/null +++ b/abs/extra/community/mre/mre-1.1.2.tar.gz diff --git a/abs/extra/community/mre/mre.install b/abs/extra/community/mre/mre.install new file mode 100755 index 0000000..4e3fb0d --- /dev/null +++ b/abs/extra/community/mre/mre.install @@ -0,0 +1,20 @@ +# arg 1: the new package version +post_install() { + add_service.sh mre + sed -i.pacsave '/^open_basedir/s|$|:/var/log/mre:/usr/local/lib/mre|' /etc/php/php.ini +} + +post_upgrade() { + +} + + +# arg 1: the old package version +post_remove() { + remove_service.sh mre + sed -i.pacsave '/^open_basedir/s|:/var/log/mre:/usr/local/lib/mre||' /etc/php/php.ini +} + +op=$1 +shift +$op $* diff --git a/abs/extra/community/mre/mre.lr b/abs/extra/community/mre/mre.lr new file mode 100644 index 0000000..3b54c23 --- /dev/null +++ b/abs/extra/community/mre/mre.lr @@ -0,0 +1,9 @@ +/var/log/mre/mre.log { + copytruncate + daily + size 10M + missingok + rotate 7 + compress + notifempty +} diff --git a/abs/extra/community/mre/patch.diff b/abs/extra/community/mre/patch.diff new file mode 100644 index 0000000..66390d9 --- /dev/null +++ b/abs/extra/community/mre/patch.diff @@ -0,0 +1,273 @@ +--- ../mre-1.1.2/class/MythClient.php.original 2006-04-05 17:39:13.000000000 -0500 ++++ ../mre-1.1.2/class/MythClient.php 2010-05-14 10:16:54.000000000 -0500 +@@ -112,7 +112,7 @@ + return '0'; + } + foreach($out as $line) +- if(preg_match('/^Library API version: (.*)$/', $line, $matches)) ++ if(preg_match('/^Library API *: (.*)$/', $line, $matches)) + return $matches[1]; + return '0'; + } +--- ../mre-1.1.2/class/NHLEvent.php.original 2006-11-05 17:06:57.000000000 -0600 ++++ ../mre-1.1.2/class/NHLEvent.php 2010-05-21 00:44:49.000000000 -0500 +@@ -27,7 +27,7 @@ + /** + * URL to grab game info from + */ +- const url = 'http://scores.espn.go.com/nhl/scoreboard'; ++ const url = 'http://localhost/scores/nhl.php'; + + /** + * Class constructor. +@@ -39,32 +39,27 @@ + parent::__construct(); + + $criteria = $this->generateSearchTerms($gameInfo); ++ + if(!sizeof($criteria)) + trigger_error("Unable to generate valid search terms! [$gameInfo]", E_USER_WARNING); + else + { + $data = file(self::url); +- if($data !== FALSE) +- foreach($criteria as $term) +- { +- $status = ''; +- foreach($data as $line) +- if(preg_match('/' . preg_quote($term) . '/', $line)) +- { +- $status = $line; +- break; +- } +- if(preg_match('/id.*st"\>(.*)\<\/td/U', $status, $match)) +- { +- $this->setStatus($match[1]); +- if(preg_match('/^Final/', $match[1])) +- $this->setEventOver(TRUE); +- else +- $this->setEventOver(FALSE); +- $this->setValid(TRUE); +- break; +- } ++ if($data) ++ { ++ foreach($data as $line) ++ { ++ if((strpos($line,$criteria[0]))&&(strpos($line,$criteria[1]))) ++ { ++ if(strpos($line,'FINAL')) ++ $this->setEventOver(TRUE); ++ else ++ $this->setEventOver(FALSE); ++ $this->setValid(TRUE); ++ break; ++ } + } ++ } + } + if(!$this->isValid()) + trigger_error("Unable to find NHL info for '$gameInfo'! The NHL parser may need to be updated.", E_USER_WARNING); +--- ../mre-1.1.2/conf/mre.conf.in.original 2006-08-13 16:48:57.000000000 -0500 ++++ ../mre-1.1.2/conf/mre.conf.in 2010-05-04 00:25:26.000000000 -0500 +@@ -28,9 +28,9 @@ + ; *** Application settings + ; Unprivledged user to run as, if started as root + ; This script will not run as root +-user = nobody ++user = mythtv + ; Run MRE as daemon? Requires pcntl_* functions built into PHP +-daemon = true ++daemon = false + ; Number of minutes to sleep between runs + sleep = 5 + ; Logging level (0 = normal, 1 = +error, 2 = +warning, 3 = +debug) +--- ../mre-1.1.2/class/MLBEvent.php.original 2006-11-05 17:06:57.000000000 -0600 ++++ ../mre-1.1.2/class/MLBEvent.php 2010-05-21 20:08:30.000000000 -0500 +@@ -27,7 +27,7 @@ + /** + * URL to grab game info from + */ +- const url = 'http://scores.espn.go.com/mlb/scoreboard'; ++ const url = 'http://localhost/scores/mlb.php'; + + /** + * Class constructor. +@@ -43,41 +43,22 @@ + trigger_error("Unable to generate valid search terms! [$gameInfo]", E_USER_WARNING); + else + { +- $data = file(self::url); +- $games = array(); +- if($data !== FALSE) +- { +- // Split the huge string into individual game data +- foreach($data as $line) +- if(preg_match('/\<div id="allGames".*\>.*/', $line)) +- { +- while(($loc = strrpos($line, 'teamTop')) !== FALSE) +- { +- $games[] = substr($line, $loc); +- $line = substr($line, 0, $loc); +- } +- break; +- } +- if(!sizeof($games)) +- trigger_error("Unable to find valid game data within source!", E_USER_WARNING); +- foreach($criteria as $term) +- { +- foreach($games as $game) +- { +- if(preg_match('/' . preg_quote($term) . '/', $game)) +- if(preg_match('/teamTop.*\>(.*)\<\/td\>/U', $game, $matches)) +- { +- $this->setStatus($matches[1]); +- if(preg_match('/^(Final|Postponed)/', $matches[1])) +- $this->setEventOver(TRUE); +- else +- $this->setEventOver(FALSE); +- $this->setValid(TRUE); +- break 2; +- } +- } ++ $data = file(self::url); ++ if($data) ++ { ++ foreach($data as $line) ++ { ++ if((strpos($line,$criteria[0]))&&(strpos($line,$criteria[1]))) ++ { ++ if((strpos($line,'FINAL'))or(strpos($line,'Postponed'))) ++ $this->setEventOver(TRUE); ++ else ++ $this->setEventOver(FALSE); ++ $this->setValid(TRUE); ++ break; ++ } + } +- } ++ } + } + if(!$this->isValid()) + trigger_error("Unable to find MLB info for '$gameInfo'! The MLB parser may need to be updated.", E_USER_WARNING); +--- ../mre-1.1.2/class/NBAEvent.php.original 2006-11-05 17:06:57.000000000 -0600 ++++ ../mre-1.1.2/class/NBAEvent.php 2010-05-21 21:15:42.000000000 -0500 +@@ -27,7 +27,7 @@ + /** + * URL to grab game info from + */ +- const url = 'http://scores.espn.go.com/nba/scoreboard'; ++ const url = 'http://localhost/scores/nba.php'; + + /** + * Class constructor. +@@ -44,35 +44,21 @@ + else + { + $data = file(self::url); +- if($data !== FALSE) +- foreach($criteria as $term) +- { +- $status = ''; +- $i = 0; +- while($i < sizeof($data)) +- { +- if(preg_match('/' . preg_quote($term) . '/', $data[$i])) +- { +- $status = $data[$i]; +- break; +- } +- ++$i; +- } +- if($i == sizeof($data)) +- --$i; +- +- if(preg_match('/id.*clock"\>(.*)\<\/div/U', $data[$i], $match) || +- preg_match('/id.*clock"\>(.*)\<\/div/U', $data[$i-1], $match)) +- { +- $this->setStatus($match[1]); +- if(preg_match('/^Final/', $match[1])) +- $this->setEventOver(TRUE); +- else +- $this->setEventOver(FALSE); +- $this->setValid(TRUE); +- break; +- } ++ if($data) ++ { ++ foreach($data as $line) ++ { ++ if((strpos($line,$criteria[0]))&&(strpos($line,$criteria[1]))) ++ { ++ if(strpos($line,'FINAL')) ++ $this->setEventOver(TRUE); ++ else ++ $this->setEventOver(FALSE); ++ $this->setValid(TRUE); ++ break; ++ } + } ++ } + } + if(!$this->isValid()) + trigger_error("Unable to find NBA info for '$gameInfo'! The NBA parser may need to be updated.", E_USER_WARNING); +--- ../mre-1.1.2/class/NFLEvent.php.original 2006-11-05 17:06:57.000000000 -0600 ++++ ../mre-1.1.2/class/NFLEvent.php 2010-05-21 19:09:36.000000000 -0500 +@@ -27,7 +27,7 @@ + /** + * URL to grab game info from + */ +- const url = 'http://scores.espn.go.com/nfl/scoreboard'; ++ const url = 'http://localhost/scores/nfl.php'; + + /** + * Class constructor. +@@ -44,33 +44,21 @@ + else + { + $data = file(self::url); +- $games = array(); +- if($data !== FALSE) +- { +- // Split the huge string into individual game data +- foreach($data as $line) +- if(preg_match('/\<td class="teamTop.*".*\>.*/', $line)) +- $games[] = $line; +- if(!sizeof($games)) +- trigger_error("Unable to find valid game data within source!", E_USER_WARNING); +- foreach($criteria as $term) +- { +- foreach($games as $game) +- { +- if(preg_match('/' . preg_quote($term) . '/', $game)) +- if(preg_match('/teamTop.*\>(.*)\<\/td\>/U', $game, $matches)) +- { +- $this->setStatus($matches[1]); +- if(preg_match('/^(Final|Postponed)/', $matches[1])) +- $this->setEventOver(TRUE); +- else +- $this->setEventOver(FALSE); +- $this->setValid(TRUE); +- break 2; +- } +- } +- } +- } ++ if($data) ++ { ++ foreach($data as $line) ++ { ++ if((strpos($line,$criteria[0]))&&(strpos($line,$criteria[1]))) ++ { ++ if(strpos($line,'FINAL')) ++ $this->setEventOver(TRUE); ++ else ++ $this->setEventOver(FALSE); ++ $this->setValid(TRUE); ++ break; ++ } ++ } ++ } + } + if(!$this->isValid()) + trigger_error("Unable to find NFL info for '$gameInfo'! The NFL parser may need to be updated.", E_USER_WARNING); diff --git a/abs/extra/community/mre/run b/abs/extra/community/mre/run new file mode 100755 index 0000000..84d08e5 --- /dev/null +++ b/abs/extra/community/mre/run @@ -0,0 +1,10 @@ +#!/bin/bash +export TERM=linux +. /etc/rc.conf +. /etc/rc.d/functions +stat_runit "Starting mythrecordingextender" + +sv start mythbackend || exit 1 +sleep 5 + +exec /usr/local/bin/mre.php diff --git a/abs/extra/community/mythpywii/CONTROLS b/abs/extra/community/mythpywii/CONTROLS new file mode 100644 index 0000000..d733964 --- /dev/null +++ b/abs/extra/community/mythpywii/CONTROLS @@ -0,0 +1,25 @@ + * Keypad : same as keypad on keyboard + * A : Enter (Accept, OK, next, .) + * Minus (-) : d (Delete) + * Home : escape (Exit to previous menu/exit mythfrontend) + * Plus (+) : p (Play/pause) + * 1 : Info + * 2 : Menu + * B + left : rewind to beginning of video + * B + twist wiimote : rewind (if twisted to the left) or fastforward + (otherwise) with speed dependant on twist amount. + * B + A + twist wiimote: timestretching . slower (if twisted left) or + faster (if twisted right) + +A comment on twisting: +Point the wii remote at the screen, and twist from the elbow so that it + continues to point at the screen. + +The maximum fastforward/rewind speed is 180x. The speeds are dictated by +mythfrontend itself. When you rotate the wiimote, you will feel a slight +vibration (0.05 seconds) to let you know you have gone up or down a speed +segment. To stop fastforwarding/rewinding, simply let go of B. + +Beware: there is no power saving built in. However you should be able to +turn the wiimote off (power button) when not in use, and turn it back on +by holding down 1 and 2 to make it sync. diff --git a/abs/extra/community/mythpywii/PKGBUILD b/abs/extra/community/mythpywii/PKGBUILD index 4b57c77..38e456f 100644 --- a/abs/extra/community/mythpywii/PKGBUILD +++ b/abs/extra/community/mythpywii/PKGBUILD @@ -2,17 +2,27 @@ # Maintainer: Cecil Watson<knoppmyth@gmail.com> pkgname=mythpywii -pkgver=1 -pkgrel=1 +pkgver=17 +pkgrel=8 pkgdesc="Control MythTV using Wiimote." arch=('i686' 'x86_64') license=('GPL2') url="http://www.benjiegillam.com/" depends=('bluez' 'python-pybluez' 'cwiid-svn') -#install=mythpywii.install -source=(http://www.benjiegillam.com/code/myth_py_wii.py) +install=mythpywii.install +source=(http://www.benjiegillam.com/code/myth_py_wii.py \ + wiimote.rules mythpywii.install CONTROLS) build() { - mkdir -p $startdir/pkg/usr/bin - install -D -m 755 myth_py_wii.py $startdir/pkg/usr/bin + install -D -m755 ${srcdir}/myth_py_wii.py ${startdir}/pkg/usr/bin/myth_py_wii.py || return 1 + install -D -m644 ${srcdir}/wiimote.rules ${startdir}/pkg/etc/udev/rules.d/z90-wiimote.rules || return 1 + install -d -o mythtv -g mythtv ${startdir}/pkg/home/mythtv/.cwiid/wminput || return 1 + install -D -m755 -o mythtv -g mythtv /etc/cwiid/wminput/{acc_led,buttons,gamepad,neverball,nunchuk_stick2btn,acc_ptr,ir_ptr,nunchuk_acc_ptr} ${startdir}/pkg/home/mythtv/.cwiid/wminput || return 1 + install -D -m644 ${srcdir}/CONTROLS ${startdir}/pkg/usr/share/docs/mythpywii/CONTROLS || return 1 + cd ${startdir}/pkg/home/mythtv/.cwiid/wminput + ln -s acc_led default } +md5sums=('5bd5e1bb9c4cbfabbffdb28ff616e83b' + '0d817a971d414b9320587a4cf289386b' + '64fa8dbd324dac68f71753ebd828d358' + '0872cbdb3def3dd9aa2b97b191ad76d8') diff --git a/abs/extra/community/mythpywii/mythpywii.install b/abs/extra/community/mythpywii/mythpywii.install new file mode 100644 index 0000000..8d0b867 --- /dev/null +++ b/abs/extra/community/mythpywii/mythpywii.install @@ -0,0 +1,59 @@ +post_install() { + . /home/mythtv/.mythtv/mysql.txt + # Enable the Network Remote Control Interface for use with the wiimote. + # Get local machine's hostname + HOST=`cat /etc/hostname` + # Update mysql for Network Remote Control Support + mysql -u mythtv -pmythtv --host=${DBHostName} mythconverg -e \ + "UPDATE settings SET data = '1' WHERE value = 'NetworkControlEnabled' AND hostname = '${HOST}'"; + echo "------------------------------------------------------------" + echo "myth_py_wii.py expects the Network Control Port to be set to" + echo "mythtv's default port of 6546. It will not work if you have" + echo "changed it to something else." + echo "------------------------------------------------------------" + # Add myth_py_wii.py to ~/mythtv/.fluxbox/apps before LinHES-run + sed -i '/LinHES-run/ i [startup] {/usr/bin/myth_py_wii.py >/dev/null}' /home/mythtv/.fluxbox/apps + # udev needs to pick up our new rule for the mythpywii. + udevadm trigger --subsystem-match="misc" --subsystem-match="bluetooth" + # Add the uinput module + modprobe uinput + # Ensure this module is loaded across reboots + echo "# uinput is needed by mythpywii" >> /etc/modules.mythvantage + echo "uinput" >> /etc/modules.mythvantage + # Bring up the bluetooth interface -- udev will do this after reboot + /usr/sbin/hciconfig hci0 up + # Punting on the multiple bluetooth adapter question. + echo "It is assumed your bluetooth adapter will be hci0." + echo "If you have more than one bluetooth adapter, you" + echo "may need to edit /etc/udev/rules.d/z90-wiimote.rules" + echo "--------------------------------------------------------------" + echo "--------------------------------------------------------------" + # Unfortunately there does not seem to be a way to do this without + # the user manually intervening. + echo "To use your wiimote you will need to restart the frontend service." + echo "$ sudo sv restart frontend" + echo "or simply reboot your machine." + echo "--------------------------------------------------------------" + echo "--------------------------------------------------------------" + echo "After frontend restart, you should now be able to pair your" + echo "Wiimote with your bluetooth adapter by pressing 1 & 2 at the" + echo "same time. After a few seconds the wiimote should vibrate and the" + echo "LEDs will show [ # . . # ] where # is on and . is off." + echo "--------------------------------------------------------------" + echo "See /usr/share/docs/mythpywii/CONTROLS for more information." + echo "--------------------------------------------------------------" +} + +post_remove() { + . /home/mythtv/.mythtv/mysql.txt + # kill myth_py_wii.py + WIIPID=`pidof -o %PPID /usr/bin/myth_py_wii.py` + [ -n "$WIIPID" ] && kill $WIIPID + # Remove uinput + sed -i '/uinput/d' /etc/modules.mythvantage + # Remove line in .fluxbox/apps + sed -i '/myth_py_wii.py/d' /home/mythtv/.fluxbox/apps + # Remove network remote control support + mysql -u mythtv -pmythtv --host=${DBHostName} mythconverg -e \ + "UPDATE settings SET data = '0' WHERE value = 'NetworkControlEnabled' AND hostname = '${HOST}'"; +} diff --git a/abs/extra/community/mythpywii/wiimote.rules b/abs/extra/community/mythpywii/wiimote.rules new file mode 100644 index 0000000..4bb2d9d --- /dev/null +++ b/abs/extra/community/mythpywii/wiimote.rules @@ -0,0 +1,6 @@ +# For Bluetooth/Wiimote + KERNEL=="uinput", MODE="0660", GROUP="mythtv" + +# Automaticly bring up/down the bluetooth interface + ACTION=="add", KERNEL=="hci%n", SUBSYSTEM=="bluetooth", RUN+="/usr/sbin/hciconfig hci%n up" + ACTION=="remove", KERNEL=="hci%n", SUBSYSTEM=="bluetooth", RUN+="/usr/sbin/hciconfig hci%n down" diff --git a/abs/extra/community/network-ups-tools/PKGBUILD b/abs/extra/community/network-ups-tools/PKGBUILD new file mode 100644 index 0000000..1644c2e --- /dev/null +++ b/abs/extra/community/network-ups-tools/PKGBUILD @@ -0,0 +1,53 @@ +# $Id: PKGBUILD 12757 2010-03-13 04:22:57Z dgriffiths $ +# Maintainer: Roman Kyrylych <roman@archlinux.org> +# Contributor: Giuseppe Lucarelli <luk@rebelsoft.org> + +pkgname=network-ups-tools +pkgver=2.4.3 +pkgrel=5 +pkgdesc="NUT is a collection of programs for monitoring and administering UPS hardware" +arch=('i686' 'x86_64') +url="http://www.networkupstools.org/" +license=('GPL2') +depends=('openssl' 'hal' 'gd') +makedepends=('libusb') +backup=(etc/ups/{ups.conf,upsd.conf,upsd.users,upsmon.conf,upssched.conf}) +install=nut.install +source=(http://www.networkupstools.org/source/2.4/nut-$pkgver.tar.gz run.upsd finish.upsd) +options=('!emptydirs' '!libtool') + +build() { +cd $srcdir/nut-$pkgver +./configure --with-user=nut \ +--prefix=/usr \ +--datadir=/usr/share/ups \ +--sysconfdir=/etc/ups \ +--with-group=nut \ +--with-hal \ +--with-usb \ +--with-cgi \ +--with-cgipath=/usr/share/webapps/nut \ +--with-htmlpath=/usr/share/webapps/nut \ +--with-udev-dir=/etc/udev || return 1 + + make || return 1 + make DESTDIR=$pkgdir install + #ugly hack because --with-pkgconfig-dir doesn't work + install -D -m644 lib/libupsclient.pc $pkgdir/usr/lib/pkgconfig + + install -D -m644 conf/ups.conf.sample $pkgdir/etc/ups/ups.conf + install -D -m640 conf/upsd.conf.sample $pkgdir/etc/ups/upsd.conf + install -D -m640 conf/upsd.users.sample $pkgdir/etc/ups/upsd.users + install -D -m640 conf/upsmon.conf.sample $pkgdir/etc/ups/upsmon.conf + install -D -m644 conf/upssched.conf.sample $pkgdir/etc/ups/upssched.conf + install -D -m755 ../run.upsd $pkgdir/etc/sv/upsd/run || return 1 + install -D -m755 ../finish.upsd $pkgdir/etc/sv/upsd/finish || return 1 + + # Fix udev rules + sed -i "s|SYSFS|ATTRS|g" $pkgdir/etc/udev/rules.d/52-nut-usbups.rules + install -dm755 ${pkgdir}/lib + mv ${pkgdir}/etc/udev ${pkgdir}/lib +} +md5sums=('6f893b61b07915e7a139324fa3f79121' + 'd7af81650a966660f6fd41f957c66165' + 'd50f13385848a9bb8f8cbc9ee5dd9fd5') diff --git a/abs/extra/community/network-ups-tools/finish.upsd b/abs/extra/community/network-ups-tools/finish.upsd new file mode 100644 index 0000000..8eb335b --- /dev/null +++ b/abs/extra/community/network-ups-tools/finish.upsd @@ -0,0 +1,16 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +PID=`pidof -o %PPID /usr/sbin/upsd` + stat_runit "Stopping UPSd Daemon" + /usr/bin/upsdrvctl stop &> /dev/null + /usr/sbin/upsmon -c stop &> /dev/null + [ ! -z "$PID" ] && kill $PID &> /dev/null + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon upsd + stat_done + fi diff --git a/abs/extra/community/network-ups-tools/nut.install b/abs/extra/community/network-ups-tools/nut.install new file mode 100644 index 0000000..1e6beee --- /dev/null +++ b/abs/extra/community/network-ups-tools/nut.install @@ -0,0 +1,21 @@ +post_install() { + groupadd -g 55 nut &> /dev/null + useradd -u 55 -g nut -G tty -d /var/state/ups -s /bin/false nut >/dev/null 2>&1 + mkdir -p /var/state/ups/ + chmod 0770 /var/state/ups/ + chown root:nut /var/state/ups/ + chown root:nut /etc/ups/upsd.conf /etc/ups/upsd.users /etc/ups/upsmon.conf + echo ">>> Before starting your UPSd daemon, it is imperative" + echo ">>> that you read through and edit where needed these files:" + echo ">>> /etc/ups/{ups.conf,upsd.conf,upsmon.conf,upsd.users}" + echo ">>>" + echo ">>> Then add the the upsd service:" + echo ">>> $ sudo add_service.sh upsd" +} + +pre_remove() { + remove_service.sh upsd + userdel nut >/dev/null 2>&1 + groupdel nut >/dev/null 2>&1 + rm -rf /var/state/ups/ +} diff --git a/abs/extra/community/network-ups-tools/run.upsd b/abs/extra/community/network-ups-tools/run.upsd new file mode 100644 index 0000000..83be88d --- /dev/null +++ b/abs/extra/community/network-ups-tools/run.upsd @@ -0,0 +1,21 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +PID=`pidof -o %PPID /usr/sbin/upsd` + + stat_runit "Starting UPSd Daemon" + /usr/bin/upsdrvctl start &> /dev/null + [ -z "$PID" ] && /usr/sbin/upsd &>/dev/null + /usr/sbin/upsmon &>/dev/null + if [ $? -gt 0 ]; then + stat_fail + else + add_daemon upsd + stat_done + fi + + while [ -n $PID ] ; do + sleep 60 + done diff --git a/abs/extra/community/peardb/PKGBUILD b/abs/extra/community/peardb/PKGBUILD new file mode 100755 index 0000000..dafe00f --- /dev/null +++ b/abs/extra/community/peardb/PKGBUILD @@ -0,0 +1,22 @@ +arch=('i686') +pkgname=PearDB +pkgver=1.7.13 +pkgrel=1 +_kernver=2.6.28-LinHES +pkgdesc="Pear Database Abstraction Layer" +url="http://pear.php.net/" +license=('GPL-2') +source=('http://download.pear.php.net/package/DB-1.7.13.tgz') +#install=('') + +build() { + mkdir -p $startdir/pkg/usr/share/pear/ + cp -r $startdir/src/DB-$pkgver/DB* $startdir/pkg/usr/share/pear/ + mkdir -p $startdir/pkg/usr/share/pear/docs/DB/ + cp -r $startdir/src/DB-$pkgver/doc/* $startdir/pkg/usr/share/pear/docs/DB/ + mkdir -p $startdir/pkg/usr/share/pear/tests/DB/ + cp -r $startdir/src/DB-$pkgver/tests/* $startdir/pkg/usr/share/pear/tests/DB/ + + } + +md5sums=('39b451245941a7059511a852f18b4946') diff --git a/abs/extra/community/pearlog/PKGBUILD b/abs/extra/community/pearlog/PKGBUILD new file mode 100755 index 0000000..5bc4ccc --- /dev/null +++ b/abs/extra/community/pearlog/PKGBUILD @@ -0,0 +1,25 @@ +arch=('i686') +pkgname=PearLog +pkgver=1.12.0 +pkgrel=1 +_kernver=2.6.28-LinHES +pkgdesc="Pear Logging Framework" +url="http://pear.php.net/" +license=('GPL-2') +source=('http://download.pear.php.net/package/Log-1.12.0.tgz') +#install=('') + +build() { + mkdir -p $startdir/pkg/usr/share/pear/ + cp -r $startdir/src/Log-$pkgver/Log* $startdir/pkg/usr/share/pear/ + mkdir -p $startdir/pkg/usr/share/pear/docs/Log + cp -r $startdir/src/Log-$pkgver/docs/* $startdir/pkg/usr/share/pear/docs/Log/ + mkdir -p $startdir/pkg/usr/share/pear/examples/Log + cp -r $startdir/src/Log-$pkgver/examples/* $startdir/pkg/usr/share/pear/examples/Log/ + mkdir -p $startdir/pkg/usr/share/pear/misc/Log + cp -r $startdir/src/Log-$pkgver/misc/* $startdir/pkg/usr/share/pear/misc/Log/ + mkdir -p $startdir/pkg/usr/share/pear/tests/Log + cp -r $startdir/src/Log-$pkgver/tests/* $startdir/pkg/usr/share/pear/tests/Log/ + } + +md5sums=('7fe68920afc4b122cb15aba40d735cb6') diff --git a/abs/extra/community/powernowd/PKGBUILD b/abs/extra/community/powernowd/PKGBUILD new file mode 100644 index 0000000..f784523 --- /dev/null +++ b/abs/extra/community/powernowd/PKGBUILD @@ -0,0 +1,28 @@ +# Contributor: kastor <kastor@fobos.org.ar> + +pkgname=powernowd +pkgver=1.00 +pkgrel=2 +pkgdesc="Program for powering down CPUs dynamicly" +arch=('i686' 'x86_64') +url="http://www.deater.net/john/powernowd.html" +license="GPL" +depends=('glibc') +source=(http://www.deater.net/john/$pkgname-$pkgver.tar.gz \ + run finish powernowd.install powernowd.conf.d) +install=($pkgname.install) + +build() { + cd $startdir/src/$pkgname-$pkgver + make || return 1 + install -D -m755 powernowd $startdir/pkg/usr/sbin/powernowd || return 1 + mkdir -p $startdir/pkg/etc/sv/powernowd || return 1 + install -D -m755 $startdir/src/run $startdir/pkg/etc/sv/powernowd || return 1 + install -D -m755 $startdir/src/finish $startdir/pkg/etc/sv/powernowd || return 1 + install -D -m644 $startdir/src/powernowd.conf.d $startdir/pkg/etc/conf.d/powernowd || return 1 +} +md5sums=('abc48b690d104e9e71a85400ba19d799' + 'ffd9b939665f74dac2220b4311482e04' + '13c6591ffc27d0b16f41f7892671302f' + 'dcbf8e98425b208c29f4c06b687dd0d0' + 'c9385af22c7c74e6cd6bdc982f94644f') diff --git a/abs/extra/community/powernowd/finish b/abs/extra/community/powernowd/finish new file mode 100644 index 0000000..97e3034 --- /dev/null +++ b/abs/extra/community/powernowd/finish @@ -0,0 +1,25 @@ +#!/bin/bash + +# AUR Credits: +# simple init script the ARCH-way for Powernowd +# Made by, CyberTron, packages@linuxportalen.com + +# Modifications by Alexander Baldeck <alexander@archlinux.org> + +# general config +. /etc/rc.conf +. /etc/rc.d/functions + +PID=`pidof -o %PPID /usr/sbin/powernowd` + +[ -f /etc/conf.d/powernowd ] && source /etc/conf.d/powernowd + + stat_runit "Stopping Powernowd" + [ ! -z "$PID" ] && kill $PID &> /dev/null + if [ $? -gt 0 ]; then + stat_fail + else + rm /var/run/powernowd.pid + rm_daemon powernowd + stat_done + fi diff --git a/abs/extra/community/powernowd/powernowd.conf.d b/abs/extra/community/powernowd/powernowd.conf.d new file mode 100644 index 0000000..287c2bc --- /dev/null +++ b/abs/extra/community/powernowd/powernowd.conf.d @@ -0,0 +1,6 @@ +# Configuration file for powernowd + +# If no options given, powernowd should be able to autodetect +# a sane setup. So most users will not have to put anything +# here. +OPTIONS="-d" diff --git a/abs/extra/community/powernowd/powernowd.install b/abs/extra/community/powernowd/powernowd.install new file mode 100644 index 0000000..af218af --- /dev/null +++ b/abs/extra/community/powernowd/powernowd.install @@ -0,0 +1,19 @@ +post_install() { + add_service.sh powernowd + + echo "Be sure to modprobe the proper module for your CPU and then add it + echo "to /etc/rc.conf in the MODULES section." + echo "i.e. for a Core2Duo modprobe/add acpi_cpufreq" + echo "Then restart the powernowd service: sudo sv restart powernowd" +} + +post_upgrade() { + echo "Be sure to modprobe the proper module for your CPU and then add it + echo "to /etc/rc.conf in the MODULES section." + echo "i.e. for a Core2Duo modprobe/add acpi_cpufreq" + echo "Then restart the powernowd service: sudo sv restart powernowd" +} + +pre_remove() { + remove_service.sh powernowd +} diff --git a/abs/extra/community/powernowd/run b/abs/extra/community/powernowd/run new file mode 100644 index 0000000..0e83b98 --- /dev/null +++ b/abs/extra/community/powernowd/run @@ -0,0 +1,25 @@ +#!/bin/bash + +# AUR Credits: +# simple init script the ARCH-way for Powernowd +# Made by, CyberTron, packages@linuxportalen.com + +# Modifications by Alexander Baldeck <alexander@archlinux.org> + +# general config +. /etc/rc.conf +. /etc/rc.d/functions + +PID=`pidof -o %PPID /usr/sbin/powernowd` + +[ -f /etc/conf.d/powernowd ] && source /etc/conf.d/powernowd + + stat_runit "Starting Powernowd" + [ -z "$PID" ] && /usr/sbin/powernowd $OPTIONS 2>/dev/null + if [ $? -gt 0 ]; then + stat_fail + else + echo $PID > /var/run/powernowd.pid + add_daemon powernowd + stat_done + fi diff --git a/abs/extra/community/squeezeboxserver/PKGBUILD b/abs/extra/community/squeezeboxserver/PKGBUILD new file mode 100644 index 0000000..45db11f --- /dev/null +++ b/abs/extra/community/squeezeboxserver/PKGBUILD @@ -0,0 +1,34 @@ +# Contributor: Anton Prins <uar at prinsonline dot demon dot nl> + +pkgname=squeezeboxserver +pkgver=7.4.1 +pkgrel=1 +pkgdesc="Powerful streaming audio server from Slim Devices" +depends=( +# unknown to me, default arch install + openssh handles it + ) + +source=(http://downloads.slimdevices.com/SqueezeboxServer_v${pkgver}/squeezeboxserver-${pkgver}.tgz + $pkgname.rc + $pkgname.conf.d + ) + +url="http://www.slimdevices.com/pi_features.html" +license=('GPL') +arch=('i686' 'x86_64') +install=squeezeboxserver.install + +#not sure how to handle the build number -28947? +build() { +cd $startdir/src/squeezeboxserver-${pkgver}-28947 || return 1 + +mkdir -p $startdir/pkg/home/squeezeboxserver || return 1 +cp -a * $startdir/pkg/home/squeezeboxserver || return 1 +install -D -m755 ../squeezeboxserver.rc $startdir/pkg/etc/rc.d/squeezeboxserver || return 1 +install -D -m644 ../squeezeboxserver.conf.d $startdir/pkg/etc/conf.d/squeezeboxserver || return 1 +mkdir $startdir/pkg/home/squeezeboxserver/prefs +} + +md5sums=('fa65636e7df75ae7af884a2efa184639' + '5e57982c257797badbf72c2ae04994f7' + 'aa65896541958e119e63ee7c96be39af') diff --git a/abs/extra/community/squeezeboxserver/squeezeboxserver.conf.d b/abs/extra/community/squeezeboxserver/squeezeboxserver.conf.d new file mode 100644 index 0000000..d14a2e9 --- /dev/null +++ b/abs/extra/community/squeezeboxserver/squeezeboxserver.conf.d @@ -0,0 +1,7 @@ +# Configuration file for SqueezeCenter on Arch Linux. +# Save this as /etc/conf.d/squeezeboxserver + +# Enter space-delimited options on the following line. +# e.g. SQUEEZEBOXSERVER_OPTS="--diag --d_scan --d_command" +# See "/home/squeezeboxserver/slimserver.pl --help" for a full list of possible options. +SQUEEZEBOXSERVER_OPTS="" diff --git a/abs/extra/community/squeezeboxserver/squeezeboxserver.install b/abs/extra/community/squeezeboxserver/squeezeboxserver.install new file mode 100644 index 0000000..058de02 --- /dev/null +++ b/abs/extra/community/squeezeboxserver/squeezeboxserver.install @@ -0,0 +1,56 @@ +post_install() { +echo -n "adding squeezeboxserver user... " +useradd -c "SqueezeBoxServer" -g users -s /bin/false squeezeboxserver && echo "done." +passwd -l squeezeboxserver &>/dev/null + +chown -R squeezeboxserver:users /home/squeezeboxserver + +install -o squeezeboxserver -d /var/cache/squeezeboxserver +touch /var/log/squeezeboxserver.log +chown squeezeboxserver:users /var/log/squeezeboxserver.log + +cat << 'EOM' + +==> SqueezeBoxServer uses MySQL instead of sqlite. If you have MySQL up and running +==> you can configure SqueezeBoxServer to use that server as described here: +==> http://wiki.slimdevices.com/index.php/ExistingMySQLInstance + +==> PLEASE NOTE: SqueezeBoxServer should always be run as the user 'squeezeboxserver'. +==> This is easily done by adding squeezeboxserver to the DAEMONS array in rc.conf, +==> after network and mysql. + +==> Additional run-time options can be added to /etc/conf.d/squeezeboxserver. +==> Please refer to "/home/squeezeboxserver/slimserver.pl --help" for full details. + +EOM +} + +post_upgrade() { +chown -R squeezeboxserver:users /home/squeezeboxserver + +cat << 'EOM' + +==> SqueezeBoxServer uses MySQL instead of sqlite. If you have MySQL up and running +==> you can configure SqueezeBoxServer to use that server as described here: +==> http://wiki.slimdevices.com/index.php/ExistingMySQLInstance + +EOM +} + +pre_remove() { +# pre_remove gets called whenever post_remove is defined. +true +} + +post_remove() { +# post_remove doesn't start at a newline like the other post_* functions, +# so we'll have to make one for ourselves. +echo -n -e "\nremoving squeezeboxserver user... " +userdel squeezeboxserver && echo "done." + +rm -r /var/cache/squeezeboxserver /var/log/squeezeboxserver.log +} + +op=$1 +shift +$op $* diff --git a/abs/extra/community/squeezeboxserver/squeezeboxserver.rc b/abs/extra/community/squeezeboxserver/squeezeboxserver.rc new file mode 100644 index 0000000..d33db16 --- /dev/null +++ b/abs/extra/community/squeezeboxserver/squeezeboxserver.rc @@ -0,0 +1,47 @@ +#!/bin/bash + +# source application-specific settings +[ -f /etc/conf.d/squeezeboxserver ] && . /etc/conf.d/squeezeboxserver + +# general config +. /etc/rc.conf +. /etc/rc.d/functions + +squeezehome=/home/squeezeboxserver +pidfile=/var/run/squeezeboxserver.pid +logfile=/var/log/squeezeboxserver.log +prefsdir=/home/squeezeboxserver/prefs +cachedir=/var/cache/squeezeboxserver + + +case "$1" in + start) + stat_busy "Starting SqueezeBoxServer" + cd $squeezehome + ./slimserver.pl --daemon --user squeezeboxserver --prefsdir $prefsdir \ + --cachedir $cachedir --pidfile $pidfile --logfile $logfile $SQUEEZEBOXSERVER_OPTS + if [ $? -gt 0 ]; then + stat_fail + else + add_daemon squeezeboxserver + stat_done + fi + ;; + stop) + stat_busy "Stopping SqueezeBoxServer" + kill `cat $pidfile` &>/dev/null + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon squeezeboxserver + stat_done + fi + ;; + restart) + $0 stop + sleep 3 + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac diff --git a/abs/extra/community/transmission-cli/PKGBUILD b/abs/extra/community/transmission-cli/PKGBUILD index a3791fc..40af42a 100644 --- a/abs/extra/community/transmission-cli/PKGBUILD +++ b/abs/extra/community/transmission-cli/PKGBUILD @@ -3,33 +3,39 @@ # Contributor: Alessio 'mOLOk' Bolognino <themolok@gmail.com> pkgname=transmission-cli -pkgver=1.42 +pkgver=2.04 pkgrel=1 pkgdesc="Fast, easy, and free BitTorrent client (CLI tools, daemon and web client)" arch=('i686' 'x86_64') url="http://www.transmissionbt.com/" license=('MIT') -depends=('curl') +depends=('curl' 'libevent') makedepends=('intltool') replaces=('transmission') backup=('etc/conf.d/transmissiond') install=transmission-cli.install source=(http://mirrors.m0k.org/transmission/files/transmission-$pkgver.tar.bz2 - transmissiond + run.transmissiond + transmission-cli.install + transmission.include transmissiond.conf) -md5sums=('c083bdcb01426466e80ee339bccd9351' - 'e2326d412e25b4449ff663a5d4015e1a' - '7b019a710493ec4f8b54a1f528e1981d') build() { cd "$srcdir/transmission-$pkgver" - ./configure --prefix=/usr --disable-gtk --disable-wx || return 1 + ./configure --prefix=/usr --disable-gtk || return 1 make || return 1 make DESTDIR="$pkgdir" install || return 1 - install -D -m755 "$srcdir/transmissiond" "$pkgdir/etc/rc.d/transmissiond" || return 1 + mkdir -p -m744 "$pkgdir/etc/sv/transmissiond" || return 1 + mkdir -p -m777 "$pkgdir/myth/transmission" || return 1 + install -D -m755 "$srcdir/run.transmissiond" "$pkgdir/etc/sv/transmissiond/run" || return 1 install -D -m644 "$srcdir/transmissiond.conf" "$pkgdir/etc/conf.d/transmissiond" || return 1 - + install -D -m644 "$srcdir/transmission.include" "$pkgdir/etc/transmission/transmission.include" || return 1 install -D -m644 COPYING "$pkgdir/usr/share/licenses/transmission-cli/COPYING" || return 1 } +md5sums=('84fe15eb7e000fdc369def513299358b' + 'b91534aaf2e403331c611c615ab2c03d' + 'ff22c13dbd52565f9e88b1de22514eb9' + 'b5a49ea375333cd0fee40f70dbac4c2e' + 'd05567c7a4f9df9f28602d1356d5c05c') diff --git a/abs/extra/community/transmission-cli/run.transmissiond b/abs/extra/community/transmission-cli/run.transmissiond new file mode 100755 index 0000000..714c946 --- /dev/null +++ b/abs/extra/community/transmission-cli/run.transmissiond @@ -0,0 +1,29 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions +. /etc/conf.d/transmissiond + +CONFIGDIR=/home/$TRANS_USER/.config/transmission-daemon +PID=`pidof -o %PPID /usr/bin/transmission-daemon` +# Update the block lists - try to keep the bad guys out. + cd ${CONFIGDIR}/blocklists + if [ $? -eq 0 ]; then + find . -mtime +4 -type f -name level1 -exec rm {} \; + if [ ! -f ${CONFIGDIR}/blocklists/level1 ]; then + # update blocklist + # echo "updating blocklist, ~4MB" + wget -q -O level1.gz http://download.m0k.org/transmission/files/level1.gz + if [ -f level1.gz ]; then + gunzip level1.gz + if [ $? -eq 0 ]; then + chmod go+r level1 + else + rm -f level1* + fi + fi + fi + cd - 2>&1 >/dev/null + fi + stat_runit "Starting Transmission Daemon" + [ -z "$PID" ] && exec su -l -c "/usr/bin/nice -n 19 /usr/bin/transmission-daemon $TRANS_OPTS" $TRANS_USER 2>/dev/null diff --git a/abs/extra/community/transmission-cli/transmission-cli.install b/abs/extra/community/transmission-cli/transmission-cli.install index cb6bf60..088ecc6 100644 --- a/abs/extra/community/transmission-cli/transmission-cli.install +++ b/abs/extra/community/transmission-cli/transmission-cli.install @@ -1,9 +1,28 @@ post_install() { + /bin/echo 'include "/etc/transmission/transmission.include"' >> /etc/lighttpd/conf.include + killall -HUP lighttpd + + add_service.sh transmissiond + cat << _EOF - If you want to run the Transmission daemon at boot, - add transmissiond to the DAEMONS array in /etc/rc.conf. - You have to set the user in /etc/conf.d/transmissiond. + You can edit the user and options in /etc/conf.d/transmissiond. + + To access the web interface: + http://localhost/transmission + + Configuration file editing information can be found at: + http://trac.transmissionbt.com/wiki/ConfigFiles _EOF + +} + +pre_upgrade() { + rm -f /usr/share/man/man1/transmission* + +} + +pre_remove() { + remove_service.sh transmissiond } diff --git a/abs/extra/community/transmission-cli/transmission.include b/abs/extra/community/transmission-cli/transmission.include new file mode 100644 index 0000000..5cbf399 --- /dev/null +++ b/abs/extra/community/transmission-cli/transmission.include @@ -0,0 +1,15 @@ +#Redirect from /transmission to /transmission/web +url.rewrite-once += ( "^/transmission[/]?$" => "/transmission/web" ) +$HTTP["url"] =~ "^/transmission/" { + #Serve static files from /usr/share/transmission + server.document-root = "/usr/share/" + #Forward RPC requests to the Transmission daemon + proxy.server = ( + "/transmission/rpc" => ( + ( + "host" => "127.0.0.1", + "port" => 9091 + ) + ) + ) +} diff --git a/abs/extra/community/transmission-cli/transmissiond.conf b/abs/extra/community/transmission-cli/transmissiond.conf index 8f1275b..d642c01 100644 --- a/abs/extra/community/transmission-cli/transmissiond.conf +++ b/abs/extra/community/transmission-cli/transmissiond.conf @@ -1 +1,2 @@ -TRANS_USER="" +TRANS_USER="mythtv" +TRANS_OPTS="-f -ep -w /myth/transmission" diff --git a/abs/extra/conky/PKGBUILD b/abs/extra/conky/PKGBUILD index 726f426..0b27d0b 100644 --- a/abs/extra/conky/PKGBUILD +++ b/abs/extra/conky/PKGBUILD @@ -3,8 +3,8 @@ # Contributor: MrGreen <mrgreen.linuxuser@gmail.com> pkgname=conky -pkgver=1.6.1 -pkgrel=2 +pkgver=1.8.0 +pkgrel=1 pkgdesc="Conky is an advanced, highly configurable system monitor for X based on torsmo" arch=('i686' 'x86_64') url="http://conky.sourceforge.net/" @@ -13,7 +13,6 @@ replaces=('torsmo') depends=('libxext' 'libxml2' 'curl' 'wireless_tools' 'libxft' 'glib2' 'libxdamage') makedepends=('pkgconfig') source=(http://downloads.sourceforge.net/sourceforge/conky/$pkgname-$pkgver.tar.bz2) -md5sums=('b2839f21cec18e5eaa338c7440a1ba28') build() { cd $startdir/src/$pkgname-$pkgver @@ -27,3 +26,4 @@ build() { install -D -m644 COPYING $startdir/pkg/usr/share/licenses/$pkgname/COPYING } +md5sums=('494cbaf1108cfdb977fc80454d9b13e2') diff --git a/abs/extra/cpufreqd/PKGBUILD b/abs/extra/cpufreqd/PKGBUILD new file mode 100644 index 0000000..fd6d544 --- /dev/null +++ b/abs/extra/cpufreqd/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 60269 2009-12-02 16:30:29Z giovanni $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> +# Contributor: Kevin Piche <kevin@archlinux.org> +# Contributor: Manolis Tzanidakis <manolis@archlinux.org> + +pkgname=cpufreqd +pkgver=2.4.2 +pkgrel=1 +pkgdesc="A small daemon to adjust cpu speed (and indeed voltage)" +arch=('i686' 'x86_64') +url="http://sourceforge.net/projects/cpufreqd" +license=('GPL2') +depends=('cpufrequtils') +install="$pkgname.install" +backup=(etc/cpufreqd.conf) +options=('!libtool') +source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2 + 'cpufreqd') + +build() { + cd $srcdir/$pkgname-$pkgver + ./configure --prefix=/usr \ + --sysconfdir=/etc + make || return 1 + make DESTDIR=$pkgdir install + + install -D -m 755 $srcdir/cpufreqd $pkgdir/etc/rc.d/cpufreqd || return 1 +} +md5sums=('2ca80a77849c9a69b81e27c1843c97f5' + 'ae7b0ec1e8e9f9e7f05fb83749af4ed4') diff --git a/abs/extra/cpufreqd/cpufreqd b/abs/extra/cpufreqd/cpufreqd new file mode 100644 index 0000000..af55456 --- /dev/null +++ b/abs/extra/cpufreqd/cpufreqd @@ -0,0 +1,35 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +PID=`pidof -o %PPID /usr/sbin/cpufreqd` +case "$1" in + start) + stat_busy "Starting cpufreqd" + [ -z "$PID" ] && /usr/sbin/cpufreqd + if [ $? -gt 0 ]; then + stat_fail + else + add_daemon cpufreqd + stat_done + fi + ;; + stop) + stat_busy "Stopping cpufreqd" + [ ! -z "$PID" ] && kill $PID &> /dev/null + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon cpufreqd + stat_done + fi + ;; + restart) + $0 stop + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0 diff --git a/abs/extra/cpufreqd/cpufreqd.install b/abs/extra/cpufreqd/cpufreqd.install new file mode 100644 index 0000000..e56ce57 --- /dev/null +++ b/abs/extra/cpufreqd/cpufreqd.install @@ -0,0 +1,26 @@ +post_install() { + cat << EOF + +NOTE +---- +In order to use that daemon you need to either patch your +kernel-2.4.x with cpufreq patch (check +http://www.codemonkey.org.uk/projects/cpufreq/), +or use kernel-2.6.x or 2.4.x.-ac. + +EOF +} + +post_upgrade() { + /bin/true +} + +# arg 1: the old package version +pre_remove() { + /bin/true +} + +op=$1 +shift + +$op $* diff --git a/abs/extra/cpufrequtils/PKGBUILD b/abs/extra/cpufrequtils/PKGBUILD new file mode 100644 index 0000000..c9087aa --- /dev/null +++ b/abs/extra/cpufrequtils/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 66595 2010-02-01 00:00:07Z giovanni $ +# Maintainer: kevin <kevin@archlinux.org> +# Contributor: phrakture <aaronmgriffin+gmail+com> +# Contributor: SpepS <dreamspepser at yahoo dot it> + +pkgname=cpufrequtils +pkgver=008 +pkgrel=1 +pkgdesc="Userspace tools for the kernel cpufreq subsystem" +arch=('i686' 'x86_64') +url="http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html" +license=('GPL') +depends=('sysfsutils') +backup=('etc/conf.d/cpufreq') +source=(http://www.kernel.org/pub/linux/utils/kernel/cpufreq/${pkgname}-${pkgver}.tar.bz2 + cpufreq.rcd + cpufreq.confd) +options=(!libtool) + +build() +{ + cd "${srcdir}/${pkgname}-${pkgver}" + + make -j1 || return 1 + make INSTALL="/bin/install -c" mandir=/usr/share/man DESTDIR="${pkgdir}" install || return 1 + + install -D -m755 ${srcdir}/cpufreq.rcd "${pkgdir}/etc/rc.d/cpufreq" || return 1 + install -D -m644 ${srcdir}/cpufreq.confd "${pkgdir}/etc/conf.d/cpufreq" || return 1 +} +md5sums=('c59b71c044d463896f3247e8dd83dd7e' + '7f2b5085df44d2df3e7c2d0b9f6dab08' + 'baae1f2abffc6bef2bd32a8dd8263c09') diff --git a/abs/extra/cpufrequtils/cpufreq.confd b/abs/extra/cpufrequtils/cpufreq.confd new file mode 100644 index 0000000..2189097 --- /dev/null +++ b/abs/extra/cpufrequtils/cpufreq.confd @@ -0,0 +1,14 @@ +#configuration for cpufreq control + +# valid governors: +# ondemand, performance, powersave, +# conservative, userspace +#governor="ondemand" + +# limit frequency range (optional) +# valid suffixes: Hz, kHz (default), MHz, GHz, THz +#min_freq="2.25GHz" +#max_freq="3GHz" + +# use freq to set up the exact cpu frequency using it with userspace governor +#freq= diff --git a/abs/extra/cpufrequtils/cpufreq.rcd b/abs/extra/cpufrequtils/cpufreq.rcd new file mode 100644 index 0000000..9bc19b1 --- /dev/null +++ b/abs/extra/cpufrequtils/cpufreq.rcd @@ -0,0 +1,60 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +# source application-specific settings +[ -f /etc/conf.d/cpufreq ] && . /etc/conf.d/cpufreq + +case "$1" in + start) + stat_busy "Setting cpufreq governing rules" + + params="" + if [ -n "$governor" ]; then + mod="cpufreq_$governor" + params="-g $governor" + grep -qw "$governor" /sys/devices/system/cpu/cpu*/cpufreq/scaling_available_governors || modprobe -q $mod + if [ $? -eq 0 ]; then + if [ "$min_freq" != "" ]; then + params="$params -d $min_freq" + fi + if [ "$max_freq" != "" ]; then + params="$params -u $max_freq" + fi + else + stat_busy " Cannot load governor module '$governor'" + stat_fail + exit + fi + fi + + if [ "$params" != "" ]; then + CPUS=$(sed -ne 's/^processor.* \([0-9]\+\)$/\1/p' /proc/cpuinfo) + stat_append ", cpu" + for cpu in $CPUS; do + stat_append " $cpu" + cpufreq-set -c $cpu $params + if [ "$freq" != "" ]; then + cpufreq-set -c $cpu -f $freq + fi + done + stat_done + else + stat_busy " Invalid configuration in /etc/conf.d/cpufreq" + stat_fail + fi + ;; + stop) + # nothing to do + ;; + restart) + $0 start + ;; + set) + # TODO: make callable... "cpufreq set 800MHz" + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0 diff --git a/abs/extra/crypto++/PKGBUILD b/abs/extra/crypto++/PKGBUILD new file mode 100644 index 0000000..35bf2b7 --- /dev/null +++ b/abs/extra/crypto++/PKGBUILD @@ -0,0 +1,27 @@ +# $Id: PKGBUILD 68024 2010-02-10 14:24:12Z giovanni $ +# Maintainer: Giovanni Scafora <giovanni@archlinux.org> +# Contributor: Andrea Scarpino <andrea@archlinux.org> +# Contributor: Kritoke <kritoke@gamebox.net> +# Contributor: jlvsimoes <jlvsimoes@oninet.pt> + +pkgname=crypto++ +pkgver=5.6.0 +_srcver=560 +pkgrel=2 +pkgdesc="A free C++ class library of cryptographic schemes." +arch=('i686' 'x86_64') +license=('custom') +makedepends=('unzip') +url="http://www.cryptopp.com/" +source=(http://www.cryptopp.com/cryptopp${_srcver}.zip) +md5sums=('36f35789ad60489d58003d3c849807e8') + +build() { + cd ${srcdir} + sed -i -e 's/^CXXFLAGS/#CXXFLAGS/' GNUmakefile + make -f GNUmakefile || return 1 + install -d ${pkgdir}/usr/{lib,include/cryptopp} + install -m644 *.h ${pkgdir}/usr/include/cryptopp/ + install -m644 libcryptopp.a ${pkgdir}/usr/lib/ + install -D -m644 License.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE +} diff --git a/abs/extra/ddclient/PKGBUILD b/abs/extra/ddclient/PKGBUILD index 121d2c5..f283cb9 100644 --- a/abs/extra/ddclient/PKGBUILD +++ b/abs/extra/ddclient/PKGBUILD @@ -3,33 +3,31 @@ # Contributor: David Rosenstrauch <darose@darose.net> pkgname=ddclient -pkgver=3.7.3 -pkgrel=2 +pkgver=3.8.0 +pkgrel=1 pkgdesc="Update dynamic DNS entries for accounts on many dynamic DNS services." arch=('i686' 'x86_64') url="http://ddclient.sourceforge.net/" license=('GPL2') depends=('perl' 'perl-io-socket-ssl') -backup=('etc/ddclient/ddclient.conf' 'etc/conf.d/ddclient') -install=ddclient.install -source=(http://downloads.sourceforge.net/sourceforge/ddclient/ddclient-$pkgver.tar.bz2 ddclient.rc ddclient.conf.d) +backup=('etc/ddclient.conf') +source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2 + ddclient.conf.dynamic.dyndns.sample + ddclient-foreground.patch) build() { - cd ${srcdir}/ddclient-${pkgver} + cd ${srcdir}/$pkgname-${pkgver} + patch < ${srcdir}/ddclient-foreground.patch # core files install -D -m755 ddclient ${pkgdir}/usr/sbin/ddclient - install -D -m755 ${srcdir}/ddclient.rc ${pkgdir}/etc/rc.d/ddclient - install -D -m600 sample-etc_ddclient.conf ${pkgdir}/etc/ddclient/ddclient.conf - install -D -m644 ${srcdir}/ddclient.conf.d ${pkgdir}/etc/conf.d/ddclient + install -D -m600 sample-etc_ddclient.conf ${pkgdir}/etc/ddclient/ddclient.conf.sample + install -D -m600 ${srcdir}/ddclient.conf.dynamic.dyndns.sample ${pkgdir}/etc/ddclient/ install -d ${pkgdir}/var/cache/ddclient # additional instructions, sample configs - install -D -m644 README ${pkgdir}/etc/ddclient/samples/README - install -D -m644 sample-etc_cron.d_ddclient ${pkgdir}/etc/ddclient/samples/sample-etc_cron.d_ddclient - install -D -m644 sample-etc_dhcpc_dhcpcd-eth0.exe ${pkgdir}/etc/ddclient/samples/sample-etc_dhcpc_dhcpcd-eth0.exe - install -D -m644 sample-etc_ppp_ip-up.local ${pkgdir}/etc/ddclient/samples/sample-etc_ppp_ip-up.local + install -D -m644 README ${pkgdir}/etc/ddclient/README } -md5sums=('f6a55bc68cf73ffe7e80d2fa5cd44f85' - '7035bf8132f3517a59167f61ee5e8b90' - 'b8f39c82827776da948b76ef83544d33') +md5sums=('6cac7a5eb1da781bfd4d98cef0b21f8e' + '4194825b9b4a7fcc1c57c2f5a4f6162b' + 'd8ffc95f98f9afcb4a06a1e192220e35') diff --git a/abs/extra/ddclient/ddclient-foreground.patch b/abs/extra/ddclient/ddclient-foreground.patch new file mode 100644 index 0000000..a814ede --- /dev/null +++ b/abs/extra/ddclient/ddclient-foreground.patch @@ -0,0 +1,47 @@ +--- ../ddclient-orig/ddclient 2009-10-19 22:45:15.000000000 +1030 ++++ ddclient 2009-10-19 22:50:11.000000000 +1030 +@@ -307,6 +307,7 @@ + my %variables = ( + 'global-defaults' => { + 'daemon' => setv(T_DELAY, 0, 0, 1, 0, interval('60s')), ++ 'foreground' => setv(T_BOOL, 0, 0, 1, 0, undef), + 'file' => setv(T_FILE, 0, 0, 1, "$etc$program.conf", undef), + 'cache' => setv(T_FILE, 0, 0, 1, "$cachedir$program.cache", undef), + 'pid' => setv(T_FILE, 0, 0, 1, "", undef), +@@ -535,6 +536,7 @@ + "usage: ${program} [options]", + "options are:", + [ "daemon", "=s", "-daemon delay : run as a daemon, specify delay as an interval." ], ++ [ "foreground", "!", "-foreground : do not fork" ], + [ "proxy", "=s", "-proxy host : use 'host' as the HTTP proxy" ], + [ "server", "=s", "-server host : update DNS information on 'host'" ], + [ "protocol", "=s", "-protocol type : update protocol used" ], +@@ -623,7 +625,10 @@ + $SIG{'HUP'} = sub { $caught_hup = 1; }; + $SIG{'TERM'} = sub { $caught_term = 1; }; + $SIG{'KILL'} = sub { $caught_kill = 1; }; +-if (opt('daemon') && !opt('force')) { ++# don't fork() if foreground or force is on ++if (opt('foreground') || opt('force')) { ++ ; ++} elsif (opt('daemon')) { + $SIG{'CHLD'} = 'IGNORE'; + my $pid = fork; + if ($pid < 0) { +@@ -633,12 +638,15 @@ + exit 0; + } + $SIG{'CHLD'} = 'DEFAULT'; +- $opt{'syslog'} = 1; + open(STDOUT, ">/dev/null"); + open(STDERR, ">/dev/null"); + open(STDIN, "</dev/null"); ++} + ++# write out the pid file if we're daemon'ized ++if(opt('daemon')) { + write_pid(); ++ $opt{'syslog'} = 1; + } + + umask 077; diff --git a/abs/extra/ddclient/ddclient.conf.dynamic.dyndns.sample b/abs/extra/ddclient/ddclient.conf.dynamic.dyndns.sample new file mode 100644 index 0000000..a492c8b --- /dev/null +++ b/abs/extra/ddclient/ddclient.conf.dynamic.dyndns.sample @@ -0,0 +1,162 @@ +###################################################################### +## +## $Id: sample-etc_ddclient.conf 102 2008-11-01 11:23:03Z wimpunk $ +## +## Define default global variables with lines like: +## var=value [, var=value]* +## These values will be used for each following host unless overridden +## with a local variable definition. +## +## Define local variables for one or more hosts with: +## var=value [, var=value]* host.and.domain[,host2.and.domain...] +## +## Lines can be continued on the following line by ending the line +## with a \ +## +## +## Warning: not all supported routers or dynamic DNS services +## are mentioned here. +## +###################################################################### +daemon=300 # check every 300 seconds +syslog=yes # log update msgs to syslog +mail=root # mail all msgs to root +mail-failure=root # mail failed update msgs to root +pid=/var/run/ddclient.pid # record PID in file. +ssl=yes # use ssl-support. Works with + # ssl-library +# postscript=script # run script after updating. The + # new IP is added as argument. +# +#use=watchguard-soho, fw=192.168.111.1:80 # via Watchguard's SOHO FW +#use=netopia-r910, fw=192.168.111.1:80 # via Netopia R910 FW +#use=smc-barricade, fw=192.168.123.254:80 # via SMC's Barricade FW +#use=netgear-rt3xx, fw=192.168.0.1:80 # via Netgear's internet FW +#use=linksys, fw=192.168.1.1:80 # via Linksys's internet FW +#use=maxgate-ugate3x00, fw=192.168.0.1:80 # via MaxGate's UGATE-3x00 FW +#use=elsa-lancom-dsl10, fw=10.0.0.254:80 # via ELSA LanCom DSL/10 DSL Router +#use=elsa-lancom-dsl10-ch01, fw=10.0.0.254:80 # via ELSA LanCom DSL/10 DSL Router +#use=elsa-lancom-dsl10-ch02, fw=10.0.0.254:80 # via ELSA LanCom DSL/10 DSL Router +#use=alcatel-stp, fw=10.0.0.138:80 # via Alcatel Speed Touch Pro +#use=xsense-aero, fw=192.168.1.1:80 # via Xsense Aero Router +#use=allnet-1298, fw=192.168.1.1:80 # via AllNet 1298 DSL Router +#use=3com-oc-remote812, fw=192.168.0.254:80 # via 3com OfficeConnect Remote 812 +#use=e-tech, fw=192.168.1.1:80 # via E-tech Router +#use=cayman-3220h, fw=192.168.0.1:1080 # via Cayman 3220-H DSL Router +# +#fw-login=admin, fw-password=XXXXXX # FW login and password +# +## To obtain an IP address from FW status page (using fw-login, fw-password) +#use=fw, fw=192.168.1.254/status.htm, fw-skip='IP Address' # found after IP Address +# +## To obtain an IP address from Web status page (using the proxy if defined) +#use=web, web=checkip.dyndns.org/, web-skip='IP Address' # found after IP Address +# +#use=ip, ip=127.0.0.1 # via static IP's +#use=if, if=eth0 # via interfaces +use=web # via web +# +#protocol=dyndns2 # default protocol +#proxy=fasthttp.sympatico.ca:80 # default proxy +#server=members.dyndns.org # default server +#server=members.dyndns.org:8245 # default server (bypassing proxies) + +login=your-dynamic-dyndns-login # default login +password=your-dynamic-dyndns-password # default password +#mx=mx.for.your.host # default MX +#backupmx=yes|no # host is primary MX? +#wildcard=yes|no # add wildcard CNAME? + +## +## dyndns.org dynamic addresses +## +## (supports variables: wildcard,mx,backupmx) +## +server=members.dyndns.org, \ +protocol=dyndns2 \ +your-dynamic-dyndns-host + +## +## dyndns.org static addresses +## +## (supports variables: wildcard,mx,backupmx) +## +# static=yes, \ +# server=members.dyndns.org, \ +# protocol=dyndns2 \ +# your-static-host.dyndns.org + +## +## +## dyndns.org custom addresses +## +## (supports variables: wildcard,mx,backupmx) +## +# custom=yes, \ +# server=members.dyndns.org, \ +# protocol=dyndns2 \ +# your-domain.top-level,your-other-domain.top-level + +## +## ZoneEdit (zoneedit.com) +## +# server=dynamic.zoneedit.com, \ +# protocol=zoneedit1, \ +# login=your-zoneedit-login, \ +# password=your-zoneedit-password \ +# your.any.domain,your-2nd.any.dom + +## +## EasyDNS (easydns.com) +## +# server=members.easydns.com, \ +# protocol=easydns, \ +# login=your-easydns-login, \ +# password=your-easydns-password \ +# your.any.domain,your-2nd.any.domain + +## +## Hammernode (hn.org) dynamic addresses +## +# server=dup.hn.org, \ +# protocol=hammernode1, \ +# login=your-hn-login, \ +# password=your-hn-password \ +# your-hn-host.hn.org,your-2nd-hn-host.hn.org + +## +## dslreports.com dynamic-host monitoring +## +# server=members.dslreports.com \ +# protocol=dslreports1, \ +# login=dslreports-login, \ +# password=dslreports-password \ +# dslreports-unique-id + +## +## OrgDNS.org account-configuration +## +# use=web, web=members.orgdns.org/nic/ip +# server=www.orgdns.org \ +# protocol=dyndns2 \ +# login=yourLoginName \ +# password=yourPassword \ +# yourSubdomain.orgdns.org + +## +## dnspark.com +## (supports variables: mx, mxpri) +## +# use=web, web=ipdetect.dnspark.com, web-skip='Current Address:' +# protocol=dnspark, \ +# server=www.dnspark.com, \ +# your-host.dnspark.com + +## +## NameCheap (namecheap.com) +## +# protocol=namecheap, \ +# server=dynamicdns.park-your-domain.com, \ +# login=my-namecheap.com-login, \ +# password=my-namecheap.com-password \ +# myhost.namecheap.com diff --git a/abs/extra/deb2targz/PKGBUILD b/abs/extra/deb2targz/PKGBUILD new file mode 100644 index 0000000..adf074d --- /dev/null +++ b/abs/extra/deb2targz/PKGBUILD @@ -0,0 +1,20 @@ +# Maintainer: Douglas Soares de Andrade <dsandrade@gmail.org> +# Contributor: Jason Erik Jackson <jacksonje@gmail.org> + +pkgname=deb2targz +pkgver=1 +pkgrel=2 +pkgdesc="Converts .deb archives to tar.gz" +arch=('i686' 'x86_64') +url="http://www.miketaylor.org.uk/tech/deb/" +depends=("perl") +source=("http://www.miketaylor.org.uk/tech/deb/$pkgname") + +md5sums=('5b944785778d023a43e33af53bea2056') + +build() { + mkdir -p $startdir/pkg/usr/bin + install -m755 $startdir/src/$pkgname $startdir/pkg/usr/bin +} + + diff --git a/abs/extra/dnsmasq/PKGBUILD b/abs/extra/dnsmasq/PKGBUILD new file mode 100644 index 0000000..f888ccd --- /dev/null +++ b/abs/extra/dnsmasq/PKGBUILD @@ -0,0 +1,41 @@ +# $Id: PKGBUILD 66607 2010-02-01 01:42:17Z giovanni $ +# Maintainer: Paul Mattal <paul@archlinux.org> +# Contributor: Tom Newsom <Jeepster@gmx.co.uk> + +pkgname=dnsmasq +pkgver=2.55 +pkgrel=1 +pkgdesc="Lightweight, easy to configure DNS forwarder and DHCP server" +url="http://www.thekelleys.org.uk/dnsmasq/doc.html" +arch=('i686' 'x86_64') +license=('GPL') +depends=('glibc' 'bash') +makedepends=('libcap>=2.16') +backup=('etc/dnsmasq.conf') +install= +source=("http://www.thekelleys.org.uk/$pkgname/$pkgname-$pkgver.tar.gz" + 'rc.dnsmasq') + +build() { + cd $srcdir/$pkgname-$pkgver + + # Build + make || return 1 + + # Install + install -d $pkgdir/etc/rc.d || return 1 + make PREFIX=/usr DESTDIR=$pkgdir install || return 1 + + install -D -m755 \ + $srcdir/rc.dnsmasq $pkgdir/etc/rc.d/dnsmasq || return 1 + install -D -m644 \ + dnsmasq.conf.example $pkgdir/etc/dnsmasq.conf || return 1 + + # Make the Required Directories for DHCP Server Default Directories + install -d $pkgdir/var/db || return 1 + install -d $pkgdir/var/lib/misc || return 1 +} + +# vim: ts=2 sw=2 et ft=sh +md5sums=('b093d7c6bc7f97ae6fd35d048529232a' + 'e956eee1ec24212a3254d2b168187495') diff --git a/abs/extra/dnsmasq/rc.dnsmasq b/abs/extra/dnsmasq/rc.dnsmasq new file mode 100755 index 0000000..1676072 --- /dev/null +++ b/abs/extra/dnsmasq/rc.dnsmasq @@ -0,0 +1,36 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +PID=`pidof -o %PPID /usr/sbin/dnsmasq` +case "$1" in + start) + stat_busy "Starting DNS/DHCP daemon" + [ -z "$PID" ] && /usr/sbin/dnsmasq + if [ $? -gt 0 ] ; then + stat_fail + else + add_daemon dnsmasq # create the 'state' dir + stat_done + fi + ;; + stop) + stat_busy "Stopping DNS/DHCP daemon" + [ "$PID" ] && kill $PID &> /dev/null + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon dnsmasq # remove the 'state' dir + stat_done + fi + ;; + restart) + $0 stop + sleep 5 + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0 diff --git a/abs/extra/doxygen/PKGBUILD b/abs/extra/doxygen/PKGBUILD index 5959ce5..272c267 100644 --- a/abs/extra/doxygen/PKGBUILD +++ b/abs/extra/doxygen/PKGBUILD @@ -1,7 +1,7 @@ -# $Id: PKGBUILD 14308 2008-10-05 15:59:28Z dan $ +# $Id: PKGBUILD 84267 2010-06-28 05:13:23Z dan $ # Maintainer: Dan McGee <dan@archlinux.org> pkgname=doxygen -pkgver=1.5.7.1 +pkgver=1.7.1 pkgrel=1 pkgdesc="A documentation system for C++, C, Java, IDL and PHP" license=('GPL') @@ -9,17 +9,17 @@ arch=(i686 x86_64) url="http://www.doxygen.org/" depends=('gcc-libs') # qt required to build and run doxywizard, but don't want to drag it in -makedepends=('flex' 'qt3') +makedepends=('flex' 'qt') optdepends=('graphviz: for caller/callee graph generation' - 'qt3: for doxywizard') + 'qt: for doxywizard') source=(ftp://ftp.stack.nl/pub/users/dimitri/${pkgname}-${pkgver}.src.tar.gz) build() { - . /etc/profile.d/qt3.sh cd ${startdir}/src/${pkgname}-${pkgver} - ./configure --prefix /usr --with-doxywizard + QTDIR=/usr ./configure --prefix /usr --with-doxywizard make || return 1 make INSTALL=${startdir}/pkg/usr MAN1DIR=share/man/man1 install } -md5sums=('bc35dfd52bdae0247b862e67e0cbe7d7') +md5sums=('13e76e10fb55581a16ee04de35c264f0') + diff --git a/abs/extra/doxygen/PKGBUILD.orig b/abs/extra/doxygen/PKGBUILD.orig new file mode 100644 index 0000000..f4b09d2 --- /dev/null +++ b/abs/extra/doxygen/PKGBUILD.orig @@ -0,0 +1,24 @@ +# $Id: PKGBUILD 14308 2008-10-05 15:59:28Z dan $ +# Maintainer: Dan McGee <dan@archlinux.org> +pkgname=doxygen +pkgver=1.7.1 +pkgrel=1 +pkgdesc="A documentation system for C++, C, Java, IDL and PHP" +license=('GPL') +arch=(i686 x86_64) +url="http://www.doxygen.org/" +depends=('gcc-libs') +# qt required to build and run doxywizard, but don't want to drag it in +makedepends=('flex' 'qt3') +optdepends=('graphviz: for caller/callee graph generation' + 'qt3: for doxywizard') +source=(ftp://ftp.stack.nl/pub/users/dimitri/${pkgname}-${pkgver}.src.tar.gz) + +build() { + . /etc/profile.d/qt3.sh + cd ${startdir}/src/${pkgname}-${pkgver} + ./configure --prefix /usr --with-doxywizard + make || return 1 + make INSTALL=${startdir}/pkg/usr MAN1DIR=share/man/man1 install +} +md5sums=('13e76e10fb55581a16ee04de35c264f0') diff --git a/abs/extra/dpgconv/PKGBUILD b/abs/extra/dpgconv/PKGBUILD new file mode 100644 index 0000000..82fe117 --- /dev/null +++ b/abs/extra/dpgconv/PKGBUILD @@ -0,0 +1,22 @@ +# Contributor: Nick B <Shirakawasuna at gmail _dot_com> +pkgname=dpgconv +pkgver=9 +pkgrel=1 +pkgdesc="This is a converter to produce DPG movies for Moonshell software for Nintendo DS." +arch=('i686' 'x86_64') +url="http://theli.is-a-geek.org/blog/static/dpgconv" +license=('GPL2') +depends=('mpeg_stat' 'mplayer') +source=(http://theli.is-a-geek.org/files/dpgconv/dpgconv-$pkgver.py.bz2 + dpgconv-panscan.patch) + +build() { + +cd $startdir/src +patch < dpgconv-panscan.patch +install -m755 -D $startdir/src/dpgconv-$pkgver.py $startdir/pkg/usr/bin/dpgconv-$pkgver.py +cd $startdir/pkg/usr/bin +ln -s dpgconv-$pkgver.py dpgconv.py +} +md5sums=('fa61ceb4ebb241e98fc005aed86406e5') + diff --git a/abs/extra/dpgconv/dpgconv-panscan.patch b/abs/extra/dpgconv/dpgconv-panscan.patch new file mode 100644 index 0000000..471d518 --- /dev/null +++ b/abs/extra/dpgconv/dpgconv-panscan.patch @@ -0,0 +1,83 @@ +--- dpgconv-9.py.old 2009-10-28 19:33:46.000000000 +1030 ++++ dpgconv-9.py 2009-10-28 19:28:01.000000000 +1030 +@@ -49,9 +49,12 @@ + --width xxx + destination video width (default: 256) + --keep-aspect +- try to keep aspect ratio ++ try to keep aspect ratio by letterboxing ++ --keep-aspect-panscan ++ try to keep aspect ratio by cropping original + + NOTE: width/height have no effect when --keep-aspect is set ++ --keep-aspect-panscan overrides --keep-aspect + + --mv + additional parameters for mencoder for video +@@ -150,8 +153,38 @@ + v_pf = "format=rgb24," + options.pf = 3 + +- if options.aspect: +- aspect = commands.getoutput( MPLAYER + " -frames 1 -vo null -ao null -identify \"" + file + "\" | grep -E \"^ID_VIDEO_ASPECT\"") ++ crop="" ++ if options.panscan: ++ options.width=256 ++ options.height=192 ++ ++ aspect = commands.getoutput( MPLAYER + " -frames 1 -vo null -ao null -identify \"" + file + "\" | grep -E \"^ID_VIDEO_ASPECT\" | tail -1") ++ p1 = re.compile ("ID_VIDEO_ASPECT=(.*)") ++ m1 = p1.search( aspect ) ++ width = commands.getoutput( MPLAYER + " -frames 1 -vo null -ao null -identify \"" + file + "\" | grep -E \"^ID_VIDEO_WIDTH\" | tail -1") ++ p2 = re.compile ("ID_VIDEO_WIDTH=(.*)") ++ m2 = p2.search( width ) ++ height = commands.getoutput( MPLAYER + " -frames 1 -vo null -ao null -identify \"" + file + "\" | grep -E \"^ID_VIDEO_HEIGHT\" | tail -1") ++ p3 = re.compile ("ID_VIDEO_HEIGHT=(.*)") ++ m3 = p3.search( height ) ++ if m1 and m2 and m3: ++ print "Input Aspect %s" % m1.group(1) ++ print "Input Width %s" % m2.group(1) ++ print "Input Height %s" % m3.group(1) ++ ar = float (m1.group(1)) ++ iw = int (m2.group(1)) ++ ih = int (m3.group(1)) ++ if aspect > 1.333333: ++ cropw=int(round(iw / ar * 4 / 3, 0)) ++ croph=ih ++ else: ++ cropw=iw ++ croph=int(round(ih * ar * 3 / 4, 0)) ++ crop="crop="+`cropw`+":"+`croph`+"," ++ print crop ++ ++ elif options.aspect: ++ aspect = commands.getoutput( MPLAYER + " -frames 1 -vo null -ao null -identify \"" + file + "\" | grep -E \"^ID_VIDEO_ASPECT\" | tail -1") + p = re.compile ("ID_VIDEO_ASPECT=(.*)") + m = p.search( aspect ) + if m: +@@ -169,13 +202,13 @@ + if options.fps < 24: + print "mencoder won't work with double pass and fps < 24, forcing fps = 24" + options.fps = 24 +- v_cmd = ( " \""+ file +"\" -v -ofps " + `options.fps` + " -sws 9 -vf " + v_pf + "scale=" + `options.width` + ":" + `options.height` +":::3,harddup -nosound -ovc lavc -lavcopts vcodec=mpeg1video:vstrict=-2:mbd=2:trell:cbp:mv0:vmax_b_frames=2:cmp=6:subcmp=6:precmp=6:dia=4:predia=4:bidir_refine=4:mv0_threshold=0:last_pred=3:vbitrate=" + `options.vbps` ) ++ v_cmd = ( " \""+ file +"\" -v -ofps " + `options.fps` + " -sws 9 -vf " + v_pf + crop + "scale=" + `options.width` + ":" + `options.height` +":::3,harddup -nosound -ovc lavc -lavcopts vcodec=mpeg1video:vstrict=-2:mbd=2:trell:cbp:mv0:vmax_b_frames=2:cmp=6:subcmp=6:precmp=6:dia=4:predia=4:bidir_refine=4:mv0_threshold=0:last_pred=3:vbitrate=" + `options.vbps` ) + elif options.hq: +- v_cmd = ( " \""+ file +"\" -v -ofps " + `options.fps` + " -sws 9 -vf " + v_pf + "scale=" + `options.width` + ":" + `options.height` +":::3,harddup -nosound -ovc lavc -lavcopts vcodec=mpeg1video:vstrict=-2:mbd=2:trell:cbp:mv0:cmp=6:subcmp=6:precmp=6:dia=3:predia=3:last_pred=3:vbitrate=" + `options.vbps` + " -o " + MPGTMP + " -of rawvideo" ) ++ v_cmd = ( " \""+ file +"\" -v -ofps " + `options.fps` + " -sws 9 -vf " + v_pf + crop + "scale=" + `options.width` + ":" + `options.height` +":::3,harddup -nosound -ovc lavc -lavcopts vcodec=mpeg1video:vstrict=-2:mbd=2:trell:cbp:mv0:cmp=6:subcmp=6:precmp=6:dia=3:predia=3:last_pred=3:vbitrate=" + `options.vbps` + " -o " + MPGTMP + " -of rawvideo" ) + elif options.lq: +- v_cmd = ( " \"" + file + "\" -v -ofps " + `options.fps` + " -vf " + v_pf + "scale=" + `options.width` + ":" + `options.height` + ",harddup -nosound -ovc lavc -lavcopts vcodec=mpeg1video:vstrict=-2:vbitrate=" + `options.vbps` + " -o " + MPGTMP + " -of rawvideo" ) ++ v_cmd = ( " \"" + file + "\" -v -ofps " + `options.fps` + " -vf " + v_pf + crop + "scale=" + `options.width` + ":" + `options.height` + ",harddup -nosound -ovc lavc -lavcopts vcodec=mpeg1video:vstrict=-2:vbitrate=" + `options.vbps` + " -o " + MPGTMP + " -of rawvideo" ) + else : +- v_cmd = ( " \""+ file +"\" -v -ofps " + `options.fps` + " -sws 9 -vf " + v_pf + "scale=" + `options.width` + ":" + `options.height` + ":::3,harddup -nosound -ovc lavc -lavcopts vcodec=mpeg1video:vstrict=-2:mbd=2:trell:cbp:mv0:cmp=2:subcmp=2:precmp=2:vbitrate=" + `options.vbps` + " -o " + MPGTMP + " -of rawvideo") ++ v_cmd = ( " \""+ file +"\" -v -ofps " + `options.fps` + " -sws 9 -vf " + v_pf + crop + "scale=" + `options.width` + ":" + `options.height` + ":::3,harddup -nosound -ovc lavc -lavcopts vcodec=mpeg1video:vstrict=-2:mbd=2:trell:cbp:mv0:cmp=2:subcmp=2:precmp=2:vbitrate=" + `options.vbps` + " -o " + MPGTMP + " -of rawvideo") + + if options.nosub: + if options.sub != None: +@@ -459,6 +492,7 @@ + parser.add_option("-a","--abps", type="int", dest="abps", default=128) + parser.add_option("--volnorm", action="store_true", dest="volnorm", default=False) + parser.add_option("--keep-aspect", action="store_true", dest="aspect", default=False) ++parser.add_option("--keep-aspect-panscan", action="store_true", dest="panscan", default=False) + parser.add_option("--height", type="int", dest="height", default=192) + parser.add_option("--width", type="int", dest="width", default=256) + parser.add_option("-z","--hz", type="int", dest="hz", default=32000) diff --git a/abs/extra/enchant/PKGBUILD b/abs/extra/enchant/PKGBUILD index e22aa05..0937bd8 100644 --- a/abs/extra/enchant/PKGBUILD +++ b/abs/extra/enchant/PKGBUILD @@ -1,7 +1,7 @@ # $Id: PKGBUILD 2581 2008-06-08 12:52:18Z jgc $ # Maintainer: dorphell <dorphell@archlinux.org> pkgname=enchant -pkgver=1.4.2 +pkgver=1.6.0 pkgrel=1 pkgdesc="A wrapper library for generic spell checking" arch=(i686 x86_64) @@ -11,7 +11,6 @@ makedepends=('hspell') options=(!libtool) source=(http://www.abisource.com/downloads/enchant/${pkgver}/${pkgname}-${pkgver}.tar.gz) url="http://www.abisource.com/enchant/" -md5sums=('fe4558269ff59f569ab9581c907d58cb') build() { cd ${startdir}/src/${pkgname}-${pkgver} @@ -19,3 +18,4 @@ build() { make || return 1 make DESTDIR=${startdir}/pkg install || return 1 } +md5sums=('de11011aff801dc61042828041fb59c7') diff --git a/abs/extra/evrouter/PKGBUILD b/abs/extra/evrouter/PKGBUILD index e4fb59d..0f7d7b7 100644 --- a/abs/extra/evrouter/PKGBUILD +++ b/abs/extra/evrouter/PKGBUILD @@ -1,18 +1,19 @@ # Contributor: Jonathan Liu <net147@hotmail.com> pkgname=evrouter -pkgver=0.3.3 -pkgrel=2 +pkgver=0.4 +pkgrel=1 pkgdesc="An Input Event Router for Linux" arch=(i686) url="http://www.bedroomlan.org/~alexios/coding_evrouter.html" license=('GPL2') depends=('libxt' 'libxtst' 'xorg-server') -source=(http://www.bedroomlan.org/~alexios/files/SOFTWARE/evrouter/${pkgname}_${pkgver}.tar.gz) -md5sums=('a20073e04679eb11a5c2da9ab59e75fd') +source=(http://debian.bedroomlan.org/debian/pool/main/e/evrouter/${pkgname}_${pkgver}.tar.gz) build() { - cd "$startdir/src/$pkgname" + cd "${startdir}/src/${pkgname}-${pkgver}" + ./autogen.sh ./configure --prefix=/usr --without-xmms make || return 1 - make DESTDIR="$startdir/pkg" install + make DESTDIR="${startdir}/pkg" install } +md5sums=('eef1b9d8e3b545c330eb025670ffa3e8') diff --git a/abs/extra/evtest/PKGBUILD b/abs/extra/evtest/PKGBUILD new file mode 100644 index 0000000..0952c5e --- /dev/null +++ b/abs/extra/evtest/PKGBUILD @@ -0,0 +1,24 @@ +# Contributor: Andrej Gelenberg <andrej.gelenberg@udo.edu> +pkgname=evtest +pkgver=1.25 +pkgrel=2 +pkgdesc="Simple tool for input event debugging." +arch=('i686' 'x86_64') +url="http://cgit.freedesktop.org/~whot/evtest/" +license=('GPL') +depends=(libxml2) +makedepends=(xmlto asciidoc) +optdepends=(libxslt) +source=("http://cgit.freedesktop.org/~whot/evtest/snapshot/$pkgname-$pkgver.zip" "evtest.diff") + +build() +{ + cd $srcdir/$pkgname-$pkgver + patch -p1 < ../evtest.diff || return 1 + autoreconf -iv + ./configure --prefix=/usr + make || return 1 + make DESTDIR=${startdir}/pkg install +} +md5sums=('1edddfcd366bb52490e08cbf1dbaeddf' + '1753bd5825ca7e5244a1a09029b8a47d') diff --git a/abs/extra/evtest/evtest.diff b/abs/extra/evtest/evtest.diff new file mode 100644 index 0000000..0dc7ba5 --- /dev/null +++ b/abs/extra/evtest/evtest.diff @@ -0,0 +1,32 @@ +diff -ruaN evtest-1.25.orig/evtest-capture.c evtest-1.25/evtest-capture.c +--- evtest-1.25.orig/evtest-capture.c 2009-12-02 22:24:44.000000000 +0000 ++++ evtest-1.25/evtest-capture.c 2010-05-06 08:38:03.000000000 +0000 +@@ -560,16 +560,6 @@ + [ABS_TOOL_WIDTH] = "ABS_TOOL_WIDTH", + [ABS_VOLUME] = "ABS_VOLUME", + [ABS_MISC] = "ABS_MISC", +- [ABS_MT_TOUCH_MAJOR] = "ABS_MT_TOUCH_MAJOR", +- [ABS_MT_TOUCH_MINOR] = "ABS_MT_TOUCH_MINOR", +- [ABS_MT_WIDTH_MAJOR] = "ABS_MT_WIDTH_MAJOR", +- [ABS_MT_WIDTH_MINOR] = "ABS_MT_WIDTH_MINOR", +- [ABS_MT_ORIENTATION] = "ABS_MT_ORIENTATION", +- [ABS_MT_POSITION_X] = "ABS_MT_POSITION_X", +- [ABS_MT_POSITION_Y] = "ABS_MT_POSITION_Y", +- [ABS_MT_TOOL_TYPE] = "ABS_MT_TOOL_TYPE", +- [ABS_MT_BLOB_ID] = "ABS_MT_BLOB_ID", +- [ABS_MT_TRACKING_ID] = "ABS_MT_TRACKING_ID", + }; + + const char *misc[MSC_MAX + 1] = { +diff -ruaN evtest-1.25.orig/evtest.c evtest-1.25/evtest.c +--- evtest-1.25.orig/evtest.c 2009-12-02 22:24:44.000000000 +0000 ++++ evtest-1.25/evtest.c 2010-05-06 08:38:21.000000000 +0000 +@@ -192,7 +192,7 @@ + [BTN_TOOL_MOUSE] = "ToolMouse", [BTN_TOOL_LENS] = "ToolLens", + [BTN_TOUCH] = "Touch", [BTN_STYLUS] = "Stylus", + [BTN_STYLUS2] = "Stylus2", [BTN_TOOL_DOUBLETAP] = "Tool Doubletap", +- [BTN_TOOL_TRIPLETAP] = "Tool Tripletap", [BTN_TOOL_QUADTAP] = "Tool Quadtap", ++ [BTN_TOOL_TRIPLETAP] = "Tool Tripletap", + [BTN_GEAR_DOWN] = "WheelBtn", + [BTN_GEAR_UP] = "Gear up", [KEY_OK] = "Ok", + [KEY_SELECT] = "Select", [KEY_GOTO] = "Goto", diff --git a/abs/extra/fakeroot/PKGBUILD b/abs/extra/fakeroot/PKGBUILD index f8dd4b2..688c3d3 100644 --- a/abs/extra/fakeroot/PKGBUILD +++ b/abs/extra/fakeroot/PKGBUILD @@ -3,8 +3,8 @@ # Contributor: Jochem Kossen <j.kossen@home.nl> pkgname=fakeroot -pkgver=1.12.2 -pkgrel=2 +pkgver=1.14.4 +pkgrel=1 pkgdesc="Gives a fake root environment, useful for building packages as a non-privileged user" arch=('i686' 'x86_64') license=('GPL') @@ -13,8 +13,7 @@ groups=('base-devel') install=fakeroot.install depends=('glibc' 'filesystem' 'grep' 'sed') options=('!libtool') -source=(http://ftp.debian.org/debian/pool/main/f/$pkgname/${pkgname}_${pkgver}.tar.gz) -md5sums=('1eb7d972a19159035892e7d132602726') +source=(http://ftp.debian.org/debian/pool/main/f/$pkgname/${pkgname}_${pkgver}.orig.tar.bz2) build() { cd ${srcdir}/$pkgname-$pkgver @@ -26,3 +25,4 @@ build() { # install README for sysv/tcp usage install -Dm644 $srcdir/$pkgname-$pkgver/README $pkgdir/usr/share/doc/$pkgname/README } +md5sums=('bea628be77838aaa7323a2f7601c2d7e') diff --git a/abs/extra/fftw/PKGBUILD b/abs/extra/fftw/PKGBUILD index 1556108..a4ca689 100644 --- a/abs/extra/fftw/PKGBUILD +++ b/abs/extra/fftw/PKGBUILD @@ -3,7 +3,7 @@ # Contributor: damir <damir@archlinux.org> pkgname=fftw -pkgver=3.2 +pkgver=3.2.2 pkgrel=1 pkgdesc="A library for computing the discrete Fourier transform (DFT)" arch=('i686' 'x86_64') @@ -46,3 +46,4 @@ build() { rm -f $pkgdir/usr/share/info/dir gzip $pkgdir/usr/share/info/* } +md5sums=('b616e5c91218cc778b5aa735fefb61ae') diff --git a/abs/extra/fuppes-svn/PKGBUILD b/abs/extra/fuppes-svn/PKGBUILD index 67936c0..03ffb9c 100644 --- a/abs/extra/fuppes-svn/PKGBUILD +++ b/abs/extra/fuppes-svn/PKGBUILD @@ -2,8 +2,8 @@ # patch for svn r634: Ivan Yurasov <vd@vdk.su> pkgname=fuppes-svn -pkgver=636 -pkgrel=9 +pkgver=664 +pkgrel=1 pkgdesc="A free, multiplatform Universal Plug and Play A/V MediaServer" arch=('i686' 'x86_64') url="http://fuppes.ulrich-voelkel.de/" @@ -12,9 +12,6 @@ depends=('pcre' 'libxml2' 'sqlite3' 'gettext' 'taglib' 'imagemagick' 'ffmpeg' 'l makdepends=('pkgconfig' 'autoconf' 'subversion') install=fuppes.install source=(fuppes-r634-archlinux.patch fuppes.diff fuppes.cfg run fuppes.ch fuppes.lr) -md5sums=('5d9f6331cc91b64aab69449ce327b214' 'c495fa1bd9a870ae36820632434319ee' \ - 'b0cef07d8e60d01c8146a69870672e1f' '3850001378088e5efac60487e5550d54' \ - '3c355b860f1b0d273f5aa8b2bea1bde6') _svnmod="fuppes" _svntrunk="https://fuppes.svn.sourceforge.net/svnroot/fuppes/trunk" @@ -45,8 +42,13 @@ build() cp $startdir/src/fuppes.cfg $startdir/pkg/etc/fuppes mkdir -p $startdir/pkg/etc/cron.hourly mkdir -p $startdir/pkg/etc/logrotate.d/ - mkdir -p $startdir/pkg/etc/sv/fuppes/supervise install -D -m755 $startdir/src/fuppes.ch $startdir/pkg/etc/cron.hourly install -D -m755 $startdir/src/run $startdir/pkg/etc/sv/fuppes install -D -m755 $startdir/src/fuppes.lr $startdir/pkg/etc/logrotate.d } +md5sums=('5d9f6331cc91b64aab69449ce327b214' + 'c495fa1bd9a870ae36820632434319ee' + 'b0cef07d8e60d01c8146a69870672e1f' + '3850001378088e5efac60487e5550d54' + '3c355b860f1b0d273f5aa8b2bea1bde6' + '3151a3862fbc6b758d7ae5776eba3d57') diff --git a/abs/extra/gdl/PKGBUILD b/abs/extra/gdl/PKGBUILD index ee649c2..f7ee580 100644 --- a/abs/extra/gdl/PKGBUILD +++ b/abs/extra/gdl/PKGBUILD @@ -2,7 +2,7 @@ # Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=gdl -pkgver=2.26.0 +pkgver=2.90.0 pkgrel=1 pkgdesc="Gnome Devtool Libraries" arch=(i686 x86_64) @@ -11,8 +11,7 @@ url="http://www.gnome.org/" depends=('libglade>=2.6.4') makedepends=('pkgconfig') options=('!libtool') -source=(http://ftp.gnome.org/pub/GNOME/sources/gdl/2.26/${pkgname}-${pkgver}.tar.bz2) -md5sums=('8915b8808d88e12c1bb53e84f50e6707') +source=(http://ftp.gnome.org/pub/GNOME/sources/gdl/2.90/${pkgname}-${pkgver}.tar.bz2) build() { cd "${srcdir}/${pkgname}-${pkgver}" @@ -21,3 +20,4 @@ build() { make || return 1 make DESTDIR="${pkgdir}" install || return 1 } +md5sums=('7ccaafc1b55c510a4e39ea7e54844bb3') diff --git a/abs/extra/geoip/PKGBUILD b/abs/extra/geoip/PKGBUILD new file mode 100644 index 0000000..9ae74ba --- /dev/null +++ b/abs/extra/geoip/PKGBUILD @@ -0,0 +1,25 @@ +# $Id: PKGBUILD 40078 2009-05-27 06:04:17Z juergen $ +# Maintainer: Dan McGee <dan@archlinux.org> +# Contributor: Manolis Tzanidakis <manolis@archlinux.org> + +pkgname=geoip +pkgver=1.4.6 +pkgrel=1 +pkgdesc="Non-DNS IP-to-country resolver C library & utils" +arch=(i686 x86_64) +license=('GPL') +url="http://www.maxmind.com/app/c" +depends=('zlib') +backup=(etc/geoip/GeoIP.conf) +options=('!libtool') +source=(http://www.maxmind.com/download/geoip/api/c/GeoIP-${pkgver}.tar.gz) +md5sums=('cb14b1beeb40631a12676b11ca0c309a') + +build() { + cd ${startdir}/src/GeoIP-${pkgver} + ./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc/geoip + make || return 1 + make check || return 1 + make DESTDIR=${startdir}/pkg install +} + diff --git a/abs/extra/glew/PKGBUILD b/abs/extra/glew/PKGBUILD index 989621b..1db995d 100644 --- a/abs/extra/glew/PKGBUILD +++ b/abs/extra/glew/PKGBUILD @@ -3,7 +3,7 @@ # Contributor: SleepyDog pkgname=glew -pkgver=1.5.1 +pkgver=1.5.5 pkgrel=1 pkgdesc="A cross-platform C/C++ extension loading library" arch=('i686' 'x86_64') @@ -11,13 +11,13 @@ url="http://glew.sourceforge.net" license=('BSD' 'MIT' 'GPL') depends=('libxmu' 'libxi' 'mesa') makedepends=('hd2u') -source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}-src.tgz) -md5sums=('759a59853dfaae4d007b414a3c1712f2') +source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tgz) build() { - cd ${startdir}/src/${pkgname} + cd ${startdir}/src/${pkgname}-${pkgver} dos2unix config/config.guess make || return 1 make GLEW_DEST=${startdir}/pkg/usr LIBDIR=${startdir}/pkg/usr/lib install || return 1 install -D -m644 LICENSE.txt ${startdir}/pkg/usr/share/licenses/${pkgname}/LICENSE.txt || return 1 } +md5sums=('3621f27cfd3e33d5dbcc1111ecb5b762') diff --git a/abs/extra/gnu-netcat/PKGBUILD b/abs/extra/gnu-netcat/PKGBUILD new file mode 100644 index 0000000..82c90f3 --- /dev/null +++ b/abs/extra/gnu-netcat/PKGBUILD @@ -0,0 +1,23 @@ +# $Id: PKGBUILD 49781 2009-08-15 16:06:57Z jgc $ +# Maintainer: Tom K <tomk@runbox.com> + +pkgname=gnu-netcat +pkgver=0.7.1 +pkgrel=3 +pkgdesc="GNU rewrite of netcat, the network piping application" +depends=('glibc' 'texinfo') +arch=('i686' 'x86_64') +url="http://netcat.sourceforge.net/" +license=('GPL') +replaces=('netcat') +provides=('netcat') +install=gnu-netcat.install +source=(http://internap.dl.sourceforge.net/sourceforge/netcat/netcat-$pkgver.tar.bz2) +md5sums=('0a29eff1736ddb5effd0b1ec1f6fe0ef') + +build() { + cd "${srcdir}/netcat-${pkgver}" + ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info || return 1 + make || return 1 + make DESTDIR="${pkgdir}" install || return 1 +} diff --git a/abs/extra/gnu-netcat/gnu-netcat.install b/abs/extra/gnu-netcat/gnu-netcat.install new file mode 100644 index 0000000..a946aa2 --- /dev/null +++ b/abs/extra/gnu-netcat/gnu-netcat.install @@ -0,0 +1,13 @@ +infodir=/usr/share/info + +post_install() { + install-info $infodir/netcat.info.gz $infodir/dir 2> /dev/null +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + install-info --delete $infodir/netcat.info.gz $infodir/dir 2> /dev/null +} diff --git a/abs/extra/gnupg/PKGBUILD b/abs/extra/gnupg/PKGBUILD new file mode 100644 index 0000000..cb980ce --- /dev/null +++ b/abs/extra/gnupg/PKGBUILD @@ -0,0 +1,25 @@ +# $Id: PKGBUILD 52155 2009-09-16 11:08:07Z allan $ +# Maintainer: Andreas Radke <andyrtr at archlinux.org> +# Committer: Judd Vinet <jvinet@zeroflux.org> +pkgname=gnupg +pkgver=1.4.10 +pkgrel=2 +pkgdesc="GNU Privacy Guard - a PGP replacement tool" +arch=('i686' 'x86_64') +license=('GPL3') +depends=('zlib' 'bzip2' 'libldap>=2.4.11' 'libusb' 'curl>=7.16.2' 'readline>=5.0.00') +source=(ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/gnupg/$pkgname-$pkgver.tar.bz2) +install=gnupg.install +url="http://www.gnupg.org/" +md5sums=('dcf7ed712997888d616e029637bfc303') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + ./configure --prefix=/usr --libexecdir=/usr/lib # docdir can't be set properly + make || return 1 + ln -s ${pkgname}-${pkgver}/scripts .. + make DESTDIR=${pkgdir} install || return 1 + + # fix fileconflict with gnupg2 pkg + rm ${pkgdir}/usr/share/man/man1/gpg-zip.1 +} diff --git a/abs/extra/gnupg/gnupg.install b/abs/extra/gnupg/gnupg.install new file mode 100644 index 0000000..5a67047 --- /dev/null +++ b/abs/extra/gnupg/gnupg.install @@ -0,0 +1,21 @@ +info_dir=/usr/share/info +info_files=(gnupg1.info) + +post_install() { + [ -x usr/bin/install-info ] || return 0 + for f in ${info_files[@]}; do + usr/bin/install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + [ -x usr/bin/install-info ] || return 0 + for f in ${info_files[@]}; do + usr/bin/install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null + done +} +# vim:set ts=2 sw=2 et: diff --git a/abs/extra/gnuplot/PKGBUILD b/abs/extra/gnuplot/PKGBUILD index ec372f0..3b04bde 100644 --- a/abs/extra/gnuplot/PKGBUILD +++ b/abs/extra/gnuplot/PKGBUILD @@ -3,7 +3,7 @@ # Contributor: Niklas Volbers <mithrandir42@web.de> pkgname=gnuplot -pkgver=4.2.5 +pkgver=4.4.0 pkgrel=1 pkgdesc="Command-line driven interactive data and function plotting utility" url="http://www.gnuplot.info" @@ -12,7 +12,6 @@ makedepends=('texinfo') license='custom' arch=('i686') source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz) -md5sums=(85d042f8efd7aae3d9cbfd85b14d06d2) build() { cd $startdir/src/$pkgname-$pkgver @@ -32,3 +31,4 @@ build() { install -D $startdir/src/$pkgname-$pkgver/Copyright $startdir/pkg/usr/share/licenses/custom/gnuplot/Copyright } +md5sums=('e708665bd512153ad5c35252fe499059') diff --git a/abs/extra/gpgme/PKGBUILD b/abs/extra/gpgme/PKGBUILD new file mode 100644 index 0000000..ce03d89 --- /dev/null +++ b/abs/extra/gpgme/PKGBUILD @@ -0,0 +1,25 @@ +# $Id: PKGBUILD 48153 2009-07-31 20:34:25Z tpowa $ +# Maintainer: Roman Kyrylych <roman@archlinux.org> +# Contributor: Sarah Hay <sarah@archlinux.org> + +pkgname=gpgme +pkgver=1.2.0 +pkgrel=1 +pkgdesc="A C wrapper library for GnuPG." +arch=('i686' 'x86_64') +url="http://www.gnupg.org/related_software/gpgme/" +license=('GPL') +depends=('libgpg-error>=1.5' 'pth' 'gnupg') +install=gpgme.install +options=('!libtool' '!emptydirs') +source=(ftp://ftp.gnupg.org/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.gz) +md5sums=('3164bbbd49f94863f2849f39c343521e') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + ./configure --prefix=/usr + make || return 1 + make DESTDIR=${pkgdir} install + rm ${pkgdir}/usr/share/info/dir + gzip ${pkgdir}/usr/share/info/* +} diff --git a/abs/extra/gpgme/__changelog b/abs/extra/gpgme/__changelog new file mode 100644 index 0000000..4074d1b --- /dev/null +++ b/abs/extra/gpgme/__changelog @@ -0,0 +1 @@ +removed gnupg2 requirement diff --git a/abs/extra/gpgme/gpgme.install b/abs/extra/gpgme/gpgme.install new file mode 100644 index 0000000..b54620d --- /dev/null +++ b/abs/extra/gpgme/gpgme.install @@ -0,0 +1,18 @@ +infodir=/usr/share/info +filelist=(gpgme.info gpgme.info-1 gpgme.info-2) + +post_install() { + for file in ${filelist[@]}; do + install-info $infodir/$file $infodir/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + for file in ${filelist[@]}; do + install-info --delete $infodir/$file $infodir/dir 2> /dev/null + done +} diff --git a/abs/extra/gtk-doc/PKGBUILD b/abs/extra/gtk-doc/PKGBUILD index 6bbbb94..3b07565 100644 --- a/abs/extra/gtk-doc/PKGBUILD +++ b/abs/extra/gtk-doc/PKGBUILD @@ -2,7 +2,7 @@ # Maintainer: dorphell <dorphell@archlinux.org> pkgname=gtk-doc -pkgver=1.10 +pkgver=1.15 pkgrel=1 options=('docs') pkgdesc="Used to document the public API of libraries" @@ -13,7 +13,6 @@ makedepends=('pkgconfig' 'jade') install=gtk-doc.install url="http://www.gtk.org/gtk-doc/" source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.bz2) -md5sums=('cbd4be396b0cf8b8ce1fc9b927cdf451') build() { cd ${startdir}/src/${pkgname}-${pkgver} @@ -21,3 +20,4 @@ build() { make || return 1 make DESTDIR=${startdir}/pkg install || return 1 } +md5sums=('c022788b1fbbec30d55df4ccb34eeb90') diff --git a/abs/extra/help2man/PKGBUILD b/abs/extra/help2man/PKGBUILD new file mode 100644 index 0000000..ef9642e --- /dev/null +++ b/abs/extra/help2man/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 67994 2010-02-10 11:34:11Z giovanni $ +# Maintainer: Giovanni Scafora <giovanni@archlinux.org> +# Contributor: Paul Mattal <paul@mattal.com> + +pkgname=help2man +pkgver=1.37.1 +pkgrel=1 +pkgdesc="Conversion tool to create man files" +arch=('i686' 'x86_64') +url="http://www.gnu.org/software/help2man/" +license=('GPL') +depends=('perl-locale-gettext') +source=(http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz + help2man-1.37.1-respect-LDFLAGS.patch) +md5sums=('371b5cc74fe9c2ea3ee1ca23c19b19a8' + '6f80dfd75b46c6bfbc2eeb5516771096') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + patch -Np1 -i ${srcdir}/help2man-1.37.1-respect-LDFLAGS.patch || return 1 + ./configure --prefix=/usr \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --libdir=/lib + make || return 1 + make DESTDIR="${pkgdir}" install || return 1 +} diff --git a/abs/extra/help2man/help2man-1.37.1-respect-LDFLAGS.patch b/abs/extra/help2man/help2man-1.37.1-respect-LDFLAGS.patch new file mode 100644 index 0000000..a314c27 --- /dev/null +++ b/abs/extra/help2man/help2man-1.37.1-respect-LDFLAGS.patch @@ -0,0 +1,11 @@ +--- a/Makefile.in 2009-11-14 07:21:34.000000000 +0100 ++++ b/Makefile.in 2010-02-10 12:23:35.000000000 +0100 +@@ -103,7 +103,7 @@ + + preload: $(preload).so + $(preload).so: $(srcdir)/$(preload).c +- $(CC) $(CFLAGS) -o $@ -fPIC -shared $? $(LIBS) ++ $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ -fPIC -shared $? $(LIBS) + + man: $(target).1 + $(target).1: $(srcdir)/$(target).PL $(srcdir)/$(target).h2m diff --git a/abs/extra/hicolor-icon-theme/PKGBUILD b/abs/extra/hicolor-icon-theme/PKGBUILD index 55e4c34..7109330 100644 --- a/abs/extra/hicolor-icon-theme/PKGBUILD +++ b/abs/extra/hicolor-icon-theme/PKGBUILD @@ -2,14 +2,13 @@ # Maintainer: arjan <arjan@archlinux.org> # Contributer: Jan De Groot <jan@jgc.homeip.net> pkgname=hicolor-icon-theme -pkgver=0.10 +pkgver=0.12 pkgrel=1 pkgdesc="Freedesktop.org Hicolor icon theme" arch=(i686 x86_64) depends=() url="http://icon-theme.freedesktop.org/wiki/HicolorTheme" source=(http://icon-theme.freedesktop.org/releases/${pkgname}-${pkgver}.tar.gz) -md5sums=('3534f7b8e59785c7d5bfa923e85510a7') build() { cd ${startdir}/src/${pkgname}-${pkgver} @@ -17,3 +16,4 @@ build() { make || return 1 make DESTDIR=${startdir}/pkg install } +md5sums=('55cafbcef8bcf7107f6d502149eb4d87') diff --git a/abs/extra/htop/PKGBUILD b/abs/extra/htop/PKGBUILD index 326a98a..95b9660 100644 --- a/abs/extra/htop/PKGBUILD +++ b/abs/extra/htop/PKGBUILD @@ -2,7 +2,7 @@ # Maintainer: Alexander Fehr <pizzapunk gmail com> pkgname=htop -pkgver=0.8.1 +pkgver=0.8.3 pkgrel=1 pkgdesc="Interactive process viewer" arch=('i686' 'x86_64') @@ -10,19 +10,13 @@ url="http://htop.sourceforge.net/" license=('GPL') depends=('ncurses') options=('!emptydirs') -source=(http://downloads.sourceforge.net/htop/htop-$pkgver.tar.gz - htop-treeview.patch) -md5sums=('f0b259ca29175656de48bf0fa0a2e619' - '54613e5237592691da8903fae05780d9') +source=(http://downloads.sourceforge.net/htop/htop-$pkgver.tar.gz) build() { cd "$srcdir/htop-$pkgver" - - # Fix tree view - # http://sourceforge.net/tracker2/?func=detail&aid=2343835&group_id=108839&atid=651635 - patch -Np1 -i "$srcdir/htop-treeview.patch" || return 1 - + sed -i 's|ncursesw/curses.h|curses.h|' RichString.h RichString.c || return 1 ./configure --prefix=/usr --enable-unicode || return 1 make || return 1 make DESTDIR="$pkgdir" install || return 1 } +md5sums=('5c9f093f9eaddf6e77aa6d54c2116d0c') diff --git a/abs/extra/huludesktop/PKGBUILD b/abs/extra/huludesktop/PKGBUILD new file mode 100644 index 0000000..b215d19 --- /dev/null +++ b/abs/extra/huludesktop/PKGBUILD @@ -0,0 +1,21 @@ +pkgname=huludesktop +pkgver=0.1 +pkgrel=5 +pkgdesc="Hulu Desktop for Linux" +arch=(i686) +url="http://www.hulu.com/labs/hulu-desktop-linux" +license=('unknown') +makedepends=('deb2targz') +depends=('glib2' 'gtk2' 'lirc' 'flashplugin') +install=huludesktop.install +options=('') +source=('http://download.hulu.com/huludesktop_i386.deb' 'huludesktop') +md5sums=('ee339181b7fb206e2ca2795d46213529') + +build() { + cd $startdir/src + deb2targz huludesktop_i386.deb + tar -xzvf huludesktop_i386.tar.gz -C $pkgdir + mkdir -p $pkgdir/home/mythtv + cp huludesktop $pkgdir/home/mythtv/.huludesktop +} diff --git a/abs/extra/huludesktop/huludesktop b/abs/extra/huludesktop/huludesktop new file mode 100644 index 0000000..c3ae870 --- /dev/null +++ b/abs/extra/huludesktop/huludesktop @@ -0,0 +1,25 @@ +[display] +fullscreen = TRUE +width = 1024 +height = 576 +pos_x = 201 +pos_y = 179 + +[remote] +lirc_device = /dev/lircd +lirc_remote_identifier = mceusb +lirc_release_suffix = _UP +lirc_repeat_threshold = 10 +button_name_up = Up +button_name_down = Down +button_name_left = Left +button_name_right = Right +button_name_select = OK +button_name_menu = Home + +[flash] +flash_location = /usr/lib/mozilla/plugins/libflashplayer.so + +[version] +latest = (null) +eula_version = 0 diff --git a/abs/extra/huludesktop/huludesktop.install b/abs/extra/huludesktop/huludesktop.install new file mode 100644 index 0000000..271c5a1 --- /dev/null +++ b/abs/extra/huludesktop/huludesktop.install @@ -0,0 +1,26 @@ +# arg 1: the new package version +post_install() { + mv /usr/share/mythtv/is.xml /tmp + grep -v -e /mythmenu /tmp/is.xml > /tmp/is.xml.tmp + echo "<!--#Hulu-->" >> /tmp/is.xml.tmp + echo " <button>" >> /tmp/is.xml.tmp + echo " <type>STREAM</type>" >> /tmp/is.xml.tmp + echo " <text>Hulu Desktop</text>" >> /tmp/is.xml.tmp + echo " <action>EXEC huludesktop</action>" >> /tmp/is.xml.tmp + echo " </button>" >> /tmp/is.xml.tmp + echo "<!--#Hulu-->" >> /tmp/is.xml.tmp + echo "" >> /tmp/is.xml.tmp + echo "</mythmenu>" >> /tmp/is.xml.tmp + mv /tmp/is.xml.tmp /usr/share/mythtv/is.xml +} +# arg 1: the new package version +# arg 2: the old package version +post_remove() { + rm -fr /usr/share/mythtv/appletrailer.xml + mv /usr/share/mythtv/is.xml /tmp/is.xml.tmp + sed -e '/\#Hulu/,/\#Hulu/d' < /tmp/is.xml.tmp > /usr/share/mythtv/is.xml +} + +op=$1 +shift +$op $* diff --git a/abs/extra/hunspell/PKGBUILD b/abs/extra/hunspell/PKGBUILD index 2db38c2..07a6e66 100644 --- a/abs/extra/hunspell/PKGBUILD +++ b/abs/extra/hunspell/PKGBUILD @@ -3,7 +3,7 @@ # Contributor: Hussam Al-Tayeb <ht990332@gmail.com> pkgname=hunspell -pkgver=1.2.8 +pkgver=1.2.11 pkgrel=1 pkgdesc="Spell checker and morphological analyzer library and program" arch=('i686' 'x86_64') @@ -12,7 +12,6 @@ license=('GPL' 'LGPL' 'MPL') depends=('gcc-libs') options=('!libtool') source=(http://downloads.sourceforge.net/hunspell/hunspell-$pkgver.tar.gz) -md5sums=('1177af54a09e320d2c24015f29c3a93e') build() { cd "$srcdir/hunspell-$pkgver" @@ -21,3 +20,4 @@ build() { make || return 1 make DESTDIR="$pkgdir" install || return 1 } +md5sums=('8f57cdc4db091d69e1f682ed4d8ab282') diff --git a/abs/extra/hunspell/__changelog b/abs/extra/hunspell/__changelog new file mode 100644 index 0000000..173ca43 --- /dev/null +++ b/abs/extra/hunspell/__changelog @@ -0,0 +1 @@ +update to 1.2.11 diff --git a/abs/extra/icon-naming-utils/PKGBUILD b/abs/extra/icon-naming-utils/PKGBUILD index 82592ff..ce025df 100644 --- a/abs/extra/icon-naming-utils/PKGBUILD +++ b/abs/extra/icon-naming-utils/PKGBUILD @@ -3,7 +3,7 @@ # Contributor: William Rea <sillywilly@gmail.com> pkgname=icon-naming-utils -pkgver=0.8.7 +pkgver=0.8.90 pkgrel=1 pkgdesc="Maps the new names of icons for Tango to the legacy names used by the GNOME and KDE desktops." arch=(i686 x86_64) @@ -11,7 +11,6 @@ license=('GPL') url="http://tango.freedesktop.org/" depends=('perl-xml-simple') source=(http://tango.freedesktop.org/releases/${pkgname}-${pkgver}.tar.bz2) -md5sums=('2bcd77b8b6361831a932a5e76e82b66d') build() { cd ${startdir}/src/${pkgname}-${pkgver} @@ -22,3 +21,4 @@ build() { make DESTDIR=${startdir}/pkg install mv ${startdir}/pkg/usr/share/pkgconfig ${startdir}/pkg/usr/lib/pkgconfig } +md5sums=('dd8108b56130b9eedc4042df634efa66') diff --git a/abs/extra/imdbpy/PKGBUILD b/abs/extra/imdbpy/PKGBUILD new file mode 100644 index 0000000..f3fe589 --- /dev/null +++ b/abs/extra/imdbpy/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 5794 2009-11-19 01:18:33Z andrea $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> +# Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr> +# Contributor: lang2 <wenzhi.liang@gmail.com> + +pkgname=imdbpy +pkgver=4.6 +pkgrel=1 +pkgdesc="Python bindings for imdb" +url="http://imdbpy.sourceforge.net/" +arch=('i686' 'x86_64') +license=('GPL') +depends=('python') +makedepends=('setuptools') +optdepends=('python-lxml' 'python-sqlalchemy' 'python-sqlobject') +source=(http://downloads.sourceforge.net/$pkgname/IMDbPY-$pkgver.tar.gz) + +build(){ + cd "$srcdir/IMDbPY-$pkgver" + python setup.py install --root="$pkgdir" || return 1 + + # fix directories path + mv ${pkgdir}/usr/etc ${pkgdir} + install -d ${pkgdir}/usr/share + mv ${pkgdir}/usr/imdb ${pkgdir}/usr/share + mv ${pkgdir}/usr/doc ${pkgdir}/usr/share/imdb/ +} +md5sums=('876d4cd041fa23633e3637c22bf95622') diff --git a/abs/extra/irqbalance/PKGBUILD b/abs/extra/irqbalance/PKGBUILD index 5d823cd..a21cda2 100644 --- a/abs/extra/irqbalance/PKGBUILD +++ b/abs/extra/irqbalance/PKGBUILD @@ -3,7 +3,7 @@ pkgname=irqbalance pkgver=0.55 -pkgrel=3 +pkgrel=4 pkgdesc="IRQ balancing daemon for SMP systems" arch=('i686' 'x86_64') url="http://www.irqbalance.org/" @@ -11,14 +11,13 @@ license=('GPL') depends=(glib2) makedepends=(pkgconfig) backup=(etc/conf.d/irqbalance) +install=($pkgname.install) source=(http://www.irqbalance.org/releases/$pkgname-$pkgver.tar.gz Makefile.irqbalance irqbalance.conf.d - irqbalance.rc.d) -md5sums=('9f6b314ff1fdc14173abeb40592d4edf' - '45bc9e1d041d8547f2dbf12f887216df' - '336c1ee99818f9ecda1687e34c69fd6b' - '96efae052553711f74a61760cefa93b5') + run + finish + irqbalance.install) build() { cd $srcdir/$pkgname-$pkgver @@ -26,7 +25,15 @@ build() { cp ../Makefile.irqbalance Makefile make || return 1 - install -D -m755 irqbalance $pkgdir/usr/sbin/irqbalance - install -D -m644 ../irqbalance.conf.d $pkgdir/etc/conf.d/irqbalance - install -D -m755 ../irqbalance.rc.d $pkgdir/etc/rc.d/irqbalance + install -D -m755 irqbalance $pkgdir/usr/sbin/irqbalance || return 1 + mkdir -p $pkgdir/etc/sv/irqbalance || return 1 + install -D -m644 ../irqbalance.conf.d $pkgdir/etc/conf.d/irqbalance || return 1 + install -D -m755 ../run $pkgdir/etc/sv/irqbalance || return 1 + install -D -m755 ../finish $pkgdir/etc/sv/irqbalance || return 1 } +md5sums=('9f6b314ff1fdc14173abeb40592d4edf' + '45bc9e1d041d8547f2dbf12f887216df' + '336c1ee99818f9ecda1687e34c69fd6b' + '7f3ee7fb2fccb619f7c66668b6d96d35' + 'ebb35e88267f4c2e6f68e675c81b2a34' + '5f5e96d2fbf35e85d4a8004a3d6b73fc') diff --git a/abs/extra/irqbalance/finish b/abs/extra/irqbalance/finish new file mode 100644 index 0000000..ccd9278 --- /dev/null +++ b/abs/extra/irqbalance/finish @@ -0,0 +1,15 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +PID=`pidof -o %PPID /usr/sbin/irqbalance` + + stat_runit "Stopping IRQ balancing" + [ ! -z "$PID" ] && kill $PID &> /dev/null + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon irqbalance + stat_done + fi diff --git a/abs/extra/irqbalance/irqbalance.install b/abs/extra/irqbalance/irqbalance.install new file mode 100644 index 0000000..d4e15f1 --- /dev/null +++ b/abs/extra/irqbalance/irqbalance.install @@ -0,0 +1,10 @@ +post_install () { + add_service.sh irqbalance + +} + +pre_remove () { + remove_service.sh irqbalance + +} + diff --git a/abs/extra/irqbalance/run b/abs/extra/irqbalance/run new file mode 100644 index 0000000..f0d18f7 --- /dev/null +++ b/abs/extra/irqbalance/run @@ -0,0 +1,25 @@ +#!/bin/bash + +# source application-specific settings +ONESHOT=0 +[ -f /etc/conf.d/irqbalance ] && . /etc/conf.d/irqbalance + +if [ "$ONESHOT" -ne 0 ]; then + ONESHOT_CMD="oneshot" +fi + +. /etc/rc.conf +. /etc/rc.d/functions + +PID=`pidof -o %PPID /usr/sbin/irqbalance` + + stat_runit "Starting IRQ balancing" + [ -z "$PID" ] && /usr/sbin/irqbalance --debug $ONESHOT_CMD >/dev/null + if [ $? -gt 0 ]; then + stat_fail + else + if [ "$ONESHOT" -eq 0 ]; then + add_daemon irqbalance + fi + stat_done + fi diff --git a/abs/extra/iso-codes/PKGBUILD b/abs/extra/iso-codes/PKGBUILD index 21504a3..9477d74 100644 --- a/abs/extra/iso-codes/PKGBUILD +++ b/abs/extra/iso-codes/PKGBUILD @@ -2,14 +2,13 @@ # Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=iso-codes -pkgver=2.0 +pkgver=3.18 pkgrel=1 arch=(i686 x86_64) license=('LGPL') pkgdesc="Lists of the country, language, and currency names" source=(ftp://pkg-isocodes.alioth.debian.org/pub/pkg-isocodes/${pkgname}-${pkgver}.tar.bz2) url="http://pkg-isocodes.alioth.debian.org/" -md5sums=('58e7fee45749583e11a3880c8e1ae567') build() { cd ${srcdir}/${pkgname}-${pkgver} @@ -17,3 +16,4 @@ build() { make || return 1 make DESTDIR=${pkgdir} pkgconfigdir=/usr/lib/pkgconfig install || return 1 } +md5sums=('96d22a03e307a8e0ca1e43280392cdc4') diff --git a/abs/extra/iw/PKGBUILD b/abs/extra/iw/PKGBUILD index 052e6d0..2f66bdc 100644 --- a/abs/extra/iw/PKGBUILD +++ b/abs/extra/iw/PKGBUILD @@ -2,7 +2,7 @@ # Maintainer: Thomas Baechler <thomas@archlinux.org> pkgname=iw -pkgver=0.9.8 +pkgver=0.9.20 pkgrel=1 pkgdesc="nl80211 based CLI configuration utility for wireless devices" arch=("i686" "x86_64") @@ -11,10 +11,10 @@ license=("GPL") depends=("libnl") makedepends=("kernel-headers") source=(http://wireless.kernel.org/download/$pkgname/$pkgname-$pkgver.tar.bz2) -md5sums=('d39f85e3866b1be5533fe0edce412951') build() { cd $pkgname-$pkgver make || return 1 make DESTDIR=$pkgdir install } +md5sums=('1055799b544b3e08169d155bb6c21bb0') diff --git a/abs/extra/lcdproc/PKGBUILD b/abs/extra/lcdproc/PKGBUILD index 7ee6e50..e5cc719 100644 --- a/abs/extra/lcdproc/PKGBUILD +++ b/abs/extra/lcdproc/PKGBUILD @@ -1,29 +1,26 @@ # Contributor: Bernhard Walle <bernhard.walle@gmx.de> pkgname=lcdproc -pkgver=0.5.2 -pkgrel=2 +pkgver=0.5.3 +pkgrel=3 pkgdesc="LCDproc is a utility to drive one or more LCD (and LCD-like) devices attached to a host." url="http://lcdproc.omnipotent.net/" license="GPL" depends=(libusb serdisplib libftdi autoconf automake lirc libnxml libmrss pkgconfig xosd) backup=(etc/LCDd.conf) arch=(i686 x86_64) +install=lcdproc.install source=(http://switch.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz - lcdd lcdproc-add-serdisplib ) -md5sums=('860f192d061d87dda6512b11b79daac2' - '56f52dcccd6e129a9cf84cd1a0452d56' - '274322642740ad323c43ec5d324519d4') build() { cd $startdir/src/$pkgname-$pkgver - patch -p1 < ../lcdproc-add-serdisplib +# patch -p1 < ../lcdproc-add-serdisplib autoreconf ./configure --prefix=/usr --sysconfdir=/etc --enable-libusb --enable-lcdproc-menus --enable-stat-smbfs --enable-drivers=all make make DESTDIR=$startdir/pkg install - sed -e "s/server\/drivers\//\/usr\/lib\/lcdproc\//g" LCDd.conf > $startdir/pkg/etc/LCDd.conf - mkdir -p $startdir/pkg/etc/rc.d - install -m 755 $startdir/src/lcdd $startdir/pkg/etc/rc.d + sed -e "s/server\/drivers\//\/usr\/lib\/lcdproc\//g" LCDd.conf > $pkgdir/etc/LCDd.conf } +md5sums=('fe9a7c9d8f2c5e76250ce2ea8f644921' + '274322642740ad323c43ec5d324519d4') diff --git a/abs/extra/lcdproc/__changelog b/abs/extra/lcdproc/__changelog index 52c2d35..96fd954 100644 --- a/abs/extra/lcdproc/__changelog +++ b/abs/extra/lcdproc/__changelog @@ -1 +1,4 @@ -add xosd
\ No newline at end of file +add xosd +# mihanson 2010-04-05 +updated to 0.5.3 +removed lcdproc-add-serdisplib as it does not appear to be needed anymore diff --git a/abs/extra/lcdproc/lcdproc.install b/abs/extra/lcdproc/lcdproc.install new file mode 100644 index 0000000..bd3c85e --- /dev/null +++ b/abs/extra/lcdproc/lcdproc.install @@ -0,0 +1,7 @@ +post_install() { + add_service.sh lcdd +} + +pre_remove() { + remove_service.sh lcdd +} diff --git a/abs/extra/libbonobo/PKGBUILD b/abs/extra/libbonobo/PKGBUILD index 93e2538..de48e25 100644 --- a/abs/extra/libbonobo/PKGBUILD +++ b/abs/extra/libbonobo/PKGBUILD @@ -2,7 +2,7 @@ # Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=libbonobo -pkgver=2.24.1 +pkgver=2.24.3 pkgrel=1 pkgdesc="A set of language and system independant CORBA interfaces for creating reusable components" arch=(i686 x86_64) @@ -16,8 +16,6 @@ url="http://www.gnome.org" source=(http://ftp.gnome.org/pub/gnome/sources/libbonobo/2.24/libbonobo-${pkgver}.tar.bz2 bonobo-activation-config.xml) install=libbonobo.install -md5sums=('8868b6083392964a6969547ceb8d7cd1' - '6392efaca30a26f826eafc4b8ccbc01f') build() { cd "${srcdir}/${pkgname}-${pkgver}" @@ -28,3 +26,5 @@ build() { make DESTDIR="${pkgdir}" install || return 1 install -m644 "${srcdir}/bonobo-activation-config.xml" "${pkgdir}/etc/bonobo-activation/" || return 1 } +md5sums=('b217cef6a187505290c66c5bf8225d38' + '6392efaca30a26f826eafc4b8ccbc01f') diff --git a/abs/extra/libbonoboui/PKGBUILD b/abs/extra/libbonoboui/PKGBUILD index b008798..7118102 100644 --- a/abs/extra/libbonoboui/PKGBUILD +++ b/abs/extra/libbonoboui/PKGBUILD @@ -2,7 +2,7 @@ # Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=libbonoboui -pkgver=2.24.1 +pkgver=2.24.3 pkgrel=1 pkgdesc="User Interface library for Bonobo" arch=(i686 x86_64) @@ -12,7 +12,6 @@ makedepends=('perlxml' 'pkgconfig') options=('!libtool' '!emptydirs') url="http://www.gnome.org" source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.24/${pkgname}-${pkgver}.tar.bz2) -md5sums=('9ff3ec1c7aefd0b1a15a5b21ecc7b4e4') build() { cd "${srcdir}/${pkgname}-${pkgver}" @@ -22,3 +21,4 @@ build() { make DESTDIR="${pkgdir}" install || return 1 rm -f "${pkgdir}/usr/share/applications/bonobo-browser.desktop" } +md5sums=('3a754b1df0a4d5fd4836a05020a0bb4a') diff --git a/abs/extra/libcdio/PKGBUILD b/abs/extra/libcdio/PKGBUILD index d3aaaa9..1d4cacf 100644 --- a/abs/extra/libcdio/PKGBUILD +++ b/abs/extra/libcdio/PKGBUILD @@ -3,8 +3,8 @@ # Contributor: damir <damir@archlinux.org> pkgname=libcdio -pkgver=0.80 -pkgrel=3 +pkgver=0.82 +pkgrel=1 pkgdesc="GNU Compact Disc Input and Control Library" arch=("i686" "x86_64") license=('GPL') @@ -12,7 +12,6 @@ url="http://www.gnu.org/software/libcdio/" depends=('gcc-libs>=4.3.0' 'libcddb' 'ncurses') options=('!libtool') source=(http://ftp.gnu.org/gnu/libcdio/$pkgname-$pkgver.tar.gz) -md5sums=('6495add276ed11b7ac8a88092799ab4f') build() { cd $startdir/src/$pkgname-$pkgver @@ -24,3 +23,4 @@ build() { rm ${pkgdir}/usr/share/info/dir } +md5sums=('1c29b18e01ab2b966162bc727bf3c360') diff --git a/abs/extra/libebml/PKGBUILD b/abs/extra/libebml/PKGBUILD index d537999..ffa4331 100644 --- a/abs/extra/libebml/PKGBUILD +++ b/abs/extra/libebml/PKGBUILD @@ -3,7 +3,7 @@ # Contributor: 03/08/04 <lefungus@altern.org> pkgname=libebml -pkgver=0.7.8 +pkgver=1.0.0 pkgrel=1 pkgdesc="Extensible Binary Meta Language library" arch=(i686 x86_64) @@ -18,6 +18,4 @@ build() { make || return 1 make prefix=$startdir/pkg/usr install } - - -md5sums=('6278109f52e4f9d2c8a8dfc0d668b587') +md5sums=('6d438f03d8928d83a2d120ed02705f03') diff --git a/abs/extra/libftdi/PKGBUILD b/abs/extra/libftdi/PKGBUILD index b435b9a..b5a72da 100644 --- a/abs/extra/libftdi/PKGBUILD +++ b/abs/extra/libftdi/PKGBUILD @@ -1,14 +1,13 @@ # Contributor: Bernhard Walle <bernhard.walle@gmx.de> pkgname=libftdi -pkgver=0.13 -pkgrel=0 +pkgver=0.18 +pkgrel=1 pkgdesc="Library to program and control the FTDI USB controller" url="http://www.intra2net.com/de/produkte/opensource/ftdi/" license="GPL" depends=(libusb) arch=(i686 x86_64) source=(http://www.intra2net.com/de/produkte/opensource/ftdi/TGZ/$pkgname-$pkgver.tar.gz) -md5sums=('7b4a660fd644980f3d45873d156d021a') build() { cd $startdir/src/$pkgname-$pkgver @@ -17,3 +16,4 @@ build() { make DESTDIR=$startdir/pkg install } # :mode=shellscript: +md5sums=('916f65fa68d154621fc0cf1f405f2726') diff --git a/abs/extra/libmatroska/PKGBUILD b/abs/extra/libmatroska/PKGBUILD new file mode 100644 index 0000000..f515d3e --- /dev/null +++ b/abs/extra/libmatroska/PKGBUILD @@ -0,0 +1,20 @@ +# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ +# Maintainer: damir <damir@archlinux.org> +# Contributor 03/08/04 <lefungus@altern.org> + +pkgname=libmatroska +pkgver=1.0.0 +pkgrel=1 +pkgdesc="Matroska library" +arch=(i686 x86_64) +url="http://dl.matroska.org/downloads/libmatroska/" +depends=('libebml>=1.0.0') +#source=(http://www.bunkus.org/videotools/mkvtoolnix/sources/$pkgname-$pkgver.tar.bz2) +source=($url/$pkgname-$pkgver.tar.bz2) + +build() { + cd $startdir/src/$pkgname-$pkgver/make/linux + make sharedlib || return 1 + make prefix=$startdir/pkg/usr install +} +md5sums=('4efcf3945b17a6f0320cf1aaa326a4de') diff --git a/abs/extra/libmms/PKGBUILD b/abs/extra/libmms/PKGBUILD index 81c7474..230b082 100644 --- a/abs/extra/libmms/PKGBUILD +++ b/abs/extra/libmms/PKGBUILD @@ -2,7 +2,7 @@ #Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=libmms -pkgver=0.4 +pkgver=0.5 pkgrel=1 pkgdesc="MMS stream protocol library" arch=(i686 x86_64) @@ -11,7 +11,6 @@ license=(LGPL) depends=('glib2>=2.16.4') options=('!libtool') source=(http://launchpad.net/libmms/trunk/${pkgver}/+download/libmms-${pkgver}.tar.gz) -md5sums=('4a681a815186fe26bb1b02ccea57fb75') build() { cd ${startdir}/src/${pkgname}-${pkgver} @@ -19,3 +18,4 @@ build() { make || return 1 make DESTDIR=${startdir}/pkg install || return 1 } +md5sums=('cf83053ec891f14e73a04c84d9de08ee') diff --git a/abs/extra/lm_sensors/ChangeLog b/abs/extra/lm_sensors/ChangeLog new file mode 100644 index 0000000..dfec49d --- /dev/null +++ b/abs/extra/lm_sensors/ChangeLog @@ -0,0 +1,50 @@ +2010-02-02 Eric Belanger <eric@archlinux.org> + + * lm_sensors 3.1.2-1 + * Upstream update + * Fixed fancontrol daemon script (close FS#17775) + +2009-11-23 Eric Belanger <eric@archlinux.org> + + * lm_sensors 3.1.1-4 + * Added more configs in backup array (close FS#17260) + * Changed rrdtool optdepends to a depends + +2009-11-20 Eric Belanger <eric@archlinux.org> + + * lm_sensors 3.1.1-3 + * Fixed stopping of fancontrol daemon script (close FS#17083) + * Fixed healthd script (close FS#17089) + +2009-09-28 Eric Belanger <eric@archlinux.org> + + * lm_sensors 3.1.1-2 + * Fixed fancontrol daemon script (close FS#15269) + * Added sensord daemon script (close FS#15811) + +2009-06-24 Eric Belanger <eric@archlinux.org> + + * lm_sensors 3.1.1-1 + * Upstream update + * Added healthd daemon (close FS#14597) + +2009-03-03 Eric Belanger <eric@archlinux.org> + + * lm_sensors 3.1.0-1 + * Upstream update + * Updated sensors-detect.patch + +2009-01-03 Eric Belanger <eric@archlinux.org> + + * lm_sensors 3.0.3-2 + * Rebuilt against rrdtool 1.3.5 + +2008-11-08 Eric Belanger <eric@archlinux.org> + + * lm_sensors 3.0.3-1 + * Upstream update + * Updated sensors-detect.patch patch + * FHS man pages + * Changed sensors daemon script to move config in new location (cf. FS#9516) + * Did several other fixes and clean up in sensors daemon script + * Added ChangeLog diff --git a/abs/extra/lm_sensors/PKGBUILD b/abs/extra/lm_sensors/PKGBUILD index 487a6fe..226139a 100644 --- a/abs/extra/lm_sensors/PKGBUILD +++ b/abs/extra/lm_sensors/PKGBUILD @@ -1,41 +1,44 @@ -# $Id: PKGBUILD 8687 2008-08-15 15:06:46Z andyrtr $ -# Maintainer: aurelien <aurelien@archlinux.org> +# $Id: PKGBUILD 67093 2010-02-03 03:55:56Z eric $ +# Maintainer: Eric Belanger <eric@archlinux.org> # Contributor: Aurelien Foret <orelien@chez.com> + pkgname=lm_sensors -pkgver=3.0.2 -pkgrel=2 -pkgdesc="Collection of user space tools for general SMBus access and hardware monitoring." +pkgver=3.1.2 +pkgrel=7 +pkgdesc="Collection of user space tools for general SMBus access and hardware monitoring" arch=('i686' 'x86_64') +url="http://www.lm-sensors.org/" license=('GPL') -depends=('perl' 'sysfsutils') -makedepends=('bison' 'flex' 'rrdtool') -optdepends=('rrdtool: for logging with sensord') -backup=(etc/sensors3.conf) +depends=('perl' 'sysfsutils' 'rrdtool') +backup=('etc/sensors3.conf' 'etc/conf.d/healthd' 'etc/conf.d/sensord') +options=('!emptydirs') install=sensors.install -source=(http://dl.lm-sensors.org/lm-sensors/releases/lm_sensors-$pkgver.tar.bz2 - sensors.rc - fancontrol.rc - sensors-detect.patch) -url="http://www.lm-sensors.org/" -md5sums=('5b210ba9cc01f00161c438fd618484e5' - 'c9f7f38964963ae3ced4dff3f1f0b7b9' - 'f14e335a8eea27388892c36af8099782' - '6fd30ed1e5ac739b8a27f3913ba706f4') +source=(http://dl.lm-sensors.org/lm-sensors/releases/lm_sensors-${pkgver}.tar.bz2 \ + sensors.rc fancontrol.rc sensors-detect.patch healthd healthd.conf healthd.rc \ + sensord.conf sensord.rc) +md5sums=('58a9a225808ac4587c4c8cbd12b40b5c' 'c370f5e620bfe41113354a1e22c0c18c'\ + '1e04aad66debdb72557b4528bf79b742' '47c40b381d1f25d6634ae84cecf35f33'\ + '6549050897c237514aeaa2bb6cfd29ea' 'f649261f52bd4329347bf93f5f83cb0a'\ + '970408d2e509dc4138927020efefe323' '96a8dd468e81d455ec9b165bdf33e0b7'\ + '41a5c20854bbff00ea7174bd2276b736') +sha1sums=('4a3b13e4f9c18c29e7f853739bdd88ca7799fcc7' 'b2e664b9b87759991f02d0a1e8cac5e95098c0a5'\ + '66f3cdde688127f4e4e81b5ec3c180149b5c36ea' '47095a32a918d6be50bd8daa8aaa9c24940d60e9'\ + '78b5cd36c3cb8e98b972cdd8c4a12687d79a79a8' 'c6ddfebc20685ba69700f66038c6b00a7c0bdb80'\ + 'e662881f5d3f3f35a1bc97ba45d2c471dd28c37f' 'de8d4d65406815c389f8a04e2a8508a1ae6749c8'\ + '72a60251d1d55a67307dab4105d9f3f01a080af4') build() { - cd ${srcdir}/$pkgname-$pkgver - patch -Np0 -i ${srcdir}/sensors-detect.patch || return 1 - - make PREFIX=/usr PROG_EXTRA:=sensord user || return 1 - make user_install PREFIX=/usr DESTDIR=${pkgdir} - install -DT -m755 ${srcdir}/$pkgname-$pkgver/prog/sensord/sensord ${pkgdir}/usr/sbin/sensord - - install -DT -m755 ${srcdir}/sensors.rc ${pkgdir}/etc/rc.d/sensors - install -DT -m755 ${srcdir}/fancontrol.rc ${pkgdir}/etc/rc.d/fancontrol + cd "${srcdir}/${pkgname}-${pkgver}" + patch -p1 < ../sensors-detect.patch || return 1 - # remove the static lib - rm -rf ${pkgdir}/usr/lib/libsensors.a + make PROG_EXTRA=sensord BUILD_STATIC_LIB=0 \ + PREFIX=/usr MANDIR=/usr/share/man DESTDIR="${pkgdir}" install || return 1 - # FIXME: avoid conflicts with glibc headers - rm -rf ${pkgdir}/usr/include/linux + install -D -m755 "${srcdir}/sensors.rc" "${pkgdir}/etc/rc.d/sensors" || return 1 + install -D -m755 "${srcdir}/fancontrol.rc" "${pkgdir}/etc/rc.d/fancontrol" || return 1 + install -D -m755 "${srcdir}/healthd" "${pkgdir}/usr/sbin/healthd" || return 1 + install -D -m755 "${srcdir}/healthd.rc" "${pkgdir}/etc/rc.d/healthd" || return 1 + install -D -m644 "${srcdir}/healthd.conf" "${pkgdir}/etc/conf.d/healthd" || return 1 + install -D -m755 "${srcdir}/sensord.rc" "${pkgdir}/etc/rc.d/sensord" || return 1 + install -D -m644 "${srcdir}/sensord.conf" "${pkgdir}/etc/conf.d/sensord" || return 1 } diff --git a/abs/extra/lm_sensors/fancontrol.rc b/abs/extra/lm_sensors/fancontrol.rc index 7fc1bbf..bce5d7e 100644 --- a/abs/extra/lm_sensors/fancontrol.rc +++ b/abs/extra/lm_sensors/fancontrol.rc @@ -3,10 +3,11 @@ . /etc/rc.conf . /etc/rc.d/functions +PID=$(pidof -o %PPID -x /usr/sbin/fancontrol) case "$1" in start) stat_busy "Starting fancontrol" - /usr/sbin/fancontrol >/dev/null 2>&1 & + [ -z "$PID" ] && /usr/sbin/fancontrol >/dev/null 2>&1 & if [ $? -gt 0 ]; then stat_fail else @@ -16,7 +17,7 @@ case "$1" in ;; stop) stat_busy "Stopping fancontrol" - [ -f /var/run/fancontrol.pid ] && kill `cat /var/run/fancontrol.pid` + [ ! -z "$PID" ] && kill $PID &> /dev/null if [ $? -gt 0 ]; then stat_fail else diff --git a/abs/extra/lm_sensors/healthd b/abs/extra/lm_sensors/healthd new file mode 100644 index 0000000..0315dd7 --- /dev/null +++ b/abs/extra/lm_sensors/healthd @@ -0,0 +1,46 @@ +#!/bin/bash + +# +# /usr/sbin/healthd +# + +. /etc/conf.d/healthd + +cmd="${ALARM_CMD}" +addr="${ADMIN_EMAIL}" +slp="${ALARM_SLEEP}" +sensors="/usr/bin/sensors" + + +while [ $# -gt 0 ] ; do + case "${1}" in + -c ) cmd="${2}" ; shift 2 ;; + -m ) addr="${2}" ; shift 2 ;; + -s ) slp="${2}" ; shift 2 ;; + * ) shift 1 ;; + esac +done + +[ -n "${cmd}" ] && [ -n "$( which -- "${cmd%% *}" )" ] || \ + [ -n "${addr}" ] || exit 1 + +[ "${slp}" -ge 2 ] || slp=600 + +while true ; do + sleep 15 + message="$( $sensors )" + case "$message" in + '' ) message='Could not get any sensor values !' ;; + *ALARM* ) : ;; + * ) message='' ;; + esac + if [ -n "$message" ]; then + if [ -n "${addr}" ]; then + echo "$message" | mail -s \ + "Sensors ALARM detected at host: $( hostname )" \ + "${addr}" + fi + [ -z "${cmd}" ] || ${cmd} & + sleep ${slp} + fi +done & diff --git a/abs/extra/lm_sensors/healthd.conf b/abs/extra/lm_sensors/healthd.conf new file mode 100644 index 0000000..36c5f55 --- /dev/null +++ b/abs/extra/lm_sensors/healthd.conf @@ -0,0 +1,16 @@ +# +# /etc/conf.d/healthd +# + +# reset any pending alarms on startup +ALARM_RESET="yes" + +# where to sent mails on alarm +ADMIN_EMAIL="root" + +# Seconds to sleep when alarm detected before checking again +# If you want to fill up your mail inbox set this to 2. ;-) +ALARM_SLEEP=600 + +# command to run in background on each alarm +ALARM_CMD="beep -f 800 -l 500 -d 500 -r 600" diff --git a/abs/extra/lm_sensors/healthd.rc b/abs/extra/lm_sensors/healthd.rc new file mode 100644 index 0000000..7bb7951 --- /dev/null +++ b/abs/extra/lm_sensors/healthd.rc @@ -0,0 +1,52 @@ +#!/bin/bash + +# +# /etc/rc.d/healthd +# + +. /etc/rc.conf +. /etc/rc.d/functions +. /etc/conf.d/healthd + +maybe_alarm_reset() { + case "${ALARM_RESET}" in + yes) /usr/bin/sensors > /dev/null + ;; + no) true + ;; + *) false + esac + return $? +} + +PID=$(pidof -x -o %PPID /usr/sbin/healthd) +case "${1}" in + start) + stat_busy "Starting Health Daemon" + [ -z "${PID}" ] && maybe_alarm_reset && /usr/sbin/healthd &> /dev/null + if [ $? -gt 0 ]; then + stat_fail + else + echo "${PID}" > /var/run/healthd.pid + add_daemon healthd + stat_done + fi + ;; + stop) + stat_busy "Stopping Health Daemon" + [ ! -z "${PID}" ] && kill ${PID} &> /dev/null + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon healthd + stat_done + fi + ;; + restart) + $0 stop + sleep 2 + $0 start + ;; + *) echo "usage: $0 {start|stop|restart}" +esac +exit 0 diff --git a/abs/extra/lm_sensors/sensord.conf b/abs/extra/lm_sensors/sensord.conf new file mode 100644 index 0000000..a1cf091 --- /dev/null +++ b/abs/extra/lm_sensors/sensord.conf @@ -0,0 +1,4 @@ +# +# Parameters to be passed to sensord +# +SENSORD_ARGS="" diff --git a/abs/extra/lm_sensors/sensord.rc b/abs/extra/lm_sensors/sensord.rc new file mode 100644 index 0000000..e3ef4d2 --- /dev/null +++ b/abs/extra/lm_sensors/sensord.rc @@ -0,0 +1,37 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions +. /etc/conf.d/sensord + +PID=$(pidof -o %PPID /usr/sbin/sensord) +case "$1" in + start) + stat_busy "Starting sensord" + [ -z "$PID" ] && /usr/sbin/sensord ${SENSORD_ARGS} + if [ $? -gt 0 ]; then + stat_fail + else + add_daemon sensord + stat_done + fi + ;; + stop) + stat_busy "Stopping sensord" + [ ! -z "$PID" ] && kill $PID &> /dev/null + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon sensord + stat_done + fi + ;; + restart) + $0 stop + sleep 1 + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0 diff --git a/abs/extra/lm_sensors/sensors-detect.patch b/abs/extra/lm_sensors/sensors-detect.patch index 981ed3d..1d12a2c 100644 --- a/abs/extra/lm_sensors/sensors-detect.patch +++ b/abs/extra/lm_sensors/sensors-detect.patch @@ -1,61 +1,61 @@ ---- prog/detect/sensors-detect.orig 2008-02-07 20:59:25.125302226 +0100 -+++ prog/detect/sensors-detect 2008-02-07 21:06:53.821929489 +0100 -@@ -5879,21 +5879,21 @@ - } - } +diff -Naur lm_sensors-3.1.0/prog/detect/sensors-detect lm_sensors-3.1.0-new/prog/detect/sensors-detect +--- lm_sensors-3.1.0/prog/detect/sensors-detect 2009-03-03 20:36:33.000000000 -0500 ++++ lm_sensors-3.1.0-new/prog/detect/sensors-detect 2009-03-03 20:52:06.000000000 -0500 +@@ -5282,21 +5282,21 @@ + } + } -- my $have_sysconfig = -d '/etc/sysconfig'; -- printf "Do you want to \%s /etc/sysconfig/lm_sensors? (\%s): ", -- (-e '/etc/sysconfig/lm_sensors' ? 'overwrite' : 'generate'), -+ my $have_sysconfig = -d '/etc/conf.d'; -+ printf "Do you want to \%s /etc/conf.d/lm_sensors? (\%s): ", -+ (-e '/etc/conf.d/lm_sensors' ? 'overwrite' : 'generate'), - ($have_sysconfig ? 'YES/no' : 'yes/NO'); - $_ = <STDIN>; - if (($have_sysconfig and not m/^\s*n/i) or m/^\s*y/i) { - unless ($have_sysconfig) { -- mkdir '/etc/sysconfig', 0777 -- or die "Sorry, can't create /etc/sysconfig ($!)"; -+ mkdir '/etc/conf.d', 0777 -+ or die "Sorry, can't create /etc/conf.d ($!)"; - } -- open(local *SYSCONFIG, ">/etc/sysconfig/lm_sensors") -- or die "Sorry, can't create /etc/sysconfig/lm_sensors ($!)"; -+ open(local *SYSCONFIG, ">/etc/conf.d/lm_sensors") -+ or die "Sorry, can't create /etc/conf.d/lm_sensors ($!)"; - print SYSCONFIG <<'EOT'; --# /etc/sysconfig/lm_sensors - Defines modules loaded by --# /etc/init.d/lm_sensors -+# /etc/conf.d/lm_sensors - Defines modules loaded by -+# /etc/rc.d/sensors - # Copyright (c) 1998 - 2001 Frodo Looijaard <frodol@dds.nl> +- my $have_sysconfig = -d '/etc/sysconfig'; +- printf "Do you want to \%s /etc/sysconfig/lm_sensors? (\%s): ", +- (-e '/etc/sysconfig/lm_sensors' ? 'overwrite' : 'generate'), ++ my $have_sysconfig = -d '/etc/conf.d'; ++ printf "Do you want to \%s /etc/conf.d/lm_sensors? (\%s): ", ++ (-e '/etc/conf.d/lm_sensors' ? 'overwrite' : 'generate'), + ($have_sysconfig ? 'YES/no' : 'yes/NO'); + $_ = <STDIN>; + if (($have_sysconfig and not m/^\s*n/i) or m/^\s*y/i) { + unless ($have_sysconfig) { +- mkdir('/etc/sysconfig', 0777) +- or die "Sorry, can't create /etc/sysconfig ($!)"; ++ mkdir('/etc/conf.d', 0777) ++ or die "Sorry, can't create /etc/conf.d ($!)"; + } +- open(local *SYSCONFIG, ">/etc/sysconfig/lm_sensors") +- or die "Sorry, can't create /etc/sysconfig/lm_sensors ($!)"; ++ open(local *SYSCONFIG, ">/etc/conf.d/lm_sensors") ++ or die "Sorry, can't create /etc/conf.d/lm_sensors ($!)"; + print SYSCONFIG "# Generated by sensors-detect on " . scalar localtime() . "\n"; + print SYSCONFIG <<'EOT'; +-# This file is sourced by /etc/init.d/lm_sensors and defines the modules to ++# This file is sourced by /etc/rc.d/lm_sensors and defines the modules to + # be loaded/unloaded. # - # This program is free software; you can redistribute it and/or modify -@@ -5914,8 +5914,8 @@ - # See also the lm_sensors homepage at: - # http://www.lm-sensors.org/ - # --# This file is used by /etc/init.d/lm_sensors and defines the modules to --# be loaded/unloaded. This file is sourced into /etc/init.d/lm_sensors. -+# This file is used by /etc/rc.d/sensors and defines the modules to -+# be loaded/unloaded. This file is sourced into /etc/rc.d/sensors. - # - # The format of this file is a shell script that simply defines the modules - # in order as normal variables with the special names: -@@ -5952,12 +5952,12 @@ - print SYSCONFIG $sysconfig; - close(SYSCONFIG); + # The format of this file is a shell script that simply defines variables: +@@ -5322,13 +5322,13 @@ + } + close(SYSCONFIG); + +- print "Copy prog/init/lm_sensors.init to /etc/init.d/lm_sensors\n". ++ print "Copy prog/init/lm_sensors.init to /etc/rc.d/lm_sensors\n". + "for initialization at boot time.\n" +- unless -f "/etc/init.d/lm_sensors"; ++ unless -f "/etc/rc.d/lm_sensors"; -- print "Copy prog/init/lm_sensors.init to /etc/init.d/lm_sensors\n". -+ print "Copy prog/init/lm_sensors.init to /etc/rc.d/sensors\n". - "for initialization at boot time.\n" -- unless -f "/etc/init.d/lm_sensors"; -+ unless -f "/etc/rc.d/sensors"; +- if (-x "/sbin/insserv" && -f "/etc/init.d/lm_sensors") { +- system("/sbin/insserv", "/etc/init.d/lm_sensors"); +- } elsif (-x "/sbin/chkconfig" && -f "/etc/init.d/lm_sensors") { ++ if (-x "/sbin/insserv" && -f "/etc/rc.d/lm_sensors") { ++ system("/sbin/insserv", "/etc/rc.d/lm_sensors"); ++ } elsif (-x "/sbin/chkconfig" && -f "/etc/rc.d/lm_sensors") { + system("/sbin/chkconfig", "lm_sensors", "on"); + if (-x "/sbin/service") { + system("/sbin/service", "lm_sensors", "start"); +@@ -5377,7 +5377,7 @@ + exit -1; + } -- if (-x "/sbin/insserv" && -f "/etc/init.d/lm_sensors") { -- system("/sbin/insserv", "/etc/init.d/lm_sensors"); -+ if (-x "/sbin/insserv" && -f "/etc/rc.d/sensors") { -+ system("/sbin/insserv", "/etc/rc.d/sensors"); - } elsif (-x "/sbin/chkconfig" && -f "/etc/init.d/lm_sensors") { - system("/sbin/chkconfig", "lm_sensors", "on"); - if (-x "/sbin/service") { +- if (-x "/sbin/service" && -f "/etc/init.d/lm_sensors" && ++ if (-x "/sbin/service" && -f "/etc/rc.d/sensors" && + -f "/var/lock/subsys/lm_sensors") { + system("/sbin/service", "lm_sensors", "stop"); + } diff --git a/abs/extra/lm_sensors/sensors.rc b/abs/extra/lm_sensors/sensors.rc index aa086eb..4acde22 100644 --- a/abs/extra/lm_sensors/sensors.rc +++ b/abs/extra/lm_sensors/sensors.rc @@ -1,27 +1,12 @@ #!/bin/bash -# -# chkconfig: 2345 26 74 + # description: sensors is used for monitoring motherboard sensor values. -# config: /etc/sysconfig/sensors -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +# config: /etc/conf.d/lm_sensors # See also the lm_sensors homepage at: # http://www2.lm-sensors.nu/~lm78/index.html -# It uses a config file /etc/sysconfig/sensors that contains the modules to +# It uses a config file /etc/conf.d/lm_sensors that contains the modules to # be loaded/unloaded. That file is sourced into this one. # The format of that file a shell script that simply defines the modules @@ -31,46 +16,52 @@ . /etc/rc.conf . /etc/rc.d/functions -if grep -q sysfs /proc/mounts; then +PSENSORS=/usr/bin/sensors + +if $(grep -q sysfs /proc/mounts); then WITHSYS=1 else WITHSYS=0 fi -CONFIG=/etc/conf.d/lm_sensors -PSENSORS=/usr/bin/sensors -if [ ! -x $PSENSORS ]; then - PSENSORS=/usr/bin/sensors +if [ $WITHSYS == "0" ]; then + # If sensors isn't supported by the kernel, try loading the module... + [ -e /proc/sys/dev/sensors ] || /sbin/modprobe i2c-proc &>/dev/null + + # Don't bother if /proc/sensors still doesn't exist, kernel doesn't have support for sensors. + if ! [ -e /proc/sys/dev/sensors ]; then + echo "lm_sensors: kernel does not have sensors support" + stat_fail + fi + + # If sensors was not already running, unload the module... + [ -e /var/run/daemons/sensors ] || /sbin/modprobe -r i2c-proc &>/dev/null +fi + +if [ -e /etc/conf.d/lm_sensors ]; then + CONFIG=/etc/conf.d/lm_sensors +elif [ -e /etc/sysconfig/lm_sensors ]; then + # Moving config to new Arch-specific location + mv /etc/sysconfig/lm_sensors /etc/conf.d/lm_sensors + CONFIG=/etc/conf.d/lm_sensors fi case "$1" in start) stat_busy "Starting Up Sensors" - if [ $WITHSYS == "0" ]; then - # If sensors isn't supported by the kernel, try loading the module... - [ -e /proc/sys/dev/sensors ] || /sbin/modprobe i2c-proc &>/dev/null - - # Don't bother if /proc/sensors still doesn't exist, kernel doesn't have - # support for sensors. - [ -e /proc/sys/dev/sensors ] || exit 0 - - # If sensors was not already running, unload the module... - [ -e /var/lock/subsys/lm_sensors ] || /sbin/modprobe -r i2c-proc &>/dev/null - fi - - if [ -r "$CONFIG" ]; then - . "$CONFIG" - modules=`grep \^MODULE_ $CONFIG | wc -l | tr -d ' '` - i=0 - while [ $i -lt $modules ] ; do - module=`eval echo '$'MODULE_$i` - #echo starting module __${module}__ #debug - /sbin/modprobe $module &>/dev/null - i=`expr $i + 1` - done + . "$CONFIG" + modules=$(grep \^MODULE_ $CONFIG | wc -l | tr -d ' ') + i=0 + while [ $i -lt $modules ] ; do + module=$(eval echo '$'MODULE_$i) + # echo starting module __${module}__ #debug + /sbin/modprobe $module &>/dev/null + i=$(expr $i + 1) + done fi + $PSENSORS -s if [ $? -gt 0 ]; then @@ -85,14 +76,15 @@ case "$1" in stat_busy "Shutting Down Sensors" if [ -r "$CONFIG" ]; then - . "$CONFIG" - modules=`grep \^MODULE_ $CONFIG | wc -l | tr -d ' '` - i=`expr $modules` - while [ $i -ge 0 ] ; do - module=`eval echo '$'MODULE_$i` - /sbin/modprobe -r $module &>/dev/null - i=`expr $i - 1` - done + . "$CONFIG" + modules=$(grep \^MODULE_ $CONFIG | wc -l | tr -d ' ') + i=$(expr $modules - 1) + while [ $i -ge 0 ] ; do + module=$(eval echo '$'MODULE_$i) + # echo stoping module __${module}__ #debug + /sbin/modprobe -r $module &>/dev/null + i=$(expr $i - 1) + done fi if [ $WITHSYS == "0" ]; then @@ -107,9 +99,8 @@ case "$1" in fi ;; - dostatus) + status) $PSENSORS - RETVAL=$? ;; restart) @@ -119,9 +110,10 @@ case "$1" in ;; condrestart) - [ -e /var/lock/subsys/lm_sensors ] && restart || : + [ -e /var/run/daemons/sensors ] && $0 restart || : ;; *) - echo "Usage: sensors.init {start|stop|status|restart|reload|condrestart}" + echo "Usage: $0 {start|stop|restart|status|condrestart}" esac +exit 0 diff --git a/abs/extra/mediaserv/PKGBUILD b/abs/extra/mediaserv/PKGBUILD index 0ed43fa..59eed79 100644 --- a/abs/extra/mediaserv/PKGBUILD +++ b/abs/extra/mediaserv/PKGBUILD @@ -3,7 +3,7 @@ pkgname=mediaserv pkgver=0.05 -pkgrel=5 +pkgrel=20 pkgdesc="On-demand transcoding server for videos, targetting the Nokia Internet Tablets." arch=('i686' 'x86_64') license=('ARTISTIC') @@ -26,3 +26,8 @@ build() { cp -a ${srcdir}/.mediaserv/* ${pkgdir}/myth/mediaserv install -D -m755 ${srcdir}/run ${srcdir}/finish $startdir/pkg/etc/sv/mediaserv } +md5sums=('94c300a0e95c55dae42a61f77e4e41fe' + 'e7b6fcc91b73939db350c4854c19e9ee' + '68d25630786e76fa36c9e6bb29821367' + 'd047f0fa5f1d39d864debd8a76f677e2' + 'f2022c1cc8f04959299c97edde06d023') diff --git a/abs/extra/mediaserv/linhes-mediaserv.tar.bz2 b/abs/extra/mediaserv/linhes-mediaserv.tar.bz2 Binary files differindex 7630679..6397fb7 100644 --- a/abs/extra/mediaserv/linhes-mediaserv.tar.bz2 +++ b/abs/extra/mediaserv/linhes-mediaserv.tar.bz2 diff --git a/abs/extra/mediaserv/mediaserv.install b/abs/extra/mediaserv/mediaserv.install index 7a26077..4a9de8e 100644 --- a/abs/extra/mediaserv/mediaserv.install +++ b/abs/extra/mediaserv/mediaserv.install @@ -1,8 +1,20 @@ # arg 1: the new package version + + post_install() { - ln -s /myth/mediaserv /home/mythtv/.mediaserv - ln -s /myth/pretty /myth/mediaserv/media/tv - ln -s /myth/video /myth/mediaserv/media/video + if [ ! -e /home/mythtv/.mediaserv ] + then + ln -s /myth/mediaserv /home/mythtv/.mediaserv + fi + + if [ ! -e /myth/mediaserv/media/tv ] + then + ln -s /myth/pretty /myth/mediaserv/media/tv + fi + if [ ! -e /myth/mediaserv/media/video ] + then + ln -s /myth/video /myth/mediaserv/media/video + fi chown -R mythtv.mythtv /myth/mediaserv add_service.sh mediaserv sv start mediaserv diff --git a/abs/extra/mediaserv/run b/abs/extra/mediaserv/run index 82a1705..fbd1c97 100644 --- a/abs/extra/mediaserv/run +++ b/abs/extra/mediaserv/run @@ -4,5 +4,5 @@ export TERM=linux . /etc/rc.conf . /etc/rc.d/functions stat_runit "Starting mediaserv" -exec su mythtv -c "/usr/bin/mediaserv" +exec su mythtv -c "/usr/bin/mediaserv" 2>/dev/null wait diff --git a/abs/extra/mime-types/PKGBUILD b/abs/extra/mime-types/PKGBUILD new file mode 100644 index 0000000..563857d --- /dev/null +++ b/abs/extra/mime-types/PKGBUILD @@ -0,0 +1,17 @@ +# $Id: PKGBUILD 35674 2009-04-15 05:29:19Z eric $ +# Maintainer: Jan de Groot <jgc@archlinux.org> +pkgname=mime-types +pkgver=1.0 +pkgrel=2 +pkgdesc="Provides /etc/mime.types" +arch=('i686' 'x86_64') +url="http://www.archlinux.org/" +license=('GPL2') +backup=('etc/mime.types') +source=(mime.types) +md5sums=('aa90248272ba2e9dca0a243746686739') + +build() { + cd ${srcdir} + install -D -m644 mime.types ${pkgdir}/etc/mime.types || return 1 +} diff --git a/abs/extra/mime-types/mime.types b/abs/extra/mime-types/mime.types new file mode 100644 index 0000000..5a6bbd4 --- /dev/null +++ b/abs/extra/mime-types/mime.types @@ -0,0 +1,758 @@ +############################################################################### +# +# MIME-TYPES and the extensions that represent them +# +# This file is part of the mime-types package, which is based on +# gentoo's "app-misc/mime-types". If you would like new types and/or +# extensions to be added here, please file a bug on http://bugs.archlinux.org +# +# The reason that all types are managed by the mime-support package instead +# allowing individual packages to install types in much the same way as they +# add entries in to the mailcap file is so these types can be referenced by +# other programs (such as a web server) even if the specific support package +# for that type is not installed. +# +# Users can add their own types if they wish by creating a ".mime.types" +# file in their home directory. Definitions included there will take +# precedence over those listed here. +# +# Note: Compression schemes like "gzip", "bzip", and "compress" are not +# actually "mime-types". They are "encodings" and hence must _not_ have +# entries in this file to map their extensions. The "mime-type" of an +# encoded file refers to the type of data that has been encoded, not the +# type of encoding. +# +############################################################################### + + +application/activemessage +application/andrew-inset ez +application/applefile +application/atomicmail +application/batch-SMTP +application/beep+xml +application/cals-1840 +application/commonground +application/cu-seeme cu +application/cybercash +application/dca-rft +application/dec-dx +application/docbook+xml +application/dsptype tsp +application/dvcs +application/edi-consent +application/edi-x12 +application/edifact +application/eshop +application/font-tdpfr +application/futuresplash spl +application/ghostview +application/hta hta +application/http +application/hyperstudio +application/iges +application/index +application/index.cmd +application/index.obj +application/index.response +application/index.vnd +application/iotp +application/ipp +application/isup +application/java-archive jar +application/java-serialized-object ser +application/java-vm class +application/mac-binhex40 hqx +application/mac-compactpro cpt +application/macwriteii +application/marc +application/mathematica nb +application/mathematica-old +application/msaccess mdb +application/msword doc dot +application/news-message-id +application/news-transmission +application/ocsp-request +application/ocsp-response +application/octet-stream bin +application/oda oda +application/ogg ogg +application/parityfec +application/pdf pdf +application/pgp-encrypted +application/pgp-keys key +application/pgp-signature pgp +application/pics-rules prf +application/pkcs10 +application/pkcs7-mime +application/pkcs7-signature +application/pkix-cert +application/pkix-crl +application/pkixcmp +application/postscript ps ai eps +application/prs.alvestrand.titrax-sheet +application/prs.cww +application/prs.nprend +application/qsig +application/rar rar +application/rdf+xml rdf +application/remote-printing +application/riscos +application/rss+xml rss +application/rtf +application/sdp +application/set-payment +application/set-payment-initiation +application/set-registration +application/set-registration-initiation +application/sgml +application/sgml-open-catalog +application/sieve +application/slate +application/smil smi smil +application/timestamp-query +application/timestamp-reply +application/vemmi +application/whoispp-query +application/whoispp-response +application/wita +application/wordperfect wpd +application/wordperfect5.1 wp5 +application/x400-bp +application/xhtml+xml xhtml xht +application/xml xml xsl +application/xml-dtd +application/xml-external-parsed-entity +application/zip zip +application/vnd.3M.Post-it-Notes +application/vnd.accpac.simply.aso +application/vnd.accpac.simply.imp +application/vnd.acucobol +application/vnd.aether.imp +application/vnd.anser-web-certificate-issue-initiation +application/vnd.anser-web-funds-transfer-initiation +application/vnd.audiograph +application/vnd.bmi +application/vnd.businessobjects +application/vnd.canon-cpdl +application/vnd.canon-lips +application/vnd.cinderella cdy +application/vnd.claymore +application/vnd.commerce-battelle +application/vnd.commonspace +application/vnd.comsocaller +application/vnd.contact.cmsg +application/vnd.cosmocaller +application/vnd.ctc-posml +application/vnd.cups-postscript +application/vnd.cups-raster +application/vnd.cups-raw +application/vnd.cybank +application/vnd.dna +application/vnd.dpgraph +application/vnd.dxr +application/vnd.ecdis-update +application/vnd.ecowin.chart +application/vnd.ecowin.filerequest +application/vnd.ecowin.fileupdate +application/vnd.ecowin.series +application/vnd.ecowin.seriesrequest +application/vnd.ecowin.seriesupdate +application/vnd.enliven +application/vnd.epson.esf +application/vnd.epson.msf +application/vnd.epson.quickanime +application/vnd.epson.salt +application/vnd.epson.ssf +application/vnd.ericsson.quickcall +application/vnd.eudora.data +application/vnd.fdf +application/vnd.ffsns +application/vnd.flographit +application/vnd.framemaker +application/vnd.fsc.weblaunch +application/vnd.fujitsu.oasys +application/vnd.fujitsu.oasys2 +application/vnd.fujitsu.oasys3 +application/vnd.fujitsu.oasysgp +application/vnd.fujitsu.oasysprs +application/vnd.fujixerox.ddd +application/vnd.fujixerox.docuworks +application/vnd.fujixerox.docuworks.binder +application/vnd.fut-misnet +application/vnd.grafeq +application/vnd.groove-account +application/vnd.groove-identity-message +application/vnd.groove-injector +application/vnd.groove-tool-message +application/vnd.groove-tool-template +application/vnd.groove-vcard +application/vnd.hhe.lesson-player +application/vnd.hp-HPGL +application/vnd.hp-PCL +application/vnd.hp-PCLXL +application/vnd.hp-hpid +application/vnd.hp-hps +application/vnd.httphone +application/vnd.hzn-3d-crossword +application/vnd.ibm.MiniPay +application/vnd.ibm.afplinedata +application/vnd.ibm.modcap +application/vnd.informix-visionary +application/vnd.intercon.formnet +application/vnd.intertrust.digibox +application/vnd.intertrust.nncp +application/vnd.intu.qbo +application/vnd.intu.qfx +application/vnd.irepository.package+xml +application/vnd.is-xpr +application/vnd.japannet-directory-service +application/vnd.japannet-jpnstore-wakeup +application/vnd.japannet-payment-wakeup +application/vnd.japannet-registration +application/vnd.japannet-registration-wakeup +application/vnd.japannet-setstore-wakeup +application/vnd.japannet-verification +application/vnd.japannet-verification-wakeup +application/vnd.koan +application/vnd.lotus-1-2-3 +application/vnd.lotus-approach +application/vnd.lotus-freelance +application/vnd.lotus-notes +application/vnd.lotus-organizer +application/vnd.lotus-screencam +application/vnd.lotus-wordpro +application/vnd.mcd +application/vnd.mediastation.cdkey +application/vnd.meridian-slingshot +application/vnd.mif +application/vnd.minisoft-hp3000-save +application/vnd.mitsubishi.misty-guard.trustweb +application/vnd.mobius.daf +application/vnd.mobius.dis +application/vnd.mobius.msl +application/vnd.mobius.plc +application/vnd.mobius.txf +application/vnd.motorola.flexsuite +application/vnd.motorola.flexsuite.adsi +application/vnd.motorola.flexsuite.fis +application/vnd.motorola.flexsuite.gotap +application/vnd.motorola.flexsuite.kmr +application/vnd.motorola.flexsuite.ttc +application/vnd.motorola.flexsuite.wem +application/vnd.mozilla.xul+xml xul +application/vnd.ms-artgalry +application/vnd.ms-asf +application/vnd.ms-excel xls xlb xlt +application/vnd.ms-lrm +application/vnd.ms-pki.seccat cat +application/vnd.ms-pki.stl stl +application/vnd.ms-powerpoint ppt pps +application/vnd.ms-project +application/vnd.ms-tnef +application/vnd.ms-works +application/vnd.mseq +application/vnd.msign +application/vnd.music-niff +application/vnd.musician +application/vnd.netfpx +application/vnd.noblenet-directory +application/vnd.noblenet-sealer +application/vnd.noblenet-web +application/vnd.novadigm.EDM +application/vnd.novadigm.EDX +application/vnd.novadigm.EXT +application/vnd.oasis.opendocument.chart odc +application/vnd.oasis.opendocument.database odb +application/vnd.oasis.opendocument.formula odf +application/vnd.oasis.opendocument.graphics odg +application/vnd.oasis.opendocument.graphics-template otg +application/vnd.oasis.opendocument.image odi +application/vnd.oasis.opendocument.presentation odp +application/vnd.oasis.opendocument.presentation-template otp +application/vnd.oasis.opendocument.spreadsheet ods +application/vnd.oasis.opendocument.spreadsheet-template ots +application/vnd.oasis.opendocument.text odt +application/vnd.oasis.opendocument.text-master odm +application/vnd.oasis.opendocument.text-template ott +application/vnd.oasis.opendocument.text-web oth +application/vnd.osa.netdeploy +application/vnd.palm +application/vnd.pg.format +application/vnd.pg.osasli +application/vnd.powerbuilder6 +application/vnd.powerbuilder6-s +application/vnd.powerbuilder7 +application/vnd.powerbuilder7-s +application/vnd.powerbuilder75 +application/vnd.powerbuilder75-s +application/vnd.previewsystems.box +application/vnd.publishare-delta-tree +application/vnd.pvi.ptid1 +application/vnd.pwg-xhtml-print+xml +application/vnd.rapid +application/vnd.rim.cod cod +application/vnd.s3sms +application/vnd.seemail +application/vnd.shana.informed.formdata +application/vnd.shana.informed.formtemplate +application/vnd.shana.informed.interchange +application/vnd.shana.informed.package +application/vnd.smaf mmf +application/vnd.sss-cod +application/vnd.sss-dtf +application/vnd.sss-ntf +application/vnd.stardivision.calc sdc +application/vnd.stardivision.draw sda +application/vnd.stardivision.impress sdd sdp +application/vnd.stardivision.math smf +application/vnd.stardivision.writer sdw vor +application/vnd.stardivision.writer-global sgl +application/vnd.street-stream +application/vnd.sun.xml.calc sxc +application/vnd.sun.xml.calc.template stc +application/vnd.sun.xml.draw sxd +application/vnd.sun.xml.draw.template std +application/vnd.sun.xml.impress sxi +application/vnd.sun.xml.impress.template sti +application/vnd.sun.xml.math sxm +application/vnd.sun.xml.writer sxw +application/vnd.sun.xml.writer.global sxg +application/vnd.sun.xml.writer.template stw +application/vnd.svd +application/vnd.swiftview-ics +application/vnd.symbian.install sis +application/vnd.triscape.mxs +application/vnd.trueapp +application/vnd.truedoc +application/vnd.tve-trigger +application/vnd.ufdl +application/vnd.uplanet.alert +application/vnd.uplanet.alert-wbxml +application/vnd.uplanet.bearer-choice +application/vnd.uplanet.bearer-choice-wbxml +application/vnd.uplanet.cacheop +application/vnd.uplanet.cacheop-wbxml +application/vnd.uplanet.channel +application/vnd.uplanet.channel-wbxml +application/vnd.uplanet.list +application/vnd.uplanet.list-wbxml +application/vnd.uplanet.listcmd +application/vnd.uplanet.listcmd-wbxml +application/vnd.uplanet.signal +application/vnd.vcx +application/vnd.vectorworks +application/vnd.vidsoft.vidconference +application/vnd.visio vsd +application/vnd.vividence.scriptfile +application/vnd.wap.sic +application/vnd.wap.slc +application/vnd.wap.wbxml wbxml +application/vnd.wap.wmlc wmlc +application/vnd.wap.wmlscriptc wmlsc +application/vnd.webturbo +application/vnd.wrq-hp3000-labelled +application/vnd.wt.stf +application/vnd.xara +application/vnd.xfdl +application/vnd.yellowriver-custom-menu +application/x-123 wk +application/x-abiword abw +application/x-apple-diskimage dmg +application/x-bcpio bcpio +application/x-bittorrent torrent +application/x-cdf cdf +application/x-cdlink vcd +application/x-chess-pgn pgn +application/x-core +application/x-cpio cpio +application/x-csh csh +application/x-debian-package deb udeb +application/x-director dcr dir dxr +application/x-dms dms +application/x-doom wad +application/x-dvi dvi +application/x-executable +application/x-flac flac +application/x-font pfa pfb gsf pcf pcf.Z +application/x-freemind mm +application/x-futuresplash spl +application/x-gnumeric gnumeric +application/x-go-sgf sgf +application/x-graphing-calculator gcf +application/x-gtar gtar tgz taz +application/x-hdf hdf +application/x-ica ica +application/x-internet-signup ins isp +application/x-iphone iii +application/x-iso9660-image iso +application/x-java-applet +application/x-java-bean +application/x-java-jnlp-file jnlp +application/x-javascript js +application/x-jmol jmz +application/x-kchart chrt +application/x-kdelnk +application/x-killustrator kil +application/x-koan skp skd skt skm +application/x-kpresenter kpr kpt +application/x-kspread ksp +application/x-kword kwd kwt +application/x-latex latex +application/x-lha lha +application/x-lzh lzh +application/x-lzx lzx +application/x-maker frm maker frame fm fb book fbdoc +application/x-mif mif +application/x-ms-wmd wmd +application/x-ms-wmz wmz +application/x-msdos-program com exe bat dll +application/x-msi msi +application/x-netcdf nc +application/x-ns-proxy-autoconfig pac +application/x-nwc nwc +application/x-object o +application/x-oz-application oza +application/x-pkcs7-certreqresp p7r +application/x-pkcs7-crl crl +application/x-python-code pyc pyo +application/x-quicktimeplayer qtl +application/x-redhat-package-manager rpm +application/x-rx +application/x-sh sh +application/x-shar shar +application/x-shellscript +application/x-shockwave-flash swf swfl +application/x-stuffit sit +application/x-sv4cpio sv4cpio +application/x-sv4crc sv4crc +application/x-tar tar +application/x-tcl tcl +application/x-tex-gf gf +application/x-tex-pk pk +application/x-texinfo texinfo texi +application/x-trash ~ % bak old sik +application/x-troff t tr roff +application/x-troff-man man +application/x-troff-me me +application/x-troff-ms ms +application/x-ustar ustar +application/x-videolan +application/x-wais-source src +application/x-wingz wz +application/x-x509-ca-cert crt +application/x-xcf xcf +application/x-xfig fig +application/x-xpinstall xpi + +audio/32kadpcm +audio/basic au snd +audio/dvi4 +audio/g.722.1 +audio/g722 +audio/g723 +audio/g726-16 +audio/g726-24 +audio/g726-32 +audio/g726-40 +audio/g728 +audio/g729 +audio/g729d +audio/g729e +audio/gsm +audio/gsm-efr +audio/l8 +audio/l16 +audio/lpc +audio/midi mid midi kar +audio/mp4a-latm +audio/mpa +audio/mpa-robust +audio/mpeg mpga mpega mp2 mp3 m4a +audio/mpegurl m3u +audio/parityfec +audio/pcma +audio/pcmu +audio/prs.sid sid +audio/qcelp +audio/red +audio/telephone-event +audio/tone +audio/vdvi +audio/vnd.cisco.nse +audio/vnd.cns.anp1 +audio/vnd.cns.inf1 +audio/vnd.digital-winds +audio/vnd.everad.plj +audio/vnd.lucent.voice +audio/vnd.nortel.vbk +audio/vnd.nuera.ecelp4800 +audio/vnd.nuera.ecelp7470 +audio/vnd.nuera.ecelp9600 +audio/vnd.octel.sbc +audio/vnd.qcelp +audio/vnd.rhetorex.32kadpcm +audio/vnd.vmx.cvsd +audio/x-aiff aif aiff aifc +audio/x-gsm gsm +audio/x-mpegurl m3u +audio/x-ms-wma wma +audio/x-ms-wax wax +audio/x-pn-realaudio-plugin +audio/x-pn-realaudio ra rm ram +audio/x-realaudio ra +audio/x-scpls pls +audio/x-sd2 sd2 +audio/x-wav wav + +chemical/x-alchemy alc +chemical/x-cache cac cache +chemical/x-cache-csf csf +chemical/x-cactvs-binary cbin cascii ctab +chemical/x-cdx cdx +chemical/x-cerius cer +chemical/x-chem3d c3d +chemical/x-chemdraw chm +chemical/x-cif cif +chemical/x-cmdf cmdf +chemical/x-cml cml +chemical/x-compass cpa +chemical/x-crossfire bsd +chemical/x-csml csml csm +chemical/x-ctx ctx +chemical/x-cxf cxf cef +#chemical/x-daylight-smiles smi +chemical/x-embl-dl-nucleotide emb embl +chemical/x-galactic-spc spc +chemical/x-gamess-input inp gam gamin +chemical/x-gaussian-checkpoint fch fchk +chemical/x-gaussian-cube cub +chemical/x-gaussian-input gau gjc gjf +chemical/x-gaussian-log gal +chemical/x-gcg8-sequence gcg +chemical/x-genbank gen +chemical/x-hin hin +chemical/x-isostar istr ist +chemical/x-jcamp-dx jdx dx +chemical/x-kinemage kin +chemical/x-macmolecule mcm +chemical/x-macromodel-input mmd mmod +chemical/x-mdl-molfile mol +chemical/x-mdl-rdfile rd +chemical/x-mdl-rxnfile rxn +chemical/x-mdl-sdfile sd sdf +chemical/x-mdl-tgf tgf +#chemical/x-mif mif +chemical/x-mmcif mcif +chemical/x-mol2 mol2 +chemical/x-molconn-Z b +chemical/x-mopac-graph gpt +chemical/x-mopac-input mop mopcrt mpc dat zmt +chemical/x-mopac-out moo +chemical/x-mopac-vib mvb +chemical/x-ncbi-asn1 asn +chemical/x-ncbi-asn1-ascii prt ent +chemical/x-ncbi-asn1-binary val aso +chemical/x-ncbi-asn1-spec asn +chemical/x-pdb pdb ent +chemical/x-rosdal ros +chemical/x-swissprot sw +chemical/x-vamas-iso14976 vms +chemical/x-vmd vmd +chemical/x-xtel xtel +chemical/x-xyz xyz + +image/cgm +image/g3fax +image/gif gif +image/ief ief +image/jpeg jpeg jpg jpe +image/naplps +image/pcx pcx +image/png png +image/prs.btif +image/prs.pti +image/svg+xml svg svgz +image/tiff tiff tif +image/vnd.cns.inf2 +image/vnd.djvu djvu djv +image/vnd.dwg +image/vnd.dxf +image/vnd.fastbidsheet +image/vnd.fpx +image/vnd.fst +image/vnd.fujixerox.edmics-mmr +image/vnd.fujixerox.edmics-rlc +image/vnd.mix +image/vnd.net-fpx +image/vnd.svf +image/vnd.wap.wbmp wbmp +image/vnd.xiff +image/x-cmu-raster ras +image/x-coreldraw cdr +image/x-coreldrawpattern pat +image/x-coreldrawtemplate cdt +image/x-corelphotopaint cpt +image/x-icon ico +image/x-jg art +image/x-jng jng +image/x-ms-bmp bmp +image/x-photoshop psd +image/x-portable-anymap pnm +image/x-portable-bitmap pbm +image/x-portable-graymap pgm +image/x-portable-pixmap ppm +image/x-rgb rgb +image/x-xbitmap xbm +image/x-xpixmap xpm +image/x-xwindowdump xwd + +inode/chardevice +inode/blockdevice +inode/directory-locked +inode/directory +inode/fifo +inode/socket + +message/delivery-status +message/disposition-notification +message/external-body +message/http +message/s-http +message/news +message/partial +message/rfc822 + +model/iges igs iges +model/mesh msh mesh silo +model/vnd.dwf +model/vnd.flatland.3dml +model/vnd.gdl +model/vnd.gs-gdl +model/vnd.gtw +model/vnd.mts +model/vnd.vtu +model/vrml wrl vrml + +multipart/alternative +multipart/appledouble +multipart/byteranges +multipart/digest +multipart/encrypted +multipart/form-data +multipart/header-set +multipart/mixed +multipart/parallel +multipart/related +multipart/report +multipart/signed +multipart/voice-message + +text/calendar ics icz +text/comma-separated-values csv +text/css css +text/directory +text/english +text/enriched +text/h323 323 +text/html html htm shtml +text/iuls uls +text/mathml mml +text/parityfec +text/plain asc txt text diff pot +text/prs.lines.tag +text/x-psp psp +text/rfc822-headers +text/richtext rtx +text/rtf rtf +text/scriptlet sct wsc +text/t140 +text/texmacs tm ts +text/tab-separated-values tsv +text/uri-list +text/vnd.abc +text/vnd.curl +text/vnd.DMClientScript +text/vnd.flatland.3dml +text/vnd.fly +text/vnd.fmi.flexstor +text/vnd.in3d.3dml +text/vnd.in3d.spot +text/vnd.IPTC.NewsML +text/vnd.IPTC.NITF +text/vnd.latex-z +text/vnd.motorola.reflex +text/vnd.ms-mediapackage +text/vnd.sun.j2me.app-descriptor jad +text/vnd.wap.si +text/vnd.wap.sl +text/vnd.wap.wml wml +text/vnd.wap.wmlscript wmls +text/x-bibtex bib +text/x-c++hdr h++ hpp hxx hh +text/x-c++src c++ cpp cxx cc +text/x-chdr h +text/x-crontab +text/x-csh csh +text/x-csrc c +text/x-haskell hs +text/x-java java +text/x-literate-haskell lhs +text/x-makefile +text/x-moc moc +text/x-pascal p pas +text/x-pcs-gcd gcd +text/x-perl pl pm +text/x-python py +text/x-server-parsed-html +text/x-setext etx +text/x-sh sh +text/x-tcl tcl tk +text/x-tex tex ltx sty cls +text/x-vcalendar vcs +text/x-vcard vcf + +video/bmpeg +video/bt656 +video/celb +video/dl dl +video/dv dif dv +video/fli fli +video/gl gl +video/jpeg +video/h261 +video/h263 +video/h263-1998 +video/h263-2000 +video/mp1s +video/mp2p +video/mp2t +video/mp4 mp4 +video/mp4v-es +video/mpeg mpeg mpg mpe +video/mpv +video/nv +video/parityfec +video/pointer +video/quicktime qt mov +video/vnd.fvt +video/vnd.motorola.video +video/vnd.motorola.videop +video/vnd.mpegurl mxu +video/vnd.mts +video/vnd.nokia.interleaved-multimedia +video/vnd.vivo +video/x-la-asf lsf lsx +video/x-mng mng +video/x-ms-asf asf asx +video/x-ms-wm wm +video/x-ms-wmv wmv +video/x-ms-wmx wmx +video/x-ms-wvx wvx +video/x-msvideo avi +video/x-sgi-movie movie +video/x-flv flv + +x-conference/x-cooltalk ice + +x-world/x-vrml vrm vrml wrl diff --git a/abs/extra/mkvtoolnix/PKGBUILD b/abs/extra/mkvtoolnix/PKGBUILD index 21681a9..6404481 100644 --- a/abs/extra/mkvtoolnix/PKGBUILD +++ b/abs/extra/mkvtoolnix/PKGBUILD @@ -3,15 +3,14 @@ # Contributor: 03/08/04 <lefungus@altern.org> pkgname=mkvtoolnix -pkgver=2.9.8 +pkgver=4.1.1 pkgrel=1 pkgdesc="Set of tools to create, edit and inspect Matroska files" arch=('i686' 'x86_64') license=('GPL2') url="http://www.bunkus.org/videotools/mkvtoolnix/index.html" -depends=('libmatroska>=0.8.1' 'flac>=1.1.4' 'libvorbis' 'wxgtk>=2.8.0.1' 'file' 'boost' 'lzo2') +depends=('libmatroska>=1.0.0' 'libebml>=1.0.0' 'flac>=1.1.4' 'libvorbis' 'wxgtk>=2.8.0.1' 'file' 'boost' 'lzo2') source=("http://www.bunkus.org/videotools/${pkgname}/sources/${pkgname}-${pkgver}.tar.bz2") -md5sums=('7b049aa43c6b39dfcb19f5a46d5574ac') build() { cd ${srcdir}/${pkgname}-${pkgver}/ @@ -20,3 +19,4 @@ build() { make || return 1 make DESTDIR=${pkgdir}/ install } +md5sums=('6f38fefd73b8b95de3ea3feb9de4cdd7') diff --git a/abs/extra/monitorix-linhes.tar.gz b/abs/extra/monitorix-linhes.tar.gz Binary files differnew file mode 100644 index 0000000..02ea6e2 --- /dev/null +++ b/abs/extra/monitorix-linhes.tar.gz diff --git a/abs/extra/monitorix/PKGBUILD b/abs/extra/monitorix/PKGBUILD new file mode 100644 index 0000000..e73fcd1 --- /dev/null +++ b/abs/extra/monitorix/PKGBUILD @@ -0,0 +1,58 @@ +# Maintainer: graysky <da_audiophile yahoo> + +pkgname=monitorix +pkgver=1.4.2 +pkgrel=8 +pkgdesc='A lightweight system monitoring tool that uses rrd databases.' +arch=(i686) +url=http://www.$pkgname.org/ +license=(GPL) +depends=(dcron rrdtool lighttpd ) +optdepends=('lm_sensors: enable support for system temp monitoring' +'hddtemp: enable support for hdd temp monitoring') + +backup=(etc/$pkgname.conf) +source=($url$pkgname-$pkgver.tar.gz + monitorix.rc.d) +md5sums=('6db1bdbeeb0d128622590dfecb9694e4' +'34e7cb2d78bb4e3ece4aeb4ed26a0d43') +install=('monitorix.install') + +build() { + cd $pkgname-$pkgver + + install -D $pkgname.pl $pkgdir/usr/sbin/$pkgname.pl + install -D ../$pkgname.rc.d $pkgdir/etc/rc.d/$pkgname + +# use LinHES defaults + sed -e '/^our $OSTYPE/ s,RHFC,Arch,' \ + -e '/^our $TITLE/ s,FIBRANET NSP\, SL,LinHES,' \ + -e '/^our @HDDTEMP_LIST/ s,hda,sda,' \ + -e '/^our $ENABLE_CROND_MAIL/ s,Y,N,' \ + -e '/^our $ENABLE_SERVU/ s,Y,N,' \ + -e '/^our $ENABLE_PORT/ s,Y,N,' \ + -e '/^our $ENABLE_USER/ s,Y,N,' \ + -e '/^our $ENABLE_INT/ s,Y,N,' \ + -e '/^our @HDDTEMP_LIST/ s,hda,sda,' \ + -e '/^our @MNT_LIST/ s,boot,myth,' \ + -e '/^\s*"Linux-Arch"/ s,/var/log/httpd/access.log,/var/log/httpd/access_log,' \ + -e '/^\s*"Linux-Arch"/ s,/var/log/secure,/var/log/auth.log,' \ + -e '/^\s*"Linux-Arch"/ s,/srv/http,/data/srv/httpd/htdocs,' < $pkgname.conf \ + > $pkgdir/etc/$pkgname.conf + + mkdir -p $pkgdir/var/lib/$pkgname/usage + cp -r reports $pkgdir/var/lib/$pkgname + + mkdir -p $pkgdir/usr/share/doc/$pkgname + cp Changes $pkgname-apache.conf $pkgname-alert.sh README README.nginx TODO \ + $pkgdir/usr/share/doc/$pkgname + + install -dm777 $pkgdir/data/srv/httpd/htdocs/$pkgname/imgs + cp {logo_bot,logo_top,${pkgname}ico}.png $pkgdir/data/srv/httpd/htdocs/$pkgname + + install -D $pkgname.cgi $pkgdir/data/srv/httpd/htdocs/cgi-bin/$pkgname.cgi + + gzip -9 man/man5/$pkgname.conf.5 + install -Dm644 man/man5/$pkgname.conf.5.gz $pkgdir/usr/share/man/man5/$pkgname.conf.5.gz +} + diff --git a/abs/extra/monitorix/monitorix.install b/abs/extra/monitorix/monitorix.install new file mode 100644 index 0000000..6c1d1bd --- /dev/null +++ b/abs/extra/monitorix/monitorix.install @@ -0,0 +1,30 @@ +remove_notes() { + echo '----------------------------------------------------------------------' + echo 'To remove all traces of monitorix from your system, you must manually' + echo 'remove the following dir trees (doing so will delete your databases):' + echo + echo '/var/lib/monitorix' + echo '/srv/http/monitorix' + echo '----------------------------------------------------------------------' +} + +# $1: The new package version +# $2: The old package version +post_upgrade() { + echo '' + echo '' + echo 'now edit /etc/monitorix.conf' + echo ' our $HOSTNAME - your hostname.' + echo ' our $ENABLE_LMTEMP - switch this on if you wanna log your temps.' + echo ' our @HDDTEMP_LIST - If you system has more than one hdd, add it to the array.' + echo ' stats can be seen at http://$THIS_SYSTEMS_IP/monitorix/' + + echo '' + echo '' +} + +post_install(){ + . /etc/systemconfig + sed -i "s/^our \$HOSTNAME.*$/our \$HOSTNAME = \"${hostname}\"\; /" /etc/monitorix.conf| + post_upgrade +} diff --git a/abs/extra/monitorix/monitorix.rc.d b/abs/extra/monitorix/monitorix.rc.d new file mode 100644 index 0000000..9649519 --- /dev/null +++ b/abs/extra/monitorix/monitorix.rc.d @@ -0,0 +1,54 @@ +#!/bin/bash +# +# @(#) Fibranet NSP, SL +# Copyright (C) 2005-2009 by Jordi Sanfeliu <jordi@fibranet.cat> +# +. /etc/rc.conf +. /etc/rc.d/functions + +case $1 in + start) + stat_busy "Starting Monitorix" + if ck_daemon monitorix; then + if [ -x /etc/cron.hourly/sync-monitorix.sh ]; then + /etc/cron.hourly/sync-monitorix.sh >/dev/null 2>&1 + fi + # Creates RRDs files if needed + /usr/sbin/monitorix.pl create >/dev/null 2>&1 || stat_die $? + /usr/sbin/monitorix.pl init >/dev/null 2>&1 || stat_die $? + add_daemon monitorix + # restart crond so data gets collected + /sbin/sv restart cron + stat_done + else + stat_fail + fi + ;; + + stop) + stat_busy "Stopping Monitorix" + if ! ck_daemon monitorix; then + if [ -x /etc/cron.hourly/sync-monitorix.sh ]; then + /etc/cron.hourly/sync-monitorix.sh >/dev/null 2>&1 + fi + /usr/sbin/monitorix.pl stop 2>&1 || stat_die $? + rm_daemon monitorix + # restart crond data stops getting collected + /sbin/sv restart cron + stat_done + else + stat_fail + fi + ;; + + restart) + $0 stop + sleep 1 + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" + ;; +esac + +exit 0 diff --git a/abs/extra/most/PKGBUILD b/abs/extra/most/PKGBUILD new file mode 100644 index 0000000..b2d8624 --- /dev/null +++ b/abs/extra/most/PKGBUILD @@ -0,0 +1,20 @@ +# $Id: PKGBUILD 57011 2009-10-31 08:09:42Z allan $ +# Maintainer: juergen <juergen@archlinux.org> +# Contributor: Tom Newsom <Jeepster@gmx.co.uk> + +pkgname=most +pkgver=5.0.0a +pkgrel=2 +pkgdesc="A terminal pager similar to 'more' and 'less'" +arch=('i686' 'x86_64') +depends=('slang') +license=('GPL') +url="ftp://space.mit.edu/pub/davis/most/" +source=(ftp://space.mit.edu/pub/davis/$pkgname/$pkgname-$pkgver.tar.gz) +md5sums=('30f2131b67f61716f6fe1f65205da48b') + +build() { + cd $srcdir/$pkgname-$pkgver + ./configure --prefix=/usr --sysconfdir=/etc || return 1 + make DESTDIR=$pkgdir install || return 1 +} diff --git a/abs/extra/most/most-debian.patch b/abs/extra/most/most-debian.patch new file mode 100644 index 0000000..4387420 --- /dev/null +++ b/abs/extra/most/most-debian.patch @@ -0,0 +1,1655 @@ +--- most-4.10.2.orig/most.1 ++++ most-4.10.2/most.1 +@@ -134,7 +134,7 @@ + Use this switch when you want to view files + containing 8 bit characters. + .I most +-will display the file 16 bytes per line in hexidecimal notation. ++will display the file 16 bytes per line in hexadecimal notation. + A typical line looks like: + .IP + .Ds +@@ -185,12 +185,13 @@ + This option is meaningful only when used with the + .B \-v + option. ++.TP + .BI + lineno + Start up at + .IR lineno . + .TP +-.B +c +-Make search case sensitive. ++.B -c ++Make searches case sensitive. + By default, they are not. + .TP + .B +d +@@ -482,7 +483,7 @@ + descriptors that represent the file name and line number, + respectively. For example, if JED is your editor, then set + .B MOST_EDITOR +-to 'jed %s -g %d'. ++to 'jed %s -g %d'. This will only work where the %s preceeds the %d. + .TP + .B MOST_HELP + This variable may be used to specify an alternate help file. +@@ -496,7 +497,7 @@ + .I most.rc + on other systems. + .SH CONFIGURATION FILE SYNTAX +-When most starts up, it tries to read a system confiuration file and ++When most starts up, it tries to read a system configuration file and + then a personal configuration file. These files may be used to + specify keybindings and colors. + .PP +--- most-4.10.2.orig/src/buffer.c ++++ most-4.10.2/src/buffer.c +@@ -44,10 +44,10 @@ + + Most_Buffer_Type *Most_Buf; + +-int Most_Num_Lines; ++long long Most_Num_Lines; + +-unsigned int Most_C_Offset; +-int Most_C_Line; ++unsigned long long Most_C_Offset; ++long long Most_C_Line; + + static unsigned char *beg_of_line1(void) + { +@@ -61,24 +61,29 @@ + { + if (*pos == '\n') + { +- pos--; +- while ((pos > Most_Beg) +- && (*pos != '\n')) ++ pos--; /* Skip back the new-line. */ ++ /* This block is UTF-8 safe, because it only scans the ++ buffer for a new-line, and doesn't count ++ characters. */ ++ while ((pos > Most_Beg) && (*pos != '\n')) + pos--; + +- if (*pos != '\n') return pos; ++ if (*pos != '\n') return Most_Beg; ++ /* from here on *pos == '\n' */ + if (pos + 1 != cpos) + return pos + 1; + } + } +- else pos--; ++ else ++ pos = SLutf8_bskip_char(Most_Beg, pos); + + if (*pos != '\n') + { +- while ((pos > Most_Beg) +- && (*pos != '\n')) ++ /* This block is UTF-8 safe. See comment above. */ ++ while ((pos > Most_Beg) && (*pos != '\n')) + pos--; + if (*pos != '\n') return Most_Beg; ++ /* from here on *pos == '\n' */ + return pos + 1; + } + +@@ -93,55 +98,6 @@ + return pos; + } + +- +-static unsigned char *forward_columns (unsigned char *b, unsigned char *e, unsigned int num_cols) +-{ +- unsigned int col = 0; +- +- while ((b < e) +- && (col < num_cols)) +- { +- unsigned char ch = *b++; +- if (((ch >= ' ') && (ch < 0x7F)) +- || (ch >= SLsmg_Display_Eight_Bit)) +- { +- col++; +- continue; +- } +- +- if ((ch == '\b') || (ch == '\t') || (ch == '\r')) +- switch (ch) +- { +- case '\b': +- if (Most_V_Opt == 0) +- { +- if (col > 0) col--; +- } +- else col += 2; +- break; +- +- case '\r': +- if (Most_V_Opt == 0) +- col = 0; +- else +- col += 2; +- break; +- +- case '\t': +- if (Most_T_Opt == 0) +- col = Most_Tab_Width * (col/Most_Tab_Width + 1); +- else +- col += 2; +- break; +- } +- else if (ch & 0x80) +- col += 3; +- else +- col += 2; +- } +- return b; +-} +- + /* does not move point */ + static unsigned char *end_of_line1(void) + { +@@ -164,6 +120,9 @@ + + if (*pos != '\n') + { ++ /* This block is UTF-8 safe, because it only scans the buffer ++ for a new-line, and doesn't count characters. */ ++ + n = pmax - pos; + n2 = n % 8; + pmax = pos + (n - 8); +@@ -215,7 +174,7 @@ + ncols = SLtt_Screen_Cols-1; + while (1) + { +- unsigned char *next_b = forward_columns (b, e, ncols); ++ unsigned char *next_b = most_forward_columns (b, e, ncols, 1); + if ((next_b == e) || (next_b == b)) + break; + +@@ -237,11 +196,12 @@ + return e; + + if (b == NULL) b = most_beg_of_line (); +- b = forward_columns (b, e, SLtt_Screen_Cols-1); ++ b = most_forward_columns (b, e, SLtt_Screen_Cols-1, 1); + + /* Do not wrap the line if the last character falls on the last column + * of the display. + */ ++ /* FIXME potential bug if dealing with multi-byte char. */ + if ((b + 1 <= e) + && (b + 1 < Most_Eob) + && (b[1] == '\n')) +@@ -250,10 +210,10 @@ + return b; + } + +-int most_forward_line(int save) ++long long most_forward_line(long long save) + { +- int m; +- register int n = save; ++ long long m; ++ register long long n = save; + unsigned char *p; + unsigned char *pmax; + +@@ -346,14 +306,14 @@ + } + + /* Count lines in the region. A half line counts as 1 */ +-int most_count_lines(unsigned char *beg, unsigned char *end) ++long long most_count_lines(unsigned char *beg, unsigned char *end) + { +- int save_line, n; ++ long long save_line, n; + unsigned char *save_beg, *save_eob; +- unsigned int save_pos; ++ unsigned long long save_pos; + int dn = 1000; + +- if (Most_B_Opt) return(1 + (int)(end - beg) / 16); ++ if (Most_B_Opt) return(1 + (long long)(end - beg) / 16); + + save_line = Most_C_Line; save_beg = Most_Beg; save_eob = Most_Eob; + save_pos = Most_C_Offset; +@@ -371,9 +331,9 @@ + return(n); + } + +-void most_goto_line(int line) ++void most_goto_line(long long line) + { +- int dif_c, dif_b,dif_t; ++ long long dif_c, dif_b,dif_t; + + if (line < 1) line = 1; + most_read_to_line(line); +@@ -420,7 +380,7 @@ + } + + /* return line the point is on without the final '\n's */ +-int most_extract_line(unsigned char **beg, unsigned char **end) ++long long most_extract_line(unsigned char **beg, unsigned char **end) + { + *beg = most_beg_of_line(); + *end = end_of_line (*beg); +@@ -428,12 +388,12 @@ + return 0; + } + +-int most_what_line(unsigned char *pos) ++long long most_what_line(unsigned char *pos) + { +- unsigned int save_pos; +- int save_line, dir; +- register int dif_c, dif_b,dif_t; +- int ret; ++ unsigned long long save_pos; ++ long long save_line, dir; ++ register long long dif_c, dif_b,dif_t; ++ long long ret; + + if (Most_B_Opt) + { +@@ -517,7 +477,7 @@ + } + + /* given a buffer position, find the line and column */ +-void most_find_row_column(unsigned char *pos, int *r, int *c) ++void most_find_row_column(unsigned char *pos, long long *r, long long *c) + { + unsigned char *beg; + unsigned int save_offset; +@@ -545,7 +505,10 @@ + /* Now we have found the line it is on so.... */ + beg = most_beg_of_line(); + *c = 1; +- while (beg++ < pos) *c = *c + 1; ++ if (Most_UTF8_Mode) ++ while ((beg = SLutf8_skip_char(beg, pos)) < pos) *c = *c + 1; ++ else ++ while (beg++ < pos) *c = *c + 1; + Most_C_Line = save_line; + Most_C_Offset = save_offset; + } +--- most-4.10.2.orig/src/buffer.h ++++ most-4.10.2/src/buffer.h +@@ -23,12 +23,12 @@ + + extern Most_Buffer_Type *Most_Buf; + extern unsigned char *Most_Beg, *Most_Eob; +-extern int Most_Num_Lines; ++extern long long Most_Num_Lines; + + /* Offset of current position from beginning of buffer */ +-extern unsigned int Most_C_Offset; ++extern unsigned long long Most_C_Offset; + +-extern int Most_C_Line; ++extern long long Most_C_Line; + /* + * Current line number. If at the beginning of the buffer, it is 1. If + * we are at the last point of the buffer it is the number of lines. +@@ -37,26 +37,26 @@ + /* This routine does not move the point */ + extern unsigned char *most_beg_of_line(void); + +-extern int most_forward_line(int); ++extern long long most_forward_line(long long); + /* This routine moves the point forward n lines. n can be negative. + It returns the number moved. */ + +-extern void most_goto_line(int); ++extern void most_goto_line(long long); + /* Move the point somewhere on the nth line of the buffer returning + C_POS */ + +-extern int most_what_line(unsigned char *); ++extern long long most_what_line(unsigned char *); + /* return the line number of position 'argument'. Does not move point */ + + /* count the number of lines in the region delimited by beg and end. + Counts lines from beg up to end but does not count end. + Does not move point. */ +-extern int most_count_lines(unsigned char *, unsigned char *); +-extern int most_extract_line(unsigned char **, unsigned char **); ++extern long long most_count_lines(unsigned char *, unsigned char *); ++extern long long most_extract_line(unsigned char **, unsigned char **); + + extern Most_Buffer_Type *most_switch_to_buffer(Most_Buffer_Type *); + extern Most_Buffer_Type *most_create_buffer(char *); +-extern void most_find_row_column(unsigned char *, int *, int *); ++extern void most_find_row_column(unsigned char *, long long *, long long *); + + #endif + +--- most-4.10.2.orig/src/keym.c ++++ most-4.10.2/src/keym.c +@@ -228,7 +228,7 @@ + static void goto_percent_cmd(void) + { + unsigned char *pos; +- int n; ++ long long n; + + if (Most_Digit_Arg != (int *) NULL) n = *Most_Digit_Arg; + else +@@ -282,7 +282,7 @@ + + static void find_next_cmd(void) + { +- int col, line, n = 1; ++ long long col, line, n = 1; + unsigned long ofs; + + if (Most_Digit_Arg != NULL) n = *Most_Digit_Arg; +@@ -309,7 +309,7 @@ + #else + "Search: ", + #endif +- Most_Search_Str, ++ (char *) Most_Search_Str, + MOST_SEARCH_BUF_LEN + ) == -1) return; + Most_Curs_Offset = Most_C_Offset; +@@ -325,7 +325,7 @@ + #else + "Search Backwards: ", + #endif +- Most_Search_Str, ++ (char *) Most_Search_Str, + MOST_SEARCH_BUF_LEN) == -1) return; + find_next_cmd(); + } +--- most-4.10.2.orig/src/line.c ++++ most-4.10.2/src/line.c +@@ -87,8 +87,7 @@ + while (b < end) + { + ch = *b++; +- if (((ch >= ' ') && (ch < 0x7F)) +- || (ch >= SLsmg_Display_Eight_Bit)) ++ if (most_isprint(ch)) + { + *s++ = ch; + continue; +@@ -108,103 +107,156 @@ + + if (end > Most_Eob) end = Most_Eob; + +- sprintf (buf, "0x%08X: ", Most_C_Offset); ++ sprintf (buf, "0x%08llX: ", Most_C_Offset); + ascii_format_line (beg, end, buf + 12); + SLsmg_write_string (buf); + SLsmg_erase_eol (); + } + +-static int most_analyse_line(unsigned char *begg, unsigned char *endd, +- char *out, char *attributes) ++int most_isprint(unsigned char ch) + { +- unsigned char *beg, *end; +- unsigned int min_col, max_col; +- unsigned int i, i_max; ++ /* Can this be directly replaced with isprint? */ ++ return (ch >= ' ' && ch < 0x7F) || ch >= SLsmg_Display_Eight_Bit; ++} ++ ++static void most_analyse_line(unsigned char *beg, unsigned char *end, ++ unsigned char *out, char *attributes) ++{ ++ unsigned char *pout; ++ char* pattributes; ++ ++ /* Holds the number of columns for the current character counting ++ * from the left margin (in contrast to the leftmost visible ++ * column). ++ */ ++ unsigned int col; ++ ++ /* Holds the number of the column up to which to apply the ++ * current/following formatting. Only meaningful when format_rlim > i. ++ */ ++ unsigned int format_rlim; + +- beg = begg; +- end = endd; +- i = i_max = 0; +- min_col = Most_Column - 1; +- max_col = min_col + SLtt_Screen_Cols; ++ beg = most_forward_columns(beg, end, Most_Column - 1, 0); ++ pout = out; ++ pattributes = attributes; ++ col = format_rlim = 0; + + while (beg < end) + { + char attr = ' '; +- unsigned char ch; ++ unsigned char ch = *beg++; + +- if ('\n' == (ch = *beg++)) ++ if ('\n' == ch) + break; + + if ((ch == '\r') && (Most_V_Opt == 0)) + { +- if (i > i_max) i_max = i; +- i = 0; ++ if (col > format_rlim) format_rlim = col; ++ col = 0; + continue; + } + + if ((ch == '\b') && (Most_V_Opt == 0)) + { +- if (i > i_max) i_max = i; +- if (i > 0) +- i--; ++ if (col > format_rlim) format_rlim = col; ++ if (col > 0) ++ { ++ if (Most_UTF8_Mode) ++ { ++ SLwchar_Type wc; ++ pout = SLutf8_bskip_char(out, pout); ++ if (SLutf8_decode(pout, pout + SLUTF8_MAX_MBLEN, &wc, NULL)) ++ { ++ unsigned int char_len = SLwchar_wcwidth(wc); ++ if (char_len > 1) ++ col -= char_len - 1; ++ } ++ } ++ else ++ pout--; ++ pattributes--; ++ col--; ++ } + continue; + } + +- if (i < i_max) /* overstrike */ ++ if (col < format_rlim) /* overstrike */ + { + attr = 'b'; +- if ((i >= min_col) && (i < max_col)) ++ if (col < SLtt_Screen_Cols) + { +- if (out[i-min_col] == '_') ++ if (*pout == '_') + attr = 'u'; + else if (ch == '_') + { + attr = 'u'; +- ch = out[i - min_col]; ++ ch = *pout; + } + } + if (ch == ' ') + { +- i++; ++ col++; + continue; + } + /* drop */ + } +- +- if ((ch >= ' ') && (ch < 0x7F)) +- { +- if ((i >= min_col) && (i < max_col)) ++ ++ if (Most_UTF8_Mode) { ++ unsigned char *prev = --beg; ++ SLwchar_Type wc; ++ unsigned int len; ++ ++ if (SLutf8_decode(beg, end, &wc, NULL)) ++ { ++ unsigned int char_len = SLwchar_wcwidth(wc); ++ if (char_len > 1) ++ col += char_len - 1; ++ } ++ ++ beg = SLutf8_skip_char(beg, end); ++ len = beg - prev; ++ ++ if (len > 1) { ++ /* Non-ASCII char, display it. */ ++ if (col < SLtt_Screen_Cols) + { +- out[i-min_col] = ch; +- attributes[i-min_col] = attr; ++ memcpy(pout, prev, len); ++ pout += len; ++ *pattributes++ = attr; + } +- i++; ++ col++; + continue; +- } +- +- if (ch >= SLsmg_Display_Eight_Bit) ++ } ++ } ++ ++ if (most_isprint(ch)) + { +- if ((i >= min_col) && (i < max_col)) ++ if (col < SLtt_Screen_Cols) + { +- out[i-min_col] = ch; +- attributes[i-min_col] = attr; ++ *pout++ = ch; ++ *pattributes++ = attr; + } +- i++; ++ col++; + continue; + } + + if ((ch == '\t') && (Most_T_Opt == 0) && (Most_Tab_Width)) + { +- +- int nspaces = Most_Tab_Width * (i/Most_Tab_Width + 1) - i; ++ /* Tab expansion must take into consideration the ++ * leftmost visible column. However, variable col holds the ++ * number of columns from the left margin and must be ++ * corrected. ++ */ ++ int vis_col = col + Most_Column - 1; ++ int nspaces = Most_Tab_Width - (vis_col % Most_Tab_Width); + while (nspaces > 0) + { +- if ((i >= min_col) && (i < max_col)) ++ if (col < SLtt_Screen_Cols) + { +- out[i-min_col] = ' '; +- attributes[i-min_col] = attr; ++ *pout++ = ' '; ++ *pattributes++ = attr; + } +- i++; ++ col++; + nspaces--; + } + continue; +@@ -212,36 +264,36 @@ + + if (ch & 0x80) + { +- if ((i >= min_col) && (i < max_col)) ++ if (col < SLtt_Screen_Cols) + { +- out[i-min_col] = '~'; +- attributes[i-min_col] = attr; ++ *pout++ = '~'; ++ *pattributes++ = attr; + } +- i++; ++ col++; + ch &= 0x7F; + /* drop */ + } + +- if ((i >= min_col) && (i < max_col)) ++ if (col < SLtt_Screen_Cols) + { +- out[i-min_col] = '^'; +- attributes[i-min_col] = attr; ++ *pout++ = '^'; ++ *pattributes++ = attr; + } +- i++; ++ col++; + + if (ch == 0x7F) ch = '?'; + else ch += '@'; + +- if ((i >= min_col) && (i < max_col)) ++ if (col < SLtt_Screen_Cols) + { +- out[i-min_col] = ch; +- attributes[i-min_col] = attr; ++ *pout++ = ch; ++ *pattributes++ = attr; + } +- i++; ++ col++; + } + +- if (i < i_max) +- i = i_max; ++ if (col < format_rlim) ++ col = format_rlim; + + /* Now add "..." if selective display. To do that, the next line needs to + * be dealt with to determine whether or not it will be hidden. +@@ -249,7 +301,7 @@ + if (Most_Selective_Display + && (Most_W_Opt == 0) + && (beg < Most_Eob) +- && ((i >= min_col) && (i < max_col))) ++ && (col < SLtt_Screen_Cols)) + { + if (*beg == '\n') beg++; + +@@ -260,37 +312,29 @@ + if ((beg >= Most_Eob) || (*beg == '\n') + || (most_apparant_distance(beg) >= Most_Selective_Display)) + { +- i_max = i + 3; +- while (i < i_max) ++ /* Add an ellipsis, if they fit on the screen. */ ++ int rlimit = col + 3; ++ while (col < rlimit) + { +- if (i < max_col) ++ if (col < SLtt_Screen_Cols) + { +- out[i] = '.'; +- attributes[i] = ' '; ++ *pout++ = '.'; ++ *pattributes++ = ' '; + } +- i++; ++ col++; + } + } + } +- +- i_max = i; + +- if (i < min_col) +- i = min_col; +- else if (i >= max_col) +- i = max_col; +- +- i -= min_col; +- +- out[i] = 0; +- attributes[i] = 0; +- return i_max; ++ *pout = 0; ++ *pattributes = 0; + } + +-static void output_with_attr (unsigned char *out, unsigned char *attr) ++static void output_with_attr (unsigned char *out, char *attr) + { +- unsigned char at, ch, lat; ++ unsigned char at, lat; + unsigned char *p = out; ++ unsigned char *pmax = p + strlen((char *) p); + + if (Most_V_Opt) + { +@@ -299,7 +343,7 @@ + } + + lat = ' '; +- while ((ch = *p) != 0) ++ while (p < pmax) + { + if (lat != *attr) + { +@@ -321,7 +365,7 @@ + else most_tt_normal_video (); + lat = at; + } +- p++; ++ p = SLutf8_skip_char(p, pmax); + attr++; + } + +@@ -340,10 +384,11 @@ + void most_display_line (void) + { + unsigned char *beg, *end; +- unsigned int len; ++#if 0 + unsigned char dollar; ++#endif + static unsigned char *line; +- static unsigned char *attr; ++ static char *attr; + static unsigned int line_len; + + if (Most_B_Opt) +@@ -357,37 +402,43 @@ + if (line_len < (unsigned int)(SLtt_Screen_Cols + 1) * SLUTF8_MAX_MBLEN) + { + SLfree ((char *) line); +- SLfree ((char *) attr); ++ SLfree (attr); + + line_len = (SLtt_Screen_Cols + 1) * SLUTF8_MAX_MBLEN; + + if ((NULL == (line = (unsigned char *) SLmalloc (line_len))) +- || (NULL == (attr = (unsigned char *) SLmalloc (line_len)))) ++ || (NULL == (attr = SLmalloc (line_len)))) + most_exit_error ("Out of memory"); + } + + (void) most_extract_line (&beg, &end); + +- len = most_analyse_line(beg, end, (char *) line, (char *) attr); ++ most_analyse_line(beg, end, line, attr); + ++#if 0 ++ /* Currently the dollar sign is not always being written at the ++ rightmost column when displaying multi-byte characters. */ + dollar = 0; + if (Most_W_Opt) + { +- if ((end < Most_Eob) +- && (*end != '\n')) +- dollar = '\\'; ++ if ((end < Most_Eob) ++ && (*end != '\n')) ++ dollar = '\\'; + } + else if (len > (unsigned int) SLtt_Screen_Cols + (Most_Column - 1)) + dollar = '$'; +- ++ + if (dollar) + { +- line[SLtt_Screen_Cols-1] = dollar; +- attr[SLtt_Screen_Cols-1] = ' '; +- line[SLtt_Screen_Cols] = 0; +- attr[SLtt_Screen_Cols] = 0; ++ unsigned char *pline = ++ most_forward_columns(line, line + line_len, SLtt_Screen_Cols-1, 1); ++ *pline = dollar; ++ *(pline+1) = 0; ++ attr[SLtt_Screen_Cols-1] = ' '; ++ attr[SLtt_Screen_Cols] = 0; + } +- ++#endif ++ + output_with_attr (line, attr); + SLsmg_erase_eol (); + } +@@ -398,21 +449,34 @@ + int most_apparant_distance (unsigned char *pos) + { + int i; +- unsigned char *save_pos, ch; ++ unsigned char *save_pos, *beg, ch; + unsigned int save_offset; + + save_offset = Most_C_Offset; + save_pos = pos; + Most_C_Offset = (unsigned int) (pos - Most_Beg); +- pos = most_beg_of_line(); ++ beg = pos = most_beg_of_line(); + Most_C_Offset = save_offset; + + i = 0; + while (pos < save_pos) + { +- ch = *pos++; +- if (((ch >= ' ') && (ch < 0x7F)) +- || (ch >= SLsmg_Display_Eight_Bit)) ++ ch = *pos; ++ ++ if (Most_UTF8_Mode) { ++ unsigned char *prev = pos; ++ int len; ++ pos = SLutf8_skip_char(pos, save_pos); ++ len = pos - prev; ++ if (len > 1) { ++ i++; ++ continue; ++ } ++ } else { ++ pos++; ++ } ++ ++ if (most_isprint(ch)) + { + i++; + continue; +@@ -420,7 +484,13 @@ + + if (!Most_V_Opt && (ch == '\b')) + { +- if (i > 0) i--; ++ if (i > 0) ++ { ++ if (Most_UTF8_Mode) ++ i -= pos - SLutf8_bskip_char(beg, pos); ++ else ++ i--; ++ } + } + else if (!Most_V_Opt && (ch == '\015')) /* ^M */ + { +@@ -439,3 +509,95 @@ + } + return i; + } ++ ++/* ++ * Returns a pointer to the num_cols'th character after the one ++ * pointed at b. Invisible character runs are not counted toward this ++ * limit, i.e. strings that represent attributes, such as "_\b" for ++ * underlines. ++ * ++ * If multi_column is non-zero, characters spanning more than one ++ * column will add their extra width to the column count. ++ * ++ * If there the end of the buffer is reached, as delimited by argument ++ * e, then e is returned. ++ */ ++unsigned char *most_forward_columns (unsigned char *beg, unsigned char *e, unsigned int num_cols, int multi_column) ++{ ++ unsigned int col = 0; ++ unsigned int prev_width = 1; ++ unsigned char* b = beg; ++ ++ while ((b < e) ++ && ((col < num_cols) ++ || (*b == '\b') ++ || (*b == '\r'))) ++ { ++ unsigned char ch = *b; ++ ++ if (Most_UTF8_Mode) ++ { ++ unsigned char *prev = b; ++ int len; ++ b = SLutf8_skip_char(b, e); ++ len = b - prev; ++ if (len > 1) ++ { ++ if (multi_column) ++ { ++ SLwchar_Type wc; ++ if (SLutf8_decode(prev, e, &wc, NULL)) ++ col += prev_width = SLwchar_wcwidth(wc); ++ } ++ else ++ col++; ++ continue; ++ } ++ } ++ else ++ b++; ++ ++ if (most_isprint(ch)) ++ { ++ col++; ++ prev_width = 1; ++ continue; ++ } ++ ++ if ((ch == '\b') || (ch == '\t') || (ch == '\r')) ++ switch (ch) ++ { ++ case '\b': ++ if (Most_V_Opt == 0) ++ { ++ if (col > 0) col -= prev_width; ++ } ++ else col += 2; ++ break; ++ ++ case '\r': ++ if (Most_V_Opt == 0) ++ col = 0; ++ else ++ col += 2; ++ break; ++ ++ case '\t': ++ if (Most_T_Opt == 0) ++ col = Most_Tab_Width * (col/Most_Tab_Width + 1); ++ else ++ col += 2; /* ^I is two chars long. */ ++ break; ++ } ++ else if (ch & 0x80) ++ col += 3; ++ else ++ col += 2; ++ } ++ ++ /* Last character was too wide. Backstep it. */ ++ if (col > num_cols) ++ b = SLutf8_bskip_char(beg, b); ++ ++ return b; ++} +--- most-4.10.2.orig/src/line.h ++++ most-4.10.2/src/line.h +@@ -7,5 +7,7 @@ + + extern void most_display_line(void); + extern int most_apparant_distance(unsigned char *); ++extern int most_isprint(unsigned char); ++extern unsigned char *most_forward_columns (unsigned char *, unsigned char *, unsigned int, int); + #endif + +--- most-4.10.2.orig/src/most.c ++++ most-4.10.2/src/most.c +@@ -125,7 +125,7 @@ + ch = *(++str); + if ( ch == '/') + { +- strcpy (Most_Search_Str,++str); ++ strcpy ((char *) Most_Search_Str,++str); + return; + } + +@@ -329,7 +329,8 @@ + + static void do_most (char *file, int start) + { +- int piped, row, col; ++ int piped; ++ long long row, col; + + most_get_cdir(Most_C_Dir); + +@@ -347,7 +348,7 @@ + Most_Curs_Offset = Most_C_Offset; + + if (*Most_Search_Str +- && ((row = most_search (Most_Beg + Most_C_Offset, 1, &col)) > 0)) ++ && ((row = most_search (Most_Beg + Most_C_Offset, 1LL, &col)) > 0)) + most_goto_line(row); + else + { +@@ -455,13 +456,7 @@ + + SLtt_get_terminfo(); + #if SLANG_VERSION >= 20000 +-#if 0 +- Most_UTF8_Mode = SLutf8_enable (1); +- if (Most_UTF8_Mode) +- { +- fprintf (stderr, "UTF-8 Mode is in effect\n"); +- } +-#endif ++ Most_UTF8_Mode = SLutf8_enable (-1); + #endif + SLtt_Ignore_Beep = 1; + if (No_Colors) +--- most-4.10.2.orig/src/most.h ++++ most-4.10.2/src/most.h +@@ -1,4 +1,5 @@ + #include "config.h" ++#define SLANG_REGEXP + extern int Most_S_Opt; + extern int Most_A_Opt; /* automatically choose -b if necessary */ + extern int Most_V_Opt; /* display control chars */ +--- most-4.10.2.orig/src/search.c ++++ most-4.10.2/src/search.c +@@ -20,6 +20,7 @@ + */ + #include "config.h" + ++#include <ctype.h> + #include <stdio.h> + #include <string.h> + #include <slang.h> +@@ -31,18 +32,18 @@ + #include "display.h" + #include "search.h" + +-/* Note!!! The regular expression searches may not work. I have not +- * tested them. +- * FIXME!!! +- */ +- + int Most_Case_Sensitive = 0; +-char Most_Search_Str[256]; ++unsigned char Most_Search_Str[256]; + int Most_Search_Dir = 1; + + #include "jdmacros.h" + +-#define UPCASE(ch) ((!Most_Case_Sensitive && (ch <= 'z') && (ch >= 'a')) ? (ch - 32) : ch) ++#if SLANG_VERSION < 20000 ++# define NORM_CHAR(ch) ((!Most_Case_Sensitive) ? toupper(ch) : ch) ++# define UPCASE(ch) NORM_CHAR(ch) ++#else ++# define NORM_CHAR(ch) (ch) ++#endif + + #if defined(HAVE_V8_REGCOMP) || defined(SLANG_REGEXP) + +@@ -78,7 +79,7 @@ + * This function is called by the V8 regcomp to report + * errors in regular expressions. + */ +-static void regerror(char *s) ++static void regerror(const char *s) + { + char string[256]; + +@@ -95,13 +96,17 @@ + * 0 error + * + */ +-static int do_regcomp(unsigned char *key) ++static int do_regcomp(const unsigned char *key) + { + static int old_Most_Case_Sensitive; +- unsigned char UpCaseKey[sizeof(savepattern)]; + # ifndef HAVE_V8_REGCOMP + int posn; /* reg exp error at this offset */ + # endif ++# if SLANG_VERSION < 20000 ++ unsigned char UpCaseKey[sizeof(savepattern)]; ++# else ++ int re_flags = 0; ++# endif + + /* + * Only recompile search string if it has changed +@@ -124,6 +129,7 @@ + + old_Most_Case_Sensitive = Most_Case_Sensitive; + ++# if SLANG_VERSION < 20000 + if ( Most_Case_Sensitive == 0 ) + { + register unsigned char *p; /* ptr to UpCaseKey */ +@@ -141,6 +147,7 @@ + + *p = '\0'; + } ++# endif + + strcpy((char *)savepattern, (char *)key); + +@@ -162,7 +169,12 @@ + # else + if (Regexp != NULL) + SLregexp_free (Regexp); +- if (NULL == (Regexp = SLregexp_compile ((char *)key, Most_Case_Sensitive ? 0 : SLREGEXP_CASELESS))) ++ ++ if (!Most_Case_Sensitive) ++ re_flags |= SLREGEXP_CASELESS; ++ if (Most_UTF8_Mode) ++ re_flags |= SLREGEXP_UTF8; ++ if (NULL == (Regexp = SLregexp_compile ((char *)key, re_flags))) + posn = -1; + else + posn = 0; +@@ -187,7 +199,7 @@ + * Call the appropriate regular expression execute function + */ + +-static unsigned char *do_regexec(unsigned char *string) ++static unsigned char *do_regexec(const unsigned char *string, size_t length) + { + # ifdef HAVE_V8_REGCOMP + if ( regexec(regpattern, (char *)string) ) +@@ -196,40 +208,46 @@ + return( NULL ); + # else + # if SLANG_VERSION < 20000 +- return ( SLang_regexp_match(string, strlen((char *)string), ®data) ); ++ return ( SLang_regexp_match(string, length, ®data) ); + # else +- return (unsigned char *)SLregexp_match (Regexp, (char *)string, strlen ((char *)string)); ++ return (unsigned char *)SLregexp_match (Regexp, (char *)string, length); + # endif + # endif /* HAVE_V8_REGCOMP */ + } + + /* +- * Make a upper case copy of a string. Also changes any "c\b" character +- * strings into just "" so that highlighted and underlined characters +- * can be searched. ++ * Changes any "c\b" character strings into just "" so that ++ * highlighted and underlined characters can be searched. Stores in ++ * length the new size of the string, after the aforementioned ++ * changes. ++ * ++ * If using a version of S-Lang that does not support case ++ * insensitive regular expressions, this function upper cases the ++ * input string, as well. + * + * Reuses malloced memory, so a copy cannot be retained between calls. + */ + +-static unsigned char *StrUpCaseCopy(unsigned char *input) ++static const unsigned char *StrNormCopy(const unsigned char *input, ++ size_t *length) + { + static unsigned char *uppercase; /* ptr to malloced area */ + static size_t bufsize; /* size of malloced area */ +- unsigned char *src; /* ptr to source */ ++ const unsigned char *src; /* ptr to source */ ++ const unsigned char *end; /* ptr to end of source */ + register unsigned char *dest; /* ptr to destination */ + register int idx; /* index into uppercase[] */ +- register unsigned char c; /* source character */ +- size_t length; /* size of string to copy */ + + src = input; +- length = strlen((char *)src) + 1; /* len of line plus terminator */ ++ end = input + *length; + +- if ( length > bufsize ) ++ if ( *length >= bufsize ) + { + if ( uppercase != (unsigned char *)NULL ) + free(uppercase); + +- bufsize = (length > 256 ) ? length : 256; /* 256 byte default */ ++ /* len of line plus terminator */ ++ bufsize = (*length >= 256 ) ? *length + 1 : 256; /* 256 byte default */ + + uppercase = (unsigned char *)malloc(bufsize); + if ( uppercase == (unsigned char *)NULL ) +@@ -242,8 +260,9 @@ + + dest = uppercase; + +- for ( idx = 0 ; (c = *src) != '\0' ; src++ ) ++ for ( idx = 0 ; src < end ; src++ ) + { ++ unsigned char c = *src; + if ( c == '\b' ) /* backspace */ + { + if ( idx-- > 0 ) +@@ -252,54 +271,79 @@ + else + { + if ( idx++ >= 0 ) +- *dest++ = UPCASE(c); ++ *dest++ = NORM_CHAR(c); + } + } + + *dest = '\0'; /* add termination */ + ++ *length = dest - uppercase; + return(uppercase); + } + + /* +- * Given an offset into a copy made by StrUpCaseCopy() and a pointer to the ++ * Given an offset into a copy made by StrNormCopy() and a pointer to the + * original string, returns a pointer into the original string corresponding + * to this offset. + */ + +-static unsigned char *GetOrigPtr(unsigned char *original, int offset) ++static const unsigned char * ++GetOrigPtr(const unsigned char *original, int offset, ++ const unsigned char *end) + { +- register unsigned char *p = original; ++ const unsigned char *p = original; + register int j = offset; + + /* + * Step through, adjusting offset according to backspaces found + */ +- while ( *p != '\0' ) ++ while ( p < end ) + { ++ const unsigned char *next; ++ if (Most_UTF8_Mode) ++ next = SLutf8_skip_char((unsigned char*) p, (unsigned char*) end); ++ else ++ next = p + 1; ++ size_t length_last = next - p; ++ + if ( *p == '\b' ) +- j++; ++ j += length_last; + else +- j--; ++ j -= length_last; + + if ( j < 0 ) + break; + else +- p++; ++ p = next; + } + + return(p); + } + #endif /* HAVE_V8_REGCOMP || SLANG_REGEXP */ + ++/* Returns a pointer to the first occurrence of '\n' in string beg, or ++ * end if no '\n' can be found between inclusive beg and exclusive ++ * end. ++ */ ++static const unsigned char * ++find_eol(const unsigned char *beg, const unsigned char *end) ++{ ++ const unsigned char *p; ++ if ( (p = memchr(beg, '\n', end - beg)) != NULL) ++ return p; ++ else ++ return end; ++} ++ + /* This routine returns the 1 + position of first match of key in str. + key is modified to match the case of str. */ + /* We should try to optimize this routine */ + /* searches from beg up to but not including end */ + +-static unsigned char *forw_search_region(unsigned char *beg, +- unsigned char *end, +- unsigned char *key) ++static const unsigned char * ++forw_search_region(const unsigned char *beg, ++ const unsigned char *end, ++ const unsigned char *key) + { + #if defined(HAVE_V8_REGCOMP) || defined(SLANG_REGEXP) + /* +@@ -307,10 +351,11 @@ + * to be broken into lines. + * + */ +- unsigned char *p; /* temp pointer */ +- unsigned char *linebeg; /* beginning of working line */ +- unsigned char *copy; /* ptr to upper case copy */ ++ const unsigned char *linebeg; /* beginning of working line */ ++ const unsigned char *lineend; /* end of working line */ ++ const unsigned char *norm_line; /* ptr to normalized line */ + unsigned char *match; /* ptr to matching string */ ++ int anchored_re; + + /* + * Compile "key" into an executable regular expression +@@ -318,58 +363,35 @@ + if ( do_regcomp(key) == 0 ) + return(Most_Eob); + +- /* +- * For regular expression searches we need to do a line by line +- * search, so it is necessary to temporarily replace '\n' with '\0' +- * characters. +- */ +- p = beg; +- linebeg = beg; ++ anchored_re = key[0] == '^'; + +- while (linebeg < end) ++ for ( linebeg = beg ; linebeg < end ; linebeg = lineend + 1 ) + { +- while ((p < end) && (*p != '\n')) p++; +- if (p == end) break; +- *p = 0; ++ size_t length; + +- if ( Most_Case_Sensitive == 0 ) /* i.e. case insensitive */ +- { +- copy = StrUpCaseCopy(linebeg); +- if ( copy == (unsigned char *)NULL ) +- return(Most_Eob); +- } ++ lineend = find_eol(linebeg, end); ++ ++ length = lineend - linebeg; ++ if (0 == length) continue; /* Skip empty lines. */ ++ ++ norm_line = StrNormCopy(linebeg, &length); ++ if ( norm_line == NULL ) ++ return(Most_Eob); + + /* + * Quick sanity check for beginning of line archored tests. +- * If 1st char of key is "^", then the character before linebeg (which +- * must be beyond the start of the window), must be a "\n", +- * otherwise do_regexec() isn't called. ++ * If 1st char of key is "^", then the character before ++ * linebeg (which must be within the buffer), must be a "\n". + */ +- if ( +-# if 0 +- ((*key != '^') +- || (linebeg > Most_Win->beg_pos && linebeg[-1] == '\n')) +- && +-#endif +- (match = do_regexec(Most_Case_Sensitive ? linebeg : copy))) ++ if ( !(anchored_re && (linebeg <= Most_Beg || linebeg[-1] != '\n')) ++ && (match = do_regexec(norm_line, length)) ) + { +- *p = '\n'; +- if ( Most_Case_Sensitive == 0 ) +- { +- /* +- * Use offset into "copy" as idx to find point in +- * real line. +- */ +- return( GetOrigPtr(linebeg, match - copy) ); +- } +- else +- { +- return( match ); +- } ++ /* ++ * Use offset into "norm_line" as idx to find point in ++ * real line. ++ */ ++ return( GetOrigPtr(linebeg, match - norm_line, lineend) ); + } +- +- *p++ = '\n'; +- linebeg = p; + } + + return(Most_Eob); +@@ -475,23 +497,18 @@ + * pattern "key". + */ + +-static unsigned char *back_search_region(unsigned char *beg, +- unsigned char *end, +- unsigned char *key) ++static const unsigned char * ++back_search_region(const unsigned char *beg, ++ const unsigned char *end, ++ const unsigned char *key) + { + #if defined(HAVE_V8_REGCOMP) || defined(SLANG_REGEXP) +- register unsigned char *p; +- unsigned char *endp, /* end of line */ +- *lastmatch, /* last match in line */ ++ const unsigned char *p; ++ const unsigned char *endp, /* end of line */ ++ *lastmatch, /* last match in line */ + *endprevline, /* end of line before this one */ + *match; /* ptr to matching string */ +- unsigned char savec; /* last char on line */ +- +- /* +- * Compile "key" into an executable regular expression +- */ +- if ( do_regcomp(key) == 0 ) +- return(Most_Eob); ++ int anchored_re; + + /* + * Starting from the end of the buffer, break the buffer into lines +@@ -501,84 +518,60 @@ + * and isn't that what we want to do in a reverse search. + */ + endp = end; +- lastmatch = Most_Eob; +- while ( 1 ) /* forever loop */ +- { +- if ( (endp < beg) ) +- return(Most_Eob); /* Reach start of buffer, no match */ ++ endprevline = end; ++ match = Most_Eob; + +- /* Find the real end of current line */ +- if ( (p = (unsigned char *)strchr((char *)endp, '\n')) != NULL ) +- endp = p; +- +- savec = *endp; +- *endp = '\0'; /* terminate line with NULL */ ++ /* Find out whether the regexp attempts to match a line boundary. ++ * In this case, only a match on the full line should be attempted. ++ */ ++ anchored_re = key[strlen((const char *) key)-1] == '$'; + ++ while ( endp > beg ) ++ { + /* Find the beginning of line */ + for ( p = endp - 1 ; (p >= beg) && (*p != '\n') ; p-- ) + { + } + ++ if ( p < beg ) ++ break; ++ + endprevline = p; + +- p++; /* point to 1st char after newline */ ++ /* ++ * Quick sanity check for end of line archored tests. If last ++ * char of key is "$", then the character after endp (which ++ * must be within the buffer), must be a "\n". ++ */ ++ if ( anchored_re && endp < Most_Eob && endp[0] != '\n' ) ++ { ++ endp = p; ++ continue; ++ } + + /* + * Keep searching forward in this line till no more matches + */ +- if ( Most_Case_Sensitive == 0 ) /* i.e. case insensitive */ ++ do + { +- unsigned char *copy; /* ptr to upper case copy */ +- unsigned char *savecopy; /* copy of "copy" */ +- +- copy = StrUpCaseCopy(p); +- if ( copy == (unsigned char *)NULL ) +- return(Most_Eob); ++ lastmatch = match; + +- savecopy = copy; +- +- /* +- * Quick sanity check for beginning of line archored tests. +- * Must be at start of line. +- */ +- while ( ((*key != '^') || (copy == savecopy)) +- && (match = do_regexec(copy)) ) +- { +- if ( GetOrigPtr(p, match - savecopy) > end ) +- break; +- lastmatch = match; +- if ( *lastmatch == '\0' ) /* key must be "$" or "^" */ +- break; +- copy = lastmatch + 1; /* character after match */ +- } ++ if (Most_UTF8_Mode) ++ p = SLutf8_skip_char((unsigned char*) p, (unsigned char*) endp); ++ else ++ p++; + +- if ( lastmatch != Most_Eob ) /* found a match */ +- lastmatch = GetOrigPtr(p, lastmatch - savecopy); +- } +- else +- { +- /* +- * Quick sanity check for beginning of line archored tests. +- * Must be at start of buffer or start of line +- */ +- while ( ( (*key != '^') || (p == endprevline + 1) ) +- && (match = do_regexec(p)) ) +- { +- if ( match > end ) +- break; +- lastmatch = match; +- if ( *lastmatch == '\0' ) /* key must be "$" or "^" */ +- break; +- p = lastmatch + 1; /* character after match */ +- } ++ match = forw_search_region(p, endp, key); + } ++ while ( match <= endp ); + +- *endp = savec; + if ( lastmatch != Most_Eob ) /* found a match */ + return(lastmatch); + + endp = endprevline; + } ++ ++ return(Most_Eob); /* Reached start of buffer, no match */ + #else + char ch, char1, work[256]; + unsigned char *pos; +@@ -670,15 +663,15 @@ + #endif /* HAVE_V8_REGCOMP || SLANG_REGEXP */ + } + +-int most_search(unsigned char *from, int repeat, int *col) ++long long most_search(const unsigned char *from, int repeat, long long *col) + { + /* return the line match was found as well as line number, + * search from i on; assume that line_array match the i so we need + * no initial lookup */ + +- int test, save_line, the_col, row, s_len; ++ long long test, save_line, the_col, row, s_len; + char string[300]; +- unsigned char *pos; ++ const unsigned char *pos; + unsigned int save_ofs; + unsigned int found_ofs; + +@@ -687,7 +680,10 @@ + save_line = Most_C_Line; + found_ofs = Most_Eob - Most_Beg; + *col = 0; +- s_len = strlen (Most_Search_Str); ++ if (Most_UTF8_Mode) ++ s_len = SLutf8_strlen (Most_Search_Str, 0); ++ else ++ s_len = strlen ((char *) Most_Search_Str); + pos = from; + + if (*Most_Search_Str) +--- most-4.10.2.orig/src/search.h ++++ most-4.10.2/src/search.h +@@ -6,7 +6,7 @@ + extern int Most_Case_Sensitive; + extern int Most_Search_Dir; + #define MOST_SEARCH_BUF_LEN 256 +-extern char Most_Search_Str[MOST_SEARCH_BUF_LEN]; +-extern int most_search(unsigned char *, int, int *); ++extern unsigned char Most_Search_Str[MOST_SEARCH_BUF_LEN]; ++extern long long most_search(const unsigned char *, int, long long *); + #endif + +--- most-4.10.2.orig/src/window.c ++++ most-4.10.2/src/window.c +@@ -48,10 +48,11 @@ + + Most_Window_Type *Most_Win; + Most_Window_Type *Most_Top_Win; +-int Most_Top_Line; /* row number of top window */ +-int Most_Curs_Row; +-int Most_Curs_Col; +-int Most_Column = 1; ++long long Most_Top_Line; /* row number of top window */ ++long long Most_Curs_Row; ++long long Most_Curs_Col; ++/* The leftmost visible column. */ ++long long Most_Column = 1; + int Most_Restore_Width_To = 0; + char Most_Mini_Buf[256]; + unsigned long Most_Curs_Offset; +@@ -156,7 +157,7 @@ + SLsmg_write_nchars (buf + point, len - point); + if (col < SLtt_Screen_Cols) + break; +- buf++; point--; len--; /* FIXME for UTF-8 */ ++ buf++; point--; len--; + } + SLsmg_erase_eol (); + SLsmg_gotorc (SLtt_Screen_Rows - 1, col); +@@ -227,6 +228,8 @@ + { + SLang_RLine_Info_Type *rli; + unsigned int flags = SL_RLINE_BLINK_MATCH; ++ if (Most_UTF8_Mode) ++ flags |= SL_RLINE_UTF8_MODE; + + if (NULL == (rli = SLrline_open (SLtt_Screen_Cols, flags))) + return NULL; +@@ -258,7 +261,7 @@ + + /* do not use default. The up arrow can always get it back. */ + if ((what != NULL) +- && (*what) && (what != Most_Search_Str)) ++ && (*what) && (what != (char *) Most_Search_Str)) + { + if (-1 == SLrline_set_line (Most_RLI, what)) + return -1; +@@ -593,7 +596,8 @@ + unsigned int num_chars; + unsigned int field_width, info_len; + unsigned char *eob; +- int r, x; ++ int r; ++ long long x; + + eob = Most_Eob; + #if MOST_HAS_MMAP +@@ -601,20 +605,20 @@ + eob = Most_Beg + Most_Buf->mmap_size; + #endif + +- if (eob == Most_Beg) x = 100; ++ if (eob == Most_Beg) x = 100LL; + else + { +- x = Most_C_Offset * 100; ++ x = Most_C_Offset * 100LL; + x = x / (eob - Most_Beg); + } + + if (Most_C_Line + (Most_Win->bot - Most_Win->top + 1) >= Most_Num_Lines) +- x = 100; ++ x = 100LL; + + /* for files with end of file above the bottom row (due to window manipulations) */ +- if (x > 100) x = 100; ++ if (x > 100LL) x = 100LL; + +- sprintf (info, "(%d,%d) %d%%", Most_C_Line, Most_Column, x); ++ sprintf (info, "(%lld,%lld) %d%%", Most_C_Line, Most_Column, (int)x); + + r = Most_Win->bot + 1; + most_goto_rc (r,1); +--- most-4.10.2.orig/src/window.h ++++ most-4.10.2/src/window.h +@@ -5,11 +5,11 @@ + typedef struct _Most_Window_Type + { + unsigned long top_offset; /* offset of top line of window from bob */ +- int beg_line; /* line number of top */ +- int curs_line; /* line number of curs pos */ +- int curs_col; /* column number of curs pos */ ++ long long beg_line; /* line number of top */ ++ long long curs_line; /* line number of curs pos */ ++ long long curs_col; /* column number of curs pos */ + unsigned long curs_offset; /* pos of cursor from bob*/ +- int col; /* column offset */ ++ long long col; /* column offset */ + int n_lines; /* number of lines of buffer (mode dependent) */ + int top; /* screen location of top */ + int bot; /* screen location of bot */ +@@ -29,9 +29,9 @@ + extern Most_Window_Type *Most_Win; + extern Most_Window_Type *Most_Top_Win; + extern unsigned long Most_Curs_Offset; +-extern int Most_Column; +-extern int Most_Curs_Row; +-extern int Most_Curs_Col; ++extern long long Most_Column; ++extern long long Most_Curs_Row; ++extern long long Most_Curs_Col; + #define MOST_MINI_BUF_LEN 256 + extern char Most_Mini_Buf[MOST_MINI_BUF_LEN]; + extern int Most_Selective_Display; diff --git a/abs/extra/mpeg_stat/PKGBUILD b/abs/extra/mpeg_stat/PKGBUILD new file mode 100644 index 0000000..37be249 --- /dev/null +++ b/abs/extra/mpeg_stat/PKGBUILD @@ -0,0 +1,19 @@ +# Contributor: Nick B <Shirakawasuna at gmail _dot_com> +pkgname=mpeg_stat +pkgver=2.2b +pkgrel=2 +pkgdesc="A Berkely MPEG Tools bitstream analysis tool." +arch=('i686' 'x86_64') +url="http://bmrc.berkeley.edu/ftp/pub/multimedia/mpeg/" +license=('custom') +depends=('ffmpeg') +source=(http://www.sfr-fresh.com/unix/misc/old/${pkgname}-${pkgver}-src.tar.gz) + +build() { + +cd $startdir/src/mpeg_stat +make || return 1 +install -m755 -D $startdir/src/mpeg_stat/mpeg_stat $startdir/pkg/usr/bin/mpeg_stat +install -m644 -D $startdir/src/mpeg_stat/COPYRIGHT $startdir/pkg/usr/share/licenses/mpeg_stat/COPYRIGHT +} + diff --git a/abs/extra/mpgtx/PKGBUILD b/abs/extra/mpgtx/PKGBUILD new file mode 100644 index 0000000..1181564 --- /dev/null +++ b/abs/extra/mpgtx/PKGBUILD @@ -0,0 +1,16 @@ +pkgname="mpgtx" +pkgver="1.3.1" +pkgrel=1 +arch=('i686') +pkgdesc="mpgtx is a commandline MPEG audio/video/system file toolbox." +url="http://mpgtx.sourceforge.net/" +source=(http://downloads.sourceforge.net/project/mpgtx/mpgtx/$pkgver/mpgtx-$pkgver.tar.gz) +md5sums=('d628060aa04ad3b40a175bf35f5167cf') + +build() { + cd $startdir/src/$pkgname-$pkgver + ./configure --prefix=/usr + make || return 1 + make INSTALLDIR=$startdir/pkg/usr/bin MANDIR=$startdir/pkg/usr/man/man1 MANDIRDE=$startdir/usr/man/de/man1 install +} + diff --git a/abs/extra/mupen64plus-svn/PKGBUILD b/abs/extra/mupen64plus-svn/PKGBUILD new file mode 100644 index 0000000..5df794d --- /dev/null +++ b/abs/extra/mupen64plus-svn/PKGBUILD @@ -0,0 +1,71 @@ +#!!! Due to a limitation in pacman's SVN package handling, +# this package requires out-of-the-ordinary building. pacman checks +# the SVN repo for new revisions before scanning the PKGBUILD. +#!!! So, when you run makepkg, if it asks you for a password for 'mupen64', +# give it 'Dyson5632-kart' without the quotes. If it asks for a password +# for _your_ username, hit Enter to make it ask for a new username, tell it +# 'mupen64' without the quotes, and then give it the password above. When +# it asks you to save the password unencrypted, you can say yes, because +# it's just a read-only access login :P Once you do that, you shouldn't +# need to do the above anymore. + +# Maintainer: Devin Cofer <ranguvar@archlinux.us> +# Contributor: Rudy Matela <rudy.matela@gmail.com> +# Contributor: Allan McRae <allan@archlinux.org> +# Contributor: Zephyr + +pkgname=mupen64plus-svn +pkgver=1416 +pkgrel=1 +pkgdesc="Nintendo64 emulator, SVN version" +arch=('i686' 'x86_64') +url="http://code.google.com/p/mupen64plus/" +license=('GPL2') + +makedepends=('subversion' 'pkgconfig' 'libsamplerate' 'yasm' 'mesa') +depends=('gtk2' 'sdl_ttf') +optdepends=('libsamplerate: Higher quality audio') +conflicts=('mupen64plus') +provides=('mupen64plus') +source=('install.patch' + 'fix-gcc4.4-const-char.patch') +md5sums=('f6a3bc6e59d4f2af9db1b3fce257eb43' + '7bb0182949bf043847ad7ff66097e66f') + +_svnuser=mupen64 +_svnpass=Dyson5632-kart +_svntrunk=svn://$_svnuser:$_svnpass@fascination.homelinux.net:7684/mupen64plus/trunk +_svnmod=mupen64plus + +build() { + if [ -d $_svnmod/.svn ]; then + (cd $_svnmod &&\ + svn up --config-dir . -r $pkgver \ + --non-interactive --username $_svnuser --password $_svnpass) + else + svn co $_svntrunk --config-dir . -r $pkgver $_svnmod \ + --non-interactive --username $_svnuser --password $_svnpass + fi + msg "SVN checkout done or server timeout" + + cp -r $_svnmod $_svnmod-build + patch -d $_svnmod-build < install.patch || return 1 +# patch -p0 -d $_svnmod-build < fix-gcc4.4-const-char.patch || return 1 + cd $_svnmod-build + + make PREFIX="/usr" LIRC=1 all || return 1 + make PREFIX="$pkgdir/usr" install || return 1 + + ##### Qt 4 GUI build ##### + #==> Currently broken + #make PREFIX="/usr" GUI=QT4 all || return 1 + #install -m755 mupen64plus "$pkgdir/usr/bin/mupen64plus-qt" + # + #cd "$pkgdir/usr/share/applications" + #cp mupen64plus.desktop mupen64plus-qt.desktop + #sed -i "s#Name=Mupen64Plus#Name=Mupen64Plus (Qt)#" mupen64plus-qt.desktop || return 1 + #sed -i "s#Exec=mupen64plus#Exec=mupen64plus-qt#" mupen64plus-qt.desktop || return 1 + ##### End Qt 4 GUI build ##### + + rm -r "$srcdir/$_svnmod-build" +} diff --git a/abs/extra/mupen64plus-svn/fix-gcc4.4-const-char.patch b/abs/extra/mupen64plus-svn/fix-gcc4.4-const-char.patch new file mode 100644 index 0000000..fd1495d --- /dev/null +++ b/abs/extra/mupen64plus-svn/fix-gcc4.4-const-char.patch @@ -0,0 +1,22 @@ +--- glide64/Combine.old.cpp 2009-06-19 17:59:20.191723065 -0400 ++++ glide64/Combine.cpp 2009-06-19 18:43:46.955453868 -0400 +@@ -11873,7 +11873,7 @@ + LOG ("InitCombine() "); + memset(&cmb, 0, sizeof(cmb)); + const char *extensions = grGetString (GR_EXTENSION); +- if (char * extstr = strstr(extensions, "COMBINE")) { ++ if (const char * extstr = strstr(extensions, "COMBINE")) { + if (!strncmp(extstr, "COMBINE", 7)) { + LOG ("extensions "); + cmb.grColorCombineExt = (GRCOLORCOMBINEEXT) grGetProcAddress("grColorCombineExt"); +--- glide64/Main.old.cpp 2009-06-19 18:47:04.238930057 -0400 ++++ glide64/Main.cpp 2009-06-19 18:47:18.018772876 -0400 +@@ -784,7 +784,7 @@ + printf("bebefore2\n"); + if (settings.fb_hires) + { +- if (char * extstr = strstr(extensions, "TEXTUREBUFFER")) ++ if (const char * extstr = strstr(extensions, "TEXTUREBUFFER")) + { + if (!strncmp(extstr, "TEXTUREBUFFER", 13)) + { diff --git a/abs/extra/mupen64plus-svn/install.patch b/abs/extra/mupen64plus-svn/install.patch new file mode 100644 index 0000000..5e41460 --- /dev/null +++ b/abs/extra/mupen64plus-svn/install.patch @@ -0,0 +1,13 @@ +Index: install.sh +=================================================================== +--- install.sh (revision 1295) ++++ install.sh (working copy) +@@ -90,7 +90,7 @@ + if [ -f mupen64plus.desktop ] + then + $INSTALL -d -v "${APPLICATIONSDIR}" +- $INSTALL -m 0644 mupen64plus.desktop "${APPLICATIONSDIR}" ++ $INSTALL -m 0644 mupen64plus.desktop "${APPLICATIONSDIR}/mupen64plus.desktop" + fi + if [ "x$(ls plugins/)" != "x" ] + then diff --git a/abs/extra/mutt/PKGBUILD b/abs/extra/mutt/PKGBUILD new file mode 100644 index 0000000..c481eec --- /dev/null +++ b/abs/extra/mutt/PKGBUILD @@ -0,0 +1,39 @@ +# $Id: PKGBUILD 50055 2009-08-19 01:49:30Z thayer $ +# Maintainer: tobias [tobias [at] archlinux.org] +pkgname=mutt +pkgver=1.5.20 +pkgrel=2 +pkgdesc="A small but very powerful text-based mail client" +arch=(i686 x86_64) +license=('GPL') +url="http://www.mutt.org/" +depends=('slang' 'openssl>=0.9.8e' 'gdbm' 'mime-types' 'zlib' 'libsasl' 'gpgme') +makedepends=('gnupg') +install=${pkgname}.install +source=(ftp://ftp.mutt.org/mutt/devel/${pkgname}-${pkgver}.tar.gz + mutt-unmailbox.patch) +url="http://www.mutt.org/" +md5sums=('027cdd9959203de0c3c64149a7ee351c' + 'fa8e03a49a2fa7b294dc8237d928cdb7') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + + # patch a segfault bug in 1.5.20 -- remove for next release + patch -p1 < ${srcdir}/mutt-unmailbox.patch || return 1 + #patch -Np1 -i ../mutt-unmailbox.patch || exit 1 + + ./configure --prefix=/usr --sysconfdir=/etc \ + --enable-pop --enable-imap --enable-smtp \ + --with-sasl --with-ssl=/usr --without-idn \ + --enable-hcache --enable-pgp --enable-inodesort \ + --enable-compressed --with-regex \ + --enable-gpgme --with-slang=/usr + make || return 1 + make DESTDIR=${pkgdir} install + rm -f ${pkgdir}/usr/bin/{flea,muttbug} + rm -f ${pkgdir}/usr/share/man/man1/{flea,muttbug}.1 + rm -f ${pkgdir}/etc/mime.types* + install -Dm644 contrib/gpg.rc ${pkgdir}/etc/Muttrc.gpg.dist +} + diff --git a/abs/extra/mutt/mutt-unmailbox.patch b/abs/extra/mutt/mutt-unmailbox.patch new file mode 100644 index 0000000..cbb3210 --- /dev/null +++ b/abs/extra/mutt/mutt-unmailbox.patch @@ -0,0 +1,10 @@ +--- a/buffy.c 2009-08-10 08:23:12.731846990 -0400 ++++ b/buffy.c 2009-08-10 08:23:50.541878087 -0400 +@@ -236,7 +236,6 @@ + { + if(*tmp) + { +- FREE (&((*tmp)->path)); + tmp1=(*tmp)->next; + FREE (tmp); /* __FREE_CHECKED__ */ + *tmp=tmp1; diff --git a/abs/extra/mutt/mutt.install b/abs/extra/mutt/mutt.install new file mode 100644 index 0000000..98ece96 --- /dev/null +++ b/abs/extra/mutt/mutt.install @@ -0,0 +1,15 @@ +# arg 1: the new package version +post_install() { + cat << EOM + +--> to support gpg, please use the following line in your ~/.muttrc + +source /etc/Muttrc.gpg.dist + +EOM +} + +post_upgrade() { + post_install $1 +} + diff --git a/abs/extra/myt2xvid3/PKGBUILD b/abs/extra/myt2xvid3/PKGBUILD index 9d88ce9..abd7cb5 100755 --- a/abs/extra/myt2xvid3/PKGBUILD +++ b/abs/extra/myt2xvid3/PKGBUILD @@ -1,6 +1,6 @@ pkgname=myt2xvid3 pkgver=0.1 -pkgrel=7 +pkgrel=9 arch=("i686") pkgdesc="A multimedia framework based on the MPEG-4 Systems standard" url="http://www.knoppmythwiki.org/index.php?page=XvidEncoding" diff --git a/abs/extra/myth2ipod/PKGBUILD b/abs/extra/myth2ipod/PKGBUILD index 1942f2b..2c7540b 100755 --- a/abs/extra/myth2ipod/PKGBUILD +++ b/abs/extra/myth2ipod/PKGBUILD @@ -1,6 +1,6 @@ pkgname=myth2ipod pkgver=0.2 -pkgrel=28 +pkgrel=29 arch=("i686") pkgdesc="A multimedia framework based on the MPEG-4 Systems standard" url="myth2ipod.com" diff --git a/abs/extra/myth2ipod/myth2ipod b/abs/extra/myth2ipod/myth2ipod index 268a522..baf749e 100755 --- a/abs/extra/myth2ipod/myth2ipod +++ b/abs/extra/myth2ipod/myth2ipod @@ -248,7 +248,7 @@ sub PrepSQLRead{ '/usr/share/mythtv/mysql.txt', '/etc/mythtv/mysql.txt', '/usr/local/etc/mythtv/mysql.txt', - "$ENV{HOME}/.mythtv/mysql.txt", + '$ENV{HOME}/.mythtv/mysql.txt', 'mysql.txt' ); foreach my $file (@mysql) { diff --git a/abs/extra/mythappletrailers/PKGBUILD b/abs/extra/mythappletrailers/PKGBUILD index 9c12971..2f36a4d 100644 --- a/abs/extra/mythappletrailers/PKGBUILD +++ b/abs/extra/mythappletrailers/PKGBUILD @@ -3,7 +3,7 @@ pkgname=mythappletrailers pkgver=0.04.3 -pkgrel=35 +pkgrel=41 pkgdesc="Unofficial Add-on for MythTV to get Apple.com Movie Trailers." arch=('i686' 'x86_64') license=('GPL2') @@ -28,3 +28,8 @@ build() { cp trailers $startdir/pkg/etc/cron.daily/ install -m755 $srcdir/fix_aple_url.sh $pkgdir/usr/bin } +md5sums=('336e68953d0e1e8a0c7a4990f8d43a2b' + 'c7da92600afe2a3b1f564764500315a0' + '5fdd4aa17b9c1e77b272437ae42a1827' + 'ece3c5f8a605b6e2270c6f7671705631' + 'a2349f844e47fd95a672739177ca44ff') diff --git a/abs/extra/mythappletrailers/appletrailer.xml b/abs/extra/mythappletrailers/appletrailer.xml index dc0c938..9aa19f5 100644 --- a/abs/extra/mythappletrailers/appletrailer.xml +++ b/abs/extra/mythappletrailers/appletrailer.xml @@ -1,722 +1,602 @@ <mythmenu name="TRAILERS"> <button> <type>VIDEO_BROWSER</type> - <text>2012</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/sony/2012/2012-tlr2_h640w.mov</action> + <text>Morning Glory</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/paramount/morningglory/morningglory-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>500 Days of Summer</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/fox_searchlight/500daysofsummer/500daysofsummer-tlr1_h640w.mov</action> + <text>Scott Pilgrim vs. The World</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/universal/scottpilgrim/scottpilgrim-tlr2_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>9</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/focus_features/9/9-tlr2_h640w.mov</action> + <text>Adjustment Bureau</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/universal/adjustmentbureau/adjustmentbureau-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Adam</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/fox_searchlight/adam/adam-tlra_h640w.mov</action> + <text>Grease Sing-A-Long</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/paramount/greasesingalong/greasesingalong-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Alice In Wonderland</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/disney/aliceinwonderland/aliceinwonderland-tsr1_h640w.mov</action> - </button> - - <button> - <type>VIDEO_BROWSER</type> - <text>Aliens In the Attic</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/fox/aliensintheattic/aliensintheattic-tlrg_h640w.mov</action> - </button> - - <button> - <type>VIDEO_BROWSER</type> - <text>All About Steve</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/fox/allaboutsteve/allaboutsteve-tlrc_h640w.mov</action> + <text>Solitary Man</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/independent/solitaryman/solitaryman-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Alvin and the Chipmunks: the Squeakquel</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/fox/alvinandthechipmunks2/alvinsqueekquel-tlrd_h640w.mov</action> + <text>Racing Dreams</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/independent/racingdreams/racingdreams-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Amelia</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/fox_searchlight/amelia/amelia-tlra_h640w.mov</action> + <text>Joan Rivers: A Piece of Work</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/independent/joanriversapieceofwork/joanriversapieceofwork-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Amreeka</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/independent/amreeka/amreeka_h640w.mov</action> + <text>The Killer Inside Me</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/ifc_films/killerinsideme/killerinsideme-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>The Answer Man</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/magnolia_pictures/theanswerman/theanswerman_h640w.mov</action> + <text>You Again</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/disney/youagain/youagain-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Armored</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/sony_pictures/armored/armored-tlr2_h640w.mov</action> + <text>Love Ranch</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/independent/loveranch/loveranch-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Astro Boy</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/summit/astroboy/astroboy-tlr2_h640w.mov</action> + <text>Charlie St. Cloud</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/universal/charliestcloud/charliestcloud-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Avatar</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/fox/avatar/avatar2009aug0820a-tsr_h640w.mov</action> + <text>Step Up 3D</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/touchstone/stepup3d/stepup3d-tlr2_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Bandslam</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/summit/bandslam/bandslam-tlr1_h640w.mov</action> + <text>Secretariat</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/disney/secretariat/secretariat-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Beyond a Reasonable Doubt</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/independent/beyondareasonabledoubt/beyondareasonabledoubt_h640w.mov</action> + <text>African Cats</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/disney/africancats/africancats-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Big Fan</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/independent/bigfan/bigfan_h640w.mov</action> + <text>Nowhere Boy</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/weinstein/nowhereboy/nowhereboy-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>The Blind Side</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/wb/theblindside/theblindside-tlr1_h640w.mov</action> + <text>Jonah Hex</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/weinstein/jonahhex/jonahhex-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>The Blue Tooth Virgin</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/independent/thebluetoothvirgin/thebluetoothvirgin_h640w.mov</action> + <text>Splice</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/wb/splice/splice-tlr2_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>The Book of Eli</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/wb/thebookofeli/thebookofeli-tlr1a_h640w.mov</action> + <text>Winter's Bone</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/independent/wintersbone/wintersbone-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>The Box</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/wb/thebox/thebox-tlr1a_h640w.mov</action> + <text>Super 8</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/paramount/super8/super8-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Bright Star</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/independent/brightstar/brightstar_h640w.mov</action> + <text>Piranha 3D</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/weinstein/piranha3d/piranha3d-tlr2_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Brothers</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/lionsgate/brothers/brothers-tlr1a_h640w.mov</action> + <text>Gangster Paradise: Jerusalema</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/independent/gangsterparadise/gangsterparadise-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>The Burning Plain</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/magnolia_pictures/theburningplain/theburningplain_h640w.mov</action> + <text>Waiting for Superman</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/paramount_vantage/waitingforsuperman/waitingforsuperman-tlr1a_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Capitalism: a Love Story</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/independent/capitalismalovestory/capitalismalovestory-tlr1_h640w.mov</action> + <text>Survival of the Dead</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/independent/survivalofthedead/survivalofthedead-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Carriers</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/paramount_vantage/carriers/carriers-tlr1_h640w.mov</action> + <text>Countdown to Zero</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/magnolia_pictures/countdowntozero/countdowntozero-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Casi Divas</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/independent/casidivas/casidivas_h640w.mov</action> + <text>Nanny McPhee Returns</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/universal/nannymcpheereturns/nannymcpheereturns-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Cloudy With a Chance of Meatballs</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/sony_pictures/cloudywithachanceofmeatballs/cloudywithachance-tlr3_h640w.mov</action> + <text>I Spit On Your Grave</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/independent/ispitonyourgrave/ispitonyourgrave-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Coco Before Chanel</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/sony/cocobeforechanel/cocobeforechanel_h640w.mov</action> + <text>Buried</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/lionsgate/buried/buried-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Cold Souls</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/samuel_goldwyn/coldsouls/coldsouls_h640w.mov</action> + <text>Lottery Ticket</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/wb/lotteryticket/lotteryticket-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>The Collector</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/independent/thecollector/thecollector_h640w.mov</action> + <text>Get Low</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/sony/getlow/getlow-tlr2_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Couples Retreat</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/universal/couplesretreat/couplesretreat-tlr_h640w.mov</action> + <text>Princess Kaiulani</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/independent/princesskaiulani/princesskaiulani-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>The Cove</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/independent/thecove/thecove_h640w.mov</action> + <text>The Twilight Saga: Eclipse</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/summit/twilightsagaeclipse/twilightsagaeclipse-tlr2_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>The Damned United</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/sony/thedamnedunited/thedamnedunited_h640w.mov</action> + <text>8: The Mormon Proposition</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/independent/8themormonproposition/8themormonproposition_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Daybreakers</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/lionsgate/daybreakers/daybreakers-tlr1c_h640w.mov</action> + <text>Predators</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/fox/predators/predators-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Despicable Me</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/universal/despicableme/despicableme-tlr1_h640w.mov</action> + <text>Acts of Violence</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/independent/actsofviolence/actsofviolence-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>District 9</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/sony_pictures/district9/district9-tlr4_h640w.mov</action> + <text>The Disappearance of Alice Creed</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/independent/thedisappearanceofalicecreed/disappearanceofalicecreed-tlr2_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>An Education</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/sony/aneducation/aneducation_h640w.mov</action> + <text>The Expendables</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/lionsgate/theexpendables/expendables-tlr2_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Extract</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/miramax/extract/extract-inttlr_h640w.mov</action> + <text>TiMER</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/independent/timer/timer-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Fame</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/mgm/fame/fame-tlr2r_h640w.mov</action> + <text>Paper Man</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/independent/paperman/paperman-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Fantastic Mr. Fox</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/fox_searchlight/fantasticmrfox/fantasticmrfox-tlra_h640w.mov</action> + <text>Holy Rollers</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/independent/holyrollers/holyrollers-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>The Final Destination</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/newline/thefinaldestination/thefinaldestination-tlr1_h640w.mov</action> + <text>Ondine</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/magnolia_pictures/ondine/ondine-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Five Minutes of Heaven</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/ifc_films/fiveminutesofheaven/fiveminutesofheaven_h640w.mov</action> + <text>DCI 2010: The Countdown</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/independent/dci2010thecountdown/dcicountdown-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Funny People</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/universal/funnypeople/funnypeople-tlr1r_h640w.mov</action> + <text>The Other Guys</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/sony_pictures/theotherguys/theotherguys-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>G-Force</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/disney/gforce/gforce-tlr2_h640w.mov</action> + <text>The Kids Are All Right</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/focus_features/thekidsareallright/kidsarealright-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>G.I. Joe: Rise of Cobra</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/paramount/gijoe/gijoetheriseofcobra-tlr1_h640w.mov</action> + <text>Dinner for Schmucks</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/paramount/dinnerforschmucks/dinnerforschmucks-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Gamer</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/lionsgate/gamer/gamer-tlr2a_h640w.mov</action> + <text>Micmacs</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/sony/micmacs/micmacs-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Gentlemen Broncos</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/fox_searchlight/gentlemenbroncos/gentlemenbroncos_h640w.mov</action> + <text>Coco Chanel and Igor Stravinsky</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/sony/cocoandigor/cocoigor-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Grace</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/independent/grace/grace_h640w.mov</action> + <text>Casino Jack and the United States of Money</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/magnolia_pictures/casinojack/casinojack-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Halloween 2</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/weinstein/halloween2/halloweenii-tlr2_h640w.mov</action> + <text>I Am Love</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/magnolia_pictures/iamlove/iamlove-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>The Hangover</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/wb/thehangover/thehangover-tlr2_h640w.mov</action> + <text>Mother and Child</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/sony/motherandchild/motherandchild-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>The Hurt Locker</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/summit/thehurtlocker/thehurtlocker_h640w.mov</action> + <text>Just Wright</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/fox_searchlight/justwright/justwright-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>I Can Do Bad All by Myself</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/lionsgate/icandobadallbymyself/icandobadallbymyself-tlr2a_h640w.mov</action> + <text>In My Sleep</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/independent/inmysleep/inmysleep_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>I Sell the Dead</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/ifc_films/isellthedead/isellthedead_h640w.mov</action> + <text>My Girlfriend's Boyfriend</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/independent/mygirlfriendsboyfriend/mygirlfriendsboyfriend-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Ice Age: Dawn of the Dinosaurs</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/fox/ice_age_iii/iceage3-tlrn_h640w.mov</action> + <text>Wild Grass</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/sony/wildgrass/wildgrass-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>In the Loop</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/ifc_films/intheloop/intheloop_h640w.mov</action> + <text>Eat Pray Love</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/sony/eatpraylove/eatpraylove-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>The Informant!</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/wb/theinformant/theinformant-tlr1_h640w.mov</action> + <text>The Secret In Their Eyes</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/sony/thesecretintheireyes/thesecretintheireyes-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Inglourious Basterds</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/weinstein/inglouriousbasterds/inglouriousbasterds-tlr4_h640w.mov</action> + <text>The Switch</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/miramax/theswitch/theswitch-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>The Invention of Lying</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/wb/theinventionoflying/theinventionoflying-tlr1_h640w.mov</action> + <text>Harry Brown</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/independent/harrybrown/harrybrown-tlr1a_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>It Might Get Loud</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/sony/itmightgetloud/itmightgetloud_h640w.mov</action> + <text>Please Give</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/sony/pleasegive/pleasegive-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>It’s Complicated</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/universal/itscomplicated/itscomplicated_h640w.mov</action> + <text>Touching Home</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/independent/touchinghome/touchinghome-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Jennifer’s Body</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/fox/jennifersbody/jennifersbody-tlrc_h640w.mov</action> + <text>Hey Hey It's Esther Blueburger </text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/independent/heyheyitsestherblueburger/heyhey-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Julie Julia</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/sony_pictures/julieandjulia/julieandjulia-tlr1_h640w.mov</action> + <text>The Good Heart</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/magnolia_pictures/thegoodheart/thegoodheart-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>The Last Airbender</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/paramount/thelastairbender/thelastairbender-tlr1_h640w.mov</action> + <text>Killers</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/lionsgate/killers/killers-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Law Abiding Citizen</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/independent/lawabidingcitizen/lawabidingcitizen_h640w.mov</action> + <text>Get Him To The Greek</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/universal/gethimtothegreek/gethimtothegreek-tlr_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Legion</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/sony_pictures/legion/legion-tlr1_h640w.mov</action> + <text>The A-Team</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/fox/theateam/ateam-tlr2_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Live Music</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/sony_pictures/livemusic/livemusic_h640w.mov</action> - </button> - - <button> - <type>VIDEO_BROWSER</type> - <text>Lorna’s Silence</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/sony/lornassilence/lornassilence_h640w.mov</action> - </button> - - <button> - <type>VIDEO_BROWSER</type> - <text>Love Happens</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/universal/lovehappens/lovehappens-tlr1_h640w.mov</action> - </button> - - <button> - <type>VIDEO_BROWSER</type> - <text>The Lovely Bones</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/paramount/thelovelybones/thelovelybones_h640w.mov</action> + <text>Alice In Wonderland</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/disney/aliceinwonderland/aliceinwonderland-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>The Men Who Stare At Goats</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/overture/themenwhostareatgoats/themenwhostareatgoats_h640w.mov</action> + <text>Avatar</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/fox/avatar/avatar-tlrf_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>More Than a Game</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/lionsgate/morethanagame/morethanagame-tlr1a_h640w.mov</action> + <text>Babies</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/focus_features/babies/babies-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>My One and Only</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/independent/myoneandonly/myoneandonly_h640w.mov</action> + <text>The Back-up Plan</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/independent/thebackupplan/backupplan-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>New York, I Love You</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/independent/newyorkiloveyou/newyorkiloveyou_h640w.mov</action> + <text>Beastly</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/independent/beastly/beastly-tlr1b_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Night At the Museum: Battle of the Smithsonian</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/fox/nightatthemuseum2/nightatthemuseum2-tlro_h640w.mov</action> + <text>Cats and Dogs: The Revenge of Kitty Galore 3D</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/wb/catsanddogs2/catsanddogs2-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Nine</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/weinstein/nine/nine-tlr1_h640w.mov</action> + <text>Cyrus</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/fox_searchlight/cyrus/cyrus-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Ninja Assassin</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/wb/ninjaassassin/ninjaassassin-tlr1_h640w.mov</action> + <text>Date Night</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/fox/datenight/datenight-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Oceans</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/disney/oceans/oceans-tsr1_h640w.mov</action> + <text>Despicable Me</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/universal/despicableme/despicableme-tlr5i_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Old Dogs</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/disney/olddogs/olddogs_h640w.mov</action> + <text>Furry Vengeance</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/summit/furryvengeance/furryvengeance-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Ong Bak 2</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/magnolia_pictures/ongbak2/ongbak2_h640w.mov</action> + <text>Grown Ups</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/sony_pictures/grownups/grownups-tlr2_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Orphan</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/wb/orphan/orphan-tlr2_h640w.mov</action> + <text>Hot Tub Time Machine</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/mgm/hottubtimemachine/hottubtimemachine-tlr2_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>The Other Man</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/independent/theotherman/theotherman_h640w.mov</action> + <text>How To Train Your Dragon</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/dreamworks/howtotrainyourdragon/howtotrainyourdragon-tlr2_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Pandorum</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/independent/pandorum/pandorum-tl1_h640w.mov</action> + <text>Hubble 3D</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/imax/hubble3d/hubble3d-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Paper Heart</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/independent/paperheart/paperheart_h640w.mov</action> + <text>Inception</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/wb/inception/inception-tlr3_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Paris</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/ifc_films/paris/paris_h640w.mov</action> + <text>Iron Man 2</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/paramount/ironman2/ironman2-34rgrwt9-tlr2_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>A Perfect Getaway</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/universal/aperfectgetaway/aperfectgetaway_h640w.mov</action> + <text>Karate Kid</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/sony_pictures/karatekid/karatekid-tlr2_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Planet 51</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/sony_pictures/planet51/planet51-tlr2_h640w.mov</action> + <text>Knight and Day</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/fox/knightandday/knightandday-tlr2_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Play the Game</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/independent/playthegame/playthegame_h640w.mov</action> + <text>The Last Airbender</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/paramount/thelastairbender/lastairbender-tlr3_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Ponyo</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/disney/ponyo/ponyo_h640w.mov</action> + <text>Letters To Juliet</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/summit/letterstojuliet/letterstojuliet-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Post Grad</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/fox_searchlight/postgrad/postgrad-tlra_h640w.mov</action> + <text>The Losers</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/wb/thelosers/thelosers-tlr1b_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Precious</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/lionsgate/precious/precious-tlr2a_h640w.mov</action> + <text>MacGruber</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/universal/macgruber/macgruber-tlr4_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Princess and the Frog</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/disney/princessandthefrog/princessandthefrog-tsr2_h640w.mov</action> + <text>Multiple Sarcasms</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/independent/multiplesarcasms/multiplesarcasms-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>The Proposal</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/touchstone/theproposal/theproposal-tlr3_h640w.mov</action> + <text>A Nightmare On Elm Street</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/newline/anightmareonelmstreet/nightmareonelmstreet-tlr2_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>The Road</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/weinstein/theroad/theroad_h640w.mov</action> + <text>Oceans</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/disney/oceans/oceans-tsr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Saw VI</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/lionsgate/saw6/sawvi_h640w.mov</action> + <text>Prince of Persia: the Sands of Time</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/disney/princeofpersia/princeofpersia-tlr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>The September Issue</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/independent/theseptemberissue/theseptemberissue_h640w.mov</action> + <text>Robin Hood</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/universal/robinhood/robinhood-tlr3_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Sherlock Holmes</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/wb/sherlockholmes/sherlockholmes-tlr2_h640w.mov</action> + <text>Salt</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/sony_pictures/salt/salt-tlr2_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Shorts</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/wb/shorts/shorts-tlr3_h640w.mov</action> + <text>Sex and the City 2</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/wb/sexandthecity2/sexandthecity2-tlr2_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Shrink</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/lionsgate/shrink/shrink-tlr1_h640w.mov</action> + <text>Shrek Forever After</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/dreamworks/shrekforeverafter/shrek4-tlr2_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> <text>Shutter Island</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/paramount/shutterisland/shutterisland-tlr1r2_h640w.mov</action> - </button> - - <button> - <type>VIDEO_BROWSER</type> - <text>Sorority Row</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/summit/sororityrow/sororityrow-tlr1_h640w.mov</action> - </button> - - <button> - <type>VIDEO_BROWSER</type> - <text>Spread</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/independent/spread/spread_h640w.mov</action> - </button> - - <button> - <type>VIDEO_BROWSER</type> - <text>St. Trinian’s</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/independent/sttrinians/sttrinians_h640w.mov</action> - </button> - - <button> - <type>VIDEO_BROWSER</type> - <text>The Stepfather</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/sony_pictures/thestepfather/thestepfather_h640w.mov</action> - </button> - - <button> - <type>VIDEO_BROWSER</type> - <text>Surrogates</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/touchstone/surrogates/surrogates-tlr2_h640w.mov</action> - </button> - - <button> - <type>VIDEO_BROWSER</type> - <text>Surviving Crooked Lake</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/independent/survivingcrookedlake/survivingcrookedlake_h640w.mov</action> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/paramount/shutterisland/shutterisland-tlr1r2r_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Taking Woodstock</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/focus_features/takingwoodstock/takingwoodstock-tlr_h640w.mov</action> - </button> - - <button> - <type>VIDEO_BROWSER</type> - <text>The Time Traveler’s Wife</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/newline/timetravelerswife/timetravelerswife-tlr1_h640w.mov</action> + <text>The Sorcerer's Apprentice</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/disney/thesorcerersapprentice/sorcerersapprentice-tlr2_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> <text>Toy Story 3</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/disney/toystory3/toystory3-tsr_h640w.mov</action> - </button> - - <button> - <type>VIDEO_BROWSER</type> - <text>Transformers: Revenge of the Fallen</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/paramount/transformers2/transformersrevengeofthefallen-tlr2r_h640w.mov</action> - </button> - - <button> - <type>VIDEO_BROWSER</type> - <text>The Twilight Saga: New Moon</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/summit/newmoon/newmoon-tsr1_h640w.mov</action> - </button> - - <button> - <type>VIDEO_BROWSER</type> - <text>The Ugly Truth</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/sony_pictures/theuglytruth/theuglytruth-tlr2_h640w.mov</action> - </button> - - <button> - <type>VIDEO_BROWSER</type> - <text>Walt El Grupo</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/independent/waltandelgrupo/waltandelgrupo_h640w.mov</action> - </button> - - <button> - <type>VIDEO_BROWSER</type> - <text>Where the Wild Things Are</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/wb/wherethewildthingsare/wtwta-tlr2_h640w.mov</action> - </button> - - <button> - <type>VIDEO_BROWSER</type> - <text>Whip It</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/fox_searchlight/whipit/whipit_h640w.mov</action> - </button> - - <button> - <type>VIDEO_BROWSER</type> - <text>White On Rice</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/independent/whiteonrice/whiteonrice_h640w.mov</action> - </button> - - <button> - <type>VIDEO_BROWSER</type> - <text>Whiteout</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/wb/whiteout/whiteout-tlr1_h640w.mov</action> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/disney/toystory3/toystory3-tlr3_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>World’s Greatest Dad</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/magnolia_pictures/worldsgreatestdad/worldsgreatestdad_h640w.mov</action> + <text>Tron Legacy</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/disney/tronlegacy/tronlegacy-tsr1_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>X Games 3D: the Movie</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/disney/xgames3d/xgames3d_h640w.mov</action> + <text>Tyler Perry's Why Did I Get Married Too</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/lionsgate/whydidigetmarriedtoo/whydidigetmarriedtoo-tlr2_h640w.mov</action> </button> <button> <type>VIDEO_BROWSER</type> - <text>Zombieland</text> - <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://apple.com/movies/sony_pictures/zombieland/zombieland-tlr1_h640w.mov</action> + <text>Wall Street: Money Never Sleeps</text> + <action>EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/fox/wallstreetmoneyneversleeps/wallstreet-tlrf_h640w.mov</action> </button> </mythmenu> diff --git a/abs/extra/mythappletrailers/loading.sh b/abs/extra/mythappletrailers/loading.sh index d1ef680..e4e85fc 100755 --- a/abs/extra/mythappletrailers/loading.sh +++ b/abs/extra/mythappletrailers/loading.sh @@ -1,2 +1,12 @@ #!/bin/bash -echo -e "Loading . . . " | osd_cat -p middle -s 5 -f"-adobe-courier-bold-*-*-*-34-*-*-*-*-*" -d 10 -A centre + +. /etc/osd_cat.cfg || { + color=yellow + outline=2 + outlinecolour=black + shadow=0 + shadowcolour=black + font="-adobe-helvetica-bold-*-*-*-34-*-*-*-*-*-*-*" +} + +echo -e "Loading . . . " | osd_cat --pos=middle --align=center --delay=10 --color=$color --outline=$outline --outlinecolour=$outlinecolour --shadow=$shadow --shadowcolour=$shadowcolour --font=$font diff --git a/abs/extra/mythappletrailers/mythappletrailers.install b/abs/extra/mythappletrailers/mythappletrailers.install index 0f6d8fa..96f6717 100644 --- a/abs/extra/mythappletrailers/mythappletrailers.install +++ b/abs/extra/mythappletrailers/mythappletrailers.install @@ -1,7 +1,7 @@ # arg 1: the new package version post_install() { - ln -s /home/mythtv/appletrailer.xml /usr/share/mythtv/appletrailer.xml - mv /usr/share/mythtv/is.xml /tmp + ln -s /home/mythtv/appletrailer.xml /usr/share/mythtv/themes/defaultmenu/appletrailer.xml + mv /usr/share/mythtv/themes/defaultmenu/is.xml /tmp grep -v -e /mythmenu /tmp/is.xml > /tmp/is.xml.tmp echo "<!--#MythAppleTrailers-->" >> /tmp/is.xml.tmp echo " <button>" >> /tmp/is.xml.tmp @@ -12,24 +12,24 @@ post_install() { echo "<!--#MythAppleTrailers-->" >> /tmp/is.xml.tmp echo "" >> /tmp/is.xml.tmp echo "</mythmenu>" >> /tmp/is.xml.tmp - mv /tmp/is.xml.tmp /usr/share/mythtv/is.xml + mv /tmp/is.xml.tmp /usr/share/mythtv/themes/defaultmenu/is.xml } # arg 1: the new package version # arg 2: the old package version post_upgrade() { - if [ -e /usr/share/mythtv/appletrailer.xml ] + if [ -e /usr/share/mythtv/themes/defaultmenu/appletrailer.xml ] then exit else - ln -s /home/mythtv/appletrailer.xml /usr/share/mythtv/appletrailer.xml + ln -s /home/mythtv/appletrailer.xml /usr/share/mythtv/themes/defaultmenu/appletrailer.xml fi } # arg 1: the old package version post_remove() { - rm -fr /usr/share/mythtv/appletrailer.xml - mv /usr/share/mythtv/is.xml /tmp/is.xml.tmp - sed -e '/\#MythAp/,/\#MythAp/d' < /tmp/is.xml.tmp > /usr/share/mythtv/is.xml + rm -fr /usr/share/mythtv/appletrailer.xml /usr/share/mythtv/themes/defaulmenu/mythappletrailer.xml + mv /usr/share/mythtv/themes/defaultmenu/is.xml /tmp/is.xml.tmp + sed -e '/\#MythAp/,/\#MythAp/d' < /tmp/is.xml.tmp > /usr/share/mythtv/themes/defaultmenu/is.xml } op=$1 diff --git a/abs/extra/mythnuv2mkv/PKGBUILD b/abs/extra/mythnuv2mkv/PKGBUILD index 9a61d9a..5df33a7 100644 --- a/abs/extra/mythnuv2mkv/PKGBUILD +++ b/abs/extra/mythnuv2mkv/PKGBUILD @@ -1,5 +1,5 @@ pkgname=mythnuv2mkv -pkgver=1.53 +pkgver=1.60 pkgrel=1 conflicts=() pkgdesc="Converts MythTV nuv or mpg files to mkv, mp4 or avi files. It can be run as a MythTV User Job or at command line to convert MythTV recordings or stand alone files." @@ -8,9 +8,9 @@ arch=('i686') license=('GPL') source=(http://web.aanet.com.au/~auric/files2/V${pkgver}/mythnuv2mkv.sh) -install='' build() { + patch -p0 <$startdir/mythnuv2mkv.patch || return 1 mkdir -p $startdir/pkg/usr/bin install -m 0755 mythnuv2mkv.sh $startdir/pkg/usr/bin/mythnuv2mkv.sh } - +md5sums=('19a5c8bed9bd7d6a86d35e96afa4b3bb') diff --git a/abs/extra/mythnuv2mkv/mythnuv2mkv.patch b/abs/extra/mythnuv2mkv/mythnuv2mkv.patch new file mode 100644 index 0000000..5ca20ae --- /dev/null +++ b/abs/extra/mythnuv2mkv/mythnuv2mkv.patch @@ -0,0 +1,36 @@ +--- mythnuv2mkv.sh.orig 2010-04-21 01:41:11.000000000 +0000 ++++ mythnuv2mkv.sh 2010-04-21 01:43:04.000000000 +0000 +@@ -7,19 +7,19 @@ + # + ######### Vars you may want to set for your environment ###################################################### + # Default aspect for Myth Recording mpg files. It will try to work it out but if it can't will use this. +-readonly DEFAULTMPEG2ASPECT="NA" # 4:3 or 16:9 ++readonly DEFAULTMPEG2ASPECT="16:9" # 4:3 or 16:9 + # Log directory +-readonly LOGBASEDIR="/var/tmp" # Don't use a directory with spaces in it's name ++readonly LOGBASEDIR="/tmp" # Don't use a directory with spaces in it's name + # Number of errors reported by mplayer allowed in the transcoded file + readonly MPLAYER_ERROR_COUNT="8" + # Path to your mysql.txt file + readonly MYSQLTXT="" + # What to separate Title SeasonEpisode SubTitle with +-readonly SEP="," ++readonly SEP="_" + # Chapter marks every X minutes +-CHAPTERDURATION=0 ++CHAPTERDURATION=5 + # Crop input +-CROP="ON" # ON | OFF, can also change with --crop argument ++CROP="OFF" # ON | OFF, can also change with --crop argument + CROPSIZE=8 + # Delete recording after successful transcode. Only for transcode out of MythRecording. (Actually just sets to high priority autoexpire.) + DELETEREC="OFF" # ON | OFF, can also change with --deleterec argument +@@ -29,7 +29,7 @@ + DEBLOCK="OFF" # ON | OFF, can also change with --deblock argument + # Include deinterlace filter. + # SOURCENAME is ON for that source. Can have multiple. e.g. DEINTERLACE="Cabel,FTA1" +-DEINTERLACE="ON" # ON | OFF | SOURCENAME,SOURCENAME can also change with --deinterlace argument. ++DEINTERLACE="OFF" # ON | OFF | SOURCENAME,SOURCENAME can also change with --deinterlace argument. + # Include inverse Telecine filter (Experimental. Can someone from NTSC/ATSC land try this?). + # invtelecine filter is never added if deinterlace has been added. + INVTELECINE="OFF" # ON | OFF, can also change with --invtelecine argument. diff --git a/abs/extra/mythtv-contrib/6200ch.tar.gz b/abs/extra/mythtv-contrib/6200ch.tar.gz Binary files differnew file mode 100644 index 0000000..53debf4 --- /dev/null +++ b/abs/extra/mythtv-contrib/6200ch.tar.gz diff --git a/abs/extra/mythtv-contrib/PKGBUILD b/abs/extra/mythtv-contrib/PKGBUILD new file mode 100644 index 0000000..7f73f9d --- /dev/null +++ b/abs/extra/mythtv-contrib/PKGBUILD @@ -0,0 +1,150 @@ +# Contributor: Michael Hanson <hansonorders@verizon.net> +# Maintainer: Michael Hanson <hansonorders@verizon.net> +pkgname=mythtv-contrib +pkgver=0.23 +pkgrel=7 +pkgdesc="User contributed scripts and utilities for mythtv." +arch=('i686' 'x86_64') +url="http://mythtv.org" +license=('GPL') +groups=('mythtv-extras') +depends=('perl' 'mythtv') +makedepends=('gcc' 'subversion' 'libavc1394' 'libraw1394' 'libiec61883') +install='mythtv-contrib.install' +source=('http://www.pdp8.net/directv/directv.pl' \ + 'http://stb-command.googlecode.com/files/stb-command1.2.tar.gz' \ + 'http://mythtv.mlaronson.com/myth-xbmc-connect/downloads/xbmc_mythlink.tgz' \ + 'mythchanger.10f.beta.tar' '6200ch.tar.gz' 'dct-channel_make.patch' \ + 'mythchanger_make.patch') +patches=('dct-channel_make.patch' 'mythchanger_make.patch') +_svntrunk=http://cvs.mythtv.org/svn/branches/release-0-23-fixes/mythtv/contrib +_svnver=23566 +_svnmod=contrib + +build() { + # get clean copy from SVN repo + svn co $_svntrunk --config-dir ./ -r $_svnver $_svnmod + svn revert -R $_svnmod + + cd $startdir/src/contrib + + # build and install + echo "Building 6200ch..." + cd $srcdir + tar zxf 6200ch.tar.gz + cd $srcdir/6200ch + gcc -std=gnu99 -o 6200ch 6200ch.c -lavc1394 -lrom1394 -lraw1394 || return 1 + install -D -m755 6200ch $startdir/pkg/usr/bin/6200ch || return 1 + install -D -m644 README $startdir/pkg/usr/share/doc/mythtv-contrib/README.6200ch || return 1 + + echo "Building change-channel-lirc..." + cd $srcdir/contrib/channel_changers/change-channel-lirc || return 1 + install -D -m755 *{.pl,.sh} $startdir/pkg/usr/bin || return 1 + + echo "Building d10control..." + cd $srcdir/contrib/channel_changers/d10control || return 1 + install -D -m755 d10control.pl $startdir/pkg/usr/bin/d10control.pl || return 1 + install -D -m644 README $startdir/pkg/usr/share/doc/mythtv-contrib/README.d10control + + echo "Building dct-channel..." + cd $srcdir/contrib/channel_changers/dct-channel + patch -p4 <$startdir/dct-channel_make.patch || return 1 + cd $srcdir/contrib/channel_changers/dct-channel || return 1 + make || return 1 + install -D -m755 channel $startdir/pkg/usr/bin || return 1 + install -D -m644 channel.1 $startdir/pkg/usr/man/man1/channel.1 || return 1 + install -D -m644 README $startdir/pkg/usr/share/doc/mythtv-contrib/README.dct-channel + install -D -m644 COPYING $startdir/pkg/usr/share/licenses/mythtv-contrib/COPYING.dct-channel + + echo "Building dct2000serial..." + cd $srcdir/contrib/channel_changers/dct2000serial || return 1 + install -D -m755 *.py $startdir/pkg/usr/bin || return 1 + install -D -m644 README $startdir/pkg/usr/share/doc/mythtv-contrib/README.dct2000serial + + echo "Building redeye..." + cd $srcdir/contrib/channel_changers/red_eye || return 1 + gcc -Wall -o red_eye red_eye.c || return 1 + install -D -m755 red_eye $startdir/pkg/usr/bin/red_eye || return 1 + install -D -m644 README $startdir/pkg/usr/share/doc/mythtv-contrib/README.red_eye + + echo "Building sa3250ch..." + cd $srcdir/contrib/channel_changers/sa3250ch || return 1 + gcc -Wall -o sa3250ch sa3250ch.c -lrom1394 -lavc1394 -lraw1394 || return 1 + install -D -m755 sa3250ch $startdir/pkg/usr/bin/sa3250ch || return 1 + install -D -m644 README $startdir/pkg/usr/share/doc/mythtv-contrib/README.sa3250ch + + echo "Building firewire_tester..." + cd $srcdir/contrib/development/firewire_tester || return 1 + gcc -Wall -o firewire_tester firewire_tester.c -liec61883 -lraw1394 || return 1 + install -D -m755 firewire_tester $startdir/pkg/usr/bin || return 1 + install -D -m644 README $startdir/pkg/usr/share/doc/mythtv-contrib/README.firewire_tester + + echo "Building tsc-calibrate..." + cd $srcdir/contrib/development/tsc-calibrate || return 1 + gcc -o tsc-calibrate tsc-calibrate.c || return 1 + install -D -m755 tsc-calibrate $startdir/pkg/usr/bin || return 1 + + echo "Building mythname..." + cd $srcdir/contrib/info/mythname || return 1 + install -D -m755 mythname.pl $startdir/pkg/usr/bin || return 1 + install -D -m644 README $startdir/pkg/usr/share/doc/mythtv-contrib/README.mythname + + echo "Building misc_status_info..." + cd $srcdir/contrib/info/misc_status_info || return 1 + install -D -m755 *{.sh,.pl} $startdir/pkg/usr/bin || return 1 + install -D -m644 README $startdir/pkg/usr/share/doc/mythtv-contrib/README.misc_status_info + + echo "Building maintenance..." + cd $srcdir/contrib/maintenance || return 1 + install -D -m755 *.pl $startdir/pkg/usr/bin || return 1 + + echo "Building mythmail..." + cd $srcdir/contrib/mythmail || return 1 + install -D -m755 *.pl $startdir/pkg/usr/bin || return 1 + + echo "Building recovery..." + cd $srcdir/contrib/recovery || return 1 + install -D -m755 *.pl $startdir/pkg/usr/bin || return 1 + + echo "Building user_jobs..." + cd $srcdir/contrib/user_jobs || return 1 + install -D -m755 *.pl $startdir/pkg/usr/bin || return 1 + install -D -m755 setbookmark $startdir/pkg/usr/bin/setbookmark.pl || return 1 + + echo "Building directv.pl..." + cd $srcdir || return 1 + install -D -m755 directv.pl $startdir/pkg/usr/bin || return 1 + + echo "Building stb-command..." + cd $srcdir + tar zxf stb-command1.0.tar.gz || return 1 + cd $srcdir/stb-command + make || return 1 + install -D -m755 stb-command $startdir/pkg/usr/bin || return 1 + install -D -m755 sa3250_ch_guid $startdir/pkg/usr/bin || return 1 + install -D -m755 stb_cmd_guid $startdir/pkg/usr/bin || return 1 + install -D -m644 README $startdir/pkg/usr/share/doc/mythtv-contrib/README.stb-command || return 1 + + echo "Building mythchanger..." + cd $srcdir + tar xf mythchanger.10f.beta.tar || return 1 + cd $srcdir/mythchanger.10f.beta + patch -p1 <$startdir/mythchanger_make.patch || return 1 + make || return 1 + install -D -m755 mythchanger $pkgdir/usr/bin || return 1 + install -D -m644 README $startdir/pkg/usr/share/doc/mythtv-contrib/README.mythchanger + + echo "Building xbmc mythlink..." + cd $srcdir + tar zxf xbmc_mythlink.tgz || return 1 + install -D -m755 tvdb_get.sh $startdir/pkg/usr/bin || return 1 + install -D -m755 xbmc_cleanup.sh $startdir/pkg/usr/bin || return 1 + install -D -m755 xbmc_mythlink.py $startdir/pkg/usr/bin || return 1 +} +md5sums=('89cfc17883a41e365e85e0a4ac20994f' + '8067175170add2c4d8aa333e43c9387c' + '2ee7eafc3804f0bd48ede0ad05e718f1' + '34d148795f832f12973a08d59e9a0ef3' + '9029957cad36d5867a070da373d2bc2a' + '309342034f20d85dce3270a21320fb4c' + 'c5996437bef4448acbee300bd6659dad') diff --git a/abs/extra/mythtv-contrib/dct-channel_make.patch b/abs/extra/mythtv-contrib/dct-channel_make.patch new file mode 100644 index 0000000..9d9dc53 --- /dev/null +++ b/abs/extra/mythtv-contrib/dct-channel_make.patch @@ -0,0 +1,16 @@ +--- src/contrib/channel_changers/dct-channel/Makefile.orig 2010-03-23 00:56:51.000000000 +0000 ++++ src/contrib/channel_changers/dct-channel/Makefile 2010-03-23 00:57:47.000000000 +0000 +@@ -1,5 +1,5 @@ + CFLAGS = -Wall +-PREFIX = /usr/local ++PREFIX = /data/LinHES-PKGBUILD/abs/extra-testing/community/mythtv-contrib/pkg/usr + MANPATH = ${PREFIX}/man/man1 + BINPATH = ${PREFIX}/bin + +@@ -44,4 +44,4 @@ + rm -f *.o channel core + + veryclean: clean +- rm -f channel.1 +\ No newline at end of file ++ rm -f channel.1 diff --git a/abs/extra/mythtv-contrib/mythchanger.10f.beta.tar b/abs/extra/mythtv-contrib/mythchanger.10f.beta.tar Binary files differnew file mode 100644 index 0000000..e848866 --- /dev/null +++ b/abs/extra/mythtv-contrib/mythchanger.10f.beta.tar diff --git a/abs/extra/mythtv-contrib/mythchanger_make.patch b/abs/extra/mythtv-contrib/mythchanger_make.patch new file mode 100644 index 0000000..facd9e6 --- /dev/null +++ b/abs/extra/mythtv-contrib/mythchanger_make.patch @@ -0,0 +1,8 @@ +--- mythchanger.10f.beta/Makefile.orig 2010-03-23 01:35:27.000000000 +0000 ++++ mythchanger.10f.beta/Makefile 2010-03-23 01:36:16.000000000 +0000 +@@ -1,4 +1,4 @@ +-prefix = /usr ++prefix = /data/LinHES-PKGBUILD/abs/extra-testing/community/mythtv-contrib/pkg/usr + + CC = gcc + diff --git a/abs/extra/mythtv-contrib/mythtv-contrib.install b/abs/extra/mythtv-contrib/mythtv-contrib.install new file mode 100644 index 0000000..bb7b801 --- /dev/null +++ b/abs/extra/mythtv-contrib/mythtv-contrib.install @@ -0,0 +1,7 @@ +post_install() { + echo ">>> AS IS WITHOUT WARRANTY." + echo ">>> DO NOT FILE BUG REPORTS ON COMPONENTS OF THIS PACKAGE." + echo ">>> ANY ISSUES WITH SHOULD BE TAKEN UP WITH THE COMPONENT'S" + echo ">>> AUTHOR." + echo ">>> See README's in /usr/share/doc/mythtv-contrib" +} diff --git a/abs/extra/mythtv-contrib/xbmc_mythlink.tgz b/abs/extra/mythtv-contrib/xbmc_mythlink.tgz Binary files differnew file mode 100644 index 0000000..be3f2ef --- /dev/null +++ b/abs/extra/mythtv-contrib/xbmc_mythlink.tgz diff --git a/abs/extra/netkit-bsd-finger/LICENSE b/abs/extra/netkit-bsd-finger/LICENSE new file mode 100644 index 0000000..7825451 --- /dev/null +++ b/abs/extra/netkit-bsd-finger/LICENSE @@ -0,0 +1,36 @@ +/* + * Copyright (c) 1989 The Regents of the University of California. + * All rights reserved. + * + * This code is derived from software contributed to Berkeley by + * Tony Nardo of the Johns Hopkins University/Applied Physics Lab. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. All advertising materials mentioning features or use of this software + * must display the following acknowledgement: + * This product includes software developed by the University of + * California, Berkeley and its contributors. + * 4. Neither the name of the University nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + */ + diff --git a/abs/extra/netkit-bsd-finger/PKGBUILD b/abs/extra/netkit-bsd-finger/PKGBUILD new file mode 100644 index 0000000..06a45cc --- /dev/null +++ b/abs/extra/netkit-bsd-finger/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: PKGBUILD 35715 2009-04-16 03:28:17Z eric $ +# Maintainer: dorphell <dorphell@archlinux.org> +pkgname=netkit-bsd-finger +pkgver=0.17 +pkgrel=4 +pkgdesc="bsd-finger ported to Linux" +arch=('i686' 'x86_64') +url="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit" +license=('BSD') +depends=('glibc' 'xinetd') +backup=('etc/xinetd.d/finger') +source=(ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/bsd-finger-$pkgver.tar.gz finger.xinetd LICENSE) +md5sums=('52bf281aac8814bf56cdc92f7661ee75' 'a8682004dc8dee356065162bde892b47'\ + '5fc568418a0379fc3a358ed1c2523b44') + +build() { + cd $srcdir/bsd-finger-$pkgver + install -d $pkgdir/usr/{bin,sbin} $pkgdir/usr/share/man/{man1,man8} + ./configure --prefix=/usr || return 1 + sed -i 's@include <sys/time.h>@include <time.h>@' finger/lprint.c || return 1 + sed -i 's@include <sys/time.h>@include <time.h>@' finger/sprint.c || return 1 + make || return 1 + make INSTALLROOT=$pkgdir MANDIR=/usr/share/man install || return 1 + install -D -m644 $srcdir/finger.xinetd $pkgdir/etc/xinetd.d/finger || return 1 + install -D -m644 ../LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE +} diff --git a/abs/extra/netkit-bsd-finger/finger.xinetd b/abs/extra/netkit-bsd-finger/finger.xinetd new file mode 100644 index 0000000..cc9a8b1 --- /dev/null +++ b/abs/extra/netkit-bsd-finger/finger.xinetd @@ -0,0 +1,8 @@ +service finger +{ + socket_type = stream + wait = no + user = nobody + server = /usr/sbin/in.fingerd + disable = yes +} diff --git a/abs/extra/numlockx/PKGBUILD b/abs/extra/numlockx/PKGBUILD new file mode 100644 index 0000000..172cceb --- /dev/null +++ b/abs/extra/numlockx/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: PKGBUILD 19225 2008-11-17 22:12:15Z thayer $ +# Contributor: Tom Newsom <Jeepster@gmx.co.uk> +# Contributor: Travis Willard <travisw@wmpub.ca> +# Maintainer: Thayer Williams <thayer@archlinux.org> + +pkgname=numlockx +pkgver=1.1 +pkgrel=4 +pkgdesc="Turns on the numlock key in X11" +arch=('i686' 'x86_64') +license=('MIT') +url="http://ktown.kde.org/~seli/numlockx/" +depends=('libxtst') +source=(http://ktown.kde.org/~seli/$pkgname/$pkgname-$pkgver.tar.gz) +md5sums=('127d9dfbbbe6dbec62cc78db340f913c') + +build() { + cd $srcdir/$pkgname-$pkgver + ./configure --prefix=/usr x_includes=/usr/include/X11 \ + x_libraries=/usr/lib || return 1 + make || return 1 + make prefix=$pkgdir/usr install || return 1 + + # Install the custom MIT license + install -D LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE || return 1 +} diff --git a/abs/extra/nvram-wakup/PKGBUILD b/abs/extra/nvram-wakup/PKGBUILD new file mode 100755 index 0000000..057606b --- /dev/null +++ b/abs/extra/nvram-wakup/PKGBUILD @@ -0,0 +1,15 @@ +pkgname=nvram-wakup +pkgver=1.1 +pkgrel=1 +pkgdesc="set the wakeup time of the localpc" +license="GPL" +arch=(i686) +url="http://sourceforge.net/projects/nvram-wakeup/" +source=("http://downloads.sourceforge.net/project/nvram-wakeup/nvram-wakup-1.1.tar.gz?use_mirror=kent") + +build() { + cd $startdir/src/$pkgname-$pkgver + make || return 1 + make prefix=$startdir/pkg/usr install +} + diff --git a/abs/extra/p7zip/PKGBUILD b/abs/extra/p7zip/PKGBUILD new file mode 100644 index 0000000..9ae5122 --- /dev/null +++ b/abs/extra/p7zip/PKGBUILD @@ -0,0 +1,45 @@ +# $Id: PKGBUILD 70413 2010-02-26 18:54:59Z thayer $ +# Maintainer: Thayer Williams <thayer@archlinux.org> +# Contributor: Hugo Doria <hugo@archlinux.org> +# Contributor: TuxSpirit<tuxspirit@archlinux.fr> 2007/11/17 21:22:36 UTC + +pkgname=p7zip +pkgver=9.04 +pkgrel=2 +pkgdesc="A command-line port of the 7zip compression utility" +arch=('i686' 'x86_64') +license=('GPL') +url="http://p7zip.sourceforge.net" +depends=('gcc-libs' 'bash') +source=(http://downloads.sourceforge.net/sourceforge/$pkgname/${pkgname}_${pkgver}_src_all.tar.bz2) +options=(!emptydirs) + +build() { + cd ${srcdir}/${pkgname}_${pkgver} + + #Arch64 fix + if [ "$CARCH" == "x86_64" ]; then + cp makefile.linux_amd64 makefile.machine + else + cp makefile.linux_x86_ppc_alpha_gcc_4.X makefile.machine + fi + + sed -i "s|usr/local|usr|g" makefile + + make all3 OPTFLAGS="${CXXFLAGS}" || return 1 + make install DEST_HOME="${pkgdir}/usr" \ + DEST_MAN="${pkgdir}/usr/share/man" \ + DEST_SHARE_DOC="http://www.bugaco.com/7zip" + + mkdir -p ${pkgdir}/usr/share/doc/p7zip/DOCS + install -m555 bin/7z.so ${pkgdir}/usr/lib/p7zip/ + + sed -i "s|${pkgdir}/usr|/usr|g" ${pkgdir}/usr/bin/7z + sed -i "s|${pkgdir}/usr|/usr|g" ${pkgdir}/usr/bin/7za + sed -i "s|${pkgdir}/usr|/usr|g" ${pkgdir}/usr/bin/7zr + + # Install mc's virtual filesystem + install -m755 -D contrib/VirtualFileSystemForMidnightCommander/u7z \ + ${pkgdir}/usr/share/mc/extfs/u7z +} +md5sums=('9194ebf9a2b3735d236aed001de5f6f8') diff --git a/abs/extra/postfix/PKGBUILD b/abs/extra/postfix/PKGBUILD new file mode 100644 index 0000000..1b2fa06 --- /dev/null +++ b/abs/extra/postfix/PKGBUILD @@ -0,0 +1,52 @@ +# $Id: PKGBUILD 70372 2010-02-26 13:35:23Z paul $ +# Contributor: Jeff Brodnax <tullyarcher@bellsouth.net> +# Maintainer: Paul Mattal <paul@archlinux.org> +pkgname=postfix +pkgver=2.7.0 +pkgrel=1 +pkgdesc="Secure, fast, easy to administer drop in replacement for Sendmail (MTA)" +arch=('i686' 'x86_64') +license=('custom') +depends=('pcre' 'libsasl' 'db>=4.7') +backup=(etc/postfix/aliases etc/postfix/virtual etc/postfix/relocated \ + etc/postfix/access etc/postfix/header_checks etc/postfix/transport \ + etc/postfix/generic etc/postfix/canonical \ + etc/postfix/main.cf etc/postfix/master.cf) +install="${pkgname}.install" +provides=('smtp-server' 'smtp-forwarder') +replaces=('postfix-mysql' 'postfix-pgsql') +conflicts=('postfix-mysql' 'postfix-pgsql' 'smtp-server' 'smtp-forwarder') +url="http://www.postfix.org/" +source=(ftp://ftp.porcupine.org/mirrors/postfix-release/official/${pkgname}-${pkgver}.tar.gz \ + ${pkgname}.patch.bz2 \ + ${pkgname}) +md5sums=('df648f59421604e895cce56325f00bae' + 'a3c45ff23ef036143711793fcf2478c3' + 'c847b96f08925f08b0f610468a8e21f6') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + + make makefiles \ + CCARGS="-DUSE_SASL_AUTH -I/usr/include/sasl \ + -DUSE_CYRUS_SASL \ + -DUSE_TLS" \ + AUXLIBS="-lsasl2 -lssl -lcrypto -llber -lz -lm " + make OPT="${CFLAGS}" || return 1 + + sh postfix-install -non-interactive \ + install_root="${pkgdir}" \ + daemon_directory="/usr/lib/${pkgname}" \ + sample_directory="/etc/${pkgname}/sample" \ + manpage_directory="/usr/share/man" + + cd ${pkgdir} + cat ${srcdir}/${pkgname}.patch |patch -Np0 || return 1 + rm -f etc/${pkgname}/main.cf~ + + cd ${pkgdir} + mkdir etc/rc.d + install -m 0755 ${srcdir}/${pkgname} etc/rc.d/${pkgname} + + install -Dm644 ${srcdir}/${pkgname}-${pkgver}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE +} diff --git a/abs/extra/postfix/__changelog b/abs/extra/postfix/__changelog new file mode 100644 index 0000000..25ca6b4 --- /dev/null +++ b/abs/extra/postfix/__changelog @@ -0,0 +1 @@ +remove ldap/mysql/pg support diff --git a/abs/extra/postfix/postfix b/abs/extra/postfix/postfix new file mode 100755 index 0000000..37dd6a8 --- /dev/null +++ b/abs/extra/postfix/postfix @@ -0,0 +1,58 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +PID=`pgrep -f /usr/lib/postfix/master` + +start() { + stat_busy "Starting Postfix" + [ -z "$PID" ] && /usr/sbin/postfix start &> /dev/null + if [ $? -gt 0 ]; then + stat_fail + else + add_daemon postfix + stat_done + fi +} + +stop() { + stat_busy "Stopping Postfix" + [ ! -z "$PID" ] && /usr/sbin/postfix stop &> /dev/null + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon postfix + stat_done + fi +} + +reload() { + stat_busy "Reloading Postfix" + [ ! -z "$PID" ] && kill -HUP $PID &> /dev/null + if [ $? -gt 0 ]; then + stat_fail + else + stat_done + fi +} + +case "$1" in + start) + start + ;; + stop) + stop + ;; + restart) + # calling 'stop' and 'start' without the $0 fails... + $0 stop + $0 start + ;; + reload) + reload + ;; + *) + echo "usage: $0 {start|stop|restart|reload}" +esac +exit 0 diff --git a/abs/extra/postfix/postfix.install b/abs/extra/postfix/postfix.install new file mode 100644 index 0000000..bac3e1d --- /dev/null +++ b/abs/extra/postfix/postfix.install @@ -0,0 +1,38 @@ +# arg 1: the new package version +post_install() { + if [ -z "`grep '^postdrop::' /etc/group`" ]; then + groupadd -g 75 postdrop >& /dev/null + fi + if [ -z "`grep '^postfix::' /etc/group`" ]; then + groupadd -g 73 postfix >& /dev/null + fi + if [ -z "`grep '^postfix:' /etc/passwd`" ]; then + useradd -u 73 -d /var/spool/postfix -g postfix -s /bin/false postfix + else + # fix a packaging bug from before (postfix should have no shell) + usermod -s /bin/false postfix + fi + + chown postfix var/spool/postfix/{active,bounce,corrupt,defer,deferred,\ +flush,hold,incoming,private,public,maildrop,trace,saved} + chown postfix var/lib/postfix + chgrp postdrop var/spool/postfix/{public,maildrop} + chgrp postdrop usr/sbin/postqueue + chgrp postdrop usr/sbin/postdrop + chmod g+s usr/sbin/{postqueue,postdrop} + + newaliases +} + +# arg 1: the new package version +# arg 2: the old package version +post_upgrade() { + post_install $1 +} + +# arg 1: the old package version +pre_remove() { + userdel postfix &> /dev/null + groupdel postfix &> /dev/null + groupdel postdrop &> /dev/null +} diff --git a/abs/extra/postfix/postfix.patch.bz2 b/abs/extra/postfix/postfix.patch.bz2 Binary files differnew file mode 100644 index 0000000..dbc0950 --- /dev/null +++ b/abs/extra/postfix/postfix.patch.bz2 diff --git a/abs/extra/procmail/PKGBUILD b/abs/extra/procmail/PKGBUILD new file mode 100644 index 0000000..356a147 --- /dev/null +++ b/abs/extra/procmail/PKGBUILD @@ -0,0 +1,21 @@ +# $Id: PKGBUILD 35774 2009-04-17 03:11:54Z eric $ +# Maintainer: dorphell <dorphell@archlinux.org> +# Committer: Judd Vinet <jvinet@zeroflux.org> +pkgname=procmail +pkgver=3.22 +pkgrel=2 +pkgdesc="Highly configurable auto mail processing." +arch=(i686 x86_64) +url="http://www.procmail.org" +license=('GPL' 'custom:Artistic') +depends=('glibc') +source=(http://www.procmail.org/${pkgname}-${pkgver}.tar.gz) +source=(ftp://ftp.psg.com/pub/unix/procmail/procmail-3.22.tar.gz) +md5sums=('1678ea99b973eb77eda4ecf6acae53f1') + +build() { + cd $srcdir/$pkgname-$pkgver + yes n | make LOCKINGTEST="/tmp ." || return 1 + make BASENAME=$pkgdir/usr MANDIR=$pkgdir/usr/share/man install || return 1 + install -D -m644 Artistic ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE +} diff --git a/abs/extra/pth/PKGBUILD b/abs/extra/pth/PKGBUILD new file mode 100644 index 0000000..2e0f66b --- /dev/null +++ b/abs/extra/pth/PKGBUILD @@ -0,0 +1,22 @@ +# $Id: PKGBUILD 35785 2009-04-17 05:07:12Z eric $ +# Maintainer: damir <damir@archlinux.org> + +pkgname=pth +pkgver=2.0.7 +pkgrel=2 +pkgdesc="The GNU Portable Threads." +arch=('i686' 'x86_64') +url="http://www.gnu.org/software/pth/" +license=('LGPL') +depends=('glibc') +options=('!libtool' '!makeflags') +source=(ftp://ftp.gnu.org/gnu/pth/${pkgname}-${pkgver}.tar.gz) +md5sums=('9cb4a25331a4c4db866a31cbe507c793') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --mandir=/usr/share/man || return 1 + make || return 1 + make DESTDIR=${pkgdir} install || return 1 +} diff --git a/abs/extra/pyqt/ChangeLog b/abs/extra/pyqt/ChangeLog new file mode 100644 index 0000000..e20b55a --- /dev/null +++ b/abs/extra/pyqt/ChangeLog @@ -0,0 +1,21 @@ + +2009-04-11 Douglas Soares de Andrade <douglas@archlinux.org> + + * Fixing the rpath issue, thanks Gerardo + +2008-11-22 Douglas Soares de Andrade <douglas@archlinux.org> + + * Updated for i686: 4.4.4 + +2008-10-22 Douglas Soares de Andrade <douglas@archlinux.org> + + * Rebuilt for python 2.6 + +2008-08-09 Douglas Soares de Andrade <douglas@archlinux.org> + + * Updated for i686: 4.4.3 + +2008-07-06 Douglas Soares de Andrade <douglas@archlinux.org> + + * Updated for i686: 4.4.2 + diff --git a/abs/extra/pyqt/PKGBUILD b/abs/extra/pyqt/PKGBUILD new file mode 100644 index 0000000..f6645c7 --- /dev/null +++ b/abs/extra/pyqt/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 47994 2009-07-30 10:33:54Z pierre $ +# Maintainer: Douglas Soares de Andrade <douglas@archlinux.org> +# Contributor: riai <riai@bigfoot.com> Ben <ben@benmazer.net> + +pkgname=pyqt +pkgver=4.6 +pkgrel=1 +pkgdesc="A set of Python bindings for the Qt toolkit." +arch=(i686 x86_64) +url="http://riverbankcomputing.co.uk/software/pyqt/intro" +depends=('sip>=4.8.2' 'qscintilla>=2.4.0' 'qt>=4.5.2' 'dbus-python' 'openssl') +license=('GPL') +provides=('pyqt4') +replaces=('pyqt4') +conflicts=('pyqt4') +source=(http://riverbankcomputing.com/static/Downloads/PyQt4/PyQt-x11-gpl-$pkgver.tar.gz) + +build() { + cd ${srcdir}/PyQt-x11-gpl-${pkgver} + + python configure.py --confirm-license -b /usr/bin \ + -d /usr/lib/python2.6/site-packages \ + -v /usr/share/sip + + # Thanks Gerardo for the rpath fix + find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g' + + make || return 1 + make DESTDIR=${pkgdir} install +} diff --git a/abs/extra/python-geoip/PKGBUILD b/abs/extra/python-geoip/PKGBUILD new file mode 100644 index 0000000..9def348 --- /dev/null +++ b/abs/extra/python-geoip/PKGBUILD @@ -0,0 +1,20 @@ +# $Id: PKGBUILD 29760 2009-03-12 10:07:44Z douglas $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgname=python-geoip +pkgver=1.2.4 +pkgrel=1 +pkgdesc="Python bindings for the GeoIP IP-to-country resolver library." +arch=(i686 x86_64) +url="http://www.maxmind.com/app/python" +license=('LGPL') +depends=('python>=2.5' 'geoip') +source=(http://www.maxmind.com/download/geoip/api/python/GeoIP-Python-${pkgver}.tar.gz) +replaces=('geoip-python') +provides=('geoip-python') + +build() { + cd ${startdir}/src/GeoIP-Python-${pkgver} + python setup.py build install --root=${startdir}/pkg +} +md5sums=('50f820d854476efaf3b7af733ffe4236') diff --git a/abs/extra/python-lxml/PKGBUILD b/abs/extra/python-lxml/PKGBUILD new file mode 100644 index 0000000..c6fda1c --- /dev/null +++ b/abs/extra/python-lxml/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> +# Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> +# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve> +# Contributor: William Rea <sillywilly@gmail.com> +# Contributor: Guillem Rieu <guillemr@gmx.net> + +pkgname=python-lxml +pkgver=2.2.6 +pkgrel=1 +pkgdesc="Python binding for the libxml2 and libxslt libraries" +arch=('i686' 'x86_64') +license=('BSD' 'GPL' 'custom') +url="http://codespeak.net/lxml" +depends=('python' 'libxslt') +optdepends=("beautiful-soup: support for parsing not well formed HTML") +conflicts=('lxml') +replaces=('lxml') +source=(http://codespeak.net/lxml/lxml-$pkgver.tgz) +md5sums=('b1f700fb22d7ee9b977ee3eceb65b20c') + +build() { + /bin/true +} + +package() { + cd ${srcdir}/lxml-$pkgver + + python setup.py install --root=${pkgdir} || return 1 + + install -D -m644 LICENSES.txt ${pkgdir}/usr/share/licenses/$pkgname/LICENSE || return 1 + install -D -m644 doc/licenses/BSD.txt ${pkgdir}/usr/share/licenses/$pkgname/BSD.txt || return 1 + install -D -m644 doc/licenses/elementtree.txt ${pkgdir}/usr/share/licenses/$pkgname/elementtree.txt || return 1 +} diff --git a/abs/extra/python-pybluez/PKGBUILD b/abs/extra/python-pybluez/PKGBUILD index 8cdbaf4..27b9b61 100644 --- a/abs/extra/python-pybluez/PKGBUILD +++ b/abs/extra/python-pybluez/PKGBUILD @@ -3,7 +3,7 @@ # Contributor: cs-cam - me.at.camdaniel.com pkgname=python-pybluez -pkgver=0.16 +pkgver=0.18 pkgrel=1 pkgdesc="Python wrapper for the BlueZ Bluetooth stack" arch=('i686' 'x86_64') @@ -14,10 +14,11 @@ conflicts=('pybluez') replaces=('pybluez') depends=('python' 'bluez') source=(http://pybluez.googlecode.com/files/PyBluez-$pkgver.tar.gz) -md5sums=('2ce8ff0dbb94c6be14e92e9968f4c914') build() { cd $srcdir/PyBluez-$pkgver python setup.py install --root=$pkgdir && \ ln -s bluetooth/_bluetooth.so $pkgdir/usr/lib/python2.6/site-packages/_bluetooth.so } + +md5sums=('be8c8ce615c3189fda1aaf3d568314b2') diff --git a/abs/extra/python-pyserial/PKGBUILD b/abs/extra/python-pyserial/PKGBUILD new file mode 100644 index 0000000..d90ee2d --- /dev/null +++ b/abs/extra/python-pyserial/PKGBUILD @@ -0,0 +1,20 @@ +# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ +# Maintainer: Douglas Soares de Andrade <dsandrade@gmail.com> +# Contributor: Douglas Soares de Andrade <dsandrade@gmail.com> + +pkgname=python-pyserial +pkgver=2.4 +pkgrel=1 +pkgdesc="Multiplatform Serial Port Module for Python" +arch=('i686' 'x86_64') +url="http://pyserial.sf.net" +license=('custom:PYTHON') +depends=('python') +source=(http://downloads.sourceforge.net/sourceforge/pyserial/pyserial-$pkgver.tar.gz) + +build() { + cd $startdir/src/pyserial-$pkgver + python setup.py install --root=$startdir/pkg + install -D -m644 LICENSE.txt $startdir/pkg/usr/share/licenses/$pkgname/LICENSE.txt +} +md5sums=('eec19df59fd75ba5a136992897f8e468') diff --git a/abs/extra/qscintilla/ChangeLog b/abs/extra/qscintilla/ChangeLog new file mode 100644 index 0000000..8e78889 --- /dev/null +++ b/abs/extra/qscintilla/ChangeLog @@ -0,0 +1,13 @@ + +2008-11-22 Douglas Soares de Andrade <douglas@archlinux.org> + + * Updated for i686: 2.3.2 + +2008-10-15 Douglas Soares de Andrade <douglas@archlinux.org> + + * Updated for i686: 2.3 + +2008-07-06 Douglas Soares de Andrade <douglas@archlinux.org> + + * Updated for i686: 2.2 + diff --git a/abs/extra/qscintilla/PKGBUILD b/abs/extra/qscintilla/PKGBUILD new file mode 100644 index 0000000..9b3bf94 --- /dev/null +++ b/abs/extra/qscintilla/PKGBUILD @@ -0,0 +1,55 @@ +# $Id: PKGBUILD 46926 2009-07-22 04:56:17Z pierre $ +# Maintainer: Douglas Soares de Andrade <dsa@aur.archlinux.org> +# Contributor: Michal Krenek <mikos@sg1.cz> +# Bug #8577 Modifications made by DaNiMoTh <jjdanimoth.aur@gmail.com> + +pkgname=qscintilla +pkgver=2.4.0 +_pkgver=2.4 +pkgrel=1 +license=('GPL') +pkgdesc="A port to Qt4 of Neil Hodgson's Scintilla C++ editor class." +arch=('i686' 'x86_64') +url="http://www.riverbankcomputing.co.uk/software/qscintilla/download" +depends=('qt') +provides=('qscintilla2') +conflicts=('qscintilla2') +replaces=('qscintilla2') +source=(http://riverbankcomputing.com/static/Downloads/QScintilla2/QScintilla-gpl-$_pkgver.tar.gz) +md5sums=('dd69520ec91f1acb97a4eb74ddde37c9') + +build() { + cd $srcdir/QScintilla-gpl-$_pkgver/Qt4 + sed -i "s|DESTDIR = .*|DESTDIR = $pkgdir/usr/lib|g" qscintilla.pro + sed -i "s|header.path = .*|header.path = $pkgdir/usr/include|g" qscintilla.pro + sed -i "s|trans.path = .*|trans.path = $pkgdir/usr/share/qt/translations|g" qscintilla.pro + sed -i "s|qsci.path = .*|qsci.path = $pkgdir/usr/share/qt/translations|g" qscintilla.pro + + qmake qscintilla.pro + sed -i 's|$(MOVE) $(TARGET)|$(COPY) $(TARGET)|g' Makefile + make || return 1 + make DESTDIR=$pkgdir install + + cd ../designer-Qt4 + + # Qt4 designer qscintilla2 plugin + mkdir -p $pkgdir/usr/lib/qt/plugins/designer + + echo "INCPATH += ../Qt4" >> designer.pro + sed -i "s|LIBS.*|LIBS += -L../Qt4 -lqscintilla2|g" designer.pro + qmake designer.pro + make || return 1 + cp libqscintillaplugin.so $pkgdir/usr/lib/qt/plugins/designer/ || return 1 + + msg "Installing the libs to the right place" + + cd ../Qt4 + + cp libqscintilla2.so.5.1.0 $pkgdir/usr/lib/ || return 1 + + pushd $pkgdir/usr/lib/ + ln -s libqscintilla2.so.5.1.0 libqscintilla2.so + ln -s libqscintilla2.so.5.1.0 libqscintilla2.so.5 + ln -s libqscintilla2.so.5.1.0 libqscintilla2.so.5.1 + popd +} diff --git a/abs/extra/recstat/PKGBUILD b/abs/extra/recstat/PKGBUILD new file mode 100644 index 0000000..023a0ed --- /dev/null +++ b/abs/extra/recstat/PKGBUILD @@ -0,0 +1,19 @@ +pkgname=recstat +pkgver=1 +pkgrel=20 +pkgdesc="pkg to help use the System LEDs for Recording Status" +arch=('i686' 'x86_64') +url="" +depends=('python' 'python-pyserial') +license=('GPL') +source=(recstat recstat.py run) +md5sums=('626acb8cdd9e5cdb3a502bc12b828067') +install=recstat.install +build () { +# install -D $startdir/src/recstat $startdir/pkg/etc/rc.d/recstat + install -D $startdir/src/recstat.py $startdir/pkg/usr/bin/recstat.py + install -D $startdir/src/run $startdir/pkg/etc/sv/recstat/run +} +md5sums=('7f4ba41b65ed4d693d60d5ea00e8411b' + '7bc206d78a096e6ee80b9bb346619ed4' + '3a7cd3382212650e9233b910ed28d046') diff --git a/abs/extra/recstat/recstat b/abs/extra/recstat/recstat new file mode 100644 index 0000000..2d72c61 --- /dev/null +++ b/abs/extra/recstat/recstat @@ -0,0 +1,56 @@ +#! /bin/sh + +set -e + +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin +DESC="serial port encoder status script" +NAME=recstat +DAEMON=/usr/bin/$NAME.py +PIDFILE=/var/run/$NAME.pid +SCRIPTNAME=/etc/init.d/$NAME + +# Gracefully exit if the package has been removed. +test -x $DAEMON || exit 0 + +# +# Function that starts the daemon/service. +# +d_start() { + start-stop-daemon --start --quiet --make-pidfile --pidfile $PIDFILE \ + --exec $DAEMON & +} + +# +# Function that stops the daemon/service. +# +d_stop() { + kill -9 `cat $PIDFILE` +} + +case "$1" in + start) + echo -n "Starting $DESC: $NAME" + d_start + echo "." + ;; + stop) + echo -n "Stopping $DESC: $NAME" + d_stop + echo "." + ;; + restart|force-reload) + echo -n "Stopping $DESC: $NAME" + d_stop + sleep 1 + echo "." + echo -n "Starting $DESC: $NAME" + d_start + echo "." + ;; + *) + echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2 + exit 1 + ;; +esac + +exit 0
\ No newline at end of file diff --git a/abs/extra/recstat/recstat.install b/abs/extra/recstat/recstat.install new file mode 100644 index 0000000..ecd58f0 --- /dev/null +++ b/abs/extra/recstat/recstat.install @@ -0,0 +1,13 @@ +# arg 1: the new package version +post_install() { + echo "" + echo "" + echo "" + echo " Edit /usr/bin/recstat.py to fit your tuner setup" + echo " http://linhes.org/bugs/projects/lin-hes/wiki/_Using_System_LEDs_for_Recording_Status_" + echo " To start this program at boot run add_service.sh recstat " +} + +op=$1 +shift +$op $* diff --git a/abs/extra/recstat/recstat.py b/abs/extra/recstat/recstat.py new file mode 100644 index 0000000..8def041 --- /dev/null +++ b/abs/extra/recstat/recstat.py @@ -0,0 +1,38 @@ +#!/usr/bin/python + +import httplib +import serial,time + +mythStatus = "127.0.0.1:6544" +encoder1 = "Encoder 1 " +encoder2 = "Encoder 2 " +recording = "is local on mythtv and is recording" +watching = "is local on mythtv and is watching" + +#Open COM2 +s = serial.Serial(1) +#Turn off all lights +s.setDTR(0) +s.setRTS(0) + +while(True): + conn = httplib.HTTPConnection(mythStatus) + conn.request("GET", "/") + r1 = conn.getresponse() + results = r1.read() + + if(results.find(encoder1+recording)!=-1): + s.setDTR(1) + elif (results.find(encoder1+watching) !=-1): + s.setDTR(1) + else: + s.setDTR(0) + + if(results.find(encoder2+recording)!=-1): + s.setRTS(1) + elif (results.find(encoder2+watching) !=-1): + s.setRTS(1) + else: + s.setRTS(0) + + time.sleep(1) diff --git a/abs/extra/recstat/run b/abs/extra/recstat/run new file mode 100755 index 0000000..150fdb4 --- /dev/null +++ b/abs/extra/recstat/run @@ -0,0 +1,7 @@ +#!/bin/sh +exec 2>&1 +export TERM=linux +. /etc/rc.conf +. /etc/rc.d/functions +stat_runit "Starting recstat" +exec /usr/bin/recstat.py diff --git a/abs/extra/rrd_stats/PKGBUILD b/abs/extra/rrd_stats/PKGBUILD index 40f0536..1f987e4 100644 --- a/abs/extra/rrd_stats/PKGBUILD +++ b/abs/extra/rrd_stats/PKGBUILD @@ -1,6 +1,6 @@ pkgname=rrd_stats pkgver=1 -pkgrel=16 +pkgrel=18 pkgdesc="graph system stats" arch=('i686' 'x86_64') url="" @@ -18,3 +18,4 @@ build() { chown -R http:users $startdir/pkg/data/srv/httpd chmod -R 755 $startdir/pkg/data/srv/httpd } +md5sums=('e3d5f7d56fd1a3f26af0226ddcc53bfa') diff --git a/abs/extra/rrd_stats/rrd_stats.tgz b/abs/extra/rrd_stats/rrd_stats.tgz Binary files differindex c141ffa..4f1f3f5 100644 --- a/abs/extra/rrd_stats/rrd_stats.tgz +++ b/abs/extra/rrd_stats/rrd_stats.tgz diff --git a/abs/extra/sdlmame/PKGBUILD b/abs/extra/sdlmame/PKGBUILD index cb9d65b..2718a57 100644 --- a/abs/extra/sdlmame/PKGBUILD +++ b/abs/extra/sdlmame/PKGBUILD @@ -1,65 +1,89 @@ -# $Id: PKGBUILD,v 1.19 2009/04/24 15:05:30 sergej Exp $ +# $Id: PKGBUILD 12909 2010-03-15 11:46:58Z spupykin $ # Contributor: robb_force <robb_force@holybuffalo.net> # Maintainer: JJDaNiMoTh <jjdanimoth@gmail.com> pkgname=sdlmame -pkgver=0.131 -pkgrel=1 +pkgver=0.137 +_basever=0137 +pkgrel=3 pkgdesc="A port of the popular Multiple Arcade Machine Emulator using SDL with OpenGL support." -url="http://rbelmont.mameworld.info/?page_id=163" +url="http://mamedev.org/" license=('custom:MAME License') arch=('i686' 'x86_64') depends=('sdl>=1.2.11' 'libxinerama' 'gconf') makedepends=('unzip' 'nasm' 'mesa') -DLAGENTS=('http::/usr/bin/wget -U "" -c -t 3 --waitretry=3') -options=('!makeflags' 'force') +DLAGENTS=('http::/usr/bin/wget -U "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.2) Gecko/20090804 Shiretoko/3.5.2" -c -t 3 --waitretry=3') +options=('force') install=sdlmame.install -source=(http://rbelmont.mameworld.info/${pkgname}${pkgver%.*}${pkgver#*.}.zip \ - sdlmame.sh \ - extras.tar.gz) -md5sums=('d4891999ec2ee11cb0d75a1596e17060' - '3119ccfa1e970eba4467df31208adaf0' - '420b61240bf5ae11615ba7c6100ee00d') +source=("http://aarongiles.com/mirror/releases/mame0137s.zip" +#"mame${_basever}s.zip::http://mamedev.org/downloader.php?&file=mame${_basever}s.zip" +# "http://mamedev.org/updates/0136u1_diff.zip" +# "http://mamedev.org/updates/0136u2_diff.zip" +# "http://mamedev.org/updates/0136u3_diff.zip" + "sdlmame.sh" + "extras.tar.gz" + "mame-0137-wiimote.diff") build() { - cd ${startdir}/src/${pkgname}${pkgver%.*}${pkgver#*.} + cd $srcdir/ - sed -i 's/-Werror//' makefile || return 1 + if [ $NOEXTRACT -eq 0 ]; then + unzip mame.zip +# find . -type f -not -name uismall.png | xargs perl -pi -e 's/\r\n?/\n/g' +# patch -p0 -E <0136u1.diff +# patch -p0 -E <0136u2.diff +# patch -p0 -E <0136u3.diff + patch -p1 < ../mame-0137-wiimote.diff || return 1 + sed -i 's/-Werror//' makefile || return 1 + fi # Modify the make options based on the user's architecture if [ "$CARCH" == "x86_64" ]; then echo "Compiling for AMD64..." make AMD64=1 PTR64=1 || return 1 + make tools AMD64=1 PTR64=1 || return 1 elif [ "$CARCH" == "i686" ]; then make I686=1 || return 1 + make tools I686=1 || return 1 else echo "Compiling for i386..." make PM=1 || return 1 + make tools PM=1 || return 1 fi # Install the sdlmame script - install -Dm755 ${startdir}/src/${pkgname}.sh ${startdir}/pkg/usr/bin/${pkgname} || return 1 + install -Dm755 $srcdir/${pkgname}.sh $pkgdir/usr/bin/${pkgname} || return 1 # Install the applications and the UI font in /usr/share - install -Dm755 mame* ${startdir}/pkg/usr/share/${pkgname}/${pkgname} && \ - install -m755 chdman ${startdir}/pkg/usr/share/${pkgname}/chdman && \ - install -m755 jedutil ${startdir}/pkg/usr/share/${pkgname}/jedutil && \ -# install -m755 makemeta ${startdir}/pkg/usr/share/${pkgname}/makemeta && \ - install -m755 regrep ${startdir}/pkg/usr/share/${pkgname}/regrep && \ - install -m755 romcmp ${startdir}/pkg/usr/share/${pkgname}/romcmp && \ - install -m755 runtest ${startdir}/pkg/usr/share/${pkgname}/runtest && \ - install -m755 testkeys ${startdir}/pkg/usr/share/${pkgname}/testkeys && \ - install -m755 src2html ${startdir}/pkg/usr/share/${pkgname}/src2html && \ - install -m755 srcclean ${startdir}/pkg/usr/share/${pkgname}/srcclean && \ - install -m755 ldverify ${startdir}/pkg/usr/share/${pkgname}/ldverify && \ - install -m644 ui.bdf ${startdir}/pkg/usr/share/${pkgname}/ui.bdf || return 1 + install -Dm755 mame $pkgdir/usr/share/${pkgname}/${pkgname} || \ + install -Dm755 mame64 $pkgdir/usr/share/${pkgname}/${pkgname} || return 1 + + install -m755 chdman $pkgdir/usr/share/${pkgname}/chdman && \ + install -m755 jedutil $pkgdir/usr/share/${pkgname}/jedutil && \ + install -m755 regrep $pkgdir/usr/share/${pkgname}/regrep && \ + install -m755 romcmp $pkgdir/usr/share/${pkgname}/romcmp && \ + install -m755 testkeys $pkgdir/usr/share/${pkgname}/testkeys && \ + install -m755 src2html $pkgdir/usr/share/${pkgname}/src2html && \ + install -m755 srcclean $pkgdir/usr/share/${pkgname}/srcclean && \ + install -m755 ldverify $pkgdir/usr/share/${pkgname}/ldverify && \ + install -m755 ldresample $pkgdir/usr/share/${pkgname}/ldresample || return 1 + +# install -m755 makemeta $pkgdir/usr/share/${pkgname}/makemeta && \ +# install -m755 runtest $pkgdir/usr/share/${pkgname}/runtest && \ +# install -m644 ui.bdf $pkgdir/usr/share/${pkgname}/ui.bdf || return 1 # Install the extra bits - install -d ${startdir}/pkg/usr/share/${pkgname}/{artwork,ctrlr,keymaps} && \ - install -m644 ${startdir}/src/artwork/* ${startdir}/pkg/usr/share/${pkgname}/artwork/ && \ - install -m644 ${startdir}/src/ctrlr/* ${startdir}/pkg/usr/share/${pkgname}/ctrlr/ && \ - install -m644 keymaps/* ${startdir}/pkg/usr/share/${pkgname}/keymaps/ || return 1 + install -d $pkgdir/usr/share/${pkgname}/{artwork,ctrlr,keymaps} && \ + install -m644 $srcdir/artwork/* $pkgdir/usr/share/${pkgname}/artwork/ && \ + install -m644 $srcdir/ctrlr/* $pkgdir/usr/share/${pkgname}/ctrlr/ || return 1 + install -m644 src/osd/sdl/keymaps/* $pkgdir/usr/share/${pkgname}/keymaps/ || return 1 # Include the license - install -Dm644 docs/license.txt $startdir/pkg/usr/share/licenses/${pkgname}/license.txt + install -Dm644 docs/license.txt $startdir/pkg/usr/share/licenses/${pkgname}/license.txt || return 1 + + find $pkgdir -type f -exec strip {} \; } +md5sums=('ce9e5359e882d5a8219821e39bd4f27a' + '3119ccfa1e970eba4467df31208adaf0' + '420b61240bf5ae11615ba7c6100ee00d' + '07ba30c6054bf864f7c1300bfef03b81') diff --git a/abs/extra/sdlmame/mame-0137-wiimote.diff b/abs/extra/sdlmame/mame-0137-wiimote.diff new file mode 100644 index 0000000..8f29b8e --- /dev/null +++ b/abs/extra/sdlmame/mame-0137-wiimote.diff @@ -0,0 +1,424 @@ +diff -BNburp mame-org/makefile mame-wiimote/makefile +diff -BNburp mame-org/src/osd/sdl/input.c mame-wiimote/src/osd/sdl/input.c +--- mame-org/src/osd/sdl/input.c 2010-02-28 04:16:40.000000000 +0100 ++++ mame-wiimote/src/osd/sdl/input.c 2010-05-07 13:53:59.000000000 +0200 +@@ -17,6 +17,12 @@ + #include <ctype.h>
+ #include <stddef.h>
+
++// for xinput ++#include <X11/Xlib.h> ++#include <X11/extensions/XInput.h> ++#include <X11/Xutil.h> ++ ++ + // MAME headers
+ #include "emu.h"
+ #include "ui.h"
+@@ -53,6 +59,16 @@ enum
+ #define MAX_POV 4
+ #define MAX_DEVMAP_ENTRIES 16
+
++//For xinput ++#define INVALID_EVENT_TYPE -1 ++static int motion_type = INVALID_EVENT_TYPE; ++static int button_press_type = INVALID_EVENT_TYPE; ++static int button_release_type = INVALID_EVENT_TYPE; ++static int key_press_type = INVALID_EVENT_TYPE; ++static int key_release_type = INVALID_EVENT_TYPE; ++static int proximity_in_type = INVALID_EVENT_TYPE; ++static int proximity_out_type = INVALID_EVENT_TYPE; ++ + //============================================================
+ // MACROS
+ //============================================================
+@@ -86,6 +102,16 @@ struct _mouse_state
+ INT32 buttons[MAX_BUTTONS];
+ };
+
++// state information for a lightgun ++typedef struct _lightgun_state lightgun_state; ++struct _lightgun_state ++{ ++ INT32 lX, lY; ++ INT32 buttons[MAX_BUTTONS]; ++ XID deviceid; //Xinput device id ++ INT32 maxx,maxy; ++ INT32 minx,miny; ++}; +
+ // state information for a joystick; DirectInput state must be first element
+ typedef struct _joystick_state joystick_state;
+@@ -115,6 +141,7 @@ struct _device_info
+ keyboard_state keyboard;
+ mouse_state mouse;
+ joystick_state joystick;
++ lightgun_state lightgun; + };
+ };
+
+@@ -164,10 +191,13 @@ struct _device_map_t
+
+ static device_map_t joy_map;
+ static device_map_t mouse_map;
++static device_map_t lightgun_map; + static device_map_t keyboard_map;
+
+ static int sixaxis_mode;
+
++Display *XDisplay; ++ +
+ //============================================================
+ // PROTOTYPES
+@@ -671,6 +703,244 @@ static device_info *devmap_class_registe + return devinfo;
+ }
+
++//============================================================ ++// WiiMote lightgun stuff ++//============================================================ ++ ++//Copypasted from xinfo ++XDeviceInfo* ++find_device_info(Display *display, ++ char *name, ++ Bool only_extended) ++{ ++ XDeviceInfo *devices; ++ XDeviceInfo *found = NULL; ++ int loop; ++ int num_devices; ++ int len = strlen(name); ++ Bool is_id = True; ++ XID id=0; ++ ++ for(loop=0; loop<len; loop++) { ++ if (!isdigit(name[loop])) { ++ is_id = False; ++ break; ++ } ++ } ++ ++ if (is_id) { ++ id = atoi(name); ++ } ++ ++ devices = XListInputDevices(display, &num_devices); ++ ++ for(loop=0; loop<num_devices; loop++) { ++ if ((!only_extended || (devices[loop].use >= IsXExtensionDevice)) && ++ ((!is_id && strcmp(devices[loop].name, name) == 0) || ++ (is_id && devices[loop].id == id))) { ++ if (found) { ++ fprintf(stderr, ++ "Warning: There are multiple devices named \"%s\".\n" ++ "To ensure the correct one is selected, please use " ++ "the device ID instead.\n\n", name); ++ } else { ++ found = &devices[loop]; ++ } ++ } ++ } ++ return found; ++} ++ ++//Copypasted from xinfo ++static int ++register_events(Display *dpy, ++ XDeviceInfo *info, ++ char *dev_name, ++ Bool handle_proximity) ++{ ++ int number = 0; /* number of events registered */ ++ XEventClass event_list[7]; ++ int i; ++ XDevice *device; ++ Window root_win; ++ unsigned long screen; ++ XInputClassInfo *ip; ++ ++ screen = DefaultScreen(dpy); ++ root_win = RootWindow(dpy, screen); ++ ++ device = XOpenDevice(dpy, info->id); ++ ++ if (!device) { ++ fprintf(stderr, "unable to open device %s\n", dev_name); ++ return 0; ++ } ++ ++ if (device->num_classes > 0) { ++ for (ip = device->classes, i=0; i<info->num_classes; ip++, i++) { ++ switch (ip->input_class) { ++ case KeyClass: ++ DeviceKeyPress(device, key_press_type, event_list[number]); number++; ++ DeviceKeyRelease(device, key_release_type, event_list[number]); number++; ++ break; ++ ++ case ButtonClass: ++ DeviceButtonPress(device, button_press_type, event_list[number]); number++; ++ DeviceButtonRelease(device, button_release_type, event_list[number]); number++; ++ break; ++ ++ case ValuatorClass: ++ DeviceMotionNotify(device, motion_type, event_list[number]); number++; ++ fprintf(stderr, "Motion = %i\n",motion_type); ++ if (handle_proximity) { ++ ProximityIn(device, proximity_in_type, event_list[number]); number++; ++ ProximityOut(device, proximity_out_type, event_list[number]); number++; ++ } ++ break; ++ ++ default: ++ fprintf(stderr, "unknown class\n"); ++ break; ++ } ++ } ++ ++ if (XSelectExtensionEvent(dpy, root_win, event_list, number)) { ++ fprintf(stderr, "error selecting extended events\n"); ++ return 0; ++ } ++ } ++ return number; ++} ++ ++ ++ ++static void sdlinput_register_lightguns(running_machine *machine) ++{ ++ int index; ++ XExtensionVersion *version; ++ ++ lightgun_enabled = options_get_bool(mame_options(), OPTION_LIGHTGUN); ++ devmap_init(machine, &lightgun_map, SDLOPTION_LIGHTGUNINDEX, 8, "Lightgun mapping"); ++ ++ XDisplay = XOpenDisplay(NULL); ++ ++ if (XDisplay == NULL) { ++ fprintf(stderr, "Unable to connect to X server\n"); ++ return; ++ } ++ ++ version = XGetExtensionVersion(XDisplay, INAME); ++ ++ if (!version || (version == (XExtensionVersion*) NoSuchExtension)) { ++ fprintf(stderr, "xinput extension not available!\n"); ++ return; ++ } ++ ++ ++ for (index=0; index<8; index++) { ++ XDeviceInfo *info; ++ if (strlen(lightgun_map.map[index].name)!=0) { ++ device_info *devinfo; ++ char *name=lightgun_map.map[index].name; ++ char defname[512]; ++ devinfo = devmap_class_register(machine, &lightgun_map, index, &lightgun_list, DEVICE_CLASS_LIGHTGUN); ++ fprintf(stderr, "%i: %s\n",index, name); ++ info=find_device_info(XDisplay, name, 0); ++ if (!info) continue; ++ ++ //Grab device info and translate to stuff mame can use ++ if (info->num_classes > 0) { ++ XAnyClassPtr any = (XAnyClassPtr) (info->inputclassinfo); ++ int i; ++ for (i=0; i<info->num_classes; i++) { ++ int button; ++ XValuatorInfoPtr v; ++ XAxisInfoPtr a; ++ int j; ++ XButtonInfoPtr b; ++ switch (any->c_class) { ++ case ButtonClass: ++ b = (XButtonInfoPtr) any; ++ for (button = 0; button < b->num_buttons; button++) ++ { ++ input_item_id itemid; ++ sprintf(defname, "B%d", button + 1); ++ itemid=(input_item_id) (ITEM_ID_BUTTON1+button); ++ input_device_item_add(devinfo->device, defname, &devinfo->lightgun.buttons[button], itemid, generic_button_get_state); ++ } ++ break; ++ case ValuatorClass: ++ v = (XValuatorInfoPtr) any; ++ a = (XAxisInfoPtr) ((char *) v + sizeof (XValuatorInfo)); ++ for (j=0; j<v->num_axes; j++, a++) { ++ if (j==0) { ++ devinfo->lightgun.maxx=a->max_value; ++ devinfo->lightgun.minx=a->min_value; ++ } ++ if (j==1) { ++ devinfo->lightgun.maxy=a->max_value; ++ devinfo->lightgun.miny=a->min_value; ++ } ++ } ++ break; ++ } ++ any = (XAnyClassPtr) ((char *) any + any->length); ++ } ++ } ++ ++ ++ sprintf(defname, "X %s", devinfo->name); ++ input_device_item_add(devinfo->device, defname, &devinfo->lightgun.lX, ITEM_ID_XAXIS, generic_axis_get_state); ++ sprintf(defname, "Y %s", devinfo->name); ++ input_device_item_add(devinfo->device, defname, &devinfo->lightgun.lY, ITEM_ID_YAXIS, generic_axis_get_state); ++ ++ ++ devinfo->lightgun.deviceid=info->id; ++ if (!info) { ++ fprintf(stderr, "Can't find device %s!\n", lightgun_map.map[index].name); ++ } else { ++ fprintf(stderr, "Device %i: Registered %i events.\n",(int)info->id, register_events(XDisplay, info, lightgun_map.map[index].name, 0)); ++ } ++ } ++ } ++ mame_printf_verbose("Lightgun: End initialization\n"); ++} ++ ++device_info *get_lightgun_info_for_deviceid(XID deviceid) { ++ device_info *devinfo; ++ int index; ++ //Find lightgun according to device id ++ for (index=0; ; index++) { ++ devinfo = generic_device_find_index(lightgun_list, index); ++ if (devinfo==NULL) break; ++ if (devinfo->lightgun.deviceid==deviceid) break; ++ } ++ return devinfo; ++} ++ ++int normalize_absolute_axis(int raw, int rawmin, int rawmax) ++{ ++ int center = (rawmax + rawmin) / 2; ++ ++ // make sure we have valid data ++ if (rawmin >= rawmax) ++ return raw; ++ ++ // above center ++ if (raw >= center) ++ { ++ int result = (long)(raw - center) * (long)INPUT_ABSOLUTE_MAX / (long)(rawmax - center); ++ return MIN(result, INPUT_ABSOLUTE_MAX); ++ } ++ ++ // below center ++ else ++ { ++ int result = -((long)(center - raw) * (long)-INPUT_ABSOLUTE_MIN / (long)(center - rawmin)); ++ return MAX(result, INPUT_ABSOLUTE_MIN); ++ } ++} ++ +
+ //============================================================
+ // sdlinput_register_joysticks
+@@ -1115,6 +1385,9 @@ void sdlinput_init(running_machine *mach + // register the mice
+ sdlinput_register_mice(machine);
+
++ // register the lightguns ++ sdlinput_register_lightguns(machine); ++ + if (machine->debug_flags & DEBUG_FLAG_OSD_ENABLED)
+ {
+ mame_printf_warning("Debug Build: Disabling input grab for -debug\n");
+@@ -1131,6 +1404,7 @@ void sdlinput_init(running_machine *mach + device_list_reset_devices(keyboard_list);
+ device_list_reset_devices(mouse_list);
+ device_list_reset_devices(joystick_list);
++ device_list_reset_devices(lightgun_list); +
+ }
+
+@@ -1248,6 +1522,7 @@ void sdlinput_poll(running_machine *mach + device_info *devinfo;
+ SDL_Event event;
+ int index;
++ XEvent xevent; +
+ // only for SDLMAME_EVENTS_IN_WORKER_THREAD
+ SDL_Event loc_event_buf[MAX_BUF_EVENTS];
+@@ -1263,6 +1538,21 @@ void sdlinput_poll(running_machine *mach + devinfo->mouse.lY = 0;
+ }
+
++ //Get XInput events ++ while (XPending(XDisplay)!=0) { ++ XNextEvent(XDisplay, &xevent); ++ if (xevent.type==motion_type) { ++ XDeviceMotionEvent *motion = (XDeviceMotionEvent *) &xevent; ++ devinfo=get_lightgun_info_for_deviceid(motion->deviceid); ++ devinfo->lightgun.lX=normalize_absolute_axis(motion->axis_data[0], devinfo->lightgun.minx, devinfo->lightgun.maxx); ++ devinfo->lightgun.lY=normalize_absolute_axis(motion->axis_data[1], devinfo->lightgun.miny, devinfo->lightgun.maxy); ++ } else if (xevent.type==button_press_type || xevent.type==button_release_type) { ++ XDeviceButtonEvent *button = (XDeviceButtonEvent *) &xevent; ++ devinfo=get_lightgun_info_for_deviceid(button->deviceid); ++ devinfo->lightgun.buttons[button->button]=(xevent.type==button_press_type)?0x80:0; ++ } ++ } ++ + if (SDLMAME_EVENTS_IN_WORKER_THREAD)
+ {
+ osd_lock_acquire(input_lock);
+diff -BNburp mame-org/src/osd/sdl/osdsdl.h mame-wiimote/src/osd/sdl/osdsdl.h +--- mame-org/src/osd/sdl/osdsdl.h 2010-02-12 14:42:32.000000000 +0100 ++++ mame-wiimote/src/osd/sdl/osdsdl.h 2010-05-07 08:53:34.000000000 +0200 +@@ -130,3 +130,4 @@ void sdlaudio_init(running_machine *mach + extern int sdl_num_processors;
+
+ #endif
++#define SDLOPTION_LIGHTGUNINDEX "lightgun_index" +diff -BNburp mame-org/src/osd/sdl/sdlmain.c mame-wiimote/src/osd/sdl/sdlmain.c +--- mame-org/src/osd/sdl/sdlmain.c 2010-02-13 12:19:16.000000000 +0100 ++++ mame-wiimote/src/osd/sdl/sdlmain.c 2010-05-07 08:54:03.000000000 +0200 +@@ -190,6 +190,17 @@ static const options_entry mame_sdl_opti + { SDLOPTION_JOYINDEX "8", SDLOPTVAL_AUTO, 0, "name of joystick mapped to joystick #8" },
+ { SDLOPTION_SIXAXIS, "0", OPTION_BOOLEAN, "Use special handling for PS3 Sixaxis controllers" },
+
++ { NULL, NULL, OPTION_HEADER, "SDL LIGHTGUN MAPPING" }, ++ { SDLOPTION_LIGHTGUNINDEX "1", SDLOPTVAL_AUTO, 0, "name of lightgun mapped to lightgun #1" }, ++ { SDLOPTION_LIGHTGUNINDEX "2", SDLOPTVAL_AUTO, 0, "name of lightgun mapped to lightgun #2" }, ++ { SDLOPTION_LIGHTGUNINDEX "3", SDLOPTVAL_AUTO, 0, "name of lightgun mapped to lightgun #3" }, ++ { SDLOPTION_LIGHTGUNINDEX "4", SDLOPTVAL_AUTO, 0, "name of lightgun mapped to lightgun #4" }, ++ { SDLOPTION_LIGHTGUNINDEX "5", SDLOPTVAL_AUTO, 0, "name of lightgun mapped to lightgun #5" }, ++ { SDLOPTION_LIGHTGUNINDEX "6", SDLOPTVAL_AUTO, 0, "name of lightgun mapped to lightgun #6" }, ++ { SDLOPTION_LIGHTGUNINDEX "7", SDLOPTVAL_AUTO, 0, "name of lightgun mapped to lightgun #7" }, ++ { SDLOPTION_LIGHTGUNINDEX "8", SDLOPTVAL_AUTO, 0, "name of lightgun mapped to lightgun #8" }, ++ ++ + #if (SDL_VERSION_ATLEAST(1,3,0))
+ { NULL, NULL, OPTION_HEADER, "SDL MOUSE MAPPING" },
+ { SDLOPTION_MOUSEINDEX "1", SDLOPTVAL_AUTO, 0, "name of mouse mapped to mouse #1" },
+diff -BNburp mame-org/src/osd/sdl/window.c mame-wiimote/src/osd/sdl/window.c +--- mame-org/src/osd/sdl/window.c 2010-02-12 07:40:12.000000000 +0100 ++++ mame-wiimote/src/osd/sdl/window.c 2010-05-07 08:54:54.000000000 +0200 +@@ -659,8 +659,17 @@ static void sdlwindow_update_cursor_stat + }
+
+ #else
++ //Hack for wii-lightguns: they stop working with a grabbed mouse; even a ShowCursor(SDL_DISABLE) already ++ //does this. To make the cursor disappear, we'll just set an empty cursor image. ++ unsigned char data[]={0,0,0,0,0,0,0,0}; ++ SDL_Cursor *c; ++ c=SDL_CreateCursor(data, data, 8, 8, 0, 0); ++ SDL_SetCursor(c); ++ ++ + // do not do mouse capture if the debugger's enabled to avoid
+ // the possibility of losing control
++/* + if (!(machine->debug_flags & DEBUG_FLAG_OSD_ENABLED))
+ {
+ if ( window->fullscreen || sdlinput_should_hide_mouse(machine) )
+@@ -680,6 +689,7 @@ static void sdlwindow_update_cursor_stat + }
+ }
+ }
++*/ + #endif
+ }
+
diff --git a/abs/extra/sdlmame/sdlmame.install b/abs/extra/sdlmame/sdlmame.install index eedae49..6103018 100644 --- a/abs/extra/sdlmame/sdlmame.install +++ b/abs/extra/sdlmame/sdlmame.install @@ -27,6 +27,3 @@ post_upgrade() echo "" } -op=$1 -shift -$op $* diff --git a/abs/extra/sip/ChangeLog b/abs/extra/sip/ChangeLog new file mode 100644 index 0000000..bb87e31 --- /dev/null +++ b/abs/extra/sip/ChangeLog @@ -0,0 +1,17 @@ + +2008-11-22 Douglas Soares de Andrade <douglas@archlinux.org> + + * Updating for i686: 4.7.9 + +2008-10-06 Douglas Soares de Andrade <douglas@archlinux.org> + + * Updating source_urls + +2008-08-09 Douglas Soares de Andrade <douglas@archlinux.org> + + * Updated for i686: 4.7.7 + +2008-07-06 Douglas Soares de Andrade <douglas@archlinux.org> + + * Updated for i686: 4.7.6 + diff --git a/abs/extra/sip/PKGBUILD b/abs/extra/sip/PKGBUILD new file mode 100644 index 0000000..e3486f4 --- /dev/null +++ b/abs/extra/sip/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 47992 2009-07-30 10:16:59Z pierre $ +# Maintainer: Douglas Soares de Andrade <douglas@archlinux.org> +# Contributor: riai <riai@bigfoot.com>, Ben <ben@benmazer.net> + +pkgname=sip +pkgver=4.9 +pkgrel=1 +pkgdesc="A tool that makes it easy to create Python bindings for C and C++ libraries." +arch=(i686 x86_64) +url="http://www.riverbankcomputing.com/software/sip/" +license=('custom:"sip"') +depends=('python>=2.6' 'gcc-libs') +source=(http://riverbankcomputing.com/static/Downloads/sip4/${pkgname}-${pkgver}.tar.gz) + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + + python configure.py -b /usr/bin \ + -d /usr/lib/python2.6/site-packages \ + -e /usr/include/python2.6 \ + -v /usr/share/sip + + make || return 1 + make DESTDIR=${pkgdir} install + # fix permissions + chmod 644 ${pkgdir}/usr/lib/python2.6/site-packages/sipdistutils.py + + install -m 644 -D LICENSE ${pkgdir}/usr/share/licenses/sip/LICENSE +} diff --git a/abs/extra/tablet-encode/PKGBUILD b/abs/extra/tablet-encode/PKGBUILD index 0163f45..e547e82 100644 --- a/abs/extra/tablet-encode/PKGBUILD +++ b/abs/extra/tablet-encode/PKGBUILD @@ -2,14 +2,14 @@ # Maintainer: Cecil Watson<knoppmyth@gmail.com> pkgname=tablet-encode -pkgver=2.20 +pkgver=2.30 pkgrel=1 pkgdesc="Transcodes videos for playback on a Nokia Internet Tablet" arch=('i686' 'x86_64') license=('ARTISTIC') depends=(mplayer) url="http://mediautils.garage.maemo.org/tablet-encode.html" -source=(https://garage.maemo.org/frs/download.php/4547/tablet-encode-2.20.tar.gz) +source=(https://garage.maemo.org/frs/download.php/6892/tablet-encode-2.30.tar.gz) build() { cd ${srcdir}/$pkgname-$pkgver diff --git a/abs/extra/terminus-font/PKGBUILD b/abs/extra/terminus-font/PKGBUILD new file mode 100644 index 0000000..c3be90c --- /dev/null +++ b/abs/extra/terminus-font/PKGBUILD @@ -0,0 +1,20 @@ +# Maintainer: Vesa Kaihlavirta <vegai@iki.fi> +# Contributor: Kristoffer Fossgård <kfs1@online.no> +pkgname=terminus-font +pkgver=4.30 +pkgrel=1 +pkgdesc="A superb, monospace bitmap font (for X11 and console)" +depends=(xorg-fonts-encodings xorg-fonts-alias xorg-font-utils fontconfig) +replaces=(xserver-terminus-fonts) +arch=(i686 x86_64) +source=(http://www.is-vn.bg/hamster/$pkgname-$pkgver.tar.gz) +url="http://www.is-vn.bg/hamster/jimmy-en.html" +install=terminus-font.install +license=('GPL-2') + +build() { + cd $startdir/src/$pkgname-$pkgver + ./configure --prefix=/usr --x11dir=/usr/share/fonts/local/ --psfdir=/usr/share/kbd/consolefonts/ + make DESTDIR=$startdir/pkg install +} +md5sums=('6f8bd95b593851f9f5c210a9d33cbbf1') diff --git a/abs/extra/terminus-font/install.proto b/abs/extra/terminus-font/install.proto new file mode 100644 index 0000000..37f0b55 --- /dev/null +++ b/abs/extra/terminus-font/install.proto @@ -0,0 +1,27 @@ +# arg 1: the new package version + post_install() { + echo -n "Updating font cache... " + /usr/bin/fc-cache + cd /usr/share/fonts/local + /usr/bin/mkfontdir + /usr/bin/mkfontscale +# cp ../encodings/encodings.dir ./encodings.dir + echo "done." + echo "Note that local fonts are now (with xorg-7.0) in /usr/share/fonts/local/" + } + +# # arg 1: the new package version +# # arg 2: the old package version + post_upgrade() { + post_install $1 + } +# +# # arg 1: the old package version + post_remove() { + /usr/bin/fc-cache + } + +op=$1 +shift + +$op $* diff --git a/abs/extra/terminus-font/terminus-font.install b/abs/extra/terminus-font/terminus-font.install new file mode 100644 index 0000000..e17fb4f --- /dev/null +++ b/abs/extra/terminus-font/terminus-font.install @@ -0,0 +1,21 @@ +# arg 1: the new package version +post_install() { + echo -n "Updating font cache... " + fc-cache -f > /dev/null + mkfontscale /usr/share/fonts/local + mkfontdir /usr/share/fonts/local + echo "done." + echo "Note: terminus-font is in /usr/share/fonts/local/" +} + +# # arg 1: the new package version +# # arg 2: the old package version +post_upgrade() { + post_install $1 +} +# +# # arg 1: the old package version +post_remove() { + post_install $1 +} + diff --git a/abs/extra/tightvnc/PKGBUILD b/abs/extra/tightvnc/PKGBUILD index a9d5efe..ef3ea3e 100644 --- a/abs/extra/tightvnc/PKGBUILD +++ b/abs/extra/tightvnc/PKGBUILD @@ -1,7 +1,7 @@ pkgname=tightvnc -pkgver=1.3.9 -pkgrel=302 +pkgver=1.3.10 +pkgrel=1 pkgdesc="VNC Unix server && viewer" arch=(i686 x86_64) license=('GPL') @@ -33,3 +33,5 @@ build() { install -D -m644 $startdir/src/vnc_unixsrc/classes/* \ $startdir/pkg/usr/share/vnc/classes || return 1 } +md5sums=('397b35faad32d5246b6d44b142f8304f' + '0bf967f2cdb94b432f9c7e1c121f7fbd') diff --git a/abs/extra/tightvnc/tightvnc-fontpath-xcolors.patch b/abs/extra/tightvnc/tightvnc-fontpath-xcolors.patch index 9e44835..76c52a0 100644 --- a/abs/extra/tightvnc/tightvnc-fontpath-xcolors.patch +++ b/abs/extra/tightvnc/tightvnc-fontpath-xcolors.patch @@ -1,21 +1,14 @@ -diff -urN vnc_unixsrc/vncserver vnc_unixsrc.fixed/vncserver ---- vnc_unixsrc/vncserver 2007-04-26 06:57:06.000000000 -0400 -+++ vnc_unixsrc.fixed/vncserver 2007-06-17 19:08:02.000000000 -0400 -@@ -38,14 +38,14 @@ +--- vnc_unixsrc/vncserver.orig 2010-03-26 22:11:23.000000000 +0000 ++++ vnc_unixsrc/vncserver 2010-03-26 22:14:58.000000000 +0000 +@@ -34,9 +34,9 @@ $desktopName = "X"; $vncClasses = "/usr/local/vnc/classes"; $vncUserDir = "$ENV{HOME}/.vnc"; -$fontPath = "unix/:7100"; -+#$fontPath = "unix/:7100"; - $authType = "-rfbauth $vncUserDir/passwd"; - - # Here is another example of setting the font path: --# $fontPath = "/usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/75dpi/"; +$fontPath = "/usr/share/fonts/misc/,/usr/share/fonts/75dpi/,/usr/share/fonts/100dpi/,/usr/share/fonts/Type1/"; - - # X colors database path is optional, uncomment and edit to use: --# $colorPath = "/usr/lib/X11/rgb"; +$colorPath = "/usr/share/X11/rgb"; + $authType = "-rfbauth $vncUserDir/passwd"; +- + # Read configuration from the system-wide and user files if present. - # You might wish to make your vnc directory under /tmp, to make sure - # passwords are always kept on the local filesystem. To do that, just + $configFile = "/etc/tightvncserver.conf"; diff --git a/abs/extra/unetbootin/PKGBUILD b/abs/extra/unetbootin/PKGBUILD new file mode 100644 index 0000000..f676000 --- /dev/null +++ b/abs/extra/unetbootin/PKGBUILD @@ -0,0 +1,28 @@ +# Contributor: Godane aka Christopher Rogers <slaxemulator@gmail.com> +pkgname=unetbootin +pkgver=408 +pkgrel=1 +pkgdesc="UNetbootin allows for the installation of various Linux/BSD livecd distributions to a partition or USB drive." +url="http://unetbootin.sourceforge.net/" +license="GPL" +arch=('i686' 'x86_64') +depends=('syslinux' 'p7zip' 'qt') +source=(http://downloads.sourceforge.net/$pkgname/$pkgname-source-$pkgver.tar.gz) +md5sums=('f248706e979a39d8799621e393912906') + +build() { + cd $startdir/src/ + sed -i '/^RESOURCES/d' unetbootin.pro + lupdate unetbootin.pro + lrelease unetbootin.pro + qmake "DEFINES += NOSTATIC" "RESOURCES -= unetbootin.qrc" + make + mkdir -p $pkgdir/usr/sbin + install -m 744 $pkgname $pkgdir/usr/sbin/$pkgname + mkdir -p $pkgdir/usr/share/$pkgname + install -m 644 unetbootin_*.qm $pkgdir/usr/share/$pkgname + mkdir -p $pkgdir/usr/share/applications/ + install -m 644 $pkgname.desktop $pkgdir/usr/share/applications/ + sed -i 's|Exec=/usr/bin/unetbootin|Exec=su -c /usr/sbin/unetbootin|g' $pkgdir/usr/share/applications/$pkgname.desktop + sed -i 's|Terminal=false|Terminal=true|g' $pkgdir/usr/share/applications/$pkgname.desktop +} diff --git a/abs/extra/windowmaker/PKGBUILD b/abs/extra/windowmaker/PKGBUILD index 5422f87..c67bfda 100644 --- a/abs/extra/windowmaker/PKGBUILD +++ b/abs/extra/windowmaker/PKGBUILD @@ -3,7 +3,7 @@ # Contributor: Judd Vinet <jvinet@zeroflux.org> pkgname=windowmaker pkgver=0.92.0 -pkgrel=5 +pkgrel=7 pkgdesc="An X11 window manager with a NEXTSTEP look and feel" arch=(i686 x86_64) url="http://www.windowmaker.info/" diff --git a/abs/extra/wxgtk/ChangeLog b/abs/extra/wxgtk/ChangeLog index 03e9f96..ac2030d 100644 --- a/abs/extra/wxgtk/ChangeLog +++ b/abs/extra/wxgtk/ChangeLog @@ -1,3 +1,25 @@ +2009-10-20 Eric Belanger <eric@archlinux.org> + + * wxgtk 2.8.10.1-5 + * Added mediactrl support (close FS#15377) + * Added glib2 build patch + * Improved description + +2009-07-11 Eric Belanger <eric@archlinux.org> + + * wxgtk 2.8.10.1-4 + * Added security fix (close FS#15469) + +2009-05-21 Eric Belanger <eric@archlinux.org> + + * wxgtk 2.8.10.1-1 + * Upstream update + +2009-05-05 Eric Belanger <eric@archlinux.org> + + * wxgtk 2.8.10-1 + * Upstream update + 2009-03-06 Eric Belanger <eric@archlinux.org> * wxgtk 2.8.9.2-1 diff --git a/abs/extra/wxgtk/PKGBUILD b/abs/extra/wxgtk/PKGBUILD index d98ac43..c4a16be 100644 --- a/abs/extra/wxgtk/PKGBUILD +++ b/abs/extra/wxgtk/PKGBUILD @@ -1,32 +1,39 @@ -# $Id: PKGBUILD 29177 2009-03-06 09:02:47Z eric $ +# $Id: PKGBUILD 63766 2010-01-18 14:31:06Z pierre $ # Maintainer: Eric Belanger <eric@archlinux.org> # Original Contributor: Tom Newsom <Jeepster@gmx.co.uk> # New Version - Contributor: Bob Finch <w9ya@arrl.net> # with help from J. Santiago Hirschfeld <jsantiagoh@yahoo.com.ar> aka Angelus pkgname=wxgtk -pkgver=2.8.9.2 -pkgrel=2 -pkgdesc="wxGTK - GTK+ implementation of wxWidgets API for GUI" +pkgver=2.8.10.1 +pkgrel=6 +pkgdesc="GTK+ implementation of wxWidgets API for GUI" arch=('i686' 'x86_64') url="http://wxwidgets.org" license=('custom:wxWindows') -depends=('gtk2>=2.12.11' 'mesa' 'libjpeg') -#makedepends=('libgnomeprintui') +depends=('gtk2' 'mesa' 'gstreamer0.10-base') +makedepends=('gstreamer0.10-base-plugins' 'gconf' 'ccache') +options=('ccache') # required to build libwx_gtk2u_mmedia #source=(http://downloads.sourceforge.net/wxwindows/wxGTK-${pkgver}.tar.bz2) -source=(http://downloads.sourceforge.net/wxpython/wxPython-src-${pkgver}.tar.bz2) -md5sums=('e3d89746af98b9279e4ff39a57f6dc63') -sha1sums=('a0d58d8b9606d04a35b9853da15eb7dfb08d5637') +source=(http://downloads.sourceforge.net/wxpython/wxPython-src-${pkgver}.tar.bz2 \ + overflow.patch gsocket.patch) +md5sums=('65d5ef166f23fe8b4c67f58df164f93e' '325dba65152bc0cfbc1400a2bf54508e'\ + 'b56113a94125e4f9a3cc2680052bdfde') +sha1sums=('6598fbafd979a91f20100171fa23a91779f6dc62' '7c4d1d507aad0b7c25a0de55234be42ea3e3f55f'\ + '5b0e985afd77153e8e4b9e14987d4b1a9de53acc') build() { - cd ${srcdir}/wxPython-src-${pkgver} + cd "${srcdir}/wxPython-src-${pkgver}" +# cd "${srcdir}/wxGTK-${pkgver}" + patch -p4 < ../overflow.patch || return 1 + patch -p1 < ../gsocket.patch || return 1 ./configure --prefix=/usr --libdir=/usr/lib --with-gtk=2 --with-opengl --enable-unicode \ - --enable-graphics_ctx --without-gnomeprint --disable-optimize || return 1 + --enable-graphics_ctx --disable-optimize --enable-mediactrl || return 1 make || return 1 make -C locale allmo || return 1 - make DESTDIR=${pkgdir} install || return 1 + make DESTDIR="${pkgdir}" install || return 1 cd contrib/src make || return 1 - make DESTDIR=${pkgdir} install || return 1 - install -D -m644 ../../docs/licence.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE || return 1 + make DESTDIR="${pkgdir}" install || return 1 + install -D -m644 ../../docs/licence.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1 } diff --git a/abs/extra/wxgtk/gsocket.patch b/abs/extra/wxgtk/gsocket.patch new file mode 100644 index 0000000..0f1fc7b --- /dev/null +++ b/abs/extra/wxgtk/gsocket.patch @@ -0,0 +1,18 @@ +Index: 2.8/src/gtk/gsockgtk.cpp +=================================================================== +--- 2.8/src/gtk/gsockgtk.cpp (revision 60599) ++++ 2.8/src/gtk/gsockgtk.cpp (working copy) +@@ -15,8 +15,13 @@ + #include <stdlib.h> + #include <stdio.h> + ++// newer versions of glib define its own GSocket but we unfortunately use this ++// name in our own (semi-)public header and so can't change it -- rename glib ++// one instead ++#define GSocket GlibGSocket + #include <gdk/gdk.h> + #include <glib.h> ++#undef GSocket + + #include "wx/gsocket.h" + #include "wx/unix/gsockunx.h" diff --git a/abs/extra/wxgtk/overflow.patch b/abs/extra/wxgtk/overflow.patch new file mode 100644 index 0000000..543bdff --- /dev/null +++ b/abs/extra/wxgtk/overflow.patch @@ -0,0 +1,66 @@ +Index: /wxWidgets/branches/WX_2_8_BRANCH/src/common/imagpng.cpp +=================================================================== +--- /wxWidgets/branches/WX_2_8_BRANCH/src/common/imagpng.cpp (revision 53479) ++++ /wxWidgets/branches/WX_2_8_BRANCH/src/common/imagpng.cpp (revision 60875) +@@ -569,5 +569,7 @@ + goto error; + +- lines = (unsigned char **)malloc( (size_t)(height * sizeof(unsigned char *)) ); ++ // initialize all line pointers to NULL to ensure that they can be safely ++ // free()d if an error occurs before all of them could be allocated ++ lines = (unsigned char **)calloc(height, sizeof(unsigned char *)); + if ( !lines ) + goto error; +@@ -576,9 +578,5 @@ + { + if ((lines[i] = (unsigned char *)malloc( (size_t)(width * (sizeof(unsigned char) * 4)))) == NULL) +- { +- for ( unsigned int n = 0; n < i; n++ ) +- free( lines[n] ); + goto error; +- } + } + +Index: /wxWidgets/branches/WX_2_8_BRANCH/src/common/imagtiff.cpp +=================================================================== +--- /wxWidgets/branches/WX_2_8_BRANCH/src/common/imagtiff.cpp (revision 48694) ++++ /wxWidgets/branches/WX_2_8_BRANCH/src/common/imagtiff.cpp (revision 60876) +@@ -262,5 +262,4 @@ + + uint32 w, h; +- uint32 npixels; + uint32 *raster; + +@@ -276,7 +275,18 @@ + samplesInfo[0] == EXTRASAMPLE_UNASSALPHA)); + +- npixels = w * h; +- +- raster = (uint32*) _TIFFmalloc( npixels * sizeof(uint32) ); ++ // guard against integer overflow during multiplication which could result ++ // in allocating a too small buffer and then overflowing it ++ const double bytesNeeded = w * h * sizeof(uint32); ++ if ( bytesNeeded >= 4294967295U /* UINT32_MAX */ ) ++ { ++ if ( verbose ) ++ wxLogError( _("TIFF: Image size is abnormally big.") ); ++ ++ TIFFClose(tif); ++ ++ return false; ++ } ++ ++ raster = (uint32*) _TIFFmalloc( bytesNeeded ); + + if (!raster) +Index: /wxWidgets/branches/WX_2_8_BRANCH/src/common/imagtiff.cpp +=================================================================== +--- /wxWidgets/branches/WX_2_8_BRANCH/src/common/imagtiff.cpp (revision 60876) ++++ /wxWidgets/branches/WX_2_8_BRANCH/src/common/imagtiff.cpp (revision 60897) +@@ -277,5 +277,5 @@ + // guard against integer overflow during multiplication which could result + // in allocating a too small buffer and then overflowing it +- const double bytesNeeded = w * h * sizeof(uint32); ++ const double bytesNeeded = (double)w * (double)h * sizeof(uint32); + if ( bytesNeeded >= 4294967295U /* UINT32_MAX */ ) + { diff --git a/abs/extra/x11vnc/PKGBUILD b/abs/extra/x11vnc/PKGBUILD index 650f81e..543a7ab 100644 --- a/abs/extra/x11vnc/PKGBUILD +++ b/abs/extra/x11vnc/PKGBUILD @@ -2,14 +2,14 @@ # Maintainer: damir <damir@archlinux.org> pkgname=x11vnc -pkgver=0.9.7 -pkgrel=2 +pkgver=0.9.9 +pkgrel=1 pkgdesc="a VNC server for real X displays" arch=("i686" "x86_64") license=("GPL2") #source=(http://dl.sourceforge.net/sourceforge/libvncserver/$pkgname-$pkgver.tar.gz) url="http://www.karlrunge.com/x11vnc/" -source=("http://x11vnc.sourceforge.net/dev/x11vnc-0.9.7.tar.gz") +source=("http://x11vnc.sourceforge.net/dev/$pkgname-$pkgver.tar.gz") depends=('openssl' 'libjpeg' 'zlib' 'libx11' 'libxtst' 'libxinerama' 'libxdamage' 'libxrandr' 'avahi') build() { @@ -18,5 +18,4 @@ build() { make || return 1 make prefix=$startdir/pkg/usr install || return 1 } - -md5sums=('30a167577f657909b3355421e14e2ddb') +md5sums=('874008821a0588a73ec7fbe09b747bb0') diff --git a/abs/extra/xbmc-svn/CHANGELOG b/abs/extra/xbmc-svn/CHANGELOG new file mode 100644 index 0000000..ddcbd53 --- /dev/null +++ b/abs/extra/xbmc-svn/CHANGELOG @@ -0,0 +1,110 @@ +xbmc-svn Change log: +-------------------- +2nd July 2009 +21333 haggy: updated to current svn head which has media flagging support if your skin + supports it (the shipped PM3HD does already, also Aeon and MediaStream redux) + +3rd June 2009 +20896 haggy: enabled external libs for every lib supported despite python and ffmpeg + enabling external python breaks python support in xbmc due to Arch's python + compiled with UCS2 support whereas xbmc expects UCS4. Enabling external ffmpeg + disables VDPAU and we don't want that for sure. + + IMPORTANT NOTE: If compilation breaks at configure step with some message about + not being able to compute the size of int or size_t, try running makepkg as root + with 'sudo makepkg --asroot'. This is a known issue and happens only on systems + linked to nvidia's libgl which causes binaries to segfault within a fakeroot + environment. pacman 3.3 will fix this by splitting configure and installation steps. + +1st June 2009 +20818 haggy: this is the last revision before external-libs-support got patched + in. Unfortunately this will not compile with fakeroot. waiting for + pacman 3.3 which can split up configure and make install steps. + +30th May 2009 +20793 haggy: removed gcc44-fixes.patch - got merged into svn + +29th May 2009 +20755 haggy: pushed rev as requested + +27th May 2009 +20705 haggy: added a patch which fixed compilation with GCC 4.4. + +21th May 2009 +20509 haggy: xbmc got updates on goom due to the jaunty build system update. i + i wiped all goom specific hacks from the PKGBUILD and it compiled + fine, so let's see what you guys achieve. + +19th May 2009 +20449-1 richy: 1. Removed the autoreconf line as it didn't seem to help + 2. Added !makeflags + 3. Rev push :-) + +16th May 2009 +20343-1 richy: 1. added python as a depenency and removed x-server (namcap advised), + 2. added autoreconf to goom before aclocal - another pot-shot at the goom compile prob. + 3. added flax and bison to makedepends - I thought they were implicitely provided, but + some users didn't have them. + 4. Rev push to 20343 + 5. Removed the --quiet flag form SVN for now as sourcforge was timing out and + failing silently. + + Note: namcap advised a number of other changes which I ignored for now. + +15th May 2009 +20231-3 - haggy: added libsamplerate as a dependency, it is needed for the recent smoothvideo patches + +14th May 2009 +20231-2 - haggy: another shot in the dark to fix that damn goom compilation error + +13th May 2009 +20231 - haggy: smoothvideo! + +12th May 2009 +20172 - haggy: a shot in the dark: try another autoreconf inside goom and see if it helps. + +11th May 2009 +20149 - haggy: pushed rev, removed 'hitting-o-breaks...'-patch - it got fixed in svn + +9th May 2009 +20101 - haggy: an updated PM3 skin made it into xbmc. added conflicts hint to this PKGBUILD + +8th May 2009 +20059 - haggy: minor push past 9.04, removed copying the source tree to a build tree which wastes space, + takes ages and stresses the hdd for no reason. instead we now use svn to revert to a + clean build dir. + +5th May 2009 +19941 - rich: heaps more tickets closed, Mexican translation + +30th April 2009 +19841 - haggy: lots of closed tickets worth a release, removed xsession patch + +27th April 2009 +19753 - haggy: added patch for xsession file breaking installation into fakeroot. + +22nd April 2009 +19602 - richy: version bump to address problem with python scripts and plugins + +20th April 2009 +19550 - haggy: pushed rev, some .mov fixes and better i18n in xbmc + +17th April 2009 +19517 - haggy: pushed rev, re-added installfile +19516-2- richy: Added back autoreconf -vif in libdvdcss - still required for some folk (me) +19516 - haggy: pushed rev, moved patches to patchfiles, added 'safe fullscreen patch', several cleanups + +15th April 2009 +19484 - haggy: pushed rev, re-enabled MAKEFLAGS to allow a more streamlined package + +14th April 2009 +19463 - haggy: added install file +19463 - richy: moved _svn* back inside build() on Haggy's suggestion. Let's try and avoid broken releases! +19463 - richy: makedepends 'subversion' instead of 'svn' because that's what's in the guidelines +19463 - richy: changed licens from ('GPL' 'custom') to ('GPL', 'LGPL') - See: http://xbmc.org/about/ + +13th April 2009 - initial upload to AUR, tested on 32bit and 64bit. +19444 - richy: Moved _svn* outside of build so that users get the latest SVN. +19444 - richy: Added a symlink for XBMCtex to usr/bin/XBMCtex +19444 - richy: Moved libcdio into depends from opt-depends - right now it is a dependency. + diff --git a/abs/extra/xbmc-svn/Lircmap.xml b/abs/extra/xbmc-svn/Lircmap.xml new file mode 100644 index 0000000..600567f --- /dev/null +++ b/abs/extra/xbmc-svn/Lircmap.xml @@ -0,0 +1,233 @@ +<!-- This file contains the mapping of LIRC keys to XBMC keys used in Keymap.xml --> +<!-- --> +<!-- How to add remotes --> +<!-- <remote device="name_Lirc_calls_the_remote"> --> +<!-- --> +<!-- For the commands the layout following layout is used --> +<!-- <XBMC_COMMAND>LircButtonName</XBMC_COMMAND> --> +<!-- --> +<!-- For a list of XBMC_COMMAND's check out the <remote> sections of keymap.xml --> + +<lircmap> + <remote device="mceusb"> + <pause>Pause</pause> + <stop>Stop</stop> + <forward>Forward</forward> + <reverse>Rewind</reverse> + <left>Left</left> + <right>Right</right> + <up>Up</up> + <down>Down</down> + <select>OK</select> + <pageplus>ChanUp</pageplus> + <pageminus>ChanDown</pageminus> + <back>Back</back> + <menu>PreviousMenu</menu> + <title>Play</title> + <info>More</info> + <skipplus>Skip</skipplus> + <skipminus>Replay</skipminus> + <display>Teletext</display> + <start>Home</start> + <record>Record</record> + <volumeplus>VolUp</volumeplus> + <volumeminus>VolDown</volumeminus> + <mute>Mute</mute> + <power>Power</power> + <myvideo>Videos</myvideo> + <mymusic>Music</mymusic> + <mypictures>Pictures</mypictures> + <mytv>TV</mytv> + <one>One</one> + <two>Two</two> + <three>Three</three> + <four>Four</four> + <five>Five</five> + <six>Six</six> + <seven>Seven</seven> + <eight>Eight</eight> + <nine>Nine</nine> + <zero>Zero</zero> + <mytv>Red</mytv> + <mymusic>Green</mymusic> + <mypictures>Yellow</mypictures> + <myvideo>Blue</myvideo> + </remote> + + <remote device="mceusb2"> + <pause>Pause</pause> + <stop>Stop</stop> + <forward>Forward</forward> + <reverse>Rewind</reverse> + <left>Left</left> + <right>Right</right> + <up>Up</up> + <down>Down</down> + <select>OK</select> + <pageplus>ChanUp</pageplus> + <pageminus>ChanDown</pageminus> + <back>Back</back> + <menu>PreviousMenu</menu> + <title>Play</title> + <info>More</info> + <skipplus>Skip</skipplus> + <skipminus>Replay</skipminus> + <display>Teletext</display> + <start>Home</start> + <record>Record</record> + <volumeplus>VolUp</volumeplus> + <volumeminus>VolDown</volumeminus> + <mute>Mute</mute> + <power>Power</power> + <myvideo>Videos</myvideo> + <mymusic>Music</mymusic> + <mypictures>Pictures</mypictures> + <mytv>TV</mytv> + <one>One</one> + <two>Two</two> + <three>Three</three> + <four>Four</four> + <five>Five</five> + <six>Six</six> + <seven>Seven</seven> + <eight>Eight</eight> + <nine>Nine</nine> + <zero>Zero</zero> + <mytv>Red</mytv> + <mymusic>Green</mymusic> + <mypictures>Yellow</mypictures> + <myvideo>Blue</myvideo> + </remote> + + <remote device="XboxDVDDongle"> + <play>PLAY</play> + <pause>PAUSE</pause> + <stop>STOP</stop> + <forward>FORWARD</forward> + <reverse>REVERSE</reverse> + <left>LEFT</left> + <right>RIGHT</right> + <up>UP</up> + <down>DOWN</down> + <select>SELECT</select> + <back>BACK</back> + <menu>MENU</menu> + <title>TITLE</title> + <info>INFO</info> + <skipplus>SKIP+</skipplus> + <skipminus>SKIP-</skipminus> + <display>DISPLAY</display> + <one>1</one> + <two>2</two> + <three>3</three> + <four>4</four> + <five>5</five> + <six>6</six> + <seven>7</seven> + <eight>8</eight> + <nine>9</nine> + <zero>0</zero> + </remote> + + <remote device="Microsoft_Xbox"> + <play>PLAY</play> + <pause>PAUSE</pause> + <stop>STOP</stop> + <forward>FORWARD</forward> + <reverse>REVERSE</reverse> + <left>LEFT</left> + <right>RIGHT</right> + <up>UP</up> + <down>DOWN</down> + <select>SELECT</select> + <back>BACK</back> + <menu>MENU</menu> + <title>TITLE</title> + <info>INFO</info> + <skipplus>SKIP+</skipplus> + <skipminus>SKIP-</skipminus> + <display>DISPLAY</display> + <one>1</one> + <two>2</two> + <three>3</three> + <four>4</four> + <five>5</five> + <six>6</six> + <seven>7</seven> + <eight>8</eight> + <nine>9</nine> + <zero>0</zero> + </remote> + + <remote device="PinnacleSysPCTVRemote"> + <play>Play</play> + <pause>pause</pause> + <stop>Stop</stop> + <forward>FForward</forward> + <reverse>Rewind</reverse> + <left>Vol-Rew</left> + <right>Vol+FF</right> + <up>Chan+Play</up> + <down>Chan-Stop</down> + <pageplus>channel+</pageplus> + <pageminus>channel-</pageminus> + <select>middle</select> + <back>undo</back> + <menu>Menu</menu> + <title>L</title> + <info>Info</info> + <skipplus>next</skipplus> + <display>Fullscreen</display> + <record>Record</record> + <volumeplus>vol+</volumeplus> + <volumeminus>vol-</volumeminus> + <mute>Mute</mute> + <power>Power</power> + <one>1</one> + <two>2</two> + <three>3</three> + <four>4</four> + <five>5</five> + <six>6</six> + <seven>7</seven> + <eight>8</eight> + <nine>9</nine> + <zero>0</zero> + </remote> + + <remote device="Streamzap_PC_Remote"> + <play>PLAY</play> + <pause>PAUSE</pause> + <stop>STOP</stop> + <forward>>></forward> + <reverse><<</reverse> + <left>LEFT</left> + <right>RIGHT</right> + <up>UP</up> + <down>DOWN</down> + <pageplus>CH_UP</pageplus> + <pageminus>CH_DOWN</pageminus> + <select>OK</select> + <back>EXIT</back> + <menu>MENU</menu> + <title>RED</title> + <info>GREEN</info> + <skipplus>>>|</skipplus> + <display>YELLOW</display> + <record>RECORD</record> + <volumeplus>VOL_UP</volumeplus> + <volumeminus>VOL_DOWN</volumeminus> + <mute>MUTE</mute> + <power>POWER</power> + <one>1</one> + <two>2</two> + <three>3</three> + <four>4</four> + <five>5</five> + <six>6</six> + <seven>7</seven> + <eight>8</eight> + <nine>9</nine> + <zero>0</zero> + </remote> +</lircmap> diff --git a/abs/extra/xbmc-svn/PKGBUILD b/abs/extra/xbmc-svn/PKGBUILD new file mode 100644 index 0000000..d7debbe --- /dev/null +++ b/abs/extra/xbmc-svn/PKGBUILD @@ -0,0 +1,97 @@ +# Contributors : Ralf Barth <archlinux dot org at haggy dot org> +# Richard Atkinson atkinsonr-at-gmail +# +# Original credits go to Edgar Hucek <gimli at dark-green dot com> +# for his xbmc-vdpau-vdr PKGBUILD at https://archvdr.svn.sourceforge.net/svnroot/archvdr/trunk/archvdr/xbmc-vdpau-vdr/PKGBUILD + +pkgname=xbmc-svn +pkgver=25089 +pkgrel=1 +pkgdesc="XBMC Media Center from SVN" +provides=('xbmc') +conflicts=('xbmc') +arch=('i686' 'x86_64') +url="http://xbmc.org" +license=('GPL' 'LGPL') +depends=('alsa-lib' 'curl' 'enca' 'faac' 'freetype2' 'fribidi' 'gawk' 'glew' + 'hal' 'jasper' 'libgl' 'libmad' 'libmysqlclient' 'libjpeg' + 'libxinerama' 'libxrandr' 'lzo2' 'sdl_image' 'sdl_mixer' 'sqlite3' + 'tre' 'unzip' 'libcdio' 'libsamplerate' 'python' 'avahi' 'libmad' + 'a52dec' 'libdca' 'faad2' 'libmpeg2' 'libvorbis' 'libogg' 'libmms' + 'libmpcdec' 'flac' 'wavpack' 'xorg-utils' 'smbclient' 'libvdpau') +makedepends=('subversion' 'autoconf' 'automake' 'boost' 'cmake' 'gcc' 'gperf' + 'libtool>=2.2.6a-1' 'make' 'nasm' 'patch' 'pkgconfig' 'zip' 'flex' 'bison') +optdepends=('lirc: remote controller support' + 'pmount: mount removable devices as normal user' + 'unrar: access compressed files without unpacking them') +install=("${pkgname}.install") +source=(Lircmap.xml) +noextract=() +md5sums=() +options=(makeflags) + +_svnmod=XBMC +_prefix=/usr + +build() { + + _svntrunk=http://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk + + cd ${srcdir}/ + if [ -d $_svnmod/.svn ]; then + msg "SVN tree found, reverting changes and updating to -r$pkgver" + (cd $_svnmod && svn revert -R . && svn up -r $pkgver) || return 1 + else + msg "Checking out SVN tree of -r$pkgver" + svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod || return 1 + fi + + # Configure XBMC + # + # Note on external-libs: + # - We cannot use external python because Arch's python was built with + # UCS2 unicode support, whereas xbmc expects UCS4 support + # - We cannot use Arch's libass because it's incompatible with XBMC's + # subtitle rendering + # - We cannot use external ffmpeg because we would loose VDPAU functionality + cd "$srcdir/$_svnmod" + msg "Configuring XBMC" + ./bootstrap + ./configure --prefix=${_prefix} \ + --enable-external-liba52 \ + --enable-external-libdts \ + --enable-external-libmpeg2 \ + --enable-external-libogg \ + --enable-external-libwavpack \ + --disable-external-libass \ + --disable-external-ffmpeg \ + --disable-external-python \ + --disable-debug || return 1 + + # Now (finally) build + msg "Running make" + make || return 1 + + cd "$srcdir/$_svnmod" + msg "Running make install" + make prefix=${pkgdir}${_prefix} install || return 1 + + # Install + install -Dm755 ${srcdir}/$_svnmod/xbmc-xrandr \ + ${pkgdir}${_prefix}/share/xbmc/xbmc-xrandr || return 1 + + install -Dm644 ${srcdir}/$_svnmod/tools/Linux/xbmc.desktop \ + ${pkgdir}${_prefix}/share/applications/xbmc.desktop || return 1 + + install -Dm644 ${srcdir}/$_svnmod/tools/Linux/xbmc.png \ + ${pkgdir}${_prefix}/share/pixmaps/xbmc.png || return 1 + + install -dm755 ${pkgdir}${_prefix}/share/licenses/${pkgname} + for licensef in LICENSE.GPL README.linux copying.txt; do + mv ${pkgdir}${_prefix}/share/xbmc/${licensef} \ + ${pkgdir}${_prefix}/share/licenses/${pkgname} || return 1 + done + + # Use custom Lircmap to support StreamZap remote + cp ${srcdir}/Lircmap.xml ${pkgdir}${_prefix}/share/xbmc/system/Lircmap.xml +} diff --git a/abs/extra/xbmc-svn/__changelog b/abs/extra/xbmc-svn/__changelog new file mode 100644 index 0000000..bbf1705 --- /dev/null +++ b/abs/extra/xbmc-svn/__changelog @@ -0,0 +1 @@ +Added Lircmap.xml to PKGBUILD to support MCE2 and StreamZap remotes diff --git a/abs/extra/xbmc-svn/xbmc-svn.install b/abs/extra/xbmc-svn/xbmc-svn.install new file mode 100644 index 0000000..acf409c --- /dev/null +++ b/abs/extra/xbmc-svn/xbmc-svn.install @@ -0,0 +1,13 @@ +post_install() { + echo ">> If XBMC won't start, but just segfaults, double check your X.Org config" + echo ">> so that your display depth is at least 24-bit. Eg: change " + echo ">> \"DefaultDepth 16\" under the \"Screen\" section so it says 24 instead" + echo ">> of 16." + echo ">> If you have problems or suggestions for this PKGBUILD, have a look at its" + echo ">> dedicated forum thread: http://bbs.archlinux.org/viewtopic.php?pid=559107" + echo ">> or the wiki: http://xbmc.org/wiki/?title=XBMC_on_Arch_Linux_(Unofficial)" + echo + /bin/true +} + +# vim:set ts=2 sw=2 et: diff --git a/abs/extra/xbmc/FEH.sh b/abs/extra/xbmc/FEH.sh new file mode 100644 index 0000000..9cbec63 --- /dev/null +++ b/abs/extra/xbmc/FEH.sh @@ -0,0 +1,47 @@ +#!/bin/bash +function directRendering() { +out=$(glxinfo | grep "direct rendering") +direct=${out#"direct rendering: "} +if [ "$direct" = "Yes" ]; then + return 0 +else + return 1 +fi +} + +function colorDepth() { +out=$(xdpyinfo | grep "depth of root") +color=${out:27:2} +if [ "$color" = "24" ]; then + return 0 +else + return 1 +fi +} + +directRendering +direct_ok=$? + +colorDepth +color_ok=$? + +exit_val=0 + +if [ $direct_ok -ne 0 ]; then + echo "XBMC needs hardware accelerated OpenGL rendering." + echo "Install an appropriate graphics driver." + echo " " + echo "Please consult XBMC Wiki for supported hardware" + echo "http://xbmc.org/wiki/?title=Supported_hardware" + exit_val=1 +fi + +if [ $color_ok -ne 0 ]; then + echo "XBMC cannot run unless the" + echo "screen color depth is atleast 24 bit." + echo " " + echo "Please reconfigure your screen." + exit_val=1 +fi + +exit $exit_val diff --git a/abs/extra/xbmc/Lircmap.xml b/abs/extra/xbmc/Lircmap.xml new file mode 100644 index 0000000..600567f --- /dev/null +++ b/abs/extra/xbmc/Lircmap.xml @@ -0,0 +1,233 @@ +<!-- This file contains the mapping of LIRC keys to XBMC keys used in Keymap.xml --> +<!-- --> +<!-- How to add remotes --> +<!-- <remote device="name_Lirc_calls_the_remote"> --> +<!-- --> +<!-- For the commands the layout following layout is used --> +<!-- <XBMC_COMMAND>LircButtonName</XBMC_COMMAND> --> +<!-- --> +<!-- For a list of XBMC_COMMAND's check out the <remote> sections of keymap.xml --> + +<lircmap> + <remote device="mceusb"> + <pause>Pause</pause> + <stop>Stop</stop> + <forward>Forward</forward> + <reverse>Rewind</reverse> + <left>Left</left> + <right>Right</right> + <up>Up</up> + <down>Down</down> + <select>OK</select> + <pageplus>ChanUp</pageplus> + <pageminus>ChanDown</pageminus> + <back>Back</back> + <menu>PreviousMenu</menu> + <title>Play</title> + <info>More</info> + <skipplus>Skip</skipplus> + <skipminus>Replay</skipminus> + <display>Teletext</display> + <start>Home</start> + <record>Record</record> + <volumeplus>VolUp</volumeplus> + <volumeminus>VolDown</volumeminus> + <mute>Mute</mute> + <power>Power</power> + <myvideo>Videos</myvideo> + <mymusic>Music</mymusic> + <mypictures>Pictures</mypictures> + <mytv>TV</mytv> + <one>One</one> + <two>Two</two> + <three>Three</three> + <four>Four</four> + <five>Five</five> + <six>Six</six> + <seven>Seven</seven> + <eight>Eight</eight> + <nine>Nine</nine> + <zero>Zero</zero> + <mytv>Red</mytv> + <mymusic>Green</mymusic> + <mypictures>Yellow</mypictures> + <myvideo>Blue</myvideo> + </remote> + + <remote device="mceusb2"> + <pause>Pause</pause> + <stop>Stop</stop> + <forward>Forward</forward> + <reverse>Rewind</reverse> + <left>Left</left> + <right>Right</right> + <up>Up</up> + <down>Down</down> + <select>OK</select> + <pageplus>ChanUp</pageplus> + <pageminus>ChanDown</pageminus> + <back>Back</back> + <menu>PreviousMenu</menu> + <title>Play</title> + <info>More</info> + <skipplus>Skip</skipplus> + <skipminus>Replay</skipminus> + <display>Teletext</display> + <start>Home</start> + <record>Record</record> + <volumeplus>VolUp</volumeplus> + <volumeminus>VolDown</volumeminus> + <mute>Mute</mute> + <power>Power</power> + <myvideo>Videos</myvideo> + <mymusic>Music</mymusic> + <mypictures>Pictures</mypictures> + <mytv>TV</mytv> + <one>One</one> + <two>Two</two> + <three>Three</three> + <four>Four</four> + <five>Five</five> + <six>Six</six> + <seven>Seven</seven> + <eight>Eight</eight> + <nine>Nine</nine> + <zero>Zero</zero> + <mytv>Red</mytv> + <mymusic>Green</mymusic> + <mypictures>Yellow</mypictures> + <myvideo>Blue</myvideo> + </remote> + + <remote device="XboxDVDDongle"> + <play>PLAY</play> + <pause>PAUSE</pause> + <stop>STOP</stop> + <forward>FORWARD</forward> + <reverse>REVERSE</reverse> + <left>LEFT</left> + <right>RIGHT</right> + <up>UP</up> + <down>DOWN</down> + <select>SELECT</select> + <back>BACK</back> + <menu>MENU</menu> + <title>TITLE</title> + <info>INFO</info> + <skipplus>SKIP+</skipplus> + <skipminus>SKIP-</skipminus> + <display>DISPLAY</display> + <one>1</one> + <two>2</two> + <three>3</three> + <four>4</four> + <five>5</five> + <six>6</six> + <seven>7</seven> + <eight>8</eight> + <nine>9</nine> + <zero>0</zero> + </remote> + + <remote device="Microsoft_Xbox"> + <play>PLAY</play> + <pause>PAUSE</pause> + <stop>STOP</stop> + <forward>FORWARD</forward> + <reverse>REVERSE</reverse> + <left>LEFT</left> + <right>RIGHT</right> + <up>UP</up> + <down>DOWN</down> + <select>SELECT</select> + <back>BACK</back> + <menu>MENU</menu> + <title>TITLE</title> + <info>INFO</info> + <skipplus>SKIP+</skipplus> + <skipminus>SKIP-</skipminus> + <display>DISPLAY</display> + <one>1</one> + <two>2</two> + <three>3</three> + <four>4</four> + <five>5</five> + <six>6</six> + <seven>7</seven> + <eight>8</eight> + <nine>9</nine> + <zero>0</zero> + </remote> + + <remote device="PinnacleSysPCTVRemote"> + <play>Play</play> + <pause>pause</pause> + <stop>Stop</stop> + <forward>FForward</forward> + <reverse>Rewind</reverse> + <left>Vol-Rew</left> + <right>Vol+FF</right> + <up>Chan+Play</up> + <down>Chan-Stop</down> + <pageplus>channel+</pageplus> + <pageminus>channel-</pageminus> + <select>middle</select> + <back>undo</back> + <menu>Menu</menu> + <title>L</title> + <info>Info</info> + <skipplus>next</skipplus> + <display>Fullscreen</display> + <record>Record</record> + <volumeplus>vol+</volumeplus> + <volumeminus>vol-</volumeminus> + <mute>Mute</mute> + <power>Power</power> + <one>1</one> + <two>2</two> + <three>3</three> + <four>4</four> + <five>5</five> + <six>6</six> + <seven>7</seven> + <eight>8</eight> + <nine>9</nine> + <zero>0</zero> + </remote> + + <remote device="Streamzap_PC_Remote"> + <play>PLAY</play> + <pause>PAUSE</pause> + <stop>STOP</stop> + <forward>>></forward> + <reverse><<</reverse> + <left>LEFT</left> + <right>RIGHT</right> + <up>UP</up> + <down>DOWN</down> + <pageplus>CH_UP</pageplus> + <pageminus>CH_DOWN</pageminus> + <select>OK</select> + <back>EXIT</back> + <menu>MENU</menu> + <title>RED</title> + <info>GREEN</info> + <skipplus>>>|</skipplus> + <display>YELLOW</display> + <record>RECORD</record> + <volumeplus>VOL_UP</volumeplus> + <volumeminus>VOL_DOWN</volumeminus> + <mute>MUTE</mute> + <power>POWER</power> + <one>1</one> + <two>2</two> + <three>3</three> + <four>4</four> + <five>5</five> + <six>6</six> + <seven>7</seven> + <eight>8</eight> + <nine>9</nine> + <zero>0</zero> + </remote> +</lircmap> diff --git a/abs/extra/xbmc/PKGBUILD b/abs/extra/xbmc/PKGBUILD new file mode 100644 index 0000000..fc068d4 --- /dev/null +++ b/abs/extra/xbmc/PKGBUILD @@ -0,0 +1,116 @@ +# Contributor: [vEX] <niechift.dot.vex.at.gmail.dot.com> +# Contributor: Zeqadious <zeqadious.at.gmail.dot.com> +# Contributor: BlackEagle < ike DOT devolder AT herecura DOT be > + +# python dependency or not +_ext_python="disable" + +pkgname=xbmc +pkgver=9.11 +pkgrel=5 +pkgdesc="XBMC Media Center" +arch=('i686' 'x86_64') +url="http://xbmc.org" +license=('GPL' 'custom') +conflicts=('xbmc-svn') +depends=('alsa-lib' 'curl' 'enca' 'faac' 'freetype2' 'fribidi' 'gawk' 'glew' + 'hal' 'jasper' 'libgl' 'libjpeg' 'libmad' 'libmysqlclient' + 'libxinerama' 'libxrandr' 'lzo2' 'sdl_image' 'sdl_mixer' 'sqlite3' + 'tre' 'unzip' 'x-server' 'libcdio' 'wavpack' 'libmpeg2' 'a52dec' + 'libdca' 'smbclient' 'faad2' 'libsamplerate' 'libmms' 'xorg-utils') +if [ "$_ext_python" != "disable" ]; then + depends=( '${depends[@]}' 'python' ) +fi +makedepends=('autoconf' 'automake' 'boost' 'cmake' 'gcc' 'gperf' + 'libtool>=2.2.6a-1' 'make' 'nasm' 'patch' 'pkgconfig' 'zip' + 'libvdpau') +optdepends=('lirc: remote controller support' + 'smbclient: access windows shares' + 'unrar: access compressed files without unpacking them') +install=${pkgname}.install +options=(force) +source=(http://downloads.sourceforge.net/project/xbmc/XBMC%20Source%20Code/Camelot%20-%20$pkgver/xbmc-${pkgver/_/-}.tar.gz + use_cdio_system_headers_on_non_win32.patch + FEH.sh + Lircmap.xml) + +build() { + cd "${srcdir}/xbmc-${pkgver/_/-}" + _xbmcprefix=/usr + + patch -N -p1 -i ../use_cdio_system_headers_on_non_win32.patch || return 1 + # fix lsb_release dependency + sed -i -e 's:/usr/bin/lsb_release -d:cat /etc/arch-release:' xbmc/utils/SystemInfo.cpp || return 1 + # fix faulty declaration in DllLaoder wrapper + sed -i 's: ftell64: dll_ftell64:' xbmc/cores/DllLoader/exports/wrapper.c || return 1 + # fix libjpeg7 delays + sed -i 's|cinfo.scale_denom = GetJpegScale();|cinfo.scale_denom = GetJpegScale(); cinfo.scale_num = 1;|' xbmc/lib/cximage-6.0/CxImage/ximajpg.cpp || return 1 + + if [ $NOEXTRACT -ne 1 ]; then + # Archlinux Branding by SVN_REV + export SVN_REV="-ARCH" + + ./bootstrap + ./configure --prefix=${_xbmcprefix} \ + --enable-vdpau \ + --disable-pulse \ + --disable-avahi \ + --enable-external-liba52 \ + --enable-external-libdts \ + --enable-external-libmpeg2 \ + --enable-external-libogg \ + --enable-external-libwavpack \ + --disable-external-libass \ + --disable-external-ffmpeg \ + --${_ext_python}-external-python \ + --disable-debug || return 1 + fi + + make || return 1 + make prefix=${pkgdir}${_xbmcprefix} install || return 1 + + # Fix the shell script + sed -i '3iexport SDL_AUDIODRIVER=alsa' ${pkgdir}${_xbmcprefix}/bin/xbmc + + # if disabled external python install bash script and fix startup script + if [ "$_ext_python" = "disable" ]; then + install -Dm755 ${srcdir}/FEH.sh \ + ${pkgdir}${_xbmcprefix}/share/xbmc/FEH.sh || return 1 + sed -i -e "s/python \\${_xbmcprefix}\/share\/xbmc\/FEH.py \"\$@\"/\\${_xbmcprefix}\/share\/xbmc\/FEH.sh/g" ${pkgdir}${_xbmcprefix}/bin/xbmc || return 1 + fi + + # bin/xbmc lsb_release fix in xmbc startup script + sed -i -e 's/which lsb_release &> \/dev\/null/\[ -f \/etc\/arch-release ]/g' ${pkgdir}${_xbmcprefix}/bin/xbmc || return 1 + sed -i -e "s/lsb_release -a 2> \/dev\/null | sed -e 's\/\^\/ \/'/cat \/etc\/arch-release/g" ${pkgdir}${_xbmcprefix}/bin/xbmc || return 1 + + # Menu item + install -Dm644 ${srcdir}/xbmc-${pkgver/_/-}/tools/Linux/xbmc.desktop \ + ${pkgdir}/usr/share/applications/xbmc.desktop || return 1 + install -Dm644 ${srcdir}/xbmc-${pkgver/_/-}/tools/Linux/xbmc.png \ + ${pkgdir}/usr/share/pixmaps/xbmc.png || return 1 + + # XBMCTex + # install -Dm755 ${srcdir}/xbmc-${pkgver/_/-}/tools/XBMCTex/XBMCTex \ + # ${pkgdir}${_xbmcprefix}/share/xbmc/tools/xbmctex || return 1 + + # License(s) + install -dm755 ${pkgdir}/usr/share/licenses/${pkgname} + for licensef in LICENSE.GPL README.linux copying.txt; do + mv ${pkgdir}${_xbmcprefix}/share/xbmc/${licensef} \ + ${pkgdir}/usr/share/licenses/${pkgname} || return 1 + done + + # profile.d + mkdir -p $pkgdir/etc/profile.d/ && \ + echo "export PATH=\$PATH:${_xbmcprefix}/bin" >$pkgdir/etc/profile.d/xbmc.sh && \ + chmod 0755 $pkgdir/etc/profile.d/xbmc.sh || return 1 + + # fix .desktop + sed -i "s#Exec=xbmc#Exec=${_xbmcprefix}/bin/xbmc#" $pkgdir/usr/share/xsessions/XBMC.desktop $pkgdir/usr/share/applications/xbmc.desktop + + # Use custom Lircmap to support StreamZap remote + cp ${srcdir}/Lircmap.xml ${pkgdir}${_xbmcprefix}/share/xbmc/system/Lircmap.xml +} +md5sums=('9a68ac1e2f44a54cc3803fcdb1265767' + '7b7403cdde791330b5ab70697d2054f2' + '0aa669eebaaf2a9f6e000e1f43869a7b') diff --git a/abs/extra/xbmc/__changelog b/abs/extra/xbmc/__changelog new file mode 100644 index 0000000..bbf1705 --- /dev/null +++ b/abs/extra/xbmc/__changelog @@ -0,0 +1 @@ +Added Lircmap.xml to PKGBUILD to support MCE2 and StreamZap remotes diff --git a/abs/extra/xbmc/use_cdio_system_headers_on_non_win32.patch b/abs/extra/xbmc/use_cdio_system_headers_on_non_win32.patch new file mode 100644 index 0000000..71f3885 --- /dev/null +++ b/abs/extra/xbmc/use_cdio_system_headers_on_non_win32.patch @@ -0,0 +1,130 @@ +diff --git a/xbmc/Application.cpp b/xbmc/Application.cpp +index 9097519..9b6418d 100644 +--- a/xbmc/Application.cpp ++++ b/xbmc/Application.cpp +@@ -236,7 +236,11 @@ + #endif + + #ifdef HAS_DVD_DRIVE ++#ifdef _WIN32 + #include "lib/libcdio/logging.h" ++#else ++#include <cdio/logging.h> ++#endif + #endif + + #ifdef HAS_HAL +diff --git a/xbmc/FileSystem/Makefile b/xbmc/FileSystem/Makefile +index 782d57a..1e524ed 100644 +--- a/xbmc/FileSystem/Makefile ++++ b/xbmc/FileSystem/Makefile +@@ -1,5 +1,4 @@ +-INCLUDES=-I. -I../ -I../cores -I../linux -I../../guilib -I../lib/UnrarXLib -I../utils -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include +-INCLUDES+=-I../lib/libcdio/libcdio/include ++INCLUDES=-I. -I../ -I../cores -I../linux -I../../guilib -I../lib/UnrarXLib -I../utils -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../lib + + CXXFLAGS+=-D__STDC_FORMAT_MACROS \ + +diff --git a/xbmc/FileSystem/cdioSupport.cpp b/xbmc/FileSystem/cdioSupport.cpp +index 00e5fdd..21a0b67 100644 +--- a/xbmc/FileSystem/cdioSupport.cpp ++++ b/xbmc/FileSystem/cdioSupport.cpp +@@ -26,7 +26,7 @@ + #include "cdioSupport.h" + #include "utils/SingleLock.h" + #include "utils/log.h" +-#ifndef _LINUX ++#ifdef _WIN32 + #include "lib/libcdio/logging.h" + #include "lib/libcdio/util.h" + #include "lib/libcdio/mmc.h" +diff --git a/xbmc/FileSystem/iso9660.cpp b/xbmc/FileSystem/iso9660.cpp +index 6e1633f..58fbc50 100644 +--- a/xbmc/FileSystem/iso9660.cpp ++++ b/xbmc/FileSystem/iso9660.cpp +@@ -44,7 +44,7 @@ ISO9660 + #include "utils/CharsetConverter.h" + + #include "DetectDVDType.h" // for MODE2_DATA_SIZE etc. +-#ifdef _LINUX ++#ifndef _WIN32 + #include <cdio/bytesex.h> + #else + #include "lib/libcdio/bytesex.h" // for from_723 & from_733 +diff --git a/xbmc/Makefile b/xbmc/Makefile +index abfbdcb..f55381a 100644 +--- a/xbmc/Makefile ++++ b/xbmc/Makefile +@@ -8,8 +8,6 @@ INCLUDES+=-Ilib/libUPnP/Platinum/Source/Core \ + -Ilib/libUPnP/Neptune/Source/System/Posix \ + -Ilib/libUPnP/Neptune/Source/Core + +-INCLUDES+=-Ilib/libcdio/libcdio/include +- + SRCS=Application.cpp \ + CueDocument.cpp \ + GUISettings.cpp \ +diff --git a/xbmc/cdrip/CDDAReader.cpp b/xbmc/cdrip/CDDAReader.cpp +index c8b37b2..e3e9c0b 100644 +--- a/xbmc/cdrip/CDDAReader.cpp ++++ b/xbmc/cdrip/CDDAReader.cpp +@@ -24,7 +24,11 @@ + #ifdef HAS_CDDA_RIPPER + + #include "CDDAReader.h" ++#ifdef _WIN32 + #include "lib/libcdio/cdio.h" ++#else ++#include <cdio/cdio.h> ++#endif + #include "utils/log.h" + + #define SECTOR_COUNT 52 +diff --git a/xbmc/cores/paplayer/AC3CDDACodec.cpp b/xbmc/cores/paplayer/AC3CDDACodec.cpp +index 20cded7..f2a077a 100644 +--- a/xbmc/cores/paplayer/AC3CDDACodec.cpp ++++ b/xbmc/cores/paplayer/AC3CDDACodec.cpp +@@ -22,7 +22,11 @@ + #include "system.h" + #include "AC3CDDACodec.h" + #ifdef HAS_AC3_CDDA_CODEC ++#ifdef _WIN32 + #include "lib/libcdio/sector.h" ++#else ++#include <cdio/sector.h> ++#endif + + AC3CDDACodec::AC3CDDACodec() : AC3Codec() + { +diff --git a/xbmc/cores/paplayer/CDDAcodec.cpp b/xbmc/cores/paplayer/CDDAcodec.cpp +index ca8f1be..42460dc 100644 +--- a/xbmc/cores/paplayer/CDDAcodec.cpp ++++ b/xbmc/cores/paplayer/CDDAcodec.cpp +@@ -20,7 +20,11 @@ + */ + + #include "CDDAcodec.h" ++#ifdef _WIN32 + #include "lib/libcdio/sector.h" ++#else ++#include <cdio/sector.h> ++#endif + + #define SECTOR_COUNT 55 // max. sectors that can be read at once + #define MAX_BUFFER_SIZE 2*SECTOR_COUNT*CDIO_CD_FRAMESIZE_RAW +diff --git a/xbmc/cores/paplayer/DTSCDDACodec.cpp b/xbmc/cores/paplayer/DTSCDDACodec.cpp +index e64cc2e..9bc46c6 100644 +--- a/xbmc/cores/paplayer/DTSCDDACodec.cpp ++++ b/xbmc/cores/paplayer/DTSCDDACodec.cpp +@@ -22,7 +22,11 @@ + #include "system.h" + #include "DTSCDDACodec.h" + #ifdef HAS_DTS_CODEC ++#ifdef _WIN32 + #include "lib/libcdio/sector.h" ++#else ++#include <cdio/sector.h> ++#endif + + DTSCDDACodec::DTSCDDACodec() : DTSCodec() + { diff --git a/abs/extra/xbmc/xbmc.install b/abs/extra/xbmc/xbmc.install new file mode 100644 index 0000000..eb4e9d4 --- /dev/null +++ b/abs/extra/xbmc/xbmc.install @@ -0,0 +1,7 @@ +post_install() { + echo ">> If XBMC won't start, but just segfaults, double check your X.Org config" + echo ">> so that your display depth is at least 24-bit. Eg: change " + echo ">> \"DefaultDepth 16\" under the \"Screen\" section so it says 24 instead" + echo ">> of 16." + /bin/true +} diff --git a/abs/extra/xinetd/PKGBUILD b/abs/extra/xinetd/PKGBUILD new file mode 100644 index 0000000..af0e362 --- /dev/null +++ b/abs/extra/xinetd/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 31124 2009-03-24 12:46:33Z allan $ +# Maintainer: Judd <jvinet@zeroflux.org> +pkgname=xinetd +pkgver=2.3.14 +pkgrel=5 +pkgdesc="xinetd is a secure replacement for inetd" +arch=('i686' 'x86_64') +url="http://www.xinetd.org/" +license=('custom') +depends=('tcp_wrappers') +optdepends=('perl: for xconv.pl script') +backup=('etc/xinetd.conf' 'etc/xinetd.d/servers' 'etc/xinetd.d/services') +source=(http://www.xinetd.org/xinetd-$pkgver.tar.gz xinetd.conf xinetd \ + servers services) +md5sums=('567382d7972613090215c6c54f9b82d9' 'f109f699a07bc8cfb5791060f5e87f9e'\ + 'ea37a2794f202e6b953d9b6956dad16a' '21f47b4aa20921cfaddddd9f9a407f81'\ + '9fa2061dc7dd738c8424251deb86f81e') + +build() { + cd $srcdir/$pkgname-$pkgver + sed -i "s#${prefix}/man#${prefix}/share/man#" configure + ./configure --prefix=/usr --with-libwrap + make || return 1 + make prefix=$pkgdir/usr install + install -D -m755 ../xinetd $pkgdir/etc/rc.d/xinetd + install -D -m644 ../xinetd.conf $pkgdir/etc/xinetd.conf + install -D -m644 ../servers $pkgdir/etc/xinetd.d/servers + install -D -m644 ../services $pkgdir/etc/xinetd.d/services + + # install license + install -D -m644 COPYRIGHT $pkgdir/usr/share/licenses/$pkgname/COPYRIGHT +} diff --git a/abs/extra/xinetd/servers b/abs/extra/xinetd/servers new file mode 100644 index 0000000..f064c8d --- /dev/null +++ b/abs/extra/xinetd/servers @@ -0,0 +1,10 @@ +service servers +{ + type = INTERNAL UNLISTED + port = 9099 + socket_type = stream + protocol = tcp + wait = no + disable = yes + only_from = 127.0.0.1 +} diff --git a/abs/extra/xinetd/services b/abs/extra/xinetd/services new file mode 100644 index 0000000..4ea304c --- /dev/null +++ b/abs/extra/xinetd/services @@ -0,0 +1,10 @@ +service services +{ + type = INTERNAL UNLISTED + port = 9098 + socket_type = stream + protocol = tcp + wait = no + disable = yes + only_from = 127.0.0.1 +} diff --git a/abs/extra/xinetd/xinetd b/abs/extra/xinetd/xinetd new file mode 100755 index 0000000..4b8fa36 --- /dev/null +++ b/abs/extra/xinetd/xinetd @@ -0,0 +1,38 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +PID=`pidof -o %PPID /usr/sbin/xinetd` +case "$1" in + start) + stat_busy "Starting xinetd" + [ -z "$PID" ] && /usr/sbin/xinetd -stayalive -pidfile /var/run/xinetd.pid + if [ $? -gt 0 ]; then + stat_fail + else + echo $PID > /var/run/xinetd.pid + add_daemon xinetd + stat_done + fi + ;; + stop) + stat_busy "Stopping xinetd" + [ ! -z "$PID" ] && kill $PID &> /dev/null + if [ $? -gt 0 ]; then + stat_fail + else + rm -f /var/run/xinetd.pid + rm_daemon xinetd + stat_done + fi + ;; + restart) + $0 stop + sleep 1 + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0 diff --git a/abs/extra/xinetd/xinetd-2.3.14.tar.gz b/abs/extra/xinetd/xinetd-2.3.14.tar.gz Binary files differnew file mode 100644 index 0000000..d2050e3 --- /dev/null +++ b/abs/extra/xinetd/xinetd-2.3.14.tar.gz diff --git a/abs/extra/xinetd/xinetd.conf b/abs/extra/xinetd/xinetd.conf new file mode 100644 index 0000000..b15d9f6 --- /dev/null +++ b/abs/extra/xinetd/xinetd.conf @@ -0,0 +1,14 @@ +# +# /etc/xinetd.conf +# + +defaults +{ + instances = 60 + log_type = SYSLOG authpriv + log_on_success = HOST PID + log_on_failure = HOST + cps = 25 30 +} + +includedir /etc/xinetd.d diff --git a/abs/extra/xmlto/PKGBUILD b/abs/extra/xmlto/PKGBUILD index 76db93c..f9fc36e 100644 --- a/abs/extra/xmlto/PKGBUILD +++ b/abs/extra/xmlto/PKGBUILD @@ -5,16 +5,15 @@ # Contributor: Robert Stoffers <rob1@ubuntu.com> pkgname=xmlto -pkgver=0.0.21 -pkgrel=2 +pkgver=0.0.23 +pkgrel=1 pkgdesc="Convert xml to many other formats" arch=('i686' 'x86_64') url="http://cyberelk.net/tim/software/xmlto/" license=('GPL') depends=('libxslt>=1.1.24') makedepends=('docbook-xsl') -source=(https://fedorahosted.org/releases/x/m/xmlto/xmlto-0.0.21.tar.bz2) -md5sums=('cc2039dedc81f1a56b06e5fdac6f7570') +source=(https://fedorahosted.org/releases/x/m/xmlto/${pkgname}-${pkgver}.tar.bz2) build() { cd $srcdir/${pkgname}-${pkgver} @@ -22,3 +21,4 @@ build() { make || return 1 make DESTDIR=$pkgdir install || return 1 } +md5sums=('3001d6bb2bbc2c8f6c2301f05120f074') |