From 52a6d8af182cc82db86bda098fa8be52c82245c6 Mon Sep 17 00:00:00 2001 From: Michael Hanson Date: Fri, 5 Nov 2010 02:52:52 +0000 Subject: postgresql: update to 9.0 --- abs/extra/postgresql-libs/PKGBUILD | 172 ++++++++++++++++++------- abs/extra/postgresql-libs/build.patch | 11 ++ abs/extra/postgresql-libs/postgresql | 59 +++++++++ abs/extra/postgresql-libs/postgresql.confd | 5 + abs/extra/postgresql-libs/postgresql.logrotate | 4 + abs/extra/postgresql-libs/postgresql.pam | 3 + abs/extra/postgresql/PKGBUILD | 165 ++++++++++++++++-------- abs/extra/postgresql/postgresql | 4 +- abs/extra/postgresql/postgresql.confd | 3 +- abs/extra/postgresql/postgresql.logrotate | 4 + 10 files changed, 326 insertions(+), 104 deletions(-) create mode 100644 abs/extra/postgresql-libs/build.patch create mode 100755 abs/extra/postgresql-libs/postgresql create mode 100644 abs/extra/postgresql-libs/postgresql.confd create mode 100644 abs/extra/postgresql-libs/postgresql.logrotate create mode 100644 abs/extra/postgresql-libs/postgresql.pam create mode 100644 abs/extra/postgresql/postgresql.logrotate diff --git a/abs/extra/postgresql-libs/PKGBUILD b/abs/extra/postgresql-libs/PKGBUILD index ac037c7..14ba9f8 100644 --- a/abs/extra/postgresql-libs/PKGBUILD +++ b/abs/extra/postgresql-libs/PKGBUILD @@ -1,58 +1,136 @@ -# $Id: PKGBUILD 27764 2009-02-25 16:30:54Z douglas $ -# Maintainer: Paul Mattal - -pkgname=postgresql-libs -pkgver=8.3.6 -pkgrel=1 -pkgdesc="Libraries for use with PostgreSQL" -arch=(i686 x86_64) +# $Id: PKGBUILD 98184 2010-11-04 14:55:39Z dan $ +# Maintainer: Douglas Soares de Andrade + +pkgbase=postgresql +pkgname=('postgresql-libs' 'postgresql-docs' 'postgresql') +pkgver=9.0.1 +pkgrel=2.1 +arch=('i686' 'x86_64') +url="http://www.postgresql.org" license=('BSD') -url="http://www.postgresql.org/" -depends=('openssl>=0.9.8b' 'zlib' 'readline') -options=('!makeflags') -source=(ftp://ftp.postgresql.org/pub/source/v${pkgver}/postgresql-${pkgver}.tar.bz2) +makedepends=('libxml2' 'python2' 'perl') +source=(ftp://ftp.postgresql.org/pub/source/v${pkgver}/postgresql-${pkgver}.tar.bz2 \ + postgresql postgresql.confd build.patch postgresql.pam postgresql.logrotate) build() { - cd $startdir/src/postgresql-$pkgver || return 1 + cd "${srcdir}/${pkgbase}-${pkgver}" + + # patch to remove regress/test make target (won't build with it present) + patch -Np1 -i ../build.patch # configure - ./configure --prefix=/usr --with-openssl --datadir=/usr/share/postgresql \ - --with-pam \ - || return 1 + ./configure --prefix=/usr --mandir=/usr/share/man --with-libxml \ + --with-openssl --with-perl \ + --with-python PYTHON=/usr/bin/python2 --with-pam \ + --with-system-tzdata=/usr/share/zoneinfo --enable-nls \ + --datadir=/usr/share/postgresql --enable-thread-safety + + sed -i -e '/interfaces/d' src/Makefile + + # build + make world + + # build libs + for dir in src/interfaces src/bin/pg_config; do + pushd ${dir} + make + popd + done +} + +package_postgresql-libs() { + pkgdesc="Libraries for use with PostgreSQL" + depends=('openssl>=1.0.0') + + cd "${srcdir}/${pkgbase}-${pkgver}" + + # install license + install -D -m644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - # make and install + # install libs for dir in src/interfaces src/bin/pg_config; do - pushd ${dir} || return 1 - make || return 1 - make DESTDIR=${startdir}/pkg install || return 1 + pushd ${dir} + make DESTDIR="${pkgdir}" install popd done - cd src/include || return 1 - make || return 1 - - set -e - mkdir -p $startdir/pkg/usr/include/postgresql/{internal,internal/libpq} \ - || return 1 - mkdir -p $startdir/pkg/usr/include/libpq || return 1 - - # These headers are needed by the public headers of the interfaces. - install -m644 pg_config.h $startdir/pkg/usr/include/ || return 1 - install -m644 pg_config_os.h $startdir/pkg/usr/include/ || return 1 - install -m644 postgres_ext.h $startdir/pkg/usr/include/ || return 1 - install -m644 libpq/libpq-fs.h $startdir/pkg/usr/include/libpq/ || return 1 - install -m644 pg_config_manual.h $startdir/pkg/usr/include/ || return 1 - - # These headers are needed by the not-so-public headers of the interfaces. - install -m644 c.h $startdir/pkg/usr/include/postgresql/internal/ || return 1 - install -m644 port.h $startdir/pkg/usr/include/postgresql/internal/ \ - || return 1 - install -m644 postgres_fe.h $startdir/pkg/usr/include/postgresql/internal/ \ - || return 1 - install -m644 libpq/pqcomm.h $startdir/pkg/usr/include/postgresql/internal/libpq/ || return 1 - - install -D -m644 ../../COPYRIGHT $startdir/pkg/usr/share/licenses/$pkgname/LICENSE || return 1 - - set +e + install -D -m644 doc/src/sgml/man1/pg_config.1 "${pkgdir}/usr/share/man/man1/pg_config.1" + + cd src/include + + mkdir -p "${pkgdir}"/usr/include/{libpq,postgresql/internal/libpq} + + # these headers are needed by the public headers of the interfaces + install -m644 pg_config.h "${pkgdir}/usr/include/" + install -m644 pg_config_os.h "${pkgdir}/usr/include/" + install -m644 postgres_ext.h "${pkgdir}/usr/include/" + install -m644 libpq/libpq-fs.h "${pkgdir}/usr/include/libpq/" + install -m644 pg_config_manual.h "${pkgdir}/usr/include/" + + # these headers are needed by the not-so-public headers of the interfaces + install -m644 c.h "${pkgdir}/usr/include/postgresql/internal/" + install -m644 port.h "${pkgdir}/usr/include/postgresql/internal/" + install -m644 postgres_fe.h "${pkgdir}/usr/include/postgresql/internal/" + install -m644 libpq/pqcomm.h "${pkgdir}/usr/include/postgresql/internal/libpq/" } -md5sums=('4f8c67d802bd03b5b844e268bba7d44a') + +package_postgresql-docs() { + pkgdesc="HTML documentation for PostgreSQL" + options=(docs) + + cd "${srcdir}/${pkgbase}-${pkgver}" + + # install license + install -D -m644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + + make -C doc/src/sgml DESTDIR="${pkgdir}" install-html + chown -R root:root "${pkgdir}/usr/share/doc/postgresql/html/" +} + +package_postgresql() { + pkgdesc="A sophisticated object-relational DBMS" + backup=('etc/conf.d/postgresql' 'etc/pam.d/postgresql' 'etc/logrotate.d/postgresql') + depends=("postgresql-libs>=${pkgver}" 'libxml2' 'readline>=6.0') + optdepends=('python2: for PL/Python support' + 'perl: for PL/Perl support') + provides=('postgresql-client') + conflicts=('postgresql-client') + + cd "${srcdir}/${pkgbase}-${pkgver}" + + # install + make DESTDIR="${pkgdir}" install + make -C contrib DESTDIR="${pkgdir}" install + make -C doc/src/sgml DESTDIR="${pkgdir}" install-man + # we don't want this, it is in the -libs package + make -C src/bin/pg_config DESTDIR="${pkgdir}" uninstall + rm "${pkgdir}/usr/share/man/man1/pg_config.1" + + # install license + install -D -m644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgbase}/LICENSE" + + # clean up unneeded installed items + rm -rf "${pkgdir}/usr/include/postgresql/internal" + rm -rf "${pkgdir}/usr/include/libpq" + find "${pkgdir}/usr/include" -maxdepth 1 -type f -execdir rm {} + + + # install launch script + install -D -m755 "${srcdir}/postgresql" "${pkgdir}/etc/rc.d/postgresql" + + # install conf file + install -D -m644 ${srcdir}/postgresql.confd \ + "${pkgdir}/etc/conf.d/postgresql" + + install -D -m644 ${srcdir}/postgresql.pam \ + "${pkgdir}/etc/pam.d/postgresql" + + install -D -m644 ${srcdir}/postgresql.logrotate \ + "${pkgdir}/etc/logrotate.d/postgresql" +} + +md5sums=('57ba57e43cfe29e16dacbf5789be98d1' + '4153ac0ef4a77e709385b0a13e1c0fad' + 'd63a05943cf0a2726aa2070f3033c569' + '4d74f4227dc5e12bf95b3490758d86c9' + '96f82c38f3f540b53f3e5144900acf17' + 'd28e443f9f65a5712c52018b84e27137') diff --git a/abs/extra/postgresql-libs/build.patch b/abs/extra/postgresql-libs/build.patch new file mode 100644 index 0000000..c8f665d --- /dev/null +++ b/abs/extra/postgresql-libs/build.patch @@ -0,0 +1,11 @@ +diff -Naur postgresql-8.2.3-orig/src/Makefile postgresql-8.2.3/src/Makefile +--- postgresql-8.2.3-orig/src/Makefile 2006-06-22 16:50:35.000000000 -0700 ++++ postgresql-8.2.3/src/Makefile 2007-03-05 10:46:24.000000000 -0800 +@@ -23,7 +23,6 @@ + $(MAKE) -C bin $@ + $(MAKE) -C pl $@ + $(MAKE) -C makefiles $@ +- $(MAKE) -C test/regress $@ + + install: install-local + diff --git a/abs/extra/postgresql-libs/postgresql b/abs/extra/postgresql-libs/postgresql new file mode 100755 index 0000000..b00289e --- /dev/null +++ b/abs/extra/postgresql-libs/postgresql @@ -0,0 +1,59 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions +. /etc/conf.d/postgresql + +case "$1" in + start) + stat_busy "Starting PostgreSQL" + # initialization + if [ ! `egrep '^postgres:' /etc/group` ]; then + stat_busy "Adding postgres group" + groupadd -g 88 postgres + stat_done + fi + if [ ! `egrep '^postgres:' /etc/passwd` ]; then + stat_busy "Adding postgres user" + useradd -u 88 -g postgres -d $PGROOT -s /bin/bash postgres + [ -d $PGROOT ] && chown -R postgres.postgres $PGROOT + stat_done + fi + if [ ! -d $PGROOT ]; then + mkdir -p $PGROOT/data && chown -R postgres.postgres $PGROOT + su - postgres -c "/usr/bin/initdb $INITOPTS -D $PGROOT/data" + fi + if [ ! -e /var/log/postgresql.log ]; then + touch /var/log/postgresql.log + chown postgres /var/log/postgresql.log + fi + # start the process + su - postgres -c \ + "/usr/bin/pg_ctl -D $PGROOT/data -l /var/log/postgresql.log -W start" + if [ $? -gt 0 ]; then + stat_fail + else + add_daemon postgresql + stat_done + fi + ;; + stop) + stat_busy "Stopping PostgreSQL" + su - postgres -c \ + "/usr/bin/pg_ctl -D $PGROOT/data -l /var/log/postgresql.log -w stop" + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon postgresql + stat_done + fi + ;; + restart) + $0 stop + sleep 3 + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0 diff --git a/abs/extra/postgresql-libs/postgresql.confd b/abs/extra/postgresql-libs/postgresql.confd new file mode 100644 index 0000000..5f8fa03 --- /dev/null +++ b/abs/extra/postgresql-libs/postgresql.confd @@ -0,0 +1,5 @@ +# +# Parameters to be passed to postgresql +# +PGROOT="/var/lib/postgres" +INITOPTS="--locale $LANG" diff --git a/abs/extra/postgresql-libs/postgresql.logrotate b/abs/extra/postgresql-libs/postgresql.logrotate new file mode 100644 index 0000000..9c36918 --- /dev/null +++ b/abs/extra/postgresql-libs/postgresql.logrotate @@ -0,0 +1,4 @@ +/var/log/postgresql.log { + copytruncate + missingok +} diff --git a/abs/extra/postgresql-libs/postgresql.pam b/abs/extra/postgresql-libs/postgresql.pam new file mode 100644 index 0000000..53724d1 --- /dev/null +++ b/abs/extra/postgresql-libs/postgresql.pam @@ -0,0 +1,3 @@ +auth required pam_unix.so +account required pam_unix.so +session required pam_unix.so diff --git a/abs/extra/postgresql/PKGBUILD b/abs/extra/postgresql/PKGBUILD index 1fda9a4..14ba9f8 100644 --- a/abs/extra/postgresql/PKGBUILD +++ b/abs/extra/postgresql/PKGBUILD @@ -1,79 +1,136 @@ -# $Id: PKGBUILD 27762 2009-02-25 16:29:49Z douglas $ -# Maintainer: Paul Mattal - -pkgname=postgresql -pkgver=8.3.6 -pkgrel=1 -pkgdesc="A sophisticated object-relational DBMS" -arch=(i686 x86_64) +# $Id: PKGBUILD 98184 2010-11-04 14:55:39Z dan $ +# Maintainer: Douglas Soares de Andrade + +pkgbase=postgresql +pkgname=('postgresql-libs' 'postgresql-docs' 'postgresql') +pkgver=9.0.1 +pkgrel=2.1 +arch=('i686' 'x86_64') +url="http://www.postgresql.org" license=('BSD') -backup=('etc/conf.d/postgresql' '/etc/pam.d/postgresql') -url="http://www.postgresql.org/" -depends=("postgresql-libs>=$pkgver" "libxml2") -options=('!makeflags') +makedepends=('libxml2' 'python2' 'perl') source=(ftp://ftp.postgresql.org/pub/source/v${pkgver}/postgresql-${pkgver}.tar.bz2 \ - postgresql postgresql.confd build.patch postgresql.pam) + postgresql postgresql.confd build.patch postgresql.pam postgresql.logrotate) build() { - cd ${startdir}/src/$pkgname-$pkgver || return 1 + cd "${srcdir}/${pkgbase}-${pkgver}" # patch to remove regress/test make target (won't build with it present) - patch -Np1 -i ../build.patch || return 1 + patch -Np1 -i ../build.patch # configure - ./configure --prefix=/usr --mandir=/usr/share/man \ - --with-docdir=/usr/share/doc --with-openssl \ - --datadir=/usr/share/postgresql --with-pam --with-libxml || return 1 + ./configure --prefix=/usr --mandir=/usr/share/man --with-libxml \ + --with-openssl --with-perl \ + --with-python PYTHON=/usr/bin/python2 --with-pam \ + --with-system-tzdata=/usr/share/zoneinfo --enable-nls \ + --datadir=/usr/share/postgresql --enable-thread-safety - sed -i -e '/interfaces/d' src/Makefile || return 1 + sed -i -e '/interfaces/d' src/Makefile # build - make || return 1 + make world + + # build libs + for dir in src/interfaces src/bin/pg_config; do + pushd ${dir} + make + popd + done +} - # install - make DESTDIR=${startdir}/pkg install || return 1 +package_postgresql-libs() { + pkgdesc="Libraries for use with PostgreSQL" + depends=('openssl>=1.0.0') - ( - cd contrib/adminpack; - make || return 1; - make DESTDIR=${startdir}/pkg install || return 1; - ); + cd "${srcdir}/${pkgbase}-${pkgver}" + # install license + install -D -m644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - # clean up unneeded installed items - rm -rf $startdir/pkg/usr/include/postgresql/internal || return 1 - rm -rf $startdir/pkg/usr/include/libpq || return 1 - # the below line is expected to produce an error; fix this one day - rm -f $startdir/pkg/usr/include/* - rm -f $startdir/pkg/usr/bin/pg_config || return 1 - - # Maintaining the lib below because of qt - #rm -f $startdir/pkg/usr/lib/libpgport.a || return 1 + # install libs + for dir in src/interfaces src/bin/pg_config; do + pushd ${dir} + make DESTDIR="${pkgdir}" install + popd + done - # install launch script - install -D -m755 ../postgresql $startdir/pkg/etc/rc.d/postgresql \ - || return 1 + install -D -m644 doc/src/sgml/man1/pg_config.1 "${pkgdir}/usr/share/man/man1/pg_config.1" + + cd src/include + + mkdir -p "${pkgdir}"/usr/include/{libpq,postgresql/internal/libpq} + + # these headers are needed by the public headers of the interfaces + install -m644 pg_config.h "${pkgdir}/usr/include/" + install -m644 pg_config_os.h "${pkgdir}/usr/include/" + install -m644 postgres_ext.h "${pkgdir}/usr/include/" + install -m644 libpq/libpq-fs.h "${pkgdir}/usr/include/libpq/" + install -m644 pg_config_manual.h "${pkgdir}/usr/include/" + + # these headers are needed by the not-so-public headers of the interfaces + install -m644 c.h "${pkgdir}/usr/include/postgresql/internal/" + install -m644 port.h "${pkgdir}/usr/include/postgresql/internal/" + install -m644 postgres_fe.h "${pkgdir}/usr/include/postgresql/internal/" + install -m644 libpq/pqcomm.h "${pkgdir}/usr/include/postgresql/internal/libpq/" +} + +package_postgresql-docs() { + pkgdesc="HTML documentation for PostgreSQL" + options=(docs) + + cd "${srcdir}/${pkgbase}-${pkgver}" # install license - install -D -m644 COPYRIGHT $startdir/pkg/usr/share/licenses/$pkgname/LICENSE || return 1 + install -D -m644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + + make -C doc/src/sgml DESTDIR="${pkgdir}" install-html + chown -R root:root "${pkgdir}/usr/share/doc/postgresql/html/" +} + +package_postgresql() { + pkgdesc="A sophisticated object-relational DBMS" + backup=('etc/conf.d/postgresql' 'etc/pam.d/postgresql' 'etc/logrotate.d/postgresql') + depends=("postgresql-libs>=${pkgver}" 'libxml2' 'readline>=6.0') + optdepends=('python2: for PL/Python support' + 'perl: for PL/Perl support') + provides=('postgresql-client') + conflicts=('postgresql-client') + + cd "${srcdir}/${pkgbase}-${pkgver}" + + # install + make DESTDIR="${pkgdir}" install + make -C contrib DESTDIR="${pkgdir}" install + make -C doc/src/sgml DESTDIR="${pkgdir}" install-man + # we don't want this, it is in the -libs package + make -C src/bin/pg_config DESTDIR="${pkgdir}" uninstall + rm "${pkgdir}/usr/share/man/man1/pg_config.1" + + # install license + install -D -m644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgbase}/LICENSE" + + # clean up unneeded installed items + rm -rf "${pkgdir}/usr/include/postgresql/internal" + rm -rf "${pkgdir}/usr/include/libpq" + find "${pkgdir}/usr/include" -maxdepth 1 -type f -execdir rm {} + + + # install launch script + install -D -m755 "${srcdir}/postgresql" "${pkgdir}/etc/rc.d/postgresql" # install conf file - install -D -m644 $startdir/src/postgresql.confd \ - $startdir/pkg/etc/conf.d/postgresql || return 1 + install -D -m644 ${srcdir}/postgresql.confd \ + "${pkgdir}/etc/conf.d/postgresql" - install -D -m644 $startdir/src/postgresql.pam \ - $startdir/pkg/etc/pam.d/postgresql + install -D -m644 ${srcdir}/postgresql.pam \ + "${pkgdir}/etc/pam.d/postgresql" - chown root:root $startdir/pkg/usr/share/doc/postgresql/html/* + install -D -m644 ${srcdir}/postgresql.logrotate \ + "${pkgdir}/etc/logrotate.d/postgresql" } -md5sums=('4f8c67d802bd03b5b844e268bba7d44a' - '7d8ea2abb6a8cdacf35604bda659a34a' - 'df6ddf9e2ab4700a3415f17c0f4f4172' - '4d74f4227dc5e12bf95b3490758d86c9' - '96f82c38f3f540b53f3e5144900acf17') -md5sums=('4f8c67d802bd03b5b844e268bba7d44a' - '7d8ea2abb6a8cdacf35604bda659a34a' - 'df6ddf9e2ab4700a3415f17c0f4f4172' +md5sums=('57ba57e43cfe29e16dacbf5789be98d1' + '4153ac0ef4a77e709385b0a13e1c0fad' + 'd63a05943cf0a2726aa2070f3033c569' '4d74f4227dc5e12bf95b3490758d86c9' - '96f82c38f3f540b53f3e5144900acf17') + '96f82c38f3f540b53f3e5144900acf17' + 'd28e443f9f65a5712c52018b84e27137') diff --git a/abs/extra/postgresql/postgresql b/abs/extra/postgresql/postgresql index c6aedfb..b00289e 100755 --- a/abs/extra/postgresql/postgresql +++ b/abs/extra/postgresql/postgresql @@ -20,8 +20,8 @@ case "$1" in stat_done fi if [ ! -d $PGROOT ]; then - mkdir -p $PGROOT/data && chown postgres.postgres $PGROOT/data - su - postgres -c "/usr/bin/initdb -D $PGROOT/data" + mkdir -p $PGROOT/data && chown -R postgres.postgres $PGROOT + su - postgres -c "/usr/bin/initdb $INITOPTS -D $PGROOT/data" fi if [ ! -e /var/log/postgresql.log ]; then touch /var/log/postgresql.log diff --git a/abs/extra/postgresql/postgresql.confd b/abs/extra/postgresql/postgresql.confd index 7bbf016..5f8fa03 100644 --- a/abs/extra/postgresql/postgresql.confd +++ b/abs/extra/postgresql/postgresql.confd @@ -1,4 +1,5 @@ # # Parameters to be passed to postgresql # -PGROOT="/var/lib/postgres" \ No newline at end of file +PGROOT="/var/lib/postgres" +INITOPTS="--locale $LANG" diff --git a/abs/extra/postgresql/postgresql.logrotate b/abs/extra/postgresql/postgresql.logrotate new file mode 100644 index 0000000..9c36918 --- /dev/null +++ b/abs/extra/postgresql/postgresql.logrotate @@ -0,0 +1,4 @@ +/var/log/postgresql.log { + copytruncate + missingok +} -- cgit v0.12 From 1bc83bd99f473ad5cb9ba36795ccfc8c7e3bf63b Mon Sep 17 00:00:00 2001 From: Michael Hanson Date: Fri, 5 Nov 2010 02:54:26 +0000 Subject: qt: upgrade to 4.7.0 --- abs/core/qt/.qmake.vars | 6 +++ abs/core/qt/PKGBUILD | 56 +++++++++++++--------- abs/core/qt/__changelog | 2 + abs/core/qt/ca-certificates.patch | 25 ---------- abs/core/qt/fix-multisampling-with-ati-card.patch | 25 ++++++++++ .../qt/fix-scroll-when-last-item-is-removed.patch | 38 +++++++++++++++ .../qt/qt-webkit-4.6.3-flash-plugin-segfault.patch | 43 ----------------- 7 files changed, 104 insertions(+), 91 deletions(-) create mode 100644 abs/core/qt/.qmake.vars delete mode 100644 abs/core/qt/ca-certificates.patch create mode 100644 abs/core/qt/fix-multisampling-with-ati-card.patch create mode 100644 abs/core/qt/fix-scroll-when-last-item-is-removed.patch delete mode 100644 abs/core/qt/qt-webkit-4.6.3-flash-plugin-segfault.patch diff --git a/abs/core/qt/.qmake.vars b/abs/core/qt/.qmake.vars new file mode 100644 index 0000000..74936a5 --- /dev/null +++ b/abs/core/qt/.qmake.vars @@ -0,0 +1,6 @@ +styles += cde mac motif plastique cleanlooks windows +decorations += default windows styled +mouse-drivers += pc +gfx-drivers += linuxfb +mouse-drivers += linuxtp +kbd-drivers += tty diff --git a/abs/core/qt/PKGBUILD b/abs/core/qt/PKGBUILD index 75e4737..e1ee827 100644 --- a/abs/core/qt/PKGBUILD +++ b/abs/core/qt/PKGBUILD @@ -1,23 +1,31 @@ -# $Id: PKGBUILD 82062 2010-06-08 11:58:32Z pierre $ -# Maintainer: Pierre Schmitz +# $Id: PKGBUILD 94734 2010-10-10 14:30:15Z andrea $ +# Maintainer: Andrea Scarpino +# Contributor: Pierre Schmitz pkgname=qt -pkgver=4.6.3 -pkgrel=2 +pkgver=4.7.0 +pkgrel=4 pkgdesc='A cross-platform application and UI framework' arch=('i686' 'x86_64') url='http://qt.nokia.com/' license=('GPL3' 'LGPL') -depends=('libpng' 'fontconfig' 'libtiff' 'libmng' 'sqlite3' 'xdg-utils' 'ca-certificates' - 'hicolor-icon-theme' 'alsa-lib' 'glib2' 'dbus' 'libxrender' 'libgl' 'libsm') -optdepends=('postgresql-libs' 'libmysqlclient' 'unixodbc') -makedepends=('mesa' 'inputproto' 'postgresql-libs' 'mysql' 'unixodbc' 'libxfixes' 'gtk2') -install=qt.install +depends=('libtiff' 'libpng' 'libmng' 'sqlite3' 'ca-certificates' 'glib2' 'dbus' + 'fontconfig' 'libgl' 'libsm' 'libxrandr' 'libxv' 'libxi' 'alsa-lib' + 'xdg-utils' 'hicolor-icon-theme') +optdepends=('postgresql-libs: PostgreSQL driver' + 'libmysqlclient: MySQL driver' + 'unixodbc: ODBC driver' + 'libxinerama: Xinerama support' + 'libxcursor: Xcursor support' + 'libxfixes: Xfixes support') +makedepends=('mesa' 'postgresql-libs' 'mysql' 'unixodbc' 'gtk2') +install="${pkgname}.install" options=('!libtool') _pkgfqn="qt-everywhere-opensource-src-${pkgver}" source=("ftp://ftp.qt.nokia.com/qt/source/${_pkgfqn}.tar.gz" 'assistant.desktop' 'designer.desktop' 'linguist.desktop' 'qtconfig.desktop' - 'ca-certificates.patch' 'qt-webkit-4.6.3-flash-plugin-segfault.patch') + 'fix-scroll-when-last-item-is-removed.patch' + 'fix-multisampling-with-ati-card.patch') build() { unset QMAKESPEC @@ -27,22 +35,22 @@ build() { cd $srcdir/$_pkgfqn - # see http://cvs.fedoraproject.org/viewvc/rpms/qt/devel/ - # use system ssl cert bundle - patch -p1 -i $srcdir/ca-certificates.patch || return 1 - patch -p0 < $srcdir/qt-webkit-4.6.3-flash-plugin-segfault.patch || return 1 + # Already fixed in 4.7.1 + patch -Np1 -i ${srcdir}/fix-scroll-when-last-item-is-removed.patch + patch -Np1 -i ${srcdir}/fix-multisampling-with-ati-card.patch sed -i "s|-O2|$CXXFLAGS|" mkspecs/common/g++.conf sed -i "/^QMAKE_RPATH/s| -Wl,-rpath,||g" mkspecs/common/g++.conf sed -i "/^QMAKE_LFLAGS\s/s|+=|+= $LDFLAGS|g" mkspecs/common/g++.conf - ./configure -confirm-license -opensource \ + ./configure -v -confirm-license -opensource \ -prefix /usr \ - -sysconfdir /etc \ + -docdir /usr/share/doc/qt \ -plugindir /usr/lib/qt/plugins \ - -translationdir /usr/share/qt/translations \ + -importdir /usr/lib/qt/imports \ -datadir /usr/share/qt \ - -docdir /usr/share/doc/qt \ + -translationdir /usr/share/qt/translations \ + -sysconfdir /etc \ -examplesdir /usr/share/doc/qt/examples \ -demosdir /usr/share/doc/qt/demos \ -largefile \ @@ -53,22 +61,24 @@ build() { -no-phonon-backend \ -svg \ -webkit \ + -script \ -scripttools \ -system-zlib \ -system-libtiff \ -system-libpng \ -system-libmng \ -system-libjpeg \ - -openssl-linked \ -nomake demos \ -nomake examples \ -nomake docs \ -no-rpath \ + -no-cups \ + -openssl-linked \ -silent \ -optimized-qmake \ -dbus \ - -no-separate-debug-info \ -reduce-relocations \ + -no-separate-debug-info \ -gtkstyle \ -opengl \ -no-openvg \ @@ -101,10 +111,10 @@ package() { find ${pkgdir}/usr/lib -type f -name '*.prl' \ -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d;s/\(QMAKE_PRL_LIBS =\).*/\1/' {} \; } -md5sums=('5c69f16d452b0bb3d44bc3c10556c072' +md5sums=('3a2f25b9b115037277f4fb759194a7a5' 'a445c6917086d80f1cfc1e40cb6b0132' 'd457f0a0ad68a3861c3cadefe3b42ded' '668331d9798a0e2b94381efb7be4c513' 'c29f2993d6a0f73d756d2fa36e130e1c' - 'd5c4cad7af93f1d736d4569a207bd739' - '17382f5532888268bb50d1ab47e5fa19') + 'ef20c34afc5be5ed62f2935be66d9402' + 'b2e0f134bbb848ebef41134a45a36ee9') diff --git a/abs/core/qt/__changelog b/abs/core/qt/__changelog index 86af276..d92474d 100644 --- a/abs/core/qt/__changelog +++ b/abs/core/qt/__changelog @@ -1,2 +1,4 @@ remove cups support added QtWebKit_Flash.patch to fix crash with Flash 10.1 and webkit browsers like mythbrowser. http://trac.webkit.org/changeset/61307 This shouldn't be needed in qt versions 4.6.4 or later. + +upgrade to 4.7.0 diff --git a/abs/core/qt/ca-certificates.patch b/abs/core/qt/ca-certificates.patch deleted file mode 100644 index 02ebbad..0000000 --- a/abs/core/qt/ca-certificates.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff -up qt-x11-opensource-src-4.5.3/src/network/ssl/qsslsocket_openssl.cpp.system_ca_certificates qt-x11-opensource-src-4.5.3/src/network/ssl/qsslsocket_openssl.cpp ---- qt-x11-opensource-src-4.5.3/src/network/ssl/qsslsocket_openssl.cpp.system_ca_certificates 2009-09-29 06:01:38.000000000 -0500 -+++ qt-x11-opensource-src-4.5.3/src/network/ssl/qsslsocket_openssl.cpp 2009-10-02 11:20:10.674662746 -0500 -@@ -482,8 +482,20 @@ void QSslSocketPrivate::resetDefaultCiph - - QList QSslSocketPrivate::systemCaCertificates() - { -+ -+ QFile caBundle; -+ -+#ifdef Q_OS_UNIX -+ // Check known locations for the system's default bundle. ### On Windows, -+ // we should use CAPI to find the bundle, and not rely on default unix -+ // locations. -+ caBundle.setFileName(QLatin1String("/etc/ssl/certs/ca-certificates.crt")); -+ if (caBundle.open(QIODevice::ReadOnly | QIODevice::Text)) -+ return QSslCertificate::fromDevice(&caBundle); -+#endif -+ - // Qt provides a default bundle of certificates -- QFile caBundle(QLatin1String(":/trolltech/network/ssl/qt-ca-bundle.crt")); -+ caBundle.setFileName(QLatin1String(":/trolltech/network/ssl/qt-ca-bundle.crt")); - if (caBundle.open(QIODevice::ReadOnly | QIODevice::Text)) - return QSslCertificate::fromDevice(&caBundle); - diff --git a/abs/core/qt/fix-multisampling-with-ati-card.patch b/abs/core/qt/fix-multisampling-with-ati-card.patch new file mode 100644 index 0000000..c215c2c --- /dev/null +++ b/abs/core/qt/fix-multisampling-with-ati-card.patch @@ -0,0 +1,25 @@ +From e48e50c460434c451c67403390d98f7418c77cce Mon Sep 17 00:00:00 2001 +From: Jonathan Liu +Date: Wed, 25 Aug 2010 14:07:40 +1000 +Subject: [PATCH] Fix OpenGL multisampling for some graphics drivers + +--- + src/opengl/qgl_win.cpp | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/src/opengl/qgl_win.cpp b/src/opengl/qgl_win.cpp +index 5ab944a..8eb6177 100644 +--- a/src/opengl/qgl_win.cpp ++++ b/src/opengl/qgl_win.cpp +@@ -1042,7 +1042,7 @@ int QGLContext::choosePixelFormat(void* dummyPfd, HDC pdc) + iAttributes[i++] = WGL_DRAW_TO_WINDOW_ARB; + iAttributes[i++] = TRUE; + iAttributes[i++] = WGL_COLOR_BITS_ARB; +- iAttributes[i++] = 32; ++ iAttributes[i++] = 24; + iAttributes[i++] = WGL_DOUBLE_BUFFER_ARB; + iAttributes[i++] = d->glFormat.doubleBuffer(); + if (d->glFormat.stereo()) { +-- +1.7.2.1 + diff --git a/abs/core/qt/fix-scroll-when-last-item-is-removed.patch b/abs/core/qt/fix-scroll-when-last-item-is-removed.patch new file mode 100644 index 0000000..8656702 --- /dev/null +++ b/abs/core/qt/fix-scroll-when-last-item-is-removed.patch @@ -0,0 +1,38 @@ +From 6da6b7099d4e0b49329793e4b90703ec3d868048 Mon Sep 17 00:00:00 2001 +From: Frank Reininghaus +Date: Wed, 22 Sep 2010 10:19:59 +0200 +Subject: [PATCH] QTreeView: do not scroll to top if last item is removed + +When the last item is the current item and is removed, +QTreeViewPrivate::updateScrollBars() is called after QTreeViewPrivate's +viewItems member is cleared. This commit makes sure that viewItems is +restored by calling QTreeView::doItemsLayout() in this case, preventing +that the scroll bar range is set to zero temporarily and the view is +scrolled to the top unexpectedly (this was a regression in 4.7.0: +QTBUG-13567). + +Merge-request: 2481 +Reviewed-by: Olivier Goffart +--- + src/gui/itemviews/qtreeview.cpp | 4 ++++ + tests/auto/qtreeview/tst_qtreeview.cpp | 22 ++++++++++++++++++++++ + 2 files changed, 26 insertions(+), 0 deletions(-) + +diff --git a/src/gui/itemviews/qtreeview.cpp b/src/gui/itemviews/qtreeview.cpp +index b797776..40b51fe 100644 +--- a/src/gui/itemviews/qtreeview.cpp ++++ b/src/gui/itemviews/qtreeview.cpp +@@ -3435,6 +3435,10 @@ void QTreeViewPrivate::updateScrollBars() + if (!viewportSize.isValid()) + viewportSize = QSize(0, 0); + ++ if (viewItems.isEmpty()) { ++ q->doItemsLayout(); ++ } ++ + int itemsInViewport = 0; + if (uniformRowHeights) { + if (defaultItemHeight <= 0) +-- +1.6.1 + diff --git a/abs/core/qt/qt-webkit-4.6.3-flash-plugin-segfault.patch b/abs/core/qt/qt-webkit-4.6.3-flash-plugin-segfault.patch deleted file mode 100644 index 6fc87ca..0000000 --- a/abs/core/qt/qt-webkit-4.6.3-flash-plugin-segfault.patch +++ /dev/null @@ -1,43 +0,0 @@ -This patch fixes WebKit Bug 40567: [Qt] QtWebKit crashes while initializing -flash plugin 10.1.53.64... -https://bugs.webkit.org/show_bug.cgi?id=40567 - ---- src/3rdparty/webkit/WebCore/plugins/qt/PluginPackageQt.cpp -+++ src/3rdparty/webkit/WebCore/plugins/qt/PluginPackageQt.cpp -@@ -35,4 +35,6 @@ - - namespace WebCore { -+ -+typedef void gtkInitFunc(int *argc, char ***argv); - - bool PluginPackage::fetchInfo() -@@ -110,4 +112,5 @@ - NP_InitializeFuncPtr NP_Initialize; - NPError npErr; -+ gtkInitFunc* gtkInit; - - NP_Initialize = (NP_InitializeFuncPtr)m_module->resolve("NP_Initialize"); -@@ -126,4 +129,24 @@ - // It does so in NP_Initialize with a null instance, therefore it is done this way: - m_browserFuncs.getvalue = staticPluginQuirkRequiresGtkToolKit_NPN_GetValue; -+ } -+ -+ // WORKAROUND: Prevent gtk based plugin crashes such as BR# 40567 by -+ // explicitly forcing the initializing of Gtk, i.e. calling gtk_init, -+ // whenver the symbol is present in the plugin library loaded above. -+ // Note that this workaround is based on code from the NSPluginClass ctor -+ // in KDE's kdebase/apps/nsplugins/viewer/nsplugin.cpp file. -+ gtkInit = (gtkInitFunc*)m_module->resolve("gtk_init"); -+ if (gtkInit) { -+ // Prevent gtk_init() from replacing the X error handlers, since the Gtk -+ // handlers abort when they receive an X error, thus killing the viewer. -+#ifdef Q_WS_X11 -+ int (*old_error_handler)(Display*, XErrorEvent*) = XSetErrorHandler(0); -+ int (*old_io_error_handler)(Display*) = XSetIOErrorHandler(0); -+#endif -+ gtkInit(0, 0); -+#ifdef Q_WS_X11 -+ XSetErrorHandler(old_error_handler); -+ XSetIOErrorHandler(old_io_error_handler); -+#endif - } -- cgit v0.12 From 4eca038debb1857f60b5a096f5484bb46bacfffe Mon Sep 17 00:00:00 2001 From: Michael Hanson Date: Sat, 6 Nov 2010 03:43:46 +0000 Subject: perl-time-hires: initial include --- abs/extra/perl-time-hires/PKGBUILD | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 abs/extra/perl-time-hires/PKGBUILD diff --git a/abs/extra/perl-time-hires/PKGBUILD b/abs/extra/perl-time-hires/PKGBUILD new file mode 100644 index 0000000..2e01636 --- /dev/null +++ b/abs/extra/perl-time-hires/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: PKGBUILD 82203 2010-06-09 09:42:03Z jgc $ +# Maintainer: Giovanni Scafora +# Contributor: mezcal + +pkgname=perl-time-hires +pkgver=1.9721 +pkgrel=2 +pkgdesc="Perl module: high resolution time, sleep, and alarm" +arch=('i686' 'x86_64') +license=('PerlArtistic') +url="http://search.cpan.org/dist/Time-HiRes/" +depends=('perl') +options=(!emptydirs) +source=(http://search.cpan.org/CPAN/authors/id/J/JH/JHI/Time-HiRes-${pkgver}.tar.gz) +md5sums=('bf09911a36b9481537c8e0d28fbb3aaf') + +build() { + cd "${srcdir}/Time-HiRes-${pkgver}" + + # install module in vendor directories. + perl Makefile.PL INSTALLDIRS=vendor || return 1 + make || return 1 + make test || return 1 + make install DESTDIR="${pkgdir}" || return 1 +} + -- cgit v0.12 From 5a04c12e361286dfb06158729ef40f47b71e1b53 Mon Sep 17 00:00:00 2001 From: Michael Hanson Date: Sat, 6 Nov 2010 03:44:26 +0000 Subject: libcrystalhd-git: initial include --- abs/extra/libcrystalhd-git/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 abs/extra/libcrystalhd-git/PKGBUILD diff --git a/abs/extra/libcrystalhd-git/PKGBUILD b/abs/extra/libcrystalhd-git/PKGBUILD new file mode 100644 index 0000000..27d8fff --- /dev/null +++ b/abs/extra/libcrystalhd-git/PKGBUILD @@ -0,0 +1,35 @@ +# Contributor: Petteri Tolonen +pkgname=libcrystalhd-git +pkgver=`date +%Y%m%d` +pkgrel=1 +pkgdesc="Broadcom Crystal HD library from git.wilsonet.com" +arch=('i686' 'x86_64') +url="http://git.wilsonet.com/crystalhd.git/" +license=('GPL2') +depends=('gcc-libs') +makedepends=('git' 'make') +conflicts=('libcrystalhd') + +_gitroot='git://git.wilsonet.com/crystalhd.git' +_gitname='crystalhd' + +build() { + + cd $startdir/src + + msg "Connecting to git.wilsonet.com GIT server...." + + if [ -d $startdir/src/$_gitname ] ; then + cd $_gitname && git pull origin + msg "The local files are updated." + else + git clone $_gitroot + cd $_gitname + fi + + cd linux_lib/libcrystalhd + + make || return 1 + make install DESTDIR=$pkgdir || return 1 + +} -- cgit v0.12 From 287bc91078f4907a2b3c43cec14d8a2b7245da58 Mon Sep 17 00:00:00 2001 From: Michael Hanson Date: Sat, 6 Nov 2010 03:44:53 +0000 Subject: crystalhd-git: initial include --- abs/extra/crystalhd-git/PKGBUILD | 44 +++++++++++++++++++++++++++ abs/extra/crystalhd-git/crystalhd-git.install | 6 ++++ 2 files changed, 50 insertions(+) create mode 100644 abs/extra/crystalhd-git/PKGBUILD create mode 100644 abs/extra/crystalhd-git/crystalhd-git.install diff --git a/abs/extra/crystalhd-git/PKGBUILD b/abs/extra/crystalhd-git/PKGBUILD new file mode 100644 index 0000000..538c0ae --- /dev/null +++ b/abs/extra/crystalhd-git/PKGBUILD @@ -0,0 +1,44 @@ +# Contributor: Petteri Tolonen +# Maintainer: Petteri Tolonen + +pkgname=crystalhd-git +pkgver=`date +%Y%m%d` +pkgrel=1 +pkgdesc="Broadcom Crystal HD kernel module from git.wilsonet.com" +arch=('i686' 'x86_64') +url="http://git.wilsonet.com/crystalhd.git/" +license=('GPL2') +depends=() +makedepends=('autoconf' 'kernel26-headers>=2.6.32.9' 'make' 'git') +conflicts=('crystalhd') +install='crystalhd-git.install' +_gitroot='git://git.wilsonet.com/crystalhd.git' +_gitname='crystalhd' + +build() { + + cd $startdir/src + + msg "Connecting to git.wilsonet.com GIT server...." + + if [ -d $startdir/src/$_gitname ] ; then + cd $_gitname && git pull origin + msg "The local files are updated." + else + git clone $_gitroot + cd $_gitname + fi + + cd driver/linux + + autoconf + ./configure --prefix=/usr + make KDIR=/lib/modules/2.6.34-LinHES/build || return 1 + mkdir -p $pkgdir/etc/udev/rules.d + mkdir -p $pkgdir/lib/modules/$(uname -r)/kernel/drivers/video/broadcom + + cp -f 20-crystalhd.rules $pkgdir/etc/udev/rules.d/ + install -d $pkgdir/lib/modules/$(uname -r)/kernel/drivers/video/broadcom + install -m 0644 crystalhd.ko $pkgdir/lib/modules/$(uname -r)/kernel/drivers/video/broadcom + +} diff --git a/abs/extra/crystalhd-git/crystalhd-git.install b/abs/extra/crystalhd-git/crystalhd-git.install new file mode 100644 index 0000000..077905e --- /dev/null +++ b/abs/extra/crystalhd-git/crystalhd-git.install @@ -0,0 +1,6 @@ +post_install () { + depmod -a +} +post_upgrade() { + post_install +} -- cgit v0.12 From fb30f30c19daaa05638b82ee312485b40289ded7 Mon Sep 17 00:00:00 2001 From: Michael Hanson Date: Sat, 6 Nov 2010 03:45:14 +0000 Subject: crystalhd-firmware: inital include --- abs/extra/crystalhd-firmware/PKGBUILD | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 abs/extra/crystalhd-firmware/PKGBUILD diff --git a/abs/extra/crystalhd-firmware/PKGBUILD b/abs/extra/crystalhd-firmware/PKGBUILD new file mode 100644 index 0000000..6fcff54 --- /dev/null +++ b/abs/extra/crystalhd-firmware/PKGBUILD @@ -0,0 +1,24 @@ +# Contributor: Lex Rivera +pkgname=crystalhd-firmware +pkgver=20100703 +_intver=07032010 +pkgrel=1 +pkgdesc="Broadcom Crystal HD firmware" +arch=('i686' 'x86_64') +url="http://git.wilsonet.com/crystalhd.git/" +license=('GPL2') +source=("http://www.broadcom.com/docs/support/crystalhd/crystalhd_linux_${pkgver}.zip") + +md5sums=('f14c0e418b36ea14f8d25f9a7d6f7507') + +build() { + tar zxf crystalhd_${_intver}.tbz2 + cd $srcdir/${_intver}/linux_lib/libcrystalhd/ + msg "Building..." + #./configure + make + make DESTDIR=${pkgdir} install + rm -rf ${pkgdir}/usr + +} +# vim:syntax=sh -- cgit v0.12 From 686ed2c93de3349ed9a366fe2eeca2c3d5e348af Mon Sep 17 00:00:00 2001 From: Michael Hanson Date: Sat, 6 Nov 2010 03:45:44 +0000 Subject: python-imaging: inital include --- abs/extra/python-imaging/PKGBUILD | 40 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 abs/extra/python-imaging/PKGBUILD diff --git a/abs/extra/python-imaging/PKGBUILD b/abs/extra/python-imaging/PKGBUILD new file mode 100644 index 0000000..e469a94 --- /dev/null +++ b/abs/extra/python-imaging/PKGBUILD @@ -0,0 +1,40 @@ +# $Id: PKGBUILD 87626 2010-08-17 13:21:07Z allan $ +# Maintainer: Allan McRae +# Contributor: simo + +pkgname=python-imaging +pkgver=1.1.7 +pkgrel=2 +pkgdesc="PIL. Provides image processing capabilities for python" +arch=('i686' 'x86_64') +url="http://www.pythonware.com/products/pil/index.htm" +license=('custom:"pil"') +depends=('python2' 'libjpeg' 'freetype2') +makedepends=('tk') +optdepends=('tk') +provides=("pil=$pkgver") +conflicts=('pil') +replaces=('pil') +source=(http://effbot.org/downloads/Imaging-$pkgver.tar.gz) +md5sums=('fc14a54e1ce02a0225be8854bfba478e') + +build() { + cd $srcdir/Imaging-$pkgver + python2 setup.py build_ext +} + +package() { + cd $srcdir/Imaging-$pkgver + python2 setup.py install --root=$pkgdir + install -dm755 $pkgdir/usr/include/python2.7/ + install -m644 -t $pkgdir/usr/include/python2.7/ libImaging/*.h + + # do not have files ending in .py in /usr/bin + for f in pildriver pilprint pilconvert pilfile pilfont; do + mv $pkgdir/usr/bin/$f{.py,} + done + + # Install license + install -Dm644 $srcdir/Imaging-$pkgver/README \ + $pkgdir/usr/share/licenses/$pkgname/README +} -- cgit v0.12 From 30885cc82957847909bd79855763cccf4c5b9f42 Mon Sep 17 00:00:00 2001 From: Michael Hanson Date: Sat, 6 Nov 2010 03:46:05 +0000 Subject: perl-class-inspector: initial include --- abs/extra/perl-class-inspector/PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 abs/extra/perl-class-inspector/PKGBUILD diff --git a/abs/extra/perl-class-inspector/PKGBUILD b/abs/extra/perl-class-inspector/PKGBUILD new file mode 100644 index 0000000..fd138b8 --- /dev/null +++ b/abs/extra/perl-class-inspector/PKGBUILD @@ -0,0 +1,29 @@ +#$Id:$ +pkgname=perl-class-inspector +_realname=Class-Inspector +pkgver=1.24 +pkgrel=1 +pkgdesc="'Get information about a class and its structure'" +arch=(i686 x86_64) +license=('GPL' 'Artistic') +url="http://search.cpan.org/~adamk/Class-Inspector" +options=(!emptydirs) +depends=('perl>=5.10.0') +provides=('class-inspector=1.24' 'Class::Inspector=1.24' 'perl-class-inspector=1.24' 'Class::Inspector::Functions=1.24' 'perl-class-inspector-functions=1.24') +source=(http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Class-Inspector-1.24.tar.gz) +md5sums=('609189b49f64d329a6e413e0a6d8724a') + +build() { + cd "${srcdir}/${_realname}-${pkgver}" + # install module in vendor directories. + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make + make install DESTDIR=${pkgdir} + + # remove perllocal.pod and .packlist + find ${pkgdir} -name perllocal.pod -delete + find ${pkgdir} -name .packlist -delete +} + +# vim:set ts=2 sw=2 et: + -- cgit v0.12 From ebe6272e2542b76f6cf1ba5e0277642b617001c9 Mon Sep 17 00:00:00 2001 From: Michael Hanson Date: Sat, 6 Nov 2010 03:46:33 +0000 Subject: python-oauth: initial include --- abs/extra/python-oauth/PKGBUILD | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 abs/extra/python-oauth/PKGBUILD diff --git a/abs/extra/python-oauth/PKGBUILD b/abs/extra/python-oauth/PKGBUILD new file mode 100644 index 0000000..ca5493a --- /dev/null +++ b/abs/extra/python-oauth/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: Snowknight (hopkinsth@gmail.com) +pkgname=python-oauth +pkgver=1.0.1 +pkgrel=3 +pkgdesc="An open protocol to allow API authentication in a simple and standard method from desktop and web applications." +arch=('any') +url="http://code.google.com/p/oauth/" +license=('MIT') +depends=('python2') +makedepends=('python2-distribute') +source=(http://pypi.python.org/packages/source/o/oauth/oauth-${pkgver}.tar.gz) +md5sums=('30ed3cc8c11d7841a89feab437aabf81') +sha1sums=('b2d7609e4852b33d0d33f0bc6ae5cab8fadca014') + +build() { + cd ${srcdir}/oauth-${pkgver} + + python2 setup.py build || return 1 + python2 setup.py install --root=${pkgdir} || return 1 + + install -Dm644 LICENSE.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE +} -- cgit v0.12 From 92b2699f3b2b1eaa0c9aac9d1af94f9ad3879c7e Mon Sep 17 00:00:00 2001 From: Michael Hanson Date: Sat, 6 Nov 2010 03:46:54 +0000 Subject: python2-distribute: initial include --- abs/extra/python2-distribute/PKGBUILD | 24 ++++++++++ .../distribute-0.6.14_python2_and_3.patch | 51 ++++++++++++++++++++++ 2 files changed, 75 insertions(+) create mode 100644 abs/extra/python2-distribute/PKGBUILD create mode 100644 abs/extra/python2-distribute/distribute-0.6.14_python2_and_3.patch diff --git a/abs/extra/python2-distribute/PKGBUILD b/abs/extra/python2-distribute/PKGBUILD new file mode 100644 index 0000000..5c84613 --- /dev/null +++ b/abs/extra/python2-distribute/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Stéphane Gaudreault +# Contributor: Sebastien Binet +pkgname=python2-distribute +pkgver=0.6.14 +pkgrel=2 +pkgdesc="A collection of extensions to the Python 2 distutils" +arch=('any') +license=('PSF') +url="http://packages.python.org/distribute" +depends=('python2') +conflicts=('setuptools') +replaces=('setuptools') +provides=('setuptools=0.6c11') +source=(http://pypi.python.org/packages/source/d/distribute/distribute-${pkgver}.tar.gz + distribute-${pkgver}_python2_and_3.patch) +sha1sums=('6bea50b97f36bf751548bb486a534204a690aa4d' + 'de635febfb11dc6878e5bdbac4a0e1d539c19d79') + +package() { + cd ${srcdir}/distribute-${pkgver} + patch -Np1 -i ../distribute-${pkgver}_python2_and_3.patch + python2 setup.py install --prefix=/usr --root=${pkgdir} +} +# vim: set noexpandtab tabstop=8 shiftwidth=8 textwidth=132 autoindent diff --git a/abs/extra/python2-distribute/distribute-0.6.14_python2_and_3.patch b/abs/extra/python2-distribute/distribute-0.6.14_python2_and_3.patch new file mode 100644 index 0000000..dc5da86 --- /dev/null +++ b/abs/extra/python2-distribute/distribute-0.6.14_python2_and_3.patch @@ -0,0 +1,51 @@ +diff -Naur distribute-0.6.14.ori//distribute.egg-info/entry_points.txt distribute-0.6.14/distribute.egg-info/entry_points.txt +--- distribute-0.6.14.ori//distribute.egg-info/entry_points.txt 2010-07-14 20:14:10.000000000 -0400 ++++ distribute-0.6.14/distribute.egg-info/entry_points.txt 2010-10-21 09:26:43.386667396 -0400 +@@ -31,7 +31,8 @@ + depends.txt = setuptools.command.egg_info:warn_depends_obsolete + + [console_scripts] +-easy_install = setuptools.command.easy_install:main ++easy_install-3.1 = setuptools.command.easy_install:main ++easy_install-2.7 = setuptools.command.easy_install:main + easy_install-2.6 = setuptools.command.easy_install:main + + [setuptools.file_finders] +diff -Naur distribute-0.6.14.ori//distribute_setup.py distribute-0.6.14/distribute_setup.py +--- distribute-0.6.14.ori//distribute_setup.py 2010-07-14 19:53:38.000000000 -0400 ++++ distribute-0.6.14/distribute_setup.py 2010-10-21 09:25:18.356667404 -0400 +@@ -299,8 +299,7 @@ + log.warn('Could not find the install location') + return + pyver = '%s.%s' % (sys.version_info[0], sys.version_info[1]) +- setuptools_file = 'setuptools-%s-py%s.egg-info' % \ +- (SETUPTOOLS_FAKED_VERSION, pyver) ++ setuptools_file = 'setuptools-%s.egg-info' % SETUPTOOLS_FAKED_VERSION + pkg_info = os.path.join(placeholder, setuptools_file) + if os.path.exists(pkg_info): + log.warn('%s already exists', pkg_info) +diff -Naur distribute-0.6.14.ori//setup.py distribute-0.6.14/setup.py +--- distribute-0.6.14.ori//setup.py 2010-07-14 19:53:38.000000000 -0400 ++++ distribute-0.6.14/setup.py 2010-10-21 09:32:44.850000736 -0400 +@@ -96,6 +96,8 @@ + f.close() + + ++console_scripts = ["easy_install-%s = setuptools.command.easy_install:main" % sys.version[:3]] ++ + # if we are installing Distribute using "python setup.py install" + # we need to get setuptools out of the way + def _easy_install_marker(): +@@ -182,11 +184,7 @@ + "dependency_links.txt = setuptools.command.egg_info:overwrite_arg", + ], + +- "console_scripts": [ +- "easy_install = setuptools.command.easy_install:main", +- "easy_install-%s = setuptools.command.easy_install:main" +- % sys.version[:3] +- ], ++ "console_scripts": console_scripts, + + "setuptools.file_finders": + ["svn_cvs = setuptools.command.sdist:_default_revctrl"], -- cgit v0.12 From c84f5745997b2d42062143a23c718c56e7551452 Mon Sep 17 00:00:00 2001 From: Michael Hanson Date: Sat, 6 Nov 2010 03:47:19 +0000 Subject: python-pycurl: initial include --- abs/extra/python-pycurl/PKGBUILD | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 abs/extra/python-pycurl/PKGBUILD diff --git a/abs/extra/python-pycurl/PKGBUILD b/abs/extra/python-pycurl/PKGBUILD new file mode 100644 index 0000000..710641d --- /dev/null +++ b/abs/extra/python-pycurl/PKGBUILD @@ -0,0 +1,23 @@ +# $Id: PKGBUILD 25898 2010-09-11 12:22:23Z andrea $ +# Maintainer: Sergej Pupykin +# Contributor: Angel 'angvp' Velasquez +# Contributor: kontrast + +pkgname=python-pycurl +pkgver=7.19.0 +pkgrel=5 +pkgdesc="A Python interface to libcurl" +arch=('i686' 'x86_64') +url="http://pycurl.sourceforge.net" +license=('GPL') +depends=('python2' 'curl') +replaces=('pycurl') +provides=('pycurl') +source=("http://pycurl.sourceforge.net/download/pycurl-${pkgver}.tar.gz") +md5sums=('919d58fe37e69fe87ce4534d8b6a1c7b') + +package() { + cd ${srcdir}/pycurl-${pkgver} + python2 setup.py install --curl-config=/usr/bin/curl-config --prefix ${pkgdir}/usr +} + -- cgit v0.12 From 939317a53e3cba331040f54d3600c8aa72ff7a11 Mon Sep 17 00:00:00 2001 From: Michael Hanson Date: Sat, 6 Nov 2010 03:47:37 +0000 Subject: dcraw: initial include --- abs/extra/dcraw/PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++ abs/extra/dcraw/dcraw.install | 17 +++++++++++++++++ abs/extra/dcraw/license.txt | 16 ++++++++++++++++ 3 files changed, 74 insertions(+) create mode 100644 abs/extra/dcraw/PKGBUILD create mode 100644 abs/extra/dcraw/dcraw.install create mode 100644 abs/extra/dcraw/license.txt diff --git a/abs/extra/dcraw/PKGBUILD b/abs/extra/dcraw/PKGBUILD new file mode 100644 index 0000000..8468c92 --- /dev/null +++ b/abs/extra/dcraw/PKGBUILD @@ -0,0 +1,41 @@ +# $Id: PKGBUILD 84664 2010-07-03 05:41:46Z allan $ +# Maintainer: tobias +# Contributor: Tobias Kieslich + +# Note for rebuilders: +# dcraw.c is released as pure C file, not as a package with a changing version +# number in the name. The name of the file to be downloaded is always the same! +# So if you are a bad boy (Santa knows everything!) and build as root, this file +# will be saved in /var/cache/pacman/src . Therefore, rebuilding a later version +# likely will fail due to an MD5 error. If so, delete the files from the cache +# to force a new download. + +pkgname=dcraw +pkgver=1.438 +pkgrel=1 +pkgdesc="A command line based converter for digicams raw output" +arch=('i686' 'x86_64') +url="http://www.cybercom.net/~dcoffin/dcraw/" +license=('custom') +depends=('lcms') +source=(http://www.cybercom.net/~dcoffin/${pkgname}/${pkgname}.c + http://www.cybercom.net/~dcoffin/${pkgname}/${pkgname}.1 + license.txt) + +build() { + cd "${srcdir}" + gcc -o dcraw ${CFLAGS} dcraw.c -lm -ljpeg -llcms +} + +package() { + cd "${srcdir}" + install -Dm755 ${pkgname} "${pkgdir}"/usr/bin/${pkgname} + + # install a manpage, provided separately on authors homepage + install -Dm644 ${pkgname}.1 "${pkgdir}"/usr/share/man/man1/${pkgname}.1 + + install -Dm644 license.txt "${pkgdir}"/usr/share/licenses/${pkgname}/license.txt +} +md5sums=('108f0c14a5be4d092c7ffa8460044fb3' + '6ba2a797c4ad698589f83171d6b36396' + '110b4604a6dacd5537339c4082e9e12a') diff --git a/abs/extra/dcraw/dcraw.install b/abs/extra/dcraw/dcraw.install new file mode 100644 index 0000000..0b3d1bf --- /dev/null +++ b/abs/extra/dcraw/dcraw.install @@ -0,0 +1,17 @@ +post_install() { + cat << EOF + +NOTE for drcaw: +---- + ==> dcraw provides the simple commandline tools for raw conversion. If you + ==> are looking for a more sophisticated way consider gimp-ufraw, which + ==> provides a gimp-plugin and a standalone application that can even convert + ==> to 16-bit tiff files (which you can use in cinepaint eg.) So please do a + ==> 'pacman -S gimp-ufraw' to get it. + +EOF +} + +post_upgrade() { + post_install $1 +} diff --git a/abs/extra/dcraw/license.txt b/abs/extra/dcraw/license.txt new file mode 100644 index 0000000..5803cf6 --- /dev/null +++ b/abs/extra/dcraw/license.txt @@ -0,0 +1,16 @@ +This is a command-line ANSI C program to convert raw photos from +any digital camera on any computer running any operating system. + +No license is required to download and use dcraw.c. However, +to lawfully redistribute this code, you must either (a) include +full source code* for all executable files containing RESTRICTED +functions, (b) remove all RESTRICTED functions, re-implement them, +or copy them from an earlier, unrestricted Revision of dcraw.c, +or (c) purchase a license from the author. + +The functions that process Foveon images have been RESTRICTED +since Revision 1.237. All other code remains free for all uses. + +*If you have not modified dcraw.c in any way, a link to my +homepage qualifies as "full source code". + -- cgit v0.12 From 0a3fe43e82f3632a0af35ed44a020b1444d46c5a Mon Sep 17 00:00:00 2001 From: Michael Hanson Date: Sat, 6 Nov 2010 03:48:03 +0000 Subject: perl-net-smtp-ssl: initial include --- abs/extra/perl-net-smtp-ssl/PKGBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 abs/extra/perl-net-smtp-ssl/PKGBUILD diff --git a/abs/extra/perl-net-smtp-ssl/PKGBUILD b/abs/extra/perl-net-smtp-ssl/PKGBUILD new file mode 100644 index 0000000..e4b24bb --- /dev/null +++ b/abs/extra/perl-net-smtp-ssl/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 17474 2010-05-24 13:41:50Z cbrannon $ +# Maintainer: Chris Brannon +# Contributor: Abhishek Dasgupta + +pkgname=perl-net-smtp-ssl +pkgver=1.01 +pkgrel=2 +pkgdesc="SSL support for Net::SMTP" +arch=(any) +url="http://search.cpan.org/dist/Net-SMTP-SSL/" +license=('GPL' 'PerlArtistic') +depends=('perl-io-socket-ssl') +source=("http://www.cpan.org/authors/id/C/CW/CWEST/Net-SMTP-SSL-${pkgver}.tar.gz") +options=(!emptydirs) + +build() { + cd "${srcdir}/Net-SMTP-SSL-${pkgver}" + # Install module into the vendor directories. + perl Makefile.PL INSTALLDIRS=vendor || return 1 + make || return 1 + make DESTDIR="$pkgdir" install || return 1 + + # Remove .packlist and perllocal.pod files. + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name 'perllocal.pod' -delete +} +md5sums=('ba039288ebf7a343feecacd374da8c1a') + -- cgit v0.12 From b4674e2998a27dde6c8bb3d1fc61a5ca361dd45a Mon Sep 17 00:00:00 2001 From: Michael Hanson Date: Sat, 6 Nov 2010 03:48:21 +0000 Subject: perl-sys-mmap: initial include --- abs/extra/perl-sys-mmap/PKGBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 abs/extra/perl-sys-mmap/PKGBUILD diff --git a/abs/extra/perl-sys-mmap/PKGBUILD b/abs/extra/perl-sys-mmap/PKGBUILD new file mode 100644 index 0000000..a5e73f7 --- /dev/null +++ b/abs/extra/perl-sys-mmap/PKGBUILD @@ -0,0 +1,27 @@ +# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman +# Contributor: Ross melin + +# Required by zoneminder =>1.24.0 + +pkgname=perl-sys-mmap +pkgver=0.13 +pkgrel=1 +pkgdesc="uses mmap to map in a file as a Perl variable" +arch=('i686' 'x86_64') +url="http://search.cpan.org/~SWALTERS/Sys-Mmap" +license=('GPL' 'PerlArtistic') +depends=('perl') +options=('!emptydirs') +source=(http://www.cpan.org/authors/id/S/SW/SWALTERS/Sys-Mmap-$pkgver.tar.gz) +md5sums=('e65a007157e3e26807db52299497109d') + +build() { + cd $startdir/src/Sys-Mmap-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 + make || return 1 + make install DESTDIR=$startdir/pkg || return 1 + find $startdir/pkg -name '.packlist' -delete + find $startdir/pkg -name '*.pod' -delete +} + +# vim:set ts=2 sw=2 et: \ No newline at end of file -- cgit v0.12 From d46b411345a20e0ea7cbf62d55539789524b5dd5 Mon Sep 17 00:00:00 2001 From: Michael Hanson Date: Sat, 6 Nov 2010 03:48:45 +0000 Subject: perl-dbd-mysql: initial include --- abs/extra/perl-dbd-mysql/PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 abs/extra/perl-dbd-mysql/PKGBUILD diff --git a/abs/extra/perl-dbd-mysql/PKGBUILD b/abs/extra/perl-dbd-mysql/PKGBUILD new file mode 100644 index 0000000..c53aac7 --- /dev/null +++ b/abs/extra/perl-dbd-mysql/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 82506 2010-06-12 19:27:47Z kevin $ +# Maintainer: Kevin Piche +# Contributor: Eric Johnson + +pkgname=perl-dbd-mysql +_realname=DBD-mysql +pkgver=4.018 +pkgrel=1 +pkgdesc="Perl/CPAN DBD::mysql module for interacting with MySQL via DBD" +arch=(i686 x86_64) +license=('GPL' 'PerlArtistic') +url="http://search.cpan.org/dist/${_realname}/" +depends=('libmysqlclient' 'perl-dbi' 'perl>=5.10.0') +makedepends=('mysql') +options=(!emptydirs) +source=(http://search.cpan.org/CPAN/authors/id/C/CA/CAPTTOFU/${_realname}-${pkgver}.tar.gz) + +build() { + cd ${srcdir}/${_realname}-${pkgver} + + # install module in vendor directories. + perl Makefile.PL INSTALLDIRS=vendor || return 1 + make || return 1 + make install DESTDIR=${pkgdir} || return 1 + + # remove perllocal.pod and .packlist + find ${pkgdir} -name perllocal.pod -delete + find ${pkgdir} -name .packlist -delete +} +md5sums=('d1d4ee2f20910d6491d1b6216471b2f1') -- cgit v0.12 From cd93c8ee5f2f5c40d6dd56c2c45d54560b052852 Mon Sep 17 00:00:00 2001 From: Michael Hanson Date: Sat, 6 Nov 2010 03:49:08 +0000 Subject: mythtv: upgrade to 0.24 - untested --- abs/core/mythtv/old/stable-0.23/clean_all.sh | 22 + .../mythtv/old/stable-0.23/morethemes/PKGBUILD | 46 ++ .../retro-wide_video-ui.xml-filetypes.patch | 22 + abs/core/mythtv/old/stable-0.23/mp_all.sh | 30 ++ .../mythtv/old/stable-0.23/mytharchive/PKGBUILD | 47 ++ .../mythtv/old/stable-0.23/mythbrowser/PKGBUILD | 47 ++ .../mythtv/old/stable-0.23/mythgallery/PKGBUILD | 45 ++ abs/core/mythtv/old/stable-0.23/mythgame/PKGBUILD | 47 ++ .../mythtv/old/stable-0.23/mythmovies/PKGBUILD | 48 ++ abs/core/mythtv/old/stable-0.23/mythmusic/PKGBUILD | 51 ++ .../mythtv/old/stable-0.23/mythnetvision/PKGBUILD | 47 ++ abs/core/mythtv/old/stable-0.23/mythnews/PKGBUILD | 47 ++ abs/core/mythtv/old/stable-0.23/mythsmolt/PKGBUILD | 23 + .../old/stable-0.23/mythsmolt/mythsmolt.patch | 8 + .../old/stable-0.23/mythsmolt/smolt_init_login.sh | 39 ++ .../mythtv/old/stable-0.23/myththemes/PKGBUILD | 47 ++ abs/core/mythtv/old/stable-0.23/mythtv/PKGBUILD | 102 ++++ .../stable-0.23/mythtv/menu-xml/HOST_SETTINGS.xml | 94 ++++ .../mythtv/old/stable-0.23/mythtv/menu-xml/is.xml | 3 + .../stable-0.23/mythtv/menu-xml/library.xml.patch | 12 + .../old/stable-0.23/mythtv/menu-xml/linhes.xml | 59 +++ .../stable-0.23/mythtv/menu-xml/mainmenu.xml.patch | 95 ++++ .../old/stable-0.23/mythtv/menu-xml/mythbackup.xml | 20 + .../stable-0.23/mythtv/menu-xml/mythrestore.xml | 20 + .../mythtv/menu-xml/optical_menu.xml.patch | 16 + .../mythtv/menu-xml/original/create_patch.sh | 5 + .../old/stable-0.23/mythtv/menu-xml/setup.xml | 111 ++++ .../old/stable-0.23/mythtv/menu-xml/siriusmenu.xml | 419 +++++++++++++++ .../old/stable-0.23/mythtv/menu-xml/update.xml | 20 + .../old/stable-0.23/mythtv/menu-xml/update2.xml | 26 + .../mythtv/menu-xml/util_menu.xml.patch | 16 + .../old/stable-0.23/mythtv/menu-xml/xmmenu.xml | 574 +++++++++++++++++++++ abs/core/mythtv/old/stable-0.23/mythtv/myth.sh | 4 + abs/core/mythtv/old/stable-0.23/mythtv/mythbackend | 38 ++ .../mythtv/old/stable-0.23/mythtv/mythbackend.lr | 9 + .../mythtv/old/stable-0.23/mythtv/mythbackend.sh | 117 +++++ .../mythtv/old/stable-0.23/mythtv/mythfrontend.lr | 9 + .../mythtv/old/stable-0.23/mythtv/mythtv.install | 47 ++ abs/core/mythtv/old/stable-0.23/mythtv/pretty | 9 + .../mythtv/old/stable-0.23/mythtv/smolt_jump.patch | 30 ++ abs/core/mythtv/old/stable-0.23/mythvideo/PKGBUILD | 47 ++ .../mythtv/old/stable-0.23/mythweather/PKGBUILD | 47 ++ abs/core/mythtv/old/stable-0.23/mythweb/PKGBUILD | 46 ++ .../mythtv/old/stable-0.23/mythweb/mythweb.install | 10 + .../mythtv/old/stable-0.23/mythzoneminder/PKGBUILD | 47 ++ abs/core/mythtv/stable-0.24/PKGBUILD | 119 +++++ abs/core/mythtv/stable-0.24/__changelog | 1 + .../mythtv/stable-0.24/menu-xml/HOST_SETTINGS.xml | 94 ++++ abs/core/mythtv/stable-0.24/menu-xml/is.xml | 3 + .../mythtv/stable-0.24/menu-xml/library.xml.patch | 12 + abs/core/mythtv/stable-0.24/menu-xml/linhes.xml | 59 +++ .../mythtv/stable-0.24/menu-xml/mainmenu.xml.patch | 35 ++ .../mythtv/stable-0.24/menu-xml/mythbackup.xml | 20 + .../mythtv/stable-0.24/menu-xml/mythrestore.xml | 20 + .../stable-0.24/menu-xml/optical_menu.xml.patch | 16 + .../stable-0.24/menu-xml/original/create_patch.sh | 5 + abs/core/mythtv/stable-0.24/menu-xml/setup.xml | 111 ++++ .../mythtv/stable-0.24/menu-xml/siriusmenu.xml | 419 +++++++++++++++ abs/core/mythtv/stable-0.24/menu-xml/update.xml | 20 + abs/core/mythtv/stable-0.24/menu-xml/update2.xml | 26 + .../stable-0.24/menu-xml/util_menu.xml.patch | 16 + abs/core/mythtv/stable-0.24/menu-xml/xmmenu.xml | 574 +++++++++++++++++++++ abs/core/mythtv/stable-0.24/myth.sh | 4 + abs/core/mythtv/stable-0.24/mythbackend | 38 ++ abs/core/mythtv/stable-0.24/mythbackend.lr | 9 + abs/core/mythtv/stable-0.24/mythbackend.sh | 117 +++++ abs/core/mythtv/stable-0.24/mythfrontend.lr | 9 + abs/core/mythtv/stable-0.24/mythtv.install | 47 ++ abs/core/mythtv/stable-0.24/pretty | 9 + abs/core/mythtv/stable-0.24/smolt_jump.patch | 30 ++ 70 files changed, 4481 insertions(+) create mode 100755 abs/core/mythtv/old/stable-0.23/clean_all.sh create mode 100755 abs/core/mythtv/old/stable-0.23/morethemes/PKGBUILD create mode 100644 abs/core/mythtv/old/stable-0.23/morethemes/retro-wide_video-ui.xml-filetypes.patch create mode 100755 abs/core/mythtv/old/stable-0.23/mp_all.sh create mode 100644 abs/core/mythtv/old/stable-0.23/mytharchive/PKGBUILD create mode 100644 abs/core/mythtv/old/stable-0.23/mythbrowser/PKGBUILD create mode 100644 abs/core/mythtv/old/stable-0.23/mythgallery/PKGBUILD create mode 100644 abs/core/mythtv/old/stable-0.23/mythgame/PKGBUILD create mode 100644 abs/core/mythtv/old/stable-0.23/mythmovies/PKGBUILD create mode 100644 abs/core/mythtv/old/stable-0.23/mythmusic/PKGBUILD create mode 100644 abs/core/mythtv/old/stable-0.23/mythnetvision/PKGBUILD create mode 100644 abs/core/mythtv/old/stable-0.23/mythnews/PKGBUILD create mode 100644 abs/core/mythtv/old/stable-0.23/mythsmolt/PKGBUILD create mode 100644 abs/core/mythtv/old/stable-0.23/mythsmolt/mythsmolt.patch create mode 100644 abs/core/mythtv/old/stable-0.23/mythsmolt/smolt_init_login.sh create mode 100755 abs/core/mythtv/old/stable-0.23/myththemes/PKGBUILD create mode 100755 abs/core/mythtv/old/stable-0.23/mythtv/PKGBUILD create mode 100644 abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/HOST_SETTINGS.xml create mode 100644 abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/is.xml create mode 100644 abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/library.xml.patch create mode 100644 abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/linhes.xml create mode 100644 abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/mainmenu.xml.patch create mode 100644 abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/mythbackup.xml create mode 100644 abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/mythrestore.xml create mode 100644 abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/optical_menu.xml.patch create mode 100755 abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/original/create_patch.sh create mode 100644 abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/setup.xml create mode 100644 abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/siriusmenu.xml create mode 100644 abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/update.xml create mode 100644 abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/update2.xml create mode 100644 abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/util_menu.xml.patch create mode 100644 abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/xmmenu.xml create mode 100755 abs/core/mythtv/old/stable-0.23/mythtv/myth.sh create mode 100755 abs/core/mythtv/old/stable-0.23/mythtv/mythbackend create mode 100644 abs/core/mythtv/old/stable-0.23/mythtv/mythbackend.lr create mode 100755 abs/core/mythtv/old/stable-0.23/mythtv/mythbackend.sh create mode 100644 abs/core/mythtv/old/stable-0.23/mythtv/mythfrontend.lr create mode 100755 abs/core/mythtv/old/stable-0.23/mythtv/mythtv.install create mode 100755 abs/core/mythtv/old/stable-0.23/mythtv/pretty create mode 100644 abs/core/mythtv/old/stable-0.23/mythtv/smolt_jump.patch create mode 100644 abs/core/mythtv/old/stable-0.23/mythvideo/PKGBUILD create mode 100644 abs/core/mythtv/old/stable-0.23/mythweather/PKGBUILD create mode 100644 abs/core/mythtv/old/stable-0.23/mythweb/PKGBUILD create mode 100644 abs/core/mythtv/old/stable-0.23/mythweb/mythweb.install create mode 100644 abs/core/mythtv/old/stable-0.23/mythzoneminder/PKGBUILD create mode 100755 abs/core/mythtv/stable-0.24/PKGBUILD create mode 100644 abs/core/mythtv/stable-0.24/__changelog create mode 100644 abs/core/mythtv/stable-0.24/menu-xml/HOST_SETTINGS.xml create mode 100644 abs/core/mythtv/stable-0.24/menu-xml/is.xml create mode 100644 abs/core/mythtv/stable-0.24/menu-xml/library.xml.patch create mode 100644 abs/core/mythtv/stable-0.24/menu-xml/linhes.xml create mode 100644 abs/core/mythtv/stable-0.24/menu-xml/mainmenu.xml.patch create mode 100644 abs/core/mythtv/stable-0.24/menu-xml/mythbackup.xml create mode 100644 abs/core/mythtv/stable-0.24/menu-xml/mythrestore.xml create mode 100644 abs/core/mythtv/stable-0.24/menu-xml/optical_menu.xml.patch create mode 100755 abs/core/mythtv/stable-0.24/menu-xml/original/create_patch.sh create mode 100644 abs/core/mythtv/stable-0.24/menu-xml/setup.xml create mode 100644 abs/core/mythtv/stable-0.24/menu-xml/siriusmenu.xml create mode 100644 abs/core/mythtv/stable-0.24/menu-xml/update.xml create mode 100644 abs/core/mythtv/stable-0.24/menu-xml/update2.xml create mode 100644 abs/core/mythtv/stable-0.24/menu-xml/util_menu.xml.patch create mode 100644 abs/core/mythtv/stable-0.24/menu-xml/xmmenu.xml create mode 100755 abs/core/mythtv/stable-0.24/myth.sh create mode 100755 abs/core/mythtv/stable-0.24/mythbackend create mode 100644 abs/core/mythtv/stable-0.24/mythbackend.lr create mode 100755 abs/core/mythtv/stable-0.24/mythbackend.sh create mode 100644 abs/core/mythtv/stable-0.24/mythfrontend.lr create mode 100755 abs/core/mythtv/stable-0.24/mythtv.install create mode 100755 abs/core/mythtv/stable-0.24/pretty create mode 100644 abs/core/mythtv/stable-0.24/smolt_jump.patch diff --git a/abs/core/mythtv/old/stable-0.23/clean_all.sh b/abs/core/mythtv/old/stable-0.23/clean_all.sh new file mode 100755 index 0000000..b56450e --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/clean_all.sh @@ -0,0 +1,22 @@ +#!/bin/sh + +buildlist=('mythtv' 'mytharchive' 'mythbrowser' 'mythgallery' 'mythgame' 'mythmovies' 'mythmusic' 'mythnetvision' 'mythnews' 'mythvideo' 'mythweather' 'mythzoneminder' 'mythweb' 'myththemes' 'morethemes') + +# clean up current directory +rm -f *~ + +# clean up mythtv directories +for i in `echo ${buildlist[@]:0}` +do + echo "-- cleaning $i" + cd ./$i + + # clean up everything + rm -rf pkg src + rm -f *~ + + cd .. +done + +echo "DONE!" + diff --git a/abs/core/mythtv/old/stable-0.23/morethemes/PKGBUILD b/abs/core/mythtv/old/stable-0.23/morethemes/PKGBUILD new file mode 100755 index 0000000..9633db1 --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/morethemes/PKGBUILD @@ -0,0 +1,46 @@ +pkgname=morethemes +pkgver=0.23 +pkgrel=29 +pkgdesc="Additional themes for MythTV" +url="http://www.mythtv.org" +license="GPL" +arch=('i686' 'x86_64') +depends=('mythtv') +groups=('mythtv-extras') +source=('ftp://ftp.knoppmyth.net/R6/sources/morethemes-0.23.tar.bz2' + 'ftp://miroku.no-ip.com/blue-abstract-wide.2010.05.26.tar.bz2' + 'http://elkin.de/mythtv/2010.06.13-Willi.tar.bz2' + 'http://elkin.de/mythtv/2010.03.13-bando-blue.tar.bz2' + 'http://www.mythtv.org/themes/LCARS.tar.gz' + 'http://www.mythtv.org/themes/TransBlue.tar.gz' + 'http://www.westnet.com/~chris/Mythtv/Retro-wide.tar.gz' + 'retro-wide_video-ui.xml-filetypes.patch') + +build() { + + cd $startdir/src/ + mkdir -p $pkgdir/usr/share/mythtv + cp -a themes $pkgdir/usr/share/mythtv + chmod 644 -R blue-abstract-wide + chmod +X -R blue-abstract-wide + cp -a blue-abstract-wide $pkgdir/usr/share/mythtv/themes + chmod 644 -R Willi + chmod +X -R Willi + cp -a Willi $pkgdir/usr/share/mythtv/themes + chmod 644 -R bando-blue + chmod +X -R bando-blue + cp -a bando-blue $pkgdir/usr/share/mythtv/themes + cp -a LCARS $pkgdir/usr/share/mythtv/themes + cp -a TransBlue $pkgdir/usr/share/mythtv/themes + cp -a Retro-wide $pkgdir/usr/share/mythtv/themes + cd $pkgdir/usr/share/mythtv/themes/Retro-wide + patch -p0 <${srcdir}/retro-wide_video-ui.xml-filetypes.patch +} +md5sums=('5672c0e8604f7b1610fa9a1c7626423c' + 'ddc9c7c481664df048b83b7de0731c44' + '3c9fbcc9495eb2b0a0fd5ae61acc779a' + 'c6d90fb469bc30a94e32f76c82122dd3' + 'a36bb7b2597a44128401b1aba9106122' + '21d6f967631e45b7039b965a63755282' + '526e806848cd4d0ae57883ba18edc6af' + '45ff91449f31ac2546c82f559d2e8394') diff --git a/abs/core/mythtv/old/stable-0.23/morethemes/retro-wide_video-ui.xml-filetypes.patch b/abs/core/mythtv/old/stable-0.23/morethemes/retro-wide_video-ui.xml-filetypes.patch new file mode 100644 index 0000000..e5465dc --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/morethemes/retro-wide_video-ui.xml-filetypes.patch @@ -0,0 +1,22 @@ +--- video-ui.xml.orig 2010-07-04 06:21:18.000000000 +0000 ++++ video-ui.xml 2010-07-04 06:22:22.000000000 +0000 +@@ -967,14 +967,17 @@ + + + + + + + + diff --git a/abs/core/mythtv/old/stable-0.23/mp_all.sh b/abs/core/mythtv/old/stable-0.23/mp_all.sh new file mode 100755 index 0000000..38a5995 --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/mp_all.sh @@ -0,0 +1,30 @@ +#!/bin/sh +pkgver=0.23 +pkgrel=31 + +# NOTE: Make sure to build and install mythtv first BEFORE building anything else +buildlist=('mythtv' 'mytharchive' 'mythbrowser' 'mythgallery' 'mythgame' 'mythmovies' 'mythmusic' 'mythnetvision' 'mythnews' 'mythvideo' 'mythweather' 'mythzoneminder' 'mythweb' 'myththemes' 'morethemes') + +# build and install +for i in `echo ${buildlist[@]:0}` +do + echo "---------- building $i ----------" + cd ./$i + + # set svn version in the PKGBUILD + sed -i s/^pkgver=.*/pkgver=$pkgver/ PKGBUILD + sed -i s/^pkgrel=.*/pkgrel=$pkgrel/ PKGBUILD + + # make the package + mp -f -i --holdver --skipinteg || exit 1 + + # clean up afterwards + rm -rf pkg + rm -f *~ + + cd .. +done + +echo "" +echo "DONE!" + diff --git a/abs/core/mythtv/old/stable-0.23/mytharchive/PKGBUILD b/abs/core/mythtv/old/stable-0.23/mytharchive/PKGBUILD new file mode 100644 index 0000000..d2a1217 --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/mytharchive/PKGBUILD @@ -0,0 +1,47 @@ +pkgname=mytharchive +pkgver=0.23 +pkgrel=29 +pkgdesc="MythTV plugin that lets you create DVDs from or archive your recorded shows." +url="http://www.mythtv.org" +license="GPL" +arch=('i686' 'x86_64') + +depends=('mythtv>=0.23' 'libxmu' 'mysql-python' 'pil' 'dvdauthor' 'mjpegtools' 'transcode') +groups=('mythtv-extras') + +patches=() +source=('ftp://ftp.knoppmyth.net/R6/sources/mythplugins-0.23-fixes.tar.bz2' `echo ${patches[@]:0}`) + +md5sums=('590c6e72c72e10d4c7edf72d7fb6b940') + +build() { + + cd $startdir/src/mythplugins + svn update + + echo "--------------------------applying patches----------------------------------------------------" + for i in `echo ${patches[@]:0} ` + do + echo applying $i + echo "-----------------------------" + patch -Np0 -i ${startdir}/src/$i || return 1 + done + echo "--------------------------done applying patches-----------------------------------------------" + + [ "$CARCH" = "i686" ] && ARCH="i686" + [ "$CARCH" = "x86_64" ] && ARCH="x86-64" + + # clean up + make distclean + + # configure + ./configure --prefix=/usr --cpu=${ARCH} --disable-all --enable-opengl \ + --enable-mytharchive || return 1 + + # build and install + . /etc/profile + make || return 1 + make INSTALL_ROOT=$startdir/pkg install || return 1 + +} + diff --git a/abs/core/mythtv/old/stable-0.23/mythbrowser/PKGBUILD b/abs/core/mythtv/old/stable-0.23/mythbrowser/PKGBUILD new file mode 100644 index 0000000..0413b79 --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/mythbrowser/PKGBUILD @@ -0,0 +1,47 @@ +pkgname=mythbrowser +pkgver=0.23 +pkgrel=29 +pkgdesc="Mini web browser for MythTV" +url="http://www.mythtv.org" +license="GPL" +arch=('i686' 'x86_64') + +depends=('mythtv>=0.23' 'wget') +groups=('mythtv-extras') + +patches=() +source=('ftp://ftp.knoppmyth.net/R6/sources/mythplugins-0.23-fixes.tar.bz2' `echo ${patches[@]:0}`) + +md5sums=('590c6e72c72e10d4c7edf72d7fb6b940') + +build() { + + cd $startdir/src/mythplugins + svn update + + echo "--------------------------applying patches----------------------------------------------------" + for i in `echo ${patches[@]:0} ` + do + echo applying $i + echo "-----------------------------" + patch -Np0 -i ${startdir}/src/$i || return 1 + done + echo "--------------------------done applying patches-----------------------------------------------" + + [ "$CARCH" = "i686" ] && ARCH="i686" + [ "$CARCH" = "x86_64" ] && ARCH="x86-64" + + # clean up + make distclean + + # configure + ./configure --prefix=/usr --cpu=${ARCH} --disable-all --enable-opengl \ + --enable-mythbrowser || return 1 + + # build and install + . /etc/profile + make || return 1 + make INSTALL_ROOT=$startdir/pkg install || return 1 + +} + diff --git a/abs/core/mythtv/old/stable-0.23/mythgallery/PKGBUILD b/abs/core/mythtv/old/stable-0.23/mythgallery/PKGBUILD new file mode 100644 index 0000000..e18538b --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/mythgallery/PKGBUILD @@ -0,0 +1,45 @@ +pkgname=mythgallery +pkgver=0.23 +pkgrel=29 +pkgdesc="Image gallery plugin for MythTV" +url="http://www.mythtv.org" +license="GPL" +arch=('i686' 'x86_64') + +depends=('mythtv>=0.23' 'libexif' 'libtiff') +groups=('mythtv-extras') + +patches=() +source=('ftp://ftp.knoppmyth.net/R6/sources/mythplugins-0.23-fixes.tar.bz2' `echo ${patches[@]:0}`) + +build() { + + cd $startdir/src/mythplugins + svn update + + echo "--------------------------applying patches----------------------------------------------------" + for i in `echo ${patches[@]:0} ` + do + echo applying $i + echo "-----------------------------" + patch -Np0 -i ${startdir}/src/$i || return 1 + done + echo "--------------------------done applying patches-----------------------------------------------" + + [ "$CARCH" = "i686" ] && ARCH="i686" + [ "$CARCH" = "x86_64" ] && ARCH="x86-64" + + # clean up + make distclean + + # configure + ./configure --prefix=/usr --cpu=${ARCH} --disable-all --enable-opengl \ + --enable-mythgallery || return 1 + + # build and install + . /etc/profile + make || return 1 + make INSTALL_ROOT=$startdir/pkg install || return 1 + +} +md5sums=('590c6e72c72e10d4c7edf72d7fb6b940') diff --git a/abs/core/mythtv/old/stable-0.23/mythgame/PKGBUILD b/abs/core/mythtv/old/stable-0.23/mythgame/PKGBUILD new file mode 100644 index 0000000..67bd8a8 --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/mythgame/PKGBUILD @@ -0,0 +1,47 @@ +pkgname=mythgame +pkgver=0.23 +pkgrel=29 +pkgdesc="Emulation plugin for MythTV" +url="http://www.mythtv.org" +license="GPL" +arch=('i686' 'x86_64') + +depends=('mythtv>=0.23' 'zlib') +groups=('mythtv-extras') + +patches=() +source=('ftp://ftp.knoppmyth.net/R6/sources/mythplugins-0.23-fixes.tar.bz2' `echo ${patches[@]:0}`) + +md5sums=('590c6e72c72e10d4c7edf72d7fb6b940') + +build() { + + cd $startdir/src/mythplugins + svn update + + echo "--------------------------applying patches----------------------------------------------------" + for i in `echo ${patches[@]:0} ` + do + echo applying $i + echo "-----------------------------" + patch -Np0 -i ${startdir}/src/$i || return 1 + done + echo "--------------------------done applying patches-----------------------------------------------" + + [ "$CARCH" = "i686" ] && ARCH="i686" + [ "$CARCH" = "x86_64" ] && ARCH="x86-64" + + # clean up + make distclean + + # configure + ./configure --prefix=/usr --cpu=${ARCH} --disable-all --enable-opengl \ + --enable-mythgame || return 1 + + # build and install + . /etc/profile + make || return 1 + make INSTALL_ROOT=$startdir/pkg install || return 1 + +} + diff --git a/abs/core/mythtv/old/stable-0.23/mythmovies/PKGBUILD b/abs/core/mythtv/old/stable-0.23/mythmovies/PKGBUILD new file mode 100644 index 0000000..8a92133 --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/mythmovies/PKGBUILD @@ -0,0 +1,48 @@ +pkgname=mythmovies +pkgver=0.23 +pkgrel=29 +pkgdesc="Displays information about movies playing in the area." +url="http://www.mythtv.org" +license="GPL" +arch=('i686' 'x86_64') + +depends=('mythtv>=0.23') +conflicts=('mythmovies') +groups=('mythtv-extras') + +patches=() +source=('ftp://ftp.knoppmyth.net/R6/sources/mythplugins-0.23-fixes.tar.bz2' `echo ${patches[@]:0}`) + +md5sums=('590c6e72c72e10d4c7edf72d7fb6b940') + +build() { + + cd $startdir/src/mythplugins + svn update + + echo "--------------------------applying patches----------------------------------------------------" + for i in `echo ${patches[@]:0} ` + do + echo applying $i + echo "-----------------------------" + patch -Np0 -i ${startdir}/src/$i || return 1 + done + echo "--------------------------done applying patches-----------------------------------------------" + + [ "$CARCH" = "i686" ] && ARCH="i686" + [ "$CARCH" = "x86_64" ] && ARCH="x86-64" + + # clean up + make distclean + + # configure + ./configure --prefix=/usr --cpu=${ARCH} --disable-all --enable-opengl \ + --enable-mythmovies || return 1 + + # build and install + . /etc/profile + make || return 1 + make INSTALL_ROOT=$startdir/pkg install || return 1 + +} + diff --git a/abs/core/mythtv/old/stable-0.23/mythmusic/PKGBUILD b/abs/core/mythtv/old/stable-0.23/mythmusic/PKGBUILD new file mode 100644 index 0000000..cd13ba7 --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/mythmusic/PKGBUILD @@ -0,0 +1,51 @@ +pkgname=mythmusic +pkgver=0.23 +pkgrel=29 +pkgdesc="Music playing plugin for MythTV" +url="http://www.mythtv.org" +license="GPL" +arch=('i686' 'x86_64') + +depends=('mythtv>=0.23' 'libid3tag' 'libmad' 'libvorbis' 'flac>=1.1.4' 'libcdaudio' \ + 'cdparanoia' 'fftw2' 'sdl' 'faad2>=2.6.1' 'lame' 'taglib' \ + 'libvisual-plugins' 'libvisual-projectm') +conflicts=('mythmusic') +groups=('mythtv-extras') + +patches=() +source=('ftp://ftp.knoppmyth.net/R6/sources/mythplugins-0.23-fixes.tar.bz2' `echo ${patches[@]:0}`) + +md5sums=('590c6e72c72e10d4c7edf72d7fb6b940') + +build() { + + cd $startdir/src/mythplugins + svn update + + echo "--------------------------applying patches----------------------------------------------------" + for i in `echo ${patches[@]:0} ` + do + echo applying $i + echo "-----------------------------" + patch -Np0 -i ${startdir}/src/$i || return 1 + done + echo "--------------------------done applying patches-----------------------------------------------" + + [ "$CARCH" = "i686" ] && ARCH="i686" + [ "$CARCH" = "x86_64" ] && ARCH="x86-64" + + # clean up + make distclean + + # configure + ./configure --prefix=/usr --cpu=${ARCH} --disable-all --enable-opengl \ + --enable-mythmusic --enable-libvisual --enable-fftw --enable-sdl \ + --enable-aac || return 1 + + # build and install + . /etc/profile + make || return 1 + make INSTALL_ROOT=$startdir/pkg install || return 1 + +} + diff --git a/abs/core/mythtv/old/stable-0.23/mythnetvision/PKGBUILD b/abs/core/mythtv/old/stable-0.23/mythnetvision/PKGBUILD new file mode 100644 index 0000000..cd2bf83 --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/mythnetvision/PKGBUILD @@ -0,0 +1,47 @@ +pkgname=mythnetvision +pkgver=0.23 +pkgrel=29 +pkgdesc="Internet video plugin for MythTV" +url="http://www.mythtv.org" +license="GPL" +arch=('i686' 'x86_64') + +depends=('mythtv' 'mythbrowser' 'python-pycurl' 'flashplugin') +groups=('mythtv-extras') + +patches=() +source=('ftp://ftp.knoppmyth.net/R6/sources/mythplugins-0.23-fixes.tar.bz2' `echo ${patches[@]:0}`) + +md5sums=('590c6e72c72e10d4c7edf72d7fb6b940') + +build() { + + cd $startdir/src/mythplugins + svn update + + echo "--------------------------applying patches----------------------------------------------------" + for i in `echo ${patches[@]:0} ` + do + echo applying $i + echo "-----------------------------" + patch -Np0 -i ${startdir}/src/$i || return 1 + done + echo "--------------------------done applying patches-----------------------------------------------" + + [ "$CARCH" = "i686" ] && ARCH="i686" + [ "$CARCH" = "x86_64" ] && ARCH="x86-64" + + # clean up + make distclean + + # configure + ./configure --prefix=/usr --cpu=${ARCH} --disable-all --enable-opengl \ + --enable-mythnetvision || return 1 + + # build and install + . /etc/profile + make || return 1 + make INSTALL_ROOT=$startdir/pkg install || return 1 + +} + diff --git a/abs/core/mythtv/old/stable-0.23/mythnews/PKGBUILD b/abs/core/mythtv/old/stable-0.23/mythnews/PKGBUILD new file mode 100644 index 0000000..c5a52e1 --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/mythnews/PKGBUILD @@ -0,0 +1,47 @@ +pkgname=mythnews +pkgver=0.23 +pkgrel=29 +pkgdesc="News checking plugin for MythTV" +url="http://www.mythtv.org" +license="GPL" +arch=('i686' 'x86_64') + +depends=('mythtv>=0.23') +groups=('mythtv-extras') + +patches=() +source=('ftp://ftp.knoppmyth.net/R6/sources/mythplugins-0.23-fixes.tar.bz2' `echo ${patches[@]:0}`) + +md5sums=('590c6e72c72e10d4c7edf72d7fb6b940') + +build() { + + cd $startdir/src/mythplugins + svn update + + echo "--------------------------applying patches----------------------------------------------------" + for i in `echo ${patches[@]:0} ` + do + echo applying $i + echo "-----------------------------" + patch -Np0 -i ${startdir}/src/$i || return 1 + done + echo "--------------------------done applying patches-----------------------------------------------" + + [ "$CARCH" = "i686" ] && ARCH="i686" + [ "$CARCH" = "x86_64" ] && ARCH="x86-64" + + # clean up + make distclean + + # configure + ./configure --prefix=/usr --cpu=${ARCH} --disable-all --enable-opengl \ + --enable-mythnews || return 1 + + # build and install + . /etc/profile + make || return 1 + make INSTALL_ROOT=$startdir/pkg install || return 1 + +} + diff --git a/abs/core/mythtv/old/stable-0.23/mythsmolt/PKGBUILD b/abs/core/mythtv/old/stable-0.23/mythsmolt/PKGBUILD new file mode 100644 index 0000000..9041251 --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/mythsmolt/PKGBUILD @@ -0,0 +1,23 @@ +pkgname=mythsmolt +pkgver=0.23 +pkgrel=4 +pkgdesc="mythsmolt, a hardware profileing tool" +arch=('i686' 'x86_64') +url="http://www.mythvantage.com" +license=('GPL') +depends=("mythtv>=${pkgver}" urlgrabber python-simplejson) +source=("http://www.mythvantage.com/request.php?4" 'smolt_init_login.sh' 'mythsmolt.patch') + +groups=('mythtv-extras') + +build() { + cd $startdir/src/mythsmolt + patch -p1 < ../mythsmolt.patch || return 1 + ./configure.sh + make || return 1 + make INSTALL_ROOT=$startdir/pkg install + install -D -m 755 $srcdir/smolt_init_login.sh $pkgdir/etc/profile.d/smolt_init_login.sh +} +md5sums=('4641b425d1aa910d82972ebb3a8d4998' + '57a3416d90e59abbd5062436583c17e1' + '461350b3a7b9d7433cc11e2786e27005') diff --git a/abs/core/mythtv/old/stable-0.23/mythsmolt/mythsmolt.patch b/abs/core/mythtv/old/stable-0.23/mythsmolt/mythsmolt.patch new file mode 100644 index 0000000..9866587 --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/mythsmolt/mythsmolt.patch @@ -0,0 +1,8 @@ +diff -ruaN mythsmolt.orig/settings.pro mythsmolt/settings.pro +--- mythsmolt.orig/settings.pro 2010-01-06 15:49:59.000000000 +0000 ++++ mythsmolt/settings.pro 2010-05-28 03:30:59.000000000 +0000 +@@ -1,3 +1,3 @@ + +-LIBVERSION = 0.22 ++LIBVERSION = 0.23 + diff --git a/abs/core/mythtv/old/stable-0.23/mythsmolt/smolt_init_login.sh b/abs/core/mythtv/old/stable-0.23/mythsmolt/smolt_init_login.sh new file mode 100644 index 0000000..0b76305 --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/mythsmolt/smolt_init_login.sh @@ -0,0 +1,39 @@ +if [ $UID = 0 -o $UID = 1000 ] +then + INIT=`ps -p 1 -o comm=` + if [ x$INIT = xrunit ] + then + if [[ -f /home/mythtv/.configure && $- = *i* ]] + then + if [ ! -z "$PS1" ] + then + if [ $0 = "-bash" ] + then + if [ ! -e /home/mythtv/.mythtv/MythSmolt/hw-uuid ] + then + echo "" + echo "####################################################" + echo "It appears you have not yet run smolt" + echo "Please take the time to submit your hardware profile" + echo "" + echo "press any key to continue:" + echo "####################################################" + read a + mkdir -p /home/mythtv/.mythtv/MythSmolt + chown -R mythtv:users /home/mythtv/.mythtv/MythSmolt + + if [ $UID = 0 ] + then + su mythtv -c "/usr/share/mythtv/mythsmolt/scripts/sendProfile.py" && su mythtv -c "touch /home/mythtv/.mythtv/MythSmolt/hw-uuid" + else + /usr/share/mythtv/mythsmolt/scripts/sendProfile.py && touch /home/mythtv/.mythtv/MythSmolt/hw-uuid + fi + fi + fi + fi + fi + fi +fi + + + diff --git a/abs/core/mythtv/old/stable-0.23/myththemes/PKGBUILD b/abs/core/mythtv/old/stable-0.23/myththemes/PKGBUILD new file mode 100755 index 0000000..0d855db --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/myththemes/PKGBUILD @@ -0,0 +1,47 @@ +pkgname=myththemes +pkgver=0.23 +pkgrel=29 +pkgdesc="Themes for MythTV" +url="http://www.mythtv.org" +license="GPL" +arch=('i686' 'x86_64') + +depends=('mythtv>=0.23') +groups=('mythtv-extras') + +patches=() +source=('ftp://ftp.knoppmyth.net/R6/sources/myththemes-0.23-fixes.tar.bz2' `echo ${patches[@]:0}`) + +md5sums=('5e5cafe0dd3fadadbc37d29708e3ec74') + +build() { + + cd $startdir/src/myththemes + svn update + rm -fr Mythbuntu + + echo "--------------------------applying patches----------------------------------------------------" + for i in `echo ${patches[@]:0} ` + do + echo applying $i + echo "-----------------------------" + patch -Np0 -i ${startdir}/src/$i || return 1 + done + echo "--------------------------done applying patches-----------------------------------------------" + + [ "$CARCH" = "i686" ] && ARCH="i686" + [ "$CARCH" = "x86_64" ] && ARCH="x86-64" + + # clean up + make distclean + + # configure + ./configure --prefix=/usr || return 1 + + # build and install + . /etc/profile + make || return 1 + make INSTALL_ROOT=$startdir/pkg install || return 1 + +} + diff --git a/abs/core/mythtv/old/stable-0.23/mythtv/PKGBUILD b/abs/core/mythtv/old/stable-0.23/mythtv/PKGBUILD new file mode 100755 index 0000000..3854417 --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/mythtv/PKGBUILD @@ -0,0 +1,102 @@ +pkgname=mythtv +pkgver=0.23 +pkgrel=31 +pkgdesc="A personal video recorder for Linux" +url="http://www.mythtv.org" +license="GPL" +depends=('bash' 'mysql-clients>=5.0' 'qt' 'lame' 'lirc-utils' 'ffmpeg' \ + 'faad2' 'libxv' 'libxvmc' 'libavc1394' 'libdc1394' 'libiec61883' \ + 'perl-net-upnp' 'libvdpau') +makedepends=('libgl' 'subversion') +replaces=() +groups=('pvr') +#backup=(/usr/share/mythtv/is.xml) +#options=(!strip) +#MAKEFLAGS="-j6" +install='mythtv.install' + +patchs=() +#patchs=('smolt_jump.patch') +source=('ftp://ftp.knoppmyth.net/R6/sources/mythtv-0.23-fixes.tar.bz2' + 'mythbackend' 'myth.sh' `echo ${patchs[@]:0}` 'mythbackend.lr' 'mythfrontend.lr' 'pretty') +arch=('i686' 'x86_64') + +build() { + + # get clean copy from SVN repo + cd $startdir/src/mythtv + svn update + + # apply patches + echo "--------------------------applying patches----------------------------------------------------" + for i in `echo ${patchs[@]:0} ` + do + echo applying $i + echo "-----------------------------" + patch -Np0 -i ${startdir}/src/$i || return 1 + done + echo "--------------------------done applying patches-----------------------------------------------" + + # Fix to allow AC3 5.1 to return http://svn.mythtv.org/trac/ticket/8659 + sed -i 's/#define\ AUDIOMAXFRAMES\ \ \ \ \ \ \ 30/#define\ AUDIOMAXFRAMES\ \ \ \ \ \ \ 0/' libs/libmythtv/avformatdecoder.h + + sed -i -e "s/\`(svnversion \$\${SVNTREEDIR} 2>\/dev\/null) || echo Unknown\`/$pkgver/" version.pro + + [ "$CARCH" = "i686" ] && ARCH="i686" + [ "$CARCH" = "x86_64" ] && ARCH="x86-64" + + # clean up from last build + echo " simple configure to makesure the distclean works" + ./configure + make distclean + # configure + #./configure --prefix=/usr --arch=${ARCH} \ + echo "our configure" + ./configure --prefix=/usr \ + --enable-vdpau --enable-xvmc --enable-xvmc-pro \ + --enable-opengl-vsync --enable-libfaad --enable-dvb --enable-firewire \ + --compile-type=release --with-bindings=perl,python \ + --enable-audio-alsa --disable-audio-jack --disable-audio-pulseoutput + #--enable-audio-alsa --disable-audio-jack --disable-audio-pulseoutput || return 1 + echo "post configure" + # build and install + #. /etc/profile + echo "post profile" + make || return 1 + echo "post make" + make INSTALL_ROOT=$startdir/pkg install || return 1 + + # install db schema, scripts and docs + install -m0644 database/mc.sql $startdir/pkg/usr/share/mythtv/ || return 1 + install -D -m0755 ../mythbackend $startdir/pkg/etc/rc.d/mythbackend || return 1 +# cp -r docs $startdir/pkg/usr/share/mythtv/ || return 1 + rsync -arp --exclude .svn --delete-excluded docs $startdir/pkg/usr/share/mythtv/ || return 1 + + # install contrib + rsync -arp --exclude .svn --delete-excluded contrib $startdir/pkg/usr/share/mythtv/ || return 1 + #cp -r contrib $startdir/pkg/usr/share/mythtv/ || return 1 + + # patch the xml LinHES style + cp -r $startdir/menu-xml/*.xml $startdir/pkg/usr/share/mythtv/themes/defaultmenu/ +# mv $startdir/pkg/usr/share/mythtv/themes/defaultmenu/is.xml $startdir/pkg/usr/share/mythtv/ + cd $startdir/pkg/usr/share/mythtv/themes/defaultmenu + patch -p0 < $startdir/menu-xml/mainmenu.xml.patch || return 1 + patch -p0 < $startdir/menu-xml/optical_menu.xml.patch || return 1 + patch -p0 < $startdir/menu-xml/library.xml.patch || return 1 + patch -p0 < $startdir/menu-xml/util_menu.xml.patch || return 1 + + # make log dir + mkdir -p $startdir/pkg/var/log/mythtv + chown 1000.1000 $startdir/pkg/var/log/mythtv + mkdir -p $startdir/pkg/etc/logrotate.d + cp $startdir/src/*.lr $startdir/pkg/etc/logrotate.d + mkdir -p $startdir/pkg/etc/cron.hourly/ + install -m0755 $startdir/src/pretty $startdir/pkg/etc/cron.hourly/ +} + +md5sums=('f75a4f1be66c2803df54466d4c30361a' + '7ef6de58240e7aad389a0b13d91b1cf6' + '2babd4b8e146a7538d18dcd55695b0be' + 'f735805a80b0d1180dee01f9df1b7004' + 'f407d6af23e74a49540755420f84fa58' + '5469d9921b726db750b991c87d226158') diff --git a/abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/HOST_SETTINGS.xml b/abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/HOST_SETTINGS.xml new file mode 100644 index 0000000..ac52497 --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/HOST_SETTINGS.xml @@ -0,0 +1,94 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/is.xml b/abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/is.xml new file mode 100644 index 0000000..88b7e6b --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/is.xml @@ -0,0 +1,3 @@ + + + diff --git a/abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/library.xml.patch b/abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/library.xml.patch new file mode 100644 index 0000000..81ea604 --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/library.xml.patch @@ -0,0 +1,12 @@ +--- library.xml.orig 2009-10-16 12:45:44.000000000 +0000 ++++ library.xml 2009-10-16 17:21:44.000000000 +0000 +@@ -123,8 +123,7 @@ + Online folyam lejátszása + + +- PLUGIN mythstream +- mythstream ++ MENU is.xml + + + + + + + + + + + + + + diff --git a/abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/mainmenu.xml.patch b/abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/mainmenu.xml.patch new file mode 100644 index 0000000..0ec7b5b --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/mythtv/menu-xml/mainmenu.xml.patch @@ -0,0 +1,95 @@ +--- mainmenu.xml.orig 2010-04-18 01:29:44.000000000 +0000 ++++ mainmenu.xml 2010-04-18 01:32:38.000000000 +0000 +@@ -2,6 +2,31 @@ + + + ++ ++ + + +- +- + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/abs/core/mythtv/old/stable-0.23/mythtv/myth.sh b/abs/core/mythtv/old/stable-0.23/mythtv/myth.sh new file mode 100755 index 0000000..fb7122c --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/mythtv/myth.sh @@ -0,0 +1,4 @@ +export PATH=$PATH:/usr/local/bin +# set core file size to 0 +ulimit -c 0 +export MALLOC_CHECK_=0 \ No newline at end of file diff --git a/abs/core/mythtv/old/stable-0.23/mythtv/mythbackend b/abs/core/mythtv/old/stable-0.23/mythtv/mythbackend new file mode 100755 index 0000000..93773a2 --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/mythtv/mythbackend @@ -0,0 +1,38 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +PID=`pidof -o %PPID /usr/bin/mythbackend` +case "$1" in + start) + stat_busy "Starting MythTV Backend" + [ ! -e /var/run/mysqld.pid ] && echo -n "mysqld not started" && stat_fail && exit + [ -z "$PID" ] && /usr/bin/mythbackend -d -l /var/log/mythbackend.log -v important + if [ $? -gt 0 ]; then + stat_fail + else + echo $PID > /var/run/mythbackend.pid + add_daemon mythbackend + stat_done + fi + ;; + stop) + stat_busy "Stopping MythTV Backend" + [ ! -z "$PID" ] && kill $PID &>/dev/null + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon mythbackend + stat_done + fi + ;; + restart) + $0 stop + sleep 1s + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0 diff --git a/abs/core/mythtv/old/stable-0.23/mythtv/mythbackend.lr b/abs/core/mythtv/old/stable-0.23/mythtv/mythbackend.lr new file mode 100644 index 0000000..4f218bc --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/mythtv/mythbackend.lr @@ -0,0 +1,9 @@ +/var/log/mythtv/mythbackend.log { + copytruncate + daily + size 10M + missingok + rotate 7 + compress + notifempty +} diff --git a/abs/core/mythtv/old/stable-0.23/mythtv/mythbackend.sh b/abs/core/mythtv/old/stable-0.23/mythtv/mythbackend.sh new file mode 100755 index 0000000..e7a7b70 --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/mythtv/mythbackend.sh @@ -0,0 +1,117 @@ +#!/bin/bash +# +# /etc/rc.d/init.d/mythbackend +# +# Starts the mythbackend as a daemon +# +# chkconfig: 345 90 10 +# description: Starts the mythbackend process as a daemon after the XWindows \ +# system is started, in runlevel 5. This allows scheduled \ +# recordings to occur without manual intervention. +# processname: mythbackend + +# Copyright (c) by Michael Thomson +# With thanks to Stu Tomlinson +# +# 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +# Default values to use if none are supplied in the config file. +# User who should start the mythbackend processes +MBE_USER="root" +# Directory holding the mythbackend binary +MBE_LOCATION="/usr/local/bin/" +# Name of mythbackend binary +MBE_PROG="mythbackend" +# Full path to mythbackend log file +MBE_LOGFILE="/var/log/mythtv/mythbackend.log" + +# Source function library. +. /etc/init.d/functions + +# Source config file if available +if [ -f "/etc/sysconfig/mythbackend" ]; then + . /etc/sysconfig/mythbackend +fi + +test -x ${MBE_LOCATION}${MBE_PROG} || exit 0 + +RETVAL=0 + +# +# See how we were called. +# + +start() { + # Check if mythbackend is already running + if [ ! -f /var/lock/subsys/${MBE_PROG} ]; then + echo -n "Starting ${MBE_PROG}: " + # /usr/local/bin/mythbackend -d -l /some/log/file + #daemon --user ${MBE_USER} ${MBE_LOCATION}${MBE_PROG} -d -l ${MBE_LOGFILE} + ${MBE_LOCATION}${MBE_PROG} -d -l ${MBE_LOGFILE} + RETVAL=$? + [ $RETVAL -eq 0 ] && touch /var/lock/subsys/${MBE_PROG} + echo + fi + return $RETVAL +} + +stop() { + echo -n "Stopping ${MBE_PROG}: " + killproc ${MBE_LOCATION}${MBE_PROG} + RETVAL=$? + [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/${MBE_PROG} + echo + return $RETVAL +} + + +restart() { + stop + start +} + +reload() { + restart +} + +status_at() { + status ${MBE_LOCATION}${MBE_PROG} +} + +case "$1" in +start) + start + ;; +stop) + stop + ;; +reload|restart) + restart + ;; +condrestart) + if [ -f /var/lock/subsys/${MBE_PROG} ]; then + restart + fi + ;; +status) + status_at + ;; +*) + echo "Usage: $0 {start|stop|restart|condrestart|status}" + exit 1 +esac + +exit $? +exit $RETVAL diff --git a/abs/core/mythtv/old/stable-0.23/mythtv/mythfrontend.lr b/abs/core/mythtv/old/stable-0.23/mythtv/mythfrontend.lr new file mode 100644 index 0000000..1580533 --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/mythtv/mythfrontend.lr @@ -0,0 +1,9 @@ +/var/log/mythtv/mythfrontend.log { + copytruncate + daily + size 10M + missingok + rotate 7 + compress + notifempty +} diff --git a/abs/core/mythtv/old/stable-0.23/mythtv/mythtv.install b/abs/core/mythtv/old/stable-0.23/mythtv/mythtv.install new file mode 100755 index 0000000..0524f86 --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/mythtv/mythtv.install @@ -0,0 +1,47 @@ +# arg 1: the new package version +post_install() { + if [ ! -d /var/log/mythtv ] + then + mkdir -p /var/log/mythv + chown -R mythtv /var/log/mythtv + echo "---" > /var/log/mythtv/mythbackend.log + chown mythtv /var/log/mythtv/mythbackend.log + fi + ln -s /usr/share/mythtv/themes/defaultmenu/is.xml /usr/share/mythtv/is.xml +} + +pre_upgrade() { + if [ ! -L /usr/share/mythtv/is.xml ] + then + mv /usr/share/mythtv/is.xml /usr/share/mythtv/is.xml.pre + else + mv /usr/share/mythtv/themes/defaultmenu/is.xml /usr/share/mythtv/themes/defaultmenu/is.xml.pre + fi +} + +post_upgrade() { + if [ ! -d /var/log/mythtv ] + then + mkdir -p /var/log/mythv + chown -R mythtv /var/log/mythtv + fi + if [ -e /usr/share/mythtv/is.xml.pre ] + then + rm -fr /usr/share/mythtv/themes/defaultmenu/is.xml + mv /usr/share/mythtv/is.xml.pre /usr/share/mythtv/themes/defaultmenu/is.xml + ln -s /usr/share/mythtv/themes/defaultmenu/is.xml /usr/share/mythtv/is.xml + else + mv /usr/share/mythtv/themes/defaultmenu/is.xml.pre /usr/share/mythtv/themes/defaultmenu/is.xml + fi +} + + +# arg 1: the old package version +post_remove() { + /bin/true + +} + +op=$1 +shift +$op $* diff --git a/abs/core/mythtv/old/stable-0.23/mythtv/pretty b/abs/core/mythtv/old/stable-0.23/mythtv/pretty new file mode 100755 index 0000000..7e0ab21 --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/mythtv/pretty @@ -0,0 +1,9 @@ +#!/bin/bash +if [ -f /usr/share/mythtv/contrib/user_jobs/mythlink.pl ] +then + su - mythtv -c "perl /usr/share/mythtv/contrib/user_jobs/mythlink.pl --link /myth/pretty" +elif [ -f /usr/share/mythtv/contrib/user_jobs/mythrename.pl ] +then + su - mythtv -c "perl /usr/share/mythtv/contrib/user_jobs/mythrename.pl --link /myth/pretty" +fi + diff --git a/abs/core/mythtv/old/stable-0.23/mythtv/smolt_jump.patch b/abs/core/mythtv/old/stable-0.23/mythtv/smolt_jump.patch new file mode 100644 index 0000000..0fc452a --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/mythtv/smolt_jump.patch @@ -0,0 +1,30 @@ +Index: programs/mythfrontend/networkcontrol.cpp +=================================================================== +--- programs/mythfrontend/networkcontrol.cpp (revision 19291) ++++ programs/mythfrontend/networkcontrol.cpp (working copy) +@@ -83,6 +83,7 @@ + jumpMap["zoneminderliveview"] = "ZoneMinder Live View"; + jumpMap["zoneminderevents"] = "ZoneMinder Events"; + jumpMap["snapshot"] = "ScreenShot"; ++ jumpMap["mythsmolt"] = "MythSmolt"; + + // These jump point names match the (lowercased) locations from gContext + jumpMap["channelrecpriority"] = "Channel Recording Priorities"; +@@ -191,7 +192,7 @@ + pthread_create(&command_thread, NULL, CommandThread, this); + + gContext->addListener(this); +- ++ + connect(this, SIGNAL(newConnection()), this, SLOT(newConnection())); + } + +@@ -307,7 +308,7 @@ + cs = new QTextStream(s); + cs->setCodec("UTF-8"); + } +- ++ + if (client) + { + closedOldConn = true; diff --git a/abs/core/mythtv/old/stable-0.23/mythvideo/PKGBUILD b/abs/core/mythtv/old/stable-0.23/mythvideo/PKGBUILD new file mode 100644 index 0000000..3dafe6a --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/mythvideo/PKGBUILD @@ -0,0 +1,47 @@ +pkgname=mythvideo +pkgver=0.23 +pkgrel=29 +pkgdesc="Video playback and browsing plugin for MythTV" +url="http://www.mythtv.org" +license="GPL" +arch=('i686' 'x86_64') + +depends=('mythtv>=0.23' 'mplayer' 'perlxml' 'perl-libwww' 'perl-uri' 'perl-xml-simple' 'ffmpeg') +groups=('mythtv-extras') + +patches=() +source=('ftp://ftp.knoppmyth.net/R6/sources/mythplugins-0.23-fixes.tar.bz2' `echo${patches[@]:0}`) + +md5sums=('590c6e72c72e10d4c7edf72d7fb6b940') + +build() { + + cd $startdir/src/mythplugins + svn update + + echo "--------------------------applying patches----------------------------------------------------" + for i in `echo ${patches[@]:0} ` + do + echo applying $i + echo "-----------------------------" + patch -Np0 -i ${startdir}/src/$i || return 1 + done + echo "--------------------------done applying patches-----------------------------------------------" + + [ "$CARCH" = "i686" ] && ARCH="i686" + [ "$CARCH" = "x86_64" ] && ARCH="x86-64" + + # clean up + make distclean + + # configure + ./configure --prefix=/usr --cpu=${ARCH} --disable-all --enable-opengl \ + --enable-mythvideo || return 1 + + # build and install + . /etc/profile + make || return 1 + make INSTALL_ROOT=$startdir/pkg install || return 1 + +} + diff --git a/abs/core/mythtv/old/stable-0.23/mythweather/PKGBUILD b/abs/core/mythtv/old/stable-0.23/mythweather/PKGBUILD new file mode 100644 index 0000000..bb92f2d --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/mythweather/PKGBUILD @@ -0,0 +1,47 @@ +pkgname=mythweather +pkgver=0.23 +pkgrel=30 +pkgdesc="Weather checking plugin for MythTV" +url="http://www.mythtv.org" +license="GPL" +arch=('i686' 'x86_64') + +depends=('mythtv>=0.23' 'wget' 'perl-date-manip' 'perl-xml-simple' 'perl-xml-xpath' 'perl-image-size' 'perl-datetime-format-iso8601' 'perl-soap-lite') +groups=('mythtv-extras') + +patches=() +source=('ftp://ftp.knoppmyth.net/R6/sources/mythplugins-0.23-fixes.tar.bz2' `echo${patches[@]:0}`) + +md5sums=('590c6e72c72e10d4c7edf72d7fb6b940') + +build() { + + cd $startdir/src/mythplugins + svn update + + echo "--------------------------applying patches----------------------------------------------------" + for i in `echo ${patches[@]:0} ` + do + echo applying $i + echo "-----------------------------" + patch -Np0 -i ${startdir}/src/$i || return 1 + done + echo "--------------------------done applying patches-----------------------------------------------" + + [ "$CARCH" = "i686" ] && ARCH="i686" + [ "$CARCH" = "x86_64" ] && ARCH="x86-64" + + # clean up + make distclean + + # configure + ./configure --prefix=/usr --cpu=${ARCH} --disable-all --enable-opengl \ + --enable-mythweather || return 1 + + # build and install + . /etc/profile + make || return 1 + make INSTALL_ROOT=$startdir/pkg install || return 1 + +} + diff --git a/abs/core/mythtv/old/stable-0.23/mythweb/PKGBUILD b/abs/core/mythtv/old/stable-0.23/mythweb/PKGBUILD new file mode 100644 index 0000000..a3b581a --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/mythweb/PKGBUILD @@ -0,0 +1,46 @@ +pkgname=mythweb +pkgver=0.23 +pkgrel=29 +pkgdesc="Web interface for MythTV's backend" +url="http://www.mythtv.org" +license="GPL" +arch=('i686' 'x86_64') + +depends=('mythtv>=0.23' 'lighttpd' 'php' 'local-website') +groups=('mythtv-extras') +install=mythweb.install + +patches=() +source=('ftp://ftp.knoppmyth.net/R6/sources/mythplugins-0.23-fixes.tar.bz2' `echo${patches[@]:0}`) + +md5sums=('590c6e72c72e10d4c7edf72d7fb6b940') + +DOCROOT=/data/srv/httpd/htdocs/mythweb + +build() { + + cd $startdir/src/mythplugins + svn update + + echo "--------------------------applying patches----------------------------------------------------" + for i in `echo ${patches[@]:0} ` + do + echo applying $i + echo "-----------------------------" + patch -Np0 -i ${startdir}/src/$i || return 1 + done + echo "--------------------------done applying patches-----------------------------------------------" + + [ "$CARCH" = "i686" ] && ARCH="i686" + [ "$CARCH" = "x86_64" ] && ARCH="x86-64" + + mkdir -p $startdir/pkg/$DOCROOT/{image_cache,php_sessions} + +# cp -r $startdir/src/mythplugins/mythweb/* $startdir/pkg/$DOCROOT +# cp $startdir/src/mythplugins-$pkgver/mythweb/data/.htaccess $startdir/pkg/$DOCROOT + rsync -arp --exclude .svn --delete-excluded $startdir/src/mythplugins/mythweb/* $startdir/pkg/$DOCROOT + rm $startdir/pkg/$DOCROOT/README + chown -R http:users $startdir/pkg/$DOCROOT + chmod g+rw $startdir/pkg/$DOCROOT/{image_cache,php_sessions,data} + +} diff --git a/abs/core/mythtv/old/stable-0.23/mythweb/mythweb.install b/abs/core/mythtv/old/stable-0.23/mythweb/mythweb.install new file mode 100644 index 0000000..470cbd1 --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/mythweb/mythweb.install @@ -0,0 +1,10 @@ +post_install() { + echo "You must create a symlink from /home/httpd/html/mythweb/video_dir" + echo "to your MythTV recordings directory. Don't forget to change the" + echo "permissions so that the webserver can read those files and create" + echo "thumbnails." +} + +op=$1 +shift +$op $* diff --git a/abs/core/mythtv/old/stable-0.23/mythzoneminder/PKGBUILD b/abs/core/mythtv/old/stable-0.23/mythzoneminder/PKGBUILD new file mode 100644 index 0000000..8981f9f --- /dev/null +++ b/abs/core/mythtv/old/stable-0.23/mythzoneminder/PKGBUILD @@ -0,0 +1,47 @@ +pkgname=mythzoneminder +pkgver=0.23 +pkgrel=29 +pkgdesc="Integrates ZoneMinder into MythTV" +url="http://www.mythtv.org" +license="GPL" +arch=('i686' 'x86_64') + +depends=('mythtv>=0.23' 'zoneminder=1.23.3') +groups=('mythtv-extras') + +patches=() +source=('ftp://ftp.knoppmyth.net/R6/sources/mythplugins-0.23-fixes.tar.bz2' `echo${patches[@]:0}`) + +md5sums=('590c6e72c72e10d4c7edf72d7fb6b940') + +build() { + + cd $startdir/src/mythplugins + svn update + + echo "--------------------------applying patches----------------------------------------------------" + for i in `echo ${patches[@]:0} ` + do + echo applying $i + echo "-----------------------------" + patch -Np0 -i ${startdir}/src/$i || return 1 + done + echo "--------------------------done applying patches-----------------------------------------------" + + [ "$CARCH" = "i686" ] && ARCH="i686" + [ "$CARCH" = "x86_64" ] && ARCH="x86-64" + + # clean up + make distclean + + # configure + ./configure --prefix=/usr --cpu=${ARCH} --disable-all --enable-opengl \ + --enable-mythzoneminder || return 1 + + # build and install + . /etc/profile + make || return 1 + make INSTALL_ROOT=$startdir/pkg install || return 1 + +} + diff --git a/abs/core/mythtv/stable-0.24/PKGBUILD b/abs/core/mythtv/stable-0.24/PKGBUILD new file mode 100755 index 0000000..a00c1b6 --- /dev/null +++ b/abs/core/mythtv/stable-0.24/PKGBUILD @@ -0,0 +1,119 @@ +# $Id: PKGBUILD 91139 2010-09-23 10:45:09Z remy $ +# Maintainer: Giovanni Scafora +# Contributor: Juergen Hoetzel +# Contributor: +# Contributor: dorphell + +pkgname=mythtv +pkgver=0.24 +pkgrel=1 +pkgdesc="A Homebrew PVR project" +arch=('i686' 'x86_64') +url="http://www.mythtv.org/" +license=('GPL') +depends=('mysql-clients' 'qt' 'lame' 'lirc-utils' 'ffmpeg-svn' 'libxvmc' + 'fribidi' 'perl-soap-lite' 'perl-date-manip' 'perl-xml-sax' + 'perl-math-round' 'perl-net-upnp' 'perl-dbd-mysql' 'perl-time-hires' + 'libavc1394' 'wget' 'libiec61883' 'mysql-python' 'python-lxml' + 'mesa' 'libxinerama' 'libxrandr' 'faad2' 'libvdpau' 'libcrystalhd-git') +makedepends=('yasm' 'libgl' 'subversion' 'rsync') +replaces=() +groups=('pvr') +#backup=(/usr/share/mythtv/is.xml) +#options=(!strip) +#MAKEFLAGS="-j6" +install='mythtv.install' +patchs=() +#patchs=('smolt_jump.patch') +optdepends=('xmltv: to download tv listings') +#replaces=('mythtv-contrib') +#conflicts=('mythtv-contrib') +source=(#'ftp://ftp.knoppmyth.net/R6/sources/${pkgname}-${pkgver}-fixes.tar.bz2' + 'mythbackend' 'myth.sh' `echo ${patchs[@]:0}` 'mythbackend.lr' 'mythfrontend.lr' 'pretty') + +build() { + _svntrunk="http://svn.mythtv.org/svn/branches/release-0-24-fixes" + _svnmod="${pkgname}" + + # get clean copy from SVN repo + if [ -d "${srcdir}/${pkgname}" ] + then + cd "${srcdir}/${pkgname}" + echo "Updating from SVN..." + svn up + else + cd "${srcdir}" + echo "Checking Out from SVN..." + svn co "${_svntrunk}/${_svnmod}" + cd "${srcdir}/${pkgname}" + fi + + # apply patches + echo "--------------------------applying patches----------------------------------------------------" + for i in `echo ${patchs[@]:0} ` + do + echo applying $i + echo "-----------------------------" + patch -Np0 -i ${startdir}/src/$i || return 1 + done + echo "--------------------------done applying patches-----------------------------------------------" + + sed -i -e "s/\`(svnversion \$\${SVNTREEDIR} 2>\/dev\/null) || echo Unknown\`/$pkgver/" version.pro + find bindings/python contrib -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@' + + # clean up from last build + echo " simple configure to make sure the distclean works" + ./configure + make distclean + echo "our configure" + + ARCH=${CARCH/_/-} + ./configure --prefix=/usr --cpu=${ARCH} \ + --disable-audio-jack \ + --disable-audio-pulse \ + --disable-altivec \ + --disable-distcc \ + --disable-ccache \ + --enable-vdpau \ + --enable-crystalhd \ + --dvb-path=/usr/include \ + --enable-opengl-vsync \ + --with-bindings=perl,python --python=python2 || return 1 + +# qmake mythtv.pro || return 1 + make all || return 1 +} + +package() { + cd "${srcdir}/${pkgname}" + # basic install + make INSTALL_ROOT="${pkgdir}" install + # install contrib files + rsync -arp --exclude .svn --delete-excluded contrib ${pkgdir}/usr/share/mythtv/ || return 1 + # install database structure + rsync -arp --exclude .svn --delete-excluded database ${pkgdir}/usr/share/mythtv/ || return 1 + # install docs + rsync -arp --exclude .svn --delete-excluded docs ${pkgdir}/usr/share/mythtv/ || return 1 + + # patch the xml LinHES style + cp -r ${startdir}/menu-xml/*.xml ${pkgdir}/usr/share/mythtv/themes/defaultmenu/ +# mv ${pkgdir}/usr/share/mythtv/themes/defaultmenu/is.xml ${pkgdir}/usr/share/mythtv/ + cd ${pkgdir}/usr/share/mythtv + patch -p0 < ${startdir}/menu-xml/mainmenu.xml.patch || return 1 + patch -p0 < ${startdir}/menu-xml/optical_menu.xml.patch || return 1 + patch -p0 < ${startdir}/menu-xml/library.xml.patch || return 1 + patch -p0 < ${startdir}/menu-xml/util_menu.xml.patch || return 1 + + # make log dir + mkdir -p ${pkgdir}/var/log/mythtv + chown 1000.1000 ${pkgdir}/var/log/mythtv + mkdir -p ${pkgdir}/etc/logrotate.d + cp ${srcdir}/*.lr ${pkgdir}/etc/logrotate.d + mkdir -p ${pkgdir}/etc/cron.hourly/ + install -m0755 ${srcdir}/pretty ${pkgdir}/etc/cron.hourly/ +} +md5sums=('7ef6de58240e7aad389a0b13d91b1cf6' + '2babd4b8e146a7538d18dcd55695b0be' + 'f735805a80b0d1180dee01f9df1b7004' + 'f407d6af23e74a49540755420f84fa58' + '5469d9921b726db750b991c87d226158') diff --git a/abs/core/mythtv/stable-0.24/__changelog b/abs/core/mythtv/stable-0.24/__changelog new file mode 100644 index 0000000..940f84b --- /dev/null +++ b/abs/core/mythtv/stable-0.24/__changelog @@ -0,0 +1 @@ +update to 0.24-fixes diff --git a/abs/core/mythtv/stable-0.24/menu-xml/HOST_SETTINGS.xml b/abs/core/mythtv/stable-0.24/menu-xml/HOST_SETTINGS.xml new file mode 100644 index 0000000..ac52497 --- /dev/null +++ b/abs/core/mythtv/stable-0.24/menu-xml/HOST_SETTINGS.xml @@ -0,0 +1,94 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/abs/core/mythtv/stable-0.24/menu-xml/is.xml b/abs/core/mythtv/stable-0.24/menu-xml/is.xml new file mode 100644 index 0000000..88b7e6b --- /dev/null +++ b/abs/core/mythtv/stable-0.24/menu-xml/is.xml @@ -0,0 +1,3 @@ + + + diff --git a/abs/core/mythtv/stable-0.24/menu-xml/library.xml.patch b/abs/core/mythtv/stable-0.24/menu-xml/library.xml.patch new file mode 100644 index 0000000..be06e34 --- /dev/null +++ b/abs/core/mythtv/stable-0.24/menu-xml/library.xml.patch @@ -0,0 +1,12 @@ +--- themes/defaultmenu/library.xml.orig 2010-11-06 00:39:51.000000000 +0000 ++++ themes/defaultmenu/library.xml 2010-11-06 00:44:54.000000000 +0000 +@@ -44,8 +44,7 @@ + STREAM + Play Online Streams + +- PLUGIN mythstream +- mythstream ++ MENU is.xml + + + + + + + + + + + + + + diff --git a/abs/core/mythtv/stable-0.24/menu-xml/mainmenu.xml.patch b/abs/core/mythtv/stable-0.24/menu-xml/mainmenu.xml.patch new file mode 100644 index 0000000..2ea90d7 --- /dev/null +++ b/abs/core/mythtv/stable-0.24/menu-xml/mainmenu.xml.patch @@ -0,0 +1,35 @@ +--- themes/defaultmenu/mainmenu.xml.orig 2010-11-06 00:39:35.000000000 +0000 ++++ themes/defaultmenu/mainmenu.xml 2010-11-06 00:41:27.000000000 +0000 +@@ -2,6 +2,13 @@ + + + ++ ++ + +- +- +- +- + diff --git a/abs/core/mythtv/stable-0.24/menu-xml/mythbackup.xml b/abs/core/mythtv/stable-0.24/menu-xml/mythbackup.xml new file mode 100644 index 0000000..5914b33 --- /dev/null +++ b/abs/core/mythtv/stable-0.24/menu-xml/mythbackup.xml @@ -0,0 +1,20 @@ + + + + + + + + diff --git a/abs/core/mythtv/stable-0.24/menu-xml/mythrestore.xml b/abs/core/mythtv/stable-0.24/menu-xml/mythrestore.xml new file mode 100644 index 0000000..8f5c285 --- /dev/null +++ b/abs/core/mythtv/stable-0.24/menu-xml/mythrestore.xml @@ -0,0 +1,20 @@ + + + + + + + + diff --git a/abs/core/mythtv/stable-0.24/menu-xml/optical_menu.xml.patch b/abs/core/mythtv/stable-0.24/menu-xml/optical_menu.xml.patch new file mode 100644 index 0000000..143424f --- /dev/null +++ b/abs/core/mythtv/stable-0.24/menu-xml/optical_menu.xml.patch @@ -0,0 +1,16 @@ +--- themes/defaultmenu/optical_menu.xml.orig 2010-11-06 00:39:43.000000000 +0000 ++++ themes/defaultmenu/optical_menu.xml 2010-11-06 00:42:59.000000000 +0000 +@@ -26,6 +26,13 @@ + + + ++ ++ + + + + + + + + + + + + diff --git a/abs/core/mythtv/stable-0.24/menu-xml/siriusmenu.xml b/abs/core/mythtv/stable-0.24/menu-xml/siriusmenu.xml new file mode 100644 index 0000000..e317b36 --- /dev/null +++ b/abs/core/mythtv/stable-0.24/menu-xml/siriusmenu.xml @@ -0,0 +1,419 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/abs/core/mythtv/stable-0.24/menu-xml/update.xml b/abs/core/mythtv/stable-0.24/menu-xml/update.xml new file mode 100644 index 0000000..5b28833 --- /dev/null +++ b/abs/core/mythtv/stable-0.24/menu-xml/update.xml @@ -0,0 +1,20 @@ + + + + + + + + diff --git a/abs/core/mythtv/stable-0.24/menu-xml/update2.xml b/abs/core/mythtv/stable-0.24/menu-xml/update2.xml new file mode 100644 index 0000000..2ab82ea --- /dev/null +++ b/abs/core/mythtv/stable-0.24/menu-xml/update2.xml @@ -0,0 +1,26 @@ + + + + + + + + + + diff --git a/abs/core/mythtv/stable-0.24/menu-xml/util_menu.xml.patch b/abs/core/mythtv/stable-0.24/menu-xml/util_menu.xml.patch new file mode 100644 index 0000000..82d303e --- /dev/null +++ b/abs/core/mythtv/stable-0.24/menu-xml/util_menu.xml.patch @@ -0,0 +1,16 @@ +--- themes/defaultmenu/util_menu.xml.orig 2010-11-06 00:40:01.000000000 +0000 ++++ themes/defaultmenu/util_menu.xml 2010-11-06 00:45:42.000000000 +0000 +@@ -17,6 +17,13 @@ + + + ++ ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/abs/core/mythtv/stable-0.24/myth.sh b/abs/core/mythtv/stable-0.24/myth.sh new file mode 100755 index 0000000..fb7122c --- /dev/null +++ b/abs/core/mythtv/stable-0.24/myth.sh @@ -0,0 +1,4 @@ +export PATH=$PATH:/usr/local/bin +# set core file size to 0 +ulimit -c 0 +export MALLOC_CHECK_=0 \ No newline at end of file diff --git a/abs/core/mythtv/stable-0.24/mythbackend b/abs/core/mythtv/stable-0.24/mythbackend new file mode 100755 index 0000000..93773a2 --- /dev/null +++ b/abs/core/mythtv/stable-0.24/mythbackend @@ -0,0 +1,38 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +PID=`pidof -o %PPID /usr/bin/mythbackend` +case "$1" in + start) + stat_busy "Starting MythTV Backend" + [ ! -e /var/run/mysqld.pid ] && echo -n "mysqld not started" && stat_fail && exit + [ -z "$PID" ] && /usr/bin/mythbackend -d -l /var/log/mythbackend.log -v important + if [ $? -gt 0 ]; then + stat_fail + else + echo $PID > /var/run/mythbackend.pid + add_daemon mythbackend + stat_done + fi + ;; + stop) + stat_busy "Stopping MythTV Backend" + [ ! -z "$PID" ] && kill $PID &>/dev/null + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon mythbackend + stat_done + fi + ;; + restart) + $0 stop + sleep 1s + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0 diff --git a/abs/core/mythtv/stable-0.24/mythbackend.lr b/abs/core/mythtv/stable-0.24/mythbackend.lr new file mode 100644 index 0000000..4f218bc --- /dev/null +++ b/abs/core/mythtv/stable-0.24/mythbackend.lr @@ -0,0 +1,9 @@ +/var/log/mythtv/mythbackend.log { + copytruncate + daily + size 10M + missingok + rotate 7 + compress + notifempty +} diff --git a/abs/core/mythtv/stable-0.24/mythbackend.sh b/abs/core/mythtv/stable-0.24/mythbackend.sh new file mode 100755 index 0000000..e7a7b70 --- /dev/null +++ b/abs/core/mythtv/stable-0.24/mythbackend.sh @@ -0,0 +1,117 @@ +#!/bin/bash +# +# /etc/rc.d/init.d/mythbackend +# +# Starts the mythbackend as a daemon +# +# chkconfig: 345 90 10 +# description: Starts the mythbackend process as a daemon after the XWindows \ +# system is started, in runlevel 5. This allows scheduled \ +# recordings to occur without manual intervention. +# processname: mythbackend + +# Copyright (c) by Michael Thomson +# With thanks to Stu Tomlinson +# +# 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +# Default values to use if none are supplied in the config file. +# User who should start the mythbackend processes +MBE_USER="root" +# Directory holding the mythbackend binary +MBE_LOCATION="/usr/local/bin/" +# Name of mythbackend binary +MBE_PROG="mythbackend" +# Full path to mythbackend log file +MBE_LOGFILE="/var/log/mythtv/mythbackend.log" + +# Source function library. +. /etc/init.d/functions + +# Source config file if available +if [ -f "/etc/sysconfig/mythbackend" ]; then + . /etc/sysconfig/mythbackend +fi + +test -x ${MBE_LOCATION}${MBE_PROG} || exit 0 + +RETVAL=0 + +# +# See how we were called. +# + +start() { + # Check if mythbackend is already running + if [ ! -f /var/lock/subsys/${MBE_PROG} ]; then + echo -n "Starting ${MBE_PROG}: " + # /usr/local/bin/mythbackend -d -l /some/log/file + #daemon --user ${MBE_USER} ${MBE_LOCATION}${MBE_PROG} -d -l ${MBE_LOGFILE} + ${MBE_LOCATION}${MBE_PROG} -d -l ${MBE_LOGFILE} + RETVAL=$? + [ $RETVAL -eq 0 ] && touch /var/lock/subsys/${MBE_PROG} + echo + fi + return $RETVAL +} + +stop() { + echo -n "Stopping ${MBE_PROG}: " + killproc ${MBE_LOCATION}${MBE_PROG} + RETVAL=$? + [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/${MBE_PROG} + echo + return $RETVAL +} + + +restart() { + stop + start +} + +reload() { + restart +} + +status_at() { + status ${MBE_LOCATION}${MBE_PROG} +} + +case "$1" in +start) + start + ;; +stop) + stop + ;; +reload|restart) + restart + ;; +condrestart) + if [ -f /var/lock/subsys/${MBE_PROG} ]; then + restart + fi + ;; +status) + status_at + ;; +*) + echo "Usage: $0 {start|stop|restart|condrestart|status}" + exit 1 +esac + +exit $? +exit $RETVAL diff --git a/abs/core/mythtv/stable-0.24/mythfrontend.lr b/abs/core/mythtv/stable-0.24/mythfrontend.lr new file mode 100644 index 0000000..1580533 --- /dev/null +++ b/abs/core/mythtv/stable-0.24/mythfrontend.lr @@ -0,0 +1,9 @@ +/var/log/mythtv/mythfrontend.log { + copytruncate + daily + size 10M + missingok + rotate 7 + compress + notifempty +} diff --git a/abs/core/mythtv/stable-0.24/mythtv.install b/abs/core/mythtv/stable-0.24/mythtv.install new file mode 100755 index 0000000..0524f86 --- /dev/null +++ b/abs/core/mythtv/stable-0.24/mythtv.install @@ -0,0 +1,47 @@ +# arg 1: the new package version +post_install() { + if [ ! -d /var/log/mythtv ] + then + mkdir -p /var/log/mythv + chown -R mythtv /var/log/mythtv + echo "---" > /var/log/mythtv/mythbackend.log + chown mythtv /var/log/mythtv/mythbackend.log + fi + ln -s /usr/share/mythtv/themes/defaultmenu/is.xml /usr/share/mythtv/is.xml +} + +pre_upgrade() { + if [ ! -L /usr/share/mythtv/is.xml ] + then + mv /usr/share/mythtv/is.xml /usr/share/mythtv/is.xml.pre + else + mv /usr/share/mythtv/themes/defaultmenu/is.xml /usr/share/mythtv/themes/defaultmenu/is.xml.pre + fi +} + +post_upgrade() { + if [ ! -d /var/log/mythtv ] + then + mkdir -p /var/log/mythv + chown -R mythtv /var/log/mythtv + fi + if [ -e /usr/share/mythtv/is.xml.pre ] + then + rm -fr /usr/share/mythtv/themes/defaultmenu/is.xml + mv /usr/share/mythtv/is.xml.pre /usr/share/mythtv/themes/defaultmenu/is.xml + ln -s /usr/share/mythtv/themes/defaultmenu/is.xml /usr/share/mythtv/is.xml + else + mv /usr/share/mythtv/themes/defaultmenu/is.xml.pre /usr/share/mythtv/themes/defaultmenu/is.xml + fi +} + + +# arg 1: the old package version +post_remove() { + /bin/true + +} + +op=$1 +shift +$op $* diff --git a/abs/core/mythtv/stable-0.24/pretty b/abs/core/mythtv/stable-0.24/pretty new file mode 100755 index 0000000..7e0ab21 --- /dev/null +++ b/abs/core/mythtv/stable-0.24/pretty @@ -0,0 +1,9 @@ +#!/bin/bash +if [ -f /usr/share/mythtv/contrib/user_jobs/mythlink.pl ] +then + su - mythtv -c "perl /usr/share/mythtv/contrib/user_jobs/mythlink.pl --link /myth/pretty" +elif [ -f /usr/share/mythtv/contrib/user_jobs/mythrename.pl ] +then + su - mythtv -c "perl /usr/share/mythtv/contrib/user_jobs/mythrename.pl --link /myth/pretty" +fi + diff --git a/abs/core/mythtv/stable-0.24/smolt_jump.patch b/abs/core/mythtv/stable-0.24/smolt_jump.patch new file mode 100644 index 0000000..0fc452a --- /dev/null +++ b/abs/core/mythtv/stable-0.24/smolt_jump.patch @@ -0,0 +1,30 @@ +Index: programs/mythfrontend/networkcontrol.cpp +=================================================================== +--- programs/mythfrontend/networkcontrol.cpp (revision 19291) ++++ programs/mythfrontend/networkcontrol.cpp (working copy) +@@ -83,6 +83,7 @@ + jumpMap["zoneminderliveview"] = "ZoneMinder Live View"; + jumpMap["zoneminderevents"] = "ZoneMinder Events"; + jumpMap["snapshot"] = "ScreenShot"; ++ jumpMap["mythsmolt"] = "MythSmolt"; + + // These jump point names match the (lowercased) locations from gContext + jumpMap["channelrecpriority"] = "Channel Recording Priorities"; +@@ -191,7 +192,7 @@ + pthread_create(&command_thread, NULL, CommandThread, this); + + gContext->addListener(this); +- ++ + connect(this, SIGNAL(newConnection()), this, SLOT(newConnection())); + } + +@@ -307,7 +308,7 @@ + cs = new QTextStream(s); + cs->setCodec("UTF-8"); + } +- ++ + if (client) + { + closedOldConn = true; -- cgit v0.12 From 28df92c527607da6a77cbc2ba0f8f62bc6dff548 Mon Sep 17 00:00:00 2001 From: Michael Hanson Date: Sat, 6 Nov 2010 03:49:34 +0000 Subject: mythplugins: update to 0.24 - untested --- abs/core/mythplugins/PKGBUILD | 144 +++++++++++++++++++++ abs/core/mythplugins/mtd | 36 ++++++ .../mythplugins/mythplugins-mythzoneminder.install | 3 + abs/core/mythplugins/qt-4.7-buildfixes.diff | 26 ++++ 4 files changed, 209 insertions(+) create mode 100644 abs/core/mythplugins/PKGBUILD create mode 100644 abs/core/mythplugins/mtd create mode 100644 abs/core/mythplugins/mythplugins-mythzoneminder.install create mode 100644 abs/core/mythplugins/qt-4.7-buildfixes.diff diff --git a/abs/core/mythplugins/PKGBUILD b/abs/core/mythplugins/PKGBUILD new file mode 100644 index 0000000..dbb0627 --- /dev/null +++ b/abs/core/mythplugins/PKGBUILD @@ -0,0 +1,144 @@ +# $Id: PKGBUILD 91281 2010-09-26 06:04:21Z remy $ +# Maintainer: Giovanni Scafora + +pkgbase=mythplugins +pkgname=('mythplugins-mytharchive' + 'mythplugins-mythbrowser' + 'mythplugins-mythgallery' + 'mythplugins-mythgame' + 'mythplugins-mythmusic' + 'mythplugins-mythnetvision' + 'mythplugins-mythnews' + 'mythplugins-mythvideo' + 'mythplugins-mythweather' + 'mythplugins-mythweb' + 'mythplugins-mythzoneminder') +pkgver=0.24 +pkgrel=1 +arch=('i686' 'x86_64') +url="http://www.mythtv.org" +license=('GPL') +conflicts=('mythmovies') +makedepends=("mythtv>=${pkgver}" 'mplayer' 'fftw' 'dvdauthor' 'libexif' + 'python-imaging' 'libcdaudio' 'taglib' 'perl-xml-simple' 'dcraw' + 'libvisual' 'perl-xml-xpath' 'perl-image-size' + 'perl-class-inspector' 'perl-datetime-format-iso8601' + 'flac' 'libvorbis' 'python-pycurl' 'python-oauth') +#source=(ftp://ftp.archlinux.org/other/mythtv/${pkgbase}-${pkgver}.tar.xz) + +build() { + _svntrunk="http://svn.mythtv.org/svn/branches/release-0-24-fixes" + _svnmod="${pkgbase}" + + # get clean copy from SVN repo + if [ -d "${srcdir}/${pkgbase}" ] + then + cd "${srcdir}/${pkgbase}" + echo "Updating from SVN..." + svn up + else + cd "${srcdir}" + echo "Checking Out from SVN..." + svn co "${_svntrunk}/${_svnmod}" + fi + + cd "${srcdir}/${pkgbase}" + find . -name '*.py' -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@' + ./configure --prefix=/usr \ + --enable-all + + qmake mythplugins.pro || return 1 + make || return 1 +} + +package_mythplugins-mytharchive() { + pkgdesc="MythTV plugin that lets you create DVDs from or archive your recorded shows" + depends=("mythtv>=${pkgver}" 'libxmu' 'pil' 'dvdauthor') + replaces=('mytharchive') + cd "${srcdir}/${pkgbase}/mytharchive" + make INSTALL_ROOT="${pkgdir}" install || return 1 +} + +package_mythplugins-mythbrowser() { + pkgdesc="Mini web browser for MythTV" + depends=("mythtv>=${pkgver}") + replaces=('mythbrowser') + cd "${srcdir}/${pkgbase}/mythbrowser" + make INSTALL_ROOT="${pkgdir}" install || return 1 +} + +package_mythplugins-mythgallery() { + pkgdesc="Image gallery plugin for MythTV" + depends=("mythtv>=${pkgver}" 'libexif') + replaces=('mythgallery') + cd "${srcdir}/${pkgbase}/mythgallery" + make INSTALL_ROOT="${pkgdir}" install || return 1 +} + +package_mythplugins-mythgame() { + pkgdesc="Game emulator module for MythTV" + depends=("mythtv>=${pkgver}" 'zlib') + replaces=('mythgame') + cd "${srcdir}/${pkgbase}/mythgame" + make INSTALL_ROOT="${pkgdir}" install || return 1 +} + +package_mythplugins-mythmusic() { + pkgdesc="Music playing plugin for MythTV" + depends=("mythtv>=${pkgver}" 'flac' 'libvorbis' 'libcdaudio' 'cdparanoia' 'taglib' 'libvisual') + replaces=('mythmusic') + cd "${srcdir}/${pkgbase}/mythmusic" + make INSTALL_ROOT="${pkgdir}" install || return 1 +} + +package_mythplugins-mythnetvision() { + pkgdesc="MythNetvision plugin for MythTV" + depends=("mythtv>=${pkgver}" 'python-pycurl' 'python-oauth') + cd "${srcdir}/${pkgbase}/mythnetvision" + make INSTALL_ROOT="${pkgdir}" install || return 1 +} + +package_mythplugins-mythnews() { + pkgdesc="News checking plugin for MythTV" + depends=("mythtv>=${pkgver}") + replaces=('mythnews') + cd "${srcdir}/${pkgbase}/mythnews" + make INSTALL_ROOT="${pkgdir}" install || return 1 +} + +package_mythplugins-mythvideo() { + pkgdesc="Video playback and browsing plugin for MythTV" + depends=("mythtv>=${pkgver}" 'mplayer' 'perl-xml-simple') + replaces=('mythvideo') + cd "${srcdir}/${pkgbase}/mythvideo" + make INSTALL_ROOT="${pkgdir}" install || return 1 +} + +package_mythplugins-mythweather() { + pkgdesc="Weather checking plugin for MythTV" + depends=("mythtv>=${pkgver}" 'perl-xml-xpath' 'perl-image-size' 'perl-class-inspector' 'perl-datetime-format-iso8601') + replaces=('mythweather') + cd "${srcdir}/${pkgbase}/mythweather" + make INSTALL_ROOT="${pkgdir}" install || return 1 +} + +package_mythplugins-mythweb() { + pkgdesc="Web interface for MythTV's backend" + depends=("mythtv>=${pkgver}") + optdepends=('php-apache' + 'lighttpd') + replaces=('mythweb') + mkdir -p ${pkgdir}/data/srv/httpd/htdocs/mythweb/{image_cache,php_sessions} + cp -r ${srcdir}/mythplugins/mythweb/* ${pkgdir}/data/srv/httpd/htdocs/mythweb || return 1 + chown -R http:http ${pkgdir}/data/srv/httpd/htdocs/mythweb + chmod g+rw ${pkgdir}/data/srv/httpd/htdocs/mythweb/{image_cache,php_sessions,data} +} + +package_mythplugins-mythzoneminder() { + pkgdesc="Allows for viewing of CCTV cameras through zoneminder" + depends=("mythtv>=${pkgver}" zoneminder) + replaces=('mythzoneminder') +# install=mythplugins-mythzoneminder.install + cd "${srcdir}/${pkgbase}/mythzoneminder" + make INSTALL_ROOT="${pkgdir}" install || return 1 +} diff --git a/abs/core/mythplugins/mtd b/abs/core/mythplugins/mtd new file mode 100644 index 0000000..1f46dfe --- /dev/null +++ b/abs/core/mythplugins/mtd @@ -0,0 +1,36 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +PID=`pidof -o %PPID /usr/bin/mtd` +case "$1" in + start) + stat_busy "Starting Myth Transcoding Daemon" + [ -z "$PID" ] && /usr/bin/mtd -d + if [ $? -gt 0 ]; then + stat_fail + else + echo $PID > /var/run/mtd.pid + add_daemon mythtranscode + stat_done + fi + ;; + stop) + stat_busy "Stopping Myth Transcoding Daemon" + [ ! -z "$PID" ] && kill $PID &>/dev/null + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon mtd + stat_done + fi + ;; + restart) + $0 stop + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0 diff --git a/abs/core/mythplugins/mythplugins-mythzoneminder.install b/abs/core/mythplugins/mythplugins-mythzoneminder.install new file mode 100644 index 0000000..142212b --- /dev/null +++ b/abs/core/mythplugins/mythplugins-mythzoneminder.install @@ -0,0 +1,3 @@ +post_install() { + echo "If you want to use this plugin, install zoneminder from AUR." +} diff --git a/abs/core/mythplugins/qt-4.7-buildfixes.diff b/abs/core/mythplugins/qt-4.7-buildfixes.diff new file mode 100644 index 0000000..dcffebe --- /dev/null +++ b/abs/core/mythplugins/qt-4.7-buildfixes.diff @@ -0,0 +1,26 @@ +Index: /branches/release-0-23-fixes/mythplugins/mythnetvision/mythnetvision/netsearch.cpp +=================================================================== +--- /branches/release-0-23-fixes/mythplugins/mythnetvision/mythnetvision/netsearch.cpp (revision 24265) ++++ /branches/release-0-23-fixes/mythplugins/mythnetvision/mythnetvision/netsearch.cpp (revision 26391) +@@ -45,7 +45,7 @@ + m_progress(NULL), m_busyPopup(NULL), + m_okPopup(NULL), m_popupStack(), +- m_netSearch(), m_currentSearch(NULL), +- m_currentGrabber(0), m_currentCmd(NULL), +- m_currentDownload(NULL), m_pagenum(0), ++ m_netSearch(), m_currentSearch(QString()), ++ m_currentGrabber(0), m_currentCmd(QString()), ++ m_currentDownload(QString()), m_pagenum(0), + m_lock(QMutex::Recursive) + { +Index: /branches/release-0-23-fixes/mythplugins/mythvideo/mythvideo/videodlg.h +=================================================================== +--- /branches/release-0-23-fixes/mythplugins/mythvideo/mythvideo/videodlg.h (revision 22916) ++++ /branches/release-0-23-fixes/mythplugins/mythvideo/mythvideo/videodlg.h (revision 26391) +@@ -151,5 +151,5 @@ + QString GetCoverImage(MythGenericTree *node); + QString GetFirstImage(MythGenericTree *node, QString type, +- QString gpnode = NULL, int levels = 0); ++ QString gpnode = QString(), int levels = 0); + QString GetImageFromFolder(Metadata *metadata); + QString GetScreenshot(MythGenericTree *node); -- cgit v0.12