summaryrefslogtreecommitdiffstats
path: root/abs/extra
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra')
-rw-r--r--abs/extra/abs/PKGBUILD31
-rw-r--r--abs/extra/abs/abs.install12
-rw-r--r--abs/extra/alpine/2.00-lpam.patch13
-rw-r--r--abs/extra/alpine/CVE-2008-5514.patch20
-rw-r--r--abs/extra/alpine/ChangeLog43
-rw-r--r--abs/extra/alpine/PKGBUILD37
-rw-r--r--abs/extra/alsa-driver/PKGBUILD25
-rw-r--r--abs/extra/alsa-driver/alsa-driver.install8
-rw-r--r--abs/extra/alsa-firmware/PKGBUILD37
-rw-r--r--abs/extra/apcupsd/PKGBUILD38
-rwxr-xr-xabs/extra/apcupsd/apcupsd44
-rw-r--r--abs/extra/apcupsd/apcupsd.conf325
-rw-r--r--abs/extra/apcupsd/run4
-rw-r--r--abs/extra/bash-completion/PKGBUILD33
-rw-r--r--abs/extra/beautiful-soup/PKGBUILD19
-rw-r--r--abs/extra/bluez-firmware/PKGBUILD25
-rw-r--r--abs/extra/bluez-hcidump/PKGBUILD27
-rw-r--r--abs/extra/cabextract/PKGBUILD23
-rw-r--r--abs/extra/ccache/PKGBUILD34
-rw-r--r--abs/extra/celt-0.7/PKGBUILD36
-rw-r--r--abs/extra/community/agg/PKGBUILD34
-rw-r--r--abs/extra/community/agg/agg-2.4-depends.patch48
-rw-r--r--abs/extra/community/agg/agg-2.5-pkgconfig.patch10
-rw-r--r--abs/extra/community/amule/PKGBUILD44
-rw-r--r--abs/extra/community/blockcontrol/PKGBUILD37
-rw-r--r--abs/extra/community/blockcontrol/blockcontrol.lib.patch15
-rw-r--r--abs/extra/community/chromium/PKGBUILD145
-rw-r--r--abs/extra/community/chromium/__changelog2
-rw-r--r--abs/extra/community/chromium/chromium-media-no-sse-r0.patch17
-rw-r--r--abs/extra/community/chromium/chromium.desktop113
-rw-r--r--abs/extra/community/chromium/chromium.install12
-rwxr-xr-xabs/extra/community/chromium/chromium.sh4
-rw-r--r--abs/extra/community/chromium/gcc-4.6.patch99
-rw-r--r--abs/extra/community/chromium/nacl-cflags-remove-fstack-protector.patch17
-rw-r--r--abs/extra/community/chrpath/ChangeLog10
-rw-r--r--abs/extra/community/chrpath/PKGBUILD20
-rw-r--r--abs/extra/community/cksfv/PKGBUILD21
-rw-r--r--abs/extra/community/codecs/PKGBUILD22
-rw-r--r--abs/extra/community/curlftpfs/PKGBUILD30
-rw-r--r--abs/extra/community/curlftpfs/ioerror.patch11
-rw-r--r--abs/extra/community/cwiid-git/PKGBUILD67
-rw-r--r--abs/extra/community/cwiid-git/cwiid.install16
-rw-r--r--abs/extra/community/deluge/PKGBUILD40
-rw-r--r--abs/extra/community/deluge/__changelog1
-rw-r--r--abs/extra/community/deluge/deluge-web42
-rw-r--r--abs/extra/community/deluge/deluge.install29
-rw-r--r--abs/extra/community/deluge/deluged43
-rw-r--r--abs/extra/community/deluge/deluged.conf.d1
-rw-r--r--abs/extra/community/djmount/PKGBUILD25
-rw-r--r--abs/extra/community/djmount/djmount.confd2
-rwxr-xr-xabs/extra/community/djmount/djmount.rcd39
-rw-r--r--abs/extra/community/fluxconf/PKGBUILD24
-rw-r--r--abs/extra/community/fuzemux/PKGBUILD26
-rw-r--r--abs/extra/community/fuzemux/fuzemux.install5
-rw-r--r--abs/extra/community/gnash/PKGBUILD59
-rw-r--r--abs/extra/community/gpac/PKGBUILD44
-rw-r--r--abs/extra/community/gpac/libpng14-infopp-null.patch12
-rw-r--r--abs/extra/community/gtkglext/PKGBUILD25
-rw-r--r--abs/extra/community/gtkglext/gtkglext-1.0.6-pangox.patch30
-rw-r--r--abs/extra/community/ircii/PKGBUILD16
-rw-r--r--abs/extra/community/js/PKGBUILD31
-rw-r--r--abs/extra/community/js/spidermonkey-1.7-threadsafe.patch16
-rw-r--r--abs/extra/community/js/spidermonkey-Makefile.patch22
-rw-r--r--abs/extra/community/libcec/PKGBUILD30
-rw-r--r--abs/extra/community/libdnet/PKGBUILD33
-rw-r--r--abs/extra/community/libdnet/libdnet.install3
-rw-r--r--abs/extra/community/libelf/PKGBUILD25
-rw-r--r--abs/extra/community/libnetfilter_queue/PKGBUILD24
-rw-r--r--abs/extra/community/libnfnetlink/PKGBUILD22
-rw-r--r--abs/extra/community/libstdc++5/PKGBUILD41
-rw-r--r--abs/extra/community/libstdc++5/gcc-3.4.3-no_multilib_amd64.patch11
-rw-r--r--abs/extra/community/mediatomb/PKGBUILD49
-rw-r--r--abs/extra/community/mediatomb/gcc46.patch10
-rw-r--r--abs/extra/community/mediatomb/mediatomb.conf23
-rw-r--r--abs/extra/community/mediatomb/mediatomb.install9
-rw-r--r--abs/extra/community/mediatomb/mediatomb.rc54
-rw-r--r--abs/extra/community/mediatomb/tonewjs.patch564
-rw-r--r--abs/extra/community/mmv/PKGBUILD35
-rw-r--r--abs/extra/community/mmv/mmv.install19
-rw-r--r--abs/extra/community/moblock/MoBlock-nfq.sh.patch53
-rwxr-xr-xabs/extra/community/moblock/PKGBUILD57
-rw-r--r--abs/extra/community/moblock/config30
-rwxr-xr-xabs/extra/community/moblock/moblock70
-rwxr-xr-xabs/extra/community/moblock/moblock-update174
-rw-r--r--abs/extra/community/moblock/moblock.install26
-rw-r--r--abs/extra/community/moblock/moblock.logrotate11
-rw-r--r--abs/extra/community/moblock/moblock_0.9_rc2.patch912
-rw-r--r--abs/extra/community/moblock/moblock_include.patch10
-rw-r--r--abs/extra/community/mobloquer/PKGBUILD26
-rw-r--r--abs/extra/community/motion-svn/PKGBUILD42
-rw-r--r--abs/extra/community/motion-svn/motion-svn.install11
-rw-r--r--abs/extra/community/motion-svn/rc.motion36
-rw-r--r--abs/extra/community/mre/PKGBUILD35
-rw-r--r--abs/extra/community/mre/mre-1.1.2.tar.gzbin19685 -> 0 bytes
-rwxr-xr-xabs/extra/community/mre/mre.install20
-rw-r--r--abs/extra/community/mre/mre.lr9
-rw-r--r--abs/extra/community/mre/patch.diff293
-rwxr-xr-xabs/extra/community/mre/run12
-rw-r--r--abs/extra/community/mythpywii/CONTROLS25
-rw-r--r--abs/extra/community/mythpywii/PKGBUILD37
-rw-r--r--abs/extra/community/mythpywii/mythpywii.install65
-rw-r--r--abs/extra/community/mythpywii/wiimote.rules6
-rw-r--r--abs/extra/community/nvclock/PKGBUILD27
-rw-r--r--abs/extra/community/nvclock/nvclock-0.8b4-buildfix.patch16
-rw-r--r--abs/extra/community/nxtvepg/PKGBUILD45
-rw-r--r--abs/extra/community/nxtvepg/nxtvepg-icon-16.pngbin193 -> 0 bytes
-rw-r--r--abs/extra/community/nxtvepg/nxtvepg-icon-32.pngbin267 -> 0 bytes
-rw-r--r--abs/extra/community/nxtvepg/nxtvepg-icon-48.pngbin333 -> 0 bytes
-rw-r--r--abs/extra/community/nxtvepg/nxtvepg.desktop10
-rw-r--r--abs/extra/community/nxtvepg/tcl_85.patch13
-rwxr-xr-xabs/extra/community/nzbperl/PKGBUILD16
-rw-r--r--abs/extra/community/patchutils/PKGBUILD27
-rwxr-xr-xabs/extra/community/peardb/PKGBUILD24
-rwxr-xr-xabs/extra/community/pearlog/PKGBUILD27
-rw-r--r--abs/extra/community/portaudio/PKGBUILD28
-rw-r--r--abs/extra/community/powernowd/PKGBUILD28
-rw-r--r--abs/extra/community/powernowd/finish25
-rw-r--r--abs/extra/community/powernowd/powernowd.conf.d6
-rw-r--r--abs/extra/community/powernowd/powernowd.install19
-rw-r--r--abs/extra/community/powernowd/run25
-rw-r--r--abs/extra/community/projectx/PKGBUILD45
-rw-r--r--abs/extra/community/projectx/projectx10
-rw-r--r--abs/extra/community/smplayer/ChangeLog74
-rw-r--r--abs/extra/community/smplayer/PKGBUILD35
-rw-r--r--abs/extra/community/squeezeboxserver/PKGBUILD34
-rw-r--r--abs/extra/community/squeezeboxserver/squeezeboxserver.conf.d7
-rw-r--r--abs/extra/community/squeezeboxserver/squeezeboxserver.install56
-rw-r--r--abs/extra/community/squeezeboxserver/squeezeboxserver.rc47
-rw-r--r--abs/extra/community/tig/PKGBUILD27
-rw-r--r--abs/extra/community/transmission-cli/PKGBUILD45
-rwxr-xr-xabs/extra/community/transmission-cli/run.transmissiond29
-rw-r--r--abs/extra/community/transmission-cli/transmission-cli.install28
-rw-r--r--abs/extra/community/transmission-cli/transmission.include15
-rw-r--r--abs/extra/community/transmission-cli/transmissiond.conf2
-rw-r--r--abs/extra/community/tre/PKGBUILD28
-rw-r--r--abs/extra/community/twisted/PKGBUILD29
-rw-r--r--abs/extra/community/twisted/twisted.install11
-rw-r--r--abs/extra/community/unrar/PKGBUILD23
-rw-r--r--abs/extra/community/unrar/unrar-3.5.2-optimalization-fix.patch12
-rw-r--r--abs/extra/community/uriparser/PKGBUILD22
-rw-r--r--abs/extra/community/uudeview/PKGBUILD30
-rw-r--r--abs/extra/community/video4fuze/PKGBUILD38
-rw-r--r--abs/extra/community/video4fuze/video4fuze.install9
-rw-r--r--abs/extra/community/vsftpd/PKGBUILD44
-rw-r--r--abs/extra/community/vsftpd/__changelog1
-rw-r--r--abs/extra/community/vsftpd/run13
-rw-r--r--abs/extra/community/vsftpd/vsftpd.d67
-rw-r--r--abs/extra/community/vsftpd/vsftpd.install17
-rw-r--r--abs/extra/community/vsftpd/vsftpd.xinetd10
-rw-r--r--abs/extra/community/zope-interface/PKGBUILD21
-rw-r--r--abs/extra/community/zvbi/PKGBUILD25
-rw-r--r--abs/extra/community/zvbi/fix-includes.patch36
-rw-r--r--abs/extra/congruity/PKGBUILD25
-rw-r--r--abs/extra/conky/PKGBUILD47
-rw-r--r--abs/extra/conky/current-power.patch12
-rw-r--r--abs/extra/consolekit/PKGBUILD45
-rw-r--r--abs/extra/consolekit/add_since_option.patch220
-rw-r--r--abs/extra/consolekit/consolekit.logrotate5
-rw-r--r--abs/extra/consolekit/nodaemon.patch9
-rw-r--r--abs/extra/consolekit/pam-foreground-compat.ck16
-rw-r--r--abs/extra/consolekit/reorder-initialization.patch40
-rw-r--r--abs/extra/cpufreqd/PKGBUILD30
-rw-r--r--abs/extra/cpufreqd/cpufreqd35
-rw-r--r--abs/extra/cpufreqd/cpufreqd.install26
-rw-r--r--abs/extra/cpufrequtils/PKGBUILD32
-rw-r--r--abs/extra/cpufrequtils/cpufreq.confd14
-rw-r--r--abs/extra/cpufrequtils/cpufreq.rcd60
-rw-r--r--abs/extra/crypto++/PKGBUILD36
-rw-r--r--abs/extra/crypto++/libcrypto++.pc11
-rw-r--r--abs/extra/crystalhd-firmware/PKGBUILD24
-rw-r--r--abs/extra/crystalhd-git/PKGBUILD52
-rw-r--r--abs/extra/crystalhd-git/crystalhd-git.install6
-rw-r--r--abs/extra/cvs/PKGBUILD28
-rw-r--r--abs/extra/cvs/cvs-1.11.23-getline64.patch34
-rw-r--r--abs/extra/cvs/cvs.install20
-rw-r--r--abs/extra/diffstat/PKGBUILD24
-rw-r--r--abs/extra/dpgconv/PKGBUILD22
-rw-r--r--abs/extra/dpgconv/dpgconv-panscan.patch83
-rw-r--r--abs/extra/exo/PKGBUILD33
-rw-r--r--abs/extra/exo/exo.install11
-rw-r--r--abs/extra/fakeroot/PKGBUILD28
-rw-r--r--abs/extra/fakeroot/fakeroot.install30
-rw-r--r--abs/extra/ffmpegthumbnailer/PKGBUILD30
-rw-r--r--abs/extra/fuppes-svn/PKGBUILD54
-rw-r--r--abs/extra/fuppes-svn/PKGBUILD.orig52
-rw-r--r--abs/extra/fuppes-svn/fuppes-r634-archlinux.patch93
-rw-r--r--abs/extra/fuppes-svn/fuppes.cfg216
-rw-r--r--abs/extra/fuppes-svn/fuppes.ch2
-rw-r--r--abs/extra/fuppes-svn/fuppes.diff25
-rw-r--r--abs/extra/fuppes-svn/fuppes.install20
-rw-r--r--abs/extra/fuppes-svn/fuppes.lr9
-rwxr-xr-xabs/extra/fuppes-svn/run2
-rw-r--r--abs/extra/gdl/PKGBUILD23
-rw-r--r--abs/extra/glib-perl/PKGBUILD27
-rw-r--r--abs/extra/glib-perl/__changelog1
-rw-r--r--abs/extra/gnome-desktop/PKGBUILD30
-rw-r--r--abs/extra/gnome-keyring/PKGBUILD28
-rw-r--r--abs/extra/gnome-keyring/gnome-keyring.install11
-rw-r--r--abs/extra/gnome-keyring/gnome-keyring.service3
-rw-r--r--abs/extra/gnome-menus/PKGBUILD33
-rw-r--r--abs/extra/gnome-menus/menus.patch25
-rw-r--r--abs/extra/gnupg/PKGBUILD29
-rw-r--r--abs/extra/gnupg/gnupg.install21
-rw-r--r--abs/extra/gnuplot/PKGBUILD34
-rw-r--r--abs/extra/gpgme/PKGBUILD25
-rw-r--r--abs/extra/gpgme/__changelog1
-rw-r--r--abs/extra/gpgme/gpgme.install18
-rw-r--r--abs/extra/graphload/PKGBUILD16
-rwxr-xr-xabs/extra/graphload/graphload.sh17
-rw-r--r--abs/extra/i2c-tools/Makefile.patch19
-rw-r--r--abs/extra/i2c-tools/PKGBUILD21
-rw-r--r--abs/extra/icon-naming-utils/PKGBUILD28
-rw-r--r--abs/extra/iso-codes/PKGBUILD19
-rw-r--r--abs/extra/jade/PKGBUILD31
-rw-r--r--abs/extra/libass/PKGBUILD30
-rw-r--r--abs/extra/libassuan/PKGBUILD26
-rw-r--r--abs/extra/libconcord/PKGBUILD29
-rw-r--r--abs/extra/libdvbpsi/PKGBUILD29
-rw-r--r--abs/extra/libdvdnav/PKGBUILD30
-rw-r--r--abs/extra/libdvdnav/deadlock.patch17
-rw-r--r--abs/extra/libffi/PKGBUILD24
-rw-r--r--abs/extra/libffi/libffi.install18
-rw-r--r--abs/extra/libgda/Changelog2
-rw-r--r--abs/extra/libgda/PKGBUILD30
-rw-r--r--abs/extra/libgda/bdb43.patch18
-rw-r--r--abs/extra/libgda/libgda.install16
-rw-r--r--abs/extra/libgksu/PKGBUILD31
-rw-r--r--abs/extra/libgksu/libgksu-2.0.12-revert-forkpty.patch359
-rw-r--r--abs/extra/libgksu/libgksu.install17
-rw-r--r--abs/extra/libgnomekbd/PKGBUILD31
-rw-r--r--abs/extra/libgnomekbd/libgnomekbd.install17
-rw-r--r--abs/extra/libgtkhtml/PKGBUILD22
-rw-r--r--abs/extra/libgtop/PKGBUILD25
-rw-r--r--abs/extra/libgtop/libgtop.install13
-rw-r--r--abs/extra/libmms/PKGBUILD25
-rw-r--r--abs/extra/libmpcdec/PKGBUILD22
-rw-r--r--abs/extra/libmpdclient/PKGBUILD26
-rw-r--r--abs/extra/libmtp/PKGBUILD26
-rw-r--r--abs/extra/libmtp/__changelog1
-rw-r--r--abs/extra/libnl/PKGBUILD28
-rw-r--r--abs/extra/libnl/fix-compilation.patch10
-rw-r--r--abs/extra/liboil/PKGBUILD25
-rw-r--r--abs/extra/libupnp/PKGBUILD31
-rw-r--r--abs/extra/libxklavier/PKGBUILD27
-rw-r--r--abs/extra/make/PKGBUILD20
-rw-r--r--abs/extra/mdbtools/PKGBUILD24
-rw-r--r--abs/extra/mdbtools/gmdb2.desktop9
-rw-r--r--abs/extra/mediaserv/PKGBUILD33
-rw-r--r--abs/extra/mediaserv/finish8
-rw-r--r--abs/extra/mediaserv/linhes-mediaserv.tar.bz2bin17322 -> 0 bytes
-rw-r--r--abs/extra/mediaserv/mediaserv.install38
-rw-r--r--abs/extra/mediaserv/mediaserv.no_daemon.patch17
-rw-r--r--abs/extra/mediaserv/run8
-rw-r--r--abs/extra/mercurial/PKGBUILD41
-rw-r--r--abs/extra/mercurial/__changelog1
-rw-r--r--abs/extra/mercurial/mercurial.profile1
-rw-r--r--abs/extra/mingetty/PKGBUILD30
-rw-r--r--abs/extra/mingetty/mingetty-utf8.patch158
-rw-r--r--abs/extra/monitorix/PKGBUILD47
-rw-r--r--abs/extra/monitorix/monitorix.rc.d56
-rw-r--r--abs/extra/monitorix/readme.install54
-rw-r--r--abs/extra/most/PKGBUILD20
-rw-r--r--abs/extra/most/most-debian.patch1655
-rw-r--r--abs/extra/mpc/ChangeLog15
-rw-r--r--abs/extra/mpc/PKGBUILD27
-rw-r--r--abs/extra/mpeg_stat/PKGBUILD22
-rw-r--r--abs/extra/mpgtx/PKGBUILD23
-rw-r--r--abs/extra/mupen64plus-svn/PKGBUILD71
-rw-r--r--abs/extra/mupen64plus-svn/fix-gcc4.4-const-char.patch22
-rw-r--r--abs/extra/mupen64plus-svn/install.patch13
-rw-r--r--abs/extra/mupen64plus/PKGBUILD33
-rw-r--r--abs/extra/mutt/PKGBUILD39
-rw-r--r--abs/extra/mutt/mutt-unmailbox.patch10
-rw-r--r--abs/extra/mutt/mutt.install15
-rwxr-xr-xabs/extra/myt2xvid3/PKGBUILD18
-rw-r--r--abs/extra/myt2xvid3/archive.php159
-rwxr-xr-xabs/extra/myt2xvid3/myt2xvid3310
-rwxr-xr-xabs/extra/myt2xvid3/myt2xvid3-userjob.sh6
-rwxr-xr-xabs/extra/myt2xvid3/myt2xvid3.install38
-rwxr-xr-xabs/extra/myth2ipod/PKGBUILD19
-rwxr-xr-xabs/extra/myth2ipod/iPod.pm184
-rwxr-xr-xabs/extra/myth2ipod/m2iweb.php157
-rwxr-xr-xabs/extra/myth2ipod/myth2ipod310
-rwxr-xr-xabs/extra/myth2ipod/myth2ipod-userjob.sh6
-rwxr-xr-xabs/extra/myth2ipod/myth2ipod.install38
-rw-r--r--abs/extra/netkit-bsd-finger/LICENSE36
-rw-r--r--abs/extra/netkit-bsd-finger/PKGBUILD26
-rw-r--r--abs/extra/netkit-bsd-finger/finger.xinetd8
-rw-r--r--abs/extra/numlockx/PKGBUILD26
-rw-r--r--abs/extra/perl-time-hires/PKGBUILD26
-rw-r--r--abs/extra/perl-yaml/PKGBUILD28
-rw-r--r--abs/extra/phonon/PKGBUILD53
-rw-r--r--abs/extra/phpmyadmin/PKGBUILD48
-rw-r--r--abs/extra/phpmyadmin/__changelog2
-rw-r--r--abs/extra/pmount/PKGBUILD22
-rw-r--r--abs/extra/pmount/pmount-dbus-close.patch11
-rw-r--r--abs/extra/pptpclient/PKGBUILD21
-rw-r--r--abs/extra/procmail/PKGBUILD21
-rw-r--r--abs/extra/pth/PKGBUILD22
-rw-r--r--abs/extra/pyxis/PKGBUILD27
-rw-r--r--abs/extra/pyxis/__changelog2
-rw-r--r--abs/extra/pyxis/python2.patch90
-rw-r--r--abs/extra/qscintilla/PKGBUILD59
-rw-r--r--abs/extra/qscintilla/configure.py-objdir-support.diff39
-rw-r--r--abs/extra/quilt/PKGBUILD20
-rw-r--r--abs/extra/read-edid/PKGBUILD20
-rw-r--r--abs/extra/rrd_stats/PKGBUILD31
-rw-r--r--abs/extra/rrd_stats/rrd_stats.install34
-rw-r--r--abs/extra/rrd_stats/rrd_stats.tgzbin18248 -> 0 bytes
-rw-r--r--abs/extra/rrd_stats/run_rrd.sh8
-rw-r--r--abs/extra/sample-media/PKGBUILD37
-rw-r--r--abs/extra/sample-media/audio/05-Hush.mp3bin4946841 -> 0 bytes
-rw-r--r--abs/extra/sample-media/images/115_1573.jpgbin482585 -> 0 bytes
-rw-r--r--abs/extra/sample-media/images/345-1217206791B81W.jpgbin176991 -> 0 bytes
-rw-r--r--abs/extra/sample-media/images/classic-menugraph.pngbin144106 -> 0 bytes
-rw-r--r--abs/extra/sample-media/images/dvr_menugraph.pngbin207288 -> 0 bytes
-rw-r--r--abs/extra/sample-media/images/menu_diagram_color.pngbin193264 -> 0 bytes
-rw-r--r--abs/extra/sample-media/rom/PACMAN.SMCbin524800 -> 0 bytes
-rw-r--r--abs/extra/sample-media/sample.install41
-rw-r--r--abs/extra/sample-media/video/TripThe1939.mpegbin23128735 -> 0 bytes
-rw-r--r--abs/extra/sane/PKGBUILD72
-rw-r--r--abs/extra/sane/libv4l-0.8.3.patch64
-rw-r--r--abs/extra/sane/sane.install7
-rw-r--r--abs/extra/sane/sane.xinetd11
-rw-r--r--abs/extra/sane/saned.service8
-rw-r--r--abs/extra/sane/saned.socket9
-rw-r--r--abs/extra/sane/xerox_mfp_fix_usb_devices.patch67
-rw-r--r--abs/extra/sdl_perl/PKGBUILD27
-rw-r--r--abs/extra/sdl_sound/PKGBUILD29
-rw-r--r--abs/extra/sdl_sound/flac.patch126
-rw-r--r--abs/extra/sdlmame/ChangeLog5
-rw-r--r--abs/extra/sdlmame/PKGBUILD102
-rw-r--r--abs/extra/sdlmame/extras.tar.gzbin4093 -> 0 bytes
-rw-r--r--abs/extra/sdlmame/mame-0137-wiimote.diff424
-rw-r--r--abs/extra/sdlmame/sdlmame.install29
-rw-r--r--abs/extra/sdlmame/sdlmame.sh58
-rw-r--r--abs/extra/shepherd/PKGBUILD17
-rw-r--r--abs/extra/swh-plugins/PKGBUILD28
-rw-r--r--abs/extra/tango-icon-theme/PKGBUILD30
-rw-r--r--abs/extra/tatir/PKGBUILD21
-rw-r--r--abs/extra/tatir/__delete1
-rw-r--r--abs/extra/tatir/tatir.install19
-rw-r--r--abs/extra/tatir/tatir.tar.bz2bin4525 -> 0 bytes
-rw-r--r--abs/extra/terminal/PKGBUILD32
-rw-r--r--abs/extra/terminal/terminal-dont-die-on-dbus-kill.patch10
-rw-r--r--abs/extra/terminal/terminal.install11
-rw-r--r--abs/extra/ttf-ms-fonts/PKGBUILD27
-rw-r--r--abs/extra/ttf-ms-fonts/ttf-ms-fonts.install55
-rw-r--r--abs/extra/twinhan-remote/PKGBUILD19
-rw-r--r--abs/extra/twinhan-remote/twinhan-remote.conf3
-rw-r--r--abs/extra/twinhan-remote/twinhan-remote.install19
-rw-r--r--abs/extra/twinhan-remote/usbkbd.kobin8017 -> 0 bytes
-rw-r--r--abs/extra/unetbootin/PKGBUILD35
-rw-r--r--abs/extra/vcdimager/PKGBUILD24
-rw-r--r--abs/extra/vcdimager/__changelog1
-rw-r--r--abs/extra/vcdimager/cdio.patch11
-rw-r--r--abs/extra/vcdimager/vcdimager.install19
-rw-r--r--abs/extra/vlc-nogui/PKGBUILD58
-rw-r--r--abs/extra/vlc-nogui/__changelog2
-rw-r--r--abs/extra/wireshark/PKGBUILD54
-rw-r--r--abs/extra/wireshark/wireshark-gtk.install11
-rw-r--r--abs/extra/wireshark/wireshark.install19
-rw-r--r--abs/extra/wxpython/ChangeLog48
-rw-r--r--abs/extra/wxpython/PKGBUILD33
-rw-r--r--abs/extra/wxpython/editra-aui.diff11
-rw-r--r--abs/extra/xalan-java/PKGBUILD22
-rw-r--r--abs/extra/xautomation/PKGBUILD22
-rw-r--r--abs/extra/xcb-util-keysyms/LICENSE267
-rw-r--r--abs/extra/xcb-util-keysyms/PKGBUILD38
-rw-r--r--abs/extra/xerces2-java/PKGBUILD26
-rw-r--r--abs/extra/xfconf/PKGBUILD37
-rw-r--r--abs/extra/xine-lib/ChangeLog106
-rw-r--r--abs/extra/xine-lib/PKGBUILD50
-rw-r--r--abs/extra/xine-lib/__changelog3
-rw-r--r--abs/extra/xine-lib/xine-lib-1.1.1-configure-no-mcpu-march.patch13
-rw-r--r--abs/extra/xine-lib/xine-lib-1.1.19-xvmc.patch17
-rwxr-xr-xabs/extra/xine-lib/xine.install27
-rw-r--r--abs/extra/xine-ui/PKGBUILD43
-rw-r--r--abs/extra/xine-ui/fix_lirc.diff13
-rw-r--r--abs/extra/xine-ui/lirc-check-a89347673097.patch64
-rw-r--r--abs/extra/xine-ui/lirc-makefile-a68dd15ff7ae.patch19
-rw-r--r--abs/extra/xine-ui/xine-ui-xdg.diff206
-rw-r--r--abs/extra/xine-ui/xine-ui.install13
-rw-r--r--abs/extra/xmbmon/Makefile.in.patch37
-rw-r--r--abs/extra/xmbmon/PKGBUILD20
-rw-r--r--abs/extra/xulrunner/PKGBUILD69
-rw-r--r--abs/extra/xulrunner/enable-x86_64-tracemonkey.patch25
-rw-r--r--abs/extra/xulrunner/fix-mozilla-launcher.patch23
-rw-r--r--abs/extra/xulrunner/mozconfig36
-rw-r--r--abs/extra/xulrunner/mozilla-pkgconfig.patch70
-rw-r--r--abs/extra/xulrunner/python2.7.patch11
-rw-r--r--abs/extra/xulrunner/xulrunner-png14.patch11
-rw-r--r--abs/extra/xulrunner/xulrunner-version.patch13
393 files changed, 0 insertions, 16794 deletions
diff --git a/abs/extra/abs/PKGBUILD b/abs/extra/abs/PKGBUILD
deleted file mode 100644
index 4273e8a..0000000
--- a/abs/extra/abs/PKGBUILD
+++ /dev/null
@@ -1,31 +0,0 @@
-# $Id: PKGBUILD 65230 2010-01-25 13:11:11Z allan $
-# Maintainer: Allan McRae <allan@archlinux.org>
-
-pkgname=abs
-pkgver=2.3.4.1
-pkgrel=1
-pkgdesc="Utilities to download and work with the Arch Build System (ABS)"
-arch=('i686' 'x86_64')
-url="http://projects.archlinux.org/abs.git/"
-license=('GPL')
-depends=('bash' 'rsync')
-backup=(etc/abs.conf)
-install=abs.install
-source=(ftp://ftp.archlinux.org/other/abs/${pkgname}-${pkgver}.tar.gz)
-md5sums=('286825d64f19f801d510ff1f7cc05ea6')
-
-build() {
- cd ${srcdir}/${pkgname}
-
- make CONFDIR=/etc/ || return 1
- make CONFDIR=/etc/ DESTDIR=${pkgdir} install || return 1
-
- # Add readme file, and make base /var/abs path
- install -dm0755 ${pkgdir}/var/abs/local/
- install -Dm0644 ${srcdir}/abs/README ${pkgdir}/var/abs/README
-
- # change ABS tags for x86_64 to correct values
- if [ "$CARCH" = "x86_64" ]; then
- sed -i 's|"i686"|"x86_64"|g' ${pkgdir}/etc/abs.conf
- fi
-}
diff --git a/abs/extra/abs/abs.install b/abs/extra/abs/abs.install
deleted file mode 100644
index c16a8d7..0000000
--- a/abs/extra/abs/abs.install
+++ /dev/null
@@ -1,12 +0,0 @@
-pre_upgrade() {
- if [ "$(vercmp $2 2.3.2-1)" -lt 0 ]; then
- echo "==> Fixing potential ABS tree permission issues (this may take a while...)"
-
- for dir in core extra community testing; do
- if [ -d /var/abs/$dir ]; then
- find /var/abs/$dir -type d -exec chown root:root {} \;
- find /var/abs/$dir -type d -exec chmod 755 {} \;
- fi
- done
- fi
-}
diff --git a/abs/extra/alpine/2.00-lpam.patch b/abs/extra/alpine/2.00-lpam.patch
deleted file mode 100644
index 69e66d7..0000000
--- a/abs/extra/alpine/2.00-lpam.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- alpine-2.00.orig/alpine/Makefile.in
-+++ alpine-2.00/alpine/Makefile.in
-@@ -169,7 +169,7 @@
- LIBICONV = @LIBICONV@
- LIBINTL = @LIBINTL@
- LIBOBJS = @LIBOBJS@
--LIBS = @LIBS@
-+LIBS = @LIBS@ -lpam
- LIBTOOL = @LIBTOOL@
- LN = @LN@
- LN_S = @LN_S@
- LTLIBICONV = @LTLIBICONV@
- LTLIBINTL = @LTLIBINTL@
diff --git a/abs/extra/alpine/CVE-2008-5514.patch b/abs/extra/alpine/CVE-2008-5514.patch
deleted file mode 100644
index 594bea0..0000000
--- a/abs/extra/alpine/CVE-2008-5514.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- alpine-2.00/imap/src/c-client/rfc822.c
-+++ alpine-2.00/imap/src/c-client/rfc822.c
-@@ -1351,6 +1351,7 @@
-
- static long rfc822_output_char (RFC822BUFFER *buf,int c)
- {
-+ if ((buf->cur == buf->end) && !rfc822_output_flush (buf)) return NIL;
- *buf->cur++ = c; /* add character, soutr buffer if full */
- return (buf->cur == buf->end) ? rfc822_output_flush (buf) : LONGT;
- }
-@@ -1374,7 +1375,8 @@
- len -= i;
- }
- /* soutr buffer now if full */
-- if (len && !rfc822_output_flush (buf)) return NIL;
-+ if ((len || (buf->cur == buf->end)) && !rfc822_output_flush (buf))
-+ return NIL;
- }
- return LONGT;
- }
diff --git a/abs/extra/alpine/ChangeLog b/abs/extra/alpine/ChangeLog
deleted file mode 100644
index 4c3bf81..0000000
--- a/abs/extra/alpine/ChangeLog
+++ /dev/null
@@ -1,43 +0,0 @@
-2010-01-23 Eric Belanger <eric@archlinux.org>
-
- * alpine 2.00-7
- * Updated patchset to level 53
-
-2009-09-18 Eric Belanger <eric@archlinux.org>
-
- * alpine 2.00-6
- * libldap-2.4 rebuild
-
-2009-09-18 Eric Belanger <eric@archlinux.org>
-
- * alpine 2.00-5
- * Updated patchset to level 52
- * Security fix
-
-2009-09-17 Allan McRae <allan@archlinux.org>
-
- * alpine 2.00-4
- * libldap-2.4 rebuild
-
-2009-02-07 Eric Belanger <eric@archlinux.org>
-
- * alpine 2.00-3
- * Updated patchset to level 20
-
-2008-12-05 Eric Belanger <eric@archlinux.org>
-
- * alpine 2.00-2
- * Rebuilt against heimdal 1.2.1
- * Placed copy of all.patch.gz patch on local ftp (close FS#11964)
-
-2008-09-04 Eric Belanger <eric@archlinux.org>
-
- * alpine 2.00-1
- * Upstream update
- * Replaced install scriptlet with optdepends
-
-2008-03-26 Eric Belanger <eric@archlinux.org>
-
- * alpine 1.10-1
- * Upstream update
- * Added ChangeLog
diff --git a/abs/extra/alpine/PKGBUILD b/abs/extra/alpine/PKGBUILD
deleted file mode 100644
index 1d75c85..0000000
--- a/abs/extra/alpine/PKGBUILD
+++ /dev/null
@@ -1,37 +0,0 @@
-# $Id: PKGBUILD 64978 2010-01-23 22:24:15Z eric $
-# Maintainer: Eric Belanger <eric@archlinux.org>
-# Contributor: Fabio Scotoni <fabio@esse.ch>
-
-pkgname=alpine
-pkgver=2.00
-pkgrel=7
-_patchlevel=53
-pkgdesc="The Apache-licensed PINE (a tool for reading, sending, and managing electronic messages)"
-arch=('i686' 'x86_64')
-url="http://www.washington.edu/alpine/"
-license=('APACHE')
-depends=('libldap>=2.4.11' 'heimdal>=1.2.1' 'gettext')
-optdepends=('aspell: for spell-checking support')
-provides=('pine')
-conflicts=('pine')
-replaces=('pine')
-options=('!makeflags')
-source=(ftp://ftp.cac.washington.edu/${pkgname}/${pkgname}.tar.bz2 \
- http://staff.washington.edu/chappa/alpine/patches/alpine-${pkgver}/all_${_patchlevel}.patch.gz \
- 2.00-lpam.patch CVE-2008-5514.patch)
-md5sums=('84e44cbf71ed674800a5d57eed9c1c52' 'c4a85b865f59c095f838617d08b1b123'\
- 'cd3911c16fc6a072e853c0ccfc35857c' '1b52a54a656979116c09fb1d948a4325')
-sha1sums=('dcbd3c5419954f484ccf706feaba31ce48cdebc4' '7396ed92062924c126087dc32b98ccebf98e17cc'\
- '1b39525f91ebd5a9de5a1e04f5554f6fa5f58ae3' 'bc61d76a237ff42b00b3f60f2e6fc5c45e261dbb')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- patch -p1 < ../all_${_patchlevel}.patch || return 1
- patch -p1 < ../2.00-lpam.patch || return 1
- patch -p1 < ../CVE-2008-5514.patch || return 1
- ./configure --prefix=/usr --without-passfile --without-tcl \
- --disable-shared --with-system-pinerc=/etc/alpine.d/pine.conf \
- --with-system-fixed-pinerc=/etc/alpine.d/pine.conf.fixed || return 1
- make || return 1
- make DESTDIR="${pkgdir}" install || return 1
-}
diff --git a/abs/extra/alsa-driver/PKGBUILD b/abs/extra/alsa-driver/PKGBUILD
deleted file mode 100644
index c4c3624..0000000
--- a/abs/extra/alsa-driver/PKGBUILD
+++ /dev/null
@@ -1,25 +0,0 @@
-# Syco <SycoLTH at gmail dot com>
-
-pkgname=alsa-driver
-_pkgname=alsa-driver
-pkgver=1.0.24
-pkgrel=0
-pkgdesc="An alternative implementation of Linux sound support"
-arch=('i686' 'x86_64')
-provides=(alsa-driver)
-install='alsa-driver.install'
-url="http://www.alsa-project.org"
-license=('GPL')
-options=(!libtool)
-#source=(ftp://ftp.alsa-project.org/pub/driver/${_pkgname}-${pkgver}.tar.bz2)
-source=(http://mirrors.zerg.biz/alsa/driver/${_pkgname}-${pkgver}.tar.bz2)
-md5sums=('a4ffd80745ce5098dfd48d83c2769e0e')
-
-build() {
- k_updates=${pkgdir}/lib/modules/$(uname -r)/updates
- install -d ${k_updates}
- cd ${srcdir}/${_pkgname}-${pkgver}
- ./configure --with-cards=all
- make || return 1
- install -D -m644 modules/*.ko ${k_updates} || return 1
-}
diff --git a/abs/extra/alsa-driver/alsa-driver.install b/abs/extra/alsa-driver/alsa-driver.install
deleted file mode 100644
index 912055c..0000000
--- a/abs/extra/alsa-driver/alsa-driver.install
+++ /dev/null
@@ -1,8 +0,0 @@
-_kernver=`uname -r`
- post_remove() {
- depmod -a $_kernver
-}
-
-post_install() {
- depmod -a $_kernver
-}
diff --git a/abs/extra/alsa-firmware/PKGBUILD b/abs/extra/alsa-firmware/PKGBUILD
deleted file mode 100644
index af2c544..0000000
--- a/abs/extra/alsa-firmware/PKGBUILD
+++ /dev/null
@@ -1,37 +0,0 @@
-# $Id$
-# Contributor: Jochen Immendörfer <jochen dot immendoerfer at gmail dot com>
-# Package Maintainer: Tobias Powalowski <tpowa@archlinux.org>
-pkgname=alsa-firmware
-pkgver=1.0.24.1
-pkgrel=1
-pkgdesc="ALSA firmware package"
-arch=('i686' 'x86_64')
-url="http://alsa-project.org/"
-license=('GPL')
-source=(ftp://ftp.alsa-project.org/pub/firmware/$pkgname-$pkgver.tar.bz2)
-options=(!strip)
-
-build() {
- cd $srcdir/$pkgname-$pkgver
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd $srcdir/$pkgname-$pkgver
- make DESTDIR=$pkgdir install
- # remove files which conflicts with kernel26-firmware
- rm -rf ${pkgdir}/lib/firmware/ess/maestro3_assp_kernel.fw
- rm -rf ${pkgdir}/lib/firmware/ess/maestro3_assp_minisrc.fw
- rm -rf ${pkgdir}/lib/firmware/korg/k1212.dsp
- rm -rf ${pkgdir}/lib/firmware/sb16/alaw_main.csp
- rm -rf ${pkgdir}/lib/firmware/sb16/ima_adpcm_capture.csp
- rm -rf ${pkgdir}/lib/firmware/sb16/ima_adpcm_init.csp
- rm -rf ${pkgdir}/lib/firmware/sb16/ima_adpcm_playback.csp
- rm -rf ${pkgdir}/lib/firmware/sb16/mulaw_main.csp
- rm -rf ${pkgdir}/lib/firmware/yamaha/ds1_ctrl.fw
- rm -rf ${pkgdir}/lib/firmware/yamaha/ds1_dsp.fw
- rm -rf ${pkgdir}/lib/firmware/yamaha/ds1e_ctrl.fw
- rm -rf ${pkgdir}/lib/firmware/yamaha/yss225_registers.bin
-}
-md5sums=('d37434dfcfececd8581d2f0bbe2fcf1b')
diff --git a/abs/extra/apcupsd/PKGBUILD b/abs/extra/apcupsd/PKGBUILD
deleted file mode 100644
index ad57d1a..0000000
--- a/abs/extra/apcupsd/PKGBUILD
+++ /dev/null
@@ -1,38 +0,0 @@
-# $Id: PKGBUILD,v 1.17 2009/01/19 10:34:32 sergej Exp $
-# Maintainer: Sergej Pupykin <sergej@aur.archlinux.org>
-# Maintainer: Todd Musall <tmusall@comcast.net>
-
-pkgname=apcupsd
-pkgver=3.14.8
-pkgrel=1
-pkgdesc="Apcupsd can be used for power mangement and controlling most of APC's UPS models on Unix and Windows machines."
-arch=(i686 x86_64)
-url="http://www.apcupsd.org"
-license=('GPL')
-depends=('gcc-libs' 'gd' 'gconf')
-makedepends=('pkgconfig')
-backup=(etc/apcupsd/apcupsd.conf etc/apcupsd/hosts.conf \
- etc/apcupsd/multimon.conf)
-source=(http://switch.dl.sf.net/sourceforge/apcupsd/$pkgname-$pkgver.tar.gz \
- apcupsd
- apcupsd.conf
- run)
-
-build() {
- cd $startdir/src/$pkgname-$pkgver
- ./configure --prefix=/usr --enable-cgi --enable-usb --enable-net \
- --with-upstype=usb --with-upscable=usb \
- --with-serial-dev=/dev/usb/hid/hiddev[0-9] \
- --enable-pthreads --enable-gapcmon
- make || return 1
- make DESTDIR=$startdir/pkg install || return 1
- install -D -m755 ../apcupsd $startdir/pkg/etc/rc.d/apcupsd && \
- chmod 755 $startdir/pkg/sbin/*
- cp ../apcupsd.conf $startdir/pkg/etc/apcupsd/
- mkdir -p $startdir/pkg/etc/sv/apcupsd/supervise
- install -D -m755 ../run $startdir/pkg/etc/sv/apcupsd
-}
-md5sums=('cd17f0a903dc2220e55ed54e242359d2'
- '5eae3c4d921eeb81798a0250fe3dd111'
- '2f533aec32c9445510bb2127b453b175'
- '32ae73bc096c1d0982c12d8ec46abee2')
diff --git a/abs/extra/apcupsd/apcupsd b/abs/extra/apcupsd/apcupsd
deleted file mode 100755
index 3cd5c9d..0000000
--- a/abs/extra/apcupsd/apcupsd
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PID=`pidof -o %PPID /sbin/apcupsd`
-case "$1" in
- start)
- stat_busy "Starting APCUPSD Daemon"
- rm -f /etc/apcupsd/powerfail
- rm -f /etc/nologin
- [ -z "$PID" ] && /sbin/apcupsd -f /etc/apcupsd/apcupsd.conf
- if [ $? -gt 0 ]; then
- stat_fail
- else
- PID=`pidof -o %PPID /sbin/apcupsd`
- echo $PID > /var/run/apcupsd.pid
- add_daemon apcupsd
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping APCUPSD Daemon"
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm /var/run/apcupsd.pid
- rm_daemon apcupsd
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 2
- $0 start
- ;;
- status)
- /sbin/apcaccess status
- ;;
- *)
- echo "usage: $0 {start|stop|restart|status}"
-esac
-exit 0
diff --git a/abs/extra/apcupsd/apcupsd.conf b/abs/extra/apcupsd/apcupsd.conf
deleted file mode 100644
index dd60889..0000000
--- a/abs/extra/apcupsd/apcupsd.conf
+++ /dev/null
@@ -1,325 +0,0 @@
-## apcupsd.conf v1.1 ##
-#
-# for apcupsd release 3.14.5 (10 January 2009) - unknown
-#
-# "apcupsd" POSIX config file
-
-#
-# ========= General configuration parameters ============
-#
-
-# UPSNAME xxx
-# Use this to give your UPS a name in log files and such. This
-# is particulary useful if you have multiple UPSes. This does not
-# set the EEPROM. It should be 8 characters or less.
-#UPSNAME
-
-# UPSCABLE <cable>
-# Defines the type of cable connecting the UPS to your computer.
-#
-# Possible generic choices for <cable> are:
-# simple, smart, ether, usb
-#
-# Or a specific cable model number may be used:
-# 940-0119A, 940-0127A, 940-0128A, 940-0020B,
-# 940-0020C, 940-0023A, 940-0024B, 940-0024C,
-# 940-1524C, 940-0024G, 940-0095A, 940-0095B,
-# 940-0095C, M-04-02-2000
-#
-UPSCABLE usb
-
-# To get apcupsd to work, in addition to defining the cable
-# above, you must also define a UPSTYPE, which corresponds to
-# the type of UPS you have (see the Description for more details).
-# You must also specify a DEVICE, sometimes referred to as a port.
-# For USB UPSes, please leave the DEVICE directive blank. For
-# other UPS types, you must specify an appropriate port or address.
-#
-# UPSTYPE DEVICE Description
-# apcsmart /dev/tty** Newer serial character device,
-# appropriate for SmartUPS models using
-# a serial cable (not USB).
-#
-# usb <BLANK> Most new UPSes are USB. A blank DEVICE
-# setting enables autodetection, which is
-# the best choice for most installations.
-#
-# net hostname:port Network link to a master apcupsd
-# through apcupsd's Network Information
-# Server. This is used if you don't have
-# a UPS directly connected to your computer.
-#
-# snmp hostname:port:vendor:community
-# SNMP Network link to an SNMP-enabled
-# UPS device. Vendor is the MIB used by
-# the UPS device: can be "APC", "APC_NOTRAP"
-# or "RFC" where APC is the powernet MIB,
-# "APC_NOTRAP" is powernet with SNMP trap
-# catching disabled, and RFC is the IETF's
-# rfc1628 UPS-MIB. You usually want "APC".
-# Port is usually 161. Community is usually
-# "private".
-#
-# dumb /dev/tty** Old serial character device for use
-# with simple-signaling UPSes.
-#
-# pcnet ipaddr:username:passphrase
-# PowerChute Network Shutdown protocol
-# which can be used as an alternative to SNMP
-# with AP9617 family of smart slot cards.
-# ipaddr is the IP address of the UPS mgmt
-# card. username and passphrase are the
-# credentials for which the card has been
-# configured.
-#
-UPSTYPE usb
-DEVICE /dev/usb/hid/hiddev[0-9]
-
-# POLLTIME <int>
-# Interval (in seconds) at which apcupsd polls the UPS for status. This
-# setting applies both to directly-attached UPSes (UPSTYPE apcsmart, usb,
-# dumb) and networked UPSes (UPSTYPE net, snmp). Lowering this setting
-# will improve apcupsd's responsiveness to certain events at the cost of
-# higher CPU utilization. The default of 60 is appropriate for most
-# situations.
-#POLLTIME 60
-
-# LOCKFILE <path to lockfile>
-# Path for device lock file. Not used on Win32.
-LOCKFILE /var/lock
-
-# SCRIPTDIR <path to script directory>
-# Directory in which apccontrol and event scripts are located.
-SCRIPTDIR /etc/apcupsd
-
-# PWRFAILDIR <path to powerfail directory>
-# Directory in which to write the powerfail flag file. This file
-# is created when apcupsd initiates a system shutdown and is
-# checked in the OS halt scripts to determine if a killpower
-# (turning off UPS output power) is required.
-PWRFAILDIR /etc/apcupsd
-
-# NOLOGINDIR <path to nologin directory>
-# Directory in which to write the nologin file. The existence
-# of this flag file tells the OS to disallow new logins.
-NOLOGINDIR /etc
-
-
-#
-# ======== Configuration parameters used during power failures ==========
-#
-
-# The ONBATTERYDELAY is the time in seconds from when a power failure
-# is detected until we react to it with an onbattery event.
-#
-# This means that, apccontrol will be called with the powerout argument
-# immediately when a power failure is detected. However, the
-# onbattery argument is passed to apccontrol only after the
-# ONBATTERYDELAY time. If you don't want to be annoyed by short
-# powerfailures, make sure that apccontrol powerout does nothing
-# i.e. comment out the wall.
-ONBATTERYDELAY 6
-
-#
-# Note: BATTERYLEVEL, MINUTES, and TIMEOUT work in conjunction, so
-# the first that occurs will cause the initation of a shutdown.
-#
-
-# If during a power failure, the remaining battery percentage
-# (as reported by the UPS) is below or equal to BATTERYLEVEL,
-# apcupsd will initiate a system shutdown.
-BATTERYLEVEL 5
-
-# If during a power failure, the remaining runtime in minutes
-# (as calculated internally by the UPS) is below or equal to MINUTES,
-# apcupsd, will initiate a system shutdown.
-MINUTES 3
-
-# If during a power failure, the UPS has run on batteries for TIMEOUT
-# many seconds or longer, apcupsd will initiate a system shutdown.
-# A value of 0 disables this timer.
-#
-# Note, if you have a Smart UPS, you will most likely want to disable
-# this timer by setting it to zero. That way, you UPS will continue
-# on batteries until either the % charge remaing drops to or below BATTERYLEVEL,
-# or the remaining battery runtime drops to or below MINUTES. Of course,
-# if you are testing, setting this to 60 causes a quick system shutdown
-# if you pull the power plug.
-# If you have an older dumb UPS, you will want to set this to less than
-# the time you know you can run on batteries.
-TIMEOUT 0
-
-# Time in seconds between annoying users to signoff prior to
-# system shutdown. 0 disables.
-ANNOY 300
-
-# Initial delay after power failure before warning users to get
-# off the system.
-ANNOYDELAY 60
-
-# The condition which determines when users are prevented from
-# logging in during a power failure.
-# NOLOGON <string> [ disable | timeout | percent | minutes | always ]
-NOLOGON disable
-
-# If KILLDELAY is non-zero, apcupsd will continue running after a
-# shutdown has been requested, and after the specified time in
-# seconds attempt to kill the power. This is for use on systems
-# where apcupsd cannot regain control after a shutdown.
-# KILLDELAY <seconds> 0 disables
-KILLDELAY 0
-
-#
-# ==== Configuration statements for Network Information Server ====
-#
-
-# NETSERVER [ on | off ] on enables, off disables the network
-# information server. If netstatus is on, a network information
-# server process will be started for serving the STATUS and
-# EVENT data over the network (used by CGI programs).
-NETSERVER on
-
-# NISIP <dotted notation ip address>
-# IP address on which NIS server will listen for incoming connections.
-# This is useful if your server is multi-homed (has more than one
-# network interface and IP address). Default value is 0.0.0.0 which
-# means any incoming request will be serviced. Alternatively, you can
-# configure this setting to any specific IP address of your server and
-# NIS will listen for connections only on that interface. Use the
-# loopback address (127.0.0.1) to accept connections only from the
-# local machine.
-NISIP 0.0.0.0
-
-# NISPORT <port> default is 3551 as registered with the IANA
-# port to use for sending STATUS and EVENTS data over the network.
-# It is not used unless NETSERVER is on. If you change this port,
-# you will need to change the corresponding value in the cgi directory
-# and rebuild the cgi programs.
-NISPORT 3551
-
-# If you want the last few EVENTS to be available over the network
-# by the network information server, you must define an EVENTSFILE.
-EVENTSFILE /var/log/apcupsd.events
-
-# EVENTSFILEMAX <kilobytes>
-# By default, the size of the EVENTSFILE will be not be allowed to exceed
-# 10 kilobytes. When the file grows beyond this limit, older EVENTS will
-# be removed from the beginning of the file (first in first out). The
-# parameter EVENTSFILEMAX can be set to a different kilobyte value, or set
-# to zero to allow the EVENTSFILE to grow without limit.
-EVENTSFILEMAX 10
-
-#
-# ========== Configuration statements used if sharing =============
-# a UPS with more than one machine
-
-#
-# Remaining items are for ShareUPS (APC expansion card) ONLY
-#
-
-# UPSCLASS [ standalone | shareslave | sharemaster ]
-# Normally standalone unless you share an UPS using an APC ShareUPS
-# card.
-UPSCLASS standalone
-
-# UPSMODE [ disable | share ]
-# Normally disable unless you share an UPS using an APC ShareUPS card.
-UPSMODE disable
-
-#
-# ===== Configuration statements to control apcupsd system logging ========
-#
-
-# Time interval in seconds between writing the STATUS file; 0 disables
-STATTIME 300
-
-# Location of STATUS file (written to only if STATTIME is non-zero)
-STATFILE /var/log/apcupsd.status
-
-# LOGSTATS [ on | off ] on enables, off disables
-# Note! This generates a lot of output, so if
-# you turn this on, be sure that the
-# file defined in syslog.conf for LOG_NOTICE is a named pipe.
-# You probably do not want this on.
-LOGSTATS off
-
-# Time interval in seconds between writing the DATA records to
-# the log file. 0 disables.
-DATATIME 0
-
-# FACILITY defines the logging facility (class) for logging to syslog.
-# If not specified, it defaults to "daemon". This is useful
-# if you want to separate the data logged by apcupsd from other
-# programs.
-#FACILITY DAEMON
-
-#
-# ========== Configuration statements used in updating the UPS EPROM =========
-#
-
-#
-# These statements are used only by apctest when choosing "Set EEPROM with conf
-# file values" from the EEPROM menu. THESE STATEMENTS HAVE NO EFFECT ON APCUPSD.
-#
-
-# UPS name, max 8 characters
-#UPSNAME UPS_IDEN
-
-# Battery date - 8 characters
-#BATTDATE mm/dd/yy
-
-# Sensitivity to line voltage quality (H cause faster transfer to batteries)
-# SENSITIVITY H M L (default = H)
-#SENSITIVITY H
-
-# UPS delay after power return (seconds)
-# WAKEUP 000 060 180 300 (default = 0)
-#WAKEUP 60
-
-# UPS Grace period after request to power off (seconds)
-# SLEEP 020 180 300 600 (default = 20)
-#SLEEP 180
-
-# Low line voltage causing transfer to batteries
-# The permitted values depend on your model as defined by last letter
-# of FIRMWARE or APCMODEL. Some representative values are:
-# D 106 103 100 097
-# M 177 172 168 182
-# A 092 090 088 086
-# I 208 204 200 196 (default = 0 => not valid)
-#LOTRANSFER 208
-
-# High line voltage causing transfer to batteries
-# The permitted values depend on your model as defined by last letter
-# of FIRMWARE or APCMODEL. Some representative values are:
-# D 127 130 133 136
-# M 229 234 239 224
-# A 108 110 112 114
-# I 253 257 261 265 (default = 0 => not valid)
-#HITRANSFER 253
-
-# Battery charge needed to restore power
-# RETURNCHARGE 00 15 50 90 (default = 15)
-#RETURNCHARGE 15
-
-# Alarm delay
-# 0 = zero delay after pwr fail, T = power fail + 30 sec, L = low battery, N = never
-# BEEPSTATE 0 T L N (default = 0)
-#BEEPSTATE T
-
-# Low battery warning delay in minutes
-# LOWBATT 02 05 07 10 (default = 02)
-#LOWBATT 2
-
-# UPS Output voltage when running on batteries
-# The permitted values depend on your model as defined by last letter
-# of FIRMWARE or APCMODEL. Some representative values are:
-# D 115
-# M 208
-# A 100
-# I 230 240 220 225 (default = 0 => not valid)
-#OUTPUTVOLTS 230
-
-# Self test interval in hours 336=2 weeks, 168=1 week, ON=at power on
-# SELFTEST 336 168 ON OFF (default = 336)
-#SELFTEST 336
diff --git a/abs/extra/apcupsd/run b/abs/extra/apcupsd/run
deleted file mode 100644
index bc5c22b..0000000
--- a/abs/extra/apcupsd/run
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-exec 2>&1
- stat_runit "Starting APC UPS Daemon"
- exec /sbin/apcupsd -b -f /etc/apcupsd/apcupsd.conf
diff --git a/abs/extra/bash-completion/PKGBUILD b/abs/extra/bash-completion/PKGBUILD
deleted file mode 100644
index a20fa08..0000000
--- a/abs/extra/bash-completion/PKGBUILD
+++ /dev/null
@@ -1,33 +0,0 @@
-# $Id: PKGBUILD 95183 2010-10-16 21:57:23Z eric $
-# Maintainer: Aaron Griffin <aaron@archlinux.org>
-
-pkgname=bash-completion
-pkgver=1.2
-pkgrel=2
-pkgdesc="Programmable completion for the bash shell"
-arch=('any')
-url="http://bash-completion.alioth.debian.org/"
-license=('GPL')
-depends=('bash')
-source=(http://bash-completion.alioth.debian.org/files/$pkgname-$pkgver.tar.bz2)
-md5sums=('88c022a98a02a02293716f840eadd884')
-sha1sums=('47e6fb919ae227e74172870379b0fe999a2ae70d')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
-
- # fixes for archlinux
- sed -i 's#/sbin" lsmod#/bin" lsmod#' bash_completion
-
- ./configure --prefix=/usr --sysconfdir=/etc
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir" install
-
-# Doesn't work on Arch Linux and cause problems (FS#20112)
- rm "$pkgdir/etc/bash_completion.d/service"
-}
-
diff --git a/abs/extra/beautiful-soup/PKGBUILD b/abs/extra/beautiful-soup/PKGBUILD
deleted file mode 100644
index f604804..0000000
--- a/abs/extra/beautiful-soup/PKGBUILD
+++ /dev/null
@@ -1,19 +0,0 @@
-# Maintainer: Douglas Soares de Andrade <dsa@aur.archlinux.org>
-# Contributor: phrakture < aaron m griffin * gmail::com >
-# Contributor: tardo <tardo@nagi-fanboi.net>
-
-pkgname=beautiful-soup
-pkgver=3.1.0
-pkgrel=2
-pkgdesc="A Python HTML/XML parser designed for quick turnaround projects like screen-scraping"
-arch=('i686' 'x86_64')
-url="http://www.crummy.com/software/BeautifulSoup/index.html"
-license=('PSF')
-depends=('python2')
-source=(http://www.crummy.com/software/BeautifulSoup/download/3.x/BeautifulSoup-$pkgver.tar.gz)
-
-build() {
- cd $srcdir/BeautifulSoup-$pkgver
- python2 setup.py install --root=$pkgdir
-}
-md5sums=('6c0dae06f9f7e1fe8181d0d1a105cf72')
diff --git a/abs/extra/bluez-firmware/PKGBUILD b/abs/extra/bluez-firmware/PKGBUILD
deleted file mode 100644
index 4a3617f..0000000
--- a/abs/extra/bluez-firmware/PKGBUILD
+++ /dev/null
@@ -1,25 +0,0 @@
-# $Id: $
-# Contributor: Geoffroy Carrier <geoffroy@archlinux.org>
-# Contributor: Giovanni Scafora <giovanni@archlinux.org>
-# Contributor: Stefano Zamprogno <stefano.zamprogno@gmail.com>
-
-pkgname=bluez-firmware
-pkgver=1.2
-pkgrel=5
-pkgdesc="Firmware for Broadcom BCM203x and STLC2300 Bluetooth chips"
-url="http://www.bluez.org/"
-arch=('i686' 'x86_64')
-license=('GPL2')
-source=("http://bluez.sf.net/download/${pkgname}-${pkgver}.tar.gz")
-md5sums=('1cc3cefad872e937e05de5a0a2b390dd')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- ./configure --libdir=/lib
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="$pkgdir" install
-}
diff --git a/abs/extra/bluez-hcidump/PKGBUILD b/abs/extra/bluez-hcidump/PKGBUILD
deleted file mode 100644
index ab4047c..0000000
--- a/abs/extra/bluez-hcidump/PKGBUILD
+++ /dev/null
@@ -1,27 +0,0 @@
-# $Id$
-# Maintainer: Andrea Scarpino <andrea@archlinux.org>
-# Contributor: Geoffroy carrier <geoffroy@archlinux.org>
-# Contributor: Giovanni Scafora <giovanni@archlinux.org>
-
-pkgname=bluez-hcidump
-pkgver=2.2
-pkgrel=1
-pkgdesc="Bluetooth HCI package analyzer"
-url="http://www.bluez.org/"
-arch=('i686' 'x86_64')
-license=('GPL2')
-depends=('glibc' 'bluez')
-source=(http://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.gz)
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-}
-
-md5sums=('3c298a8be67099fe227f3e4d9de539d5')
diff --git a/abs/extra/cabextract/PKGBUILD b/abs/extra/cabextract/PKGBUILD
deleted file mode 100644
index 4e7b2cf..0000000
--- a/abs/extra/cabextract/PKGBUILD
+++ /dev/null
@@ -1,23 +0,0 @@
-# $Id: PKGBUILD 86106 2010-07-25 21:30:58Z giovanni $
-# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
-
-pkgname=cabextract
-pkgver=1.3
-pkgrel=1
-pkgdesc="A program to extract Microsoft cabinet (.CAB) files."
-arch=('i686' 'x86_64')
-license=('GPL')
-url="http://www.cabextract.org.uk/"
-depends=('glibc')
-source=(http://www.cabextract.org.uk/${pkgname}-${pkgver}.tar.gz)
-md5sums=('cb9a4a38470d2a71a0275968e7eb64d3')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man || return 1
- make || return 1
- make DESTDIR="${pkgdir}" install || return 1
-}
diff --git a/abs/extra/ccache/PKGBUILD b/abs/extra/ccache/PKGBUILD
deleted file mode 100644
index 95c0788..0000000
--- a/abs/extra/ccache/PKGBUILD
+++ /dev/null
@@ -1,34 +0,0 @@
-# $Id: PKGBUILD 98352 2010-11-08 08:19:09Z giovanni $
-# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
-# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
-
-pkgname=ccache
-pkgver=3.1.1
-pkgrel=1
-pkgdesc="A compiler cache"
-url="http://ccache.samba.org/"
-source=(http://samba.org/ftp/${pkgname}/$pkgname-$pkgver.tar.bz2)
-license=('GPL')
-arch=('i686' 'x86_64')
-depends=('zlib')
-md5sums=('7dbd668c79d78c0b32c13214b2b35b70')
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- ./configure --prefix=/usr
- make || return 1
- install -Dm 755 ccache ${pkgdir}/usr/bin/ccache
- install -Dm 644 ccache.1 ${pkgdir}/usr/share/man/man1/ccache.1
-
- mkdir -p ${pkgdir}/usr/lib/ccache/bin
- ln -sf /usr/bin/ccache ${pkgdir}/usr/lib/ccache/bin/cc
- ln -sf /usr/bin/ccache ${pkgdir}/usr/lib/ccache/bin/gcc
- ln -sf /usr/bin/ccache ${pkgdir}/usr/lib/ccache/bin/g++
- ln -sf /usr/bin/ccache ${pkgdir}/usr/lib/ccache/bin/cpp
- ln -sf /usr/bin/ccache ${pkgdir}/usr/lib/ccache/bin/c++
- ln -sf /usr/bin/ccache ${pkgdir}/usr/lib/ccache/bin/${CHOST}-cc
- ln -sf /usr/bin/ccache ${pkgdir}/usr/lib/ccache/bin/${CHOST}-gcc
- ln -sf /usr/bin/ccache ${pkgdir}/usr/lib/ccache/bin/${CHOST}-g++
- ln -sf /usr/bin/ccache ${pkgdir}/usr/lib/ccache/bin/${CHOST}-cpp
- ln -sf /usr/bin/ccache ${pkgdir}/usr/lib/ccache/bin/${CHOST}-c++
-}
diff --git a/abs/extra/celt-0.7/PKGBUILD b/abs/extra/celt-0.7/PKGBUILD
deleted file mode 100644
index 59b9e9c..0000000
--- a/abs/extra/celt-0.7/PKGBUILD
+++ /dev/null
@@ -1,36 +0,0 @@
-# $Id$
-# Maintainer: Ray Rashif <schiv@archlinux.org>
-# Contributor: Sven-Hendrik Haase <sh@lutzhaase.com>
-# Contributor: Lauri Niskanen <ape@ape3000.com>
-
-pkgname=celt-0.7
-_realname=celt
-pkgver=0.7.1
-pkgrel=2
-pkgdesc="Low-latency audio communication codec"
-arch=('i686' 'x86_64')
-url="http://www.celt-codec.org"
-license=('BSD')
-depends=('libogg')
-provides=('celt=$pkgver')
-conflicts=('celt')
-options=('!libtool')
-source=(http://downloads.xiph.org/releases/celt/$_realname-$pkgver.tar.gz)
-md5sums=('c7f6b8346e132b1a48dae0eff77ea9f0')
-
-build() {
- cd "$srcdir/$_realname-$pkgver"
-
- ./configure --prefix=/usr
- make
- make DESTDIR="$pkgdir/" install
-}
-
-package() {
- cd "$srcdir/$_realname-$pkgver"
-
- install -Dm644 COPYING \
- "$pkgdir/usr/share/licenses/$pkgname/BSD"
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/abs/extra/community/agg/PKGBUILD b/abs/extra/community/agg/PKGBUILD
deleted file mode 100644
index b0d6d40..0000000
--- a/abs/extra/community/agg/PKGBUILD
+++ /dev/null
@@ -1,34 +0,0 @@
-# $Id: PKGBUILD 49798 2009-08-16 14:04:06Z jgc $
-# Maintainer:
-
-pkgname=agg
-pkgver=2.5
-pkgrel=3
-pkgdesc="A High Quality Rendering Engine for C++"
-arch=('i686' 'x86_64')
-url="http://www.antigrain.com/"
-license=('GPL')
-depends=('gcc-libs>=4.4.1' 'sdl>=1.2.13' 'freetype2>=2.3.9')
-makedepends=('automake')
-provides=('antigrain')
-replaces=('antigrain')
-options=('!libtool' '!makeflags')
-source=(http://www.antigrain.com/${pkgname}-${pkgver}.tar.gz
- agg-2.4-depends.patch
- agg-2.5-pkgconfig.patch)
-md5sums=('0229a488bc47be10a2fee6cf0b2febd6'
- '22f8e48c137d25038181c86d5e40b110'
- '43a19a7b1564c591e56c8d09a0fd8da5')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- patch -Np1 -i "${srcdir}/agg-2.4-depends.patch" || return 1
- patch -Np1 -i "${srcdir}/agg-2.5-pkgconfig.patch" || return 1
- sh ./autogen.sh || return 1
- ./configure --prefix=/usr --disable-static || return 1
- make || return 1
-}
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install || return 1
-}
diff --git a/abs/extra/community/agg/agg-2.4-depends.patch b/abs/extra/community/agg/agg-2.4-depends.patch
deleted file mode 100644
index 9d4f6e3..0000000
--- a/abs/extra/community/agg/agg-2.4-depends.patch
+++ /dev/null
@@ -1,48 +0,0 @@
---- agg-2.4.orig/font_freetype/Makefile.am 2005-10-18 11:45:40.000000000 +0100
-+++ agg-2.4/font_freetype/Makefile.am 2006-07-10 15:11:55.000000000 +0100
-@@ -4,8 +4,9 @@
- agginclude_HEADERS = agg_font_freetype.h
- lib_LTLIBRARIES = libaggfontfreetype.la
-
--libaggfontfreetype_la_LDFLAGS = -version-info @AGG_LIB_VERSION@ @FREETYPE_LIBS@
-+libaggfontfreetype_la_LDFLAGS = -version-info @AGG_LIB_VERSION@
- libaggfontfreetype_la_SOURCES = agg_font_freetype.cpp
- libaggfontfreetype_la_CXXFLAGS = -I$(top_srcdir)/include @FREETYPE_CFLAGS@
-+libaggfontfreetype_la_LIBADD = ../src/libagg.la @FREETYPE_LIBS@
- endif
-
---- agg-2.4.orig/src/platform/sdl/Makefile.am 2005-10-17 23:49:35.000000000 +0100
-+++ agg-2.4/src/platform/sdl/Makefile.am 2006-07-10 15:11:55.000000000 +0100
-@@ -5,6 +5,6 @@
- libaggplatformsdl_la_LDFLAGS = -version-info @AGG_LIB_VERSION@
- libaggplatformsdl_la_SOURCES = agg_platform_support.cpp
- libaggplatformsdl_la_CXXFLAGS = -I$(top_srcdir)/include @SDL_CFLAGS@
--libaggplatformsdl_la_LIBADD = @SDL_LIBS@
-+libaggplatformsdl_la_LIBADD = ../../libagg.la @SDL_LIBS@
- endif
-
---- agg-2.5.orig/configure.in 2006-10-09 05:06:36.000000000 +0100
-+++ agg-2.5/configure.in 2007-01-07 14:07:39.000000000 +0000
-@@ -122,7 +122,8 @@
- fi
- AM_CONDITIONAL(ENABLE_X11,[test x$no_x = x -a xno != x$enable_platform -a x$win32_host != xyes])
- AC_SUBST(x_includes)
--AC_SUBST(x_libraries)
-+test -n "$x_libraries" && X_LDFLAGS="-L$x_libraries"
-+AC_SUBST(X_LDFLAGS)
- dnl ###############################################
-
- dnl Settung up library version
---- agg-2.5.orig/src/platform/X11/Makefile.am 2006-12-11 00:59:45.000000000 +0000
-+++ agg-2.5/src/platform/X11/Makefile.am 2007-01-07 14:07:39.000000000 +0000
-@@ -1,8 +1,8 @@
- if ENABLE_X11
- lib_LTLIBRARIES = libaggplatformX11.la
-
--libaggplatformX11_la_LDFLAGS = -version-info @AGG_LIB_VERSION@ -L@x_libraries@
-+libaggplatformX11_la_LDFLAGS = -version-info @AGG_LIB_VERSION@ @X_LDFLAGS@
- libaggplatformX11_la_SOURCES = agg_platform_support.cpp
- libaggplatformX11_la_CXXFLAGS = -I$(top_srcdir)/include -I@x_includes@
--libaggplatformX11_la_LIBADD = -lX11
-+libaggplatformX11_la_LIBADD = ../../libagg.la -lX11
- endif
diff --git a/abs/extra/community/agg/agg-2.5-pkgconfig.patch b/abs/extra/community/agg/agg-2.5-pkgconfig.patch
deleted file mode 100644
index a303bfb..0000000
--- a/abs/extra/community/agg/agg-2.5-pkgconfig.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- agg-2.5/libagg.pc.in.orig 2007-01-07 13:58:28.000000000 +0000
-+++ agg-2.5/libagg.pc.in 2007-01-07 14:02:40.000000000 +0000
-@@ -6,5 +6,6 @@
- Name: libagg
- Description: Anti Grain Geometry - A High Quality Rendering Engine for C++
- Version: @VERSION@
--Libs: -L${libdir} -Wl,-rpath,${exec_prefix}/lib -lagg
-+Requires.private: freetype2
-+Libs: -L${libdir} -lagg
- Cflags: -I${includedir}
diff --git a/abs/extra/community/amule/PKGBUILD b/abs/extra/community/amule/PKGBUILD
deleted file mode 100644
index 47cc580..0000000
--- a/abs/extra/community/amule/PKGBUILD
+++ /dev/null
@@ -1,44 +0,0 @@
-# $Id: PKGBUILD 98336 2010-11-07 18:59:29Z giovanni $
-# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
-# Contributor: Henrik Ronellenfitsch <searinox@web.de>
-# Contributor: Alessio Sergi <sergi.alessio {at} gmail.com>
-# Contributor: Dario 'Dax' Vilardi <dax [at] deelab [dot] org>
-
-pkgname=amule
-pkgver=10365
-pkgrel=1
-pkgdesc="An eMule-like client for ed2k p2p network"
-arch=('i686' 'x86_64')
-url="http://www.amule.org"
-license=('GPL')
-depends=('wxgtk' 'gd' 'geoip' 'libupnp')
-makedepends=('crypto++')
-source=(http://amule.sourceforge.net/tarballs/aMule-SVN-r${pkgver}.tar.bz2)
-md5sums=('fa19689a81616d066f8f7bdcddd771ac')
-
-build() {
- cd "${srcdir}/aMule-SVN-r${pkgver}"
-
- ./configure --prefix=/usr \
- --mandir=/usr/share/man \
- --enable-cas \
- --enable-wxcas \
- --enable-amule-daemon \
- --enable-amulecmd \
- --enable-amule-gui \
- --enable-alc \
- --enable-alcc \
- --enable-webserver \
- --disable-debug \
- --enable-optimize \
- --enable-ccache \
- --enable-geoip \
- --enable-upnp
-
- make || return 1
-}
-
-package() {
- cd "${srcdir}/aMule-SVN-r${pkgver}"
- make DESTDIR=${pkgdir}/ install || return 1
-}
diff --git a/abs/extra/community/blockcontrol/PKGBUILD b/abs/extra/community/blockcontrol/PKGBUILD
deleted file mode 100644
index 2507adc..0000000
--- a/abs/extra/community/blockcontrol/PKGBUILD
+++ /dev/null
@@ -1,37 +0,0 @@
-# Contributor: Daniele Marinello <marinz at email dot it>
-
-pkgname=blockcontrol
-pkgver=1.6.9
-pkgrel=3
-pkgdesc="blockcontrol is designed to do all tasks related to IP block daemons (MoBlock or NFBlock). They check internet traffic based on large lists of IP address ranges in order to protect your privacy."
-arch=('i686' 'x86_64')
-url="http://moblock-deb.sourceforge.net/"
-license=('GPL2' 'BSD')
-depends=('moblock' 'wget')
-conflicts=('moblockcontrol')
-source=(http://downloads.sourceforge.net/moblock-deb/$pkgname-$pkgver.tar.gz \
- blockcontrol.lib.patch)
-backup=('etc/blockcontrol/blockcontrol.conf' 'etc/blockcontrol/blocklists.list')
-
-build() {
- cd "$startdir/src/$pkgname-$pkgver"
- patch -Np1 -i ../blockcontrol.lib.patch || return 1
-
- install -D -m 755 $startdir/src/$pkgname-$pkgver/blockcontrol ${pkgdir}/usr/bin/blockcontrol
- install -D -m 755 $startdir/src/$pkgname-$pkgver/blockcontrol.main ${pkgdir}/usr/lib/blockcontrol/blockcontrol.main
- install -D -m 644 $startdir/src/$pkgname-$pkgver/blockcontrol.defaults ${pkgdir}/usr/lib/blockcontrol/blockcontrol.defaults
- install -D -m 644 $startdir/src/$pkgname-$pkgver/blockcontrol.lib ${pkgdir}/usr/lib/blockcontrol/blockcontrol.lib
- install -D -m 755 $startdir/src/$pkgname-$pkgver/blockcontrol.wd ${pkgdir}/usr/bin/blockcontrol.wd
- install -D -m 644 $startdir/src/$pkgname-$pkgver/allow.p2p ${pkgdir}/etc/blockcontrol/allow.p2p
- install -D -m 644 $startdir/src/$pkgname-$pkgver/blockcontrol.conf ${pkgdir}/etc/blockcontrol/blockcontrol.conf
- install -D -m 644 $startdir/src/$pkgname-$pkgver/blocklists.list ${pkgdir}/etc/blockcontrol/blocklists.list
-# install -D -m 755 $startdir/src/$pkgname-$pkgver/if-up ${pkgdir}/etc/network/if-up.d/blockcontrol
- install -D -m 755 $startdir/src/$pkgname-$pkgver/cron.daily ${pkgdir}/etc/cron.daily/blockcontrol
- install -D -m 755 $startdir/src/$pkgname-$pkgver/init ${pkgdir}/etc/rc.d/blockcontrol
- install -D -m 644 $startdir/src/$pkgname-$pkgver/logrotate ${pkgdir}/etc/logrotate.d/blockcontrol
- install -d ${pkgdir}/var/lib/blockcontrol
- install -d ${pkgdir}/var/spool/blockcontrol
-}
-
-md5sums=('d02002745aacf6100ff9057bdc80adf3'
- 'efcca84e52ea98cc10610830f9c2ba37')
diff --git a/abs/extra/community/blockcontrol/blockcontrol.lib.patch b/abs/extra/community/blockcontrol/blockcontrol.lib.patch
deleted file mode 100644
index 4be1c75..0000000
--- a/abs/extra/community/blockcontrol/blockcontrol.lib.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- blockcontrol/blockcontrol_old.lib 2009-09-14 19:35:24.000000000 +0200
-+++ blockcontrol/blockcontrol.lib 2009-11-05 20:29:50.000000000 +0100
-@@ -1344,10 +1344,10 @@
- DAEMON_OPTS="$CUSTOM_DAEMON_OPTS"
- elif [ "$NAME" = moblock ] ; then
- # The options MoBlock is started with
-- DAEMON_OPTS="-$BLOCKLIST_FORMAT $BLOCKLIST $NFQUEUE_NUMBER_OPT $LOG_SYSLOG_OPT $LOG_TIMESTAMP_OPT $REJECT_OPT $ACCEPT_OPT $DAEMON_LOG"
-+ DAEMON_OPTS="-$BLOCKLIST_FORMAT $BLOCKLIST $NFQUEUE_NUMBER_OPT $LOG_SYSLOG_OPT $DAEMON_LOG"
- elif [ "$NAME" = nfblockd ] ; then
- # The options NFBlock is started with
-- DAEMON_OPTS="-d -f $BLOCKLIST -p $PIDFILE $NFQUEUE_NUMBER_OPT $REJECT_OPT $ACCEPT_OPT $LOG_SYSLOG_OPT"
-+ DAEMON_OPTS="-d -f $BLOCKLIST -p $PIDFILE $NFQUEUE_NUMBER_OPT $LOG_SYSLOG_OPT"
- fi
-
- # Test NICE_LEVEL setting.
diff --git a/abs/extra/community/chromium/PKGBUILD b/abs/extra/community/chromium/PKGBUILD
deleted file mode 100644
index df239af..0000000
--- a/abs/extra/community/chromium/PKGBUILD
+++ /dev/null
@@ -1,145 +0,0 @@
-# $Id: PKGBUILD 150259 2012-02-16 02:37:46Z foutrelis $
-# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
-# Contributor: Pierre Schmitz <pierre@archlinux.de>
-# Contributor: Jan "heftig" Steffens <jan.steffens@gmail.com>
-# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
-
-# Building for x86_64 requires lib32-glibc & lib32-zlib from [multilib]. These
-# libraries are linked from the NaCl toolchain, and are only needed during
-# build time.
-
-pkgname=chromium
-pkgver=17.0.963.56
-pkgrel=2
-pkgdesc="The open-source project behind Google Chrome, an attempt at creating a safer, faster, and more stable browser"
-arch=('i686' 'x86_64')
-url="http://www.chromium.org/"
-license=('BSD')
-depends=('gtk2' 'dbus-glib' 'nss' 'alsa-lib' 'xdg-utils' 'bzip2' 'libevent'
- 'libxss' 'libgcrypt' 'ttf-dejavu' 'desktop-file-utils'
- 'hicolor-icon-theme')
-makedepends=('python2' 'perl' 'gperf' 'yasm' 'mesa' 'libgnome-keyring'
- 'elfutils')
-optdepends=('kdebase-kdialog: needed for file dialogs in KDE'
- 'mozplugger-chromium: A Mozilla multimedia plugin for Chromium')
-# Needed for the NaCl toolchain
-[[ $CARCH == x86_64 ]] && makedepends+=('lib32-zlib')
-provides=('chromium-browser')
-conflicts=('chromium-browser')
-replaces=('firefox' 'firefox-i18n' 'mozplugger')
-install=chromium.install
-source=(http://commondatastorage.googleapis.com/chromium-browser-official/$pkgname-$pkgver.tar.bz2
- http://commondatastorage.googleapis.com/nativeclient-mirror/nacl/nacl_sdk/nacl_sdk.zip
- chromium.desktop
- chromium.sh
- gcc-4.6.patch
- nacl-cflags-remove-fstack-protector.patch
- chromium-media-no-sse-r0.patch)
-sha256sums=('270be138d499c6c2092644af69acab8310cb05c3d06c3afe7891e488c29b020f'
- '964fe3a5ec56f2505649aba00f900abe4205674b7fdaa16772647d347173bb01'
- '09bfac44104f4ccda4c228053f689c947b3e97da9a4ab6fa34ce061ee83d0322'
- 'c53bfc4db9dde684fbaed6a4bbecb207e3e7a0a2703233426fe076a6d3c557f3'
- '9c5e0803904d1a0e71ab7444c92a7046a34a9518eeba7a70f2eec7abecb8bf4e'
- '59e732880314333d6e9acf6ac99de467c98e8a92aa5c5292ae808a805e0f8d76'
- '71751bf5913da1eec3c88c433044224c869b0abd5a29172cf239bddbb4eff761')
-
-build() {
- cd "$srcdir/chromium-$pkgver"
-
- # Fix build with gcc 4.6
- # http://code.google.com/p/chromium/issues/detail?id=80071
- patch -Np0 -i "$srcdir/gcc-4.6.patch"
-
- # Filter -fstack-protector out of cflags for nacl_helper_bootstrap
- # http://code.google.com/p/chromium/issues/detail?id=104569
- patch -d native_client -Np1 -i \
- "$srcdir/nacl-cflags-remove-fstack-protector.patch"
-
- # Remove unconditional use of SSE3 (patch from Gentoo)
- patch -Np0 -i "$srcdir/chromium-media-no-sse-r0.patch"
-
- # Use Python 2
- find . -type f -exec sed -i -r \
- -e 's|/usr/bin/python$|&2|g' \
- -e 's|(/usr/bin/python2)\.4$|\1|g' \
- {} +
- # There are still a lot of relative calls which need a workaround
- mkdir "$srcdir/python2-path"
- ln -s /usr/bin/python2 "$srcdir/python2-path/python"
- export PATH="$srcdir/python2-path:$PATH"
-
- pushd "$srcdir/nacl_sdk"
- ./naclsdk update pepper_16
- popd
-
- ln -s "$srcdir/nacl_sdk/pepper_16/toolchain/linux_x86_newlib" \
- native_client/toolchain/linux_x86_newlib
-
- # We need to disable system_ssl until "next protocol negotiation" support is
- # available in our nss package.
- # (See https://bugzilla.mozilla.org/show_bug.cgi?id=547312)
-
- # CFLAGS are passed through release_extra_cflags below
- export -n CFLAGS CXXFLAGS
-
- build/gyp_chromium -f make build/all.gyp --depth=. \
- -Dno_strict_aliasing=1 \
- -Dwerror= \
- -Dlinux_sandbox_path=/usr/lib/chromium/chromium-sandbox \
- -Dlinux_strip_binary=1 \
- -Drelease_extra_cflags="$CFLAGS" \
- -Dffmpeg_branding=Chrome \
- -Dproprietary_codecs=1 \
- -Duse_system_bzip2=1 \
- -Duse_system_ffmpeg=0 \
- -Duse_system_libevent=1 \
- -Duse_system_libjpeg=0 \
- -Duse_system_libpng=1 \
- -Duse_system_libxml=0 \
- -Duse_system_ssl=0 \
- -Duse_system_yasm=1 \
- -Duse_system_zlib=1 \
- -Duse_gconf=0 \
- $([[ $CARCH == i686 ]] && echo '-Ddisable_sse2=1')
-
- make chrome chrome_sandbox BUILDTYPE=Release
-}
-
-package() {
- cd "$srcdir/chromium-$pkgver"
-
- install -D out/Release/chrome ${pkgdir}/usr/lib/chromium/chromium
-
- install -Dm4755 -o root -g root out/Release/chrome_sandbox \
- "$pkgdir/usr/lib/chromium/chromium-sandbox"
-
- cp out/Release/{{chrome,resources}.pak,libffmpegsumo.so} \
- out/Release/nacl_helper{,_bootstrap} \
- out/Release/{libppGoogleNaClPluginChrome.so,nacl_irt_x86_*.nexe} \
- "$pkgdir/usr/lib/chromium/"
-
- # These links are only needed when building with system ffmpeg
- #ln -s /usr/lib/libavcodec.so.52 ${pkgdir}/usr/lib/chromium/
- #ln -s /usr/lib/libavformat.so.52 ${pkgdir}/usr/lib/chromium/
- #ln -s /usr/lib/libavutil.so.50 ${pkgdir}/usr/lib/chromium/
-
- cp -a out/Release/locales out/Release/resources "$pkgdir/usr/lib/chromium/"
-
- find "$pkgdir/usr/lib/chromium/" -name '*.d' -type f -delete
-
- install -Dm644 out/Release/chrome.1 "$pkgdir/usr/share/man/man1/chromium.1"
-
- install -Dm644 "$srcdir/chromium.desktop" \
- "$pkgdir/usr/share/applications/chromium.desktop"
-
- for size in 16 22 24 32 48 64 128 256; do
- install -Dm644 "chrome/app/theme/chromium/product_logo_$size.png" \
- "$pkgdir/usr/share/icons/hicolor/${size}x${size}/apps/chromium.png"
- done
-
- install -D "$srcdir/chromium.sh" "$pkgdir/usr/bin/chromium"
-
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/chromium/LICENSE"
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/abs/extra/community/chromium/__changelog b/abs/extra/community/chromium/__changelog
deleted file mode 100644
index 0b5b4c8..0000000
--- a/abs/extra/community/chromium/__changelog
+++ /dev/null
@@ -1,2 +0,0 @@
-* Add replaces=('firefox' 'firefox-i18n' 'mozplugger') array
-* Add optdepends=('mozplugger-chromium: A Mozilla multimedia plugin for Chromium')
diff --git a/abs/extra/community/chromium/chromium-media-no-sse-r0.patch b/abs/extra/community/chromium/chromium-media-no-sse-r0.patch
deleted file mode 100644
index 07cda2d..0000000
--- a/abs/extra/community/chromium/chromium-media-no-sse-r0.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- media/media.gyp.orig 2012-02-02 10:03:41.000000000 +0100
-+++ media/media.gyp 2012-02-02 10:04:09.000000000 +0100
-@@ -467,14 +467,6 @@
- [ 'os_posix == 1 and OS != "mac" and OS != "android"', {
- 'cflags': [
- '-msse2',
-- '-msse3',
-- '-mssse3',
-- ],
-- }],
-- [ 'OS == "openbsd"', {
-- # OpenBSD's gcc (4.2.1) does not support -mssse3
-- 'cflags!': [
-- '-mssse3',
- ],
- }],
- [ 'OS == "mac"', {
diff --git a/abs/extra/community/chromium/chromium.desktop b/abs/extra/community/chromium/chromium.desktop
deleted file mode 100644
index 18446d4..0000000
--- a/abs/extra/community/chromium/chromium.desktop
+++ /dev/null
@@ -1,113 +0,0 @@
-[Desktop Entry]
-Version=1.0
-Name=Chromium
-# Only KDE 4 seems to use GenericName, so we reuse the KDE strings.
-# From Ubuntu's language-pack-kde-XX-base packages, version 9.04-20090413.
-GenericName=Web Browser
-GenericName[ar]=متصفح الشبكة
-GenericName[bg]=Уеб браузър
-GenericName[ca]=Navegador web
-GenericName[cs]=WWW prohlížeč
-GenericName[da]=Browser
-GenericName[de]=Web-Browser
-GenericName[el]=Περιηγητής ιστού
-GenericName[en_GB]=Web Browser
-GenericName[es]=Navegador web
-GenericName[et]=Veebibrauser
-GenericName[fi]=WWW-selain
-GenericName[fr]=Navigateur Web
-GenericName[gu]=વેબ બ્રાઉઝર
-GenericName[he]=דפדפן אינטרנט
-GenericName[hi]=वेब ब्राउज़र
-GenericName[hu]=Webböngésző
-GenericName[it]=Browser Web
-GenericName[ja]=ウェブブラウザ
-GenericName[kn]=ಜಾಲ ವೀಕ್ಷಕ
-GenericName[ko]=웹 브라우저
-GenericName[lt]=Žiniatinklio naršyklė
-GenericName[lv]=Tīmekļa pārlūks
-GenericName[ml]=വെബ് ബ്രൌസര്‍
-GenericName[mr]=वेब ब्राऊजर
-GenericName[nb]=Nettleser
-GenericName[nl]=Webbrowser
-GenericName[pl]=Przeglądarka WWW
-GenericName[pt]=Navegador Web
-GenericName[pt_BR]=Navegador da Internet
-GenericName[ro]=Navigator de Internet
-GenericName[ru]=Веб-браузер
-GenericName[sl]=Spletni brskalnik
-GenericName[sv]=Webbläsare
-GenericName[ta]=இணைய உலாவி
-GenericName[th]=เว็บเบราว์เซอร์
-GenericName[tr]=Web Tarayıcı
-GenericName[uk]=Навігатор Тенет
-GenericName[zh_CN]=网页浏览器
-GenericName[zh_HK]=網頁瀏覽器
-GenericName[zh_TW]=網頁瀏覽器
-# Not translated in KDE, from Epiphany 2.26.1-0ubuntu1.
-GenericName[bn]=ওয়েব ব্রাউজার
-GenericName[fil]=Web Browser
-GenericName[hr]=Web preglednik
-GenericName[id]=Browser Web
-GenericName[or]=ଓ୍ବେବ ବ୍ରାଉଜର
-GenericName[sk]=WWW prehliadač
-GenericName[sr]=Интернет прегледник
-GenericName[te]=మహాతల అన్వేషి
-GenericName[vi]=Bộ duyệt Web
-# Gnome and KDE 3 uses Comment.
-Comment=Access the Internet
-Comment[ar]=الدخول إلى الإنترنت
-Comment[bg]=Достъп до интернет
-Comment[bn]=ইন্টারনেটটি অ্যাক্সেস করুন
-Comment[ca]=Accedeix a Internet
-Comment[cs]=Přístup k internetu
-Comment[da]=Få adgang til internettet
-Comment[de]=Internetzugriff
-Comment[el]=Πρόσβαση στο Διαδίκτυο
-Comment[en_GB]=Access the Internet
-Comment[es]=Accede a Internet.
-Comment[et]=Pääs Internetti
-Comment[fi]=Käytä internetiä
-Comment[fil]=I-access ang Internet
-Comment[fr]=Accéder à Internet
-Comment[gu]=ઇંટરનેટ ઍક્સેસ કરો
-Comment[he]=גישה אל האינטרנט
-Comment[hi]=इंटरनेट तक पहुंच स्थापित करें
-Comment[hr]=Pristup Internetu
-Comment[hu]=Internetelérés
-Comment[id]=Akses Internet
-Comment[it]=Accesso a Internet
-Comment[ja]=インターネットにアクセス
-Comment[kn]=ಇಂಟರ್ನೆಟ್ ಅನ್ನು ಪ್ರವೇಶಿಸಿ
-Comment[ko]=인터넷 연결
-Comment[lt]=Interneto prieiga
-Comment[lv]=Piekļūt internetam
-Comment[ml]=ഇന്റര്‍‌നെറ്റ് ആക്‌സസ് ചെയ്യുക
-Comment[mr]=इंटरनेटमध्ये प्रवेश करा
-Comment[nb]=Gå til Internett
-Comment[nl]=Verbinding maken met internet
-Comment[or]=ଇଣ୍ଟର୍ନେଟ୍ ପ୍ରବେଶ କରନ୍ତୁ
-Comment[pl]=Skorzystaj z internetu
-Comment[pt]=Aceder à Internet
-Comment[pt_BR]=Acessar a internet
-Comment[ro]=Accesaţi Internetul
-Comment[ru]=Доступ в Интернет
-Comment[sk]=Prístup do siete Internet
-Comment[sl]=Dostop do interneta
-Comment[sr]=Приступите Интернету
-Comment[sv]=Gå ut på Internet
-Comment[ta]=இணையத்தை அணுகுதல்
-Comment[te]=ఇంటర్నెట్‌ను ఆక్సెస్ చెయ్యండి
-Comment[th]=เข้าถึงอินเทอร์เน็ต
-Comment[tr]=İnternet'e erişin
-Comment[uk]=Доступ до Інтернету
-Comment[vi]=Truy cập Internet
-Comment[zh_CN]=访问互联网
-Comment[zh_HK]=連線到網際網路
-Comment[zh_TW]=連線到網際網路
-Exec=chromium %U
-Terminal=false
-Icon=chromium
-Type=Application
-Categories=GTK;Network;WebBrowser;
-MimeType=text/html;text/xml;application/xhtml+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;
diff --git a/abs/extra/community/chromium/chromium.install b/abs/extra/community/chromium/chromium.install
deleted file mode 100644
index d43ea7c..0000000
--- a/abs/extra/community/chromium/chromium.install
+++ /dev/null
@@ -1,12 +0,0 @@
-post_install() {
- xdg-icon-resource forceupdate --theme hicolor &>/dev/null
- update-desktop-database -q
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
diff --git a/abs/extra/community/chromium/chromium.sh b/abs/extra/community/chromium/chromium.sh
deleted file mode 100755
index e1c3388..0000000
--- a/abs/extra/community/chromium/chromium.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-export CHROME_WRAPPER=/usr/lib/chromium/chromium
-export CHROME_DESKTOP=chromium.desktop
-exec /usr/lib/chromium/chromium "$@"
diff --git a/abs/extra/community/chromium/gcc-4.6.patch b/abs/extra/community/chromium/gcc-4.6.patch
deleted file mode 100644
index b5e61dc..0000000
--- a/abs/extra/community/chromium/gcc-4.6.patch
+++ /dev/null
@@ -1,99 +0,0 @@
-diff -u -r chrome/browser/search_engines/template_url_prepopulate_data.h chrome/browser/search_engines/template_url_prepopulate_data.h
---- chrome/browser/search_engines/template_url_prepopulate_data.h 2011-04-13 13:23:41.000000000 +0400
-+++ chrome/browser/search_engines/template_url_prepopulate_data.h 2011-04-20 19:32:58.000000000 +0400
-@@ -7,6 +7,7 @@
- #pragma once
-
- #include <vector>
-+#include <cstddef>
-
- class GURL;
- class PrefService;
-diff -u -r gpu/command_buffer/common/types.h gpu/command_buffer/common/types.h
---- gpu/command_buffer/common/types.h 2011-04-13 13:22:57.000000000 +0400
-+++ gpu/command_buffer/common/types.h 2011-04-20 19:32:58.000000000 +0400
-@@ -11,6 +11,7 @@
- #include <stdint.h>
- #endif
- #include <string>
-+#include <cstddef>
-
- typedef signed char schar;
- typedef signed char int8;
-diff -u -r ppapi/cpp/paint_aggregator.h ppapi/cpp/paint_aggregator.h
---- ppapi/cpp/paint_aggregator.h 2011-04-13 13:22:58.000000000 +0400
-+++ ppapi/cpp/paint_aggregator.h 2011-04-20 20:11:44.000000000 +0400
-@@ -9,6 +9,7 @@
-
- #include "ppapi/cpp/point.h"
- #include "ppapi/cpp/rect.h"
-+#include <cstddef>
-
- namespace pp {
-
-diff -u -r third_party/ots/src/os2.cc third_party/ots/src/os2.cc
---- third_party/ots/src/os2.cc 2011-04-13 13:24:06.000000000 +0400
-+++ third_party/ots/src/os2.cc 2011-04-20 19:45:44.000000000 +0400
-@@ -5,6 +5,7 @@
- #include "os2.h"
-
- #include "head.h"
-+#include <cstddef>
-
- // OS/2 - OS/2 and Windows Metrics
- // http://www.microsoft.com/opentype/otspec/os2.htm
-diff -u -r third_party/tcmalloc/chromium/src/base/stl_allocator.h third_party/tcmalloc/chromium/src/base/stl_allocator.h
---- third_party/tcmalloc/chromium/src/base/stl_allocator.h 2011-04-13 13:23:04.000000000 +0400
-+++ third_party/tcmalloc/chromium/src/base/stl_allocator.h 2011-04-20 19:32:58.000000000 +0400
-@@ -38,6 +38,7 @@
- #include <config.h>
-
- #include <limits>
-+#include <cstddef>
-
- #include "base/basictypes.h"
- #include "base/logging.h"
-diff -u -r third_party/tcmalloc/chromium/src/base/vdso_support.h third_party/tcmalloc/chromium/src/base/vdso_support.h
---- third_party/tcmalloc/chromium/src/base/vdso_support.h 2011-04-13 13:23:04.000000000 +0400
-+++ third_party/tcmalloc/chromium/src/base/vdso_support.h 2011-04-20 19:32:58.000000000 +0400
-@@ -37,6 +37,7 @@
-
- #define HAVE_VDSO_SUPPORT 1
-
-+#include <cstddef>
- #include <stdlib.h> // for NULL
- #include <link.h> // for ElfW
- #include "base/basictypes.h"
-diff -u -r third_party/tcmalloc/chromium/src/common.cc third_party/tcmalloc/chromium/src/common.cc
---- third_party/tcmalloc/chromium/src/common.cc 2011-04-13 13:23:04.000000000 +0400
-+++ third_party/tcmalloc/chromium/src/common.cc 2011-04-20 19:32:58.000000000 +0400
-@@ -34,6 +34,7 @@
- #include "config.h"
- #include "common.h"
- #include "system-alloc.h"
-+#include <cstddef>
-
- namespace tcmalloc {
-
-diff -u -r third_party/tcmalloc/chromium/src/symbolize.h third_party/tcmalloc/chromium/src/symbolize.h
---- third_party/tcmalloc/chromium/src/symbolize.h 2011-04-13 13:23:04.000000000 +0400
-+++ third_party/tcmalloc/chromium/src/symbolize.h 2011-04-20 19:32:58.000000000 +0400
-@@ -38,6 +38,7 @@
- #include <stdint.h> // for uintptr_t
- #endif
- #include <map>
-+#include <cstddef>
-
- using std::map;
-
-diff -u -r ui/gfx/codec/jpeg_codec.h ui/gfx/codec/jpeg_codec.h
---- ui/gfx/codec/jpeg_codec.h 2011-04-13 13:23:45.000000000 +0400
-+++ ui/gfx/codec/jpeg_codec.h 2011-04-20 19:32:58.000000000 +0400
-@@ -7,6 +7,7 @@
- #pragma once
-
- #include <vector>
-+#include <cstddef>
-
- class SkBitmap;
-
diff --git a/abs/extra/community/chromium/nacl-cflags-remove-fstack-protector.patch b/abs/extra/community/chromium/nacl-cflags-remove-fstack-protector.patch
deleted file mode 100644
index 0e4f7cf..0000000
--- a/abs/extra/community/chromium/nacl-cflags-remove-fstack-protector.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-Index: src/trusted/service_runtime/linux/nacl_bootstrap.gyp
-diff --git a/src/trusted/service_runtime/linux/nacl_bootstrap.gyp b/src/trusted/service_runtime/linux/nacl_bootstrap.gyp
-index 66d95ca4dc98653219c965b899dbd5ad35d2960c..083e3fdd24ff4562d2037f8d17a06540e05357b8 100644
---- a/src/trusted/service_runtime/linux/nacl_bootstrap.gyp
-+++ b/src/trusted/service_runtime/linux/nacl_bootstrap.gyp
-@@ -84,6 +84,11 @@
- '-fasan',
- '-faddress-sanitizer',
- '-w',
-+ # We filter these out because release_extra_cflags or another
-+ # such thing might be adding them in, and those options wind up
-+ # coming after the -fno-stack-protector we added above.
-+ '-fstack-protector',
-+ '-fstack-protector-all',
- ],
- 'conditions': [
- ['clang==1', {
diff --git a/abs/extra/community/chrpath/ChangeLog b/abs/extra/community/chrpath/ChangeLog
deleted file mode 100644
index dabc6f9..0000000
--- a/abs/extra/community/chrpath/ChangeLog
+++ /dev/null
@@ -1,10 +0,0 @@
-2009-05-21 Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
-
- * 0.13-2 :
- Replaced in my '# Contributor:' line by '# Maintainer:'
-
-
-2009-03-19 Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
-
- * 0.13-1 :
- Initial release.
diff --git a/abs/extra/community/chrpath/PKGBUILD b/abs/extra/community/chrpath/PKGBUILD
deleted file mode 100644
index 2fefddf..0000000
--- a/abs/extra/community/chrpath/PKGBUILD
+++ /dev/null
@@ -1,20 +0,0 @@
-# Contributor: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
-
-pkgname=chrpath
-pkgver=0.13
-pkgrel=2
-pkgdesc="Change or delete the rpath or runpath in ELF files"
-arch=('i686' 'x86_64')
-url="http://packages.debian.org/chrpath"
-license=('GPL2')
-depends=('glibc')
-source=(http://ftp.debian.org/debian/pool/main/c/${pkgname}/${pkgname}_${pkgver}.orig.tar.gz)
-md5sums=('b73072a8fbba277558c50364b65bb407')
-
-build() {
- cd $srcdir/$pkgname-$pkgver
-
- ./configure --prefix=/usr --mandir=/usr/share/man
- make || return 1
- make DESTDIR=$pkgdir docdir=/usr/share/doc/chrpath install
-}
diff --git a/abs/extra/community/cksfv/PKGBUILD b/abs/extra/community/cksfv/PKGBUILD
deleted file mode 100644
index da4ba00..0000000
--- a/abs/extra/community/cksfv/PKGBUILD
+++ /dev/null
@@ -1,21 +0,0 @@
-# Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org>
-# Contributor: Wijnand Modderman <wijanand+aur@archlinux.nl>
-
-pkgname=cksfv
-pkgver=1.3.14
-pkgrel=1
-pkgdesc="SFV (Simple File Verification) Checker"
-arch=('i686' 'x86_64')
-url="http://zakalwe.virtuaalipalvelin.net/~shd/foss/cksfv/"
-license=('GPL')
-depends=('glibc')
-source=(http://zakalwe.fi/~shd/foss/cksfv/files/$pkgname-$pkgver.tar.gz)
-md5sums=('2e15289753ea0b90b6ea86993f93b383')
-
-build() {
- cd $startdir/src/$pkgname-$pkgver
- ./configure --prefix=/usr --package-prefix=$startdir/pkg
- make || return 1
- make install
- chmod 644 $startdir/pkg/usr/share/man/man1/$pkgname.1
-}
diff --git a/abs/extra/community/codecs/PKGBUILD b/abs/extra/community/codecs/PKGBUILD
deleted file mode 100644
index 416ff37..0000000
--- a/abs/extra/community/codecs/PKGBUILD
+++ /dev/null
@@ -1,22 +0,0 @@
-# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
-
-pkgname=codecs
-pkgver=20100303
-pkgrel=4
-pkgdesc="Non-linux native codec pack."
-arch=('i686')
-url="http://www.mplayerhq.hu/design7/dload.html"
-license=('unknown')
-depends=('libstdc++5')
-conflicts=('codecs-extra')
-replaces=('codecs-extra')
-options=('!strip')
-source=(http://www.mplayerhq.hu/MPlayer/releases/codecs/all-$pkgver.tar.bz2)
-md5sums=('4a7eb1a706f4ed9950bf6dd7f063ef68')
-
-build() {
- install -d $pkgdir/usr/lib/codecs
- ln -s codecs ${pkgdir}/usr/lib/win32
- install -m644 $srcdir/all-$pkgver/* $pkgdir/usr/lib/codecs
-}
-
diff --git a/abs/extra/community/curlftpfs/PKGBUILD b/abs/extra/community/curlftpfs/PKGBUILD
deleted file mode 100644
index 242e28f..0000000
--- a/abs/extra/community/curlftpfs/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# $Id$
-# Maintainer: Chris Brannon <cmbrannon79@gmail.com>
-# Contributor: Allan McRae <mcrae_allan@hotmail.com>
-# Contributor: Philip Nilsson <leffeman@gmail.com>
-
-pkgname=curlftpfs
-pkgver=0.9.2
-pkgrel=4
-pkgdesc="A filesystem for acessing FTP hosts based on FUSE and libcurl."
-url="http://curlftpfs.sourceforge.net/"
-license=('GPL')
-depends=('curl>=7.15.4' 'fuse' 'glib2')
-makedepends=('pkgconfig>=0.9.0')
-arch=('i686' 'x86_64')
-source=(http://downloads.sourceforge.net/sourceforge/curlftpfs/$pkgname-$pkgver.tar.gz
- ioerror.patch)
-md5sums=('b452123f755114cd4461d56c648d9f12'
- '7a8db686293463ba3148c7032871c883')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- patch -p1 < "$srcdir/ioerror.patch"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir" install
-}
diff --git a/abs/extra/community/curlftpfs/ioerror.patch b/abs/extra/community/curlftpfs/ioerror.patch
deleted file mode 100644
index 6ca1afb..0000000
--- a/abs/extra/community/curlftpfs/ioerror.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- curlftpfs-0.9.2.orig/ftpfs.c 2008-04-30 03:05:47.000000000 +0400
-+++ curlftpfs-0.9.2.orig/ftpfs.c 2011-01-20 20:33:38.000000000 +0300
-@@ -503,7 +503,7 @@ static void *ftpfs_write_thread(void *da
-
- curl_easy_setopt_or_die(fh->write_conn, CURLOPT_URL, fh->full_path);
- curl_easy_setopt_or_die(fh->write_conn, CURLOPT_UPLOAD, 1);
-- curl_easy_setopt_or_die(fh->write_conn, CURLOPT_INFILESIZE, -1);
-+ curl_easy_setopt_or_die(fh->write_conn, CURLOPT_INFILESIZE, (curl_off_t)-1);
- curl_easy_setopt_or_die(fh->write_conn, CURLOPT_READFUNCTION, write_data_bg);
- curl_easy_setopt_or_die(fh->write_conn, CURLOPT_READDATA, fh);
- curl_easy_setopt_or_die(fh->write_conn, CURLOPT_LOW_SPEED_LIMIT, 1);
diff --git a/abs/extra/community/cwiid-git/PKGBUILD b/abs/extra/community/cwiid-git/PKGBUILD
deleted file mode 100644
index 2a88d26..0000000
--- a/abs/extra/community/cwiid-git/PKGBUILD
+++ /dev/null
@@ -1,67 +0,0 @@
-#Contributor:Andrea Tarocchi <valdar@email.it>
-pkgname=cwiid-git
-#pkgver=`date +%Y%m%d`
-pkgver=20111102
-pkgrel=1
-pkgdesc="Cwiid-git is the bleeding edge version of a wiimote's driver and utility tools"
-arch=('i686' 'x86_64')
-url="http://github.com/abstrakraft/cwiid"
-license=('GPL')
-
-depends=('bluez>=4' 'gtk2' 'python2')
-makedepends=('git' 'make' 'automake' 'autoconf')
-replaces=('cwiid' 'cwiid-svn')
-provides=('cwiid' 'cwiid-git')
-install=('cwiid.install')
-source=()
-
-_gitroot=git://github.com/abstrakraft/cwiid.git
-_gitname=cwiid
-_builddir=$srcdir/$_gitname-build
-
-build() {
-
- export LDFLAGS=""
-
- cd $srcdir/
- msg "Connecting to github.com GIT server...."
- if [ -d $srcdir/$_gitname ] ; then
- pushd $_gitname && git pull origin && popd
- msg "The local files are updated."
- else
- git clone $_gitroot
- fi
- msg "GIT checkout done or server timeout"
- msg "Starting make..."
- rm -rf $_gitname-build
- git clone $_gitname $_gitname-build
-
- cd $_builddir
-
- aclocal
- autoreconf
- ./configure --prefix=/usr --sysconfdir=/etc --with-python=python2 --disable-ldconfig
-
- make || return 1
-}
-
-package() {
- cd ${_builddir}
- make DESTDIR="${pkgdir}" install || return 1
-
-# aclocal
-# autoreconf
-
-# ./configure --disable-ldconfig --prefix=/usr --sysconfdir=/etc --with-cwiid-plugins-dir=/lib/cwiid/plugins
-# make LDFLAGS=-L../libcwiid || return 1
-
-# install -d $startdir/pkg/usr/bin
-# install -d $startdir/pkg/etc
-# install -d $startdir/pkg/usr/lib
-# install -d $startdir/pkg/usr/include
-
-# make install LDFLAGS=-L../libcwiid prefix=$startdir/pkg/usr sysconfdir=$startdir/pkg/etc install
-
-# install -D -m644 ./wminput/README $pkgdir/usr/share/doc/cwiid/wminput
-}
-md5sums=()
diff --git a/abs/extra/community/cwiid-git/cwiid.install b/abs/extra/community/cwiid-git/cwiid.install
deleted file mode 100644
index 5dc5faf..0000000
--- a/abs/extra/community/cwiid-git/cwiid.install
+++ /dev/null
@@ -1,16 +0,0 @@
-# arg 1: the new package version
-post_install() {
-echo -e "Note:"
-echo -e "\033[1;31m==> In order to use wminput you have to load the uinput kernel module:\033[0m"
-echo -e "\033[1;31m==> modprobe uinput (as root)\033[0m"
-echo -e "\033[1;31m==> and you have to assign correct right acces to /dev/uinput\033[0m"
-echo -e "\033[1;31m==> PLEAS READ THE DOC FILE /usr/share/doc/cwiid/wminput\033[0m"
-}
-
-post_upgrade() {
- post_install $1
-}
-
-op=$1
-shift
-$op $* \ No newline at end of file
diff --git a/abs/extra/community/deluge/PKGBUILD b/abs/extra/community/deluge/PKGBUILD
deleted file mode 100644
index 3d36405..0000000
--- a/abs/extra/community/deluge/PKGBUILD
+++ /dev/null
@@ -1,40 +0,0 @@
-# $Id: PKGBUILD 97661 2010-10-31 22:31:52Z ibiru $
-# Maintainer : Ionut Biru <ibiru@archlinux.org>
-# Contributor: Hugo Doria <hugo@archlinux.org>
-
-pkgname=deluge
-pkgver=1.3.1
-pkgrel=1
-pkgdesc="A bittorrent client written with python and pygtk"
-arch=('any')
-url="http://deluge-torrent.org/"
-license=('GPL3')
-depends=('pyxdg' 'python2-distribute' 'libtorrent-rasterbar>=0.15.0' 'twisted' 'pyopenssl' 'xdg-utils' 'python-chardet')
-makedepends=( 'intltool' 'pygtk' 'librsvg' 'python-mako')
-optdepends=('python-notify: libnotify notifications'
- 'pygtk: needed for gtk ui'
- 'librsvg: needed for gtk ui'
- 'python-mako: needed for web ui')
-source=(http://download.deluge-torrent.org/source/${pkgname}-${pkgver}.tar.bz2 deluged deluged.conf.d deluge-web)
-backup=(etc/conf.d/deluged)
-install=deluge.install
-md5sums=('496a9cfaf01e6cf7ab141498acf2d1f1'
- '7d5790eeb14cd0b47d1bb3e0a19c9935'
- '332d23fe0d21ce92b494efd73322856c'
- '6c913ec7322eaa60494ac9d53103005f')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- python2 setup.py build
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
-
- install -d -m755 "${pkgdir}"/srv/deluge
- install -D -m644 deluge/data/pixmaps/deluge.svg "${pkgdir}"/usr/share/pixmaps/deluge.svg
- install -D -m755 "${srcdir}"/deluged "${pkgdir}"/etc/rc.d/deluged
- install -D -m755 "${srcdir}"/deluge-web "${pkgdir}"/etc/rc.d/deluge-web
- install -D -m644 "${srcdir}"/deluged.conf.d "${pkgdir}"/etc/conf.d/deluged
-}
diff --git a/abs/extra/community/deluge/__changelog b/abs/extra/community/deluge/__changelog
deleted file mode 100644
index c5602d9..0000000
--- a/abs/extra/community/deluge/__changelog
+++ /dev/null
@@ -1 +0,0 @@
-change 'setuptools' dep to 'python2-distribute'
diff --git a/abs/extra/community/deluge/deluge-web b/abs/extra/community/deluge/deluge-web
deleted file mode 100644
index 587496f..0000000
--- a/abs/extra/community/deluge/deluge-web
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/deluged
-
-[[ -f /var/run/deluge-web.pid ]] && PID=$(cat /var/run/deluge-web.pid)
-[[ -d /proc/$PID ]] || PID=
-
-case "$1" in
- start)
- stat_busy "Starting Deluge WebUI"
- [[ -z $PID ]] && su -l -s /bin/sh -c "/usr/bin/deluge-web -f >/dev/null" $DELUGE_USER
- if [ $? -gt 0 ]; then
- stat_fail
- else
- sleep 1
- echo $(pgrep -u $DELUGE_USER deluge-web) > /var/run/deluge-web.pid
- add_daemon deluge-web
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping Deluge WebUI"
- [[ ! -z $PID ]] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm /var/run/deluge-web.pid
- rm_daemon deluge-web
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
diff --git a/abs/extra/community/deluge/deluge.install b/abs/extra/community/deluge/deluge.install
deleted file mode 100644
index 9377a63..0000000
--- a/abs/extra/community/deluge/deluge.install
+++ /dev/null
@@ -1,29 +0,0 @@
-post_install() {
- getent group deluge >/dev/null 2>&1 || usr/sbin/groupadd -g 125 deluge
- if getent passwd deluge > /dev/null 2>&1; then
- usr/sbin/usermod -c 'Deluge user' -d /srv/deluge -s /bin/false deluge > /dev/null 2>&1
- else
- usr/sbin/useradd -c 'Deluge user' -u 125 -g deluge -d /srv/deluge -s /bin/false deluge
- fi
- usr/bin/passwd -l deluge &>/dev/null
-
- chown deluge.deluge srv/deluge
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
-
-cat << _EOF
->>> Deluge's daemon is running default with the "deluge" user. The default download directory is /srv/deluge/.
- You can change the user by editing /etc/conf.d/deluged
-_EOF
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- getent passwd deluge >/dev/null 2>&1 && userdel deluge
- getent group deluge >/dev/null 2>&1 && groupdel deluge
-
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
-}
-
diff --git a/abs/extra/community/deluge/deluged b/abs/extra/community/deluge/deluged
deleted file mode 100644
index 096d36a..0000000
--- a/abs/extra/community/deluge/deluged
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/deluged
-
-[[ -f /var/run/deluged.pid ]] && PID=$(cat /var/run/deluged.pid)
-[[ -d /proc/$PID ]] || PID=
-
-case "$1" in
- start)
- stat_busy "Starting Deluge Daemon"
- [[ -z $PID ]] && su -l -s /bin/sh -c "/usr/bin/deluged >/dev/null" $DELUGE_USER
- if [ $? -gt 0 ]; then
- stat_fail
- else
- sleep 1
- echo $(pgrep -u $DELUGE_USER deluged) > /var/run/deluged.pid
- add_daemon deluged
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping Deluge Daemon"
- [[ ! -z $PID ]] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm /var/run/deluged.pid
- rm_daemon deluged
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
-
diff --git a/abs/extra/community/deluge/deluged.conf.d b/abs/extra/community/deluge/deluged.conf.d
deleted file mode 100644
index 7f4e873..0000000
--- a/abs/extra/community/deluge/deluged.conf.d
+++ /dev/null
@@ -1 +0,0 @@
-DELUGE_USER="deluge"
diff --git a/abs/extra/community/djmount/PKGBUILD b/abs/extra/community/djmount/PKGBUILD
deleted file mode 100644
index a3648dc..0000000
--- a/abs/extra/community/djmount/PKGBUILD
+++ /dev/null
@@ -1,25 +0,0 @@
-# Contributor: Michele Schäuble <mschaeuble@swissonline.ch>
-
-pkgname=djmount
-pkgver=0.71
-pkgrel=1
-pkgdesc="A UPnP AV client that mounts media server contents as a filesystem."
-arch=('i686')
-url="http://djmount.sourceforge.net/"
-license=('GPL')
-depends=('fuse')
-source=(http://voxel.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz \
- djmount.rcd djmount.confd)
-md5sums=('c922753e706c194bf82a8b6ca77e6a9a' \
- 'f473b5150df385447f2f58049bfb6199' \
- '21de4c947c17e8558f1007a20757f254')
-
-build() {
- cd $startdir/src/$pkgname-$pkgver
- ./configure --prefix=/usr
- make || return 1
- make DESTDIR=$startdir/pkg install
-
- install -D -m755 $startdir/src/djmount.rcd $startdir/pkg/etc/rc.d/djmount
- install -D -m644 $startdir/src/djmount.confd $startdir/pkg/etc/conf.d/djmount
-}
diff --git a/abs/extra/community/djmount/djmount.confd b/abs/extra/community/djmount/djmount.confd
deleted file mode 100644
index 079100e..0000000
--- a/abs/extra/community/djmount/djmount.confd
+++ /dev/null
@@ -1,2 +0,0 @@
-OPTIONS="-o ro,allow_other"
-MOUNTPOINT="/media/upnp"
diff --git a/abs/extra/community/djmount/djmount.rcd b/abs/extra/community/djmount/djmount.rcd
deleted file mode 100755
index 84899dd..0000000
--- a/abs/extra/community/djmount/djmount.rcd
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/bash
-
- . /etc/rc.conf
- . /etc/rc.d/functions
-
-# source application-specific settings
-[ -f /etc/conf.d/djmount ] && . /etc/conf.d/djmount
-
- case "$1" in
-
- start)
- stat_busy "Starting djmount"
- /usr/bin/djmount $OPTIONS $MOUNTPOINT &>/dev/null
- if [ $? -ne 0 ]; then
- stat_fail
- else
- add_daemon djmount
- stat_done
- fi
- ;;
-
- stop)
- stat_busy "Stopping djmount"
- fusermount -u $MOUNTPOINT
- kill -9 `pidof /usr/bin/djmount` &>/dev/null
- rm_daemon djmount
- stat_done
- ;;
-
- restart)
- stat_busy "Restarting djmount ..."
- $0 stop
- $0 start
- stat_done
- ;;
-
- *)
- echo "usage: $0 {start|stop|restart}"
- esac
diff --git a/abs/extra/community/fluxconf/PKGBUILD b/abs/extra/community/fluxconf/PKGBUILD
deleted file mode 100644
index 9d9220f..0000000
--- a/abs/extra/community/fluxconf/PKGBUILD
+++ /dev/null
@@ -1,24 +0,0 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
-# Maintainer: Aaron Griffin <aaron@archlinux.org>
-# Contributor: Jochem Kossen <j.kossen@home.nl>
-
-pkgname=fluxconf
-pkgver=0.9.9
-pkgrel=1
-pkgdesc="Configuration utility for the Fluxbox windowmanager"
-arch=(i686 x86_64)
-depends=('gtk2')
-source=(http://devaux.fabien.free.fr/flux/$pkgname-$pkgver.tar.gz)
-url="http://devaux.fabien.free.fr/flux/"
-md5sums=('ac37b12410daa06128f8eb29163a741d')
-
-build() {
- cd $startdir/src/$pkgname-$pkgver
- ./configure --prefix=/usr
- /usr/bin/make || return 1
- /usr/bin/make prefix=$startdir/pkg/usr install
- cd $startdir/pkg/usr/bin
- /bin/ln -sf $pkgname fluxbare
- /bin/ln -sf $pkgname fluxkeys
- /bin/ln -sf $pkgname fluxmenu
-}
diff --git a/abs/extra/community/fuzemux/PKGBUILD b/abs/extra/community/fuzemux/PKGBUILD
deleted file mode 100644
index aa542a5..0000000
--- a/abs/extra/community/fuzemux/PKGBUILD
+++ /dev/null
@@ -1,26 +0,0 @@
-# Contributor: Michael Hanson <hansonorders@verizon.net>
-# Maintainer: Michael Hanson <hansonorders@verizon.net>
-pkgname=fuzemux
-pkgver=0.1.2
-pkgrel=1
-pkgdesc="A tool to remux AVI video files for the San Disk Sansa Fuze portable media player"
-arch=('i686' 'x86_64')
-url="http://code.google.com/p/fuzemux"
-license=('cc-by-sa-3.0')
-source=("http://${pkgname}.googlecode.com/files/${pkgname}-${pkgver}-fixed.tar.gz")
-provides=('fuzemux')
-replaces=('fuzemux-svn')
-install=fuzemux.install
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
-
- ./configure --prefix=/usr
- make || return 1
-}
-
-package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir}/ install
-}
-md5sums=('6c7323e9b98620b39644e4d652b3f8ad')
diff --git a/abs/extra/community/fuzemux/fuzemux.install b/abs/extra/community/fuzemux/fuzemux.install
deleted file mode 100644
index 877ec1b..0000000
--- a/abs/extra/community/fuzemux/fuzemux.install
+++ /dev/null
@@ -1,5 +0,0 @@
-post_install() {
- echo ">>>"
- echo ">>> A user job script is supplied at /usr/LH/bin/myth2fuze"
- echo ">>>"
-}
diff --git a/abs/extra/community/gnash/PKGBUILD b/abs/extra/community/gnash/PKGBUILD
deleted file mode 100644
index daed440..0000000
--- a/abs/extra/community/gnash/PKGBUILD
+++ /dev/null
@@ -1,59 +0,0 @@
-# $Id: PKGBUILD 82896 2010-06-18 18:30:20Z ibiru $
-# Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com>
-
-pkgbase=gnash
-pkgname=(gnash-common gnash-gtk)
-pkgver=0.8.8
-pkgrel=1
-arch=('i686' 'x86_64')
-url="http://www.gnu.org/software/gnash/"
-license=(GPL3)
-makedepends=(curl giflib boost-libs libldap sdl agg libjpeg libpng libtool
- speex fontconfig libva ffmpeg libxinerama
- gstreamer0.10-base gstreamer0.10-ffmpeg
- gtk2 libldap
- pkgconfig boost)
-options=(!libtool !emptydirs)
-source=(http://ftp.gnu.org/gnu/gnash/${pkgver}/gnash-${pkgver}.tar.bz2)
-md5sums=('ce57f66e222f7eb1adf7f7b4a1274612')
-
-build() {
- cd "$srcdir/gnash-$pkgver"
-
- ./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --with-plugins-install=system \
- --with-npapi-plugindir=/usr/lib/mozilla/plugins \
- --enable-gui=sdl,gtk \
- --enable-renderer=agg \
- --enable-media=gst,ffmpeg \
- --enable-hwaccel=vaapi
-
- make
-}
-
-package_gnash-common() {
- pkgdesc="A GNU Flash movie player"
- depends=(curl giflib boost-libs libldap ffmpeg sdl agg libjpeg libpng
- speex fontconfig libva libxinerama
- gstreamer0.10-base gstreamer0.10-ffmpeg)
- backup=(etc/gnashrc etc/gnashpluginrc)
-
- cd "$srcdir/gnash-$pkgver"
-
- make DESTDIR="$pkgdir" install
-
- mv "$pkgdir/usr/bin/gtk-gnash" "$srcdir"
-}
-
-package_gnash-gtk() {
- pkgdesc="A GNU Flash movie player"
- depends=("gnash-common=$pkgver" gtk2 libldap)
-
- cd "$srcdir/gnash-$pkgver"
-
- make DESTDIR="$pkgdir" install-plugin
-
- install -D "$srcdir/gtk-gnash" "$pkgdir/usr/bin/gtk-gnash"
-}
diff --git a/abs/extra/community/gpac/PKGBUILD b/abs/extra/community/gpac/PKGBUILD
deleted file mode 100644
index 69717e2..0000000
--- a/abs/extra/community/gpac/PKGBUILD
+++ /dev/null
@@ -1,44 +0,0 @@
-# Maintainer: Brad Fanella <bradfanella@archlinux.us
-# Contributor: Allan McRae <allan@archlinux.org>
-# Contributor: niQo
-# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
-
-pkgname=gpac
-pkgver=0.4.5
-pkgrel=7
-pkgdesc="A multimedia framework based on the MPEG-4 Systems standard"
-arch=('i686' 'x86_64')
-url="http://gpac.sourceforge.net"
-depends=('libxml2' 'wxgtk' 'alsa-lib' 'sdl' 'js' 'libmad' \
- 'faad2' 'xvidcore' 'ffmpeg' 'freeglut')
-license=('LGPL')
-options=('!makeflags') # Multiple build jobs aren't handled correctly
-source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz
- libpng14-infopp-null.patch)
-md5sums=('755e8c438a48ebdb13525dd491f5b0d1'
- '14d6483c9eb84434aea68596f243e0ca')
-
-build() {
- cd ${srcdir}/${pkgname}
- chmod +x configure
- sed -i 's|--warn-common||' configure
- sed -i 's#osmozilla##g' applications/Makefile
- sed -i 's#"$(prefix)#"$(DESTDIR)$(prefix)#' applications/osmo4_wx/Makefile
- sed -i 's#ldconfig || true##g' Makefile
-
- #FS#14506
- sed -i 's#lib64#lib#g' configure
- patch -Np1 -i ${srcdir}/libpng14-infopp-null.patch
-
- # Was getting "symbol lookup error: /usr/lib/gpac/gm_x11_out.so: undefined
- # symbol: XvQueryExtension" with our LDFLAGS :\
- unset LDFLAGS
-
- ./configure --prefix=/usr --mandir=/usr/share/man --use-js=no
- make
-}
-
-package() {
- cd ${srcdir}/${pkgname}
- make DESTDIR=${pkgdir} install install-lib
-}
diff --git a/abs/extra/community/gpac/libpng14-infopp-null.patch b/abs/extra/community/gpac/libpng14-infopp-null.patch
deleted file mode 100644
index b024565..0000000
--- a/abs/extra/community/gpac/libpng14-infopp-null.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -upr gpac.orig/src/media_tools/img.c gpac/src/media_tools/img.c
---- gpac.orig/src/media_tools/img.c 2010-01-24 19:03:28.000000000 +0200
-+++ gpac/src/media_tools/img.c 2010-01-24 19:04:07.000000000 +0200
-@@ -551,7 +551,7 @@ GF_Err gf_img_png_enc(char *data, u32 wi
- /* Allocate/initialize the image information data. REQUIRED */
- info_ptr = png_create_info_struct(png_ptr);
- if (info_ptr == NULL) {
-- png_destroy_write_struct(&png_ptr, png_infopp_NULL);
-+ png_destroy_write_struct(&png_ptr, NULL);
- return GF_IO_ERR;
- }
-
diff --git a/abs/extra/community/gtkglext/PKGBUILD b/abs/extra/community/gtkglext/PKGBUILD
deleted file mode 100644
index a310af6..0000000
--- a/abs/extra/community/gtkglext/PKGBUILD
+++ /dev/null
@@ -1,25 +0,0 @@
-# $Id: PKGBUILD 9958 2008-08-21 02:56:50Z eric $
-# Maintainer: damir <damir@archlinux.org>
-# Contributor: Ben <ben@benmazer.net>
-
-pkgname=gtkglext
-pkgver=1.2.0
-pkgrel=1
-pkgdesc="opengl extensions for gtk2"
-arch=('i686' 'x86_64')
-url="http://gtkglext.sourceforge.net/"
-depends=('gtk2' 'pango')
-makedepends=('gcc>=4.0.3')
-options=('!libtool')
-source=("http://downloads.sourceforge.net/sourceforge/gtkglext/$pkgname-$pkgver.tar.bz2") # $pkgname-$pkgver-pangox.patch)
-md5sums=('ed7ba24ce06a8630c07f2d0ee5f04ab4')
-
-build() {
- cd $startdir/src/$pkgname-$pkgver
- # fix "undefined reference to `pango_x_font*" trouble
- #cat $startdir/src/$pkgname-$pkgver-pangox.patch | patch -p1 || return 1
- autoconf --force
- ./configure --prefix=/usr
- make || return 1
- make prefix=$startdir/pkg/usr install
-}
diff --git a/abs/extra/community/gtkglext/gtkglext-1.0.6-pangox.patch b/abs/extra/community/gtkglext/gtkglext-1.0.6-pangox.patch
deleted file mode 100644
index 8cd589e..0000000
--- a/abs/extra/community/gtkglext/gtkglext-1.0.6-pangox.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- gtkglext-1.0.6/configure.in 2005-09-10 16:45:06.000000000 +0200
-+++ gtkglext-1.0.6.az/configure.in 2005-09-10 16:46:01.000000000 +0200
-@@ -59,6 +59,10 @@
- m4_define([pango_pkg], [pango])
- m4_define([pango_required_version], [1.0.0])
-
-+# Pangox
-+m4_define([pangox_pkg], [pangox])
-+m4_define([pangox_required_version], [1.0.0])
-+
- # PangoFT2
- m4_define([pangoft2_pkg], [pangoft2])
- m4_define([pangoft2_required_version], [1.0.0])
-@@ -345,6 +349,7 @@
- gtk_pkg >= gtk_required_version \
- gdk_pkg >= gdk_required_version \
- pango_pkg >= pango_required_version \
-+pangox_pkg >= pango_required_version \
- gmodule_pkg >= gmodule_required_version \
- ])
-
-@@ -789,7 +794,7 @@
- # CFLAGS and LIBS
- ##################################################
-
--GDKGLEXT_PACKAGES="gdk_pkg pango_pkg gmodule_pkg"
-+GDKGLEXT_PACKAGES="gdk_pkg pango_pkg pangox_pkg gmodule_pkg"
- GDKGLEXT_EXTRA_CFLAGS="$GL_CFLAGS $GDKGLEXT_WIN_CFLAGS"
- GDKGLEXT_EXTRA_LIBS="$GL_LIBS $GDKGLEXT_WIN_LIBS"
- GDKGLEXT_DEP_CFLAGS="$GDKGLEXT_EXTRA_CFLAGS `$PKG_CONFIG --cflags $GDKGLEXT_PACKAGES`"
diff --git a/abs/extra/community/ircii/PKGBUILD b/abs/extra/community/ircii/PKGBUILD
deleted file mode 100644
index 2eb8ad6..0000000
--- a/abs/extra/community/ircii/PKGBUILD
+++ /dev/null
@@ -1,16 +0,0 @@
-# Contributor: Mateusz Herych <heniekk@gmail.com>
-pkgname=ircii
-pkgver=20060725
-pkgrel=1
-pkgdesc="IRC Client"
-arch=('i686')
-url="http://www.eterna.com.au/ircii/"
-license=('BSD')
-source=(ftp://ircii.warped.com/pub/ircII/ircii-$pkgver.tar.bz2)
-md5sums=('280ae54367627591c1c43c765eb9d59b')
-build() {
- cd $startdir/src/$pkgname-$pkgver
- ./configure --prefix=/usr
- make || return 1
- make install DESTDIR=$startdir/pkg || return 1
-}
diff --git a/abs/extra/community/js/PKGBUILD b/abs/extra/community/js/PKGBUILD
deleted file mode 100644
index d55295c..0000000
--- a/abs/extra/community/js/PKGBUILD
+++ /dev/null
@@ -1,31 +0,0 @@
-pkgname=js
-pkgver=1.7.0
-pkgrel=1
-epoch=1
-pkgdesc="Mozilla's C implementation of JavaScript."
-arch=("i686" "x86_64")
-url="http://www.mozilla.org/js/spidermonkey/"
-license=('MPL' 'GPL' 'LGPL')
-depends=('nspr')
-options=('!makeflags')
-replaces=('spidermonkey')
-conflicts=('spidermonkey')
-source=("http://ftp.mozilla.org/pub/mozilla.org/js/js-$pkgver.tar.gz" \
- "spidermonkey-1.7-threadsafe.patch" "spidermonkey-Makefile.patch")
-md5sums=('5571134c3863686b623ebe4e6b1f6fe6'
- 'b2ef9be017b6aa1857354b5223975a4f'
- '161d4c0f2c604d15cba29dab60b1f7a7')
-
-build() {
- cd "$srcdir/js/src"
- patch -p0 < "$srcdir/spidermonkey-Makefile.patch" || return 1
- sed -i 's|include|include/js|' rules.mk || return 1
- # fix for the lib location
- [ "$CARCH" = "x86_64" ] && (sed -i -e "s:lib64:lib:g" config.mk || return 1)
- # patch Makefile for threadsafe support with native nspr
- patch -p2 -i "$srcdir/spidermonkey-1.7-threadsafe.patch" || return 1
- # FS#16673
- export CFLAGS="${CFLAGS} -DJS_C_STRINGS_ARE_UTF8"
- # build - threadsafe
- make -f Makefile.ref BUILD_OPT=1 JS_THREADSAFE=1 DIST="$pkgdir/usr" all export || return 1
-}
diff --git a/abs/extra/community/js/spidermonkey-1.7-threadsafe.patch b/abs/extra/community/js/spidermonkey-1.7-threadsafe.patch
deleted file mode 100644
index da6c78d..0000000
--- a/abs/extra/community/js/spidermonkey-1.7-threadsafe.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- js/src/Makefile.ref.orig 2008-05-28 19:51:32.000000000 -0400
-+++ js/src/Makefile.ref 2008-05-28 19:52:17.000000000 -0400
-@@ -63,11 +63,11 @@
-
- ifdef JS_THREADSAFE
- DEFINES += -DJS_THREADSAFE
--INCLUDES += -I$(DIST)/include/nspr
-+INCLUDES += -I/usr/include/nspr
- ifdef USE_MSVC
- OTHER_LIBS += $(DIST)/lib/libnspr$(NSPR_LIBSUFFIX).lib
- else
--OTHER_LIBS += -L$(DIST)/lib -lnspr$(NSPR_LIBSUFFIX)
-+OTHER_LIBS += -L/usr/$(LIBDIR)/nspr -lnspr${NSPR_LIBSUFFIX}
- endif
- endif
-
diff --git a/abs/extra/community/js/spidermonkey-Makefile.patch b/abs/extra/community/js/spidermonkey-Makefile.patch
deleted file mode 100644
index abf1f31..0000000
--- a/abs/extra/community/js/spidermonkey-Makefile.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-*** Makefile.ref.orig 2009-02-16 09:56:29.000000000 -0600
---- Makefile.ref 2009-02-16 09:58:59.000000000 -0600
-***************
-*** 169,184 ****
---- 169,185 ----
- jstypes.h \
- jsprvtd.h \
- jspubtd.h \
- jsregexp.h \
- jsscan.h \
- jsscope.h \
- jsscript.h \
- jsstr.h \
-+ jsutil.h \
- jsxdrapi.h \
- jsxml.h \
- $(NULL)
-
- API_HFILES = \
- jsapi.h \
- jsdbgapi.h \
- $(NULL)
diff --git a/abs/extra/community/libcec/PKGBUILD b/abs/extra/community/libcec/PKGBUILD
deleted file mode 100644
index e4b9821..0000000
--- a/abs/extra/community/libcec/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# $Id$
-# Maintainer: BlackIkeEagle <ike DOT devolder AT gmail DOT com>
-# Contributor: Philippe Cherel <philippe.cherel@mayenne.org>
-
-pkgname=libcec
-pkgver=1.5.2
-pkgrel=1
-pkgdesc="Pulse-Eight's libcec for the Pulse-Eight USB-CEC adapter"
-arch=('i686' 'x86_64')
-url="https://github.com/Pulse-Eight/libcec"
-license=('GPL')
-depends=('udev')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/Pulse-Eight/libcec/tarball/$pkgname-$pkgver")
-_srcfolder=Pulse-Eight-libcec-00a02d1
-sha256sums=('93990024d01da7c66e2c78ca23919fd83137f6b944a2dc82fb5cc6d58a46742f')
-options=(!libtool)
-
-build() {
- mv "$_srcfolder" "$pkgname-$pkgver"
-
- cd "$pkgname-$pkgver"
- autoreconf -vif
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "$pkgname-$pkgver"
- make DESTDIR="$pkgdir" install
-}
diff --git a/abs/extra/community/libdnet/PKGBUILD b/abs/extra/community/libdnet/PKGBUILD
deleted file mode 100644
index 70cf6e4..0000000
--- a/abs/extra/community/libdnet/PKGBUILD
+++ /dev/null
@@ -1,33 +0,0 @@
-# $Id: PKGBUILD 27071 2010-09-17 12:26:08Z schuay $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: James Fryman <jfryman@gmail.com>
-
-pkgname=libdnet
-pkgver=1.12
-pkgrel=5
-pkgdesc="A simplified, portable interface to several low-level networking routines"
-arch=(i686 x86_64)
-makedepends=(python2)
-optdepends=(python2)
-install=(libdnet.install)
-license=("BSD")
-url="http://code.google.com/p/libdnet/"
-options=('!libtool')
-source=(http://libdnet.googlecode.com/files/libdnet-$pkgver.tgz)
-md5sums=('9253ef6de1b5e28e9c9a62b882e44cc9')
-
-build() {
- mkdir -p $pkgdir/usr/bin
-
- [ $CARCH == "x86_64" ] && export CFLAGS=-fPIC
-
- cd $srcdir/$pkgname-$pkgver
- ./configure --prefix=/usr
- make && make DESTDIR=$pkgdir install
-
- cd python && \
- python2 setup.py install --root=$pkgdir
-
- install -D -m0644 ../LICENSE $pkgdir/usr/share/licenses/libdnet/license
- mv $pkgdir/usr/man $startdir/pkg/usr/share/
-}
diff --git a/abs/extra/community/libdnet/libdnet.install b/abs/extra/community/libdnet/libdnet.install
deleted file mode 100644
index cb8146f..0000000
--- a/abs/extra/community/libdnet/libdnet.install
+++ /dev/null
@@ -1,3 +0,0 @@
-post_install() {
- /sbin/ldconfig
-}
diff --git a/abs/extra/community/libelf/PKGBUILD b/abs/extra/community/libelf/PKGBUILD
deleted file mode 100644
index 18bd118..0000000
--- a/abs/extra/community/libelf/PKGBUILD
+++ /dev/null
@@ -1,25 +0,0 @@
-# $Id: PKGBUILD 20525 2008-12-05 13:31:11Z jgc $
-# Maintainer: arjan <arjan@archlinux.org>
-# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
-
-pkgname=libelf
-pkgver=0.8.13
-pkgrel=1
-pkgdesc="libelf is a free ELF object file access library"
-arch=('i686' 'x86_64')
-license=('GPL')
-source=(http://www.mr511.de/software/${pkgname}-${pkgver}.tar.gz)
-url="http://directory.fsf.org/libs/misc/libelf.html"
-depends=('glibc')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --enable-shared \
- --enable-gnu-names --enable-compat || return 1
- make || return 1
-}
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make prefix="${pkgdir}/usr" install || return 1
-}
-md5sums=('4136d7b4c04df68b686570afa26988ac')
diff --git a/abs/extra/community/libnetfilter_queue/PKGBUILD b/abs/extra/community/libnetfilter_queue/PKGBUILD
deleted file mode 100644
index 0240b96..0000000
--- a/abs/extra/community/libnetfilter_queue/PKGBUILD
+++ /dev/null
@@ -1,24 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: Kevin Edmonds <edmondskevin@hotmail.com>
-# Maintainer: Filip Wojciechowski, filip at loka dot pl
-
-pkgname=libnetfilter_queue
-pkgver=1.0.0
-pkgrel=1
-pkgdesc="userspace library providing an API to packets that have been queued by the kernel packet filter"
-arch=('i686' 'x86_64')
-url="http://www.netfilter.org/projects/libnetfilter_queue/index.html"
-license=('GPL')
-depends=(libnfnetlink)
-makedepends=(pkgconfig)
-options=('!libtool')
-source=(http://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2)
-md5sums=('af6a9ea350f63a13609bc3b47b5c395c')
-
-build() {
- cd $srcdir/$pkgname-$pkgver
- ./configure --prefix=/usr
- make || return 1
- make DESTDIR=$pkgdir install
-}
diff --git a/abs/extra/community/libnfnetlink/PKGBUILD b/abs/extra/community/libnfnetlink/PKGBUILD
deleted file mode 100644
index 7577f65..0000000
--- a/abs/extra/community/libnfnetlink/PKGBUILD
+++ /dev/null
@@ -1,22 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: Kevin Edmonds <edmondskevin@hotmail.com>
-# Maintainer: Filip Wojciechowski, filip at loka dot pl
-pkgname=libnfnetlink
-pkgver=1.0.0
-pkgrel=1
-pkgdesc="low-level library for netfilter related kernel/userspace communication"
-depends=(glibc)
-url="http://www.netfilter.org/projects/libnfnetlink/index.html"
-license=('GPL')
-arch=('i686' 'x86_64')
-options=('!libtool')
-source=(http://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2)
-md5sums=('016fdec8389242615024c529acc1adb8')
-
-build() {
- cd $startdir/src/$pkgname-$pkgver
- ./configure --prefix=/usr
- make || return 1
- make DESTDIR=$startdir/pkg install
-}
diff --git a/abs/extra/community/libstdc++5/PKGBUILD b/abs/extra/community/libstdc++5/PKGBUILD
deleted file mode 100644
index 00bee17..0000000
--- a/abs/extra/community/libstdc++5/PKGBUILD
+++ /dev/null
@@ -1,41 +0,0 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=libstdc++5
-pkgver=3.3.6
-pkgrel=2
-pkgdesc="GNU Standard C++ library version 3"
-arch=(i686 x86_64)
-url="http://gcc.gnu.org"
-depends=('gcc-libs')
-makedepends=('binutils' 'gcc')
-options=(!libtool)
-source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-{core,g++}-${pkgver}.tar.bz2 gcc-3.4.3-no_multilib_amd64.patch)
-md5sums=(18c52e6fb8966b7700665dca289d077f 6b3d00b8d079805be1b895f7f6ce47a0 \
- 088e0807e677010cafe4e590e8711be1)
-
-build(){
- export MAKEFLAGS="-j1"
- export CFLAGS=$(echo $CFLAGS | sed 's|-mtune=generic||')
- export CXXFLAGS=$(echo $CXXFLAGS | sed 's|-mtune=generic||')
- cd ${startdir}/src/gcc-${pkgver}
-
- if [ "$CARCH" = "x86_64" ]; then
- patch -Np0 -i ../gcc-3.4.3-no_multilib_amd64.patch || return 1
- fi
-
- # No fixincludes
- sed -i -e 's@\./fixinc\.sh@-c true@' gcc/Makefile.in
- mkdir ../gcc-build
- cd ../gcc-build
- ../gcc-${pkgver}/configure --prefix=/usr --enable-shared \
- --enable-languages=c++ --enable-threads=posix --enable-__cxa_atexit \
- --disable-multilib --libdir=/usr/lib
- make all-target-libstdc++-v3 BOOT_CFLAGS="${CFLAGS}" STAGE1_CFLAGS="-O" || return 1
- make DESTDIR=${startdir}/pkg install-target-libstdc++-v3 || return 1
-
- # Remove includefiles and libs provided by gcc
- rm -rf ${startdir}/pkg/usr/{include,share/locale}
- rm -f ${startdir}/pkg/usr/lib/*.a
- rm -f ${startdir}/pkg/usr/lib/libstdc++.so
-}
diff --git a/abs/extra/community/libstdc++5/gcc-3.4.3-no_multilib_amd64.patch b/abs/extra/community/libstdc++5/gcc-3.4.3-no_multilib_amd64.patch
deleted file mode 100644
index dce10d4..0000000
--- a/abs/extra/community/libstdc++5/gcc-3.4.3-no_multilib_amd64.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- gcc/config/i386/t-linux64.orig 2003-06-28 00:19:59.000000000 +0000
-+++ gcc/config/i386/t-linux64 2003-06-28 00:20:07.000000000 +0000
-@@ -6,7 +6,7 @@
-
- MULTILIB_OPTIONS = m64/m32
- MULTILIB_DIRNAMES = 64 32
--MULTILIB_OSDIRNAMES = ../lib64 ../lib
-+MULTILIB_OSDIRNAMES = . ../lib
-
- LIBGCC = stmp-multilib
- INSTALL_LIBGCC = install-multilib
diff --git a/abs/extra/community/mediatomb/PKGBUILD b/abs/extra/community/mediatomb/PKGBUILD
deleted file mode 100644
index 606314a..0000000
--- a/abs/extra/community/mediatomb/PKGBUILD
+++ /dev/null
@@ -1,49 +0,0 @@
-# $Id$
-# Contributor: William Rea <sillywilly@gmail.com>
-# Contributor: Nikhil Bysani <nikron@gmail.com>
-# Contributor: Mika Hynnä <igheax@gmail.com>
-# Maintainer: Jonathan Conder <jonno.conder@gmail.com>
-
-pkgname=mediatomb
-pkgver=0.12.1
-pkgrel=5
-pkgdesc="Free UPnP/DLNA media server"
-arch=('i686' 'x86_64')
-url="http://mediatomb.cc/"
-license=('GPL')
-depends=('curl' 'ffmpegthumbnailer' 'js' 'libexif' 'libmp4v2' 'sqlite3' 'taglib')
-backup=('etc/conf.d/mediatomb')
-install=mediatomb.install
-source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
- 'mediatomb.rc'
- 'mediatomb.conf'
- 'gcc46.patch'
- 'tonewjs.patch')
-md5sums=('e927dd5dc52d3cfcebd8ca1af6f0d3c2'
- 'aa1191ec508d8bd4b3b9a5fe48efc079'
- 'bec297e4178332a26b42bbde873b94cd'
- '0ae34c0d73b76e3d215887834c3c08cf'
- 'd9e02a9956eecf5ff645bddf6dac0331')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- patch -Np1 -i $srcdir/gcc46.patch
- patch -Np1 -i $srcdir/tonewjs.patch
-
- ./configure --prefix=/usr \
- --disable-mysql \
- --enable-libmagic \
- --enable-libjs \
- --enable-ffmpeg
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
-
- make DESTDIR="$pkgdir/" install
-
- install -D -m0755 "$srcdir/mediatomb.rc" "$pkgdir/etc/rc.d/mediatomb"
- install -D -m0755 "$srcdir/mediatomb.conf" "$pkgdir/etc/conf.d/mediatomb"
- install -d "$pkgdir/var/lib/mediatomb"
-}
diff --git a/abs/extra/community/mediatomb/gcc46.patch b/abs/extra/community/mediatomb/gcc46.patch
deleted file mode 100644
index 0f4fe49..0000000
--- a/abs/extra/community/mediatomb/gcc46.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/src/zmm/object.h
-+++ b/src/zmm/object.h
-@@ -33,6 +33,7 @@
- #define __ZMM_OBJECT_H__
-
- #include <new> // for size_t
-+#include <cstddef>
- #include "atomic.h"
-
- namespace zmm
diff --git a/abs/extra/community/mediatomb/mediatomb.conf b/abs/extra/community/mediatomb/mediatomb.conf
deleted file mode 100644
index 798018d..0000000
--- a/abs/extra/community/mediatomb/mediatomb.conf
+++ /dev/null
@@ -1,23 +0,0 @@
-#
-# Parameters to be passed to mediatomb
-#
-
-# Port to listen on
-MT_PORT='50500'
-
-# User and group to run as
-MT_USER='nobody'
-MT_GROUP='nobody'
-
-# Location of the PID file
-MT_PIDFILE='/var/run/mediatomb.pid'
-
-# Location of the log file
-MT_LOGFILE='/var/log/mediatomb.log'
-
-# Location of the config file/database
-MT_HOME='/var/lib/mediatomb'
-MT_CFGDIR='.mediatomb'
-
-# User defined command line options
-MT_OPTIONS=''
diff --git a/abs/extra/community/mediatomb/mediatomb.install b/abs/extra/community/mediatomb/mediatomb.install
deleted file mode 100644
index 56f6ef9..0000000
--- a/abs/extra/community/mediatomb/mediatomb.install
+++ /dev/null
@@ -1,9 +0,0 @@
-post_install() {
- echo 'Warning: the MediaTomb web interface exposes your filesystem to the network'
- echo 'For maximum security, set <ui enabled="no"> in your MediaTomb config file'
-}
-
-post_upgrade() {
- # TODO: disable next update
- post_install
-}
diff --git a/abs/extra/community/mediatomb/mediatomb.rc b/abs/extra/community/mediatomb/mediatomb.rc
deleted file mode 100644
index 7b93012..0000000
--- a/abs/extra/community/mediatomb/mediatomb.rc
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/mediatomb
-
-MT_OPTIONS="-p $MT_PORT -u $MT_USER -g $MT_GROUP -P $MT_PIDFILE \
- -l $MT_LOGFILE -m $MT_HOME -f $MT_CFGDIR $MT_OPTIONS"
-
-case "$1" in
- start)
- stat_busy "Starting Mediatomb UPnP Media Server"
-
- chown "$MT_USER:$MT_GROUP" "$MT_HOME"
-
- if ! pidof -o %PPID /usr/bin/mediatomb &> /dev/null; then
- rm -f "$MT_PIDFILE"
- fi
-
- PID="$(cat "$MT_PIDFILE" 2> /dev/null)"
-
- if [ -z "$PID" ] && /usr/bin/mediatomb -d $MT_OPTIONS; then
- add_daemon mediatomb
- stat_done
- else
- stat_fail
- fi
- ;;
-
- stop)
- stat_busy "Stopping Mediatomb UPnP Media Server"
-
- PID="$(cat "$MT_PIDFILE" 2> /dev/null)"
-
- if [ -n "$PID" ] && kill "$PID" &> /dev/null; then
- rm -f "$MT_PIDFILE"
- rm_daemon mediatomb
- stat_done
- else
- stat_fail
- fi
- ;;
-
- restart)
- "$0" stop
- sleep 1
- "$0" start
- ;;
-
- *)
- echo "usage: $0 {start|stop|restart}"
- ;;
-esac
-exit 0
diff --git a/abs/extra/community/mediatomb/tonewjs.patch b/abs/extra/community/mediatomb/tonewjs.patch
deleted file mode 100644
index 1159685..0000000
--- a/abs/extra/community/mediatomb/tonewjs.patch
+++ /dev/null
@@ -1,564 +0,0 @@
-diff -up mediatomb-0.12.1-back/build/Makefile.in.tonewjs mediatomb-0.12.1-back/build/Makefile.in
---- mediatomb-0.12.1-back/build/Makefile.in.tonewjs 2010-04-08 00:40:15.000000000 +0200
-+++ mediatomb-0.12.1-back/build/Makefile.in 2011-04-19 17:17:01.343509944 +0200
-@@ -257,7 +257,7 @@ CURL_LIBS = @CURL_LIBS@
- CXX = @CXX@
- CXXCPP = @CXXCPP@
- CXXDEPMODE = @CXXDEPMODE@
--CXXFLAGS = @CXXFLAGS@
-+CXXFLAGS = -fpermissive @CXXFLAGS@
- CYGPATH_W = @CYGPATH_W@
- DB_AUTOCREATE_OPTION_ENABLED = @DB_AUTOCREATE_OPTION_ENABLED@
- DB_AUTOCREATE_OPTION_REQUESTED = @DB_AUTOCREATE_OPTION_REQUESTED@
-diff -up mediatomb-0.12.1-back/src/scripting/import_script.cc.tonewjs mediatomb-0.12.1-back/src/scripting/import_script.cc
---- mediatomb-0.12.1-back/src/scripting/import_script.cc.tonewjs 2011-04-18 13:10:48.000000000 +0200
-+++ mediatomb-0.12.1-back/src/scripting/import_script.cc 2011-04-18 13:29:36.000000000 +0200
-@@ -53,8 +53,8 @@ ImportScript::ImportScript(Ref<Runtime>
- try
- {
- load(scriptPath);
-- root = JS_NewScriptObject(cx, script);
-- JS_AddNamedRoot(cx, &root, "ImportScript");
-+ root = JS_NewObject(cx, NULL, script, NULL);
-+ JS_AddNamedObjectRoot(cx, &root, "ImportScript");
- }
- catch (Exception ex)
- {
-@@ -117,7 +117,7 @@ ImportScript::~ImportScript()
- #endif
-
- if (root)
-- JS_RemoveRoot(cx, &root);
-+ JS_RemoveObjectRoot(cx, &root);
-
- #ifdef JS_THREADSAFE
- JS_EndRequest(cx);
-diff -up mediatomb-0.12.1-back/src/scripting/js_functions.cc.tonewjs mediatomb-0.12.1-back/src/scripting/js_functions.cc
---- mediatomb-0.12.1-back/src/scripting/js_functions.cc.tonewjs 2011-04-18 13:29:55.000000000 +0200
-+++ mediatomb-0.12.1-back/src/scripting/js_functions.cc 2011-04-19 16:48:04.009229611 +0200
-@@ -49,7 +49,7 @@ using namespace zmm;
- extern "C" {
-
- JSBool
--js_print(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
-+js_print(JSContext *cx, uintN argc, jsval *argv)
- {
- uintN i;
- JSString *str;
-@@ -60,19 +60,21 @@ js_print(JSContext *cx, JSObject *obj, u
- if (!str)
- return JS_TRUE;
- argv[i] = STRING_TO_JSVAL(str);
-- log_js("%s\n", JS_GetStringBytes(str));
-+ char * log_str = JS_EncodeString(cx, str);
-+ log_js("%s\n", log_str);
-+ JS_free(cx, log_str);
- }
- return JS_TRUE;
- }
-
- JSBool
--js_copyObject(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
-+js_copyObject(JSContext *cx, uintN argc, jsval *argv)
- {
- jsval arg;
- JSObject *js_cds_obj;
- JSObject *js_cds_clone_obj;
-
-- Script *self = (Script *)JS_GetPrivate(cx, obj);
-+ Script *self = (Script *)JS_GetPrivate(cx, JS_THIS_OBJECT(cx, argv));
-
- try
- {
-@@ -91,7 +93,7 @@ js_copyObject(JSContext *cx, JSObject *o
-
- self->cdsObject2jsObject(cds_obj, js_cds_clone_obj);
-
-- *rval = OBJECT_TO_JSVAL(js_cds_clone_obj);
-+ JS_SET_RVAL(cx, argv, OBJECT_TO_JSVAL(js_cds_clone_obj));
-
- return JS_TRUE;
-
-@@ -110,7 +112,7 @@ js_copyObject(JSContext *cx, JSObject *o
- }
-
- JSBool
--js_addCdsObject(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
-+js_addCdsObject(JSContext *cx, uintN argc, jsval *argv)
- {
- try
- {
-@@ -126,7 +128,7 @@ js_addCdsObject(JSContext *cx, JSObject
- Ref<StringConverter> p2i;
- Ref<StringConverter> i2i;
-
-- Script *self = (Script *)JS_GetPrivate(cx, obj);
-+ Script *self = (Script *)JS_GetPrivate(cx, JS_THIS_OBJECT(cx, argv));
-
- if (self == NULL)
- {
-@@ -156,20 +158,20 @@ js_addCdsObject(JSContext *cx, JSObject
- if (!str)
- path = _("/");
- else
-- path = JS_GetStringBytes(str);
-+ path = JS_EncodeString(cx, str);
-
- JSString *cont = JS_ValueToString(cx, argv[2]);
- if (cont)
- {
-- containerclass = JS_GetStringBytes(cont);
-+ containerclass = JS_EncodeString(cx, cont);
- if (!string_ok(containerclass) || containerclass == "undefined")
- containerclass = nil;
- }
-
- if (self->whoami() == S_PLAYLIST)
-- js_orig_obj = self->getObjectProperty(obj, _("playlist"));
-+ js_orig_obj = self->getObjectProperty(JS_THIS_OBJECT(cx, argv), _("playlist"));
- else if (self->whoami() == S_IMPORT)
-- js_orig_obj = self->getObjectProperty(obj, _("orig"));
-+ js_orig_obj = self->getObjectProperty(JS_THIS_OBJECT(cx, argv), _("orig"));
-
- if (js_orig_obj == NULL)
- {
-@@ -285,8 +287,7 @@ js_addCdsObject(JSContext *cx, JSObject
- JSString *str2 = JS_NewStringCopyN(cx, tmp.c_str(), tmp.length());
- if (!str2)
- return JS_TRUE;
-- *rval = STRING_TO_JSVAL(str2);
--
-+ JS_SET_RVAL(cx, argv, STRING_TO_JSVAL(str2));
- return JS_TRUE;
- }
- catch (ServerShutdownException se)
-@@ -302,7 +303,7 @@ js_addCdsObject(JSContext *cx, JSObject
- return JS_TRUE;
- }
-
--static JSBool convert_charset_generic(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval, charset_convert_t chr)
-+static JSBool convert_charset_generic(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, charset_convert_t chr)
- {
- try
- {
-@@ -321,7 +322,7 @@ static JSBool convert_charset_generic(JS
- {
- str = JS_ValueToString(cx, argv[0]);
- if (str)
-- result = JS_GetStringBytes(str);
-+ result = JS_EncodeString(cx, str);
- }
-
- if (result != nil)
-@@ -330,7 +331,7 @@ static JSBool convert_charset_generic(JS
- JSString *str2 = JS_NewStringCopyN(cx, result.c_str(), result.length());
- if (!str2)
- return JS_TRUE;
-- *rval = STRING_TO_JSVAL(str2);
-+ JS_SET_RVAL(cx, argv, STRING_TO_JSVAL(str2));
- }
- }
- catch (ServerShutdownException se)
-@@ -347,24 +348,23 @@ static JSBool convert_charset_generic(JS
- }
-
-
--JSBool js_f2i(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
-+JSBool js_f2i(JSContext *cx, uintN argc, jsval *argv)
- {
-- return convert_charset_generic(cx, obj, argc, argv, rval, F2I);
-+ return convert_charset_generic(cx, JS_THIS_OBJECT(cx, argv), argc, argv, F2I);
- }
-
--JSBool js_m2i(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
-+JSBool js_m2i(JSContext *cx, uintN argc, jsval *argv)
- {
-- return convert_charset_generic(cx, obj, argc, argv, rval, M2I);
--}
-+ return convert_charset_generic(cx, JS_THIS_OBJECT(cx, argv), argc, argv, M2I); }
-
--JSBool js_p2i(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
-+JSBool js_p2i(JSContext *cx, uintN argc, jsval *argv)
- {
-- return convert_charset_generic(cx, obj, argc, argv, rval, P2I);
-+ return convert_charset_generic(cx, JS_THIS_OBJECT(cx, argv), argc, argv, P2I);
- }
-
--JSBool js_j2i(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
-+JSBool js_j2i(JSContext *cx, uintN argc, jsval *argv)
- {
-- return convert_charset_generic(cx, obj, argc, argv, rval, J2I);
-+ return convert_charset_generic(cx, JS_THIS_OBJECT(cx, argv), argc, argv, J2I);
- }
-
- } // extern "C"
-diff -up mediatomb-0.12.1-back/src/scripting/js_functions.h.tonewjs mediatomb-0.12.1-back/src/scripting/js_functions.h
---- mediatomb-0.12.1-back/src/scripting/js_functions.h.tonewjs 2010-03-25 15:58:05.000000000 +0100
-+++ mediatomb-0.12.1-back/src/scripting/js_functions.h 2011-04-18 13:59:29.000000000 +0200
-@@ -40,18 +40,18 @@
- extern "C" {
-
- /// \brief Log output.
--JSBool js_print(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval);
-+JSBool js_print(JSContext *cx, uintN argc, jsval *argv);
-
- /// \brief Adds an object to the database.
--JSBool js_addCdsObject(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval);
-+JSBool js_addCdsObject(JSContext *cx, uintN argc, jsval *argv);
-
- /// \brief Makes a copy of an CDS object.
--JSBool js_copyObject(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval);
-+JSBool js_copyObject(JSContext *cx, uintN argc, jsval *argv);
-
--JSBool js_f2i(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval);
--JSBool js_m2i(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval);
--JSBool js_p2i(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval);
--JSBool js_j2i(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval);
-+JSBool js_f2i(JSContext *cx, uintN argc, jsval *argv);
-+JSBool js_m2i(JSContext *cx, uintN argc, jsval *argv);
-+JSBool js_p2i(JSContext *cx, uintN argc, jsval *argv);
-+JSBool js_j2i(JSContext *cx, uintN argc, jsval *argv);
-
- } // extern "C"
-
-diff -up mediatomb-0.12.1-back/src/scripting/playlist_parser_script.cc.tonewjs mediatomb-0.12.1-back/src/scripting/playlist_parser_script.cc
---- mediatomb-0.12.1-back/src/scripting/playlist_parser_script.cc.tonewjs 2011-04-18 13:34:14.000000000 +0200
-+++ mediatomb-0.12.1-back/src/scripting/playlist_parser_script.cc 2011-04-18 13:51:59.000000000 +0200
-@@ -46,9 +46,9 @@ using namespace zmm;
- extern "C" {
-
- static JSBool
--js_readln(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
-+js_readln(JSContext *cx, uintN argc, jsval *argv)
- {
-- PlaylistParserScript *self = (PlaylistParserScript *)JS_GetPrivate(cx, obj);
-+ PlaylistParserScript *self = (PlaylistParserScript *)JS_GetPrivate(cx, JS_THIS_OBJECT(cx, argv));
-
- String line;
-
-@@ -69,7 +69,7 @@ js_readln(JSContext *cx, JSObject *obj,
-
- JSString *jsline = JS_NewStringCopyZ(cx, line.c_str());
-
-- *rval = STRING_TO_JSVAL(jsline);
-+ JS_SET_RVAL(cx, argv, STRING_TO_JSVAL(jsline));
-
- return JS_TRUE;
- }
-@@ -93,8 +93,8 @@ PlaylistParserScript::PlaylistParserScri
-
- String scriptPath = ConfigManager::getInstance()->getOption(CFG_IMPORT_SCRIPTING_PLAYLIST_SCRIPT);
- load(scriptPath);
-- root = JS_NewScriptObject(cx, script);
-- JS_AddNamedRoot(cx, &root, "PlaylistScript");
-+ root = JS_NewObject(cx, NULL, script, NULL);
-+ JS_AddNamedObjectRoot(cx, &root, "PlaylistScript");
- }
- catch (Exception ex)
- {
-@@ -245,7 +245,7 @@ PlaylistParserScript::~PlaylistParserScr
- #endif
-
- if (root)
-- JS_RemoveRoot(cx, &root);
-+ JS_RemoveObjectRoot(cx, &root);
-
- #ifdef JS_THREADSAFE
- JS_EndRequest(cx);
-diff -up mediatomb-0.12.1-back/src/scripting/script.cc.tonewjs mediatomb-0.12.1-back/src/scripting/script.cc
---- mediatomb-0.12.1-back/src/scripting/script.cc.tonewjs 2011-04-18 13:53:07.000000000 +0200
-+++ mediatomb-0.12.1-back/src/scripting/script.cc 2011-04-19 18:26:34.460338804 +0200
-@@ -87,7 +87,7 @@ String Script::getProperty(JSObject *obj
- str = JS_ValueToString(cx, val);
- if (! str)
- return nil;
-- return JS_GetStringBytes(str);
-+ return JS_EncodeString(cx, str);
- }
-
- int Script::getBoolProperty(JSObject *obj, String name)
-@@ -427,14 +427,14 @@ static JSFunctionSpec js_global_function
- try
- {
- common_script = _load(common_scr_path);
-- common_root = JS_NewScriptObject(cx, common_script);
-- JS_AddNamedRoot(cx, &common_root, "common-script");
-+ common_root = JS_NewObject(cx, NULL, common_script, NULL);
-+ JS_AddNamedObjectRoot(cx, &common_root, "common-script");
- _execute(common_script);
- }
- catch (Exception e)
- {
- if (common_root)
-- JS_RemoveRoot(cx, &common_root);
-+ JS_RemoveObjectRoot(cx, &common_root);
-
- log_js("Unable to load %s: %s\n", common_scr_path.c_str(),
- e.getMessage().c_str());
-@@ -460,7 +460,7 @@ Script::~Script()
- JS_BeginRequest(cx);
- #endif
- if (common_root)
-- JS_RemoveRoot(cx, &common_root);
-+ JS_RemoveObjectRoot(cx, &common_root);
-
- /*
- * scripts are unrooted and will be cleaned up by GC
-@@ -504,11 +504,11 @@ void Script::initGlobalObject()
- static JSClass global_class =
- {
- "global", /* name */
-- JSCLASS_HAS_PRIVATE, /* flags */
-+ JSCLASS_HAS_PRIVATE | JSCLASS_GLOBAL_FLAGS,/* flags */
- JS_PropertyStub, /* add property */
- JS_PropertyStub, /* del property */
- JS_PropertyStub, /* get property */
-- JS_PropertyStub, /* set property */
-+ JS_StrictPropertyStub, /* set property */
- JS_EnumerateStandardClasses, /* enumerate */
- JS_ResolveStub, /* resolve */
- JS_ConvertStub, /* convert */
-@@ -517,7 +517,7 @@ void Script::initGlobalObject()
- };
-
- /* create the global object here */
-- glob = JS_NewObject(cx, &global_class, NULL, NULL);
-+ glob = JS_NewCompartmentAndGlobalObject(cx, &global_class, NULL);
- if (! glob)
- throw _Exception(_("Scripting: could not initialize glboal class"));
-
-@@ -539,12 +539,12 @@ void Script::defineFunctions(JSFunctionS
- throw _Exception(_("Scripting: JS_DefineFunctions failed"));
- }
-
--JSScript *Script::_load(zmm::String scriptPath)
-+JSObject *Script::_load(zmm::String scriptPath)
- {
- if (glob == NULL)
- initGlobalObject();
-
-- JSScript *scr;
-+ JSObject *scr;
-
- String scriptText = read_text_file(scriptPath);
-
-@@ -571,14 +571,11 @@ JSScript *Script::_load(zmm::String scri
-
- void Script::load(zmm::String scriptPath)
- {
-- if (script)
-- JS_DestroyScript(cx, script);
--
- script = _load((scriptPath));
- }
-
-
--void Script::_execute(JSScript *scr)
-+void Script::_execute(JSObject *scr)
- {
- jsval ret_val;
-
-@@ -662,7 +659,7 @@ Ref<CdsObject> Script::jsObject2cdsObjec
- JSObject *js_meta = getObjectProperty(js, _("meta"));
- if (js_meta)
- {
-- JS_AddNamedRoot(cx, &js_meta, "meta");
-+ JS_AddNamedObjectRoot(cx, &js_meta, "meta");
- /// \todo: only metadata enumerated in MT_KEYS is taken
- for (int i = 0; i < M_MAX; i++)
- {
-@@ -687,7 +684,7 @@ Ref<CdsObject> Script::jsObject2cdsObjec
- }
- }
- }
-- JS_RemoveRoot(cx, &js_meta);
-+ JS_RemoveObjectRoot(cx, &js_meta);
- }
-
- // stuff that has not been exported to js
-diff -up mediatomb-0.12.1-back/src/scripting/script.h.tonewjs mediatomb-0.12.1-back/src/scripting/script.h
---- mediatomb-0.12.1-back/src/scripting/script.h.tonewjs 2011-04-18 12:56:14.000000000 +0200
-+++ mediatomb-0.12.1-back/src/scripting/script.h 2011-04-18 12:56:51.000000000 +0200
-@@ -66,8 +66,8 @@ public:
- JSRuntime *rt;
- JSContext *cx;
- JSObject *glob;
-- JSScript *script;
-- JSScript *common_script;
-+ JSObject *script;
-+ JSObject *common_script;
-
- public:
- Script(zmm::Ref<Runtime> runtime);
-@@ -115,8 +115,8 @@ private:
- JSObject *common_root;
-
- void initGlobalObject();
-- JSScript *_load(zmm::String scriptPath);
-- void _execute(JSScript *scr);
-+ JSObject *_load(zmm::String scriptPath);
-+ void _execute(JSObject *scr);
- zmm::Ref<StringConverter> _p2i;
- zmm::Ref<StringConverter> _j2i;
- zmm::Ref<StringConverter> _f2i;
---- mediatomb-0.12.1/configure.tonewjs 2011-07-04 20:20:00.290227110 +1200
-+++ mediatomb-0.12.1/configure 2011-07-04 20:20:28.186894644 +1200
-@@ -23784,14 +23784,14 @@ if test "x$ac_cv_lib_smjs_JS_NewObject"
-
- else
-
-- LDFLAGS="-L$JS_SEARCH_LIBS $LDFLAGS_SAVE -lmozjs $ADD_PTHREAD_CFLAGS"
-- { $as_echo "$as_me:$LINENO: checking for JS_NewObject in -lmozjs" >&5
--$as_echo_n "checking for JS_NewObject in -lmozjs... " >&6; }
--if test "${ac_cv_lib_mozjs_JS_NewObject+set}" = set; then
-+ LDFLAGS="-L$JS_SEARCH_LIBS $LDFLAGS_SAVE -lmozjs185 $ADD_PTHREAD_CFLAGS"
-+ { $as_echo "$as_me:$LINENO: checking for JS_NewObject in -lmozjs185" >&5
-+$as_echo_n "checking for JS_NewObject in -lmozjs185... " >&6; }
-+if test "${ac_cv_lib_mozjs185_JS_NewObject+set}" = set; then
- $as_echo_n "(cached) " >&6
- else
- ac_check_lib_save_LIBS=$LIBS
--LIBS="-lmozjs $LIBS"
-+LIBS="-lmozjs185 $LIBS"
- cat >conftest.$ac_ext <<_ACEOF
- /* confdefs.h. */
- _ACEOF
-@@ -23835,12 +23835,12 @@ $as_echo "$ac_try_echo") >&5
- test "$cross_compiling" = yes ||
- $as_test_x conftest$ac_exeext
- }; then
-- ac_cv_lib_mozjs_JS_NewObject=yes
-+ ac_cv_lib_mozjs185_JS_NewObject=yes
- else
- $as_echo "$as_me: failed program was:" >&5
- sed 's/^/| /' conftest.$ac_ext >&5
-
-- ac_cv_lib_mozjs_JS_NewObject=no
-+ ac_cv_lib_mozjs185_JS_NewObject=no
- fi
-
- rm -rf conftest.dSYM
-@@ -23848,12 +23848,12 @@ rm -f core conftest.err conftest.$ac_obj
- conftest$ac_exeext conftest.$ac_ext
- LIBS=$ac_check_lib_save_LIBS
- fi
--{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_mozjs_JS_NewObject" >&5
--$as_echo "$ac_cv_lib_mozjs_JS_NewObject" >&6; }
--if test "x$ac_cv_lib_mozjs_JS_NewObject" = x""yes; then
-+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_mozjs185_JS_NewObject" >&5
-+$as_echo "$ac_cv_lib_mozjs185_JS_NewObject" >&6; }
-+if test "x$ac_cv_lib_mozjs185_JS_NewObject" = x""yes; then
-
-- JS_LIBS="-L$JS_SEARCH_LIBS -lmozjs"
-- MOZLIB=mozjs
-+ JS_LIBS="-L$JS_SEARCH_LIBS -lmozjs185"
-+ MOZLIB=mozjs185
-
- else
-
-@@ -24020,13 +24020,13 @@ if test "x$ac_cv_lib_smjs_JS_NewObject"
- else
-
- unset ac_cv_lib_smjs_JS_NewObject
-- { $as_echo "$as_me:$LINENO: checking for JS_NewObject in -lmozjs" >&5
--$as_echo_n "checking for JS_NewObject in -lmozjs... " >&6; }
--if test "${ac_cv_lib_mozjs_JS_NewObject+set}" = set; then
-+ { $as_echo "$as_me:$LINENO: checking for JS_NewObject in -lmozjs185" >&5
-+$as_echo_n "checking for JS_NewObject in -lmozjs185... " >&6; }
-+if test "${ac_cv_lib_mozjs185_JS_NewObject+set}" = set; then
- $as_echo_n "(cached) " >&6
- else
- ac_check_lib_save_LIBS=$LIBS
--LIBS="-lmozjs $LIBS"
-+LIBS="-lmozjs185 $LIBS"
- cat >conftest.$ac_ext <<_ACEOF
- /* confdefs.h. */
- _ACEOF
-@@ -24070,12 +24070,12 @@ $as_echo "$ac_try_echo") >&5
- test "$cross_compiling" = yes ||
- $as_test_x conftest$ac_exeext
- }; then
-- ac_cv_lib_mozjs_JS_NewObject=yes
-+ ac_cv_lib_mozjs185_JS_NewObject=yes
- else
- $as_echo "$as_me: failed program was:" >&5
- sed 's/^/| /' conftest.$ac_ext >&5
-
-- ac_cv_lib_mozjs_JS_NewObject=no
-+ ac_cv_lib_mozjs185_JS_NewObject=no
- fi
-
- rm -rf conftest.dSYM
-@@ -24083,12 +24083,12 @@ rm -f core conftest.err conftest.$ac_obj
- conftest$ac_exeext conftest.$ac_ext
- LIBS=$ac_check_lib_save_LIBS
- fi
--{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_mozjs_JS_NewObject" >&5
--$as_echo "$ac_cv_lib_mozjs_JS_NewObject" >&6; }
--if test "x$ac_cv_lib_mozjs_JS_NewObject" = x""yes; then
-+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_mozjs185_JS_NewObject" >&5
-+$as_echo "$ac_cv_lib_mozjs185_JS_NewObject" >&6; }
-+if test "x$ac_cv_lib_mozjs185_JS_NewObject" = x""yes; then
-
-- MOZLIB=mozjs
-- JS_LIBS="-lmozjs"
-+ MOZLIB=mozjs185
-+ JS_LIBS="-lmozjs185"
-
- else
-
-@@ -24239,15 +24239,15 @@ if test "x$ac_cv_lib_smjs_JS_NewObject"
-
- else
-
-- LDFLAGS="-L$SEARCH_DIR_LIBS $LDFLAGS_SAVE -lmozjs"
-- unset ac_cv_lib_mozjs_JS_NewObject
-- { $as_echo "$as_me:$LINENO: checking for JS_NewObject in -lmozjs" >&5
--$as_echo_n "checking for JS_NewObject in -lmozjs... " >&6; }
--if test "${ac_cv_lib_mozjs_JS_NewObject+set}" = set; then
-+ LDFLAGS="-L$SEARCH_DIR_LIBS $LDFLAGS_SAVE -lmozjs185"
-+ unset ac_cv_lib_mozjs185_JS_NewObject
-+ { $as_echo "$as_me:$LINENO: checking for JS_NewObject in -lmozjs185" >&5
-+$as_echo_n "checking for JS_NewObject in -lmozjs185... " >&6; }
-+if test "${ac_cv_lib_mozjs185_JS_NewObject+set}" = set; then
- $as_echo_n "(cached) " >&6
- else
- ac_check_lib_save_LIBS=$LIBS
--LIBS="-lmozjs $LIBS"
-+LIBS="-lmozjs185 $LIBS"
- cat >conftest.$ac_ext <<_ACEOF
- /* confdefs.h. */
- _ACEOF
-@@ -24291,12 +24291,12 @@ $as_echo "$ac_try_echo") >&5
- test "$cross_compiling" = yes ||
- $as_test_x conftest$ac_exeext
- }; then
-- ac_cv_lib_mozjs_JS_NewObject=yes
-+ ac_cv_lib_mozjs185_JS_NewObject=yes
- else
- $as_echo "$as_me: failed program was:" >&5
- sed 's/^/| /' conftest.$ac_ext >&5
-
-- ac_cv_lib_mozjs_JS_NewObject=no
-+ ac_cv_lib_mozjs185_JS_NewObject=no
- fi
-
- rm -rf conftest.dSYM
-@@ -24304,12 +24304,12 @@ rm -f core conftest.err conftest.$ac_obj
- conftest$ac_exeext conftest.$ac_ext
- LIBS=$ac_check_lib_save_LIBS
- fi
--{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_mozjs_JS_NewObject" >&5
--$as_echo "$ac_cv_lib_mozjs_JS_NewObject" >&6; }
--if test "x$ac_cv_lib_mozjs_JS_NewObject" = x""yes; then
-+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_mozjs185_JS_NewObject" >&5
-+$as_echo "$ac_cv_lib_mozjs185_JS_NewObject" >&6; }
-+if test "x$ac_cv_lib_mozjs185_JS_NewObject" = x""yes; then
-
-- JS_LIBS="-L$SEARCH_DIR_LIBS -lmozjs"
-- MOZLIB=mozjs
-+ JS_LIBS="-L$SEARCH_DIR_LIBS -lmozjs185"
-+ MOZLIB=mozjs185
-
- else
-
diff --git a/abs/extra/community/mmv/PKGBUILD b/abs/extra/community/mmv/PKGBUILD
deleted file mode 100644
index 0ccec1b..0000000
--- a/abs/extra/community/mmv/PKGBUILD
+++ /dev/null
@@ -1,35 +0,0 @@
-# Contributor: blue_lizard lizard@blue.dyn-o-saur.com
-
-pkgname=mmv
-pkgver=1.01b.orig
-pkgrel=1
-pkgdesc="multiple move files"
-depends=('glibc' 'sed')
-conflicts=()
-backup=()
-source=(http://ftp.de.debian.org/debian/pool/main/m/mmv/mmv_1.01b.orig.tar.gz http://ftp.de.debian.org/debian/pool/main/m/mmv/mmv_1.01b-14.diff.gz)
-md5sums=('1b2135ab2f17bdfa9e08debbb3c46ad8' 'a69eff7501e63c0bd1fcd231bf6949f1')
-url="http://linux.maruhn.com/sec/mmv.html"
-license="GPL"
-install=$pkgname.install
-arch=('i686')
-
-build() {
- cd $startdir/src/$pkgname-$pkgver
- patch -p1 < ../mmv_1.01b-14.diff
- cat Makefile | sed -e "s/LDFLAGS.\s=-s -N/LDFLAGS =-s/g" > /tmp/Makefile
- mv /tmp/Makefile ./
- make || return 1
- mkdir -p $startdir/pkg/usr/bin
- mkdir -p $startdir/pkg/usr/man/man1
- make DESTDIR=$startdir/pkg install
- chmod 644 $startdir/pkg/usr/man/man1/mmv.1
- cd $startdir/pkg/usr/bin
- ln -s mmv mcp
- ln -s mmv mad
- ln -s mmv mln
- cd $startdir/pkg/usr/man/man1/
- ln -s mmv.1 mcp.1
- ln -s mmv.1 mad.1
- ln -s mmv.1 mln.1
-}
diff --git a/abs/extra/community/mmv/mmv.install b/abs/extra/community/mmv/mmv.install
deleted file mode 100644
index 9b23e48..0000000
--- a/abs/extra/community/mmv/mmv.install
+++ /dev/null
@@ -1,19 +0,0 @@
-# arg 1: the new package version
-post_install() {
- echo ">>>"
- echo ">>>"
- echo ">>>"
- echo ">>> many thanks to the debian people who provide the sources"
- echo ">>>"
-}
-
-# arg 1: the old package version
-post_remove() {
- echo ">>>"
- echo ">>>"
- echo ">>>"
-}
-
-op=$1
-shift
-$op $*
diff --git a/abs/extra/community/moblock/MoBlock-nfq.sh.patch b/abs/extra/community/moblock/MoBlock-nfq.sh.patch
deleted file mode 100644
index f9136c3..0000000
--- a/abs/extra/community/moblock/MoBlock-nfq.sh.patch
+++ /dev/null
@@ -1,53 +0,0 @@
---- MoBlock-0.8/MoBlock-nfq.sh.orig 2008-11-30 03:44:02.000000000 -0500
-+++ MoBlock-0.8/MoBlock-nfq.sh 2008-12-01 18:56:15.000000000 -0500
-@@ -3,14 +3,10 @@
- # MoBlock.sh - MoBlock start script
- # ---------------------------------
-
--ACTIVATE_CHAINS=1
--WHITE_TCP_IN=""
--WHITE_UDP_IN=""
--WHITE_TCP_OUT=""
--WHITE_UDP_OUT=""
--WHITE_TCP_FORWARD=""
--WHITE_UDP_FORWARD=""
-+# Some configuration options have been moved to an external conf file
-+# This should make maintenance and upgrading easier
-
-+. /etc/moblock/config
-
- PIDF=/var/run/moblock.pid
-
-@@ -78,6 +74,17 @@
- iptables -I MOBLOCK_FW -p udp --dport $PORT -j ACCEPT
- done
-
-+# For added IP whitelisting support
-+
-+for IP in $WHITE_IP_OUT; do
-+ iptables -I MOBLOCK_OUT -p all -m iprange --dst-range $IP -j ACCEPT
-+done
-+for IP in $WHITE_IP_IN; do
-+ iptables -I MOBLOCK_IN -p all -m iprange --src-range $IP -j ACCEPT
-+done
-+for IP in $WHITE_IP_FW; do
-+ iptables -I MOBLOCK_FW -p all -m iprange --dst-range $IP -j ACCEPT
-+done
-
- # Loopback traffic fix
-
-@@ -85,7 +92,8 @@
- iptables -I OUTPUT -p all -o lo -j ACCEPT
-
- # Here you can change block list and log files
--./moblock -p /etc/guarding.p2p ./moblock.log
-+#./moblock -p /etc/guarding.p2p ./moblock.log
-+/usr/bin/moblock -p /etc/moblock/banned.list /var/log/moblock.log >/dev/null 2>&1
-
- # On exit delete the rules we added
-
-@@ -108,3 +116,4 @@
- if [ -f $PIDF ]; then
- rm $PIDF;
- fi
-+
diff --git a/abs/extra/community/moblock/PKGBUILD b/abs/extra/community/moblock/PKGBUILD
deleted file mode 100755
index 0f3ff26..0000000
--- a/abs/extra/community/moblock/PKGBUILD
+++ /dev/null
@@ -1,57 +0,0 @@
-# Contributor: Kevin Edmonds <edmondskevin@hotmail.com>
-# Maintainer: Filip Wojciechowski, filip at loka dot pl
-
-pkgname=moblock
-pkgver=0.9rc2
-pkgrel=9
-pkgdesc="Console application that blocks connections from/to hosts listed in a file in peerguardian format"
-arch=('i686' 'x86_64')
-url="http://moblock.berlios.de/"
-license=('GPL')
-depends=(libnetfilter_queue iptables)
-backup=(etc/moblock/config)
-install=moblock.install
-source=(http://download.berlios.de/moblock/MoBlock-0.8-i586.tar.bz2 \
- moblock_0.9_rc2.patch \
- MoBlock-nfq.sh.patch \
- moblock_include.patch \
- config \
- moblock-update \
- moblock \
- moblock.logrotate)
-
-build() {
- cd ${srcdir}/MoBlock-0.8
-
- # patch to update moblock to the latest cvs version
- patch -Np1 -i ../moblock_0.9_rc2.patch || return 1
- # add IP whitelisting and move configs to a separate conf file
- patch -Np1 -i ../MoBlock-nfq.sh.patch || return 1
- # necessary to make moblock build with recent kernels
- patch -Np1 -i ../moblock_include.patch || return 1
-
- # change the CFLAGS for both i686 and x84_64 builds
- sed -i "s#-Wall -O.*-ffast-math#$CFLAGS#g" Makefile
-
- # build
- make || return 1
-}
-
-package() {
- cd ${srcdir}/MoBlock-0.8
- #move the files
- install -D -m 755 ./MoBlock-nfq.sh ${pkgdir}/usr/bin/moblock-nfq || return 1
- install -D -m 744 ./moblock ${pkgdir}/usr/bin/moblock || return 1
- install -D -m 755 ../moblock-update ${pkgdir}/usr/bin/moblock-update || return 1
- install -D -m 744 ../moblock ${pkgdir}/etc/rc.d/moblock || return 1
- install -D -m 644 ../config ${pkgdir}/etc/moblock/config || return 1
- install -D -m 644 ../moblock.logrotate ${pkgdir}/etc/logrotate.d/moblock || return 1
-}
-md5sums=('199967adb48b153be90db10fe21325c5'
- 'e4e33c515677fa53eaca4616591d4e44'
- 'e9f3c6b09f5e07dee948450780340ea3'
- 'b23b5214965df59632de5cec317ddbde'
- '840bb52a99529305e49212a69c9ced8a'
- '49a16feb221d4d912cc7200313517f7b'
- '1bdc949fcff0ce751a5096e489061513'
- 'a8285fd3e68043cd8d21993d3dbbf9d4')
diff --git a/abs/extra/community/moblock/config b/abs/extra/community/moblock/config
deleted file mode 100644
index 7d7c287..0000000
--- a/abs/extra/community/moblock/config
+++ /dev/null
@@ -1,30 +0,0 @@
-# Original MoBlock configuration options from MoBlock-nfq.sh file
-ACTIVATE_CHAINS=1
-WHITE_TCP_IN=""
-WHITE_UDP_IN=""
-WHITE_TCP_OUT="" # Add "http https" here to prevent moblock from blocking webpages
-WHITE_UDP_OUT=""
-WHITE_TCP_FORWARD=""
-WHITE_UDP_FORWARD=""
-
-# Added IP whitelisting support
-WHITE_IP_IN=""
-WHITE_IP_OUT=""
-WHITE_IP_FW=""
-
-# Individual lists can be disabled by prefixing them with '!'
-# Bluetack blacklists (http://www.bluetack.co.uk)
-BLUETACK=(level1 level2 !level3 !edu ads-trackers-and-bad-pr0n bogon spyware spider Microsoft !proxy hijacked templist !rangetest dshield)
-
-# blocklist.org lists (currently doesn't work)
-#BLOCKLIST=(p2p gov spy ads edu)
-
-# backup lists (might be outdated)
-#PHOENIXLABS=(!p2b.p2b edu.txt spider.txt spyware.txt level1.txt !level2.txt !level3.txt)
-
-# Change to 'yes' if you want to backup up the old list before writing
-# a new one. Only one backup copy will be kept.
-BACKUP_OLD_LIST="no"
-
-# Options passed to wget
-WGET_OPTS="-q"
diff --git a/abs/extra/community/moblock/moblock b/abs/extra/community/moblock/moblock
deleted file mode 100755
index d88bd2e..0000000
--- a/abs/extra/community/moblock/moblock
+++ /dev/null
@@ -1,70 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-case "$1" in
- start)
- stat_busy "Starting MoBlock"
- if [ ! -f /var/run/moblock.pid ]
- then
- /usr/bin/moblock-nfq &
- if [ $? -gt 0 ]
- then
- stat_fail
- else
- add_daemon moblock
- stat_done
- fi
- else
- stat_fail
- fi
- ;;
- update)
- stat_busy "Updating MoBlock block list..."
- error=0
- /usr/bin/moblock-update || error=1
- stat_busy "Updating MoBlock block list"
- if [ $error -eq 1 ]; then
- stat_fail
- else
- stat_done
- fi
- ;;
- stats)
- stat_busy "Logging stats to /var/log/MoBlock.stats"
- PID=`cat /var/run/moblock.pid 2>/dev/null`
- if [ ! -z "$PID" ]; then
- /bin/kill -USR2 $PID
- if [ $? -gt 0 ]; then
- stat_fail
- else
- stat_done
- fi
- else
- stat_fail
- fi
- ;;
- stop)
- stat_busy "Stopping MoBlock"
- PID=`cat /var/run/moblock.pid 2>/dev/null`
- if [ ! -z "$PID" ]; then
- /bin/kill $PID
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon moblock
- stat_done
- fi
- else
- stat_fail
- fi
- ;;
- restart)
- $0 stop
- sleep 2
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart|update|stats}"
-esac
diff --git a/abs/extra/community/moblock/moblock-update b/abs/extra/community/moblock/moblock-update
deleted file mode 100755
index aae861d..0000000
--- a/abs/extra/community/moblock/moblock-update
+++ /dev/null
@@ -1,174 +0,0 @@
-#!/bin/bash
-
-. /etc/moblock/config
-
-CONF_DIR=/etc/moblock
-TEMP_DIR=$(/usr/bin/mktemp -t -d moblock-updateXXXXXXXX)
-LIST_FILE=banned.list
-
-USECOLOR="no"
-. /etc/rc.d/functions
-PREFIX_REG=" >"
-PREFIX_HL="::"
-
-function extract()
-{
- /usr/bin/find $TEMP_DIR -type f -name '*.gz' -o -name '*.zip' |\
- while read N
- do
- case "$N" in
- *.zip) /usr/bin/unzip -oqq "$N" 2>/dev/null
- if [ $? -gt 0 ]; then
- rm -f "$N"
- return 1
- else
- rm -f "$N"
- fi
- ;;
- *.gz) /bin/gunzip -f "$N" 2>/dev/null
- if [ $? -gt 0 ]; then
- rm -f "$N"
- return 1
- fi
- ;;
- *) continue
- ;;
- esac
- done
- return 0
-}
-
-cd $TEMP_DIR
-
-printf "${C_SEPARATOR} ------------------------------\n"
-printhl "Downloading and extracting files:\n"
-
-# Bluetack lists (with fallback)
-for i in ${BLUETACK[@]}
-do
- if [ $(echo $i | /bin/grep '^[^\!]' | /usr/bin/wc -l) -eq 1 ]; then
- stat_busy "BLUETACK '${i}'... "
- /usr/bin/wget ${WGET_OPTS} "http://www.bluetack.co.uk/config/${i}.gz" && extract
- if [ $? -gt 0 ] || [ ! -f ${i} ]; then
- stat_fail
- bfile=$i
- if [ "$bfile" = "ads-trackers-and-bad-pr0n" ]; then
- bfile="ads"
- elif [ "$bfile" = "Microsoft" ];then
- bfile="microsoft"
- fi
- stat_busy "[!!] BLUETACK '${i}' (fallback link)... "
- /usr/bin/wget ${WGET_OPTS} "http://list.iblocklist.com/?list=bt_${bfile%%-*}" -O "${i}.gz" && extract
- if [ $? -gt 0 ]; then
- stat_fail
- else
- stat_done
- fi
- else
- stat_done
- fi
- fi
-done
-
-# Blocklist lists
-for i in ${BLOCKLIST[@]}
-do
- if [ $(echo $i | /bin/grep '^[^\!]' | /usr/bin/wc -l) -eq 1 ]; then
- stat_busy "BLOCKLIST '${i}'... "
- /usr/bin/wget ${WGET_OPTS} "blocklist.org/${i}.p2b.gz" && extract
- if [ $? -gt 0 ]; then
- stat_fail
- else
- stat_done
- fi
- fi
-done
-
-# Old phoenixlabs.org lists
-for i in ${PHOENIXLABS[@]}
-do
- if [ $(echo $i | /bin/grep '^[^\!]' | /usr/bin/wc -l) -eq 1 ]; then
- stat_busy "PHOENIXLABS '${i}'... "
- /usr/bin/wget ${WGET_OPTS} "fox.phoenixlabs.org/${i}" && extract
- if [ $? -gt 0 ]; then
- stat_fail
- else
- stat_done
- fi
- fi
-done
-
-if [ $(/bin/cat "$TEMP_DIR"/* | /usr/bin/wc -l) -eq 0 ]; then
- printf "\n"
- printhl "ERROR: No files were downloaded"
- printf "${C_SEPARATOR} ------------------------------\n"
- exit 1
-fi
-
-# Check files
-printsep
-printhl "Checking integrity of downloaded files:\n"
-
-/usr/bin/find -type f | while read N
-do
- stat_busy "File '$(echo $N | /bin/awk -F/ '{print $NF}')'... "
- scan1=$(/bin/cat "$N" | /usr/bin/wc -l)
- scan2=$(/bin/egrep -o ":[0-9]*\.[0-9]*\.[0-9]*\.[0-9]*-[0-9]*\.[0-9]*\.[0-9]*\.[0-9]*" "$N" | /usr/bin/wc -l)
- if [ $scan1 -eq $scan2 ]; then
- stat_done
- else
- if [ $scan2 -gt 0 ]; then
- if [ $scan1 -gt $scan2 ]; then
- stat_append "$(($scan1-$scan2)) of $scan1 entries failed validation; keeping the file"
- stat_done
- fi
- else
- stat_fail
- stat_busy "[!!] Removing corrupted file... "
- rm "$N" 2>/dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- exit 1
- else
- stat_done
- fi
- fi
- fi
-done
-
-printsep
-printhl "Saving the list:\n"
-
-# Make backup
-if [ "$BACKUP_OLD_LIST" = "yes" ] && [ -f "$CONF_DIR"/"$LIST_FILE" ]; then
- stat_busy "Backing up old list to '$CONF_DIR/$LIST_FILE.gz'... "
- /bin/gzip -f "$CONF_DIR"/"$LIST_FILE" 2>/dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- stat_done
- fi
-fi
-
-# Save the list
-stat_busy "Saving new list to '$CONF_DIR/$LIST_FILE'... "
-/bin/cat "$TEMP_DIR"/* > "$CONF_DIR"/"$LIST_FILE" 2>&1
-if [ $? -gt 0 ]; then
- stat_fail
- exit 1
-else
- stat_done
- printf "\n"
- printhl "Saved `cat "$CONF_DIR"/"$LIST_FILE" | wc -l` ranges"
- printf "${C_SEPARATOR} ------------------------------\n"
-fi
-
-rm -rf "$TEMP_DIR"
-
-# Restart MoBlock
-if [ -f /var/run/moblock.pid ]; then
- /bin/kill -HUP `cat /var/run/moblock.pid` >/dev/null 2>&1
-fi
-
-exit 0
-
diff --git a/abs/extra/community/moblock/moblock.install b/abs/extra/community/moblock/moblock.install
deleted file mode 100644
index 6afe1d5..0000000
--- a/abs/extra/community/moblock/moblock.install
+++ /dev/null
@@ -1,26 +0,0 @@
-post_install() {
- #clean up after an old hack
- if [ -h /usr/lib/libnfnetlink.so.1 ]; then
- rm /usr/lib/libnfnetlink.so.1
- fi
- echo ""
- echo ">>> moblock-update script no longer uses /var/spool/moblock"
- echo ">>> as a temporary directory. You can safely delete it."
- echo ""
-}
-
-post_upgrade() {
- #clean up after an old hack
- if [ -h /usr/lib/libnfnetlink.so.1 ]; then
- rm /usr/lib/libnfnetlink.so.1
- fi
- echo ""
- echo ">>> moblock-update script no longer uses /var/spool/moblock"
- echo ">>> as a temporary directory. You can safely delete it."
- echo ""
-}
-
-op=$1
-shift
-$op $*
-
diff --git a/abs/extra/community/moblock/moblock.logrotate b/abs/extra/community/moblock/moblock.logrotate
deleted file mode 100644
index 6ed64bb..0000000
--- a/abs/extra/community/moblock/moblock.logrotate
+++ /dev/null
@@ -1,11 +0,0 @@
-"/var/log/moblock.log" /var/log/MoBlock.stats {
- daily
- missingok
- notifempty
- sharedscripts
- postrotate
- /usr/bin/test -f /var/run/moblock.pid && /bin/kill -HUP `cat /var/run/moblock.pid 2>/dev/null` 2>/dev/null || exit 0
- endscript
- compress
-}
-
diff --git a/abs/extra/community/moblock/moblock_0.9_rc2.patch b/abs/extra/community/moblock/moblock_0.9_rc2.patch
deleted file mode 100644
index 69994ff..0000000
--- a/abs/extra/community/moblock/moblock_0.9_rc2.patch
+++ /dev/null
@@ -1,912 +0,0 @@
-diff -Naur MoBlock-0.8_orig/Changelog MoBlock-0.8/Changelog
---- MoBlock-0.8_orig/Changelog 2006-03-22 12:44:31.000000000 -0500
-+++ MoBlock-0.8/Changelog 2008-02-10 11:56:08.000000000 -0500
-@@ -4,6 +4,23 @@
-
- ---
-
-+0.9: - fix for kernel 2.6.23
-+ - support for MARKing packets instead of DROPping or
-+ ACCEPTing
-+ - example start script that REJECTs packets instead of
-+ DROPping.
-+ - Integrated a patch from David Walluck for proper loading
-+ of p2b files (version 2)
-+ - command line options for logging to syslog, stdout
-+ and log timestamping
-+ - fixed loading pg1 lists with comments (lines starting
-+ with '#')
-+ - fixed a bug in ranges merge
-+ - applied patch 2223 by badfish99: "IPs logged with bytes
-+ reversed on big-endian m/c"
-+
-+---
-+
- 0.8: - support for NFQUEUE-ing from iptables FORWARD chain (thx to
- hyakki for suggestions and testing!)
- - included patches from Maximilian Mehnert to support log file
-diff -Naur MoBlock-0.8_orig/Makefile MoBlock-0.8/Makefile
---- MoBlock-0.8_orig/Makefile 2006-03-22 12:44:31.000000000 -0500
-+++ MoBlock-0.8/Makefile 2007-11-22 08:10:44.000000000 -0500
-@@ -1,4 +1,3 @@
--
- # To use the old-soon-to-be-deprecated libipq interface
- # uncomment the following line and comment the NFQUEUE one,
- # then comment the gcc line with netfilter_queue and
-@@ -7,7 +6,7 @@
- #QUEUE_LIB=LIBIPQ
- QUEUE_LIB=NFQUEUE
-
--CFLAGS=-Wall -O2 -march=i586 -mtune=i686 -fomit-frame-pointer -ffast-math \
-+CFLAGS=-Wall -O3 -march=i586 -mtune=i686 -fomit-frame-pointer -ffast-math \
- -D_GNU_SOURCE -D$(QUEUE_LIB) -L/usr/include/libipq
- CC=gcc
-
-diff -Naur MoBlock-0.8_orig/MoBlock-nfq-reject.sh MoBlock-0.8/MoBlock-nfq-reject.sh
---- MoBlock-0.8_orig/MoBlock-nfq-reject.sh 1969-12-31 19:00:00.000000000 -0500
-+++ MoBlock-0.8/MoBlock-nfq-reject.sh 2007-11-22 08:10:44.000000000 -0500
-@@ -0,0 +1,104 @@
-+#!/bin/sh
-+#
-+# MoBlock.sh - MoBlock start script
-+# ---------------------------------
-+
-+ACTIVATE_CHAINS=1
-+WHITE_TCP_IN=""
-+WHITE_UDP_IN=""
-+WHITE_TCP_OUT=""
-+WHITE_UDP_OUT=""
-+WHITE_TCP_FORWARD=""
-+WHITE_UDP_FORWARD=""
-+REJECT_MARK="10"
-+
-+PIDF=/var/run/moblock.pid
-+
-+FNAME=`basename $0 .sh`
-+MODE=`echo $FNAME|awk -F- '{print $2}'`
-+
-+if [ -f $PIDF ]; then
-+ PID=`cat $PIDF`
-+ if [ `ps -p $PID|wc -l` -gt 1 ]; then
-+ echo "$0: $PIDF exists and processs seems to be running. Exiting."
-+ exit 1;
-+ fi;
-+fi;
-+
-+if [ $MODE == "ipq" ]; then
-+ modprobe ip_queue
-+ TARGET="QUEUE"
-+elif [ $MODE == "nfq" ]; then
-+ modprobe ipt_NFQUEUE
-+ TARGET="NFQUEUE"
-+fi;
-+
-+modprobe ipt_state
-+
-+# Filter all traffic, edit for your needs
-+
-+iptables -N MOBLOCK_IN
-+iptables -N MOBLOCK_OUT
-+iptables -N MOBLOCK_FW
-+
-+if [ $ACTIVATE_CHAINS -eq 1 ]; then
-+ iptables -I INPUT -p all -m state --state NEW -j MOBLOCK_IN
-+ iptables -I OUTPUT -p all -m state --state NEW -j MOBLOCK_OUT
-+ iptables -I FORWARD -p all -m state --state NEW -j MOBLOCK_FW
-+fi;
-+
-+
-+iptables -I MOBLOCK_IN -p all -j $TARGET
-+
-+iptables -I MOBLOCK_OUT -p all -j $TARGET
-+
-+iptables -I MOBLOCK_FW -p all -j $TARGET
-+
-+for PORT in $WHITE_TCP_OUT; do
-+ iptables -I MOBLOCK_OUT -p tcp --dport $PORT -j ACCEPT
-+done
-+for PORT in $WHITE_UDP_OUT; do
-+ iptables -I MOBLOCK_OUT -p udp --dport $PORT -j ACCEPT
-+done
-+
-+for PORT in $WHITE_TCP_IN; do
-+ iptables -I MOBLOCK_IN -p tcp --dport $PORT -j ACCEPT
-+done
-+for PORT in $WHITE_UDP_IN; do
-+ iptables -I MOBLOCK_IN -p udp --dport $PORT -j ACCEPT
-+done
-+
-+for PORT in $WHITE_TCP_FORWARD; do
-+ iptables -I MOBLOCK_FW -p tcp --dport $PORT -j ACCEPT
-+done
-+for PORT in $WHITE_UDP_FORWARD; do
-+ iptables -I MOBLOCK_FW -p udp --dport $PORT -j ACCEPT
-+done
-+
-+iptables -I OUTPUT -p all -m state --state NEW -m mark --mark $REJECT_MARK -j REJECT
-+iptables -I FORWARD -p all -m state --state NEW -m mark --mark $REJECT_MARK -j REJECT
-+
-+# Here you can change block list and log files
-+./moblock -d /etc/ipfilter.dat -t -s -r $REJECT_MARK ./moblock.log
-+
-+# On exit delete the rules we added
-+
-+if [ $ACTIVATE_CHAINS -eq 1 ]; then
-+ iptables -D INPUT -p all -m state --state NEW -j MOBLOCK_IN
-+ iptables -D OUTPUT -p all -m state --state NEW -j MOBLOCK_OUT
-+ iptables -D FORWARD -p all -m state --state NEW -j MOBLOCK_FW
-+fi;
-+
-+iptables -D OUTPUT -p all -m state --state NEW -m mark --mark $REJECT_MARK -j REJECT
-+iptables -D FORWARD -p all -m state --state NEW -m mark --mark $REJECT_MARK -j REJECT
-+
-+iptables -F MOBLOCK_IN
-+iptables -X MOBLOCK_IN
-+iptables -F MOBLOCK_OUT
-+iptables -X MOBLOCK_OUT
-+iptables -F MOBLOCK_FW
-+iptables -X MOBLOCK_FW
-+
-+if [ -f $PIDF ]; then
-+ rm $PIDF;
-+fi
-diff -Naur MoBlock-0.8_orig/MoBlock.c MoBlock-0.8/MoBlock.c
---- MoBlock-0.8_orig/MoBlock.c 2006-03-22 12:44:31.000000000 -0500
-+++ MoBlock-0.8/MoBlock.c 2008-02-10 11:56:08.000000000 -0500
-@@ -35,6 +35,8 @@
- #include <linux/netfilter_ipv4.h>
- #include <signal.h>
- #include <regex.h>
-+#include <time.h>
-+#include <syslog.h>
-
- // in Makefile define LIBIPQ to use soon-to-be-deprecated ip_queue,
- // NFQUEUE for ipt_NFQUEUE (from kernel 2.6.14)
-@@ -46,7 +48,7 @@
- #include <libnetfilter_queue/libnetfilter_queue.h>
- #endif
-
--#define MB_VERSION "0.8"
-+#define MB_VERSION "0.9rc2"
-
- #define BUFSIZE 2048
- #define PAYLOADSIZE 21
-@@ -58,6 +60,9 @@
- #define SRC_ADDR(payload) (*(in_addr_t *)((payload)+12))
- #define DST_ADDR(payload) (*(in_addr_t *)((payload)+16))
-
-+#define likely(x) __builtin_expect((x),1)
-+#define unlikely(x) __builtin_expect((x),0)
-+
- // rbt datatypes/functions
-
- typedef enum {
-@@ -96,7 +101,8 @@
- char filename[100];
- } blocklist_info;
-
--int merged_ranges=0, skipped_ranges=0;
-+u_int32_t merged_ranges=0, skipped_ranges=0, accept_mark=0, reject_mark=0;
-+u_int8_t log2syslog=0, log2file=0, log2stdout=0, timestamp=0;
-
- #ifdef LIBIPQ
- static void die(struct ipq_handle *h)
-@@ -112,11 +118,13 @@
- static char buf[2][ sizeof("aaa.bbb.ccc.ddd") ];
- static short int index=0;
-
-+ ip = ntohl(ip);
-+
- sprintf(buf[index],"%d.%d.%d.%d",
-- (ip) & 0xff,
-- (ip >> 8) & 0xff,
-+ (ip >> 24) & 0xff,
- (ip >> 16) & 0xff,
-- (ip >> 24) & 0xff);
-+ (ip >> 8) & 0xff,
-+ (ip) & 0xff);
-
- if (index) {
- index=0;
-@@ -134,10 +142,38 @@
- fflush(stdout);
- }
-
-+void log_action(char *msg)
-+{
-+ char timestr[30];
-+ time_t tv;
-+
-+ if (timestamp) {
-+ tv = time(NULL);
-+ strncpy(timestr, ctime(&tv), 19);
-+ timestr[19] = '\0';
-+ strcat(timestr, "| ");
-+ }
-+ else strcpy(timestr, "");
-+
-+ if (log2syslog) {
-+ syslog(LOG_INFO, msg);
-+ }
-+
-+ if (log2file) {
-+ fprintf(logfile,"%s%s",timestr,msg);
-+ fflush(logfile);
-+ }
-+
-+ if (log2stdout) {
-+ fprintf(stdout,"%s%s",timestr,msg);
-+ }
-+}
-+
- inline void ranged_insert(char *name,char *ipmin,char *ipmax)
- {
- recType tmprec;
- int ret;
-+ char msgbuf[255];
-
- if ( strlen(name) > (BNAME_LEN-1) ) {
- strncpy(tmprec.blockname, name, BNAME_LEN);
-@@ -149,10 +185,11 @@
- if ( (ret=insert(ntohl(inet_addr(ipmin)),&tmprec)) != STATUS_OK )
- switch(ret) {
- case STATUS_MEM_EXHAUSTED:
-- fprintf(logfile,"Error inserting range, MEM_EXHAUSTED.\n");
-+ log_action("Error inserting range, MEM_EXHAUSTED.\n");
- break;
- case STATUS_DUPLICATE_KEY:
-- fprintf(logfile,"Duplicated range ( %s )\n",name);
-+ sprintf(msgbuf,"Duplicated range ( %s )\n",name);
-+ log_action(msgbuf);
- break;
- case STATUS_MERGED:
- merged_ranges++;
-@@ -161,8 +198,9 @@
- skipped_ranges++;
- break;
- default:
-- fprintf(logfile,"Unexpected return value from ranged_insert()!\n");
-- fprintf(logfile,"Return value was: %d\n",ret);
-+ log_action("Unexpected return value from ranged_insert()!\n");
-+ sprintf(msgbuf,"Return value was: %d\n",ret);
-+ log_action(msgbuf);
- break;
- }
- }
-@@ -177,15 +215,19 @@
- regex_t regmain;
- regmatch_t matches[4];
- int i;
-+ char msgbuf[255];
-
- regcomp(&regmain, "^(.*)[:]([0-9.]*)[-]([0-9.]*)$", REG_EXTENDED);
-
- fp=fopen(filename,"r");
- if ( fp == NULL ) {
-- fprintf(logfile,"Error opening %s, aborting...\n", filename);
-+ sprintf(msgbuf,"Error opening %s, aborting...\n", filename);
-+ log_action(msgbuf);
- exit(-1);
- }
- while ( (count=getline(&line,&len,fp)) != -1 ) {
-+ if ( line[0] == '#' ) //comment line, skip
-+ continue;
- for(i=count-1; i>=0; i--) {
- if ((line[i] == '\r') || (line[i] == '\n') || (line[i] == ' ')) {
- line[i] = 0;
-@@ -207,36 +249,78 @@
- line+matches[3].rm_so);
- ntot++;
- } else {
-- fprintf(logfile,"Short guarding.p2p line %s, skipping it...\n", line);
-+ sprintf(msgbuf,"Short guarding.p2p line %s, skipping it...\n", line);
-+ log_action(msgbuf);
- }
- }
- if (line)
- free(line);
- fclose(fp);
-- fprintf(logfile,"Ranges loaded: %d\n",ntot);
-- printf("* Ranges loaded: %d\n",ntot);
-+ sprintf(msgbuf, "* Ranges loaded: %d\n", ntot);
-+ log_action(msgbuf);
-+ if ( !log2stdout )
-+ printf(msgbuf);
- }
-
--void loadlist_pg2(char *filename) // experimental, no check for list sanity
-+void loadlist_pg2(char *filename) // supports only v2 files
- {
- FILE *fp;
-- int i,retval,ntot=0;
-- char name[100],ipmin[16]; // hope we don't have a list with longer names...
-+ int i, j, c, retval=0, ntot=0;
-+ char name[100],ipmin[16], msgbuf[255]; // hope we don't have a list with longer names...
- uint32_t start_ip, end_ip;
- struct in_addr startaddr,endaddr;
-+ size_t s;
-
- fp=fopen(filename,"r");
- if ( fp == NULL ) {
-- fprintf(logfile,"Error opening %s, aborting...\n", filename);
-+ sprintf(msgbuf, "Error opening %s, aborting...\n", filename);
-+ log_action(msgbuf);
- exit(-1);
- }
-
-- fgetc(fp); // skip first 4 bytes, don't know what they are
-- fgetc(fp);
-- fgetc(fp);
-- retval=fgetc(fp);
-+ for (j=0; j<4; j++) {
-+ c=fgetc(fp);
-+ if ( c != 0xff ) {
-+ sprintf(msgbuf,"Byte %d: 0x%x != 0xff, aborting...\n", j+1, c);
-+ log_action(msgbuf);
-+ fclose(fp);
-+ exit(-1);
-+ }
-+ }
-+
-+ c=fgetc(fp);
-+ if ( c != 'P' ) {
-+ sprintf(msgbuf,"Byte 5: %c != P, aborting...\n", c);
-+ log_action(msgbuf);
-+ fclose(fp);
-+ exit(-1);
-+ }
-+
-+ c=fgetc(fp);
-+ if ( c != '2' ) {
-+ sprintf(msgbuf,"Byte 6: %c != 2, aborting...\n", c);
-+ log_action(msgbuf);
-+ fclose(fp);
-+ exit(-1);
-+ }
-
-- while ( retval != EOF ) {
-+ c=fgetc(fp);
-+ if ( c != 'B' ) {
-+ sprintf(msgbuf,"Byte 7: %c != B, aborting...\n", c);
-+ log_action(msgbuf);
-+ fclose(fp);
-+ exit(-1);
-+ }
-+
-+ c=fgetc(fp);
-+ if ( c != 0x02 ) {
-+ sprintf(msgbuf,"Byte 8: version: %d != 2, aborting...\n", c);
-+ log_action(msgbuf);
-+ fclose(fp);
-+ exit(-1);
-+ }
-+
-+ do {
- i=0;
- do {
- name[i]=fgetc(fp);
-@@ -244,9 +328,22 @@
- } while ( name[i-1] != 0x00 && name[i-1] != EOF);
- if ( name[i-1] != EOF ) {
- name[i-1]='\0';
-- fread(&start_ip,4,1,fp);
-- fread(&end_ip,4,1,fp);
-- startaddr.s_addr=start_ip;
-+ s=fread(&start_ip,4,1,fp);
-+ if ( s != 1 ) {
-+ sprintf(msgbuf,"Failed to read start IP: %d != 1, aborting...\n", (int)s);
-+ log_action(msgbuf);
-+ fclose(fp);
-+ exit(-1);
-+ }
-+ s=fread(&end_ip,4,1,fp);
-+ if ( s != 1 ) {
-+ sprintf(msgbuf,"Failed to read end IP: %d != 1, aborting...\n", (int)s);
-+ log_action(msgbuf);
-+ fclose(fp);
-+ exit(-1);
-+ }
-+
-+ startaddr.s_addr=start_ip;
- endaddr.s_addr=end_ip;
- strcpy(ipmin,inet_ntoa(startaddr));
- ranged_insert(name,ipmin,inet_ntoa(endaddr));
-@@ -255,22 +352,25 @@
- else {
- retval=EOF;
- }
-- }
-+ } while ( retval != EOF );
- fclose(fp);
-- fprintf(logfile,"Ranges loaded: %d\n",ntot);
-- printf("* Ranges loaded: %d\n",ntot);
-+ sprintf(msgbuf, "* Ranges loaded: %d\n",ntot);
-+ log_action(msgbuf);
-+ if ( !log2stdout )
-+ printf(msgbuf);
- }
-
- void loadlist_dat(char *filename)
- {
- FILE *fp;
- int ntot=0;
-- char readbuf[200], *name, start_ip[16], end_ip[16];
-+ char readbuf[200], *name, start_ip[16], end_ip[16], msgbuf[255];
- unsigned short ip1_0, ip1_1, ip1_2, ip1_3, ip2_0, ip2_1, ip2_2, ip2_3;
-
- fp=fopen(filename,"r");
- if ( fp == NULL ) {
-- fprintf(logfile,"Error opening %s, aborting...\n", filename);
-+ sprintf(msgbuf,"Error opening %s, aborting...\n", filename);
-+ log_action(msgbuf);
- exit(-1);
- }
-
-@@ -286,38 +386,45 @@
- ntot++;
- }
- fclose(fp);
-- fprintf(logfile,"Ranges loaded: %d\n",ntot);
-- printf("* Ranges loaded: %d\n",ntot);
-+ sprintf(msgbuf, "* Ranges loaded: %d\n", ntot);
-+ log_action(msgbuf);
-+ if ( !log2stdout )
-+ printf(msgbuf);
- }
-
- void reopen_logfile(void)
- {
-+ char msgbuf[255];
-+
- if (logfile != NULL) {
- fclose(logfile);
- logfile=NULL;
- }
- logfile=fopen(logfile_name,"a");
- if (logfile == NULL) {
-- fprintf(stderr, "Unable to open logfile %s\n", logfile_name);
-+ sprintf(msgbuf, "Unable to open logfile %s\n", logfile_name);
-+ log_action(msgbuf);
- exit(-1);
- }
-- fprintf(logfile, "Reopening logfile.\n");
-+ log_action("Reopening logfile.\n");
- }
-
- void my_sahandler(int sig)
- {
-+ char msgbuf[255];
-+
- switch( sig ) {
- case SIGUSR1:
-- fprintf(logfile,"Got SIGUSR1! Dumping stats...\n");
-+ log_action("Got SIGUSR1! Dumping stats...\n");
- ll_show(logfile);
- reopen_logfile();
- break;
- case SIGUSR2:
-- fprintf(logfile,"Got SIGUSR2! Dumping stats to /var/log/MoBlock.stats\n");
-+ log_action("Got SIGUSR2! Dumping stats to /var/log/MoBlock.stats\n");
- ll_log();
- break;
- case SIGHUP:
-- fprintf(logfile,"\nGot SIGHUP! Dumping and resetting stats, reloading blocklist\n\n");
-+ log_action("Got SIGHUP! Dumping and resetting stats, reloading blocklist\n");
- ll_log();
- ll_clear(); // clear stats list
- destroy_tree(); // clear loaded ranges
-@@ -332,17 +439,18 @@
- loadlist_pg2(blocklist_info.filename);
- break;
- default:
-- fprintf(logfile,"Unknown blocklist type while reloading list, contact the developer!\n");
-+ log_action("Unknown blocklist type while reloading list, contact the developer!\n");
- break;
- }
- reopen_logfile();
- break;
- case SIGTERM:
-- fprintf(logfile,"Got SIGTERM! Dumping stats and exiting.\n");
-+ log_action("Got SIGTERM! Dumping stats and exiting.\n");
- ll_log();
- exit(0);
- default:
-- fprintf(logfile,"Received signal = %d but not handled\n",sig);
-+ sprintf(msgbuf,"Received signal = %d but not handled\n",sig);
-+ log_action(msgbuf);
- break;
- }
- }
-@@ -378,7 +486,7 @@
- {
- int id=0, status=0;
- struct nfqnl_msg_packet_hdr *ph;
-- char *payload;
-+ char *payload, msgbuf[255];
- recType tmprec;
-
- ph = nfq_get_msg_packet_hdr(nfa);
-@@ -389,34 +497,78 @@
- switch (ph->hook) {
- case NF_IP_LOCAL_IN:
- if ( find(ntohl(SRC_ADDR(payload)),&tmprec) == STATUS_OK ) {
-+ // we drop the packet instead of rejecting
-+ // we don't want the other host to know we are alive
- status=nfq_set_verdict(qh, id, NF_DROP, 0, NULL);
-- fprintf(logfile,"Blocked IN: %s,hits: %d,SRC: %s\n",tmprec.blockname,tmprec.hits,ip2str(SRC_ADDR(payload)));
-- } else status = nfq_set_verdict(qh, id, NF_ACCEPT, 0, NULL);
-+ sprintf(msgbuf,"Blocked IN: %s,hits: %d,SRC: %s\n",tmprec.blockname,tmprec.hits,ip2str(SRC_ADDR(payload)));
-+ log_action(msgbuf);
-+ }
-+ else if ( unlikely(accept_mark) ) {
-+ // we set the user-defined accept_mark and set NF_REPEAT verdict
-+ // it's up to other iptables rules to decide what to do with this marked packet
-+ status = nfq_set_verdict_mark(qh, id, NF_REPEAT, accept_mark, 0, NULL);
-+ }
-+ else {
-+ // no accept_mark, just NF_ACCEPT the packet
-+ status = nfq_set_verdict(qh, id, NF_ACCEPT, 0, NULL);
-+ }
- break;
- case NF_IP_LOCAL_OUT:
- if ( find(ntohl(DST_ADDR(payload)),&tmprec) == STATUS_OK ) {
-- status=nfq_set_verdict(qh, id, NF_DROP, 0, NULL);
-- fprintf(logfile,"Blocked OUT: %s,hits: %d,DST: %s\n",tmprec.blockname,tmprec.hits,ip2str(DST_ADDR(payload)));
-- } else status = nfq_set_verdict(qh, id, NF_ACCEPT, 0, NULL);
-+ if ( likely(reject_mark) ) {
-+ // we set the user-defined reject_mark and set NF_REPEAT verdict
-+ // it's up to other iptables rules to decide what to do with this marked packet
-+ status = nfq_set_verdict_mark(qh, id, NF_REPEAT, reject_mark, 0, NULL);
-+ }
-+ else {
-+ status = nfq_set_verdict(qh, id, NF_DROP, 0, NULL);
-+ }
-+ sprintf(msgbuf,"Blocked OUT: %s,hits: %d,DST: %s\n",tmprec.blockname,tmprec.hits,ip2str(DST_ADDR(payload)));
-+ log_action(msgbuf);
-+ }
-+ else if ( unlikely(accept_mark) ) {
-+ // we set the user-defined accept_mark and set NF_REPEAT verdict
-+ // it's up to other iptables rules to decide what to do with this marked packet
-+ status = nfq_set_verdict_mark(qh, id, NF_REPEAT, accept_mark, 0, NULL);
-+ }
-+ else {
-+ // no accept_mark, just NF_ACCEPT the packet
-+ status = nfq_set_verdict(qh, id, NF_ACCEPT, 0, NULL);
-+ }
- break;
- case NF_IP_FORWARD:
- if ( find2(ntohl(SRC_ADDR(payload)), ntohl(DST_ADDR(payload)), &tmprec) == STATUS_OK ) {
-- status=nfq_set_verdict(qh, id, NF_DROP, 0, NULL);
-- fprintf(logfile,"Blocked FWD: %s,hits: %d,SRC: %s, DST: %s\n",
-+ if ( likely(reject_mark) ) {
-+ // we set the user-defined reject_mark and set NF_REPEAT verdict
-+ // it's up to other iptables rules to decide what to do with this marked packet
-+ status = nfq_set_verdict_mark(qh, id, NF_REPEAT, reject_mark, 0, NULL);
-+ }
-+ else {
-+ status = nfq_set_verdict(qh, id, NF_DROP, 0, NULL);
-+ }
-+ sprintf(msgbuf,"Blocked FWD: %s,hits: %d,SRC: %s, DST: %s\n",
- tmprec.blockname, tmprec.hits, ip2str(SRC_ADDR(payload)), ip2str(DST_ADDR(payload)));
-- fflush(logfile);
-- } else status = nfq_set_verdict(qh, id, NF_ACCEPT, 0, NULL);
-+ log_action(msgbuf);
-+ }
-+ else if ( unlikely(accept_mark) ) {
-+ // we set the user-defined accept_mark and set NF_REPEAT verdict
-+ // it's up to other iptables rules to decide what to do with this marked packet
-+ status = nfq_set_verdict_mark(qh, id, NF_REPEAT, accept_mark, 0, NULL);
-+ }
-+ else {
-+ // no accept_mark, just NF_ACCEPT the packet
-+ status = nfq_set_verdict(qh, id, NF_ACCEPT, 0, NULL);
-+ }
- break;
- default:
-- fprintf(logfile,"Not NF_LOCAL_IN/OUT/FORWARD packet!\n");
-+ log_action("Not NF_LOCAL_IN/OUT/FORWARD packet!\n");
- break;
- }
- }
- else {
-- fprintf(logfile,"NFQUEUE: can't get msg packet header.\n");
-+ log_action("NFQUEUE: can't get msg packet header.\n");
- return(1); // from nfqueue source: 0 = ok, >0 = soft error, <0 hard error
- }
-- fflush(logfile);
- return(0);
- }
- #endif
-@@ -492,46 +644,48 @@
- struct nfq_q_handle *qh;
- struct nfnl_handle *nh;
- int fd,rv;
-- char buf[BUFSIZE];
-+ char buf[BUFSIZE], msgbuf[255];
-
- h = nfq_open();
- if (!h) {
-- fprintf(logfile, "Error during nfq_open()\n");
-+ log_action("Error during nfq_open()\n");
- exit(-1);
- }
-
- if (nfq_unbind_pf(h, AF_INET) < 0) {
-- fprintf(logfile, "error during nfq_unbind_pf()\n");
-- exit(-1);
-+ log_action("error during nfq_unbind_pf()\n");
-+ //exit(-1);
- }
-
- if (nfq_bind_pf(h, AF_INET) < 0) {
-- fprintf(logfile, "Error during nfq_bind_pf()\n");
-+ log_action("Error during nfq_bind_pf()\n");
- exit(-1);
- }
-
-- fprintf(logfile,"NFQUEUE: binding to queue '%hd'\n", queuenum);
-+ sprintf(msgbuf,"NFQUEUE: binding to queue '%hd'\n", queuenum);
-+ log_action(msgbuf);
- qh = nfq_create_queue(h, queuenum, &nfqueue_cb, NULL);
- if (!qh) {
-- fprintf(logfile, "error during nfq_create_queue()\n");
-+ log_action("error during nfq_create_queue()\n");
- exit(-1);
- }
-
- if (nfq_set_mode(qh, NFQNL_COPY_PACKET, PAYLOADSIZE) < 0) {
-- fprintf(logfile, "can't set packet_copy mode\n");
-+ log_action("can't set packet_copy mode\n");
- exit(-1);
- }
-
- nh = nfq_nfnlh(h);
- fd = nfnl_fd(nh);
-
-- while ((rv = recv(fd, buf, sizeof(buf), 0)) && rv >= 0) {
-+ while ((rv = recv(fd, buf, sizeof(buf), 0)) >= 0) {
- nfq_handle_packet(h, buf, rv);
- }
-
-- printf("NFQUEUE: unbinding from queue 0\n");
-+ log_action("NFQUEUE: unbinding from queue 0\n");
- nfq_destroy_queue(qh);
- nfq_close(h);
-+ nfq_unbind_pf(h, AF_INET);
- return(0);
- #endif
-
-@@ -540,11 +694,16 @@
- void print_options(void)
- {
- printf("\nMoBlock %s by Morpheus",MB_VERSION);
-- printf("\nSyntax: MoBlock -dnp <blocklist> [-b] [-q 0-65535] <logfile>\n\n");
-+ printf("\nSyntax: MoBlock -dnp <blocklist> [-q 0-65535] <logfile>\n\n");
- printf("\t-d\tblocklist is an ipfilter.dat file\n");
- printf("\t-n\tblocklist is a peerguardian 2.x file (.p2b)\n");
- printf("\t-p\tblocklist is a peerguardian file (.p2p)\n");
- printf("\t-q\t0-65535 NFQUEUE number (as specified in --queue-num with iptables)\n");
-+ printf("\t-r MARK\tmark packet with MARK instead of DROP\n");
-+ printf("\t-a MARK\tmark packet with MARK instead of ACCEPT\n");
-+ printf("\t-l\tlog to stdout\n");
-+ printf("\t-s\tlog to syslog\n");
-+ printf("\t-t\tlog timestamping\n\n");
- }
-
- void on_quit()
-@@ -556,6 +715,7 @@
- {
- int ret=0;
- unsigned short int queuenum=0;
-+ char msgbuf[255];
-
- if (argc < 3) {
- print_options();
-@@ -591,10 +751,11 @@
- }
- logfile_name=malloc(strlen(argv[argc-1])+1);
- strcpy(logfile_name,argv[argc-1]);
-+ log2file = 1;
- printf("* Logging to %s\n",logfile_name);
-
- while (1) { //scan command line options
-- ret=getopt(argc, argv, "d:n:p:q:");
-+ ret=getopt(argc, argv, "d:n:p:q:a:r:stl");
- if ( ret == -1 ) break;
-
- switch (ret) {
-@@ -619,6 +780,28 @@
- case 'q':
- queuenum=(unsigned short int)atoi(optarg);
- break;
-+ case 'r':
-+ reject_mark=(u_int32_t)atoi(optarg);
-+ printf("* DROP MARK: %d\n", reject_mark);
-+ reject_mark=htonl(reject_mark);
-+ break;
-+ case 'a':
-+ accept_mark=(u_int32_t)atoi(optarg);
-+ printf("* ACCEPT MARK: %d\n", accept_mark);
-+ accept_mark=htonl(accept_mark);
-+ break;
-+ case 's':
-+ log2syslog = 1;
-+ printf("* Logging to syslog\n");
-+ break;
-+ case 't':
-+ timestamp = 1;
-+ printf("* Log timestamp enabled\n");
-+ break;
-+ case 'l':
-+ log2stdout = 1;
-+ printf("* Log to stdout enabled\n");
-+ break;
- case '?': // unknown option
- print_options();
- exit(-1);
-@@ -626,10 +809,14 @@
- }
- }
-
-- printf("* Merged ranges: %d\n", merged_ranges);
-- fprintf(logfile, "Merged ranges: %d\n", merged_ranges);
-- printf("* Skipped useless ranges: %d\n", skipped_ranges);
-- fprintf(logfile,"Skipped useless ranges: %d\n", skipped_ranges);
-+ sprintf(msgbuf, "* Merged ranges: %d\n", merged_ranges);
-+ log_action(msgbuf);
-+ if ( !log2stdout )
-+ printf(msgbuf);
-+ sprintf(msgbuf,"* Skipped useless ranges: %d\n", skipped_ranges);
-+ log_action(msgbuf);
-+ if ( !log2stdout )
-+ printf(msgbuf);
- fflush(NULL);
-
- netlink_loop(queuenum);
-diff -Naur MoBlock-0.8_orig/README MoBlock-0.8/README
---- MoBlock-0.8_orig/README 2006-03-22 12:44:31.000000000 -0500
-+++ MoBlock-0.8/README 2007-11-22 08:10:44.000000000 -0500
-@@ -1,5 +1,5 @@
-
--MoBlock README v0.8
-+MoBlock README v0.9
- http://moblock.berlios.de
-
- .Introduction.
-@@ -47,6 +47,22 @@
- ip_conntrack 40044 1 ipt_state
- iptable_filter 2176 1
- ip_tables 17600 3 ipt_NFQUEUE,ipt_state,iptable_filter
-+
-+ ...and these with kernel 2.6.23 using NFQUEUE interface:
-+
-+ nfnetlink_queue 9344 1
-+ nfnetlink 4568 2 nfnetlink_queue
-+ ipt_REJECT 3520 2
-+ xt_mark 1600 2
-+ nf_conntrack_ipv4 12424 5
-+ iptable_filter 2308 1
-+ ip_tables 10328 1 iptable_filter
-+ xt_state 1984 5
-+ nf_conntrack 48356 2 nf_conntrack_ipv4,xt_state
-+ xt_NFQUEUE 1664 3
-+ x_tables 11396 5 ipt_REJECT,xt_mark,ip_tables,xt_state,xt_NFQUEUE
-+
-+ (notice that ipt_NFQUEUE has changed to xt_NFQUEUE, same thing for other modules too)
-
- 2) A valid guarding.p2p/ipfilter.dat/p2p.p2b host file in /etc ( /etc/guarding.p2p ).
- MoBlock tries to skip malformed or duplicate ranges but
-@@ -140,8 +156,18 @@
- To specify a NFQUEUE queue number:
-
- ./moblock -p /etc/guarding.p2p -q 5 MoBlock.log
-+
-+ From version 0.9 MoBlock supports MARKing packets and RETURN them to
-+ iptables, there's an example start script (MoBlock-nfq-reject.sh) that
-+ uses this feature to REJECT packet instead of dropping them. It can help
-+ in complex firewall configuration where you need more control of packets
-+ flow after MoBlock inspection.
-+ See the mentioned start script for reference, you can set the MARK value
-+ for packets that MoBlock would drop (ip in list) with the "-r" command line
-+ option and for packets that MoBlock would accept (ip not in list) with
-+ the "-a" command line option.
-
-- To stop it:
-+ To stop MoBlock:
-
- kill -TERM <MoBlockPid>
-
-@@ -149,7 +175,7 @@
- To obtain stats about blocked ranges while it's running:
-
- kill -USR1 <MoBlockPid> # write stats to logfile
-- kill -USR2 <MoBlockPid> # write stats to /var/log/MoBlock.stats
-+ kill -USR2 <MoBlockPid> # write stats to /var/log/MoBlock.stats
-
- ** NEW: to reload the blocklist while MoBlock is running send to it the
- HUP signal:
-@@ -168,7 +194,10 @@
- took some code and ideas from his FTwall
- - Andrew de Quincey (adq at lidskialf dot net) for regular expressions
- and command line args patch
--- Maximilian Mehnert (clessing at freenet dot de) for logfile rotation
-+- clessing at freenet dot de for logfile rotation
- patches, pid file creation, start script, fixes/files for debian packaging
-+- David Walluck, patch for proper loading of p2b files
-+- jre, for continuing clessing work on debian packaging and many other
-+ contributions
-
--Last Updated: 20/Mar/2006
-+Last Updated: 15/Oct/2007
-diff -Naur MoBlock-0.8_orig/rbt.c MoBlock-0.8/rbt.c
---- MoBlock-0.8_orig/rbt.c 2006-03-22 12:44:31.000000000 -0500
-+++ MoBlock-0.8/rbt.c 2008-02-10 11:56:08.000000000 -0500
-@@ -19,7 +19,7 @@
- #include <stdarg.h>
- #include <time.h>
-
--#define RBT_VERSION 0.8
-+#define RBT_VERSION 0.9
- #define BNAME_LEN 80
-
- /* implementation dependend declarations */
-@@ -421,7 +421,7 @@
-
- statusEnum insert(keyType key, recType *rec) {
- nodeType *current, *parent, *x;
-- keyType tmpkey;
-+ //keyType tmpkey;
- recType tmprec;
- int ret;
-
-@@ -433,6 +433,23 @@
- current = root;
- parent = 0;
- while (current != NIL) {
-+ if (compEQ2(current->key, key, rec->ipmax)) { // current node key is inside new range to be inserted
-+ strcpy(tmprec.blockname, rec->blockname); // block name from new range
-+ if (compLT(current->rec.ipmax, rec->ipmax))
-+ tmprec.ipmax = rec->ipmax;
-+ else tmprec.ipmax = current->rec.ipmax;
-+ tmprec.hits = 0;
-+ //printf("deleting node :%lu\n", current->key);
-+ ret=delete(current->key);
-+ if ( ret != STATUS_OK )
-+ return(ret);
-+ ret=insert(key, &tmprec);
-+ if ( ret == STATUS_OK ) {
-+ printf("new merge\n");
-+ return(STATUS_MERGED);
-+ }
-+ else return(ret);
-+ }
- if (compEQ(key, current->key)) {
- if ( rec->ipmax > current->rec.ipmax ) {
- current->rec.ipmax=rec->ipmax;
-@@ -458,7 +475,7 @@
- }
- }
- //check if higher ip (ipmax) is already in a range
-- if (compEQ2(rec->ipmax,current->key,current->rec.ipmax)) {
-+ /*if (compEQ2(rec->ipmax,current->key,current->rec.ipmax)) {
- fprintf(logfile,"higher ip in range\n");
- tmpkey=key;
- strcpy(tmprec.blockname,current->rec.blockname);
-@@ -470,7 +487,7 @@
- if ( ret == STATUS_OK )
- return(STATUS_MERGED);
- else return(ret);
-- }
-+ }*/
- parent = current;
- current = compLT(key, current->key) ?
- current->left : current->right;
-@@ -495,7 +512,7 @@
- } else {
- root = x;
- }
--
-+ //printf("new node, key: %lu, parent: %lu\n", x->key, parent ? parent->key : 0);
- insertFixup(x);
- lastFind = NULL;
-
diff --git a/abs/extra/community/moblock/moblock_include.patch b/abs/extra/community/moblock/moblock_include.patch
deleted file mode 100644
index 644e824..0000000
--- a/abs/extra/community/moblock/moblock_include.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- MoBlock-0.8/MoBlock.c.orig 2008-08-15 14:41:49.000000000 -0400
-+++ MoBlock-0.8/MoBlock.c 2008-08-15 14:43:45.000000000 -0400
-@@ -32,6 +32,7 @@
- #include <netinet/udp.h>
- #include <sys/socket.h>
- #include <arpa/inet.h>
-+#include <limits.h>
- #include <linux/netfilter_ipv4.h>
- #include <signal.h>
- #include <regex.h>
diff --git a/abs/extra/community/mobloquer/PKGBUILD b/abs/extra/community/mobloquer/PKGBUILD
deleted file mode 100644
index b6254d5..0000000
--- a/abs/extra/community/mobloquer/PKGBUILD
+++ /dev/null
@@ -1,26 +0,0 @@
-# Contributor: Daniele Marinello <marinz att email dot it>
-
-pkgname=mobloquer
-pkgver=0.6
-pkgrel=6
-pkgdesc="A graphical front end for moblock"
-arch=('i686' 'x86_64')
-url="http://mobloquer.foutrelis.com/"
-license=('GPL')
-depends=('qt' 'blockcontrol')
-source=(http://downloads.sourceforge.net/mobloquer/$pkgname-$pkgver.tar.gz)
-md5sums=('6363ee4c42da1d85367fdd65d4bf42ca')
-
-build() {
-
- cd $startdir/src/$pkgname-$pkgver
-
- qmake
- make || return 1
-
- install -d ${pkgdir}/usr/share/applications ${pkgdir}/usr/bin ${pkgdir}/usr/share/pixmaps
- install -m 644 -p $startdir/src/$pkgname-$pkgver/images/mobloquer.png $startdir/pkg/usr/share/pixmaps/
- install -m 644 -p $startdir/src/$pkgname-$pkgver/other/Mobloquer.desktop $startdir/pkg/usr/share/applications/
- install -m 755 -p $startdir/src/$pkgname-$pkgver/mobloquer $startdir/pkg/usr/bin/mobloquer
-}
-
diff --git a/abs/extra/community/motion-svn/PKGBUILD b/abs/extra/community/motion-svn/PKGBUILD
deleted file mode 100644
index dcbd162..0000000
--- a/abs/extra/community/motion-svn/PKGBUILD
+++ /dev/null
@@ -1,42 +0,0 @@
-# Contributor: Demind <demind@gmail.com>
-pkgname=motion-svn
-pkgver=1
-pkgrel=1
-pkgdesc="Motion is a software motion detector. It grabs images from video4linux devices and/or from webcams."
-arch=('i686' 'x86_64')
-url="http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome"
-license=('GPL2')
-depends=('zlib' 'libjpeg')
-makedepends=('subversion')
-provides=('motion')
-conflicts=('motion')
-install="motion-svn.install"
-source=('rc.motion')
-md5sums=('fc09828564850824f8549d258053e0b6')
-
-_svntrunk=http://www.lavrsen.dk/svn/motion/trunk/
-_svnmod=motion
-
-build() {
- cd $startdir/src
-
- msg "Retrieving sources"
- svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
-
- [ -d ./$_svnmod-build ] && rm -fr ./$_svnmod-build
- cp -r ./$_svnmod ./$_svnmod-build
- cd ./$_svnmod-build
-
- msg "SVN checkout done or server timeout"
- msg "Starting build"
-
- ./configure \
- --prefix=/usr \
- --sysconfdir=/etc
-
- make || return 1
- make DESTDIR=$startdir/pkg/ install || return 1
- install -D -m755 $startdir/src/rc.motion $startdir/pkg/etc/rc.d/motion
- rm -rf $startdir/src/$_svnmod-build
-}
-
diff --git a/abs/extra/community/motion-svn/motion-svn.install b/abs/extra/community/motion-svn/motion-svn.install
deleted file mode 100644
index f88a2fc..0000000
--- a/abs/extra/community/motion-svn/motion-svn.install
+++ /dev/null
@@ -1,11 +0,0 @@
-# arg 1: the new package version
-post_install() {
- echo ""
- echo ">>> An example configuration has been saved to /etc/motion-dispatch.conf"
-}
-
-op=$1
-shift
-[ "$(type -t "$op")" = "function" ] && $op "$@"
-
-# vim:set ts=2 et:
diff --git a/abs/extra/community/motion-svn/rc.motion b/abs/extra/community/motion-svn/rc.motion
deleted file mode 100644
index 7dd027c..0000000
--- a/abs/extra/community/motion-svn/rc.motion
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PID=`pidof -o %PPID /usr/bin/motion`
-case "$1" in
- start)
- stat_busy "Starting Motion"
- [ -z "$PID" ] && /usr/bin/motion
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon motion
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping Motion"
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon motion
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
diff --git a/abs/extra/community/mre/PKGBUILD b/abs/extra/community/mre/PKGBUILD
deleted file mode 100644
index 4868d33..0000000
--- a/abs/extra/community/mre/PKGBUILD
+++ /dev/null
@@ -1,35 +0,0 @@
-pkgname=mre
-pkgver=1.1.2
-pkgrel=6
-_kernver=2.6.36-LinHES
-pkgdesc="Myth Recording Extender"
-arch=('i686')
-url="http://sourceforge.net/projects/mythtv-tools/"
-license=('GPL-2')
-depends=('peardb' 'pearlog')
-source=('mre-1.1.2.tar.gz' 'patch.diff' 'run' 'mre.lr')
-install=('mre.install')
-
-build() {
- cd ${srcdir}/mre-1.1.2/
- patch -p0 < ../patch.diff
- ./configure
- make INST_ROOT=${pkgdir} install
- cp ${srcdir}/mre-1.1.2/conf/mre.conf ${pkgdir}/etc/mre.conf
- cp ${srcdir}/mre-1.1.2/test/test_title_subtitle.php\
- ${pkgdir}/usr/local/bin/
- chmod a+x ${pkgdir}/usr/local/bin/test_title_subtitle.php
- rm -r ${pkgdir}/etc/init.d
- mkdir -p ${pkgdir}/var/log/mre
- chown root:log "${pkgdir}/var/log/mre"
- touch ${pkgdir}/var/log/mre/mre.log
- chown mythtv:mythtv "${pkgdir}/var/log/mre/mre.log"
- mkdir -p ${pkgdir}/etc/sv/mre
- cp ${srcdir}/run ${pkgdir}/etc/sv/mre/run
- mkdir -p ${pkgdir}/etc/logrotate.d
- cp ${srcdir}/mre.lr ${pkgdir}/etc/logrotate.d/mre.lr
-}
-md5sums=('8ab312e7597ae9413a57bd5e9a068096'
- 'ed6cb9012c88d589e26132796132bf25'
- '10e01d572b45ad718e49ff9ef5c230c5'
- '6d71ab57afd974c5130c994b94e8746f')
diff --git a/abs/extra/community/mre/mre-1.1.2.tar.gz b/abs/extra/community/mre/mre-1.1.2.tar.gz
deleted file mode 100644
index 3846e4b..0000000
--- a/abs/extra/community/mre/mre-1.1.2.tar.gz
+++ /dev/null
Binary files differ
diff --git a/abs/extra/community/mre/mre.install b/abs/extra/community/mre/mre.install
deleted file mode 100755
index bb08427..0000000
--- a/abs/extra/community/mre/mre.install
+++ /dev/null
@@ -1,20 +0,0 @@
-# arg 1: the new package version
-post_install() {
- add_service.sh mre
- sed -i.pacsave '/^open_basedir/s|$|:/var/log/mre:/usr/local/lib/mre|' /etc/php/php.ini
-}
-
-post_upgrade() {
- /bin/true
-}
-
-
-# arg 1: the old package version
-post_remove() {
- remove_service.sh mre
- sed -i.pacsave '/^open_basedir/s|:/var/log/mre:/usr/local/lib/mre||' /etc/php/php.ini
-}
-
-op=$1
-shift
-$op $*
diff --git a/abs/extra/community/mre/mre.lr b/abs/extra/community/mre/mre.lr
deleted file mode 100644
index 3b54c23..0000000
--- a/abs/extra/community/mre/mre.lr
+++ /dev/null
@@ -1,9 +0,0 @@
-/var/log/mre/mre.log {
- copytruncate
- daily
- size 10M
- missingok
- rotate 7
- compress
- notifempty
-}
diff --git a/abs/extra/community/mre/patch.diff b/abs/extra/community/mre/patch.diff
deleted file mode 100644
index 38a501a..0000000
--- a/abs/extra/community/mre/patch.diff
+++ /dev/null
@@ -1,293 +0,0 @@
---- ../mre-1.1.2/class/MythClient.php.original 2006-04-05 17:39:13.000000000 -0500
-+++ ../mre-1.1.2/class/MythClient.php 2010-05-14 10:16:54.000000000 -0500
-@@ -112,7 +112,7 @@
- return '0';
- }
- foreach($out as $line)
-- if(preg_match('/^Library API version: (.*)$/', $line, $matches))
-+ if(preg_match('/^Library API *: (.*)$/', $line, $matches))
- return $matches[1];
- return '0';
- }
---- ../mre-1.1.2/conf/mre.conf.in.original 2006-08-13 16:48:57.000000000 -0500
-+++ ../mre-1.1.2/conf/mre.conf.in 2010-05-04 00:25:26.000000000 -0500
-@@ -28,9 +28,9 @@
- ; *** Application settings
- ; Unprivledged user to run as, if started as root
- ; This script will not run as root
--user = nobody
-+user = mythtv
- ; Run MRE as daemon? Requires pcntl_* functions built into PHP
--daemon = true
-+daemon = false
- ; Number of minutes to sleep between runs
- sleep = 5
- ; Logging level (0 = normal, 1 = +error, 2 = +warning, 3 = +debug)
---- ../mre-1.1.2/class/EventFactory.php.original 2006-09-22 10:18:07.000000000 -0500
-+++ ../mre-1.1.2/class/EventFactory.php 2010-08-28 00:02:37.000000000 -0500
-@@ -50,7 +50,7 @@
- $obj = new NHLEvent($data['subtitle']); break;
- case 'MLB Baseball':
- $obj = new MLBEvent($data['subtitle']); break;
-- case 'NFL Football':
-+ case ($data['title']=='NFL Football' || $data['title']=='NFL Preseason Football'):
- $obj = new NFLEvent($data['subtitle']); break;
- case 'College Football':
- $obj = new NCAAFEvent($data['subtitle']); break;
---- ../mre-1.1.2/class/MLBEvent.php.original 2006-11-05 17:06:57.000000000 -0600
-+++ ../mre-1.1.2/class/MLBEvent.php 2010-08-28 00:02:37.000000000 -0500
-@@ -27,7 +27,7 @@
- /**
- * URL to grab game info from
- */
-- const url = 'http://scores.espn.go.com/mlb/scoreboard';
-+ const url = 'http://sports.espn.go.com/mlb/bottomline/scores';
-
- /**
- * Class constructor.
-@@ -43,41 +43,25 @@
- trigger_error("Unable to generate valid search terms! [$gameInfo]", E_USER_WARNING);
- else
- {
-- $data = file(self::url);
-- $games = array();
-- if($data !== FALSE)
-- {
-- // Split the huge string into individual game data
-- foreach($data as $line)
-- if(preg_match('/\<div id="allGames".*\>.*/', $line))
-- {
-- while(($loc = strrpos($line, 'teamTop')) !== FALSE)
-- {
-- $games[] = substr($line, $loc);
-- $line = substr($line, 0, $loc);
-- }
-- break;
-- }
-- if(!sizeof($games))
-- trigger_error("Unable to find valid game data within source!", E_USER_WARNING);
-- foreach($criteria as $term)
-- {
-- foreach($games as $game)
-- {
-- if(preg_match('/' . preg_quote($term) . '/', $game))
-- if(preg_match('/teamTop.*\>(.*)\<\/td\>/U', $game, $matches))
-- {
-- $this->setStatus($matches[1]);
-- if(preg_match('/^(Final|Postponed)/', $matches[1]))
-- $this->setEventOver(TRUE);
-- else
-- $this->setEventOver(FALSE);
-- $this->setValid(TRUE);
-- break 2;
-- }
-- }
-+ $data = file(self::url);
-+ if($data)
-+ {
-+ $data_array=explode("&", $data[0]);
-+ foreach($data_array as $line)
-+ {
-+ $line=str_replace("%20", " ", $line);
-+ $line=str_replace("Chicago Sox", "Chicago White Sox", $line); #Program guide gives Chicago White Sox, website gives Chicago Sox
-+ if((strpos($line,$criteria[0]))&&(strpos($line,$criteria[1])))
-+ {
-+ if((strpos($line,'FINAL'))or(strpos($line,'Postponed')))
-+ $this->setEventOver(TRUE);
-+ else
-+ $this->setEventOver(FALSE);
-+ $this->setValid(TRUE);
-+ break;
-+ }
- }
-- }
-+ }
- }
- if(!$this->isValid())
- trigger_error("Unable to find MLB info for '$gameInfo'! The MLB parser may need to be updated.", E_USER_WARNING);
---- ../mre-1.1.2/class/NFLEvent.php.original 2006-11-05 17:06:57.000000000 -0600
-+++ ../mre-1.1.2/class/NFLEvent.php 2010-08-28 00:06:56.000000000 -0500
-@@ -27,7 +27,7 @@
- /**
- * URL to grab game info from
- */
-- const url = 'http://scores.espn.go.com/nfl/scoreboard';
-+ const url = 'http://sports.espn.go.com/nfl/bottomline/scores';
-
- /**
- * Class constructor.
-@@ -44,33 +44,23 @@
- else
- {
- $data = file(self::url);
-- $games = array();
-- if($data !== FALSE)
-- {
-- // Split the huge string into individual game data
-- foreach($data as $line)
-- if(preg_match('/\<td class="teamTop.*".*\>.*/', $line))
-- $games[] = $line;
-- if(!sizeof($games))
-- trigger_error("Unable to find valid game data within source!", E_USER_WARNING);
-- foreach($criteria as $term)
-- {
-- foreach($games as $game)
-- {
-- if(preg_match('/' . preg_quote($term) . '/', $game))
-- if(preg_match('/teamTop.*\>(.*)\<\/td\>/U', $game, $matches))
-- {
-- $this->setStatus($matches[1]);
-- if(preg_match('/^(Final|Postponed)/', $matches[1]))
-- $this->setEventOver(TRUE);
-- else
-- $this->setEventOver(FALSE);
-- $this->setValid(TRUE);
-- break 2;
-- }
-- }
-- }
-- }
-+ if($data)
-+ {
-+ $data_array=explode("&", $data[0]);
-+ foreach($data_array as $line)
-+ {
-+ $line=str_replace("%20", " ", $line);
-+ if((strpos($line,$criteria[0]))&&(strpos($line,$criteria[1])))
-+ {
-+ if(strpos($line,'FINAL'))
-+ $this->setEventOver(TRUE);
-+ else
-+ $this->setEventOver(FALSE);
-+ $this->setValid(TRUE);
-+ break;
-+ }
-+ }
-+ }
- }
- if(!$this->isValid())
- trigger_error("Unable to find NFL info for '$gameInfo'! The NFL parser may need to be updated.", E_USER_WARNING);
---- ../mre-1.1.2/class/NBAEvent.php.original 2006-11-05 17:06:57.000000000 -0600
-+++ ../mre-1.1.2/class/NBAEvent.php 2010-08-28 00:09:50.000000000 -0500
-@@ -27,7 +27,7 @@
- /**
- * URL to grab game info from
- */
-- const url = 'http://scores.espn.go.com/nba/scoreboard';
-+ const url = 'http://sports.espn.go.com/nba/bottomline/scores';
-
- /**
- * Class constructor.
-@@ -44,35 +44,23 @@
- else
- {
- $data = file(self::url);
-- if($data !== FALSE)
-- foreach($criteria as $term)
-- {
-- $status = '';
-- $i = 0;
-- while($i < sizeof($data))
-- {
-- if(preg_match('/' . preg_quote($term) . '/', $data[$i]))
-- {
-- $status = $data[$i];
-- break;
-- }
-- ++$i;
-- }
-- if($i == sizeof($data))
-- --$i;
--
-- if(preg_match('/id.*clock"\>(.*)\<\/div/U', $data[$i], $match) ||
-- preg_match('/id.*clock"\>(.*)\<\/div/U', $data[$i-1], $match))
-- {
-- $this->setStatus($match[1]);
-- if(preg_match('/^Final/', $match[1]))
-- $this->setEventOver(TRUE);
-- else
-- $this->setEventOver(FALSE);
-- $this->setValid(TRUE);
-- break;
-- }
-+ if($data)
-+ {
-+ $data_array=explode("&", $data[0]);
-+ foreach($data_array as $line)
-+ {
-+ $line=str_replace("%20", " ", $line);
-+ if((strpos($line,$criteria[0]))&&(strpos($line,$criteria[1])))
-+ {
-+ if(strpos($line,'FINAL'))
-+ $this->setEventOver(TRUE);
-+ else
-+ $this->setEventOver(FALSE);
-+ $this->setValid(TRUE);
-+ break;
-+ }
- }
-+ }
- }
- if(!$this->isValid())
- trigger_error("Unable to find NBA info for '$gameInfo'! The NBA parser may need to be updated.", E_USER_WARNING);
---- ../mre-1.1.2/class/NHLEvent.php.original 2006-11-05 17:06:57.000000000 -0600
-+++ ../mre-1.1.2/class/NHLEvent.php 2010-08-28 00:09:04.000000000 -0500
-@@ -27,7 +27,7 @@
- /**
- * URL to grab game info from
- */
-- const url = 'http://scores.espn.go.com/nhl/scoreboard';
-+ const url = 'http://sports.espn.go.com/nhl/bottomline/scores';
-
- /**
- * Class constructor.
-@@ -39,32 +39,29 @@
- parent::__construct();
-
- $criteria = $this->generateSearchTerms($gameInfo);
-+
- if(!sizeof($criteria))
- trigger_error("Unable to generate valid search terms! [$gameInfo]", E_USER_WARNING);
- else
- {
- $data = file(self::url);
-- if($data !== FALSE)
-- foreach($criteria as $term)
-- {
-- $status = '';
-- foreach($data as $line)
-- if(preg_match('/' . preg_quote($term) . '/', $line))
-- {
-- $status = $line;
-- break;
-- }
-- if(preg_match('/id.*st"\>(.*)\<\/td/U', $status, $match))
-- {
-- $this->setStatus($match[1]);
-- if(preg_match('/^Final/', $match[1]))
-- $this->setEventOver(TRUE);
-- else
-- $this->setEventOver(FALSE);
-- $this->setValid(TRUE);
-- break;
-- }
-+ if($data)
-+ {
-+ $data_array=explode("&", $data[0]);
-+ foreach($data_array as $line)
-+ {
-+ $line=str_replace("%20", " ", $line);
-+ if((strpos($line,$criteria[0]))&&(strpos($line,$criteria[1])))
-+ {
-+ if(strpos($line,'FINAL'))
-+ $this->setEventOver(TRUE);
-+ else
-+ $this->setEventOver(FALSE);
-+ $this->setValid(TRUE);
-+ break;
-+ }
- }
-+ }
- }
- if(!$this->isValid())
- trigger_error("Unable to find NHL info for '$gameInfo'! The NHL parser may need to be updated.", E_USER_WARNING); \ No newline at end of file
diff --git a/abs/extra/community/mre/run b/abs/extra/community/mre/run
deleted file mode 100755
index 94381b3..0000000
--- a/abs/extra/community/mre/run
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/bash
-export TERM=linux
-. /etc/rc.conf
-. /etc/rc.d/functions
-stat_runit "Starting mythrecordingextender"
-
-export HOME=/home/mythtv
-
-sv start mythbackend || exit 1
-sleep 5
-
-exec /usr/local/bin/mre.php
diff --git a/abs/extra/community/mythpywii/CONTROLS b/abs/extra/community/mythpywii/CONTROLS
deleted file mode 100644
index d733964..0000000
--- a/abs/extra/community/mythpywii/CONTROLS
+++ /dev/null
@@ -1,25 +0,0 @@
- * Keypad : same as keypad on keyboard
- * A : Enter (Accept, OK, next, .)
- * Minus (-) : d (Delete)
- * Home : escape (Exit to previous menu/exit mythfrontend)
- * Plus (+) : p (Play/pause)
- * 1 : Info
- * 2 : Menu
- * B + left : rewind to beginning of video
- * B + twist wiimote : rewind (if twisted to the left) or fastforward
- (otherwise) with speed dependant on twist amount.
- * B + A + twist wiimote: timestretching . slower (if twisted left) or
- faster (if twisted right)
-
-A comment on twisting:
-Point the wii remote at the screen, and twist from the elbow so that it
- continues to point at the screen.
-
-The maximum fastforward/rewind speed is 180x. The speeds are dictated by
-mythfrontend itself. When you rotate the wiimote, you will feel a slight
-vibration (0.05 seconds) to let you know you have gone up or down a speed
-segment. To stop fastforwarding/rewinding, simply let go of B.
-
-Beware: there is no power saving built in. However you should be able to
-turn the wiimote off (power button) when not in use, and turn it back on
-by holding down 1 and 2 to make it sync.
diff --git a/abs/extra/community/mythpywii/PKGBUILD b/abs/extra/community/mythpywii/PKGBUILD
deleted file mode 100644
index 509db19..0000000
--- a/abs/extra/community/mythpywii/PKGBUILD
+++ /dev/null
@@ -1,37 +0,0 @@
-# $Id: PKGBUILD 5936 2008-07-21 20:24:16Z thomas $
-# Maintainer: Cecil Watson<knoppmyth@gmail.com>
-
-pkgname=mythpywii
-pkgver=17
-pkgrel=9
-pkgdesc="Control MythTV using Wiimote."
-arch=('i686' 'x86_64')
-license=('GPL2')
-url="http://www.benjiegillam.com/"
-depends=('bluez' 'python-pybluez' 'cwiid-git')
-install=mythpywii.install
-source=(http://www.benjiegillam.com/code/myth_py_wii.py \
- wiimote.rules mythpywii.install CONTROLS)
-
-. /usr/MythVantage/bin/install_functions.sh
-home_check
-
-build() {
-
- /bin/true
-
-}
-
-package() {
- install -D -m755 ${srcdir}/myth_py_wii.py ${startdir}/pkg/usr/bin/myth_py_wii.py || return 1
- install -D -m644 ${srcdir}/wiimote.rules ${startdir}/pkg/etc/udev/rules.d/z90-wiimote.rules || return 1
- install -d -o mythtv -g mythtv ${startdir}/pkg/$MYTHHOME/.cwiid/wminput || return 1
- install -D -m755 -o mythtv -g mythtv /etc/cwiid/wminput/{acc_led,buttons,gamepad,neverball,nunchuk_stick2btn,acc_ptr,ir_ptr,nunchuk_acc_ptr} ${startdir}/pkg/$MYTHHOME/.cwiid/wminput || return 1
- install -D -m644 ${srcdir}/CONTROLS ${startdir}/pkg/usr/share/docs/mythpywii/CONTROLS || return 1
- cd ${startdir}/pkg$MYTHHOME/.cwiid/wminput
- ln -s acc_led default
-}
-md5sums=('52b756c403349640c3e66f485b6c0a54'
- '0d817a971d414b9320587a4cf289386b'
- '18a4c2936a731191e2db92211b254b66'
- '0872cbdb3def3dd9aa2b97b191ad76d8')
diff --git a/abs/extra/community/mythpywii/mythpywii.install b/abs/extra/community/mythpywii/mythpywii.install
deleted file mode 100644
index 76b9c6e..0000000
--- a/abs/extra/community/mythpywii/mythpywii.install
+++ /dev/null
@@ -1,65 +0,0 @@
-post_install() {
- . /$MYTHHOME/.mythtv/mysql.txt
- # Enable the Network Remote Control Interface for use with the wiimote.
- # Get local machine's hostname
- HOST=`cat /etc/hostname`
- # Update mysql for Network Remote Control Support
- mysql -u mythtv -pmythtv --host=${DBHostName} mythconverg -e \
- "UPDATE settings SET data = '1' WHERE value = 'NetworkControlEnabled' AND hostname = '${HOST}'";
- echo "------------------------------------------------------------"
- echo "myth_py_wii.py expects the Network Control Port to be set to"
- echo "mythtv's default port of 6546. It will not work if you have"
- echo "changed it to something else."
- echo "------------------------------------------------------------"
- # Add myth_py_wii.py to ~/mythtv/.fluxbox/apps before LinHES-run
- sed -i '/LinHES-run/ i [startup] {/usr/bin/myth_py_wii.py >/dev/null}' /$MYTHHOME/.fluxbox/apps
- # udev needs to pick up our new rule for the mythpywii.
- udevadm trigger --subsystem-match="misc" --subsystem-match="bluetooth"
- # Add the uinput module
- modprobe uinput
- # Ensure this module is loaded across reboots
- echo "# uinput is needed by mythpywii" >> /etc/modules.mythvantage
- echo "uinput" >> /etc/modules.mythvantage
- # Bring up the bluetooth interface -- udev will do this after reboot
- /usr/sbin/hciconfig hci0 up
- # Punting on the multiple bluetooth adapter question.
- echo "It is assumed your bluetooth adapter will be hci0."
- echo "If you have more than one bluetooth adapter, you"
- echo "may need to edit /etc/udev/rules.d/z90-wiimote.rules"
- echo "--------------------------------------------------------------"
- echo "--------------------------------------------------------------"
- # Unfortunately there does not seem to be a way to do this without
- # the user manually intervening.
- echo "To use your wiimote you will need to restart the frontend service."
- echo "$ sudo sv restart frontend"
- echo "or simply reboot your machine."
- echo "--------------------------------------------------------------"
- echo "--------------------------------------------------------------"
- echo "After frontend restart, you should now be able to pair your"
- echo "Wiimote with your bluetooth adapter by pressing 1 & 2 at the"
- echo "same time. After a few seconds the wiimote should vibrate and the"
- echo "LEDs will show [ # . . # ] where # is on and . is off."
- echo "--------------------------------------------------------------"
- echo "See /usr/share/docs/mythpywii/CONTROLS for more information."
- echo "--------------------------------------------------------------"
-}
-
-post_remove() {
- . /$MYTHHOME/.mythtv/mysql.txt
- # kill myth_py_wii.py
- WIIPID=`pidof -o %PPID /usr/bin/myth_py_wii.py`
- [ -n "$WIIPID" ] && kill $WIIPID
- # Remove uinput
- sed -i '/uinput/d' /etc/modules.mythvantage
- # Remove line in .fluxbox/apps
- sed -i '/myth_py_wii.py/d' /$MYTHHOME/.fluxbox/apps
- # Remove network remote control support
- mysql -u mythtv -pmythtv --host=${DBHostName} mythconverg -e \
- "UPDATE settings SET data = '0' WHERE value = 'NetworkControlEnabled' AND hostname = '${HOST}'";
-}
-
-if [ x$MYTHHOME = x ]
-then
- . /etc/profile.d/MythVantage.sh
-fi
-
diff --git a/abs/extra/community/mythpywii/wiimote.rules b/abs/extra/community/mythpywii/wiimote.rules
deleted file mode 100644
index 4bb2d9d..0000000
--- a/abs/extra/community/mythpywii/wiimote.rules
+++ /dev/null
@@ -1,6 +0,0 @@
-# For Bluetooth/Wiimote
- KERNEL=="uinput", MODE="0660", GROUP="mythtv"
-
-# Automaticly bring up/down the bluetooth interface
- ACTION=="add", KERNEL=="hci%n", SUBSYSTEM=="bluetooth", RUN+="/usr/sbin/hciconfig hci%n up"
- ACTION=="remove", KERNEL=="hci%n", SUBSYSTEM=="bluetooth", RUN+="/usr/sbin/hciconfig hci%n down"
diff --git a/abs/extra/community/nvclock/PKGBUILD b/abs/extra/community/nvclock/PKGBUILD
deleted file mode 100644
index d49f915..0000000
--- a/abs/extra/community/nvclock/PKGBUILD
+++ /dev/null
@@ -1,27 +0,0 @@
-# $Id: PKGBUILD 23406 2009-01-09 22:39:57Z andyrtr $
-# Contributor: Markus Meissner <markus@meissna.de>
-# Maintainer: Andreas Radke <andyrtr@archlinux.org>
-
-pkgname=nvclock
-pkgver=0.8b4
-pkgrel=1
-pkgdesc="A small utility which allows users to overclock NVIDIA based video cards"
-arch=('i686' 'x86_64')
-license=('GPL')
-depends=('gtk2')
-source=(http://www.linuxhardware.org/$pkgname/${pkgname}${pkgver}.tar.gz
- nvclock-0.8b4-buildfix.patch)
-url="http://www.linuxhardware.org/nvclock/"
-md5sums=('23f1b3ebf40f35d76d5fdac50f66ab11'
- '1da24b50dd6a8c4704fa550a3e1a8b53')
-options=('!makeflags')
-
-build(){
- cd ${srcdir}/$pkgname$pkgver
- # build fix from Fedora
- patch -Np1 -i $srcdir/nvclock-0.8b4-buildfix.patch || return 1
- sed -i 's:${prefix}/man:${prefix}\/share\/man:' ${srcdir}/$pkgname$pkgver/Makefile.in || return 1
- ./configure --prefix=/usr --bindir=/usr/bin
- make || return 1 || return 1
- make DESTDIR=${pkgdir} install || return 1
-}
diff --git a/abs/extra/community/nvclock/nvclock-0.8b4-buildfix.patch b/abs/extra/community/nvclock/nvclock-0.8b4-buildfix.patch
deleted file mode 100644
index cdc9f5c..0000000
--- a/abs/extra/community/nvclock/nvclock-0.8b4-buildfix.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-diff -upNr nvclock0.8b4.orign/src/Makefile.in nvclock0.8b4/src/Makefile.in
---- nvclock0.8b4.orign/src/Makefile.in 2009-01-03 18:02:54.000000000 +0100
-+++ nvclock0.8b4/src/Makefile.in 2009-01-07 11:37:39.000000000 +0100
-@@ -50,8 +50,8 @@ distclean: distclean-recursive clean-app
- install: install-recursive install-app
- install-app:
- mkdir -p $(bindir)
-- $(INSTALL) -c nvclock $(DESTDIR)$(bindir)/nvclock
-- $(INSTALL) -c smartdimmer $(DESTDIR)$(bindir)/smartdimmer
-+ $(INSTALL) -c nvclock $(bindir)/nvclock
-+ $(INSTALL) -c smartdimmer $(bindir)/smartdimmer
-
-
- uninstall: uninstall-recursive uninstall-app
-
-
diff --git a/abs/extra/community/nxtvepg/PKGBUILD b/abs/extra/community/nxtvepg/PKGBUILD
deleted file mode 100644
index 5de6bc7..0000000
--- a/abs/extra/community/nxtvepg/PKGBUILD
+++ /dev/null
@@ -1,45 +0,0 @@
-# Contributor: Perry3D <perry3d at gmail dot com>
-# Previous: Gilles CHAUVIN <gcnweb at gmail dot com>
-
-pkgname=nxtvepg
-pkgver=2.8.1
-pkgrel=2
-pkgdesc="A decoder for nexTView EPG an Electronic TV Programme Guide"
-url="http://nxtvepg.sf.net/"
-license="GPL"
-depends=('tcl>=8.5.0' 'tk' 'libxmu')
-source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz \
-tcl_85.patch \
-$pkgname-icon-16.png $pkgname-icon-32.png $pkgname-icon-48.png \
-$pkgname.desktop)
-arch=('i686' 'x86_64')
-
-build() {
- cd $startdir/src/$pkgname-$pkgver
-
- msg "Applying patch for tcl/tk8.5..."
- patch -p0 < ../tcl_85.patch
-
- make || return 1
-
- make prefix=$startdir/pkg/usr/ \
- bindir=$startdir/pkg/usr/bin \
- resdir=$startdir/pkg/usr/share/X11 \
- INST_DB_DIR=$startdir/pkg/var/tmp/nxtvdb \
- cfgdir=$startdir/pkg/usr/share/nxtvepg \
- install
-
- # Icons
- for size in 16 32 48; do
- install $startdir/src/$pkgname-icon-$size.png -D -m644 $startdir/pkg/usr/share/pixmaps/$pkgname-icon-$size.png
- done
-
- # .desktop file
- install $startdir/src/$pkgname.desktop -D -m644 $startdir/pkg/usr/share/applications/$pkgname.desktop
-}
-md5sums=('0811b1b95537b3cbab9f8d18d1501411'
- 'db5e77089204aeb35e84c7f5505664a6'
- '5f7c220d3355b6f043a2bdd5acec8608'
- '8988d3f33a90bd99f9a61d8f7e4f46c3'
- '26d86bd935df1dc9328f07b879f30de2'
- '5d14ff096ef811ccb7dc330e5d3a76fd')
diff --git a/abs/extra/community/nxtvepg/nxtvepg-icon-16.png b/abs/extra/community/nxtvepg/nxtvepg-icon-16.png
deleted file mode 100644
index e6d8a85..0000000
--- a/abs/extra/community/nxtvepg/nxtvepg-icon-16.png
+++ /dev/null
Binary files differ
diff --git a/abs/extra/community/nxtvepg/nxtvepg-icon-32.png b/abs/extra/community/nxtvepg/nxtvepg-icon-32.png
deleted file mode 100644
index 9071f10..0000000
--- a/abs/extra/community/nxtvepg/nxtvepg-icon-32.png
+++ /dev/null
Binary files differ
diff --git a/abs/extra/community/nxtvepg/nxtvepg-icon-48.png b/abs/extra/community/nxtvepg/nxtvepg-icon-48.png
deleted file mode 100644
index a5f991b..0000000
--- a/abs/extra/community/nxtvepg/nxtvepg-icon-48.png
+++ /dev/null
Binary files differ
diff --git a/abs/extra/community/nxtvepg/nxtvepg.desktop b/abs/extra/community/nxtvepg/nxtvepg.desktop
deleted file mode 100644
index 6703dfc..0000000
--- a/abs/extra/community/nxtvepg/nxtvepg.desktop
+++ /dev/null
@@ -1,10 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-Comment=Electronic TV Programme Guide
-Icon=/usr/share/pixmaps/nxtvepg-icon-48.png
-Exec=nxtvepg
-Name=nexTView EPG
-GenericName=electronic TV Programme Guide
-Terminal=false
-Type=Application
-Categories=Application;AudioVideo;
diff --git a/abs/extra/community/nxtvepg/tcl_85.patch b/abs/extra/community/nxtvepg/tcl_85.patch
deleted file mode 100644
index 9059a6c..0000000
--- a/abs/extra/community/nxtvepg/tcl_85.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- Makefile.orig 2008-02-03 20:01:14.000000000 +0100
-+++ Makefile 2008-02-03 20:01:23.000000000 +0100
-@@ -58,8 +58,8 @@
- YACC = /usr/bin/yacc
-
- # select Tcl/Tk version (8.5 recommended due to modernized widget appearence)
--TCL_VER := $(shell echo 'puts [package require Tcl]' | tclsh)
--#TCL_VER = 8.5
-+#TCL_VER := $(shell echo 'puts [package require Tcl]' | tclsh)
-+TCL_VER = 8.5
-
- ifeq ($(shell test -d /usr/include/tcl$(TCL_VER) && echo YES),YES)
- INCS += -I/usr/include/tcl$(TCL_VER)
diff --git a/abs/extra/community/nzbperl/PKGBUILD b/abs/extra/community/nzbperl/PKGBUILD
deleted file mode 100755
index bbfee00..0000000
--- a/abs/extra/community/nzbperl/PKGBUILD
+++ /dev/null
@@ -1,16 +0,0 @@
-#Contributor: Xavier Vierling <xavierling@free.fr>
-pkgname=nzbperl
-pkgver=0.6.8
-pkgrel=1
-pkgdesc="nzb based nntp/usenet downloader in perl"
-arch=('i686' 'x86_64')
-url="http://noisybox.net/computers/nzbperl/"
-license="GPL"
-depends=(perl-term-readkey perl-xml-dom uudeview)
-source=(http://noisybox.net/computers/nzbperl/$pkgname-$pkgver.pl)
-md5sums=('70e64b7cd4ff9c7c098bf8dffeb62578')
-
-build() {
- cd $startdir/src
- install -D nzbperl-$pkgver.pl $startdir/pkg/usr/bin/nzbperl
-} \ No newline at end of file
diff --git a/abs/extra/community/patchutils/PKGBUILD b/abs/extra/community/patchutils/PKGBUILD
deleted file mode 100644
index 8aedbf0..0000000
--- a/abs/extra/community/patchutils/PKGBUILD
+++ /dev/null
@@ -1,27 +0,0 @@
-# $Id$
-# Contributor: Aurelien Foret <orelien@chez.com>
-# Maintainer: Douglas Soares de Andrade <douglas@archlinux.org>
-
-pkgname=patchutils
-pkgver=0.3.2
-pkgrel=1
-pkgdesc="A small collection of programs that operate on patch files"
-license=('GPL')
-url="http://cyberelk.net/tim/patchutils/"
-depends=('perl')
-arch=('i686' 'x86_64')
-source=(http://cyberelk.net/tim/data/patchutils/stable/$pkgname-$pkgver.tar.bz2)
-md5sums=('74607b4a28c9009c6aeeed0e91098917')
-
-build() {
- cd $srcdir/$pkgname-$pkgver
-
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd $srcdir/$pkgname-$pkgver
-
- make DESTDIR=$pkgdir install
-}
diff --git a/abs/extra/community/peardb/PKGBUILD b/abs/extra/community/peardb/PKGBUILD
deleted file mode 100755
index 01164eb..0000000
--- a/abs/extra/community/peardb/PKGBUILD
+++ /dev/null
@@ -1,24 +0,0 @@
-pkgname=peardb
-pkgver=1.7.13
-pkgrel=2
-arch=('i686')
-pkgdesc="Pear Database Abstraction Layer"
-url="http://pear.php.net/"
-license=('GPL2')
-replaces=('PearDB')
-source=(http://download.pear.php.net/package/DB-${pkgver}.tgz)
-
-build() {
- /bin/true
-}
-
-package() {
- mkdir -p ${pkgdir}/usr/share/pear/
- cp -r ${srcdir}/DB-$pkgver/DB* ${pkgdir}/usr/share/pear/
- mkdir -p ${pkgdir}/usr/share/pear/docs/DB/
- cp -r ${srcdir}/DB-$pkgver/doc/* ${pkgdir}/usr/share/pear/docs/DB/
- mkdir -p ${pkgdir}/usr/share/pear/tests/DB/
- cp -r ${srcdir}/DB-$pkgver/tests/* ${pkgdir}/usr/share/pear/tests/DB/
-}
-
-md5sums=('39b451245941a7059511a852f18b4946')
diff --git a/abs/extra/community/pearlog/PKGBUILD b/abs/extra/community/pearlog/PKGBUILD
deleted file mode 100755
index 31ad2b3..0000000
--- a/abs/extra/community/pearlog/PKGBUILD
+++ /dev/null
@@ -1,27 +0,0 @@
-pkgname=pearlog
-pkgver=1.12.3
-pkgrel=1
-pkgdesc="Pear Logging Framework"
-arch=('i686')
-url="http://pear.php.net/"
-license=('GPL2')
-replaces=('PearLog')
-source=(http://download.pear.php.net/package/Log-${pkgver}.tgz)
-
-build() {
- /bin/true
-}
-
-package() {
- mkdir -p ${pkgdir}/usr/share/pear/
- cp -r ${srcdir}/Log-${pkgver}/Log* ${pkgdir}/usr/share/pear/
- mkdir -p ${pkgdir}/usr/share/pear/docs/Log
- cp -r ${srcdir}/Log-${pkgver}/docs/* ${pkgdir}/usr/share/pear/docs/Log/
- mkdir -p ${pkgdir}/usr/share/pear/examples/Log
- cp -r ${srcdir}/Log-${pkgver}/examples/* ${pkgdir}/usr/share/pear/examples/Log/
- mkdir -p ${pkgdir}/usr/share/pear/misc/Log
- cp -r ${srcdir}/Log-${pkgver}/misc/* ${pkgdir}/usr/share/pear/misc/Log/
- mkdir -p ${pkgdir}/usr/share/pear/tests/Log
- cp -r ${srcdir}/Log-${pkgver}/tests/* ${pkgdir}/usr/share/pear/tests/Log/
-}
-md5sums=('9930cb6d52b3af2ca6a24db267e237f0')
diff --git a/abs/extra/community/portaudio/PKGBUILD b/abs/extra/community/portaudio/PKGBUILD
deleted file mode 100644
index 1872b94..0000000
--- a/abs/extra/community/portaudio/PKGBUILD
+++ /dev/null
@@ -1,28 +0,0 @@
-# $Id: PKGBUILD 55258 2011-09-07 18:41:32Z ebelanger $
-# Based on 'portaudio' package - Eric Belanger <eric@archlinux.org>
-# Last/Most-Recent Contributor: Darwin Bautista <djclue917@gmail.com>
-# Maintainer: Bob Finch <w9ya@qrparci.net>
-
-pkgname=portaudio
-pkgver=19_20110326
-pkgrel=1
-pkgdesc="A free, cross-platform, open source, audio I/O library"
-arch=('i686' 'x86_64')
-url="http://www.portaudio.com/"
-license=('custom')
-depends=('jack')
-options=('!libtool')
-source=(http://www.portaudio.com/archives/pa_stable_v$pkgver.tgz)
-md5sums=('8f266ce03638419ef46e4efcb0fabde6')
-
-build() {
- cd "$srcdir/$pkgname"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "$srcdir/$pkgname"
- make DESTDIR="$pkgdir" install
- install -D -m644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
-}
diff --git a/abs/extra/community/powernowd/PKGBUILD b/abs/extra/community/powernowd/PKGBUILD
deleted file mode 100644
index f784523..0000000
--- a/abs/extra/community/powernowd/PKGBUILD
+++ /dev/null
@@ -1,28 +0,0 @@
-# Contributor: kastor <kastor@fobos.org.ar>
-
-pkgname=powernowd
-pkgver=1.00
-pkgrel=2
-pkgdesc="Program for powering down CPUs dynamicly"
-arch=('i686' 'x86_64')
-url="http://www.deater.net/john/powernowd.html"
-license="GPL"
-depends=('glibc')
-source=(http://www.deater.net/john/$pkgname-$pkgver.tar.gz \
- run finish powernowd.install powernowd.conf.d)
-install=($pkgname.install)
-
-build() {
- cd $startdir/src/$pkgname-$pkgver
- make || return 1
- install -D -m755 powernowd $startdir/pkg/usr/sbin/powernowd || return 1
- mkdir -p $startdir/pkg/etc/sv/powernowd || return 1
- install -D -m755 $startdir/src/run $startdir/pkg/etc/sv/powernowd || return 1
- install -D -m755 $startdir/src/finish $startdir/pkg/etc/sv/powernowd || return 1
- install -D -m644 $startdir/src/powernowd.conf.d $startdir/pkg/etc/conf.d/powernowd || return 1
-}
-md5sums=('abc48b690d104e9e71a85400ba19d799'
- 'ffd9b939665f74dac2220b4311482e04'
- '13c6591ffc27d0b16f41f7892671302f'
- 'dcbf8e98425b208c29f4c06b687dd0d0'
- 'c9385af22c7c74e6cd6bdc982f94644f')
diff --git a/abs/extra/community/powernowd/finish b/abs/extra/community/powernowd/finish
deleted file mode 100644
index 97e3034..0000000
--- a/abs/extra/community/powernowd/finish
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/bash
-
-# AUR Credits:
-# simple init script the ARCH-way for Powernowd
-# Made by, CyberTron, packages@linuxportalen.com
-
-# Modifications by Alexander Baldeck <alexander@archlinux.org>
-
-# general config
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PID=`pidof -o %PPID /usr/sbin/powernowd`
-
-[ -f /etc/conf.d/powernowd ] && source /etc/conf.d/powernowd
-
- stat_runit "Stopping Powernowd"
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm /var/run/powernowd.pid
- rm_daemon powernowd
- stat_done
- fi
diff --git a/abs/extra/community/powernowd/powernowd.conf.d b/abs/extra/community/powernowd/powernowd.conf.d
deleted file mode 100644
index 287c2bc..0000000
--- a/abs/extra/community/powernowd/powernowd.conf.d
+++ /dev/null
@@ -1,6 +0,0 @@
-# Configuration file for powernowd
-
-# If no options given, powernowd should be able to autodetect
-# a sane setup. So most users will not have to put anything
-# here.
-OPTIONS="-d"
diff --git a/abs/extra/community/powernowd/powernowd.install b/abs/extra/community/powernowd/powernowd.install
deleted file mode 100644
index af218af..0000000
--- a/abs/extra/community/powernowd/powernowd.install
+++ /dev/null
@@ -1,19 +0,0 @@
-post_install() {
- add_service.sh powernowd
-
- echo "Be sure to modprobe the proper module for your CPU and then add it
- echo "to /etc/rc.conf in the MODULES section."
- echo "i.e. for a Core2Duo modprobe/add acpi_cpufreq"
- echo "Then restart the powernowd service: sudo sv restart powernowd"
-}
-
-post_upgrade() {
- echo "Be sure to modprobe the proper module for your CPU and then add it
- echo "to /etc/rc.conf in the MODULES section."
- echo "i.e. for a Core2Duo modprobe/add acpi_cpufreq"
- echo "Then restart the powernowd service: sudo sv restart powernowd"
-}
-
-pre_remove() {
- remove_service.sh powernowd
-}
diff --git a/abs/extra/community/powernowd/run b/abs/extra/community/powernowd/run
deleted file mode 100644
index 0e83b98..0000000
--- a/abs/extra/community/powernowd/run
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/bash
-
-# AUR Credits:
-# simple init script the ARCH-way for Powernowd
-# Made by, CyberTron, packages@linuxportalen.com
-
-# Modifications by Alexander Baldeck <alexander@archlinux.org>
-
-# general config
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PID=`pidof -o %PPID /usr/sbin/powernowd`
-
-[ -f /etc/conf.d/powernowd ] && source /etc/conf.d/powernowd
-
- stat_runit "Starting Powernowd"
- [ -z "$PID" ] && /usr/sbin/powernowd $OPTIONS 2>/dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- echo $PID > /var/run/powernowd.pid
- add_daemon powernowd
- stat_done
- fi
diff --git a/abs/extra/community/projectx/PKGBUILD b/abs/extra/community/projectx/PKGBUILD
deleted file mode 100644
index 62092a4..0000000
--- a/abs/extra/community/projectx/PKGBUILD
+++ /dev/null
@@ -1,45 +0,0 @@
-# Contributer: Sebastian Sareyko <public@nooms.de>
-
-pkgname=projectx
-pkgver=0.90.4.00
-pkgrel=8
-license=('GPL')
-arch=('i686' 'x86_64')
-pkgdesc="DVB demux tool for repairing and analyzing different stream types"
-makedepends=('java-environment')
-depends=('java-runtime')
-url="http://sourceforge.net/projects/project-x"
-source=(http://dl.sourceforge.net/sourceforge/project-x/ProjectX_Source_eng_$pkgver.zip \
- http://dl.sourceforge.net/sourceforge/project-x/ProjectX_LanguagePack_$pkgver.zip \
- projectx)
-
-md5sums=('92d7b5aea50b8811307f27b6e01ceb5c'
- 'edfe8d04bd3d403eec4d9e27d1b976d2'
- '0c88b15884a0c997e3386d15e207cd30')
-
-build() {
- cd $startdir/src/ProjectX_Source_0.90.4
-
- sed -i 's,^Exec=.*,Exec=projectx,' projectx.desktop
-
- mkdir -p build
-
- javac -encoding "ISO-8859-1" -O -g:none \
- -classpath lib/commons-net-1.3.0.jar:lib/jakarta-oro-2.0.8.jar \
- -d build @sources.lst || return 1
-
- mv resources/* ./build
- sed -i -e 's/ReleaseNotes_0.90.1.txt/ReleaseNotes_0.90.4.txt/' htmls/index.html
- mv htmls build
- mv ReadMe.txt build
- mv ReleaseNotes_0.90.4.txt build
- jar cvfm ProjectX.jar MANIFEST.MF -C build .
-
- install -D -m0755 $startdir/projectx $startdir/pkg/usr/bin/projectx
- install -D -m0644 ProjectX.jar $startdir/pkg/opt/projectx/ProjectX.jar
- install -D -m0644 lib/commons-net-1.3.0.jar \
- $startdir/pkg/opt/projectx/lib/commons-net-1.3.0.jar
- install -D -m0644 lib/jakarta-oro-2.0.8.jar \
- $startdir/pkg/opt/projectx/lib/jakarta-oro-2.0.8.jar
- install -D -m0644 projectx.desktop $startdir/pkg/usr/share/applications/projectx.desktop
-}
diff --git a/abs/extra/community/projectx/projectx b/abs/extra/community/projectx/projectx
deleted file mode 100644
index 1d540bc..0000000
--- a/abs/extra/community/projectx/projectx
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-if [ ! -d ~/.projectx ] ; then
- mkdir ~/.projectx
-fi
-
-if [ "$#" -eq 0 ] ; then
- cd ~/.projectx
-fi
-java -jar /opt/projectx/ProjectX.jar "$@"
diff --git a/abs/extra/community/smplayer/ChangeLog b/abs/extra/community/smplayer/ChangeLog
deleted file mode 100644
index e8397b3..0000000
--- a/abs/extra/community/smplayer/ChangeLog
+++ /dev/null
@@ -1,74 +0,0 @@
-2010-02-23 Ionut Biru <ibiru@archlinux.org>
- * smplayer 0.6.9-2
- * changed exec argument from %U to %F in smplayer.desktop
-
-2010-02-22 Ionut Biru <ibiru@archlinux.org>
- * smplayer 0.6.9-1
- * Upstream update
-
-2009-07-25 Allan McRae <allan@archlinux.org>
- * smplayer 0.6.8-1
- * Upstream update
-
-2009-03-13 Allan McRae <allan@archlinux.org>
- * smplayer 0.6.7-1
- * Upstream update
-
-2009-01-01 Allan McRae <allan@archlinux.org>
- * smplayer 0.6.6-1
- * Upstream update
-
-2008-11-14 Allan McRae <allan@archlinux.org>
- * smplayer 0.6.5.1-1
- * Upstream update
-
-2008-10-27 Allan McRae <allan@archlinux.org>
- * smplayer 0.6.4-1
- * Upstream update
-
-2008-09-27 Allan McRae <allan@archlinux.org>
- * smplayer 0.6.3-1
- * Upstream update
-
-2008-06-21 Allan McRae <allan@archlinux.org>
-
- * smplayer 0.6.2-1
- * Upstream update
- * Removed install message
-
-2008-06-21 Allan McRae <allan@archlinux.org>
-
- * smplayer 0.6.1-1
- * Upstream update
- * Removed provides/conflicts/replaces
-
-2008-05-23 Eric Belanger <eric@archlinux.org>
-
- * smplayer 0.6.0-1
- * Upstream update
- * Updated .install file
-
-2008-01-32 Varun Acharya <varun@archlinux.org>
-
- * smplayer-0.5.62-1 moved to extra, thanks molok
- * PKGBUILD cleanup
-
-2007-11-27 Alessio 'mOLOk' Bolognino <themolok@gmail.com>
-
- * smplayer-0.5.62-1
- * version bump
-
-2007-10-24 Alessio 'mOLOk' Bolognino <themolok@gmail.com>
-
- * smplayer-0.5.61-1
- * build against qt4
- * removed post_upgrade message
-
-2007-07-12 Alessio 'mOLOk' Bolognino <themolok@gmail.com>
-
- * smplayer-0.5.21-1
- * version bump
-
-2007-05-30 Alessio 'mOLOk' Bolognino <themolok@gmail.com>
- * smplayer-0.5.0-1
- * version bump
diff --git a/abs/extra/community/smplayer/PKGBUILD b/abs/extra/community/smplayer/PKGBUILD
deleted file mode 100644
index 0928e4b..0000000
--- a/abs/extra/community/smplayer/PKGBUILD
+++ /dev/null
@@ -1,35 +0,0 @@
-# $Id$
-# Maintainer : Ionut Biru <ibiru@archlinux.org>
-# Contributor: Allan McRae <allan@archlinux.org>
-# Contributor: Alessio 'mOLOk' Bolognino <themolok@gmail.com>
-# Contributor: shamrok <szamrok@gmail.com>
-
-pkgname=smplayer
-pkgver=0.6.9
-pkgrel=3
-pkgdesc="A complete front-end for MPlayer"
-arch=('i686' 'x86_64')
-url="http://smplayer.sourceforge.net/"
-license=('GPL')
-depends=('qt>=4.7.1' 'mplayer')
-source=(http://downloads.sourceforge.net/sourceforge/smplayer/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('dfe874b386509de5df78537489f95004')
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
-
- # remove broken translation
- sed -i "s|translations/smplayer_gl.ts|#translations/smplayer_gl.ts|" src/smplayer.pro
-
- make PREFIX=/usr
- make PREFIX=${pkgdir}/usr install
-
- install -dm755 ${pkgdir}/usr/share/pixmaps
- ln -s /usr/share/icons/hicolor/64x64/apps/smplayer.png \
- ${pkgdir}/usr/share/pixmaps/
-
- sed -i 's|Exec=smplayer %U|Exec=smplayer %F|' ${pkgdir}/usr/share/applications/smplayer.desktop
- sed -i 's|Exec=smplayer -add-to-playlist %U|Exec=smplayer -add-to-playlist %F|' \
- ${pkgdir}/usr/share/applications/smplayer_enqueue.desktop
-}
-
diff --git a/abs/extra/community/squeezeboxserver/PKGBUILD b/abs/extra/community/squeezeboxserver/PKGBUILD
deleted file mode 100644
index 45db11f..0000000
--- a/abs/extra/community/squeezeboxserver/PKGBUILD
+++ /dev/null
@@ -1,34 +0,0 @@
-# Contributor: Anton Prins <uar at prinsonline dot demon dot nl>
-
-pkgname=squeezeboxserver
-pkgver=7.4.1
-pkgrel=1
-pkgdesc="Powerful streaming audio server from Slim Devices"
-depends=(
-# unknown to me, default arch install + openssh handles it
- )
-
-source=(http://downloads.slimdevices.com/SqueezeboxServer_v${pkgver}/squeezeboxserver-${pkgver}.tgz
- $pkgname.rc
- $pkgname.conf.d
- )
-
-url="http://www.slimdevices.com/pi_features.html"
-license=('GPL')
-arch=('i686' 'x86_64')
-install=squeezeboxserver.install
-
-#not sure how to handle the build number -28947?
-build() {
-cd $startdir/src/squeezeboxserver-${pkgver}-28947 || return 1
-
-mkdir -p $startdir/pkg/home/squeezeboxserver || return 1
-cp -a * $startdir/pkg/home/squeezeboxserver || return 1
-install -D -m755 ../squeezeboxserver.rc $startdir/pkg/etc/rc.d/squeezeboxserver || return 1
-install -D -m644 ../squeezeboxserver.conf.d $startdir/pkg/etc/conf.d/squeezeboxserver || return 1
-mkdir $startdir/pkg/home/squeezeboxserver/prefs
-}
-
-md5sums=('fa65636e7df75ae7af884a2efa184639'
- '5e57982c257797badbf72c2ae04994f7'
- 'aa65896541958e119e63ee7c96be39af')
diff --git a/abs/extra/community/squeezeboxserver/squeezeboxserver.conf.d b/abs/extra/community/squeezeboxserver/squeezeboxserver.conf.d
deleted file mode 100644
index d14a2e9..0000000
--- a/abs/extra/community/squeezeboxserver/squeezeboxserver.conf.d
+++ /dev/null
@@ -1,7 +0,0 @@
-# Configuration file for SqueezeCenter on Arch Linux.
-# Save this as /etc/conf.d/squeezeboxserver
-
-# Enter space-delimited options on the following line.
-# e.g. SQUEEZEBOXSERVER_OPTS="--diag --d_scan --d_command"
-# See "/home/squeezeboxserver/slimserver.pl --help" for a full list of possible options.
-SQUEEZEBOXSERVER_OPTS=""
diff --git a/abs/extra/community/squeezeboxserver/squeezeboxserver.install b/abs/extra/community/squeezeboxserver/squeezeboxserver.install
deleted file mode 100644
index 058de02..0000000
--- a/abs/extra/community/squeezeboxserver/squeezeboxserver.install
+++ /dev/null
@@ -1,56 +0,0 @@
-post_install() {
-echo -n "adding squeezeboxserver user... "
-useradd -c "SqueezeBoxServer" -g users -s /bin/false squeezeboxserver && echo "done."
-passwd -l squeezeboxserver &>/dev/null
-
-chown -R squeezeboxserver:users /home/squeezeboxserver
-
-install -o squeezeboxserver -d /var/cache/squeezeboxserver
-touch /var/log/squeezeboxserver.log
-chown squeezeboxserver:users /var/log/squeezeboxserver.log
-
-cat << 'EOM'
-
-==> SqueezeBoxServer uses MySQL instead of sqlite. If you have MySQL up and running
-==> you can configure SqueezeBoxServer to use that server as described here:
-==> http://wiki.slimdevices.com/index.php/ExistingMySQLInstance
-
-==> PLEASE NOTE: SqueezeBoxServer should always be run as the user 'squeezeboxserver'.
-==> This is easily done by adding squeezeboxserver to the DAEMONS array in rc.conf,
-==> after network and mysql.
-
-==> Additional run-time options can be added to /etc/conf.d/squeezeboxserver.
-==> Please refer to "/home/squeezeboxserver/slimserver.pl --help" for full details.
-
-EOM
-}
-
-post_upgrade() {
-chown -R squeezeboxserver:users /home/squeezeboxserver
-
-cat << 'EOM'
-
-==> SqueezeBoxServer uses MySQL instead of sqlite. If you have MySQL up and running
-==> you can configure SqueezeBoxServer to use that server as described here:
-==> http://wiki.slimdevices.com/index.php/ExistingMySQLInstance
-
-EOM
-}
-
-pre_remove() {
-# pre_remove gets called whenever post_remove is defined.
-true
-}
-
-post_remove() {
-# post_remove doesn't start at a newline like the other post_* functions,
-# so we'll have to make one for ourselves.
-echo -n -e "\nremoving squeezeboxserver user... "
-userdel squeezeboxserver && echo "done."
-
-rm -r /var/cache/squeezeboxserver /var/log/squeezeboxserver.log
-}
-
-op=$1
-shift
-$op $*
diff --git a/abs/extra/community/squeezeboxserver/squeezeboxserver.rc b/abs/extra/community/squeezeboxserver/squeezeboxserver.rc
deleted file mode 100644
index d33db16..0000000
--- a/abs/extra/community/squeezeboxserver/squeezeboxserver.rc
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/bin/bash
-
-# source application-specific settings
-[ -f /etc/conf.d/squeezeboxserver ] && . /etc/conf.d/squeezeboxserver
-
-# general config
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-squeezehome=/home/squeezeboxserver
-pidfile=/var/run/squeezeboxserver.pid
-logfile=/var/log/squeezeboxserver.log
-prefsdir=/home/squeezeboxserver/prefs
-cachedir=/var/cache/squeezeboxserver
-
-
-case "$1" in
- start)
- stat_busy "Starting SqueezeBoxServer"
- cd $squeezehome
- ./slimserver.pl --daemon --user squeezeboxserver --prefsdir $prefsdir \
- --cachedir $cachedir --pidfile $pidfile --logfile $logfile $SQUEEZEBOXSERVER_OPTS
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon squeezeboxserver
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping SqueezeBoxServer"
- kill `cat $pidfile` &>/dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon squeezeboxserver
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 3
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
diff --git a/abs/extra/community/tig/PKGBUILD b/abs/extra/community/tig/PKGBUILD
deleted file mode 100644
index 87e5e4d..0000000
--- a/abs/extra/community/tig/PKGBUILD
+++ /dev/null
@@ -1,27 +0,0 @@
-# Maintainer: Loui Chang <louipc dot ist at gmail company>
-# Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr>
-# Contributor: Nathan Jones <nathanj@insightbb.com>
-
-pkgname=tig
-pkgver=0.18
-pkgrel=1
-pkgdesc="Text-mode interface for git"
-depends=('git' 'ncurses')
-url="http://jonas.nitro.dk/tig/"
-license=('GPL')
-arch=('i686' 'x86_64')
-source=("http://jonas.nitro.dk/${pkgname}/releases/${pkgname}-${pkgver}.tar.gz")
-md5sums=('4fa9e33c5daa76b6fed11e068405356f')
-
-build() {
- cd "$srcdir"/$pkgname-$pkgver
-
- ./configure --prefix=/usr
-}
-
-package() {
- cd "$srcdir"/$pkgname-$pkgver
- make DESTDIR="$pkgdir" install install-doc-man
- install -D -m644 contrib/tigrc "$pkgdir"/etc/tigrc.sample
- install -D -m644 contrib/tig-completion.bash "$pkgdir"/etc/bash_completion.d/tig
-}
diff --git a/abs/extra/community/transmission-cli/PKGBUILD b/abs/extra/community/transmission-cli/PKGBUILD
deleted file mode 100644
index 4980466..0000000
--- a/abs/extra/community/transmission-cli/PKGBUILD
+++ /dev/null
@@ -1,45 +0,0 @@
-# $Id: PKGBUILD 23076 2009-01-02 11:33:41Z alexanderf $
-# Maintainer: Alexander Fehr <pizzapunk gmail com>
-# Contributor: Alessio 'mOLOk' Bolognino <themolok@gmail.com>
-
-pkgname=transmission-cli
-pkgver=2.51
-pkgrel=1
-pkgdesc="Fast, easy, and free BitTorrent client (CLI tools, daemon and web client)"
-arch=('i686' 'x86_64')
-url="http://www.transmissionbt.com/"
-license=('MIT')
-depends=('curl' 'libevent>=2.0.10')
-makedepends=('intltool' 'libcroco')
-replaces=('transmission')
-backup=('etc/conf.d/transmissiond')
-install=transmission-cli.install
-source=(http://mirrors.m0k.org/transmission/files/transmission-$pkgver.tar.bz2
- run.transmissiond
- transmission-cli.install
- transmission.include
- transmissiond.conf)
-
-build() {
- cd "$srcdir/transmission-$pkgver"
-
- ./configure --prefix=/usr --disable-gtk || return 1
- make || return 1
-}
-
-package() {
- cd "$srcdir/transmission-$pkgver"
- make DESTDIR="$pkgdir" install || return 1
-
- mkdir -p -m744 "$pkgdir/etc/sv/transmissiond" || return 1
- mkdir -p -m777 "$pkgdir/myth/transmission" || return 1
- install -D -m755 "$srcdir/run.transmissiond" "$pkgdir/etc/sv/transmissiond/run" || return 1
- install -D -m644 "$srcdir/transmissiond.conf" "$pkgdir/etc/conf.d/transmissiond" || return 1
- install -D -m644 "$srcdir/transmission.include" "$pkgdir/etc/transmission/transmission.include" || return 1
- install -D -m644 COPYING "$pkgdir/usr/share/licenses/transmission-cli/COPYING" || return 1
-}
-md5sums=('dfe2faeb2b76b43954ec943affef2133'
- 'e876d24b99c401f782395b053976dffd'
- 'ff22c13dbd52565f9e88b1de22514eb9'
- 'b5a49ea375333cd0fee40f70dbac4c2e'
- 'd05567c7a4f9df9f28602d1356d5c05c')
diff --git a/abs/extra/community/transmission-cli/run.transmissiond b/abs/extra/community/transmission-cli/run.transmissiond
deleted file mode 100755
index 792594a..0000000
--- a/abs/extra/community/transmission-cli/run.transmissiond
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/transmissiond
-
-CONFIGDIR=/home/$TRANS_USER/.config/transmission-daemon
-PID=`pidof -o %PPID /usr/bin/transmission-daemon`
-# Update the block lists - try to keep the bad guys out.
- cd ${CONFIGDIR}/blocklists
- if [ $? -eq 0 ]; then
- find . -mtime +4 -type f -name level1 -exec rm {} \;
- if [ ! -f ${CONFIGDIR}/blocklists/level1 ]; then
- # update blocklist
- # echo "updating blocklist, ~4MB"
- wget -q -O level1.gz http://www.bluetack.co.uk/config/level1.gz
- if [ -f level1.gz ]; then
- gunzip level1.gz
- if [ $? -eq 0 ]; then
- chmod go+r level1
- else
- rm -f level1*
- fi
- fi
- fi
- cd - 2>&1 >/dev/null
- fi
- stat_runit "Starting Transmission Daemon"
- [ -z "$PID" ] && exec su -l -c "/usr/bin/nice -n 19 /usr/bin/transmission-daemon $TRANS_OPTS" $TRANS_USER 2>/dev/null
diff --git a/abs/extra/community/transmission-cli/transmission-cli.install b/abs/extra/community/transmission-cli/transmission-cli.install
deleted file mode 100644
index 088ecc6..0000000
--- a/abs/extra/community/transmission-cli/transmission-cli.install
+++ /dev/null
@@ -1,28 +0,0 @@
-post_install() {
- /bin/echo 'include "/etc/transmission/transmission.include"' >> /etc/lighttpd/conf.include
- killall -HUP lighttpd
-
- add_service.sh transmissiond
-
- cat << _EOF
-
- You can edit the user and options in /etc/conf.d/transmissiond.
-
- To access the web interface:
- http://localhost/transmission
-
- Configuration file editing information can be found at:
- http://trac.transmissionbt.com/wiki/ConfigFiles
-
-_EOF
-
-}
-
-pre_upgrade() {
- rm -f /usr/share/man/man1/transmission*
-
-}
-
-pre_remove() {
- remove_service.sh transmissiond
-}
diff --git a/abs/extra/community/transmission-cli/transmission.include b/abs/extra/community/transmission-cli/transmission.include
deleted file mode 100644
index 5cbf399..0000000
--- a/abs/extra/community/transmission-cli/transmission.include
+++ /dev/null
@@ -1,15 +0,0 @@
-#Redirect from /transmission to /transmission/web
-url.rewrite-once += ( "^/transmission[/]?$" => "/transmission/web" )
-$HTTP["url"] =~ "^/transmission/" {
- #Serve static files from /usr/share/transmission
- server.document-root = "/usr/share/"
- #Forward RPC requests to the Transmission daemon
- proxy.server = (
- "/transmission/rpc" => (
- (
- "host" => "127.0.0.1",
- "port" => 9091
- )
- )
- )
-}
diff --git a/abs/extra/community/transmission-cli/transmissiond.conf b/abs/extra/community/transmission-cli/transmissiond.conf
deleted file mode 100644
index d642c01..0000000
--- a/abs/extra/community/transmission-cli/transmissiond.conf
+++ /dev/null
@@ -1,2 +0,0 @@
-TRANS_USER="mythtv"
-TRANS_OPTS="-f -ep -w /myth/transmission"
diff --git a/abs/extra/community/tre/PKGBUILD b/abs/extra/community/tre/PKGBUILD
deleted file mode 100644
index 52fb147..0000000
--- a/abs/extra/community/tre/PKGBUILD
+++ /dev/null
@@ -1,28 +0,0 @@
-# Contributor: Igor Galic<i.galic@gmail.com>
-# Maintainer: Stefan Husmann <stefan-husmann@t-online.de
-pkgname=tre
-pkgver=0.8.0
-pkgrel=1
-arch=('i686' 'x86_64')
-pkgdesc="POSIX compliant regexp matching library. Includes agrep for aproximate grepping."
-url="http://laurikari.net/tre/index.html"
-depends=('glibc')
-license=('custom:BSD')
-source=(http://laurikari.net/tre/$pkgname-$pkgver.tar.bz2)
-md5sums=('b4d3232593dadf6746f4727bdda20b41')
-options=('!libtool')
-
-build() {
- cd ${srcdir}/$pkgname-$pkgver
- ./configure --prefix=/usr --enable-static || return 1
- make || return 1
- make DESTDIR=$pkgdir install || return 1
- install -Dm644 ${srcdir}/$pkgname-$pkgver/LICENSE \
- ${pkgdir}/usr/share/licenses/$pkgname/LICENSE || return 1
- install -d ${pkgdir}/usr/share/doc/$pkgname
- cd doc
- for _i in default.css tre-api.html tre-syntax.html
- do
- install -Dm644 ${_i} ${pkgdir}/usr/share/doc/$pkgname/${_i}
- done || return 1
-}
diff --git a/abs/extra/community/twisted/PKGBUILD b/abs/extra/community/twisted/PKGBUILD
deleted file mode 100644
index 13fca6b..0000000
--- a/abs/extra/community/twisted/PKGBUILD
+++ /dev/null
@@ -1,29 +0,0 @@
-# $Id: PKGBUILD 94591 2010-10-08 12:55:33Z ibiru $
-# Maintainer : Ionut Biru <ibiru@archlinux.org>
-# Contributor: Juergen Hoetzel <juergen@archlinux.org>
-# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
-
-pkgname=twisted
-pkgver=10.1.0
-pkgrel=3
-pkgdesc="Asynchronous networking framework written in Python."
-arch=('i686' 'x86_64')
-url="http://twistedmatrix.com/"
-license=('MIT')
-depends=('python2' 'pycrypto' 'zope-interface')
-optdepends=('pyopenssl'
- 'python-soappy:for twisted.web.soap')
-install=twisted.install
-source=(http://tmrc.mit.edu/mirror/twisted/Twisted/${pkgver%.*}/Twisted-${pkgver}.tar.bz2)
-md5sums=('04cca97506e830074cffc1965297da3f')
-build() {
- cd "${srcdir}/Twisted-${pkgver}"
-
- python2 setup.py install --prefix=/usr --root=$pkgdir --optimize=1
- install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
-
- sed -e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \
- -i ${pkgdir}/usr/lib/python2.6/site-packages/twisted/trial/test/scripttest.py
- sed -e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \
- -i ${pkgdir}/usr/lib/python2.6/site-packages/twisted/mail/test/pop3testserver.py
-}
diff --git a/abs/extra/community/twisted/twisted.install b/abs/extra/community/twisted/twisted.install
deleted file mode 100644
index 62a2cc5..0000000
--- a/abs/extra/community/twisted/twisted.install
+++ /dev/null
@@ -1,11 +0,0 @@
-post_install() {
- python2 -c 'from twisted.plugin import IPlugin, getPlugins; list(getPlugins(IPlugin))' >/dev/null 2>&1 || return 1
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- find /usr/lib/python2.6/site-packages/twisted/plugins -name dropin.cache | xargs -r rm -f
-}
diff --git a/abs/extra/community/unrar/PKGBUILD b/abs/extra/community/unrar/PKGBUILD
deleted file mode 100644
index 20d5213..0000000
--- a/abs/extra/community/unrar/PKGBUILD
+++ /dev/null
@@ -1,23 +0,0 @@
-# $Id: PKGBUILD 72474 2010-03-16 19:39:31Z giovanni $
-# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
-# Contributor: dorphell <dorphell@gmx.net>
-
-pkgname=unrar
-pkgver=3.9.10
-pkgrel=1
-pkgdesc="The RAR uncompression program"
-arch=('i686' 'x86_64')
-url="http://www.rarlab.com/rar_add.htm"
-license=('custom')
-depends=('gcc-libs')
-source=(http://www.rarlab.com/rar/unrarsrc-${pkgver}.tar.gz)
-md5sums=('3c130ae52ff9fece50af988c343e396d')
-
-build() {
- cd "${srcdir}/${pkgname}"
-
- make -f makefile.unix
- install -Dm755 unrar ${pkgdir}/usr/bin/unrar || return 1
- # install license
- install -Dm644 license.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1
-}
diff --git a/abs/extra/community/unrar/unrar-3.5.2-optimalization-fix.patch b/abs/extra/community/unrar/unrar-3.5.2-optimalization-fix.patch
deleted file mode 100644
index 2ed2e6e..0000000
--- a/abs/extra/community/unrar/unrar-3.5.2-optimalization-fix.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur unrar.orig/makefile.unix unrar/makefile.unix
---- unrar.orig/makefile.unix 2005-05-27 21:53:56.000000000 +0000
-+++ unrar/makefile.unix 2005-05-27 21:54:16.000000000 +0000
-@@ -7,7 +7,7 @@
-
- # Linux using GCC
- CXX=g++
--CXXFLAGS=-O2
-+CXXFLAGS=${CFLAGS}
- DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
- STRIP=strip
-
diff --git a/abs/extra/community/uriparser/PKGBUILD b/abs/extra/community/uriparser/PKGBUILD
deleted file mode 100644
index a44876f..0000000
--- a/abs/extra/community/uriparser/PKGBUILD
+++ /dev/null
@@ -1,22 +0,0 @@
-# Contributor: Juan Pablo Gonzalez Tognarelli <lord_jotape@yahoo.com.ar>
- pkgname=uriparser
- pkgver=0.7.5
- pkgrel=1
- pkgdesc="uriparser is a strictly RFC 3986 compliant URI parsing library. uriparser is cross-platform, fast, supports Unicode"
- url="http://sourceforge.net/projects/uriparser/"
- depends=(glibc)
- makedepends=(doxygen)
- source=(http://downloads.sourceforge.net/sourceforge/uriparser/$pkgname-$pkgver.tar.bz2)
- md5sums=('4f4349085fe5de33bcae8d0f26649593')
- arch=('i686' 'x86_64')
- license="CUSTOM"
- build() {
- cd ${srcdir}/$pkgname-$pkgver
- ./configure --prefix=/usr --disable-test
- ln -s ${srcdir}/$pkgname-$pkgver/doc/Doxyfile.in ${srcdir}/$pkgname-$pkgver/doc/Doxyfile
- make || return 1
- touch ${srcdir}/$pkgname-$pkgver/doc/html/empty.gif
- make DESTDIR=$startdir/pkg install || return 1
- install -D -m644 "${srcdir}/$pkgname-$pkgver/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1
-}
-
diff --git a/abs/extra/community/uudeview/PKGBUILD b/abs/extra/community/uudeview/PKGBUILD
deleted file mode 100644
index cdb3a81..0000000
--- a/abs/extra/community/uudeview/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# $Id: PKGBUILD,v 1.5 2008/09/23 12:49:17 sergej Exp $
-# Maintainer: Sergej Pupykin <sergej@aur.archlinux.org>
-# Maintainer: kmaster <kmaster12@sasktel.net>
-
-pkgname=uudeview
-pkgver=0.5.20
-pkgrel=6
-pkgdesc="UUDeview helps transmitting & recieving binary files using mail or newsgroups. Includes library files."
-arch=('i686' 'x86_64')
-url="http://www.fpx.de/fp/Software/UUDeview/"
-license=('GPL')
-optdepends=('tk: for GUI')
-source=(http://www.fpx.de/fp/Software/UUDeview/download/$pkgname-$pkgver.tar.gz)
-md5sums=('0161abaec3658095044601eae82bbc5b')
-
-build() {
- cd $startdir/src/$pkgname-$pkgver
- ./configure --prefix=/usr
- make || return 1
- make prefix=$startdir/pkg/usr install || return 1
- mkdir -p $startdir/pkg/usr/lib/uudeview && \
- mkdir -p $startdir/pkg/usr/include/uudeview || return 1
-
- cd $startdir/src/uudeview-$pkgver/uulib
- ./configure --prefix=/usr
- make || return 1
- cp -v *.o $startdir/pkg/usr/lib/uudeview && \
- cp -v *.a $startdir/pkg/usr/lib/uudeview && \
- cp -v *.h $startdir/pkg/usr/include/uudeview
-}
diff --git a/abs/extra/community/video4fuze/PKGBUILD b/abs/extra/community/video4fuze/PKGBUILD
deleted file mode 100644
index 35c1e85..0000000
--- a/abs/extra/community/video4fuze/PKGBUILD
+++ /dev/null
@@ -1,38 +0,0 @@
-# Contributor: Michael Hanson <hansonorders@verizon.net>
-# Maintainer: Michael Hanson <hansonorders@verizon.net>
-pkgname=video4fuze
-pkgver=0.6
-pkgrel=1
-pkgdesc="A tool to make videos compatable with the San Disk Sana Fuze media player"
-arch=('i686' 'x86_64')
-url="http://code.google.com/p/video4fuze"
-license=('GPL3' 'CC-BY-SA-3.0')
-depends=('fuzemux' 'python2>=2.5' 'qt>=4.5' 'pyqt>=4.5' 'python-imaging' 'mplayer' 'ffmpeg-svn')
-optdepends=('xterm')
-source=("http://${pkgname}.googlecode.com/files/${pkgname}-${pkgver}%2B.tar.gz")
-provides=('video4fuze')
-replaces=('video4fuze-svn')
-install=video4fuze.install
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}+
-
- for file in GUI/*.py *.py *.pyw ; do
- sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' ${file}
- done
-
- sed -i 's/^python/python2/g' dist/*
-
- lrelease video4fuze_e4x.pro
-
- python2 setup.py install --root="$pkgdir" || return 1
-}
-
-package() {
- cd ${srcdir}/${pkgname}-${pkgver}+
- install -D -m644 README.txt ${pkgdir}/usr/share/doc/video4fuze/README || return 1
- chmod 755 ${pkgdir}/usr/share/video4fuze/*.py || return 1
- chmod 755 ${pkgdir}/usr/share/video4fuze/*.pyw || return 1
- chmod 755 ${pkgdir}/usr/share/video4fuze/GUI/*.py || return 1
-}
-md5sums=('f19250f2e166e10e5b115e8bffdfee35')
diff --git a/abs/extra/community/video4fuze/video4fuze.install b/abs/extra/community/video4fuze/video4fuze.install
deleted file mode 100644
index d6e391f..0000000
--- a/abs/extra/community/video4fuze/video4fuze.install
+++ /dev/null
@@ -1,9 +0,0 @@
-post_install() {
- ln -s /usr/share/video4fuze/video4fuze.pyw /usr/bin/video4fuze
- ln -s /usr/share/video4fuze/fuze.py /usr/bin/fuze.py
-}
-
-pre_remove() {
- rm -f /usr/bin/video4fuze
- rm -f /usr/bin/fuze.py
-}
diff --git a/abs/extra/community/vsftpd/PKGBUILD b/abs/extra/community/vsftpd/PKGBUILD
deleted file mode 100644
index 78ba1c5..0000000
--- a/abs/extra/community/vsftpd/PKGBUILD
+++ /dev/null
@@ -1,44 +0,0 @@
-# $Id$
-# Maintainer: Andreas Radke <andyrtr@archlinux.org>
-# Contributor: judd <jvinet@zeroflux.org>
-
-pkgname=vsftpd
-pkgver=2.3.4
-pkgrel=2
-pkgdesc="Very Secure FTP daemon"
-arch=('i686' 'x86_64')
-url="https://security.appspot.com/vsftpd.html"
-license=('GPL2')
-depends=('openssl')
-backup=('etc/vsftpd.conf' 'etc/xinetd.d/vsftpd')
-install=vsftpd.install
-source=("https://security.appspot.com/downloads/${pkgname}-${pkgver}.tar.gz"
- 'vsftpd.xinetd' 'vsftpd.d' 'run')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- # build-time config
- sed \
- -e 's|^#undef VSF_BUILD_SSL$|#define VSF_BUILD_SSL|' \
- -i builddefs.h
-# Below added for LinHES
- mkdir -p $startdir/pkg/etc/sv/vsftpd/supervise
- install -D -m755 $startdir/src/run $startdir/pkg/etc/sv/vsftpd/
- make CFLAGS="${CFLAGS}"
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- install -D -m755 vsftpd "${pkgdir}/usr/sbin/vsftpd"
- install -D -m644 vsftpd.conf "${pkgdir}/etc/vsftpd.conf"
- install -D -m644 vsftpd.8 "${pkgdir}/usr/share/man/man8/vsftpd.8"
- install -D -m644 vsftpd.conf.5 "${pkgdir}/usr/share/man/man5/vsftpd.conf.5"
- install -D -m644 "${srcdir}/vsftpd.xinetd" "${pkgdir}/etc/xinetd.d/vsftpd"
- install -D -m755 "${srcdir}/vsftpd.d" "${pkgdir}/etc/rc.d/vsftpd"
-
- install -d -m755 "${pkgdir}/usr/share/empty"
-}
-md5sums=('2ea5d19978710527bb7444d93b67767a'
- 'b07fd4609c70063c1d6b20142910c1a6'
- '60060a6c7db3b3b7baa1561a302e6923'
- '8abbed7cc75f9a9d2944e0e83c8dd90d')
diff --git a/abs/extra/community/vsftpd/__changelog b/abs/extra/community/vsftpd/__changelog
deleted file mode 100644
index 82615f6..0000000
--- a/abs/extra/community/vsftpd/__changelog
+++ /dev/null
@@ -1 +0,0 @@
--Add back run file and modify PKGBUILD to install run
diff --git a/abs/extra/community/vsftpd/run b/abs/extra/community/vsftpd/run
deleted file mode 100644
index 1fd5202..0000000
--- a/abs/extra/community/vsftpd/run
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-exec 2>&1
-. /etc/profile
-. /etc/systemconfig
-export TERM=linux
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-stat_runit "Starting VSFTPD"
-export HOME=/root
-
-# Start vsftpd
-/usr/sbin/vsftpd /etc/vsftpd.conf
diff --git a/abs/extra/community/vsftpd/vsftpd.d b/abs/extra/community/vsftpd/vsftpd.d
deleted file mode 100644
index 2731085..0000000
--- a/abs/extra/community/vsftpd/vsftpd.d
+++ /dev/null
@@ -1,67 +0,0 @@
-#!/bin/bash
-
-daemon_name=vsftpd
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-get_pid() {
- pidof -o %PPID $daemon_name
-}
-
-case "$1" in
- start)
- stat_busy "Starting $daemon_name daemon"
-
- PID=$(get_pid)
- if [ -z "$PID" ]; then
- [ -f /var/run/$daemon_name.pid ] && rm -f /var/run/$daemon_name.pid
- # RUN
- $daemon_name &
- #
- if [ $? -gt 0 ]; then
- stat_fail
- exit 1
- else
- echo $(get_pid) > /var/run/$daemon_name.pid
- add_daemon $daemon_name
- stat_done
- fi
- else
- stat_fail
- exit 1
- fi
- ;;
-
- stop)
- stat_busy "Stopping $daemon_name daemon"
- PID=$(get_pid)
- # KILL
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- #
- if [ $? -gt 0 ]; then
- stat_fail
- exit 1
- else
- rm -f /var/run/$daemon_name.pid &> /dev/null
- rm_daemon $daemon_name
- stat_done
- fi
- ;;
-
- restart)
- $0 stop
- sleep 3
- $0 start
- ;;
-
- status)
- stat_busy "Checking $daemon_name status";
- ck_status $daemon_name
- ;;
-
- *)
- echo "usage: $0 {start|stop|restart|status}"
-esac
-
-exit 0
diff --git a/abs/extra/community/vsftpd/vsftpd.install b/abs/extra/community/vsftpd/vsftpd.install
deleted file mode 100644
index 48f134e..0000000
--- a/abs/extra/community/vsftpd/vsftpd.install
+++ /dev/null
@@ -1,17 +0,0 @@
-# arg 1: the new package version
-post_install() {
- if [ -f lib/modules/`uname -r`/kernel/security/capability.ko ]; then
- echo ">>> It appears that your current kernel has linux security"
- echo ">>> capabilities built as a module. vsftpd requires this"
- echo ">>> functionality to operate."
- echo ">>>"
- echo ">>> To activate the module, please load it now (modprobe capability)."
- echo ">>> Also, you should add it to your MODULES array in rc.conf, so"
- echo ">>> it will be activated automatically at boot-up."
- fi
-}
-
-post_upgrade() {
- post_install $1
-}
-
diff --git a/abs/extra/community/vsftpd/vsftpd.xinetd b/abs/extra/community/vsftpd/vsftpd.xinetd
deleted file mode 100644
index eff2eb3..0000000
--- a/abs/extra/community/vsftpd/vsftpd.xinetd
+++ /dev/null
@@ -1,10 +0,0 @@
-service ftp
-{
- socket_type = stream
- wait = no
- user = root
- server = /usr/sbin/vsftpd
- log_on_success += HOST DURATION
- log_on_failure += HOST
- disable = yes
-}
diff --git a/abs/extra/community/zope-interface/PKGBUILD b/abs/extra/community/zope-interface/PKGBUILD
deleted file mode 100644
index a2918bf..0000000
--- a/abs/extra/community/zope-interface/PKGBUILD
+++ /dev/null
@@ -1,21 +0,0 @@
-# $Id: PKGBUILD 87850 2010-08-18 13:23:55Z ibiru $
-# Maintainer : Ionut Biru <ibiru@archlinux.org>
-# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
-
-pkgname=zope-interface
-pkgver=3.5.3
-pkgrel=2
-pkgdesc="Separate distribution of the zope.interface package used in Zope 3."
-license=('ZPL')
-arch=('i686' 'x86_64')
-url="http://www.zope.org/Products/ZopeInterface/"
-depends=('python2')
-source=(http://pypi.python.org/packages/source/z/zope.interface/zope.interface-${pkgver}.tar.gz)
-md5sums=('1fdb9a77f92d3ada3e795a8c9b58d0c6')
-
-build() {
- cd ${srcdir}/zope.interface-${pkgver}
- python2 setup.py install --prefix=/usr --root=${pkgdir} --optimize=1
- # Blabla.
- rm $pkgdir/usr/lib/python2.7/site-packages/zope/interface/README*.txt
-}
diff --git a/abs/extra/community/zvbi/PKGBUILD b/abs/extra/community/zvbi/PKGBUILD
deleted file mode 100644
index 9bc150c..0000000
--- a/abs/extra/community/zvbi/PKGBUILD
+++ /dev/null
@@ -1,25 +0,0 @@
-# $Id$
-# Maintainer:
-# Contributor: Alexander Baldeck <alexander@archlinux.org>
-# Contributor: dorphell <dorphell@archlinux.org>
-pkgname=zvbi
-pkgver=0.2.33
-pkgrel=3
-pkgdesc="VBI capture and decoding library"
-url="http://zapping.sourceforge.net/cgi-bin/view/ZVBI/WebHome"
-arch=(i686 x86_64)
-depends=('libpng' 'libx11')
-license=('GPL')
-options=('!libtool')
-source=(http://downloads.sourceforge.net/sourceforge/zapping/${pkgname}-${pkgver}.tar.bz2
- fix-includes.patch)
-md5sums=('1741a6045c3eedfb611d645f2da69ac8'
- '38766bc59e1571133d0399f0102da653')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- patch -Np1 -i "${srcdir}/fix-includes.patch"
- ./configure --prefix=/usr --disable-static --mandir=/usr/share/man
- make
- make DESTDIR="${pkgdir}" install
-}
diff --git a/abs/extra/community/zvbi/fix-includes.patch b/abs/extra/community/zvbi/fix-includes.patch
deleted file mode 100644
index 2825264..0000000
--- a/abs/extra/community/zvbi/fix-includes.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-Add proper #includes so that we do not get undef errors to S_ISCHR
-during linking.
-
-Signed-off-by: Alex Chiang <achiang@canonical.com>
----
---- zvbi-0.2.33.orig/src/io-dvb.c
-+++ zvbi-0.2.33/src/io-dvb.c
-@@ -29,6 +29,8 @@
- #include <errno.h>
- #include <sys/select.h>
- #include <sys/ioctl.h>
-+#include <sys/types.h>
-+#include <sys/stat.h>
-
- #ifndef HAVE_S64_U64
- /* Linux 2.6.x asm/types.h defines __s64 and __u64 only
---- zvbi-0.2.33.orig/src/io-v4l.c
-+++ zvbi-0.2.33/src/io-v4l.c
-@@ -42,6 +42,7 @@ static const char rcsid [] =
- #include <assert.h>
- #include <sys/time.h> /* timeval */
- #include <sys/types.h> /* fd_set, uid_t */
-+#include <sys/stat.h> /* S_ISCHR */
- #include <sys/ioctl.h> /* for (_)videodev.h */
- #include <pthread.h>
-
---- zvbi-0.2.33.orig/contrib/ntsc-cc.c
-+++ zvbi-0.2.33/contrib/ntsc-cc.c
-@@ -34,6 +34,7 @@
- #include <locale.h>
- #include <sys/ioctl.h>
- #include <sys/types.h>
-+#include <sys/stat.h>
- #include <sys/time.h>
- #ifdef HAVE_GETOPT_LONG
- # include <getopt.h>
diff --git a/abs/extra/congruity/PKGBUILD b/abs/extra/congruity/PKGBUILD
deleted file mode 100644
index 470a1e3..0000000
--- a/abs/extra/congruity/PKGBUILD
+++ /dev/null
@@ -1,25 +0,0 @@
-# $Id$
-# Maintainers:
-# Andreas Baumann <abaumann@yahoo.com>
-# Guillaume DUMOULIN <guillaume.dumoulin@gmail.com>
-# Contributor: elsixdiab
-
-pkgname=congruity
-pkgver=15
-pkgrel=2
-pkgdesc="Congruity is a GUI application for programming Logitech(R) Harmony(TM) remote controls."
-arch=('any')
-url="http://congruity.sourceforge.net"
-license=('GPL3')
-depends=('libconcord' 'wxpython' 'python-libconcord')
-makedepends=()
-install=
-options=
-source=(http://downloads.sourceforge.net/project/congruity/congruity/${pkgver}/"${pkgname}-${pkgver}.tar.bz2")
-md5sums=('c67cc411a7f7f02758fd55101c1a4be3')
-
-build() {
- cd $srcdir/$pkgname-$pkgver
- sed -i 's@#!/usr/bin/env python@#!/usr/bin/env python2@g' congruity
- make DESTDIR=${pkgdir} PREFIX=/usr install
-}
diff --git a/abs/extra/conky/PKGBUILD b/abs/extra/conky/PKGBUILD
deleted file mode 100644
index d542937..0000000
--- a/abs/extra/conky/PKGBUILD
+++ /dev/null
@@ -1,47 +0,0 @@
-# $Id$
-# Contributor: Giovanni Scafora <giovanni@archlinux.org>
-# Contributor: James Rayner <james@archlinux.org>
-# Contributor: Partha Chowdhury <kira.laucas@gmail.com>
-# Maintainer: Gaetan Bisson <bisson@archlinux.org>
-
-pkgname=conky
-pkgver=1.8.1
-pkgrel=3
-pkgdesc='An advanced, highly configurable system monitor for X based on torsmo'
-arch=('i686' 'x86_64')
-url='http://conky.sourceforge.net/'
-license=('custom')
-replaces=('torsmo')
-makedepends=('pkg-config')
-depends=('alsa-lib' 'libxml2' 'curl' 'wireless_tools' 'libxft' 'glib2' 'libxdamage' 'imlib2')
-backup=('etc/conky/conky.conf' 'etc/conky/conky_no_x11.conf')
-source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz"
- 'current-power.patch')
-
-sha1sums=('06bbe9b7eed8603fa7a971b27c5c61f38424ac6f'
- '2eeef0cc5a0b612826b2a7f0b43b7a3b7e10bf0b')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- patch -p1 < ../current-power.patch # See FS#21984
-
- ./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --enable-ibm \
- --enable-curl \
- --enable-rss \
- --enable-weather-xoap \
- --enable-imlib2 \
- --disable-lua \
- --enable-wlan \
-
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
diff --git a/abs/extra/conky/current-power.patch b/abs/extra/conky/current-power.patch
deleted file mode 100644
index 1e7cf5a..0000000
--- a/abs/extra/conky/current-power.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -aur old/src/linux.c new/src/linux.c
---- old/src/linux.c 2010-10-05 23:29:36.000000000 +0200
-+++ new/src/linux.c 2010-12-06 22:18:59.346667183 +0100
-@@ -1671,6 +1671,8 @@
- the tradition! */
- else if (strncmp(buf, "POWER_SUPPLY_CURRENT_NOW=", 25) == 0)
- sscanf(buf, "POWER_SUPPLY_CURRENT_NOW=%d", &present_rate);
-+ else if (strncmp(buf, "POWER_SUPPLY_POWER_NOW=", 23) == 0)
-+ sscanf(buf, "POWER_SUPPLY_POWER_NOW=%d", &present_rate);
- else if (strncmp(buf, "POWER_SUPPLY_ENERGY_NOW=", 24) == 0)
- sscanf(buf, "POWER_SUPPLY_ENERGY_NOW=%d", &remaining_capacity);
- else if (strncmp(buf, "POWER_SUPPLY_ENERGY_FULL=", 25) == 0)
diff --git a/abs/extra/consolekit/PKGBUILD b/abs/extra/consolekit/PKGBUILD
deleted file mode 100644
index 10a1f7f..0000000
--- a/abs/extra/consolekit/PKGBUILD
+++ /dev/null
@@ -1,45 +0,0 @@
-# $Id: PKGBUILD 87085 2010-08-10 18:29:16Z jgc $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-# Contributor: onestep_ua <onestep@ukr.net>
-
-pkgname=consolekit
-pkgver=0.4.1
-pkgrel=4
-pkgdesc="A framework for defining and tracking users, login sessions, and seats"
-arch=('i686' 'x86_64')
-url="http://www.freedesktop.org/wiki/Software/ConsoleKit"
-license=('GPL')
-depends=('polkit>=0.95' 'zlib' 'libx11>=1.2.2')
-makedepends=('pkgconfig' 'xmlto' 'docbook-xsl')
-options=(!libtool)
-source=(http://www.freedesktop.org/software/ConsoleKit/dist/ConsoleKit-${pkgver}.tar.bz2
- pam-foreground-compat.ck
- nodaemon.patch
- reorder-initialization.patch
- add_since_option.patch
- consolekit.logrotate)
-md5sums=('48eda4483cc97841d5f88e8e003eb6d7'
- 'a8a4de71d9b0549b8143e5f6c2a36fc7'
- 'a5bfd56bc89411ff5bb18276a68cb212'
- '99fa8cb1bf232050cc0c076378e216c5'
- 'bd5e72397fe2d42a933a897d28d58155'
- '6fefa451d9fe2fc6d6269629d3529793')
-
-build() {
- cd "${srcdir}/ConsoleKit-${pkgver}"
- patch -Np1 -i "${srcdir}/nodaemon.patch"
- patch -Np1 -i "${srcdir}/reorder-initialization.patch"
- patch -Np1 -i "${srcdir}/add_since_option.patch"
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --libexecdir=/usr/lib/ConsoleKit \
- --enable-pam-module \
- --enable-docbook-docs
- make
- make DESTDIR="${pkgdir}" install
- install -m755 "${srcdir}/pam-foreground-compat.ck" "${pkgdir}/usr/lib/ConsoleKit/run-session.d/"
-
- # install the logrotate config
- install -D -m644 ${srcdir}/consolekit.logrotate ${pkgdir}/etc/logrotate.d/consolekit
-}
diff --git a/abs/extra/consolekit/add_since_option.patch b/abs/extra/consolekit/add_since_option.patch
deleted file mode 100644
index 50c1421..0000000
--- a/abs/extra/consolekit/add_since_option.patch
+++ /dev/null
@@ -1,220 +0,0 @@
-From c9f2292339540d4b9d8940bcef16b7485480c8d9 Mon Sep 17 00:00:00 2001
-From: William Jon McCann <jmccann@redhat.com>
-Date: Fri, 11 Jun 2010 19:53:22 +0000
-Subject: Add a --since option to show entries in a time window
-
-Doesn't load any history files it doesn't need to which should
-help performance on systems with long histories.
-
-https://bugs.freedesktop.org/show_bug.cgi?id=25660
----
-diff --git a/tools/ck-history.c b/tools/ck-history.c
-index 606106c..d02caaa 100644
---- a/tools/ck-history.c
-+++ b/tools/ck-history.c
-@@ -62,8 +62,8 @@ typedef enum {
-
- static GList *all_events = NULL;
-
--static gboolean
--process_event_line (const char *line)
-+static CkLogEvent *
-+parse_event_line (const char *line)
- {
- GString *str;
- CkLogEvent *event;
-@@ -72,47 +72,80 @@ process_event_line (const char *line)
- event = ck_log_event_new_from_string (str);
- g_string_free (str, TRUE);
-
-- if (event != NULL) {
-- all_events = g_list_prepend (all_events, event);
-- }
--
-- return TRUE;
-+ return event;
- }
-
- static gboolean
--process_log_gzstream (gzFile *fstream)
-+process_log_gzstream (gzFile *fstream,
-+ GTimeVal *since)
- {
-- char line[MAX_LINE_LEN];
-+ char line[MAX_LINE_LEN];
-+ gboolean hit_since;
-+ GList *events;
-
-+ events = NULL;
-+ hit_since = FALSE;
- while (gzgets (fstream, line, sizeof (line)) != Z_NULL) {
-+ CkLogEvent *event;
-+
- if (strlen (line) == sizeof (line) - 1) {
- g_warning ("Log line truncated");
- }
-
-- process_event_line (line);
-+ event = parse_event_line (line);
-+ if (event == NULL) {
-+ continue;
-+ }
-+
-+ if (since == NULL || event->timestamp.tv_sec >= since->tv_sec) {
-+ events = g_list_prepend (events, event);
-+ } else {
-+ hit_since = TRUE;
-+ }
- }
-
-- return TRUE;
-+ all_events = g_list_concat (all_events, events);
-+
-+ return !hit_since;
- }
-
- static gboolean
--process_log_stream (FILE *fstream)
-+process_log_stream (FILE *fstream,
-+ GTimeVal *since)
- {
-- char line[MAX_LINE_LEN];
-+ char line[MAX_LINE_LEN];
-+ gboolean hit_since;
-+ GList *events;
-
-+ events = NULL;
-+ hit_since = FALSE;
- while (fgets (line, sizeof (line), fstream) != NULL) {
-+ CkLogEvent *event;
-+
- if (strlen (line) == sizeof (line) - 1) {
- g_warning ("Log line truncated");
- }
-
-- process_event_line (line);
-+ event = parse_event_line (line);
-+ if (event == NULL) {
-+ continue;
-+ }
-+
-+ if (since == NULL || event->timestamp.tv_sec >= since->tv_sec) {
-+ events = g_list_prepend (events, event);
-+ } else {
-+ hit_since = TRUE;
-+ }
- }
-
-- return TRUE;
-+ all_events = g_list_concat (all_events, events);
-+
-+ return !hit_since;
- }
-
- static gboolean
--process_log_file (const char *filename)
-+process_log_file (const char *filename,
-+ GTimeVal *since)
- {
- gboolean ret;
-
-@@ -131,7 +164,7 @@ process_log_file (const char *filename)
- errmsg);
- return FALSE;
- }
-- ret = process_log_gzstream (f);
-+ ret = process_log_gzstream (f, since);
- gzclose (f);
- } else {
- FILE *f;
-@@ -143,7 +176,7 @@ process_log_file (const char *filename)
- g_strerror (errno));
- return FALSE;
- }
-- ret = process_log_stream (f);
-+ ret = process_log_stream (f, since);
- fclose (f);
- }
-
-@@ -180,11 +213,14 @@ get_log_file_list (void)
- files = g_list_prepend (files, filename);
- };
-
-+ /* Return the list in reverse time order, newest first */
-+ files = g_list_reverse (files);
-+
- return files;
- }
-
- static gboolean
--process_logs (void)
-+process_logs (GTimeVal *since)
- {
- gboolean ret;
- GList *files;
-@@ -199,8 +235,7 @@ process_logs (void)
- char *filename;
-
- filename = l->data;
--
-- res = process_log_file (filename);
-+ res = process_log_file (filename, since);
- if (! res) {
- goto out;
- }
-@@ -843,6 +878,8 @@ main (int argc,
- GError *error = NULL;
- int report_type;
- int uid;
-+ GTimeVal timestamp;
-+ gboolean use_since;
- static gboolean do_version = FALSE;
- static gboolean report_last_compat = FALSE;
- static gboolean report_last = FALSE;
-@@ -851,6 +888,7 @@ main (int argc,
- static char *username = NULL;
- static char *seat = NULL;
- static char *session_type = NULL;
-+ static char *since = NULL;
- static GOptionEntry entries [] = {
- { "version", 'V', 0, G_OPTION_ARG_NONE, &do_version, N_("Version of this application"), NULL },
- { "frequent", 0, 0, G_OPTION_ARG_NONE, &report_frequent, N_("Show listing of frequent users"), NULL },
-@@ -860,6 +898,7 @@ main (int argc,
- { "seat", 's', 0, G_OPTION_ARG_STRING, &seat, N_("Show entries for the specified seat"), N_("SEAT") },
- { "session-type", 't', 0, G_OPTION_ARG_STRING, &session_type, N_("Show entries for the specified session type"), N_("TYPE") },
- { "user", 'u', 0, G_OPTION_ARG_STRING, &username, N_("Show entries for the specified user"), N_("NAME") },
-+ { "since", 0, 0, G_OPTION_ARG_STRING, &since, N_("Show entries since the specified time (ISO 8601 format)"), N_("DATETIME") },
- { NULL }
- };
-
-@@ -880,6 +919,15 @@ main (int argc,
- exit (1);
- }
-
-+ use_since = FALSE;
-+ if (since != NULL) {
-+ use_since = g_time_val_from_iso8601 (since, &timestamp);
-+ if (! use_since) {
-+ g_warning ("Invalid ISO 8601 time value");
-+ exit (1);
-+ }
-+ }
-+
- if (report_last_compat) {
- report_type = REPORT_TYPE_LAST_COMPAT;
- } else if (report_last) {
-@@ -902,7 +950,11 @@ main (int argc,
- uid = -1;
- }
-
-- process_logs ();
-+ if (use_since) {
-+ process_logs (&timestamp);
-+ } else {
-+ process_logs (NULL);
-+ }
- generate_report (report_type, uid, seat, session_type);
- free_events ();
-
---
-cgit v0.8.3-6-g21f6
diff --git a/abs/extra/consolekit/consolekit.logrotate b/abs/extra/consolekit/consolekit.logrotate
deleted file mode 100644
index 7c5346e..0000000
--- a/abs/extra/consolekit/consolekit.logrotate
+++ /dev/null
@@ -1,5 +0,0 @@
-/var/log/ConsoleKit/history {
- missingok
- notifempty
- delaycompress
-}
diff --git a/abs/extra/consolekit/nodaemon.patch b/abs/extra/consolekit/nodaemon.patch
deleted file mode 100644
index c4c08e9..0000000
--- a/abs/extra/consolekit/nodaemon.patch
+++ /dev/null
@@ -1,9 +0,0 @@
-diff -up ConsoleKit-0.4.1/data/org.freedesktop.ConsoleKit.service.in.nodaemon ConsoleKit-0.4.1/data/org.freedesktop.ConsoleKit.service.in
---- ConsoleKit-0.4.1/data/org.freedesktop.ConsoleKit.service.in.nodaemon 2009-12-15 10:56:39.839818556 -0500
-+++ ConsoleKit-0.4.1/data/org.freedesktop.ConsoleKit.service.in 2009-12-15 10:56:50.177792048 -0500
-@@ -1,4 +1,4 @@
- [D-BUS Service]
- Name=org.freedesktop.ConsoleKit
--Exec=@sbindir@/console-kit-daemon
-+Exec=@sbindir@/console-kit-daemon --no-daemon
- User=root
diff --git a/abs/extra/consolekit/pam-foreground-compat.ck b/abs/extra/consolekit/pam-foreground-compat.ck
deleted file mode 100644
index 7f6b122..0000000
--- a/abs/extra/consolekit/pam-foreground-compat.ck
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-TAGDIR=/var/run/console
-
-[ -n "$CK_SESSION_USER_UID" ] || exit 1
-
-TAGFILE="$TAGDIR/`getent passwd $CK_SESSION_USER_UID | cut -f 1 -d:`"
-
-if [ "$1" = "session_added" ]; then
- mkdir -p "$TAGDIR"
- echo "$CK_SESSION_ID" >> "$TAGFILE"
-fi
-
-if [ "$1" = "session_removed" ] && [ -e "$TAGFILE" ]; then
- sed -i "\%^$CK_SESSION_ID\$%d" "$TAGFILE"
- [ -s "$TAGFILE" ] || rm -f "$TAGFILE"
-fi
diff --git a/abs/extra/consolekit/reorder-initialization.patch b/abs/extra/consolekit/reorder-initialization.patch
deleted file mode 100644
index f65abd5..0000000
--- a/abs/extra/consolekit/reorder-initialization.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-diff -up ConsoleKit-0.4.1/src/main.c.reorder-initialization ConsoleKit-0.4.1/src/main.c
---- ConsoleKit-0.4.1/src/main.c.reorder-initialization 2009-12-18 14:51:38.821212946 -0500
-+++ ConsoleKit-0.4.1/src/main.c 2009-12-18 14:52:19.246211176 -0500
-@@ -294,11 +294,19 @@ main (int argc,
-
- setup_debug_log (debug);
-
-+ g_debug ("initializing console-kit-daemon %s", VERSION);
-+
- connection = get_system_bus ();
- if (connection == NULL) {
- goto out;
- }
-
-+ manager = ck_manager_new ();
-+
-+ if (manager == NULL) {
-+ goto out;
-+ }
-+
- bus_proxy = get_bus_proxy (connection);
- if (bus_proxy == NULL) {
- g_warning ("Could not construct bus_proxy object; bailing out");
-@@ -310,16 +318,8 @@ main (int argc,
- goto out;
- }
-
-- g_debug ("initializing console-kit-daemon %s", VERSION);
--
- create_pid_file ();
-
-- manager = ck_manager_new ();
--
-- if (manager == NULL) {
-- goto out;
-- }
--
- loop = g_main_loop_new (NULL, FALSE);
-
- g_signal_connect (bus_proxy,
diff --git a/abs/extra/cpufreqd/PKGBUILD b/abs/extra/cpufreqd/PKGBUILD
deleted file mode 100644
index fd6d544..0000000
--- a/abs/extra/cpufreqd/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# $Id: PKGBUILD 60269 2009-12-02 16:30:29Z giovanni $
-# Maintainer: Andrea Scarpino <andrea@archlinux.org>
-# Contributor: Kevin Piche <kevin@archlinux.org>
-# Contributor: Manolis Tzanidakis <manolis@archlinux.org>
-
-pkgname=cpufreqd
-pkgver=2.4.2
-pkgrel=1
-pkgdesc="A small daemon to adjust cpu speed (and indeed voltage)"
-arch=('i686' 'x86_64')
-url="http://sourceforge.net/projects/cpufreqd"
-license=('GPL2')
-depends=('cpufrequtils')
-install="$pkgname.install"
-backup=(etc/cpufreqd.conf)
-options=('!libtool')
-source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2
- 'cpufreqd')
-
-build() {
- cd $srcdir/$pkgname-$pkgver
- ./configure --prefix=/usr \
- --sysconfdir=/etc
- make || return 1
- make DESTDIR=$pkgdir install
-
- install -D -m 755 $srcdir/cpufreqd $pkgdir/etc/rc.d/cpufreqd || return 1
-}
-md5sums=('2ca80a77849c9a69b81e27c1843c97f5'
- 'ae7b0ec1e8e9f9e7f05fb83749af4ed4')
diff --git a/abs/extra/cpufreqd/cpufreqd b/abs/extra/cpufreqd/cpufreqd
deleted file mode 100644
index af55456..0000000
--- a/abs/extra/cpufreqd/cpufreqd
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PID=`pidof -o %PPID /usr/sbin/cpufreqd`
-case "$1" in
- start)
- stat_busy "Starting cpufreqd"
- [ -z "$PID" ] && /usr/sbin/cpufreqd
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon cpufreqd
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping cpufreqd"
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon cpufreqd
- stat_done
- fi
- ;;
- restart)
- $0 stop
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
diff --git a/abs/extra/cpufreqd/cpufreqd.install b/abs/extra/cpufreqd/cpufreqd.install
deleted file mode 100644
index e56ce57..0000000
--- a/abs/extra/cpufreqd/cpufreqd.install
+++ /dev/null
@@ -1,26 +0,0 @@
-post_install() {
- cat << EOF
-
-NOTE
-----
-In order to use that daemon you need to either patch your
-kernel-2.4.x with cpufreq patch (check
-http://www.codemonkey.org.uk/projects/cpufreq/),
-or use kernel-2.6.x or 2.4.x.-ac.
-
-EOF
-}
-
-post_upgrade() {
- /bin/true
-}
-
-# arg 1: the old package version
-pre_remove() {
- /bin/true
-}
-
-op=$1
-shift
-
-$op $*
diff --git a/abs/extra/cpufrequtils/PKGBUILD b/abs/extra/cpufrequtils/PKGBUILD
deleted file mode 100644
index c9087aa..0000000
--- a/abs/extra/cpufrequtils/PKGBUILD
+++ /dev/null
@@ -1,32 +0,0 @@
-# $Id: PKGBUILD 66595 2010-02-01 00:00:07Z giovanni $
-# Maintainer: kevin <kevin@archlinux.org>
-# Contributor: phrakture <aaronmgriffin+gmail+com>
-# Contributor: SpepS <dreamspepser at yahoo dot it>
-
-pkgname=cpufrequtils
-pkgver=008
-pkgrel=1
-pkgdesc="Userspace tools for the kernel cpufreq subsystem"
-arch=('i686' 'x86_64')
-url="http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html"
-license=('GPL')
-depends=('sysfsutils')
-backup=('etc/conf.d/cpufreq')
-source=(http://www.kernel.org/pub/linux/utils/kernel/cpufreq/${pkgname}-${pkgver}.tar.bz2
- cpufreq.rcd
- cpufreq.confd)
-options=(!libtool)
-
-build()
-{
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- make -j1 || return 1
- make INSTALL="/bin/install -c" mandir=/usr/share/man DESTDIR="${pkgdir}" install || return 1
-
- install -D -m755 ${srcdir}/cpufreq.rcd "${pkgdir}/etc/rc.d/cpufreq" || return 1
- install -D -m644 ${srcdir}/cpufreq.confd "${pkgdir}/etc/conf.d/cpufreq" || return 1
-}
-md5sums=('c59b71c044d463896f3247e8dd83dd7e'
- '7f2b5085df44d2df3e7c2d0b9f6dab08'
- 'baae1f2abffc6bef2bd32a8dd8263c09')
diff --git a/abs/extra/cpufrequtils/cpufreq.confd b/abs/extra/cpufrequtils/cpufreq.confd
deleted file mode 100644
index 2189097..0000000
--- a/abs/extra/cpufrequtils/cpufreq.confd
+++ /dev/null
@@ -1,14 +0,0 @@
-#configuration for cpufreq control
-
-# valid governors:
-# ondemand, performance, powersave,
-# conservative, userspace
-#governor="ondemand"
-
-# limit frequency range (optional)
-# valid suffixes: Hz, kHz (default), MHz, GHz, THz
-#min_freq="2.25GHz"
-#max_freq="3GHz"
-
-# use freq to set up the exact cpu frequency using it with userspace governor
-#freq=
diff --git a/abs/extra/cpufrequtils/cpufreq.rcd b/abs/extra/cpufrequtils/cpufreq.rcd
deleted file mode 100644
index 9bc19b1..0000000
--- a/abs/extra/cpufrequtils/cpufreq.rcd
+++ /dev/null
@@ -1,60 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-# source application-specific settings
-[ -f /etc/conf.d/cpufreq ] && . /etc/conf.d/cpufreq
-
-case "$1" in
- start)
- stat_busy "Setting cpufreq governing rules"
-
- params=""
- if [ -n "$governor" ]; then
- mod="cpufreq_$governor"
- params="-g $governor"
- grep -qw "$governor" /sys/devices/system/cpu/cpu*/cpufreq/scaling_available_governors || modprobe -q $mod
- if [ $? -eq 0 ]; then
- if [ "$min_freq" != "" ]; then
- params="$params -d $min_freq"
- fi
- if [ "$max_freq" != "" ]; then
- params="$params -u $max_freq"
- fi
- else
- stat_busy " Cannot load governor module '$governor'"
- stat_fail
- exit
- fi
- fi
-
- if [ "$params" != "" ]; then
- CPUS=$(sed -ne 's/^processor.* \([0-9]\+\)$/\1/p' /proc/cpuinfo)
- stat_append ", cpu"
- for cpu in $CPUS; do
- stat_append " $cpu"
- cpufreq-set -c $cpu $params
- if [ "$freq" != "" ]; then
- cpufreq-set -c $cpu -f $freq
- fi
- done
- stat_done
- else
- stat_busy " Invalid configuration in /etc/conf.d/cpufreq"
- stat_fail
- fi
- ;;
- stop)
- # nothing to do
- ;;
- restart)
- $0 start
- ;;
- set)
- # TODO: make callable... "cpufreq set 800MHz"
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
diff --git a/abs/extra/crypto++/PKGBUILD b/abs/extra/crypto++/PKGBUILD
deleted file mode 100644
index 45c90d5..0000000
--- a/abs/extra/crypto++/PKGBUILD
+++ /dev/null
@@ -1,36 +0,0 @@
-# $Id$
-# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
-# Contributor: Alexander Rødseth <rodseth@gmail.com>
-# Contributor: Andrea Scarpino <andrea@archlinux.org>
-# Contributor: Kritoke <kritoke@gamebox.net>
-# Contributor: jlvsimoes <jlvsimoes@oninet.pt>
-
-pkgname=crypto++
-pkgver=5.6.1
-_srcver=561
-pkgrel=2
-pkgdesc="A free C++ class library of cryptographic schemes."
-arch=('i686' 'x86_64')
-url="http://www.cryptopp.com/"
-license=('custom')
-depends=('gcc-libs')
-makedepends=('unzip')
-source=(http://www.cryptopp.com/cryptopp${_srcver}.zip
- libcrypto++.pc)
-md5sums=('96cbeba0907562b077e26bcffb483828'
- '2337c6edbc552d9142cae8e0854715e7')
-
-build() {
- cd ${srcdir}
- sed -i -e 's/^CXXFLAGS/#CXXFLAGS/' GNUmakefile
- export CXXFLAGS="${CXXFLAGS} -DNDEBUG -fPIC"
- make -f GNUmakefile
- make libcryptopp.so
- install -d ${pkgdir}/usr/{lib/pkgconfig,include/cryptopp}
- install -m644 *.h ${pkgdir}/usr/include/cryptopp/
- install -m644 libcryptopp.a ${pkgdir}/usr/lib/libcryptopp.a
- install -m644 libcryptopp.so ${pkgdir}/usr/lib/libcryptopp.so
- install -m644 ${srcdir}/libcrypto++.pc "${pkgdir}/usr/lib/pkgconfig/libcrypto++.pc"
- install -D -m644 License.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
-}
-
diff --git a/abs/extra/crypto++/libcrypto++.pc b/abs/extra/crypto++/libcrypto++.pc
deleted file mode 100644
index 698d761..0000000
--- a/abs/extra/crypto++/libcrypto++.pc
+++ /dev/null
@@ -1,11 +0,0 @@
-# Written by Alexander Rødseth <rodseth@gmail.com>
-
-prefix=/usr
-libdir=${prefix}/lib
-includedir=${prefix}/include
-
-Name: libcrypto++-5.6.1
-Description: Class library of cryptographic schemes
-Version: 5.6.1
-Libs: -L${libdir} -lcryptopp
-Cflags: -I${includedir}
diff --git a/abs/extra/crystalhd-firmware/PKGBUILD b/abs/extra/crystalhd-firmware/PKGBUILD
deleted file mode 100644
index 6fcff54..0000000
--- a/abs/extra/crystalhd-firmware/PKGBUILD
+++ /dev/null
@@ -1,24 +0,0 @@
-# Contributor: Lex Rivera <x-demon@x-demon.org>
-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
diff --git a/abs/extra/crystalhd-git/PKGBUILD b/abs/extra/crystalhd-git/PKGBUILD
deleted file mode 100644
index a7b3e7f..0000000
--- a/abs/extra/crystalhd-git/PKGBUILD
+++ /dev/null
@@ -1,52 +0,0 @@
-# Contributor: Petteri Tolonen <petteri.tolonen[at]gmail.com>
-# Maintainer: Petteri Tolonen <petteri.tolonen[at]gmail.com>
-
-pkgname=crystalhd-git
-pkgver=20111227
-pkgrel=1
-pkgdesc="Broadcom CrystalHD kernel module"
-arch=('i686' 'x86_64')
-url="http://linuxtv.org/git/jarod/crystalhd.git"
-license=('GPL2')
-depends=('libcrystalhd-git')
-makedepends=('autoconf' 'make' 'git')
-install='crystalhd-git.install'
-conflicts=('crystalhd')
-_gitroot='git://linuxtv.org/jarod/crystalhd.git'
-_gitname='crystalhd'
-
-build() {
-
- cd $startdir/src
-
- msg "Connecting to the 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
- sed -i 's/'-Werror'/''/g' Makefile
-
- if ! grep -q "<linux/delay.h>" $srcdir/crystalhd/driver/linux/crystalhd_flea_ddr.c
- then
- sed -i '26i #include <linux/delay.h>' $srcdir/crystalhd/driver/linux/crystalhd_flea_ddr.c
- fi
-
- make || 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
-}
-md5sums=()
diff --git a/abs/extra/crystalhd-git/crystalhd-git.install b/abs/extra/crystalhd-git/crystalhd-git.install
deleted file mode 100644
index 077905e..0000000
--- a/abs/extra/crystalhd-git/crystalhd-git.install
+++ /dev/null
@@ -1,6 +0,0 @@
-post_install () {
- depmod -a
-}
-post_upgrade() {
- post_install
-}
diff --git a/abs/extra/cvs/PKGBUILD b/abs/extra/cvs/PKGBUILD
deleted file mode 100644
index 26b95db..0000000
--- a/abs/extra/cvs/PKGBUILD
+++ /dev/null
@@ -1,28 +0,0 @@
-# $Id: PKGBUILD 75326 2010-04-01 10:25:20Z allan $
-# Contributor: dorphell <dorphell@archlinux.org>
-
-pkgname=cvs
-pkgver=1.11.23
-pkgrel=5
-pkgdesc="Concurrent Versions System - a source control system"
-arch=(i686 x86_64)
-url="http://cvs.nongnu.org"
-license=('GPL')
-depends=('heimdal>=1.3.1')
-optdepends=('openssh: for using cvs over ssh' 'inetutils: for using cvs over rsh')
-install=cvs.install
-source=(ftp://ftp.gnu.org/non-gnu/cvs/source/stable/$pkgver/$pkgname-$pkgver.tar.bz2
- cvs-1.11.23-getline64.patch)
-sha256sums=('400f51b59d85116e79b844f2d5dbbad4759442a789b401a94aa5052c3d7a4aa9'
- '9126d7992ace943980ad8a10d5a09aeb6f1eeeb9b921fc796fe31de7b1c220cf')
-
-build() {
- cd $srcdir/$pkgname-$pkgver
- unset EDITOR VISUAL
-
- patch -Np1 -i $srcdir/cvs-1.11.23-getline64.patch || return 1
- ./configure --prefix=/usr
- make || return 1
- make DESTDIR=$pkgdir install
- rm ${pkgdir}/usr/share/info/dir
-}
diff --git a/abs/extra/cvs/cvs-1.11.23-getline64.patch b/abs/extra/cvs/cvs-1.11.23-getline64.patch
deleted file mode 100644
index 99942e0..0000000
--- a/abs/extra/cvs/cvs-1.11.23-getline64.patch
+++ /dev/null
@@ -1,34 +0,0 @@
---- cvs-1.11.23/lib/getline.c 2005-04-04 22:46:05.000000000 +0200
-+++ cvs-1.11.23/lib/getline.c.old 2008-06-03 19:06:25.000000000 +0200
-@@ -154,7 +154,7 @@
- return ret;
- }
-
--int
-+ssize_t
- getline (lineptr, n, stream)
- char **lineptr;
- size_t *n;
-@@ -163,7 +163,7 @@
- return getstr (lineptr, n, stream, '\n', 0, GETLINE_NO_LIMIT);
- }
-
--int
-+ssize_t
- getline_safe (lineptr, n, stream, limit)
- char **lineptr;
- size_t *n;
---- cvs-1.11.23/lib/getline.h 2005-04-04 22:46:05.000000000 +0200
-+++ cvs-1.11.23/lib/getline.h.old 2008-06-03 19:06:27.000000000 +0200
-@@ -11,9 +11,9 @@
-
- #define GETLINE_NO_LIMIT -1
-
--int
-+ssize_t
- getline __PROTO ((char **_lineptr, size_t *_n, FILE *_stream));
--int
-+ssize_t
- getline_safe __PROTO ((char **_lineptr, size_t *_n, FILE *_stream,
- int limit));
- int
diff --git a/abs/extra/cvs/cvs.install b/abs/extra/cvs/cvs.install
deleted file mode 100644
index f1cdd1f..0000000
--- a/abs/extra/cvs/cvs.install
+++ /dev/null
@@ -1,20 +0,0 @@
-infodir=/usr/share/info
-filelist=(cvs.info cvs-info-1 cvs-info-2 cvsclient.info)
-
-post_install() {
- for file in ${filelist[@]}; do
- install-info $infodir/$file $infodir/dir 2> /dev/null
- done
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- for file in ${filelist[@]}; do
- install-info --delete $infodir/$file $infodir/dir 2> /dev/null
- done
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/abs/extra/diffstat/PKGBUILD b/abs/extra/diffstat/PKGBUILD
deleted file mode 100644
index f52c2fb..0000000
--- a/abs/extra/diffstat/PKGBUILD
+++ /dev/null
@@ -1,24 +0,0 @@
-# $Id: PKGBUILD 13739 2008-09-28 10:43:08Z giovanni $
-# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
-# Contributor: Matthias-Christian Ott <matthias.christian.at.tiscali.de>
-
-pkgname=diffstat
-pkgver=1.53
-pkgrel=1
-pkgdesc="diffstat produces graph of changes introduced by a diff file"
-arch=('i686' 'x86_64')
-url="http://invisible-island.net/diffstat"
-depends=('glibc')
-license=('GPL')
-source=(ftp://invisible-island.net/$pkgname/$pkgname-$pkgver.tgz)
-
-build () {
- cd $startdir/src/$pkgname-$pkgver
- ./configure --prefix=/usr --mandir=/usr/share/man
- make || return 1
-}
-package() {
- cd $startdir/src/$pkgname-$pkgver
- make DESTDIR=$startdir/pkg install
-}
-md5sums=('0631010aa598a8011259749dd882936a')
diff --git a/abs/extra/dpgconv/PKGBUILD b/abs/extra/dpgconv/PKGBUILD
deleted file mode 100644
index 82fe117..0000000
--- a/abs/extra/dpgconv/PKGBUILD
+++ /dev/null
@@ -1,22 +0,0 @@
-# Contributor: Nick B <Shirakawasuna at gmail _dot_com>
-pkgname=dpgconv
-pkgver=9
-pkgrel=1
-pkgdesc="This is a converter to produce DPG movies for Moonshell software for Nintendo DS."
-arch=('i686' 'x86_64')
-url="http://theli.is-a-geek.org/blog/static/dpgconv"
-license=('GPL2')
-depends=('mpeg_stat' 'mplayer')
-source=(http://theli.is-a-geek.org/files/dpgconv/dpgconv-$pkgver.py.bz2
- dpgconv-panscan.patch)
-
-build() {
-
-cd $startdir/src
-patch < dpgconv-panscan.patch
-install -m755 -D $startdir/src/dpgconv-$pkgver.py $startdir/pkg/usr/bin/dpgconv-$pkgver.py
-cd $startdir/pkg/usr/bin
-ln -s dpgconv-$pkgver.py dpgconv.py
-}
-md5sums=('fa61ceb4ebb241e98fc005aed86406e5')
-
diff --git a/abs/extra/dpgconv/dpgconv-panscan.patch b/abs/extra/dpgconv/dpgconv-panscan.patch
deleted file mode 100644
index 471d518..0000000
--- a/abs/extra/dpgconv/dpgconv-panscan.patch
+++ /dev/null
@@ -1,83 +0,0 @@
---- dpgconv-9.py.old 2009-10-28 19:33:46.000000000 +1030
-+++ dpgconv-9.py 2009-10-28 19:28:01.000000000 +1030
-@@ -49,9 +49,12 @@
- --width xxx
- destination video width (default: 256)
- --keep-aspect
-- try to keep aspect ratio
-+ try to keep aspect ratio by letterboxing
-+ --keep-aspect-panscan
-+ try to keep aspect ratio by cropping original
-
- NOTE: width/height have no effect when --keep-aspect is set
-+ --keep-aspect-panscan overrides --keep-aspect
-
- --mv
- additional parameters for mencoder for video
-@@ -150,8 +153,38 @@
- v_pf = "format=rgb24,"
- options.pf = 3
-
-- if options.aspect:
-- aspect = commands.getoutput( MPLAYER + " -frames 1 -vo null -ao null -identify \"" + file + "\" | grep -E \"^ID_VIDEO_ASPECT\"")
-+ crop=""
-+ if options.panscan:
-+ options.width=256
-+ options.height=192
-+
-+ aspect = commands.getoutput( MPLAYER + " -frames 1 -vo null -ao null -identify \"" + file + "\" | grep -E \"^ID_VIDEO_ASPECT\" | tail -1")
-+ p1 = re.compile ("ID_VIDEO_ASPECT=(.*)")
-+ m1 = p1.search( aspect )
-+ width = commands.getoutput( MPLAYER + " -frames 1 -vo null -ao null -identify \"" + file + "\" | grep -E \"^ID_VIDEO_WIDTH\" | tail -1")
-+ p2 = re.compile ("ID_VIDEO_WIDTH=(.*)")
-+ m2 = p2.search( width )
-+ height = commands.getoutput( MPLAYER + " -frames 1 -vo null -ao null -identify \"" + file + "\" | grep -E \"^ID_VIDEO_HEIGHT\" | tail -1")
-+ p3 = re.compile ("ID_VIDEO_HEIGHT=(.*)")
-+ m3 = p3.search( height )
-+ if m1 and m2 and m3:
-+ print "Input Aspect %s" % m1.group(1)
-+ print "Input Width %s" % m2.group(1)
-+ print "Input Height %s" % m3.group(1)
-+ ar = float (m1.group(1))
-+ iw = int (m2.group(1))
-+ ih = int (m3.group(1))
-+ if aspect > 1.333333:
-+ cropw=int(round(iw / ar * 4 / 3, 0))
-+ croph=ih
-+ else:
-+ cropw=iw
-+ croph=int(round(ih * ar * 3 / 4, 0))
-+ crop="crop="+`cropw`+":"+`croph`+","
-+ print crop
-+
-+ elif options.aspect:
-+ aspect = commands.getoutput( MPLAYER + " -frames 1 -vo null -ao null -identify \"" + file + "\" | grep -E \"^ID_VIDEO_ASPECT\" | tail -1")
- p = re.compile ("ID_VIDEO_ASPECT=(.*)")
- m = p.search( aspect )
- if m:
-@@ -169,13 +202,13 @@
- if options.fps < 24:
- print "mencoder won't work with double pass and fps < 24, forcing fps = 24"
- options.fps = 24
-- v_cmd = ( " \""+ file +"\" -v -ofps " + `options.fps` + " -sws 9 -vf " + v_pf + "scale=" + `options.width` + ":" + `options.height` +":::3,harddup -nosound -ovc lavc -lavcopts vcodec=mpeg1video:vstrict=-2:mbd=2:trell:cbp:mv0:vmax_b_frames=2:cmp=6:subcmp=6:precmp=6:dia=4:predia=4:bidir_refine=4:mv0_threshold=0:last_pred=3:vbitrate=" + `options.vbps` )
-+ v_cmd = ( " \""+ file +"\" -v -ofps " + `options.fps` + " -sws 9 -vf " + v_pf + crop + "scale=" + `options.width` + ":" + `options.height` +":::3,harddup -nosound -ovc lavc -lavcopts vcodec=mpeg1video:vstrict=-2:mbd=2:trell:cbp:mv0:vmax_b_frames=2:cmp=6:subcmp=6:precmp=6:dia=4:predia=4:bidir_refine=4:mv0_threshold=0:last_pred=3:vbitrate=" + `options.vbps` )
- elif options.hq:
-- v_cmd = ( " \""+ file +"\" -v -ofps " + `options.fps` + " -sws 9 -vf " + v_pf + "scale=" + `options.width` + ":" + `options.height` +":::3,harddup -nosound -ovc lavc -lavcopts vcodec=mpeg1video:vstrict=-2:mbd=2:trell:cbp:mv0:cmp=6:subcmp=6:precmp=6:dia=3:predia=3:last_pred=3:vbitrate=" + `options.vbps` + " -o " + MPGTMP + " -of rawvideo" )
-+ v_cmd = ( " \""+ file +"\" -v -ofps " + `options.fps` + " -sws 9 -vf " + v_pf + crop + "scale=" + `options.width` + ":" + `options.height` +":::3,harddup -nosound -ovc lavc -lavcopts vcodec=mpeg1video:vstrict=-2:mbd=2:trell:cbp:mv0:cmp=6:subcmp=6:precmp=6:dia=3:predia=3:last_pred=3:vbitrate=" + `options.vbps` + " -o " + MPGTMP + " -of rawvideo" )
- elif options.lq:
-- v_cmd = ( " \"" + file + "\" -v -ofps " + `options.fps` + " -vf " + v_pf + "scale=" + `options.width` + ":" + `options.height` + ",harddup -nosound -ovc lavc -lavcopts vcodec=mpeg1video:vstrict=-2:vbitrate=" + `options.vbps` + " -o " + MPGTMP + " -of rawvideo" )
-+ v_cmd = ( " \"" + file + "\" -v -ofps " + `options.fps` + " -vf " + v_pf + crop + "scale=" + `options.width` + ":" + `options.height` + ",harddup -nosound -ovc lavc -lavcopts vcodec=mpeg1video:vstrict=-2:vbitrate=" + `options.vbps` + " -o " + MPGTMP + " -of rawvideo" )
- else :
-- v_cmd = ( " \""+ file +"\" -v -ofps " + `options.fps` + " -sws 9 -vf " + v_pf + "scale=" + `options.width` + ":" + `options.height` + ":::3,harddup -nosound -ovc lavc -lavcopts vcodec=mpeg1video:vstrict=-2:mbd=2:trell:cbp:mv0:cmp=2:subcmp=2:precmp=2:vbitrate=" + `options.vbps` + " -o " + MPGTMP + " -of rawvideo")
-+ v_cmd = ( " \""+ file +"\" -v -ofps " + `options.fps` + " -sws 9 -vf " + v_pf + crop + "scale=" + `options.width` + ":" + `options.height` + ":::3,harddup -nosound -ovc lavc -lavcopts vcodec=mpeg1video:vstrict=-2:mbd=2:trell:cbp:mv0:cmp=2:subcmp=2:precmp=2:vbitrate=" + `options.vbps` + " -o " + MPGTMP + " -of rawvideo")
-
- if options.nosub:
- if options.sub != None:
-@@ -459,6 +492,7 @@
- parser.add_option("-a","--abps", type="int", dest="abps", default=128)
- parser.add_option("--volnorm", action="store_true", dest="volnorm", default=False)
- parser.add_option("--keep-aspect", action="store_true", dest="aspect", default=False)
-+parser.add_option("--keep-aspect-panscan", action="store_true", dest="panscan", default=False)
- parser.add_option("--height", type="int", dest="height", default=192)
- parser.add_option("--width", type="int", dest="width", default=256)
- parser.add_option("-z","--hz", type="int", dest="hz", default=32000)
diff --git a/abs/extra/exo/PKGBUILD b/abs/extra/exo/PKGBUILD
deleted file mode 100644
index e4eaf14..0000000
--- a/abs/extra/exo/PKGBUILD
+++ /dev/null
@@ -1,33 +0,0 @@
-# $Id: PKGBUILD 89681 2010-09-03 08:02:13Z remy $
-# Maintainer: AndyRTR <andyrtr@archlinux.org>
-# Contributor: tobias <tobias funnychar archlinux.org>
-# Contributor: Aurelien Foret <orelien@chez.com>
-
-pkgname=exo
-pkgver=0.3.107
-pkgrel=2
-pkgdesc="Extensions to Xfce by os-cillation"
-arch=('i686' 'x86_64')
-license=('GPL2' 'LGPL')
-url="http://www.xfce.org/projects/exo"
-depends=("libxfce4util>=4.6.2" "hal>=0.5.14" 'gtk2' 'hicolor-icon-theme' 'sh')
-makedepends=("pygtk>=2.17.0" 'pkgconfig' 'libnotify' 'perl-uri' 'intltool')
-optdepends=('libnotify: notification support for exo-mount-notify' \
- 'perl-uri: for mail-compose helper script')
-options=('!libtool')
-install=${pkgname}.install
-source=(http://archive.xfce.org/src/xfce/${pkgname}/0.3/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('3a92cca0c99ee940db4410891c9e8498')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/xfce4 \
- --localstatedir=/var --disable-static --enable-notifications \
- --enable-python || return 1
- make || return 1
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install || return 1
-}
diff --git a/abs/extra/exo/exo.install b/abs/extra/exo/exo.install
deleted file mode 100644
index 21b79d2..0000000
--- a/abs/extra/exo/exo.install
+++ /dev/null
@@ -1,11 +0,0 @@
-post_install() {
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-}
-
-post_upgrade() {
- post_install $1
-}
-
-post_remove() {
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-}
diff --git a/abs/extra/fakeroot/PKGBUILD b/abs/extra/fakeroot/PKGBUILD
deleted file mode 100644
index 688c3d3..0000000
--- a/abs/extra/fakeroot/PKGBUILD
+++ /dev/null
@@ -1,28 +0,0 @@
-# $Id: PKGBUILD 29508 2009-03-09 17:06:43Z andyrtr $
-# Maintainer: Andreas Radke <andyrtr@archlinux.org>
-# Contributor: Jochem Kossen <j.kossen@home.nl>
-
-pkgname=fakeroot
-pkgver=1.14.4
-pkgrel=1
-pkgdesc="Gives a fake root environment, useful for building packages as a non-privileged user"
-arch=('i686' 'x86_64')
-license=('GPL')
-url="http://packages.debian.org/fakeroot"
-groups=('base-devel')
-install=fakeroot.install
-depends=('glibc' 'filesystem' 'grep' 'sed')
-options=('!libtool')
-source=(http://ftp.debian.org/debian/pool/main/f/$pkgname/${pkgname}_${pkgver}.orig.tar.bz2)
-
-build() {
- cd ${srcdir}/$pkgname-$pkgver
- ./configure --prefix=/usr --libdir=/usr/lib/libfakeroot \
- --disable-static --with-ipc=sysv
- # --with-ipc=tcp is currently broken and no option on smp systems
- make || return 1
- make DESTDIR=${pkgdir} install || return 1
- # install README for sysv/tcp usage
- install -Dm644 $srcdir/$pkgname-$pkgver/README $pkgdir/usr/share/doc/$pkgname/README
-}
-md5sums=('bea628be77838aaa7323a2f7601c2d7e')
diff --git a/abs/extra/fakeroot/fakeroot.install b/abs/extra/fakeroot/fakeroot.install
deleted file mode 100644
index c2f62a7..0000000
--- a/abs/extra/fakeroot/fakeroot.install
+++ /dev/null
@@ -1,30 +0,0 @@
-# arg 1: the new package version
-post_install() {
- if [ ! "`grep /usr/lib/libfakeroot etc/ld.so.conf`" ]; then
- echo -n "updating /etc/ld.so.conf... "
- echo "/usr/lib/libfakeroot" >>etc/ld.so.conf
- sbin/ldconfig -r .
- echo "done."
- fi
-echo "The package is built using sysv ipc. If this causes segfaults"
-echo "see included README file and rebuild the pkg --with-ipc=tcp"
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-post_upgrade() {
- post_install $1
-}
-
-# arg 1: the old package version
-pre_remove() {
- echo -ne "\nupdating /etc/ld.so.conf... "
- sed -i -e '/\/usr\/lib\/libfakeroot/d' etc/ld.so.conf
- sbin/ldconfig -r .
- echo "done."
-}
-
-op=$1
-shift
-
-$op $*
diff --git a/abs/extra/ffmpegthumbnailer/PKGBUILD b/abs/extra/ffmpegthumbnailer/PKGBUILD
deleted file mode 100644
index 8be79eb..0000000
--- a/abs/extra/ffmpegthumbnailer/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# $Id: PKGBUILD 23110 2010-08-06 11:01:51Z rvanharen $
-# Maintainer: Ronald van Haren <ronald.archlinux.org>
-# Contributor: boromil@gmail.com
-
-pkgname=ffmpegthumbnailer
-pkgver=2.0.6
-pkgrel=1
-pkgdesc="Lightweight video thumbnailer that can be used by file managers."
-url="http://code.google.com/p/ffmpegthumbnailer/"
-license=('GPL2')
-arch=('i686' 'x86_64')
-depends=('ffmpeg' 'libjpeg' 'libpng')
-optdepends=('gvfs: support for gio uris')
-source=(http://ffmpegthumbnailer.googlecode.com/files/$pkgname-$pkgver.tar.gz)
-options=(!libtool)
-md5sums=('5003ceaadc1c5a1be1dbb34739a12bab')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- ./configure --prefix=/usr --enable-gio
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-}
-
-
diff --git a/abs/extra/fuppes-svn/PKGBUILD b/abs/extra/fuppes-svn/PKGBUILD
deleted file mode 100644
index 03ffb9c..0000000
--- a/abs/extra/fuppes-svn/PKGBUILD
+++ /dev/null
@@ -1,54 +0,0 @@
-# Contributor: Andrew Krawchyk <krawch_a@denison.edu>
-# patch for svn r634: Ivan Yurasov <vd@vdk.su>
-
-pkgname=fuppes-svn
-pkgver=664
-pkgrel=1
-pkgdesc="A free, multiplatform Universal Plug and Play A/V MediaServer"
-arch=('i686' 'x86_64')
-url="http://fuppes.ulrich-voelkel.de/"
-license=('GPL2')
-depends=('pcre' 'libxml2' 'sqlite3' 'gettext' 'taglib' 'imagemagick' 'ffmpeg' 'libmp4v2' 'lame' 'libvorbis' 'libmpcdec' 'flac' 'faad2' 'libmad')
-makdepends=('pkgconfig' 'autoconf' 'subversion')
-install=fuppes.install
-source=(fuppes-r634-archlinux.patch fuppes.diff fuppes.cfg run fuppes.ch fuppes.lr)
-
-_svnmod="fuppes"
-_svntrunk="https://fuppes.svn.sourceforge.net/svnroot/fuppes/trunk"
-
-build()
-{
- cd ${startdir}/src
-
- msg "Getting sources..."
- svn co ${_svntrunk} ${_svnmod}
- msg "Done getting sources or failed to connect to server."
-
- cd ${_svnmod}
-
-# patch -Np0 -i ../fuppes-r634-archlinux.patch
-# patch -Np0 -i ../fuppes.diff
- autoreconf -vfi
-
- ./configure --prefix=/usr \
- --enable-video-transcoding \
- --disable-twolame || return 1
-
- make || return 1
- make DESTDIR=$startdir/pkg install || return 1
- mkdir -p $startdir/pkg/etc/sv/fuppes/supervise
- install -D -m755 $startdir/src/run $startdir/pkg/etc/sv/fuppes/
- mkdir -p $startdir/pkg/etc/fuppes
- cp $startdir/src/fuppes.cfg $startdir/pkg/etc/fuppes
- mkdir -p $startdir/pkg/etc/cron.hourly
- mkdir -p $startdir/pkg/etc/logrotate.d/
- install -D -m755 $startdir/src/fuppes.ch $startdir/pkg/etc/cron.hourly
- install -D -m755 $startdir/src/run $startdir/pkg/etc/sv/fuppes
- install -D -m755 $startdir/src/fuppes.lr $startdir/pkg/etc/logrotate.d
-}
-md5sums=('5d9f6331cc91b64aab69449ce327b214'
- 'c495fa1bd9a870ae36820632434319ee'
- 'b0cef07d8e60d01c8146a69870672e1f'
- '3850001378088e5efac60487e5550d54'
- '3c355b860f1b0d273f5aa8b2bea1bde6'
- '3151a3862fbc6b758d7ae5776eba3d57')
diff --git a/abs/extra/fuppes-svn/PKGBUILD.orig b/abs/extra/fuppes-svn/PKGBUILD.orig
deleted file mode 100644
index 79d11e2..0000000
--- a/abs/extra/fuppes-svn/PKGBUILD.orig
+++ /dev/null
@@ -1,52 +0,0 @@
-# Contributor: Andrew Krawchyk <krawch_a@denison.edu>
-# patch for svn r634: Ivan Yurasov <vd@vdk.su>
-
-pkgname=fuppes-svn
-pkgver=636
-pkgrel=9
-pkgdesc="A free, multiplatform Universal Plug and Play A/V MediaServer"
-arch=('i686' 'x86_64')
-url="http://fuppes.ulrich-voelkel.de/"
-license=('GPL2')
-depends=('pcre' 'libxml2' 'sqlite3' 'gettext' 'taglib' 'imagemagick' 'ffmpeg' 'libmp4v2' 'lame' 'libvorbis' 'libmpcdec' 'flac' 'faad2' 'libmad')
-makdepends=('pkgconfig' 'autoconf' 'subversion')
-install=fuppes.install
-source=(fuppes-r634-archlinux.patch fuppes.diff fuppes.cfg run fuppes.ch fuppes.lr)
-md5sums=('5d9f6331cc91b64aab69449ce327b214' 'c495fa1bd9a870ae36820632434319ee' \
- 'b0cef07d8e60d01c8146a69870672e1f' '3850001378088e5efac60487e5550d54' \
- '3c355b860f1b0d273f5aa8b2bea1bde6')
-
-_svnmod="fuppes"
-_svntrunk="https://fuppes.svn.sourceforge.net/svnroot/fuppes/trunk"
-
-build()
-{
- cd ${startdir}/src
-
- msg "Getting sources..."
- svn co -r 636 ${_svntrunk} ${_svnmod}
- msg "Done getting sources or failed to connect to server."
-
- cd ${_svnmod}
-
- patch -Np0 -i ../fuppes-r634-archlinux.patch
- patch -Np0 -i ../fuppes.diff
- autoreconf -vfi
-
- ./configure --prefix=/usr \
- --enable-video-transcoding \
- --disable-twolame || return 1
-
- make || return 1
- make DESTDIR=$startdir/pkg install || return 1
- mkdir -p $startdir/pkg/etc/sv/fuppes/supervise
- install -D -m755 $startdir/src/run $startdir/pkg/etc/sv/fuppes/
- mkdir -p $startdir/pkg/etc/fuppes
- cp $startdir/src/fuppes.cfg $startdir/pkg/etc/fuppes
- mkdir -p $startdir/pkg/etc/cron.hourly
- mkdir -p $startdir/pkg/etc/logrotate.d/
- mkdir -p $startdir/pkg/etc/sv/fuppes/supervise
- install -D -m755 $startdir/src/fuppes.ch $startdir/pkg/etc/cron.hourly
- install -D -m755 $startdir/src/run $startdir/pkg/etc/sv/fuppes
- install -D -m755 $startdir/src/fuppes.lr $startdir/pkg/etc/logrotate.d
-}
diff --git a/abs/extra/fuppes-svn/fuppes-r634-archlinux.patch b/abs/extra/fuppes-svn/fuppes-r634-archlinux.patch
deleted file mode 100644
index feaccfa..0000000
--- a/abs/extra/fuppes-svn/fuppes-r634-archlinux.patch
+++ /dev/null
@@ -1,93 +0,0 @@
-Index: src/plugins/ffmpeg/ffmpeg.cpp
-===================================================================
---- src/plugins/ffmpeg/ffmpeg.cpp (revision 634)
-+++ src/plugins/ffmpeg/ffmpeg.cpp (working copy)
-@@ -2190,7 +2190,7 @@
- p=NULL;
- for(p = av_codec_next(p); p != NULL; p = av_codec_next(p) ) {
- #else
-- for(p = first_avcodec; p != NULL; p = p->next) {
-+ for(p = av_codec_next(NULL); p != NULL; p = p->next) {
- #endif
-
- if((p2==NULL || strcmp(p->name, p2->name)<0) &&
-@@ -2269,7 +2269,7 @@
- }
- avformat_opts = av_alloc_format_context();
- #ifdef HAVE_LIBSWSCALE
-- sws_opts = sws_getContext(16,16,0, 16,16,0, sws_flags, NULL,NULL,NULL);
-+ sws_opts = sws_getContext(16,16,(PixelFormat)0, 16,16,(PixelFormat)0, sws_flags, NULL,NULL,NULL);
- #endif
-
-
-Index: src/plugins/ffmpeg/ffmpeg.h
-===================================================================
---- src/plugins/ffmpeg/ffmpeg.h (revision 634)
-+++ src/plugins/ffmpeg/ffmpeg.h (working copy)
-@@ -38,7 +38,7 @@
- #include <ctype.h>
- #include <string.h>
-
--#if FFMPEG_VERSION >= 52 && !defined(OLD_INCLUDES_PATH)
-+/* #if FFMPEG_VERSION >= 52 && !defined(OLD_INCLUDES_PATH) */
- #include <libavformat/avformat.h>
- #include <libavutil/avutil.h>
- #include <libavutil/fifo.h>
-@@ -51,27 +51,27 @@
- #ifdef HAVE_AVSTRING_H
- #include <libavutil/avstring.h>
- #endif
--#else
-+/* #else
- #include <avformat.h>
- #include <avutil.h>
- #include <fifo.h>
-- #include <opt.h>
-+ #include <opt.h> */
-
-
- #ifdef HAVE_LIBSWSCALE
-- #include <swscale.h>
-+ #include <libswscale/swscale.h>
- #endif
-
- #ifdef HAVE_AVSTRING_H
-- #include <avstring.h>
-+ #include <libavutil/avstring.h>
- #endif
--#endif
-+/* #endif */
-
-
- #include <math.h>
- #include <stdlib.h>
- #include <limits.h>
-- //#include <mem.h>
-+ //#include <mem.h>
-
- }
- #endif // __cplusplus
-Index: version.sh
-===================================================================
---- version.sh (revision 634)
-+++ version.sh (working copy)
-@@ -1,8 +1,15 @@
- #!/bin/sh
-
--svn_revision=`cd "$1" && LC_ALL=C svn info 2> /dev/null | grep Revision | cut -d' ' -f2`
--test $svn_revision || svn_revision=`cd "$1" && grep revision .svn/entries 2>/dev/null | cut -d '"' -f2`
--test $svn_revision || svn_revision=`cd "$1" && sed -n -e '/^dir$/{n;p;q}' .svn/entries 2>/dev/null`
-+if [ "$1" == "" ]
-+then
-+DIR="."
-+else
-+DIR="$1"
-+fi
-+
-+svn_revision=`cd "$DIR" && LC_ALL=C svn info 2> /dev/null | grep Revision | cut -d' ' -f2`
-+test $svn_revision || svn_revision=`cd "$DIR" && grep revision .svn/entries 2>/dev/null | cut -d '"' -f2`
-+test $svn_revision || svn_revision=`cd "$DIR" && sed -n -e '/^dir$/{n;p;q}' .svn/entries 2>/dev/null`
- test $svn_revision || svn_revision=UNKNOWN
-
- NEW_REVISION="#define FUPPES_VERSION \"0.$svn_revision\""
-
diff --git a/abs/extra/fuppes-svn/fuppes.cfg b/abs/extra/fuppes-svn/fuppes.cfg
deleted file mode 100644
index beb81cf..0000000
--- a/abs/extra/fuppes-svn/fuppes.cfg
+++ /dev/null
@@ -1,216 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<fuppes_config version="0.7.2.3">
- <shared_objects>
- <!--<dir>/mnt/music</dir>-->
- <!--<itunes>/Users/.../iTunes.xml</itunes>-->
- <dir>/myth/tv</dir>
- <dir>/myth/video</dir>
- <dir>/myth/music</dir>
- <dir>/myth/gallery</dir>
- <dir>/myth/pretty</dir>
- </shared_objects>
- <network>
- <!--empty = automatic detection-->
- <interface>192.168.1.253</interface>
- <!--empty or 0 = random port-->
- <http_port>81</http_port>
- <!--list of ip addresses allowed to access fuppes. if empty all ips are allowed-->
- <allowed_ips>
- <!--<ip>192.168.0.1</ip>-->
- </allowed_ips>
- </network>
- <content_directory>
- <!--a list of possible charsets can be found under:
- http://www.gnu.org/software/libiconv/-->
- <local_charset>UTF-8</local_charset>
- <!--libs used for metadata extraction when building the database. [true|false]-->
- <use_imagemagick>true</use_imagemagick>
- <use_taglib>true</use_taglib>
- <use_libavformat>true</use_libavformat>
- </content_directory>
- <global_settings>
- <temp_dir/>
- <!--uuid is written to and read from <config-dir>/uuid.txt if set to true-->
- <use_fixed_uuid>false</use_fixed_uuid>
- </global_settings>
- <device_settings>
- <!--"default" settings are inhertied by specific devices and can be overwritten-->
- <!--do NOT remove the "default" device settings-->
- <!--all new file types have to be added to the default settings-->
- <!--adding new file types just to a specific device will have no affect-->
- <device name="default">
- <!--specify the maximum length for file names (0 or empty = unlimited)-->
- <max_file_name_length>0</max_file_name_length>
- <!--[file|container]-->
- <playlist_style>file</playlist_style>
- <show_childcount_in_title>false</show_childcount_in_title>
- <enable_dlna>false</enable_dlna>
- <transcoding_release_delay>4</transcoding_release_delay>
- <file_settings>
- <!--audio files-->
- <file ext="mp3">
- <type>AUDIO_ITEM</type>
- <mime_type>audio/mpeg</mime_type>
- <dlna>MP3</dlna>
- </file>
- <file ext="ogg">
- <type>AUDIO_ITEM</type>
- <mime_type>application/octet-stream</mime_type>
- <transcode enabled="true">
- <ext>mp3</ext>
- <mime_type>audio/mpeg</mime_type>
- <dlna>MP3</dlna>
- <http_encoding>chunked</http_encoding>
- <decoder>vorbis</decoder>
- <encoder>lame</encoder>
- <bitrate>192</bitrate>
- <samplerate>44100</samplerate>
- </transcode>
- </file>
- <file ext="mpc">
- <type>AUDIO_ITEM</type>
- <mime_type>application/octet-stream</mime_type>
- <transcode enabled="true">
- <ext>mp3</ext>
- <mime_type>audio/mpeg</mime_type>
- <dlna>MP3</dlna>
- <http_encoding>chunked</http_encoding>
- <decoder>musepack</decoder>
- <encoder>lame</encoder>
- <bitrate>192</bitrate>
- <samplerate>44100</samplerate>
- </transcode>
- </file>
- <file ext="wav">
- <type>AUDIO_ITEM</type>
- <mime_type>audio/x-wav</mime_type>
- </file>
- <file ext="flac">
- <type>AUDIO_ITEM</type>
- <mime_type>audio/x-flac</mime_type>
- <transcode enabled="true">
- <ext>mp3</ext>
- <mime_type>audio/mpeg</mime_type>
- <dlna>MP3</dlna>
- <http_encoding>chunked</http_encoding>
- <decoder>flac</decoder>
- <encoder>lame</encoder>
- <bitrate>192</bitrate>
- <samplerate>44100</samplerate>
- </transcode>
- </file>
- <file ext="wma">
- <type>AUDIO_ITEM</type>
- <mime_type>audio/x-ms-wma</mime_type>
- <dlna>WMAFULL</dlna>
- </file>
- <!--image files-->
- <file ext="jpg">
- <ext>jpeg</ext>
- <type>IMAGE_ITEM</type>
- <mime_type>image/jpeg</mime_type>
- <convert enabled="false">
- <!--<dcraw enabled="true">-q 0</dcraw>-->
- <ext>png</ext>
- <mime_type>image/png</mime_type>
- <height>0</height>
- <width>0</width>
- <!--set "greater" to "true" if you only want to resize images greater than "height" or "width"-->
- <greater>false</greater>
- <!--set "less" to "true" if you only want to resize images less than "height" or "width"-->
- <less>false</less>
- <!--set "less" and "greater" to "false" if you always want to resize-->
- </convert>
- </file>
- <file ext="bmp">
- <type>IMAGE_ITEM</type>
- <mime_type>image/bmp</mime_type>
- </file>
- <file ext="png">
- <type>IMAGE_ITEM</type>
- <mime_type>image/png</mime_type>
- </file>
- <file ext="gif">
- <type>IMAGE_ITEM</type>
- <mime_type>image/gif</mime_type>
- </file>
- <!--video files-->
- <file ext="mpg">
- <ext>mpeg</ext>
- <type>VIDEO_ITEM</type>
- <mime_type>video/mpeg</mime_type>
- </file>
- <file ext="mp4">
- <type>VIDEO_ITEM</type>
- <mime_type>video/mp4</mime_type>
- </file>
- <file ext="avi">
- <type>VIDEO_ITEM</type>
- <mime_type>video/x-msvideo</mime_type>
- </file>
- <file ext="wmv">
- <type>VIDEO_ITEM</type>
- <mime_type>video/x-ms-wmv</mime_type>
- </file>
- <file ext="vob">
- <type>VIDEO_ITEM</type>
- <mime_type>video/x-ms-vob</mime_type>
- </file>
- <file ext="vdr">
- <type>VIDEO_ITEM</type>
- <mime_type>video/x-extension-vdr</mime_type>
- <transcode enabled="true">
- <ext>vob</ext>
- <mime_type>video/x-ms-vob</mime_type>
- </transcode>
- </file>
- <file ext="flv">
- <type>VIDEO_ITEM</type>
- <mime_type>application/x-flash-video</mime_type>
- </file>
- <file ext="asf">
- <type>VIDEO_ITEM</type>
- <mime_type>video/x-ms-asf</mime_type>
- </file>
- <!--playlists-->
- <file ext="pls">
- <type>PLAYLIST</type>
- <mime_type>audio/x-scpls</mime_type>
- </file>
- <file ext="m3u">
- <type>PLAYLIST</type>
- <mime_type>audio/x-mpegurl</mime_type>
- </file>
- </file_settings>
- </device>
- <!--For other device settings take a look at http://fuppes.ulrich-voelkel.de/wiki/index.php/Category:Device-->
- <!--If you have more than one device it is a good idea to set the ip address as some devices may have conflicting "user agents".-->
- <!--It is safe to remove unneeded devices-->
- <device name="PS3" enabled="false">
- <user_agent>UPnP/1.0 DLNADOC/1.00</user_agent>
- <user_agent>PLAYSTATION3</user_agent>
- <!--<ip></ip>-->
- <enable_dlna>true</enable_dlna>
- <transcoding_release_delay>50</transcoding_release_delay>
- <file_settings>
- <file ext="ogg">
- <type>AUDIO_ITEM_MUSIC_TRACK</type>
- <transcode enabled="true">
- <http_encoding>stream</http_encoding>
- </transcode>
- </file>
- </file_settings>
- </device>
- <device name="Xbox 360" virtual="Xbox 360" enabled="false">
- <user_agent>Xbox/2.0.\d+.\d+ UPnP/1.0 Xbox/2.0.\d+.\d+</user_agent>
- <user_agent>Xenon</user_agent>
- <xbox360>true</xbox360>
- <show_empty_resolution>true</show_empty_resolution>
- <description_values>
- <friendly_name>%s %v : 1 : Windows Media Connect</friendly_name>
- <model_name>Windows Media Connect compatible (%s)</model_name>
- <model_number>2.0</model_number>
- </description_values>
- </device>
- </device_settings>
-</fuppes_config>
diff --git a/abs/extra/fuppes-svn/fuppes.ch b/abs/extra/fuppes-svn/fuppes.ch
deleted file mode 100644
index 60960b5..0000000
--- a/abs/extra/fuppes-svn/fuppes.ch
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/bash
-/usr/bin/wget -O /dev/null -q http://localhost:81/presentation/options.html?db=update &> /dev/null
diff --git a/abs/extra/fuppes-svn/fuppes.diff b/abs/extra/fuppes-svn/fuppes.diff
deleted file mode 100644
index 9b7b6a8..0000000
--- a/abs/extra/fuppes-svn/fuppes.diff
+++ /dev/null
@@ -1,25 +0,0 @@
---- src/plugins/ffmpeg/ffmpeg.cpp.orig 2009-05-29 20:12:09.000000000 +0000
-+++ src/plugins/ffmpeg/ffmpeg.cpp 2009-05-29 20:10:01.000000000 +0000
-@@ -1021,19 +1021,9 @@
- if (subtitle_to_free) {
- if (subtitle_to_free->rects != NULL) {
- for (i = 0; i < subtitle_to_free->num_rects; i++) {
--
--#ifndef LIBAVCODEC_VERSION_MINOR
--#define LIBAVCODEC_VERSION_MINOR 0
--#endif
--
--#if LIBAVCODEC_VERSION_MINOR >= 11
-- av_freep(subtitle_to_free->rects[i]->pict.data[0]);
-- av_freep(subtitle_to_free->rects[i]->pict.data[1]);
-- av_freep(subtitle_to_free->rects[i]);
--#else
-- av_free(subtitle_to_free->rects[i].bitmap);
-- av_free(subtitle_to_free->rects[i].rgba_palette);
--#endif
-+ av_freep(&subtitle_to_free->rects[i]->pict.data[0]);
-+ av_freep(&subtitle_to_free->rects[i]->pict.data[1]);
-+ av_freep(&subtitle_to_free->rects[i]);
- }
- av_freep(&subtitle_to_free->rects);
- }
diff --git a/abs/extra/fuppes-svn/fuppes.install b/abs/extra/fuppes-svn/fuppes.install
deleted file mode 100644
index d0099e3..0000000
--- a/abs/extra/fuppes-svn/fuppes.install
+++ /dev/null
@@ -1,20 +0,0 @@
-# arg 1: the new package version
-post_install() {
- sv stop mythbackend
- mv /etc/sv/mythbackend/run /tmp
- sed 's/logfile/noupnp\ --logfile/' </tmp/run >/etc/sv/mythbackend/run
- chmod 755 /etc/sv/mythbackend/run
- sv start mythbackend
- add_service.sh fuppes
- sv start fuppes
-}
-
-post_remove() {
- sv stop fuppes
- remove_service.sh fuppes
- mv /etc/sv/mythbackend/run /tmp/run
- sv stop mythbackend
- sed 's/--noupnp\ --logfile/--logfile/' </tmp/run >/etc/sv/mythbackend/run
- chmod 755 /etc/sv/mythbackend/run
- sv start mythbackend
-}
diff --git a/abs/extra/fuppes-svn/fuppes.lr b/abs/extra/fuppes-svn/fuppes.lr
deleted file mode 100644
index ec2f88f..0000000
--- a/abs/extra/fuppes-svn/fuppes.lr
+++ /dev/null
@@ -1,9 +0,0 @@
-/var/log/fuppes/fuppes.log {
- copytruncate
- daily
- size 10M
- missingok
- rotate 7
- compress
- notifempty
-}
diff --git a/abs/extra/fuppes-svn/run b/abs/extra/fuppes-svn/run
deleted file mode 100755
index dc69879..0000000
--- a/abs/extra/fuppes-svn/run
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/bash
-exec su mythtv -c "/usr/bin/fuppes --config-dir /etc/fuppes --database-file /data/srv/fuppes/fuppes.db --temp-dir /myth/tmp"
diff --git a/abs/extra/gdl/PKGBUILD b/abs/extra/gdl/PKGBUILD
deleted file mode 100644
index f7ee580..0000000
--- a/abs/extra/gdl/PKGBUILD
+++ /dev/null
@@ -1,23 +0,0 @@
-# $Id: PKGBUILD 32356 2009-03-30 17:59:10Z andyrtr $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=gdl
-pkgver=2.90.0
-pkgrel=1
-pkgdesc="Gnome Devtool Libraries"
-arch=(i686 x86_64)
-license=('GPL')
-url="http://www.gnome.org/"
-depends=('libglade>=2.6.4')
-makedepends=('pkgconfig')
-options=('!libtool')
-source=(http://ftp.gnome.org/pub/GNOME/sources/gdl/2.90/${pkgname}-${pkgver}.tar.bz2)
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --sysconfdir=/etc \
- --localstatedir=/var --disable-static || return 1
- make || return 1
- make DESTDIR="${pkgdir}" install || return 1
-}
-md5sums=('7ccaafc1b55c510a4e39ea7e54844bb3')
diff --git a/abs/extra/glib-perl/PKGBUILD b/abs/extra/glib-perl/PKGBUILD
deleted file mode 100644
index 121377f..0000000
--- a/abs/extra/glib-perl/PKGBUILD
+++ /dev/null
@@ -1,27 +0,0 @@
-# $Id: PKGBUILD 81903 2010-06-07 10:01:01Z jgc $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-# Contributor: Sarah Hay <sarah@archlinux.org>
-
-pkgname=glib-perl
-_realname=Glib
-pkgver=1.223
-pkgrel=1
-pkgdesc="Perl wrappers for glib 2.x, including GObject"
-arch=('i686' 'x86_64')
-license=('LGPL')
-url="http://gtk2-perl.sourceforge.net/"
-options=('!emptydirs')
-depends=('glib2>=2.24.1' 'perl>=5.10.1')
-makedepends=('perl-extutils-depends>=0.302' 'perl-extutils-pkgconfig>=1.12')
-source=(http://downloads.sourceforge.net/sourceforge/gtk2-perl/${_realname}-${pkgver}.tar.gz)
-md5sums=('cfdeaa8c95448f86c30b505e4701abf1')
-
-build() {
- cd "${srcdir}/${_realname}-${pkgver}"
- perl Makefile.PL INSTALLDIRS=vendor || return 1
- make || return 1
-}
-package() {
- cd "${srcdir}/${_realname}-${pkgver}"
- make DESTDIR="${pkgdir}" install || return 1
-}
diff --git a/abs/extra/glib-perl/__changelog b/abs/extra/glib-perl/__changelog
deleted file mode 100644
index e44f8a2..0000000
--- a/abs/extra/glib-perl/__changelog
+++ /dev/null
@@ -1 +0,0 @@
-change perl dep to 5.10.1
diff --git a/abs/extra/gnome-desktop/PKGBUILD b/abs/extra/gnome-desktop/PKGBUILD
deleted file mode 100644
index 7c10e8c..0000000
--- a/abs/extra/gnome-desktop/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# $Id: PKGBUILD 99767 2010-11-17 12:13:39Z ibiru $
-# Maintainer: Jan de Groot <jan@archlinux.org>
-
-pkgname=gnome-desktop
-pkgver=2.32.1
-pkgrel=1
-pkgdesc="The GNOME Desktop"
-arch=('i686' 'x86_64')
-license=('GPL' 'LGPL')
-depends=('gconf>=2.32.0' 'startup-notification>=0.10')
-makedepends=('gnome-doc-utils>=0.20.1' 'intltool')
-optdepends=('pygtk: gnome-about')
-url="http://www.gnome.org"
-groups=('gnome')
-options=('!libtool')
-source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.32/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('55cbecf67efe1fa1e57ac966520a7c46d799c8ba3c652a1219f60cafccb3739d')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --sysconfdir=/etc \
- --localstatedir=/var --disable-static \
- --with-gnome-distributor="Archlinux" \
- --disable-scrollkeeper
- make || return 1
-}
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-}
diff --git a/abs/extra/gnome-keyring/PKGBUILD b/abs/extra/gnome-keyring/PKGBUILD
deleted file mode 100644
index 5da3d28..0000000
--- a/abs/extra/gnome-keyring/PKGBUILD
+++ /dev/null
@@ -1,28 +0,0 @@
-#$Id: PKGBUILD 97123 2010-10-26 16:27:27Z ibiru $
-# Maintainer: Jan De Groot <jgc@archlinux.org>
-
-pkgname=gnome-keyring
-pkgver=2.32.1
-pkgrel=1
-pkgdesc="GNOME Password Management daemon"
-arch=(i686 x86_64)
-license=('GPL' 'LGPL')
-depends=('gtk2>=2.22.0' 'dconf')
-makedepends=('intltool' 'pkgconfig' 'python2')
-groups=('gnome')
-options=('!libtool' '!emptydirs')
-url="http://www.gnome.org"
-install=gnome-keyring.install
-source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.32/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('31fecec1430a97f59a6159a5a2ea8d6a1b44287f1e9e595b3594df46bf7f18f9')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --sysconfdir=/etc \
- --localstatedir=/var --disable-static \
- --libexecdir=/usr/lib/gnome-keyring \
- --with-pam-dir=/lib/security --with-root-certs=/etc/ssl/certs \
- --disable-schemas-compile
- make
- make DESTDIR="${pkgdir}" install
-}
diff --git a/abs/extra/gnome-keyring/gnome-keyring.install b/abs/extra/gnome-keyring/gnome-keyring.install
deleted file mode 100644
index e5204bc..0000000
--- a/abs/extra/gnome-keyring/gnome-keyring.install
+++ /dev/null
@@ -1,11 +0,0 @@
-post_install() {
- usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas
-}
-
-post_upgrade() {
- post_install $1
-}
-
-post_remove() {
- post_install $1
-}
diff --git a/abs/extra/gnome-keyring/gnome-keyring.service b/abs/extra/gnome-keyring/gnome-keyring.service
deleted file mode 100644
index 96ea061..0000000
--- a/abs/extra/gnome-keyring/gnome-keyring.service
+++ /dev/null
@@ -1,3 +0,0 @@
-[D-BUS Service]
-Name=org.gnome.keyring
-Exec=/usr/bin/gnome-keyring-daemon
diff --git a/abs/extra/gnome-menus/PKGBUILD b/abs/extra/gnome-menus/PKGBUILD
deleted file mode 100644
index 60b4632..0000000
--- a/abs/extra/gnome-menus/PKGBUILD
+++ /dev/null
@@ -1,33 +0,0 @@
-# $Id: PKGBUILD 99752 2010-11-17 11:52:09Z ibiru $
-# Maintainer: Jan de Groot <jan@archlinux.org>
-
-pkgname=gnome-menus
-pkgver=2.30.5
-pkgrel=1
-pkgdesc="GNOME menu specifications"
-arch=('i686' 'x86_64')
-depends=('pygtk>=2.22.0')
-makedepends=('pkg-config' 'intltool' 'gobject-introspection')
-options=('!libtool' '!makeflags')
-license=('GPL' 'LGPL')
-url="http://www.gnome.org"
-source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.30/${pkgname}-${pkgver}.tar.bz2
- menus.patch)
-sha256sums=('6dcc565006d6e8c2025ae83ab1f82edf6bd04d61c804c0dc9bf5ea50629c4caa'
- 'df2779777906b038fa911dc745534564ede9524a64ab368e2f6f8e38d54e7acc')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- patch -Np0 -i "${srcdir}/menus.patch"
- ./configure --prefix=/usr --sysconfdir=/etc \
- --localstatedir=/var \
- --disable-static
- make || return 1
-}
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-
- sed -i "s|#!/usr/bin/env python|#!/usr/bin/env python2|" \
- $pkgdir/usr/lib/python2.7/site-packages/GMenuSimpleEditor/config.py
-}
diff --git a/abs/extra/gnome-menus/menus.patch b/abs/extra/gnome-menus/menus.patch
deleted file mode 100644
index bf73e86..0000000
--- a/abs/extra/gnome-menus/menus.patch
+++ /dev/null
@@ -1,25 +0,0 @@
---- layout/applications.menu 2005-06-28 10:16:39.000000000 +0200
-+++ layout/applications.menu 2005-09-12 23:21:20.000000000 +0200
-@@ -7,7 +7,6 @@
- <Directory>Applications.directory</Directory>
-
- <!-- Scan legacy dirs first, as later items take priority -->
-- <KDELegacyDirs/>
- <LegacyDir>/etc/X11/applnk</LegacyDir>
- <LegacyDir>/usr/share/gnome/apps</LegacyDir>
-
-@@ -18,6 +17,14 @@
- <!-- Read in overrides and child menus from applications-merged/ -->
- <DefaultMergeDirs/>
-
-+ <!-- Archlinux submenu -->
-+ <Menu>
-+ <Name>Archlinux</Name>
-+ <Directory>Archlinux.directory</Directory>
-+ <Include>
-+ <Category>Archlinux</Category>
-+ </Include>
-+ </Menu> <!-- End Archlinux -->
- <!-- Accessories submenu -->
- <Menu>
- <Name>Accessories</Name>
diff --git a/abs/extra/gnupg/PKGBUILD b/abs/extra/gnupg/PKGBUILD
deleted file mode 100644
index e123287..0000000
--- a/abs/extra/gnupg/PKGBUILD
+++ /dev/null
@@ -1,29 +0,0 @@
-# $Id: PKGBUILD 96620 2010-10-22 18:59:05Z andyrtr $
-# Maintainer: Andreas Radke <andyrtr at archlinux.org>
-# Committer: Judd Vinet <jvinet@zeroflux.org>
-pkgname=gnupg
-pkgver=1.4.11
-pkgrel=1
-pkgdesc="GNU Privacy Guard - a PGP replacement tool"
-arch=('i686' 'x86_64')
-license=('GPL3')
-depends=('zlib' 'bzip2' 'libldap>=2.4.18' 'libusb' 'curl>=7.16.2' 'readline>=6.0.00')
-source=(ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/gnupg/$pkgname-$pkgver.tar.bz2)
-install=gnupg.install
-url="http://www.gnupg.org/"
-md5sums=('411744e1ef8ce90b87938c4203f001f1')
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- ./configure --prefix=/usr --libexecdir=/usr/lib # docdir can't be set properly
- make || return 1
- ln -s ${pkgname}-${pkgver}/scripts ..
-}
-
-package () {
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install || return 1
-
- # fix fileconflict with gnupg2 pkg
- rm ${pkgdir}/usr/share/man/man1/gpg-zip.1
-}
diff --git a/abs/extra/gnupg/gnupg.install b/abs/extra/gnupg/gnupg.install
deleted file mode 100644
index 5a67047..0000000
--- a/abs/extra/gnupg/gnupg.install
+++ /dev/null
@@ -1,21 +0,0 @@
-info_dir=/usr/share/info
-info_files=(gnupg1.info)
-
-post_install() {
- [ -x usr/bin/install-info ] || return 0
- for f in ${info_files[@]}; do
- usr/bin/install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
- done
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- [ -x usr/bin/install-info ] || return 0
- for f in ${info_files[@]}; do
- usr/bin/install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
- done
-}
-# vim:set ts=2 sw=2 et:
diff --git a/abs/extra/gnuplot/PKGBUILD b/abs/extra/gnuplot/PKGBUILD
deleted file mode 100644
index 3b04bde..0000000
--- a/abs/extra/gnuplot/PKGBUILD
+++ /dev/null
@@ -1,34 +0,0 @@
-# $Id$
-# Maintainer: damir <damir@archlinux.org>
-# Contributor: Niklas Volbers <mithrandir42@web.de>
-
-pkgname=gnuplot
-pkgver=4.4.0
-pkgrel=1
-pkgdesc="Command-line driven interactive data and function plotting utility"
-url="http://www.gnuplot.info"
-depends=('gd>=2.0.29' 'wxgtk' 'libjpeg>=7')
-makedepends=('texinfo')
-license='custom'
-arch=('i686')
-source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz)
-
-build() {
- cd $startdir/src/$pkgname-$pkgver
-
- ./configure --prefix=/usr \
- --datadir=/usr/share \
- --libexecdir=/usr/bin \
- --with-readline=gnu \
- --enable-history-file \
- --with-x
-
- make X11_DRIVER_DIR='/usr/bin' || return 1
-
- make DESTDIR=$startdir/pkg \
- libexecdir=/usr/bin \
- pkglibexecdir=/usr/bin install
-
- install -D $startdir/src/$pkgname-$pkgver/Copyright $startdir/pkg/usr/share/licenses/custom/gnuplot/Copyright
-}
-md5sums=('e708665bd512153ad5c35252fe499059')
diff --git a/abs/extra/gpgme/PKGBUILD b/abs/extra/gpgme/PKGBUILD
deleted file mode 100644
index 6371ad2..0000000
--- a/abs/extra/gpgme/PKGBUILD
+++ /dev/null
@@ -1,25 +0,0 @@
-# $Id: PKGBUILD 48153 2009-07-31 20:34:25Z tpowa $
-# Maintainer: Roman Kyrylych <roman@archlinux.org>
-# Contributor: Sarah Hay <sarah@archlinux.org>
-
-pkgname=gpgme
-pkgver=1.3.0
-pkgrel=1
-pkgdesc="A C wrapper library for GnuPG."
-arch=('i686' 'x86_64')
-url="http://www.gnupg.org/related_software/gpgme/"
-license=('GPL')
-depends=('libgpg-error>=1.5' 'pth' 'gnupg' 'libassuan')
-install=gpgme.install
-options=('!libtool' '!emptydirs')
-source=(ftp://ftp.gnupg.org/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.gz)
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- ./configure --prefix=/usr
- make || return 1
- make DESTDIR=${pkgdir} install
- rm ${pkgdir}/usr/share/info/dir
- gzip ${pkgdir}/usr/share/info/*
-}
-md5sums=('f148c73f6f540f91e02141df72844f62')
diff --git a/abs/extra/gpgme/__changelog b/abs/extra/gpgme/__changelog
deleted file mode 100644
index 4074d1b..0000000
--- a/abs/extra/gpgme/__changelog
+++ /dev/null
@@ -1 +0,0 @@
-removed gnupg2 requirement
diff --git a/abs/extra/gpgme/gpgme.install b/abs/extra/gpgme/gpgme.install
deleted file mode 100644
index b54620d..0000000
--- a/abs/extra/gpgme/gpgme.install
+++ /dev/null
@@ -1,18 +0,0 @@
-infodir=/usr/share/info
-filelist=(gpgme.info gpgme.info-1 gpgme.info-2)
-
-post_install() {
- for file in ${filelist[@]}; do
- install-info $infodir/$file $infodir/dir 2> /dev/null
- done
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- for file in ${filelist[@]}; do
- install-info --delete $infodir/$file $infodir/dir 2> /dev/null
- done
-}
diff --git a/abs/extra/graphload/PKGBUILD b/abs/extra/graphload/PKGBUILD
deleted file mode 100644
index 6af2f95..0000000
--- a/abs/extra/graphload/PKGBUILD
+++ /dev/null
@@ -1,16 +0,0 @@
-pkgname=graphload
-pkgver=1
-pkgrel=1
-pkgdesc="command to graph the total CPU utilization for N-core systems for a given interval"
-depends=('gnuplot>=4.2.5')
-license='GPLv2'
-arch=('i686')
-
-build() {
- LH_ROOT=/usr/LH
- mkdir -p $startdir/pkg/$LH_ROOT/bin/
-
- cd $startdir
- # executables
- install -m0755 -D graphload.sh $startdir/pkg/$LH_ROOT/bin/
-}
diff --git a/abs/extra/graphload/graphload.sh b/abs/extra/graphload/graphload.sh
deleted file mode 100755
index 79023ec..0000000
--- a/abs/extra/graphload/graphload.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-
-MYTICKS=100
-MYINTERVAL=4 # we sample once every $MYINTERVAL seconds
-MYINVERSEINTERVAL=0.25
-
-top -d $MYINVERSEINTERVAL -n $MYTICKS -b -i | grep Cpu | perl -e "while(<>) { split(','); \$load = 100 - substr @_[3], 0, -3; print \$load,\"\n\";}" > profile
-perl -e '$second=0; while(<>) { chop(); $load = $_; print "$second $load "; split " ", $load; print @_[0] + @_[1], "\n"; $second+=0.25;}' < profile > points
-echo "set grid
-set xrange [0: $(($MYTICKS/$MYINTERVAL))]
-set yrange [0: 101]
-set xtics 0,$MYINVERSEINTERVAL,$(($MYTICKS/$MYINTERVAL))
-set xlabel \"time\"
-set ylabel \"CPU usage\"
-plot \"points\" using 1:2 with lines title 'total load'
-replot" > gplot.cmds
-gnuplot -persist gplot.cmds
diff --git a/abs/extra/i2c-tools/Makefile.patch b/abs/extra/i2c-tools/Makefile.patch
deleted file mode 100644
index f90fa14..0000000
--- a/abs/extra/i2c-tools/Makefile.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- Makefile.orig 2007-11-01 18:54:57.000000000 +0100
-+++ Makefile 2008-09-24 14:46:54.000000000 +0200
-@@ -5,7 +5,7 @@
- # Licensed under the GNU General Public License.
-
- DESTDIR =
--prefix = /usr/local
-+prefix = /usr
- bindir = $(prefix)/bin
- sbindir = $(prefix)/sbin
- mandir = $(prefix)/share/man
-@@ -32,6 +32,6 @@
- all:
-
- include eeprom/Module.mk
--include include/Module.mk
-+#include include/Module.mk
- include stub/Module.mk
- include tools/Module.mk
diff --git a/abs/extra/i2c-tools/PKGBUILD b/abs/extra/i2c-tools/PKGBUILD
deleted file mode 100644
index db1700d..0000000
--- a/abs/extra/i2c-tools/PKGBUILD
+++ /dev/null
@@ -1,21 +0,0 @@
-# Contributor: DonVla <donvla@users.sourceforge.net>
-
-pkgname=i2c-tools
-pkgver=3.0.2
-pkgrel=1
-pkgdesc="Heterogeneous set of I2C tools for Linux that used to be part of lm-sensors"
-arch=('i686' 'x86_64')
-url="http://www.lm-sensors.org/wiki/I2CTools"
-license=('GPL')
-depends=('lm_sensors' 'perl' 'read-edid')
-options=(strip)
-source=(http://dl.lm-sensors.org/$pkgname/releases/$pkgname-$pkgver.tar.bz2 Makefile.patch)
-md5sums=('b546345ac19db56719dea6b8199f11e0' '49d17834f9d7e68407ec46785e47bb94')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- patch -p0 < $startdir/Makefile.patch
- make || return 1
- make DESTDIR="$pkgdir" install
-}
-# vim:set ts=2 sw=2 et:
diff --git a/abs/extra/icon-naming-utils/PKGBUILD b/abs/extra/icon-naming-utils/PKGBUILD
deleted file mode 100644
index 5496c29..0000000
--- a/abs/extra/icon-naming-utils/PKGBUILD
+++ /dev/null
@@ -1,28 +0,0 @@
-# $Id: PKGBUILD 33029 2009-04-03 21:35:27Z jgc $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-# Contributor: William Rea <sillywilly@gmail.com>
-
-pkgname=icon-naming-utils
-pkgver=0.8.90
-pkgrel=2
-pkgdesc="Maps the new names of icons for Tango to the legacy names used by the GNOME and KDE desktops."
-arch=('i686' 'x86_64')
-license=('GPL')
-url="http://tango.freedesktop.org/"
-depends=('perl-xml-simple')
-source=(http://tango.freedesktop.org/releases/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('dd8108b56130b9eedc4042df634efa66')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --sysconfdir=/etc \
- --libexecdir=/usr/lib/icon-naming-utils \
- --localstatedir=/var || return 1
- make || return 1
-}
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install || return 1
- mv "${pkgdir}/usr/share/pkgconfig" "${pkgdir}/usr/lib/pkgconfig" || return 1
-}
-
diff --git a/abs/extra/iso-codes/PKGBUILD b/abs/extra/iso-codes/PKGBUILD
deleted file mode 100644
index 9477d74..0000000
--- a/abs/extra/iso-codes/PKGBUILD
+++ /dev/null
@@ -1,19 +0,0 @@
-# $Id: PKGBUILD 1166 2008-05-01 15:36:12Z jgc $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=iso-codes
-pkgver=3.18
-pkgrel=1
-arch=(i686 x86_64)
-license=('LGPL')
-pkgdesc="Lists of the country, language, and currency names"
-source=(ftp://pkg-isocodes.alioth.debian.org/pub/pkg-isocodes/${pkgname}-${pkgver}.tar.bz2)
-url="http://pkg-isocodes.alioth.debian.org/"
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- ./configure --prefix=/usr || return 1
- make || return 1
- make DESTDIR=${pkgdir} pkgconfigdir=/usr/lib/pkgconfig install || return 1
-}
-md5sums=('96d22a03e307a8e0ca1e43280392cdc4')
diff --git a/abs/extra/jade/PKGBUILD b/abs/extra/jade/PKGBUILD
deleted file mode 100644
index e6a7722..0000000
--- a/abs/extra/jade/PKGBUILD
+++ /dev/null
@@ -1,31 +0,0 @@
-# $Id: PKGBUILD 3700 2008-06-29 13:36:31Z jgc $
-# Maintainer: dorphell <dorphell@archlinux.org>
-# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
-pkgname=jade
-pkgver=1.2.1
-pkgrel=5
-_debpatch=47
-pkgdesc="James Clark's DSSSL Engine"
-url='http://www.jclark.com/jade/'
-arch=('i686' 'x86_64')
-license=('custom')
-depends=('gcc-libs')
-replaces='openjade'
-options=('!libtool')
-source=(ftp://ftp.jclark.com/pub/jade/jade-${pkgver}.tar.gz
- http://ftp.debian.org/debian/pool/main/j/jade/jade_${pkgver}-${_debpatch}.diff.gz)
-md5sums=('4239670ca6b578bff68b8c2e7cd1225f'
- 'feb3889e2a5fa86ac6bdb742a25d0001')
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- patch -Np1 -i ${srcdir}/jade_${pkgver}-${_debpatch}.diff || return 1
- chmod 755 configure || return 1
- ./configure --prefix=/usr --enable-default-catalog=/usr/share/sgml/catalog || return 1
- make || return 1
- install -d -m755 ${pkgdir}/usr/lib
- make prefix=${pkgdir}/usr install || return 1
- mv ${pkgdir}/usr/bin/sx ${pkgdir}/usr/bin/sgml2xml || return 1
- install -m755 -d ${pkgdir}/usr/share/licenses/${pkgname}
- install -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1
-}
diff --git a/abs/extra/libass/PKGBUILD b/abs/extra/libass/PKGBUILD
deleted file mode 100644
index 508e232..0000000
--- a/abs/extra/libass/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# $Id$
-# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
-# Contributor: G_Syme <demichan(at)mail(dot)upb(dot)de>
-
-pkgname=libass
-pkgver=0.9.13
-pkgrel=1
-pkgdesc="A portable library for SSA/ASS subtitles rendering"
-arch=('i686' 'x86_64')
-url="http://code.google.com/p/libass/"
-license=('BSD')
-depends=('enca' 'fontconfig' 'libpng')
-makedepends=('pkgconfig')
-options=(!libtool)
-source=("http://libass.googlecode.com/files/${pkgname}-${pkgver}.tar.xz")
-md5sums=('d99381922dcbeb7a766d2e7825cca193')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- make DESTDIR="${pkgdir}" install
- install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
diff --git a/abs/extra/libassuan/PKGBUILD b/abs/extra/libassuan/PKGBUILD
deleted file mode 100644
index 50a0ce8..0000000
--- a/abs/extra/libassuan/PKGBUILD
+++ /dev/null
@@ -1,26 +0,0 @@
-# $Id: PKGBUILD 87326 2010-08-12 11:59:25Z tpowa $
-# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
-
-pkgname=libassuan
-pkgver=2.0.1
-pkgrel=1
-pkgdesc="A IPC library used by some GnuPG related software"
-arch=('i686' 'x86_64')
-license=('GPL')
-url="http://www.gnupg.org/related_software/libassuan"
-depends=('libgpg-error')
-options=('!libtool')
-source=(ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2)
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install
-}
-md5sums=('53a7d4c22af909d7236d17d454ef935b')
-
diff --git a/abs/extra/libconcord/PKGBUILD b/abs/extra/libconcord/PKGBUILD
deleted file mode 100644
index a4b4e2e..0000000
--- a/abs/extra/libconcord/PKGBUILD
+++ /dev/null
@@ -1,29 +0,0 @@
-# Maintainer: Sven Klomp <mail@klomp.eu>
-# Contributor: Mattheus Happe <mhappe@gmail.com>
-
-pkgname=libconcord
-_pkgsrcname=concordance
-pkgver=0.23
-pkgrel=1
-pkgdesc="Concordance's core functionality contained in a shared library"
-url="http://www.phildev.net/harmony/index.shtml"
-license=("GPL3")
-arch=(i686 x86_64)
-depends=('libusb')
-optdepends=('udev: use libconcord as non-root user')
-source=("http://downloads.sourceforge.net/project/${_pkgsrcname}/${_pkgsrcname}/${pkgver}/${_pkgsrcname}-${pkgver}.tar.bz2")
-md5sums=('d7400d5b351b195b63adfafae68be3d8')
-
-
-build() {
- cd ${srcdir}/${_pkgsrcname}-${pkgver}/libconcord
- ./configure --prefix=/usr
- make || return 1
- make udev || return 1
-}
-
-package() {
- cd ${srcdir}/${_pkgsrcname}-${pkgver}/libconcord
- make prefix=${pkgdir}/usr install || return 1
- make prefix=${pkgdir}/ install_udev || return 1
-} \ No newline at end of file
diff --git a/abs/extra/libdvbpsi/PKGBUILD b/abs/extra/libdvbpsi/PKGBUILD
deleted file mode 100644
index 77152f0..0000000
--- a/abs/extra/libdvbpsi/PKGBUILD
+++ /dev/null
@@ -1,29 +0,0 @@
-# $Id: PKGBUILD 80128 2010-05-12 16:41:47Z andrea $
-# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
-# Contributor: Gilles CHAUVIN <gcnweb@gmail.com>
-
-pkgname=libdvbpsi
-pkgver=0.1.7
-pkgrel=1
-pkgdesc="A library designed for decoding and generation of MPEG TS and DVB PSI tables"
-arch=('i686' 'x86_64')
-license=('GPL')
-depends=('glibc')
-options=('!libtool')
-replaces=('libdvbpsi4' 'libdvbpsi5')
-conflicts=('libdvbpsi4' 'libdvbpsi5')
-url="http://developers.videolan.org/libdvbpsi/"
-source=(http://download.videolan.org/pub/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('af419575719e356b908b0c6946499052')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- ./configure --prefix=/usr
- make || return 1
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make prefix="${pkgdir}/usr" install || return 1
-}
diff --git a/abs/extra/libdvdnav/PKGBUILD b/abs/extra/libdvdnav/PKGBUILD
deleted file mode 100644
index 67c56e4..0000000
--- a/abs/extra/libdvdnav/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# $Id: PKGBUILD 69820 2010-02-22 22:23:44Z giovanni $
-# Maintainer: arjan <arjan@archlinux.org>
-# contributor Sarah Hay <sarahhay@mb.sympatico.ca>
-
-pkgname=libdvdnav
-pkgver=4.1.3
-pkgrel=2
-pkgdesc="The library for xine-dvdnav plugin."
-arch=(i686 x86_64)
-license=('GPL')
-url="http://www.mplayerhq.hu/MPlayer/releases/dvdnav/"
-depends=('libdvdread>=4.1.3')
-options=(!libtool)
-source=(http://www.mplayerhq.hu/MPlayer/releases/dvdnav/${pkgname}-${pkgver}.tar.bz2
- deadlock.patch)
-md5sums=('d62383c45b28816771e283515f2c27fa'
- '864529165a1136ae4c1ccbc7b43cdb1a')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- patch -Np1 -i ${srcdir}/deadlock.patch || return 1
-
- ./autogen.sh --prefix=/usr || return 1
- make || return 1
- make DESTDIR="${pkgdir}" install || return 1
-}
-
-md5sums=('d62383c45b28816771e283515f2c27fa'
- 'd26d9ab9d705e4e3fa16e0592ad33c79')
diff --git a/abs/extra/libdvdnav/deadlock.patch b/abs/extra/libdvdnav/deadlock.patch
deleted file mode 100644
index 2a58240..0000000
--- a/abs/extra/libdvdnav/deadlock.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- a/src/dvdnav.c 2009-11-08 16:58:25.000000000 +0300
-+++ b/src/dvdnav.c 2009-11-08 16:58:52.000000000 +0300
-@@ -180,12 +180,13 @@
- pthread_mutex_unlock(&this->vm_lock);
- return DVDNAV_STATUS_ERR;
- }
-+ pthread_mutex_unlock(&this->vm_lock);
-+
- #ifdef LOG_DEBUG
- fprintf(MSG_OUT, "libdvdnav: clearing dvdnav\n");
- #endif
- result = dvdnav_clear(this);
-
-- pthread_mutex_unlock(&this->vm_lock);
- return result;
- }
-
diff --git a/abs/extra/libffi/PKGBUILD b/abs/extra/libffi/PKGBUILD
deleted file mode 100644
index 555f0eb..0000000
--- a/abs/extra/libffi/PKGBUILD
+++ /dev/null
@@ -1,24 +0,0 @@
-# $Id: PKGBUILD 72255 2010-03-13 20:43:14Z jgc $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=libffi
-pkgver=3.0.9
-pkgrel=1
-pkgdesc="A portable, high level programming interface to various calling conventions."
-arch=('i686' 'x86_64')
-license=('MIT')
-url="http://sourceware.org/libffi"
-depends=('glibc' 'texinfo')
-options=('!libtool' 'force')
-install=libffi.install
-source=(ftp://sourceware.org/pub/libffi/libffi-${pkgver}.tar.gz)
-md5sums=('1f300a7a7f975d4046f51c3022fa5ff1')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr || return 1
- make || return 1
- make DESTDIR="${pkgdir}" install || return 1
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
-}
diff --git a/abs/extra/libffi/libffi.install b/abs/extra/libffi/libffi.install
deleted file mode 100644
index 151b79b..0000000
--- a/abs/extra/libffi/libffi.install
+++ /dev/null
@@ -1,18 +0,0 @@
-infodir=/usr/share/info
-filelist=(libffi.info.gz)
-
-post_install() {
- for file in ${filelist[@]}; do
- install-info $infodir/$file $infodir/dir 2> /dev/null
- done
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- for file in ${filelist[@]}; do
- install-info --delete $infodir/$file $infodir/dir 2> /dev/null
- done
-}
diff --git a/abs/extra/libgda/Changelog b/abs/extra/libgda/Changelog
deleted file mode 100644
index 88ba942..0000000
--- a/abs/extra/libgda/Changelog
+++ /dev/null
@@ -1,2 +0,0 @@
-4.0.2 5/2/09
-Added path for jni headers in configure.
diff --git a/abs/extra/libgda/PKGBUILD b/abs/extra/libgda/PKGBUILD
deleted file mode 100644
index 72c9404..0000000
--- a/abs/extra/libgda/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# $Id: PKGBUILD 99473 2010-11-14 19:52:55Z ibiru $
-# Maintainer: tobias <tobias@archlinux.org>
-# Contributor: Tobias Kieslich <tobias@justdreams.de>
-
-pkgname=libgda
-pkgver=4.2.1
-pkgrel=2
-pkgdesc="data abstraction layer; with mysql, pgsql, xml, sqlite providers"
-arch=('i686' 'x86_64')
-license=('GPL')
-depends=('glib2>=2.26.0' 'libxslt' 'db>=5.1.19' 'ncurses>=5.7' 'libsoup>=2.32.0' 'libmysqlclient>=5.1.59' 'postgresql-libs>=9.0.1')
-makedepends=('intltool')
-options=('!libtool')
-url="http://www.gnome-db.org"
-source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/4.2/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('d485d24fb19bd95faad196c8ed22b2cb8f9e9275d907f880a3f8f079f6bf40f7')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- sed -i -e 's/python/python2/' libgda-report/RML/trml*/trml*.py
- ./configure --prefix=/usr --sysconfdir=/etc \
- --with-bdb=/usr --with-bdb-libdir-name=lib \
- --disable-static
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-}
diff --git a/abs/extra/libgda/bdb43.patch b/abs/extra/libgda/bdb43.patch
deleted file mode 100644
index 3fe6e93..0000000
--- a/abs/extra/libgda/bdb43.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-diff -r -u libgda-1.2.0.old/providers/bdb/gda-bdb-recordset.c libgda-1.2.0/providers/bdb/gda-bdb-recordset.c
---- libgda-1.2.0.old/providers/bdb/gda-bdb-recordset.c 2003-12-17 11:27:02.000000000 +0000
-+++ libgda-1.2.0/providers/bdb/gda-bdb-recordset.c 2005-02-19 15:43:12.000000000 +0000
-@@ -227,10 +227,14 @@
-
- /* get the number of records in the database */
- ret = dbp->stat (dbp,
-+#if BDB_VERSION > 40300
-+ NULL,
-+#endif
- &statp,
- #if BDB_VERSION < 40000
- NULL,
- #endif
-+
- 0);
- if (ret != 0) {
- gda_connection_add_error (cnc, gda_bdb_make_error (ret));
diff --git a/abs/extra/libgda/libgda.install b/abs/extra/libgda/libgda.install
deleted file mode 100644
index 6420004..0000000
--- a/abs/extra/libgda/libgda.install
+++ /dev/null
@@ -1,16 +0,0 @@
-post_install() {
- scrollkeeper-update -q -p var/lib/scrollkeeper
-}
-
-post_upgrade() {
- post_install $1
-}
-
-post_remove() {
- post_install $1
-}
-
-op=$1
-shift
-
-$op $*
diff --git a/abs/extra/libgksu/PKGBUILD b/abs/extra/libgksu/PKGBUILD
deleted file mode 100644
index b4414d5..0000000
--- a/abs/extra/libgksu/PKGBUILD
+++ /dev/null
@@ -1,31 +0,0 @@
-# $Id: PKGBUILD 90625 2010-09-14 09:37:47Z jgc $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=libgksu
-pkgver=2.0.12
-pkgrel=3
-pkgdesc="gksu authorization library"
-arch=(i686 x86_64)
-url="http://www.nongnu.org/gksu/index.html"
-license=(GPL)
-depends=('libgnome-keyring>=2.30.1' 'libgtop>=2.28.1' 'startup-notification>=0.10' 'gconf>=2.28.1')
-makedepends=('gtk-doc' 'pkgconfig' 'intltool')
-options=('!libtool' '!emptydirs')
-install=libgksu.install
-source=(http://people.debian.org/~kov/gksu/${pkgname}-${pkgver}.tar.gz
- libgksu-2.0.12-revert-forkpty.patch)
-md5sums=('c7154c8806f791c10e7626ff123049d3'
- 'aebbe57e5286c654e27cf714cf3b704a')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- patch -Np1 -i "${srcdir}/libgksu-2.0.12-revert-forkpty.patch"
- ./configure --prefix=/usr --sysconfdir=/etc \
- --localstatedir=/var --disable-static
- make
- make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install
- rm -f ${pkgdir}/usr/lib/*.a
- install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
- gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain libgksu ${pkgdir}/etc/gconf/schemas/*.schemas
- rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
-}
diff --git a/abs/extra/libgksu/libgksu-2.0.12-revert-forkpty.patch b/abs/extra/libgksu/libgksu-2.0.12-revert-forkpty.patch
deleted file mode 100644
index 2c3a8cc..0000000
--- a/abs/extra/libgksu/libgksu-2.0.12-revert-forkpty.patch
+++ /dev/null
@@ -1,359 +0,0 @@
-diff --exclude-from=/home/dang/.scripts/diffrc -up -ruN libgksu-2.0.12.orig/libgksu/libgksu.c libgksu-2.0.12/libgksu/libgksu.c
---- libgksu-2.0.12.orig/libgksu/libgksu.c 2009-06-29 13:48:24.000000000 -0400
-+++ libgksu-2.0.12/libgksu/libgksu.c 2010-01-12 07:32:10.450657456 -0500
-@@ -1,7 +1,6 @@
- /*
- * Gksu -- a library providing access to su functionality
- * Copyright (C) 2004-2009 Gustavo Noronha Silva
-- * Portions Copyright (C) 2009 VMware, Inc.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
-@@ -56,9 +55,6 @@
- static void
- gksu_context_launch_complete (GksuContext *context);
-
--static void
--read_line (int fd, gchar *buffer, int n);
--
- GType
- gksu_error_get_type (void)
- {
-@@ -2009,8 +2005,6 @@ gksu_su_fuller (GksuContext *context,
- for (i = 0 ; cmd[i] != NULL ; i++)
- g_free (cmd[i]);
- g_free(cmd);
--
-- _exit(1);
- }
- else if (pid == -1)
- {
-@@ -2125,10 +2119,10 @@ gksu_su_fuller (GksuContext *context,
- /* drop the \n echoed on password entry if su did request
- a password */
- if (password_needed)
-- read_line (fdpty, buf, 255);
-+ read (fdpty, buf, 255);
- if (context->debug)
- fprintf (stderr, "DEBUG (run:post-after-pass) buf: -%s-\n", buf);
-- read_line (fdpty, buf, 255);
-+ read (fdpty, buf, 255);
- if (context->debug)
- fprintf (stderr, "DEBUG (run:post-after-pass) buf: -%s-\n", buf);
- }
-@@ -2142,9 +2136,7 @@ gksu_su_fuller (GksuContext *context,
- {
- int retval = 0;
-
-- /* Red Hat's su shows the full path to su in its error messages. */
-- if (!strncmp (buf, "su:", 3) ||
-- !strncmp (buf, "/bin/su:", 7))
-+ if (!strncmp (buf, "su", 2))
- {
- gchar **strings;
-
-@@ -2155,11 +2147,7 @@ gksu_su_fuller (GksuContext *context,
- }
-
- strings = g_strsplit (buf, ":", 2);
--
-- /* Red Hat and Fedora use 'incorrect password'. */
-- if (strings[1] &&
-- (g_str_has_prefix(strings[1], " Authentication failure") ||
-- g_str_has_prefix(strings[1], " incorrect password")))
-+ if (strings[1] && !strncmp (strings[1], " Authentication failure", 23))
- {
- if (used_gnome_keyring)
- g_set_error (error, gksu_quark,
-@@ -2473,12 +2461,6 @@ gksu_sudo_fuller (GksuContext *context,
- {
- char **cmd;
- char buffer[256] = {0};
-- char *child_stderr = NULL;
-- /* This command is used to gain a token */
-- char *const verifycmd[] =
-- {
-- "/usr/bin/sudo", "-p", "GNOME_SUDO_PASS", "-v", NULL
-- };
- int argcount = 8;
- int i, j;
-
-@@ -2489,8 +2471,9 @@ gksu_sudo_fuller (GksuContext *context,
-
- pid_t pid;
- int status;
-- FILE *fdfile = NULL;
-- int fdpty = -1;
-+ FILE *infile, *outfile;
-+ int parent_pipe[2]; /* For talking to the parent */
-+ int child_pipe[2]; /* For talking to the child */
-
- context->sudo_mode = TRUE;
-
-@@ -2565,10 +2548,6 @@ gksu_sudo_fuller (GksuContext *context,
- cmd[argcount] = g_strdup("-S");
- argcount++;
-
-- /* Make sudo noninteractive (we should already have a token) */
-- cmd[argcount] = g_strdup("-n");
-- argcount++;
--
- /* Make sudo use next arg as prompt */
- cmd[argcount] = g_strdup("-p");
- argcount++;
-@@ -2647,21 +2626,26 @@ gksu_sudo_fuller (GksuContext *context,
- fprintf (stderr, "cmd[%d]: %s\n", i, cmd[i]);
- }
-
-- pid = forkpty(&fdpty, NULL, NULL, NULL);
-- if (pid == 0)
-+ if ((pipe(parent_pipe)) == -1)
- {
-- // Child
-- setsid(); // make us session leader
--
-- execv(verifycmd[0], verifycmd);
-+ g_set_error (error, gksu_quark, GKSU_ERROR_PIPE,
-+ _("Error creating pipe: %s"),
-+ strerror(errno));
-+ sudo_reset_xauth (context, xauth, xauth_env);
-+ return FALSE;
-+ }
-
-- g_set_error (error, gksu_quark, GKSU_ERROR_EXEC,
-- _("Failed to exec new process: %s"),
-+ if ((pipe(child_pipe)) == -1)
-+ {
-+ g_set_error (error, gksu_quark, GKSU_ERROR_PIPE,
-+ _("Error creating pipe: %s"),
- strerror(errno));
- sudo_reset_xauth (context, xauth, xauth_env);
- return FALSE;
- }
-- else if (pid == -1)
-+
-+ pid = fork();
-+ if (pid == -1)
- {
- g_set_error (error, gksu_quark, GKSU_ERROR_FORK,
- _("Failed to fork new process: %s"),
-@@ -2669,26 +2653,56 @@ gksu_sudo_fuller (GksuContext *context,
- sudo_reset_xauth (context, xauth, xauth_env);
- return FALSE;
- }
-+ else if (pid == 0)
-+ {
-+ // Child
-+ setsid(); // make us session leader
-+ close(child_pipe[1]);
-+ dup2(child_pipe[0], STDIN_FILENO);
-+ dup2(parent_pipe[1], STDERR_FILENO);
-
-+ execv(cmd[0], cmd);
-+
-+ g_set_error (error, gksu_quark, GKSU_ERROR_EXEC,
-+ _("Failed to exec new process: %s"),
-+ strerror(errno));
-+ sudo_reset_xauth (context, xauth, xauth_env);
-+ return FALSE;
-+ }
- else
- {
- gint counter = 0;
- gchar *cmdline = NULL;
-- struct termios tio;
-
- // Parent
-- fdfile = fdopen(fdpty, "w+");
-+ close(parent_pipe[1]);
-
-- /* make sure we notice that ECHO is turned off, if it gets
-- turned off */
-- tcgetattr (fdpty, &tio);
-- for (counter = 0; (tio.c_lflag & ECHO) && counter < 15; counter++)
-- {
-- usleep (1000);
-- tcgetattr (fdpty, &tio);
-- }
-+ infile = fdopen(parent_pipe[0], "r");
-+ if (!infile)
-+ {
-+ g_set_error (error, gksu_quark, GKSU_ERROR_PIPE,
-+ _("Error opening pipe: %s"),
-+ strerror(errno));
-+ sudo_reset_xauth (context, xauth, xauth_env);
-+ return FALSE;
-+ }
-
-- fcntl (fdpty, F_SETFL, O_NONBLOCK);
-+ outfile = fdopen(child_pipe[1], "w");
-+ if (!outfile)
-+ {
-+ g_set_error (error, gksu_quark, GKSU_ERROR_PIPE,
-+ _("Error opening pipe: %s"),
-+ strerror(errno));
-+ sudo_reset_xauth (context, xauth, xauth_env);
-+ return FALSE;
-+ }
-+
-+ /*
-+ we are expecting to receive a GNOME_SUDO_PASS
-+ if we don't there are two possibilities: an error
-+ or a password is not needed
-+ */
-+ fcntl (parent_pipe[0], F_SETFL, O_NONBLOCK);
-
- { /* no matter if we can read, since we're using
- O_NONBLOCK; this is just to avoid the prompt
-@@ -2697,11 +2711,11 @@ gksu_sudo_fuller (GksuContext *context,
- struct timeval tv;
-
- FD_ZERO(&rfds);
-- FD_SET(fdpty, &rfds);
-+ FD_SET(parent_pipe[0], &rfds);
- tv.tv_sec = 1;
- tv.tv_usec = 0;
-
-- select (fdpty + 1, &rfds, NULL, NULL, &tv);
-+ select (parent_pipe[0] + 1, &rfds, NULL, NULL, &tv);
- }
-
- /* Try hard to find the prompt; it may happen that we're
-@@ -2713,7 +2727,7 @@ gksu_sudo_fuller (GksuContext *context,
- if (strncmp (buffer, "GNOME_SUDO_PASS", 15) == 0)
- break;
-
-- read_line (fdpty, buffer, 256);
-+ read_line (parent_pipe[0], buffer, 256);
-
- if (context->debug)
- fprintf (stderr, "buffer: -%s-\n", buffer);
-@@ -2747,17 +2761,18 @@ gksu_sudo_fuller (GksuContext *context,
-
- usleep (1000);
-
-- write (fdpty, password, strlen(password) + 1);
-- write (fdpty, "\n", 1);
-+ fprintf (outfile, "%s\n", password);
-+ fclose (outfile);
-
- nullify_password (password);
-
-- fcntl(fdpty, F_SETFL, fcntl(fdpty, F_GETFL) & ~O_NONBLOCK);
-+ /* turn NONBLOCK off */
-+ fcntl(parent_pipe[0], F_SETFL, fcntl(parent_pipe[0], F_GETFL) & ~O_NONBLOCK);
- /* ignore the first newline that comes right after sudo receives
- the password */
-- fgets (buffer, 255, fdfile);
-- /* this is the status we are interested in */
-- fgets (buffer, 255, fdfile);
-+ fgets (buffer, 255, infile);
-+ /* this is the status we are interessted in */
-+ fgets (buffer, 255, infile);
- }
- else
- {
-@@ -2766,7 +2781,7 @@ gksu_sudo_fuller (GksuContext *context,
- fprintf (stderr, "No password prompt found; we'll assume we don't need a password.\n");
-
- /* turn NONBLOCK off, also if have no prompt */
-- fcntl(fdpty, F_SETFL, fcntl(fdpty, F_GETFL) & ~O_NONBLOCK);
-+ fcntl(parent_pipe[0], F_SETFL, fcntl(parent_pipe[0], F_GETFL) & ~O_NONBLOCK);
-
- should_display = gconf_client_get_bool (context->gconf_client,
- BASE_PATH "display-no-pass-info", NULL);
-@@ -2785,9 +2800,14 @@ gksu_sudo_fuller (GksuContext *context,
- fprintf (stderr, "%s", buffer);
- }
-
-- if (g_str_has_prefix (buffer, "Sorry, try again."))
-+ if (!strcmp (buffer, "Sorry, try again.\n"))
- g_set_error (error, gksu_quark, GKSU_ERROR_WRONGPASS,
- _("Wrong password."));
-+ else if (!strncmp (buffer, "Sorry, user ", 12))
-+ g_set_error (error, gksu_quark, GKSU_ERROR_NOT_ALLOWED,
-+ _("The underlying authorization mechanism (sudo) "
-+ "does not allow you to run this program. Contact "
-+ "the system administrator."));
- else
- {
- gchar *haystack = buffer;
-@@ -2805,10 +2825,6 @@ gksu_sudo_fuller (GksuContext *context,
- }
- }
-
-- /* If we have an error, let's just stop sudo right there. */
-- if (error)
-- close(fdpty);
--
- cmdline = g_strdup("sudo");
- /* wait for the child process to end or become something other
- than sudo */
-@@ -2825,23 +2841,17 @@ gksu_sudo_fuller (GksuContext *context,
- if (context->sn_context)
- gksu_context_launch_complete (context);
-
-+ while (read (parent_pipe[0], buffer, 255) > 0)
-+ {
-+ fprintf (stderr, "%s", buffer);
-+ bzero(buffer, 256);
-+ }
-+
- /* if the process is still active waitpid() on it */
- if (pid_exited != pid)
- waitpid(pid, &status, 0);
- sudo_reset_xauth (context, xauth, xauth_env);
-
-- /*
-- * Did token acquisition succeed? If so, spawn sudo in
-- * non-interactive mode. It should either succeed or die
-- * immediately if you're not allowed to run the command.
-- */
-- if (WEXITSTATUS(status) == 0)
-- {
-- g_spawn_sync(NULL, cmd, NULL, 0, NULL, NULL,
-- NULL, &child_stderr, &status,
-- error);
-- }
--
- if (exit_status)
- {
- if (WIFEXITED(status)) {
-@@ -2853,13 +2863,6 @@ gksu_sudo_fuller (GksuContext *context,
-
- if (WEXITSTATUS(status))
- {
-- if (g_str_has_prefix(child_stderr, "Sorry, user "))
-- {
-- g_set_error (error, gksu_quark, GKSU_ERROR_NOT_ALLOWED,
-- _("The underlying authorization mechanism (sudo) "
-- "does not allow you to run this program. Contact "
-- "the system administrator."));
-- }
- if(cmdline)
- {
- /* sudo already exec()ed something else, don't report
-@@ -2868,7 +2871,6 @@ gksu_sudo_fuller (GksuContext *context,
- if (!g_str_has_suffix (cmdline, "sudo"))
- {
- g_free (cmdline);
-- g_free (child_stderr);
- return FALSE;
- }
- g_free (cmdline);
-@@ -2881,11 +2883,11 @@ gksu_sudo_fuller (GksuContext *context,
- }
- }
-
-- fprintf(stderr, child_stderr);
-- g_free(child_stderr);
--
- /* if error is set we have found an error condition */
-- return (error == NULL);
-+ if (error)
-+ return FALSE;
-+
-+ return TRUE;
- }
-
- /**
diff --git a/abs/extra/libgksu/libgksu.install b/abs/extra/libgksu/libgksu.install
deleted file mode 100644
index 89cf0cf..0000000
--- a/abs/extra/libgksu/libgksu.install
+++ /dev/null
@@ -1,17 +0,0 @@
-pkgname=libgksu
-
-post_install() {
- usr/sbin/gconfpkg --install ${pkgname}
-}
-
-pre_upgrade() {
- pre_remove
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- usr/sbin/gconfpkg --install ${pkgname}
-}
diff --git a/abs/extra/libgnomekbd/PKGBUILD b/abs/extra/libgnomekbd/PKGBUILD
deleted file mode 100644
index 1740541..0000000
--- a/abs/extra/libgnomekbd/PKGBUILD
+++ /dev/null
@@ -1,31 +0,0 @@
-# $Id: PKGBUILD 91776 2010-09-27 21:05:35Z ibiru $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=libgnomekbd
-pkgver=2.32.0
-pkgrel=1
-pkgdesc="Gnome keyboard library"
-url="http://gswitchit.sourceforge.net"
-arch=('i686' 'x86_64')
-license=('LGPL')
-depends=('libxklavier>=5.0' 'gconf>=2.32.0')
-makedepends=('intltool' 'pkg-config')
-options=('!libtool' '!emptydirs')
-install=libgnomekbd.install
-source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.32/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('ddd52c4cc7d83ad7ef964a1bcb4db87407e65b00ffc3e70c088ca4ee7383d256')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --sysconfdir=/etc \
- --localstatedir=/var --disable-static
- make || return 1
-}
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install
-
- install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
- gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain libgnomekbd ${pkgdir}/etc/gconf/schemas/*.schemas
- rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
-}
diff --git a/abs/extra/libgnomekbd/libgnomekbd.install b/abs/extra/libgnomekbd/libgnomekbd.install
deleted file mode 100644
index 9fc9f55..0000000
--- a/abs/extra/libgnomekbd/libgnomekbd.install
+++ /dev/null
@@ -1,17 +0,0 @@
-pkgname=libgnomekbd
-
-post_install() {
- usr/sbin/gconfpkg --install ${pkgname}
-}
-
-pre_upgrade() {
- pre_remove $1
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- usr/sbin/gconfpkg --uninstall ${pkgname}
-}
diff --git a/abs/extra/libgtkhtml/PKGBUILD b/abs/extra/libgtkhtml/PKGBUILD
deleted file mode 100644
index f0753d7..0000000
--- a/abs/extra/libgtkhtml/PKGBUILD
+++ /dev/null
@@ -1,22 +0,0 @@
-# $Id: PKGBUILD 18537 2008-11-06 23:26:35Z jgc $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-pkgname=libgtkhtml
-pkgver=2.11.1
-pkgrel=2
-pkgdesc="An HTML library for GTK"
-arch=(i686 x86_64)
-license=('LGPL')
-depends=('gtk2>=2.14.4' 'libxml2>=2.6.32')
-makedepends=('perlxml' 'pkgconfig')
-options=('!libtool')
-url="http://www.gnome.org"
-source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.11/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('a1d1a197dcff8c4571659deef5495e24')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --sysconfdir=/etc \
- --localstatedir=/var --disable-static || return 1
- make || return 1
- make DESTDIR="${pkgdir}" install || return 1
-}
diff --git a/abs/extra/libgtop/PKGBUILD b/abs/extra/libgtop/PKGBUILD
deleted file mode 100644
index a602fbe..0000000
--- a/abs/extra/libgtop/PKGBUILD
+++ /dev/null
@@ -1,25 +0,0 @@
-# $Id: PKGBUILD 91991 2010-09-28 16:33:41Z ibiru $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=libgtop
-pkgver=2.28.2
-pkgrel=1
-pkgdesc="A library that read information about processes and the running system"
-arch=('i686' 'x86_64')
-license=('LGPL')
-depends=('glib2>=2.26' 'libxau' 'texinfo')
-makedepends=('intltool')
-install=libgtop.install
-source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.28/${pkgname}-${pkgver}.tar.bz2)
-options=('!libtool')
-url="http://www.gnome.org/"
-sha256sums=('49958d7da1f76b257bfd0d557d8ed2b218a5ab0d31b59fed1c32ddf2a1529f5d')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --sysconfdir=/etc \
- --localstatedir=/var --disable-static \
- --with-libgtop-smp
- make
- make DESTDIR="${pkgdir}" install
-}
diff --git a/abs/extra/libgtop/libgtop.install b/abs/extra/libgtop/libgtop.install
deleted file mode 100644
index 15690f1..0000000
--- a/abs/extra/libgtop/libgtop.install
+++ /dev/null
@@ -1,13 +0,0 @@
-info_dir=/usr/share/info
-
-post_install() {
- install-info ${info_dir}/libgtop2.info.gz ${info_dir}/dir 2> /dev/null
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- install-info --delete ${info_dir}/libgtop2.info.gz ${info_dir}/dir 2> /dev/null
-}
diff --git a/abs/extra/libmms/PKGBUILD b/abs/extra/libmms/PKGBUILD
deleted file mode 100644
index d0101a6..0000000
--- a/abs/extra/libmms/PKGBUILD
+++ /dev/null
@@ -1,25 +0,0 @@
-#$Id$
-#Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=libmms
-pkgver=0.6.2
-pkgrel=1
-pkgdesc="MMS stream protocol library"
-arch=(i686 x86_64)
-url="http://sourceforge.net/projects/libmms/"
-license=(LGPL)
-depends=('glib2')
-options=('!libtool')
-source=(http://download.sourceforge.net/libmms/${pkgname}-${pkgver}.tar.gz)
-md5sums=('9f63aa363deb4874e072a45850161bff')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --disable-static
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-}
diff --git a/abs/extra/libmpcdec/PKGBUILD b/abs/extra/libmpcdec/PKGBUILD
deleted file mode 100644
index feeaf8b..0000000
--- a/abs/extra/libmpcdec/PKGBUILD
+++ /dev/null
@@ -1,22 +0,0 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=libmpcdec
-pkgver=1.2.6
-pkgrel=1
-pkgdesc="Musepack decoding library"
-arch=(i686 x86_64)
-license=('custom')
-depends=('glibc')
-options=('!libtool')
-source=(http://files.musepack.net/source/${pkgname}-${pkgver}.tar.bz2)
-url="http://musepack.net/"
-md5sums=('7f7a060e83b4278acf4b77d7a7b9d2c0')
-
-build() {
- cd ${startdir}/src/${pkgname}-${pkgver}
- ./configure --prefix=/usr --disable-static
- make || return 1
- make DESTDIR=${startdir}/pkg install || return 1
- install -Dm644 COPYING ${startdir}/pkg/usr/share/licenses/${pkgname}/COPYING
-}
diff --git a/abs/extra/libmpdclient/PKGBUILD b/abs/extra/libmpdclient/PKGBUILD
deleted file mode 100644
index 84ecda6..0000000
--- a/abs/extra/libmpdclient/PKGBUILD
+++ /dev/null
@@ -1,26 +0,0 @@
-# $Id: PKGBUILD 50625 2009-08-30 03:02:23Z allan $
-# Maintainer: Andrea Scarpino <andrea@archlinux.org>
-
-pkgname=libmpdclient
-pkgver=2.3
-pkgrel=1
-pkgdesc="An asynchronous API library for interfacing MPD in the C, C++ & Objective C languages"
-arch=('i686' 'x86_64')
-url="http://mpd.wikia.com/wiki/ClientLib:libmpdclient"
-license=('GPL2')
-depends=('glibc')
-options=('!libtool')
-source=("http://downloads.sourceforge.net/musicpd/${pkgname}-${pkgver}.tar.bz2")
-sha1sums=('d1ccd40f1c7a723ef0a8eb0e19b51699ec9a8f9e')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-}
diff --git a/abs/extra/libmtp/PKGBUILD b/abs/extra/libmtp/PKGBUILD
deleted file mode 100644
index 06a2dd6..0000000
--- a/abs/extra/libmtp/PKGBUILD
+++ /dev/null
@@ -1,26 +0,0 @@
-# $Id$
-# Contributor: damir <damir@archlinux.org>
-# Contributor: Kevin Edmonds <edmondskevin@hotmail.com>
-
-pkgname=libmtp
-pkgver=1.1.2
-pkgrel=1
-pkgdesc="library implementation of the Media Transfer Protocol"
-arch=("i686" "x86_64")
-url="http://libmtp.sourceforge.net"
-license=('LGPL')
-depends=('libusb-compat')
-options=('!libtool')
-source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-}
-md5sums=('6dc708757e3fd3ccce7445b4f2171263')
diff --git a/abs/extra/libmtp/__changelog b/abs/extra/libmtp/__changelog
deleted file mode 100644
index 310a62b..0000000
--- a/abs/extra/libmtp/__changelog
+++ /dev/null
@@ -1 +0,0 @@
-2012-01-25: bump version to 1.1.2
diff --git a/abs/extra/libnl/PKGBUILD b/abs/extra/libnl/PKGBUILD
deleted file mode 100644
index 8136059..0000000
--- a/abs/extra/libnl/PKGBUILD
+++ /dev/null
@@ -1,28 +0,0 @@
-# $Id$
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-# Contributor: William Rea <sillywilly@gmail.com>
-
-pkgname=libnl
-pkgver=1.1
-pkgrel=3
-pkgdesc="Library for applications dealing with netlink sockets"
-arch=('i686' 'x86_64')
-url="http://www.infradead.org/~tgr/libnl/"
-license=('GPL')
-depends=('glibc')
-source=("http://www.infradead.org/~tgr/libnl/files/${pkgname}-${pkgver}.tar.gz"
- 'fix-compilation.patch')
-
-build() {
- cd ${srcdir}/libnl-${pkgver}
- patch -Np1 -i ${srcdir}/fix-compilation.patch
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd ${srcdir}/libnl-${pkgver}
- make DESTDIR=${pkgdir} install
-}
-md5sums=('ae970ccd9144e132b68664f98e7ceeb1'
- '2490289a9edcc5c03802d151bcf3acc4')
diff --git a/abs/extra/libnl/fix-compilation.patch b/abs/extra/libnl/fix-compilation.patch
deleted file mode 100644
index 92c0696..0000000
--- a/abs/extra/libnl/fix-compilation.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- libnl-1.1.orig/include/netlink-local.h 2008-01-14 16:48:45.000000000 +0100
-+++ libnl-1.1/include/netlink-local.h 2009-06-26 11:15:33.186011844 +0200
-@@ -26,6 +26,7 @@
- #include <sys/socket.h>
- #include <inttypes.h>
- #include <assert.h>
-+#include <limits.h>
-
- #include <arpa/inet.h>
- #include <netdb.h>
diff --git a/abs/extra/liboil/PKGBUILD b/abs/extra/liboil/PKGBUILD
deleted file mode 100644
index e206abb..0000000
--- a/abs/extra/liboil/PKGBUILD
+++ /dev/null
@@ -1,25 +0,0 @@
-# $Id: PKGBUILD 72222 2010-03-13 20:12:59Z jgc $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=liboil
-pkgver=0.3.17
-pkgrel=1
-pkgdesc="Library of simple functions that are optimized for various CPUs."
-arch=('i686' 'x86_64')
-license=('custom')
-url="http://liboil.freedesktop.org/"
-depends=('glibc')
-makedepends=('glib2' 'pkgconfig' 'docbook-xsl')
-options=('!libtool' '!makeflags')
-source=(${url}/download/${pkgname}-${pkgver}.tar.gz)
-md5sums=('47dc734f82faeb2964d97771cfd2e701')
-
-build() {
- unset CFLAGS
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr || return 1
- make || return 1
- make DESTDIR="${pkgdir}" install || return 1
- install -m755 -d "${pkgdir}/usr/share/licenses/liboil"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/liboil/" || return 1
-}
diff --git a/abs/extra/libupnp/PKGBUILD b/abs/extra/libupnp/PKGBUILD
deleted file mode 100644
index 39cfef7..0000000
--- a/abs/extra/libupnp/PKGBUILD
+++ /dev/null
@@ -1,31 +0,0 @@
-# $Id$
-# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
-# Contributor: kastor <kastor@fobos.org.ar>
-
-pkgname=libupnp
-pkgver=1.6.13
-pkgrel=1
-pkgdesc="Portable Open Source UPnP Development Kit"
-arch=('i686' 'x86_64')
-url="http://pupnp.sourceforge.net/"
-license=('BSD')
-depends=('glibc')
-makedepends=('pkgconfig')
-options=('!libtool')
-source=("http://downloads.sourceforge.net/sourceforge/pupnp/${pkgname}-${pkgver}.tar.bz2")
-md5sums=('71476b1781ad179bfc9bead640be5f54')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- make DESTDIR=${pkgdir} install
- install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/custom/${pkgname}/LICENSE
-}
-
diff --git a/abs/extra/libxklavier/PKGBUILD b/abs/extra/libxklavier/PKGBUILD
deleted file mode 100644
index 06e6444..0000000
--- a/abs/extra/libxklavier/PKGBUILD
+++ /dev/null
@@ -1,27 +0,0 @@
-# $Id: PKGBUILD 68544 2010-02-13 09:51:41Z jgc $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-# Contributor: Arjan Timmerman <arjan@archlinux.org>
-
-pkgname=libxklavier
-pkgver=5.0
-pkgrel=1
-pkgdesc="High-level API for X Keyboard Extension"
-arch=('i686' 'x86_64')
-license=('LGPL')
-depends=('libxkbfile>=1.0.5' 'libxml2>=2.7.6' 'glib2>=2.22.3' 'xkeyboard-config>=1.6' 'libxi>=1.2.1' 'iso-codes>=3.10.1')
-makedepends=('pkgconfig')
-options=('!libtool' '!emptydirs')
-url="http://gswitchit.sourceforge.net"
-source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('dfd94b17a752b2839281764f0a16af2b338024c8867c10fba7015f276dec4db0')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr \
- --with-xkb-base=/usr/share/X11/xkb --disable-static || return 1
- make || return 1
-}
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install || return 1
-}
diff --git a/abs/extra/make/PKGBUILD b/abs/extra/make/PKGBUILD
deleted file mode 100644
index a908e6e..0000000
--- a/abs/extra/make/PKGBUILD
+++ /dev/null
@@ -1,20 +0,0 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
-# Maintainer: judd <jvinet@zeroflux.org>
-pkgname=make
-pkgver=3.81
-pkgrel=4
-pkgdesc="GNU make utility to maintain groups of programs"
-arch=(i686 x86_64)
-url="http://www.gnu.org/software/make"
-license=('GPL')
-groups=('base-devel')
-depends=('glibc' 'bash')
-source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
-md5sums=('a4e9494ac6dc3f6b0c5ff75c5d52abba')
-
-build() {
- cd $startdir/src/$pkgname-$pkgver
- ./configure --prefix=/usr
- make || return 1
- make DESTDIR=$startdir/pkg install
-}
diff --git a/abs/extra/mdbtools/PKGBUILD b/abs/extra/mdbtools/PKGBUILD
deleted file mode 100644
index 870551c..0000000
--- a/abs/extra/mdbtools/PKGBUILD
+++ /dev/null
@@ -1,24 +0,0 @@
-# Contributor: TDY <tdy@gmx.com>
-# Contributor: Eduard "bekks" Warkentin <eduard.warkentin@gmail.com>
-pkgname=mdbtools
-pkgver=0.5
-pkgrel=9
-pkgdesc="Utilities for viewing data and exporting schema from Microsoft Access Database files"
-arch=('i686' 'x86_64')
-url="http://sourceforge.net/projects/mdbtools/"
-license=('LGPL' 'GPL')
-depends=('libgnomeui')
-makedepends=('bison' 'flex')
-options=('!libtool')
-source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
- gmdb2.desktop)
-md5sums=('4a18bf96e67161101cade64526756d22'
- '289f236ca91d73510e842922b5776999')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man
- make || return 1
- make DESTDIR="$pkgdir" install
- install -Dm644 ../gmdb2.desktop "$pkgdir/usr/share/applications/gmdb2.desktop"
-}
diff --git a/abs/extra/mdbtools/gmdb2.desktop b/abs/extra/mdbtools/gmdb2.desktop
deleted file mode 100644
index 8b40dc2..0000000
--- a/abs/extra/mdbtools/gmdb2.desktop
+++ /dev/null
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Version=1.0
-Type=Application
-Name=MDB Tools
-Comment=View data and export schema from MDB files
-TryExec=/usr/bin/gmdb2
-Exec=gmdb2
-Icon=/usr/share/gmdb/glade/logo.xpm
-Categories=System;FileTools;
diff --git a/abs/extra/mediaserv/PKGBUILD b/abs/extra/mediaserv/PKGBUILD
deleted file mode 100644
index 59eed79..0000000
--- a/abs/extra/mediaserv/PKGBUILD
+++ /dev/null
@@ -1,33 +0,0 @@
-# $Id: PKGBUILD 5936 2008-07-21 20:24:16Z thomas $
-# Maintainer: Cecil Watson<knoppmyth@gmail.com>
-
-pkgname=mediaserv
-pkgver=0.05
-pkgrel=20
-pkgdesc="On-demand transcoding server for videos, targetting the Nokia Internet Tablets."
-arch=('i686' 'x86_64')
-license=('ARTISTIC')
-depends=('tablet-encode' 'perl-xml-rss')
-backup=(/myth/mediaserv/config)
-install=(mediaserv.install)
-url="http://mediautils.garage.maemo.org/tablet-encode.html"
-source=(https://garage.maemo.org/frs/download.php/2632/mediaserv-0.05.tar.gz linhes-mediaserv.tar.bz2 mediaserv.no_daemon.patch run finish)
-
-build() {
- cd ${srcdir}/mediaserv
- patch -Np1 -i ${startdir}/src/mediaserv.no_daemon.patch || return 1
- mkdir -p $startdir/pkg/usr/bin
- mkdir -p $startdir/pkg/etc/sv/mediaserv/supervise
- mkdir -p $startdir/pkg/usr/share/doc/mediaserv
- mkdir -p $startdir/pkg/myth/mediaserv
- mkdir -p $startdir/pkg/myth/mediaserv/media
- install -D -m755 mediaserv $startdir/pkg/usr/bin
- cp README.txt $startdir/pkg/usr/share/doc/mediaserv
- cp -a ${srcdir}/.mediaserv/* ${pkgdir}/myth/mediaserv
- install -D -m755 ${srcdir}/run ${srcdir}/finish $startdir/pkg/etc/sv/mediaserv
-}
-md5sums=('94c300a0e95c55dae42a61f77e4e41fe'
- 'e7b6fcc91b73939db350c4854c19e9ee'
- '68d25630786e76fa36c9e6bb29821367'
- 'd047f0fa5f1d39d864debd8a76f677e2'
- 'f2022c1cc8f04959299c97edde06d023')
diff --git a/abs/extra/mediaserv/finish b/abs/extra/mediaserv/finish
deleted file mode 100644
index f424494..0000000
--- a/abs/extra/mediaserv/finish
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/bash
-exec 2>&1
-export TERM=linux
-. /etc/rc.conf
-. /etc/rc.d/functions
-stat_runit "Stopping mediaserv"
-#wait
-exec /usr/bin/killall mediaserv
diff --git a/abs/extra/mediaserv/linhes-mediaserv.tar.bz2 b/abs/extra/mediaserv/linhes-mediaserv.tar.bz2
deleted file mode 100644
index 6397fb7..0000000
--- a/abs/extra/mediaserv/linhes-mediaserv.tar.bz2
+++ /dev/null
Binary files differ
diff --git a/abs/extra/mediaserv/mediaserv.install b/abs/extra/mediaserv/mediaserv.install
deleted file mode 100644
index 53fe53a..0000000
--- a/abs/extra/mediaserv/mediaserv.install
+++ /dev/null
@@ -1,38 +0,0 @@
-# arg 1: the new package version
-
-
-post_install() {
- if [ ! -e $MYTHHOME/.mediaserv ]
- then
- ln -s /myth/mediaserv $MYTHHOME/.mediaserv
- fi
-
- if [ ! -e /myth/mediaserv/media/tv ]
- then
- ln -s /myth/pretty /myth/mediaserv/media/tv
- fi
- if [ ! -e /myth/mediaserv/media/video ]
- then
- ln -s /myth/video /myth/mediaserv/media/video
- fi
- chown -R mythtv.mythtv /myth/mediaserv
- add_service.sh mediaserv
- sv start mediaserv
-}
-# arg 1: the new package version
-# arg 2: the old package version
-post_upgrade() {
- post_install $1
-}
-
-# arg 1: the old package version
-post_remove() {
- sv stop mediaserv
- remove_service.sh mediaserv
- rm -fr $MYTHHOME/.mediaserv
- rm -fr /myth/mediaserv
-}
-
-op=$1
-shift
-$op $*
diff --git a/abs/extra/mediaserv/mediaserv.no_daemon.patch b/abs/extra/mediaserv/mediaserv.no_daemon.patch
deleted file mode 100644
index b659354..0000000
--- a/abs/extra/mediaserv/mediaserv.no_daemon.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- mediaserv/mediaserv.orig 2009-06-15 03:16:53.000000000 +0000
-+++ mediaserv/mediaserv 2009-06-15 03:17:29.000000000 +0000
-@@ -608,10 +608,10 @@
- # daemonize - daemonize the parent/control app
- #
- sub daemonize {
-- my $pid = fork; # Fork off the main process
-- defined ($pid) or die "Cannot start daemon: $!";
-- print "Parent daemon running.\n" if $pid; # If we have a PID, the parent daemonized okay
-- exit if $pid; # Return control to the user
-+# my $pid = fork; # Fork off the main process
-+# defined ($pid) or die "Cannot start daemon: $!";
-+ print "Parent daemon running.\n" ; # If we have a PID, the parent daemonized okay
-+# exit if $pid; # Return control to the user
-
- # Now we're a daemonized parent process!
-
diff --git a/abs/extra/mediaserv/run b/abs/extra/mediaserv/run
deleted file mode 100644
index fbd1c97..0000000
--- a/abs/extra/mediaserv/run
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/bash
-exec 2>&1
-export TERM=linux
-. /etc/rc.conf
-. /etc/rc.d/functions
-stat_runit "Starting mediaserv"
-exec su mythtv -c "/usr/bin/mediaserv" 2>/dev/null
-wait
diff --git a/abs/extra/mercurial/PKGBUILD b/abs/extra/mercurial/PKGBUILD
deleted file mode 100644
index 7c146f5..0000000
--- a/abs/extra/mercurial/PKGBUILD
+++ /dev/null
@@ -1,41 +0,0 @@
-# $Id: PKGBUILD 99614 2010-11-15 21:11:47Z giovanni $
-# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
-# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
-
-pkgname=mercurial
-pkgver=1.7.1
-pkgrel=2
-pkgdesc="A scalable distributed SCM tool"
-arch=('i686' 'x86_64')
-url="http://www.selenic.com/mercurial"
-license=('GPL')
-depends=('python2')
-optdepends=('tk: for the hgk GUI')
-source=(http://www.selenic.com/mercurial/release/${pkgname}-${pkgver}.tar.gz
- mercurial.profile)
-md5sums=('b14caa0f9e4dd5acbf9e9a6059c37fd3'
- '43e1d36564d4c7fbe9a091d3ea370a44')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- python2 setup.py install --root="${pkgdir}/" --optimize=1 || return 1
-
- sed -i -e 's#env python#env python2#' \
- "${pkgdir}"/usr/lib/python2.6/site-packages/mercurial/lsprof.py
-
- install -d ${pkgdir}/usr/share/man/{man1,man5}
- install -m644 doc/hg.1 "${pkgdir}/usr/share/man/man1" || return 1
- install -m644 doc/{hgrc.5,hgignore.5} "${pkgdir}/usr/share/man/man5" || return 1
- install -m755 contrib/hgk "${pkgdir}/usr/bin" || return 1
- install -m644 -D contrib/zsh_completion "${pkgdir}/usr/share/zsh/site-functions/_hg" || return 1
- install -m644 -D contrib/bash_completion "${pkgdir}/etc/bash_completion.d/hg" || return 1
- install -d "${pkgdir}/usr/share/emacs/site-lisp"
- install -m644 contrib/{mq.el,mercurial.el} "${pkgdir}/usr/share/emacs/site-lisp" || return 1
-
- vimpath="${pkgdir}/usr/share/vim/vimfiles"
- install -Dm644 contrib/vim/HGAnnotate.vim "${vimpath}/syntax/HGAnnotate.vim" || return 1
-
- # set some variables
- install -m755 -d ${pkgdir}/etc/profile.d
- install -m755 ${srcdir}/mercurial.profile "${pkgdir}/etc/profile.d/mercurial.sh" || return 1
-}
diff --git a/abs/extra/mercurial/__changelog b/abs/extra/mercurial/__changelog
deleted file mode 100644
index e0cb121..0000000
--- a/abs/extra/mercurial/__changelog
+++ /dev/null
@@ -1 +0,0 @@
-7/4/11 - chw - change to ensure use of python 2.6 in PKGBUILD
diff --git a/abs/extra/mercurial/mercurial.profile b/abs/extra/mercurial/mercurial.profile
deleted file mode 100644
index fc96182..0000000
--- a/abs/extra/mercurial/mercurial.profile
+++ /dev/null
@@ -1 +0,0 @@
-export HG=/usr/bin/hg
diff --git a/abs/extra/mingetty/PKGBUILD b/abs/extra/mingetty/PKGBUILD
deleted file mode 100644
index d24a8b5..0000000
--- a/abs/extra/mingetty/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# Contributor: stonecrest <stonecrestATgmailDOTcom>
-pkgname=mingetty
-pkgver=1.08
-pkgrel=2
-pkgdesc="Designed to be a minimal getty and allows automatic logins."
-arch=('i686' 'x86_64')
-url="http://sourceforge.net/projects/mingetty"
-license=('GPL')
-depends=('glibc')
-makedepends=('gcc' 'make')
-provides=('mingetty')
-conflicts=('mingetty')
-md5sums=('2a75ad6487ff271424ffc00a64420990'
- 'b1bcb0668c34d4981e3acddc3990dfdb')
-source=(http://downloads.sourceforge.net/sourceforge/mingetty/$pkgname-$pkgver.tar.gz
- mingetty-utf8.patch)
-
-build() {
- patch $startdir/src/$pkgname-$pkgver/mingetty.c mingetty-utf8.patch || return 1
-
- mkdir -p $startdir/pkg/sbin || return 1
- mkdir -p $startdir/pkg/usr/man/man8 || return 1
-
- cd $startdir/src || return 1
- cd $startdir/src/$pkgname-$pkgver || return 1
-
- LDFLAGS="-s" make || return 1
- install -m 0755 mingetty $startdir/pkg/sbin || return 1
- install -m 0644 mingetty.8 $startdir/pkg/usr/man/man8 || return 1
-}
diff --git a/abs/extra/mingetty/mingetty-utf8.patch b/abs/extra/mingetty/mingetty-utf8.patch
deleted file mode 100644
index c269039..0000000
--- a/abs/extra/mingetty/mingetty-utf8.patch
+++ /dev/null
@@ -1,158 +0,0 @@
-diff -Nru mingetty-1.07.orig/mingetty.c mingetty-1.07/mingetty.c
---- mingetty-1.07.orig/mingetty.c 2004-01-03 15:15:56.000000000 +0200
-+++ mingetty-1.07/mingetty.c 2006-11-22 22:13:26.967910100 +0200
-@@ -16,10 +16,15 @@
- * - autologin only at first login
- * - /etc/mingetty.conf that can be used instead of /etc/inittab for
- * command line options
-- * - Can UTF-8 setup be done within mingetty?
-+ * - Can UTF-8 setup be done within mingetty? Let's try now :-) (VinzC)
- * - Also add /bin/login-type functionality in here?
- */
-
-+/* Additional comments: Vincent Cadet <vcadet@hotmail.com> (2006-11-21)
-+ * - Attempt to make mingetty support UTF-8. Modifications were imported
-+ * from Suse migetty.c 0.9.6s.
-+ */
-+
- #include <stdio.h>
- #include <stdlib.h>
- #include <unistd.h>
-@@ -39,6 +44,19 @@
- #include <syslog.h>
- #include <sys/utsname.h>
- #include <time.h>
-+#include <locale.h>
-+#include <iconv.h>
-+#include <wctype.h>
-+#include <sys/kd.h>
-+#include <sys/ttydefaults.h>
-+
-+#ifndef IUTF8
-+# ifndef ASM_IUTF8
-+# error ASM_IUTF8 input flag not defined - Cannot define IUTF8
-+# else
-+# define IUTF8 ASM_IUTF8
-+# endif
-+#endif
-
- /* name of this program (argv[0]) */
- static char *progname;
-@@ -74,6 +92,8 @@
- static char *autologin = NULL;
- /* try to read a char before dropping to login prompt */
- static int loginpause = 0;
-+/* terminal mode */
-+static int mode = K_RAW;
-
- /* error() - output error messages */
- static void error (const char *fmt, ...)
-@@ -187,10 +207,21 @@
- if (fd > 2)
- close (fd);
-
-+ /* Detect mode of current keyboard setup, e.g. for UTF-8 */
-+ if (ioctl(0, KDGKBMODE, &mode) < 0)
-+ mode = K_RAW;
-+
- /* Write a reset string to the terminal. This is very linux-specific
- and should be checked for other systems. */
- if (noclear == 0)
-- write (0, "\033c", 2);
-+ /* don't write a full reset (ESC c) because this leaves the
-+ unicode mode again if the terminal was in unicode mode
-+ and also undos the ESC sequences in CONSOLE_MAGIC which
-+ are needed for some languages/console-fonts.
-+ Just put the cursor to the home position (ESC [ H),
-+ erase everything below the cursor (ESC [ J), and set the
-+ scrolling region to the full window (ESC [ r) */
-+ write (0, "\033[r\033[H\033[J", 9);
-
- sigaction (SIGHUP, &sa_old, NULL);
- }
-@@ -292,32 +323,75 @@
-
- static char *get_logname (void)
- {
-- static char logname[40];
-+ static char logname[4*UT_NAMESIZE];
- char *bp;
- unsigned char c;
-+ int ascii;
-+ iconv_t ic;
-
- tcflush (0, TCIFLUSH); /* flush pending input */
-+
-+ /* Check for UTF-8 mode */
-+ switch(mode) {
-+ case K_UNICODE:
-+ ascii = 0;
-+ setlocale(LC_CTYPE, "en_US.UTF-8");
-+ break;
-+ case K_RAW:
-+ case K_MEDIUMRAW:
-+ case K_XLATE:
-+ default:
-+ ascii = 1;
-+ setlocale(LC_CTYPE, "POSIX");
-+ break;
-+ }
-+
- for (*logname = 0; *logname == 0;) {
- do_prompt (1);
- for (bp = logname;;) {
- if (read (0, &c, 1) < 1) {
-- if (errno == EINTR || errno == EIO
-- || errno == ENOENT)
-+ if (errno == EINTR || errno == EAGAIN) {
-+ usleep(1000);
-+ continue;
-+ }
-+ if (errno == EIO || errno == ENOENT)
- exit (EXIT_SUCCESS);
- error ("%s: read: %s", tty, strerror (errno));
- }
- if (c == '\n' || c == '\r') {
- *bp = 0;
- break;
-- } else if (!isprint (c))
-- error ("%s: invalid character 0x%x in login"
-- " name", tty, c);
-+ }
-+
-+ if (ascii && !isprint (c))
-+ error ("%s: invalid character 0x%x in login name", tty, c);
- else if ((size_t)(bp - logname) >= sizeof (logname) - 1)
- error ("%s: too long login name", tty);
-- else
-- *bp++ = c;
-+
-+ *bp++ = c;
- }
- }
-+
-+ if (!ascii && (ic = iconv_open("WCHAR_T", "UTF-8"))) {
-+ char tmpbuf[4*sizeof(logname)], *op, *lp;
-+ size_t len = bp - logname;
-+ size_t out = sizeof(tmpbuf) - 1;
-+ size_t wcl;
-+ wint_t *wcp;
-+
-+ op = tmpbuf;
-+ lp = logname;
-+ if ((wcl = iconv(ic , &lp, &len, &op, &out)) == (size_t)-1)
-+ error ("%s: invalid character conversion for login name", tty);
-+ iconv_close(ic);
-+
-+ wcp = (wint_t*)tmpbuf;
-+ wcp[wcl] = (wint_t)0;
-+ while (*wcp) {
-+ if (!iswprint(*wcp++))
-+ error ("%s: invalid character for login name found", tty);
-+ }
-+ }
- return logname;
- }
-
-
-
diff --git a/abs/extra/monitorix/PKGBUILD b/abs/extra/monitorix/PKGBUILD
deleted file mode 100644
index d2dceec..0000000
--- a/abs/extra/monitorix/PKGBUILD
+++ /dev/null
@@ -1,47 +0,0 @@
-# Contributor: graysky <graysky AT archlinux dot us>
-# Contributor: res <andres87p gmail>
-
-pkgname=monitorix
-pkgver=1.5.2
-pkgrel=1
-pkgdesc='A lightweight system monitoring tool that uses rrd databases.'
-arch=(any)
-url=http://www.$pkgname.org/
-license=(GPL)
-depends=('rrdtool' 'perl-libwww')
-optdepends=('lm_sensors: enable support for system temp monitoring'
-'hddtemp: enable support for hdd temp monitoring'
-'metamail: enable support for reports via system mail')
-
-backup=(etc/$pkgname.conf)
-source=($url$pkgname-$pkgver.tar.gz
- monitorix.rc.d)
-install=('readme.install')
-
-build() {
- cd $pkgname-$pkgver
-
- install -D $pkgname.pl $pkgdir/usr/sbin/$pkgname.pl
- install -D ../$pkgname.rc.d $pkgdir/etc/rc.d/$pkgname
-
-# use Arch defaults
- sed -e '/^our $OSTYPE/ s,RHFC,Arch,' \
- -e '/^our @HDDTEMP_LIST/ s,hda,sda,' < $pkgname.conf \
- > $pkgdir/etc/$pkgname.conf
- mkdir -p $pkgdir/var/lib/$pkgname/usage
- cp -r reports $pkgdir/var/lib/$pkgname
-
- mkdir -p $pkgdir/usr/share/doc/$pkgname
- cp Changes $pkgname-apache.conf $pkgname-alert.sh README README.nginx TODO \
- $pkgdir/usr/share/doc/$pkgname
-
- install -dm777 $pkgdir/srv/http/$pkgname/imgs
- cp {logo_bot,logo_top,${pkgname}ico}.png $pkgdir/srv/http/$pkgname
-
- install -D $pkgname.cgi $pkgdir/srv/http/cgi-bin/$pkgname.cgi
-
- gzip -9 man/man5/$pkgname.conf.5
- install -Dm644 man/man5/$pkgname.conf.5.gz $pkgdir/usr/share/man/man5/$pkgname.conf.5.gz
-}
-sha256sums=('3d025d097fe8dd458501b8cf3345b80b1b66625ae257e21452b95d1596ec5b6d'
- 'f9ba4e09f8e583808bc9fa5476ddac067182799512e103ea40565b7da47dbab6')
diff --git a/abs/extra/monitorix/monitorix.rc.d b/abs/extra/monitorix/monitorix.rc.d
deleted file mode 100644
index 24eb433..0000000
--- a/abs/extra/monitorix/monitorix.rc.d
+++ /dev/null
@@ -1,56 +0,0 @@
-#!/bin/bash
-#
-# @(#) Fibranet NSP, SL
-# Copyright (C) 2005-2009 by Jordi Sanfeliu <jordi@fibranet.cat>
-#
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-case $1 in
- start)
- stat_busy "Starting Monitorix"
- if ck_daemon monitorix; then
- # check for monitorix-tmps and if present execute it
- if [ -x /etc/cron.hourly/sync-monitorix.sh ]; then
- /etc/cron.hourly/sync-monitorix.sh >/dev/null 2>&1
- fi
- # Creates RRDs files if needed
- /usr/sbin/monitorix.pl create >/dev/null 2>&1 || stat_die $?
- /usr/sbin/monitorix.pl init >/dev/null 2>&1 || stat_die $?
- add_daemon monitorix
- # restart crond so data gets collected
- /etc/rc.d/crond restart
- stat_done
- else
- stat_fail
- fi
- ;;
-
- stop)
- stat_busy "Stopping Monitorix"
- if ! ck_daemon monitorix; then
- # check for monitorix-tmps and if present execute it
- if [ -x /etc/cron.hourly/sync-monitorix.sh ]; then
- /etc/cron.hourly/sync-monitorix.sh >/dev/null 2>&1
- fi
- /usr/sbin/monitorix.pl stop 2>&1 || stat_die $?
- rm_daemon monitorix
- # restart crond data stops getting collected
- /etc/rc.d/crond restart
- stat_done
- else
- stat_fail
- fi
- ;;
-
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
- ;;
-esac
-
-exit 0
diff --git a/abs/extra/monitorix/readme.install b/abs/extra/monitorix/readme.install
deleted file mode 100644
index 2630018..0000000
--- a/abs/extra/monitorix/readme.install
+++ /dev/null
@@ -1,54 +0,0 @@
-post_install() {
- echo '----------------------------------------------------------------------'
- echo 'NOTE that you will need a mono-font for this package to work.'
- echo 'There are many options here so I did not add one as a formal dep.'
- echo 'You may use for example terminus-font. If your graphs have no numbers'
- echo 'go ahead and install it. If they work as is you do not need it.'
- echo ' '
- echo 'Consider having your rrd databases for monitorix reside in RAM.'
- echo 'D/L and build the monitorix-tmpfs package from the AUR:'
- echo
- echo ' http://aur.archlinux.org/packages.php?ID=34134'
- echo '----------------------------------------------------------------------'
-}
-
-post_remove() {
- echo '----------------------------------------------------------------------'
- echo 'To remove all traces of monitorix from your system, you must manually'
- echo 'remove the following dir trees (doing so will delete your databases):'
- echo
- echo '/var/lib/monitorix'
- echo '/srv/http/monitorix'
- echo '----------------------------------------------------------------------'
-}
-
-# $1: The new package version
-# $2: The old package version
-
-post_upgrade() {
-NEW=`echo $1 | cut -f-1 -d '-'`
-OLD=`echo $2 | cut -f-1 -d '-'`
-
-# if running the 1.4.2 series then display warning message
-
-if [ "$OLD" = "1.4.2" ]; then
- echo '----------------------------------------------------------------------'
- echo ' WARNING:'
- echo
- echo 'With this upgrade you MUST replace your current version of'
- echo '/etc/monitorix.conf with /etc/monitorix.conf.pacnew which contains new'
- echo 'configs needed by the 1.5.0 release of monitorix.'
- echo
- echo 'Simply do the following:'
- echo '# cp /etc/monitorix.conf /etc/monitorix.conf.old'
- echo '# mv /etc/monitorix.conf.pacnew /etc/monitorix.conf'
- echo
- echo 'Now you can compare your old config saved as /etc/monitorix.conf.old'
- echo 'to your new config to ensure that you get all your config options into'
- echo 'the new version.'
- echo
- echo 'Restart monitorix when you have completed the edit as well:'
- echo '# /etc/rc.d/monitorix restart'
- echo '----------------------------------------------------------------------'
-fi
-}
diff --git a/abs/extra/most/PKGBUILD b/abs/extra/most/PKGBUILD
deleted file mode 100644
index b2d8624..0000000
--- a/abs/extra/most/PKGBUILD
+++ /dev/null
@@ -1,20 +0,0 @@
-# $Id: PKGBUILD 57011 2009-10-31 08:09:42Z allan $
-# Maintainer: juergen <juergen@archlinux.org>
-# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
-
-pkgname=most
-pkgver=5.0.0a
-pkgrel=2
-pkgdesc="A terminal pager similar to 'more' and 'less'"
-arch=('i686' 'x86_64')
-depends=('slang')
-license=('GPL')
-url="ftp://space.mit.edu/pub/davis/most/"
-source=(ftp://space.mit.edu/pub/davis/$pkgname/$pkgname-$pkgver.tar.gz)
-md5sums=('30f2131b67f61716f6fe1f65205da48b')
-
-build() {
- cd $srcdir/$pkgname-$pkgver
- ./configure --prefix=/usr --sysconfdir=/etc || return 1
- make DESTDIR=$pkgdir install || return 1
-}
diff --git a/abs/extra/most/most-debian.patch b/abs/extra/most/most-debian.patch
deleted file mode 100644
index 4387420..0000000
--- a/abs/extra/most/most-debian.patch
+++ /dev/null
@@ -1,1655 +0,0 @@
---- most-4.10.2.orig/most.1
-+++ most-4.10.2/most.1
-@@ -134,7 +134,7 @@
- Use this switch when you want to view files
- containing 8 bit characters.
- .I most
--will display the file 16 bytes per line in hexidecimal notation.
-+will display the file 16 bytes per line in hexadecimal notation.
- A typical line looks like:
- .IP
- .Ds
-@@ -185,12 +185,13 @@
- This option is meaningful only when used with the
- .B \-v
- option.
-+.TP
- .BI + lineno
- Start up at
- .IR lineno .
- .TP
--.B +c
--Make search case sensitive.
-+.B -c
-+Make searches case sensitive.
- By default, they are not.
- .TP
- .B +d
-@@ -482,7 +483,7 @@
- descriptors that represent the file name and line number,
- respectively. For example, if JED is your editor, then set
- .B MOST_EDITOR
--to 'jed %s -g %d'.
-+to 'jed %s -g %d'. This will only work where the %s preceeds the %d.
- .TP
- .B MOST_HELP
- This variable may be used to specify an alternate help file.
-@@ -496,7 +497,7 @@
- .I most.rc
- on other systems.
- .SH CONFIGURATION FILE SYNTAX
--When most starts up, it tries to read a system confiuration file and
-+When most starts up, it tries to read a system configuration file and
- then a personal configuration file. These files may be used to
- specify keybindings and colors.
- .PP
---- most-4.10.2.orig/src/buffer.c
-+++ most-4.10.2/src/buffer.c
-@@ -44,10 +44,10 @@
-
- Most_Buffer_Type *Most_Buf;
-
--int Most_Num_Lines;
-+long long Most_Num_Lines;
-
--unsigned int Most_C_Offset;
--int Most_C_Line;
-+unsigned long long Most_C_Offset;
-+long long Most_C_Line;
-
- static unsigned char *beg_of_line1(void)
- {
-@@ -61,24 +61,29 @@
- {
- if (*pos == '\n')
- {
-- pos--;
-- while ((pos > Most_Beg)
-- && (*pos != '\n'))
-+ pos--; /* Skip back the new-line. */
-+ /* This block is UTF-8 safe, because it only scans the
-+ buffer for a new-line, and doesn't count
-+ characters. */
-+ while ((pos > Most_Beg) && (*pos != '\n'))
- pos--;
-
-- if (*pos != '\n') return pos;
-+ if (*pos != '\n') return Most_Beg;
-+ /* from here on *pos == '\n' */
- if (pos + 1 != cpos)
- return pos + 1;
- }
- }
-- else pos--;
-+ else
-+ pos = SLutf8_bskip_char(Most_Beg, pos);
-
- if (*pos != '\n')
- {
-- while ((pos > Most_Beg)
-- && (*pos != '\n'))
-+ /* This block is UTF-8 safe. See comment above. */
-+ while ((pos > Most_Beg) && (*pos != '\n'))
- pos--;
- if (*pos != '\n') return Most_Beg;
-+ /* from here on *pos == '\n' */
- return pos + 1;
- }
-
-@@ -93,55 +98,6 @@
- return pos;
- }
-
--
--static unsigned char *forward_columns (unsigned char *b, unsigned char *e, unsigned int num_cols)
--{
-- unsigned int col = 0;
--
-- while ((b < e)
-- && (col < num_cols))
-- {
-- unsigned char ch = *b++;
-- if (((ch >= ' ') && (ch < 0x7F))
-- || (ch >= SLsmg_Display_Eight_Bit))
-- {
-- col++;
-- continue;
-- }
--
-- if ((ch == '\b') || (ch == '\t') || (ch == '\r'))
-- switch (ch)
-- {
-- case '\b':
-- if (Most_V_Opt == 0)
-- {
-- if (col > 0) col--;
-- }
-- else col += 2;
-- break;
--
-- case '\r':
-- if (Most_V_Opt == 0)
-- col = 0;
-- else
-- col += 2;
-- break;
--
-- case '\t':
-- if (Most_T_Opt == 0)
-- col = Most_Tab_Width * (col/Most_Tab_Width + 1);
-- else
-- col += 2;
-- break;
-- }
-- else if (ch & 0x80)
-- col += 3;
-- else
-- col += 2;
-- }
-- return b;
--}
--
- /* does not move point */
- static unsigned char *end_of_line1(void)
- {
-@@ -164,6 +120,9 @@
-
- if (*pos != '\n')
- {
-+ /* This block is UTF-8 safe, because it only scans the buffer
-+ for a new-line, and doesn't count characters. */
-+
- n = pmax - pos;
- n2 = n % 8;
- pmax = pos + (n - 8);
-@@ -215,7 +174,7 @@
- ncols = SLtt_Screen_Cols-1;
- while (1)
- {
-- unsigned char *next_b = forward_columns (b, e, ncols);
-+ unsigned char *next_b = most_forward_columns (b, e, ncols, 1);
- if ((next_b == e) || (next_b == b))
- break;
-
-@@ -237,11 +196,12 @@
- return e;
-
- if (b == NULL) b = most_beg_of_line ();
-- b = forward_columns (b, e, SLtt_Screen_Cols-1);
-+ b = most_forward_columns (b, e, SLtt_Screen_Cols-1, 1);
-
- /* Do not wrap the line if the last character falls on the last column
- * of the display.
- */
-+ /* FIXME potential bug if dealing with multi-byte char. */
- if ((b + 1 <= e)
- && (b + 1 < Most_Eob)
- && (b[1] == '\n'))
-@@ -250,10 +210,10 @@
- return b;
- }
-
--int most_forward_line(int save)
-+long long most_forward_line(long long save)
- {
-- int m;
-- register int n = save;
-+ long long m;
-+ register long long n = save;
- unsigned char *p;
- unsigned char *pmax;
-
-@@ -346,14 +306,14 @@
- }
-
- /* Count lines in the region. A half line counts as 1 */
--int most_count_lines(unsigned char *beg, unsigned char *end)
-+long long most_count_lines(unsigned char *beg, unsigned char *end)
- {
-- int save_line, n;
-+ long long save_line, n;
- unsigned char *save_beg, *save_eob;
-- unsigned int save_pos;
-+ unsigned long long save_pos;
- int dn = 1000;
-
-- if (Most_B_Opt) return(1 + (int)(end - beg) / 16);
-+ if (Most_B_Opt) return(1 + (long long)(end - beg) / 16);
-
- save_line = Most_C_Line; save_beg = Most_Beg; save_eob = Most_Eob;
- save_pos = Most_C_Offset;
-@@ -371,9 +331,9 @@
- return(n);
- }
-
--void most_goto_line(int line)
-+void most_goto_line(long long line)
- {
-- int dif_c, dif_b,dif_t;
-+ long long dif_c, dif_b,dif_t;
-
- if (line < 1) line = 1;
- most_read_to_line(line);
-@@ -420,7 +380,7 @@
- }
-
- /* return line the point is on without the final '\n's */
--int most_extract_line(unsigned char **beg, unsigned char **end)
-+long long most_extract_line(unsigned char **beg, unsigned char **end)
- {
- *beg = most_beg_of_line();
- *end = end_of_line (*beg);
-@@ -428,12 +388,12 @@
- return 0;
- }
-
--int most_what_line(unsigned char *pos)
-+long long most_what_line(unsigned char *pos)
- {
-- unsigned int save_pos;
-- int save_line, dir;
-- register int dif_c, dif_b,dif_t;
-- int ret;
-+ unsigned long long save_pos;
-+ long long save_line, dir;
-+ register long long dif_c, dif_b,dif_t;
-+ long long ret;
-
- if (Most_B_Opt)
- {
-@@ -517,7 +477,7 @@
- }
-
- /* given a buffer position, find the line and column */
--void most_find_row_column(unsigned char *pos, int *r, int *c)
-+void most_find_row_column(unsigned char *pos, long long *r, long long *c)
- {
- unsigned char *beg;
- unsigned int save_offset;
-@@ -545,7 +505,10 @@
- /* Now we have found the line it is on so.... */
- beg = most_beg_of_line();
- *c = 1;
-- while (beg++ < pos) *c = *c + 1;
-+ if (Most_UTF8_Mode)
-+ while ((beg = SLutf8_skip_char(beg, pos)) < pos) *c = *c + 1;
-+ else
-+ while (beg++ < pos) *c = *c + 1;
- Most_C_Line = save_line;
- Most_C_Offset = save_offset;
- }
---- most-4.10.2.orig/src/buffer.h
-+++ most-4.10.2/src/buffer.h
-@@ -23,12 +23,12 @@
-
- extern Most_Buffer_Type *Most_Buf;
- extern unsigned char *Most_Beg, *Most_Eob;
--extern int Most_Num_Lines;
-+extern long long Most_Num_Lines;
-
- /* Offset of current position from beginning of buffer */
--extern unsigned int Most_C_Offset;
-+extern unsigned long long Most_C_Offset;
-
--extern int Most_C_Line;
-+extern long long Most_C_Line;
- /*
- * Current line number. If at the beginning of the buffer, it is 1. If
- * we are at the last point of the buffer it is the number of lines.
-@@ -37,26 +37,26 @@
- /* This routine does not move the point */
- extern unsigned char *most_beg_of_line(void);
-
--extern int most_forward_line(int);
-+extern long long most_forward_line(long long);
- /* This routine moves the point forward n lines. n can be negative.
- It returns the number moved. */
-
--extern void most_goto_line(int);
-+extern void most_goto_line(long long);
- /* Move the point somewhere on the nth line of the buffer returning
- C_POS */
-
--extern int most_what_line(unsigned char *);
-+extern long long most_what_line(unsigned char *);
- /* return the line number of position 'argument'. Does not move point */
-
- /* count the number of lines in the region delimited by beg and end.
- Counts lines from beg up to end but does not count end.
- Does not move point. */
--extern int most_count_lines(unsigned char *, unsigned char *);
--extern int most_extract_line(unsigned char **, unsigned char **);
-+extern long long most_count_lines(unsigned char *, unsigned char *);
-+extern long long most_extract_line(unsigned char **, unsigned char **);
-
- extern Most_Buffer_Type *most_switch_to_buffer(Most_Buffer_Type *);
- extern Most_Buffer_Type *most_create_buffer(char *);
--extern void most_find_row_column(unsigned char *, int *, int *);
-+extern void most_find_row_column(unsigned char *, long long *, long long *);
-
- #endif
-
---- most-4.10.2.orig/src/keym.c
-+++ most-4.10.2/src/keym.c
-@@ -228,7 +228,7 @@
- static void goto_percent_cmd(void)
- {
- unsigned char *pos;
-- int n;
-+ long long n;
-
- if (Most_Digit_Arg != (int *) NULL) n = *Most_Digit_Arg;
- else
-@@ -282,7 +282,7 @@
-
- static void find_next_cmd(void)
- {
-- int col, line, n = 1;
-+ long long col, line, n = 1;
- unsigned long ofs;
-
- if (Most_Digit_Arg != NULL) n = *Most_Digit_Arg;
-@@ -309,7 +309,7 @@
- #else
- "Search: ",
- #endif
-- Most_Search_Str,
-+ (char *) Most_Search_Str,
- MOST_SEARCH_BUF_LEN
- ) == -1) return;
- Most_Curs_Offset = Most_C_Offset;
-@@ -325,7 +325,7 @@
- #else
- "Search Backwards: ",
- #endif
-- Most_Search_Str,
-+ (char *) Most_Search_Str,
- MOST_SEARCH_BUF_LEN) == -1) return;
- find_next_cmd();
- }
---- most-4.10.2.orig/src/line.c
-+++ most-4.10.2/src/line.c
-@@ -87,8 +87,7 @@
- while (b < end)
- {
- ch = *b++;
-- if (((ch >= ' ') && (ch < 0x7F))
-- || (ch >= SLsmg_Display_Eight_Bit))
-+ if (most_isprint(ch))
- {
- *s++ = ch;
- continue;
-@@ -108,103 +107,156 @@
-
- if (end > Most_Eob) end = Most_Eob;
-
-- sprintf (buf, "0x%08X: ", Most_C_Offset);
-+ sprintf (buf, "0x%08llX: ", Most_C_Offset);
- ascii_format_line (beg, end, buf + 12);
- SLsmg_write_string (buf);
- SLsmg_erase_eol ();
- }
-
--static int most_analyse_line(unsigned char *begg, unsigned char *endd,
-- char *out, char *attributes)
-+int most_isprint(unsigned char ch)
- {
-- unsigned char *beg, *end;
-- unsigned int min_col, max_col;
-- unsigned int i, i_max;
-+ /* Can this be directly replaced with isprint? */
-+ return (ch >= ' ' && ch < 0x7F) || ch >= SLsmg_Display_Eight_Bit;
-+}
-+
-+static void most_analyse_line(unsigned char *beg, unsigned char *end,
-+ unsigned char *out, char *attributes)
-+{
-+ unsigned char *pout;
-+ char* pattributes;
-+
-+ /* Holds the number of columns for the current character counting
-+ * from the left margin (in contrast to the leftmost visible
-+ * column).
-+ */
-+ unsigned int col;
-+
-+ /* Holds the number of the column up to which to apply the
-+ * current/following formatting. Only meaningful when format_rlim > i.
-+ */
-+ unsigned int format_rlim;
-
-- beg = begg;
-- end = endd;
-- i = i_max = 0;
-- min_col = Most_Column - 1;
-- max_col = min_col + SLtt_Screen_Cols;
-+ beg = most_forward_columns(beg, end, Most_Column - 1, 0);
-+ pout = out;
-+ pattributes = attributes;
-+ col = format_rlim = 0;
-
- while (beg < end)
- {
- char attr = ' ';
-- unsigned char ch;
-+ unsigned char ch = *beg++;
-
-- if ('\n' == (ch = *beg++))
-+ if ('\n' == ch)
- break;
-
- if ((ch == '\r') && (Most_V_Opt == 0))
- {
-- if (i > i_max) i_max = i;
-- i = 0;
-+ if (col > format_rlim) format_rlim = col;
-+ col = 0;
- continue;
- }
-
- if ((ch == '\b') && (Most_V_Opt == 0))
- {
-- if (i > i_max) i_max = i;
-- if (i > 0)
-- i--;
-+ if (col > format_rlim) format_rlim = col;
-+ if (col > 0)
-+ {
-+ if (Most_UTF8_Mode)
-+ {
-+ SLwchar_Type wc;
-+ pout = SLutf8_bskip_char(out, pout);
-+ if (SLutf8_decode(pout, pout + SLUTF8_MAX_MBLEN, &wc, NULL))
-+ {
-+ unsigned int char_len = SLwchar_wcwidth(wc);
-+ if (char_len > 1)
-+ col -= char_len - 1;
-+ }
-+ }
-+ else
-+ pout--;
-+ pattributes--;
-+ col--;
-+ }
- continue;
- }
-
-- if (i < i_max) /* overstrike */
-+ if (col < format_rlim) /* overstrike */
- {
- attr = 'b';
-- if ((i >= min_col) && (i < max_col))
-+ if (col < SLtt_Screen_Cols)
- {
-- if (out[i-min_col] == '_')
-+ if (*pout == '_')
- attr = 'u';
- else if (ch == '_')
- {
- attr = 'u';
-- ch = out[i - min_col];
-+ ch = *pout;
- }
- }
- if (ch == ' ')
- {
-- i++;
-+ col++;
- continue;
- }
- /* drop */
- }
--
-- if ((ch >= ' ') && (ch < 0x7F))
-- {
-- if ((i >= min_col) && (i < max_col))
-+
-+ if (Most_UTF8_Mode) {
-+ unsigned char *prev = --beg;
-+ SLwchar_Type wc;
-+ unsigned int len;
-+
-+ if (SLutf8_decode(beg, end, &wc, NULL))
-+ {
-+ unsigned int char_len = SLwchar_wcwidth(wc);
-+ if (char_len > 1)
-+ col += char_len - 1;
-+ }
-+
-+ beg = SLutf8_skip_char(beg, end);
-+ len = beg - prev;
-+
-+ if (len > 1) {
-+ /* Non-ASCII char, display it. */
-+ if (col < SLtt_Screen_Cols)
- {
-- out[i-min_col] = ch;
-- attributes[i-min_col] = attr;
-+ memcpy(pout, prev, len);
-+ pout += len;
-+ *pattributes++ = attr;
- }
-- i++;
-+ col++;
- continue;
-- }
--
-- if (ch >= SLsmg_Display_Eight_Bit)
-+ }
-+ }
-+
-+ if (most_isprint(ch))
- {
-- if ((i >= min_col) && (i < max_col))
-+ if (col < SLtt_Screen_Cols)
- {
-- out[i-min_col] = ch;
-- attributes[i-min_col] = attr;
-+ *pout++ = ch;
-+ *pattributes++ = attr;
- }
-- i++;
-+ col++;
- continue;
- }
-
- if ((ch == '\t') && (Most_T_Opt == 0) && (Most_Tab_Width))
- {
--
-- int nspaces = Most_Tab_Width * (i/Most_Tab_Width + 1) - i;
-+ /* Tab expansion must take into consideration the
-+ * leftmost visible column. However, variable col holds the
-+ * number of columns from the left margin and must be
-+ * corrected.
-+ */
-+ int vis_col = col + Most_Column - 1;
-+ int nspaces = Most_Tab_Width - (vis_col % Most_Tab_Width);
- while (nspaces > 0)
- {
-- if ((i >= min_col) && (i < max_col))
-+ if (col < SLtt_Screen_Cols)
- {
-- out[i-min_col] = ' ';
-- attributes[i-min_col] = attr;
-+ *pout++ = ' ';
-+ *pattributes++ = attr;
- }
-- i++;
-+ col++;
- nspaces--;
- }
- continue;
-@@ -212,36 +264,36 @@
-
- if (ch & 0x80)
- {
-- if ((i >= min_col) && (i < max_col))
-+ if (col < SLtt_Screen_Cols)
- {
-- out[i-min_col] = '~';
-- attributes[i-min_col] = attr;
-+ *pout++ = '~';
-+ *pattributes++ = attr;
- }
-- i++;
-+ col++;
- ch &= 0x7F;
- /* drop */
- }
-
-- if ((i >= min_col) && (i < max_col))
-+ if (col < SLtt_Screen_Cols)
- {
-- out[i-min_col] = '^';
-- attributes[i-min_col] = attr;
-+ *pout++ = '^';
-+ *pattributes++ = attr;
- }
-- i++;
-+ col++;
-
- if (ch == 0x7F) ch = '?';
- else ch += '@';
-
-- if ((i >= min_col) && (i < max_col))
-+ if (col < SLtt_Screen_Cols)
- {
-- out[i-min_col] = ch;
-- attributes[i-min_col] = attr;
-+ *pout++ = ch;
-+ *pattributes++ = attr;
- }
-- i++;
-+ col++;
- }
-
-- if (i < i_max)
-- i = i_max;
-+ if (col < format_rlim)
-+ col = format_rlim;
-
- /* Now add "..." if selective display. To do that, the next line needs to
- * be dealt with to determine whether or not it will be hidden.
-@@ -249,7 +301,7 @@
- if (Most_Selective_Display
- && (Most_W_Opt == 0)
- && (beg < Most_Eob)
-- && ((i >= min_col) && (i < max_col)))
-+ && (col < SLtt_Screen_Cols))
- {
- if (*beg == '\n') beg++;
-
-@@ -260,37 +312,29 @@
- if ((beg >= Most_Eob) || (*beg == '\n')
- || (most_apparant_distance(beg) >= Most_Selective_Display))
- {
-- i_max = i + 3;
-- while (i < i_max)
-+ /* Add an ellipsis, if they fit on the screen. */
-+ int rlimit = col + 3;
-+ while (col < rlimit)
- {
-- if (i < max_col)
-+ if (col < SLtt_Screen_Cols)
- {
-- out[i] = '.';
-- attributes[i] = ' ';
-+ *pout++ = '.';
-+ *pattributes++ = ' ';
- }
-- i++;
-+ col++;
- }
- }
- }
--
-- i_max = i;
-
-- if (i < min_col)
-- i = min_col;
-- else if (i >= max_col)
-- i = max_col;
--
-- i -= min_col;
--
-- out[i] = 0;
-- attributes[i] = 0;
-- return i_max;
-+ *pout = 0;
-+ *pattributes = 0;
- }
-
--static void output_with_attr (unsigned char *out, unsigned char *attr)
-+static void output_with_attr (unsigned char *out, char *attr)
- {
-- unsigned char at, ch, lat;
-+ unsigned char at, lat;
- unsigned char *p = out;
-+ unsigned char *pmax = p + strlen((char *) p);
-
- if (Most_V_Opt)
- {
-@@ -299,7 +343,7 @@
- }
-
- lat = ' ';
-- while ((ch = *p) != 0)
-+ while (p < pmax)
- {
- if (lat != *attr)
- {
-@@ -321,7 +365,7 @@
- else most_tt_normal_video ();
- lat = at;
- }
-- p++;
-+ p = SLutf8_skip_char(p, pmax);
- attr++;
- }
-
-@@ -340,10 +384,11 @@
- void most_display_line (void)
- {
- unsigned char *beg, *end;
-- unsigned int len;
-+#if 0
- unsigned char dollar;
-+#endif
- static unsigned char *line;
-- static unsigned char *attr;
-+ static char *attr;
- static unsigned int line_len;
-
- if (Most_B_Opt)
-@@ -357,37 +402,43 @@
- if (line_len < (unsigned int)(SLtt_Screen_Cols + 1) * SLUTF8_MAX_MBLEN)
- {
- SLfree ((char *) line);
-- SLfree ((char *) attr);
-+ SLfree (attr);
-
- line_len = (SLtt_Screen_Cols + 1) * SLUTF8_MAX_MBLEN;
-
- if ((NULL == (line = (unsigned char *) SLmalloc (line_len)))
-- || (NULL == (attr = (unsigned char *) SLmalloc (line_len))))
-+ || (NULL == (attr = SLmalloc (line_len))))
- most_exit_error ("Out of memory");
- }
-
- (void) most_extract_line (&beg, &end);
-
-- len = most_analyse_line(beg, end, (char *) line, (char *) attr);
-+ most_analyse_line(beg, end, line, attr);
-
-+#if 0
-+ /* Currently the dollar sign is not always being written at the
-+ rightmost column when displaying multi-byte characters. */
- dollar = 0;
- if (Most_W_Opt)
- {
-- if ((end < Most_Eob)
-- && (*end != '\n'))
-- dollar = '\\';
-+ if ((end < Most_Eob)
-+ && (*end != '\n'))
-+ dollar = '\\';
- }
- else if (len > (unsigned int) SLtt_Screen_Cols + (Most_Column - 1))
- dollar = '$';
--
-+
- if (dollar)
- {
-- line[SLtt_Screen_Cols-1] = dollar;
-- attr[SLtt_Screen_Cols-1] = ' ';
-- line[SLtt_Screen_Cols] = 0;
-- attr[SLtt_Screen_Cols] = 0;
-+ unsigned char *pline =
-+ most_forward_columns(line, line + line_len, SLtt_Screen_Cols-1, 1);
-+ *pline = dollar;
-+ *(pline+1) = 0;
-+ attr[SLtt_Screen_Cols-1] = ' ';
-+ attr[SLtt_Screen_Cols] = 0;
- }
--
-+#endif
-+
- output_with_attr (line, attr);
- SLsmg_erase_eol ();
- }
-@@ -398,21 +449,34 @@
- int most_apparant_distance (unsigned char *pos)
- {
- int i;
-- unsigned char *save_pos, ch;
-+ unsigned char *save_pos, *beg, ch;
- unsigned int save_offset;
-
- save_offset = Most_C_Offset;
- save_pos = pos;
- Most_C_Offset = (unsigned int) (pos - Most_Beg);
-- pos = most_beg_of_line();
-+ beg = pos = most_beg_of_line();
- Most_C_Offset = save_offset;
-
- i = 0;
- while (pos < save_pos)
- {
-- ch = *pos++;
-- if (((ch >= ' ') && (ch < 0x7F))
-- || (ch >= SLsmg_Display_Eight_Bit))
-+ ch = *pos;
-+
-+ if (Most_UTF8_Mode) {
-+ unsigned char *prev = pos;
-+ int len;
-+ pos = SLutf8_skip_char(pos, save_pos);
-+ len = pos - prev;
-+ if (len > 1) {
-+ i++;
-+ continue;
-+ }
-+ } else {
-+ pos++;
-+ }
-+
-+ if (most_isprint(ch))
- {
- i++;
- continue;
-@@ -420,7 +484,13 @@
-
- if (!Most_V_Opt && (ch == '\b'))
- {
-- if (i > 0) i--;
-+ if (i > 0)
-+ {
-+ if (Most_UTF8_Mode)
-+ i -= pos - SLutf8_bskip_char(beg, pos);
-+ else
-+ i--;
-+ }
- }
- else if (!Most_V_Opt && (ch == '\015')) /* ^M */
- {
-@@ -439,3 +509,95 @@
- }
- return i;
- }
-+
-+/*
-+ * Returns a pointer to the num_cols'th character after the one
-+ * pointed at b. Invisible character runs are not counted toward this
-+ * limit, i.e. strings that represent attributes, such as "_\b" for
-+ * underlines.
-+ *
-+ * If multi_column is non-zero, characters spanning more than one
-+ * column will add their extra width to the column count.
-+ *
-+ * If there the end of the buffer is reached, as delimited by argument
-+ * e, then e is returned.
-+ */
-+unsigned char *most_forward_columns (unsigned char *beg, unsigned char *e, unsigned int num_cols, int multi_column)
-+{
-+ unsigned int col = 0;
-+ unsigned int prev_width = 1;
-+ unsigned char* b = beg;
-+
-+ while ((b < e)
-+ && ((col < num_cols)
-+ || (*b == '\b')
-+ || (*b == '\r')))
-+ {
-+ unsigned char ch = *b;
-+
-+ if (Most_UTF8_Mode)
-+ {
-+ unsigned char *prev = b;
-+ int len;
-+ b = SLutf8_skip_char(b, e);
-+ len = b - prev;
-+ if (len > 1)
-+ {
-+ if (multi_column)
-+ {
-+ SLwchar_Type wc;
-+ if (SLutf8_decode(prev, e, &wc, NULL))
-+ col += prev_width = SLwchar_wcwidth(wc);
-+ }
-+ else
-+ col++;
-+ continue;
-+ }
-+ }
-+ else
-+ b++;
-+
-+ if (most_isprint(ch))
-+ {
-+ col++;
-+ prev_width = 1;
-+ continue;
-+ }
-+
-+ if ((ch == '\b') || (ch == '\t') || (ch == '\r'))
-+ switch (ch)
-+ {
-+ case '\b':
-+ if (Most_V_Opt == 0)
-+ {
-+ if (col > 0) col -= prev_width;
-+ }
-+ else col += 2;
-+ break;
-+
-+ case '\r':
-+ if (Most_V_Opt == 0)
-+ col = 0;
-+ else
-+ col += 2;
-+ break;
-+
-+ case '\t':
-+ if (Most_T_Opt == 0)
-+ col = Most_Tab_Width * (col/Most_Tab_Width + 1);
-+ else
-+ col += 2; /* ^I is two chars long. */
-+ break;
-+ }
-+ else if (ch & 0x80)
-+ col += 3;
-+ else
-+ col += 2;
-+ }
-+
-+ /* Last character was too wide. Backstep it. */
-+ if (col > num_cols)
-+ b = SLutf8_bskip_char(beg, b);
-+
-+ return b;
-+}
---- most-4.10.2.orig/src/line.h
-+++ most-4.10.2/src/line.h
-@@ -7,5 +7,7 @@
-
- extern void most_display_line(void);
- extern int most_apparant_distance(unsigned char *);
-+extern int most_isprint(unsigned char);
-+extern unsigned char *most_forward_columns (unsigned char *, unsigned char *, unsigned int, int);
- #endif
-
---- most-4.10.2.orig/src/most.c
-+++ most-4.10.2/src/most.c
-@@ -125,7 +125,7 @@
- ch = *(++str);
- if ( ch == '/')
- {
-- strcpy (Most_Search_Str,++str);
-+ strcpy ((char *) Most_Search_Str,++str);
- return;
- }
-
-@@ -329,7 +329,8 @@
-
- static void do_most (char *file, int start)
- {
-- int piped, row, col;
-+ int piped;
-+ long long row, col;
-
- most_get_cdir(Most_C_Dir);
-
-@@ -347,7 +348,7 @@
- Most_Curs_Offset = Most_C_Offset;
-
- if (*Most_Search_Str
-- && ((row = most_search (Most_Beg + Most_C_Offset, 1, &col)) > 0))
-+ && ((row = most_search (Most_Beg + Most_C_Offset, 1LL, &col)) > 0))
- most_goto_line(row);
- else
- {
-@@ -455,13 +456,7 @@
-
- SLtt_get_terminfo();
- #if SLANG_VERSION >= 20000
--#if 0
-- Most_UTF8_Mode = SLutf8_enable (1);
-- if (Most_UTF8_Mode)
-- {
-- fprintf (stderr, "UTF-8 Mode is in effect\n");
-- }
--#endif
-+ Most_UTF8_Mode = SLutf8_enable (-1);
- #endif
- SLtt_Ignore_Beep = 1;
- if (No_Colors)
---- most-4.10.2.orig/src/most.h
-+++ most-4.10.2/src/most.h
-@@ -1,4 +1,5 @@
- #include "config.h"
-+#define SLANG_REGEXP
- extern int Most_S_Opt;
- extern int Most_A_Opt; /* automatically choose -b if necessary */
- extern int Most_V_Opt; /* display control chars */
---- most-4.10.2.orig/src/search.c
-+++ most-4.10.2/src/search.c
-@@ -20,6 +20,7 @@
- */
- #include "config.h"
-
-+#include <ctype.h>
- #include <stdio.h>
- #include <string.h>
- #include <slang.h>
-@@ -31,18 +32,18 @@
- #include "display.h"
- #include "search.h"
-
--/* Note!!! The regular expression searches may not work. I have not
-- * tested them.
-- * FIXME!!!
-- */
--
- int Most_Case_Sensitive = 0;
--char Most_Search_Str[256];
-+unsigned char Most_Search_Str[256];
- int Most_Search_Dir = 1;
-
- #include "jdmacros.h"
-
--#define UPCASE(ch) ((!Most_Case_Sensitive && (ch <= 'z') && (ch >= 'a')) ? (ch - 32) : ch)
-+#if SLANG_VERSION < 20000
-+# define NORM_CHAR(ch) ((!Most_Case_Sensitive) ? toupper(ch) : ch)
-+# define UPCASE(ch) NORM_CHAR(ch)
-+#else
-+# define NORM_CHAR(ch) (ch)
-+#endif
-
- #if defined(HAVE_V8_REGCOMP) || defined(SLANG_REGEXP)
-
-@@ -78,7 +79,7 @@
- * This function is called by the V8 regcomp to report
- * errors in regular expressions.
- */
--static void regerror(char *s)
-+static void regerror(const char *s)
- {
- char string[256];
-
-@@ -95,13 +96,17 @@
- * 0 error
- *
- */
--static int do_regcomp(unsigned char *key)
-+static int do_regcomp(const unsigned char *key)
- {
- static int old_Most_Case_Sensitive;
-- unsigned char UpCaseKey[sizeof(savepattern)];
- # ifndef HAVE_V8_REGCOMP
- int posn; /* reg exp error at this offset */
- # endif
-+# if SLANG_VERSION < 20000
-+ unsigned char UpCaseKey[sizeof(savepattern)];
-+# else
-+ int re_flags = 0;
-+# endif
-
- /*
- * Only recompile search string if it has changed
-@@ -124,6 +129,7 @@
-
- old_Most_Case_Sensitive = Most_Case_Sensitive;
-
-+# if SLANG_VERSION < 20000
- if ( Most_Case_Sensitive == 0 )
- {
- register unsigned char *p; /* ptr to UpCaseKey */
-@@ -141,6 +147,7 @@
-
- *p = '\0';
- }
-+# endif
-
- strcpy((char *)savepattern, (char *)key);
-
-@@ -162,7 +169,12 @@
- # else
- if (Regexp != NULL)
- SLregexp_free (Regexp);
-- if (NULL == (Regexp = SLregexp_compile ((char *)key, Most_Case_Sensitive ? 0 : SLREGEXP_CASELESS)))
-+
-+ if (!Most_Case_Sensitive)
-+ re_flags |= SLREGEXP_CASELESS;
-+ if (Most_UTF8_Mode)
-+ re_flags |= SLREGEXP_UTF8;
-+ if (NULL == (Regexp = SLregexp_compile ((char *)key, re_flags)))
- posn = -1;
- else
- posn = 0;
-@@ -187,7 +199,7 @@
- * Call the appropriate regular expression execute function
- */
-
--static unsigned char *do_regexec(unsigned char *string)
-+static unsigned char *do_regexec(const unsigned char *string, size_t length)
- {
- # ifdef HAVE_V8_REGCOMP
- if ( regexec(regpattern, (char *)string) )
-@@ -196,40 +208,46 @@
- return( NULL );
- # else
- # if SLANG_VERSION < 20000
-- return ( SLang_regexp_match(string, strlen((char *)string), &regdata) );
-+ return ( SLang_regexp_match(string, length, &regdata) );
- # else
-- return (unsigned char *)SLregexp_match (Regexp, (char *)string, strlen ((char *)string));
-+ return (unsigned char *)SLregexp_match (Regexp, (char *)string, length);
- # endif
- # endif /* HAVE_V8_REGCOMP */
- }
-
- /*
-- * Make a upper case copy of a string. Also changes any "c\b" character
-- * strings into just "" so that highlighted and underlined characters
-- * can be searched.
-+ * Changes any "c\b" character strings into just "" so that
-+ * highlighted and underlined characters can be searched. Stores in
-+ * length the new size of the string, after the aforementioned
-+ * changes.
-+ *
-+ * If using a version of S-Lang that does not support case
-+ * insensitive regular expressions, this function upper cases the
-+ * input string, as well.
- *
- * Reuses malloced memory, so a copy cannot be retained between calls.
- */
-
--static unsigned char *StrUpCaseCopy(unsigned char *input)
-+static const unsigned char *StrNormCopy(const unsigned char *input,
-+ size_t *length)
- {
- static unsigned char *uppercase; /* ptr to malloced area */
- static size_t bufsize; /* size of malloced area */
-- unsigned char *src; /* ptr to source */
-+ const unsigned char *src; /* ptr to source */
-+ const unsigned char *end; /* ptr to end of source */
- register unsigned char *dest; /* ptr to destination */
- register int idx; /* index into uppercase[] */
-- register unsigned char c; /* source character */
-- size_t length; /* size of string to copy */
-
- src = input;
-- length = strlen((char *)src) + 1; /* len of line plus terminator */
-+ end = input + *length;
-
-- if ( length > bufsize )
-+ if ( *length >= bufsize )
- {
- if ( uppercase != (unsigned char *)NULL )
- free(uppercase);
-
-- bufsize = (length > 256 ) ? length : 256; /* 256 byte default */
-+ /* len of line plus terminator */
-+ bufsize = (*length >= 256 ) ? *length + 1 : 256; /* 256 byte default */
-
- uppercase = (unsigned char *)malloc(bufsize);
- if ( uppercase == (unsigned char *)NULL )
-@@ -242,8 +260,9 @@
-
- dest = uppercase;
-
-- for ( idx = 0 ; (c = *src) != '\0' ; src++ )
-+ for ( idx = 0 ; src < end ; src++ )
- {
-+ unsigned char c = *src;
- if ( c == '\b' ) /* backspace */
- {
- if ( idx-- > 0 )
-@@ -252,54 +271,79 @@
- else
- {
- if ( idx++ >= 0 )
-- *dest++ = UPCASE(c);
-+ *dest++ = NORM_CHAR(c);
- }
- }
-
- *dest = '\0'; /* add termination */
-
-+ *length = dest - uppercase;
- return(uppercase);
- }
-
- /*
-- * Given an offset into a copy made by StrUpCaseCopy() and a pointer to the
-+ * Given an offset into a copy made by StrNormCopy() and a pointer to the
- * original string, returns a pointer into the original string corresponding
- * to this offset.
- */
-
--static unsigned char *GetOrigPtr(unsigned char *original, int offset)
-+static const unsigned char *
-+GetOrigPtr(const unsigned char *original, int offset,
-+ const unsigned char *end)
- {
-- register unsigned char *p = original;
-+ const unsigned char *p = original;
- register int j = offset;
-
- /*
- * Step through, adjusting offset according to backspaces found
- */
-- while ( *p != '\0' )
-+ while ( p < end )
- {
-+ const unsigned char *next;
-+ if (Most_UTF8_Mode)
-+ next = SLutf8_skip_char((unsigned char*) p, (unsigned char*) end);
-+ else
-+ next = p + 1;
-+ size_t length_last = next - p;
-+
- if ( *p == '\b' )
-- j++;
-+ j += length_last;
- else
-- j--;
-+ j -= length_last;
-
- if ( j < 0 )
- break;
- else
-- p++;
-+ p = next;
- }
-
- return(p);
- }
- #endif /* HAVE_V8_REGCOMP || SLANG_REGEXP */
-
-+/* Returns a pointer to the first occurrence of '\n' in string beg, or
-+ * end if no '\n' can be found between inclusive beg and exclusive
-+ * end.
-+ */
-+static const unsigned char *
-+find_eol(const unsigned char *beg, const unsigned char *end)
-+{
-+ const unsigned char *p;
-+ if ( (p = memchr(beg, '\n', end - beg)) != NULL)
-+ return p;
-+ else
-+ return end;
-+}
-+
- /* This routine returns the 1 + position of first match of key in str.
- key is modified to match the case of str. */
- /* We should try to optimize this routine */
- /* searches from beg up to but not including end */
-
--static unsigned char *forw_search_region(unsigned char *beg,
-- unsigned char *end,
-- unsigned char *key)
-+static const unsigned char *
-+forw_search_region(const unsigned char *beg,
-+ const unsigned char *end,
-+ const unsigned char *key)
- {
- #if defined(HAVE_V8_REGCOMP) || defined(SLANG_REGEXP)
- /*
-@@ -307,10 +351,11 @@
- * to be broken into lines.
- *
- */
-- unsigned char *p; /* temp pointer */
-- unsigned char *linebeg; /* beginning of working line */
-- unsigned char *copy; /* ptr to upper case copy */
-+ const unsigned char *linebeg; /* beginning of working line */
-+ const unsigned char *lineend; /* end of working line */
-+ const unsigned char *norm_line; /* ptr to normalized line */
- unsigned char *match; /* ptr to matching string */
-+ int anchored_re;
-
- /*
- * Compile "key" into an executable regular expression
-@@ -318,58 +363,35 @@
- if ( do_regcomp(key) == 0 )
- return(Most_Eob);
-
-- /*
-- * For regular expression searches we need to do a line by line
-- * search, so it is necessary to temporarily replace '\n' with '\0'
-- * characters.
-- */
-- p = beg;
-- linebeg = beg;
-+ anchored_re = key[0] == '^';
-
-- while (linebeg < end)
-+ for ( linebeg = beg ; linebeg < end ; linebeg = lineend + 1 )
- {
-- while ((p < end) && (*p != '\n')) p++;
-- if (p == end) break;
-- *p = 0;
-+ size_t length;
-
-- if ( Most_Case_Sensitive == 0 ) /* i.e. case insensitive */
-- {
-- copy = StrUpCaseCopy(linebeg);
-- if ( copy == (unsigned char *)NULL )
-- return(Most_Eob);
-- }
-+ lineend = find_eol(linebeg, end);
-+
-+ length = lineend - linebeg;
-+ if (0 == length) continue; /* Skip empty lines. */
-+
-+ norm_line = StrNormCopy(linebeg, &length);
-+ if ( norm_line == NULL )
-+ return(Most_Eob);
-
- /*
- * Quick sanity check for beginning of line archored tests.
-- * If 1st char of key is "^", then the character before linebeg (which
-- * must be beyond the start of the window), must be a "\n",
-- * otherwise do_regexec() isn't called.
-+ * If 1st char of key is "^", then the character before
-+ * linebeg (which must be within the buffer), must be a "\n".
- */
-- if (
--# if 0
-- ((*key != '^')
-- || (linebeg > Most_Win->beg_pos && linebeg[-1] == '\n'))
-- &&
--#endif
-- (match = do_regexec(Most_Case_Sensitive ? linebeg : copy)))
-+ if ( !(anchored_re && (linebeg <= Most_Beg || linebeg[-1] != '\n'))
-+ && (match = do_regexec(norm_line, length)) )
- {
-- *p = '\n';
-- if ( Most_Case_Sensitive == 0 )
-- {
-- /*
-- * Use offset into "copy" as idx to find point in
-- * real line.
-- */
-- return( GetOrigPtr(linebeg, match - copy) );
-- }
-- else
-- {
-- return( match );
-- }
-+ /*
-+ * Use offset into "norm_line" as idx to find point in
-+ * real line.
-+ */
-+ return( GetOrigPtr(linebeg, match - norm_line, lineend) );
- }
--
-- *p++ = '\n';
-- linebeg = p;
- }
-
- return(Most_Eob);
-@@ -475,23 +497,18 @@
- * pattern "key".
- */
-
--static unsigned char *back_search_region(unsigned char *beg,
-- unsigned char *end,
-- unsigned char *key)
-+static const unsigned char *
-+back_search_region(const unsigned char *beg,
-+ const unsigned char *end,
-+ const unsigned char *key)
- {
- #if defined(HAVE_V8_REGCOMP) || defined(SLANG_REGEXP)
-- register unsigned char *p;
-- unsigned char *endp, /* end of line */
-- *lastmatch, /* last match in line */
-+ const unsigned char *p;
-+ const unsigned char *endp, /* end of line */
-+ *lastmatch, /* last match in line */
- *endprevline, /* end of line before this one */
- *match; /* ptr to matching string */
-- unsigned char savec; /* last char on line */
--
-- /*
-- * Compile "key" into an executable regular expression
-- */
-- if ( do_regcomp(key) == 0 )
-- return(Most_Eob);
-+ int anchored_re;
-
- /*
- * Starting from the end of the buffer, break the buffer into lines
-@@ -501,84 +518,60 @@
- * and isn't that what we want to do in a reverse search.
- */
- endp = end;
-- lastmatch = Most_Eob;
-- while ( 1 ) /* forever loop */
-- {
-- if ( (endp < beg) )
-- return(Most_Eob); /* Reach start of buffer, no match */
-+ endprevline = end;
-+ match = Most_Eob;
-
-- /* Find the real end of current line */
-- if ( (p = (unsigned char *)strchr((char *)endp, '\n')) != NULL )
-- endp = p;
--
-- savec = *endp;
-- *endp = '\0'; /* terminate line with NULL */
-+ /* Find out whether the regexp attempts to match a line boundary.
-+ * In this case, only a match on the full line should be attempted.
-+ */
-+ anchored_re = key[strlen((const char *) key)-1] == '$';
-
-+ while ( endp > beg )
-+ {
- /* Find the beginning of line */
- for ( p = endp - 1 ; (p >= beg) && (*p != '\n') ; p-- )
- {
- }
-
-+ if ( p < beg )
-+ break;
-+
- endprevline = p;
-
-- p++; /* point to 1st char after newline */
-+ /*
-+ * Quick sanity check for end of line archored tests. If last
-+ * char of key is "$", then the character after endp (which
-+ * must be within the buffer), must be a "\n".
-+ */
-+ if ( anchored_re && endp < Most_Eob && endp[0] != '\n' )
-+ {
-+ endp = p;
-+ continue;
-+ }
-
- /*
- * Keep searching forward in this line till no more matches
- */
-- if ( Most_Case_Sensitive == 0 ) /* i.e. case insensitive */
-+ do
- {
-- unsigned char *copy; /* ptr to upper case copy */
-- unsigned char *savecopy; /* copy of "copy" */
--
-- copy = StrUpCaseCopy(p);
-- if ( copy == (unsigned char *)NULL )
-- return(Most_Eob);
-+ lastmatch = match;
-
-- savecopy = copy;
--
-- /*
-- * Quick sanity check for beginning of line archored tests.
-- * Must be at start of line.
-- */
-- while ( ((*key != '^') || (copy == savecopy))
-- && (match = do_regexec(copy)) )
-- {
-- if ( GetOrigPtr(p, match - savecopy) > end )
-- break;
-- lastmatch = match;
-- if ( *lastmatch == '\0' ) /* key must be "$" or "^" */
-- break;
-- copy = lastmatch + 1; /* character after match */
-- }
-+ if (Most_UTF8_Mode)
-+ p = SLutf8_skip_char((unsigned char*) p, (unsigned char*) endp);
-+ else
-+ p++;
-
-- if ( lastmatch != Most_Eob ) /* found a match */
-- lastmatch = GetOrigPtr(p, lastmatch - savecopy);
-- }
-- else
-- {
-- /*
-- * Quick sanity check for beginning of line archored tests.
-- * Must be at start of buffer or start of line
-- */
-- while ( ( (*key != '^') || (p == endprevline + 1) )
-- && (match = do_regexec(p)) )
-- {
-- if ( match > end )
-- break;
-- lastmatch = match;
-- if ( *lastmatch == '\0' ) /* key must be "$" or "^" */
-- break;
-- p = lastmatch + 1; /* character after match */
-- }
-+ match = forw_search_region(p, endp, key);
- }
-+ while ( match <= endp );
-
-- *endp = savec;
- if ( lastmatch != Most_Eob ) /* found a match */
- return(lastmatch);
-
- endp = endprevline;
- }
-+
-+ return(Most_Eob); /* Reached start of buffer, no match */
- #else
- char ch, char1, work[256];
- unsigned char *pos;
-@@ -670,15 +663,15 @@
- #endif /* HAVE_V8_REGCOMP || SLANG_REGEXP */
- }
-
--int most_search(unsigned char *from, int repeat, int *col)
-+long long most_search(const unsigned char *from, int repeat, long long *col)
- {
- /* return the line match was found as well as line number,
- * search from i on; assume that line_array match the i so we need
- * no initial lookup */
-
-- int test, save_line, the_col, row, s_len;
-+ long long test, save_line, the_col, row, s_len;
- char string[300];
-- unsigned char *pos;
-+ const unsigned char *pos;
- unsigned int save_ofs;
- unsigned int found_ofs;
-
-@@ -687,7 +680,10 @@
- save_line = Most_C_Line;
- found_ofs = Most_Eob - Most_Beg;
- *col = 0;
-- s_len = strlen (Most_Search_Str);
-+ if (Most_UTF8_Mode)
-+ s_len = SLutf8_strlen (Most_Search_Str, 0);
-+ else
-+ s_len = strlen ((char *) Most_Search_Str);
- pos = from;
-
- if (*Most_Search_Str)
---- most-4.10.2.orig/src/search.h
-+++ most-4.10.2/src/search.h
-@@ -6,7 +6,7 @@
- extern int Most_Case_Sensitive;
- extern int Most_Search_Dir;
- #define MOST_SEARCH_BUF_LEN 256
--extern char Most_Search_Str[MOST_SEARCH_BUF_LEN];
--extern int most_search(unsigned char *, int, int *);
-+extern unsigned char Most_Search_Str[MOST_SEARCH_BUF_LEN];
-+extern long long most_search(const unsigned char *, int, long long *);
- #endif
-
---- most-4.10.2.orig/src/window.c
-+++ most-4.10.2/src/window.c
-@@ -48,10 +48,11 @@
-
- Most_Window_Type *Most_Win;
- Most_Window_Type *Most_Top_Win;
--int Most_Top_Line; /* row number of top window */
--int Most_Curs_Row;
--int Most_Curs_Col;
--int Most_Column = 1;
-+long long Most_Top_Line; /* row number of top window */
-+long long Most_Curs_Row;
-+long long Most_Curs_Col;
-+/* The leftmost visible column. */
-+long long Most_Column = 1;
- int Most_Restore_Width_To = 0;
- char Most_Mini_Buf[256];
- unsigned long Most_Curs_Offset;
-@@ -156,7 +157,7 @@
- SLsmg_write_nchars (buf + point, len - point);
- if (col < SLtt_Screen_Cols)
- break;
-- buf++; point--; len--; /* FIXME for UTF-8 */
-+ buf++; point--; len--;
- }
- SLsmg_erase_eol ();
- SLsmg_gotorc (SLtt_Screen_Rows - 1, col);
-@@ -227,6 +228,8 @@
- {
- SLang_RLine_Info_Type *rli;
- unsigned int flags = SL_RLINE_BLINK_MATCH;
-+ if (Most_UTF8_Mode)
-+ flags |= SL_RLINE_UTF8_MODE;
-
- if (NULL == (rli = SLrline_open (SLtt_Screen_Cols, flags)))
- return NULL;
-@@ -258,7 +261,7 @@
-
- /* do not use default. The up arrow can always get it back. */
- if ((what != NULL)
-- && (*what) && (what != Most_Search_Str))
-+ && (*what) && (what != (char *) Most_Search_Str))
- {
- if (-1 == SLrline_set_line (Most_RLI, what))
- return -1;
-@@ -593,7 +596,8 @@
- unsigned int num_chars;
- unsigned int field_width, info_len;
- unsigned char *eob;
-- int r, x;
-+ int r;
-+ long long x;
-
- eob = Most_Eob;
- #if MOST_HAS_MMAP
-@@ -601,20 +605,20 @@
- eob = Most_Beg + Most_Buf->mmap_size;
- #endif
-
-- if (eob == Most_Beg) x = 100;
-+ if (eob == Most_Beg) x = 100LL;
- else
- {
-- x = Most_C_Offset * 100;
-+ x = Most_C_Offset * 100LL;
- x = x / (eob - Most_Beg);
- }
-
- if (Most_C_Line + (Most_Win->bot - Most_Win->top + 1) >= Most_Num_Lines)
-- x = 100;
-+ x = 100LL;
-
- /* for files with end of file above the bottom row (due to window manipulations) */
-- if (x > 100) x = 100;
-+ if (x > 100LL) x = 100LL;
-
-- sprintf (info, "(%d,%d) %d%%", Most_C_Line, Most_Column, x);
-+ sprintf (info, "(%lld,%lld) %d%%", Most_C_Line, Most_Column, (int)x);
-
- r = Most_Win->bot + 1;
- most_goto_rc (r,1);
---- most-4.10.2.orig/src/window.h
-+++ most-4.10.2/src/window.h
-@@ -5,11 +5,11 @@
- typedef struct _Most_Window_Type
- {
- unsigned long top_offset; /* offset of top line of window from bob */
-- int beg_line; /* line number of top */
-- int curs_line; /* line number of curs pos */
-- int curs_col; /* column number of curs pos */
-+ long long beg_line; /* line number of top */
-+ long long curs_line; /* line number of curs pos */
-+ long long curs_col; /* column number of curs pos */
- unsigned long curs_offset; /* pos of cursor from bob*/
-- int col; /* column offset */
-+ long long col; /* column offset */
- int n_lines; /* number of lines of buffer (mode dependent) */
- int top; /* screen location of top */
- int bot; /* screen location of bot */
-@@ -29,9 +29,9 @@
- extern Most_Window_Type *Most_Win;
- extern Most_Window_Type *Most_Top_Win;
- extern unsigned long Most_Curs_Offset;
--extern int Most_Column;
--extern int Most_Curs_Row;
--extern int Most_Curs_Col;
-+extern long long Most_Column;
-+extern long long Most_Curs_Row;
-+extern long long Most_Curs_Col;
- #define MOST_MINI_BUF_LEN 256
- extern char Most_Mini_Buf[MOST_MINI_BUF_LEN];
- extern int Most_Selective_Display;
diff --git a/abs/extra/mpc/ChangeLog b/abs/extra/mpc/ChangeLog
deleted file mode 100644
index b645e19..0000000
--- a/abs/extra/mpc/ChangeLog
+++ /dev/null
@@ -1,15 +0,0 @@
-2009-03-11 Alexander Fehr <pizzapunk gmail com>
-
- * mpc-0.15-1:
- New upstream release.
- Changed license to GPL2.
-
-2008-12-22 Alexander Fehr <pizzapunk gmail com>
-
- * mpc-0.14-1:
- New upstream release.
- New maintainer.
- Changed url.
- Added !emptydirs option.
- Changed download location to downloads.sourceforge.net.
- Added ChangeLog.
diff --git a/abs/extra/mpc/PKGBUILD b/abs/extra/mpc/PKGBUILD
deleted file mode 100644
index b8acd57..0000000
--- a/abs/extra/mpc/PKGBUILD
+++ /dev/null
@@ -1,27 +0,0 @@
-# $Id: PKGBUILD 63165 2010-01-15 13:32:46Z andrea $
-# Maintainer: Andrea Scarpino <andrea@archlinux.org>
-# Contributor: Alexander Fehr <pizzapunk gmail com>
-# Contributor: Link Dupont <link@subpop.net>
-
-pkgname=mpc
-pkgver=0.19
-pkgrel=1
-pkgdesc="Minimalist command line interface to MPD"
-arch=('i686' 'x86_64')
-url="http://mpd.wikia.com/wiki/Client:Mpc"
-license=('GPL2')
-depends=('libmpdclient')
-options=('!emptydirs')
-source=(http://downloads.sourceforge.net/musicpd/${pkgname}-$pkgver.tar.bz2)
-md5sums=('9ab2967d9ec719b06a86f3b4121be654')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
-
- ./configure --prefix=/usr || return 1
- make || return 1
- make DESTDIR="$pkgdir" install || return 1
-
- # Install bash completion file
- install -D -m644 doc/mpc-completion.bash "$pkgdir/etc/bash_completion.d/mpc" || return 1
-}
diff --git a/abs/extra/mpeg_stat/PKGBUILD b/abs/extra/mpeg_stat/PKGBUILD
deleted file mode 100644
index b0f7315..0000000
--- a/abs/extra/mpeg_stat/PKGBUILD
+++ /dev/null
@@ -1,22 +0,0 @@
-# Contributor: Nick B <Shirakawasuna at gmail _dot_com>
-pkgname=mpeg_stat
-pkgver=2.2b
-pkgrel=2
-pkgdesc="A Berkely MPEG Tools bitstream analysis tool."
-arch=('i686' 'x86_64')
-url="http://bmrc.berkeley.edu/ftp/pub/multimedia/mpeg/"
-license=('custom')
-depends=('ffmpeg')
-source=(http://www.sfr-fresh.com/unix/misc/old/${pkgname}-${pkgver}-src.tar.gz)
-
-build() {
- cd ${srcdir}/${pkgname}
-
- make || return 1
-}
-package() {
- cd ${srcdir}/${pkgname}
- install -m755 -D ${srcdir}/mpeg_stat/mpeg_stat ${pkgdir}/usr/bin/mpeg_stat
- install -m644 -D ${srcdir}/mpeg_stat/COPYRIGHT ${pkgdir}/usr/share/licenses/mpeg_stat/COPYRIGHT
-}
-md5sums=('d0eca3833b76855c4e348b39deaf667d')
diff --git a/abs/extra/mpgtx/PKGBUILD b/abs/extra/mpgtx/PKGBUILD
deleted file mode 100644
index 8474da3..0000000
--- a/abs/extra/mpgtx/PKGBUILD
+++ /dev/null
@@ -1,23 +0,0 @@
-# $Id: PKGBUILD 5185 2009-11-07 02:20:01Z dgriffiths $
-# Contributor: Peter Baldwin <bald_pete@hotmail.com>
-pkgname=mpgtx
-pkgver=1.3.1
-pkgrel=2
-pkgdesc="A command line MPEG audio/video/system toolkit"
-arch=('i686' 'x86_64')
-url="http://mpgtx.sourceforge.net"
-license=("GPL")
-depends=()
-source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
-md5sums=('d628060aa04ad3b40a175bf35f5167cf')
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- ./configure --prefix=/usr
- make || return 1
-}
-package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make PREFIX=${pkgdir}/usr install
- mv ${pkgdir}/usr/man ${pkgdir}/usr/share/
-}
diff --git a/abs/extra/mupen64plus-svn/PKGBUILD b/abs/extra/mupen64plus-svn/PKGBUILD
deleted file mode 100644
index 5df794d..0000000
--- a/abs/extra/mupen64plus-svn/PKGBUILD
+++ /dev/null
@@ -1,71 +0,0 @@
-#!!! Due to a limitation in pacman's SVN package handling,
-# this package requires out-of-the-ordinary building. pacman checks
-# the SVN repo for new revisions before scanning the PKGBUILD.
-#!!! So, when you run makepkg, if it asks you for a password for 'mupen64',
-# give it 'Dyson5632-kart' without the quotes. If it asks for a password
-# for _your_ username, hit Enter to make it ask for a new username, tell it
-# 'mupen64' without the quotes, and then give it the password above. When
-# it asks you to save the password unencrypted, you can say yes, because
-# it's just a read-only access login :P Once you do that, you shouldn't
-# need to do the above anymore.
-
-# Maintainer: Devin Cofer <ranguvar@archlinux.us>
-# Contributor: Rudy Matela <rudy.matela@gmail.com>
-# Contributor: Allan McRae <allan@archlinux.org>
-# Contributor: Zephyr
-
-pkgname=mupen64plus-svn
-pkgver=1416
-pkgrel=1
-pkgdesc="Nintendo64 emulator, SVN version"
-arch=('i686' 'x86_64')
-url="http://code.google.com/p/mupen64plus/"
-license=('GPL2')
-
-makedepends=('subversion' 'pkgconfig' 'libsamplerate' 'yasm' 'mesa')
-depends=('gtk2' 'sdl_ttf')
-optdepends=('libsamplerate: Higher quality audio')
-conflicts=('mupen64plus')
-provides=('mupen64plus')
-source=('install.patch'
- 'fix-gcc4.4-const-char.patch')
-md5sums=('f6a3bc6e59d4f2af9db1b3fce257eb43'
- '7bb0182949bf043847ad7ff66097e66f')
-
-_svnuser=mupen64
-_svnpass=Dyson5632-kart
-_svntrunk=svn://$_svnuser:$_svnpass@fascination.homelinux.net:7684/mupen64plus/trunk
-_svnmod=mupen64plus
-
-build() {
- if [ -d $_svnmod/.svn ]; then
- (cd $_svnmod &&\
- svn up --config-dir . -r $pkgver \
- --non-interactive --username $_svnuser --password $_svnpass)
- else
- svn co $_svntrunk --config-dir . -r $pkgver $_svnmod \
- --non-interactive --username $_svnuser --password $_svnpass
- fi
- msg "SVN checkout done or server timeout"
-
- cp -r $_svnmod $_svnmod-build
- patch -d $_svnmod-build < install.patch || return 1
-# patch -p0 -d $_svnmod-build < fix-gcc4.4-const-char.patch || return 1
- cd $_svnmod-build
-
- make PREFIX="/usr" LIRC=1 all || return 1
- make PREFIX="$pkgdir/usr" install || return 1
-
- ##### Qt 4 GUI build #####
- #==> Currently broken
- #make PREFIX="/usr" GUI=QT4 all || return 1
- #install -m755 mupen64plus "$pkgdir/usr/bin/mupen64plus-qt"
- #
- #cd "$pkgdir/usr/share/applications"
- #cp mupen64plus.desktop mupen64plus-qt.desktop
- #sed -i "s#Name=Mupen64Plus#Name=Mupen64Plus (Qt)#" mupen64plus-qt.desktop || return 1
- #sed -i "s#Exec=mupen64plus#Exec=mupen64plus-qt#" mupen64plus-qt.desktop || return 1
- ##### End Qt 4 GUI build #####
-
- rm -r "$srcdir/$_svnmod-build"
-}
diff --git a/abs/extra/mupen64plus-svn/fix-gcc4.4-const-char.patch b/abs/extra/mupen64plus-svn/fix-gcc4.4-const-char.patch
deleted file mode 100644
index fd1495d..0000000
--- a/abs/extra/mupen64plus-svn/fix-gcc4.4-const-char.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- glide64/Combine.old.cpp 2009-06-19 17:59:20.191723065 -0400
-+++ glide64/Combine.cpp 2009-06-19 18:43:46.955453868 -0400
-@@ -11873,7 +11873,7 @@
- LOG ("InitCombine() ");
- memset(&cmb, 0, sizeof(cmb));
- const char *extensions = grGetString (GR_EXTENSION);
-- if (char * extstr = strstr(extensions, "COMBINE")) {
-+ if (const char * extstr = strstr(extensions, "COMBINE")) {
- if (!strncmp(extstr, "COMBINE", 7)) {
- LOG ("extensions ");
- cmb.grColorCombineExt = (GRCOLORCOMBINEEXT) grGetProcAddress("grColorCombineExt");
---- glide64/Main.old.cpp 2009-06-19 18:47:04.238930057 -0400
-+++ glide64/Main.cpp 2009-06-19 18:47:18.018772876 -0400
-@@ -784,7 +784,7 @@
- printf("bebefore2\n");
- if (settings.fb_hires)
- {
-- if (char * extstr = strstr(extensions, "TEXTUREBUFFER"))
-+ if (const char * extstr = strstr(extensions, "TEXTUREBUFFER"))
- {
- if (!strncmp(extstr, "TEXTUREBUFFER", 13))
- {
diff --git a/abs/extra/mupen64plus-svn/install.patch b/abs/extra/mupen64plus-svn/install.patch
deleted file mode 100644
index 5e41460..0000000
--- a/abs/extra/mupen64plus-svn/install.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: install.sh
-===================================================================
---- install.sh (revision 1295)
-+++ install.sh (working copy)
-@@ -90,7 +90,7 @@
- if [ -f mupen64plus.desktop ]
- then
- $INSTALL -d -v "${APPLICATIONSDIR}"
-- $INSTALL -m 0644 mupen64plus.desktop "${APPLICATIONSDIR}"
-+ $INSTALL -m 0644 mupen64plus.desktop "${APPLICATIONSDIR}/mupen64plus.desktop"
- fi
- if [ "x$(ls plugins/)" != "x" ]
- then
diff --git a/abs/extra/mupen64plus/PKGBUILD b/abs/extra/mupen64plus/PKGBUILD
deleted file mode 100644
index c7835c0..0000000
--- a/abs/extra/mupen64plus/PKGBUILD
+++ /dev/null
@@ -1,33 +0,0 @@
-# $Id: PKGBUILD 78487 2012-10-19 16:17:59Z jelle $
-# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
-# Contributor: Thomas Dziedzic < gostrc at gmail >
-# Contributor: Laurent Carlier <lordheavym@gmail.com>
-# Contributor: Allan McRae <allan@archlinux.org>
-# Contributor: Zephyr
-
-pkgname=mupen64plus
-pkgver=1.99.5
-pkgrel=3
-pkgdesc='Nintendo64 Emulator'
-arch=('i686' 'x86_64')
-url='http://code.google.com/p/mupen64plus/'
-license=('GPL')
-depends=('glu' 'libgl' 'libsamplerate' 'libpng' 'sdl' 'freetype2')
-makedepends=('mesa')
-source=("http://mupen64plus.googlecode.com/files/mupen64plus-bundle-src-${pkgver}.tar.gz")
-md5sums=('93772a6d6fc6a63353462deae8a6db71')
-
-build() {
- cd mupen64plus-bundle-src-${pkgver}
-
- sh m64p_build.sh
-}
-
-package() {
- cd mupen64plus-bundle-src-$pkgver
-
- # set LDCONFIG since we are using fakeroot and scripts run root commands by checking the uid
- ./m64p_install.sh DESTDIR="$pkgdir" PREFIX='/usr' MANDIR='/usr/share/man/man6' LDCONFIG='true'
-}
-
-# vim: ts=2:sw=2:et
diff --git a/abs/extra/mutt/PKGBUILD b/abs/extra/mutt/PKGBUILD
deleted file mode 100644
index c481eec..0000000
--- a/abs/extra/mutt/PKGBUILD
+++ /dev/null
@@ -1,39 +0,0 @@
-# $Id: PKGBUILD 50055 2009-08-19 01:49:30Z thayer $
-# Maintainer: tobias [tobias [at] archlinux.org]
-pkgname=mutt
-pkgver=1.5.20
-pkgrel=2
-pkgdesc="A small but very powerful text-based mail client"
-arch=(i686 x86_64)
-license=('GPL')
-url="http://www.mutt.org/"
-depends=('slang' 'openssl>=0.9.8e' 'gdbm' 'mime-types' 'zlib' 'libsasl' 'gpgme')
-makedepends=('gnupg')
-install=${pkgname}.install
-source=(ftp://ftp.mutt.org/mutt/devel/${pkgname}-${pkgver}.tar.gz
- mutt-unmailbox.patch)
-url="http://www.mutt.org/"
-md5sums=('027cdd9959203de0c3c64149a7ee351c'
- 'fa8e03a49a2fa7b294dc8237d928cdb7')
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
-
- # patch a segfault bug in 1.5.20 -- remove for next release
- patch -p1 < ${srcdir}/mutt-unmailbox.patch || return 1
- #patch -Np1 -i ../mutt-unmailbox.patch || exit 1
-
- ./configure --prefix=/usr --sysconfdir=/etc \
- --enable-pop --enable-imap --enable-smtp \
- --with-sasl --with-ssl=/usr --without-idn \
- --enable-hcache --enable-pgp --enable-inodesort \
- --enable-compressed --with-regex \
- --enable-gpgme --with-slang=/usr
- make || return 1
- make DESTDIR=${pkgdir} install
- rm -f ${pkgdir}/usr/bin/{flea,muttbug}
- rm -f ${pkgdir}/usr/share/man/man1/{flea,muttbug}.1
- rm -f ${pkgdir}/etc/mime.types*
- install -Dm644 contrib/gpg.rc ${pkgdir}/etc/Muttrc.gpg.dist
-}
-
diff --git a/abs/extra/mutt/mutt-unmailbox.patch b/abs/extra/mutt/mutt-unmailbox.patch
deleted file mode 100644
index cbb3210..0000000
--- a/abs/extra/mutt/mutt-unmailbox.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/buffy.c 2009-08-10 08:23:12.731846990 -0400
-+++ b/buffy.c 2009-08-10 08:23:50.541878087 -0400
-@@ -236,7 +236,6 @@
- {
- if(*tmp)
- {
-- FREE (&((*tmp)->path));
- tmp1=(*tmp)->next;
- FREE (tmp); /* __FREE_CHECKED__ */
- *tmp=tmp1;
diff --git a/abs/extra/mutt/mutt.install b/abs/extra/mutt/mutt.install
deleted file mode 100644
index 98ece96..0000000
--- a/abs/extra/mutt/mutt.install
+++ /dev/null
@@ -1,15 +0,0 @@
-# arg 1: the new package version
-post_install() {
- cat << EOM
-
---> to support gpg, please use the following line in your ~/.muttrc
-
-source /etc/Muttrc.gpg.dist
-
-EOM
-}
-
-post_upgrade() {
- post_install $1
-}
-
diff --git a/abs/extra/myt2xvid3/PKGBUILD b/abs/extra/myt2xvid3/PKGBUILD
deleted file mode 100755
index abd7cb5..0000000
--- a/abs/extra/myt2xvid3/PKGBUILD
+++ /dev/null
@@ -1,18 +0,0 @@
-pkgname=myt2xvid3
-pkgver=0.1
-pkgrel=9
-arch=("i686")
-pkgdesc="A multimedia framework based on the MPEG-4 Systems standard"
-url="http://www.knoppmythwiki.org/index.php?page=XvidEncoding"
-depends=('nuvexport')
-install="myt2xvid3.install"
-source=( myt2xvid3 myt2xvid3-userjob.sh archive.php)
-
-
-build() {
- cd $startdir/src
- install -D -m 755 myt2xvid3 $startdir/pkg/usr/bin/myt2xvid3
- install -D -m 755 myt2xvid3-userjob.sh $startdir/pkg/usr/bin/myt2xvid3-userjob.sh
- mkdir -m777 -p $startdir/pkg/myth/video/archive/
- install -D -m 755 archive.php $startdir/pkg/myth/video/archive/
-}
diff --git a/abs/extra/myt2xvid3/archive.php b/abs/extra/myt2xvid3/archive.php
deleted file mode 100644
index f970868..0000000
--- a/abs/extra/myt2xvid3/archive.php
+++ /dev/null
@@ -1,159 +0,0 @@
-<?
-//archive.php
-// based on m2iweb.php by http://anthony.lusby.us/m2iweb/
-//release 0.1
-//10/05/07
-?>
-
-<html>
-<head>
- <title>MythWeb - Archive Recordings</title>
-
- <meta http-equiv="content-type" content="text/html; charset=utf-8" />
-
- <script type="text/javascript" src="/mythweb/js/init.js"></script>
- <script type="text/javascript" src="/mythweb/js/browser.js"></script>
- <script type="text/javascript" src="/mythweb/js/utils.js"></script>
-
- <script type="text/javascript" src="/mythweb/js/mouseovers.js"></script>
- <script type="text/javascript" src="/mythweb/js/visibility.js"></script>
- <script type="text/javascript" src="/mythweb/js/ajax.js"></script>
-
- <link rel="stylesheet" type="text/css" href="/mythweb/skins/default/style.css" />
- <link rel="stylesheet" type="text/css" href="/mythweb/skins/default/header.css" />
- <link rel="stylesheet" type="text/css" href="/mythweb/skins/default/menus.css" />
- <link rel="stylesheet" type="text/css" href="/mythweb/skins/default/programming.css" />
-
- <link rel="stylesheet" type="text/css" href="/mythweb/skins/default/status.css" />
-
-</head>
-
-<body>
-
-<div id="page_header" class="clearfix">
- <div id="logo_box">
- <a id="mythtv_logo" href="/mythweb/">
- <img src="/mythweb/skins/default/img/mythtv-logo.png"
-width="174" height="48" border="0" alt="MythTV" class="alpha_png">
- </a>
-
- </div>
- <div id="sections">
- <a id="tv_link" href="/mythweb/tv" onmouseover="return help_text('TV functions, including recorded programs.')" onmouseout="return help_text()">
- <img src="/mythweb/skins/default/img/tv.png" width="48" height="48" class="alpha_png" alt="MythTV"/>
- </a>
- <a id="video_link" href="/mythweb/video" onmouseover="return help_text('MythVideo on the web.')" onmouseout="return help_text()">
- <img src="/mythweb/skins/default/img/video.png" width="48" height="48" class="alpha_png" alt="MythVideo" />
- </a>
- <a id="weather_link" href="/mythweb/weather" onmouseover="return help_text('MythWeb Weather.')" onmouseout="return help_text()">
- <img src="/mythweb/skins/default/img/weather.png" width="48" height="48" class="alpha_png" alt="MythWeather" />
- </a>
- <a id="settings_link" href="/mythweb/settings" onmouseover="return help_text('Edit MythWeb and some MythTV settings.')" onmouseout="return help_text()">
- <img src="/mythweb/skins/default/img/settings.png" width="48" height="48" class="alpha_png" alt="Settings" />
- </a>
- </div>
- <div id="extra_header">
- <div id="help_wrapper">
- <div id="help_box">
-
- <div id="help_text_default">
- MythWeb: Mon May 16, 2006, 09:09 PM </div>
- <div id="help_text">
- </div>
- </div>
- </div>
- <div id="search" >
- <form action="/mythweb/tv/search" method="post">
-
- <div id="simple_search">
- <input id="search_text" type="text" name="searchstr" size="15" value="">
- <input id="search_submit" type="submit" class="submit" value="Search"> (<a href="/mythweb/tv/search">Advanced</a>)
- </div>
- <div id="search_options">
- </div>
- </form>
-
- </div>
- </div>
-</div>
-
-
-<table width="100%" border="0" cellspacing="2" cellpadding="0">
-<tr>
-
- <td colspan="2" class="menu menu_border_t menu_border_b"><table class="body" width="100%" border="0"
-
-cellspacing="2" cellpadding="2">
- <tr>
- <td><div id="command_choices">
- <a href="/mythweb/" id="category_legend" onmouseover="popup('category_legend'); return true;">MythTV:</a> &nbsp; &nbsp;
-
- <a href="/mythweb/tv/list">Listings</a>
- &nbsp; | &nbsp;
- <a href="/mythweb/tv/searches">Searches</a>
- &nbsp; | &nbsp;
- <a href="/mythweb/tv/schedules">Recording Schedules</a>
- (<a href="/mythweb/tv/schedules/manual">Manual</a>,
- <a href="/mythweb/tv/schedules/custom">Custom</a>)
- &nbsp; | &nbsp;
- <a href="/mythweb/tv/upcoming">Upcoming Recordings</a>
- &nbsp; | &nbsp;
- <a href="/mythweb/tv/recorded">Recorded Programs</a>
- &nbsp; | &nbsp;
- <a href="/ipodfeed/m2iweb.php">Myth2iPod</a>
- &nbsp; | &nbsp;
- <a href="/archive/archive.php">Myt2XviD3</a>
- &nbsp; | &nbsp;
- <a href="/mythweb/status">Backend Status</a>
- </div></td>
- </tr>
- </table></td>
-
-</tr>
-</table>
-
-<table width="100%" border="0" cellpadding="4" cellspacing="2" class="list small">
-<tr><td colspan="10" class="list_separator">View and delete recordings transcoded to XviD via Myt2XviD3.</td></tr>
-<?php
-if (isset($_REQUEST['delete'])){
- $delete = $_REQUEST['delete'];
- if ($delete AND substr($delete, -9) == ".XviD.xml") {
- echo '<tr><td colspan="10" class="list_separator">
- <font color="red">';
- echo $delete;
- unlink($delete) or print(" failed to be ");
- echo ' has been deleted, ';
- $deletetoo = substr($delete, 0, -3)."avi";
- echo $deletetoo;
- unlink($deletetoo) or print(" failed to be ");
- echo ' has been deleted.';
- echo'</td></tr>';
- }
-}
- $i=1;
- foreach (glob("*.XviD.xml") as $file) {
- $lines = file($file);
- echo '<tr class="recorded"><td class="list">&nbsp;</td><td>';
- echo '<font color="';
- if (!file_exists(substr($file, 0, -3)."avi")) {
- echo "red";
- }
- echo '">'.$i.'</font>';
- echo "</td></td><td><a href=".'"'.substr($file, 0, -3)."avi".'"'."style='color:white'>".strip_tags($lines[1])."</a></td><td>".strip_tags($lines[7])."</td><td>".strip_tags($lines[6])."</td><td nowrap>".filesizeparse(filesize(substr($file, 0, -3)."avi"))."</td><td>".'<a href="?delete='.$file.'" onclick="return confirm('."'Are you sure you want to delete?'".')">Delete</a>'."</td>".'<td class="list">&nbsp;</td>'."</tr>";
- $i++;
- }
-//}
-
-function filesizeparse($size){
- $i=0;
- $iec = array(" B", " KB", " MB", " GB", " TB");
- while (($size/1024)>1) {
- $size=$size/1024;
- $i++;
- }
- return substr($size,0,strpos($size,'.')+3).$iec[$i];
-}
-?>
-</table>
-</body>
-</html>
diff --git a/abs/extra/myt2xvid3/myt2xvid3 b/abs/extra/myt2xvid3/myt2xvid3
deleted file mode 100755
index af65188..0000000
--- a/abs/extra/myt2xvid3/myt2xvid3
+++ /dev/null
@@ -1,310 +0,0 @@
-#!/usr/bin/perl -w
-# VERSION: 1.0b2 - myth2ipod
-# Get the latest version, and change log at myth2ipod.com
-# Author: Chris aka Wififun - email: wififun@myth2ipod.com
-# Contributions and testing by Paul Egli
-# modified to use nuvexport by starv at juniks dot org
-
-# Includes
-use DBI;
-use Getopt::Long;
-use File::Path;
-
-# User variables
-my $portable = "XviD";
-my $feedfile = "/myth/video/archive/feed.php";
-my $feedpath = "/myth/video/archive/";
-my $wwwloc = "/data/srv/httpd/htdocs";
-my $feedurl = "http://REPLACEME/archive/";
-my $nuvoptions ="--mode=XviD --nice=19 --cutlist --nodenoise --nodeinterlace --crop --multipass";
-
-# Some variables
-our ($dest, $format, $usage);
-our ($db_host, $db_user, $db_name, $db_pass, $video_dir);
-our ($hostname, $db_handle, $sql, $statement, $row_ref);
-our ($chanid, $start, $nuvfile, @nuvarray);
-my $rebuild = '0';
-my $encode = '0';
-my $debug = '0';
-my $setup = '0';
-my $cut = '0';
-my( $rightnow ) = `date`;
-
-GetOptions ("rebuild" => \$rebuild,
- "encode" => \$encode,
- "debug" => \$debug,
- "setup" => \$setup,
- "cut" => \$cut);
-
-if ($setup == 1){
- system("clear");
- print "Setup will do everything needed to run this script.\n";
- print "This has only been tested on KnoppMyth R5A22.\n";
- print "make sure you have edited the variables for your conguration.\n";
- my $cksetup = &promptUser("\nAre you sure you want to procceed?","n");
- if ($cksetup =~ "y") {
- DoSetup();
- exit;
- }
- print "Setup exited. Nothing done.\n";
- exit;
-}
-elsif ($rebuild == 1){
- GenerateRSSFeed();
- print "Rebuilding of RSS feed is complete.\n";
- exit;
-}
-else {
- Encode4Portable();
- print "$title is ready for your $portable\n";
-
- # Check to see if the feed file exists; if not, create it.
- if (! -e $feedfile) {
- print "No feed file found. I will make one for you.\n";
- GenerateRSSFeed();
- print "All done.\n";
- }
-}
-
-sub Encode4Portable{
- if ($#ARGV != 1) {
- print "Encoding requires options.\nusage: myth2ipod <options> DIRECTORY FILE\n";
- exit;
- }
-
- # Get the show information
- $directory = $ARGV[0];
- $file = $ARGV[1];
- @file = split(/_/, $file);
- $chanid = $file[0];
- $start = substr $file[1],0,14;
- if($debug == 1){ print "$chanid\n$start\n"};
- if (! -e $directory."/".$file){
- print "Oops, the file ".$directory.$file." does not exist.\n";
- exit;
- }
-
- # Connect to the database
- PrepSQLRead();
- $db_handle = DBI->connect("dbi:mysql:database=$db_name:host=$db_host", $db_user, $db_pass)
- or die "Cannot connect to database: $!\n\n";
- $sql = "SELECT title, subtitle, description, category, starttime FROM recorded WHERE chanid = $chanid AND DATE_FORMAT(starttime,'%Y%m%d%H%i%s') = $start";
-
- $statement = $db_handle->prepare($sql)
- or die "Couldn't prepare query '$sql': $DBI::errstr\n";
-
- $statement->execute()
- or die "Couldn't execute query '$sql': $DBI::errstr\n";
- $row_ref = $statement->fetchrow_hashref();
- if($debug == 1){ print "$row_ref->{starttime}\n"};
- $title = $row_ref->{title};
- $subtitle = $row_ref->{subtitle};
- $recorddate = $row_ref->{starttime};
- $description = $row_ref->{description};
- $category = $row_ref->{category};
- $filename = $title."-".$subtitle."-".substr $start, 0, 8;
- $filename =~ s/ /_/g;
- $filename =~ s/&/+/g;
- $filename =~ s/\047//g;
- $filename =~ s/[^+0-9a-zA-Z_-]+/_/g;
- $filename =~ s/_$//g;
-
- printf("Starting nuvexport...\n");
- EncodeIt();
- printf("Nuvexport completed, starting xml generation...\n");
- CreateItemXML();
- printf("XML file created for \"$filename\" : Yipeee\n");
- printf("Cleaning up temporary files\n");
- $cmd = "rm -f $feedpath$chanid\_$start.temp.mp4";
- print $cmd."\n";
- if(system($cmd)) { print "Removing nuvexport temp file failed\n"; }
-
- # remove the cutlist incase we added it.
- if ($cut == 1){
- printf("Generating cutlist\n");
- $cmd = "/usr/bin/mythcommflag --chanid $chanid --starttime $start --clearcutlist";
- print $cmd."\n";
- if(system($cmd)) { print "It looks like I was not able to generate a cutlist.\n"; }
- }
- return 0;
-}
-
-#
-# Encode for Portable
-#
-sub EncodeIt {
- # Create cutlist from commercial flagging if -cut was passed to the script
- if ($cut == 1){
- printf("Generating cutlist\n");
- $cmd = "/usr/bin/mythcommflag --chanid $chanid --starttime $start --gencutlist";
- print $cmd."\n";
- if(system($cmd)) { print "It looks like I was not able to generate a cutlist.\n"; }
- }
-
- # Use nuvexport to do the work
- $cmd = "/usr/bin/nuvexport --chanid=$chanid --start=$start $nuvoptions --filename=$chanid\_$start.$portable --path=$feedpath";
- print $cmd."\n";
- if(system($cmd)) { print "Nuvexport encoding seems to have failed\n"; }
-
- # Now clean up the output so iPods with firmware 1.1 and above can use it
- #$cmd = "/usr/local/bin/MP4Box -add $feedpath$chanid\_$start.temp.mp4 $feedpath$chanid\_$start.$portable.mp4";
- #print $cmd."\n";
- #if(system($cmd)) { print "MP4Box cleanup seems to have failed\n"; }
- return 0;
-}
-
-#
-# Create XML with <ITEM> tag for this video file
-#
-sub CreateItemXML {
- open(ITEM, ">$feedpath$chanid\_$start.$portable.xml");
- print ITEM "<item>\n";
- print ITEM "<title>".&encodeForXML($title." - ".$subtitle)."</title>\n";
- print ITEM "<itunes:author>MythTV</itunes:author>\n";
- print ITEM "<author>MythTV</author>\n";
- print ITEM "<itunes:category text=\"TV Shows\"></itunes:category>\n";
- print ITEM "<comments>".&encodeForXML($file)."</comments>\n";
- print ITEM "<description>".&encodeForXML($description)."</description>\n";
- print ITEM "<pubDate>".$recorddate."</pubDate>\n";
- print ITEM "<enclosure url=\"".&encodeForXML("$feedurl$chanid\_$start.$portable.avi")."\" type=\"video/quicktime\" />\n";
- print ITEM "<itunes:duration></itunes:duration>\n";
- print ITEM "<itunes:keywords>".&encodeForXML($title." - ".$subtitle." - ".$category)."</itunes:keywords>\n";
- print ITEM "<category>".&encodeForXML($category)."</category>\n";
- print ITEM "</item>\n";
- print "\"$filename\" has been added to the feed.\n";
- close(ITEM);
- return 0;
-}
-
-#
-# Generate the RSS feed by combining the ITEM XML Files
-#
-sub GenerateRSSFeed {
-
- open(RSS, ">$feedfile");
- print RSS "<?php\n";
- print RSS "header(\"Content-Type: text/xml\");\n";
- print RSS "echo \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?>\"; ?>\n";
- print RSS "<rss xmlns:itunes=\"http://www.itunes.com/DTDs/Podcast-1.0.dtd\" version=\"2.0\">\n";
- print RSS "<channel>\n";
- print RSS "<title>MythTV - <? if (\$_GET['title'] == \"\") { \$title = \"*\"; echo \"Recorded Programs\"; }\n";
- print RSS "else { \$title = \$_GET['title']; echo str_replace(\"_\",\" \",\$_GET['title']); } ?> </title>\n";
- print RSS "<itunes:author>MythTV - myth2ipod</itunes:author>\n";
- print RSS "<link>".&encodeForXML($feedurl)."</link>\n";
- print RSS "<itunes:subtitle>Transcoded recording for your iPod Video.</itunes:subtitle>\n";
- print RSS "<itunes:summary>Myth TV Recorded Programs for the iPod v.1</itunes:summary>\n";
- print RSS "<description>Myth TV Recorded Programs for the iPod v.1</description>\n";
- print RSS "<itunes:owner>\n";
- print RSS "<itunes:name>MythTV</itunes:name>\n";
- print RSS "<itunes:email>mythtv\@localhost</itunes:email>\n";
- print RSS "</itunes:owner>\n";
- print RSS "<itunes:explicit>No</itunes:explicit>\n";
- print RSS "<language>en-us</language>\n";
- print RSS "<copyright>Copyright 2005.</copyright>\n";
- print RSS "<webMaster>mythtv\@localhost</webMaster>\n";
- print RSS "<itunes:image href=\"http://myth2ipod.com/mythipod_200.jpg\" />\n";
- print RSS "<itunes:category text=\"TV Shows\"></itunes:category>\n";
- print RSS "<category>TV Shows</category>\n";
- print RSS "<itunes:image href=\"http://myth2ipod.com/mythipod_200.jpg\"/>";
- print RSS "<image>";
- print RSS "<url>http://myth2ipod.com/mythipod_200.jpg</url>\n";
- print RSS "<title>MythTV 2 iPod</title>\n";
- print RSS "<link>".&encodeForXML($feedurl)."</link>\n";
- print RSS "<width>200</width>\n";
- print RSS "<height>200</height>\n";
- print RSS "</image>\n";
- print RSS "<? foreach (glob(\$title\.\"*\.$portable\.xml\") as \$file) {include \$file;} ?>\n";
- print RSS "</channel>\n";
- print RSS "</rss>\n";
- close(RSS);
- if($debug == 1){ print "I created a feed file, was I supposed to?\n"};
-
- return 0;
-}
-
-# substitute for XML entities
-sub encodeForXML {
- local $result;
- $result = $_[0];
- $result =~ s/&/&amp;/g;
- $result =~ s/</&lt;/g;
- $result =~ s/>/&gt;/g;
- $result;
-}
-
-
-#
-# This code taken from one of the mythlink.sh scripts to get MySQL information
-#
-sub PrepSQLRead{
-# Get the hostname of this machine
- $hostname = `hostname`;
- chomp($hostname);
-
-# Read the mysql.txt file in use by MythTV.
-# could be in a couple places, so try the usual suspects
- my $found = 0;
- my @mysql = ('/usr/local/share/mythtv/mysql.txt',
- '/usr/share/mythtv/mysql.txt',
- '/etc/mythtv/mysql.txt',
- '/usr/local/etc/mythtv/mysql.txt',
- "$ENV{HOME}/.mythtv/mysql.txt",
- 'mysql.txt'
- );
- foreach my $file (@mysql) {
- next unless (-e $file);
- $found = 1;
- open(CONF, $file) or die "Unable to open $file: $!\n\n";
- while (my $line = <CONF>) {
- # Cleanup
- next if ($line =~ /^\s*#/);
- $line =~ s/^str //;
- chomp($line);
- # Split off the var=val pairs
- my ($var, $val) = split(/\=/, $line, 2);
- next unless ($var && $var =~ /\w/);
- if ($var eq 'DBHostName') {
- $db_host = $val;
- }
- elsif ($var eq 'DBUserName') {
- $db_user = $val;
- }
- elsif ($var eq 'DBName') {
- $db_name = $val;
- }
- elsif ($var eq 'DBPassword') {
- $db_pass = $val;
- }
- # Hostname override
- elsif ($var eq 'LocalHostName') {
- $hostname = $val;
- }
- }
- close CONF;
- }
- die "Unable to locate mysql.txt: $!\n\n" unless ($found && $db_host);
- return 0;
-}
-
-sub promptUser {
- local($promptString,$defaultValue) = @_;
- if ($defaultValue) {
- print $promptString, "[", $defaultValue, "]: ";
- } else {
- print $promptString, ": ";
- }
-
- $| = 1; # force a flush after our print
- $_ = <STDIN>; # get the input from STDIN (presumably the keyboard)
- chomp;
- if ("$defaultValue") {
- return $_ ? $_ : $defaultValue; # return $_ if it has a value
- } else {
- return $_;
- }
-}
-
-sub DoSetup {
- print "\nNot ready yet. How do you send the cd command from perl?\n";
- return 0;
-}
diff --git a/abs/extra/myt2xvid3/myt2xvid3-userjob.sh b/abs/extra/myt2xvid3/myt2xvid3-userjob.sh
deleted file mode 100755
index 6bd46ea..0000000
--- a/abs/extra/myt2xvid3/myt2xvid3-userjob.sh
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/bash
-. /etc/profile
-#su mythtv -c "TERM=vt100 /usr/bin/myth2ipod "$1" "$2" >/tmp/logfile"
-su mythtv -c "TERM=vt100 /usr/bin/myt2xvid3 "$1" "$2" "
-#or to also use commercial flagging cutlist
-#su mythtv -c "TERM=vt100 /usr/bin/myth2ipod -cut "$1" "$2" >/tmp/logfile"
diff --git a/abs/extra/myt2xvid3/myt2xvid3.install b/abs/extra/myt2xvid3/myt2xvid3.install
deleted file mode 100755
index b3767f3..0000000
--- a/abs/extra/myt2xvid3/myt2xvid3.install
+++ /dev/null
@@ -1,38 +0,0 @@
-
-pre_install() {
- mkdir -p /myth/video/archive
- chown mythtv:http /myth/video/archive
-}
-
-pre_upgrade() {
- pre_install
-}
-
-pre_remove() {
- pre_install
-}
-
-post_install() {
- . /etc/systemconfig
- ln -s /myth/video/archive /data/srv/httpd/htdocs/archive
- ln -s /myth/video/archive/archive.php /myth/video/archive/index.php
- sed -i -e "s/REPLACEME/$HOSTNAME/g" /usr/bin/myt2xvid3
- chown -R mythtv:http /myth/video/archive
- /usr/bin/myt2xvid3 -rebuild
-}
-
-post_upgrade() {
- /usr/bin/myt2xvid3 -rebuild
-}
-
-post_remove() {
- rm -fr /data/srv/http/htdocs/archive
- rm -rf /myth/video/archive/index.php
- rm -rf /myth/video/archive/archive.php
- # don't delete content that the user may still want, so leave /myth/video/archive
-}
-
-op=$1
-shift
-
-$op $*
diff --git a/abs/extra/myth2ipod/PKGBUILD b/abs/extra/myth2ipod/PKGBUILD
deleted file mode 100755
index 2c7540b..0000000
--- a/abs/extra/myth2ipod/PKGBUILD
+++ /dev/null
@@ -1,19 +0,0 @@
-pkgname=myth2ipod
-pkgver=0.2
-pkgrel=29
-arch=("i686")
-pkgdesc="A multimedia framework based on the MPEG-4 Systems standard"
-url="myth2ipod.com"
-depends=('gpac' 'nuvexport' )
-install="myth2ipod.install"
-source=( myth2ipod iPod.pm myth2ipod-userjob.sh m2iweb.php)
-
-
-build() {
- cd $startdir/src
- install -D -m 755 myth2ipod $startdir/pkg/usr/bin/myth2ipod
- install -D -m 755 myth2ipod-userjob.sh /$startdir/pkg/usr/bin/myth2ipod-userjob.sh
- install -D -m755 iPod.pm $startdir/pkg/usr/share/nuvexport/export/ffmpeg/iPod.pm
- mkdir -m755 -p $startdir/pkg/myth/ipodfeed
- install -D -m755 m2iweb.php $startdir/pkg/myth/ipodfeed/
-}
diff --git a/abs/extra/myth2ipod/iPod.pm b/abs/extra/myth2ipod/iPod.pm
deleted file mode 100755
index 24eae99..0000000
--- a/abs/extra/myth2ipod/iPod.pm
+++ /dev/null
@@ -1,184 +0,0 @@
-#
-# $Date: 2006-01-18 00:15:31 -0800 (Wed, 18 Jan 2006) $
-# $Revision: 226 $
-# $Author: xris $
-#
-# export::ffmpeg::iPod
-#
-
-package export::ffmpeg::iPod;
- use base 'export::ffmpeg';
-
-# Load the myth and nuv utilities, and make sure we're connected to the database
- use nuv_export::shared_utils;
- use nuv_export::cli;
- use nuv_export::ui;
- use mythtv::db;
- use mythtv::recordings;
-
-# Load the following extra parameters from the commandline
- add_arg('quantisation|q=i', 'Quantisation');
- add_arg('a_bitrate|a=i', 'Audio bitrate');
- add_arg('v_bitrate|v=i', 'Video bitrate');
- add_arg('multipass!', 'Enably two-pass encoding.');
-
- sub new {
- my $class = shift;
- my $self = {
- 'cli' => qr/\bipod\b/i,
- 'name' => 'Export to iPod',
- 'enabled' => 1,
- 'errors' => [],
- 'defaults' => {},
- };
- bless($self, $class);
-
- # Initialize the default parameters
- $self->load_defaults();
-
- # Verify any commandline or config file options
- die "Audio bitrate must be > 0\n" unless (!defined $self->val('a_bitrate') || $self->{'a_bitrate'} > 0);
- die "Video bitrate must be > 0\n" unless (!defined $self->val('v_bitrate') || $self->{'v_bitrate'} > 0);
-
- # VBR, multipass, etc.
- if ($self->val('multipass')) {
- $self->{'vbr'} = 0;
- }
- elsif ($self->val('quantisation')) {
- die "Quantisation must be a number between 1 and 31 (lower means better quality).\n" if ($self->{'quantisation'} < 1 || $self->{'quantisation'} > 31);
- $self->{'vbr'} = 1;
- }
-
- # Initialize and check for ffmpeg
- $self->init_ffmpeg();
-
- # Can we even encode ipod?
- # if (!$self->can_encode('mov')) {
- # push @{$self->{'errors'}}, "Your ffmpeg installation doesn't support encoding to mov file formats.";
- # }
- if (!$self->can_encode('xvid')) {
- push @{$self->{'errors'}}, "Your ffmpeg installation doesn't support encoding to xvid video.";
- }
- if (!$self->can_encode('aac')) {
- push @{$self->{'errors'}}, "Your ffmpeg installation doesn't support encoding to aac audio.";
- }
- # Any errors? disable this function
- $self->{'enabled'} = 0 if ($self->{'errors'} && @{$self->{'errors'}} > 0);
- # Return
- return $self;
- }
-
-# Load default settings
- sub load_defaults {
- my $self = shift;
- # Load the parent module's settings
- $self->SUPER::load_defaults();
- # Default bitrates
- $self->{'defaults'}{'v_bitrate'} = 384;
- $self->{'defaults'}{'a_bitrate'} = 64;
- }
-
-# Gather settings from the user
- sub gather_settings {
- my $self = shift;
- # Load the parent module's settings
- $self->SUPER::gather_settings();
- # Audio Bitrate
- $self->{'a_bitrate'} = query_text('Audio bitrate?',
- 'int',
- $self->val('a_bitrate'));
- # VBR options
- if (!$is_cli) {
- $self->{'vbr'} = query_text('Variable bitrate video?',
- 'yesno',
- $self->val('vbr'));
- if ($self->{'vbr'}) {
- $self->{'multipass'} = query_text('Multi-pass (slower, but better quality)?',
- 'yesno',
- $self->val('multipass'));
- if (!$self->{'multipass'}) {
- while (1) {
- my $quantisation = query_text('VBR quality/quantisation (1-31)?',
- 'float',
- $self->val('quantisation'));
- if ($quantisation < 1) {
- print "Too low; please choose a number between 1 and 31.\n";
- }
- elsif ($quantisation > 31) {
- print "Too high; please choose a number between 1 and 31\n";
- }
- else {
- $self->{'quantisation'} = $quantisation;
- last;
- }
- }
- }
- } else {
- $self->{'multipass'} = 0;
- }
- # Ask the user what video bitrate he/she wants
- $self->{'v_bitrate'} = query_text('Video bitrate?',
- 'int',
- $self->val('v_bitrate'));
- }
- }
-
- sub export {
- my $self = shift;
- my $episode = shift;
- # Force to 4:3 aspect ratio
- $self->{'out_aspect'} = 1.3333;
- $self->{'aspect_stretched'} = 1;
- # PAL or NTSC?
- my $standard = ($episode->{'finfo'}{'fps'} =~ /^2(?:5|4\.9)/) ? 'PAL' : 'NTSC';
- $self->{'width'} = 320;
- $self->{'height'} = ($standard eq 'PAL') ? '288' : '240';
- $self->{'out_fps'} = ($standard eq 'PAL') ? 25 : 29.97;
- # Embed the title
- my $safe_title = shell_escape($episode->{'show_name'}.' - '.$episode->{'title'});
- # Dual pass?
- if ($self->{'multipass'}) {
- # Build the common ffmpeg string
- my $ffmpeg_xtra = ' -b ' . $self->{'v_bitrate'}
- .' -bufsize 65535'
- .' -vcodec xvid -acodec aac '
- .' -ab ' . $self->{'a_bitrate'}
- ." -f mp4 -title $safe_title";
- # Add the temporary file to the list
- push @tmpfiles, "/tmp/xvid.$$.log";
- # Back up the path and use /dev/null for the first pass
- my $path_bak = $self->{'path'};
- $self->{'path'} = '/dev/null';
- # Build the ffmpeg string
- print "First pass...\n";
- $self->{'ffmpeg_xtra'} = " -pass 1 -passlogfile '/tmp/divx.$$.log'"
- .$ffmpeg_xtra;
- $self->SUPER::export($episode, '');
- # Restore the path
- $self->{'path'} = $path_bak;
- # Second Pass
- print "Final pass...\n";
- $self->{'ffmpeg_xtra'} = " -pass 2 -passlogfile '/tmp/divx.$$.log'"
- .$ffmpeg_xtra;
- }
- # Single Pass
- else {
- $self->{'ffmpeg_xtra'} = ' -b ' . $self->{'v_bitrate'}
- .(($self->{'vbr'})
- ? ' -qmin '.$self->{'quantisation'}
- .' -qmax 31 -minrate 32'
- .' -maxrate '.(2*$self->{'v_bitrate'})
- .' -bt 32'
- : '')
- .' -vcodec xvid -acodec aac '
- .' -ab ' . $self->{'a_bitrate'}
- ." -f mp4 -title $safe_title";
- }
- # Execute the (final pass) encode
- $self->SUPER::export($episode, '.mp4');
- }
-
-1; #return true
-
-# vim:ts=4:sw=4:ai:et:si:sts=4
-
diff --git a/abs/extra/myth2ipod/m2iweb.php b/abs/extra/myth2ipod/m2iweb.php
deleted file mode 100755
index a8a9e4d..0000000
--- a/abs/extra/myth2ipod/m2iweb.php
+++ /dev/null
@@ -1,157 +0,0 @@
-<?
-//archive.php
-// based on m2iweb.php by http://anthony.lusby.us/m2iweb/
-//release 0.1
-//10/05/07
-?>
-
-<html>
-<head>
- <title>MythWeb - Archive Recordings</title>
-
- <meta http-equiv="content-type" content="text/html; charset=utf-8" />
-
- <script type="text/javascript" src="/mythweb/js/init.js"></script>
- <script type="text/javascript" src="/mythweb/js/browser.js"></script>
- <script type="text/javascript" src="/mythweb/js/utils.js"></script>
-
- <script type="text/javascript" src="/mythweb/js/mouseovers.js"></script>
- <script type="text/javascript" src="/mythweb/js/visibility.js"></script>
- <script type="text/javascript" src="/mythweb/js/ajax.js"></script>
-
- <link rel="stylesheet" type="text/css" href="/mythweb/skins/default/style.css" />
- <link rel="stylesheet" type="text/css" href="/mythweb/skins/default/header.css" />
- <link rel="stylesheet" type="text/css" href="/mythweb/skins/default/menus.css" />
- <link rel="stylesheet" type="text/css" href="/mythweb/skins/default/programming.css" />
-
- <link rel="stylesheet" type="text/css" href="/mythweb/skins/default/status.css" />
-
-</head>
-
-<body>
-
-<div id="page_header" class="clearfix">
- <div id="logo_box">
- <a id="mythtv_logo" href="/mythweb/">
- <img src="/mythweb/skins/default/img/mythtv-logo.png"
-width="174" height="48" border="0" alt="MythTV" class="alpha_png">
- </a>
-
- </div>
- <div id="sections">
- <a id="tv_link" href="/mythweb/tv" onmouseover="return help_text('TV functions, including recorded programs.')" onmouseout="return help_text()">
- <img src="/mythweb/skins/default/img/tv.png" width="48" height="48" class="alpha_png" alt="MythTV"/>
- </a>
- <a id="video_link" href="/mythweb/video" onmouseover="return help_text('MythVideo on the web.')" onmouseout="return help_text()">
- <img src="/mythweb/skins/default/img/video.png" width="48" height="48" class="alpha_png" alt="MythVideo" />
- </a>
- <a id="weather_link" href="/mythweb/weather" onmouseover="return help_text('MythWeb Weather.')" onmouseout="return help_text()">
- <img src="/mythweb/skins/default/img/weather.png" width="48" height="48" class="alpha_png" alt="MythWeather" />
- </a>
- <a id="settings_link" href="/mythweb/settings" onmouseover="return help_text('Edit MythWeb and some MythTV settings.')" onmouseout="return help_text()">
- <img src="/mythweb/skins/default/img/settings.png" width="48" height="48" class="alpha_png" alt="Settings" />
- </a>
- </div>
- <div id="extra_header">
- <div id="help_wrapper">
- <div id="help_box">
-
- <div id="help_text_default">
- MythWeb: Mon May 16, 2006, 09:09 PM </div>
- <div id="help_text">
- </div>
- </div>
- </div>
- <div id="search" >
- <form action="/mythweb/tv/search" method="post">
-
- <div id="simple_search">
- <input id="search_text" type="text" name="searchstr" size="15" value="">
- <input id="search_submit" type="submit" class="submit" value="Search"> (<a href="/mythweb/tv/search">Advanced</a>)
- </div>
- <div id="search_options">
- </div>
- </form>
-
- </div>
- </div>
-</div>
-
-
-<table width="100%" border="0" cellspacing="2" cellpadding="0">
-<tr>
-
- <td colspan="2" class="menu menu_border_t menu_border_b"><table class="body" width="100%" border="0"
-
-cellspacing="2" cellpadding="2">
- <tr>
- <td><div id="command_choices">
- <a href="/mythweb/" id="category_legend" onmouseover="popup('category_legend'); return true;">MythTV:</a> &nbsp; &nbsp;
-
- <a href="/mythweb/tv/list">Listings</a>
- &nbsp; | &nbsp;
- <a href="/mythweb/tv/searches">Searches</a>
- &nbsp; | &nbsp;
- <a href="/mythweb/tv/schedules">Recording Schedules</a>
- (<a href="/mythweb/tv/schedules/manual">Manual</a>,
- <a href="/mythweb/tv/schedules/custom">Custom</a>)
- &nbsp; | &nbsp;
- <a href="/mythweb/tv/upcoming">Upcoming Recordings</a>
- &nbsp; | &nbsp;
- <a href="/mythweb/tv/recorded">Recorded Programs</a>
- &nbsp; | &nbsp;
- <a href="/ipodfeed/m2iweb.php">Myth2iPod</a>
- &nbsp; | &nbsp;
- <a href="/archive/archive.php">Myt2XviD3</a>
- &nbsp; | &nbsp;
- <a href="/mythweb/status">Backend Status</a>
- </div></td>
- </tr>
- </table></td>
-
-</tr>
-</table>
-<table width="100%" border="0" cellpadding="4" cellspacing="2" class="list small">
-<tr><td colspan="10" class="list_separator">View information and delete myth2ipod recordings.</td></tr>
-<?php
-if (isset($_REQUEST['delete'])){
-$delete = $_REQUEST['delete'];
-if ($delete AND substr($delete, -9) == ".ipod.xml") {
- echo '<br><font color="red">';
- echo $delete;
- unlink($delete) or print(" failed to be ");
- echo 'deleted<br>';
- $deletetoo = substr($delete, 0, -3)."mp4";
- echo $deletetoo;
- unlink($deletetoo) or print(" failed to be ");
- echo 'deleted<br><br><a href="?">Home</a>';
-}
-}
-else {
- $i=1;
- foreach (glob("*.ipod.xml") as $file) {
- $lines = file($file);
- echo '<tr class="recorded"><td class="list">&nbsp;</td><td>';
- echo '<font color="';
- if (!file_exists(substr($file, 0, -3)."mp4")) {
- echo "red";
- }
- echo '">'.$i.'</font>';
- echo "</td></td><td><a href=".'"'.substr($file, 0, -3)."mp4".'"'."style='color:white'>".strip_tags($lines[1])."</a></td><td>".strip_tags($lines[7])."</td><td>".strip_tags($lines[6])."</td><td nowrap>".filesizeparse(filesize(substr($file, 0, -3)."mp4"))."</td><td>".'<a href="?delete='.$file.'" onclick="return confirm('."'Are you sure you want to delete?'".')">Delete</a>'."</td>".'<td class="list">&nbsp;</td>'."</tr>";
- $i++;
- }
-}
-function filesizeparse($size){
- $i=0;
- $iec = array(" B", " KB", " MB", " GB", " TB");
- while (($size/1024)>1) {
- $size=$size/1024;
- $i++;
- }
- return substr($size,0,strpos($size,'.')+3).$iec[$i];
-}
-?>
-</table>
-</body>
-</html>
-</code>
diff --git a/abs/extra/myth2ipod/myth2ipod b/abs/extra/myth2ipod/myth2ipod
deleted file mode 100755
index baf749e..0000000
--- a/abs/extra/myth2ipod/myth2ipod
+++ /dev/null
@@ -1,310 +0,0 @@
-#!/usr/bin/perl -w
-# VERSION: 1.0b2 - myth2ipod
-# Get the latest version, and change log at myth2ipod.com
-# Author: Chris aka Wififun - email: wififun@myth2ipod.com
-# Contributions and testing by Paul Egli
-# modified to use nuvexport by starv at juniks dot org
-
-# Includes
-use DBI;
-use Getopt::Long;
-use File::Path;
-
-# User variables
-my $portable = "ipod";
-my $feedfile = "/myth/ipodfeed/feed.php";
-my $feedpath = "/myth/ipodfeed/";
-my $wwwloc = "/data/srv/httpd/htdocs";
-my $feedurl = "http://REPLACEME/ipodfeed/";
-my $nuvoptions ="--mode=iPod --nice=19 --cutlist --nodenoise --nodeinterlace --nomultipass";
-
-# Some variables
-our ($dest, $format, $usage);
-our ($db_host, $db_user, $db_name, $db_pass, $video_dir);
-our ($hostname, $db_handle, $sql, $statement, $row_ref);
-our ($chanid, $start, $nuvfile, @nuvarray);
-my $rebuild = '0';
-my $encode = '0';
-my $debug = '0';
-my $setup = '0';
-my $cut = '0';
-my( $rightnow ) = `date`;
-
-GetOptions ("rebuild" => \$rebuild,
- "encode" => \$encode,
- "debug" => \$debug,
- "setup" => \$setup,
- "cut" => \$cut);
-
-if ($setup == 1){
- system("clear");
- print "Setup will do everything needed to run this script.\n";
- print "This has only been tested on KnoppMyth R5A22.\n";
- print "make sure you have edited the variables for your conguration.\n";
- my $cksetup = &promptUser("\nAre you sure you want to procceed?","n");
- if ($cksetup =~ "y") {
- DoSetup();
- exit;
- }
- print "Setup exited. Nothing done.\n";
- exit;
-}
-elsif ($rebuild == 1){
- GenerateRSSFeed();
- print "Rebuilding of RSS feed is complete.\n";
- exit;
-}
-else {
- Encode4Portable();
- print "$title is ready for your $portable\n";
-
- # Check to see if the feed file exists; if not, create it.
- if (! -e $feedfile) {
- print "No feed file found. I will make one for you.\n";
- GenerateRSSFeed();
- print "All done.\n";
- }
-}
-
-sub Encode4Portable{
- if ($#ARGV != 1) {
- print "Encoding requires options.\nusage: myth2ipod <options> DIRECTORY FILE\n";
- exit;
- }
-
- # Get the show information
- $directory = $ARGV[0];
- $file = $ARGV[1];
- @file = split(/_/, $file);
- $chanid = $file[0];
- $start = substr $file[1],0,14;
- if($debug == 1){ print "$chanid\n$start\n"};
- if (! -e $directory."/".$file){
- print "Oops, the file ".$directory.$file." does not exist.\n";
- exit;
- }
-
- # Connect to the database
- PrepSQLRead();
- $db_handle = DBI->connect("dbi:mysql:database=$db_name:host=$db_host", $db_user, $db_pass)
- or die "Cannot connect to database: $!\n\n";
- $sql = "SELECT title, subtitle, description, category, starttime FROM recorded WHERE chanid = $chanid AND DATE_FORMAT(starttime,'%Y%m%d%H%i%s') = $start";
-
- $statement = $db_handle->prepare($sql)
- or die "Couldn't prepare query '$sql': $DBI::errstr\n";
-
- $statement->execute()
- or die "Couldn't execute query '$sql': $DBI::errstr\n";
- $row_ref = $statement->fetchrow_hashref();
- if($debug == 1){ print "$row_ref->{starttime}\n"};
- $title = $row_ref->{title};
- $subtitle = $row_ref->{subtitle};
- $recorddate = $row_ref->{starttime};
- $description = $row_ref->{description};
- $category = $row_ref->{category};
- $filename = $title."-".$subtitle."-".substr $start, 0, 8;
- $filename =~ s/ /_/g;
- $filename =~ s/&/+/g;
- $filename =~ s/\047//g;
- $filename =~ s/[^+0-9a-zA-Z_-]+/_/g;
- $filename =~ s/_$//g;
-
- printf("Starting nuvexport...\n");
- EncodeIt();
- printf("Nuvexport completed, starting xml generation...\n");
- CreateItemXML();
- printf("XML file created for \"$filename\" : Yipeee\n");
- printf("Cleaning up temporary files\n");
- $cmd = "rm -f $feedpath$chanid\_$start.temp.mp4";
- print $cmd."\n";
- if(system($cmd)) { print "Removing nuvexport temp file failed\n"; }
-
- # remove the cutlist incase we added it.
- if ($cut == 1){
- printf("Generating cutlist\n");
- $cmd = "/usr/bin/mythcommflag --chanid $chanid --starttime $start --clearcutlist";
- print $cmd."\n";
- if(system($cmd)) { print "It looks like I was not able to generate a cutlist.\n"; }
- }
- return 0;
-}
-
-#
-# Encode for Portable
-#
-sub EncodeIt {
- # Create cutlist from commercial flagging if -cut was passed to the script
- if ($cut == 1){
- printf("Generating cutlist\n");
- $cmd = "/usr/bin/mythcommflag --chanid $chanid --starttime $start --gencutlist";
- print $cmd."\n";
- if(system($cmd)) { print "It looks like I was not able to generate a cutlist.\n"; }
- }
-
- # Use nuvexport to do the work
- $cmd = "/usr/bin/nuvexport --chanid=$chanid --start=$start $nuvoptions --filename=$chanid\_$start.temp --path=$feedpath";
- print $cmd."\n";
- if(system($cmd)) { print "Nuvexport encoding seems to have failed\n"; }
-
- # Now clean up the output so iPods with firmware 1.1 and above can use it
- $cmd = "/usr/bin/MP4Box -add $feedpath$chanid\_$start.temp.mp4 $feedpath$chanid\_$start.$portable.mp4";
- print $cmd."\n";
- if(system($cmd)) { print "MP4Box cleanup seems to have failed\n"; }
- return 0;
-}
-
-#
-# Create XML with <ITEM> tag for this video file
-#
-sub CreateItemXML {
- open(ITEM, ">$feedpath$chanid\_$start.$portable.xml");
- print ITEM "<item>\n";
- print ITEM "<title>".&encodeForXML($title." - ".$subtitle)."</title>\n";
- print ITEM "<itunes:author>MythTV</itunes:author>\n";
- print ITEM "<author>MythTV</author>\n";
- print ITEM "<itunes:category text=\"TV Shows\"></itunes:category>\n";
- print ITEM "<comments>".&encodeForXML($file)."</comments>\n";
- print ITEM "<description>".&encodeForXML($description)."</description>\n";
- print ITEM "<pubDate>".$recorddate."</pubDate>\n";
- print ITEM "<enclosure url=\"".&encodeForXML("$feedurl$chanid\_$start.$portable.mp4")."\" type=\"video/quicktime\" />\n";
- print ITEM "<itunes:duration></itunes:duration>\n";
- print ITEM "<itunes:keywords>".&encodeForXML($title." - ".$subtitle." - ".$category)."</itunes:keywords>\n";
- print ITEM "<category>".&encodeForXML($category)."</category>\n";
- print ITEM "</item>\n";
- print "\"$filename\" has been added to the feed.\n";
- close(ITEM);
- return 0;
-}
-
-#
-# Generate the RSS feed by combining the ITEM XML Files
-#
-sub GenerateRSSFeed {
-
- open(RSS, ">$feedfile");
- print RSS "<?php\n";
- print RSS "header(\"Content-Type: text/xml\");\n";
- print RSS "echo \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?>\"; ?>\n";
- print RSS "<rss xmlns:itunes=\"http://www.itunes.com/DTDs/Podcast-1.0.dtd\" version=\"2.0\">\n";
- print RSS "<channel>\n";
- print RSS "<title>MythTV - <? if (\$_GET['title'] == \"\") { \$title = \"*\"; echo \"Recorded Programs\"; }\n";
- print RSS "else { \$title = \$_GET['title']; echo str_replace(\"_\",\" \",\$_GET['title']); } ?> </title>\n";
- print RSS "<itunes:author>MythTV - myth2ipod</itunes:author>\n";
- print RSS "<link>".&encodeForXML($feedurl)."</link>\n";
- print RSS "<itunes:subtitle>Transcoded recording for your iPod Video.</itunes:subtitle>\n";
- print RSS "<itunes:summary>Myth TV Recorded Programs for the iPod v.1</itunes:summary>\n";
- print RSS "<description>Myth TV Recorded Programs for the iPod v.1</description>\n";
- print RSS "<itunes:owner>\n";
- print RSS "<itunes:name>MythTV</itunes:name>\n";
- print RSS "<itunes:email>mythtv\@localhost</itunes:email>\n";
- print RSS "</itunes:owner>\n";
- print RSS "<itunes:explicit>No</itunes:explicit>\n";
- print RSS "<language>en-us</language>\n";
- print RSS "<copyright>Copyright 2005.</copyright>\n";
- print RSS "<webMaster>mythtv\@localhost</webMaster>\n";
- print RSS "<itunes:image href=\"http://myth2ipod.com/mythipod_200.jpg\" />\n";
- print RSS "<itunes:category text=\"TV Shows\"></itunes:category>\n";
- print RSS "<category>TV Shows</category>\n";
- print RSS "<itunes:image href=\"http://myth2ipod.com/mythipod_200.jpg\"/>";
- print RSS "<image>";
- print RSS "<url>http://myth2ipod.com/mythipod_200.jpg</url>\n";
- print RSS "<title>MythTV 2 iPod</title>\n";
- print RSS "<link>".&encodeForXML($feedurl)."</link>\n";
- print RSS "<width>200</width>\n";
- print RSS "<height>200</height>\n";
- print RSS "</image>\n";
- print RSS "<? foreach (glob(\$title\.\"*\.$portable\.xml\") as \$file) {include \$file;} ?>\n";
- print RSS "</channel>\n";
- print RSS "</rss>\n";
- close(RSS);
- if($debug == 1){ print "I created a feed file, was I supposed to?\n"};
-
- return 0;
-}
-
-# substitute for XML entities
-sub encodeForXML {
- local $result;
- $result = $_[0];
- $result =~ s/&/&amp;/g;
- $result =~ s/</&lt;/g;
- $result =~ s/>/&gt;/g;
- $result;
-}
-
-
-#
-# This code taken from one of the mythlink.sh scripts to get MySQL information
-#
-sub PrepSQLRead{
-# Get the hostname of this machine
- $hostname = `hostname`;
- chomp($hostname);
-
-# Read the mysql.txt file in use by MythTV.
-# could be in a couple places, so try the usual suspects
- my $found = 0;
- my @mysql = ('/usr/share/mythtv/mysql.txt',
- '/usr/share/mythtv/mysql.txt',
- '/etc/mythtv/mysql.txt',
- '/usr/local/etc/mythtv/mysql.txt',
- '$ENV{HOME}/.mythtv/mysql.txt',
- 'mysql.txt'
- );
- foreach my $file (@mysql) {
- next unless (-e $file);
- $found = 1;
- open(CONF, $file) or die "Unable to open $file: $!\n\n";
- while (my $line = <CONF>) {
- # Cleanup
- next if ($line =~ /^\s*#/);
- $line =~ s/^str //;
- chomp($line);
- # Split off the var=val pairs
- my ($var, $val) = split(/\=/, $line, 2);
- next unless ($var && $var =~ /\w/);
- if ($var eq 'DBHostName') {
- $db_host = $val;
- }
- elsif ($var eq 'DBUserName') {
- $db_user = $val;
- }
- elsif ($var eq 'DBName') {
- $db_name = $val;
- }
- elsif ($var eq 'DBPassword') {
- $db_pass = $val;
- }
- # Hostname override
- elsif ($var eq 'LocalHostName') {
- $hostname = $val;
- }
- }
- close CONF;
- }
- die "Unable to locate mysql.txt: $!\n\n" unless ($found && $db_host);
- return 0;
-}
-
-sub promptUser {
- local($promptString,$defaultValue) = @_;
- if ($defaultValue) {
- print $promptString, "[", $defaultValue, "]: ";
- } else {
- print $promptString, ": ";
- }
-
- $| = 1; # force a flush after our print
- $_ = <STDIN>; # get the input from STDIN (presumably the keyboard)
- chomp;
- if ("$defaultValue") {
- return $_ ? $_ : $defaultValue; # return $_ if it has a value
- } else {
- return $_;
- }
-}
-
-sub DoSetup {
- print "\nNot ready yet. How do you send the cd command from perl?\n";
- return 0;
-}
diff --git a/abs/extra/myth2ipod/myth2ipod-userjob.sh b/abs/extra/myth2ipod/myth2ipod-userjob.sh
deleted file mode 100755
index 9ed65b2..0000000
--- a/abs/extra/myth2ipod/myth2ipod-userjob.sh
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/bash
-. /etc/profile
-#su mythtv -c "TERM=vt100 /usr/bin/myth2ipod "$1" "$2" >/tmp/logfile"
-su mythtv -c "TERM=vt100 /usr/bin/myth2ipod "$1" "$2" "
-#or to also use commercial flagging cutlist
-#su mythtv -c "TERM=vt100 /usr/bin/myth2ipod -cut "$1" "$2" >/tmp/logfile"
diff --git a/abs/extra/myth2ipod/myth2ipod.install b/abs/extra/myth2ipod/myth2ipod.install
deleted file mode 100755
index 367d90f..0000000
--- a/abs/extra/myth2ipod/myth2ipod.install
+++ /dev/null
@@ -1,38 +0,0 @@
-
-pre_install() {
- mkdir -p /myth/ipodfeed
- chown mythtv:http /myth/ipodfeed
-}
-
-pre_upgrade() {
- pre_install
-}
-
-pre_remove() {
- pre_install
-}
-
-post_install() {
- . /etc/systemconfig
- ln -s /myth/ipodfeed /data/srv/httpd/htdocs/ipodfeed
- ln -s /myth/ipodfeed/m2iweb.php /myth/ipodfeed/index.php
- sed -i -e "s/REPLACEME/$hostname/g" /usr/bin/myth2ipod
- chown -R mythtv:http /myth/ipodfeed
- /usr/bin/myth2ipod -rebuild
-}
-
-post_upgrade() {
- /usr/bin/myth2ipod -rebuild
-}
-
-post_remove() {
- rm -fr /data/srv/httpd/htdocs/ipodfeed
- rm -rf /myth/ipodfeed/m2iweb.php
- rm -rf /myth/ipodfeed/index.php
- # don't delete content that the user may still want, so leave /myth/ipodfeed
-}
-
-op=$1
-shift
-
-$op $*
diff --git a/abs/extra/netkit-bsd-finger/LICENSE b/abs/extra/netkit-bsd-finger/LICENSE
deleted file mode 100644
index 7825451..0000000
--- a/abs/extra/netkit-bsd-finger/LICENSE
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * Copyright (c) 1989 The Regents of the University of California.
- * All rights reserved.
- *
- * This code is derived from software contributed to Berkeley by
- * Tony Nardo of the Johns Hopkins University/Applied Physics Lab.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
- * This product includes software developed by the University of
- * California, Berkeley and its contributors.
- * 4. Neither the name of the University nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- */
-
diff --git a/abs/extra/netkit-bsd-finger/PKGBUILD b/abs/extra/netkit-bsd-finger/PKGBUILD
deleted file mode 100644
index 06a45cc..0000000
--- a/abs/extra/netkit-bsd-finger/PKGBUILD
+++ /dev/null
@@ -1,26 +0,0 @@
-# $Id: PKGBUILD 35715 2009-04-16 03:28:17Z eric $
-# Maintainer: dorphell <dorphell@archlinux.org>
-pkgname=netkit-bsd-finger
-pkgver=0.17
-pkgrel=4
-pkgdesc="bsd-finger ported to Linux"
-arch=('i686' 'x86_64')
-url="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit"
-license=('BSD')
-depends=('glibc' 'xinetd')
-backup=('etc/xinetd.d/finger')
-source=(ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/bsd-finger-$pkgver.tar.gz finger.xinetd LICENSE)
-md5sums=('52bf281aac8814bf56cdc92f7661ee75' 'a8682004dc8dee356065162bde892b47'\
- '5fc568418a0379fc3a358ed1c2523b44')
-
-build() {
- cd $srcdir/bsd-finger-$pkgver
- install -d $pkgdir/usr/{bin,sbin} $pkgdir/usr/share/man/{man1,man8}
- ./configure --prefix=/usr || return 1
- sed -i 's@include <sys/time.h>@include <time.h>@' finger/lprint.c || return 1
- sed -i 's@include <sys/time.h>@include <time.h>@' finger/sprint.c || return 1
- make || return 1
- make INSTALLROOT=$pkgdir MANDIR=/usr/share/man install || return 1
- install -D -m644 $srcdir/finger.xinetd $pkgdir/etc/xinetd.d/finger || return 1
- install -D -m644 ../LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
-}
diff --git a/abs/extra/netkit-bsd-finger/finger.xinetd b/abs/extra/netkit-bsd-finger/finger.xinetd
deleted file mode 100644
index cc9a8b1..0000000
--- a/abs/extra/netkit-bsd-finger/finger.xinetd
+++ /dev/null
@@ -1,8 +0,0 @@
-service finger
-{
- socket_type = stream
- wait = no
- user = nobody
- server = /usr/sbin/in.fingerd
- disable = yes
-}
diff --git a/abs/extra/numlockx/PKGBUILD b/abs/extra/numlockx/PKGBUILD
deleted file mode 100644
index 172cceb..0000000
--- a/abs/extra/numlockx/PKGBUILD
+++ /dev/null
@@ -1,26 +0,0 @@
-# $Id: PKGBUILD 19225 2008-11-17 22:12:15Z thayer $
-# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
-# Contributor: Travis Willard <travisw@wmpub.ca>
-# Maintainer: Thayer Williams <thayer@archlinux.org>
-
-pkgname=numlockx
-pkgver=1.1
-pkgrel=4
-pkgdesc="Turns on the numlock key in X11"
-arch=('i686' 'x86_64')
-license=('MIT')
-url="http://ktown.kde.org/~seli/numlockx/"
-depends=('libxtst')
-source=(http://ktown.kde.org/~seli/$pkgname/$pkgname-$pkgver.tar.gz)
-md5sums=('127d9dfbbbe6dbec62cc78db340f913c')
-
-build() {
- cd $srcdir/$pkgname-$pkgver
- ./configure --prefix=/usr x_includes=/usr/include/X11 \
- x_libraries=/usr/lib || return 1
- make || return 1
- make prefix=$pkgdir/usr install || return 1
-
- # Install the custom MIT license
- install -D LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE || return 1
-}
diff --git a/abs/extra/perl-time-hires/PKGBUILD b/abs/extra/perl-time-hires/PKGBUILD
deleted file mode 100644
index 2e01636..0000000
--- a/abs/extra/perl-time-hires/PKGBUILD
+++ /dev/null
@@ -1,26 +0,0 @@
-# $Id: PKGBUILD 82203 2010-06-09 09:42:03Z jgc $
-# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
-# Contributor: mezcal <fila at pruda dot com>
-
-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
-}
-
diff --git a/abs/extra/perl-yaml/PKGBUILD b/abs/extra/perl-yaml/PKGBUILD
deleted file mode 100644
index b2e093c..0000000
--- a/abs/extra/perl-yaml/PKGBUILD
+++ /dev/null
@@ -1,28 +0,0 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-# Contributor: Charles Mauch <cmauch@gmail.com>
-
-pkgname=perl-yaml
-_realname=YAML
-pkgver=0.66
-pkgrel=1
-pkgdesc="Perl/CPAN Module YAML : YAML Aint Markup Language tm"
-arch=(i686 x86_64)
-url="http://search.cpan.org/dist/${_realname}/"
-license=('GPL' 'PerlArtistic')
-depends=('perl>=5.10.0')
-options=(!emptydirs)
-source=(http://www.cpan.org/authors/id/I/IN/INGY/${_realname}-${pkgver}.tar.gz)
-md5sums=('33a0367cb343e1f0dce20f144d0167ba')
-
-build() {
- cd ${startdir}/src/${_realname}-${pkgver}
- # install module in vendor directories.
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
- make || return 1
- make install DESTDIR=${startdir}/pkg || return 1
-
- # remove perllocal.pod and .packlist
- find ${startdir}/pkg -name perllocal.pod -delete
- find ${startdir}/pkg -name .packlist -delete
-}
diff --git a/abs/extra/phonon/PKGBUILD b/abs/extra/phonon/PKGBUILD
deleted file mode 100644
index 40b13d2..0000000
--- a/abs/extra/phonon/PKGBUILD
+++ /dev/null
@@ -1,53 +0,0 @@
-# $Id$
-# Maintainer: Andrea Scarpino <andrea@archlinux.org>
-
-pkgbase=phonon
-pkgname=('phonon' 'phonon-xine' 'phonon-gstreamer')
-pkgver=4.4.2
-pkgrel=3
-arch=('i686' 'x86_64')
-url="http://phonon.kde.org"
-license=('LGPL')
-makedepends=('cmake' 'automoc4' 'qt' 'xine-lib' 'gstreamer0.10-base-plugins' 'mesa')
-source=("http://download.kde.org/stable/${pkgname}/${pkgver}/${pkgbase}-${pkgver}.tar.bz2")
-sha1sums=('c329d924fb75a89a9de8a4d799ff4dcd7ee3302e')
-
-build() {
- cd ${srcdir}
- mkdir build
- cd build
- cmake ../${pkgbase}-${pkgver} \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_SKIP_RPATH=ON \
- -DWITH_PulseAudio=OFF
- make
-}
-
-package_phonon(){
- pkgdesc="The multimedia API for KDE4"
- depends=('qt' 'phonon-backend')
- cd ${srcdir}/build/phonon
- make DESTDIR=${pkgdir} install
- cd ${srcdir}/build/includes
- make DESTDIR=${pkgdir} install
- cd ${srcdir}/build
- install -Dm644 phonon.pc ${pkgdir}/usr/lib/pkgconfig/phonon.pc
-}
-
-package_phonon-gstreamer(){
- pkgdesc="Phonon Gstreamer backend"
- depends=('qt' 'gstreamer0.10-base-plugins')
- provides=('phonon-backend')
- cd ${srcdir}/build/gstreamer
- make DESTDIR=${pkgdir} install
-}
-
-package_phonon-xine(){
- pkgdesc="Phonon Xine backend"
- depends=('qt' 'xine-lib')
- provides=('phonon-backend')
- cd ${srcdir}/build/xine
- make DESTDIR=${pkgdir} install
-}
-
diff --git a/abs/extra/phpmyadmin/PKGBUILD b/abs/extra/phpmyadmin/PKGBUILD
deleted file mode 100644
index f3b9be3..0000000
--- a/abs/extra/phpmyadmin/PKGBUILD
+++ /dev/null
@@ -1,48 +0,0 @@
-# $Id: PKGBUILD 34046 2010-12-01 14:03:04Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Maintainer: tobias <tobias@archlinux.org>
-# Committer: Manolis Tzanidakis <manolis@archlinux.org>
-# Contributor: Simon Lackerbauer <calypso "at" strpg.org>
-
-pkgname=phpmyadmin
-pkgver=3.3.8.1
-pkgrel=1
-pkgdesc="A PHP and hence web-based tool to administrate MySQL over the WWW"
-arch=('any')
-url="http://www.phpmyadmin.net"
-license=('GPL')
-depends=('mysql-clients' 'php')
-optdepends=('libmcrypt: to use phpMyAdmin internal authentication'
- 'python2')
-backup=("etc/webapps/phpmyadmin/.htaccess"
- "etc/webapps/phpmyadmin/config.inc.php")
-source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/phpMyAdmin-$pkgver-all-languages.tar.bz2)
-md5sums=('784b2534c443b1cb2328e3b97f0d2a36')
-
-build() {
- _instdir=${startdir}/pkg/data/srv/httpd/htdocs/phpMyAdmin
- mkdir -p ${_instdir} $pkgdir/etc/webapps/phpmyadmin
- cd ${_instdir}
-
- cp -ra $srcdir/phpMyAdmin-${pkgver}-all-languages/* .
-# echo "deny from all" >$pkgdir/etc/webapps/phpmyadmin/.htaccess
-
- ln -s /etc/webapps/phpmyadmin/.htaccess ${_instdir}/.htaccess
- ln -s /etc/webapps/phpmyadmin/config.inc.php ${_instdir}/config.inc.php
- cp ${_instdir}/config.sample.inc.php $pkgdir/etc/webapps/phpmyadmin/config.inc.php
- cp ${_instdir}/config.sample.inc.php $pkgdir/etc/webapps/phpmyadmin/
-
- # apache
-# cat >$pkgdir/etc/webapps/phpmyadmin/apache.example.conf <<EOF
-# Alias /phpmyadmin "/usr/share/webapps/phpMyAdmin"
-# <Directory "/usr/share/webapps/phpMyAdmin">
-# AllowOverride All
-# Options FollowSymlinks
-# Order allow,deny
-# Allow from all
-# </Directory>
-#EOF
-
-}
-
-
diff --git a/abs/extra/phpmyadmin/__changelog b/abs/extra/phpmyadmin/__changelog
deleted file mode 100644
index 4ee3bf9..0000000
--- a/abs/extra/phpmyadmin/__changelog
+++ /dev/null
@@ -1,2 +0,0 @@
-Comment out all apache related stuff.
-optdepends: change 'python' to 'python2'
diff --git a/abs/extra/pmount/PKGBUILD b/abs/extra/pmount/PKGBUILD
deleted file mode 100644
index bbdb957..0000000
--- a/abs/extra/pmount/PKGBUILD
+++ /dev/null
@@ -1,22 +0,0 @@
-# $Id: PKGBUILD 119797 2011-04-15 09:29:18Z jgc $
-# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
-
-pkgname=pmount
-pkgver=0.9.23
-pkgrel=2
-pkgdesc="mount removable devices as normal user"
-arch=(i686 x86_64)
-license=('GPL2')
-url="http://pmount.alioth.debian.org/"
-backup=('etc/pmount.allow')
-depends=('sysfsutils>=2.0.0-1' 'bash')
-makedepends=('intltool')
-source=(https://alioth.debian.org/frs/download.php/3310/pmount-0.9.23.tar.bz2)
-md5sums=('db19f5bf3151b1b41705ec7bafa439d3')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --disable-hal
- make
- make DESTDIR="${pkgdir}" install
-}
diff --git a/abs/extra/pmount/pmount-dbus-close.patch b/abs/extra/pmount/pmount-dbus-close.patch
deleted file mode 100644
index 06ffa2b..0000000
--- a/abs/extra/pmount/pmount-dbus-close.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -ruN pmount-0.9.13/src/pmount-hal.c pmount-0.9.13-new/src/pmount-hal.c
---- pmount-0.9.13/src/pmount-hal.c 2006-08-15 22:31:02.000000000 +0200
-+++ pmount-0.9.13-new/src/pmount-hal.c 2007-02-05 12:01:09.000000000 +0100
-@@ -361,7 +361,6 @@
- /* shut down hal connection */
- libhal_ctx_shutdown( hal_ctx, &error );
- libhal_ctx_free( hal_ctx );
-- dbus_connection_close( dbus_conn );
- dbus_connection_unref( dbus_conn );
-
- /* go */
diff --git a/abs/extra/pptpclient/PKGBUILD b/abs/extra/pptpclient/PKGBUILD
deleted file mode 100644
index f94a7d2..0000000
--- a/abs/extra/pptpclient/PKGBUILD
+++ /dev/null
@@ -1,21 +0,0 @@
-# Maintainer: Daniel Isenmann <daniel @ archlinux.org>
-# Contributor: Mark Nikkel <mnikkel@gmail.com>
-pkgname=pptpclient
-pkgver=1.7.2
-pkgrel=2
-pkgdesc="Client for the proprietary Microsoft Point-to-Point Tunneling Protocol, PPTP."
-url="http://pptpclient.sourceforge.net/"
-license=('GPL')
-depends=(glibc ppp iproute2)
-backup=(etc/ppp/{options.pptp})
-source=(http://downloads.sourceforge.net/sourceforge/pptpclient/pptp-$pkgver.tar.gz)
-md5sums=('4c3d19286a37459a632c7128c92a9857')
-arch=('i686' 'x86_64')
-
-build() {
- cd $srcdir/pptp-$pkgver
- sed -i '/CFLAGS/d' Makefile
- sed -i 's|\/bin\/ip|\/usr\/sbin\/ip|g' routing.c
- make || return 1
- make DESTDIR=$pkgdir install
-}
diff --git a/abs/extra/procmail/PKGBUILD b/abs/extra/procmail/PKGBUILD
deleted file mode 100644
index 356a147..0000000
--- a/abs/extra/procmail/PKGBUILD
+++ /dev/null
@@ -1,21 +0,0 @@
-# $Id: PKGBUILD 35774 2009-04-17 03:11:54Z eric $
-# Maintainer: dorphell <dorphell@archlinux.org>
-# Committer: Judd Vinet <jvinet@zeroflux.org>
-pkgname=procmail
-pkgver=3.22
-pkgrel=2
-pkgdesc="Highly configurable auto mail processing."
-arch=(i686 x86_64)
-url="http://www.procmail.org"
-license=('GPL' 'custom:Artistic')
-depends=('glibc')
-source=(http://www.procmail.org/${pkgname}-${pkgver}.tar.gz)
-source=(ftp://ftp.psg.com/pub/unix/procmail/procmail-3.22.tar.gz)
-md5sums=('1678ea99b973eb77eda4ecf6acae53f1')
-
-build() {
- cd $srcdir/$pkgname-$pkgver
- yes n | make LOCKINGTEST="/tmp ." || return 1
- make BASENAME=$pkgdir/usr MANDIR=$pkgdir/usr/share/man install || return 1
- install -D -m644 Artistic ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
-}
diff --git a/abs/extra/pth/PKGBUILD b/abs/extra/pth/PKGBUILD
deleted file mode 100644
index 2e0f66b..0000000
--- a/abs/extra/pth/PKGBUILD
+++ /dev/null
@@ -1,22 +0,0 @@
-# $Id: PKGBUILD 35785 2009-04-17 05:07:12Z eric $
-# Maintainer: damir <damir@archlinux.org>
-
-pkgname=pth
-pkgver=2.0.7
-pkgrel=2
-pkgdesc="The GNU Portable Threads."
-arch=('i686' 'x86_64')
-url="http://www.gnu.org/software/pth/"
-license=('LGPL')
-depends=('glibc')
-options=('!libtool' '!makeflags')
-source=(ftp://ftp.gnu.org/gnu/pth/${pkgname}-${pkgver}.tar.gz)
-md5sums=('9cb4a25331a4c4db866a31cbe507c793')
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- ./configure --prefix=/usr --sysconfdir=/etc \
- --localstatedir=/var --mandir=/usr/share/man || return 1
- make || return 1
- make DESTDIR=${pkgdir} install || return 1
-}
diff --git a/abs/extra/pyxis/PKGBUILD b/abs/extra/pyxis/PKGBUILD
deleted file mode 100644
index 436db6e..0000000
--- a/abs/extra/pyxis/PKGBUILD
+++ /dev/null
@@ -1,27 +0,0 @@
-# Contributor: Corey Ling <kasuko@gmail.com>
-
-pkgname=pyxis
-pkgver=0.2.3
-pkgrel=2
-pkgdesc="SIRIUS/XM Internet Radio Player for Command Line"
-url="http://www.ionshard.com/pyxis"
-arch=(i686 x86_64)
-license=('GPL')
-depends=('python2-beautifulsoup4' 'mplayer' 'python2')
-makedepends=('python2' 'setuptools')
-optdepends=('python-notify: for OSD notifications')
-conflicts=()
-replaces=()
-backup=()
-options=(!emptydirs)
-install=
-source=( "https://github.com/Kasuko/pyxis/tarball/v$pkgver" "python2.patch" )
-
-build() {
- cd $srcdir/Kasuko-pyxis*
- patch -p0 < ../../python2.patch
- python2 setup.py install --root=$pkgdir
-}
-
-md5sums=('b2f42dc7bb5e2a0a6c0ef0ff6f327790'
- '3096a832aac9e155cd21e2d108168516')
diff --git a/abs/extra/pyxis/__changelog b/abs/extra/pyxis/__changelog
deleted file mode 100644
index 2410a63..0000000
--- a/abs/extra/pyxis/__changelog
+++ /dev/null
@@ -1,2 +0,0 @@
-9/3/12 chw
-Changed dep from python-beautiful to python2-beautifulsoup4.
diff --git a/abs/extra/pyxis/python2.patch b/abs/extra/pyxis/python2.patch
deleted file mode 100644
index e53cf99..0000000
--- a/abs/extra/pyxis/python2.patch
+++ /dev/null
@@ -1,90 +0,0 @@
-diff --git bin/pyxis bin/pyxis
-index 9b447fb..0350278 100755
---- bin/pyxis
-+++ bin/pyxis
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/env python2
- #Pyxis and Original Sipie: Sirius Command Line Player
- #Copyright (C) Corey Ling, Eli Criffield
- #
-diff --git pyxis/Config.py pyxis/Config.py
-index d4d6d29..a36778e 100644
---- pyxis/Config.py
-+++ pyxis/Config.py
-@@ -1,4 +1,4 @@
--#!/usr/bin/python
-+#!/usr/bin/python2
- #Pyxis and Original Sipie: Sirius Command Line Player
- #Copyright (C) Corey Ling, Eli Criffield
- #
-diff --git pyxis/Debug.py pyxis/Debug.py
-index d4af851..bf1bd6e 100644
---- pyxis/Debug.py
-+++ pyxis/Debug.py
-@@ -1,4 +1,4 @@
--#!/usr/bin/python
-+#!/usr/bin/python2
- #Pyxis
- #Copyright (C) Corey Ling
- #
-diff --git pyxis/Exceptions.py pyxis/Exceptions.py
-index a1b5f8d..0270a02 100644
---- pyxis/Exceptions.py
-+++ pyxis/Exceptions.py
-@@ -1,4 +1,4 @@
--#!/usr/bin/python
-+#!/usr/bin/python2
- #Pyxis and Original Sipie: Sirius Command Line Player
- #Copyright (C) Corey Ling, Eli Criffield
- #
-diff --git pyxis/Interface.py pyxis/Interface.py
-index 3c60a7c..1b0c05c 100644
---- pyxis/Interface.py
-+++ pyxis/Interface.py
-@@ -1,4 +1,4 @@
--#!/usr/bin/python
-+#!/usr/bin/python2
- #Pyxis and Original Sipie: Sirius Command Line Player
- #Copyright (C) Corey Ling, Eli Criffield
- #
-diff --git pyxis/Player.py pyxis/Player.py
-index 8e945ba..c467acd 100644
---- pyxis/Player.py
-+++ pyxis/Player.py
-@@ -1,4 +1,4 @@
--#!/usr/bin/python
-+#!/usr/bin/python2
- #Pyxis and Original Sipie: Sirius Command Line Player
- #Copyright (C) Corey Ling, Eli Criffield
- #
-diff --git pyxis/ProviderCanada.py pyxis/ProviderCanada.py
-index 4d84952..9ff2aa6 100644
---- pyxis/ProviderCanada.py
-+++ pyxis/ProviderCanada.py
-@@ -1,4 +1,4 @@
--#!/usr/bin/python
-+#!/usr/bin/python2
- #Pyxis and Original Sipie: Sirius Command Line Player
- #Copyright (C) Corey Ling, Eli Criffield
- #
-diff --git pyxis/ProviderUSA.py pyxis/ProviderUSA.py
-index 7c30eaf..b1fb950 100644
---- pyxis/ProviderUSA.py
-+++ pyxis/ProviderUSA.py
-@@ -1,4 +1,4 @@
--#!/usr/bin/python
-+#!/usr/bin/python2
- #Pyxis and Original Sipie: Sirius Command Line Player
- #Copyright (C) Corey Ling, Eli Criffield
- #
-diff --git pyxis/Sirius.py pyxis/Sirius.py
-index 30a25d6..75f1fb6 100644
---- pyxis/Sirius.py
-+++ pyxis/Sirius.py
-@@ -1,4 +1,4 @@
--#!/usr/bin/python
-+#!/usr/bin/python2
- #Pyxis and Original Sipie: Sirius Command Line Player
- #Copyright (C) Corey Ling, Eli Criffield
- #
diff --git a/abs/extra/qscintilla/PKGBUILD b/abs/extra/qscintilla/PKGBUILD
deleted file mode 100644
index b0f83be..0000000
--- a/abs/extra/qscintilla/PKGBUILD
+++ /dev/null
@@ -1,59 +0,0 @@
-# $Id$
-# Maintainer: Andrea Scarpino <andrea@archlinux.org>
-# Contributor: Douglas Soares de Andrade <dsa@aur.archlinux.org>
-
-pkgbase=qscintilla
-pkgname=('qscintilla' 'python2-qscintilla')
-pkgver=2.5.1
-pkgrel=3
-license=('GPL')
-arch=('i686' 'x86_64')
-url="http://www.riverbankcomputing.co.uk/software/qscintilla/intro"
-makedepends=('python2-pyqt')
-source=("http://riverbankcomputing.com/static/Downloads/QScintilla2/QScintilla-gpl-${pkgver}.tar.gz"
- 'configure.py-objdir-support.diff')
-md5sums=('dd7edef5ff674d307057a3c12dbd8fce'
- '8cf9c06252e2f11ab00e62848e322fd3')
-
-
-build() {
- cd "${srcdir}/QScintilla-gpl-${pkgver}"
- patch -Np1 -i "${srcdir}/configure.py-objdir-support.diff"
-
- cd Qt4
- qmake qscintilla.pro
- make
-
- cd ../designer-Qt4
- qmake designer.pro INCLUDEPATH+=../Qt4 QMAKE_LIBDIR+=../Qt4
- make
-
- cd ../
- cp -rf Python Python2
- cd Python
- python configure.py -n ../Qt4/ -o ../Qt4 -c -p 4
- make
-
- cd ../Python2
- python2 configure.py -n ../Qt4/ -o ../Qt4 -c -p 4
- make
-}
-
-package_qscintilla() {
- pkgdesc="A port to Qt4 of Neil Hodgson's Scintilla C++ editor class"
- depends=('qt')
-
- cd "${srcdir}/QScintilla-gpl-${pkgver}/Qt4"
- make DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" install
-
- cd "${srcdir}/QScintilla-gpl-${pkgver}/designer-Qt4"
- make DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" install
-}
-
-package_python2-qscintilla() {
- pkgdesc="Python 2 bindings for QScintilla2"
- depends=('pyqt' 'qscintilla')
-
- cd "${srcdir}/QScintilla-gpl-${pkgver}/Python2"
- make DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" install
-}
diff --git a/abs/extra/qscintilla/configure.py-objdir-support.diff b/abs/extra/qscintilla/configure.py-objdir-support.diff
deleted file mode 100644
index b595de1..0000000
--- a/abs/extra/qscintilla/configure.py-objdir-support.diff
+++ /dev/null
@@ -1,39 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 02_configure.dpatch by Torsten Marek <shlomme@debian.org>
-##
-## DP: patch the configure script for the Python bindings to support object dir builds
-
-@DPATCH@
-Index: qscintilla2-2.4.2/Python/configure.py
-===================================================================
---- qscintilla2-2.4.2.orig/Python/configure.py 2010-01-20 20:56:09.000000000 +0100
-+++ qscintilla2-2.4.2/Python/configure.py 2010-01-27 22:54:35.603870417 +0100
-@@ -33,6 +33,7 @@
- import glob
- import optparse
-
-+src_dir = os.path.dirname(os.path.abspath(__file__))
-
- # Import SIP's configuration module so that we have access to the error
- # reporting. Then try and import the configuration modules for both PyQt3 and
-@@ -162,7 +163,7 @@
- if os.access(sciglobal, os.F_OK):
- # Get the QScintilla version string.
- _, sciversstr = sipconfig.read_version(sciglobal, "QScintilla", "QSCINTILLA_VERSION", "QSCINTILLA_VERSION_STR")
--
-+ return # Debian: do not check for the installed version, we're good this way.
- if glob.glob(os.path.join(opts.qscilibdir, "*qscintilla2*")):
- # Because we include the Python bindings with the C++ code we can
- # reasonably force the same version to be used and not bother about
-@@ -232,9 +233,9 @@
- argv.append(buildfile)
-
- if pyqt.pyqt_version >= 0x040000:
-- argv.append("sip/qscimod4.sip")
-+ argv.append(os.path.join(src_dir, "sip/qscimod4.sip"))
- else:
-- argv.append("sip/qscimod3.sip")
-+ argv.append(os.path.join(src_dir, "sip/qscimod3.sip"))
-
- os.system(" ".join(argv))
-
diff --git a/abs/extra/quilt/PKGBUILD b/abs/extra/quilt/PKGBUILD
deleted file mode 100644
index 1775294..0000000
--- a/abs/extra/quilt/PKGBUILD
+++ /dev/null
@@ -1,20 +0,0 @@
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-# Contributor: dibblethewrecker <dibblethewrecker.at.jiwe.org>
-
-pkgname=quilt
-pkgver=0.48
-pkgrel=3
-pkgdesc="Manage a series of patches by keeping track of the changes each patch makes."
-arch=('i686' 'x86_64')
-url="http://savannah.nongnu.org/projects/quilt"
-license=('GPL')
-depends=('perl' 'diffstat' 'gawk' 'patch' 'diffutils' 'gettext')
-source=(http://savannah.nongnu.org/download/quilt/${pkgname}-${pkgver}.tar.gz)
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- ./configure --prefix=/usr --mandir=/usr/share/man || return 1
- make || return 1
- make prefix=${pkgdir}/usr mandir=${pkgdir}/usr/share/man install || return 1
-}
-md5sums=('f77adda60039ffa753f3c584a286f12b')
diff --git a/abs/extra/read-edid/PKGBUILD b/abs/extra/read-edid/PKGBUILD
deleted file mode 100644
index 6e6b0b3..0000000
--- a/abs/extra/read-edid/PKGBUILD
+++ /dev/null
@@ -1,20 +0,0 @@
-# Contributor: Mateusz Herych <heniekk@gmail.com>
-
-pkgname=read-edid
-pkgver=2.0.0
-pkgrel=2
-pkgdesc="Program that can get information from a pnp monitor"
-arch=('i686' 'x86_64')
-url="http://www.polypux.org/projects/read-edid/"
-license=('GPL')
-depends=('libx86')
-source=(http://www.polypux.org/projects/read-edid/read-edid-$pkgver.tar.gz)
-md5sums=('586e7fa1167773b27f4e505edc93274b')
-
-build() {
- cd $startdir/src/$pkgname-$pkgver
- ./configure --prefix=/usr
- make || return 1
- make DESTDIR=$startdir/pkg install || return 1
-
-}
diff --git a/abs/extra/rrd_stats/PKGBUILD b/abs/extra/rrd_stats/PKGBUILD
deleted file mode 100644
index b000185..0000000
--- a/abs/extra/rrd_stats/PKGBUILD
+++ /dev/null
@@ -1,31 +0,0 @@
-pkgname=rrd_stats
-pkgver=1
-pkgrel=20
-pkgdesc="graph system stats"
-arch=('i686' 'x86_64')
-url=""
-license=('GPL')
-source=(rrd_stats.tgz)
-depends=('hddtemp' 'sysstat' 'xmbmon' 'rrdtool' 'perl' 'local-website')
-backup=('etc/rrdsettings.cfg' 'data/srv/httpd/htdocs/index-rrd.html'
- 'data/srv/httpd/htdocs/cgi-bin/rrd.cgi' 'usr/bin/rrd_python.py')
-install=rrd_stats.install
-
-build() {
-
- /bin/true
-
-}
-
-package() {
-
- cd ${srcdir}/${pkgname}
- cp -a * ${pkgdir}/
- install -d ${pkgdir}/var/lib/rrd
- echo "RRD files are used by rrd_stats" > ${pkgdir}/var/lib/rrd/README
- mv ${pkgdir}/data/srv/httpd/htdocs/rrd/index.html ${pkgdir}/data/srv/httpd/htdocs/rrd/index-rrd.html
- chown -R http:users ${pkgdir}/data/srv/httpd
- chmod -R 755 ${pkgdir}/data/srv/httpd
-
-}
-md5sums=('1be3b8b684853908aab62aa5130ae30f')
diff --git a/abs/extra/rrd_stats/rrd_stats.install b/abs/extra/rrd_stats/rrd_stats.install
deleted file mode 100644
index 126e4f0..0000000
--- a/abs/extra/rrd_stats/rrd_stats.install
+++ /dev/null
@@ -1,34 +0,0 @@
-post_install() {
- PFIX="/data/srv/httpd/htdocs/rrd"
- if [ ! -e $PFIX/index.html.orig ]
- then
- mv $PFIX/index.html $PFIX/index.html.orig
- ln -s $PFIX/index-rrd.html $PFIX/index.html
- fi
-
- ct=`crontab -l`
- echo $ct | grep -q run_rrd.sh
- if [ $? != 0 ]
- then
- line="*/5 * * * * /usr/bin/run_rrd.sh > /dev/null"
- (crontab -l; echo "$line") | crontab -
- fi
-
-
-}
-
-post_upgrade() {
- post_install $1
-}
-
-
-pre_remove() {
- crontab -l | grep -v run_rrd | crontab -
- PFIX="/data/srv/httpd/htdocs/rrd"
- if [ -e $PFIX/index.html.orig ]
- then
- rm $PFIX/index.html
- mv $PFIX/index.html.orig $PFIX/index.html
- fi
-
-}
diff --git a/abs/extra/rrd_stats/rrd_stats.tgz b/abs/extra/rrd_stats/rrd_stats.tgz
deleted file mode 100644
index 7dde039..0000000
--- a/abs/extra/rrd_stats/rrd_stats.tgz
+++ /dev/null
Binary files differ
diff --git a/abs/extra/rrd_stats/run_rrd.sh b/abs/extra/rrd_stats/run_rrd.sh
deleted file mode 100644
index 19150a4..0000000
--- a/abs/extra/rrd_stats/run_rrd.sh
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-RRD='hddtemp disk traffic mem cpu usage ups'
-DIR='/usr/bin'
-#
-for x in $RRD
-do
- $DIR/rrd_${x}.pl >& /dev/null
-done
diff --git a/abs/extra/sample-media/PKGBUILD b/abs/extra/sample-media/PKGBUILD
deleted file mode 100644
index 9851899..0000000
--- a/abs/extra/sample-media/PKGBUILD
+++ /dev/null
@@ -1,37 +0,0 @@
-pkgname=sample-media
-pkgver=1
-pkgrel=5
-pkgdesc="sample media for testing"
-url=""
-license="public domain"
-depends=(media_dirs)
-makedepends=()
-conflicts=()
-replaces=()
-backup=()
-install=sample.install
-provides=("")
-source=()
-md5sums=()
-arch=('i686')
-
-build() {
-cd $startdir/src/
-mkdir -p myth/music
-mkdir -p myth/gallery
-mkdir -p myth/video
-mkdir -p myth/games/snes/roms
-
-
-cp -rp $startdir/audio/* myth/music
-cp -rp $startdir/images/* myth/gallery
-cp -rp $startdir/video/* myth/video
-cp -rp $startdir/rom/* myth/games/snes/roms
-
-cd myth
-chown -R mythtv media
-chmod -R 777 media
-cd $startdir/src
-cp -rp myth $startdir/pkg/
-
-}
diff --git a/abs/extra/sample-media/audio/05-Hush.mp3 b/abs/extra/sample-media/audio/05-Hush.mp3
deleted file mode 100644
index e335abb..0000000
--- a/abs/extra/sample-media/audio/05-Hush.mp3
+++ /dev/null
Binary files differ
diff --git a/abs/extra/sample-media/images/115_1573.jpg b/abs/extra/sample-media/images/115_1573.jpg
deleted file mode 100644
index f626325..0000000
--- a/abs/extra/sample-media/images/115_1573.jpg
+++ /dev/null
Binary files differ
diff --git a/abs/extra/sample-media/images/345-1217206791B81W.jpg b/abs/extra/sample-media/images/345-1217206791B81W.jpg
deleted file mode 100644
index 646ae95..0000000
--- a/abs/extra/sample-media/images/345-1217206791B81W.jpg
+++ /dev/null
Binary files differ
diff --git a/abs/extra/sample-media/images/classic-menugraph.png b/abs/extra/sample-media/images/classic-menugraph.png
deleted file mode 100644
index bedbd93..0000000
--- a/abs/extra/sample-media/images/classic-menugraph.png
+++ /dev/null
Binary files differ
diff --git a/abs/extra/sample-media/images/dvr_menugraph.png b/abs/extra/sample-media/images/dvr_menugraph.png
deleted file mode 100644
index 712ab36..0000000
--- a/abs/extra/sample-media/images/dvr_menugraph.png
+++ /dev/null
Binary files differ
diff --git a/abs/extra/sample-media/images/menu_diagram_color.png b/abs/extra/sample-media/images/menu_diagram_color.png
deleted file mode 100644
index d364d94..0000000
--- a/abs/extra/sample-media/images/menu_diagram_color.png
+++ /dev/null
Binary files differ
diff --git a/abs/extra/sample-media/rom/PACMAN.SMC b/abs/extra/sample-media/rom/PACMAN.SMC
deleted file mode 100644
index 7a1f403..0000000
--- a/abs/extra/sample-media/rom/PACMAN.SMC
+++ /dev/null
Binary files differ
diff --git a/abs/extra/sample-media/sample.install b/abs/extra/sample-media/sample.install
deleted file mode 100644
index 123d060..0000000
--- a/abs/extra/sample-media/sample.install
+++ /dev/null
@@ -1,41 +0,0 @@
-# This is a default template for a post-install scriptlet. You can
-# remove any functions you don't need (and this header).
-
-# arg 1: the new package version
-pre_install() {
- /bin/true
-}
-
-# arg 1: the new package version
-post_install() {
- cd /
- chown -R mythtv:users /myth
-
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-pre_upgrade() {
- /bin/true
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-post_upgrade() {
- depmod -A
- /bin/true
-}
-
-# arg 1: the old package version
-pre_remove() {
- /bin/true
-}
-
-# arg 1: the old package version
-post_remove() {
- /bin/true
-}
-
-op=$1
-shift
-$op $*
diff --git a/abs/extra/sample-media/video/TripThe1939.mpeg b/abs/extra/sample-media/video/TripThe1939.mpeg
deleted file mode 100644
index 84f9ba3..0000000
--- a/abs/extra/sample-media/video/TripThe1939.mpeg
+++ /dev/null
Binary files differ
diff --git a/abs/extra/sane/PKGBUILD b/abs/extra/sane/PKGBUILD
deleted file mode 100644
index 951a64b..0000000
--- a/abs/extra/sane/PKGBUILD
+++ /dev/null
@@ -1,72 +0,0 @@
-# $Id: PKGBUILD 162163 2012-06-22 12:59:38Z dreisner $
-# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
-# Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
-# Contributor: Simo L. <neotuli@yahoo.com>
-# Contributor: eric <eric@archlinux.org>
-
-pkgname=sane
-pkgver=1.0.22
-pkgrel=9
-pkgdesc="Scanner Access Now Easy"
-url="http://www.sane-project.org/"
-arch=('i686' 'x86_64')
-license=('GPL')
-depends=('libtiff>=4.0.0' 'libgphoto2>=2.4.7-2' 'libjpeg>=8' 'libusb-compat' 'libieee1284' 'v4l-utils' 'avahi' 'bash' 'net-snmp')
-makedepends=('texlive-latexextra')
-install=$pkgname.install
-backup=(etc/sane.d/{abaton.conf,agfafocus.conf,apple.conf,artec.conf,artec_eplus48u.conf,avision.conf,bh.conf,canon.conf,canon630u.conf,canon_dr.conf,canon_pp.conf,cardscan.conf,coolscan2.conf,coolscan3.conf,coolscan.conf,dc25.conf,dc210.conf,dc240.conf,dell1600n_net.conf,dll.conf,dmc.conf,epjitsu.conf,epson.conf,epson2.conf,fujitsu.conf,genesys.conf,gphoto2.conf,gt68xx.conf,hp.conf,hp3900.conf,hp4200.conf,hp5400.conf,hpsj5s.conf,hs2p.conf,ibm.conf,kodak.conf,leo.conf,lexmark.conf,ma1509.conf,magicolor.conf,matsushita.conf,microtek.conf,microtek2.conf,mustek.conf,mustek_pp.conf,mustek_usb.conf,mustek_usb2.conf,nec.conf,net.conf,p5.conf,pie.conf,pixma.conf,plustek.conf,plustek_pp.conf,qcam.conf,ricoh.conf,rts8891.conf,s9036.conf,saned.conf,sceptre.conf,sharp.conf,sm3840.conf,snapscan.conf,sp15c.conf,st400.conf,stv680.conf,tamarack.conf,teco1.conf,teco2.conf,teco3.conf,test.conf,u12.conf,umax.conf,umax1220u.conf,umax_pp.conf,xerox_mfp.conf,v4l.conf} etc/xinetd.d/sane)
-source=(ftp://ftp2.sane-project.org/pub/sane/$pkgname-backends-$pkgver/$pkgname-backends-$pkgver.tar.gz
- 'sane.xinetd'
- 'libv4l-0.8.3.patch'
- 'xerox_mfp_fix_usb_devices.patch'
- 'saned.socket'
- 'saned.service')
-options=(!libtool)
-md5sums=('fadf56a60f4776bfb24491f66b617cf5'
- 'da946cc36fb83612162cf9505986d4b2'
- 'e645a8921cff9f18ffbdabb2ed885060'
- 'cfef73e7db7c28308914d3db6767d852'
- 'e57e9e15528f47f5f1b3f1411135ed5d'
- 'e44bd4c994a52d6f472463d1eb0a03be')
-
-build() {
- cd "${srcdir}/${pkgname}-backends-${pkgver}"
-
- patch -p1 -i "${srcdir}"/libv4l-0.8.3.patch
- # fix https://bugs.archlinux.org/task/26114
- patch -Np1 -i "${srcdir}"/xerox_mfp_fix_usb_devices.patch
-
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --with-docdir=/usr/share/doc/sane \
- --enable-avahi \
- --enable-pthread \
- --disable-rpath \
- --disable-locking
- make
-}
-
-package () {
- cd "${srcdir}/${pkgname}-backends-${pkgver}"
- make DESTDIR="${pkgdir}" install
- # fix hp officejets
- echo "#hpaio" >> "${pkgdir}/etc/sane.d/dll.conf"
- # install udev files
- install -D -m0644 tools/udev/libsane.rules \
- "${pkgdir}/usr/lib/udev/rules.d/53-sane.rules"
- # fix udev rules
- sed -i 's|NAME="%k", ||g' "${pkgdir}/usr/lib/udev/rules.d/53-sane.rules"
-
- # install xinetd file
- install -D -m644 "${srcdir}/sane.xinetd" "${pkgdir}/etc/xinetd.d/sane"
-
- # Install the pkg-config file
- install -D -m644 tools/sane-backends.pc \
- "${pkgdir}/usr/lib/pkgconfig/sane-backends.pc"
- # install systemd files
- install -D -m644 ${srcdir}/saned.socket \
- "${pkgdir}/usr/lib/systemd/system/saned.socket"
- install -D -m644 ${srcdir}/saned.service \
- "${pkgdir}/usr/lib/systemd/system/saned@.service"
-}
diff --git a/abs/extra/sane/libv4l-0.8.3.patch b/abs/extra/sane/libv4l-0.8.3.patch
deleted file mode 100644
index 4e240e0..0000000
--- a/abs/extra/sane/libv4l-0.8.3.patch
+++ /dev/null
@@ -1,64 +0,0 @@
-From 26c69b228b29f612faf4b0cc85db969ee7cc4ea6 Mon Sep 17 00:00:00 2001
-From: Nils Philippsen <nils@redhat.com>
-Date: Mon, 14 Mar 2011 13:35:05 +0100
-Subject: [PATCH] patch: v4l
-
-Squashed commit of the following:
-
-commit 23381932c76846191b42a48e505b37cd74711265
-Author: Julien BLACHE <jb@jblache.org>
-Date: Wed Feb 16 19:37:43 2011 +0100
-
- Fix v4l build with libv4l 0.8.3+
-
- (cherry picked from commit c5ca46c2d1be78c651afb843cc834cf2b5b24953)
-
- Conflicts:
-
- ChangeLog
-
- Signed-off-by: Nils Philippsen <nils@redhat.com>
----
- backend/v4l.c | 3 +--
- backend/v4l.h | 3 ++-
- 2 files changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/backend/v4l.c b/backend/v4l.c
-index 6510ef0..38595ed 100644
---- a/backend/v4l.c
-+++ b/backend/v4l.c
-@@ -84,9 +84,8 @@
- #include "../include/sane/sanei_config.h"
- #define V4L_CONFIG_FILE "v4l.conf"
-
--#include "v4l.h"
--
- #include <libv4l1.h>
-+#include "v4l.h"
-
- static const SANE_Device **devlist = NULL;
- static int num_devices;
-diff --git a/backend/v4l.h b/backend/v4l.h
-index 588b96e..6aee586 100644
---- a/backend/v4l.h
-+++ b/backend/v4l.h
-@@ -29,6 +29,7 @@
- #ifndef v4l_h
- #define v4l_h
-
-+#ifndef __LINUX_VIDEODEV_H
- /* Kernel interface */
- /* Only the stuff we need. For more features, more defines are needed */
-
-@@ -165,7 +166,7 @@ struct video_channel
-
-
- /* end of kernel interface */
--
-+#endif /* !__LINUX_VIDEODEV_H */
-
- #include <../include/sane/sane.h>
-
---
-1.7.4
-
diff --git a/abs/extra/sane/sane.install b/abs/extra/sane/sane.install
deleted file mode 100644
index 5ec361e..0000000
--- a/abs/extra/sane/sane.install
+++ /dev/null
@@ -1,7 +0,0 @@
-post_install() {
- /bin/cat <<THEEND
-NOTE
-----
-Add your user to group 'scanner' to use scanner devices.
-THEEND
-}
diff --git a/abs/extra/sane/sane.xinetd b/abs/extra/sane/sane.xinetd
deleted file mode 100644
index b035664..0000000
--- a/abs/extra/sane/sane.xinetd
+++ /dev/null
@@ -1,11 +0,0 @@
-service sane-port
-{
- port = 6566
- socket_type = stream
- wait = no
- user = root
- group = scanner
- server = /usr/sbin/saned
- # disabled by default!
- disable = yes
- }
diff --git a/abs/extra/sane/saned.service b/abs/extra/sane/saned.service
deleted file mode 100644
index 69e833e..0000000
--- a/abs/extra/sane/saned.service
+++ /dev/null
@@ -1,8 +0,0 @@
-[Unit]
-Description=Scanner Service
-
-[Service]
-Group=scanner
-ExecStart=/usr/sbin/saned
-StandardInput=socket
-StandardError=syslog
diff --git a/abs/extra/sane/saned.socket b/abs/extra/sane/saned.socket
deleted file mode 100644
index 66ef9c9..0000000
--- a/abs/extra/sane/saned.socket
+++ /dev/null
@@ -1,9 +0,0 @@
-[Unit]
-Description=saned incoming socket
-
-[Socket]
-ListenStream=6566
-Accept=yes
-
-[Install]
-WantedBy=sockets.target
diff --git a/abs/extra/sane/xerox_mfp_fix_usb_devices.patch b/abs/extra/sane/xerox_mfp_fix_usb_devices.patch
deleted file mode 100644
index 5ed29b9..0000000
--- a/abs/extra/sane/xerox_mfp_fix_usb_devices.patch
+++ /dev/null
@@ -1,67 +0,0 @@
-commit 5ea227caeacd504b64eef301e83fa63e0a25b3f7
-Author: Alex Belkin <abc@telekom.ru>
-Date: Tue Mar 8 17:57:19 2011 +0300
-
- keep usb device by default (correct for bug introduced by tcp sub-backend
-
-diff --git a/backend/xerox_mfp.c b/backend/xerox_mfp.c
-index e08b50f..d4672a7 100644
---- a/backend/xerox_mfp.c
-+++ b/backend/xerox_mfp.c
-@@ -37,10 +37,10 @@
- static const SANE_Device **devlist = NULL; /* sane_get_devices array */
- static struct device *devices_head = NULL; /* sane_get_devices list */
-
--transport available_transports[] = {
-+enum { TRANSPORT_USB, TRANSPORT_TCP, TRANSPORTS_MAX };
-+transport available_transports[TRANSPORTS_MAX] = {
- { "usb", usb_dev_request, usb_dev_open, usb_dev_close, usb_configure_device },
- { "tcp", tcp_dev_request, tcp_dev_open, tcp_dev_close, tcp_configure_device },
-- { 0 }
- };
-
- static int resolv_state(int state)
-@@ -824,7 +824,13 @@ free_devices (void)
- devices_head = NULL;
- }
-
--/* SANE API ignores return code of this callback */
-+static transport *tr_from_devname(SANE_String_Const devname)
-+{
-+ if (strncmp("tcp", devname, 3) == 0)
-+ return &available_transports[TRANSPORT_TCP];
-+ return &available_transports[TRANSPORT_USB];
-+}
-+
- static SANE_Status
- list_one_device (SANE_String_Const devname)
- {
-@@ -839,12 +845,7 @@ list_one_device (SANE_String_Const devname)
- return SANE_STATUS_GOOD;
- }
-
-- for (tr = available_transports; tr->ttype; tr++) {
-- if (!strncmp (devname, tr->ttype, strlen(tr->ttype)))
-- break;
-- }
-- if (!tr->ttype)
-- return SANE_STATUS_INVAL;
-+ tr = tr_from_devname(devname);
-
- dev = calloc (1, sizeof (struct device));
- if (dev == NULL)
-@@ -878,13 +879,7 @@ list_one_device (SANE_String_Const devname)
- static SANE_Status
- list_conf_devices (UNUSED (SANEI_Config * config), const char *devname)
- {
-- transport *tr;
--
-- for (tr = available_transports; tr->ttype; tr++) {
-- if (!strncmp (devname, tr->ttype, strlen(tr->ttype)))
-- return tr->configure_device(devname, list_one_device);
-- }
-- return SANE_STATUS_INVAL;
-+ return tr_from_devname(devname)->configure_device(devname, list_one_device);
- }
-
- SANE_Status
diff --git a/abs/extra/sdl_perl/PKGBUILD b/abs/extra/sdl_perl/PKGBUILD
deleted file mode 100644
index 82552e8..0000000
--- a/abs/extra/sdl_perl/PKGBUILD
+++ /dev/null
@@ -1,27 +0,0 @@
-# $Id: PKGBUILD 85950 2010-07-22 19:09:33Z kevin $
-# Maintainer: Allan McRae <allan@archlinux.org>
-# Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
-
-pkgname=sdl_perl
-_realname=SDL_Perl
-pkgver=2.2.6
-pkgrel=4
-pkgdesc="A Perl wrapper for SDL"
-arch=('i686' 'x86_64')
-license=('LGPL')
-url="http://sdl.perl.org"
-depends=('perl>=5.10.1' 'sdl_net' 'sdl_ttf' 'sdl_image>=1.2.8' 'sdl_mixer>=1.2.10'
- 'mesa' 'sdl_gfx>=2.0.20' 'smpeg')
-makedepends=('perl-yaml')
-options=(!emptydirs)
-source=(http://search.cpan.org/CPAN/authors/id/K/KT/KTHAKORE/${_realname}-v${pkgver}.tar.gz)
-md5sums=('445950ca7b9991f34ec792bbac8386b6')
-
-build() {
- cd "${srcdir}/${_realname}-v${pkgver}"
- # install module in vendor directories
- perl Build.PL installdirs=vendor destdir="${pkgdir}" \
- --config man1ext=1p --config man3ext=3pm || return 1
- perl Build || return 1
- perl Build install || return 1
-}
diff --git a/abs/extra/sdl_sound/PKGBUILD b/abs/extra/sdl_sound/PKGBUILD
deleted file mode 100644
index cf47cae..0000000
--- a/abs/extra/sdl_sound/PKGBUILD
+++ /dev/null
@@ -1,29 +0,0 @@
-# $Id: PKGBUILD 22259 2008-12-24 15:26:14Z allan $
-# Maintainer: Allan McRae <allan@archlinux.org>
-# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
-
-pkgname=sdl_sound
-pkgver=1.0.3
-pkgrel=2
-pkgdesc="A library to decode several popular sound file formats, such as .WAV and .MP3"
-arch=('i686' 'x86_64')
-url="http://icculus.org/SDL_sound/"
-license=('LGPL')
-depends=('sdl' 'libmikmod' 'libvorbis' 'flac' 'speex' 'smpeg')
-options=('!libtool')
-source=(http://icculus.org/SDL_sound/downloads/SDL_sound-$pkgver.tar.gz
- flac.patch)
-md5sums=('aa09cd52df85d29bee87a664424c94b5'
- '302aa9dc94cc71dd3339ca3177d36e1c')
-
-build() {
- cd ${srcdir}/SDL_sound-${pkgver}
-
- CFLAGS="$CFLAGS -I/usr/include/smpeg" \
- CXXFLAGS="$CXXFLAGS -I/usr/include/smpeg" \
- ./configure --prefix=/usr
-
- make || return 1
- make DESTDIR=${pkgdir} install
-}
-
diff --git a/abs/extra/sdl_sound/flac.patch b/abs/extra/sdl_sound/flac.patch
deleted file mode 100644
index d0ed491..0000000
--- a/abs/extra/sdl_sound/flac.patch
+++ /dev/null
@@ -1,126 +0,0 @@
-diff -u -r SDL_sound-1.0.1/configure.in SDL_sound-1.0.1-flac/configure.in
---- SDL_sound-1.0.1/configure.in 2003-10-12 20:49:54.000000000 +0200
-+++ SDL_sound-1.0.1-flac/configure.in 2006-12-11 20:43:46.546583251 +0100
-@@ -155,9 +155,12 @@
- dnl FLAC developers tend to break their API with every release, so we're
- dnl checking for the latest-and-greatest here so we don't have to support
- dnl obsolete versions.
-+dnl Starting with FLAC 1.1.3:
-+dnl libFLAC supports Ogg FLAC (no more libOggFLAC) so we also need -logg
-+dnl the libFLAC .so version is also #defined in FLAC/export.h
-
- dnl Hooray for shitty autoconf bugs!
--x="C__seekable_stream_decoder_process_single"
-+x="C__stream_decoder_process_single"
- flcsym="FLA$x"
- dnl Check for libFLAC
- AC_ARG_ENABLE(flac,
-@@ -167,7 +170,7 @@
- AC_CHECK_HEADER(FLAC/stream_decoder.h, have_flac_hdr=yes)
- AC_CHECK_LIB(FLAC, $flcsym, have_flac_lib=yes)
- if test x$have_flac_hdr = xyes -a x$have_flac_lib = xyes; then
-- LIBS="$LIBS -lFLAC"
-+ LIBS="$LIBS -lFLAC -logg"
- AC_DEFINE(SOUND_SUPPORTS_FLAC)
- fi
- fi
-diff -u -r SDL_sound-1.0.1/decoders/flac.c SDL_sound-1.0.1-flac/decoders/flac.c
---- SDL_sound-1.0.1/decoders/flac.c 2003-03-10 23:44:14.000000000 +0100
-+++ SDL_sound-1.0.1-flac/decoders/flac.c 2006-12-11 20:43:57.880097062 +0100
-@@ -44,6 +44,16 @@
- #define __SDL_SOUND_INTERNAL__
- #include "SDL_sound_internal.h"
-
-+#include <FLAC/export.h>
-+
-+/* FLAC 1.1.3 has FLAC_API_VERSION_CURRENT == 8 */
-+#if !defined(FLAC_API_VERSION_CURRENT) || FLAC_API_VERSION_CURRENT < 8
-+#define LEGACY_FLAC
-+#else
-+#undef LEGACY_FLAC
-+#endif
-+
-+#ifdef LEGACY_FLAC
- #include <FLAC/seekable_stream_decoder.h>
-
- #define D_END_OF_STREAM FLAC__SEEKABLE_STREAM_DECODER_END_OF_STREAM
-@@ -80,6 +90,34 @@
- typedef FLAC__SeekableStreamDecoderSeekStatus d_seek_status_t;
- typedef FLAC__SeekableStreamDecoderTellStatus d_tell_status_t;
- typedef FLAC__SeekableStreamDecoderLengthStatus d_length_status_t;
-+#else
-+#include <FLAC/stream_decoder.h>
-+
-+#define D_END_OF_STREAM FLAC__STREAM_DECODER_END_OF_STREAM
-+
-+#define d_new() FLAC__stream_decoder_new()
-+#define d_process_metadata(x) FLAC__stream_decoder_process_until_end_of_metadata(x)
-+#define d_process_one_frame(x) FLAC__stream_decoder_process_single(x)
-+#define d_get_state(x) FLAC__stream_decoder_get_state(x)
-+#define d_finish(x) FLAC__stream_decoder_finish(x)
-+#define d_delete(x) FLAC__stream_decoder_delete(x)
-+
-+typedef FLAC__StreamDecoder decoder_t;
-+typedef FLAC__StreamDecoderReadStatus d_read_status_t;
-+
-+#define D_SEEK_STATUS_OK FLAC__STREAM_DECODER_SEEK_STATUS_OK
-+#define D_SEEK_STATUS_ERROR FLAC__STREAM_DECODER_SEEK_STATUS_ERROR
-+#define D_TELL_STATUS_OK FLAC__STREAM_DECODER_TELL_STATUS_OK
-+#define D_TELL_STATUS_ERROR FLAC__STREAM_DECODER_TELL_STATUS_ERROR
-+#define D_LENGTH_STATUS_OK FLAC__STREAM_DECODER_LENGTH_STATUS_OK
-+#define D_LENGTH_STATUS_ERROR FLAC__STREAM_DECODER_LENGTH_STATUS_ERROR
-+
-+#define d_seek_absolute(x, y) FLAC__stream_decoder_seek_absolute(x, y)
-+
-+typedef FLAC__StreamDecoderSeekStatus d_seek_status_t;
-+typedef FLAC__StreamDecoderTellStatus d_tell_status_t;
-+typedef FLAC__StreamDecoderLengthStatus d_length_status_t;
-+#endif
-
- #define D_WRITE_CONTINUE FLAC__STREAM_DECODER_WRITE_STATUS_CONTINUE
- #define D_READ_END_OF_STREAM FLAC__STREAM_DECODER_READ_STATUS_END_OF_STREAM
-@@ -141,9 +179,15 @@
- } /* free_flac */
-
-
-+#ifdef LEGACY_FLAC
- static d_read_status_t read_callback(
- const decoder_t *decoder, FLAC__byte buffer[],
- unsigned int *bytes, void *client_data)
-+#else
-+static d_read_status_t read_callback(
-+ const decoder_t *decoder, FLAC__byte buffer[],
-+ size_t *bytes, void *client_data)
-+#endif
- {
- flac_t *f = (flac_t *) client_data;
- Uint32 retval;
-@@ -400,6 +444,7 @@
- BAIL_MACRO(ERR_OUT_OF_MEMORY, 0);
- } /* if */
-
-+#ifdef LEGACY_FLAC
- d_set_read_callback(decoder, read_callback);
- d_set_write_callback(decoder, write_callback);
- d_set_metadata_callback(decoder, metadata_callback);
-@@ -410,6 +455,7 @@
- d_set_eof_callback(decoder, eof_callback);
-
- d_set_client_data(decoder, f);
-+#endif
-
- f->rw = internal->rw;
- f->sample = sample;
-@@ -418,7 +464,12 @@
- f->is_flac = 0 /* !!! FIXME: should be "has_extension", not "0". */;
-
- internal->decoder_private = f;
-+ /* really should check the init return value here: */
-+#ifdef LEGACY_FLAC
- d_init(decoder);
-+#else
-+ FLAC__stream_decoder_init_stream(decoder, read_callback, seek_callback, tell_callback, length_callback, eof_callback, write_callback, metadata_callback, error_callback, f);
-+#endif
-
- sample->flags = SOUND_SAMPLEFLAG_NONE;
-
diff --git a/abs/extra/sdlmame/ChangeLog b/abs/extra/sdlmame/ChangeLog
deleted file mode 100644
index 872c595..0000000
--- a/abs/extra/sdlmame/ChangeLog
+++ /dev/null
@@ -1,5 +0,0 @@
-2008-02-13 JJDaNiMoTh <jjdanimoth.aur@gmail.com>
- * 0.123 version
-
-2008-01-22 JJDaNiMoTh <jjdanimoth.aur@gmail.com>
- * 0.122u6 version
diff --git a/abs/extra/sdlmame/PKGBUILD b/abs/extra/sdlmame/PKGBUILD
deleted file mode 100644
index 7e1aabc..0000000
--- a/abs/extra/sdlmame/PKGBUILD
+++ /dev/null
@@ -1,102 +0,0 @@
-# $Id: PKGBUILD 50675 2011-06-29 12:53:08Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: robb_force <robb_force@holybuffalo.net>
-# Maintainer: JJDaNiMoTh <jjdanimoth@gmail.com>
-
-_patchlevel=0
-_basever=0.143
-
-pkgname=sdlmame
-if [ ${_patchlevel} -ne 0 ]; then
- pkgver=${_basever}u${_patchlevel}
-else
- pkgver=${_basever}
-fi
-pkgrel=2
-pkgdesc="A port of the popular Multiple Arcade Machine Emulator using SDL with OpenGL support."
-url="http://mamedev.org/"
-license=('custom:MAME License')
-arch=('i686' 'x86_64')
-depends=('sdl>=1.2.11' 'libxinerama' 'gconf' 'sdl_ttf' 'gtk2')
-makedepends=('unzip' 'nasm' 'mesa')
-DLAGENTS=('http::/usr/bin/wget -U "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.2) Gecko/20090804 Shiretoko/3.5.2" -c -t 3 --waitretry=3 -O %o %u')
-install=sdlmame.install
-
-for i in `seq 1 ${_patchlevel}`; do
- _patches="${_patches} sdlmame-${_basever/./}u${i}_diff.zip::http://mamedev.org/updates/${_basever/./}u${i}_diff.zip"
-done
-
-source=("mame${_basever/./}s.zip::http://mamedev.org/downloader.php?file=releases/mame${_basever/./}s.zip"
- "sdlmame.sh"
- "extras.tar.gz"
- ${_patches})
-md5sums=('2d95b9d9f79a97a690f62284e4db0e7e'
- '3119ccfa1e970eba4467df31208adaf0'
- '420b61240bf5ae11615ba7c6100ee00d')
-
-build() {
- cd $srcdir/
-
- if [ $NOEXTRACT -eq 0 ]; then
- unzip mame.zip
- find . -type f -not -name \*.png | xargs perl -pi -e 's/\r\n?/\n/g'
- for i in `seq 1 ${_patchlevel}`; do
- patch -p0 -E <${_basever/./}u$i.diff
- done
- sed -i 's/-Werror//' makefile
- sed -i 's/LDFLAGS = -Wl,--warn-common/LDFLAGS = -Wl,--warn-common -Wl,-zmuldefs/' makefile
- fi
-
- # Modify the make options based on the user's architecture
- if [ "$CARCH" == "x86_64" ]; then
- echo "Compiling for AMD64..."
- make AMD64=1 PTR64=1
- make tools AMD64=1 PTR64=1
- elif [ "$CARCH" == "i686" ]; then
- make I686=1
- make tools I686=1
- else
- echo "Compiling for i386..."
- make PM=1
- make tools PM=1
- fi
-
-}
-package() {
- cd $srcdir/
- # Install the sdlmame script
- install -Dm755 $srcdir/${pkgname}.sh $pkgdir/usr/bin/${pkgname}
-
- # Install the applications and the UI font in /usr/share
- install -Dm755 mame $pkgdir/usr/share/${pkgname}/${pkgname} || \
- install -Dm755 mame64 $pkgdir/usr/share/${pkgname}/${pkgname}
-
- install -m755 chdman $pkgdir/usr/share/${pkgname}/chdman
- install -m755 jedutil $pkgdir/usr/share/${pkgname}/jedutil
- install -m755 regrep $pkgdir/usr/share/${pkgname}/regrep
- install -m755 romcmp $pkgdir/usr/share/${pkgname}/romcmp
- install -m755 testkeys $pkgdir/usr/share/${pkgname}/testkeys
- install -m755 src2html $pkgdir/usr/share/${pkgname}/src2html
- install -m755 srcclean $pkgdir/usr/share/${pkgname}/srcclean
- install -m755 ldverify $pkgdir/usr/share/${pkgname}/ldverify
- install -m755 ldresample $pkgdir/usr/share/${pkgname}/ldresample
-
-# install -m755 makemeta $pkgdir/usr/share/${pkgname}/makemeta
-# install -m755 runtest $pkgdir/usr/share/${pkgname}/runtest
-# install -m644 ui.bdf $pkgdir/usr/share/${pkgname}/ui.bdf
-
- # Install the extra bits
- install -d $pkgdir/usr/share/${pkgname}/{artwork,ctrlr,keymaps,shader}
- install -d $pkgdir/usr/share/man/man1
- install -m644 src/osd/sdl/shader/glsl*.*h $pkgdir/usr/share/${pkgname}/shader/
- install -m644 src/osd/sdl/man/* $pkgdir/usr/share/man/man1/
-
- install -m644 $srcdir/artwork/* $pkgdir/usr/share/${pkgname}/artwork/
- install -m644 $srcdir/ctrlr/* $pkgdir/usr/share/${pkgname}/ctrlr/
- install -m644 src/osd/sdl/keymaps/* $pkgdir/usr/share/${pkgname}/keymaps/
-
- # Include the license
- install -Dm644 docs/license.txt $pkgdir/usr/share/licenses/${pkgname}/license.txt
-
- find $pkgdir -type f -exec strip {} \;
-}
diff --git a/abs/extra/sdlmame/extras.tar.gz b/abs/extra/sdlmame/extras.tar.gz
deleted file mode 100644
index ae0bc2a..0000000
--- a/abs/extra/sdlmame/extras.tar.gz
+++ /dev/null
Binary files differ
diff --git a/abs/extra/sdlmame/mame-0137-wiimote.diff b/abs/extra/sdlmame/mame-0137-wiimote.diff
deleted file mode 100644
index 8f29b8e..0000000
--- a/abs/extra/sdlmame/mame-0137-wiimote.diff
+++ /dev/null
@@ -1,424 +0,0 @@
-diff -BNburp mame-org/makefile mame-wiimote/makefile
-diff -BNburp mame-org/src/osd/sdl/input.c mame-wiimote/src/osd/sdl/input.c
---- mame-org/src/osd/sdl/input.c 2010-02-28 04:16:40.000000000 +0100
-+++ mame-wiimote/src/osd/sdl/input.c 2010-05-07 13:53:59.000000000 +0200
-@@ -17,6 +17,12 @@
- #include <ctype.h>
- #include <stddef.h>
-
-+// for xinput
-+#include <X11/Xlib.h>
-+#include <X11/extensions/XInput.h>
-+#include <X11/Xutil.h>
-+
-+
- // MAME headers
- #include "emu.h"
- #include "ui.h"
-@@ -53,6 +59,16 @@ enum
- #define MAX_POV 4
- #define MAX_DEVMAP_ENTRIES 16
-
-+//For xinput
-+#define INVALID_EVENT_TYPE -1
-+static int motion_type = INVALID_EVENT_TYPE;
-+static int button_press_type = INVALID_EVENT_TYPE;
-+static int button_release_type = INVALID_EVENT_TYPE;
-+static int key_press_type = INVALID_EVENT_TYPE;
-+static int key_release_type = INVALID_EVENT_TYPE;
-+static int proximity_in_type = INVALID_EVENT_TYPE;
-+static int proximity_out_type = INVALID_EVENT_TYPE;
-+
- //============================================================
- // MACROS
- //============================================================
-@@ -86,6 +102,16 @@ struct _mouse_state
- INT32 buttons[MAX_BUTTONS];
- };
-
-+// state information for a lightgun
-+typedef struct _lightgun_state lightgun_state;
-+struct _lightgun_state
-+{
-+ INT32 lX, lY;
-+ INT32 buttons[MAX_BUTTONS];
-+ XID deviceid; //Xinput device id
-+ INT32 maxx,maxy;
-+ INT32 minx,miny;
-+};
-
- // state information for a joystick; DirectInput state must be first element
- typedef struct _joystick_state joystick_state;
-@@ -115,6 +141,7 @@ struct _device_info
- keyboard_state keyboard;
- mouse_state mouse;
- joystick_state joystick;
-+ lightgun_state lightgun;
- };
- };
-
-@@ -164,10 +191,13 @@ struct _device_map_t
-
- static device_map_t joy_map;
- static device_map_t mouse_map;
-+static device_map_t lightgun_map;
- static device_map_t keyboard_map;
-
- static int sixaxis_mode;
-
-+Display *XDisplay;
-+
-
- //============================================================
- // PROTOTYPES
-@@ -671,6 +703,244 @@ static device_info *devmap_class_registe
- return devinfo;
- }
-
-+//============================================================
-+// WiiMote lightgun stuff
-+//============================================================
-+
-+//Copypasted from xinfo
-+XDeviceInfo*
-+find_device_info(Display *display,
-+ char *name,
-+ Bool only_extended)
-+{
-+ XDeviceInfo *devices;
-+ XDeviceInfo *found = NULL;
-+ int loop;
-+ int num_devices;
-+ int len = strlen(name);
-+ Bool is_id = True;
-+ XID id=0;
-+
-+ for(loop=0; loop<len; loop++) {
-+ if (!isdigit(name[loop])) {
-+ is_id = False;
-+ break;
-+ }
-+ }
-+
-+ if (is_id) {
-+ id = atoi(name);
-+ }
-+
-+ devices = XListInputDevices(display, &num_devices);
-+
-+ for(loop=0; loop<num_devices; loop++) {
-+ if ((!only_extended || (devices[loop].use >= IsXExtensionDevice)) &&
-+ ((!is_id && strcmp(devices[loop].name, name) == 0) ||
-+ (is_id && devices[loop].id == id))) {
-+ if (found) {
-+ fprintf(stderr,
-+ "Warning: There are multiple devices named \"%s\".\n"
-+ "To ensure the correct one is selected, please use "
-+ "the device ID instead.\n\n", name);
-+ } else {
-+ found = &devices[loop];
-+ }
-+ }
-+ }
-+ return found;
-+}
-+
-+//Copypasted from xinfo
-+static int
-+register_events(Display *dpy,
-+ XDeviceInfo *info,
-+ char *dev_name,
-+ Bool handle_proximity)
-+{
-+ int number = 0; /* number of events registered */
-+ XEventClass event_list[7];
-+ int i;
-+ XDevice *device;
-+ Window root_win;
-+ unsigned long screen;
-+ XInputClassInfo *ip;
-+
-+ screen = DefaultScreen(dpy);
-+ root_win = RootWindow(dpy, screen);
-+
-+ device = XOpenDevice(dpy, info->id);
-+
-+ if (!device) {
-+ fprintf(stderr, "unable to open device %s\n", dev_name);
-+ return 0;
-+ }
-+
-+ if (device->num_classes > 0) {
-+ for (ip = device->classes, i=0; i<info->num_classes; ip++, i++) {
-+ switch (ip->input_class) {
-+ case KeyClass:
-+ DeviceKeyPress(device, key_press_type, event_list[number]); number++;
-+ DeviceKeyRelease(device, key_release_type, event_list[number]); number++;
-+ break;
-+
-+ case ButtonClass:
-+ DeviceButtonPress(device, button_press_type, event_list[number]); number++;
-+ DeviceButtonRelease(device, button_release_type, event_list[number]); number++;
-+ break;
-+
-+ case ValuatorClass:
-+ DeviceMotionNotify(device, motion_type, event_list[number]); number++;
-+ fprintf(stderr, "Motion = %i\n",motion_type);
-+ if (handle_proximity) {
-+ ProximityIn(device, proximity_in_type, event_list[number]); number++;
-+ ProximityOut(device, proximity_out_type, event_list[number]); number++;
-+ }
-+ break;
-+
-+ default:
-+ fprintf(stderr, "unknown class\n");
-+ break;
-+ }
-+ }
-+
-+ if (XSelectExtensionEvent(dpy, root_win, event_list, number)) {
-+ fprintf(stderr, "error selecting extended events\n");
-+ return 0;
-+ }
-+ }
-+ return number;
-+}
-+
-+
-+
-+static void sdlinput_register_lightguns(running_machine *machine)
-+{
-+ int index;
-+ XExtensionVersion *version;
-+
-+ lightgun_enabled = options_get_bool(mame_options(), OPTION_LIGHTGUN);
-+ devmap_init(machine, &lightgun_map, SDLOPTION_LIGHTGUNINDEX, 8, "Lightgun mapping");
-+
-+ XDisplay = XOpenDisplay(NULL);
-+
-+ if (XDisplay == NULL) {
-+ fprintf(stderr, "Unable to connect to X server\n");
-+ return;
-+ }
-+
-+ version = XGetExtensionVersion(XDisplay, INAME);
-+
-+ if (!version || (version == (XExtensionVersion*) NoSuchExtension)) {
-+ fprintf(stderr, "xinput extension not available!\n");
-+ return;
-+ }
-+
-+
-+ for (index=0; index<8; index++) {
-+ XDeviceInfo *info;
-+ if (strlen(lightgun_map.map[index].name)!=0) {
-+ device_info *devinfo;
-+ char *name=lightgun_map.map[index].name;
-+ char defname[512];
-+ devinfo = devmap_class_register(machine, &lightgun_map, index, &lightgun_list, DEVICE_CLASS_LIGHTGUN);
-+ fprintf(stderr, "%i: %s\n",index, name);
-+ info=find_device_info(XDisplay, name, 0);
-+ if (!info) continue;
-+
-+ //Grab device info and translate to stuff mame can use
-+ if (info->num_classes > 0) {
-+ XAnyClassPtr any = (XAnyClassPtr) (info->inputclassinfo);
-+ int i;
-+ for (i=0; i<info->num_classes; i++) {
-+ int button;
-+ XValuatorInfoPtr v;
-+ XAxisInfoPtr a;
-+ int j;
-+ XButtonInfoPtr b;
-+ switch (any->c_class) {
-+ case ButtonClass:
-+ b = (XButtonInfoPtr) any;
-+ for (button = 0; button < b->num_buttons; button++)
-+ {
-+ input_item_id itemid;
-+ sprintf(defname, "B%d", button + 1);
-+ itemid=(input_item_id) (ITEM_ID_BUTTON1+button);
-+ input_device_item_add(devinfo->device, defname, &devinfo->lightgun.buttons[button], itemid, generic_button_get_state);
-+ }
-+ break;
-+ case ValuatorClass:
-+ v = (XValuatorInfoPtr) any;
-+ a = (XAxisInfoPtr) ((char *) v + sizeof (XValuatorInfo));
-+ for (j=0; j<v->num_axes; j++, a++) {
-+ if (j==0) {
-+ devinfo->lightgun.maxx=a->max_value;
-+ devinfo->lightgun.minx=a->min_value;
-+ }
-+ if (j==1) {
-+ devinfo->lightgun.maxy=a->max_value;
-+ devinfo->lightgun.miny=a->min_value;
-+ }
-+ }
-+ break;
-+ }
-+ any = (XAnyClassPtr) ((char *) any + any->length);
-+ }
-+ }
-+
-+
-+ sprintf(defname, "X %s", devinfo->name);
-+ input_device_item_add(devinfo->device, defname, &devinfo->lightgun.lX, ITEM_ID_XAXIS, generic_axis_get_state);
-+ sprintf(defname, "Y %s", devinfo->name);
-+ input_device_item_add(devinfo->device, defname, &devinfo->lightgun.lY, ITEM_ID_YAXIS, generic_axis_get_state);
-+
-+
-+ devinfo->lightgun.deviceid=info->id;
-+ if (!info) {
-+ fprintf(stderr, "Can't find device %s!\n", lightgun_map.map[index].name);
-+ } else {
-+ fprintf(stderr, "Device %i: Registered %i events.\n",(int)info->id, register_events(XDisplay, info, lightgun_map.map[index].name, 0));
-+ }
-+ }
-+ }
-+ mame_printf_verbose("Lightgun: End initialization\n");
-+}
-+
-+device_info *get_lightgun_info_for_deviceid(XID deviceid) {
-+ device_info *devinfo;
-+ int index;
-+ //Find lightgun according to device id
-+ for (index=0; ; index++) {
-+ devinfo = generic_device_find_index(lightgun_list, index);
-+ if (devinfo==NULL) break;
-+ if (devinfo->lightgun.deviceid==deviceid) break;
-+ }
-+ return devinfo;
-+}
-+
-+int normalize_absolute_axis(int raw, int rawmin, int rawmax)
-+{
-+ int center = (rawmax + rawmin) / 2;
-+
-+ // make sure we have valid data
-+ if (rawmin >= rawmax)
-+ return raw;
-+
-+ // above center
-+ if (raw >= center)
-+ {
-+ int result = (long)(raw - center) * (long)INPUT_ABSOLUTE_MAX / (long)(rawmax - center);
-+ return MIN(result, INPUT_ABSOLUTE_MAX);
-+ }
-+
-+ // below center
-+ else
-+ {
-+ int result = -((long)(center - raw) * (long)-INPUT_ABSOLUTE_MIN / (long)(center - rawmin));
-+ return MAX(result, INPUT_ABSOLUTE_MIN);
-+ }
-+}
-+
-
- //============================================================
- // sdlinput_register_joysticks
-@@ -1115,6 +1385,9 @@ void sdlinput_init(running_machine *mach
- // register the mice
- sdlinput_register_mice(machine);
-
-+ // register the lightguns
-+ sdlinput_register_lightguns(machine);
-+
- if (machine->debug_flags & DEBUG_FLAG_OSD_ENABLED)
- {
- mame_printf_warning("Debug Build: Disabling input grab for -debug\n");
-@@ -1131,6 +1404,7 @@ void sdlinput_init(running_machine *mach
- device_list_reset_devices(keyboard_list);
- device_list_reset_devices(mouse_list);
- device_list_reset_devices(joystick_list);
-+ device_list_reset_devices(lightgun_list);
-
- }
-
-@@ -1248,6 +1522,7 @@ void sdlinput_poll(running_machine *mach
- device_info *devinfo;
- SDL_Event event;
- int index;
-+ XEvent xevent;
-
- // only for SDLMAME_EVENTS_IN_WORKER_THREAD
- SDL_Event loc_event_buf[MAX_BUF_EVENTS];
-@@ -1263,6 +1538,21 @@ void sdlinput_poll(running_machine *mach
- devinfo->mouse.lY = 0;
- }
-
-+ //Get XInput events
-+ while (XPending(XDisplay)!=0) {
-+ XNextEvent(XDisplay, &xevent);
-+ if (xevent.type==motion_type) {
-+ XDeviceMotionEvent *motion = (XDeviceMotionEvent *) &xevent;
-+ devinfo=get_lightgun_info_for_deviceid(motion->deviceid);
-+ devinfo->lightgun.lX=normalize_absolute_axis(motion->axis_data[0], devinfo->lightgun.minx, devinfo->lightgun.maxx);
-+ devinfo->lightgun.lY=normalize_absolute_axis(motion->axis_data[1], devinfo->lightgun.miny, devinfo->lightgun.maxy);
-+ } else if (xevent.type==button_press_type || xevent.type==button_release_type) {
-+ XDeviceButtonEvent *button = (XDeviceButtonEvent *) &xevent;
-+ devinfo=get_lightgun_info_for_deviceid(button->deviceid);
-+ devinfo->lightgun.buttons[button->button]=(xevent.type==button_press_type)?0x80:0;
-+ }
-+ }
-+
- if (SDLMAME_EVENTS_IN_WORKER_THREAD)
- {
- osd_lock_acquire(input_lock);
-diff -BNburp mame-org/src/osd/sdl/osdsdl.h mame-wiimote/src/osd/sdl/osdsdl.h
---- mame-org/src/osd/sdl/osdsdl.h 2010-02-12 14:42:32.000000000 +0100
-+++ mame-wiimote/src/osd/sdl/osdsdl.h 2010-05-07 08:53:34.000000000 +0200
-@@ -130,3 +130,4 @@ void sdlaudio_init(running_machine *mach
- extern int sdl_num_processors;
-
- #endif
-+#define SDLOPTION_LIGHTGUNINDEX "lightgun_index"
-diff -BNburp mame-org/src/osd/sdl/sdlmain.c mame-wiimote/src/osd/sdl/sdlmain.c
---- mame-org/src/osd/sdl/sdlmain.c 2010-02-13 12:19:16.000000000 +0100
-+++ mame-wiimote/src/osd/sdl/sdlmain.c 2010-05-07 08:54:03.000000000 +0200
-@@ -190,6 +190,17 @@ static const options_entry mame_sdl_opti
- { SDLOPTION_JOYINDEX "8", SDLOPTVAL_AUTO, 0, "name of joystick mapped to joystick #8" },
- { SDLOPTION_SIXAXIS, "0", OPTION_BOOLEAN, "Use special handling for PS3 Sixaxis controllers" },
-
-+ { NULL, NULL, OPTION_HEADER, "SDL LIGHTGUN MAPPING" },
-+ { SDLOPTION_LIGHTGUNINDEX "1", SDLOPTVAL_AUTO, 0, "name of lightgun mapped to lightgun #1" },
-+ { SDLOPTION_LIGHTGUNINDEX "2", SDLOPTVAL_AUTO, 0, "name of lightgun mapped to lightgun #2" },
-+ { SDLOPTION_LIGHTGUNINDEX "3", SDLOPTVAL_AUTO, 0, "name of lightgun mapped to lightgun #3" },
-+ { SDLOPTION_LIGHTGUNINDEX "4", SDLOPTVAL_AUTO, 0, "name of lightgun mapped to lightgun #4" },
-+ { SDLOPTION_LIGHTGUNINDEX "5", SDLOPTVAL_AUTO, 0, "name of lightgun mapped to lightgun #5" },
-+ { SDLOPTION_LIGHTGUNINDEX "6", SDLOPTVAL_AUTO, 0, "name of lightgun mapped to lightgun #6" },
-+ { SDLOPTION_LIGHTGUNINDEX "7", SDLOPTVAL_AUTO, 0, "name of lightgun mapped to lightgun #7" },
-+ { SDLOPTION_LIGHTGUNINDEX "8", SDLOPTVAL_AUTO, 0, "name of lightgun mapped to lightgun #8" },
-+
-+
- #if (SDL_VERSION_ATLEAST(1,3,0))
- { NULL, NULL, OPTION_HEADER, "SDL MOUSE MAPPING" },
- { SDLOPTION_MOUSEINDEX "1", SDLOPTVAL_AUTO, 0, "name of mouse mapped to mouse #1" },
-diff -BNburp mame-org/src/osd/sdl/window.c mame-wiimote/src/osd/sdl/window.c
---- mame-org/src/osd/sdl/window.c 2010-02-12 07:40:12.000000000 +0100
-+++ mame-wiimote/src/osd/sdl/window.c 2010-05-07 08:54:54.000000000 +0200
-@@ -659,8 +659,17 @@ static void sdlwindow_update_cursor_stat
- }
-
- #else
-+ //Hack for wii-lightguns: they stop working with a grabbed mouse; even a ShowCursor(SDL_DISABLE) already
-+ //does this. To make the cursor disappear, we'll just set an empty cursor image.
-+ unsigned char data[]={0,0,0,0,0,0,0,0};
-+ SDL_Cursor *c;
-+ c=SDL_CreateCursor(data, data, 8, 8, 0, 0);
-+ SDL_SetCursor(c);
-+
-+
- // do not do mouse capture if the debugger's enabled to avoid
- // the possibility of losing control
-+/*
- if (!(machine->debug_flags & DEBUG_FLAG_OSD_ENABLED))
- {
- if ( window->fullscreen || sdlinput_should_hide_mouse(machine) )
-@@ -680,6 +689,7 @@ static void sdlwindow_update_cursor_stat
- }
- }
- }
-+*/
- #endif
- }
-
diff --git a/abs/extra/sdlmame/sdlmame.install b/abs/extra/sdlmame/sdlmame.install
deleted file mode 100644
index 6103018..0000000
--- a/abs/extra/sdlmame/sdlmame.install
+++ /dev/null
@@ -1,29 +0,0 @@
-# Message displayed for a fresh install.
-post_install()
-{
- echo ""
- echo "***************************************************************"
- echo " SDLMAME and the additional MAME utilities have been installed"
- echo " in /usr/share/sdlmame However, SDLMAME can be run by"
- echo " typing sdlmame and it's options. Try running SDLMAME with"
- echo " these options:"
- echo " sdlmame <rom> -nowindow -noswitchres"
- echo "***************************************************************"
- echo ""
-}
-
-# Message for an update.
-post_upgrade()
-{
- echo ""
- echo "***************************************************************"
- echo " SDLMAME has been updated. If you are upgrading directly from"
- echo " 0.117 or earlier, you must delete all .cfg files and"
- echo " re-configure your controllers. You should also run"
- echo " 'SDLMAME --newini' to force the script to create a new ini"
- echo " file with default settings at ~/.mame/sdlmame.ini"
- echo " since there may be new ini options."
- echo "***************************************************************"
- echo ""
-}
-
diff --git a/abs/extra/sdlmame/sdlmame.sh b/abs/extra/sdlmame/sdlmame.sh
deleted file mode 100644
index 38b4870..0000000
--- a/abs/extra/sdlmame/sdlmame.sh
+++ /dev/null
@@ -1,58 +0,0 @@
-#!/bin/sh
-
-# Create a variable equal to $HOME that will be used later in the ini creation
-home=('$HOME')
-
-if [ "$1" != "" ] && [ "$1" = "--newini" ]; then
- echo "Rebuilding the ini file at $HOME/.mame/sdlmame.ini"
- echo "Modify this file for permanent changes to your SDLMAME"
- echo "options and paths before running SDLMAME again."
- cd $HOME/.mame
- if [ -e sdlmame.ini ]; then
- echo "Your old ini file has been renamed to sdlmameini.bak"
- mv sdlmame.ini sdlmameini.bak
- fi
- /usr/share/sdlmame/sdlmame \
- -artpath "$home/.mame/artwork;artwork" \
- -ctrlrpath "$home/.mame/ctrlr;ctrlr" \
- -inipath $home/.mame/ini \
- -rompath $home/.mame/roms \
- -samplepath $home/.mame/samples \
- -cfg_directory $home/.mame/cfg \
- -comment_directory $home/.mame/comments \
- -diff_directory $home/.mame/diff \
- -input_directory $home/.mame/inp \
- -memcard_directory $home/.mame/memcard \
- -nvram_directory $home/.mame/nvram \
- -snapshot_directory $home/.mame/snap \
- -state_directory $home/.mame/sta \
- -video opengl \
- -createconfig
-elif [ ! -e $HOME/.mame ]; then
- echo "Running SDLMAME for the first time..."
- echo "Creating an ini file for SDLMAME at $HOME/.mame/sdlmame.ini"
- echo "Modify this file for permanent changes to your SDLMAME"
- echo "options and paths before running SDLMAME again."
- mkdir $HOME/.mame
- mkdir $HOME/.mame/{artwork,cfg,comments,ctrlr,diff,ini,inp,memcard,nvram,samples,snap,sta}
- cd $HOME/.mame
- /usr/share/sdlmame/sdlmame \
- -artpath "$home/.mame/artwork;artwork" \
- -ctrlrpath "$home/.mame/ctrlr;ctrlr" \
- -inipath $home/.mame/ini \
- -rompath $home/.mame/roms \
- -samplepath $home/.mame/samples \
- -cfg_directory $home/.mame/cfg \
- -comment_directory $home/.mame/comments \
- -diff_directory $home/.mame/diff \
- -input_directory $home/.mame/inp \
- -memcard_directory $home/.mame/memcard \
- -nvram_directory $home/.mame/nvram \
- -snapshot_directory $home/.mame/snap \
- -state_directory $home/.mame/sta \
- -video opengl \
- -createconfig
-else
- cd /usr/share/sdlmame
- ./sdlmame "$@"
-fi
diff --git a/abs/extra/shepherd/PKGBUILD b/abs/extra/shepherd/PKGBUILD
deleted file mode 100644
index 735fef5..0000000
--- a/abs/extra/shepherd/PKGBUILD
+++ /dev/null
@@ -1,17 +0,0 @@
-# $Id: PKGBUILD 23123 2009-01-03 02:43:02Z kevin $
-# Maintainer: Greg Frost <gregfrost1@bigpond.com>
-pkgname=shepherd
-pkgver=1.5.1
-pkgrel=1
-pkgdesc="Australian EPG Grabber."
-license=('unknown')
-arch=('i686')
-depends=('perl-pathtools' 'perl-digest-sha1' 'perl-algorithm-diff'
- 'perl-javascript' 'perl-list-compare')
-source=(http://www.whuffy.com/shepherd/shepherd)
-
-build() {
- mkdir -p ${pkgdir}/usr/bin/
- install -m 0755 shepherd ${pkgdir}/usr/bin/
-}
-md5sums=('ca37aff5606acfebc341525eac825449')
diff --git a/abs/extra/swh-plugins/PKGBUILD b/abs/extra/swh-plugins/PKGBUILD
deleted file mode 100644
index 69157a1..0000000
--- a/abs/extra/swh-plugins/PKGBUILD
+++ /dev/null
@@ -1,28 +0,0 @@
-# $Id: PKGBUILD 8773 2008-08-16 05:51:00Z eric $
-#Maintainer: Damir Perisa <damir.perisa@bluewin.ch>
-#Contributor: Robert Emil Berge
-
-pkgname=swh-plugins
-pkgver=0.4.15
-pkgrel=1
-pkgdesc="LADSPA Plugin-Collection from plugin.org.uk"
-arch=(i686 x86_64)
-url="http://plugin.org.uk/"
-depends=('fftw' 'ladspa')
-groups=('ladspa-plugins')
-source=(http://plugin.org.uk/releases/$pkgver/$pkgname-$pkgver.tar.gz)
-md5sums=('2fbdccef2462ea553901acd429fa3573')
-
-build() {
- cd $startdir/src/$pkgname-$pkgver
-
-#Arch64 fix, -fPIC seems to be the only option
-if [ "$CARCH" = "x86_64" ]; then
- export CFLAGS="$CFLAGS -fPIC"
- export CXXFLAGS="$CFLAGS"
-fi
-
- ./configure --prefix=/usr
- make || return 1
- make DESTDIR=$startdir/pkg install
-}
diff --git a/abs/extra/tango-icon-theme/PKGBUILD b/abs/extra/tango-icon-theme/PKGBUILD
deleted file mode 100644
index 9f1dfba..0000000
--- a/abs/extra/tango-icon-theme/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# $Id: PKGBUILD 77764 2010-04-17 16:52:32Z thayer $
-# Maintainer: Thayer Williams <thayer@archlinux.org>
-# Contributor: James Rayner <james@archlinux.org>
-
-pkgname=tango-icon-theme
-pkgver=0.8.90
-pkgrel=2
-pkgdesc="The Tango Desktop Project exists to create a consistent user experience"
-arch=('any')
-url="http://tango.freedesktop.org"
-license=('custom:ccpl-attribution-sharealike-2.5')
-depends=('librsvg')
-makedepends=('imagemagick' 'icon-naming-utils' 'intltool' 'python2' 'perl-xml-libxml')
-source=(http://tango.freedesktop.org/releases/$pkgname-$pkgver.tar.gz)
-md5sums=('0795895d2f20eddcbd2bffe94ed431a6')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- ./configure --prefix=/usr \
- --enable-png-creation
- make || return 1
-}
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install || return 1
-
- install -D -m644 COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE" || return 1
-}
-
diff --git a/abs/extra/tatir/PKGBUILD b/abs/extra/tatir/PKGBUILD
deleted file mode 100644
index e9d8ab2..0000000
--- a/abs/extra/tatir/PKGBUILD
+++ /dev/null
@@ -1,21 +0,0 @@
-# $Id: PKGBUILD 5936 2008-07-21 20:24:16Z thomas $
-# Maintainer: Cecil Watson<knoppmyth@gmail.com>
-
-pkgname=tatir
-pkgver=1
-pkgrel=4
-pkgdesc="TatIR, the Linux media remote control."
-arch=('i686' 'x86_64')
-license=('GPL2')
-url="http://tatir.dropthetranny.com/"
-depends=('pyusb' 'xautomation')
-source=('tatir.tar.bz2')
-install=tatir.install
-build() {
- mkdir -p $pkgdir/usr/bin
- mkdir -p $pkgdir/etc/tatir
-# mkdir -p $pkgdir/etc/sv/tatir/supervise
- cp *.py $pkgdir/usr/bin
- cp remote_xte.conf $pkgdir/etc/tatir/
-# cp run $pkgdir/etc/sv/tatir/
-}
diff --git a/abs/extra/tatir/__delete b/abs/extra/tatir/__delete
deleted file mode 100644
index 61aca57..0000000
--- a/abs/extra/tatir/__delete
+++ /dev/null
@@ -1 +0,0 @@
-this pkg is marked to be removed
diff --git a/abs/extra/tatir/tatir.install b/abs/extra/tatir/tatir.install
deleted file mode 100644
index aef470a..0000000
--- a/abs/extra/tatir/tatir.install
+++ /dev/null
@@ -1,19 +0,0 @@
-# arg 1: the new package version
-post_install() {
-# add_service.sh tatir
- /bin/true
-}
-# arg 1: the new package version
-# arg 2: the old package version
-post_upgrade() {
- /bin/true
-}
-
-# arg 1: the old package version
-post_remove() {
- remove_service.sh tatir
-}
-
-op=$1
-shift
-$op $*
diff --git a/abs/extra/tatir/tatir.tar.bz2 b/abs/extra/tatir/tatir.tar.bz2
deleted file mode 100644
index 1a16a46..0000000
--- a/abs/extra/tatir/tatir.tar.bz2
+++ /dev/null
Binary files differ
diff --git a/abs/extra/terminal/PKGBUILD b/abs/extra/terminal/PKGBUILD
deleted file mode 100644
index 1acef9d..0000000
--- a/abs/extra/terminal/PKGBUILD
+++ /dev/null
@@ -1,32 +0,0 @@
-# $Id: PKGBUILD 80889 2010-05-22 15:58:57Z andyrtr $
-# Maintainer: AndyRTR <andyrtr@archlinux.org>
-# Contributor: tobias <tobias funnychar archlinux.org>
-# Contributor: Aurelien Foret <orelien@chez.com>
-
-pkgname=terminal
-pkgver=0.4.5
-pkgrel=1
-pkgdesc="A modern terminal emulator primarly for the Xfce desktop environment"
-arch=(i686 x86_64)
-license=('GPL2')
-url="http://www.xfce.org/projects/terminal/"
-groups=('xfce4')
-depends=('exo>=0.3.107' "vte>=0.24.1" 'dbus-glib>=0.86'
- 'startup-notification>=0.10' 'hicolor-icon-theme')
-makedepends=('pkgconfig' 'intltool')
-options=('!libtool')
-install=terminal.install
-source=(http://archive.xfce.org/src/apps/${pkgname}/0.4/Terminal-${pkgver}.tar.bz2)
-md5sums=('3c707628e2e97c6d9566cd74d400036a')
-
-build() {
- cd ${srcdir}/Terminal-${pkgver}
- ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/xfce4 \
- --localstatedir=/var --disable-static || return 1
- make || return 1
-}
-
-package() {
- cd ${srcdir}/Terminal-${pkgver}
- make DESTDIR=${pkgdir} install || return 1
-}
diff --git a/abs/extra/terminal/terminal-dont-die-on-dbus-kill.patch b/abs/extra/terminal/terminal-dont-die-on-dbus-kill.patch
deleted file mode 100644
index e20e45c..0000000
--- a/abs/extra/terminal/terminal-dont-die-on-dbus-kill.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- terminal/terminal-dbus.c.orig 2007-01-23 22:25:12.000000000 +0000
-+++ terminal/terminal-dbus.c 2007-01-23 22:25:50.000000000 +0000
-@@ -191,6 +191,7 @@ terminal_dbus_register_service (Terminal
-
- /* register DBus connection with GLib main loop */
- dbus_connection_setup_with_g_main (connection, NULL);
-+ dbus_connection_set_exit_on_disconnect (connection, FALSE);
-
- if (dbus_bus_request_name (connection, TERMINAL_DBUS_SERVICE, 0, &derror) < 0)
- {
diff --git a/abs/extra/terminal/terminal.install b/abs/extra/terminal/terminal.install
deleted file mode 100644
index 21b79d2..0000000
--- a/abs/extra/terminal/terminal.install
+++ /dev/null
@@ -1,11 +0,0 @@
-post_install() {
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-}
-
-post_upgrade() {
- post_install $1
-}
-
-post_remove() {
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-}
diff --git a/abs/extra/ttf-ms-fonts/PKGBUILD b/abs/extra/ttf-ms-fonts/PKGBUILD
deleted file mode 100644
index 00fd09d..0000000
--- a/abs/extra/ttf-ms-fonts/PKGBUILD
+++ /dev/null
@@ -1,27 +0,0 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
-# Maintainer: dale <dale@archlinux.org>
-pkgname=ttf-ms-fonts
-pkgver=2.0
-pkgrel=1
-pkgdesc="Un-extracted TTF Fonts from Microsoft"
-arch=(i686 x86_64)
-url="http://corefonts.sourceforge.net/"
-sfpath="http://heanet.dl.sourceforge.net/sourceforge/corefonts/"
-depends=(cabextract xorg-fonts-encodings xorg-font-utils fontconfig)
-install=ttf-ms-fonts.install
-source=($sfpath/andale32.exe $sfpath/arial32.exe $sfpath/arialb32.exe \
- $sfpath/comic32.exe $sfpath/courie32.exe $sfpath/georgi32.exe \
- $sfpath/impact32.exe $sfpath/times32.exe $sfpath/trebuc32.exe \
- $sfpath/verdan32.exe $sfpath/webdin32.exe $sfpath/wd97vwr32.exe)
-md5sums=('cbdc2fdd7d2ed0832795e86a8b9ee19a' '9637df0e91703179f0723ec095a36cb5'\
- 'c9089ae0c3b3d0d8c4b0a95979bb9ff0' '2b30de40bb5e803a0452c7715fc835d1'\
- '4e412c772294403ab62fb2d247d85c60' '4d90016026e2da447593b41a8d8fa8bd'\
- '7907c7dd6684e9bade91cff82683d9d7' 'ed39c8ef91b9fb80f76f702568291bd5'\
- '0d7ea16cac6261f8513a061fbfcdb2b5' '12d2a75f8156e10607be1eaa8e8ef120'\
- '230a1d13a365b22815f502eb24d9149b' 'efa72d3ed0120a07326ce02f051e9b42')
-
-build() {
- mkdir -p $startdir/pkg/tmp/${pkgname}
- chmod 1777 $startdir/pkg/tmp
- install -m644 $startdir/src/*.exe $startdir/pkg/tmp/$pkgname
-}
diff --git a/abs/extra/ttf-ms-fonts/ttf-ms-fonts.install b/abs/extra/ttf-ms-fonts/ttf-ms-fonts.install
deleted file mode 100644
index 043cd88..0000000
--- a/abs/extra/ttf-ms-fonts/ttf-ms-fonts.install
+++ /dev/null
@@ -1,55 +0,0 @@
-# arg 1: the new package version
-post_install() {
- echo -n "extracting fonts... "
- for font in tmp/ttf-ms-fonts/*.exe
- do
- cabextract --lowercase --directory=tmp/ttf-ms-fonts/ $font -F '*.ttf' >/dev/null 2>&1
- done
- cabextract --lowercase --directory=tmp/ttf-ms-fonts/ tmp/ttf-ms-fonts/wd97vwr32.exe -F '*.cab' >/dev/null 2>&1
- cabextract --lowercase --directory=tmp/ttf-ms-fonts/ tmp/ttf-ms-fonts/viewer1.cab -F '*.ttf' >/dev/null 2>&1
- mkdir -p usr/share/fonts/TTF
- : >usr/share/fonts/TTF/msfonts.txt
- for i in `/bin/ls tmp/ttf-ms-fonts/*.ttf`; do
- echo `basename $i` >>usr/share/fonts/TTF/msfonts.txt
- cp $i usr/share/fonts/TTF
- done
- echo "done."
- echo -n "rebuilding font cache... "
- fc-cache -f > /dev/null
- mkfontscale /usr/share/fonts/TTF
- mkfontdir /usr/share/fonts/TTF
- echo "done."
- rm -rf tmp/ttf-ms-fonts
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-post_upgrade() {
- # remove fonts from their old location
- rm -rf usr/X11R6/lib/X11/fonts/ttf-ms-fonts
- post_install $1
-}
-
-# arg 1: the old package version
-pre_remove() {
- #rm -f usr/X11R6/lib/X11/fonts/TTF/
- [ -f usr/share/fonts/TTF/msfonts.txt ] || return
- for i in `cat usr/share/fonts/TTF/msfonts.txt`; do
- rm -f usr/share/fonts/TTF/$i
- done
- rm -f usr/share/fonts/TTF/msfonts.txt
-}
-
-# arg 1: the old package version
-post_remove() {
- echo -n "rebuilding font cache... "
- fc-cache -f > /dev/null
- mkfontscale /usr/share/fonts/TTF
- mkfontdir /usr/share/fonts/TTF
- echo "done."
-}
-
-op=$1
-shift
-
-$op $*
diff --git a/abs/extra/twinhan-remote/PKGBUILD b/abs/extra/twinhan-remote/PKGBUILD
deleted file mode 100644
index d7f56b0..0000000
--- a/abs/extra/twinhan-remote/PKGBUILD
+++ /dev/null
@@ -1,19 +0,0 @@
-pkgname=twinhan-remote
-pkgver=1
-pkgrel=1
-pkgdesc="Provides usbkbd.ko for older Twinhan remotes."
-replaces=()
-arch=('i686' 'x86_64')
-url=""
-source=('twinhan-remote.conf' 'usbkbd.ko')
-install=twinhan-remote.install
-
-build() {
- cd ${srcdir}
- mkdir -p ${pkgdir}/etc/modprobe.d
- install -D -m644 "twinhan-remote.conf" "${pkgdir}/etc/modprobe.d/"
- mkdir -p ${pkgdir}/lib/modules/2.6.39-LinHES/kernel/drivers/hid/usbhid/
- install -D -m644 "usbkbd.ko" "${pkgdir}/lib/modules/2.6.39-LinHES/kernel/drivers/hid/usbhid/"
-}
-md5sums=('3d7cddd5f3433ffe6d4031d1cf9e859d'
- 'feefbe9b5e4861c9f2faf85b75395ac0')
diff --git a/abs/extra/twinhan-remote/twinhan-remote.conf b/abs/extra/twinhan-remote/twinhan-remote.conf
deleted file mode 100644
index e472f04..0000000
--- a/abs/extra/twinhan-remote/twinhan-remote.conf
+++ /dev/null
@@ -1,3 +0,0 @@
-# Disable hid_twinhan
-#
-blacklist hid_twinhan
diff --git a/abs/extra/twinhan-remote/twinhan-remote.install b/abs/extra/twinhan-remote/twinhan-remote.install
deleted file mode 100644
index 4fa78ad..0000000
--- a/abs/extra/twinhan-remote/twinhan-remote.install
+++ /dev/null
@@ -1,19 +0,0 @@
-KERNEL_NAME=
-KERNEL_VERSION=`/bin/uname -r`
-
-post_install () {
- # updating module dependencies
- echo ">>> Updating module dependencies. Please wait ..."
- /sbin/depmod $KERNEL_VERSION
- # generate init ramdisks
- echo ">>> Generating ramdisk, using mkinitcpio. Please wait..."
- /sbin/mkinitcpio -p kernel26${KERNEL_NAME}
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
diff --git a/abs/extra/twinhan-remote/usbkbd.ko b/abs/extra/twinhan-remote/usbkbd.ko
deleted file mode 100644
index 6f0cd2c..0000000
--- a/abs/extra/twinhan-remote/usbkbd.ko
+++ /dev/null
Binary files differ
diff --git a/abs/extra/unetbootin/PKGBUILD b/abs/extra/unetbootin/PKGBUILD
deleted file mode 100644
index 2978b54..0000000
--- a/abs/extra/unetbootin/PKGBUILD
+++ /dev/null
@@ -1,35 +0,0 @@
-# Maintainer: Det <nimetonmaili at gmail a-dot com>
-# Contributor: Godane aka Christopher Rogers <slaxemulator@gmail.com>
-
-pkgname=unetbootin
-pkgver=494
-pkgrel=1
-pkgdesc="Allows the creation of bootable Live USB drives for Linux/BSD distributions"
-url="http://unetbootin.sourceforge.net/"
-license="GPL"
-arch=('i686' 'x86_64')
-depends=('syslinux' 'p7zip' 'qt' 'mtools')
-source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-source-${pkgver}.tar.gz)
-md5sums=('e3f01fd88f3aa5d918c60ba0be608e86')
-
-build() {
- cd "${srcdir}"
- sed -i '/^RESOURCES/d' unetbootin.pro
- lupdate unetbootin.pro
- lrelease unetbootin.pro
- qmake "DEFINES += NOSTATIC" "RESOURCES -= unetbootin.qrc"
- make
-}
-
-package() {
- cd "${srcdir}"
- mkdir -p "${pkgdir}/usr/sbin"
- install -m 755 ${pkgname} "${pkgdir}/usr/sbin/${pkgname}"
- mkdir -p "${pkgdir}/usr/share/${pkgname}"
- install -m 644 unetbootin_*.qm "${pkgdir}/usr/share/${pkgname}"
- mkdir -p "${pkgdir}/usr/share/applications/"
- install -m 644 ${pkgname}.desktop "${pkgdir}/usr/share/applications/"
- sed -i 's|Exec=/usr/bin/unetbootin|Exec=su -c /usr/sbin/unetbootin|g' "${pkgdir}/usr/share/applications/${pkgname}.desktop"
- sed -i 's|Terminal=false|Terminal=true|g' "${pkgdir}/usr/share/applications/${pkgname}.desktop"
-}
-
diff --git a/abs/extra/vcdimager/PKGBUILD b/abs/extra/vcdimager/PKGBUILD
deleted file mode 100644
index 2aa79b1..0000000
--- a/abs/extra/vcdimager/PKGBUILD
+++ /dev/null
@@ -1,24 +0,0 @@
-# $Id: PKGBUILD 59903 2009-11-29 16:30:52Z jgc $
-# Maintainer: damir <damir@archlinux.org>
-# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
-
-pkgname=vcdimager
-pkgver=0.7.23
-pkgrel=7
-pkgdesc="GNU VCDImager is a full-featured mastering suite for authoring disassembling and analyzing Video CD's and Super Video CD's"
-arch=(i686 x86_64)
-license=('GPL')
-url="http://www.vcdimager.org/"
-depends=('libcdio>=0.82' 'libxml2>=2.7.3' 'popt')
-options=('!libtool' '!emptydirs')
-install=vcdimager.install
-source=(ftp://ftp.gnu.org/gnu/vcdimager/${pkgname}-${pkgver}.tar.gz)
-md5sums=('5e7d80fdbf0037ad20e438f2a9573253')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr \
- --mandir=/usr/share/man --infodir=/usr/share/info || return 1
- make || return 1
- make DESTDIR="${pkgdir}" install || return 1
-}
diff --git a/abs/extra/vcdimager/__changelog b/abs/extra/vcdimager/__changelog
deleted file mode 100644
index 701b6bb..0000000
--- a/abs/extra/vcdimager/__changelog
+++ /dev/null
@@ -1 +0,0 @@
-options=!noemptdir
diff --git a/abs/extra/vcdimager/cdio.patch b/abs/extra/vcdimager/cdio.patch
deleted file mode 100644
index f7f9e31..0000000
--- a/abs/extra/vcdimager/cdio.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- lib/image.c.org 2004-07-15 17:19:01.000000000 +0200
-+++ lib/image.c 2004-07-15 17:22:06.000000000 +0200
-@@ -76,7 +76,7 @@
- }
-
- int
--vcd_image_sink_write (VcdImageSink *obj, void *buf, uint32_t lsn)
-+vcd_image_sink_write (VcdImageSink *obj, void *buf, lsn_t lsn)
- {
- vcd_assert (obj != NULL);
-
diff --git a/abs/extra/vcdimager/vcdimager.install b/abs/extra/vcdimager/vcdimager.install
deleted file mode 100644
index faa9748..0000000
--- a/abs/extra/vcdimager/vcdimager.install
+++ /dev/null
@@ -1,19 +0,0 @@
-infodir=/usr/share/info
-filelist=(vcd-info.info.gz vcdimager.info.gz vcdxrip.info.gz)
-
-post_install() {
- for file in ${filelist[@]}; do
- install-info $infodir/$file $infodir/dir 2> /dev/null
- done
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- for file in ${filelist[@]}; do
- install-info --delete $infodir/$file $infodir/dir 2> /dev/null
- done
-}
-
diff --git a/abs/extra/vlc-nogui/PKGBUILD b/abs/extra/vlc-nogui/PKGBUILD
deleted file mode 100644
index ccbc1ae..0000000
--- a/abs/extra/vlc-nogui/PKGBUILD
+++ /dev/null
@@ -1,58 +0,0 @@
-# Maintainer: Alexsandr Pavlov <kidoz at mail dot ru>
-
-pkgname=vlc-nogui
-pkgver=1.1.13
-pkgrel=1
-pkgdesc="A multi-platform MPEG, VCD/DVD, and DivX player"
-arch=('i686' 'x86_64')
-url="http://www.videolan.org/vlc/"
-license=('GPL')
-depends=('a52dec' 'faad2' 'fluidsynth' 'libmtp' 'libdvbpsi' 'lirc-utils'
- 'libdca' 'libproxy' 'sdl_image' 'libdvdnav'
- 'lua' 'libv4l' 'libcddb' 'smbclient' 'libmatroska' 'zvbi'
- 'taglib' 'sysfsutils' 'libmpcdec' 'ffmpeg' 'xcb-util-keysyms'
- 'libshout' 'libmad' 'fribidi' 'libmpeg2' 'libmodplug'
- 'ttf-freefont' 'libxv' 'libass' 'xdg-utils' 'libxpm' 'libupnp')
-makedepends=('alsa-lib' 'avahi' 'jack' 'live-media' 'pkgconfig' 'udev')
-optdepends=('avahi: for service discovery using bonjour protocol'
- 'libnotify: for notification plugin')
-provides=('vlc')
-conflicts=('vlc' 'vlc-plugin')
-replaces=('vlc' 'vlc-plugin')
-options=('!libtool')
-source=(http://downloads.videolan.org/pub/videolan/vlc/${pkgver}/vlc-${pkgver}.tar.bz2)
-
-build() {
- cd "${srcdir}/vlc-${pkgver}"
-
- sed -i -e 's:truetype/freefont:TTF:g' modules/misc/freetype.c
- ./configure --prefix=/usr \
- --enable-faad \
- --enable-v4l \
- --enable-theora \
- --enable-flac \
- --enable-snapshot \
- --enable-ogg \
- --enable-shout \
- --enable-lirc \
- --enable-pvr \
- --enable-realrtsp \
- --disable-rpath \
- --disable-qt4 \
- --disable-skins2 \
- --disable-glx \
- --with-live555-tree=/usr/lib/live
- make
-}
-
-package() {
- cd "${srcdir}/vlc-${pkgver}"
-
- make DESTDIR=${pkgdir}/ install
-
- rm -rf ${pkgdir}/usr/share/applications
- rm -rf ${pkgdir}/usr/share/kde4
- rm -rf ${pkgdir}/usr/share/icons
- rm ${pkgdir}/usr/share/vlc/vlc.ico
-}
-md5sums=('9678fb7a04808b6e0de63746d35e4bb1')
diff --git a/abs/extra/vlc-nogui/__changelog b/abs/extra/vlc-nogui/__changelog
deleted file mode 100644
index b20cb01..0000000
--- a/abs/extra/vlc-nogui/__changelog
+++ /dev/null
@@ -1,2 +0,0 @@
-2012-01-25: add 'libupnp' 'xcb-util-keysyms' to depends
- bump to version 1.1.13
diff --git a/abs/extra/wireshark/PKGBUILD b/abs/extra/wireshark/PKGBUILD
deleted file mode 100644
index 3d6b90e..0000000
--- a/abs/extra/wireshark/PKGBUILD
+++ /dev/null
@@ -1,54 +0,0 @@
-# $Id: PKGBUILD 94904 2010-10-12 06:47:49Z guillaume $
-# Maintainer: Guillaume ALAUX <guillaume at alaux dot net>
-# Contributor: Florian Pritz <bluewind at jabber dot ccc dot de>
-pkgname=(wireshark-cli wireshark-gtk)
-pkgbase=wireshark
-pkgver=1.4.1
-pkgrel=1
-arch=('i686' 'x86_64')
-license=('GPL2')
-makedepends=('bison' 'flex' 'gtk2' 'heimdal' 'libpcap' 'bash' 'gnutls' 'libcap')
-url="http://www.wireshark.org/"
-options=(!libtool)
-source=(http://www.wireshark.org/download/src/${pkgbase}-${pkgver}.tar.bz2)
-md5sums=('1719d20a10990e7c2cb261df7021aab6')
-
-build() {
- cd "${srcdir}/${pkgbase}-${pkgver}"
- export CFLAGS="-fno-unit-at-a-time ${CFLAGS}"
-
- ./configure --prefix=/usr --with-ssl
- make all
-}
-
-package_wireshark-cli() {
- pkgdesc="A free network protocol analyzer for Unix/Linux and Windows - CLI version"
- depends=('heimdal' 'libpcap' 'bash' 'gnutls' 'libcap' 'glib2')
- install=wireshark.install
- conflicts=(wireshark)
-
- cd "${srcdir}/${pkgbase}-${pkgver}"
-
- make DESTDIR="${pkgdir}" install
-
- #wireshark uid group is 150
- chgrp 150 "${pkgdir}/usr/bin/dumpcap"
- chmod 754 "${pkgdir}/usr/bin/dumpcap"
- rm "$pkgdir/usr/bin/wireshark"
-}
-
-package_wireshark-gtk() {
- pkgdesc="A free network protocol analyzer for Unix/Linux and Windows - GTK frontend"
- depends=('gtk2' 'wireshark-cli')
- install=wireshark-gtk.install
- replaces=(wireshark)
- conflicts=(wireshark)
-
- cd "${srcdir}/${pkgbase}-${pkgver}"
-
- install -Dm755 .libs/wireshark "$pkgdir/usr/bin/wireshark"
- for d in 16 32 48; do
- install -Dm644 image/hi${d}-app-wireshark.png ${pkgdir}/usr/share/icons/hicolor/${d}x${d}/apps/wireshark.png
- done
- install -Dm644 wireshark.desktop ${pkgdir}/usr/share/applications/wireshark.desktop
-}
diff --git a/abs/extra/wireshark/wireshark-gtk.install b/abs/extra/wireshark/wireshark-gtk.install
deleted file mode 100644
index 6b1b64b..0000000
--- a/abs/extra/wireshark/wireshark-gtk.install
+++ /dev/null
@@ -1,11 +0,0 @@
-post_install() {
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
diff --git a/abs/extra/wireshark/wireshark.install b/abs/extra/wireshark/wireshark.install
deleted file mode 100644
index 8936256..0000000
--- a/abs/extra/wireshark/wireshark.install
+++ /dev/null
@@ -1,19 +0,0 @@
-post_install() {
- if getent group wireshark >/dev/null 2>&1; then
- groupmod -g 150 wireshark &>/dev/null
- else
- groupadd -g 150 wireshark &>/dev/null
- fi
- setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' usr/bin/dumpcap
- echo "NOTE: To run wireshark as normal user you have to add yourself into wireshark group"
-}
-
-post_upgrade() {
- post_install $1
-}
-
-post_remove() {
- if getent group wireshark >/dev/null 2>&1; then
- groupdel wireshark
- fi
-}
diff --git a/abs/extra/wxpython/ChangeLog b/abs/extra/wxpython/ChangeLog
deleted file mode 100644
index 02c759e..0000000
--- a/abs/extra/wxpython/ChangeLog
+++ /dev/null
@@ -1,48 +0,0 @@
-2010-08-21 Eric Belanger <eric@archlinux.org>
-
- * wxpython 2.8.11.0-2
- * Rebuilt for python2
-
-2010-06-03 Eric Belanger <eric@archlinux.org>
-
- * wxpython 2.8.11.0-1
- * Upstream update
-
-2010-05-08 Eric Belanger <eric@archlinux.org>
-
- * wxpython 2.8.10.1-2
- * Rebuilt against wxgtk 2.8.11
- * Added mediactrl support (close FS#18522)
-
-2009-05-18 Eric Belanger <eric@archlinux.org>
-
- * wxpython 2.8.10.1-1
- * Upstream update
- * Added patch for editra
-
-2009-05-05 Eric Belanger <eric@archlinux.org>
-
- * wxpython 2.8.9.2-2
- * Rebuilt against wxgtk 2.8.10
-
-2009-03-06 Eric Belanger <eric@archlinux.org>
-
- * wxpython 2.8.9.2-1
- * Upstream update
-
-2008-10-28 Eric Belanger <eric@archlinux.org>
-
- * wxpython 2.8.9.1-1
- * Upstream update
- * Python 2.6 rebuild
-
-2008-08-19 Eric Belanger <eric@archlinux.org>
-
- * wxpython 2.8.8.1-1
- * Upstream update
-
-2008-07-05 Eric Belanger <eric@archlinux.org>
-
- * wxpython 2.8.8.0-1
- * Upstream update
- * Added ChangeLog
diff --git a/abs/extra/wxpython/PKGBUILD b/abs/extra/wxpython/PKGBUILD
deleted file mode 100644
index b9375cc..0000000
--- a/abs/extra/wxpython/PKGBUILD
+++ /dev/null
@@ -1,33 +0,0 @@
-# $Id: PKGBUILD 88207 2010-08-21 05:14:19Z eric $
-# Maintainer: Eric Belanger <eric@archlinux.org>
-# Contributor: Andrew Wright <andreww@photism.org>
-
-pkgname=wxpython
-pkgver=2.8.11.0
-pkgrel=2
-pkgdesc="A wxWidgets GUI toolkit for Python"
-arch=('i686' 'x86_64')
-license=('custom:wxWindows')
-url="http://www.wxpython.org"
-depends=('wxgtk' 'python2')
-makedepends=('mesa')
-changelog=ChangeLog
-source=(http://downloads.sourceforge.net/wxpython/wxPython-src-${pkgver}.tar.bz2 editra-aui.diff)
-md5sums=('63f73aae49e530852db56a31b57529fa' '06c637c34c1570d8c82b870ce19c0622')
-sha1sums=('18982edc236a1d87e4eef018928358c925aa5b17' '077fe341bf8822647934d6b1ea82ce9b0adbf93a')
-
-build() {
- cd "${srcdir}/wxPython-src-${pkgver}"
- patch -p1 < ../editra-aui.diff
- ./configure --prefix=/usr --libdir=/usr/lib --with-gtk=2 --with-opengl --enable-unicode \
- --enable-graphics_ctx --with-gnomeprint --disable-optimize --enable-mediactrl \
- --with-libpng=sys --with-libxpm=sys --with-libjpeg=sys --with-libtiff=sys
- cd "${srcdir}/wxPython-src-${pkgver}/wxPython"
- python2 setup.py WXPORT=gtk2 UNICODE=1 build
-}
-
-package() {
- cd "${srcdir}/wxPython-src-${pkgver}/wxPython"
- python2 setup.py WXPORT=gtk2 UNICODE=1 install --root="${pkgdir}"
- install -D -m644 ../docs/licence.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
diff --git a/abs/extra/wxpython/editra-aui.diff b/abs/extra/wxpython/editra-aui.diff
deleted file mode 100644
index afdcf9f..0000000
--- a/abs/extra/wxpython/editra-aui.diff
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -Naur wxPython-src-2.8.11.0-orig/wxPython/setup.py wxPython-src-2.8.11.0/wxPython/setup.py
---- wxPython-src-2.8.11.0-orig/wxPython/setup.py 2010-06-04 04:15:47.000000000 -0400
-+++ wxPython-src-2.8.11.0/wxPython/setup.py 2010-06-04 04:18:36.000000000 -0400
-@@ -893,6 +893,7 @@
- 'wx.tools.Editra.src.eclib',
- 'wx.tools.Editra.src.ebmlib',
- 'wx.tools.Editra.src.extern',
-+ 'wx.tools.Editra.src.extern.aui',
- 'wx.tools.Editra.src.syntax',
- ]
-
diff --git a/abs/extra/xalan-java/PKGBUILD b/abs/extra/xalan-java/PKGBUILD
deleted file mode 100644
index 31157a0..0000000
--- a/abs/extra/xalan-java/PKGBUILD
+++ /dev/null
@@ -1,22 +0,0 @@
-# Maintainer: Andreas Radke <andyrtr@archlinux.org>
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-# Contributor: Hussam Al-Tayeb <ht990332@gmail.com>
-
-pkgname=xalan-java
-pkgver=2.7.1
-pkgrel=3
-pkgdesc="XSLT processor for transforming XML documents into HTML, text, or other XML document types"
-arch=('any')
-license=('APACHE')
-url="http://xml.apache.org/xalan-j"
-depends=('xerces2-java')
-source=(http://www.apache.org/dist/xml/xalan-j/xalan-j_${pkgver//./_}-bin-2jars.tar.gz)
-md5sums=('3ccda39bcd08b780436dfd2f22fb23d5')
-
-build() {
- cd ${srcdir}/xalan-j_${pkgver//./_}
- install -m755 -d ${pkgdir}/usr/share/java
- install -m644 xalan.jar ${pkgdir}/usr/share/java/ || return 1
- install -m644 xsltc.jar ${pkgdir}/usr/share/java/ || return 1
-}
-
diff --git a/abs/extra/xautomation/PKGBUILD b/abs/extra/xautomation/PKGBUILD
deleted file mode 100644
index 9c223ee..0000000
--- a/abs/extra/xautomation/PKGBUILD
+++ /dev/null
@@ -1,22 +0,0 @@
-# Contributor: raubkopierer <mail[dot]sensenmann[at]gmail[dot]com>
-
-pkgname=xautomation
-pkgver=1.03
-pkgrel=1
-pkgdesc="Controls X from the command line for scripts, and do 'visual scraping' to find things on the screen."
-url="http://hoopajoo.net/projects/xautomation.html"
-arch=('i686' 'x86_64')
-license=('GPL')
-source=(http://hoopajoo.net/static/projects/$pkgname-$pkgver.tar.gz)
-md5sums=('91030079b0ecf96195dd21bcec635cb6')
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- ./configure --prefix=/usr
- make || return 1
-}
-package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=$startdir/pkg install
-}
-
diff --git a/abs/extra/xcb-util-keysyms/LICENSE b/abs/extra/xcb-util-keysyms/LICENSE
deleted file mode 100644
index 5e3822c..0000000
--- a/abs/extra/xcb-util-keysyms/LICENSE
+++ /dev/null
@@ -1,267 +0,0 @@
-/* Copyright (C) 2007 Bart Massey
- *
- * Permission is hereby granted, free of charge, to any person obtaining a
- * copy of this software and associated documentation files (the "Software"),
- * to deal in the Software without restriction, including without limitation
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,
- * and/or sell copies of the Software, and to permit persons to whom the
- * Software is furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
- * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- *
- * Except as contained in this notice, the names of the authors or their
- * institutions shall not be used in advertising or otherwise to promote the
- * sale, use or other dealings in this Software without prior written
- * authorization from the authors.
- */
-
-/*
- * Copyright (C) 2008-2009 Julien Danjou <julien@danjou.info>
- *
- * Permission is hereby granted, free of charge, to any person
- * obtaining a copy of this software and associated documentation
- * files (the "Software"), to deal in the Software without
- * restriction, including without limitation the rights to use, copy,
- * modify, merge, publish, distribute, sublicense, and/or sell copies
- * of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
- * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
- * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
- * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- *
- * Except as contained in this notice, the names of the authors or
- * their institutions shall not be used in advertising or otherwise to
- * promote the sale, use or other dealings in this Software without
- * prior written authorization from the authors.
- */
-
-/*
- * Copyright (C) 2008 Arnaud Fontaine <arnau@debian.org>
- * Copyright (C) 2007-2008 Vincent Torri <vtorri@univ-evry.fr>
- *
- * Permission is hereby granted, free of charge, to any person
- * obtaining a copy of this software and associated documentation
- * files (the "Software"), to deal in the Software without
- * restriction, including without limitation the rights to use, copy,
- * modify, merge, publish, distribute, sublicense, and/or sell copies
- * of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
- * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
- * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
- * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- *
- * Except as contained in this notice, the names of the authors or
- * their institutions shall not be used in advertising or otherwise to
- * promote the sale, use or other dealings in this Software without
- * prior written authorization from the authors.
-
-/*
- * Copyright © 2008 Bart Massey <bart@cs.pdx.edu>
- * Copyright © 2008 Julien Danjou <julien@danjou.info>
- *
- * Permission is hereby granted, free of charge, to any person
- * obtaining a copy of this software and associated documentation
- * files (the "Software"), to deal in the Software without
- * restriction, including without limitation the rights to use, copy,
- * modify, merge, publish, distribute, sublicense, and/or sell copies
- * of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
- * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
- * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
- * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- *
- * Except as contained in this notice, the names of the authors or
- * their institutions shall not be used in advertising or otherwise to
- * promote the sale, use or other dealings in this Software without
- * prior written authorization from the authors.
- */
-
-/*
- * Copyright © 2008 Keith Packard <keithp@keithp.com>
- *
- * Permission is hereby granted, free of charge, to any person
- * obtaining a copy of this software and associated documentation
- * files (the "Software"), to deal in the Software without
- * restriction, including without limitation the rights to use, copy,
- * modify, merge, publish, distribute, sublicense, and/or sell copies
- * of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
- * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
- * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
- * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- *
- * Except as contained in this notice, the names of the authors or
- * their institutions shall not be used in advertising or otherwise to
- * promote the sale, use or other dealings in this Software without
- * prior written authorization from the authors.
- */
-
-/*
- * Copyright © 2008 Bart Massey <bart@cs.pdx.edu>
- *
- * Permission is hereby granted, free of charge, to any person
- * obtaining a copy of this software and associated documentation
- * files (the "Software"), to deal in the Software without
- * restriction, including without limitation the rights to use, copy,
- * modify, merge, publish, distribute, sublicense, and/or sell copies
- * of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
- * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
- * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
- * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- *
- * Except as contained in this notice, the names of the authors or
- * their institutions shall not be used in advertising or otherwise to
- * promote the sale, use or other dealings in this Software without
- * prior written authorization from the authors.
- */
-
-/*
- * Copyright © 2008 Ian Osgood <iano@quirkster.com>
- * Copyright © 2008 Jamey Sharp <jamey@minilop.net>
- * Copyright © 2008 Josh Triplett <josh@freedesktop.org>
- * Copyright © 2008 Ulrich Eckhardt <doomster@knuut.de>
- *
- * Permission is hereby granted, free of charge, to any person
- * obtaining a copy of this software and associated documentation
- * files (the "Software"), to deal in the Software without
- * restriction, including without limitation the rights to use, copy,
- * modify, merge, publish, distribute, sublicense, and/or sell copies
- * of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
- * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
- * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
- * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- *
- * Except as contained in this notice, the names of the authors or
- * their institutions shall not be used in advertising or otherwise to
- * promote the sale, use or other dealings in this Software without
- * prior written authorization from the authors.
- */
-
-/* Copyright © 2006 Jamey Sharp.
- *
- * Permission is hereby granted, free of charge, to any person obtaining a
- * copy of this software and associated documentation files (the "Software"),
- * to deal in the Software without restriction, including without limitation
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,
- * and/or sell copies of the Software, and to permit persons to whom the
- * Software is furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
- * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- *
- * Except as contained in this notice, the names of the authors or their
- * institutions shall not be used in advertising or otherwise to promote the
- * sale, use or other dealings in this Software without prior written
- * authorization from the authors.
- */
-
-/* Copyright © 2006 Ian Osgood
- *
- * Permission is hereby granted, free of charge, to any person obtaining a
- * copy of this software and associated documentation files (the "Software"),
- * to deal in the Software without restriction, including without limitation
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,
- * and/or sell copies of the Software, and to permit persons to whom the
- * Software is furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
- * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- *
- * Except as contained in this notice, the names of the authors or their
- * institutions shall not be used in advertising or otherwise to promote the
- * sale, use or other dealings in this Software without prior written
- * authorization from the authors.
- */
-
-/* Copyright © 2000 Keith Packard
- *
- * Permission to use, copy, modify, distribute, and sell this software and its
- * documentation for any purpose is hereby granted without fee, provided that
- * the above copyright notice appear in all copies and that both that
- * copyright notice and this permission notice appear in supporting
- * documentation, and that the name of Keith Packard not be used in
- * advertising or publicity pertaining to distribution of the software without
- * specific, written prior permission. Keith Packard makes no
- * representations about the suitability of this software for any purpose. It
- * is provided "as is" without express or implied warranty.
- *
- * KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
- * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
- * EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
- * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
- * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
- * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- * PERFORMANCE OF THIS SOFTWARE.
- */
diff --git a/abs/extra/xcb-util-keysyms/PKGBUILD b/abs/extra/xcb-util-keysyms/PKGBUILD
deleted file mode 100644
index efec398..0000000
--- a/abs/extra/xcb-util-keysyms/PKGBUILD
+++ /dev/null
@@ -1,38 +0,0 @@
-# $Id$
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-# Maintainer: Andreas Radke <andyrtr@archlinux.org>
-
-pkgname=xcb-util-keysyms
-pkgver=0.3.8
-pkgrel=1
-pkgdesc="Utility libraries for XC Binding - Standard X key constants and conversion to/from keycodes"
-arch=('i686' 'x86_64')
-url="http://xcb.freedesktop.org"
-license=('custom')
-depends=('libxcb>=1.7')
-makedepends=('xorg-util-macros')
-options=('!libtool')
-source=("http://xcb.freedesktop.org/dist/${pkgname}-${pkgver}.tar.bz2"
- 'LICENSE')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --disable-static
- make
-}
-
-check() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make check
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-
- install -D -m644 "${srcdir}/LICENSE" \
- "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-md5sums=('c75bb20e709093580a67eaf263251b50'
- '2672c2e72dedb40f773e989dd622f298')
diff --git a/abs/extra/xerces2-java/PKGBUILD b/abs/extra/xerces2-java/PKGBUILD
deleted file mode 100644
index bb3b327..0000000
--- a/abs/extra/xerces2-java/PKGBUILD
+++ /dev/null
@@ -1,26 +0,0 @@
-# Maintainer: Andreas Radke <andyrtr@archlinux.org>
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=xerces2-java
-pkgver=2.11.0
-pkgrel=1
-pkgdesc="High performance fully compliant Java XML parser"
-arch=('any')
-url="http://xml.apache.org/xerces2-j"
-license=('APACHE')
-provides=("java-xerces2=${pkgver}")
-conflicts=('java-xerces2')
-replaces=('java-xerces2')
-source=(http://www.apache.org/dist/xerces/j/Xerces-J-bin.${pkgver}.tar.gz)
-
-build() {
-/bin/true
-}
-
-package() {
- cd $startdir/src/xerces-${pkgver//./_}
- install -m755 -d ${pkgdir}/usr/share/java
- rm -f xercesSamples.jar
- install -m644 *.jar ${pkgdir}/usr/share/java/ || return 1
-}
-md5sums=('29d731e0ae57eb3f2e09af6594bc2515')
diff --git a/abs/extra/xfconf/PKGBUILD b/abs/extra/xfconf/PKGBUILD
deleted file mode 100644
index f6b97cf..0000000
--- a/abs/extra/xfconf/PKGBUILD
+++ /dev/null
@@ -1,37 +0,0 @@
-# $Id: PKGBUILD 87984 2010-08-18 20:44:29Z andyrtr $
-# Maintainer: tobias <tobias funnychar archlinux.org>
-
-pkgname=xfconf
-pkgver=4.6.2
-pkgrel=2
-pkgdesc="a simple client-server configuration storage and query system"
-arch=('i686' 'x86_64')
-license=('GPL2')
-url="http://www.xfce.org/"
-groups=('xfce4')
-# http://www.xfce.org/documentation/requirements
-# keep dbus and gtk2, see also http://bugs.archlinux.org/task/14536
-depends=( "libxfce4util>=4.6.2" "dbus-glib>=0.86" 'dbus>=1.2.24' 'gtk2>=2.20.1')
-makedepends=('pkgconfig' 'perl-extutils-depends' 'perl-extutils-pkgconfig' 'glib-perl' 'intltool' 'chrpath')
-options=('!libtool' '!emptydirs')
-replaces=('libxfce4mcs' 'xfce-mcs-manager' 'xfce-mcs-plugins')
-conflicts=('libxfce4mcs' 'xfce-mcs-manager' 'xfce-mcs-plugins')
-source=(http://archive.xfce.org/src/xfce/${pkgname}/4.6/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('5ff93c15077c6dbbcd38c437bc1ab2ef')
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/xfce4 \
- --localstatedir=/var --disable-static --with-perl-options=INSTALLDIRS="vendor"
- make
-}
-
-package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${startdir}/pkg install || return 1
- # remove unneeded dynloader bootstrap file
- rm ${pkgdir}/usr/lib/perl5/vendor_perl/auto/Xfce4/Xfconf/Xfconf.bs
-
- # fix insecure rpath, http://bugs.archlinux.org/task/19980
- chrpath -d ${pkgdir}/usr/lib/perl5/vendor_perl/auto/Xfce4/Xfconf/Xfconf.so
-}
diff --git a/abs/extra/xine-lib/ChangeLog b/abs/extra/xine-lib/ChangeLog
deleted file mode 100644
index 4d92448..0000000
--- a/abs/extra/xine-lib/ChangeLog
+++ /dev/null
@@ -1,106 +0,0 @@
-2010-09-25 Eric Belanger <eric@archlinux.org>
-
- * Added XvMC build patch (close FS#20944)
-
-2010-07-28 Eric Belanger <eric@archlinux.org>
-
- * xine-lib 1.1.19-1
- * Upstream update
-
-2010-07-03 Eric Belanger <eric@archlinux.org>
-
- * xine-lib 1.1.18.1-2
- * Rebuilt against imagemagick 6.6.2.10
- * Added gtk2 and mesa optdepends
-
-2010-03-23 Eric Belanger <eric@archlinux.org>
-
- * xine-lib 1.1.18.1-1
- * Upstream update
- * Changed jack-audio-connection-kit references to jack
- * Added vcdimager optdepends
-
-2010-02-23 Eric Belanger <eric@archlinux.org>
-
- * xine-lib 1.1.18-1
- * Upstream update
-
-2010-01-21 Eric Belanger <eric@archlinux.org>
-
- * xine-lib 1.1.17-3
- * Rebuilt against imagemagick 6.5.9.0
-
-2010-01-10 Eric Belanger <eric@archlinux.org>
-
- * xine-lib 1.1.17-2
- * Rebuilt against ffmpeg 20100108
-
-2009-12-01 Eric Belanger <eric@archlinux.org>
-
- * xine-lib 1.1.17-1
- * Upstream update
- * Updated url
-
-2009-04-19 Eric Belanger <eric@archlinux.org>
-
- * xine-lib 1.1.16.3-3
- * Updated ffmpeg versioned depends
-
-2009-04-17 Eric Belanger <eric@archlinux.org>
-
- * xine-lib 1.1.16.3-2
- * Rebuilt against libcdio 0.81
-
-2009-04-03 Eric Belanger <eric@archlinux.org>
-
- * xine-lib 1.1.16.3-1
- * Upstream update
-
-2009-02-20 Eric Belanger <eric@archlinux.org>
-
- * xine-lib 1.1.16.2-2
- * Rebuilt against faad2 2.7
-
-2009-02-11 Eric Belanger <eric@archlinux.org>
-
- * xine-lib 1.1.16.2-1
- * Upstream update
-
-2009-02-02 Eric Belanger <eric@archlinux.org>
-
- * xine-lib 1.1.16.1-2
- * Rebuilt against imagemagick 6.4.8.10
-
-2009-01-11 Eric Belanger <eric@archlinux.org>
-
- * xine-lib 1.1.16.1-1
- * Upstream update
-
-2009-01-10 Eric Belanger <eric@archlinux.org>
-
- * xine-lib 1.1.16-1
- * Upstream update
-
-2008-12-05 Eric Belanger <eric@archlinux.org>
-
- * xine-lib 1.1.15-4
- * Rebuilt against heimdal 1.2.1
- * Added xcb support
-
-2008-11-27 Eric Belanger <eric@archlinux.org>
-
- * xine-lib 1.1.15-3
- * Added jack support (close FS#12020)
- * Fixed several build issue (close FS#12117)
-
-2008-08-14 Eric Belanger <eric@archlinux.org>
-
- * xine-lib 1.1.15-1
- * Upstream update
-
-2008-07-28 Eric Belanger <eric@archlinux.org>
-
- * xine-lib 1.1.14-2
- * Switched to the more recent externel ffmpeg snapshot (close FS#10286)
- * Updated win32 codecs directory location (close FS#11011)
- * Added ChangeLog
diff --git a/abs/extra/xine-lib/PKGBUILD b/abs/extra/xine-lib/PKGBUILD
deleted file mode 100644
index d14313e..0000000
--- a/abs/extra/xine-lib/PKGBUILD
+++ /dev/null
@@ -1,50 +0,0 @@
-# $Id: PKGBUILD 91275 2010-09-25 21:56:25Z eric $
-# Maintainer: Eric Belanger <eric@archlinux.org>
-# Contributor: Judd Vinet <jvinet@zeroflux.org>
-
-pkgname=xine-lib
-pkgver=1.1.19
-pkgrel=2
-pkgdesc="A multimedia playback engine"
-arch=('i686' 'x86_64')
-url="http://www.xine-project.org"
-license=('LGPL' 'GPL')
-install=xine.install
-depends=('libgl' 'libxvmc' 'flac' 'libvorbis' 'sdl' 'libmng' 'libtheora'
- 'libxcb' 'wavpack' 'ffmpeg' 'heimdal' 'faad2')
-makedepends=('pkg-config' 'libtool' 'imagemagick' 'smbclient' 'mesa' 'alsa-lib'
- 'vcdimager' 'gtk2')
-optdepends=('imagemagick: for using the imagemagick plugin' 'smbclient: for using the smb plugin' \
- 'gtk2: for using the gdk-pixbuf plugin' 'mesa: for using the opengl plugin')
-options=('!libtool')
-#changelog=ChangeLog
-source=(http://downloads.sourceforge.net/sourceforge/xine/${pkgname}-${pkgver}.tar.bz2
- xine-lib-1.1.1-configure-no-mcpu-march.patch xine-lib-1.1.19-xvmc.patch)
-md5sums=('a410a0f0617e1d6309f0cbe907f73f8a' '9776df4eb54d2f1f68d8268adbc3b5c2'\
- '8662fb124870b1dd7effe4ff5e2a2e3d')
-sha1sums=('5afcc28c5cf2bdaab99d951960f6587797e1e5a0' '121a8358d7919b2e51067412373f52848290338a'\
- '920bf27e6e3523dfe4cc9c802ff713e9688a3f34')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- patch -p0 < ../xine-lib-1.1.1-configure-no-mcpu-march.patch
- patch -p0 < ../xine-lib-1.1.19-xvmc.patch
-
- libtoolize --force --copy
- aclocal -I m4
- autoconf
- automake --add-missing
-
- ./configure --prefix=/usr --with-w32-path=/usr/lib/codecs \
- --with-xv-path=/usr/lib --with-xxmc-path=/usr/lib --with-xvmc-path=/usr/lib \
- --with-libflac --with-wavpack --with-xcb \
- --without-arts --without-jack --without-speex \
- --disable-gnomevfs --without-pulseaudio --disable-aalib \
- --disable-modplug --with-external-ffmpeg
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-}
diff --git a/abs/extra/xine-lib/__changelog b/abs/extra/xine-lib/__changelog
deleted file mode 100644
index 0f4719d..0000000
--- a/abs/extra/xine-lib/__changelog
+++ /dev/null
@@ -1,3 +0,0 @@
-add xine.install
-disable jack
-disable esound
diff --git a/abs/extra/xine-lib/xine-lib-1.1.1-configure-no-mcpu-march.patch b/abs/extra/xine-lib/xine-lib-1.1.1-configure-no-mcpu-march.patch
deleted file mode 100644
index 4b6ba9e..0000000
--- a/abs/extra/xine-lib/xine-lib-1.1.1-configure-no-mcpu-march.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- m4/optimizations.m4.orig 2005-11-27 01:20:08.000000000 +0100
-+++ m4/optimizations.m4 2005-11-27 01:22:56.000000000 +0100
-@@ -161,10 +161,6 @@
- ;;
-
- esac
-- if test x"$archopt_val" != x; then
-- CFLAGS="$sarchopt=$archopt_val $CFLAGS"
-- DEBUG_CFLAGS="$sarchopt=$archopt_val $DEBUG_CFLAGS"
-- fi
- fi
- else
- dnl we have the Intel compiler
diff --git a/abs/extra/xine-lib/xine-lib-1.1.19-xvmc.patch b/abs/extra/xine-lib/xine-lib-1.1.19-xvmc.patch
deleted file mode 100644
index bef8b0b..0000000
--- a/abs/extra/xine-lib/xine-lib-1.1.19-xvmc.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-Quoting ChangeLog of X11's videoproto package:
-vldXvMC.h: stop uselessly including XvMClib.h
-
---- src/video_out/xxmc.h
-+++ src/video_out/xxmc.h
-@@ -77,10 +77,10 @@
- #include <X11/extensions/XShm.h>
- #include <X11/extensions/Xv.h>
- #include <X11/extensions/Xvlib.h>
-+#include <X11/extensions/XvMClib.h>
- #ifdef HAVE_VLDXVMC
- #include <X11/extensions/vldXvMC.h>
- #else
-- #include <X11/extensions/XvMClib.h>
- #include <X11/extensions/XvMC.h>
- #endif
-
diff --git a/abs/extra/xine-lib/xine.install b/abs/extra/xine-lib/xine.install
deleted file mode 100755
index f9102ee..0000000
--- a/abs/extra/xine-lib/xine.install
+++ /dev/null
@@ -1,27 +0,0 @@
-# arg 1: the new package version
- post_install() {
- MYTHOME=` su - mythtv -c "echo ~" `
- if [ ! -f $MYTHOME/.xine/config ]
- then
- echo "Copying in standard config file for xine"
- mkdir -p $MYTHOME/.xine/
- cp -rp $TEMPLATES/xine.config.template $MYTHOME/.xine/config
- chown -R mythtv:mythtv $MYTHOME/.xine
- fi
- }
-
-# # arg 1: the new package version
-# # arg 2: the old package version
- post_upgrade() {
- post_install $1
- }
-#
-# # arg 1: the old package version
- post_remove() {
- /bin/true
- }
-
-op=$1
-shift
-
-$op $*
diff --git a/abs/extra/xine-ui/PKGBUILD b/abs/extra/xine-ui/PKGBUILD
deleted file mode 100644
index 59ae0cb..0000000
--- a/abs/extra/xine-ui/PKGBUILD
+++ /dev/null
@@ -1,43 +0,0 @@
-# $Id$
-# Maintainer: Eric Bélanger <eric@archlinux.org>
-
-pkgname=xine-ui
-pkgver=0.99.6
-pkgrel=2
-pkgdesc="A free video player for Unix"
-arch=('i686' 'x86_64')
-license=('GPL')
-url="http://www.xine-project.org"
-depends=('xine-lib' 'curl' 'libxtst' 'libxinerama' 'libxv' 'libpng' 'libxft'
- 'libxxf86vm' 'readline' 'xdg-utils' 'shared-mime-info' 'hicolor-icon-theme'
- 'desktop-file-utils' 'lirc-utils')
-makedepends=('libxt')
-options=('!emptydirs' '!strip')
-install=xine-ui.install
-source=(http://downloads.sourceforge.net/xine/${pkgname}-${pkgver}.tar.xz
- lirc-check-a89347673097.patch lirc-makefile-a68dd15ff7ae.patch
- fix_lirc.diff xine-ui-xdg.diff)
-md5sums=('d468b4e7fe39ff19888261e1da9be914'
- '4f06f63f5fd55b08a648e5d63f881898'
- '9f5acaf14f3945aa2ce428631d09cd47'
- '0174bd096756b9c6f47e9b8b5ff6e145'
- '5972b4061acf3b553760de9ae2178d38')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- patch -p1 < "${srcdir}/lirc-check-a89347673097.patch"
- patch -p1 < "${srcdir}/lirc-makefile-a68dd15ff7ae.patch"
- patch -p1 < "${srcdir}/fix_lirc.diff"
- patch -p1 < "${srcdir}/xine-ui-xdg.diff"
- autoconf
- ./configure --prefix=/usr --mandir=/usr/share/man \
- --with-x --enable-lirc --without-aalib --enable-debug
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -d "${pkgdir}/usr/share/applications"
- mv "${pkgdir}/usr/share/xine/desktop/xine.desktop" "${pkgdir}/usr/share/applications"
-}
diff --git a/abs/extra/xine-ui/fix_lirc.diff b/abs/extra/xine-ui/fix_lirc.diff
deleted file mode 100644
index 93890cb..0000000
--- a/abs/extra/xine-ui/fix_lirc.diff
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/m4/_xine.m4 b/m4/_xine.m4
---- a/m4/_xine.m4
-+++ b/m4/_xine.m4
-@@ -46,7 +46,8 @@ AC_DEFUN([AC_CHECK_LIRC],
- fi
- for llirc in $lirc_libprefix /lib /usr/lib /usr/local/lib; do
- AC_CHECK_FILE(["$llirc/liblirc_client.so"],
-- [LIRC_LIBS="$llirc/liblirc_client.so"]
-+ [LIRC_LIBS="$llirc/liblirc_client.so"
-+ found_lirc=yes]
- AC_DEFINE([HAVE_LIRC],,[Define this if you have LIRC (liblirc_client) installed]),
- AC_CHECK_FILE(["$llirc/liblirc_client.a"],
- [LIRC_LIBS="$llirc/liblirc_client.a"
diff --git a/abs/extra/xine-ui/lirc-check-a89347673097.patch b/abs/extra/xine-ui/lirc-check-a89347673097.patch
deleted file mode 100644
index c1c8d26..0000000
--- a/abs/extra/xine-ui/lirc-check-a89347673097.patch
+++ /dev/null
@@ -1,64 +0,0 @@
-
-# HG changeset patch
-# User Darren Salt <linux@youmustbejoking.demon.co.uk>
-# Date 1268754560 0
-# Node ID a89347673097053d89675e991ab403cda04d94cd
-# Parent ed3079d668ed5291d1daf7096d6b42c90ee06e11
-Resync LIRC check with gxine; no longer fails if liblircclient0.pc is missing.
-
---- a/m4/_xine.m4 Sun Mar 14 18:04:46 2010 +0000
-+++ b/m4/_xine.m4 Tue Mar 16 15:49:20 2010 +0000
-@@ -25,14 +25,14 @@
- dnl
- AC_DEFUN([AC_CHECK_LIRC],
- [AC_ARG_ENABLE(lirc,
-- [ --disable-lirc Turn off LIRC support.],
-- [], enable_lirc=yes)
-+ [AS_HELP_STRING([--disable-lirc], [turn off LIRC support])],
-+ [given=Y], [given=N; enable_lirc=yes])
-
- found_lirc=no
- if test x"$enable_lirc" = xyes; then
- have_lirc=yes
-- PKG_CHECK_MODULES(LIRC, liblircclient0, [found_lirc=yes], [])
-- if test "$LIRC_CFLAGS" != ''; then
-+ PKG_CHECK_MODULES(LIRC, liblircclient0, [found_lirc=yes], [:])
-+ if test "$found_lirc" = yes; then
- LIRC_INCLUDE="$LIRC_CFLAGS"
- else
- AC_REQUIRE_CPP
-@@ -42,15 +42,20 @@
-
- if test x"$LIRC_PREFIX" != "x"; then
- lirc_libprefix="$LIRC_PREFIX/lib"
-- LIRC_INCLUDE="-I$LIRC_PREFIX/include"
-+ LIRC_INCLUDE="-I$LIRC_PREFIX/include"
- fi
- for llirc in $lirc_libprefix /lib /usr/lib /usr/local/lib; do
-- AC_CHECK_FILE(["$llirc/liblirc_client.a"],
-- [LIRC_LIBS="$llirc/liblirc_client.a"
-- found_lirc=yes],,)
-+ AC_CHECK_FILE(["$llirc/liblirc_client.so"],
-+ [LIRC_LIBS="$llirc/liblirc_client.so"]
-+ AC_DEFINE([HAVE_LIRC],,[Define this if you have LIRC (liblirc_client) installed]),
-+ AC_CHECK_FILE(["$llirc/liblirc_client.a"],
-+ [LIRC_LIBS="$llirc/liblirc_client.a"
-+ found_lirc=yes],,)
-+ )
- done
- else
-- AC_MSG_RESULT([*** LIRC client support not available, LIRC support will be disabled ***]);
-+ test $given = Y && AC_MSG_ERROR([LIRC client support requested but not available])
-+ AC_MSG_RESULT([*** LIRC client support not available, LIRC support will be disabled ***])
- fi
- fi
- fi
-@@ -59,7 +64,6 @@
- fi
- AC_SUBST(LIRC_LIBS)
- AC_SUBST(LIRC_INCLUDE)
-- AM_CONDITIONAL([HAVE_LIRC], [test "x$have_lirc" = "xyes"])
- ])
-
- dnl AC_C_ATTRIBUTE_ALIGNED
-
diff --git a/abs/extra/xine-ui/lirc-makefile-a68dd15ff7ae.patch b/abs/extra/xine-ui/lirc-makefile-a68dd15ff7ae.patch
deleted file mode 100644
index daad4f0..0000000
--- a/abs/extra/xine-ui/lirc-makefile-a68dd15ff7ae.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-
-# HG changeset patch
-# User Darren Salt <linux@youmustbejoking.demon.co.uk>
-# Date 1268758696 0
-# Node ID a68dd15ff7ae4be65c2ace25ef66966d7c272514
-# Parent 882c464d4a650d09da37ade366face74452c1897
-Restore definition of HAVE_LIRC for use in makefiles.
-
---- a/m4/_xine.m4 Mon Mar 15 12:03:01 2010 -0700
-+++ b/m4/_xine.m4 Tue Mar 16 16:58:16 2010 +0000
-@@ -62,6 +62,7 @@
- if test "$found_lirc" = yes; then
- AC_DEFINE([HAVE_LIRC],,[Define this if you have LIRC (liblirc_client) installed])
- fi
-+ AM_CONDITIONAL([HAVE_LIRC], [test "$found_lirc" = yes])
- AC_SUBST(LIRC_LIBS)
- AC_SUBST(LIRC_INCLUDE)
- ])
-
diff --git a/abs/extra/xine-ui/xine-ui-xdg.diff b/abs/extra/xine-ui/xine-ui-xdg.diff
deleted file mode 100644
index 959d674..0000000
--- a/abs/extra/xine-ui/xine-ui-xdg.diff
+++ /dev/null
@@ -1,206 +0,0 @@
---- xine-ui-0.99.6.orig/src/xitk/common.h
-+++ xine-ui-0.99.6/src/xitk/common.h
-@@ -331,6 +331,5 @@ typedef struct {
- int use_root_window;
-
- int ssaver_enabled;
-- int ssaver_timeout;
-
- int skip_by_chapter;
---- xine-ui-0.99.6.orig/src/xitk/main.c
-+++ xine-ui-0.99.6/src/xitk/main.c
-@@ -1383,6 +1383,8 @@ int main(int argc, char *argv[]) {
- if (sigprocmask (SIG_BLOCK, &vo_mask, NULL))
- fprintf (stderr, "sigprocmask() failed.\n");
-
-+ signal(SIGCHLD, SIG_IGN);
-+
- gGui = (gGui_t *) calloc(1, sizeof(gGui_t));
-
- gGui->stream = NULL;
---- xine-ui-0.99.6.orig/src/xitk/panel.c
-+++ xine-ui-0.99.6/src/xitk/panel.c
-@@ -356,7 +356,6 @@ void panel_update_runtime_display(void)
- * Update slider thread.
- */
- static void *slider_loop(void *dummy) {
-- int screensaver_timer = 0;
- int status, speed;
- int pos, secs;
- int i = 0;
-@@ -441,20 +440,7 @@ static void *slider_loop(void *dummy) {
- else
- video_window_set_mrl((char *)gGui->mmk.mrl);
-
-- if(!xitk_is_window_iconified(gGui->video_display, gGui->video_window)) {
--
-- if(gGui->ssaver_timeout) {
--
-- if(!(i % 2))
-- screensaver_timer++;
--
-- if(screensaver_timer >= gGui->ssaver_timeout) {
-- screensaver_timer = 0;
-- video_window_reset_ssaver();
--
-- }
-- }
-- }
-+ video_window_suspend_ssaver(!xitk_is_window_iconified(gGui->video_display, gGui->video_window));
-
- if(gGui->logo_mode == 0) {
-
-@@ -494,6 +480,8 @@ static void *slider_loop(void *dummy) {
- stream_infos_update_infos();
-
- }
-+ } else {
-+ video_window_suspend_ssaver(0);
- }
- }
-
---- xine-ui-0.99.6.orig/src/xitk/videowin.c
-+++ xine-ui-0.99.6/src/xitk/videowin.c
-@@ -1087,6 +1087,9 @@ static void video_window_adapt_size (voi
-
- /* The old window should be destroyed now */
- if(old_video_window != None) {
-+ /* Screensaver control is tied to our window id */
-+ video_window_suspend_ssaver(0);
-+
- XDestroyWindow(gGui->video_display, old_video_window);
-
- if(gGui->cursor_grabbed)
-@@ -2261,69 +2264,34 @@ static void video_window_handle_event (X
-
- }
-
--void video_window_reset_ssaver(void) {
-+void video_window_suspend_ssaver(int do_suspend) {
-+ static int was_suspended;
-
-- if(gGui->ssaver_enabled && (xitk_get_last_keypressed_time() >= (long int) gGui->ssaver_timeout)) {
-+ do_suspend = do_suspend && gGui->ssaver_enabled;
-
--#ifdef HAVE_XTESTEXTENSION
-- if(gVw.have_xtest == True) {
--
-- gVw.fake_key_cur++;
--
-- if(gVw.fake_key_cur >= 2)
-- gVw.fake_key_cur = 0;
--
-- XLockDisplay(gGui->video_display);
-- XTestFakeKeyEvent(gGui->video_display, gVw.fake_keys[gVw.fake_key_cur], True, CurrentTime);
-- XTestFakeKeyEvent(gGui->video_display, gVw.fake_keys[gVw.fake_key_cur], False, CurrentTime);
-- XSync(gGui->video_display, False);
-- XUnlockDisplay(gGui->video_display);
-+ if(was_suspended != do_suspend) {
-+ if(fork() == 0) {
-+ char window_id[30];
-+ char *args[] = { "xdg-screensaver", NULL, window_id, NULL };
-+ int fd;
-+
-+ for(fd = 3; fd < 256; fd++)
-+ close(fd);
-+
-+ args[1] = do_suspend ? "suspend" : "resume";
-+ sprintf(window_id, "%lu", (unsigned long)gGui->video_window);
-+ execvp(args[0], args);
-+ _exit(0);
- }
-- else
--#endif
-- {
-- /* Reset the gnome screensaver. Look up the command in PATH only once to save time, */
-- /* assuming its location and permission will not change during run time of xine-ui. */
-- {
-- static char *const gssaver_args[] = { "gnome-screensaver-command", "--poke", NULL };
-- static char *gssaver_path = NULL;
--
-- if(!gssaver_path) {
-- char *path = getenv("PATH");
--
-- if(!path)
-- path = "/usr/local/bin:/usr/bin";
-- do {
-- char *p, *pbuf;
-- int plen;
--
-- for(p = path; *path && *path != ':'; path++)
-- ;
-- if(p == path)
-- plen = 1, p = ".";
-- else
-- plen = path - p;
-- asprintf(&pbuf, "%.*s/%s", plen, p, gssaver_args[0]);
-- if ( access(pbuf, X_OK) ) {
-- free(pbuf);
-- gssaver_path = "";
-- } else
-- gssaver_path = pbuf;
-- } while(!gssaver_path[0] && *path++);
-- }
-- if(gssaver_path[0] && (fork() == 0)) {
-- execv(gssaver_path, gssaver_args);
-- exit(0);
-- }
-- }
-
-- XLockDisplay(gGui->video_display);
-- XResetScreenSaver(gGui->video_display);
-- XUnlockDisplay(gGui->video_display);
-- }
-+ was_suspended = do_suspend;
- }
- }
-
-+void video_window_reset_ssaver(void) {
-+ video_window_suspend_ssaver(1);
-+}
-+
- void video_window_get_frame_size(int *w, int *h) {
- if(w)
- *w = gVw.frame_width;
---- xine-ui-0.99.6.orig/src/xitk/videowin.h
-+++ xine-ui-0.99.6/src/xitk/videowin.h
-@@ -81,6 +81,7 @@ void video_window_get_mag (float *xmag,
- void video_window_update_logo(void);
- void video_window_change_skins(int);
-
-+void video_window_suspend_ssaver(int do_suspend);
- void video_window_reset_ssaver(void);
-
- void video_window_get_frame_size(int *w, int *h);
---- xine-ui-0.99.6.orig/src/xitk/event.c
-+++ xine-ui-0.99.6/src/xitk/event.c
-@@ -135,9 +135,6 @@ static void skip_by_chapter_cb(void *dat
- gGui->skip_by_chapter = cfg->num_value;
- panel_update_nextprev_tips();
- }
--static void ssaver_timeout_cb(void *data, xine_cfg_entry_t *cfg) {
-- gGui->ssaver_timeout = cfg->num_value;
--}
-
- static void visual_anim_cb(void *data, xine_cfg_entry_t *cfg) {
-
-@@ -1614,14 +1611,6 @@ void gui_init (int nfiles, char *filenam
- snapshot_loc_cb,
- CONFIG_NO_DATA);
-
-- gGui->ssaver_timeout =
-- xine_config_register_num (__xineui_global_xine_instance, "gui.screensaver_timeout", 10,
-- _("Screensaver reset interval (s)"),
-- _("Time, in seconds, between two faked events to keep a screensaver quiet, 0 to disable."),
-- CONFIG_LEVEL_ADV,
-- ssaver_timeout_cb,
-- CONFIG_NO_DATA);
--
- gGui->skip_by_chapter =
- xine_config_register_bool (__xineui_global_xine_instance, "gui.skip_by_chapter", 1,
- _("Chapter hopping"),
-
-
-
-
-
diff --git a/abs/extra/xine-ui/xine-ui.install b/abs/extra/xine-ui/xine-ui.install
deleted file mode 100644
index 3b3aff7..0000000
--- a/abs/extra/xine-ui/xine-ui.install
+++ /dev/null
@@ -1,13 +0,0 @@
-post_install() {
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
- update-mime-database usr/share/mime &> /dev/null
- update-desktop-database -q
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
diff --git a/abs/extra/xmbmon/Makefile.in.patch b/abs/extra/xmbmon/Makefile.in.patch
deleted file mode 100644
index be3bf73..0000000
--- a/abs/extra/xmbmon/Makefile.in.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-diff -ru xmbmon205.orig/Makefile.in xmbmon205/Makefile.in
---- xmbmon205.orig/Makefile.in 2004-08-13 17:04:21.000000000 +1000
-+++ xmbmon205/Makefile.in 2008-06-14 00:59:35.000000000 +1000
-@@ -37,11 +37,11 @@
- RM=rm -f
- INSTALL=install
-
--INST_DIR=/usr/local/bin
--INST_MANDIR=/usr/local/man/man1
--INST_XDIR=/usr/X11R6/bin
--INST_MANXDIR=/usr/X11R6/man/man1
--INST_XRDIR=/usr/X11R6/lib/X11/app-defaults
-+INST_DIR=/usr/bin
-+INST_MANDIR=/usr/share/man/man1
-+INST_XDIR=/usr/bin
-+INST_MANXDIR=/usr/share/man/man1
-+INST_XRDIR=/usr/lib/X11/app-defaults
-
- .c.o:
- $(CC) -c $(CFLAGS) $*.c
-@@ -133,12 +133,12 @@
- $(RM) Makefile config.cache config.log config.h config.status
-
- install: $(PROGRAM)
-- $(INSTALL) -o root -g wheel -m 4555 -c -p mbmon $(INST_DIR)
-- $(INSTALL) -o root -g wheel -m 4555 -c -p xmbmon $(INST_XDIR)
-+ $(INSTALL) -o root -g wheel -m 4555 -c -p mbmon $(DESTDIR)$(INST_DIR)
-+ $(INSTALL) -o root -g wheel -m 4555 -c -p xmbmon $(DESTDIR)$(INST_XDIR)
-
- install-man: $(MANPAGE)
-- $(INSTALL) -o root -g wheel -m 444 -c -p mbmon.1 $(INST_MANDIR)
-- $(INSTALL) -o root -g wheel -m 444 -c -p xmbmon.1x $(INST_MANXDIR)
-+ $(INSTALL) -o root -g wheel -m 444 -c -p mbmon.1 $(DESTDIR)$(INST_MANDIR)
-+ $(INSTALL) -o root -g wheel -m 444 -c -p xmbmon.1x $(DESTDIR)$(INST_MANXDIR)
-
- lint:
- $(LINT) $(INCLUDES) $(DEFS) $(FONTDEFINES) $(SRCS) -lm
diff --git a/abs/extra/xmbmon/PKGBUILD b/abs/extra/xmbmon/PKGBUILD
deleted file mode 100644
index 348094b..0000000
--- a/abs/extra/xmbmon/PKGBUILD
+++ /dev/null
@@ -1,20 +0,0 @@
-# Contributor: Jonathan Liu <net147@hotmail.com>
-pkgname=xmbmon
-pkgver=2.05
-pkgrel=2
-pkgdesc="X Motherboard Monitor"
-arch=('i686' 'x86_64')
-url="http://www.nt.phys.kyushu-u.ac.jp/shimizu/download/download.html"
-license=('GPL')
-source=(http://www.nt.phys.kyushu-u.ac.jp/shimizu/download/xmbmon/xmbmon205.tar.gz
- Makefile.in.patch)
-md5sums=('ab6614c785f5b653fcc69fb9c02058f0'
- 'e417a1a04b95bc3505b74a52faa54c4a')
-
-build() {
- cd $startdir/src/xmbmon205
- patch -Np1 -i $startdir/src/Makefile.in.patch
- ./configure
- mkdir -p $startdir/pkg/usr/{bin,share/man/man1}
- make DESTDIR=$startdir/pkg install install-man || return 1
-}
diff --git a/abs/extra/xulrunner/PKGBUILD b/abs/extra/xulrunner/PKGBUILD
deleted file mode 100644
index 36ed257..0000000
--- a/abs/extra/xulrunner/PKGBUILD
+++ /dev/null
@@ -1,69 +0,0 @@
-# $Id: PKGBUILD 97209 2010-10-27 20:57:31Z ibiru $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-# Contributor: Alexander Baldeck <alexander@archlinux.org>
-pkgname=xulrunner
-pkgver=1.9.2.12
-_ffoxver=3.6.12
-pkgrel=1
-pkgdesc="Mozilla Runtime Environment"
-arch=('i686' 'x86_64')
-license=('MPL' 'GPL' 'LGPL')
-depends=('gtk2>=2.22.0' 'gcc-libs' 'libidl2>=0.8.13' 'mozilla-common' 'nss>=3.12.8' 'libxt' 'hunspell>=1.2.8' 'startup-notification>=0.10' 'mime-types' 'dbus-glib>=0.86' 'alsa-lib>=1.0.23' 'libevent')
-makedepends=('zip' 'pkg-config' 'diffutils' 'libgnomeui' 'python2' 'wireless_tools' 'autoconf2.13')
-optdepends=('libgnomeui: GNOME integration and MIME handling'
- 'wireless_tools: Location aware browsing')
-url="http://wiki.mozilla.org/XUL:Xul_Runner"
-source=(http://releases.mozilla.org/pub/mozilla.org/firefox/releases/${_ffoxver}/source/firefox-${_ffoxver}.source.tar.bz2
- mozconfig
- mozilla-pkgconfig.patch
- fix-mozilla-launcher.patch
- xulrunner-version.patch
- xulrunner-png14.patch
- enable-x86_64-tracemonkey.patch
- python2.7.patch)
-md5sums=('80f4d83f23a7c45fc3f1904964ea2a5a'
- 'e195cdcd51a8fb6fc77f0f653ff1e582'
- '2d2d7143a4e0bfe71149a51f8dbbab2f'
- '63eee2d1da3b43c9d604f2253f242f40'
- '371303c5bdc4fa0d955d14521b93b69d'
- '3bd0566180ad2daa32743b3ce58b2095'
- 'cbd938cd1fb8210cd8a2c41833489af9'
- 'ab3dc9aecae7f08b9492fb3c00a5fd28')
-
-build() {
- cd "${srcdir}/mozilla-1.9.2"
- cp "${srcdir}/mozconfig" .mozconfig
-
- #fix libdir/sdkdir - fedora
- patch -Np1 -i "${srcdir}/mozilla-pkgconfig.patch"
-
- #Fix stub launcher - archlinux
- patch -Np0 -i "${srcdir}/fix-mozilla-launcher.patch"
-
- #Force installation to the same path for every version
- patch -Np1 -i "${srcdir}/xulrunner-version.patch"
-
- #Fix compile with libpng 1.4
- patch -Np0 -i "${srcdir}/xulrunner-png14.patch"
-
- #Tracemonkey for x86_64
- patch -Np0 -i "${srcdir}/enable-x86_64-tracemonkey.patch"
-
- #python2.7
- patch -Np0 -i "${srcdir}/python2.7.patch"
-
- unset CFLAGS
- unset CXXFLAGS
-
- make -j1 -f client.mk build MOZ_MAKE_FLAGS="$MAKEFLAGS"
- make -j1 DESTDIR="${pkgdir}" install
-
- #Remove included dictionaries, add symlink to system myspell path.
- #Note: this will cause file conflicts when users have installed dictionaries in the old location
- rm -rf "${pkgdir}/usr/lib/xulrunner-1.9.2/dictionaries"
- ln -sf /usr/share/myspell "${pkgdir}/usr/lib/xulrunner-1.9.2/dictionaries"
-
- # add xulrunner library path to ld.so.conf
- install -d ${pkgdir}/etc/ld.so.conf.d
- echo "/usr/lib/xulrunner-1.9.2" > ${pkgdir}/etc/ld.so.conf.d/xulrunner.conf
-}
diff --git a/abs/extra/xulrunner/enable-x86_64-tracemonkey.patch b/abs/extra/xulrunner/enable-x86_64-tracemonkey.patch
deleted file mode 100644
index b72ad76..0000000
--- a/abs/extra/xulrunner/enable-x86_64-tracemonkey.patch
+++ /dev/null
@@ -1,25 +0,0 @@
---- js/src/configure.in.old 2009-11-08 19:50:54.299642792 -0500
-+++ js/src/configure.in 2009-11-08 19:57:49.235621814 -0500
-@@ -2465,6 +2465,10 @@
- ENABLE_JIT=1
- NANOJIT_ARCH=i386
- ;;
-+x86_64*-*)
-+ ENABLE_JIT=1
-+ NANOJIT_ARCH=X64
-+ ;;
- arm*-*)
- ENABLE_JIT=1
- NANOJIT_ARCH=ARM
-@@ -2488,7 +2492,10 @@
- i?86-*)
- AC_DEFINE(AVMPLUS_IA32)
- ;;
--
-+x86_64*-*)
-+ AC_DEFINE(AVMPLUS_AMD64)
-+ AC_DEFINE(AVMPLUS_64BIT)
-+ ;;
- arm*-*)
- AC_DEFINE(AVMPLUS_ARM)
- ;;
diff --git a/abs/extra/xulrunner/fix-mozilla-launcher.patch b/abs/extra/xulrunner/fix-mozilla-launcher.patch
deleted file mode 100644
index de64e4c..0000000
--- a/abs/extra/xulrunner/fix-mozilla-launcher.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- xulrunner/stub/nsXULStub.cpp 2008-07-17 21:43:11.000000000 +0200
-+++ xulrunner/stub/nsXULStub.cpp 2008-07-17 21:47:04.000000000 +0200
-@@ -208,8 +208,10 @@
- // 3) give up
-
- struct stat fileStat;
-+ char *testp;
-
-- if (!realpath(argv[0], iniPath) || stat(iniPath, &fileStat)) {
-+ testp = realpath(argv[0], iniPath);
-+ if (!(testp != NULL && stat(iniPath, &fileStat) == 0 && S_ISREG(fileStat.st_mode) && fileStat.st_mode & S_IXUSR) || (testp != NULL && stat(iniPath, &fileStat))) {
- const char *path = getenv("PATH");
- if (!path)
- return 1;
-@@ -222,7 +224,7 @@
- char *token = strtok(pathdup, ":");
- while (token) {
- sprintf(tmpPath, "%s/%s", token, argv[0]);
-- if (realpath(tmpPath, iniPath) && stat(iniPath, &fileStat) == 0) {
-+ if (realpath(tmpPath, iniPath) && stat(iniPath, &fileStat) == 0 && S_ISREG(fileStat.st_mode) && fileStat.st_mode & S_IXUSR) {
- found = PR_TRUE;
- break;
- }
diff --git a/abs/extra/xulrunner/mozconfig b/abs/extra/xulrunner/mozconfig
deleted file mode 100644
index 2b23fc7..0000000
--- a/abs/extra/xulrunner/mozconfig
+++ /dev/null
@@ -1,36 +0,0 @@
-. $topsrcdir/xulrunner/config/mozconfig
-ac_add_options --prefix=/usr
-ac_add_options --libdir=/usr/lib
-ac_add_options --with-system-nspr
-ac_add_options --with-system-nss
-ac_add_options --with-system-jpeg
-ac_add_options --with-system-zlib
-ac_add_options --with-system-bz2
-ac_add_options --with-system-png
-ac_add_options --with-system-libevent
-ac_add_options --enable-system-hunspell
-#disabled: mozilla is broken with recent versions of sqlite
-#ac_add_options --enable-system-sqlite
-#disabled: mozilla is broken with cairo 1.10
-#ac_add_options --enable-system-cairo
-ac_add_options --with-pthreads
-ac_add_options --enable-strip
-ac_add_options --disable-tests
-ac_add_options --disable-mochitest
-ac_add_options --disable-installer
-ac_add_options --disable-debug
-ac_add_options --enable-optimize
-ac_add_options --enable-default-toolkit=cairo-gtk2
-ac_add_options --enable-pango
-ac_add_options --enable-svg
-ac_add_options --enable-canvas
-ac_add_options --disable-javaxpcom
-ac_add_options --disable-crashreporter
-ac_add_options --enable-safe-browsing
-ac_add_options --enable-startup-notification
-ac_add_options --enable-extensions=default
-
-export BUILD_OFFICIAL=1
-export MOZILLA_OFFICIAL=1
-mk_add_options BUILD_OFFICIAL=1
-mk_add_options MOZILLA_OFFICIAL=1
diff --git a/abs/extra/xulrunner/mozilla-pkgconfig.patch b/abs/extra/xulrunner/mozilla-pkgconfig.patch
deleted file mode 100644
index a42d2a3..0000000
--- a/abs/extra/xulrunner/mozilla-pkgconfig.patch
+++ /dev/null
@@ -1,70 +0,0 @@
-diff -Nur mozilla-1.9.2.orig/xulrunner/installer/libxul-embedding.pc.in mozilla-1.9.2/xulrunner/installer/libxul-embedding.pc.in
---- mozilla-1.9.2.orig/xulrunner/installer/libxul-embedding.pc.in 2010-01-21 05:31:27.000000000 +0200
-+++ mozilla-1.9.2/xulrunner/installer/libxul-embedding.pc.in 2010-01-21 22:27:17.000000000 +0200
-@@ -6,5 +6,6 @@
- Name: libxul-embedding
- Description: Static library for version-independent embedding of the Mozilla runtime
- Version: %MOZILLA_VERSION%
-+Requires: %NSPR_NAME% >= %NSPR_VERSION%
- Libs: -L${sdkdir}/lib -lxpcomglue
- Cflags: -DXPCOM_GLUE -I${includedir} %WCHAR_CFLAGS%
-diff -Nur mozilla-1.9.2.orig/xulrunner/installer/libxul.pc.in mozilla-1.9.2/xulrunner/installer/libxul.pc.in
---- mozilla-1.9.2.orig/xulrunner/installer/libxul.pc.in 2010-01-21 05:31:27.000000000 +0200
-+++ mozilla-1.9.2/xulrunner/installer/libxul.pc.in 2010-01-21 22:27:56.000000000 +0200
-@@ -1,5 +1,6 @@
- prefix=%prefix%
- sdkdir=%sdkdir%
-+libdir=%libdir%
- includedir=%includedir%
- idldir=%idldir%
-
-diff -Nur mozilla-1.9.2.orig/xulrunner/installer/Makefile.in mozilla-1.9.2/xulrunner/installer/Makefile.in
---- mozilla-1.9.2.orig/xulrunner/installer/Makefile.in 2010-01-21 05:31:27.000000000 +0200
-+++ mozilla-1.9.2/xulrunner/installer/Makefile.in 2010-01-21 22:25:04.000000000 +0200
-@@ -121,6 +121,7 @@
- -e "s|%includedir%|$(includedir)|" \
- -e "s|%idldir%|$(idldir)|" \
- -e "s|%sdkdir%|$(sdkdir)|" \
-+ -e "s|%libdir%|$(installdir)|" \
- -e "s|%MOZ_APP_NAME%|$(MOZ_APP_NAME)|" \
- -e "s|%MOZILLA_VERSION%|$(MOZ_APP_VERSION)|" \
- -e "s|%WCHAR_CFLAGS%|$(WCHAR_CFLAGS)|" \
-diff -Nur mozilla-1.9.2.orig/xulrunner/installer/mozilla-gtkmozembed-embedding.pc.in mozilla-1.9.2/xulrunner/installer/mozilla-gtkmozembed-embedding.pc.in
---- mozilla-1.9.2.orig/xulrunner/installer/mozilla-gtkmozembed-embedding.pc.in 2010-01-21 05:31:27.000000000 +0200
-+++ mozilla-1.9.2/xulrunner/installer/mozilla-gtkmozembed-embedding.pc.in 2010-01-21 22:28:15.000000000 +0200
-@@ -1,5 +1,6 @@
- prefix=%prefix%
- sdkdir=%sdkdir%
-+libdir=%libdir%
- includedir=%includedir%
-
- Name: mozilla-gtkembedmoz
-diff -Nur mozilla-1.9.2.orig/xulrunner/installer/mozilla-gtkmozembed.pc.in mozilla-1.9.2/xulrunner/installer/mozilla-gtkmozembed.pc.in
---- mozilla-1.9.2.orig/xulrunner/installer/mozilla-gtkmozembed.pc.in 2010-01-21 05:31:27.000000000 +0200
-+++ mozilla-1.9.2/xulrunner/installer/mozilla-gtkmozembed.pc.in 2010-01-21 22:28:27.000000000 +0200
-@@ -1,5 +1,6 @@
- prefix=%prefix%
- sdkdir=%sdkdir%
-+libdir=%libdir%
- includedir=%includedir%
-
- Name: mozilla-gtkembedmoz
-diff -Nur mozilla-1.9.2.orig/xulrunner/installer/mozilla-js.pc.in mozilla-1.9.2/xulrunner/installer/mozilla-js.pc.in
---- mozilla-1.9.2.orig/xulrunner/installer/mozilla-js.pc.in 2010-01-21 05:31:27.000000000 +0200
-+++ mozilla-1.9.2/xulrunner/installer/mozilla-js.pc.in 2010-01-21 22:29:30.000000000 +0200
-@@ -7,4 +7,4 @@
- Version: %MOZILLA_VERSION%
- Requires: %NSPR_NAME% >= %NSPR_VERSION%
- Libs: -L${sdkdir}/lib -lmozjs
--Cflags: -I${includedir} -DXP_UNIX -DJS_THREADSAFE
-+Cflags: -I${includedir} -I${includedir}/js -DXP_UNIX -DJS_THREADSAFE
-diff -Nur mozilla-1.9.2.orig/xulrunner/installer/mozilla-plugin.pc.in mozilla-1.9.2/xulrunner/installer/mozilla-plugin.pc.in
---- mozilla-1.9.2.orig/xulrunner/installer/mozilla-plugin.pc.in 2010-01-21 05:31:27.000000000 +0200
-+++ mozilla-1.9.2/xulrunner/installer/mozilla-plugin.pc.in 2010-01-21 22:29:58.000000000 +0200
-@@ -5,5 +5,5 @@
- Name: Mozilla Plug-In API
- Description: Mozilla Plug-In API
- Version: %MOZILLA_VERSION%
--Cflags: -I${includedir}/stable -DXP_UNIX %ojidef%
-+Cflags: -I${includedir} -DXP_UNIX %ojidef%
-
diff --git a/abs/extra/xulrunner/python2.7.patch b/abs/extra/xulrunner/python2.7.patch
deleted file mode 100644
index 05a3e91..0000000
--- a/abs/extra/xulrunner/python2.7.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure.in 2010-10-12 10:44:37.000000000 -0700
-+++ configure.in~ 2010-10-19 09:51:49.660019364 -0700
-@@ -811,7 +811,7 @@
- AC_MSG_RESULT([yes])
- fi
-
--MOZ_PATH_PROGS(PYTHON, $PYTHON python2.5 python2.4 python)
-+MOZ_PATH_PROGS(PYTHON, $PYTHON python2.7 python2.5 python2.4 python)
- if test -z "$PYTHON"; then
- AC_MSG_ERROR([python was not found in \$PATH])
- fi
diff --git a/abs/extra/xulrunner/xulrunner-png14.patch b/abs/extra/xulrunner/xulrunner-png14.patch
deleted file mode 100644
index f512416..0000000
--- a/abs/extra/xulrunner/xulrunner-png14.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- modules/libpr0n/encoders/png/nsPNGEncoder.cpp.orig 2010-01-17 00:15:53.979744638 +0100
-+++ modules/libpr0n/encoders/png/nsPNGEncoder.cpp 2010-01-17 00:16:07.855993411 +0100
-@@ -135,7 +135,7 @@
-
- // initialize
- mPNG = png_create_write_struct(PNG_LIBPNG_VER_STRING,
-- png_voidp_NULL,
-+ NULL,
- ErrorCallback,
- ErrorCallback);
- if (! mPNG)
diff --git a/abs/extra/xulrunner/xulrunner-version.patch b/abs/extra/xulrunner/xulrunner-version.patch
deleted file mode 100644
index 418b7c7..0000000
--- a/abs/extra/xulrunner/xulrunner-version.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -up mozilla/toolkit/mozapps/update/src/updater/module.ver mozilla/toolkit/mozapps/update/src/updater/module
-diff -up mozilla/xulrunner/installer/Makefile.in.ver mozilla/xulrunner/installer/Makefile.in
---- mozilla/xulrunner/installer/Makefile.in.ver 2007-12-14 09:51:34.000000000 +0100
-+++ mozilla/xulrunner/installer/Makefile.in 2007-12-14 09:52:03.000000000 +0100
-@@ -44,6 +44,8 @@ VPATH = @srcdir@
-
- include $(DEPTH)/config/autoconf.mk
-
-+MOZ_APP_VERSION="1.9.2"
-+
- NO_PKG_FILES = \
- xulrunner-config \
- regchrome* \