summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--community-staging/avr-gdb/PKGBUILD50
-rw-r--r--community-staging/blueman/PKGBUILD48
-rw-r--r--community-staging/blueman/blueman.install11
-rw-r--r--community-staging/cython/PKGBUILD38
-rw-r--r--community-staging/dee/PKGBUILD34
-rw-r--r--community-staging/duplicity/PKGBUILD36
-rw-r--r--community-staging/duplicity/botobackend.patch13
-rw-r--r--community-staging/duplicity/duplicity-0.6.17-fix-memleak.patch29
-rw-r--r--community-staging/gcompris/PKGBUILD36
-rw-r--r--community-staging/guake/PKGBUILD41
-rw-r--r--community-staging/guake/guake-fix-notification.patch42
-rw-r--r--community-staging/guake/guake.install22
-rw-r--r--community-staging/gwibber/PKGBUILD31
-rw-r--r--community-staging/gwibber/gwibber.install12
-rw-r--r--community-staging/haskell-gtk/PKGBUILD48
-rw-r--r--community-staging/haskell-gtk/ghc-7.6.1.patch574
-rw-r--r--community-staging/haskell-gtk/gtk-gthread.h-include.patch15
-rw-r--r--community-staging/haskell-gtk/gtk2hs-gtk.install18
-rw-r--r--community-staging/haskell-pango/PKGBUILD46
-rw-r--r--community-staging/haskell-pango/gtk2hs-pango.install18
-rw-r--r--community-staging/ibus/PKGBUILD40
-rw-r--r--community-staging/ibus/ibus.install29
-rw-r--r--community-staging/ktoblzcheck/PKGBUILD30
-rw-r--r--community-staging/ktoblzcheck/ktoblzcheck-python3.patch57
-rw-r--r--community-staging/luxrays/PKGBUILD37
-rw-r--r--community-staging/luxrender/PKGBUILD50
-rw-r--r--community-staging/lxdm/pam-env-vars.patch50
-rw-r--r--community-staging/mezogis/ChangeLog3
-rw-r--r--community-staging/mezogis/PKGBUILD26
-rw-r--r--community-staging/neatx/PKGBUILD39
-rw-r--r--community-staging/neatx/constants.archlinux.patch42
-rw-r--r--community-staging/neatx/neatx.install18
-rw-r--r--community-staging/onboard/PKGBUILD27
-rw-r--r--community-staging/onboard/onboard.install13
-rw-r--r--community-staging/python-bsddb/LICENSE19
-rw-r--r--community-staging/python-bsddb/PKGBUILD49
-rw-r--r--community-staging/python-gnupginterface/PKGBUILD21
-rw-r--r--community-staging/python-mpi4py/PKGBUILD43
-rw-r--r--community-staging/python-numarray/LICENSE9
-rw-r--r--community-staging/python-numarray/PKGBUILD33
-rw-r--r--community-staging/python-openbabel/PKGBUILD38
-rw-r--r--community-staging/python-psycopg1/PKGBUILD34
-rw-r--r--community-staging/python-psycopg2/ChangeLog25
-rw-r--r--community-staging/python-psycopg2/PKGBUILD35
-rw-r--r--community-staging/python-pymongo/PKGBUILD37
-rw-r--r--community-staging/python-pyproj/PKGBUILD49
-rw-r--r--community-staging/python-pyxattr/PKGBUILD33
-rw-r--r--community-staging/python-pyzmq/PKGBUILD20
-rw-r--r--community-staging/python-sqlalchemy/PKGBUILD44
-rw-r--r--community-staging/python-yaml/PKGBUILD36
-rw-r--r--community-staging/python-yaml/python-yaml.install7
-rw-r--r--community-staging/python2-cjson/PKGBUILD19
-rw-r--r--community-staging/python2-galago/PKGBUILD22
-rw-r--r--community-staging/python2-gnutls/PKGBUILD23
-rw-r--r--community-staging/python2-gnutls/gnutls3.patch271
-rw-r--r--community-staging/python2-imaging/PKGBUILD50
-rw-r--r--community-staging/python2-lcms/PKGBUILD37
-rw-r--r--community-staging/python2-m2crypto/PKGBUILD27
-rw-r--r--community-staging/python2-m2crypto/openssl1.patch531
-rw-r--r--community-staging/python2-pybluez/PKGBUILD23
-rw-r--r--community-staging/python2-pyxmpp/PKGBUILD20
-rw-r--r--community-staging/python2-simplejson/PKGBUILD27
-rw-r--r--community-staging/python2-simplejson/python2-simplejson.changelog20
-rw-r--r--community-staging/python2-vorbissimple/PKGBUILD21
-rw-r--r--community-staging/sdcc/PKGBUILD34
-rw-r--r--community-staging/tix/PKGBUILD46
-rw-r--r--community-staging/tix/tcl-tk-path.patch22
-rw-r--r--community-staging/ubuntuone-client/1339_1338.diff57
-rw-r--r--community-staging/ubuntuone-client/PKGBUILD46
-rw-r--r--community-staging/ubuntuone-client/fix-notify-hint.patch20
-rw-r--r--community-staging/ubuntuone-client/ubuntuone-client.install11
-rw-r--r--community-staging/uniconvertor/PKGBUILD29
-rw-r--r--community-staging/virtkey/PKGBUILD46
-rw-r--r--community-testing/assimp/PKGBUILD30
-rw-r--r--community-testing/astromenace/PKGBUILD55
-rw-r--r--community-testing/astromenace/astromenace.desktop10
-rw-r--r--community-testing/astromenace/astromenace.patch12
-rw-r--r--community-testing/astromenace/astromenace.pngbin6789 -> 0 bytes
-rw-r--r--community-testing/astromenace/astromenace.sh3
-rw-r--r--community-testing/avr-gdb/PKGBUILD50
-rw-r--r--community-testing/blueman/PKGBUILD48
-rw-r--r--community-testing/blueman/blueman.install11
-rw-r--r--community-testing/catalyst-dkms/3.5-do_mmap.patch50
-rw-r--r--community-testing/catalyst-dkms/PKGBUILD51
-rw-r--r--community-testing/catalyst-dkms/catalyst.install22
-rw-r--r--community-testing/catalyst-dkms/dkms.conf7
-rw-r--r--community-testing/chromium-bsu/PKGBUILD29
-rw-r--r--community-testing/chromium-bsu/chromium-bsu.install11
-rw-r--r--community-testing/cython/PKGBUILD38
-rw-r--r--community-testing/dee/PKGBUILD34
-rw-r--r--community-testing/desmume/PKGBUILD39
-rw-r--r--community-testing/desmume/desmume.install11
-rw-r--r--community-testing/duplicity/PKGBUILD36
-rw-r--r--community-testing/duplicity/botobackend.patch13
-rw-r--r--community-testing/duplicity/duplicity-0.6.17-fix-memleak.patch29
-rw-r--r--community-testing/extremetuxracer/PKGBUILD46
-rw-r--r--community-testing/extremetuxracer/extremetuxracer.desktop12
-rw-r--r--community-testing/extremetuxracer/extremetuxracer.pngbin3611 -> 0 bytes
-rw-r--r--community-testing/extremetuxracer/libpng15.patch57
-rw-r--r--community-testing/flightgear/PKGBUILD40
-rw-r--r--community-testing/fox/PKGBUILD43
-rw-r--r--community-testing/freemat/ChangeLog3
-rw-r--r--community-testing/freemat/PKGBUILD46
-rw-r--r--community-testing/freemat/build-fix.patch11
-rw-r--r--community-testing/freemat/freemat.install7
-rw-r--r--community-testing/fxdesktop/PKGBUILD26
-rw-r--r--community-testing/fxprocessview/PKGBUILD33
-rw-r--r--community-testing/fxprocessview/build-fix.patch41
-rw-r--r--community-testing/gcompris/PKGBUILD36
-rw-r--r--community-testing/gl-117/PKGBUILD29
-rw-r--r--community-testing/gl-117/gl-117.desktop5
-rw-r--r--community-testing/gl-117/gl-117.pngbin1279 -> 0 bytes
-rw-r--r--community-testing/gogglesmm/PKGBUILD30
-rw-r--r--community-testing/gogglesmm/gogglesmm.install11
-rw-r--r--community-testing/gtk2hs-buildtools/0001-fix-for-ghc-7.6.1-changes.patch69
-rw-r--r--community-testing/guake/PKGBUILD41
-rw-r--r--community-testing/guake/guake-fix-notification.patch42
-rw-r--r--community-testing/guake/guake.install22
-rw-r--r--community-testing/gwibber/PKGBUILD31
-rw-r--r--community-testing/gwibber/gwibber.install12
-rw-r--r--community-testing/haddock/0001-fix-incorrect-types-in-documentation-haddock.patch33
-rw-r--r--community-testing/haskell-dataenc/0001-update-build-deps-for-ghc-7.6.1.patch25
-rw-r--r--community-testing/haskell-extensible-exceptions/PKGBUILD39
-rw-r--r--community-testing/haskell-extensible-exceptions/haskell-extensible-exceptions.install19
-rw-r--r--community-testing/haskell-glib/0001-compatibility-with-ghc-7.6.1.patch55
-rw-r--r--community-testing/haskell-gtk/ghc-7.6.1.patch574
-rw-r--r--community-testing/haskell-quickcheck/0001-update-code-to-support-extensible-exceptions-no-long.patch50
-rw-r--r--community-testing/haskell-tar/0001-update-changed-time-code-for-ghc-7.6.1.patch50
-rw-r--r--community-testing/ibus/PKGBUILD40
-rw-r--r--community-testing/ibus/ibus.install29
-rw-r--r--community-testing/kdenlive/PKGBUILD42
-rw-r--r--community-testing/kdenlive/kdenlive.install12
-rw-r--r--community-testing/ktoblzcheck/PKGBUILD30
-rw-r--r--community-testing/ktoblzcheck/ktoblzcheck-python3.patch57
-rw-r--r--community-testing/libnetfilter_cthelper/PKGBUILD26
-rw-r--r--community-testing/luxrays/PKGBUILD37
-rw-r--r--community-testing/luxrender/PKGBUILD50
-rw-r--r--community-testing/mezogis/ChangeLog3
-rw-r--r--community-testing/mezogis/PKGBUILD26
-rw-r--r--community-testing/neatx/PKGBUILD39
-rw-r--r--community-testing/neatx/constants.archlinux.patch42
-rw-r--r--community-testing/neatx/neatx.install18
-rw-r--r--community-testing/nestopia/ChangeLog12
-rw-r--r--community-testing/nestopia/PKGBUILD30
-rw-r--r--community-testing/nestopia/build-fix.patch19
-rw-r--r--community-testing/onboard/PKGBUILD27
-rw-r--r--community-testing/onboard/onboard.install13
-rw-r--r--community-testing/prboom/PKGBUILD34
-rw-r--r--community-testing/prboom/libpng-1.4.patch21
-rw-r--r--community-testing/pyqt3/PKGBUILD30
-rw-r--r--community-testing/python-bsddb/LICENSE19
-rw-r--r--community-testing/python-bsddb/PKGBUILD49
-rw-r--r--community-testing/python-gnupginterface/PKGBUILD21
-rw-r--r--community-testing/python-mpi4py/PKGBUILD43
-rw-r--r--community-testing/python-numarray/LICENSE9
-rw-r--r--community-testing/python-numarray/PKGBUILD33
-rw-r--r--community-testing/python-openbabel/PKGBUILD38
-rw-r--r--community-testing/python-psutil/PKGBUILD43
-rw-r--r--community-testing/python-psycopg1/PKGBUILD34
-rw-r--r--community-testing/python-psycopg2/ChangeLog25
-rw-r--r--community-testing/python-psycopg2/PKGBUILD35
-rw-r--r--community-testing/python-pymongo/PKGBUILD37
-rw-r--r--community-testing/python-pyopencl/LICENSE.txt20
-rw-r--r--community-testing/python-pyopencl/PKGBUILD61
-rw-r--r--community-testing/python-pyproj/PKGBUILD49
-rw-r--r--community-testing/python-pyxattr/PKGBUILD33
-rw-r--r--community-testing/python-pyzmq/PKGBUILD20
-rw-r--r--community-testing/python-scipy/PKGBUILD82
-rw-r--r--community-testing/python-sqlalchemy/PKGBUILD44
-rw-r--r--community-testing/python-yaml/PKGBUILD36
-rw-r--r--community-testing/python-yaml/python-yaml.install7
-rw-r--r--community-testing/python2-cjson/PKGBUILD19
-rw-r--r--community-testing/python2-galago/PKGBUILD22
-rw-r--r--community-testing/python2-gnutls/PKGBUILD23
-rw-r--r--community-testing/python2-gnutls/gnutls3.patch271
-rw-r--r--community-testing/python2-imaging/PKGBUILD50
-rw-r--r--community-testing/python2-lcms/PKGBUILD37
-rw-r--r--community-testing/python2-m2crypto/PKGBUILD27
-rw-r--r--community-testing/python2-m2crypto/openssl1.patch531
-rw-r--r--community-testing/python2-pybluez/PKGBUILD23
-rw-r--r--community-testing/python2-pyxmpp/PKGBUILD20
-rw-r--r--community-testing/python2-simplejson/PKGBUILD30
-rw-r--r--community-testing/python2-simplejson/python2-simplejson.changelog20
-rw-r--r--community-testing/python2-vorbissimple/PKGBUILD21
-rw-r--r--community-testing/qcad/PKGBUILD56
-rw-r--r--community-testing/qcad/QCad.desktop9
-rw-r--r--community-testing/qcad/qcad-intptr.patch24
-rw-r--r--community-testing/qcad/qcad.patch52
-rw-r--r--community-testing/qcad/qcad.xpm132
-rw-r--r--community-testing/qlandkartegt/PKGBUILD42
-rw-r--r--community-testing/qlandkartegt/qlandkartegt-mimetypes.xml7
-rw-r--r--community-testing/qlandkartegt/qlandkartegt.changelog48
-rw-r--r--community-testing/qlandkartegt/qlandkartegt.install7
-rw-r--r--community-testing/scorched3d/PKGBUILD62
-rw-r--r--community-testing/scorched3d/libpng14.patch38
-rw-r--r--community-testing/scorched3d/scorched3d-42.1-fixups.patch58
-rw-r--r--community-testing/scorched3d/scorched3d-42.1-gcc43.patch24
-rw-r--r--community-testing/scorched3d/scorched3d-libpng1.5.patch74
-rw-r--r--community-testing/scorched3d/scorched3d.install11
-rw-r--r--community-testing/sdcc/PKGBUILD34
-rw-r--r--community-testing/stone-soup/PKGBUILD68
-rw-r--r--community-testing/stone-soup/stone-soup.install11
-rw-r--r--community-testing/tdfsb/PKGBUILD35
-rw-r--r--community-testing/tdfsb/tdfsb.desktop9
-rw-r--r--community-testing/tdfsb/tdfsb.pngbin3556 -> 0 bytes
-rw-r--r--community-testing/teeworlds/PKGBUILD51
-rw-r--r--community-testing/teeworlds/teeworlds.desktop14
-rw-r--r--community-testing/teeworlds/teeworlds.pngbin1701 -> 0 bytes
-rw-r--r--community-testing/tix/PKGBUILD46
-rw-r--r--community-testing/tix/tcl-tk-path.patch22
-rw-r--r--community-testing/torcs/PKGBUILD36
-rw-r--r--community-testing/torcs/torcs-gcc.patch74
-rw-r--r--community-testing/torcs/torcs.desktop9
-rw-r--r--community-testing/torcs/torcs.sh2
-rw-r--r--community-testing/ubuntuone-client/1339_1338.diff57
-rw-r--r--community-testing/ubuntuone-client/PKGBUILD46
-rw-r--r--community-testing/ubuntuone-client/fix-notify-hint.patch20
-rw-r--r--community-testing/ubuntuone-client/ubuntuone-client.install11
-rw-r--r--community-testing/uniconvertor/PKGBUILD29
-rw-r--r--community-testing/virtkey/PKGBUILD46
-rw-r--r--community-testing/virtualbox-modules-lts/PKGBUILD69
-rwxr-xr-xcommunity-testing/virtualbox-modules-lts/build.sh20
-rw-r--r--community-testing/virtualbox-modules-lts/virtualbox-guest-modules-lts.install16
-rw-r--r--community-testing/virtualbox-modules-lts/virtualbox-host-modules-lts.install18
-rw-r--r--community-testing/virtualbox-modules/PKGBUILD69
-rwxr-xr-xcommunity-testing/virtualbox-modules/build.sh20
-rw-r--r--community-testing/virtualbox-modules/virtualbox-guest-modules.install17
-rw-r--r--community-testing/virtualbox-modules/virtualbox-host-modules.install19
-rw-r--r--community-testing/warzone2100/PKGBUILD30
-rw-r--r--community-testing/xbmc/ChangeLog69
-rw-r--r--community-testing/xbmc/PKGBUILD107
-rw-r--r--community-testing/xbmc/xbmc.install15
-rw-r--r--community-testing/xlockmore/LICENSE18
-rw-r--r--community-testing/xlockmore/PKGBUILD30
-rw-r--r--community-testing/xmobar/0001-Update-usage-of-catch-to-catchIOError-since-catch-ha.patch34
-rw-r--r--community-testing/xmoto/PKGBUILD48
-rw-r--r--community-testing/xmoto/system.cpp.patch10
-rw-r--r--community-testing/xmoto/xmoto-0.5.10-libpng15.patch10
-rw-r--r--community-testing/xmoto/xmoto.install11
-rw-r--r--community-testing/znc/PKGBUILD50
-rw-r--r--community/chuck/PKGBUILD24
-rw-r--r--community/freeorion/PKGBUILD6
-rw-r--r--community/galculator/PKGBUILD21
-rw-r--r--community/galculator/galculator.install1
-rw-r--r--community/libmemcached/PKGBUILD8
-rw-r--r--community/luajit/PKGBUILD6
-rw-r--r--community/luakit/PKGBUILD10
-rw-r--r--community/mosh/PKGBUILD18
-rw-r--r--community/onboard/1012_1011.diff17
-rw-r--r--community/onboard/1013_1012.diff22
-rw-r--r--community/onboard/PKGBUILD17
-rw-r--r--community/psqlodbc/PKGBUILD11
-rw-r--r--community/python-pymongo/PKGBUILD19
-rw-r--r--community/ristretto/PKGBUILD11
-rw-r--r--community/warsow/PKGBUILD6
-rw-r--r--community/xbmc/PKGBUILD25
-rw-r--r--community/xbmc/xbmc.install7
-rw-r--r--community/xbmc/xbmc.service13
-rw-r--r--core/ppp/PKGBUILD17
-rw-r--r--core/ppp/ip-down2
-rw-r--r--core/ppp/ipv6-down (renamed from testing/ppp/ipv6-down)0
-rw-r--r--core/ppp/ipv6-up (renamed from testing/ppp/ipv6-up)0
-rw-r--r--core/ppp/ipv6-up.d.iface-config.sh (renamed from testing/ppp/ipv6-up.d.iface-config.sh)0
-rw-r--r--core/systemd/PKGBUILD6
-rw-r--r--core/systemd/systemd.install5
-rw-r--r--extra/git/PKGBUILD8
-rw-r--r--extra/gmime/PKGBUILD6
-rw-r--r--extra/java7-openjdk/PKGBUILD41
-rw-r--r--extra/llvm/PKGBUILD4
-rw-r--r--extra/moc/PKGBUILD20
-rw-r--r--extra/openjdk6/PKGBUILD10
-rw-r--r--extra/php/PKGBUILD10
-rw-r--r--extra/php/php-fpm.service4
-rw-r--r--extra/php/rc.d.php-fpm2
-rw-r--r--extra/pyqt/PKGBUILD6
-rw-r--r--extra/python-lxml/PKGBUILD34
-rw-r--r--extra/spamassassin/PKGBUILD6
-rw-r--r--extra/spamassassin/spamassassin.service2
-rw-r--r--extra/yakuake/PKGBUILD15
-rwxr-xr-xlibre/python2-reportlab-libre/PKGBUILD49
-rw-r--r--libre/python2-reportlab-libre/free-fonts.patch144
-rw-r--r--multilib/jack2-multilib/ffado_setbuffsize-jack2.patch139
-rw-r--r--multilib/lib32-catalyst-utils/PKGBUILD60
-rw-r--r--multilib/lib32-glu/PKGBUILD45
-rw-r--r--multilib/lib32-libtasn1/PKGBUILD32
-rw-r--r--multilib/lib32-mesa/git_fixes.diff93
-rw-r--r--staging/bzr/PKGBUILD33
-rw-r--r--staging/dbus-python/PKGBUILD66
-rw-r--r--staging/gnome-python-desktop/PKGBUILD107
-rw-r--r--staging/gnome-python-desktop/gnome-python-desktop-2.32.0-metacity-build.patch42
-rw-r--r--staging/kdebase-workspace/etc-scripts.patch11
-rw-r--r--staging/kdebase-workspace/kdm.logrotate6
-rw-r--r--staging/kdebase-workspace/logind-support.patch66
-rw-r--r--staging/kdebindings-python/pyqt495.patch95
-rw-r--r--staging/konversation/PKGBUILD41
-rw-r--r--staging/konversation/konversation.install12
-rw-r--r--staging/libreoffice/make-pyuno-work-with-system-wide-module-install.diff44
-rw-r--r--staging/libxcb/PKGBUILD35
-rw-r--r--staging/libxcb/libxcb-1.1-no-pthread-stubs.patch11
-rw-r--r--staging/mesa/mesa-radeon-parallel-make.diff129
-rw-r--r--staging/mesa/pthread_fix.diff23
-rw-r--r--staging/miro/PKGBUILD49
-rw-r--r--staging/miro/ffmpeg.patch63
-rw-r--r--staging/miro/miro.install17
-rw-r--r--staging/pathological/PKGBUILD38
-rw-r--r--staging/pathological/encoding.patch8
-rw-r--r--staging/pathological/pathological.desktop9
-rw-r--r--staging/pathological/pathological.install29
-rw-r--r--staging/pathological/pygame_181.patch10
-rw-r--r--staging/pycrypto/PKGBUILD52
-rw-r--r--staging/pygobject/PKGBUILD58
-rw-r--r--staging/pygobject2/PKGBUILD86
-rw-r--r--staging/pygobject2/python2-fix-type.patch50
-rw-r--r--staging/pygobject2/python3-fix-build.patch34
-rw-r--r--staging/pygobject2/python3-fix-maketrans.patch36
-rw-r--r--staging/pyopenssl/PKGBUILD46
-rw-r--r--staging/pyqt/PKGBUILD90
-rw-r--r--staging/python-cairo/PKGBUILD34
-rw-r--r--staging/python-egenix-mx-base/PKGBUILD31
-rw-r--r--staging/python-iwscan/PKGBUILD26
-rw-r--r--staging/python-lxml/PKGBUILD49
-rw-r--r--staging/python-markupsafe/PKGBUILD41
-rw-r--r--staging/python-notify/PKGBUILD43
-rw-r--r--staging/python-notify/libnotify07.patch36
-rw-r--r--staging/python-notify/notify-python-0.1.1-fix-GTK-symbols.patch25
-rw-r--r--staging/python-pygame/PKGBUILD38
-rw-r--r--staging/python-pygame/config.patch26
-rw-r--r--staging/python-pygame/pygame-v4l.patch88
-rw-r--r--staging/python-pyspi/PKGBUILD32
-rw-r--r--staging/python-pyspi/pyspi-build.patch1693
-rw-r--r--staging/python-pysqlite/PKGBUILD38
-rw-r--r--staging/python-pysqlite/setup.cfg5
-rw-r--r--staging/python-urwid/PKGBUILD42
-rw-r--r--staging/python-wpactrl/PKGBUILD26
-rw-r--r--staging/qscintilla/PKGBUILD80
-rw-r--r--staging/qscintilla/configure.py-objdir-support.diff39
-rw-r--r--staging/slim/PKGBUILD63
-rw-r--r--staging/slim/fix-glibc-segfault-1.3.4.patch13
-rw-r--r--staging/slim/libpng-1.4+-support.patch14
-rw-r--r--staging/slim/logrotate9
-rw-r--r--staging/slim/pam.d10
-rwxr-xr-xstaging/slim/rc.d36
-rw-r--r--staging/slim/session-name.patch21
-rw-r--r--staging/slim/slim.service9
-rw-r--r--staging/slim/tty-slowness.patch30
-rw-r--r--staging/sonata/PKGBUILD30
-rw-r--r--staging/sonata/info.py.patch15
-rw-r--r--staging/systemd/PKGBUILD151
-rw-r--r--staging/systemd/initcpio-install-udev28
-rw-r--r--staging/twisted/PKGBUILD37
-rw-r--r--staging/twisted/twisted.install11
-rw-r--r--staging/vde2/PKGBUILD50
-rw-r--r--staging/vde2/dhcpd.conf.sample12
-rw-r--r--staging/vde2/iptables.rules.sample5
-rw-r--r--staging/vde2/vde-config.sample35
-rw-r--r--staging/vde2/vde-connection.sample6
-rw-r--r--staging/vde2/vde.conf11
-rwxr-xr-xstaging/vde2/vde.rc113
-rw-r--r--staging/vde2/vde2.install10
-rw-r--r--staging/xf86-input-acecad/PKGBUILD34
-rw-r--r--staging/xf86-input-acecad/assign-local-private-after-allocating.patch24
-rw-r--r--staging/xf86-input-aiptek/PKGBUILD31
-rw-r--r--staging/xf86-input-elographics/PKGBUILD30
-rw-r--r--staging/xf86-input-evdev/PKGBUILD31
-rw-r--r--staging/xf86-input-joystick/50-joystick.conf6
-rw-r--r--staging/xf86-input-joystick/PKGBUILD39
-rw-r--r--staging/xf86-input-joystick/git-fixes.patch399
-rw-r--r--staging/xf86-input-keyboard/PKGBUILD30
-rw-r--r--staging/xf86-input-mouse/PKGBUILD30
-rw-r--r--staging/xf86-input-synaptics/10-synaptics.conf9
-rw-r--r--staging/xf86-input-synaptics/PKGBUILD43
-rw-r--r--staging/xf86-input-vmmouse/PKGBUILD34
-rw-r--r--staging/xf86-input-void/PKGBUILD32
-rw-r--r--staging/xf86-input-wacom/70-wacom.rules12
-rw-r--r--staging/xf86-input-wacom/PKGBUILD34
-rw-r--r--staging/xf86-video-apm/PKGBUILD29
-rw-r--r--staging/xf86-video-ark/PKGBUILD31
-rw-r--r--staging/xf86-video-ast/PKGBUILD30
-rw-r--r--staging/xfce4-session/PKGBUILD51
-rw-r--r--staging/xfce4-session/xfce4-session-4.10.0-add-systemd-support.patch388
-rw-r--r--staging/xfce4-session/xfce4-session.install13
-rw-r--r--staging/xorg-server/10-quirks.conf10
-rw-r--r--staging/xorg-server/PKGBUILD196
-rw-r--r--staging/xorg-server/autoconfig-nvidia.patch28
-rw-r--r--staging/xorg-server/autoconfig-sis.patch21
-rw-r--r--staging/xorg-server/xvfb-run180
-rw-r--r--staging/xorg-server/xvfb-run.1282
-rw-r--r--staging/xorg-xdm/PKGBUILD60
-rw-r--r--staging/xorg-xdm/Xsession-loginshell.patch15
-rw-r--r--staging/xorg-xdm/Xsession-xsm.patch22
-rw-r--r--staging/xorg-xdm/git_fixes.diff673
-rw-r--r--staging/xorg-xdm/xdm-1.0.5-sessreg-utmp-fix-bug177890.patch8
-rw-r--r--staging/xorg-xdm/xdm.pam10
-rw-r--r--testing/asymptote/PKGBUILD43
-rw-r--r--testing/asymptote/texlive.install20
-rw-r--r--testing/at/PKGBUILD36
-rw-r--r--testing/at/atd35
-rw-r--r--testing/at/atd.service9
-rw-r--r--testing/btrfs-progs/btrfs.install9
-rw-r--r--testing/bzr/PKGBUILD33
-rw-r--r--testing/celestia/PKGBUILD53
-rw-r--r--testing/celestia/celestia-1.5.1-gcc44.patch20
-rw-r--r--testing/celestia/celestia-1.6.1-gcc46.patch13
-rw-r--r--testing/celestia/celestia-1.6.1-gentoo.patch23
-rw-r--r--testing/celestia/celestia-1.6.1-libpng15.patch14
-rw-r--r--testing/celestia/celestia-1.6.1-linking.patch54
-rw-r--r--testing/celestia/gcc-4.7-fixes.diff10
-rw-r--r--testing/ftgl/PKGBUILD34
-rw-r--r--testing/glu/PKGBUILD32
-rw-r--r--testing/gnome-games/PKGBUILD37
-rw-r--r--testing/gnome-games/gnome-games.install122
-rw-r--r--testing/gnome-python-desktop/PKGBUILD107
-rw-r--r--testing/gnome-python-desktop/gnome-python-desktop-2.32.0-metacity-build.patch42
-rw-r--r--testing/gtkglext/PKGBUILD36
-rw-r--r--testing/gtkglext/gtk2.20.patch77
-rw-r--r--testing/gtkglextmm/PKGBUILD40
-rw-r--r--testing/gtkglextmm/gdkspanfunc.patch13
-rw-r--r--testing/jasper/PKGBUILD36
-rw-r--r--testing/jasper/jasper-1.900.1-CVE-2008-3520.patch928
-rw-r--r--testing/jasper/jasper-1.900.1-CVE-2008-3522.patch14
-rw-r--r--testing/jasper/jpc_dec.c.patch18
-rw-r--r--testing/jasper/patch-libjasper-stepsizes-overflow.diff14
-rw-r--r--testing/kdebase-workspace/kdm.logrotate6
-rw-r--r--testing/kdebase-workspace/logind-support.patch66
-rw-r--r--testing/kdebindings-python/pyqt495.patch95
-rw-r--r--testing/kdegames/kdegames-knavalbattle.install12
-rw-r--r--testing/konversation/PKGBUILD41
-rw-r--r--testing/konversation/konversation.install12
-rw-r--r--testing/libreoffice/make-pyuno-work-with-system-wide-module-install.diff44
-rw-r--r--testing/libvisual-plugins/02_64-bit_JESS_fix.patch58
-rw-r--r--testing/libvisual-plugins/03_build_against_gl_fixes.patch372
-rw-r--r--testing/libvisual-plugins/04_lv_analyzer_build_fix.patch12
-rw-r--r--testing/libvisual-plugins/050_all_automagic.patch50
-rw-r--r--testing/libvisual-plugins/05_fix_po.patch127
-rw-r--r--testing/libvisual-plugins/60_no-const-vispluginfo-in-nastyfft.patch18
-rw-r--r--testing/libvisual-plugins/PKGBUILD51
-rw-r--r--testing/libxcb/PKGBUILD35
-rw-r--r--testing/libxcb/libxcb-1.1-no-pthread-stubs.patch11
-rw-r--r--testing/mesa/git_fixes.diff93
-rw-r--r--testing/mod_wsgi/PKGBUILD28
-rw-r--r--testing/mod_wsgi/mod_wsgi.install14
-rw-r--r--testing/mono/PKGBUILD52
-rw-r--r--testing/mono/bug434892.patch11
-rw-r--r--testing/mono/mini_amd64.patch13
-rw-r--r--testing/mono/mono.binfmt.d1
-rw-r--r--testing/nepomuk-core/regression-crash.patch25
-rw-r--r--testing/net-snmp/PKGBUILD60
-rw-r--r--testing/net-snmp/libnl32.patch80
-rw-r--r--testing/net-snmp/snmpd.confd5
-rw-r--r--testing/net-snmp/snmpd.rc39
-rw-r--r--testing/net-snmp/snmpd.service11
-rw-r--r--testing/nfs-utils/PKGBUILD105
-rw-r--r--testing/nfs-utils/blkmapd.service11
-rw-r--r--testing/nfs-utils/exports15
-rw-r--r--testing/nfs-utils/idmapd.conf14
-rw-r--r--testing/nfs-utils/nfs40
-rw-r--r--testing/nfs-utils/nfs-common315
-rw-r--r--testing/nfs-utils/nfs-common.conf40
-rw-r--r--testing/nfs-utils/nfs-server299
-rw-r--r--testing/nfs-utils/nfs-server.conf29
-rw-r--r--testing/nfs-utils/nfs-utils-1.1.4-mtab-sym.patch39
-rw-r--r--testing/nfs-utils/nfs-utils-1.1.4-no-exec.patch15
-rw-r--r--testing/nfs-utils/nfs-utils.conf1
-rw-r--r--testing/nfs-utils/nfs-utils.install32
-rw-r--r--testing/nfs-utils/nfsd.service16
-rw-r--r--testing/nfs-utils/proc-fs-nfsd.mount8
-rw-r--r--testing/nfs-utils/rpc-gssd.service13
-rw-r--r--testing/nfs-utils/rpc-idmapd.service13
-rw-r--r--testing/nfs-utils/rpc-mountd.service12
-rw-r--r--testing/nfs-utils/rpc-statd.service13
-rw-r--r--testing/nfs-utils/rpc-svcgssd.service12
-rw-r--r--testing/nfs-utils/start-statd.patch22
-rw-r--r--testing/nfs-utils/var-lib-nfs-rpc_pipefs.mount7
-rw-r--r--testing/nx/nx-cflags.patch54
-rw-r--r--testing/octave/PKGBUILD54
-rw-r--r--testing/octave/buildfix.diff85
-rw-r--r--testing/octave/curlfix.patch10
-rw-r--r--testing/octave/imread.patch29
-rw-r--r--testing/octave/octave-3.4.0-gcc46.patch24
-rw-r--r--testing/octave/octave-gethelp.patch13
-rw-r--r--testing/octave/octave.install18
-rw-r--r--testing/pam/pam_namespace-build-1.1.6.patch11
-rw-r--r--testing/pam/pam_unix2-glibc216.patch20
-rw-r--r--testing/postgresql/postgresql-run-socket.patch12
-rw-r--r--testing/postgresql/postgresql.tmpfiles.conf1
-rw-r--r--testing/pyalpm/PKGBUILD23
-rw-r--r--testing/pycrypto/PKGBUILD52
-rw-r--r--testing/pygobject/PKGBUILD58
-rw-r--r--testing/pygobject2/PKGBUILD86
-rw-r--r--testing/pygobject2/python2-fix-type.patch50
-rw-r--r--testing/pygobject2/python3-fix-build.patch34
-rw-r--r--testing/pygobject2/python3-fix-maketrans.patch36
-rw-r--r--testing/pyopenssl/PKGBUILD46
-rw-r--r--testing/python-cairo/PKGBUILD34
-rw-r--r--testing/python-egenix-mx-base/PKGBUILD33
-rw-r--r--testing/python-iwscan/PKGBUILD26
-rw-r--r--testing/python-lxml/PKGBUILD49
-rw-r--r--testing/python-markupsafe/PKGBUILD41
-rw-r--r--testing/python-notify/PKGBUILD43
-rw-r--r--testing/python-notify/libnotify07.patch36
-rw-r--r--testing/python-notify/notify-python-0.1.1-fix-GTK-symbols.patch25
-rwxr-xr-xtesting/python-numpy/PKGBUILD62
-rw-r--r--testing/python-numpy/numpy-1.6.2-python-3.3-build-fix.patch92
-rw-r--r--testing/python-pyspi/PKGBUILD32
-rw-r--r--testing/python-pyspi/pyspi-build.patch1693
-rw-r--r--testing/python-pysqlite/PKGBUILD38
-rw-r--r--testing/python-pysqlite/setup.cfg5
-rw-r--r--testing/python-urwid/PKGBUILD42
-rw-r--r--testing/python-wpactrl/PKGBUILD26
-rw-r--r--testing/python/PKGBUILD75
-rw-r--r--testing/qt3/PKGBUILD124
-rw-r--r--testing/qt3/eastern_asian_languagues.diff39
-rw-r--r--testing/qt3/gcc-4.6.patch33
-rw-r--r--testing/qt3/qt-copy-kde-patches.tar.bz2bin29688 -> 0 bytes
-rw-r--r--testing/qt3/qt-odbc.patch19
-rw-r--r--testing/qt3/qt-patches.tar.bz2bin3708 -> 0 bytes
-rw-r--r--testing/qt3/qt.install12
-rw-r--r--testing/qt3/qt.profile4
-rw-r--r--testing/qt3/qt3-png15.patch212
-rw-r--r--testing/qtiplot/PKGBUILD94
-rw-r--r--testing/qtiplot/build.conf.archlinux32
-rw-r--r--testing/qtiplot/qtiplot-0.9.8.6-gold.patch15
-rw-r--r--testing/qtiplot/qtiplot-0.9.8.6-kde.patch15
-rw-r--r--testing/qtiplot/qtiplot-0.9.8.6-tamuanova.patch26
-rw-r--r--testing/qtiplot/qtiplot.desktop13
-rw-r--r--testing/qtiplot/qtiplot.install12
-rw-r--r--testing/qtiplot/qtiplot.pngbin936 -> 0 bytes
-rw-r--r--testing/qtiplot/qtiplot.xml17
-rw-r--r--testing/qtiplot/qwtplot3d-libpng15.patch10
-rw-r--r--testing/qtiplot/qwtplot3d-qt-4.8.0.patch34
-rw-r--r--testing/qtiplot/qwtplot3d_gcc.patch9
-rw-r--r--testing/qtiplot/sip.patch13
-rw-r--r--testing/ruby/PKGBUILD69
-rw-r--r--testing/ruby/gemrc5
-rw-r--r--testing/ruby/ruby.install22
-rw-r--r--testing/smpeg/PKGBUILD36
-rw-r--r--testing/smpeg/smpeg-0.4.4-gcc41.patch41
-rw-r--r--testing/sonata/PKGBUILD30
-rw-r--r--testing/sonata/info.py.patch15
-rw-r--r--testing/stellarium/PKGBUILD38
-rw-r--r--testing/stellarium/libpng14.patch21
-rw-r--r--testing/stellarium/stellarium.desktop9
-rw-r--r--testing/stellarium/stellarium.pngbin18780 -> 0 bytes
-rw-r--r--testing/swt/PKGBUILD56
-rw-r--r--testing/swt/build-swt.xml17
-rw-r--r--testing/system-config-printer/PKGBUILD108
-rw-r--r--testing/twisted/PKGBUILD37
-rw-r--r--testing/twisted/twisted.install11
-rw-r--r--testing/vde2/PKGBUILD50
-rw-r--r--testing/vde2/dhcpd.conf.sample12
-rw-r--r--testing/vde2/iptables.rules.sample5
-rw-r--r--testing/vde2/vde-config.sample35
-rw-r--r--testing/vde2/vde-connection.sample6
-rw-r--r--testing/vde2/vde.conf11
-rwxr-xr-xtesting/vde2/vde.rc113
-rw-r--r--testing/vde2/vde2.install10
-rw-r--r--testing/xf86-input-acecad/PKGBUILD34
-rw-r--r--testing/xf86-input-acecad/assign-local-private-after-allocating.patch24
-rw-r--r--testing/xf86-input-aiptek/PKGBUILD31
-rw-r--r--testing/xf86-input-elographics/PKGBUILD30
-rw-r--r--testing/xf86-input-evdev/PKGBUILD31
-rw-r--r--testing/xf86-input-joystick/50-joystick.conf6
-rw-r--r--testing/xf86-input-joystick/PKGBUILD39
-rw-r--r--testing/xf86-input-joystick/git-fixes.patch399
-rw-r--r--testing/xf86-input-keyboard/PKGBUILD30
-rw-r--r--testing/xf86-input-mouse/PKGBUILD30
-rw-r--r--testing/xf86-input-synaptics/10-synaptics.conf9
-rw-r--r--testing/xf86-input-synaptics/PKGBUILD43
-rw-r--r--testing/xf86-input-vmmouse/PKGBUILD34
-rw-r--r--testing/xf86-input-void/PKGBUILD32
-rw-r--r--testing/xf86-input-wacom/70-wacom.rules12
-rw-r--r--testing/xf86-input-wacom/PKGBUILD34
-rw-r--r--testing/xf86-video-apm/PKGBUILD29
-rw-r--r--testing/xf86-video-ark/PKGBUILD31
-rw-r--r--testing/xf86-video-ast/PKGBUILD30
-rw-r--r--testing/xf86-video-chips/PKGBUILD33
-rw-r--r--testing/xf86-video-chips/iopl.h60
-rw-r--r--testing/xf86-video-cirrus/PKGBUILD30
-rw-r--r--testing/xf86-video-dummy/PKGBUILD30
-rw-r--r--testing/xf86-video-fbdev/PKGBUILD30
-rw-r--r--testing/xf86-video-glint/PKGBUILD30
-rw-r--r--testing/xf86-video-i128/PKGBUILD30
-rw-r--r--testing/xf86-video-i740/PKGBUILD29
-rw-r--r--testing/xf86-video-mach64/PKGBUILD33
-rw-r--r--testing/xf86-video-mach64/git_fixes.diff107
-rw-r--r--testing/xf86-video-mga/PKGBUILD34
-rw-r--r--testing/xf86-video-neomagic/PKGBUILD30
-rw-r--r--testing/xf86-video-openchrome/PKGBUILD32
-rw-r--r--testing/xf86-video-r128/PKGBUILD32
-rw-r--r--testing/xf86-video-rendition/PKGBUILD31
-rw-r--r--testing/xf86-video-s3/PKGBUILD30
-rw-r--r--testing/xf86-video-s3virge/PKGBUILD32
-rw-r--r--testing/xf86-video-savage/PKGBUILD33
-rw-r--r--testing/xf86-video-siliconmotion/PKGBUILD32
-rw-r--r--testing/xf86-video-sis/PKGBUILD32
-rw-r--r--testing/xf86-video-sisusb/PKGBUILD29
-rw-r--r--testing/xf86-video-tdfx/PKGBUILD33
-rw-r--r--testing/xf86-video-trident/PKGBUILD31
-rw-r--r--testing/xf86-video-tseng/PKGBUILD29
-rw-r--r--testing/xf86-video-v4l/LICENSE826
-rw-r--r--testing/xf86-video-v4l/PKGBUILD36
-rw-r--r--testing/xf86-video-v4l/git-fixes.patch4362
-rw-r--r--testing/xf86-video-vesa/PKGBUILD33
-rw-r--r--testing/xf86-video-vesa/revert-kernelcheck.patch31
-rw-r--r--testing/xf86-video-vmware/PKGBUILD33
-rw-r--r--testing/xf86-video-vmware/git_fixes.diff894
-rw-r--r--testing/xf86-video-voodoo/PKGBUILD30
-rw-r--r--testing/xsp/PKGBUILD64
-rw-r--r--testing/xsp/xsp.conf.d10
-rw-r--r--testing/xsp/xsp.install37
-rw-r--r--testing/xsp/xsp.rc.d40
-rw-r--r--testing/xsp/xsp.service8
-rw-r--r--testing/xsp/xsp.webapp8
613 files changed, 464 insertions, 35172 deletions
diff --git a/community-staging/avr-gdb/PKGBUILD b/community-staging/avr-gdb/PKGBUILD
deleted file mode 100644
index 2dbb56ee0..000000000
--- a/community-staging/avr-gdb/PKGBUILD
+++ /dev/null
@@ -1,50 +0,0 @@
-# Maintainer: schuay <jakob.gruber@gmail.com>
-# Contributor: Ivan Sichmann Freitas <ivansichfreitas at gmail dot com>
-# Contributor: Laszlo Papp <djszapi2 at gmail dot com>
-# Contributor: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
-# Contributor: Vladimir Cerny <blackvladimir@gmail.com>
-# Contributor: 4javier <4javieregATgmailDOTcom>
-
-pkgname=avr-gdb
-_pkgname=gdb
-pkgver=7.4
-pkgrel=2
-pkgdesc="The GNU Debugger for AVR"
-arch=('i686' 'x86_64')
-url="http://www.gnu.org/software/gdb/"
-license=('GPL3')
-depends=('python')
-options=('!libtool')
-source=(http://ftp.gnu.org/gnu/gdb/${_pkgname}-${pkgver}.tar.bz2)
-md5sums=('95a9a8305fed4d30a30a6dc28ff9d060')
-
-build() {
- cd ${srcdir}/${_pkgname}-${pkgver}
-
- unset LDFLAGS
- export CFLAGS="-O2 -pipe"
- export CXXFLAGS="$CFLAGS"
-
- ./configure --prefix=/usr \
- --target=avr \
- --disable-nls \
- --enable-languages=c,c++ \
- --infodir=/usr/share/info \
- --libdir=/usr/lib \
- --program-prefix=avr- \
- --libexecdir=/usr/lib \
- --mandir=/usr/share/man \
- --with-system-readline
- make
-}
-
-package() {
- cd ${srcdir}/${_pkgname}-${pkgver}
-
- make DESTDIR=${pkgdir} install
-
- rm -f ${pkgdir}/usr/lib/libiberty.a
- rm -rf ${pkgdir}/usr/share/info
- rm -rf ${pkgdir}/usr/share/gdb
- rm -rf ${pkgdir}/usr/include/gdb
-}
diff --git a/community-staging/blueman/PKGBUILD b/community-staging/blueman/PKGBUILD
deleted file mode 100644
index 72471ce4f..000000000
--- a/community-staging/blueman/PKGBUILD
+++ /dev/null
@@ -1,48 +0,0 @@
-# $Id: PKGBUILD 78012 2012-10-16 03:31:53Z allan $
-# Maintainer : Ionut Biru <ibiru@archlinux.org
-# Contributor: Abhishek Dasgupta <abhidg@gmail.com>
-
-pkgname=blueman
-pkgver=1.23
-pkgrel=5
-pkgdesc="GTK+ bluetooth manager"
-arch=('i686' 'x86_64')
-license=('GPL')
-url="http://blueman-project.org"
-depends=('python2-notify' 'bluez' 'python2-dbus' 'gtk2' 'python2-gobject2' 'startup-notification'
- 'obex-data-server' 'polkit-gnome' 'xdg-utils' 'hicolor-icon-theme' 'libpulse'
- 'notification-daemon')
-makedepends=('pyrex' 'intltool')
-optdepends=('dnsmasq: For creating PAN network'
- 'gconf: For gconf configuration support'
- 'pulseaudio: To use the pulseaudio plugin'
- 'notification-daemon: for desktop notifications'
- 'libnotify: for desktop notifications'
- 'modemmanager: for modem management service'
- 'gnome-icon-theme: icon theme')
-options=('!libtool')
-install=$pkgname.install
-source=(http://download.tuxfamily.org/blueman/${pkgname}-${pkgver}.tar.gz)
-md5sums=('f0bee59589f4c23e35bf08c2ef8acaef')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- export PYTHON=python2
- for file in apps/blueman*; do
- sed -i 's_#!/usr/bin/python_#!/usr/bin/python2_' $file
- done
- sed -i 's|"blueman-tray"|"blueman"|' blueman/plugins/applet/StatusIcon.py
-
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --libexecdir=/usr/lib/blueman \
- --with-no-runtime-deps-check
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- echo "OnlyShowIn=GNOME;XFCE;" >> ${pkgdir}/etc/xdg/autostart/blueman.desktop
-}
diff --git a/community-staging/blueman/blueman.install b/community-staging/blueman/blueman.install
deleted file mode 100644
index 8bf021487..000000000
--- a/community-staging/blueman/blueman.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() {
- post_install $1
-}
diff --git a/community-staging/cython/PKGBUILD b/community-staging/cython/PKGBUILD
deleted file mode 100644
index 3966cdda6..000000000
--- a/community-staging/cython/PKGBUILD
+++ /dev/null
@@ -1,38 +0,0 @@
-# $Id: PKGBUILD 77132 2012-10-05 11:24:38Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: Igor Scabini <furester @ gmail.com>
-
-pkgname=('cython' 'cython2')
-pkgbase=cython
-pkgver=0.17
-pkgrel=2
-pkgdesc="C-Extensions for Python "
-arch=(i686 x86_64)
-url="http://www.cython.org"
-license=('APACHE')
-makedepends=('python-distribute' 'python2-distribute')
-source=("http://cython.org/release/Cython-$pkgver.tar.gz")
-md5sums=('d6b669956b25babf7dd86db0a98539e4')
-
-build() {
- true
-}
-
-package_cython() {
- depends=('python')
-
- cd $srcdir/Cython-$pkgver
- python setup.py install --root=$pkgdir
-
- sed -i 's|#!.*python|#!/usr/bin/python3|' $pkgdir/usr/bin/*
-}
-
-package_cython2() {
- depends=('python2')
-
- cd $srcdir/Cython-$pkgver
- python2 setup.py install --root=$pkgdir
-
- mv $pkgdir/usr/bin/cygdb $pkgdir/usr/bin/cygdb2
- mv $pkgdir/usr/bin/cython $pkgdir/usr/bin/cython2
-}
diff --git a/community-staging/dee/PKGBUILD b/community-staging/dee/PKGBUILD
deleted file mode 100644
index 00b13d216..000000000
--- a/community-staging/dee/PKGBUILD
+++ /dev/null
@@ -1,34 +0,0 @@
-# $Id: PKGBUILD 77761 2012-10-14 15:22:02Z bgyorgy $
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-
-pkgname=dee
-pkgver=1.0.14
-pkgrel=2
-pkgdesc="Library to provide objects allowing to create Model-View-Controller type programs across DBus"
-arch=('i686' 'x86_64')
-url="https://launchpad.net/dee"
-license=('LGPL')
-depends=('glib2' 'icu')
-makedepends=('python2' 'gobject-introspection' 'vala')
-options=('!libtool')
-source=(http://launchpad.net/$pkgname/1.0/$pkgver/+download/$pkgname-$pkgver.tar.gz)
-md5sums=('473b4181e26538af0fb753255da7945c')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
-
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
- --disable-static --disable-tests \
- PYTHON=python2
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
-
- make DESTDIR="$pkgdir/" install
-
- # Install GI overrides for python 3 as well
- install -dm755 "$pkgdir/usr/lib/python3.3/site-packages/gi/overrides"
- ln -s ../../../../python2.7/site-packages/gi/overrides/Dee.py "$pkgdir/usr/lib/python3.3/site-packages/gi/overrides/Dee.py"
-}
diff --git a/community-staging/duplicity/PKGBUILD b/community-staging/duplicity/PKGBUILD
deleted file mode 100644
index 9fc900326..000000000
--- a/community-staging/duplicity/PKGBUILD
+++ /dev/null
@@ -1,36 +0,0 @@
-# $Id: PKGBUILD 77932 2012-10-15 23:29:05Z allan $
-# Maintainer: Kaiting Chen <kaitocracy@gmail.com>
-# Contributor: Aaron Schaefer <aaron@elasticdog.com>
-
-pkgname=duplicity
-pkgver=0.6.19
-pkgrel=2
-pkgdesc='A utility for encrypted, bandwidth-efficient backups using the rsync algorithm.'
-arch=('i686' 'x86_64')
-url='http://www.nongnu.org/duplicity/'
-license=('GPL')
-depends=('librsync' 'ncftp' 'python2' 'python2-boto' 'python2-gnupginterface' 'python2-paramiko')
-source=("http://savannah.nongnu.org/download/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig})
-md5sums=('c88122d0b651f84f3bfa42e55591c36b'
- 'df672ed47b8eb4fd8ffa99711623b6b5')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- # python2 fix
- for file in $(find . -name '*.py' -print); do
- sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file
- sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
- done
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- python2 setup.py install --root="$pkgdir" --optimize=1
-
- # fix broken documentation permissions until upstream does (FS#27301)
- chmod 644 "$pkgdir/usr/share/man/man1/$pkgname.1"
- chmod 644 "$pkgdir/usr/share/man/man1/rdiffdir.1"
- chmod 644 "$pkgdir/usr/share/doc/$pkgname-$pkgver"/*
-}
diff --git a/community-staging/duplicity/botobackend.patch b/community-staging/duplicity/botobackend.patch
deleted file mode 100644
index 302e1e2b1..000000000
--- a/community-staging/duplicity/botobackend.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-=== modified file duplicity/backends/botobackend.py
---- duplicity/backends/botobackend.py 2011-11-25 17:47:57 +0000
-+++ duplicity/backends/botobackend.py 2011-12-01 16:15:25 +0000
-@@ -26,6 +26,6 @@
- if sys.version_info[:2] < (2,6):
- print "Sorry, S3 multiprocessing requires version 2.6 or later of python"
- sys.exit(1)
-- import _boto_multi.py
-+ import _boto_multi
- else:
-- import _boto_single.py
-+ import _boto_single
-
diff --git a/community-staging/duplicity/duplicity-0.6.17-fix-memleak.patch b/community-staging/duplicity/duplicity-0.6.17-fix-memleak.patch
deleted file mode 100644
index 1c4c8daff..000000000
--- a/community-staging/duplicity/duplicity-0.6.17-fix-memleak.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-=== modified file 'duplicity/util.py'
---- duplicity/util.py 2011-08-23 18:14:17 +0000
-+++ duplicity/util.py 2012-01-20 21:50:01 +0000
-@@ -71,6 +71,10 @@
- else:
- raise
-
-+class BlackHoleList(list):
-+ def append(self, x):
-+ pass
-+
- class FakeTarFile:
- debug = 0
- def __iter__(self):
-@@ -83,7 +87,12 @@
- # yet. So we want to ignore ReadError exceptions, which are used to signal
- # this.
- try:
-- return tarfile.TarFile("arbitrary", mode, fp)
-+ tf = tarfile.TarFile("arbitrary", mode, fp)
-+ # Now we cause TarFile to not cache TarInfo objects. It would end up
-+ # consuming a lot of memory over the lifetime of our long-lasting
-+ # signature files otherwise.
-+ tf.members = BlackHoleList()
-+ return tf
- except tarfile.ReadError:
- return FakeTarFile()
-
-
diff --git a/community-staging/gcompris/PKGBUILD b/community-staging/gcompris/PKGBUILD
deleted file mode 100644
index 0abcbc74f..000000000
--- a/community-staging/gcompris/PKGBUILD
+++ /dev/null
@@ -1,36 +0,0 @@
-# $Id: PKGBUILD 77950 2012-10-16 01:06:55Z foutrelis $
-# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
-# Contributor: Daniel Isenmann <daniel.isenmann [at] gmx.de>
-
-pkgname=gcompris
-pkgver=12.05
-pkgrel=2
-pkgdesc="Educational software suite comprising of numerous activities for children aged 2 to 10"
-arch=('i686' 'x86_64')
-url="http://gcompris.net/"
-license=('GPL3')
-depends=('pygtk' 'pyxml' 'librsvg' 'gnet' 'python2-pysqlite'
- 'gstreamer0.10-base-plugins')
-optdepends=('gnucap: for computer simulation within the electricity activity'
- 'tuxpaint: for the painting activity'
- 'gnuchess: for the chess activity')
-makedepends=('texinfo' 'texi2html' 'intltool' 'gettext' 'gnuchess')
-options=('!libtool')
-source=(http://downloads.sourceforge.net/project/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2)
-sha256sums=('a4e9b9d04fd405c4b9ddc30f84a5f521f7ad1966c5f66c3e873bb84269ef55d0')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
-
- ./configure --prefix=/usr
- make
-}
-
-package() {
- depends+=('gcompris-data')
-
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir" install-exec
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/community-staging/guake/PKGBUILD b/community-staging/guake/PKGBUILD
deleted file mode 100644
index dfa432504..000000000
--- a/community-staging/guake/PKGBUILD
+++ /dev/null
@@ -1,41 +0,0 @@
-# $Id: PKGBUILD 77984 2012-10-16 02:10:51Z bgyorgy $
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-# Contributor: Angel Velasquez <angvp@archlinux.org>
-# Contributor: Wilson Pinto Júnior (N3RD3X) <n3rd3x@linuxmail.org>
-
-pkgname=guake
-pkgver=0.4.4
-pkgrel=2
-pkgdesc='Drop-down terminal for GNOME'
-arch=('i686' 'x86_64')
-url="http://guake.org/"
-license=('GPL')
-depends=('python2-notify' 'vte' 'python2-gconf' 'python2-dbus' 'python2-xdg' 'hicolor-icon-theme' 'xdg-utils')
-makedepends=('intltool')
-options=('!libtool')
-install=$pkgname.install
-source=(http://guake.org/files/$pkgname-$pkgver.tar.gz
- guake-fix-notification.patch)
-md5sums=('532adada29b8f0bb79dc15904aa6b70c'
- '0b57227e6869dd84dd4fb0794ed0d082')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- sed -i 's|schemadir = $(sysconfdir)/gconf/schemas|schemadir = $(GCONF_SCHEMA_FILE_DIR)|' data/Makefile.in
- sed -i 's|/usr/bin/env python|/usr/bin/python2|' src/{guake{,-prefs},prefs.py}
-
- # http://guake.org/ticket/416
- patch -Np1 -i "$srcdir/guake-fix-notification.patch"
-
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
- --disable-static --disable-schemas-install \
- --with-gconf-schema-file-dir=/usr/share/gconf/schemas \
- PYTHON=python2
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
-
- make DESTDIR="$pkgdir" install
-}
diff --git a/community-staging/guake/guake-fix-notification.patch b/community-staging/guake/guake-fix-notification.patch
deleted file mode 100644
index 847dac10e..000000000
--- a/community-staging/guake/guake-fix-notification.patch
+++ /dev/null
@@ -1,42 +0,0 @@
---- a/src/guake 2011-02-09 20:00:35.000000000 +0100
-+++ b/src/guake 2012-02-25 00:55:28.513075769 +0100
-@@ -46,7 +46,10 @@
- TERMINAL_MATCH_EXPRS, TERMINAL_MATCH_TAGS, \
- ALIGN_LEFT, ALIGN_RIGHT, ALIGN_CENTER
-
--pynotify.init('Guake!')
-+popup_works = True
-+if not pynotify.init('Guake!') or pynotify.get_server_info() == None :
-+ popup_works = False
-+ print "WARNING: could not use popup notification"
-
- GNOME_FONT_PATH = '/desktop/gnome/interface/monospace_font_name'
-
-@@ -637,7 +640,12 @@
- 'Please use Guake Preferences dialog to choose another '
- 'key (The trayicon was enabled)') % label, filename)
- self.client.set_bool(KEY('/general/use_trayicon'), True)
-- notification.show()
-+ if popup_works :
-+ notification.show()
-+ else :
-+ print _('A problem happened when binding <b>%s</b> key.\n'
-+ 'Please use Guake Preferences dialog to choose another '
-+ 'key (The trayicon was enabled)') % label
-
- elif self.client.get_bool(KEY('/general/use_popup')):
- # Pop-up that shows that guake is working properly (if not
-@@ -646,7 +654,11 @@
- _('Guake!'),
- _('Guake is now running,\n'
- 'press <b>%s</b> to use it.') % label, filename)
-- notification.show()
-+ if popup_works :
-+ notification.show()
-+ else :
-+ print _('Guake is now running,\n'
-+ 'press <b>%s</b> to use it.') % label
-
- def execute_command(self, command, tab=None):
- """Execute the `command' in the `tab'. If tab is None, the
-
diff --git a/community-staging/guake/guake.install b/community-staging/guake/guake.install
deleted file mode 100644
index 8084333b1..000000000
--- a/community-staging/guake/guake.install
+++ /dev/null
@@ -1,22 +0,0 @@
-pkgname=guake
-
-post_install() {
- usr/sbin/gconfpkg --install ${pkgname}
- xdg-icon-resource forceupdate
-}
-
-pre_upgrade() {
- pre_remove $1
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- usr/sbin/gconfpkg --uninstall ${pkgname}
-}
-
-post_remove() {
- xdg-icon-resource forceupdate
-}
diff --git a/community-staging/gwibber/PKGBUILD b/community-staging/gwibber/PKGBUILD
deleted file mode 100644
index f664c770e..000000000
--- a/community-staging/gwibber/PKGBUILD
+++ /dev/null
@@ -1,31 +0,0 @@
-# $Id: PKGBUILD 78004 2012-10-16 03:01:00Z bgyorgy $
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-
-pkgname=gwibber
-pkgver=3.4.2
-pkgrel=2
-pkgdesc="Microblogging client for GNOME, which supports Twitter, Identi.ca, StatusNet, Facebook, Flickr, Digg, FriendFeed and Qaiku"
-arch=('i686' 'x86_64')
-url="http://gwibber.com/"
-license=('GPL')
-depends=('libgee' 'libnotify' 'dee>=1.0.0' 'json-glib' 'gtkspell3' 'python2-gobject' 'libwnck3' 'libwebkit3' 'libgnome-keyring>=3.3' 'python2-dbus' 'python2-httplib2' 'python2-egenix-mx-base' 'python2-oauth' 'python2-imaging' 'python2-xdg' 'dconf' 'hicolor-icon-theme' 'xdg-utils')
-makedepends=('intltool' 'vala>=0.15.0')
-options=('!libtool')
-install=$pkgname.install
-source=(http://launchpad.net/$pkgname/${pkgver%.*}/$pkgver/+download/$pkgname-$pkgver.tar.gz)
-md5sums=('0ac544f8e626547312b9d0da0b57358e')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- find . -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
-
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
- --disable-static --disable-schemas-compile --disable-unity
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
-
- make DESTDIR="$pkgdir" install
-}
diff --git a/community-staging/gwibber/gwibber.install b/community-staging/gwibber/gwibber.install
deleted file mode 100644
index d973d53f7..000000000
--- a/community-staging/gwibber/gwibber.install
+++ /dev/null
@@ -1,12 +0,0 @@
-post_install() {
- xdg-icon-resource forceupdate
- glib-compile-schemas usr/share/glib-2.0/schemas
-}
-
-post_upgrade() {
- post_install $1
-}
-
-post_remove() {
- post_install $1
-}
diff --git a/community-staging/haskell-gtk/PKGBUILD b/community-staging/haskell-gtk/PKGBUILD
deleted file mode 100644
index 2ef22e5c2..000000000
--- a/community-staging/haskell-gtk/PKGBUILD
+++ /dev/null
@@ -1,48 +0,0 @@
-# $Id: PKGBUILD 76935 2012-10-02 13:34:57Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-
-pkgname=haskell-gtk
-pkgver=0.12.3.1
-pkgrel=2
-pkgdesc="Binding to the gtk library for Gtk2Hs."
-url="http://hackage.haskell.org/package/gtk"
-license=('LGPL2.1')
-arch=('i686' 'x86_64')
-depends=('ghc' 'gtk2' "haskell-pango" 'haskell-mtl')
-makedepends=("gtk2hs-buildtools")
-provides=('gtk2hs-gtk')
-replaces=('gtk2hs-gtk')
-conflicts=('gtk2hs-gtk')
-options=('strip')
-install=gtk2hs-gtk.install
-source=(http://hackage.haskell.org/packages/archive/gtk/$pkgver/gtk-$pkgver.tar.gz
- ghc-7.6.1.patch)
-md5sums=('b10dfe92d2e4dfe3c0c92dd349489727'
- '5fb93f37fe3f494b30ee682a36b8f1b6')
-
-build() {
- cd ${srcdir}/gtk-${pkgver}
- patch -p1 <$srcdir/ghc-7.6.1.patch
- runhaskell Setup configure -O -p --enable-split-objs --enable-shared \
- --prefix=/usr --docdir=/usr/share/doc/haskell-gtk \
- --libsubdir=\$compiler/site-local/\$pkgid
- sed -i 's|import Foreign.C.Types.*(CULong, CUInt)|import Foreign.C.Types (CULong(..), CUInt(..))|' Graphics/UI/Gtk/Types.chs
- runhaskell Setup build
- runhaskell Setup haddock
- runhaskell Setup register --gen-script
- runhaskell Setup unregister --gen-script
- sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-package() {
- _hmtlver=`pacman -Q haskell-mtl | cut -f2 -d\ | cut -f1 -d-`
- _hpangover=`pacman -Q haskell-pango | cut -f2 -d\ | cut -f1 -d-`
- depends=("ghc" "gtk2" "haskell-pango=${_hpangover}" "haskell-mtl=${_hmtlver}")
-
- cd ${srcdir}/gtk-${pkgver}
- install -D -m744 register.sh ${pkgdir}/usr/share/haskell/gtk2hs-gtk/register.sh
- install -m744 unregister.sh ${pkgdir}/usr/share/haskell/gtk2hs-gtk/unregister.sh
- install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries
- ln -s /usr/share/doc/haskell-gtk/html ${pkgdir}/usr/share/doc/ghc/html/libraries/gtk2hs-gtk
- runhaskell Setup copy --destdir=${pkgdir}
-}
diff --git a/community-staging/haskell-gtk/ghc-7.6.1.patch b/community-staging/haskell-gtk/ghc-7.6.1.patch
deleted file mode 100644
index 5e259a38f..000000000
--- a/community-staging/haskell-gtk/ghc-7.6.1.patch
+++ /dev/null
@@ -1,574 +0,0 @@
-diff -wbBur /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/Abstract/Object.chs gtk/Graphics/UI/Gtk/Abstract/Object.chs
---- /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/Abstract/Object.chs 2012-06-18 01:39:34.000000000 +0400
-+++ gtk/Graphics/UI/Gtk/Abstract/Object.chs 2012-10-02 16:30:54.000000000 +0400
-@@ -126,7 +126,8 @@
-
- {#pointer GWeakNotify#}
-
--foreign import ccall "wrapper" mkDestructor :: IO () -> IO GWeakNotify
-+foreign import ccall "wrapper" mkDestructor
-+ :: (Ptr () -> Ptr GObject -> IO ()) -> IO GWeakNotify
-
- -- | Attach a callback that will be called after the
- -- destroy hooks have been called
-@@ -134,7 +135,7 @@
- objectWeakref :: ObjectClass o => o -> IO () -> IO GWeakNotify
- objectWeakref obj uFun = do
- funPtrContainer <- newIORef nullFunPtr
-- uFunPtr <- mkDestructor $ do
-+ uFunPtr <- mkDestructor $ \_ _ -> do
- uFun
- funPtr <- readIORef funPtrContainer
- freeHaskellFunPtr funPtr
-diff -wbBur /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/Entry/Entry.chs gtk/Graphics/UI/Gtk/Entry/Entry.chs
---- /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/Entry/Entry.chs 2012-06-18 01:39:34.000000000 +0400
-+++ gtk/Graphics/UI/Gtk/Entry/Entry.chs 2012-10-02 16:27:26.000000000 +0400
-@@ -78,6 +78,10 @@
- entrySetCompletion,
- entryGetCompletion,
- #endif
-+#if GTK_CHECK_VERSION (2,18,0)
-+ entryGetBuffer,
-+ entrySetBuffer,
-+#endif
- #if GTK_CHECK_VERSION(2,20,0)
- entryGetIconWindow,
- entryGetTextWindow,
-@@ -104,6 +108,9 @@
- entryAlignment,
- entryCompletion,
- #endif
-+#if GTK_CHECK_VERSION (2,18,0)
-+ entryBuffer,
-+#endif
-
- -- * Signals
- entryActivate,
-@@ -157,6 +164,9 @@
- import Graphics.UI.Gtk.Gdk.EventM (EventM, EButton, EKey)
- import Control.Monad.Reader ( ask )
- import Control.Monad.Trans ( liftIO )
-+#if GTK_CHECK_VERSION (2,18,0)
-+import Graphics.UI.Gtk.Entry.EntryBuffer
-+#endif
- {#import Graphics.UI.Gtk.Types#}
- {#import Graphics.UI.Gtk.Signals#}
-
-@@ -429,6 +439,23 @@
- (toEntry self)
- #endif
-
-+#if GTK_CHECK_VERSION(2,18,0)
-+-- | Get the 'EntryBuffer' object which holds the text for this widget.
-+entryGetBuffer :: EntryClass self => self
-+ -> IO EntryBuffer
-+entryGetBuffer self =
-+ makeNewGObject mkEntryBuffer $
-+ {# call gtk_entry_get_buffer #}
-+ (toEntry self)
-+
-+-- | Set the 'EntryBuffer' object which holds the text for this widget.
-+entrySetBuffer :: (EntryClass self, EntryBufferClass buffer) => self
-+ -> buffer -> IO ()
-+entrySetBuffer self =
-+ {# call gtk_entry_set_buffer #}
-+ (toEntry self) . toEntryBuffer
-+#endif
-+
- #if GTK_CHECK_VERSION(2,20,0)
- -- | Returns the 'Window' which contains the entry's icon at @iconPos@. This function is useful when
- -- drawing something to the entry in an 'eventExpose' callback because it enables the callback to
-@@ -623,6 +650,15 @@
- entrySetCompletion
- #endif
-
-+#if GTK_CHECK_VERSION(2,18,0)
-+entryBuffer :: (EntryClass self, EntryBufferClass buffer) =>
-+ ReadWriteAttr self EntryBuffer buffer
-+entryBuffer = newAttr
-+ entryGetBuffer
-+ entrySetBuffer
-+#endif
-+
-+
- --------------------
- -- Signals
-
-diff -wbBur /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/Gdk/EventM.hsc gtk/Graphics/UI/Gtk/Gdk/EventM.hsc
---- /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/Gdk/EventM.hsc 2012-06-18 01:39:34.000000000 +0400
-+++ gtk/Graphics/UI/Gtk/Gdk/EventM.hsc 2012-10-02 16:27:27.000000000 +0400
-@@ -639,14 +639,16 @@
-
-
- -- | Execute an event handler and assume it handled the event unless it
---- threw a pattern match exception.
-+-- threw a pattern match exception or calls mzero (e.g. via guard).
- tryEvent :: EventM any () -> EventM any Bool
- tryEvent act = do
- ptr <- ask
- liftIO $ (runReaderT (act >> return True) ptr)
- #if __GLASGOW_HASKELL__ >= 610
- `catches` [ Handler (\ (PatternMatchFail _) -> return False)
-- , Handler (\ e -> if isUserError e && "Pattern" `isPrefixOf` ioeGetErrorString e
-+ , Handler (\ e -> if isUserError e &&
-+ ("Pattern" `isPrefixOf` ioeGetErrorString e ||
-+ "mzero" == ioeGetErrorString e)
- then return False
- else throw e) ]
- #else
-@@ -654,6 +656,8 @@
- IOException e
- | "user error (Pattern" `isPrefixOf` show e ->
- return False
-+ | "user error (mzero" `isPrefixOf` show e ->
-+ return False
- PatternMatchFail _ -> return False
- _ -> throw e)
- #endif
-diff -wbBur /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/Gdk/Pixbuf.chs gtk/Graphics/UI/Gtk/Gdk/Pixbuf.chs
---- /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/Gdk/Pixbuf.chs 2012-06-18 01:39:34.000000000 +0400
-+++ gtk/Graphics/UI/Gtk/Gdk/Pixbuf.chs 2012-10-02 16:27:28.000000000 +0400
-@@ -69,6 +69,7 @@
-
- -- * Constructors
- pixbufNew,
-+ pixbufNewFromData,
- pixbufNewFromFile,
- #if GTK_CHECK_VERSION(2,4,0)
- pixbufNewFromFileAtSize,
-@@ -402,6 +403,19 @@
- (fromBool hasAlpha) (fromIntegral bitsPerSample) (fromIntegral width)
- (fromIntegral height)
-
-+pixbufNewFromData :: Ptr CUChar -> Colorspace -> Bool -> Int -> Int -> Int -> Int -> IO Pixbuf
-+pixbufNewFromData imData cSpace hasAlpha bitsPerSample width height rowStride
-+ = wrapNewGObject mkPixbuf $
-+ {#call pixbuf_new_from_data #}
-+ imData
-+ (fromIntegral . fromEnum $ cSpace)
-+ (fromBool hasAlpha)
-+ (fromIntegral bitsPerSample)
-+ (fromIntegral width)
-+ (fromIntegral height)
-+ (fromIntegral rowStride)
-+ nullFunPtr nullPtr
-+
- -- | Create a new image from a String.
- --
- -- * Creates a new pixbuf from a string description.
-diff -wbBur /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/General/Clipboard.chs gtk/Graphics/UI/Gtk/General/Clipboard.chs
---- /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/General/Clipboard.chs 2012-06-18 01:39:34.000000000 +0400
-+++ gtk/Graphics/UI/Gtk/General/Clipboard.chs 2012-10-02 16:30:54.000000000 +0400
-@@ -260,7 +260,7 @@
- -- data succeeded.
- clipboardSetWithData self targets getFunc clearFunc = do
- gFunPtr <- mkClipboardGetFunc
-- (\_ sPtr info -> runReaderT (getFunc info) sPtr >> return ())
-+ (\_ sPtr info _ -> runReaderT (getFunc info) sPtr >> return ())
- cFunPtr <- mkClipboardClearFunc
- (\_ _ -> clearFunc)
- res <- withTargetEntries targets $ \nTargets targets ->
-@@ -282,7 +282,7 @@
- {#pointer ClipboardClearFunc#}
-
- foreign import ccall "wrapper" mkClipboardGetFunc ::
-- (Ptr Clipboard -> Ptr () -> {#type guint#} -> IO ()) -> IO ClipboardGetFunc
-+ (Ptr Clipboard -> Ptr () -> {#type guint#} -> Ptr () -> IO ()) -> IO ClipboardGetFunc
-
- foreign import ccall "wrapper" mkClipboardClearFunc ::
- (Ptr Clipboard -> Ptr () -> IO ()) -> IO ClipboardClearFunc
-@@ -313,7 +313,7 @@
- -- ignored.
- clipboardSetWithOwner self targets getFunc clearFunc owner = do
- gFunPtr <- mkClipboardGetFunc
-- (\_ sPtr info -> runReaderT (getFunc info) sPtr >> return ())
-+ (\_ sPtr info _ -> runReaderT (getFunc info) sPtr >> return ())
- cFunPtr <- mkClipboardClearFunc
- (\_ _ -> clearFunc)
- res <- withTargetEntries targets $ \nTargets targets ->
-@@ -404,7 +404,7 @@
- clipboardRequestContents self (Atom target) callback = do
- cbRef <- newIORef nullFunPtr
- cbPtr <- mkClipboardReceivedFunc
-- (\_ sPtr -> do
-+ (\_ sPtr _ -> do
- freeHaskellFunPtr =<< readIORef cbRef
- runReaderT callback sPtr
- return ())
-@@ -418,7 +418,7 @@
- {#pointer ClipboardReceivedFunc#}
-
- foreign import ccall "wrapper" mkClipboardReceivedFunc ::
-- (Ptr Clipboard -> Ptr () -> IO ()) -> IO ClipboardReceivedFunc
-+ (Ptr Clipboard -> Ptr () -> Ptr () -> IO ()) -> IO ClipboardReceivedFunc
-
- -- %hash c:7bb1 d:4ef1
- -- | Requests the contents of the clipboard as text. When the text is later
-@@ -439,7 +439,7 @@
- clipboardRequestText self callback = do
- cbRef <- newIORef nullFunPtr
- cbPtr <- mkClipboardTextReceivedFunc
-- (\_ sPtr -> do
-+ (\_ sPtr _ -> do
- freeHaskellFunPtr =<< readIORef cbRef
- mStr <- if sPtr==nullPtr then return Nothing else
- liftM Just $ peekUTFString sPtr
-@@ -453,7 +453,7 @@
- {#pointer ClipboardTextReceivedFunc#}
-
- foreign import ccall "wrapper" mkClipboardTextReceivedFunc ::
-- (Ptr Clipboard -> CString -> IO ()) -> IO ClipboardTextReceivedFunc
-+ (Ptr Clipboard -> CString -> Ptr () -> IO ()) -> IO ClipboardTextReceivedFunc
-
-
- #if GTK_CHECK_VERSION(2,6,0)
-@@ -477,7 +477,7 @@
- clipboardRequestImage self callback = do
- cbRef <- newIORef nullFunPtr
- cbPtr <- mkClipboardImageReceivedFunc
-- (\_ sPtr -> do
-+ (\_ sPtr _ -> do
- freeHaskellFunPtr =<< readIORef cbRef
- mPixbuf <- maybeNull (makeNewGObject mkPixbuf) (return sPtr)
- callback mPixbuf)
-@@ -490,7 +490,7 @@
- {#pointer ClipboardImageReceivedFunc#}
-
- foreign import ccall "wrapper" mkClipboardImageReceivedFunc ::
-- (Ptr Clipboard -> Ptr Pixbuf -> IO ()) -> IO ClipboardImageReceivedFunc
-+ (Ptr Clipboard -> Ptr Pixbuf -> Ptr () -> IO ()) -> IO ClipboardImageReceivedFunc
-
- #endif
-
-@@ -513,7 +513,7 @@
- clipboardRequestTargets self callback = do
- cbRef <- newIORef nullFunPtr
- cbPtr <- mkClipboardTargetsReceivedFunc
-- (\_ tPtr len -> do
-+ (\_ tPtr len _ -> do
- -- We must free Haskell pointer *in* the callback to avoid segfault.
- freeHaskellFunPtr =<< readIORef cbRef
- mTargets <- if tPtr==nullPtr then return Nothing else
-@@ -528,7 +528,7 @@
- {#pointer ClipboardTargetsReceivedFunc#}
-
- foreign import ccall "wrapper" mkClipboardTargetsReceivedFunc ::
-- (Ptr Clipboard -> Ptr (Ptr ()) -> {#type gint#} -> IO ()) -> IO ClipboardTargetsReceivedFunc
-+ (Ptr Clipboard -> Ptr (Ptr ()) -> {#type gint#} -> Ptr () -> IO ()) -> IO ClipboardTargetsReceivedFunc
-
- #if GTK_CHECK_VERSION(2,10,0)
- -- %hash c:5601 d:d6a6
-@@ -552,10 +552,10 @@
- clipboardRequestRichText self buffer callback = do
- cbRef <- newIORef nullFunPtr
- cbPtr <- mkClipboardRichTextReceivedFunc
-- (\_ tPtr sPtr len -> do
-+ (\_ tPtr sPtr len _ -> do
- freeHaskellFunPtr =<< readIORef cbRef
- mRes <- if sPtr==nullPtr then return Nothing else liftM Just $ do
-- str <- peekUTFStringLen (sPtr,fromIntegral len)
-+ str <- peekUTFStringLen (castPtr sPtr,fromIntegral len)
- return (Atom tPtr, str)
- callback mRes)
- writeIORef cbRef cbPtr
-@@ -568,7 +568,7 @@
- {#pointer ClipboardRichTextReceivedFunc#}
-
- foreign import ccall "wrapper" mkClipboardRichTextReceivedFunc ::
-- (Ptr Clipboard -> Ptr () -> CString -> {#type gsize#} -> IO ()) ->
-+ (Ptr Clipboard -> Ptr () -> Ptr CUChar -> {#type gsize#} -> Ptr () -> IO ()) ->
- IO ClipboardRichTextReceivedFunc
- #endif
- #endif
-diff -wbBur /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/General/General.chs gtk/Graphics/UI/Gtk/General/General.chs
---- /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/General/General.chs 2012-06-18 01:39:34.000000000 +0400
-+++ gtk/Graphics/UI/Gtk/General/General.chs 2012-10-02 16:27:28.000000000 +0400
-@@ -202,7 +202,7 @@
- -- their arguments from the main loop, that is, from the OS thread of Gtk,
- -- thereby ensuring that any Gtk and OS function can be called.
- --
--{#fun unsafe gdk_threads_enter as threadsEnter {} -> `()' #}
-+{#fun gdk_threads_enter as threadsEnter {} -> `()' #}
-
- -- | Release the global Gtk lock.
- --
-diff -wbBur /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/MenuComboToolbar/ComboBox.chs gtk/Graphics/UI/Gtk/MenuComboToolbar/ComboBox.chs
---- /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/MenuComboToolbar/ComboBox.chs 2012-06-18 01:39:34.000000000 +0400
-+++ gtk/Graphics/UI/Gtk/MenuComboToolbar/ComboBox.chs 2012-10-02 16:30:54.000000000 +0400
-@@ -493,17 +493,17 @@
- {# call gtk_combo_box_set_row_separator_func #}
- (toComboBox self) nullFunPtr nullPtr nullFunPtr
- comboBoxSetRowSeparatorSource self (Just (model, extract)) = do
-- funPtr <- mkRowSeparatorFunc $ \_ iterPtr -> do
-+ funPtr <- mkRowSeparatorFunc $ \_ iterPtr _ -> do
- iter <- peek iterPtr
- value <- customStoreGetRow model iter
-- return (extract value)
-+ return (fromBool $ extract value)
- {# call gtk_combo_box_set_row_separator_func #}
- (toComboBox self) funPtr (castFunPtrToPtr funPtr) destroyFunPtr
-
- {#pointer TreeViewRowSeparatorFunc#}
-
- foreign import ccall "wrapper" mkRowSeparatorFunc ::
-- (Ptr TreeModel -> Ptr TreeIter -> IO Bool) -> IO TreeViewRowSeparatorFunc
-+ (Ptr TreeModel -> Ptr TreeIter -> Ptr () -> IO {#type gboolean #}) -> IO TreeViewRowSeparatorFunc
-
- -- %hash c:5bf8
- -- | Sets whether the popup menu should have a tearoff menu item.
-diff -wbBur /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/MenuComboToolbar/MenuItem.chs gtk/Graphics/UI/Gtk/MenuComboToolbar/MenuItem.chs
---- /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/MenuComboToolbar/MenuItem.chs 2012-06-18 01:39:34.000000000 +0400
-+++ gtk/Graphics/UI/Gtk/MenuComboToolbar/MenuItem.chs 2012-10-02 16:27:30.000000000 +0400
-@@ -76,6 +76,12 @@
- menuItemNewWithMnemonic,
-
- -- * Methods
-+#if GTK_CHECK_VERSION(2,16,0)
-+ menuItemSetLabel,
-+ menuItemGetLabel,
-+ menuItemSetUseUnderline,
-+ menuItemGetUseUnderline,
-+#endif
- menuItemSetSubmenu,
- menuItemGetSubmenu,
- menuItemRemoveSubmenu,
-@@ -89,6 +95,10 @@
- -- * Attributes
- menuItemSubmenu,
- menuItemRightJustified,
-+#if GTK_CHECK_VERSION(2,16,0)
-+ menuItemLabel,
-+ menuItemUseUnderline,
-+#endif
-
- -- * Signals
- menuItemActivateItem,
-@@ -163,7 +173,36 @@
-
- --------------------
- -- Methods
-+#if GTK_CHECK_VERSION(2,16,0)
-+-- | Sets text on the MenuItem label
-+
-+menuItemSetLabel :: (MenuItemClass self) => self -> String -> IO ()
-+menuItemSetLabel self label =
-+ withUTFString label $ {# call gtk_menu_item_set_label #} (toMenuItem self)
-+
-+-- | Gets text on the MenuItem label
-+menuItemGetLabel :: (MenuItemClass self) => self -> IO String
-+menuItemGetLabel self =
-+ {# call gtk_menu_item_get_label #}
-+ (toMenuItem self)
-+ >>= \strPtr -> if strPtr == nullPtr
-+ then return ""
-+ else peekUTFString strPtr
-+
-+-- | If True, an underline in the text indicates the next character should be used for the mnemonic accelerator key.
-+--
-+menuItemSetUseUnderline :: (MenuItemClass self) => self -> Bool -> IO ()
-+menuItemSetUseUnderline self =
-+ {# call gtk_menu_item_set_use_underline #} (toMenuItem self) . fromBool
-
-+-- | Checks if an underline in the text indicates the next character should be used for the mnemonic accelerator key.
-+--
-+menuItemGetUseUnderline :: (MenuItemClass self) => self -> IO Bool
-+menuItemGetUseUnderline self =
-+ liftM toBool $ {# call gtk_menu_item_get_use_underline #}
-+ (toMenuItem self)
-+
-+#endif
- -- | Sets the item's submenu, or changes it.
- --
- menuItemSetSubmenu :: (MenuItemClass self, MenuClass submenu) => self -> submenu -> IO ()
-@@ -278,6 +317,22 @@
- menuItemGetRightJustified
- menuItemSetRightJustified
-
-+#if GTK_CHECK_VERSION(2,16,0)
-+-- | \'label\' property. See 'menuItemSetLabel' and 'menuItemGetLabel'
-+--
-+menuItemLabel :: MenuItemClass self => Attr self String
-+menuItemLabel = newAttr
-+ menuItemGetLabel
-+ menuItemSetLabel
-+
-+-- | \'useUnderline\' property. See 'menuItemSetUseUnderline' and
-+-- 'menuItemGetUseEUnderline'
-+--
-+menuItemUseUnderline :: MenuItemClass self => Attr self Bool
-+menuItemUseUnderline = newAttr
-+ menuItemGetUseUnderline
-+ menuItemSetUseUnderline
-+#endif
- --------------------
- -- Signals
-
-diff -wbBur /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/ModelView/CustomStore.chs gtk/Graphics/UI/Gtk/ModelView/CustomStore.chs
---- /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/ModelView/CustomStore.chs 2012-06-18 01:39:34.000000000 +0400
-+++ gtk/Graphics/UI/Gtk/ModelView/CustomStore.chs 2012-10-02 16:27:33.000000000 +0400
-@@ -239,7 +239,7 @@
- customTreeDragSourceIface = fromMaybe dummyDragSource mDragSource,
- customTreeDragDestIface = fromMaybe dummyDragDest mDragDest }
- privPtr <- newStablePtr priv
-- liftM con $ makeNewGObject (CustomStore, objectUnref) $
-+ liftM con $ wrapNewGObject (CustomStore, objectUnref) $
- gtk2hs_store_new implPtr privPtr
-
- foreign import ccall unsafe "Gtk2HsStore.h gtk2hs_store_new"
-diff -wbBur /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/ModelView/TreeModel.chs gtk/Graphics/UI/Gtk/ModelView/TreeModel.chs
---- /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/ModelView/TreeModel.chs 2012-06-18 01:39:34.000000000 +0400
-+++ gtk/Graphics/UI/Gtk/ModelView/TreeModel.chs 2012-10-02 16:30:54.000000000 +0400
-@@ -427,7 +427,7 @@
- {#pointer TreeModelForeachFunc#}
-
- foreign import ccall "wrapper" mkTreeModelForeachFunc ::
-- (Ptr () -> Ptr () -> Ptr TreeIter -> Ptr () -> IO CInt) ->
-+ (Ptr TreeModel -> Ptr NativeTreePath -> Ptr TreeIter -> Ptr () -> IO CInt) ->
- IO TreeModelForeachFunc
-
- #if GTK_CHECK_VERSION(2,2,0)
-diff -wbBur /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/ModelView/TreeModelFilter.chs gtk/Graphics/UI/Gtk/ModelView/TreeModelFilter.chs
---- /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/ModelView/TreeModelFilter.chs 2012-06-18 01:39:34.000000000 +0400
-+++ gtk/Graphics/UI/Gtk/ModelView/TreeModelFilter.chs 2012-10-02 16:30:54.000000000 +0400
-@@ -160,7 +160,7 @@
- {#pointer TreeModelFilterVisibleFunc #}
-
- foreign import ccall "wrapper" mkTreeModelFilterVisibleFunc ::
-- (Ptr TreeModelFilter -> Ptr TreeIter -> Ptr () -> IO {#type gboolean#}) ->
-+ (Ptr TreeModel -> Ptr TreeIter -> Ptr () -> IO {#type gboolean#}) ->
- IO TreeModelFilterVisibleFunc
-
- -- %hash c:a56d d:b42e
-diff -wbBur /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/ModelView/TreeSelection.chs gtk/Graphics/UI/Gtk/ModelView/TreeSelection.chs
---- /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/ModelView/TreeSelection.chs 2012-06-18 01:39:34.000000000 +0400
-+++ gtk/Graphics/UI/Gtk/ModelView/TreeSelection.chs 2012-10-02 16:30:54.000000000 +0400
-@@ -151,7 +151,7 @@
- treeSelectionSetSelectFunction :: TreeSelectionClass self => self
- -> TreeSelectionCB -> IO ()
- treeSelectionSetSelectFunction ts fun = do
-- fPtr <- mkTreeSelectionFunc (\_ _ tp _ -> do
-+ fPtr <- mkTreeSelectionFunc (\_ _ tp _ _ -> do
- path <- peekTreePath (castPtr tp)
- liftM fromBool $ fun path
- )
-@@ -168,7 +168,7 @@
- {#pointer TreeSelectionFunc#}
-
- foreign import ccall "wrapper" mkTreeSelectionFunc ::
-- (Ptr () -> Ptr () -> Ptr TreePath -> Ptr () -> IO CInt)->
-+ (Ptr TreeSelection -> Ptr TreeModel -> Ptr NativeTreePath -> {#type gint#} -> Ptr () -> IO CInt)->
- IO TreeSelectionFunc
-
- -- | Retrieve the 'TreeView' widget that this 'TreeSelection' works on.
-@@ -199,7 +199,7 @@
- -> TreeSelectionForeachCB
- -> IO ()
- treeSelectionSelectedForeach self fun = do
-- fPtr <- mkTreeSelectionForeachFunc (\_ _ iterPtr -> do
-+ fPtr <- mkTreeSelectionForeachFunc (\_ _ iterPtr _ -> do
- -- make a deep copy of the iterator. This makes it possible to store this
- -- iterator in Haskell land somewhere. The TreeModel parameter is not
- -- passed to the function due to performance reasons. But since it is
-@@ -219,7 +219,7 @@
- {#pointer TreeSelectionForeachFunc#}
-
- foreign import ccall "wrapper" mkTreeSelectionForeachFunc ::
-- (Ptr () -> Ptr () -> Ptr TreeIter -> IO ()) -> IO TreeSelectionForeachFunc
-+ (Ptr TreeModel -> Ptr NativeTreePath -> Ptr TreeIter -> Ptr () -> IO ()) -> IO TreeSelectionForeachFunc
-
- #if GTK_CHECK_VERSION(2,2,0)
- -- | Creates a list of paths of all selected rows.
-diff -wbBur /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/ModelView/TreeView.chs gtk/Graphics/UI/Gtk/ModelView/TreeView.chs
---- /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/ModelView/TreeView.chs 2012-06-18 01:39:34.000000000 +0400
-+++ gtk/Graphics/UI/Gtk/ModelView/TreeView.chs 2012-10-02 16:30:54.000000000 +0400
-@@ -582,7 +582,7 @@
- {#pointer TreeViewColumnDropFunc#}
-
- foreign import ccall "wrapper" mkTreeViewColumnDropFunc ::
-- (Ptr () -> Ptr TreeViewColumn -> Ptr TreeViewColumn -> Ptr TreeViewColumn ->
-+ (Ptr TreeView -> Ptr TreeViewColumn -> Ptr TreeViewColumn -> Ptr TreeViewColumn ->
- Ptr () -> IO {#type gboolean#}) -> IO TreeViewColumnDropFunc
-
- -- | Scroll to a coordinate.
-@@ -798,7 +798,7 @@
- {#pointer TreeViewMappingFunc#}
-
- foreign import ccall "wrapper" mkTreeViewMappingFunc ::
-- (Ptr () -> Ptr NativeTreePath -> Ptr () -> IO ()) ->
-+ (Ptr TreeView -> Ptr NativeTreePath -> Ptr () -> IO ()) ->
- IO TreeViewMappingFunc
-
- -- | Check if row is expanded.
-diff -wbBur /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/Multiline/TextBuffer.chs gtk/Graphics/UI/Gtk/Multiline/TextBuffer.chs
---- /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/Multiline/TextBuffer.chs 2012-06-18 01:39:34.000000000 +0400
-+++ gtk/Graphics/UI/Gtk/Multiline/TextBuffer.chs 2012-10-02 16:27:34.000000000 +0400
-@@ -1251,16 +1251,26 @@
-
- -- | A 'Pixbuf' is inserted into the buffer.
- --
-+-- * See note in 'bufferInsertText'.
-+--
- insertPixbuf :: TextBufferClass self => Signal self (TextIter -> Pixbuf -> IO ())
- insertPixbuf = Signal (connect_BOXED_OBJECT__NONE "insert-pixbuf" mkTextIterCopy)
-
- -- | The 'insertChildAnchor' signal is emitted to insert a 'TextChildAnchor' in a 'TextBuffer'.
- -- Insertion actually occurs in the default handler.
- --
-+-- * See note in 'bufferInsertText'.
-+--
- insertChildAnchor :: TextBufferClass self => Signal self (TextIter -> TextChildAnchor -> IO ())
- insertChildAnchor = Signal (connect_BOXED_OBJECT__NONE "insert-child-anchor" mkTextIterCopy)
-
---- | Some text was inserted.
-+-- | Some text is inserted. Insertion actually occurs in the default handler.
-+--
-+-- * The function connected to this handler may not modify the buffer since
-+-- this would invalidate the iterator. If this function replaces the
-+-- default handler, it needs to stop the emission of this signal in order
-+-- to prevent the default handler from running. If additional text should
-+-- be inserted, this can be done using the 'after' function to connect.
- --
- bufferInsertText :: TextBufferClass self => Signal self (TextIter -> String -> IO ())
- bufferInsertText = Signal $ \after obj handler ->
-diff -wbBur /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/Multiline/TextIter.chs gtk/Graphics/UI/Gtk/Multiline/TextIter.chs
---- /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/Multiline/TextIter.chs 2012-06-18 01:39:34.000000000 +0400
-+++ gtk/Graphics/UI/Gtk/Multiline/TextIter.chs 2012-10-02 16:30:54.000000000 +0400
-@@ -797,7 +797,7 @@
- {#pointer TextCharPredicate#}
-
- foreign import ccall "wrapper" mkTextCharPredicate ::
-- ({#type gunichar#} -> Ptr () -> {#type gboolean#}) -> IO TextCharPredicate
-+ ({#type gunichar#} -> Ptr () -> IO {#type gboolean#}) -> IO TextCharPredicate
-
- -- | Move 'TextIter' forward until a
- -- predicate function returns True.
-@@ -810,7 +810,7 @@
- textIterForwardFindChar :: TextIter -> (Char -> Bool) -> Maybe TextIter ->
- IO Bool
- textIterForwardFindChar ti pred limit = do
-- fPtr <- mkTextCharPredicate (\c _ -> fromBool $ pred (chr (fromIntegral c)))
-+ fPtr <- mkTextCharPredicate (\c _ -> return $ fromBool $ pred (chr (fromIntegral c)))
- res <- liftM toBool $ {#call text_iter_forward_find_char#}
- ti fPtr nullPtr (fromMaybe (TextIter nullForeignPtr) limit)
- freeHaskellFunPtr fPtr
-@@ -827,7 +827,7 @@
- textIterBackwardFindChar :: TextIter -> (Char -> Bool) -> Maybe TextIter ->
- IO Bool
- textIterBackwardFindChar ti pred limit = do
-- fPtr <- mkTextCharPredicate (\c _ -> fromBool $ pred (chr (fromIntegral c)))
-+ fPtr <- mkTextCharPredicate (\c _ -> return $ fromBool $ pred (chr (fromIntegral c)))
- res <- liftM toBool $ {#call text_iter_backward_find_char#}
- ti fPtr nullPtr (fromMaybe (TextIter nullForeignPtr) limit)
- freeHaskellFunPtr fPtr
-diff -wbBur /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/Windows/Assistant.chs gtk/Graphics/UI/Gtk/Windows/Assistant.chs
---- /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/Windows/Assistant.chs 2012-06-18 01:39:34.000000000 +0400
-+++ gtk/Graphics/UI/Gtk/Windows/Assistant.chs 2012-10-02 16:30:54.000000000 +0400
-@@ -274,7 +274,7 @@
- {#pointer AssistantPageFunc#}
-
- foreign import ccall "wrapper" mkAssistantPageFunc ::
-- ({#type glong#} -> Ptr () -> IO {#type glong#})
-+ ({#type gint#} -> Ptr () -> IO {#type gint#})
- -> IO AssistantPageFunc
-
- -- | Sets the page type for @page@. The page type determines the page behavior
diff --git a/community-staging/haskell-gtk/gtk-gthread.h-include.patch b/community-staging/haskell-gtk/gtk-gthread.h-include.patch
deleted file mode 100644
index fc600d6be..000000000
--- a/community-staging/haskell-gtk/gtk-gthread.h-include.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-diff -u gtk-0.12.2/Graphics/UI/Gtk/General/hsgthread.c\~ gtk-0.12.2/Graphics/UI/Gtk/General/hsgthread.c
---- gtk-0.12.2/Graphics/UI/Gtk/General/hsgthread.c~ 2011-11-14 07:15:41.000000000 +0900
-+++ gtk-0.12.2/Graphics/UI/Gtk/General/hsgthread.c 2012-01-08 14:58:45.849209318 +0900
-@@ -26,7 +26,8 @@
- */
-
- #include <glib.h>
--#include <glib/gthread.h>
-+/* f17 gives Error "Only <glib.h> can be included directly."
-+ #include <glib/gthread.h> */
- #include <gdk/gdk.h>
- #include "hsgthread.h"
-
-
-Diff finished. Sun Jan 8 14:58:54 2012
diff --git a/community-staging/haskell-gtk/gtk2hs-gtk.install b/community-staging/haskell-gtk/gtk2hs-gtk.install
deleted file mode 100644
index 7ed674b78..000000000
--- a/community-staging/haskell-gtk/gtk2hs-gtk.install
+++ /dev/null
@@ -1,18 +0,0 @@
-HS_DIR=usr/share/haskell/gtk2hs-gtk
-post_install() {
- ${HS_DIR}/register.sh
- (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
-}
-pre_upgrade() {
- ${HS_DIR}/unregister.sh
-}
-post_upgrade() {
- ${HS_DIR}/register.sh
- (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
-}
-pre_remove() {
- ${HS_DIR}/unregister.sh
-}
-post_remove() {
- (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
-}
diff --git a/community-staging/haskell-pango/PKGBUILD b/community-staging/haskell-pango/PKGBUILD
deleted file mode 100644
index 1c3b89124..000000000
--- a/community-staging/haskell-pango/PKGBUILD
+++ /dev/null
@@ -1,46 +0,0 @@
-# $Id: PKGBUILD 76927 2012-10-02 10:46:31Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-
-pkgname=haskell-pango
-pkgver=0.12.3
-pkgrel=3
-pkgdesc="Binding to the pango library for Gtk2Hs."
-url="http://hackage.haskell.org/package/pango"
-license=('LGPL2.1')
-arch=('i686' 'x86_64')
-depends=('ghc' 'pango' 'haskell-glib' 'haskell-cairo')
-makedepends=("gtk2hs-buildtools")
-provides=('gtk2hs-pango')
-replaces=('gtk2hs-pango')
-conflicts=('gtk2hs-pango')
-options=('strip')
-install=gtk2hs-pango.install
-source=(http://hackage.haskell.org/packages/archive/pango/${pkgver}/pango-${pkgver}.tar.gz)
-md5sums=('1ef3132cb569703d5b1bc262c9d86fe3')
-
-build() {
- cd ${srcdir}/pango-${pkgver}
- runhaskell Setup configure -O -p --enable-split-objs --enable-shared \
- --prefix=/usr --docdir=/usr/share/doc/haskell-pango \
- --libsubdir=\$compiler/site-local/\$pkgid
- sed -i 's|import Foreign.C.Types.*(CULong, CUInt)|import Foreign.C.Types (CULong(..), CUInt(..))|' Graphics/Rendering/Pango/Types.chs
- runhaskell Setup build
- runhaskell Setup haddock
- runhaskell Setup register --gen-script
- runhaskell Setup unregister --gen-script
- sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-package() {
- _ghcver=`pacman -Q ghc | cut -f2 -d\ | cut -f1 -d-`
- _hglibver=`pacman -Q haskell-glib | cut -f2 -d\ | cut -f1 -d-`
- _hcairover=`pacman -Q haskell-cairo | cut -f2 -d\ | cut -f1 -d-`
- depends=("ghc=${_ghcver}" "pango" "haskell-glib=${_hglibver}" "haskell-cairo=${_hcairover}")
-
- cd ${srcdir}/pango-${pkgver}
- install -D -m744 register.sh ${pkgdir}/usr/share/haskell/gtk2hs-pango/register.sh
- install -m744 unregister.sh ${pkgdir}/usr/share/haskell/gtk2hs-pango/unregister.sh
- install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries
- ln -s /usr/share/doc/haskell-pango/html ${pkgdir}/usr/share/doc/ghc/html/libraries/pango
- runhaskell Setup copy --destdir=${pkgdir}
-}
diff --git a/community-staging/haskell-pango/gtk2hs-pango.install b/community-staging/haskell-pango/gtk2hs-pango.install
deleted file mode 100644
index f2be2100f..000000000
--- a/community-staging/haskell-pango/gtk2hs-pango.install
+++ /dev/null
@@ -1,18 +0,0 @@
-HS_DIR=usr/share/haskell/gtk2hs-pango
-post_install() {
- ${HS_DIR}/register.sh
- (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
-}
-pre_upgrade() {
- ${HS_DIR}/unregister.sh
-}
-post_upgrade() {
- ${HS_DIR}/register.sh
- (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
-}
-pre_remove() {
- ${HS_DIR}/unregister.sh
-}
-post_remove() {
- (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
-}
diff --git a/community-staging/ibus/PKGBUILD b/community-staging/ibus/PKGBUILD
deleted file mode 100644
index 177d0c901..000000000
--- a/community-staging/ibus/PKGBUILD
+++ /dev/null
@@ -1,40 +0,0 @@
-# $Id: PKGBUILD 77920 2012-10-15 21:34:04Z ebelanger $
-# Contributor: Rainy <rainylau(at)gmail(dot)com>
-# Contributor: Lee.MaRS <leemars at gmail dot com>
-# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
-# Maintainer: Brad Fanella <bradfanella@archlinux.us>
-
-pkgname=ibus
-pkgver=1.4.2
-pkgrel=2
-pkgdesc="Next Generation Input Bus for Linux"
-arch=('i686' 'x86_64')
-url="http://ibus.googlecode.com"
-license=('LGPL')
-depends=('python2-dbus' 'gconf' 'dconf' 'python2-xdg' \
- 'iso-codes' 'librsvg' 'python2-notify' 'hicolor-icon-theme')
-makedepends=('intltool' 'gobject-introspection')
-optdepends=('notification-daemon')
-options=('!libtool')
-install=ibus.install
-source=(http://ibus.googlecode.com/files/${pkgname}-${pkgver}.tar.gz)
-sha1sums=('a2d11d8bb64761691df918e9e50f0b35c711760d')
-
-build() {
- cd ${pkgname}-${pkgver}
- export PYTHON=python2
- ./configure \
- --prefix=/usr \
- --libexecdir=/usr/lib/ibus \
- --sysconfdir=/etc \
- --with-gconf-schema-file-dir=/usr/share/gconf/schemas \
- --enable-gtk3
- make
-}
-
-package() {
- cd ${pkgname}-${pkgver}
- make DESTDIR="${pkgdir}" install
- install -d "${pkgdir}/etc/xdg/autostart"
- ln -s /usr/share/applications/ibus.desktop "${pkgdir}/etc/xdg/autostart/ibus.desktop"
-}
diff --git a/community-staging/ibus/ibus.install b/community-staging/ibus/ibus.install
deleted file mode 100644
index f44e3be1d..000000000
--- a/community-staging/ibus/ibus.install
+++ /dev/null
@@ -1,29 +0,0 @@
-post_install() {
- gtk-query-immodules-2.0 > etc/gtk-2.0/gtk.immodules
-
- gconfpkg --install ibus
- gtk-update-icon-cache -fq -t usr/share/icons/hicolor
-
- # update for gkt3
- gtk-query-immodules-3.0 --update-cache
-}
-
-pre_upgrade() {
- pre_remove $1
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- gconfpkg --uninstall ibus
-}
-
-post_remove() {
- gtk-query-immodules-2.0 > etc/gtk-2.0/gtk.immodules
- gtk-update-icon-cache -fq -t usr/share/icons/hicolor
-
- # update for gkt3
- gtk-query-immodules-3.0 --update-cache
-}
diff --git a/community-staging/ktoblzcheck/PKGBUILD b/community-staging/ktoblzcheck/PKGBUILD
deleted file mode 100644
index 0b7caeec1..000000000
--- a/community-staging/ktoblzcheck/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# $Id: PKGBUILD 77312 2012-10-08 16:11:32Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: Philipp Sandhaus <philipp.sandhaus@gmx.de>
-
-pkgname=ktoblzcheck
-pkgver=1.39
-pkgrel=3
-pkgdesc="A library to check account numbers and bank codes of German banks"
-arch=(i686 x86_64)
-url="http://ktoblzcheck.sourceforge.net"
-options=('!libtool')
-license=("LGPL")
-depends=('gcc-libs' 'python')
-optdepends=('perl')
-source=(http://downloads.sourceforge.net/sourceforge/ktoblzcheck/ktoblzcheck-$pkgver.tar.gz
- ktoblzcheck-python3.patch)
-md5sums=('ef5efd6e2c31aaf6405060ec477c200c'
- 'a81a697bb3aaeffb7fac0ad7d9166e3f')
-
-build() {
- cd "$srcdir/ktoblzcheck-$pkgver"
- ./configure --prefix=/usr
- patch -p1 <$srcdir/ktoblzcheck-python3.patch
- make
-}
-
-package() {
- cd "$srcdir/ktoblzcheck-$pkgver"
- make DESTDIR="$pkgdir" install
-}
diff --git a/community-staging/ktoblzcheck/ktoblzcheck-python3.patch b/community-staging/ktoblzcheck/ktoblzcheck-python3.patch
deleted file mode 100644
index 5bfc53275..000000000
--- a/community-staging/ktoblzcheck/ktoblzcheck-python3.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-diff -ur ktoblzcheck-1.28/src/python/ktoblzcheck.py ktoblzcheck-1.28.my/src/python/ktoblzcheck.py
---- ktoblzcheck-1.28/src/python/ktoblzcheck.py 2008-08-12 16:48:54.000000000 +0000
-+++ ktoblzcheck-1.28.my/src/python/ktoblzcheck.py 2010-09-20 09:08:36.000000000 +0000
-@@ -197,35 +197,35 @@
-
- def test():
- a = AccountNumberCheck()
-- print 'Number of Banks:', a.bankCount
-- print 'find 20010020:', a.findBank('20010020')
-- print 'find 20010033:', a.findBank('20010033')
-- print 'check 20070024/9291394:', a.check('20070024','9291394')
-- print 'check 20070024/9291394:', a.check('20070024','9291394023')
-- print
-+ print('Number of Banks:', a.bankCount)
-+ print('find 20010020:', a.findBank('20010020'))
-+ print('find 20010033:', a.findBank('20010033'))
-+ print('check 20070024/9291394:', a.check('20070024','9291394'))
-+ print('check 20070024/9291394:', a.check('20070024','9291394023'))
-+ print()
- ck = IbanCheck()
- if not kto.IbanCheck_selftest(ck): # not publicly defined
-- print "Self-Test failed!"
-+ print("Self-Test failed!")
- raise SystemExit
- s = " iban fr14 2004 1010 0505 0001 3m02 606"
-- print "test for iban :", s
-+ print("test for iban :", s)
- iban = Iban(s)
-- print "transmission form:", iban.transmissionForm()
-+ print("transmission form:", iban.transmissionForm())
- res = ck.check(iban)
-- print "check result :", res, "("+IbanCheck.resultText(res)+")"
-- print "printable form :", iban.printableForm()
-- print
-- print "expect bad checksum:"
-+ print("check result :", res, "("+IbanCheck.resultText(res)+")")
-+ print("printable form :", iban.printableForm())
-+ print()
-+ print("expect bad checksum:")
- s = "FR1420041010050500013X02606"
- res = ck.check(s)
-- print s + ":", res, "("+IbanCheck.resultText(res)+")"
-- print
-+ print(s + ":", res, "("+IbanCheck.resultText(res)+")")
-+ print()
- s = "IBAN DE66 2007 0024 0929 1394 00"
-- print s
-+ print(s)
- s = Iban(s).transmissionForm()
- start, end = ck.bic_position(s)
-- print "prefix, checksum, BIC, account:"
-- print ', '.join((s[:2], s[2:4], s[start:end], s[end:].lstrip('0')))
-+ print("prefix, checksum, BIC, account:")
-+ print(', '.join((s[:2], s[2:4], s[start:end], s[end:].lstrip('0'))))
-
-
- if __name__ == '__main__':
diff --git a/community-staging/luxrays/PKGBUILD b/community-staging/luxrays/PKGBUILD
deleted file mode 100644
index 89e7088fb..000000000
--- a/community-staging/luxrays/PKGBUILD
+++ /dev/null
@@ -1,37 +0,0 @@
-# $Id: PKGBUILD 77407 2012-10-09 16:46:51Z stativ $
-# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
-pkgname=luxrays
-pkgver=1.1
-_pkgver=589aa5dac899
-pkgrel=1
-epoch=0
-pkgdesc="Accelerate the ray intersection process by using GPUs"
-arch=('i686' 'x86_64')
-url="http://www.luxrender.net/"
-license=('GPL')
-depends=('freeimage' 'freeglut' 'glew' 'libcl')
-makedepends=('cmake' 'boost' 'opencl-headers')
-source=(https://bitbucket.org/luxrender/luxrays/get/$_pkgver.tar.bz2)
-md5sums=('7513d71148fa14bc1779b816816580b9')
-
-build() {
- cd "$srcdir/luxrender-$pkgname-$_pkgver"
-
- export CXXFLAGS="$CXXFLAGS -lpthread"
- cmake -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_SKIP_RPATH=ON \
- -DLUXRAYS_DISABLE_OPENCL=OFF \
- .
- make
-}
-
-package() {
- cd "$srcdir/luxrender-$pkgname-$_pkgver"
-
- install -d -m755 "$pkgdir"/usr/{bin,include,lib}
- install -m755 bin/* "$pkgdir"/usr/bin
- install -m644 lib/* "$pkgdir"/usr/lib
- cp -a include/luxrays "$pkgdir"/usr/include
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/community-staging/luxrender/PKGBUILD b/community-staging/luxrender/PKGBUILD
deleted file mode 100644
index 93a60466c..000000000
--- a/community-staging/luxrender/PKGBUILD
+++ /dev/null
@@ -1,50 +0,0 @@
-# $Id: PKGBUILD 77421 2012-10-09 18:45:01Z stativ $
-# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
-# Initial contributor: flixie <69one@gmx.net>
-# Contributor: Imanol Celaya <ornitorrincos@archlinux-es.org>
-pkgname=luxrender
-pkgver=1.1
-_pkgver=4b4289cda943
-pkgrel=1
-pkgdesc="Rendering system for physically correct, unbiased image synthesis"
-arch=('i686' 'x86_64')
-url="http://www.luxrender.net/"
-license=('GPL')
-depends=('boost-libs' 'freeimage' 'openexr' 'libcl')
-optdepends=('luxblend25: Blender exporter' 'qt: Qt GUI' \
- 'python: Python interface (pylux)'
- 'nvidia-utils: OpenCL support for nVidia GPUs' \
- 'amdstream: OpenCL support for AMD GPUs' \
- 'intel-opencl-sdk: OpenCL support for Intel CPUs')
-makedepends=('cmake' 'boost' 'qt' "luxrays=$pkgver" 'python' 'opencl-headers')
-source=(https://bitbucket.org/luxrender/lux/get/$_pkgver.tar.bz2)
-md5sums=('accca65afdc4cc38db49a6e54f20e0f2')
-
-build() {
- cd "$srcdir"/luxrender-lux-$_pkgver
-
- # fix the installation
- sed -i '/.*wxgui.*/ d' CMakeLists.txt
-
- export CXXFLAGS="$CXXFLAGS -lpthread"
- cmake -DCMAKE_INSTALL_PREFIX=/usr \
- -DLUXRAYS_DISABLE_OPENCL=OFF \
- -DPYTHON_CUSTOM=ON \
- -DPYTHON_LIBRARIES=/usr/lib/libpython3.3m.so \
- -DPYTHON_INCLUDE_PATH=/usr/include/python3.3m/ \
- .
- make
-}
-
-package() {
- cd "$srcdir"/luxrender-lux-$_pkgver
- make DESTDIR="$pkgdir" install
-
- # fix library path on x86_64
- [ "$CARCH" = "x86_64" ] && mv "$pkgdir"/usr/lib64 "$pkgdir"/usr/lib
-
- #install pylux
- install -D -m644 pylux.so "$pkgdir"/usr/lib/python3.3/pylux.so
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/community-staging/lxdm/pam-env-vars.patch b/community-staging/lxdm/pam-env-vars.patch
deleted file mode 100644
index ab8605ff1..000000000
--- a/community-staging/lxdm/pam-env-vars.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-diff --git a/src/lxdm.c b/src/lxdm.c
-index 369aedf..cd1d486 100644
---- a/src/lxdm.c
-+++ b/src/lxdm.c
-@@ -935,16 +935,23 @@ void setup_pam_session(LXSession *s,struct passwd *pw,char *session_name)
- g_warning( "pam open session error \"%s\"\n", pam_strerror(s->pamh, err));
- }
-
--void append_pam_environ(pam_handle_t *pamh,char **env)
-+static char **append_pam_environ(pam_handle_t *pamh,char **env)
- {
-- int i,j,n;
-+ int i,j,n,a;
- char **penv;
-- if(!pamh) return;
-+ if(!pamh) return env;
- penv=pam_getenvlist(pamh);
-- if(!penv) return;
-+ if(!penv) return env;
-+ a=g_strv_length(penv);
-+ if(a==0)
-+ {
-+ free(penv);
-+ return env;
-+ }
-+ env=g_renew(char *,env,g_strv_length(env)+1+a+10);
- for(i=0;penv[i]!=NULL;i++)
- {
-- //printf("PAM %s\n",penv[i]);
-+ fprintf(stderr,"PAM %s\n",penv[i]);
- n=strcspn(penv[i],"=")+1;
- for(j=0;env[j]!=NULL;j++)
- {
-@@ -960,6 +967,7 @@ void append_pam_environ(pam_handle_t *pamh,char **env)
- free(penv[i]);
- }
- free(penv);
-+ return env;
- }
-
- #endif
-@@ -1540,7 +1548,7 @@ void lxdm_do_login(struct passwd *pw, char *session, char *lang, char *option)
- if(s->child==0)
- {
- #if HAVE_LIBPAM
-- append_pam_environ(s->pamh,env);
-+ env=append_pam_environ(s->pamh,env);
- pam_end(s->pamh,0);
- #endif
- switch_user(pw, session_exec, env);
diff --git a/community-staging/mezogis/ChangeLog b/community-staging/mezogis/ChangeLog
deleted file mode 100644
index dba4cf7ec..000000000
--- a/community-staging/mezogis/ChangeLog
+++ /dev/null
@@ -1,3 +0,0 @@
-2007-06-27 tardo <tardo@nagi-fanboi.net>
-* Built for x86_64
-
diff --git a/community-staging/mezogis/PKGBUILD b/community-staging/mezogis/PKGBUILD
deleted file mode 100644
index be14bb8c1..000000000
--- a/community-staging/mezogis/PKGBUILD
+++ /dev/null
@@ -1,26 +0,0 @@
-# $Id: PKGBUILD 78010 2012-10-16 03:23:52Z allan $
-# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
-# Contributor: William Rea <sillywilly@gmail.com>
-
-pkgname=mezogis
-pkgver=0.1.5
-pkgrel=6
-pkgdesc="A GIS application to query and analyse spatial data"
-arch=('i686' 'x86_64')
-url="http://www.mezogis.org"
-license=('GPL')
-depends=('pygtk' 'python2-geotypes' 'postgis')
-source=("http://www.mezogis.org/files/mezogis-$pkgver.tar.gz")
-md5sums=('1f886b849109a1a1bd3e165353b82368')
-
-package() {
- cd $srcdir/mezogis-$pkgver
-
- # python2 fix
- for file in $(find . -name '*.py' -print); do
- sed -i 's_#!.*/usr/bin/python_#!/usr/bin/python2_' $file
- sed -i 's_#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
- done
-
- python2 setup.py install --root=$pkgdir
-}
diff --git a/community-staging/neatx/PKGBUILD b/community-staging/neatx/PKGBUILD
deleted file mode 100644
index c11e76546..000000000
--- a/community-staging/neatx/PKGBUILD
+++ /dev/null
@@ -1,39 +0,0 @@
-# $Id: PKGBUILD 78006 2012-10-16 03:10:35Z allan $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: Nicolas Doualot <packages@slubman.info>
-
-pkgname=neatx
-pkgver=0.3.1
-pkgrel=13
-pkgdesc="A free NX server by google"
-arch=('i686' 'x86_64')
-url="http://code.google.com/p/neatx/"
-license=('GPL')
-depends=('nxserver' 'python2-pexpect' 'python2-simplejson' 'netcat' 'pygtk')
-makedepends=('docutils')
-optdepends=('xorg-xdm: if you want to use KDE or GNOME session'
- 'xorg-fonts-misc: to use default font'
- 'xterm: if you want console session')
-install=neatx.install
-source=(http://neatx.googlecode.com/files/$pkgname-$pkgver.tar.gz
- constants.archlinux.patch)
-md5sums=('5748656738d5f04fef1af01b9fe5ef20'
- 'a5ca4aa399cc25fa8435280e8b03c5a3')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- patch -i "$srcdir/constants.archlinux.patch" -p2
-
- ./configure --prefix=/usr --localstatedir=/var RST2HTML=/usr/bin/rst2html2
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
-
- make DESTDIR="$pkgdir/" install
- chmod 777 "$pkgdir/var/lib/neatx/sessions"
-
- install -d -m755 ${pkgdir}/etc/ld.so.conf.d/
- echo -e '/usr/lib\n/opt/NX/lib' > ${pkgdir}/etc/ld.so.conf.d/neatx.conf
-}
diff --git a/community-staging/neatx/constants.archlinux.patch b/community-staging/neatx/constants.archlinux.patch
deleted file mode 100644
index dff5e2415..000000000
--- a/community-staging/neatx/constants.archlinux.patch
+++ /dev/null
@@ -1,42 +0,0 @@
---- a/neatx-0.3.1/lib/constants.py 2009-06-24 21:19:55.000000000 +0200
-+++ b/neatx-0.3.1/lib/constants.py 2009-07-08 10:50:30.000000000 +0200
-@@ -25,19 +25,19 @@
- from neatx import _autoconf
-
-
--NXDIR = "/usr/lib/nx"
-+NXDIR = "/opt/NX/bin"
-
- SYSLOG_ADDRESS = "/dev/log"
- BASH = "/bin/bash"
--NETCAT = "/bin/netcat"
-+NETCAT = "/usr/bin/netcat"
- XRDB = "/usr/bin/xrdb"
- SU = "/bin/su"
- SSH = "/usr/bin/ssh"
- XAUTH = "/usr/bin/xauth"
--XSESSION = "/etc/X11/Xsession"
-+XSESSION = "/etc/X11/xdm/Xsession"
-
- START_CONSOLE_COMMAND = "/usr/bin/xterm"
--START_KDE_COMMAND = XSESSION + " startkde"
-+START_KDE_COMMAND = " startkde"
- START_GNOME_COMMAND = XSESSION + " gnome-session"
-
- NXUSER = "nx"
-@@ -47,12 +47,13 @@
- NXNC = _autoconf.PKGLIBDIR + "/nxnc"
- NXDIALOG = _autoconf.PKGLIBDIR + "/nxdialog"
- NXAGENT = NXDIR + "/nxagent"
--NXAGENT_PKGNAME = "nxagent"
-+#NXAGENT_PKGNAME = "nxagent"
-+NXAGENT_PKGNAME = "nxserver"
- FDCOPY = _autoconf.PKGLIBDIR + "/fdcopy"
- TTYSETUP = _autoconf.PKGLIBDIR + "/ttysetup"
-
- # Extract nxagent version using the following command.
--NXAGENT_VERSION_COMMAND = ("dpkg-query -W --showformat='${Version}' %s" %
-+NXAGENT_VERSION_COMMAND = ("pacman -Qi %s | grep Version | awk '{print $3}'" %
- NXAGENT_PKGNAME)
- NXAGENT_VERSION_SEP = ".-~"
-
diff --git a/community-staging/neatx/neatx.install b/community-staging/neatx/neatx.install
deleted file mode 100644
index 89356878c..000000000
--- a/community-staging/neatx/neatx.install
+++ /dev/null
@@ -1,18 +0,0 @@
-post_install() {
- useradd -d /opt/NX/home/nx -s /usr/lib/neatx/nxserver-login-wrapper nx &> /dev/null
- mkdir -p ~nx/.ssh
- cp /usr/share/neatx/authorized_keys.nomachine ~nx/.ssh/authorized_keys
- chmod 600 ~nx/.ssh/authorized_keys
- chown -R nx ~nx
- post_remove
-}
-
-pre_remove() {
- userdel nx > /dev/null 2>&1
- rm -rf ~nx
-}
-
-post_remove() {
- sed -e '/\/opt\/NX\/lib/d' -i etc/ld.so.conf
- ldconfig
-}
diff --git a/community-staging/onboard/PKGBUILD b/community-staging/onboard/PKGBUILD
deleted file mode 100644
index 236f0046b..000000000
--- a/community-staging/onboard/PKGBUILD
+++ /dev/null
@@ -1,27 +0,0 @@
-# $Id: PKGBUILD 77541 2012-10-12 02:28:37Z bgyorgy $
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-
-pkgname=onboard
-pkgver=0.98.1
-pkgrel=1
-pkgdesc="On-screen keyboard useful on tablet PCs or for mobility impaired users"
-arch=('i686' 'x86_64')
-url="https://launchpad.net/onboard"
-license=('GPL')
-depends=('python-dbus' 'python-gobject' 'gtk3' 'python-virtkey' 'librsvg' 'gsettings-desktop-schemas' 'desktop-file-utils' 'dconf' 'hicolor-icon-theme' 'xdg-utils')
-makedepends=('python-distutils-extra')
-optdepends=('at-spi2-atk: auto-show when editing text'
- 'mousetweaks: hover click with mouse')
-options=('!emptydirs')
-install=$pkgname.install
-source=(http://launchpad.net/$pkgname/${pkgver%.*}/$pkgver/+download/$pkgname-$pkgver.tar.gz)
-md5sums=('107e031b429329b71deb67c9b90195d6')
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
-
- # Do not set getpreferredencoding, because it breaks getstatusoutput() in the setup script
- sed -i '/getpreferredencoding =/ d' setup.py
-
- python3 setup.py install --root=$pkgdir/ --optimize=1
-}
diff --git a/community-staging/onboard/onboard.install b/community-staging/onboard/onboard.install
deleted file mode 100644
index aa4c3e059..000000000
--- a/community-staging/onboard/onboard.install
+++ /dev/null
@@ -1,13 +0,0 @@
-post_install() {
- glib-compile-schemas usr/share/glib-2.0/schemas
- update-desktop-database -q
- xdg-icon-resource forceupdate
-}
-
-post_upgrade() {
- post_install $1
-}
-
-post_remove() {
- post_install $1
-}
diff --git a/community-staging/python-bsddb/LICENSE b/community-staging/python-bsddb/LICENSE
deleted file mode 100644
index 7d6035775..000000000
--- a/community-staging/python-bsddb/LICENSE
+++ /dev/null
@@ -1,19 +0,0 @@
-Copyright (c) 2008-2009 Jesus Cea Avion
-
-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 OR COPYRIGHT HOLDERS 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. \ No newline at end of file
diff --git a/community-staging/python-bsddb/PKGBUILD b/community-staging/python-bsddb/PKGBUILD
deleted file mode 100644
index 1f83cd005..000000000
--- a/community-staging/python-bsddb/PKGBUILD
+++ /dev/null
@@ -1,49 +0,0 @@
-# $Id: PKGBUILD 77787 2012-10-14 18:15:13Z stephane $
-# Maintainer: Kaiting Chen <kaitocracy@gmail.com>
-# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
-# Contributor: Douglas Soares de Andrade <dsandrade@gmail.com>
-# Contributor: William Rea <sillywilly@gmail.com>
-
-pkgbase=python-bsddb
-pkgname=('python2-bsddb' 'python-bsddb')
-pkgver=5.3.0
-pkgrel=3
-pkgdesc="Python interface for BerkeleyDB"
-license=('MIT')
-arch=('i686' 'x86_64')
-url="http://www.jcea.es/programacion/pybsddb.htm"
-makedepends=('python2-distribute' 'python-distribute')
-source=(http://pypi.python.org/packages/source/b/bsddb3/bsddb3-${pkgver}.tar.gz
- LICENSE)
-sha1sums=('8743f6d7a2f5471094941a46859723aae88f3915'
- 'ef4e4caf618781104dbf5824279ed39d127b4713')
-
-build () {
- cd "${srcdir}"
-
- cp -r bsddb3-${pkgver}{,-python2}
-
- # Build python 3 module
- cd bsddb3-${pkgver}
- python3 setup.py --berkeley-db=/usr build
-
- # Build python 2 module
- cd ../bsddb3-${pkgver}-python2
- python2 setup.py --berkeley-db=/usr build
-}
-
-package_python2-bsddb() {
- depends=('db' 'python2>=2.7')
- cd "${srcdir}/bsddb3-${pkgver}-python2"
-
- python2 setup.py --berkeley-db=/usr install --root="${pkgdir}" --skip-build --optimize=1
- install -Dm644 "${srcdir}"/LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}
-
-package_python-bsddb() {
- depends=('db' 'python>=3.3')
- cd "${srcdir}/bsddb3-${pkgver}"
-
- python3 setup.py --berkeley-db=/usr install --root="${pkgdir}" --skip-build --optimize=1
- install -Dm644 "${srcdir}"/LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}
diff --git a/community-staging/python-gnupginterface/PKGBUILD b/community-staging/python-gnupginterface/PKGBUILD
deleted file mode 100644
index 33446e9b3..000000000
--- a/community-staging/python-gnupginterface/PKGBUILD
+++ /dev/null
@@ -1,21 +0,0 @@
-# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
-# Contributor: Aaron Schaefer <aaron@elasticdog.com>
-
-pkgbase=python-gnupginterface
-pkgname=python2-gnupginterface
-pkgver=0.3.2
-pkgrel=1
-pkgdesc='A Python interface to GNU Privacy Guard (GnuPG).'
-arch=('i686' 'x86_64')
-url='http://py-gnupg.sourceforge.net/'
-license=('GPL')
-depends=('gnupg' 'python2')
-conflicts=('python-gnupginterface<=0.3.2-6')
-replaces=('python-gnupginterface<=0.3.2-6')
-source=("http://downloads.sourceforge.net/sourceforge/py-gnupg/GnuPGInterface-$pkgver.tar.gz")
-md5sums=('d4627d83446f96bd8c22f8d15db3f7c2')
-
-package_python2-gnupginterface() {
- cd "$srcdir/GnuPGInterface-$pkgver"
- python2 setup.py install --root="$pkgdir" -O1
-}
diff --git a/community-staging/python-mpi4py/PKGBUILD b/community-staging/python-mpi4py/PKGBUILD
deleted file mode 100644
index 5352cf41c..000000000
--- a/community-staging/python-mpi4py/PKGBUILD
+++ /dev/null
@@ -1,43 +0,0 @@
-# $Id: PKGBUILD 76992 2012-10-03 00:59:14Z stephane $
-# Maintainer : Stéphane Gaudreault <stephane@archlinux.org>
-# Contributor: Sebastien Binet <binet@cern.ch>
-
-pkgbase=python-mpi4py
-pkgname=('python-mpi4py' 'python2-mpi4py')
-pkgver=1.3
-pkgrel=2
-arch=('i686' 'x86_64')
-url="http://mpi4py.scipy.org"
-license=('BSD')
-makedepends=('python' 'python2' 'python-distribute' 'python2-distribute' 'openmpi')
-source=(http://mpi4py.googlecode.com/files/mpi4py-${pkgver}.tar.gz)
-sha1sums=('282c1b9e35b242c9bd86126ebc5af6c70d8c2833')
-
-build() {
- cd "${srcdir}"
- cp -a mpi4py-${pkgver}{,-python2}
-
- # Build python 3 module
- cd mpi4py-${pkgver}
- python3 setup.py build
-
- # Build python 2 module
- cd ../mpi4py-${pkgver}-python2
- python2 setup.py build
-}
-
-package_python-mpi4py() {
- pkgdesc="Python bindings of the Message Passing Interface (MPI)"
- depends=('python>=3.3' 'openmpi')
-
- cd "${srcdir}/mpi4py-${pkgver}"
- python3 setup.py install --root "${pkgdir}" --optimize=1 --skip-build
-}
-
-package_python2-mpi4py() {
- pkgdesc="Python2 bindings of the Message Passing Interface (MPI)"
- depends=('python2>=2.7' 'openmpi')
-
- cd "${srcdir}/mpi4py-${pkgver}-python2"
- python2 setup.py install --root "${pkgdir}" --optimize=1 --skip-build
-}
diff --git a/community-staging/python-numarray/LICENSE b/community-staging/python-numarray/LICENSE
deleted file mode 100644
index 30ff57fc4..000000000
--- a/community-staging/python-numarray/LICENSE
+++ /dev/null
@@ -1,9 +0,0 @@
-Copyright (C) 2005 Association of Universities for Research in Astronomy (AURA)
-
-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. The name of AURA and its representatives may not be used to endorse or promote products derived from this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY AURA ``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 AURA 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/community-staging/python-numarray/PKGBUILD b/community-staging/python-numarray/PKGBUILD
deleted file mode 100644
index 813d2a700..000000000
--- a/community-staging/python-numarray/PKGBUILD
+++ /dev/null
@@ -1,33 +0,0 @@
-# $Id: PKGBUILD 77974 2012-10-16 01:49:29Z allan $
-# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
-# Contributor: Douglas Soares de Andrade <dsandrade@gmail.com>
-
-pkgbase=python-numarray
-pkgname=python2-numarray
-pkgver=1.5.2
-pkgrel=6
-pkgdesc='Provides array manipulation and computational capabilities.'
-arch=('i686' 'x86_64')
-url='http://numpy.scipy.org/'
-license=('BSD')
-depends=('python2')
-conflicts=('python2-numarray<=1.5.2-6')
-replaces=('python2-numarray<=1.5.2-6')
-source=("http://downloads.sourceforge.net/sourceforge/numpy/numarray-${pkgver}.tar.gz"
- 'LICENSE')
-md5sums=('d2ecfc60fe4869c328b872540d04e0f7'
- 'e32b4466453e530d7fb0dbeee0ca1044')
-
-build() {
- cd "${srcdir}/numarray-${pkgver}"
-
- # python2 fix
- sed -i 's_#! /usr/bin/env python_#! /usr/bin/env python2_' Examples/convolve/benchmark.py
-}
-
-package_python2-numarray() {
- cd "${srcdir}/numarray-${pkgver}"
-
- python2 setup.py install --root="${pkgdir}"
- install -D ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
diff --git a/community-staging/python-openbabel/PKGBUILD b/community-staging/python-openbabel/PKGBUILD
deleted file mode 100644
index 1c229f553..000000000
--- a/community-staging/python-openbabel/PKGBUILD
+++ /dev/null
@@ -1,38 +0,0 @@
-# $Id: PKGBUILD 77768 2012-10-14 16:13:27Z ebelanger $
-# Maintainer: Andrea Scarpino <andrea@archlinux.org>
-# Contributor: Michal Bozon <bozonm@vscht.cz>
-
-pkgname=python-openbabel
-pkgver=2.3.1
-pkgrel=3
-pkgdesc="Python bindings of openbabel library"
-arch=('i686' 'x86_64')
-url="http://openbabel.org/wiki/Python"
-license=('GPL')
-depends=('python' 'gcc-libs' "openbabel=${pkgver}" 'eigen2')
-makedepends=('swig' 'cmake')
-options=('!libtool')
-source=(http://downloads.sourceforge.net/openbabel/openbabel-$pkgver.tar.gz)
-md5sums=('1f029b0add12a3b55582dc2c832b04f8')
-
-build() {
- cd "${srcdir}/openbabel-$pkgver"
-
- # Create babelconfig.h
- cmake .
-
- # Regenerate interface with the patched swig 2.0.2
- cd scripts
- swig -I../include/ -python -py3 -c++ openbabel-python.i
- mv openbabel-python_wrap.cxx python/openbabel-python.cpp
- mv openbabel.py python/
-
- cd python
- sed -i '19i os.path.join("/usr/include/openbabel-2.0"),' setup.py
- sed -i '20i os.path.join("/usr/include/eigen2"),' setup.py
-}
-
-package() {
- cd "${srcdir}/openbabel-$pkgver/scripts/python"
- python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
-}
diff --git a/community-staging/python-psycopg1/PKGBUILD b/community-staging/python-psycopg1/PKGBUILD
deleted file mode 100644
index be5d7e8c2..000000000
--- a/community-staging/python-psycopg1/PKGBUILD
+++ /dev/null
@@ -1,34 +0,0 @@
-# $Id: PKGBUILD 77980 2012-10-16 02:05:02Z allan $
-# Contributor: William Rea <sillywilly@gmail.com>
-
-pkgbase=python-psycopg1
-pkgname=python2-psycopg1
-pkgver=1.1.21
-pkgrel=8
-pkgdesc="A PostgreSQL database adapter for Python"
-arch=('i686' 'x86_64')
-url="http://initd.org/projects/psycopg1"
-license=('GPL')
-depends=('python2-egenix-mx-base' 'postgresql')
-conflicts=('python-psycopg1<=1.1.21-7')
-replaces=('python-psycopg1<=1.1.21-7')
-source=(http://initd.org/psycopg/tarballs/PSYCOPG-1-1/psycopg-$pkgver.tar.gz)
-md5sums=('a31f79f68d6d32898d6f24e11369a106')
-sha1sums=('02d8a8b5dd682306117896c7c63a9a1b518997b6')
-
-build() {
- cd "$srcdir/psycopg-$pkgver"
-
- ./configure --prefix=/usr --with-python=/usr/bin/python2 \
- --with-mxdatetime-includes=/usr/lib/python2.7/site-packages/mx/DateTime/mxDateTime
- sed -e 's:\(echo " install -m 555 $$mod \)\($(PY_MOD_DIR)\)\("; \\\):\1${DESTDIR}\2/$$mod\3:' \
- -e 's:\($(INSTALL) -m 555 $$mod \)\($(PY_MOD_DIR)\)\(; \\\):\1${DESTDIR}\2/$$mod\3:' \
- -i Makefile
- make
-}
-
-package_python2-psycopg1() {
- cd "$srcdir/psycopg-$pkgver"
-
- make DESTDIR="$pkgdir" install
-}
diff --git a/community-staging/python-psycopg2/ChangeLog b/community-staging/python-psycopg2/ChangeLog
deleted file mode 100644
index f31be0aaa..000000000
--- a/community-staging/python-psycopg2/ChangeLog
+++ /dev/null
@@ -1,25 +0,0 @@
-
-2009-08-05 Douglas Soares de Andrade <douglas@archlinux.org>
-
- * Updated to: 2.0.11
-
-2009-03-24 Douglas Soares de Andrade <douglas@archlinux.org>
-
- * Updated for i686: 2.0.9
-
-2009-01-11 Douglas Soares de Andrade <douglas@archlinux.org>
-
- * Rebuilt for python 2.6
-
-2008-04-25 Mateusz Herych <heniekk@gmail.com>
-
- * Built for x86_64 - 2.0.7
-
-2008-04-23 Douglas Soares de Andrade <dsa@aur.archlinux.org>
-
- * Built for i686 - 2.0.7
-
-2007-06-27 tardo <tardo@nagi-fanboi.net>
-
- * Built for x86_64
-
diff --git a/community-staging/python-psycopg2/PKGBUILD b/community-staging/python-psycopg2/PKGBUILD
deleted file mode 100644
index 88b74f129..000000000
--- a/community-staging/python-psycopg2/PKGBUILD
+++ /dev/null
@@ -1,35 +0,0 @@
-# $Id: PKGBUILD 77314 2012-10-08 16:12:05Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Maintainer: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
-# Maintainer: Douglas Soares de Andrade <dsa@aur.archlinux.org>
-
-pkgbase=python-psycopg2
-pkgname=('python-psycopg2' 'python2-psycopg2')
-pkgver=2.4.5
-pkgrel=2
-pkgdesc="A PostgreSQL database adapter for the Python programming language."
-arch=('i686' 'x86_64')
-url="http://initd.org/psycopg/"
-license=('LGPL3')
-makedepends=('python2' 'python' 'postgresql-libs>=8.4.1')
-source=(http://initd.org/psycopg/tarballs/PSYCOPG-2-4/psycopg2-$pkgver.tar.gz)
-md5sums=('075e4df465e9a863f288d5bdf6e6887e')
-
-build() {
- cd "$srcdir/psycopg2-$pkgver"
- sed -i 's/,PSYCOPG_DEBUG$//' setup.cfg
-}
-
-package_python-psycopg2() {
- depends=('python' 'postgresql-libs>=8.4.1')
-
- cd "$srcdir/psycopg2-$pkgver"
- python setup.py install --root="$pkgdir"
-}
-
-package_python2-psycopg2() {
- depends=('python2' 'postgresql-libs>=8.4.1')
-
- cd "$srcdir/psycopg2-$pkgver"
- python2 setup.py install --root="$pkgdir"
-}
diff --git a/community-staging/python-pymongo/PKGBUILD b/community-staging/python-pymongo/PKGBUILD
deleted file mode 100644
index 91df7cb6a..000000000
--- a/community-staging/python-pymongo/PKGBUILD
+++ /dev/null
@@ -1,37 +0,0 @@
-# $Id: PKGBUILD 77784 2012-10-14 18:11:53Z jelle $
-# Maintainer: Alexander Rødseth <rodseth@gmail.com>
-# Contributor: Thomas S Hatch <thatch45@gmail.com>
-
-pkgbase=python-pymongo
-pkgname=('python-pymongo' 'python2-pymongo')
-pkgver=2.3
-pkgrel=2
-pkgdesc='Python driver for MongoDB'
-arch=('x86_64' 'i686')
-license=('APACHE')
-url='http://pypi.python.org/pypi/pymongo/'
-makedepends=('python-distribute' 'python2-distribute')
-source=("http://pypi.python.org/packages/source/p/pymongo/pymongo-$pkgver.tar.gz")
-sha256sums=('8e43fdd7ea8e2aa965791af1b6e24186248023c6fde70092d9631b1d9150b1dc')
-
-build() {
- cd "$srcdir"
- cp -a "pymongo-$pkgver" "pymongo2-$pkgver"
-
-}
-
-package_python2-pymongo() {
- depends=('python2')
- cd "$srcdir/pymongo2-$pkgver"
-
- python2 setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python-pymongo() {
- depends=('python')
-
- cd "$srcdir/pymongo-$pkgver"
-
- python setup.py install --root="$pkgdir" --optimize=1
-}
-# vim:set ts=2 sw=2 et:
diff --git a/community-staging/python-pyproj/PKGBUILD b/community-staging/python-pyproj/PKGBUILD
deleted file mode 100644
index d52a59c80..000000000
--- a/community-staging/python-pyproj/PKGBUILD
+++ /dev/null
@@ -1,49 +0,0 @@
-# $Id: PKGBUILD 76990 2012-10-03 00:51:46Z stephane $
-# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
-
-pkgbase=python-pyproj
-pkgname=('python-pyproj' 'python2-pyproj')
-pkgver=1.9.2
-pkgrel=1
-pkgdesc="Python interfaces to PROJ.4 library"
-arch=('i686' 'x86_64')
-url="http://code.google.com/p/pyproj"
-license=('custom')
-source=(http://pyproj.googlecode.com/files/pyproj-${pkgver}.tar.gz)
-makedepends=('python' 'python2')
-sha1sums=('a7a4bf95f3492e45704bccd4aeafe3bbe32fb023')
-
-build() {
- cd "${srcdir}"
-
- cp -a pyproj-${pkgver}{,-python2}
-
- # Build python 3 module
- cd pyproj-${pkgver}
- python3 setup.py build
-
- # Build python 2 module
- cd ../pyproj-${pkgver}-python2
- python2 setup.py build
-}
-
-package_python-pyproj() {
- depends=('proj' 'python>=3.3')
-
- cd "${srcdir}"/pyproj-${pkgver}
- python3 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
-
- install -dm755 "${pkgdir}"/usr/share/licenses/${pkgname}
- install -m644 LICENSE_proj4 "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}
-
-package_python2-pyproj() {
- depends=('proj' 'python2>=2.7')
- replaces=('pyproj')
-
- cd "${srcdir}"/pyproj-${pkgver}-python2
- python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
-
- install -dm755 "${pkgdir}"/usr/share/licenses/${pkgname}
- install -m644 LICENSE_proj4 "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}
diff --git a/community-staging/python-pyxattr/PKGBUILD b/community-staging/python-pyxattr/PKGBUILD
deleted file mode 100644
index b2a40177d..000000000
--- a/community-staging/python-pyxattr/PKGBUILD
+++ /dev/null
@@ -1,33 +0,0 @@
-# $Id: PKGBUILD 77978 2012-10-16 01:55:36Z allan $
-# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
-# Contributor: Jon Bergli Heier <snakebite@jvnv.net>
-
-pkgname=('python2-pyxattr' 'python-pyxattr')
-pkgbase=python-pyxattr
-_pkgname=pyxattr
-pkgver=0.5.0
-pkgrel=4
-pkgdesc='A python extension module that allows you to manipulate the extended attributes.'
-arch=('i686' 'x86_64')
-url='http://pyxattr.sourceforge.net/'
-license=('GPL')
-makedepends=('python2' 'python' 'python2-distribute' 'python-distribute')
-source=("http://downloads.sourceforge.net/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
-md5sums=('0f7ab1e185087329e40f7de218517c84')
-
-package_python2-pyxattr() {
- depends=('python2')
- provides=('pyxattr')
- conflicts=('pyxattr')
- replaces=('pyxattr')
-
- cd "${srcdir}/${_pkgname}-${pkgver}"
- python2 setup.py install --root="${pkgdir}"
-}
-
-package_python-pyxattr() {
- depends=('python')
-
- cd "${srcdir}/${_pkgname}-${pkgver}"
- python setup.py install --root="${pkgdir}"
-}
diff --git a/community-staging/python-pyzmq/PKGBUILD b/community-staging/python-pyzmq/PKGBUILD
deleted file mode 100644
index e771c2ad5..000000000
--- a/community-staging/python-pyzmq/PKGBUILD
+++ /dev/null
@@ -1,20 +0,0 @@
-# $Id: PKGBUILD 77143 2012-10-05 13:37:01Z kkeen $
-# Maintainer: Kyle Keen <keenerd at gmail dot com>
-pkgname=python-pyzmq
-pkgver=2.2.0.1
-pkgrel=2
-pkgdesc="Python3 bindings for zeromq, written in Cython"
-arch=(i686 x86_64)
-url="http://www.zeromq.org/bindings:python"
-license=('LGPL')
-depends=(zeromq python)
-source=(https://github.com/zeromq/pyzmq/downloads/pyzmq-$pkgver.tar.gz)
-md5sums=('f2f80709e84c8ac72d6671eee645d804')
-
-build() {
- cd "$srcdir/pyzmq-$pkgver"
- # py3 errors added in 2.2.0.1
- sed -i 's|except socket.error, e:|except socket.error as e:|' zmq/eventloop/ioloop.py
- sed -i 's|except gevent.Timeout, t:|except gevent.Timeout as t:|' zmq/green/core.py
- python3 setup.py install --root="$pkgdir" --optimize=0
-}
diff --git a/community-staging/python-sqlalchemy/PKGBUILD b/community-staging/python-sqlalchemy/PKGBUILD
deleted file mode 100644
index c59dcf0da..000000000
--- a/community-staging/python-sqlalchemy/PKGBUILD
+++ /dev/null
@@ -1,44 +0,0 @@
-# $Id: PKGBUILD 77772 2012-10-14 16:35:27Z ebelanger $
-# Maintainer: Angel Velasquez <angvp@archlinux.org>
-# Contributor: Sébastien Luttringer <seblu@aur.archlinux.org>
-
-pkgbase=python-sqlalchemy
-pkgname=('python-sqlalchemy' 'python2-sqlalchemy')
-pkgver=0.7.9
-pkgrel=1
-arch=('i686' 'x86_64') # python2 package contain .so
-url="http://www.sqlalchemy.org/"
-license=('custom: MIT')
-makedepends=('python' 'python2' 'python-distribute' 'python2-distribute' 'python-nose' 'python2-nose')
-source=("http://downloads.sourceforge.net/sourceforge/sqlalchemy/SQLAlchemy-$pkgver.tar.gz")
-md5sums=('c4852d586d95a59fbc9358f4467875d5')
-
-build() {
- cp -a SQLAlchemy-$pkgver SQLAlchemy2-$pkgver
- cd SQLAlchemy-$pkgver
- python setup.py build
- cd ../SQLAlchemy2-$pkgver
- python2 setup.py build
-}
-
-package_python-sqlalchemy() {
- pkgdesc='Python SQL toolkit and Object Relational Mapper'
- depends=('python')
-
- cd SQLAlchemy-${pkgver}
- python setup.py install --root="${pkgdir}"
- install -D -m644 LICENSE \
- "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_python2-sqlalchemy() {
- pkgdesc='Python 2 SQL toolkit and Object Relational Mapper'
- depends=('python2')
-
- cd SQLAlchemy2-$pkgver
- python2 setup.py install --root="$pkgdir"
- install -D -m644 LICENSE \
- "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# vim:set ts=2 sw=2 ft=sh et:
diff --git a/community-staging/python-yaml/PKGBUILD b/community-staging/python-yaml/PKGBUILD
deleted file mode 100644
index c9457fde7..000000000
--- a/community-staging/python-yaml/PKGBUILD
+++ /dev/null
@@ -1,36 +0,0 @@
-# $Id: PKGBUILD 77316 2012-10-08 16:12:37Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: Michal Bozon <michal.bozon__at__gmail.com>
-
-pkgbase=python-yaml
-pkgname=(python2-yaml python-yaml)
-pkgver=3.10
-pkgrel=3
-pkgdesc="Python bindings for YAML, using fast libYAML library"
-arch=('i686' 'x86_64')
-url="http://pyyaml.org"
-license=('MIT')
-makedepends=('python' 'python2' 'libyaml')
-install='python-yaml.install'
-source=(http://pyyaml.org/download/pyyaml/PyYAML-$pkgver.tar.gz)
-md5sums=('74c94a383886519e9e7b3dd1ee540247')
-
-build() {
- true
-}
-
-package_python2-yaml() {
- depends=('python2' 'libyaml')
-
- cd $srcdir/PyYAML-$pkgver
- python2 setup.py install --prefix=/usr --root=$pkgdir
- install -m644 -D LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python-yaml() {
- depends=('python' 'libyaml')
-
- cd $srcdir/PyYAML-$pkgver
- python setup.py install --prefix=/usr --root=$pkgdir
- install -m644 -D LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
-}
diff --git a/community-staging/python-yaml/python-yaml.install b/community-staging/python-yaml/python-yaml.install
deleted file mode 100644
index e2ae0674b..000000000
--- a/community-staging/python-yaml/python-yaml.install
+++ /dev/null
@@ -1,7 +0,0 @@
-post_install() {
- cat << EOT
-==> Note that even though this package uses libyaml library,
-==> slower pure python implementation is used by default.
-==> See http://pyyaml.org/wiki/PyYAMLDocumentation
-EOT
-}
diff --git a/community-staging/python2-cjson/PKGBUILD b/community-staging/python2-cjson/PKGBUILD
deleted file mode 100644
index 2d95793a4..000000000
--- a/community-staging/python2-cjson/PKGBUILD
+++ /dev/null
@@ -1,19 +0,0 @@
-# $Id: PKGBUILD 66126 2012-02-23 01:35:30Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: Lincoln de Sousa <lincoln@archlinux-br.org>
-
-pkgname=python2-cjson
-pkgver=1.0.5
-pkgrel=5
-arch=('i686' 'x86_64')
-license=('LGPL')
-pkgdesc="Fast JSON encoder/decoder for Python"
-url="http://pypi.python.org/pypi/python-cjson/"
-depends=('python2')
-source=("http://pypi.python.org/packages/source/p/python-cjson/python-cjson-$pkgver.tar.gz")
-md5sums=('4d55b66ecdf0300313af9d030d9644a3')
-
-build() {
- cd $srcdir/python-cjson-$pkgver
- python2 setup.py install --root=$pkgdir
-}
diff --git a/community-staging/python2-galago/PKGBUILD b/community-staging/python2-galago/PKGBUILD
deleted file mode 100644
index 6076c3a9e..000000000
--- a/community-staging/python2-galago/PKGBUILD
+++ /dev/null
@@ -1,22 +0,0 @@
-# $Id: PKGBUILD 66128 2012-02-23 01:37:06Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: William Rea <sillywilly@gmail.com>
-
-pkgname=python2-galago
-pkgver=0.5.0
-pkgrel=6
-pkgdesc="A library of simple functions that are optimized for various CPUs"
-arch=('i686' 'x86_64')
-url="http://galago-project.org"
-options=('!libtool')
-license=('LGPL')
-depends=('libgalago' 'pygtk')
-source=(http://galago-project.org/files/releases/source/galago-python/galago-python-$pkgver.tar.bz2)
-md5sums=('27be31fcf2886aa21823caec15dc34aa')
-
-build() {
- cd $srcdir/galago-python-$pkgver
- ./configure --prefix=/usr
- make
- make DESTDIR=$pkgdir install
-}
diff --git a/community-staging/python2-gnutls/PKGBUILD b/community-staging/python2-gnutls/PKGBUILD
deleted file mode 100644
index 3a7c86a04..000000000
--- a/community-staging/python2-gnutls/PKGBUILD
+++ /dev/null
@@ -1,23 +0,0 @@
-# $Id: PKGBUILD 74655 2012-08-01 13:54:20Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Maintainer: Hugo Doria <hugo@archlinux.org>
-# Contributor: N3RD3X <n3rd3x@linuxmail.org>
-
-pkgname=python2-gnutls
-pkgver=1.2.4
-pkgrel=2
-pkgdesc="Python wrapper for the GNUTLS library"
-arch=('i686' 'x86_64')
-url="http://cheeseshop.python.org/pypi/python-gnutls"
-depends=('python2' 'gnutls')
-license=('LGPL')
-source=(http://pypi.python.org/packages/source/p/python-gnutls/python-gnutls-${pkgver}.tar.gz
- gnutls3.patch)
-md5sums=('e3536c421291a791869d875a41dcb26a'
- '24bc95d9f5e71e9f5e180706cbb09248')
-
-build() {
- cd ${srcdir}/python-gnutls-${pkgver}
- patch -Np0 <$srcdir/gnutls3.patch
- python2 setup.py install --root=${pkgdir}
-}
diff --git a/community-staging/python2-gnutls/gnutls3.patch b/community-staging/python2-gnutls/gnutls3.patch
deleted file mode 100644
index 5110de2f2..000000000
--- a/community-staging/python2-gnutls/gnutls3.patch
+++ /dev/null
@@ -1,271 +0,0 @@
-diff -ru gnutls/library/functions.py gnutls.fixed/library/functions.py
---- gnutls/library/functions.py 2011-08-19 04:48:14.000000000 +0100
-+++ gnutls.fixed/library/functions.py 2012-08-01 11:56:43.450975419 +0100
-@@ -4,7 +4,7 @@
- import sys
- from ctypes import *
-
--from gnutls.library import libgnutls, libgnutls_extra
-+from gnutls.library import libgnutls
- from gnutls.library.types import *
-
-
-@@ -121,14 +121,6 @@
- gnutls_certificate_get_peers.argtypes = [gnutls_session_t, POINTER(c_uint)]
- gnutls_certificate_get_peers.restype = POINTER(gnutls_datum_t)
-
--gnutls_certificate_get_x509_cas = libgnutls.gnutls_certificate_get_x509_cas
--gnutls_certificate_get_x509_cas.argtypes = [gnutls_certificate_credentials_t, POINTER(POINTER(gnutls_x509_crt_t)), POINTER(c_uint)]
--gnutls_certificate_get_x509_cas.restype = None
--
--gnutls_certificate_get_x509_crls = libgnutls.gnutls_certificate_get_x509_crls
--gnutls_certificate_get_x509_crls.argtypes = [gnutls_certificate_credentials_t, POINTER(POINTER(gnutls_x509_crl_t)), POINTER(c_uint)]
--gnutls_certificate_get_x509_crls.restype = None
--
- gnutls_certificate_send_x509_rdn_sequence = libgnutls.gnutls_certificate_send_x509_rdn_sequence
- gnutls_certificate_send_x509_rdn_sequence.argtypes = [gnutls_session_t, c_int]
- gnutls_certificate_send_x509_rdn_sequence.restype = None
-@@ -221,10 +213,6 @@
- gnutls_certificate_type_set_priority.argtypes = [gnutls_session_t, POINTER(c_int)]
- gnutls_certificate_type_set_priority.restype = c_int
-
--gnutls_certificate_verify_peers = libgnutls.gnutls_certificate_verify_peers
--gnutls_certificate_verify_peers.argtypes = [gnutls_session_t]
--gnutls_certificate_verify_peers.restype = c_int
--
- gnutls_certificate_verify_peers2 = libgnutls.gnutls_certificate_verify_peers2
- gnutls_certificate_verify_peers2.argtypes = [gnutls_session_t, POINTER(c_uint)]
- gnutls_certificate_verify_peers2.restype = c_int
-@@ -393,10 +381,6 @@
- gnutls_error_to_alert.argtypes = [c_int, POINTER(c_int)]
- gnutls_error_to_alert.restype = c_int
-
--gnutls_extra_check_version = libgnutls_extra.gnutls_extra_check_version
--gnutls_extra_check_version.argtypes = [c_char_p]
--gnutls_extra_check_version.restype = c_char_p
--
- gnutls_fingerprint = libgnutls.gnutls_fingerprint
- gnutls_fingerprint.argtypes = [gnutls_digest_algorithm_t, POINTER(gnutls_datum_t), c_void_p, POINTER(size_t)]
- gnutls_fingerprint.restype = c_int
-@@ -409,10 +393,6 @@
- gnutls_global_init.argtypes = []
- gnutls_global_init.restype = c_int
-
--gnutls_global_init_extra = libgnutls_extra.gnutls_global_init_extra
--gnutls_global_init_extra.argtypes = []
--gnutls_global_init_extra.restype = c_int
--
- gnutls_global_set_log_function = libgnutls.gnutls_global_set_log_function
- gnutls_global_set_log_function.argtypes = [gnutls_log_func]
- gnutls_global_set_log_function.restype = None
-@@ -461,86 +441,6 @@
- gnutls_hex_encode.argtypes = [POINTER(gnutls_datum_t), c_char_p, POINTER(size_t)]
- gnutls_hex_encode.restype = c_int
-
--gnutls_ia_allocate_client_credentials = libgnutls_extra.gnutls_ia_allocate_client_credentials
--gnutls_ia_allocate_client_credentials.argtypes = [POINTER(gnutls_ia_client_credentials_t)]
--gnutls_ia_allocate_client_credentials.restype = c_int
--
--gnutls_ia_allocate_server_credentials = libgnutls_extra.gnutls_ia_allocate_server_credentials
--gnutls_ia_allocate_server_credentials.argtypes = [POINTER(gnutls_ia_server_credentials_t)]
--gnutls_ia_allocate_server_credentials.restype = c_int
--
--gnutls_ia_enable = libgnutls_extra.gnutls_ia_enable
--gnutls_ia_enable.argtypes = [gnutls_session_t, c_int]
--gnutls_ia_enable.restype = None
--
--gnutls_ia_endphase_send = libgnutls_extra.gnutls_ia_endphase_send
--gnutls_ia_endphase_send.argtypes = [gnutls_session_t, c_int]
--gnutls_ia_endphase_send.restype = c_int
--
--gnutls_ia_extract_inner_secret = libgnutls_extra.gnutls_ia_extract_inner_secret
--gnutls_ia_extract_inner_secret.argtypes = [gnutls_session_t, c_char_p]
--gnutls_ia_extract_inner_secret.restype = None
--
--gnutls_ia_free_client_credentials = libgnutls_extra.gnutls_ia_free_client_credentials
--gnutls_ia_free_client_credentials.argtypes = [gnutls_ia_client_credentials_t]
--gnutls_ia_free_client_credentials.restype = None
--
--gnutls_ia_free_server_credentials = libgnutls_extra.gnutls_ia_free_server_credentials
--gnutls_ia_free_server_credentials.argtypes = [gnutls_ia_server_credentials_t]
--gnutls_ia_free_server_credentials.restype = None
--
--gnutls_ia_generate_challenge = libgnutls_extra.gnutls_ia_generate_challenge
--gnutls_ia_generate_challenge.argtypes = [gnutls_session_t, size_t, c_char_p]
--gnutls_ia_generate_challenge.restype = c_int
--
--gnutls_ia_get_client_avp_ptr = libgnutls_extra.gnutls_ia_get_client_avp_ptr
--gnutls_ia_get_client_avp_ptr.argtypes = [gnutls_ia_client_credentials_t]
--gnutls_ia_get_client_avp_ptr.restype = c_void_p
--
--gnutls_ia_get_server_avp_ptr = libgnutls_extra.gnutls_ia_get_server_avp_ptr
--gnutls_ia_get_server_avp_ptr.argtypes = [gnutls_ia_server_credentials_t]
--gnutls_ia_get_server_avp_ptr.restype = c_void_p
--
--gnutls_ia_handshake = libgnutls_extra.gnutls_ia_handshake
--gnutls_ia_handshake.argtypes = [gnutls_session_t]
--gnutls_ia_handshake.restype = c_int
--
--gnutls_ia_handshake_p = libgnutls_extra.gnutls_ia_handshake_p
--gnutls_ia_handshake_p.argtypes = [gnutls_session_t]
--gnutls_ia_handshake_p.restype = c_int
--
--gnutls_ia_permute_inner_secret = libgnutls_extra.gnutls_ia_permute_inner_secret
--gnutls_ia_permute_inner_secret.argtypes = [gnutls_session_t, size_t, c_char_p]
--gnutls_ia_permute_inner_secret.restype = c_int
--
--gnutls_ia_recv = libgnutls_extra.gnutls_ia_recv
--gnutls_ia_recv.argtypes = [gnutls_session_t, c_char_p, size_t]
--gnutls_ia_recv.restype = ssize_t
--
--gnutls_ia_send = libgnutls_extra.gnutls_ia_send
--gnutls_ia_send.argtypes = [gnutls_session_t, c_char_p, size_t]
--gnutls_ia_send.restype = ssize_t
--
--gnutls_ia_set_client_avp_function = libgnutls_extra.gnutls_ia_set_client_avp_function
--gnutls_ia_set_client_avp_function.argtypes = [gnutls_ia_client_credentials_t, gnutls_ia_avp_func]
--gnutls_ia_set_client_avp_function.restype = None
--
--gnutls_ia_set_client_avp_ptr = libgnutls_extra.gnutls_ia_set_client_avp_ptr
--gnutls_ia_set_client_avp_ptr.argtypes = [gnutls_ia_client_credentials_t, c_void_p]
--gnutls_ia_set_client_avp_ptr.restype = None
--
--gnutls_ia_set_server_avp_function = libgnutls_extra.gnutls_ia_set_server_avp_function
--gnutls_ia_set_server_avp_function.argtypes = [gnutls_ia_server_credentials_t, gnutls_ia_avp_func]
--gnutls_ia_set_server_avp_function.restype = None
--
--gnutls_ia_set_server_avp_ptr = libgnutls_extra.gnutls_ia_set_server_avp_ptr
--gnutls_ia_set_server_avp_ptr.argtypes = [gnutls_ia_server_credentials_t, c_void_p]
--gnutls_ia_set_server_avp_ptr.restype = None
--
--gnutls_ia_verify_endphase = libgnutls_extra.gnutls_ia_verify_endphase
--gnutls_ia_verify_endphase.argtypes = [gnutls_session_t, c_char_p]
--gnutls_ia_verify_endphase.restype = c_int
--
- gnutls_init = libgnutls.gnutls_init
- gnutls_init.argtypes = [POINTER(gnutls_session_t), gnutls_connection_end_t]
- gnutls_init.restype = c_int
-@@ -733,10 +633,6 @@
- gnutls_psk_free_server_credentials.argtypes = [gnutls_psk_server_credentials_t]
- gnutls_psk_free_server_credentials.restype = None
-
--gnutls_psk_netconf_derive_key = libgnutls.gnutls_psk_netconf_derive_key
--gnutls_psk_netconf_derive_key.argtypes = [c_char_p, c_char_p, c_char_p, POINTER(gnutls_datum_t)]
--gnutls_psk_netconf_derive_key.restype = c_int
--
- gnutls_psk_server_get_username = libgnutls.gnutls_psk_server_get_username
- gnutls_psk_server_get_username.argtypes = [gnutls_session_t]
- gnutls_psk_server_get_username.restype = c_char_p
-@@ -857,10 +753,6 @@
- gnutls_session_enable_compatibility_mode.argtypes = [gnutls_session_t]
- gnutls_session_enable_compatibility_mode.restype = None
-
--gnutls_session_get_client_random = libgnutls.gnutls_session_get_client_random
--gnutls_session_get_client_random.argtypes = [gnutls_session_t]
--gnutls_session_get_client_random.restype = c_void_p
--
- gnutls_session_get_data = libgnutls.gnutls_session_get_data
- gnutls_session_get_data.argtypes = [gnutls_session_t, c_void_p, POINTER(size_t)]
- gnutls_session_get_data.restype = c_int
-@@ -873,18 +765,10 @@
- gnutls_session_get_id.argtypes = [gnutls_session_t, c_void_p, POINTER(size_t)]
- gnutls_session_get_id.restype = c_int
-
--gnutls_session_get_master_secret = libgnutls.gnutls_session_get_master_secret
--gnutls_session_get_master_secret.argtypes = [gnutls_session_t]
--gnutls_session_get_master_secret.restype = c_void_p
--
- gnutls_session_get_ptr = libgnutls.gnutls_session_get_ptr
- gnutls_session_get_ptr.argtypes = [gnutls_session_t]
- gnutls_session_get_ptr.restype = c_void_p
-
--gnutls_session_get_server_random = libgnutls.gnutls_session_get_server_random
--gnutls_session_get_server_random.argtypes = [gnutls_session_t]
--gnutls_session_get_server_random.restype = c_void_p
--
- gnutls_session_is_resumed = libgnutls.gnutls_session_is_resumed
- gnutls_session_is_resumed.argtypes = [gnutls_session_t]
- gnutls_session_is_resumed.restype = c_int
-@@ -905,10 +789,6 @@
- gnutls_set_default_priority.argtypes = [gnutls_session_t]
- gnutls_set_default_priority.restype = c_int
-
--gnutls_sign_algorithm_get_name = libgnutls.gnutls_sign_algorithm_get_name
--gnutls_sign_algorithm_get_name.argtypes = [gnutls_sign_algorithm_t]
--gnutls_sign_algorithm_get_name.restype = c_char_p
--
- gnutls_sign_callback_get = libgnutls.gnutls_sign_callback_get
- gnutls_sign_callback_get.argtypes = [gnutls_session_t, POINTER(c_void_p)]
- gnutls_sign_callback_get.restype = gnutls_sign_func
-@@ -937,14 +817,6 @@
- gnutls_transport_set_errno.argtypes = [gnutls_session_t, c_int]
- gnutls_transport_set_errno.restype = None
-
--gnutls_transport_set_global_errno = libgnutls.gnutls_transport_set_global_errno
--gnutls_transport_set_global_errno.argtypes = [c_int]
--gnutls_transport_set_global_errno.restype = None
--
--gnutls_transport_set_lowat = libgnutls.gnutls_transport_set_lowat
--gnutls_transport_set_lowat.argtypes = [gnutls_session_t, c_int]
--gnutls_transport_set_lowat.restype = None
--
- gnutls_transport_set_ptr = libgnutls.gnutls_transport_set_ptr
- gnutls_transport_set_ptr.argtypes = [gnutls_session_t, gnutls_transport_ptr_t]
- gnutls_transport_set_ptr.restype = None
-@@ -1501,10 +1373,6 @@
- gnutls_x509_privkey_sign_hash.argtypes = [gnutls_x509_privkey_t, POINTER(gnutls_datum_t), POINTER(gnutls_datum_t)]
- gnutls_x509_privkey_sign_hash.restype = c_int
-
--gnutls_x509_privkey_verify_data = libgnutls.gnutls_x509_privkey_verify_data
--gnutls_x509_privkey_verify_data.argtypes = [gnutls_x509_privkey_t, c_uint, POINTER(gnutls_datum_t), POINTER(gnutls_datum_t)]
--gnutls_x509_privkey_verify_data.restype = c_int
--
- gnutls_x509_rdn_get = libgnutls.gnutls_x509_rdn_get
- gnutls_x509_rdn_get.argtypes = [POINTER(gnutls_datum_t), c_char_p, POINTER(size_t)]
- gnutls_x509_rdn_get.restype = c_int
-diff -ru gnutls/library/__init__.py gnutls.fixed/library/__init__.py
---- gnutls/library/__init__.py 2011-11-11 17:23:49.000000000 +0000
-+++ gnutls.fixed/library/__init__.py 2012-08-01 11:57:42.284290997 +0100
-@@ -53,6 +53,9 @@
- else:
- raise RuntimeError('cannot find lib%s on this system' % name)
-
-+def do_nothing(*args, **kwargs):
-+ pass
-+
-
- def initialize_gcrypt():
- from ctypes import c_void_p
-@@ -104,7 +107,7 @@
- libgcrypt = load_library(name='gcrypt', version=11)
- gcry_control = libgcrypt.gcry_control
- else:
-- gcry_control = libgnutls.gcry_control
-+ gcry_control = do_nothing
-
- gcry_control(GCRYCTL_SET_THREAD_CBS, c_void_p(gcrypt_thread_callbacks_ptr))
- if system == 'cygwin':
-@@ -117,12 +120,10 @@
-
-
-
--libgnutls = load_library(name='gnutls', version=26)
--libgnutls_extra = load_library(name='gnutls-extra', version=26)
-+libgnutls = load_library(name='gnutls', version=28)
-
- initialize_gcrypt()
- libgnutls.gnutls_global_init()
--libgnutls_extra.gnutls_global_init_extra()
-
-
- from gnutls.library import constants
-@@ -136,9 +137,6 @@
- if functions.gnutls_check_version(__need_version__) is None:
- version = functions.gnutls_check_version(None)
- raise RuntimeError("Found GNUTLS library version %s, but at least version %s is required" % (version, __need_version__))
--if functions.gnutls_extra_check_version(__need_version__) is None:
-- version = functions.gnutls_extra_check_version(None)
-- raise RuntimeError("Found GNUTLS extra library version %s, but at least version %s is required" % (version, __need_version__))
-
-
- del get_system_name, library_locations, load_library, initialize_gcrypt
diff --git a/community-staging/python2-imaging/PKGBUILD b/community-staging/python2-imaging/PKGBUILD
deleted file mode 100644
index 2bb3ec9ab..000000000
--- a/community-staging/python2-imaging/PKGBUILD
+++ /dev/null
@@ -1,50 +0,0 @@
-# $Id: PKGBUILD 77972 2012-10-16 01:48:17Z kkeen $
-# Maintainer: Kyle Keen <keenerd@gmail.com>
-# Contributor: Stéphane Gaudreault <stephane@archlinux.org>
-# Contributor: Allan McRae <allan@archlinux.org>
-# Contributor: simo <simo@archlinux.org>
-
-pkgname=python2-imaging
-pkgver=1.1.7
-pkgrel=5
-pkgdesc="PIL. Provides image processing capabilities for python"
-arch=('i686' 'x86_64')
-url="http://www.pythonware.com/products/pil/index.htm"
-license=('custom:"pil"')
-depends=('python2' 'libjpeg' 'freetype2' 'lcms')
-makedepends=('tk' 'sane')
-optdepends=('tk: for the ImageTK module'
- 'sane: for the ImageSane module')
-provides=("pil=${pkgver}" "python-imaging=${pkgver}")
-conflicts=('pil' 'python-imaging')
-replaces=('pil' 'python-imaging')
-source=(http://effbot.org/downloads/Imaging-${pkgver}.tar.gz)
-md5sums=('fc14a54e1ce02a0225be8854bfba478e')
-
-build() {
- cd "${srcdir}/Imaging-${pkgver}"
- python2 setup.py build_ext
- cd Sane
- python2 setup.py build_ext
-}
-
-package() {
- cd "${srcdir}/Imaging-${pkgver}"
- python2 setup.py install --root="${pkgdir}" --optimize=1
-
- pushd Sane
- python2 setup.py install --root="${pkgdir}" --optimize=1
- popd
-
- install -dm755 "${pkgdir}/usr/include/python2.7/"
- install -m644 -t "${pkgdir}/usr/include/python2.7/" libImaging/*.h
-
- # do not have files ending in .py in /usr/bin
- for f in pildriver pilprint pilconvert pilfile pilfont; do
- mv "${pkgdir}"/usr/bin/${f}{.py,}
- done
-
- # Install license
- install -Dm644 "${srcdir}/Imaging-${pkgver}/README" \
- "${pkgdir}/usr/share/licenses/${pkgname}/README"
-}
diff --git a/community-staging/python2-lcms/PKGBUILD b/community-staging/python2-lcms/PKGBUILD
deleted file mode 100644
index 3b75364ab..000000000
--- a/community-staging/python2-lcms/PKGBUILD
+++ /dev/null
@@ -1,37 +0,0 @@
-# $Id: PKGBUILD 66130 2012-02-23 01:39:55Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: Connor Behan <connor.behan@gmail.com>
-
-pkgname=python2-lcms
-pkgver=1.19
-_mver=1.19
-pkgrel=4
-pkgdesc="LittleCMS Python bindings"
-arch=(i686 x86_64)
-license=('CUSTOM')
-depends=('libtiff' 'python2' 'lcms')
-url="http://www.littlecms.com"
-options=('!libtool')
-source=(http://downloads.sourceforge.net/project/lcms/lcms/${_mver}/lcms-$pkgver.tar.gz)
-md5sums=('8af94611baf20d9646c7c2c285859818')
-
-build() {
- cd $srcdir/lcms-${_mver}
- ./configure --prefix=/usr --with-python
- make
-}
-
-package() {
- cd $srcdir/lcms-${_mver}
- make DESTDIR=$pkgdir install
- install -D -m0644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
- rm -rf $pkgdir/usr/bin \
- $pkgdir/usr/include \
- $pkgdir/usr/lib/pkgconfig \
- $pkgdir/usr/lib/liblcms.* \
- $pkgdir/usr/share/man/man1/icc2ps.1 \
- $pkgdir/usr/share/man/man1/icclink.1 \
- $pkgdir/usr/share/man/man1/jpegicc.1 \
- $pkgdir/usr/share/man/man1/tifficc.1 \
- $pkgdir/usr/share/man/man1/wtpt.1
-}
diff --git a/community-staging/python2-m2crypto/PKGBUILD b/community-staging/python2-m2crypto/PKGBUILD
deleted file mode 100644
index a68c5a35d..000000000
--- a/community-staging/python2-m2crypto/PKGBUILD
+++ /dev/null
@@ -1,27 +0,0 @@
-# $Id: PKGBUILD 140196 2011-10-09 08:27:16Z angvp $
-# Maintainer: Angel Velasquez <angvp@archlinux.org>
-# Contributor: Sergej Pupykin <sergej@aur.archlinux.org>
-# Contributor: William Rea <sillywilly@gmail.com>
-
-pkgname=python2-m2crypto
-pkgver=0.21.1
-pkgrel=2
-pkgdesc="A crypto and SSL toolkit for Python"
-arch=('i686' 'x86_64')
-url="http://wiki.osafoundation.org/bin/view/Projects/MeTooCrypto"
-license=('BSD')
-depends=('python2' 'openssl')
-makedepends=('swig')
-source=("http://pypi.python.org/packages/source/M/M2Crypto/M2Crypto-${pkgver}.tar.gz")
-md5sums=('f93d8462ff7646397a9f77a2fe602d17')
-
-build() {
- cd "${srcdir}/M2Crypto-${pkgver}"
- python2 setup.py build
-}
-
-package() {
- cd "${srcdir}/M2Crypto-${pkgver}"
- python2 setup.py install --root="${pkgdir}/" --optimize=1
- install -D -m644 LICENCE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
diff --git a/community-staging/python2-m2crypto/openssl1.patch b/community-staging/python2-m2crypto/openssl1.patch
deleted file mode 100644
index 59dba554d..000000000
--- a/community-staging/python2-m2crypto/openssl1.patch
+++ /dev/null
@@ -1,531 +0,0 @@
-Index: tests/test_ssl.py
-===================================================================
---- tests/test_ssl.py (revision 698)
-+++ tests/test_ssl.py (working copy)
-@@ -405,8 +405,11 @@
- try:
- ctx = SSL.Context('sslv23', weak_crypto=1)
- s = SSL.Connection(ctx)
-- s.connect(self.srv_addr)
-- self.failUnlessEqual(s.get_version(), 'SSLv2')
-+ if m2.OPENSSL_VERSION_NUMBER < 0x10000000: # SSLv2 ciphers disabled by default in newer OpenSSL
-+ s.connect(self.srv_addr)
-+ self.failUnlessEqual(s.get_version(), 'SSLv2')
-+ else:
-+ self.assertRaises(SSL.SSLError, s.connect, self.srv_addr)
- s.close()
- finally:
- self.stop_server(pid)
-Index: tests/test_x509.py
-===================================================================
---- tests/test_x509.py (revision 698)
-+++ tests/test_x509.py (working copy)
-@@ -142,7 +142,7 @@
- cn.set_data("Hello There!")
- assert cn.get_data().as_text() == "Hello There!", cn.get_data().as_text()
-
-- assert n.as_hash() == 1697185131
-+ self.assertEquals(n.as_hash(), 1697185131)
-
- self.assertRaises(IndexError, lambda: n[100])
- self.assert_(n[10])
-Index: tests/test_smime.py
-===================================================================
---- tests/test_smime.py (revision 698)
-+++ tests/test_smime.py (working copy)
-@@ -6,7 +6,7 @@
- """
-
- import unittest
--from M2Crypto import SMIME, BIO, Rand, X509, EVP
-+from M2Crypto import SMIME, BIO, Rand, X509, EVP, Err
-
- class SMIMETestCase(unittest.TestCase):
- cleartext = 'some text to manipulate'
-@@ -213,7 +213,7 @@
-
- self.filenameSmime = 'tests/sig.p7s'
- f = BIO.openfile(self.filenameSmime, 'wb')
-- assert s.write(f, p7, BIO.MemoryBuffer('some text')) == 1
-+ assert s.write(f, p7, BIO.MemoryBuffer('some text')) == 1, Err.get_error()
- f.close()
-
- def test_write_pkcs7_der(self):
-Index: SWIG/_evp.i
-===================================================================
---- SWIG/_evp.i (revision 695)
-+++ SWIG/_evp.i (working copy)
-@@ -180,7 +180,7 @@
-
- PKCS5_PBKDF2_HMAC_SHA1(passbuf, passlen, saltbuf, saltlen, iter,
- keylen, key);
-- ret = PyString_FromStringAndSize(key, keylen);
-+ ret = PyString_FromStringAndSize((char*)key, keylen);
- OPENSSL_cleanse(key, keylen);
- return ret;
- }
-@@ -339,7 +339,7 @@
- klen = EVP_BytesToKey(cipher, md, (unsigned char *)sbuf,
- (unsigned char *)dbuf, dlen, iter,
- key, NULL); /* Since we are not returning IV no need to derive it */
-- ret = PyString_FromStringAndSize(key, klen);
-+ ret = PyString_FromStringAndSize((char*)key, klen);
- return ret;
- }
-
-@@ -435,7 +435,7 @@
- PyErr_SetString(_evp_err, ERR_reason_error_string(ERR_get_error()));
- return NULL;
- }
-- ret = PyString_FromStringAndSize(sigbuf, siglen);
-+ ret = PyString_FromStringAndSize((char*)sigbuf, siglen);
- OPENSSL_cleanse(sigbuf, siglen);
- OPENSSL_free(sigbuf);
- return ret;
-@@ -513,7 +513,7 @@
- PyErr_SetString(PyExc_ValueError, "EVP_PKEY as DER failed");
- return NULL;
- }
-- der = PyString_FromStringAndSize(pp, len);
-+ der = PyString_FromStringAndSize((char*)pp, len);
- OPENSSL_free(pp);
- return der;
- }
-Index: SWIG/_ssl.i
-===================================================================
---- SWIG/_ssl.i (revision 695)
-+++ SWIG/_ssl.i (working copy)
-@@ -17,13 +17,17 @@
- %apply Pointer NONNULL { SSL_CTX * };
- %apply Pointer NONNULL { SSL * };
- %apply Pointer NONNULL { SSL_CIPHER * };
--%apply Pointer NONNULL { STACK * };
-+%apply Pointer NONNULL { STACK_OF(SSL_CIPHER) * };
-+%apply Pointer NONNULL { STACK_OF(X509) * };
- %apply Pointer NONNULL { BIO * };
- %apply Pointer NONNULL { DH * };
- %apply Pointer NONNULL { RSA * };
- %apply Pointer NONNULL { EVP_PKEY *};
- %apply Pointer NONNULL { PyObject *pyfunc };
-
-+%rename(ssl_get_ciphers) SSL_get_ciphers;
-+extern STACK_OF(SSL_CIPHER) *SSL_get_ciphers(const SSL *ssl);
-+
- %rename(ssl_get_version) SSL_get_version;
- extern const char *SSL_get_version(CONST SSL *);
- %rename(ssl_get_error) SSL_get_error;
-@@ -668,29 +672,25 @@
- return SSL_CIPHER_get_bits(c, NULL);
- }
-
--STACK *ssl_get_ciphers(SSL *ssl) {
-- return (STACK *)SSL_get_ciphers(ssl);
-+int sk_ssl_cipher_num(STACK_OF(SSL_CIPHER) *stack) {
-+ return sk_SSL_CIPHER_num(stack);
- }
-
--int sk_ssl_cipher_num(STACK *stack) {
-- return sk_num(stack);
-+SSL_CIPHER *sk_ssl_cipher_value(STACK_OF(SSL_CIPHER) *stack, int idx) {
-+ return sk_SSL_CIPHER_value(stack, idx);
- }
-
--SSL_CIPHER *sk_ssl_cipher_value(STACK *stack, int idx) {
-- return (SSL_CIPHER *)sk_value(stack, idx);
-+STACK_OF(X509) *ssl_get_peer_cert_chain(SSL *ssl) {
-+ return SSL_get_peer_cert_chain(ssl);
- }
-
--STACK *ssl_get_peer_cert_chain(SSL *ssl) {
-- return (STACK *)SSL_get_peer_cert_chain(ssl);
-+int sk_x509_num(STACK_OF(X509) *stack) {
-+ return sk_X509_num(stack);
- }
-
--int sk_x509_num(STACK *stack) {
-- return sk_num(stack);
-+X509 *sk_x509_value(STACK_OF(X509) *stack, int idx) {
-+ return sk_X509_value(stack, idx);
- }
--
--X509 *sk_x509_value(STACK *stack, int idx) {
-- return (X509 *)sk_value(stack, idx);
--}
- %}
-
- %threadallow i2d_ssl_session;
-Index: SWIG/_x509.i
-===================================================================
---- SWIG/_x509.i (revision 695)
-+++ SWIG/_x509.i (working copy)
-@@ -148,8 +148,15 @@
- extern int X509_NAME_print_ex(BIO *, X509_NAME *, int, unsigned long);
- %rename(x509_name_print_ex_fp) X509_NAME_print_ex_fp;
- extern int X509_NAME_print_ex_fp(FILE *, X509_NAME *, int, unsigned long);
-+
-+#if OPENSSL_VERSION_NUMBER >= 0x10000000L
-+%rename(x509_name_hash) X509_NAME_hash_old;
-+extern unsigned long X509_NAME_hash_old(X509_NAME *);
-+#else
- %rename(x509_name_hash) X509_NAME_hash;
- extern unsigned long X509_NAME_hash(X509_NAME *);
-+#endif
-+
- %rename(x509_name_get_index_by_nid) X509_NAME_get_index_by_NID;
- extern int X509_NAME_get_index_by_NID(X509_NAME *, int, int);
-
-@@ -171,7 +178,7 @@
- if (PyString_Check($input)) {
- Py_ssize_t len;
-
-- $1 = PyString_AsString($input);
-+ $1 = (unsigned char *)PyString_AsString($input);
- len = PyString_Size($input);
- if (len > INT_MAX) {
- PyErr_SetString(PyExc_ValueError, "object too large");
-@@ -184,7 +191,7 @@
- }
- }
- %rename(x509_name_entry_set_data) X509_NAME_ENTRY_set_data;
--extern int X509_NAME_ENTRY_set_data( X509_NAME_ENTRY *, int, CONST unsigned char *, int);
-+extern int X509_NAME_ENTRY_set_data(X509_NAME_ENTRY *, int, CONST unsigned char *, int);
- %typemap(in) (CONST unsigned char *, int);
-
- %rename(x509_req_new) X509_REQ_new;
-@@ -230,7 +237,7 @@
- %rename(x509_store_ctx_free) X509_STORE_CTX_free;
- extern void X509_STORE_CTX_free(X509_STORE_CTX *);
- %rename(x509_store_ctx_get1_chain) X509_STORE_CTX_get1_chain;
--extern STACK *X509_STORE_CTX_get1_chain(X509_STORE_CTX *);
-+extern STACK_OF(X509) *X509_STORE_CTX_get1_chain(X509_STORE_CTX *);
-
- %rename(x509_extension_get_critical) X509_EXTENSION_get_critical;
- extern int X509_EXTENSION_get_critical(X509_EXTENSION *);
-@@ -348,7 +355,7 @@
- PyErr_SetString(_x509_err, ERR_reason_error_string(ERR_get_error()));
- }
- else {
-- ret = PyString_FromStringAndSize(buf, len);
-+ ret = PyString_FromStringAndSize((char*)buf, len);
- OPENSSL_free(buf);
- }
- return ret;
-@@ -435,12 +442,12 @@
- }
-
- int x509_name_set_by_nid(X509_NAME *name, int nid, PyObject *obj) {
-- return X509_NAME_add_entry_by_NID(name, nid, MBSTRING_ASC, PyString_AsString(obj), -1, -1, 0);
-+ return X509_NAME_add_entry_by_NID(name, nid, MBSTRING_ASC, (unsigned char *)PyString_AsString(obj), -1, -1, 0);
- }
-
- /* x509_name_add_entry_by_txt */
- int x509_name_add_entry_by_txt(X509_NAME *name, char *field, int type, char *bytes, int len, int loc, int set) {
-- return X509_NAME_add_entry_by_txt(name, field, type, bytes, len, loc, set);
-+ return X509_NAME_add_entry_by_txt(name, field, type, (unsigned char *)bytes, len, loc, set);
- }
-
- PyObject *x509_name_get_der(X509_NAME *name)
-@@ -450,23 +457,23 @@
- }
-
- /* sk_X509_new_null() is a macro returning "STACK_OF(X509) *". */
--STACK *sk_x509_new_null(void) {
-- return (STACK *)sk_X509_new_null();
-+STACK_OF(X509) *sk_x509_new_null(void) {
-+ return sk_X509_new_null();
- }
-
- /* sk_X509_free() is a macro. */
--void sk_x509_free(STACK *stack) {
-- sk_X509_free((STACK_OF(X509) *)stack);
-+void sk_x509_free(STACK_OF(X509) *stack) {
-+ sk_X509_free(stack);
- }
-
- /* sk_X509_push() is a macro. */
--int sk_x509_push(STACK *stack, X509 *x509) {
-- return sk_X509_push((STACK_OF(X509) *)stack, x509);
-+int sk_x509_push(STACK_OF(X509) *stack, X509 *x509) {
-+ return sk_X509_push(stack, x509);
- }
-
- /* sk_X509_pop() is a macro. */
--X509 *sk_x509_pop(STACK *stack) {
-- return sk_X509_pop((STACK_OF(X509) *)stack);
-+X509 *sk_x509_pop(STACK_OF(X509) *stack) {
-+ return sk_X509_pop(stack);
- }
-
- int x509_store_load_locations(X509_STORE *store, const char *file) {
-@@ -493,21 +500,29 @@
- return X509_REQ_set_version(x, version);
- }
-
--int x509_req_add_extensions(X509_REQ *req, STACK *exts) {
-- return X509_REQ_add_extensions(req, (STACK_OF(X509_EXTENSION) *)exts);
-+int x509_req_add_extensions(X509_REQ *req, STACK_OF(X509_EXTENSION) *exts) {
-+ return X509_REQ_add_extensions(req, exts);
- }
-
--X509_NAME_ENTRY *x509_name_entry_create_by_txt( X509_NAME_ENTRY **ne, char *field, int type, char *bytes, int len) {
-- return X509_NAME_ENTRY_create_by_txt( ne, field, type, bytes, len);
-+X509_NAME_ENTRY *x509_name_entry_create_by_txt(X509_NAME_ENTRY **ne, char *field, int type, char *bytes, int len) {
-+ return X509_NAME_ENTRY_create_by_txt( ne, field, type, (unsigned char *)bytes, len);
- }
-
--LHASH *
--x509v3_lhash(){
-- return lh_new(NULL,NULL);
-+#if OPENSSL_VERSION_NUMBER >= 0x10000000L
-+LHASH_OF(CONF_VALUE)
-+#else
-+LHASH
-+#endif
-+*x509v3_lhash() {
-+ return lh_new(NULL, NULL); /* Should probably be lh_CONF_VALUE_new but won't compile. */
- }
-
- X509V3_CTX *
--x509v3_set_conf_lhash(LHASH * lhash){
-+#if OPENSSL_VERSION_NUMBER >= 0x10000000L
-+x509v3_set_conf_lhash(LHASH_OF(CONF_VALUE) * lhash) {
-+#else
-+x509v3_set_conf_lhash(LHASH * lhash) {
-+#endif
- X509V3_CTX * ctx;
- if (!(ctx=(X509V3_CTX *)PyMem_Malloc(sizeof(X509V3_CTX)))) {
- PyErr_SetString(PyExc_MemoryError, "x509v3_set_conf_lhash");
-@@ -517,11 +532,20 @@
- return ctx;
- }
-
--X509_EXTENSION *x509v3_ext_conf(LHASH *conf, X509V3_CTX *ctx, char *name, char *value) {
-+X509_EXTENSION *
-+#if OPENSSL_VERSION_NUMBER >= 0x10000000L
-+x509v3_ext_conf(LHASH_OF(CONF_VALUE) *conf, X509V3_CTX *ctx, char *name, char *value) {
-+#else
-+x509v3_ext_conf(LHASH *conf, X509V3_CTX *ctx, char *name, char *value) {
-+#endif
- X509_EXTENSION * ext = NULL;
- ext = X509V3_EXT_conf(conf, ctx, name, value);
- PyMem_Free(ctx);
-+#if OPENSSL_VERSION_NUMBER >= 0x10000000L
-+ lh_CONF_VALUE_free(conf);
-+#else
- lh_free(conf);
-+#endif
- return ext;
- }
-
-@@ -543,33 +567,33 @@
- }
-
- /* sk_X509_EXTENSION_new_null is a macro. */
--STACK *sk_x509_extension_new_null(void) {
-- return (STACK *)sk_X509_EXTENSION_new_null();
-+STACK_OF(X509_EXTENSION) *sk_x509_extension_new_null(void) {
-+ return sk_X509_EXTENSION_new_null();
- }
-
- /* sk_X509_EXTENSION_free() is a macro. */
--void sk_x509_extension_free(STACK *stack) {
-- sk_X509_EXTENSION_free((STACK_OF(X509_EXTENSION) *)stack);
-+void sk_x509_extension_free(STACK_OF(X509_EXTENSION) *stack) {
-+ sk_X509_EXTENSION_free(stack);
- }
-
- /* sk_X509_EXTENSION_push() is a macro. */
--int sk_x509_extension_push(STACK *stack, X509_EXTENSION *x509_ext) {
-- return sk_X509_EXTENSION_push((STACK_OF(X509_EXTENSION) *)stack, x509_ext);
-+int sk_x509_extension_push(STACK_OF(X509_EXTENSION) *stack, X509_EXTENSION *x509_ext) {
-+ return sk_X509_EXTENSION_push(stack, x509_ext);
- }
-
- /* sk_X509_EXTENSION_pop() is a macro. */
--X509_EXTENSION *sk_x509_extension_pop(STACK *stack) {
-- return sk_X509_EXTENSION_pop((STACK_OF(X509_EXTENSION) *)stack);
-+X509_EXTENSION *sk_x509_extension_pop(STACK_OF(X509_EXTENSION) *stack) {
-+ return sk_X509_EXTENSION_pop(stack);
- }
-
- /* sk_X509_EXTENSION_num() is a macro. */
--int sk_x509_extension_num(STACK *stack) {
-- return sk_X509_EXTENSION_num((STACK_OF(X509_EXTENSION) *)stack);
-+int sk_x509_extension_num(STACK_OF(X509_EXTENSION) *stack) {
-+ return sk_X509_EXTENSION_num(stack);
- }
-
- /* sk_X509_EXTENSION_value() is a macro. */
--X509_EXTENSION *sk_x509_extension_value(STACK *stack, int i) {
-- return sk_X509_EXTENSION_value((STACK_OF(X509_EXTENSION) *)stack, i);
-+X509_EXTENSION *sk_x509_extension_value(STACK_OF(X509_EXTENSION) *stack, int i) {
-+ return sk_X509_EXTENSION_value(stack, i);
- }
-
- /* X509_STORE_CTX_get_app_data is a macro. */
-@@ -590,7 +614,7 @@
- #define I2DTYPE int (*)()
- #endif
-
--STACK *
-+STACK_OF(X509) *
- make_stack_from_der_sequence(PyObject * pyEncodedString){
- STACK_OF(X509) *certs;
- Py_ssize_t encoded_string_len;
-@@ -606,7 +630,7 @@
- return NULL;
- }
-
-- certs = ASN1_seq_unpack((unsigned char *)encoded_string, encoded_string_len, (D2ITYPE)d2i_X509, (void(*)())X509_free );
-+ certs = ASN1_seq_unpack_X509((unsigned char *)encoded_string, encoded_string_len, d2i_X509, X509_free );
- if (!certs) {
- PyErr_SetString(_x509_err, ERR_reason_error_string(ERR_get_error()));
- return NULL;
-@@ -616,13 +640,13 @@
- }
-
- PyObject *
--get_der_encoding_stack(STACK * stack){
-+get_der_encoding_stack(STACK_OF(X509) *stack){
- PyObject * encodedString;
-
- unsigned char * encoding;
- int len;
-
-- encoding = ASN1_seq_pack((STACK_OF(X509)*) stack, (I2DTYPE)i2d_X509, NULL, &len);
-+ encoding = ASN1_seq_pack_X509(stack, i2d_X509, NULL, &len);
- if (!encoding) {
- PyErr_SetString(_x509_err, ERR_reason_error_string(ERR_get_error()));
- return NULL;
-Index: SWIG/_aes.i
-===================================================================
---- SWIG/_aes.i (revision 695)
-+++ SWIG/_aes.i (working copy)
-@@ -76,7 +76,7 @@
- AES_encrypt((const unsigned char *)in, out, key);
- else
- AES_decrypt((const unsigned char *)in, out, key);
-- return PyString_FromStringAndSize(out, outlen);
-+ return PyString_FromStringAndSize((char*)out, outlen);
- }
-
- int AES_type_check(AES_KEY *key) {
-Index: SWIG/_util.i
-===================================================================
---- SWIG/_util.i (revision 695)
-+++ SWIG/_util.i (working copy)
-@@ -48,7 +48,7 @@
- PyErr_SetString(_util_err, ERR_reason_error_string(ERR_get_error()));
- return NULL;
- }
-- obj = PyString_FromStringAndSize(ret, len);
-+ obj = PyString_FromStringAndSize((char*)ret, len);
- OPENSSL_free(ret);
- return obj;
- }
-Index: SWIG/_m2crypto.i
-===================================================================
---- SWIG/_m2crypto.i (revision 695)
-+++ SWIG/_m2crypto.i (working copy)
-@@ -38,6 +38,19 @@
- #define CONST098
- #endif
-
-+/* Bring in STACK_OF macro definition */
-+%include <openssl/safestack.h>
-+
-+/* Bring in LHASH_OF macro definition */
-+/* XXX Can't include lhash.h where LHASH_OF is defined, because it includes
-+ XXX stdio.h etc. which we fail to include. So we have to (re)define
-+ XXX LHASH_OF here instead.
-+%include <openssl/lhash.h>
-+*/
-+#if OPENSSL_VERSION_NUMBER >= 0x10000000L
-+#define LHASH_OF(type) struct lhash_st_##type
-+#endif
-+
- %include constraints.i
- %include _threads.i
- %include _lib.i
-Index: SWIG/_rand.i
-===================================================================
---- SWIG/_rand.i (revision 695)
-+++ SWIG/_rand.i (working copy)
-@@ -87,7 +87,7 @@
- Py_INCREF(Py_None);
- return Py_None;
- } else {
-- PyTuple_SET_ITEM(tuple, 0, PyString_FromStringAndSize(blob, n));
-+ PyTuple_SET_ITEM(tuple, 0, PyString_FromStringAndSize((char*)blob, n));
- PyMem_Free(blob);
- PyTuple_SET_ITEM(tuple, 1, PyInt_FromLong((long)ret));
- return tuple;
-Index: SWIG/_pkcs7.i
-===================================================================
---- SWIG/_pkcs7.i (revision 695)
-+++ SWIG/_pkcs7.i (working copy)
-@@ -12,7 +12,7 @@
- %apply Pointer NONNULL { EVP_CIPHER * };
- %apply Pointer NONNULL { EVP_PKEY * };
- %apply Pointer NONNULL { PKCS7 * };
--%apply Pointer NONNULL { STACK * };
-+%apply Pointer NONNULL { STACK_OF(X509) * };
- %apply Pointer NONNULL { X509 * };
-
- %rename(pkcs7_new) PKCS7_new;
-@@ -54,8 +54,8 @@
-
- %threadallow pkcs7_encrypt;
- %inline %{
--PKCS7 *pkcs7_encrypt(STACK *stack, BIO *bio, EVP_CIPHER *cipher, int flags) {
-- return PKCS7_encrypt((STACK_OF(X509) *)stack, bio, cipher, flags);
-+PKCS7 *pkcs7_encrypt(STACK_OF(X509) *stack, BIO *bio, EVP_CIPHER *cipher, int flags) {
-+ return PKCS7_encrypt(stack, bio, cipher, flags);
- }
-
- PyObject *pkcs7_decrypt(PKCS7 *pkcs7, EVP_PKEY *pkey, X509 *cert, int flags) {
-@@ -96,14 +96,14 @@
-
- %threadallow pkcs7_sign1;
- %inline %{
--PKCS7 *pkcs7_sign1(X509 *x509, EVP_PKEY *pkey, STACK *stack, BIO *bio, int flags) {
-- return PKCS7_sign(x509, pkey, (STACK_OF(X509) *)stack, bio, flags);
-+PKCS7 *pkcs7_sign1(X509 *x509, EVP_PKEY *pkey, STACK_OF(X509) *stack, BIO *bio, int flags) {
-+ return PKCS7_sign(x509, pkey, stack, bio, flags);
- }
- %}
-
- %threadallow pkcs7_verify1;
- %inline %{
--PyObject *pkcs7_verify1(PKCS7 *pkcs7, STACK *stack, X509_STORE *store, BIO *data, int flags) {
-+PyObject *pkcs7_verify1(PKCS7 *pkcs7, STACK_OF(X509) *stack, X509_STORE *store, BIO *data, int flags) {
- int outlen;
- char *outbuf;
- BIO *bio;
-@@ -113,7 +113,7 @@
- PyErr_SetString(PyExc_MemoryError, "pkcs7_verify1");
- return NULL;
- }
-- if (!PKCS7_verify(pkcs7, (STACK_OF(X509) *)stack, store, data, bio, flags)) {
-+ if (!PKCS7_verify(pkcs7, stack, store, data, bio, flags)) {
- PyErr_SetString(_pkcs7_err, ERR_reason_error_string(ERR_get_error()));
- BIO_free(bio);
- return NULL;
-@@ -131,7 +131,7 @@
- return ret;
- }
-
--PyObject *pkcs7_verify0(PKCS7 *pkcs7, STACK *stack, X509_STORE *store, int flags) {
-+PyObject *pkcs7_verify0(PKCS7 *pkcs7, STACK_OF(X509) *stack, X509_STORE *store, int flags) {
- return pkcs7_verify1(pkcs7, stack, store, NULL, flags);
- }
- %}
-@@ -229,7 +229,7 @@
- }
-
- /* return STACK_OF(X509)* */
--STACK *pkcs7_get0_signers(PKCS7 *p7, STACK *certs, int flags) {
-+STACK_OF(X509) *pkcs7_get0_signers(PKCS7 *p7, STACK_OF(X509) *certs, int flags) {
- return PKCS7_get0_signers(p7, certs, flags);
- }
-
diff --git a/community-staging/python2-pybluez/PKGBUILD b/community-staging/python2-pybluez/PKGBUILD
deleted file mode 100644
index 6007614a6..000000000
--- a/community-staging/python2-pybluez/PKGBUILD
+++ /dev/null
@@ -1,23 +0,0 @@
-# $Id: PKGBUILD 66132 2012-02-23 01:40:38Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: cs-cam - me.at.camdaniel.com
-
-pkgname=python2-pybluez
-pkgver=0.18
-pkgrel=4
-pkgdesc="Python wrapper for the BlueZ Bluetooth stack"
-arch=('i686' 'x86_64')
-url="http://code.google.com/p/pybluez/"
-license=('GPL')
-provides=('pybluez')
-conflicts=('pybluez')
-replaces=('pybluez')
-depends=('python2' 'bluez')
-source=(http://pybluez.googlecode.com/files/PyBluez-$pkgver.tar.gz)
-md5sums=('be8c8ce615c3189fda1aaf3d568314b2')
-
-build() {
- cd $srcdir/PyBluez-$pkgver
- python2 setup.py install --root=$pkgdir
- ln -s bluetooth/_bluetooth.so $pkgdir/usr/lib/python2.7/site-packages/_bluetooth.so
-}
diff --git a/community-staging/python2-pyxmpp/PKGBUILD b/community-staging/python2-pyxmpp/PKGBUILD
deleted file mode 100644
index 49096a86f..000000000
--- a/community-staging/python2-pyxmpp/PKGBUILD
+++ /dev/null
@@ -1,20 +0,0 @@
-# $Id: PKGBUILD 72078 2012-06-08 09:35:02Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: William Rea <sillywilly@gmail.com>
-
-pkgname=python2-pyxmpp
-pkgver=1.1.2
-pkgrel=2
-pkgdesc="A Python XMPP and Jabber implementation based on libxml2"
-arch=('i686' 'x86_64')
-url="http://pyxmpp.jajcus.net/"
-license=('LGPL')
-depends=('python2-dnspython' 'libxml2' 'python2-m2crypto')
-source=(http://pyxmpp.jajcus.net/downloads/pyxmpp-$pkgver.tar.gz)
-md5sums=('a38abf032aca0408b6055cd94296eb75')
-
-build() {
- cd $srcdir/pyxmpp-$pkgver
- python2 setup.py build
- python2 setup.py install --root=$pkgdir
-}
diff --git a/community-staging/python2-simplejson/PKGBUILD b/community-staging/python2-simplejson/PKGBUILD
deleted file mode 100644
index c6866a23d..000000000
--- a/community-staging/python2-simplejson/PKGBUILD
+++ /dev/null
@@ -1,27 +0,0 @@
-# $Id: PKGBUILD 74926 2012-08-09 22:02:03Z jlichtblau $
-# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
-# Contributor: Allan McRae <allan@archlinux.org>
-# Contributor: David Moore <davidm@sjsoft.com>
-
-pkgname=python2-simplejson
-pkgver=2.6.1
-pkgrel=2
-pkgdesc="Simple, fast, extensible JSON encoder/decoder for Python"
-license=('MIT')
-arch=('i686' 'x86_64')
-url="http://undefined.org/python/#simplejson"
-depends=('python2')
-makedepends=('python2-distribute')
-changelog=$pkgname.changelog
-source=($pkgname-$pkgver.tar.gz::https://github.com/simplejson/simplejson/tarball/v${pkgver})
-sha256sums=('484b4cf0a545fc59a19ea8eed3a957919a89be116804b53712ec63466d7c3a31')
-
-build() {
- cd ${srcdir}/simplejson-simplejson-*
-
- python2 setup.py install --root=${pkgdir}
-
-# License
- install -Dm644 ${srcdir}/simplejson-simplejson-*/LICENSE.txt \
- ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
-}
diff --git a/community-staging/python2-simplejson/python2-simplejson.changelog b/community-staging/python2-simplejson/python2-simplejson.changelog
deleted file mode 100644
index c1e227d24..000000000
--- a/community-staging/python2-simplejson/python2-simplejson.changelog
+++ /dev/null
@@ -1,20 +0,0 @@
-2012-07-09 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
- * python-simplejson 2.6.1-1
-
-2012-05-24 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
- * python-simplejson 2.5.2-1
-
-2012-03-08 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
- * python-simplejson 2.3.3-1
-
-2011-10-26 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
- * python-simplejson 2.2.1-1
-
-2011-05-01 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
- * python-simplejson 2.1.3-1
-
-2010-05-15 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
- * Update to major release 2.1.1
-
-2010-03-27 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
- * Update to major release 2.1.0
diff --git a/community-staging/python2-vorbissimple/PKGBUILD b/community-staging/python2-vorbissimple/PKGBUILD
deleted file mode 100644
index ba0a8be63..000000000
--- a/community-staging/python2-vorbissimple/PKGBUILD
+++ /dev/null
@@ -1,21 +0,0 @@
-# $Id: PKGBUILD 66136 2012-02-23 01:43:46Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: William Rea <sillywilly@gmail.com>
-
-pkgname=python2-vorbissimple
-pkgver=0.0.2
-pkgrel=6
-pkgdesc="Python bindings for vorbissimple"
-arch=('i686' 'x86_64')
-url="http://kamaelia.sourceforge.net"
-license=('MPL')
-depends=('python2' 'vorbissimple')
-makedepends=('pyrex')
-source=(http://downloads.sourceforge.net/kamaelia/vorbissimple-$pkgver.tar.gz)
-md5sums=('332077b25a4c9547947ab0922361ffda')
-
-build() {
- cd $srcdir/vorbissimple-$pkgver/python
- sed -i 's#__new__#__cinit__#' vorbissimple.pyx
- python2 setup.py install --root=$pkgdir
-}
diff --git a/community-staging/sdcc/PKGBUILD b/community-staging/sdcc/PKGBUILD
deleted file mode 100644
index fd9c0b002..000000000
--- a/community-staging/sdcc/PKGBUILD
+++ /dev/null
@@ -1,34 +0,0 @@
-# $Id: PKGBUILD 77318 2012-10-08 16:13:13Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Maintainer: Jose Negron <josenj.arch@mailnull.net>
-
-pkgname=sdcc
-pkgver=3.2.0
-pkgrel=2
-pkgdesc="Retargettable ANSI C compiler (Intel 8051, Maxim 80DS390, Zilog Z80 and the Motorola 68HC08)"
-arch=('i686' 'x86_64')
-license=('GPL')
-depends=('bash' 'gcc-libs' 'boost-libs')
-makedepends=('gputils' 'flex' 'bison' 'patch' 'boost')
-optdepends=('python')
-url="http://sdcc.sourceforge.net/"
-options=(!strip)
-source=(http://downloads.sourceforge.net/sourceforge/sdcc/$pkgname-src-$pkgver.tar.bz2)
-md5sums=('0808a9b4109d2ba6046ddd7b679a0012')
-
-build() {
- cd $srcdir/$pkgname
- ./configure \
- --prefix=/usr \
- --includedir=/usr/include/sdcc \
- --libdir=/usr/lib/sdcc
- make
- make install DESTDIR=$pkgdir
-
- if [ -d $pkgdir/usr/lib/lib ]; then
- mv $pkgdir/usr/lib/lib/* $pkgdir/usr/lib/sdcc/
- rm -rf $pkgdir/usr/lib/lib
- fi
-
- sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python3|' $pkgdir/usr/bin/as2gbmap
-}
diff --git a/community-staging/tix/PKGBUILD b/community-staging/tix/PKGBUILD
deleted file mode 100644
index 8aa00c521..000000000
--- a/community-staging/tix/PKGBUILD
+++ /dev/null
@@ -1,46 +0,0 @@
-# $Id: PKGBUILD 77320 2012-10-08 16:13:53Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: Brice Méalier <mealier_brice@yahoo.fr>
-
-pkgname=tix
-pkgver=8.4.3
-pkgrel=4
-pkgdesc="Tk Interface eXtension, a powerful set of user interface components"
-arch=(i686 'x86_64')
-url="http://tix.sourceforge.net/"
-license=("BSD")
-depends=('tk' 'libx11')
-source=(http://downloads.sourceforge.net/tix/Tix$pkgver-src.tar.gz
- tcl-tk-path.patch)
-md5sums=('2b8bf4b10a852264678182652f477e59'
- 'd4df48da39dd51872d58706a51bab505')
-
-build() {
- cd $srcdir/Tix$pkgver
-
- patch -p1 <$srcdir/tcl-tk-path.patch
-
- export CFLAGS="$CFLAGS -DERR_IN_PROGRESS=2"
-
- ./configure --prefix=/usr
- make
- make DESTDIR=$pkgdir install
- # move things around
-
- install -m755 tools/tixindex $pkgdir/usr/bin/tixindex
- rm -rf $pkgdir/usr/lib/Tix8.4/html
- rm -f $pkgdir/usr/lib/Tix8.4/{README.txt,license.terms}
- ln -s Tix$pkgver/libTix$pkgver.so $pkgdir/usr/lib/libTix$pkgver.so
-
- mkdir -p $pkgdir/usr/share/man/man1
- mkdir -p $pkgdir/usr/share/man/man3
- cp -p man/tixwish.1 $pkgdir/usr/share/man/man1
- cd $srcdir/Tix$pkgver/man
- for i in *.n; do
- cp -p $i $pkgdir/usr/share/man/man3/${i%n}3
- done
-
- mkdir -p $pkgdir/usr/share/licenses/tix
- cp $srcdir/Tix$pkgver/license.terms $pkgdir/usr/share/licenses/tix/
-}
-
diff --git a/community-staging/tix/tcl-tk-path.patch b/community-staging/tix/tcl-tk-path.patch
deleted file mode 100644
index 2fc12671e..000000000
--- a/community-staging/tix/tcl-tk-path.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff -wbBur Tix8.4.3/configure Tix8.4.3.my/configure
---- Tix8.4.3/configure 2008-02-28 04:35:01.000000000 +0000
-+++ Tix8.4.3.my/configure 2009-12-28 10:57:33.000000000 +0000
-@@ -6645,7 +6645,7 @@
- ;;
- esac
- else
-- if test ! -f "${TCL_SRC_DIR}/generic/tclInt.h" ; then
-+ if test ! -f "${TCL_SRC_DIR}/tclInt.h" ; then
- { { echo "$as_me:$LINENO: error: Cannot find private header tclInt.h in ${TCL_SRC_DIR}" >&5
- echo "$as_me: error: Cannot find private header tclInt.h in ${TCL_SRC_DIR}" >&2;}
- { (exit 1); exit 1; }; }
-@@ -6700,7 +6700,7 @@
- ;;
- esac
- else
-- if test ! -f "${TK_SRC_DIR}/generic/tkInt.h" ; then
-+ if test ! -f "${TK_SRC_DIR}/tk-private/generic/tkInt.h" ; then
- { { echo "$as_me:$LINENO: error: Cannot find private header tkInt.h in ${TK_SRC_DIR}" >&5
- echo "$as_me: error: Cannot find private header tkInt.h in ${TK_SRC_DIR}" >&2;}
- { (exit 1); exit 1; }; }
-
diff --git a/community-staging/ubuntuone-client/1339_1338.diff b/community-staging/ubuntuone-client/1339_1338.diff
deleted file mode 100644
index cbd966a70..000000000
--- a/community-staging/ubuntuone-client/1339_1338.diff
+++ /dev/null
@@ -1,57 +0,0 @@
-=== modified file 'tests/platform/sync_menu/test_linux.py'
---- tests/platform/sync_menu/test_linux.py 2012-10-10 14:54:49 +0000
-+++ tests/platform/sync_menu/test_linux.py 2012-10-11 12:01:27 +0000
-@@ -124,6 +124,7 @@
- """Check that the dummy has the proper methods required by the API."""
- dummy = linux.DummySyncMenu('random', 'args')
- self.assertIsInstance(dummy.update_transfers, Callable)
-+ self.assertIsInstance(dummy.sync_status_changed, Callable)
-
-
- class SyncMenuTestCase(TestCase):
-
-=== modified file 'ubuntuone/platform/sync_menu/linux.py'
---- ubuntuone/platform/sync_menu/linux.py 2012-10-10 17:06:14 +0000
-+++ ubuntuone/platform/sync_menu/linux.py 2012-10-11 13:00:10 +0000
-@@ -183,7 +183,7 @@
- self.timer.addCallback(self._timeout)
-
-
--class TransfersMenu(Dbusmenu.Menuitem):
-+class TransfersMenu(Dbusmenu.Menuitem if use_syncmenu else object):
- """Menu that handles the recent and current transfers."""
-
- def __init__(self, status_frontend):
-@@ -227,7 +227,7 @@
- items_added = 0
- remove = []
- for item in self._uploading_items:
-- if item in uploading_data:
-+ if item in uploading_data.keys():
- size, written = uploading_data[item]
- percentage = written * 100 / size
- upload_item = self._uploading_items[item]
-@@ -243,7 +243,7 @@
- for item in remove:
- self._uploading_items.pop(item)
- if items_added < 5:
-- for item in uploading_data:
-+ for item in uploading_data.keys():
- if item not in self._uploading_items and items_added < 5:
- size, written = uploading_data[item]
- percentage = written * 100 / size
-@@ -270,4 +270,12 @@
- def update_transfers(self):
- """Do nothing."""
-
--UbuntuOneSyncMenu = UbuntuOneSyncMenuLinux if use_syncmenu else DummySyncMenu
-+ def sync_status_changed(self):
-+ """Do nothing."""
-+
-+
-+if use_syncmenu:
-+ UbuntuOneSyncMenu = UbuntuOneSyncMenuLinux
-+else:
-+ UbuntuOneSyncMenu = DummySyncMenu
-+ TransfersMenu = None
-
diff --git a/community-staging/ubuntuone-client/PKGBUILD b/community-staging/ubuntuone-client/PKGBUILD
deleted file mode 100644
index 8829e86d9..000000000
--- a/community-staging/ubuntuone-client/PKGBUILD
+++ /dev/null
@@ -1,46 +0,0 @@
-# $Id: PKGBUILD 77990 2012-10-16 02:30:37Z bgyorgy $
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-
-pkgname=ubuntuone-client
-pkgver=4.0.0
-pkgrel=2
-pkgdesc="Ubuntu One helps you store, sync and share files between your computers"
-arch=('i686' 'x86_64')
-url="https://launchpad.net/ubuntuone-client"
-license=('GPL')
-depends=('dbus-glib' 'python2-configglue' 'python2-distribute' 'libnotify' 'python2-gobject2' 'python2-pyinotify' 'python2-simplejson' 'ubuntu-sso-client' 'python2-ubuntuone-storageprotocol' 'hicolor-icon-theme' 'xdg-utils')
-makedepends=('intltool' 'imake' 'gobject-introspection')
-options=('!libtool')
-install=$pkgname.install
-source=(http://launchpad.net/ubuntuone-client/stable-4-0/$pkgver/+download/$pkgname-$pkgver.tar.gz
- 1339_1338.diff
- fix-notify-hint.patch)
-md5sums=('738039703d4dcf54518a725f8ffbc4de'
- 'e82e80c229de06692988c1f938a34fb9'
- '54dfeb2be011f0a12ea7cfa0f0c19bec')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- sed -i 's@^#!.*python$@#!/usr/bin/python2@' bin/*
-
- # Improve TransfersMenu declaration to avoid problems
- patch -Np0 -i "$srcdir/1339_1338.diff"
-
- # Workaround for crash in notification-daemon
- # https://bugzilla.gnome.org/show_bug.cgi?id=665166
- patch -Np1 -i "$srcdir/fix-notify-hint.patch"
-
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/$pkgname \
- --disable-static \
- PYTHON=python2
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
-
- make DESTDIR="$pkgdir/" install
-
- # We don't have Apport in Arch Linux
- rm -r "$pkgdir"/{etc/apport,usr/share/apport}
-}
diff --git a/community-staging/ubuntuone-client/fix-notify-hint.patch b/community-staging/ubuntuone-client/fix-notify-hint.patch
deleted file mode 100644
index f32280de9..000000000
--- a/community-staging/ubuntuone-client/fix-notify-hint.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff -Naur ubuntuone-client-4.0.0.orig/ubuntuone/platform/notification/linux.py ubuntuone-client-4.0.0/ubuntuone/platform/notification/linux.py
---- ubuntuone-client-4.0.0.orig/ubuntuone/platform/notification/linux.py 2012-06-19 15:51:01.000000000 +0200
-+++ ubuntuone-client-4.0.0/ubuntuone/platform/notification/linux.py 2012-10-15 01:14:01.019476818 +0200
-@@ -40,7 +40,7 @@
-
- if 'gi' in sys.modules and sys.modules['gi'] is not None:
- try:
-- from gi.repository import Notify
-+ from gi.repository import GLib, Notify
- Notify # pyflakes
- NOTIFY_MODULE = 'gi'
- except ImportError:
-@@ -85,5 +85,6 @@
- if append:
- self.notification.set_hint_string('x-canonical-append', '')
-
-- self.notification.set_hint_int32('transient', int(True))
-+ if NOTIFY_MODULE == 'gi':
-+ self.notification.set_hint('transient', GLib.Variant.new_boolean(1))
- self.notification.show()
diff --git a/community-staging/ubuntuone-client/ubuntuone-client.install b/community-staging/ubuntuone-client/ubuntuone-client.install
deleted file mode 100644
index 2c455e952..000000000
--- a/community-staging/ubuntuone-client/ubuntuone-client.install
+++ /dev/null
@@ -1,11 +0,0 @@
-post_install() {
- xdg-icon-resource forceupdate
-}
-
-post_upgrade() {
- post_install $1
-}
-
-post_remove() {
- post_install $1
-}
diff --git a/community-staging/uniconvertor/PKGBUILD b/community-staging/uniconvertor/PKGBUILD
deleted file mode 100644
index da1175e90..000000000
--- a/community-staging/uniconvertor/PKGBUILD
+++ /dev/null
@@ -1,29 +0,0 @@
-# $Id: PKGBUILD 77994 2012-10-16 02:42:54Z allan $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: Roberto Alsina <ralsina@kde.org>
-
-pkgname=uniconvertor
-pkgver=1.1.5
-pkgrel=6
-pkgdesc="A universal vector graphics translator using sK1 engine."
-arch=('i686' 'x86_64')
-url="http://sk1project.org/modules.php?name=Products&product=uniconvertor"
-license=('GPL')
-depends=('python2' 'python2-imaging' 'python2-reportlab' 'sk1libs')
-makedepends=('gcc')
-source=(http://uniconvertor.googlecode.com/files/uniconvertor-$pkgver.tar.gz)
-md5sums=('d1272315a58304ece2ff588834e23f72')
-
-build() {
- cd "$srcdir/uniconvertor-$pkgver"
-
- # python2 fix
- sed -i 's_#! /usr/bin/python_#! /usr/bin/python2_' src/__init__.py
-
- python2 setup.py build
-}
-
-package() {
- cd "$srcdir/uniconvertor-$pkgver"
- python2 setup.py install --root="$pkgdir"
-}
diff --git a/community-staging/virtkey/PKGBUILD b/community-staging/virtkey/PKGBUILD
deleted file mode 100644
index 7d350b553..000000000
--- a/community-staging/virtkey/PKGBUILD
+++ /dev/null
@@ -1,46 +0,0 @@
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-# Contributor: codl <codl@aquageek.net>
-# Contributor: Megamixman <Megamixman@gmail.com>
-
-pkgbase=virtkey
-pkgname=('python2-virtkey' 'python-virtkey')
-pkgver=0.61.0
-pkgrel=2
-arch=('i686' 'x86_64')
-url="https://launchpad.net/virtkey"
-license=('LGPL')
-makedepends=('python2' 'python' 'libxtst' 'gtk2')
-source=(http://launchpad.net/$pkgbase/${pkgver%.*}/$pkgver/+download/$pkgbase-$pkgver.tar.gz)
-md5sums=('536d30acb2c8ddadc6b4a26fc01e8390')
-
-build() {
- cd "$srcdir"
-
- cp -a {,python2-}$pkgbase-$pkgver
-
- # Build python 2 module
- cd "$srcdir/python2-$pkgbase-$pkgver"
- python2 setup.py build
-
- # Build python 3 module
- cd "$srcdir/$pkgbase-$pkgver"
- python setup.py build
-}
-
-package_python2-virtkey() {
- pkgdesc="Python 2 extension for emulating keypresses and getting layout information from the X server"
- depends=('python2' 'libxtst' 'gtk2')
-
- cd "$srcdir/python2-$pkgbase-$pkgver"
-
- python2 setup.py install --root=$pkgdir/ --optimize=1
-}
-
-package_python-virtkey() {
- pkgdesc="Python extension for emulating keypresses and getting layout information from the X server"
- depends=('python' 'libxtst' 'gtk2')
-
- cd "$srcdir/$pkgbase-$pkgver"
-
- python3 setup.py install --root=$pkgdir/ --optimize=1
-}
diff --git a/community-testing/assimp/PKGBUILD b/community-testing/assimp/PKGBUILD
deleted file mode 100644
index 6a5087a83..000000000
--- a/community-testing/assimp/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
-# Contributor: jepaan <jepaan at hotmail dot com>
-
-pkgname=assimp
-pkgver=3.0.1270
-pkgrel=1
-pkgdesc="Portable Open Source library to import various well-known 3D model formats in an uniform manner"
-arch=('i686' 'x86_64')
-license=('BSD')
-depends=('libxmu' 'zlib' 'freeglut')
-makedepends=('cmake' 'boost')
-url=('http://assimp.sourceforge.net/index.html')
-source=("http://downloads.sourceforge.net/assimp/assimp--$pkgver-source-only.zip")
-md5sums=('52aa4cf4e34e6b2a9c5f6c0b3c319af1')
-
-build() {
- cd ${srcdir}
- mkdir build
- cd build
- cmake ../${pkgname}--${pkgver}-source-only \
- -DCMAKE_INSTALL_PREFIX=/usr
- make
-}
-
-package() {
- cd ${srcdir}/build
-
- make DESTDIR=$pkgdir install
- install -Dm644 ${srcdir}/${pkgname}--${pkgver}-source-only/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
-}
diff --git a/community-testing/astromenace/PKGBUILD b/community-testing/astromenace/PKGBUILD
deleted file mode 100644
index a4f3d8663..000000000
--- a/community-testing/astromenace/PKGBUILD
+++ /dev/null
@@ -1,55 +0,0 @@
-# $Id: PKGBUILD 77264 2012-10-08 13:00:46Z svenstaro $
-# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
-# Contributor: Arkham <arkham at archlinux dot us>
-# Contributor: Ivan Bobrov <ibobrik at gmail dot com>
-# Contributor: Black_Mage <vleon1 at gmail dot com>
-
-pkgname=astromenace
-pkgver=1.2.0
-pkgrel=6
-pkgdesc="Hardcore 3D space shooter with spaceship upgrade possibilities. English version"
-arch=('i686' 'x86_64')
-url="http://www.viewizard.com/astromenace/index_linux.php"
-license=('GPL3')
-depends=('sdl' 'freealut' 'libjpeg' 'libvorbis' 'glu')
-makedepends=('cmake' 'mesa')
-source=(http://downloads.sourceforge.net/openastromenace/openamenace-src-$pkgver.tar.bz2
- http://downloads.sourceforge.net/openastromenace/oamenace-data-$pkgver.tar.bz2
- http://downloads.sourceforge.net/openastromenace/oamenace-lang-en-$pkgver.tar.bz2
- astromenace.desktop
- astromenace.png
- astromenace.patch
- astromenace.sh)
-md5sums=('3c8e7013aa64fcde7ba8a7750df51ab8'
- 'a8ad3495f8eac419ebcf93473008484d'
- 'f137da529da1345a0243f22fb8bf4913'
- '1edc9367564a6c639a2b8199adf26a08'
- '1643d876d4e21cc0c6ceddc8e7c8ceed'
- '8d23310a2bb9c96dd150d30ab39799a1'
- '2d4504929a620709cd058657bba335b3')
-
-build() {
- cd $srcdir/OpenAstroMenaceSVN
-
- # Patch build and install the engine
- patch -Np1 -i $srcdir/$pkgname.patch
- cmake . -DCMAKE_INSTALL_PREFIX:PATH=/usr
- sed -i 's/`sdl-config --libs`/-lSDL -lpthread/' CMakeFiles/AstroMenace.dir/link.txt
- make
-}
-
-package() {
- cd $srcdir/OpenAstroMenaceSVN
-
- # Manually install the engine and data
- install -Dm 755 AstroMenace $pkgdir/usr/bin/astromenace_bin
- install -Dm 644 $srcdir/gamedata.vfs $pkgdir/usr/share/astromenace/gamedata.vfs
- install -Dm 644 $srcdir/gamelang_en.vfs $pkgdir/usr/share/astromenace/gamelang_en.vfs
- install -d $pkgdir/usr/share/astromenace/DATA/SCRIPT
- install -m 644 $srcdir/DATA/SCRIPT/* $pkgdir/usr/share/astromenace/DATA/SCRIPT
-
- # Install .desktop, icon and bin
- install -Dm 644 $srcdir/astromenace.desktop $pkgdir/usr/share/applications/astromenace.desktop
- install -Dm 644 $srcdir/astromenace.png $pkgdir/usr/share/pixmaps/astromenace.png
- install -Dm 755 $srcdir/astromenace.sh $pkgdir/usr/bin/astromenace
-}
diff --git a/community-testing/astromenace/astromenace.desktop b/community-testing/astromenace/astromenace.desktop
deleted file mode 100644
index 2b8d57293..000000000
--- a/community-testing/astromenace/astromenace.desktop
+++ /dev/null
@@ -1,10 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-Name=Astromenace
-Comment=Space shooter
-Exec=astromenace
-Icon=/usr/share/pixmaps/astromenace.png
-StartupNotify=true
-Terminal=false
-Type=Application
-Categories=Application;Game;ArcadeGame;
diff --git a/community-testing/astromenace/astromenace.patch b/community-testing/astromenace/astromenace.patch
deleted file mode 100644
index b69efd9a4..000000000
--- a/community-testing/astromenace/astromenace.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -aur OpenAstroMenaceSVN.pristine/AstroMenaceSource/Core/RendererInterface/RendererInterface.h OpenAstroMenaceSVN.new/AstroMenaceSource/Core/RendererInterface/RendererInterface.h
---- OpenAstroMenaceSVN.pristine/AstroMenaceSource/Core/RendererInterface/RendererInterface.h 2010-02-14 11:39:06.721353373 +0100
-+++ OpenAstroMenaceSVN.new/AstroMenaceSource/Core/RendererInterface/RendererInterface.h 2010-02-14 11:46:47.171304764 +0100
-@@ -37,6 +37,8 @@
- #include "../Base.h"
- #include "../Math/Math.h"
- #include "../Texture/Texture.h"
-+#define PFNGLCLIENTACTIVETEXTUREPROC PFNGLACTIVETEXTUREPROC
-+
-
-
-
diff --git a/community-testing/astromenace/astromenace.png b/community-testing/astromenace/astromenace.png
deleted file mode 100644
index 6093e9272..000000000
--- a/community-testing/astromenace/astromenace.png
+++ /dev/null
Binary files differ
diff --git a/community-testing/astromenace/astromenace.sh b/community-testing/astromenace/astromenace.sh
deleted file mode 100644
index 02e8594df..000000000
--- a/community-testing/astromenace/astromenace.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-astromenace_bin --dir=/usr/share/astromenace "$@"
diff --git a/community-testing/avr-gdb/PKGBUILD b/community-testing/avr-gdb/PKGBUILD
deleted file mode 100644
index 2dbb56ee0..000000000
--- a/community-testing/avr-gdb/PKGBUILD
+++ /dev/null
@@ -1,50 +0,0 @@
-# Maintainer: schuay <jakob.gruber@gmail.com>
-# Contributor: Ivan Sichmann Freitas <ivansichfreitas at gmail dot com>
-# Contributor: Laszlo Papp <djszapi2 at gmail dot com>
-# Contributor: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
-# Contributor: Vladimir Cerny <blackvladimir@gmail.com>
-# Contributor: 4javier <4javieregATgmailDOTcom>
-
-pkgname=avr-gdb
-_pkgname=gdb
-pkgver=7.4
-pkgrel=2
-pkgdesc="The GNU Debugger for AVR"
-arch=('i686' 'x86_64')
-url="http://www.gnu.org/software/gdb/"
-license=('GPL3')
-depends=('python')
-options=('!libtool')
-source=(http://ftp.gnu.org/gnu/gdb/${_pkgname}-${pkgver}.tar.bz2)
-md5sums=('95a9a8305fed4d30a30a6dc28ff9d060')
-
-build() {
- cd ${srcdir}/${_pkgname}-${pkgver}
-
- unset LDFLAGS
- export CFLAGS="-O2 -pipe"
- export CXXFLAGS="$CFLAGS"
-
- ./configure --prefix=/usr \
- --target=avr \
- --disable-nls \
- --enable-languages=c,c++ \
- --infodir=/usr/share/info \
- --libdir=/usr/lib \
- --program-prefix=avr- \
- --libexecdir=/usr/lib \
- --mandir=/usr/share/man \
- --with-system-readline
- make
-}
-
-package() {
- cd ${srcdir}/${_pkgname}-${pkgver}
-
- make DESTDIR=${pkgdir} install
-
- rm -f ${pkgdir}/usr/lib/libiberty.a
- rm -rf ${pkgdir}/usr/share/info
- rm -rf ${pkgdir}/usr/share/gdb
- rm -rf ${pkgdir}/usr/include/gdb
-}
diff --git a/community-testing/blueman/PKGBUILD b/community-testing/blueman/PKGBUILD
deleted file mode 100644
index cb4ae826b..000000000
--- a/community-testing/blueman/PKGBUILD
+++ /dev/null
@@ -1,48 +0,0 @@
-# $Id: PKGBUILD 78034 2012-10-16 11:49:44Z allan $
-# Maintainer : Ionut Biru <ibiru@archlinux.org
-# Contributor: Abhishek Dasgupta <abhidg@gmail.com>
-
-pkgname=blueman
-pkgver=1.23
-pkgrel=5
-pkgdesc="GTK+ bluetooth manager"
-arch=('i686' 'x86_64')
-license=('GPL')
-url="http://blueman-project.org"
-depends=('python2-notify' 'bluez' 'python2-dbus' 'gtk2' 'python2-gobject2' 'startup-notification'
- 'obex-data-server' 'polkit-gnome' 'xdg-utils' 'hicolor-icon-theme' 'libpulse'
- 'notification-daemon')
-makedepends=('pyrex' 'intltool')
-optdepends=('dnsmasq: For creating PAN network'
- 'gconf: For gconf configuration support'
- 'pulseaudio: To use the pulseaudio plugin'
- 'notification-daemon: for desktop notifications'
- 'libnotify: for desktop notifications'
- 'modemmanager: for modem management service'
- 'gnome-icon-theme: icon theme')
-options=('!libtool')
-install=$pkgname.install
-source=(http://download.tuxfamily.org/blueman/${pkgname}-${pkgver}.tar.gz)
-md5sums=('f0bee59589f4c23e35bf08c2ef8acaef')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- export PYTHON=python2
- for file in apps/blueman*; do
- sed -i 's_#!/usr/bin/python_#!/usr/bin/python2_' $file
- done
- sed -i 's|"blueman-tray"|"blueman"|' blueman/plugins/applet/StatusIcon.py
-
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --libexecdir=/usr/lib/blueman \
- --with-no-runtime-deps-check
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- echo "OnlyShowIn=GNOME;XFCE;" >> ${pkgdir}/etc/xdg/autostart/blueman.desktop
-}
diff --git a/community-testing/blueman/blueman.install b/community-testing/blueman/blueman.install
deleted file mode 100644
index 8bf021487..000000000
--- a/community-testing/blueman/blueman.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() {
- post_install $1
-}
diff --git a/community-testing/catalyst-dkms/3.5-do_mmap.patch b/community-testing/catalyst-dkms/3.5-do_mmap.patch
deleted file mode 100644
index 04248eb7b..000000000
--- a/community-testing/catalyst-dkms/3.5-do_mmap.patch
+++ /dev/null
@@ -1,50 +0,0 @@
---- a/common/lib/modules/fglrx/build_mod/firegl_public.c 2012-06-15 18:30:13.483762070 +0200
-+++ b/common/lib/modules/fglrx/build_mod/firegl_public.c 2012-06-17 17:47:36.543041869 +0200
-@@ -2106,6 +2106,12 @@
- }
- }
-
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 5, 0)
-+# define NO_DO_MMAP
-+# define do_mmap(a,b,c,d,e,f) vm_mmap(a, b, c, d, e, f)
-+# define do_munmap(a,b,c) vm_munmap(b, c)
-+#endif
-+
- unsigned long ATI_API_CALL KCL_MEM_AllocLinearAddrInterval(
- KCL_IO_FILE_Handle file,
- unsigned long addr,
-@@ -2117,10 +2123,13 @@
-
- flags = MAP_SHARED;
- prot = PROT_READ|PROT_WRITE;
--
-+#ifdef NO_DO_MMAP
-+ vaddr = (void *) vm_mmap(file, 0, len, prot, flags, pgoff);
-+#else
- down_write(&current->mm->mmap_sem);
- vaddr = (void *) do_mmap(file, 0, len, prot, flags, pgoff);
- up_write(&current->mm->mmap_sem);
-+#endif
- if (IS_ERR(vaddr))
- return 0;
- else
-@@ -2131,7 +2140,9 @@
- {
- int retcode = 0;
-
-+#ifndef NO_DO_MMAP
- down_write(&current->mm->mmap_sem);
-+#endif
- #ifdef FGL_LINUX_RHEL_MUNMAP_API
- retcode = do_munmap(current->mm,
- addr,
-@@ -2142,7 +2153,9 @@
- addr,
- len);
- #endif
-+#ifndef NO_DO_MMAP
- up_write(&current->mm->mmap_sem);
-+#endif
- return retcode;
- }
-
diff --git a/community-testing/catalyst-dkms/PKGBUILD b/community-testing/catalyst-dkms/PKGBUILD
deleted file mode 100644
index 7b455b1cc..000000000
--- a/community-testing/catalyst-dkms/PKGBUILD
+++ /dev/null
@@ -1,51 +0,0 @@
-# $Id: PKGBUILD 77331 2012-10-08 22:59:34Z lcarlier $
-# Maintainer: Laurent Carlier <lordheavym@gmail.com>
-# Contributor: Vi0L0, wonder, Eduardo "kensai" Romero
-# Contributor: aidanlinz, Rip-Rip, OvsInc, Sebastian Siebert
-
-pkgname=catalyst-dkms
-pkgver=12.9
-pkgrel=0.1
-pkgdesc="AMD proprietary gpu kernel driver"
-arch=('i686' 'x86_64')
-url="http://www.amd.com"
-license=('custom')
-depends=('dkms')
-optdepends=('linux-headers: build the module against Arch kernel'
- 'linux-lts-headers: build the module against LTS Arch kernel')
-replaces=('catalyst-lts-dkms') # useless
-source=(#http://www2.ati.com/drivers/linux/amd-driver-installer-${pkgver/./-}-x86.x86_64.zip
- https://launchpad.net/ubuntu/quantal/+source/fglrx-installer/2:9.000-0ubuntu1/+files/fglrx-installer_9.000.orig.tar.gz
- dkms.conf)
-md5sums=('2bb6e8193fdddff9bbd2e3d9f9e8f39b'
- '972049dc247a74a7162f2227078abcb0')
-install=catalyst.install
-
-package() {
- depends=(${depends[@]} "catalyst-utils=${pkgver}")
-
- cd ${srcdir}
-
- if [ "${CARCH}" = "x86_64" ]; then
- _archdir=x86_64
- else
- _archdir=x86
- fi
-
- #sh ./amd-driver-installer*.run --extract fglrx-install
-
- #cd fglrx-install
- #patch -Np1 -i ../3.5-do_mmap.patch
-
- install -dm755 "${pkgdir}/usr/lib/modprobe.d"
- install -dm755 "${pkgdir}/usr/src/fglrx-${pkgver}-${pkgrel}"
- cp -r lib/modules/fglrx/build_mod/* "${pkgdir}/usr/src/fglrx-${pkgver}-${pkgrel}/"
- cp "arch/${_archdir}"/lib/modules/fglrx/build_mod/libfglrx_ip.a "${pkgdir}/usr/src/fglrx-${pkgver}-${pkgrel}/"
- cp ${srcdir}/dkms.conf "${pkgdir}/usr/src/fglrx-${pkgver}-${pkgrel}/"
- sed -i -e "s/@VERSION@/${pkgver}-${pkgrel}/" "${pkgdir}/usr/src/fglrx-${pkgver}-${pkgrel}/dkms.conf"
-
- echo "blacklist radeon" >> "${pkgdir}/usr/lib/modprobe.d/catalyst.conf"
-
- # license
- install -Dm644 "${srcdir}/usr/share/doc/fglrx/LICENSE.TXT" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.TXT"
-}
diff --git a/community-testing/catalyst-dkms/catalyst.install b/community-testing/catalyst-dkms/catalyst.install
deleted file mode 100644
index 3adb1410d..000000000
--- a/community-testing/catalyst-dkms/catalyst.install
+++ /dev/null
@@ -1,22 +0,0 @@
-post_install()
-{
- dkms add -m fglrx -v $1
- dkms build -m fglrx -v $1
- dkms install -m fglrx -v $1
-}
-
-post_upgrade()
-{
- # removing old version
- dkms remove -m fglrx -v $2 --all
- # then installing the new one
- dkms add -m fglrx -v $1
- dkms build -m fglrx -v $1
- dkms install -m fglrx -v $1
-}
-
-pre_remove()
-{
- dkms remove -m fglrx -v $1 --all
-}
-
diff --git a/community-testing/catalyst-dkms/dkms.conf b/community-testing/catalyst-dkms/dkms.conf
deleted file mode 100644
index 8d312da4f..000000000
--- a/community-testing/catalyst-dkms/dkms.conf
+++ /dev/null
@@ -1,7 +0,0 @@
-PACKAGE_NAME="fglrx"
-PACKAGE_VERSION="@VERSION@"
-CLEAN="rm -f *.*o"
-BUILT_MODULE_NAME[0]="fglrx"
-MAKE[0]="sh make.sh --nohints --uname_r=$kernelver --norootcheck"
-DEST_MODULE_LOCATION[0]="/extramodules"
-AUTOINSTALL="yes"
diff --git a/community-testing/chromium-bsu/PKGBUILD b/community-testing/chromium-bsu/PKGBUILD
deleted file mode 100644
index 338f16747..000000000
--- a/community-testing/chromium-bsu/PKGBUILD
+++ /dev/null
@@ -1,29 +0,0 @@
-# $Id: PKGBUILD 77219 2012-10-07 13:58:24Z jelle $
-# Maintainer: Allan McRae <allan@archlinux.org>
-# Contributor: William Rea <sillywilly@gmail.com>
-
-pkgname=chromium-bsu
-pkgver=0.9.15
-pkgrel=3
-pkgdesc="A fast paced top scrolling shooter"
-arch=('i686' 'x86_64')
-url="http://chromium-bsu.sourceforge.net/"
-license=('custom:artistic')
-depends=('freeglut' 'glu' 'sdl' 'openal' 'freealut' 'glpng' 'ftgl' 'fontconfig' 'sdl_image')
-install=chromium-bsu.install
-source=(http://downloads.sourceforge.net/project/$pkgname/Chromium%20B.S.U.%20source%20code/$pkgver/$pkgname-$pkgver.tar.gz)
-md5sums=('d57137a1ac2292363b35192724c7e3be')
-
-build(){
- cd $srcdir/$pkgname-$pkgver
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd $srcdir/$pkgname-$pkgver
- make DESTDIR=$pkgdir install
-
- install -Dm644 COPYING $pkgdir/usr/share/licenses/chromium-bsu/LICENSE
-}
-
diff --git a/community-testing/chromium-bsu/chromium-bsu.install b/community-testing/chromium-bsu/chromium-bsu.install
deleted file mode 100644
index 6b1b64bdd..000000000
--- a/community-testing/chromium-bsu/chromium-bsu.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/community-testing/cython/PKGBUILD b/community-testing/cython/PKGBUILD
deleted file mode 100644
index 3e20aed0f..000000000
--- a/community-testing/cython/PKGBUILD
+++ /dev/null
@@ -1,38 +0,0 @@
-# $Id: PKGBUILD 78039 2012-10-16 11:50:02Z allan $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: Igor Scabini <furester @ gmail.com>
-
-pkgname=('cython' 'cython2')
-pkgbase=cython
-pkgver=0.17
-pkgrel=2
-pkgdesc="C-Extensions for Python "
-arch=(i686 x86_64)
-url="http://www.cython.org"
-license=('APACHE')
-makedepends=('python-distribute' 'python2-distribute')
-source=("http://cython.org/release/Cython-$pkgver.tar.gz")
-md5sums=('d6b669956b25babf7dd86db0a98539e4')
-
-build() {
- true
-}
-
-package_cython() {
- depends=('python')
-
- cd $srcdir/Cython-$pkgver
- python setup.py install --root=$pkgdir
-
- sed -i 's|#!.*python|#!/usr/bin/python3|' $pkgdir/usr/bin/*
-}
-
-package_cython2() {
- depends=('python2')
-
- cd $srcdir/Cython-$pkgver
- python2 setup.py install --root=$pkgdir
-
- mv $pkgdir/usr/bin/cygdb $pkgdir/usr/bin/cygdb2
- mv $pkgdir/usr/bin/cython $pkgdir/usr/bin/cython2
-}
diff --git a/community-testing/dee/PKGBUILD b/community-testing/dee/PKGBUILD
deleted file mode 100644
index 577c0efdb..000000000
--- a/community-testing/dee/PKGBUILD
+++ /dev/null
@@ -1,34 +0,0 @@
-# $Id: PKGBUILD 78040 2012-10-16 11:50:05Z allan $
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-
-pkgname=dee
-pkgver=1.0.14
-pkgrel=2
-pkgdesc="Library to provide objects allowing to create Model-View-Controller type programs across DBus"
-arch=('i686' 'x86_64')
-url="https://launchpad.net/dee"
-license=('LGPL')
-depends=('glib2' 'icu')
-makedepends=('python2' 'gobject-introspection' 'vala')
-options=('!libtool')
-source=(http://launchpad.net/$pkgname/1.0/$pkgver/+download/$pkgname-$pkgver.tar.gz)
-md5sums=('473b4181e26538af0fb753255da7945c')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
-
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
- --disable-static --disable-tests \
- PYTHON=python2
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
-
- make DESTDIR="$pkgdir/" install
-
- # Install GI overrides for python 3 as well
- install -dm755 "$pkgdir/usr/lib/python3.3/site-packages/gi/overrides"
- ln -s ../../../../python2.7/site-packages/gi/overrides/Dee.py "$pkgdir/usr/lib/python3.3/site-packages/gi/overrides/Dee.py"
-}
diff --git a/community-testing/desmume/PKGBUILD b/community-testing/desmume/PKGBUILD
deleted file mode 100644
index 2a5d0a3bf..000000000
--- a/community-testing/desmume/PKGBUILD
+++ /dev/null
@@ -1,39 +0,0 @@
-# $Id: PKGBUILD 77556 2012-10-12 07:01:24Z schuay $
-# Maintainer: Jonathan Conder <jonno dot conder at gmail dot com>
-# Maintainer: Brad Fanella <bradfanella@archlinux.us>
-# Contributor: Arkham <arkham at archlinux dot us>
-# Contributor: Nathan Jones <nathanj@insightbb.com>
-# Contributor: Javier "Phrodo_00" Aravena <phrodo.00 at gmail dot com>
-# Contributor: angvp <angvp at archlinux dot us>
-# Contributor: Allan <mcrae_allan at hotmail dot com>
-# Contributor: w0rm <w0rmtux at gmail dot com>
-# Contributor: vEX <vex at niechift dot com>
-# Contributor: Asher256 <achrafcherti at gmail dot com>
-
-pkgname=desmume
-pkgver=0.9.8
-pkgrel=3
-pkgdesc="Nintendo DS emulator"
-arch=('i686' 'x86_64')
-url="http://desmume.org/"
-license=('GPL')
-depends=('agg' 'gtkglext' 'libglade' 'desktop-file-utils' 'libpcap'
- 'soundtouch' 'alsa-lib' 'zziplib' 'glu')
-makedepends=('intltool')
-install=desmume.install
-source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
-
- ./configure --prefix=/usr --enable-wifi
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
-
- make DESTDIR="$pkgdir/" install
-}
-
-md5sums=('fb7c984c924087888b9eaaad8cb1875e')
diff --git a/community-testing/desmume/desmume.install b/community-testing/desmume/desmume.install
deleted file mode 100644
index e111ef946..000000000
--- a/community-testing/desmume/desmume.install
+++ /dev/null
@@ -1,11 +0,0 @@
-post_install() {
- update-desktop-database -q
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
diff --git a/community-testing/duplicity/PKGBUILD b/community-testing/duplicity/PKGBUILD
deleted file mode 100644
index fdfac734f..000000000
--- a/community-testing/duplicity/PKGBUILD
+++ /dev/null
@@ -1,36 +0,0 @@
-# $Id: PKGBUILD 78042 2012-10-16 11:50:16Z allan $
-# Maintainer: Kaiting Chen <kaitocracy@gmail.com>
-# Contributor: Aaron Schaefer <aaron@elasticdog.com>
-
-pkgname=duplicity
-pkgver=0.6.19
-pkgrel=2
-pkgdesc='A utility for encrypted, bandwidth-efficient backups using the rsync algorithm.'
-arch=('i686' 'x86_64')
-url='http://www.nongnu.org/duplicity/'
-license=('GPL')
-depends=('librsync' 'ncftp' 'python2' 'python2-boto' 'python2-gnupginterface' 'python2-paramiko')
-source=("http://savannah.nongnu.org/download/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig})
-md5sums=('c88122d0b651f84f3bfa42e55591c36b'
- 'df672ed47b8eb4fd8ffa99711623b6b5')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- # python2 fix
- for file in $(find . -name '*.py' -print); do
- sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file
- sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
- done
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- python2 setup.py install --root="$pkgdir" --optimize=1
-
- # fix broken documentation permissions until upstream does (FS#27301)
- chmod 644 "$pkgdir/usr/share/man/man1/$pkgname.1"
- chmod 644 "$pkgdir/usr/share/man/man1/rdiffdir.1"
- chmod 644 "$pkgdir/usr/share/doc/$pkgname-$pkgver"/*
-}
diff --git a/community-testing/duplicity/botobackend.patch b/community-testing/duplicity/botobackend.patch
deleted file mode 100644
index 302e1e2b1..000000000
--- a/community-testing/duplicity/botobackend.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-=== modified file duplicity/backends/botobackend.py
---- duplicity/backends/botobackend.py 2011-11-25 17:47:57 +0000
-+++ duplicity/backends/botobackend.py 2011-12-01 16:15:25 +0000
-@@ -26,6 +26,6 @@
- if sys.version_info[:2] < (2,6):
- print "Sorry, S3 multiprocessing requires version 2.6 or later of python"
- sys.exit(1)
-- import _boto_multi.py
-+ import _boto_multi
- else:
-- import _boto_single.py
-+ import _boto_single
-
diff --git a/community-testing/duplicity/duplicity-0.6.17-fix-memleak.patch b/community-testing/duplicity/duplicity-0.6.17-fix-memleak.patch
deleted file mode 100644
index 1c4c8daff..000000000
--- a/community-testing/duplicity/duplicity-0.6.17-fix-memleak.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-=== modified file 'duplicity/util.py'
---- duplicity/util.py 2011-08-23 18:14:17 +0000
-+++ duplicity/util.py 2012-01-20 21:50:01 +0000
-@@ -71,6 +71,10 @@
- else:
- raise
-
-+class BlackHoleList(list):
-+ def append(self, x):
-+ pass
-+
- class FakeTarFile:
- debug = 0
- def __iter__(self):
-@@ -83,7 +87,12 @@
- # yet. So we want to ignore ReadError exceptions, which are used to signal
- # this.
- try:
-- return tarfile.TarFile("arbitrary", mode, fp)
-+ tf = tarfile.TarFile("arbitrary", mode, fp)
-+ # Now we cause TarFile to not cache TarInfo objects. It would end up
-+ # consuming a lot of memory over the lifetime of our long-lasting
-+ # signature files otherwise.
-+ tf.members = BlackHoleList()
-+ return tf
- except tarfile.ReadError:
- return FakeTarFile()
-
-
diff --git a/community-testing/extremetuxracer/PKGBUILD b/community-testing/extremetuxracer/PKGBUILD
deleted file mode 100644
index 9292787b9..000000000
--- a/community-testing/extremetuxracer/PKGBUILD
+++ /dev/null
@@ -1,46 +0,0 @@
-# $Id: PKGBUILD 77580 2012-10-12 23:39:40Z ebelanger $
-# Maintainer: Ronald van Haren <ronald.archlinux.org>
-# Contributor: Eric Belanger <eric.archlinux.org>
-# Contributor: Fabio Scotoni <CCuleX.gmail.com>
-# Contributor: Alexander Rødseth <rodseth@gmail.com>
-pkgname=extremetuxracer
-pkgver=0.4
-pkgrel=4
-pkgdesc="Downhill racing game starring Tux"
-arch=('x86_64' 'i686')
-url="http://www.extremetuxracer.com"
-license=('GPL')
-depends=('gcc-libs' 'sdl_mixer' 'tcl>=8.5.0' 'libpng>=1.4.0' 'freetype2' 'glu')
-makedepends=('mesa' 'libxi' 'libxmu')
-conflicts=('ppracer' 'etracer')
-replaces=('ppracer' 'etracer')
-source=("http://downloads.sourceforge.net/extremetuxracer/extremetuxracer-$pkgver.tar.gz"
- "$pkgname.png"
- "$pkgname.desktop"
- "libpng15.patch")
-sha256sums=('5e4057f90e6854e774f251f189b0e676cfd7e2f15779c75544c9ac5b8e30273d'
- 'ec1426171fc80b07b702e373bf9528244a3b224e887ab24b52f90740691e92fb'
- '349448e8be522bbbe9fd896e875a4add7e02c35d0fafa46c5b10582562da3ca8'
- '2b693eaf421d56887615fc02d40f742e9b8bf817ae36be1f1f9e33a52719eea8')
-
-build() {
- cd "$srcdir/extremetuxracer-$pkgver"
-
- patch -Np1 -i "${srcdir}/libpng15.patch"
- sed -i -e 's/libpng12/libpng15/g' configure
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "$srcdir/extremetuxracer-$pkgver"
- make DESTDIR="$pkgdir" install
-
- # Install icon and desktop file
- install -Dm644 "$srcdir/$pkgname.desktop" \
- "$pkgdir/usr/share/applications/$pkgname.desktop"
- install -Dm644 "$srcdir/$pkgname.png" \
- "$pkgdir/usr/share/pixmaps/$pkgname.png"
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/community-testing/extremetuxracer/extremetuxracer.desktop b/community-testing/extremetuxracer/extremetuxracer.desktop
deleted file mode 100644
index 6593607b8..000000000
--- a/community-testing/extremetuxracer/extremetuxracer.desktop
+++ /dev/null
@@ -1,12 +0,0 @@
-[Desktop Entry]
-Type=Application
-Version=1.0
-Encoding=UTF-8
-Name=Extreme Tux Racer
-Comment=Open source racing game featuring Tux the Linux Penguin.
-Icon=/usr/share/pixmaps/extremetuxracer.png
-Exec=etracer
-Terminal=false
-StartupNotify=true
-Categories=Application;Game;ArcadeGame
-
diff --git a/community-testing/extremetuxracer/extremetuxracer.png b/community-testing/extremetuxracer/extremetuxracer.png
deleted file mode 100644
index 6c4aec00b..000000000
--- a/community-testing/extremetuxracer/extremetuxracer.png
+++ /dev/null
Binary files differ
diff --git a/community-testing/extremetuxracer/libpng15.patch b/community-testing/extremetuxracer/libpng15.patch
deleted file mode 100644
index 5c9999857..000000000
--- a/community-testing/extremetuxracer/libpng15.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-diff -Nur extremetuxracer-0.4.orig/src/ppgltk/images/png_reader.cpp extremetuxracer-0.4/src/ppgltk/images/png_reader.cpp
---- extremetuxracer-0.4.orig/src/ppgltk/images/png_reader.cpp 2007-09-01 19:38:12.000000000 +0300
-+++ extremetuxracer-0.4/src/ppgltk/images/png_reader.cpp 2010-01-25 03:47:21.000000000 +0200
-@@ -53,7 +53,7 @@
- if (!info_ptr)
- {
- png_destroy_read_struct(&png_ptr,
-- (png_infopp)NULL, (png_infopp)NULL);
-+ NULL, NULL);
- fclose(fp);
- return;
- }
-@@ -62,7 +62,7 @@
- if (!end_info)
- {
- png_destroy_read_struct(&png_ptr, &info_ptr,
-- (png_infopp)NULL);
-+ NULL);
- fclose(fp);
- return;
- }
-@@ -77,7 +77,7 @@
-
-
- png_get_IHDR(png_ptr, info_ptr, &width, &height,
-- &bit_depth, &color_type, &interlace_type,int_p_NULL, int_p_NULL);
-+ &bit_depth, &color_type, &interlace_type, NULL, NULL);
-
- if(bit_depth == 16)
- png_set_strip_16(png_ptr);
-@@ -88,7 +88,7 @@
- png_set_expand(png_ptr);
- png_read_update_info(png_ptr, info_ptr);
- png_get_IHDR(png_ptr, info_ptr, &width, &height,
-- &bit_depth, &color_type, &interlace_type,int_p_NULL, int_p_NULL);
-+ &bit_depth, &color_type, &interlace_type, NULL, NULL);
- }
-
- if( color_type == PNG_COLOR_TYPE_GRAY ||
-@@ -96,7 +96,7 @@
- png_set_gray_to_rgb(png_ptr);
- png_read_update_info(png_ptr, info_ptr);
- png_get_IHDR(png_ptr, info_ptr, &width, &height,
-- &bit_depth, &color_type, &interlace_type,int_p_NULL, int_p_NULL);
-+ &bit_depth, &color_type, &interlace_type, NULL, NULL);
- }
-
- this->width=width;
-@@ -114,7 +114,7 @@
- }
-
- png_read_end(png_ptr, info_ptr);
-- png_destroy_read_struct(&png_ptr, &info_ptr, png_infopp_NULL);
-+ png_destroy_read_struct(&png_ptr, &info_ptr, NULL);
- fclose(fp);
- }
-
diff --git a/community-testing/flightgear/PKGBUILD b/community-testing/flightgear/PKGBUILD
deleted file mode 100644
index 3f075f553..000000000
--- a/community-testing/flightgear/PKGBUILD
+++ /dev/null
@@ -1,40 +0,0 @@
-# $Id: PKGBUILD 77277 2012-10-08 14:22:31Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Maintainer: William Rea <sillywilly@gmail.com>
-# Contributor: Hans Janssen <hans@janserv.xs4all.nl>
-
-pkgname=flightgear
-pkgver=2.8.0
-pkgrel=2
-pkgdesc="An open-source, multi-platform flight simulator"
-arch=(i686 x86_64)
-depends=('simgear' 'libxmu' 'libxi' 'zlib' 'openscenegraph' 'subversion' 'libxrandr' 'glu')
-makedepends=('boost' 'cmake')
-license=("GPL")
-url="http://www.flightgear.org"
-options=('!makeflags')
-#source=("$pkgname-$pkgver.tar.gz::https://gitorious.org/fg/flightgear/archive-tarball/release/$pkgver")
-#source=("ftp://ftp.de.flightgear.org/pub/fgfs/Source/flightgear-$pkgver.tar.bz2")
-source=("http://mirrors.ibiblio.org/pub/mirrors/flightgear/ftp/Source/flightgear-$pkgver.tar.bz2")
-md5sums=('9499194146f414323efef8cb3451b750')
-
-build() {
- cd $srcdir/flightgear-$pkgver
- cmake \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib \
- -DFG_DATA_DIR:STRING="/usr/share/flightgear/data" .
- make
- sed -i 's|Exec=.*|Exec=fgfs --fg-root=/usr/share/flightgear/data|' package/flightgear.desktop
-}
-
-package() {
- depends=(${depends[@]} 'flightgear-data')
-
- cd $srcdir/flightgear-$pkgver
- make DESTDIR=$pkgdir install
-
- install -Dm0644 package/flightgear.desktop $pkgdir/usr/share/applications/flightgear.desktop
- install -Dm0644 package/flightgear.ico $pkgdir/usr/share/icons/flightgear.ico
- ln -sf flightgear $pkgdir/usr/share/FlightGear
-}
diff --git a/community-testing/fox/PKGBUILD b/community-testing/fox/PKGBUILD
deleted file mode 100644
index efce724b7..000000000
--- a/community-testing/fox/PKGBUILD
+++ /dev/null
@@ -1,43 +0,0 @@
-# $Id: PKGBUILD 77273 2012-10-08 13:51:06Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: Ben <ben@benmazer.net>
-
-pkgname=fox
-pkgver=1.6.46
-pkgrel=2
-pkgdesc="Free Objects for X: GUI Toolkit for C++"
-arch=('i686' 'x86_64')
-url="http://www.fox-toolkit.org/"
-license=('LGPL' 'custom')
-depends=('bzip2' 'libxcursor' 'libxft' 'libxrandr' 'mesa' 'libxi' 'libpng' 'libtiff' 'glu')
-optdepends=('perl')
-options=('!libtool')
-source=(http://ftp.fox-toolkit.org/pub/fox-$pkgver.tar.gz)
-md5sums=('da2c5cf36eff32a0c49cfcd9494fe6b7')
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- export CPPFLAGS="$CPPFLAGS -I/usr/include/freetype2"
- ./configure --prefix=/usr \
- --enable-release \
- --with-xft=yes \
- --with-opengl=yes \
- --with-xim \
- --with-xshm \
- --with-shape \
- --with-xcursor \
- --with-xrender \
- --with-xrandr \
- --with-xfixes \
- --with-xinput
- make
-}
-
-package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install
- cd ${srcdir}/${pkgname}-${pkgver}/tests
- make ControlPanel
- install -m755 ${srcdir}/${pkgname}-${pkgver}/tests/.libs/ControlPanel ${pkgdir}/usr/bin/
- install -Dm644 ../LICENSE_ADDENDUM ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
-}
diff --git a/community-testing/freemat/ChangeLog b/community-testing/freemat/ChangeLog
deleted file mode 100644
index dba4cf7ec..000000000
--- a/community-testing/freemat/ChangeLog
+++ /dev/null
@@ -1,3 +0,0 @@
-2007-06-27 tardo <tardo@nagi-fanboi.net>
-* Built for x86_64
-
diff --git a/community-testing/freemat/PKGBUILD b/community-testing/freemat/PKGBUILD
deleted file mode 100644
index 7e5702b32..000000000
--- a/community-testing/freemat/PKGBUILD
+++ /dev/null
@@ -1,46 +0,0 @@
-# $Id: PKGBUILD 77431 2012-10-10 12:16:20Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: William Rea <sillywilly@gmail.com>
-
-pkgname=freemat
-pkgver=4.1
-pkgrel=5
-pkgdesc="A free environment for rapid engineering, scientific prototyping and data processing"
-arch=('i686' 'x86_64')
-url="http://freemat.sourceforge.net"
-license=('GPL')
-depends=('qt' 'ffcall' 'fftw' 'mesa' 'portaudio' 'libffi' 'mesa' 'glu')
-makedepends=('arpack' 'lapack' 'umfpack' 'blas' 'libmatio' 'cmake' 'python2')
-install=freemat.install
-source=(http://downloads.sourceforge.net/project/freemat/FreeMat4/FreeMat-$pkgver-Source.tar.gz
- build-fix.patch)
-md5sums=('929d31e2310feaff5d380fc2f7b4d1a2'
- '2d11a28aa2a7df89c4618ed1c4be5973')
-
-build() {
- cd $srcdir/FreeMat-$pkgver-Source
-
- unset LDFLAGS
- rm -f CMakeCache.txt
- find . -type f -name '*.moc.cpp' -exec rm -f {} \;
- find . -type f -name 'add.so' -exec rm -f {} \;
- patch -p1 <$srcdir/build-fix.patch
- echo >libs/libMatC/CJitFuncClang.hpp
- echo >libs/libMatC/CJitFuncClang.cpp
-
- cmake \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DUSE_LLVM=OFF \
- -DFORCE_BUNDLED_UMFPACK=ON \
- -DFFI_INCLUDE_DIR=/usr/lib/libffi-`pacman -Q libffi | cut -f2 -d\ |cut -f1 -d-`/include/ \
- -DPYTHON_EXECUTABLE=/usr/bin/python2 \
- .
- make
-}
-package() {
- cd $srcdir/FreeMat-$pkgver-Source
-
- make DESTDIR=$pkgdir install -j1
- sed -i "s|/FreeMat-.*/|/FreeMat-$pkgver/|g" $startdir/freemat.install
- rm $pkgdir/usr/bin/blas.ini
-}
diff --git a/community-testing/freemat/build-fix.patch b/community-testing/freemat/build-fix.patch
deleted file mode 100644
index c1ea63088..000000000
--- a/community-testing/freemat/build-fix.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -wbBur FreeMat-4.1-Source/libs/libGraphics/GLRenderEngine.cpp FreeMat-4.1-Source.my/libs/libGraphics/GLRenderEngine.cpp
---- FreeMat-4.1-Source/libs/libGraphics/GLRenderEngine.cpp 2011-11-27 04:27:43.000000000 +0400
-+++ FreeMat-4.1-Source.my/libs/libGraphics/GLRenderEngine.cpp 2012-01-20 19:07:48.000000000 +0400
-@@ -20,6 +20,7 @@
- #include <qimage.h>
- #include <qpainter.h>
- #include <QtOpenGL>
-+#include <GL/glu.h>
- #include <math.h>
- #include "IEEEFP.hpp"
-
diff --git a/community-testing/freemat/freemat.install b/community-testing/freemat/freemat.install
deleted file mode 100644
index 051cca866..000000000
--- a/community-testing/freemat/freemat.install
+++ /dev/null
@@ -1,7 +0,0 @@
-post_install() {
- echo "-- Use FreeMat -i /usr/share/FreeMat-4.1/ to adjust docs location"
-}
-
-post_upgrade() {
- echo "-- Use FreeMat -i /usr/share/FreeMat-4.1/ to adjust docs location"
-}
diff --git a/community-testing/fxdesktop/PKGBUILD b/community-testing/fxdesktop/PKGBUILD
deleted file mode 100644
index f03c3025a..000000000
--- a/community-testing/fxdesktop/PKGBUILD
+++ /dev/null
@@ -1,26 +0,0 @@
-# $Id: PKGBUILD 77285 2012-10-08 14:36:38Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: Sander Jansen <sander@knology.net>
-
-pkgname=fxdesktop
-pkgver=0.1.12
-pkgrel=6
-pkgdesc="Lightweight Desktop Environment"
-arch=('i686' 'x86_64')
-url="http://code.google.com/p/fxdesktop/"
-license=('GPL')
-depends=('fox>=1.6.0')
-makedepends=('glu')
-source=(http://archlinux-stuff.googlecode.com/files/$pkgname-$pkgver.tar.bz2)
-md5sums=('9489e7369b5e052e0b6836a3b0670832')
-
-build() {
- cd $srcdir/$pkgname-$pkgver
- # Override default flags
- export CFLAGS="-Wall -O2 -pipe"
- export CXXFLAGS="-Wall -O2 -pipe"
- [ "$CARCH" = "x86_64" ] && (sed -i -e 's|lib64|lib|g' build/config.linux_x86_64)
- # Compile
- ./gb --prefix=/usr
- ./gb --package-root=$pkgdir/usr install
-}
diff --git a/community-testing/fxprocessview/PKGBUILD b/community-testing/fxprocessview/PKGBUILD
deleted file mode 100644
index 0b0bba20a..000000000
--- a/community-testing/fxprocessview/PKGBUILD
+++ /dev/null
@@ -1,33 +0,0 @@
-# $Id: PKGBUILD 77289 2012-10-08 15:03:29Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: Sander Jansen <sander@knology.net>
-
-pkgname=fxprocessview
-pkgver=0.5.0
-pkgrel=5
-pkgdesc="Process Viewer"
-arch=('i686' 'x86_64')
-license=('GPL')
-depends=('fox>=1.4.0')
-makedepends=('glu')
-url="http://code.google.com/p/fxdesktop/"
-source=(http://archlinux-stuff.googlecode.com/files/$pkgname-$pkgver.tar.gz \
- build-fix.patch)
-md5sums=('5d3cc8d7aec770997c281a743ddfda5a'
- '2d2c3d54dcd2404149955f12cccb21a5')
-
-build() {
- cd $srcdir/$pkgname-$pkgver
- # Override default flags
- export CFLAGS="-Wall -O2 -pipe"
- export CXXFLAGS="-Wall -O2 -pipe"
- # Compile
- patch -Np1 <../build-fix.patch
- ./gb
- # gb does not return valid error code
- [ -f src/fxprocessview ]
- # make sure destination exists
- mkdir -p $pkgdir/usr/bin
- # Install
- ./gb install --package-root=$pkgdir/usr
-}
diff --git a/community-testing/fxprocessview/build-fix.patch b/community-testing/fxprocessview/build-fix.patch
deleted file mode 100644
index 7c883454c..000000000
--- a/community-testing/fxprocessview/build-fix.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-diff -wbBur fxprocessview-0.5.0/src/processlist.cpp fxprocessview-0.5.0.my/src/processlist.cpp
---- fxprocessview-0.5.0/src/processlist.cpp 2005-07-15 06:39:17.000000000 +0400
-+++ fxprocessview-0.5.0.my/src/processlist.cpp 2007-03-07 19:21:34.000000000 +0300
-@@ -696,7 +696,7 @@
-
- long FXProcessList::onCmdUserMode(FXObject* sender,FXSelector,void* ){
- if (userfilter.empty()){
-- userfilter=FXFile::getCurrentUserName();
-+ userfilter=FXSystem::currentUserName();
- }
- else {
- userfilter="";
-@@ -942,12 +942,17 @@
-
-
-
-- FXint num_processes = FXFile::listFiles(dirlist,"/proc","[0123456789]*",LIST_MATCH_ALL|LIST_NO_FILES|LIST_NO_PARENT);
-+ FXint num_processes = FXDir::listFiles(dirlist,"/proc","[0123456789]*",FXDir::MatchAll | FXDir::NoFiles | FXDir::NoParent);
- task_total=num_processes;
- for (FXint i=0;i<num_processes;i++){
-
- /// Check the Owner
-- owner = FXFile::owner("/proc/" + dirlist[i]);
-+ FXStat stat;
-+ FXStat::statFile("/proc/" + dirlist[i], stat);
-+ owner = FXSystem::userName(stat.user());
-+
-+// owner = FXSystem::userName(FXStat::user("/proc/" + dirlist[i]));
-+
- if (!userfilter.empty() && (owner!=userfilter)) continue;
-
- /// Read in Process Stat
-@@ -1027,7 +1032,7 @@
- }
-
- filename = "/proc/" + dirlist[i] + "/cmdline";
-- if (FXFile::exists(filename)) {
-+ if (FXStat::exists(filename)) {
- fp = fopen(filename.text(),"r");
- if (fp) {
- if (fgets(buffer,80,fp)!=NULL){
diff --git a/community-testing/gcompris/PKGBUILD b/community-testing/gcompris/PKGBUILD
deleted file mode 100644
index ef43565a4..000000000
--- a/community-testing/gcompris/PKGBUILD
+++ /dev/null
@@ -1,36 +0,0 @@
-# $Id: PKGBUILD 78045 2012-10-16 11:50:27Z allan $
-# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
-# Contributor: Daniel Isenmann <daniel.isenmann [at] gmx.de>
-
-pkgname=gcompris
-pkgver=12.05
-pkgrel=2
-pkgdesc="Educational software suite comprising of numerous activities for children aged 2 to 10"
-arch=('i686' 'x86_64')
-url="http://gcompris.net/"
-license=('GPL3')
-depends=('pygtk' 'pyxml' 'librsvg' 'gnet' 'python2-pysqlite'
- 'gstreamer0.10-base-plugins')
-optdepends=('gnucap: for computer simulation within the electricity activity'
- 'tuxpaint: for the painting activity'
- 'gnuchess: for the chess activity')
-makedepends=('texinfo' 'texi2html' 'intltool' 'gettext' 'gnuchess')
-options=('!libtool')
-source=(http://downloads.sourceforge.net/project/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2)
-sha256sums=('a4e9b9d04fd405c4b9ddc30f84a5f521f7ad1966c5f66c3e873bb84269ef55d0')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
-
- ./configure --prefix=/usr
- make
-}
-
-package() {
- depends+=('gcompris-data')
-
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir" install-exec
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/community-testing/gl-117/PKGBUILD b/community-testing/gl-117/PKGBUILD
deleted file mode 100644
index 99d6e8a9c..000000000
--- a/community-testing/gl-117/PKGBUILD
+++ /dev/null
@@ -1,29 +0,0 @@
-# $Id: PKGBUILD 77291 2012-10-08 15:04:07Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: andrewski
-
-pkgname=gl-117
-pkgver=1.3.2
-pkgrel=6
-pkgdesc="An action flight simulator"
-arch=('i686' 'x86_64')
-url="http://www.heptargon.de/gl-117/gl-117.html"
-license=("GPL")
-depends=('freeglut' 'sdl_mixer' 'libxmu' 'libxi' 'glu')
-source=(http://downloads.sourceforge.net/project/gl-117/gl-117/GL-117%20Source/gl-117-$pkgver-src.tar.bz2
- gl-117.desktop
- gl-117.png)
-md5sums=('aad53c5531943529fd769fae4efeae02'
- 'db985c5188f1706677b12dc80b797779'
- '6975de5572084b78d3ec1a748de85164')
-
-build() {
- cd $srcdir/gl-117-$pkgver-src
- # This will link everything to these three libraries,
- # but it wouldn't work otherwise. The devs have been contacted.
- LDFLAGS="-lX11 -lXi -lXmu" ./configure --prefix=/usr
- make
- make DESTDIR=$pkgdir install
- install -D -m0644 $srcdir/gl-117.desktop $pkgdir/usr/share/applications/gl-117.desktop
- install -D -m0644 $srcdir/gl-117.png $pkgdir/usr/share/pixmaps/gl-117.png
-}
diff --git a/community-testing/gl-117/gl-117.desktop b/community-testing/gl-117/gl-117.desktop
deleted file mode 100644
index 59748fb86..000000000
--- a/community-testing/gl-117/gl-117.desktop
+++ /dev/null
@@ -1,5 +0,0 @@
-[Desktop Entry]
-Type=Application
-Name=GL-117
-Exec=gl-117
-Icon=gl-117
diff --git a/community-testing/gl-117/gl-117.png b/community-testing/gl-117/gl-117.png
deleted file mode 100644
index 8bbdba58b..000000000
--- a/community-testing/gl-117/gl-117.png
+++ /dev/null
Binary files differ
diff --git a/community-testing/gogglesmm/PKGBUILD b/community-testing/gogglesmm/PKGBUILD
deleted file mode 100644
index 6a70860cf..000000000
--- a/community-testing/gogglesmm/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# $Id: PKGBUILD 77293 2012-10-08 15:04:42Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: Sander Jansen <sander@knology.net>
-
-pkgname=gogglesmm
-pkgver=0.12.6
-pkgrel=2
-pkgdesc="Music Manager and Player"
-arch=('i686' 'x86_64')
-url="http://code.google.com/p/gogglesmm/"
-license=('GPL3')
-install=gogglesmm.install
-depends=('fox>=1.6.0' 'xine-lib>=1.0' 'sqlite>=3.4.0' 'taglib' 'dbus-core' 'curl' 'expat' 'libgcrypt')
-makedepends=('pkgconfig' 'glproto' 'dri2proto' 'glu')
-replaces=('musicmanager')
-conflicts=('musicmanager')
-source=(http://gogglesmm.googlecode.com/files/gogglesmm-$pkgver.tar.bz2)
-md5sums=('19505ee514690fe3372621685666db4c')
-
-build() {
- cd $srcdir/gogglesmm-$pkgver
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd $srcdir/gogglesmm-$pkgver
- mkdir -p $pkgdir/usr/bin
- make DESTDIR=$pkgdir install
-}
diff --git a/community-testing/gogglesmm/gogglesmm.install b/community-testing/gogglesmm/gogglesmm.install
deleted file mode 100644
index 04c026840..000000000
--- a/community-testing/gogglesmm/gogglesmm.install
+++ /dev/null
@@ -1,11 +0,0 @@
-post_install() {
- which gtk-update-icon-cache >/dev/null && gtk-update-icon-cache /usr/share/icons/hicolor
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
diff --git a/community-testing/gtk2hs-buildtools/0001-fix-for-ghc-7.6.1-changes.patch b/community-testing/gtk2hs-buildtools/0001-fix-for-ghc-7.6.1-changes.patch
deleted file mode 100644
index 1c6a7dd65..000000000
--- a/community-testing/gtk2hs-buildtools/0001-fix-for-ghc-7.6.1-changes.patch
+++ /dev/null
@@ -1,69 +0,0 @@
-From 7d94bcd36eb1d5a2feae182fcb74f9d6ca439a80 Mon Sep 17 00:00:00 2001
-From: Thomas Dziedzic <gostrc@gmail.com>
-Date: Wed, 12 Sep 2012 03:29:46 -0700
-Subject: [PATCH] fix for ghc 7.6.1 changes
-
----
- c2hs/base/general/FileOps.hs | 3 ++-
- c2hs/base/state/StateTrans.hs | 3 ++-
- c2hs/toplevel/C2HSConfig.hs | 2 +-
- 3 files changed, 5 insertions(+), 3 deletions(-)
-
-diff --git a/c2hs/base/general/FileOps.hs b/c2hs/base/general/FileOps.hs
-index 83ac70c..4914c4b 100644
---- a/c2hs/base/general/FileOps.hs
-+++ b/c2hs/base/general/FileOps.hs
-@@ -39,6 +39,7 @@ import Control.Monad (liftM)
- import System.Random (newStdGen, randomRs)
-
- import FNameOps (dirname, stripDirname, addPath)
-+import System.IO.Error (catchIOError)
-
-
- -- search for the given file in the given list of directories (EXPORTED)
-@@ -89,7 +90,7 @@ mktemp pre post =
- in do
- h <- openFile fname ReadWriteMode
- return (h, fname)
-- `catch` \_ -> createLoop (attempts - 1) rs'
-+ `catchIOError` \_ -> createLoop (attempts - 1) rs'
- --
- sixChars :: [Int] -> ([Int], String)
- sixChars is =
-diff --git a/c2hs/base/state/StateTrans.hs b/c2hs/base/state/StateTrans.hs
-index ada62f4..2ab0ad1 100644
---- a/c2hs/base/state/StateTrans.hs
-+++ b/c2hs/base/state/StateTrans.hs
-@@ -84,6 +84,7 @@ import System.IO (fixIO)
- import Data.IORef (IORef, newIORef, readIORef, writeIORef)
-
- import Errors (interr)
-+import System.IO.Error (catchIOError)
-
- infixr 1 +>=, +>
-
-@@ -337,7 +338,7 @@ fatalsHandledBy m handler =
- ioError err
- Right a -> return state
- )
-- `catch` (\err -> let
-+ `catchIOError` (\err -> let
- STB handler' = handler err
- in
- handler' bs gs)
-diff --git a/c2hs/toplevel/C2HSConfig.hs b/c2hs/toplevel/C2HSConfig.hs
-index e8deddf..af32886 100644
---- a/c2hs/toplevel/C2HSConfig.hs
-+++ b/c2hs/toplevel/C2HSConfig.hs
-@@ -46,7 +46,7 @@ import Data.Array (Array, array)
-
- import Foreign (Ptr, FunPtr)
- import Foreign (Storable(sizeOf, alignment), toBool)
--import Foreign.C (CInt)
-+import Foreign.C (CInt(..))
- import System.Info (os)
-
- -- program settings
---
-1.7.12
-
diff --git a/community-testing/guake/PKGBUILD b/community-testing/guake/PKGBUILD
deleted file mode 100644
index eda3e0c4d..000000000
--- a/community-testing/guake/PKGBUILD
+++ /dev/null
@@ -1,41 +0,0 @@
-# $Id: PKGBUILD 78050 2012-10-16 11:50:47Z allan $
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-# Contributor: Angel Velasquez <angvp@archlinux.org>
-# Contributor: Wilson Pinto Júnior (N3RD3X) <n3rd3x@linuxmail.org>
-
-pkgname=guake
-pkgver=0.4.4
-pkgrel=2
-pkgdesc='Drop-down terminal for GNOME'
-arch=('i686' 'x86_64')
-url="http://guake.org/"
-license=('GPL')
-depends=('python2-notify' 'vte' 'python2-gconf' 'python2-dbus' 'python2-xdg' 'hicolor-icon-theme' 'xdg-utils')
-makedepends=('intltool')
-options=('!libtool')
-install=$pkgname.install
-source=(http://guake.org/files/$pkgname-$pkgver.tar.gz
- guake-fix-notification.patch)
-md5sums=('532adada29b8f0bb79dc15904aa6b70c'
- '0b57227e6869dd84dd4fb0794ed0d082')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- sed -i 's|schemadir = $(sysconfdir)/gconf/schemas|schemadir = $(GCONF_SCHEMA_FILE_DIR)|' data/Makefile.in
- sed -i 's|/usr/bin/env python|/usr/bin/python2|' src/{guake{,-prefs},prefs.py}
-
- # http://guake.org/ticket/416
- patch -Np1 -i "$srcdir/guake-fix-notification.patch"
-
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
- --disable-static --disable-schemas-install \
- --with-gconf-schema-file-dir=/usr/share/gconf/schemas \
- PYTHON=python2
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
-
- make DESTDIR="$pkgdir" install
-}
diff --git a/community-testing/guake/guake-fix-notification.patch b/community-testing/guake/guake-fix-notification.patch
deleted file mode 100644
index 847dac10e..000000000
--- a/community-testing/guake/guake-fix-notification.patch
+++ /dev/null
@@ -1,42 +0,0 @@
---- a/src/guake 2011-02-09 20:00:35.000000000 +0100
-+++ b/src/guake 2012-02-25 00:55:28.513075769 +0100
-@@ -46,7 +46,10 @@
- TERMINAL_MATCH_EXPRS, TERMINAL_MATCH_TAGS, \
- ALIGN_LEFT, ALIGN_RIGHT, ALIGN_CENTER
-
--pynotify.init('Guake!')
-+popup_works = True
-+if not pynotify.init('Guake!') or pynotify.get_server_info() == None :
-+ popup_works = False
-+ print "WARNING: could not use popup notification"
-
- GNOME_FONT_PATH = '/desktop/gnome/interface/monospace_font_name'
-
-@@ -637,7 +640,12 @@
- 'Please use Guake Preferences dialog to choose another '
- 'key (The trayicon was enabled)') % label, filename)
- self.client.set_bool(KEY('/general/use_trayicon'), True)
-- notification.show()
-+ if popup_works :
-+ notification.show()
-+ else :
-+ print _('A problem happened when binding <b>%s</b> key.\n'
-+ 'Please use Guake Preferences dialog to choose another '
-+ 'key (The trayicon was enabled)') % label
-
- elif self.client.get_bool(KEY('/general/use_popup')):
- # Pop-up that shows that guake is working properly (if not
-@@ -646,7 +654,11 @@
- _('Guake!'),
- _('Guake is now running,\n'
- 'press <b>%s</b> to use it.') % label, filename)
-- notification.show()
-+ if popup_works :
-+ notification.show()
-+ else :
-+ print _('Guake is now running,\n'
-+ 'press <b>%s</b> to use it.') % label
-
- def execute_command(self, command, tab=None):
- """Execute the `command' in the `tab'. If tab is None, the
-
diff --git a/community-testing/guake/guake.install b/community-testing/guake/guake.install
deleted file mode 100644
index 8084333b1..000000000
--- a/community-testing/guake/guake.install
+++ /dev/null
@@ -1,22 +0,0 @@
-pkgname=guake
-
-post_install() {
- usr/sbin/gconfpkg --install ${pkgname}
- xdg-icon-resource forceupdate
-}
-
-pre_upgrade() {
- pre_remove $1
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- usr/sbin/gconfpkg --uninstall ${pkgname}
-}
-
-post_remove() {
- xdg-icon-resource forceupdate
-}
diff --git a/community-testing/gwibber/PKGBUILD b/community-testing/gwibber/PKGBUILD
deleted file mode 100644
index d6c663411..000000000
--- a/community-testing/gwibber/PKGBUILD
+++ /dev/null
@@ -1,31 +0,0 @@
-# $Id: PKGBUILD 78051 2012-10-16 11:50:52Z allan $
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-
-pkgname=gwibber
-pkgver=3.4.2
-pkgrel=2
-pkgdesc="Microblogging client for GNOME, which supports Twitter, Identi.ca, StatusNet, Facebook, Flickr, Digg, FriendFeed and Qaiku"
-arch=('i686' 'x86_64')
-url="http://gwibber.com/"
-license=('GPL')
-depends=('libgee' 'libnotify' 'dee>=1.0.0' 'json-glib' 'gtkspell3' 'python2-gobject' 'libwnck3' 'libwebkit3' 'libgnome-keyring>=3.3' 'python2-dbus' 'python2-httplib2' 'python2-egenix-mx-base' 'python2-oauth' 'python2-imaging' 'python2-xdg' 'dconf' 'hicolor-icon-theme' 'xdg-utils')
-makedepends=('intltool' 'vala>=0.15.0')
-options=('!libtool')
-install=$pkgname.install
-source=(http://launchpad.net/$pkgname/${pkgver%.*}/$pkgver/+download/$pkgname-$pkgver.tar.gz)
-md5sums=('0ac544f8e626547312b9d0da0b57358e')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- find . -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
-
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
- --disable-static --disable-schemas-compile --disable-unity
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
-
- make DESTDIR="$pkgdir" install
-}
diff --git a/community-testing/gwibber/gwibber.install b/community-testing/gwibber/gwibber.install
deleted file mode 100644
index d973d53f7..000000000
--- a/community-testing/gwibber/gwibber.install
+++ /dev/null
@@ -1,12 +0,0 @@
-post_install() {
- xdg-icon-resource forceupdate
- glib-compile-schemas usr/share/glib-2.0/schemas
-}
-
-post_upgrade() {
- post_install $1
-}
-
-post_remove() {
- post_install $1
-}
diff --git a/community-testing/haddock/0001-fix-incorrect-types-in-documentation-haddock.patch b/community-testing/haddock/0001-fix-incorrect-types-in-documentation-haddock.patch
deleted file mode 100644
index 2e687db21..000000000
--- a/community-testing/haddock/0001-fix-incorrect-types-in-documentation-haddock.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From c60f2ab90f6e39fdb515cc0305467e534f718a7d Mon Sep 17 00:00:00 2001
-From: Thomas Dziedzic <gostrc@gmail.com>
-Date: Tue, 11 Sep 2012 07:43:41 -0700
-Subject: [PATCH] fix incorrect types in documentation/haddock
-
----
- src/Documentation/Haddock.hs | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/src/Documentation/Haddock.hs b/src/Documentation/Haddock.hs
-index 60bb314..8fd9674 100644
---- a/src/Documentation/Haddock.hs
-+++ b/src/Documentation/Haddock.hs
-@@ -59,6 +59,7 @@ import Haddock.Types
- import Haddock.Options
- import Haddock.Utils
- import Main
-+import GHC (Ghc)
-
-
- -- | Create 'Interface' structures from a given list of Haddock command-line
-@@ -68,7 +69,7 @@ import Main
- createInterfaces
- :: [Flag] -- ^ A list of command-line flags
- -> [String] -- ^ File or module names
-- -> IO [Interface] -- ^ Resulting list of interfaces
-+ -> Ghc [Interface] -- ^ Resulting list of interfaces
- createInterfaces flags modules = do
- (_, ifaces, _) <- readPackagesAndProcessModules flags modules
- return ifaces
---
-1.7.12
-
diff --git a/community-testing/haskell-dataenc/0001-update-build-deps-for-ghc-7.6.1.patch b/community-testing/haskell-dataenc/0001-update-build-deps-for-ghc-7.6.1.patch
deleted file mode 100644
index 9f544bb27..000000000
--- a/community-testing/haskell-dataenc/0001-update-build-deps-for-ghc-7.6.1.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 961892779b5f5a2f46d6baa44c31d06c39e56470 Mon Sep 17 00:00:00 2001
-From: Thomas Dziedzic <gostrc@gmail.com>
-Date: Tue, 11 Sep 2012 05:06:59 -0700
-Subject: [PATCH] update build deps for ghc 7.6.1
-
----
- dataenc.cabal | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/dataenc.cabal b/dataenc.cabal
-index 1ad42ca..3a4f5bb 100644
---- a/dataenc.cabal
-+++ b/dataenc.cabal
-@@ -21,7 +21,7 @@ flag BuildTests
-
- library
- hs-source-dirs: src
-- build-depends: array >= 0.1.0 && < 0.5, base >= 3.0.0 && < 4.6, containers >= 0.1.0 && < 0.5
-+ build-depends: array >= 0.1.0 && < 0.5, base >= 3.0.0 && < 4.7, containers >= 0.1.0 && < 0.6
- exposed-modules:
- Codec.Binary.Base16
- Codec.Binary.Base32
---
-1.7.12
-
diff --git a/community-testing/haskell-extensible-exceptions/PKGBUILD b/community-testing/haskell-extensible-exceptions/PKGBUILD
deleted file mode 100644
index a97e33964..000000000
--- a/community-testing/haskell-extensible-exceptions/PKGBUILD
+++ /dev/null
@@ -1,39 +0,0 @@
-# $Id: PKGBUILD 77072 2012-10-04 10:49:53Z jelle $
-# Maintainer: Jelle van der Waa <jelle@vdwaa.nl>
-
-_hkgname=extensible-exceptions
-pkgname=haskell-${_hkgname}
-pkgver=0.1.1.4
-pkgrel=3
-pkgdesc="extensible exceptions for both new and old versions of GHC"
-url="http://hackage.haskell.org/package/extensible-exceptions"
-license=('custom:BSD3')
-arch=('i686' 'x86_64')
-depends=('ghc=7.6.1-1' sh)
-source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-install=$pkgname.install
-md5sums=('fa1cadd15c1c7aa362618d41c6e17d8b')
-
-build() {
- cd ${srcdir}/${_hkgname}-${pkgver}
-
- runhaskell Setup configure -O -p --enable-split-objs --enable-shared \
- --prefix=/usr --docdir=/usr/share/doc/${pkgname} \
- --libsubdir=\$compiler/site-local/\$pkgid
- runhaskell Setup build
- runhaskell Setup haddock
- runhaskell Setup register --gen-script
- runhaskell Setup unregister --gen-script
- sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-package() {
- cd ${srcdir}/${_hkgname}-${pkgver}
- install -D -m744 register.sh ${pkgdir}/usr/share/haskell/${pkgname}/register.sh
- install -m744 unregister.sh ${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh
- install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries
- ln -s /usr/share/doc/${pkgname}/html ${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}
- runhaskell Setup copy --destdir=${pkgdir}
- install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
- rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE
-}
diff --git a/community-testing/haskell-extensible-exceptions/haskell-extensible-exceptions.install b/community-testing/haskell-extensible-exceptions/haskell-extensible-exceptions.install
deleted file mode 100644
index 20c7dce30..000000000
--- a/community-testing/haskell-extensible-exceptions/haskell-extensible-exceptions.install
+++ /dev/null
@@ -1,19 +0,0 @@
-HS_DIR=usr/share/haskell/haskell-extensible-exceptions
-post_install() {
- ${HS_DIR}/register.sh
- (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
-}
-pre_upgrade() {
- ${HS_DIR}/unregister.sh
-}
-post_upgrade() {
- ${HS_DIR}/register.sh
- (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
-}
-pre_remove() {
- ${HS_DIR}/unregister.sh
-}
-post_remove() {
- (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
-}
-
diff --git a/community-testing/haskell-glib/0001-compatibility-with-ghc-7.6.1.patch b/community-testing/haskell-glib/0001-compatibility-with-ghc-7.6.1.patch
deleted file mode 100644
index 845beb2bd..000000000
--- a/community-testing/haskell-glib/0001-compatibility-with-ghc-7.6.1.patch
+++ /dev/null
@@ -1,55 +0,0 @@
-From 7e677b1c633d2b426fc956fcfa084a82ef6df861 Mon Sep 17 00:00:00 2001
-From: Thomas Dziedzic <gostrc@gmail.com>
-Date: Thu, 27 Sep 2012 04:48:10 -0700
-Subject: [PATCH] compatibility with ghc 7.6.1
-
----
- System/Glib/GObject.chs | 4 +---
- System/Glib/MainLoop.chs | 4 ++--
- 2 files changed, 3 insertions(+), 5 deletions(-)
-
-diff --git a/System/Glib/GObject.chs b/System/Glib/GObject.chs
-index 5f0fe5c..9925d2c 100644
---- a/System/Glib/GObject.chs
-+++ b/System/Glib/GObject.chs
-@@ -127,8 +127,6 @@ makeNewGObject (constr, objectUnref) generator = do
-
- {#pointer GDestroyNotify as DestroyNotify#}
-
--foreign import ccall "wrapper" mkDestroyNotifyPtr :: IO () -> IO DestroyNotify
--
- -- | This function wraps any newly created objects that derives from
- -- GInitiallyUnowned also known as objects with
- -- \"floating-references\". The object will be refSink (for glib
-@@ -225,4 +223,4 @@ isA obj gType =
- -- at this point we would normally implement the notify signal handler;
- -- I've moved this definition into the Object class of the gtk package
- -- since there's a quite a bit of machinery missing here (generated signal
---- register functions and the problem of recursive modules)
-\ No newline at end of file
-+-- register functions and the problem of recursive modules)
-diff --git a/System/Glib/MainLoop.chs b/System/Glib/MainLoop.chs
-index 72fecb6..feb4c77 100644
---- a/System/Glib/MainLoop.chs
-+++ b/System/Glib/MainLoop.chs
-@@ -71,7 +71,7 @@ import System.Glib.GObject (DestroyNotify, destroyFunPtr)
-
- {#pointer SourceFunc#}
-
--foreign import ccall "wrapper" mkSourceFunc :: IO {#type gint#} -> IO SourceFunc
-+foreign import ccall "wrapper" mkSourceFunc :: (Ptr () -> IO {#type gint#}) -> IO SourceFunc
-
- type HandlerId = {#type guint#}
-
-@@ -79,7 +79,7 @@ type HandlerId = {#type guint#}
- --
- makeCallback :: IO {#type gint#} -> IO (SourceFunc, DestroyNotify)
- makeCallback fun = do
-- funPtr <- mkSourceFunc fun
-+ funPtr <- mkSourceFunc (const fun)
- return (funPtr, destroyFunPtr)
-
- -- | Sets a function to be called at regular intervals, with the default
---
-1.7.12.1
-
diff --git a/community-testing/haskell-gtk/ghc-7.6.1.patch b/community-testing/haskell-gtk/ghc-7.6.1.patch
deleted file mode 100644
index 5e259a38f..000000000
--- a/community-testing/haskell-gtk/ghc-7.6.1.patch
+++ /dev/null
@@ -1,574 +0,0 @@
-diff -wbBur /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/Abstract/Object.chs gtk/Graphics/UI/Gtk/Abstract/Object.chs
---- /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/Abstract/Object.chs 2012-06-18 01:39:34.000000000 +0400
-+++ gtk/Graphics/UI/Gtk/Abstract/Object.chs 2012-10-02 16:30:54.000000000 +0400
-@@ -126,7 +126,8 @@
-
- {#pointer GWeakNotify#}
-
--foreign import ccall "wrapper" mkDestructor :: IO () -> IO GWeakNotify
-+foreign import ccall "wrapper" mkDestructor
-+ :: (Ptr () -> Ptr GObject -> IO ()) -> IO GWeakNotify
-
- -- | Attach a callback that will be called after the
- -- destroy hooks have been called
-@@ -134,7 +135,7 @@
- objectWeakref :: ObjectClass o => o -> IO () -> IO GWeakNotify
- objectWeakref obj uFun = do
- funPtrContainer <- newIORef nullFunPtr
-- uFunPtr <- mkDestructor $ do
-+ uFunPtr <- mkDestructor $ \_ _ -> do
- uFun
- funPtr <- readIORef funPtrContainer
- freeHaskellFunPtr funPtr
-diff -wbBur /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/Entry/Entry.chs gtk/Graphics/UI/Gtk/Entry/Entry.chs
---- /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/Entry/Entry.chs 2012-06-18 01:39:34.000000000 +0400
-+++ gtk/Graphics/UI/Gtk/Entry/Entry.chs 2012-10-02 16:27:26.000000000 +0400
-@@ -78,6 +78,10 @@
- entrySetCompletion,
- entryGetCompletion,
- #endif
-+#if GTK_CHECK_VERSION (2,18,0)
-+ entryGetBuffer,
-+ entrySetBuffer,
-+#endif
- #if GTK_CHECK_VERSION(2,20,0)
- entryGetIconWindow,
- entryGetTextWindow,
-@@ -104,6 +108,9 @@
- entryAlignment,
- entryCompletion,
- #endif
-+#if GTK_CHECK_VERSION (2,18,0)
-+ entryBuffer,
-+#endif
-
- -- * Signals
- entryActivate,
-@@ -157,6 +164,9 @@
- import Graphics.UI.Gtk.Gdk.EventM (EventM, EButton, EKey)
- import Control.Monad.Reader ( ask )
- import Control.Monad.Trans ( liftIO )
-+#if GTK_CHECK_VERSION (2,18,0)
-+import Graphics.UI.Gtk.Entry.EntryBuffer
-+#endif
- {#import Graphics.UI.Gtk.Types#}
- {#import Graphics.UI.Gtk.Signals#}
-
-@@ -429,6 +439,23 @@
- (toEntry self)
- #endif
-
-+#if GTK_CHECK_VERSION(2,18,0)
-+-- | Get the 'EntryBuffer' object which holds the text for this widget.
-+entryGetBuffer :: EntryClass self => self
-+ -> IO EntryBuffer
-+entryGetBuffer self =
-+ makeNewGObject mkEntryBuffer $
-+ {# call gtk_entry_get_buffer #}
-+ (toEntry self)
-+
-+-- | Set the 'EntryBuffer' object which holds the text for this widget.
-+entrySetBuffer :: (EntryClass self, EntryBufferClass buffer) => self
-+ -> buffer -> IO ()
-+entrySetBuffer self =
-+ {# call gtk_entry_set_buffer #}
-+ (toEntry self) . toEntryBuffer
-+#endif
-+
- #if GTK_CHECK_VERSION(2,20,0)
- -- | Returns the 'Window' which contains the entry's icon at @iconPos@. This function is useful when
- -- drawing something to the entry in an 'eventExpose' callback because it enables the callback to
-@@ -623,6 +650,15 @@
- entrySetCompletion
- #endif
-
-+#if GTK_CHECK_VERSION(2,18,0)
-+entryBuffer :: (EntryClass self, EntryBufferClass buffer) =>
-+ ReadWriteAttr self EntryBuffer buffer
-+entryBuffer = newAttr
-+ entryGetBuffer
-+ entrySetBuffer
-+#endif
-+
-+
- --------------------
- -- Signals
-
-diff -wbBur /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/Gdk/EventM.hsc gtk/Graphics/UI/Gtk/Gdk/EventM.hsc
---- /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/Gdk/EventM.hsc 2012-06-18 01:39:34.000000000 +0400
-+++ gtk/Graphics/UI/Gtk/Gdk/EventM.hsc 2012-10-02 16:27:27.000000000 +0400
-@@ -639,14 +639,16 @@
-
-
- -- | Execute an event handler and assume it handled the event unless it
---- threw a pattern match exception.
-+-- threw a pattern match exception or calls mzero (e.g. via guard).
- tryEvent :: EventM any () -> EventM any Bool
- tryEvent act = do
- ptr <- ask
- liftIO $ (runReaderT (act >> return True) ptr)
- #if __GLASGOW_HASKELL__ >= 610
- `catches` [ Handler (\ (PatternMatchFail _) -> return False)
-- , Handler (\ e -> if isUserError e && "Pattern" `isPrefixOf` ioeGetErrorString e
-+ , Handler (\ e -> if isUserError e &&
-+ ("Pattern" `isPrefixOf` ioeGetErrorString e ||
-+ "mzero" == ioeGetErrorString e)
- then return False
- else throw e) ]
- #else
-@@ -654,6 +656,8 @@
- IOException e
- | "user error (Pattern" `isPrefixOf` show e ->
- return False
-+ | "user error (mzero" `isPrefixOf` show e ->
-+ return False
- PatternMatchFail _ -> return False
- _ -> throw e)
- #endif
-diff -wbBur /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/Gdk/Pixbuf.chs gtk/Graphics/UI/Gtk/Gdk/Pixbuf.chs
---- /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/Gdk/Pixbuf.chs 2012-06-18 01:39:34.000000000 +0400
-+++ gtk/Graphics/UI/Gtk/Gdk/Pixbuf.chs 2012-10-02 16:27:28.000000000 +0400
-@@ -69,6 +69,7 @@
-
- -- * Constructors
- pixbufNew,
-+ pixbufNewFromData,
- pixbufNewFromFile,
- #if GTK_CHECK_VERSION(2,4,0)
- pixbufNewFromFileAtSize,
-@@ -402,6 +403,19 @@
- (fromBool hasAlpha) (fromIntegral bitsPerSample) (fromIntegral width)
- (fromIntegral height)
-
-+pixbufNewFromData :: Ptr CUChar -> Colorspace -> Bool -> Int -> Int -> Int -> Int -> IO Pixbuf
-+pixbufNewFromData imData cSpace hasAlpha bitsPerSample width height rowStride
-+ = wrapNewGObject mkPixbuf $
-+ {#call pixbuf_new_from_data #}
-+ imData
-+ (fromIntegral . fromEnum $ cSpace)
-+ (fromBool hasAlpha)
-+ (fromIntegral bitsPerSample)
-+ (fromIntegral width)
-+ (fromIntegral height)
-+ (fromIntegral rowStride)
-+ nullFunPtr nullPtr
-+
- -- | Create a new image from a String.
- --
- -- * Creates a new pixbuf from a string description.
-diff -wbBur /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/General/Clipboard.chs gtk/Graphics/UI/Gtk/General/Clipboard.chs
---- /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/General/Clipboard.chs 2012-06-18 01:39:34.000000000 +0400
-+++ gtk/Graphics/UI/Gtk/General/Clipboard.chs 2012-10-02 16:30:54.000000000 +0400
-@@ -260,7 +260,7 @@
- -- data succeeded.
- clipboardSetWithData self targets getFunc clearFunc = do
- gFunPtr <- mkClipboardGetFunc
-- (\_ sPtr info -> runReaderT (getFunc info) sPtr >> return ())
-+ (\_ sPtr info _ -> runReaderT (getFunc info) sPtr >> return ())
- cFunPtr <- mkClipboardClearFunc
- (\_ _ -> clearFunc)
- res <- withTargetEntries targets $ \nTargets targets ->
-@@ -282,7 +282,7 @@
- {#pointer ClipboardClearFunc#}
-
- foreign import ccall "wrapper" mkClipboardGetFunc ::
-- (Ptr Clipboard -> Ptr () -> {#type guint#} -> IO ()) -> IO ClipboardGetFunc
-+ (Ptr Clipboard -> Ptr () -> {#type guint#} -> Ptr () -> IO ()) -> IO ClipboardGetFunc
-
- foreign import ccall "wrapper" mkClipboardClearFunc ::
- (Ptr Clipboard -> Ptr () -> IO ()) -> IO ClipboardClearFunc
-@@ -313,7 +313,7 @@
- -- ignored.
- clipboardSetWithOwner self targets getFunc clearFunc owner = do
- gFunPtr <- mkClipboardGetFunc
-- (\_ sPtr info -> runReaderT (getFunc info) sPtr >> return ())
-+ (\_ sPtr info _ -> runReaderT (getFunc info) sPtr >> return ())
- cFunPtr <- mkClipboardClearFunc
- (\_ _ -> clearFunc)
- res <- withTargetEntries targets $ \nTargets targets ->
-@@ -404,7 +404,7 @@
- clipboardRequestContents self (Atom target) callback = do
- cbRef <- newIORef nullFunPtr
- cbPtr <- mkClipboardReceivedFunc
-- (\_ sPtr -> do
-+ (\_ sPtr _ -> do
- freeHaskellFunPtr =<< readIORef cbRef
- runReaderT callback sPtr
- return ())
-@@ -418,7 +418,7 @@
- {#pointer ClipboardReceivedFunc#}
-
- foreign import ccall "wrapper" mkClipboardReceivedFunc ::
-- (Ptr Clipboard -> Ptr () -> IO ()) -> IO ClipboardReceivedFunc
-+ (Ptr Clipboard -> Ptr () -> Ptr () -> IO ()) -> IO ClipboardReceivedFunc
-
- -- %hash c:7bb1 d:4ef1
- -- | Requests the contents of the clipboard as text. When the text is later
-@@ -439,7 +439,7 @@
- clipboardRequestText self callback = do
- cbRef <- newIORef nullFunPtr
- cbPtr <- mkClipboardTextReceivedFunc
-- (\_ sPtr -> do
-+ (\_ sPtr _ -> do
- freeHaskellFunPtr =<< readIORef cbRef
- mStr <- if sPtr==nullPtr then return Nothing else
- liftM Just $ peekUTFString sPtr
-@@ -453,7 +453,7 @@
- {#pointer ClipboardTextReceivedFunc#}
-
- foreign import ccall "wrapper" mkClipboardTextReceivedFunc ::
-- (Ptr Clipboard -> CString -> IO ()) -> IO ClipboardTextReceivedFunc
-+ (Ptr Clipboard -> CString -> Ptr () -> IO ()) -> IO ClipboardTextReceivedFunc
-
-
- #if GTK_CHECK_VERSION(2,6,0)
-@@ -477,7 +477,7 @@
- clipboardRequestImage self callback = do
- cbRef <- newIORef nullFunPtr
- cbPtr <- mkClipboardImageReceivedFunc
-- (\_ sPtr -> do
-+ (\_ sPtr _ -> do
- freeHaskellFunPtr =<< readIORef cbRef
- mPixbuf <- maybeNull (makeNewGObject mkPixbuf) (return sPtr)
- callback mPixbuf)
-@@ -490,7 +490,7 @@
- {#pointer ClipboardImageReceivedFunc#}
-
- foreign import ccall "wrapper" mkClipboardImageReceivedFunc ::
-- (Ptr Clipboard -> Ptr Pixbuf -> IO ()) -> IO ClipboardImageReceivedFunc
-+ (Ptr Clipboard -> Ptr Pixbuf -> Ptr () -> IO ()) -> IO ClipboardImageReceivedFunc
-
- #endif
-
-@@ -513,7 +513,7 @@
- clipboardRequestTargets self callback = do
- cbRef <- newIORef nullFunPtr
- cbPtr <- mkClipboardTargetsReceivedFunc
-- (\_ tPtr len -> do
-+ (\_ tPtr len _ -> do
- -- We must free Haskell pointer *in* the callback to avoid segfault.
- freeHaskellFunPtr =<< readIORef cbRef
- mTargets <- if tPtr==nullPtr then return Nothing else
-@@ -528,7 +528,7 @@
- {#pointer ClipboardTargetsReceivedFunc#}
-
- foreign import ccall "wrapper" mkClipboardTargetsReceivedFunc ::
-- (Ptr Clipboard -> Ptr (Ptr ()) -> {#type gint#} -> IO ()) -> IO ClipboardTargetsReceivedFunc
-+ (Ptr Clipboard -> Ptr (Ptr ()) -> {#type gint#} -> Ptr () -> IO ()) -> IO ClipboardTargetsReceivedFunc
-
- #if GTK_CHECK_VERSION(2,10,0)
- -- %hash c:5601 d:d6a6
-@@ -552,10 +552,10 @@
- clipboardRequestRichText self buffer callback = do
- cbRef <- newIORef nullFunPtr
- cbPtr <- mkClipboardRichTextReceivedFunc
-- (\_ tPtr sPtr len -> do
-+ (\_ tPtr sPtr len _ -> do
- freeHaskellFunPtr =<< readIORef cbRef
- mRes <- if sPtr==nullPtr then return Nothing else liftM Just $ do
-- str <- peekUTFStringLen (sPtr,fromIntegral len)
-+ str <- peekUTFStringLen (castPtr sPtr,fromIntegral len)
- return (Atom tPtr, str)
- callback mRes)
- writeIORef cbRef cbPtr
-@@ -568,7 +568,7 @@
- {#pointer ClipboardRichTextReceivedFunc#}
-
- foreign import ccall "wrapper" mkClipboardRichTextReceivedFunc ::
-- (Ptr Clipboard -> Ptr () -> CString -> {#type gsize#} -> IO ()) ->
-+ (Ptr Clipboard -> Ptr () -> Ptr CUChar -> {#type gsize#} -> Ptr () -> IO ()) ->
- IO ClipboardRichTextReceivedFunc
- #endif
- #endif
-diff -wbBur /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/General/General.chs gtk/Graphics/UI/Gtk/General/General.chs
---- /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/General/General.chs 2012-06-18 01:39:34.000000000 +0400
-+++ gtk/Graphics/UI/Gtk/General/General.chs 2012-10-02 16:27:28.000000000 +0400
-@@ -202,7 +202,7 @@
- -- their arguments from the main loop, that is, from the OS thread of Gtk,
- -- thereby ensuring that any Gtk and OS function can be called.
- --
--{#fun unsafe gdk_threads_enter as threadsEnter {} -> `()' #}
-+{#fun gdk_threads_enter as threadsEnter {} -> `()' #}
-
- -- | Release the global Gtk lock.
- --
-diff -wbBur /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/MenuComboToolbar/ComboBox.chs gtk/Graphics/UI/Gtk/MenuComboToolbar/ComboBox.chs
---- /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/MenuComboToolbar/ComboBox.chs 2012-06-18 01:39:34.000000000 +0400
-+++ gtk/Graphics/UI/Gtk/MenuComboToolbar/ComboBox.chs 2012-10-02 16:30:54.000000000 +0400
-@@ -493,17 +493,17 @@
- {# call gtk_combo_box_set_row_separator_func #}
- (toComboBox self) nullFunPtr nullPtr nullFunPtr
- comboBoxSetRowSeparatorSource self (Just (model, extract)) = do
-- funPtr <- mkRowSeparatorFunc $ \_ iterPtr -> do
-+ funPtr <- mkRowSeparatorFunc $ \_ iterPtr _ -> do
- iter <- peek iterPtr
- value <- customStoreGetRow model iter
-- return (extract value)
-+ return (fromBool $ extract value)
- {# call gtk_combo_box_set_row_separator_func #}
- (toComboBox self) funPtr (castFunPtrToPtr funPtr) destroyFunPtr
-
- {#pointer TreeViewRowSeparatorFunc#}
-
- foreign import ccall "wrapper" mkRowSeparatorFunc ::
-- (Ptr TreeModel -> Ptr TreeIter -> IO Bool) -> IO TreeViewRowSeparatorFunc
-+ (Ptr TreeModel -> Ptr TreeIter -> Ptr () -> IO {#type gboolean #}) -> IO TreeViewRowSeparatorFunc
-
- -- %hash c:5bf8
- -- | Sets whether the popup menu should have a tearoff menu item.
-diff -wbBur /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/MenuComboToolbar/MenuItem.chs gtk/Graphics/UI/Gtk/MenuComboToolbar/MenuItem.chs
---- /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/MenuComboToolbar/MenuItem.chs 2012-06-18 01:39:34.000000000 +0400
-+++ gtk/Graphics/UI/Gtk/MenuComboToolbar/MenuItem.chs 2012-10-02 16:27:30.000000000 +0400
-@@ -76,6 +76,12 @@
- menuItemNewWithMnemonic,
-
- -- * Methods
-+#if GTK_CHECK_VERSION(2,16,0)
-+ menuItemSetLabel,
-+ menuItemGetLabel,
-+ menuItemSetUseUnderline,
-+ menuItemGetUseUnderline,
-+#endif
- menuItemSetSubmenu,
- menuItemGetSubmenu,
- menuItemRemoveSubmenu,
-@@ -89,6 +95,10 @@
- -- * Attributes
- menuItemSubmenu,
- menuItemRightJustified,
-+#if GTK_CHECK_VERSION(2,16,0)
-+ menuItemLabel,
-+ menuItemUseUnderline,
-+#endif
-
- -- * Signals
- menuItemActivateItem,
-@@ -163,7 +173,36 @@
-
- --------------------
- -- Methods
-+#if GTK_CHECK_VERSION(2,16,0)
-+-- | Sets text on the MenuItem label
-+
-+menuItemSetLabel :: (MenuItemClass self) => self -> String -> IO ()
-+menuItemSetLabel self label =
-+ withUTFString label $ {# call gtk_menu_item_set_label #} (toMenuItem self)
-+
-+-- | Gets text on the MenuItem label
-+menuItemGetLabel :: (MenuItemClass self) => self -> IO String
-+menuItemGetLabel self =
-+ {# call gtk_menu_item_get_label #}
-+ (toMenuItem self)
-+ >>= \strPtr -> if strPtr == nullPtr
-+ then return ""
-+ else peekUTFString strPtr
-+
-+-- | If True, an underline in the text indicates the next character should be used for the mnemonic accelerator key.
-+--
-+menuItemSetUseUnderline :: (MenuItemClass self) => self -> Bool -> IO ()
-+menuItemSetUseUnderline self =
-+ {# call gtk_menu_item_set_use_underline #} (toMenuItem self) . fromBool
-
-+-- | Checks if an underline in the text indicates the next character should be used for the mnemonic accelerator key.
-+--
-+menuItemGetUseUnderline :: (MenuItemClass self) => self -> IO Bool
-+menuItemGetUseUnderline self =
-+ liftM toBool $ {# call gtk_menu_item_get_use_underline #}
-+ (toMenuItem self)
-+
-+#endif
- -- | Sets the item's submenu, or changes it.
- --
- menuItemSetSubmenu :: (MenuItemClass self, MenuClass submenu) => self -> submenu -> IO ()
-@@ -278,6 +317,22 @@
- menuItemGetRightJustified
- menuItemSetRightJustified
-
-+#if GTK_CHECK_VERSION(2,16,0)
-+-- | \'label\' property. See 'menuItemSetLabel' and 'menuItemGetLabel'
-+--
-+menuItemLabel :: MenuItemClass self => Attr self String
-+menuItemLabel = newAttr
-+ menuItemGetLabel
-+ menuItemSetLabel
-+
-+-- | \'useUnderline\' property. See 'menuItemSetUseUnderline' and
-+-- 'menuItemGetUseEUnderline'
-+--
-+menuItemUseUnderline :: MenuItemClass self => Attr self Bool
-+menuItemUseUnderline = newAttr
-+ menuItemGetUseUnderline
-+ menuItemSetUseUnderline
-+#endif
- --------------------
- -- Signals
-
-diff -wbBur /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/ModelView/CustomStore.chs gtk/Graphics/UI/Gtk/ModelView/CustomStore.chs
---- /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/ModelView/CustomStore.chs 2012-06-18 01:39:34.000000000 +0400
-+++ gtk/Graphics/UI/Gtk/ModelView/CustomStore.chs 2012-10-02 16:27:33.000000000 +0400
-@@ -239,7 +239,7 @@
- customTreeDragSourceIface = fromMaybe dummyDragSource mDragSource,
- customTreeDragDestIface = fromMaybe dummyDragDest mDragDest }
- privPtr <- newStablePtr priv
-- liftM con $ makeNewGObject (CustomStore, objectUnref) $
-+ liftM con $ wrapNewGObject (CustomStore, objectUnref) $
- gtk2hs_store_new implPtr privPtr
-
- foreign import ccall unsafe "Gtk2HsStore.h gtk2hs_store_new"
-diff -wbBur /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/ModelView/TreeModel.chs gtk/Graphics/UI/Gtk/ModelView/TreeModel.chs
---- /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/ModelView/TreeModel.chs 2012-06-18 01:39:34.000000000 +0400
-+++ gtk/Graphics/UI/Gtk/ModelView/TreeModel.chs 2012-10-02 16:30:54.000000000 +0400
-@@ -427,7 +427,7 @@
- {#pointer TreeModelForeachFunc#}
-
- foreign import ccall "wrapper" mkTreeModelForeachFunc ::
-- (Ptr () -> Ptr () -> Ptr TreeIter -> Ptr () -> IO CInt) ->
-+ (Ptr TreeModel -> Ptr NativeTreePath -> Ptr TreeIter -> Ptr () -> IO CInt) ->
- IO TreeModelForeachFunc
-
- #if GTK_CHECK_VERSION(2,2,0)
-diff -wbBur /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/ModelView/TreeModelFilter.chs gtk/Graphics/UI/Gtk/ModelView/TreeModelFilter.chs
---- /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/ModelView/TreeModelFilter.chs 2012-06-18 01:39:34.000000000 +0400
-+++ gtk/Graphics/UI/Gtk/ModelView/TreeModelFilter.chs 2012-10-02 16:30:54.000000000 +0400
-@@ -160,7 +160,7 @@
- {#pointer TreeModelFilterVisibleFunc #}
-
- foreign import ccall "wrapper" mkTreeModelFilterVisibleFunc ::
-- (Ptr TreeModelFilter -> Ptr TreeIter -> Ptr () -> IO {#type gboolean#}) ->
-+ (Ptr TreeModel -> Ptr TreeIter -> Ptr () -> IO {#type gboolean#}) ->
- IO TreeModelFilterVisibleFunc
-
- -- %hash c:a56d d:b42e
-diff -wbBur /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/ModelView/TreeSelection.chs gtk/Graphics/UI/Gtk/ModelView/TreeSelection.chs
---- /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/ModelView/TreeSelection.chs 2012-06-18 01:39:34.000000000 +0400
-+++ gtk/Graphics/UI/Gtk/ModelView/TreeSelection.chs 2012-10-02 16:30:54.000000000 +0400
-@@ -151,7 +151,7 @@
- treeSelectionSetSelectFunction :: TreeSelectionClass self => self
- -> TreeSelectionCB -> IO ()
- treeSelectionSetSelectFunction ts fun = do
-- fPtr <- mkTreeSelectionFunc (\_ _ tp _ -> do
-+ fPtr <- mkTreeSelectionFunc (\_ _ tp _ _ -> do
- path <- peekTreePath (castPtr tp)
- liftM fromBool $ fun path
- )
-@@ -168,7 +168,7 @@
- {#pointer TreeSelectionFunc#}
-
- foreign import ccall "wrapper" mkTreeSelectionFunc ::
-- (Ptr () -> Ptr () -> Ptr TreePath -> Ptr () -> IO CInt)->
-+ (Ptr TreeSelection -> Ptr TreeModel -> Ptr NativeTreePath -> {#type gint#} -> Ptr () -> IO CInt)->
- IO TreeSelectionFunc
-
- -- | Retrieve the 'TreeView' widget that this 'TreeSelection' works on.
-@@ -199,7 +199,7 @@
- -> TreeSelectionForeachCB
- -> IO ()
- treeSelectionSelectedForeach self fun = do
-- fPtr <- mkTreeSelectionForeachFunc (\_ _ iterPtr -> do
-+ fPtr <- mkTreeSelectionForeachFunc (\_ _ iterPtr _ -> do
- -- make a deep copy of the iterator. This makes it possible to store this
- -- iterator in Haskell land somewhere. The TreeModel parameter is not
- -- passed to the function due to performance reasons. But since it is
-@@ -219,7 +219,7 @@
- {#pointer TreeSelectionForeachFunc#}
-
- foreign import ccall "wrapper" mkTreeSelectionForeachFunc ::
-- (Ptr () -> Ptr () -> Ptr TreeIter -> IO ()) -> IO TreeSelectionForeachFunc
-+ (Ptr TreeModel -> Ptr NativeTreePath -> Ptr TreeIter -> Ptr () -> IO ()) -> IO TreeSelectionForeachFunc
-
- #if GTK_CHECK_VERSION(2,2,0)
- -- | Creates a list of paths of all selected rows.
-diff -wbBur /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/ModelView/TreeView.chs gtk/Graphics/UI/Gtk/ModelView/TreeView.chs
---- /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/ModelView/TreeView.chs 2012-06-18 01:39:34.000000000 +0400
-+++ gtk/Graphics/UI/Gtk/ModelView/TreeView.chs 2012-10-02 16:30:54.000000000 +0400
-@@ -582,7 +582,7 @@
- {#pointer TreeViewColumnDropFunc#}
-
- foreign import ccall "wrapper" mkTreeViewColumnDropFunc ::
-- (Ptr () -> Ptr TreeViewColumn -> Ptr TreeViewColumn -> Ptr TreeViewColumn ->
-+ (Ptr TreeView -> Ptr TreeViewColumn -> Ptr TreeViewColumn -> Ptr TreeViewColumn ->
- Ptr () -> IO {#type gboolean#}) -> IO TreeViewColumnDropFunc
-
- -- | Scroll to a coordinate.
-@@ -798,7 +798,7 @@
- {#pointer TreeViewMappingFunc#}
-
- foreign import ccall "wrapper" mkTreeViewMappingFunc ::
-- (Ptr () -> Ptr NativeTreePath -> Ptr () -> IO ()) ->
-+ (Ptr TreeView -> Ptr NativeTreePath -> Ptr () -> IO ()) ->
- IO TreeViewMappingFunc
-
- -- | Check if row is expanded.
-diff -wbBur /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/Multiline/TextBuffer.chs gtk/Graphics/UI/Gtk/Multiline/TextBuffer.chs
---- /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/Multiline/TextBuffer.chs 2012-06-18 01:39:34.000000000 +0400
-+++ gtk/Graphics/UI/Gtk/Multiline/TextBuffer.chs 2012-10-02 16:27:34.000000000 +0400
-@@ -1251,16 +1251,26 @@
-
- -- | A 'Pixbuf' is inserted into the buffer.
- --
-+-- * See note in 'bufferInsertText'.
-+--
- insertPixbuf :: TextBufferClass self => Signal self (TextIter -> Pixbuf -> IO ())
- insertPixbuf = Signal (connect_BOXED_OBJECT__NONE "insert-pixbuf" mkTextIterCopy)
-
- -- | The 'insertChildAnchor' signal is emitted to insert a 'TextChildAnchor' in a 'TextBuffer'.
- -- Insertion actually occurs in the default handler.
- --
-+-- * See note in 'bufferInsertText'.
-+--
- insertChildAnchor :: TextBufferClass self => Signal self (TextIter -> TextChildAnchor -> IO ())
- insertChildAnchor = Signal (connect_BOXED_OBJECT__NONE "insert-child-anchor" mkTextIterCopy)
-
---- | Some text was inserted.
-+-- | Some text is inserted. Insertion actually occurs in the default handler.
-+--
-+-- * The function connected to this handler may not modify the buffer since
-+-- this would invalidate the iterator. If this function replaces the
-+-- default handler, it needs to stop the emission of this signal in order
-+-- to prevent the default handler from running. If additional text should
-+-- be inserted, this can be done using the 'after' function to connect.
- --
- bufferInsertText :: TextBufferClass self => Signal self (TextIter -> String -> IO ())
- bufferInsertText = Signal $ \after obj handler ->
-diff -wbBur /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/Multiline/TextIter.chs gtk/Graphics/UI/Gtk/Multiline/TextIter.chs
---- /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/Multiline/TextIter.chs 2012-06-18 01:39:34.000000000 +0400
-+++ gtk/Graphics/UI/Gtk/Multiline/TextIter.chs 2012-10-02 16:30:54.000000000 +0400
-@@ -797,7 +797,7 @@
- {#pointer TextCharPredicate#}
-
- foreign import ccall "wrapper" mkTextCharPredicate ::
-- ({#type gunichar#} -> Ptr () -> {#type gboolean#}) -> IO TextCharPredicate
-+ ({#type gunichar#} -> Ptr () -> IO {#type gboolean#}) -> IO TextCharPredicate
-
- -- | Move 'TextIter' forward until a
- -- predicate function returns True.
-@@ -810,7 +810,7 @@
- textIterForwardFindChar :: TextIter -> (Char -> Bool) -> Maybe TextIter ->
- IO Bool
- textIterForwardFindChar ti pred limit = do
-- fPtr <- mkTextCharPredicate (\c _ -> fromBool $ pred (chr (fromIntegral c)))
-+ fPtr <- mkTextCharPredicate (\c _ -> return $ fromBool $ pred (chr (fromIntegral c)))
- res <- liftM toBool $ {#call text_iter_forward_find_char#}
- ti fPtr nullPtr (fromMaybe (TextIter nullForeignPtr) limit)
- freeHaskellFunPtr fPtr
-@@ -827,7 +827,7 @@
- textIterBackwardFindChar :: TextIter -> (Char -> Bool) -> Maybe TextIter ->
- IO Bool
- textIterBackwardFindChar ti pred limit = do
-- fPtr <- mkTextCharPredicate (\c _ -> fromBool $ pred (chr (fromIntegral c)))
-+ fPtr <- mkTextCharPredicate (\c _ -> return $ fromBool $ pred (chr (fromIntegral c)))
- res <- liftM toBool $ {#call text_iter_backward_find_char#}
- ti fPtr nullPtr (fromMaybe (TextIter nullForeignPtr) limit)
- freeHaskellFunPtr fPtr
-diff -wbBur /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/Windows/Assistant.chs gtk/Graphics/UI/Gtk/Windows/Assistant.chs
---- /home/sergej/community-my.svn/haskell-gtk/trunk/src/gtk-0.12.3.1/Graphics/UI/Gtk/Windows/Assistant.chs 2012-06-18 01:39:34.000000000 +0400
-+++ gtk/Graphics/UI/Gtk/Windows/Assistant.chs 2012-10-02 16:30:54.000000000 +0400
-@@ -274,7 +274,7 @@
- {#pointer AssistantPageFunc#}
-
- foreign import ccall "wrapper" mkAssistantPageFunc ::
-- ({#type glong#} -> Ptr () -> IO {#type glong#})
-+ ({#type gint#} -> Ptr () -> IO {#type gint#})
- -> IO AssistantPageFunc
-
- -- | Sets the page type for @page@. The page type determines the page behavior
diff --git a/community-testing/haskell-quickcheck/0001-update-code-to-support-extensible-exceptions-no-long.patch b/community-testing/haskell-quickcheck/0001-update-code-to-support-extensible-exceptions-no-long.patch
deleted file mode 100644
index a25506e67..000000000
--- a/community-testing/haskell-quickcheck/0001-update-code-to-support-extensible-exceptions-no-long.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-From 554b8dc1439b4dbb5bc9a853fc27efe7b1e111de Mon Sep 17 00:00:00 2001
-From: Thomas Dziedzic <gostrc@gmail.com>
-Date: Tue, 11 Sep 2012 03:59:50 -0700
-Subject: [PATCH] update code to support extensible exceptions no longer being
- a part of ghc >= 7.6.1
-
----
- QuickCheck.cabal | 6 +++++-
- Test/QuickCheck/Exception.hs | 6 ++++++
- 2 files changed, 11 insertions(+), 1 deletion(-)
-
-diff --git a/QuickCheck.cabal b/QuickCheck.cabal
-index 1a9126e..5afd6fb 100644
---- a/QuickCheck.cabal
-+++ b/QuickCheck.cabal
-@@ -60,9 +60,13 @@ library
- Build-depends: ghc
-
- -- We want to use extensible-exceptions even if linking against base-3.
-- if impl(ghc >= 6.9)
-+ if impl(ghc >= 6.9) && impl(ghc < 7.6)
- Build-depends: extensible-exceptions
-
-+ -- GHC >= 7.6.1 no longer provides extensible exceptions
-+ if impl(ghc >= 7.6)
-+ cpp-options: -DNEW_EXCEPTIONS
-+
- -- Modules that are always built.
- Exposed-Modules:
- Test.QuickCheck,
-diff --git a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs
-index f895351..d463195 100644
---- a/Test/QuickCheck/Exception.hs
-+++ b/Test/QuickCheck/Exception.hs
-@@ -18,6 +18,12 @@ module Test.QuickCheck.Exception where
-
- #if defined(OLD_EXCEPTIONS)
- import Control.Exception(evaluate, try, Exception(..), throw)
-+#elif defined(NEW_EXCEPTIONS)
-+import Control.Exception(evaluate, try, SomeException(SomeException), ErrorCall(..), throw
-+#if defined(GHC_INTERRUPT)
-+ , AsyncException(UserInterrupt)
-+#endif
-+ )
- #else
- import Control.Exception.Extensible(evaluate, try, SomeException(SomeException), ErrorCall(..), throw
- #if defined(GHC_INTERRUPT)
---
-1.7.12
-
diff --git a/community-testing/haskell-tar/0001-update-changed-time-code-for-ghc-7.6.1.patch b/community-testing/haskell-tar/0001-update-changed-time-code-for-ghc-7.6.1.patch
deleted file mode 100644
index b8c2264bc..000000000
--- a/community-testing/haskell-tar/0001-update-changed-time-code-for-ghc-7.6.1.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-From bd14edd6240c72baa22822338fc872e6827af680 Mon Sep 17 00:00:00 2001
-From: Thomas Dziedzic <gostrc@gmail.com>
-Date: Tue, 11 Sep 2012 06:24:09 -0700
-Subject: [PATCH] update changed time code for ghc 7.6.1
-
----
- Codec/Archive/Tar/Pack.hs | 9 +++++----
- tar.cabal | 2 +-
- 2 files changed, 6 insertions(+), 5 deletions(-)
-
-diff --git a/Codec/Archive/Tar/Pack.hs b/Codec/Archive/Tar/Pack.hs
-index 8e43091..0af6103 100644
---- a/Codec/Archive/Tar/Pack.hs
-+++ b/Codec/Archive/Tar/Pack.hs
-@@ -28,8 +28,8 @@ import qualified System.FilePath as FilePath.Native
- import System.Directory
- ( getDirectoryContents, doesDirectoryExist, getModificationTime
- , Permissions(..), getPermissions )
--import System.Time
-- ( ClockTime(..) )
-+import Data.Time.Clock.POSIX
-+ ( utcTimeToPOSIXSeconds )
- import System.IO
- ( IOMode(ReadMode), openBinaryFile, hFileSize )
- import System.IO.Unsafe (unsafeInterleaveIO)
-@@ -170,5 +170,6 @@ recurseDirectories base (dir:dirs) = unsafeInterleaveIO $ do
-
- getModTime :: FilePath -> IO EpochTime
- getModTime path = do
-- (TOD s _) <- getModificationTime path
-- return $! fromIntegral s
-+ utcTime <- getModificationTime path
-+ let s = truncate . utcTimeToPOSIXSeconds $ utcTime
-+ return $! s
-diff --git a/tar.cabal b/tar.cabal
-index e748b07..d85b0da 100644
---- a/tar.cabal
-+++ b/tar.cabal
-@@ -25,7 +25,7 @@ source-repository head
-
- library
- build-depends: base >= 3 && < 5, filepath,
-- directory, old-time, bytestring
-+ directory, bytestring, time
-
- exposed-modules:
- Codec.Archive.Tar
---
-1.7.12
-
diff --git a/community-testing/ibus/PKGBUILD b/community-testing/ibus/PKGBUILD
deleted file mode 100644
index 63dd39df2..000000000
--- a/community-testing/ibus/PKGBUILD
+++ /dev/null
@@ -1,40 +0,0 @@
-# $Id: PKGBUILD 78054 2012-10-16 11:51:03Z allan $
-# Contributor: Rainy <rainylau(at)gmail(dot)com>
-# Contributor: Lee.MaRS <leemars at gmail dot com>
-# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
-# Maintainer: Brad Fanella <bradfanella@archlinux.us>
-
-pkgname=ibus
-pkgver=1.4.2
-pkgrel=2
-pkgdesc="Next Generation Input Bus for Linux"
-arch=('i686' 'x86_64')
-url="http://ibus.googlecode.com"
-license=('LGPL')
-depends=('python2-dbus' 'gconf' 'dconf' 'python2-xdg' \
- 'iso-codes' 'librsvg' 'python2-notify' 'hicolor-icon-theme')
-makedepends=('intltool' 'gobject-introspection')
-optdepends=('notification-daemon')
-options=('!libtool')
-install=ibus.install
-source=(http://ibus.googlecode.com/files/${pkgname}-${pkgver}.tar.gz)
-sha1sums=('a2d11d8bb64761691df918e9e50f0b35c711760d')
-
-build() {
- cd ${pkgname}-${pkgver}
- export PYTHON=python2
- ./configure \
- --prefix=/usr \
- --libexecdir=/usr/lib/ibus \
- --sysconfdir=/etc \
- --with-gconf-schema-file-dir=/usr/share/gconf/schemas \
- --enable-gtk3
- make
-}
-
-package() {
- cd ${pkgname}-${pkgver}
- make DESTDIR="${pkgdir}" install
- install -d "${pkgdir}/etc/xdg/autostart"
- ln -s /usr/share/applications/ibus.desktop "${pkgdir}/etc/xdg/autostart/ibus.desktop"
-}
diff --git a/community-testing/ibus/ibus.install b/community-testing/ibus/ibus.install
deleted file mode 100644
index f44e3be1d..000000000
--- a/community-testing/ibus/ibus.install
+++ /dev/null
@@ -1,29 +0,0 @@
-post_install() {
- gtk-query-immodules-2.0 > etc/gtk-2.0/gtk.immodules
-
- gconfpkg --install ibus
- gtk-update-icon-cache -fq -t usr/share/icons/hicolor
-
- # update for gkt3
- gtk-query-immodules-3.0 --update-cache
-}
-
-pre_upgrade() {
- pre_remove $1
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- gconfpkg --uninstall ibus
-}
-
-post_remove() {
- gtk-query-immodules-2.0 > etc/gtk-2.0/gtk.immodules
- gtk-update-icon-cache -fq -t usr/share/icons/hicolor
-
- # update for gkt3
- gtk-query-immodules-3.0 --update-cache
-}
diff --git a/community-testing/kdenlive/PKGBUILD b/community-testing/kdenlive/PKGBUILD
deleted file mode 100644
index 4e2c23a93..000000000
--- a/community-testing/kdenlive/PKGBUILD
+++ /dev/null
@@ -1,42 +0,0 @@
-# $Id: PKGBUILD 77295 2012-10-08 15:05:15Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: Zuf <kontakt.zuf@gmail.com>
-# Contributor: Darwin Bautista <djclue917@gmail.com>
-
-pkgname=kdenlive
-pkgver=0.9.2
-pkgrel=4
-pkgdesc="A non-linear video editor for Linux"
-arch=('i686' 'x86_64')
-# http://download.kde.org/stable/kdenlive/
-url="http://www.kdenlive.org/"
-license=('GPL')
-depends=('kdebase-runtime' 'mlt' 'dvgrab' 'qjson' 'qimageblitz'
- 'libqzeitgeist')
-makedepends=('automoc4' 'cmake' 'gettext' 'mesa' 'glu')
-optdepends=('recordmydesktop'
- 'dvdauthor'
- 'mkisolinux'
- 'xine-ui')
-install=kdenlive.install
-options=('docs')
-source=(http://download.kde.org/stable/kdenlive/$pkgver/src/kdenlive-$pkgver.tar.bz2)
-md5sums=('40f108f26e2c2e08807a1c183d8764ec')
-
-build() {
- export LDFLAGS="$LDFLAGS -lX11"
- cd "${srcdir}"
- mkdir -p build
- cd build
- cmake ../kdenlive-${pkgver} \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_INSTALL_DIR=/usr/lib \
- -DLINK_LIBRARIES=-lX11
- make
-}
-
-package() {
- cd "${srcdir}"/build
- make DESTDIR="${pkgdir}" install
-}
diff --git a/community-testing/kdenlive/kdenlive.install b/community-testing/kdenlive/kdenlive.install
deleted file mode 100644
index a3489ee9d..000000000
--- a/community-testing/kdenlive/kdenlive.install
+++ /dev/null
@@ -1,12 +0,0 @@
-post_install() {
- update-mime-database usr/share/mime &> /dev/null
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
diff --git a/community-testing/ktoblzcheck/PKGBUILD b/community-testing/ktoblzcheck/PKGBUILD
deleted file mode 100644
index da749e7bd..000000000
--- a/community-testing/ktoblzcheck/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# $Id: PKGBUILD 78059 2012-10-16 11:51:20Z allan $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: Philipp Sandhaus <philipp.sandhaus@gmx.de>
-
-pkgname=ktoblzcheck
-pkgver=1.39
-pkgrel=3
-pkgdesc="A library to check account numbers and bank codes of German banks"
-arch=(i686 x86_64)
-url="http://ktoblzcheck.sourceforge.net"
-options=('!libtool')
-license=("LGPL")
-depends=('gcc-libs' 'python')
-optdepends=('perl')
-source=(http://downloads.sourceforge.net/sourceforge/ktoblzcheck/ktoblzcheck-$pkgver.tar.gz
- ktoblzcheck-python3.patch)
-md5sums=('ef5efd6e2c31aaf6405060ec477c200c'
- 'a81a697bb3aaeffb7fac0ad7d9166e3f')
-
-build() {
- cd "$srcdir/ktoblzcheck-$pkgver"
- ./configure --prefix=/usr
- patch -p1 <$srcdir/ktoblzcheck-python3.patch
- make
-}
-
-package() {
- cd "$srcdir/ktoblzcheck-$pkgver"
- make DESTDIR="$pkgdir" install
-}
diff --git a/community-testing/ktoblzcheck/ktoblzcheck-python3.patch b/community-testing/ktoblzcheck/ktoblzcheck-python3.patch
deleted file mode 100644
index 5bfc53275..000000000
--- a/community-testing/ktoblzcheck/ktoblzcheck-python3.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-diff -ur ktoblzcheck-1.28/src/python/ktoblzcheck.py ktoblzcheck-1.28.my/src/python/ktoblzcheck.py
---- ktoblzcheck-1.28/src/python/ktoblzcheck.py 2008-08-12 16:48:54.000000000 +0000
-+++ ktoblzcheck-1.28.my/src/python/ktoblzcheck.py 2010-09-20 09:08:36.000000000 +0000
-@@ -197,35 +197,35 @@
-
- def test():
- a = AccountNumberCheck()
-- print 'Number of Banks:', a.bankCount
-- print 'find 20010020:', a.findBank('20010020')
-- print 'find 20010033:', a.findBank('20010033')
-- print 'check 20070024/9291394:', a.check('20070024','9291394')
-- print 'check 20070024/9291394:', a.check('20070024','9291394023')
-- print
-+ print('Number of Banks:', a.bankCount)
-+ print('find 20010020:', a.findBank('20010020'))
-+ print('find 20010033:', a.findBank('20010033'))
-+ print('check 20070024/9291394:', a.check('20070024','9291394'))
-+ print('check 20070024/9291394:', a.check('20070024','9291394023'))
-+ print()
- ck = IbanCheck()
- if not kto.IbanCheck_selftest(ck): # not publicly defined
-- print "Self-Test failed!"
-+ print("Self-Test failed!")
- raise SystemExit
- s = " iban fr14 2004 1010 0505 0001 3m02 606"
-- print "test for iban :", s
-+ print("test for iban :", s)
- iban = Iban(s)
-- print "transmission form:", iban.transmissionForm()
-+ print("transmission form:", iban.transmissionForm())
- res = ck.check(iban)
-- print "check result :", res, "("+IbanCheck.resultText(res)+")"
-- print "printable form :", iban.printableForm()
-- print
-- print "expect bad checksum:"
-+ print("check result :", res, "("+IbanCheck.resultText(res)+")")
-+ print("printable form :", iban.printableForm())
-+ print()
-+ print("expect bad checksum:")
- s = "FR1420041010050500013X02606"
- res = ck.check(s)
-- print s + ":", res, "("+IbanCheck.resultText(res)+")"
-- print
-+ print(s + ":", res, "("+IbanCheck.resultText(res)+")")
-+ print()
- s = "IBAN DE66 2007 0024 0929 1394 00"
-- print s
-+ print(s)
- s = Iban(s).transmissionForm()
- start, end = ck.bic_position(s)
-- print "prefix, checksum, BIC, account:"
-- print ', '.join((s[:2], s[2:4], s[start:end], s[end:].lstrip('0')))
-+ print("prefix, checksum, BIC, account:")
-+ print(', '.join((s[:2], s[2:4], s[start:end], s[end:].lstrip('0'))))
-
-
- if __name__ == '__main__':
diff --git a/community-testing/libnetfilter_cthelper/PKGBUILD b/community-testing/libnetfilter_cthelper/PKGBUILD
deleted file mode 100644
index 3a051836e..000000000
--- a/community-testing/libnetfilter_cthelper/PKGBUILD
+++ /dev/null
@@ -1,26 +0,0 @@
-# $Id: PKGBUILD 77374 2012-10-09 09:35:39Z seblu $
-# Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org>
-
-pkgname=libnetfilter_cthelper
-pkgver=1.0.0
-pkgrel=1
-pkgdesc='Library for the connection tracking helper infrastructure'
-arch=('i686' 'x86_64')
-url='http://www.netfilter.org/projects/libnetfilter_cthelper/'
-license=('GPL2')
-depends=('libmnl')
-options=('!libtool')
-source=("http://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2")
-md5sums=('b2efab1a3a198a5add448960ba011acd')
-
-build() {
- cd $pkgname-$pkgver
- ./configure --prefix=/usr
-}
-
-package() {
- cd $pkgname-$pkgver
- make DESTDIR="$pkgdir" install
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/community-testing/luxrays/PKGBUILD b/community-testing/luxrays/PKGBUILD
deleted file mode 100644
index 6bc26c17c..000000000
--- a/community-testing/luxrays/PKGBUILD
+++ /dev/null
@@ -1,37 +0,0 @@
-# $Id: PKGBUILD 78154 2012-10-16 13:53:31Z allan $
-# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
-pkgname=luxrays
-pkgver=1.1
-_pkgver=589aa5dac899
-pkgrel=1
-epoch=0
-pkgdesc="Accelerate the ray intersection process by using GPUs"
-arch=('i686' 'x86_64')
-url="http://www.luxrender.net/"
-license=('GPL')
-depends=('freeimage' 'freeglut' 'glew' 'libcl')
-makedepends=('cmake' 'boost' 'opencl-headers')
-source=(https://bitbucket.org/luxrender/luxrays/get/$_pkgver.tar.bz2)
-md5sums=('7513d71148fa14bc1779b816816580b9')
-
-build() {
- cd "$srcdir/luxrender-$pkgname-$_pkgver"
-
- export CXXFLAGS="$CXXFLAGS -lpthread"
- cmake -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_SKIP_RPATH=ON \
- -DLUXRAYS_DISABLE_OPENCL=OFF \
- .
- make
-}
-
-package() {
- cd "$srcdir/luxrender-$pkgname-$_pkgver"
-
- install -d -m755 "$pkgdir"/usr/{bin,include,lib}
- install -m755 bin/* "$pkgdir"/usr/bin
- install -m644 lib/* "$pkgdir"/usr/lib
- cp -a include/luxrays "$pkgdir"/usr/include
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/community-testing/luxrender/PKGBUILD b/community-testing/luxrender/PKGBUILD
deleted file mode 100644
index 01680e4f8..000000000
--- a/community-testing/luxrender/PKGBUILD
+++ /dev/null
@@ -1,50 +0,0 @@
-# $Id: PKGBUILD 78061 2012-10-16 11:51:31Z allan $
-# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
-# Initial contributor: flixie <69one@gmx.net>
-# Contributor: Imanol Celaya <ornitorrincos@archlinux-es.org>
-pkgname=luxrender
-pkgver=1.1
-_pkgver=4b4289cda943
-pkgrel=1
-pkgdesc="Rendering system for physically correct, unbiased image synthesis"
-arch=('i686' 'x86_64')
-url="http://www.luxrender.net/"
-license=('GPL')
-depends=('boost-libs' 'freeimage' 'openexr' 'libcl')
-optdepends=('luxblend25: Blender exporter' 'qt: Qt GUI' \
- 'python: Python interface (pylux)'
- 'nvidia-utils: OpenCL support for nVidia GPUs' \
- 'amdstream: OpenCL support for AMD GPUs' \
- 'intel-opencl-sdk: OpenCL support for Intel CPUs')
-makedepends=('cmake' 'boost' 'qt' "luxrays=$pkgver" 'python' 'opencl-headers')
-source=(https://bitbucket.org/luxrender/lux/get/$_pkgver.tar.bz2)
-md5sums=('accca65afdc4cc38db49a6e54f20e0f2')
-
-build() {
- cd "$srcdir"/luxrender-lux-$_pkgver
-
- # fix the installation
- sed -i '/.*wxgui.*/ d' CMakeLists.txt
-
- export CXXFLAGS="$CXXFLAGS -lpthread"
- cmake -DCMAKE_INSTALL_PREFIX=/usr \
- -DLUXRAYS_DISABLE_OPENCL=OFF \
- -DPYTHON_CUSTOM=ON \
- -DPYTHON_LIBRARIES=/usr/lib/libpython3.3m.so \
- -DPYTHON_INCLUDE_PATH=/usr/include/python3.3m/ \
- .
- make
-}
-
-package() {
- cd "$srcdir"/luxrender-lux-$_pkgver
- make DESTDIR="$pkgdir" install
-
- # fix library path on x86_64
- [ "$CARCH" = "x86_64" ] && mv "$pkgdir"/usr/lib64 "$pkgdir"/usr/lib
-
- #install pylux
- install -D -m644 pylux.so "$pkgdir"/usr/lib/python3.3/pylux.so
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/community-testing/mezogis/ChangeLog b/community-testing/mezogis/ChangeLog
deleted file mode 100644
index dba4cf7ec..000000000
--- a/community-testing/mezogis/ChangeLog
+++ /dev/null
@@ -1,3 +0,0 @@
-2007-06-27 tardo <tardo@nagi-fanboi.net>
-* Built for x86_64
-
diff --git a/community-testing/mezogis/PKGBUILD b/community-testing/mezogis/PKGBUILD
deleted file mode 100644
index 4e0f09c6c..000000000
--- a/community-testing/mezogis/PKGBUILD
+++ /dev/null
@@ -1,26 +0,0 @@
-# $Id: PKGBUILD 78132 2012-10-16 12:09:28Z allan $
-# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
-# Contributor: William Rea <sillywilly@gmail.com>
-
-pkgname=mezogis
-pkgver=0.1.5
-pkgrel=6
-pkgdesc="A GIS application to query and analyse spatial data"
-arch=('i686' 'x86_64')
-url="http://www.mezogis.org"
-license=('GPL')
-depends=('pygtk' 'python2-geotypes' 'postgis')
-source=("http://www.mezogis.org/files/mezogis-$pkgver.tar.gz")
-md5sums=('1f886b849109a1a1bd3e165353b82368')
-
-package() {
- cd $srcdir/mezogis-$pkgver
-
- # python2 fix
- for file in $(find . -name '*.py' -print); do
- sed -i 's_#!.*/usr/bin/python_#!/usr/bin/python2_' $file
- sed -i 's_#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
- done
-
- python2 setup.py install --root=$pkgdir
-}
diff --git a/community-testing/neatx/PKGBUILD b/community-testing/neatx/PKGBUILD
deleted file mode 100644
index 3146452f5..000000000
--- a/community-testing/neatx/PKGBUILD
+++ /dev/null
@@ -1,39 +0,0 @@
-# $Id: PKGBUILD 78062 2012-10-16 11:51:38Z allan $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: Nicolas Doualot <packages@slubman.info>
-
-pkgname=neatx
-pkgver=0.3.1
-pkgrel=13
-pkgdesc="A free NX server by google"
-arch=('i686' 'x86_64')
-url="http://code.google.com/p/neatx/"
-license=('GPL')
-depends=('nxserver' 'python2-pexpect' 'python2-simplejson' 'netcat' 'pygtk')
-makedepends=('docutils')
-optdepends=('xorg-xdm: if you want to use KDE or GNOME session'
- 'xorg-fonts-misc: to use default font'
- 'xterm: if you want console session')
-install=neatx.install
-source=(http://neatx.googlecode.com/files/$pkgname-$pkgver.tar.gz
- constants.archlinux.patch)
-md5sums=('5748656738d5f04fef1af01b9fe5ef20'
- 'a5ca4aa399cc25fa8435280e8b03c5a3')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- patch -i "$srcdir/constants.archlinux.patch" -p2
-
- ./configure --prefix=/usr --localstatedir=/var RST2HTML=/usr/bin/rst2html2
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
-
- make DESTDIR="$pkgdir/" install
- chmod 777 "$pkgdir/var/lib/neatx/sessions"
-
- install -d -m755 ${pkgdir}/etc/ld.so.conf.d/
- echo -e '/usr/lib\n/opt/NX/lib' > ${pkgdir}/etc/ld.so.conf.d/neatx.conf
-}
diff --git a/community-testing/neatx/constants.archlinux.patch b/community-testing/neatx/constants.archlinux.patch
deleted file mode 100644
index dff5e2415..000000000
--- a/community-testing/neatx/constants.archlinux.patch
+++ /dev/null
@@ -1,42 +0,0 @@
---- a/neatx-0.3.1/lib/constants.py 2009-06-24 21:19:55.000000000 +0200
-+++ b/neatx-0.3.1/lib/constants.py 2009-07-08 10:50:30.000000000 +0200
-@@ -25,19 +25,19 @@
- from neatx import _autoconf
-
-
--NXDIR = "/usr/lib/nx"
-+NXDIR = "/opt/NX/bin"
-
- SYSLOG_ADDRESS = "/dev/log"
- BASH = "/bin/bash"
--NETCAT = "/bin/netcat"
-+NETCAT = "/usr/bin/netcat"
- XRDB = "/usr/bin/xrdb"
- SU = "/bin/su"
- SSH = "/usr/bin/ssh"
- XAUTH = "/usr/bin/xauth"
--XSESSION = "/etc/X11/Xsession"
-+XSESSION = "/etc/X11/xdm/Xsession"
-
- START_CONSOLE_COMMAND = "/usr/bin/xterm"
--START_KDE_COMMAND = XSESSION + " startkde"
-+START_KDE_COMMAND = " startkde"
- START_GNOME_COMMAND = XSESSION + " gnome-session"
-
- NXUSER = "nx"
-@@ -47,12 +47,13 @@
- NXNC = _autoconf.PKGLIBDIR + "/nxnc"
- NXDIALOG = _autoconf.PKGLIBDIR + "/nxdialog"
- NXAGENT = NXDIR + "/nxagent"
--NXAGENT_PKGNAME = "nxagent"
-+#NXAGENT_PKGNAME = "nxagent"
-+NXAGENT_PKGNAME = "nxserver"
- FDCOPY = _autoconf.PKGLIBDIR + "/fdcopy"
- TTYSETUP = _autoconf.PKGLIBDIR + "/ttysetup"
-
- # Extract nxagent version using the following command.
--NXAGENT_VERSION_COMMAND = ("dpkg-query -W --showformat='${Version}' %s" %
-+NXAGENT_VERSION_COMMAND = ("pacman -Qi %s | grep Version | awk '{print $3}'" %
- NXAGENT_PKGNAME)
- NXAGENT_VERSION_SEP = ".-~"
-
diff --git a/community-testing/neatx/neatx.install b/community-testing/neatx/neatx.install
deleted file mode 100644
index 89356878c..000000000
--- a/community-testing/neatx/neatx.install
+++ /dev/null
@@ -1,18 +0,0 @@
-post_install() {
- useradd -d /opt/NX/home/nx -s /usr/lib/neatx/nxserver-login-wrapper nx &> /dev/null
- mkdir -p ~nx/.ssh
- cp /usr/share/neatx/authorized_keys.nomachine ~nx/.ssh/authorized_keys
- chmod 600 ~nx/.ssh/authorized_keys
- chown -R nx ~nx
- post_remove
-}
-
-pre_remove() {
- userdel nx > /dev/null 2>&1
- rm -rf ~nx
-}
-
-post_remove() {
- sed -e '/\/opt\/NX\/lib/d' -i etc/ld.so.conf
- ldconfig
-}
diff --git a/community-testing/nestopia/ChangeLog b/community-testing/nestopia/ChangeLog
deleted file mode 100644
index 5077d00b2..000000000
--- a/community-testing/nestopia/ChangeLog
+++ /dev/null
@@ -1,12 +0,0 @@
-2008-12-16 Tiago Pierezan Camargo <tcamargo@gmail.com>
-
- * PKGBUILD: Minor corrections.
-
-2008-12-04 Tiago Pierezan Camargo <tcamargo@gmail.com>
-
- * PKGBUILD (source): Package adopted.
- Variable/version cleanup.
- Patch to remove bogus error messages on program exit.
- New dependency: mesa.
- Renamed executable to nestopia.
-
diff --git a/community-testing/nestopia/PKGBUILD b/community-testing/nestopia/PKGBUILD
deleted file mode 100644
index 7ef2d4b96..000000000
--- a/community-testing/nestopia/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# $Id: PKGBUILD 77297 2012-10-08 15:06:02Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: Tiago Pierezan Camargo <tcamargo@gmail.com>
-# Contributor: robb_force <robb_force@holybuffalo.net>
-
-pkgname=nestopia
-pkgver=1.42
-pkgrel=3
-pkgdesc='An NES emulator featuring cycle exact emulation, a ridiculous number of mappers, and lots of custom sound chips.'
-url='http://0ldsk00l.ca/nestopia.html'
-license=('GPL')
-arch=('i686' 'x86_64')
-depends=('sdl' 'alsa-lib' 'gtk3' 'mesa' 'glu')
-makedepends=('unzip')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/rdanbrook/nestopia/tarball/$pkgver"
- "build-fix.patch")
-md5sums=('ce7ffba59f19c764f08546e015777172'
- '49dc5a51243a023b47f25ff3d6aabd89')
-
-build() {
- cd ${srcdir}/rdanbrook-nestopia-*
- patch -p1 <$srcdir/build-fix.patch
- make PREFIX=/usr -j1
-}
-
-package() {
- cd ${srcdir}/rdanbrook-nestopia-*
- mkdir -p $pkgdir/usr/{bin,share/nestopia}
- make install PREFIX=$pkgdir/usr
-}
diff --git a/community-testing/nestopia/build-fix.patch b/community-testing/nestopia/build-fix.patch
deleted file mode 100644
index 7b8609f8d..000000000
--- a/community-testing/nestopia/build-fix.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff -wbBur rdanbrook-nestopia-53aa38a/Makefile rdanbrook-nestopia-53aa38a.my/Makefile
---- rdanbrook-nestopia-53aa38a/Makefile 2012-09-26 04:21:32.000000000 +0400
-+++ rdanbrook-nestopia-53aa38a.my/Makefile 2012-10-01 21:12:08.000000000 +0400
-@@ -186,12 +186,12 @@
- install -m 0644 NstDatabase.xml $(DATADIR)
- install -m 0644 source/linux/icons/*.png $(DATADIR)/icons
- install -m 0644 source/linux/icons/*.svg $(DATADIR)/icons
-- install -m 0644 source/linux/icons/nestopia.svg /usr/share/pixmaps
-- xdg-desktop-menu install --novendor $(DATADIR)/nestopia.desktop
-+ install -Dm0644 source/linux/icons/nestopia.svg $(PREFIX)/share/pixmaps/nestopia.svg
-+ install -Dm0644 $(DATADIR)/nestopia.desktop $(PREFIX)/share/applications/nestopia.desktop
-
- uninstall:
- xdg-desktop-menu uninstall $(DATADIR)/nestopia.desktop
-- rm /usr/share/pixmaps/nestopia.svg
-+ rm $(PREFIX)/share/pixmaps/nestopia.svg
- rm $(BINDIR)/$(EXE)
- rm -rf $(DATADIR)
-
diff --git a/community-testing/onboard/PKGBUILD b/community-testing/onboard/PKGBUILD
deleted file mode 100644
index 0b4510956..000000000
--- a/community-testing/onboard/PKGBUILD
+++ /dev/null
@@ -1,27 +0,0 @@
-# $Id: PKGBUILD 78064 2012-10-16 11:51:46Z allan $
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-
-pkgname=onboard
-pkgver=0.98.1
-pkgrel=1
-pkgdesc="On-screen keyboard useful on tablet PCs or for mobility impaired users"
-arch=('i686' 'x86_64')
-url="https://launchpad.net/onboard"
-license=('GPL')
-depends=('python-dbus' 'python-gobject' 'gtk3' 'python-virtkey' 'librsvg' 'gsettings-desktop-schemas' 'desktop-file-utils' 'dconf' 'hicolor-icon-theme' 'xdg-utils')
-makedepends=('python-distutils-extra')
-optdepends=('at-spi2-atk: auto-show when editing text'
- 'mousetweaks: hover click with mouse')
-options=('!emptydirs')
-install=$pkgname.install
-source=(http://launchpad.net/$pkgname/${pkgver%.*}/$pkgver/+download/$pkgname-$pkgver.tar.gz)
-md5sums=('107e031b429329b71deb67c9b90195d6')
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
-
- # Do not set getpreferredencoding, because it breaks getstatusoutput() in the setup script
- sed -i '/getpreferredencoding =/ d' setup.py
-
- python3 setup.py install --root=$pkgdir/ --optimize=1
-}
diff --git a/community-testing/onboard/onboard.install b/community-testing/onboard/onboard.install
deleted file mode 100644
index aa4c3e059..000000000
--- a/community-testing/onboard/onboard.install
+++ /dev/null
@@ -1,13 +0,0 @@
-post_install() {
- glib-compile-schemas usr/share/glib-2.0/schemas
- update-desktop-database -q
- xdg-icon-resource forceupdate
-}
-
-post_upgrade() {
- post_install $1
-}
-
-post_remove() {
- post_install $1
-}
diff --git a/community-testing/prboom/PKGBUILD b/community-testing/prboom/PKGBUILD
deleted file mode 100644
index 7a6f8086d..000000000
--- a/community-testing/prboom/PKGBUILD
+++ /dev/null
@@ -1,34 +0,0 @@
-# $Id: PKGBUILD 77584 2012-10-13 02:06:46Z ebelanger $
-# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
-# Contributor: Thayer Williams <thayer@archlinux.org>
-# Contributor: dale <dale@archlinux.org>
-
-pkgname=prboom
-pkgver=2.5.0
-pkgrel=7
-pkgdesc='A game engine which provides a program to play Doom levels.'
-url='http://prboom.sourceforge.net/'
-license=('GPL2')
-arch=('i686' 'x86_64')
-depends=('libpng' 'sdl_mixer' 'sdl_net' 'glu')
-makedepends=('mesa')
-source=("http://downloads.sourceforge.net/prboom/${pkgname}-${pkgver}.tar.gz"
- 'libpng-1.4.patch')
-md5sums=('a8a15f61fa2626ab98051ab2703378c4'
- 'ba53474db8e747035ca2320a445e4ae0')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- patch -p1 < ../libpng-1.4.patch
-
- ./configure --prefix=/usr --disable-i386-asm
- sed -i "s|/games|/bin|g" "${srcdir}/${pkgname}-${pkgver}/src/Makefile"
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-}
-
diff --git a/community-testing/prboom/libpng-1.4.patch b/community-testing/prboom/libpng-1.4.patch
deleted file mode 100644
index a2215e37b..000000000
--- a/community-testing/prboom/libpng-1.4.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -Naur prboom-2.5.0-orig/src/SDL/i_sshot.c prboom-2.5.0/src/SDL/i_sshot.c
---- prboom-2.5.0-orig/src/SDL/i_sshot.c 2010-01-24 23:26:03.000000000 -0500
-+++ prboom-2.5.0/src/SDL/i_sshot.c 2010-01-24 23:28:42.000000000 -0500
-@@ -231,7 +231,7 @@
- if (fp)
- {
- png_struct *png_ptr = png_create_write_struct(
-- PNG_LIBPNG_VER_STRING, png_error_ptr_NULL, error_fn, warning_fn);
-+ PNG_LIBPNG_VER_STRING, NULL, error_fn, warning_fn);
-
- if (png_ptr)
- {
-@@ -279,7 +279,7 @@
- break;
- }
- }
-- png_destroy_write_struct(&png_ptr, png_infopp_NULL);
-+ png_destroy_write_struct(&png_ptr, NULL);
- }
- fclose(fp);
- }
diff --git a/community-testing/pyqt3/PKGBUILD b/community-testing/pyqt3/PKGBUILD
deleted file mode 100644
index 19e46af0b..000000000
--- a/community-testing/pyqt3/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# $Id: PKGBUILD 77299 2012-10-08 15:06:38Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: Tobias Powalowski <tpowa@archlinux.org>
-# Contributor: riai <riai@bigfoot.com> Ben <ben@benmazer.net>
-
-pkgname=pyqt3
-pkgver=3.18.1
-pkgrel=11
-pkgdesc="A set of Python bindings for the Qt3 toolkit"
-arch=('i686' 'x86_64')
-url="http://www.riverbankcomputing.com/software/pyqt/intro"
-depends=('python2-sip' 'qscintilla-qt3')
-makedepends=('glu')
-license=('GPL')
-source=("http://www.riverbankcomputing.com/static/Downloads/PyQt3/PyQt-x11-gpl-${pkgver}.tar.gz")
-md5sums=('f1d120495d1aaf393819e988c0a7bb7e')
-
-build() {
- cd ${srcdir}/PyQt-x11-gpl-${pkgver}
- . /etc/profile.d/qt3.sh
- echo yes | python2 configure.py -b /usr/bin \
- -d /usr/lib/python2.7/site-packages \
- -v /usr/share/sip
- make
-}
-
-package() {
- cd ${srcdir}/PyQt-x11-gpl-${pkgver}
- make DESTDIR=${pkgdir} install
-}
diff --git a/community-testing/python-bsddb/LICENSE b/community-testing/python-bsddb/LICENSE
deleted file mode 100644
index 7d6035775..000000000
--- a/community-testing/python-bsddb/LICENSE
+++ /dev/null
@@ -1,19 +0,0 @@
-Copyright (c) 2008-2009 Jesus Cea Avion
-
-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 OR COPYRIGHT HOLDERS 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. \ No newline at end of file
diff --git a/community-testing/python-bsddb/PKGBUILD b/community-testing/python-bsddb/PKGBUILD
deleted file mode 100644
index 64a455419..000000000
--- a/community-testing/python-bsddb/PKGBUILD
+++ /dev/null
@@ -1,49 +0,0 @@
-# $Id: PKGBUILD 78072 2012-10-16 11:52:09Z allan $
-# Maintainer: Kaiting Chen <kaitocracy@gmail.com>
-# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
-# Contributor: Douglas Soares de Andrade <dsandrade@gmail.com>
-# Contributor: William Rea <sillywilly@gmail.com>
-
-pkgbase=python-bsddb
-pkgname=('python2-bsddb' 'python-bsddb')
-pkgver=5.3.0
-pkgrel=3
-pkgdesc="Python interface for BerkeleyDB"
-license=('MIT')
-arch=('i686' 'x86_64')
-url="http://www.jcea.es/programacion/pybsddb.htm"
-makedepends=('python2-distribute' 'python-distribute')
-source=(http://pypi.python.org/packages/source/b/bsddb3/bsddb3-${pkgver}.tar.gz
- LICENSE)
-sha1sums=('8743f6d7a2f5471094941a46859723aae88f3915'
- 'ef4e4caf618781104dbf5824279ed39d127b4713')
-
-build () {
- cd "${srcdir}"
-
- cp -r bsddb3-${pkgver}{,-python2}
-
- # Build python 3 module
- cd bsddb3-${pkgver}
- python3 setup.py --berkeley-db=/usr build
-
- # Build python 2 module
- cd ../bsddb3-${pkgver}-python2
- python2 setup.py --berkeley-db=/usr build
-}
-
-package_python2-bsddb() {
- depends=('db' 'python2>=2.7')
- cd "${srcdir}/bsddb3-${pkgver}-python2"
-
- python2 setup.py --berkeley-db=/usr install --root="${pkgdir}" --skip-build --optimize=1
- install -Dm644 "${srcdir}"/LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}
-
-package_python-bsddb() {
- depends=('db' 'python>=3.3')
- cd "${srcdir}/bsddb3-${pkgver}"
-
- python3 setup.py --berkeley-db=/usr install --root="${pkgdir}" --skip-build --optimize=1
- install -Dm644 "${srcdir}"/LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}
diff --git a/community-testing/python-gnupginterface/PKGBUILD b/community-testing/python-gnupginterface/PKGBUILD
deleted file mode 100644
index 33446e9b3..000000000
--- a/community-testing/python-gnupginterface/PKGBUILD
+++ /dev/null
@@ -1,21 +0,0 @@
-# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
-# Contributor: Aaron Schaefer <aaron@elasticdog.com>
-
-pkgbase=python-gnupginterface
-pkgname=python2-gnupginterface
-pkgver=0.3.2
-pkgrel=1
-pkgdesc='A Python interface to GNU Privacy Guard (GnuPG).'
-arch=('i686' 'x86_64')
-url='http://py-gnupg.sourceforge.net/'
-license=('GPL')
-depends=('gnupg' 'python2')
-conflicts=('python-gnupginterface<=0.3.2-6')
-replaces=('python-gnupginterface<=0.3.2-6')
-source=("http://downloads.sourceforge.net/sourceforge/py-gnupg/GnuPGInterface-$pkgver.tar.gz")
-md5sums=('d4627d83446f96bd8c22f8d15db3f7c2')
-
-package_python2-gnupginterface() {
- cd "$srcdir/GnuPGInterface-$pkgver"
- python2 setup.py install --root="$pkgdir" -O1
-}
diff --git a/community-testing/python-mpi4py/PKGBUILD b/community-testing/python-mpi4py/PKGBUILD
deleted file mode 100644
index 74cb41ee8..000000000
--- a/community-testing/python-mpi4py/PKGBUILD
+++ /dev/null
@@ -1,43 +0,0 @@
-# $Id: PKGBUILD 78088 2012-10-16 11:52:49Z allan $
-# Maintainer : Stéphane Gaudreault <stephane@archlinux.org>
-# Contributor: Sebastien Binet <binet@cern.ch>
-
-pkgbase=python-mpi4py
-pkgname=('python-mpi4py' 'python2-mpi4py')
-pkgver=1.3
-pkgrel=2
-arch=('i686' 'x86_64')
-url="http://mpi4py.scipy.org"
-license=('BSD')
-makedepends=('python' 'python2' 'python-distribute' 'python2-distribute' 'openmpi')
-source=(http://mpi4py.googlecode.com/files/mpi4py-${pkgver}.tar.gz)
-sha1sums=('282c1b9e35b242c9bd86126ebc5af6c70d8c2833')
-
-build() {
- cd "${srcdir}"
- cp -a mpi4py-${pkgver}{,-python2}
-
- # Build python 3 module
- cd mpi4py-${pkgver}
- python3 setup.py build
-
- # Build python 2 module
- cd ../mpi4py-${pkgver}-python2
- python2 setup.py build
-}
-
-package_python-mpi4py() {
- pkgdesc="Python bindings of the Message Passing Interface (MPI)"
- depends=('python>=3.3' 'openmpi')
-
- cd "${srcdir}/mpi4py-${pkgver}"
- python3 setup.py install --root "${pkgdir}" --optimize=1 --skip-build
-}
-
-package_python2-mpi4py() {
- pkgdesc="Python2 bindings of the Message Passing Interface (MPI)"
- depends=('python2>=2.7' 'openmpi')
-
- cd "${srcdir}/mpi4py-${pkgver}-python2"
- python2 setup.py install --root "${pkgdir}" --optimize=1 --skip-build
-}
diff --git a/community-testing/python-numarray/LICENSE b/community-testing/python-numarray/LICENSE
deleted file mode 100644
index 30ff57fc4..000000000
--- a/community-testing/python-numarray/LICENSE
+++ /dev/null
@@ -1,9 +0,0 @@
-Copyright (C) 2005 Association of Universities for Research in Astronomy (AURA)
-
-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. The name of AURA and its representatives may not be used to endorse or promote products derived from this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY AURA ``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 AURA 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/community-testing/python-numarray/PKGBUILD b/community-testing/python-numarray/PKGBUILD
deleted file mode 100644
index 327b286b5..000000000
--- a/community-testing/python-numarray/PKGBUILD
+++ /dev/null
@@ -1,33 +0,0 @@
-# $Id: PKGBUILD 78090 2012-10-16 11:52:56Z allan $
-# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
-# Contributor: Douglas Soares de Andrade <dsandrade@gmail.com>
-
-pkgbase=python-numarray
-pkgname=python2-numarray
-pkgver=1.5.2
-pkgrel=6
-pkgdesc='Provides array manipulation and computational capabilities.'
-arch=('i686' 'x86_64')
-url='http://numpy.scipy.org/'
-license=('BSD')
-depends=('python2')
-conflicts=('python2-numarray<=1.5.2-6')
-replaces=('python2-numarray<=1.5.2-6')
-source=("http://downloads.sourceforge.net/sourceforge/numpy/numarray-${pkgver}.tar.gz"
- 'LICENSE')
-md5sums=('d2ecfc60fe4869c328b872540d04e0f7'
- 'e32b4466453e530d7fb0dbeee0ca1044')
-
-build() {
- cd "${srcdir}/numarray-${pkgver}"
-
- # python2 fix
- sed -i 's_#! /usr/bin/env python_#! /usr/bin/env python2_' Examples/convolve/benchmark.py
-}
-
-package_python2-numarray() {
- cd "${srcdir}/numarray-${pkgver}"
-
- python2 setup.py install --root="${pkgdir}"
- install -D ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
diff --git a/community-testing/python-openbabel/PKGBUILD b/community-testing/python-openbabel/PKGBUILD
deleted file mode 100644
index 130117080..000000000
--- a/community-testing/python-openbabel/PKGBUILD
+++ /dev/null
@@ -1,38 +0,0 @@
-# $Id: PKGBUILD 78091 2012-10-16 11:53:00Z allan $
-# Maintainer: Andrea Scarpino <andrea@archlinux.org>
-# Contributor: Michal Bozon <bozonm@vscht.cz>
-
-pkgname=python-openbabel
-pkgver=2.3.1
-pkgrel=3
-pkgdesc="Python bindings of openbabel library"
-arch=('i686' 'x86_64')
-url="http://openbabel.org/wiki/Python"
-license=('GPL')
-depends=('python' 'gcc-libs' "openbabel=${pkgver}" 'eigen2')
-makedepends=('swig' 'cmake')
-options=('!libtool')
-source=(http://downloads.sourceforge.net/openbabel/openbabel-$pkgver.tar.gz)
-md5sums=('1f029b0add12a3b55582dc2c832b04f8')
-
-build() {
- cd "${srcdir}/openbabel-$pkgver"
-
- # Create babelconfig.h
- cmake .
-
- # Regenerate interface with the patched swig 2.0.2
- cd scripts
- swig -I../include/ -python -py3 -c++ openbabel-python.i
- mv openbabel-python_wrap.cxx python/openbabel-python.cpp
- mv openbabel.py python/
-
- cd python
- sed -i '19i os.path.join("/usr/include/openbabel-2.0"),' setup.py
- sed -i '20i os.path.join("/usr/include/eigen2"),' setup.py
-}
-
-package() {
- cd "${srcdir}/openbabel-$pkgver/scripts/python"
- python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
-}
diff --git a/community-testing/python-psutil/PKGBUILD b/community-testing/python-psutil/PKGBUILD
deleted file mode 100644
index 2ea97fda2..000000000
--- a/community-testing/python-psutil/PKGBUILD
+++ /dev/null
@@ -1,43 +0,0 @@
-# $Id: PKGBUILD 78094 2012-10-16 11:53:08Z allan $
-# Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org>
-
-pkgbase=python-psutil
-pkgname=('python-psutil' 'python2-psutil')
-pkgver=0.6.1
-pkgrel=2
-arch=('i686' 'x86_64')
-url='http://code.google.com/p/psutil/'
-license=('custom: BSD')
-makedepends=('python' 'python-distribute' 'python2' 'python2-distribute')
-source=("https://psutil.googlecode.com/files/psutil-$pkgver.tar.gz")
-sha1sums=('f7a76e201601d8e06a1fdf434422f884888aac86')
-
-build() {
- cd psutil-$pkgver
- python setup.py build --build-lib=build/python
- python2 setup.py build --build-lib=build/python2
- find build/python2 -type f -exec \
- sed -i '1s,^#! \?/usr/bin/\(env \|\)python$,#!/usr/bin/python2,' {} \;
-}
-
-package_python-psutil() {
- pkgdesc='A cross-platform process and system utilities module for Python'
- depends=('glibc' 'python')
-
- cd psutil-$pkgver
- python setup.py build --build-lib=build/python \
- install --root="$pkgdir" --optimize=1
- install -D -m 644 LICENSE "$pkgdir/"usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-psutil() {
- pkgdesc='A cross-platform process and system utilities module for Python2'
- depends=('glibc' 'python2')
-
- cd psutil-$pkgver
- python2 setup.py build --build-lib=build/python2 \
- install --root="$pkgdir" --optimize=1
- install -D -m 644 LICENSE "$pkgdir/"usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 ft=sh et:
diff --git a/community-testing/python-psycopg1/PKGBUILD b/community-testing/python-psycopg1/PKGBUILD
deleted file mode 100644
index b2a54c3d5..000000000
--- a/community-testing/python-psycopg1/PKGBUILD
+++ /dev/null
@@ -1,34 +0,0 @@
-# $Id: PKGBUILD 78095 2012-10-16 11:53:11Z allan $
-# Contributor: William Rea <sillywilly@gmail.com>
-
-pkgbase=python-psycopg1
-pkgname=python2-psycopg1
-pkgver=1.1.21
-pkgrel=8
-pkgdesc="A PostgreSQL database adapter for Python"
-arch=('i686' 'x86_64')
-url="http://initd.org/projects/psycopg1"
-license=('GPL')
-depends=('python2-egenix-mx-base' 'postgresql')
-conflicts=('python-psycopg1<=1.1.21-7')
-replaces=('python-psycopg1<=1.1.21-7')
-source=(http://initd.org/psycopg/tarballs/PSYCOPG-1-1/psycopg-$pkgver.tar.gz)
-md5sums=('a31f79f68d6d32898d6f24e11369a106')
-sha1sums=('02d8a8b5dd682306117896c7c63a9a1b518997b6')
-
-build() {
- cd "$srcdir/psycopg-$pkgver"
-
- ./configure --prefix=/usr --with-python=/usr/bin/python2 \
- --with-mxdatetime-includes=/usr/lib/python2.7/site-packages/mx/DateTime/mxDateTime
- sed -e 's:\(echo " install -m 555 $$mod \)\($(PY_MOD_DIR)\)\("; \\\):\1${DESTDIR}\2/$$mod\3:' \
- -e 's:\($(INSTALL) -m 555 $$mod \)\($(PY_MOD_DIR)\)\(; \\\):\1${DESTDIR}\2/$$mod\3:' \
- -i Makefile
- make
-}
-
-package_python2-psycopg1() {
- cd "$srcdir/psycopg-$pkgver"
-
- make DESTDIR="$pkgdir" install
-}
diff --git a/community-testing/python-psycopg2/ChangeLog b/community-testing/python-psycopg2/ChangeLog
deleted file mode 100644
index f31be0aaa..000000000
--- a/community-testing/python-psycopg2/ChangeLog
+++ /dev/null
@@ -1,25 +0,0 @@
-
-2009-08-05 Douglas Soares de Andrade <douglas@archlinux.org>
-
- * Updated to: 2.0.11
-
-2009-03-24 Douglas Soares de Andrade <douglas@archlinux.org>
-
- * Updated for i686: 2.0.9
-
-2009-01-11 Douglas Soares de Andrade <douglas@archlinux.org>
-
- * Rebuilt for python 2.6
-
-2008-04-25 Mateusz Herych <heniekk@gmail.com>
-
- * Built for x86_64 - 2.0.7
-
-2008-04-23 Douglas Soares de Andrade <dsa@aur.archlinux.org>
-
- * Built for i686 - 2.0.7
-
-2007-06-27 tardo <tardo@nagi-fanboi.net>
-
- * Built for x86_64
-
diff --git a/community-testing/python-psycopg2/PKGBUILD b/community-testing/python-psycopg2/PKGBUILD
deleted file mode 100644
index 34534e06a..000000000
--- a/community-testing/python-psycopg2/PKGBUILD
+++ /dev/null
@@ -1,35 +0,0 @@
-# $Id: PKGBUILD 78096 2012-10-16 11:53:16Z allan $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Maintainer: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
-# Maintainer: Douglas Soares de Andrade <dsa@aur.archlinux.org>
-
-pkgbase=python-psycopg2
-pkgname=('python-psycopg2' 'python2-psycopg2')
-pkgver=2.4.5
-pkgrel=2
-pkgdesc="A PostgreSQL database adapter for the Python programming language."
-arch=('i686' 'x86_64')
-url="http://initd.org/psycopg/"
-license=('LGPL3')
-makedepends=('python2' 'python' 'postgresql-libs>=8.4.1')
-source=(http://initd.org/psycopg/tarballs/PSYCOPG-2-4/psycopg2-$pkgver.tar.gz)
-md5sums=('075e4df465e9a863f288d5bdf6e6887e')
-
-build() {
- cd "$srcdir/psycopg2-$pkgver"
- sed -i 's/,PSYCOPG_DEBUG$//' setup.cfg
-}
-
-package_python-psycopg2() {
- depends=('python' 'postgresql-libs>=8.4.1')
-
- cd "$srcdir/psycopg2-$pkgver"
- python setup.py install --root="$pkgdir"
-}
-
-package_python2-psycopg2() {
- depends=('python2' 'postgresql-libs>=8.4.1')
-
- cd "$srcdir/psycopg2-$pkgver"
- python2 setup.py install --root="$pkgdir"
-}
diff --git a/community-testing/python-pymongo/PKGBUILD b/community-testing/python-pymongo/PKGBUILD
deleted file mode 100644
index 0106f3034..000000000
--- a/community-testing/python-pymongo/PKGBUILD
+++ /dev/null
@@ -1,37 +0,0 @@
-# $Id: PKGBUILD 78100 2012-10-16 11:53:25Z allan $
-# Maintainer: Alexander Rødseth <rodseth@gmail.com>
-# Contributor: Thomas S Hatch <thatch45@gmail.com>
-
-pkgbase=python-pymongo
-pkgname=('python-pymongo' 'python2-pymongo')
-pkgver=2.3
-pkgrel=2
-pkgdesc='Python driver for MongoDB'
-arch=('x86_64' 'i686')
-license=('APACHE')
-url='http://pypi.python.org/pypi/pymongo/'
-makedepends=('python-distribute' 'python2-distribute')
-source=("http://pypi.python.org/packages/source/p/pymongo/pymongo-$pkgver.tar.gz")
-sha256sums=('8e43fdd7ea8e2aa965791af1b6e24186248023c6fde70092d9631b1d9150b1dc')
-
-build() {
- cd "$srcdir"
- cp -a "pymongo-$pkgver" "pymongo2-$pkgver"
-
-}
-
-package_python2-pymongo() {
- depends=('python2')
- cd "$srcdir/pymongo2-$pkgver"
-
- python2 setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python-pymongo() {
- depends=('python')
-
- cd "$srcdir/pymongo-$pkgver"
-
- python setup.py install --root="$pkgdir" --optimize=1
-}
-# vim:set ts=2 sw=2 et:
diff --git a/community-testing/python-pyopencl/LICENSE.txt b/community-testing/python-pyopencl/LICENSE.txt
deleted file mode 100644
index 3ce400f9d..000000000
--- a/community-testing/python-pyopencl/LICENSE.txt
+++ /dev/null
@@ -1,20 +0,0 @@
-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 OR COPYRIGHT
-HOLDERS 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.
diff --git a/community-testing/python-pyopencl/PKGBUILD b/community-testing/python-pyopencl/PKGBUILD
deleted file mode 100644
index c3bf9ef7a..000000000
--- a/community-testing/python-pyopencl/PKGBUILD
+++ /dev/null
@@ -1,61 +0,0 @@
-# $Id: PKGBUILD 78161 2012-10-16 15:46:57Z stephane $
-# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
-
-pkgbase=python-pyopencl
-pkgname=('python2-pyopencl' 'python-pyopencl' 'pyopencl-headers')
-pkgver=2012.1
-pkgrel=5
-pkgdesc="A complete, object-oriented language binding of OpenCL to Python"
-arch=('i686' 'x86_64')
-url="http://mathema.tician.de/software/pyopencl"
-license=('custom')
-makedepends=('ctags' 'python2-distribute' 'python-distribute' 'libcl' 'opencl-headers' 'mesa' 'boost' 'python2-mako' 'python-mako' 'python-numpy' 'python2-numpy')
-source=("http://pypi.python.org/packages/source/p/pyopencl/pyopencl-${pkgver}.tar.gz"
- 'LICENSE.txt')
-sha1sums=('ef2460d5e9b883d8afe0ec47863a243b6f8ac7ff'
- '2e6966b3d9b15603ce2c3ff79eeadd63c5d066b7')
-
-build() {
- cd "$srcdir"
-
- cp -a pyopencl-$pkgver{,-python2}
-
- cd "${srcdir}/pyopencl-${pkgver}"
- python3 ./configure.py --cl-enable-gl --no-use-shipped-boost
- python3 setup.py build
-
- cd "$srcdir/pyopencl-$pkgver-python2"
- python2 ./configure.py --cl-enable-gl --no-use-shipped-boost
- python2 setup.py build
-}
-
-package_python-pyopencl() {
- depends=('libcl' 'opencl-headers' 'mesa' 'boost' 'python' 'python-numpy' 'python-mako' 'python-pytools' 'pyopencl-headers')
-
- cd "${srcdir}/pyopencl-${pkgver}"
- python3 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
-
- rm -fr "${pkgdir}"/usr/include
-
- install -D -m644 ../LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}
-
-package_python2-pyopencl() {
- depends=('libcl' 'opencl-headers' 'mesa' 'boost' 'python2' 'python2-numpy' 'python2-mako' 'python2-pytools' 'pyopencl-headers')
-
- cd "${srcdir}/pyopencl-${pkgver}-python2"
- python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
-
- rm -fr "${pkgdir}"/usr/include
-
- install -D -m644 ../LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}
-
-package_pyopencl-headers() {
- cd "${srcdir}/pyopencl-${pkgver}"
- install -dm755 "${pkgdir}"/usr/include/pyopencl
-
- for file in pyopencl-bessel-j.cl pyopencl-cephes.cl pyopencl-airy.cl pyopencl-ranluxcl.cl pyopencl-complex.h; do
- install -m644 src/cl/${file} "${pkgdir}"/usr/include/pyopencl
- done
-}
diff --git a/community-testing/python-pyproj/PKGBUILD b/community-testing/python-pyproj/PKGBUILD
deleted file mode 100644
index 5df85db9d..000000000
--- a/community-testing/python-pyproj/PKGBUILD
+++ /dev/null
@@ -1,49 +0,0 @@
-# $Id: PKGBUILD 78103 2012-10-16 11:53:33Z allan $
-# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
-
-pkgbase=python-pyproj
-pkgname=('python-pyproj' 'python2-pyproj')
-pkgver=1.9.2
-pkgrel=1
-pkgdesc="Python interfaces to PROJ.4 library"
-arch=('i686' 'x86_64')
-url="http://code.google.com/p/pyproj"
-license=('custom')
-source=(http://pyproj.googlecode.com/files/pyproj-${pkgver}.tar.gz)
-makedepends=('python' 'python2')
-sha1sums=('a7a4bf95f3492e45704bccd4aeafe3bbe32fb023')
-
-build() {
- cd "${srcdir}"
-
- cp -a pyproj-${pkgver}{,-python2}
-
- # Build python 3 module
- cd pyproj-${pkgver}
- python3 setup.py build
-
- # Build python 2 module
- cd ../pyproj-${pkgver}-python2
- python2 setup.py build
-}
-
-package_python-pyproj() {
- depends=('proj' 'python>=3.3')
-
- cd "${srcdir}"/pyproj-${pkgver}
- python3 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
-
- install -dm755 "${pkgdir}"/usr/share/licenses/${pkgname}
- install -m644 LICENSE_proj4 "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}
-
-package_python2-pyproj() {
- depends=('proj' 'python2>=2.7')
- replaces=('pyproj')
-
- cd "${srcdir}"/pyproj-${pkgver}-python2
- python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
-
- install -dm755 "${pkgdir}"/usr/share/licenses/${pkgname}
- install -m644 LICENSE_proj4 "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}
diff --git a/community-testing/python-pyxattr/PKGBUILD b/community-testing/python-pyxattr/PKGBUILD
deleted file mode 100644
index a60dc386c..000000000
--- a/community-testing/python-pyxattr/PKGBUILD
+++ /dev/null
@@ -1,33 +0,0 @@
-# $Id: PKGBUILD 78107 2012-10-16 11:53:42Z allan $
-# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
-# Contributor: Jon Bergli Heier <snakebite@jvnv.net>
-
-pkgname=('python2-pyxattr' 'python-pyxattr')
-pkgbase=python-pyxattr
-_pkgname=pyxattr
-pkgver=0.5.0
-pkgrel=4
-pkgdesc='A python extension module that allows you to manipulate the extended attributes.'
-arch=('i686' 'x86_64')
-url='http://pyxattr.sourceforge.net/'
-license=('GPL')
-makedepends=('python2' 'python' 'python2-distribute' 'python-distribute')
-source=("http://downloads.sourceforge.net/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
-md5sums=('0f7ab1e185087329e40f7de218517c84')
-
-package_python2-pyxattr() {
- depends=('python2')
- provides=('pyxattr')
- conflicts=('pyxattr')
- replaces=('pyxattr')
-
- cd "${srcdir}/${_pkgname}-${pkgver}"
- python2 setup.py install --root="${pkgdir}"
-}
-
-package_python-pyxattr() {
- depends=('python')
-
- cd "${srcdir}/${_pkgname}-${pkgver}"
- python setup.py install --root="${pkgdir}"
-}
diff --git a/community-testing/python-pyzmq/PKGBUILD b/community-testing/python-pyzmq/PKGBUILD
deleted file mode 100644
index a2951c651..000000000
--- a/community-testing/python-pyzmq/PKGBUILD
+++ /dev/null
@@ -1,20 +0,0 @@
-# $Id: PKGBUILD 78108 2012-10-16 11:53:45Z allan $
-# Maintainer: Kyle Keen <keenerd at gmail dot com>
-pkgname=python-pyzmq
-pkgver=2.2.0.1
-pkgrel=2
-pkgdesc="Python3 bindings for zeromq, written in Cython"
-arch=(i686 x86_64)
-url="http://www.zeromq.org/bindings:python"
-license=('LGPL')
-depends=(zeromq python)
-source=(https://github.com/zeromq/pyzmq/downloads/pyzmq-$pkgver.tar.gz)
-md5sums=('f2f80709e84c8ac72d6671eee645d804')
-
-build() {
- cd "$srcdir/pyzmq-$pkgver"
- # py3 errors added in 2.2.0.1
- sed -i 's|except socket.error, e:|except socket.error as e:|' zmq/eventloop/ioloop.py
- sed -i 's|except gevent.Timeout, t:|except gevent.Timeout as t:|' zmq/green/core.py
- python3 setup.py install --root="$pkgdir" --optimize=0
-}
diff --git a/community-testing/python-scipy/PKGBUILD b/community-testing/python-scipy/PKGBUILD
deleted file mode 100644
index 49f943dc5..000000000
--- a/community-testing/python-scipy/PKGBUILD
+++ /dev/null
@@ -1,82 +0,0 @@
-# Maintainer: Thomas Dziedzic < gostrc at gmail >
-# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
-# Contributor: Ray Rashif <schiv@archlinux.org>
-# Contributor: Douglas Soares de Andrade <dsa@aur.archlinux.org>
-# Contributor: Bodor Dávid Gábor <david.gabor.bodor@gmail.com>
-# Contributor: Andrzej Giniewicz <gginiu@gmail.com>
-
-pkgname=('python-scipy' 'python2-scipy')
-pkgver=0.11.0
-pkgrel=2
-pkgdesc="SciPy is open-source software for mathematics, science, and engineering."
-arch=('i686' 'x86_64')
-url="http://www.scipy.org/"
-license=('BSD')
-makedepends=('gcc-fortran' 'python-numpy' 'python2-numpy')
-checkdepends=('python-nose' 'python2-nose')
-source=("http://downloads.sourceforge.net/scipy/scipy-${pkgver}.tar.gz")
-md5sums=('842c81d35fd63579c41a8ca21a2419b9')
-
-build() {
- unset LDFLAGS
- unset FFLAGS
-
- # Changing the arithmetic parameter (Thanks to Fabrizio Castellano)
- sed -i "s/\#define\ UNK\ 1/\#define\ IBMPC\ 1/" \
- scipy-${pkgver}/scipy/special/cephes/mconf.h
-
- # 2 builds
- cp -r scipy-${pkgver} scipy-${pkgver}-py2
-
- # build for python3
- cd scipy-${pkgver}
- python setup.py config_fc --fcompiler=gnu95 build
-
- # build for python2
- cd ../scipy-${pkgver}-py2
-
- for file in $(find . -name '*.py' -print); do
- sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file
- sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
- done
-
- python2 setup.py config_fc --fcompiler=gnu95 build
-}
-
-check() {
- cd scipy-${pkgver}
-# figure out how to run tests in the source tree easily
-# python -c "from scipy import test; test('full')"
-
- cd ../scipy-${pkgver}-py2
-# figure out how to run tests in the source tree easily
-# python2 -c "from scipy import test; test('full')"
-}
-
-package_python-scipy() {
- depends=('python-numpy')
- provides=('python3-scipy' 'scipy')
-
- cd scipy-${pkgver}
-
- python setup.py config_fc --fcompiler=gnu95 install \
- --prefix=/usr --root=${pkgdir} --optimize=1
-
- install -Dm644 LICENSE.txt \
- "${pkgdir}/usr/share/licenses/python-scipy/LICENSE"
-}
-
-package_python2-scipy() {
- depends=('python2-numpy')
- conflicts=('python-scipy<0.9.0')
-
- cd scipy-${pkgver}-py2
-
- python2 setup.py config_fc --fcompiler=gnu95 install \
- --prefix=/usr --root=${pkgdir} --optimize=1
-
- install -Dm644 LICENSE.txt \
- "${pkgdir}/usr/share/licenses/python2-scipy/LICENSE"
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/community-testing/python-sqlalchemy/PKGBUILD b/community-testing/python-sqlalchemy/PKGBUILD
deleted file mode 100644
index e6a1ded02..000000000
--- a/community-testing/python-sqlalchemy/PKGBUILD
+++ /dev/null
@@ -1,44 +0,0 @@
-# $Id: PKGBUILD 78113 2012-10-16 11:54:00Z allan $
-# Maintainer: Angel Velasquez <angvp@archlinux.org>
-# Contributor: Sébastien Luttringer <seblu@aur.archlinux.org>
-
-pkgbase=python-sqlalchemy
-pkgname=('python-sqlalchemy' 'python2-sqlalchemy')
-pkgver=0.7.9
-pkgrel=1
-arch=('i686' 'x86_64') # python2 package contain .so
-url="http://www.sqlalchemy.org/"
-license=('custom: MIT')
-makedepends=('python' 'python2' 'python-distribute' 'python2-distribute' 'python-nose' 'python2-nose')
-source=("http://downloads.sourceforge.net/sourceforge/sqlalchemy/SQLAlchemy-$pkgver.tar.gz")
-md5sums=('c4852d586d95a59fbc9358f4467875d5')
-
-build() {
- cp -a SQLAlchemy-$pkgver SQLAlchemy2-$pkgver
- cd SQLAlchemy-$pkgver
- python setup.py build
- cd ../SQLAlchemy2-$pkgver
- python2 setup.py build
-}
-
-package_python-sqlalchemy() {
- pkgdesc='Python SQL toolkit and Object Relational Mapper'
- depends=('python')
-
- cd SQLAlchemy-${pkgver}
- python setup.py install --root="${pkgdir}"
- install -D -m644 LICENSE \
- "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_python2-sqlalchemy() {
- pkgdesc='Python 2 SQL toolkit and Object Relational Mapper'
- depends=('python2')
-
- cd SQLAlchemy2-$pkgver
- python2 setup.py install --root="$pkgdir"
- install -D -m644 LICENSE \
- "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# vim:set ts=2 sw=2 ft=sh et:
diff --git a/community-testing/python-yaml/PKGBUILD b/community-testing/python-yaml/PKGBUILD
deleted file mode 100644
index 3d48ebc4e..000000000
--- a/community-testing/python-yaml/PKGBUILD
+++ /dev/null
@@ -1,36 +0,0 @@
-# $Id: PKGBUILD 78118 2012-10-16 11:54:14Z allan $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: Michal Bozon <michal.bozon__at__gmail.com>
-
-pkgbase=python-yaml
-pkgname=(python2-yaml python-yaml)
-pkgver=3.10
-pkgrel=3
-pkgdesc="Python bindings for YAML, using fast libYAML library"
-arch=('i686' 'x86_64')
-url="http://pyyaml.org"
-license=('MIT')
-makedepends=('python' 'python2' 'libyaml')
-install='python-yaml.install'
-source=(http://pyyaml.org/download/pyyaml/PyYAML-$pkgver.tar.gz)
-md5sums=('74c94a383886519e9e7b3dd1ee540247')
-
-build() {
- true
-}
-
-package_python2-yaml() {
- depends=('python2' 'libyaml')
-
- cd $srcdir/PyYAML-$pkgver
- python2 setup.py install --prefix=/usr --root=$pkgdir
- install -m644 -D LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python-yaml() {
- depends=('python' 'libyaml')
-
- cd $srcdir/PyYAML-$pkgver
- python setup.py install --prefix=/usr --root=$pkgdir
- install -m644 -D LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
-}
diff --git a/community-testing/python-yaml/python-yaml.install b/community-testing/python-yaml/python-yaml.install
deleted file mode 100644
index e2ae0674b..000000000
--- a/community-testing/python-yaml/python-yaml.install
+++ /dev/null
@@ -1,7 +0,0 @@
-post_install() {
- cat << EOT
-==> Note that even though this package uses libyaml library,
-==> slower pure python implementation is used by default.
-==> See http://pyyaml.org/wiki/PyYAMLDocumentation
-EOT
-}
diff --git a/community-testing/python2-cjson/PKGBUILD b/community-testing/python2-cjson/PKGBUILD
deleted file mode 100644
index 2d95793a4..000000000
--- a/community-testing/python2-cjson/PKGBUILD
+++ /dev/null
@@ -1,19 +0,0 @@
-# $Id: PKGBUILD 66126 2012-02-23 01:35:30Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: Lincoln de Sousa <lincoln@archlinux-br.org>
-
-pkgname=python2-cjson
-pkgver=1.0.5
-pkgrel=5
-arch=('i686' 'x86_64')
-license=('LGPL')
-pkgdesc="Fast JSON encoder/decoder for Python"
-url="http://pypi.python.org/pypi/python-cjson/"
-depends=('python2')
-source=("http://pypi.python.org/packages/source/p/python-cjson/python-cjson-$pkgver.tar.gz")
-md5sums=('4d55b66ecdf0300313af9d030d9644a3')
-
-build() {
- cd $srcdir/python-cjson-$pkgver
- python2 setup.py install --root=$pkgdir
-}
diff --git a/community-testing/python2-galago/PKGBUILD b/community-testing/python2-galago/PKGBUILD
deleted file mode 100644
index 6076c3a9e..000000000
--- a/community-testing/python2-galago/PKGBUILD
+++ /dev/null
@@ -1,22 +0,0 @@
-# $Id: PKGBUILD 66128 2012-02-23 01:37:06Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: William Rea <sillywilly@gmail.com>
-
-pkgname=python2-galago
-pkgver=0.5.0
-pkgrel=6
-pkgdesc="A library of simple functions that are optimized for various CPUs"
-arch=('i686' 'x86_64')
-url="http://galago-project.org"
-options=('!libtool')
-license=('LGPL')
-depends=('libgalago' 'pygtk')
-source=(http://galago-project.org/files/releases/source/galago-python/galago-python-$pkgver.tar.bz2)
-md5sums=('27be31fcf2886aa21823caec15dc34aa')
-
-build() {
- cd $srcdir/galago-python-$pkgver
- ./configure --prefix=/usr
- make
- make DESTDIR=$pkgdir install
-}
diff --git a/community-testing/python2-gnutls/PKGBUILD b/community-testing/python2-gnutls/PKGBUILD
deleted file mode 100644
index 3a7c86a04..000000000
--- a/community-testing/python2-gnutls/PKGBUILD
+++ /dev/null
@@ -1,23 +0,0 @@
-# $Id: PKGBUILD 74655 2012-08-01 13:54:20Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Maintainer: Hugo Doria <hugo@archlinux.org>
-# Contributor: N3RD3X <n3rd3x@linuxmail.org>
-
-pkgname=python2-gnutls
-pkgver=1.2.4
-pkgrel=2
-pkgdesc="Python wrapper for the GNUTLS library"
-arch=('i686' 'x86_64')
-url="http://cheeseshop.python.org/pypi/python-gnutls"
-depends=('python2' 'gnutls')
-license=('LGPL')
-source=(http://pypi.python.org/packages/source/p/python-gnutls/python-gnutls-${pkgver}.tar.gz
- gnutls3.patch)
-md5sums=('e3536c421291a791869d875a41dcb26a'
- '24bc95d9f5e71e9f5e180706cbb09248')
-
-build() {
- cd ${srcdir}/python-gnutls-${pkgver}
- patch -Np0 <$srcdir/gnutls3.patch
- python2 setup.py install --root=${pkgdir}
-}
diff --git a/community-testing/python2-gnutls/gnutls3.patch b/community-testing/python2-gnutls/gnutls3.patch
deleted file mode 100644
index 5110de2f2..000000000
--- a/community-testing/python2-gnutls/gnutls3.patch
+++ /dev/null
@@ -1,271 +0,0 @@
-diff -ru gnutls/library/functions.py gnutls.fixed/library/functions.py
---- gnutls/library/functions.py 2011-08-19 04:48:14.000000000 +0100
-+++ gnutls.fixed/library/functions.py 2012-08-01 11:56:43.450975419 +0100
-@@ -4,7 +4,7 @@
- import sys
- from ctypes import *
-
--from gnutls.library import libgnutls, libgnutls_extra
-+from gnutls.library import libgnutls
- from gnutls.library.types import *
-
-
-@@ -121,14 +121,6 @@
- gnutls_certificate_get_peers.argtypes = [gnutls_session_t, POINTER(c_uint)]
- gnutls_certificate_get_peers.restype = POINTER(gnutls_datum_t)
-
--gnutls_certificate_get_x509_cas = libgnutls.gnutls_certificate_get_x509_cas
--gnutls_certificate_get_x509_cas.argtypes = [gnutls_certificate_credentials_t, POINTER(POINTER(gnutls_x509_crt_t)), POINTER(c_uint)]
--gnutls_certificate_get_x509_cas.restype = None
--
--gnutls_certificate_get_x509_crls = libgnutls.gnutls_certificate_get_x509_crls
--gnutls_certificate_get_x509_crls.argtypes = [gnutls_certificate_credentials_t, POINTER(POINTER(gnutls_x509_crl_t)), POINTER(c_uint)]
--gnutls_certificate_get_x509_crls.restype = None
--
- gnutls_certificate_send_x509_rdn_sequence = libgnutls.gnutls_certificate_send_x509_rdn_sequence
- gnutls_certificate_send_x509_rdn_sequence.argtypes = [gnutls_session_t, c_int]
- gnutls_certificate_send_x509_rdn_sequence.restype = None
-@@ -221,10 +213,6 @@
- gnutls_certificate_type_set_priority.argtypes = [gnutls_session_t, POINTER(c_int)]
- gnutls_certificate_type_set_priority.restype = c_int
-
--gnutls_certificate_verify_peers = libgnutls.gnutls_certificate_verify_peers
--gnutls_certificate_verify_peers.argtypes = [gnutls_session_t]
--gnutls_certificate_verify_peers.restype = c_int
--
- gnutls_certificate_verify_peers2 = libgnutls.gnutls_certificate_verify_peers2
- gnutls_certificate_verify_peers2.argtypes = [gnutls_session_t, POINTER(c_uint)]
- gnutls_certificate_verify_peers2.restype = c_int
-@@ -393,10 +381,6 @@
- gnutls_error_to_alert.argtypes = [c_int, POINTER(c_int)]
- gnutls_error_to_alert.restype = c_int
-
--gnutls_extra_check_version = libgnutls_extra.gnutls_extra_check_version
--gnutls_extra_check_version.argtypes = [c_char_p]
--gnutls_extra_check_version.restype = c_char_p
--
- gnutls_fingerprint = libgnutls.gnutls_fingerprint
- gnutls_fingerprint.argtypes = [gnutls_digest_algorithm_t, POINTER(gnutls_datum_t), c_void_p, POINTER(size_t)]
- gnutls_fingerprint.restype = c_int
-@@ -409,10 +393,6 @@
- gnutls_global_init.argtypes = []
- gnutls_global_init.restype = c_int
-
--gnutls_global_init_extra = libgnutls_extra.gnutls_global_init_extra
--gnutls_global_init_extra.argtypes = []
--gnutls_global_init_extra.restype = c_int
--
- gnutls_global_set_log_function = libgnutls.gnutls_global_set_log_function
- gnutls_global_set_log_function.argtypes = [gnutls_log_func]
- gnutls_global_set_log_function.restype = None
-@@ -461,86 +441,6 @@
- gnutls_hex_encode.argtypes = [POINTER(gnutls_datum_t), c_char_p, POINTER(size_t)]
- gnutls_hex_encode.restype = c_int
-
--gnutls_ia_allocate_client_credentials = libgnutls_extra.gnutls_ia_allocate_client_credentials
--gnutls_ia_allocate_client_credentials.argtypes = [POINTER(gnutls_ia_client_credentials_t)]
--gnutls_ia_allocate_client_credentials.restype = c_int
--
--gnutls_ia_allocate_server_credentials = libgnutls_extra.gnutls_ia_allocate_server_credentials
--gnutls_ia_allocate_server_credentials.argtypes = [POINTER(gnutls_ia_server_credentials_t)]
--gnutls_ia_allocate_server_credentials.restype = c_int
--
--gnutls_ia_enable = libgnutls_extra.gnutls_ia_enable
--gnutls_ia_enable.argtypes = [gnutls_session_t, c_int]
--gnutls_ia_enable.restype = None
--
--gnutls_ia_endphase_send = libgnutls_extra.gnutls_ia_endphase_send
--gnutls_ia_endphase_send.argtypes = [gnutls_session_t, c_int]
--gnutls_ia_endphase_send.restype = c_int
--
--gnutls_ia_extract_inner_secret = libgnutls_extra.gnutls_ia_extract_inner_secret
--gnutls_ia_extract_inner_secret.argtypes = [gnutls_session_t, c_char_p]
--gnutls_ia_extract_inner_secret.restype = None
--
--gnutls_ia_free_client_credentials = libgnutls_extra.gnutls_ia_free_client_credentials
--gnutls_ia_free_client_credentials.argtypes = [gnutls_ia_client_credentials_t]
--gnutls_ia_free_client_credentials.restype = None
--
--gnutls_ia_free_server_credentials = libgnutls_extra.gnutls_ia_free_server_credentials
--gnutls_ia_free_server_credentials.argtypes = [gnutls_ia_server_credentials_t]
--gnutls_ia_free_server_credentials.restype = None
--
--gnutls_ia_generate_challenge = libgnutls_extra.gnutls_ia_generate_challenge
--gnutls_ia_generate_challenge.argtypes = [gnutls_session_t, size_t, c_char_p]
--gnutls_ia_generate_challenge.restype = c_int
--
--gnutls_ia_get_client_avp_ptr = libgnutls_extra.gnutls_ia_get_client_avp_ptr
--gnutls_ia_get_client_avp_ptr.argtypes = [gnutls_ia_client_credentials_t]
--gnutls_ia_get_client_avp_ptr.restype = c_void_p
--
--gnutls_ia_get_server_avp_ptr = libgnutls_extra.gnutls_ia_get_server_avp_ptr
--gnutls_ia_get_server_avp_ptr.argtypes = [gnutls_ia_server_credentials_t]
--gnutls_ia_get_server_avp_ptr.restype = c_void_p
--
--gnutls_ia_handshake = libgnutls_extra.gnutls_ia_handshake
--gnutls_ia_handshake.argtypes = [gnutls_session_t]
--gnutls_ia_handshake.restype = c_int
--
--gnutls_ia_handshake_p = libgnutls_extra.gnutls_ia_handshake_p
--gnutls_ia_handshake_p.argtypes = [gnutls_session_t]
--gnutls_ia_handshake_p.restype = c_int
--
--gnutls_ia_permute_inner_secret = libgnutls_extra.gnutls_ia_permute_inner_secret
--gnutls_ia_permute_inner_secret.argtypes = [gnutls_session_t, size_t, c_char_p]
--gnutls_ia_permute_inner_secret.restype = c_int
--
--gnutls_ia_recv = libgnutls_extra.gnutls_ia_recv
--gnutls_ia_recv.argtypes = [gnutls_session_t, c_char_p, size_t]
--gnutls_ia_recv.restype = ssize_t
--
--gnutls_ia_send = libgnutls_extra.gnutls_ia_send
--gnutls_ia_send.argtypes = [gnutls_session_t, c_char_p, size_t]
--gnutls_ia_send.restype = ssize_t
--
--gnutls_ia_set_client_avp_function = libgnutls_extra.gnutls_ia_set_client_avp_function
--gnutls_ia_set_client_avp_function.argtypes = [gnutls_ia_client_credentials_t, gnutls_ia_avp_func]
--gnutls_ia_set_client_avp_function.restype = None
--
--gnutls_ia_set_client_avp_ptr = libgnutls_extra.gnutls_ia_set_client_avp_ptr
--gnutls_ia_set_client_avp_ptr.argtypes = [gnutls_ia_client_credentials_t, c_void_p]
--gnutls_ia_set_client_avp_ptr.restype = None
--
--gnutls_ia_set_server_avp_function = libgnutls_extra.gnutls_ia_set_server_avp_function
--gnutls_ia_set_server_avp_function.argtypes = [gnutls_ia_server_credentials_t, gnutls_ia_avp_func]
--gnutls_ia_set_server_avp_function.restype = None
--
--gnutls_ia_set_server_avp_ptr = libgnutls_extra.gnutls_ia_set_server_avp_ptr
--gnutls_ia_set_server_avp_ptr.argtypes = [gnutls_ia_server_credentials_t, c_void_p]
--gnutls_ia_set_server_avp_ptr.restype = None
--
--gnutls_ia_verify_endphase = libgnutls_extra.gnutls_ia_verify_endphase
--gnutls_ia_verify_endphase.argtypes = [gnutls_session_t, c_char_p]
--gnutls_ia_verify_endphase.restype = c_int
--
- gnutls_init = libgnutls.gnutls_init
- gnutls_init.argtypes = [POINTER(gnutls_session_t), gnutls_connection_end_t]
- gnutls_init.restype = c_int
-@@ -733,10 +633,6 @@
- gnutls_psk_free_server_credentials.argtypes = [gnutls_psk_server_credentials_t]
- gnutls_psk_free_server_credentials.restype = None
-
--gnutls_psk_netconf_derive_key = libgnutls.gnutls_psk_netconf_derive_key
--gnutls_psk_netconf_derive_key.argtypes = [c_char_p, c_char_p, c_char_p, POINTER(gnutls_datum_t)]
--gnutls_psk_netconf_derive_key.restype = c_int
--
- gnutls_psk_server_get_username = libgnutls.gnutls_psk_server_get_username
- gnutls_psk_server_get_username.argtypes = [gnutls_session_t]
- gnutls_psk_server_get_username.restype = c_char_p
-@@ -857,10 +753,6 @@
- gnutls_session_enable_compatibility_mode.argtypes = [gnutls_session_t]
- gnutls_session_enable_compatibility_mode.restype = None
-
--gnutls_session_get_client_random = libgnutls.gnutls_session_get_client_random
--gnutls_session_get_client_random.argtypes = [gnutls_session_t]
--gnutls_session_get_client_random.restype = c_void_p
--
- gnutls_session_get_data = libgnutls.gnutls_session_get_data
- gnutls_session_get_data.argtypes = [gnutls_session_t, c_void_p, POINTER(size_t)]
- gnutls_session_get_data.restype = c_int
-@@ -873,18 +765,10 @@
- gnutls_session_get_id.argtypes = [gnutls_session_t, c_void_p, POINTER(size_t)]
- gnutls_session_get_id.restype = c_int
-
--gnutls_session_get_master_secret = libgnutls.gnutls_session_get_master_secret
--gnutls_session_get_master_secret.argtypes = [gnutls_session_t]
--gnutls_session_get_master_secret.restype = c_void_p
--
- gnutls_session_get_ptr = libgnutls.gnutls_session_get_ptr
- gnutls_session_get_ptr.argtypes = [gnutls_session_t]
- gnutls_session_get_ptr.restype = c_void_p
-
--gnutls_session_get_server_random = libgnutls.gnutls_session_get_server_random
--gnutls_session_get_server_random.argtypes = [gnutls_session_t]
--gnutls_session_get_server_random.restype = c_void_p
--
- gnutls_session_is_resumed = libgnutls.gnutls_session_is_resumed
- gnutls_session_is_resumed.argtypes = [gnutls_session_t]
- gnutls_session_is_resumed.restype = c_int
-@@ -905,10 +789,6 @@
- gnutls_set_default_priority.argtypes = [gnutls_session_t]
- gnutls_set_default_priority.restype = c_int
-
--gnutls_sign_algorithm_get_name = libgnutls.gnutls_sign_algorithm_get_name
--gnutls_sign_algorithm_get_name.argtypes = [gnutls_sign_algorithm_t]
--gnutls_sign_algorithm_get_name.restype = c_char_p
--
- gnutls_sign_callback_get = libgnutls.gnutls_sign_callback_get
- gnutls_sign_callback_get.argtypes = [gnutls_session_t, POINTER(c_void_p)]
- gnutls_sign_callback_get.restype = gnutls_sign_func
-@@ -937,14 +817,6 @@
- gnutls_transport_set_errno.argtypes = [gnutls_session_t, c_int]
- gnutls_transport_set_errno.restype = None
-
--gnutls_transport_set_global_errno = libgnutls.gnutls_transport_set_global_errno
--gnutls_transport_set_global_errno.argtypes = [c_int]
--gnutls_transport_set_global_errno.restype = None
--
--gnutls_transport_set_lowat = libgnutls.gnutls_transport_set_lowat
--gnutls_transport_set_lowat.argtypes = [gnutls_session_t, c_int]
--gnutls_transport_set_lowat.restype = None
--
- gnutls_transport_set_ptr = libgnutls.gnutls_transport_set_ptr
- gnutls_transport_set_ptr.argtypes = [gnutls_session_t, gnutls_transport_ptr_t]
- gnutls_transport_set_ptr.restype = None
-@@ -1501,10 +1373,6 @@
- gnutls_x509_privkey_sign_hash.argtypes = [gnutls_x509_privkey_t, POINTER(gnutls_datum_t), POINTER(gnutls_datum_t)]
- gnutls_x509_privkey_sign_hash.restype = c_int
-
--gnutls_x509_privkey_verify_data = libgnutls.gnutls_x509_privkey_verify_data
--gnutls_x509_privkey_verify_data.argtypes = [gnutls_x509_privkey_t, c_uint, POINTER(gnutls_datum_t), POINTER(gnutls_datum_t)]
--gnutls_x509_privkey_verify_data.restype = c_int
--
- gnutls_x509_rdn_get = libgnutls.gnutls_x509_rdn_get
- gnutls_x509_rdn_get.argtypes = [POINTER(gnutls_datum_t), c_char_p, POINTER(size_t)]
- gnutls_x509_rdn_get.restype = c_int
-diff -ru gnutls/library/__init__.py gnutls.fixed/library/__init__.py
---- gnutls/library/__init__.py 2011-11-11 17:23:49.000000000 +0000
-+++ gnutls.fixed/library/__init__.py 2012-08-01 11:57:42.284290997 +0100
-@@ -53,6 +53,9 @@
- else:
- raise RuntimeError('cannot find lib%s on this system' % name)
-
-+def do_nothing(*args, **kwargs):
-+ pass
-+
-
- def initialize_gcrypt():
- from ctypes import c_void_p
-@@ -104,7 +107,7 @@
- libgcrypt = load_library(name='gcrypt', version=11)
- gcry_control = libgcrypt.gcry_control
- else:
-- gcry_control = libgnutls.gcry_control
-+ gcry_control = do_nothing
-
- gcry_control(GCRYCTL_SET_THREAD_CBS, c_void_p(gcrypt_thread_callbacks_ptr))
- if system == 'cygwin':
-@@ -117,12 +120,10 @@
-
-
-
--libgnutls = load_library(name='gnutls', version=26)
--libgnutls_extra = load_library(name='gnutls-extra', version=26)
-+libgnutls = load_library(name='gnutls', version=28)
-
- initialize_gcrypt()
- libgnutls.gnutls_global_init()
--libgnutls_extra.gnutls_global_init_extra()
-
-
- from gnutls.library import constants
-@@ -136,9 +137,6 @@
- if functions.gnutls_check_version(__need_version__) is None:
- version = functions.gnutls_check_version(None)
- raise RuntimeError("Found GNUTLS library version %s, but at least version %s is required" % (version, __need_version__))
--if functions.gnutls_extra_check_version(__need_version__) is None:
-- version = functions.gnutls_extra_check_version(None)
-- raise RuntimeError("Found GNUTLS extra library version %s, but at least version %s is required" % (version, __need_version__))
-
-
- del get_system_name, library_locations, load_library, initialize_gcrypt
diff --git a/community-testing/python2-imaging/PKGBUILD b/community-testing/python2-imaging/PKGBUILD
deleted file mode 100644
index 397dfceba..000000000
--- a/community-testing/python2-imaging/PKGBUILD
+++ /dev/null
@@ -1,50 +0,0 @@
-# $Id: PKGBUILD 78139 2012-10-16 12:09:48Z allan $
-# Maintainer: Kyle Keen <keenerd@gmail.com>
-# Contributor: Stéphane Gaudreault <stephane@archlinux.org>
-# Contributor: Allan McRae <allan@archlinux.org>
-# Contributor: simo <simo@archlinux.org>
-
-pkgname=python2-imaging
-pkgver=1.1.7
-pkgrel=5
-pkgdesc="PIL. Provides image processing capabilities for python"
-arch=('i686' 'x86_64')
-url="http://www.pythonware.com/products/pil/index.htm"
-license=('custom:"pil"')
-depends=('python2' 'libjpeg' 'freetype2' 'lcms')
-makedepends=('tk' 'sane')
-optdepends=('tk: for the ImageTK module'
- 'sane: for the ImageSane module')
-provides=("pil=${pkgver}" "python-imaging=${pkgver}")
-conflicts=('pil' 'python-imaging')
-replaces=('pil' 'python-imaging')
-source=(http://effbot.org/downloads/Imaging-${pkgver}.tar.gz)
-md5sums=('fc14a54e1ce02a0225be8854bfba478e')
-
-build() {
- cd "${srcdir}/Imaging-${pkgver}"
- python2 setup.py build_ext
- cd Sane
- python2 setup.py build_ext
-}
-
-package() {
- cd "${srcdir}/Imaging-${pkgver}"
- python2 setup.py install --root="${pkgdir}" --optimize=1
-
- pushd Sane
- python2 setup.py install --root="${pkgdir}" --optimize=1
- popd
-
- install -dm755 "${pkgdir}/usr/include/python2.7/"
- install -m644 -t "${pkgdir}/usr/include/python2.7/" libImaging/*.h
-
- # do not have files ending in .py in /usr/bin
- for f in pildriver pilprint pilconvert pilfile pilfont; do
- mv "${pkgdir}"/usr/bin/${f}{.py,}
- done
-
- # Install license
- install -Dm644 "${srcdir}/Imaging-${pkgver}/README" \
- "${pkgdir}/usr/share/licenses/${pkgname}/README"
-}
diff --git a/community-testing/python2-lcms/PKGBUILD b/community-testing/python2-lcms/PKGBUILD
deleted file mode 100644
index 3b75364ab..000000000
--- a/community-testing/python2-lcms/PKGBUILD
+++ /dev/null
@@ -1,37 +0,0 @@
-# $Id: PKGBUILD 66130 2012-02-23 01:39:55Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: Connor Behan <connor.behan@gmail.com>
-
-pkgname=python2-lcms
-pkgver=1.19
-_mver=1.19
-pkgrel=4
-pkgdesc="LittleCMS Python bindings"
-arch=(i686 x86_64)
-license=('CUSTOM')
-depends=('libtiff' 'python2' 'lcms')
-url="http://www.littlecms.com"
-options=('!libtool')
-source=(http://downloads.sourceforge.net/project/lcms/lcms/${_mver}/lcms-$pkgver.tar.gz)
-md5sums=('8af94611baf20d9646c7c2c285859818')
-
-build() {
- cd $srcdir/lcms-${_mver}
- ./configure --prefix=/usr --with-python
- make
-}
-
-package() {
- cd $srcdir/lcms-${_mver}
- make DESTDIR=$pkgdir install
- install -D -m0644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
- rm -rf $pkgdir/usr/bin \
- $pkgdir/usr/include \
- $pkgdir/usr/lib/pkgconfig \
- $pkgdir/usr/lib/liblcms.* \
- $pkgdir/usr/share/man/man1/icc2ps.1 \
- $pkgdir/usr/share/man/man1/icclink.1 \
- $pkgdir/usr/share/man/man1/jpegicc.1 \
- $pkgdir/usr/share/man/man1/tifficc.1 \
- $pkgdir/usr/share/man/man1/wtpt.1
-}
diff --git a/community-testing/python2-m2crypto/PKGBUILD b/community-testing/python2-m2crypto/PKGBUILD
deleted file mode 100644
index a68c5a35d..000000000
--- a/community-testing/python2-m2crypto/PKGBUILD
+++ /dev/null
@@ -1,27 +0,0 @@
-# $Id: PKGBUILD 140196 2011-10-09 08:27:16Z angvp $
-# Maintainer: Angel Velasquez <angvp@archlinux.org>
-# Contributor: Sergej Pupykin <sergej@aur.archlinux.org>
-# Contributor: William Rea <sillywilly@gmail.com>
-
-pkgname=python2-m2crypto
-pkgver=0.21.1
-pkgrel=2
-pkgdesc="A crypto and SSL toolkit for Python"
-arch=('i686' 'x86_64')
-url="http://wiki.osafoundation.org/bin/view/Projects/MeTooCrypto"
-license=('BSD')
-depends=('python2' 'openssl')
-makedepends=('swig')
-source=("http://pypi.python.org/packages/source/M/M2Crypto/M2Crypto-${pkgver}.tar.gz")
-md5sums=('f93d8462ff7646397a9f77a2fe602d17')
-
-build() {
- cd "${srcdir}/M2Crypto-${pkgver}"
- python2 setup.py build
-}
-
-package() {
- cd "${srcdir}/M2Crypto-${pkgver}"
- python2 setup.py install --root="${pkgdir}/" --optimize=1
- install -D -m644 LICENCE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
diff --git a/community-testing/python2-m2crypto/openssl1.patch b/community-testing/python2-m2crypto/openssl1.patch
deleted file mode 100644
index 59dba554d..000000000
--- a/community-testing/python2-m2crypto/openssl1.patch
+++ /dev/null
@@ -1,531 +0,0 @@
-Index: tests/test_ssl.py
-===================================================================
---- tests/test_ssl.py (revision 698)
-+++ tests/test_ssl.py (working copy)
-@@ -405,8 +405,11 @@
- try:
- ctx = SSL.Context('sslv23', weak_crypto=1)
- s = SSL.Connection(ctx)
-- s.connect(self.srv_addr)
-- self.failUnlessEqual(s.get_version(), 'SSLv2')
-+ if m2.OPENSSL_VERSION_NUMBER < 0x10000000: # SSLv2 ciphers disabled by default in newer OpenSSL
-+ s.connect(self.srv_addr)
-+ self.failUnlessEqual(s.get_version(), 'SSLv2')
-+ else:
-+ self.assertRaises(SSL.SSLError, s.connect, self.srv_addr)
- s.close()
- finally:
- self.stop_server(pid)
-Index: tests/test_x509.py
-===================================================================
---- tests/test_x509.py (revision 698)
-+++ tests/test_x509.py (working copy)
-@@ -142,7 +142,7 @@
- cn.set_data("Hello There!")
- assert cn.get_data().as_text() == "Hello There!", cn.get_data().as_text()
-
-- assert n.as_hash() == 1697185131
-+ self.assertEquals(n.as_hash(), 1697185131)
-
- self.assertRaises(IndexError, lambda: n[100])
- self.assert_(n[10])
-Index: tests/test_smime.py
-===================================================================
---- tests/test_smime.py (revision 698)
-+++ tests/test_smime.py (working copy)
-@@ -6,7 +6,7 @@
- """
-
- import unittest
--from M2Crypto import SMIME, BIO, Rand, X509, EVP
-+from M2Crypto import SMIME, BIO, Rand, X509, EVP, Err
-
- class SMIMETestCase(unittest.TestCase):
- cleartext = 'some text to manipulate'
-@@ -213,7 +213,7 @@
-
- self.filenameSmime = 'tests/sig.p7s'
- f = BIO.openfile(self.filenameSmime, 'wb')
-- assert s.write(f, p7, BIO.MemoryBuffer('some text')) == 1
-+ assert s.write(f, p7, BIO.MemoryBuffer('some text')) == 1, Err.get_error()
- f.close()
-
- def test_write_pkcs7_der(self):
-Index: SWIG/_evp.i
-===================================================================
---- SWIG/_evp.i (revision 695)
-+++ SWIG/_evp.i (working copy)
-@@ -180,7 +180,7 @@
-
- PKCS5_PBKDF2_HMAC_SHA1(passbuf, passlen, saltbuf, saltlen, iter,
- keylen, key);
-- ret = PyString_FromStringAndSize(key, keylen);
-+ ret = PyString_FromStringAndSize((char*)key, keylen);
- OPENSSL_cleanse(key, keylen);
- return ret;
- }
-@@ -339,7 +339,7 @@
- klen = EVP_BytesToKey(cipher, md, (unsigned char *)sbuf,
- (unsigned char *)dbuf, dlen, iter,
- key, NULL); /* Since we are not returning IV no need to derive it */
-- ret = PyString_FromStringAndSize(key, klen);
-+ ret = PyString_FromStringAndSize((char*)key, klen);
- return ret;
- }
-
-@@ -435,7 +435,7 @@
- PyErr_SetString(_evp_err, ERR_reason_error_string(ERR_get_error()));
- return NULL;
- }
-- ret = PyString_FromStringAndSize(sigbuf, siglen);
-+ ret = PyString_FromStringAndSize((char*)sigbuf, siglen);
- OPENSSL_cleanse(sigbuf, siglen);
- OPENSSL_free(sigbuf);
- return ret;
-@@ -513,7 +513,7 @@
- PyErr_SetString(PyExc_ValueError, "EVP_PKEY as DER failed");
- return NULL;
- }
-- der = PyString_FromStringAndSize(pp, len);
-+ der = PyString_FromStringAndSize((char*)pp, len);
- OPENSSL_free(pp);
- return der;
- }
-Index: SWIG/_ssl.i
-===================================================================
---- SWIG/_ssl.i (revision 695)
-+++ SWIG/_ssl.i (working copy)
-@@ -17,13 +17,17 @@
- %apply Pointer NONNULL { SSL_CTX * };
- %apply Pointer NONNULL { SSL * };
- %apply Pointer NONNULL { SSL_CIPHER * };
--%apply Pointer NONNULL { STACK * };
-+%apply Pointer NONNULL { STACK_OF(SSL_CIPHER) * };
-+%apply Pointer NONNULL { STACK_OF(X509) * };
- %apply Pointer NONNULL { BIO * };
- %apply Pointer NONNULL { DH * };
- %apply Pointer NONNULL { RSA * };
- %apply Pointer NONNULL { EVP_PKEY *};
- %apply Pointer NONNULL { PyObject *pyfunc };
-
-+%rename(ssl_get_ciphers) SSL_get_ciphers;
-+extern STACK_OF(SSL_CIPHER) *SSL_get_ciphers(const SSL *ssl);
-+
- %rename(ssl_get_version) SSL_get_version;
- extern const char *SSL_get_version(CONST SSL *);
- %rename(ssl_get_error) SSL_get_error;
-@@ -668,29 +672,25 @@
- return SSL_CIPHER_get_bits(c, NULL);
- }
-
--STACK *ssl_get_ciphers(SSL *ssl) {
-- return (STACK *)SSL_get_ciphers(ssl);
-+int sk_ssl_cipher_num(STACK_OF(SSL_CIPHER) *stack) {
-+ return sk_SSL_CIPHER_num(stack);
- }
-
--int sk_ssl_cipher_num(STACK *stack) {
-- return sk_num(stack);
-+SSL_CIPHER *sk_ssl_cipher_value(STACK_OF(SSL_CIPHER) *stack, int idx) {
-+ return sk_SSL_CIPHER_value(stack, idx);
- }
-
--SSL_CIPHER *sk_ssl_cipher_value(STACK *stack, int idx) {
-- return (SSL_CIPHER *)sk_value(stack, idx);
-+STACK_OF(X509) *ssl_get_peer_cert_chain(SSL *ssl) {
-+ return SSL_get_peer_cert_chain(ssl);
- }
-
--STACK *ssl_get_peer_cert_chain(SSL *ssl) {
-- return (STACK *)SSL_get_peer_cert_chain(ssl);
-+int sk_x509_num(STACK_OF(X509) *stack) {
-+ return sk_X509_num(stack);
- }
-
--int sk_x509_num(STACK *stack) {
-- return sk_num(stack);
-+X509 *sk_x509_value(STACK_OF(X509) *stack, int idx) {
-+ return sk_X509_value(stack, idx);
- }
--
--X509 *sk_x509_value(STACK *stack, int idx) {
-- return (X509 *)sk_value(stack, idx);
--}
- %}
-
- %threadallow i2d_ssl_session;
-Index: SWIG/_x509.i
-===================================================================
---- SWIG/_x509.i (revision 695)
-+++ SWIG/_x509.i (working copy)
-@@ -148,8 +148,15 @@
- extern int X509_NAME_print_ex(BIO *, X509_NAME *, int, unsigned long);
- %rename(x509_name_print_ex_fp) X509_NAME_print_ex_fp;
- extern int X509_NAME_print_ex_fp(FILE *, X509_NAME *, int, unsigned long);
-+
-+#if OPENSSL_VERSION_NUMBER >= 0x10000000L
-+%rename(x509_name_hash) X509_NAME_hash_old;
-+extern unsigned long X509_NAME_hash_old(X509_NAME *);
-+#else
- %rename(x509_name_hash) X509_NAME_hash;
- extern unsigned long X509_NAME_hash(X509_NAME *);
-+#endif
-+
- %rename(x509_name_get_index_by_nid) X509_NAME_get_index_by_NID;
- extern int X509_NAME_get_index_by_NID(X509_NAME *, int, int);
-
-@@ -171,7 +178,7 @@
- if (PyString_Check($input)) {
- Py_ssize_t len;
-
-- $1 = PyString_AsString($input);
-+ $1 = (unsigned char *)PyString_AsString($input);
- len = PyString_Size($input);
- if (len > INT_MAX) {
- PyErr_SetString(PyExc_ValueError, "object too large");
-@@ -184,7 +191,7 @@
- }
- }
- %rename(x509_name_entry_set_data) X509_NAME_ENTRY_set_data;
--extern int X509_NAME_ENTRY_set_data( X509_NAME_ENTRY *, int, CONST unsigned char *, int);
-+extern int X509_NAME_ENTRY_set_data(X509_NAME_ENTRY *, int, CONST unsigned char *, int);
- %typemap(in) (CONST unsigned char *, int);
-
- %rename(x509_req_new) X509_REQ_new;
-@@ -230,7 +237,7 @@
- %rename(x509_store_ctx_free) X509_STORE_CTX_free;
- extern void X509_STORE_CTX_free(X509_STORE_CTX *);
- %rename(x509_store_ctx_get1_chain) X509_STORE_CTX_get1_chain;
--extern STACK *X509_STORE_CTX_get1_chain(X509_STORE_CTX *);
-+extern STACK_OF(X509) *X509_STORE_CTX_get1_chain(X509_STORE_CTX *);
-
- %rename(x509_extension_get_critical) X509_EXTENSION_get_critical;
- extern int X509_EXTENSION_get_critical(X509_EXTENSION *);
-@@ -348,7 +355,7 @@
- PyErr_SetString(_x509_err, ERR_reason_error_string(ERR_get_error()));
- }
- else {
-- ret = PyString_FromStringAndSize(buf, len);
-+ ret = PyString_FromStringAndSize((char*)buf, len);
- OPENSSL_free(buf);
- }
- return ret;
-@@ -435,12 +442,12 @@
- }
-
- int x509_name_set_by_nid(X509_NAME *name, int nid, PyObject *obj) {
-- return X509_NAME_add_entry_by_NID(name, nid, MBSTRING_ASC, PyString_AsString(obj), -1, -1, 0);
-+ return X509_NAME_add_entry_by_NID(name, nid, MBSTRING_ASC, (unsigned char *)PyString_AsString(obj), -1, -1, 0);
- }
-
- /* x509_name_add_entry_by_txt */
- int x509_name_add_entry_by_txt(X509_NAME *name, char *field, int type, char *bytes, int len, int loc, int set) {
-- return X509_NAME_add_entry_by_txt(name, field, type, bytes, len, loc, set);
-+ return X509_NAME_add_entry_by_txt(name, field, type, (unsigned char *)bytes, len, loc, set);
- }
-
- PyObject *x509_name_get_der(X509_NAME *name)
-@@ -450,23 +457,23 @@
- }
-
- /* sk_X509_new_null() is a macro returning "STACK_OF(X509) *". */
--STACK *sk_x509_new_null(void) {
-- return (STACK *)sk_X509_new_null();
-+STACK_OF(X509) *sk_x509_new_null(void) {
-+ return sk_X509_new_null();
- }
-
- /* sk_X509_free() is a macro. */
--void sk_x509_free(STACK *stack) {
-- sk_X509_free((STACK_OF(X509) *)stack);
-+void sk_x509_free(STACK_OF(X509) *stack) {
-+ sk_X509_free(stack);
- }
-
- /* sk_X509_push() is a macro. */
--int sk_x509_push(STACK *stack, X509 *x509) {
-- return sk_X509_push((STACK_OF(X509) *)stack, x509);
-+int sk_x509_push(STACK_OF(X509) *stack, X509 *x509) {
-+ return sk_X509_push(stack, x509);
- }
-
- /* sk_X509_pop() is a macro. */
--X509 *sk_x509_pop(STACK *stack) {
-- return sk_X509_pop((STACK_OF(X509) *)stack);
-+X509 *sk_x509_pop(STACK_OF(X509) *stack) {
-+ return sk_X509_pop(stack);
- }
-
- int x509_store_load_locations(X509_STORE *store, const char *file) {
-@@ -493,21 +500,29 @@
- return X509_REQ_set_version(x, version);
- }
-
--int x509_req_add_extensions(X509_REQ *req, STACK *exts) {
-- return X509_REQ_add_extensions(req, (STACK_OF(X509_EXTENSION) *)exts);
-+int x509_req_add_extensions(X509_REQ *req, STACK_OF(X509_EXTENSION) *exts) {
-+ return X509_REQ_add_extensions(req, exts);
- }
-
--X509_NAME_ENTRY *x509_name_entry_create_by_txt( X509_NAME_ENTRY **ne, char *field, int type, char *bytes, int len) {
-- return X509_NAME_ENTRY_create_by_txt( ne, field, type, bytes, len);
-+X509_NAME_ENTRY *x509_name_entry_create_by_txt(X509_NAME_ENTRY **ne, char *field, int type, char *bytes, int len) {
-+ return X509_NAME_ENTRY_create_by_txt( ne, field, type, (unsigned char *)bytes, len);
- }
-
--LHASH *
--x509v3_lhash(){
-- return lh_new(NULL,NULL);
-+#if OPENSSL_VERSION_NUMBER >= 0x10000000L
-+LHASH_OF(CONF_VALUE)
-+#else
-+LHASH
-+#endif
-+*x509v3_lhash() {
-+ return lh_new(NULL, NULL); /* Should probably be lh_CONF_VALUE_new but won't compile. */
- }
-
- X509V3_CTX *
--x509v3_set_conf_lhash(LHASH * lhash){
-+#if OPENSSL_VERSION_NUMBER >= 0x10000000L
-+x509v3_set_conf_lhash(LHASH_OF(CONF_VALUE) * lhash) {
-+#else
-+x509v3_set_conf_lhash(LHASH * lhash) {
-+#endif
- X509V3_CTX * ctx;
- if (!(ctx=(X509V3_CTX *)PyMem_Malloc(sizeof(X509V3_CTX)))) {
- PyErr_SetString(PyExc_MemoryError, "x509v3_set_conf_lhash");
-@@ -517,11 +532,20 @@
- return ctx;
- }
-
--X509_EXTENSION *x509v3_ext_conf(LHASH *conf, X509V3_CTX *ctx, char *name, char *value) {
-+X509_EXTENSION *
-+#if OPENSSL_VERSION_NUMBER >= 0x10000000L
-+x509v3_ext_conf(LHASH_OF(CONF_VALUE) *conf, X509V3_CTX *ctx, char *name, char *value) {
-+#else
-+x509v3_ext_conf(LHASH *conf, X509V3_CTX *ctx, char *name, char *value) {
-+#endif
- X509_EXTENSION * ext = NULL;
- ext = X509V3_EXT_conf(conf, ctx, name, value);
- PyMem_Free(ctx);
-+#if OPENSSL_VERSION_NUMBER >= 0x10000000L
-+ lh_CONF_VALUE_free(conf);
-+#else
- lh_free(conf);
-+#endif
- return ext;
- }
-
-@@ -543,33 +567,33 @@
- }
-
- /* sk_X509_EXTENSION_new_null is a macro. */
--STACK *sk_x509_extension_new_null(void) {
-- return (STACK *)sk_X509_EXTENSION_new_null();
-+STACK_OF(X509_EXTENSION) *sk_x509_extension_new_null(void) {
-+ return sk_X509_EXTENSION_new_null();
- }
-
- /* sk_X509_EXTENSION_free() is a macro. */
--void sk_x509_extension_free(STACK *stack) {
-- sk_X509_EXTENSION_free((STACK_OF(X509_EXTENSION) *)stack);
-+void sk_x509_extension_free(STACK_OF(X509_EXTENSION) *stack) {
-+ sk_X509_EXTENSION_free(stack);
- }
-
- /* sk_X509_EXTENSION_push() is a macro. */
--int sk_x509_extension_push(STACK *stack, X509_EXTENSION *x509_ext) {
-- return sk_X509_EXTENSION_push((STACK_OF(X509_EXTENSION) *)stack, x509_ext);
-+int sk_x509_extension_push(STACK_OF(X509_EXTENSION) *stack, X509_EXTENSION *x509_ext) {
-+ return sk_X509_EXTENSION_push(stack, x509_ext);
- }
-
- /* sk_X509_EXTENSION_pop() is a macro. */
--X509_EXTENSION *sk_x509_extension_pop(STACK *stack) {
-- return sk_X509_EXTENSION_pop((STACK_OF(X509_EXTENSION) *)stack);
-+X509_EXTENSION *sk_x509_extension_pop(STACK_OF(X509_EXTENSION) *stack) {
-+ return sk_X509_EXTENSION_pop(stack);
- }
-
- /* sk_X509_EXTENSION_num() is a macro. */
--int sk_x509_extension_num(STACK *stack) {
-- return sk_X509_EXTENSION_num((STACK_OF(X509_EXTENSION) *)stack);
-+int sk_x509_extension_num(STACK_OF(X509_EXTENSION) *stack) {
-+ return sk_X509_EXTENSION_num(stack);
- }
-
- /* sk_X509_EXTENSION_value() is a macro. */
--X509_EXTENSION *sk_x509_extension_value(STACK *stack, int i) {
-- return sk_X509_EXTENSION_value((STACK_OF(X509_EXTENSION) *)stack, i);
-+X509_EXTENSION *sk_x509_extension_value(STACK_OF(X509_EXTENSION) *stack, int i) {
-+ return sk_X509_EXTENSION_value(stack, i);
- }
-
- /* X509_STORE_CTX_get_app_data is a macro. */
-@@ -590,7 +614,7 @@
- #define I2DTYPE int (*)()
- #endif
-
--STACK *
-+STACK_OF(X509) *
- make_stack_from_der_sequence(PyObject * pyEncodedString){
- STACK_OF(X509) *certs;
- Py_ssize_t encoded_string_len;
-@@ -606,7 +630,7 @@
- return NULL;
- }
-
-- certs = ASN1_seq_unpack((unsigned char *)encoded_string, encoded_string_len, (D2ITYPE)d2i_X509, (void(*)())X509_free );
-+ certs = ASN1_seq_unpack_X509((unsigned char *)encoded_string, encoded_string_len, d2i_X509, X509_free );
- if (!certs) {
- PyErr_SetString(_x509_err, ERR_reason_error_string(ERR_get_error()));
- return NULL;
-@@ -616,13 +640,13 @@
- }
-
- PyObject *
--get_der_encoding_stack(STACK * stack){
-+get_der_encoding_stack(STACK_OF(X509) *stack){
- PyObject * encodedString;
-
- unsigned char * encoding;
- int len;
-
-- encoding = ASN1_seq_pack((STACK_OF(X509)*) stack, (I2DTYPE)i2d_X509, NULL, &len);
-+ encoding = ASN1_seq_pack_X509(stack, i2d_X509, NULL, &len);
- if (!encoding) {
- PyErr_SetString(_x509_err, ERR_reason_error_string(ERR_get_error()));
- return NULL;
-Index: SWIG/_aes.i
-===================================================================
---- SWIG/_aes.i (revision 695)
-+++ SWIG/_aes.i (working copy)
-@@ -76,7 +76,7 @@
- AES_encrypt((const unsigned char *)in, out, key);
- else
- AES_decrypt((const unsigned char *)in, out, key);
-- return PyString_FromStringAndSize(out, outlen);
-+ return PyString_FromStringAndSize((char*)out, outlen);
- }
-
- int AES_type_check(AES_KEY *key) {
-Index: SWIG/_util.i
-===================================================================
---- SWIG/_util.i (revision 695)
-+++ SWIG/_util.i (working copy)
-@@ -48,7 +48,7 @@
- PyErr_SetString(_util_err, ERR_reason_error_string(ERR_get_error()));
- return NULL;
- }
-- obj = PyString_FromStringAndSize(ret, len);
-+ obj = PyString_FromStringAndSize((char*)ret, len);
- OPENSSL_free(ret);
- return obj;
- }
-Index: SWIG/_m2crypto.i
-===================================================================
---- SWIG/_m2crypto.i (revision 695)
-+++ SWIG/_m2crypto.i (working copy)
-@@ -38,6 +38,19 @@
- #define CONST098
- #endif
-
-+/* Bring in STACK_OF macro definition */
-+%include <openssl/safestack.h>
-+
-+/* Bring in LHASH_OF macro definition */
-+/* XXX Can't include lhash.h where LHASH_OF is defined, because it includes
-+ XXX stdio.h etc. which we fail to include. So we have to (re)define
-+ XXX LHASH_OF here instead.
-+%include <openssl/lhash.h>
-+*/
-+#if OPENSSL_VERSION_NUMBER >= 0x10000000L
-+#define LHASH_OF(type) struct lhash_st_##type
-+#endif
-+
- %include constraints.i
- %include _threads.i
- %include _lib.i
-Index: SWIG/_rand.i
-===================================================================
---- SWIG/_rand.i (revision 695)
-+++ SWIG/_rand.i (working copy)
-@@ -87,7 +87,7 @@
- Py_INCREF(Py_None);
- return Py_None;
- } else {
-- PyTuple_SET_ITEM(tuple, 0, PyString_FromStringAndSize(blob, n));
-+ PyTuple_SET_ITEM(tuple, 0, PyString_FromStringAndSize((char*)blob, n));
- PyMem_Free(blob);
- PyTuple_SET_ITEM(tuple, 1, PyInt_FromLong((long)ret));
- return tuple;
-Index: SWIG/_pkcs7.i
-===================================================================
---- SWIG/_pkcs7.i (revision 695)
-+++ SWIG/_pkcs7.i (working copy)
-@@ -12,7 +12,7 @@
- %apply Pointer NONNULL { EVP_CIPHER * };
- %apply Pointer NONNULL { EVP_PKEY * };
- %apply Pointer NONNULL { PKCS7 * };
--%apply Pointer NONNULL { STACK * };
-+%apply Pointer NONNULL { STACK_OF(X509) * };
- %apply Pointer NONNULL { X509 * };
-
- %rename(pkcs7_new) PKCS7_new;
-@@ -54,8 +54,8 @@
-
- %threadallow pkcs7_encrypt;
- %inline %{
--PKCS7 *pkcs7_encrypt(STACK *stack, BIO *bio, EVP_CIPHER *cipher, int flags) {
-- return PKCS7_encrypt((STACK_OF(X509) *)stack, bio, cipher, flags);
-+PKCS7 *pkcs7_encrypt(STACK_OF(X509) *stack, BIO *bio, EVP_CIPHER *cipher, int flags) {
-+ return PKCS7_encrypt(stack, bio, cipher, flags);
- }
-
- PyObject *pkcs7_decrypt(PKCS7 *pkcs7, EVP_PKEY *pkey, X509 *cert, int flags) {
-@@ -96,14 +96,14 @@
-
- %threadallow pkcs7_sign1;
- %inline %{
--PKCS7 *pkcs7_sign1(X509 *x509, EVP_PKEY *pkey, STACK *stack, BIO *bio, int flags) {
-- return PKCS7_sign(x509, pkey, (STACK_OF(X509) *)stack, bio, flags);
-+PKCS7 *pkcs7_sign1(X509 *x509, EVP_PKEY *pkey, STACK_OF(X509) *stack, BIO *bio, int flags) {
-+ return PKCS7_sign(x509, pkey, stack, bio, flags);
- }
- %}
-
- %threadallow pkcs7_verify1;
- %inline %{
--PyObject *pkcs7_verify1(PKCS7 *pkcs7, STACK *stack, X509_STORE *store, BIO *data, int flags) {
-+PyObject *pkcs7_verify1(PKCS7 *pkcs7, STACK_OF(X509) *stack, X509_STORE *store, BIO *data, int flags) {
- int outlen;
- char *outbuf;
- BIO *bio;
-@@ -113,7 +113,7 @@
- PyErr_SetString(PyExc_MemoryError, "pkcs7_verify1");
- return NULL;
- }
-- if (!PKCS7_verify(pkcs7, (STACK_OF(X509) *)stack, store, data, bio, flags)) {
-+ if (!PKCS7_verify(pkcs7, stack, store, data, bio, flags)) {
- PyErr_SetString(_pkcs7_err, ERR_reason_error_string(ERR_get_error()));
- BIO_free(bio);
- return NULL;
-@@ -131,7 +131,7 @@
- return ret;
- }
-
--PyObject *pkcs7_verify0(PKCS7 *pkcs7, STACK *stack, X509_STORE *store, int flags) {
-+PyObject *pkcs7_verify0(PKCS7 *pkcs7, STACK_OF(X509) *stack, X509_STORE *store, int flags) {
- return pkcs7_verify1(pkcs7, stack, store, NULL, flags);
- }
- %}
-@@ -229,7 +229,7 @@
- }
-
- /* return STACK_OF(X509)* */
--STACK *pkcs7_get0_signers(PKCS7 *p7, STACK *certs, int flags) {
-+STACK_OF(X509) *pkcs7_get0_signers(PKCS7 *p7, STACK_OF(X509) *certs, int flags) {
- return PKCS7_get0_signers(p7, certs, flags);
- }
-
diff --git a/community-testing/python2-pybluez/PKGBUILD b/community-testing/python2-pybluez/PKGBUILD
deleted file mode 100644
index 6007614a6..000000000
--- a/community-testing/python2-pybluez/PKGBUILD
+++ /dev/null
@@ -1,23 +0,0 @@
-# $Id: PKGBUILD 66132 2012-02-23 01:40:38Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: cs-cam - me.at.camdaniel.com
-
-pkgname=python2-pybluez
-pkgver=0.18
-pkgrel=4
-pkgdesc="Python wrapper for the BlueZ Bluetooth stack"
-arch=('i686' 'x86_64')
-url="http://code.google.com/p/pybluez/"
-license=('GPL')
-provides=('pybluez')
-conflicts=('pybluez')
-replaces=('pybluez')
-depends=('python2' 'bluez')
-source=(http://pybluez.googlecode.com/files/PyBluez-$pkgver.tar.gz)
-md5sums=('be8c8ce615c3189fda1aaf3d568314b2')
-
-build() {
- cd $srcdir/PyBluez-$pkgver
- python2 setup.py install --root=$pkgdir
- ln -s bluetooth/_bluetooth.so $pkgdir/usr/lib/python2.7/site-packages/_bluetooth.so
-}
diff --git a/community-testing/python2-pyxmpp/PKGBUILD b/community-testing/python2-pyxmpp/PKGBUILD
deleted file mode 100644
index 49096a86f..000000000
--- a/community-testing/python2-pyxmpp/PKGBUILD
+++ /dev/null
@@ -1,20 +0,0 @@
-# $Id: PKGBUILD 72078 2012-06-08 09:35:02Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: William Rea <sillywilly@gmail.com>
-
-pkgname=python2-pyxmpp
-pkgver=1.1.2
-pkgrel=2
-pkgdesc="A Python XMPP and Jabber implementation based on libxml2"
-arch=('i686' 'x86_64')
-url="http://pyxmpp.jajcus.net/"
-license=('LGPL')
-depends=('python2-dnspython' 'libxml2' 'python2-m2crypto')
-source=(http://pyxmpp.jajcus.net/downloads/pyxmpp-$pkgver.tar.gz)
-md5sums=('a38abf032aca0408b6055cd94296eb75')
-
-build() {
- cd $srcdir/pyxmpp-$pkgver
- python2 setup.py build
- python2 setup.py install --root=$pkgdir
-}
diff --git a/community-testing/python2-simplejson/PKGBUILD b/community-testing/python2-simplejson/PKGBUILD
deleted file mode 100644
index 1ec0a97b5..000000000
--- a/community-testing/python2-simplejson/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# $Id: PKGBUILD 74926 2012-08-09 22:02:03Z jlichtblau $
-# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
-# Contributor: Allan McRae <allan@archlinux.org>
-# Contributor: David Moore <davidm@sjsoft.com>
-
-pkgname=python2-simplejson
-pkgver=2.6.1
-pkgrel=3
-pkgdesc="Simple, fast, extensible JSON encoder/decoder for Python"
-license=('MIT')
-arch=('i686' 'x86_64')
-url="http://undefined.org/python/#simplejson"
-depends=('python2')
-makedepends=('python2-distribute')
-provides=("python-simplejson=$pkgver")
-conflicts=('python-simplejson')
-replaces=('python-simplejson')
-changelog=$pkgname.changelog
-source=($pkgname-$pkgver.tar.gz::https://github.com/simplejson/simplejson/tarball/v${pkgver})
-sha256sums=('484b4cf0a545fc59a19ea8eed3a957919a89be116804b53712ec63466d7c3a31')
-
-build() {
- cd ${srcdir}/simplejson-simplejson-*
-
- python2 setup.py install --root=${pkgdir}
-
-# License
- install -Dm644 ${srcdir}/simplejson-simplejson-*/LICENSE.txt \
- ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
-}
diff --git a/community-testing/python2-simplejson/python2-simplejson.changelog b/community-testing/python2-simplejson/python2-simplejson.changelog
deleted file mode 100644
index c1e227d24..000000000
--- a/community-testing/python2-simplejson/python2-simplejson.changelog
+++ /dev/null
@@ -1,20 +0,0 @@
-2012-07-09 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
- * python-simplejson 2.6.1-1
-
-2012-05-24 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
- * python-simplejson 2.5.2-1
-
-2012-03-08 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
- * python-simplejson 2.3.3-1
-
-2011-10-26 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
- * python-simplejson 2.2.1-1
-
-2011-05-01 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
- * python-simplejson 2.1.3-1
-
-2010-05-15 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
- * Update to major release 2.1.1
-
-2010-03-27 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
- * Update to major release 2.1.0
diff --git a/community-testing/python2-vorbissimple/PKGBUILD b/community-testing/python2-vorbissimple/PKGBUILD
deleted file mode 100644
index ba0a8be63..000000000
--- a/community-testing/python2-vorbissimple/PKGBUILD
+++ /dev/null
@@ -1,21 +0,0 @@
-# $Id: PKGBUILD 66136 2012-02-23 01:43:46Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: William Rea <sillywilly@gmail.com>
-
-pkgname=python2-vorbissimple
-pkgver=0.0.2
-pkgrel=6
-pkgdesc="Python bindings for vorbissimple"
-arch=('i686' 'x86_64')
-url="http://kamaelia.sourceforge.net"
-license=('MPL')
-depends=('python2' 'vorbissimple')
-makedepends=('pyrex')
-source=(http://downloads.sourceforge.net/kamaelia/vorbissimple-$pkgver.tar.gz)
-md5sums=('332077b25a4c9547947ab0922361ffda')
-
-build() {
- cd $srcdir/vorbissimple-$pkgver/python
- sed -i 's#__new__#__cinit__#' vorbissimple.pyx
- python2 setup.py install --root=$pkgdir
-}
diff --git a/community-testing/qcad/PKGBUILD b/community-testing/qcad/PKGBUILD
deleted file mode 100644
index 7cecac054..000000000
--- a/community-testing/qcad/PKGBUILD
+++ /dev/null
@@ -1,56 +0,0 @@
-# $Id: PKGBUILD 77433 2012-10-10 12:17:59Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
-# Contributor: Giovanni Scafora <linuxmania@gmail.com>
-# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
-
-pkgname=qcad
-pkgver=2.0.5.0
-pkgrel=11
-pkgdesc="A 2D CAD package based upon Qt"
-arch=('i686' 'x86_64')
-url="http://www.ribbonsoft.com/qcad.html"
-license=('GPL2')
-depends=('qt3')
-makedepends=('glu')
-options=(libtool)
-source=(http://www.ribbonsoft.com/archives/$pkgname/$pkgname-$pkgver-1-community.src.tar.gz
- qcad.xpm
- QCad.desktop
- qcad-intptr.patch
- qcad.patch)
- # http://ghost1227.com/files/misc/qm.tar.gz)
-md5sums=('96b6a56027782aec953c9c4e64c5998c'
- 'da32fec0d2fb85d96126bf28bb0ab9ff'
- 'b4d1eb6724b4b41f191f1ab6fd859c39'
- '92f900fe1fd3a8f841232b587b49c7da'
- '7e6779b1e3b10da1eb4daf36d93f8479')
-
-build() {
- export PATH="/opt/qt/bin:$PATH"
- export QTDIR=/opt/qt
-
- cd ${srcdir}/${pkgname}-2.0.5.0-1-community.src
-
- [ "$CARCH" = "x86_64" ] && {
- patch -p1 < ../qcad-intptr.patch;
- sed -i '1,1i#include <stdint.h>' qcadlib/src/engine/rs_layer.cpp qcadlib/src/engine/rs_entity.cpp;
- }
- patch -p1 < ../qcad.patch
- sed -i "s:"-pedantic"::g" mkspecs/defs.pro
-
- cd scripts
- ./build_qcad.sh notrans
-}
-
-package() {
- cd ${srcdir}/${pkgname}-2.0.5.0-1-community.src/qcad
-
- install -D -m755 qcad ${pkgdir}/usr/bin/qcad
- install -d ${pkgdir}/usr/share/{qcad,pixmaps,applications}
- install -m644 ../../qcad.xpm ${pkgdir}/usr/share/pixmaps/qcad.xpm
- install -m644 ../../QCad.desktop \
- ${pkgdir}/usr/share/applications/QCad.desktop
- cp -r fonts patterns data library machines ${pkgdir}/usr/share/qcad
- #cp -r ${srcdir}/qm ${pkgdir}/usr/share/qcad/
-}
diff --git a/community-testing/qcad/QCad.desktop b/community-testing/qcad/QCad.desktop
deleted file mode 100644
index a55f5940f..000000000
--- a/community-testing/qcad/QCad.desktop
+++ /dev/null
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-Exec=/usr/bin/qcad
-Icon=/usr/share/pixmaps/qcad.xpm
-Name=QCad
-StartupNotify=true
-Terminal=false
-Type=Application
-Categories=Application;Office;
diff --git a/community-testing/qcad/qcad-intptr.patch b/community-testing/qcad/qcad-intptr.patch
deleted file mode 100644
index 6d8b6acca..000000000
--- a/community-testing/qcad/qcad-intptr.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -Naur qcad-2.0.4.0-1.src.orig/qcadlib/src/engine/rs_entity.cpp qcad-2.0.4.0-1.src.patched/qcadlib/src/engine/rs_entity.cpp
---- qcad-2.0.4.0-1.src.orig/qcadlib/src/engine/rs_entity.cpp 2004-09-14 15:13:02.000000000 -0500
-+++ qcad-2.0.4.0-1.src.patched/qcadlib/src/engine/rs_entity.cpp 2006-06-23 14:21:40.000000000 -0500
-@@ -849,7 +849,7 @@
- os << " layer: NULL ";
- } else {
- os << " layer: " << e.layer->getName().latin1() << " ";
-- os << " layer address: " << (int)(e.layer) << " ";
-+ os << " layer address: " << (intptr_t)(e.layer) << " ";
- }
-
- os << e.pen << "\n";
-diff -Naur qcad-2.0.4.0-1.src.orig/qcadlib/src/engine/rs_layer.cpp qcad-2.0.4.0-1.src.patched/qcadlib/src/engine/rs_layer.cpp
---- qcad-2.0.4.0-1.src.orig/qcadlib/src/engine/rs_layer.cpp 2004-09-14 15:13:02.000000000 -0500
-+++ qcad-2.0.4.0-1.src.patched/qcadlib/src/engine/rs_layer.cpp 2006-06-23 14:21:23.000000000 -0500
-@@ -57,7 +57,7 @@
- os << " name: " << l.getName().latin1()
- << " pen: " << l.getPen()
- << " frozen: " << (int)l.isFrozen()
-- << " address: " << (int)(&l)
-+ << " address: " << (intptr_t)(&l)
- << std::endl;
- return os;
- }
diff --git a/community-testing/qcad/qcad.patch b/community-testing/qcad/qcad.patch
deleted file mode 100644
index f051f29af..000000000
--- a/community-testing/qcad/qcad.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-diff -aur qcad-2.0.5.0-1-community.src.orig/dxflib/src/dl_writer.h qcad-2.0.5.0-1-community.src.new/dxflib/src/dl_writer.h
---- qcad-2.0.5.0-1-community.src.orig/dxflib/src/dl_writer.h 2008-12-11 22:28:20.000000000 +0100
-+++ qcad-2.0.5.0-1-community.src.new/dxflib/src/dl_writer.h 2008-12-11 22:29:51.000000000 +0100
-@@ -37,6 +37,7 @@
- #endif
-
- #include <iostream>
-+#include <cstring>
-
- #include "dl_attributes.h"
- #include "dl_codes.h"
-diff -aur qcad-2.0.5.0-1-community.src.orig/qcadactions/src/rs_actionzoompan.cpp qcad-2.0.5.0-1-community.src.new/qcadactions/src/rs_actionzoompan.cpp
---- qcad-2.0.5.0-1-community.src.orig/qcadactions/src/rs_actionzoompan.cpp 2008-12-11 22:28:20.000000000 +0100
-+++ qcad-2.0.5.0-1-community.src.new/qcadactions/src/rs_actionzoompan.cpp 2008-12-11 22:29:51.000000000 +0100
-@@ -23,7 +23,7 @@
- ** not clear to you.
- **
- **********************************************************************/
--
-+#include <cstdlib>
- #include "rs_actionzoompan.h"
- #include "rs_snapper.h"
- #include "rs_point.h"
-Nur in qcad-2.0.5.0-1-community.src.new/qcadlib/src/engine: rs_entity.cpp.orig.rej.
-Nur in qcad-2.0.5.0-1-community.src.new/qcadlib/src/engine: rs_entity.cpp.rej.
-Nur in qcad-2.0.5.0-1-community.src.new/qcadlib/src/engine: rs_layer.cpp.orig.rej.
-Nur in qcad-2.0.5.0-1-community.src.new/qcadlib/src/engine: rs_layer.cpp.rej.
-diff -aur qcad-2.0.5.0-1-community.src.orig/qcadlib/src/information/rs_information.cpp qcad-2.0.5.0-1-community.src.new/qcadlib/src/information/rs_information.cpp
---- qcad-2.0.5.0-1-community.src.orig/qcadlib/src/information/rs_information.cpp 2008-12-11 22:28:20.000000000 +0100
-+++ qcad-2.0.5.0-1-community.src.new/qcadlib/src/information/rs_information.cpp 2008-12-11 22:30:18.000000000 +0100
-@@ -25,7 +25,7 @@
- **********************************************************************/
-
- #include "rs_information.h"
--
-+#include <cstdlib>
- #include "rs_constructionline.h"
-
-
-diff -aur qcad-2.0.5.0-1-community.src.orig/scripts/build_qcad.sh qcad-2.0.5.0-1-community.src.new/scripts/build_qcad.sh
---- qcad-2.0.5.0-1-community.src.orig/scripts/build_qcad.sh 2008-12-11 22:28:20.000000000 +0100
-+++ qcad-2.0.5.0-1-community.src.new/scripts/build_qcad.sh 2008-12-11 22:31:37.000000000 +0100
-@@ -16,9 +16,6 @@
- echo " distcc use distcc for distributed compilation. DISTCC_HOSTS must be set."
- echo
-
--echo "QTDIR is: $QTDIR"
--echo "QMAKESPEC is: $QMAKESPEC"
--
- # detect system:
- if [ "x$OS" == "xWindows_NT" ]
- then
diff --git a/community-testing/qcad/qcad.xpm b/community-testing/qcad/qcad.xpm
deleted file mode 100644
index e747fa984..000000000
--- a/community-testing/qcad/qcad.xpm
+++ /dev/null
@@ -1,132 +0,0 @@
-/* XPM */
-static const char * qcad_xpm[] = {
-"32 32 97 2",
-" c None",
-". c #3F3F3F",
-"+ c #010180",
-"@ c #FFFFFF",
-"# c #E0E0EF",
-"$ c #41419F",
-"% c #4545A1",
-"& c #4949A3",
-"* c #4D4DA5",
-"= c #5151A7",
-"- c #5555A9",
-"; c #5959AB",
-"> c #4444A2",
-", c #3C3C9D",
-"' c #40409F",
-") c #4444A1",
-"! c #4848A3",
-"~ c #4C4CA5",
-"{ c #5050A7",
-"] c #5454A9",
-"^ c #5858AB",
-"/ c #5D5DAD",
-"( c #6161AF",
-"_ c #6565B1",
-": c #5C5CAD",
-"< c #6060AF",
-"[ c #6464B1",
-"} c #6868B3",
-"| c #6C6CB5",
-"1 c #7070B7",
-"2 c #7474B9",
-"3 c #7878BB",
-"4 c #3F3F9E",
-"5 c #4343A0",
-"6 c #4747A3",
-"7 c #4B4BA5",
-"8 c #000000",
-"9 c #7C7CBD",
-"0 c #8080BF",
-"a c #4747A2",
-"b c #4B4BA4",
-"c c #4F4FA6",
-"d c #7B7BBD",
-"e c #7F7FBF",
-"f c #8383C1",
-"g c #5353A8",
-"h c #8787C3",
-"i c #5757AA",
-"j c #8B8BC5",
-"k c #4E4EA6",
-"l c #5252A8",
-"m c #5656AA",
-"n c #5A5AAC",
-"o c #8787C2",
-"p c #8F8FC7",
-"q c #5E5EAE",
-"r c #8B8BC4",
-"s c #8F8FC6",
-"t c #9393C8",
-"u c #6262B0",
-"v c #8E8EC6",
-"w c #9292C8",
-"x c #9696CA",
-"y c #6666B2",
-"z c #9A9ACC",
-"A c #6A6AB4",
-"B c #9E9ECE",
-"C c #6565B2",
-"D c #6969B4",
-"E c #6D6DB6",
-"F c #7171B8",
-"G c #7575BA",
-"H c #9D9DCE",
-"I c #A1A1D0",
-"J c #7171B7",
-"K c #7575B9",
-"L c #7979BC",
-"M c #7D7DBE",
-"N c #8181C0",
-"O c #8585C2",
-"P c #8989C4",
-"Q c #8D8DC6",
-"R c #9191C8",
-"S c #9595CA",
-"T c #9999CC",
-"U c #A5A5D2",
-"V c #7979BB",
-"W c #7D7DBD",
-"X c #8181BF",
-"Y c #8585C1",
-"Z c #8989C3",
-"` c #A9A9D4",
-" . c #8D8DC5",
-".. c #9191C7",
-"+. c #9595C9",
-"@. c #9999CB",
-"#. c #ADADD6",
-" ",
-" . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ",
-" . . . . . . . . ",
-" . . . + + + + + + + . . . ",
-" . @ . @ + + # # # # # # # + + @ . @ . @ . ",
-" . . . . . . . + # # $ % & * = - ; > > + . . . . . . . . . ",
-" . . + # , ' ) ! ~ { ] ^ / ( _ > + . . ",
-" . . + # , ' ) ! ~ { ] ^ : < [ } | > + . . ",
-" . @ + # , ' ) ! ~ { ] ^ : < [ } | 1 2 > + @ . @ . ",
-" . . . . + # ' ) ! . . . . . . . . . 1 2 3 > + . . . . . . ",
-" . + # 4 5 6 7 . @ @ @ @ @ @ @ . 8 3 9 0 > + . . ",
-" . + # 5 a b c . @ @ @ @ @ @ @ . 8 d e f > + . . ",
-" . + # a b c g . @ @ @ @ @ @ @ . 8 e f h > + . @ . ",
-" . . . + # b c g i . @ @ @ @ @ @ @ . 8 f h j > + . . . . . ",
-" . + # k l m n . @ @ @ @ @ @ @ . 8 o j p > + . . ",
-" . + # l m n q . @ @ @ @ @ @ @ . 8 r s t > + . . ",
-" . + # m n q u . @ @ @ @ @ @ @ . 8 v w x > + . @ . ",
-" . . . + # n q u y . @ @ @ @ @ @ @ . 8 w x z > + . . . . . ",
-" . + # q u y A . @ @ @ @ @ @ @ . 8 x z B > + . . ",
-" . + > C D E . . . . . . . . . 8 z B > + . . ",
-" . @ + > D E F G 8 8 8 8 8 8 8 8 8 H I > + @ . @ . ",
-" . . . . . + > J K L M N O P Q R S T H I U + . . . . . . . ",
-" . . + > V W X Y Z Q R S T H I U ` > + . . ",
-" . . + > > Y Z ...+.@.H > U ` #.#.> + . . ",
-" . @ . @ + + > > > > > > > + > #.#.#.> + . @ . ",
-" . . . . . . . . . . + + + + + + + . + > #.#.> + . . . . . ",
-" . . . . . + > > + . . ",
-" . . . . . + + . . ",
-" . @ . @ . @ . @ . @ . @ . @ . ",
-" . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ",
-" ",
-" "};
diff --git a/community-testing/qlandkartegt/PKGBUILD b/community-testing/qlandkartegt/PKGBUILD
deleted file mode 100644
index dc5485029..000000000
--- a/community-testing/qlandkartegt/PKGBUILD
+++ /dev/null
@@ -1,42 +0,0 @@
-# $Id: PKGBUILD 77586 2012-10-13 02:31:01Z ebelanger $
-# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
-# Contributor: Matthias Maennich <arch@maennich.net>
-# Contributor: <boenki@gmx.de>
-
-pkgname=qlandkartegt
-pkgver=1.5.1
-pkgrel=2
-pkgdesc="Use your GPS with Linux"
-arch=('i686' 'x86_64')
-url="http://www.qlandkarte.org/"
-license=('GPL')
-depends=('gdal' 'gpsd' 'libdmtx' 'libexif' 'libmysqlclient' 'glu' 'postgresql-libs'
- 'qt' 'shared-mime-info' 'qtwebkit')
-makedepends=('cmake' 'garmindev' 'mesa')
-optdepends=('garmindev: to connect garmin devices')
-install=$pkgname.install
-changelog=$pkgname.changelog
-source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
- $pkgname-mimetypes.xml)
-sha256sums=('095cd2390684eead61b2868e1efc85500d6d61e95f3d54d0fd255cd95f55aadd'
- 'e8d33948831f8a66edd752c71c653085d6c4d9f1969e70dd8c40b9c7ca37fba0')
-
-build() {
- cd "${srcdir}"
- mkdir build
- cd build
-
- cmake ../${pkgname}-${pkgver} \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release
- make
-}
-
-package(){
- cd "${srcdir}/build"
-
- make DESTDIR="${pkgdir}" install
-
- install -D -m644 "${srcdir}/$pkgname-mimetypes.xml" \
- "${pkgdir}/usr/share/mime/packages/$pkgname-mimetypes.xml"
-}
diff --git a/community-testing/qlandkartegt/qlandkartegt-mimetypes.xml b/community-testing/qlandkartegt/qlandkartegt-mimetypes.xml
deleted file mode 100644
index 46d3d402c..000000000
--- a/community-testing/qlandkartegt/qlandkartegt-mimetypes.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0"?>
-<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
- <mime-type type="application/vnd.qlandkartegt.qlb">
- <comment>QLandkarteGT File</comment>
- <glob pattern="*.qlb"/>
- </mime-type>
-</mime-info>
diff --git a/community-testing/qlandkartegt/qlandkartegt.changelog b/community-testing/qlandkartegt/qlandkartegt.changelog
deleted file mode 100644
index 47c05ab04..000000000
--- a/community-testing/qlandkartegt/qlandkartegt.changelog
+++ /dev/null
@@ -1,48 +0,0 @@
-2012-09-06 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
- * qlandkartegt 1.5.1-1
-
-2012-07-07 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
- * qlandkartegt 1.5.0-1
-
-2012-05-24 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
- * qlandkartegt 1.4.2-1
-
-2012-05-20 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
- * qlandkartegt 1.4.1-1
-
-2012-03-08 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
- * qlandkartegt 1.4.0-1
-
-2012-02-21 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
- * qlandkartegt 1.3.2-1
-
-2011-12-08 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
- * qlandkartegt 1.3.1-1
-
-2011-10-09 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
- * qlandkartegt 1.2.4-1
-
-2011-09-09 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
- * qlandkartegt 1.2.3-1
-
-2011-07-19 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
- * qlandkartegt 1.2.2-1
-
-2011-07-07 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
- * qlandkartegt 1.2.1-1
-
-2011-06-22 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
- * qlandkartegt 1.2.0-1
-
-2011-05-22 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
- * qlandkartegt 1.1.2-1
-
-2011-03-21 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
- * qlandkartegt 1.1.1-1
-
-2011-02-23 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
- * qlandkartegt 1.1.0-1
-
-2011-02-05 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
- * qlandkartegt 1.0.1-2
- * moved to [community] with 59 AUR votes
diff --git a/community-testing/qlandkartegt/qlandkartegt.install b/community-testing/qlandkartegt/qlandkartegt.install
deleted file mode 100644
index e55805570..000000000
--- a/community-testing/qlandkartegt/qlandkartegt.install
+++ /dev/null
@@ -1,7 +0,0 @@
-post_install() {
- update-mime-database usr/share/mime > /dev/null
-}
-
-post_remove() {
- post_install $1
-}
diff --git a/community-testing/scorched3d/PKGBUILD b/community-testing/scorched3d/PKGBUILD
deleted file mode 100644
index 0ae9d7dcb..000000000
--- a/community-testing/scorched3d/PKGBUILD
+++ /dev/null
@@ -1,62 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
-# Contributor: Seppo Porspakka <sporspak@paju.oulu.fi>
-# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
-
-pkgname=scorched3d
-pkgver=43.3.d
-_pkgver=43.3d
-pkgrel=4
-pkgdesc="3D artillery combat game"
-arch=('i686' 'x86_64')
-url="http://www.scorched3d.co.uk/"
-license=('GPL')
-depends=('sdl_net' 'wxgtk' 'freealut>=1.0.0-3' 'libvorbis' 'glu' 'fftw' 'libjpeg>=8' 'xdg-utils')
-makedepends=('gendesk' 'mesa')
-install=scorched3d.install
-source=("http://downloads.sourceforge.net/${pkgname}/Scorched3D-${_pkgver}-src.tar.gz"
- 'scorched3d.png::http://cdn.portableapps.com/Scorched3DPortable_128.png'
- 'scorched3d-42.1-gcc43.patch'
- 'scorched3d-42.1-fixups.patch'
- 'scorched3d-libpng1.5.patch'
- 'libpng14.patch')
-md5sums=('9c3043282a9e7451468ff325bef3b04c'
- '0f7e570f586c227873e909ebbc17c84d'
- '053769f77a38c252eef1d967b18e93e6'
- 'dfde556559d95bca07c4a390c60790b4'
- 'ec6958191751b5a2c44aa15abfc75269'
- 'c8c03855fd3693122fd39427fa3638c1')
-
-build() {
- cd "$srcdir/scorched"
-
-# patch -Np1 -i ${srcdir}/scorched3d-42.1-gcc43.patch
-# patch -Np1 -i ${srcdir}/scorched3d-42.1-fixups.patch
- patch -Np1 -i ${srcdir}/scorched3d-libpng1.5.patch
-# patch -Np0 -i ${srcdir}/libpng14.patch
-
- WANT_WXGTK=gtk2
- sh autogen.sh \
- --prefix=/usr \
- --datadir=/usr/share/scorched3d \
- --disable-openaltest \
- --with-wx-config=wx-config
-
- sed -i '1 i #include <unistd.h>' src/client/client/SecureID.cpp
- #sed -i 's/-lz/-lz -lalut/g' src/scorched/Makefile || return 1
- #sed -i 's|/usr/local/lib/libwx_gtk-2.4.a||' src/scorched/Makefile || return 1
-
- make
-}
-
-package() {
- cd "$srcdir"
- gendesk
-
- cd scorched
- make DESTDIR=${pkgdir} install
- cd ..
-
- install -D -m644 scorched3d.png "$pkgdir/usr/share/icons/hicolor/48x48/apps/$pkgname.png"
- install -D -m644 scorched3d.png "$pkgdir/usr/share/pixmaps/$pkgname.png"
- install -D -m644 scorched3d.desktop "$pkgdir/usr/share/applications/$pkgname.desktop"
-}
diff --git a/community-testing/scorched3d/libpng14.patch b/community-testing/scorched3d/libpng14.patch
deleted file mode 100644
index 7a5a9434c..000000000
--- a/community-testing/scorched3d/libpng14.patch
+++ /dev/null
@@ -1,38 +0,0 @@
---- src/common/image/ImagePng.cpp 2009-02-23 04:14:20.000000000 +0100
-+++ src/common/image/ImagePng.cpp_patched 2010-01-24 22:01:04.000000000 +0100
-@@ -189,7 +189,7 @@
- info_ptr = png_create_info_struct(png_ptr);
- if (info_ptr == NULL)
- {
-- png_destroy_read_struct(&png_ptr, png_infopp_NULL, png_infopp_NULL);
-+ png_destroy_read_struct(&png_ptr, NULL, NULL);
- return false;
- }
-
-@@ -200,7 +200,7 @@
- if (setjmp(png_jmpbuf(png_ptr)))
- {
- /* Free all of the memory associated with the png_ptr and info_ptr */
-- png_destroy_read_struct(&png_ptr, &info_ptr, png_infopp_NULL);
-+ png_destroy_read_struct(&png_ptr, &info_ptr, NULL);
- /* If we get here, we had a problem reading the file */
- return false;
- }
-@@ -258,7 +258,7 @@
- }
- else
- {
-- png_destroy_read_struct(&png_ptr, &info_ptr, png_infopp_NULL);
-+ png_destroy_read_struct(&png_ptr, &info_ptr, NULL);
-
- Logger::log(S3D::formatStringBuffer(
- "Invalid PNG format.\n"
-@@ -272,7 +272,7 @@
- // END NEW CODE
-
- /* clean up after the read, and free any memory allocated - REQUIRED */
-- png_destroy_read_struct(&png_ptr, &info_ptr, png_infopp_NULL);
-+ png_destroy_read_struct(&png_ptr, &info_ptr, NULL);
-
- /* that's it */
- return true;
diff --git a/community-testing/scorched3d/scorched3d-42.1-fixups.patch b/community-testing/scorched3d/scorched3d-42.1-fixups.patch
deleted file mode 100644
index 36a027cb6..000000000
--- a/community-testing/scorched3d/scorched3d-42.1-fixups.patch
+++ /dev/null
@@ -1,58 +0,0 @@
-diff -ru scorched.orig/configure-al.m4 scorched/configure-al.m4
---- scorched.orig/configure-al.m4 2008-03-03 16:17:18.000000000 -0500
-+++ scorched/configure-al.m4 2009-02-15 20:43:35.000000000 -0500
-@@ -7,25 +7,9 @@
- [ --disable-openaltest Do not try to compile and run a test OpenAL program],
- , enable_openaltest=yes)
- AC_MSG_CHECKING(for OpenAL support)
--AC_PATH_PROG(OPENAL_CONFIG, openal-config, no)
--if test x$OPENAL_CONFIG = xno; then
-- echo "*** The openal-config script installed by OpenAL could not be found"
-- echo "*** Make sure openal-config is in your path, or set the OPENAL_CONFIG"
-- echo "*** environment variable to the full path to openal-config."
--
-- AC_MSG_ERROR([*** Can't find the openal library. Try: http://www.openal.org/])
--else
--
-- if test x"$use_static_openal" = x"yes"; then
-- AL_LIBS="/usr/local/lib/libopenal.a"
-- else
-- AL_LIBS="`$OPENAL_CONFIG --libs`"
-- fi
--
-- AL_CFLAGS="`$OPENAL_CONFIG --cflags`"
--
-- AC_MSG_RESULT(yes)
--fi
-+AL_LIBS="-lopenal"
-+AL_CFLAGS="-I/usr/include/AL"
-+AC_MSG_RESULT(yes)
-
- AC_MSG_CHECKING(for Freealut support)
- AC_PATH_PROG(FREEALUT_CONFIG, freealut-config, no)
-diff -ru scorched.orig/configure.ac scorched/configure.ac
---- scorched.orig/configure.ac 2008-03-03 16:17:18.000000000 -0500
-+++ scorched/configure.ac 2009-02-15 20:40:30.000000000 -0500
-@@ -13,22 +13,6 @@
- AC_PROG_INSTALL
- AC_PROG_RANLIB
-
--LDFLAGS="-L/usr/X11R6/lib -L/usr/X11R6"
--CPPFLAGS="-I/usr/X11R6/include -I/usr/X11R6"
--
--if test `uname` == Darwin; then
--LDFLAGS="$LDFLAGS -lmx"
--CPPFLAGS="$CPPFLAGS -DFFTW_USE_DOUBLE -D__DARWIN__ -D__MACOSX__"
--else
--LDFLAGS="$LDFLAGS -L/usr/local/lib"
--CPPFLAGS="$CPPFLAGS -I/usr/local/include"
--fi
--
--AC_CHECK_LIB(fridge, beer, echo "Hmm?!",[
-- echo "Warning: No beer found in fridge!";
-- echo "We highly suggest that you rectify this situation immediately."
--])
--
- AC_ARG_ENABLE(serveronly,
- [ --enable-serveronly Enable server only compilation],
- , enable_serveronly=no,
diff --git a/community-testing/scorched3d/scorched3d-42.1-gcc43.patch b/community-testing/scorched3d/scorched3d-42.1-gcc43.patch
deleted file mode 100644
index b235f07c5..000000000
--- a/community-testing/scorched3d/scorched3d-42.1-gcc43.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -ur scorched.old/src/common/common/main.h scorched/src/common/common/main.h
---- scorched.old/src/common/common/main.h 2009-02-18 20:06:22.000000000 +0200
-+++ scorched/src/common/common/main.h 2009-02-18 20:07:18.000000000 +0200
-@@ -40,7 +40,7 @@
- void _no_storage()
- {
- printf("Failed to allocate memory!!");
-- std::exit(1);
-+ exit(1);
- }
-
- void run_main(int argc, char *argv[], OptionsParameters &params)
-diff -ur scorched.old/src/common/porting/windows.h scorched/src/common/porting/windows.h
---- scorched.old/src/common/porting/windows.h 2009-02-18 20:06:22.000000000 +0200
-+++ scorched/src/common/porting/windows.h 2009-02-18 20:06:46.000000000 +0200
-@@ -20,7 +20,7 @@
- typedef unsigned short WORD;
- typedef unsigned char BYTE;
-
--typedef int HWND;
-+// typedef int HWND;
- typedef void * HINSTANCE;
- typedef int WPARAM;
- typedef int LPARAM;
diff --git a/community-testing/scorched3d/scorched3d-libpng1.5.patch b/community-testing/scorched3d/scorched3d-libpng1.5.patch
deleted file mode 100644
index 4e8f003b8..000000000
--- a/community-testing/scorched3d/scorched3d-libpng1.5.patch
+++ /dev/null
@@ -1,74 +0,0 @@
---- ./src/common/image/ImagePngFactory.cpp.old 2011-09-12 12:34:30.114461019 +0200
-+++ ./src/common/image/ImagePngFactory.cpp 2011-09-12 12:39:28.566425593 +0200
-@@ -104,7 +104,7 @@
-
- static void user_png_error(png_structp png_ptr, png_const_charp msg)
- {
-- longjmp(png_ptr->jmpbuf,1);
-+ longjmp(png_jmpbuf(png_ptr),1);
- }
-
- static void user_png_warning(png_structp png_ptr, png_const_charp msg)
---- ./src/client/client/LoadPNG.cpp.old 2011-09-12 12:45:49.167380419 +0200
-+++ ./src/client/client/LoadPNG.cpp 2011-09-12 14:11:14.961772024 +0200
-@@ -28,6 +28,8 @@
- int row, i;
- volatile int ckey = -1;
- png_color_16 *transv;
-+ png_colorp png_palette;
-+ int num_palette;
-
- if ( !src ) {
- /* The error message has been set in SDL_RWFromFile */
-@@ -58,7 +60,7 @@
- * the normal method of doing things with libpng). REQUIRED unless you
- * set up your own error handlers in png_create_read_struct() earlier.
- */
-- if ( setjmp(png_ptr->jmpbuf) ) {
-+ if ( setjmp(png_jmpbuf(png_ptr)) ) {
- error = "Error reading the PNG file.";
- goto done;
- }
-@@ -127,9 +129,9 @@
- Rmask = 0x000000FF;
- Gmask = 0x0000FF00;
- Bmask = 0x00FF0000;
-- Amask = (info_ptr->channels == 4) ? 0xFF000000 : 0;
-+ Amask = (png_get_channels(png_ptr, info_ptr) == 4) ? 0xFF000000 : 0;
- } else {
-- int s = (info_ptr->channels == 4) ? 0 : 8;
-+ int s = (png_get_channels(png_ptr, info_ptr) == 4) ? 0 : 8;
- Rmask = 0xFF000000 >> s;
- Gmask = 0x00FF0000 >> s;
- Bmask = 0x0000FF00 >> s;
-@@ -137,7 +139,7 @@
- }
- }
- surface = SDL_AllocSurface(SDL_SWSURFACE, width, height,
-- bit_depth*info_ptr->channels, Rmask,Gmask,Bmask,Amask);
-+ bit_depth*png_get_channels(png_ptr, info_ptr), Rmask,Gmask,Bmask,Amask);
- if ( surface == NULL ) {
- error = "Out of memory";
- goto done;
-@@ -185,12 +187,15 @@
- palette->colors[i].g = i;
- palette->colors[i].b = i;
- }
-- } else if (info_ptr->num_palette > 0 ) {
-- palette->ncolors = info_ptr->num_palette;
-- for( i=0; i<info_ptr->num_palette; ++i ) {
-- palette->colors[i].b = info_ptr->palette[i].blue;
-- palette->colors[i].g = info_ptr->palette[i].green;
-- palette->colors[i].r = info_ptr->palette[i].red;
-+ } else {
-+ png_get_PLTE(png_ptr, info_ptr, &png_palette, &num_palette);
-+ if (num_palette > 0 ) {
-+ palette->ncolors = num_palette;
-+ for( i=0; i<num_palette; ++i ) {
-+ palette->colors[i].b = png_palette[i].blue;
-+ palette->colors[i].g = png_palette[i].green;
-+ palette->colors[i].r = png_palette[i].red;
-+ }
- }
- }
- }
diff --git a/community-testing/scorched3d/scorched3d.install b/community-testing/scorched3d/scorched3d.install
deleted file mode 100644
index c5571196e..000000000
--- a/community-testing/scorched3d/scorched3d.install
+++ /dev/null
@@ -1,11 +0,0 @@
-post_install() {
- which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
-}
-
-post_upgrade() {
- which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
-}
-
-post_remove() {
- which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
-}
diff --git a/community-testing/sdcc/PKGBUILD b/community-testing/sdcc/PKGBUILD
deleted file mode 100644
index 378727faa..000000000
--- a/community-testing/sdcc/PKGBUILD
+++ /dev/null
@@ -1,34 +0,0 @@
-# $Id: PKGBUILD 78121 2012-10-16 11:54:21Z allan $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Maintainer: Jose Negron <josenj.arch@mailnull.net>
-
-pkgname=sdcc
-pkgver=3.2.0
-pkgrel=2
-pkgdesc="Retargettable ANSI C compiler (Intel 8051, Maxim 80DS390, Zilog Z80 and the Motorola 68HC08)"
-arch=('i686' 'x86_64')
-license=('GPL')
-depends=('bash' 'gcc-libs' 'boost-libs')
-makedepends=('gputils' 'flex' 'bison' 'patch' 'boost')
-optdepends=('python')
-url="http://sdcc.sourceforge.net/"
-options=(!strip)
-source=(http://downloads.sourceforge.net/sourceforge/sdcc/$pkgname-src-$pkgver.tar.bz2)
-md5sums=('0808a9b4109d2ba6046ddd7b679a0012')
-
-build() {
- cd $srcdir/$pkgname
- ./configure \
- --prefix=/usr \
- --includedir=/usr/include/sdcc \
- --libdir=/usr/lib/sdcc
- make
- make install DESTDIR=$pkgdir
-
- if [ -d $pkgdir/usr/lib/lib ]; then
- mv $pkgdir/usr/lib/lib/* $pkgdir/usr/lib/sdcc/
- rm -rf $pkgdir/usr/lib/lib
- fi
-
- sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python3|' $pkgdir/usr/bin/as2gbmap
-}
diff --git a/community-testing/stone-soup/PKGBUILD b/community-testing/stone-soup/PKGBUILD
deleted file mode 100644
index 17177714b..000000000
--- a/community-testing/stone-soup/PKGBUILD
+++ /dev/null
@@ -1,68 +0,0 @@
-# Maintainer: Jakob Gruber <jakob.gruber@gmail.com>
-
-pkgname=stone-soup
-pkgver=0.11.0
-pkgrel=2
-pkgdesc='Open-source, single-player, role-playing roguelike game of exploration and treasure-hunting'
-arch=('i686' 'x86_64')
-url='http://crawl.develz.org/'
-depends=('lua' 'ncurses' 'sdl_image' 'sqlite' 'libgl' 'mesa' 'glu' 'freetype2' 'ttf-dejavu')
-makedepends=('bison' 'flex' 'gendesk')
-conflicts=('crawl' 'stone-soup-tile' 'stone-soup-git')
-license=('custom')
-install=stone-soup.install
-source=("http://downloads.sourceforge.net/sourceforge/crawl-ref/stone_soup-${pkgver}-nodeps.tar.xz")
-
-# used by gendesk to create .desktop file
-_exec=('crawl-tiles')
-_name=('Dungeon Crawl Stone Soup')
-
-build() {
- cd "$srcdir"
- gendesk -n
-
- cd "stone_soup-${pkgver}/source"
-
- # adjust makefile to use /usr/bin, owner root:root,
- # disable setgid on executable
-
- sed -i 's|bin_prefix := bin|bin_prefix := usr/bin|' Makefile
- sed -i 's/INSTALL_UGRP := games:games/INSTALL_UGRP := root:root/' Makefile
- sed -i 's|MCHMOD := 2755|MCHMOD := 755|' Makefile
-
- # first build and install tiles version
-
- make DESTDIR="${pkgdir}" \
- SAVEDIR="~/.crawl/" \
- DATADIR="/usr/share/${pkgname}/data" \
- USE_UNICODE=y \
- TILES=y \
- install
-
- # rename tiles executable to avoid clashing with console crawl
-
- mv "${pkgdir}/usr/bin/crawl" "${pkgdir}/usr/bin/crawl-tiles"
-
- # then build and install console version
-
- make DESTDIR="${pkgdir}" \
- SAVEDIR="~/.crawl/" \
- DATADIR="/usr/share/${pkgname}/data" \
- USE_UNICODE=y \
- install
-
- # install crawl license
-
- install -D -m644 ../licence.txt \
- "${pkgdir}/usr/share/licenses/${pkgname}/license.txt"
-
- # install icon and .desktop file
-
- install -D -m644 dat/tiles/stone_soup_icon-32x32.png \
- "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
- install -D -m644 "${srcdir}/${pkgname}.desktop" \
- "${pkgdir}/usr/share/applications/${pkgname}.desktop"
-
-}
-
-md5sums=('715d800410a7251499bf8efcc8675ca6')
diff --git a/community-testing/stone-soup/stone-soup.install b/community-testing/stone-soup/stone-soup.install
deleted file mode 100644
index 2320123e2..000000000
--- a/community-testing/stone-soup/stone-soup.install
+++ /dev/null
@@ -1,11 +0,0 @@
-post_upgrade() {
-
- # return if old pkgver >= 0.9.0-2
- [[ $(vercmp $2 0.9.0-2) -ge 0 ]] && return
-
- echo "---------------------------------------------------------------------
- stone-soup saves have moved to ~/.crawl.
- If you want to keep your old saves, move ~/.stone-soup to
- ~/.crawl.
----------------------------------------------------------------------"
-}
diff --git a/community-testing/tdfsb/PKGBUILD b/community-testing/tdfsb/PKGBUILD
deleted file mode 100644
index a219a2d99..000000000
--- a/community-testing/tdfsb/PKGBUILD
+++ /dev/null
@@ -1,35 +0,0 @@
-# $Id: PKGBUILD 77588 2012-10-13 02:40:19Z ebelanger $
-# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
-
-pkgname=tdfsb
-pkgver=0.0.10
-pkgrel=6
-pkgdesc="SDL based graphical file browser"
-arch=('i686' 'x86_64')
-url="http://www.determinate.net/webdata/seg/tdfsb.html"
-license=('GPL')
-depends=('smpeg' 'freeglut' 'sdl_image' 'libxmu' 'glu')
-source=("http://www.determinate.net/webdata/data/${pkgname}-${pkgver}.tar.gz"
- 'tdfsb.desktop'
- 'tdfsb.png')
-md5sums=('8162994a7e882dc7074a5f628d2ac076'
- '4070a7de1153c00df875384a1817e43b'
- 'ecabb39597a3c17f9541300869873e50')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- sed -i -e "s:-O2:${CFLAGS} ${LDFLAGS}:g" compile.sh
- ./compile.sh
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- install -D -m755 tdfsb "${pkgdir}/usr/bin/tdfsb"
-
- # Install desktop file
- install -D -m755 "${srcdir}/tdfsb.desktop" "${pkgdir}/usr/share/applications/tdfsb.desktop"
- # Install icon
- install -D -m644 "${srcdir}/tdfsb.png" "${pkgdir}/usr/share/pixmaps/tdfsb.png"
-}
diff --git a/community-testing/tdfsb/tdfsb.desktop b/community-testing/tdfsb/tdfsb.desktop
deleted file mode 100644
index 7167e022a..000000000
--- a/community-testing/tdfsb/tdfsb.desktop
+++ /dev/null
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Name=Tdfsb
-Comment=SDL based graphical file browser
-Icon=/usr/share/pixmaps/tdfsb.png
-Exec=tdfsb
-Terminal=false
-Type=Application
-Categories=System;Application;
-StartupNotify=true
diff --git a/community-testing/tdfsb/tdfsb.png b/community-testing/tdfsb/tdfsb.png
deleted file mode 100644
index 5ac3a5fe4..000000000
--- a/community-testing/tdfsb/tdfsb.png
+++ /dev/null
Binary files differ
diff --git a/community-testing/teeworlds/PKGBUILD b/community-testing/teeworlds/PKGBUILD
deleted file mode 100644
index 51ee46ff9..000000000
--- a/community-testing/teeworlds/PKGBUILD
+++ /dev/null
@@ -1,51 +0,0 @@
-# Contributor: Allan McRae <allan@archlinux.org>
-# Contributor: Armin 'IsSuE' Praher [issue.at.gmx.dot.at]
-# Contributor: [vEX] <niechift.dot.vex.at.gmail.dot.com>
-# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
-# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
-
-pkgname=teeworlds
-pkgver=0.6.1
-pkgrel=3
-pkgdesc="A multiplayer 2D shooter"
-arch=('i686' 'x86_64')
-url="http://teeworlds.com"
-license=('custom')
-depends=('alsa-lib' 'glu' 'sdl' 'freetype2')
-makedepends=('python2' 'bam' 'mesa')
-replaces=('teewars')
-source=(http://www.teeworlds.com/files/${pkgname}-${pkgver}-source.tar.gz
- teeworlds.desktop
- teeworlds.png)
-md5sums=('00de7195ecd1f23596dc3237341af512'
- '3944aaf7a8c19a83510b2b39c4cddf5f'
- '44f39e398409232a0e0a431ed46d8cc8')
-
-build() {
- # Build teeworlds
- cd ${srcdir}/${pkgname}-*-source
-
- # Use Python 2
- sed -i 's/python /python2 /' bam.lua
-
- bam server_release client_release
-}
-
-package() {
- cd ${srcdir}/${pkgname}-*-source
-
- # Install data files
- mkdir -p ${pkgdir}/usr/share/${pkgname}/data
- cp -r data/* ${pkgdir}/usr/share/${pkgname}/data
-
- install -Dm755 ${pkgname} ${pkgdir}/usr/bin/${pkgname}
- install -Dm755 ${pkgname}_srv ${pkgdir}/usr/bin/${pkgname}_srv
-
- install -Dm644 ${srcdir}/${pkgname}.desktop \
- ${pkgdir}/usr/share/applications/${pkgname}.desktop
- install -Dm644 ${srcdir}/${pkgname}.png \
- ${pkgdir}/usr/share/pixmaps/${pkgname}.png
-
- install -Dm644 license.txt \
- ${pkgdir}/usr/share/licenses/${pkgname}/license.txt
-}
diff --git a/community-testing/teeworlds/teeworlds.desktop b/community-testing/teeworlds/teeworlds.desktop
deleted file mode 100644
index ddfb8994d..000000000
--- a/community-testing/teeworlds/teeworlds.desktop
+++ /dev/null
@@ -1,14 +0,0 @@
-[Desktop Entry]
-Version=1.0
-Type=Application
-Icon=teeworlds
-Exec=teeworlds
-Terminal=false
-StartupNotify=false
-
-Name=TeeWorlds
-GenericName=Arcade Game
-Comment=is a multiplayer 2D FPS shooter
-Comment[pl_PL]=wieloosobowa strzelanka FTP w 2D
-
-Categories=Game;ArcadeGame;
diff --git a/community-testing/teeworlds/teeworlds.png b/community-testing/teeworlds/teeworlds.png
deleted file mode 100644
index 890baaff3..000000000
--- a/community-testing/teeworlds/teeworlds.png
+++ /dev/null
Binary files differ
diff --git a/community-testing/tix/PKGBUILD b/community-testing/tix/PKGBUILD
deleted file mode 100644
index e5a35e2b2..000000000
--- a/community-testing/tix/PKGBUILD
+++ /dev/null
@@ -1,46 +0,0 @@
-# $Id: PKGBUILD 78122 2012-10-16 11:54:26Z allan $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: Brice Méalier <mealier_brice@yahoo.fr>
-
-pkgname=tix
-pkgver=8.4.3
-pkgrel=4
-pkgdesc="Tk Interface eXtension, a powerful set of user interface components"
-arch=(i686 'x86_64')
-url="http://tix.sourceforge.net/"
-license=("BSD")
-depends=('tk' 'libx11')
-source=(http://downloads.sourceforge.net/tix/Tix$pkgver-src.tar.gz
- tcl-tk-path.patch)
-md5sums=('2b8bf4b10a852264678182652f477e59'
- 'd4df48da39dd51872d58706a51bab505')
-
-build() {
- cd $srcdir/Tix$pkgver
-
- patch -p1 <$srcdir/tcl-tk-path.patch
-
- export CFLAGS="$CFLAGS -DERR_IN_PROGRESS=2"
-
- ./configure --prefix=/usr
- make
- make DESTDIR=$pkgdir install
- # move things around
-
- install -m755 tools/tixindex $pkgdir/usr/bin/tixindex
- rm -rf $pkgdir/usr/lib/Tix8.4/html
- rm -f $pkgdir/usr/lib/Tix8.4/{README.txt,license.terms}
- ln -s Tix$pkgver/libTix$pkgver.so $pkgdir/usr/lib/libTix$pkgver.so
-
- mkdir -p $pkgdir/usr/share/man/man1
- mkdir -p $pkgdir/usr/share/man/man3
- cp -p man/tixwish.1 $pkgdir/usr/share/man/man1
- cd $srcdir/Tix$pkgver/man
- for i in *.n; do
- cp -p $i $pkgdir/usr/share/man/man3/${i%n}3
- done
-
- mkdir -p $pkgdir/usr/share/licenses/tix
- cp $srcdir/Tix$pkgver/license.terms $pkgdir/usr/share/licenses/tix/
-}
-
diff --git a/community-testing/tix/tcl-tk-path.patch b/community-testing/tix/tcl-tk-path.patch
deleted file mode 100644
index 2fc12671e..000000000
--- a/community-testing/tix/tcl-tk-path.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff -wbBur Tix8.4.3/configure Tix8.4.3.my/configure
---- Tix8.4.3/configure 2008-02-28 04:35:01.000000000 +0000
-+++ Tix8.4.3.my/configure 2009-12-28 10:57:33.000000000 +0000
-@@ -6645,7 +6645,7 @@
- ;;
- esac
- else
-- if test ! -f "${TCL_SRC_DIR}/generic/tclInt.h" ; then
-+ if test ! -f "${TCL_SRC_DIR}/tclInt.h" ; then
- { { echo "$as_me:$LINENO: error: Cannot find private header tclInt.h in ${TCL_SRC_DIR}" >&5
- echo "$as_me: error: Cannot find private header tclInt.h in ${TCL_SRC_DIR}" >&2;}
- { (exit 1); exit 1; }; }
-@@ -6700,7 +6700,7 @@
- ;;
- esac
- else
-- if test ! -f "${TK_SRC_DIR}/generic/tkInt.h" ; then
-+ if test ! -f "${TK_SRC_DIR}/tk-private/generic/tkInt.h" ; then
- { { echo "$as_me:$LINENO: error: Cannot find private header tkInt.h in ${TK_SRC_DIR}" >&5
- echo "$as_me: error: Cannot find private header tkInt.h in ${TK_SRC_DIR}" >&2;}
- { (exit 1); exit 1; }; }
-
diff --git a/community-testing/torcs/PKGBUILD b/community-testing/torcs/PKGBUILD
deleted file mode 100644
index e81cc5d25..000000000
--- a/community-testing/torcs/PKGBUILD
+++ /dev/null
@@ -1,36 +0,0 @@
-# $Id: PKGBUILD 77306 2012-10-08 15:41:06Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: Shahar Weiss <sweiss4@gmx.net>
-
-pkgname=torcs
-pkgver=1.3.3
-pkgrel=2
-pkgdesc="A 3D racing cars simulator using OpenGL"
-url="http://torcs.sourceforge.net"
-license=("GPL")
-arch=('i686' 'x86_64')
-depends=('freeglut' 'libpng' 'freealut' 'libxi' 'libxmu' 'libxrandr' 'libvorbis' 'glu')
-makedepends=('plib')
-options=('!makeflags')
-source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-${pkgver/_/-}.tar.bz2
- torcs.desktop
- torcs-gcc.patch)
-md5sums=('0319c996dac4480f1182c03d2331b14a'
- '328e419e9f985c3e7b69924fe299330d'
- '5ae7e903df37300d3b8744328c756bff')
-
-build() {
- cd $srcdir/$pkgname-${pkgver/_/-}
- unset LDFLAGS
- ./configure --prefix=/usr --x-includes=/usr/include --x-libraries=/usr/lib
- make
-}
-
-package() {
- depends=(${depends[@]} "torcs-data=$pkgver")
- cd $srcdir/$pkgname-${pkgver/_/-}
- make DESTDIR=${pkgdir} install
- install -D -m644 Ticon.png ${pkgdir}/usr/share/pixmaps/torcs.png
- install -D -m644 ../torcs.desktop ${pkgdir}/usr/share/applications/torcs.desktop
- find ${pkgdir} -type d -exec chmod 755 {} \;
-}
diff --git a/community-testing/torcs/torcs-gcc.patch b/community-testing/torcs/torcs-gcc.patch
deleted file mode 100644
index fcc5604e7..000000000
--- a/community-testing/torcs/torcs-gcc.patch
+++ /dev/null
@@ -1,74 +0,0 @@
-diff -aur src.old/drivers/olethros/Trajectory.cpp src/drivers/olethros/Trajectory.cpp
---- src.old/drivers/olethros/Trajectory.cpp 2008-04-06 22:21:31.000000000 +0200
-+++ src/drivers/olethros/Trajectory.cpp 2008-04-06 22:28:52.000000000 +0200
-@@ -10,8 +10,10 @@
- ***************************************************************************/
- #include <cstdio>
- #include <cstdlib>
-+#include <cstring>
- #include <cmath>
- #include <cassert>
-+#include <ctime>
- #include <list>
- #include <vector>
- #include "Trajectory.h"
-diff -aur src.old/modules/simu/simuv2/SOLID-2.0/src/BBoxTree.cpp src/modules/simu/simuv2/SOLID-2.0/src/BBoxTree.cpp
---- src.old/modules/simu/simuv2/SOLID-2.0/src/BBoxTree.cpp 2008-04-06 22:21:31.000000000 +0200
-+++ src/modules/simu/simuv2/SOLID-2.0/src/BBoxTree.cpp 2008-04-06 22:22:57.000000000 +0200
-@@ -32,7 +32,7 @@
- #include "Transform.h"
-
- #include <algorithm>
--#include <new.h>
-+#include <new>
-
- class BBoxCompAxis {
- public:
-diff -aur src.old/modules/simu/simuv2/SOLID-2.0/src/Complex.cpp src/modules/simu/simuv2/SOLID-2.0/src/Complex.cpp
---- src.old/modules/simu/simuv2/SOLID-2.0/src/Complex.cpp 2008-04-06 22:21:31.000000000 +0200
-+++ src/modules/simu/simuv2/SOLID-2.0/src/Complex.cpp 2008-04-06 22:23:11.000000000 +0200
-@@ -32,7 +32,7 @@
- #include "Transform.h"
- #include "BBoxTree.h"
-
--#include <new.h>
-+#include <new>
-
- BBoxInternal *free_node;
-
-diff -aur src.old/modules/simu/simuv2/SOLID-2.0/src/Endpoint.cpp src/modules/simu/simuv2/SOLID-2.0/src/Endpoint.cpp
---- src.old/modules/simu/simuv2/SOLID-2.0/src/Endpoint.cpp 2008-04-06 22:21:31.000000000 +0200
-+++ src/modules/simu/simuv2/SOLID-2.0/src/Endpoint.cpp 2008-04-06 22:22:29.000000000 +0200
-@@ -32,7 +32,7 @@
- #include "Object.h"
- #include "Encounter.h"
-
--#include <new.h>
-+#include <new>
-
- void addPair(ObjectPtr object1, ObjectPtr object2);
- void removePair(ObjectPtr object1, ObjectPtr object2);
-diff -aur src.old/modules/simu/simuv2/SOLID-2.0/src/Object.cpp src/modules/simu/simuv2/SOLID-2.0/src/Object.cpp
---- src.old/modules/simu/simuv2/SOLID-2.0/src/Object.cpp 2008-04-06 22:21:31.000000000 +0200
-+++ src/modules/simu/simuv2/SOLID-2.0/src/Object.cpp 2008-04-06 22:22:40.000000000 +0200
-@@ -33,7 +33,7 @@
- #include "Convex.h"
- #include "Complex.h"
-
--#include <new.h>
-+#include <new>
-
- Object::Object(DtObjectRef obj, ShapePtr shape) :
- ref(obj),
-diff -aur src.old/modules/simu/simuv2/SOLID-2.0/src/Polyhedron.cpp src/modules/simu/simuv2/SOLID-2.0/src/Polyhedron.cpp
---- src.old/modules/simu/simuv2/SOLID-2.0/src/Polyhedron.cpp 2008-04-06 22:21:31.000000000 +0200
-+++ src/modules/simu/simuv2/SOLID-2.0/src/Polyhedron.cpp 2008-04-06 22:22:12.000000000 +0200
-@@ -37,7 +37,7 @@
- }
-
- #include <vector>
--#include <new.h>
-+#include <new>
-
- typedef vector<unsigned int> IndexBuf;
-
diff --git a/community-testing/torcs/torcs.desktop b/community-testing/torcs/torcs.desktop
deleted file mode 100644
index 03d1ba010..000000000
--- a/community-testing/torcs/torcs.desktop
+++ /dev/null
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Name=TORCS
-Comment=The Open Racing Car Simulator
-Exec=torcs
-Icon=torcs.png
-Terminal=false
-Type=Application
-Encoding=UTF-8
-Categories=Application;Game;
diff --git a/community-testing/torcs/torcs.sh b/community-testing/torcs/torcs.sh
deleted file mode 100644
index 0f1b4fe8d..000000000
--- a/community-testing/torcs/torcs.sh
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/bash
-export PATH=$PATH:/opt/torcs/bin
diff --git a/community-testing/ubuntuone-client/1339_1338.diff b/community-testing/ubuntuone-client/1339_1338.diff
deleted file mode 100644
index cbd966a70..000000000
--- a/community-testing/ubuntuone-client/1339_1338.diff
+++ /dev/null
@@ -1,57 +0,0 @@
-=== modified file 'tests/platform/sync_menu/test_linux.py'
---- tests/platform/sync_menu/test_linux.py 2012-10-10 14:54:49 +0000
-+++ tests/platform/sync_menu/test_linux.py 2012-10-11 12:01:27 +0000
-@@ -124,6 +124,7 @@
- """Check that the dummy has the proper methods required by the API."""
- dummy = linux.DummySyncMenu('random', 'args')
- self.assertIsInstance(dummy.update_transfers, Callable)
-+ self.assertIsInstance(dummy.sync_status_changed, Callable)
-
-
- class SyncMenuTestCase(TestCase):
-
-=== modified file 'ubuntuone/platform/sync_menu/linux.py'
---- ubuntuone/platform/sync_menu/linux.py 2012-10-10 17:06:14 +0000
-+++ ubuntuone/platform/sync_menu/linux.py 2012-10-11 13:00:10 +0000
-@@ -183,7 +183,7 @@
- self.timer.addCallback(self._timeout)
-
-
--class TransfersMenu(Dbusmenu.Menuitem):
-+class TransfersMenu(Dbusmenu.Menuitem if use_syncmenu else object):
- """Menu that handles the recent and current transfers."""
-
- def __init__(self, status_frontend):
-@@ -227,7 +227,7 @@
- items_added = 0
- remove = []
- for item in self._uploading_items:
-- if item in uploading_data:
-+ if item in uploading_data.keys():
- size, written = uploading_data[item]
- percentage = written * 100 / size
- upload_item = self._uploading_items[item]
-@@ -243,7 +243,7 @@
- for item in remove:
- self._uploading_items.pop(item)
- if items_added < 5:
-- for item in uploading_data:
-+ for item in uploading_data.keys():
- if item not in self._uploading_items and items_added < 5:
- size, written = uploading_data[item]
- percentage = written * 100 / size
-@@ -270,4 +270,12 @@
- def update_transfers(self):
- """Do nothing."""
-
--UbuntuOneSyncMenu = UbuntuOneSyncMenuLinux if use_syncmenu else DummySyncMenu
-+ def sync_status_changed(self):
-+ """Do nothing."""
-+
-+
-+if use_syncmenu:
-+ UbuntuOneSyncMenu = UbuntuOneSyncMenuLinux
-+else:
-+ UbuntuOneSyncMenu = DummySyncMenu
-+ TransfersMenu = None
-
diff --git a/community-testing/ubuntuone-client/PKGBUILD b/community-testing/ubuntuone-client/PKGBUILD
deleted file mode 100644
index e2f8b8b43..000000000
--- a/community-testing/ubuntuone-client/PKGBUILD
+++ /dev/null
@@ -1,46 +0,0 @@
-# $Id: PKGBUILD 78124 2012-10-16 11:54:37Z allan $
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-
-pkgname=ubuntuone-client
-pkgver=4.0.0
-pkgrel=2
-pkgdesc="Ubuntu One helps you store, sync and share files between your computers"
-arch=('i686' 'x86_64')
-url="https://launchpad.net/ubuntuone-client"
-license=('GPL')
-depends=('dbus-glib' 'python2-configglue' 'python2-distribute' 'libnotify' 'python2-gobject2' 'python2-pyinotify' 'python2-simplejson' 'ubuntu-sso-client' 'python2-ubuntuone-storageprotocol' 'hicolor-icon-theme' 'xdg-utils')
-makedepends=('intltool' 'imake' 'gobject-introspection')
-options=('!libtool')
-install=$pkgname.install
-source=(http://launchpad.net/ubuntuone-client/stable-4-0/$pkgver/+download/$pkgname-$pkgver.tar.gz
- 1339_1338.diff
- fix-notify-hint.patch)
-md5sums=('738039703d4dcf54518a725f8ffbc4de'
- 'e82e80c229de06692988c1f938a34fb9'
- '54dfeb2be011f0a12ea7cfa0f0c19bec')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- sed -i 's@^#!.*python$@#!/usr/bin/python2@' bin/*
-
- # Improve TransfersMenu declaration to avoid problems
- patch -Np0 -i "$srcdir/1339_1338.diff"
-
- # Workaround for crash in notification-daemon
- # https://bugzilla.gnome.org/show_bug.cgi?id=665166
- patch -Np1 -i "$srcdir/fix-notify-hint.patch"
-
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/$pkgname \
- --disable-static \
- PYTHON=python2
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
-
- make DESTDIR="$pkgdir/" install
-
- # We don't have Apport in Arch Linux
- rm -r "$pkgdir"/{etc/apport,usr/share/apport}
-}
diff --git a/community-testing/ubuntuone-client/fix-notify-hint.patch b/community-testing/ubuntuone-client/fix-notify-hint.patch
deleted file mode 100644
index f32280de9..000000000
--- a/community-testing/ubuntuone-client/fix-notify-hint.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff -Naur ubuntuone-client-4.0.0.orig/ubuntuone/platform/notification/linux.py ubuntuone-client-4.0.0/ubuntuone/platform/notification/linux.py
---- ubuntuone-client-4.0.0.orig/ubuntuone/platform/notification/linux.py 2012-06-19 15:51:01.000000000 +0200
-+++ ubuntuone-client-4.0.0/ubuntuone/platform/notification/linux.py 2012-10-15 01:14:01.019476818 +0200
-@@ -40,7 +40,7 @@
-
- if 'gi' in sys.modules and sys.modules['gi'] is not None:
- try:
-- from gi.repository import Notify
-+ from gi.repository import GLib, Notify
- Notify # pyflakes
- NOTIFY_MODULE = 'gi'
- except ImportError:
-@@ -85,5 +85,6 @@
- if append:
- self.notification.set_hint_string('x-canonical-append', '')
-
-- self.notification.set_hint_int32('transient', int(True))
-+ if NOTIFY_MODULE == 'gi':
-+ self.notification.set_hint('transient', GLib.Variant.new_boolean(1))
- self.notification.show()
diff --git a/community-testing/ubuntuone-client/ubuntuone-client.install b/community-testing/ubuntuone-client/ubuntuone-client.install
deleted file mode 100644
index 2c455e952..000000000
--- a/community-testing/ubuntuone-client/ubuntuone-client.install
+++ /dev/null
@@ -1,11 +0,0 @@
-post_install() {
- xdg-icon-resource forceupdate
-}
-
-post_upgrade() {
- post_install $1
-}
-
-post_remove() {
- post_install $1
-}
diff --git a/community-testing/uniconvertor/PKGBUILD b/community-testing/uniconvertor/PKGBUILD
deleted file mode 100644
index 6c15816af..000000000
--- a/community-testing/uniconvertor/PKGBUILD
+++ /dev/null
@@ -1,29 +0,0 @@
-# $Id: PKGBUILD 78126 2012-10-16 11:54:43Z allan $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: Roberto Alsina <ralsina@kde.org>
-
-pkgname=uniconvertor
-pkgver=1.1.5
-pkgrel=6
-pkgdesc="A universal vector graphics translator using sK1 engine."
-arch=('i686' 'x86_64')
-url="http://sk1project.org/modules.php?name=Products&product=uniconvertor"
-license=('GPL')
-depends=('python2' 'python2-imaging' 'python2-reportlab' 'sk1libs')
-makedepends=('gcc')
-source=(http://uniconvertor.googlecode.com/files/uniconvertor-$pkgver.tar.gz)
-md5sums=('d1272315a58304ece2ff588834e23f72')
-
-build() {
- cd "$srcdir/uniconvertor-$pkgver"
-
- # python2 fix
- sed -i 's_#! /usr/bin/python_#! /usr/bin/python2_' src/__init__.py
-
- python2 setup.py build
-}
-
-package() {
- cd "$srcdir/uniconvertor-$pkgver"
- python2 setup.py install --root="$pkgdir"
-}
diff --git a/community-testing/virtkey/PKGBUILD b/community-testing/virtkey/PKGBUILD
deleted file mode 100644
index 7d350b553..000000000
--- a/community-testing/virtkey/PKGBUILD
+++ /dev/null
@@ -1,46 +0,0 @@
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-# Contributor: codl <codl@aquageek.net>
-# Contributor: Megamixman <Megamixman@gmail.com>
-
-pkgbase=virtkey
-pkgname=('python2-virtkey' 'python-virtkey')
-pkgver=0.61.0
-pkgrel=2
-arch=('i686' 'x86_64')
-url="https://launchpad.net/virtkey"
-license=('LGPL')
-makedepends=('python2' 'python' 'libxtst' 'gtk2')
-source=(http://launchpad.net/$pkgbase/${pkgver%.*}/$pkgver/+download/$pkgbase-$pkgver.tar.gz)
-md5sums=('536d30acb2c8ddadc6b4a26fc01e8390')
-
-build() {
- cd "$srcdir"
-
- cp -a {,python2-}$pkgbase-$pkgver
-
- # Build python 2 module
- cd "$srcdir/python2-$pkgbase-$pkgver"
- python2 setup.py build
-
- # Build python 3 module
- cd "$srcdir/$pkgbase-$pkgver"
- python setup.py build
-}
-
-package_python2-virtkey() {
- pkgdesc="Python 2 extension for emulating keypresses and getting layout information from the X server"
- depends=('python2' 'libxtst' 'gtk2')
-
- cd "$srcdir/python2-$pkgbase-$pkgver"
-
- python2 setup.py install --root=$pkgdir/ --optimize=1
-}
-
-package_python-virtkey() {
- pkgdesc="Python extension for emulating keypresses and getting layout information from the X server"
- depends=('python' 'libxtst' 'gtk2')
-
- cd "$srcdir/$pkgbase-$pkgver"
-
- python3 setup.py install --root=$pkgdir/ --optimize=1
-}
diff --git a/community-testing/virtualbox-modules-lts/PKGBUILD b/community-testing/virtualbox-modules-lts/PKGBUILD
deleted file mode 100644
index 493f7cc3a..000000000
--- a/community-testing/virtualbox-modules-lts/PKGBUILD
+++ /dev/null
@@ -1,69 +0,0 @@
-# $Id: PKGBUILD 77089 2012-10-04 16:56:39Z bpiotrowski $
-# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
-# Contributor: Ionut Biru <ibiru@archlinux.org>
-# Contributor: Sébastien Luttringer <seblu@aur.archlinux.org>
-
-pkgbase=virtualbox-modules-lts
-pkgname=('virtualbox-host-modules-lts' 'virtualbox-guest-modules-lts')
-pkgver=4.2.0
-pkgrel=3
-arch=('i686' 'x86_64')
-url='http://virtualbox.org'
-license=('GPL')
-makedepends=('linux-lts-headers'
- "virtualbox-host-source>=$pkgver"
- "virtualbox-guest-source>=$pkgver"
- 'expac')
-
-build() {
- # current kernel version
- _kernver=$(expac -Q '%v' linux-lts-headers)-lts
- # dkms need modification to be run as user
- cp -r /var/lib/dkms .
- echo "dkms_tree='$srcdir/dkms'" > dkms.conf
- # build host modules
- msg2 'Host modules'
- dkms --dkmsframework dkms.conf build "vboxhost/$pkgver" -k "$_kernver"
- # build guest modules
- msg2 'Guest modules'
- dkms --dkmsframework dkms.conf build "vboxguest/$pkgver" -k "$_kernver"
-}
-
-package_virtualbox-host-modules-lts(){
- pkgdesc='Host kernel modules for VirtualBox'
- depends=('linux-lts>=3.0' 'linux-lts<3.1')
- replaces=('virtualbox-modules-lts')
- conflicts=('virtualbox-modules-lts')
- provides=("virtualbox-host-modules=$pkgver")
- install=virtualbox-host-modules-lts.install
-
- _kernver=$(expac -Q '%v' linux-lts-headers)-lts
- _extraver=extramodules-${_kernver%.*}-lts
-
- install -dm755 "$pkgdir/usr/lib/modules/$_extraver"
- cd "dkms/vboxhost/$pkgver/$_kernver/$CARCH/module"
- install -m644 * "$pkgdir/usr/lib/modules/$_extraver"
- find "$pkgdir" -name '*.ko' -exec gzip -9 {} +
- sed -ie "s/EXTRAMODULES='.*'/EXTRAMODULES='$_extraver'/" "$startdir/virtualbox-host-modules-lts.install"
-}
-
-package_virtualbox-guest-modules-lts(){
- pkgdesc='Guest kernel modules for VirtualBox'
- license=('GPL')
- depends=('linux-lts>=3.0' 'linux-lts<3.1')
- replaces=('virtualbox-archlinux-modules-lts')
- conflicts=('virtualbox-archlinux-modules-lts')
- provides=("virtualbox-host-modules=$pkgver")
- install=virtualbox-guest-modules-lts.install
-
- _kernver=$(expac -Q '%v' linux-lts-headers)-lts
- _extraver=extramodules-${_kernver%.*}-lts
-
- install -dm755 "$pkgdir/usr/lib/modules/$_extraver"
- cd "dkms/vboxguest/$pkgver/$_kernver/$CARCH/module"
- install -m644 * "$pkgdir/usr/lib/modules/$_extraver"
- find "$pkgdir" -name '*.ko' -exec gzip -9 {} +
- sed -ie "s/EXTRAMODULES='.*'/EXTRAMODULES='$_extraver'/" "$startdir/virtualbox-guest-modules-lts.install"
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/community-testing/virtualbox-modules-lts/build.sh b/community-testing/virtualbox-modules-lts/build.sh
deleted file mode 100755
index 828448cab..000000000
--- a/community-testing/virtualbox-modules-lts/build.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/bash
-
-if (( $# != 1 )); then
- echo "usage: $0 extra"
- echo " $0 testing"
- exit 1
-fi
-
-$1-i686-build
-linux32 makechrootpkg -I ../../virtualbox/trunk/virtualbox-host-source-*-i686.pkg.tar.xz -r /var/lib/archbuild/$1-i686
-linux32 makechrootpkg -I ../../virtualbox/trunk/virtualbox-guest-source-*-i686.pkg.tar.xz -r /var/lib/archbuild/$1-i686
-linux32 makechrootpkg -r /var/lib/archbuild/$1-i686
-
-$1-x86_64-build
-makechrootpkg -I ../../virtualbox/trunk/virtualbox-host-source-*-x86_64.pkg.tar.xz -r /var/lib/archbuild/$1-x86_64
-makechrootpkg -I ../../virtualbox/trunk/virtualbox-guest-source-*-x86_64.pkg.tar.xz -r /var/lib/archbuild/$1-x86_64
-makechrootpkg -r /var/lib/archbuild/$1-x86_64
-
-
-# vim:set ts=2 sw=2 ft=sh et:
diff --git a/community-testing/virtualbox-modules-lts/virtualbox-guest-modules-lts.install b/community-testing/virtualbox-modules-lts/virtualbox-guest-modules-lts.install
deleted file mode 100644
index d2984a743..000000000
--- a/community-testing/virtualbox-modules-lts/virtualbox-guest-modules-lts.install
+++ /dev/null
@@ -1,16 +0,0 @@
-EXTRAMODULES='extramodules-3.0-lts'
-
-post_install() {
-cat << EOF
-===> You may want to load vboxguest, vboxsf and vboxvideo
-EOF
- depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
-}
-
-post_upgrade() {
- depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
-}
-
-post_remove() {
- depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
-}
diff --git a/community-testing/virtualbox-modules-lts/virtualbox-host-modules-lts.install b/community-testing/virtualbox-modules-lts/virtualbox-host-modules-lts.install
deleted file mode 100644
index 07ecf7311..000000000
--- a/community-testing/virtualbox-modules-lts/virtualbox-host-modules-lts.install
+++ /dev/null
@@ -1,18 +0,0 @@
-EXTRAMODULES='extramodules-3.0-lts'
-
-post_install() {
-cat << EOF
-===> You must load vboxdrv module before starting VirtualBox:
-===> # modprobe vboxdrv
-EOF
- depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
-}
-
-post_upgrade() {
- depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
- echo 'In order to use the new version, reload all virtualbox modules manually.'
-}
-
-post_remove() {
- depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
-}
diff --git a/community-testing/virtualbox-modules/PKGBUILD b/community-testing/virtualbox-modules/PKGBUILD
deleted file mode 100644
index bd5a16ff1..000000000
--- a/community-testing/virtualbox-modules/PKGBUILD
+++ /dev/null
@@ -1,69 +0,0 @@
-# $Id: PKGBUILD 77179 2012-10-06 09:12:30Z tpowa $
-# Maintainer: Ionut Biru <ibiru@archlinux.org>
-# Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org>
-
-pkgbase=virtualbox-modules
-pkgname=('virtualbox-host-modules' 'virtualbox-guest-modules')
-pkgver=4.2.0
-pkgrel=6
-arch=('i686' 'x86_64')
-url='http://virtualbox.org'
-license=('GPL')
-makedepends=('linux-headers'
- "virtualbox-host-source>=$pkgver"
- "virtualbox-guest-source>=$pkgver"
- 'expac')
-
-build() {
- # current kernel version
- #_kernver=$(expac -Q '%v' linux-headers)-ARCH
- _kernver=3.6.0-1-ARCH
- # dkms need modification to be run as user
- cp -r /var/lib/dkms .
- echo "dkms_tree='$srcdir/dkms'" > dkms.conf
- # build host modules
- msg2 'Host modules'
- dkms --dkmsframework dkms.conf build "vboxhost/$pkgver" -k "$_kernver"
- # build guest modules
- msg2 'Guest modules'
- dkms --dkmsframework dkms.conf build "vboxguest/$pkgver" -k "$_kernver"
-}
-
-package_virtualbox-host-modules(){
- pkgdesc='Host kernel modules for VirtualBox'
- depends=('linux>=3.6' 'linux<3.7')
- replaces=('virtualbox-modules')
- conflicts=('virtualbox-modules')
- install=virtualbox-host-modules.install
-
- #_kernver=$(expac -Q '%v' linux-headers)-ARCH
- _kernver=3.6.0-1-ARCH
- _extraver=extramodules-${_kernver%.*}-ARCH
-
- install -dm755 "$pkgdir/usr/lib/modules/$_extraver"
- cd "dkms/vboxhost/$pkgver/$_kernver/$CARCH/module"
- install -m644 * "$pkgdir/usr/lib/modules/$_extraver"
- find "$pkgdir" -name '*.ko' -exec gzip -9 {} +
- sed -ie "s/EXTRAMODULES='.*'/EXTRAMODULES='$_extraver'/" "$startdir/virtualbox-host-modules.install"
-}
-
-package_virtualbox-guest-modules(){
- pkgdesc='Guest kernel modules for VirtualBox'
- license=('GPL')
- depends=('linux>=3.6' 'linux<3.7')
- replaces=('virtualbox-archlinux-modules')
- conflicts=('virtualbox-archlinux-modules')
- install=virtualbox-guest-modules.install
-
- #_kernver=$(expac -Q '%v' linux-headers)-ARCH
- _kernver=3.6.0-1-ARCH
- _extraver=extramodules-${_kernver%.*}-ARCH
-
- install -dm755 "$pkgdir/usr/lib/modules/$_extraver"
- cd "dkms/vboxguest/$pkgver/$_kernver/$CARCH/module"
- install -m644 * "$pkgdir/usr/lib/modules/$_extraver"
- find "$pkgdir" -name '*.ko' -exec gzip -9 {} +
- sed -ie "s/EXTRAMODULES='.*'/EXTRAMODULES='$_extraver'/" "$startdir/virtualbox-guest-modules.install"
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/community-testing/virtualbox-modules/build.sh b/community-testing/virtualbox-modules/build.sh
deleted file mode 100755
index 828448cab..000000000
--- a/community-testing/virtualbox-modules/build.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/bash
-
-if (( $# != 1 )); then
- echo "usage: $0 extra"
- echo " $0 testing"
- exit 1
-fi
-
-$1-i686-build
-linux32 makechrootpkg -I ../../virtualbox/trunk/virtualbox-host-source-*-i686.pkg.tar.xz -r /var/lib/archbuild/$1-i686
-linux32 makechrootpkg -I ../../virtualbox/trunk/virtualbox-guest-source-*-i686.pkg.tar.xz -r /var/lib/archbuild/$1-i686
-linux32 makechrootpkg -r /var/lib/archbuild/$1-i686
-
-$1-x86_64-build
-makechrootpkg -I ../../virtualbox/trunk/virtualbox-host-source-*-x86_64.pkg.tar.xz -r /var/lib/archbuild/$1-x86_64
-makechrootpkg -I ../../virtualbox/trunk/virtualbox-guest-source-*-x86_64.pkg.tar.xz -r /var/lib/archbuild/$1-x86_64
-makechrootpkg -r /var/lib/archbuild/$1-x86_64
-
-
-# vim:set ts=2 sw=2 ft=sh et:
diff --git a/community-testing/virtualbox-modules/virtualbox-guest-modules.install b/community-testing/virtualbox-modules/virtualbox-guest-modules.install
deleted file mode 100644
index e5d1038af..000000000
--- a/community-testing/virtualbox-modules/virtualbox-guest-modules.install
+++ /dev/null
@@ -1,17 +0,0 @@
-post_install() {
-cat << EOF
-===> You may want to load vboxguest, vboxsf and vboxvideo
-EOF
- EXTRAMODULES='extramodules-3.6-ARCH'
- depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
-}
-
-post_upgrade() {
- EXTRAMODULES='extramodules-3.6-ARCH'
- depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
-}
-
-post_remove() {
- EXTRAMODULES='extramodules-3.6-ARCH'
- depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
-}
diff --git a/community-testing/virtualbox-modules/virtualbox-host-modules.install b/community-testing/virtualbox-modules/virtualbox-host-modules.install
deleted file mode 100644
index 3f2ed4a10..000000000
--- a/community-testing/virtualbox-modules/virtualbox-host-modules.install
+++ /dev/null
@@ -1,19 +0,0 @@
-post_install() {
-cat << EOF
-===> You must load vboxdrv module before starting VirtualBox:
-===> # modprobe vboxdrv
-EOF
- EXTRAMODULES='extramodules-3.6-ARCH'
- depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
-}
-
-post_upgrade() {
- EXTRAMODULES='extramodules-3.6-ARCH'
- depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
- echo 'In order to use the new version, reload all virtualbox modules manually.'
-}
-
-post_remove() {
- EXTRAMODULES='extramodules-3.6-ARCH'
- depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
-}
diff --git a/community-testing/warzone2100/PKGBUILD b/community-testing/warzone2100/PKGBUILD
deleted file mode 100644
index 0fbaa7e37..000000000
--- a/community-testing/warzone2100/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# $Id: PKGBUILD 77388 2012-10-09 14:04:20Z lcarlier $
-# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
-# Contributor: Angelo Theodorou <encelo@users.sourceforge.net>
-
-pkgname=warzone2100
-pkgver=2.3.9
-pkgrel=3
-pkgdesc="3D realtime strategy game on a future Earth"
-url="http://wz2100.net/"
-arch=('i686' 'x86_64')
-license=('GPL')
-depends=('sdl' 'openal' 'libpng' 'libvorbis' 'libtheora' 'physfs' 'quesoglc' 'popt' 'ttf-dejavu')
-makedepends=('gawk' 'bison' 'flex' 'zip' 'unzip' 'asciidoc')
-source=(#"http://downloads.sourceforge.net/project/warzone2100/releases/${pkgver}/${pkgname}-${pkgver}.tar.gz"
- "http://downloads.sourceforge.net/project/warzone2100/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-md5sums=('7185090a089c9c0e0eca7535a8f25dca')
-
-build() {
- cd ${pkgname}-${pkgver}
-
- ./configure --prefix=/usr --with-distributor="Arch linux"
-
- make
-}
-
-package() {
- cd ${pkgname}-${pkgver}
-
- make DESTDIR=${pkgdir} install
-}
diff --git a/community-testing/xbmc/ChangeLog b/community-testing/xbmc/ChangeLog
deleted file mode 100644
index 66ae97e3b..000000000
--- a/community-testing/xbmc/ChangeLog
+++ /dev/null
@@ -1,69 +0,0 @@
-2010-04-10 BlackEagle <ike DOT devolder AT gmail DOT com>
- * 9.11-15 :
- Made it back compliant with FHS ( thx pierre for pointing that out )
- namcap checked and modified to fit its needs as far as it was possible
-
-2009-03-07 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 8.10-10 :
- Try and fix some autoconf issues (thanks Gentoo ebuild).
-
-2009-02-08 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 8.10-9 :
- Replace some libtool 'ltmain.sh' scripts with the one from libtool
- installed with Arch.
- Make sure XBMCTex isn't linked to OpenGL libraries or it will segfault
- on systems using the nvidia driver.
-
-2009-01-30 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 8.10-8 :
- Fix some include's so that gcc 4.3.x is happy, shouldn't complain about
- undefined '::realloc' anymore.
- Remove Mac OS X specific files.
-
-2009-01-25 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 8.10-7 :
- Moved libcdio, pmount, smbclient and unrar to optdepends.
- Removed unneeded dependency on sdl_gfx.
- Removed dependency on libpng as sdl_image depends on it.
-
-2008-12-14 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 8.10-6 :
- Added libpng to dependency list.
- Added gawk to dependency list.
- Removed '--disable-mms' and '--enable-halmount' configure flags as they
- are not mentioned as supported in the configure script.
-
-2008-12-06 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 8.10-5 :
- Added libmad to the dependency list.
- Streamripper 1.64.0+ does not include tre anymore, removed streamripper
- and added tre instead.
- Removed subversion from makedepends.
-
-2008-12-06 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 8.10-4 :
- Fix permissions for some more scripts, ffmpeg/texi2doc.pl should not
- fail any longer.
-
-2008-12-05 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 8.10-3 :
- Added lirc to the optdepends array.
-
-2008-11-26 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 8.10-2 :
- Added install file which informs users that a display depth of at
- least 24-bit is required.
-
-2008-11-17 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 8.10-1 :
- Initial package, based on previous work by Zeqadious.
diff --git a/community-testing/xbmc/PKGBUILD b/community-testing/xbmc/PKGBUILD
deleted file mode 100644
index 1cefe9cee..000000000
--- a/community-testing/xbmc/PKGBUILD
+++ /dev/null
@@ -1,107 +0,0 @@
-# $Id: PKGBUILD 77308 2012-10-08 15:42:04Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: Brad Fanella <bradfanella@archlinux.us>
-# Contributor: [vEX] <niechift.dot.vex.at.gmail.dot.com>
-# Contributor: Zeqadious <zeqadious.at.gmail.dot.com>
-# Contributor: BlackIkeEagle < ike DOT devolder AT gmail DOT com >
-
-_prefix=/usr
-
-pkgname=xbmc
-pkgver=11.0
-pkgrel=8
-pkgdesc="A software media player and entertainment hub for digital media"
-arch=('i686' 'x86_64')
-url="http://xbmc.org"
-license=('GPL' 'custom')
-depends=('libpulse' 'hicolor-icon-theme' 'fribidi' 'lzo2' 'smbclient' 'libtiff' 'libva'
- 'libpng' 'libcdio' 'yajl' 'libmysqlclient' 'libjpeg-turbo' 'libsamplerate'
- 'glew' 'libssh' 'libmicrohttpd' 'libxrandr' 'sdl_mixer' 'sdl_image' 'python2'
- 'libass' 'libmpeg2' 'libmad' 'libmodplug' 'jasper' 'rtmpdump' 'unzip' 'mesa-demos'
- 'xorg-xdpyinfo' 'libbluray' 'libnfs' 'afpfs-ng' 'libshairport' 'avahi' 'bluez' 'glu')
-makedepends=('boost' 'cmake' 'gperf' 'nasm' 'libxinerama' 'zip' 'vdpau-video' 'libcec'
- 'udisks' 'upower' 'bluez')
-optdepends=('libcec: support for Pulse-Eight USB-CEC adapter'
- 'vdpau-video: accelerated video playback for nvidia cards'
- 'xvba-video: accelerated video playback for amd cards'
- 'pulseaudio: pulseaudio support'
- 'lirc: remote controller support'
- 'udisks: automount external drives'
- 'upower: used to trigger suspend functionality'
- 'unrar: access compressed files without unpacking them')
-install="${pkgname}.install"
-source=("http://mirrors.xbmc.org/releases/source/xbmc-$pkgver.tar.gz")
-sha256sums=('1fe5d310c16138f26e2b13bc545604e95f48ace6c8636f23e77da402cd7b0b19')
-sha256sums=('1fe5d310c16138f26e2b13bc545604e95f48ace6c8636f23e77da402cd7b0b19')
-
-build() {
- cd "${srcdir}/xbmc-$pkgver"
-
- # fix lsb_release dependency
- sed -i -e 's:/usr/bin/lsb_release -d:cat /etc/arch-release:' xbmc/utils/SystemInfo.cpp
-
- # Bootstrapping XBMC
- ./bootstrap
-
- # Configuring XBMC
- export PYTHON_VERSION=2 # external python v2
- ./configure --prefix=$_prefix --exec-prefix=$_prefix \
- --disable-debug \
- --enable-optimizations \
- --enable-gl \
- --enable-sdl \
- --enable-vaapi \
- --enable-vdpau \
- --enable-xvba \
- --enable-joystick \
- --enable-xrandr \
- --enable-rsxs \
- --enable-projectm \
- --enable-x11 \
- --enable-pulse \
- --enable-rtmp \
- --enable-samba \
- --enable-nfs \
- --enable-afpclient \
- --enable-airplay \
- --enable-airtunes \
- --enable-ffmpeg-libvorbis \
- --enable-dvdcss \
- --disable-hal \
- --enable-avahi \
- --enable-webserver \
- --enable-optical-drive \
- --enable-libbluray \
- --enable-texturepacker \
- --enable-udev \
- --enable-libusb \
- --enable-libcec \
- --enable-external-libraries \
- --disable-external-ffmpeg
- # Now (finally) build
- make
-}
-
-package() {
- cd "${srcdir}/xbmc-$pkgver"
- # Running make install
- make DESTDIR="${pkgdir}" install
-
- # run feh with python2
- sed -i -e 's/python/python2/g' ${pkgdir}${_prefix}/bin/xbmc
-
- # lsb_release fix
- sed -i -e 's/which lsb_release &> \/dev\/null/\[ -f \/etc\/arch-release ]/g' "${pkgdir}${_prefix}/bin/xbmc"
- sed -i -e "s/lsb_release -a 2> \/dev\/null | sed -e 's\/\^\/ \/'/cat \/etc\/arch-release/g" "${pkgdir}${_prefix}/bin/xbmc"
-
- # Tools
- install -D -m 0755 "${srcdir}/xbmc-$pkgver/xbmc-xrandr" "${pkgdir}${_prefix}/share/xbmc/xbmc-xrandr"
- install -D -m 0755 "${srcdir}/xbmc-$pkgver/tools/TexturePacker/TexturePacker" "${pkgdir}${_prefix}/share/xbmc/"
-
- # Licenses
- install -d -m 0755 "${pkgdir}${_prefix}/share/licenses/${pkgname}"
- for licensef in LICENSE.GPL copying.txt; do
- mv "${pkgdir}${_prefix}/share/doc/xbmc/${licensef}" "${pkgdir}${_prefix}/share/licenses/${pkgname}"
- done
-}
-# vim:set ts=2 sw=2 et:
diff --git a/community-testing/xbmc/xbmc.install b/community-testing/xbmc/xbmc.install
deleted file mode 100644
index 862508e73..000000000
--- a/community-testing/xbmc/xbmc.install
+++ /dev/null
@@ -1,15 +0,0 @@
-post_install() {
- [[ $(type -p gtk-update-icon-cache) ]] && usr/bin/gtk-update-icon-cache -qtf usr/share/icons/hicolor
- [[ $(type -p update-desktop-database) ]] && usr/bin/update-desktop-database -q usr/share/applications
- true
-}
-
-post_upgrade() {
- post_install $1
- true
-}
-
-post_remove() {
- post_install $1
- true
-}
diff --git a/community-testing/xlockmore/LICENSE b/community-testing/xlockmore/LICENSE
deleted file mode 100644
index f0b9aa9c6..000000000
--- a/community-testing/xlockmore/LICENSE
+++ /dev/null
@@ -1,18 +0,0 @@
-/*-
- * xscreensaver compatibility layer for xlockmore modules.
- * xscreensaver, Copyright (c) 1997, 1998 Jamie Zawinski <jwz@jwz.org>
- *
- * 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. No representations are made about the suitability of this
- * software for any purpose. It is provided "as is" without express or
- * implied warranty.
- *
- * This file, along with xlockmore.h, make it possible to compile an xlockmore
- * module into a standalone program, and thus use it with xscreensaver.
- * By Jamie Zawinski <jwz@jwz.org> on 10-May-97; based on the ideas
- * in the older xlock.h by Charles Hannum <mycroft@ai.mit.edu>. (I had
- * to redo it, since xlockmore has diverged so far from xlock...)
- */
diff --git a/community-testing/xlockmore/PKGBUILD b/community-testing/xlockmore/PKGBUILD
deleted file mode 100644
index fc3d8b336..000000000
--- a/community-testing/xlockmore/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# $Id: PKGBUILD 77304 2012-10-08 15:13:08Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Maintainer: dorphell <dorphell@archlinux.org>
-
-pkgname=xlockmore
-pkgver=5.40
-pkgrel=2
-pkgdesc="screen saver / locker for the X Window System"
-arch=(i686 x86_64)
-license=('BSD')
-depends=(freetype2 gtk2 libxpm lesstif pam mesa libxmu glu)
-url="http://www.tux.org/~bagleyd/xlockmore.html"
-options=('!makeflags')
-source=(http://www.tux.org/~bagleyd/xlock/xlockmore-$pkgver/xlockmore-$pkgver.tar.bz2
- LICENSE)
-md5sums=('47a8e16c485da7b0ebfa3f3e43300189'
- 'a64afab4283f53972a6702c2e59850d7')
-
-build() {
- cd $srcdir/$pkgname-$pkgver
- ./configure --prefix=/usr --disable-setuid \
- --enable-appdefaultdir=/usr/share/X11/app-defaults \
- --enable-pam --with-gtk2 --without-esound --without-ftgl
- make
- make xapploaddir=$pkgdir/usr/share/X11/app-defaults \
- mandir=$pkgdir/usr/man/man1 \
- prefix=$pkgdir/usr install
- install -D -m644 ../LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
- mv $pkgdir/usr/man $pkgdir/usr/share/
-}
diff --git a/community-testing/xmobar/0001-Update-usage-of-catch-to-catchIOError-since-catch-ha.patch b/community-testing/xmobar/0001-Update-usage-of-catch-to-catchIOError-since-catch-ha.patch
deleted file mode 100644
index d4508c916..000000000
--- a/community-testing/xmobar/0001-Update-usage-of-catch-to-catchIOError-since-catch-ha.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From b7345a790e8026a2075ce636ac377d8f049b4b7c Mon Sep 17 00:00:00 2001
-From: Thomas Dziedzic <gostrc@gmail.com>
-Date: Wed, 3 Oct 2012 06:51:21 -0700
-Subject: [PATCH] Update usage of catch to catchIOError since catch has been
- removed from System.IO.Error in ghc 7.6.1
-
----
- src/Plugins/Monitors/Bright.hs | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/src/Plugins/Monitors/Bright.hs b/src/Plugins/Monitors/Bright.hs
-index 499e5bc..b5ec4c0 100644
---- a/src/Plugins/Monitors/Bright.hs
-+++ b/src/Plugins/Monitors/Bright.hs
-@@ -20,6 +20,7 @@ import Data.Char
- import System.FilePath ((</>))
- import System.Posix.Files (fileExist)
- import System.Console.GetOpt
-+import System.IO.Error (catchIOError)
-
- data BrightOpts = BrightOpts
- { subDir :: String
-@@ -101,7 +102,7 @@ readBright files =
- maxVal <- grab $ (fMax files)
- return $ (currVal / maxVal)
- where
-- grab f = catch (fmap (read . B.unpack) $ B.readFile f)(\_ -> return 0)
-+ grab f = catchIOError (fmap (read . B.unpack) $ B.readFile f)(\_ -> return 0)
-
-
- showHorizontalBar :: Float -> Monitor String
---
-1.7.12.2
-
diff --git a/community-testing/xmoto/PKGBUILD b/community-testing/xmoto/PKGBUILD
deleted file mode 100644
index 6cfbb2db3..000000000
--- a/community-testing/xmoto/PKGBUILD
+++ /dev/null
@@ -1,48 +0,0 @@
-# $Id: PKGBUILD 77535 2012-10-11 21:34:16Z lcarlier $
-# Maintainer: Ronald van Haren <ronald.archlinux.org>
-# Contributor: Travis Willard <travisw@wmpub.ca>
-# Contributor: Denis (dtonator@gmail.com)
-
-pkgname=xmoto
-pkgver=0.5.10
-pkgrel=2
-pkgdesc="A challenging 2D motocross platform game, where physics play an important role."
-arch=('i686' 'x86_64')
-url="http://xmoto.tuxfamily.org"
-license=('GPL')
-depends=('libjpeg' 'libpng' 'lua' 'sdl_mixer' 'ode' 'curl'
- 'sqlite3' 'sdl_ttf' 'desktop-file-utils' 'sdl_net' 'glu'
- 'libxdg-basedir' 'libxml++')
-makedepends=('mesa')
-install=xmoto.install
-source=("http://download.tuxfamily.org/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}-src.tar.gz"
- 'xmoto-0.5.10-libpng15.patch'
- 'system.cpp.patch')
-sha1sums=('692d50a9c91791cd06ee84846632651b44544fcc'
- '9d13fa09f1c558a0fc504f7e7b1ceac6b4b7b20d'
- 'e741f769d1fc5779a6688970ee97e2a61a50c7ae')
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
-
- patch -Np1 -i "${srcdir}/xmoto-0.5.10-libpng15.patch"
- patch -Np1 -i "${srcdir}/system.cpp.patch"
-
- # build and install
- ./configure LDFLAGS="-L/usr/lib" --prefix=/usr --disable-sdltest
-
- make
-}
-
-package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} mangdir=/usr/share/man/man6 install
-
- # install desktop file
- install -Dm0644 ${srcdir}/${pkgname}-${pkgver}/extra/xmoto.desktop \
- ${pkgdir}/usr/share/applications/xmoto.desktop
-
- # install icon for desktop file
- install -Dm0644 ${srcdir}/${pkgname}-${pkgver}/extra/xmoto.xpm \
- ${pkgdir}/usr/share/pixmaps/xmoto.xpm
-}
diff --git a/community-testing/xmoto/system.cpp.patch b/community-testing/xmoto/system.cpp.patch
deleted file mode 100644
index df42e3a7c..000000000
--- a/community-testing/xmoto/system.cpp.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/src/helpers/System.cpp 2011-10-11 22:18:14.000000000 +0200
-+++ b/src/helpers/System.cpp 2012-07-21 21:28:40.000000000 +0200
-@@ -24,6 +24,7 @@
- #include "Log.h"
- #include "VExcept.h"
- #include <sstream>
-+#include <unistd.h>
-
- std::vector<std::string>* System::getDisplayModes(int windowed) {
- std::vector<std::string>* modes = new std::vector<std::string>;
diff --git a/community-testing/xmoto/xmoto-0.5.10-libpng15.patch b/community-testing/xmoto/xmoto-0.5.10-libpng15.patch
deleted file mode 100644
index aed175c7c..000000000
--- a/community-testing/xmoto/xmoto-0.5.10-libpng15.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/src/image/tim_png.cpp 2011-12-29 22:13:37.000000000 +0100
-+++ b/src/image/tim_png.cpp 2012-07-21 21:36:34.000000000 +0200
-@@ -24,6 +24,7 @@
- */
- #include <stdio.h>
- #include <string.h>
-+#include <zlib.h>
- #include "tim.h"
- #include <png.h>
- #include <zlib.h>
diff --git a/community-testing/xmoto/xmoto.install b/community-testing/xmoto/xmoto.install
deleted file mode 100644
index e111ef946..000000000
--- a/community-testing/xmoto/xmoto.install
+++ /dev/null
@@ -1,11 +0,0 @@
-post_install() {
- update-desktop-database -q
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
diff --git a/community-testing/znc/PKGBUILD b/community-testing/znc/PKGBUILD
deleted file mode 100644
index 7222f1953..000000000
--- a/community-testing/znc/PKGBUILD
+++ /dev/null
@@ -1,50 +0,0 @@
-# $Id: PKGBUILD 78129 2012-10-16 11:54:52Z allan $
-# Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org>
-# Contributor: Kaiting Chen <kaitocracy@gmail.com>
-# Contributor: mickael9 <mickael9 at gmail dot com>
-
-pkgname=znc
-pkgver=0.206
-pkgrel=3
-pkgdesc='An IRC bouncer with modules & scripts support'
-url='http://en.znc.in/wiki/index.php/ZNC'
-license=('GPL2')
-arch=('i686' 'x86_64')
-depends=('c-ares' 'libsasl')
-#makedepends=('swig' 'tcl' 'python' 'perl')
-makedepends=('tcl' 'python' 'perl')
-optdepends=('tcl: modtcl module'
- 'python: modpython module'
- 'perl: modperl module'
- 'cyrus-sasl: saslauth module')
-source=("http://znc.in/releases/$pkgname-$pkgver.tar.gz"
- "http://people.znc.in/~darthgandalf/znc/modperl/modperl-znc-0.204.tar.bz2"
- "http://people.znc.in/~darthgandalf/znc/modpython/modpython-znc-0.204.tar.bz2")
-md5sums=('b7d3f21da81abaeb553066b0e10beb53'
- 'a9c72d556d9a4ef100520433f17d71ae'
- '19bf033c5cb9243171c215043c594f07')
-
-build() {
- # swig 2.0.6 is bugged, see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=672035
- # use an alternate ways of building znc explain here:
- # - http://wiki.znc.in/Modperl
- # - http://wiki.znc.in/Modpython
- mv -v modperl/* $pkgname-$pkgver/modules/modperl
- mv -v modpython/* $pkgname-$pkgver/modules/modpython
- cd $pkgname-$pkgver
- ./configure --prefix=/usr \
- --enable-sasl \
- --enable-python \
- --enable-perl \
- --enable-tcl \
- --disable-swig \
- --enable-extra
- make
-}
-
-package() {
- cd $pkgname-$pkgver
- make DESTDIR="$pkgdir" install
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/community/chuck/PKGBUILD b/community/chuck/PKGBUILD
index fa6383f90..fe6b7247d 100644
--- a/community/chuck/PKGBUILD
+++ b/community/chuck/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 76163 2012-09-12 11:20:01Z arodseth $
+# $Id: PKGBUILD 78497 2012-10-20 00:31:27Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Laurent Carlier <lordheavym@gmail.com>
# Contributor: Brad Fanella <bradfanella@archlinux.us>
@@ -7,36 +7,34 @@
# Contributor: tardo <tardo@nagi-fanboi.net>
pkgname=chuck
-pkgver=1.3.1.0
+pkgver=1.3.1.3
pkgrel=1
-pkgdesc="Concurrent, on-the-fly audio programming language"
+pkgdesc='Concurrent, on-the-fly audio programming language'
arch=('x86_64' 'i686')
-url="http://chuck.cs.princeton.edu/"
+url='http://chuck.cs.princeton.edu/'
license=('GPL')
depends=('gcc-libs' 'libsndfile')
-# base-devel
-#makedepends=('bison' 'flex')
source=("http://chuck.cs.princeton.edu/release/files/$pkgname-$pkgver.tgz")
-sha256sums=('43af7e06f06932cd3afde9facb17c83530e0fa45826b1f3ea04496f10f009d0a')
+sha256sums=('8ef8a65fe4d265b6f509b9339355a5658b47d9b43219fa09c182ca846cc0a740')
build() {
- cd "$srcdir/$pkgname-$pkgver/src"
+ cd $srcdir/$pkgname-$pkgver/src
- msg2 "Configuring..."
+ msg2 'Configuring...'
CFLAGS+=' -fno-strict-aliasing -lpthread'
CXXFLAGS+=' -fno-strict-aliasing -fpermissive -lpthread'
- msg2 "Compiling..."
+ msg2 'Compiling...'
# Alternatives to linux-alsa are: linux-jack linux-oss osx win32
make linux-alsa
}
package() {
- cd "$srcdir/$pkgname-$pkgver/src"
+ cd $srcdir/$pkgname-$pkgver/src
install -Dm755 chuck $pkgdir/usr/bin/chuck
- mkdir -p "$pkgdir/usr/share/doc/$pkgname"
- cp -r ../examples "$pkgdir/usr/share/doc/$pkgname/"
+ mkdir -p $pkgdir/usr/share/doc/$pkgname
+ cp -r ../examples $pkgdir/usr/share/doc/$pkgname/
}
# vim:set ts=2 sw=2 et:
diff --git a/community/freeorion/PKGBUILD b/community/freeorion/PKGBUILD
index f79d9cd07..aba0ba331 100644
--- a/community/freeorion/PKGBUILD
+++ b/community/freeorion/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 76059 2012-09-10 08:39:54Z arodseth $
+# $Id: PKGBUILD 78495 2012-10-19 23:54:49Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: guini <sidtrun@googlemail.com>
# Contributor: Forrest Loomis <cybercyst _ at _ gmail dot com>
@@ -7,7 +7,7 @@
pkgname=freeorion
pkgver=0.4.1
-pkgrel=1
+pkgrel=3
pkgdesc='Turn-based galactic conquest game inspired by Master of Orion'
arch=('x86_64' 'i686')
url='http://www.freeorion.org/'
@@ -18,7 +18,7 @@ then
else
depends=('nvidia-cg-toolkit')
fi
-depends=('bullet' 'freealut' 'libvorbis' 'python2' 'gigi' 'desktop-file-utils')
+depends=('bullet>=2.81' 'freealut' 'libvorbis' 'python2' 'gigi' 'desktop-file-utils')
makedepends=('boost>=1.49.0' 'ogre' 'sdl' 'gigi>=0.8.0-12' 'graphviz' 'clang'
'desktop-file-utils' 'setconf' 'cmake' 'gendesk' 'subversion'
'libogg')
diff --git a/community/galculator/PKGBUILD b/community/galculator/PKGBUILD
index aa61c2a5e..f61078339 100644
--- a/community/galculator/PKGBUILD
+++ b/community/galculator/PKGBUILD
@@ -1,22 +1,23 @@
+# $Id: PKGBUILD 78485 2012-10-19 15:50:56Z bpiotrowski $
# Maintainer: Bartłomiej Piotrowski <barthalion@gmail.com>
# Contributor: SpepS <dreamspepser at yahoo dot it>
# Contributor: Alexander Fehr <pizzapunk gmail com>
pkgname=galculator
-pkgver=1.3.4
-pkgrel=2
-pkgdesc="GTK+ based scientific calculator"
+pkgver=2.0
+pkgrel=1
+pkgdesc='GTK+ based scientific calculator'
arch=('i686' 'x86_64' 'mips64el')
-url="http://galculator.sourceforge.net/"
+url='http://galculator.sourceforge.net/'
license=('GPL')
-depends=('libglade')
+depends=('gtk3' 'hicolor-icon-theme' 'gtk-update-icon-cache' 'desktop-file-utils')
makedepends=('intltool')
-install="$pkgname.install"
-source=("http://downloads.sourceforge.net/galculator/galculator-$pkgver.tar.bz2")
-md5sums=('d30e6fbf5947bb1c873bc9d5a21046f1')
+install=$pkgname.install
+source=(http://downloads.sourceforge.net/galculator/galculator-$pkgver.tar.bz2)
+md5sums=('2bec5c1cdab9c5421855f878f8018929')
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd $srcdir/$pkgname-$pkgver
LDFLAGS+=' -lm'
./configure --prefix=/usr
@@ -24,7 +25,7 @@ build() {
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd $srcdir/$pkgname-$pkgver
make DESTDIR="$pkgdir" install
}
diff --git a/community/galculator/galculator.install b/community/galculator/galculator.install
index a852f0449..fe845ffb1 100644
--- a/community/galculator/galculator.install
+++ b/community/galculator/galculator.install
@@ -1,5 +1,6 @@
post_install() {
update-desktop-database -q
+ [[ -e /usr/bin/gtk-update-icon-cache ]] && gtk-update-icon-cache
}
post_upgrade() {
diff --git a/community/libmemcached/PKGBUILD b/community/libmemcached/PKGBUILD
index b17a00d2d..684e721d3 100644
--- a/community/libmemcached/PKGBUILD
+++ b/community/libmemcached/PKGBUILD
@@ -1,18 +1,18 @@
-# $Id: PKGBUILD 76498 2012-09-19 16:39:12Z foutrelis $
+# $Id: PKGBUILD 78493 2012-10-19 20:57:01Z foutrelis $
# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
pkgname=libmemcached
-pkgver=1.0.11
+pkgver=1.0.13
pkgrel=1
pkgdesc="C and C++ client library to the memcached server"
arch=('i686' 'x86_64' 'mips64el')
url="http://libmemcached.org/"
license=('GPL')
depends=('glibc' 'libsasl' 'libevent')
-makedepends=('perl')
+makedepends=('perl' 'python-sphinx')
options=('!libtool')
source=(http://launchpad.net/$pkgname/1.0/$pkgver/+download/$pkgname-$pkgver.tar.gz)
-sha256sums=('d1bf75110fa9220c0c2287e6fc81ce70b83d91453ce09120553f8f531ffd2137')
+sha256sums=('41efd1b5e1a8839ebe6c51714ae013f1a4b547bee0973cd8d87cdebdefdc4b28')
build() {
cd "$srcdir/$pkgname-$pkgver"
diff --git a/community/luajit/PKGBUILD b/community/luajit/PKGBUILD
index ff461694f..ae3b5b636 100644
--- a/community/luajit/PKGBUILD
+++ b/community/luajit/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 78364 2012-10-17 15:26:40Z bpiotrowski $
+# $Id: PKGBUILD 78428 2012-10-18 04:30:04Z bpiotrowski $
# Maintainer: Chris Brannon <chris@the-brannons.com>
# Maintainer: Bartłomiej Piotrowski
# Contributor: Paulo Matias <matiasΘarchlinux-br·org>
@@ -6,7 +6,7 @@
pkgname=luajit
pkgver=2.0.0b11
-pkgrel=2
+pkgrel=3
pkgdesc='A Just-In-Time Compiler for Lua'
arch=('i686' 'x86_64' 'mips64el')
url='http://luajit.org/'
@@ -20,7 +20,7 @@ md5sums=('824aa2684a11e3cc3abe87350a7b6139'
build() {
cd $srcdir/LuaJIT-${pkgver/b/-beta}
patch -Np0 -i $srcdir/Makefile.patch
- make
+ make PREFIX=/usr
}
package() {
diff --git a/community/luakit/PKGBUILD b/community/luakit/PKGBUILD
index 20ae4d8e1..09392ace9 100644
--- a/community/luakit/PKGBUILD
+++ b/community/luakit/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 78391 2012-10-17 16:47:33Z bpiotrowski $
+# $Id: PKGBUILD 78446 2012-10-18 17:40:26Z bpiotrowski $
# Maintainer: Bartłomiej Piotrowski
# Contributor: Thomas Dziedzic < gostrc at gmail >
# Contributor: J. W. Birdsong <jwbirdsong AT gmail DOT com>
@@ -6,21 +6,21 @@
pkgname=luakit
pkgver=2012.09.13.r1
_pkgver=2012.09.13-r1
-pkgrel=2
+pkgrel=3
pkgdesc='Fast, small, webkit based browser framework extensible by Lua'
arch=('i686' 'x86_64' 'mips64el')
url='http://www.luakit.org/projects/luakit'
license=('GPL3')
-depends=('libwebkit' 'luafilesystem' 'libunique' 'desktop-file-utils')
+depends=('libwebkit' 'luafilesystem' 'libunique' 'desktop-file-utils' 'luajit')
makedepends=('git' 'help2man')
options=(!makeflags)
install='luakit.install'
-source=($pkgver.tar.gz::https://github.com/mason-larobina/luakit/tarball/$_pkgver)
+source=($pkgname-$pkgver.tar.gz::https://github.com/mason-larobina/luakit/tarball/$_pkgver)
md5sums=('77b02e6d19ba021409f1778fddd94a42')
build() {
cd mason-larobina-luakit-*
- make PREFIX=/usr DESTDIR=$pkgdir all
+ make USE_LUAJIT=1 PREFIX=/usr all
}
package() {
diff --git a/community/mosh/PKGBUILD b/community/mosh/PKGBUILD
index bee3d101b..58f42ea53 100644
--- a/community/mosh/PKGBUILD
+++ b/community/mosh/PKGBUILD
@@ -4,7 +4,7 @@
# Contributor: Thomas Weißschuh <thomas_weissschuh lavabit.com>
pkgname=mosh
-pkgver=1.2.2
+pkgver=1.2.3
pkgrel=1
pkgdesc='Mobile shell, surviving disconnects with local echo and line editing'
arch=('x86_64' 'i686' 'mips64el')
@@ -13,11 +13,11 @@ license=('GPL3')
depends=('protobuf' 'ncurses' 'zlib' 'openssh' 'perl' 'perl-io-tty')
#optdepends=('libutempter: record of session in {u,t}wmp (recompile mosh afterwards)')
source=("https://github.com/downloads/keithw/mosh/$pkgname-$pkgver.tar.gz")
-sha1sums=('f0227800298d80e9f1353db3b29a807de833d7d2')
+sha256sums=('93f09fda77e57f05485a61f3ac679bf9f3f359a9b0b93c216ddd53cd124a768f')
options=('!emptydirs')
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd $srcdir/$pkgname-$pkgver
./autogen.sh
./configure --prefix=/usr
@@ -25,13 +25,13 @@ build() {
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd $srcdir/$pkgname-$pkgver
- make DESTDIR="$pkgdir/" install
- install -Dm644 "conf/bash_completion.d/$pkgname" \
- "$pkgdir/usr/share/bash-completion/completions/$pkgname"
- install -Dm644 "conf/ufw/applications.d/$pkgname" \
- "$pkgdir/etc/ufw/applications.d/ufw-$pkgname"
+ make DESTDIR=$pkgdir install
+ install -Dm644 conf/bash_completion.d/$pkgname \
+ $pkgdir/usr/share/bash-completion/completions/$pkgname
+ install -Dm644 conf/ufw/applications.d/$pkgname \
+ $pkgdir/etc/ufw/applications.d/ufw-$pkgname
}
# vim:set ts=2 sw=2 et:
diff --git a/community/onboard/1012_1011.diff b/community/onboard/1012_1011.diff
new file mode 100644
index 000000000..233478ac9
--- /dev/null
+++ b/community/onboard/1012_1011.diff
@@ -0,0 +1,17 @@
+=== modified file 'setup.py'
+--- setup.py 2012-08-09 13:21:31 +0000
++++ setup.py 2012-10-18 17:17:38 +0000
+@@ -11,12 +11,6 @@
+ from distutils.core import Extension, Command
+ from distutils import version
+
+-# Work around encoding error in python3-distutils-extra
+-# when building in pbuilder with LANG=C (LP# 1017468).
+-if sys.version_info.major == 3:
+- import locale
+- locale.getpreferredencoding = lambda: 'UTF-8'
+-
+ try:
+ import DistUtilsExtra.auto
+ except ImportError:
+
diff --git a/community/onboard/1013_1012.diff b/community/onboard/1013_1012.diff
new file mode 100644
index 000000000..a00b4ecf9
--- /dev/null
+++ b/community/onboard/1013_1012.diff
@@ -0,0 +1,22 @@
+=== modified file 'Onboard/Config.py'
+--- Onboard/Config.py 2012-10-18 16:17:12 +0000
++++ Onboard/Config.py 2012-10-18 17:19:00 +0000
+@@ -73,7 +73,7 @@
+ DEFAULT_RESIZE_HANDLES = list(Handle.RESIZERS)
+
+ SCHEMA_VERSION_0_97 = Version(1, 0) # Onboard 0.97
+-SCHEMA_VERSION_0_98 = Version(2, 0) # Onboard 0.97.1
++SCHEMA_VERSION_0_98 = Version(2, 0) # Onboard 0.97.1
+ SCHEMA_VERSION = SCHEMA_VERSION_0_98
+
+
+@@ -145,7 +145,7 @@
+ Singleton magic.
+ """
+ if not hasattr(cls, "self"):
+- cls.self = object.__new__(cls, args, kwargs)
++ cls.self = object.__new__(cls, *args, **kwargs)
+ cls.self.construct()
+ return cls.self
+
+
diff --git a/community/onboard/PKGBUILD b/community/onboard/PKGBUILD
index 78977549c..9b72ec7f5 100644
--- a/community/onboard/PKGBUILD
+++ b/community/onboard/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 78206 2012-10-17 10:25:00Z allan $
+# $Id: PKGBUILD 78453 2012-10-18 21:14:21Z bgyorgy $
# Maintainer: Balló György <ballogyor+arch at gmail dot com>
pkgname=onboard
pkgver=0.98.1
-pkgrel=1
+pkgrel=2
pkgdesc="On-screen keyboard useful on tablet PCs or for mobility impaired users"
arch=('i686' 'x86_64' 'mips64el')
url="https://launchpad.net/onboard"
@@ -14,14 +14,19 @@ optdepends=('at-spi2-atk: auto-show when editing text'
'mousetweaks: hover click with mouse')
options=('!emptydirs')
install=$pkgname.install
-source=(http://launchpad.net/$pkgname/${pkgver%.*}/$pkgver/+download/$pkgname-$pkgver.tar.gz)
-md5sums=('107e031b429329b71deb67c9b90195d6')
+source=(http://launchpad.net/$pkgname/${pkgver%.*}/$pkgver/+download/$pkgname-$pkgver.tar.gz
+ 1012_1011.diff
+ 1013_1012.diff)
+md5sums=('107e031b429329b71deb67c9b90195d6'
+ '4323f43510003850e127cd0fefdd3e4c'
+ '6c7751ecd92532844ecb7e65e4f4746b')
package() {
cd "$srcdir/$pkgname-$pkgver"
- # Do not set getpreferredencoding, because it breaks getstatusoutput() in the setup script
- sed -i '/getpreferredencoding =/ d' setup.py
+ # Python 3.3 compatibility fixes
+ patch -Np0 -i "$srcdir/1012_1011.diff"
+ patch -Np0 -i "$srcdir/1013_1012.diff"
python3 setup.py install --root=$pkgdir/ --optimize=1
}
diff --git a/community/psqlodbc/PKGBUILD b/community/psqlodbc/PKGBUILD
index 1929aee36..3c790a4c6 100644
--- a/community/psqlodbc/PKGBUILD
+++ b/community/psqlodbc/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 75081 2012-08-13 13:51:08Z spupykin $
+# $Id: PKGBUILD 78481 2012-10-19 15:10:20Z spupykin $
# Maintainer:
# Contributor: Douglas Soares de Andrade <dsa@aur.archlinux-br.org>
# Contributor: Rick Rein <jeebusroxors@gmail.com>
pkgname=psqlodbc
-pkgver=09.01.0100
+pkgver=09.01.0200
pkgrel=1
pkgdesc="PostgreSQL ODBC driver"
arch=('i686' 'x86_64' 'mips64el')
@@ -13,14 +13,11 @@ url="http://www.postgresql.org"
depends=('unixodbc' 'postgresql-libs')
makedepends=('postgresql')
options=('!libtool')
-source=(ftp://ftp2.it.postgresql.org/mirrors/postgres//odbc/versions/src/$pkgname-$pkgver.tar.gz
- fix-function-declarations.patch)
-md5sums=('08121d9d57bb2dbab11c36c2cc8e8edb'
- 'f1189f9c6ae0b5bfb5ee8423eaa4076f')
+source=(ftp://ftp2.it.postgresql.org/mirrors/postgres//odbc/versions/src/$pkgname-$pkgver.tar.gz)
+md5sums=('0f4ac0e6b0755af2452764db4cfe4e8f')
build() {
cd "$srcdir/$pkgname-$pkgver"
-# patch -p1 -i "$srcdir/fix-function-declarations.patch"
./configure --prefix=/usr
make
}
diff --git a/community/python-pymongo/PKGBUILD b/community/python-pymongo/PKGBUILD
index 7dc20c761..3b21e70d2 100644
--- a/community/python-pymongo/PKGBUILD
+++ b/community/python-pymongo/PKGBUILD
@@ -1,11 +1,12 @@
-# $Id: PKGBUILD 78242 2012-10-17 10:26:39Z allan $
+# $Id: PKGBUILD 78449 2012-10-18 18:07:43Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Thomas S Hatch <thatch45@gmail.com>
+# Contributor: Jelle van der Waa <jelle@vdwaa.nl>
pkgbase=python-pymongo
pkgname=('python-pymongo' 'python2-pymongo')
pkgver=2.3
-pkgrel=2
+pkgrel=3
pkgdesc='Python driver for MongoDB'
arch=('x86_64' 'i686' 'mips64el')
license=('APACHE')
@@ -15,23 +16,23 @@ source=("http://pypi.python.org/packages/source/p/pymongo/pymongo-$pkgver.tar.gz
sha256sums=('8e43fdd7ea8e2aa965791af1b6e24186248023c6fde70092d9631b1d9150b1dc')
build() {
- cd "$srcdir"
- cp -a "pymongo-$pkgver" "pymongo2-$pkgver"
+ cd $srcdir
+ cp -a pymongo-$pkgver pymongo2-$pkgver
}
package_python2-pymongo() {
depends=('python2')
- cd "$srcdir/pymongo2-$pkgver"
+ cd $srcdir/pymongo2-$pkgver
- python2 setup.py install --root="$pkgdir" --optimize=1
+ python2 setup.py install --root=$pkgdir --optimize=1
}
package_python-pymongo() {
depends=('python')
+ cd $srcdir/pymongo-$pkgver
- cd "$srcdir/pymongo-$pkgver"
-
- python setup.py install --root="$pkgdir" --optimize=1
+ python setup.py install --root=$pkgdir --optimize=1
}
+
# vim:set ts=2 sw=2 et:
diff --git a/community/ristretto/PKGBUILD b/community/ristretto/PKGBUILD
index 92f79b9cc..891dc948b 100644
--- a/community/ristretto/PKGBUILD
+++ b/community/ristretto/PKGBUILD
@@ -1,18 +1,19 @@
-# $Id: PKGBUILD 76146 2012-09-12 05:39:43Z bpiotrowski $
+# $Id: PKGBUILD 78443 2012-10-18 17:04:59Z bpiotrowski $
# Maintainer: Bartłomiej Piotrowski
# Contributor: AndyRTR <andyrtr@archlinux.org>
# Contributor: Ronald van Haren <ronald.archlinux.org>
pkgname=ristretto
pkgver=0.6.3
-pkgrel=2
-pkgdesc="A fast and lightweight picture-viewer for Xfce"
+pkgrel=3
+pkgdesc='A fast and lightweight picture-viewer for Xfce'
arch=('i686' 'x86_64' 'mips64el')
-url="http://goodies.xfce.org/projects/applications/ristretto"
+url='http://goodies.xfce.org/projects/applications/ristretto'
license=('GPL')
depends=('libxfce4ui' 'libexif' 'desktop-file-utils')
makedepends=('intltool')
-optdepends=('librsvg: SVG support')
+optdepends=('librsvg: SVG support'
+ 'tumbler: thumbnailing support')
groups=('xfce4-goodies')
install=ristretto.install
source=(http://archive.xfce.org/src/apps/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2)
diff --git a/community/warsow/PKGBUILD b/community/warsow/PKGBUILD
index 7f7132f25..277cc05e8 100644
--- a/community/warsow/PKGBUILD
+++ b/community/warsow/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 77523 2012-10-11 13:44:25Z svenstaro $
+# $Id: PKGBUILD 78440 2012-10-18 12:10:18Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Slash <demodevil5[at]yahoo[dot]com>
# Contributor: Babets
# Contributor: Vain
pkgname=warsow
-pkgver=1.01
+pkgver=1.02
pkgrel=1
pkgdesc="Free online multiplayer competitive FPS based on the Qfusion engine"
url="http://www.warsow.net/"
@@ -21,7 +21,7 @@ _comment=('Online Mulitiplayer Competitive FPS')
md5sums=('ec00081d81ad9802a8ca42fc2eac5498'
'f73e10c26197178df71b941b10bf83d7'
'd7e4a69835bbcf801e58307e9d6b951e'
- '9901ef17b4faf03d2b05e52ac3d189d5')
+ 'df3dee05dd6f84b44ba131a2445a1706')
build() {
cd "$srcdir"
diff --git a/community/xbmc/PKGBUILD b/community/xbmc/PKGBUILD
index 98c3e47f5..ce775bbd8 100644
--- a/community/xbmc/PKGBUILD
+++ b/community/xbmc/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 77668 2012-10-13 11:46:04Z allan $
+# $Id: PKGBUILD 78434 2012-10-18 10:03:49Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Brad Fanella <bradfanella@archlinux.us>
# Contributor: [vEX] <niechift.dot.vex.at.gmail.dot.com>
@@ -9,7 +9,7 @@ _prefix=/usr
pkgname=xbmc
pkgver=11.0
-pkgrel=8
+pkgrel=9
pkgdesc="A software media player and entertainment hub for digital media"
arch=('i686' 'x86_64')
url="http://xbmc.org"
@@ -19,8 +19,8 @@ depends=('libpulse' 'hicolor-icon-theme' 'fribidi' 'lzo2' 'smbclient' 'libtiff'
'glew' 'libssh' 'libmicrohttpd' 'libxrandr' 'sdl_mixer' 'sdl_image' 'python2'
'libass' 'libmpeg2' 'libmad' 'libmodplug' 'jasper' 'rtmpdump' 'unzip' 'mesa-demos'
'xorg-xdpyinfo' 'libbluray' 'libnfs' 'afpfs-ng' 'libshairport' 'avahi' 'bluez' 'glu')
-makedepends=('boost' 'cmake' 'gperf' 'nasm' 'libxinerama' 'zip' 'vdpau-video' 'libcec'
- 'udisks' 'upower' 'bluez')
+makedepends=('boost' 'cmake' 'gperf' 'nasm' 'libxinerama' 'zip' 'libvdpau' 'libcec'
+ 'udisks' 'upower' 'bluez' 'mesa')
optdepends=('libcec: support for Pulse-Eight USB-CEC adapter'
'vdpau-video: accelerated video playback for nvidia cards'
'xvba-video: accelerated video playback for amd cards'
@@ -28,11 +28,21 @@ optdepends=('libcec: support for Pulse-Eight USB-CEC adapter'
'lirc: remote controller support'
'udisks: automount external drives'
'upower: used to trigger suspend functionality'
- 'unrar: access compressed files without unpacking them')
+ 'unrar: access compressed files without unpacking them'
+ 'xorg-xinit: autostart xbmc')
install="${pkgname}.install"
-source=("http://mirrors.xbmc.org/releases/source/xbmc-$pkgver.tar.gz")
+source=("http://mirrors.xbmc.org/releases/source/xbmc-$pkgver.tar.gz"
+ "xbmc.service")
sha256sums=('1fe5d310c16138f26e2b13bc545604e95f48ace6c8636f23e77da402cd7b0b19')
sha256sums=('1fe5d310c16138f26e2b13bc545604e95f48ace6c8636f23e77da402cd7b0b19')
+sha256sums=('1fe5d310c16138f26e2b13bc545604e95f48ace6c8636f23e77da402cd7b0b19'
+ '395ca1afd3430ad66239bafbffde0eedf9c43409b77f65341ef387f09cd65588')
+sha256sums=('1fe5d310c16138f26e2b13bc545604e95f48ace6c8636f23e77da402cd7b0b19'
+ '75ae8eb37e334ae1383bf897b08dd5f70df12d79ce46cdbe4a7e0d3c82bce3af')
+sha256sums=('1fe5d310c16138f26e2b13bc545604e95f48ace6c8636f23e77da402cd7b0b19'
+ '75ae8eb37e334ae1383bf897b08dd5f70df12d79ce46cdbe4a7e0d3c82bce3af')
+sha256sums=('1fe5d310c16138f26e2b13bc545604e95f48ace6c8636f23e77da402cd7b0b19'
+ '75ae8eb37e334ae1383bf897b08dd5f70df12d79ce46cdbe4a7e0d3c82bce3af')
build() {
cd "${srcdir}/xbmc-$pkgver"
@@ -103,5 +113,8 @@ package() {
for licensef in LICENSE.GPL copying.txt; do
mv "${pkgdir}${_prefix}/share/doc/xbmc/${licensef}" "${pkgdir}${_prefix}/share/licenses/${pkgname}"
done
+
+ # systemd stuff
+ install -Dm0644 $srcdir/xbmc.service $pkgdir/usr/lib/systemd/system/xbmc.service
}
# vim:set ts=2 sw=2 et:
diff --git a/community/xbmc/xbmc.install b/community/xbmc/xbmc.install
index 862508e73..a3ae3d0d8 100644
--- a/community/xbmc/xbmc.install
+++ b/community/xbmc/xbmc.install
@@ -1,15 +1,16 @@
post_install() {
[[ $(type -p gtk-update-icon-cache) ]] && usr/bin/gtk-update-icon-cache -qtf usr/share/icons/hicolor
[[ $(type -p update-desktop-database) ]] && usr/bin/update-desktop-database -q usr/share/applications
- true
+ groupadd xbmc
+ useradd -G xbmc -d /var/empty xbmc
}
post_upgrade() {
post_install $1
- true
+ echo "You may want to add xbmc user and group to use xbmc standalone"
}
post_remove() {
post_install $1
- true
+ echo "You may want to remove xbmc user and group"
}
diff --git a/community/xbmc/xbmc.service b/community/xbmc/xbmc.service
new file mode 100644
index 000000000..b66e35c80
--- /dev/null
+++ b/community/xbmc/xbmc.service
@@ -0,0 +1,13 @@
+[Unit]
+Description = Starts instance of XBMC using xinit
+After = remote-fs.target
+
+[Service]
+User = xbmc
+Group = xbmc
+Type = simple
+ExecStart = /usr/bin/xinit /usr/bin/xbmc-standalone -- :0
+Restart = on-failure
+
+[Install]
+WantedBy = multi-user.target
diff --git a/core/ppp/PKGBUILD b/core/ppp/PKGBUILD
index 3aa0a50b3..2e7f0f39e 100644
--- a/core/ppp/PKGBUILD
+++ b/core/ppp/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 166496 2012-09-08 11:35:07Z thomas $
+# $Id: PKGBUILD 169337 2012-10-19 21:33:57Z thomas $
# Maintainer: Thomas Baechler <thomas@archlinux.org>
pkgname=ppp
pkgver=2.4.5
-pkgrel=4
+pkgrel=5
pkgdesc="A daemon which implements the Point-to-Point Protocol for dial-up networking"
arch=(i686 x86_64 'mips64el')
url="http://www.samba.org/ppp/"
@@ -21,6 +21,9 @@ source=(ftp://ftp.samba.org/pub/ppp/ppp-${pkgver}.tar.gz
ip-down
ip-up.d.dns.sh
ip-down.d.dns.sh
+ ipv6-up
+ ipv6-down
+ ipv6-up.d.iface-config.sh
ppp.systemd)
md5sums=('4621bc56167b6953ec4071043fe0ec57'
'7a9259a8f038073eeea7e4552ff1849f'
@@ -30,9 +33,12 @@ md5sums=('4621bc56167b6953ec4071043fe0ec57'
'86cdaf133f7a79fb464f02d83afc7734'
'44cc662ba9aa61dd9add3ddd4c5ded57'
'e4beb16ed600b61336d50b2bd2df7cd5'
- '2fa0671f40711e69194ccf60979f8b33'
+ '529b924f644f80cf30d72a966abc7419'
'4a074d74c29625b254a1db720cb87b99'
'8d1be5af8e46393ba6eb273377831e38'
+ '4cbd0a9af01c27067450ec7d3f5fa673'
+ 'b75c2fbc4afa9f2d8108b680c88c7036'
+ '9dde53aa5a931ebe1c7e3469199777c5'
'fafead5c9d66d0574e6f0a2e5f4d4631')
build() {
@@ -70,6 +76,11 @@ package() {
install -d -m755 "${pkgdir}/etc/ppp/ip-down.d"
install -m755 ../ip-up.d.dns.sh "${pkgdir}/etc/ppp/ip-up.d/00-dns.sh"
install -m755 ../ip-down.d.dns.sh "${pkgdir}/etc/ppp/ip-down.d/00-dns.sh"
+ install -D -m755 ../ipv6-up "${pkgdir}/etc/ppp/ipv6-up"
+ install -D -m755 ../ipv6-down "${pkgdir}/etc/ppp/ipv6-down"
+ install -d -m755 "${pkgdir}/etc/ppp/ipv6-up.d"
+ install -d -m755 "${pkgdir}/etc/ppp/ipv6-down.d"
+ install -m755 ../ipv6-up.d.iface-config.sh "${pkgdir}/etc/ppp/ipv6-up.d/00-iface-config.sh"
install -D -m755 ../pon "${pkgdir}/usr/bin/pon"
install -D -m755 ../poff "${pkgdir}/usr/bin/poff"
install -D -m755 ../plog "${pkgdir}/usr/sbin/plog"
diff --git a/core/ppp/ip-down b/core/ppp/ip-down
index 301f3ab9b..cfd3ae093 100644
--- a/core/ppp/ip-down
+++ b/core/ppp/ip-down
@@ -3,7 +3,7 @@
# This script is run by pppd after the connection has ended.
#
-# Execute all scripts in /etc/ppp/ip-up.d/
+# Execute all scripts in /etc/ppp/ip-down.d/
for ipdown in /etc/ppp/ip-down.d/*.sh; do
if [ -x $ipdown ]; then
# Parameters: interface-name tty-device speed local-IP-address remote-IP-address ipparam
diff --git a/testing/ppp/ipv6-down b/core/ppp/ipv6-down
index d3b9e28b3..d3b9e28b3 100644
--- a/testing/ppp/ipv6-down
+++ b/core/ppp/ipv6-down
diff --git a/testing/ppp/ipv6-up b/core/ppp/ipv6-up
index b294aafdc..b294aafdc 100644
--- a/testing/ppp/ipv6-up
+++ b/core/ppp/ipv6-up
diff --git a/testing/ppp/ipv6-up.d.iface-config.sh b/core/ppp/ipv6-up.d.iface-config.sh
index b23d6f61d..b23d6f61d 100644
--- a/testing/ppp/ipv6-up.d.iface-config.sh
+++ b/core/ppp/ipv6-up.d.iface-config.sh
diff --git a/core/systemd/PKGBUILD b/core/systemd/PKGBUILD
index 6f77f5034..da0b53463 100644
--- a/core/systemd/PKGBUILD
+++ b/core/systemd/PKGBUILD
@@ -4,7 +4,7 @@
pkgbase=systemd
pkgname=('systemd' 'systemd-sysvcompat')
pkgver=194
-pkgrel=3
+pkgrel=4
arch=('i686' 'x86_64' 'mips64el')
url="http://www.freedesktop.org/wiki/Software/systemd"
license=('GPL2' 'LGPL2.1' 'MIT')
@@ -61,6 +61,7 @@ package_systemd() {
replaces=('libsystemd' 'systemd-tools' 'udev')
conflicts=('libsystemd' 'systemd-tools' 'udev')
optdepends=('initscripts: legacy support for /etc/rc.conf'
+ 'python: systemd library bindings'
'python2-cairo: systemd-analyze'
'python2-dbus: systemd-analyze'
'systemd-sysvcompat: symlink package to provide sysvinit binaries'
@@ -131,6 +132,9 @@ package_systemd() {
install -dm755 "$srcdir"/_sysvcompat/usr/share/man/man8/
mv "$pkgdir"/usr/share/man/man8/{telinit,halt,reboot,poweroff,runlevel,shutdown}.8 \
"$srcdir"/_sysvcompat/usr/share/man/man8
+
+ # create /var/log/journal. users can control the actual log destination via journald.conf
+ install -dm755 "$pkgdir/var/log/journal"
}
package_systemd-sysvcompat() {
diff --git a/core/systemd/systemd.install b/core/systemd/systemd.install
index 784926e17..fa3e8f29a 100644
--- a/core/systemd/systemd.install
+++ b/core/systemd/systemd.install
@@ -24,6 +24,11 @@ post_upgrade() {
# horrific happens, so just mask the error.
systemctl -q enable getty@.service || true
fi
+
+ if [ "$(vercmp 194-4 "$2")" -eq 1 ]; then
+ printf '==> journald now writes to /var/log/journal by default. This can be\n'
+ printf ' controlled with the Storage setting in /etc/systemd/journald.conf\n'
+ fi
}
# vim:set ts=2 sw=2 et:
diff --git a/extra/git/PKGBUILD b/extra/git/PKGBUILD
index 8ca9cb7f0..7eed76f46 100644
--- a/extra/git/PKGBUILD
+++ b/extra/git/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 168623 2012-10-13 15:18:41Z dan $
+# $Id: PKGBUILD 169122 2012-10-18 14:05:32Z dan $
# Maintainer: Dan McGee <dan@archlinux.org>
pkgname=git
-pkgver=1.7.12.3
+pkgver=1.7.12.4
pkgrel=1
pkgdesc="the fast distributed version control system"
arch=(i686 x86_64 'mips64el')
@@ -109,8 +109,8 @@ package() {
install -D -m 644 "$srcdir"/git-daemon.socket "$pkgdir"/usr/lib/systemd/system/git-daemon.socket
}
-md5sums=('c3c1e2d56794fcc46e31fd8cb0e71252'
- '27c0a53545e3f89579a98cae009bc3c8'
+md5sums=('5f3f0feb59d96f8106e0a56112bc73db'
+ '9370b44fa97843c5f8adaaaf29b7a4d3'
'8e2648910fd5dd4f1c41d3c7fa9e9156'
'2e42bf97779a1c6411d89043334c9e78'
'042524f942785772d7bd52a1f02fe5ae'
diff --git a/extra/gmime/PKGBUILD b/extra/gmime/PKGBUILD
index a27135e9f..0fe6d3ea0 100644
--- a/extra/gmime/PKGBUILD
+++ b/extra/gmime/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 161847 2012-06-15 14:38:32Z heftig $
+# $Id: PKGBUILD 169305 2012-10-19 02:10:54Z heftig $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Ben <ben@benmazer.net>
pkgname=gmime
-pkgver=2.6.10
+pkgver=2.6.11
pkgrel=1
pkgdesc="Core mime parsing library"
arch=('i686' 'x86_64' 'mips64el')
@@ -13,7 +13,7 @@ depends=('glib2' 'gpgme' 'zlib')
[ "$CARCH" != "mips64el" ] && makedepends=('gtk-sharp-2')
options=('!libtool')
source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
-sha256sums=('a0e1132613339d6ba06df483a1f8d8bda6feb4f58f8b102daab2f1390fd6a3b7')
+sha256sums=('ec227549062120af006ed0842baab921e133aa520353ca0fff004390c68af9ab')
build() {
# get rid of that .wapi errors in fakeroot
diff --git a/extra/java7-openjdk/PKGBUILD b/extra/java7-openjdk/PKGBUILD
index 0e9746d8b..99c677557 100644
--- a/extra/java7-openjdk/PKGBUILD
+++ b/extra/java7-openjdk/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 166669 2012-09-15 09:10:55Z andyrtr $
+# $Id: PKGBUILD 169300 2012-10-18 22:41:27Z andyrtr $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Maintainer: Guillaume ALAUX <guillaume@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
@@ -7,22 +7,22 @@ pkgname=('jre7-openjdk-headless' 'jre7-openjdk' 'jdk7-openjdk' 'openjdk7-src')
# ToDo -demo -doc packages, see Debian file lists http://packages.debian.org/source/wheezy/openjdk-7
pkgbase=java7-openjdk
_java_ver=7
-_updatever=u7
-_icedtea_ver=2.3.2
+_updatever=u9
+_icedtea_ver=2.3.3
# check "${srcdir}/icedtea7"/Makefile.am
-_CORBA_CHANGESET=7fae6a3a68c7
-_HOTSPOT_CHANGESET=ea39d76b3bde # see "${srcdir}/icedtea7"/hotspot.map
-_JAXP_CHANGESET=ee4bd94136ec
-_JAXWS_CHANGESET=c89c6ac953e7
-_JDK_CHANGESET=f78eb7e08ee1
-_LANGTOOLS_CHANGESET=867d5041bee6
-_OPENJDK_CHANGESET=acba2d30209d
+_CORBA_CHANGESET=9a95d714d136
+_HOTSPOT_CHANGESET=d2d0a106917c # see "${srcdir}/icedtea7"/hotspot.map
+_JAXP_CHANGESET=f45296ac69be
+_JAXWS_CHANGESET=03f54ef33914
+_JDK_CHANGESET=5ec94d162f05
+_LANGTOOLS_CHANGESET=ec73c6927fb7
+_OPENJDK_CHANGESET=301e79a966b4
_bootstrap=0 # 0/1 for quick build or full bootstrap
pkgver=${_java_ver}.${_updatever}_${_icedtea_ver}
-pkgrel=2
+pkgrel=1
arch=('i686' 'x86_64')
url="http://icedtea.classpath.org"
license=('custom')
@@ -33,7 +33,7 @@ makedepends=('jdk7-openjdk' 'libxp' 'libxslt'
[ "$_bootstrap" = "1" ] && makedepends=(${makedepends[@]} 'eclipse-ecj')
_url=http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3
-source=(http://icedtea.classpath.org/download/source/icedtea-${_icedtea_ver}.tar.gz{,.sig}
+source=(http://icedtea.classpath.org/download/source/icedtea-${_icedtea_ver}.tar.gz
${_url}/archive/${_OPENJDK_CHANGESET}.tar.gz # openjdk.tar.gz
${_url}/corba/archive/${_CORBA_CHANGESET}.tar.gz # corba.tar.gz
${_url}/jaxp/archive/${_JAXP_CHANGESET}.tar.gz # jaxp.tar.gz
@@ -49,15 +49,14 @@ source=(http://icedtea.classpath.org/download/source/icedtea-${_icedtea_ver}.tar
jdk7-openjdk.profile.csh
jre7-openjdk.profile
jre7-openjdk.profile.csh)
-sha256sums=('d7e87de527934fcbb06c162e0e119d9b118069f3f52a1420d303fe19c5d74ef2'
- '5d3abf9bd3f628571ca148b55226b2af3c0cce835d51d7215bbe459d0a871513'
- 'ae63f88590d4aa82de82322e6bb61b31157e49617a4f8c310fc4c4ab4690f528'
- '8d94e9b594e4ae0eff6899cb4ff899ce66db3b4d6ef158e019b7be96e193ec0f'
- '26991edc468b7599a332753a60ff861fde78af439d0a5b87d0e5b389d5e53fb5'
- 'a411bdde270bb0451b74fc9ba890159ed1f7070bc25f21b3ebd17b79b42805f8'
- '74cd8b7c7ed1d80dd4cfa45565584ec1c24cfd5e10a32fc026b92f0ce27ff224'
- 'ded69ccf2baea82b7baf9050c64160733ff45c10c0a363de80d795618c494707'
- '25733b44590c950adc42a2e9c366b8a3992803c06dedcc16d2bf0d50fed54844'
+sha256sums=('e5ac5564e00c4a8d7b3376ed6de91b18a2587c8abdad802ccc92c780765b1073'
+ 'dce85d9bcc6e213240b6ad49755bf57fc60a515461664890efcce2ed615ca70b'
+ '4ad0ab1e0ab6f1e0402fd5a5f0b388bb33cc2c553df867e4c5e6ca78a4ede9bb'
+ 'b088dd5d383f27b2ccd433eebcbf3f73c016b3359abdae2a5575455d56668141'
+ '86dfb4fda79de7459b17b6efac6b8d5d6fd7bb1175b7e4ff22ba2ce4a903c05a'
+ '11a77a35661b2239e73c3fb1318fb6371d0cd7130594d1405df1cb1b17040ea6'
+ 'c7c67f6805d05c0fa5ddd2a7e406a6adcd0823dd008005563f2b2a88d1f3e6b6'
+ '872e9e0c36b9fd93e81ac131e60deadb0afa22aa77447150bb45ede77ee6db8b'
'9ad943ceb3dbcdf45d72974fc3667886a7ed65c69ab9abc17be5412827551a7f'
'7b2db65bfb9d5014e1522178d65cabf05dfa85e0926cde5648b5a338db376479'
'b742113dc6debc3eb92a246e442595481c04a2a3973e7902b86037acb50050ea'
diff --git a/extra/llvm/PKGBUILD b/extra/llvm/PKGBUILD
index 5f5306e5e..f3576a1bc 100644
--- a/extra/llvm/PKGBUILD
+++ b/extra/llvm/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 165098 2012-08-10 21:21:52Z foutrelis $
+# $Id: PKGBUILD 169336 2012-10-19 21:28:16Z foutrelis $
# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
# Contributor: Jan "heftig" Steffens <jan.steffens@gmail.com>
# Contributor: Sebastian Nowicki <sebnow@gmail.com>
@@ -11,7 +11,7 @@
pkgname=('llvm' 'llvm-ocaml' 'clang' 'clang-analyzer')
pkgver=3.1
-pkgrel=4
+pkgrel=5
arch=('i686' 'x86_64' 'mips64el')
url="http://llvm.org/"
license=('custom:University of Illinois/NCSA Open Source License')
diff --git a/extra/moc/PKGBUILD b/extra/moc/PKGBUILD
index d25df8915..5f61522e8 100644
--- a/extra/moc/PKGBUILD
+++ b/extra/moc/PKGBUILD
@@ -1,14 +1,15 @@
-# $Id: PKGBUILD 167384 2012-10-01 19:35:31Z eric $
+# $Id: PKGBUILD 169339 2012-10-19 21:57:39Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>
pkgname=moc
-pkgver=20120717
-pkgrel=2
+pkgver=2.5beta1
+pkgrel=1
+epoch=1
pkgdesc="An ncurses console audio player designed to be powerful and easy to use"
arch=('i686' 'x86_64' 'mips64el')
url="http://moc.daper.net/"
license=('GPL')
-depends=('libmad' 'libid3tag' 'jack' 'curl' 'libltdl' 'file')
+depends=('libmad' 'libid3tag' 'jack' 'curl' 'libltdl' 'file' 'popt')
makedepends=('speex' 'ffmpeg' 'taglib' 'libmpcdec' 'wavpack' 'libmodplug' 'faad2')
optdepends=('speex: for using the speex plugin'
'ffmpeg: for using the ffmpeg plugin'
@@ -18,9 +19,9 @@ optdepends=('speex: for using the speex plugin'
'faad2: for using the aac plugin'
'libmodplug: for using the modplug plugin')
options=('!libtool')
-source=(ftp://ftp.archlinux.org/other/moc/${pkgname}-${pkgver}.tar.xz{,.sig})
-sha1sums=('5a955508a807c4c780c6a2a9105b05142fb83e02'
- 'ae6f01d9c4933efd4f86ce79ff35d1a313e215a7')
+source=(ftp://ftp.daper.net/pub/soft/moc/unstable/moc-2.5.0-beta1.tar.bz2{,.sig})
+sha1sums=('4030a1fa5c7cfef06909c54d8c7a1fbb93f23caa'
+ '29c232c37e1f3737c3b670372732446e9c0786a8')
# source PKGBUILD && mksource
mksource() {
@@ -39,8 +40,7 @@ mksource() {
}
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- autoreconf -i
+ cd "${srcdir}/${pkgname}-2.5.0-beta1"
./configure --prefix=/usr --without-rcc \
--with-oss --with-alsa --with-jack --with-aac --with-mp3 \
--with-musepack --with-vorbis --with-flac --with-wavpack \
@@ -50,6 +50,6 @@ build() {
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${pkgname}-2.5.0-beta1"
make DESTDIR="${pkgdir}" install
}
diff --git a/extra/openjdk6/PKGBUILD b/extra/openjdk6/PKGBUILD
index 38d1c9e47..f2bdc5e04 100644
--- a/extra/openjdk6/PKGBUILD
+++ b/extra/openjdk6/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 165879 2012-09-02 13:59:28Z andyrtr $
+# $Id: PKGBUILD 169126 2012-10-18 15:53:50Z andyrtr $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=('openjdk6' 'openjdk6-src')
pkgbase="openjdk6"
_javaver=6
-_icedteaver=1.11.4
+_icedteaver=1.11.5
_openjdk_version=b24
_openjdk_date=14_nov_2011
pkgver=${_javaver}.${_openjdk_version}_${_icedteaver}
@@ -15,7 +15,7 @@ arch=('i686' 'x86_64' 'mips64el')
license=('custom')
makedepends=('gcc-libs' 'xdg-utils' 'hicolor-icon-theme' 'ca-certificates-java' 'libxtst' 'alsa-lib' 'giflib' 'libxp' 'gtk2'
'nspr' 'zlib' 'freetype2' 'libjpeg>=8' 'libx11' 'libcups' 'patch' 'libxt' 'nss' 'libxslt' #'xalan-java'
- 'apache-ant' 'autoconf' 'unzip' 'rhino' 'mercurial' 'zip' 'cpio' 'openjdk6' 'inetutils')
+ 'apache-ant' 'autoconf' 'unzip' 'rhino' 'mercurial' 'zip' 'cpio' 'openjdk6' 'inetutils' 'wget')
options=('!emptydirs') # 'force') # force needed for hg shots
source=(http://icedtea.classpath.org/download/source/icedtea6-${_icedteaver}.tar.gz{,.sig}
http://download.java.net/openjdk/jdk6/promoted/${_openjdk_version}/openjdk-6-src-${_openjdk_version}-${_openjdk_date}.tar.gz
@@ -33,8 +33,8 @@ noextract=(openjdk-6-src-${_openjdk_version}-${_openjdk_date}.tar.gz
jaxp144_03.zip
jdk6-jaxws2_1_6-2011_06_13.zip
jdk6-jaf-b20.zip)
-sha256sums=('7bc0037514aedbbd5e65edcb2fa300a18285688d27b359c2144fcf563174e4fd'
- 'c01c178077df395974307d534a4535686cc9ab107df998452b6279abab7cdc2e'
+sha256sums=('258d81d957f8ab9322fbaf7c90647f27f6b4e675504fa279858e6dfe513f7574'
+ '50cd8e6868875b15d0a5652723b58f9d4e0a2f9b24e3a2ef997405670456e96a'
'f84e7f0938f4939660ff8f9c2aa164d301faa8a519f2324ceb05ad34b2e09227'
'c1a5348e17b330a7e4b18431e61a40efd2ba99a7da71102cf2c604478ef96012'
'229040544e791f44906e8e7b6f6faf503c730a5d854275135f3925490d5c3be3'
diff --git a/extra/php/PKGBUILD b/extra/php/PKGBUILD
index 859e4b621..6c617530c 100644
--- a/extra/php/PKGBUILD
+++ b/extra/php/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 166634 2012-09-13 22:05:22Z pierre $
+# $Id: PKGBUILD 169306 2012-10-19 05:27:26Z pierre $
# Maintainer: Pierre Schmitz <pierre@archlinux.de>
pkgbase=php
@@ -21,7 +21,7 @@ pkgname=('php'
'php-sqlite'
'php-tidy'
'php-xsl')
-pkgver=5.4.7
+pkgver=5.4.8
pkgrel=1
arch=('i686' 'x86_64' 'mips64el')
license=('PHP')
@@ -33,13 +33,13 @@ makedepends=('apache' 'imap' 'postgresql-libs' 'libldap' 'postfix' 'libvpx'
source=("http://www.php.net/distributions/${pkgbase}-${pkgver}.tar.bz2"
'php.ini.patch' 'apache.conf' 'rc.d.php-fpm' 'php-fpm.conf.in.patch'
'logrotate.d.php-fpm' 'php-fpm.service' 'php-fpm.tmpfiles')
-md5sums=('9cd421f1cc8fa8e7f215e44a1b06199f'
+md5sums=('bb8c816a9299be8995255ef70c63b800'
'0b0bc7a917fc592bdf11dcd3c5c255e9'
'dec2cbaad64e3abf4f0ec70e1de4e8e9'
- '6d46667e00d65933ec0c958279c0a803'
+ '3cfde0cc4ed09b55f1ce531437a4eb88'
'5c1f4c967b66ce3eaf819b46951dcbf5'
'f56b5bb7e93c802ae8519182fbea3387'
- '86c73d481f3099e740e602869bacf637'
+ 'f8b206cb8fecb05cb1ded8bee45633ff'
'c60343df74f8e1afb13b084d5c0e47ed')
build() {
diff --git a/extra/php/php-fpm.service b/extra/php/php-fpm.service
index e29f7c236..fc5ead6f3 100644
--- a/extra/php/php-fpm.service
+++ b/extra/php/php-fpm.service
@@ -1,12 +1,12 @@
[Unit]
-Description=FastCGI Process Manager for PHP
+Description=The PHP FastCGI Process Manager
After=syslog.target network.target
[Service]
Type=forking
PIDFile=/run/php-fpm/php-fpm.pid
PrivateTmp=true
-ExecStart=/usr/sbin/php-fpm
+ExecStart=/usr/sbin/php-fpm --daemonize --pid /run/php-fpm/php-fpm.pid
ExecReload=/bin/kill -USR2 $MAINPID
[Install]
diff --git a/extra/php/rc.d.php-fpm b/extra/php/rc.d.php-fpm
index 47f0886ac..a8cb9eca9 100644
--- a/extra/php/rc.d.php-fpm
+++ b/extra/php/rc.d.php-fpm
@@ -57,7 +57,7 @@ case "$1" in
test_config
stat_busy 'Starting php-fpm'
- /usr/sbin/php-fpm
+ /usr/sbin/php-fpm --daemonize --pid /run/php-fpm/php-fpm.pid
if [ "$?" != 0 ] ; then
stat_fail
diff --git a/extra/pyqt/PKGBUILD b/extra/pyqt/PKGBUILD
index b42ef3d73..cc0b41375 100644
--- a/extra/pyqt/PKGBUILD
+++ b/extra/pyqt/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 169006 2012-10-17 10:19:54Z allan $
+# $Id: PKGBUILD 169113 2012-10-18 10:41:05Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
# Contributor: riai <riai@bigfoot.com> Ben <ben@benmazer.net>
@@ -6,11 +6,11 @@
pkgbase=pyqt
pkgname=('pyqt-common' 'pyqt' 'python2-pyqt')
pkgver=4.9.5
-pkgrel=2
+pkgrel=3
arch=('i686' 'x86_64' 'mips64el')
url="http://riverbankcomputing.co.uk/software/pyqt/intro"
license=('GPL')
-makedepends=('qt' 'python-sip' 'python-dbus' 'python2-sip' 'phonon'
+makedepends=('qt' 'python-sip' 'python-dbus' 'python2-sip' 'phonon' 'mesa'
'python2-opengl' 'qt-assistant-compat' 'qtwebkit' 'python2-dbus')
source=("http://downloads.sourceforge.net/${pkgbase}/PyQt-x11-gpl-${pkgver}.tar.gz")
md5sums=('e4cdd6619c63655f7510efb4df8462fb')
diff --git a/extra/python-lxml/PKGBUILD b/extra/python-lxml/PKGBUILD
index c8f808edd..2d3652c6c 100644
--- a/extra/python-lxml/PKGBUILD
+++ b/extra/python-lxml/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 169019 2012-10-17 10:20:31Z allan $
+# $Id: PKGBUILD 169319 2012-10-19 09:25:22Z andrea $
# Maintainer:
-pkgname=('python-lxml' 'python2-lxml')
+pkgbase=python-lxml
+pkgname=('python-lxml' 'python2-lxml' 'python-lxml-docs')
pkgver=3.0
-pkgrel=1
-pkgdesc="Python binding for the libxml2 and libxslt libraries"
+pkgrel=2
arch=('i686' 'x86_64' 'mips64el')
license=('BSD' 'custom')
url="http://lxml.de/"
@@ -14,18 +14,20 @@ sha1sums=('8dbbd03a637bb563113cf07049a4d5a109369441'
'b38447fd3f9cfb30b4d56ffe3bec42739afb2947')
check() {
- cd "${srcdir}"/lxml-$pkgver
+ cd lxml-$pkgver
make PYTHON=python2 test
make PYTHON=python test
}
package_python2-lxml() {
+ pkgdesc="Python2 binding for the libxml2 and libxslt libraries"
depends=('python2' 'libxslt')
- optdepends=('python2-beautifulsoup3: support for parsing not well formed HTML')
+ optdepends=('python2-beautifulsoup3: support for parsing not well formed HTML'
+ 'python-lxml-docs: offline docs')
- cd "${srcdir}"/lxml-$pkgver
+ cd lxml-$pkgver
python2 setup.py install --root="${pkgdir}" --optimize=1
-
+
install -Dm644 LICENSES.txt \
"${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
install -Dm644 doc/licenses/BSD.txt \
@@ -35,11 +37,14 @@ package_python2-lxml() {
}
package_python-lxml() {
+ pkgdesc="Python3 binding for the libxml2 and libxslt libraries"
depends=('python' 'libxslt')
+ optdepends=('python-cssselect'
+ 'python-lxml-docs: offline docs')
- cd "${srcdir}"/lxml-$pkgver
+ cd lxml-$pkgver
python setup.py install --root="${pkgdir}" --optimize=1
-
+
install -Dm644 LICENSES.txt \
"${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
install -Dm644 doc/licenses/BSD.txt \
@@ -47,3 +52,12 @@ package_python-lxml() {
install -Dm644 doc/licenses/elementtree.txt \
"${pkgdir}"/usr/share/licenses/$pkgname/elementtree.txt
}
+
+package_python-lxml-docs() {
+ pkgdesc="Python binding for the libxml2 and libxslt libraries (docs)"
+ options=('docs')
+
+ cd lxml-$pkgver
+ install -d "${pkgdir}"/usr/share/doc/${pkgbase}
+ cp -r doc/html "${pkgdir}"/usr/share/doc/${pkgbase}
+}
diff --git a/extra/spamassassin/PKGBUILD b/extra/spamassassin/PKGBUILD
index cc23aeb76..78fe4219f 100644
--- a/extra/spamassassin/PKGBUILD
+++ b/extra/spamassassin/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 165860 2012-09-01 18:36:23Z bluewind $
+# $Id: PKGBUILD 169317 2012-10-19 09:03:47Z bluewind $
# Maintainer: Florian Pritz <bluewind@xinu.at>
# Contributor: Dale Blount <dale@archlinux.org>
# Contributor: Manolis Tzanidakis
pkgname=spamassassin
pkgver=3.3.2
-pkgrel=6
+pkgrel=7
pkgdesc="A mail filter to identify spam."
arch=('i686' 'x86_64' 'mips64el')
license=('APACHE')
@@ -28,7 +28,7 @@ source=("http://mirrors.devlib.org/apache/${pkgname}/source/Mail-SpamAssassin-${
md5sums=('d1d62cc5c6eac57e88c4006d9633b81e'
'af501c6b0bb937a2775b747cc4b6d150'
'57545e6877503d897db21e9a2e8bd2b9'
- '1c39572b79bc20c822387814050ee5c1')
+ 'ded3e012a4d502df001f2d97c495cc4e')
build() {
cd "${srcdir}/Mail-SpamAssassin-${pkgver}"
diff --git a/extra/spamassassin/spamassassin.service b/extra/spamassassin/spamassassin.service
index a74f6e644..2ccfa5b11 100644
--- a/extra/spamassassin/spamassassin.service
+++ b/extra/spamassassin/spamassassin.service
@@ -5,7 +5,7 @@ After=syslog.target network.target
[Service]
Type=forking
PIDFile=/var/run/spamd.pid
-ExecStart=/usr/bin/vendor_perl/spamd --pidfile /var/run/spamd.pid -c
+ExecStart=/usr/bin/vendor_perl/spamd -d --pidfile /var/run/spamd.pid -c
StandardOutput=syslog
StandardError=syslog
Restart=always
diff --git a/extra/yakuake/PKGBUILD b/extra/yakuake/PKGBUILD
index ecce9270e..6a7fe7479 100644
--- a/extra/yakuake/PKGBUILD
+++ b/extra/yakuake/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 149017 2012-02-05 14:08:31Z andrea $
+# $Id: PKGBUILD 169308 2012-10-19 06:54:12Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: James Rayner <iphitus@gmail.com>
# Contributor: leeghoofd <abcdefg@solcon.nl>
pkgname=yakuake
-pkgver=2.9.8
-pkgrel=2
+pkgver=2.9.9
+pkgrel=1
pkgdesc="A drop-down terminal emulator based on KDE konsole technology"
arch=('i686' 'x86_64' 'mips64el')
url='http://yakuake.kde.org/'
@@ -13,11 +13,10 @@ license=('GPL')
depends=('kdebase-konsole')
makedepends=('cmake' 'automoc4')
install="${pkgname}.install"
-source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
-md5sums=('a53ae52fc530912b74155a586d92a1fe')
+source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
+md5sums=('ef97612710b28d62e43a58bed49cbead')
build() {
- cd ${srcdir}
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
@@ -27,6 +26,6 @@ build() {
}
package() {
- cd ${srcdir}/build
- make DESTDIR=${pkgdir} install
+ cd build
+ make DESTDIR="${pkgdir}" install
}
diff --git a/libre/python2-reportlab-libre/PKGBUILD b/libre/python2-reportlab-libre/PKGBUILD
new file mode 100755
index 000000000..27014d100
--- /dev/null
+++ b/libre/python2-reportlab-libre/PKGBUILD
@@ -0,0 +1,49 @@
+# $Id: PKGBUILD 67753 2012-03-14 10:35:58Z giovanni $
+# Maintainer:
+# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
+# Contributor: William Rea <sillywilly@gmail.com>
+# Maintainer (Parabola): fauno <fauno@kiwwwi.com.ar>
+# Contributor: borgo <nomail>
+# Contributor (Parabola): André Silva <emulatorman@lavabit.com>
+
+pkgbase=python-reportlab-libre
+pkgname=python2-reportlab-libre
+_origname=reportlab
+pkgver=2.6
+pkgrel=1
+pkgdesc="A proven industry-strength PDF generating solution (without non-free Adobe T1 fonts)"
+arch=('i686' 'x86_64')
+url="http://www.reportlab.org/rl_toolkit.html"
+depends=('python2' 'freetype2' 'ttf-bitstream-vera' 'gsfonts' 'python-imaging')
+conflicts=('python2-reportlab' 'python-reportlab<=2.5-2')
+replaces=('python2-reportlab' 'python-reportlab<=2.5-2')
+provides=("python2-reportlab=$pkgver")
+license=('custom')
+source=(http://www.reportlab.com/ftp/${_origname}-$pkgver.tar.gz
+ free-fonts.patch)
+md5sums=('e5d27a24a2c8456b168913242aa1940f'
+ '1588b88851711cc6c868db4c7d4f4dea')
+optdepends=('ghostscript')
+
+build() {
+ cd $srcdir/${_origname}-$pkgver
+
+ # remove non-free Adobe T1 fonts
+ patch -p1 -i $srcdir/free-fonts.patch
+
+ # Parabola contains those fonts from the ttf-bitstream-vera package
+ rm -f src/reportlab/fonts/{bitstream-vera-license.txt,Vera*}
+
+ # python2 fix
+ for file in src/reportlab/graphics/widgets/table.py src/reportlab/lib/normalDate.py \
+ src/reportlab/pdfgen/pycanvas.py; do
+ sed -i 's_#!.*/usr/bin/env python_#!/usr/bin/env python2_' $file
+ done
+}
+
+package_python2-reportlab-libre() {
+ cd $srcdir/${_origname}-$pkgver
+
+ python2 setup.py install --root=$pkgdir --optimize=1
+ install -D -m644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/license.txt
+}
diff --git a/libre/python2-reportlab-libre/free-fonts.patch b/libre/python2-reportlab-libre/free-fonts.patch
new file mode 100644
index 000000000..b2683931b
--- /dev/null
+++ b/libre/python2-reportlab-libre/free-fonts.patch
@@ -0,0 +1,144 @@
+diff -rupN reportlab-2.6.orig/setup.py reportlab-2.6/setup.py
+--- reportlab-2.6.orig/setup.py 2012-09-27 13:14:06.000000000 -0300
++++ reportlab-2.6/setup.py 2012-10-18 14:34:16.750336101 -0200
+@@ -222,11 +222,11 @@ def get_fonts(PACKAGE_DIR, reportlab_fil
+ infoline("Standard T1 font curves already downloaded")
+ return
+ try:
+- infoline("Downloading standard T1 font curves")
++ #infoline("Downloading standard T1 font curves")
+
+- remotehandle = urllib2.urlopen("http://www.reportlab.com/ftp/pfbfer-20070710.zip")
+- zipdata = StringIO.StringIO(remotehandle.read())
+- remotehandle.close()
++ #remotehandle = urllib2.urlopen("http://www.reportlab.com/ftp/pfbfer-20070710.zip")
++ #zipdata = StringIO.StringIO(remotehandle.read())
++ #remotehandle.close()
+ archive = zipfile.ZipFile(zipdata)
+ dst = pjoin(rl_dir, 'fonts')
+
+@@ -239,7 +239,7 @@ def get_fonts(PACKAGE_DIR, reportlab_fil
+ except:
+ xitmsg = "Failed to download standard T1 font curves"
+ reportlab_files = [x for x in reportlab_files if os.path.isfile(pjoin(rl_dir,x))]
+- infoline(xitmsg)
++ #infoline(xitmsg)
+
+ def main():
+ #test to see if we've a special command
+diff -rupN reportlab-2.6.orig/src/reportlab/pdfbase/_fontdata.py reportlab-2.6/src/reportlab/pdfbase/_fontdata.py
+--- reportlab-2.6.orig/src/reportlab/pdfbase/_fontdata.py 2012-09-27 11:39:39.000000000 -0300
++++ reportlab-2.6/src/reportlab/pdfbase/_fontdata.py 2012-10-18 14:36:08.018365073 -0200
+@@ -72,20 +72,20 @@ _font2fnrMapWin32 = {
+ }
+ if sys.platform in ('linux2',):
+ _font2fnrMapLinux2 ={
+- 'symbol': 'Symbol',
+- 'zapfdingbats': 'ZapfDingbats',
+- 'helvetica': 'Arial',
+- 'helvetica-bold': 'Arial-Bold',
+- 'helvetica-boldoblique': 'Arial-BoldItalic',
+- 'helvetica-oblique': 'Arial-Italic',
+- 'times-bold': 'TimesNewRoman-Bold',
+- 'times-bolditalic':'TimesNewRoman-BoldItalic',
+- 'times-italic': 'TimesNewRoman-Italic',
+- 'times-roman': 'TimesNewRoman',
+- 'courier-bold': 'Courier-Bold',
+- 'courier-boldoblique': 'Courier-BoldOblique',
+- 'courier': 'Courier',
+- 'courier-oblique': 'Courier-Oblique',
++ 'symbol': 's050000l.pfb',
++ 'zapfdingbats': 'd050000l.pfb',
++ 'helvetica': 'n019003l.pfb',
++ 'helvetica-bold': 'n019004l.pfb',
++ 'helvetica-boldoblique': 'n019024l.pfb',
++ 'helvetica-oblique': 'n019023l.pfb',
++ 'times-bold': 'n021004l.pfb',
++ 'times-bolditalic':'n021024l.pfb',
++ 'times-italic': 'n021023l.pfb',
++ 'times-roman': 'n021003l.pfb',
++ 'courier-bold': 'n022004l.pfb',
++ 'courier-boldoblique': 'n022024l.pfb',
++ 'courier': 'n022003l.pfb',
++ 'courier-oblique': 'n022023l.pfb',
+ }
+ _font2fnrMap = _font2fnrMapLinux2
+ for k, v in _font2fnrMap.items():
+diff -rupN reportlab-2.6.orig/src/reportlab/rl_config.py reportlab-2.6/src/reportlab/rl_config.py
+--- reportlab-2.6.orig/src/reportlab/rl_config.py 2012-09-27 11:39:39.000000000 -0300
++++ reportlab-2.6/src/reportlab/rl_config.py 2012-10-18 16:05:12.683766581 -0200
+@@ -49,25 +49,7 @@ ttfAsciiReadable= 1
+
+ # places to look for T1Font information
+ T1SearchPath = (
+- 'c:/Program Files/Adobe/Acrobat 9.0/Resource/Font',
+- 'c:/Program Files/Adobe/Acrobat 8.0/Resource/Font',
+- 'c:/Program Files/Adobe/Acrobat 7.0/Resource/Font',
+- 'c:/Program Files/Adobe/Acrobat 6.0/Resource/Font', #Win32, Acrobat 6
+- 'c:/Program Files/Adobe/Acrobat 5.0/Resource/Font', #Win32, Acrobat 5
+- 'c:/Program Files/Adobe/Acrobat 4.0/Resource/Font', #Win32, Acrobat 4
+- '%(disk)s/Applications/Python %(sys_version)s/reportlab/fonts', #Mac?
+- '/usr/lib/Acrobat9/Resource/Font', #Linux, Acrobat 5?
+- '/usr/lib/Acrobat8/Resource/Font', #Linux, Acrobat 5?
+- '/usr/lib/Acrobat7/Resource/Font', #Linux, Acrobat 5?
+- '/usr/lib/Acrobat6/Resource/Font', #Linux, Acrobat 5?
+- '/usr/lib/Acrobat5/Resource/Font', #Linux, Acrobat 5?
+- '/usr/lib/Acrobat4/Resource/Font', #Linux, Acrobat 4
+- '/usr/local/Acrobat9/Resource/Font', #Linux, Acrobat 5?
+- '/usr/local/Acrobat8/Resource/Font', #Linux, Acrobat 5?
+- '/usr/local/Acrobat7/Resource/Font', #Linux, Acrobat 5?
+- '/usr/local/Acrobat6/Resource/Font', #Linux, Acrobat 5?
+- '/usr/local/Acrobat5/Resource/Font', #Linux, Acrobat 5?
+- '/usr/local/Acrobat4/Resource/Font', #Linux, Acrobat 4
++ '/usr/share/fonts/Type1',
+ '%(REPORTLAB_DIR)s/fonts', #special
+ '%(REPORTLAB_DIR)s/../fonts', #special
+ '%(REPORTLAB_DIR)s/../../fonts', #special
+@@ -76,44 +58,17 @@ T1SearchPath = (
+
+ # places to look for TT Font information
+ TTFSearchPath = (
+- 'c:/winnt/fonts',
+- 'c:/windows/fonts',
+- '/usr/lib/X11/fonts/TrueType/',
+- '/usr/share/fonts/truetype',
++ '/usr/share/fonts/TTF',
+ '%(REPORTLAB_DIR)s/fonts', #special
+ '%(REPORTLAB_DIR)s/../fonts', #special
+ '%(REPORTLAB_DIR)s/../../fonts',#special
+ '%(HOME)s/fonts', #special
+- #mac os X - from
+- #http://developer.apple.com/technotes/tn/tn2024.html
+- '~/Library/Fonts',
+- '/Library/Fonts',
+- '/Network/Library/Fonts',
+- '/System/Library/Fonts',
+-
+ )
+
+ # places to look for CMap files - should ideally merge with above
+ CMapSearchPath = (
+- '/usr/lib/Acrobat9/Resource/CMap',
+- '/usr/lib/Acrobat8/Resource/CMap',
+- '/usr/lib/Acrobat7/Resource/CMap',
+- '/usr/lib/Acrobat6/Resource/CMap',
+- '/usr/lib/Acrobat5/Resource/CMap',
+- '/usr/lib/Acrobat4/Resource/CMap',
+- '/usr/local/Acrobat9/Resource/CMap',
+- '/usr/local/Acrobat8/Resource/CMap',
+- '/usr/local/Acrobat7/Resource/CMap',
+- '/usr/local/Acrobat6/Resource/CMap',
+- '/usr/local/Acrobat5/Resource/CMap',
+- '/usr/local/Acrobat4/Resource/CMap',
+- 'C:\\Program Files\\Adobe\\Acrobat\\Resource\\CMap',
+- 'C:\\Program Files\\Adobe\\Acrobat 9.0\\Resource\\CMap',
+- 'C:\\Program Files\\Adobe\\Acrobat 8.0\\Resource\\CMap',
+- 'C:\\Program Files\\Adobe\\Acrobat 7.0\\Resource\\CMap',
+- 'C:\\Program Files\\Adobe\\Acrobat 6.0\\Resource\\CMap',
+- 'C:\\Program Files\\Adobe\\Acrobat 5.0\\Resource\\CMap',
+- 'C:\\Program Files\\Adobe\\Acrobat 4.0\\Resource\\CMap',
++ '/usr/share/ghostscript/9.04/Resource/CMap',
++ '/usr/share/ghostscript/9.06/Resource/CMap',
+ '%(REPORTLAB_DIR)s/fonts/CMap', #special
+ '%(REPORTLAB_DIR)s/../fonts/CMap', #special
+ '%(REPORTLAB_DIR)s/../../fonts/CMap', #special
diff --git a/multilib/jack2-multilib/ffado_setbuffsize-jack2.patch b/multilib/jack2-multilib/ffado_setbuffsize-jack2.patch
deleted file mode 100644
index 0c74aad24..000000000
--- a/multilib/jack2-multilib/ffado_setbuffsize-jack2.patch
+++ /dev/null
@@ -1,139 +0,0 @@
-From 96e0251234a29a1360c05d5d7dc98b83436b8183 Mon Sep 17 00:00:00 2001
-From: Adrian Knoth <adi@drcomp.erfurt.thur.de>
-Date: Sat, 17 Mar 2012 22:36:30 +0100
-Subject: [PATCH] [firewire] Allow FFADO backend to change the buffer size
-
-This is a port of Jonathan Woithe's patch from jackd1.
-With sufficiently recent versions of FFADO, it allows to change
-the buffersize at runtime.
----
- linux/firewire/JackFFADODriver.cpp | 65 ++++++++++++++++++++++++++++++++----
- linux/firewire/JackFFADODriver.h | 6 ++++
- 2 files changed, 65 insertions(+), 6 deletions(-)
-
-diff --git a/linux/firewire/JackFFADODriver.cpp b/linux/firewire/JackFFADODriver.cpp
-index b33e1cd..085b78a 100644
---- a/linux/firewire/JackFFADODriver.cpp
-+++ b/linux/firewire/JackFFADODriver.cpp
-@@ -3,6 +3,7 @@
- Copyright (C) 2004 Grame
- Copyright (C) 2007 Pieter Palmers
- Copyright (C) 2009 Devin Anderson
-+Copyright (C) 2012 Jonathan Woithe, Adrian Knoth
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
-@@ -48,7 +49,10 @@
- namespace Jack
- {
-
-+// Basic functionality requires API version 8. If version 9 or later
-+// is present the buffers can be resized at runtime.
- #define FIREWIRE_REQUIRED_FFADO_API_VERSION 8
-+#define FIREWIRE_REQUIRED_FFADO_API_VERSION_FOR_SETBUFSIZE 9
-
- #define jack_get_microseconds GetMicroSeconds
-
-@@ -281,19 +285,68 @@
- int
- JackFFADODriver::SetBufferSize (jack_nframes_t nframes)
- {
-- printError("Buffer size change requested but not supported!!!");
-+ ffado_driver_t* driver = (ffado_driver_t*)fDriver;
-+ signed int chn;
-+
-+ // The speed of this function isn't critical; we can afford the
-+ // time to check the FFADO API version.
-+ if (ffado_get_api_version() < FIREWIRE_REQUIRED_FFADO_API_VERSION_FOR_SETBUFSIZE ||
-+ ffado_streaming_set_period_size == NULL) {
-+ printError("unsupported on current version of FFADO; please upgrade FFADO");
-+ return -1;
-+ }
-
-- /*
- driver->period_size = nframes;
- driver->period_usecs =
- (jack_time_t) floor ((((float) nframes) / driver->sample_rate)
- * 1000000.0f);
-- */
-+
-+
-+ // Reallocate the null and scratch buffers.
-+ driver->nullbuffer = (ffado_sample_t*) calloc(driver->period_size, sizeof(ffado_sample_t));
-+ if(driver->nullbuffer == NULL) {
-+ printError("could not allocate memory for null buffer");
-+ return -1;
-+ }
-+ driver->scratchbuffer = (ffado_sample_t*) calloc(driver->period_size, sizeof(ffado_sample_t));
-+ if(driver->scratchbuffer == NULL) {
-+ printError("could not allocate memory for scratch buffer");
-+ return -1;
-+ }
-+
-+ // MIDI buffers need reallocating
-+ for (chn = 0; chn < driver->capture_nchannels; chn++) {
-+ if(driver->capture_channels[chn].stream_type == ffado_stream_type_midi) {
-+ // setup the midi buffer
-+ if (driver->capture_channels[chn].midi_buffer != NULL)
-+ free(driver->capture_channels[chn].midi_buffer);
-+ driver->capture_channels[chn].midi_buffer = (ffado_sample_t*) calloc(driver->period_size, sizeof(uint32_t));
-+ }
-+ }
-+ for (chn = 0; chn < driver->playback_nchannels; chn++) {
-+ if(driver->playback_channels[chn].stream_type == ffado_stream_type_midi) {
-+ if (driver->playback_channels[chn].midi_buffer != NULL)
-+ free(driver->playback_channels[chn].midi_buffer);
-+ driver->playback_channels[chn].midi_buffer = (ffado_sample_t*) calloc(driver->period_size, sizeof(uint32_t));
-+ }
-+ }
-+
-+ // Notify FFADO of the period size change
-+ if (ffado_streaming_set_period_size(driver->dev, nframes) != 0) {
-+ printError("could not alter FFADO device period size");
-+ return -1;
-+ }
-+
-+ // This is needed to give the shadow variables a chance to
-+ // properly update to the changes.
-+ sleep(1);
-
- /* tell the engine to change its buffer size */
-- //driver->engine->set_buffer_size (driver->engine, nframes);
-+ JackAudioDriver::SetBufferSize(nframes); // Generic change, never fails
-
-- return -1; // unsupported
-+ UpdateLatencies();
-+
-+ return 0;
- }
-
- typedef void (*JackDriverFinishFunction) (jack_driver_t *);
-@@ -306,7 +359,7 @@
-
- assert(params);
-
-- if (ffado_get_api_version() != FIREWIRE_REQUIRED_FFADO_API_VERSION) {
-+ if (ffado_get_api_version() < FIREWIRE_REQUIRED_FFADO_API_VERSION) {
- printError("Incompatible libffado version! (%s)", ffado_get_version());
- return NULL;
- }
-diff --git a/linux/firewire/JackFFADODriver.h b/linux/firewire/JackFFADODriver.h
-index cb2a45d..790f4dd 100644
---- a/linux/firewire/JackFFADODriver.h
-+++ b/linux/firewire/JackFFADODriver.h
-@@ -82,6 +82,12 @@ class JackFFADODriver : public JackAudioDriver
- int Read();
- int Write();
-
-+ // BufferSize can be changed
-+ bool IsFixedBufferSize()
-+ {
-+ return false;
-+ }
-+
- int SetBufferSize(jack_nframes_t nframes);
- };
-
---
-1.7.10
-
diff --git a/multilib/lib32-catalyst-utils/PKGBUILD b/multilib/lib32-catalyst-utils/PKGBUILD
deleted file mode 100644
index e94f84b62..000000000
--- a/multilib/lib32-catalyst-utils/PKGBUILD
+++ /dev/null
@@ -1,60 +0,0 @@
-# $Id: PKGBUILD 77685 2012-10-13 13:39:25Z lcarlier $
-# Maintainer: Laurent Carlier <lordheavym@gmail.com>
-# Contributor: Vi0L0, wonder, Eduardo "kensai" Romero
-# Contributor: aidanlinz, Rip-Rip, OvsInc, Sebastian Siebert
-
-pkgname=lib32-catalyst-utils
-pkgver=12.9
-pkgrel=0.1
-pkgdesc="AMD Catalyst drivers libraries (32 bits)"
-arch=('x86_64')
-url="http://www.amd.com"
-license=('custom')
-source=(#"http://www2.ati.com/drivers/linux/amd-driver-installer-${pkgver/./-}-x86.x86_64.zip"
- https://launchpad.net/ubuntu/quantal/+source/fglrx-installer/2:9.000-0ubuntu1/+files/fglrx-installer_9.000.orig.tar.gz)
-md5sums=('2bb6e8193fdddff9bbd2e3d9f9e8f39b')
-provides=('lib32-libgl')
-conflicts=('lib32-libgl' 'lib32-nvidia-utils')
-
-#build() {
-# cd ${srcdir}
-#
-# sh ./amd-driver-installer*.run --extract fglrx-install
-#}
-
-package() {
- depends=("catalyst-utils=${pkgver}")
-
- install -dm755 "${pkgdir}"/usr/bin
- install -dm755 "${pkgdir}"/usr/lib32/{dri,xorg/modules/{dri,extensions/fglrx}}
-
- # binaries
- cd ${srcdir}
- install -m755 arch/x86/usr/X11R6/bin/fgl_glxgears "${pkgdir}/usr/bin/fgl_glxgears32"
- install -m755 arch/x86/usr/X11R6/bin/fglrxinfo "${pkgdir}/usr/bin/fglrxinfo32"
-
- # dri/gl/... drivers
- cd ${srcdir}/xpic/usr/X11R6/lib/modules
- install -m755 *.so "${pkgdir}/usr/lib32/xorg/modules/"
- cd ${srcdir}/arch/x86/usr/X11R6/lib
- install -m755 modules/dri/fglrx_dri.so "${pkgdir}/usr/lib32/xorg/modules/dri/"
- ln -s /usr/lib32/xorg/modules/dri/fglrx_dri.so "${pkgdir}/usr/lib32/dri/"
- install -m755 fglrx/fglrx-libGL.so.1.2 "${pkgdir}/usr/lib32/"
- install -m755 *.so* "${pkgdir}/usr/lib32/"
- install -m644 libAMDXvBA.cap "${pkgdir}/usr/lib32/"
- cd ${srcdir}/arch/x86/usr/lib
- install -m755 *.so* "${pkgdir}/usr/lib32/"
- # needed symlinks
- ln -s libatiuki.so.1.0 "${pkgdir}/usr/lib32/libatiuki.so.1"
- ln -s fglrx-libGL.so.1.2 "${pkgdir}/usr/lib32/libGL.so.1"
- ln -s fglrx-libGL.so.1.2 "${pkgdir}/usr/lib32/libGL.so"
- ln -s libAMDXvBA.so.1.0 "${pkgdir}/usr/lib32/libAMDXvBA.so.1"
- ln -s libAMDXvBA.so.1.0 "${pkgdir}/usr/lib32/libAMDXvBA.so"
- ln -s libfglrx_dm.so.1.0 "${pkgdir}/usr/lib32/libfglrx_dm.so.1"
-
- # useful for 32 bits ?
- rm "${pkgdir}"/usr/lib32/lib{amdocl*,OpenCL}.so*
-
- # licenses
- install -Dm644 "${srcdir}/usr/share/doc/fglrx/LICENSE.TXT" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.TXT"
-}
diff --git a/multilib/lib32-glu/PKGBUILD b/multilib/lib32-glu/PKGBUILD
deleted file mode 100644
index dcf535b67..000000000
--- a/multilib/lib32-glu/PKGBUILD
+++ /dev/null
@@ -1,45 +0,0 @@
-# $Id: PKGBUILD 77675 2012-10-13 12:37:35Z bluewind $
-# Maintainer: Laurent Carlier <lordheavym@gmail.com>
-
-pkgname=lib32-glu
-pkgver=9.0.0
-pkgrel=1
-pkgdesc="Mesa OpenGL utility library (32 bits)"
-arch=('x86_64')
-url="http://mesa.freedesktop.org/"
-license=('LGPL')
-depends=('lib32-libgl')
-makedepends=('gcc-multilib' 'lib32-mesa')
-options=('!libtool')
-source=(ftp://ftp.freedesktop.org/pub/mesa/glu/glu-$pkgver.tar.bz2)
-sha256sums=('1f7ad0d379a722fcbd303aa5650c6d7d5544fde83196b42a73d1193568a4df12')
-
-build() {
- cd ${srcdir}/glu-$pkgver
-
- export CC="gcc -m32"
- export CXX="g++ -m32"
- export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
-
- ./configure --prefix=/usr --disable-static \
- --libdir=/usr/lib32
- make
-}
-
-check() {
- cd "$srcdir/glu-$pkgver"
-
- export CC="gcc -m32"
- export CXX="g++ -m32"
- export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
-
- make -k check
-}
-
-package() {
- cd ${srcdir}/glu-$pkgver
-
- make DESTDIR=${pkgdir} install
-
- rm -rf ${pkgdir}/usr/include
-}
diff --git a/multilib/lib32-libtasn1/PKGBUILD b/multilib/lib32-libtasn1/PKGBUILD
deleted file mode 100644
index 0020a2816..000000000
--- a/multilib/lib32-libtasn1/PKGBUILD
+++ /dev/null
@@ -1,32 +0,0 @@
-# Maintainer: Florian Pritz <bluewind@xinu.at>
-# Contributor: josephgbr <rafael.f.f1 at gmail.com>
-
-_pkgbase=libtasn1
-pkgname=lib32-${_pkgbase}
-pkgver=2.14
-pkgrel=1
-pkgdesc="The ASN.1 library used in GNUTLS (32 bit)"
-arch=('x86_64')
-license=('GPL3' 'LGPL')
-url="http://www.gnu.org/software/libtasn1/"
-depends=('lib32-glibc' ${_pkgbase})
-makedepends=('gcc-multilib')
-options=('!libtool')
-source=("http://ftp.gnu.org/gnu/libtasn1/${_pkgbase}-${pkgver}.tar.gz")
-sha1sums=('22f9e0b15f870c8e03ac9cc1ead969d4d84eb931')
-
-build() {
- export CC='gcc -m32'
- export CXX='g++ -m32'
- export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
-
- cd ${_pkgbase}-${pkgver}
- ./configure --prefix=/usr --libdir=/usr/lib32
- make
-}
-
-package() {
- cd ${_pkgbase}-${pkgver}
- make DESTDIR="${pkgdir}" install
- rm -rf "${pkgdir}/usr/"{bin,include,share}
-}
diff --git a/multilib/lib32-mesa/git_fixes.diff b/multilib/lib32-mesa/git_fixes.diff
deleted file mode 100644
index 8132d1d10..000000000
--- a/multilib/lib32-mesa/git_fixes.diff
+++ /dev/null
@@ -1,93 +0,0 @@
-From 161aababc659e23c4a8523366a31f63b3d14e280 Mon Sep 17 00:00:00 2001
-From: Ian Romanick <ian.d.romanick@intel.com>
-Date: Mon, 08 Oct 2012 22:07:10 +0000
-Subject: docs: Add 9.0 release md5sums
-
-Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
----
-diff --git a/docs/relnotes-9.0.html b/docs/relnotes-9.0.html
-index d72c5bb..02b7324 100644
---- a/docs/relnotes-9.0.html
-+++ b/docs/relnotes-9.0.html
-@@ -26,7 +26,9 @@ because GL_ARB_compatibility is not supported.
-
- <h2>MD5 checksums</h2>
- <pre>
--tbd
-+be4cd34c6599a7cb9d254b05c48bdb1f MesaLib-9.0.tar.gz
-+60e557ce407be3732711da484ab3db6c MesaLib-9.0.tar.bz2
-+16b128544cd3f7e237927bb9f8aab7ce MesaLib-9.0.zip
- </pre>
-
-
---
-cgit v0.9.0.2-2-gbebe
-From 32faf7ab0de8b88bb15a2cb262a73c411dce9d0d Mon Sep 17 00:00:00 2001
-From: Brian Paul <brianp@vmware.com>
-Date: Fri, 05 Oct 2012 22:47:40 +0000
-Subject: mesa: don't call TexImage driver hooks for zero-sized images
-
-This simply avoids some failed assertions but there's no reason to
-call the driver hooks for storing a tex image if its size is zero.
-
-Note: This is a candidate for the stable branches.
-(cherry picked from commit 91d84096497ff538f55591f7e6bb0b563726db8d)
----
-diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c
-index 21646cc..8004876 100644
---- a/src/mesa/main/teximage.c
-+++ b/src/mesa/main/teximage.c
-@@ -3034,13 +3034,15 @@ teximage(struct gl_context *ctx, GLboolean compressed, GLuint dims,
- border, internalFormat, texFormat);
-
- /* Give the texture to the driver. <pixels> may be null. */
-- if (compressed) {
-- ctx->Driver.CompressedTexImage(ctx, dims, texImage,
-- imageSize, pixels);
-- }
-- else {
-- ctx->Driver.TexImage(ctx, dims, texImage, format,
-- type, pixels, unpack);
-+ if (width > 0 && height > 0 && depth > 0) {
-+ if (compressed) {
-+ ctx->Driver.CompressedTexImage(ctx, dims, texImage,
-+ imageSize, pixels);
-+ }
-+ else {
-+ ctx->Driver.TexImage(ctx, dims, texImage, format,
-+ type, pixels, unpack);
-+ }
- }
-
- check_gen_mipmap(ctx, target, texObj, level);
---
-cgit v0.9.0.2-2-gbebe
-From e75051d1967350ceff0209dde24ae42696b13b5c Mon Sep 17 00:00:00 2001
-From: Brian Paul <brianp@vmware.com>
-Date: Fri, 05 Oct 2012 22:59:27 +0000
-Subject: mesa: fix error check for zero-sized compressed subtexture
-
-For glCompressedTexSubImage, width or height = 0 is legal.
-Fixes a failure in piglit's s3tc-errors test.
-
-This is for the 9.0 and 8.0 branches. Already fixed on master.
----
-diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c
-index 8004876..38fa9fa 100644
---- a/src/mesa/main/teximage.c
-+++ b/src/mesa/main/teximage.c
-@@ -3598,10 +3598,10 @@ compressed_subtexture_error_check(struct gl_context *ctx, GLint dimensions,
- if (!_mesa_is_compressed_format(ctx, format))
- return GL_INVALID_ENUM;
-
-- if (width < 1 || width > maxTextureSize)
-+ if (width < 0 || width > maxTextureSize)
- return GL_INVALID_VALUE;
-
-- if ((height < 1 || height > maxTextureSize)
-+ if ((height < 0 || height > maxTextureSize)
- && dimensions > 1)
- return GL_INVALID_VALUE;
-
---
-cgit v0.9.0.2-2-gbebe
diff --git a/staging/bzr/PKGBUILD b/staging/bzr/PKGBUILD
deleted file mode 100644
index 22244baf0..000000000
--- a/staging/bzr/PKGBUILD
+++ /dev/null
@@ -1,33 +0,0 @@
-# $Id: PKGBUILD 168772 2012-10-15 21:04:59Z eric $
-# Maintainer :
-# Contributor: Hugo Doria <hugo@archlinux.org>
-
-pkgname=bzr
-pkgver=2.5.1
-pkgrel=2
-pkgdesc="A decentralized revision control system (bazaar)"
-arch=('i686' 'x86_64')
-url="http://bazaar.canonical.com/en/"
-license=('GPL')
-depends=('python2')
-optdepends=('python2-paramiko: for sftp support')
-source=("http://launchpad.net/${pkgname}/${pkgver%.*}/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz"{,.sig})
-md5sums=('ac5079858364a046071000d5cdccb67b'
- 'c83dd08dd2c3e27edbab873500d7d6eb')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- sed -i 's|man/man1|share/man/man1|' setup.py
- sed -i 's|/usr/bin/env python|/usr/bin/env python2|' \
- bzrlib/{plugins/bash_completion/bashcomp.py,tests/ssl_certs/create_ssls.py,patiencediff.py,_patiencediff_py.py}
- python2 setup.py build
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
-
- # bash-completion
- install -D -m644 contrib/bash/bzr \
- "${pkgdir}/usr/share/bash-completion/completions/bzr"
-}
diff --git a/staging/dbus-python/PKGBUILD b/staging/dbus-python/PKGBUILD
deleted file mode 100644
index b6b1bc24f..000000000
--- a/staging/dbus-python/PKGBUILD
+++ /dev/null
@@ -1,66 +0,0 @@
-# $Id: PKGBUILD 168669 2012-10-13 22:15:37Z eric $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgbase=dbus-python
-pkgname=('python-dbus' 'python2-dbus' 'python-dbus-common')
-pkgver=1.1.1
-pkgrel=2
-pkgdesc="Python bindings for DBUS"
-arch=('i686' 'x86_64')
-license=('GPL' 'LGPL')
-url="http://www.freedesktop.org/wiki/Software/DBusBindings"
-makedepends=('docutils' 'dbus-glib' 'python' 'python2')
-options=('!libtool')
-source=(http://dbus.freedesktop.org/releases/${pkgbase}/${pkgbase}-${pkgver}.tar.gz)
-md5sums=('742c7432ad0f7c3f98291d58fa2e35dc')
-
-build() {
- cd "${srcdir}"
- mkdir build-python2 build-python3
- cd "${srcdir}/build-python2"
- PYTHON=python2 ../${pkgbase}-${pkgver}/configure --prefix=/usr
- make
-
-
- cd "${srcdir}/build-python3"
- ../${pkgbase}-${pkgver}/configure --prefix=/usr
- make
-}
-
-package_python-dbus-common() {
- pkgdesc="Common dbus-python files shared between python-dbus and python2-dbus"
- conflicts=('dbus-python<1.1.0')
-
- cd "${srcdir}/build-python3"
- make DESTDIR="${pkgdir}" install-data
- rm -rf "${pkgdir}"/usr/lib/python*
-}
-
-package_python-dbus() {
- depends=('python-dbus-common' 'python' 'dbus-core')
- optdepends=('dbus-glib: glib mainloop support')
- pkgdesc="Python 3.3 bindings for DBUS"
-
- cd "${srcdir}/build-python3"
- make DESTDIR="${pkgdir}" install
-
- rm -rf "${pkgdir}/usr/share"
- rm -rf "${pkgdir}/usr/include"
- rm -rf "${pkgdir}/usr/lib/pkgconfig"
-}
-
-package_python2-dbus() {
- depends=('python-dbus-common' 'python2' 'dbus-core')
- optdepends=('dbus-glib: glib mainloop support')
- pkgdesc="Python 2.7 bindings for DBUS"
- replaces=('dbus-python')
- conflicts=('dbus-python')
- provides=("dbus-python=$pkgver")
-
- cd "${srcdir}/build-python2"
- make DESTDIR="${pkgdir}" install
-
- rm -rf "${pkgdir}/usr/share"
- rm -rf "${pkgdir}/usr/include"
- rm -rf "${pkgdir}/usr/lib/pkgconfig"
-}
diff --git a/staging/gnome-python-desktop/PKGBUILD b/staging/gnome-python-desktop/PKGBUILD
deleted file mode 100644
index 4788632d1..000000000
--- a/staging/gnome-python-desktop/PKGBUILD
+++ /dev/null
@@ -1,107 +0,0 @@
-# $Id: PKGBUILD 168784 2012-10-16 00:01:27Z allan $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-# Contributor: Arjan Timmerman <arjan@soulfly.nl>
-# Contributor: Wael Nasreddine <gandalf@siemens-mobiles.org>
-
-pkgbase=gnome-python-desktop
-pkgname=('gnome-python-desktop' 'python2-gnomedesktop' 'python2-gnomekeyring' 'python2-gtop' 'python2-metacity' 'python2-rsvg' 'python2-totem-plparser' 'python2-wnck')
-pkgver=2.32.0
-pkgrel=11
-arch=(i686 x86_64)
-license=('GPL' 'LGPL')
-options=('!libtool')
-makedepends=('intltool' 'pkg-config' 'gnome-python' 'libgtop' 'totem-plparser' 'gnome-desktop2' 'metacity' 'librsvg' 'libwnck')
-url="http://www.gnome.org"
-source=(http://ftp.gnome.org/pub/gnome/sources/${pkgbase}/2.32/${pkgbase}-${pkgver}.tar.bz2
- gnome-python-desktop-2.32.0-metacity-build.patch)
-sha256sums=('09dbd580bf3b0ef60f91b090eafe6d08ddcc50a609e2b425a7f8eca46d4e0ee9'
- 'f012f9bd2f9baa527f07ad2f6e312c875bb6f2d3204270a1b053278a3a0c86b3')
-
-build() {
- cd "${srcdir}/${pkgbase}-${pkgver}"
- patch -p1 -i ../gnome-python-desktop-2.32.0-metacity-build.patch
- PYTHON=/usr/bin/python2 ./configure --prefix=/usr --enable-metacity
- make
-}
-
-package_gnome-python-desktop() {
- depends=('python2-gnomedesktop' 'python2-gnomekeyring' 'python2-gtop' 'python2-metacity' 'python2-rsvg' 'python2-totem-plparser' 'python2-wnck' 'gnome2-python')
- pkgdesc="Python bindings for the GNOME desktop environment"
-
- cd "${srcdir}/${pkgbase}-${pkgver}"
- make install-pkgconfigDATA DESTDIR="${pkgdir}"
-}
-
-package_python2-gnomedesktop() {
- depends=('pygtk' 'gnome-desktop2' 'python2-gnomevfs')
- pkgdesc="Python bindings for gnome-desktop 2.x"
- conflicts=('python-gnomedesktop<=2.32.0-10')
- replaces=('python-gnomedesktop<=2.32.0-10')
-
- cd "${srcdir}/${pkgbase}-${pkgver}"
- make -C gnomedesktop install DESTDIR="${pkgdir}"
-}
-
-package_python2-gnomekeyring() {
- depends=('pygtk' 'libgnome-keyring')
- pkgdesc="Python bindings for libgnome-keyring"
- conflicts=('python-gnomekeyring<=2.32.0-10')
- replaces=('python-gnomekeyring<=2.32.0-10')
-
- cd "${srcdir}/${pkgbase}-${pkgver}"
- make -C gnomekeyring install DESTDIR="${pkgdir}"
-}
-
-package_python2-gtop() {
- depends=('pygtk' 'libgtop')
- pkgdesc="Python bindings for libgtop"
- conflicts=('python-gtop<=2.32.0-10')
- replaces=('python-gtop<=2.32.0-10')
-
- cd "${srcdir}/${pkgbase}-${pkgver}"
- make -C gtop install DESTDIR="${pkgdir}"
-}
-
-package_python2-metacity() {
- depends=('pygtk' 'metacity')
- pkgdesc="Python bindings for metacity"
- conflicts=('python-metacity<=2.32.0-10')
- replaces=('python-metacity<=2.32.0-10')
-
- cd "${srcdir}/${pkgbase}-${pkgver}"
- make -C metacity install DESTDIR="${pkgdir}"
-}
-
-package_python2-rsvg() {
- depends=('pygtk' 'librsvg')
- pkgdesc="Python bindings for librsvg"
- conflicts=('python-rsvg<=2.32.0-10')
- replaces=('python-rsvg<=2.32.0-10')
-
- cd "${srcdir}/${pkgbase}-${pkgver}"
- make -C rsvg install DESTDIR="${pkgdir}"
- install -m755 -d "${pkgdir}/usr/share/pygtk/2.0/defs"
- install -m644 rsvg/rsvg.defs "${pkgdir}/usr/share/pygtk/2.0/defs/"
-}
-
-package_python2-totem-plparser() {
- depends=('pygtk' 'totem-plparser' 'python2-gnomevfs')
- pkgdesc="Python bindings for totem-plparser"
- conflicts=('python-totem-plparser<=2.32.0-10')
- replaces=('python-totem-plparser<=2.32.0-10')
-
- cd "${srcdir}/${pkgbase}-${pkgver}"
- make -C totem install DESTDIR="${pkgdir}"
- install -m755 -d "${pkgdir}/usr/share/pygtk/2.0/defs"
- install -m644 totem/plparser.defs "${pkgdir}/usr/share/pygtk/2.0/defs/"
-}
-
-package_python2-wnck() {
- depends=('pygtk' 'libwnck')
- pkgdesc="Python bindings for libwnck"
- conflicts=('python-wnck<=2.32.0-10')
- replaces=('python-wnck<=2.32.0-10')
-
- cd "${srcdir}/${pkgbase}-${pkgver}"
- make -C wnck install DESTDIR="${pkgdir}"
-}
diff --git a/staging/gnome-python-desktop/gnome-python-desktop-2.32.0-metacity-build.patch b/staging/gnome-python-desktop/gnome-python-desktop-2.32.0-metacity-build.patch
deleted file mode 100644
index 5054dd2bd..000000000
--- a/staging/gnome-python-desktop/gnome-python-desktop-2.32.0-metacity-build.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From: Daniel Drake <dsd@laptop.org>
-
-Fix build against metacity-2.34.2. The port to GSettings
-removed these constants from the codebase.
-
-Index: gnome-python-desktop-2.32.0/metacity/metacity.defs
-===================================================================
---- gnome-python-desktop-2.32.0.orig/metacity/metacity.defs
-+++ gnome-python-desktop-2.32.0/metacity/metacity.defs
-@@ -120,32 +120,6 @@
- )
- )
-
--(define-enum FocusMode
-- (in-module "Meta")
-- (c-name "MetaFocusMode")
--; (gtype-id "META_TYPE_FOCUS_MODE")
-- (values
-- '("click" "META_FOCUS_MODE_CLICK")
-- '("sloppy" "META_FOCUS_MODE_SLOPPY")
-- '("mouse" "META_FOCUS_MODE_MOUSE")
-- )
--)
--
--(define-enum ActionTitlebar
-- (in-module "Meta")
-- (c-name "MetaActionTitlebar")
--; (gtype-id "META_TYPE_ACTION_TITLEBAR")
-- (values
-- '("toggle-shade" "META_ACTION_TITLEBAR_TOGGLE_SHADE")
-- '("toggle-maximize" "META_ACTION_TITLEBAR_TOGGLE_MAXIMIZE")
-- '("minimize" "META_ACTION_TITLEBAR_MINIMIZE")
-- '("none" "META_ACTION_TITLEBAR_NONE")
-- '("lower" "META_ACTION_TITLEBAR_LOWER")
-- '("menu" "META_ACTION_TITLEBAR_MENU")
-- '("last" "META_ACTION_TITLEBAR_LAST")
-- )
--)
--
- (define-enum FrameType
- (in-module "Meta")
- (c-name "MetaFrameType")
diff --git a/staging/kdebase-workspace/etc-scripts.patch b/staging/kdebase-workspace/etc-scripts.patch
deleted file mode 100644
index 903a90a53..000000000
--- a/staging/kdebase-workspace/etc-scripts.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- startkde.cmake.orig 2009-01-15 14:24:44.000000000 +0100
-+++ startkde.cmake 2009-01-15 14:33:08.000000000 +0100
-@@ -206,7 +190,7 @@
- # For anything else (that doesn't set env vars, or that needs a window manager),
- # better use the Autostart folder.
-
--libpath=`kde4-config --path lib | tr : '\n'`
-+libpath=`kde4-config --path lib | tr : '\n'`$(echo -e '\n/etc/kde/lib/')
-
- for prefix in `echo "$libpath" | sed -n -e 's,/lib[^/]*/,/env/,p'`; do
- for file in "$prefix"*.sh; do
diff --git a/staging/kdebase-workspace/kdm.logrotate b/staging/kdebase-workspace/kdm.logrotate
deleted file mode 100644
index 34331feae..000000000
--- a/staging/kdebase-workspace/kdm.logrotate
+++ /dev/null
@@ -1,6 +0,0 @@
-/var/log/kdm.log {
- maxage 365
- size=+1024k
- notifempty
- missingok
-}
diff --git a/staging/kdebase-workspace/logind-support.patch b/staging/kdebase-workspace/logind-support.patch
deleted file mode 100644
index 9de205400..000000000
--- a/staging/kdebase-workspace/logind-support.patch
+++ /dev/null
@@ -1,66 +0,0 @@
-From: Lukas Tinkl <lukas@kde.org>
-Date: Fri, 05 Oct 2012 09:57:13 +0000
-Subject: store the filedescriptor in a member variable
-X-Git-Url: http://quickgit.kde.org/?p=kde-workspace.git&amp;a=commitdiff&amp;h=a18b78d7da8cb8d627ad2e85f666bfcf1a2721e1
----
-store the filedescriptor in a member variable
-
-make systemd-inhibit work as intended, PowerDevil now handles
-power/sleep/lid buttons as intended
-
-BUG: 307412
----
-
-
---- a/powerdevil/daemon/powerdevilpolicyagent.cpp
-+++ b/powerdevil/daemon/powerdevilpolicyagent.cpp
-@@ -29,7 +29,6 @@
- #include <QtDBus/QDBusPendingReply>
- #include <QtDBus/QDBusConnectionInterface>
- #include <QtDBus/QDBusServiceWatcher>
--#include <QtDBus/QDBusUnixFileDescriptor>
-
- #include <KGlobal>
- #include <KDebug>
-@@ -225,6 +224,9 @@
- onActiveSessionChanged(m_activeSessionPath);
-
- // inhibit systemd handling of power/sleep/lid buttons
-+ // http://www.freedesktop.org/wiki/Software/systemd/inhibit
-+ kDebug() << "fd passing available:" << bool(managerIface.connection().connectionCapabilities() & QDBusConnection::UnixFileDescriptorPassing);
-+
- QVariantList args;
- args << "handle-power-key:handle-suspend-key:handle-hibernate-key:handle-lid-switch"; // what
- args << "PowerDevil"; // who
-@@ -232,8 +234,9 @@
- args << "block"; // mode
- QDBusPendingReply<QDBusUnixFileDescriptor> desc = managerIface.asyncCallWithArgumentList("Inhibit", args);
- desc.waitForFinished();
-- if (desc.isValid() && desc.value().isValid()) {
-- kDebug() << "systemd powersave events handling inhibited";
-+ if (desc.isValid()) {
-+ m_systemdInhibitFd = desc.value();
-+ kDebug() << "systemd powersave events handling inhibited, descriptor:" << m_systemdInhibitFd.fileDescriptor();
- }
- else
- kWarning() << "failed to inhibit systemd powersave handling";
-
---- a/powerdevil/daemon/powerdevilpolicyagent.h
-+++ b/powerdevil/daemon/powerdevilpolicyagent.h
-@@ -27,6 +27,7 @@
- #include <QtCore/QWeakPointer>
-
- #include <QtDBus/QDBusContext>
-+#include <QtDBus/QDBusUnixFileDescriptor>
-
- #include <kdemacros.h>
-
-@@ -108,6 +109,7 @@
- QString m_activeSessionPath;
- QWeakPointer< QDBusInterface > m_sdSessionInterface;
- QWeakPointer< QDBusInterface > m_sdSeatInterface;
-+ QDBusUnixFileDescriptor m_systemdInhibitFd;
-
- // ConsoleKit support
- bool m_ckAvailable;
-
diff --git a/staging/kdebindings-python/pyqt495.patch b/staging/kdebindings-python/pyqt495.patch
deleted file mode 100644
index b8a9df258..000000000
--- a/staging/kdebindings-python/pyqt495.patch
+++ /dev/null
@@ -1,95 +0,0 @@
-From: Luca Beltrame <lbeltrame@kde.org>
-Date: Mon, 01 Oct 2012 18:47:56 +0000
-Subject: Remove duplicated QVector<int> definition, since it's in PyQt now.
-X-Git-Url: http://quickgit.kde.org/?p=pykde4.git&amp;a=commitdiff&amp;h=017822bd0dfc83fe9a7a483ecc33f4aab839a3c6
----
-Remove duplicated QVector<int> definition, since it's in PyQt now.
-Simon, if you have time, please review if everything is OK.
-
-CCMAIL: simon@simonzone.com
----
-
-
---- a/sip/kdecore/typedefs.sip
-+++ b/sip/kdecore/typedefs.sip
-@@ -951,78 +951,4 @@
- %End
- };
-
--%MappedType QVector<int>
--{
--%TypeHeaderCode
--#include <qvector.h>
--%End
--
--%ConvertFromTypeCode
-- // Create the list.
-- PyObject *l;
--
-- if ((l = PyList_New(sipCpp->size())) == NULL)
-- return NULL;
--
-- // Set the list elements.
-- for (int i = 0; i < sipCpp->size(); ++i)
-- {
-- int t = (sipCpp->at(i));
--
--#if PY_MAJOR_VERSION >= 3
-- PyObject *tobj = PyLong_FromLong(t);
--#else
-- PyObject *tobj = PyInt_FromLong(t);
--#endif
--
-- PyList_SET_ITEM(l, i, tobj);
-- }
--
-- return l;
--%End
--
--%ConvertToTypeCode
-- // Check the type if that is all that is required.
-- if (sipIsErr == NULL)
-- {
-- if (!PyList_Check(sipPy))
-- return 0;
--
-- for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i) {
-- PyObject *tobj = PyList_GET_ITEM(sipPy, i);
--#if PY_MAJOR_VERSION >= 3
-- if (!PyNumber_Check(tobj))
--#else
-- if (!PyInt_Check(tobj))
--#endif
-- return 0;
-- }
-- return 1;
-- }
--
-- QVector<int> *qv = new QVector<int>;
--
-- for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i)
-- {
-- PyObject *tobj = PyList_GET_ITEM(sipPy, i);
-- #if PY_MAJOR_VERSION >= 3
-- int t = PyLong_AsLong (tobj);
--#else
-- int t = PyInt_AS_LONG (tobj);
--#endif
--
-- if (*sipIsErr)
-- {
-- delete qv;
-- return 0;
-- }
--
-- qv->append(t);
-- }
--
-- *sipCppPtr = qv;
--
-- return sipGetState(sipTransferObj);
--%End
--};
--
-+
-
diff --git a/staging/konversation/PKGBUILD b/staging/konversation/PKGBUILD
deleted file mode 100644
index ee8a55574..000000000
--- a/staging/konversation/PKGBUILD
+++ /dev/null
@@ -1,41 +0,0 @@
-# $Id: PKGBUILD 168681 2012-10-14 00:39:34Z stephane $
-# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
-# Contributor: Andrea Scarpino <andrea@archlinux.org>
-# Contributor: James Rayner <iphitus@gmail.com>
-# Contributor: Sergio Jovani Guzman <moret@paretux.org>
-
-pkgname=konversation
-pkgver=1.4
-pkgrel=3
-pkgdesc="A user friendly IRC client for KDE"
-arch=('i686' 'x86_64')
-url="http://konversation.kde.org"
-depends=('kdebase-runtime' 'kdepimlibs')
-makedepends=('automoc4' 'cmake' 'pkgconfig' 'docbook-xml')
-optdepends=('python: python scripting support')
-license=('GPL2' 'FDL')
-install=${pkgname}.install
-options=('!makeflags')
-source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
-sha1sums=('90741721f68a02d4345b9006a8ae53bc49ef3777')
-
-build() {
- cd "${srcdir}"
- mkdir build
- cd build
- cmake ../${pkgname}-${pkgver} \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_SKIP_RPATH=ON \
- -DCMAKE_INSTALL_PREFIX=/usr
- make
-}
-
-package() {
- cd "${srcdir}"/build
- make DESTDIR="${pkgdir}" install
-
- # Remove a bunch of symlinks pointing to non-existant files
- for _lang in pt_BR uk sv et de en nl; do
- rm "${pkgdir}"/usr/share/doc/kde/html/${_lang}/konversation/common
- done
-}
diff --git a/staging/konversation/konversation.install b/staging/konversation/konversation.install
deleted file mode 100644
index 8834e059a..000000000
--- a/staging/konversation/konversation.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/staging/libreoffice/make-pyuno-work-with-system-wide-module-install.diff b/staging/libreoffice/make-pyuno-work-with-system-wide-module-install.diff
deleted file mode 100644
index e86548136..000000000
--- a/staging/libreoffice/make-pyuno-work-with-system-wide-module-install.diff
+++ /dev/null
@@ -1,44 +0,0 @@
-diff --git a/desktop/scripts/soffice.sh b/desktop/scripts/soffice.sh
-index defd7b2..ea2a809 100755
---- a/desktop/scripts/soffice.sh
-+++ b/desktop/scripts/soffice.sh
-@@ -128,6 +128,9 @@ if echo "$checks" | grep -q "cc" ; then
- exit 1;
- fi
-
-+PYTHONPATH=$sd_prog${PYTHONPATH+:$PYTHONPATH}
-+export PYTHONPATH
-+
- case "`uname -s`" in
- NetBSD|OpenBSD|FreeBSD|DragonFly)
- # this is a temporary hack until we can live with the default search paths
-diff --git a/pyuno/source/module/uno.py b/pyuno/source/module/uno.py
-index f93ac5e..92a2891 100644
---- a/pyuno/source/module/uno.py
-+++ b/pyuno/source/module/uno.py
-@@ -26,8 +26,12 @@
- # for a copy of the LGPLv3 License.
- #
- #*************************************************************************
-+import os
- import sys
-
-+sys.path.append('/usr/lib/libreoffice/program')
-+if getattr(os.environ, 'URE_BOOTSTRAP', None) is None:
-+ os.environ['URE_BOOTSTRAP'] = "vnd.sun.star.pathname:/usr/lib/libreoffice/program/fundamentalrc"
- import pyuno
-
- try:
-diff --git a/scripting/source/pyprov/officehelper.py b/scripting/source/pyprov/officehelper.py
-index 610ac5f..df243d0 100755
---- a/scripting/source/pyprov/officehelper.py
-+++ b/scripting/source/pyprov/officehelper.py
-@@ -53,7 +53,7 @@ def bootstrap():
- if "UNO_PATH" in os.environ:
- sOffice = os.environ["UNO_PATH"]
- else:
-- sOffice = "" # lets hope for the best
-+ sOffice = "/usr/lib/libreoffice/program"
- sOffice = os.path.join(sOffice, "soffice")
- if platform.startswith("win"):
- sOffice += ".exe"
diff --git a/staging/libxcb/PKGBUILD b/staging/libxcb/PKGBUILD
deleted file mode 100644
index 2ca76afe7..000000000
--- a/staging/libxcb/PKGBUILD
+++ /dev/null
@@ -1,35 +0,0 @@
-# $Id: PKGBUILD 168070 2012-10-05 16:55:34Z andyrtr $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-# Contributor: Alexander Baldeck <alexander@archlinux.org>
-
-pkgname=libxcb
-pkgver=1.9
-pkgrel=1
-pkgdesc="X11 client-side library"
-arch=(i686 x86_64)
-url="http://xcb.freedesktop.org/"
-depends=('xcb-proto>=1.7' 'libxdmcp' 'libxau')
-makedepends=('pkgconfig' 'libxslt' 'python2')
-options=('!libtool')
-license=('custom')
-source=($url/dist/$pkgname-$pkgver.tar.bz2
- libxcb-1.1-no-pthread-stubs.patch)
-sha1sums=('ad2fb95eeec41ba3d39502a4f7460c3b64fdf061'
- 'd2df03ddf3e949c10c2c185256b0eb7fa02837ab')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- patch -Np1 -i "$srcdir/libxcb-1.1-no-pthread-stubs.patch"
- PYTHON=/usr/bin/python2
- ./autogen.sh --prefix=/usr \
- --enable-xinput \
- --disable-static
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir" install
- install -m755 -d "$pkgdir/usr/share/licenses/$pkgname"
- install -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname"
-}
diff --git a/staging/libxcb/libxcb-1.1-no-pthread-stubs.patch b/staging/libxcb/libxcb-1.1-no-pthread-stubs.patch
deleted file mode 100644
index 8e8162f0a..000000000
--- a/staging/libxcb/libxcb-1.1-no-pthread-stubs.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- libxcb-1.8.1/configure.ac 2012-03-09 15:38:38.000000000 +0100
-+++ libxcb-1.8.1/configure.ac.new 2012-03-09 16:50:40.107109896 +0100
-@@ -35,7 +35,7 @@
-
- # Checks for pkg-config packages
- PKG_CHECK_MODULES(XCBPROTO, xcb-proto >= 1.7)
--NEEDED="pthread-stubs xau >= 0.99.2"
-+NEEDED="xau >= 0.99.2"
- PKG_CHECK_MODULES(NEEDED, $NEEDED)
-
- have_xdmcp="no"
diff --git a/staging/mesa/mesa-radeon-parallel-make.diff b/staging/mesa/mesa-radeon-parallel-make.diff
deleted file mode 100644
index 2fc5a4793..000000000
--- a/staging/mesa/mesa-radeon-parallel-make.diff
+++ /dev/null
@@ -1,129 +0,0 @@
-From cebbdd4ac23725963207bf6f8fc7101150e6065f Mon Sep 17 00:00:00 2001
-From: Tom Stellard <thomas.stellard@amd.com>
-Date: Wed, 29 Aug 2012 13:01:15 +0000
-Subject: radeon/llvm: Cleanup makefile
-
-Hopefully, this will fix all the parallel make problems people have
-been having.
----
-diff --git a/src/gallium/drivers/radeon/Makefile b/src/gallium/drivers/radeon/Makefile
-index 43f668a..7f1c613 100644
---- a/src/gallium/drivers/radeon/Makefile
-+++ b/src/gallium/drivers/radeon/Makefile
-@@ -20,8 +20,6 @@ tablegen = $(TBLGEN) -I $(LLVM_INCLUDEDIR) $1 $2 -o $3
-
- HAVE_LLVM_INTRINSICS = $(shell grep IntrinsicsR600.td $(LLVM_INCLUDEDIR)/llvm/Intrinsics.td)
-
--gen: $(GENERATED_SOURCES)
--
- SIRegisterInfo.td: SIGenRegisterInfo.pl
- $(PERL) $^ > $@
-
-@@ -38,37 +36,37 @@ endif
- R600RegisterInfo.td: R600GenRegisterInfo.pl
- $(PERL) $^ > $@
-
--AMDGPUGenRegisterInfo.inc: *.td
-+AMDGPUGenRegisterInfo.inc: $(TD_FILES)
- $(call tablegen, -gen-register-info, AMDGPU.td, $@)
-
--AMDGPUGenInstrInfo.inc: *.td
-+AMDGPUGenInstrInfo.inc: $(TD_FILES)
- $(call tablegen, -gen-instr-info, AMDGPU.td, $@)
-
--AMDGPUGenAsmWriter.inc: *.td
-+AMDGPUGenAsmWriter.inc: $(TD_FILES)
- $(call tablegen, -gen-asm-writer, AMDGPU.td, $@)
-
--AMDGPUGenDAGISel.inc: *.td
-+AMDGPUGenDAGISel.inc: $(TD_FILES)
- $(call tablegen, -gen-dag-isel, AMDGPU.td, $@)
-
--AMDGPUGenCallingConv.inc: *.td
-+AMDGPUGenCallingConv.inc: $(TD_FILES)
- $(call tablegen, -gen-callingconv, AMDGPU.td, $@)
-
--AMDGPUGenSubtargetInfo.inc: *.td
-+AMDGPUGenSubtargetInfo.inc: $(TD_FILES)
- $(call tablegen, -gen-subtarget, AMDGPU.td, $@)
-
--AMDGPUGenEDInfo.inc: *.td
-+AMDGPUGenEDInfo.inc: $(TD_FILES)
- $(call tablegen, -gen-enhanced-disassembly-info, AMDGPU.td, $@)
-
--AMDGPUGenIntrinsics.inc: *.td
-+AMDGPUGenIntrinsics.inc: $(TD_FILES)
- $(call tablegen, -gen-tgt-intrinsic, AMDGPU.td, $@)
-
--AMDGPUGenCodeEmitter.inc: *.td
-+AMDGPUGenCodeEmitter.inc: $(TD_FILES)
- $(call tablegen, -gen-emitter, AMDGPU.td, $@)
-
--AMDGPUGenMCCodeEmitter.inc: *.td
-+AMDGPUGenMCCodeEmitter.inc: $(TD_FILES)
- $(call tablegen, -mc-emitter -gen-emitter, AMDGPU.td, $@)
-
--AMDGPUGenDFAPacketizer.inc: *.td
-+AMDGPUGenDFAPacketizer.inc: $(TD_FILES)
- $(call tablegen, -gen-dfa-packetizer, AMDGPU.td, $@)
-
- LOADER_LIBS=$(shell llvm-config --libs bitreader asmparser)
-diff --git a/src/gallium/drivers/radeon/Makefile.sources b/src/gallium/drivers/radeon/Makefile.sources
-index 2eb1120..333dd03 100644
---- a/src/gallium/drivers/radeon/Makefile.sources
-+++ b/src/gallium/drivers/radeon/Makefile.sources
-@@ -1,4 +1,30 @@
-
-+TD_FILES := \
-+ AMDGPU.td \
-+ AMDGPUInstrInfo.td \
-+ AMDGPUInstructions.td \
-+ AMDGPUIntrinsics.td \
-+ AMDGPURegisterInfo.td \
-+ AMDILBase.td \
-+ AMDILInstrInfo.td \
-+ AMDILIntrinsics.td \
-+ AMDILRegisterInfo.td \
-+ Processors.td \
-+ R600InstrInfo.td \
-+ R600Instructions.td \
-+ R600Intrinsics.td \
-+ R600IntrinsicsNoOpenCL.td \
-+ R600IntrinsicsOpenCL.td \
-+ R600RegisterInfo.td \
-+ R600Schedule.td \
-+ SIInstrFormats.td \
-+ SIInstrInfo.td \
-+ SIInstructions.td \
-+ SIIntrinsics.td \
-+ SIRegisterInfo.td \
-+ SISchedule.td
-+
-+
- GENERATED_SOURCES := \
- R600Intrinsics.td \
- R600RegisterInfo.td \
---
-cgit v0.9.0.2-2-gbebe
-From 2baaa5c7eb21517f0197bfd91154e9b4886fbb1b Mon Sep 17 00:00:00 2001
-From: Tom Stellard <thomas.stellard@amd.com>
-Date: Thu, 06 Sep 2012 14:05:22 +0000
-Subject: radeon/llvm: Remove R600InstrInfo.td from TD_FILES
-
-Fixes build bug introduced by
-cebbdd4ac23725963207bf6f8fc7101150e6065f
----
-diff --git a/src/gallium/drivers/radeon/Makefile.sources b/src/gallium/drivers/radeon/Makefile.sources
-index 333dd03..f387636 100644
---- a/src/gallium/drivers/radeon/Makefile.sources
-+++ b/src/gallium/drivers/radeon/Makefile.sources
-@@ -10,7 +10,6 @@ TD_FILES := \
- AMDILIntrinsics.td \
- AMDILRegisterInfo.td \
- Processors.td \
-- R600InstrInfo.td \
- R600Instructions.td \
- R600Intrinsics.td \
- R600IntrinsicsNoOpenCL.td \
---
-cgit v0.9.0.2-2-gbebe
diff --git a/staging/mesa/pthread_fix.diff b/staging/mesa/pthread_fix.diff
deleted file mode 100644
index bdfe2d865..000000000
--- a/staging/mesa/pthread_fix.diff
+++ /dev/null
@@ -1,23 +0,0 @@
-From dd4fde8f674f5e3efa19e929f97de4ecfd82391b Mon Sep 17 00:00:00 2001
-From: Matt Turner <mattst88@gmail.com>
-Date: Thu, 27 Sep 2012 22:49:52 +0000
-Subject: build: Set PTHREAD_LIBS for pkgconfig files if empty
-
----
-diff --git a/configure.ac b/configure.ac
-index 770df2f..dc2720d 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -509,6 +509,10 @@ AC_CHECK_DECLS([signbit],[],
-
- dnl Check for pthreads
- AX_PTHREAD
-+dnl AX_PTHREADS leaves PTHREAD_LIBS empty for gcc and sets PTHREAD_CFLAGS
-+dnl to -pthread, which causes problems if we need -lpthread to appear in
-+dnl pkgconfig files.
-+test -z "$PTHREAD_LIBS" && PTHREAD_LIBS="-lpthread"
-
- dnl SELinux awareness.
- AC_ARG_ENABLE([selinux],
---
-cgit v0.9.0.2-2-gbebe
diff --git a/staging/miro/PKGBUILD b/staging/miro/PKGBUILD
deleted file mode 100644
index 1b4c5711a..000000000
--- a/staging/miro/PKGBUILD
+++ /dev/null
@@ -1,49 +0,0 @@
-# $Id: PKGBUILD 168800 2012-10-16 01:40:22Z eric $
-# Maintainer: Ronald van Haren <ronald.archlinux.org>
-
-pkgname=miro
-pkgver=5.0.4
-pkgrel=2
-pkgdesc="The free and open source internet TV platform"
-arch=('i686' 'x86_64')
-url="http://www.getmiro.com"
-license=('GPL2')
-depends=('python2-dbus' 'pyrex' 'pygtk' 'gstreamer0.10' 'python2-gconf'
- 'python2-pysqlite' 'pywebkitgtk' 'shared-mime-info'
- 'desktop-file-utils' 'gstreamer0.10' 'hicolor-icon-theme'
- 'gstreamer0.10-python' 'python2-notify' 'libtorrent-rasterbar'
- 'gstreamer0.10-base-plugins' 'gstreamer0.10-good-plugins' 'python2-pycurl'
- 'gstreamer0.10-ffmpeg' 'ffmpeg' 'mutagen' 'xdg-utils')
-makedepends=('pkg-config' 'boost')
-install=miro.install
-source=("http://ftp.osuosl.org/pub/pculture.org/${pkgname}/src/${pkgname}-${pkgver}.tar.gz"
- 'ffmpeg.patch')
-sha1sums=('1144f98149ff07208b994a7cedb45a4beaaa451f'
- 'ce0f42be2a0a3ac99f07b5abfabf0975928c841c')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- cd linux
- patch -p2 -i "${srcdir}"/ffmpeg.patch
-
- python2 setup.py install --root="${pkgdir}"
-
- # fix miro startup script so --debug works with python2
- sed -i "s|which python|which python2|" "${pkgdir}/usr/bin/miro"
- sed -i "s|./miro.real|/usr/bin/miro.real|" "${pkgdir}/usr/bin/miro"
-
- # fix python scripts for python2
- sed -i "s|/usr/bin/env python|/usr/bin/env python2|" "${pkgdir}"/usr/share/miro/resources/searchengines/update-icons.py
- for i in usr/share/miro/resources/testdata/echonest-replies/generate.py usr/share/miro/resources/searchengines/update-icons.py \
- usr/share/miro/resources/testdata/7digital-replies/generate.py; do
- sed -i "s|/usr/bin/python|/usr/bin/python2|" "${pkgdir}"/${i}
- done
-
- # Fakeroot segfaults on these; remove
- if [ ${CARCH} == "i686" ]; then
- rm -f "${pkgdir}"/usr/bin/codegen.Linux-x86_64 || true
- else
- rm -f "${pkgdir}"/usr/bin/codegen.Linux-i686 || true
- fi
-}
diff --git a/staging/miro/ffmpeg.patch b/staging/miro/ffmpeg.patch
deleted file mode 100644
index 99c14107d..000000000
--- a/staging/miro/ffmpeg.patch
+++ /dev/null
@@ -1,63 +0,0 @@
---- miro-5.0.1/linux/miro-segmenter.c~ 2012-07-06 14:33:24.618082171 +0000
-+++ miro-5.0.1/linux/miro-segmenter.c 2012-07-06 15:10:19.564146117 +0000
-@@ -156,7 +156,7 @@
- exit(1);
- }
-
-- ret = av_open_input_file(&ic, input, ifmt, 0, NULL);
-+ ret = avformat_open_input(&ic, input, ifmt, 0);
- if (ret != 0) {
- fprintf(stderr, "Could not open input file, make sure it is an mpegts file: %d\n", ret);
- exit(1);
-@@ -215,12 +215,7 @@
- }
- }
-
-- if (av_set_parameters(oc, NULL) < 0) {
-- fprintf(stderr, "Invalid output format parameters\n");
-- exit(1);
-- }
--
-- dump_format(oc, 0, input, 1);
-+ av_dump_format(oc, 0, input, 1);
-
- if (video_st) {
- codec = avcodec_find_decoder(video_st->codec->codec_id);
-@@ -233,12 +228,12 @@
- }
- }
-
-- if (url_fopen(&oc->pb, output_filename, URL_WRONLY) < 0) {
-+ if (avio_open(&oc->pb, output_filename, AVIO_FLAG_WRITE) < 0) {
- fprintf(stderr, "Could not open '%s'\n", output_filename);
- exit(1);
- }
-
-- if (av_write_header(oc)) {
-+ if (avformat_write_header(oc, NULL)) {
- fprintf(stderr, "Could not write mpegts header to first output file\n");
-
- exit(1);
-@@ -274,10 +269,10 @@
- }
-
- if (segment_time - prev_segment_time >= segment_duration) {
-- put_flush_packet(oc->pb);
-- url_fclose(oc->pb);
-+ avio_flush(oc->pb);
-+ avio_close(oc->pb);
-
-- if (url_fopen(&oc->pb, output_filename, URL_WRONLY) < 0) {
-+ if (avio_open(&oc->pb, output_filename, AVIO_FLAG_WRITE) < 0) {
- fprintf(stderr, "Could not open '%s'\n", output_filename);
- break;
- }
-@@ -307,7 +302,7 @@
- av_freep(&oc->streams[i]);
- }
-
-- url_fclose(oc->pb);
-+ avio_close(oc->pb);
- av_free(oc);
-
- /* End-of-transcode marker. */
diff --git a/staging/miro/miro.install b/staging/miro/miro.install
deleted file mode 100644
index a5ee228aa..000000000
--- a/staging/miro/miro.install
+++ /dev/null
@@ -1,17 +0,0 @@
-post_install() {
- update-desktop-database -q
- xdg-icon-resource forceupdate --theme hicolor
- update-mime-database usr/share/mime > /dev/null
-}
-
-post_upgrade() {
- post_install $1
-}
-
-post_remove() {
- update-desktop-database -q
- xdg-icon-resource forceupdate --theme hicolor
- update-mime-database usr/share/mime > /dev/null
-}
-
-
diff --git a/staging/pathological/PKGBUILD b/staging/pathological/PKGBUILD
deleted file mode 100644
index acf263add..000000000
--- a/staging/pathological/PKGBUILD
+++ /dev/null
@@ -1,38 +0,0 @@
-# $Id: PKGBUILD 167400 2012-10-01 23:04:53Z eric $
-# Maintainer: Eric Bélanger <eric@archlinux.org>
-
-pkgname=pathological
-pkgver=1.1.3
-pkgrel=8
-pkgdesc="A puzzle game with the same feel as frozen bubble"
-arch=('i686' 'x86_64')
-url="http://pathological.sourceforge.net/"
-license=('GPL')
-depends=('python2-pygame')
-makedepends=('netpbm')
-install=pathological.install
-source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz
- pathological.desktop pygame_181.patch encoding.patch)
-sha1sums=('70b1c9e12704c7fd3b301aa90bceee2e8373b7b9'
- '9b57f854ce9621542d810a21c61325de343950d7'
- '6f0aa0f74a87bd53771f2db6d3117981c4f070d3'
- '7dbaa9ced7da0094280425a68b4c8db3382f230a')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- patch -p0 < ../encoding.patch
- patch -p1 < ../pygame_181.patch
- sed -i 's|X11R6/include/X11|share|' Makefile
- sed -i 's|usr/games|usr/bin|' Makefile
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- sed -i 's|#!/usr/bin/python|#!/usr/bin/python2|' "${pkgdir}/usr/share/games/pathological/pathological.py"
- install -D -m644 ../pathological.desktop "${pkgdir}/usr/share/applications/pathological.desktop"
- chown root:games "${pkgdir}/var/games"
- chmod 775 "${pkgdir}/var/games"
- rm "${pkgdir}/var/games/pathological_scores"
-}
diff --git a/staging/pathological/encoding.patch b/staging/pathological/encoding.patch
deleted file mode 100644
index 394875809..000000000
--- a/staging/pathological/encoding.patch
+++ /dev/null
@@ -1,8 +0,0 @@
---- pathological.py.orig 2009-07-10 01:49:39.000000000 -0400
-+++ pathological.py 2009-07-10 01:49:53.000000000 -0400
-@@ -1,4 +1,5 @@
- #!/usr/bin/python
-+# -*- coding: utf-8 -*-
- """
- Copyright (C) 2003 John-Paul Gignac
-
diff --git a/staging/pathological/pathological.desktop b/staging/pathological/pathological.desktop
deleted file mode 100644
index 54817684f..000000000
--- a/staging/pathological/pathological.desktop
+++ /dev/null
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-Name=Pathological
-Comment=A puzzle game involving paths and marbles
-Exec=pathological
-Icon=pathological.xpm
-Terminal=false
-Type=Application
-Categories=Application;Game;
diff --git a/staging/pathological/pathological.install b/staging/pathological/pathological.install
deleted file mode 100644
index 4bc716839..000000000
--- a/staging/pathological/pathological.install
+++ /dev/null
@@ -1,29 +0,0 @@
-post_install() {
-if [ ! -e var/games/pathological_scores ]; then
- cat << _EOF > var/games/pathological_scores
-0 all-boards 1 John-Paul
-0 all-boards 1 Kim
-0 all-boards 1 Matths
-0 all-boards 1 Carrie
-0 all-boards 1 Mike
-0 all-boards 1 Dale
-0 all-boards 1 Alesh
-0 all-boards 1 Thanks to
-0 all-boards 1 everyone who
-0 all-boards 1 contributed!
-_EOF
-fi
- chown root:games var/games/pathological_scores
- chmod 664 var/games/pathological_scores
-}
-
-pre_upgrade() {
- if [ -e usr/share/games/pathological/pathological_scores ]; then
- mv usr/share/games/pathological/pathological_scores var/games/
- fi
-}
-
-post_upgrade() {
- chown root:games var/games/pathological_scores
- chmod 664 var/games/pathological_scores
-}
diff --git a/staging/pathological/pygame_181.patch b/staging/pathological/pygame_181.patch
deleted file mode 100644
index 4789f1519..000000000
--- a/staging/pathological/pygame_181.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- pathological-1.1.3.orig.orig/pathological.py 2009-04-15 10:50:11.000000000 -0400
-+++ pathological-1.1.3.orig/pathological.py 2009-04-15 10:50:56.000000000 -0400
-@@ -169,6 +169,7 @@
- if not pygame.mixer or not pygame.mixer.music:
- print "Background music not available."
- return
-+ pygame.mixer.music.stop()
- fullname = os.path.join('music', name)
- try:
- pygame.mixer.music.load(fullname)
diff --git a/staging/pycrypto/PKGBUILD b/staging/pycrypto/PKGBUILD
deleted file mode 100644
index d4987b4b3..000000000
--- a/staging/pycrypto/PKGBUILD
+++ /dev/null
@@ -1,52 +0,0 @@
-# $Id: PKGBUILD 168667 2012-10-13 21:58:25Z eric $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-# Contributor: Kritoke <kritoke@gamebox.net>
-
-pkgbase=pycrypto
-pkgname=('python2-crypto' 'python-crypto')
-pkgver=2.6
-pkgrel=3
-arch=('i686' 'x86_64')
-makedepends=('python2' 'python')
-url="http://www.dlitz.net/software/pycrypto/"
-license=('custom')
-source=("http://ftp.dlitz.net/pub/dlitz/crypto/${pkgbase}/${pkgbase}-${pkgver}.tar.gz")
-sha256sums=('7293c9d7e8af2e44a82f86eb9c3b058880f4bcc884bf3ad6c8a34b64986edde8')
-
-build() {
- cd "${srcdir}"
- find ${pkgbase}-${pkgver}/LEGAL -type f -exec chmod 644 {} \;
- find ${pkgbase}-${pkgver}/LEGAL -type d -exec chmod 755 {} \;
-
- cp -r ${pkgbase}-${pkgver} ${pkgbase}-${pkgver}-py3
- cd "${srcdir}/${pkgbase}-${pkgver}"
- python2 setup.py build
-
- cd "${srcdir}/${pkgbase}-${pkgver}-py3"
- python setup.py build
-}
-
-package_python2-crypto() {
- pkgdesc="Collection of cryptographic algorithms and protocols, implemented for use from Python 2."
- depends=('python2')
- replaces=('pycrypto')
- conflicts=('pycrypto')
- provides=("pycrypto=${pkgver}")
-
- cd "${srcdir}/${pkgbase}-${pkgver}"
- python2 setup.py install --root="${pkgdir}" --optimize=1
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/"
- cp -r LEGAL "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
-
-package_python-crypto() {
- pkgdesc="Collection of cryptographic algorithms and protocols, implemented for use from Python 3."
- depends=('python')
-
- cd "${srcdir}/${pkgbase}-${pkgver}-py3"
- python setup.py install --root="${pkgdir}" --optimize=1
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/"
- cp -r LEGAL "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
diff --git a/staging/pygobject/PKGBUILD b/staging/pygobject/PKGBUILD
deleted file mode 100644
index c5b861096..000000000
--- a/staging/pygobject/PKGBUILD
+++ /dev/null
@@ -1,58 +0,0 @@
-# $Id: PKGBUILD 168794 2012-10-16 00:45:16Z allan $
-# Maintainer: Ionut Biru <ibiru@archlinux.org>
-
-pkgbase=pygobject
-pkgname=(python-gobject python2-gobject pygobject-devel)
-pkgver=3.2.2
-pkgrel=2
-arch=('i686' 'x86_64')
-url="https://live.gnome.org/PyGObject"
-license=('LGPL')
-makedepends=('python' 'python2' 'python-cairo' 'python2-cairo' 'gobject-introspection')
-source=(http://ftp.gnome.org/pub/gnome/sources/$pkgbase/${pkgver%.*}/$pkgbase-$pkgver.tar.xz)
-options=('!libtool')
-sha256sums=('4653790baaff0176fd814b88cfb5378c45906a120b25d01be2554f423b726eb0')
-
-build() {
- cp -a "$pkgbase-$pkgver" python2-build
- mkdir devel
-
- (
- cd python2-build
- export PYTHON=/usr/bin/python2
- ./configure --prefix=/usr
- make
- )
-
- (
- cd "$pkgbase-$pkgver"
- ./configure --prefix=/usr
- make
- )
-}
-
-package_python-gobject() {
- pkgdesc="Python 3 bindings for GObject"
- depends=('gobject-introspection' 'python-cairo' "pygobject-devel=$pkgver")
-
- cd "$pkgbase-$pkgver"
- make DESTDIR="$pkgdir" install
- rm -r "$pkgdir"/usr/{include,lib/pkgconfig}
-}
-
-package_python2-gobject() {
- pkgdesc="Python 2 bindings for GObject"
- depends=('gobject-introspection' 'python2-cairo' "pygobject-devel=$pkgver")
-
- cd "python2-build"
- make DESTDIR="$pkgdir" install
- mv "$pkgdir"/usr/{include,lib/pkgconfig} "$srcdir/devel"
-}
-
-package_pygobject-devel() {
- pkgdesc="Development files for the pygobject bindings"
- cd "devel"
- mkdir -p "$pkgdir"/usr/{include,lib}
- mv include "$pkgdir/usr/"
- mv pkgconfig "$pkgdir/usr/lib/"
-}
diff --git a/staging/pygobject2/PKGBUILD b/staging/pygobject2/PKGBUILD
deleted file mode 100644
index 4ba2bfa2a..000000000
--- a/staging/pygobject2/PKGBUILD
+++ /dev/null
@@ -1,86 +0,0 @@
-# $Id: PKGBUILD 168792 2012-10-16 00:40:21Z allan $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgbase=pygobject2
-pkgname=(python-gobject2 python2-gobject2 pygobject2-devel)
-pkgver=2.28.6
-pkgrel=7
-arch=('i686' 'x86_64')
-url="http://www.pygtk.org/"
-license=('LGPL')
-makedepends=('python' 'python2')
-source=(http://ftp.gnome.org/pub/gnome/sources/pygobject/${pkgver%.*}/pygobject-${pkgver}.tar.xz
- python2-fix-type.patch
- python3-fix-build.patch
- python3-fix-maketrans.patch)
-options=('!libtool')
-sha256sums=('fb8a1d4f665130a125011659bd347c7339c944232163dbb9a34fd0686577adb8'
- 'b7b415499ffc0817cf551edf76a3fe47938db2c9f6240046eae681e6ef9b37ea'
- 'feafd4664f8455edf0bf8407ac45e219bb550df806ce0d601baae951e8c188ca'
- '4bff9adcea13a824c45d14ec501c927df47d23c22507a2456d8b5ec885924c0a')
-
-build() {
- cd "${srcdir}"
- cp -a "pygobject-${pkgver}" python2-build
- mkdir devel
-
- (
- cd python2-build
- export PYTHON=/usr/bin/python2
- ./configure --prefix=/usr --disable-introspection
- make
- )
-
- (
- cd "pygobject-${pkgver}"
- #patches available in 2.28 branch but unreleased.
- patch -Np1 -i "${srcdir}/python2-fix-type.patch"
- patch -Np1 -i "${srcdir}/python3-fix-build.patch"
- patch -Np1 -i "${srcdir}/python3-fix-maketrans.patch"
-
- ./configure --prefix=/usr --disable-introspection
- make
- )
-}
-
-package_python-gobject2() {
- pkgdesc="Python 3 bindings for GObject2"
- depends=('glib2' 'pygobject2-devel' 'python')
- replaces=('py3gobject')
- provides=("py3gobject=$pkgver")
-
- cd "${srcdir}/pygobject-${pkgver}"
- make DESTDIR="${pkgdir}" install
-
- # Delete devel stuff
- rm -r "$pkgdir"/usr/{bin,include,lib/pkgconfig,share/{gtk-doc,pygobject/{2.0/codegen,xsl}}}
-}
-
-package_python2-gobject2() {
- pkgdesc="Python 2 bindings for GObject2"
- depends=('glib2' 'pygobject2-devel' 'python2')
- replaces=('pygobject')
- provides=("pygobject=$pkgver")
-
- cd "${srcdir}/python2-build"
- make DESTDIR="${pkgdir}" install
-
- find "$pkgdir"/usr/share/pygobject -name '*.py' | \
- xargs sed -i "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|"
-
- # Split devel stuff
- mv "$pkgdir"/usr/{include,lib/pkgconfig,share/{gtk-doc,pygobject/xsl}} \
- "$srcdir/devel/"
-}
-
-package_pygobject2-devel() {
- pkgdesc="Development files for the pygobject bindings"
-
- cd "${srcdir}/devel"
- mkdir -p "$pkgdir"/usr/{include,lib,share/pygobject}
-
- mv include "$pkgdir/usr/"
- mv pkgconfig "$pkgdir/usr/lib/"
- mv gtk-doc "$pkgdir/usr/share/"
- mv xsl "$pkgdir/usr/share/pygobject/"
-}
diff --git a/staging/pygobject2/python2-fix-type.patch b/staging/pygobject2/python2-fix-type.patch
deleted file mode 100644
index 78e7ddfd5..000000000
--- a/staging/pygobject2/python2-fix-type.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-From 42d01f060c5d764baa881d13c103d68897163a49 Mon Sep 17 00:00:00 2001
-From: Ryan Lortie <desrt@desrt.ca>
-Date: Mon, 12 Mar 2012 16:44:14 -0400
-Subject: gio-types.defs: change some enums to flags
-
-These flags types were originally incorrectly handled in glib as being
-enums. That bug was fixed, but they're still enums here, leading to
-warnings about the mismatch.
-
-Change them to flags.
-
-https://bugzilla.gnome.org/show_bug.cgi?id=668522
----
- gio/gio-types.defs | 6 +++---
- 1 files changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/gio/gio-types.defs b/gio/gio-types.defs
-index 331e0bc..7eee5c8 100644
---- a/gio/gio-types.defs
-+++ b/gio/gio-types.defs
-@@ -526,7 +526,7 @@
- )
- )
-
--(define-enum MountMountFlags
-+(define-flags MountMountFlags
- (in-module "gio")
- (c-name "GMountMountFlags")
- (gtype-id "G_TYPE_MOUNT_MOUNT_FLAGS")
-@@ -545,7 +545,7 @@
- )
- )
-
--(define-enum DriveStartFlags
-+(define-flags DriveStartFlags
- (in-module "gio")
- (c-name "GDriveStartFlags")
- (gtype-id "G_TYPE_DRIVE_START_FLAGS")
-@@ -770,7 +770,7 @@
- )
- )
-
--(define-enum SocketMsgFlags
-+(define-flags SocketMsgFlags
- (in-module "gio")
- (c-name "GSocketMsgFlags")
- (gtype-id "G_TYPE_SOCKET_MSG_FLAGS")
---
-1.7.9.1
-
diff --git a/staging/pygobject2/python3-fix-build.patch b/staging/pygobject2/python3-fix-build.patch
deleted file mode 100644
index 4cb8cfe57..000000000
--- a/staging/pygobject2/python3-fix-build.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From e2dc4ac346a16b6976b92e84819c7203629beb4a Mon Sep 17 00:00:00 2001
-From: Ignacio Casal Quinteiro <icq@gnome.org>
-Date: Thu, 21 Apr 2011 14:52:20 +0000
-Subject: [python3] fix build. PYcairo_IMPORT doesn't exists anymore
-
----
-diff --git a/gi/pygi-foreign-cairo.c b/gi/pygi-foreign-cairo.c
-index 81b9865..edf52d7 100644
---- a/gi/pygi-foreign-cairo.c
-+++ b/gi/pygi-foreign-cairo.c
-@@ -30,7 +30,7 @@
- #include <pycairo/py3cairo.h>
- #endif
-
--Pycairo_CAPI_t *Pycairo_CAPI;
-+static Pycairo_CAPI_t *Pycairo_CAPI;
-
- #include "pygi-foreign.h"
-
-@@ -117,7 +117,12 @@ cairo_surface_release (GIBaseInfo *base_info,
- static PyMethodDef _gi_cairo_functions[] = {0,};
- PYGLIB_MODULE_START(_gi_cairo, "_gi_cairo")
- {
-+#if PY_VERSION_HEX < 0x03000000
- Pycairo_IMPORT;
-+#else
-+ Pycairo_CAPI = (Pycairo_CAPI_t*) PyCObject_Import("cairo", "CAPI");
-+#endif
-+
- if (Pycairo_CAPI == NULL)
- return PYGLIB_MODULE_ERROR_RETURN;
-
---
-cgit v0.9
diff --git a/staging/pygobject2/python3-fix-maketrans.patch b/staging/pygobject2/python3-fix-maketrans.patch
deleted file mode 100644
index f5bc0e77c..000000000
--- a/staging/pygobject2/python3-fix-maketrans.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From 667bec76ccbc85cc1d54a0e68977dbda241c028c Mon Sep 17 00:00:00 2001
-From: Martin Pitt <martin.pitt@ubuntu.com>
-Date: Wed, 13 Jul 2011 06:42:22 +0000
-Subject: [python3] Fix maketrans import
-
-Python3 moved the maketrans() function from the string module to a str method.
-This unbreaks gi/module.py for Python 3 again.
----
-diff --git a/gi/module.py b/gi/module.py
-index 70df76c..d56bdaf 100644
---- a/gi/module.py
-+++ b/gi/module.py
-@@ -24,7 +24,11 @@ from __future__ import absolute_import
-
- import os
- import gobject
--import string
-+try:
-+ maketrans = ''.maketrans
-+except AttributeError:
-+ # fallback for Python 2
-+ from string import maketrans
-
- import gi
- from .overrides import registry
-@@ -124,7 +128,7 @@ class IntrospectionModule(object):
- # Don't use upper() here to avoid locale specific
- # identifier conversion (e. g. in Turkish 'i'.upper() == 'i')
- # see https://bugzilla.gnome.org/show_bug.cgi?id=649165
-- ascii_upper_trans = string.maketrans(
-+ ascii_upper_trans = maketrans(
- 'abcdefgjhijklmnopqrstuvwxyz',
- 'ABCDEFGJHIJKLMNOPQRSTUVWXYZ')
- for value_info in info.get_values():
---
-cgit v0.9
diff --git a/staging/pyopenssl/PKGBUILD b/staging/pyopenssl/PKGBUILD
deleted file mode 100644
index 12bf75be8..000000000
--- a/staging/pyopenssl/PKGBUILD
+++ /dev/null
@@ -1,46 +0,0 @@
-# $Id: PKGBUILD 168651 2012-10-13 20:29:33Z eric $
-# Maintainer : Ionut Biru<ibiru@archlinux.org>
-# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
-
-pkgbase=pyopenssl
-pkgname=('python-pyopenssl' 'python2-pyopenssl')
-pkgver=0.13
-pkgrel=2
-arch=('i686' 'x86_64')
-url="http://pypi.python.org/pypi/pyOpenSSL"
-license=('LGPL2.1')
-makedepends=('python' 'python2' 'openssl')
-source=(http://pypi.python.org/packages/source/p/pyOpenSSL/pyOpenSSL-${pkgver}.tar.gz)
-md5sums=('767bca18a71178ca353dff9e10941929')
-
-build() {
- cd "${srcdir}"
- cp -a "pyOpenSSL-${pkgver}"{,-python2}
-
- #build python 3 module
- cd "pyOpenSSL-${pkgver}"
- python setup.py build
-
- #build python 2 module
- cd ../"pyOpenSSL-${pkgver}-python2"
- python2 setup.py build
-}
-
-package_python-pyopenssl(){
- pkgdesc="Python3 wrapper module around the OpenSSL library"
- depends=('python>=3.3' 'openssl')
- replaces=('pyopenssl')
- provides=('pyopenssl')
- conflicts=('pyopenssl')
-
- cd "${srcdir}/pyOpenSSL-${pkgver}"
- python setup.py install --root "${pkgdir}" --optimize=1
-}
-
-package_python2-pyopenssl(){
- pkgdesc="Python2 wrapper module around the OpenSSL library"
- depends=('python2>=2.7' 'openssl')
-
- cd "${srcdir}/pyOpenSSL-${pkgver}-python2"
- python2 setup.py install --root "${pkgdir}" --optimize=1
-}
diff --git a/staging/pyqt/PKGBUILD b/staging/pyqt/PKGBUILD
deleted file mode 100644
index 6f3b1a230..000000000
--- a/staging/pyqt/PKGBUILD
+++ /dev/null
@@ -1,90 +0,0 @@
-# $Id: PKGBUILD 168744 2012-10-15 09:20:47Z andrea $
-# Maintainer: Andrea Scarpino <andrea@archlinux.org>
-# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
-# Contributor: riai <riai@bigfoot.com> Ben <ben@benmazer.net>
-
-pkgbase=pyqt
-pkgname=('pyqt-common' 'pyqt' 'python2-pyqt')
-pkgver=4.9.5
-pkgrel=2
-arch=('i686' 'x86_64')
-url="http://riverbankcomputing.co.uk/software/pyqt/intro"
-license=('GPL')
-makedepends=('qt' 'python-sip' 'python-dbus' 'python2-sip' 'phonon'
- 'python2-opengl' 'qt-assistant-compat' 'qtwebkit' 'python2-dbus')
-source=("http://downloads.sourceforge.net/${pkgbase}/PyQt-x11-gpl-${pkgver}.tar.gz")
-md5sums=('e4cdd6619c63655f7510efb4df8462fb')
-
-build() {
- cp -r PyQt-x11-gpl-${pkgver} Py2Qt-x11-gpl-${pkgver}
-
- cd PyQt-x11-gpl-${pkgver}
- python configure.py \
- --confirm-license \
- --qsci-api
-
- # Thanks Gerardo for the rpath fix
- find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g'
-
- make
-
- ### Python2 version ###
- cd ../Py2Qt-x11-gpl-${pkgver}
- python2 configure.py \
- --confirm-license \
- -v /usr/share/sip \
- --qsci-api
-
- # Thanks Gerardo for the rpath fix
- find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g'
-
- make
-}
-
-package_pyqt-common(){
- pkgdesc="Common PyQt files shared between pyqt and python2-pyqt"
-
- cd PyQt-x11-gpl-${pkgver}
- make -C pyrcc DESTDIR="${pkgdir}" install
- make -C pylupdate DESTDIR="${pkgdir}" install
-
- install -Dm644 PyQt4.api "${pkgdir}"/usr/share/qt/qsci/api/python/PyQt4.api
-}
-
-package_pyqt(){
- pkgdesc="A set of Python 3.x bindings for the Qt toolkit"
- depends=('qtwebkit' 'python-sip' 'python-dbus' 'pyqt-common')
- optdepends=('phonon: enable audio and video in PyQt applications'
- 'qscintilla: QScintilla API'
- 'qt-assistant-compat: add PyQt online help in Qt Assistant')
-
- cd PyQt-x11-gpl-${pkgver}
- # INSTALL_ROOT is needed for the QtDesigner module, the other Makefiles use DESTDIR
- make DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" install
-
- # Provided by pyqt-common
- rm "${pkgdir}"/usr/bin/{pylupdate4,pyrcc4}
- rm "${pkgdir}"/usr/share/qt/qsci/api/python/PyQt4.api
-}
-
-package_python2-pyqt(){
- pkgdesc="A set of Python 2.x bindings for the Qt toolkit"
- depends=('qtwebkit' 'python2-sip' 'python2-dbus' 'pyqt-common')
- optdepends=('phonon: enable audio and video in PyQt applications'
- 'python2-opengl: enable OpenGL 3D graphics in PyQt applications'
- 'qscintilla: QScintilla API'
- 'qt-assistant-compat: add PyQt online help in Qt Assistant')
- provides=('python2-qt')
-
- cd Py2Qt-x11-gpl-${pkgver}
- # INSTALL_ROOT is needed for the QtDesigner module, the other Makefiles use DESTDIR
- make DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" install
-
- # Fix conflicts with pyqt
- mv "${pkgdir}"/usr/bin/{,python2-}pyuic4
-
- # Provided by pyqt
- rm "${pkgdir}"/usr/bin/{pylupdate4,pyrcc4}
- rm "${pkgdir}"/usr/lib/qt/plugins/designer/libpythonplugin.so
- rm "${pkgdir}"/usr/share/qt/qsci/api/python/PyQt4.api
-}
diff --git a/staging/python-cairo/PKGBUILD b/staging/python-cairo/PKGBUILD
deleted file mode 100644
index 578fec081..000000000
--- a/staging/python-cairo/PKGBUILD
+++ /dev/null
@@ -1,34 +0,0 @@
-# $Id: PKGBUILD 167695 2012-10-03 01:10:24Z stephane $
-# Maintainer: Angel Velasquez <angvp@archlinux.org>
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=python-cairo
-pkgver=1.10.0
-pkgrel=2
-pkgdesc="Python bindings for the cairo graphics library"
-arch=('i686' 'x86_64')
-license=('LGPL3')
-depends=('python' 'cairo')
-makedepends=('pkg-config')
-options=('!libtool')
-source=(http://cairographics.org/releases/pycairo-${pkgver}.tar.bz2)
-url="http://www.cairographics.org/pycairo"
-md5sums=('e6fd3f2f1e6a72e0db0868c4985669c5')
-
-build() {
- cd "${srcdir}/pycairo-${pkgver}"
-
- # Ensure that ./waf has created the cached unpacked version
- # of the wafadmin source tree.
- # This will be created to a subdirectory like
- # .waf3-1.5.18-a7b91e2a913ce55fa6ecdf310df95752
- python3 ./waf --version
-
- ./waf configure --prefix=/usr
- ./waf build
-}
-
-package() {
- cd "${srcdir}/pycairo-${pkgver}"
- ./waf install --destdir="${pkgdir}"
-}
diff --git a/staging/python-egenix-mx-base/PKGBUILD b/staging/python-egenix-mx-base/PKGBUILD
deleted file mode 100644
index f48fd8fb8..000000000
--- a/staging/python-egenix-mx-base/PKGBUILD
+++ /dev/null
@@ -1,31 +0,0 @@
-# $Id: PKGBUILD 168671 2012-10-13 23:05:54Z stephane $
-# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
-# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
-
-pkgbase=python-egenix-mx-base
-pkgname=('python2-egenix-mx-base')
-_origname=egenix-mx-base
-pkgver=3.2.4
-pkgrel=2
-pkgdesc="A collection of Python tools"
-arch=('i686' 'x86_64')
-license=('custom')
-url="http://www.egenix.com/products/python/mxBase/"
-makedepends=('python2')
-source=("http://downloads.egenix.com/python/${_origname}-${pkgver}.tar.gz")
-sha1sums=('22d7fcbd582177f9a43245eadc3644f3b48cc9a7')
-
-build() {
- cd "${srcdir}/${_origname}-${pkgver}"
-
- find . -name \*.py -exec sed -i -e "s|^#!.*python|#!/usr/bin/python2|" {} \;
-
- python2 setup.py build
-}
-
-package_python2-egenix-mx-base() {
- depends=('python2>=2.7')
- cd "${srcdir}/${_origname}-${pkgver}"
- python2 setup.py install --root="${pkgdir}" --skip-build --optimize=1
- install -D -m644 COPYRIGHT "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}
diff --git a/staging/python-iwscan/PKGBUILD b/staging/python-iwscan/PKGBUILD
deleted file mode 100644
index 3abb6747e..000000000
--- a/staging/python-iwscan/PKGBUILD
+++ /dev/null
@@ -1,26 +0,0 @@
-# $Id: PKGBUILD 168715 2012-10-14 20:19:42Z eric $
-# Maintainer: Daniel Isenmann <daniel@archlinux.org>
-
-pkgbase=python-iwscan
-pkgname=python2-iwscan
-pkgver=20090609
-pkgrel=4
-pkgdesc="A Python interface to iwlist, using the iwlib library"
-arch=('i686' 'x86_64')
-url="http://projects.otaku42.de/browser/python-iwscan"
-license=('LGPL')
-depends=('python2' 'wireless_tools')
-conflicts=('python-iwscan<=20090609-3')
-replaces=('python-iwscan<=20090609-3')
-source=(ftp://ftp.archlinux.org/other/${pkgbase}/${pkgbase}-20090609.tar.gz)
-md5sums=('30fbe8ad3b07e67c1c35db2de16077d8')
-
-build() {
- cd "${srcdir}/${pkgbase}"
- python2 setup.py build
-}
-
-package_python2-iwscan() {
- cd "${srcdir}/${pkgbase}"
- python2 setup.py install --root="${pkgdir}"
-}
diff --git a/staging/python-lxml/PKGBUILD b/staging/python-lxml/PKGBUILD
deleted file mode 100644
index 33aa7dc70..000000000
--- a/staging/python-lxml/PKGBUILD
+++ /dev/null
@@ -1,49 +0,0 @@
-# $Id: PKGBUILD 168387 2012-10-09 21:43:30Z eric $
-# Maintainer:
-
-pkgname=('python-lxml' 'python2-lxml')
-pkgver=3.0
-pkgrel=1
-pkgdesc="Python binding for the libxml2 and libxslt libraries"
-arch=('i686' 'x86_64')
-license=('BSD' 'custom')
-url="http://lxml.de/"
-makedepends=('python2' 'python' 'libxslt')
-source=(http://pypi.python.org/packages/source/l/lxml/lxml-${pkgver}.tar.gz{,.asc})
-sha1sums=('8dbbd03a637bb563113cf07049a4d5a109369441'
- 'b38447fd3f9cfb30b4d56ffe3bec42739afb2947')
-
-check() {
- cd "${srcdir}"/lxml-$pkgver
- make PYTHON=python2 test
- make PYTHON=python test
-}
-
-package_python2-lxml() {
- depends=('python2' 'libxslt')
- optdepends=('python2-beautifulsoup3: support for parsing not well formed HTML')
-
- cd "${srcdir}"/lxml-$pkgver
- python2 setup.py install --root="${pkgdir}" --optimize=1
-
- install -Dm644 LICENSES.txt \
- "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
- install -Dm644 doc/licenses/BSD.txt \
- "${pkgdir}"/usr/share/licenses/$pkgname/BSD.txt
- install -Dm644 doc/licenses/elementtree.txt \
- "${pkgdir}"/usr/share/licenses/$pkgname/elementtree.txt
-}
-
-package_python-lxml() {
- depends=('python' 'libxslt')
-
- cd "${srcdir}"/lxml-$pkgver
- python setup.py install --root="${pkgdir}" --optimize=1
-
- install -Dm644 LICENSES.txt \
- "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
- install -Dm644 doc/licenses/BSD.txt \
- "${pkgdir}"/usr/share/licenses/$pkgname/BSD.txt
- install -Dm644 doc/licenses/elementtree.txt \
- "${pkgdir}"/usr/share/licenses/$pkgname/elementtree.txt
-}
diff --git a/staging/python-markupsafe/PKGBUILD b/staging/python-markupsafe/PKGBUILD
deleted file mode 100644
index 0ead0adad..000000000
--- a/staging/python-markupsafe/PKGBUILD
+++ /dev/null
@@ -1,41 +0,0 @@
-# $Id: PKGBUILD 168655 2012-10-13 20:45:16Z eric $
-# Maintainer : Ionut Biru <ibiru@archlinux.org>
-# Contributor: Alex Anthony <alex.anthony28991@gmail.com>
-
-pkgname=('python-markupsafe' 'python2-markupsafe')
-pkgver=0.15
-pkgrel=2
-pkgdesc="Implements a XML/HTML/XHTML Markup safe string for Python"
-arch=('i686' 'x86_64')
-url="http://pypi.python.org/pypi/MarkupSafe"
-license=('custom')
-makedepends=('python-distribute' 'python2-distribute')
-source=("http://pypi.python.org/packages/source/M/MarkupSafe/MarkupSafe-${pkgver}.tar.gz")
-md5sums=('4e7c4d965fe5e033fa2d7bb7746bb186')
-
-build() {
- cp -r MarkupSafe-${pkgver} python2-MarkupSafe-${pkgver}
- cd "${srcdir}/MarkupSafe-${pkgver}"
- python setup.py build
-
- cd "${srcdir}/python2-MarkupSafe-${pkgver}"
- python2 setup.py build
-}
-
-package_python-markupsafe() {
- depends=('python')
-
- cd "${srcdir}/MarkupSafe-${pkgver}"
- python setup.py install --root="${pkgdir}" --optimize=1
-
- install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/python-markupsafe/LICENSE"
-}
-
-package_python2-markupsafe() {
- depends=('python2')
-
- cd "${srcdir}/python2-MarkupSafe-${pkgver}"
- python2 setup.py install --root="${pkgdir}" --optimize=1
-
- install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/python2-markupsafe/LICENSE"
-}
diff --git a/staging/python-notify/PKGBUILD b/staging/python-notify/PKGBUILD
deleted file mode 100644
index 6cf46c8dc..000000000
--- a/staging/python-notify/PKGBUILD
+++ /dev/null
@@ -1,43 +0,0 @@
-# $Id: PKGBUILD 168721 2012-10-14 20:45:08Z eric $
-# Maintainer: Angel Velasquez <angvp@archlinux.org>
-
-pkgbase=python-notify
-pkgname=python2-notify
-pkgver=0.1.1
-pkgrel=12
-pkgdesc="Python bindings for libnotify"
-arch=('i686' 'x86_64')
-url="http://www.galago-project.org/"
-license=('GPL')
-depends=('pygtk>=2.22.0' 'libnotify>=0.7.1')
-makedepends=('python2')
-conflicts=('python-notify<=0.1.1-11')
-replaces=('python-notify<=0.1.1-11')
-options=(!libtool)
-source=(http://www.galago-project.org/files/releases/source/notify-python/notify-python-${pkgver}.tar.gz
- libnotify07.patch
- notify-python-0.1.1-fix-GTK-symbols.patch)
-md5sums=('8f0ef0939cc8edd2efd896ce5ba80cf4'
- 'b40c4542575d5aef559908fe60a21634'
- 'c6922028da5951e69a6a0167bdb4461c')
-
-build() {
- cd "${srcdir}/notify-python-${pkgver}"
-
- patch -Np1 -i "${srcdir}/libnotify07.patch"
- patch -Np1 -i "${srcdir}/notify-python-0.1.1-fix-GTK-symbols.patch"
-
- ./configure --prefix=/usr
-
- # WARNING - we touch src/pynotify.override in build because upstream did not rebuild pynotify.c
- # from the input definitions, this forces pynotify.c to be regenerated, at some point this can be removed
- touch src/pynotify.override
-
- make clean
- make
-}
-
-package_python2-notify() {
- cd "${srcdir}/notify-python-${pkgver}"
- make DESTDIR="${pkgdir}" install
-}
diff --git a/staging/python-notify/libnotify07.patch b/staging/python-notify/libnotify07.patch
deleted file mode 100644
index 289573d50..000000000
--- a/staging/python-notify/libnotify07.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-diff -up notify-python-0.1.1/src/pynotify.defs.notify070 notify-python-0.1.1/src/pynotify.defs
---- notify-python-0.1.1/src/pynotify.defs.notify070 2010-11-02 17:11:14.928179237 -0400
-+++ notify-python-0.1.1/src/pynotify.defs 2010-11-02 17:11:51.153180231 -0400
-@@ -38,7 +38,6 @@
- '("const-gchar*" "summary")
- '("const-gchar*" "message" (null-ok) (default "NULL"))
- '("const-gchar*" "icon" (null-ok) (default "NULL"))
-- '("GtkWidget*" "attach" (null-ok) (default "NULL"))
- )
- )
-
-@@ -53,24 +52,6 @@
- )
- )
-
--(define-method attach_to_widget
-- (of-object "NotifyNotification")
-- (c-name "notify_notification_attach_to_widget")
-- (return-type "none")
-- (parameters
-- '("GtkWidget*" "attach")
-- )
--)
--
--(define-method attach_to_status_icon
-- (of-object "NotifyNotification")
-- (c-name "notify_notification_attach_to_status_icon")
-- (return-type "none")
-- (parameters
-- '("GtkStatusIcon*" "attach")
-- )
--)
--
- (define-method show
- (of-object "NotifyNotification")
- (c-name "notify_notification_show")
diff --git a/staging/python-notify/notify-python-0.1.1-fix-GTK-symbols.patch b/staging/python-notify/notify-python-0.1.1-fix-GTK-symbols.patch
deleted file mode 100644
index f985c0136..000000000
--- a/staging/python-notify/notify-python-0.1.1-fix-GTK-symbols.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-diff -up notify-python-0.1.1/src/__init__.py.BAD notify-python-0.1.1/src/__init__.py
---- notify-python-0.1.1/src/__init__.py.BAD 2010-08-31 09:04:45.353844005 -0400
-+++ notify-python-0.1.1/src/__init__.py 2010-08-31 09:04:49.281844300 -0400
-@@ -1 +1,21 @@
-+"""
-+Fedora's libnotify.so is not linked against GTK2 or GTK3. The idea
-+was to support being linked against different parallel-installable
-+GTK stacks.
-+
-+Unfortunately, python needs to jump through some special hoops in order
-+to share symbols with extension modules, specifically, pygtk, which does
-+link against GTK2.
-+
-+Without using sys.setdlopenflags(sys.getdlopenflags() | ctypes.RTLD_GLOBAL),
-+the result is:
-+libnotify-WARNING **: Missing symbol 'gdk_screen_make_display_name'
-+
-+Thanks to David Malcolm for figuring out the workaround.
-+"""
-+import ctypes
-+import sys
-+sys.setdlopenflags(sys.getdlopenflags() | ctypes.RTLD_GLOBAL)
-+import gtk
-+
- from _pynotify import *
diff --git a/staging/python-pygame/PKGBUILD b/staging/python-pygame/PKGBUILD
deleted file mode 100644
index 2cd71fc35..000000000
--- a/staging/python-pygame/PKGBUILD
+++ /dev/null
@@ -1,38 +0,0 @@
-# $Id: PKGBUILD 167394 2012-10-01 22:41:51Z eric $
-# Maintainer: Eric Bélanger <eric@archlinux.org>
-
-pkgbase=python-pygame
-pkgname=python2-pygame
-pkgver=1.9.1
-pkgrel=6
-pkgdesc="Python game library"
-arch=('i686' 'x86_64')
-url="http://www.pygame.org/"
-license=('LGPL')
-depends=('sdl_mixer' 'sdl_ttf' 'sdl_image' 'python2' 'portmidi')
-source=(http://pygame.org/ftp/pygame-${pkgver}release.tar.gz \
- config.patch pygame-v4l.patch)
-sha1sums=('a45aeb0623e36ae7a1707b5f41ee6274f72ca4fa'
- '285815e28705d5a2aea53c9d952d35fddf10dd13'
- '7e693fb2ef5ef636f9965ba1a4eb854f8b0b5070')
-
-build() {
- cd "${srcdir}/pygame-${pkgver}release"
- patch -Np0 -i "${srcdir}/config.patch"
- patch -Np1 -i "${srcdir}/pygame-v4l.patch"
-}
-
-package_python2-pygame() {
- cd "${srcdir}/pygame-${pkgver}release"
- python2 config.py -auto
- python2 setup.py install --root="${pkgdir}" --prefix=/usr
-
-# Copying the examples and tests
- cp -R examples lib/* "${pkgdir}/usr/lib/python2.7/site-packages/pygame"
- cp -R test/* "${pkgdir}/usr/lib/python2.7/site-packages/pygame/tests"
-
- find "${pkgdir}" -type f -exec sed -i 's#/usr/bin/env python#/usr/bin/env python2#' {} +
-
-# Fixing permissions
- chmod 644 "${pkgdir}"/usr/include/python2.7/pygame/*
-}
diff --git a/staging/python-pygame/config.patch b/staging/python-pygame/config.patch
deleted file mode 100644
index b3dab162c..000000000
--- a/staging/python-pygame/config.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-Index: config_unix.py
-===================================================================
---- config_unix.py (revision 2567)
-+++ config_unix.py (working copy)
-@@ -174,7 +174,7 @@
-
- for d in DEPS[1:]:
- if not d.found:
-- if not confirm("""
-+ if "-auto" not in sys.argv and not confirm("""
- Warning, some of the pygame dependencies were not found. Pygame can still
- compile and install, but games that depend on those missing dependencies
- will not run. Would you like to continue the configuration?"""):
-Index: config_msys.py
-===================================================================
---- config_msys.py (revision 2567)
-+++ config_msys.py (working copy)
-@@ -283,7 +283,7 @@
-
- for d in DEPS[1:]:
- if not d.found:
-- if not confirm("""
-+ if "-auto" not in sys.argv and not confirm("""
- Warning, some of the pygame dependencies were not found. Pygame can still
- compile and install, but games that depend on those missing dependencies
- will not run. Would you like to continue the configuration?"""):
diff --git a/staging/python-pygame/pygame-v4l.patch b/staging/python-pygame/pygame-v4l.patch
deleted file mode 100644
index 3b5a2b9d2..000000000
--- a/staging/python-pygame/pygame-v4l.patch
+++ /dev/null
@@ -1,88 +0,0 @@
-diff -crB pygame-1.9.1release/Setup.in pygame-1.9.1release-v4lpatch//Setup.in
-*** pygame-1.9.1release/Setup.in Thu Jul 2 06:41:56 2009
---- pygame-1.9.1release-v4lpatch//Setup.in Thu Mar 24 17:31:22 2011
-***************
-*** 34,40 ****
- _numericsndarray src/_numericsndarray.c $(SDL) $(MIXER) $(DEBUG)
- movie src/movie.c $(SDL) $(SMPEG) $(DEBUG)
- scrap src/scrap.c $(SDL) $(SCRAP) $(DEBUG)
-! _camera src/_camera.c src/camera_v4l2.c src/camera_v4l.c $(SDL) $(DEBUG)
- pypm src/pypm.c $(SDL) $(PORTMIDI) $(PORTTIME) $(DEBUG)
-
- GFX = src/SDL_gfx/SDL_gfxPrimitives.c
---- 34,40 ----
- _numericsndarray src/_numericsndarray.c $(SDL) $(MIXER) $(DEBUG)
- movie src/movie.c $(SDL) $(SMPEG) $(DEBUG)
- scrap src/scrap.c $(SDL) $(SCRAP) $(DEBUG)
-! _camera src/_camera.c src/camera_v4l2.c $(SDL) $(DEBUG)
- pypm src/pypm.c $(SDL) $(PORTMIDI) $(PORTTIME) $(DEBUG)
-
- GFX = src/SDL_gfx/SDL_gfxPrimitives.c
-diff -crB pygame-1.9.1release/src/_camera.c pygame-1.9.1release-v4lpatch//src/_camera.c
-*** pygame-1.9.1release/src/_camera.c Sun Mar 15 20:30:41 2009
---- pygame-1.9.1release-v4lpatch//src/_camera.c Thu Mar 24 16:58:18 2011
-***************
-*** 160,179 ****
- {
- #if defined(__unix__)
- if (v4l2_open_device(self) == 0) {
-! if (v4l_open_device(self) == 0) {
-! v4l2_close_device(self);
-! return NULL;
-! } else {
-! self->camera_type = CAM_V4L;
-! if (v4l_init_device(self) == 0) {
-! v4l2_close_device(self);
-! return NULL;
-! }
-! if (v4l_start_capturing(self) == 0) {
-! v4l2_close_device(self);
-! return NULL;
-! }
-! }
- } else {
- self->camera_type = CAM_V4L2;
- if (v4l2_init_device(self) == 0) {
---- 160,167 ----
- {
- #if defined(__unix__)
- if (v4l2_open_device(self) == 0) {
-! v4l2_close_device(self);
-! return NULL;
- } else {
- self->camera_type = CAM_V4L2;
- if (v4l2_init_device(self) == 0) {
-diff -crB pygame-1.9.1release/src/camera.h pygame-1.9.1release-v4lpatch//src/camera.h
-*** pygame-1.9.1release/src/camera.h Fri Oct 10 04:37:10 2008
---- pygame-1.9.1release-v4lpatch//src/camera.h Thu Mar 24 16:44:32 2011
-***************
-*** 39,45 ****
-
- #include <asm/types.h> /* for videodev2.h */
-
-- #include <linux/videodev.h>
- #include <linux/videodev2.h>
- #endif
-
---- 39,44 ----
-***************
-*** 51,57 ****
- #define RGB_OUT 1
- #define YUV_OUT 2
- #define HSV_OUT 4
-- #define CAM_V4L 1
- #define CAM_V4L2 2
-
- struct buffer
---- 50,55 ----
-***************
-*** 111,118 ****
- int v4l2_close_device (PyCameraObject* self);
- int v4l2_open_device (PyCameraObject* self);
-
-- /* internal functions specific to v4l */
-- int v4l_open_device (PyCameraObject* self);
-- int v4l_init_device(PyCameraObject* self);
-- int v4l_start_capturing(PyCameraObject* self);
- #endif
---- 109,112 ----
diff --git a/staging/python-pyspi/PKGBUILD b/staging/python-pyspi/PKGBUILD
deleted file mode 100644
index e230fd562..000000000
--- a/staging/python-pyspi/PKGBUILD
+++ /dev/null
@@ -1,32 +0,0 @@
-# $Id: PKGBUILD 168788 2012-10-16 00:26:49Z allan $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-# Contributor: William Rea <sillywilly@gmail.com>
-
-pkgbase=python-pyspi
-pkgname=python2-pyspi
-pkgver=0.6.1
-pkgrel=1
-pkgdesc="Python AT-SPI bindings"
-arch=('i686' 'x86_64')
-url="http://people.redhat.com/zcerza/dogtail"
-license=('LGPL')
-depends=('python2' 'at-spi')
-makedepends=('pyrex')
-conflicts=('python-pyspi<=0.6.1-5')
-conflicts=('python-pyspi<=0.6.1-5')
-source=("http://dlc.sun.com/osol/jds/downloads/sources/pyspi-${pkgver}.tar.gz"
- 'pyspi-build.patch')
-md5sums=('def336bd566ea688a06ec03db7ccf1f4'
- '721f74cbae653a258c00b83acf7dd1da')
-
-build() {
- cd ${srcdir}/pyspi-${pkgver}
- patch -Np1 -i ${srcdir}/pyspi-build.patch
- # Pyrex tells us to use __cinit__ instead of __new__
- sed -i 's/__new__/__cinit__/' pyspi.pyx
-}
-
-package_python2-pyspi() {
- cd ${srcdir}/pyspi-${pkgver}
- python2 setup.py install --root=${pkgdir}
-}
diff --git a/staging/python-pyspi/pyspi-build.patch b/staging/python-pyspi/pyspi-build.patch
deleted file mode 100644
index 3d12c5ed5..000000000
--- a/staging/python-pyspi/pyspi-build.patch
+++ /dev/null
@@ -1,1693 +0,0 @@
-diff -Naur pyspi-0.6.1-old/cspi.pxd pyspi-0.6.1/cspi.pxd
---- pyspi-0.6.1-old/cspi.pxd 2006-08-04 06:27:10.000000000 +1000
-+++ pyspi-0.6.1/cspi.pxd 2009-05-09 15:24:31.000000000 +1000
-@@ -14,9 +14,7 @@
-
- ctypedef struct AccessibleTextRange
- ctypedef struct AccessibleKeySet
-- ctypedef enum SPIBoolean:
-- FALSE = 0,
-- TRUE
-+ ctypedef unsigned int SPIBoolean
-
- ctypedef struct AccessibleEvent:
- char *type
-diff -Naur pyspi-0.6.1-old/pyspi.pyx pyspi-0.6.1/pyspi.pyx
---- pyspi-0.6.1-old/pyspi.pyx 2006-10-03 02:46:41.000000000 +1000
-+++ pyspi-0.6.1/pyspi.pyx 2009-05-09 15:24:31.000000000 +1000
-@@ -25,9 +25,15 @@
- cdef class Event (EventBase)
- cdef class DeviceEvent
-
--ctypedef enum bool:
-+ctypedef unsigned int bool
-+
-+import __builtin__
-+try:
-+ False = __builtin__.False
-+ True = __builtin__.True
-+except AttributeError:
- False = 0
-- True
-+ True = 1
-
- # SPIExceptionCode values:
- (SPI_EXCEPTION_UNSPECIFIED, SPI_EXCEPTION_DISCONNECT, SPI_EXCEPTION_NO_IMPL, SPI_EXCEPTION_IO, SPI_EXCEPTION_BAD_DATA)=range(5)
-@@ -731,7 +737,7 @@
- Wrapper around the low-level cspi.AccessibleComponent_ functions,
- giving an OO-style API.
- """
-- def getExtents (self, type=0):
-+ def getExtents (self, key_type=0):
- """
- Wraps cspi.AccessibleComponent_getExtents, returning an
- (x,y,w,h) tuple.
-@@ -741,7 +747,7 @@
- cspi.AccessibleComponent_getExtents (self.__item, &x, &y, &w, &h, type)
- return (x, y, w, h)
-
-- def getPosition (self, type = 0):
-+ def getPosition (self, key_type = 0):
- """
- Wraps cspi.AccessibleComponent_getPosition, returning an
- (x,y) tuple.
-@@ -991,11 +997,11 @@
- Wraps cspi.AccessibleHyperlink_getObject
- """
- self.__checkSelf ()
-- cdef Accessible object
-- object = Accessible ()
-- object.__setItem (cspi.AccessibleHyperlink_getObject (self.__item, i))
-- object.__checkSelf ()
-- return object
-+ cdef Accessible obj
-+ obj = Accessible ()
-+ obj.__setItem (cspi.AccessibleHyperlink_getObject (self.__item, i))
-+ obj.__checkSelf ()
-+ return obj
-
- def getURI (self, i):
- """
-@@ -1032,7 +1038,7 @@
- cspi.AccessibleImage_getImageSize(self.__item, &w, &h);
- return [w, h]
-
-- def getImagePosition (self, type=0):
-+ def getImagePosition (self, key_type=0):
- """
- Wraps cspi.AccessibleImage_getImagePosition, returning a (x,y)
- pair
-@@ -1042,7 +1048,7 @@
- cspi.AccessibleImage_getImagePosition(self.__item, &x, &y, type)
- return [x, y]
-
-- def getImageExtents (self, type=0):
-+ def getImageExtents (self, key_type=0):
- """
- Wraps cspi.AccessibleImage_getImageExtents, returning a
- (x,y,w,h) tuple
-@@ -1551,7 +1557,7 @@
- cdef cspi.AccessibleDeviceListener *__item
- cdef public object modMasks
-
-- def __init__ (self, callback, eventMask = cspi.SPI_KEY_PRESSED | cspi.SPI_KEY_RELEASED):
-+ def __init__ (self, callback, eventMask = <int> cspi.SPI_KEY_PRESSED | <int> cspi.SPI_KEY_RELEASED):
- """
- Registers a python callback function to be called.
-
-diff -Naur pyspi-0.6.1-old/pyspi.pyx.orig pyspi-0.6.1/pyspi.pyx.orig
---- pyspi-0.6.1-old/pyspi.pyx.orig 1970-01-01 10:00:00.000000000 +1000
-+++ pyspi-0.6.1/pyspi.pyx.orig 2006-10-03 02:46:41.000000000 +1000
-@@ -0,0 +1,1592 @@
-+# Authors:
-+# Zack Cerza <zcerza@redhat.com>
-+# Chris Lee <clee@redhat.com>
-+# Lawrence Lim <llim@redhat.com>
-+# David Malcolm <dmalcolm@redhat.com>
-+
-+cdef class Registry
-+
-+cdef class Base
-+cdef class EventBase
-+cdef class StateSet
-+cdef class Accessible (Base)
-+cdef class Desktop (Accessible)
-+cdef class Application (Accessible)
-+cdef class Component (Accessible)
-+cdef class Action (Base)
-+cdef class Text (Base)
-+cdef class EditableText (Text)
-+cdef class Hypertext (Text)
-+cdef class Hyperlink (Base)
-+cdef class Image (Base)
-+cdef class Value (Base)
-+cdef class Selection (Base)
-+cdef class Table (Base)
-+cdef class Event (EventBase)
-+cdef class DeviceEvent
-+
-+ctypedef enum bool:
-+ False = 0
-+ True
-+
-+# SPIExceptionCode values:
-+(SPI_EXCEPTION_UNSPECIFIED, SPI_EXCEPTION_DISCONNECT, SPI_EXCEPTION_NO_IMPL, SPI_EXCEPTION_IO, SPI_EXCEPTION_BAD_DATA)=range(5)
-+
-+# SPIExceptionType values:
-+(SPI_EXCEPTION_SOURCE_UNSPECIFIED, SPI_EXCEPTION_SOURCE_ACCESSIBLE, SPI_EXCEPTION_SOURCE_REGISTRY, SPI_EXCEPTION_SOURCE_DEVICE)=range(4)
-+
-+# Accessible roles
-+(SPI_ROLE_INVALID, SPI_ROLE_ACCEL_LABEL, SPI_ROLE_ALERT, SPI_ROLE_ANIMATION, SPI_ROLE_ARROW, SPI_ROLE_CALENDAR, SPI_ROLE_CANVAS, SPI_ROLE_CHECK_BOX, SPI_ROLE_CHECK_MENU_ITEM, SPI_ROLE_COLOR_CHOOSER, SPI_ROLE_COLUMN_HEADER, SPI_ROLE_COMBO_BOX, SPI_ROLE_DATE_EDITOR, SPI_ROLE_DESKTOP_ICON, SPI_ROLE_DESKTOP_FRAME, SPI_ROLE_DIAL, SPI_ROLE_DIALOG, SPI_ROLE_DIRECTORY_PANE, SPI_ROLE_DRAWING_AREA, SPI_ROLE_FILE_CHOOSER, SPI_ROLE_FILLER, SPI_ROLE_FONT_CHOOSER, SPI_ROLE_FRAME, SPI_ROLE_GLASS_PANE, SPI_ROLE_HTML_CONTAINER, SPI_ROLE_ICON, SPI_ROLE_IMAGE, SPI_ROLE_INTERNAL_FRAME, SPI_ROLE_LABEL, SPI_ROLE_LAYERED_PANE, SPI_ROLE_LIST, SPI_ROLE_LIST_ITEM, SPI_ROLE_MENU, SPI_ROLE_MENU_BAR, SPI_ROLE_MENU_ITEM, SPI_ROLE_OPTION_PANE, SPI_ROLE_PAGE_TAB, SPI_ROLE_PAGE_TAB_LIST, SPI_ROLE_PANEL, SPI_ROLE_PASSWORD_TEXT, SPI_ROLE_POPUP_MENU, SPI_ROLE_PROGRESS_BAR, SPI_ROLE_PUSH_BUTTON, SPI_ROLE_RADIO_BUTTON, SPI_ROLE_RADIO_MENU_ITEM, SPI_ROLE_ROOT_PANE, SPI_ROLE_ROW_HEADER, SPI_ROLE_SCROLL_BAR, SPI_ROLE_SCROLL_PANE, SPI_ROLE_SEPARATOR, SPI_ROLE_SLIDER, SPI_ROLE_SPIN_BUTTON, SPI_ROLE_SPLIT_PANE, SPI_ROLE_STATUS_BAR, SPI_ROLE_TABLE, SPI_ROLE_TABLE_CELL, SPI_ROLE_TABLE_COLUMN_HEADER, SPI_ROLE_TABLE_ROW_HEADER, SPI_ROLE_TEAROFF_MENU_ITEM, SPI_ROLE_TERMINAL, SPI_ROLE_TEXT, SPI_ROLE_TOGGLE_BUTTON, SPI_ROLE_TOOL_BAR, SPI_ROLE_TOOL_TIP, SPI_ROLE_TREE, SPI_ROLE_TREE_TABLE, SPI_ROLE_UNKNOWN, SPI_ROLE_VIEWPORT, SPI_ROLE_WINDOW, SPI_ROLE_EXTENDED, SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH, SPI_ROLE_RULER, SPI_ROLE_APPLICATION, SPI_ROLE_AUTOCOMPLETE, SPI_ROLE_EDITBAR, SPI_ROLE_EMBEDDED, SPI_ROLE_LAST_DEFINED)=range(79)
-+
-+# Accessible states
-+(SPI_STATE_INVALID, SPI_STATE_ACTIVE, SPI_STATE_ARMED, SPI_STATE_BUSY, SPI_STATE_CHECKED, SPI_STATE_COLLAPSED, SPI_STATE_DEFUNCT, SPI_STATE_EDITABLE, SPI_STATE_ENABLED, SPI_STATE_EXPANDABLE, SPI_STATE_EXPANDED, SPI_STATE_FOCUSABLE, SPI_STATE_FOCUSED, SPI_STATE_HORIZONTAL, SPI_STATE_ICONIFIED, SPI_STATE_MODAL, SPI_STATE_MULTI_LINE, SPI_STATE_MULTISELECTABLE, SPI_STATE_OPAQUE, SPI_STATE_PRESSED, SPI_STATE_RESIZABLE, SPI_STATE_SELECTABLE, SPI_STATE_SELECTED, SPI_STATE_SENSITIVE, SPI_STATE_SHOWING, SPI_STATE_SINGLE_LINE, SPI_STATE_STALE, SPI_STATE_TRANSIENT, SPI_STATE_VERTICAL, SPI_STATE_VISIBLE, SPI_STATE_MANAGES_DESCENDANTS, SPI_STATE_INDETERMINATE) = range(32);
-+
-+# Accessible relation types
-+(SPI_RELATION_NULL, SPI_RELATION_LABEL_FOR, SPI_RELATION_LABELED_BY, SPI_RELATION_CONTROLLER_FOR, SPI_RELATION_CONTROLLED_BY, SPI_RELATION_MEMBER_OF, SPI_RELATION_NODE_CHILD_OF, SPI_RELATION_EXTENDED, SPI_RELATION_FLOWS_TO, SPI_RELATION_FLOWS_FROM, SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY, SPI_RELATION_POPUP_FOR, SPI_RELATION_LAST_DEFINED) = range (15);
-+
-+# AccessibleComponent layers
-+(SPI_LAYER_INVALID, SPI_LAYER_BACKGROUND, SPI_LAYER_CANVAS, SPI_LAYER_WIDGET, SPI_LAYER_MDI, SPI_LAYER_POPUP, SPI_LAYER_OVERLAY, SPI_LAYER_WINDOW, SPI_LAYER_LAST_DEFINED) = range(9)
-+
-+#AccessibleKeySynthType
-+(SPI_KEY_PRESS, SPI_KEY_RELEASE, SPI_KEY_PRESSRELEASE, SPI_KEY_SYM, SPI_KEY_STRING) = range(5)
-+
-+# AccessibleKeyListenerSyncType
-+(SPI_KEYLISTENER_NOSYNC, SPI_KEYLISTENER_SYNCHRONOUS, SPI_KEYLISTENER_CANCONSUME, SPI_KEYLISTENER_ALL_WINDOWS) = range(4)
-+
-+# AccessibleDeviceEventType
-+SPI_KEY_PRESSED = 1<<0
-+SPI_KEY_RELEASED = 1<<1
-+SPI_BUTTON_PRESSED = 1<<2
-+SPI_BUTTON_RELEASED = 1<<3
-+
-+cdef cspi.AccessibleKeySet *SPI_KEYSET_ALL_KEYS
-+SPI_KEYSET_ALL_KEYS = NULL
-+
-+Accessibility_MODIFIER_SHIFT = 1 << 0
-+Accessibility_MODIFIER_SHIFTLOCK = 1 << 1
-+Accessibility_MODIFIER_CONTROL = 1 << 2
-+Accessibility_MODIFIER_ALT = 1 << 3
-+Accessibility_MODIFIER_META = 1 << 4
-+Accessibility_MODIFIER_META2 = 1 << 5
-+Accessibility_MODIFIER_META3 = 1 << 6
-+Accessibility_MODIFIER_NUMLOCK = 1 << 7
-+
-+
-+cdef object string(char * string):
-+ cdef object pyString
-+ pyString = string
-+ cspi.SPI_freeString(string)
-+ return pyString
-+
-+import os
-+class X11Exception(Exception):
-+ def __init__(self, display = os.environ.get('DISPLAY', None)):
-+ self.display = display
-+ def __str__(self):
-+ msg = "Cannot open display"
-+ if self.display: return msg + ': ' + self.display
-+ else: return msg
-+
-+class AtspiException(Exception):
-+ """
-+ Exceptions raised when calls to the AT-SPI C bindings return FALSE to
-+ indicate failure.
-+ """
-+ def __init__(self, message):
-+ self.message = message
-+
-+ def __str__(self):
-+ return "AtspiException: %s"%self.message
-+
-+class SpiException(Exception):
-+ """
-+ Exceptions to be raised in response to an installed
-+ SPIExceptionHandler, corresponding to a SPIException. These appear to
-+ be short-lived structs, so we gather all applicable data immediately
-+ """
-+ def __init__(self, is_fatal, sourceType, exceptionCode, description):
-+ # print "got to __init__"
-+ self.fatal = is_fatal
-+ self.sourceType = sourceType
-+ self.exceptionCode = exceptionCode
-+ self.description = description
-+
-+ # print "leaving __init__"
-+ # print self.fatal
-+ # print self.sourceType
-+ # print self.exceptionCode
-+ # print self.description
-+
-+ def __str__(self):
-+ if self.fatal:
-+ fatalStr = "Fatal"
-+ else:
-+ fatalStr = "Non-fatal"
-+ result = '%s SPIException: type:%s source:%s "%s"'%(fatalStr, self.sourceType, self.exceptionCode, self.description)
-+ return result
-+
-+cdef make_exception(cspi.SPIException *err, cspi.SPIBoolean is_fatal):
-+ # Don't attempt to use SPIAccessibleException_getSource; this is error
-+ # handling code, we don't want to introduce further complications
-+ return SpiException(is_fatal,
-+ cspi.SPIException_getSourceType (err),
-+ cspi.SPIException_getExceptionCode (err),
-+ cspi.SPIException_getDescription (err))
-+
-+
-+def event_main():
-+ cspi.SPI_event_main()
-+
-+def event_quit():
-+ cspi.SPI_event_quit()
-+
-+cdef cspi.SPIBoolean exception_handler (cspi.SPIException *err, cspi.SPIBoolean is_fatal) except *:
-+ # print "got exception!!!"
-+ e = make_exception(err, is_fatal)
-+ raise e
-+
-+# at-spi-<version>/cpsi.h contains:
-+# typedef SPIBoolean (*SPIExceptionHandler) (SPIException *err, SPIBoolean is_fatal);
-+# and
-+# SPIBoolean SPI_exceptionHandlerPush (SPIExceptionHandler *handler);
-+# There's thus an extra unnecessary level of indirection.
-+# We have to jump through the following hoops to get pyrex to deal with this:
-+cdef cspi.SPIExceptionHandler exception_handler_as_type
-+cdef cspi.SPIExceptionHandler* exception_handler_ptr
-+exception_handler_as_type = exception_handler
-+exception_handler_ptr = &exception_handler_as_type
-+
-+global_exception = None
-+
-+cdef class Registry:
-+ def __init__ (self):
-+ cdef Xlib.Display *display
-+ display = Xlib.XOpenDisplay(NULL)
-+ if display == NULL:
-+ raise X11Exception
-+ else:
-+ Xlib.XCloseDisplay(display)
-+
-+ result = cspi.SPI_init ()
-+ #if result!=0:
-+ # raise AtspiException("SPI_init: exit code %s" % str(result))
-+
-+ result = cspi.SPI_exceptionHandlerPush (exception_handler_ptr)
-+ if not result:
-+ raise AtspiException("Unable to install SPI exception handler")
-+
-+ def __dealloc (self):
-+ result = cspi.SPI_exit ()
-+ if result!=0:
-+ raise AtspiException("SPI_init: exit code %s" % str(result))
-+
-+ def getDesktopCount (self):
-+ return cspi.SPI_getDesktopCount()
-+
-+ def getDesktop (self, index = 0):
-+ cdef Desktop desktop
-+ desktop = Desktop ()
-+ if not desktop.__setItem (cspi.SPI_getDesktop (index)):
-+ return False
-+ return desktop
-+
-+ def getDesktopList (self):
-+ # Using the bonobo.activation bindings, getDesktopList() returns a
-+ # Python list of Desktop objects. The C bindings seem to do it differently,
-+ # and Pyrex doesn't like that method. So we're re-implementing the function
-+ # using getDesktopCount() and getDesktop() to work around that.
-+ # Yay for Zack!
-+ #
-+ # -Zack
-+ cdef Desktop desktop
-+ desktops = []
-+ desktop = Desktop ()
-+ for i in xrange (cspi.SPI_getDesktopCount ()):
-+ desktop.__setItem (cspi.SPI_getDesktop (i))
-+ desktops = desktops + [desktop]
-+ return desktops
-+
-+registry = Registry()
-+
-+cdef class Base:
-+ """
-+ Wrapper around a cspi.Accessible
-+ """
-+
-+ cdef cspi.Accessible *__item
-+
-+ def __new__ (self):
-+ self.__item = NULL
-+
-+ def __dealloc__ (self):
-+ if self.__item != NULL:
-+ cspi.Accessible_unref (self.__item)
-+
-+ cdef bool __setItem (self, cspi.Accessible *obj):
-+ if self.__item != NULL:
-+ cspi.Accessible_unref (self.__item)
-+ if obj != NULL:
-+ self.__item = obj
-+ cspi.Accessible_ref (self.__item)
-+ return True
-+ else:
-+ return False
-+
-+ def __checkSelf (self):
-+ assert self.__item != NULL
-+
-+# WHY OH WHY won't this work? :(
-+# I need to be able to find out of two Accessible classes contain
-+# the same cspi.Accessible objects.
-+#
-+# def isSameAs (self, base):
-+# cdef bool foo
-+# foo = self.__item == base.__item
-+# return foo
-+
-+cdef class EventBase:
-+ """
-+ Wrapper around a cspi.AccessibleEvent
-+ """
-+ cdef cspi.AccessibleEvent *__item
-+
-+ def __new__ (self):
-+ self.__item = NULL
-+
-+ def __dealloc__ (self):
-+ if self.__item != NULL:
-+ cspi.AccessibleEvent_unref (self.__item)
-+
-+ cdef bool __setItem (self, cspi.AccessibleEvent *obj):
-+ if self.__item != NULL:
-+ cspi.AccessibleEvent_unref (self.__item)
-+ if obj != NULL:
-+ self.__item = obj
-+ cspi.AccessibleEvent_ref (self.__item)
-+ return True
-+ else:
-+ return False
-+
-+ def __checkSelf (self):
-+ if self.__item == NULL:
-+ raise AttributeError, "__item must not be NULL"
-+
-+ def __getattr__ (self, attrName):
-+ cdef cspi.Accessible* acc
-+ cdef Accessible result
-+ if attrName == "source":
-+ acc = self.__item.source
-+ if acc!=NULL:
-+ result = Accessible ()
-+ result.__setItem (acc)
-+ return result
-+ elif attrName == "detail1":
-+ detail1 = self.__item.detail1
-+ return detail1
-+ elif attrName == "detail2":
-+ detail1 = self.__item.detail2
-+ return detail1
-+ elif attrName == "type":
-+ return self.__item.type
-+
-+cdef class StateSet:
-+ """
-+ Wrapper around a cspi.AccessibleStateSet
-+ """
-+ cdef cspi.AccessibleStateSet *__item
-+
-+ def __new__ (self):
-+ self.__item = NULL
-+
-+ def __dealloc__ (self):
-+ if self.__item != NULL:
-+ cspi.AccessibleStateSet_unref (self.__item)
-+
-+ def __checkSelf (self):
-+ if self.__item == NULL:
-+ raise AttributeError, "__item must not be NULL"
-+
-+ cdef bool __setItem (self, cspi.AccessibleStateSet *obj):
-+ if self.__item != NULL:
-+ cspi.AccessibleStateSet_unref (self.__item)
-+ if obj != NULL:
-+ self.__item = obj
-+ cspi.AccessibleStateSet_ref (self.__item)
-+ return True
-+ else:
-+ return False
-+
-+ cdef bool __contains (self, cspi.AccessibleState s):
-+ self.__checkSelf ()
-+ return cspi.AccessibleStateSet_contains (self.__item, s)
-+
-+ def contains (self, state):
-+ self.__checkSelf ()
-+ return self.__contains(state)
-+
-+ cdef void __add (self, cspi.AccessibleState s):
-+ self.__checkSelf ()
-+ cspi.AccessibleStateSet_add(self.__item, s)
-+
-+ def add (self, state):
-+ self.__checkSelf ()
-+ self.__add (state)
-+
-+ cdef void __remove (self, cspi.AccessibleState s):
-+ self.__checkSelf ()
-+ cspi.AccessibleStateSet_remove (self.__item, s)
-+
-+ def remove (self, state):
-+ self.__checkSelf ()
-+ self.__remove (state)
-+
-+ def __str__ (self):
-+ self.__checkSelf ()
-+ return str(self.states)
-+
-+ def __getattr__(self, name):
-+ if name == "states":
-+ result = []
-+ for state in range(SPI_STATE_INVALID, SPI_STATE_INDETERMINATE):
-+ if self.contains(state):
-+ result.append(state)
-+ return result
-+ else:
-+ raise AttributeError, name
-+
-+cdef class Relation:
-+ """
-+ Wrapper around a cspi.AccessibleRelation
-+ """
-+ cdef cspi.AccessibleRelation *__item
-+
-+ def __new__ (self):
-+ self.__item = NULL
-+
-+ def __dealloc__ (self):
-+ if self.__item != NULL:
-+ cspi.AccessibleRelation_unref (self.__item)
-+
-+ def __checkSelf (self):
-+ if self.__item == NULL:
-+ raise AttributeError, "__item must not be NULL"
-+
-+ def __str__ (self):
-+ self.__checkSelf ()
-+ return "relation %s -> %s"%(self.getRelationType (), self.getTargets())
-+
-+ def __repr__ (self):
-+ self.__checkSelf ()
-+ return "relation %s -> %s"%(self.getRelationType (), self.getTargets())
-+
-+ cdef bool __setItem (self, cspi.AccessibleRelation *obj):
-+ if self.__item != NULL:
-+ cspi.AccessibleRelation_unref (self.__item)
-+ if obj != NULL:
-+ self.__item = obj
-+ cspi.AccessibleRelation_ref (self.__item)
-+ return True
-+ else:
-+ return False
-+
-+ def getNTargets (self):
-+ """
-+ Wrapper around cspi.AccessibleRelation_getNTargets
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleRelation_getNTargets (self.__item)
-+
-+ def getTarget (self, i):
-+ """
-+ Wrapper around cspi.AccessibleRelation_getTarget
-+ """
-+ self.__checkSelf ()
-+ cdef Accessible target
-+ target = Accessible ()
-+ target.__setItem (cspi.AccessibleRelation_getTarget (self.__item, i))
-+ target.__checkSelf ()
-+ return target
-+
-+ def getTargets (self):
-+ """
-+ Gets the targets of this AccessibleRelation as a list of atspi.Accessible
-+ """
-+ self.__checkSelf ()
-+ result = []
-+ count = self.getNTargets()
-+ for i in range(count):
-+ result.append(self.getTarget(i))
-+ return result
-+
-+ def getRelationType (self):
-+ """
-+ Wrapper around cspi.AccessibleRelation_getRelationType
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleRelation_getRelationType (self.__item)
-+
-+cdef class Accessible (Base):
-+ """
-+ Wrapper around cspi.Accessible
-+ """
-+ def __getattr__ (self, name):
-+ if name == "name":
-+ return self.getName ()
-+ elif name == "role":
-+ return self.getRole ()
-+ elif name == "roleName":
-+ return self.getRoleName ()
-+ elif name == "description":
-+ return self.getDescription ()
-+ elif name == "parent":
-+ return self.getParent ()
-+ elif name == "childCount":
-+ return self.getChildCount ()
-+ elif name == "indexInParent":
-+ return self.getIndexInParent ()
-+ elif name == "stateSet":
-+ return self.getStateSet ()
-+ else:
-+ raise AttributeError, name
-+
-+ def getName (self):
-+ """
-+ Wrapper around cspi.Accessible_getName
-+ """
-+ self.__checkSelf()
-+ return string(cspi.Accessible_getName(self.__item))
-+
-+ def getDescription (self):
-+ """
-+ Wrapper around cspi.Accessible_getDescription
-+ """
-+ self.__checkSelf()
-+ return string(cspi.Accessible_getDescription(self.__item))
-+
-+ def getParent (self):
-+ """
-+ Wrapper around cspi.Accessible_getParent, returning an
-+ atspi.Accessible or None
-+ """
-+ self.__checkSelf()
-+ cdef Accessible parent
-+ cdef cspi.Accessible* spiParent
-+
-+ spiParent = cspi.Accessible_getParent (self.__item)
-+ if spiParent!=NULL:
-+ parent = Accessible ()
-+ parent.__setItem (spiParent)
-+ parent.__checkSelf ()
-+ return parent
-+ else:
-+ return None
-+
-+ def getChildAtIndex (self, index):
-+ """
-+ Wrapper around cspi.Accessible_getChildAtIndex, returning an
-+ atspi.Accessible, atspi.Application, or None
-+ """
-+ self.__checkSelf()
-+ cdef int i
-+ i = index
-+
-+ # This hairiness is due to the fact that Pyrex doesn't allow cdefs
-+ # inside if blocks.
-+
-+ cdef cspi.Accessible* spiChild
-+ spiChild = cspi.Accessible_getChildAtIndex (self.__item, i)
-+ # Workaround for GNOME bug #321273
-+ # http://bugzilla.gnome.org/show_bug.cgi?id=321273
-+ if spiChild == NULL: return None
-+
-+ cdef object child
-+ cdef Application app
-+ cdef Accessible acc
-+ cdef Text text
-+
-+ if cspi.Accessible_isApplication (spiChild):
-+ app = Application ()
-+ app.__setItem (spiChild)
-+ child = app
-+ else:
-+ acc = Accessible ()
-+ acc.__setItem (spiChild)
-+ child = acc
-+
-+ return child
-+
-+ def getIndexInParent (self):
-+ """
-+ Wrapper around cspi.Accessible_getIndexInParent
-+ """
-+ self.__checkSelf()
-+ return cspi.Accessible_getIndexInParent (self.__item)
-+
-+ def getRole (self):
-+ """
-+ Wrapper around cspi.Accessible_getRole
-+ """
-+ self.__checkSelf()
-+ return cspi.Accessible_getRole (self.__item)
-+
-+ def getRoleName (self):
-+ """
-+ Wrapper around cspi.Accessible_getRoleName
-+ """
-+ self.__checkSelf()
-+ return string(cspi.Accessible_getRoleName (self.__item))
-+
-+ def getChildCount (self):
-+ """
-+ Wrapper around cspi.Accessible_getChildCount
-+ """
-+ self.__checkSelf()
-+ return cspi.Accessible_getChildCount (self.__item)
-+
-+ def getStateSet (self):
-+ """
-+ Wrapper around cspi.Accessible_getStateSet, returning an
-+ atspi.StateSet
-+ """
-+ self.__checkSelf()
-+ cdef StateSet set
-+ set = StateSet()
-+ set.__setItem (cspi.Accessible_getStateSet (self.__item))
-+ return set
-+
-+ def getInterface (self, interface):
-+ """
-+ This is NOT part of cspi, it is just for compatibility with
-+ the bonobo bindings and will probably go away soon.
-+ """
-+ self.__checkSelf()
-+ return getattr(self, "get%s" % interface) ()
-+
-+ def getAction (self):
-+ """
-+ Wrapper around cspi.Accessible_getAction, returning
-+ an atspi.Action or None
-+ """
-+ self.__checkSelf()
-+ cdef Action action
-+ action = Action ()
-+ action.__setItem (cspi.Accessible_getAction (self.__item))
-+ if action.__item != NULL:
-+ return action
-+
-+ def getText (self):
-+ """
-+ Wrapper around cspi.Accessible_getText, returning an atspi.Text
-+ or None
-+ """
-+ self.__checkSelf ()
-+ cdef Text text
-+ text = Text ()
-+ text.__setItem (cspi.Accessible_getText (self.__item))
-+ if text.__item != NULL:
-+ return text
-+
-+ def getEditableText (self):
-+ """
-+ Wrapper around cspi.Accessible_getText, returning an
-+ atspi.EditableText or None
-+ """
-+ self.__checkSelf ()
-+ cdef EditableText etext
-+ etext = EditableText ()
-+ etext.__setItem (cspi.Accessible_getEditableText (self.__item))
-+ if etext.__item != NULL:
-+ return etext
-+
-+ def getHypertext (self):
-+ """
-+ Wrapper around cspi.Accessible_getHypertext, returning an
-+ atspi.Hypertext or None
-+ """
-+ self.__checkSelf ()
-+ cdef Hypertext hypertext
-+ hypertext = Hypertext ()
-+ hypertext.__setItem (cspi.Accessible_getHypertext (self.__item))
-+ if hypertext.__item != NULL:
-+ return hypertext
-+
-+ def getImage (self):
-+ """
-+ Wrapper around cspi.Accessible_getImage, returning an
-+ atspi.Image or None
-+ """
-+ self.__checkSelf ()
-+ cdef Image image
-+ image = Image ()
-+ image.__setItem (cspi.Accessible_getImage (self.__item))
-+ if image.__item != NULL:
-+ return image
-+
-+ def getValue (self):
-+ """
-+ Wrapper around cspi.Accessible_getValue, returning an
-+ atspi.Value or None
-+ """
-+ self.__checkSelf ()
-+ cdef Value value
-+ value = Value ()
-+ value.__setItem (cspi.Accessible_getValue (self.__item))
-+ if value.__item != NULL:
-+ return value
-+
-+ def getSelection (self):
-+ """
-+ Wrapper around cspi.Accessible_getSelection, returning an
-+ atspi.Selection or None
-+ """
-+ self.__checkSelf ()
-+ cdef Selection selection
-+ selection = Selection ()
-+ selection.__setItem (cspi.Accessible_getSelection (self.__item))
-+ if selection.__item != NULL:
-+ return selection
-+
-+ def getComponent (self):
-+ """
-+ Wrapper around cspi.Accessible_getComponent, returning an
-+ atspi.Component or None
-+ """
-+ self.__checkSelf ()
-+ cdef Component component
-+ component = Component ()
-+ component.__setItem (cspi.Accessible_getComponent (self.__item))
-+ if component.__item != NULL:
-+ return component
-+
-+ def getRelationSet (self):
-+ """
-+ Wraps Accessible_getRelationSet, returning a list
-+ of atspi.Relation
-+ """
-+ # looking at at-poke, result from C API appears to be a NULL-terminated list of pointers, and that we should free the buffer
-+ self.__checkSelf ()
-+ cdef Relation relation
-+
-+ relations = []
-+ cdef cspi.AccessibleRelation **relationSet
-+ relationSet = cspi.Accessible_getRelationSet (self.__item)
-+
-+ i=0
-+ while relationSet[i]:
-+ relation = Relation ()
-+ relation.__setItem (relationSet[i])
-+ relations.append(relation)
-+ i=i+1
-+ cspi.free (relationSet)
-+
-+ return relations
-+
-+
-+cdef class Desktop (Accessible):
-+ pass
-+
-+
-+cdef class Application (Accessible):
-+ """
-+ Wrapper around the low-level cspi.AccessibleApplication_ functions,
-+ giving an OO-style API.
-+ """
-+ def getToolkit (self):
-+ """
-+ Wraps AccessibleApplication_getToolkitName, returning a string
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleApplication_getToolkitName (self.__item)
-+
-+ def getVersion (self):
-+ """
-+ Wraps AccessibleApplication_getVersion, returning a string
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleApplication_getVersion(self.__item)
-+
-+ def getID (self):
-+ """
-+ Wraps AccessibleApplication_getID, returning a string
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleApplication_getID (self.__item)
-+
-+ def pause (self):
-+ """
-+ Wraps AccessibleApplication_pause
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleApplication_pause (self.__item)
-+
-+ def resume (self):
-+ """
-+ Wraps AccessibleApplication_resume
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleApplication_resume (self.__item)
-+
-+cdef class Component (Accessible):
-+ """
-+ Wrapper around the low-level cspi.AccessibleComponent_ functions,
-+ giving an OO-style API.
-+ """
-+ def getExtents (self, type=0):
-+ """
-+ Wraps cspi.AccessibleComponent_getExtents, returning an
-+ (x,y,w,h) tuple.
-+ """
-+ self.__checkSelf ()
-+ cdef long x, y, w, h
-+ cspi.AccessibleComponent_getExtents (self.__item, &x, &y, &w, &h, type)
-+ return (x, y, w, h)
-+
-+ def getPosition (self, type = 0):
-+ """
-+ Wraps cspi.AccessibleComponent_getPosition, returning an
-+ (x,y) tuple.
-+ """
-+ self.__checkSelf ()
-+ cdef long x, y
-+ cspi.AccessibleComponent_getPosition (self.__item, &x, &y, type)
-+ return (x, y)
-+
-+ def getSize (self):
-+ """
-+ Wraps cspi.AccessibleComponent_getSize, returning a
-+ (w,h) tuple.
-+ """
-+ self.__checkSelf ()
-+ cdef long w, h
-+ cspi.AccessibleComponent_getSize (self.__item, &w, &h)
-+ return (w, h)
-+
-+ def getLayer (self):
-+ """
-+ Wraps cspi.AccessibleComponent_getLayer, returning an
-+ AccessibleComponentLayer.
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleComponent_getLayer (self.__item)
-+
-+ def grabFocus (self):
-+ """
-+ Wraps cspi.AccessibleComponent_grabFocus, raising AtspiException
-+ if it fails
-+ """
-+ self.__checkSelf ()
-+ if not cspi.AccessibleComponent_grabFocus (self.__item):
-+ raise AtspiException("AccessibleComponent_grabFocus")
-+
-+ def getMDIZOrder (self):
-+ """
-+ Wraps cspi.AccessibleComponent_getMDIZOrder, returning an integer.
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleComponent_getMDIZOrder(self.__item)
-+
-+cdef class Action (Base):
-+ """
-+ Wrapper around the low-level cspi.AccessibleAction_ functions,
-+ giving an OO-style API.
-+ """
-+ def __getattr__ (self, name):
-+ if name == "nActions":
-+ return self.getNActions ()
-+ else:
-+ raise AttributeError, name
-+
-+ def getNActions (self):
-+ """
-+ Wraps cspi.AccessibleAction_getNActions
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleAction_getNActions (self.__item)
-+
-+ def doAction (self, index):
-+ """
-+ Wraps cspi.AccessibleAction_doAction
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleAction_doAction (self.__item, index)
-+
-+ def getKeyBinding (self, index):
-+ """
-+ Wraps cspi.AccessibleAction_getKeyBinding
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleAction_getKeyBinding (self.__item, index)
-+
-+ def getName (self, index):
-+ """
-+ Wraps cspi.AccessibleAction_getName
-+ """
-+ self.__checkSelf ()
-+ return string(cspi.AccessibleAction_getName (self.__item, index))
-+
-+ def getDescription (self, index):
-+ """
-+ Wraps cspi.AccessibleAction_getDescription
-+ """
-+ self.__checkSelf ()
-+ return string(cspi.AccessibleAction_getDescription (self.__item, index))
-+
-+
-+cdef class Text (Base):
-+ """
-+ Wrapper around the low-level cspi.AccessibleText_ functions,
-+ giving an OO-style API.
-+ """
-+ def addSelection (self, startOffset, endOffset):
-+ """
-+ Wraps cspi.AccessibleText_addSelection
-+ """
-+ self.__checkSelf ()
-+ if not cspi.AccessibleText_addSelection (self.__item, startOffset, endOffset):
-+ raise AtspiException("AccessibleText_addSelection")
-+
-+
-+ #def getAttributes (self, offset, startOffset, endOffset):
-+ # self.__checkSelf ()
-+ # return cspi.AccessibleText_getAttributes (self.__item, offset, startOffset, endOffset)
-+ def getCaretOffset (self):
-+ """
-+ Wraps cspi.AccessibleText_getCaretOffset
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleText_getCaretOffset (self.__item)
-+
-+ def getCharacterCount (self):
-+ """
-+ Wraps cspi.AccessibleText_getCharacterCount
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleText_getCharacterCount (self.__item)
-+
-+ def getNSelections (self):
-+ """
-+ Wraps cspi.AccessibleText_getNSelections
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleText_getNSelections (self.__item)
-+
-+ #def getSelection (self, selectionNum, startOffset, endOffset):
-+ # self.__checkSelf ()
-+ # return cspi.AccessibleText_getSelection (self.__item, selectionNum, startOffset, endOffset)
-+
-+ def getText (self, startOffset, endOffset):
-+ """
-+ Wraps cspi.AccessibleText_getText
-+ """
-+ self.__checkSelf ()
-+ return string(cspi.AccessibleText_getText (self.__item, startOffset, endOffset))
-+
-+ def removeSelection (self, selectionNum):
-+ """
-+ Wraps cspi.AccessibleText_removeSelection, raising AtspiException if it fails
-+ """
-+ self.__checkSelf ()
-+ if not cspi.AccessibleText_removeSelection (self.__item, selectionNum):
-+ raise AtspiException("AccessibleText_removeSelection")
-+
-+ def setSelection (self, selectionNum, startOffset, endOffset):
-+ """
-+ Wraps cspi.AccessibleText_setSelection, raising AtspiException if it fails
-+ """
-+ self.__checkSelf ()
-+ if not cspi.AccessibleText_setSelection (self.__item, selectionNum, startOffset, endOffset):
-+ raise AtspiException("AccessibleText_setSelection")
-+
-+ def setCaretOffset (self, position):
-+ """
-+ Wraps cspi.AccessibleText_setCaretOffset, raising AtspiException if it fails
-+ """
-+ self.__checkSelf ()
-+ if not cspi.AccessibleText_setCaretOffset (self.__item, position):
-+ raise AtspiException("AccessibleText_setCaretOffset")
-+
-+cdef class EditableText (Text):
-+ """
-+ Wrapper around the low-level cspi.AccessibleEditableText_ functions,
-+ giving an OO-style API.
-+ """
-+ def setTextContents (self, newContents):
-+ """
-+ Wraps cspi.AccessibleEditableText_setTextContents, raising AtspiException if it fails
-+ """
-+ self.__checkSelf ()
-+ if not cspi.AccessibleEditableText_setTextContents (self.__item, newContents):
-+ raise AtspiException("AccessibleEditableText_setTextContents")
-+
-+ def setAttributes (self, attributes, startOffset, endOffset):
-+ """
-+ Wraps cspi.AccessibleEditableText_setAttributes, raising AtspiException if it fails
-+ """
-+ self.__checkSelf ()
-+ if not cspi.AccessibleEditableText_setAttributes (self.__item, attributes, startOffset, endOffset):
-+ raise AtspiException("AccessibleEditableText_setAttributes")
-+
-+ def insertText (self, position, text):
-+ """
-+ Wraps cspi.AccessibleEditableText_insertText, raising AtspiException if it fails
-+ """
-+ self.__checkSelf ()
-+ if not cspi.AccessibleEditableText_insertText (self.__item, position, text, cspi.strlen(text)):
-+ raise AtspiException("AccessibleEditableText_insertText")
-+
-+cdef class Hypertext (Text):
-+ """
-+ Wrapper around the low-level cspi.AccessibleHypertext_ functions,
-+ giving an OO-style API.
-+ """
-+ def getNLinks (self):
-+ """
-+ Wraps cspi.AccessibleHypertext_getNLinks, raising AtspiException if it fails
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleHypertext_getNLinks (self.__item)
-+
-+ def getLink (self, linkIndex):
-+ """
-+ Wraps cspi.AccessibleHypertext_getLink, raising AtspiException if it fails
-+ """
-+ self.__checkSelf ()
-+ cdef Hyperlink hyperlink
-+ hyperlink = Hyperlink ()
-+ hyperlink.__setItem (cspi.AccessibleHypertext_getLink (self.__item, linkIndex))
-+ if hyperlink.__item != NULL:
-+ return hyperlink
-+
-+ def getLinkIndex (self, characterOffset):
-+ """
-+ Wraps cspi.AccessibleHypertext_getLinkIndex, raising AtspiException if it fails
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleHypertext_getLinkIndex (self.__item, characterOffset)
-+
-+cdef class Hyperlink (Base):
-+ """
-+ Wrapper around the low-level cspi.AccessibleHyperlink_ functions,
-+ giving an OO-style API.
-+ """
-+ def getNAnchors (self):
-+ """
-+ Wraps cspi.AccessibleHyperlink_getNAnchors, raising AtspiException if it fails
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleHyperlink_getNAnchors (self.__item)
-+
-+ def getIndexRange (self):
-+ """
-+ Wraps cspi.AccessibleHyperlink_getIndexRange, returning [startIndex, endIndex] pair
-+ """
-+ self.__checkSelf ()
-+ cdef long startIndex, endIndex
-+ cspi.AccessibleHyperlink_getIndexRange(self.__item, &startIndex, &endIndex)
-+ return [startIndex, endIndex]
-+
-+
-+ def getObject (self, i):
-+ """
-+ Wraps cspi.AccessibleHyperlink_getObject
-+ """
-+ self.__checkSelf ()
-+ cdef Accessible object
-+ object = Accessible ()
-+ object.__setItem (cspi.AccessibleHyperlink_getObject (self.__item, i))
-+ object.__checkSelf ()
-+ return object
-+
-+ def getURI (self, i):
-+ """
-+ Wraps cspi.AccessibleHyperlink_getURI, raising AtspiException if it fails
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleHyperlink_getURI (self.__item, i)
-+
-+ def isValid (self):
-+ """
-+ Wraps cspi.AccessibleHyperlink_isValid, raising AtspiException if it fails
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleHyperlink_isValid (self.__item)
-+
-+cdef class Image (Base):
-+ """
-+ Wrapper around the low-level cspi.AccessibleImage_ functions,
-+ giving an OO-style API.
-+ """
-+ def getImageDescription (self):
-+ """
-+ Wraps cspi.AccessibleImage_getImageDescription
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleImage_getImageDescription (self.__item)
-+
-+ def getImageSize (self):
-+ """
-+ Wraps cspi.AccessibleImage_getImageSize, returning a (w,h) pair
-+ """
-+ self.__checkSelf ()
-+ cdef long w, h
-+ cspi.AccessibleImage_getImageSize(self.__item, &w, &h);
-+ return [w, h]
-+
-+ def getImagePosition (self, type=0):
-+ """
-+ Wraps cspi.AccessibleImage_getImagePosition, returning a (x,y)
-+ pair
-+ """
-+ self.__checkSelf ()
-+ cdef long x, y
-+ cspi.AccessibleImage_getImagePosition(self.__item, &x, &y, type)
-+ return [x, y]
-+
-+ def getImageExtents (self, type=0):
-+ """
-+ Wraps cspi.AccessibleImage_getImageExtents, returning a
-+ (x,y,w,h) tuple
-+ """
-+ self.__checkSelf ()
-+ cdef long x, y, w, h
-+ cspi.AccessibleImage_getImageExtents(self.__item, &x, &y, &w, &h, type)
-+ return [x, y, w, h]
-+
-+cdef class Value (Base):
-+ """
-+ Wrapper around the low-level cspi.AccessibleValue_ functions,
-+ giving an OO-style API.
-+ """
-+ def getMinimumValue (self):
-+ """
-+ Wraps cspi.AccessibleValue_getMinimumValue
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleValue_getMinimumValue(self.__item)
-+
-+ def getCurrentValue (self):
-+ """
-+ Wraps cspi.AccessibleValue_getMinimumValue
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleValue_getCurrentValue(self.__item)
-+
-+ def getMaximumValue (self):
-+ """
-+ Wraps cspi.AccessibleValue_getMinimumValue
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleValue_getMaximumValue(self.__item)
-+
-+ def setCurrentValue (self, newValue):
-+ """
-+ Wraps cspi.AccessibleValue_setCurrentValue
-+ """
-+ self.__checkSelf ()
-+ if not cspi.AccessibleValue_setCurrentValue (self.__item, newValue):
-+ raise AtspiException("AccessibleValue_setCurrentValue")
-+
-+cdef class Selection (Base):
-+ """
-+ Wrapper around the low-level cspi.AccessibleSelection_ functions,
-+ giving an OO-style API.
-+ """
-+
-+ def getNSelectedChildren (self):
-+ """
-+ Wraps cspi.AccessibleSelection_getNSelectedChildren
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleSelection_getNSelectedChildren (self.__item)
-+
-+ def getSelectedChild (self, index):
-+ """
-+ Wraps cspi.AccessibleSelection_getSelectedChild
-+ """
-+ self.__checkSelf ()
-+
-+ cdef cspi.Accessible* spiChild
-+ spiChild = cspi.AccessibleSelection_getSelectedChild (self.__item, index)
-+
-+ assert spiChild != NULL
-+
-+ cdef object child
-+ cdef Application app
-+ cdef Accessible acc
-+ cdef Text text
-+
-+ if cspi.Accessible_isApplication (spiChild):
-+ app = Application ()
-+ app.__setItem (spiChild)
-+ child = app
-+ else:
-+ acc = Accessible ()
-+ acc.__setItem (spiChild)
-+ child = acc
-+
-+ return child
-+
-+ def selectChild (self, index):
-+ """
-+ Wraps cspi.AccessibleSelection_selectChild
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleSelection_selectChild (self.__item, index)
-+
-+ def deselectSelectedChild (self, index):
-+ """
-+ Wraps cspi.AccessibleSelection_deselectSelectedChild
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleSelection_deselectSelectedChild (self.__item, index)
-+
-+ def isChildSelected (self, index):
-+ """
-+ Wraps cspi.AccessibleSelection_isChildSelected
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleSelection_isChildSelected (self.__item, index)
-+
-+ def selectAll (self):
-+ """
-+ Wraps cspi.AccessibleSelection_selectAll
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleSelection_selectAll( self.__item)
-+
-+ def clearSelection (self):
-+ """
-+ Wraps cspi.AccessibleSelection_clearSelection
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleSelection_clearSelection (self.__item)
-+
-+cdef class Table (Base):
-+ """
-+ Wrapper around the low-level cspi.AccessibleTable_ functions,
-+ giving an OO-style API.
-+ """
-+
-+ # def getTableAccessibleAt (self, row, column):
-+ # def getTableCaption (self):
-+
-+ def getTableColumnAtIndex (self, index):
-+ """
-+ Wraps cspi.AccessibleTable_getColumnAtIndex
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleTable_getColumnAtIndex(self.__item, index)
-+
-+ def getTableColumnDescription (self, column):
-+ """
-+ Wraps cspi.AccessibleTable_getColumnDescription
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleTable_getColumnDescription(self.__item, column)
-+
-+ def getTableColumnExtentAt (self, row, column):
-+ """
-+ Wraps cspi.AccessibleTable_getColumnExtentAt
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleTable_getColumnExtentAt(self.__item, row, column)
-+
-+ # def getTableColumnHeader (self, column):
-+
-+ def getTableIndexAt (self, row, column):
-+ """
-+ Wraps cspi.AccessibleTable_getIndexAt
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleTable_getIndexAt(self.__item, row, column)
-+
-+ def getTableNColumns (self):
-+ """
-+ Wraps cspi.AccessibleTable_getNColumns
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleTable_getNColumns(self.__item)
-+
-+ def getTableNRows (self):
-+ """
-+ Wraps cspi.AccessibleTable_getNRows
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleTable_getNRows(self.__item)
-+
-+ def getTableNSelectedColumns (self):
-+ """
-+ Wraps cspi.AccessibleTable_getNSelectedColumns
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleTable_getNSelectedColumns(self.__item)
-+
-+ def getTableNSelectedRows (self):
-+ """
-+x Wraps cspi.AccessibleTable_getNSelectedRows
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleTable_getNSelectedRows(self.__item)
-+
-+ def getTableRowAtIndex (self, index):
-+ """
-+ Wraps cspi.AccessibleTable_getRowAtIndex
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleTable_getRowAtIndex(self.__item, index)
-+
-+ def getTableRowDescription (self, row):
-+ """
-+ Wraps cspi.AccessibleTable_getRowDescription
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleTable_getRowDescription(self.__item, row)
-+
-+ def getTableRowExtentAt (self, row, column):
-+ """
-+ Wraps cspi.AccessibleTable_getRowExtentAt
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleTable_getRowExtentAt(self.__item, row, column)
-+
-+ # def getTableRowHeader (self, row):
-+ # def getTableSelectedRows (self, **selectedRows): - Not sure if the variable which is a pointer to a pointer is acceptable
-+ # def getTableSelectedColumns (self, **selectedColumns): - Same issue as above
-+ # def getTableSummary (self):
-+
-+ def isTableColumnSelected (self, column):
-+ """
-+ Wraps cspi.AccessibleTable_isColumnSelected
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleTable_isColumnSelected(self.__item, column)
-+
-+ def isTableRowSelected (self, row):
-+ """
-+ Wraps cspi.AccessibleTable_isRowSelected
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleTable_isRowSelected(self.__item, row)
-+
-+ def isTableSelected (self, row, column):
-+ """
-+ Wraps cspi.AccessibleTable_isSelected
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleTable_isSelected(self.__item, row, column)
-+
-+
-+cdef class Event (EventBase):
-+ #def AccessibleEventListener* SPI_createAccessibleEventListener (AccessibleEventListenerCB callback, void *user_data)
-+ #void AccessibleEventListener_unref (AccessibleEventListener *listener)
-+ #SPIBoolean AccessibleEventListener_addCallback (AccessibleEventListener *listener, AccessibleEventListenerCB callback, void *user_data)
-+ #SPIBoolean AccessibleEventListener_removeCallback (AccessibleEventListener *listener, AccessibleEventListenerCB callback)
-+
-+ #Accessible* AccessibleActiveDescendantChangedEvent_getActiveDescendant (AccessibleEvent *event)
-+ #Accessible* AccessibleChildChangedEvent_getChildAccessible (AccessibleEvent *event)
-+
-+ def getDescriptionChangedEventDescriptionString (self):
-+ self.__checkSelf()
-+ return string(cspi.AccessibleDescriptionChangedEvent_getDescriptionString(self.__item))
-+
-+ def getNameChangedEventNameString (self):
-+ self.__checkSelf()
-+ return string(cspi.AccessibleNameChangedEvent_getNameString(self.__item))
-+
-+ # Accessible* AccessibleParentChangedEvent_getParentAccessible (AccessibleEvent *event)
-+
-+ def getTableCaptionChangedEventCaptionString(self):
-+ self.__checkSelf()
-+ return string(cspi.AccessibleTableCaptionChangedEvent_getCaptionString(self.__item))
-+
-+ def getTableColumnDescriptionChangedEventDescriptionString(self):
-+ self.__checkSelf ()
-+ return string(cspi.AccessibleTableColumnDescriptionChangedEvent_getDescriptionString(self.__item))
-+
-+ # Accessible* AccessibleTableHeaderChangedEvent_getHeaderAccessible (AccessibleEvent *event)
-+
-+ def getTableRowDescriptionChangedEventDescriptionString(self):
-+ self.__checkSelf ()
-+ return string(cspi.AccessibleTableRowDescriptionChangedEvent_getDescriptionString(self.__item))
-+
-+ #Accessible* AccessibleTableSummaryChangedEvent_getSummaryAccessible (AccessibleEvent *event)
-+
-+ def getTextChangedEventChangeString (self):
-+ self.__checkSelf ()
-+ return string(cspi.AccessibleTextChangedEvent_getChangeString(self.__item))
-+
-+ def getTextSelectionChangedEventSelectionString (self):
-+ self.__checkSelf ()
-+ return string(cspi.AccessibleTextSelectionChangedEvent_getSelectionString(self.__item))
-+
-+ def getWindowEventTitleString (self):
-+ self.__checkSelf ()
-+ return string(cspi.AccessibleWindowEvent_getTitleString(self.__item))
-+
-+class EventGenerator:
-+ """
-+ Wrapper layer around SPI_generateKeyboardEvent and
-+ SPI_generateMouseEvent, used for generating input events.
-+
-+ Use AccessibleAction in preference to this.
-+ """
-+ def injectKeyboardString (self, string):
-+ """
-+ Inject a string as if it had been typed using an input method.
-+ """
-+ # Seems to only work if you do it one character at a time...
-+ for char in string:
-+ self.__generateKeystringEvent (str(char), cspi.SPI_KEY_STRING)
-+
-+ def __keyStringToKeyCode(self, keyString):
-+ cdef Xlib.Display *display
-+ display = Xlib.XOpenDisplay(NULL)
-+
-+ cdef Xlib.KeySym sym
-+ sym = Xlib.XStringToKeysym(keyString)
-+ cdef Xlib.KeyCode code
-+ code = Xlib.XKeysymToKeycode(display, sym)
-+
-+ #print str(keyString), str(int(sym)), code
-+
-+ Xlib.XCloseDisplay(display)
-+ return int(code)
-+
-+ def generateKeyCombo (self, keyStrings):
-+ modifiers = keyStrings[:-1]
-+ finalKey = keyStrings[-1]
-+
-+ for modifier in modifiers:
-+ code = self.__keyStringToKeyCode(modifier)
-+ self.generateKeyboardEvent(code, '', cspi.SPI_KEY_PRESS)
-+
-+ code = self.__keyStringToKeyCode(finalKey)
-+ self.generateKeyboardEvent(code, '', cspi.SPI_KEY_PRESSRELEASE)
-+
-+ for modifier in modifiers:
-+ code = self.__keyStringToKeyCode(modifier)
-+ self.generateKeyboardEvent(code, '', cspi.SPI_KEY_RELEASE)
-+
-+
-+ def __generateKeyvalEvent (self, keyval, synthType):
-+ self.generateKeyboardEvent (keyval, None, synthType)
-+
-+ def __generateKeystringEvent (self, keystring, synthType):
-+ self.generateKeyboardEvent (0, keystring, synthType)
-+
-+ def generateKeyboardEvent (self, keyval, keystring, synthType):
-+ if not cspi.SPI_generateKeyboardEvent (keyval, keystring, synthType):
-+ raise AtspiException("SPI_generateKeyboardEvent")
-+
-+ def click (self, x, y, button):
-+ """
-+ Synthesize a mouse button click at (x,y)
-+ """
-+ self.__generateButtonEvent (x, y, button, "c")
-+
-+ def doubleClick (self, x, y, button):
-+ """
-+ Synthesize a mouse button double-click at (x,y)
-+ """
-+ self.__generateButtonEvent (x, y, button, "d")
-+
-+ def press (self, x, y, button):
-+ """
-+ Synthesize a mouse button press at (x,y)
-+ """
-+ self.__generateButtonEvent (x, y, button, "p")
-+
-+ def release (self, x, y, button):
-+ """
-+ Synthesize a mouse button release at (x,y)
-+ """
-+ self.__generateButtonEvent (x, y, button, "r")
-+
-+ def absoluteMotion (self, x, y):
-+ """
-+ Synthesize mouse absolute motion to (x,y)
-+ """
-+ self.__generateEvent (x, y, "abs")
-+
-+ def relativeMotion (self, x, y):
-+ """
-+ Synthesize mouse relative motion of (x,y)
-+ """
-+ self.__generateEvent (x, y, "rel")
-+
-+ def drag (self, fromXY, toXY, button):
-+ """
-+ Synthesize a drag (press, move and release) from (x,y) to (x,y).
-+
-+ These are absolute screen coordinates
-+ """
-+ (x,y) = fromXY
-+ self.press (x, y, button)
-+
-+ (x,y) = toXY
-+ self.absoluteMotion(x,y)
-+
-+ self.release (x, y, button)
-+
-+ def __generateEvent (self, x, y, name):
-+ """
-+ Thin wrapper around SPI_generateMouseEvent.
-+
-+ Event names: b1p = button 1 press; b2r = button 2 release;
-+ b3c = button 3 click; b2d = button 2 double-click;
-+ abs = absolute motion; rel = relative motion.
-+ """
-+ if not cspi.SPI_generateMouseEvent (x, y, name):
-+ raise AtspiException("Error generating mouse event")
-+
-+ def __generateButtonEvent (self, x, y, button, suffix):
-+ self.__generateEvent (x, y, self.__generateButtonName(button)+suffix)
-+
-+ def __generateButtonName(self, button):
-+ if button==1:
-+ return "b1"
-+ elif button==2:
-+ return "b2"
-+ elif button==3:
-+ return "b3"
-+ else: raise ValueError, "Unknown button"
-+
-+# We use this C function to marshal a call to a python function. The Python callback
-+# function is installed as the userdata of this C callback function. See the
-+# "cheesefinder" demo in the Pyrex sources.
-+# We ignore the "const"ness of the AccessibleEvent
-+cdef void marshalAccessibleEventCallback (cspi.AccessibleEvent *event, void *python_fn) except *:
-+ e = Event()
-+ EventBase.__setItem(e, event)
-+ (<object>python_fn) (e)
-+
-+cdef class EventListener:
-+ """
-+ Wrapper around the low-level cspi.AccessibleEventListener_ functions,
-+ giving an OO-style API.
-+ """
-+ cdef cspi.AccessibleEventListener *__item
-+ cdef public object eventTypes
-+
-+ def __init__ (self, callback, eventTypes):
-+ """
-+ Registers a python callback function to be called.
-+ The callback is expected to have one input, of type atspi.Event, and no return value.
-+ See documentation of SPI_registerGlobalEventListener for the event names
-+ """
-+ self.eventTypes = eventTypes
-+ self.__item = cspi.SPI_createAccessibleEventListener (marshalAccessibleEventCallback, <void*>callback)
-+ for eventType in self.eventTypes:
-+ #char *e
-+ e = eventType
-+ if not cspi.SPI_registerGlobalEventListener (self.__item, e):
-+ raise AtspiException("Unable to register event listener")
-+
-+ def deregister(self):
-+ for eventType in self.eventTypes:
-+ cspi.SPI_deregisterGlobalEventListener(self.__item, eventType)
-+
-+ def __dealloc__ (self):
-+ if self.__item != NULL:
-+ self.deregister()
-+ cspi.AccessibleEventListener_unref (self.__item)
-+
-+ def __checkSelf (self):
-+ if self.__item == NULL:
-+ raise AttributeError, "__item must not be NULL"
-+
-+cdef class DeviceEvent:
-+ """
-+ Wrapper around a cspi.AccessibleDeviceEvent
-+ """
-+ cdef cspi.AccessibleDeviceEvent *__item
-+ cdef public object keyID
-+ cdef public object keyCode
-+ cdef public object keyString
-+ cdef public object timeStamp
-+ cdef public object type
-+ cdef public object modifiers
-+ cdef public object isText
-+
-+ def __new__ (self):
-+ self.__item = NULL
-+
-+ cdef bool __setItem (self, cspi.AccessibleDeviceEvent *obj):
-+ if obj != NULL:
-+ self.__item = obj
-+ self.keyID = self.__item.keyID
-+ self.keyCode = self.__item.keycode
-+ self.keyString = self.__item.keystring
-+ self.timeStamp = self.__item.timestamp
-+ self.type = self.__item.type
-+ self.modifiers = self.__item.modifiers
-+ if self.__item.is_text: self.isText = True
-+ else: self.isText = False
-+ return True
-+ else:
-+ return False
-+
-+ def __checkSelf (self):
-+ if self.__item == NULL:
-+ raise AttributeError, "__item must not be NULL"
-+
-+# def __dealloc__ (self):
-+# if self.__item != NULL:
-+# cspi.AccessibleDeviceEvent_unref (self.__item)
-+
-+
-+cdef cspi.SPIBoolean marshalAccessibleDeviceEventCallback (cspi.AccessibleDeviceEvent *event, void *python_fn) except 1:
-+ k = DeviceEvent()
-+ #k.__setItem(event)
-+ DeviceEvent.__setItem(k, event)
-+ k.__checkSelf()
-+ (<object>python_fn) (k)
-+ return False
-+
-+cdef class DeviceListener:
-+ """
-+ Wrapper around the low-level cspi.AccessibleDeviceListener_ functions,
-+ giving an OO-style API.
-+ """
-+ cdef cspi.AccessibleDeviceListener *__item
-+ cdef public object modMasks
-+
-+ def __init__ (self, callback, eventMask = cspi.SPI_KEY_PRESSED | cspi.SPI_KEY_RELEASED):
-+ """
-+ Registers a python callback function to be called.
-+
-+ eventMask may be one of the following:
-+ key pressed: 1
-+ key released: 2
-+ key pressed or released (default): 3
-+ """
-+ self.__item = cspi.SPI_createAccessibleDeviceListener (marshalAccessibleDeviceEventCallback, <void*>callback)
-+ cdef cspi.AccessibleKeySet *keySet
-+ keySet = SPI_KEYSET_ALL_KEYS
-+ self.modMasks = []
-+ cdef short int modMask
-+ syncType = SPI_KEYLISTENER_SYNCHRONOUS | SPI_KEYLISTENER_CANCONSUME
-+ #syncType = SPI_KEYLISTENER_NOSYNC
-+ for modMask from 0 <= modMask < (1 << 8):
-+ self.modMasks.append(modMask)
-+ desc = "keySet "+str(<int> keySet)+" modMask "+str(modMask)+" eventMask "+str(eventMask)+" syncType "+str(syncType)
-+ desc = str(desc)
-+ if not cspi.SPI_registerAccessibleKeystrokeListener (self.__item, keySet, modMask, eventMask, syncType):
-+ raise AtspiException("Unable to register keystroke listener", desc)
-+
-+ def deregister(self):
-+ if self.__item != NULL:
-+ for modMask in self.modMasks:
-+ cspi.SPI_deregisterAccessibleKeystrokeListener(self.__item, modMask)
-+
-+ def __dealloc__ (self):
-+ if self.__item != NULL:
-+ self.deregister()
-+ cspi.AccessibleDeviceListener_unref (self.__item)
-+
-+ def __checkSelf (self):
-+ if self.__item == NULL:
-+ raise AttributeError, "__item must not be NULL"
-+
-+
-+# vim: sw=4 ts=4 sts=4 noet ai
diff --git a/staging/python-pysqlite/PKGBUILD b/staging/python-pysqlite/PKGBUILD
deleted file mode 100644
index f5985ebca..000000000
--- a/staging/python-pysqlite/PKGBUILD
+++ /dev/null
@@ -1,38 +0,0 @@
-# $Id: PKGBUILD 168723 2012-10-14 21:14:34Z eric $
-# Maintainer: Angel Velasquez <angvp@archlinux.org>
-# Contributor: Aaron Griffin <aaron@archlinux.org>
-# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
-
-pkgbase=python-pysqlite
-pkgname=python2-pysqlite
-pkgver=2.6.3
-pkgrel=3
-pkgdesc="A Python DB-API 2.0 interface for the SQLite embedded relational database engine"
-license=('custom')
-arch=('i686' 'x86_64')
-url="http://code.google.com/p/pysqlite/"
-depends=('python2' 'sqlite')
-conflicts=('python-pysqlite<=2.6.3-2')
-replaces=('python-pysqlite<=2.6.3-2')
-source=(http://pysqlite.googlecode.com/files/pysqlite-${pkgver}.tar.gz \
- setup.cfg)
-md5sums=('711afa1062a1d2c4a67acdf02a33d86e'
- '86dd356c65afd14a22f2f8f64a26441e')
-
-check() {
- cd "${srcdir}"/pysqlite-${pkgver}/build/lib.*/
- python2 -c "from pysqlite2 import test; test.test()"
-}
-
-build() {
- cd "${srcdir}/pysqlite-${pkgver}"
- cp "${srcdir}/setup.cfg" .
- python2 setup.py build
-}
-
-package_python2-pysqlite() {
- cd "${srcdir}/pysqlite-${pkgver}"
- python2 setup.py install --root="${pkgdir}"
- install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- rm -r "${pkgdir}/usr/pysqlite2-doc"
-}
diff --git a/staging/python-pysqlite/setup.cfg b/staging/python-pysqlite/setup.cfg
deleted file mode 100644
index ba6c77075..000000000
--- a/staging/python-pysqlite/setup.cfg
+++ /dev/null
@@ -1,5 +0,0 @@
-[build_ext]
-define=
-include_dirs=/usr/include
-library_dirs=/usr/lib
-libraries=sqlite3
diff --git a/staging/python-urwid/PKGBUILD b/staging/python-urwid/PKGBUILD
deleted file mode 100644
index d1804969c..000000000
--- a/staging/python-urwid/PKGBUILD
+++ /dev/null
@@ -1,42 +0,0 @@
-# $Id: PKGBUILD,v 1.10 2009/03/13 21:14:09 sergej Exp $
-# Maintainer: Daniel Isenmann <daniel@archlinux.org>
-# Maintainer: Sergej Pupykin <sergej@aur.archlinux.org>
-# Maintainer: Douglas Soares de Andrade <dsandrade@gmail.com>
-
-pkgname=('python-urwid' 'python2-urwid')
-pkgver=1.0.2
-pkgrel=2
-pkgdesc="Urwid is a curses-based user interface library."
-license=('LGPL')
-arch=('i686' 'x86_64')
-makedepends=('python2-distribute' 'python-distribute')
-url="http://excess.org/urwid/"
-source=(http://excess.org/urwid/urwid-$pkgver.tar.gz)
-md5sums=('00542bbd15fae7ea60b02a7570edee2b')
-
-build() {
- cp -r urwid-$pkgver python2-urwid-$pkgver
-
- cd "$srcdir/urwid-$pkgver"
- python setup.py build
-
- cd "$srcdir/python2-urwid-$pkgver"
- sed -i 's#bin/python#bin/python2#' urwid/*.py
-
- python2 setup.py build
-}
-
-package_python-urwid() {
- depends=('python')
-
- cd "$srcdir/urwid-$pkgver"
- python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
-}
-
-package_python2-urwid() {
- depends=('python2')
-
- cd "$srcdir/python2-urwid-$pkgver"
- python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
-}
-
diff --git a/staging/python-wpactrl/PKGBUILD b/staging/python-wpactrl/PKGBUILD
deleted file mode 100644
index 692b3e8c3..000000000
--- a/staging/python-wpactrl/PKGBUILD
+++ /dev/null
@@ -1,26 +0,0 @@
-# $Id: PKGBUILD 168717 2012-10-14 20:27:32Z eric $
-# Maintainer: Daniel Isenmann <daniel@archlinux.org>
-
-pkgbase=python-wpactrl
-pkgname=python2-wpactrl
-pkgver=20090609
-pkgrel=4
-pkgdesc="A Python extension for wpa_supplicant/hostapd control interface access"
-arch=('i686' 'x86_64')
-url="http://projects.otaku42.de/wiki/PythonWpaCtrl"
-license=('GPL2')
-depends=('python2')
-conflicts=('python-wpactrl<=20090609-3')
-replaces=('python-wpactrl<=20090609-3')
-source=(ftp://ftp.archlinux.org/other/${pkgbase}/python-wpactrl-20090609.tar.gz)
-md5sums=('8d45739aa9bfa1110a4570bb5ceda768')
-
-build() {
- cd "${srcdir}/${pkgbase}-${pkgver}"
- python2 setup.py build
-}
-
-package_python2-wpactrl() {
- cd "${srcdir}/${pkgbase}-${pkgver}"
- python2 setup.py install --root="${pkgdir}"
-}
diff --git a/staging/qscintilla/PKGBUILD b/staging/qscintilla/PKGBUILD
deleted file mode 100644
index acb9eadfd..000000000
--- a/staging/qscintilla/PKGBUILD
+++ /dev/null
@@ -1,80 +0,0 @@
-# $Id: PKGBUILD 167919 2012-10-03 20:22:14Z andrea $
-# Maintainer: Andrea Scarpino <andrea@archlinux.org>
-# Contributor: Douglas Soares de Andrade <dsa@aur.archlinux.org>
-
-pkgbase=qscintilla
-pkgname=('qscintilla' 'python-qscintilla' 'python2-qscintilla'
- 'python-qscintilla-common')
-pkgver=2.6.2
-pkgrel=3
-license=('GPL')
-arch=('i686' 'x86_64')
-url="http://www.riverbankcomputing.co.uk/software/qscintilla/intro"
-makedepends=('python2-pyqt' 'pyqt' 'chrpath')
-source=("http://downloads.sourceforge.net/pyqt/QScintilla-gpl-${pkgver}.tar.gz"
- 'configure.py-objdir-support.diff')
-md5sums=('6e6641b6f3863c01cc28c2d7bd2495f9'
- '8cf9c06252e2f11ab00e62848e322fd3')
-
-build() {
- cd "${srcdir}/QScintilla-gpl-${pkgver}"
- patch -Np1 -i "${srcdir}/configure.py-objdir-support.diff"
-
- cd Qt4Qt5
- qmake qscintilla.pro
- make
-
- cd ../designer-Qt4
- qmake designer.pro INCLUDEPATH+=../Qt4Qt5 QMAKE_LIBDIR+=../Qt4Qt5
- make
-
- cd ../
- cp -rf Python Python2
- cd Python
- python3 configure.py -n ../Qt4Qt5/ -o ../Qt4Qt5/ -c -p 4
- make
-
- cd ../Python2
- python2 configure.py -n ../Qt4Qt5/ -o ../Qt4Qt5/ -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}/Qt4Qt5"
- make DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" install
-
- cd "${srcdir}/QScintilla-gpl-${pkgver}/designer-Qt4"
- make DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" install
-}
-
-package_python-qscintilla-common() {
- pkgdesc="Common python qscintilla bindings files shared between python-qscintilla and python2-qscintilla"
- depends=('qscintilla')
-
- cd "${srcdir}/QScintilla-gpl-${pkgver}"/Python
- make DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" install
-
- # Provided by python-qscintilla
- rm "${pkgdir}/usr/lib/python3.3/site-packages/PyQt4/Qsci.so"
-}
-
-package_python-qscintilla() {
- pkgdesc="Python 3.x bindings for QScintilla2"
- depends=('python-qscintilla-common' 'pyqt')
-
- cd "${srcdir}/QScintilla-gpl-${pkgver}/Python"
- install -Dm755 Qsci.so \
- "${pkgdir}/usr/lib/python3.3/site-packages/PyQt4/Qsci.so"
-}
-
-package_python2-qscintilla() {
- pkgdesc="Python 2.x bindings for QScintilla2"
- depends=('python-qscintilla-common' 'python2-pyqt')
-
- cd "${srcdir}/QScintilla-gpl-${pkgver}/Python2"
- install -Dm755 Qsci.so \
- "${pkgdir}/usr/lib/python2.7/site-packages/PyQt4/Qsci.so"
-}
diff --git a/staging/qscintilla/configure.py-objdir-support.diff b/staging/qscintilla/configure.py-objdir-support.diff
deleted file mode 100644
index b595de18c..000000000
--- a/staging/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/staging/slim/PKGBUILD b/staging/slim/PKGBUILD
deleted file mode 100644
index a4580b756..000000000
--- a/staging/slim/PKGBUILD
+++ /dev/null
@@ -1,63 +0,0 @@
-# $Id: PKGBUILD 168702 2012-10-14 15:17:29Z tomegun $
-# Maintainer: Gaetan Bisson <bisson@archlinux.org>
-# Contributor: Thayer Williams <thayer@archlinux.org>
-# Contributor: Alexander Fehr <pizzapunk gmail com>
-# Contributor: Hugo Ideler <hugoideler@dse.nl>
-
-pkgname=slim
-pkgver=1.3.4
-pkgrel=4
-pkgdesc='Desktop-independent graphical login manager for X11'
-arch=('i686' 'x86_64')
-url='http://slim.berlios.de/'
-license=('GPL2')
-depends=('pam' 'libxmu' 'libpng' 'libjpeg' 'libxft')
-makedepends=('cmake' 'freeglut')
-backup=('etc/slim.conf' 'etc/logrotate.d/slim' 'etc/pam.d/slim')
-source=("http://download.berlios.de/${pkgname}/${pkgname}-${pkgver}.tar.gz"
- 'rc.d'
- 'pam.d'
- 'logrotate'
- 'slim.service'
- 'session-name.patch'
- 'libpng-1.4+-support.patch'
- 'fix-glibc-segfault-1.3.4.patch')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- patch -p1 -i ../session-name.patch # FS#26693: fix default session name
- patch -Np1 -i ../libpng-1.4+-support.patch # taken from gentoo to build
- patch -Np0 -i ../fix-glibc-segfault-1.3.4.patch # FS#30864
- cd ${srcdir}
- mkdir build
- cd build
- cmake ../${pkgbase}-${pkgver} \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_SKIP_RPATH=ON \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DUSE_PAM=yes -DUSE_CONSOLEKIT=no
- make
-}
-
-package() {
- cd ${srcdir}/build/
- make DESTDIR="${pkgdir}" install
-
- install -D -m755 ../rc.d "${pkgdir}"/etc/rc.d/slim
- install -D -m644 ../pam.d "${pkgdir}"/etc/pam.d/slim
- install -D -m644 ../logrotate "${pkgdir}"/etc/logrotate.d/slim
-
- # Provide sane defaults
- sed -i 's|#xserver_arguments.*|xserver_arguments -nolisten tcp vt07|' "${pkgdir}"/etc/slim.conf
- sed -i 's|/var/run/slim.lock|/var/lock/slim.lock|' "${pkgdir}"/etc/slim.conf
- # install systemd files
- install -D -m644 ${srcdir}/slim.service ${pkgdir}/usr/lib/systemd/system/slim.service
-}
-md5sums=('51543533e492b41007811f7d880720fa'
- 'd8ea9c4dee2811524b67f4f666311a1f'
- '37ef35079139544d04b8316c7f66f754'
- '43da096480bf72c3ccec8ad8400f34f0'
- 'a5d6bde9e63899df7d2081e1585bbe54'
- 'ebcb6829028615686de7b64ceeaaf8ed'
- '6d19bd7a91592ed2bb902b22b9594565'
- '9efc4e0d82d354f0c578be7723870769')
diff --git a/staging/slim/fix-glibc-segfault-1.3.4.patch b/staging/slim/fix-glibc-segfault-1.3.4.patch
deleted file mode 100644
index b035f8a78..000000000
--- a/staging/slim/fix-glibc-segfault-1.3.4.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: app.cpp
-===================================================================
---- app.cpp (revision 223)
-+++ app.cpp (working copy)
-@@ -593,7 +593,7 @@
-
- n++;
-
-- child_env = static_cast<char**>(malloc(sizeof(char*)*n));
-+ child_env = static_cast<char**>(malloc(sizeof(char*)*(n+1)));
- memcpy(child_env, old_env, sizeof(char*)*n);
- child_env[n - 1] = StrConcat("XDG_SESSION_COOKIE=", ck.get_xdg_session_cookie());
- child_env[n] = NULL;
diff --git a/staging/slim/libpng-1.4+-support.patch b/staging/slim/libpng-1.4+-support.patch
deleted file mode 100644
index 57b39272b..000000000
--- a/staging/slim/libpng-1.4+-support.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- a/image.cpp 2012-06-26 04:20:14.000000000 -0400
-+++ b/image.cpp 2012-06-27 11:41:34.000000000 -0400
-@@ -781,7 +781,11 @@
- (png_infopp) NULL);
- }
-
-+#if PNG_LIBPNG_VER_MAJOR >= 1 && PNG_LIBPNG_VER_MINOR >= 4
-+ if (setjmp(png_jmpbuf((png_ptr)))) {
-+#else
- if (setjmp(png_ptr->jmpbuf)) {
-+#endif
- goto png_destroy;
- }
-
diff --git a/staging/slim/logrotate b/staging/slim/logrotate
deleted file mode 100644
index 26ec3b0f4..000000000
--- a/staging/slim/logrotate
+++ /dev/null
@@ -1,9 +0,0 @@
-/var/log/slim.log {
- compress
- rotate 1
- size 1024k
- notifempty
- missingok
- copytruncate
- noolddir
-}
diff --git a/staging/slim/pam.d b/staging/slim/pam.d
deleted file mode 100644
index 59db5a8c5..000000000
--- a/staging/slim/pam.d
+++ /dev/null
@@ -1,10 +0,0 @@
-#%PAM-1.0
-auth requisite pam_nologin.so
-auth required pam_env.so
-auth required pam_unix.so
-account required pam_unix.so
-password required pam_unix.so
-session required pam_limits.so
-session required pam_unix.so
-session optional pam_loginuid.so
--session optional pam_systemd.so
diff --git a/staging/slim/rc.d b/staging/slim/rc.d
deleted file mode 100755
index b0be7ffc5..000000000
--- a/staging/slim/rc.d
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PID=`pidof -o %PPID /usr/bin/slim`
-case "$1" in
- start)
- stat_busy "Starting Simple Login Manager"
- [ -z "$PID" ] && /usr/bin/slim -d &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon slim
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping Simple Login Manager"
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon slim
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 3
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
diff --git a/staging/slim/session-name.patch b/staging/slim/session-name.patch
deleted file mode 100644
index 8211c4f72..000000000
--- a/staging/slim/session-name.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -Naur slim-1.3.2.old/panel.cpp slim-1.3.2.new/panel.cpp
---- slim-1.3.2.old/panel.cpp 2010-10-24 06:01:15.117000019 +0000
-+++ slim-1.3.2.new/panel.cpp 2010-10-24 17:26:30.987999967 +0000
-@@ -23,7 +23,7 @@
- Root = root;
- cfg = config;
-
-- session = "";
-+ session = cfg->nextSession(session);
-
- // Init GC
- XGCValues gcv;
-@@ -188,7 +188,7 @@
- }
-
- void Panel::ClearPanel() {
-- session = "";
-+ session = cfg->nextSession(session);
- Reset();
- XClearWindow(Dpy, Root);
- XClearWindow(Dpy, Win);
diff --git a/staging/slim/slim.service b/staging/slim/slim.service
deleted file mode 100644
index b894085a0..000000000
--- a/staging/slim/slim.service
+++ /dev/null
@@ -1,9 +0,0 @@
-[Unit]
-Description=SLiM Simple Login Manager
-After=systemd-user-sessions.service
-
-[Service]
-ExecStart=/usr/bin/slim -nodaemon
-
-[Install]
-Alias=display-manager.service
diff --git a/staging/slim/tty-slowness.patch b/staging/slim/tty-slowness.patch
deleted file mode 100644
index c590fbed8..000000000
--- a/staging/slim/tty-slowness.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-diff -aur slim-1.3.2.a/app.cpp slim-1.3.2.b/app.cpp
---- slim-1.3.2.a/app.cpp 2010-08-21 15:10:13.702755711 +0200
-+++ slim-1.3.2.b/app.cpp 2010-08-21 15:10:48.579631179 +0200
-@@ -280,21 +280,22 @@
- signal(SIGALRM, AlarmSignal);
-
- #ifndef XNEST_DEBUG
-- OpenLog();
--
- if (!force_nodaemon && cfg->getOption("daemon") == "yes") {
- daemonmode = true;
- }
-
- // Daemonize
- if (daemonmode) {
-- if (daemon(0, 1) == -1) {
-+ if (daemon(0, 0) == -1) {
- cerr << APPNAME << ": " << strerror(errno) << endl;
- exit(ERR_EXIT);
- }
-- UpdatePid();
- }
-
-+ OpenLog();
-+
-+ if (daemonmode) UpdatePid();
-+
- CreateServerAuth();
- StartServer();
- alarm(2);
diff --git a/staging/sonata/PKGBUILD b/staging/sonata/PKGBUILD
deleted file mode 100644
index d2a3d8d71..000000000
--- a/staging/sonata/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# $Id: PKGBUILD 168713 2012-10-14 19:47:10Z eric $
-# Maintainer: Angel Velasquez <angvp@archlinux.org>
-# Contributor: William Rea <sillywilly@gmail.com>
-
-pkgname=sonata
-pkgver=1.6.2.1
-pkgrel=8
-pkgdesc="Elegant GTK+ music client for MPD"
-arch=('i686' 'x86_64')
-url="http://sonata.berlios.de/"
-license=('GPL3')
-depends=('pygtk' 'python2-mpd')
-optdepends=('gnome-python-extras: Enhanced system tray support'
- 'tagpy: Metadata editing support'
- 'python2-dbus: Various extra functionality (e.g. multimedia keys support)')
-source=(http://download.berlios.de/${pkgname}/${pkgname}-$pkgver.tar.gz
- info.py.patch)
-md5sums=('0b912325e7175abad3bf6c0edc071e05'
- '595fcf7615035829b264afecb5a1beeb')
-
-build() {
- cd "$srcdir/${pkgname}-$pkgver"
- patch -Np0 -i "$srcdir/info.py.patch"
- sed -i 's|/usr/bin/env python|/usr/bin/env python2|' sonata/breadcrumbs.py
-}
-
-package() {
- cd "$srcdir/${pkgname}-$pkgver"
- python2 setup.py install --prefix=/usr --optimize 1 --root="$pkgdir"
-}
diff --git a/staging/sonata/info.py.patch b/staging/sonata/info.py.patch
deleted file mode 100644
index e95cc3a08..000000000
--- a/staging/sonata/info.py.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- sonata/info.py 2011-07-05 22:32:08.452556016 -0500
-+++ sonata/info.py 2011-07-05 22:45:50.849311466 -0500
-@@ -393,9 +393,9 @@
- if content.startswith("#REDIRECT [["):
- addr = "http://lyricwiki.org/index.php?title=%s&action=edit" % urllib.quote(content.split("[[")[1].split("]]")[0])
- content = urllib.urlopen(addr).read()
-- lyrics = content.split("&lt;lyrics&gt;")[1].split("&lt;/lyrics&gt;")[0]
-- if lyrics.strip() != "&lt;!-- PUT LYRICS HERE (and delete this entire line) --&gt;":
-- lyrics = misc.unescape_html(lyrics)
-+ content = misc.unescape_html(content)
-+ lyrics = content.split("<lyrics>")[1].split("</lyrics>")[0].strip()
-+ if lyrics.strip() != "<!-- PUT LYRICS HERE (and delete this entire line) -->":
- lyrics = misc.wiki_to_html(lyrics)
- lyrics = lyrics.decode("utf-8")
- # Save lyrics to file:
diff --git a/staging/systemd/PKGBUILD b/staging/systemd/PKGBUILD
deleted file mode 100644
index 18c285073..000000000
--- a/staging/systemd/PKGBUILD
+++ /dev/null
@@ -1,151 +0,0 @@
-# Maintainer: Dave Reisner <dreisner@archlinux.org>
-# Contributor: Tom Gundersen <teg@jklm.no>
-
-pkgbase=systemd
-pkgname=('systemd' 'systemd-sysvcompat')
-pkgver=194
-pkgrel=2
-arch=('i686' 'x86_64')
-url="http://www.freedesktop.org/wiki/Software/systemd"
-license=('GPL2' 'LGPL2.1' 'MIT')
-makedepends=('acl' 'cryptsetup' 'dbus-core' 'docbook-xsl' 'gobject-introspection' 'gperf'
- 'gtk-doc' 'intltool' 'kmod' 'libcap' 'libgcrypt' 'libxslt' 'linux-api-headers'
- 'pam' 'python' 'quota-tools' 'xz')
-options=('!libtool')
-source=("http://www.freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz"
- 'initcpio-hook-udev'
- 'initcpio-install-udev'
- 'initcpio-install-timestamp'
- '0001-Reinstate-TIMEOUT-handling.patch'
- 'use-split-usr-path.patch')
-md5sums=('0ebb73aea444693b9b86f7a76f5df23c'
- 'e99e9189aa2f6084ac28b8ddf605aeb8'
- 'fb37e34ea006c79be1c54cbb0f803414'
- 'df69615503ad293c9ddf9d8b7755282d'
- '5543be25f205f853a21fa5ee68e03f0d'
- 'fd5b5f04ab0a847373d357555129d4c0')
-
-build() {
- cd "$pkgname-$pkgver"
-
- # still waiting on ipw2x00, et al to get fixed...
- patch -Np1 <"$srcdir/0001-Reinstate-TIMEOUT-handling.patch"
-
- # hang onto this until we do the /{,s}bin merge
- patch -Np1 <"$srcdir/use-split-usr-path.patch"
-
- ./configure \
- --libexecdir=/usr/lib \
- --localstatedir=/var \
- --sysconfdir=/etc \
- --enable-introspection \
- --enable-gtk-doc \
- --disable-audit \
- --disable-ima \
- --with-distro=arch \
- --with-usb-ids-path=/usr/share/hwdata/usb.ids \
- --with-pci-ids-path=/usr/share/hwdata/pci.ids
-
- make
-}
-
-check() {
- make -C "$pkgname-$pkgver" check
-}
-
-package_systemd() {
- pkgdesc="system and service manager"
- depends=('acl' 'bash' 'dbus-core' 'glib2' 'kbd' 'kmod' 'hwids' 'libcap' 'libgcrypt'
- 'pam' 'util-linux' 'xz')
- provides=("libsystemd=$pkgver" "systemd-tools=$pkgver" "udev=$pkgver")
- replaces=('libsystemd' 'systemd-tools' 'udev')
- conflicts=('libsystemd' 'systemd-tools' 'udev')
- optdepends=('initscripts: legacy support for /etc/rc.conf'
- 'python2-cairo: systemd-analyze'
- 'python2-dbus: systemd-analyze'
- 'systemd-sysvcompat: symlink package to provide sysvinit binaries'
- 'cryptsetup: required for encrypted block devices'
- 'quota-tools: kernel-level quota management')
- backup=(etc/dbus-1/system.d/org.freedesktop.systemd1.conf
- etc/dbus-1/system.d/org.freedesktop.hostname1.conf
- etc/dbus-1/system.d/org.freedesktop.login1.conf
- etc/dbus-1/system.d/org.freedesktop.locale1.conf
- etc/dbus-1/system.d/org.freedesktop.timedate1.conf
- etc/systemd/system.conf
- etc/systemd/user.conf
- etc/systemd/logind.conf
- etc/systemd/journald.conf
- etc/udev/udev.conf)
- install="systemd.install"
-
- make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
-
- printf "d /run/console 0755 root root\n" > "$pkgdir/usr/lib/tmpfiles.d/console.conf"
-
- install -dm755 "$pkgdir/bin"
- ln -s ../usr/lib/systemd/systemd "$pkgdir/bin/systemd"
-
- # move bash-completion and symlink for loginctl
- install -Dm644 "$pkgdir/etc/bash_completion.d/systemd-bash-completion.sh" \
- "$pkgdir/usr/share/bash-completion/completions/systemctl"
- ln -s systemctl "$pkgdir/usr/share/bash-completion/completions/loginctl"
- rm -rf "$pkgdir/etc/bash_completion.d"
-
- # don't write units to /etc by default -- we'll enable this on post_install
- # as a sane default
- rm "$pkgdir/etc/systemd/system/getty.target.wants/getty@tty1.service"
- rmdir "$pkgdir/etc/systemd/system/getty.target.wants"
-
- # get rid of RPM macros
- rm -r "$pkgdir/etc/rpm"
-
- # can't use py3k yet with systemd-analyze -- the 'plot' verb will not work.
- # https://pokersource.info/show_bug.cgi?id=50989
- sed -i '1s/python$/python2/' "$pkgdir/usr/bin/systemd-analyze"
-
- # the path to udevadm is hardcoded in some places
- install -d "$pkgdir/sbin"
- ln -s ../usr/bin/udevadm "$pkgdir/sbin/udevadm"
-
- # udevd is no longer udevd because systemd. why isn't udevadm now udevctl?
- ln -s ../lib/systemd/systemd-udevd "$pkgdir/usr/bin/udevd"
-
- # add back tmpfiles.d/legacy.conf
- install -m644 "systemd-$pkgver/tmpfiles.d/legacy.conf" "$pkgdir/usr/lib/tmpfiles.d"
-
- # Replace dialout/tape/cdrom group in rules with uucp/storage/optical group
- sed -i 's#GROUP="dialout"#GROUP="uucp"#g;
- s#GROUP="tape"#GROUP="storage"#g;
- s#GROUP="cdrom"#GROUP="optical"#g' "$pkgdir"/usr/lib/udev/rules.d/*.rules
-
- # add mkinitcpio hooks
- install -Dm644 "$srcdir/initcpio-install-udev" "$pkgdir/usr/lib/initcpio/install/udev"
- install -Dm644 "$srcdir/initcpio-hook-udev" "$pkgdir/usr/lib/initcpio/hooks/udev"
- install -Dm644 "$srcdir/initcpio-install-timestamp" "$pkgdir/usr/lib/initcpio/install/timestamp"
-
- # XXX: kill off coredump rule until the journal can recover coredumps
- rm "$pkgdir/usr/lib/sysctl.d/coredump.conf"
-
- ### split out manpages for sysvcompat
- rm -rf "$srcdir/_sysvcompat"
- install -dm755 "$srcdir"/_sysvcompat/usr/share/man/man8/
- mv "$pkgdir"/usr/share/man/man8/{telinit,halt,reboot,poweroff,runlevel,shutdown}.8 \
- "$srcdir"/_sysvcompat/usr/share/man/man8
-}
-
-package_systemd-sysvcompat() {
- pkgdesc="sysvinit compat for systemd"
- conflicts=('sysvinit')
- depends=('sysvinit-tools')
-
- mv "$srcdir/_sysvcompat"/* "$pkgdir"
-
- install -dm755 "$pkgdir/sbin"
- for tool in runlevel reboot shutdown poweroff halt telinit; do
- ln -s '/usr/bin/systemctl' "$pkgdir/sbin/$tool"
- done
-
- ln -s '../usr/lib/systemd/systemd' "$pkgdir/sbin/init"
-}
-
-# vim: ft=sh syn=sh et
diff --git a/staging/systemd/initcpio-install-udev b/staging/systemd/initcpio-install-udev
deleted file mode 100644
index 15124b8f7..000000000
--- a/staging/systemd/initcpio-install-udev
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/bash
-
-build() {
- local rules tool
-
- add_file "/etc/udev/udev.conf"
- add_binary /usr/lib/systemd/systemd-udevd /usr/bin/udevd
- add_binary /usr/bin/udevadm
-
- for rules in 50-udev-default.rules 60-persistent-storage.rules 64-btrfs.rules 80-drivers.rules; do
- add_file "/usr/lib/udev/rules.d/$rules"
- done
- for tool in ata_id scsi_id; do
- add_file "/usr/lib/udev/$tool"
- done
-
- add_runscript
-}
-
-help() {
- cat <<HELPEOF
-This hook will use udev to create your root device node and detect the needed
-modules for your root device. It is also required for firmware loading in
-initramfs. It is recommended to use this hook.
-HELPEOF
-}
-
-# vim: set ft=sh ts=4 sw=4 et:
diff --git a/staging/twisted/PKGBUILD b/staging/twisted/PKGBUILD
deleted file mode 100644
index 35bf73958..000000000
--- a/staging/twisted/PKGBUILD
+++ /dev/null
@@ -1,37 +0,0 @@
-# $Id: PKGBUILD 168774 2012-10-15 21:19:51Z eric $
-# Maintainer : Ionut Biru <ibiru@archlinux.org>
-# Contributor: Juergen Hoetzel <juergen@archlinux.org>
-# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
-
-pkgname=twisted
-pkgver=12.2.0
-pkgrel=2
-pkgdesc="Asynchronous networking framework written in Python."
-arch=('i686' 'x86_64')
-url="http://twistedmatrix.com/"
-license=('MIT')
-depends=('python2-crypto' 'python2-zope-interface')
-optdepends=('python2-pyopenssl'
- 'python2-soappy: for twisted.web.soap'
- 'python2-pyasn1: for using conch'
- 'pygtk: for using manhole'
- 'tk: for using tkconch')
-install=twisted.install
-source=(http://twistedmatrix.com/Releases/Twisted/${pkgver%.*}/Twisted-$pkgver.tar.bz2)
-sha1sums=('c51834c1270e7a4bb0de9190056e4317413920f9')
-
-build() {
- cd "$srcdir/Twisted-$pkgver"
- python2 setup.py build
-}
-
-package() {
- 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 -i 's:^#!.*bin.*python:#!/usr/bin/python2:' \
- "$pkgdir"/usr/lib/python2.7/site-packages/twisted/trial/test/scripttest.py \
- "$pkgdir"/usr/lib/python2.7/site-packages/twisted/mail/test/pop3testserver.py \
- "$pkgdir"/usr/lib/python2.7/site-packages/twisted/python/test/pullpipe.py
-}
diff --git a/staging/twisted/twisted.install b/staging/twisted/twisted.install
deleted file mode 100644
index 8e93ffd3c..000000000
--- a/staging/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.7/site-packages/twisted/plugins -name dropin.cache | xargs -r rm -f
-}
diff --git a/staging/vde2/PKGBUILD b/staging/vde2/PKGBUILD
deleted file mode 100644
index b4646d06e..000000000
--- a/staging/vde2/PKGBUILD
+++ /dev/null
@@ -1,50 +0,0 @@
-# $Id: PKGBUILD 168790 2012-10-16 00:34:59Z allan $
-# Contributor: Sergej Pupykin
-# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
-pkgname=vde2
-pkgver=2.3.2
-pkgrel=2
-pkgdesc="Virtual Distributed Ethernet for emulators like qemu"
-url="http://sourceforge.net/projects/vde/"
-license=("GPL" "LGPL" "CUSTOM")
-arch=('i686' 'x86_64')
-depends=('bash' 'libpcap' 'openssl')
-makedepends=('python')
-backup=(etc/conf.d/vde)
-source=(http://downloads.sourceforge.net/vde/$pkgname-$pkgver.tar.bz2
- dhcpd.conf.sample
- iptables.rules.sample
- vde-config.sample
- vde-connection.sample
- vde.conf
- vde.rc)
-install=vde2.install
-options=(!libtool !makeflags)
-
-build() {
- cd $srcdir/$pkgname-$pkgver
- ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/vde2 \
- --enable-experimental
- make
-}
-
-package() {
- cd $srcdir/$pkgname-$pkgver
- make prefix=$pkgdir/usr sysconfdir=$pkgdir/etc libexecdir=$pkgdir/usr/lib/vde2 install
- install -D -m 755 ../vde.rc $pkgdir/etc/rc.d/vde
- install -D -m 644 ../vde.conf $pkgdir/etc/conf.d/vde
- install -D -m 644 ../vde-config.sample $pkgdir/etc/vde/vde-config.sample
- install -D -m 644 ../vde-connection.sample $pkgdir/etc/vde/vde-connection.sample
- install -D -m 644 ../dhcpd.conf.sample $pkgdir/usr/share/vde2/dhcpd.conf.sample
- install -D -m 644 ../iptables.rules.sample $pkgdir/usr/share/vde2/iptables.rules.sample
- # install slirp license
- install -D -m 644 COPYING.slirpvde $pkgdir/usr/share/licenses/vde2/COPYING.slirpvde
-}
-
-md5sums=('46fbc5f97f03dc517aa3b2c9d9ea6628'
- '7d9bc56d2e561d849e915000d1c0f269'
- 'a920123fc620bcedbccb703a8d1bdc55'
- 'cb8ace28e8efd4dad128be4be71b3b07'
- '63033c33565e2030541c5e05e9d9b063'
- 'a22730f051f4840da4a3162a88ff8156'
- '6c7dc01bc2f039f0ff1682ee70d3d1da')
diff --git a/staging/vde2/dhcpd.conf.sample b/staging/vde2/dhcpd.conf.sample
deleted file mode 100644
index 565a78b27..000000000
--- a/staging/vde2/dhcpd.conf.sample
+++ /dev/null
@@ -1,12 +0,0 @@
-ddns-update-style none;
-
-subnet 192.168.254.0 netmask 255.255.255.0 {
- range 192.168.254.1 192.168.254.253;
- option routers 192.168.254.254;
- option domain-name "virtual.example.com";
- # find your DNS servers from /etc/resolv.conf
- # otherwise only pure IP addresses will work
- option domain-name-servers 192.168.254.254;
- option broadcast-address 192.168.254.255;
- default-lease-time 86400;
-}
diff --git a/staging/vde2/iptables.rules.sample b/staging/vde2/iptables.rules.sample
deleted file mode 100644
index ac712ee21..000000000
--- a/staging/vde2/iptables.rules.sample
+++ /dev/null
@@ -1,5 +0,0 @@
-*filter
--A INPUT -i tun -j ACCEPT
--A FORWARD -s 192.168.254.0/255.255.255.0 -j ACCEPT
-*nat
--A POSTROUTING -s 192.168.254.0/24 -j MASQUERADE
diff --git a/staging/vde2/vde-config.sample b/staging/vde2/vde-config.sample
deleted file mode 100644
index c5a5b7d88..000000000
--- a/staging/vde2/vde-config.sample
+++ /dev/null
@@ -1,35 +0,0 @@
-# Set options vde_switch program
-# To activate this vde profile add it to /etc/conf.d/vde
-
-# Global options
-VDE_NUMPORTS="32" # Number of ports (default 32)
-VDE_HUB="no" # [yes|no] Make the switch act as a hub
-VDE_FSTP="no" # [yes|no] Activate the fast spanning tree protocol
-VDE_MAC="" # Set the Switch MAC address
-VDE_PRIOTIRY="" # Set the priority for FST (MAC extension)
-VDE_HASHSIZE="" # Hash table size
-
-# Options from datasock module
-VDE_SOCK="/var/run/vde/sample.sock" # control directory pathname
-VDE_SOCK_MODE="660" # Standard access mode for comm sockets (octal)
-VDE_SOCK_GROUP="root" # Group owner for comm sockets
-
-# Options from consmgmt module
-VDE_MANAGEMENT_SOCK="/var/run/vde/sample.mgmt" # path of the management UNIX socket
-VDE_MANAGEMENT_SOCK_MODE="660" # management UNIX socket access mode (octal)
-
-# Other options to parse to vde_switch
-VDE_OPTIONS=""
-
-# VDE with internet support
-# You can use either tuntap method or slirpvde method.
-
-# Options from tuntap module
-VDE_TAP="" # Enable routing through TAP tap interface (comma separated array eg.:"tap0,tap1").
-
-# slirpvde daemon support
-SLIRP="no" # [yes|no] enable/disable SLIRP daemon support
-SLIRP_DHCP="no" # [yes|no] turn on the DHCP server for the network autoconfiguration of all the units connected to the VDE
-SLIRP_NETWORK="" # specify the network address (default 10.0.2.0)
-# other options to parse to slirpvde
-SLIRP_OPTIONS="" \ No newline at end of file
diff --git a/staging/vde2/vde-connection.sample b/staging/vde2/vde-connection.sample
deleted file mode 100644
index 4a75e1f52..000000000
--- a/staging/vde2/vde-connection.sample
+++ /dev/null
@@ -1,6 +0,0 @@
-# You can add vde switch connections below
-# just without the # at the beginning:
-# vde_plug /var/run/vde/sample.sock = vde_plug /var/run/vde/sample2.sock
-# or if hosts are different use this syntax:
-# vde_plug /var/run/vde/sample.sock = ssh host2 vde_plug /var/run/vde/sample.sock
-
diff --git a/staging/vde2/vde.conf b/staging/vde2/vde.conf
deleted file mode 100644
index bc61dceda..000000000
--- a/staging/vde2/vde.conf
+++ /dev/null
@@ -1,11 +0,0 @@
-# Set options for a vde daemon script
-#
-# Array for your vde config files, eg.: "internal-net external-net"
-# You need a config file in /etc/vde/ with the same name.
-# Sample config file provided: /etc/vde/vde-config.sample
-VDE_CONFIG=""
-
-# Array for your dpipe connections, eg.: "connect-switches"
-# You need a config file in /etc/vde/ with the same name.
-# Sample config file provided: /etc/vde/vde-connection.sample
-VDE_CONNECTION="" \ No newline at end of file
diff --git a/staging/vde2/vde.rc b/staging/vde2/vde.rc
deleted file mode 100755
index b368f9955..000000000
--- a/staging/vde2/vde.rc
+++ /dev/null
@@ -1,113 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/vde
-
-case "$1" in
- start)
- # bring up all defined profiles
- for i in $VDE_CONFIG; do
- [ -e /etc/vde/$i ] && . /etc/vde/$i
- stat_busy "Starting vde_switch $i"
- # get options from profile
- [ -n "$VDE_NUMPORTS" ] && OPTIONS="-n $VDE_NUMPORTS"
- [ "$VDE_HUB" = "yes" ] && OPTIONS="$OPTIONS -x"
- [ "$VDE_FSTP" = "yes" ] && OPTIONS="$OPTIONS -F"
- [ -n "$VDE_MAC" ] && OPTIONS="$OPTIONS --macaddr $VDE_MAC"
- [ -n "$VDE_PRIORITY" ] && OPTIONS="$OPTIONS --priority $VDE_PRIORITY"
- [ -n "$VDE_HASH" ] && OPTIONS="$OPTIONS --hashsize $VDE_HASH"
- [ -n "$VDE_SOCK" ] && OPTIONS="$OPTIONS -s $VDE_SOCK"
- [ -n "$VDE_SOCK_MODE" ] && OPTIONS="$OPTIONS -m $VDE_SOCK_MODE"
- [ -n "$VDE_SOCK_GROUP" ] && OPTIONS="$OPTIONS -g $VDE_SOCK_GROUP"
- [ -n "$VDE_MANAGEMENT_SOCK" ] && OPTIONS="$OPTIONS -M $VDE_MANAGEMENT_SOCK"
- [ -n "$VDE_MANAGEMENT_SOCK_MODE" ] && OPTIONS="$OPTIONS --mgmtmode $VDE_MANAGEMENT_SOCK_MODE"
- [ -n "$VDE_TAP" ] && OPTIONS="$OPTIONS -t $VDE_TAP"
- [ -n "$VDE_OPTIONS" ] && OPTIONS="$OPTIONS $VDE_OPTIONS"
- vde_switch $OPTIONS -p /var/run/vde-$i.pid -daemon &>/dev/null
- [ -n "$VDE_SOCK" -a -n "$VDE_SOCK_GROUP" ] && chgrp "$VDE_SOCK_GROUP" "$VDE_SOCK"
- if [ $? -gt 0 ]; then
- stat_fail
- else
- stat_done
- fi
- if [ "$SLIRP" = "yes" ]; then
- stat_busy "Starting slirpvde for $i"
- [ "$SLIRP_DHCP" = "yes" ] && SP_OPTIONS="-D"
- [ -n "$SLIRP_NETWORK" ] && SP_OPTIONS="$SP_OPTIONS -n $SLIRP_NETWORK"
- [ -n "$SLIRP_OPTIONS" ] && SP_OPTIONS="$SP_OPTIONS $SLIRP_OPTIONS"
- [ -n "$VDE_SOCK" ] && SP_OPTIONS="$SP_OPTIONS -s $VDE_SOCK"
- [ -n "$VDE_SOCK_MODE" ] && SP_OPTIONS="$SP_OPTIONS -m $VDE_SOCK_MODE"
- [ -n "$VDE_SOCK_GROUP" ] && SP_OPTIONS="$SP_OPTIONS -g $VDE_SOCK_GROUP"
- slirpvde $SP_OPTIONS -p /var/run/slirpvde-$i.pid -daemon &>/dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- stat_done
- fi
- unset OPTIONS
- unset SP_OPTIONS
- fi
- done
- for i in $VDE_CONNECTION; do
- # connect specified vde_switches
- if [ "$(grep ^vde_plug /etc/vde/$i)" ]; then
- stat_busy "Connecting VDE switches $i together..."
- while read j; do
- switch="$(echo $j | grep ^vde_plug)"
- [ -n "$switch" ] && (dpipe $switch &)
- done </etc/vde/$i
- if [ $? -gt 0 ]; then
- stat_fail
- else
- stat_done
- fi
- fi
- done
- add_daemon vde
- ;;
- stop)
- # kill vde_plug if switches are connected
- [ -n "$VDE_CONNECTION" ] && killall vde_plug >/dev/null 2>&1
- for i in $VDE_CONFIG; do
- [ -e /etc/vde/$i ] && . /etc/vde/$i
- if [ "$SLIRP" = "yes" ]; then
- stat_busy "Stopping slirpvde for $i"
- kill $(cat /var/run/slirpvde-$i.pid) &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- stat_done
- fi
- rm /var/run/slirpvde-$i.pid &> /dev/null
- fi
- stat_busy "Stopping vde_switch $i"
- kill $(cat /var/run/vde-$i.pid) &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- stat_done
- fi
- rm /var/run/vde-$i.pid &> /dev/null
- stat_busy "Removing $i vde sockets"
- rm -rf $VDE_SOCK $VDE_MANAGEMENT_SOCK
- if [ $? -gt 0 ]; then
- stat_fail
- else
- stat_done
- fi
- done
- unset OPTIONS
- unset SP_OPTIONS
- [ -e /var/run/vde/gmon.out ] && rm /var/run/vde/gmon.out
- rm_daemon vde
- ;;
- restart)
- $0 stop
- sleep 3
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
diff --git a/staging/vde2/vde2.install b/staging/vde2/vde2.install
deleted file mode 100644
index 74e1710ff..000000000
--- a/staging/vde2/vde2.install
+++ /dev/null
@@ -1,10 +0,0 @@
-post_install() {
- echo "Change /etc/conf.d/vde to your needs."
- echo "vde config files should be placed in /etc/vde, sample files are provided."
- echo "iptables and dhcpd sample files have been installed to '/usr/share/vde2'."
- echo "Merge those examples, if needed to the according config files."
-}
-
-post_upgrade() {
- post_install $1
-}
diff --git a/staging/xf86-input-acecad/PKGBUILD b/staging/xf86-input-acecad/PKGBUILD
deleted file mode 100644
index 0a20be8da..000000000
--- a/staging/xf86-input-acecad/PKGBUILD
+++ /dev/null
@@ -1,34 +0,0 @@
-# $Id: PKGBUILD 168078 2012-10-05 17:56:18Z andyrtr $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=xf86-input-acecad
-pkgver=1.5.0
-pkgrel=5
-pkgdesc="X.Org acecad tablet input driver"
-arch=(i686 x86_64)
-url="http://xorg.freedesktop.org/"
-license=('custom')
-depends=('sysfsutils')
-makedepends=('xorg-server-devel' 'X-ABI-XINPUT_VERSION=18' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13' 'X-ABI-XINPUT_VERSION<18' 'X-ABI-XINPUT_VERSION>=19')
-options=('!libtool')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2
- assign-local-private-after-allocating.patch)
-sha1sums=('410cee68e4435dc95774fb389fcefae1b2ffe3d1'
- '9301020b0ef3c6f2081e957481a88d2e187a7973')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- patch -Np1 -i "${srcdir}/assign-local-private-after-allocating.patch"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- make DESTDIR="${pkgdir}" install
-
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
diff --git a/staging/xf86-input-acecad/assign-local-private-after-allocating.patch b/staging/xf86-input-acecad/assign-local-private-after-allocating.patch
deleted file mode 100644
index e3e635a6f..000000000
--- a/staging/xf86-input-acecad/assign-local-private-after-allocating.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From ec2c4ead497133ef20d5ef5a9b481b38e1e0f7a2 Mon Sep 17 00:00:00 2001
-From: Peter Hutterer <peter.hutterer@who-t.net>
-Date: Mon, 27 Jun 2011 03:13:54 +0000
-Subject: Assign local->private after allocating.
-
-It is detrimental to the user experience when the driver tries to derefernce
-null pointers.
-
-Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
----
-diff --git a/src/acecad.c b/src/acecad.c
-index ad6d793..604fe91 100644
---- a/src/acecad.c
-+++ b/src/acecad.c
-@@ -343,6 +343,7 @@ AceCadPreInit(InputDriverPtr drv, InputInfoPtr local, int flags)
- return BadAlloc;
-
- memset(priv, 0, sizeof(AceCadPrivateRec));
-+ local->private = priv;
-
- local->device_control = DeviceControl;
-
---
-cgit v0.8.3-6-g21f6
diff --git a/staging/xf86-input-aiptek/PKGBUILD b/staging/xf86-input-aiptek/PKGBUILD
deleted file mode 100644
index b0c5ad004..000000000
--- a/staging/xf86-input-aiptek/PKGBUILD
+++ /dev/null
@@ -1,31 +0,0 @@
-# $Id: PKGBUILD 168080 2012-10-05 18:00:48Z andyrtr $
-#Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=xf86-input-aiptek
-pkgver=1.4.1
-pkgrel=5
-pkgdesc="X.Org Aiptek USB Digital Tablet input driver"
-arch=(i686 x86_64)
-url="http://xorg.freedesktop.org/"
-license=('custom')
-depends=('glibc')
-makedepends=('xorg-server-devel' 'X-ABI-XINPUT_VERSION=18' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13' 'X-ABI-XINPUT_VERSION<18' 'X-ABI-XINPUT_VERSION>=19')
-options=('!libtool')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha1sums=('55ea7d12d3e24fd72eacc966a59262864dce7769')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- make DESTDIR="${pkgdir}" install
-
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
diff --git a/staging/xf86-input-elographics/PKGBUILD b/staging/xf86-input-elographics/PKGBUILD
deleted file mode 100644
index ee6ad8451..000000000
--- a/staging/xf86-input-elographics/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# $Id: PKGBUILD 88566 2010-08-24 08:47:16Z jgc $
-#Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=xf86-input-elographics
-pkgver=1.4.1
-pkgrel=2
-pkgdesc="X.org Elographics TouchScreen input driver"
-arch=(i686 x86_64)
-license=('custom')
-url="http://xorg.freedesktop.org/"
-depends=('glibc')
-makedepends=('xorg-server-devel' 'X-ABI-XINPUT_VERSION=18' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13' 'X-ABI-XINPUT_VERSION<18' 'X-ABI-XINPUT_VERSION>=19')
-options=('!libtool')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('a21af744d57f158e6dff9d60a68aaac46b8d726d602911940cb61f4d6bb2c6a4')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
diff --git a/staging/xf86-input-evdev/PKGBUILD b/staging/xf86-input-evdev/PKGBUILD
deleted file mode 100644
index b5ad96195..000000000
--- a/staging/xf86-input-evdev/PKGBUILD
+++ /dev/null
@@ -1,31 +0,0 @@
-# $Id: PKGBUILD 168082 2012-10-05 18:10:25Z andyrtr $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-# Contributor: Alexander Baldeck <Alexander@archlinux.org
-
-pkgname=xf86-input-evdev
-pkgver=2.7.3
-pkgrel=2
-pkgdesc="X.org evdev input driver"
-arch=(i686 x86_64)
-url="http://xorg.freedesktop.org/"
-license=('custom')
-depends=('glibc' 'systemd-tools' 'mtdev')
-makedepends=('xorg-server-devel' 'X-ABI-XINPUT_VERSION=18' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13.0' 'X-ABI-XINPUT_VERSION<18' 'X-ABI-XINPUT_VERSION>=19')
-options=('!libtool' '!makeflags')
-groups=('xorg-drivers' 'xorg')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('eb389413602c3d28c44bbfab0477c98582f0e2f5be5f41986e58e93a033fa504')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
diff --git a/staging/xf86-input-joystick/50-joystick.conf b/staging/xf86-input-joystick/50-joystick.conf
deleted file mode 100644
index 95a295ab0..000000000
--- a/staging/xf86-input-joystick/50-joystick.conf
+++ /dev/null
@@ -1,6 +0,0 @@
-Section "InputClass"
- Identifier "joystick catchall"
- MatchIsJoystick "on"
- MatchDevicePath "/dev/input/event*"
- Driver "joystick"
-EndSection
diff --git a/staging/xf86-input-joystick/PKGBUILD b/staging/xf86-input-joystick/PKGBUILD
deleted file mode 100644
index 77a304012..000000000
--- a/staging/xf86-input-joystick/PKGBUILD
+++ /dev/null
@@ -1,39 +0,0 @@
-# $Id: PKGBUILD 168084 2012-10-05 18:31:52Z andyrtr $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=xf86-input-joystick
-pkgver=1.6.1
-pkgrel=2
-pkgdesc="X.Org Joystick input driver"
-arch=(i686 x86_64)
-url="http://xorg.freedesktop.org/"
-license=('custom')
-depends=('glibc')
-makedepends=('xorg-server-devel' 'X-ABI-XINPUT_VERSION=18' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13.0' 'X-ABI-XINPUT_VERSION<18' 'X-ABI-XINPUT_VERSION>=19')
-groups=('xorg-drivers' 'xorg')
-options=('!libtool')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2
- #git-fixes.patch
- 50-joystick.conf)
-sha1sums=('0712652ec6cdb2fca6ad888548b232a4de9cf580'
- 'e1ff3699a0470c6bb78a53f718df9d8521621e11')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- #patch -Np1 -i "${srcdir}/git-fixes.patch"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- make DESTDIR="${pkgdir}" install
-
- install -m755 -d "${pkgdir}/etc/X11/xorg.conf.d"
- install -m644 "${srcdir}/50-joystick.conf" "${pkgdir}/etc/X11/xorg.conf.d/"
-
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
diff --git a/staging/xf86-input-joystick/git-fixes.patch b/staging/xf86-input-joystick/git-fixes.patch
deleted file mode 100644
index b3afa06cc..000000000
--- a/staging/xf86-input-joystick/git-fixes.patch
+++ /dev/null
@@ -1,399 +0,0 @@
-From 204dcb86368b011824fc5006f87b9e394d03a394 Mon Sep 17 00:00:00 2001
-From: Terry Lambert <tlambert@chromium.org>
-Date: Sat, 16 Jul 2011 00:23:22 +0000
-Subject: Return proper default for unknown values in pInfo->device_control.
-
-Signed-off-by: Terry Lambert <tlambert@chromium.org>
-Reviewed-by: Stephane Marchesin <marcheu@chromium.org>
-Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
----
-diff --git a/src/jstk.c b/src/jstk.c
-index ec6b79a..6db0e7c 100644
---- a/src/jstk.c
-+++ b/src/jstk.c
-@@ -419,8 +419,7 @@ jstkDeviceControlProc(DeviceIntPtr pJstk,
-
- default:
- ErrorF("unsupported mode=%d\n", what);
-- return !Success;
-- break;
-+ return BadValue;
- } /* switch (what) */
- return Success;
- }
-diff --git a/src/jstk_key.c b/src/jstk_key.c
-index 3c471ce..d699dcd 100644
---- a/src/jstk_key.c
-+++ b/src/jstk_key.c
-@@ -169,6 +169,8 @@ jstkKeyboardDeviceControlProc(DeviceIntPtr dev,
- DBG(2, ErrorF("jstkKeyboardDeviceControlProc what=DEVICE_CLOSE\n"));
- dev->public.on = FALSE;
- break;
-+ default:
-+ return BadValue;
- }
-
- return Success;
---
-cgit v0.9.0.2-2-gbebe
-From b3b62328cf3f36c20c54a298f8a921e6eef42c4d Mon Sep 17 00:00:00 2001
-From: Devin J. Pohly <djpohly+xorg@gmail.com>
-Date: Sat, 03 Sep 2011 23:00:07 +0000
-Subject: unify capitalization of joystick properties
-
-the axis keys high/low properties were inconsistently capitalized,
-leading to potential confusion as to why one works but not the other.
-
-Signed-off-by: Devin J. Pohly <djpohly+xorg@gmail.com>
-Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
----
-diff --git a/include/joystick-properties.h b/include/joystick-properties.h
-index 49ef800..36f4082 100644
---- a/include/joystick-properties.h
-+++ b/include/joystick-properties.h
-@@ -99,7 +99,7 @@ typedef enum _JSTK_MAPPING {
-
- /** Scancodes for axis in high position */
- /* 8 bit, 4 per axis */
--#define JSTK_PROP_AXIS_KEYS_HIGH "Axis keys (high)"
-+#define JSTK_PROP_AXIS_KEYS_HIGH "Axis Keys (high)"
-
- /** Set the mapping of each button to
- none, x, y, zx, zy, button, key, speed_multiply,
---
-cgit v0.9.0.2-2-gbebe
-From b607c4ebeea4122694f02ba87f06e4cdb23114f1 Mon Sep 17 00:00:00 2001
-From: Sascha Hlusiak <saschahlusiak@arcor.de>
-Date: Sat, 15 Oct 2011 22:47:52 +0000
-Subject: label buttons and axes
-
-Buttons are labeled "Button %d", starting with 0 and representing the button in X _after_ mapping.
-Mapping can be changed while running so the labels will be constant.
-
-Axes are labeled "Axis %d", starting with 1, representing the _physical_ axis that reports the valuator
-data. The raw valuators can't be dynamically mapped, the first two valuators always are labeled "Rel X"
-and "Rel Y", representing the aggregated post-calculation data from all axes.
-
-Signed-off-by: Sascha Hlusiak <saschahlusiak@arcor.de>
----
-diff --git a/man/joystick.man b/man/joystick.man
-index da92ceb..b401de5 100644
---- a/man/joystick.man
-+++ b/man/joystick.man
-@@ -140,7 +140,11 @@ Neither
- .B mode
- nor
- .B axis
--needs to be set to generate extra valuator events.
-+needs to be set to generate extra valuator events. The axis will be labelled according to it's physical axis number, beginning with
-+.I 1
-+, i.e.
-+.I \*qAxis 1\*q
-+for the first axis (being the 3rd valuator).
- Default: not set.
- .TP 7
- .BI "\*qaxis="[<factor>]<axis> \*q
-@@ -318,6 +322,28 @@ and the second and fourth axis to the arrow keys
- The keys for the first two axes will be generated in an interval according to the value of the axis. The autorepeat speed of the first axis will be half the speed of that of the second axis.
- The keys for the third and fourth axis are generated once when the axis moves out of the deadzone and when it moves back into the deadzone. X.Org will autorepeat those keys according to current keyboard settings.
-
-+.SH "XI2 Events"
-+If you only care about raw events instead of using the joystick as a mouse replacement, don't forget to unmap and add valuators to all axes and map the remaining buttons:
-+
-+.nf
-+.BI " Option \*qMapAxis1\*q \*q" "mode=none valuator" \*q
-+.BI " Option \*qMapAxis2\*q \*q" "mode=none valuator" \*q
-+.BI " Option \*qMapAxis3\*q \*q" "mode=none valuator" \*q
-+.BI " Option \*qMapAxis4\*q \*q" "mode=none valuator" \*q
-+\ \ ...
-+.BI " Option \*qMapButton1\*q \*q" "button=1" \*q
-+.BI " Option \*qMapButton2\*q \*q" "button=2" \*q
-+.BI " Option \*qMapButton3\*q \*q" "button=3" \*q
-+.BI " Option \*qMapButton4\*q \*q" "button=4" \*q
-+.BI " Option \*qMapButton5\*q \*q" "button=5" \*q
-+\ \ ...
-+.fi
-+
-+You might also want to set the device "floating" to stop it from reporting core events:
-+.nf
-+.BI " Option \*qFloating\*q \*q" "true" \*q
-+.fi
-+
- .SH "NOTES"
- Configuration through
- .I InputClass
-diff --git a/src/jstk.c b/src/jstk.c
-index 6db0e7c..772683f 100644
---- a/src/jstk.c
-+++ b/src/jstk.c
-@@ -1,5 +1,5 @@
- /*
-- * Copyright 2007-2009 by Sascha Hlusiak. <saschahlusiak@freedesktop.org>
-+ * Copyright 2007-2011 by Sascha Hlusiak. <saschahlusiak@freedesktop.org>
- * Copyright 1995-1999 by Frederic Lepied, France. <Lepied@XFree86.org>
- *
- * Permission to use, copy, modify, distribute, and sell this software and its
-@@ -21,7 +21,6 @@
- * PERFORMANCE OF THIS SOFTWARE.
- */
-
--
- #ifdef HAVE_CONFIG_H
- #include "config.h"
- #endif
-@@ -300,6 +299,7 @@ jstkDeviceControlProc(DeviceIntPtr pJstk,
- switch (what) {
- case DEVICE_INIT: {
- int m;
-+ char str[32];
- CARD8 buttonmap[BUTTONMAP_SIZE+1];
- DBG(1, ErrorF("jstkDeviceControlProc what=INIT\n"));
- /* Probe device and return if error */
-@@ -312,11 +312,14 @@ jstkDeviceControlProc(DeviceIntPtr pJstk,
- }
-
- for (m=0; m<=BUTTONMAP_SIZE; m++) {
-+ sprintf(str, "Button %d", m);
-+
- buttonmap[m] = m;
-- }
-+ btn_labels[m] = MakeAtom(str, strlen(str), TRUE);
-+ }
-+
-+
-
--
--
- if (InitButtonClassDeviceStruct(pJstk, BUTTONMAP_SIZE,
- btn_labels,
- buttonmap) == FALSE) {
-@@ -331,7 +334,9 @@ jstkDeviceControlProc(DeviceIntPtr pJstk,
- if (priv->axis[i].valuator != -1)
- {
- DBG(3, ErrorF("Axis %d will be valuator %d\n", i, m));
-+ sprintf(str, "Axis %d", i + 1);
- priv->axis[i].valuator = m++;
-+ axes_labels[i] = MakeAtom(str, strlen(str), TRUE);
- }
-
- if (InitValuatorClassDeviceStruct(pJstk, m, axes_labels,
-@@ -719,7 +724,6 @@ static XF86ModuleVersionInfo jstkVersionRec =
- /* a tool */
- };
-
--
- /*
- ***************************************************************************
- *
-@@ -732,3 +736,6 @@ _X_EXPORT XF86ModuleData joystickModuleData = {
- jstkDriverPlug,
- jstkDriverUnplug
- };
-+
-+/* vim: set filetype=c.doxygen ts=4 et: */
-+
---
-cgit v0.9.0.2-2-gbebe
-From e0193debf8f5a72b0a06977d5dea3365ad9cafbe Mon Sep 17 00:00:00 2001
-From: Peter Hutterer <peter.hutterer@who-t.net>
-Date: Mon, 31 Oct 2011 04:27:22 +0000
-Subject: Fix option type for option duplication
-
-xf86OptionListDuplicate() duplicates an XF86Option list, not an InputOption
-list.
-
-Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
----
-diff --git a/src/jstk_key.c b/src/jstk_key.c
-index d699dcd..e842941 100644
---- a/src/jstk_key.c
-+++ b/src/jstk_key.c
-@@ -253,26 +253,26 @@ jstkKeyboardHotplug(InputInfoPtr pInfo, int flags)
- int rc;
- char name[512] = {0};
- InputAttributes *attrs = NULL;
-- InputOption *options;
- InputOption *iopts = NULL, *tmp;
- DeviceIntPtr dev;
-+ XF86OptionPtr opts;
-
- /* duplicate option list, append to name */
-- options = xf86OptionListDuplicate(pInfo->options);
-+ opts = xf86OptionListDuplicate(pInfo->options);
- strcpy(name, pInfo->name);
- strcat(name, " (keys)");
-- options = xf86ReplaceStrOption(options, "Name", name);
-- options = xf86ReplaceStrOption(options, "_source", "_driver/joystick");
-+ opts = xf86ReplaceStrOption(opts, "Name", name);
-+ opts = xf86ReplaceStrOption(opts, "_source", "_driver/joystick");
-
-- while(options)
-+ while(opts)
- {
- tmp = calloc(1, sizeof(InputOption));
-
-- tmp->key = xf86OptionName(options);
-- tmp->value = xf86OptionValue(options);
-+ tmp->key = xf86OptionName(opts);
-+ tmp->value = xf86OptionValue(opts);
- tmp->next = iopts;
- iopts = tmp;
-- options = xf86NextOption(options);
-+ opts = xf86NextOption(opts);
- }
-
- /* duplicate attribute list */
---
-cgit v0.9.0.2-2-gbebe
-From 7ccf3a75292d71104c976bf6afb389cccaac1a7d Mon Sep 17 00:00:00 2001
-From: Peter Hutterer <peter.hutterer@who-t.net>
-Date: Mon, 31 Oct 2011 04:33:08 +0000
-Subject: Deal with opaque input option types.
-
-ABI 14 made the InputOption type opaque, move the existing code to ifdefs
-and use the new function calls otherwise.
-
-Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
-Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
----
-diff --git a/src/jstk_key.c b/src/jstk_key.c
-index e842941..a71275a 100644
---- a/src/jstk_key.c
-+++ b/src/jstk_key.c
-@@ -247,13 +247,46 @@ int jstkKeyboardPreInit(InputDriverPtr drv, InputInfoPtr pInfo, int flags)
- return Success;
- }
-
-+#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 14
-+static InputOption*
-+input_option_new(InputOption* list, char *key, char *value)
-+{
-+ InputOption *tmp;
-+
-+ tmp = calloc(1, sizeof(*tmp));
-+ tmp->key = key;
-+ tmp->value = value;
-+ tmp->next = list;
-+
-+ return tmp;
-+}
-+
-+static void
-+input_option_free_list(InputOption **list)
-+{
-+ InputOption *iopts = *list;
-+
-+ while(iopts)
-+ {
-+ InputOption *tmp = iopts->next;
-+ free(iopts->key);
-+ free(iopts->value);
-+ free(iopts);
-+ iopts = tmp;
-+ }
-+
-+ *list = NULL;
-+}
-+
-+#endif
-+
- InputInfoPtr
- jstkKeyboardHotplug(InputInfoPtr pInfo, int flags)
- {
- int rc;
- char name[512] = {0};
- InputAttributes *attrs = NULL;
-- InputOption *iopts = NULL, *tmp;
-+ InputOption *iopts = NULL;
- DeviceIntPtr dev;
- XF86OptionPtr opts;
-
-@@ -266,12 +299,9 @@ jstkKeyboardHotplug(InputInfoPtr pInfo, int flags)
-
- while(opts)
- {
-- tmp = calloc(1, sizeof(InputOption));
--
-- tmp->key = xf86OptionName(opts);
-- tmp->value = xf86OptionValue(opts);
-- tmp->next = iopts;
-- iopts = tmp;
-+ iopts = input_option_new(iopts,
-+ xf86OptionName(opts),
-+ xf86OptionValue(opts));
- opts = xf86NextOption(opts);
- }
-
-@@ -280,14 +310,7 @@ jstkKeyboardHotplug(InputInfoPtr pInfo, int flags)
-
- rc = NewInputDeviceRequest(iopts, attrs, &dev);
-
-- while(iopts)
-- {
-- tmp = iopts->next;
-- free(iopts->key);
-- free(iopts->value);
-- free(iopts);
-- iopts = tmp;
-- }
-+ input_option_free_list(&iopts);
-
- FreeInputAttributes(attrs);
-
---
-cgit v0.9.0.2-2-gbebe
-From 411c1838456c055d3f911c54ed58bb11a6bf0da3 Mon Sep 17 00:00:00 2001
-From: Sascha Hlusiak <saschahlusiak@arcor.de>
-Date: Sun, 13 Nov 2011 17:04:25 +0000
-Subject: man: valuators are not added automatically
-
----
-diff --git a/man/joystick.man b/man/joystick.man
-index b401de5..9f38ceb 100644
---- a/man/joystick.man
-+++ b/man/joystick.man
-@@ -129,9 +129,6 @@ can be one of:
-
- .B none, relative, accelerated, absolute
-
--Every axis which's mode is not
--.B none
--will be reported as an additional valuator.
- .TP 7
- .B \*qvaluator\*q
- Send extra valuator events for this axis. The valuators will be numbered ascending, starting with 2 (valuator 0 and 1 are reserved for pointer movement). The range of the valuators is always
---
-cgit v0.9.0.2-2-gbebe
-From b217fabdef1714ed4898e08de4c2a6b9cc8d4f0f Mon Sep 17 00:00:00 2001
-From: Sascha Hlusiak <saschahlusiak@arcor.de>
-Date: Sun, 13 Nov 2011 19:36:07 +0000
-Subject: Copy pInfo->driver to option list to fix hotplugging of keyboard device
-
-udev does copy the Driver line to the list of options, but when manually
-specifying the driver in xorg.conf, the option "Driver" is unset. Because we
-do hotplug a sub-device from within the core device, we need the "Driver"
-option to be present in the list.
-
-This should fix archlinux bug #23577:
- https://bugs.archlinux.org/task/23577
-
-Thanks to Malek for coming up with a fix.
-
-Signed-off-by: Sascha Hlusiak <contact@saschahlusiak.de>
----
-diff --git a/src/jstk_key.c b/src/jstk_key.c
-index a71275a..241b15d 100644
---- a/src/jstk_key.c
-+++ b/src/jstk_key.c
-@@ -296,6 +296,7 @@ jstkKeyboardHotplug(InputInfoPtr pInfo, int flags)
- strcat(name, " (keys)");
- opts = xf86ReplaceStrOption(opts, "Name", name);
- opts = xf86ReplaceStrOption(opts, "_source", "_driver/joystick");
-+ opts = xf86AddNewOption(opts, "Driver", pInfo->driver);
-
- while(opts)
- {
---
-cgit v0.9.0.2-2-gbebe
diff --git a/staging/xf86-input-keyboard/PKGBUILD b/staging/xf86-input-keyboard/PKGBUILD
deleted file mode 100644
index 478060eef..000000000
--- a/staging/xf86-input-keyboard/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# $Id: PKGBUILD 168086 2012-10-05 18:41:11Z andyrtr $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=xf86-input-keyboard
-pkgver=1.6.2
-pkgrel=2
-pkgdesc="X.Org keyboard input driver"
-arch=(i686 x86_64)
-license=('custom')
-url="http://xorg.freedesktop.org/"
-depends=('glibc')
-makedepends=('xorg-server-devel' 'X-ABI-XINPUT_VERSION=18' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13.0' 'X-ABI-XINPUT_VERSION<18' 'X-ABI-XINPUT_VERSION>=19')
-options=('!libtool')
-groups=('xorg-drivers' 'xorg')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('76651a84f5031f7c6ecf075d55989c04a00689642579df6d1a1bee6d5c2e5f8a')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
diff --git a/staging/xf86-input-mouse/PKGBUILD b/staging/xf86-input-mouse/PKGBUILD
deleted file mode 100644
index 0c075179b..000000000
--- a/staging/xf86-input-mouse/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# $Id: PKGBUILD 168088 2012-10-05 18:46:31Z andyrtr $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=xf86-input-mouse
-pkgver=1.8.1
-pkgrel=2
-pkgdesc="X.org mouse input driver"
-arch=(i686 x86_64)
-license=('custom')
-url="http://xorg.freedesktop.org/"
-depends=('glibc')
-makedepends=('xorg-server-devel' 'X-ABI-XINPUT_VERSION=18' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13.0' 'X-ABI-XINPUT_VERSION<18' 'X-ABI-XINPUT_VERSION>=19')
-options=('!libtool')
-groups=('xorg-drivers' 'xorg')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('f5b97aac9aab8fa8b933e960631441ae23b18681c8bf3d5007c00da838f9c9c8')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
diff --git a/staging/xf86-input-synaptics/10-synaptics.conf b/staging/xf86-input-synaptics/10-synaptics.conf
deleted file mode 100644
index 81a90fb81..000000000
--- a/staging/xf86-input-synaptics/10-synaptics.conf
+++ /dev/null
@@ -1,9 +0,0 @@
-Section "InputClass"
- Identifier "touchpad catchall"
- Driver "synaptics"
- MatchIsTouchpad "on"
- MatchDevicePath "/dev/input/event*"
- Option "TapButton1" "1"
- Option "TapButton2" "2"
- Option "TapButton3" "3"
-EndSection
diff --git a/staging/xf86-input-synaptics/PKGBUILD b/staging/xf86-input-synaptics/PKGBUILD
deleted file mode 100644
index 24a48dcb1..000000000
--- a/staging/xf86-input-synaptics/PKGBUILD
+++ /dev/null
@@ -1,43 +0,0 @@
-# $Id: PKGBUILD 168090 2012-10-05 18:57:54Z andyrtr $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-# Contributor: Tobias Powalowski <tpowa@archlinux.org>
-# Contributor: Thomas Bächler <thomas@archlinux.org>
-# Contributor: Alexander Baldeck <alexander@archlinux.org>
-
-pkgname=xf86-input-synaptics
-pkgver=1.6.2
-pkgrel=2
-pkgdesc="Synaptics driver for notebook touchpads"
-arch=('i686' 'x86_64')
-license=('custom')
-url="http://xorg.freedesktop.org/"
-depends=('libxtst' 'mtdev')
-makedepends=('xorg-server-devel' 'X-ABI-XINPUT_VERSION=18' 'libxi' 'libx11' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13.0' 'X-ABI-XINPUT_VERSION<18' 'X-ABI-XINPUT_VERSION>=19')
-replaces=('synaptics')
-provides=('synaptics')
-conflicts=('synaptics')
-groups=('xorg-drivers' 'xorg')
-options=(!libtool)
-backup=('etc/X11/xorg.conf.d/10-synaptics.conf')
-source=(http://xorg.freedesktop.org/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2
- 10-synaptics.conf)
-sha256sums=('c3f7d6a085d480c352f030aeb43db2e5560d1468ed34be24d44a0fc3fda25920'
- 'bd506a0545c335faa6da7ec42b3f60f2c09b5ed9e26f03003d6f59be88107ee2')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -m755 -d "${pkgdir}/etc/X11/xorg.conf.d"
- install -m644 "${srcdir}/10-synaptics.conf" "${pkgdir}/etc/X11/xorg.conf.d/"
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-
- rm -rf "${pkgdir}/usr/share/X11"
-}
diff --git a/staging/xf86-input-vmmouse/PKGBUILD b/staging/xf86-input-vmmouse/PKGBUILD
deleted file mode 100644
index 214429614..000000000
--- a/staging/xf86-input-vmmouse/PKGBUILD
+++ /dev/null
@@ -1,34 +0,0 @@
-# $Id: PKGBUILD 168092 2012-10-05 19:03:25Z andyrtr $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=xf86-input-vmmouse
-pkgver=12.9.0
-pkgrel=2
-pkgdesc="X.org VMWare Mouse input driver"
-arch=(i686 x86_64)
-license=('custom')
-url="http://xorg.freedesktop.org/"
-depends=('glibc' 'sh')
-makedepends=('xorg-server-devel' 'X-ABI-XINPUT_VERSION=18' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13.0' 'X-ABI-XINPUT_VERSION<18' 'X-ABI-XINPUT_VERSION>=19')
-groups=('xorg-drivers' 'xorg')
-backup=('etc/X11/xorg.conf.d/50-vmmouse.conf')
-options=('!libtool')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha1sums=('83500beddba2da390389705d482131872fe9be8b')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr \
- --with-xorg-conf-dir=/etc/X11/xorg.conf.d \
- --with-udev-rules-dir=/usr/lib/udev/rules.d
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
- rm -rfv ${pkgdir}/usr/{lib,share}/hal
-}
diff --git a/staging/xf86-input-void/PKGBUILD b/staging/xf86-input-void/PKGBUILD
deleted file mode 100644
index 0831ca3a0..000000000
--- a/staging/xf86-input-void/PKGBUILD
+++ /dev/null
@@ -1,32 +0,0 @@
-# $Id: PKGBUILD 168094 2012-10-05 19:07:17Z andyrtr $
-#Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=xf86-input-void
-pkgver=1.4.0
-pkgrel=4
-pkgdesc="X.org void input driver"
-arch=(i686 x86_64)
-license=('custom')
-url="http://xorg.freedesktop.org/"
-depends=('glibc')
-makedepends=('xorg-server-devel' 'X-ABI-XINPUT_VERSION=18' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13.0' 'X-ABI-XINPUT_VERSION<18' 'X-ABI-XINPUT_VERSION>=19')
-groups=('xorg-drivers' 'xorg')
-options=('!libtool')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha1sums=('49b462d3acb16337eaf78202d4074f19d5e20b29')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- make DESTDIR="${pkgdir}" install
-
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
diff --git a/staging/xf86-input-wacom/70-wacom.rules b/staging/xf86-input-wacom/70-wacom.rules
deleted file mode 100644
index f6aa20835..000000000
--- a/staging/xf86-input-wacom/70-wacom.rules
+++ /dev/null
@@ -1,12 +0,0 @@
-ACTION!="add|change", GOTO="wacom_end"
-
-# Match all serial wacom tablets with a serial ID starting with WACf
-# Notes: We assign NAME though we shouldn't, but currently the server requires it
-# We assign the lot to subsystem pnp too because server reads NAME from
-# the parent device. Once all that's fixed, as simple SUBSYSTEM="tty"
-# will do and the ENV{NAME} can be removed.
-SUBSYSTEM=="tty|pnp", SUBSYSTEMS=="pnp", ATTRS{id}=="WACf*", ENV{ID_MODEL}="Serial Wacom Tablet $attr{id}", ENV{ID_INPUT}="1", ENV{ID_INPUT_TABLET}="1", ENV{NAME}="Serial Wacom Tablet $attr{id}"
-SUBSYSTEM=="tty|pnp", SUBSYSTEMS=="pnp", ATTRS{id}=="FUJ*", ENV{ID_MODEL}="Serial Wacom Tablet $attr{id}", ENV{ID_INPUT}="1", ENV{ID_INPUT_TABLET}="1", ENV{NAME}="Serial Wacom Tablet $attr{id}"
-
-LABEL="wacom_end"
-
diff --git a/staging/xf86-input-wacom/PKGBUILD b/staging/xf86-input-wacom/PKGBUILD
deleted file mode 100644
index 3e3a2acd4..000000000
--- a/staging/xf86-input-wacom/PKGBUILD
+++ /dev/null
@@ -1,34 +0,0 @@
-# $Id: PKGBUILD 168096 2012-10-05 19:11:14Z andyrtr $
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
-# Contributor: Jan de Groot <jgc@archlinux.org>
-# Contributor: M Rawash <mrawash@gmail.com>
-
-pkgname=xf86-input-wacom
-pkgver=0.17.0
-pkgrel=2
-pkgdesc="X.Org Wacom tablet driver"
-arch=('i686' 'x86_64')
-url="http://linuxwacom.sourceforge.net/"
-license=('GPL')
-backup=('etc/X11/xorg.conf.d/50-wacom.conf')
-depends=('libxi' 'libxrandr' 'libxinerama')
-makedepends=('xorg-server-devel' 'X-ABI-XINPUT_VERSION=18' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13.0' 'X-ABI-XINPUT_VERSION<18' 'X-ABI-XINPUT_VERSION>=19')
-options=(!libtool)
-source=(http://downloads.sourceforge.net/project/linuxwacom/$pkgname/$pkgname-$pkgver.tar.bz2
- 70-wacom.rules)
-md5sums=('92dffefc3bc30523463f2fa4bc753448'
- '10db4f8272286690255c1bcc18bfdd92')
-
-build() {
- cd $pkgname-$pkgver
- ./configure --prefix=/usr --with-xorg-conf-dir=/etc/X11/xorg.conf.d
- make
-}
-
-package() {
- cd $pkgname-$pkgver
- make DESTDIR="$pkgdir" install
-
- install -Dm644 ../70-wacom.rules "$pkgdir/usr/lib/udev/rules.d/70-wacom.rules"
-}
diff --git a/staging/xf86-video-apm/PKGBUILD b/staging/xf86-video-apm/PKGBUILD
deleted file mode 100644
index 6dc7c8dfa..000000000
--- a/staging/xf86-video-apm/PKGBUILD
+++ /dev/null
@@ -1,29 +0,0 @@
-# $Id: PKGBUILD 168102 2012-10-05 20:15:38Z andyrtr $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=xf86-video-apm
-pkgver=1.2.5
-pkgrel=2
-pkgdesc="X.org Alliance ProMotion video driver"
-arch=(i686 x86_64)
-url="http://xorg.freedesktop.org/"
-license=('custom')
-depends=('glibc')
-makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=13' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13.0' 'X-ABI-VIDEODRV_VERSION<13' 'X-ABI-VIDEODRV_VERSION>=14')
-options=('!libtool')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('953b04320117b14c5b7efb37de45cef45592409f639c2aa87b7e2d77dc8d3d0f')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
diff --git a/staging/xf86-video-ark/PKGBUILD b/staging/xf86-video-ark/PKGBUILD
deleted file mode 100644
index e4ab12bfe..000000000
--- a/staging/xf86-video-ark/PKGBUILD
+++ /dev/null
@@ -1,31 +0,0 @@
-# $Id: PKGBUILD 168104 2012-10-05 20:26:50Z andyrtr $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=xf86-video-ark
-pkgver=0.7.5
-pkgrel=2
-pkgdesc="X.org ark video driver"
-arch=(i686 x86_64)
-url="http://xorg.freedesktop.org/"
-license=('custom')
-depends=('glibc')
-makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=13' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13.0' 'X-ABI-VIDEODRV_VERSION<13' 'X-ABI-VIDEODRV_VERSION>=14')
-options=('!libtool')
-groups=('xorg-drivers' 'xorg')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('c690e046f34a393aac1c8d9616b4790e93cda60a460b00b9597d322175dbe51e')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
diff --git a/staging/xf86-video-ast/PKGBUILD b/staging/xf86-video-ast/PKGBUILD
deleted file mode 100644
index 448aa5d54..000000000
--- a/staging/xf86-video-ast/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# $Id: PKGBUILD 168106 2012-10-05 20:30:31Z andyrtr $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=xf86-video-ast
-pkgver=0.97.0
-pkgrel=2
-pkgdesc="X.org ASPEED AST Graphics video driver"
-arch=(i686 x86_64)
-url="http://xorg.freedesktop.org/"
-license=('custom')
-depends=('glibc')
-makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=13' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13.0' 'X-ABI-VIDEODRV_VERSION<13' 'X-ABI-VIDEODRV_VERSION>=14')
-options=('!libtool')
-groups=('xorg-drivers' 'xorg')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('28fcd4781676485293f6dcd46e0797866f6219e22e1851c9796b037589998e76')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
diff --git a/staging/xfce4-session/PKGBUILD b/staging/xfce4-session/PKGBUILD
deleted file mode 100644
index 1a320ff4a..000000000
--- a/staging/xfce4-session/PKGBUILD
+++ /dev/null
@@ -1,51 +0,0 @@
-# $Id: PKGBUILD 168748 2012-10-15 13:21:21Z foutrelis $
-# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
-# Contributor: tobias <tobias funnychar archlinux.org>
-
-pkgname=xfce4-session
-pkgver=4.10.0
-pkgrel=6
-pkgdesc="A session manager for Xfce"
-arch=('i686' 'x86_64')
-url="http://www.xfce.org/"
-license=('GPL2')
-groups=('xfce4')
-depends=('libxfce4ui' 'libwnck' 'libsm' 'xorg-iceauth' 'upower' 'xorg-xinit'
- 'hicolor-icon-theme')
-makedepends=('intltool' 'xfce4-dev-tools')
-optdepends=('gnome-keyring: for keyring support when GNOME compatibility is enabled'
- 'xscreensaver: for locking screen with xflock4'
- 'gnome-screensaver: for locking screen with xflock4'
- 'xlockmore: for locking screen with xflock4')
-replaces=('xfce-utils')
-options=('!libtool')
-install=$pkgname.install
-source=(http://archive.xfce.org/src/xfce/$pkgname/4.10/$pkgname-$pkgver.tar.bz2
- xfce4-session-4.10.0-add-systemd-support.patch)
-sha256sums=('bb8aa9a74c3d382840596fb4875144d66c7f3f47c8e9ee81d31e3428a72c46ce'
- 'ffae61c48a4bd0cb51d422cb93f2de9567abaf29085370c455ef349b6a10234b')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
-
- # https://bugzilla.xfce.org/show_bug.cgi?id=8729
- patch -Np1 -i "$srcdir/xfce4-session-4.10.0-add-systemd-support.patch"
-
- xdt-autogen
-
- ./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --libexecdir=/usr/lib/xfce4 \
- --localstatedir=/var \
- --disable-static \
- --disable-debug
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir" install
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/staging/xfce4-session/xfce4-session-4.10.0-add-systemd-support.patch b/staging/xfce4-session/xfce4-session-4.10.0-add-systemd-support.patch
deleted file mode 100644
index 7ab637b26..000000000
--- a/staging/xfce4-session/xfce4-session-4.10.0-add-systemd-support.patch
+++ /dev/null
@@ -1,388 +0,0 @@
-diff --git a/xfce4-session/xfsm-systemd.c b/xfce4-session/xfsm-systemd.c
-index 4076586..90e7873 100644
---- /dev/null
-+++ b/xfce4-session/xfsm-systemd.c
-@@ -0,0 +1,123 @@
-+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
-+ *
-+ * Copyright (C) 2012 Christian Hesse
-+ *
-+ * Licensed under the GNU General Public License Version 2
-+ *
-+ * This program is free software; you can redistribute it and/or modify
-+ * it under the terms of the GNU General Public License as published by
-+ * the Free Software Foundation; either version 2 of the License, or
-+ * (at your option) any later version.
-+ *
-+ * This program is distributed in the hope that it will be useful,
-+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
-+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-+ * GNU General Public License for more details.
-+ *
-+ * You should have received a copy of the GNU General Public License
-+ * along with this program; if not, write to the Free Software
-+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-+ */
-+
-+#include <config.h>
-+
-+#include <gio/gio.h>
-+#include <polkit/polkit.h>
-+
-+#include "xfsm-systemd.h"
-+
-+#define SYSTEMD_DBUS_NAME "org.freedesktop.login1"
-+#define SYSTEMD_DBUS_PATH "/org/freedesktop/login1"
-+#define SYSTEMD_DBUS_INTERFACE "org.freedesktop.login1.Manager"
-+#define SYSTEMD_REBOOT_ACTION "org.freedesktop.login1.reboot"
-+#define SYSTEMD_SHUTDOWN_ACTION "org.freedesktop.login1.power-off"
-+
-+struct _SystemdProxy {
-+ PolkitAuthority *authority;
-+ PolkitSubject *subject;
-+};
-+
-+SystemdProxy *
-+systemd_proxy_new (void)
-+{
-+ SystemdProxy *proxy;
-+
-+ proxy = g_new0 (SystemdProxy, 1);
-+
-+ proxy->authority = polkit_authority_get_sync (NULL, NULL);
-+ proxy->subject = polkit_unix_process_new (getpid());
-+
-+ return proxy;
-+}
-+
-+void
-+systemd_proxy_free (SystemdProxy *proxy)
-+{
-+ g_object_unref (proxy->authority);
-+ g_object_unref (proxy->subject);
-+
-+ g_free (proxy);
-+}
-+
-+gboolean systemd_proxy_can_method (SystemdProxy *proxy, gboolean *can_method, const gchar *method, GError **error)
-+{
-+ PolkitAuthorizationResult *res;
-+ GError *local_error = NULL;
-+
-+ *can_method = FALSE;
-+ res = polkit_authority_check_authorization_sync (proxy->authority,
-+ proxy->subject,
-+ method,
-+ NULL,
-+ POLKIT_CHECK_AUTHORIZATION_FLAGS_NONE,
-+ NULL,
-+ &local_error);
-+ if (res == NULL) {
-+ g_propagate_error (error, local_error);
-+ return FALSE;
-+ }
-+
-+ *can_method = polkit_authorization_result_get_is_authorized (res) ||
-+ polkit_authorization_result_get_is_challenge (res);
-+
-+ g_object_unref (res);
-+
-+ return TRUE;
-+}
-+
-+gboolean systemd_proxy_can_restart (SystemdProxy *proxy, gboolean *can_restart, GError **error)
-+{
-+ return systemd_proxy_can_method(proxy, can_restart, SYSTEMD_REBOOT_ACTION, error);
-+}
-+
-+gboolean systemd_proxy_can_shutdown (SystemdProxy *proxy, gboolean *can_shutdown, GError **error)
-+{
-+ return systemd_proxy_can_method(proxy, can_shutdown, SYSTEMD_SHUTDOWN_ACTION, error);
-+}
-+
-+gboolean systemd_proxy_method (SystemdProxy *proxy, const gchar *method, GError **error)
-+{
-+ GDBusConnection *bus;
-+
-+ bus = g_bus_get_sync (G_BUS_TYPE_SYSTEM, NULL, NULL);
-+ g_dbus_connection_call_sync (bus,
-+ SYSTEMD_DBUS_NAME,
-+ SYSTEMD_DBUS_PATH,
-+ SYSTEMD_DBUS_INTERFACE,
-+ method,
-+ g_variant_new ("(b)", TRUE),
-+ NULL, 0, G_MAXINT, NULL, NULL);
-+ g_object_unref (bus);
-+
-+ return TRUE;
-+}
-+
-+gboolean systemd_proxy_restart (SystemdProxy *proxy, GError **error)
-+{
-+ return systemd_proxy_method(proxy, "Reboot", error);
-+}
-+
-+gboolean systemd_proxy_shutdown (SystemdProxy *proxy, GError **error)
-+{
-+ return systemd_proxy_method(proxy, "PowerOff", error);
-+}
-diff --git a/xfce4-session/xfsm-systemd.h b/xfce4-session/xfsm-systemd.h
-index 3fa8317..2c4d868 100644
---- /dev/null
-+++ b/xfce4-session/xfsm-systemd.h
-@@ -0,0 +1,42 @@
-+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
-+ *
-+ * Copyright (C) 2012 Christian Hesse
-+ *
-+ * Licensed under the GNU General Public License Version 2
-+ *
-+ * This program is free software; you can redistribute it and/or modify
-+ * it under the terms of the GNU General Public License as published by
-+ * the Free Software Foundation; either version 2 of the License, or
-+ * (at your option) any later version.
-+ *
-+ * This program is distributed in the hope that it will be useful,
-+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
-+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-+ * GNU General Public License for more details.
-+ *
-+ * You should have received a copy of the GNU General Public License
-+ * along with this program; if not, write to the Free Software
-+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-+ */
-+
-+#ifndef __SYSTEMD_PROXY_H__
-+#define __SYSTEMD_PROXY_H__
-+
-+#include <glib.h>
-+
-+G_BEGIN_DECLS
-+
-+typedef struct _SystemdProxy SystemdProxy;
-+
-+SystemdProxy *systemd_proxy_new (void);
-+void systemd_proxy_free (SystemdProxy *proxy);
-+gboolean systemd_proxy_can_method (SystemdProxy *proxy, gboolean *can_method, const char *method, GError **error);
-+gboolean systemd_proxy_can_restart (SystemdProxy *proxy, gboolean *can_restart, GError **error);
-+gboolean systemd_proxy_can_shutdown (SystemdProxy *proxy, gboolean *can_shutdown, GError **error);
-+gboolean systemd_proxy_method (SystemdProxy *proxy, const char *method, GError **error);
-+gboolean systemd_proxy_restart (SystemdProxy *proxy, GError **error);
-+gboolean systemd_proxy_shutdown (SystemdProxy *proxy, GError **error);
-+
-+G_END_DECLS
-+
-+#endif /* __SYSTEMD_PROXY_H__ */
-
-commit 518a28c23f110617aad36e64c02cdab6a36adf37
-Author: Christian Hesse <eworm@leda.eworm.de>
-Date: Fri Jul 27 14:21:14 2012 +0200
-
- ...
-
-diff --git a/configure.in.in b/configure.in.in
-index 9aa4f8f..aa0b8bb 100644
---- a/configure.in
-+++ b/configure.in
-@@ -96,6 +96,33 @@ XDT_CHECK_PACKAGE([DBUS], [dbus-1], [1.1.0])
- XDT_CHECK_PACKAGE([DBUS_GLIB], [dbus-glib-1], [0.84])
- XDT_CHECK_PACKAGE([XFCONF], [libxfconf-0], [4.9.0])
-
-+dnl systemd integration
-+AC_ARG_ENABLE([systemd],
-+ AS_HELP_STRING([--enable-systemd], [Use systemd]),
-+ [with_systemd=$enableval],
-+ [with_systemd=auto])
-+PKG_CHECK_MODULES(SYSTEMD,
-+ [libsystemd-login polkit-gobject-1],
-+ [have_systemd=yes], [have_systemd=no])
-+AC_MSG_CHECKING([whether to use systemd])
-+if test x$with_systemd = xauto ; then
-+ if test x$have_systemd = xno ; then
-+ with_systemd=no
-+ else
-+ with_systemd=yes
-+ fi
-+fi
-+AC_MSG_RESULT($with_systemd)
-+if test x$with_systemd = xyes; then
-+ if test x$have_systemd = xno; then
-+ AC_MSG_ERROR([Systemd support explicitly required, but systemd not found])
-+ fi
-+ AC_DEFINE(HAVE_SYSTEMD, 1, [Define if systemd is used for session tracking])
-+fi
-+AC_SUBST(SYSTEMD_CFLAGS)
-+AC_SUBST(SYSTEMD_LIBS)
-+AM_CONDITIONAL(WITH_SYSTEMD, [test "$with_systemd" = "yes"], [Using systemd])
-+
- dnl Check for debugging support
- XDT_FEATURE_DEBUG([xfsm_debug_default])
-
-
-commit f1279eba9452f027a2037be77388767437161d51
-Author: Christian Hesse <eworm@leda.eworm.de>
-Date: Fri Jul 27 14:18:16 2012 +0200
-
- ...
-
-diff --git a/xfce4-session/xfsm-shutdown.c b/xfce4-session/xfsm-shutdown.c
-index 1429abd..077cdf3 100644
---- a/xfce4-session/xfsm-shutdown.c
-+++ b/xfce4-session/xfsm-shutdown.c
-@@ -96,7 +96,11 @@ struct _XfsmShutdown
- {
- GObject __parent__;
-
-+#ifdef HAVE_SYSTEMD
-+ SystemdProxy *systemd_proxy;
-+#else
- XfsmConsolekit *consolekit;
-+#endif
- XfsmUPower *upower;
-
- /* kiosk settings */
-@@ -134,7 +138,11 @@ xfsm_shutdown_init (XfsmShutdown *shutdown)
- {
- XfceKiosk *kiosk;
-
-+#ifdef HAVE_SYSTEMD
-+ shutdown->systemd_proxy = systemd_proxy_new ();
-+#else
- shutdown->consolekit = xfsm_consolekit_get ();
-+#endif
- shutdown->upower = xfsm_upower_get ();
- shutdown->helper_state = SUDO_NOT_INITIAZED;
- shutdown->helper_require_password = FALSE;
-@@ -153,7 +161,11 @@ xfsm_shutdown_finalize (GObject *object)
- {
- XfsmShutdown *shutdown = XFSM_SHUTDOWN (object);
-
-+#ifdef HAVE_SYSTEMD
-+ systemd_proxy_free (shutdown->systemd_proxy);
-+#else
- g_object_unref (G_OBJECT (shutdown->consolekit));
-+#endif
- g_object_unref (G_OBJECT (shutdown->upower));
-
- /* close down helper */
-@@ -644,7 +656,11 @@ xfsm_shutdown_try_restart (XfsmShutdown *shutdown,
- if (shutdown->helper_state == SUDO_AVAILABLE)
- return xfsm_shutdown_sudo_try_action (shutdown, XFSM_SHUTDOWN_RESTART, error);
- else
-+#ifdef HAVE_SYSTEMD
-+ return systemd_proxy_restart (shutdown->systemd_proxy, error);
-+#else
- return xfsm_consolekit_try_restart (shutdown->consolekit, error);
-+#endif
- }
-
-
-@@ -661,7 +677,11 @@ xfsm_shutdown_try_shutdown (XfsmShutdown *shutdown,
- if (shutdown->helper_state == SUDO_AVAILABLE)
- return xfsm_shutdown_sudo_try_action (shutdown, XFSM_SHUTDOWN_SHUTDOWN, error);
- else
-+#ifdef HAVE_SYSTEMD
-+ return systemd_proxy_shutdown (shutdown->systemd_proxy, error);
-+#else
- return xfsm_consolekit_try_shutdown (shutdown->consolekit, error);
-+#endif
- }
-
-
-@@ -701,7 +721,11 @@ xfsm_shutdown_can_restart (XfsmShutdown *shutdown,
- return TRUE;
- }
-
-+#ifdef HAVE_SYSTEMD
-+ if (systemd_proxy_can_restart (shutdown->systemd_proxy, can_restart, error))
-+#else
- if (xfsm_consolekit_can_restart (shutdown->consolekit, can_restart, error))
-+#endif
- return TRUE;
-
- if (xfsm_shutdown_sudo_init (shutdown, error))
-@@ -728,7 +752,11 @@ xfsm_shutdown_can_shutdown (XfsmShutdown *shutdown,
- return TRUE;
- }
-
-+#ifdef HAVE_SYSTEMD
-+ if (systemd_proxy_can_shutdown (shutdown->systemd_proxy, can_shutdown, error))
-+#else
- if (xfsm_consolekit_can_shutdown (shutdown->consolekit, can_shutdown, error))
-+#endif
- return TRUE;
-
- if (xfsm_shutdown_sudo_init (shutdown, error))
-
-commit 5aea3fb853683246a537a67423cf5b32076b8dfb
-Author: Christian Hesse <eworm@leda.eworm.de>
-Date: Fri Jul 27 14:03:27 2012 +0200
-
- ...
-
-diff --git a/xfce4-session/Makefile.am b/xfce4-session/Makefile.am
-index c015154..7e3b311 100644
---- a/xfce4-session/Makefile.am
-+++ b/xfce4-session/Makefile.am
-@@ -38,8 +38,6 @@ xfce4_session_SOURCES = \
- xfsm-compat-gnome.h \
- xfsm-compat-kde.c \
- xfsm-compat-kde.h \
-- xfsm-consolekit.c \
-- xfsm-consolekit.h \
- xfsm-dns.c \
- xfsm-dns.h \
- xfsm-error.c \
-@@ -65,6 +63,16 @@ xfce4_session_SOURCES = \
- xfsm-upower.c \
- xfsm-upower.h
-
-+if WITH_SYSTEMD
-+xfce4_session_SOURCES += \
-+ xfsm-systemd.c \
-+ xfsm-systemd.h
-+else
-+xfce4_session_SOURCES += \
-+ xfsm-consolekit.c \
-+ xfsm-consolekit.h
-+endif
-+
- xfce4_session_CFLAGS = \
- $(LIBSM_CFLAGS) \
- $(LIBX11_CFLAGS) \
-@@ -72,6 +80,7 @@ xfce4_session_CFLAGS = \
- $(DBUS_CFLAGS) \
- $(DBUS_GLIB_CFLAGS) \
- $(LIBWNCK_CFLAGS) \
-+ $(SYSTEMD_CFLAGS) \
- $(XFCONF_CFLAGS) \
- $(GMODULE_CFLAGS) \
- $(PLATFORM_CFLAGS)
-@@ -91,6 +100,7 @@ xfce4_session_LDADD = \
- $(DBUS_LIBS) \
- $(DBUS_GLIB_LIBS) \
- $(LIBWNCK_LIBS) \
-+ $(SYSTEMD_LIBS) \
- $(XFCONF_LIBS) \
- -lm
-
-diff --git a/xfce4-session/xfsm-shutdown.c b/xfce4-session/xfsm-shutdown.c
-index d8757a8..1429abd 100644
---- a/xfce4-session/xfsm-shutdown.c
-+++ b/xfce4-session/xfsm-shutdown.c
-@@ -66,10 +66,13 @@
- #include <xfce4-session/xfsm-fadeout.h>
- #include <xfce4-session/xfsm-global.h>
- #include <xfce4-session/xfsm-legacy.h>
--#include <xfce4-session/xfsm-consolekit.h>
- #include <xfce4-session/xfsm-upower.h>
-
--
-+#ifdef HAVE_SYSTEMD
-+#include <xfce4-session/xfsm-systemd.h>
-+#else
-+#include <xfce4-session/xfsm-consolekit.h>
-+#endif
-
- static void xfsm_shutdown_finalize (GObject *object);
- static void xfsm_shutdown_sudo_free (XfsmShutdown *shutdown);
diff --git a/staging/xfce4-session/xfce4-session.install b/staging/xfce4-session/xfce4-session.install
deleted file mode 100644
index e4f8fd06c..000000000
--- a/staging/xfce4-session/xfce4-session.install
+++ /dev/null
@@ -1,13 +0,0 @@
-post_install() {
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/staging/xorg-server/10-quirks.conf b/staging/xorg-server/10-quirks.conf
deleted file mode 100644
index 7afad22dc..000000000
--- a/staging/xorg-server/10-quirks.conf
+++ /dev/null
@@ -1,10 +0,0 @@
-# Collection of quirks and blacklist/whitelists for specific devices.
-
-
-# Accelerometer device, posts data through ABS_X/ABS_Y, making X unusable
-# http://bugs.freedesktop.org/show_bug.cgi?id=22442
-Section "InputClass"
- Identifier "ThinkPad HDAPS accelerometer blacklist"
- MatchProduct "ThinkPad HDAPS accelerometer data"
- Option "Ignore" "on"
-EndSection
diff --git a/staging/xorg-server/PKGBUILD b/staging/xorg-server/PKGBUILD
deleted file mode 100644
index 03700888d..000000000
--- a/staging/xorg-server/PKGBUILD
+++ /dev/null
@@ -1,196 +0,0 @@
-# $Id: PKGBUILD 168024 2012-10-05 12:03:57Z andyrtr $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgbase=xorg-server
-pkgname=('xorg-server' 'xorg-server-xephyr' 'xorg-server-xdmx' 'xorg-server-xvfb' 'xorg-server-xnest' 'xorg-server-common' 'xorg-server-devel')
-pkgver=1.13.0
-pkgrel=2
-arch=('i686' 'x86_64')
-license=('custom')
-url="http://xorg.freedesktop.org"
-makedepends=('pixman' 'libx11' 'mesa' 'libgl' 'xf86driproto' 'xcmiscproto' 'xtrans' 'bigreqsproto' 'randrproto' 'inputproto' 'fontsproto' 'videoproto'
- 'compositeproto' 'recordproto' 'scrnsaverproto' 'resourceproto' 'xineramaproto' 'libxkbfile' 'libxfont' 'renderproto' 'libpciaccess'
- 'libxv' 'xf86dgaproto' 'libxmu' 'libxrender' 'libxi' 'dmxproto' 'libxaw' 'libdmx' 'libxtst' 'libxres' 'xorg-xkbcomp' 'xorg-util-macros'
- 'xorg-font-util' 'glproto' 'dri2proto' 'libgcrypt')
-options=('!libtool')
-source=(${url}/releases/individual/xserver/${pkgbase}-${pkgver}.tar.bz2
- autoconfig-nvidia.patch
- autoconfig-sis.patch
- xvfb-run
- xvfb-run.1
- 10-quirks.conf)
-sha256sums=('548b91cb01087ad4f892428e7ac4955251cf12393e86c70420436b33848ef28a'
- '66e25f76a7496c429e0aff4b0670f168719bb0ceaeb88c6f2272f2bf3ed21162'
- 'd027776fac1f7675b0a9ee817502290b1c45f9c09b0f0a6bb058c35f92361e84'
- 'ff0156309470fc1d378fd2e104338020a884295e285972cc88e250e031cc35b9'
- '2460adccd3362fefd4cdc5f1c70f332d7b578091fb9167bf88b5f91265bbd776'
- '94612f5c0d34a3b7152915c2e285c7b462e9d8e38d3539bd551a339498eac166')
-
-build() {
- cd "${srcdir}/${pkgbase}-${pkgver}"
-
- # Use nouveau/nv/nvidia drivers for nvidia devices
- patch -Np1 -i "${srcdir}/autoconfig-nvidia.patch"
-
- # Use unofficial imedia SiS driver for supported SiS devices
- patch -Np0 -i "${srcdir}/autoconfig-sis.patch"
-
- autoreconf -fi
- ./configure --prefix=/usr \
- --enable-ipv6 \
- --enable-dri \
- --enable-dmx \
- --enable-xvfb \
- --enable-xnest \
- --enable-composite \
- --enable-xcsecurity \
- --enable-xorg \
- --enable-xephyr \
- --enable-glx-tls \
- --enable-kdrive \
- --enable-kdrive-evdev \
- --enable-kdrive-kbd \
- --enable-kdrive-mouse \
- --enable-install-setuid \
- --enable-config-udev \
- --disable-config-dbus \
- --enable-record \
- --disable-xfbdev \
- --disable-xfake \
- --disable-static \
- --sysconfdir=/etc/X11 \
- --localstatedir=/var \
- --with-xkb-path=/usr/share/X11/xkb \
- --with-xkb-output=/var/lib/xkb \
- --with-fontrootdir=/usr/share/fonts
- make
-
- # Disable subdirs for make install rule to make splitting easier
- sed -e 's/^DMX_SUBDIRS =.*/DMX_SUBDIRS =/' \
- -e 's/^XVFB_SUBDIRS =.*/XVFB_SUBDIRS =/' \
- -e 's/^XNEST_SUBDIRS =.*/XNEST_SUBDIRS = /' \
- -e 's/^KDRIVE_SUBDIRS =.*/KDRIVE_SUBDIRS =/' \
- -i hw/Makefile
-}
-
-package_xorg-server-common() {
- pkgdesc="Xorg server common files"
- depends=('xkeyboard-config' 'xorg-xkbcomp' 'xorg-setxkbmap' 'xorg-fonts-misc')
-
- cd "${srcdir}/${pkgbase}-${pkgver}"
- install -m755 -d "${pkgdir}/usr/share/licenses/xorg-server-common"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/xorg-server-common"
-
- make -C xkb DESTDIR="${pkgdir}" install-data
-
- install -m755 -d "${pkgdir}/usr/share/man/man1"
- install -m644 man/Xserver.1 "${pkgdir}/usr/share/man/man1/"
-
- install -m755 -d "${pkgdir}/usr/lib/xorg"
- install -m644 dix/protocol.txt "${pkgdir}/usr/lib/xorg/"
-}
-
-package_xorg-server() {
- pkgdesc="Xorg X server"
- depends=(libxdmcp libxfont libpciaccess libdrm pixman libgcrypt libxau xorg-server-common xf86-input-evdev)
- backup=('etc/X11/xorg.conf.d/10-evdev.conf' 'etc/X11/xorg.conf.d/10-quirks.conf')
- # see xorg-server-1.13.0/hw/xfree86/common/xf86Module.h for ABI versions - we provide major numbers that drivers can depend on
- provides=('X-ABI-VIDEODRV_VERSION=13' 'X-ABI-XINPUT_VERSION=18' 'X-ABI-EXTENSION_VERSION=7.0' 'x-server')
- groups=('xorg')
- conflicts=('nvidia-utils<=290.10')
-
- cd "${srcdir}/${pkgbase}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-
- install -m755 -d "${pkgdir}/etc/X11"
- mv "${pkgdir}/usr/share/X11/xorg.conf.d" "${pkgdir}/etc/X11/"
- install -m644 "${srcdir}/10-quirks.conf" "${pkgdir}/etc/X11/xorg.conf.d/"
-
- rmdir "${pkgdir}/usr/share/X11"
-
- # Needed for non-mesa drivers, libgl will restore it
- mv "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.so" \
- "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.xorg"
-
- rm -rf "${pkgdir}/var"
-
- rm -f "${pkgdir}/usr/share/man/man1/Xserver.1"
- rm -f "${pkgdir}/usr/lib/xorg/protocol.txt"
-
- install -m755 -d "${pkgdir}/usr/share/licenses/xorg-server"
- ln -sf ../xorg-server-common/COPYING "${pkgdir}/usr/share/licenses/xorg-server/COPYING"
-
- rm -rf "${pkgdir}/usr/lib/pkgconfig"
- rm -rf "${pkgdir}/usr/include"
- rm -rf "${pkgdir}/usr/share/aclocal"
-}
-
-package_xorg-server-xephyr() {
- pkgdesc="A nested X server that runs as an X application"
- depends=(libxfont libgl libgcrypt libxv pixman xorg-server-common)
-
- cd "${srcdir}/${pkgbase}-${pkgver}/hw/kdrive"
- make DESTDIR="${pkgdir}" install
-
- install -m755 -d "${pkgdir}/usr/share/licenses/xorg-server-xephyr"
- ln -sf ../xorg-server-common/COPYING "${pkgdir}/usr/share/licenses/xorg-server-xephyr/COPYING"
-}
-
-package_xorg-server-xvfb() {
- pkgdesc="Virtual framebuffer X server"
- depends=(libxfont libxdmcp libxau libgcrypt pixman xorg-server-common)
-
- cd "${srcdir}/${pkgbase}-${pkgver}/hw/vfb"
- make DESTDIR="${pkgdir}" install
-
- install -m755 "${srcdir}/xvfb-run" "${pkgdir}/usr/bin/"
- install -m644 "${srcdir}/xvfb-run.1" "${pkgdir}/usr/share/man/man1/"
-
- install -m755 -d "${pkgdir}/usr/share/licenses/xorg-server-xvfb"
- ln -sf ../xorg-server-common/COPYING "${pkgdir}/usr/share/licenses/xorg-server-xvfb/COPYING"
-}
-
-package_xorg-server-xnest() {
- pkgdesc="A nested X server that runs as an X application"
- depends=(libxfont libxext libgcrypt pixman xorg-server-common)
-
- cd "${srcdir}/${pkgbase}-${pkgver}/hw/xnest"
- make DESTDIR="${pkgdir}" install
-
- install -m755 -d "${pkgdir}/usr/share/licenses/xorg-server-xnest"
- ln -sf ../xorg-server-common/COPYING "${pkgdir}/usr/share/licenses/xorg-server-xnest/COPYING"
-}
-
-package_xorg-server-xdmx() {
- pkgdesc="Distributed Multihead X Server and utilities"
- depends=(libxfont libxi libgcrypt libxaw libxrender libdmx libxfixes pixman xorg-server-common)
-
- cd "${srcdir}/${pkgbase}-${pkgver}/hw/dmx"
- make DESTDIR="${pkgdir}" install
-
- install -m755 -d "${pkgdir}/usr/share/licenses/xorg-server-xdmx"
- ln -sf ../xorg-server-common/COPYING "${pkgdir}/usr/share/licenses/xorg-server-xdmx/COPYING"
-}
-
-package_xorg-server-devel() {
- pkgdesc="Development files for the X.Org X server"
- depends=(# see pkgdir/usr/lib/pkgconfig/xorg-server.pc
- xproto randrproto renderproto xextproto inputproto kbproto
- fontsproto pixman videoproto xf86driproto glproto
- mesa dri2proto xineramaproto libpciaccess
- # not technically required but almost every Xorg pkg needs it to build
- xorg-util-macros)
-
- cd "${srcdir}/${pkgbase}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-
- rm -rf "${pkgdir}/usr/bin"
- rm -rf "${pkgdir}/usr/share/man"
- rm -rf "${pkgdir}/usr/share/doc"
- rm -rf "${pkgdir}/usr/share/X11"
- rm -rf "${pkgdir}/usr/lib/xorg"
- rm -rf "${pkgdir}/var"
-
- install -m755 -d "${pkgdir}/usr/share/licenses/xorg-server-devel"
- ln -sf ../xorg-server-common/COPYING "${pkgdir}/usr/share/licenses/xorg-server-devel/COPYING"
-}
diff --git a/staging/xorg-server/autoconfig-nvidia.patch b/staging/xorg-server/autoconfig-nvidia.patch
deleted file mode 100644
index 6d5220ac7..000000000
--- a/staging/xorg-server/autoconfig-nvidia.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-diff -Nur xorg-server-1.11.99.902.orig/hw/xfree86/common/xf86pciBus.c xorg-server-1.11.99.902/hw/xfree86/common/xf86pciBus.c
---- xorg-server-1.11.99.902.orig/hw/xfree86/common/xf86pciBus.c 2012-02-10 10:10:37.583014924 +0000
-+++ xorg-server-1.11.99.902/hw/xfree86/common/xf86pciBus.c 2012-02-10 11:16:07.148971317 +0000
-@@ -1144,7 +1144,23 @@
- int idx = 0;
-
- #ifdef __linux__
-- driverList[idx++] = "nouveau";
-+ switch (dev->device_id)
-+ {
-+ /* NV1 */
-+ case 0x0008:
-+ case 0x0009:
-+ driverList[idx++] = "vesa";
-+ break;
-+ /* NV3 */
-+ case 0x0018:
-+ case 0x0019:
-+ driverList[idx++] = "nouveau";
-+ break;
-+ default:
-+ driverList[idx++] = "nouveau";
-+ driverList[idx++] = "nvidia";
-+ break;
-+ }
- #endif
- driverList[idx++] = "nv";
- break;
diff --git a/staging/xorg-server/autoconfig-sis.patch b/staging/xorg-server/autoconfig-sis.patch
deleted file mode 100644
index 0b50049db..000000000
--- a/staging/xorg-server/autoconfig-sis.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- hw/xfree86/common/xf86pciBus.c.orig 2011-09-24 10:53:45.421697668 +0000
-+++ hw/xfree86/common/xf86pciBus.c 2011-09-24 10:55:56.416250708 +0000
-@@ -1200,9 +1200,15 @@
- break;
- }
- break;
-- case 0x1039:
-- driverList[0] = "sis";
-- break;
-+ case 0x1039:
-+ switch (dev->device_id)
-+ {
-+ case 0x6350: case 0x6351:
-+ driverList[0] = "sisimedia"; driverList[1] = "sis"; break;
-+ default:
-+ driverList[0] = "sis"; break;
-+ }
-+ break;
- case 0x126f:
- driverList[0] = "siliconmotion";
- break;
diff --git a/staging/xorg-server/xvfb-run b/staging/xorg-server/xvfb-run
deleted file mode 100644
index 4c2f4e0d3..000000000
--- a/staging/xorg-server/xvfb-run
+++ /dev/null
@@ -1,180 +0,0 @@
-#!/bin/sh
-
-# $Id: xvfb-run 2027 2004-11-16 14:54:16Z branden $
-
-# This script starts an instance of Xvfb, the "fake" X server, runs a command
-# with that server available, and kills the X server when done. The return
-# value of the command becomes the return value of this script.
-#
-# If anyone is using this to build a Debian package, make sure the package
-# Build-Depends on xvfb, xbase-clients, and xfonts-base.
-
-set -e
-
-PROGNAME=xvfb-run
-SERVERNUM=99
-AUTHFILE=
-ERRORFILE=/dev/null
-STARTWAIT=3
-XVFBARGS="-screen 0 640x480x8"
-LISTENTCP="-nolisten tcp"
-XAUTHPROTO=.
-
-# Query the terminal to establish a default number of columns to use for
-# displaying messages to the user. This is used only as a fallback in the event
-# the COLUMNS variable is not set. ($COLUMNS can react to SIGWINCH while the
-# script is running, and this cannot, only being calculated once.)
-DEFCOLUMNS=$(stty size 2>/dev/null | awk '{print $2}') || true
-if ! expr "$DEFCOLUMNS" : "[[:digit:]]\+$" >/dev/null 2>&1; then
- DEFCOLUMNS=80
-fi
-
-# Display a message, wrapping lines at the terminal width.
-message () {
- echo "$PROGNAME: $*" | fmt -t -w ${COLUMNS:-$DEFCOLUMNS}
-}
-
-# Display an error message.
-error () {
- message "error: $*" >&2
-}
-
-# Display a usage message.
-usage () {
- if [ -n "$*" ]; then
- message "usage error: $*"
- fi
- cat <<EOF
-Usage: $PROGNAME [OPTION ...] COMMAND
-Run COMMAND (usually an X client) in a virtual X server environment.
-Options:
--a --auto-servernum try to get a free server number, starting at
- --server-num
--e FILE --error-file=FILE file used to store xauth errors and Xvfb
- output (default: $ERRORFILE)
--f FILE --auth-file=FILE file used to store auth cookie
- (default: ./.Xauthority)
--h --help display this usage message and exit
--n NUM --server-num=NUM server number to use (default: $SERVERNUM)
--l --listen-tcp enable TCP port listening in the X server
--p PROTO --xauth-protocol=PROTO X authority protocol name to use
- (default: xauth command's default)
--s ARGS --server-args=ARGS arguments (other than server number and
- "-nolisten tcp") to pass to the Xvfb server
- (default: "$XVFBARGS")
--w DELAY --wait=DELAY delay in seconds to wait for Xvfb to start
- before running COMMAND (default: $STARTWAIT)
-EOF
-}
-
-# Find a free server number by looking at .X*-lock files in /tmp.
-find_free_servernum() {
- # Sadly, the "local" keyword is not POSIX. Leave the next line commented in
- # the hope Debian Policy eventually changes to allow it in /bin/sh scripts
- # anyway.
- #local i
-
- i=$SERVERNUM
- while [ -f /tmp/.X$i-lock ]; do
- i=$(($i + 1))
- done
- echo $i
-}
-
-# Clean up files
-clean_up() {
- if [ -e "$AUTHFILE" ]; then
- XAUTHORITY=$AUTHFILE xauth remove ":$SERVERNUM" >>"$ERRORFILE" 2>&1
- fi
- if [ -n "$XVFB_RUN_TMPDIR" ]; then
- if ! rm -r "$XVFB_RUN_TMPDIR"; then
- error "problem while cleaning up temporary directory"
- exit 5
- fi
- fi
-}
-
-# Parse the command line.
-ARGS=$(getopt --options +ae:f:hn:lp:s:w: \
- --long auto-servernum,error-file:,auth-file:,help,server-num:,listen-tcp,xauth-protocol:,server-args:,wait: \
- --name "$PROGNAME" -- "$@")
-GETOPT_STATUS=$?
-
-if [ $GETOPT_STATUS -ne 0 ]; then
- error "internal error; getopt exited with status $GETOPT_STATUS"
- exit 6
-fi
-
-eval set -- "$ARGS"
-
-while :; do
- case "$1" in
- -a|--auto-servernum) SERVERNUM=$(find_free_servernum) ;;
- -e|--error-file) ERRORFILE="$2"; shift ;;
- -f|--auth-file) AUTHFILE="$2"; shift ;;
- -h|--help) SHOWHELP="yes" ;;
- -n|--server-num) SERVERNUM="$2"; shift ;;
- -l|--listen-tcp) LISTENTCP="" ;;
- -p|--xauth-protocol) XAUTHPROTO="$2"; shift ;;
- -s|--server-args) XVFBARGS="$2"; shift ;;
- -w|--wait) STARTWAIT="$2"; shift ;;
- --) shift; break ;;
- *) error "internal error; getopt permitted \"$1\" unexpectedly"
- exit 6
- ;;
- esac
- shift
-done
-
-if [ "$SHOWHELP" ]; then
- usage
- exit 0
-fi
-
-if [ -z "$*" ]; then
- usage "need a command to run" >&2
- exit 2
-fi
-
-if ! which xauth >/dev/null; then
- error "xauth command not found"
- exit 3
-fi
-
-# tidy up after ourselves
-trap clean_up EXIT
-
-# If the user did not specify an X authorization file to use, set up a temporary
-# directory to house one.
-if [ -z "$AUTHFILE" ]; then
- XVFB_RUN_TMPDIR="$(mktemp -d -t $PROGNAME.XXXXXX)"
- AUTHFILE="$XVFB_RUN_TMPDIR/Xauthority"
-fi
-
-# Start Xvfb.
-MCOOKIE=$(mcookie)
-XAUTHORITY=$AUTHFILE xauth source - << EOF >>"$ERRORFILE" 2>&1
-add :$SERVERNUM $XAUTHPROTO $MCOOKIE
-EOF
-XAUTHORITY=$AUTHFILE Xvfb ":$SERVERNUM" $XVFBARGS $LISTENTCP >>"$ERRORFILE" \
- 2>&1 &
-XVFBPID=$!
-sleep "$STARTWAIT"
-if ! kill -0 $XVFBPID 2>/dev/null; then
- echo "Xvfb failed to start" >&2
- exit 1
-fi
-
-# Start the command and save its exit status.
-set +e
-DISPLAY=:$SERVERNUM XAUTHORITY=$AUTHFILE "$@" 2>&1
-RETVAL=$?
-set -e
-
-# Kill Xvfb now that the command has exited.
-kill $XVFBPID
-
-# Return the executed command's exit status.
-exit $RETVAL
-
-# vim:set ai et sts=4 sw=4 tw=80:
diff --git a/staging/xorg-server/xvfb-run.1 b/staging/xorg-server/xvfb-run.1
deleted file mode 100644
index 137d3a196..000000000
--- a/staging/xorg-server/xvfb-run.1
+++ /dev/null
@@ -1,282 +0,0 @@
-.\" $Id: xvfb-run.1 2138 2005-01-17 23:40:27Z branden $
-.\"
-.\" Copyright 1998-2004 Branden Robinson <branden@debian.org>.
-.\"
-.\" This is free software; you may redistribute it and/or modify
-.\" it under the terms of the GNU General Public License as
-.\" published by the Free Software Foundation; either version 2,
-.\" or (at your option) any later version.
-.\"
-.\" This is distributed in the hope that it will be useful, but
-.\" WITHOUT ANY WARRANTY; without even the implied warranty of
-.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-.\" GNU General Public License for more details.
-.\"
-.\" You should have received a copy of the GNU General Public License with
-.\" the Debian operating system, in /usr/share/common-licenses/GPL; if
-.\" not, write to the Free Software Foundation, Inc., 59 Temple Place,
-.\" Suite 330, Boston, MA 02111-1307 USA
-.\"
-.\" We need the URL macro from groff's www macro package, but also want
-.\" things to work all right for people who don't have it. So we define
-.\" our own URL macro and let the www macro package override it if it's
-.\" available.
-.de URL
-\\$2 \(laURL: \\$1 \(ra\\$3
-..
-.if \n[.g] .mso www.tmac
-.TH xvfb\-run 1 "2004\-11\-12" "Debian Project"
-.SH NAME
-xvfb\-run \- run specified X client or command in a virtual X server environment
-.SH SYNOPSIS
-.B xvfb\-run
-[
-.I options
-]
-.I command
-.SH DESCRIPTION
-.B xvfb\-run
-is a wrapper for the
-.BR Xvfb (1x)
-command which simplifies the task of running commands (typically an X
-client, or a script containing a list of clients to be run) within a virtual
-X server environment.
-.PP
-.B xvfb\-run
-sets up an X authority file (or uses an existing user\-specified one),
-writes a cookie to it (see
-.BR xauth (1x))
-and then starts the
-.B Xvfb
-X server as a background process.
-The process ID of
-.B Xvfb
-is stored for later use.
-The specified
-.I command
-is then run using the X display corresponding to the
-.B Xvfb
-server
-just started and the X authority file created earlier.
-.PP
-When the
-.I command
-exits, its status is saved, the
-.B Xvfb
-server is killed (using the process ID stored earlier), the X authority
-cookie removed, and the authority file deleted (if the user did not specify
-one to use).
-.B xvfb\-run
-then exits with the exit status of
-.IR command .
-.PP
-.B xvfb\-run
-requires the
-.B xauth
-command to function.
-.SH OPTIONS
-.TP
-.B \-a\fR,\fB \-\-auto\-servernum
-Try to get a free server number, starting at 99, or the argument to
-.BR \-\-server\-num .
-.TP
-.BI \-e\ file \fR,\fB\ \-\-error\-file= file
-Store output from
-.B xauth
-and
-.B Xvfb
-in
-.IR file .
-The default is
-.IR /dev/null .
-.TP
-.BI \-f\ file \fR,\fB\ \-\-auth\-file= file
-Store X authentication data in
-.IR file .
-By default, a temporary directory called
-.IR xvfb\-run. PID
-(where PID is the process ID of
-.B xvfb\-run
-itself) is created in the directory specified by the environment variable
-.B TMPDIR
-(or
-.I /tmp
-if that variable is null or unset), and the
-.BR tempfile (1)
-command is used to create a file in that temporary directory called
-.IR Xauthority .
-.TP
-.B \-h\fR,\fB \-\-help
-Display a usage message and exit.
-.TP
-.BI \-n\ servernumber \fR,\fB\ \-\-server\-num= servernumber
-Use
-.I servernumber
-as the server number (but see the
-.B \-a\fR,\fB \-\-auto\-servernum
-option above).
-The default is 99.
-.TP
-.B \-l\fR,\fB \-\-listen\-tcp
-Enable TCP port listening in the X server.
-For security reasons (to avoid denial\-of\-service attacks or exploits),
-TCP port listening is disabled by default.
-.TP
-.BI \-p\ protocolname \fR,\fB\ \-\-xauth\-protocol= protocolname
-Use
-.I protocolname
-as the X authority protocol to use.
-The default is \(oq.\(cq, which
-.B xauth
-interprets as its own default protocol, which is MIT\-MAGIC\-COOKIE\-1.
-.TP
-.BI \-s\ arguments \fR,\fB\ \-\-server\-args= arguments
-Pass
-.I arguments
-to the
-.B Xvfb
-server.
-Be careful to quote any whitespace characters that may occur within
-.I arguments
-to prevent them from regarded as separators for
-.BR xvfb\-run 's
-own arguments.
-Also, note that specification of \(oq\-nolisten tcp\(cq in
-.I arguments
-may override the function of
-.BR xvfb\-run 's
-own
-.B \-l\fR,\fB \-\-listen\-tcp
-option, and that specification of the server number (e.g., \(oq:1\(cq) may
-be ignored because of the way the X server parses its argument list.
-Use the
-.B xvfb\-run
-option
-.BI \-n\ servernumber \fR,\fB\ \-\-server\-num= servernumber
-to achieve the latter function.
-The default is \(oq\-screen 0 640x480x8\(cq.
-.TP
-.BI \-w\ delay \fR,\fB\ \-\-wait= delay
-Wait
-.I delay
-seconds after launching
-.B Xvfb
-before attempting to start the specified command.
-The default is 3.
-.SH ENVIRONMENT
-.TP
-.B COLUMNS
-indicates the width of the terminal device in character cells.
-This value is used for formatting diagnostic messages.
-If not set, the terminal is queried using
-.BR stty (1)
-to determine its width.
-If that fails, a value of \(oq80\(cq is assumed.
-.TP
-.B TMPDIR
-specifies the directory in which to place
-.BR xvfb\-run 's
-temporary directory for storage of the X authority file; only used if the
-.B \-f
-or
-.B \-\-auth\-file
-options are not specified.
-.SH "OUTPUT FILES"
-.PP
-Unless the
-.B \-f
-or
-.B \-\-auth\-file
-options are specified, a temporary
-directory and file within it are created (and deleted) to store the X
-authority cookies used by the
-.B Xvfb
-server and client(s) run under it.
-See
-.BR tempfile (1).
-If \-f or \-\-auth\-file are used, then the specified X authority file is
-only written to, not created or deleted (though
-.B xauth
-creates an authority file itself if told to use use that does not already
-exist).
-.PP
-An error file with a user\-specified name is also created if the
-.B \-e
-or
-.B \-\-error\-file
-options are specifed; see above.
-.SH "EXIT STATUS"
-.B xvfb\-run
-uses its exit status as well as output to standard error to communicate
-diagnostics.
-The exit status of \(oq1\(cq is not used, and should be interpreted as failure
-of the specified command.
-.TP
-0
-.B xvfb\-run
-only uses this exit status if the
-.B \-h\fR,\fB \-\-help
-option is given.
-In all other situations, this may be interpreted as success of the specified
-command.
-.TP
-2
-No command to run was specified.
-.TP
-3
-The
-.B xauth
-command is not available.
-.TP
-4
-The temporary directory that was going to be used already exists; since
-.B xvfb\-run
-produces a uniquely named directory, this may indicate an attempt by another
-process on the system to exploit a temporary file race condition.
-.TP
-5
-A problem was encountered while cleaning up the temporary directory.
-.TP
-6
-A problem was encountered while using
-.BR getopt (1)
-to parse the command\-line arguments.
-.SH EXAMPLES
-.TP
-.B xvfb\-run \-\-auto\-servernum \-\-server\-num=1 xlogo
-runs the
-.BR xlogo (1x)
-demonstration client inside the
-.B Xvfb
-X server on the first available server number greater than or equal to 1.
-.TP
-.B xvfb\-run \-\-server\-args="\-screen 0 1024x768x24" ico \-faces
-runs the
-.BR ico (1x)
-demonstration client (and passes it the
-.B \-faces
-argument) inside the
-.B Xvfb
-X server, configured with a root window of 1024 by 768 pixels and a color
-depth of 24 bits.
-.PP
-Note that the demo X clients used in the above examples will not exit on
-their own, so they will have to be killed before
-.B xvfb\-run
-will exit.
-.SH BUGS
-See
-.URL "http://bugs.debian.org/xvfb" "the Debian Bug Tracking System" .
-If you wish to report a bug in
-.BR xvfb\-run ,
-please use the
-.BR reportbug (1)
-command.
-.SH AUTHOR
-.B xfvb\-run
-was written by Branden Robinson and Jeff Licquia with sponsorship from
-Progeny Linux Systems.
-.SH "SEE ALSO"
-.BR Xvfb (1x),
-.BR xauth (1x)
-.\" vim:set et tw=80:
diff --git a/staging/xorg-xdm/PKGBUILD b/staging/xorg-xdm/PKGBUILD
deleted file mode 100644
index 6da8b604c..000000000
--- a/staging/xorg-xdm/PKGBUILD
+++ /dev/null
@@ -1,60 +0,0 @@
-# $Id: PKGBUILD 168625 2012-10-13 15:55:26Z andyrtr $
-# Maintainer: Alexander Baldeck <alexander@archlinux.org>
-# Contributor: Jan de Groot <jgc@archlinux.org>
-pkgname=xorg-xdm
-pkgver=1.1.11
-pkgrel=4
-pkgdesc="X Display Manager"
-arch=(i686 x86_64)
-url="http://xorg.freedesktop.org/"
-license=('custom')
-depends=('pam' 'libxaw' 'libxinerama' 'xorg-xrdb' 'xorg-sessreg' 'libxft' 'systemd')
-makedepends=('pkgconfig' 'xorg-util-macros' 'xtrans')
-backup=(etc/X11/xdm/Xaccess etc/X11/xdm/Xresources etc/X11/xdm/Xservers etc/X11/xdm/xdm-config etc/pam.d/xdm etc/X11/xdm/Xsetup_0 etc/X11/xdm/Xsession)
-options=('!libtool')
-source=(${url}/releases/individual/app/xdm-${pkgver}.tar.bz2
- Xsession-loginshell.patch
- Xsession-xsm.patch
- xdm-1.0.5-sessreg-utmp-fix-bug177890.patch
- xdm.pam
- git_fixes.diff)
-sha256sums=('d4da426ddea0124279a3f2e00a26db61944690628ee818a64df9d27352081c47'
- 'fd3e7c20837b42a8ab111369fd6dc9612f9edb91c1f6904cca1d6a1fa3cfa0ff'
- '77a1ce9bdf363591b72798db08b4df3589bd4e64737fd32cf9028f9245450edb'
- '5f380a2d6f77feb910d77f7f6843fce9b00ff7610c159fc029ee44cc6c23a48a'
- '7d6818a1c1a44e9bd38774c035e03b0b831f6646681bc2bf556761aec7baf418'
- '781b5577bb070220d018a11832d0d4a65fd16e130730ba26fb055c3aa68156b2')
-
-build() {
- cd "${srcdir}/xdm-${pkgver}"
- # upstream commits - Add some missing malloc failure checks 2012-01-07
- patch -Np1 -i "${srcdir}/git_fixes.diff"
-
- patch -Np0 -i "${srcdir}/Xsession-loginshell.patch"
- patch -Np1 -i "${srcdir}/Xsession-xsm.patch"
- patch -Np0 -i "${srcdir}/xdm-1.0.5-sessreg-utmp-fix-bug177890.patch"
-
- autoreconf -fi
- ./configure --prefix=/usr \
- --disable-xdm-auth \
- --disable-static \
- --with-xdmconfigdir=/etc/X11/xdm \
- --with-xdmscriptdir=/etc/X11/xdm \
- --with-pixmapdir=/usr/share/xdm/pixmaps
- make
-}
-
-package() {
- cd "${srcdir}/xdm-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -m755 -d "${pkgdir}/var/lib/xdm"
- install -m755 -d "${pkgdir}/etc/pam.d"
- install -m644 "${srcdir}/xdm.pam" "${pkgdir}/etc/pam.d/xdm"
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-
- sed -i -e 's/\/X11R6//g' "${pkgdir}"/etc/X11/xdm/*
-
- sed -i 's|^Alias=.*|Alias=display-manager.service|' \
- "$pkgdir/usr/lib/systemd/system/xdm.service"
-}
diff --git a/staging/xorg-xdm/Xsession-loginshell.patch b/staging/xorg-xdm/Xsession-loginshell.patch
deleted file mode 100644
index 3710752ef..000000000
--- a/staging/xorg-xdm/Xsession-loginshell.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- config/Xsession.cpp.orig 2008-06-21 13:57:36.000000000 +0000
-+++ config/Xsession.cpp 2008-06-21 14:01:25.000000000 +0000
-@@ -56,11 +56,7 @@
- resources=$HOME/.Xresources
-
- if [ -s "$startup" ]; then
-- if [ -x "$startup" ]; then
-- exec "$startup"
-- else
-- exec /bin/sh "$startup"
-- fi
-+ exec /bin/sh -ls -c "$startup"
- else
- if [ -r "$resources" ]; then
- BINDIR/xrdb -load "$resources"
diff --git a/staging/xorg-xdm/Xsession-xsm.patch b/staging/xorg-xdm/Xsession-xsm.patch
deleted file mode 100644
index a2d4d6cc6..000000000
--- a/staging/xorg-xdm/Xsession-xsm.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff -Naur xdm-1.1.8-orig/config/Xsession.cpp xdm-1.1.8/config/Xsession.cpp
---- xdm-1.1.8-orig/config/Xsession.cpp 2008-05-21 14:08:45.000000000 -0400
-+++ xdm-1.1.8/config/Xsession.cpp 2009-04-28 02:56:11.000000000 -0400
-@@ -54,6 +54,7 @@
-
- startup=$HOME/.xsession
- resources=$HOME/.Xresources
-+xinitrc=$HOME/.xinitrc
-
- if [ -s "$startup" ]; then
- if [ -x "$startup" ]; then
-@@ -83,5 +84,9 @@
- exec `eval $XDESKTOP`
- }
- #endif
-- exec BINDIR/xsm
-+ if [ -r "$xinitrc" ]; then
-+ exec /bin/sh -ls -c "$xinitrc"
-+ else
-+ exec /bin/sh -l /etc/X11/xinit/xinitrc
-+ fi
- fi
diff --git a/staging/xorg-xdm/git_fixes.diff b/staging/xorg-xdm/git_fixes.diff
deleted file mode 100644
index 69836d488..000000000
--- a/staging/xorg-xdm/git_fixes.diff
+++ /dev/null
@@ -1,673 +0,0 @@
-From 011a2710a69cd345a8ee3a6b2f15407b4c3b355a Mon Sep 17 00:00:00 2001
-From: Jeremy Huddleston <jeremyhu@apple.com>
-Date: Sun, 25 Sep 2011 07:56:15 +0000
-Subject: Require xt >= 1.0 for appdefaultdir
-
-https://bugs.freedesktop.org/show_bug.cgi?id=7237
-
-Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
----
-diff --git a/configure.ac b/configure.ac
-index b488f0c..a4222f1 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -383,7 +383,7 @@ PKG_CHECK_MODULES(AUTH, xau)
- # Greeter
- #
-
--PKG_CHECK_MODULES(XDMGREET, xt x11 xext)
-+PKG_CHECK_MODULES(XDMGREET, xt >= 1.0 x11 xext)
-
- GREETERLIB="${XDMLIBDIR}/libXdmGreet.so"
- AX_DEFINE_DIR(DEF_GREETER_LIB, GREETERLIB, [Location of Xdm Greeter library])
---
-cgit v0.9.0.2-2-gbebe
-From 618039261b0c7f14eb3b32c8f636464369724407 Mon Sep 17 00:00:00 2001
-From: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date: Wed, 21 Sep 2011 02:11:20 +0000
-Subject: Mark some chars as const to fix gcc -Wwrite-strings warnings
-
-Can't fix all the warnings, due to the Xt API, but can fix a bunch.
-
-Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
----
-diff --git a/greeter/greet.c b/greeter/greet.c
-index 539ce17..82e2c21 100644
---- a/greeter/greet.c
-+++ b/greeter/greet.c
-@@ -110,9 +110,9 @@ void (*__xdm_SessionExit)(struct display *d, int status, int removeAuth) = NU
- void (*__xdm_DeleteXloginResources)(struct display *d, Display *dpy) = NULL;
- int (*__xdm_source)(char **environ, char *file) = NULL;
- char **(*__xdm_defaultEnv)(void) = NULL;
--char **(*__xdm_setEnv)(char **e, char *name, char *value) = NULL;
-+char **(*__xdm_setEnv)(char **e, const char *name, const char *value) = NULL;
- char **(*__xdm_putEnv)(const char *string, char **env) = NULL;
--char **(*__xdm_parseArgs)(char **argv, char *string) = NULL;
-+char **(*__xdm_parseArgs)(char **argv, const char *string) = NULL;
- void (*__xdm_printEnv)(char **e) = NULL;
- char **(*__xdm_systemEnv)(struct display *d, char *user, char *home) = NULL;
- void (*__xdm_LogOutOfMem)(const char * fmt, ...) = NULL;
-diff --git a/greeter/verify.c b/greeter/verify.c
-index ea62cd2..5d2ad17 100644
---- a/greeter/verify.c
-+++ b/greeter/verify.c
-@@ -61,7 +61,7 @@ from The Open Group.
- extern char *crypt(const char *, const char *);
- #endif
-
--static char *envvars[] = {
-+static const char *envvars[] = {
- "TZ", /* SYSV and SVR4, but never hurts */
- #if defined(sony) && !defined(SYSTYPE_SYSV) && !defined(_SYSTYPE_SYSV)
- "bootdev",
-@@ -94,8 +94,8 @@ static char **
- userEnv (struct display *d, int useSystemPath, char *user, char *home, char *shell)
- {
- char **env;
-- char **envvar;
-- char *str;
-+ const char **envvar;
-+ const char *str;
-
- env = defaultEnv ();
- env = setEnv (env, "DISPLAY", d->name);
-diff --git a/include/dm.h b/include/dm.h
-index 316dd46..4085cae 100644
---- a/include/dm.h
-+++ b/include/dm.h
-@@ -443,7 +443,7 @@ extern void UnsecureDisplay (struct display *d, Display *dpy);
- extern void execute(char **argv, char **environ);
-
- /* server.c */
--extern char *_SysErrorMsg (int n);
-+extern const char *_SysErrorMsg (int n);
- extern int StartServer (struct display *d);
- extern int WaitForServer (struct display *d);
- extern void ResetServer (struct display *d);
-@@ -462,10 +462,10 @@ extern int Asprintf(char ** ret, const char *restrict format, ...)
- _X_ATTRIBUTE_PRINTF(2,3);
- # endif
- extern char *localHostname (void);
--extern char **parseArgs (char **argv, char *string);
--extern char **setEnv (char **e, char *name, char *value);
-+extern char **parseArgs (char **argv, const char *string);
-+extern char **setEnv (char **e, const char *name, const char *value);
- extern char **putEnv(const char *string, char **env);
--extern char *getEnv (char **e, char *name);
-+extern char *getEnv (char **e, const char *name);
- extern void CleanUpChild (void);
- extern void freeArgs (char **argv);
- extern void freeEnv (char **env);
-@@ -478,7 +478,7 @@ extern int Verify (struct display *d, struct greet_info *greet, struct verify_in
- extern char *NetworkAddressToHostname (CARD16 connectionType, ARRAY8Ptr connectionAddress);
- extern int AnyWellKnownSockets (void);
- extern void DestroyWellKnownSockets (void);
--extern void SendFailed (struct display *d, char *reason);
-+extern void SendFailed (struct display *d, const char *reason);
- extern void StopDisplay (struct display *d);
- extern void WaitForChild (void);
- extern void WaitForSomething (void);
-diff --git a/include/greet.h b/include/greet.h
-index 6b6689e..0d607ba 100644
---- a/include/greet.h
-+++ b/include/greet.h
-@@ -65,9 +65,9 @@ struct dlfuncs {
- void (*_DeleteXloginResources)(struct display *d, Display *dpy);
- int (*_source)(char **environ, char *file);
- char **(*_defaultEnv)(void);
-- char **(*_setEnv)(char **e, char *name, char *value);
-+ char **(*_setEnv)(char **e, const char *name, const char *value);
- char **(*_putEnv)(const char *string, char **env);
-- char **(*_parseArgs)(char **argv, char *string);
-+ char **(*_parseArgs)(char **argv, const char *string);
- void (*_printEnv)(char **e);
- char **(*_systemEnv)(struct display *d, char *user, char *home);
- void (*_LogOutOfMem)(const char * fmt, ...);
-@@ -149,9 +149,9 @@ extern void (*__xdm_SessionExit)(struct display *d, int status, int removeAut
- extern void (*__xdm_DeleteXloginResources)(struct display *d, Display *dpy);
- extern int (*__xdm_source)(char **environ, char *file);
- extern char **(*__xdm_defaultEnv)(void);
--extern char **(*__xdm_setEnv)(char **e, char *name, char *value);
-+extern char **(*__xdm_setEnv)(char **e, const char *name, const char *value);
- extern char **(*__xdm_putEnv)(const char *string, char **env);
--extern char **(*__xdm_parseArgs)(char **argv, char *string);
-+extern char **(*__xdm_parseArgs)(char **argv, const char *string);
- extern void (*__xdm_printEnv)(char **e);
- extern char **(*__xdm_systemEnv)(struct display *d, char *user, char *home);
- extern void (*__xdm_LogOutOfMem)(const char * fmt, ...);
-diff --git a/xdm/access.c b/xdm/access.c
-index d0850ad..7035375 100644
---- a/xdm/access.c
-+++ b/xdm/access.c
-@@ -667,7 +667,7 @@ scanHostlist (
- /* Returns non-0 iff string is matched by pattern. Does case folding.
- */
- static int
--patternMatch (char *string, char *pattern)
-+patternMatch (const char *string, char *pattern)
- {
- int p, s;
-
-diff --git a/xdm/auth.c b/xdm/auth.c
-index bbca167..9e5cba2 100644
---- a/xdm/auth.c
-+++ b/xdm/auth.c
-@@ -116,7 +116,7 @@ int chown(int a,int b,int c) {}
-
- struct AuthProtocol {
- unsigned short name_length;
-- char *name;
-+ const char *name;
- void (*InitAuth)(unsigned short len, char *name);
- Xauth *(*GetAuth)(unsigned short len, char *name);
- void (*GetXdmcpAuth)(
-diff --git a/xdm/file.c b/xdm/file.c
-index 6e929b8..7b7f3d3 100644
---- a/xdm/file.c
-+++ b/xdm/file.c
-@@ -225,7 +225,7 @@ ParseDisplay (char *source, DisplayType *acceptableTypes, int numAcceptable)
- }
-
- static struct displayMatch {
-- char *name;
-+ const char *name;
- DisplayType type;
- } displayTypes[] = {
- { "local", { Local, Permanent, FromFile } },
-diff --git a/xdm/resource.c b/xdm/resource.c
-index ece4de3..83901a2 100644
---- a/xdm/resource.c
-+++ b/xdm/resource.c
-@@ -145,10 +145,10 @@ int choiceTimeout; /* chooser choice timeout */
- #define DEF_UDP_PORT "177" /* registered XDMCP port, dont change */
-
- struct dmResources {
-- char *name, *class;
-- int type;
-- char **dm_value;
-- char *default_value;
-+ const char *name, *class;
-+ int type;
-+ char **dm_value;
-+ const char *default_value;
- } DmResources[] = {
- { "servers", "Servers", DM_STRING, &servers,
- DEF_SERVER_LINE} ,
-@@ -203,10 +203,10 @@ struct dmResources {
- #define boffset(f) XtOffsetOf(struct display, f)
-
- struct displayResource {
-- char *name, *class;
-- int type;
-- int offset;
-- char *default_value;
-+ const char *name, *class;
-+ int type;
-+ int offset;
-+ const char *default_value;
- };
-
- /* resources for managing the server */
-@@ -289,15 +289,16 @@ XrmDatabase DmResourceDB;
-
- static void
- GetResource (
-- char *name,
-- char *class,
-- int valueType,
-- char **valuep,
-- char *default_value)
-+ const char *name,
-+ const char *class,
-+ int valueType,
-+ char **valuep,
-+ const char *default_value)
- {
- char *type;
- XrmValue value;
-- char *string, *new_string;
-+ const char *string;
-+ char *new_string;
- char str_buf[50];
- int len;
-
-diff --git a/xdm/server.c b/xdm/server.c
-index 7fe55e6..1bb8873 100644
---- a/xdm/server.c
-+++ b/xdm/server.c
-@@ -62,9 +62,9 @@ CatchUsr1 (int n)
- errno = olderrno;
- }
-
--char *_SysErrorMsg (int n)
-+const char *_SysErrorMsg (int n)
- {
-- char *s = strerror(n);
-+ const char *s = strerror(n);
- return (s ? s : "unknown error");
- }
-
-diff --git a/xdm/util.c b/xdm/util.c
-index 033633a..60aab21 100644
---- a/xdm/util.c
-+++ b/xdm/util.c
-@@ -97,7 +97,7 @@ printEnv (char **e)
- }
-
- static char *
--makeEnv (char *name, char *value)
-+makeEnv (const char *name, const char *value)
- {
- char *result;
-
-@@ -111,7 +111,7 @@ makeEnv (char *name, char *value)
- }
-
- char *
--getEnv (char **e, char *name)
-+getEnv (char **e, const char *name)
- {
- int l = strlen (name);
-
-@@ -127,7 +127,7 @@ getEnv (char **e, char *name)
- }
-
- char **
--setEnv (char **e, char *name, char *value)
-+setEnv (char **e, const char *name, const char *value)
- {
- char **new, **old;
- char *newe;
-@@ -207,9 +207,9 @@ freeEnv (char **env)
- #define isblank(c) ((c) == ' ' || c == '\t')
-
- char **
--parseArgs (char **argv, char *string)
-+parseArgs (char **argv, const char *string)
- {
-- char *word;
-+ const char *word;
- char *save;
- char **newargv;
- int i;
-diff --git a/xdm/xdmauth.c b/xdm/xdmauth.c
-index 4b945cf..66804a4 100644
---- a/xdm/xdmauth.c
-+++ b/xdm/xdmauth.c
-@@ -44,7 +44,7 @@ static char auth_name[256];
- static int auth_name_len;
-
- static void
--XdmPrintDataHex (char *s, char *a, int l)
-+XdmPrintDataHex (const char *s, const char *a, int l)
- {
- int i;
-
-@@ -56,7 +56,7 @@ XdmPrintDataHex (char *s, char *a, int l)
-
- # ifdef XDMCP
- static void
--XdmPrintArray8Hex (char *s, ARRAY8Ptr a)
-+XdmPrintArray8Hex (const char *s, ARRAY8Ptr a)
- {
- XdmPrintDataHex (s, (char *) a->data, a->length);
- }
-diff --git a/xdm/xdmcp.c b/xdm/xdmcp.c
-index 5bc4716..1c34e7c 100644
---- a/xdm/xdmcp.c
-+++ b/xdm/xdmcp.c
-@@ -74,7 +74,7 @@ static void request_respond (struct sockaddr *from, int fromlen, int length, int
- static void send_accept (struct sockaddr *to, int tolen, CARD32 sessionID, ARRAY8Ptr authenticationName, ARRAY8Ptr authenticationData, ARRAY8Ptr authorizationName, ARRAY8Ptr authorizationData, int fd);
- static void send_alive (struct sockaddr *from, int fromlen, int length, int fd);
- static void send_decline (struct sockaddr *to, int tolen, ARRAY8Ptr authenticationName, ARRAY8Ptr authenticationData, ARRAY8Ptr status, int fd);
--static void send_failed (struct sockaddr *from, int fromlen, char *name, CARD32 sessionID, char *reason, int fd);
-+static void send_failed (struct sockaddr *from, int fromlen, const char *name, CARD32 sessionID, const char *reason, int fd);
- static void send_refuse (struct sockaddr *from, int fromlen, CARD32 sessionID, int fd);
- static void send_unwilling (struct sockaddr *from, int fromlen, ARRAY8Ptr authenticationName, ARRAY8Ptr status, int fd);
- static void send_willing (struct sockaddr *from, int fromlen, ARRAY8Ptr authenticationName, ARRAY8Ptr status, int fd);
-@@ -1300,7 +1300,7 @@ abort:
- void
- SendFailed (
- struct display *d,
-- char *reason)
-+ const char *reason)
- {
- Debug ("Display start failed, sending Failed\n");
- send_failed ((struct sockaddr *)(d->from), d->fromlen, d->name,
-@@ -1311,9 +1311,9 @@ static void
- send_failed (
- struct sockaddr *from,
- int fromlen,
-- char *name,
-+ const char *name,
- CARD32 sessionID,
-- char *reason,
-+ const char *reason,
- int fd)
- {
- static char buf[256];
-@@ -1416,7 +1416,7 @@ NetworkAddressToHostname (
- # else
- char dotted[20];
- # endif
-- char *local_name = "";
-+ const char *local_name = "";
- int af_type;
-
- # if defined(IPv6) && defined(AF_INET6)
---
-cgit v0.9.0.2-2-gbebe
-From c43eb799774743bc50233eff6643c51a5fbe6899 Mon Sep 17 00:00:00 2001
-From: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date: Wed, 21 Sep 2011 02:22:48 +0000
-Subject: Fix warnings about printing longs with int type format strings
-
-Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
----
-diff --git a/xdm/dm.c b/xdm/dm.c
-index cd0ee25..7bc2605 100644
---- a/xdm/dm.c
-+++ b/xdm/dm.c
-@@ -536,7 +536,7 @@ WaitForChild (void)
- time(&now);
- crash = d->lastReserv &&
- ((now - d->lastReserv) < XDM_BROKEN_INTERVAL);
-- Debug("time %i %i try %i of %i%s\n", now, d->lastReserv,
-+ Debug("time %li %li try %i of %i%s\n", now, d->lastReserv,
- d->reservTries, d->reservAttempts,
- crash ? " crash" : "");
-
-diff --git a/xdm/xdmauth.c b/xdm/xdmauth.c
-index 66804a4..b3c1c16 100644
---- a/xdm/xdmauth.c
-+++ b/xdm/xdmauth.c
-@@ -234,7 +234,7 @@ XdmGetKey(struct protoDisplay *pdpy, ARRAY8Ptr displayID)
- if (line[0] == '#' || sscanf (line, "%s %s", id, key) != 2)
- continue;
- bzero(line, sizeof(line));
-- Debug ("Key entry for \"%s\" %d bytes\n", id, strlen(key));
-+ Debug ("Key entry for \"%s\" %ld bytes\n", id, strlen(key));
- if (strlen (id) == displayID->length &&
- !strncmp (id, (char *)displayID->data, displayID->length))
- {
---
-cgit v0.9.0.2-2-gbebe
-From 8eee942be0db913511b4c53f94829e1201dfdf00 Mon Sep 17 00:00:00 2001
-From: Michał Górny <mgorny@gentoo.org>
-Date: Wed, 28 Sep 2011 19:25:17 +0000
-Subject: Support systemd startup notification.
-
-If libsystemd-daemon support is enabled, xdm uses it to announce its
-startup as soon as the session is established. This gives the user
-opportunity to delay I/O-intensive operations until the X server is
-started so that they would not interfere with its loading while keeping
-the machine busy when user types in his/her login.
-
-Reviewed-by: Jamey Sharp <jamey@minilop.net>
-Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
-Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
----
-diff --git a/Makefile.am b/Makefile.am
-index e5f9f5c..bb6b51c 100644
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -43,8 +43,13 @@ endif LINT
- if HAVE_SYSTEMD
- systemdsystemunit_DATA = xdm.service
-
--xdm.service: xdm.service.in
-- $(AM_V_GEN)$(SED) -e 's|BINDIR|$(bindir)|g' < $< > $@
-+xdm.service: xdm.service.in Makefile
-+if USE_SYSTEMD_DAEMON
-+ $(AM_V_GEN)$(SED) -e 's|BINDIR|$(bindir)|g' < xdm.service.in > $@
-+else !USE_SYSTEMD_DAEMON
-+ $(AM_V_GEN)$(SED) -e 's|BINDIR|$(bindir)|g' -e '/[Nn]otify/d' < xdm.service.in > $@
-+endif !USE_SYSTEMD_DAEMON
-+
- endif HAVE_SYSTEMD
- CLEANFILES = xdm.service
- EXTRA_DIST = xdm.service.in
-diff --git a/configure.ac b/configure.ac
-index a4222f1..fcb37f8 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -146,6 +146,7 @@ if test "x$USE_SELINUX" != "xno" ; then
- fi
-
- # Check whether to install systemd unit files, as suggested in daemon(7).
-+# When a full path is specified, this does not require systemd installed.
- AC_ARG_WITH([systemdsystemunitdir], AS_HELP_STRING([--with-systemdsystemunitdir=DIR],
- [Directory for systemd service files (default from the System and Service Manager)]),,
- [with_systemdsystemunitdir=auto])
-@@ -166,6 +167,21 @@ AS_IF([test "x$with_systemdsystemunitdir" != "xno"], [
- ])
- AM_CONDITIONAL(HAVE_SYSTEMD, [test "x$with_systemdsystemunitdir" != "xno"])
-
-+# Check whether to enable systemd startup notification.
-+# This requires libsystemd-daemon.
-+AC_ARG_WITH([systemd-daemon], AS_HELP_STRING([--with-systemd-daemon],
-+ [Add support for systemd startup notification (default is autodetected)]),
-+ [USE_SYSTEMD_DAEMON=$withval], [USE_SYSTEMD_DAEMON=auto])
-+AS_IF([test "x$USE_SYSTEMD_DAEMON" != "xno"], [
-+ PKG_CHECK_MODULES([SYSTEMD_DAEMON], [libsystemd-daemon],
-+ [AC_DEFINE(USE_SYSTEMD_DAEMON,1,[Use systemd startup notification])],
-+ [AS_IF([test "x$USE_SYSTEMD_DAEMON" = "xyes"],
-+ [AC_MSG_ERROR([systemd startup notification support requested, but libsystemd-daemon not found.])]
-+ )]
-+ )
-+])
-+AM_CONDITIONAL(USE_SYSTEMD_DAEMON, [test "x$USE_SYSTEMD_DAEMON" != "xno"])
-+
- # FIXME: Find better test for which OS'es use su -m - for now, just try to
- # mirror the Imakefile setting of:
- # if defined(OpenBSDArchitecture) || defined(NetBSDArchitecture) || defined(FreeBSDArchitecture) || defined(DarwinArchitecture)
-diff --git a/xdm.service.in b/xdm.service.in
-index d15e072..e782dd9 100644
---- a/xdm.service.in
-+++ b/xdm.service.in
-@@ -4,6 +4,8 @@ After=systemd-user-sessions.service
-
- [Service]
- ExecStart=BINDIR/xdm -nodaemon
-+Type=notify
-+NotifyAccess=all
-
- [Install]
- Alias=graphical.target.wants/xdm.service
-diff --git a/xdm/Makefile.am b/xdm/Makefile.am
-index aa9765c..797b5c5 100644
---- a/xdm/Makefile.am
-+++ b/xdm/Makefile.am
-@@ -22,11 +22,11 @@
- bin_PROGRAMS = xdm
-
- AM_CPPFLAGS = -I$(top_srcdir)/include
--AM_CFLAGS = $(CWARNFLAGS) $(XDM_CFLAGS)
-+AM_CFLAGS = $(CWARNFLAGS) $(XDM_CFLAGS) $(SYSTEMD_DAEMON_CFLAGS)
-
- # The xdm binary needs to export symbols so that they can be used from
- # libXdmGreet.so loaded through a dlopen call from session.c
--AM_LDFLAGS = $(XDM_LIBS) -export-dynamic
-+AM_LDFLAGS = $(XDM_LIBS) $(SYSTEMD_DAEMON_LIBS) -export-dynamic
-
- xdm_SOURCES = \
- access.c \
-diff --git a/xdm/session.c b/xdm/session.c
-index 5fd47f0..573747d 100644
---- a/xdm/session.c
-+++ b/xdm/session.c
-@@ -81,6 +81,10 @@ extern int key_setnet(struct key_netstarg *arg);
- # define RTLD_NOW 1
- # endif
-
-+#ifdef USE_SYSTEMD_DAEMON
-+#include <systemd/sd-daemon.h>
-+#endif
-+
- #ifdef USE_SELINUX
- /* This should be run just before we exec the user session. */
- static int
-@@ -349,6 +353,12 @@ ManageSession (struct display *d)
- exit(UNMANAGE_DISPLAY);
- }
-
-+#ifdef USE_SYSTEMD_DAEMON
-+ /* Subsequent notifications will be ignored by systemd
-+ * and calling this function will clean up the env */
-+ sd_notify(1, "READY=1");
-+#endif
-+
- /* tell the possibly dynamically loaded greeter function
- * what data structure formats to expect.
- * These version numbers are registered with The Open Group. */
---
-cgit v0.9.0.2-2-gbebe
-From 284532c0884893728b75ca37f5d2a9a33f7bc8db Mon Sep 17 00:00:00 2001
-From: Julien Cristau <jcristau@debian.org>
-Date: Sat, 22 Oct 2011 15:14:46 +0000
-Subject: greeter: link against -lXrender if xft is enabled
-
-XmuCvtStringToXftColor uses XRenderParseColor, so require xrender for
-the xft option, and link against it.
-
-Signed-off-by: Julien Cristau <jcristau@debian.org>
-Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
----
-diff --git a/configure.ac b/configure.ac
-index fcb37f8..d20ae28 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -345,10 +345,10 @@ AC_ARG_WITH(xft,
- AS_HELP_STRING([--with-xft],
- [Use Xft to draw text (default is YES if installed)]),
- [USE_XFT="$withval"],
-- PKG_CHECK_EXISTS(xft, [USE_XFT="yes"], [USE_XFT="no"]))
-+ PKG_CHECK_EXISTS(xft xrender, [USE_XFT="yes"], [USE_XFT="no"]))
-
- if test "x$USE_XFT" = "xyes" ; then
-- PKG_CHECK_MODULES(XFT, xft)
-+ PKG_CHECK_MODULES(XFT, xft xrender)
- GREETER_CFLAGS="$GREETER_CFLAGS $XFT_CFLAGS"
- GREETER_LIBS="$GREETER_LIBS $XFT_LIBS"
- AC_DEFINE([USE_XFT], 1,
-diff --git a/greeter/Login.c b/greeter/Login.c
-index 99a3932..d899376 100644
---- a/greeter/Login.c
-+++ b/greeter/Login.c
-@@ -86,6 +86,10 @@ from The Open Group.
- # include <X11/extensions/Xinerama.h>
- #endif
-
-+#ifdef USE_XFT
-+# include <X11/extensions/Xrender.h>
-+#endif
-+
- #ifndef DEBUG
- # define XDM_ASSERT(a) /* do nothing */
- #else
---
-cgit v0.9.0.2-2-gbebe
-From a02edebf21aae37f8564d7b9fad01d5d2942ad8d Mon Sep 17 00:00:00 2001
-From: Matthieu Herrb <matthieu.herrb@laas.fr>
-Date: Mon, 07 Nov 2011 16:01:44 +0000
-Subject: Fix build outside of source dir. Fixes distcheck too.
-
-Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
-Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
----
-diff --git a/Makefile.am b/Makefile.am
-index bb6b51c..e9da40f 100644
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -45,9 +45,9 @@ systemdsystemunit_DATA = xdm.service
-
- xdm.service: xdm.service.in Makefile
- if USE_SYSTEMD_DAEMON
-- $(AM_V_GEN)$(SED) -e 's|BINDIR|$(bindir)|g' < xdm.service.in > $@
-+ $(AM_V_GEN)$(SED) -e 's|BINDIR|$(bindir)|g' < ${srcdir}/xdm.service.in > $@
- else !USE_SYSTEMD_DAEMON
-- $(AM_V_GEN)$(SED) -e 's|BINDIR|$(bindir)|g' -e '/[Nn]otify/d' < xdm.service.in > $@
-+ $(AM_V_GEN)$(SED) -e 's|BINDIR|$(bindir)|g' -e '/[Nn]otify/d' < ${srcdir}/xdm.service.in > $@
- endif !USE_SYSTEMD_DAEMON
-
- endif HAVE_SYSTEMD
---
-cgit v0.9.0.2-2-gbebe
-From ad7a54288f62c0266540279dac775ebee68f092e Mon Sep 17 00:00:00 2001
-From: Matthieu Herrb <matthieu.herrb@laas.fr>
-Date: Thu, 15 Dec 2011 21:14:23 +0000
-Subject: replace <varargs.h> by <stdarg.h>. Spotted my Marco Peereboom with clang.
-
-Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
-Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
----
-diff --git a/greeter/verify.c b/greeter/verify.c
-index 5d2ad17..1221874 100644
---- a/greeter/verify.c
-+++ b/greeter/verify.c
-@@ -48,7 +48,7 @@ from The Open Group.
- # include <errno.h>
- #elif defined(USE_BSDAUTH)
- # include <login_cap.h>
--# include <varargs.h>
-+# include <stdarg.h>
- # include <bsd_auth.h>
- #elif defined(USESECUREWARE)
- # include <sys/types.h>
---
-cgit v0.9.0.2-2-gbebe
-From 78403f6a7420798bf24798811c8c6b936c9ccb34 Mon Sep 17 00:00:00 2001
-From: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date: Sat, 07 Jan 2012 03:34:30 +0000
-Subject: Add some missing malloc failure checks
-
-Flagged by Solaris Studio 12.3 code analyzer
-
-Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
----
-diff --git a/xdm/access.c b/xdm/access.c
-index 7035375..b16a066 100644
---- a/xdm/access.c
-+++ b/xdm/access.c
-@@ -304,6 +304,11 @@ tryagain:
- if (!hostOrAlias)
- return NULL;
- h = malloc (sizeof (DisplayEntry));
-+ if (!h)
-+ {
-+ LogOutOfMem ("ReadHostEntry: DisplayEntry\n");
-+ return NULL;
-+ }
- h->hopCount = 1;
- if (*hostOrAlias == ALIAS_CHARACTER)
- {
-@@ -423,6 +428,11 @@ tryagain:
- if (!displayOrAlias)
- return NULL;
- d = malloc (sizeof (DisplayEntry));
-+ if (!d)
-+ {
-+ LogOutOfMem ("ReadDisplayEntry: DisplayEntry\n");
-+ return NULL;
-+ }
- d->notAllowed = 0;
- d->notBroadcast = 0;
- d->chooser = 0;
-diff --git a/xdm/choose.c b/xdm/choose.c
-index 6f077eb..e5e003d 100644
---- a/xdm/choose.c
-+++ b/xdm/choose.c
-@@ -128,6 +128,11 @@ RememberIndirectClient (
- connectionType == i->connectionType)
- return 1;
- i = malloc (sizeof (IndirectUsersRec));
-+ if (!i)
-+ {
-+ LogOutOfMem ("RememberIndirectClient\n");
-+ return 0;
-+ }
- if (!XdmcpCopyARRAY8 (clientAddress, &i->client))
- {
- free (i);
---
-cgit v0.9.0.2-2-gbebe
diff --git a/staging/xorg-xdm/xdm-1.0.5-sessreg-utmp-fix-bug177890.patch b/staging/xorg-xdm/xdm-1.0.5-sessreg-utmp-fix-bug177890.patch
deleted file mode 100644
index 195858883..000000000
--- a/staging/xorg-xdm/xdm-1.0.5-sessreg-utmp-fix-bug177890.patch
+++ /dev/null
@@ -1,8 +0,0 @@
---- config/GiveConsole.sessreg-utmp-fix-bug177890 2006-07-24 04:20:10.000000000 -0400
-+++ config/GiveConsole 2006-07-24 04:21:16.000000000 -0400
-@@ -8,3 +8,5 @@
- # causing serious grief.
- #
- chown $USER /dev/console
-+exec /usr/bin/sessreg -a -w "/var/log/wtmp" -u "/run/utmp" \
-+ -x "/etc/X11/xdm/Xservers" -l $DISPLAY -h "" $USER
diff --git a/staging/xorg-xdm/xdm.pam b/staging/xorg-xdm/xdm.pam
deleted file mode 100644
index a0b601db6..000000000
--- a/staging/xorg-xdm/xdm.pam
+++ /dev/null
@@ -1,10 +0,0 @@
-#%PAM-1.0
-auth required pam_unix.so
-auth required pam_nologin.so
-auth required pam_env.so
-account required pam_unix.so
-password required pam_unix.so
-session required pam_unix.so
-session required pam_limits.so
-session required pam_loginuid.so
--session optional pam_systemd.so
diff --git a/testing/asymptote/PKGBUILD b/testing/asymptote/PKGBUILD
deleted file mode 100644
index 42ebbfb05..000000000
--- a/testing/asymptote/PKGBUILD
+++ /dev/null
@@ -1,43 +0,0 @@
-# $Id: PKGBUILD 168270 2012-10-07 11:20:35Z remy $
-# Maintainer: Rémy Oudompheng <remy@archlinux.org>
-# Contributor: Firmicus <francois.archlinux.org>
-# Contributor: bender02 at gmx dot com
-
-pkgname=asymptote
-pkgver=2.20
-pkgrel=1
-pkgdesc="A vector graphics language (like metapost)"
-arch=('i686' 'x86_64')
-url="http://asymptote.sourceforge.net/"
-license=("GPL3")
-depends=('texlive-core' 'gc' 'freeglut' 'glu' 'gsl' 'fftw' 'libsigsegv')
-makedepends=('ghostscript' 'imagemagick')
-optdepends=('python2: for the xasy GUI'
- 'python-imaging: for the xasy GUI'
- 'tix: for the xasy GUI')
-source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.src.tgz)
-install=texlive.install
-sha1sums=('4c86ab71cff57a592944303b11d9bb6ec34f1cbd')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- ./configure --enable-gc=/usr \
- --prefix=/usr \
- --with-latex=/usr/share/texmf/tex/latex \
- --with-context=/usr/share/texmf/tex/context
- make all
-}
-
-check() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make check-all
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make -j1 DESTDIR="${pkgdir}" install-all
- sed -i -e 's@env python@env python2@' ${pkgdir}/usr/share/asymptote/GUI/*.py
- # this dir contains png files that are already embedded in the pdf documentation:
- rm -rf ${pkgdir}/usr/share/info/asymptote
-}
diff --git a/testing/asymptote/texlive.install b/testing/asymptote/texlive.install
deleted file mode 100644
index a7e61f209..000000000
--- a/testing/asymptote/texlive.install
+++ /dev/null
@@ -1,20 +0,0 @@
-info_dir=usr/share/info
-
-post_install() {
- install-info ${info_dir}/asy-faq.info.gz ${info_dir}/dir
- echo ">>> updating the filename database for texlive..."
- mktexlsr --quiet usr/share/texmf
-}
-
-post_upgrade() {
- post_install
-}
-
-pre_remove() {
- install-info --delete ${info_dir}/asy-faq.info.gz ${info_dir}/dir
-}
-
-post_remove() {
- echo ">>> updating the filename database for texlive..."
- mktexlsr --quiet usr/share/texmf
-}
diff --git a/testing/at/PKGBUILD b/testing/at/PKGBUILD
deleted file mode 100644
index cae92b487..000000000
--- a/testing/at/PKGBUILD
+++ /dev/null
@@ -1,36 +0,0 @@
-# $Id: PKGBUILD 168098 2012-10-05 19:23:53Z eric $
-# Maintainer: Judd Vinet <jvinet@zeroflux.org>
-# Contributor: Todd Musall <tmusall@comcast.net>
-
-pkgname=at
-pkgver=3.1.13
-pkgrel=2
-pkgdesc="AT and batch delayed command scheduling utility and daemon"
-arch=('i686' 'x86_64')
-url="http://packages.qa.debian.org/a/at.html"
-license=('GPL')
-depends=('pam')
-makedepends=('ssmtp')
-backup=('etc/at.deny')
-options=('!makeflags')
-source=(http://ftp.debian.org/debian/pool/main/a/at/at_${pkgver}.orig.tar.gz
- atd atd.service)
-md5sums=('1da61af6c29e323abaaf13ee1a8dad79'
- '35574e34829e7df07a3269d4ab646a29'
- '33976a813f4fe7f5659354601044c6f8')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr \
- --mandir=/usr/share/man \
- --with-jobdir=/var/spool/atd \
- --with-atspool=/var/spool/atd
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make IROOT="${pkgdir}" docdir=/usr/share/doc install
- install -D -m755 "${srcdir}/atd" "${pkgdir}/etc/rc.d/atd"
- install -D -m644 "${srcdir}/atd.service" "${pkgdir}/usr/lib/systemd/system/atd.service"
-}
diff --git a/testing/at/atd b/testing/at/atd
deleted file mode 100644
index d10a46a3b..000000000
--- a/testing/at/atd
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PID=`pidof -o %PPID /usr/sbin/atd`
-case "$1" in
- start)
- stat_busy "Starting ATD Daemon"
- [ -z "$PID" ] && /usr/sbin/atd
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon atd
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping ATD Daemon"
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon atd
- stat_done
- fi
- ;;
- restart)
- $0 stop
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
diff --git a/testing/at/atd.service b/testing/at/atd.service
deleted file mode 100644
index ba359878c..000000000
--- a/testing/at/atd.service
+++ /dev/null
@@ -1,9 +0,0 @@
-[Unit]
-Description=ATD daemon
-
-[Service]
-Type=forking
-ExecStart=/usr/sbin/atd
-
-[Install]
-WantedBy=multi-user.target
diff --git a/testing/btrfs-progs/btrfs.install b/testing/btrfs-progs/btrfs.install
deleted file mode 100644
index 077d7529a..000000000
--- a/testing/btrfs-progs/btrfs.install
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-post_upgrade() {
- if [ "$(vercmp 0.19.20120904-6 "$2")" -eq 1 ]; then
- echo "btrfs multi-device support now relies on linux 3.6 or later"
- fi
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/testing/bzr/PKGBUILD b/testing/bzr/PKGBUILD
deleted file mode 100644
index 655bba6dd..000000000
--- a/testing/bzr/PKGBUILD
+++ /dev/null
@@ -1,33 +0,0 @@
-# $Id: PKGBUILD 168834 2012-10-16 11:53:33Z allan $
-# Maintainer :
-# Contributor: Hugo Doria <hugo@archlinux.org>
-
-pkgname=bzr
-pkgver=2.5.1
-pkgrel=2
-pkgdesc="A decentralized revision control system (bazaar)"
-arch=('i686' 'x86_64')
-url="http://bazaar.canonical.com/en/"
-license=('GPL')
-depends=('python2')
-optdepends=('python2-paramiko: for sftp support')
-source=("http://launchpad.net/${pkgname}/${pkgver%.*}/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz"{,.sig})
-md5sums=('ac5079858364a046071000d5cdccb67b'
- 'c83dd08dd2c3e27edbab873500d7d6eb')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- sed -i 's|man/man1|share/man/man1|' setup.py
- sed -i 's|/usr/bin/env python|/usr/bin/env python2|' \
- bzrlib/{plugins/bash_completion/bashcomp.py,tests/ssl_certs/create_ssls.py,patiencediff.py,_patiencediff_py.py}
- python2 setup.py build
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
-
- # bash-completion
- install -D -m644 contrib/bash/bzr \
- "${pkgdir}/usr/share/bash-completion/completions/bzr"
-}
diff --git a/testing/celestia/PKGBUILD b/testing/celestia/PKGBUILD
deleted file mode 100644
index 492b6565b..000000000
--- a/testing/celestia/PKGBUILD
+++ /dev/null
@@ -1,53 +0,0 @@
-# $Id: PKGBUILD 168482 2012-10-12 16:54:10Z andyrtr $
-# Maintainer: Ronald van Haren <ronald.archlinux.org>
-# Contributor : Damir Perisa <damir.perisa@bluewin.ch>
-
-pkgname=celestia
-pkgver=1.6.1
-pkgrel=3
-pkgdesc="Real-time space simulation"
-arch=('i686' 'x86_64')
-license=('GPL')
-url="http://www.shatters.net/celestia/"
-depends=('gtk2' 'libtheora' 'lua' 'gtkglext' 'glut' 'libxmu' 'glu' 'libjpeg')
-options=('!makeflags')
-source=("http://downloads.sourceforge.net/sourceforge/celestia/${pkgname}-${pkgver}.tar.gz"
- 'celestia-1.6.1-gcc46.patch'
- 'celestia-1.6.1-libpng15.patch'
- 'celestia-1.6.1-linking.patch'
- 'gcc-4.7-fixes.diff')
-sha1sums=('1f0fdf4525a8b9d6c708e1f6383babed670d18e7'
- '7c08ca391603806d788cb8f3342acedafc924eef'
- '46ecc4e10b24191384bc848c206652498843adf0'
- '534c8eee18d13a868c91f0b870ebecc05f3e7ae1'
- '582f9eed93eca02a16350f02c29e2ea6f69aa869')
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
-
- # build patch
- patch -Np0 -i "${srcdir}/celestia-1.6.1-gcc46.patch"
- patch -Np0 -i "${srcdir}/celestia-1.6.1-libpng15.patch"
- patch -Np1 -i "${srcdir}/celestia-1.6.1-linking.patch"
- patch -Np1 -i "${srcdir}/gcc-4.7-fixes.diff"
-
- # This version of Celestia has a bug in the font rendering and requires -fsigned-char
- export CFLAGS="$CFLAGS -fsigned-char"
- export CXXFLAGS="$CXXFLAGS -fsigned-char"
-
- autoreconf
- ./configure --prefix=/usr \
- --with-lua=/usr \
- --datadir=/usr/share \
- --with-gtk \
- --disable-rpath \
- --with-lua
- make
-}
-
-package() {
- cd ${srcdir}/${pkgname}-${pkgver}
-
- make DESTDIR=${pkgdir} install
-}
-
diff --git a/testing/celestia/celestia-1.5.1-gcc44.patch b/testing/celestia/celestia-1.5.1-gcc44.patch
deleted file mode 100644
index b1ee896f0..000000000
--- a/testing/celestia/celestia-1.5.1-gcc44.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- src/celengine/overlay.h.orig 2009-07-08 02:27:08.000000000 -0400
-+++ src/celengine/overlay.h 2009-07-08 02:27:28.000000000 -0400
-@@ -10,6 +10,7 @@
- #ifndef _OVERLAY_H_
- #define _OVERLAY_H_
-
-+#include <cstdio>
- #include <string>
- #include <iostream>
- #include <celtxf/texturefont.h>
---- src/celengine/star.cpp.orig 2009-07-08 02:40:52.000000000 -0400
-+++ src/celengine/star.cpp 2009-07-08 02:41:08.000000000 -0400
-@@ -8,6 +8,7 @@
- // of the License, or (at your option) any later version.
-
- #include <celmath/mathlib.h>
-+#include <cstdio>
- #include <cstring>
- #include <cassert>
- #include "celestia.h"
diff --git a/testing/celestia/celestia-1.6.1-gcc46.patch b/testing/celestia/celestia-1.6.1-gcc46.patch
deleted file mode 100644
index ddf4036f2..000000000
--- a/testing/celestia/celestia-1.6.1-gcc46.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-http://bugs.gentoo.org/show_bug.cgi?id=366073
-
-Patch written by Nils Larsson <ni1s@nerdshack.com>
---- src/celengine/frametree.h
-+++ src/celengine/frametree.h
-@@ -14,6 +14,7 @@
- #define _CELENGINE_FRAMETREE_H_
-
- #include <vector>
-+#include <cstddef>
-
- class Star;
- class Body;
diff --git a/testing/celestia/celestia-1.6.1-gentoo.patch b/testing/celestia/celestia-1.6.1-gentoo.patch
deleted file mode 100644
index 57fffe159..000000000
--- a/testing/celestia/celestia-1.6.1-gentoo.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- src/celestia/Makefile.am 2011-06-07 19:15:51.502000147 +0200
-+++ src/celestia/Makefile.am.new 2011-06-07 19:15:47.208000302 +0200
-@@ -15,6 +15,7 @@
- if ENABLE_GTK
- SUBDIRS += gtk
- celestiaGTKLIBS = $(GTK_LIBS) gtk/libgtkgui.a
-+LIBS += $(GTK_LIBS)
- endif
-
- COMMONSOURCES = \
-
-Index: src/celengine/frametree.h
-===================================================================
---- src/celengine/frametree.h (revision 5163)
-+++ src/celengine/frametree.h (arbetskopia)
-@@ -14,6 +14,7 @@
- #define _CELENGINE_FRAMETREE_H_
-
- #include <vector>
-+#include <cstddef>
-
- class Star;
- class Body;
diff --git a/testing/celestia/celestia-1.6.1-libpng15.patch b/testing/celestia/celestia-1.6.1-libpng15.patch
deleted file mode 100644
index 5dffbab24..000000000
--- a/testing/celestia/celestia-1.6.1-libpng15.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-imagecapture.cpp:184:40: error: ‘Z_BEST_COMPRESSION’ was not declared in this scope
-
---- src/celestia/imagecapture.cpp
-+++ src/celestia/imagecapture.cpp
-@@ -31,6 +31,9 @@
- #include "png.h"
- #endif
-
-+// Z_BEST_COMPRESSION
-+#include <zlib.h>
-+
- // Define png_jmpbuf() in case we are using a pre-1.0.6 version of libpng
- #ifndef png_jmpbuf
- #define png_jmpbuf(png_ptr) png_ptr->jmpbuf
diff --git a/testing/celestia/celestia-1.6.1-linking.patch b/testing/celestia/celestia-1.6.1-linking.patch
deleted file mode 100644
index d610d5243..000000000
--- a/testing/celestia/celestia-1.6.1-linking.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-Fix linking issues:
- * underlinking GLUT (bug #372123, #387609)
- * as-needed (bug #281258)
-
---- a/src/celestia/Makefile.am
-+++ b/src/celestia/Makefile.am
-@@ -7,14 +7,15 @@
-
- if ENABLE_KDE
- SUBDIRS += kde
--celestiaKDELIBS = $(LIB_QT) $(LIB_KDECORE) $(LIB_KDEUI) $(LIB_KFILE) \
-- $(LIBSOCKET) -lDCOP kde/libkdegui.a
-+celestiaKDELIBS = kde/libkdegui.a
- celestia_LDFLAGS = $(all_libraries) $(KDE_RPATH)
-+LIBS += $(LIB_QT) $(LIB_KDECORE) $(LIB_KDEUI) $(LIB_KFILE) $(LIBSOCKET) -lDCOP
- endif
-
- if ENABLE_GTK
- SUBDIRS += gtk
--celestiaGTKLIBS = $(GTK_LIBS) gtk/libgtkgui.a
-+celestiaGTKLIBS = gtk/libgtkgui.a
-+LIBS += $(GTK_LIBS)
- endif
-
- COMMONSOURCES = \
-@@ -62,6 +63,7 @@
-
- if ENABLE_GLUT
- GLUTSOURCES = glutmain.cpp
-+GLUTLIBS = -lGL
- endif
-
- if ENABLE_THEORA
-@@ -80,15 +82,16 @@
- celestia_LDADD = \
- $(celestiaKDELIBS) \
- $(celestiaGTKLIBS) \
-- $(DL_LIBS) \
-- $(LUA_LIBS) \
-- $(THEORA_LIBS) \
- ../celengine/libcelengine.a \
- ../celtxf/libceltxf.a \
- ../cel3ds/libcel3ds.a \
- ../celmath/libcelmath.a \
- ../celutil/libcelutil.a \
-- $(SPICE_LIBS)
-+ $(LUA_LIBS) \
-+ $(THEORA_LIBS) \
-+ $(GLUTLIBS) \
-+ $(SPICE_LIBS) \
-+ $(DL_LIBS)
-
- noinst_HEADERS = $(wildcard *.h)
- noinst_DATA = ../../celestia
diff --git a/testing/celestia/gcc-4.7-fixes.diff b/testing/celestia/gcc-4.7-fixes.diff
deleted file mode 100644
index 9ca09e03f..000000000
--- a/testing/celestia/gcc-4.7-fixes.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/src/celmath/intersect.h
-+++ b/src/celmath/intersect.h
-@@ -15,6 +15,7 @@
- #include "ray.h"
- #include "sphere.h"
- #include "ellipsoid.h"
-+#include "mathlib.h"
-
-
- template<class T> bool testIntersection(const Ray3<T>& ray,
diff --git a/testing/ftgl/PKGBUILD b/testing/ftgl/PKGBUILD
deleted file mode 100644
index 590190dae..000000000
--- a/testing/ftgl/PKGBUILD
+++ /dev/null
@@ -1,34 +0,0 @@
-# $Id: PKGBUILD 168280 2012-10-07 17:22:30Z heftig $
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
-# Contributor: Alexander Baldeck <alexander@archlinux.org>
-# Contributor: tobias <tobias@archlinux.org>
-
-pkgname=ftgl
-_pkgver=2.1.3-rc5
-pkgver=${_pkgver/-/}
-pkgrel=4
-pkgdesc="OpenGL library to use arbitrary fonts"
-arch=(i686 x86_64)
-url="http://ftgl.wiki.sourceforge.net/"
-license=(MIT)
-depends=(freetype2 mesa glu)
-makedepends=(doxygen)
-options=('!libtool')
-source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$_pkgver.tar.bz2")
-md5sums=('c7879018cde844059495b3029b0b6503')
-
-build() {
- cd "$srcdir/$pkgname-${_pkgver/-/~}"
- ./configure --prefix=/usr --with-pic --disable-static
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-${_pkgver/-/~}"
- make DESTDIR="$pkgdir" install
-
- # FS#23283: install missing headers for OpenCascade
- install -m644 src/FT{Face,Library,Size}.h "$pkgdir/usr/include/FTGL/"
-
- install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
diff --git a/testing/glu/PKGBUILD b/testing/glu/PKGBUILD
deleted file mode 100644
index 0e1e04a8c..000000000
--- a/testing/glu/PKGBUILD
+++ /dev/null
@@ -1,32 +0,0 @@
-# $Id: PKGBUILD 168200 2012-10-06 20:05:28Z andyrtr $
-# Maintainer: Andreas Radke <andyrtr@archlinux.org>
-# Contributor: Laurent Carlier <lordheavym@gmail.com>
-
-pkgname=glu
-pkgver=9.0.0
-pkgrel=1
-pkgdesc="Mesa OpenGL Utility library"
-arch=('i686' 'x86_64')
-url="http://cgit.freedesktop.org/mesa/glu/"
-license=('LGPL')
-depends=('libgl')
-makedepends=('mesa')
-options=('!libtool')
-source=(ftp://ftp.freedesktop.org/pub/mesa/$pkgname/$pkgname-$pkgver.tar.bz2)
-sha256sums=('1f7ad0d379a722fcbd303aa5650c6d7d5544fde83196b42a73d1193568a4df12')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr --disable-static
- make
-}
-
-check() {
- cd "$srcdir/$pkgname-$pkgver"
- make -k check
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir/" install
-}
diff --git a/testing/gnome-games/PKGBUILD b/testing/gnome-games/PKGBUILD
deleted file mode 100644
index f10dee80a..000000000
--- a/testing/gnome-games/PKGBUILD
+++ /dev/null
@@ -1,37 +0,0 @@
-# $Id: PKGBUILD 168505 2012-10-13 00:06:42Z heftig $
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
-# Contributor: Jan de Groot <jgc@archlinux.org>
-
-pkgname=gnome-games
-pkgver=3.4.2
-pkgrel=2
-pkgdesc="Some Games for GNOME"
-arch=('i686' 'x86_64')
-license=('GPL')
-depends=('desktop-file-utils' 'glu' 'libcanberra' 'clutter-gtk' 'hicolor-icon-theme' 'librsvg' 'python2-gobject' 'dconf')
-makedepends=('yelp-tools' 'intltool' 'gobject-introspection' 'vala')
-options=('!emptydirs' '!libtool')
-install=gnome-games.install
-url="http://www.gnome.org"
-groups=('gnome-extra')
-source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
-sha256sums=('25676285fad33a39da7fc26b5b1dc751c7981ae778b8fe82e8b7c0a367e5117c')
-
-build() {
- cd $pkgname-$pkgver
- PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/etc \
- --localstatedir=/var --disable-static --disable-schemas-compile \
- --with-scores-user=root --with-scores-group=games \
- --enable-introspection=yes
- make
-}
-
-package() {
- cd $pkgname-$pkgver
- make DESTDIR="$pkgdir" install
-
- # Remove all scores, we generate them from postinstall
- rm -rf "$pkgdir/var"
-
- sed -i 's_#! /usr/bin/env python_#!/usr/bin/env python2_' "$pkgdir/usr/bin/gnome-sudoku"
-}
diff --git a/testing/gnome-games/gnome-games.install b/testing/gnome-games/gnome-games.install
deleted file mode 100644
index aaa36a896..000000000
--- a/testing/gnome-games/gnome-games.install
+++ /dev/null
@@ -1,122 +0,0 @@
-_scores=(glines.Large.scores
- glines.Medium.scores
- glines.Small.scores
- gnibbles.1.0.scores
- gnibbles.1.1.scores
- gnibbles.2.0.scores
- gnibbles.2.1.scores
- gnibbles.3.0.scores
- gnibbles.3.1.scores
- gnibbles.4.0.scores
- gnibbles.4.1.scores
- gnobots2.classic_robots-safe.scores
- gnobots2.classic_robots-super-safe.scores
- gnobots2.classic_robots.scores
- gnobots2.nightmare-safe.scores
- gnobots2.nightmare-super-safe.scores
- gnobots2.nightmare.scores
- gnobots2.robots2-safe.scores
- gnobots2.robots2-super-safe.scores
- gnobots2.robots2.scores
- gnobots2.robots2_easy-safe.scores
- gnobots2.robots2_easy-super-safe.scores
- gnobots2.robots2_easy.scores
- gnobots2.robots_with_safe_teleport-safe.scores
- gnobots2.robots_with_safe_teleport-super-safe.scores
- gnobots2.robots_with_safe_teleport.scores
- gnomine.Custom.scores
- gnomine.Large.scores
- gnomine.Medium.scores
- gnomine.Small.scores
- gnotravex.2x2.scores
- gnotravex.3x3.scores
- gnotravex.4x4.scores
- gnotravex.5x5.scores
- gnotravex.6x6.scores
- gnotski.1.scores
- gnotski.10.scores
- gnotski.11.scores
- gnotski.12.scores
- gnotski.13.scores
- gnotski.14.scores
- gnotski.15.scores
- gnotski.16.scores
- gnotski.17.scores
- gnotski.18.scores
- gnotski.19.scores
- gnotski.2.scores
- gnotski.20.scores
- gnotski.21.scores
- gnotski.22.scores
- gnotski.23.scores
- gnotski.24.scores
- gnotski.25.scores
- gnotski.26.scores
- gnotski.27.scores
- gnotski.28.scores
- gnotski.29.scores
- gnotski.3.scores
- gnotski.30.scores
- gnotski.31.scores
- gnotski.32.scores
- gnotski.33.scores
- gnotski.34.scores
- gnotski.35.scores
- gnotski.36.scores
- gnotski.37.scores
- gnotski.4.scores
- gnotski.5.scores
- gnotski.6.scores
- gnotski.7.scores
- gnotski.8.scores
- gnotski.9.scores
- gtali.Colors.scores
- gtali.Regular.scores
- mahjongg.bridges.scores
- mahjongg.cloud.scores
- mahjongg.confounding.scores
- mahjongg.difficult.scores
- mahjongg.dragon.scores
- mahjongg.easy.scores
- mahjongg.pyramid.scores
- mahjongg.tictactoe.scores
- mahjongg.ziggurat.scores
- swell-foop.Large.scores
- swell-foop.Medium.scores
- swell-foop.Small.scores
- quadrapassel.scores)
-
-post_install() {
- glib-compile-schemas usr/share/glib-2.0/schemas
- update-desktop-database -q
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-
- for score in "${_scores[@]}" ; do
- if [ -e "var/games/$score" ]; then
- continue
- fi
-
- touch "var/games/$score"
- chown root:games "var/games/$score"
- chmod 664 "var/games/$score"
- done
-}
-
-pre_upgrade() {
- (( $(vercmp $2 3.3.5) < 0 )) && gconfpkg --uninstall gnome-games
- return 0
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- glib-compile-schemas usr/share/glib-2.0/schemas
- update-desktop-database -q
- gtk-update-icon-cache -q -f -t usr/share/icons/hicolor
-
- for score in "${_scores[@]}" ; do
- rm -f "var/games/$score"
- done
-}
diff --git a/testing/gnome-python-desktop/PKGBUILD b/testing/gnome-python-desktop/PKGBUILD
deleted file mode 100644
index 2c0833284..000000000
--- a/testing/gnome-python-desktop/PKGBUILD
+++ /dev/null
@@ -1,107 +0,0 @@
-# $Id: PKGBUILD 168837 2012-10-16 11:53:40Z allan $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-# Contributor: Arjan Timmerman <arjan@soulfly.nl>
-# Contributor: Wael Nasreddine <gandalf@siemens-mobiles.org>
-
-pkgbase=gnome-python-desktop
-pkgname=('gnome-python-desktop' 'python2-gnomedesktop' 'python2-gnomekeyring' 'python2-gtop' 'python2-metacity' 'python2-rsvg' 'python2-totem-plparser' 'python2-wnck')
-pkgver=2.32.0
-pkgrel=11
-arch=(i686 x86_64)
-license=('GPL' 'LGPL')
-options=('!libtool')
-makedepends=('intltool' 'pkg-config' 'gnome-python' 'libgtop' 'totem-plparser' 'gnome-desktop2' 'metacity' 'librsvg' 'libwnck')
-url="http://www.gnome.org"
-source=(http://ftp.gnome.org/pub/gnome/sources/${pkgbase}/2.32/${pkgbase}-${pkgver}.tar.bz2
- gnome-python-desktop-2.32.0-metacity-build.patch)
-sha256sums=('09dbd580bf3b0ef60f91b090eafe6d08ddcc50a609e2b425a7f8eca46d4e0ee9'
- 'f012f9bd2f9baa527f07ad2f6e312c875bb6f2d3204270a1b053278a3a0c86b3')
-
-build() {
- cd "${srcdir}/${pkgbase}-${pkgver}"
- patch -p1 -i ../gnome-python-desktop-2.32.0-metacity-build.patch
- PYTHON=/usr/bin/python2 ./configure --prefix=/usr --enable-metacity
- make
-}
-
-package_gnome-python-desktop() {
- depends=('python2-gnomedesktop' 'python2-gnomekeyring' 'python2-gtop' 'python2-metacity' 'python2-rsvg' 'python2-totem-plparser' 'python2-wnck' 'gnome2-python')
- pkgdesc="Python bindings for the GNOME desktop environment"
-
- cd "${srcdir}/${pkgbase}-${pkgver}"
- make install-pkgconfigDATA DESTDIR="${pkgdir}"
-}
-
-package_python2-gnomedesktop() {
- depends=('pygtk' 'gnome-desktop2' 'python2-gnomevfs')
- pkgdesc="Python bindings for gnome-desktop 2.x"
- conflicts=('python-gnomedesktop<=2.32.0-10')
- replaces=('python-gnomedesktop<=2.32.0-10')
-
- cd "${srcdir}/${pkgbase}-${pkgver}"
- make -C gnomedesktop install DESTDIR="${pkgdir}"
-}
-
-package_python2-gnomekeyring() {
- depends=('pygtk' 'libgnome-keyring')
- pkgdesc="Python bindings for libgnome-keyring"
- conflicts=('python-gnomekeyring<=2.32.0-10')
- replaces=('python-gnomekeyring<=2.32.0-10')
-
- cd "${srcdir}/${pkgbase}-${pkgver}"
- make -C gnomekeyring install DESTDIR="${pkgdir}"
-}
-
-package_python2-gtop() {
- depends=('pygtk' 'libgtop')
- pkgdesc="Python bindings for libgtop"
- conflicts=('python-gtop<=2.32.0-10')
- replaces=('python-gtop<=2.32.0-10')
-
- cd "${srcdir}/${pkgbase}-${pkgver}"
- make -C gtop install DESTDIR="${pkgdir}"
-}
-
-package_python2-metacity() {
- depends=('pygtk' 'metacity')
- pkgdesc="Python bindings for metacity"
- conflicts=('python-metacity<=2.32.0-10')
- replaces=('python-metacity<=2.32.0-10')
-
- cd "${srcdir}/${pkgbase}-${pkgver}"
- make -C metacity install DESTDIR="${pkgdir}"
-}
-
-package_python2-rsvg() {
- depends=('pygtk' 'librsvg')
- pkgdesc="Python bindings for librsvg"
- conflicts=('python-rsvg<=2.32.0-10')
- replaces=('python-rsvg<=2.32.0-10')
-
- cd "${srcdir}/${pkgbase}-${pkgver}"
- make -C rsvg install DESTDIR="${pkgdir}"
- install -m755 -d "${pkgdir}/usr/share/pygtk/2.0/defs"
- install -m644 rsvg/rsvg.defs "${pkgdir}/usr/share/pygtk/2.0/defs/"
-}
-
-package_python2-totem-plparser() {
- depends=('pygtk' 'totem-plparser' 'python2-gnomevfs')
- pkgdesc="Python bindings for totem-plparser"
- conflicts=('python-totem-plparser<=2.32.0-10')
- replaces=('python-totem-plparser<=2.32.0-10')
-
- cd "${srcdir}/${pkgbase}-${pkgver}"
- make -C totem install DESTDIR="${pkgdir}"
- install -m755 -d "${pkgdir}/usr/share/pygtk/2.0/defs"
- install -m644 totem/plparser.defs "${pkgdir}/usr/share/pygtk/2.0/defs/"
-}
-
-package_python2-wnck() {
- depends=('pygtk' 'libwnck')
- pkgdesc="Python bindings for libwnck"
- conflicts=('python-wnck<=2.32.0-10')
- replaces=('python-wnck<=2.32.0-10')
-
- cd "${srcdir}/${pkgbase}-${pkgver}"
- make -C wnck install DESTDIR="${pkgdir}"
-}
diff --git a/testing/gnome-python-desktop/gnome-python-desktop-2.32.0-metacity-build.patch b/testing/gnome-python-desktop/gnome-python-desktop-2.32.0-metacity-build.patch
deleted file mode 100644
index 5054dd2bd..000000000
--- a/testing/gnome-python-desktop/gnome-python-desktop-2.32.0-metacity-build.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From: Daniel Drake <dsd@laptop.org>
-
-Fix build against metacity-2.34.2. The port to GSettings
-removed these constants from the codebase.
-
-Index: gnome-python-desktop-2.32.0/metacity/metacity.defs
-===================================================================
---- gnome-python-desktop-2.32.0.orig/metacity/metacity.defs
-+++ gnome-python-desktop-2.32.0/metacity/metacity.defs
-@@ -120,32 +120,6 @@
- )
- )
-
--(define-enum FocusMode
-- (in-module "Meta")
-- (c-name "MetaFocusMode")
--; (gtype-id "META_TYPE_FOCUS_MODE")
-- (values
-- '("click" "META_FOCUS_MODE_CLICK")
-- '("sloppy" "META_FOCUS_MODE_SLOPPY")
-- '("mouse" "META_FOCUS_MODE_MOUSE")
-- )
--)
--
--(define-enum ActionTitlebar
-- (in-module "Meta")
-- (c-name "MetaActionTitlebar")
--; (gtype-id "META_TYPE_ACTION_TITLEBAR")
-- (values
-- '("toggle-shade" "META_ACTION_TITLEBAR_TOGGLE_SHADE")
-- '("toggle-maximize" "META_ACTION_TITLEBAR_TOGGLE_MAXIMIZE")
-- '("minimize" "META_ACTION_TITLEBAR_MINIMIZE")
-- '("none" "META_ACTION_TITLEBAR_NONE")
-- '("lower" "META_ACTION_TITLEBAR_LOWER")
-- '("menu" "META_ACTION_TITLEBAR_MENU")
-- '("last" "META_ACTION_TITLEBAR_LAST")
-- )
--)
--
- (define-enum FrameType
- (in-module "Meta")
- (c-name "MetaFrameType")
diff --git a/testing/gtkglext/PKGBUILD b/testing/gtkglext/PKGBUILD
deleted file mode 100644
index c5b2f7937..000000000
--- a/testing/gtkglext/PKGBUILD
+++ /dev/null
@@ -1,36 +0,0 @@
-# $Id: PKGBUILD 168484 2012-10-12 16:59:46Z andyrtr $
-# Maintainer:
-# Contributor: Ben <ben@benmazer.net>
-
-pkgname=gtkglext
-pkgver=1.2.0
-pkgrel=8
-pkgdesc="opengl extensions for gtk2"
-arch=('i686' 'x86_64')
-url="http://gtkglext.sourceforge.net/"
-license=('LGPL')
-depends=('gtk2' 'glu' 'libxmu')
-makedepends=('mesa')
-options=('!libtool')
-source=("http://downloads.sourceforge.net/sourceforge/gtkglext/${pkgname}-${pkgver}.tar.bz2"
- 'gtk2.20.patch')
-md5sums=('ed7ba24ce06a8630c07f2d0ee5f04ab4'
- 'e5a87ec3f2d0e616c6f32f90c3f7237f')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- patch -Np1 -i "${srcdir}/gtk2.20.patch"
- sed '/AC_PATH_XTRA/d' -i configure.in
-
- autoreconf --force --install
- ./configure --prefix=/usr \
- --disable-static
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- make DESTDIR="${pkgdir}" install
-}
diff --git a/testing/gtkglext/gtk2.20.patch b/testing/gtkglext/gtk2.20.patch
deleted file mode 100644
index 54b34c11e..000000000
--- a/testing/gtkglext/gtk2.20.patch
+++ /dev/null
@@ -1,77 +0,0 @@
-diff -Nur gtkglext-1.2.0.orig/gtk/gtkglwidget.c gtkglext-1.2.0/gtk/gtkglwidget.c
---- gtkglext-1.2.0.orig/gtk/gtkglwidget.c 2004-02-20 11:38:36.000000000 +0200
-+++ gtkglext-1.2.0/gtk/gtkglwidget.c 2010-04-20 19:29:42.941917275 +0300
-@@ -127,7 +127,7 @@
- * Synchronize OpenGL and window resizing request streams.
- */
-
-- if (GTK_WIDGET_REALIZED (widget) && private->is_realized)
-+ if (gtk_widget_get_realized (widget) && private->is_realized)
- {
- gldrawable = gdk_window_get_gl_drawable (widget->window);
- gdk_gl_drawable_wait_gdk (gldrawable);
-@@ -154,7 +154,7 @@
- * Remove OpenGL-capability from widget->window.
- */
-
-- if (GTK_WIDGET_REALIZED (widget))
-+ if (gtk_widget_get_realized (widget))
- gdk_window_unset_gl_capability (widget->window);
-
- private->is_realized = FALSE;
-@@ -174,7 +174,7 @@
- */
-
- toplevel = gtk_widget_get_toplevel (widget);
-- if (GTK_WIDGET_TOPLEVEL (toplevel) && !GTK_WIDGET_REALIZED (toplevel))
-+ if (gtk_widget_is_toplevel (toplevel) && !gtk_widget_get_realized (toplevel))
- {
- GTK_GL_NOTE (MISC,
- g_message (" - Install colormap to the top-level window."));
-@@ -194,7 +194,7 @@
- * Set a background of "None" on window to avoid AIX X server crash.
- */
-
-- if (GTK_WIDGET_REALIZED (widget))
-+ if (gtk_widget_get_realized (widget))
- {
- GTK_GL_NOTE (MISC,
- g_message (" - window->bg_pixmap = %p",
-@@ -250,8 +250,8 @@
- GTK_GL_NOTE_FUNC ();
-
- g_return_val_if_fail (GTK_IS_WIDGET (widget), FALSE);
-- g_return_val_if_fail (!GTK_WIDGET_NO_WINDOW (widget), FALSE);
-- g_return_val_if_fail (!GTK_WIDGET_REALIZED (widget), FALSE);
-+ g_return_val_if_fail (gtk_widget_get_has_window (widget), FALSE);
-+ g_return_val_if_fail (!gtk_widget_get_realized (widget), FALSE);
- g_return_val_if_fail (GDK_IS_GL_CONFIG (glconfig), FALSE);
-
- /*
-@@ -432,7 +432,7 @@
- GTK_GL_NOTE_FUNC ();
-
- g_return_val_if_fail (GTK_IS_WIDGET (widget), NULL);
-- g_return_val_if_fail (GTK_WIDGET_REALIZED (widget), NULL);
-+ g_return_val_if_fail (gtk_widget_get_realized (widget), NULL);
-
- gldrawable = gdk_window_get_gl_drawable (widget->window);
- if (gldrawable == NULL)
-@@ -474,7 +474,7 @@
- GLWidgetPrivate *private;
-
- g_return_val_if_fail (GTK_IS_WIDGET (widget), NULL);
-- g_return_val_if_fail (GTK_WIDGET_REALIZED (widget), NULL);
-+ g_return_val_if_fail (gtk_widget_get_realized (widget), NULL);
-
- private = g_object_get_qdata (G_OBJECT (widget), quark_gl_private);
- if (private == NULL)
-@@ -501,7 +501,7 @@
- gtk_widget_get_gl_window (GtkWidget *widget)
- {
- g_return_val_if_fail (GTK_IS_WIDGET (widget), NULL);
-- g_return_val_if_fail (GTK_WIDGET_REALIZED (widget), NULL);
-+ g_return_val_if_fail (gtk_widget_get_realized (widget), NULL);
-
- return gdk_window_get_gl_window (widget->window);
- }
diff --git a/testing/gtkglextmm/PKGBUILD b/testing/gtkglextmm/PKGBUILD
deleted file mode 100644
index e3a098e14..000000000
--- a/testing/gtkglextmm/PKGBUILD
+++ /dev/null
@@ -1,40 +0,0 @@
-# $Id: PKGBUILD 168486 2012-10-12 17:14:06Z andyrtr $
-# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
-# Contributor: Bastien Bouclet <bastien.bouclet@gmail.com>
-# Contributor: SpepS <dreamspepser at yahoo dot it>
-
-pkgname=gtkglextmm
-pkgver=1.2.0
-pkgrel=9
-pkgdesc="Cpp C++ bindings for gtkglext"
-arch=('i686' 'x86_64')
-url="http://gtkglext.sourceforge.net/"
-depends=('gtkmm' 'gtkglext')
-makedepends=('mesa')
-options=('!libtool')
-license=('GPL')
-source=("http://downloads.sourceforge.net/sourceforge/gtkglext/${pkgname}-${pkgver}.tar.bz2"
- 'gdkspanfunc.patch')
-md5sums=('27c05f4d45c5fd07b6fb0f044add3056'
- 'd7c8ea33c748a6857ee629c16b2d9bff')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- # FS#24706
- patch -Np1 -i "${srcdir}/gdkspanfunc.patch"
-
- # automake 1.8 fix
- sed -i "s|\(AC_DEFUN(\)\(AC_.*_MULTIHEAD\)|\1[\2]|" m4macros/gtkglextmm.m4
-
- ./configure --prefix=/usr \
- --disable-gtkglext-test \
- --disable-static
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- make DESTDIR="${pkgdir}" install
-}
diff --git a/testing/gtkglextmm/gdkspanfunc.patch b/testing/gtkglextmm/gdkspanfunc.patch
deleted file mode 100644
index ae5672a8c..000000000
--- a/testing/gtkglextmm/gdkspanfunc.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- a/gtkglext/gtkmm/gl/widget.cc 2004-05-18 03:01:50.000000000 -0300
-+++ b/gtkglext/gtkmm/gl/widget.cc 2011-06-12 17:57:13.075541070 -0300
-@@ -17,9 +17,8 @@
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
- */
-
--#include <gtk/gtkglwidget.h>
--
- #include "widget.h"
-+#include <gtk/gtkglwidget.h>
-
- namespace Gtk
- {
diff --git a/testing/jasper/PKGBUILD b/testing/jasper/PKGBUILD
deleted file mode 100644
index dc7b9662c..000000000
--- a/testing/jasper/PKGBUILD
+++ /dev/null
@@ -1,36 +0,0 @@
-# $Id: PKGBUILD 168284 2012-10-07 21:09:20Z eric $
-# Maintainer: Eric Bélanger <eric@archlinux.org>
-
-pkgname=jasper
-pkgver=1.900.1
-pkgrel=8
-pkgdesc="A software-based implementation of the codec specified in the emerging JPEG-2000 Part-1 standard"
-arch=('i686' 'x86_64')
-url="http://www.ece.uvic.ca/~mdadams/jasper/"
-license=('custom:JasPer2.0')
-depends=('libjpeg' 'freeglut' 'libxmu' 'glu')
-options=('!libtool')
-source=(http://www.ece.uvic.ca/~mdadams/${pkgname}/software/${pkgname}-${pkgver}.zip jpc_dec.c.patch
- patch-libjasper-stepsizes-overflow.diff jasper-1.900.1-CVE-2008-3520.patch
- jasper-1.900.1-CVE-2008-3522.patch)
-sha1sums=('9c5735f773922e580bf98c7c7dfda9bbed4c5191'
- 'c1a0176a15210c0af14d85e55ce566921957d780'
- 'f298566fef08c8a589d072582112cd51c72c3983'
- '2483dba925670bf29f531d85d73c4e5ada513b01'
- '0e7b6142cd9240ffb15a1ed7297c43c76fa09ee4')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- patch -p1 -i "${srcdir}/jpc_dec.c.patch"
- patch -p1 -i "${srcdir}/patch-libjasper-stepsizes-overflow.diff"
- patch -p1 -i "${srcdir}/jasper-1.900.1-CVE-2008-3520.patch"
- patch -p1 -i "${srcdir}/jasper-1.900.1-CVE-2008-3522.patch"
- ./configure --prefix=/usr --mandir=/usr/share/man --enable-shared
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
diff --git a/testing/jasper/jasper-1.900.1-CVE-2008-3520.patch b/testing/jasper/jasper-1.900.1-CVE-2008-3520.patch
deleted file mode 100644
index 0f5e3b746..000000000
--- a/testing/jasper/jasper-1.900.1-CVE-2008-3520.patch
+++ /dev/null
@@ -1,928 +0,0 @@
-https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2008-3520
-
-OpenBSD jas_malloc hardening patches
-
-diff -pruN jasper-1.900.1.orig/src/libjasper/base/jas_cm.c jasper-1.900.1/src/libjasper/base/jas_cm.c
---- jasper-1.900.1.orig/src/libjasper/base/jas_cm.c 2007-01-19 22:43:05.000000000 +0100
-+++ jasper-1.900.1/src/libjasper/base/jas_cm.c 2009-10-22 10:27:45.000000000 +0200
-@@ -704,8 +704,7 @@ static int jas_cmpxformseq_resize(jas_cm
- {
- jas_cmpxform_t **p;
- assert(n >= pxformseq->numpxforms);
-- p = (!pxformseq->pxforms) ? jas_malloc(n * sizeof(jas_cmpxform_t *)) :
-- jas_realloc(pxformseq->pxforms, n * sizeof(jas_cmpxform_t *));
-+ p = jas_realloc2(pxformseq->pxforms, n, sizeof(jas_cmpxform_t *));
- if (!p) {
- return -1;
- }
-@@ -889,13 +888,13 @@ static int jas_cmshapmatlut_set(jas_cmsh
- jas_cmshapmatlut_cleanup(lut);
- if (curv->numents == 0) {
- lut->size = 2;
-- if (!(lut->data = jas_malloc(lut->size * sizeof(jas_cmreal_t))))
-+ if (!(lut->data = jas_alloc2(lut->size, sizeof(jas_cmreal_t))))
- goto error;
- lut->data[0] = 0.0;
- lut->data[1] = 1.0;
- } else if (curv->numents == 1) {
- lut->size = 256;
-- if (!(lut->data = jas_malloc(lut->size * sizeof(jas_cmreal_t))))
-+ if (!(lut->data = jas_alloc2(lut->size, sizeof(jas_cmreal_t))))
- goto error;
- gamma = curv->ents[0] / 256.0;
- for (i = 0; i < lut->size; ++i) {
-@@ -903,7 +902,7 @@ static int jas_cmshapmatlut_set(jas_cmsh
- }
- } else {
- lut->size = curv->numents;
-- if (!(lut->data = jas_malloc(lut->size * sizeof(jas_cmreal_t))))
-+ if (!(lut->data = jas_alloc2(lut->size, sizeof(jas_cmreal_t))))
- goto error;
- for (i = 0; i < lut->size; ++i) {
- lut->data[i] = curv->ents[i] / 65535.0;
-@@ -953,7 +952,7 @@ static int jas_cmshapmatlut_invert(jas_c
- return -1;
- }
- }
-- if (!(invlut->data = jas_malloc(n * sizeof(jas_cmreal_t))))
-+ if (!(invlut->data = jas_alloc2(n, sizeof(jas_cmreal_t))))
- return -1;
- invlut->size = n;
- for (i = 0; i < invlut->size; ++i) {
-diff -pruN jasper-1.900.1.orig/src/libjasper/base/jas_icc.c jasper-1.900.1/src/libjasper/base/jas_icc.c
---- jasper-1.900.1.orig/src/libjasper/base/jas_icc.c 2007-01-19 22:43:05.000000000 +0100
-+++ jasper-1.900.1/src/libjasper/base/jas_icc.c 2009-10-22 10:27:45.000000000 +0200
-@@ -373,7 +373,7 @@ int jas_iccprof_save(jas_iccprof_t *prof
- jas_icctagtab_t *tagtab;
-
- tagtab = &prof->tagtab;
-- if (!(tagtab->ents = jas_malloc(prof->attrtab->numattrs *
-+ if (!(tagtab->ents = jas_alloc2(prof->attrtab->numattrs,
- sizeof(jas_icctagtabent_t))))
- goto error;
- tagtab->numents = prof->attrtab->numattrs;
-@@ -522,7 +522,7 @@ static int jas_iccprof_gettagtab(jas_str
- }
- if (jas_iccgetuint32(in, &tagtab->numents))
- goto error;
-- if (!(tagtab->ents = jas_malloc(tagtab->numents *
-+ if (!(tagtab->ents = jas_alloc2(tagtab->numents,
- sizeof(jas_icctagtabent_t))))
- goto error;
- tagtabent = tagtab->ents;
-@@ -743,8 +743,7 @@ static int jas_iccattrtab_resize(jas_icc
- {
- jas_iccattr_t *newattrs;
- assert(maxents >= tab->numattrs);
-- newattrs = tab->attrs ? jas_realloc(tab->attrs, maxents *
-- sizeof(jas_iccattr_t)) : jas_malloc(maxents * sizeof(jas_iccattr_t));
-+ newattrs = jas_realloc2(tab->attrs, maxents, sizeof(jas_iccattr_t));
- if (!newattrs)
- return -1;
- tab->attrs = newattrs;
-@@ -999,7 +998,7 @@ static int jas_icccurv_input(jas_iccattr
-
- if (jas_iccgetuint32(in, &curv->numents))
- goto error;
-- if (!(curv->ents = jas_malloc(curv->numents * sizeof(jas_iccuint16_t))))
-+ if (!(curv->ents = jas_alloc2(curv->numents, sizeof(jas_iccuint16_t))))
- goto error;
- for (i = 0; i < curv->numents; ++i) {
- if (jas_iccgetuint16(in, &curv->ents[i]))
-@@ -1100,7 +1099,7 @@ static int jas_icctxtdesc_input(jas_icca
- if (jas_iccgetuint32(in, &txtdesc->uclangcode) ||
- jas_iccgetuint32(in, &txtdesc->uclen))
- goto error;
-- if (!(txtdesc->ucdata = jas_malloc(txtdesc->uclen * 2)))
-+ if (!(txtdesc->ucdata = jas_alloc2(txtdesc->uclen, 2)))
- goto error;
- if (jas_stream_read(in, txtdesc->ucdata, txtdesc->uclen * 2) !=
- JAS_CAST(int, txtdesc->uclen * 2))
-@@ -1292,17 +1291,17 @@ static int jas_icclut8_input(jas_iccattr
- jas_iccgetuint16(in, &lut8->numouttabents))
- goto error;
- clutsize = jas_iccpowi(lut8->clutlen, lut8->numinchans) * lut8->numoutchans;
-- if (!(lut8->clut = jas_malloc(clutsize * sizeof(jas_iccuint8_t))) ||
-- !(lut8->intabsbuf = jas_malloc(lut8->numinchans *
-- lut8->numintabents * sizeof(jas_iccuint8_t))) ||
-- !(lut8->intabs = jas_malloc(lut8->numinchans *
-+ if (!(lut8->clut = jas_alloc2(clutsize, sizeof(jas_iccuint8_t))) ||
-+ !(lut8->intabsbuf = jas_alloc3(lut8->numinchans,
-+ lut8->numintabents, sizeof(jas_iccuint8_t))) ||
-+ !(lut8->intabs = jas_alloc2(lut8->numinchans,
- sizeof(jas_iccuint8_t *))))
- goto error;
- for (i = 0; i < lut8->numinchans; ++i)
- lut8->intabs[i] = &lut8->intabsbuf[i * lut8->numintabents];
-- if (!(lut8->outtabsbuf = jas_malloc(lut8->numoutchans *
-- lut8->numouttabents * sizeof(jas_iccuint8_t))) ||
-- !(lut8->outtabs = jas_malloc(lut8->numoutchans *
-+ if (!(lut8->outtabsbuf = jas_alloc3(lut8->numoutchans,
-+ lut8->numouttabents, sizeof(jas_iccuint8_t))) ||
-+ !(lut8->outtabs = jas_alloc2(lut8->numoutchans,
- sizeof(jas_iccuint8_t *))))
- goto error;
- for (i = 0; i < lut8->numoutchans; ++i)
-@@ -1461,17 +1460,17 @@ static int jas_icclut16_input(jas_iccatt
- jas_iccgetuint16(in, &lut16->numouttabents))
- goto error;
- clutsize = jas_iccpowi(lut16->clutlen, lut16->numinchans) * lut16->numoutchans;
-- if (!(lut16->clut = jas_malloc(clutsize * sizeof(jas_iccuint16_t))) ||
-- !(lut16->intabsbuf = jas_malloc(lut16->numinchans *
-- lut16->numintabents * sizeof(jas_iccuint16_t))) ||
-- !(lut16->intabs = jas_malloc(lut16->numinchans *
-+ if (!(lut16->clut = jas_alloc2(clutsize, sizeof(jas_iccuint16_t))) ||
-+ !(lut16->intabsbuf = jas_alloc3(lut16->numinchans,
-+ lut16->numintabents, sizeof(jas_iccuint16_t))) ||
-+ !(lut16->intabs = jas_alloc2(lut16->numinchans,
- sizeof(jas_iccuint16_t *))))
- goto error;
- for (i = 0; i < lut16->numinchans; ++i)
- lut16->intabs[i] = &lut16->intabsbuf[i * lut16->numintabents];
-- if (!(lut16->outtabsbuf = jas_malloc(lut16->numoutchans *
-- lut16->numouttabents * sizeof(jas_iccuint16_t))) ||
-- !(lut16->outtabs = jas_malloc(lut16->numoutchans *
-+ if (!(lut16->outtabsbuf = jas_alloc3(lut16->numoutchans,
-+ lut16->numouttabents, sizeof(jas_iccuint16_t))) ||
-+ !(lut16->outtabs = jas_alloc2(lut16->numoutchans,
- sizeof(jas_iccuint16_t *))))
- goto error;
- for (i = 0; i < lut16->numoutchans; ++i)
-diff -pruN jasper-1.900.1.orig/src/libjasper/base/jas_image.c jasper-1.900.1/src/libjasper/base/jas_image.c
---- jasper-1.900.1.orig/src/libjasper/base/jas_image.c 2007-01-19 22:43:05.000000000 +0100
-+++ jasper-1.900.1/src/libjasper/base/jas_image.c 2009-10-22 10:27:45.000000000 +0200
-@@ -142,7 +142,7 @@ jas_image_t *jas_image_create(int numcmp
- image->inmem_ = true;
-
- /* Allocate memory for the per-component information. */
-- if (!(image->cmpts_ = jas_malloc(image->maxcmpts_ *
-+ if (!(image->cmpts_ = jas_alloc2(image->maxcmpts_,
- sizeof(jas_image_cmpt_t *)))) {
- jas_image_destroy(image);
- return 0;
-@@ -774,8 +774,7 @@ static int jas_image_growcmpts(jas_image
- jas_image_cmpt_t **newcmpts;
- int cmptno;
-
-- newcmpts = (!image->cmpts_) ? jas_malloc(maxcmpts * sizeof(jas_image_cmpt_t *)) :
-- jas_realloc(image->cmpts_, maxcmpts * sizeof(jas_image_cmpt_t *));
-+ newcmpts = jas_realloc2(image->cmpts_, maxcmpts, sizeof(jas_image_cmpt_t *));
- if (!newcmpts) {
- return -1;
- }
-diff -pruN jasper-1.900.1.orig/src/libjasper/base/jas_malloc.c jasper-1.900.1/src/libjasper/base/jas_malloc.c
---- jasper-1.900.1.orig/src/libjasper/base/jas_malloc.c 2007-01-19 22:43:05.000000000 +0100
-+++ jasper-1.900.1/src/libjasper/base/jas_malloc.c 2009-10-22 10:27:45.000000000 +0200
-@@ -76,6 +76,9 @@
-
- /* We need the prototype for memset. */
- #include <string.h>
-+#include <limits.h>
-+#include <errno.h>
-+#include <stdint.h>
-
- #include "jasper/jas_malloc.h"
-
-@@ -113,18 +116,50 @@ void jas_free(void *ptr)
-
- void *jas_realloc(void *ptr, size_t size)
- {
-- return realloc(ptr, size);
-+ return ptr ? realloc(ptr, size) : malloc(size);
- }
-
--void *jas_calloc(size_t nmemb, size_t size)
-+void *jas_realloc2(void *ptr, size_t nmemb, size_t size)
-+{
-+ if (!ptr)
-+ return jas_alloc2(nmemb, size);
-+ if (nmemb && SIZE_MAX / nmemb < size) {
-+ errno = ENOMEM;
-+ return NULL;
-+ }
-+ return jas_realloc(ptr, nmemb * size);
-+
-+}
-+
-+void *jas_alloc2(size_t nmemb, size_t size)
-+{
-+ if (nmemb && SIZE_MAX / nmemb < size) {
-+ errno = ENOMEM;
-+ return NULL;
-+ }
-+
-+ return jas_malloc(nmemb * size);
-+}
-+
-+void *jas_alloc3(size_t a, size_t b, size_t c)
- {
-- void *ptr;
- size_t n;
-- n = nmemb * size;
-- if (!(ptr = jas_malloc(n * sizeof(char)))) {
-- return 0;
-+
-+ if (a && SIZE_MAX / a < b) {
-+ errno = ENOMEM;
-+ return NULL;
- }
-- memset(ptr, 0, n);
-+
-+ return jas_alloc2(a*b, c);
-+}
-+
-+void *jas_calloc(size_t nmemb, size_t size)
-+{
-+ void *ptr;
-+
-+ ptr = jas_alloc2(nmemb, size);
-+ if (ptr)
-+ memset(ptr, 0, nmemb*size);
- return ptr;
- }
-
-diff -pruN jasper-1.900.1.orig/src/libjasper/base/jas_seq.c jasper-1.900.1/src/libjasper/base/jas_seq.c
---- jasper-1.900.1.orig/src/libjasper/base/jas_seq.c 2007-01-19 22:43:05.000000000 +0100
-+++ jasper-1.900.1/src/libjasper/base/jas_seq.c 2009-10-22 10:27:45.000000000 +0200
-@@ -114,7 +114,7 @@ jas_matrix_t *jas_matrix_create(int numr
- matrix->datasize_ = numrows * numcols;
-
- if (matrix->maxrows_ > 0) {
-- if (!(matrix->rows_ = jas_malloc(matrix->maxrows_ *
-+ if (!(matrix->rows_ = jas_alloc2(matrix->maxrows_,
- sizeof(jas_seqent_t *)))) {
- jas_matrix_destroy(matrix);
- return 0;
-@@ -122,7 +122,7 @@ jas_matrix_t *jas_matrix_create(int numr
- }
-
- if (matrix->datasize_ > 0) {
-- if (!(matrix->data_ = jas_malloc(matrix->datasize_ *
-+ if (!(matrix->data_ = jas_alloc2(matrix->datasize_,
- sizeof(jas_seqent_t)))) {
- jas_matrix_destroy(matrix);
- return 0;
-@@ -220,7 +220,7 @@ void jas_matrix_bindsub(jas_matrix_t *ma
- mat0->numrows_ = r1 - r0 + 1;
- mat0->numcols_ = c1 - c0 + 1;
- mat0->maxrows_ = mat0->numrows_;
-- mat0->rows_ = jas_malloc(mat0->maxrows_ * sizeof(jas_seqent_t *));
-+ mat0->rows_ = jas_alloc2(mat0->maxrows_, sizeof(jas_seqent_t *));
- for (i = 0; i < mat0->numrows_; ++i) {
- mat0->rows_[i] = mat1->rows_[r0 + i] + c0;
- }
-diff -pruN jasper-1.900.1.orig/src/libjasper/base/jas_stream.c jasper-1.900.1/src/libjasper/base/jas_stream.c
---- jasper-1.900.1.orig/src/libjasper/base/jas_stream.c 2007-01-19 22:43:05.000000000 +0100
-+++ jasper-1.900.1/src/libjasper/base/jas_stream.c 2009-10-22 10:27:45.000000000 +0200
-@@ -212,7 +212,7 @@ jas_stream_t *jas_stream_memopen(char *b
- if (buf) {
- obj->buf_ = (unsigned char *) buf;
- } else {
-- obj->buf_ = jas_malloc(obj->bufsize_ * sizeof(char));
-+ obj->buf_ = jas_malloc(obj->bufsize_);
- obj->myalloc_ = 1;
- }
- if (!obj->buf_) {
-@@ -992,7 +992,7 @@ static int mem_resize(jas_stream_memobj_
- unsigned char *buf;
-
- assert(m->buf_);
-- if (!(buf = jas_realloc(m->buf_, bufsize * sizeof(unsigned char)))) {
-+ if (!(buf = jas_realloc(m->buf_, bufsize))) {
- return -1;
- }
- m->buf_ = buf;
-diff -pruN jasper-1.900.1.orig/src/libjasper/bmp/bmp_dec.c jasper-1.900.1/src/libjasper/bmp/bmp_dec.c
---- jasper-1.900.1.orig/src/libjasper/bmp/bmp_dec.c 2007-01-19 22:43:07.000000000 +0100
-+++ jasper-1.900.1/src/libjasper/bmp/bmp_dec.c 2009-10-22 10:27:45.000000000 +0200
-@@ -283,7 +283,7 @@ static bmp_info_t *bmp_getinfo(jas_strea
- }
-
- if (info->numcolors > 0) {
-- if (!(info->palents = jas_malloc(info->numcolors *
-+ if (!(info->palents = jas_alloc2(info->numcolors,
- sizeof(bmp_palent_t)))) {
- bmp_info_destroy(info);
- return 0;
-diff -pruN jasper-1.900.1.orig/src/libjasper/include/jasper/jas_malloc.h jasper-1.900.1/src/libjasper/include/jasper/jas_malloc.h
---- jasper-1.900.1.orig/src/libjasper/include/jasper/jas_malloc.h 2007-01-19 22:43:04.000000000 +0100
-+++ jasper-1.900.1/src/libjasper/include/jasper/jas_malloc.h 2009-10-22 10:27:45.000000000 +0200
-@@ -95,6 +95,9 @@ extern "C" {
- #define jas_free MEMFREE
- #define jas_realloc MEMREALLOC
- #define jas_calloc MEMCALLOC
-+#define jas_alloc2(a, b) MEMALLOC((a)*(b))
-+#define jas_alloc3(a, b, c) MEMALLOC((a)*(b)*(c))
-+#define jas_realloc2(p, a, b) MEMREALLOC((p), (a)*(b))
- #endif
-
- /******************************************************************************\
-@@ -115,6 +118,12 @@ void *jas_realloc(void *ptr, size_t size
- /* Allocate a block of memory and initialize the contents to zero. */
- void *jas_calloc(size_t nmemb, size_t size);
-
-+/* size-checked double allocation .*/
-+void *jas_alloc2(size_t, size_t);
-+
-+void *jas_alloc3(size_t, size_t, size_t);
-+
-+void *jas_realloc2(void *, size_t, size_t);
- #endif
-
- #ifdef __cplusplus
-diff -pruN jasper-1.900.1.orig/src/libjasper/jp2/jp2_cod.c jasper-1.900.1/src/libjasper/jp2/jp2_cod.c
---- jasper-1.900.1.orig/src/libjasper/jp2/jp2_cod.c 2007-01-19 22:43:05.000000000 +0100
-+++ jasper-1.900.1/src/libjasper/jp2/jp2_cod.c 2009-10-22 10:30:24.000000000 +0200
-@@ -247,7 +247,7 @@ jp2_box_t *jp2_box_get(jas_stream_t *in)
- box = 0;
- tmpstream = 0;
-
-- if (!(box = jas_malloc(sizeof(jp2_box_t)))) {
-+ if (!(box = jas_calloc(1, sizeof(jp2_box_t)))) {
- goto error;
- }
- box->ops = &jp2_boxinfo_unk.ops;
-@@ -372,7 +372,7 @@ static int jp2_bpcc_getdata(jp2_box_t *b
- jp2_bpcc_t *bpcc = &box->data.bpcc;
- unsigned int i;
- bpcc->numcmpts = box->datalen;
-- if (!(bpcc->bpcs = jas_malloc(bpcc->numcmpts * sizeof(uint_fast8_t)))) {
-+ if (!(bpcc->bpcs = jas_alloc2(bpcc->numcmpts, sizeof(uint_fast8_t)))) {
- return -1;
- }
- for (i = 0; i < bpcc->numcmpts; ++i) {
-@@ -416,7 +416,7 @@ static int jp2_colr_getdata(jp2_box_t *b
- break;
- case JP2_COLR_ICC:
- colr->iccplen = box->datalen - 3;
-- if (!(colr->iccp = jas_malloc(colr->iccplen * sizeof(uint_fast8_t)))) {
-+ if (!(colr->iccp = jas_alloc2(colr->iccplen, sizeof(uint_fast8_t)))) {
- return -1;
- }
- if (jas_stream_read(in, colr->iccp, colr->iccplen) != colr->iccplen) {
-@@ -453,7 +453,7 @@ static int jp2_cdef_getdata(jp2_box_t *b
- if (jp2_getuint16(in, &cdef->numchans)) {
- return -1;
- }
-- if (!(cdef->ents = jas_malloc(cdef->numchans * sizeof(jp2_cdefchan_t)))) {
-+ if (!(cdef->ents = jas_alloc2(cdef->numchans, sizeof(jp2_cdefchan_t)))) {
- return -1;
- }
- for (channo = 0; channo < cdef->numchans; ++channo) {
-@@ -766,7 +766,7 @@ static int jp2_cmap_getdata(jp2_box_t *b
- unsigned int i;
-
- cmap->numchans = (box->datalen) / 4;
-- if (!(cmap->ents = jas_malloc(cmap->numchans * sizeof(jp2_cmapent_t)))) {
-+ if (!(cmap->ents = jas_alloc2(cmap->numchans, sizeof(jp2_cmapent_t)))) {
- return -1;
- }
- for (i = 0; i < cmap->numchans; ++i) {
-@@ -828,10 +828,10 @@ static int jp2_pclr_getdata(jp2_box_t *b
- return -1;
- }
- lutsize = pclr->numlutents * pclr->numchans;
-- if (!(pclr->lutdata = jas_malloc(lutsize * sizeof(int_fast32_t)))) {
-+ if (!(pclr->lutdata = jas_alloc2(lutsize, sizeof(int_fast32_t)))) {
- return -1;
- }
-- if (!(pclr->bpc = jas_malloc(pclr->numchans * sizeof(uint_fast8_t)))) {
-+ if (!(pclr->bpc = jas_alloc2(pclr->numchans, sizeof(uint_fast8_t)))) {
- return -1;
- }
- for (i = 0; i < pclr->numchans; ++i) {
-diff -pruN jasper-1.900.1.orig/src/libjasper/jp2/jp2_dec.c jasper-1.900.1/src/libjasper/jp2/jp2_dec.c
---- jasper-1.900.1.orig/src/libjasper/jp2/jp2_dec.c 2007-01-19 22:43:05.000000000 +0100
-+++ jasper-1.900.1/src/libjasper/jp2/jp2_dec.c 2009-10-22 10:27:45.000000000 +0200
-@@ -336,7 +336,7 @@ jas_image_t *jp2_decode(jas_stream_t *in
- }
-
- /* Allocate space for the channel-number to component-number LUT. */
-- if (!(dec->chantocmptlut = jas_malloc(dec->numchans * sizeof(uint_fast16_t)))) {
-+ if (!(dec->chantocmptlut = jas_alloc2(dec->numchans, sizeof(uint_fast16_t)))) {
- jas_eprintf("error: no memory\n");
- goto error;
- }
-@@ -354,7 +354,7 @@ jas_image_t *jp2_decode(jas_stream_t *in
- if (cmapent->map == JP2_CMAP_DIRECT) {
- dec->chantocmptlut[channo] = channo;
- } else if (cmapent->map == JP2_CMAP_PALETTE) {
-- lutents = jas_malloc(pclrd->numlutents * sizeof(int_fast32_t));
-+ lutents = jas_alloc2(pclrd->numlutents, sizeof(int_fast32_t));
- for (i = 0; i < pclrd->numlutents; ++i) {
- lutents[i] = pclrd->lutdata[cmapent->pcol + i * pclrd->numchans];
- }
-diff -pruN jasper-1.900.1.orig/src/libjasper/jp2/jp2_enc.c jasper-1.900.1/src/libjasper/jp2/jp2_enc.c
---- jasper-1.900.1.orig/src/libjasper/jp2/jp2_enc.c 2007-01-19 22:43:05.000000000 +0100
-+++ jasper-1.900.1/src/libjasper/jp2/jp2_enc.c 2009-10-22 10:27:45.000000000 +0200
-@@ -191,7 +191,7 @@ int sgnd;
- }
- bpcc = &box->data.bpcc;
- bpcc->numcmpts = jas_image_numcmpts(image);
-- if (!(bpcc->bpcs = jas_malloc(bpcc->numcmpts *
-+ if (!(bpcc->bpcs = jas_alloc2(bpcc->numcmpts,
- sizeof(uint_fast8_t)))) {
- goto error;
- }
-@@ -285,7 +285,7 @@ int sgnd;
- }
- cdef = &box->data.cdef;
- cdef->numchans = jas_image_numcmpts(image);
-- cdef->ents = jas_malloc(cdef->numchans * sizeof(jp2_cdefchan_t));
-+ cdef->ents = jas_alloc2(cdef->numchans, sizeof(jp2_cdefchan_t));
- for (i = 0; i < jas_image_numcmpts(image); ++i) {
- cdefchanent = &cdef->ents[i];
- cdefchanent->channo = i;
-diff -pruN jasper-1.900.1.orig/src/libjasper/jpc/jpc_cs.c jasper-1.900.1/src/libjasper/jpc/jpc_cs.c
---- jasper-1.900.1.orig/src/libjasper/jpc/jpc_cs.c 2009-10-22 09:58:16.000000000 +0200
-+++ jasper-1.900.1/src/libjasper/jpc/jpc_cs.c 2009-10-22 10:27:45.000000000 +0200
-@@ -502,7 +502,7 @@ static int jpc_siz_getparms(jpc_ms_t *ms
- !siz->tileheight || !siz->numcomps) {
- return -1;
- }
-- if (!(siz->comps = jas_malloc(siz->numcomps * sizeof(jpc_sizcomp_t)))) {
-+ if (!(siz->comps = jas_alloc2(siz->numcomps, sizeof(jpc_sizcomp_t)))) {
- return -1;
- }
- for (i = 0; i < siz->numcomps; ++i) {
-@@ -986,7 +986,7 @@ static int jpc_qcx_getcompparms(jpc_qcxc
- jpc_qcx_destroycompparms(compparms);
- return -1;
- } else if (compparms->numstepsizes > 0) {
-- compparms->stepsizes = jas_malloc(compparms->numstepsizes *
-+ compparms->stepsizes = jas_alloc2(compparms->numstepsizes,
- sizeof(uint_fast16_t));
- assert(compparms->stepsizes);
- for (i = 0; i < compparms->numstepsizes; ++i) {
-@@ -1094,7 +1094,7 @@ static int jpc_ppm_getparms(jpc_ms_t *ms
-
- ppm->len = ms->len - 1;
- if (ppm->len > 0) {
-- if (!(ppm->data = jas_malloc(ppm->len * sizeof(unsigned char)))) {
-+ if (!(ppm->data = jas_malloc(ppm->len))) {
- goto error;
- }
- if (JAS_CAST(uint, jas_stream_read(in, ppm->data, ppm->len)) != ppm->len) {
-@@ -1163,7 +1163,7 @@ static int jpc_ppt_getparms(jpc_ms_t *ms
- }
- ppt->len = ms->len - 1;
- if (ppt->len > 0) {
-- if (!(ppt->data = jas_malloc(ppt->len * sizeof(unsigned char)))) {
-+ if (!(ppt->data = jas_malloc(ppt->len))) {
- goto error;
- }
- if (jas_stream_read(in, (char *) ppt->data, ppt->len) != JAS_CAST(int, ppt->len)) {
-@@ -1226,7 +1226,7 @@ static int jpc_poc_getparms(jpc_ms_t *ms
- uint_fast8_t tmp;
- poc->numpchgs = (cstate->numcomps > 256) ? (ms->len / 9) :
- (ms->len / 7);
-- if (!(poc->pchgs = jas_malloc(poc->numpchgs * sizeof(jpc_pocpchg_t)))) {
-+ if (!(poc->pchgs = jas_alloc2(poc->numpchgs, sizeof(jpc_pocpchg_t)))) {
- goto error;
- }
- for (pchgno = 0, pchg = poc->pchgs; pchgno < poc->numpchgs; ++pchgno,
-@@ -1331,7 +1331,7 @@ static int jpc_crg_getparms(jpc_ms_t *ms
- jpc_crgcomp_t *comp;
- uint_fast16_t compno;
- crg->numcomps = cstate->numcomps;
-- if (!(crg->comps = jas_malloc(cstate->numcomps * sizeof(uint_fast16_t)))) {
-+ if (!(crg->comps = jas_alloc2(cstate->numcomps, sizeof(uint_fast16_t)))) {
- return -1;
- }
- for (compno = 0, comp = crg->comps; compno < cstate->numcomps;
-@@ -1470,7 +1470,7 @@ static int jpc_unk_getparms(jpc_ms_t *ms
- cstate = 0;
-
- if (ms->len > 0) {
-- if (!(unk->data = jas_malloc(ms->len * sizeof(unsigned char)))) {
-+ if (!(unk->data = jas_malloc(ms->len))) {
- return -1;
- }
- if (jas_stream_read(in, (char *) unk->data, ms->len) != JAS_CAST(int, ms->len)) {
-diff -pruN jasper-1.900.1.orig/src/libjasper/jpc/jpc_dec.c jasper-1.900.1/src/libjasper/jpc/jpc_dec.c
---- jasper-1.900.1.orig/src/libjasper/jpc/jpc_dec.c 2009-10-22 09:58:16.000000000 +0200
-+++ jasper-1.900.1/src/libjasper/jpc/jpc_dec.c 2009-10-22 10:30:50.000000000 +0200
-@@ -449,7 +449,7 @@ static int jpc_dec_process_sot(jpc_dec_t
-
- if (dec->state == JPC_MH) {
-
-- compinfos = jas_malloc(dec->numcomps * sizeof(jas_image_cmptparm_t));
-+ compinfos = jas_alloc2(dec->numcomps, sizeof(jas_image_cmptparm_t));
- assert(compinfos);
- for (cmptno = 0, cmpt = dec->cmpts, compinfo = compinfos;
- cmptno < dec->numcomps; ++cmptno, ++cmpt, ++compinfo) {
-@@ -692,7 +692,7 @@ static int jpc_dec_tileinit(jpc_dec_t *d
- tile->realmode = 1;
- }
- tcomp->numrlvls = ccp->numrlvls;
-- if (!(tcomp->rlvls = jas_malloc(tcomp->numrlvls *
-+ if (!(tcomp->rlvls = jas_alloc2(tcomp->numrlvls,
- sizeof(jpc_dec_rlvl_t)))) {
- return -1;
- }
-@@ -764,7 +764,7 @@ rlvl->bands = 0;
- rlvl->cbgheightexpn);
-
- rlvl->numbands = (!rlvlno) ? 1 : 3;
-- if (!(rlvl->bands = jas_malloc(rlvl->numbands *
-+ if (!(rlvl->bands = jas_alloc2(rlvl->numbands,
- sizeof(jpc_dec_band_t)))) {
- return -1;
- }
-@@ -797,7 +797,7 @@ rlvl->bands = 0;
-
- assert(rlvl->numprcs);
-
-- if (!(band->prcs = jas_malloc(rlvl->numprcs * sizeof(jpc_dec_prc_t)))) {
-+ if (!(band->prcs = jas_alloc2(rlvl->numprcs, sizeof(jpc_dec_prc_t)))) {
- return -1;
- }
-
-@@ -834,7 +834,7 @@ rlvl->bands = 0;
- if (!(prc->numimsbstagtree = jpc_tagtree_create(prc->numhcblks, prc->numvcblks))) {
- return -1;
- }
-- if (!(prc->cblks = jas_malloc(prc->numcblks * sizeof(jpc_dec_cblk_t)))) {
-+ if (!(prc->cblks = jas_alloc2(prc->numcblks, sizeof(jpc_dec_cblk_t)))) {
- return -1;
- }
-
-@@ -1181,7 +1181,7 @@ static int jpc_dec_process_siz(jpc_dec_t
- return -1;
- }
-
-- if (!(dec->cmpts = jas_malloc(dec->numcomps * sizeof(jpc_dec_cmpt_t)))) {
-+ if (!(dec->cmpts = jas_alloc2(dec->numcomps, sizeof(jpc_dec_cmpt_t)))) {
- return -1;
- }
-
-@@ -1204,7 +1204,7 @@ static int jpc_dec_process_siz(jpc_dec_t
- dec->numhtiles = JPC_CEILDIV(dec->xend - dec->tilexoff, dec->tilewidth);
- dec->numvtiles = JPC_CEILDIV(dec->yend - dec->tileyoff, dec->tileheight);
- dec->numtiles = dec->numhtiles * dec->numvtiles;
-- if (!(dec->tiles = jas_malloc(dec->numtiles * sizeof(jpc_dec_tile_t)))) {
-+ if (!(dec->tiles = jas_calloc(dec->numtiles, sizeof(jpc_dec_tile_t)))) {
- return -1;
- }
-
-@@ -1228,7 +1228,7 @@ static int jpc_dec_process_siz(jpc_dec_t
- tile->pkthdrstreampos = 0;
- tile->pptstab = 0;
- tile->cp = 0;
-- if (!(tile->tcomps = jas_malloc(dec->numcomps *
-+ if (!(tile->tcomps = jas_calloc(dec->numcomps,
- sizeof(jpc_dec_tcomp_t)))) {
- return -1;
- }
-@@ -1489,7 +1489,7 @@ static jpc_dec_cp_t *jpc_dec_cp_create(u
- cp->numlyrs = 0;
- cp->mctid = 0;
- cp->csty = 0;
-- if (!(cp->ccps = jas_malloc(cp->numcomps * sizeof(jpc_dec_ccp_t)))) {
-+ if (!(cp->ccps = jas_alloc2(cp->numcomps, sizeof(jpc_dec_ccp_t)))) {
- return 0;
- }
- if (!(cp->pchglist = jpc_pchglist_create())) {
-@@ -2048,7 +2048,7 @@ jpc_streamlist_t *jpc_streamlist_create(
- }
- streamlist->numstreams = 0;
- streamlist->maxstreams = 100;
-- if (!(streamlist->streams = jas_malloc(streamlist->maxstreams *
-+ if (!(streamlist->streams = jas_alloc2(streamlist->maxstreams,
- sizeof(jas_stream_t *)))) {
- jas_free(streamlist);
- return 0;
-@@ -2068,8 +2068,8 @@ int jpc_streamlist_insert(jpc_streamlist
- /* Grow the array of streams if necessary. */
- if (streamlist->numstreams >= streamlist->maxstreams) {
- newmaxstreams = streamlist->maxstreams + 1024;
-- if (!(newstreams = jas_realloc(streamlist->streams,
-- (newmaxstreams + 1024) * sizeof(jas_stream_t *)))) {
-+ if (!(newstreams = jas_realloc2(streamlist->streams,
-+ (newmaxstreams + 1024), sizeof(jas_stream_t *)))) {
- return -1;
- }
- for (i = streamlist->numstreams; i < streamlist->maxstreams; ++i) {
-@@ -2155,8 +2155,7 @@ int jpc_ppxstab_grow(jpc_ppxstab_t *tab,
- {
- jpc_ppxstabent_t **newents;
- if (tab->maxents < maxents) {
-- newents = (tab->ents) ? jas_realloc(tab->ents, maxents *
-- sizeof(jpc_ppxstabent_t *)) : jas_malloc(maxents * sizeof(jpc_ppxstabent_t *));
-+ newents = jas_realloc2(tab->ents, maxents, sizeof(jpc_ppxstabent_t *));
- if (!newents) {
- return -1;
- }
-diff -pruN jasper-1.900.1.orig/src/libjasper/jpc/jpc_enc.c jasper-1.900.1/src/libjasper/jpc/jpc_enc.c
---- jasper-1.900.1.orig/src/libjasper/jpc/jpc_enc.c 2007-01-19 22:43:07.000000000 +0100
-+++ jasper-1.900.1/src/libjasper/jpc/jpc_enc.c 2009-10-22 10:27:45.000000000 +0200
-@@ -403,7 +403,7 @@ static jpc_enc_cp_t *cp_create(char *opt
- vsteplcm *= jas_image_cmptvstep(image, cmptno);
- }
-
-- if (!(cp->ccps = jas_malloc(cp->numcmpts * sizeof(jpc_enc_ccp_t)))) {
-+ if (!(cp->ccps = jas_alloc2(cp->numcmpts, sizeof(jpc_enc_ccp_t)))) {
- goto error;
- }
- for (cmptno = 0, ccp = cp->ccps; cmptno < JAS_CAST(int, cp->numcmpts); ++cmptno,
-@@ -656,7 +656,7 @@ static jpc_enc_cp_t *cp_create(char *opt
-
- if (ilyrrates && numilyrrates > 0) {
- tcp->numlyrs = numilyrrates + 1;
-- if (!(tcp->ilyrrates = jas_malloc((tcp->numlyrs - 1) *
-+ if (!(tcp->ilyrrates = jas_alloc2((tcp->numlyrs - 1),
- sizeof(jpc_fix_t)))) {
- goto error;
- }
-@@ -940,7 +940,7 @@ startoff = jas_stream_getrwcount(enc->ou
- siz->tilewidth = cp->tilewidth;
- siz->tileheight = cp->tileheight;
- siz->numcomps = cp->numcmpts;
-- siz->comps = jas_malloc(siz->numcomps * sizeof(jpc_sizcomp_t));
-+ siz->comps = jas_alloc2(siz->numcomps, sizeof(jpc_sizcomp_t));
- assert(siz->comps);
- for (i = 0; i < JAS_CAST(int, cp->numcmpts); ++i) {
- siz->comps[i].prec = cp->ccps[i].prec;
-@@ -977,7 +977,7 @@ startoff = jas_stream_getrwcount(enc->ou
- return -1;
- }
- crg = &enc->mrk->parms.crg;
-- crg->comps = jas_malloc(crg->numcomps * sizeof(jpc_crgcomp_t));
-+ crg->comps = jas_alloc2(crg->numcomps, sizeof(jpc_crgcomp_t));
- if (jpc_putms(enc->out, enc->cstate, enc->mrk)) {
- jas_eprintf("cannot write CRG marker\n");
- return -1;
-@@ -1955,7 +1955,7 @@ jpc_enc_tile_t *jpc_enc_tile_create(jpc_
- tile->mctid = cp->tcp.mctid;
-
- tile->numlyrs = cp->tcp.numlyrs;
-- if (!(tile->lyrsizes = jas_malloc(tile->numlyrs *
-+ if (!(tile->lyrsizes = jas_alloc2(tile->numlyrs,
- sizeof(uint_fast32_t)))) {
- goto error;
- }
-@@ -1964,7 +1964,7 @@ jpc_enc_tile_t *jpc_enc_tile_create(jpc_
- }
-
- /* Allocate an array for the per-tile-component information. */
-- if (!(tile->tcmpts = jas_malloc(cp->numcmpts * sizeof(jpc_enc_tcmpt_t)))) {
-+ if (!(tile->tcmpts = jas_alloc2(cp->numcmpts, sizeof(jpc_enc_tcmpt_t)))) {
- goto error;
- }
- /* Initialize a few members critical for error recovery. */
-@@ -2110,7 +2110,7 @@ static jpc_enc_tcmpt_t *tcmpt_create(jpc
- jas_seq2d_ystart(tcmpt->data), jas_seq2d_xend(tcmpt->data),
- jas_seq2d_yend(tcmpt->data), bandinfos);
-
-- if (!(tcmpt->rlvls = jas_malloc(tcmpt->numrlvls * sizeof(jpc_enc_rlvl_t)))) {
-+ if (!(tcmpt->rlvls = jas_alloc2(tcmpt->numrlvls, sizeof(jpc_enc_rlvl_t)))) {
- goto error;
- }
- for (rlvlno = 0, rlvl = tcmpt->rlvls; rlvlno < tcmpt->numrlvls;
-@@ -2213,7 +2213,7 @@ static jpc_enc_rlvl_t *rlvl_create(jpc_e
- rlvl->numvprcs = JPC_FLOORDIVPOW2(brprcbry - tlprctly, rlvl->prcheightexpn);
- rlvl->numprcs = rlvl->numhprcs * rlvl->numvprcs;
-
-- if (!(rlvl->bands = jas_malloc(rlvl->numbands * sizeof(jpc_enc_band_t)))) {
-+ if (!(rlvl->bands = jas_alloc2(rlvl->numbands, sizeof(jpc_enc_band_t)))) {
- goto error;
- }
- for (bandno = 0, band = rlvl->bands; bandno < rlvl->numbands;
-@@ -2290,7 +2290,7 @@ if (bandinfo->xstart != bandinfo->xend &
- band->synweight = bandinfo->synenergywt;
-
- if (band->data) {
-- if (!(band->prcs = jas_malloc(rlvl->numprcs * sizeof(jpc_enc_prc_t)))) {
-+ if (!(band->prcs = jas_alloc2(rlvl->numprcs, sizeof(jpc_enc_prc_t)))) {
- goto error;
- }
- for (prcno = 0, prc = band->prcs; prcno < rlvl->numprcs; ++prcno,
-@@ -2422,7 +2422,7 @@ if (!rlvlno) {
- goto error;
- }
-
-- if (!(prc->cblks = jas_malloc(prc->numcblks * sizeof(jpc_enc_cblk_t)))) {
-+ if (!(prc->cblks = jas_alloc2(prc->numcblks, sizeof(jpc_enc_cblk_t)))) {
- goto error;
- }
- for (cblkno = 0, cblk = prc->cblks; cblkno < prc->numcblks;
-diff -pruN jasper-1.900.1.orig/src/libjasper/jpc/jpc_mqdec.c jasper-1.900.1/src/libjasper/jpc/jpc_mqdec.c
---- jasper-1.900.1.orig/src/libjasper/jpc/jpc_mqdec.c 2007-01-19 22:43:07.000000000 +0100
-+++ jasper-1.900.1/src/libjasper/jpc/jpc_mqdec.c 2009-10-22 10:27:45.000000000 +0200
-@@ -118,7 +118,7 @@ jpc_mqdec_t *jpc_mqdec_create(int maxctx
- mqdec->in = in;
- mqdec->maxctxs = maxctxs;
- /* Allocate memory for the per-context state information. */
-- if (!(mqdec->ctxs = jas_malloc(mqdec->maxctxs * sizeof(jpc_mqstate_t *)))) {
-+ if (!(mqdec->ctxs = jas_alloc2(mqdec->maxctxs, sizeof(jpc_mqstate_t *)))) {
- goto error;
- }
- /* Set the current context to the first context. */
-diff -pruN jasper-1.900.1.orig/src/libjasper/jpc/jpc_mqenc.c jasper-1.900.1/src/libjasper/jpc/jpc_mqenc.c
---- jasper-1.900.1.orig/src/libjasper/jpc/jpc_mqenc.c 2007-01-19 22:43:07.000000000 +0100
-+++ jasper-1.900.1/src/libjasper/jpc/jpc_mqenc.c 2009-10-22 10:27:45.000000000 +0200
-@@ -197,7 +197,7 @@ jpc_mqenc_t *jpc_mqenc_create(int maxctx
- mqenc->maxctxs = maxctxs;
-
- /* Allocate memory for the per-context state information. */
-- if (!(mqenc->ctxs = jas_malloc(mqenc->maxctxs * sizeof(jpc_mqstate_t *)))) {
-+ if (!(mqenc->ctxs = jas_alloc2(mqenc->maxctxs, sizeof(jpc_mqstate_t *)))) {
- goto error;
- }
-
-diff -pruN jasper-1.900.1.orig/src/libjasper/jpc/jpc_qmfb.c jasper-1.900.1/src/libjasper/jpc/jpc_qmfb.c
---- jasper-1.900.1.orig/src/libjasper/jpc/jpc_qmfb.c 2007-01-19 22:43:07.000000000 +0100
-+++ jasper-1.900.1/src/libjasper/jpc/jpc_qmfb.c 2009-10-22 10:27:45.000000000 +0200
-@@ -321,7 +321,7 @@ void jpc_qmfb_split_row(jpc_fix_t *a, in
- #if !defined(HAVE_VLA)
- /* Get a buffer. */
- if (bufsize > QMFB_SPLITBUFSIZE) {
-- if (!(buf = jas_malloc(bufsize * sizeof(jpc_fix_t)))) {
-+ if (!(buf = jas_alloc2(bufsize, sizeof(jpc_fix_t)))) {
- /* We have no choice but to commit suicide in this case. */
- abort();
- }
-@@ -389,7 +389,7 @@ void jpc_qmfb_split_col(jpc_fix_t *a, in
- #if !defined(HAVE_VLA)
- /* Get a buffer. */
- if (bufsize > QMFB_SPLITBUFSIZE) {
-- if (!(buf = jas_malloc(bufsize * sizeof(jpc_fix_t)))) {
-+ if (!(buf = jas_alloc2(bufsize, sizeof(jpc_fix_t)))) {
- /* We have no choice but to commit suicide in this case. */
- abort();
- }
-@@ -460,7 +460,7 @@ void jpc_qmfb_split_colgrp(jpc_fix_t *a,
- #if !defined(HAVE_VLA)
- /* Get a buffer. */
- if (bufsize > QMFB_SPLITBUFSIZE) {
-- if (!(buf = jas_malloc(bufsize * sizeof(jpc_fix_t)))) {
-+ if (!(buf = jas_alloc2(bufsize, sizeof(jpc_fix_t)))) {
- /* We have no choice but to commit suicide in this case. */
- abort();
- }
-@@ -549,7 +549,7 @@ void jpc_qmfb_split_colres(jpc_fix_t *a,
- #if !defined(HAVE_VLA)
- /* Get a buffer. */
- if (bufsize > QMFB_SPLITBUFSIZE) {
-- if (!(buf = jas_malloc(bufsize * sizeof(jpc_fix_t)))) {
-+ if (!(buf = jas_alloc2(bufsize, sizeof(jpc_fix_t)))) {
- /* We have no choice but to commit suicide in this case. */
- abort();
- }
-@@ -633,7 +633,7 @@ void jpc_qmfb_join_row(jpc_fix_t *a, int
- #if !defined(HAVE_VLA)
- /* Allocate memory for the join buffer from the heap. */
- if (bufsize > QMFB_JOINBUFSIZE) {
-- if (!(buf = jas_malloc(bufsize * sizeof(jpc_fix_t)))) {
-+ if (!(buf = jas_alloc2(bufsize, sizeof(jpc_fix_t)))) {
- /* We have no choice but to commit suicide. */
- abort();
- }
-@@ -698,7 +698,7 @@ void jpc_qmfb_join_col(jpc_fix_t *a, int
- #if !defined(HAVE_VLA)
- /* Allocate memory for the join buffer from the heap. */
- if (bufsize > QMFB_JOINBUFSIZE) {
-- if (!(buf = jas_malloc(bufsize * sizeof(jpc_fix_t)))) {
-+ if (!(buf = jas_alloc2(bufsize, sizeof(jpc_fix_t)))) {
- /* We have no choice but to commit suicide. */
- abort();
- }
-@@ -766,7 +766,7 @@ void jpc_qmfb_join_colgrp(jpc_fix_t *a,
- #if !defined(HAVE_VLA)
- /* Allocate memory for the join buffer from the heap. */
- if (bufsize > QMFB_JOINBUFSIZE) {
-- if (!(buf = jas_malloc(bufsize * JPC_QMFB_COLGRPSIZE * sizeof(jpc_fix_t)))) {
-+ if (!(buf = jas_alloc2(bufsize, JPC_QMFB_COLGRPSIZE * sizeof(jpc_fix_t)))) {
- /* We have no choice but to commit suicide. */
- abort();
- }
-@@ -852,7 +852,7 @@ void jpc_qmfb_join_colres(jpc_fix_t *a,
- #if !defined(HAVE_VLA)
- /* Allocate memory for the join buffer from the heap. */
- if (bufsize > QMFB_JOINBUFSIZE) {
-- if (!(buf = jas_malloc(bufsize * numcols * sizeof(jpc_fix_t)))) {
-+ if (!(buf = jas_alloc3(bufsize, numcols, sizeof(jpc_fix_t)))) {
- /* We have no choice but to commit suicide. */
- abort();
- }
-diff -pruN jasper-1.900.1.orig/src/libjasper/jpc/jpc_t1enc.c jasper-1.900.1/src/libjasper/jpc/jpc_t1enc.c
---- jasper-1.900.1.orig/src/libjasper/jpc/jpc_t1enc.c 2007-01-19 22:43:07.000000000 +0100
-+++ jasper-1.900.1/src/libjasper/jpc/jpc_t1enc.c 2009-10-22 10:27:45.000000000 +0200
-@@ -219,7 +219,7 @@ int jpc_enc_enccblk(jpc_enc_t *enc, jas_
-
- cblk->numpasses = (cblk->numbps > 0) ? (3 * cblk->numbps - 2) : 0;
- if (cblk->numpasses > 0) {
-- cblk->passes = jas_malloc(cblk->numpasses * sizeof(jpc_enc_pass_t));
-+ cblk->passes = jas_alloc2(cblk->numpasses, sizeof(jpc_enc_pass_t));
- assert(cblk->passes);
- } else {
- cblk->passes = 0;
-diff -pruN jasper-1.900.1.orig/src/libjasper/jpc/jpc_t2cod.c jasper-1.900.1/src/libjasper/jpc/jpc_t2cod.c
---- jasper-1.900.1.orig/src/libjasper/jpc/jpc_t2cod.c 2007-01-19 22:43:07.000000000 +0100
-+++ jasper-1.900.1/src/libjasper/jpc/jpc_t2cod.c 2009-10-22 10:27:45.000000000 +0200
-@@ -573,7 +573,7 @@ int jpc_pchglist_insert(jpc_pchglist_t *
- }
- if (pchglist->numpchgs >= pchglist->maxpchgs) {
- newmaxpchgs = pchglist->maxpchgs + 128;
-- if (!(newpchgs = jas_realloc(pchglist->pchgs, newmaxpchgs * sizeof(jpc_pchg_t *)))) {
-+ if (!(newpchgs = jas_realloc2(pchglist->pchgs, newmaxpchgs, sizeof(jpc_pchg_t *)))) {
- return -1;
- }
- pchglist->maxpchgs = newmaxpchgs;
-diff -pruN jasper-1.900.1.orig/src/libjasper/jpc/jpc_t2dec.c jasper-1.900.1/src/libjasper/jpc/jpc_t2dec.c
---- jasper-1.900.1.orig/src/libjasper/jpc/jpc_t2dec.c 2007-01-19 22:43:07.000000000 +0100
-+++ jasper-1.900.1/src/libjasper/jpc/jpc_t2dec.c 2009-10-22 10:27:45.000000000 +0200
-@@ -478,7 +478,7 @@ jpc_pi_t *jpc_dec_pi_create(jpc_dec_t *d
- return 0;
- }
- pi->numcomps = dec->numcomps;
-- if (!(pi->picomps = jas_malloc(pi->numcomps * sizeof(jpc_picomp_t)))) {
-+ if (!(pi->picomps = jas_alloc2(pi->numcomps, sizeof(jpc_picomp_t)))) {
- jpc_pi_destroy(pi);
- return 0;
- }
-@@ -490,7 +490,7 @@ jpc_pi_t *jpc_dec_pi_create(jpc_dec_t *d
- for (compno = 0, tcomp = tile->tcomps, picomp = pi->picomps;
- compno < pi->numcomps; ++compno, ++tcomp, ++picomp) {
- picomp->numrlvls = tcomp->numrlvls;
-- if (!(picomp->pirlvls = jas_malloc(picomp->numrlvls *
-+ if (!(picomp->pirlvls = jas_alloc2(picomp->numrlvls,
- sizeof(jpc_pirlvl_t)))) {
- jpc_pi_destroy(pi);
- return 0;
-@@ -503,7 +503,7 @@ jpc_pi_t *jpc_dec_pi_create(jpc_dec_t *d
- rlvlno < picomp->numrlvls; ++rlvlno, ++pirlvl, ++rlvl) {
- /* XXX sizeof(long) should be sizeof different type */
- pirlvl->numprcs = rlvl->numprcs;
-- if (!(pirlvl->prclyrnos = jas_malloc(pirlvl->numprcs *
-+ if (!(pirlvl->prclyrnos = jas_alloc2(pirlvl->numprcs,
- sizeof(long)))) {
- jpc_pi_destroy(pi);
- return 0;
-diff -pruN jasper-1.900.1.orig/src/libjasper/jpc/jpc_t2enc.c jasper-1.900.1/src/libjasper/jpc/jpc_t2enc.c
---- jasper-1.900.1.orig/src/libjasper/jpc/jpc_t2enc.c 2007-01-19 22:43:07.000000000 +0100
-+++ jasper-1.900.1/src/libjasper/jpc/jpc_t2enc.c 2009-10-22 10:27:45.000000000 +0200
-@@ -565,7 +565,7 @@ jpc_pi_t *jpc_enc_pi_create(jpc_enc_cp_t
- }
- pi->pktno = -1;
- pi->numcomps = cp->numcmpts;
-- if (!(pi->picomps = jas_malloc(pi->numcomps * sizeof(jpc_picomp_t)))) {
-+ if (!(pi->picomps = jas_alloc2(pi->numcomps, sizeof(jpc_picomp_t)))) {
- jpc_pi_destroy(pi);
- return 0;
- }
-@@ -577,7 +577,7 @@ jpc_pi_t *jpc_enc_pi_create(jpc_enc_cp_t
- for (compno = 0, tcomp = tile->tcmpts, picomp = pi->picomps;
- compno < pi->numcomps; ++compno, ++tcomp, ++picomp) {
- picomp->numrlvls = tcomp->numrlvls;
-- if (!(picomp->pirlvls = jas_malloc(picomp->numrlvls *
-+ if (!(picomp->pirlvls = jas_alloc2(picomp->numrlvls,
- sizeof(jpc_pirlvl_t)))) {
- jpc_pi_destroy(pi);
- return 0;
-@@ -591,7 +591,7 @@ jpc_pi_t *jpc_enc_pi_create(jpc_enc_cp_t
- /* XXX sizeof(long) should be sizeof different type */
- pirlvl->numprcs = rlvl->numprcs;
- if (rlvl->numprcs) {
-- if (!(pirlvl->prclyrnos = jas_malloc(pirlvl->numprcs *
-+ if (!(pirlvl->prclyrnos = jas_alloc2(pirlvl->numprcs,
- sizeof(long)))) {
- jpc_pi_destroy(pi);
- return 0;
-diff -pruN jasper-1.900.1.orig/src/libjasper/jpc/jpc_tagtree.c jasper-1.900.1/src/libjasper/jpc/jpc_tagtree.c
---- jasper-1.900.1.orig/src/libjasper/jpc/jpc_tagtree.c 2007-01-19 22:43:07.000000000 +0100
-+++ jasper-1.900.1/src/libjasper/jpc/jpc_tagtree.c 2009-10-22 10:27:45.000000000 +0200
-@@ -125,7 +125,7 @@ jpc_tagtree_t *jpc_tagtree_create(int nu
- ++numlvls;
- } while (n > 1);
-
-- if (!(tree->nodes_ = jas_malloc(tree->numnodes_ * sizeof(jpc_tagtreenode_t)))) {
-+ if (!(tree->nodes_ = jas_alloc2(tree->numnodes_, sizeof(jpc_tagtreenode_t)))) {
- return 0;
- }
-
-diff -pruN jasper-1.900.1.orig/src/libjasper/jpc/jpc_util.c jasper-1.900.1/src/libjasper/jpc/jpc_util.c
---- jasper-1.900.1.orig/src/libjasper/jpc/jpc_util.c 2007-01-19 22:43:07.000000000 +0100
-+++ jasper-1.900.1/src/libjasper/jpc/jpc_util.c 2009-10-22 10:27:45.000000000 +0200
-@@ -109,7 +109,7 @@ int jpc_atoaf(char *s, int *numvalues, d
- }
-
- if (n) {
-- if (!(vs = jas_malloc(n * sizeof(double)))) {
-+ if (!(vs = jas_alloc2(n, sizeof(double)))) {
- return -1;
- }
-
-diff -pruN jasper-1.900.1.orig/src/libjasper/mif/mif_cod.c jasper-1.900.1/src/libjasper/mif/mif_cod.c
---- jasper-1.900.1.orig/src/libjasper/mif/mif_cod.c 2007-01-19 22:43:05.000000000 +0100
-+++ jasper-1.900.1/src/libjasper/mif/mif_cod.c 2009-10-22 10:27:45.000000000 +0200
-@@ -438,8 +438,7 @@ static int mif_hdr_growcmpts(mif_hdr_t *
- int cmptno;
- mif_cmpt_t **newcmpts;
- assert(maxcmpts >= hdr->numcmpts);
-- newcmpts = (!hdr->cmpts) ? jas_malloc(maxcmpts * sizeof(mif_cmpt_t *)) :
-- jas_realloc(hdr->cmpts, maxcmpts * sizeof(mif_cmpt_t *));
-+ newcmpts = jas_realloc2(hdr->cmpts, maxcmpts, sizeof(mif_cmpt_t *));
- if (!newcmpts) {
- return -1;
- }
diff --git a/testing/jasper/jasper-1.900.1-CVE-2008-3522.patch b/testing/jasper/jasper-1.900.1-CVE-2008-3522.patch
deleted file mode 100644
index 4bf2e9b52..000000000
--- a/testing/jasper/jasper-1.900.1-CVE-2008-3522.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2008-3522
-
-diff -pruN jasper-1.900.1.orig/src/libjasper/base/jas_stream.c jasper-1.900.1/src/libjasper/base/jas_stream.c
---- jasper-1.900.1.orig/src/libjasper/base/jas_stream.c 2009-10-22 10:27:45.000000000 +0200
-+++ jasper-1.900.1/src/libjasper/base/jas_stream.c 2009-10-22 10:35:53.000000000 +0200
-@@ -553,7 +553,7 @@ int jas_stream_printf(jas_stream_t *stre
- int ret;
-
- va_start(ap, fmt);
-- ret = vsprintf(buf, fmt, ap);
-+ ret = vsnprintf(buf, sizeof buf, fmt, ap);
- jas_stream_puts(stream, buf);
- va_end(ap);
- return ret;
diff --git a/testing/jasper/jpc_dec.c.patch b/testing/jasper/jpc_dec.c.patch
deleted file mode 100644
index ae1cd0617..000000000
--- a/testing/jasper/jpc_dec.c.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-diff -urN jasper-1.900.1/src/libjasper/jpc/jpc_dec.c jasper-1.900.1-fix/src/libjasper/jpc/jpc_dec.c
---- jasper-1.900.1/src/libjasper/jpc/jpc_dec.c 2007-01-19 14:43:07.000000000 -0700
-+++ jasper-1.900.1-fix/src/libjasper/jpc/jpc_dec.c 2008-03-06 16:51:12.000000000 -0700
-@@ -1069,12 +1069,12 @@
- /* Apply an inverse intercomponent transform if necessary. */
- switch (tile->cp->mctid) {
- case JPC_MCT_RCT:
-- assert(dec->numcomps == 3);
-+ assert(dec->numcomps >= 3);
- jpc_irct(tile->tcomps[0].data, tile->tcomps[1].data,
- tile->tcomps[2].data);
- break;
- case JPC_MCT_ICT:
-- assert(dec->numcomps == 3);
-+ assert(dec->numcomps >= 3);
- jpc_iict(tile->tcomps[0].data, tile->tcomps[1].data,
- tile->tcomps[2].data);
- break;
diff --git a/testing/jasper/patch-libjasper-stepsizes-overflow.diff b/testing/jasper/patch-libjasper-stepsizes-overflow.diff
deleted file mode 100644
index 097559f68..000000000
--- a/testing/jasper/patch-libjasper-stepsizes-overflow.diff
+++ /dev/null
@@ -1,14 +0,0 @@
---- jasper-1.900.1.orig/src/libjasper/jpc/jpc_cs.c 2007-01-19 22:43:07.000000000 +0100
-+++ jasper-1.900.1/src/libjasper/jpc/jpc_cs.c 2007-04-06 01:29:02.000000000 +0200
-@@ -982,7 +982,10 @@ static int jpc_qcx_getcompparms(jpc_qcxc
- compparms->numstepsizes = (len - n) / 2;
- break;
- }
-- if (compparms->numstepsizes > 0) {
-+ if (compparms->numstepsizes > 3 * JPC_MAXRLVLS + 1) {
-+ jpc_qcx_destroycompparms(compparms);
-+ return -1;
-+ } else if (compparms->numstepsizes > 0) {
- compparms->stepsizes = jas_malloc(compparms->numstepsizes *
- sizeof(uint_fast16_t));
- assert(compparms->stepsizes);
diff --git a/testing/kdebase-workspace/kdm.logrotate b/testing/kdebase-workspace/kdm.logrotate
deleted file mode 100644
index 34331feae..000000000
--- a/testing/kdebase-workspace/kdm.logrotate
+++ /dev/null
@@ -1,6 +0,0 @@
-/var/log/kdm.log {
- maxage 365
- size=+1024k
- notifempty
- missingok
-}
diff --git a/testing/kdebase-workspace/logind-support.patch b/testing/kdebase-workspace/logind-support.patch
deleted file mode 100644
index 9de205400..000000000
--- a/testing/kdebase-workspace/logind-support.patch
+++ /dev/null
@@ -1,66 +0,0 @@
-From: Lukas Tinkl <lukas@kde.org>
-Date: Fri, 05 Oct 2012 09:57:13 +0000
-Subject: store the filedescriptor in a member variable
-X-Git-Url: http://quickgit.kde.org/?p=kde-workspace.git&amp;a=commitdiff&amp;h=a18b78d7da8cb8d627ad2e85f666bfcf1a2721e1
----
-store the filedescriptor in a member variable
-
-make systemd-inhibit work as intended, PowerDevil now handles
-power/sleep/lid buttons as intended
-
-BUG: 307412
----
-
-
---- a/powerdevil/daemon/powerdevilpolicyagent.cpp
-+++ b/powerdevil/daemon/powerdevilpolicyagent.cpp
-@@ -29,7 +29,6 @@
- #include <QtDBus/QDBusPendingReply>
- #include <QtDBus/QDBusConnectionInterface>
- #include <QtDBus/QDBusServiceWatcher>
--#include <QtDBus/QDBusUnixFileDescriptor>
-
- #include <KGlobal>
- #include <KDebug>
-@@ -225,6 +224,9 @@
- onActiveSessionChanged(m_activeSessionPath);
-
- // inhibit systemd handling of power/sleep/lid buttons
-+ // http://www.freedesktop.org/wiki/Software/systemd/inhibit
-+ kDebug() << "fd passing available:" << bool(managerIface.connection().connectionCapabilities() & QDBusConnection::UnixFileDescriptorPassing);
-+
- QVariantList args;
- args << "handle-power-key:handle-suspend-key:handle-hibernate-key:handle-lid-switch"; // what
- args << "PowerDevil"; // who
-@@ -232,8 +234,9 @@
- args << "block"; // mode
- QDBusPendingReply<QDBusUnixFileDescriptor> desc = managerIface.asyncCallWithArgumentList("Inhibit", args);
- desc.waitForFinished();
-- if (desc.isValid() && desc.value().isValid()) {
-- kDebug() << "systemd powersave events handling inhibited";
-+ if (desc.isValid()) {
-+ m_systemdInhibitFd = desc.value();
-+ kDebug() << "systemd powersave events handling inhibited, descriptor:" << m_systemdInhibitFd.fileDescriptor();
- }
- else
- kWarning() << "failed to inhibit systemd powersave handling";
-
---- a/powerdevil/daemon/powerdevilpolicyagent.h
-+++ b/powerdevil/daemon/powerdevilpolicyagent.h
-@@ -27,6 +27,7 @@
- #include <QtCore/QWeakPointer>
-
- #include <QtDBus/QDBusContext>
-+#include <QtDBus/QDBusUnixFileDescriptor>
-
- #include <kdemacros.h>
-
-@@ -108,6 +109,7 @@
- QString m_activeSessionPath;
- QWeakPointer< QDBusInterface > m_sdSessionInterface;
- QWeakPointer< QDBusInterface > m_sdSeatInterface;
-+ QDBusUnixFileDescriptor m_systemdInhibitFd;
-
- // ConsoleKit support
- bool m_ckAvailable;
-
diff --git a/testing/kdebindings-python/pyqt495.patch b/testing/kdebindings-python/pyqt495.patch
deleted file mode 100644
index b8a9df258..000000000
--- a/testing/kdebindings-python/pyqt495.patch
+++ /dev/null
@@ -1,95 +0,0 @@
-From: Luca Beltrame <lbeltrame@kde.org>
-Date: Mon, 01 Oct 2012 18:47:56 +0000
-Subject: Remove duplicated QVector<int> definition, since it's in PyQt now.
-X-Git-Url: http://quickgit.kde.org/?p=pykde4.git&amp;a=commitdiff&amp;h=017822bd0dfc83fe9a7a483ecc33f4aab839a3c6
----
-Remove duplicated QVector<int> definition, since it's in PyQt now.
-Simon, if you have time, please review if everything is OK.
-
-CCMAIL: simon@simonzone.com
----
-
-
---- a/sip/kdecore/typedefs.sip
-+++ b/sip/kdecore/typedefs.sip
-@@ -951,78 +951,4 @@
- %End
- };
-
--%MappedType QVector<int>
--{
--%TypeHeaderCode
--#include <qvector.h>
--%End
--
--%ConvertFromTypeCode
-- // Create the list.
-- PyObject *l;
--
-- if ((l = PyList_New(sipCpp->size())) == NULL)
-- return NULL;
--
-- // Set the list elements.
-- for (int i = 0; i < sipCpp->size(); ++i)
-- {
-- int t = (sipCpp->at(i));
--
--#if PY_MAJOR_VERSION >= 3
-- PyObject *tobj = PyLong_FromLong(t);
--#else
-- PyObject *tobj = PyInt_FromLong(t);
--#endif
--
-- PyList_SET_ITEM(l, i, tobj);
-- }
--
-- return l;
--%End
--
--%ConvertToTypeCode
-- // Check the type if that is all that is required.
-- if (sipIsErr == NULL)
-- {
-- if (!PyList_Check(sipPy))
-- return 0;
--
-- for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i) {
-- PyObject *tobj = PyList_GET_ITEM(sipPy, i);
--#if PY_MAJOR_VERSION >= 3
-- if (!PyNumber_Check(tobj))
--#else
-- if (!PyInt_Check(tobj))
--#endif
-- return 0;
-- }
-- return 1;
-- }
--
-- QVector<int> *qv = new QVector<int>;
--
-- for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i)
-- {
-- PyObject *tobj = PyList_GET_ITEM(sipPy, i);
-- #if PY_MAJOR_VERSION >= 3
-- int t = PyLong_AsLong (tobj);
--#else
-- int t = PyInt_AS_LONG (tobj);
--#endif
--
-- if (*sipIsErr)
-- {
-- delete qv;
-- return 0;
-- }
--
-- qv->append(t);
-- }
--
-- *sipCppPtr = qv;
--
-- return sipGetState(sipTransferObj);
--%End
--};
--
-+
-
diff --git a/testing/kdegames/kdegames-knavalbattle.install b/testing/kdegames/kdegames-knavalbattle.install
deleted file mode 100644
index 81ce5c4b0..000000000
--- a/testing/kdegames/kdegames-knavalbattle.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/testing/konversation/PKGBUILD b/testing/konversation/PKGBUILD
deleted file mode 100644
index 6bd3741cd..000000000
--- a/testing/konversation/PKGBUILD
+++ /dev/null
@@ -1,41 +0,0 @@
-# $Id: PKGBUILD 168841 2012-10-16 11:53:50Z allan $
-# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
-# Contributor: Andrea Scarpino <andrea@archlinux.org>
-# Contributor: James Rayner <iphitus@gmail.com>
-# Contributor: Sergio Jovani Guzman <moret@paretux.org>
-
-pkgname=konversation
-pkgver=1.4
-pkgrel=3
-pkgdesc="A user friendly IRC client for KDE"
-arch=('i686' 'x86_64')
-url="http://konversation.kde.org"
-depends=('kdebase-runtime' 'kdepimlibs')
-makedepends=('automoc4' 'cmake' 'pkgconfig' 'docbook-xml')
-optdepends=('python: python scripting support')
-license=('GPL2' 'FDL')
-install=${pkgname}.install
-options=('!makeflags')
-source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
-sha1sums=('90741721f68a02d4345b9006a8ae53bc49ef3777')
-
-build() {
- cd "${srcdir}"
- mkdir build
- cd build
- cmake ../${pkgname}-${pkgver} \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_SKIP_RPATH=ON \
- -DCMAKE_INSTALL_PREFIX=/usr
- make
-}
-
-package() {
- cd "${srcdir}"/build
- make DESTDIR="${pkgdir}" install
-
- # Remove a bunch of symlinks pointing to non-existant files
- for _lang in pt_BR uk sv et de en nl; do
- rm "${pkgdir}"/usr/share/doc/kde/html/${_lang}/konversation/common
- done
-}
diff --git a/testing/konversation/konversation.install b/testing/konversation/konversation.install
deleted file mode 100644
index 8834e059a..000000000
--- a/testing/konversation/konversation.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/testing/libreoffice/make-pyuno-work-with-system-wide-module-install.diff b/testing/libreoffice/make-pyuno-work-with-system-wide-module-install.diff
deleted file mode 100644
index e86548136..000000000
--- a/testing/libreoffice/make-pyuno-work-with-system-wide-module-install.diff
+++ /dev/null
@@ -1,44 +0,0 @@
-diff --git a/desktop/scripts/soffice.sh b/desktop/scripts/soffice.sh
-index defd7b2..ea2a809 100755
---- a/desktop/scripts/soffice.sh
-+++ b/desktop/scripts/soffice.sh
-@@ -128,6 +128,9 @@ if echo "$checks" | grep -q "cc" ; then
- exit 1;
- fi
-
-+PYTHONPATH=$sd_prog${PYTHONPATH+:$PYTHONPATH}
-+export PYTHONPATH
-+
- case "`uname -s`" in
- NetBSD|OpenBSD|FreeBSD|DragonFly)
- # this is a temporary hack until we can live with the default search paths
-diff --git a/pyuno/source/module/uno.py b/pyuno/source/module/uno.py
-index f93ac5e..92a2891 100644
---- a/pyuno/source/module/uno.py
-+++ b/pyuno/source/module/uno.py
-@@ -26,8 +26,12 @@
- # for a copy of the LGPLv3 License.
- #
- #*************************************************************************
-+import os
- import sys
-
-+sys.path.append('/usr/lib/libreoffice/program')
-+if getattr(os.environ, 'URE_BOOTSTRAP', None) is None:
-+ os.environ['URE_BOOTSTRAP'] = "vnd.sun.star.pathname:/usr/lib/libreoffice/program/fundamentalrc"
- import pyuno
-
- try:
-diff --git a/scripting/source/pyprov/officehelper.py b/scripting/source/pyprov/officehelper.py
-index 610ac5f..df243d0 100755
---- a/scripting/source/pyprov/officehelper.py
-+++ b/scripting/source/pyprov/officehelper.py
-@@ -53,7 +53,7 @@ def bootstrap():
- if "UNO_PATH" in os.environ:
- sOffice = os.environ["UNO_PATH"]
- else:
-- sOffice = "" # lets hope for the best
-+ sOffice = "/usr/lib/libreoffice/program"
- sOffice = os.path.join(sOffice, "soffice")
- if platform.startswith("win"):
- sOffice += ".exe"
diff --git a/testing/libvisual-plugins/02_64-bit_JESS_fix.patch b/testing/libvisual-plugins/02_64-bit_JESS_fix.patch
deleted file mode 100644
index 1d7f99e56..000000000
--- a/testing/libvisual-plugins/02_64-bit_JESS_fix.patch
+++ /dev/null
@@ -1,58 +0,0 @@
-diff -Nur libvisual-plugins-0.4.0/plugins/actor/JESS/renderer.c libvisual-plugins-0.4.0.new/plugins/actor/JESS/renderer.c
---- libvisual-plugins-0.4.0/plugins/actor/JESS/renderer.c 2006-02-06 05:47:26.000000000 +1100
-+++ libvisual-plugins-0.4.0.new/plugins/actor/JESS/renderer.c 2007-07-04 18:12:58.000000000 +1000
-@@ -282,7 +282,7 @@
-
- void render_deformation(JessPrivate *priv, int defmode)
- {
-- uint32_t bmax;
-+ intptr_t bmax;
- uint32_t *tab1 = NULL, *tab2, *tab3, *tab4, i;
- uint8_t *pix = priv->pixel, *buf = priv->buffer, *aux;
-
-@@ -294,7 +294,7 @@
- tab2 = priv->table2;
- tab3 = priv->table3;
- tab4 = priv->table4;
-- bmax = priv->resx * priv->resy + (uint32_t) priv->pixel;
-+ bmax = priv->resx * priv->resy + (intptr_t) priv->pixel;
-
- switch(defmode)
- {
-@@ -352,7 +352,7 @@
- }
- for (i = 0; i < priv->resy * priv->resx; i++)
- {
-- aux = (uint8_t *) ((*(tab1) << 2 ) + (uint32_t) priv->buffer);
-+ aux = (uint8_t *) ((*(tab1) << 2 ) + (intptr_t) priv->buffer);
- *(pix++) = *(aux++) ;
- *(pix++) = *(aux++);
- *(pix++) = *(aux);
-@@ -373,7 +373,8 @@
- /* j'ai mis pixel par defaut... */
-
- uint8_t *pix = priv->pixel;
-- uint32_t bmax,pitch_4;
-+ intptr_t bmax;
-+ uint32_t pitch_4;
-
- pix = priv->pixel;
- if (priv->pixel == NULL)
-@@ -387,7 +388,7 @@
- if (priv->video == 8)
- {
- if (visual_cpu_get_mmx ()) {
-- bmax = priv->resx * (priv->resy-1) + (uint32_t) priv->pixel;
-+ bmax = priv->resx * (priv->resy-1) + (intptr_t) priv->pixel;
- #if defined(VISUAL_ARCH_X86) || defined(VISUAL_ARCH_X86_64)
- __asm __volatile
- ("\n\t pxor %%mm6, %%mm6"
-@@ -423,7 +424,7 @@
- else
- {
- pitch_4 = priv->pitch+4;
-- bmax = priv->pitch*(priv->resy-1) + (uint32_t) priv->pixel;
-+ bmax = priv->pitch*(priv->resy-1) + (intptr_t) priv->pixel;
-
- if (visual_cpu_get_mmx ()) {
- #if defined(VISUAL_ARCH_X86) || defined(VISUAL_ARCH_X86_64)
diff --git a/testing/libvisual-plugins/03_build_against_gl_fixes.patch b/testing/libvisual-plugins/03_build_against_gl_fixes.patch
deleted file mode 100644
index b21558232..000000000
--- a/testing/libvisual-plugins/03_build_against_gl_fixes.patch
+++ /dev/null
@@ -1,372 +0,0 @@
-diff -Nur libvisual-plugins-0.4.0/plugins/actor/bumpscope/Makefile.am libvisual-plugins-0.4.0.new/plugins/actor/bumpscope/Makefile.am
---- libvisual-plugins-0.4.0/plugins/actor/bumpscope/Makefile.am 2006-02-23 20:03:24.000000000 +1100
-+++ libvisual-plugins-0.4.0.new/plugins/actor/bumpscope/Makefile.am 2007-07-04 18:19:43.000000000 +1000
-@@ -2,13 +2,12 @@
-
- actor_plugin_LTLIBRARIES = actor_bumpscope.la
-
--LIBS += $(LIBVISUAL_LIBS)
--
- AM_CFLAGS = $(LIBVISUAL_CFLAGS)
-
- INCLUDES = $(all_includes) -I$(top_srcdir)
-
- actor_bumpscope_la_LDFLAGS = -module -avoid-version
-+actor_bumpscope_la_LIBADD = $(LIBVISUAL_LIBS)
-
- actor_bumpscope_la_SOURCES = actor_bumpscope.c \
- actor_bumpscope.h \
-diff -Nur libvisual-plugins-0.4.0/plugins/actor/corona/Makefile.am libvisual-plugins-0.4.0.new/plugins/actor/corona/Makefile.am
---- libvisual-plugins-0.4.0/plugins/actor/corona/Makefile.am 2006-02-23 20:03:24.000000000 +1100
-+++ libvisual-plugins-0.4.0.new/plugins/actor/corona/Makefile.am 2007-07-04 18:19:43.000000000 +1000
-@@ -2,13 +2,12 @@
-
- actor_plugin_LTLIBRARIES = actor_corona.la
-
--LIBS += $(LIBVISUAL_LIBS)
--
- AM_CXXFLAGS = $(LIBVISUAL_CFLAGS)
-
- INCLUDES = $(all_includes) -I$(top_srcdir)
-
- actor_corona_la_LDFLAGS = -module -avoid-version
-+actor_corona_la_LIBADD = $(LIBVISUAL_LIBS)
-
- actor_corona_la_SOURCES = actor_corona.cpp \
- autopal.h \
-diff -Nur libvisual-plugins-0.4.0/plugins/actor/gdkpixbuf/Makefile.am libvisual-plugins-0.4.0.new/plugins/actor/gdkpixbuf/Makefile.am
---- libvisual-plugins-0.4.0/plugins/actor/gdkpixbuf/Makefile.am 2006-02-24 00:34:48.000000000 +1100
-+++ libvisual-plugins-0.4.0.new/plugins/actor/gdkpixbuf/Makefile.am 2007-07-04 18:19:43.000000000 +1000
-@@ -2,13 +2,12 @@
-
- actor_plugin_LTLIBRARIES = actor_gdkpixbuf.la
-
--LIBS += $(LIBVISUAL_LIBS) $(GTK_LIBS)
--
- AM_CFLAGS = $(LIBVISUAL_CFLAGS) $(GTK_CFLAGS)
-
- INCLUDES = $(all_includes) -I$(top_srcdir)
-
- actor_gdkpixbuf_la_LDFLAGS = -module -avoid-version
-+actor_gdkpixbuf_la_LIBADD = $(LIBVISUAL_LIBS) $(GTK_LIBS)
-
- actor_gdkpixbuf_la_SOURCES = actor_gdkpixbuf.c
-
-diff -Nur libvisual-plugins-0.4.0/plugins/actor/gstreamer/Makefile.am libvisual-plugins-0.4.0.new/plugins/actor/gstreamer/Makefile.am
---- libvisual-plugins-0.4.0/plugins/actor/gstreamer/Makefile.am 2006-02-23 20:03:27.000000000 +1100
-+++ libvisual-plugins-0.4.0.new/plugins/actor/gstreamer/Makefile.am 2007-07-04 18:19:43.000000000 +1000
-@@ -2,14 +2,13 @@
-
- actor_plugin_LTLIBRARIES = actor_gstreamer.la
-
--LIBS += $(LIBVISUAL_LIBS) $(GSTREAMER_LIBS)
--
- AM_CFLAGS = $(LIBVISUAL_CFLAGS) $(GSTREAMER_CFLAGS)
-
- INCLUDES = $(all_includes) \
- -I$(top_srcdir)
-
- actor_gstreamer_la_LDFLAGS = -module -avoid-version
-+actor_gstreamer_la_LIBADD = $(LIBVISUAL_LIBS) $(GSTREAMER_LIBS)
-
- actor_gstreamer_la_SOURCES = actor_gstreamer.c
-
-diff -Nur libvisual-plugins-0.4.0/plugins/actor/infinite/Makefile.am libvisual-plugins-0.4.0.new/plugins/actor/infinite/Makefile.am
---- libvisual-plugins-0.4.0/plugins/actor/infinite/Makefile.am 2006-02-23 20:03:27.000000000 +1100
-+++ libvisual-plugins-0.4.0.new/plugins/actor/infinite/Makefile.am 2007-07-04 18:19:43.000000000 +1000
-@@ -2,13 +2,12 @@
-
- actor_plugin_LTLIBRARIES = actor_infinite.la
-
--LIBS += $(LIBVISUAL_LIBS)
--
- AM_CFLAGS = $(LIBVISUAL_CFLAGS)
-
- INCLUDES = $(all_includes) -I$(top_srcdir)
-
- actor_infinite_la_LDFLAGS = -module -avoid-version
-+actor_infinite_la_LIBADD = $(LIBVISUAL_LIBS)
-
- actor_infinite_la_SOURCES = compute.c compute.h \
- display.c display.h \
-diff -Nur libvisual-plugins-0.4.0/plugins/actor/jakdaw/Makefile.am libvisual-plugins-0.4.0.new/plugins/actor/jakdaw/Makefile.am
---- libvisual-plugins-0.4.0/plugins/actor/jakdaw/Makefile.am 2006-02-23 20:03:28.000000000 +1100
-+++ libvisual-plugins-0.4.0.new/plugins/actor/jakdaw/Makefile.am 2007-07-04 18:19:43.000000000 +1000
-@@ -2,13 +2,12 @@
-
- actor_plugin_LTLIBRARIES = actor_jakdaw.la
-
--LIBS += $(LIBVISUAL_LIBS)
--
- AM_CFLAGS = $(LIBVISUAL_CFLAGS)
-
- INCLUDES = $(all_includes) -I$(top_srcdir)
-
- actor_jakdaw_la_LDFLAGS = -module -avoid-version
-+actor_jakdaw_la_LIBADD = $(LIBVISUAL_LIBS)
-
- actor_jakdaw_la_SOURCES = actor_jakdaw.c \
- actor_jakdaw.h \
-diff -Nur libvisual-plugins-0.4.0/plugins/actor/JESS/Makefile.am libvisual-plugins-0.4.0.new/plugins/actor/JESS/Makefile.am
---- libvisual-plugins-0.4.0/plugins/actor/JESS/Makefile.am 2006-02-23 20:03:24.000000000 +1100
-+++ libvisual-plugins-0.4.0.new/plugins/actor/JESS/Makefile.am 2007-07-04 18:19:43.000000000 +1000
-@@ -2,13 +2,12 @@
-
- actor_plugin_LTLIBRARIES = actor_JESS.la
-
--LIBS += $(LIBVISUAL_LIBS)
--
- AM_CFLAGS = $(LIBVISUAL_CFLAGS)
-
- INCLUDES = $(all_includes) -I$(top_srcdir)
-
- actor_JESS_la_LDFLAGS = -module -avoid-version
-+actor_JESS_la_LIBADD = $(LIBVISUAL_LIBS)
-
- actor_JESS_la_SOURCES = analyser.c analyser.h analyser_struct.h\
- distorsion.c distorsion.h\
-diff -Nur libvisual-plugins-0.4.0/plugins/actor/lv_analyzer/Makefile.am libvisual-plugins-0.4.0.new/plugins/actor/lv_analyzer/Makefile.am
---- libvisual-plugins-0.4.0/plugins/actor/lv_analyzer/Makefile.am 2006-02-23 20:03:28.000000000 +1100
-+++ libvisual-plugins-0.4.0.new/plugins/actor/lv_analyzer/Makefile.am 2007-07-04 18:19:43.000000000 +1000
-@@ -2,14 +2,13 @@
-
- actor_plugin_LTLIBRARIES = actor_lv_analyzer.la
-
--LIBS += $(LIBVISUAL_LIBS)
--
- AM_CFLAGS = $(LIBVISUAL_CFLAGS)
-
- INCLUDES = $(all_includes) \
- -I$(top_srcdir)
-
- actor_lv_analyzer_la_LDFLAGS = -module -avoid-version
-+actor_lv_analyzer_la_LIBADD = $(LIBVISUAL_LIBS)
-
- actor_lv_analyzer_la_SOURCES = actor_lv_analyzer.c
-
-diff -Nur libvisual-plugins-0.4.0/plugins/actor/lv_gltest/Makefile.am libvisual-plugins-0.4.0.new/plugins/actor/lv_gltest/Makefile.am
---- libvisual-plugins-0.4.0/plugins/actor/lv_gltest/Makefile.am 2006-02-24 22:24:49.000000000 +1100
-+++ libvisual-plugins-0.4.0.new/plugins/actor/lv_gltest/Makefile.am 2007-07-04 18:19:43.000000000 +1000
-@@ -4,5 +4,5 @@
-
- actor_lv_gltest_la_CFLAGS = -I$(top_srcdir) $(LIBVISUAL_CFLAGS) $(X_CFLAGS)
- actor_lv_gltest_la_LDFLAGS = -module -avoid-version
--actor_lv_gltest_la_LIBS = $(LIBVISUAL_LIBS) $(X_LIBS) -lGL -lGLU
-+actor_lv_gltest_la_LIBADD = $(LIBVISUAL_LIBS) $(X_LIBS) -lGL -lGLU
- actor_lv_gltest_la_SOURCES = actor_lv_gltest.c
-diff -Nur libvisual-plugins-0.4.0/plugins/actor/lv_scope/Makefile.am libvisual-plugins-0.4.0.new/plugins/actor/lv_scope/Makefile.am
---- libvisual-plugins-0.4.0/plugins/actor/lv_scope/Makefile.am 2006-02-23 20:03:29.000000000 +1100
-+++ libvisual-plugins-0.4.0.new/plugins/actor/lv_scope/Makefile.am 2007-07-04 18:19:43.000000000 +1000
-@@ -2,13 +2,12 @@
-
- actor_plugin_LTLIBRARIES = actor_lv_scope.la
-
--LIBS += $(LIBVISUAL_LIBS)
--
- AM_CFLAGS = $(LIBVISUAL_CFLAGS)
-
- INCLUDES = $(all_includes) -I$(top_srcdir)
-
- actor_lv_scope_la_LDFLAGS = -module -avoid-version
-+actor_lv_scope_la_LIBADD = $(LIBVISUAL_LIBS)
-
- actor_lv_scope_la_SOURCES = actor_lv_scope.c
-
-diff -Nur libvisual-plugins-0.4.0/plugins/actor/madspin/Makefile.am libvisual-plugins-0.4.0.new/plugins/actor/madspin/Makefile.am
---- libvisual-plugins-0.4.0/plugins/actor/madspin/Makefile.am 2006-02-24 22:24:49.000000000 +1100
-+++ libvisual-plugins-0.4.0.new/plugins/actor/madspin/Makefile.am 2007-07-04 18:19:43.000000000 +1000
-@@ -10,5 +10,5 @@
-
- actor_madspin_la_CFLAGS = -I$(top_srcdir) $(LIBVISUAL_CFLAGS) -DSTAR_DIR=\""$(imagesdir)/"\"
- actor_madspin_la_LDFLAGS = -module -avoid-version
--actor_madspin_la_LIBS = $(LIBVISUAL_LIBS) $(X_LIBS) -lGL
-+actor_madspin_la_LIBADD = $(LIBVISUAL_LIBS) $(X_LIBS) -lGL
- actor_madspin_la_SOURCES = madspin.c
-diff -Nur libvisual-plugins-0.4.0/plugins/actor/nastyfft/Makefile.am libvisual-plugins-0.4.0.new/plugins/actor/nastyfft/Makefile.am
---- libvisual-plugins-0.4.0/plugins/actor/nastyfft/Makefile.am 2006-02-24 22:24:50.000000000 +1100
-+++ libvisual-plugins-0.4.0.new/plugins/actor/nastyfft/Makefile.am 2007-07-04 18:19:43.000000000 +1000
-@@ -4,5 +4,5 @@
-
- actor_nastyfft_la_CFLAGS = -I$(top_srcdir) $(LIBVISUAL_CFLAGS) $(X_CFLAGS)
- actor_nastyfft_la_LDFLAGS = -module -avoid-version
--actor_nastyfft_la_LIBS = $(LIBVISUAL_LIBS) $(X_LIBS) -lGL -lGLU
-+actor_nastyfft_la_LIBADD = $(LIBVISUAL_LIBS) $(X_LIBS) -lGL -lGLU
- actor_nastyfft_la_SOURCES = actor_nastyfft.c
-diff -Nur libvisual-plugins-0.4.0/plugins/actor/oinksie/Makefile.am libvisual-plugins-0.4.0.new/plugins/actor/oinksie/Makefile.am
---- libvisual-plugins-0.4.0/plugins/actor/oinksie/Makefile.am 2006-02-23 20:03:31.000000000 +1100
-+++ libvisual-plugins-0.4.0.new/plugins/actor/oinksie/Makefile.am 2007-07-04 18:19:43.000000000 +1000
-@@ -2,13 +2,12 @@
-
- actor_plugin_LTLIBRARIES = actor_oinksie.la
-
--LIBS += $(LIBVISUAL_LIBS)
--
- AM_CFLAGS = $(LIBVISUAL_CFLAGS)
-
- INCLUDES = $(all_includes) -I$(top_srcdir)
-
- actor_oinksie_la_LDFLAGS = -module -avoid-version
-+actor_oinksie_la_LIBADD = $(LIBVISUAL_LIBS)
-
- actor_oinksie_la_SOURCES = actor_oinksie.c\
- oinksie.c oinksie.h\
-diff -Nur libvisual-plugins-0.4.0/plugins/actor/pseudotoad_flower/Makefile.am libvisual-plugins-0.4.0.new/plugins/actor/pseudotoad_flower/Makefile.am
---- libvisual-plugins-0.4.0/plugins/actor/pseudotoad_flower/Makefile.am 2006-03-09 00:06:58.000000000 +1100
-+++ libvisual-plugins-0.4.0.new/plugins/actor/pseudotoad_flower/Makefile.am 2007-07-04 18:19:43.000000000 +1000
-@@ -4,7 +4,7 @@
-
- actor_flower_la_LDFLAGS = -module -avoid-version
- actor_flower_la_CFLAGS = -I$(top_srcdir) $(LIBVISUAL_CFLAGS) $(X_CFLAGS)
--actor_flower_la_LIBS = $(LIBVISUAL_LIBS) $(X_LIBS) -lGL -lGLU
-+actor_flower_la_LIBADD = $(LIBVISUAL_LIBS) $(X_LIBS) -lGL -lGLU
-
- actor_flower_la_SOURCES = \
- actor_flower.c \
-diff -Nur libvisual-plugins-0.4.0/plugins/input/alsa/Makefile.am libvisual-plugins-0.4.0.new/plugins/input/alsa/Makefile.am
---- libvisual-plugins-0.4.0/plugins/input/alsa/Makefile.am 2006-02-23 20:03:35.000000000 +1100
-+++ libvisual-plugins-0.4.0.new/plugins/input/alsa/Makefile.am 2007-07-04 18:19:43.000000000 +1000
-@@ -2,12 +2,11 @@
-
- input_plugin_LTLIBRARIES = input_alsa.la
-
--LIBS += $(ALSA_LIBS) $(LIBVISUAL_LIBS)
--
- AM_CFLAGS = $(ALSA_CFLAGS) $(LIBVISUAL_CFLAGS)
-
- INCLUDES = $(all_includes) -I$(top_srcdir) -I$(top_builddir)
-
- input_alsa_la_LDFLAGS = -module -avoid-version
-+input_alsa_la_LIBADD = $(ALSA_LIBS) $(LIBVISUAL_LIBS)
-
- input_alsa_la_SOURCES = input_alsa.c
-diff -Nur libvisual-plugins-0.4.0/plugins/input/debug/Makefile.am libvisual-plugins-0.4.0.new/plugins/input/debug/Makefile.am
---- libvisual-plugins-0.4.0/plugins/input/debug/Makefile.am 2006-02-23 20:03:36.000000000 +1100
-+++ libvisual-plugins-0.4.0.new/plugins/input/debug/Makefile.am 2007-07-04 18:19:43.000000000 +1000
-@@ -2,11 +2,10 @@
-
- input_plugin_LTLIBRARIES = input_debug.la
-
--LIBS += $(LIBVISUAL_LIBS)
--
- AM_CFLAGS = $(LIBVISUAL_CFLAGS)
-
- INCLUDES = $(all_includes) -I$(top_srcdir) -I$(top_builddir)
-
- input_debug_la_LDFLAGS = -module -avoid-version
-+input_debug_la_LIBADD = $(LIBVISUAL_LIBS)
- input_debug_la_SOURCES = input_debug.c
-diff -Nur libvisual-plugins-0.4.0/plugins/input/esd/Makefile.am libvisual-plugins-0.4.0.new/plugins/input/esd/Makefile.am
---- libvisual-plugins-0.4.0/plugins/input/esd/Makefile.am 2006-02-23 20:03:37.000000000 +1100
-+++ libvisual-plugins-0.4.0.new/plugins/input/esd/Makefile.am 2007-07-04 18:19:43.000000000 +1000
-@@ -2,11 +2,10 @@
-
- input_plugin_LTLIBRARIES = input_esd.la
-
--LIBS += $(LIBESD_LIBS) $(LIBVISUAL_LIBS)
--
- AM_CFLAGS = $(LIBESD_CFLAGS) $(LIBVISUAL_CFLAGS)
-
- INCLUDES = $(all_includes) -I$(top_srcdir)
-
- input_esd_la_LDFLAGS = -module -avoid-version
-+input_esd_la_LIBADD = $(LIBESD_LIBS) $(LIBVISUAL_LIBS)
- input_esd_la_SOURCES = input_esd.c
-diff -Nur libvisual-plugins-0.4.0/plugins/input/jack/Makefile.am libvisual-plugins-0.4.0.new/plugins/input/jack/Makefile.am
---- libvisual-plugins-0.4.0/plugins/input/jack/Makefile.am 2006-02-23 20:03:37.000000000 +1100
-+++ libvisual-plugins-0.4.0.new/plugins/input/jack/Makefile.am 2007-07-04 18:19:43.000000000 +1000
-@@ -2,13 +2,12 @@
-
- input_plugin_LTLIBRARIES = input_jack.la
-
--LIBS += $(LIBJACK_LIBS) $(LIBVISUAL_LIBS)
--
- AM_CFLAGS = $(LIBJACK_CFLAGS) $(LIBVISUAL_CFLAGS)
-
- INCLUDES = $(all_includes) -I$(top_srcdir)
-
- input_jack_la_LDFLAGS = -module -avoid-version
-+input_jack_la_LIBADD = $(LIBJACK_LIBS) $(LIBVISUAL_LIBS)
-
- input_jack_la_SOURCES = input_jack.c
-
-diff -Nur libvisual-plugins-0.4.0/plugins/input/mplayer/Makefile.am libvisual-plugins-0.4.0.new/plugins/input/mplayer/Makefile.am
---- libvisual-plugins-0.4.0/plugins/input/mplayer/Makefile.am 2006-02-23 20:03:38.000000000 +1100
-+++ libvisual-plugins-0.4.0.new/plugins/input/mplayer/Makefile.am 2007-07-04 18:19:43.000000000 +1000
-@@ -2,12 +2,11 @@
-
- input_plugin_LTLIBRARIES = input_mplayer.la
-
--LIBS += $(LIBVISUAL_LIBS)
--
- AM_CFLAGS = $(LIBVISUAL_CFLAGS)
-
- INCLUDES = $(all_includes) -I$(top_srcdir)
-
- input_mplayer_la_LDFLAGS = -module -avoid-version
-+input_mplayer_la_LIBADD = $(LIBVISUAL_LIBS)
- input_mplayer_la_SOURCES = input_mplayer.c
-
-diff -Nur libvisual-plugins-0.4.0/plugins/morph/alphablend/Makefile.am libvisual-plugins-0.4.0.new/plugins/morph/alphablend/Makefile.am
---- libvisual-plugins-0.4.0/plugins/morph/alphablend/Makefile.am 2006-02-23 20:03:38.000000000 +1100
-+++ libvisual-plugins-0.4.0.new/plugins/morph/alphablend/Makefile.am 2007-07-04 18:19:43.000000000 +1000
-@@ -2,11 +2,10 @@
-
- morph_plugin_LTLIBRARIES = morph_alphablend.la
-
--LIBS += $(LIBVISUAL_LIBS)
--
- AM_CFLAGS = $(LIBVISUAL_CFLAGS)
-
- INCLUDES = $(all_includes) -I$(top_srcdir)
-
- morph_alphablend_la_LDFLAGS = -module -avoid-version
-+morph_alphablend_la_LIBADD = $(LIBVISUAL_LIBS)
- morph_alphablend_la_SOURCES = morph_alphablend.c
-diff -Nur libvisual-plugins-0.4.0/plugins/morph/flash/Makefile.am libvisual-plugins-0.4.0.new/plugins/morph/flash/Makefile.am
---- libvisual-plugins-0.4.0/plugins/morph/flash/Makefile.am 2006-02-23 20:03:39.000000000 +1100
-+++ libvisual-plugins-0.4.0.new/plugins/morph/flash/Makefile.am 2007-07-04 18:19:43.000000000 +1000
-@@ -2,11 +2,10 @@
-
- morph_plugin_LTLIBRARIES = morph_flash.la
-
--LIBS += $(LIBVISUAL_LIBS)
--
- AM_CFLAGS = $(LIBVISUAL_CFLAGS)
-
- INCLUDES = $(all_includes) -I$(top_srcdir)
-
- morph_flash_la_LDFLAGS = -module -avoid-version
-+morph_flash_la_LIBADD = $(LIBVISUAL_LIBS)
- morph_flash_la_SOURCES = morph_flash.c
-diff -Nur libvisual-plugins-0.4.0/plugins/morph/slide/Makefile.am libvisual-plugins-0.4.0.new/plugins/morph/slide/Makefile.am
---- libvisual-plugins-0.4.0/plugins/morph/slide/Makefile.am 2006-02-23 20:03:39.000000000 +1100
-+++ libvisual-plugins-0.4.0.new/plugins/morph/slide/Makefile.am 2007-07-04 18:19:43.000000000 +1000
-@@ -2,11 +2,10 @@
-
- morph_plugin_LTLIBRARIES = morph_slide.la
-
--LIBS += $(LIBVISUAL_LIBS)
--
- AM_CFLAGS = $(LIBVISUAL_CFLAGS)
-
- INCLUDES = $(all_includes) -I$(top_srcdir)
-
- morph_slide_la_LDFLAGS = -module -avoid-version
-+morph_slide_la_LIBADD = $(LIBVISUAL_LIBS)
- morph_slide_la_SOURCES = morph_slide.c
-diff -Nur libvisual-plugins-0.4.0/plugins/morph/tentacle/Makefile.am libvisual-plugins-0.4.0.new/plugins/morph/tentacle/Makefile.am
---- libvisual-plugins-0.4.0/plugins/morph/tentacle/Makefile.am 2006-02-23 20:03:39.000000000 +1100
-+++ libvisual-plugins-0.4.0.new/plugins/morph/tentacle/Makefile.am 2007-07-04 18:19:43.000000000 +1000
-@@ -2,11 +2,10 @@
-
- morph_plugin_LTLIBRARIES = morph_tentacle.la
-
--LIBS += $(LIBVISUAL_LIBS)
--
- AM_CFLAGS = $(LIBVISUAL_CFLAGS)
-
- INCLUDES = $(all_includes) -I$(top_srcdir)
-
- morph_tentacle_la_LDFLAGS = -module -avoid-version
-+morph_tentacle_la_LIBADD = $(LIBVISUAL_LIBS)
- morph_tentacle_la_SOURCES = morph_tentacle.c
diff --git a/testing/libvisual-plugins/04_lv_analyzer_build_fix.patch b/testing/libvisual-plugins/04_lv_analyzer_build_fix.patch
deleted file mode 100644
index 1fc5f7fc7..000000000
--- a/testing/libvisual-plugins/04_lv_analyzer_build_fix.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Nur libvisual-plugins-0.4.0/configure.ac libvisual-plugins-0.4.0.new/configure.ac
---- libvisual-plugins-0.4.0/configure.ac 2006-03-17 03:50:41.000000000 +1100
-+++ libvisual-plugins-0.4.0.new/configure.ac 2007-07-04 18:22:38.000000000 +1000
-@@ -361,7 +361,7 @@
- [ENABLE_ANALYZER=$enableval],
- [ENABLE_ANALYZER=yes])
-
--if test "$ENABLE_ANALYZER" = xyes; then
-+if test "$ENABLE_ANALYZER" = "yes"; then
- build_actor_plugins="$build_actor_plugins lv_analyzer"
- fi
-
diff --git a/testing/libvisual-plugins/050_all_automagic.patch b/testing/libvisual-plugins/050_all_automagic.patch
deleted file mode 100644
index 9c25fac72..000000000
--- a/testing/libvisual-plugins/050_all_automagic.patch
+++ /dev/null
@@ -1,50 +0,0 @@
---- configure.ac.old 2007-02-24 23:09:08.000000000 +0100
-+++ configure.ac 2007-02-24 23:13:15.000000000 +0100
-@@ -89,7 +89,18 @@
-
- dnl Libraries
-
-+dnl List of plugins to build
-+build_input_plugins=""
-+build_actor_plugins=""
-+build_morph_plugins=""
-+
- dnl EsounD
-+AC_ARG_ENABLE([esd], AS_HELP_STRING([--disable-esd],
-+ [Do not build esound input plugin @<:@default=enabled@:>@]),
-+ [ENABLE_INPUT_ESD=$enableval],
-+ [ENABLE_INPUT_ESD=yes])
-+
-+if test "$ENABLE_INPUT_ESD" = "yes"; then
- PKG_CHECK_MODULES([LIBESD], [esound >= esound_required_version],
- [HAVE_ESD="yes"], [HAVE_ESD="no"])
-
-@@ -98,8 +109,15 @@
- else
- AC_MSG_WARN([*** EsounD not found or too old. The EsounD input plugin won't be built])
- fi
-+fi
-
- dnl JACK
-+AC_ARG_ENABLE([jack], AS_HELP_STRING([--disable-jack],
-+ [Do not build jack input plugin @<:@default=enabled@:>@]),
-+ [ENABLE_INPUT_JACK=$enableval],
-+ [ENABLE_INPUT_JACK=yes])
-+
-+if test "$ENABLE_INPUT_JACK" = "yes"; then
- PKG_CHECK_MODULES([LIBJACK], [jack >= jack_required_version], [HAVE_JACK="yes"], [HAVE_JACK="no"])
- if test "$HAVE_JACK" = "yes"; then
- build_input_plugins="$build_input_plugins jack"
-@@ -107,11 +125,7 @@
- AC_MSG_WARN([*** libjack is too old. You can download a newer version at
- http://jackit.sf.net/. The jackit input plugin won't be built])
- fi
--
--dnl List of plugins to build
--build_input_plugins=""
--build_actor_plugins=""
--build_morph_plugins=""
-+fi
-
- dnl GdkPixbuf
- AC_ARG_ENABLE([gdkpixbuf-plugin],
diff --git a/testing/libvisual-plugins/05_fix_po.patch b/testing/libvisual-plugins/05_fix_po.patch
deleted file mode 100644
index a5413ef1b..000000000
--- a/testing/libvisual-plugins/05_fix_po.patch
+++ /dev/null
@@ -1,127 +0,0 @@
-diff -Nur libvisual-plugins-0.4.0/po/Makefile.in.in libvisual-plugins-0.4.0.new/po/Makefile.in.in
---- libvisual-plugins-0.4.0/po/Makefile.in.in 2006-03-21 05:48:28.000000000 +1100
-+++ libvisual-plugins-0.4.0.new/po/Makefile.in.in 2007-07-09 21:50:13.000000000 +1000
-@@ -28,7 +28,7 @@
-
- INSTALL = @INSTALL@
- INSTALL_DATA = @INSTALL_DATA@
--MKINSTALLDIRS = @MKINSTALLDIRS@
-+MKINSTALLDIRS = mkinstalldirs
- mkinstalldirs = $(SHELL) $(MKINSTALLDIRS)
-
- GMSGFMT = @GMSGFMT@
-diff -Nur libvisual-plugins-0.4.0/po/mkinstalldirs libvisual-plugins-0.4.0.new/po/mkinstalldirs
---- libvisual-plugins-0.4.0/po/mkinstalldirs 1970-01-01 10:00:00.000000000 +1000
-+++ libvisual-plugins-0.4.0.new/po/mkinstalldirs 2006-03-21 05:48:42.000000000 +1100
-@@ -0,0 +1,111 @@
-+#! /bin/sh
-+# mkinstalldirs --- make directory hierarchy
-+# Author: Noah Friedman <friedman@prep.ai.mit.edu>
-+# Created: 1993-05-16
-+# Public domain
-+
-+errstatus=0
-+dirmode=""
-+
-+usage="\
-+Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
-+
-+# process command line arguments
-+while test $# -gt 0 ; do
-+ case $1 in
-+ -h | --help | --h*) # -h for help
-+ echo "$usage" 1>&2
-+ exit 0
-+ ;;
-+ -m) # -m PERM arg
-+ shift
-+ test $# -eq 0 && { echo "$usage" 1>&2; exit 1; }
-+ dirmode=$1
-+ shift
-+ ;;
-+ --) # stop option processing
-+ shift
-+ break
-+ ;;
-+ -*) # unknown option
-+ echo "$usage" 1>&2
-+ exit 1
-+ ;;
-+ *) # first non-opt arg
-+ break
-+ ;;
-+ esac
-+done
-+
-+for file
-+do
-+ if test -d "$file"; then
-+ shift
-+ else
-+ break
-+ fi
-+done
-+
-+case $# in
-+ 0) exit 0 ;;
-+esac
-+
-+case $dirmode in
-+ '')
-+ if mkdir -p -- . 2>/dev/null; then
-+ echo "mkdir -p -- $*"
-+ exec mkdir -p -- "$@"
-+ fi
-+ ;;
-+ *)
-+ if mkdir -m "$dirmode" -p -- . 2>/dev/null; then
-+ echo "mkdir -m $dirmode -p -- $*"
-+ exec mkdir -m "$dirmode" -p -- "$@"
-+ fi
-+ ;;
-+esac
-+
-+for file
-+do
-+ set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
-+ shift
-+
-+ pathcomp=
-+ for d
-+ do
-+ pathcomp="$pathcomp$d"
-+ case $pathcomp in
-+ -*) pathcomp=./$pathcomp ;;
-+ esac
-+
-+ if test ! -d "$pathcomp"; then
-+ echo "mkdir $pathcomp"
-+
-+ mkdir "$pathcomp" || lasterr=$?
-+
-+ if test ! -d "$pathcomp"; then
-+ errstatus=$lasterr
-+ else
-+ if test ! -z "$dirmode"; then
-+ echo "chmod $dirmode $pathcomp"
-+ lasterr=""
-+ chmod "$dirmode" "$pathcomp" || lasterr=$?
-+
-+ if test ! -z "$lasterr"; then
-+ errstatus=$lasterr
-+ fi
-+ fi
-+ fi
-+ fi
-+
-+ pathcomp="$pathcomp/"
-+ done
-+done
-+
-+exit $errstatus
-+
-+# Local Variables:
-+# mode: shell-script
-+# sh-indentation: 2
-+# End:
-+# mkinstalldirs ends here
diff --git a/testing/libvisual-plugins/60_no-const-vispluginfo-in-nastyfft.patch b/testing/libvisual-plugins/60_no-const-vispluginfo-in-nastyfft.patch
deleted file mode 100644
index 8e54e02cb..000000000
--- a/testing/libvisual-plugins/60_no-const-vispluginfo-in-nastyfft.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-The static VisPluginInfo in nastyfft was declared as const, but libvisual write
-to its refcount when it visual_object_unref()s it (nasty!). This is broken at
-various levels: libvisual shouldn't be writing to this static plugin which is
-allocated by a dlopen()ed plugin, and it should also honor the "const
-VisPluginInfo" API... Anyway, nastyfft was the only occurrence and this fixes
-the crash for now; LP: #287448.
-
---- libvisual-plugins-0.4.0.dfsg.1.orig/plugins/actor/nastyfft/actor_nastyfft.c
-+++ libvisual-plugins-0.4.0.dfsg.1/plugins/actor/nastyfft/actor_nastyfft.c
-@@ -80,7 +80,7 @@
- .vidoptions.depth = VISUAL_VIDEO_DEPTH_GL
- }};
-
-- static const VisPluginInfo info[] = {{
-+ static VisPluginInfo info[] = {{
- .type = VISUAL_PLUGIN_TYPE_ACTOR,
-
- .plugname = N_("nastyfft"),
diff --git a/testing/libvisual-plugins/PKGBUILD b/testing/libvisual-plugins/PKGBUILD
deleted file mode 100644
index df8684ed6..000000000
--- a/testing/libvisual-plugins/PKGBUILD
+++ /dev/null
@@ -1,51 +0,0 @@
-# $Id: PKGBUILD 168488 2012-10-12 17:38:33Z andyrtr $
-# Maintainer: damir <damir@archlinux.org>
-
-pkgname=libvisual-plugins
-pkgver=0.4.0
-pkgrel=7
-pkgdesc="plugins for libvisual"
-arch=("i686" "x86_64")
-license=('GPL')
-url="http://www.localhost.nl/~synap/libvisual/"
-depends=('libvisual' 'gtk2' 'glu' 'alsa-lib' 'jack')
-makedepends=('mesa')
-options=(!libtool)
-source=(http://downloads.sourceforge.net/sourceforge/libvisual/libvisual-plugins-${pkgver}.tar.gz
- 02_64-bit_JESS_fix.patch
- 03_build_against_gl_fixes.patch
- 04_lv_analyzer_build_fix.patch
- 05_fix_po.patch
- 050_all_automagic.patch
- 60_no-const-vispluginfo-in-nastyfft.patch)
-md5sums=('4330e9287f9d6fae02f482f428a1e77b'
- 'f9cfb607bfcbfef60830fae4e7dc6963'
- '116701408747dbb87dc134434478ebe2'
- '01678a8f1584c76a44e59d81003a1109'
- '6189b7427c4e11c8b8d6c6266d6a1629'
- 'b50ae94c424a5f0af235deffa8451eb6'
- '7012518727cb072a7e90a826a5577cc6')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- patch -Np1 -i "${srcdir}/02_64-bit_JESS_fix.patch"
- patch -Np1 -i "${srcdir}/03_build_against_gl_fixes.patch"
- patch -Np1 -i "${srcdir}/04_lv_analyzer_build_fix.patch"
- patch -Np0 -i "${srcdir}/050_all_automagic.patch"
- patch -Np1 -i "${srcdir}/60_no-const-vispluginfo-in-nastyfft.patch"
-
- autoreconf -fi
- # Apply later as autoreconf overwrites po/Makefile.in.in
- patch -Np1 -i "${srcdir}/05_fix_po.patch"
-
- ./configure --prefix=/usr \
- --disable-gstreamer-plugin \
- --disable-gforce \
- --disable-esd
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-}
diff --git a/testing/libxcb/PKGBUILD b/testing/libxcb/PKGBUILD
deleted file mode 100644
index 60833c061..000000000
--- a/testing/libxcb/PKGBUILD
+++ /dev/null
@@ -1,35 +0,0 @@
-# $Id: PKGBUILD 168201 2012-10-06 20:05:33Z andyrtr $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-# Contributor: Alexander Baldeck <alexander@archlinux.org>
-
-pkgname=libxcb
-pkgver=1.9
-pkgrel=1
-pkgdesc="X11 client-side library"
-arch=(i686 x86_64)
-url="http://xcb.freedesktop.org/"
-depends=('xcb-proto>=1.7' 'libxdmcp' 'libxau')
-makedepends=('pkgconfig' 'libxslt' 'python2')
-options=('!libtool')
-license=('custom')
-source=($url/dist/$pkgname-$pkgver.tar.bz2
- libxcb-1.1-no-pthread-stubs.patch)
-sha1sums=('ad2fb95eeec41ba3d39502a4f7460c3b64fdf061'
- 'd2df03ddf3e949c10c2c185256b0eb7fa02837ab')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- patch -Np1 -i "$srcdir/libxcb-1.1-no-pthread-stubs.patch"
- PYTHON=/usr/bin/python2
- ./autogen.sh --prefix=/usr \
- --enable-xinput \
- --disable-static
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir" install
- install -m755 -d "$pkgdir/usr/share/licenses/$pkgname"
- install -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname"
-}
diff --git a/testing/libxcb/libxcb-1.1-no-pthread-stubs.patch b/testing/libxcb/libxcb-1.1-no-pthread-stubs.patch
deleted file mode 100644
index 8e8162f0a..000000000
--- a/testing/libxcb/libxcb-1.1-no-pthread-stubs.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- libxcb-1.8.1/configure.ac 2012-03-09 15:38:38.000000000 +0100
-+++ libxcb-1.8.1/configure.ac.new 2012-03-09 16:50:40.107109896 +0100
-@@ -35,7 +35,7 @@
-
- # Checks for pkg-config packages
- PKG_CHECK_MODULES(XCBPROTO, xcb-proto >= 1.7)
--NEEDED="pthread-stubs xau >= 0.99.2"
-+NEEDED="xau >= 0.99.2"
- PKG_CHECK_MODULES(NEEDED, $NEEDED)
-
- have_xdmcp="no"
diff --git a/testing/mesa/git_fixes.diff b/testing/mesa/git_fixes.diff
deleted file mode 100644
index 8132d1d10..000000000
--- a/testing/mesa/git_fixes.diff
+++ /dev/null
@@ -1,93 +0,0 @@
-From 161aababc659e23c4a8523366a31f63b3d14e280 Mon Sep 17 00:00:00 2001
-From: Ian Romanick <ian.d.romanick@intel.com>
-Date: Mon, 08 Oct 2012 22:07:10 +0000
-Subject: docs: Add 9.0 release md5sums
-
-Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
----
-diff --git a/docs/relnotes-9.0.html b/docs/relnotes-9.0.html
-index d72c5bb..02b7324 100644
---- a/docs/relnotes-9.0.html
-+++ b/docs/relnotes-9.0.html
-@@ -26,7 +26,9 @@ because GL_ARB_compatibility is not supported.
-
- <h2>MD5 checksums</h2>
- <pre>
--tbd
-+be4cd34c6599a7cb9d254b05c48bdb1f MesaLib-9.0.tar.gz
-+60e557ce407be3732711da484ab3db6c MesaLib-9.0.tar.bz2
-+16b128544cd3f7e237927bb9f8aab7ce MesaLib-9.0.zip
- </pre>
-
-
---
-cgit v0.9.0.2-2-gbebe
-From 32faf7ab0de8b88bb15a2cb262a73c411dce9d0d Mon Sep 17 00:00:00 2001
-From: Brian Paul <brianp@vmware.com>
-Date: Fri, 05 Oct 2012 22:47:40 +0000
-Subject: mesa: don't call TexImage driver hooks for zero-sized images
-
-This simply avoids some failed assertions but there's no reason to
-call the driver hooks for storing a tex image if its size is zero.
-
-Note: This is a candidate for the stable branches.
-(cherry picked from commit 91d84096497ff538f55591f7e6bb0b563726db8d)
----
-diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c
-index 21646cc..8004876 100644
---- a/src/mesa/main/teximage.c
-+++ b/src/mesa/main/teximage.c
-@@ -3034,13 +3034,15 @@ teximage(struct gl_context *ctx, GLboolean compressed, GLuint dims,
- border, internalFormat, texFormat);
-
- /* Give the texture to the driver. <pixels> may be null. */
-- if (compressed) {
-- ctx->Driver.CompressedTexImage(ctx, dims, texImage,
-- imageSize, pixels);
-- }
-- else {
-- ctx->Driver.TexImage(ctx, dims, texImage, format,
-- type, pixels, unpack);
-+ if (width > 0 && height > 0 && depth > 0) {
-+ if (compressed) {
-+ ctx->Driver.CompressedTexImage(ctx, dims, texImage,
-+ imageSize, pixels);
-+ }
-+ else {
-+ ctx->Driver.TexImage(ctx, dims, texImage, format,
-+ type, pixels, unpack);
-+ }
- }
-
- check_gen_mipmap(ctx, target, texObj, level);
---
-cgit v0.9.0.2-2-gbebe
-From e75051d1967350ceff0209dde24ae42696b13b5c Mon Sep 17 00:00:00 2001
-From: Brian Paul <brianp@vmware.com>
-Date: Fri, 05 Oct 2012 22:59:27 +0000
-Subject: mesa: fix error check for zero-sized compressed subtexture
-
-For glCompressedTexSubImage, width or height = 0 is legal.
-Fixes a failure in piglit's s3tc-errors test.
-
-This is for the 9.0 and 8.0 branches. Already fixed on master.
----
-diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c
-index 8004876..38fa9fa 100644
---- a/src/mesa/main/teximage.c
-+++ b/src/mesa/main/teximage.c
-@@ -3598,10 +3598,10 @@ compressed_subtexture_error_check(struct gl_context *ctx, GLint dimensions,
- if (!_mesa_is_compressed_format(ctx, format))
- return GL_INVALID_ENUM;
-
-- if (width < 1 || width > maxTextureSize)
-+ if (width < 0 || width > maxTextureSize)
- return GL_INVALID_VALUE;
-
-- if ((height < 1 || height > maxTextureSize)
-+ if ((height < 0 || height > maxTextureSize)
- && dimensions > 1)
- return GL_INVALID_VALUE;
-
---
-cgit v0.9.0.2-2-gbebe
diff --git a/testing/mod_wsgi/PKGBUILD b/testing/mod_wsgi/PKGBUILD
deleted file mode 100644
index 24c2d0767..000000000
--- a/testing/mod_wsgi/PKGBUILD
+++ /dev/null
@@ -1,28 +0,0 @@
-# $Id: PKGBUILD 168687 2012-10-14 04:16:02Z eric $
-# Maintainer: Andrea Scarpino <andrea@archlinux.org>
-# Contributor: Ryan Coyner <rcoyner@gmail.com>
-
-pkgname=mod_wsgi
-pkgver=3.4
-pkgrel=1
-pkgdesc="Python WSGI adapter module for Apache"
-arch=('i686' 'x86_64')
-url="http://www.modwsgi.org/"
-license=('APACHE')
-depends=('apache' 'python2')
-install=mod_wsgi.install
-source=("http://modwsgi.googlecode.com/files/${pkgname}-${pkgver}.tar.gz")
-md5sums=('f42d69190ea0c337ef259cbe8d94d985')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr \
- --with-apxs=/usr/sbin/apxs \
- --with-python=/usr/bin/python2
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-}
diff --git a/testing/mod_wsgi/mod_wsgi.install b/testing/mod_wsgi/mod_wsgi.install
deleted file mode 100644
index d26d61631..000000000
--- a/testing/mod_wsgi/mod_wsgi.install
+++ /dev/null
@@ -1,14 +0,0 @@
-post_install() {
-/bin/cat << ENDOFMESSAGE
-==>
-==>
-==> To install mod_wsgi, add the following line in
-==> /etc/httpd/conf/httpd.conf file :
-==>
-==> LoadModule wsgi_module modules/mod_wsgi.so
-==>
-==> and restart/reload Apache.
-==>
-==>
-ENDOFMESSAGE
-}
diff --git a/testing/mono/PKGBUILD b/testing/mono/PKGBUILD
deleted file mode 100644
index 742e6053b..000000000
--- a/testing/mono/PKGBUILD
+++ /dev/null
@@ -1,52 +0,0 @@
-# $Id: PKGBUILD 168257 2012-10-06 23:53:27Z tomegun $
-# Maintainer: Daniel Isenmann <daniel@archlinux.org>
-# Contributor: Brice Carpentier <brice@dlfp.org>
-
-pkgname=mono
-pkgver=2.10.8
-pkgrel=2
-pkgdesc="Free implementation of the .NET platform including runtime and compiler"
-arch=(i686 x86_64)
-license=('GPL' 'LGPL2' 'MPL' 'custom:MITX11')
-url="http://www.mono-project.com/"
-depends=('zlib' 'libgdiplus>=2.10' 'sh')
-makedepends=('pkgconfig')
-options=('!libtool' '!makeflags')
-provides=('monodoc')
-conflicts=('monodoc')
-source=(http://download.mono-project.com/sources/${pkgname}/${pkgname}-${pkgver}.tar.gz
- mono.binfmt.d)
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- # build mono
- ./configure --prefix=/usr --sysconfdir=/etc \
- --with-libgdiplus=installed
- make || return 1
-
- # build jay
- cd ${srcdir}/${pkgname}-${pkgver}/mcs/jay
- make || return 1
-}
-
-package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install || return 1
-
- # install jay
- cd ${srcdir}/${pkgname}-${pkgver}/mcs/jay
- make DESTDIR=${pkgdir} prefix=/usr INSTALL=../../install-sh install
- cd ${srcdir}/${pkgname}-${pkgver}
-
- # install binfmt conf file and pathes
- install -D -m644 ${srcdir}/mono.binfmt.d ${pkgdir}/usr/lib/binfmt.d/mono.conf
-
- #install license
- mkdir -p ${pkgdir}/usr/share/licenses/${pkgname}
- install -m644 mcs/MIT.X11 ${pkgdir}/usr/share/licenses/${pkgname}/
-
- #fix .pc file to be able to request mono on what it depends, fixes #go-oo build
- sed -i -e "s:#Requires:Requires:" ${pkgdir}/usr/lib/pkgconfig/mono.pc
-}
-md5sums=('411a2d9bcfc37a61eb9aedba88b40533'
- 'b9ef8a65fea497acf176cca16c1e2402')
diff --git a/testing/mono/bug434892.patch b/testing/mono/bug434892.patch
deleted file mode 100644
index d4f46f68c..000000000
--- a/testing/mono/bug434892.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- trunk/mcs/class/System.Web.Services/System.Web.Services.Description/BasicProfileChecker.cs 2008/07/01 20:17:46 107006
-+++ trunk/mcs/class/System.Web.Services/System.Web.Services.Description/BasicProfileChecker.cs 2008/10/28 09:32:46 117243
-@@ -177,7 +177,7 @@
- foreach (OperationMessage om in op.Messages) {
- Message msg = ctx.Services.GetMessage (om.Message);
- foreach (MessagePart part in msg.Parts)
-- parts.Add (part,part);
-+ parts [part] = part; // do not use Add() - there could be the same MessagePart instance.
- }
- }
-
diff --git a/testing/mono/mini_amd64.patch b/testing/mono/mini_amd64.patch
deleted file mode 100644
index f8685c337..000000000
--- a/testing/mono/mini_amd64.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- mono/mini/mini-amd64.c 2009-03-19 21:08:18 UTC (rev 129824)
-+++ mono/mini/mini-amd64.c 2009-03-19 21:09:53 UTC (rev 129825)
-@@ -1009,7 +1009,7 @@
- locals_size += mono_type_size (ins->inst_vtype, &ialign);
- }
-
-- if ((cfg->num_varinfo > 10000) || (locals_size >= (1 << 15))) {
-+ if ((cfg->num_varinfo > 5000) || (locals_size >= (1 << 15)) || (header->code_size > 110000)) {
- /* Avoid hitting the stack_alloc_size < (1 << 16) assertion in emit_epilog () */
- cfg->arch.omit_fp = FALSE;
- }
-
-
diff --git a/testing/mono/mono.binfmt.d b/testing/mono/mono.binfmt.d
deleted file mode 100644
index 3075b0dc5..000000000
--- a/testing/mono/mono.binfmt.d
+++ /dev/null
@@ -1 +0,0 @@
-:CLR:M::MZ::/usr/bin/mono:
diff --git a/testing/nepomuk-core/regression-crash.patch b/testing/nepomuk-core/regression-crash.patch
deleted file mode 100644
index a683c133b..000000000
--- a/testing/nepomuk-core/regression-crash.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-commit 804e54f83ade8a377d392d350981ead07f60a9d3
-Author: David Faure <faure@kde.org>
-Date: Tue Oct 2 20:27:03 2012 +0200
-
- Fix crash when watchUserLimitReached() leads to deleting the KInotify instance
-
- ... which emitted the signal. So don't use a direct delete.
-
- BUG: 307388
- FIXED-IN: 4.9.3
-
-diff --git a/services/filewatch/nepomukfilewatch.cpp b/services/filewatch/nepomukfilewatch.cpp
-index 9fd5d9c..94db504 100644
---- a/services/filewatch/nepomukfilewatch.cpp
-+++ b/services/filewatch/nepomukfilewatch.cpp
-@@ -323,7 +323,8 @@ void Nepomuk2::FileWatch::connectToKDirWatch()
- void Nepomuk2::FileWatch::slotInotifyWatchUserLimitReached()
- {
- // we do it the brutal way for now hoping with new kernels and defaults this will never happen
-- delete m_dirWatch;
-+ // Delete the KInotify and switch to KDirNotify dbus signals
-+ m_dirWatch->deleteLater();
- m_dirWatch = 0;
- connectToKDirWatch();
- }
diff --git a/testing/net-snmp/PKGBUILD b/testing/net-snmp/PKGBUILD
deleted file mode 100644
index 3bcad6c09..000000000
--- a/testing/net-snmp/PKGBUILD
+++ /dev/null
@@ -1,60 +0,0 @@
-# $Id: PKGBUILD 168010 2012-10-05 06:54:12Z eric $
-# Maintainer:
-# Contributor: Dale Blount <dale@archlinux.org>
-
-pkgname=net-snmp
-pkgver=5.7.1
-pkgrel=4
-pkgdesc="A suite of applications used to implement SNMP v1, SNMP v2c and SNMP v3 using both IPv4 and IPv6"
-arch=('i686' 'x86_64')
-url="http://www.net-snmp.org/"
-license=('BSD')
-depends=('openssl' 'libnl' 'pciutils')
-makedepends=('python2-distribute')
-optdepends=('perl-term-readkey: for snmpcheck application'
- 'perl-tk: for snmpcheck and tkmib applications'
- 'python2: for the python modules')
-provides=('ucd-snmp')
-backup=('etc/conf.d/snmpd')
-options=('!libtool' '!makeflags' '!emptydirs')
-source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.asc}
- snmpd.confd snmpd.rc snmpd.service libnl32.patch)
-sha1sums=('ddb82ce1112ef0642869d3c8d7c7e585f151849a'
- '2bdc2839ce09d7daa608cd54687fa8beb47ed907'
- 'cf811da9e57bbca34d8e2a3c358bb3bfc0c2b33b'
- '90600c0141eed10d6e3ca3ccc97ad8dda15c2112'
- 'f59ddc049c1c689f04e68c3c7cd8b8e301df3158'
- '74a9848b95f63378eb1753fc309d2b74de5afb0f')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- # http://sourceforge.net/tracker/index.php?func=detail&aid=3250304&group_id=12694&atid=112694
- patch -Np1 -i "$srcdir/libnl32.patch"
- autoreconf -f -i
-
- sed -i -e "s:\(install --basedir=\$\$dir\):\1 --root='${pkgdir}':" Makefile.in
- PYTHONPROG=/usr/bin/python2 ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --enable-ucd-snmp-compatibility \
- --enable-ipv6 \
- --with-python-modules \
- --with-default-snmp-version="3" \
- --with-sys-contact="root@localhost" \
- --with-sys-location="Unknown" \
- --with-logfile="/var/log/snmpd.log" \
- --with-mib-modules="host misc/ipfwacc ucd-snmp/diskio tunnel ucd-snmp/dlmod" \
- --with-persistent-directory="/var/net-snmp" \
- --disable-static
- make NETSNMP_DONT_CHECK_VERSION=1
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" INSTALL_PREFIX="${pkgdir}" INSTALLDIRS=vendor install
- install -D -m755 "${srcdir}/snmpd.rc" "${pkgdir}/etc/rc.d/snmpd"
- install -D -m644 "${srcdir}/snmpd.confd" "${pkgdir}/etc/conf.d/snmpd"
- install -D -m644 "${srcdir}/snmpd.service" "${pkgdir}/usr/lib/systemd/system/snmpd.service"
- install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
diff --git a/testing/net-snmp/libnl32.patch b/testing/net-snmp/libnl32.patch
deleted file mode 100644
index d93d7ef67..000000000
--- a/testing/net-snmp/libnl32.patch
+++ /dev/null
@@ -1,80 +0,0 @@
-diff -u -r net-snmp-5.7.1/agent/mibgroup/mibII/tcpTable.c net-snmp-5.7.1-libnl32/agent/mibgroup/mibII/tcpTable.c
---- net-snmp-5.7.1/agent/mibgroup/mibII/tcpTable.c 2011-09-28 06:53:47.000000000 +0200
-+++ net-snmp-5.7.1-libnl32/agent/mibgroup/mibII/tcpTable.c 2012-02-09 20:02:49.136022132 +0100
-@@ -566,8 +566,9 @@
- static int
- tcpTable_load_netlink(void)
- {
-+ int err;
- /* TODO: perhaps use permanent nl handle? */
-- struct nl_handle *nl = nl_handle_alloc();
-+ struct nl_sock *nl = nl_socket_alloc();
-
- if (nl == NULL) {
- DEBUGMSGTL(("mibII/tcpTable", "Failed to allocate netlink handle\n"));
-@@ -575,10 +576,10 @@
- return -1;
- }
-
-- if (nl_connect(nl, NETLINK_INET_DIAG) < 0) {
-- DEBUGMSGTL(("mibII/tcpTable", "Failed to connect to netlink: %s\n", nl_geterror()));
-- snmp_log(LOG_ERR, "snmpd: Couldn't connect to netlink: %s\n", nl_geterror());
-- nl_handle_destroy(nl);
-+ if ((err = nl_connect(nl, NETLINK_INET_DIAG)) < 0) {
-+ DEBUGMSGTL(("mibII/tcpTable", "Failed to connect to netlink: %s\n", nl_geterror(err)));
-+ snmp_log(LOG_ERR, "snmpd: Couldn't connect to netlink: %s\n", nl_geterror(err));
-+ nl_socket_free(nl);
- return -1;
- }
-
-@@ -590,10 +591,10 @@
- struct nl_msg *nm = nlmsg_alloc_simple(TCPDIAG_GETSOCK, NLM_F_ROOT|NLM_F_MATCH|NLM_F_REQUEST);
- nlmsg_append(nm, &req, sizeof(struct inet_diag_req), 0);
-
-- if (nl_send_auto_complete(nl, nm) < 0) {
-- DEBUGMSGTL(("mibII/tcpTable", "nl_send_autocomplete(): %s\n", nl_geterror()));
-- snmp_log(LOG_ERR, "snmpd: nl_send_autocomplete(): %s\n", nl_geterror());
-- nl_handle_destroy(nl);
-+ if ((err = nl_send_auto_complete(nl, nm)) < 0) {
-+ DEBUGMSGTL(("mibII/tcpTable", "nl_send_autocomplete(): %s\n", nl_geterror(err)));
-+ snmp_log(LOG_ERR, "snmpd: nl_send_autocomplete(): %s\n", nl_geterror(err));
-+ nl_socket_free(nl);
- return -1;
- }
- nlmsg_free(nm);
-@@ -604,9 +605,9 @@
-
- while (running) {
- if ((len = nl_recv(nl, &peer, &buf, NULL)) <= 0) {
-- DEBUGMSGTL(("mibII/tcpTable", "nl_recv(): %s\n", nl_geterror()));
-- snmp_log(LOG_ERR, "snmpd: nl_recv(): %s\n", nl_geterror());
-- nl_handle_destroy(nl);
-+ DEBUGMSGTL(("mibII/tcpTable", "nl_recv(): %s\n", nl_geterror(len)));
-+ snmp_log(LOG_ERR, "snmpd: nl_recv(): %s\n", nl_geterror(len));
-+ nl_socket_free(nl);
- return -1;
- }
-
-@@ -655,7 +656,7 @@
- free(buf);
- }
-
-- nl_handle_destroy(nl);
-+ nl_socket_free(nl);
-
- if (tcp_head) {
- DEBUGMSGTL(("mibII/tcpTable", "Loaded TCP Table using netlink\n"));
-diff -u -r net-snmp-5.7.1/configure.d/config_os_libs2 net-snmp-5.7.1-libnl32/configure.d/config_os_libs2
---- net-snmp-5.7.1/configure.d/config_os_libs2 2011-09-28 06:53:47.000000000 +0200
-+++ net-snmp-5.7.1-libnl32/configure.d/config_os_libs2 2012-02-09 20:10:44.282165275 +0100
-@@ -224,8 +224,9 @@
- if test "x$with_nl" != "xno"; then
- case $target_os in
- linux*) # Check for libnl (linux)
-+ CPPFLAGS="$CPPFLAGS $(pkg-config --cflags-only-I libnl-3.0)"
- NETSNMP_SEARCH_LIBS(
-- nl_connect, nl,
-+ nl_connect, nl-3,
- [AC_CHECK_HEADERS(netlink/netlink.h)],,, LMIBLIBS)
- ;;
- esac
diff --git a/testing/net-snmp/snmpd.confd b/testing/net-snmp/snmpd.confd
deleted file mode 100644
index 926b09bbf..000000000
--- a/testing/net-snmp/snmpd.confd
+++ /dev/null
@@ -1,5 +0,0 @@
-#
-# Parameters to be passed to snmpd
-#
-SNMPD_ARGS=""
-
diff --git a/testing/net-snmp/snmpd.rc b/testing/net-snmp/snmpd.rc
deleted file mode 100644
index b00c09f4f..000000000
--- a/testing/net-snmp/snmpd.rc
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/snmpd
-
-PID=`pidof -o %PPID /usr/sbin/snmpd`
-case "$1" in
- start)
- stat_busy "Starting Net-SNMP"
- [ -z "$PID" ] && /usr/sbin/snmpd $SNMPD_ARGS
- if [ $? -gt 0 ]; then
- stat_fail
- else
- echo $PID > /var/run/snmpd.pid
- add_daemon snmpd
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping Net-SNMP"
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm /var/run/snmpd.pid
- rm_daemon snmpd
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 2
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
diff --git a/testing/net-snmp/snmpd.service b/testing/net-snmp/snmpd.service
deleted file mode 100644
index 111a8d6a9..000000000
--- a/testing/net-snmp/snmpd.service
+++ /dev/null
@@ -1,11 +0,0 @@
-[Unit]
-Description=Simple Network Management Protocol (SNMP) Daemon
-After=syslog.target network.target
-
-[Service]
-Type=forking
-ExecStart=/usr/sbin/snmpd
-ExecReload=/bin/kill -HUP $MAINPID
-
-[Install]
-WantedBy=multi-user.target
diff --git a/testing/nfs-utils/PKGBUILD b/testing/nfs-utils/PKGBUILD
deleted file mode 100644
index 2392879c2..000000000
--- a/testing/nfs-utils/PKGBUILD
+++ /dev/null
@@ -1,105 +0,0 @@
-# $Id: PKGBUILD 168633 2012-10-13 16:48:28Z thomas $
-# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
-# Contributor: John Proctor <jproctor@prium.net>
-# Contributor: dibblethewrecker <dibblethewrecker.at.jiwe.org>
-# Contributor: abelstr <abel@pinklf.eu>
-# Contributor: Marco Lima <cipparello gmail com>
-
-pkgname=nfs-utils
-pkgver=1.2.6
-pkgrel=2
-pkgdesc="Support programs for Network File Systems"
-arch=('i686' 'x86_64')
-url='http://nfs.sourceforge.net'
-license=('GPL')
-backup=(etc/{exports,idmapd.conf,nfsmount.conf} etc/conf.d/{nfs-common.conf,nfs-server.conf})
-depends=('glibc' 'e2fsprogs' 'rpcbind' 'libtirpc>=0.2.1' 'librpcsecgss>=0.19-2' 'nfsidmap' 'libevent>=2.0.10' 'libgssglue' 'device-mapper')
-makedepends=('pkgconfig' 'autoconf' 'automake')
-source=(http://downloads.sourceforge.net/project/nfs/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.bz2
- nfs-common
- nfs-common.conf
- nfs-server
- nfs-server.conf
- exports
- idmapd.conf
- start-statd.patch
- nfs
- nfs-utils-1.1.4-mtab-sym.patch
- nfs-utils-1.1.4-no-exec.patch
- rpc-gssd.service
- rpc-mountd.service
- rpc-svcgssd.service
- rpc-idmapd.service
- rpc-statd.service
- nfsd.service
- var-lib-nfs-rpc_pipefs.mount
- proc-fs-nfsd.mount
- blkmapd.service
- nfs-utils.conf)
-install=nfs-utils.install
-md5sums=('8be543ca270c2234ff18f8c8d35e0d37'
- 'dd0d65fc6e8f422fa12520813098264b'
- 'f73f197a16b02c3e248488ec35c4cf43'
- 'e619f18354ff958ed624d05d08853d8f'
- '9cef69bc686cc5dcac23fbb51450747d'
- 'ff585faf410a62c4333a027c50b56bae'
- 'eb4f4027fab6fc1201f1ca04f5954c76'
- 'e9144277a89a620d9bc80413158a7d27'
- 'f5e7bba09a46c5c5d7007cac6eff9df5'
- '7674106eaaa4c149bccd4f05fe3604e9'
- '4f4827dfc93008dfadd0a530ad0872b2'
- '3694619813cebc5b4502b58f1992b442'
- '965311784d49a7d126d512cadbe91deb'
- 'e05705d9ccccaeaeb1ecaee20adc05bc'
- '359d84a85f8781dc3f45f4cf1dbe4b53'
- 'c82ef7b238efe62af3d5e263e1ba1c5c'
- '5d33d2e754fd37280365b287603bac90'
- '1cd65909fa0983047f3f06a3ab352401'
- '02a34835aa077146a90eb7d191e612d0'
- '8ffc2ebe932d29efe17d6f3f23d5b975'
- '8ac484023d786766d287ccbe878ae4ba')
-
-build() {
- cd $srcdir/${pkgname}-${pkgver}
- patch -Np1 -i ../nfs-utils-1.1.4-mtab-sym.patch
- #patch -Np1 -i ../nfs-utils-1.1.4-no-exec.patch
- # arch specific patch
- patch -Np0 -i $srcdir/start-statd.patch
-
- ./configure --prefix=/usr --enable-nfsv4 --enable-nfsv41 --enable-gss \
- --without-tcp-wrappers --with-statedir=/var/lib/nfs \
- --enable-ipv6 --sysconfdir=/etc --enable-libmount-mount \
- --enable-mountconfig
-
- make
-}
-
-package() {
- cd $srcdir/${pkgname}-${pkgver}
- # fix make install
- mkdir -p $pkgdir/sbin
- make DESTDIR=$pkgdir install
-
- # support python2 (FS#25120)
- sed -i '1s/python$/python2/' "$pkgdir"/usr/sbin/{nfsiostat,mountstats}
-
- # NFS & NFSv4 init scripts
- install -D -m 755 ../nfs-common "$pkgdir/"etc/rc.d/nfs-common
- install -D -m 755 ../nfs-server "$pkgdir/"etc/rc.d/nfs-server
- # Configuration
- install -D -m 644 ../exports "$pkgdir/"etc/exports
- install -D -m 644 ../idmapd.conf "$pkgdir/"etc/idmapd.conf
- install -D -m 644 ../nfs-common.conf "$pkgdir/"etc/conf.d/nfs-common.conf
- install -D -m 644 ../nfs-server.conf "$pkgdir/"etc/conf.d/nfs-server.conf
- install -D -m 644 ../nfs "$pkgdir/"etc/conf.d/nfs
- install -D -m 644 utils/mount/nfsmount.conf "$pkgdir/"etc/nfsmount.conf
- # systemd files
- for i in ${srcdir}/*.{service,mount}; do
- install -D -m 644 $i "$pkgdir/usr/lib/systemd/system/${i##*/}"
- done
- install -D -m 644 ../nfs-utils.conf "$pkgdir/"usr/lib/modules-load.d/nfs-utils.conf
- # directories
- mkdir "$pkgdir/"etc/exports.d
- mkdir "$pkgdir/"var/lib/nfs/rpc_pipefs
- mkdir "$pkgdir/"var/lib/nfs/v4recovery
-}
diff --git a/testing/nfs-utils/blkmapd.service b/testing/nfs-utils/blkmapd.service
deleted file mode 100644
index 16cb68bbb..000000000
--- a/testing/nfs-utils/blkmapd.service
+++ /dev/null
@@ -1,11 +0,0 @@
-[Unit]
-Description=pNFS block layout mapping daemon
-After=var-lib-nfs-rpc_pipefs.mount nfsd.service
-Requires=var-lib-nfs-rpc_pipefs.mount
-
-[Service]
-Type=forking
-ExecStart=/usr/sbin/blkmapd
-
-[Install]
-WantedBy=multi-user.target
diff --git a/testing/nfs-utils/exports b/testing/nfs-utils/exports
deleted file mode 100644
index 8f4aac598..000000000
--- a/testing/nfs-utils/exports
+++ /dev/null
@@ -1,15 +0,0 @@
-# /etc/exports
-#
-# List of directories exported to NFS clients. See exports(5).
-# Use exportfs -arv to reread.
-#
-# Example for NFSv2 and NFSv3:
-# /srv/home hostname1(rw,sync) hostname2(ro,sync)
-#
-# Example for NFSv4:
-# /srv/nfs4 hostname1(rw,sync,fsid=0)
-# /srv/nfs4/home hostname1(rw,sync,nohide)
-# Using Kerberos and integrity checking:
-# /srv/nfs4 gss/krb5i(rw,sync,fsid=0,crossmnt)
-# /srv/nfs4/home gss/krb5i(rw,sync,nohide)
-#
diff --git a/testing/nfs-utils/idmapd.conf b/testing/nfs-utils/idmapd.conf
deleted file mode 100644
index b1b23afe9..000000000
--- a/testing/nfs-utils/idmapd.conf
+++ /dev/null
@@ -1,14 +0,0 @@
-[General]
-
-Verbosity = 0
-Pipefs-Directory = /var/lib/nfs/rpc_pipefs
-Domain = localdomain
-
-[Mapping]
-
-Nobody-User = nobody
-Nobody-Group = nobody
-
-[Translation]
-
-Method = nsswitch
diff --git a/testing/nfs-utils/nfs b/testing/nfs-utils/nfs
deleted file mode 100644
index 2d33cf3d4..000000000
--- a/testing/nfs-utils/nfs
+++ /dev/null
@@ -1,40 +0,0 @@
-#
-# Optinal options passed to rquotad
-RPCRQUOTADOPTS=""
-#
-# Optional arguments passed to in-kernel lockd
-#LOCKDARG=
-# TCP port rpc.lockd should listen on.
-#LOCKD_TCPPORT=32803
-# UDP port rpc.lockd should listen on.
-#LOCKD_UDPPORT=32769
-#
-# Optional arguments passed to rpc.nfsd. See rpc.nfsd(8)
-RPCNFSDARGS=""
-# Number of nfs server processes to be started.
-# The default is 8.
-RPCNFSDCOUNT=8
-# Set V4 grace period in seconds
-#NFSD_V4_GRACE=90
-#
-# Optional arguments passed to rpc.mountd. See rpc.mountd(8)
-RPCMOUNTDOPTS=""
-#
-# Optional arguments passed to rpc.statd. See rpc.statd(8)
-STATDARG=""
-#
-# Optional arguments passed to rpc.idmapd. See rpc.idmapd(8)
-RPCIDMAPDARGS=""
-#
-# Optional arguments passed to rpc.gssd. See rpc.gssd(8)
-RPCGSSDARGS=""
-#
-# Optional arguments passed to rpc.svcgssd. See rpc.svcgssd(8)
-RPCSVCGSSDARGS=""
-#
-# To enable RDMA support on the server by setting this to
-# the port the server should listen on
-#RDMA_PORT=20049
-#
-# Optional arguments passed to blkmapd. See blkmapd(8)
-BLKMAPDARGS=""
diff --git a/testing/nfs-utils/nfs-common b/testing/nfs-utils/nfs-common
deleted file mode 100644
index 7b16b4b3c..000000000
--- a/testing/nfs-utils/nfs-common
+++ /dev/null
@@ -1,315 +0,0 @@
-#!/bin/bash
-
-daemon_name=nfs-common
-
-NEED_STATD=
-STATD_OPTS=
-NEED_IDMAPD=
-IDMAPD_OPTS=
-NEED_GSSD=
-GSSD_OPTS=
-PIPEFS_MOUNTPOINT=
-PIPEFS_MOUNTOPTS=
-
-# rpc.statd daemon & binary location
-STATD_DAEMON_NAME=rpc.statd
-STATD="/usr/sbin/rpc.statd"
-
-# rpc.idmapd daemon & binary location
-IDMAPD_DAEMON_NAME=rpc.idmapd
-IDMAPD="/usr/sbin/rpc.idmapd"
-
-# rpc.gssd daemon & binary location
-GSSD_DAEMON_NAME=rpc.gssd
-GSSD="/usr/sbin/rpc.gssd"
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/$daemon_name.conf
-
-# Default mountpoint and options for rpc_pipefs filesystem
-[ -z "$PIPEFS_MOUNTPOINT" ] && PIPEFS_MOUNTPOINT="/var/lib/nfs/rpc_pipefs"
-[ -z "$PIPEFS_MOUNTOPTS" ] && PIPEFS_MOUNTOPTS="defaults"
-
-# Parse the fstab file, and determine whether we need idmapd and gssd. (The
-# /etc/conf.d/nfs-common settings, if any, will override our autodetection.)
-AUTO_NEED_IDMAPD=no
-AUTO_NEED_GSSD=no
-
-if [ -f /etc/fstab ]; then
- exec 9<&0 </etc/fstab
-
- while read DEV MTPT FSTYPE OPTS REST; do
- if [ "$FSTYPE" = "nfs4" ]; then
- AUTO_NEED_IDMAPD=yes
- fi
- case "$OPTS" in
- sec=krb5|*,sec=krb5|sec=krb5,*|*,sec=krb5i,*|sec=krb5i|*,sec=krb5i|sec=krb5i,*|*,sec=krb5i,*|sec=krb5p|*,sec=krb5p|sec=krb5p,*|*,sec=krb5p,*)
- AUTO_NEED_GSSD=yes
- ;;
- esac
- done
-
- exec 0<&9 9<&-
-fi
-
-# We also need idmapd if we run an NFSv4 server. It's fairly difficult
-# to autodetect whether there are NFSv4 exports or not, and idmapd is not a
-# particularily heavy daemon, so we auto-enable it if we find an /etc/exports
-# file. This does not mean that there are NFSv4 or other mounts active (or
-# even that nfs-kernel-server is installed), but it matches what the "start"
-# condition in nfs-kernel-server's init script does, which has a value in
-# itself.
-if [ -f /etc/exports ] && grep -q '^[[:space:]]*[^#]*/' /etc/exports; then
- AUTO_NEED_IDMAPD=yes
-fi
-
-case "$NEED_STATD" in
- yes|no)
- ;;
- *)
- NEED_STATD=yes
- ;;
-esac
-
-case "$NEED_IDMAPD" in
- yes|no)
- ;;
- *)
- NEED_IDMAPD=$AUTO_NEED_IDMAPD
- ;;
-esac
-
-case "$NEED_GSSD" in
- yes|no)
- ;;
- *)
- NEED_GSSD=$AUTO_NEED_GSSD
- ;;
-esac
-
-do_modprobe() {
- if [ -x /sbin/modprobe -a -f /proc/modules ]; then
- modprobe -q "$1" || true
- fi
-}
-
-do_mount() {
- if ! grep -E "$1\$" /proc/filesystems &> /dev/null ; then
- return 1
- fi
-
- if grep -vw "$1" /proc/mounts &> /dev/null ; then
- if ! mountpoint -q "$2" ; then
- mount -t "$1" "$1" "$2" -o "$3"
- return
- fi
- fi
- return 0
-}
-
-do_umount() {
- if mountpoint -q "$1" ; then
- umount "$1"
- fi
- return 0
-}
-
-get_pid() {
- pidof -o %PPID "$1"
-}
-
-case "$1" in
- start)
- ck_daemon rpcbind && { echo -n "Start rpcbind first." >&2; stat_die; }
- rc=0
- if [ "$NEED_STATD" = yes ]; then
- stat_busy "Starting $STATD_DAEMON_NAME daemon"
- PID=$(get_pid $STATD)
- if [ -z "$PID" ]; then
- [ -f /var/run/$STATD_DAEMON_NAME.pid ] && rm -f /var/run/$STATD_DAEMON_NAME.pid
- # RUN
- $STATD $STATD_OPTS
- #
- rc=$(($rc+$?))
- if [ $rc -gt 0 ]; then
- stat_fail
- exit $rc
- else
- echo $(get_pid $STATD) > /var/run/$STATD_DAEMON_NAME.pid
- stat_done
- fi
- else
- stat_fail
- exit 1
- fi
- # Run sm-notify
- /usr/sbin/sm-notify $SMNOTIFY_OPTS
- fi
-
- if [ "$NEED_IDMAPD" = yes ] || [ "$NEED_GSSD" = yes ]; then
- stat_busy "Mounting pipefs filesystem"
- do_modprobe sunrpc
- do_modprobe nfs
- do_modprobe nfsd
- do_mount rpc_pipefs "$PIPEFS_MOUNTPOINT" "$PIPEFS_MOUNTOPTS"
- rc=$(($rc+$?))
- if [ $rc -gt 0 ]; then
- stat_fail
- exit $rc
- else
- stat_done
- fi
-
- if [ "$NEED_IDMAPD" = yes ]; then
- stat_busy "Starting $IDMAPD_DAEMON_NAME daemon"
- PID=$(get_pid $IDMAPD)
- if [ -z "$PID" ]; then
- [ -f /var/run/$IDMAPD_DAEMON_NAME.pid ] && rm -f /var/run/$IDMAPD_DAEMON_NAME.pid
- # RUN
- $IDMAPD $IDMAPD_OPTS
- #
- rc=$(($rc+$?))
- if [ $rc -gt 0 ]; then
- stat_fail
- exit $rc
- else
- echo $(get_pid $IDMAPD) > /var/run/$IDMAPD_DAEMON_NAME.pid
- stat_done
- fi
- else
- stat_fail
- exit 1
- fi
- fi
-
- if [ "$NEED_GSSD" = yes ]; then
- do_modprobe rpcsec_gss_krb5
- stat_busy "Starting $GSSD_DAEMON_NAME daemon"
- PID=$(get_pid $GSSD)
- if [ -z "$PID" ]; then
- [ -f /var/run/$GSSD_DAEMON_NAME.pid ] && rm -f /var/run/$GSSD_DAEMON_NAME.pid
- # RUN
- $GSSD $GSSD_OPTS
- #
- rc=$(($rc+$?))
- if [ $rc -gt 0 ]; then
- stat_fail
- exit $rc
- else
- echo $(get_pid $GSSD) > /var/run/$GSSD_DAEMON_NAME.pid
- stat_done
- fi
- else
- stat_fail
- exit 1
- fi
- fi
- fi
-
- add_daemon $daemon_name
- ;;
-
- stop)
- rc=0
- if [ "$NEED_IDMAPD" = yes ] || [ "$NEED_GSSD" = yes ]; then
-
- if [ "$NEED_GSSD" = yes ]; then
- stat_busy "Stopping $GSSD_DAEMON_NAME daemon"
- PID=$(get_pid $GSSD)
- # KILL
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- #
- rc=$(($rc+$?))
- if [ $rc -gt 0 ]; then
- stat_fail
- exit $rc
- else
- rm -f /var/run/$GSSD_DAEMON_NAME.pid &> /dev/null
- stat_done
- fi
- fi
-
- if [ "$NEED_IDMAPD" = yes ]; then
- stat_busy "Stopping $IDMAPD_DAEMON_NAME daemon"
- PID=$(get_pid $IDMAPD)
- # KILL
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- #
- rc=$(($rc+$?))
- if [ $rc -gt 0 ]; then
- stat_fail
- exit $rc
- else
- rm -f /var/run/$IDMAPD_DAEMON_NAME.pid &> /dev/null
- stat_done
- fi
- fi
- do_umount "$PIPEFS_MOUNTPOINT" 2>/dev/null || true
- fi
-
- if [ "$NEED_STATD" = yes ]; then
- stat_busy "Stopping $STATD_DAEMON_NAME daemon"
- PID=$(get_pid $STATD)
- # KILL
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- #
- rc=$(($rc+$?))
- if [ $rc -gt 0 ]; then
- stat_fail
- exit $rc
- else
- rm -f /var/run/$STATD_DAEMON_NAME.pid &> /dev/null
- stat_done
- fi
- fi
-
- rm_daemon $daemon_name
- ;;
-
- status)
- stat_busy "Checking $daemon_name status";
- ck_status $daemon_name
-
- if [ "$NEED_STATD" = yes ]; then
- stat_busy "Daemon $STATD_DAEMON_NAME running"
- PID=$(get_pid $STATD)
- if [ -z "$PID" ]; then
- stat_fail
- else
- stat_done
- fi
- fi
-
- if [ "$NEED_GSSD" = yes ]; then
- stat_busy "Daemon $GSSD_DAEMON_NAME running"
- PID=$(get_pid $GSSD)
- if [ -z "$PID" ]; then
- stat_fail
- else
- stat_done
- fi
- fi
-
- if [ "$NEED_IDMAPD" = yes ]; then
- stat_busy "Daemon $IDMAPD_DAEMON_NAME running"
- PID=$(get_pid $IDMAPD)
- if [ -z "$PID" ]; then
- stat_fail
- else
- stat_done
- fi
- fi
- echo
- ;;
-
- restart)
- $0 stop
- sleep 3
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|status|restart}"
-esac
-exit 0
-
diff --git a/testing/nfs-utils/nfs-common.conf b/testing/nfs-utils/nfs-common.conf
deleted file mode 100644
index 12466b3e5..000000000
--- a/testing/nfs-utils/nfs-common.conf
+++ /dev/null
@@ -1,40 +0,0 @@
-# Parameters to be passed to nfs-common (nfs clients & server) init script.
-#
-
-# If you do not set values for the NEED_ options, they will be attempted
-# autodetected; this should be sufficient for most people. Valid alternatives
-# for the NEED_ options are "yes" and "no".
-
-# Do you want to start the statd daemon? It is not needed for NFSv4.
-NEED_STATD=""
-
-# Options to pass to rpc.statd.
-# See rpc.statd(8) for more details.
-# N.B. statd normally runs on both client and server, and run-time
-# options should be specified accordingly.
-# STATD_OPTS="-p 32765 -o 32766"
-STATD_OPTS=""
-
-# Options to pass to sm-notify
-# e.g. SMNOTIFY_OPTS="-p 32764"
-SMNOTIFY_OPTS=""
-
-# Do you want to start the idmapd daemon? It is only needed for NFSv4.
-NEED_IDMAPD=""
-
-# Options to pass to rpc.idmapd.
-# See rpc.idmapd(8) for more details.
-IDMAPD_OPTS=""
-
-# Do you want to start the gssd daemon? It is required for Kerberos mounts.
-NEED_GSSD=""
-
-# Options to pass to rpc.gssd.
-# See rpc.gssd(8) for more details.
-GSSD_OPTS=""
-
-# Where to mount rpc_pipefs filesystem; the default is "/var/lib/nfs/rpc_pipefs".
-PIPEFS_MOUNTPOINT=""
-
-# Options used to mount rpc_pipefs filesystem; the default is "defaults".
-PIPEFS_MOUNTOPTS=""
diff --git a/testing/nfs-utils/nfs-server b/testing/nfs-utils/nfs-server
deleted file mode 100644
index 6aa609d8c..000000000
--- a/testing/nfs-utils/nfs-server
+++ /dev/null
@@ -1,299 +0,0 @@
-#!/bin/bash
-
-daemon_name=nfs-server
-
-NFSD_COUNT=
-NFSD_OPTS=
-NEED_SVCGSSD=
-SVCGSSD_OPTS=
-MOUNTD_OPTS=
-PROCNFSD_MOUNTPOINT=
-PROCNFSD_MOUNTOPTS=
-
-# rpc.nfsd daemon & binary location
-NFSD_PROCESS_NAME=nfsd
-NFSD_DAEMON_NAME=rpc.nfsd
-NFSD="/usr/sbin/rpc.nfsd"
-
-# rpc.svcgssd daemon & binary location
-SVCGSSD_DAEMON_NAME=rpc.svcgssd
-SVCGSSD="/usr/sbin/rpc.svcgssd"
-
-# rpc.idmapd daemon & binary location
-IDMAPD_DAEMON_NAME=rpc.idmapd
-IDMAPD="/usr/sbin/rpc.idmapd"
-
-# rpc.mountd daemon & binary location
-MOUNTD_DAEMON_NAME=rpc.mountd
-MOUNTD="/usr/sbin/rpc.mountd"
-
-# exortfs binary location
-EXPORTFS="/usr/sbin/exportfs"
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/$daemon_name.conf
-
-# Default number of nfsd servers
-[ -z "$NFSD_COUNT" ] && NFSD_COUNT=8
-
-# Default mountpoint and options for nfsd filesystem
-[ -z "$PROCNFSD_MOUNTPOINT" ] && PROCNFSD_MOUNTPOINT="/proc/fs/nfsd"
-[ -z "$PROCNFSD_MOUNTOPTS" ] && PROCNFSD_MOUNTOPTS="rw,nodev,noexec,nosuid"
-
-case "$NEED_SVCGSSD" in
- yes|no)
- ;;
- *)
- NEED_SVCGSSD=no
- ;;
-esac
-
-do_modprobe() {
- if [ -x /sbin/modprobe -a -f /proc/modules ]; then
- modprobe -q "$1" || true
- fi
-}
-
-do_mount() {
- if ! grep -E "$1\$" /proc/filesystems &> /dev/null ; then
- return 1
- fi
-
- if grep -vw "$1" /proc/mounts &> /dev/null ; then
- if ! mountpoint -q "$2" ; then
- mount -t "$1" "$1" "$2" -o "$3"
- return
- fi
- fi
- return 0
-}
-
-do_umount() {
- if mountpoint -q "$1" ; then
- umount "$1"
- fi
- return 0
-}
-
-get_pid() {
- pidof -o %PPID "$1"
-}
-
-case "$1" in
- start)
- ck_daemon nfs-common && { echo -n "Start nfs-common first." >&2; stat_die; }
- rc=0
- stat_busy "Mounting nfsd filesystem"
- do_modprobe nfsd
- do_mount nfsd "$PROCNFSD_MOUNTPOINT" "$PROCNFSD_MOUNTOPTS"
- rc=$(($rc+$?))
- if [ $rc -gt 0 ]; then
- stat_fail
- exit $rc
- else
- stat_done
- fi
-
- stat_busy "Exporting all directories"
- $EXPORTFS -r
- rc=$(($rc+$?))
- if [ $rc -gt 0 ]; then
- stat_fail
- exit $rc
- else
- stat_done
- fi
-
- stat_busy "Starting $NFSD_DAEMON_NAME daemon"
- PID=$(get_pid $NFSD_PROCESS_NAME)
- if [ -z "$PID" ]; then
- [ -f /var/run/$NFSD_DAEMON_NAME.pid ] && rm -f /var/run/$NFSD_DAEMON_NAME.pid
- # RUN
- $NFSD $NFSD_OPTS $NFSD_COUNT
- #
- rc=$(($rc+$?))
- if [ $rc -gt 0 ]; then
- stat_fail
- exit $rc
- else
- echo $(get_pid $NFSD_PROCESS_NAME) > /var/run/$NFSD_DAEMON_NAME.pid
- stat_done
- fi
- else
- stat_fail
- exit 1
- fi
-
- if [ "$NEED_SVCGSSD" = yes ]; then
- do_modprobe rpcsec_gss_krb5
- stat_busy "Starting $SVCGSSD_DAEMON_NAME daemon"
- PID=$(get_pid $SVCGSSD)
- if [ -z "$PID" ]; then
- [ -f /var/run/$SVCGSSD_DAEMON_NAME.pid ] && rm -f /var/run/$SVCGSSD_DAEMON_NAME.pid
- # RUN
- $SVCGSSD $SVCGSSD_OPTS
- #
- rc=$(($rc+$?))
- if [ $rc -gt 0 ]; then
- stat_fail
- exit $rc
- else
- echo $(get_pid $SVCGSSD) > /var/run/$SVCGSSD_DAEMON_NAME.pid
- stat_done
- fi
- else
- stat_fail
- exit 1
- fi
- fi
-
- PID=$(get_pid $IDMAPD)
- [ ! -z "$PID" ] && kill -SIGHUP $IDMAPD_DAEMON_NAME &> /dev/null
-
- stat_busy "Starting $MOUNTD_DAEMON_NAME daemon"
- PID=$(get_pid $MOUNTD)
- if [ -z "$PID" ]; then
- [ -f /var/run/$MOUNTD_DAEMON_NAME.pid ] && rm -f /var/run/$MOUNTD_DAEMON_NAME.pid
- # RUN
- $MOUNTD $MOUNTD_OPTS
- #
- rc=$(($rc+$?))
- if [ $rc -gt 0 ]; then
- stat_fail
- exit $rc
- else
- echo $(get_pid $MOUNTD) > /var/run/$MOUNTD_DAEMON_NAME.pid
- stat_done
- fi
- else
- stat_fail
- exit 1
- fi
-
- add_daemon $daemon_name
- ;;
-
- stop)
- rc=0
- stat_busy "Stopping $MOUNTD_DAEMON_NAME daemon"
- PID=$(get_pid $MOUNTD)
- # KILL
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- #
- rc=$(($rc+$?))
- if [ $rc -gt 0 ]; then
- stat_fail
- exit $rc
- else
- rm -f /var/run/$MOUNTD_DAEMON_NAME.pid &> /dev/null
- stat_done
- fi
-
- if [ "$NEED_SVCGSSD" = yes ]; then
- stat_busy "Stopping $SVCGSSD_DAEMON_NAME daemon"
- PID=$(get_pid $SVCGSSD)
- # KILL
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- #
- rc=$(($rc+$?))
- if [ $rc -gt 0 ]; then
- stat_fail
- exit $rc
- else
- rm -f /var/run/$SVCGSSD_DAEMON_NAME.pid &> /dev/null
- stat_done
- fi
- fi
-
- stat_busy "Stopping $NFSD_DAEMON_NAME daemon"
- PID=$(get_pid $NFSD_PROCESS_NAME)
- # KILL (SIGINT)
- [ ! -z "$PID" ] && kill -2 $PID &> /dev/null
- #
- rc=$(($rc+$?))
- if [ $rc -gt 0 ]; then
- stat_fail
- exit $rc
- else
- sleep 1
- PID=$(get_pid $NFSD_PROCESS_NAME)
- # KILL (KILL) - just to be sure
- [ ! -z "$PID" ] && kill -9 $PID &> /dev/null
- #
- rm -f /var/run/$NFSD_DAEMON_NAME.pid &> /dev/null
- stat_done
- fi
-
- stat_busy "Unexporting all directories"
- $EXPORTFS -au
- rc=$(($rc+$?))
- if [ $rc -gt 0 ]; then
- stat_fail
- exit $rc
- else
- stat_done
- fi
-
- # flush everything out of the kernels export table
- if mountpoint -q "$PROCNFSD_MOUNTPOINT" ; then
- $EXPORTFS -f
- fi
- do_umount "$PROCNFSD_MOUNTPOINT" 2>/dev/null || true
- rm_daemon $daemon_name
- ;;
-
- status)
- stat_busy "Checking $daemon_name status";
- ck_status $daemon_name
-
- stat_busy "Daemon $NFSD_DAEMON_NAME running"
- PID=$(get_pid $NFSD_PROCESS_NAME)
- if [ -z "$PID" ]; then
- stat_fail
- else
- stat_done
- fi
-
- stat_busy "Daemon $MOUNTD_DAEMON_NAME running"
- PID=$(get_pid $MOUNTD)
- if [ -z "$PID" ]; then
- stat_fail
- else
- stat_done
- fi
-
- if [ "$NEED_SVCGSSD" = yes ]; then
- stat_busy "Daemon $SVCGSSD_DAEMON_NAME running"
- PID=$(get_pid $SVCGSSD)
- if [ -z "$PID" ]; then
- stat_fail
- else
- stat_done
- fi
- fi
- echo
- ;;
-
- reload)
- rc=0
- stat_busy "Re-exporting all directories"
- $EXPORTFS -r
- rc=$(($rc+$?))
- if [ $rc -gt 0 ]; then
- stat_fail
- exit $rc
- else
- stat_done
- fi
- ;;
-
- restart)
- $0 stop
- sleep 3
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|status|reload|restart}"
-esac
-exit 0
diff --git a/testing/nfs-utils/nfs-server.conf b/testing/nfs-utils/nfs-server.conf
deleted file mode 100644
index 581e26350..000000000
--- a/testing/nfs-utils/nfs-server.conf
+++ /dev/null
@@ -1,29 +0,0 @@
-# Parameters to be passed to nfs-server init script.
-#
-
-# Options to pass to rpc.nfsd.
-# See rpc.nfsd(8) for more details.
-NFSD_OPTS=""
-
-# Number of servers to start up; the default is 8 servers.
-NFSD_COUNT=""
-
-# Where to mount nfsd filesystem; the default is "/proc/fs/nfsd".
-PROCNFSD_MOUNTPOINT=""
-
-# Options used to mount nfsd filesystem; the default is "rw,nodev,noexec,nosuid".
-PROCNFSD_MOUNTOPTS=""
-
-# Options for rpc.mountd.
-# If you have a port-based firewall, you might want to set up
-# a fixed port here using the --port option.
-# See rpc.mountd(8) for more details.
-MOUNTD_OPTS=""
-
-# Do you want to start the svcgssd daemon? It is only required for Kerberos
-# exports. Valid alternatives are "yes" and "no"; the default is "no".
-NEED_SVCGSSD=""
-
-# Options to pass to rpc.svcgssd.
-# See rpc.svcgssd(8) for more details.
-SVCGSSD_OPTS=""
diff --git a/testing/nfs-utils/nfs-utils-1.1.4-mtab-sym.patch b/testing/nfs-utils/nfs-utils-1.1.4-mtab-sym.patch
deleted file mode 100644
index c9e60afc7..000000000
--- a/testing/nfs-utils/nfs-utils-1.1.4-mtab-sym.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-ripped from Debian
-
---- nfs-utils-1.1.4/utils/mount/fstab.c
-+++ nfs-utils-1.1.4/utils/mount/fstab.c
-@@ -57,7 +57,7 @@ mtab_does_not_exist(void) {
- return var_mtab_does_not_exist;
- }
-
--static int
-+int
- mtab_is_a_symlink(void) {
- get_mtab_info();
- return var_mtab_is_a_symlink;
---- nfs-utils-1.1.4/utils/mount/fstab.h
-+++ nfs-utils-1.1.4/utils/mount/fstab.h
-@@ -7,6 +7,7 @@
- #define _PATH_FSTAB "/etc/fstab"
- #endif
-
-+int mtab_is_a_symlink(void);
- int mtab_is_writable(void);
- int mtab_does_not_exist(void);
- void reset_mtab_info(void);
---- nfs-utils-1.1.4/utils/mount/mount.c
-+++ nfs-utils-1.1.4/utils/mount/mount.c
-@@ -230,6 +230,13 @@ create_mtab (void) {
- int flags;
- mntFILE *mfp;
-
-+ /* Avoid writing if the mtab is a symlink to /proc/mounts, since
-+ that would create a file /proc/mounts in case the proc filesystem
-+ is not mounted, and the fchmod below would also fail. */
-+ if (mtab_is_a_symlink()) {
-+ return EX_SUCCESS;
-+ }
-+
- lock_mtab();
-
- mfp = nfs_setmntent (MOUNTED, "a+");
diff --git a/testing/nfs-utils/nfs-utils-1.1.4-no-exec.patch b/testing/nfs-utils/nfs-utils-1.1.4-no-exec.patch
deleted file mode 100644
index ea50a21d8..000000000
--- a/testing/nfs-utils/nfs-utils-1.1.4-no-exec.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-ripped from Debian
-
---- nfs-utils-1.1.2/utils/mount/mount.c
-+++ nfs-utils-1.1.2/utils/mount/mount.c
-@@ -381,10 +381,6 @@
- mount_error(NULL, mount_point, ENOTDIR);
- return 1;
- }
-- if (access(mount_point, X_OK) < 0) {
-- mount_error(NULL, mount_point, errno);
-- return 1;
-- }
-
- return 0;
- }
diff --git a/testing/nfs-utils/nfs-utils.conf b/testing/nfs-utils/nfs-utils.conf
deleted file mode 100644
index 33c97b838..000000000
--- a/testing/nfs-utils/nfs-utils.conf
+++ /dev/null
@@ -1 +0,0 @@
-nfs
diff --git a/testing/nfs-utils/nfs-utils.install b/testing/nfs-utils/nfs-utils.install
deleted file mode 100644
index 7dcdf9575..000000000
--- a/testing/nfs-utils/nfs-utils.install
+++ /dev/null
@@ -1,32 +0,0 @@
-## arg 1: the new package version
-post_install() {
-cat << 'EOM'
- ==> PLEASE NOTE:
- ==> Extended configuration options for NFS (clients & server) are available in
- ==> /etc/conf.d/nfs-common.conf and in /etc/conf.d/nfs-server.conf
- ==>
- ==> Please refer to http://wiki.archlinux.org/index.php/Nfs
- ==> for further information on NFS; for NFSv4, refer to
- ==> http://wiki.archlinux.org/index.php/NFSv4
-EOM
-}
-
-## arg 1: the new package version
-## arg 2: the old package version
-post_upgrade() {
- if [ "$(vercmp $2 1.2.0-2)" -lt 0 ]; then
-cat << 'EOM'
- ==> IMPORTANT NFS UTILS CHANGES:
- ==> This is a rather important upgrade, you are going to have to change config files.
- ==> /etc/rc.conf daemons changes:
- ==> Change portmap to rpcbind
- ==> Change nfslock to nfs-common
- ==> Change nfsd to nfs-server
- ==>
- ==> Extended configuration options for NFS (clients & server) are available in:
- ==> /etc/conf.d/nfs-common
- ==> /etc/conf.d/nfs-server
- ==> Please change them to your needs.
-EOM
- fi
-}
diff --git a/testing/nfs-utils/nfsd.service b/testing/nfs-utils/nfsd.service
deleted file mode 100644
index e5481c3d1..000000000
--- a/testing/nfs-utils/nfsd.service
+++ /dev/null
@@ -1,16 +0,0 @@
-[Unit]
-Description=NFS server
-After=rpcbind.service
-Requires=rpcbind.service
-
-[Service]
-Type=oneshot
-EnvironmentFile=/etc/conf.d/nfs-server.conf
-ExecStart=/usr/sbin/rpc.nfsd $NFSD_OPTS $NFSD_COUNT
-ExecStartPost=/usr/sbin/exportfs -a
-ExecStop=/usr/sbin/rpc.nfsd 0
-ExecStopPost=/usr/sbin/exportfs -a -u
-RemainAfterExit=yes
-
-[Install]
-WantedBy=multi-user.target
diff --git a/testing/nfs-utils/proc-fs-nfsd.mount b/testing/nfs-utils/proc-fs-nfsd.mount
deleted file mode 100644
index f8664a8be..000000000
--- a/testing/nfs-utils/proc-fs-nfsd.mount
+++ /dev/null
@@ -1,8 +0,0 @@
-[Unit]
-Description=RPC Pipe File System
-DefaultDependencies=no
-
-[Mount]
-What=sunrpc
-Where=/proc/fs/nfsd
-Type=rpc_pipefs
diff --git a/testing/nfs-utils/rpc-gssd.service b/testing/nfs-utils/rpc-gssd.service
deleted file mode 100644
index da4c71307..000000000
--- a/testing/nfs-utils/rpc-gssd.service
+++ /dev/null
@@ -1,13 +0,0 @@
-[Unit]
-Description=RPC GSS-API client-side daemon
-After=rpcbind.service var-lib-nfs-rpc_pipefs.mount
-Requires=rpcbind.service var-lib-nfs-rpc_pipefs.mount
-Before=remote-fs-pre.target
-
-[Service]
-Type=forking
-EnvironmentFile=/etc/conf.d/nfs-common.conf
-ExecStart=/usr/sbin/rpc.gssd $GSSD_OPTS
-
-[Install]
-WantedBy=multi-user.target
diff --git a/testing/nfs-utils/rpc-idmapd.service b/testing/nfs-utils/rpc-idmapd.service
deleted file mode 100644
index 7785c1bd5..000000000
--- a/testing/nfs-utils/rpc-idmapd.service
+++ /dev/null
@@ -1,13 +0,0 @@
-[Unit]
-Description=NFSv4 ID-name mapping daemon
-After=var-lib-nfs-rpc_pipefs.mount nfsd.service
-Requires=var-lib-nfs-rpc_pipefs.mount
-Before=remote-fs-pre.target
-
-[Service]
-Type=forking
-EnvironmentFile=/etc/conf.d/nfs-common.conf
-ExecStart=/usr/sbin/rpc.idmapd $IDMAPD_OPTS
-
-[Install]
-WantedBy=multi-user.target
diff --git a/testing/nfs-utils/rpc-mountd.service b/testing/nfs-utils/rpc-mountd.service
deleted file mode 100644
index edd8c851d..000000000
--- a/testing/nfs-utils/rpc-mountd.service
+++ /dev/null
@@ -1,12 +0,0 @@
-[Unit]
-Description=NFS Mount Daemon
-After=rpcbind.service nfsd.service
-Requires=rpcbind.service nfsd.service
-
-[Service]
-Type=forking
-EnvironmentFile=/etc/conf.d/nfs-server.conf
-ExecStart=/usr/sbin/rpc.mountd $MOUNTD_OPTS
-
-[Install]
-WantedBy=multi-user.target
diff --git a/testing/nfs-utils/rpc-statd.service b/testing/nfs-utils/rpc-statd.service
deleted file mode 100644
index 97d397faf..000000000
--- a/testing/nfs-utils/rpc-statd.service
+++ /dev/null
@@ -1,13 +0,0 @@
-[Unit]
-Description=NFSv2/3 Network Status Monitor Daemon
-After=rpcbind.service
-Requires=rpcbind.service
-Before=remote-fs-pre.service
-
-[Service]
-Type=forking
-EnvironmentFile=/etc/conf.d/nfs-common.conf
-ExecStart=/usr/sbin/rpc.statd $STATD_OPTS
-
-[Install]
-WantedBy=multi-user.target
diff --git a/testing/nfs-utils/rpc-svcgssd.service b/testing/nfs-utils/rpc-svcgssd.service
deleted file mode 100644
index 8152e8338..000000000
--- a/testing/nfs-utils/rpc-svcgssd.service
+++ /dev/null
@@ -1,12 +0,0 @@
-[Unit]
-Description=RPC GSS-API server-side daemon
-After=rpcbind.service
-Requires=rpcbind.service
-
-[Service]
-Type=forking
-EnvironmentFile=/etc/conf.d/nfs-server.conf
-ExecStart=/usr/sbin/rpc.svcgssd $SVCGSSD_OPTS
-
-[Install]
-WantedBy=multi-user.target
diff --git a/testing/nfs-utils/start-statd.patch b/testing/nfs-utils/start-statd.patch
deleted file mode 100644
index 5d73b6e35..000000000
--- a/testing/nfs-utils/start-statd.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- utils/statd/start-statd 2007-05-11 04:40:57.000000000 +0100
-+++ utils/statd/start-statd.new 2007-09-21 17:11:34.000000000 +0100
-@@ -1,9 +1,16 @@
--#!/bin/bash -p
-+#!/bin/sh
-+
-+# Original script provided by the NFS project
-+# Modified for Arch Linux by Tom Killian
-+
- # nfsmount calls this script when mounting a filesystem with locking
- # enabled, but when statd does not seem to be running (based on
- # /var/run/rpc.statd.pid).
- # It should run statd with whatever flags are apropriate for this
- # site.
--PATH=/sbin:/usr/sbin
--exec rpc.statd --no-notify
-+
-+# source application-specific settings
-+[ -f /etc/conf.d/nfs-common.conf ] && . /etc/conf.d/nfs-common.conf
-+
-+exec /usr/sbin/rpc.statd $STATD_OPTS
-
diff --git a/testing/nfs-utils/var-lib-nfs-rpc_pipefs.mount b/testing/nfs-utils/var-lib-nfs-rpc_pipefs.mount
deleted file mode 100644
index 4bd440f24..000000000
--- a/testing/nfs-utils/var-lib-nfs-rpc_pipefs.mount
+++ /dev/null
@@ -1,7 +0,0 @@
-[Unit]
-Description=RPC pipe filesystem
-
-[Mount]
-What=rpc_pipefs
-Where=/var/lib/nfs/rpc_pipefs
-Type=rpc_pipefs
diff --git a/testing/nx/nx-cflags.patch b/testing/nx/nx-cflags.patch
deleted file mode 100644
index 35562939c..000000000
--- a/testing/nx/nx-cflags.patch
+++ /dev/null
@@ -1,54 +0,0 @@
---- nxcomp/configure.in.orig 2008-12-18 15:48:09.000000000 +0100
-+++ nxcomp/configure.in 2008-12-18 15:54:14.000000000 +0100
-@@ -7,8 +7,7 @@
-
- dnl Set our default compilation flags.
-
--CXXFLAGS="-O3 -fno-rtti -fno-exceptions"
--CFLAGS="-O3"
-+CXXFLAGS="$CXXFLAGS -fno-rtti -fno-exceptions"
-
- dnl Reset default linking directives.
-
---- nxcompext/configure.in.orig 2008-12-18 15:55:29.000000000 +0100
-+++ nxcompext/configure.in 2008-12-18 15:55:51.000000000 +0100
-@@ -5,11 +5,6 @@
- AC_INIT(NXlib.h)
- AC_PREREQ(2.13)
-
--dnl Reset default compilation flags.
--
--CXXFLAGS="-O3"
--CFLAGS="-O3"
--
- dnl Reset default linking directives.
-
- LIBSTATIC=""
---- nxcompshad/configure.in.orig 2008-12-18 15:56:13.000000000 +0100
-+++ nxcompshad/configure.in 2008-12-18 15:56:22.000000000 +0100
-@@ -5,11 +5,6 @@
- AC_INIT(Shadow.h)
- AC_PREREQ(2.13)
-
--dnl Reset default compilation flags.
--
--CXXFLAGS="-O3"
--CPPFLAGS="-O3"
--
- dnl Reset default linking directives.
-
- LIBSTATIC=""
---- nxproxy/configure.in.orig 2008-12-18 15:57:48.000000000 +0100
-+++ nxproxy/configure.in 2008-12-18 15:57:55.000000000 +0100
-@@ -5,11 +5,6 @@
- AC_INIT(Main.c)
- AC_PREREQ(2.13)
-
--dnl Reset default compilation flags.
--
--CXXFLAGS="-O3"
--CPPFLAGS="-O3"
--
- dnl Prefer headers and libraries from nx-X11 if present.
-
- if test -d "../nx-X11/exports/include" ; then
diff --git a/testing/octave/PKGBUILD b/testing/octave/PKGBUILD
deleted file mode 100644
index cc4149860..000000000
--- a/testing/octave/PKGBUILD
+++ /dev/null
@@ -1,54 +0,0 @@
-# $Id: PKGBUILD 168503 2012-10-12 21:20:37Z andyrtr $
-# Maintainer: Ronald van Haren <ronald.archlinux.org>
-# Contributor : shining <shiningxc.at.gmail.com>
-# Contributor : cyberdune <cyberdune@gmail.com>
-
-pkgname=octave
-pkgver=3.6.2
-pkgrel=2
-pkgdesc="A high-level language, primarily intended for numerical computations."
-arch=('i686' 'x86_64')
-url="http://www.octave.org"
-license=('GPL')
-depends=('fftw' 'pcre' 'curl' 'lapack' 'libx11' 'graphicsmagick' 'glpk' 'hdf5' 'gcc-libs' 'qhull' 'fltk' 'suitesparse')
-makedepends=('texinfo' 'graphicsmagick' 'gcc-fortran' 'suitesparse' 'texlive-core')
-optdepends=('texinfo: for help-support in octave'
- 'gnuplot: alternative plotting')
-source=("ftp://ftp.gnu.org/gnu/octave/octave-$pkgver.tar.bz2"
- buildfix.diff
- octave-gethelp.patch)
-options=('!emptydirs')
-install=octave.install
-sha1sums=('145fef0122268086727a60e1c33e29d56fd546d7'
- 'a7cdba1e05fbdd182facdd804aeec37729255551'
- 'd39d54763ac86114029f8bc5d60763d2adce27bb')
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
-
- # patch by Gentoo http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sci-mathematics/octave/files/octave-3.4.3-gets.patch?view=log
- patch -Np0 -i ${srcdir}/buildfix.diff
- # http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sci-mathematics/octave/files/octave-3.4.3-help.patch?view=log
- patch -Np0 -i ${srcdir}/octave-gethelp.patch
-
- autoreconf -vfi
-
- # http://www.nabble.com/Random-rounding-errors-td16010966.html
- FFLAGS="-O -ffloat-store" \
-
- ./configure --prefix=/usr --libexecdir=/usr/lib \
- --enable-shared --disable-static \
- --with-umfpack="-lumfpack -lsuitesparseconfig" # https://mailman.cae.wisc.edu/pipermail/help-octave/2012-September/053991.html
-
- LANG=C make
-}
-
-package(){
- cd ${srcdir}/${pkgname}-${pkgver}
-
- make DESTDIR="${pkgdir}" install
-
- # add octave library path to ld.so.conf.d
- install -d ${pkgdir}/etc/ld.so.conf.d
- echo "/usr/lib/${pkgname}/${pkgver}" > ${pkgdir}/etc/ld.so.conf.d/${pkgname}.conf
-}
diff --git a/testing/octave/buildfix.diff b/testing/octave/buildfix.diff
deleted file mode 100644
index 8288b7bec..000000000
--- a/testing/octave/buildfix.diff
+++ /dev/null
@@ -1,85 +0,0 @@
---- libgnu/stdio.in.h.origs 2012-05-24 12:46:13.000000000 -0600
-+++ libgnu/stdio.in.h 2012-05-24 16:29:54.813734894 -0600
-@@ -1,12 +1,10 @@
--/* -*- buffer-read-only: t -*- vi: set ro: */
--/* DO NOT EDIT! GENERATED AUTOMATICALLY! */
- /* A GNU-like <stdio.h>.
-
- Copyright (C) 2004, 2007-2012 Free Software Foundation, Inc.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 3, or (at your option)
-+ the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
-@@ -15,8 +13,7 @@
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
-- along with this program; if not, write to the Free Software Foundation,
-- Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
-+ along with this program; if not, see <http://www.gnu.org/licenses/>. */
-
- #if __GNUC__ >= 3
- @PRAGMA_SYSTEM_HEADER@
-@@ -55,7 +52,8 @@
- #include <stddef.h>
-
- /* Get off_t and ssize_t. Needed on many systems, including glibc 2.8
-- and eglibc 2.11.2. */
-+ and eglibc 2.11.2.
-+ May also define off_t to a 64-bit type on native Windows. */
- #include <sys/types.h>
-
- /* The __attribute__ feature is available in gcc versions 2.5 and later.
-@@ -701,22 +699,11 @@ _GL_WARN_ON_USE (getline, "getline is un
- # endif
- #endif
-
--#if @GNULIB_GETS@
--# if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@
--# if !(defined __cplusplus && defined GNULIB_NAMESPACE)
--# undef gets
--# define gets rpl_gets
--# endif
--_GL_FUNCDECL_RPL (gets, char *, (char *s) _GL_ARG_NONNULL ((1)));
--_GL_CXXALIAS_RPL (gets, char *, (char *s));
--# else
--_GL_CXXALIAS_SYS (gets, char *, (char *s));
--# undef gets
--# endif
--_GL_CXXALIASWARN (gets);
- /* It is very rare that the developer ever has full control of stdin,
-- so any use of gets warrants an unconditional warning. Assume it is
-- always declared, since it is required by C89. */
-+ so any use of gets warrants an unconditional warning; besides, C11
-+ removed it. */
-+#undef gets
-+#if HAVE_RAW_DECL_GETS
- _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
- #endif
-
-@@ -781,7 +768,7 @@ _GL_CXXALIASWARN (pclose);
- #elif defined GNULIB_POSIXCHECK
- # undef pclose
- # if HAVE_RAW_DECL_PCLOSE
--_GL_WARN_ON_USE (pclose, "popen is unportable - "
-+_GL_WARN_ON_USE (pclose, "pclose is unportable - "
- "use gnulib module pclose for more portability");
- # endif
- #endif
-@@ -1056,9 +1043,9 @@ _GL_WARN_ON_USE (snprintf, "snprintf is
- # endif
- #endif
-
--/* Some people would argue that sprintf should be handled like gets
-- (for example, OpenBSD issues a link warning for both functions),
-- since both can cause security holes due to buffer overruns.
-+/* Some people would argue that all sprintf uses should be warned about
-+ (for example, OpenBSD issues a link warning for it),
-+ since it can cause security holes due to buffer overruns.
- However, we believe that sprintf can be used safely, and is more
- efficient than snprintf in those safe cases; and as proof of our
- belief, we use sprintf in several gnulib modules. So this header
diff --git a/testing/octave/curlfix.patch b/testing/octave/curlfix.patch
deleted file mode 100644
index 26f3d92f9..000000000
--- a/testing/octave/curlfix.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/DLD-FUNCTIONS/urlwrite.cc.old 2011-07-02 16:39:22.466603778 +0200
-+++ src/DLD-FUNCTIONS/urlwrite.cc 2011-07-02 16:39:54.543269859 +0200
-@@ -52,7 +52,6 @@
-
- #include <curl/curl.h>
- #include <curl/curlver.h>
--#include <curl/types.h>
- #include <curl/easy.h>
-
- static int
diff --git a/testing/octave/imread.patch b/testing/octave/imread.patch
deleted file mode 100644
index 4a7b73ea0..000000000
--- a/testing/octave/imread.patch
+++ /dev/null
@@ -1,29 +0,0 @@
---- src/DLD-FUNCTIONS/__magick_read__.cc.orig 2010-03-06 08:05:25.000000000 +0000
-+++ src/DLD-FUNCTIONS/__magick_read__.cc 2009-08-25 09:26:01.000000000 +0100
-@@ -30,6 +30,7 @@
- #include "defun-dld.h"
- #include "error.h"
- #include "ov-struct.h"
-+#include "oct-env.h"
-
- #ifdef HAVE_MAGICK
-
-@@ -359,6 +358,18 @@
-
- #ifdef HAVE_MAGICK
-
-+ static bool initialized = false;
-+
-+ if (! initialized)
-+ {
-+ std::string program_name = octave_env::get_program_invocation_name ();
-+
-+ Magick::InitializeMagick (program_name.c_str ());
-+
-+ initialized = true;
-+ }
-+
-+
- if (args.length () > 2 || args.length () < 1 || ! args(0).is_string ()
- || nargout > 3)
- {
diff --git a/testing/octave/octave-3.4.0-gcc46.patch b/testing/octave/octave-3.4.0-gcc46.patch
deleted file mode 100644
index c174204ac..000000000
--- a/testing/octave/octave-3.4.0-gcc46.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -up octave-3.4.0/liboctave/oct-alloc.h.gcc46 octave-3.4.0/liboctave/oct-alloc.h
---- octave-3.4.0/liboctave/oct-alloc.h.gcc46 2011-02-08 03:00:51.000000000 -0700
-+++ octave-3.4.0/liboctave/oct-alloc.h 2011-02-08 09:41:23.984081687 -0700
-@@ -23,6 +23,8 @@ along with Octave; see the file COPYING.
- #if !defined (octave_oct_alloc_h)
- #define octave_oct_alloc_h 1
-
-+#include <cstddef>
-+
- class
- OCTAVE_API
- octave_allocator
-diff -up octave-3.4.0/src/pr-output.cc.gcc46 octave-3.4.0/src/pr-output.cc
---- octave-3.4.0/src/pr-output.cc.gcc46 2011-02-08 03:00:52.000000000 -0700
-+++ octave-3.4.0/src/pr-output.cc 2011-02-08 09:55:16.149662744 -0700
-@@ -3024,7 +3024,7 @@ abs (T x)
- }
-
- #define INSTANTIATE_ABS(T) \
-- template /* static */ inline T abs (T)
-+ template /* static */ T abs (T)
-
- INSTANTIATE_ABS(signed char);
- INSTANTIATE_ABS(short);
diff --git a/testing/octave/octave-gethelp.patch b/testing/octave/octave-gethelp.patch
deleted file mode 100644
index c0e693abc..000000000
--- a/testing/octave/octave-gethelp.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Help parallel compilation
-patch by Sebastien Fabbro
---- scripts/Makefile.am.orig 2011-06-09 22:27:22.688268651 +0100
-+++ scripts/Makefile.am 2011-02-08 10:00:51.000000000 +0000
-@@ -316,7 +316,7 @@
-
- gethelp_SOURCES = gethelp.cc
-
--.DOCSTRINGS: $(FCN_FILES) $(GEN_FCN_FILES) mkdoc $(gethelp_SOURCES) Makefile
-+.DOCSTRINGS: $(FCN_FILES) $(GEN_FCN_FILES) mkdoc $(gethelp_SOURCES) Makefile gethelp
- @$(MAKE) $(AM_MAKEFLAGS) gethelp$(BUILD_EXEEXT)
- if [ "x$(srcdir)" != "x." ] && [ -f $(srcdir)/DOCSTRINGS ] && [ ! -f DOCSTRINGS ]; then \
- cp $(srcdir)/DOCSTRINGS DOCSTRINGS; \
diff --git a/testing/octave/octave.install b/testing/octave/octave.install
deleted file mode 100644
index 8ee77c430..000000000
--- a/testing/octave/octave.install
+++ /dev/null
@@ -1,18 +0,0 @@
-info_dir=/usr/share/info
-info_files=(octave.info octave.info-1 octave.info-2 octave.info-3 octave.info-4 octave.info-5)
-
-post_install() {
- for f in ${info_files[@]}; do
- install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
- done
-}
-
-post_upgrade() {
- post_install
-}
-
-pre_remove() {
- for f in ${info_files[@]}; do
- install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
- done
-}
diff --git a/testing/pam/pam_namespace-build-1.1.6.patch b/testing/pam/pam_namespace-build-1.1.6.patch
deleted file mode 100644
index aeabc234c..000000000
--- a/testing/pam/pam_namespace-build-1.1.6.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- modules/pam_namespace/Makefile~ 2012-10-12 10:59:13.557550706 +0200
-+++ modules/pam_namespace/Makefile 2012-10-12 10:59:13.564217270 +0200
-@@ -869,7 +869,7 @@
-
-
- install-data-local:
-- mkdir -p $(namespaceddir)
-+ mkdir -p $(DESTDIR)$(namespaceddir)
- README: pam_namespace.8.xml namespace.conf.5.xml
- -include $(top_srcdir)/Make.xml.rules
-
diff --git a/testing/pam/pam_unix2-glibc216.patch b/testing/pam/pam_unix2-glibc216.patch
deleted file mode 100644
index faa6a235f..000000000
--- a/testing/pam/pam_unix2-glibc216.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-Index: pam_unix2-2.9.1/src/read-files.c
-===================================================================
---- pam_unix2-2.9.1.orig/src/read-files.c
-+++ pam_unix2-2.9.1/src/read-files.c
-@@ -30,8 +30,14 @@
- #include <errno.h>
- #include <fcntl.h>
- #include <nss.h>
--#include <bits/libc-lock.h>
-+#include <pthread.h>
- #define __libc_lock_t pthread_mutex_t
-+#define __libc_lock_define_initialized(CLASS,NAME) \
-+ CLASS __libc_lock_t NAME = PTHREAD_MUTEX_INITIALIZER;
-+#define __libc_lock_lock(NAME) \
-+ pthread_mutex_lock, (&(NAME))
-+#define __libc_lock_unlock(NAME) \
-+ pthread_mutex_unlock, (&(NAME))
-
- #include "read-files.h"
-
diff --git a/testing/postgresql/postgresql-run-socket.patch b/testing/postgresql/postgresql-run-socket.patch
deleted file mode 100644
index b558c7b74..000000000
--- a/testing/postgresql/postgresql-run-socket.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur postgresql-9.2.0.sockets/src/include/pg_config_manual.h postgresql-9.2.0/src/include/pg_config_manual.h
---- postgresql-9.2.0.sockets/src/include/pg_config_manual.h 2012-09-06 17:26:17.000000000 -0400
-+++ postgresql-9.2.0/src/include/pg_config_manual.h 2012-09-06 18:13:18.183092471 -0400
-@@ -144,7 +144,7 @@
- * here's where to twiddle it. You can also override this at runtime
- * with the postmaster's -k switch.
- */
--#define DEFAULT_PGSOCKET_DIR "/tmp"
-+#define DEFAULT_PGSOCKET_DIR "/run/postgresql"
-
- /*
- * The random() function is expected to yield values between 0 and
diff --git a/testing/postgresql/postgresql.tmpfiles.conf b/testing/postgresql/postgresql.tmpfiles.conf
deleted file mode 100644
index 6c48e34ed..000000000
--- a/testing/postgresql/postgresql.tmpfiles.conf
+++ /dev/null
@@ -1 +0,0 @@
-d /run/postgresql 0755 postgres postgres -
diff --git a/testing/pyalpm/PKGBUILD b/testing/pyalpm/PKGBUILD
deleted file mode 100644
index c9d420471..000000000
--- a/testing/pyalpm/PKGBUILD
+++ /dev/null
@@ -1,23 +0,0 @@
-# Maintainer : Rémy Oudompheng <remy@archlinux.org>
-
-pkgname=pyalpm
-pkgver=0.5.3
-pkgrel=2
-pkgdesc="Libalpm bindings for Python 3"
-arch=('i686' 'x86_64')
-url="http://projects.archlinux.org/users/remy/pyalpm.git/"
-license=('GPL')
-depends=('python>=3.2' 'pacman>=4')
-source=("ftp://ftp.archlinux.org/other/pyalpm/$pkgname-$pkgver.tar.gz")
-md5sums=('a76019106d17de3a5933c773013a63d1')
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- python setup.py build
-}
-
-package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- python setup.py install --root=${pkgdir}
-}
-
diff --git a/testing/pycrypto/PKGBUILD b/testing/pycrypto/PKGBUILD
deleted file mode 100644
index 8199704f1..000000000
--- a/testing/pycrypto/PKGBUILD
+++ /dev/null
@@ -1,52 +0,0 @@
-# $Id: PKGBUILD 168845 2012-10-16 11:53:59Z allan $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-# Contributor: Kritoke <kritoke@gamebox.net>
-
-pkgbase=pycrypto
-pkgname=('python2-crypto' 'python-crypto')
-pkgver=2.6
-pkgrel=3
-arch=('i686' 'x86_64')
-makedepends=('python2' 'python')
-url="http://www.dlitz.net/software/pycrypto/"
-license=('custom')
-source=("http://ftp.dlitz.net/pub/dlitz/crypto/${pkgbase}/${pkgbase}-${pkgver}.tar.gz")
-sha256sums=('7293c9d7e8af2e44a82f86eb9c3b058880f4bcc884bf3ad6c8a34b64986edde8')
-
-build() {
- cd "${srcdir}"
- find ${pkgbase}-${pkgver}/LEGAL -type f -exec chmod 644 {} \;
- find ${pkgbase}-${pkgver}/LEGAL -type d -exec chmod 755 {} \;
-
- cp -r ${pkgbase}-${pkgver} ${pkgbase}-${pkgver}-py3
- cd "${srcdir}/${pkgbase}-${pkgver}"
- python2 setup.py build
-
- cd "${srcdir}/${pkgbase}-${pkgver}-py3"
- python setup.py build
-}
-
-package_python2-crypto() {
- pkgdesc="Collection of cryptographic algorithms and protocols, implemented for use from Python 2."
- depends=('python2')
- replaces=('pycrypto')
- conflicts=('pycrypto')
- provides=("pycrypto=${pkgver}")
-
- cd "${srcdir}/${pkgbase}-${pkgver}"
- python2 setup.py install --root="${pkgdir}" --optimize=1
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/"
- cp -r LEGAL "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
-
-package_python-crypto() {
- pkgdesc="Collection of cryptographic algorithms and protocols, implemented for use from Python 3."
- depends=('python')
-
- cd "${srcdir}/${pkgbase}-${pkgver}-py3"
- python setup.py install --root="${pkgdir}" --optimize=1
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/"
- cp -r LEGAL "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
diff --git a/testing/pygobject/PKGBUILD b/testing/pygobject/PKGBUILD
deleted file mode 100644
index ba46a1a38..000000000
--- a/testing/pygobject/PKGBUILD
+++ /dev/null
@@ -1,58 +0,0 @@
-# $Id: PKGBUILD 168846 2012-10-16 11:54:03Z allan $
-# Maintainer: Ionut Biru <ibiru@archlinux.org>
-
-pkgbase=pygobject
-pkgname=(python-gobject python2-gobject pygobject-devel)
-pkgver=3.2.2
-pkgrel=2
-arch=('i686' 'x86_64')
-url="https://live.gnome.org/PyGObject"
-license=('LGPL')
-makedepends=('python' 'python2' 'python-cairo' 'python2-cairo' 'gobject-introspection')
-source=(http://ftp.gnome.org/pub/gnome/sources/$pkgbase/${pkgver%.*}/$pkgbase-$pkgver.tar.xz)
-options=('!libtool')
-sha256sums=('4653790baaff0176fd814b88cfb5378c45906a120b25d01be2554f423b726eb0')
-
-build() {
- cp -a "$pkgbase-$pkgver" python2-build
- mkdir devel
-
- (
- cd python2-build
- export PYTHON=/usr/bin/python2
- ./configure --prefix=/usr
- make
- )
-
- (
- cd "$pkgbase-$pkgver"
- ./configure --prefix=/usr
- make
- )
-}
-
-package_python-gobject() {
- pkgdesc="Python 3 bindings for GObject"
- depends=('gobject-introspection' 'python-cairo' "pygobject-devel=$pkgver")
-
- cd "$pkgbase-$pkgver"
- make DESTDIR="$pkgdir" install
- rm -r "$pkgdir"/usr/{include,lib/pkgconfig}
-}
-
-package_python2-gobject() {
- pkgdesc="Python 2 bindings for GObject"
- depends=('gobject-introspection' 'python2-cairo' "pygobject-devel=$pkgver")
-
- cd "python2-build"
- make DESTDIR="$pkgdir" install
- mv "$pkgdir"/usr/{include,lib/pkgconfig} "$srcdir/devel"
-}
-
-package_pygobject-devel() {
- pkgdesc="Development files for the pygobject bindings"
- cd "devel"
- mkdir -p "$pkgdir"/usr/{include,lib}
- mv include "$pkgdir/usr/"
- mv pkgconfig "$pkgdir/usr/lib/"
-}
diff --git a/testing/pygobject2/PKGBUILD b/testing/pygobject2/PKGBUILD
deleted file mode 100644
index 2aaa967e3..000000000
--- a/testing/pygobject2/PKGBUILD
+++ /dev/null
@@ -1,86 +0,0 @@
-# $Id: PKGBUILD 168847 2012-10-16 11:54:08Z allan $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgbase=pygobject2
-pkgname=(python-gobject2 python2-gobject2 pygobject2-devel)
-pkgver=2.28.6
-pkgrel=7
-arch=('i686' 'x86_64')
-url="http://www.pygtk.org/"
-license=('LGPL')
-makedepends=('python' 'python2')
-source=(http://ftp.gnome.org/pub/gnome/sources/pygobject/${pkgver%.*}/pygobject-${pkgver}.tar.xz
- python2-fix-type.patch
- python3-fix-build.patch
- python3-fix-maketrans.patch)
-options=('!libtool')
-sha256sums=('fb8a1d4f665130a125011659bd347c7339c944232163dbb9a34fd0686577adb8'
- 'b7b415499ffc0817cf551edf76a3fe47938db2c9f6240046eae681e6ef9b37ea'
- 'feafd4664f8455edf0bf8407ac45e219bb550df806ce0d601baae951e8c188ca'
- '4bff9adcea13a824c45d14ec501c927df47d23c22507a2456d8b5ec885924c0a')
-
-build() {
- cd "${srcdir}"
- cp -a "pygobject-${pkgver}" python2-build
- mkdir devel
-
- (
- cd python2-build
- export PYTHON=/usr/bin/python2
- ./configure --prefix=/usr --disable-introspection
- make
- )
-
- (
- cd "pygobject-${pkgver}"
- #patches available in 2.28 branch but unreleased.
- patch -Np1 -i "${srcdir}/python2-fix-type.patch"
- patch -Np1 -i "${srcdir}/python3-fix-build.patch"
- patch -Np1 -i "${srcdir}/python3-fix-maketrans.patch"
-
- ./configure --prefix=/usr --disable-introspection
- make
- )
-}
-
-package_python-gobject2() {
- pkgdesc="Python 3 bindings for GObject2"
- depends=('glib2' 'pygobject2-devel' 'python')
- replaces=('py3gobject')
- provides=("py3gobject=$pkgver")
-
- cd "${srcdir}/pygobject-${pkgver}"
- make DESTDIR="${pkgdir}" install
-
- # Delete devel stuff
- rm -r "$pkgdir"/usr/{bin,include,lib/pkgconfig,share/{gtk-doc,pygobject/{2.0/codegen,xsl}}}
-}
-
-package_python2-gobject2() {
- pkgdesc="Python 2 bindings for GObject2"
- depends=('glib2' 'pygobject2-devel' 'python2')
- replaces=('pygobject')
- provides=("pygobject=$pkgver")
-
- cd "${srcdir}/python2-build"
- make DESTDIR="${pkgdir}" install
-
- find "$pkgdir"/usr/share/pygobject -name '*.py' | \
- xargs sed -i "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|"
-
- # Split devel stuff
- mv "$pkgdir"/usr/{include,lib/pkgconfig,share/{gtk-doc,pygobject/xsl}} \
- "$srcdir/devel/"
-}
-
-package_pygobject2-devel() {
- pkgdesc="Development files for the pygobject bindings"
-
- cd "${srcdir}/devel"
- mkdir -p "$pkgdir"/usr/{include,lib,share/pygobject}
-
- mv include "$pkgdir/usr/"
- mv pkgconfig "$pkgdir/usr/lib/"
- mv gtk-doc "$pkgdir/usr/share/"
- mv xsl "$pkgdir/usr/share/pygobject/"
-}
diff --git a/testing/pygobject2/python2-fix-type.patch b/testing/pygobject2/python2-fix-type.patch
deleted file mode 100644
index 78e7ddfd5..000000000
--- a/testing/pygobject2/python2-fix-type.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-From 42d01f060c5d764baa881d13c103d68897163a49 Mon Sep 17 00:00:00 2001
-From: Ryan Lortie <desrt@desrt.ca>
-Date: Mon, 12 Mar 2012 16:44:14 -0400
-Subject: gio-types.defs: change some enums to flags
-
-These flags types were originally incorrectly handled in glib as being
-enums. That bug was fixed, but they're still enums here, leading to
-warnings about the mismatch.
-
-Change them to flags.
-
-https://bugzilla.gnome.org/show_bug.cgi?id=668522
----
- gio/gio-types.defs | 6 +++---
- 1 files changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/gio/gio-types.defs b/gio/gio-types.defs
-index 331e0bc..7eee5c8 100644
---- a/gio/gio-types.defs
-+++ b/gio/gio-types.defs
-@@ -526,7 +526,7 @@
- )
- )
-
--(define-enum MountMountFlags
-+(define-flags MountMountFlags
- (in-module "gio")
- (c-name "GMountMountFlags")
- (gtype-id "G_TYPE_MOUNT_MOUNT_FLAGS")
-@@ -545,7 +545,7 @@
- )
- )
-
--(define-enum DriveStartFlags
-+(define-flags DriveStartFlags
- (in-module "gio")
- (c-name "GDriveStartFlags")
- (gtype-id "G_TYPE_DRIVE_START_FLAGS")
-@@ -770,7 +770,7 @@
- )
- )
-
--(define-enum SocketMsgFlags
-+(define-flags SocketMsgFlags
- (in-module "gio")
- (c-name "GSocketMsgFlags")
- (gtype-id "G_TYPE_SOCKET_MSG_FLAGS")
---
-1.7.9.1
-
diff --git a/testing/pygobject2/python3-fix-build.patch b/testing/pygobject2/python3-fix-build.patch
deleted file mode 100644
index 4cb8cfe57..000000000
--- a/testing/pygobject2/python3-fix-build.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From e2dc4ac346a16b6976b92e84819c7203629beb4a Mon Sep 17 00:00:00 2001
-From: Ignacio Casal Quinteiro <icq@gnome.org>
-Date: Thu, 21 Apr 2011 14:52:20 +0000
-Subject: [python3] fix build. PYcairo_IMPORT doesn't exists anymore
-
----
-diff --git a/gi/pygi-foreign-cairo.c b/gi/pygi-foreign-cairo.c
-index 81b9865..edf52d7 100644
---- a/gi/pygi-foreign-cairo.c
-+++ b/gi/pygi-foreign-cairo.c
-@@ -30,7 +30,7 @@
- #include <pycairo/py3cairo.h>
- #endif
-
--Pycairo_CAPI_t *Pycairo_CAPI;
-+static Pycairo_CAPI_t *Pycairo_CAPI;
-
- #include "pygi-foreign.h"
-
-@@ -117,7 +117,12 @@ cairo_surface_release (GIBaseInfo *base_info,
- static PyMethodDef _gi_cairo_functions[] = {0,};
- PYGLIB_MODULE_START(_gi_cairo, "_gi_cairo")
- {
-+#if PY_VERSION_HEX < 0x03000000
- Pycairo_IMPORT;
-+#else
-+ Pycairo_CAPI = (Pycairo_CAPI_t*) PyCObject_Import("cairo", "CAPI");
-+#endif
-+
- if (Pycairo_CAPI == NULL)
- return PYGLIB_MODULE_ERROR_RETURN;
-
---
-cgit v0.9
diff --git a/testing/pygobject2/python3-fix-maketrans.patch b/testing/pygobject2/python3-fix-maketrans.patch
deleted file mode 100644
index f5bc0e77c..000000000
--- a/testing/pygobject2/python3-fix-maketrans.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From 667bec76ccbc85cc1d54a0e68977dbda241c028c Mon Sep 17 00:00:00 2001
-From: Martin Pitt <martin.pitt@ubuntu.com>
-Date: Wed, 13 Jul 2011 06:42:22 +0000
-Subject: [python3] Fix maketrans import
-
-Python3 moved the maketrans() function from the string module to a str method.
-This unbreaks gi/module.py for Python 3 again.
----
-diff --git a/gi/module.py b/gi/module.py
-index 70df76c..d56bdaf 100644
---- a/gi/module.py
-+++ b/gi/module.py
-@@ -24,7 +24,11 @@ from __future__ import absolute_import
-
- import os
- import gobject
--import string
-+try:
-+ maketrans = ''.maketrans
-+except AttributeError:
-+ # fallback for Python 2
-+ from string import maketrans
-
- import gi
- from .overrides import registry
-@@ -124,7 +128,7 @@ class IntrospectionModule(object):
- # Don't use upper() here to avoid locale specific
- # identifier conversion (e. g. in Turkish 'i'.upper() == 'i')
- # see https://bugzilla.gnome.org/show_bug.cgi?id=649165
-- ascii_upper_trans = string.maketrans(
-+ ascii_upper_trans = maketrans(
- 'abcdefgjhijklmnopqrstuvwxyz',
- 'ABCDEFGJHIJKLMNOPQRSTUVWXYZ')
- for value_info in info.get_values():
---
-cgit v0.9
diff --git a/testing/pyopenssl/PKGBUILD b/testing/pyopenssl/PKGBUILD
deleted file mode 100644
index e953a7690..000000000
--- a/testing/pyopenssl/PKGBUILD
+++ /dev/null
@@ -1,46 +0,0 @@
-# $Id: PKGBUILD 168849 2012-10-16 11:54:13Z allan $
-# Maintainer : Ionut Biru<ibiru@archlinux.org>
-# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
-
-pkgbase=pyopenssl
-pkgname=('python-pyopenssl' 'python2-pyopenssl')
-pkgver=0.13
-pkgrel=2
-arch=('i686' 'x86_64')
-url="http://pypi.python.org/pypi/pyOpenSSL"
-license=('LGPL2.1')
-makedepends=('python' 'python2' 'openssl')
-source=(http://pypi.python.org/packages/source/p/pyOpenSSL/pyOpenSSL-${pkgver}.tar.gz)
-md5sums=('767bca18a71178ca353dff9e10941929')
-
-build() {
- cd "${srcdir}"
- cp -a "pyOpenSSL-${pkgver}"{,-python2}
-
- #build python 3 module
- cd "pyOpenSSL-${pkgver}"
- python setup.py build
-
- #build python 2 module
- cd ../"pyOpenSSL-${pkgver}-python2"
- python2 setup.py build
-}
-
-package_python-pyopenssl(){
- pkgdesc="Python3 wrapper module around the OpenSSL library"
- depends=('python>=3.3' 'openssl')
- replaces=('pyopenssl')
- provides=('pyopenssl')
- conflicts=('pyopenssl')
-
- cd "${srcdir}/pyOpenSSL-${pkgver}"
- python setup.py install --root "${pkgdir}" --optimize=1
-}
-
-package_python2-pyopenssl(){
- pkgdesc="Python2 wrapper module around the OpenSSL library"
- depends=('python2>=2.7' 'openssl')
-
- cd "${srcdir}/pyOpenSSL-${pkgver}-python2"
- python2 setup.py install --root "${pkgdir}" --optimize=1
-}
diff --git a/testing/python-cairo/PKGBUILD b/testing/python-cairo/PKGBUILD
deleted file mode 100644
index 7efdd37a4..000000000
--- a/testing/python-cairo/PKGBUILD
+++ /dev/null
@@ -1,34 +0,0 @@
-# $Id: PKGBUILD 168854 2012-10-16 11:54:24Z allan $
-# Maintainer: Angel Velasquez <angvp@archlinux.org>
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=python-cairo
-pkgver=1.10.0
-pkgrel=2
-pkgdesc="Python bindings for the cairo graphics library"
-arch=('i686' 'x86_64')
-license=('LGPL3')
-depends=('python' 'cairo')
-makedepends=('pkg-config')
-options=('!libtool')
-source=(http://cairographics.org/releases/pycairo-${pkgver}.tar.bz2)
-url="http://www.cairographics.org/pycairo"
-md5sums=('e6fd3f2f1e6a72e0db0868c4985669c5')
-
-build() {
- cd "${srcdir}/pycairo-${pkgver}"
-
- # Ensure that ./waf has created the cached unpacked version
- # of the wafadmin source tree.
- # This will be created to a subdirectory like
- # .waf3-1.5.18-a7b91e2a913ce55fa6ecdf310df95752
- python3 ./waf --version
-
- ./waf configure --prefix=/usr
- ./waf build
-}
-
-package() {
- cd "${srcdir}/pycairo-${pkgver}"
- ./waf install --destdir="${pkgdir}"
-}
diff --git a/testing/python-egenix-mx-base/PKGBUILD b/testing/python-egenix-mx-base/PKGBUILD
deleted file mode 100644
index c2e1b4fa9..000000000
--- a/testing/python-egenix-mx-base/PKGBUILD
+++ /dev/null
@@ -1,33 +0,0 @@
-# $Id: PKGBUILD 168902 2012-10-16 14:06:20Z allan $
-# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
-# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
-
-pkgbase=python-egenix-mx-base
-pkgname=('python2-egenix-mx-base')
-_origname=egenix-mx-base
-pkgver=3.2.4
-pkgrel=3
-pkgdesc="A collection of Python tools"
-arch=('i686' 'x86_64')
-license=('custom')
-url="http://www.egenix.com/products/python/mxBase/"
-makedepends=('python2')
-conflicts=('python-egenix-mx-base<=3.2.4-1')
-replaces=('python-egenix-mx-base<=3.2.4-1')
-source=("http://downloads.egenix.com/python/${_origname}-${pkgver}.tar.gz")
-sha1sums=('22d7fcbd582177f9a43245eadc3644f3b48cc9a7')
-
-build() {
- cd "${srcdir}/${_origname}-${pkgver}"
-
- find . -name \*.py -exec sed -i -e "s|^#!.*python|#!/usr/bin/python2|" {} \;
-
- python2 setup.py build
-}
-
-package_python2-egenix-mx-base() {
- depends=('python2>=2.7')
- cd "${srcdir}/${_origname}-${pkgver}"
- python2 setup.py install --root="${pkgdir}" --skip-build --optimize=1
- install -D -m644 COPYRIGHT "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}
diff --git a/testing/python-iwscan/PKGBUILD b/testing/python-iwscan/PKGBUILD
deleted file mode 100644
index a32038290..000000000
--- a/testing/python-iwscan/PKGBUILD
+++ /dev/null
@@ -1,26 +0,0 @@
-# $Id: PKGBUILD 168860 2012-10-16 11:54:37Z allan $
-# Maintainer: Daniel Isenmann <daniel@archlinux.org>
-
-pkgbase=python-iwscan
-pkgname=python2-iwscan
-pkgver=20090609
-pkgrel=4
-pkgdesc="A Python interface to iwlist, using the iwlib library"
-arch=('i686' 'x86_64')
-url="http://projects.otaku42.de/browser/python-iwscan"
-license=('LGPL')
-depends=('python2' 'wireless_tools')
-conflicts=('python-iwscan<=20090609-3')
-replaces=('python-iwscan<=20090609-3')
-source=(ftp://ftp.archlinux.org/other/${pkgbase}/${pkgbase}-20090609.tar.gz)
-md5sums=('30fbe8ad3b07e67c1c35db2de16077d8')
-
-build() {
- cd "${srcdir}/${pkgbase}"
- python2 setup.py build
-}
-
-package_python2-iwscan() {
- cd "${srcdir}/${pkgbase}"
- python2 setup.py install --root="${pkgdir}"
-}
diff --git a/testing/python-lxml/PKGBUILD b/testing/python-lxml/PKGBUILD
deleted file mode 100644
index 8980d9da3..000000000
--- a/testing/python-lxml/PKGBUILD
+++ /dev/null
@@ -1,49 +0,0 @@
-# $Id: PKGBUILD 168863 2012-10-16 11:54:46Z allan $
-# Maintainer:
-
-pkgname=('python-lxml' 'python2-lxml')
-pkgver=3.0
-pkgrel=1
-pkgdesc="Python binding for the libxml2 and libxslt libraries"
-arch=('i686' 'x86_64')
-license=('BSD' 'custom')
-url="http://lxml.de/"
-makedepends=('python2' 'python' 'libxslt')
-source=(http://pypi.python.org/packages/source/l/lxml/lxml-${pkgver}.tar.gz{,.asc})
-sha1sums=('8dbbd03a637bb563113cf07049a4d5a109369441'
- 'b38447fd3f9cfb30b4d56ffe3bec42739afb2947')
-
-check() {
- cd "${srcdir}"/lxml-$pkgver
- make PYTHON=python2 test
- make PYTHON=python test
-}
-
-package_python2-lxml() {
- depends=('python2' 'libxslt')
- optdepends=('python2-beautifulsoup3: support for parsing not well formed HTML')
-
- cd "${srcdir}"/lxml-$pkgver
- python2 setup.py install --root="${pkgdir}" --optimize=1
-
- install -Dm644 LICENSES.txt \
- "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
- install -Dm644 doc/licenses/BSD.txt \
- "${pkgdir}"/usr/share/licenses/$pkgname/BSD.txt
- install -Dm644 doc/licenses/elementtree.txt \
- "${pkgdir}"/usr/share/licenses/$pkgname/elementtree.txt
-}
-
-package_python-lxml() {
- depends=('python' 'libxslt')
-
- cd "${srcdir}"/lxml-$pkgver
- python setup.py install --root="${pkgdir}" --optimize=1
-
- install -Dm644 LICENSES.txt \
- "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
- install -Dm644 doc/licenses/BSD.txt \
- "${pkgdir}"/usr/share/licenses/$pkgname/BSD.txt
- install -Dm644 doc/licenses/elementtree.txt \
- "${pkgdir}"/usr/share/licenses/$pkgname/elementtree.txt
-}
diff --git a/testing/python-markupsafe/PKGBUILD b/testing/python-markupsafe/PKGBUILD
deleted file mode 100644
index 8de9c9363..000000000
--- a/testing/python-markupsafe/PKGBUILD
+++ /dev/null
@@ -1,41 +0,0 @@
-# $Id: PKGBUILD 168865 2012-10-16 11:54:52Z allan $
-# Maintainer : Ionut Biru <ibiru@archlinux.org>
-# Contributor: Alex Anthony <alex.anthony28991@gmail.com>
-
-pkgname=('python-markupsafe' 'python2-markupsafe')
-pkgver=0.15
-pkgrel=2
-pkgdesc="Implements a XML/HTML/XHTML Markup safe string for Python"
-arch=('i686' 'x86_64')
-url="http://pypi.python.org/pypi/MarkupSafe"
-license=('custom')
-makedepends=('python-distribute' 'python2-distribute')
-source=("http://pypi.python.org/packages/source/M/MarkupSafe/MarkupSafe-${pkgver}.tar.gz")
-md5sums=('4e7c4d965fe5e033fa2d7bb7746bb186')
-
-build() {
- cp -r MarkupSafe-${pkgver} python2-MarkupSafe-${pkgver}
- cd "${srcdir}/MarkupSafe-${pkgver}"
- python setup.py build
-
- cd "${srcdir}/python2-MarkupSafe-${pkgver}"
- python2 setup.py build
-}
-
-package_python-markupsafe() {
- depends=('python')
-
- cd "${srcdir}/MarkupSafe-${pkgver}"
- python setup.py install --root="${pkgdir}" --optimize=1
-
- install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/python-markupsafe/LICENSE"
-}
-
-package_python2-markupsafe() {
- depends=('python2')
-
- cd "${srcdir}/python2-MarkupSafe-${pkgver}"
- python2 setup.py install --root="${pkgdir}" --optimize=1
-
- install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/python2-markupsafe/LICENSE"
-}
diff --git a/testing/python-notify/PKGBUILD b/testing/python-notify/PKGBUILD
deleted file mode 100644
index 674fb34c1..000000000
--- a/testing/python-notify/PKGBUILD
+++ /dev/null
@@ -1,43 +0,0 @@
-# $Id: PKGBUILD 168868 2012-10-16 11:55:02Z allan $
-# Maintainer: Angel Velasquez <angvp@archlinux.org>
-
-pkgbase=python-notify
-pkgname=python2-notify
-pkgver=0.1.1
-pkgrel=12
-pkgdesc="Python bindings for libnotify"
-arch=('i686' 'x86_64')
-url="http://www.galago-project.org/"
-license=('GPL')
-depends=('pygtk>=2.22.0' 'libnotify>=0.7.1')
-makedepends=('python2')
-conflicts=('python-notify<=0.1.1-11')
-replaces=('python-notify<=0.1.1-11')
-options=(!libtool)
-source=(http://www.galago-project.org/files/releases/source/notify-python/notify-python-${pkgver}.tar.gz
- libnotify07.patch
- notify-python-0.1.1-fix-GTK-symbols.patch)
-md5sums=('8f0ef0939cc8edd2efd896ce5ba80cf4'
- 'b40c4542575d5aef559908fe60a21634'
- 'c6922028da5951e69a6a0167bdb4461c')
-
-build() {
- cd "${srcdir}/notify-python-${pkgver}"
-
- patch -Np1 -i "${srcdir}/libnotify07.patch"
- patch -Np1 -i "${srcdir}/notify-python-0.1.1-fix-GTK-symbols.patch"
-
- ./configure --prefix=/usr
-
- # WARNING - we touch src/pynotify.override in build because upstream did not rebuild pynotify.c
- # from the input definitions, this forces pynotify.c to be regenerated, at some point this can be removed
- touch src/pynotify.override
-
- make clean
- make
-}
-
-package_python2-notify() {
- cd "${srcdir}/notify-python-${pkgver}"
- make DESTDIR="${pkgdir}" install
-}
diff --git a/testing/python-notify/libnotify07.patch b/testing/python-notify/libnotify07.patch
deleted file mode 100644
index 289573d50..000000000
--- a/testing/python-notify/libnotify07.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-diff -up notify-python-0.1.1/src/pynotify.defs.notify070 notify-python-0.1.1/src/pynotify.defs
---- notify-python-0.1.1/src/pynotify.defs.notify070 2010-11-02 17:11:14.928179237 -0400
-+++ notify-python-0.1.1/src/pynotify.defs 2010-11-02 17:11:51.153180231 -0400
-@@ -38,7 +38,6 @@
- '("const-gchar*" "summary")
- '("const-gchar*" "message" (null-ok) (default "NULL"))
- '("const-gchar*" "icon" (null-ok) (default "NULL"))
-- '("GtkWidget*" "attach" (null-ok) (default "NULL"))
- )
- )
-
-@@ -53,24 +52,6 @@
- )
- )
-
--(define-method attach_to_widget
-- (of-object "NotifyNotification")
-- (c-name "notify_notification_attach_to_widget")
-- (return-type "none")
-- (parameters
-- '("GtkWidget*" "attach")
-- )
--)
--
--(define-method attach_to_status_icon
-- (of-object "NotifyNotification")
-- (c-name "notify_notification_attach_to_status_icon")
-- (return-type "none")
-- (parameters
-- '("GtkStatusIcon*" "attach")
-- )
--)
--
- (define-method show
- (of-object "NotifyNotification")
- (c-name "notify_notification_show")
diff --git a/testing/python-notify/notify-python-0.1.1-fix-GTK-symbols.patch b/testing/python-notify/notify-python-0.1.1-fix-GTK-symbols.patch
deleted file mode 100644
index f985c0136..000000000
--- a/testing/python-notify/notify-python-0.1.1-fix-GTK-symbols.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-diff -up notify-python-0.1.1/src/__init__.py.BAD notify-python-0.1.1/src/__init__.py
---- notify-python-0.1.1/src/__init__.py.BAD 2010-08-31 09:04:45.353844005 -0400
-+++ notify-python-0.1.1/src/__init__.py 2010-08-31 09:04:49.281844300 -0400
-@@ -1 +1,21 @@
-+"""
-+Fedora's libnotify.so is not linked against GTK2 or GTK3. The idea
-+was to support being linked against different parallel-installable
-+GTK stacks.
-+
-+Unfortunately, python needs to jump through some special hoops in order
-+to share symbols with extension modules, specifically, pygtk, which does
-+link against GTK2.
-+
-+Without using sys.setdlopenflags(sys.getdlopenflags() | ctypes.RTLD_GLOBAL),
-+the result is:
-+libnotify-WARNING **: Missing symbol 'gdk_screen_make_display_name'
-+
-+Thanks to David Malcolm for figuring out the workaround.
-+"""
-+import ctypes
-+import sys
-+sys.setdlopenflags(sys.getdlopenflags() | ctypes.RTLD_GLOBAL)
-+import gtk
-+
- from _pynotify import *
diff --git a/testing/python-numpy/PKGBUILD b/testing/python-numpy/PKGBUILD
deleted file mode 100755
index e295dec87..000000000
--- a/testing/python-numpy/PKGBUILD
+++ /dev/null
@@ -1,62 +0,0 @@
-# $Id: PKGBUILD 168869 2012-10-16 11:55:07Z allan $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-# Contributor: Douglas Soares de Andrade <dsa@aur.archlinux.org>
-# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
-
-pkgbase=python-numpy
-pkgname=('python2-numpy' 'python-numpy')
-pkgver=1.7.0
-_pkgver=1.7.0b2
-pkgrel=1
-pkgdesc="Scientific tools for Python"
-arch=('i686' 'x86_64')
-license=('custom')
-url="http://numpy.scipy.org/"
-makedepends=('lapack' 'python' 'python2' 'python-distribute' 'python2-distribute' 'gcc-fortran' 'python-nose')
-source=(http://downloads.sourceforge.net/numpy/numpy-${_pkgver}.tar.gz)
-md5sums=('1b62cf0e34e2db58b0241b00d603df24')
-
-build() {
- cd "${srcdir}"
- cp -a numpy-${_pkgver} numpy-py2-${_pkgver}
-
- export Atlas=None
- export LDFLAGS="$LDFLAGS -shared"
-
- echo "Building Python2"
- cd "${srcdir}/numpy-py2-${_pkgver}"
- python2 setup.py config_fc --fcompiler=gnu95 build
-
- echo "Building Python3"
- cd "${srcdir}/numpy-${_pkgver}"
- python setup.py config_fc --fcompiler=gnu95 build
-}
-
-package_python2-numpy() {
- depends=('lapack' 'python2')
- optdepends=('python-nose: testsuite')
-
- cd "${srcdir}/numpy-py2-${_pkgver}"
- python2 setup.py config_fc --fcompiler=gnu95 install --prefix=/usr --root="${pkgdir}" --optimize=1
-
- install -m755 -d "${pkgdir}/usr/share/licenses/python2-numpy"
- install -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/python2-numpy/"
-
- sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
- -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
- -e "s|#![ ]*/bin/env python$|#!/usr/bin/env python2|" \
- $(find ${pkgdir} -name '*.py')
-}
-
-package_python-numpy() {
- depends=('lapack' 'python')
- provides=("python3-numpy=${pkgver}")
- replaces=('python3-numpy')
- conflicts=('python3-numpy')
-
- cd "${srcdir}/numpy-${_pkgver}"
- python setup.py config_fc --fcompiler=gnu95 install --prefix=/usr --root="${pkgdir}" --optimize=1
-
- install -m755 -d "${pkgdir}/usr/share/licenses/python3-numpy"
- install -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/python3-numpy/"
-}
diff --git a/testing/python-numpy/numpy-1.6.2-python-3.3-build-fix.patch b/testing/python-numpy/numpy-1.6.2-python-3.3-build-fix.patch
deleted file mode 100644
index 072afbc0e..000000000
--- a/testing/python-numpy/numpy-1.6.2-python-3.3-build-fix.patch
+++ /dev/null
@@ -1,92 +0,0 @@
-diff --git a/numpy/core/src/multiarray/scalarapi.c b/numpy/core/src/multiarray/scalarapi.c
-index 00c71f9..0afdc17 100644
---- a/numpy/core/src/multiarray/scalarapi.c
-+++ b/numpy/core/src/multiarray/scalarapi.c
-@@ -641,6 +641,40 @@ PyArray_Scalar(void *data, PyArray_Descr *descr, PyObject *base)
- itemsize = (((itemsize - 1) >> 2) + 1) << 2;
- }
- }
-+#if PY_VERSION_HEX >= 0x03030000
-+ if (type_num == NPY_UNICODE) {
-+ PyObject *u, *args;
-+ char *buffer;
-+ if (swap) {
-+ buffer = malloc(itemsize);
-+ if (buffer == NULL) {
-+ PyErr_NoMemory();
-+ return NULL;
-+ }
-+ memcpy(buffer, data, itemsize);
-+ byte_swap_vector(buffer, itemsize >> 2, 4);
-+ } else {
-+ buffer = data;
-+ }
-+ u = PyUnicode_FromKindAndData(PyUnicode_4BYTE_KIND, buffer,
-+ itemsize >> 2);
-+ if (swap) {
-+ free(buffer);
-+ }
-+ if (u == NULL) {
-+ return NULL;
-+ }
-+ args = Py_BuildValue("(O)", u);
-+ if (args == NULL) {
-+ Py_DECREF(u);
-+ return NULL;
-+ }
-+ obj = type->tp_new(type, args, NULL);
-+ Py_DECREF(u);
-+ Py_DECREF(args);
-+ return obj;
-+ }
-+#endif
- if (type->tp_itemsize != 0) {
- /* String type */
- obj = type->tp_alloc(type, itemsize);
-@@ -672,6 +706,7 @@ PyArray_Scalar(void *data, PyArray_Descr *descr, PyObject *base)
- memcpy(destptr, data, itemsize);
- return obj;
- }
-+#if PY_VERSION_HEX < 0x03030000
- else if (type_num == PyArray_UNICODE) {
- /* tp_alloc inherited from Python PyBaseObject_Type */
- PyUnicodeObject *uni = (PyUnicodeObject*)obj;
-@@ -743,6 +778,7 @@ PyArray_Scalar(void *data, PyArray_Descr *descr, PyObject *base)
- #endif
- return obj;
- }
-+#endif // PY_VERSION_HEX < 0x03030000
- else {
- PyVoidScalarObject *vobj = (PyVoidScalarObject *)obj;
- vobj->base = NULL;
-diff --git a/numpy/core/src/multiarray/scalartypes.c.src b/numpy/core/src/multiarray/scalartypes.c.src
-index e547071..12745d7 100644
---- a/numpy/core/src/multiarray/scalartypes.c.src
-+++ b/numpy/core/src/multiarray/scalartypes.c.src
-@@ -2592,7 +2592,11 @@ finish:
- *((npy_@name@ *)dest) = *((npy_@name@ *)src);
- #elif @default@ == 1 /* unicode and strings */
- if (itemsize == 0) { /* unicode */
-+#if PY_VERSION_HEX >= 0x03030000
-+ itemsize = PyUnicode_GetLength(robj) * PyUnicode_KIND(robj);
-+#else
- itemsize = ((PyUnicodeObject *)robj)->length * sizeof(Py_UNICODE);
-+#endif
- }
- memcpy(dest, src, itemsize);
- /* @default@ == 2 won't get here */
-diff --git a/numpy/core/src/multiarray/methods.c b/numpy/core/src/multiarray/methods.c
-index c4147ef..119056c 100644
---- a/numpy/core/src/multiarray/methods.c
-+++ b/numpy/core/src/multiarray/methods.c
-@@ -1587,7 +1587,7 @@ array_setstate(PyArrayObject *self, PyObject *args)
- if (!PyDataType_FLAGCHK(typecode, NPY_LIST_PICKLE)) {
- int swap=!PyArray_ISNOTSWAPPED(self);
- self->data = datastr;
-- if (!_IsAligned(self) || swap) {
-+ if (!_IsAligned(self) || swap || (len <= 1000)) {
- intp num = PyArray_NBYTES(self);
- self->data = PyDataMem_NEW(num);
- if (self->data == NULL) {
---
-1.7.12.3
diff --git a/testing/python-pyspi/PKGBUILD b/testing/python-pyspi/PKGBUILD
deleted file mode 100644
index 0fb75b940..000000000
--- a/testing/python-pyspi/PKGBUILD
+++ /dev/null
@@ -1,32 +0,0 @@
-# $Id: PKGBUILD 168874 2012-10-16 11:55:20Z allan $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-# Contributor: William Rea <sillywilly@gmail.com>
-
-pkgbase=python-pyspi
-pkgname=python2-pyspi
-pkgver=0.6.1
-pkgrel=1
-pkgdesc="Python AT-SPI bindings"
-arch=('i686' 'x86_64')
-url="http://people.redhat.com/zcerza/dogtail"
-license=('LGPL')
-depends=('python2' 'at-spi')
-makedepends=('pyrex')
-conflicts=('python-pyspi<=0.6.1-5')
-conflicts=('python-pyspi<=0.6.1-5')
-source=("http://dlc.sun.com/osol/jds/downloads/sources/pyspi-${pkgver}.tar.gz"
- 'pyspi-build.patch')
-md5sums=('def336bd566ea688a06ec03db7ccf1f4'
- '721f74cbae653a258c00b83acf7dd1da')
-
-build() {
- cd ${srcdir}/pyspi-${pkgver}
- patch -Np1 -i ${srcdir}/pyspi-build.patch
- # Pyrex tells us to use __cinit__ instead of __new__
- sed -i 's/__new__/__cinit__/' pyspi.pyx
-}
-
-package_python2-pyspi() {
- cd ${srcdir}/pyspi-${pkgver}
- python2 setup.py install --root=${pkgdir}
-}
diff --git a/testing/python-pyspi/pyspi-build.patch b/testing/python-pyspi/pyspi-build.patch
deleted file mode 100644
index 3d12c5ed5..000000000
--- a/testing/python-pyspi/pyspi-build.patch
+++ /dev/null
@@ -1,1693 +0,0 @@
-diff -Naur pyspi-0.6.1-old/cspi.pxd pyspi-0.6.1/cspi.pxd
---- pyspi-0.6.1-old/cspi.pxd 2006-08-04 06:27:10.000000000 +1000
-+++ pyspi-0.6.1/cspi.pxd 2009-05-09 15:24:31.000000000 +1000
-@@ -14,9 +14,7 @@
-
- ctypedef struct AccessibleTextRange
- ctypedef struct AccessibleKeySet
-- ctypedef enum SPIBoolean:
-- FALSE = 0,
-- TRUE
-+ ctypedef unsigned int SPIBoolean
-
- ctypedef struct AccessibleEvent:
- char *type
-diff -Naur pyspi-0.6.1-old/pyspi.pyx pyspi-0.6.1/pyspi.pyx
---- pyspi-0.6.1-old/pyspi.pyx 2006-10-03 02:46:41.000000000 +1000
-+++ pyspi-0.6.1/pyspi.pyx 2009-05-09 15:24:31.000000000 +1000
-@@ -25,9 +25,15 @@
- cdef class Event (EventBase)
- cdef class DeviceEvent
-
--ctypedef enum bool:
-+ctypedef unsigned int bool
-+
-+import __builtin__
-+try:
-+ False = __builtin__.False
-+ True = __builtin__.True
-+except AttributeError:
- False = 0
-- True
-+ True = 1
-
- # SPIExceptionCode values:
- (SPI_EXCEPTION_UNSPECIFIED, SPI_EXCEPTION_DISCONNECT, SPI_EXCEPTION_NO_IMPL, SPI_EXCEPTION_IO, SPI_EXCEPTION_BAD_DATA)=range(5)
-@@ -731,7 +737,7 @@
- Wrapper around the low-level cspi.AccessibleComponent_ functions,
- giving an OO-style API.
- """
-- def getExtents (self, type=0):
-+ def getExtents (self, key_type=0):
- """
- Wraps cspi.AccessibleComponent_getExtents, returning an
- (x,y,w,h) tuple.
-@@ -741,7 +747,7 @@
- cspi.AccessibleComponent_getExtents (self.__item, &x, &y, &w, &h, type)
- return (x, y, w, h)
-
-- def getPosition (self, type = 0):
-+ def getPosition (self, key_type = 0):
- """
- Wraps cspi.AccessibleComponent_getPosition, returning an
- (x,y) tuple.
-@@ -991,11 +997,11 @@
- Wraps cspi.AccessibleHyperlink_getObject
- """
- self.__checkSelf ()
-- cdef Accessible object
-- object = Accessible ()
-- object.__setItem (cspi.AccessibleHyperlink_getObject (self.__item, i))
-- object.__checkSelf ()
-- return object
-+ cdef Accessible obj
-+ obj = Accessible ()
-+ obj.__setItem (cspi.AccessibleHyperlink_getObject (self.__item, i))
-+ obj.__checkSelf ()
-+ return obj
-
- def getURI (self, i):
- """
-@@ -1032,7 +1038,7 @@
- cspi.AccessibleImage_getImageSize(self.__item, &w, &h);
- return [w, h]
-
-- def getImagePosition (self, type=0):
-+ def getImagePosition (self, key_type=0):
- """
- Wraps cspi.AccessibleImage_getImagePosition, returning a (x,y)
- pair
-@@ -1042,7 +1048,7 @@
- cspi.AccessibleImage_getImagePosition(self.__item, &x, &y, type)
- return [x, y]
-
-- def getImageExtents (self, type=0):
-+ def getImageExtents (self, key_type=0):
- """
- Wraps cspi.AccessibleImage_getImageExtents, returning a
- (x,y,w,h) tuple
-@@ -1551,7 +1557,7 @@
- cdef cspi.AccessibleDeviceListener *__item
- cdef public object modMasks
-
-- def __init__ (self, callback, eventMask = cspi.SPI_KEY_PRESSED | cspi.SPI_KEY_RELEASED):
-+ def __init__ (self, callback, eventMask = <int> cspi.SPI_KEY_PRESSED | <int> cspi.SPI_KEY_RELEASED):
- """
- Registers a python callback function to be called.
-
-diff -Naur pyspi-0.6.1-old/pyspi.pyx.orig pyspi-0.6.1/pyspi.pyx.orig
---- pyspi-0.6.1-old/pyspi.pyx.orig 1970-01-01 10:00:00.000000000 +1000
-+++ pyspi-0.6.1/pyspi.pyx.orig 2006-10-03 02:46:41.000000000 +1000
-@@ -0,0 +1,1592 @@
-+# Authors:
-+# Zack Cerza <zcerza@redhat.com>
-+# Chris Lee <clee@redhat.com>
-+# Lawrence Lim <llim@redhat.com>
-+# David Malcolm <dmalcolm@redhat.com>
-+
-+cdef class Registry
-+
-+cdef class Base
-+cdef class EventBase
-+cdef class StateSet
-+cdef class Accessible (Base)
-+cdef class Desktop (Accessible)
-+cdef class Application (Accessible)
-+cdef class Component (Accessible)
-+cdef class Action (Base)
-+cdef class Text (Base)
-+cdef class EditableText (Text)
-+cdef class Hypertext (Text)
-+cdef class Hyperlink (Base)
-+cdef class Image (Base)
-+cdef class Value (Base)
-+cdef class Selection (Base)
-+cdef class Table (Base)
-+cdef class Event (EventBase)
-+cdef class DeviceEvent
-+
-+ctypedef enum bool:
-+ False = 0
-+ True
-+
-+# SPIExceptionCode values:
-+(SPI_EXCEPTION_UNSPECIFIED, SPI_EXCEPTION_DISCONNECT, SPI_EXCEPTION_NO_IMPL, SPI_EXCEPTION_IO, SPI_EXCEPTION_BAD_DATA)=range(5)
-+
-+# SPIExceptionType values:
-+(SPI_EXCEPTION_SOURCE_UNSPECIFIED, SPI_EXCEPTION_SOURCE_ACCESSIBLE, SPI_EXCEPTION_SOURCE_REGISTRY, SPI_EXCEPTION_SOURCE_DEVICE)=range(4)
-+
-+# Accessible roles
-+(SPI_ROLE_INVALID, SPI_ROLE_ACCEL_LABEL, SPI_ROLE_ALERT, SPI_ROLE_ANIMATION, SPI_ROLE_ARROW, SPI_ROLE_CALENDAR, SPI_ROLE_CANVAS, SPI_ROLE_CHECK_BOX, SPI_ROLE_CHECK_MENU_ITEM, SPI_ROLE_COLOR_CHOOSER, SPI_ROLE_COLUMN_HEADER, SPI_ROLE_COMBO_BOX, SPI_ROLE_DATE_EDITOR, SPI_ROLE_DESKTOP_ICON, SPI_ROLE_DESKTOP_FRAME, SPI_ROLE_DIAL, SPI_ROLE_DIALOG, SPI_ROLE_DIRECTORY_PANE, SPI_ROLE_DRAWING_AREA, SPI_ROLE_FILE_CHOOSER, SPI_ROLE_FILLER, SPI_ROLE_FONT_CHOOSER, SPI_ROLE_FRAME, SPI_ROLE_GLASS_PANE, SPI_ROLE_HTML_CONTAINER, SPI_ROLE_ICON, SPI_ROLE_IMAGE, SPI_ROLE_INTERNAL_FRAME, SPI_ROLE_LABEL, SPI_ROLE_LAYERED_PANE, SPI_ROLE_LIST, SPI_ROLE_LIST_ITEM, SPI_ROLE_MENU, SPI_ROLE_MENU_BAR, SPI_ROLE_MENU_ITEM, SPI_ROLE_OPTION_PANE, SPI_ROLE_PAGE_TAB, SPI_ROLE_PAGE_TAB_LIST, SPI_ROLE_PANEL, SPI_ROLE_PASSWORD_TEXT, SPI_ROLE_POPUP_MENU, SPI_ROLE_PROGRESS_BAR, SPI_ROLE_PUSH_BUTTON, SPI_ROLE_RADIO_BUTTON, SPI_ROLE_RADIO_MENU_ITEM, SPI_ROLE_ROOT_PANE, SPI_ROLE_ROW_HEADER, SPI_ROLE_SCROLL_BAR, SPI_ROLE_SCROLL_PANE, SPI_ROLE_SEPARATOR, SPI_ROLE_SLIDER, SPI_ROLE_SPIN_BUTTON, SPI_ROLE_SPLIT_PANE, SPI_ROLE_STATUS_BAR, SPI_ROLE_TABLE, SPI_ROLE_TABLE_CELL, SPI_ROLE_TABLE_COLUMN_HEADER, SPI_ROLE_TABLE_ROW_HEADER, SPI_ROLE_TEAROFF_MENU_ITEM, SPI_ROLE_TERMINAL, SPI_ROLE_TEXT, SPI_ROLE_TOGGLE_BUTTON, SPI_ROLE_TOOL_BAR, SPI_ROLE_TOOL_TIP, SPI_ROLE_TREE, SPI_ROLE_TREE_TABLE, SPI_ROLE_UNKNOWN, SPI_ROLE_VIEWPORT, SPI_ROLE_WINDOW, SPI_ROLE_EXTENDED, SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH, SPI_ROLE_RULER, SPI_ROLE_APPLICATION, SPI_ROLE_AUTOCOMPLETE, SPI_ROLE_EDITBAR, SPI_ROLE_EMBEDDED, SPI_ROLE_LAST_DEFINED)=range(79)
-+
-+# Accessible states
-+(SPI_STATE_INVALID, SPI_STATE_ACTIVE, SPI_STATE_ARMED, SPI_STATE_BUSY, SPI_STATE_CHECKED, SPI_STATE_COLLAPSED, SPI_STATE_DEFUNCT, SPI_STATE_EDITABLE, SPI_STATE_ENABLED, SPI_STATE_EXPANDABLE, SPI_STATE_EXPANDED, SPI_STATE_FOCUSABLE, SPI_STATE_FOCUSED, SPI_STATE_HORIZONTAL, SPI_STATE_ICONIFIED, SPI_STATE_MODAL, SPI_STATE_MULTI_LINE, SPI_STATE_MULTISELECTABLE, SPI_STATE_OPAQUE, SPI_STATE_PRESSED, SPI_STATE_RESIZABLE, SPI_STATE_SELECTABLE, SPI_STATE_SELECTED, SPI_STATE_SENSITIVE, SPI_STATE_SHOWING, SPI_STATE_SINGLE_LINE, SPI_STATE_STALE, SPI_STATE_TRANSIENT, SPI_STATE_VERTICAL, SPI_STATE_VISIBLE, SPI_STATE_MANAGES_DESCENDANTS, SPI_STATE_INDETERMINATE) = range(32);
-+
-+# Accessible relation types
-+(SPI_RELATION_NULL, SPI_RELATION_LABEL_FOR, SPI_RELATION_LABELED_BY, SPI_RELATION_CONTROLLER_FOR, SPI_RELATION_CONTROLLED_BY, SPI_RELATION_MEMBER_OF, SPI_RELATION_NODE_CHILD_OF, SPI_RELATION_EXTENDED, SPI_RELATION_FLOWS_TO, SPI_RELATION_FLOWS_FROM, SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY, SPI_RELATION_POPUP_FOR, SPI_RELATION_LAST_DEFINED) = range (15);
-+
-+# AccessibleComponent layers
-+(SPI_LAYER_INVALID, SPI_LAYER_BACKGROUND, SPI_LAYER_CANVAS, SPI_LAYER_WIDGET, SPI_LAYER_MDI, SPI_LAYER_POPUP, SPI_LAYER_OVERLAY, SPI_LAYER_WINDOW, SPI_LAYER_LAST_DEFINED) = range(9)
-+
-+#AccessibleKeySynthType
-+(SPI_KEY_PRESS, SPI_KEY_RELEASE, SPI_KEY_PRESSRELEASE, SPI_KEY_SYM, SPI_KEY_STRING) = range(5)
-+
-+# AccessibleKeyListenerSyncType
-+(SPI_KEYLISTENER_NOSYNC, SPI_KEYLISTENER_SYNCHRONOUS, SPI_KEYLISTENER_CANCONSUME, SPI_KEYLISTENER_ALL_WINDOWS) = range(4)
-+
-+# AccessibleDeviceEventType
-+SPI_KEY_PRESSED = 1<<0
-+SPI_KEY_RELEASED = 1<<1
-+SPI_BUTTON_PRESSED = 1<<2
-+SPI_BUTTON_RELEASED = 1<<3
-+
-+cdef cspi.AccessibleKeySet *SPI_KEYSET_ALL_KEYS
-+SPI_KEYSET_ALL_KEYS = NULL
-+
-+Accessibility_MODIFIER_SHIFT = 1 << 0
-+Accessibility_MODIFIER_SHIFTLOCK = 1 << 1
-+Accessibility_MODIFIER_CONTROL = 1 << 2
-+Accessibility_MODIFIER_ALT = 1 << 3
-+Accessibility_MODIFIER_META = 1 << 4
-+Accessibility_MODIFIER_META2 = 1 << 5
-+Accessibility_MODIFIER_META3 = 1 << 6
-+Accessibility_MODIFIER_NUMLOCK = 1 << 7
-+
-+
-+cdef object string(char * string):
-+ cdef object pyString
-+ pyString = string
-+ cspi.SPI_freeString(string)
-+ return pyString
-+
-+import os
-+class X11Exception(Exception):
-+ def __init__(self, display = os.environ.get('DISPLAY', None)):
-+ self.display = display
-+ def __str__(self):
-+ msg = "Cannot open display"
-+ if self.display: return msg + ': ' + self.display
-+ else: return msg
-+
-+class AtspiException(Exception):
-+ """
-+ Exceptions raised when calls to the AT-SPI C bindings return FALSE to
-+ indicate failure.
-+ """
-+ def __init__(self, message):
-+ self.message = message
-+
-+ def __str__(self):
-+ return "AtspiException: %s"%self.message
-+
-+class SpiException(Exception):
-+ """
-+ Exceptions to be raised in response to an installed
-+ SPIExceptionHandler, corresponding to a SPIException. These appear to
-+ be short-lived structs, so we gather all applicable data immediately
-+ """
-+ def __init__(self, is_fatal, sourceType, exceptionCode, description):
-+ # print "got to __init__"
-+ self.fatal = is_fatal
-+ self.sourceType = sourceType
-+ self.exceptionCode = exceptionCode
-+ self.description = description
-+
-+ # print "leaving __init__"
-+ # print self.fatal
-+ # print self.sourceType
-+ # print self.exceptionCode
-+ # print self.description
-+
-+ def __str__(self):
-+ if self.fatal:
-+ fatalStr = "Fatal"
-+ else:
-+ fatalStr = "Non-fatal"
-+ result = '%s SPIException: type:%s source:%s "%s"'%(fatalStr, self.sourceType, self.exceptionCode, self.description)
-+ return result
-+
-+cdef make_exception(cspi.SPIException *err, cspi.SPIBoolean is_fatal):
-+ # Don't attempt to use SPIAccessibleException_getSource; this is error
-+ # handling code, we don't want to introduce further complications
-+ return SpiException(is_fatal,
-+ cspi.SPIException_getSourceType (err),
-+ cspi.SPIException_getExceptionCode (err),
-+ cspi.SPIException_getDescription (err))
-+
-+
-+def event_main():
-+ cspi.SPI_event_main()
-+
-+def event_quit():
-+ cspi.SPI_event_quit()
-+
-+cdef cspi.SPIBoolean exception_handler (cspi.SPIException *err, cspi.SPIBoolean is_fatal) except *:
-+ # print "got exception!!!"
-+ e = make_exception(err, is_fatal)
-+ raise e
-+
-+# at-spi-<version>/cpsi.h contains:
-+# typedef SPIBoolean (*SPIExceptionHandler) (SPIException *err, SPIBoolean is_fatal);
-+# and
-+# SPIBoolean SPI_exceptionHandlerPush (SPIExceptionHandler *handler);
-+# There's thus an extra unnecessary level of indirection.
-+# We have to jump through the following hoops to get pyrex to deal with this:
-+cdef cspi.SPIExceptionHandler exception_handler_as_type
-+cdef cspi.SPIExceptionHandler* exception_handler_ptr
-+exception_handler_as_type = exception_handler
-+exception_handler_ptr = &exception_handler_as_type
-+
-+global_exception = None
-+
-+cdef class Registry:
-+ def __init__ (self):
-+ cdef Xlib.Display *display
-+ display = Xlib.XOpenDisplay(NULL)
-+ if display == NULL:
-+ raise X11Exception
-+ else:
-+ Xlib.XCloseDisplay(display)
-+
-+ result = cspi.SPI_init ()
-+ #if result!=0:
-+ # raise AtspiException("SPI_init: exit code %s" % str(result))
-+
-+ result = cspi.SPI_exceptionHandlerPush (exception_handler_ptr)
-+ if not result:
-+ raise AtspiException("Unable to install SPI exception handler")
-+
-+ def __dealloc (self):
-+ result = cspi.SPI_exit ()
-+ if result!=0:
-+ raise AtspiException("SPI_init: exit code %s" % str(result))
-+
-+ def getDesktopCount (self):
-+ return cspi.SPI_getDesktopCount()
-+
-+ def getDesktop (self, index = 0):
-+ cdef Desktop desktop
-+ desktop = Desktop ()
-+ if not desktop.__setItem (cspi.SPI_getDesktop (index)):
-+ return False
-+ return desktop
-+
-+ def getDesktopList (self):
-+ # Using the bonobo.activation bindings, getDesktopList() returns a
-+ # Python list of Desktop objects. The C bindings seem to do it differently,
-+ # and Pyrex doesn't like that method. So we're re-implementing the function
-+ # using getDesktopCount() and getDesktop() to work around that.
-+ # Yay for Zack!
-+ #
-+ # -Zack
-+ cdef Desktop desktop
-+ desktops = []
-+ desktop = Desktop ()
-+ for i in xrange (cspi.SPI_getDesktopCount ()):
-+ desktop.__setItem (cspi.SPI_getDesktop (i))
-+ desktops = desktops + [desktop]
-+ return desktops
-+
-+registry = Registry()
-+
-+cdef class Base:
-+ """
-+ Wrapper around a cspi.Accessible
-+ """
-+
-+ cdef cspi.Accessible *__item
-+
-+ def __new__ (self):
-+ self.__item = NULL
-+
-+ def __dealloc__ (self):
-+ if self.__item != NULL:
-+ cspi.Accessible_unref (self.__item)
-+
-+ cdef bool __setItem (self, cspi.Accessible *obj):
-+ if self.__item != NULL:
-+ cspi.Accessible_unref (self.__item)
-+ if obj != NULL:
-+ self.__item = obj
-+ cspi.Accessible_ref (self.__item)
-+ return True
-+ else:
-+ return False
-+
-+ def __checkSelf (self):
-+ assert self.__item != NULL
-+
-+# WHY OH WHY won't this work? :(
-+# I need to be able to find out of two Accessible classes contain
-+# the same cspi.Accessible objects.
-+#
-+# def isSameAs (self, base):
-+# cdef bool foo
-+# foo = self.__item == base.__item
-+# return foo
-+
-+cdef class EventBase:
-+ """
-+ Wrapper around a cspi.AccessibleEvent
-+ """
-+ cdef cspi.AccessibleEvent *__item
-+
-+ def __new__ (self):
-+ self.__item = NULL
-+
-+ def __dealloc__ (self):
-+ if self.__item != NULL:
-+ cspi.AccessibleEvent_unref (self.__item)
-+
-+ cdef bool __setItem (self, cspi.AccessibleEvent *obj):
-+ if self.__item != NULL:
-+ cspi.AccessibleEvent_unref (self.__item)
-+ if obj != NULL:
-+ self.__item = obj
-+ cspi.AccessibleEvent_ref (self.__item)
-+ return True
-+ else:
-+ return False
-+
-+ def __checkSelf (self):
-+ if self.__item == NULL:
-+ raise AttributeError, "__item must not be NULL"
-+
-+ def __getattr__ (self, attrName):
-+ cdef cspi.Accessible* acc
-+ cdef Accessible result
-+ if attrName == "source":
-+ acc = self.__item.source
-+ if acc!=NULL:
-+ result = Accessible ()
-+ result.__setItem (acc)
-+ return result
-+ elif attrName == "detail1":
-+ detail1 = self.__item.detail1
-+ return detail1
-+ elif attrName == "detail2":
-+ detail1 = self.__item.detail2
-+ return detail1
-+ elif attrName == "type":
-+ return self.__item.type
-+
-+cdef class StateSet:
-+ """
-+ Wrapper around a cspi.AccessibleStateSet
-+ """
-+ cdef cspi.AccessibleStateSet *__item
-+
-+ def __new__ (self):
-+ self.__item = NULL
-+
-+ def __dealloc__ (self):
-+ if self.__item != NULL:
-+ cspi.AccessibleStateSet_unref (self.__item)
-+
-+ def __checkSelf (self):
-+ if self.__item == NULL:
-+ raise AttributeError, "__item must not be NULL"
-+
-+ cdef bool __setItem (self, cspi.AccessibleStateSet *obj):
-+ if self.__item != NULL:
-+ cspi.AccessibleStateSet_unref (self.__item)
-+ if obj != NULL:
-+ self.__item = obj
-+ cspi.AccessibleStateSet_ref (self.__item)
-+ return True
-+ else:
-+ return False
-+
-+ cdef bool __contains (self, cspi.AccessibleState s):
-+ self.__checkSelf ()
-+ return cspi.AccessibleStateSet_contains (self.__item, s)
-+
-+ def contains (self, state):
-+ self.__checkSelf ()
-+ return self.__contains(state)
-+
-+ cdef void __add (self, cspi.AccessibleState s):
-+ self.__checkSelf ()
-+ cspi.AccessibleStateSet_add(self.__item, s)
-+
-+ def add (self, state):
-+ self.__checkSelf ()
-+ self.__add (state)
-+
-+ cdef void __remove (self, cspi.AccessibleState s):
-+ self.__checkSelf ()
-+ cspi.AccessibleStateSet_remove (self.__item, s)
-+
-+ def remove (self, state):
-+ self.__checkSelf ()
-+ self.__remove (state)
-+
-+ def __str__ (self):
-+ self.__checkSelf ()
-+ return str(self.states)
-+
-+ def __getattr__(self, name):
-+ if name == "states":
-+ result = []
-+ for state in range(SPI_STATE_INVALID, SPI_STATE_INDETERMINATE):
-+ if self.contains(state):
-+ result.append(state)
-+ return result
-+ else:
-+ raise AttributeError, name
-+
-+cdef class Relation:
-+ """
-+ Wrapper around a cspi.AccessibleRelation
-+ """
-+ cdef cspi.AccessibleRelation *__item
-+
-+ def __new__ (self):
-+ self.__item = NULL
-+
-+ def __dealloc__ (self):
-+ if self.__item != NULL:
-+ cspi.AccessibleRelation_unref (self.__item)
-+
-+ def __checkSelf (self):
-+ if self.__item == NULL:
-+ raise AttributeError, "__item must not be NULL"
-+
-+ def __str__ (self):
-+ self.__checkSelf ()
-+ return "relation %s -> %s"%(self.getRelationType (), self.getTargets())
-+
-+ def __repr__ (self):
-+ self.__checkSelf ()
-+ return "relation %s -> %s"%(self.getRelationType (), self.getTargets())
-+
-+ cdef bool __setItem (self, cspi.AccessibleRelation *obj):
-+ if self.__item != NULL:
-+ cspi.AccessibleRelation_unref (self.__item)
-+ if obj != NULL:
-+ self.__item = obj
-+ cspi.AccessibleRelation_ref (self.__item)
-+ return True
-+ else:
-+ return False
-+
-+ def getNTargets (self):
-+ """
-+ Wrapper around cspi.AccessibleRelation_getNTargets
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleRelation_getNTargets (self.__item)
-+
-+ def getTarget (self, i):
-+ """
-+ Wrapper around cspi.AccessibleRelation_getTarget
-+ """
-+ self.__checkSelf ()
-+ cdef Accessible target
-+ target = Accessible ()
-+ target.__setItem (cspi.AccessibleRelation_getTarget (self.__item, i))
-+ target.__checkSelf ()
-+ return target
-+
-+ def getTargets (self):
-+ """
-+ Gets the targets of this AccessibleRelation as a list of atspi.Accessible
-+ """
-+ self.__checkSelf ()
-+ result = []
-+ count = self.getNTargets()
-+ for i in range(count):
-+ result.append(self.getTarget(i))
-+ return result
-+
-+ def getRelationType (self):
-+ """
-+ Wrapper around cspi.AccessibleRelation_getRelationType
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleRelation_getRelationType (self.__item)
-+
-+cdef class Accessible (Base):
-+ """
-+ Wrapper around cspi.Accessible
-+ """
-+ def __getattr__ (self, name):
-+ if name == "name":
-+ return self.getName ()
-+ elif name == "role":
-+ return self.getRole ()
-+ elif name == "roleName":
-+ return self.getRoleName ()
-+ elif name == "description":
-+ return self.getDescription ()
-+ elif name == "parent":
-+ return self.getParent ()
-+ elif name == "childCount":
-+ return self.getChildCount ()
-+ elif name == "indexInParent":
-+ return self.getIndexInParent ()
-+ elif name == "stateSet":
-+ return self.getStateSet ()
-+ else:
-+ raise AttributeError, name
-+
-+ def getName (self):
-+ """
-+ Wrapper around cspi.Accessible_getName
-+ """
-+ self.__checkSelf()
-+ return string(cspi.Accessible_getName(self.__item))
-+
-+ def getDescription (self):
-+ """
-+ Wrapper around cspi.Accessible_getDescription
-+ """
-+ self.__checkSelf()
-+ return string(cspi.Accessible_getDescription(self.__item))
-+
-+ def getParent (self):
-+ """
-+ Wrapper around cspi.Accessible_getParent, returning an
-+ atspi.Accessible or None
-+ """
-+ self.__checkSelf()
-+ cdef Accessible parent
-+ cdef cspi.Accessible* spiParent
-+
-+ spiParent = cspi.Accessible_getParent (self.__item)
-+ if spiParent!=NULL:
-+ parent = Accessible ()
-+ parent.__setItem (spiParent)
-+ parent.__checkSelf ()
-+ return parent
-+ else:
-+ return None
-+
-+ def getChildAtIndex (self, index):
-+ """
-+ Wrapper around cspi.Accessible_getChildAtIndex, returning an
-+ atspi.Accessible, atspi.Application, or None
-+ """
-+ self.__checkSelf()
-+ cdef int i
-+ i = index
-+
-+ # This hairiness is due to the fact that Pyrex doesn't allow cdefs
-+ # inside if blocks.
-+
-+ cdef cspi.Accessible* spiChild
-+ spiChild = cspi.Accessible_getChildAtIndex (self.__item, i)
-+ # Workaround for GNOME bug #321273
-+ # http://bugzilla.gnome.org/show_bug.cgi?id=321273
-+ if spiChild == NULL: return None
-+
-+ cdef object child
-+ cdef Application app
-+ cdef Accessible acc
-+ cdef Text text
-+
-+ if cspi.Accessible_isApplication (spiChild):
-+ app = Application ()
-+ app.__setItem (spiChild)
-+ child = app
-+ else:
-+ acc = Accessible ()
-+ acc.__setItem (spiChild)
-+ child = acc
-+
-+ return child
-+
-+ def getIndexInParent (self):
-+ """
-+ Wrapper around cspi.Accessible_getIndexInParent
-+ """
-+ self.__checkSelf()
-+ return cspi.Accessible_getIndexInParent (self.__item)
-+
-+ def getRole (self):
-+ """
-+ Wrapper around cspi.Accessible_getRole
-+ """
-+ self.__checkSelf()
-+ return cspi.Accessible_getRole (self.__item)
-+
-+ def getRoleName (self):
-+ """
-+ Wrapper around cspi.Accessible_getRoleName
-+ """
-+ self.__checkSelf()
-+ return string(cspi.Accessible_getRoleName (self.__item))
-+
-+ def getChildCount (self):
-+ """
-+ Wrapper around cspi.Accessible_getChildCount
-+ """
-+ self.__checkSelf()
-+ return cspi.Accessible_getChildCount (self.__item)
-+
-+ def getStateSet (self):
-+ """
-+ Wrapper around cspi.Accessible_getStateSet, returning an
-+ atspi.StateSet
-+ """
-+ self.__checkSelf()
-+ cdef StateSet set
-+ set = StateSet()
-+ set.__setItem (cspi.Accessible_getStateSet (self.__item))
-+ return set
-+
-+ def getInterface (self, interface):
-+ """
-+ This is NOT part of cspi, it is just for compatibility with
-+ the bonobo bindings and will probably go away soon.
-+ """
-+ self.__checkSelf()
-+ return getattr(self, "get%s" % interface) ()
-+
-+ def getAction (self):
-+ """
-+ Wrapper around cspi.Accessible_getAction, returning
-+ an atspi.Action or None
-+ """
-+ self.__checkSelf()
-+ cdef Action action
-+ action = Action ()
-+ action.__setItem (cspi.Accessible_getAction (self.__item))
-+ if action.__item != NULL:
-+ return action
-+
-+ def getText (self):
-+ """
-+ Wrapper around cspi.Accessible_getText, returning an atspi.Text
-+ or None
-+ """
-+ self.__checkSelf ()
-+ cdef Text text
-+ text = Text ()
-+ text.__setItem (cspi.Accessible_getText (self.__item))
-+ if text.__item != NULL:
-+ return text
-+
-+ def getEditableText (self):
-+ """
-+ Wrapper around cspi.Accessible_getText, returning an
-+ atspi.EditableText or None
-+ """
-+ self.__checkSelf ()
-+ cdef EditableText etext
-+ etext = EditableText ()
-+ etext.__setItem (cspi.Accessible_getEditableText (self.__item))
-+ if etext.__item != NULL:
-+ return etext
-+
-+ def getHypertext (self):
-+ """
-+ Wrapper around cspi.Accessible_getHypertext, returning an
-+ atspi.Hypertext or None
-+ """
-+ self.__checkSelf ()
-+ cdef Hypertext hypertext
-+ hypertext = Hypertext ()
-+ hypertext.__setItem (cspi.Accessible_getHypertext (self.__item))
-+ if hypertext.__item != NULL:
-+ return hypertext
-+
-+ def getImage (self):
-+ """
-+ Wrapper around cspi.Accessible_getImage, returning an
-+ atspi.Image or None
-+ """
-+ self.__checkSelf ()
-+ cdef Image image
-+ image = Image ()
-+ image.__setItem (cspi.Accessible_getImage (self.__item))
-+ if image.__item != NULL:
-+ return image
-+
-+ def getValue (self):
-+ """
-+ Wrapper around cspi.Accessible_getValue, returning an
-+ atspi.Value or None
-+ """
-+ self.__checkSelf ()
-+ cdef Value value
-+ value = Value ()
-+ value.__setItem (cspi.Accessible_getValue (self.__item))
-+ if value.__item != NULL:
-+ return value
-+
-+ def getSelection (self):
-+ """
-+ Wrapper around cspi.Accessible_getSelection, returning an
-+ atspi.Selection or None
-+ """
-+ self.__checkSelf ()
-+ cdef Selection selection
-+ selection = Selection ()
-+ selection.__setItem (cspi.Accessible_getSelection (self.__item))
-+ if selection.__item != NULL:
-+ return selection
-+
-+ def getComponent (self):
-+ """
-+ Wrapper around cspi.Accessible_getComponent, returning an
-+ atspi.Component or None
-+ """
-+ self.__checkSelf ()
-+ cdef Component component
-+ component = Component ()
-+ component.__setItem (cspi.Accessible_getComponent (self.__item))
-+ if component.__item != NULL:
-+ return component
-+
-+ def getRelationSet (self):
-+ """
-+ Wraps Accessible_getRelationSet, returning a list
-+ of atspi.Relation
-+ """
-+ # looking at at-poke, result from C API appears to be a NULL-terminated list of pointers, and that we should free the buffer
-+ self.__checkSelf ()
-+ cdef Relation relation
-+
-+ relations = []
-+ cdef cspi.AccessibleRelation **relationSet
-+ relationSet = cspi.Accessible_getRelationSet (self.__item)
-+
-+ i=0
-+ while relationSet[i]:
-+ relation = Relation ()
-+ relation.__setItem (relationSet[i])
-+ relations.append(relation)
-+ i=i+1
-+ cspi.free (relationSet)
-+
-+ return relations
-+
-+
-+cdef class Desktop (Accessible):
-+ pass
-+
-+
-+cdef class Application (Accessible):
-+ """
-+ Wrapper around the low-level cspi.AccessibleApplication_ functions,
-+ giving an OO-style API.
-+ """
-+ def getToolkit (self):
-+ """
-+ Wraps AccessibleApplication_getToolkitName, returning a string
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleApplication_getToolkitName (self.__item)
-+
-+ def getVersion (self):
-+ """
-+ Wraps AccessibleApplication_getVersion, returning a string
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleApplication_getVersion(self.__item)
-+
-+ def getID (self):
-+ """
-+ Wraps AccessibleApplication_getID, returning a string
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleApplication_getID (self.__item)
-+
-+ def pause (self):
-+ """
-+ Wraps AccessibleApplication_pause
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleApplication_pause (self.__item)
-+
-+ def resume (self):
-+ """
-+ Wraps AccessibleApplication_resume
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleApplication_resume (self.__item)
-+
-+cdef class Component (Accessible):
-+ """
-+ Wrapper around the low-level cspi.AccessibleComponent_ functions,
-+ giving an OO-style API.
-+ """
-+ def getExtents (self, type=0):
-+ """
-+ Wraps cspi.AccessibleComponent_getExtents, returning an
-+ (x,y,w,h) tuple.
-+ """
-+ self.__checkSelf ()
-+ cdef long x, y, w, h
-+ cspi.AccessibleComponent_getExtents (self.__item, &x, &y, &w, &h, type)
-+ return (x, y, w, h)
-+
-+ def getPosition (self, type = 0):
-+ """
-+ Wraps cspi.AccessibleComponent_getPosition, returning an
-+ (x,y) tuple.
-+ """
-+ self.__checkSelf ()
-+ cdef long x, y
-+ cspi.AccessibleComponent_getPosition (self.__item, &x, &y, type)
-+ return (x, y)
-+
-+ def getSize (self):
-+ """
-+ Wraps cspi.AccessibleComponent_getSize, returning a
-+ (w,h) tuple.
-+ """
-+ self.__checkSelf ()
-+ cdef long w, h
-+ cspi.AccessibleComponent_getSize (self.__item, &w, &h)
-+ return (w, h)
-+
-+ def getLayer (self):
-+ """
-+ Wraps cspi.AccessibleComponent_getLayer, returning an
-+ AccessibleComponentLayer.
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleComponent_getLayer (self.__item)
-+
-+ def grabFocus (self):
-+ """
-+ Wraps cspi.AccessibleComponent_grabFocus, raising AtspiException
-+ if it fails
-+ """
-+ self.__checkSelf ()
-+ if not cspi.AccessibleComponent_grabFocus (self.__item):
-+ raise AtspiException("AccessibleComponent_grabFocus")
-+
-+ def getMDIZOrder (self):
-+ """
-+ Wraps cspi.AccessibleComponent_getMDIZOrder, returning an integer.
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleComponent_getMDIZOrder(self.__item)
-+
-+cdef class Action (Base):
-+ """
-+ Wrapper around the low-level cspi.AccessibleAction_ functions,
-+ giving an OO-style API.
-+ """
-+ def __getattr__ (self, name):
-+ if name == "nActions":
-+ return self.getNActions ()
-+ else:
-+ raise AttributeError, name
-+
-+ def getNActions (self):
-+ """
-+ Wraps cspi.AccessibleAction_getNActions
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleAction_getNActions (self.__item)
-+
-+ def doAction (self, index):
-+ """
-+ Wraps cspi.AccessibleAction_doAction
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleAction_doAction (self.__item, index)
-+
-+ def getKeyBinding (self, index):
-+ """
-+ Wraps cspi.AccessibleAction_getKeyBinding
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleAction_getKeyBinding (self.__item, index)
-+
-+ def getName (self, index):
-+ """
-+ Wraps cspi.AccessibleAction_getName
-+ """
-+ self.__checkSelf ()
-+ return string(cspi.AccessibleAction_getName (self.__item, index))
-+
-+ def getDescription (self, index):
-+ """
-+ Wraps cspi.AccessibleAction_getDescription
-+ """
-+ self.__checkSelf ()
-+ return string(cspi.AccessibleAction_getDescription (self.__item, index))
-+
-+
-+cdef class Text (Base):
-+ """
-+ Wrapper around the low-level cspi.AccessibleText_ functions,
-+ giving an OO-style API.
-+ """
-+ def addSelection (self, startOffset, endOffset):
-+ """
-+ Wraps cspi.AccessibleText_addSelection
-+ """
-+ self.__checkSelf ()
-+ if not cspi.AccessibleText_addSelection (self.__item, startOffset, endOffset):
-+ raise AtspiException("AccessibleText_addSelection")
-+
-+
-+ #def getAttributes (self, offset, startOffset, endOffset):
-+ # self.__checkSelf ()
-+ # return cspi.AccessibleText_getAttributes (self.__item, offset, startOffset, endOffset)
-+ def getCaretOffset (self):
-+ """
-+ Wraps cspi.AccessibleText_getCaretOffset
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleText_getCaretOffset (self.__item)
-+
-+ def getCharacterCount (self):
-+ """
-+ Wraps cspi.AccessibleText_getCharacterCount
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleText_getCharacterCount (self.__item)
-+
-+ def getNSelections (self):
-+ """
-+ Wraps cspi.AccessibleText_getNSelections
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleText_getNSelections (self.__item)
-+
-+ #def getSelection (self, selectionNum, startOffset, endOffset):
-+ # self.__checkSelf ()
-+ # return cspi.AccessibleText_getSelection (self.__item, selectionNum, startOffset, endOffset)
-+
-+ def getText (self, startOffset, endOffset):
-+ """
-+ Wraps cspi.AccessibleText_getText
-+ """
-+ self.__checkSelf ()
-+ return string(cspi.AccessibleText_getText (self.__item, startOffset, endOffset))
-+
-+ def removeSelection (self, selectionNum):
-+ """
-+ Wraps cspi.AccessibleText_removeSelection, raising AtspiException if it fails
-+ """
-+ self.__checkSelf ()
-+ if not cspi.AccessibleText_removeSelection (self.__item, selectionNum):
-+ raise AtspiException("AccessibleText_removeSelection")
-+
-+ def setSelection (self, selectionNum, startOffset, endOffset):
-+ """
-+ Wraps cspi.AccessibleText_setSelection, raising AtspiException if it fails
-+ """
-+ self.__checkSelf ()
-+ if not cspi.AccessibleText_setSelection (self.__item, selectionNum, startOffset, endOffset):
-+ raise AtspiException("AccessibleText_setSelection")
-+
-+ def setCaretOffset (self, position):
-+ """
-+ Wraps cspi.AccessibleText_setCaretOffset, raising AtspiException if it fails
-+ """
-+ self.__checkSelf ()
-+ if not cspi.AccessibleText_setCaretOffset (self.__item, position):
-+ raise AtspiException("AccessibleText_setCaretOffset")
-+
-+cdef class EditableText (Text):
-+ """
-+ Wrapper around the low-level cspi.AccessibleEditableText_ functions,
-+ giving an OO-style API.
-+ """
-+ def setTextContents (self, newContents):
-+ """
-+ Wraps cspi.AccessibleEditableText_setTextContents, raising AtspiException if it fails
-+ """
-+ self.__checkSelf ()
-+ if not cspi.AccessibleEditableText_setTextContents (self.__item, newContents):
-+ raise AtspiException("AccessibleEditableText_setTextContents")
-+
-+ def setAttributes (self, attributes, startOffset, endOffset):
-+ """
-+ Wraps cspi.AccessibleEditableText_setAttributes, raising AtspiException if it fails
-+ """
-+ self.__checkSelf ()
-+ if not cspi.AccessibleEditableText_setAttributes (self.__item, attributes, startOffset, endOffset):
-+ raise AtspiException("AccessibleEditableText_setAttributes")
-+
-+ def insertText (self, position, text):
-+ """
-+ Wraps cspi.AccessibleEditableText_insertText, raising AtspiException if it fails
-+ """
-+ self.__checkSelf ()
-+ if not cspi.AccessibleEditableText_insertText (self.__item, position, text, cspi.strlen(text)):
-+ raise AtspiException("AccessibleEditableText_insertText")
-+
-+cdef class Hypertext (Text):
-+ """
-+ Wrapper around the low-level cspi.AccessibleHypertext_ functions,
-+ giving an OO-style API.
-+ """
-+ def getNLinks (self):
-+ """
-+ Wraps cspi.AccessibleHypertext_getNLinks, raising AtspiException if it fails
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleHypertext_getNLinks (self.__item)
-+
-+ def getLink (self, linkIndex):
-+ """
-+ Wraps cspi.AccessibleHypertext_getLink, raising AtspiException if it fails
-+ """
-+ self.__checkSelf ()
-+ cdef Hyperlink hyperlink
-+ hyperlink = Hyperlink ()
-+ hyperlink.__setItem (cspi.AccessibleHypertext_getLink (self.__item, linkIndex))
-+ if hyperlink.__item != NULL:
-+ return hyperlink
-+
-+ def getLinkIndex (self, characterOffset):
-+ """
-+ Wraps cspi.AccessibleHypertext_getLinkIndex, raising AtspiException if it fails
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleHypertext_getLinkIndex (self.__item, characterOffset)
-+
-+cdef class Hyperlink (Base):
-+ """
-+ Wrapper around the low-level cspi.AccessibleHyperlink_ functions,
-+ giving an OO-style API.
-+ """
-+ def getNAnchors (self):
-+ """
-+ Wraps cspi.AccessibleHyperlink_getNAnchors, raising AtspiException if it fails
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleHyperlink_getNAnchors (self.__item)
-+
-+ def getIndexRange (self):
-+ """
-+ Wraps cspi.AccessibleHyperlink_getIndexRange, returning [startIndex, endIndex] pair
-+ """
-+ self.__checkSelf ()
-+ cdef long startIndex, endIndex
-+ cspi.AccessibleHyperlink_getIndexRange(self.__item, &startIndex, &endIndex)
-+ return [startIndex, endIndex]
-+
-+
-+ def getObject (self, i):
-+ """
-+ Wraps cspi.AccessibleHyperlink_getObject
-+ """
-+ self.__checkSelf ()
-+ cdef Accessible object
-+ object = Accessible ()
-+ object.__setItem (cspi.AccessibleHyperlink_getObject (self.__item, i))
-+ object.__checkSelf ()
-+ return object
-+
-+ def getURI (self, i):
-+ """
-+ Wraps cspi.AccessibleHyperlink_getURI, raising AtspiException if it fails
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleHyperlink_getURI (self.__item, i)
-+
-+ def isValid (self):
-+ """
-+ Wraps cspi.AccessibleHyperlink_isValid, raising AtspiException if it fails
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleHyperlink_isValid (self.__item)
-+
-+cdef class Image (Base):
-+ """
-+ Wrapper around the low-level cspi.AccessibleImage_ functions,
-+ giving an OO-style API.
-+ """
-+ def getImageDescription (self):
-+ """
-+ Wraps cspi.AccessibleImage_getImageDescription
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleImage_getImageDescription (self.__item)
-+
-+ def getImageSize (self):
-+ """
-+ Wraps cspi.AccessibleImage_getImageSize, returning a (w,h) pair
-+ """
-+ self.__checkSelf ()
-+ cdef long w, h
-+ cspi.AccessibleImage_getImageSize(self.__item, &w, &h);
-+ return [w, h]
-+
-+ def getImagePosition (self, type=0):
-+ """
-+ Wraps cspi.AccessibleImage_getImagePosition, returning a (x,y)
-+ pair
-+ """
-+ self.__checkSelf ()
-+ cdef long x, y
-+ cspi.AccessibleImage_getImagePosition(self.__item, &x, &y, type)
-+ return [x, y]
-+
-+ def getImageExtents (self, type=0):
-+ """
-+ Wraps cspi.AccessibleImage_getImageExtents, returning a
-+ (x,y,w,h) tuple
-+ """
-+ self.__checkSelf ()
-+ cdef long x, y, w, h
-+ cspi.AccessibleImage_getImageExtents(self.__item, &x, &y, &w, &h, type)
-+ return [x, y, w, h]
-+
-+cdef class Value (Base):
-+ """
-+ Wrapper around the low-level cspi.AccessibleValue_ functions,
-+ giving an OO-style API.
-+ """
-+ def getMinimumValue (self):
-+ """
-+ Wraps cspi.AccessibleValue_getMinimumValue
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleValue_getMinimumValue(self.__item)
-+
-+ def getCurrentValue (self):
-+ """
-+ Wraps cspi.AccessibleValue_getMinimumValue
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleValue_getCurrentValue(self.__item)
-+
-+ def getMaximumValue (self):
-+ """
-+ Wraps cspi.AccessibleValue_getMinimumValue
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleValue_getMaximumValue(self.__item)
-+
-+ def setCurrentValue (self, newValue):
-+ """
-+ Wraps cspi.AccessibleValue_setCurrentValue
-+ """
-+ self.__checkSelf ()
-+ if not cspi.AccessibleValue_setCurrentValue (self.__item, newValue):
-+ raise AtspiException("AccessibleValue_setCurrentValue")
-+
-+cdef class Selection (Base):
-+ """
-+ Wrapper around the low-level cspi.AccessibleSelection_ functions,
-+ giving an OO-style API.
-+ """
-+
-+ def getNSelectedChildren (self):
-+ """
-+ Wraps cspi.AccessibleSelection_getNSelectedChildren
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleSelection_getNSelectedChildren (self.__item)
-+
-+ def getSelectedChild (self, index):
-+ """
-+ Wraps cspi.AccessibleSelection_getSelectedChild
-+ """
-+ self.__checkSelf ()
-+
-+ cdef cspi.Accessible* spiChild
-+ spiChild = cspi.AccessibleSelection_getSelectedChild (self.__item, index)
-+
-+ assert spiChild != NULL
-+
-+ cdef object child
-+ cdef Application app
-+ cdef Accessible acc
-+ cdef Text text
-+
-+ if cspi.Accessible_isApplication (spiChild):
-+ app = Application ()
-+ app.__setItem (spiChild)
-+ child = app
-+ else:
-+ acc = Accessible ()
-+ acc.__setItem (spiChild)
-+ child = acc
-+
-+ return child
-+
-+ def selectChild (self, index):
-+ """
-+ Wraps cspi.AccessibleSelection_selectChild
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleSelection_selectChild (self.__item, index)
-+
-+ def deselectSelectedChild (self, index):
-+ """
-+ Wraps cspi.AccessibleSelection_deselectSelectedChild
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleSelection_deselectSelectedChild (self.__item, index)
-+
-+ def isChildSelected (self, index):
-+ """
-+ Wraps cspi.AccessibleSelection_isChildSelected
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleSelection_isChildSelected (self.__item, index)
-+
-+ def selectAll (self):
-+ """
-+ Wraps cspi.AccessibleSelection_selectAll
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleSelection_selectAll( self.__item)
-+
-+ def clearSelection (self):
-+ """
-+ Wraps cspi.AccessibleSelection_clearSelection
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleSelection_clearSelection (self.__item)
-+
-+cdef class Table (Base):
-+ """
-+ Wrapper around the low-level cspi.AccessibleTable_ functions,
-+ giving an OO-style API.
-+ """
-+
-+ # def getTableAccessibleAt (self, row, column):
-+ # def getTableCaption (self):
-+
-+ def getTableColumnAtIndex (self, index):
-+ """
-+ Wraps cspi.AccessibleTable_getColumnAtIndex
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleTable_getColumnAtIndex(self.__item, index)
-+
-+ def getTableColumnDescription (self, column):
-+ """
-+ Wraps cspi.AccessibleTable_getColumnDescription
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleTable_getColumnDescription(self.__item, column)
-+
-+ def getTableColumnExtentAt (self, row, column):
-+ """
-+ Wraps cspi.AccessibleTable_getColumnExtentAt
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleTable_getColumnExtentAt(self.__item, row, column)
-+
-+ # def getTableColumnHeader (self, column):
-+
-+ def getTableIndexAt (self, row, column):
-+ """
-+ Wraps cspi.AccessibleTable_getIndexAt
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleTable_getIndexAt(self.__item, row, column)
-+
-+ def getTableNColumns (self):
-+ """
-+ Wraps cspi.AccessibleTable_getNColumns
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleTable_getNColumns(self.__item)
-+
-+ def getTableNRows (self):
-+ """
-+ Wraps cspi.AccessibleTable_getNRows
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleTable_getNRows(self.__item)
-+
-+ def getTableNSelectedColumns (self):
-+ """
-+ Wraps cspi.AccessibleTable_getNSelectedColumns
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleTable_getNSelectedColumns(self.__item)
-+
-+ def getTableNSelectedRows (self):
-+ """
-+x Wraps cspi.AccessibleTable_getNSelectedRows
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleTable_getNSelectedRows(self.__item)
-+
-+ def getTableRowAtIndex (self, index):
-+ """
-+ Wraps cspi.AccessibleTable_getRowAtIndex
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleTable_getRowAtIndex(self.__item, index)
-+
-+ def getTableRowDescription (self, row):
-+ """
-+ Wraps cspi.AccessibleTable_getRowDescription
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleTable_getRowDescription(self.__item, row)
-+
-+ def getTableRowExtentAt (self, row, column):
-+ """
-+ Wraps cspi.AccessibleTable_getRowExtentAt
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleTable_getRowExtentAt(self.__item, row, column)
-+
-+ # def getTableRowHeader (self, row):
-+ # def getTableSelectedRows (self, **selectedRows): - Not sure if the variable which is a pointer to a pointer is acceptable
-+ # def getTableSelectedColumns (self, **selectedColumns): - Same issue as above
-+ # def getTableSummary (self):
-+
-+ def isTableColumnSelected (self, column):
-+ """
-+ Wraps cspi.AccessibleTable_isColumnSelected
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleTable_isColumnSelected(self.__item, column)
-+
-+ def isTableRowSelected (self, row):
-+ """
-+ Wraps cspi.AccessibleTable_isRowSelected
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleTable_isRowSelected(self.__item, row)
-+
-+ def isTableSelected (self, row, column):
-+ """
-+ Wraps cspi.AccessibleTable_isSelected
-+ """
-+ self.__checkSelf ()
-+ return cspi.AccessibleTable_isSelected(self.__item, row, column)
-+
-+
-+cdef class Event (EventBase):
-+ #def AccessibleEventListener* SPI_createAccessibleEventListener (AccessibleEventListenerCB callback, void *user_data)
-+ #void AccessibleEventListener_unref (AccessibleEventListener *listener)
-+ #SPIBoolean AccessibleEventListener_addCallback (AccessibleEventListener *listener, AccessibleEventListenerCB callback, void *user_data)
-+ #SPIBoolean AccessibleEventListener_removeCallback (AccessibleEventListener *listener, AccessibleEventListenerCB callback)
-+
-+ #Accessible* AccessibleActiveDescendantChangedEvent_getActiveDescendant (AccessibleEvent *event)
-+ #Accessible* AccessibleChildChangedEvent_getChildAccessible (AccessibleEvent *event)
-+
-+ def getDescriptionChangedEventDescriptionString (self):
-+ self.__checkSelf()
-+ return string(cspi.AccessibleDescriptionChangedEvent_getDescriptionString(self.__item))
-+
-+ def getNameChangedEventNameString (self):
-+ self.__checkSelf()
-+ return string(cspi.AccessibleNameChangedEvent_getNameString(self.__item))
-+
-+ # Accessible* AccessibleParentChangedEvent_getParentAccessible (AccessibleEvent *event)
-+
-+ def getTableCaptionChangedEventCaptionString(self):
-+ self.__checkSelf()
-+ return string(cspi.AccessibleTableCaptionChangedEvent_getCaptionString(self.__item))
-+
-+ def getTableColumnDescriptionChangedEventDescriptionString(self):
-+ self.__checkSelf ()
-+ return string(cspi.AccessibleTableColumnDescriptionChangedEvent_getDescriptionString(self.__item))
-+
-+ # Accessible* AccessibleTableHeaderChangedEvent_getHeaderAccessible (AccessibleEvent *event)
-+
-+ def getTableRowDescriptionChangedEventDescriptionString(self):
-+ self.__checkSelf ()
-+ return string(cspi.AccessibleTableRowDescriptionChangedEvent_getDescriptionString(self.__item))
-+
-+ #Accessible* AccessibleTableSummaryChangedEvent_getSummaryAccessible (AccessibleEvent *event)
-+
-+ def getTextChangedEventChangeString (self):
-+ self.__checkSelf ()
-+ return string(cspi.AccessibleTextChangedEvent_getChangeString(self.__item))
-+
-+ def getTextSelectionChangedEventSelectionString (self):
-+ self.__checkSelf ()
-+ return string(cspi.AccessibleTextSelectionChangedEvent_getSelectionString(self.__item))
-+
-+ def getWindowEventTitleString (self):
-+ self.__checkSelf ()
-+ return string(cspi.AccessibleWindowEvent_getTitleString(self.__item))
-+
-+class EventGenerator:
-+ """
-+ Wrapper layer around SPI_generateKeyboardEvent and
-+ SPI_generateMouseEvent, used for generating input events.
-+
-+ Use AccessibleAction in preference to this.
-+ """
-+ def injectKeyboardString (self, string):
-+ """
-+ Inject a string as if it had been typed using an input method.
-+ """
-+ # Seems to only work if you do it one character at a time...
-+ for char in string:
-+ self.__generateKeystringEvent (str(char), cspi.SPI_KEY_STRING)
-+
-+ def __keyStringToKeyCode(self, keyString):
-+ cdef Xlib.Display *display
-+ display = Xlib.XOpenDisplay(NULL)
-+
-+ cdef Xlib.KeySym sym
-+ sym = Xlib.XStringToKeysym(keyString)
-+ cdef Xlib.KeyCode code
-+ code = Xlib.XKeysymToKeycode(display, sym)
-+
-+ #print str(keyString), str(int(sym)), code
-+
-+ Xlib.XCloseDisplay(display)
-+ return int(code)
-+
-+ def generateKeyCombo (self, keyStrings):
-+ modifiers = keyStrings[:-1]
-+ finalKey = keyStrings[-1]
-+
-+ for modifier in modifiers:
-+ code = self.__keyStringToKeyCode(modifier)
-+ self.generateKeyboardEvent(code, '', cspi.SPI_KEY_PRESS)
-+
-+ code = self.__keyStringToKeyCode(finalKey)
-+ self.generateKeyboardEvent(code, '', cspi.SPI_KEY_PRESSRELEASE)
-+
-+ for modifier in modifiers:
-+ code = self.__keyStringToKeyCode(modifier)
-+ self.generateKeyboardEvent(code, '', cspi.SPI_KEY_RELEASE)
-+
-+
-+ def __generateKeyvalEvent (self, keyval, synthType):
-+ self.generateKeyboardEvent (keyval, None, synthType)
-+
-+ def __generateKeystringEvent (self, keystring, synthType):
-+ self.generateKeyboardEvent (0, keystring, synthType)
-+
-+ def generateKeyboardEvent (self, keyval, keystring, synthType):
-+ if not cspi.SPI_generateKeyboardEvent (keyval, keystring, synthType):
-+ raise AtspiException("SPI_generateKeyboardEvent")
-+
-+ def click (self, x, y, button):
-+ """
-+ Synthesize a mouse button click at (x,y)
-+ """
-+ self.__generateButtonEvent (x, y, button, "c")
-+
-+ def doubleClick (self, x, y, button):
-+ """
-+ Synthesize a mouse button double-click at (x,y)
-+ """
-+ self.__generateButtonEvent (x, y, button, "d")
-+
-+ def press (self, x, y, button):
-+ """
-+ Synthesize a mouse button press at (x,y)
-+ """
-+ self.__generateButtonEvent (x, y, button, "p")
-+
-+ def release (self, x, y, button):
-+ """
-+ Synthesize a mouse button release at (x,y)
-+ """
-+ self.__generateButtonEvent (x, y, button, "r")
-+
-+ def absoluteMotion (self, x, y):
-+ """
-+ Synthesize mouse absolute motion to (x,y)
-+ """
-+ self.__generateEvent (x, y, "abs")
-+
-+ def relativeMotion (self, x, y):
-+ """
-+ Synthesize mouse relative motion of (x,y)
-+ """
-+ self.__generateEvent (x, y, "rel")
-+
-+ def drag (self, fromXY, toXY, button):
-+ """
-+ Synthesize a drag (press, move and release) from (x,y) to (x,y).
-+
-+ These are absolute screen coordinates
-+ """
-+ (x,y) = fromXY
-+ self.press (x, y, button)
-+
-+ (x,y) = toXY
-+ self.absoluteMotion(x,y)
-+
-+ self.release (x, y, button)
-+
-+ def __generateEvent (self, x, y, name):
-+ """
-+ Thin wrapper around SPI_generateMouseEvent.
-+
-+ Event names: b1p = button 1 press; b2r = button 2 release;
-+ b3c = button 3 click; b2d = button 2 double-click;
-+ abs = absolute motion; rel = relative motion.
-+ """
-+ if not cspi.SPI_generateMouseEvent (x, y, name):
-+ raise AtspiException("Error generating mouse event")
-+
-+ def __generateButtonEvent (self, x, y, button, suffix):
-+ self.__generateEvent (x, y, self.__generateButtonName(button)+suffix)
-+
-+ def __generateButtonName(self, button):
-+ if button==1:
-+ return "b1"
-+ elif button==2:
-+ return "b2"
-+ elif button==3:
-+ return "b3"
-+ else: raise ValueError, "Unknown button"
-+
-+# We use this C function to marshal a call to a python function. The Python callback
-+# function is installed as the userdata of this C callback function. See the
-+# "cheesefinder" demo in the Pyrex sources.
-+# We ignore the "const"ness of the AccessibleEvent
-+cdef void marshalAccessibleEventCallback (cspi.AccessibleEvent *event, void *python_fn) except *:
-+ e = Event()
-+ EventBase.__setItem(e, event)
-+ (<object>python_fn) (e)
-+
-+cdef class EventListener:
-+ """
-+ Wrapper around the low-level cspi.AccessibleEventListener_ functions,
-+ giving an OO-style API.
-+ """
-+ cdef cspi.AccessibleEventListener *__item
-+ cdef public object eventTypes
-+
-+ def __init__ (self, callback, eventTypes):
-+ """
-+ Registers a python callback function to be called.
-+ The callback is expected to have one input, of type atspi.Event, and no return value.
-+ See documentation of SPI_registerGlobalEventListener for the event names
-+ """
-+ self.eventTypes = eventTypes
-+ self.__item = cspi.SPI_createAccessibleEventListener (marshalAccessibleEventCallback, <void*>callback)
-+ for eventType in self.eventTypes:
-+ #char *e
-+ e = eventType
-+ if not cspi.SPI_registerGlobalEventListener (self.__item, e):
-+ raise AtspiException("Unable to register event listener")
-+
-+ def deregister(self):
-+ for eventType in self.eventTypes:
-+ cspi.SPI_deregisterGlobalEventListener(self.__item, eventType)
-+
-+ def __dealloc__ (self):
-+ if self.__item != NULL:
-+ self.deregister()
-+ cspi.AccessibleEventListener_unref (self.__item)
-+
-+ def __checkSelf (self):
-+ if self.__item == NULL:
-+ raise AttributeError, "__item must not be NULL"
-+
-+cdef class DeviceEvent:
-+ """
-+ Wrapper around a cspi.AccessibleDeviceEvent
-+ """
-+ cdef cspi.AccessibleDeviceEvent *__item
-+ cdef public object keyID
-+ cdef public object keyCode
-+ cdef public object keyString
-+ cdef public object timeStamp
-+ cdef public object type
-+ cdef public object modifiers
-+ cdef public object isText
-+
-+ def __new__ (self):
-+ self.__item = NULL
-+
-+ cdef bool __setItem (self, cspi.AccessibleDeviceEvent *obj):
-+ if obj != NULL:
-+ self.__item = obj
-+ self.keyID = self.__item.keyID
-+ self.keyCode = self.__item.keycode
-+ self.keyString = self.__item.keystring
-+ self.timeStamp = self.__item.timestamp
-+ self.type = self.__item.type
-+ self.modifiers = self.__item.modifiers
-+ if self.__item.is_text: self.isText = True
-+ else: self.isText = False
-+ return True
-+ else:
-+ return False
-+
-+ def __checkSelf (self):
-+ if self.__item == NULL:
-+ raise AttributeError, "__item must not be NULL"
-+
-+# def __dealloc__ (self):
-+# if self.__item != NULL:
-+# cspi.AccessibleDeviceEvent_unref (self.__item)
-+
-+
-+cdef cspi.SPIBoolean marshalAccessibleDeviceEventCallback (cspi.AccessibleDeviceEvent *event, void *python_fn) except 1:
-+ k = DeviceEvent()
-+ #k.__setItem(event)
-+ DeviceEvent.__setItem(k, event)
-+ k.__checkSelf()
-+ (<object>python_fn) (k)
-+ return False
-+
-+cdef class DeviceListener:
-+ """
-+ Wrapper around the low-level cspi.AccessibleDeviceListener_ functions,
-+ giving an OO-style API.
-+ """
-+ cdef cspi.AccessibleDeviceListener *__item
-+ cdef public object modMasks
-+
-+ def __init__ (self, callback, eventMask = cspi.SPI_KEY_PRESSED | cspi.SPI_KEY_RELEASED):
-+ """
-+ Registers a python callback function to be called.
-+
-+ eventMask may be one of the following:
-+ key pressed: 1
-+ key released: 2
-+ key pressed or released (default): 3
-+ """
-+ self.__item = cspi.SPI_createAccessibleDeviceListener (marshalAccessibleDeviceEventCallback, <void*>callback)
-+ cdef cspi.AccessibleKeySet *keySet
-+ keySet = SPI_KEYSET_ALL_KEYS
-+ self.modMasks = []
-+ cdef short int modMask
-+ syncType = SPI_KEYLISTENER_SYNCHRONOUS | SPI_KEYLISTENER_CANCONSUME
-+ #syncType = SPI_KEYLISTENER_NOSYNC
-+ for modMask from 0 <= modMask < (1 << 8):
-+ self.modMasks.append(modMask)
-+ desc = "keySet "+str(<int> keySet)+" modMask "+str(modMask)+" eventMask "+str(eventMask)+" syncType "+str(syncType)
-+ desc = str(desc)
-+ if not cspi.SPI_registerAccessibleKeystrokeListener (self.__item, keySet, modMask, eventMask, syncType):
-+ raise AtspiException("Unable to register keystroke listener", desc)
-+
-+ def deregister(self):
-+ if self.__item != NULL:
-+ for modMask in self.modMasks:
-+ cspi.SPI_deregisterAccessibleKeystrokeListener(self.__item, modMask)
-+
-+ def __dealloc__ (self):
-+ if self.__item != NULL:
-+ self.deregister()
-+ cspi.AccessibleDeviceListener_unref (self.__item)
-+
-+ def __checkSelf (self):
-+ if self.__item == NULL:
-+ raise AttributeError, "__item must not be NULL"
-+
-+
-+# vim: sw=4 ts=4 sts=4 noet ai
diff --git a/testing/python-pysqlite/PKGBUILD b/testing/python-pysqlite/PKGBUILD
deleted file mode 100644
index 5e889eab9..000000000
--- a/testing/python-pysqlite/PKGBUILD
+++ /dev/null
@@ -1,38 +0,0 @@
-# $Id: PKGBUILD 168875 2012-10-16 11:55:25Z allan $
-# Maintainer: Angel Velasquez <angvp@archlinux.org>
-# Contributor: Aaron Griffin <aaron@archlinux.org>
-# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
-
-pkgbase=python-pysqlite
-pkgname=python2-pysqlite
-pkgver=2.6.3
-pkgrel=3
-pkgdesc="A Python DB-API 2.0 interface for the SQLite embedded relational database engine"
-license=('custom')
-arch=('i686' 'x86_64')
-url="http://code.google.com/p/pysqlite/"
-depends=('python2' 'sqlite')
-conflicts=('python-pysqlite<=2.6.3-2')
-replaces=('python-pysqlite<=2.6.3-2')
-source=(http://pysqlite.googlecode.com/files/pysqlite-${pkgver}.tar.gz \
- setup.cfg)
-md5sums=('711afa1062a1d2c4a67acdf02a33d86e'
- '86dd356c65afd14a22f2f8f64a26441e')
-
-check() {
- cd "${srcdir}"/pysqlite-${pkgver}/build/lib.*/
- python2 -c "from pysqlite2 import test; test.test()"
-}
-
-build() {
- cd "${srcdir}/pysqlite-${pkgver}"
- cp "${srcdir}/setup.cfg" .
- python2 setup.py build
-}
-
-package_python2-pysqlite() {
- cd "${srcdir}/pysqlite-${pkgver}"
- python2 setup.py install --root="${pkgdir}"
- install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- rm -r "${pkgdir}/usr/pysqlite2-doc"
-}
diff --git a/testing/python-pysqlite/setup.cfg b/testing/python-pysqlite/setup.cfg
deleted file mode 100644
index ba6c77075..000000000
--- a/testing/python-pysqlite/setup.cfg
+++ /dev/null
@@ -1,5 +0,0 @@
-[build_ext]
-define=
-include_dirs=/usr/include
-library_dirs=/usr/lib
-libraries=sqlite3
diff --git a/testing/python-urwid/PKGBUILD b/testing/python-urwid/PKGBUILD
deleted file mode 100644
index d1804969c..000000000
--- a/testing/python-urwid/PKGBUILD
+++ /dev/null
@@ -1,42 +0,0 @@
-# $Id: PKGBUILD,v 1.10 2009/03/13 21:14:09 sergej Exp $
-# Maintainer: Daniel Isenmann <daniel@archlinux.org>
-# Maintainer: Sergej Pupykin <sergej@aur.archlinux.org>
-# Maintainer: Douglas Soares de Andrade <dsandrade@gmail.com>
-
-pkgname=('python-urwid' 'python2-urwid')
-pkgver=1.0.2
-pkgrel=2
-pkgdesc="Urwid is a curses-based user interface library."
-license=('LGPL')
-arch=('i686' 'x86_64')
-makedepends=('python2-distribute' 'python-distribute')
-url="http://excess.org/urwid/"
-source=(http://excess.org/urwid/urwid-$pkgver.tar.gz)
-md5sums=('00542bbd15fae7ea60b02a7570edee2b')
-
-build() {
- cp -r urwid-$pkgver python2-urwid-$pkgver
-
- cd "$srcdir/urwid-$pkgver"
- python setup.py build
-
- cd "$srcdir/python2-urwid-$pkgver"
- sed -i 's#bin/python#bin/python2#' urwid/*.py
-
- python2 setup.py build
-}
-
-package_python-urwid() {
- depends=('python')
-
- cd "$srcdir/urwid-$pkgver"
- python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
-}
-
-package_python2-urwid() {
- depends=('python2')
-
- cd "$srcdir/python2-urwid-$pkgver"
- python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
-}
-
diff --git a/testing/python-wpactrl/PKGBUILD b/testing/python-wpactrl/PKGBUILD
deleted file mode 100644
index ea380a61a..000000000
--- a/testing/python-wpactrl/PKGBUILD
+++ /dev/null
@@ -1,26 +0,0 @@
-# $Id: PKGBUILD 168879 2012-10-16 11:55:34Z allan $
-# Maintainer: Daniel Isenmann <daniel@archlinux.org>
-
-pkgbase=python-wpactrl
-pkgname=python2-wpactrl
-pkgver=20090609
-pkgrel=4
-pkgdesc="A Python extension for wpa_supplicant/hostapd control interface access"
-arch=('i686' 'x86_64')
-url="http://projects.otaku42.de/wiki/PythonWpaCtrl"
-license=('GPL2')
-depends=('python2')
-conflicts=('python-wpactrl<=20090609-3')
-replaces=('python-wpactrl<=20090609-3')
-source=(ftp://ftp.archlinux.org/other/${pkgbase}/python-wpactrl-20090609.tar.gz)
-md5sums=('8d45739aa9bfa1110a4570bb5ceda768')
-
-build() {
- cd "${srcdir}/${pkgbase}-${pkgver}"
- python2 setup.py build
-}
-
-package_python2-wpactrl() {
- cd "${srcdir}/${pkgbase}-${pkgver}"
- python2 setup.py install --root="${pkgdir}"
-}
diff --git a/testing/python/PKGBUILD b/testing/python/PKGBUILD
deleted file mode 100644
index f35fd3cd5..000000000
--- a/testing/python/PKGBUILD
+++ /dev/null
@@ -1,75 +0,0 @@
-# $Id: PKGBUILD 168851 2012-10-16 11:54:17Z allan $
-# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
-# Contributor: Allan McRae <allan@archlinux.org>
-# Contributor: Jason Chu <jason@archlinux.org>
-
-pkgname=python
-pkgver=3.3.0
-pkgrel=1
-_pybasever=3.3
-pkgdesc="Next generation of the python high-level scripting language"
-arch=('i686' 'x86_64')
-license=('custom')
-url="http://www.python.org/"
-depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib')
-makedepends=('tk' 'sqlite' 'valgrind')
-optdepends=('tk: for tkinter' 'sqlite')
-provides=('python3')
-replaces=('python3')
-options=('!makeflags')
-source=(http://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz)
-sha1sums=('833d73565e1b665f1878504081dc985a5a06e46a')
-
-build() {
- cd "${srcdir}/Python-${pkgver}"
-
- # FS#23997
- sed -i -e "s|^#.* /usr/local/bin/python|#!/usr/bin/python|" Lib/cgi.py
-
- # Ensure that we are using the system copy of various libraries (expat, zlib and libffi),
- # rather than copies shipped in the tarball
- rm -r Modules/expat
- rm -r Modules/zlib
- rm -r Modules/_ctypes/{darwin,libffi}*
-
- ./configure --prefix=/usr \
- --enable-shared \
- --with-threads \
- --with-computed-gotos \
- --enable-ipv6 \
- --with-valgrind \
- --with-system-expat \
- --with-dbmliborder=gdbm:ndbm \
- --with-system-ffi
-
- make
-}
-
-check() {
- cd "${srcdir}/Python-${pkgver}"
- LD_LIBRARY_PATH="${srcdir}/Python-${pkgver}":${LD_LIBRARY_PATH} \
- "${srcdir}/Python-${pkgver}/python" -m test.regrtest -x test_distutils test_site \
- test_urllib test_uuid test_pydoc
-}
-
-package() {
- cd "${srcdir}/Python-${pkgver}"
- make DESTDIR="${pkgdir}" install maninstall
-
- # Why are these not done by default...
- ln -sf python3 "${pkgdir}/usr/bin/python"
- ln -sf python3-config "${pkgdir}/usr/bin/python-config"
- ln -sf idle3 "${pkgdir}/usr/bin/idle"
- ln -sf pydoc3 "${pkgdir}/usr/bin/pydoc"
- ln -sf python${_pybasever}.1 "${pkgdir}/usr/share/man/man1/python3.1"
-
- # Fix FS#22552
- ln -sf ../../libpython${_pybasever}m.so \
- "${pkgdir}/usr/lib/python${_pybasever}/config-${_pybasever}m/libpython${_pybasever}m.so"
-
- # Clean-up reference to build directory
- sed -i "s|$srcdir/Python-${pkgver}:||" "$pkgdir/usr/lib/python${_pybasever}/config-${_pybasever}m/Makefile"
-
- # License
- install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
diff --git a/testing/qt3/PKGBUILD b/testing/qt3/PKGBUILD
deleted file mode 100644
index 969cb6aba..000000000
--- a/testing/qt3/PKGBUILD
+++ /dev/null
@@ -1,124 +0,0 @@
-# $Id: PKGBUILD 168290 2012-10-07 22:25:27Z eric $
-# Maintainer: Eric Bélanger <eric@archlinux.org>
-
-pkgname=qt3
-pkgver=3.3.8b
-pkgrel=2
-epoch=1
-pkgdesc="The QT3 gui toolkit"
-arch=('i686' 'x86_64')
-url="http://www.trolltech.com/products/qt/index.html"
-license=('GPL')
-depends=('libpng' 'libxmu' 'libxcursor' 'libxinerama' 'glu' 'libxft'
- 'libxrandr' 'libmng')
-makedepends=('mysql' 'postgresql' 'unixodbc' 'sqlite' 'mesa')
-optdepends=('libmysqlclient' 'postgresql-libs' 'unixodbc')
-options=('!libtool')
-install=qt.install
-source=(ftp://ftp.trolltech.com/qt/source/qt-x11-free-${pkgver}.tar.gz
- qt.profile qt3-png15.patch qt-copy-kde-patches.tar.bz2 qt-patches.tar.bz2
- eastern_asian_languagues.diff qt-odbc.patch gcc-4.6.patch)
-sha1sums=('745def6250dc7f337dbb265e20bf38dcb41fd854'
- 'd2e257a9011208b2cb81b9cf47915b9a2f9dab83'
- '3d19510c46016a1a211d97bf8f82b01498b1b33c'
- '33418e5b117458af23c72cdbffc0c339bc34bdc4'
- '116afa0e737bdf27ea27f9b3653aeb56db9ec151'
- '40c7b8f06a21f809ddeb8b5560e9da63ccac6a17'
- '1346320614f6f86fbeb10b9fbad721dea29f5b61'
- 'd9b83b8f6f9c8bd98d290dc1d0e9913a00b62c3f')
-
-# qt-copy-kde-patches come from http://websvn.kde.org/trunk/qt-copy/patches/
-# other qt-patches come from fedora and gentoo
-
-build() {
- unset QMAKESPEC
- export QTDIR="${srcdir}"/qt-x11-free-${pkgver}
- export PATH=${QTDIR}/bin:${PATH}
- export LD_LIBRARY_PATH=${QTDIR}/lib:${LD_LIBRARY_PATH}
- export QMAKESPEC=$QTDIR/mkspecs/linux-g++
- cd "${srcdir}"/qt-x11-free-${pkgver}
- # apply qt patches from kde.org
- for i in ../qt-copy-kde-patches/*; do
- patch -p0 -i $i
- done
- # apply other qt patches and one security fix from debian/gentoo
- for i in ../qt-patches/*; do
- patch -p1 -i $i
- done
- # fix CJK font/chars select error (FS#11245)
- patch -p1 -i "${srcdir}"/eastern_asian_languagues.diff
- # fix build problem against new unixODBC
- patch -p1 -i "${srcdir}"/qt-odbc.patch
- # fix build with gcc 4.6.0
- patch -p1 -i "${srcdir}"/gcc-4.6.patch
-
- patch -p0 -i "${srcdir}"/qt3-png15.patch
- # start compiling qt
- sed -i 's|-cp -P -f|-cp -L -f|' qmake/Makefile.unix
- rm -rf doc/html examples tutorial
- sed -i "s|sub-tutorial sub-examples||" Makefile
- sed -i "s|-O2|$CXXFLAGS|" mkspecs/linux-g++/qmake.conf
- sed -i "s|-O2|$CXXFLAGS|" mkspecs/linux-g++-32/qmake.conf
- sed -i "s|-O2|$CXXFLAGS|" mkspecs/linux-g++-64/qmake.conf
- sed -i "s|-I. |$CXXFLAGS -I. |" qmake/Makefile.unix
- sed -i "s|read acceptance|acceptance=yes|" configure
-
- # remove unwanted mkspecs
- rm -rf mkspecs/{*aix*,*bsd*,cygwin*,dgux*,darwin*,hpux*,hurd*,irix*,lynxos*,macx*,qnx*,reliant*,sco*,solaris*,tru64*,unixware*,win32*}
-
- if [ "$CARCH" = "x86_64" ]; then
- export ARCH="-64"
- else unset ARCH
- fi
-
- ./configure -prefix /opt/qt \
- -platform linux-g++$ARCH \
- -system-zlib \
- -qt-gif \
- -release \
- -shared \
- -sm \
- -nis \
- -thread \
- -stl \
- -system-lib{png,jpeg,mng} \
- -no-g++-exceptions \
- -plugin-sql-{mysql,psql,sqlite,odbc}
-
- # fix /opt/qt/lib path
- [ "$CARCH" = "x86_64" ] && sed -i "s|/opt/qt/lib64|/opt/qt/lib|g" "${srcdir}"/qt-x11-free-${pkgver}/src/Makefile
- [ "$CARCH" = "x86_64" ] && sed -i "s|/opt/qt/lib64|/opt/qt/lib|g" "${srcdir}"/qt-x11-free-${pkgver}/tools/designer/designer/Makefile
- [ "$CARCH" = "x86_64" ] && sed -i "s|/opt/qt/lib64|/opt/qt/lib|g" "${srcdir}"/qt-x11-free-${pkgver}/tools/designer/editor/Makefile
- [ "$CARCH" = "x86_64" ] && sed -i "s|/opt/qt/lib64|/opt/qt/lib|g" "${srcdir}"/qt-x11-free-${pkgver}/tools/assistant/lib/Makefile
- [ "$CARCH" = "x86_64" ] && sed -i "s|/opt/qt/lib64|/opt/qt/lib|g" "${srcdir}"/qt-x11-free-${pkgver}/tools/designer/uilib/Makefile
-
- cd "${srcdir}"/qt-x11-free-${pkgver}
- make -C qmake
- cd "${srcdir}"/qt-x11-free-${pkgver}/plugins/src/sqldrivers/mysql
- "${srcdir}"/qt-x11-free-${pkgver}/bin/qmake -o Makefile "INCPATH+=/usr/include/mysql" "LIBS+=-L/usr/lib/mysql -lmysqlclient" mysql.pro
- cd "${srcdir}"/qt-x11-free-${pkgver}/plugins/src/sqldrivers/psql
- "${srcdir}"/qt-x11-free-${pkgver}/bin/qmake -o Makefile "INCPATH+=/usr/src/include /usr/include/postgresql/server" "LIBS+=-L/usr/lib -lpq" psql.pro
-
- cd "${srcdir}"/qt-x11-free-${pkgver}
- # fix the broken makefiles
- #sed -i 's|[[:space:]]*strip.*doc/html.*$|#|g' src/Makefile
- make
-}
-
-package() {
- cd "${srcdir}"/qt-x11-free-${pkgver}
- make INSTALL_ROOT="${pkgdir}" install
- rm -rf "${pkgdir}"/opt/qt/{phrasebooks,templates,translations}
- sed -i "s|-L${srcdir}/qt-x11-free-${pkgver}/lib ||g" "${pkgdir}"/opt/qt/lib/*.prl
- install -D -m755 qmake/qmake "${pkgdir}"/opt/qt/bin/qmake
- install -D -m755 "${srcdir}"/qt.profile "${pkgdir}"/etc/profile.d/qt3.sh
- ln -sf /opt/qt/bin/qtconfig "${pkgdir}"/opt/qt/bin/qt3config
- rm -f "${pkgdir}"/opt/qt/mkspecs/linux-g++$ARCH/linux-g++$ARCH
-
- # install man pages
- install -d -m755 "${pkgdir}"/opt/qt/man
- cp -r "${srcdir}"/qt-x11-free-${pkgver}/doc/man/{man1,man3} "${pkgdir}"/opt/qt/man/
-
- install -d -m755 "${pkgdir}"/etc/ld.so.conf.d/
- echo '/opt/qt/lib' > "${pkgdir}"/etc/ld.so.conf.d/qt3.conf
-}
diff --git a/testing/qt3/eastern_asian_languagues.diff b/testing/qt3/eastern_asian_languagues.diff
deleted file mode 100644
index 7c25eef7d..000000000
--- a/testing/qt3/eastern_asian_languagues.diff
+++ /dev/null
@@ -1,39 +0,0 @@
---- qt-x11-free-3.3.8b/src/kernel/qfontdatabase.cpp 2008-01-15 21:09:13.000000000 +0200
-+++ qt-x11-free-3.3.8b/src/kernel/qfontdatabase.cpp 2008-03-10 11:34:22.000000000 +0200
-@@ -966,20 +966,22 @@
-
- #ifdef Q_WS_X11
- if (script == QFont::Han) {
-- // modify script according to locale
-- static QFont::Script defaultHan = QFont::UnknownScript;
-- if (defaultHan == QFont::UnknownScript) {
-- QCString locale = setlocale(LC_ALL, NULL);
-- if (locale.contains("ko"))
-- defaultHan = QFont::Han_Korean;
-- else if (locale.contains("zh_TW") || locale.contains("zh_HK"))
-- defaultHan = QFont::Han_TraditionalChinese;
-- else if (locale.contains("zh"))
-- defaultHan = QFont::Han_SimplifiedChinese;
-- else
-- defaultHan = QFont::Han_Japanese;
-- }
-- script = defaultHan;
-+ // modify script according to locale
-+ static QFont::Script defaultHan;
-+ QCString locale = setlocale(LC_ALL, NULL);
-+
-+ if (locale.contains("ko"))
-+ defaultHan = QFont::Han_Korean;
-+ else if (locale.contains("zh_TW") || locale.contains("zh_HK"))
-+ defaultHan = QFont::Han_TraditionalChinese;
-+ else if (locale.contains("zh"))
-+ defaultHan = QFont::Han_SimplifiedChinese;
-+ else if (locale.contains("ja"))
-+ defaultHan = QFont::Han_Japanese;
-+ else
-+ defaultHan = QFont::Han; // don't change
-+
-+ script = defaultHan;
- }
- #endif
-
diff --git a/testing/qt3/gcc-4.6.patch b/testing/qt3/gcc-4.6.patch
deleted file mode 100644
index bcbffcea6..000000000
--- a/testing/qt3/gcc-4.6.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-diff -up qt-x11-free-3.3.8b/src/tools/qmap.h.cstddef qt-x11-free-3.3.8b/src/tools/qmap.h
---- qt-x11-free-3.3.8b/src/tools/qmap.h.cstddef 2008-01-15 13:09:13.000000000 -0600
-+++ qt-x11-free-3.3.8b/src/tools/qmap.h 2011-01-30 21:14:29.275088725 -0600
-@@ -49,6 +49,7 @@
- #include "qvaluelist.h"
- #endif // QT_H
-
-+#include <cstddef>
- #ifndef QT_NO_STL
- #include <iterator>
- #include <map>
-diff -up qt-x11-free-3.3.8b/src/tools/qvaluelist.h.cstddef qt-x11-free-3.3.8b/src/tools/qvaluelist.h
---- qt-x11-free-3.3.8b/src/tools/qvaluelist.h.cstddef 2008-01-15 13:09:13.000000000 -0600
-+++ qt-x11-free-3.3.8b/src/tools/qvaluelist.h 2011-01-30 21:14:01.765846592 -0600
-@@ -47,6 +47,7 @@
- #include "qdatastream.h"
- #endif // QT_H
-
-+#include <cstddef>
- #ifndef QT_NO_STL
- #include <iterator>
- #include <list>
-diff -up qt-x11-free-3.3.8b/src/tools/qvaluevector.h.cstddef qt-x11-free-3.3.8b/src/tools/qvaluevector.h
---- qt-x11-free-3.3.8b/src/tools/qvaluevector.h.cstddef 2008-01-15 13:09:13.000000000 -0600
-+++ qt-x11-free-3.3.8b/src/tools/qvaluevector.h 2011-01-30 21:14:01.765846592 -0600
-@@ -45,6 +45,7 @@
- #include "qdatastream.h"
- #endif // QT_H
-
-+#include <cstddef>
- #ifndef QT_NO_STL
- #include <vector>
- #endif
diff --git a/testing/qt3/qt-copy-kde-patches.tar.bz2 b/testing/qt3/qt-copy-kde-patches.tar.bz2
deleted file mode 100644
index 519f7173a..000000000
--- a/testing/qt3/qt-copy-kde-patches.tar.bz2
+++ /dev/null
Binary files differ
diff --git a/testing/qt3/qt-odbc.patch b/testing/qt3/qt-odbc.patch
deleted file mode 100644
index 6f21e3cf1..000000000
--- a/testing/qt3/qt-odbc.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff -up qt-x11-free-3.3.8/src/sql/drivers/odbc/qsql_odbc.cpp.orig qt-x11-free-3.3.8/src/sql/drivers/odbc/qsql_odbc.cpp
---- qt-x11-free-3.3.8/src/sql/drivers/odbc/qsql_odbc.cpp.orig 2009-02-24 11:32:27.000000000 +0100
-+++ qt-x11-free-3.3.8/src/sql/drivers/odbc/qsql_odbc.cpp 2009-02-24 11:33:43.000000000 +0100
-@@ -57,13 +57,13 @@
- #endif
-
- // newer platform SDKs use SQLLEN instead of SQLINTEGER
--#ifdef SQLLEN
-+#if defined(SQLLEN) || defined(Q_OS_WIN64) || defined(Q_OS_UNIX)
- # define QSQLLEN SQLLEN
- #else
- # define QSQLLEN SQLINTEGER
- #endif
-
--#ifdef SQLULEN
-+#if defined(SQLULEN) || defined(Q_OS_WIN64) || defined(Q_OS_UNIX)
- # define QSQLULEN SQLULEN
- #else
- # define QSQLULEN SQLUINTEGER
diff --git a/testing/qt3/qt-patches.tar.bz2 b/testing/qt3/qt-patches.tar.bz2
deleted file mode 100644
index 3f4aee171..000000000
--- a/testing/qt3/qt-patches.tar.bz2
+++ /dev/null
Binary files differ
diff --git a/testing/qt3/qt.install b/testing/qt3/qt.install
deleted file mode 100644
index 6d042daae..000000000
--- a/testing/qt3/qt.install
+++ /dev/null
@@ -1,12 +0,0 @@
-post_install() {
- post_remove
-}
-
-post_upgrade() {
- post_remove
-}
-
-post_remove() {
- # this can be removed in future versions
- sed -e '/\/opt\/qt\/lib/d' -i etc/ld.so.conf
-}
diff --git a/testing/qt3/qt.profile b/testing/qt3/qt.profile
deleted file mode 100644
index ed4d232ae..000000000
--- a/testing/qt3/qt.profile
+++ /dev/null
@@ -1,4 +0,0 @@
-export QTDIR=/opt/qt
-export QT_XFT=true
-export PATH=$PATH:$QTDIR/bin
-export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/qt/lib/pkgconfig
diff --git a/testing/qt3/qt3-png15.patch b/testing/qt3/qt3-png15.patch
deleted file mode 100644
index e64fea36a..000000000
--- a/testing/qt3/qt3-png15.patch
+++ /dev/null
@@ -1,212 +0,0 @@
-$NetBSD: patch-as,v 1.5 2011/03/25 15:28:26 wiz Exp $
-
---- src/kernel/qpngio.cpp.orig 2007-02-02 10:01:15.000000000 -0400
-+++ src/kernel/qpngio.cpp
-@@ -43,6 +43,7 @@
- #include "qiodevice.h"
-
- #include <png.h>
-+#include <zlib.h>
-
-
- #ifdef Q_OS_TEMP
-@@ -123,9 +124,24 @@ void setup_qt( QImage& image, png_struct
- png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type,
- 0, 0, 0);
-
-+ png_colorp info_ptr_palette = NULL;
-+ int info_ptr_num_palette = 0;
-+ if (png_get_valid(png_ptr, info_ptr, PNG_INFO_PLTE)) {
-+ png_get_PLTE(png_ptr, info_ptr, &info_ptr_palette, &info_ptr_num_palette);
-+ }
-+
-+ png_bytep info_ptr_trans_alpha = NULL;
-+ int info_ptr_num_trans = 0;
-+ png_color_16p info_ptr_trans_color = NULL;
-+
-+ if (png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS)) {
-+ png_get_tRNS(png_ptr, info_ptr, &info_ptr_trans_alpha, &info_ptr_num_trans, &info_ptr_trans_color);
-+ }
-+
-+
- if ( color_type == PNG_COLOR_TYPE_GRAY ) {
- // Black & White or 8-bit grayscale
-- if ( bit_depth == 1 && info_ptr->channels == 1 ) {
-+ if ( bit_depth == 1 && png_get_channels(png_ptr, info_ptr) == 1 ) {
- png_set_invert_mono( png_ptr );
- png_read_update_info( png_ptr, info_ptr );
- if (!image.create( width, height, 1, 2, QImage::BigEndian ))
-@@ -159,7 +175,7 @@ void setup_qt( QImage& image, png_struct
- image.setColor( i, qRgba(c,c,c,0xff) );
- }
- if ( png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS) ) {
-- const int g = info_ptr->trans_values.gray;
-+ const int g = info_ptr_trans_color->gray;
- if (g < ncols) {
- image.setAlphaBuffer(TRUE);
- image.setColor(g, image.color(g) & RGB_MASK);
-@@ -168,7 +184,7 @@ void setup_qt( QImage& image, png_struct
- }
- } else if ( color_type == PNG_COLOR_TYPE_PALETTE
- && png_get_valid(png_ptr, info_ptr, PNG_INFO_PLTE)
-- && info_ptr->num_palette <= 256 )
-+ && info_ptr_num_palette <= 256 )
- {
- // 1-bit and 8-bit color
- if ( bit_depth != 1 )
-@@ -176,28 +192,28 @@ void setup_qt( QImage& image, png_struct
- png_read_update_info( png_ptr, info_ptr );
- png_get_IHDR(png_ptr, info_ptr,
- &width, &height, &bit_depth, &color_type, 0, 0, 0);
-- if (!image.create(width, height, bit_depth, info_ptr->num_palette,
-+ if (!image.create(width, height, bit_depth, info_ptr_num_palette,
- QImage::BigEndian))
- return;
- int i = 0;
- if ( png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS) ) {
- image.setAlphaBuffer( TRUE );
-- while ( i < info_ptr->num_trans ) {
-+ while ( i < info_ptr_num_trans ) {
- image.setColor(i, qRgba(
-- info_ptr->palette[i].red,
-- info_ptr->palette[i].green,
-- info_ptr->palette[i].blue,
-- info_ptr->trans[i]
-+ info_ptr_palette[i].red,
-+ info_ptr_palette[i].green,
-+ info_ptr_palette[i].blue,
-+ info_ptr_trans_alpha[i]
- )
- );
- i++;
- }
- }
-- while ( i < info_ptr->num_palette ) {
-+ while ( i < info_ptr_num_palette ) {
- image.setColor(i, qRgba(
-- info_ptr->palette[i].red,
-- info_ptr->palette[i].green,
-- info_ptr->palette[i].blue,
-+ info_ptr_palette[i].red,
-+ info_ptr_palette[i].green,
-+ info_ptr_palette[i].blue,
- 0xff
- )
- );
-@@ -284,7 +300,7 @@ void read_png_image(QImageIO* iio)
- return;
- }
-
-- if (setjmp(png_ptr->jmpbuf)) {
-+ if (setjmp(png_jmpbuf(png_ptr))) {
- png_destroy_read_struct(&png_ptr, &info_ptr, &end_info);
- iio->setStatus(-4);
- return;
-@@ -469,7 +485,7 @@ bool QPNGImageWriter::writeImage(const Q
- return FALSE;
- }
-
-- if (setjmp(png_ptr->jmpbuf)) {
-+ if (setjmp(png_jmpbuf(png_ptr))) {
- png_destroy_write_struct(&png_ptr, &info_ptr);
- return FALSE;
- }
-@@ -491,10 +507,16 @@ bool QPNGImageWriter::writeImage(const Q
-
- png_set_write_fn(png_ptr, (void*)this, qpiw_write_fn, qpiw_flush_fn);
-
-+#warning XXXtnn not too sure about this
-+/*
-+according to png.h, channels is only used on read, not writes, so we
-+should be able to comment this out.
-+
- info_ptr->channels =
- (image.depth() == 32)
- ? (image.hasAlphaBuffer() ? 4 : 3)
- : 1;
-+*/
-
- png_set_IHDR(png_ptr, info_ptr, image.width(), image.height(),
- image.depth() == 1 ? 1 : 8 /* per channel */,
-@@ -504,11 +526,12 @@ bool QPNGImageWriter::writeImage(const Q
- : PNG_COLOR_TYPE_RGB
- : PNG_COLOR_TYPE_PALETTE, 0, 0, 0);
-
-+ png_color_8 sig_bit;
-+ sig_bit.red = 8;
-+ sig_bit.green = 8;
-+ sig_bit.blue = 8;
-+ png_set_sBIT(png_ptr, info_ptr, &sig_bit);
-
-- //png_set_sBIT(png_ptr, info_ptr, 8);
-- info_ptr->sig_bit.red = 8;
-- info_ptr->sig_bit.green = 8;
-- info_ptr->sig_bit.blue = 8;
-
- if (image.depth() == 1 && image.bitOrder() == QImage::LittleEndian)
- png_set_packswap(png_ptr);
-@@ -522,11 +545,14 @@ bool QPNGImageWriter::writeImage(const Q
- png_set_PLTE(png_ptr, info_ptr, palette, num_palette);
- int* trans = new int[num_palette];
- int num_trans = 0;
-+ png_colorp info_ptr_palette = NULL;
-+ int tmp;
-+ png_get_PLTE(png_ptr, info_ptr, &info_ptr_palette, &tmp);
- for (int i=0; i<num_palette; i++) {
- QRgb rgb=image.color(i);
-- info_ptr->palette[i].red = qRed(rgb);
-- info_ptr->palette[i].green = qGreen(rgb);
-- info_ptr->palette[i].blue = qBlue(rgb);
-+ info_ptr_palette[i].red = qRed(rgb);
-+ info_ptr_palette[i].green = qGreen(rgb);
-+ info_ptr_palette[i].blue = qBlue(rgb);
- if (image.hasAlphaBuffer()) {
- trans[i] = rgb >> 24;
- if (trans[i] < 255) {
-@@ -534,6 +560,7 @@ bool QPNGImageWriter::writeImage(const Q
- }
- }
- }
-+ png_set_PLTE(png_ptr, info_ptr, info_ptr_palette, num_palette);
- if (num_trans) {
- copy_trans = new png_byte[num_trans];
- for (int i=0; i<num_trans; i++)
-@@ -544,7 +571,10 @@ bool QPNGImageWriter::writeImage(const Q
- }
-
- if ( image.hasAlphaBuffer() ) {
-- info_ptr->sig_bit.alpha = 8;
-+ png_color_8p sig_bit;
-+ png_get_sBIT(png_ptr, info_ptr, &sig_bit);
-+ sig_bit->alpha = 8;
-+ png_set_sBIT(png_ptr, info_ptr, sig_bit);
- }
-
- // Swap ARGB to RGBA (normal PNG format) before saving on
-@@ -1030,7 +1060,7 @@ int QPNGFormat::decode(QImage& img, QIma
- return -1;
- }
-
-- if (setjmp((png_ptr)->jmpbuf)) {
-+ if (setjmp(png_jmpbuf(png_ptr))) {
- png_destroy_read_struct(&png_ptr, &info_ptr, 0);
- image = 0;
- return -1;
-@@ -1057,7 +1087,7 @@ int QPNGFormat::decode(QImage& img, QIma
-
- if ( !png_ptr ) return 0;
-
-- if (setjmp(png_ptr->jmpbuf)) {
-+ if (setjmp(png_jmpbuf(png_ptr))) {
- png_destroy_read_struct(&png_ptr, &info_ptr, 0);
- image = 0;
- state = MovieStart;
-@@ -1117,7 +1147,7 @@ void QPNGFormat::end(png_structp png, pn
- consumer->frameDone(QPoint(offx,offy),r);
- consumer->end();
- state = FrameStart;
-- unused_data = (int)png->buffer_size; // Since libpng doesn't tell us
-+ unused_data = png_process_data_pause(png, 0);
- }
-
- #ifdef PNG_USER_CHUNKS_SUPPORTED
diff --git a/testing/qtiplot/PKGBUILD b/testing/qtiplot/PKGBUILD
deleted file mode 100644
index d4779fcb7..000000000
--- a/testing/qtiplot/PKGBUILD
+++ /dev/null
@@ -1,94 +0,0 @@
-# $Id: PKGBUILD 168491 2012-10-12 17:58:46Z andyrtr $
-# Maintainer: Ronald van Haren <ronald.archlinux.org>
-# Contributor: damir <damir.archlinux.org>
-# Contributor: Gergely Imreh <imrehg@gmail.com>
-
-pkgname=qtiplot
-pkgver=0.9.8.9
-pkgrel=2
-arch=('i686' 'x86_64')
-url="http://soft.proindependent.com/qtiplot.html"
-pkgdesc="Data analysis and scientific plotting - free clone of Origin"
-depends=('muparser' 'gsl' 'python2-pyqt' 'boost-libs' 'shared-mime-info' 'glu' 'liborigin2' 'qt-assistant-compat' 'tamu-anova')
-# build against qwtplot3d provided in the package ...
-# build against qwt provided in the package ...
-# as systemwide one doesn't provide all needed functions
-makedepends=('pkg-config' 'boost' 'mesa')
-license=('GPL2')
-install=${pkgname}.install
-source=(http://download.berlios.de/qtiplot/qtiplot-${pkgver}.tar.bz2
- $pkgname.desktop
- $pkgname.png
- build.conf.archlinux
- qwtplot3d_gcc.patch
- qtiplot.xml
- qtiplot-0.9.8.6-gold.patch
- qtiplot-0.9.8.6-kde.patch
- qtiplot-0.9.8.6-tamuanova.patch
- qwtplot3d-qt-4.8.0.patch
- qwtplot3d-libpng15.patch)
-sha1sums=('73b17dd9195c3d86750d5f1f5bdd4d5483c5fe30'
- '4d5d7cf3965a0a1b1aa9cafc34e70ee207700bc8'
- '4301cb2a36024a10108b689990d28c4fe5c7416e'
- '326ee6bc623a637d058ab7ee9f65fede40a23a09'
- '301bf6f70e8c1bb9ffd55eb49eedde7b29a12909'
- '285f57d865956d93250ec548288c5bface096b6b'
- 'b534a609f317cf3117d6495909854cdacea20124'
- 'a1d4bec744c9b8fe29bf177851e66c97cdd9d975'
- '830b518e3ef63625df84363a8047417124f243b0'
- '3d4c471dda29a04d432f8e0a4c5b977068cdae72'
- '4a45ee21f028f34da75d83c0d3e1d08c5f928892')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- # gentoo fixes
- patch -Np1 -i "${srcdir}/qtiplot-0.9.8.6-gold.patch"
- patch -Np1 -i "${srcdir}/qtiplot-0.9.8.6-kde.patch"
-# patch -Np1 -i "${srcdir}/qtiplot-0.9.8.6-tamuanova.patch"
-
- # build also static qwtplot3d lib
- echo "unix:CONFIG += staticlib" >> 3rdparty/qwtplot3d/qwtplot3d.pro
-
- # install build configuration file
- install -Dm644 "${srcdir}/build.conf.archlinux" build.conf
-
- # Make qwt
- sed -i "s:elif:else:g" qtiplot/src/scripting/ScriptEdit.cpp
- patch -Np1 -i "${srcdir}/qwtplot3d_gcc.patch"
- cd ./3rdparty/qwt
- qmake
- make
-
- # Make qwtplot3d
- cd ../qwtplot3d
- patch -Np3 -i "${srcdir}/qwtplot3d-qt-4.8.0.patch"
- patch -Np0 -i "${srcdir}/qwtplot3d-libpng15.patch"
- qmake
- make
-
- # Make qtiplot
- cd "${srcdir}/${pkgname}-${pkgver}/${pkgname}"
-
- # fix stuff
- sed -i 's|/usr/local/|/usr/share/|' qtiplot.pro
- sed -i 's|<QAssistantClient>|<QtAssistant/qassistantclient.h>|' src/core/ApplicationWindow.cpp
- sed -i 's#d_python_config_folder + "#"/usr/share/qtiplot#' src/core/ApplicationWindow.cpp
-
- qmake qtiplot.pro QMAKESPEC=linux-g++
- make QTDIR=/usr/ QMAKESPEC=linux-g++
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}/${pkgname}"
-
- INSTALL_ROOT="${pkgdir}" make install
-
- # make it nice:
- install -D -m644 "${srcdir}/${pkgname}.png" \
- "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
- install -D -m644 "${srcdir}/${pkgname}.desktop" \
- "${pkgdir}/usr/share/applications/${pkgname}.desktop"
- install -D -m644 "${srcdir}/${pkgname}.xml" \
- "${pkgdir}/usr/share/mime/packages/${pkgname}.xml"
-}
diff --git a/testing/qtiplot/build.conf.archlinux b/testing/qtiplot/build.conf.archlinux
deleted file mode 100644
index 7ccded7fa..000000000
--- a/testing/qtiplot/build.conf.archlinux
+++ /dev/null
@@ -1,32 +0,0 @@
-isEmpty( QTI_ROOT ) {
- message( "each file including this config needs to set QTI_ROOT to the dir containing this file!" )
-}
-
-SYS_INCLUDEPATH = /usr/include
-SYS_LIBS = -L/usr/lib -lGLU
-
-MUPARSER_LIBS = -lmuparser
-GSL_LIBS = -lgsl -lgslcblas
-BOOST_INCLUDEPATH = /usr/include/boost
-BOOST_LIBS = -lboost_date_time -lboost_thread
-QWT_INCLUDEPATH = $$QTI_ROOT/3rdparty/qwt/src
-QWT_LIBS = $$QTI_ROOT/3rdparty/qwt/lib/libqwt.a
-QWT3D_INCLUDEPATH = $$QTI_ROOT/3rdparty/qwtplot3d/include
-QWT3D_LIBS = $$QTI_ROOT/3rdparty/qwtplot3d/lib/libqwtplot3d.a
-LIB_ORIGIN_INCLUDEPATH = /usr/include/liborigin2
-LIB_ORIGIN_LIBS = -lorigin2
-QTEXENGINE_LIBS = $$QTI_ROOT/3rdparty/QTeXEngine
-TAMUANOVA_LIBS = -ltamuanova
-TAMUANOVA_INCLUDEPATH = /usr/include/tamu_anova
-LIBPNG_LIBS = -lpng
-
-PYTHON = python2
-LUPDATE = lupdate
-LRELEASE = lrelease
-
-SCRIPTING_LANGS += muParser
-SCRIPTING_LANGS += Python
-
-CONFIG += CustomInstall
-DEFINES += SCRIPTING_CONSOLE
-
diff --git a/testing/qtiplot/qtiplot-0.9.8.6-gold.patch b/testing/qtiplot/qtiplot-0.9.8.6-gold.patch
deleted file mode 100644
index 3b6757533..000000000
--- a/testing/qtiplot/qtiplot-0.9.8.6-gold.patch
+++ /dev/null
@@ -1,15 +0,0 @@
- qtiplot/qtiplot.pro | 1 +
- 1 files changed, 1 insertions(+), 0 deletions(-)
-
-diff --git a/qtiplot/qtiplot.pro b/qtiplot/qtiplot.pro
-index 99e0e36..b7cf373 100755
---- a/qtiplot/qtiplot.pro
-+++ b/qtiplot/qtiplot.pro
-@@ -20,6 +20,7 @@ LIBS += $$MUPARSER_LIBS
- LIBS += $$QWT_LIBS
- LIBS += $$QWT3D_LIBS
- LIBS += $$GSL_LIBS
-+LIBS += -lz
-
- #############################################################################
- ###################### BASIC PROJECT PROPERTIES #############################
diff --git a/testing/qtiplot/qtiplot-0.9.8.6-kde.patch b/testing/qtiplot/qtiplot-0.9.8.6-kde.patch
deleted file mode 100644
index 919ec6cc2..000000000
--- a/testing/qtiplot/qtiplot-0.9.8.6-kde.patch
+++ /dev/null
@@ -1,15 +0,0 @@
- qtiplot/src/plot2D/Graph.cpp | 1 +
- 1 files changed, 1 insertions(+), 0 deletions(-)
-
-diff --git a/qtiplot/src/plot2D/Graph.cpp b/qtiplot/src/plot2D/Graph.cpp
-index 626172a..d4eab1b 100755
---- a/qtiplot/src/plot2D/Graph.cpp
-+++ b/qtiplot/src/plot2D/Graph.cpp
-@@ -73,6 +73,7 @@
- #include <PatternBox.h>
- #include <SymbolBox.h>
-
-+#include <QPaintEngine>
- #include <QApplication>
- #include <QBitmap>
- #include <QClipboard>
diff --git a/testing/qtiplot/qtiplot-0.9.8.6-tamuanova.patch b/testing/qtiplot/qtiplot-0.9.8.6-tamuanova.patch
deleted file mode 100644
index 1644266d1..000000000
--- a/testing/qtiplot/qtiplot-0.9.8.6-tamuanova.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-diff --git a/qtiplot/qtiplot.pro b/qtiplot/qtiplot.pro
-index 95a5f0c..72e99ab 100755
---- a/qtiplot/qtiplot.pro
-+++ b/qtiplot/qtiplot.pro
-@@ -205,18 +205,14 @@ contains(SCRIPTING_LANGS, Python) {
- !isEmpty(TAMUANOVA_LIBS) {
- DEFINES += HAVE_TAMUANOVA
- INCLUDEPATH += $$TAMUANOVA_INCLUDEPATH
-- #LIBS += $$TAMUANOVA_LIBS
--
-- HEADERS += $$TAMUANOVA_INCLUDEPATH/tamu_anova.h
-- SOURCES += $$TAMUANOVA_INCLUDEPATH/anova_1.c
-- SOURCES += $$TAMUANOVA_INCLUDEPATH/anova_2.c
-+ LIBS += $$TAMUANOVA_LIBS
- }
-
- ###############################################################
-
- # At the very end: add global include- and lib path
--#unix:INCLUDEPATH += $$SYS_INCLUDEPATH
--#unix:LIBS += $$SYS_LIBS
-+unix:INCLUDEPATH += $$SYS_INCLUDEPATH
-+unix:LIBS += $$SYS_LIBS
-
- ###############################################################
- ############### Building QtiPlot as a browser plugin ##########
diff --git a/testing/qtiplot/qtiplot.desktop b/testing/qtiplot/qtiplot.desktop
deleted file mode 100644
index ab64b3852..000000000
--- a/testing/qtiplot/qtiplot.desktop
+++ /dev/null
@@ -1,13 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-Type=Application
-Exec=qtiplot
-Comment=An application for plotting and analysis of data sets and functions
-Comment[de]=Ein Programm zum Plotten und analysieren von Daten und Funktionen
-Terminal=false
-Name=QtiPlot
-Protocols=file
-Icon=/usr/share/pixmaps/qtiplot.png
-# Categories=QT;KDE;Science;Utility;X-KDE-More
-# Categories=Qt;KDE;Math;Education
-Categories=Science;X-Plotting;
diff --git a/testing/qtiplot/qtiplot.install b/testing/qtiplot/qtiplot.install
deleted file mode 100644
index 66631520d..000000000
--- a/testing/qtiplot/qtiplot.install
+++ /dev/null
@@ -1,12 +0,0 @@
-post_install() {
- update-mime-database usr/share/mime &> /dev/null
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove () {
- post_install
-}
-
diff --git a/testing/qtiplot/qtiplot.png b/testing/qtiplot/qtiplot.png
deleted file mode 100644
index 5b4b87b21..000000000
--- a/testing/qtiplot/qtiplot.png
+++ /dev/null
Binary files differ
diff --git a/testing/qtiplot/qtiplot.xml b/testing/qtiplot/qtiplot.xml
deleted file mode 100644
index 7ad4c4aa0..000000000
--- a/testing/qtiplot/qtiplot.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
- <mime-type type="application/x-qtiplot-project">
- <sub-class-of type="text/plain"/>
- <comment>QtiPlot project file</comment>
- <glob pattern="*.qti" />
- </mime-type>
- <mime-type type="application/x-qtiplot-project-compressed">
- <comment>Compressed QtiPlot project file</comment>
- <glob pattern="*.qti.gz" />
- </mime-type>
- <mime-type type="application/x-qtiplot-project-backup">
- <sub-class-of type="text/plain"/>
- <comment>QtiPlot project file backup</comment>
- <glob pattern="*.qti~" />
- </mime-type>
-</mime-info>
diff --git a/testing/qtiplot/qwtplot3d-libpng15.patch b/testing/qtiplot/qwtplot3d-libpng15.patch
deleted file mode 100644
index 828f0c6d8..000000000
--- a/testing/qtiplot/qwtplot3d-libpng15.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- 3rdparty/gl2ps/gl2ps.c.orig 2012-01-29 18:15:34.000000000 -0500
-+++ 3rdparty/gl2ps/gl2ps.c 2012-01-29 18:16:08.000000000 -0500
-@@ -47,6 +47,7 @@
- #endif
-
- #if defined(GL2PS_HAVE_LIBPNG)
-+#include <zlib.h>
- #include <png.h>
- #endif
-
diff --git a/testing/qtiplot/qwtplot3d-qt-4.8.0.patch b/testing/qtiplot/qwtplot3d-qt-4.8.0.patch
deleted file mode 100644
index 9d30f6b7b..000000000
--- a/testing/qtiplot/qwtplot3d-qt-4.8.0.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-diff -Naur qtiplot-0.9.8.8.orig/3rdparty/qwtplot3d/include/qwt3d_io_gl2ps.h qtiplot-0.9.8.8/3rdparty/qwtplot3d/include/qwt3d_io_gl2ps.h
---- qtiplot-0.9.8.8.orig/3rdparty/qwtplot3d/include/qwt3d_io_gl2ps.h 2012-01-29 17:42:01.000000000 -0500
-+++ qtiplot-0.9.8.8/3rdparty/qwtplot3d/include/qwt3d_io_gl2ps.h 2012-01-29 17:58:30.000000000 -0500
-@@ -2,12 +2,7 @@
- #define qwt3d_io_gl2ps_h__2004_05_07_01_16_begin_guarded_code
-
- #include <time.h>
--
--#if QT_VERSION < 0x040000
--#include <qgl.h>
--#else
--#include <QtOpenGL/qgl.h>
--#endif
-+#include <QtOpenGL>
-
- #include "qwt3d_types.h"
- #include "qwt3d_io.h"
-diff -Naur qtiplot-0.9.8.8.orig/3rdparty/qwtplot3d/include/qwt3d_openglhelper.h qtiplot-0.9.8.8/3rdparty/qwtplot3d/include/qwt3d_openglhelper.h
---- qtiplot-0.9.8.8.orig/3rdparty/qwtplot3d/include/qwt3d_openglhelper.h 2012-01-29 17:42:01.000000000 -0500
-+++ qtiplot-0.9.8.8/3rdparty/qwtplot3d/include/qwt3d_openglhelper.h 2012-01-29 17:57:21.000000000 -0500
-@@ -2,11 +2,8 @@
- #define __openglhelper_2003_06_06_15_49__
-
- #include "qglobal.h"
--#if QT_VERSION < 0x040000
--#include <qgl.h>
--#else
--#include <QtOpenGL/qgl.h>
--#endif
-+#include <QtOpenGL>
-+#include <GL/glu.h>
-
- namespace Qwt3D
- {
diff --git a/testing/qtiplot/qwtplot3d_gcc.patch b/testing/qtiplot/qwtplot3d_gcc.patch
deleted file mode 100644
index 06aeb50f5..000000000
--- a/testing/qtiplot/qwtplot3d_gcc.patch
+++ /dev/null
@@ -1,9 +0,0 @@
---- a/3rdparty/qwtplot3d/src/qwt3d_function.cpp 2009-07-25 20:03:28.000000000 -0700
-+++ b/3rdparty/qwtplot3d/src/qwt3d_function.cpp 2009-07-25 20:03:28.000000000 -0700
-@@ -1,5 +1,6 @@
- #include "qwt3d_surfaceplot.h"
- #include "qwt3d_function.h"
-+#include <cstdio>
-
- using namespace Qwt3D;
-
diff --git a/testing/qtiplot/sip.patch b/testing/qtiplot/sip.patch
deleted file mode 100644
index 146f4c277..000000000
--- a/testing/qtiplot/sip.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- qtiplot/src/scripting/scripting.pri.bak 2009-09-09 07:18:51.000000000 +0800
-+++ qtiplot/src/scripting/scripting.pri 2009-11-08 12:45:03.000000000 +0800
-@@ -80,7 +80,9 @@
- $${SIP_DIR}/sipqtiPythonScript.cpp\
- $${SIP_DIR}/sipqtiPythonScripting.cpp\
- $${SIP_DIR}/sipqtiFolder.cpp\
-- $${SIP_DIR}/sipqtiQList.cpp\
-+ $${SIP_DIR}/sipqtiQList0101Folder.cpp \
-+ $${SIP_DIR}/sipqtiQList0101Graph.cpp \
-+ $${SIP_DIR}/sipqtiQList0101MdiSubWindow.cpp \
- $${SIP_DIR}/sipqtiFit.cpp \
- $${SIP_DIR}/sipqtiExponentialFit.cpp \
- $${SIP_DIR}/sipqtiTwoExpFit.cpp \
diff --git a/testing/ruby/PKGBUILD b/testing/ruby/PKGBUILD
deleted file mode 100644
index 0732107ea..000000000
--- a/testing/ruby/PKGBUILD
+++ /dev/null
@@ -1,69 +0,0 @@
-# Maintainer: Thomas Dziedzic <gostrc@gmail.com>
-# Contributor: Allan McRae <allan@archlinux.org>
-# Contributor: John Proctor <jproctor@prium.net>
-# Contributor: Jeramy Rutley <jrutley@gmail.com>
-
-pkgname=('ruby' 'ruby-docs')
-pkgver=1.9.3_p286
-pkgrel=1
-arch=('i686' 'x86_64')
-url='http://www.ruby-lang.org/en/'
-license=('BSD' 'custom')
-makedepends=('openssl' 'tk' 'libffi' 'doxygen' 'graphviz' 'libyaml')
-options=('!emptydirs' '!makeflags')
-source=("ftp://ftp.ruby-lang.org/pub/ruby/${pkgver%.*}/ruby-${pkgver//_/-}.tar.bz2"
- 'gemrc')
-md5sums=('2278eff4cfed3cbc0653bc73085caa34'
- '6fb8e7a09955e0f64be3158fb4a27e7a')
-
-build() {
- cd ruby-${pkgver//_/-}
-
- PKG_CONFIG=/usr/bin/pkg-config ./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --enable-shared \
- --enable-pthread \
- --disable-rpath
-
- make
-}
-
-check() {
- cd ruby-${pkgver//_/-}
-
- make test
-}
-
-package_ruby() {
- pkgdesc='An object-oriented language for quick and easy programming'
- depends=('openssl' 'libffi' 'libyaml')
- optdepends=('tk: for Ruby/TK'
- 'ruby-docs: Ruby documentation')
- provides=('rubygems' 'rake')
- conflicts=('rake')
- backup=('etc/gemrc')
- install='ruby.install'
-
- cd ruby-${pkgver//_/-}
-
- make DESTDIR="${pkgdir}" install-nodoc
-
- install -D -m644 ${srcdir}/gemrc "${pkgdir}/etc/gemrc"
-
- install -D -m644 COPYING "${pkgdir}/usr/share/licenses/ruby/LICENSE"
- install -D -m644 BSDL "${pkgdir}/usr/share/licenses/ruby/BSDL"
-}
-
-package_ruby-docs() {
- pkgdesc='Documentation files for ruby'
-
- cd ruby-${pkgver//_/-}
-
- make DESTDIR="${pkgdir}" install-doc install-capi
-
- install -D -m644 COPYING "${pkgdir}/usr/share/licenses/ruby-docs/LICENSE"
- install -D -m644 BSDL "${pkgdir}/usr/share/licenses/ruby-docs/BSDL"
-}
-md5sums=('e76848a86606a4fd5dcf14fc4b4e755e'
- '6fb8e7a09955e0f64be3158fb4a27e7a')
diff --git a/testing/ruby/gemrc b/testing/ruby/gemrc
deleted file mode 100644
index 3d11de1ec..000000000
--- a/testing/ruby/gemrc
+++ /dev/null
@@ -1,5 +0,0 @@
-# Read about the gemrc format at http://docs.rubygems.org/read/chapter/11
-
-# --user-install is used to install to $HOME/.gem/ by default since we want to separate
-# pacman installed gems and gem installed gems
-gem: --user-install
diff --git a/testing/ruby/ruby.install b/testing/ruby/ruby.install
deleted file mode 100644
index ce78e96ec..000000000
--- a/testing/ruby/ruby.install
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/sh
-
-print_gem_default_target() {
- echo 'The default location of gem installs is $HOME/.gem/ruby'
- echo 'Add the following line to your PATH if you plan to install using gem'
- echo '$(ruby -rubygems -e "puts Gem.user_dir")/bin'
- echo 'If you want to install to the system wide location, you must either:'
- echo 'edit /etc/gemrc or run gem with the --no-user-install flag.'
-}
-
-# arg 1: the new package version
-post_install() {
- print_gem_default_target
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-post_upgrade() {
- if [ "$(vercmp $2 1.9.3_p125-4)" -lt 0 ]; then
- print_gem_default_target
- fi
-}
diff --git a/testing/smpeg/PKGBUILD b/testing/smpeg/PKGBUILD
deleted file mode 100644
index 96b7420ee..000000000
--- a/testing/smpeg/PKGBUILD
+++ /dev/null
@@ -1,36 +0,0 @@
-# $Id: PKGBUILD 168278 2012-10-07 17:15:25Z heftig $
-# Maintainer: Eric Belanger <eric@archlinux.org>
-# Contributor: Jan de Groot <jgc@archlinux.org>
-
-pkgname=smpeg
-pkgver=0.4.4
-pkgrel=7
-pkgdesc="SDL MPEG Player Library"
-arch=('i686' 'x86_64')
-url="http://icculus.org/smpeg/"
-license=('LGPL')
-depends=('sdl')
-makedepends=('gtk' 'mesa' 'glu')
-optdepends=('gtk: to use gtv ' 'glu: to use glmovie')
-options=('!libtool' '!makeflags')
-source=(http://mirrors.dotsrc.org/lokigames/open-source/smpeg/${pkgname}-${pkgver}.tar.gz
- smpeg-0.4.4-gcc41.patch)
-md5sums=('59c76ac704088ef5539210190c4e1fe3'
- '8b979a58307d7196655758bd3d2466c4')
-sha1sums=('6d7f4449472e6270ab435b2224f3fad951c35259'
- '7d9a2ad7f6b702dfe3adcb87601d9b55022bbd1e')
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- patch -p1 -i $srcdir/smpeg-0.4.4-gcc41.patch
- ./configure --prefix=/usr --mandir=/usr/share/man --disable-static
- make LDFLAGS+=-lstdc++
-}
-
-package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install
-
- # fix aclocal warnings
- sed -i "s#(AM_PATH_SMPEG#([AM_PATH_SMPEG]#" ${pkgdir}/usr/share/aclocal/smpeg.m4
-}
diff --git a/testing/smpeg/smpeg-0.4.4-gcc41.patch b/testing/smpeg/smpeg-0.4.4-gcc41.patch
deleted file mode 100644
index 4a0eeb453..000000000
--- a/testing/smpeg/smpeg-0.4.4-gcc41.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-Index: MPEGaudio.h
-===================================================================
-RCS file: /cvs/cvsroot/smpeg/MPEGaudio.h,v
-retrieving revision 1.23
-diff -u -p -r1.23 MPEGaudio.h
---- smpeg/MPEGaudio.h 17 Jul 2001 19:52:24 -0000 1.23
-+++ smpeg/MPEGaudio.h 6 Dec 2005 06:10:43 -0000
-@@ -151,12 +151,6 @@ private:
- /* The actual MPEG audio class */
- class MPEGaudio : public MPEGerror, public MPEGaudioaction {
-
-- friend void Play_MPEGaudioSDL(void *udata, Uint8 *stream, int len);
-- friend int Play_MPEGaudio(MPEGaudio *audio, Uint8 *stream, int len);
--#ifdef THREADED_AUDIO
-- friend int Decode_MPEGaudio(void *udata);
--#endif
--
- public:
- MPEGaudio(MPEGstream *stream, bool initSDL = true);
- virtual ~MPEGaudio();
-@@ -367,6 +361,20 @@ public:
- #define N_TIMESTAMPS 5
-
- double timestamp[N_TIMESTAMPS];
-+
-+ /* Functions which access MPEGaudio internals */
-+ friend void Play_MPEGaudioSDL(void *udata, Uint8 *stream, int len);
-+ friend int Play_MPEGaudio(MPEGaudio *audio, Uint8 *stream, int len);
-+#ifdef THREADED_AUDIO
-+ friend int Decode_MPEGaudio(void *udata);
-+#endif
- };
-
-+/* Need to duplicate the prototypes, this is not a typo :) */
-+void Play_MPEGaudioSDL(void *udata, Uint8 *stream, int len);
-+int Play_MPEGaudio(MPEGaudio *audio, Uint8 *stream, int len);
-+#ifdef THREADED_AUDIO
-+int Decode_MPEGaudio(void *udata);
-+#endif
-+
- #endif /* _MPEGAUDIO_H_ */
diff --git a/testing/sonata/PKGBUILD b/testing/sonata/PKGBUILD
deleted file mode 100644
index 17bb77c02..000000000
--- a/testing/sonata/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# $Id: PKGBUILD 168892 2012-10-16 12:14:00Z allan $
-# Maintainer: Angel Velasquez <angvp@archlinux.org>
-# Contributor: William Rea <sillywilly@gmail.com>
-
-pkgname=sonata
-pkgver=1.6.2.1
-pkgrel=8
-pkgdesc="Elegant GTK+ music client for MPD"
-arch=('i686' 'x86_64')
-url="http://sonata.berlios.de/"
-license=('GPL3')
-depends=('pygtk' 'python2-mpd')
-optdepends=('gnome-python-extras: Enhanced system tray support'
- 'tagpy: Metadata editing support'
- 'python2-dbus: Various extra functionality (e.g. multimedia keys support)')
-source=(http://download.berlios.de/${pkgname}/${pkgname}-$pkgver.tar.gz
- info.py.patch)
-md5sums=('0b912325e7175abad3bf6c0edc071e05'
- '595fcf7615035829b264afecb5a1beeb')
-
-build() {
- cd "$srcdir/${pkgname}-$pkgver"
- patch -Np0 -i "$srcdir/info.py.patch"
- sed -i 's|/usr/bin/env python|/usr/bin/env python2|' sonata/breadcrumbs.py
-}
-
-package() {
- cd "$srcdir/${pkgname}-$pkgver"
- python2 setup.py install --prefix=/usr --optimize 1 --root="$pkgdir"
-}
diff --git a/testing/sonata/info.py.patch b/testing/sonata/info.py.patch
deleted file mode 100644
index e95cc3a08..000000000
--- a/testing/sonata/info.py.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- sonata/info.py 2011-07-05 22:32:08.452556016 -0500
-+++ sonata/info.py 2011-07-05 22:45:50.849311466 -0500
-@@ -393,9 +393,9 @@
- if content.startswith("#REDIRECT [["):
- addr = "http://lyricwiki.org/index.php?title=%s&action=edit" % urllib.quote(content.split("[[")[1].split("]]")[0])
- content = urllib.urlopen(addr).read()
-- lyrics = content.split("&lt;lyrics&gt;")[1].split("&lt;/lyrics&gt;")[0]
-- if lyrics.strip() != "&lt;!-- PUT LYRICS HERE (and delete this entire line) --&gt;":
-- lyrics = misc.unescape_html(lyrics)
-+ content = misc.unescape_html(content)
-+ lyrics = content.split("<lyrics>")[1].split("</lyrics>")[0].strip()
-+ if lyrics.strip() != "<!-- PUT LYRICS HERE (and delete this entire line) -->":
- lyrics = misc.wiki_to_html(lyrics)
- lyrics = lyrics.decode("utf-8")
- # Save lyrics to file:
diff --git a/testing/stellarium/PKGBUILD b/testing/stellarium/PKGBUILD
deleted file mode 100644
index 05a16e1e5..000000000
--- a/testing/stellarium/PKGBUILD
+++ /dev/null
@@ -1,38 +0,0 @@
-# $Id: PKGBUILD 168495 2012-10-12 19:14:51Z andyrtr $
-# Maintainer: Ronald van Haren <ronald.archlinux.org>
-# Contributor: Damir Perisa <damir.perisa@bluewin.ch>
-
-pkgname=stellarium
-pkgver=0.11.4
-pkgrel=2
-pkgdesc="A stellarium with great graphics and a nice database of sky-objects"
-arch=("i686" "x86_64")
-url="http://stellarium.free.fr/"
-license=('GPL2')
-depends=('libpng' 'glu' 'libgl' 'freetype2' 'qt' 'openssl')
-makedepends=('cmake' 'boost' 'mesa')
-source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
- stellarium.desktop
- stellarium.png)
-sha1sums=('5b8bfd71b4c3eabbc1db64b71221eeebe6785dbf'
- 'c9cc79212542238227b5bd6af99f60fe056f4ab2'
- 'b890d3b6c4dcfcfcc696514202af11b2a50c0fea')
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
-
- cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE
- make
-}
-
-package() {
- cd ${srcdir}/${pkgname}-${pkgver}
-
- make DESTDIR=${pkgdir} install
-
- # install desktop file & pixmap
- install -Dm644 ${srcdir}/stellarium.desktop \
- ${pkgdir}/usr/share/applications/stellarium.desktop
- install -Dm644 ${srcdir}/stellarium.png \
- ${pkgdir}/usr/share/pixmaps/stellarium.png
-}
diff --git a/testing/stellarium/libpng14.patch b/testing/stellarium/libpng14.patch
deleted file mode 100644
index 7ed1da689..000000000
--- a/testing/stellarium/libpng14.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -Naur stellarium-0.10.2-orig/src/core/StelTextureMgr.cpp stellarium-0.10.2/src/core/StelTextureMgr.cpp
---- stellarium-0.10.2-orig/src/core/StelTextureMgr.cpp 2010-01-21 17:04:57.000000000 -0500
-+++ stellarium-0.10.2/src/core/StelTextureMgr.cpp 2010-01-21 17:06:55.000000000 -0500
-@@ -513,7 +513,7 @@
- fread (magic, 1, sizeof (magic), fp);
-
- /* check for valid magic number */
-- if (!png_check_sig (magic, sizeof (magic)))
-+ if (png_sig_cmp (magic, 0, sizeof (magic)))
- {
- qWarning() << "error: \"" << filename << "\" is not a valid PNG image!";
- fclose (fp);
-@@ -576,7 +576,7 @@
- /* convert 1-2-4 bits grayscale images to 8 bits
- grayscale. */
- if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8)
-- png_set_gray_1_2_4_to_8 (png_ptr);
-+ png_set_expand_gray_1_2_4_to_8 (png_ptr);
-
- if (png_get_valid (png_ptr, info_ptr, PNG_INFO_tRNS))
- png_set_tRNS_to_alpha (png_ptr);
diff --git a/testing/stellarium/stellarium.desktop b/testing/stellarium/stellarium.desktop
deleted file mode 100644
index 1b82b18bd..000000000
--- a/testing/stellarium/stellarium.desktop
+++ /dev/null
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Name=Stellarium nightsky renderer
-GenericName=Nightsky renderer
-Comment=A real-time nightsky renderer
-Categories=Education;Science;Astronomy;
-Icon=stellarium
-Exec=stellarium
-Terminal=false
-Type=Application
diff --git a/testing/stellarium/stellarium.png b/testing/stellarium/stellarium.png
deleted file mode 100644
index 08bce127c..000000000
--- a/testing/stellarium/stellarium.png
+++ /dev/null
Binary files differ
diff --git a/testing/swt/PKGBUILD b/testing/swt/PKGBUILD
deleted file mode 100644
index f6db69266..000000000
--- a/testing/swt/PKGBUILD
+++ /dev/null
@@ -1,56 +0,0 @@
-# $Id: PKGBUILD 168272 2012-10-07 11:37:04Z guillaume $
-# Maintainer: Guillaume ALAUX <guillaume@archlinux.org>
-pkgname=swt
-pkgver=4.2
-pkgrel=2
-_date=201206081400
-pkgdesc="An open source widget toolkit for Java"
-arch=('i686' 'x86_64')
-url="http://www.eclipse.org/swt/"
-license=('EPL')
-depends=('java-runtime>=6' 'gtk2>=2.20.1' 'libxtst')
-optdepends=('libgnomeui' 'mesa' 'glu' 'libwebkit')
-makedepends=('java-environment' 'libxtst' 'mesa' 'glu' 'libgnomeui' 'unzip' 'pkgconfig' 'libwebkit' 'apache-ant')
-if [ "${CARCH}" = "i686" ]; then
- _carch=x86
- md5sums=('3efe0404f6129183abae46f7620fe14f'
- '2f556ab534fc2488c6e8c0ee6c02825c')
-fi
-if [ "${CARCH}" = "x86_64" ]; then
- _carch=x86_64
- md5sums=('9e06b576116ff409f395571603582827'
- '2f556ab534fc2488c6e8c0ee6c02825c')
-fi
-source=(http://download.eclipse.org/eclipse/downloads/drops4/R-${pkgver}-${_date}/swt-${pkgver}-gtk-linux-${_carch}.zip
- build-swt.xml)
-# To test this pkg:
-# http://www.eclipse.org/swt/examples.php#standaloneOutsideEclipse
-
-build() {
- cd ${srcdir}
- unzip -oq src.zip -d src
-
- . /etc/profile.d/jdk.sh
- . /etc/profile.d/apache-ant.sh
-
- # Shared objects
- cd src
- ./build.sh
-
- # SWT jar
- ant -f ../build-swt.xml compile
-}
-
-package() {
- cd ${srcdir}/src
-
- # Shared objects
- export OUTPUT_DIR=${pkgdir}/usr/lib
- install -dm755 ${OUTPUT_DIR}
- make -f make_linux.mak install
-
- # SWT jar
- ant -f ../build-swt.xml jar
- install -Dm755 ../swt.jar ${pkgdir}/usr/share/java/swt-${pkgver}.jar
- ln -s swt-${pkgver}.jar ${pkgdir}/usr/share/java/swt.jar
-}
diff --git a/testing/swt/build-swt.xml b/testing/swt/build-swt.xml
deleted file mode 100644
index a161204f8..000000000
--- a/testing/swt/build-swt.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<project name="SWT" default="jar" basedir=".">
- <property name="src" location="."/>
- <property name="build" location="build"/>
-
- <target name="init">
- <tstamp/>
- <mkdir dir="${build}"/>
- </target>
-
- <target name="compile" depends="init" description="Compile the SWT toolset">
- <javac srcdir="${src}" destdir="${build}" target="1.6" />
- </target>
-
- <target name="jar">
- <jar destfile="swt.jar" basedir="${build}"/>
- </target>
-</project>
diff --git a/testing/system-config-printer/PKGBUILD b/testing/system-config-printer/PKGBUILD
deleted file mode 100644
index 6ee650101..000000000
--- a/testing/system-config-printer/PKGBUILD
+++ /dev/null
@@ -1,108 +0,0 @@
-# $Id: PKGBUILD 168898 2012-10-16 13:51:27Z allan $
-# Maintainer: Andrea Scarpino <andrea@archlinux.org>
-
-pkgbase=system-config-printer
-pkgname=('system-config-printer-common'
- 'system-config-printer-gnome')
-pkgver=1.3.11
-pkgrel=2
-pkgdesc="A CUPS printer configuration tool and status applet"
-url="http://cyberelk.net/tim/software/system-config-printer/"
-arch=('i686' 'x86_64')
-license=('GPL')
-makedepends=('udev' 'libcups' 'intltool' 'python2' 'xmlto' 'docbook-xsl'
- 'libusb-compat' 'desktop-file-utils')
-source=(http://cyberelk.net/tim/data/${pkgbase}/1.3/${pkgbase}-${pkgver}.tar.xz{,.sig})
-md5sums=('081fde89686ee15a9433c0035f5faed0'
- '470964eb627af31f2aff9967a4b9a5bb')
-
-build() {
- cd "${srcdir}"/${pkgbase}-${pkgver}
-
- sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
- -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
- $(find . -name '*.py')
- sed -i "s|#!/usr/bin/python|#!/usr/bin/python2|" udev/udev-add-printer
-
- # Fix build with udev 183
- sed -i 's:udev_get_sys_path (udev):"/sys":' udev/udev-configure-printer.c
-
- ./configure --prefix=/usr \
- --sbindir=/usr/bin \
- --sysconfdir=/etc \
- --with-udev-rules
-
- make
-}
-
-package_system-config-printer-common() {
- pkgdesc='Pygtk CUPS Configuration'
- depends=('udev' 'pycups' 'python2-dbus' 'pysmbc' 'python2-pycurl' 'libusb-compat')
- optdepends=('system-config-printer-gnome: for the GTK frontend'
- 'kdeadmin-system-config-printer-kde: for the administration tool in KDE System Settings')
- replaces=('system-config-printer')
- provides=("system-config-printer=${pkgver}")
- conflicts=('system-config-printer')
-
- cd "${srcdir}"/${pkgbase}-${pkgver}
- install -d "${pkgdir}"/usr/share/${pkgbase}
- install -m644 config.py \
- debug.py \
- installpackage.py \
- monitor.py \
- PhysicalDevice.py \
- ppdippstr.py \
- probe_printer.py \
- SearchCriterion.py \
- smburi.py \
- statereason.py \
- "${pkgdir}"/usr/share/${pkgbase}/
-
- install -m755 pysmb.py \
- "${pkgdir}"/usr/share/${pkgbase}/
-
- install -d "${pkgdir}"/etc/dbus-1/system.d/
- install -m644 dbus/com.redhat.NewPrinterNotification.conf \
- dbus/com.redhat.PrinterDriversInstaller.conf \
- "${pkgdir}"/etc/dbus-1/system.d/
- install -d "${pkgdir}"/etc/cupshelpers/
- install -m644 xml/preferreddrivers.xml "${pkgdir}"/etc/cupshelpers/
-
- install -d "${pkgdir}"/usr/lib/udev/rules.d
- install -m755 udev/{udev-add-printer,udev-configure-printer} \
- "${pkgdir}"/usr/lib/udev/
- install -m644 udev/70-printers.rules \
- "${pkgdir}"/usr/lib/udev/rules.d
-
- for file in build/lib/cupshelpers/*.py; do
- install -Dm644 $file \
- "${pkgdir}"/usr/lib/python2.7/site-packages/cupshelpers/$(basename $file)
- done
-}
-
-package_system-config-printer-gnome() {
- pkgdesc='A CUPS printer configuration tool and status applet - GTK frontend'
- depends=('system-config-printer-common' 'gnome-icon-theme' 'python2-notify')
- optdependence=('gnome-keyring: password management')
-
- cd "${srcdir}"/${pkgbase}-${pkgver}
- make DESTDIR="${pkgdir}" install
-
- # files provided by system-config-printer-common
- cd "${pkgdir}"/usr/share/${pkgbase}
- rm config.py \
- debug.py \
- installpackage.py \
- monitor.py \
- PhysicalDevice.py \
- ppdippstr.py \
- probe_printer.py \
- SearchCriterion.py \
- smburi.py \
- statereason.py \
- pysmb.py
- rm -r "${pkgdir}"/etc/dbus-1/
- rm -r "${pkgdir}"/etc/cupshelpers/
- rm -r "${pkgdir}"/etc/udev/
- rm -r "${pkgdir}"/usr/lib/
-}
diff --git a/testing/twisted/PKGBUILD b/testing/twisted/PKGBUILD
deleted file mode 100644
index 26514d9f3..000000000
--- a/testing/twisted/PKGBUILD
+++ /dev/null
@@ -1,37 +0,0 @@
-# $Id: PKGBUILD 168885 2012-10-16 11:55:48Z allan $
-# Maintainer : Ionut Biru <ibiru@archlinux.org>
-# Contributor: Juergen Hoetzel <juergen@archlinux.org>
-# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
-
-pkgname=twisted
-pkgver=12.2.0
-pkgrel=2
-pkgdesc="Asynchronous networking framework written in Python."
-arch=('i686' 'x86_64')
-url="http://twistedmatrix.com/"
-license=('MIT')
-depends=('python2-crypto' 'python2-zope-interface')
-optdepends=('python2-pyopenssl'
- 'python2-soappy: for twisted.web.soap'
- 'python2-pyasn1: for using conch'
- 'pygtk: for using manhole'
- 'tk: for using tkconch')
-install=twisted.install
-source=(http://twistedmatrix.com/Releases/Twisted/${pkgver%.*}/Twisted-$pkgver.tar.bz2)
-sha1sums=('c51834c1270e7a4bb0de9190056e4317413920f9')
-
-build() {
- cd "$srcdir/Twisted-$pkgver"
- python2 setup.py build
-}
-
-package() {
- 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 -i 's:^#!.*bin.*python:#!/usr/bin/python2:' \
- "$pkgdir"/usr/lib/python2.7/site-packages/twisted/trial/test/scripttest.py \
- "$pkgdir"/usr/lib/python2.7/site-packages/twisted/mail/test/pop3testserver.py \
- "$pkgdir"/usr/lib/python2.7/site-packages/twisted/python/test/pullpipe.py
-}
diff --git a/testing/twisted/twisted.install b/testing/twisted/twisted.install
deleted file mode 100644
index 8e93ffd3c..000000000
--- a/testing/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.7/site-packages/twisted/plugins -name dropin.cache | xargs -r rm -f
-}
diff --git a/testing/vde2/PKGBUILD b/testing/vde2/PKGBUILD
deleted file mode 100644
index 1f706ffa1..000000000
--- a/testing/vde2/PKGBUILD
+++ /dev/null
@@ -1,50 +0,0 @@
-# $Id: PKGBUILD 168886 2012-10-16 11:55:53Z allan $
-# Contributor: Sergej Pupykin
-# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
-pkgname=vde2
-pkgver=2.3.2
-pkgrel=2
-pkgdesc="Virtual Distributed Ethernet for emulators like qemu"
-url="http://sourceforge.net/projects/vde/"
-license=("GPL" "LGPL" "CUSTOM")
-arch=('i686' 'x86_64')
-depends=('bash' 'libpcap' 'openssl')
-makedepends=('python')
-backup=(etc/conf.d/vde)
-source=(http://downloads.sourceforge.net/vde/$pkgname-$pkgver.tar.bz2
- dhcpd.conf.sample
- iptables.rules.sample
- vde-config.sample
- vde-connection.sample
- vde.conf
- vde.rc)
-install=vde2.install
-options=(!libtool !makeflags)
-
-build() {
- cd $srcdir/$pkgname-$pkgver
- ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/vde2 \
- --enable-experimental
- make
-}
-
-package() {
- cd $srcdir/$pkgname-$pkgver
- make prefix=$pkgdir/usr sysconfdir=$pkgdir/etc libexecdir=$pkgdir/usr/lib/vde2 install
- install -D -m 755 ../vde.rc $pkgdir/etc/rc.d/vde
- install -D -m 644 ../vde.conf $pkgdir/etc/conf.d/vde
- install -D -m 644 ../vde-config.sample $pkgdir/etc/vde/vde-config.sample
- install -D -m 644 ../vde-connection.sample $pkgdir/etc/vde/vde-connection.sample
- install -D -m 644 ../dhcpd.conf.sample $pkgdir/usr/share/vde2/dhcpd.conf.sample
- install -D -m 644 ../iptables.rules.sample $pkgdir/usr/share/vde2/iptables.rules.sample
- # install slirp license
- install -D -m 644 COPYING.slirpvde $pkgdir/usr/share/licenses/vde2/COPYING.slirpvde
-}
-
-md5sums=('46fbc5f97f03dc517aa3b2c9d9ea6628'
- '7d9bc56d2e561d849e915000d1c0f269'
- 'a920123fc620bcedbccb703a8d1bdc55'
- 'cb8ace28e8efd4dad128be4be71b3b07'
- '63033c33565e2030541c5e05e9d9b063'
- 'a22730f051f4840da4a3162a88ff8156'
- '6c7dc01bc2f039f0ff1682ee70d3d1da')
diff --git a/testing/vde2/dhcpd.conf.sample b/testing/vde2/dhcpd.conf.sample
deleted file mode 100644
index 565a78b27..000000000
--- a/testing/vde2/dhcpd.conf.sample
+++ /dev/null
@@ -1,12 +0,0 @@
-ddns-update-style none;
-
-subnet 192.168.254.0 netmask 255.255.255.0 {
- range 192.168.254.1 192.168.254.253;
- option routers 192.168.254.254;
- option domain-name "virtual.example.com";
- # find your DNS servers from /etc/resolv.conf
- # otherwise only pure IP addresses will work
- option domain-name-servers 192.168.254.254;
- option broadcast-address 192.168.254.255;
- default-lease-time 86400;
-}
diff --git a/testing/vde2/iptables.rules.sample b/testing/vde2/iptables.rules.sample
deleted file mode 100644
index ac712ee21..000000000
--- a/testing/vde2/iptables.rules.sample
+++ /dev/null
@@ -1,5 +0,0 @@
-*filter
--A INPUT -i tun -j ACCEPT
--A FORWARD -s 192.168.254.0/255.255.255.0 -j ACCEPT
-*nat
--A POSTROUTING -s 192.168.254.0/24 -j MASQUERADE
diff --git a/testing/vde2/vde-config.sample b/testing/vde2/vde-config.sample
deleted file mode 100644
index c5a5b7d88..000000000
--- a/testing/vde2/vde-config.sample
+++ /dev/null
@@ -1,35 +0,0 @@
-# Set options vde_switch program
-# To activate this vde profile add it to /etc/conf.d/vde
-
-# Global options
-VDE_NUMPORTS="32" # Number of ports (default 32)
-VDE_HUB="no" # [yes|no] Make the switch act as a hub
-VDE_FSTP="no" # [yes|no] Activate the fast spanning tree protocol
-VDE_MAC="" # Set the Switch MAC address
-VDE_PRIOTIRY="" # Set the priority for FST (MAC extension)
-VDE_HASHSIZE="" # Hash table size
-
-# Options from datasock module
-VDE_SOCK="/var/run/vde/sample.sock" # control directory pathname
-VDE_SOCK_MODE="660" # Standard access mode for comm sockets (octal)
-VDE_SOCK_GROUP="root" # Group owner for comm sockets
-
-# Options from consmgmt module
-VDE_MANAGEMENT_SOCK="/var/run/vde/sample.mgmt" # path of the management UNIX socket
-VDE_MANAGEMENT_SOCK_MODE="660" # management UNIX socket access mode (octal)
-
-# Other options to parse to vde_switch
-VDE_OPTIONS=""
-
-# VDE with internet support
-# You can use either tuntap method or slirpvde method.
-
-# Options from tuntap module
-VDE_TAP="" # Enable routing through TAP tap interface (comma separated array eg.:"tap0,tap1").
-
-# slirpvde daemon support
-SLIRP="no" # [yes|no] enable/disable SLIRP daemon support
-SLIRP_DHCP="no" # [yes|no] turn on the DHCP server for the network autoconfiguration of all the units connected to the VDE
-SLIRP_NETWORK="" # specify the network address (default 10.0.2.0)
-# other options to parse to slirpvde
-SLIRP_OPTIONS="" \ No newline at end of file
diff --git a/testing/vde2/vde-connection.sample b/testing/vde2/vde-connection.sample
deleted file mode 100644
index 4a75e1f52..000000000
--- a/testing/vde2/vde-connection.sample
+++ /dev/null
@@ -1,6 +0,0 @@
-# You can add vde switch connections below
-# just without the # at the beginning:
-# vde_plug /var/run/vde/sample.sock = vde_plug /var/run/vde/sample2.sock
-# or if hosts are different use this syntax:
-# vde_plug /var/run/vde/sample.sock = ssh host2 vde_plug /var/run/vde/sample.sock
-
diff --git a/testing/vde2/vde.conf b/testing/vde2/vde.conf
deleted file mode 100644
index bc61dceda..000000000
--- a/testing/vde2/vde.conf
+++ /dev/null
@@ -1,11 +0,0 @@
-# Set options for a vde daemon script
-#
-# Array for your vde config files, eg.: "internal-net external-net"
-# You need a config file in /etc/vde/ with the same name.
-# Sample config file provided: /etc/vde/vde-config.sample
-VDE_CONFIG=""
-
-# Array for your dpipe connections, eg.: "connect-switches"
-# You need a config file in /etc/vde/ with the same name.
-# Sample config file provided: /etc/vde/vde-connection.sample
-VDE_CONNECTION="" \ No newline at end of file
diff --git a/testing/vde2/vde.rc b/testing/vde2/vde.rc
deleted file mode 100755
index b368f9955..000000000
--- a/testing/vde2/vde.rc
+++ /dev/null
@@ -1,113 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/vde
-
-case "$1" in
- start)
- # bring up all defined profiles
- for i in $VDE_CONFIG; do
- [ -e /etc/vde/$i ] && . /etc/vde/$i
- stat_busy "Starting vde_switch $i"
- # get options from profile
- [ -n "$VDE_NUMPORTS" ] && OPTIONS="-n $VDE_NUMPORTS"
- [ "$VDE_HUB" = "yes" ] && OPTIONS="$OPTIONS -x"
- [ "$VDE_FSTP" = "yes" ] && OPTIONS="$OPTIONS -F"
- [ -n "$VDE_MAC" ] && OPTIONS="$OPTIONS --macaddr $VDE_MAC"
- [ -n "$VDE_PRIORITY" ] && OPTIONS="$OPTIONS --priority $VDE_PRIORITY"
- [ -n "$VDE_HASH" ] && OPTIONS="$OPTIONS --hashsize $VDE_HASH"
- [ -n "$VDE_SOCK" ] && OPTIONS="$OPTIONS -s $VDE_SOCK"
- [ -n "$VDE_SOCK_MODE" ] && OPTIONS="$OPTIONS -m $VDE_SOCK_MODE"
- [ -n "$VDE_SOCK_GROUP" ] && OPTIONS="$OPTIONS -g $VDE_SOCK_GROUP"
- [ -n "$VDE_MANAGEMENT_SOCK" ] && OPTIONS="$OPTIONS -M $VDE_MANAGEMENT_SOCK"
- [ -n "$VDE_MANAGEMENT_SOCK_MODE" ] && OPTIONS="$OPTIONS --mgmtmode $VDE_MANAGEMENT_SOCK_MODE"
- [ -n "$VDE_TAP" ] && OPTIONS="$OPTIONS -t $VDE_TAP"
- [ -n "$VDE_OPTIONS" ] && OPTIONS="$OPTIONS $VDE_OPTIONS"
- vde_switch $OPTIONS -p /var/run/vde-$i.pid -daemon &>/dev/null
- [ -n "$VDE_SOCK" -a -n "$VDE_SOCK_GROUP" ] && chgrp "$VDE_SOCK_GROUP" "$VDE_SOCK"
- if [ $? -gt 0 ]; then
- stat_fail
- else
- stat_done
- fi
- if [ "$SLIRP" = "yes" ]; then
- stat_busy "Starting slirpvde for $i"
- [ "$SLIRP_DHCP" = "yes" ] && SP_OPTIONS="-D"
- [ -n "$SLIRP_NETWORK" ] && SP_OPTIONS="$SP_OPTIONS -n $SLIRP_NETWORK"
- [ -n "$SLIRP_OPTIONS" ] && SP_OPTIONS="$SP_OPTIONS $SLIRP_OPTIONS"
- [ -n "$VDE_SOCK" ] && SP_OPTIONS="$SP_OPTIONS -s $VDE_SOCK"
- [ -n "$VDE_SOCK_MODE" ] && SP_OPTIONS="$SP_OPTIONS -m $VDE_SOCK_MODE"
- [ -n "$VDE_SOCK_GROUP" ] && SP_OPTIONS="$SP_OPTIONS -g $VDE_SOCK_GROUP"
- slirpvde $SP_OPTIONS -p /var/run/slirpvde-$i.pid -daemon &>/dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- stat_done
- fi
- unset OPTIONS
- unset SP_OPTIONS
- fi
- done
- for i in $VDE_CONNECTION; do
- # connect specified vde_switches
- if [ "$(grep ^vde_plug /etc/vde/$i)" ]; then
- stat_busy "Connecting VDE switches $i together..."
- while read j; do
- switch="$(echo $j | grep ^vde_plug)"
- [ -n "$switch" ] && (dpipe $switch &)
- done </etc/vde/$i
- if [ $? -gt 0 ]; then
- stat_fail
- else
- stat_done
- fi
- fi
- done
- add_daemon vde
- ;;
- stop)
- # kill vde_plug if switches are connected
- [ -n "$VDE_CONNECTION" ] && killall vde_plug >/dev/null 2>&1
- for i in $VDE_CONFIG; do
- [ -e /etc/vde/$i ] && . /etc/vde/$i
- if [ "$SLIRP" = "yes" ]; then
- stat_busy "Stopping slirpvde for $i"
- kill $(cat /var/run/slirpvde-$i.pid) &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- stat_done
- fi
- rm /var/run/slirpvde-$i.pid &> /dev/null
- fi
- stat_busy "Stopping vde_switch $i"
- kill $(cat /var/run/vde-$i.pid) &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- stat_done
- fi
- rm /var/run/vde-$i.pid &> /dev/null
- stat_busy "Removing $i vde sockets"
- rm -rf $VDE_SOCK $VDE_MANAGEMENT_SOCK
- if [ $? -gt 0 ]; then
- stat_fail
- else
- stat_done
- fi
- done
- unset OPTIONS
- unset SP_OPTIONS
- [ -e /var/run/vde/gmon.out ] && rm /var/run/vde/gmon.out
- rm_daemon vde
- ;;
- restart)
- $0 stop
- sleep 3
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
diff --git a/testing/vde2/vde2.install b/testing/vde2/vde2.install
deleted file mode 100644
index 74e1710ff..000000000
--- a/testing/vde2/vde2.install
+++ /dev/null
@@ -1,10 +0,0 @@
-post_install() {
- echo "Change /etc/conf.d/vde to your needs."
- echo "vde config files should be placed in /etc/vde, sample files are provided."
- echo "iptables and dhcpd sample files have been installed to '/usr/share/vde2'."
- echo "Merge those examples, if needed to the according config files."
-}
-
-post_upgrade() {
- post_install $1
-}
diff --git a/testing/xf86-input-acecad/PKGBUILD b/testing/xf86-input-acecad/PKGBUILD
deleted file mode 100644
index d711418ad..000000000
--- a/testing/xf86-input-acecad/PKGBUILD
+++ /dev/null
@@ -1,34 +0,0 @@
-# $Id: PKGBUILD 168205 2012-10-06 20:05:59Z andyrtr $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=xf86-input-acecad
-pkgver=1.5.0
-pkgrel=5
-pkgdesc="X.Org acecad tablet input driver"
-arch=(i686 x86_64)
-url="http://xorg.freedesktop.org/"
-license=('custom')
-depends=('sysfsutils')
-makedepends=('xorg-server-devel' 'X-ABI-XINPUT_VERSION=18' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13' 'X-ABI-XINPUT_VERSION<18' 'X-ABI-XINPUT_VERSION>=19')
-options=('!libtool')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2
- assign-local-private-after-allocating.patch)
-sha1sums=('410cee68e4435dc95774fb389fcefae1b2ffe3d1'
- '9301020b0ef3c6f2081e957481a88d2e187a7973')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- patch -Np1 -i "${srcdir}/assign-local-private-after-allocating.patch"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- make DESTDIR="${pkgdir}" install
-
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
diff --git a/testing/xf86-input-acecad/assign-local-private-after-allocating.patch b/testing/xf86-input-acecad/assign-local-private-after-allocating.patch
deleted file mode 100644
index e3e635a6f..000000000
--- a/testing/xf86-input-acecad/assign-local-private-after-allocating.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From ec2c4ead497133ef20d5ef5a9b481b38e1e0f7a2 Mon Sep 17 00:00:00 2001
-From: Peter Hutterer <peter.hutterer@who-t.net>
-Date: Mon, 27 Jun 2011 03:13:54 +0000
-Subject: Assign local->private after allocating.
-
-It is detrimental to the user experience when the driver tries to derefernce
-null pointers.
-
-Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
----
-diff --git a/src/acecad.c b/src/acecad.c
-index ad6d793..604fe91 100644
---- a/src/acecad.c
-+++ b/src/acecad.c
-@@ -343,6 +343,7 @@ AceCadPreInit(InputDriverPtr drv, InputInfoPtr local, int flags)
- return BadAlloc;
-
- memset(priv, 0, sizeof(AceCadPrivateRec));
-+ local->private = priv;
-
- local->device_control = DeviceControl;
-
---
-cgit v0.8.3-6-g21f6
diff --git a/testing/xf86-input-aiptek/PKGBUILD b/testing/xf86-input-aiptek/PKGBUILD
deleted file mode 100644
index c0914a3c8..000000000
--- a/testing/xf86-input-aiptek/PKGBUILD
+++ /dev/null
@@ -1,31 +0,0 @@
-# $Id: PKGBUILD 168206 2012-10-06 20:06:02Z andyrtr $
-#Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=xf86-input-aiptek
-pkgver=1.4.1
-pkgrel=5
-pkgdesc="X.Org Aiptek USB Digital Tablet input driver"
-arch=(i686 x86_64)
-url="http://xorg.freedesktop.org/"
-license=('custom')
-depends=('glibc')
-makedepends=('xorg-server-devel' 'X-ABI-XINPUT_VERSION=18' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13' 'X-ABI-XINPUT_VERSION<18' 'X-ABI-XINPUT_VERSION>=19')
-options=('!libtool')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha1sums=('55ea7d12d3e24fd72eacc966a59262864dce7769')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- make DESTDIR="${pkgdir}" install
-
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
diff --git a/testing/xf86-input-elographics/PKGBUILD b/testing/xf86-input-elographics/PKGBUILD
deleted file mode 100644
index ee6ad8451..000000000
--- a/testing/xf86-input-elographics/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# $Id: PKGBUILD 88566 2010-08-24 08:47:16Z jgc $
-#Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=xf86-input-elographics
-pkgver=1.4.1
-pkgrel=2
-pkgdesc="X.org Elographics TouchScreen input driver"
-arch=(i686 x86_64)
-license=('custom')
-url="http://xorg.freedesktop.org/"
-depends=('glibc')
-makedepends=('xorg-server-devel' 'X-ABI-XINPUT_VERSION=18' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13' 'X-ABI-XINPUT_VERSION<18' 'X-ABI-XINPUT_VERSION>=19')
-options=('!libtool')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('a21af744d57f158e6dff9d60a68aaac46b8d726d602911940cb61f4d6bb2c6a4')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
diff --git a/testing/xf86-input-evdev/PKGBUILD b/testing/xf86-input-evdev/PKGBUILD
deleted file mode 100644
index 18a8c1d00..000000000
--- a/testing/xf86-input-evdev/PKGBUILD
+++ /dev/null
@@ -1,31 +0,0 @@
-# $Id: PKGBUILD 168208 2012-10-06 20:06:09Z andyrtr $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-# Contributor: Alexander Baldeck <Alexander@archlinux.org
-
-pkgname=xf86-input-evdev
-pkgver=2.7.3
-pkgrel=2
-pkgdesc="X.org evdev input driver"
-arch=(i686 x86_64)
-url="http://xorg.freedesktop.org/"
-license=('custom')
-depends=('glibc' 'systemd-tools' 'mtdev')
-makedepends=('xorg-server-devel' 'X-ABI-XINPUT_VERSION=18' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13.0' 'X-ABI-XINPUT_VERSION<18' 'X-ABI-XINPUT_VERSION>=19')
-options=('!libtool' '!makeflags')
-groups=('xorg-drivers' 'xorg')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('eb389413602c3d28c44bbfab0477c98582f0e2f5be5f41986e58e93a033fa504')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
diff --git a/testing/xf86-input-joystick/50-joystick.conf b/testing/xf86-input-joystick/50-joystick.conf
deleted file mode 100644
index 95a295ab0..000000000
--- a/testing/xf86-input-joystick/50-joystick.conf
+++ /dev/null
@@ -1,6 +0,0 @@
-Section "InputClass"
- Identifier "joystick catchall"
- MatchIsJoystick "on"
- MatchDevicePath "/dev/input/event*"
- Driver "joystick"
-EndSection
diff --git a/testing/xf86-input-joystick/PKGBUILD b/testing/xf86-input-joystick/PKGBUILD
deleted file mode 100644
index c6413f2b6..000000000
--- a/testing/xf86-input-joystick/PKGBUILD
+++ /dev/null
@@ -1,39 +0,0 @@
-# $Id: PKGBUILD 168209 2012-10-06 20:06:17Z andyrtr $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=xf86-input-joystick
-pkgver=1.6.1
-pkgrel=2
-pkgdesc="X.Org Joystick input driver"
-arch=(i686 x86_64)
-url="http://xorg.freedesktop.org/"
-license=('custom')
-depends=('glibc')
-makedepends=('xorg-server-devel' 'X-ABI-XINPUT_VERSION=18' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13.0' 'X-ABI-XINPUT_VERSION<18' 'X-ABI-XINPUT_VERSION>=19')
-groups=('xorg-drivers' 'xorg')
-options=('!libtool')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2
- #git-fixes.patch
- 50-joystick.conf)
-sha1sums=('0712652ec6cdb2fca6ad888548b232a4de9cf580'
- 'e1ff3699a0470c6bb78a53f718df9d8521621e11')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- #patch -Np1 -i "${srcdir}/git-fixes.patch"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- make DESTDIR="${pkgdir}" install
-
- install -m755 -d "${pkgdir}/etc/X11/xorg.conf.d"
- install -m644 "${srcdir}/50-joystick.conf" "${pkgdir}/etc/X11/xorg.conf.d/"
-
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
diff --git a/testing/xf86-input-joystick/git-fixes.patch b/testing/xf86-input-joystick/git-fixes.patch
deleted file mode 100644
index b3afa06cc..000000000
--- a/testing/xf86-input-joystick/git-fixes.patch
+++ /dev/null
@@ -1,399 +0,0 @@
-From 204dcb86368b011824fc5006f87b9e394d03a394 Mon Sep 17 00:00:00 2001
-From: Terry Lambert <tlambert@chromium.org>
-Date: Sat, 16 Jul 2011 00:23:22 +0000
-Subject: Return proper default for unknown values in pInfo->device_control.
-
-Signed-off-by: Terry Lambert <tlambert@chromium.org>
-Reviewed-by: Stephane Marchesin <marcheu@chromium.org>
-Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
----
-diff --git a/src/jstk.c b/src/jstk.c
-index ec6b79a..6db0e7c 100644
---- a/src/jstk.c
-+++ b/src/jstk.c
-@@ -419,8 +419,7 @@ jstkDeviceControlProc(DeviceIntPtr pJstk,
-
- default:
- ErrorF("unsupported mode=%d\n", what);
-- return !Success;
-- break;
-+ return BadValue;
- } /* switch (what) */
- return Success;
- }
-diff --git a/src/jstk_key.c b/src/jstk_key.c
-index 3c471ce..d699dcd 100644
---- a/src/jstk_key.c
-+++ b/src/jstk_key.c
-@@ -169,6 +169,8 @@ jstkKeyboardDeviceControlProc(DeviceIntPtr dev,
- DBG(2, ErrorF("jstkKeyboardDeviceControlProc what=DEVICE_CLOSE\n"));
- dev->public.on = FALSE;
- break;
-+ default:
-+ return BadValue;
- }
-
- return Success;
---
-cgit v0.9.0.2-2-gbebe
-From b3b62328cf3f36c20c54a298f8a921e6eef42c4d Mon Sep 17 00:00:00 2001
-From: Devin J. Pohly <djpohly+xorg@gmail.com>
-Date: Sat, 03 Sep 2011 23:00:07 +0000
-Subject: unify capitalization of joystick properties
-
-the axis keys high/low properties were inconsistently capitalized,
-leading to potential confusion as to why one works but not the other.
-
-Signed-off-by: Devin J. Pohly <djpohly+xorg@gmail.com>
-Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
----
-diff --git a/include/joystick-properties.h b/include/joystick-properties.h
-index 49ef800..36f4082 100644
---- a/include/joystick-properties.h
-+++ b/include/joystick-properties.h
-@@ -99,7 +99,7 @@ typedef enum _JSTK_MAPPING {
-
- /** Scancodes for axis in high position */
- /* 8 bit, 4 per axis */
--#define JSTK_PROP_AXIS_KEYS_HIGH "Axis keys (high)"
-+#define JSTK_PROP_AXIS_KEYS_HIGH "Axis Keys (high)"
-
- /** Set the mapping of each button to
- none, x, y, zx, zy, button, key, speed_multiply,
---
-cgit v0.9.0.2-2-gbebe
-From b607c4ebeea4122694f02ba87f06e4cdb23114f1 Mon Sep 17 00:00:00 2001
-From: Sascha Hlusiak <saschahlusiak@arcor.de>
-Date: Sat, 15 Oct 2011 22:47:52 +0000
-Subject: label buttons and axes
-
-Buttons are labeled "Button %d", starting with 0 and representing the button in X _after_ mapping.
-Mapping can be changed while running so the labels will be constant.
-
-Axes are labeled "Axis %d", starting with 1, representing the _physical_ axis that reports the valuator
-data. The raw valuators can't be dynamically mapped, the first two valuators always are labeled "Rel X"
-and "Rel Y", representing the aggregated post-calculation data from all axes.
-
-Signed-off-by: Sascha Hlusiak <saschahlusiak@arcor.de>
----
-diff --git a/man/joystick.man b/man/joystick.man
-index da92ceb..b401de5 100644
---- a/man/joystick.man
-+++ b/man/joystick.man
-@@ -140,7 +140,11 @@ Neither
- .B mode
- nor
- .B axis
--needs to be set to generate extra valuator events.
-+needs to be set to generate extra valuator events. The axis will be labelled according to it's physical axis number, beginning with
-+.I 1
-+, i.e.
-+.I \*qAxis 1\*q
-+for the first axis (being the 3rd valuator).
- Default: not set.
- .TP 7
- .BI "\*qaxis="[<factor>]<axis> \*q
-@@ -318,6 +322,28 @@ and the second and fourth axis to the arrow keys
- The keys for the first two axes will be generated in an interval according to the value of the axis. The autorepeat speed of the first axis will be half the speed of that of the second axis.
- The keys for the third and fourth axis are generated once when the axis moves out of the deadzone and when it moves back into the deadzone. X.Org will autorepeat those keys according to current keyboard settings.
-
-+.SH "XI2 Events"
-+If you only care about raw events instead of using the joystick as a mouse replacement, don't forget to unmap and add valuators to all axes and map the remaining buttons:
-+
-+.nf
-+.BI " Option \*qMapAxis1\*q \*q" "mode=none valuator" \*q
-+.BI " Option \*qMapAxis2\*q \*q" "mode=none valuator" \*q
-+.BI " Option \*qMapAxis3\*q \*q" "mode=none valuator" \*q
-+.BI " Option \*qMapAxis4\*q \*q" "mode=none valuator" \*q
-+\ \ ...
-+.BI " Option \*qMapButton1\*q \*q" "button=1" \*q
-+.BI " Option \*qMapButton2\*q \*q" "button=2" \*q
-+.BI " Option \*qMapButton3\*q \*q" "button=3" \*q
-+.BI " Option \*qMapButton4\*q \*q" "button=4" \*q
-+.BI " Option \*qMapButton5\*q \*q" "button=5" \*q
-+\ \ ...
-+.fi
-+
-+You might also want to set the device "floating" to stop it from reporting core events:
-+.nf
-+.BI " Option \*qFloating\*q \*q" "true" \*q
-+.fi
-+
- .SH "NOTES"
- Configuration through
- .I InputClass
-diff --git a/src/jstk.c b/src/jstk.c
-index 6db0e7c..772683f 100644
---- a/src/jstk.c
-+++ b/src/jstk.c
-@@ -1,5 +1,5 @@
- /*
-- * Copyright 2007-2009 by Sascha Hlusiak. <saschahlusiak@freedesktop.org>
-+ * Copyright 2007-2011 by Sascha Hlusiak. <saschahlusiak@freedesktop.org>
- * Copyright 1995-1999 by Frederic Lepied, France. <Lepied@XFree86.org>
- *
- * Permission to use, copy, modify, distribute, and sell this software and its
-@@ -21,7 +21,6 @@
- * PERFORMANCE OF THIS SOFTWARE.
- */
-
--
- #ifdef HAVE_CONFIG_H
- #include "config.h"
- #endif
-@@ -300,6 +299,7 @@ jstkDeviceControlProc(DeviceIntPtr pJstk,
- switch (what) {
- case DEVICE_INIT: {
- int m;
-+ char str[32];
- CARD8 buttonmap[BUTTONMAP_SIZE+1];
- DBG(1, ErrorF("jstkDeviceControlProc what=INIT\n"));
- /* Probe device and return if error */
-@@ -312,11 +312,14 @@ jstkDeviceControlProc(DeviceIntPtr pJstk,
- }
-
- for (m=0; m<=BUTTONMAP_SIZE; m++) {
-+ sprintf(str, "Button %d", m);
-+
- buttonmap[m] = m;
-- }
-+ btn_labels[m] = MakeAtom(str, strlen(str), TRUE);
-+ }
-+
-+
-
--
--
- if (InitButtonClassDeviceStruct(pJstk, BUTTONMAP_SIZE,
- btn_labels,
- buttonmap) == FALSE) {
-@@ -331,7 +334,9 @@ jstkDeviceControlProc(DeviceIntPtr pJstk,
- if (priv->axis[i].valuator != -1)
- {
- DBG(3, ErrorF("Axis %d will be valuator %d\n", i, m));
-+ sprintf(str, "Axis %d", i + 1);
- priv->axis[i].valuator = m++;
-+ axes_labels[i] = MakeAtom(str, strlen(str), TRUE);
- }
-
- if (InitValuatorClassDeviceStruct(pJstk, m, axes_labels,
-@@ -719,7 +724,6 @@ static XF86ModuleVersionInfo jstkVersionRec =
- /* a tool */
- };
-
--
- /*
- ***************************************************************************
- *
-@@ -732,3 +736,6 @@ _X_EXPORT XF86ModuleData joystickModuleData = {
- jstkDriverPlug,
- jstkDriverUnplug
- };
-+
-+/* vim: set filetype=c.doxygen ts=4 et: */
-+
---
-cgit v0.9.0.2-2-gbebe
-From e0193debf8f5a72b0a06977d5dea3365ad9cafbe Mon Sep 17 00:00:00 2001
-From: Peter Hutterer <peter.hutterer@who-t.net>
-Date: Mon, 31 Oct 2011 04:27:22 +0000
-Subject: Fix option type for option duplication
-
-xf86OptionListDuplicate() duplicates an XF86Option list, not an InputOption
-list.
-
-Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
----
-diff --git a/src/jstk_key.c b/src/jstk_key.c
-index d699dcd..e842941 100644
---- a/src/jstk_key.c
-+++ b/src/jstk_key.c
-@@ -253,26 +253,26 @@ jstkKeyboardHotplug(InputInfoPtr pInfo, int flags)
- int rc;
- char name[512] = {0};
- InputAttributes *attrs = NULL;
-- InputOption *options;
- InputOption *iopts = NULL, *tmp;
- DeviceIntPtr dev;
-+ XF86OptionPtr opts;
-
- /* duplicate option list, append to name */
-- options = xf86OptionListDuplicate(pInfo->options);
-+ opts = xf86OptionListDuplicate(pInfo->options);
- strcpy(name, pInfo->name);
- strcat(name, " (keys)");
-- options = xf86ReplaceStrOption(options, "Name", name);
-- options = xf86ReplaceStrOption(options, "_source", "_driver/joystick");
-+ opts = xf86ReplaceStrOption(opts, "Name", name);
-+ opts = xf86ReplaceStrOption(opts, "_source", "_driver/joystick");
-
-- while(options)
-+ while(opts)
- {
- tmp = calloc(1, sizeof(InputOption));
-
-- tmp->key = xf86OptionName(options);
-- tmp->value = xf86OptionValue(options);
-+ tmp->key = xf86OptionName(opts);
-+ tmp->value = xf86OptionValue(opts);
- tmp->next = iopts;
- iopts = tmp;
-- options = xf86NextOption(options);
-+ opts = xf86NextOption(opts);
- }
-
- /* duplicate attribute list */
---
-cgit v0.9.0.2-2-gbebe
-From 7ccf3a75292d71104c976bf6afb389cccaac1a7d Mon Sep 17 00:00:00 2001
-From: Peter Hutterer <peter.hutterer@who-t.net>
-Date: Mon, 31 Oct 2011 04:33:08 +0000
-Subject: Deal with opaque input option types.
-
-ABI 14 made the InputOption type opaque, move the existing code to ifdefs
-and use the new function calls otherwise.
-
-Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
-Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
----
-diff --git a/src/jstk_key.c b/src/jstk_key.c
-index e842941..a71275a 100644
---- a/src/jstk_key.c
-+++ b/src/jstk_key.c
-@@ -247,13 +247,46 @@ int jstkKeyboardPreInit(InputDriverPtr drv, InputInfoPtr pInfo, int flags)
- return Success;
- }
-
-+#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 14
-+static InputOption*
-+input_option_new(InputOption* list, char *key, char *value)
-+{
-+ InputOption *tmp;
-+
-+ tmp = calloc(1, sizeof(*tmp));
-+ tmp->key = key;
-+ tmp->value = value;
-+ tmp->next = list;
-+
-+ return tmp;
-+}
-+
-+static void
-+input_option_free_list(InputOption **list)
-+{
-+ InputOption *iopts = *list;
-+
-+ while(iopts)
-+ {
-+ InputOption *tmp = iopts->next;
-+ free(iopts->key);
-+ free(iopts->value);
-+ free(iopts);
-+ iopts = tmp;
-+ }
-+
-+ *list = NULL;
-+}
-+
-+#endif
-+
- InputInfoPtr
- jstkKeyboardHotplug(InputInfoPtr pInfo, int flags)
- {
- int rc;
- char name[512] = {0};
- InputAttributes *attrs = NULL;
-- InputOption *iopts = NULL, *tmp;
-+ InputOption *iopts = NULL;
- DeviceIntPtr dev;
- XF86OptionPtr opts;
-
-@@ -266,12 +299,9 @@ jstkKeyboardHotplug(InputInfoPtr pInfo, int flags)
-
- while(opts)
- {
-- tmp = calloc(1, sizeof(InputOption));
--
-- tmp->key = xf86OptionName(opts);
-- tmp->value = xf86OptionValue(opts);
-- tmp->next = iopts;
-- iopts = tmp;
-+ iopts = input_option_new(iopts,
-+ xf86OptionName(opts),
-+ xf86OptionValue(opts));
- opts = xf86NextOption(opts);
- }
-
-@@ -280,14 +310,7 @@ jstkKeyboardHotplug(InputInfoPtr pInfo, int flags)
-
- rc = NewInputDeviceRequest(iopts, attrs, &dev);
-
-- while(iopts)
-- {
-- tmp = iopts->next;
-- free(iopts->key);
-- free(iopts->value);
-- free(iopts);
-- iopts = tmp;
-- }
-+ input_option_free_list(&iopts);
-
- FreeInputAttributes(attrs);
-
---
-cgit v0.9.0.2-2-gbebe
-From 411c1838456c055d3f911c54ed58bb11a6bf0da3 Mon Sep 17 00:00:00 2001
-From: Sascha Hlusiak <saschahlusiak@arcor.de>
-Date: Sun, 13 Nov 2011 17:04:25 +0000
-Subject: man: valuators are not added automatically
-
----
-diff --git a/man/joystick.man b/man/joystick.man
-index b401de5..9f38ceb 100644
---- a/man/joystick.man
-+++ b/man/joystick.man
-@@ -129,9 +129,6 @@ can be one of:
-
- .B none, relative, accelerated, absolute
-
--Every axis which's mode is not
--.B none
--will be reported as an additional valuator.
- .TP 7
- .B \*qvaluator\*q
- Send extra valuator events for this axis. The valuators will be numbered ascending, starting with 2 (valuator 0 and 1 are reserved for pointer movement). The range of the valuators is always
---
-cgit v0.9.0.2-2-gbebe
-From b217fabdef1714ed4898e08de4c2a6b9cc8d4f0f Mon Sep 17 00:00:00 2001
-From: Sascha Hlusiak <saschahlusiak@arcor.de>
-Date: Sun, 13 Nov 2011 19:36:07 +0000
-Subject: Copy pInfo->driver to option list to fix hotplugging of keyboard device
-
-udev does copy the Driver line to the list of options, but when manually
-specifying the driver in xorg.conf, the option "Driver" is unset. Because we
-do hotplug a sub-device from within the core device, we need the "Driver"
-option to be present in the list.
-
-This should fix archlinux bug #23577:
- https://bugs.archlinux.org/task/23577
-
-Thanks to Malek for coming up with a fix.
-
-Signed-off-by: Sascha Hlusiak <contact@saschahlusiak.de>
----
-diff --git a/src/jstk_key.c b/src/jstk_key.c
-index a71275a..241b15d 100644
---- a/src/jstk_key.c
-+++ b/src/jstk_key.c
-@@ -296,6 +296,7 @@ jstkKeyboardHotplug(InputInfoPtr pInfo, int flags)
- strcat(name, " (keys)");
- opts = xf86ReplaceStrOption(opts, "Name", name);
- opts = xf86ReplaceStrOption(opts, "_source", "_driver/joystick");
-+ opts = xf86AddNewOption(opts, "Driver", pInfo->driver);
-
- while(opts)
- {
---
-cgit v0.9.0.2-2-gbebe
diff --git a/testing/xf86-input-keyboard/PKGBUILD b/testing/xf86-input-keyboard/PKGBUILD
deleted file mode 100644
index a338e294a..000000000
--- a/testing/xf86-input-keyboard/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# $Id: PKGBUILD 168210 2012-10-06 20:06:20Z andyrtr $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=xf86-input-keyboard
-pkgver=1.6.2
-pkgrel=2
-pkgdesc="X.Org keyboard input driver"
-arch=(i686 x86_64)
-license=('custom')
-url="http://xorg.freedesktop.org/"
-depends=('glibc')
-makedepends=('xorg-server-devel' 'X-ABI-XINPUT_VERSION=18' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13.0' 'X-ABI-XINPUT_VERSION<18' 'X-ABI-XINPUT_VERSION>=19')
-options=('!libtool')
-groups=('xorg-drivers' 'xorg')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('76651a84f5031f7c6ecf075d55989c04a00689642579df6d1a1bee6d5c2e5f8a')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
diff --git a/testing/xf86-input-mouse/PKGBUILD b/testing/xf86-input-mouse/PKGBUILD
deleted file mode 100644
index c33333e24..000000000
--- a/testing/xf86-input-mouse/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# $Id: PKGBUILD 168211 2012-10-06 20:06:24Z andyrtr $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=xf86-input-mouse
-pkgver=1.8.1
-pkgrel=2
-pkgdesc="X.org mouse input driver"
-arch=(i686 x86_64)
-license=('custom')
-url="http://xorg.freedesktop.org/"
-depends=('glibc')
-makedepends=('xorg-server-devel' 'X-ABI-XINPUT_VERSION=18' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13.0' 'X-ABI-XINPUT_VERSION<18' 'X-ABI-XINPUT_VERSION>=19')
-options=('!libtool')
-groups=('xorg-drivers' 'xorg')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('f5b97aac9aab8fa8b933e960631441ae23b18681c8bf3d5007c00da838f9c9c8')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
diff --git a/testing/xf86-input-synaptics/10-synaptics.conf b/testing/xf86-input-synaptics/10-synaptics.conf
deleted file mode 100644
index 81a90fb81..000000000
--- a/testing/xf86-input-synaptics/10-synaptics.conf
+++ /dev/null
@@ -1,9 +0,0 @@
-Section "InputClass"
- Identifier "touchpad catchall"
- Driver "synaptics"
- MatchIsTouchpad "on"
- MatchDevicePath "/dev/input/event*"
- Option "TapButton1" "1"
- Option "TapButton2" "2"
- Option "TapButton3" "3"
-EndSection
diff --git a/testing/xf86-input-synaptics/PKGBUILD b/testing/xf86-input-synaptics/PKGBUILD
deleted file mode 100644
index 795ba9666..000000000
--- a/testing/xf86-input-synaptics/PKGBUILD
+++ /dev/null
@@ -1,43 +0,0 @@
-# $Id: PKGBUILD 168212 2012-10-06 20:06:30Z andyrtr $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-# Contributor: Tobias Powalowski <tpowa@archlinux.org>
-# Contributor: Thomas Bächler <thomas@archlinux.org>
-# Contributor: Alexander Baldeck <alexander@archlinux.org>
-
-pkgname=xf86-input-synaptics
-pkgver=1.6.2
-pkgrel=2
-pkgdesc="Synaptics driver for notebook touchpads"
-arch=('i686' 'x86_64')
-license=('custom')
-url="http://xorg.freedesktop.org/"
-depends=('libxtst' 'mtdev')
-makedepends=('xorg-server-devel' 'X-ABI-XINPUT_VERSION=18' 'libxi' 'libx11' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13.0' 'X-ABI-XINPUT_VERSION<18' 'X-ABI-XINPUT_VERSION>=19')
-replaces=('synaptics')
-provides=('synaptics')
-conflicts=('synaptics')
-groups=('xorg-drivers' 'xorg')
-options=(!libtool)
-backup=('etc/X11/xorg.conf.d/10-synaptics.conf')
-source=(http://xorg.freedesktop.org/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2
- 10-synaptics.conf)
-sha256sums=('c3f7d6a085d480c352f030aeb43db2e5560d1468ed34be24d44a0fc3fda25920'
- 'bd506a0545c335faa6da7ec42b3f60f2c09b5ed9e26f03003d6f59be88107ee2')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -m755 -d "${pkgdir}/etc/X11/xorg.conf.d"
- install -m644 "${srcdir}/10-synaptics.conf" "${pkgdir}/etc/X11/xorg.conf.d/"
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-
- rm -rf "${pkgdir}/usr/share/X11"
-}
diff --git a/testing/xf86-input-vmmouse/PKGBUILD b/testing/xf86-input-vmmouse/PKGBUILD
deleted file mode 100644
index 846628429..000000000
--- a/testing/xf86-input-vmmouse/PKGBUILD
+++ /dev/null
@@ -1,34 +0,0 @@
-# $Id: PKGBUILD 168213 2012-10-06 20:06:33Z andyrtr $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=xf86-input-vmmouse
-pkgver=12.9.0
-pkgrel=2
-pkgdesc="X.org VMWare Mouse input driver"
-arch=(i686 x86_64)
-license=('custom')
-url="http://xorg.freedesktop.org/"
-depends=('glibc' 'sh')
-makedepends=('xorg-server-devel' 'X-ABI-XINPUT_VERSION=18' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13.0' 'X-ABI-XINPUT_VERSION<18' 'X-ABI-XINPUT_VERSION>=19')
-groups=('xorg-drivers' 'xorg')
-backup=('etc/X11/xorg.conf.d/50-vmmouse.conf')
-options=('!libtool')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha1sums=('83500beddba2da390389705d482131872fe9be8b')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr \
- --with-xorg-conf-dir=/etc/X11/xorg.conf.d \
- --with-udev-rules-dir=/usr/lib/udev/rules.d
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
- rm -rfv ${pkgdir}/usr/{lib,share}/hal
-}
diff --git a/testing/xf86-input-void/PKGBUILD b/testing/xf86-input-void/PKGBUILD
deleted file mode 100644
index c41307cc6..000000000
--- a/testing/xf86-input-void/PKGBUILD
+++ /dev/null
@@ -1,32 +0,0 @@
-# $Id: PKGBUILD 168214 2012-10-06 20:06:37Z andyrtr $
-#Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=xf86-input-void
-pkgver=1.4.0
-pkgrel=4
-pkgdesc="X.org void input driver"
-arch=(i686 x86_64)
-license=('custom')
-url="http://xorg.freedesktop.org/"
-depends=('glibc')
-makedepends=('xorg-server-devel' 'X-ABI-XINPUT_VERSION=18' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13.0' 'X-ABI-XINPUT_VERSION<18' 'X-ABI-XINPUT_VERSION>=19')
-groups=('xorg-drivers' 'xorg')
-options=('!libtool')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha1sums=('49b462d3acb16337eaf78202d4074f19d5e20b29')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- make DESTDIR="${pkgdir}" install
-
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
diff --git a/testing/xf86-input-wacom/70-wacom.rules b/testing/xf86-input-wacom/70-wacom.rules
deleted file mode 100644
index f6aa20835..000000000
--- a/testing/xf86-input-wacom/70-wacom.rules
+++ /dev/null
@@ -1,12 +0,0 @@
-ACTION!="add|change", GOTO="wacom_end"
-
-# Match all serial wacom tablets with a serial ID starting with WACf
-# Notes: We assign NAME though we shouldn't, but currently the server requires it
-# We assign the lot to subsystem pnp too because server reads NAME from
-# the parent device. Once all that's fixed, as simple SUBSYSTEM="tty"
-# will do and the ENV{NAME} can be removed.
-SUBSYSTEM=="tty|pnp", SUBSYSTEMS=="pnp", ATTRS{id}=="WACf*", ENV{ID_MODEL}="Serial Wacom Tablet $attr{id}", ENV{ID_INPUT}="1", ENV{ID_INPUT_TABLET}="1", ENV{NAME}="Serial Wacom Tablet $attr{id}"
-SUBSYSTEM=="tty|pnp", SUBSYSTEMS=="pnp", ATTRS{id}=="FUJ*", ENV{ID_MODEL}="Serial Wacom Tablet $attr{id}", ENV{ID_INPUT}="1", ENV{ID_INPUT_TABLET}="1", ENV{NAME}="Serial Wacom Tablet $attr{id}"
-
-LABEL="wacom_end"
-
diff --git a/testing/xf86-input-wacom/PKGBUILD b/testing/xf86-input-wacom/PKGBUILD
deleted file mode 100644
index 8bc2188ff..000000000
--- a/testing/xf86-input-wacom/PKGBUILD
+++ /dev/null
@@ -1,34 +0,0 @@
-# $Id: PKGBUILD 168215 2012-10-06 20:06:42Z andyrtr $
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
-# Contributor: Jan de Groot <jgc@archlinux.org>
-# Contributor: M Rawash <mrawash@gmail.com>
-
-pkgname=xf86-input-wacom
-pkgver=0.17.0
-pkgrel=2
-pkgdesc="X.Org Wacom tablet driver"
-arch=('i686' 'x86_64')
-url="http://linuxwacom.sourceforge.net/"
-license=('GPL')
-backup=('etc/X11/xorg.conf.d/50-wacom.conf')
-depends=('libxi' 'libxrandr' 'libxinerama')
-makedepends=('xorg-server-devel' 'X-ABI-XINPUT_VERSION=18' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13.0' 'X-ABI-XINPUT_VERSION<18' 'X-ABI-XINPUT_VERSION>=19')
-options=(!libtool)
-source=(http://downloads.sourceforge.net/project/linuxwacom/$pkgname/$pkgname-$pkgver.tar.bz2
- 70-wacom.rules)
-md5sums=('92dffefc3bc30523463f2fa4bc753448'
- '10db4f8272286690255c1bcc18bfdd92')
-
-build() {
- cd $pkgname-$pkgver
- ./configure --prefix=/usr --with-xorg-conf-dir=/etc/X11/xorg.conf.d
- make
-}
-
-package() {
- cd $pkgname-$pkgver
- make DESTDIR="$pkgdir" install
-
- install -Dm644 ../70-wacom.rules "$pkgdir/usr/lib/udev/rules.d/70-wacom.rules"
-}
diff --git a/testing/xf86-video-apm/PKGBUILD b/testing/xf86-video-apm/PKGBUILD
deleted file mode 100644
index f9ae39c07..000000000
--- a/testing/xf86-video-apm/PKGBUILD
+++ /dev/null
@@ -1,29 +0,0 @@
-# $Id: PKGBUILD 168216 2012-10-06 20:06:45Z andyrtr $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=xf86-video-apm
-pkgver=1.2.5
-pkgrel=2
-pkgdesc="X.org Alliance ProMotion video driver"
-arch=(i686 x86_64)
-url="http://xorg.freedesktop.org/"
-license=('custom')
-depends=('glibc')
-makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=13' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13.0' 'X-ABI-VIDEODRV_VERSION<13' 'X-ABI-VIDEODRV_VERSION>=14')
-options=('!libtool')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('953b04320117b14c5b7efb37de45cef45592409f639c2aa87b7e2d77dc8d3d0f')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
diff --git a/testing/xf86-video-ark/PKGBUILD b/testing/xf86-video-ark/PKGBUILD
deleted file mode 100644
index 3d2bb12ae..000000000
--- a/testing/xf86-video-ark/PKGBUILD
+++ /dev/null
@@ -1,31 +0,0 @@
-# $Id: PKGBUILD 168217 2012-10-06 20:06:48Z andyrtr $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=xf86-video-ark
-pkgver=0.7.5
-pkgrel=2
-pkgdesc="X.org ark video driver"
-arch=(i686 x86_64)
-url="http://xorg.freedesktop.org/"
-license=('custom')
-depends=('glibc')
-makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=13' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13.0' 'X-ABI-VIDEODRV_VERSION<13' 'X-ABI-VIDEODRV_VERSION>=14')
-options=('!libtool')
-groups=('xorg-drivers' 'xorg')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('c690e046f34a393aac1c8d9616b4790e93cda60a460b00b9597d322175dbe51e')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
diff --git a/testing/xf86-video-ast/PKGBUILD b/testing/xf86-video-ast/PKGBUILD
deleted file mode 100644
index 02f67d096..000000000
--- a/testing/xf86-video-ast/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# $Id: PKGBUILD 168218 2012-10-06 20:06:51Z andyrtr $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=xf86-video-ast
-pkgver=0.97.0
-pkgrel=2
-pkgdesc="X.org ASPEED AST Graphics video driver"
-arch=(i686 x86_64)
-url="http://xorg.freedesktop.org/"
-license=('custom')
-depends=('glibc')
-makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=13' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13.0' 'X-ABI-VIDEODRV_VERSION<13' 'X-ABI-VIDEODRV_VERSION>=14')
-options=('!libtool')
-groups=('xorg-drivers' 'xorg')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('28fcd4781676485293f6dcd46e0797866f6219e22e1851c9796b037589998e76')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
diff --git a/testing/xf86-video-chips/PKGBUILD b/testing/xf86-video-chips/PKGBUILD
deleted file mode 100644
index 83484ee3b..000000000
--- a/testing/xf86-video-chips/PKGBUILD
+++ /dev/null
@@ -1,33 +0,0 @@
-# $Id: PKGBUILD 168220 2012-10-06 20:06:59Z andyrtr $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-# Contributor: Alexander Baldeck <alexander@archlinux.org>
-
-pkgname=xf86-video-chips
-pkgver=1.2.5
-pkgrel=2
-pkgdesc="X.org Chips and Technologies video driver"
-arch=(i686 x86_64)
-url="http://xorg.freedesktop.org/"
-license=('custom')
-depends=(glibc)
-makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=13' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13.0' 'X-ABI-VIDEODRV_VERSION<13' 'X-ABI-VIDEODRV_VERSION>=14')
-options=('!libtool')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2 iopl.h)
-sha256sums=('8d3c744d035b3d769049647bb8022ec24500d31b1b224cd0ea4efe61f86bfed2'
- 'd04607e51f9064fb128beceda9660feadb7775b585466a5b9fb04f942effc670')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- cp ${srcdir}/iopl.h util/
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
diff --git a/testing/xf86-video-chips/iopl.h b/testing/xf86-video-chips/iopl.h
deleted file mode 100644
index e08207c7f..000000000
--- a/testing/xf86-video-chips/iopl.h
+++ /dev/null
@@ -1,60 +0,0 @@
-#ifdef __NetBSD__
-# include <sys/types.h>
-# include <machine/pio.h>
-# include <machine/sysarch.h>
-#else
-# if defined(__linux__)
-/* Can't because <sys/iopl.h> provides conflicting inb, outb, etc
- * # include <sys/io.h>
- */
-int iopl(int level);
-# endif
-# if defined(SVR4) && defined(i386)
-# include <sys/types.h>
-# ifdef NCR
- /* broken NCR <sys/sysi86.h> */
-# define __STDC
-# include <sys/sysi86.h>
-# undef __STDC
-# else
-# include <sys/sysi86.h>
-# endif
-# ifdef SVR4
-# if !defined(sun)
-# include <sys/seg.h>
-# endif
-# endif
-# include <sys/v86.h>
-# if defined(sun)
-# include <sys/psw.h>
-# endif
-# endif
-# include "AsmMacros.h"
-#endif /* NetBSD */
-
-#include <unistd.h>
-#include <stdio.h>
-#include <stdlib.h>
-
-#ifdef __NetBSD__
-# define SET_IOPL() i386_iopl(3)
-# define RESET_IOPL() i386_iopl(0)
-#else
-# if defined(SVR4) && defined(i386)
-# ifndef SI86IOPL
-# define SET_IOPL() sysi86(SI86V86,V86SC_IOPL,PS_IOPL)
-# define RESET_IOPL() sysi86(SI86V86,V86SC_IOPL,0)
-# else
-# define SET_IOPL() sysi86(SI86IOPL,3)
-# define RESET_IOPL() sysi86(SI86IOPL,0)
-# endif
-# else
-# ifdef linux
-# define SET_IOPL() iopl(3)
-# define RESET_IOPL() iopl(0)
-# else
-# define SET_IOPL() (void)0
-# define RESET_IOPL() (void)0
-# endif
-# endif
-#endif
diff --git a/testing/xf86-video-cirrus/PKGBUILD b/testing/xf86-video-cirrus/PKGBUILD
deleted file mode 100644
index ecde3bb28..000000000
--- a/testing/xf86-video-cirrus/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# $Id: PKGBUILD 168221 2012-10-06 20:07:03Z andyrtr $
-#Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=xf86-video-cirrus
-pkgver=1.5.1
-pkgrel=2
-pkgdesc="X.org Cirrus Logic video driver"
-arch=(i686 x86_64)
-url="http://xorg.freedesktop.org/"
-license=('custom')
-depends=('glibc')
-makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=13' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13.0' 'X-ABI-VIDEODRV_VERSION<13' 'X-ABI-VIDEODRV_VERSION>=14')
-groups=('xorg-drivers' 'xorg')
-options=('!libtool')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('a955429cbd673230c4b171afd6d0a6b28372d2f9d0a400f5124869274a27c557')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
diff --git a/testing/xf86-video-dummy/PKGBUILD b/testing/xf86-video-dummy/PKGBUILD
deleted file mode 100644
index 61bcfaf34..000000000
--- a/testing/xf86-video-dummy/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# $Id: PKGBUILD 168222 2012-10-06 20:07:07Z andyrtr $
-#Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=xf86-video-dummy
-pkgver=0.3.6
-pkgrel=2
-pkgdesc="X.org dummy video driver"
-arch=(i686 x86_64)
-url="http://xorg.freedesktop.org/"
-license=('custom')
-depends=('glibc')
-makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=13' 'xf86dgaproto' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13.0' 'X-ABI-VIDEODRV_VERSION<13' 'X-ABI-VIDEODRV_VERSION>=14')
-groups=('xorg-drivers' 'xorg')
-options=('!libtool')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('44335b640126d339700256dae731bd5af79afd027da172bad8a991a33a1de798')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
diff --git a/testing/xf86-video-fbdev/PKGBUILD b/testing/xf86-video-fbdev/PKGBUILD
deleted file mode 100644
index 4f601a475..000000000
--- a/testing/xf86-video-fbdev/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# $Id: PKGBUILD 168223 2012-10-06 20:07:10Z andyrtr $
-#Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=xf86-video-fbdev
-pkgver=0.4.3
-pkgrel=2
-pkgdesc="X.org framebuffer video driver"
-arch=(i686 x86_64)
-license=('custom')
-url="http://xorg.freedesktop.org/"
-depends=('glibc')
-makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=13' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13.0' 'X-ABI-VIDEODRV_VERSION<13' 'X-ABI-VIDEODRV_VERSION>=14')
-groups=('xorg-drivers' 'xorg')
-options=('!libtool')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('ff7b037ad110040a4e2db5c84e9741125dbbaf3a08107db47760f3e11f9c4831')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
diff --git a/testing/xf86-video-glint/PKGBUILD b/testing/xf86-video-glint/PKGBUILD
deleted file mode 100644
index ddd99e5cc..000000000
--- a/testing/xf86-video-glint/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# $Id: PKGBUILD 168225 2012-10-06 20:07:19Z andyrtr $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=xf86-video-glint
-pkgver=1.2.8
-pkgrel=2
-pkgdesc="X.org GLINT/Permedia video driver"
-arch=(i686 x86_64)
-url="http://xorg.freedesktop.org/"
-license=('custom')
-depends=('glibc')
-makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=13' 'xf86dgaproto' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13.0' 'X-ABI-VIDEODRV_VERSION<13' 'X-ABI-VIDEODRV_VERSION>=14')
-options=('!libtool')
-groups=('xorg-drivers' 'xorg')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('657f883bb3a4e4278399eba73840862c3642706ae8b0a4798ec97a31b3524221')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
diff --git a/testing/xf86-video-i128/PKGBUILD b/testing/xf86-video-i128/PKGBUILD
deleted file mode 100644
index e2892cd12..000000000
--- a/testing/xf86-video-i128/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# $Id: PKGBUILD 168226 2012-10-06 20:07:22Z andyrtr $
-# Maintainer:Jan de Groot <jgc@archlinux.org>
-
-pkgname=xf86-video-i128
-pkgver=1.3.6
-pkgrel=2
-pkgdesc="X.org Number 9 I128 video driver"
-arch=(i686 x86_64)
-url="http://xorg.freedesktop.org/"
-license=('custom')
-depends=('glibc')
-makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=13' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13.0' 'X-ABI-VIDEODRV_VERSION<13' 'X-ABI-VIDEODRV_VERSION>=14')
-groups=('xorg-drivers' 'xorg')
-options=('!libtool')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('f8827e4c988f90cf5a677554b30d61f0a07eb86d872478751cdc94dc17452b9c')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
diff --git a/testing/xf86-video-i740/PKGBUILD b/testing/xf86-video-i740/PKGBUILD
deleted file mode 100644
index 51e666726..000000000
--- a/testing/xf86-video-i740/PKGBUILD
+++ /dev/null
@@ -1,29 +0,0 @@
-# $Id: PKGBUILD 168227 2012-10-06 20:07:25Z andyrtr $
-#Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=xf86-video-i740
-pkgver=1.3.4
-pkgrel=2
-pkgdesc="X.org Intel i740 video driver"
-arch=(i686 x86_64)
-url="http://xorg.freedesktop.org/"
-license=('custom')
-depends=('glibc')
-makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=13' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13.0' 'X-ABI-VIDEODRV_VERSION<13' 'X-ABI-VIDEODRV_VERSION>=14')
-options=('!libtool')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('1a24009bb2223b722fb41e1a2737a6e74bfecb0829e5583e270d267ee4ecca78')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
diff --git a/testing/xf86-video-mach64/PKGBUILD b/testing/xf86-video-mach64/PKGBUILD
deleted file mode 100644
index a8b670ac7..000000000
--- a/testing/xf86-video-mach64/PKGBUILD
+++ /dev/null
@@ -1,33 +0,0 @@
-# $Id: PKGBUILD 168229 2012-10-06 20:07:36Z andyrtr $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=xf86-video-mach64
-pkgver=6.9.3
-pkgrel=2
-pkgdesc="X.org mach64 video driver"
-arch=(i686 x86_64)
-url="http://xorg.freedesktop.org/"
-license=('custom')
-depends=('glibc')
-makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=13' 'resourceproto' 'scrnsaverproto' )
-conflicts=('xorg-server<1.13.0' 'X-ABI-VIDEODRV_VERSION<13' 'X-ABI-VIDEODRV_VERSION>=14')
-optdepends=('mach64-dri: DRI1 support from community repo')
-groups=('xorg-drivers' 'xorg')
-options=('!libtool' '!emptydirs')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2 git_fixes.diff)
-sha256sums=('5473d0e7dfd7bcff3f759e9e6bd6794ab464958f2f647d9b6d3edf3c66c53218'
- '27f6531101ac26debc9cb5faa63e16aaf5bdb9001ddb817ffad5e4f60fbc4dd3')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- patch -Np1 -i ${srcdir}/git_fixes.diff
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
diff --git a/testing/xf86-video-mach64/git_fixes.diff b/testing/xf86-video-mach64/git_fixes.diff
deleted file mode 100644
index aad11772e..000000000
--- a/testing/xf86-video-mach64/git_fixes.diff
+++ /dev/null
@@ -1,107 +0,0 @@
-From 5eb7fec958bc6ba8a1a2b0be4916cac818866e1c Mon Sep 17 00:00:00 2001
-From: Dave Airlie <airlied@gmail.com>
-Date: Wed, 18 Jul 2012 08:46:49 +0000
-Subject: mach64: fix build on 32-bit.
-
-tvout code only builds on 32-bit, fix build.
-
-Signed-off-by: Dave Airlie <airlied@redhat.com>
----
-diff --git a/src/atiscreen.c b/src/atiscreen.c
-index 2957877..b1fbd3c 100644
---- a/src/atiscreen.c
-+++ b/src/atiscreen.c
-@@ -580,7 +580,7 @@ ATIScreenInit(SCREEN_INIT_ARGS_DECL)
- #ifdef TV_OUT
- /* Fix-up TV out after ImpacTV probe */
- if (pATI->OptionTvOut && pATI->Chip < ATI_CHIP_264GTPRO)
-- ATISwitchMode(0, pScreenInfo->currentMode, 0);
-+ ATISwitchMode(SWITCH_MODE_ARGS(pScreenInfo, pScreenInfo->currentMode));
- #endif /* TV_OUT */
-
- #ifdef XF86DRI_DEVEL
---
-cgit v0.9.0.2-2-gbebe
-From 104e3e067a7dcac143cb672fe42d56396ba6087b Mon Sep 17 00:00:00 2001
-From: Adam Jackson <ajax@redhat.com>
-Date: Wed, 26 Sep 2012 20:21:25 +0000
-Subject: Don't gratuitously disable Render when ShadowFBing
-
-There's no reason to do this, and I am at a loss to explain why that was
-ever done. The first instance of this logic comes from xfree86 (over 11
-years ago!):
-
-http://cvsweb.xfree86.org/cvsweb/xc/programs/Xserver/hw/xfree86/drivers/ati/atiscreen.c.diff?r1=1.15&r2=1.16
-
-Now, cfb never had Render support, so that might make some sense if
-there was an intermediate uncommitted state where the driver used fb for
-direct but cfb for shadowed. But that's really the only plausible
-explanation I can think of.
-
-Signed-off-by: Adam Jackson <ajax@redhat.com>
----
-diff --git a/src/atiscreen.c b/src/atiscreen.c
-index b1fbd3c..62a4dd9 100644
---- a/src/atiscreen.c
-+++ b/src/atiscreen.c
-@@ -476,21 +476,11 @@ ATIScreenInit(SCREEN_INIT_ARGS_DECL)
- }
- }
-
-- /* If applicable, initialise RENDER extension */
-+ /* initialise RENDER extension */
-+ if (!fbPictureInit(pScreen, NULL, 0) && (serverGeneration == 1))
- {
-- if (pATI->OptionShadowFB)
-- {
-- if (serverGeneration == 1)
-- xf86DrvMsg(pScreenInfo->scrnIndex, X_WARNING,
-- "RENDER extension not supported with a shadowed"
-- " framebuffer.\n");
-- }
-- else if (!fbPictureInit(pScreen, NULL, 0) &&
-- (serverGeneration == 1))
-- {
-- xf86DrvMsg(pScreenInfo->scrnIndex, X_WARNING,
-- "RENDER extension initialisation failed.\n");
-- }
-+ xf86DrvMsg(pScreenInfo->scrnIndex, X_WARNING,
-+ "RENDER extension initialisation failed.\n");
- }
-
- xf86SetBlackWhitePixels(pScreen);
---
-cgit v0.9.0.2-2-gbebe
-From 42c4e423eec789606eec9703be23a9fd4483a14a Mon Sep 17 00:00:00 2001
-From: Adam Jackson <ajax@redhat.com>
-Date: Tue, 02 Oct 2012 14:19:47 +0000
-Subject: Fix build with neither XAA nor EXA against xserver 1.13.0
-
-Pull in picturestr.h to get GLYPH_HAS_GLYPH_PICTURE_ACCESSOR defined
-before compat-api.h is parsed, otherwise you fail with:
-
-In file included from /usr/include/xorg/picturestr.h:28:0,
- from /usr/include/xorg/exa.h:38,
- from atimach64accel.h:31,
- from atiscreen.c:46:
-/usr/include/xorg/glyphstr.h:138:2: error: expected ')' before '*' token
-/usr/include/xorg/glyphstr.h:138:2: error: expected ')' before '(' token
-/usr/include/xorg/glyphstr.h:140:2: error: expected ')' before '*' token
-/usr/include/xorg/glyphstr.h:140:2: error: expected ')' before '(' token
-
-Signed-off-by: Adam Jackson <ajax@redhat.com>
----
-diff --git a/src/atistruct.h b/src/atistruct.h
-index 702360b..98dc15e 100644
---- a/src/atistruct.h
-+++ b/src/atistruct.h
-@@ -51,6 +51,7 @@
-
- #endif /* TV_OUT */
-
-+#include "picturestr.h"
- #ifdef USE_EXA
- #include "exa.h"
- #endif
---
-cgit v0.9.0.2-2-gbebe
diff --git a/testing/xf86-video-mga/PKGBUILD b/testing/xf86-video-mga/PKGBUILD
deleted file mode 100644
index b6bf63ce0..000000000
--- a/testing/xf86-video-mga/PKGBUILD
+++ /dev/null
@@ -1,34 +0,0 @@
-# $Id: PKGBUILD 168230 2012-10-06 20:07:39Z andyrtr $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=xf86-video-mga
-pkgver=1.6.2
-pkgrel=2
-pkgdesc="X.org mga video driver"
-arch=(i686 x86_64)
-url="http://xorg.freedesktop.org/"
-license=('custom')
-depends=('glibc')
-makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=13' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13.0' 'X-ABI-VIDEODRV_VERSION<13' 'X-ABI-VIDEODRV_VERSION>=14')
-#makedepends=('xorg-server-devel>=1.12.0' 'libdrm' 'xf86driproto' 'mesa')
-optdepends=('mga-dri: DRI1 support from community repo')
-#conflicts=('xorg-server<1.12.0')
-options=('!libtool')
-groups=('xorg-drivers' 'xorg')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('3f89ce250eea93f0de890954687790e06c0bab9e3e303df393e8759a187eca6c')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
diff --git a/testing/xf86-video-neomagic/PKGBUILD b/testing/xf86-video-neomagic/PKGBUILD
deleted file mode 100644
index 018d54d74..000000000
--- a/testing/xf86-video-neomagic/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# $Id: PKGBUILD 168231 2012-10-06 20:07:42Z andyrtr $
-#Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=xf86-video-neomagic
-pkgver=1.2.7
-pkgrel=2
-pkgdesc="X.org neomagic video driver"
-arch=(i686 x86_64)
-url="http://xorg.freedesktop.org/"
-license=('custom')
-depends=('glibc')
-makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=13' 'xf86dgaproto' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13.0' 'X-ABI-VIDEODRV_VERSION<13' 'X-ABI-VIDEODRV_VERSION>=14')
-groups=('xorg-drivers' 'xorg')
-options=('!libtool')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('9f06e89ea68afb65dbc064af63dc57d3606fc7244cd62cf87841ff5bbc98cb76')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
diff --git a/testing/xf86-video-openchrome/PKGBUILD b/testing/xf86-video-openchrome/PKGBUILD
deleted file mode 100644
index 6a8b8d02e..000000000
--- a/testing/xf86-video-openchrome/PKGBUILD
+++ /dev/null
@@ -1,32 +0,0 @@
-# $Id: PKGBUILD 168233 2012-10-06 20:07:51Z andyrtr $
-# Contributor: Paul Mattal <paul@mattal.com>
-# Maintainer: Juergen Hoetzel <juergen@hoetzel.info>
-
-pkgname=xf86-video-openchrome
-pkgver=0.3.1
-pkgrel=2
-pkgdesc="X.Org Openchrome drivers"
-arch=(i686 x86_64)
-license=('custom')
-url="http://www.openchrome.org"
-depends=('libdrm' 'libxvmc')
-makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=13' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13.0' 'X-ABI-VIDEODRV_VERSION<13' 'X-ABI-VIDEODRV_VERSION>=14' 'xf86-video-via' 'xf86-video-unichrome' 'openchrome' 'unichrome-dri')
-replaces=('openchrome' 'xf86-video-via')
-groups=('xorg-drivers' 'xorg')
-options=('!libtool' '!emptydirs' '!makeflags')
-source=(http://xorg.freedesktop.org/archive/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha1sums=('89e56dcfe851345f72c61a95b4fa5ab6ad7e0d83')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
diff --git a/testing/xf86-video-r128/PKGBUILD b/testing/xf86-video-r128/PKGBUILD
deleted file mode 100644
index 6a3cfca23..000000000
--- a/testing/xf86-video-r128/PKGBUILD
+++ /dev/null
@@ -1,32 +0,0 @@
-# $Id: PKGBUILD 168234 2012-10-06 20:07:55Z andyrtr $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=xf86-video-r128
-pkgver=6.9.1
-pkgrel=2
-pkgdesc="X.org ati Rage128 video driver"
-arch=(i686 x86_64)
-url="http://xorg.freedesktop.org/"
-license=('custom')
-depends=('glibc')
-makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=13' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13.0' 'X-ABI-VIDEODRV_VERSION<13' 'X-ABI-VIDEODRV_VERSION>=14')
-optdepends=('r128-dri: DRI1 support from community repo')
-groups=('xorg-drivers' 'xorg')
-options=('!libtool')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('8be3baa8d3b19e3a05f00a53bf35784e144dc2ad14c358f97870c072e634e44c')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
diff --git a/testing/xf86-video-rendition/PKGBUILD b/testing/xf86-video-rendition/PKGBUILD
deleted file mode 100644
index 40dd8b335..000000000
--- a/testing/xf86-video-rendition/PKGBUILD
+++ /dev/null
@@ -1,31 +0,0 @@
-# $Id: PKGBUILD 168235 2012-10-06 20:07:58Z andyrtr $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=xf86-video-rendition
-pkgver=4.2.5
-pkgrel=2
-pkgdesc="X.org Rendition video driver"
-arch=(i686 x86_64)
-url="http://xorg.freedesktop.org/"
-license=('custom')
-depends=('glibc')
-makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=13' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13.0' 'X-ABI-VIDEODRV_VERSION<13' 'X-ABI-VIDEODRV_VERSION>=14')
-options=('!libtool' '!strip')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha1sums=('930e99e4d44418b1e55f11a2a8525b42b0e2d3b5')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-
- strip --strip-unneeded "${pkgdir}/usr/lib/xorg/modules/drivers/rendition_drv.so"
-}
diff --git a/testing/xf86-video-s3/PKGBUILD b/testing/xf86-video-s3/PKGBUILD
deleted file mode 100644
index 0cceaf7b1..000000000
--- a/testing/xf86-video-s3/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# $Id: PKGBUILD 168236 2012-10-06 20:08:02Z andyrtr $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=xf86-video-s3
-pkgver=0.6.5
-pkgrel=2
-pkgdesc="X.org S3 video driver"
-arch=(i686 x86_64)
-url="http://xorg.freedesktop.org/"
-license=('custom')
-depends=('glibc')
-makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=13' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13.0' 'X-ABI-VIDEODRV_VERSION<13' 'X-ABI-VIDEODRV_VERSION>=14')
-options=('!libtool')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('4778cd4f1d61490c3562f9be03664576f065fa3acf22fe0d0689212d7ea3ad39')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
diff --git a/testing/xf86-video-s3virge/PKGBUILD b/testing/xf86-video-s3virge/PKGBUILD
deleted file mode 100644
index ec5fa6832..000000000
--- a/testing/xf86-video-s3virge/PKGBUILD
+++ /dev/null
@@ -1,32 +0,0 @@
-# $Id: PKGBUILD 168237 2012-10-06 20:08:06Z andyrtr $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-# Contributor: Alexander Baldeck <alexander@archlinux.org>
-
-pkgname=xf86-video-s3virge
-pkgver=1.10.6
-pkgrel=2
-pkgdesc="X.org S3 Virge video driver"
-arch=(i686 x86_64)
-url="http://xorg.freedesktop.org/"
-license=('custom')
-depends=('glibc')
-makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=13' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13.0' 'X-ABI-VIDEODRV_VERSION<13' 'X-ABI-VIDEODRV_VERSION>=14')
-options=(!libtool)
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('85e1f6bdd3f39d0348c53602f481b974c13fc752c94931882817751c8ec8363e')
-
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
diff --git a/testing/xf86-video-savage/PKGBUILD b/testing/xf86-video-savage/PKGBUILD
deleted file mode 100644
index 07fd25006..000000000
--- a/testing/xf86-video-savage/PKGBUILD
+++ /dev/null
@@ -1,33 +0,0 @@
-# $Id: PKGBUILD 168238 2012-10-06 20:08:09Z andyrtr $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=xf86-video-savage
-pkgver=2.3.6
-pkgrel=2
-pkgdesc="X.org savage video driver"
-arch=(i686 x86_64)
-url="http://xorg.freedesktop.org/"
-license=('custom')
-depends=('glibc')
-makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=13' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13.0' 'X-ABI-VIDEODRV_VERSION<13' 'X-ABI-VIDEODRV_VERSION>=14')
-optdepends=('savage-dri: DRI1 support from community repo')
-options=(!libtool)
-groups=('xorg-drivers' 'xorg')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('48813ed8f4a08858e8c2466fd2dc810ea31f86842025fa39ec949d44f9ad63d6')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- #cd "${srcdir}/${pkgname}-${pkgver}"
- cd ${srcdir}/${pkgname}*
- make DESTDIR="${pkgdir}" install
-
- install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
diff --git a/testing/xf86-video-siliconmotion/PKGBUILD b/testing/xf86-video-siliconmotion/PKGBUILD
deleted file mode 100644
index 460c8f39f..000000000
--- a/testing/xf86-video-siliconmotion/PKGBUILD
+++ /dev/null
@@ -1,32 +0,0 @@
-# $Id: PKGBUILD 168239 2012-10-06 20:08:13Z andyrtr $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-# Contributor: Alexander Baldeck <alexander@archlinux.org>
-
-pkgname=xf86-video-siliconmotion
-pkgver=1.7.7
-pkgrel=2
-pkgdesc="X.org siliconmotion video driver"
-arch=(i686 x86_64)
-url="http://xorg.freedesktop.org/"
-license=('custom')
-depends=('glibc')
-makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=13' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13.0' 'X-ABI-VIDEODRV_VERSION<13' 'X-ABI-VIDEODRV_VERSION>=14')
-options=('!libtool')
-groups=('xorg-drivers' 'xorg')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('87b8b59d43945d4fc8012860c0bd9aed42c4684a943355c607b8eb8d6710c3aa')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
diff --git a/testing/xf86-video-sis/PKGBUILD b/testing/xf86-video-sis/PKGBUILD
deleted file mode 100644
index 29e11db1f..000000000
--- a/testing/xf86-video-sis/PKGBUILD
+++ /dev/null
@@ -1,32 +0,0 @@
-# $Id: PKGBUILD 168240 2012-10-06 20:08:16Z andyrtr $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=xf86-video-sis
-pkgver=0.10.7
-pkgrel=2
-pkgdesc="X.org SiS video driver"
-arch=(i686 x86_64)
-url="http://xorg.freedesktop.org/"
-license=('custom')
-depends=('glibc')
-makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=13' 'xf86dgaproto' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13.0' 'X-ABI-VIDEODRV_VERSION<13' 'X-ABI-VIDEODRV_VERSION>=14')
-optdepends=('sis-dri: DRI1 support from community repo')
-options=('!libtool')
-groups=('xorg-drivers' 'xorg')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('be2eb6acba081e88dabc5be9db379e3da89a4d4edeb68064f204bf343a411cd0')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
diff --git a/testing/xf86-video-sisusb/PKGBUILD b/testing/xf86-video-sisusb/PKGBUILD
deleted file mode 100644
index 28c4fc5a0..000000000
--- a/testing/xf86-video-sisusb/PKGBUILD
+++ /dev/null
@@ -1,29 +0,0 @@
-# $Id: PKGBUILD 168241 2012-10-06 20:08:19Z andyrtr $
-#Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=xf86-video-sisusb
-pkgver=0.9.6
-pkgrel=2
-pkgdesc="X.org SiS USB video driver"
-arch=(i686 x86_64)
-url="http://xorg.freedesktop.org/"
-license=('custom')
-depends=('glibc')
-makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=13' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13.0' 'X-ABI-VIDEODRV_VERSION<13' 'X-ABI-VIDEODRV_VERSION>=14')
-options=('!libtool')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('73dbef43c56a4ce1445c27ebac2ddc062c643c32ca6e2a4d095aea2185b9e046')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
diff --git a/testing/xf86-video-tdfx/PKGBUILD b/testing/xf86-video-tdfx/PKGBUILD
deleted file mode 100644
index 957a803bc..000000000
--- a/testing/xf86-video-tdfx/PKGBUILD
+++ /dev/null
@@ -1,33 +0,0 @@
-# $Id: PKGBUILD 168242 2012-10-06 20:08:23Z andyrtr $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=xf86-video-tdfx
-pkgver=1.4.5
-pkgrel=2
-pkgdesc="X.org tdfx video driver"
-arch=(i686 x86_64)
-url="http://xorg.freedesktop.org/"
-license=('custom')
-depends=('glibc')
-makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=13' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13.0' 'X-ABI-VIDEODRV_VERSION<13' 'X-ABI-VIDEODRV_VERSION>=14')
-optdepends=('tdfx-dri: DRI1 support from community repo')
-options=(!libtool)
-groups=('xorg-drivers' 'xorg')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('70d5fbadfb60fc25e4f90f2a1aad258f64fa3953efbc1059103a8d845870d859')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- #cd "${srcdir}/${pkgname}-${pkgver}"
- cd ${srcdir}/${pkgname}*
- make DESTDIR="${pkgdir}" install
-
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
diff --git a/testing/xf86-video-trident/PKGBUILD b/testing/xf86-video-trident/PKGBUILD
deleted file mode 100644
index 4edcbe491..000000000
--- a/testing/xf86-video-trident/PKGBUILD
+++ /dev/null
@@ -1,31 +0,0 @@
-# $Id: PKGBUILD 168243 2012-10-06 20:08:27Z andyrtr $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=xf86-video-trident
-pkgver=1.3.6
-pkgrel=2
-pkgdesc="X.org Trident video driver"
-arch=(i686 x86_64)
-url="http://xorg.freedesktop.org/"
-license=('custom')
-depends=('glibc')
-makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=13' 'xf86dgaproto' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13.0' 'X-ABI-VIDEODRV_VERSION<13' 'X-ABI-VIDEODRV_VERSION>=14')
-groups=('xorg-drivers' 'xorg')
-options=(!libtool)
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('6a58e3f3034abd8803af8a5c7dd5a6a4a28ed4fdac742ffb05518caaddc28104')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
diff --git a/testing/xf86-video-tseng/PKGBUILD b/testing/xf86-video-tseng/PKGBUILD
deleted file mode 100644
index 209f98dd4..000000000
--- a/testing/xf86-video-tseng/PKGBUILD
+++ /dev/null
@@ -1,29 +0,0 @@
-# $Id: PKGBUILD 168244 2012-10-06 20:08:30Z andyrtr $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=xf86-video-tseng
-pkgver=1.2.5
-pkgrel=2
-pkgdesc="X.org tseng video driver"
-arch=(i686 x86_64)
-url="http://xorg.freedesktop.org/"
-license=('custom')
-depends=('glibc')
-makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=13' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13.0' 'X-ABI-VIDEODRV_VERSION<13' 'X-ABI-VIDEODRV_VERSION>=14')
-options=('!libtool')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('c06dc5205f627e5afc795ecfa75e18d2d1db4e1f1f195fd017dad60854407819')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
diff --git a/testing/xf86-video-v4l/LICENSE b/testing/xf86-video-v4l/LICENSE
deleted file mode 100644
index 535595b88..000000000
--- a/testing/xf86-video-v4l/LICENSE
+++ /dev/null
@@ -1,826 +0,0 @@
-This package was downloaded from
-http://xorg.freedesktop.org/releases/individual/driver/
-
- Licenses
-
- The X.Org Foundation
-
- March 2004
-
-1. Introduction
-
-The X.org Foundation X Window System distribution is a compilation of code
-and documentation from many sources. This document is intended primarily as
-a guide to the licenses used in the distribution: you must check each file
-and/or package for precise redistribution terms. None-the-less, this summary
-may be useful to many users. No software incorporating the XFree86 1.1
-license has been incorporated.
-
-This document is based on the compilation from XFree86.
-
-2. XFree86 License
-
-XFree86 code without an explicit copyright is covered by the following copy-
-right/license:
-
-Copyright (C) 1994-2003 The XFree86 Project, Inc. All Rights Reserved.
-
-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 fur-
-nished 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, FIT-
-NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON-
-NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-Except as contained in this notice, the name of the XFree86 Project shall not
-be used in advertising or otherwise to promote the sale, use or other deal-
-ings in this Software without prior written authorization from the XFree86
-Project.
-
-3. Other Licenses
-
-Portions of code are covered by the following licenses/copyrights. See indi-
-vidual files for the copyright dates.
-
-3.1 X/MIT Copyrights
-
-3.1.1 X Consortium
-
-Copyright (C) <date> X Consortium
-
-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 fur-
-nished 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, FIT-
-NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE X
-CONSORTIUM 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 name of the X Consortium 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 X Consortium.
-
-X Window System is a trademark of X Consortium, Inc.
-
-3.1.2 The Open Group
-
-Copyright <date> The Open Group
-
-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.
-
-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, FIT-
-NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-OPEN GROUP 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 name of The Open Group 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 Open Group.
-
-3.2 Berkeley-based copyrights:
-
-o
-
-3.2.1 General
-
-Redistribution and use in source and binary forms, with or without modifica-
-tion, 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. The name of the author may not be used to endorse or promote products
- derived from this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
-WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MER-
-CHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPE-
-CIAL, 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 OTH-
-ERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
-OF THE POSSIBILITY OF SUCH DAMAGE.
-
-3.2.2 UCB/LBL
-
-Copyright (c) 1993 The Regents of the University of California. All rights
-reserved.
-
-This software was developed by the Computer Systems Engineering group at
-Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and contributed to
-Berkeley.
-
-All advertising materials mentioning features or use of this software must
-display the following acknowledgement: This product includes software devel-
-oped by the University of California, Lawrence Berkeley Laboratory.
-
-Redistribution and use in source and binary forms, with or without modifica-
-tion, 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 soft-
- ware developed by the University of California, Berkeley and its con-
- tributors.
-
- 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 DIS-
-CLAIMED. 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.
-
-3.2.3 The NetBSD Foundation, Inc.
-
-Copyright (c) 2003 The NetBSD Foundation, Inc. All rights reserved.
-
-This code is derived from software contributed to The NetBSD Foundation by
-Ben Collver <collver1@attbi.com>
-
-Redistribution and use in source and binary forms, with or without modifica-
-tion, 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 soft-
- ware developed by the NetBSD Foundation, Inc. and its contributors.
-
- 4. Neither the name of The NetBSD Foundation nor the names of its con-
- tributors may be used to endorse or promote products derived from this
- software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION OR CONTRIBUTORS BE
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSE-
-QUENTIAL 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 DAM-
-AGE.
-
-3.2.4 Theodore Ts'o.
-
-Copyright Theodore Ts'o, 1994, 1995, 1996, 1997, 1998, 1999. All rights
-reserved.
-
-Redistribution and use in source and binary forms, with or without modifica-
-tion, are permitted provided that the following conditions are met:
-
- 1. Redistributions of source code must retain the above copyright notice,
- and the entire permission notice in its entirety, including the dis-
- claimer of warranties.
-
- 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. he name of the author may not be used to endorse or promote products
- derived from this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
-INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
-FITNESS FOR A PARTICULAR PURPOSE, ALL OF WHICH ARE HEREBY DISCLAIMED. IN NO
-EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPE-
-CIAL, 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 OTH-
-ERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF NOT
-ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-3.2.5 Theo de Raadt and Damien Miller
-
-Copyright (c) 1995,1999 Theo de Raadt. All rights reserved. Copyright (c)
-2001-2002 Damien Miller. All rights reserved.
-
-Redistribution and use in source and binary forms, with or without modifica-
-tion, 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.
-
-THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
-WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MER-
-CHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPE-
-CIAL, 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 OTH-
-ERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
-OF THE POSSIBILITY OF SUCH DAMAGE.
-
-3.2.6 Todd C. Miller
-
-Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>
-
-Permission to use, copy, modify, and distribute this software for any purpose
-with or without fee is hereby granted, provided that the above copyright
-notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND TODD C. MILLER DISCLAIMS ALL WARRANTIES
-WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MER-
-CHANTABILITY AND FITNESS. IN NO EVENT SHALL TODD C. MILLER BE LIABLE FOR ANY
-SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER
-RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CON-
-TRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
-WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-
-3.2.7 Thomas Winischhofer
-
-Copyright (C) 2001-2004 Thomas Winischhofer
-
-Redistribution and use in source and binary forms, with or without modifica-
-tion, 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. The name of the author may not be used to endorse or promote products
- derived from this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESSED 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 AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPE-
-CIAL, 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 OTH-
-ERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
-OF THE POSSIBILITY OF SUCH DAMAGE.
-
-3.3 NVIDIA Corp
-
-Copyright (c) 1996 NVIDIA, Corp. All rights reserved.
-
-NOTICE TO USER: The source code is copyrighted under U.S. and international
-laws. NVIDIA, Corp. of Sunnyvale, California owns the copyright and as
-design patents pending on the design and interface of the NV chips. Users
-and possessors of this source code are hereby granted a nonexclusive, roy-
-alty-free copyright and design patent license to use this code in individual
-and commercial software.
-
-Any use of this source code must include, in the user documentation and
-internal comments to the code, notices to the end user as follows:
-
-Copyright (c) 1996 NVIDIA, Corp. NVIDIA design patents pending in the U.S.
-and foreign countries.
-
-NVIDIA, CORP. MAKES NO REPRESENTATION ABOUT THE SUITABILITY OF THIS SOURCE
-CODE FOR ANY PURPOSE. IT IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WAR-
-RANTY OF ANY KIND. NVIDIA, CORP. DISCLAIMS ALL WARRANTIES WITH REGARD TO
-THIS SOURCE CODE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
-FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL NVIDIA, CORP. BE LIABLE
-FOR ANY SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, OR ANY DAM-
-AGES 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 SOURCE CODE.
-
-3.4 GLX Public License
-
-GLX PUBLIC LICENSE (Version 1.0 (2/11/99)) ("License")
-
-Subject to any third party claims, Silicon Graphics, Inc. ("SGI") hereby
-grants permission to Recipient (defined below), under Recipient's copyrights
-in the Original Software (defined below), to use, copy, modify, merge, pub-
-lish, distribute, sublicense and/or sell copies of Subject Software (defined
-below), and to permit persons to whom the Subject Software is furnished in
-accordance with this License to do the same, subject to all of the following
-terms and conditions, which Recipient accepts by engaging in any such use,
-copying, modifying, merging, publishing, distributing, sublicensing or sell-
-ing:
-
-1. Definitions.
-
- (a) "Original Software" means source code of computer software code
- which is described in Exhibit A as Original Software.
-
- (b) "Modifications" means any addition to or deletion from the sub-
- stance or structure of either the Original Software or any previous
- Modifications. When Subject Software is released as a series of
- files, a Modification means (i) any addition to or deletion from
- the contents of a file containing Original Software or previous
- Modifications and (ii) any new file that contains any part of the
- Original Code or previous Modifications.
-
- (c) "Subject Software" means the Original Software or Modifications
- or the combination of the Original Software and Modifications, or
- portions of any of the foregoing.
-
- (d) "Recipient" means an individual or a legal entity exercising
- rights under, and complying with all of the terms of, this License.
- For legal entities, "Recipient" includes any entity which controls,
- is controlled by, or is under common control with Recipient. For
- purposes of this definition, "control" of an entity means (a) the
- power, direct or indirect, to direct or manage such entity, or (b)
- ownership of fifty percent (50%) or more of the outstanding shares
- or beneficial ownership of such entity.
-
-2. Redistribution of Source Code Subject to These Terms. Redistributions of
-Subject Software in source code form must retain the notice set forth in
-Exhibit A, below, in every file. A copy of this License must be included in
-any documentation for such Subject Software where the recipients' rights
-relating to Subject Software are described. Recipient may distribute the
-source code version of Subject Software under a license of Recipient's
-choice, which may contain terms different from this License, provided that
-(i) Recipient is in compliance with the terms of this License, and (ii) the
-license terms include this Section 2 and Sections 3, 4, 7, 8, 10, 12 and 13
-of this License, which terms may not be modified or superseded by any other
-terms of such license. If Recipient distributes the source code version under
-a different license Recipient must make it absolutely clear that any terms
-which differ from this License are offered by Recipient alone, not by SGI.
-Recipient hereby agrees to indemnify SGI for any liability incurred by SGI as
-a result of any such terms Recipient offers.
-
-3. Redistribution in Executable Form. The notice set forth in Exhibit A must
-be conspicuously included in any notice in an executable version of Subject
-Software, related documentation or collateral in which Recipient describes
-the user's rights relating to the Subject Software. Recipient may distribute
-the executable version of Subject Software under a license of Recipient's
-choice, which may contain terms different from this License, provided that
-(i) Recipient is in compliance with the terms of this License, and (ii) the
-license terms include this Section 3 and Sections 4, 7, 8, 10, 12 and 13 of
-this License, which terms may not be modified or superseded by any other
-terms of such license. If Recipient distributes the executable version under
-a different license Recipient must make it absolutely clear that any terms
-which differ from this License are offered by Recipient alone, not by SGI.
-Recipient hereby agrees to indemnify SGI for any liability incurred by SGI as
-a result of any such terms Recipient offers.
-
-4. Termination. This License and the rights granted hereunder will terminate
-automatically if Recipient fails to comply with terms herein and fails to
-cure such breach within 30 days of the breach. Any sublicense to the Subject
-Software which is properly granted shall survive any termination of this
-License absent termination by the terms of such sublicense. Provisions which,
-by their nature, must remain in effect beyond the termination of this License
-shall survive.
-
-5. No Trademark Rights. This License does not grant any rights to use any
-trade name, trademark or service mark whatsoever. No trade name, trademark or
-service mark of SGI may be used to endorse or promote products derived from
-the Subject Software without prior written permission of SGI.
-
-6. No Other Rights. This License does not grant any rights with respect to
-the OpenGL API or to any software or hardware implementation thereof or to
-any other software whatsoever, nor shall any other rights or licenses not
-expressly granted hereunder arise by implication, estoppel or otherwise with
-respect to the Subject Software. Title to and ownership of the Original Soft-
-ware at all times remains with SGI. All rights in the Original Software not
-expressly granted under this License are reserved.
-
-7. Compliance with Laws; Non-Infringement. Recipient shall comply with all
-applicable laws and regulations in connection with use and distribution of
-the Subject Software, including but not limited to, all export and import
-control laws and regulations of the U.S. government and other countries.
-Recipient may not distribute Subject Software that (i) in any way infringes
-(directly or contributorily) the rights (including patent, copyright, trade
-secret, trademark or other intellectual property rights of any kind) of any
-other person or entity or (ii) breaches any representation or warranty,
-express, implied or statutory, which under any applicable law it might be
-deemed to have been distributed.
-
-8. Claims of Infringement. If Recipient at any time has knowledge of any one
-or more third party claims that reproduction, modification, use, distribu-
-tion, import or sale of Subject Software (including particular functionality
-or code incorporated in Subject Software) infringes the third party's intel-
-lectual property rights, Recipient must place in a well-identified web page
-bearing the title "LEGAL" a description of each such claim and a description
-of the party making each such claim in sufficient detail that a user of the
-Subject Software will know whom to contact regarding the claim. Also, upon
-gaining such knowledge of any such claim, Recipient must conspicuously
-include the URL for such web page in the Exhibit A notice required under Sec-
-tions 2 and 3, above, and in the text of any related documentation, license
-agreement or collateral in which Recipient describes end user's rights relat-
-ing to the Subject Software. If Recipient obtains such knowledge after it
-makes Subject Software available to any other person or entity, Recipient
-shall take other steps (such as notifying appropriate mailing lists or news-
-groups) reasonably calculated to inform those who received the Subject Soft-
-ware that new knowledge has been obtained.
-
-9. DISCLAIMER OF WARRANTY. SUBJECT SOFTWARE IS PROVIDED ON AN "AS IS" BASIS,
-WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT
-LIMITATION, WARRANTIES THAT THE SUBJECT SOFTWARE IS FREE OF DEFECTS, MER-
-CHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON- INFRINGING. SGI ASSUMES NO
-RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE. SHOULD ANY SOFTWARE
-PROVE DEFECTIVE IN ANY RESPECT, SGI ASSUMES NO COST OR LIABILITY FOR ANY SER-
-VICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN
-ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY SUBJECT SOFTWARE IS AUTHORIZED
-HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
-
-10. LIMITATION OF LIABILITY. UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THE-
-ORY, WHETHER TORT (INCLUDING, WITHOUT LIMITATION, NEGLIGENCE OR STRICT LIA-
-BILITY), CONTRACT, OR OTHERWISE, SHALL SGI OR ANY SGI LICENSOR BE LIABLE FOR
-ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY
-CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK
-STOPPAGE, LOSS OF DATA, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
-COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF
-THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY
-TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SGI's NEGLIGENCE TO
-THE EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO
-NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES,
-SO THAT EXCLUSION AND LIMITATION MAY NOT APPLY TO RECIPIENT.
-
-11. Indemnity. Recipient shall be solely responsible for damages arising,
-directly or indirectly, out of its utilization of rights under this License.
-Recipient will defend, indemnify and hold harmless Silicon Graphics, Inc.
-from and against any loss, liability, damages, costs or expenses (including
-the payment of reasonable attorneys fees) arising out of Recipient's use,
-modification, reproduction and distribution of the Subject Software or out of
-any representation or warranty made by Recipient.
-
-12. U.S. Government End Users. The Subject Software is a "commercial item"
-consisting of "commercial computer software" as such terms are defined in
-title 48 of the Code of Federal Regulations and all U.S. Government End
-Users acquire only the rights set forth in this License and are subject to
-the terms of this License.
-
-13. Miscellaneous. This License represents the complete agreement concerning
-subject matter hereof. If any provision of this License is held to be unen-
-forceable, such provision shall be reformed so as to achieve as nearly as
-possible the same economic effect as the original provision and the remainder
-of this License will remain in effect. This License shall be governed by and
-construed in accordance with the laws of the United States and the State of
-California as applied to agreements entered into and to be performed entirely
-within California between California residents. Any litigation relating to
-this License shall be subject to the exclusive jurisdiction of the Federal
-Courts of the Northern District of California (or, absent subject matter
-jurisdiction in such courts, the courts of the State of California), with
-venue lying exclusively in Santa Clara County, California, with the losing
-party responsible for costs, including without limitation, court costs and
-reasonable attorneys fees and expenses. The application of the United Nations
-Convention on Contracts for the International Sale of Goods is expressly
-excluded. Any law or regulation which provides that the language of a con-
-tract shall be construed against the drafter shall not apply to this License.
-
-Exhibit A
-
-The contents of this file are subject to Sections 2, 3, 4, 7, 8, 10, 12 and
-13 of the GLX Public License Version 1.0 (the "License"). You may not use
-this file except in compliance with those sections of the License. You may
-obtain a copy of the License at Silicon Graphics, Inc., attn: Legal Services,
-2011 N. Shoreline Blvd., Mountain View, CA 94043 or at
-http://www.sgi.com/software/opensource/glx/license.html.
-
-Software distributed under the License is distributed on an "AS IS" basis.
-ALL WARRANTIES ARE DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED
-WARRANTIES OF MERCHANTABILITY, OF FITNESS FOR A PARTICULAR PURPOSE OR OF NON-
-INFRINGEMENT. See the License for the specific language governing rights and
-limitations under the License.
-
-The Original Software is GLX version 1.2 source code, released February,
-1999. The developer of the Original Software is Silicon Graphics, Inc. Those
-portions of the Subject Software created by Silicon Graphics, Inc. are Copy-
-right (c) 1991-9 Silicon Graphics, Inc. All Rights Reserved.
-
-3.5 CID Font Code Public License
-
-CID FONT CODE PUBLIC LICENSE (Version 1.0 (3/31/99))("License")
-
-Subject to any applicable third party claims, Silicon Graphics, Inc. ("SGI")
-hereby grants permission to Recipient (defined below), under SGI's copyrights
-in the Original Software (defined below), to use, copy, modify, merge, pub-
-lish, distribute, sublicense and/or sell copies of Subject Software (defined
-below) in both source code and executable form, and to permit persons to whom
-the Subject Software is furnished in accordance with this License to do the
-same, subject to all of the following terms and conditions, which Recipient
-accepts by engaging in any such use, copying, modifying, merging, publica-
-tion, distributing, sublicensing or selling:
-
-1. Definitions.
-
- a. "Original Software" means source code of computer software code
- that is described in Exhibit A as Original Software.
-
- b. "Modifications" means any addition to or deletion from the sub-
- stance or structure of either the Original Software or any previous
- Modifications. When Subject Software is released as a series of
- files, a Modification means (i) any addition to or deletion from
- the contents of a file containing Original Software or previous
- Modifications and (ii) any new file that contains any part of the
- Original Code or previous Modifications.
-
- c. "Subject Software" means the Original Software or Modifications
- or the combination of the Original Software and Modifications, or
- portions of any of the foregoing.
-
- d. "Recipient" means an individual or a legal entity exercising
- rights under the terms of this License. For legal entities, "Recip-
- ient" includes any entity that controls, is controlled by, or is
- under common control with Recipient. For purposes of this defini-
- tion, "control" of an entity means (i) the power, direct or indi-
- rect, to direct or manage such entity, or (ii) ownership of fifty
- percent (50%) or more of the outstanding shares or beneficial own-
- ership of such entity.
-
- e. "Required Notice" means the notice set forth in Exhibit A to
- this License.
-
- f. "Accompanying Technology" means any software or other technology
- that is not a Modification and that is distributed or made publicly
- available by Recipient with the Subject Software. Separate soft-
- ware files that do not contain any Original Software or any previ-
- ous Modification shall not be deemed a Modification, even if such
- software files are aggregated as part of a product, or in any
- medium of storage, with any file that does contain Original Soft-
- ware or any previous Modification.
-
-2. License Terms. All distribution of the Subject Software must be made sub-
-ject to the terms of this License. A copy of this License and the Required
-Notice must be included in any documentation for Subject Software where
-Recipient's rights relating to Subject Software and/or any Accompanying Tech-
-nology are described. Distributions of Subject Software in source code form
-must also include the Required Notice in every file distributed. In addition,
-a ReadMe file entitled "Important Legal Notice" must be distributed with each
-distribution of one or more files that incorporate Subject Software. That
-file must be included with distributions made in both source code and exe-
-cutable form. A copy of the License and the Required Notice must be included
-in that file. Recipient may distribute Accompanying Technology under a
-license of Recipient's choice, which may contain terms different from this
-License, provided that (i) Recipient is in compliance with the terms of this
-License, (ii) such other license terms do not modify or supersede the terms
-of this License as applicable to the Subject Software, (iii) Recipient hereby
-indemnifies SGI for any liability incurred by SGI as a result of the distri-
-bution of Accompanying Technology or the use of other license terms.
-
-3. Termination. This License and the rights granted hereunder will terminate
-automatically if Recipient fails to comply with terms herein and fails to
-cure such breach within 30 days of the breach. Any sublicense to the Subject
-Software that is properly granted shall survive any termination of this
-License absent termination by the terms of such sublicense. Provisions which,
-by their nature, must remain in effect beyond the termination of this License
-shall survive.
-
-4. Trademark Rights. This License does not grant any rights to use any trade
-name, trademark or service mark whatsoever. No trade name, trademark or ser-
-vice mark of SGI may be used to endorse or promote products derived from or
-incorporating any Subject Software without prior written permission of SGI.
-
-5. No Other Rights. No rights or licenses not expressly granted hereunder
-shall arise by implication, estoppel or otherwise. Title to and ownership of
-the Original Software at all times remains with SGI. All rights in the Origi-
-nal Software not expressly granted under this License are reserved.
-
-6. Compliance with Laws; Non-Infringement. Recipient shall comply with all
-applicable laws and regulations in connection with use and distribution of
-the Subject Software, including but not limited to, all export and import
-control laws and regulations of the U.S. government and other countries.
-Recipient may not distribute Subject Software that (i) in any way infringes
-(directly or contributorily) the rights (including patent, copyright, trade
-secret, trademark or other intellectual property rights of any kind) of any
-other person or entity, or (ii) breaches any representation or warranty,
-express, implied or statutory, which under any applicable law it might be
-deemed to have been distributed.
-
-7. Claims of Infringement. If Recipient at any time has knowledge of any one
-or more third party claims that reproduction, modification, use, distribu-
-tion, import or sale of Subject Software (including particular functionality
-or code incorporated in Subject Software) infringes the third party's intel-
-lectual property rights, Recipient must place in a well-identified web page
-bearing the title "LEGAL" a description of each such claim and a description
-of the party making each such claim in sufficient detail that a user of the
-Subject Software will know whom to contact regarding the claim. Also, upon
-gaining such knowledge of any such claim, Recipient must conspicuously
-include the URL for such web page in the Required Notice, and in the text of
-any related documentation, license agreement or collateral in which Recipient
-describes end user's rights relating to the Subject Software. If Recipient
-obtains such knowledge after it makes Subject Software available to any other
-person or entity, Recipient shall take other steps (such as notifying appro-
-priate mailing lists or newsgroups) reasonably calculated to provide such
-knowledge to those who received the Subject Software.
-
-8. DISCLAIMER OF WARRANTY. SUBJECT SOFTWARE IS PROVIDED ON AN "AS IS" BASIS,
-WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT
-LIMITATION, WARRANTIES THAT THE SUBJECT SOFTWARE IS FREE OF DEFECTS, MER-
-CHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. SGI ASSUMES NO
-RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE. SHOULD ANY SOFTWARE
-PROVE DEFECTIVE IN ANY RESPECT, SGI ASSUMES NO COST OR LIABILITY FOR ANY SER-
-VICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN
-ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY SUBJECT SOFTWARE IS AUTHORIZED
-HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
-
-9. LIMITATION OF LIABILITY. UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY,
-WHETHER TORT (INCLUDING, WITHOUT LIMITATION, NEGLIGENCE OR STRICT LIABILITY),
-CONTRACT, OR OTHERWISE, SHALL SGI OR ANY SGI LICENSOR 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 SUBJECT SOFTWARE OR
-THE USE OR OTHER DEALINGS IN THE SUBJECT SOFTWARE. SOME JURISDICTIONS DO NOT
-ALLOW THE EXCLUSION OR LIMITATION OF CERTAIN DAMAGES, SO THIS EXCLUSION AND
-LIMITATION MAY NOT APPLY TO RECIPIENT TO THE EXTENT SO DISALLOWED.
-
-10. Indemnity. Recipient shall be solely responsible for damages arising,
-directly or indirectly, out of its utilization of rights under this License.
-Recipient will defend, indemnify and hold SGI and its successors and assigns
-harmless from and against any loss, liability, damages, costs or expenses
-(including the payment of reasonable attorneys fees) arising out of (Recipi-
-ent's use, modification, reproduction and distribution of the Subject Soft-
-ware or out of any representation or warranty made by Recipient.
-
-11. U.S. Government End Users. The Subject Software is a "commercial item"
-consisting of "commercial computer software" as such terms are defined in
-title 48 of the Code of Federal Regulations and all U.S. Government End Users
-acquire only the rights set forth in this License and are subject to the
-terms of this License.
-
-12. Miscellaneous. This License represents the complete agreement concerning
-subject matter hereof. If any provision of this License is held to be unen-
-forceable by any judicial or administrative authority having proper jurisdic-
-tion with respect thereto, such provision shall be reformed so as to achieve
-as nearly as possible the same economic effect as the original provision and
-the remainder of this License will remain in effect. This License shall be
-governed by and construed in accordance with the laws of the United States
-and the State of California as applied to agreements entered into and to be
-performed entirely within California between California residents. Any liti-
-gation relating to this License shall be subject to the exclusive jurisdic-
-tion of the Federal Courts of the Northern District of California (or, absent
-subject matter jurisdiction in such courts, the courts of the State of Cali-
-fornia), with venue lying exclusively in Santa Clara County, California, with
-the losing party responsible for costs, including without limitation, court
-costs and reasonable attorneys fees and expenses. The application of the
-United Nations Convention on Contracts for the International Sale of Goods is
-expressly excluded. Any law or regulation that provides that the language of
-a contract shall be construed against the drafter shall not apply to this
-License.
-
-Exhibit A
-
-Copyright (c) 1994-1999 Silicon Graphics, Inc.
-
-The contents of this file are subject to the CID Font Code Public License
-Version 1.0 (the "License"). You may not use this file except in compliance
-with the License. You may obtain a copy of the License at Silicon Graphics,
-Inc., attn: Legal Services, 2011 N. Shoreline Blvd., Mountain View, CA 94043
-or at http://www.sgi.com/software/opensource/cid/license.html
-
-Software distributed under the License is distributed on an "AS IS" basis.
-ALL WARRANTIES ARE DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED
-WARRANTIES OF MERCHANTABILITY, OF FITNESS FOR A PARTICULAR PURPOSE OR OF NON-
-INFRINGEMENT. See the License for the specific language governing rights and
-limitations under the License.
-
-The Original Software (as defined in the License) is CID font code that was
-developed by Silicon Graphics, Inc. Those portions of the Subject Software
-(as defined in the License) that were created by Silicon Graphics, Inc. are
-Copyright (c) 1994-1999 Silicon Graphics, Inc. All Rights Reserved.
-
-[NOTE: When using this text in connection with Subject Software delivered
-solely in object code form, Recipient may replace the words "this file" with
-"this software" in both the first and second sentences.]
-
-3.6 Bitstream Vera Fonts Copyright
-
-The fonts have a generous copyright, allowing derivative works (as long as
-"Bitstream" or "Vera" are not in the names), and full redistribution (so long
-as they are not *sold* by themselves). They can be be bundled, redistributed
-and sold with any software.
-
-The fonts are distributed under the following copyright:
-
-Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved. Bitstream Vera is
-a trademark of Bitstream, Inc.
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of the fonts accompanying this license ("Fonts") and associated documentation
-files (the "Font Software"), to reproduce and distribute the Font Software,
-including without limitation the rights to use, copy, merge, publish, dis-
-tribute, and/or sell copies of the Font Software, and to permit persons to
-whom the Font Software is furnished to do so, subject to the following condi-
-tions:
-
-The above copyright and trademark notices and this permission notice shall be
-included in all copies of one or more of the Font Software typefaces.
-
-The Font Software may be modified, altered, or added to, and in particular
-the designs of glyphs or characters in the Fonts may be modified and addi-
-tional glyphs or characters may be added to the Fonts, only if the fonts are
-renamed to names not containing either the words "Bitstream" or the word
-"Vera".
-
-This License becomes null and void to the extent applicable to Fonts or Font
-Software that has been modified and is distributed under the "Bitstream Vera"
-names.
-
-The Font Software may be sold as part of a larger software package but no
-copy of one or more of the Font Software typefaces may be sold by itself.
-
-THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
-OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT,
-TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME FOUNDA-
-TION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GEN-
-ERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN
-ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR
-INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFT-
-WARE.
-
-Except as contained in this notice, the names of Gnome, the Gnome Foundation,
-and Bitstream Inc., shall not be used in advertising or otherwise to promote
-the sale, use or other dealings in this Font Software without prior written
-authorization from the Gnome Foundation or Bitstream Inc., respectively. For
-further information, contact: fonts at gnome dot org.
-
-3.7 Bigelow & Holmes Inc and URW++ GmbH Luxi font license
-
-Luxi fonts copyright (c) 2001 by Bigelow & Holmes Inc. Luxi font instruction
-code copyright (c) 2001 by URW++ GmbH. All Rights Reserved. Luxi is a regis-
-tered trademark of Bigelow & Holmes Inc.
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of these Fonts and associated documentation files (the "Font Software"), to
-deal in the Font Software, including without limitation the rights to use,
-copy, merge, publish, distribute, sublicense, and/or sell copies of the Font
-Software, and to permit persons to whom the Font Software is furnished to do
-so, subject to the following conditions:
-
-The above copyright and trademark notices and this permission notice shall be
-included in all copies of one or more of the Font Software.
-
-The Font Software may not be modified, altered, or added to, and in particu-
-lar the designs of glyphs or characters in the Fonts may not be modified nor
-may additional glyphs or characters be added to the Fonts. This License
-becomes null and void when the Fonts or Font Software have been modified.
-
-THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
-OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT,
-TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BIGELOW & HOLMES INC. OR URW++
-GMBH. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GEN-
-ERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN
-ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR
-INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFT-
-WARE.
-
-Except as contained in this notice, the names of Bigelow & Holmes Inc. and
-URW++ GmbH. shall not be used in advertising or otherwise to promote the
-sale, use or other dealings in this Font Software without prior written
-authorization from Bigelow & Holmes Inc. and URW++ GmbH.
-
-For further information, contact:
-
-info@urwpp.de or design@bigelowandholmes.com
-
- $Id: LICENSE,v 1.3 2004/09/03 23:41:21 kem Exp $
diff --git a/testing/xf86-video-v4l/PKGBUILD b/testing/xf86-video-v4l/PKGBUILD
deleted file mode 100644
index 0abdbe466..000000000
--- a/testing/xf86-video-v4l/PKGBUILD
+++ /dev/null
@@ -1,36 +0,0 @@
-# $Id: PKGBUILD 168245 2012-10-06 20:08:37Z andyrtr $
-#Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=xf86-video-v4l
-pkgver=0.2.0
-pkgrel=11
-pkgdesc="X.org v4l video driver"
-arch=(i686 x86_64)
-url="http://xorg.freedesktop.org/"
-license=('custom')
-depends=('glibc')
-makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=13' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13.0' 'X-ABI-VIDEODRV_VERSION<13' 'X-ABI-VIDEODRV_VERSION>=14')
-groups=('xorg-drivers' 'xorg')
-options=('!libtool')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2
- git-fixes.patch
- LICENSE)
-md5sums=('2251ae2a0a905764941cd7b098e85ad1'
- 'cdb7113a9564ea9202e847de88440540'
- '7d4d018f6bbff7e42672d1aabc75c5cf')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- patch -Np1 -i "${srcdir}/git-fixes.patch"
- autoreconf -fi
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
diff --git a/testing/xf86-video-v4l/git-fixes.patch b/testing/xf86-video-v4l/git-fixes.patch
deleted file mode 100644
index 2f752fc8c..000000000
--- a/testing/xf86-video-v4l/git-fixes.patch
+++ /dev/null
@@ -1,4362 +0,0 @@
-diff --git a/ChangeLog b/ChangeLog
-deleted file mode 100644
-index 02fc6fa..0000000
---- a/ChangeLog
-+++ /dev/null
-@@ -1,57 +0,0 @@
--2006-04-07 Adam Jackson <ajax@freedesktop.org>
--
-- * configure.ac:
-- * src/v4l.c:
-- Bump to 0.1.1 for Xv changes.
--
--2006-04-07 Aaron Plattner <aplattner@nvidia.com>
--
-- * src/v4l.c: (V4lPutVideo), (V4lPutStill):
-- Add a DrawablePtr argument to the XV functions to pave the way for
-- redirected video.
--
--2006-04-07 Adam Jackson <ajax@freedesktop.org>
--
-- * configure.ac:
-- * src/v4l.c:
-- Unlibcwrap. Bump server version requirement. Bump to 0.1.0.
--
--2005-12-20 Kevin E. Martin <kem-at-freedesktop-dot-org>
--
-- * configure.ac:
-- Update package version for X11R7 release.
--
--2005-12-14 Kevin E. Martin <kem-at-freedesktop-dot-org>
--
-- * configure.ac:
-- Update package version number for final X11R7 release candidate.
--
--2005-12-06 Kevin E. Martin <kem-at-freedesktop-dot-org>
--
-- * man/Makefile.am:
-- Change *man_SOURCES ==> *man_PRE to fix autotools warnings.
--
--2005-12-03 Kevin E. Martin <kem-at-freedesktop-dot-org>
--
-- * configure.ac:
-- Update package version number for X11R7 RC3 release.
--
--2005-12-01 Kevin E. Martin <kem-at-freedesktop-dot-org>
--
-- * configure.ac:
-- Remove extraneous AC_MSG_RESULT.
--
--2005-11-29 Adam Jackson <ajax@freedesktop.org>
--
-- * configure.ac:
-- Only build dlloader modules by default.
--
--2005-11-09 Kevin E. Martin <kem-at-freedesktop-dot-org>
--
-- * configure.ac:
-- Update package version number for X11R7 RC2 release.
--
--2005-11-01 Kevin E. Martin <kem-at-freedesktop-dot-org>
--
-- * configure.ac:
-- Update pkgcheck dependencies to work with separate build roots.
-diff --git a/Makefile.am b/Makefile.am
-index 3ae2692..4c278ba 100644
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -18,6 +18,15 @@
- # 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.
-
--AUTOMAKE_OPTIONS = foreign
- SUBDIRS = src man
--EXTRA_DIST = README
-+MAINTAINERCLEANFILES = ChangeLog INSTALL
-+
-+.PHONY: ChangeLog INSTALL
-+
-+INSTALL:
-+ $(INSTALL_CMD)
-+
-+ChangeLog:
-+ $(CHANGELOG_CMD)
-+
-+dist-hook: ChangeLog INSTALL
-diff --git a/configure.ac b/configure.ac
-index d9ac542..c490919 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -20,57 +20,56 @@
- #
- # Process this file with autoconf to produce a configure script
-
--AC_PREREQ(2.57)
-+# Initialize Autoconf
-+AC_PREREQ([2.60])
- AC_INIT([xf86-video-v4l],
-- 0.2.0,
-+ [0.2.0],
- [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
-- xf86-video-v4l)
--
-+ [xf86-video-v4l])
- AC_CONFIG_SRCDIR([Makefile.am])
--AM_CONFIG_HEADER([config.h])
-+AC_CONFIG_HEADERS([config.h])
- AC_CONFIG_AUX_DIR(.)
-
--AM_INIT_AUTOMAKE([dist-bzip2])
--
-+# Initialize Automake
-+AM_INIT_AUTOMAKE([foreign dist-bzip2])
- AM_MAINTAINER_MODE
-
--# Checks for programs.
-+# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
-+m4_ifndef([XORG_MACROS_VERSION],
-+ [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])])
-+XORG_MACROS_VERSION(1.8)
-+XORG_DEFAULT_OPTIONS
-+
-+# Initialize libtool
- AC_DISABLE_STATIC
- AC_PROG_LIBTOOL
--AC_PROG_CC
-
- AH_TOP([#include "xorg-server.h"])
-
-+# Define a configure option for an alternate module directory
- AC_ARG_WITH(xorg-module-dir,
-- AC_HELP_STRING([--with-xorg-module-dir=DIR],
-+ AS_HELP_STRING([--with-xorg-module-dir=DIR],
- [Default xorg module directory [[default=$libdir/xorg/modules]]]),
- [moduledir="$withval"],
- [moduledir="$libdir/xorg/modules"])
-
--# Checks for extensions
-+# Store the list of server defined optional extensions in REQUIRED_MODULES
- XORG_DRIVER_CHECK_EXT(RANDR, randrproto)
- XORG_DRIVER_CHECK_EXT(XV, videoproto)
-
--# Checks for pkg-config packages
-+# Obtain compiler/linker options for the driver dependencies
- PKG_CHECK_MODULES(XORG, [xorg-server >= 1.0.99.901 xproto $REQUIRED_MODULES])
--sdkdir=$(pkg-config --variable=sdkdir xorg-server)
-
- # Checks for libraries.
-
--# Checks for header files.
--AC_HEADER_STDC
--
--AC_SUBST([XORG_CFLAGS])
- AC_SUBST([moduledir])
-
- DRIVER_NAME=v4l
- AC_SUBST([DRIVER_NAME])
-
--XORG_MANPAGE_SECTIONS
--XORG_RELEASE_VERSION
--
--AC_OUTPUT([
-- Makefile
-- src/Makefile
-- man/Makefile
-+AC_CONFIG_FILES([
-+ Makefile
-+ src/Makefile
-+ man/Makefile
- ])
-+AC_OUTPUT
-diff --git a/man/Makefile.am b/man/Makefile.am
-index f0eb29b..b3688ce 100644
---- a/man/Makefile.am
-+++ b/man/Makefile.am
-@@ -1,27 +1,24 @@
- #
- # Copyright 2005 Sun Microsystems, Inc. All rights reserved.
--#
--# 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.
--#
--# 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 OPEN GROUP 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 name of the copyright holders 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 copyright holders.
-+#
-+# 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 (including the next
-+# paragraph) 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 OR COPYRIGHT HOLDERS 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.
- #
-
- drivermandir = $(DRIVER_MAN_DIR)
-@@ -34,25 +31,11 @@ EXTRA_DIST = @DRIVER_NAME@.man
-
- CLEANFILES = $(driverman_DATA)
-
--SED = sed
-
--# Strings to replace in man pages
--XORGRELSTRING = @PACKAGE_STRING@
-- XORGMANNAME = X Version 11
-+# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
-
--MAN_SUBSTS = \
-- -e 's|__vendorversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' \
-- -e 's|__xorgversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' \
-- -e 's|__xservername__|Xorg|g' \
-- -e 's|__xconfigfile__|xorg.conf|g' \
-- -e 's|__projectroot__|$(prefix)|g' \
-- -e 's|__appmansuffix__|$(APP_MAN_SUFFIX)|g' \
-- -e 's|__drivermansuffix__|$(DRIVER_MAN_SUFFIX)|g' \
-- -e 's|__adminmansuffix__|$(ADMIN_MAN_SUFFIX)|g' \
-- -e 's|__miscmansuffix__|$(MISC_MAN_SUFFIX)|g' \
-- -e 's|__filemansuffix__|$(FILE_MAN_SUFFIX)|g'
-
- SUFFIXES = .$(DRIVER_MAN_SUFFIX) .man
-
- .man.$(DRIVER_MAN_SUFFIX):
-- sed $(MAN_SUBSTS) < $< > $@
-+ $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
-diff --git a/man/v4l.man b/man/v4l.man
-index 7d35b86..dc1e201 100644
---- a/man/v4l.man
-+++ b/man/v4l.man
-@@ -34,6 +34,6 @@ Please refer to __xconfigfile__(__filemansuffix__) for general configuration
- details. This section only covers configuration details specific to this
- driver.
- .SH "SEE ALSO"
--__xservername__(__appmansuffix__), __xconfigfile__(__filemansuffix__), xorgconfig(__appmansuffix__), Xserver(__appmansuffix__), X(__miscmansuffix__)
-+__xservername__(__appmansuffix__), __xconfigfile__(__filemansuffix__), Xserver(__appmansuffix__), X(__miscmansuffix__)
- .SH AUTHORS
- Authors include: Gerd Knorr <kraxel@bytesex.org>
-diff --git a/src/Makefile.am b/src/Makefile.am
-index ed30a80..08afe60 100644
---- a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -28,7 +28,6 @@ v4l_drv_la_LTLIBRARIES = v4l_drv.la
- v4l_drv_la_LDFLAGS = -module -avoid-version
- v4l_drv_ladir = @moduledir@/drivers
-
--v4l_drv_la_SOURCES = \
-- v4l.c
--
--EXTRA_DIST = videodev.h
-+v4l_drv_la_SOURCES = \
-+ v4l.c \
-+ videodev.h
-diff --git a/src/v4l.c b/src/v4l.c
-index b827f80..10e782b 100644
---- a/src/v4l.c
-+++ b/src/v4l.c
-@@ -1,6 +1,9 @@
- /*
-- * video4linux Xv Driver
-+ * video4linux Xv Driver
- * based on Michael Schimek's permedia 2 driver.
-+ *
-+ * Copyright (c) 2011 Mauro Carvalho Chehab <mchehab@redhat.com> for:
-+ * - Major rewrite, as driver got ported to V4L2 API
- */
-
- #ifdef HAVE_CONFIG_H
-@@ -9,12 +12,16 @@
-
- #include <sys/types.h>
- #include <sys/stat.h>
-+#include <ctype.h>
-+
- #include <fcntl.h>
- #include <errno.h>
- #include <string.h>
- #include <stdio.h>
-+#include <unistd.h>
-+#include <sys/ioctl.h>
-
--#include "videodev.h"
-+#include "videodev2.h"
- #include "xf86.h"
- #include "xf86_OSproc.h"
- #include "xf86Pci.h"
-@@ -25,8 +32,9 @@
- #include "regionstr.h"
- #include "dgaproc.h"
- #include "xf86str.h"
-+#include "fourcc.h"
-
--#include <asm/ioctl.h> /* _IORW(xxx) #defines are here */
-+#include <asm/ioctl.h> /* _IORW(xxx) #defines are here */
-
- #if 0
- # define DEBUG(x) (x)
-@@ -34,20 +42,22 @@
- # define DEBUG(x)
- #endif
-
-+/***************************************************************************/
-+
- static void V4LIdentify(int flags);
- static Bool V4LProbe(DriverPtr drv, int flags);
- static const OptionInfoRec * V4LAvailableOptions(int chipid, int busid);
-
- _X_EXPORT DriverRec V4L = {
-- 40000,
-- "v4l",
-- V4LIdentify, /* Identify*/
-- V4LProbe, /* Probe */
-- V4LAvailableOptions,
-- NULL,
-- 0
--};
--
-+ .driverVersion = 50000,
-+ .driverName = "v4l",
-+ .Identify = V4LIdentify,
-+ .Probe = V4LProbe,
-+ .AvailableOptions = V4LAvailableOptions,
-+ .module = NULL,
-+ .refCount = 0,
-+ .driverFunc = NULL, /* FIXME: Need to implement for new probing mode */
-+};
-
- #ifdef XFree86LOADER
-
-@@ -55,16 +65,16 @@ static MODULESETUPPROTO(v4lSetup);
-
- static XF86ModuleVersionInfo v4lVersRec =
- {
-- "v4l",
-- MODULEVENDORSTRING,
-- MODINFOSTRING1,
-- MODINFOSTRING2,
-- XORG_VERSION_CURRENT,
-- 0, 1, 1,
-- ABI_CLASS_VIDEODRV,
-- ABI_VIDEODRV_VERSION,
-- MOD_CLASS_NONE,
-- {0,0,0,0}
-+ "v4l",
-+ MODULEVENDORSTRING,
-+ MODINFOSTRING1,
-+ MODINFOSTRING2,
-+ XORG_VERSION_CURRENT,
-+ 0, 1, 1,
-+ ABI_CLASS_VIDEODRV,
-+ ABI_VIDEODRV_VERSION,
-+ MOD_CLASS_NONE,
-+ {0,0,0,0}
- };
-
- _X_EXPORT XF86ModuleData v4lModuleData = { &v4lVersRec, v4lSetup, NULL };
-@@ -72,32 +82,32 @@ _X_EXPORT XF86ModuleData v4lModuleData = { &v4lVersRec, v4lSetup, NULL };
- static pointer
- v4lSetup(pointer module, pointer opts, int *errmaj, int *errmin)
- {
-- const char *osname;
-- static Bool setupDone = FALSE;
--
-- if (setupDone) {
-- if (errmaj)
-- *errmaj = LDR_ONCEONLY;
-- return NULL;
-- }
--
-- setupDone = TRUE;
--
-- /* Check that we're being loaded on a Linux system */
-- LoaderGetOS(&osname, NULL, NULL, NULL);
-- if (!osname || strcmp(osname, "linux") != 0) {
-- if (errmaj)
-- *errmaj = LDR_BADOS;
-- if (errmin)
-- *errmin = 0;
-- return NULL;
-- } else {
-- /* OK */
--
-- xf86AddDriver (&V4L, module, 0);
--
-- return (pointer)1;
-- }
-+ const char *osname;
-+ static Bool setupDone = FALSE;
-+
-+ if (setupDone) {
-+ if (errmaj)
-+ *errmaj = LDR_ONCEONLY;
-+ return NULL;
-+ }
-+
-+ setupDone = TRUE;
-+
-+ /* Check that we're being loaded on a Linux system */
-+ LoaderGetOS(&osname, NULL, NULL, NULL);
-+ if (!osname || strcmp(osname, "linux") != 0) {
-+ if (errmaj)
-+ *errmaj = LDR_BADOS;
-+ if (errmin)
-+ *errmin = 0;
-+ return NULL;
-+ } else {
-+ /* OK */
-+
-+ xf86AddDriver (&V4L, module, 0);
-+
-+ return (pointer)1;
-+ }
- }
-
- #else
-@@ -112,25 +122,28 @@ v4lSetup(pointer module, pointer opts, int *errmaj, int *errmin)
- #define VIDEO_YUV 2 /* yuv overlay (to offscreen memory + hw scaling) */
- #define VIDEO_RECLIP 3 /* temporarly off, window clipping changes */
-
-+typedef struct _XvV4LCtrlRec {
-+ struct v4l2_queryctrl qctrl;
-+ Atom xv;
-+} XvV4LCtrlRec, *XvV4LCtrlPtr;
-+
- typedef struct _PortPrivRec {
- ScrnInfoPtr pScrn;
-- FBAreaPtr pFBArea[2];
-- int VideoOn;
-- Bool StreamOn;
-+ FBAreaPtr pFBArea[2];
-+ int VideoOn;
-+ Bool StreamOn;
-
- /* file handle */
-- int nr;
-- struct video_capability cap;
-+ int nr;
-+ struct v4l2_capability cap;
-
- /* RGB overlay */
-- struct video_buffer rgb_fbuf;
-- struct video_window rgb_win;
-- int rgbpalette;
-+ struct v4l2_framebuffer rgb_fbuf;
-+ struct v4l2_window rgb_win;
- int rgbdepth;
-
- /* attributes */
-- struct video_picture pict;
-- struct video_audio audio;
-+ CARD32 pixelformat;
-
- XF86VideoEncodingPtr enc;
- int *input;
-@@ -145,24 +158,21 @@ typedef struct _PortPrivRec {
-
- int yuv_width,yuv_height;
- XF86SurfacePtr surface;
-- struct video_buffer yuv_fbuf;
-- struct video_window yuv_win;
--} PortPrivRec, *PortPrivPtr;
-+ struct v4l2_framebuffer yuv_fbuf;
-+ struct v4l2_window yuv_win;
-+
-+ struct v4l2_standard *standard; /* FIXME: can be removed */
-
--#define XV_ENCODING "XV_ENCODING"
--#define XV_BRIGHTNESS "XV_BRIGHTNESS"
--#define XV_CONTRAST "XV_CONTRAST"
--#define XV_SATURATION "XV_SATURATION"
--#define XV_HUE "XV_HUE"
-+ XvV4LCtrlPtr XvV4LCtrl;
-+ int n_qctrl;
-+} PortPrivRec, *PortPrivPtr;
-
--#define XV_FREQ "XV_FREQ"
--#define XV_MUTE "XV_MUTE"
--#define XV_VOLUME "XV_VOLUME"
-+#define XV_ENCODING "XV_ENCODING"
-+#define XV_FREQ "XV_FREQ"
-
--#define MAKE_ATOM(a) MakeAtom(a, sizeof(a) - 1, TRUE)
-+#define MAKE_ATOM(a) MakeAtom(a, strlen(a), TRUE)
-
--static Atom xvEncoding, xvBrightness, xvContrast, xvSaturation, xvHue;
--static Atom xvFreq, xvMute, xvVolume;
-+static Atom xvEncoding, xvFreq;
-
- static XF86VideoFormatRec
- InputVideoFormats[] = {
-@@ -176,16 +186,8 @@ InputVideoFormats[] = {
-
- static const XF86AttributeRec Attributes[] = {
- {XvSettable | XvGettable, -1000, 1000, XV_ENCODING},
-- {XvSettable | XvGettable, -1000, 1000, XV_BRIGHTNESS},
-- {XvSettable | XvGettable, -1000, 1000, XV_CONTRAST},
-- {XvSettable | XvGettable, -1000, 1000, XV_SATURATION},
-- {XvSettable | XvGettable, -1000, 1000, XV_HUE},
- };
--static const XF86AttributeRec VolumeAttr =
-- {XvSettable | XvGettable, -1000, 1000, XV_VOLUME};
--static const XF86AttributeRec MuteAttr =
-- {XvSettable | XvGettable, 0, 1, XV_MUTE};
--static const XF86AttributeRec FreqAttr =
-+static const XF86AttributeRec FreqAttr =
- {XvSettable | XvGettable, 0, 16*1000, XV_FREQ};
-
-
-@@ -206,59 +208,247 @@ static struct V4L_DEVICE {
- };
-
- /* ---------------------------------------------------------------------- */
--/* forward decl */
-
--static void V4lQueryBestSize(ScrnInfoPtr pScrn, Bool motion,
-- short vid_w, short vid_h, short drw_w, short drw_h,
-- unsigned int *p_w, unsigned int *p_h, pointer data);
-+static int SetV4LFmt(int fd, CARD32 pixelformat)
-+{
-+ struct v4l2_framebuffer fbuf;
-+ char *p = (char *)&pixelformat;
-+
-+ memset(&fbuf, 0, sizeof(fbuf));
-+ if (ioctl(fd, VIDIOC_G_FBUF, &fbuf) == -1) {
-+ xf86Msg(X_ERROR, "v4l: Error %d: Can't get FBUF\n", errno);
-+ return errno;
-+ }
-+ if (fbuf.fmt.pixelformat != pixelformat) {
-+ fbuf.fmt.pixelformat = pixelformat;
-+ if (ioctl(fd, VIDIOC_S_FBUF, &fbuf) == -1) {
-+ xf86Msg(X_ERROR, "v4l: Error %d: Can't set FBUF to %c%c%c%c\n",
-+ errno, p[0], p[1], p[2], p[3]);
-+ return errno;
-+ }
-+ }
-+ DEBUG(xf86Msg(X_INFO, "v4l: Set overlay format to %c%c%c%c\n",
-+ p[0], p[1], p[2], p[3]));
-+ return 0;
-+}
-+static int GetV4LFmt(int fd, CARD32 *pixelformat)
-+{
-+ struct v4l2_framebuffer fbuf;
-+
-+ memset(&fbuf, 0, sizeof(fbuf));
-+ if (ioctl(fd, VIDIOC_G_FBUF, &fbuf) == -1) {
-+ xf86Msg(X_ERROR, "v4l: Error %d: Can't get FBUF\n", errno);
-+ return errno;
-+ }
-+
-+ *pixelformat = fbuf.fmt.pixelformat;
-+
-+ return 0;
-+}
-+
-+#define ATTR_NAME_PREFIX "XV_"
-+static int AddControl(PortPrivPtr p, XF86AttributeRec **list, int *count,
-+ struct v4l2_queryctrl *qctrl, int *n)
-+{
-+ char *ptr;
-+
-+/* v4l_add_attr */
-+ if (qctrl->flags & V4L2_CTRL_FLAG_DISABLED)
-+ return 0;
-+ switch (qctrl->type) {
-+ case V4L2_CTRL_TYPE_INTEGER:
-+ case V4L2_CTRL_TYPE_BOOLEAN:
-+ case V4L2_CTRL_TYPE_MENU:
-+ case V4L2_CTRL_TYPE_BUTTON:
-+ break;
-+ default:
-+ return 0;
-+ }
-+
-+ p->XvV4LCtrl = realloc(p->XvV4LCtrl, sizeof(XvV4LCtrlRec) * (*n + 1));
-+ if (!p->XvV4LCtrl) {
-+ if (*list) {
-+ free (*list);
-+ *count = 0;
-+ *n = 0;
-+ }
-+ return -1;
-+ }
-+
-+ *list = realloc(*list, sizeof(XF86AttributeRec) * (*count + 1));
-+ if (NULL == *list) {
-+ if (p->XvV4LCtrl)
-+ free (p->XvV4LCtrl);
-+ *count = 0;
-+ return -1;
-+ }
-+
-+ memset(*list + *count, 0, sizeof(XF86AttributeRec));
-+ (*list)[*count].flags = XvSettable | XvGettable;
-+
-+ if (qctrl->flags & V4L2_CTRL_FLAG_READ_ONLY)
-+ (*list)[*count].flags &= ~XvSettable;
-+ if (qctrl->flags & V4L2_CTRL_FLAG_WRITE_ONLY)
-+ (*list)[*count].flags &= ~XvGettable;
-+ (*list)[*count].min_value = qctrl->minimum;
-+ (*list)[*count].max_value = qctrl->maximum;
-+ (*list)[*count].name = malloc(strlen((char *)qctrl->name) + 1 + sizeof (ATTR_NAME_PREFIX));
-+ strcpy((*list)[*count].name, ATTR_NAME_PREFIX);
-+ strcat((*list)[*count].name, (char *)qctrl->name);
-+ for (ptr = (*list)[*count].name; *ptr; ptr++) {
-+ *ptr = toupper(*ptr);
-+ if (*ptr == ' ')
-+ *ptr = '_';
-+ }
-+
-+ p->XvV4LCtrl[*n].xv = MAKE_ATOM((*list)[*count].name);
-+ memcpy(&p->XvV4LCtrl[*n].qctrl, qctrl, sizeof(*qctrl));
-+
-+ xf86Msg(X_INFO, "v4l: add attr %s (Xv/GPA %d) (%d to %d)\n",
-+ (*list)[*count].name, (int)p->XvV4LCtrl[*n].xv,
-+ p->XvV4LCtrl[*n].qctrl.minimum,
-+ p->XvV4LCtrl[*n].qctrl.maximum);
-+
-+ (*count)++;
-+ (*n)++;
-+
-+ return 0;
-+}
-+
-+static void AddAllV4LControls(PortPrivPtr p, XF86AttributeRec **list,
-+ int *count, int fd)
-+{
-+ int entries = 0;
-+ CARD32 id;
-+ struct v4l2_queryctrl qctrl;
-+
-+ memset(&qctrl, 0, sizeof(qctrl));
-+ qctrl.id = V4L2_CTRL_FLAG_NEXT_CTRL;
-+ while (!ioctl(fd, VIDIOC_QUERYCTRL, &qctrl)) {
-+ if (AddControl(p, list, count, &qctrl, &entries))
-+ return;
-+ qctrl.id |= V4L2_CTRL_FLAG_NEXT_CTRL;
-+ }
-+ if (qctrl.id != V4L2_CTRL_FLAG_NEXT_CTRL)
-+ return;
-+ for (id = V4L2_CID_USER_BASE; id < V4L2_CID_LASTP1; id++) {
-+ qctrl.id = id;
-+ if (!ioctl(fd, VIDIOC_QUERYCTRL, &qctrl)) {
-+ if (AddControl(p, list, count, &qctrl, &entries))
-+ return;
-+ }
-+ }
-+ qctrl.id = V4L2_CID_PRIVATE_BASE;
-+ while (!ioctl(fd, VIDIOC_QUERYCTRL, &qctrl)) {
-+ if (AddControl(p, list, count, &qctrl, &entries))
-+ return;
-+ qctrl.id++;
-+ }
-+ p->n_qctrl = entries;
-+}
-
- /* ---------------------------------------------------------------------- */
-
-+/* setup yuv overlay + hw scaling: look if we find some common video
-+ format which both v4l driver and the X-Server can handle */
-+static int v4l_check_yuv(ScrnInfoPtr pScrn, PortPrivPtr pPPriv,
-+ char *dev, int fd)
-+{
-+ static const struct {
-+ CARD32 v4l_palette;
-+ unsigned int xv_id;
-+ unsigned int xv_format;
-+ } yuvlist[] = {
-+ { V4L2_PIX_FMT_YUYV, FOURCC_YUY2, XvPacked },
-+ { V4L2_PIX_FMT_UYVY, FOURCC_UYVY, XvPacked },
-+ { 0 /* end of list */ },
-+ };
-+ /* FIXME: Why pScrn->scrnIndex? */
-+ ScreenPtr pScreen = screenInfo.screens[pScrn->scrnIndex];
-+ int fmt,i;
-+
-+ pPPriv->format = xf86XVQueryOffscreenImages(pScreen, &pPPriv->nformat);
-+ xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, 2,
-+ "v4l: Number of Xv formats: %d\n", pPPriv->nformat);
-+ if (!pPPriv->nformat)
-+ return FALSE;
-+
-+ for (fmt = 0; yuvlist[fmt].v4l_palette != 0; fmt++) {
-+ pPPriv->pixelformat = yuvlist[fmt].v4l_palette;
-+ if (-1 == SetV4LFmt(fd, pPPriv->pixelformat))
-+ continue;
-+ GetV4LFmt(fd, &pPPriv->pixelformat);
-+ if (pPPriv->pixelformat != yuvlist[fmt].v4l_palette)
-+ continue;
-+ /* ... works, check available offscreen image formats now ... */
-+ for (i = 0; i < pPPriv->nformat; i++) {
-+ if (pPPriv->format[i].image->id == yuvlist[fmt].xv_id &&
-+ pPPriv->format[i].image->format == yuvlist[fmt].xv_format) {
-+ /* ... match found, good. */
-+ pPPriv->yuv_format = yuvlist[fmt].v4l_palette;
-+ pPPriv->myfmt = pPPriv->format+i;
-+ xf86DrvMsg(pScrn->scrnIndex, X_INFO,
-+ "v4l[%s]: using hw video scaling [%4.4s].\n",
-+ dev,(char*)&(pPPriv->format[i].image->id));
-+ return TRUE;
-+ }
-+ }
-+ }
-+ return TRUE;
-+}
-+
- static int V4lOpenDevice(PortPrivPtr pPPriv, ScrnInfoPtr pScrn)
- {
- static int first = 1;
-
-+#if 0
-+ /*
-+ * It may be a good idea to probe here, but this would break
-+ * some things, as initialization uses yuv_format
-+ */
-+ if (!pPPriv->yuv_format && first)
-+ v4l_check_yuv(pScrn, pPPriv, V4L_NAME, V4L_FD);
-+#endif
- if (-1 == V4L_FD) {
-- V4L_FD = open(V4L_NAME, O_RDWR, 0);
--
-- pPPriv->rgb_fbuf.width = pScrn->virtualX;
-- pPPriv->rgb_fbuf.height = pScrn->virtualY;
-- pPPriv->rgb_fbuf.depth = pScrn->bitsPerPixel;
-- pPPriv->rgb_fbuf.bytesperline = pScrn->displayWidth * ((pScrn->bitsPerPixel + 7)/8);
-- pPPriv->rgb_fbuf.base = (pointer)(pScrn->memPhysBase + pScrn->fbOffset);
-- if (first) {
-- first = 0;
-- xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, 2,
-- "v4l: memPhysBase=0x%lx\n", pScrn->memPhysBase);
-- }
--
-- switch (pScrn->bitsPerPixel) {
-- case 16:
-- if (pScrn->weight.green == 5) {
-- pPPriv->rgbpalette = VIDEO_PALETTE_RGB555;
-- pPPriv->rgbdepth = 16;
-- } else {
-- pPPriv->rgbpalette = VIDEO_PALETTE_RGB565;
-- pPPriv->rgbdepth = 16;
-- }
-- break;
-- case 24:
-- pPPriv->rgbpalette = VIDEO_PALETTE_RGB24;
-- pPPriv->rgbdepth = 24;
-- break;
-- case 32:
-- pPPriv->rgbpalette = VIDEO_PALETTE_RGB32;
-- pPPriv->rgbdepth = 32;
-- break;
-- }
-+ V4L_FD = open(V4L_NAME, O_RDWR, 0);
-+
-+ if (-1 == V4L_FD)
-+ return errno;
-+
-+ if (-1 == ioctl(V4L_FD, VIDIOC_G_FBUF, &pPPriv->rgb_fbuf)) {
-+ xf86Msg(X_ERROR, "v4l: Error %d: Can't get FBUF\n", errno);
-+ return errno;
-+ }
-+ pPPriv->rgb_fbuf.fmt.width = pScrn->virtualX;
-+ pPPriv->rgb_fbuf.fmt.height = pScrn->virtualY;
-+ pPPriv->rgb_fbuf.fmt.bytesperline = pScrn->displayWidth * ((pScrn->bitsPerPixel + 7)/8);
-+ pPPriv->rgb_fbuf.base = (pointer)(pScrn->memPhysBase + pScrn->fbOffset);
-+ if (first) {
-+ xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, 2,
-+ "v4l: memPhysBase=0x%lx\n", pScrn->memPhysBase);
-+ first = 0;
-+ }
-+
-+ switch (pScrn->bitsPerPixel) {
-+ case 16:
-+ if (pScrn->weight.green == 5) {
-+ pPPriv->rgb_fbuf.fmt.pixelformat = V4L2_PIX_FMT_RGB555;
-+ } else {
-+ pPPriv->rgb_fbuf.fmt.pixelformat = V4L2_PIX_FMT_RGB565;
-+ }
-+ break;
-+ case 24:
-+ pPPriv->rgb_fbuf.fmt.pixelformat = V4L2_PIX_FMT_BGR24;
-+ break;
-+ case 32:
-+ pPPriv->rgb_fbuf.fmt.pixelformat = V4L2_PIX_FMT_BGR32;
-+ break;
-+ }
- }
-
-- if (-1 == V4L_FD)
-- return errno;
--
- V4L_REF++;
- DEBUG(xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, 2,
-- "Xv/open: refcount=%d\n",V4L_REF));
-+ "Xv/open: refcount=%d\n",V4L_REF));
-
- return 0;
- }
-@@ -267,10 +457,10 @@ static void V4lCloseDevice(PortPrivPtr pPPriv, ScrnInfoPtr pScrn)
- {
- V4L_REF--;
- DEBUG(xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, 2,
-- "Xv/close: refcount=%d\n",V4L_REF));
-+ "Xv/close: refcount=%d\n",V4L_REF));
- if (0 == V4L_REF && -1 != V4L_FD) {
-- close(V4L_FD);
-- V4L_FD = -1;
-+ close(V4L_FD);
-+ V4L_FD = -1;
- }
- }
-
-@@ -280,8 +470,10 @@ V4lPutVideo(ScrnInfoPtr pScrn,
- short vid_w, short vid_h, short drw_w, short drw_h,
- RegionPtr clipBoxes, pointer data, DrawablePtr pDraw)
- {
-+ struct v4l2_format fmt;
-+
- PortPrivPtr pPPriv = (PortPrivPtr) data;
-- struct video_clip *clip;
-+ struct v4l2_clip *clip;
- BoxPtr pBox;
- RegionRec newReg;
- BoxRec newBox;
-@@ -291,179 +483,214 @@ V4lPutVideo(ScrnInfoPtr pScrn,
-
- /* Open a file handle to the device */
- if (VIDEO_OFF == pPPriv->VideoOn) {
-- if (V4lOpenDevice(pPPriv, pScrn))
-- return Success;
-+ if (V4lOpenDevice(pPPriv, pScrn))
-+ return Success;
- }
-
- if (0 != pPPriv->yuv_format) {
-- DEBUG(xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, 2, "Xv/PV yuv\n"));
-- width = pPPriv->enc[pPPriv->cenc].width;
-+ DEBUG(xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, 2, "Xv/PV yuv\n"));
-+ width = pPPriv->enc[pPPriv->cenc].width;
- height = pPPriv->enc[pPPriv->cenc].height/2; /* no interlace */
-- if (drw_w < width)
-- width = drw_w;
-- if (drw_h < height)
-- height = drw_h;
-- if ((height != pPPriv->yuv_height) || (width != pPPriv->yuv_width)) {
-- /* new size -- free old surface */
-- DEBUG(xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, 2, " surface resize\n"));
-- if (pPPriv->surface) {
-- pPPriv->VideoOn = VIDEO_OFF;
-- pPPriv->myfmt->stop(pPPriv->surface);
-- pPPriv->myfmt->free_surface(pPPriv->surface);
-- xfree(pPPriv->surface);
-- pPPriv->surface = NULL;
-- }
-- pPPriv->yuv_width = width;
-- pPPriv->yuv_height = height;
-- }
-- if (!pPPriv->surface) {
-- /* allocate + setup offscreen surface */
-- if (NULL == (pPPriv->surface = xalloc(sizeof(XF86SurfaceRec))))
-- return FALSE;
-- if (Success != pPPriv->myfmt->alloc_surface
-- (pScrn,pPPriv->myfmt->image->id,
-- pPPriv->yuv_width,pPPriv->yuv_height,pPPriv->surface)) {
-- xfree(pPPriv->surface);
-- pPPriv->surface = NULL;
-- goto fallback_to_rgb;
-- }
-- pPPriv->yuv_fbuf.width = pPPriv->surface->width;
-- pPPriv->yuv_fbuf.height = pPPriv->surface->height;
-- pPPriv->yuv_fbuf.depth = 16;
-- pPPriv->yuv_fbuf.bytesperline = pPPriv->surface->pitches[0];
-- pPPriv->yuv_fbuf.base =
-- (pointer)(pScrn->memPhysBase + pPPriv->surface->offsets[0]);
-- DEBUG(xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, 2, " surface: %p+%d = %p, %dx%d, pitch %d\n",
-- pScrn->memPhysBase,pPPriv->surface->offsets[0],
-- pScrn->memPhysBase+pPPriv->surface->offsets[0],
-- pPPriv->surface->width,pPPriv->surface->height,
-- pPPriv->surface->pitches[0]));
-- pPPriv->yuv_win.width = pPPriv->surface->width;
-- pPPriv->yuv_win.height = pPPriv->surface->height;
-- }
--
-- /* program driver */
-- if (-1 == ioctl(V4L_FD,VIDIOCSFBUF,&(pPPriv->yuv_fbuf)))
-- perror("ioctl VIDIOCSFBUF");
-- if (-1 == ioctl(V4L_FD,VIDIOCGPICT,&pPPriv->pict))
-- perror("ioctl VIDIOCGPICT");
-- pPPriv->pict.palette = pPPriv->yuv_format;
-- pPPriv->pict.depth = 16;
-- if (-1 == ioctl(V4L_FD,VIDIOCSPICT,&pPPriv->pict))
-- perror("ioctl VIDIOCSPICT");
-- if (-1 == ioctl(V4L_FD,VIDIOCSWIN,&(pPPriv->yuv_win)))
-- perror("ioctl VIDIOCSWIN");
-- if (-1 == ioctl(V4L_FD, VIDIOCCAPTURE, &one))
-- perror("ioctl VIDIOCCAPTURE(1)");
--
-- if (0 == (pPPriv->myfmt->flags & VIDEO_INVERT_CLIPLIST)) {
-- /* invert cliplist */
-- newBox.x1 = drw_x;
-- newBox.y1 = drw_y;
-- newBox.x2 = drw_x + drw_w;
-- newBox.y2 = drw_y + drw_h;
--
-- if (pPPriv->myfmt->flags & VIDEO_CLIP_TO_VIEWPORT) {
-- /* trim to the viewport */
-- if(newBox.x1 < pScrn->frameX0)
-- newBox.x1 = pScrn->frameX0;
-- if(newBox.x2 > pScrn->frameX1)
-- newBox.x2 = pScrn->frameX1;
--
-- if(newBox.y1 < pScrn->frameY0)
-- newBox.y1 = pScrn->frameY0;
-- if(newBox.y2 > pScrn->frameY1)
-- newBox.y2 = pScrn->frameY1;
-- }
-+ if (drw_w < width)
-+ width = drw_w;
-+ if (drw_h < height)
-+ height = drw_h;
-+ if ((height != pPPriv->yuv_height) || (width != pPPriv->yuv_width)) {
-+ /* new size -- free old surface */
-+ DEBUG(xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, 2, " surface resize\n"));
-+ if (pPPriv->surface) {
-+ pPPriv->VideoOn = VIDEO_OFF;
-+ pPPriv->myfmt->stop(pPPriv->surface);
-+ pPPriv->myfmt->free_surface(pPPriv->surface);
-+ free(pPPriv->surface);
-+ pPPriv->surface = NULL;
-+ }
-+ pPPriv->yuv_width = width;
-+ pPPriv->yuv_height = height;
-+ }
-+ if (!pPPriv->surface) {
-+ /* allocate + setup offscreen surface */
-+ if (NULL == (pPPriv->surface = malloc(sizeof(XF86SurfaceRec))))
-+ return FALSE;
-+ if (Success != pPPriv->myfmt->alloc_surface
-+ (pScrn,pPPriv->myfmt->image->id,
-+ pPPriv->yuv_width,pPPriv->yuv_height,pPPriv->surface)) {
-+ free(pPPriv->surface);
-+ pPPriv->surface = NULL;
-+ goto fallback_to_rgb;
-+ }
-+
-+ if (-1 == ioctl(V4L_FD, VIDIOC_G_FBUF, &pPPriv->yuv_fbuf)) {
-+ xf86Msg(X_ERROR, "v4l: Error %d: Can't get FBUF\n", errno);
-+ return errno;
-+ }
-+ pPPriv->yuv_fbuf.fmt.width = pPPriv->surface->width;
-+ pPPriv->yuv_fbuf.fmt.height = pPPriv->surface->height;
-+ pPPriv->yuv_fbuf.fmt.bytesperline = pPPriv->surface->pitches[0];
-+ pPPriv->yuv_fbuf.fmt.pixelformat = pPPriv->yuv_format;
-+ pPPriv->yuv_fbuf.base =
-+ (pointer)(pScrn->memPhysBase + pPPriv->surface->offsets[0]);
-+ DEBUG(xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, 2,
-+ " surface: %p+%d = %p, %dx%d, pitch %d\n",
-+ (void *)pScrn->memPhysBase, pPPriv->surface->offsets[0],
-+ (void *)pScrn->memPhysBase+pPPriv->surface->offsets[0],
-+ pPPriv->surface->width, pPPriv->surface->height,
-+ pPPriv->surface->pitches[0]));
-+ memset(&pPPriv->yuv_win, 0, sizeof(pPPriv->yuv_win));
-+ pPPriv->yuv_win.w.left = 0;
-+ pPPriv->yuv_win.w.top = 0;
-+ pPPriv->yuv_win.w.width = pPPriv->surface->width;
-+ pPPriv->yuv_win.w.height = pPPriv->surface->height;
-+ }
-
-- REGION_INIT(pScrn->pScreen, &newReg, &newBox, 1);
-- REGION_SUBTRACT(pScrn->pScreen, &newReg, &newReg, clipBoxes);
-- clipBoxes = &newReg;
-- }
--
-- /* start overlay */
-- DEBUG(xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, 2,
-- "over: - %d,%d -> %d,%d (%dx%d) (yuv=%dx%d)\n",
-- drw_x, drw_y,
-- drw_x+drw_w, drw_y+drw_h,
-- drw_w, drw_h,
-- pPPriv->surface->width,pPPriv->surface->height));
-- pPPriv->myfmt->display(pPPriv->surface,
-- 0, 0, drw_x, drw_y,
-- pPPriv->surface->width,
-- pPPriv->surface->height,
-- drw_w, drw_h,
-- clipBoxes);
-- if (0 == (pPPriv->myfmt->flags & VIDEO_INVERT_CLIPLIST)) {
-- REGION_UNINIT(pScrn->pScreen, &newReg);
-- }
-- pPPriv->VideoOn = VIDEO_YUV;
-- return Success;
-+ /* program driver */
-+ if (-1 == ioctl(V4L_FD, VIDIOC_S_FBUF, &pPPriv->yuv_fbuf)) {
-+ xf86Msg(X_ERROR, "Error %d at VIDIOC_S_FBUF\n", errno);
-+ return BadValue;
-+ }
-+ pPPriv->pixelformat = pPPriv->yuv_format;
-+ if (-1 == SetV4LFmt(V4L_FD, pPPriv->pixelformat))
-+ return BadValue;
-+
-+ memset(&fmt, 0, sizeof(fmt));
-+ fmt.type = V4L2_BUF_TYPE_VIDEO_OVERLAY;
-+ memcpy(&fmt.fmt.win, &pPPriv->yuv_win, sizeof(pPPriv->yuv_win));
-+ if (-1 == ioctl(V4L_FD, VIDIOC_S_FMT, &fmt)) {
-+ xf86Msg(X_ERROR, "Error %d at VIDIOC_S_FMT\n", errno);
-+ return BadValue;
-+ }
-+ if (-1 == ioctl(V4L_FD, VIDIOC_OVERLAY, &one)) {
-+ xf86Msg(X_ERROR, "v4l: Error %d while enabling Overlay\n", errno);
-+ return BadValue;
-+ }
-+
-+ if (0 == (pPPriv->myfmt->flags & VIDEO_INVERT_CLIPLIST)) {
-+ /* invert cliplist */
-+ newBox.x1 = drw_x;
-+ newBox.y1 = drw_y;
-+ newBox.x2 = drw_x + drw_w;
-+ newBox.y2 = drw_y + drw_h;
-+
-+ if (pPPriv->myfmt->flags & VIDEO_CLIP_TO_VIEWPORT) {
-+ /* trim to the viewport */
-+ if(newBox.x1 < pScrn->frameX0)
-+ newBox.x1 = pScrn->frameX0;
-+ if(newBox.x2 > pScrn->frameX1)
-+ newBox.x2 = pScrn->frameX1;
-+
-+ if(newBox.y1 < pScrn->frameY0)
-+ newBox.y1 = pScrn->frameY0;
-+ if(newBox.y2 > pScrn->frameY1)
-+ newBox.y2 = pScrn->frameY1;
-+ }
-+
-+ REGION_INIT(pScrn->pScreen, &newReg, &newBox, 1);
-+ REGION_SUBTRACT(pScrn->pScreen, &newReg, &newReg, clipBoxes);
-+ clipBoxes = &newReg;
-+ }
-+
-+ /* start overlay */
-+ DEBUG(xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, 2,
-+ "over: - %d,%d -> %d,%d (%dx%d) (yuv=%dx%d)\n",
-+ drw_x, drw_y,
-+ drw_x+drw_w, drw_y+drw_h,
-+ drw_w, drw_h,
-+ pPPriv->surface->width,pPPriv->surface->height));
-+ pPPriv->myfmt->display(pPPriv->surface,
-+ 0, 0, drw_x, drw_y,
-+ pPPriv->surface->width,
-+ pPPriv->surface->height,
-+ drw_w, drw_h,
-+ clipBoxes);
-+ if (0 == (pPPriv->myfmt->flags & VIDEO_INVERT_CLIPLIST)) {
-+ REGION_UNINIT(pScrn->pScreen, &newReg);
-+ }
-+ pPPriv->VideoOn = VIDEO_YUV;
-+ return Success;
- }
-
-- fallback_to_rgb:
-+fallback_to_rgb:
- DEBUG(xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, 2, "Xv/PV rgb\n"));
- /* FIXME: vid-* is ignored for now, not supported by v4l */
-
- dw = (drw_w < pPPriv->enc[pPPriv->cenc].width) ?
-- drw_w : pPPriv->enc[pPPriv->cenc].width;
-+ drw_w : pPPriv->enc[pPPriv->cenc].width;
- dh = (drw_h < pPPriv->enc[pPPriv->cenc].height) ?
-- drw_h : pPPriv->enc[pPPriv->cenc].height;
-+ drw_h : pPPriv->enc[pPPriv->cenc].height;
- /* if the window is too big, center the video */
- dx = drw_x + (drw_w - dw)/2;
- dy = drw_y + (drw_h - dh)/2;
- /* bttv prefeares aligned addresses */
- dx &= ~3;
-- if (dx < drw_x) dx += 4;
-- if (dx+dw > drw_x+drw_w) dw -= 4;
-+ if (dx < drw_x)
-+ dx += 4;
-+ if (dx+dw > drw_x+drw_w)
-+ dw -= 4;
-
- /* window */
- DEBUG(xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, 2, " win: %dx%d+%d+%d\n",
-- drw_w,drw_h,drw_x,drw_y));
-+ drw_w,drw_h,drw_x,drw_y));
- DEBUG(xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, 2, " use: %dx%d+%d+%d\n",
-- dw,dh,dx,dy));
-- pPPriv->rgb_win.x = dx;
-- pPPriv->rgb_win.y = dy;
-- pPPriv->rgb_win.width = dw;
-- pPPriv->rgb_win.height = dh;
-- pPPriv->rgb_win.flags = 0;
--
-+ dw,dh,dx,dy));
-+ memset(&pPPriv->rgb_win, 0, sizeof(pPPriv->rgb_win));
-+ pPPriv->rgb_win.w.left = dx;
-+ pPPriv->rgb_win.w.top = dy;
-+ pPPriv->rgb_win.w.width = dw;
-+ pPPriv->rgb_win.w.height = dh;
-+
- /* clipping */
- if (pPPriv->rgb_win.clips) {
-- xfree(pPPriv->rgb_win.clips);
-- pPPriv->rgb_win.clips = NULL;
-+ free(pPPriv->rgb_win.clips);
-+ pPPriv->rgb_win.clips = NULL;
- }
- pPPriv->rgb_win.clipcount = REGION_NUM_RECTS(clipBoxes);
- DEBUG(xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, 2," clip: have #%d\n",
-- pPPriv->rgb_win.clipcount));
-+ pPPriv->rgb_win.clipcount));
- if (0 != pPPriv->rgb_win.clipcount) {
-- pPPriv->rgb_win.clips = xalloc(pPPriv->rgb_win.clipcount*sizeof(struct video_clip));
-- if (NULL != pPPriv->rgb_win.clips) {
-- memset(pPPriv->rgb_win.clips,0,pPPriv->rgb_win.clipcount*sizeof(struct video_clip));
-- pBox = REGION_RECTS(clipBoxes);
-- clip = pPPriv->rgb_win.clips;
-- for (i = 0; i < REGION_NUM_RECTS(clipBoxes); i++, pBox++, clip++) {
-- clip->x = pBox->x1 - dx;
-- clip->y = pBox->y1 - dy;
-- clip->width = pBox->x2 - pBox->x1;
-- clip->height = pBox->y2 - pBox->y1;
-- }
-- }
-+ pPPriv->rgb_win.clips = malloc(pPPriv->rgb_win.clipcount*sizeof(struct v4l2_clip));
-+ if (NULL != pPPriv->rgb_win.clips) {
-+ memset(pPPriv->rgb_win.clips,0,pPPriv->rgb_win.clipcount*sizeof(struct v4l2_clip));
-+ pBox = REGION_RECTS(clipBoxes);
-+ clip = pPPriv->rgb_win.clips;
-+
-+ /*
-+ * FIXME: This code currently does nothing, as we don't emulate
-+ * The V4L1 clipping stuff
-+ */
-+ for (i = 0; i < REGION_NUM_RECTS(clipBoxes); i++, pBox++, clip++) {
-+ clip->c.left = pBox->x1 - dx;
-+ clip->c.top = pBox->y1 - dy;
-+ clip->c.width = pBox->x2 - pBox->x1;
-+ clip->c.height = pBox->y2 - pBox->y1;
-+ }
-+ }
- }
-
- /* start */
-- if (-1 == ioctl(V4L_FD,VIDIOCSFBUF,&(pPPriv->rgb_fbuf)))
-- perror("ioctl VIDIOCSFBUF");
-- if (-1 == ioctl(V4L_FD,VIDIOCGPICT,&pPPriv->pict))
-- perror("ioctl VIDIOCGPICT");
-- pPPriv->pict.palette = pPPriv->rgbpalette;
-- pPPriv->pict.depth = pPPriv->rgbdepth;
-- if (-1 == ioctl(V4L_FD,VIDIOCSPICT,&pPPriv->pict))
-- perror("ioctl VIDIOCSPICT");
-- if (-1 == ioctl(V4L_FD,VIDIOCSWIN,&(pPPriv->rgb_win)))
-- perror("ioctl VIDIOCSWIN");
-- if (-1 == ioctl(V4L_FD, VIDIOCCAPTURE, &one))
-- perror("ioctl VIDIOCCAPTURE(1)");
-+ if (-1 == ioctl(V4L_FD, VIDIOC_S_FBUF, &pPPriv->rgb_fbuf)) {
-+ xf86Msg(X_ERROR, "Error %d at VIDIOC_S_FBUF\n", errno);
-+ return BadValue;
-+ }
-+ if (-1 == GetV4LFmt(V4L_FD, &pPPriv->pixelformat)) {
-+ xf86Msg(X_ERROR, "Error %d getting pixelformat\n", errno);
-+ return BadValue;
-+ }
-+ pPPriv->pixelformat = pPPriv->rgb_fbuf.fmt.pixelformat;
-+ if (-1 == SetV4LFmt(V4L_FD, pPPriv->pixelformat)) {
-+ xf86Msg(X_ERROR, "Error %d getting pixelformat\n", errno);
-+ return BadValue;
-+ }
-+ memset(&fmt, 0, sizeof(fmt));
-+ fmt.type = V4L2_BUF_TYPE_VIDEO_OVERLAY;
-+ memcpy(&fmt.fmt.win, &pPPriv->rgb_win, sizeof(pPPriv->rgb_win));
-+ if (-1 == ioctl(V4L_FD, VIDIOC_S_FMT, &fmt)) {
-+ xf86Msg(X_ERROR, "Error %d at VIDIOC_S_FMT\n", errno);
-+ return BadValue;
-+ }
-+ if (-1 == ioctl(V4L_FD, VIDIOC_OVERLAY, &one)) {
-+ xf86Msg(X_ERROR, "v4l: Error %d while enabling Overlay\n", errno);
-+ return BadValue;
-+ }
- pPPriv->VideoOn = VIDEO_RGB;
-
- return Success;
-@@ -476,7 +703,7 @@ V4lPutStill(ScrnInfoPtr pScrn,
- RegionPtr clipBoxes, pointer data, DrawablePtr pDraw)
- {
- #if 0
-- PortPrivPtr pPPriv = (PortPrivPtr) data;
-+ PortPrivPtr pPPriv = (PortPrivPtr) data;
- #endif
-
- DEBUG(xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, 2, "Xv/PS\n"));
-@@ -488,177 +715,152 @@ V4lPutStill(ScrnInfoPtr pScrn,
- static void
- V4lStopVideo(ScrnInfoPtr pScrn, pointer data, Bool shutdown)
- {
-- PortPrivPtr pPPriv = (PortPrivPtr) data;
-+ PortPrivPtr pPPriv = (PortPrivPtr) data;
- int zero=0;
-
- if (VIDEO_OFF == pPPriv->VideoOn) {
-- DEBUG(xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, 2,
-- "Xv/StopVideo called with video already off\n"));
-- return;
-+ DEBUG(xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, 2,
-+ "Xv/StopVideo called with video already off\n"));
-+ return;
- }
- DEBUG(xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, 2, "Xv/StopVideo shutdown=%d\n",shutdown));
-
- if (!shutdown) {
-- /* just reclipping, we have to stop DMA transfers to the visible screen */
-- if (VIDEO_RGB == pPPriv->VideoOn) {
-- if (-1 == ioctl(V4L_FD, VIDIOCCAPTURE, &zero))
-- perror("ioctl VIDIOCCAPTURE(0)");
-- pPPriv->VideoOn = VIDEO_RECLIP;
-- }
-+ /* just reclipping, we have to stop DMA transfers to the visible screen */
-+ if (VIDEO_RGB == pPPriv->VideoOn) {
-+ if (-1 == ioctl(V4L_FD, VIDIOC_OVERLAY, &zero))
-+ xf86Msg(X_ERROR, "v4l: Error %d while disabling Overlay\n", errno);
-+ pPPriv->VideoOn = VIDEO_RECLIP;
-+ }
- } else {
-- /* video stop - turn off and free everything */
-- if (VIDEO_YUV == pPPriv->VideoOn) {
-- pPPriv->myfmt->stop(pPPriv->surface);
-- pPPriv->myfmt->free_surface(pPPriv->surface);
-- xfree(pPPriv->surface);
-- pPPriv->surface = NULL;
-- }
-- if (-1 == ioctl(V4L_FD, VIDIOCCAPTURE, &zero))
-- perror("ioctl VIDIOCCAPTURE(0)");
--
-- V4lCloseDevice(pPPriv,pScrn);
-- pPPriv->VideoOn = VIDEO_OFF;
-- }
--}
-+ /* video stop - turn off and free everything */
-+ if (VIDEO_YUV == pPPriv->VideoOn) {
-+ pPPriv->myfmt->stop(pPPriv->surface);
-+ pPPriv->myfmt->free_surface(pPPriv->surface);
-+ free(pPPriv->surface);
-+ pPPriv->surface = NULL;
-+ }
-+ if (-1 == ioctl(V4L_FD, VIDIOC_OVERLAY, &zero))
-+ xf86Msg(X_ERROR, "v4l: Error %d while disabling Overlay\n", errno);
-
--/* v4l uses range 0 - 65535; Xv uses -1000 - 1000 */
--static int
--v4l_to_xv(int val) {
-- val = val * 2000 / 65536 - 1000;
-- if (val < -1000) val = -1000;
-- if (val > 1000) val = 1000;
-- return val;
--}
--static int
--xv_to_v4l(int val) {
-- val = val * 65536 / 2000 + 32768;
-- if (val < -0) val = 0;
-- if (val > 65535) val = 65535;
-- return val;
-+ V4lCloseDevice(pPPriv,pScrn);
-+ pPPriv->VideoOn = VIDEO_OFF;
-+ }
- }
-
- static int
- V4lSetPortAttribute(ScrnInfoPtr pScrn,
- Atom attribute, INT32 value, pointer data)
- {
-- PortPrivPtr pPPriv = (PortPrivPtr) data;
-- struct video_channel chan;
-- int ret = Success;
-+ struct v4l2_control ctrl;
-+ PortPrivPtr pPPriv = (PortPrivPtr) data;
-+ int i, ret = BadValue;
-
- if (V4lOpenDevice(pPPriv, pScrn))
-- return Success;
-+ return Success;
-
- DEBUG(xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, 2, "Xv/SPA %d, %d\n",
-- attribute, value));
-+ (int)attribute, (int)value));
-
- if (-1 == V4L_FD) {
-- ret = Success;
-+ ret = Success;
- } else if (attribute == xvEncoding) {
-- if (value >= 0 && value < pPPriv->nenc) {
-- pPPriv->cenc = value;
-- chan.channel = pPPriv->input[value];
-- chan.norm = pPPriv->norm[value];
-- if (-1 == ioctl(V4L_FD,VIDIOCSCHAN,&chan))
-- perror("ioctl VIDIOCSCHAN");
-- } else {
-- ret = BadValue;
-- }
-- } else if (attribute == xvBrightness ||
-- attribute == xvContrast ||
-- attribute == xvSaturation ||
-- attribute == xvHue) {
-- ioctl(V4L_FD,VIDIOCGPICT,&pPPriv->pict);
-- if (attribute == xvBrightness) pPPriv->pict.brightness = xv_to_v4l(value);
-- if (attribute == xvContrast) pPPriv->pict.contrast = xv_to_v4l(value);
-- if (attribute == xvSaturation) pPPriv->pict.colour = xv_to_v4l(value);
-- if (attribute == xvHue) pPPriv->pict.hue = xv_to_v4l(value);
-- if (-1 == ioctl(V4L_FD,VIDIOCSPICT,&pPPriv->pict))
-- perror("ioctl VIDIOCSPICT");
-- } else if (attribute == xvMute ||
-- attribute == xvVolume) {
-- ioctl(V4L_FD,VIDIOCGAUDIO,&pPPriv->audio);
-- if (attribute == xvMute) {
-- if (value)
-- pPPriv->audio.flags |= VIDEO_AUDIO_MUTE;
-- else
-- pPPriv->audio.flags &= ~VIDEO_AUDIO_MUTE;
-- } else if (attribute == xvVolume) {
-- if (pPPriv->audio.flags & VIDEO_AUDIO_VOLUME)
-- pPPriv->audio.volume = xv_to_v4l(value);
-- } else {
-- ret = BadValue;
-- }
-- if (ret != BadValue)
-- if (-1 == ioctl(V4L_FD,VIDIOCSAUDIO,&pPPriv->audio))
-- perror("ioctl VIDIOCSAUDIO");
-+ if (value < 0 || value >= pPPriv->nenc)
-+ goto err;
-+ if (ioctl(V4L_FD, VIDIOC_S_INPUT, &pPPriv->input[value]) == -1) {
-+ xf86Msg(X_ERROR, "v4l: Error %d while setting input\n", errno);
-+ goto err;
-+ }
-+ if (ioctl(V4L_FD, VIDIOC_S_STD, &pPPriv->norm[value]) == -1) {
-+ xf86Msg(X_ERROR, "v4l: Error %d while setting standard\n", errno);
-+ goto err;
-+ }
-+ pPPriv->cenc = value;
-+ ret = Success;
- } else if (attribute == xvFreq) {
-- unsigned long freq = value;
-- if (-1 == ioctl(V4L_FD,VIDIOCSFREQ,&freq))
-- perror("ioctl VIDIOCSFREQ");
-- } else if (0 != pPPriv->yuv_format &&
-- pPPriv->myfmt->setAttribute) {
-- /* not mine -> pass to yuv scaler driver */
-- ret = pPPriv->myfmt->setAttribute(pScrn, attribute, value);
-+ struct v4l2_frequency freq;
-+ memset(&freq, 0, sizeof(freq));
-+ ioctl(V4L_FD, VIDIOC_G_FREQUENCY, &freq);
-+ freq.frequency = value;
-+ if (ioctl(V4L_FD, VIDIOC_S_FREQUENCY, &freq) == -1)
-+ xf86Msg(X_ERROR, "v4l: Error %d while setting frequency\n", errno);
-+ else
-+ ret = Success;
- } else {
-- ret = BadValue;
-+ for (i = 0; i < pPPriv->n_qctrl; i++)
-+ if (pPPriv->XvV4LCtrl[i].xv == attribute)
-+ break;
-+ if (i == pPPriv->n_qctrl) {
-+ /* not mine -> pass to yuv scaler driver */
-+ if (0 != pPPriv->yuv_format && pPPriv->myfmt->setAttribute)
-+ ret = pPPriv->myfmt->setAttribute(pScrn, attribute, value);
-+ else
-+ ret = BadMatch;
-+ goto err;
-+ }
-+ if (pPPriv->XvV4LCtrl[i].qctrl.flags & V4L2_CTRL_FLAG_DISABLED)
-+ goto err;
-+ ctrl.id = pPPriv->XvV4LCtrl[i].qctrl.id;
-+ ctrl.value = value;
-+ if (ioctl(V4L_FD, VIDIOC_S_CTRL, &ctrl) != 1)
-+ ret = Success;
- }
-
-+err:
- V4lCloseDevice(pPPriv,pScrn);
- return ret;
- }
-
- static int
--V4lGetPortAttribute(ScrnInfoPtr pScrn,
-+V4lGetPortAttribute(ScrnInfoPtr pScrn,
- Atom attribute, INT32 *value, pointer data)
- {
-+ struct v4l2_control ctrl;
- PortPrivPtr pPPriv = (PortPrivPtr) data;
-- int ret = Success;
-+ int i, ret = BadValue;
-
- if (V4lOpenDevice(pPPriv, pScrn))
-- return Success;
-+ return Success;
-
- DEBUG(xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, 2, "Xv/GPA %d\n",
-- attribute));
-+ (int)attribute));
-
- if (-1 == V4L_FD) {
-- ret = Success;
-+ ret = Success;
- } else if (attribute == xvEncoding) {
-- *value = pPPriv->cenc;
-- } else if (attribute == xvBrightness ||
-- attribute == xvContrast ||
-- attribute == xvSaturation ||
-- attribute == xvHue) {
-- ioctl(V4L_FD,VIDIOCGPICT,&pPPriv->pict);
-- if (attribute == xvBrightness) *value = v4l_to_xv(pPPriv->pict.brightness);
-- if (attribute == xvContrast) *value = v4l_to_xv(pPPriv->pict.contrast);
-- if (attribute == xvSaturation) *value = v4l_to_xv(pPPriv->pict.colour);
-- if (attribute == xvHue) *value = v4l_to_xv(pPPriv->pict.hue);
-- } else if (attribute == xvMute ||
-- attribute == xvVolume) {
-- ioctl(V4L_FD,VIDIOCGAUDIO,&pPPriv->audio);
-- if (attribute == xvMute) {
-- *value = (pPPriv->audio.flags & VIDEO_AUDIO_MUTE) ? 1 : 0;
-- } else if (attribute == xvVolume) {
-- if (pPPriv->audio.flags & VIDEO_AUDIO_VOLUME)
-- *value = v4l_to_xv(pPPriv->audio.volume);
-- } else {
-- ret = BadValue;
-- }
-+ *value = pPPriv->cenc;
-+ ret = Success;
- } else if (attribute == xvFreq) {
-- unsigned long freq;
-- ioctl(V4L_FD,VIDIOCGFREQ,&freq);
-- *value = freq;
-- } else if (0 != pPPriv->yuv_format &&
-- pPPriv->myfmt->getAttribute) {
-- /* not mine -> pass to yuv scaler driver */
-- ret = pPPriv->myfmt->getAttribute(pScrn, attribute, value);
-+ struct v4l2_frequency freq;
-+ memset(&freq, 0, sizeof(freq));
-+ if (ioctl(V4L_FD, VIDIOC_G_FREQUENCY, &freq) != -1) {
-+ *value = freq.frequency;
-+ ret = Success;
-+ }
- } else {
-- ret = BadValue;
-+ for (i = 0; i < pPPriv->n_qctrl; i++)
-+ if (pPPriv->XvV4LCtrl[i].xv == attribute)
-+ break;
-+ if (i == pPPriv->n_qctrl) {
-+ /* not mine -> pass to yuv scaler driver */
-+ if (0 != pPPriv->yuv_format && pPPriv->myfmt->getAttribute)
-+ ret = pPPriv->myfmt->getAttribute(pScrn, attribute, value);
-+ else
-+ ret = BadMatch;
-+ goto err;
-+ }
-+ if (pPPriv->XvV4LCtrl[i].qctrl.flags & V4L2_CTRL_FLAG_DISABLED)
-+ goto err;
-+ ctrl.id = pPPriv->XvV4LCtrl[i].qctrl.id;
-+ if (ioctl(V4L_FD, VIDIOC_G_CTRL, &ctrl) != -1) {
-+ *value = ctrl.value;
-+ ret = Success;
-+ }
- }
--
- DEBUG(xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, 2, "Xv/GPA %d, %d\n",
-- attribute, *value));
-+ (int)attribute, (int)*value));
-
-+err:
- V4lCloseDevice(pPPriv,pScrn);
- return ret;
- }
-@@ -673,15 +875,15 @@ V4lQueryBestSize(ScrnInfoPtr pScrn, Bool motion,
- int maxy = pPPriv->enc[pPPriv->cenc].height;
-
- if (0 != pPPriv->yuv_format) {
-- *p_w = pPPriv->myfmt->max_width;
-- *p_h = pPPriv->myfmt->max_height;
-+ *p_w = pPPriv->myfmt->max_width;
-+ *p_h = pPPriv->myfmt->max_height;
- } else {
-- *p_w = (drw_w < maxx) ? drw_w : maxx;
-- *p_h = (drw_h < maxy) ? drw_h : maxy;
-+ *p_w = (drw_w < maxx) ? drw_w : maxx;
-+ *p_h = (drw_h < maxy) ? drw_h : maxy;
- }
-
- DEBUG(xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, 2, "Xv/BS %d %dx%d %dx%d\n",
-- pPPriv->cenc,drw_w,drw_h,*p_w,*p_h));
-+ pPPriv->cenc,drw_w,drw_h,*p_w,*p_h));
- }
-
- static const OptionInfoRec *
-@@ -693,132 +895,198 @@ V4LAvailableOptions(int chipid, int busid)
- static void
- V4LIdentify(int flags)
- {
-- xf86Msg(X_INFO, "v4l driver for Video4Linux\n");
--}
-+ xf86Msg(X_INFO, "v4l driver for Video4Linux overlay mode (V4L2)\n");
-+}
-
- static char*
- fixname(char *str)
- {
- int s,d;
- for (s=0, d=0;; s++) {
-- if (str[s] == '-')
-- continue;
-- str[d++] = tolower(str[s]);
-- if (0 == str[s])
-- break;
-+ if (str[s] == '-')
-+ continue;
-+ str[d++] = tolower(str[s]);
-+ if (0 == str[s])
-+ break;
- }
- return str;
- }
-
- static int
--v4l_add_enc(XF86VideoEncodingPtr enc, int i,
-- char *norm, char *input, int width, int height, int n, int d)
-+AddV4LEnc(XF86VideoEncodingPtr enc, int entry,
-+ char *norm, char *input, int width, int height, int n, int d)
- {
-- enc[i].id = i;
-- enc[i].name = xalloc(strlen(norm)+strlen(input)+2);
-- if (NULL == enc[i].name)
-- return -1;
-- enc[i].width = width;
-- enc[i].height = height;
-- enc[i].rate.numerator = n;
-- enc[i].rate.denominator = d;
-- sprintf(enc[i].name,"%s-%s",norm,fixname(input));
-+ enc->id = entry;
-+ enc->name = malloc(strlen(norm) + strlen(input) + 2);
-+ if (!enc->name)
-+ return -1;
-+
-+ enc->width = width;
-+ enc->height = height;
-+ enc->rate.numerator = n;
-+ enc->rate.denominator = d * 2; /* Refresh rate is twice, due to interlace */
-+ sprintf(enc->name,"%s-%s",norm,fixname(input));
-+
-+ xf86Msg(X_INFO, "v4l: adding input %s, %dx%d %d fps\n",
-+ enc->name, enc->width, enc->height, (d + n - 1)/n);
-+
- return 0;
- }
-
-+static int
-+V4LGetStd(PortPrivPtr p, int fd)
-+{
-+ struct v4l2_standard standard;
-+ int entries = 0;
-+
-+ /*
-+ * 128 is just an arbitrary large number. There aren't that many video stds
-+ * The max value is there just to avoid an endless loop, if the driver is
-+ * broken.
-+ */
-+ for (entries = 0; entries < 128; entries++) {
-+ memset(&standard, 0, sizeof(standard));
-+ standard.index = entries;
-+ if (-1 == ioctl(fd,VIDIOC_ENUMSTD, &standard))
-+ break;
-+ p->standard = realloc(p->standard, sizeof(standard) * (entries + 1));
-+ memcpy(&p->standard[entries], &standard, sizeof(standard));
-+ }
-+
-+ /*
-+ * Some webcam drivers don't implement VIDIOC_ENUMSTD. Fake it
-+ * This is currently unused, as no webcam driver allows OVERLAY mode,
-+ * but the code is here, in the case some webcam driver starts allowing
-+ * overlay.
-+ * FIXME: Webcam drivers may use VIDIOC_ENUM_FRAMESIZES and
-+ * VIDIOC_ENUM_FRAMEINTERVALS ioctl's that may help to fine-tune
-+ * their needs. Those ioctl's could be used here in order to better
-+ * support webcams.
-+ */
-+ if (!entries) {
-+ xf86Msg(X_INFO, "v4l: VIDIOC_ENUMSTD error %d.\n",errno);
-+ p->standard = realloc(p->standard, sizeof(standard) * (entries + 1));
-+ p->standard[0].id = V4L2_STD_ALL;
-+ strcpy((char *)p->standard[0].name, "CAMERA");
-+ p->standard[0].frameperiod.numerator = 1001;
-+ p->standard[0].frameperiod.denominator = 300001;
-+ p->standard[0].framelines = 480;
-+ entries++;
-+ }
-+ return entries;
-+}
-+
- static void
--V4LBuildEncodings(PortPrivPtr p, int fd, int channels)
-+V4LBuildEncodings(PortPrivPtr p, int fd)
- {
-- static struct video_channel channel;
-- int i,entries,have_bttv,bttv_ver;
--
--#define BTTV_VERSION _IOR('v' , BASE_VIDIOCPRIVATE+6, int)
-- have_bttv = 0;
-- if (-1 != ioctl(fd,BTTV_VERSION,&bttv_ver))
-- have_bttv = 1;
--
-- entries = (have_bttv ? 7 : 3) * channels;
-- p->enc = xalloc(sizeof(XF86VideoEncodingRec) * entries);
-- if (NULL == p->enc)
-- goto fail;
-- memset(p->enc,0,sizeof(XF86VideoEncodingRec) * entries);
-- p->norm = xalloc(sizeof(int) * entries);
-- if (NULL == p->norm)
-- goto fail;
-- memset(p->norm,0,sizeof(int) * entries);
-- p->input = xalloc(sizeof(int) * entries);
-- if (NULL == p->input)
-- goto fail;
-- memset(p->input,0,sizeof(int) * entries);
-+ unsigned int inp, std, num_std;
-+
-+ num_std = V4LGetStd(p, fd);
-
- p->nenc = 0;
-- for (i = 0; i < channels; i++) {
-- channel.channel = i;
-- if (-1 == ioctl(fd,VIDIOCGCHAN,&channel)) {
-- perror("ioctl VIDIOCGCHAN");
-- continue;
-- }
--
-- v4l_add_enc(p->enc, p->nenc,"PAL", channel.name, 768,576, 1,50);
-- p->norm[p->nenc] = VIDEO_MODE_PAL;
-- p->input[p->nenc] = i;
-- p->nenc++;
--
-- v4l_add_enc(p->enc,p->nenc,"NTSC", channel.name, 640,480, 1001,60000);
-- p->norm[p->nenc] = VIDEO_MODE_NTSC;
-- p->input[p->nenc] = i;
-- p->nenc++;
--
-- v4l_add_enc(p->enc,p->nenc,"SECAM",channel.name, 768,576, 1,50);
-- p->norm[p->nenc] = VIDEO_MODE_SECAM;
-- p->input[p->nenc] = i;
-- p->nenc++;
--
-- if (have_bttv) {
-- /* workaround for a v4l design flaw: The v4l API knows just pal,
-- ntsc and secam. But there are a few more norms (pal versions
-- with a different timings used in south america for example).
-- The bttv driver can handle these too. */
-- if (0 != v4l_add_enc(p->enc,p->nenc,"PAL-Nc",channel.name,
-- 640, 576, 1,50))
-- goto fail;
-- p->norm[p->nenc] = 3;
-- p->input[p->nenc] = i;
-- p->nenc++;
--
-- if (0 != v4l_add_enc(p->enc,p->nenc,"PAL-M",channel.name,
-- 640, 576, 1,50))
-- goto fail;
-- p->norm[p->nenc] = 4;
-- p->input[p->nenc] = i;
-- p->nenc++;
--
-- if (0 != v4l_add_enc(p->enc, p->nenc,"PAL-N", channel.name,
-- 768,576, 1,50))
-- goto fail;
-- p->norm[p->nenc] = 5;
-- p->input[p->nenc] = i;
-- p->nenc++;
--
-- if (0 != v4l_add_enc(p->enc,p->nenc,"NTSC-JP", channel.name,
-- 640,480, 1001,60000))
-- goto fail;
-- p->norm[p->nenc] = 6;
-- p->input[p->nenc] = i;
-- p->nenc++;
-- }
-+
-+ /*
-+ * 256 is just an arbitrary large number. There aren't that many video
-+ * inputs on any driver. The max value is there just to avoid an endless
-+ * loop, if the driver is broken.
-+ */
-+ for (inp = 0; inp < 256; inp++) {
-+ struct v4l2_input input;
-+
-+ memset(&input, 0, sizeof(input));
-+ input.index = inp;
-+ if (ioctl(fd, VIDIOC_ENUMINPUT, &input) == -1)
-+ break;
-+
-+ for (std = 0; std < num_std; std++) {
-+ int width, height;
-+
-+ /*
-+ * Currently, this code is not reliable, due to driver
-+ * non-compliance on both saa7134 and bttv. So, instead,
-+ * just use the video standard information
-+ */
-+#if 0
-+ struct v4l2_framebuffer fbuf;
-+
-+ /* Some webcam drivers will fail here, but that's OK */
-+ ioctl(fd, VIDIOC_S_STD, &p->standard[std].id);
-+
-+ memset(&fbuf, 0, sizeof(fbuf));
-+ if (ioctl(fd, VIDIOC_G_FBUF, &fbuf) == -1) {
-+ xf86Msg(X_INFO, "v4l: Error %d: Can't get FBUF\n", errno);
-+ return;
-+ }
-+ height = fbuf.fmt.height;
-+ width = fbuf.fmt.width;
-+
-+ /*
-+ * If the overlay method fails, get the resolution
-+ * via checking V4L2_BUF_TYPE_VIDEO_CAPTURE
-+ */
-+ if (!height || !width) {
-+ struct v4l2_format format;
-+
-+ format.type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
-+ if (ioctl(fd, VIDIOC_G_FMT, &format) == -1) {
-+ /* Hmm... device doesn't support capture. */
-+ height = p->standard[std].framelines;
-+ if (height == 480)
-+ width = 640;
-+ else if (height == 576)
-+ width = 768;
-+ else
-+ continue;
-+ } else {
-+ height = format.fmt.pix.height;
-+ width = format.fmt.pix.width;
-+ }
-+ }
-+#else
-+ if (p->standard[std].id & V4L2_STD_525_60) {
-+ height = 480;
-+ width = 640;
-+ } else {
-+ height = 576;
-+ width = 768;
-+ }
-+
-+#endif
-+ /* Fixup for some driver bug */
-+ if ((p->standard[std].id & V4L2_STD_525_60) && (height == 576))
-+ height = 480;
-+
-+ p->enc = realloc(p->enc, sizeof(XF86VideoEncodingRec) * (p->nenc + 1));
-+ p->norm = realloc(p->norm, sizeof(int) * (p->nenc + 1));
-+ p->input = realloc(p->input, sizeof(int) * (p->nenc + 1));
-+ if (!p->enc || !p->norm || !p->input)
-+ goto fail;
-+ if (AddV4LEnc(&p->enc[p->nenc], p->nenc,
-+ (char *)p->standard[std].name,
-+ (char *)input.name, width, height,
-+ p->standard[std].frameperiod.numerator,
-+ p->standard[std].frameperiod.denominator))
-+ goto fail;
-+ p->norm[p->nenc] = p->standard[std].id;
-+ p->input[p->nenc] = inp;
-+ p->nenc++;
-+ }
- }
-+
-+ if (!p->nenc)
-+ xf86Msg(X_ERROR, "v4l: couldn't detect any valid input/standard\n");
- return;
--
-- fail:
-+
-+fail:
-+ xf86Msg(X_ERROR, "v4l: Fail to get standards: %d\n", errno);
- if (p->input)
-- xfree(p->input);
-+ free(p->input);
- p->input = NULL;
- if (p->norm)
-- xfree(p->norm);
-+ free(p->norm);
- p->norm = NULL;
- if (p->enc)
-- xfree(p->enc);
-+ free(p->enc);
- p->enc = NULL;
- p->nenc = 0;
- }
-@@ -826,73 +1094,33 @@ V4LBuildEncodings(PortPrivPtr p, int fd, int channels)
- /* add a attribute a list */
- static void
- v4l_add_attr(XF86AttributeRec **list, int *count,
-- const XF86AttributeRec *attr)
-+ const XF86AttributeRec *attr)
- {
- XF86AttributeRec *oldlist = *list;
- int i;
-+ Atom gpa;
-
- for (i = 0; i < *count; i++) {
-- if (0 == strcmp((*list)[i].name,attr->name)) {
-- DEBUG(xf86Msg(X_INFO, "v4l: skip dup attr %s\n",attr->name));
-- return;
-- }
-+ if (0 == strcmp((*list)[i].name,attr->name)) {
-+ DEBUG(xf86Msg(X_INFO, "v4l: skip dup attr %s\n",attr->name));
-+ return;
-+ }
- }
--
-- DEBUG(xf86Msg(X_INFO, "v4l: add attr %s\n",attr->name));
-- *list = xalloc((*count + 1) * sizeof(XF86AttributeRec));
-+
-+ *list = malloc((*count + 1) * sizeof(XF86AttributeRec));
- if (NULL == *list) {
-- *count = 0;
-- return;
-+ *count = 0;
-+ return;
- }
- if (*count)
-- memcpy(*list, oldlist, *count * sizeof(XF86AttributeRec));
-+ memcpy(*list, oldlist, *count * sizeof(XF86AttributeRec));
- memcpy(*list + *count, attr, sizeof(XF86AttributeRec));
-- (*count)++;
--}
-
--/* setup yuv overlay + hw scaling: look if we find some common video
-- format which both v4l driver and the X-Server can handle */
--static void v4l_check_yuv(ScrnInfoPtr pScrn, PortPrivPtr pPPriv,
-- char *dev, int fd)
--{
-- static const struct {
-- unsigned int v4l_palette;
-- unsigned int v4l_depth;
-- unsigned int xv_id;
-- unsigned int xv_format;
-- } yuvlist[] = {
-- { VIDEO_PALETTE_YUV422, 16, 0x32595559, XvPacked },
-- { VIDEO_PALETTE_UYVY, 16, 0x59565955, XvPacked },
-- { 0 /* end of list */ },
-- };
-- ScreenPtr pScreen = screenInfo.screens[pScrn->scrnIndex];
-- int fmt,i;
-+ gpa = MAKE_ATOM((*list)[*count].name);
-+ xf86Msg(X_INFO, "v4l: add attr %s (Xv/GPA %d) (%d to %d)\n",
-+ attr->name, (int)gpa, attr->min_value, attr->max_value);
-
-- pPPriv->format = xf86XVQueryOffscreenImages(pScreen,&pPPriv->nformat);
-- for (fmt = 0; yuvlist[fmt].v4l_palette != 0; fmt++) {
-- /* check v4l ... */
-- ioctl(fd,VIDIOCGPICT,&pPPriv->pict);
-- pPPriv->pict.palette = yuvlist[fmt].v4l_palette;
-- pPPriv->pict.depth = yuvlist[fmt].v4l_depth;
-- if (-1 == ioctl(fd,VIDIOCSPICT,&pPPriv->pict))
-- continue;
-- ioctl(fd,VIDIOCGPICT,&pPPriv->pict);
-- if (pPPriv->pict.palette != yuvlist[fmt].v4l_palette)
-- continue;
-- /* ... works, check available offscreen image formats now ... */
-- for (i = 0; i < pPPriv->nformat; i++) {
-- if (pPPriv->format[i].image->id == yuvlist[fmt].xv_id &&
-- pPPriv->format[i].image->format == yuvlist[fmt].xv_format) {
-- /* ... match found, good. */
-- pPPriv->yuv_format = yuvlist[fmt].v4l_palette;
-- pPPriv->myfmt = pPPriv->format+i;
-- xf86DrvMsg(pScrn->scrnIndex, X_INFO,
-- "v4l[%s]: using hw video scaling [%4.4s].\n",
-- dev,(char*)&(pPPriv->format[i].image->id));
-- return;
-- }
-- }
-- }
-+ (*count)++;
- }
-
- static int
-@@ -904,118 +1132,114 @@ V4LInit(ScrnInfoPtr pScrn, XF86VideoAdaptorPtr **adaptors)
- char dev[18];
- int fd,i,j,d;
-
-- DEBUG(xf86Msg(X_INFO, "v4l: init start\n"));
--
- for (i = 0, d = 0; d < MAX_V4L_DEVICES; d++) {
-- sprintf(dev, "/dev/video%d", d);
-- fd = open(dev, O_RDWR, 0);
-- if (fd == -1) {
-- sprintf(dev, "/dev/v4l/video%d", d);
-- fd = open(dev, O_RDWR, 0);
-- if (fd == -1)
-- break;
-- }
-- DEBUG(xf86Msg(X_INFO, "v4l: %s open ok\n",dev));
--
-- /* our private data */
-- pPPriv = xalloc(sizeof(PortPrivRec));
-- if (!pPPriv)
-- return FALSE;
-- memset(pPPriv,0,sizeof(PortPrivRec));
-- pPPriv->nr = d;
--
-- /* check device */
-- if (-1 == ioctl(fd,VIDIOCGCAP,&pPPriv->cap) ||
-- 0 == (pPPriv->cap.type & VID_TYPE_OVERLAY)) {
-- DEBUG(xf86Msg(X_INFO, "v4l: %s: no overlay support\n",dev));
-- xfree(pPPriv);
-- close(fd);
-- continue;
-- }
-- strncpy(V4L_NAME, dev, 16);
-- V4LBuildEncodings(pPPriv,fd,pPPriv->cap.channels);
-- if (NULL == pPPriv->enc)
-- return FALSE;
-- v4l_check_yuv(pScrn,pPPriv,dev,fd);
--
-- /* alloc VideoAdaptorRec */
-- VAR = xrealloc(VAR,sizeof(XF86VideoAdaptorPtr)*(i+1));
-- VAR[i] = xalloc(sizeof(XF86VideoAdaptorRec));
-- if (!VAR[i])
-- return FALSE;
-- memset(VAR[i],0,sizeof(XF86VideoAdaptorRec));
--
--
-- /* build attribute list */
-- for (j = 0; j < V4L_ATTR; j++) {
-- /* video attributes */
-- v4l_add_attr(&VAR[i]->pAttributes, &VAR[i]->nAttributes,
-- &Attributes[j]);
-- }
-- if (0 == ioctl(fd,VIDIOCGAUDIO,&pPPriv->audio)) {
-- /* audio attributes */
-- if (pPPriv->audio.flags & VIDEO_AUDIO_VOLUME)
-- v4l_add_attr(&VAR[i]->pAttributes, &VAR[i]->nAttributes,
-- &VolumeAttr);
-- if (pPPriv->audio.flags & VIDEO_AUDIO_MUTABLE)
-- v4l_add_attr(&VAR[i]->pAttributes, &VAR[i]->nAttributes,
-- &MuteAttr);
-- }
-- if (pPPriv->cap.type & VID_TYPE_TUNER) {
-- /* tuner attributes */
-- v4l_add_attr(&VAR[i]->pAttributes, &VAR[i]->nAttributes,
-- &FreqAttr);
-- }
-- if (0 != pPPriv->yuv_format) {
-- /* pass throuth scaler attributes */
-- for (j = 0; j < pPPriv->myfmt->num_attributes; j++) {
-- v4l_add_attr(&VAR[i]->pAttributes, &VAR[i]->nAttributes,
-- pPPriv->myfmt->attributes+j);
-- }
-- }
--
--
-- /* hook in private data */
-- Private = xalloc(sizeof(DevUnion));
-- if (!Private)
-- return FALSE;
-- memset(Private,0,sizeof(DevUnion));
-- Private->ptr = (pointer)pPPriv;
-- VAR[i]->pPortPrivates = Private;
-- VAR[i]->nPorts = 1;
--
-- /* init VideoAdaptorRec */
-- VAR[i]->type = XvInputMask | XvWindowMask | XvVideoMask;
-- VAR[i]->name = "video4linux";
-- VAR[i]->flags = VIDEO_INVERT_CLIPLIST;
--
-- VAR[i]->PutVideo = V4lPutVideo;
-- VAR[i]->PutStill = V4lPutStill;
-- VAR[i]->StopVideo = V4lStopVideo;
-- VAR[i]->SetPortAttribute = V4lSetPortAttribute;
-- VAR[i]->GetPortAttribute = V4lGetPortAttribute;
-- VAR[i]->QueryBestSize = V4lQueryBestSize;
--
-- VAR[i]->nEncodings = pPPriv->nenc;
-- VAR[i]->pEncodings = pPPriv->enc;
-- VAR[i]->nFormats =
-- sizeof(InputVideoFormats) / sizeof(InputVideoFormats[0]);
-- VAR[i]->pFormats = InputVideoFormats;
--
-- if (fd != -1)
-- close(fd);
-- i++;
-+ sprintf(dev, "/dev/video%d", d);
-+ fd = open(dev, O_RDWR, 0);
-+ if (fd == -1) {
-+ sprintf(dev, "/dev/v4l/video%d", d);
-+ fd = open(dev, O_RDWR, 0);
-+ if (fd == -1)
-+ break;
-+ }
-+ DEBUG(xf86Msg(X_INFO, "v4l: %s open ok\n",dev));
-+
-+ /* our private data */
-+ pPPriv = malloc(sizeof(PortPrivRec));
-+ if (!pPPriv)
-+ return FALSE;
-+ memset(pPPriv,0,sizeof(PortPrivRec));
-+ pPPriv->nr = d;
-+
-+ /* check device capabilities */
-+ memset(&pPPriv->cap, 0, sizeof(&pPPriv->cap));
-+ if (-1 == ioctl(fd, VIDIOC_QUERYCAP, &pPPriv->cap) ||
-+ 0 == (pPPriv->cap.capabilities & V4L2_CAP_VIDEO_OVERLAY)) {
-+ xf86Msg(X_ERROR, "v4l: %s: no overlay support\n",dev);
-+ free(pPPriv);
-+ close(fd);
-+ continue;
-+ }
-+
-+ if (v4l_check_yuv(pScrn, pPPriv, dev, fd) == FALSE) {
-+ xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, 2,
-+ "Xv Overlay not supported. Can't use v4l driver\n");
-+ free(pPPriv);
-+ close(fd);
-+ continue;
-+ }
-+
-+ xf86Msg(X_INFO, "v4l: enabling overlay mode for %s.\n", dev);
-+ strncpy(V4L_NAME, dev, 16);
-+ V4LBuildEncodings(pPPriv, fd);
-+ if (NULL == pPPriv->enc)
-+ return FALSE;
-+
-+ /* alloc VideoAdaptorRec */
-+ VAR = realloc(VAR,sizeof(XF86VideoAdaptorPtr)*(i+1));
-+ VAR[i] = malloc(sizeof(XF86VideoAdaptorRec));
-+ if (!VAR[i])
-+ return FALSE;
-+ memset(VAR[i],0,sizeof(XF86VideoAdaptorRec));
-+
-+ /* build attribute list */
-+ AddAllV4LControls(pPPriv, &VAR[i]->pAttributes, &VAR[i]->nAttributes, fd);
-+
-+ for (j = 0; j < V4L_ATTR; j++) {
-+ /* Other video attributes */
-+ v4l_add_attr(&VAR[i]->pAttributes, &VAR[i]->nAttributes,
-+ &Attributes[j]);
-+ }
-+ if (pPPriv->cap.capabilities & V4L2_CAP_TUNER) {
-+ /* tuner attributes */
-+ v4l_add_attr(&VAR[i]->pAttributes, &VAR[i]->nAttributes,
-+ &FreqAttr);
-+ }
-+
-+ /* Initialize yuv_format */
-+ if (0 != pPPriv->yuv_format) {
-+ /* pass throuth scaler attributes */
-+ for (j = 0; j < pPPriv->myfmt->num_attributes; j++) {
-+ v4l_add_attr(&VAR[i]->pAttributes, &VAR[i]->nAttributes,
-+ pPPriv->myfmt->attributes+j);
-+ }
-+ }
-+
-+ DEBUG(xf86Msg(X_INFO, "v4l: saving config into driver data\n"));
-+ /* hook in private data */
-+ Private = malloc(sizeof(DevUnion));
-+ if (!Private)
-+ return FALSE;
-+ memset(Private,0,sizeof(DevUnion));
-+ Private->ptr = (pointer)pPPriv;
-+ VAR[i]->pPortPrivates = Private;
-+ VAR[i]->nPorts = 1;
-+
-+ /* init VideoAdaptorRec */
-+ VAR[i]->type = XvInputMask | XvWindowMask | XvVideoMask;
-+ VAR[i]->name = "video4linux";
-+ VAR[i]->flags = VIDEO_INVERT_CLIPLIST;
-+
-+ VAR[i]->PutVideo = V4lPutVideo;
-+ VAR[i]->PutStill = V4lPutStill;
-+ VAR[i]->StopVideo = V4lStopVideo;
-+ VAR[i]->SetPortAttribute = V4lSetPortAttribute;
-+ VAR[i]->GetPortAttribute = V4lGetPortAttribute;
-+ VAR[i]->QueryBestSize = V4lQueryBestSize;
-+
-+ VAR[i]->nEncodings = pPPriv->nenc;
-+ VAR[i]->pEncodings = pPPriv->enc;
-+ VAR[i]->nFormats = sizeof(InputVideoFormats) / sizeof(InputVideoFormats[0]);
-+ VAR[i]->pFormats = InputVideoFormats;
-+
-+ if (fd != -1) {
-+ DEBUG(xf86Msg(X_INFO, "v4l: %s init finished.\n",dev));
-+ close(fd);
-+ }
-+ i++;
- }
-
- xvEncoding = MAKE_ATOM(XV_ENCODING);
-- xvHue = MAKE_ATOM(XV_HUE);
-- xvSaturation = MAKE_ATOM(XV_SATURATION);
-- xvBrightness = MAKE_ATOM(XV_BRIGHTNESS);
-- xvContrast = MAKE_ATOM(XV_CONTRAST);
--
- xvFreq = MAKE_ATOM(XV_FREQ);
-- xvMute = MAKE_ATOM(XV_MUTE);
-- xvVolume = MAKE_ATOM(XV_VOLUME);
-
- DEBUG(xf86Msg(X_INFO, "v4l: init done, %d device(s) found\n",i));
-
-@@ -1024,10 +1248,43 @@ V4LInit(ScrnInfoPtr pScrn, XF86VideoAdaptorPtr **adaptors)
- }
-
- static Bool
-+V4LDetect(void)
-+{
-+ struct v4l2_capability cap;
-+ int fd, d, n = 0;
-+ char dev[18];
-+
-+ for (d = 0; d < MAX_V4L_DEVICES; d++) {
-+ sprintf(dev, "/dev/video%d", d);
-+ fd = open(dev, O_RDWR, 0);
-+ if (fd == -1) {
-+ sprintf(dev, "/dev/v4l/video%d", d);
-+ fd = open(dev, O_RDWR, 0);
-+ if (fd == -1)
-+ break;
-+ }
-+ close (fd);
-+ memset(&cap, 0, sizeof(cap));
-+ if (!ioctl(fd, VIDIOC_QUERYCAP, &cap) &&
-+ (cap.capabilities & V4L2_CAP_VIDEO_OVERLAY))
-+ n++;
-+ }
-+ xf86Msg(X_INFO, "v4l: %d video adapters with overlay support detected\n", n);
-+
-+ return (n > 0) ? TRUE : FALSE;
-+}
-+
-+static Bool
- V4LProbe(DriverPtr drv, int flags)
- {
-- if (flags & PROBE_DETECT)
-- return TRUE;
-+ /*
-+ * Don't try to register adapter at the detection phase, as Xv
-+ * extensions won't be there
-+ */
-+ if (flags == PROBE_DETECT)
-+ return V4LDetect();
-+
-+ DEBUG(xf86Msg(X_INFO, "v4l: Initiating device probe\n"));
-
- xf86XVRegisterGenericAdaptorDriver(V4LInit);
- drv->refCount++;
-diff --git a/src/videodev.h b/src/videodev.h
-deleted file mode 100644
-index 3c9a7d8..0000000
---- a/src/videodev.h
-+++ /dev/null
-@@ -1,254 +0,0 @@
--#ifndef __LINUX_VIDEODEV_H
--#define __LINUX_VIDEODEV_H
--
--/* Linux V4L API, Version 1
-- * videodev.h from v4l driver in Linux 2.2.3
-- *
-- * Used here with the explicit permission of the original author, Alan Cox.
-- * <alan@lxorguk.ukuu.org.uk>
-- */
--
--#include <X11/Xmd.h>
--
--#define VID_TYPE_CAPTURE 1 /* Can capture */
--#define VID_TYPE_TUNER 2 /* Can tune */
--#define VID_TYPE_TELETEXT 4 /* Does teletext */
--#define VID_TYPE_OVERLAY 8 /* Overlay onto frame buffer */
--#define VID_TYPE_CHROMAKEY 16 /* Overlay by chromakey */
--#define VID_TYPE_CLIPPING 32 /* Can clip */
--#define VID_TYPE_FRAMERAM 64 /* Uses the frame buffer memory */
--#define VID_TYPE_SCALES 128 /* Scalable */
--#define VID_TYPE_MONOCHROME 256 /* Monochrome only */
--#define VID_TYPE_SUBCAPTURE 512 /* Can capture subareas of the image */
--
--struct video_capability
--{
-- char name[32];
-- int type;
-- int channels; /* Num channels */
-- int audios; /* Num audio devices */
-- int maxwidth; /* Supported width */
-- int maxheight; /* And height */
-- int minwidth; /* Supported width */
-- int minheight; /* And height */
--};
--
--
--struct video_channel
--{
-- int channel;
-- char name[32];
-- int tuners;
-- CARD32 flags;
--#define VIDEO_VC_TUNER 1 /* Channel has a tuner */
--#define VIDEO_VC_AUDIO 2 /* Channel has audio */
-- CARD16 type;
--#define VIDEO_TYPE_TV 1
--#define VIDEO_TYPE_CAMERA 2
-- CARD16 norm; /* Norm set by channel */
--};
--
--struct video_tuner
--{
-- int tuner;
-- char name[32];
-- unsigned long rangelow, rangehigh; /* Tuner range */
-- CARD32 flags;
--#define VIDEO_TUNER_PAL 1
--#define VIDEO_TUNER_NTSC 2
--#define VIDEO_TUNER_SECAM 4
--#define VIDEO_TUNER_LOW 8 /* Uses KHz not MHz */
--#define VIDEO_TUNER_NORM 16 /* Tuner can set norm */
--#define VIDEO_TUNER_STEREO_ON 128 /* Tuner is seeing stereo */
-- CARD16 mode; /* PAL/NTSC/SECAM/OTHER */
--#define VIDEO_MODE_PAL 0
--#define VIDEO_MODE_NTSC 1
--#define VIDEO_MODE_SECAM 2
--#define VIDEO_MODE_AUTO 3
-- CARD16 signal; /* Signal strength 16bit scale */
--};
--
--struct video_picture
--{
-- CARD16 brightness;
-- CARD16 hue;
-- CARD16 colour;
-- CARD16 contrast;
-- CARD16 whiteness; /* Black and white only */
-- CARD16 depth; /* Capture depth */
-- CARD16 palette; /* Palette in use */
--#define VIDEO_PALETTE_GREY 1 /* Linear greyscale */
--#define VIDEO_PALETTE_HI240 2 /* High 240 cube (BT848) */
--#define VIDEO_PALETTE_RGB565 3 /* 565 16 bit RGB */
--#define VIDEO_PALETTE_RGB24 4 /* 24bit RGB */
--#define VIDEO_PALETTE_RGB32 5 /* 32bit RGB */
--#define VIDEO_PALETTE_RGB555 6 /* 555 15bit RGB */
--#define VIDEO_PALETTE_YUV422 7 /* YUV422 capture */
--#define VIDEO_PALETTE_YUYV 8
--#define VIDEO_PALETTE_UYVY 9 /* The great thing about standards is ... */
--#define VIDEO_PALETTE_YUV420 10
--#define VIDEO_PALETTE_YUV411 11 /* YUV411 capture */
--#define VIDEO_PALETTE_RAW 12 /* RAW capture (BT848) */
--#define VIDEO_PALETTE_YUV422P 13 /* YUV 4:2:2 Planar */
--#define VIDEO_PALETTE_YUV411P 14 /* YUV 4:1:1 Planar */
--#define VIDEO_PALETTE_YUV420P 15 /* YUV 4:2:0 Planar */
--#define VIDEO_PALETTE_YUV410P 16 /* YUV 4:1:0 Planar */
--#define VIDEO_PALETTE_PLANAR 13 /* start of planar entries */
--#define VIDEO_PALETTE_COMPONENT 7 /* start of component entries */
--};
--
--struct video_audio
--{
-- int audio; /* Audio channel */
-- CARD16 volume; /* If settable */
-- CARD16 bass, treble;
-- CARD32 flags;
--#define VIDEO_AUDIO_MUTE 1
--#define VIDEO_AUDIO_MUTABLE 2
--#define VIDEO_AUDIO_VOLUME 4
--#define VIDEO_AUDIO_BASS 8
--#define VIDEO_AUDIO_TREBLE 16
-- char name[16];
--#define VIDEO_SOUND_MONO 1
--#define VIDEO_SOUND_STEREO 2
--#define VIDEO_SOUND_LANG1 4
--#define VIDEO_SOUND_LANG2 8
-- CARD16 mode;
-- CARD16 balance; /* Stereo balance */
-- CARD16 step; /* Step actual volume uses */
--};
--
--struct video_clip
--{
-- INT32 x,y;
-- INT32 width, height;
-- struct video_clip *next; /* For user use/driver use only */
--};
--
--struct video_window
--{
-- CARD32 x,y; /* Position of window */
-- CARD32 width,height; /* Its size */
-- CARD32 chromakey;
-- CARD32 flags;
-- struct video_clip *clips; /* Set only */
-- int clipcount;
--#define VIDEO_WINDOW_INTERLACE 1
--#define VIDEO_CLIP_BITMAP -1
--/* bitmap is 1024x625, a '1' bit represents a clipped pixel */
--#define VIDEO_CLIPMAP_SIZE (128 * 625)
--};
--
--struct video_capture
--{
-- CARD32 x,y; /* Offsets into image */
-- CARD32 width, height; /* Area to capture */
-- CARD16 decimation; /* Decimation divder */
-- CARD16 flags; /* Flags for capture */
--#define VIDEO_CAPTURE_ODD 0 /* Temporal */
--#define VIDEO_CAPTURE_EVEN 1
--};
--
--struct video_buffer
--{
-- void *base;
-- int height,width;
-- int depth;
-- int bytesperline;
--};
--
--struct video_mmap
--{
-- unsigned int frame; /* Frame (0 - n) for double buffer */
-- int height,width;
-- unsigned int format; /* should be VIDEO_PALETTE_* */
--};
--
--struct video_key
--{
-- CARD8 key[8];
-- CARD32 flags;
--};
--
--
--#define VIDEO_MAX_FRAME 32
--
--struct video_mbuf
--{
-- int size; /* Total memory to map */
-- int frames; /* Frames */
-- int offsets[VIDEO_MAX_FRAME];
--};
--
--
--#define VIDEO_NO_UNIT (-1)
--
--
--struct video_unit
--{
-- int video; /* Video minor */
-- int vbi; /* VBI minor */
-- int radio; /* Radio minor */
-- int audio; /* Audio minor */
-- int teletext; /* Teletext minor */
--};
--
--#define VIDIOCGCAP _IOR('v',1,struct video_capability) /* Get capabilities */
--#define VIDIOCGCHAN _IOWR('v',2,struct video_channel) /* Get channel info (sources) */
--#define VIDIOCSCHAN _IOW('v',3,struct video_channel) /* Set channel */
--#define VIDIOCGTUNER _IOWR('v',4,struct video_tuner) /* Get tuner abilities */
--#define VIDIOCSTUNER _IOW('v',5,struct video_tuner) /* Tune the tuner for the current channel */
--#define VIDIOCGPICT _IOR('v',6,struct video_picture) /* Get picture properties */
--#define VIDIOCSPICT _IOW('v',7,struct video_picture) /* Set picture properties */
--#define VIDIOCCAPTURE _IOW('v',8,int) /* Start, end capture */
--#define VIDIOCGWIN _IOR('v',9, struct video_window) /* Set the video overlay window */
--#define VIDIOCSWIN _IOW('v',10, struct video_window) /* Set the video overlay window - passes clip list for hardware smarts , chromakey etc */
--#define VIDIOCGFBUF _IOR('v',11, struct video_buffer) /* Get frame buffer */
--#define VIDIOCSFBUF _IOW('v',12, struct video_buffer) /* Set frame buffer - root only */
--#define VIDIOCKEY _IOR('v',13, struct video_key) /* Video key event - to dev 255 is to all - cuts capture on all DMA windows with this key (0xFFFFFFFF == all) */
--#define VIDIOCGFREQ _IOR('v',14, unsigned long) /* Set tuner */
--#define VIDIOCSFREQ _IOW('v',15, unsigned long) /* Set tuner */
--#define VIDIOCGAUDIO _IOR('v',16, struct video_audio) /* Get audio info */
--#define VIDIOCSAUDIO _IOW('v',17, struct video_audio) /* Audio source, mute etc */
--#define VIDIOCSYNC _IOW('v',18, int) /* Sync with mmap grabbing */
--#define VIDIOCMCAPTURE _IOW('v',19, struct video_mmap) /* Grab frames */
--#define VIDIOCGMBUF _IOR('v', 20, struct video_mbuf) /* Memory map buffer info */
--#define VIDIOCGUNIT _IOR('v', 21, struct video_unit) /* Get attached units */
--#define VIDIOCGCAPTURE _IOR('v',22, struct video_capture) /* Get frame buffer */
--#define VIDIOCSCAPTURE _IOW('v',23, struct video_capture) /* Set frame buffer - root only */
--
--#define BASE_VIDIOCPRIVATE 192 /* 192-255 are private */
--
--
--#define VID_HARDWARE_BT848 1
--#define VID_HARDWARE_QCAM_BW 2
--#define VID_HARDWARE_PMS 3
--#define VID_HARDWARE_QCAM_C 4
--#define VID_HARDWARE_PSEUDO 5
--#define VID_HARDWARE_SAA5249 6
--#define VID_HARDWARE_AZTECH 7
--#define VID_HARDWARE_SF16MI 8
--#define VID_HARDWARE_RTRACK 9
--#define VID_HARDWARE_ZOLTRIX 10
--#define VID_HARDWARE_SAA7146 11
--#define VID_HARDWARE_VIDEUM 12 /* Reserved for Winnov videum */
--#define VID_HARDWARE_RTRACK2 13
--#define VID_HARDWARE_PERMEDIA2 14 /* Reserved for Permedia2 */
--#define VID_HARDWARE_RIVA128 15 /* Reserved for RIVA 128 */
--#define VID_HARDWARE_PLANB 16 /* PowerMac motherboard video-in */
--#define VID_HARDWARE_BROADWAY 17 /* Broadway project */
--#define VID_HARDWARE_GEMTEK 18
--#define VID_HARDWARE_TYPHOON 19
--#define VID_HARDWARE_VINO 20 /* Reserved for SGI Indy Vino */
--
--/*
-- * Initialiser list
-- */
--
--struct video_init
--{
-- char *name;
-- int (*init)(struct video_init *);
--};
--
--#endif
-diff --git a/src/videodev2.h b/src/videodev2.h
-new file mode 100644
-index 0000000..bf6dde2
---- /dev/null
-+++ b/src/videodev2.h
-@@ -0,0 +1,1929 @@
-+/*
-+ * Video for Linux Two header file
-+ *
-+ * Copyright (C) 1999-2007 the contributors
-+ *
-+ * This program is free software; you can redistribute it and/or modify
-+ * it under the terms of the GNU General Public License as published by
-+ * the Free Software Foundation; either version 2 of the License, or
-+ * (at your option) any later version.
-+ *
-+ * This program is distributed in the hope that it will be useful,
-+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
-+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-+ * GNU General Public License for more details.
-+ *
-+ * Alternatively you can redistribute this file under the terms of the
-+ * BSD license as stated below:
-+ *
-+ * 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. The names of its contributors may not be used to endorse or promote
-+ * products derived from this software without specific prior written
-+ * permission.
-+ *
-+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS 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 COPYRIGHT
-+ * OWNER 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.
-+ *
-+ * Header file for v4l or V4L2 drivers and applications
-+ * with public API.
-+ * All kernel-specific stuff were moved to media/v4l2-dev.h, so
-+ * no #if __KERNEL tests are allowed here
-+ *
-+ * See http://linuxtv.org for more info
-+ *
-+ * Author: Bill Dirks <bill@thedirks.org>
-+ * Justin Schoeman
-+ * Hans Verkuil <hverkuil@xs4all.nl>
-+ * et al.
-+ */
-+#ifndef __LINUX_VIDEODEV2_H
-+#define __LINUX_VIDEODEV2_H
-+
-+#include <linux/ioctl.h>
-+#include <linux/types.h>
-+#include <sys/time.h>
-+
-+/*
-+ * Common stuff for both V4L1 and V4L2
-+ * Moved from videodev.h
-+ */
-+#define VIDEO_MAX_FRAME 32
-+#define VIDEO_MAX_PLANES 8
-+
-+/* These defines are V4L1 specific and should not be used with the V4L2 API!
-+ They will be removed from this header in the future. */
-+
-+#define VID_TYPE_CAPTURE 1 /* Can capture */
-+#define VID_TYPE_TUNER 2 /* Can tune */
-+#define VID_TYPE_TELETEXT 4 /* Does teletext */
-+#define VID_TYPE_OVERLAY 8 /* Overlay onto frame buffer */
-+#define VID_TYPE_CHROMAKEY 16 /* Overlay by chromakey */
-+#define VID_TYPE_CLIPPING 32 /* Can clip */
-+#define VID_TYPE_FRAMERAM 64 /* Uses the frame buffer memory */
-+#define VID_TYPE_SCALES 128 /* Scalable */
-+#define VID_TYPE_MONOCHROME 256 /* Monochrome only */
-+#define VID_TYPE_SUBCAPTURE 512 /* Can capture subareas of the image */
-+#define VID_TYPE_MPEG_DECODER 1024 /* Can decode MPEG streams */
-+#define VID_TYPE_MPEG_ENCODER 2048 /* Can encode MPEG streams */
-+#define VID_TYPE_MJPEG_DECODER 4096 /* Can decode MJPEG streams */
-+#define VID_TYPE_MJPEG_ENCODER 8192 /* Can encode MJPEG streams */
-+
-+/*
-+ * M I S C E L L A N E O U S
-+ */
-+
-+/* Four-character-code (FOURCC) */
-+#define v4l2_fourcc(a, b, c, d)\
-+ ((__u32)(a) | ((__u32)(b) << 8) | ((__u32)(c) << 16) | ((__u32)(d) << 24))
-+
-+/*
-+ * E N U M S
-+ */
-+enum v4l2_field {
-+ V4L2_FIELD_ANY = 0, /* driver can choose from none,
-+ top, bottom, interlaced
-+ depending on whatever it thinks
-+ is approximate ... */
-+ V4L2_FIELD_NONE = 1, /* this device has no fields ... */
-+ V4L2_FIELD_TOP = 2, /* top field only */
-+ V4L2_FIELD_BOTTOM = 3, /* bottom field only */
-+ V4L2_FIELD_INTERLACED = 4, /* both fields interlaced */
-+ V4L2_FIELD_SEQ_TB = 5, /* both fields sequential into one
-+ buffer, top-bottom order */
-+ V4L2_FIELD_SEQ_BT = 6, /* same as above + bottom-top order */
-+ V4L2_FIELD_ALTERNATE = 7, /* both fields alternating into
-+ separate buffers */
-+ V4L2_FIELD_INTERLACED_TB = 8, /* both fields interlaced, top field
-+ first and the top field is
-+ transmitted first */
-+ V4L2_FIELD_INTERLACED_BT = 9, /* both fields interlaced, top field
-+ first and the bottom field is
-+ transmitted first */
-+};
-+#define V4L2_FIELD_HAS_TOP(field) \
-+ ((field) == V4L2_FIELD_TOP ||\
-+ (field) == V4L2_FIELD_INTERLACED ||\
-+ (field) == V4L2_FIELD_INTERLACED_TB ||\
-+ (field) == V4L2_FIELD_INTERLACED_BT ||\
-+ (field) == V4L2_FIELD_SEQ_TB ||\
-+ (field) == V4L2_FIELD_SEQ_BT)
-+#define V4L2_FIELD_HAS_BOTTOM(field) \
-+ ((field) == V4L2_FIELD_BOTTOM ||\
-+ (field) == V4L2_FIELD_INTERLACED ||\
-+ (field) == V4L2_FIELD_INTERLACED_TB ||\
-+ (field) == V4L2_FIELD_INTERLACED_BT ||\
-+ (field) == V4L2_FIELD_SEQ_TB ||\
-+ (field) == V4L2_FIELD_SEQ_BT)
-+#define V4L2_FIELD_HAS_BOTH(field) \
-+ ((field) == V4L2_FIELD_INTERLACED ||\
-+ (field) == V4L2_FIELD_INTERLACED_TB ||\
-+ (field) == V4L2_FIELD_INTERLACED_BT ||\
-+ (field) == V4L2_FIELD_SEQ_TB ||\
-+ (field) == V4L2_FIELD_SEQ_BT)
-+
-+enum v4l2_buf_type {
-+ V4L2_BUF_TYPE_VIDEO_CAPTURE = 1,
-+ V4L2_BUF_TYPE_VIDEO_OUTPUT = 2,
-+ V4L2_BUF_TYPE_VIDEO_OVERLAY = 3,
-+ V4L2_BUF_TYPE_VBI_CAPTURE = 4,
-+ V4L2_BUF_TYPE_VBI_OUTPUT = 5,
-+ V4L2_BUF_TYPE_SLICED_VBI_CAPTURE = 6,
-+ V4L2_BUF_TYPE_SLICED_VBI_OUTPUT = 7,
-+#if 1
-+ /* Experimental */
-+ V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY = 8,
-+#endif
-+ V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE = 9,
-+ V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE = 10,
-+ V4L2_BUF_TYPE_PRIVATE = 0x80,
-+};
-+
-+#define V4L2_TYPE_IS_MULTIPLANAR(type) \
-+ ((type) == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE \
-+ || (type) == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE)
-+
-+#define V4L2_TYPE_IS_OUTPUT(type) \
-+ ((type) == V4L2_BUF_TYPE_VIDEO_OUTPUT \
-+ || (type) == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE \
-+ || (type) == V4L2_BUF_TYPE_VIDEO_OVERLAY \
-+ || (type) == V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY \
-+ || (type) == V4L2_BUF_TYPE_VBI_OUTPUT \
-+ || (type) == V4L2_BUF_TYPE_SLICED_VBI_OUTPUT)
-+
-+enum v4l2_tuner_type {
-+ V4L2_TUNER_RADIO = 1,
-+ V4L2_TUNER_ANALOG_TV = 2,
-+ V4L2_TUNER_DIGITAL_TV = 3,
-+};
-+
-+enum v4l2_memory {
-+ V4L2_MEMORY_MMAP = 1,
-+ V4L2_MEMORY_USERPTR = 2,
-+ V4L2_MEMORY_OVERLAY = 3,
-+};
-+
-+/* see also http://vektor.theorem.ca/graphics/ycbcr/ */
-+enum v4l2_colorspace {
-+ /* ITU-R 601 -- broadcast NTSC/PAL */
-+ V4L2_COLORSPACE_SMPTE170M = 1,
-+
-+ /* 1125-Line (US) HDTV */
-+ V4L2_COLORSPACE_SMPTE240M = 2,
-+
-+ /* HD and modern captures. */
-+ V4L2_COLORSPACE_REC709 = 3,
-+
-+ /* broken BT878 extents (601, luma range 16-253 instead of 16-235) */
-+ V4L2_COLORSPACE_BT878 = 4,
-+
-+ /* These should be useful. Assume 601 extents. */
-+ V4L2_COLORSPACE_470_SYSTEM_M = 5,
-+ V4L2_COLORSPACE_470_SYSTEM_BG = 6,
-+
-+ /* I know there will be cameras that send this. So, this is
-+ * unspecified chromaticities and full 0-255 on each of the
-+ * Y'CbCr components
-+ */
-+ V4L2_COLORSPACE_JPEG = 7,
-+
-+ /* For RGB colourspaces, this is probably a good start. */
-+ V4L2_COLORSPACE_SRGB = 8,
-+};
-+
-+enum v4l2_priority {
-+ V4L2_PRIORITY_UNSET = 0, /* not initialized */
-+ V4L2_PRIORITY_BACKGROUND = 1,
-+ V4L2_PRIORITY_INTERACTIVE = 2,
-+ V4L2_PRIORITY_RECORD = 3,
-+ V4L2_PRIORITY_DEFAULT = V4L2_PRIORITY_INTERACTIVE,
-+};
-+
-+struct v4l2_rect {
-+ __s32 left;
-+ __s32 top;
-+ __s32 width;
-+ __s32 height;
-+};
-+
-+struct v4l2_fract {
-+ __u32 numerator;
-+ __u32 denominator;
-+};
-+
-+/*
-+ * D R I V E R C A P A B I L I T I E S
-+ */
-+struct v4l2_capability {
-+ __u8 driver[16]; /* i.e. "bttv" */
-+ __u8 card[32]; /* i.e. "Hauppauge WinTV" */
-+ __u8 bus_info[32]; /* "PCI:" + pci_name(pci_dev) */
-+ __u32 version; /* should use KERNEL_VERSION() */
-+ __u32 capabilities; /* Device capabilities */
-+ __u32 reserved[4];
-+};
-+
-+/* Values for 'capabilities' field */
-+#define V4L2_CAP_VIDEO_CAPTURE 0x00000001 /* Is a video capture device */
-+#define V4L2_CAP_VIDEO_OUTPUT 0x00000002 /* Is a video output device */
-+#define V4L2_CAP_VIDEO_OVERLAY 0x00000004 /* Can do video overlay */
-+#define V4L2_CAP_VBI_CAPTURE 0x00000010 /* Is a raw VBI capture device */
-+#define V4L2_CAP_VBI_OUTPUT 0x00000020 /* Is a raw VBI output device */
-+#define V4L2_CAP_SLICED_VBI_CAPTURE 0x00000040 /* Is a sliced VBI capture device */
-+#define V4L2_CAP_SLICED_VBI_OUTPUT 0x00000080 /* Is a sliced VBI output device */
-+#define V4L2_CAP_RDS_CAPTURE 0x00000100 /* RDS data capture */
-+#define V4L2_CAP_VIDEO_OUTPUT_OVERLAY 0x00000200 /* Can do video output overlay */
-+#define V4L2_CAP_HW_FREQ_SEEK 0x00000400 /* Can do hardware frequency seek */
-+#define V4L2_CAP_RDS_OUTPUT 0x00000800 /* Is an RDS encoder */
-+
-+/* Is a video capture device that supports multiplanar formats */
-+#define V4L2_CAP_VIDEO_CAPTURE_MPLANE 0x00001000
-+/* Is a video output device that supports multiplanar formats */
-+#define V4L2_CAP_VIDEO_OUTPUT_MPLANE 0x00002000
-+
-+#define V4L2_CAP_TUNER 0x00010000 /* has a tuner */
-+#define V4L2_CAP_AUDIO 0x00020000 /* has audio support */
-+#define V4L2_CAP_RADIO 0x00040000 /* is a radio device */
-+#define V4L2_CAP_MODULATOR 0x00080000 /* has a modulator */
-+
-+#define V4L2_CAP_READWRITE 0x01000000 /* read/write systemcalls */
-+#define V4L2_CAP_ASYNCIO 0x02000000 /* async I/O */
-+#define V4L2_CAP_STREAMING 0x04000000 /* streaming I/O ioctls */
-+
-+/*
-+ * V I D E O I M A G E F O R M A T
-+ */
-+struct v4l2_pix_format {
-+ __u32 width;
-+ __u32 height;
-+ __u32 pixelformat;
-+ enum v4l2_field field;
-+ __u32 bytesperline; /* for padding, zero if unused */
-+ __u32 sizeimage;
-+ enum v4l2_colorspace colorspace;
-+ __u32 priv; /* private data, depends on pixelformat */
-+};
-+
-+/* Pixel format FOURCC depth Description */
-+
-+/* RGB formats */
-+#define V4L2_PIX_FMT_RGB332 v4l2_fourcc('R', 'G', 'B', '1') /* 8 RGB-3-3-2 */
-+#define V4L2_PIX_FMT_RGB444 v4l2_fourcc('R', '4', '4', '4') /* 16 xxxxrrrr ggggbbbb */
-+#define V4L2_PIX_FMT_RGB555 v4l2_fourcc('R', 'G', 'B', 'O') /* 16 RGB-5-5-5 */
-+#define V4L2_PIX_FMT_RGB565 v4l2_fourcc('R', 'G', 'B', 'P') /* 16 RGB-5-6-5 */
-+#define V4L2_PIX_FMT_RGB555X v4l2_fourcc('R', 'G', 'B', 'Q') /* 16 RGB-5-5-5 BE */
-+#define V4L2_PIX_FMT_RGB565X v4l2_fourcc('R', 'G', 'B', 'R') /* 16 RGB-5-6-5 BE */
-+#define V4L2_PIX_FMT_BGR666 v4l2_fourcc('B', 'G', 'R', 'H') /* 18 BGR-6-6-6 */
-+#define V4L2_PIX_FMT_BGR24 v4l2_fourcc('B', 'G', 'R', '3') /* 24 BGR-8-8-8 */
-+#define V4L2_PIX_FMT_RGB24 v4l2_fourcc('R', 'G', 'B', '3') /* 24 RGB-8-8-8 */
-+#define V4L2_PIX_FMT_BGR32 v4l2_fourcc('B', 'G', 'R', '4') /* 32 BGR-8-8-8-8 */
-+#define V4L2_PIX_FMT_RGB32 v4l2_fourcc('R', 'G', 'B', '4') /* 32 RGB-8-8-8-8 */
-+
-+/* Grey formats */
-+#define V4L2_PIX_FMT_GREY v4l2_fourcc('G', 'R', 'E', 'Y') /* 8 Greyscale */
-+#define V4L2_PIX_FMT_Y4 v4l2_fourcc('Y', '0', '4', ' ') /* 4 Greyscale */
-+#define V4L2_PIX_FMT_Y6 v4l2_fourcc('Y', '0', '6', ' ') /* 6 Greyscale */
-+#define V4L2_PIX_FMT_Y10 v4l2_fourcc('Y', '1', '0', ' ') /* 10 Greyscale */
-+#define V4L2_PIX_FMT_Y16 v4l2_fourcc('Y', '1', '6', ' ') /* 16 Greyscale */
-+
-+/* Palette formats */
-+#define V4L2_PIX_FMT_PAL8 v4l2_fourcc('P', 'A', 'L', '8') /* 8 8-bit palette */
-+
-+/* Luminance+Chrominance formats */
-+#define V4L2_PIX_FMT_YVU410 v4l2_fourcc('Y', 'V', 'U', '9') /* 9 YVU 4:1:0 */
-+#define V4L2_PIX_FMT_YVU420 v4l2_fourcc('Y', 'V', '1', '2') /* 12 YVU 4:2:0 */
-+#define V4L2_PIX_FMT_YUYV v4l2_fourcc('Y', 'U', 'Y', 'V') /* 16 YUV 4:2:2 */
-+#define V4L2_PIX_FMT_YYUV v4l2_fourcc('Y', 'Y', 'U', 'V') /* 16 YUV 4:2:2 */
-+#define V4L2_PIX_FMT_YVYU v4l2_fourcc('Y', 'V', 'Y', 'U') /* 16 YVU 4:2:2 */
-+#define V4L2_PIX_FMT_UYVY v4l2_fourcc('U', 'Y', 'V', 'Y') /* 16 YUV 4:2:2 */
-+#define V4L2_PIX_FMT_VYUY v4l2_fourcc('V', 'Y', 'U', 'Y') /* 16 YUV 4:2:2 */
-+#define V4L2_PIX_FMT_YUV422P v4l2_fourcc('4', '2', '2', 'P') /* 16 YVU422 planar */
-+#define V4L2_PIX_FMT_YUV411P v4l2_fourcc('4', '1', '1', 'P') /* 16 YVU411 planar */
-+#define V4L2_PIX_FMT_Y41P v4l2_fourcc('Y', '4', '1', 'P') /* 12 YUV 4:1:1 */
-+#define V4L2_PIX_FMT_YUV444 v4l2_fourcc('Y', '4', '4', '4') /* 16 xxxxyyyy uuuuvvvv */
-+#define V4L2_PIX_FMT_YUV555 v4l2_fourcc('Y', 'U', 'V', 'O') /* 16 YUV-5-5-5 */
-+#define V4L2_PIX_FMT_YUV565 v4l2_fourcc('Y', 'U', 'V', 'P') /* 16 YUV-5-6-5 */
-+#define V4L2_PIX_FMT_YUV32 v4l2_fourcc('Y', 'U', 'V', '4') /* 32 YUV-8-8-8-8 */
-+#define V4L2_PIX_FMT_YUV410 v4l2_fourcc('Y', 'U', 'V', '9') /* 9 YUV 4:1:0 */
-+#define V4L2_PIX_FMT_YUV420 v4l2_fourcc('Y', 'U', '1', '2') /* 12 YUV 4:2:0 */
-+#define V4L2_PIX_FMT_HI240 v4l2_fourcc('H', 'I', '2', '4') /* 8 8-bit color */
-+#define V4L2_PIX_FMT_HM12 v4l2_fourcc('H', 'M', '1', '2') /* 8 YUV 4:2:0 16x16 macroblocks */
-+
-+/* two planes -- one Y, one Cr + Cb interleaved */
-+#define V4L2_PIX_FMT_NV12 v4l2_fourcc('N', 'V', '1', '2') /* 12 Y/CbCr 4:2:0 */
-+#define V4L2_PIX_FMT_NV21 v4l2_fourcc('N', 'V', '2', '1') /* 12 Y/CrCb 4:2:0 */
-+#define V4L2_PIX_FMT_NV16 v4l2_fourcc('N', 'V', '1', '6') /* 16 Y/CbCr 4:2:2 */
-+#define V4L2_PIX_FMT_NV61 v4l2_fourcc('N', 'V', '6', '1') /* 16 Y/CrCb 4:2:2 */
-+
-+/* two non contiguous planes - one Y, one Cr + Cb interleaved */
-+#define V4L2_PIX_FMT_NV12M v4l2_fourcc('N', 'M', '1', '2') /* 12 Y/CbCr 4:2:0 */
-+#define V4L2_PIX_FMT_NV12MT v4l2_fourcc('T', 'M', '1', '2') /* 12 Y/CbCr 4:2:0 64x32 macroblocks */
-+
-+/* three non contiguous planes - Y, Cb, Cr */
-+#define V4L2_PIX_FMT_YUV420M v4l2_fourcc('Y', 'M', '1', '2') /* 12 YUV420 planar */
-+
-+/* Bayer formats - see http://www.siliconimaging.com/RGB%20Bayer.htm */
-+#define V4L2_PIX_FMT_SBGGR8 v4l2_fourcc('B', 'A', '8', '1') /* 8 BGBG.. GRGR.. */
-+#define V4L2_PIX_FMT_SGBRG8 v4l2_fourcc('G', 'B', 'R', 'G') /* 8 GBGB.. RGRG.. */
-+#define V4L2_PIX_FMT_SGRBG8 v4l2_fourcc('G', 'R', 'B', 'G') /* 8 GRGR.. BGBG.. */
-+#define V4L2_PIX_FMT_SRGGB8 v4l2_fourcc('R', 'G', 'G', 'B') /* 8 RGRG.. GBGB.. */
-+#define V4L2_PIX_FMT_SBGGR10 v4l2_fourcc('B', 'G', '1', '0') /* 10 BGBG.. GRGR.. */
-+#define V4L2_PIX_FMT_SGBRG10 v4l2_fourcc('G', 'B', '1', '0') /* 10 GBGB.. RGRG.. */
-+#define V4L2_PIX_FMT_SGRBG10 v4l2_fourcc('B', 'A', '1', '0') /* 10 GRGR.. BGBG.. */
-+#define V4L2_PIX_FMT_SRGGB10 v4l2_fourcc('R', 'G', '1', '0') /* 10 RGRG.. GBGB.. */
-+ /* 10bit raw bayer DPCM compressed to 8 bits */
-+#define V4L2_PIX_FMT_SGRBG10DPCM8 v4l2_fourcc('B', 'D', '1', '0')
-+ /*
-+ * 10bit raw bayer, expanded to 16 bits
-+ * xxxxrrrrrrrrrrxxxxgggggggggg xxxxggggggggggxxxxbbbbbbbbbb...
-+ */
-+#define V4L2_PIX_FMT_SBGGR16 v4l2_fourcc('B', 'Y', 'R', '2') /* 16 BGBG.. GRGR.. */
-+
-+/* compressed formats */
-+#define V4L2_PIX_FMT_MJPEG v4l2_fourcc('M', 'J', 'P', 'G') /* Motion-JPEG */
-+#define V4L2_PIX_FMT_JPEG v4l2_fourcc('J', 'P', 'E', 'G') /* JFIF JPEG */
-+#define V4L2_PIX_FMT_DV v4l2_fourcc('d', 'v', 's', 'd') /* 1394 */
-+#define V4L2_PIX_FMT_MPEG v4l2_fourcc('M', 'P', 'E', 'G') /* MPEG-1/2/4 */
-+
-+/* Vendor-specific formats */
-+#define V4L2_PIX_FMT_CPIA1 v4l2_fourcc('C', 'P', 'I', 'A') /* cpia1 YUV */
-+#define V4L2_PIX_FMT_WNVA v4l2_fourcc('W', 'N', 'V', 'A') /* Winnov hw compress */
-+#define V4L2_PIX_FMT_SN9C10X v4l2_fourcc('S', '9', '1', '0') /* SN9C10x compression */
-+#define V4L2_PIX_FMT_SN9C20X_I420 v4l2_fourcc('S', '9', '2', '0') /* SN9C20x YUV 4:2:0 */
-+#define V4L2_PIX_FMT_PWC1 v4l2_fourcc('P', 'W', 'C', '1') /* pwc older webcam */
-+#define V4L2_PIX_FMT_PWC2 v4l2_fourcc('P', 'W', 'C', '2') /* pwc newer webcam */
-+#define V4L2_PIX_FMT_ET61X251 v4l2_fourcc('E', '6', '2', '5') /* ET61X251 compression */
-+#define V4L2_PIX_FMT_SPCA501 v4l2_fourcc('S', '5', '0', '1') /* YUYV per line */
-+#define V4L2_PIX_FMT_SPCA505 v4l2_fourcc('S', '5', '0', '5') /* YYUV per line */
-+#define V4L2_PIX_FMT_SPCA508 v4l2_fourcc('S', '5', '0', '8') /* YUVY per line */
-+#define V4L2_PIX_FMT_SPCA561 v4l2_fourcc('S', '5', '6', '1') /* compressed GBRG bayer */
-+#define V4L2_PIX_FMT_PAC207 v4l2_fourcc('P', '2', '0', '7') /* compressed BGGR bayer */
-+#define V4L2_PIX_FMT_MR97310A v4l2_fourcc('M', '3', '1', '0') /* compressed BGGR bayer */
-+#define V4L2_PIX_FMT_SN9C2028 v4l2_fourcc('S', 'O', 'N', 'X') /* compressed GBRG bayer */
-+#define V4L2_PIX_FMT_SQ905C v4l2_fourcc('9', '0', '5', 'C') /* compressed RGGB bayer */
-+#define V4L2_PIX_FMT_PJPG v4l2_fourcc('P', 'J', 'P', 'G') /* Pixart 73xx JPEG */
-+#define V4L2_PIX_FMT_OV511 v4l2_fourcc('O', '5', '1', '1') /* ov511 JPEG */
-+#define V4L2_PIX_FMT_OV518 v4l2_fourcc('O', '5', '1', '8') /* ov518 JPEG */
-+#define V4L2_PIX_FMT_STV0680 v4l2_fourcc('S', '6', '8', '0') /* stv0680 bayer */
-+#define V4L2_PIX_FMT_TM6000 v4l2_fourcc('T', 'M', '6', '0') /* tm5600/tm60x0 */
-+#define V4L2_PIX_FMT_CIT_YYVYUY v4l2_fourcc('C', 'I', 'T', 'V') /* one line of Y then 1 line of VYUY */
-+#define V4L2_PIX_FMT_KONICA420 v4l2_fourcc('K', 'O', 'N', 'I') /* YUV420 planar in blocks of 256 pixels */
-+
-+/*
-+ * F O R M A T E N U M E R A T I O N
-+ */
-+struct v4l2_fmtdesc {
-+ __u32 index; /* Format number */
-+ enum v4l2_buf_type type; /* buffer type */
-+ __u32 flags;
-+ __u8 description[32]; /* Description string */
-+ __u32 pixelformat; /* Format fourcc */
-+ __u32 reserved[4];
-+};
-+
-+#define V4L2_FMT_FLAG_COMPRESSED 0x0001
-+#define V4L2_FMT_FLAG_EMULATED 0x0002
-+
-+#if 1
-+ /* Experimental Frame Size and frame rate enumeration */
-+/*
-+ * F R A M E S I Z E E N U M E R A T I O N
-+ */
-+enum v4l2_frmsizetypes {
-+ V4L2_FRMSIZE_TYPE_DISCRETE = 1,
-+ V4L2_FRMSIZE_TYPE_CONTINUOUS = 2,
-+ V4L2_FRMSIZE_TYPE_STEPWISE = 3,
-+};
-+
-+struct v4l2_frmsize_discrete {
-+ __u32 width; /* Frame width [pixel] */
-+ __u32 height; /* Frame height [pixel] */
-+};
-+
-+struct v4l2_frmsize_stepwise {
-+ __u32 min_width; /* Minimum frame width [pixel] */
-+ __u32 max_width; /* Maximum frame width [pixel] */
-+ __u32 step_width; /* Frame width step size [pixel] */
-+ __u32 min_height; /* Minimum frame height [pixel] */
-+ __u32 max_height; /* Maximum frame height [pixel] */
-+ __u32 step_height; /* Frame height step size [pixel] */
-+};
-+
-+struct v4l2_frmsizeenum {
-+ __u32 index; /* Frame size number */
-+ __u32 pixel_format; /* Pixel format */
-+ __u32 type; /* Frame size type the device supports. */
-+
-+ union { /* Frame size */
-+ struct v4l2_frmsize_discrete discrete;
-+ struct v4l2_frmsize_stepwise stepwise;
-+ };
-+
-+ __u32 reserved[2]; /* Reserved space for future use */
-+};
-+
-+/*
-+ * F R A M E R A T E E N U M E R A T I O N
-+ */
-+enum v4l2_frmivaltypes {
-+ V4L2_FRMIVAL_TYPE_DISCRETE = 1,
-+ V4L2_FRMIVAL_TYPE_CONTINUOUS = 2,
-+ V4L2_FRMIVAL_TYPE_STEPWISE = 3,
-+};
-+
-+struct v4l2_frmival_stepwise {
-+ struct v4l2_fract min; /* Minimum frame interval [s] */
-+ struct v4l2_fract max; /* Maximum frame interval [s] */
-+ struct v4l2_fract step; /* Frame interval step size [s] */
-+};
-+
-+struct v4l2_frmivalenum {
-+ __u32 index; /* Frame format index */
-+ __u32 pixel_format; /* Pixel format */
-+ __u32 width; /* Frame width */
-+ __u32 height; /* Frame height */
-+ __u32 type; /* Frame interval type the device supports. */
-+
-+ union { /* Frame interval */
-+ struct v4l2_fract discrete;
-+ struct v4l2_frmival_stepwise stepwise;
-+ };
-+
-+ __u32 reserved[2]; /* Reserved space for future use */
-+};
-+#endif
-+
-+/*
-+ * T I M E C O D E
-+ */
-+struct v4l2_timecode {
-+ __u32 type;
-+ __u32 flags;
-+ __u8 frames;
-+ __u8 seconds;
-+ __u8 minutes;
-+ __u8 hours;
-+ __u8 userbits[4];
-+};
-+
-+/* Type */
-+#define V4L2_TC_TYPE_24FPS 1
-+#define V4L2_TC_TYPE_25FPS 2
-+#define V4L2_TC_TYPE_30FPS 3
-+#define V4L2_TC_TYPE_50FPS 4
-+#define V4L2_TC_TYPE_60FPS 5
-+
-+/* Flags */
-+#define V4L2_TC_FLAG_DROPFRAME 0x0001 /* "drop-frame" mode */
-+#define V4L2_TC_FLAG_COLORFRAME 0x0002
-+#define V4L2_TC_USERBITS_field 0x000C
-+#define V4L2_TC_USERBITS_USERDEFINED 0x0000
-+#define V4L2_TC_USERBITS_8BITCHARS 0x0008
-+/* The above is based on SMPTE timecodes */
-+
-+struct v4l2_jpegcompression {
-+ int quality;
-+
-+ int APPn; /* Number of APP segment to be written,
-+ * must be 0..15 */
-+ int APP_len; /* Length of data in JPEG APPn segment */
-+ char APP_data[60]; /* Data in the JPEG APPn segment. */
-+
-+ int COM_len; /* Length of data in JPEG COM segment */
-+ char COM_data[60]; /* Data in JPEG COM segment */
-+
-+ __u32 jpeg_markers; /* Which markers should go into the JPEG
-+ * output. Unless you exactly know what
-+ * you do, leave them untouched.
-+ * Inluding less markers will make the
-+ * resulting code smaller, but there will
-+ * be fewer applications which can read it.
-+ * The presence of the APP and COM marker
-+ * is influenced by APP_len and COM_len
-+ * ONLY, not by this property! */
-+
-+#define V4L2_JPEG_MARKER_DHT (1<<3) /* Define Huffman Tables */
-+#define V4L2_JPEG_MARKER_DQT (1<<4) /* Define Quantization Tables */
-+#define V4L2_JPEG_MARKER_DRI (1<<5) /* Define Restart Interval */
-+#define V4L2_JPEG_MARKER_COM (1<<6) /* Comment segment */
-+#define V4L2_JPEG_MARKER_APP (1<<7) /* App segment, driver will
-+ * allways use APP0 */
-+};
-+
-+/*
-+ * M E M O R Y - M A P P I N G B U F F E R S
-+ */
-+struct v4l2_requestbuffers {
-+ __u32 count;
-+ enum v4l2_buf_type type;
-+ enum v4l2_memory memory;
-+ __u32 reserved[2];
-+};
-+
-+/**
-+ * struct v4l2_plane - plane info for multi-planar buffers
-+ * @bytesused: number of bytes occupied by data in the plane (payload)
-+ * @length: size of this plane (NOT the payload) in bytes
-+ * @mem_offset: when memory in the associated struct v4l2_buffer is
-+ * V4L2_MEMORY_MMAP, equals the offset from the start of
-+ * the device memory for this plane (or is a "cookie" that
-+ * should be passed to mmap() called on the video node)
-+ * @userptr: when memory is V4L2_MEMORY_USERPTR, a userspace pointer
-+ * pointing to this plane
-+ * @data_offset: offset in the plane to the start of data; usually 0,
-+ * unless there is a header in front of the data
-+ *
-+ * Multi-planar buffers consist of one or more planes, e.g. an YCbCr buffer
-+ * with two planes can have one plane for Y, and another for interleaved CbCr
-+ * components. Each plane can reside in a separate memory buffer, or even in
-+ * a completely separate memory node (e.g. in embedded devices).
-+ */
-+struct v4l2_plane {
-+ __u32 bytesused;
-+ __u32 length;
-+ union {
-+ __u32 mem_offset;
-+ unsigned long userptr;
-+ } m;
-+ __u32 data_offset;
-+ __u32 reserved[11];
-+};
-+
-+/**
-+ * struct v4l2_buffer - video buffer info
-+ * @index: id number of the buffer
-+ * @type: buffer type (type == *_MPLANE for multiplanar buffers)
-+ * @bytesused: number of bytes occupied by data in the buffer (payload);
-+ * unused (set to 0) for multiplanar buffers
-+ * @flags: buffer informational flags
-+ * @field: field order of the image in the buffer
-+ * @timestamp: frame timestamp
-+ * @timecode: frame timecode
-+ * @sequence: sequence count of this frame
-+ * @memory: the method, in which the actual video data is passed
-+ * @offset: for non-multiplanar buffers with memory == V4L2_MEMORY_MMAP;
-+ * offset from the start of the device memory for this plane,
-+ * (or a "cookie" that should be passed to mmap() as offset)
-+ * @userptr: for non-multiplanar buffers with memory == V4L2_MEMORY_USERPTR;
-+ * a userspace pointer pointing to this buffer
-+ * @planes: for multiplanar buffers; userspace pointer to the array of plane
-+ * info structs for this buffer
-+ * @length: size in bytes of the buffer (NOT its payload) for single-plane
-+ * buffers (when type != *_MPLANE); number of elements in the
-+ * planes array for multi-plane buffers
-+ * @input: input number from which the video data has has been captured
-+ *
-+ * Contains data exchanged by application and driver using one of the Streaming
-+ * I/O methods.
-+ */
-+struct v4l2_buffer {
-+ __u32 index;
-+ enum v4l2_buf_type type;
-+ __u32 bytesused;
-+ __u32 flags;
-+ enum v4l2_field field;
-+ struct timeval timestamp;
-+ struct v4l2_timecode timecode;
-+ __u32 sequence;
-+
-+ /* memory location */
-+ enum v4l2_memory memory;
-+ union {
-+ __u32 offset;
-+ unsigned long userptr;
-+ struct v4l2_plane *planes;
-+ } m;
-+ __u32 length;
-+ __u32 input;
-+ __u32 reserved;
-+};
-+
-+/* Flags for 'flags' field */
-+#define V4L2_BUF_FLAG_MAPPED 0x0001 /* Buffer is mapped (flag) */
-+#define V4L2_BUF_FLAG_QUEUED 0x0002 /* Buffer is queued for processing */
-+#define V4L2_BUF_FLAG_DONE 0x0004 /* Buffer is ready */
-+#define V4L2_BUF_FLAG_KEYFRAME 0x0008 /* Image is a keyframe (I-frame) */
-+#define V4L2_BUF_FLAG_PFRAME 0x0010 /* Image is a P-frame */
-+#define V4L2_BUF_FLAG_BFRAME 0x0020 /* Image is a B-frame */
-+/* Buffer is ready, but the data contained within is corrupted. */
-+#define V4L2_BUF_FLAG_ERROR 0x0040
-+#define V4L2_BUF_FLAG_TIMECODE 0x0100 /* timecode field is valid */
-+#define V4L2_BUF_FLAG_INPUT 0x0200 /* input field is valid */
-+
-+/*
-+ * O V E R L A Y P R E V I E W
-+ */
-+struct v4l2_framebuffer {
-+ __u32 capability;
-+ __u32 flags;
-+/* FIXME: in theory we should pass something like PCI device + memory
-+ * region + offset instead of some physical address */
-+ void *base;
-+ struct v4l2_pix_format fmt;
-+};
-+/* Flags for the 'capability' field. Read only */
-+#define V4L2_FBUF_CAP_EXTERNOVERLAY 0x0001
-+#define V4L2_FBUF_CAP_CHROMAKEY 0x0002
-+#define V4L2_FBUF_CAP_LIST_CLIPPING 0x0004
-+#define V4L2_FBUF_CAP_BITMAP_CLIPPING 0x0008
-+#define V4L2_FBUF_CAP_LOCAL_ALPHA 0x0010
-+#define V4L2_FBUF_CAP_GLOBAL_ALPHA 0x0020
-+#define V4L2_FBUF_CAP_LOCAL_INV_ALPHA 0x0040
-+#define V4L2_FBUF_CAP_SRC_CHROMAKEY 0x0080
-+/* Flags for the 'flags' field. */
-+#define V4L2_FBUF_FLAG_PRIMARY 0x0001
-+#define V4L2_FBUF_FLAG_OVERLAY 0x0002
-+#define V4L2_FBUF_FLAG_CHROMAKEY 0x0004
-+#define V4L2_FBUF_FLAG_LOCAL_ALPHA 0x0008
-+#define V4L2_FBUF_FLAG_GLOBAL_ALPHA 0x0010
-+#define V4L2_FBUF_FLAG_LOCAL_INV_ALPHA 0x0020
-+#define V4L2_FBUF_FLAG_SRC_CHROMAKEY 0x0040
-+
-+struct v4l2_clip {
-+ struct v4l2_rect c;
-+ struct v4l2_clip *next;
-+};
-+
-+struct v4l2_window {
-+ struct v4l2_rect w;
-+ enum v4l2_field field;
-+ __u32 chromakey;
-+ struct v4l2_clip *clips;
-+ __u32 clipcount;
-+ void *bitmap;
-+ __u8 global_alpha;
-+};
-+
-+/*
-+ * C A P T U R E P A R A M E T E R S
-+ */
-+struct v4l2_captureparm {
-+ __u32 capability; /* Supported modes */
-+ __u32 capturemode; /* Current mode */
-+ struct v4l2_fract timeperframe; /* Time per frame in .1us units */
-+ __u32 extendedmode; /* Driver-specific extensions */
-+ __u32 readbuffers; /* # of buffers for read */
-+ __u32 reserved[4];
-+};
-+
-+/* Flags for 'capability' and 'capturemode' fields */
-+#define V4L2_MODE_HIGHQUALITY 0x0001 /* High quality imaging mode */
-+#define V4L2_CAP_TIMEPERFRAME 0x1000 /* timeperframe field is supported */
-+
-+struct v4l2_outputparm {
-+ __u32 capability; /* Supported modes */
-+ __u32 outputmode; /* Current mode */
-+ struct v4l2_fract timeperframe; /* Time per frame in seconds */
-+ __u32 extendedmode; /* Driver-specific extensions */
-+ __u32 writebuffers; /* # of buffers for write */
-+ __u32 reserved[4];
-+};
-+
-+/*
-+ * I N P U T I M A G E C R O P P I N G
-+ */
-+struct v4l2_cropcap {
-+ enum v4l2_buf_type type;
-+ struct v4l2_rect bounds;
-+ struct v4l2_rect defrect;
-+ struct v4l2_fract pixelaspect;
-+};
-+
-+struct v4l2_crop {
-+ enum v4l2_buf_type type;
-+ struct v4l2_rect c;
-+};
-+
-+/*
-+ * A N A L O G V I D E O S T A N D A R D
-+ */
-+
-+typedef __u64 v4l2_std_id;
-+
-+/* one bit for each */
-+#define V4L2_STD_PAL_B ((v4l2_std_id)0x00000001)
-+#define V4L2_STD_PAL_B1 ((v4l2_std_id)0x00000002)
-+#define V4L2_STD_PAL_G ((v4l2_std_id)0x00000004)
-+#define V4L2_STD_PAL_H ((v4l2_std_id)0x00000008)
-+#define V4L2_STD_PAL_I ((v4l2_std_id)0x00000010)
-+#define V4L2_STD_PAL_D ((v4l2_std_id)0x00000020)
-+#define V4L2_STD_PAL_D1 ((v4l2_std_id)0x00000040)
-+#define V4L2_STD_PAL_K ((v4l2_std_id)0x00000080)
-+
-+#define V4L2_STD_PAL_M ((v4l2_std_id)0x00000100)
-+#define V4L2_STD_PAL_N ((v4l2_std_id)0x00000200)
-+#define V4L2_STD_PAL_Nc ((v4l2_std_id)0x00000400)
-+#define V4L2_STD_PAL_60 ((v4l2_std_id)0x00000800)
-+
-+#define V4L2_STD_NTSC_M ((v4l2_std_id)0x00001000)
-+#define V4L2_STD_NTSC_M_JP ((v4l2_std_id)0x00002000)
-+#define V4L2_STD_NTSC_443 ((v4l2_std_id)0x00004000)
-+#define V4L2_STD_NTSC_M_KR ((v4l2_std_id)0x00008000)
-+
-+#define V4L2_STD_SECAM_B ((v4l2_std_id)0x00010000)
-+#define V4L2_STD_SECAM_D ((v4l2_std_id)0x00020000)
-+#define V4L2_STD_SECAM_G ((v4l2_std_id)0x00040000)
-+#define V4L2_STD_SECAM_H ((v4l2_std_id)0x00080000)
-+#define V4L2_STD_SECAM_K ((v4l2_std_id)0x00100000)
-+#define V4L2_STD_SECAM_K1 ((v4l2_std_id)0x00200000)
-+#define V4L2_STD_SECAM_L ((v4l2_std_id)0x00400000)
-+#define V4L2_STD_SECAM_LC ((v4l2_std_id)0x00800000)
-+
-+/* ATSC/HDTV */
-+#define V4L2_STD_ATSC_8_VSB ((v4l2_std_id)0x01000000)
-+#define V4L2_STD_ATSC_16_VSB ((v4l2_std_id)0x02000000)
-+
-+/* FIXME:
-+ Although std_id is 64 bits, there is an issue on PPC32 architecture that
-+ makes switch(__u64) to break. So, there's a hack on v4l2-common.c rounding
-+ this value to 32 bits.
-+ As, currently, the max value is for V4L2_STD_ATSC_16_VSB (30 bits wide),
-+ it should work fine. However, if needed to add more than two standards,
-+ v4l2-common.c should be fixed.
-+ */
-+
-+/* some merged standards */
-+#define V4L2_STD_MN (V4L2_STD_PAL_M|V4L2_STD_PAL_N|V4L2_STD_PAL_Nc|V4L2_STD_NTSC)
-+#define V4L2_STD_B (V4L2_STD_PAL_B|V4L2_STD_PAL_B1|V4L2_STD_SECAM_B)
-+#define V4L2_STD_GH (V4L2_STD_PAL_G|V4L2_STD_PAL_H|V4L2_STD_SECAM_G|V4L2_STD_SECAM_H)
-+#define V4L2_STD_DK (V4L2_STD_PAL_DK|V4L2_STD_SECAM_DK)
-+
-+/* some common needed stuff */
-+#define V4L2_STD_PAL_BG (V4L2_STD_PAL_B |\
-+ V4L2_STD_PAL_B1 |\
-+ V4L2_STD_PAL_G)
-+#define V4L2_STD_PAL_DK (V4L2_STD_PAL_D |\
-+ V4L2_STD_PAL_D1 |\
-+ V4L2_STD_PAL_K)
-+#define V4L2_STD_PAL (V4L2_STD_PAL_BG |\
-+ V4L2_STD_PAL_DK |\
-+ V4L2_STD_PAL_H |\
-+ V4L2_STD_PAL_I)
-+#define V4L2_STD_NTSC (V4L2_STD_NTSC_M |\
-+ V4L2_STD_NTSC_M_JP |\
-+ V4L2_STD_NTSC_M_KR)
-+#define V4L2_STD_SECAM_DK (V4L2_STD_SECAM_D |\
-+ V4L2_STD_SECAM_K |\
-+ V4L2_STD_SECAM_K1)
-+#define V4L2_STD_SECAM (V4L2_STD_SECAM_B |\
-+ V4L2_STD_SECAM_G |\
-+ V4L2_STD_SECAM_H |\
-+ V4L2_STD_SECAM_DK |\
-+ V4L2_STD_SECAM_L |\
-+ V4L2_STD_SECAM_LC)
-+
-+#define V4L2_STD_525_60 (V4L2_STD_PAL_M |\
-+ V4L2_STD_PAL_60 |\
-+ V4L2_STD_NTSC |\
-+ V4L2_STD_NTSC_443)
-+#define V4L2_STD_625_50 (V4L2_STD_PAL |\
-+ V4L2_STD_PAL_N |\
-+ V4L2_STD_PAL_Nc |\
-+ V4L2_STD_SECAM)
-+#define V4L2_STD_ATSC (V4L2_STD_ATSC_8_VSB |\
-+ V4L2_STD_ATSC_16_VSB)
-+
-+#define V4L2_STD_UNKNOWN 0
-+#define V4L2_STD_ALL (V4L2_STD_525_60 |\
-+ V4L2_STD_625_50)
-+
-+struct v4l2_standard {
-+ __u32 index;
-+ v4l2_std_id id;
-+ __u8 name[24];
-+ struct v4l2_fract frameperiod; /* Frames, not fields */
-+ __u32 framelines;
-+ __u32 reserved[4];
-+};
-+
-+/*
-+ * V I D E O T I M I N G S D V P R E S E T
-+ */
-+struct v4l2_dv_preset {
-+ __u32 preset;
-+ __u32 reserved[4];
-+};
-+
-+/*
-+ * D V P R E S E T S E N U M E R A T I O N
-+ */
-+struct v4l2_dv_enum_preset {
-+ __u32 index;
-+ __u32 preset;
-+ __u8 name[32]; /* Name of the preset timing */
-+ __u32 width;
-+ __u32 height;
-+ __u32 reserved[4];
-+};
-+
-+/*
-+ * D V P R E S E T V A L U E S
-+ */
-+#define V4L2_DV_INVALID 0
-+#define V4L2_DV_480P59_94 1 /* BT.1362 */
-+#define V4L2_DV_576P50 2 /* BT.1362 */
-+#define V4L2_DV_720P24 3 /* SMPTE 296M */
-+#define V4L2_DV_720P25 4 /* SMPTE 296M */
-+#define V4L2_DV_720P30 5 /* SMPTE 296M */
-+#define V4L2_DV_720P50 6 /* SMPTE 296M */
-+#define V4L2_DV_720P59_94 7 /* SMPTE 274M */
-+#define V4L2_DV_720P60 8 /* SMPTE 274M/296M */
-+#define V4L2_DV_1080I29_97 9 /* BT.1120/ SMPTE 274M */
-+#define V4L2_DV_1080I30 10 /* BT.1120/ SMPTE 274M */
-+#define V4L2_DV_1080I25 11 /* BT.1120 */
-+#define V4L2_DV_1080I50 12 /* SMPTE 296M */
-+#define V4L2_DV_1080I60 13 /* SMPTE 296M */
-+#define V4L2_DV_1080P24 14 /* SMPTE 296M */
-+#define V4L2_DV_1080P25 15 /* SMPTE 296M */
-+#define V4L2_DV_1080P30 16 /* SMPTE 296M */
-+#define V4L2_DV_1080P50 17 /* BT.1120 */
-+#define V4L2_DV_1080P60 18 /* BT.1120 */
-+
-+/*
-+ * D V B T T I M I N G S
-+ */
-+
-+/* BT.656/BT.1120 timing data */
-+struct v4l2_bt_timings {
-+ __u32 width; /* width in pixels */
-+ __u32 height; /* height in lines */
-+ __u32 interlaced; /* Interlaced or progressive */
-+ __u32 polarities; /* Positive or negative polarity */
-+ __u64 pixelclock; /* Pixel clock in HZ. Ex. 74.25MHz->74250000 */
-+ __u32 hfrontporch; /* Horizpontal front porch in pixels */
-+ __u32 hsync; /* Horizontal Sync length in pixels */
-+ __u32 hbackporch; /* Horizontal back porch in pixels */
-+ __u32 vfrontporch; /* Vertical front porch in pixels */
-+ __u32 vsync; /* Vertical Sync length in lines */
-+ __u32 vbackporch; /* Vertical back porch in lines */
-+ __u32 il_vfrontporch; /* Vertical front porch for bottom field of
-+ * interlaced field formats
-+ */
-+ __u32 il_vsync; /* Vertical sync length for bottom field of
-+ * interlaced field formats
-+ */
-+ __u32 il_vbackporch; /* Vertical back porch for bottom field of
-+ * interlaced field formats
-+ */
-+ __u32 reserved[16];
-+} __attribute__ ((packed));
-+
-+/* Interlaced or progressive format */
-+#define V4L2_DV_PROGRESSIVE 0
-+#define V4L2_DV_INTERLACED 1
-+
-+/* Polarities. If bit is not set, it is assumed to be negative polarity */
-+#define V4L2_DV_VSYNC_POS_POL 0x00000001
-+#define V4L2_DV_HSYNC_POS_POL 0x00000002
-+
-+
-+/* DV timings */
-+struct v4l2_dv_timings {
-+ __u32 type;
-+ union {
-+ struct v4l2_bt_timings bt;
-+ __u32 reserved[32];
-+ };
-+} __attribute__ ((packed));
-+
-+/* Values for the type field */
-+#define V4L2_DV_BT_656_1120 0 /* BT.656/1120 timing type */
-+
-+/*
-+ * V I D E O I N P U T S
-+ */
-+struct v4l2_input {
-+ __u32 index; /* Which input */
-+ __u8 name[32]; /* Label */
-+ __u32 type; /* Type of input */
-+ __u32 audioset; /* Associated audios (bitfield) */
-+ __u32 tuner; /* Associated tuner */
-+ v4l2_std_id std;
-+ __u32 status;
-+ __u32 capabilities;
-+ __u32 reserved[3];
-+};
-+
-+/* Values for the 'type' field */
-+#define V4L2_INPUT_TYPE_TUNER 1
-+#define V4L2_INPUT_TYPE_CAMERA 2
-+
-+/* field 'status' - general */
-+#define V4L2_IN_ST_NO_POWER 0x00000001 /* Attached device is off */
-+#define V4L2_IN_ST_NO_SIGNAL 0x00000002
-+#define V4L2_IN_ST_NO_COLOR 0x00000004
-+
-+/* field 'status' - sensor orientation */
-+/* If sensor is mounted upside down set both bits */
-+#define V4L2_IN_ST_HFLIP 0x00000010 /* Frames are flipped horizontally */
-+#define V4L2_IN_ST_VFLIP 0x00000020 /* Frames are flipped vertically */
-+
-+/* field 'status' - analog */
-+#define V4L2_IN_ST_NO_H_LOCK 0x00000100 /* No horizontal sync lock */
-+#define V4L2_IN_ST_COLOR_KILL 0x00000200 /* Color killer is active */
-+
-+/* field 'status' - digital */
-+#define V4L2_IN_ST_NO_SYNC 0x00010000 /* No synchronization lock */
-+#define V4L2_IN_ST_NO_EQU 0x00020000 /* No equalizer lock */
-+#define V4L2_IN_ST_NO_CARRIER 0x00040000 /* Carrier recovery failed */
-+
-+/* field 'status' - VCR and set-top box */
-+#define V4L2_IN_ST_MACROVISION 0x01000000 /* Macrovision detected */
-+#define V4L2_IN_ST_NO_ACCESS 0x02000000 /* Conditional access denied */
-+#define V4L2_IN_ST_VTR 0x04000000 /* VTR time constant */
-+
-+/* capabilities flags */
-+#define V4L2_IN_CAP_PRESETS 0x00000001 /* Supports S_DV_PRESET */
-+#define V4L2_IN_CAP_CUSTOM_TIMINGS 0x00000002 /* Supports S_DV_TIMINGS */
-+#define V4L2_IN_CAP_STD 0x00000004 /* Supports S_STD */
-+
-+/*
-+ * V I D E O O U T P U T S
-+ */
-+struct v4l2_output {
-+ __u32 index; /* Which output */
-+ __u8 name[32]; /* Label */
-+ __u32 type; /* Type of output */
-+ __u32 audioset; /* Associated audios (bitfield) */
-+ __u32 modulator; /* Associated modulator */
-+ v4l2_std_id std;
-+ __u32 capabilities;
-+ __u32 reserved[3];
-+};
-+/* Values for the 'type' field */
-+#define V4L2_OUTPUT_TYPE_MODULATOR 1
-+#define V4L2_OUTPUT_TYPE_ANALOG 2
-+#define V4L2_OUTPUT_TYPE_ANALOGVGAOVERLAY 3
-+
-+/* capabilities flags */
-+#define V4L2_OUT_CAP_PRESETS 0x00000001 /* Supports S_DV_PRESET */
-+#define V4L2_OUT_CAP_CUSTOM_TIMINGS 0x00000002 /* Supports S_DV_TIMINGS */
-+#define V4L2_OUT_CAP_STD 0x00000004 /* Supports S_STD */
-+
-+/*
-+ * C O N T R O L S
-+ */
-+struct v4l2_control {
-+ __u32 id;
-+ __s32 value;
-+};
-+
-+struct v4l2_ext_control {
-+ __u32 id;
-+ __u32 size;
-+ __u32 reserved2[1];
-+ union {
-+ __s32 value;
-+ __s64 value64;
-+ char *string;
-+ };
-+} __attribute__ ((packed));
-+
-+struct v4l2_ext_controls {
-+ __u32 ctrl_class;
-+ __u32 count;
-+ __u32 error_idx;
-+ __u32 reserved[2];
-+ struct v4l2_ext_control *controls;
-+};
-+
-+/* Values for ctrl_class field */
-+#define V4L2_CTRL_CLASS_USER 0x00980000 /* Old-style 'user' controls */
-+#define V4L2_CTRL_CLASS_MPEG 0x00990000 /* MPEG-compression controls */
-+#define V4L2_CTRL_CLASS_CAMERA 0x009a0000 /* Camera class controls */
-+#define V4L2_CTRL_CLASS_FM_TX 0x009b0000 /* FM Modulator control class */
-+
-+#define V4L2_CTRL_ID_MASK (0x0fffffff)
-+#define V4L2_CTRL_ID2CLASS(id) ((id) & 0x0fff0000UL)
-+#define V4L2_CTRL_DRIVER_PRIV(id) (((id) & 0xffff) >= 0x1000)
-+
-+enum v4l2_ctrl_type {
-+ V4L2_CTRL_TYPE_INTEGER = 1,
-+ V4L2_CTRL_TYPE_BOOLEAN = 2,
-+ V4L2_CTRL_TYPE_MENU = 3,
-+ V4L2_CTRL_TYPE_BUTTON = 4,
-+ V4L2_CTRL_TYPE_INTEGER64 = 5,
-+ V4L2_CTRL_TYPE_CTRL_CLASS = 6,
-+ V4L2_CTRL_TYPE_STRING = 7,
-+};
-+
-+/* Used in the VIDIOC_QUERYCTRL ioctl for querying controls */
-+struct v4l2_queryctrl {
-+ __u32 id;
-+ enum v4l2_ctrl_type type;
-+ __u8 name[32]; /* Whatever */
-+ __s32 minimum; /* Note signedness */
-+ __s32 maximum;
-+ __s32 step;
-+ __s32 default_value;
-+ __u32 flags;
-+ __u32 reserved[2];
-+};
-+
-+/* Used in the VIDIOC_QUERYMENU ioctl for querying menu items */
-+struct v4l2_querymenu {
-+ __u32 id;
-+ __u32 index;
-+ __u8 name[32]; /* Whatever */
-+ __u32 reserved;
-+};
-+
-+/* Control flags */
-+#define V4L2_CTRL_FLAG_DISABLED 0x0001
-+#define V4L2_CTRL_FLAG_GRABBED 0x0002
-+#define V4L2_CTRL_FLAG_READ_ONLY 0x0004
-+#define V4L2_CTRL_FLAG_UPDATE 0x0008
-+#define V4L2_CTRL_FLAG_INACTIVE 0x0010
-+#define V4L2_CTRL_FLAG_SLIDER 0x0020
-+#define V4L2_CTRL_FLAG_WRITE_ONLY 0x0040
-+
-+/* Query flag, to be ORed with the control ID */
-+#define V4L2_CTRL_FLAG_NEXT_CTRL 0x80000000
-+
-+/* User-class control IDs defined by V4L2 */
-+#define V4L2_CID_BASE (V4L2_CTRL_CLASS_USER | 0x900)
-+#define V4L2_CID_USER_BASE V4L2_CID_BASE
-+/* IDs reserved for driver specific controls */
-+#define V4L2_CID_PRIVATE_BASE 0x08000000
-+
-+#define V4L2_CID_USER_CLASS (V4L2_CTRL_CLASS_USER | 1)
-+#define V4L2_CID_BRIGHTNESS (V4L2_CID_BASE+0)
-+#define V4L2_CID_CONTRAST (V4L2_CID_BASE+1)
-+#define V4L2_CID_SATURATION (V4L2_CID_BASE+2)
-+#define V4L2_CID_HUE (V4L2_CID_BASE+3)
-+#define V4L2_CID_AUDIO_VOLUME (V4L2_CID_BASE+5)
-+#define V4L2_CID_AUDIO_BALANCE (V4L2_CID_BASE+6)
-+#define V4L2_CID_AUDIO_BASS (V4L2_CID_BASE+7)
-+#define V4L2_CID_AUDIO_TREBLE (V4L2_CID_BASE+8)
-+#define V4L2_CID_AUDIO_MUTE (V4L2_CID_BASE+9)
-+#define V4L2_CID_AUDIO_LOUDNESS (V4L2_CID_BASE+10)
-+#define V4L2_CID_BLACK_LEVEL (V4L2_CID_BASE+11) /* Deprecated */
-+#define V4L2_CID_AUTO_WHITE_BALANCE (V4L2_CID_BASE+12)
-+#define V4L2_CID_DO_WHITE_BALANCE (V4L2_CID_BASE+13)
-+#define V4L2_CID_RED_BALANCE (V4L2_CID_BASE+14)
-+#define V4L2_CID_BLUE_BALANCE (V4L2_CID_BASE+15)
-+#define V4L2_CID_GAMMA (V4L2_CID_BASE+16)
-+#define V4L2_CID_WHITENESS (V4L2_CID_GAMMA) /* Deprecated */
-+#define V4L2_CID_EXPOSURE (V4L2_CID_BASE+17)
-+#define V4L2_CID_AUTOGAIN (V4L2_CID_BASE+18)
-+#define V4L2_CID_GAIN (V4L2_CID_BASE+19)
-+#define V4L2_CID_HFLIP (V4L2_CID_BASE+20)
-+#define V4L2_CID_VFLIP (V4L2_CID_BASE+21)
-+
-+/* Deprecated; use V4L2_CID_PAN_RESET and V4L2_CID_TILT_RESET */
-+#define V4L2_CID_HCENTER (V4L2_CID_BASE+22)
-+#define V4L2_CID_VCENTER (V4L2_CID_BASE+23)
-+
-+#define V4L2_CID_POWER_LINE_FREQUENCY (V4L2_CID_BASE+24)
-+enum v4l2_power_line_frequency {
-+ V4L2_CID_POWER_LINE_FREQUENCY_DISABLED = 0,
-+ V4L2_CID_POWER_LINE_FREQUENCY_50HZ = 1,
-+ V4L2_CID_POWER_LINE_FREQUENCY_60HZ = 2,
-+};
-+#define V4L2_CID_HUE_AUTO (V4L2_CID_BASE+25)
-+#define V4L2_CID_WHITE_BALANCE_TEMPERATURE (V4L2_CID_BASE+26)
-+#define V4L2_CID_SHARPNESS (V4L2_CID_BASE+27)
-+#define V4L2_CID_BACKLIGHT_COMPENSATION (V4L2_CID_BASE+28)
-+#define V4L2_CID_CHROMA_AGC (V4L2_CID_BASE+29)
-+#define V4L2_CID_COLOR_KILLER (V4L2_CID_BASE+30)
-+#define V4L2_CID_COLORFX (V4L2_CID_BASE+31)
-+enum v4l2_colorfx {
-+ V4L2_COLORFX_NONE = 0,
-+ V4L2_COLORFX_BW = 1,
-+ V4L2_COLORFX_SEPIA = 2,
-+ V4L2_COLORFX_NEGATIVE = 3,
-+ V4L2_COLORFX_EMBOSS = 4,
-+ V4L2_COLORFX_SKETCH = 5,
-+ V4L2_COLORFX_SKY_BLUE = 6,
-+ V4L2_COLORFX_GRASS_GREEN = 7,
-+ V4L2_COLORFX_SKIN_WHITEN = 8,
-+ V4L2_COLORFX_VIVID = 9,
-+};
-+#define V4L2_CID_AUTOBRIGHTNESS (V4L2_CID_BASE+32)
-+#define V4L2_CID_BAND_STOP_FILTER (V4L2_CID_BASE+33)
-+
-+#define V4L2_CID_ROTATE (V4L2_CID_BASE+34)
-+#define V4L2_CID_BG_COLOR (V4L2_CID_BASE+35)
-+
-+#define V4L2_CID_CHROMA_GAIN (V4L2_CID_BASE+36)
-+
-+#define V4L2_CID_ILLUMINATORS_1 (V4L2_CID_BASE+37)
-+#define V4L2_CID_ILLUMINATORS_2 (V4L2_CID_BASE+38)
-+
-+/* last CID + 1 */
-+#define V4L2_CID_LASTP1 (V4L2_CID_BASE+39)
-+
-+/* MPEG-class control IDs defined by V4L2 */
-+#define V4L2_CID_MPEG_BASE (V4L2_CTRL_CLASS_MPEG | 0x900)
-+#define V4L2_CID_MPEG_CLASS (V4L2_CTRL_CLASS_MPEG | 1)
-+
-+/* MPEG streams */
-+#define V4L2_CID_MPEG_STREAM_TYPE (V4L2_CID_MPEG_BASE+0)
-+enum v4l2_mpeg_stream_type {
-+ V4L2_MPEG_STREAM_TYPE_MPEG2_PS = 0, /* MPEG-2 program stream */
-+ V4L2_MPEG_STREAM_TYPE_MPEG2_TS = 1, /* MPEG-2 transport stream */
-+ V4L2_MPEG_STREAM_TYPE_MPEG1_SS = 2, /* MPEG-1 system stream */
-+ V4L2_MPEG_STREAM_TYPE_MPEG2_DVD = 3, /* MPEG-2 DVD-compatible stream */
-+ V4L2_MPEG_STREAM_TYPE_MPEG1_VCD = 4, /* MPEG-1 VCD-compatible stream */
-+ V4L2_MPEG_STREAM_TYPE_MPEG2_SVCD = 5, /* MPEG-2 SVCD-compatible stream */
-+};
-+#define V4L2_CID_MPEG_STREAM_PID_PMT (V4L2_CID_MPEG_BASE+1)
-+#define V4L2_CID_MPEG_STREAM_PID_AUDIO (V4L2_CID_MPEG_BASE+2)
-+#define V4L2_CID_MPEG_STREAM_PID_VIDEO (V4L2_CID_MPEG_BASE+3)
-+#define V4L2_CID_MPEG_STREAM_PID_PCR (V4L2_CID_MPEG_BASE+4)
-+#define V4L2_CID_MPEG_STREAM_PES_ID_AUDIO (V4L2_CID_MPEG_BASE+5)
-+#define V4L2_CID_MPEG_STREAM_PES_ID_VIDEO (V4L2_CID_MPEG_BASE+6)
-+#define V4L2_CID_MPEG_STREAM_VBI_FMT (V4L2_CID_MPEG_BASE+7)
-+enum v4l2_mpeg_stream_vbi_fmt {
-+ V4L2_MPEG_STREAM_VBI_FMT_NONE = 0, /* No VBI in the MPEG stream */
-+ V4L2_MPEG_STREAM_VBI_FMT_IVTV = 1, /* VBI in private packets, IVTV format */
-+};
-+
-+/* MPEG audio */
-+#define V4L2_CID_MPEG_AUDIO_SAMPLING_FREQ (V4L2_CID_MPEG_BASE+100)
-+enum v4l2_mpeg_audio_sampling_freq {
-+ V4L2_MPEG_AUDIO_SAMPLING_FREQ_44100 = 0,
-+ V4L2_MPEG_AUDIO_SAMPLING_FREQ_48000 = 1,
-+ V4L2_MPEG_AUDIO_SAMPLING_FREQ_32000 = 2,
-+};
-+#define V4L2_CID_MPEG_AUDIO_ENCODING (V4L2_CID_MPEG_BASE+101)
-+enum v4l2_mpeg_audio_encoding {
-+ V4L2_MPEG_AUDIO_ENCODING_LAYER_1 = 0,
-+ V4L2_MPEG_AUDIO_ENCODING_LAYER_2 = 1,
-+ V4L2_MPEG_AUDIO_ENCODING_LAYER_3 = 2,
-+ V4L2_MPEG_AUDIO_ENCODING_AAC = 3,
-+ V4L2_MPEG_AUDIO_ENCODING_AC3 = 4,
-+};
-+#define V4L2_CID_MPEG_AUDIO_L1_BITRATE (V4L2_CID_MPEG_BASE+102)
-+enum v4l2_mpeg_audio_l1_bitrate {
-+ V4L2_MPEG_AUDIO_L1_BITRATE_32K = 0,
-+ V4L2_MPEG_AUDIO_L1_BITRATE_64K = 1,
-+ V4L2_MPEG_AUDIO_L1_BITRATE_96K = 2,
-+ V4L2_MPEG_AUDIO_L1_BITRATE_128K = 3,
-+ V4L2_MPEG_AUDIO_L1_BITRATE_160K = 4,
-+ V4L2_MPEG_AUDIO_L1_BITRATE_192K = 5,
-+ V4L2_MPEG_AUDIO_L1_BITRATE_224K = 6,
-+ V4L2_MPEG_AUDIO_L1_BITRATE_256K = 7,
-+ V4L2_MPEG_AUDIO_L1_BITRATE_288K = 8,
-+ V4L2_MPEG_AUDIO_L1_BITRATE_320K = 9,
-+ V4L2_MPEG_AUDIO_L1_BITRATE_352K = 10,
-+ V4L2_MPEG_AUDIO_L1_BITRATE_384K = 11,
-+ V4L2_MPEG_AUDIO_L1_BITRATE_416K = 12,
-+ V4L2_MPEG_AUDIO_L1_BITRATE_448K = 13,
-+};
-+#define V4L2_CID_MPEG_AUDIO_L2_BITRATE (V4L2_CID_MPEG_BASE+103)
-+enum v4l2_mpeg_audio_l2_bitrate {
-+ V4L2_MPEG_AUDIO_L2_BITRATE_32K = 0,
-+ V4L2_MPEG_AUDIO_L2_BITRATE_48K = 1,
-+ V4L2_MPEG_AUDIO_L2_BITRATE_56K = 2,
-+ V4L2_MPEG_AUDIO_L2_BITRATE_64K = 3,
-+ V4L2_MPEG_AUDIO_L2_BITRATE_80K = 4,
-+ V4L2_MPEG_AUDIO_L2_BITRATE_96K = 5,
-+ V4L2_MPEG_AUDIO_L2_BITRATE_112K = 6,
-+ V4L2_MPEG_AUDIO_L2_BITRATE_128K = 7,
-+ V4L2_MPEG_AUDIO_L2_BITRATE_160K = 8,
-+ V4L2_MPEG_AUDIO_L2_BITRATE_192K = 9,
-+ V4L2_MPEG_AUDIO_L2_BITRATE_224K = 10,
-+ V4L2_MPEG_AUDIO_L2_BITRATE_256K = 11,
-+ V4L2_MPEG_AUDIO_L2_BITRATE_320K = 12,
-+ V4L2_MPEG_AUDIO_L2_BITRATE_384K = 13,
-+};
-+#define V4L2_CID_MPEG_AUDIO_L3_BITRATE (V4L2_CID_MPEG_BASE+104)
-+enum v4l2_mpeg_audio_l3_bitrate {
-+ V4L2_MPEG_AUDIO_L3_BITRATE_32K = 0,
-+ V4L2_MPEG_AUDIO_L3_BITRATE_40K = 1,
-+ V4L2_MPEG_AUDIO_L3_BITRATE_48K = 2,
-+ V4L2_MPEG_AUDIO_L3_BITRATE_56K = 3,
-+ V4L2_MPEG_AUDIO_L3_BITRATE_64K = 4,
-+ V4L2_MPEG_AUDIO_L3_BITRATE_80K = 5,
-+ V4L2_MPEG_AUDIO_L3_BITRATE_96K = 6,
-+ V4L2_MPEG_AUDIO_L3_BITRATE_112K = 7,
-+ V4L2_MPEG_AUDIO_L3_BITRATE_128K = 8,
-+ V4L2_MPEG_AUDIO_L3_BITRATE_160K = 9,
-+ V4L2_MPEG_AUDIO_L3_BITRATE_192K = 10,
-+ V4L2_MPEG_AUDIO_L3_BITRATE_224K = 11,
-+ V4L2_MPEG_AUDIO_L3_BITRATE_256K = 12,
-+ V4L2_MPEG_AUDIO_L3_BITRATE_320K = 13,
-+};
-+#define V4L2_CID_MPEG_AUDIO_MODE (V4L2_CID_MPEG_BASE+105)
-+enum v4l2_mpeg_audio_mode {
-+ V4L2_MPEG_AUDIO_MODE_STEREO = 0,
-+ V4L2_MPEG_AUDIO_MODE_JOINT_STEREO = 1,
-+ V4L2_MPEG_AUDIO_MODE_DUAL = 2,
-+ V4L2_MPEG_AUDIO_MODE_MONO = 3,
-+};
-+#define V4L2_CID_MPEG_AUDIO_MODE_EXTENSION (V4L2_CID_MPEG_BASE+106)
-+enum v4l2_mpeg_audio_mode_extension {
-+ V4L2_MPEG_AUDIO_MODE_EXTENSION_BOUND_4 = 0,
-+ V4L2_MPEG_AUDIO_MODE_EXTENSION_BOUND_8 = 1,
-+ V4L2_MPEG_AUDIO_MODE_EXTENSION_BOUND_12 = 2,
-+ V4L2_MPEG_AUDIO_MODE_EXTENSION_BOUND_16 = 3,
-+};
-+#define V4L2_CID_MPEG_AUDIO_EMPHASIS (V4L2_CID_MPEG_BASE+107)
-+enum v4l2_mpeg_audio_emphasis {
-+ V4L2_MPEG_AUDIO_EMPHASIS_NONE = 0,
-+ V4L2_MPEG_AUDIO_EMPHASIS_50_DIV_15_uS = 1,
-+ V4L2_MPEG_AUDIO_EMPHASIS_CCITT_J17 = 2,
-+};
-+#define V4L2_CID_MPEG_AUDIO_CRC (V4L2_CID_MPEG_BASE+108)
-+enum v4l2_mpeg_audio_crc {
-+ V4L2_MPEG_AUDIO_CRC_NONE = 0,
-+ V4L2_MPEG_AUDIO_CRC_CRC16 = 1,
-+};
-+#define V4L2_CID_MPEG_AUDIO_MUTE (V4L2_CID_MPEG_BASE+109)
-+#define V4L2_CID_MPEG_AUDIO_AAC_BITRATE (V4L2_CID_MPEG_BASE+110)
-+#define V4L2_CID_MPEG_AUDIO_AC3_BITRATE (V4L2_CID_MPEG_BASE+111)
-+enum v4l2_mpeg_audio_ac3_bitrate {
-+ V4L2_MPEG_AUDIO_AC3_BITRATE_32K = 0,
-+ V4L2_MPEG_AUDIO_AC3_BITRATE_40K = 1,
-+ V4L2_MPEG_AUDIO_AC3_BITRATE_48K = 2,
-+ V4L2_MPEG_AUDIO_AC3_BITRATE_56K = 3,
-+ V4L2_MPEG_AUDIO_AC3_BITRATE_64K = 4,
-+ V4L2_MPEG_AUDIO_AC3_BITRATE_80K = 5,
-+ V4L2_MPEG_AUDIO_AC3_BITRATE_96K = 6,
-+ V4L2_MPEG_AUDIO_AC3_BITRATE_112K = 7,
-+ V4L2_MPEG_AUDIO_AC3_BITRATE_128K = 8,
-+ V4L2_MPEG_AUDIO_AC3_BITRATE_160K = 9,
-+ V4L2_MPEG_AUDIO_AC3_BITRATE_192K = 10,
-+ V4L2_MPEG_AUDIO_AC3_BITRATE_224K = 11,
-+ V4L2_MPEG_AUDIO_AC3_BITRATE_256K = 12,
-+ V4L2_MPEG_AUDIO_AC3_BITRATE_320K = 13,
-+ V4L2_MPEG_AUDIO_AC3_BITRATE_384K = 14,
-+ V4L2_MPEG_AUDIO_AC3_BITRATE_448K = 15,
-+ V4L2_MPEG_AUDIO_AC3_BITRATE_512K = 16,
-+ V4L2_MPEG_AUDIO_AC3_BITRATE_576K = 17,
-+ V4L2_MPEG_AUDIO_AC3_BITRATE_640K = 18,
-+};
-+
-+/* MPEG video */
-+#define V4L2_CID_MPEG_VIDEO_ENCODING (V4L2_CID_MPEG_BASE+200)
-+enum v4l2_mpeg_video_encoding {
-+ V4L2_MPEG_VIDEO_ENCODING_MPEG_1 = 0,
-+ V4L2_MPEG_VIDEO_ENCODING_MPEG_2 = 1,
-+ V4L2_MPEG_VIDEO_ENCODING_MPEG_4_AVC = 2,
-+};
-+#define V4L2_CID_MPEG_VIDEO_ASPECT (V4L2_CID_MPEG_BASE+201)
-+enum v4l2_mpeg_video_aspect {
-+ V4L2_MPEG_VIDEO_ASPECT_1x1 = 0,
-+ V4L2_MPEG_VIDEO_ASPECT_4x3 = 1,
-+ V4L2_MPEG_VIDEO_ASPECT_16x9 = 2,
-+ V4L2_MPEG_VIDEO_ASPECT_221x100 = 3,
-+};
-+#define V4L2_CID_MPEG_VIDEO_B_FRAMES (V4L2_CID_MPEG_BASE+202)
-+#define V4L2_CID_MPEG_VIDEO_GOP_SIZE (V4L2_CID_MPEG_BASE+203)
-+#define V4L2_CID_MPEG_VIDEO_GOP_CLOSURE (V4L2_CID_MPEG_BASE+204)
-+#define V4L2_CID_MPEG_VIDEO_PULLDOWN (V4L2_CID_MPEG_BASE+205)
-+#define V4L2_CID_MPEG_VIDEO_BITRATE_MODE (V4L2_CID_MPEG_BASE+206)
-+enum v4l2_mpeg_video_bitrate_mode {
-+ V4L2_MPEG_VIDEO_BITRATE_MODE_VBR = 0,
-+ V4L2_MPEG_VIDEO_BITRATE_MODE_CBR = 1,
-+};
-+#define V4L2_CID_MPEG_VIDEO_BITRATE (V4L2_CID_MPEG_BASE+207)
-+#define V4L2_CID_MPEG_VIDEO_BITRATE_PEAK (V4L2_CID_MPEG_BASE+208)
-+#define V4L2_CID_MPEG_VIDEO_TEMPORAL_DECIMATION (V4L2_CID_MPEG_BASE+209)
-+#define V4L2_CID_MPEG_VIDEO_MUTE (V4L2_CID_MPEG_BASE+210)
-+#define V4L2_CID_MPEG_VIDEO_MUTE_YUV (V4L2_CID_MPEG_BASE+211)
-+
-+/* MPEG-class control IDs specific to the CX2341x driver as defined by V4L2 */
-+#define V4L2_CID_MPEG_CX2341X_BASE (V4L2_CTRL_CLASS_MPEG | 0x1000)
-+#define V4L2_CID_MPEG_CX2341X_VIDEO_SPATIAL_FILTER_MODE (V4L2_CID_MPEG_CX2341X_BASE+0)
-+enum v4l2_mpeg_cx2341x_video_spatial_filter_mode {
-+ V4L2_MPEG_CX2341X_VIDEO_SPATIAL_FILTER_MODE_MANUAL = 0,
-+ V4L2_MPEG_CX2341X_VIDEO_SPATIAL_FILTER_MODE_AUTO = 1,
-+};
-+#define V4L2_CID_MPEG_CX2341X_VIDEO_SPATIAL_FILTER (V4L2_CID_MPEG_CX2341X_BASE+1)
-+#define V4L2_CID_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE (V4L2_CID_MPEG_CX2341X_BASE+2)
-+enum v4l2_mpeg_cx2341x_video_luma_spatial_filter_type {
-+ V4L2_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE_OFF = 0,
-+ V4L2_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE_1D_HOR = 1,
-+ V4L2_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE_1D_VERT = 2,
-+ V4L2_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE_2D_HV_SEPARABLE = 3,
-+ V4L2_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE_2D_SYM_NON_SEPARABLE = 4,
-+};
-+#define V4L2_CID_MPEG_CX2341X_VIDEO_CHROMA_SPATIAL_FILTER_TYPE (V4L2_CID_MPEG_CX2341X_BASE+3)
-+enum v4l2_mpeg_cx2341x_video_chroma_spatial_filter_type {
-+ V4L2_MPEG_CX2341X_VIDEO_CHROMA_SPATIAL_FILTER_TYPE_OFF = 0,
-+ V4L2_MPEG_CX2341X_VIDEO_CHROMA_SPATIAL_FILTER_TYPE_1D_HOR = 1,
-+};
-+#define V4L2_CID_MPEG_CX2341X_VIDEO_TEMPORAL_FILTER_MODE (V4L2_CID_MPEG_CX2341X_BASE+4)
-+enum v4l2_mpeg_cx2341x_video_temporal_filter_mode {
-+ V4L2_MPEG_CX2341X_VIDEO_TEMPORAL_FILTER_MODE_MANUAL = 0,
-+ V4L2_MPEG_CX2341X_VIDEO_TEMPORAL_FILTER_MODE_AUTO = 1,
-+};
-+#define V4L2_CID_MPEG_CX2341X_VIDEO_TEMPORAL_FILTER (V4L2_CID_MPEG_CX2341X_BASE+5)
-+#define V4L2_CID_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE (V4L2_CID_MPEG_CX2341X_BASE+6)
-+enum v4l2_mpeg_cx2341x_video_median_filter_type {
-+ V4L2_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE_OFF = 0,
-+ V4L2_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE_HOR = 1,
-+ V4L2_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE_VERT = 2,
-+ V4L2_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE_HOR_VERT = 3,
-+ V4L2_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE_DIAG = 4,
-+};
-+#define V4L2_CID_MPEG_CX2341X_VIDEO_LUMA_MEDIAN_FILTER_BOTTOM (V4L2_CID_MPEG_CX2341X_BASE+7)
-+#define V4L2_CID_MPEG_CX2341X_VIDEO_LUMA_MEDIAN_FILTER_TOP (V4L2_CID_MPEG_CX2341X_BASE+8)
-+#define V4L2_CID_MPEG_CX2341X_VIDEO_CHROMA_MEDIAN_FILTER_BOTTOM (V4L2_CID_MPEG_CX2341X_BASE+9)
-+#define V4L2_CID_MPEG_CX2341X_VIDEO_CHROMA_MEDIAN_FILTER_TOP (V4L2_CID_MPEG_CX2341X_BASE+10)
-+#define V4L2_CID_MPEG_CX2341X_STREAM_INSERT_NAV_PACKETS (V4L2_CID_MPEG_CX2341X_BASE+11)
-+
-+/* Camera class control IDs */
-+#define V4L2_CID_CAMERA_CLASS_BASE (V4L2_CTRL_CLASS_CAMERA | 0x900)
-+#define V4L2_CID_CAMERA_CLASS (V4L2_CTRL_CLASS_CAMERA | 1)
-+
-+#define V4L2_CID_EXPOSURE_AUTO (V4L2_CID_CAMERA_CLASS_BASE+1)
-+enum v4l2_exposure_auto_type {
-+ V4L2_EXPOSURE_AUTO = 0,
-+ V4L2_EXPOSURE_MANUAL = 1,
-+ V4L2_EXPOSURE_SHUTTER_PRIORITY = 2,
-+ V4L2_EXPOSURE_APERTURE_PRIORITY = 3
-+};
-+#define V4L2_CID_EXPOSURE_ABSOLUTE (V4L2_CID_CAMERA_CLASS_BASE+2)
-+#define V4L2_CID_EXPOSURE_AUTO_PRIORITY (V4L2_CID_CAMERA_CLASS_BASE+3)
-+
-+#define V4L2_CID_PAN_RELATIVE (V4L2_CID_CAMERA_CLASS_BASE+4)
-+#define V4L2_CID_TILT_RELATIVE (V4L2_CID_CAMERA_CLASS_BASE+5)
-+#define V4L2_CID_PAN_RESET (V4L2_CID_CAMERA_CLASS_BASE+6)
-+#define V4L2_CID_TILT_RESET (V4L2_CID_CAMERA_CLASS_BASE+7)
-+
-+#define V4L2_CID_PAN_ABSOLUTE (V4L2_CID_CAMERA_CLASS_BASE+8)
-+#define V4L2_CID_TILT_ABSOLUTE (V4L2_CID_CAMERA_CLASS_BASE+9)
-+
-+#define V4L2_CID_FOCUS_ABSOLUTE (V4L2_CID_CAMERA_CLASS_BASE+10)
-+#define V4L2_CID_FOCUS_RELATIVE (V4L2_CID_CAMERA_CLASS_BASE+11)
-+#define V4L2_CID_FOCUS_AUTO (V4L2_CID_CAMERA_CLASS_BASE+12)
-+
-+#define V4L2_CID_ZOOM_ABSOLUTE (V4L2_CID_CAMERA_CLASS_BASE+13)
-+#define V4L2_CID_ZOOM_RELATIVE (V4L2_CID_CAMERA_CLASS_BASE+14)
-+#define V4L2_CID_ZOOM_CONTINUOUS (V4L2_CID_CAMERA_CLASS_BASE+15)
-+
-+#define V4L2_CID_PRIVACY (V4L2_CID_CAMERA_CLASS_BASE+16)
-+
-+#define V4L2_CID_IRIS_ABSOLUTE (V4L2_CID_CAMERA_CLASS_BASE+17)
-+#define V4L2_CID_IRIS_RELATIVE (V4L2_CID_CAMERA_CLASS_BASE+18)
-+
-+/* FM Modulator class control IDs */
-+#define V4L2_CID_FM_TX_CLASS_BASE (V4L2_CTRL_CLASS_FM_TX | 0x900)
-+#define V4L2_CID_FM_TX_CLASS (V4L2_CTRL_CLASS_FM_TX | 1)
-+
-+#define V4L2_CID_RDS_TX_DEVIATION (V4L2_CID_FM_TX_CLASS_BASE + 1)
-+#define V4L2_CID_RDS_TX_PI (V4L2_CID_FM_TX_CLASS_BASE + 2)
-+#define V4L2_CID_RDS_TX_PTY (V4L2_CID_FM_TX_CLASS_BASE + 3)
-+#define V4L2_CID_RDS_TX_PS_NAME (V4L2_CID_FM_TX_CLASS_BASE + 5)
-+#define V4L2_CID_RDS_TX_RADIO_TEXT (V4L2_CID_FM_TX_CLASS_BASE + 6)
-+
-+#define V4L2_CID_AUDIO_LIMITER_ENABLED (V4L2_CID_FM_TX_CLASS_BASE + 64)
-+#define V4L2_CID_AUDIO_LIMITER_RELEASE_TIME (V4L2_CID_FM_TX_CLASS_BASE + 65)
-+#define V4L2_CID_AUDIO_LIMITER_DEVIATION (V4L2_CID_FM_TX_CLASS_BASE + 66)
-+
-+#define V4L2_CID_AUDIO_COMPRESSION_ENABLED (V4L2_CID_FM_TX_CLASS_BASE + 80)
-+#define V4L2_CID_AUDIO_COMPRESSION_GAIN (V4L2_CID_FM_TX_CLASS_BASE + 81)
-+#define V4L2_CID_AUDIO_COMPRESSION_THRESHOLD (V4L2_CID_FM_TX_CLASS_BASE + 82)
-+#define V4L2_CID_AUDIO_COMPRESSION_ATTACK_TIME (V4L2_CID_FM_TX_CLASS_BASE + 83)
-+#define V4L2_CID_AUDIO_COMPRESSION_RELEASE_TIME (V4L2_CID_FM_TX_CLASS_BASE + 84)
-+
-+#define V4L2_CID_PILOT_TONE_ENABLED (V4L2_CID_FM_TX_CLASS_BASE + 96)
-+#define V4L2_CID_PILOT_TONE_DEVIATION (V4L2_CID_FM_TX_CLASS_BASE + 97)
-+#define V4L2_CID_PILOT_TONE_FREQUENCY (V4L2_CID_FM_TX_CLASS_BASE + 98)
-+
-+#define V4L2_CID_TUNE_PREEMPHASIS (V4L2_CID_FM_TX_CLASS_BASE + 112)
-+enum v4l2_preemphasis {
-+ V4L2_PREEMPHASIS_DISABLED = 0,
-+ V4L2_PREEMPHASIS_50_uS = 1,
-+ V4L2_PREEMPHASIS_75_uS = 2,
-+};
-+#define V4L2_CID_TUNE_POWER_LEVEL (V4L2_CID_FM_TX_CLASS_BASE + 113)
-+#define V4L2_CID_TUNE_ANTENNA_CAPACITOR (V4L2_CID_FM_TX_CLASS_BASE + 114)
-+
-+/*
-+ * T U N I N G
-+ */
-+struct v4l2_tuner {
-+ __u32 index;
-+ __u8 name[32];
-+ enum v4l2_tuner_type type;
-+ __u32 capability;
-+ __u32 rangelow;
-+ __u32 rangehigh;
-+ __u32 rxsubchans;
-+ __u32 audmode;
-+ __s32 signal;
-+ __s32 afc;
-+ __u32 reserved[4];
-+};
-+
-+struct v4l2_modulator {
-+ __u32 index;
-+ __u8 name[32];
-+ __u32 capability;
-+ __u32 rangelow;
-+ __u32 rangehigh;
-+ __u32 txsubchans;
-+ __u32 reserved[4];
-+};
-+
-+/* Flags for the 'capability' field */
-+#define V4L2_TUNER_CAP_LOW 0x0001
-+#define V4L2_TUNER_CAP_NORM 0x0002
-+#define V4L2_TUNER_CAP_STEREO 0x0010
-+#define V4L2_TUNER_CAP_LANG2 0x0020
-+#define V4L2_TUNER_CAP_SAP 0x0020
-+#define V4L2_TUNER_CAP_LANG1 0x0040
-+#define V4L2_TUNER_CAP_RDS 0x0080
-+#define V4L2_TUNER_CAP_RDS_BLOCK_IO 0x0100
-+#define V4L2_TUNER_CAP_RDS_CONTROLS 0x0200
-+
-+/* Flags for the 'rxsubchans' field */
-+#define V4L2_TUNER_SUB_MONO 0x0001
-+#define V4L2_TUNER_SUB_STEREO 0x0002
-+#define V4L2_TUNER_SUB_LANG2 0x0004
-+#define V4L2_TUNER_SUB_SAP 0x0004
-+#define V4L2_TUNER_SUB_LANG1 0x0008
-+#define V4L2_TUNER_SUB_RDS 0x0010
-+
-+/* Values for the 'audmode' field */
-+#define V4L2_TUNER_MODE_MONO 0x0000
-+#define V4L2_TUNER_MODE_STEREO 0x0001
-+#define V4L2_TUNER_MODE_LANG2 0x0002
-+#define V4L2_TUNER_MODE_SAP 0x0002
-+#define V4L2_TUNER_MODE_LANG1 0x0003
-+#define V4L2_TUNER_MODE_LANG1_LANG2 0x0004
-+
-+struct v4l2_frequency {
-+ __u32 tuner;
-+ enum v4l2_tuner_type type;
-+ __u32 frequency;
-+ __u32 reserved[8];
-+};
-+
-+struct v4l2_hw_freq_seek {
-+ __u32 tuner;
-+ enum v4l2_tuner_type type;
-+ __u32 seek_upward;
-+ __u32 wrap_around;
-+ __u32 spacing;
-+ __u32 reserved[7];
-+};
-+
-+/*
-+ * R D S
-+ */
-+
-+struct v4l2_rds_data {
-+ __u8 lsb;
-+ __u8 msb;
-+ __u8 block;
-+} __attribute__ ((packed));
-+
-+#define V4L2_RDS_BLOCK_MSK 0x7
-+#define V4L2_RDS_BLOCK_A 0
-+#define V4L2_RDS_BLOCK_B 1
-+#define V4L2_RDS_BLOCK_C 2
-+#define V4L2_RDS_BLOCK_D 3
-+#define V4L2_RDS_BLOCK_C_ALT 4
-+#define V4L2_RDS_BLOCK_INVALID 7
-+
-+#define V4L2_RDS_BLOCK_CORRECTED 0x40
-+#define V4L2_RDS_BLOCK_ERROR 0x80
-+
-+/*
-+ * A U D I O
-+ */
-+struct v4l2_audio {
-+ __u32 index;
-+ __u8 name[32];
-+ __u32 capability;
-+ __u32 mode;
-+ __u32 reserved[2];
-+};
-+
-+/* Flags for the 'capability' field */
-+#define V4L2_AUDCAP_STEREO 0x00001
-+#define V4L2_AUDCAP_AVL 0x00002
-+
-+/* Flags for the 'mode' field */
-+#define V4L2_AUDMODE_AVL 0x00001
-+
-+struct v4l2_audioout {
-+ __u32 index;
-+ __u8 name[32];
-+ __u32 capability;
-+ __u32 mode;
-+ __u32 reserved[2];
-+};
-+
-+/*
-+ * M P E G S E R V I C E S
-+ *
-+ * NOTE: EXPERIMENTAL API
-+ */
-+#if 1
-+#define V4L2_ENC_IDX_FRAME_I (0)
-+#define V4L2_ENC_IDX_FRAME_P (1)
-+#define V4L2_ENC_IDX_FRAME_B (2)
-+#define V4L2_ENC_IDX_FRAME_MASK (0xf)
-+
-+struct v4l2_enc_idx_entry {
-+ __u64 offset;
-+ __u64 pts;
-+ __u32 length;
-+ __u32 flags;
-+ __u32 reserved[2];
-+};
-+
-+#define V4L2_ENC_IDX_ENTRIES (64)
-+struct v4l2_enc_idx {
-+ __u32 entries;
-+ __u32 entries_cap;
-+ __u32 reserved[4];
-+ struct v4l2_enc_idx_entry entry[V4L2_ENC_IDX_ENTRIES];
-+};
-+
-+
-+#define V4L2_ENC_CMD_START (0)
-+#define V4L2_ENC_CMD_STOP (1)
-+#define V4L2_ENC_CMD_PAUSE (2)
-+#define V4L2_ENC_CMD_RESUME (3)
-+
-+/* Flags for V4L2_ENC_CMD_STOP */
-+#define V4L2_ENC_CMD_STOP_AT_GOP_END (1 << 0)
-+
-+struct v4l2_encoder_cmd {
-+ __u32 cmd;
-+ __u32 flags;
-+ union {
-+ struct {
-+ __u32 data[8];
-+ } raw;
-+ };
-+};
-+
-+#endif
-+
-+
-+/*
-+ * D A T A S E R V I C E S ( V B I )
-+ *
-+ * Data services API by Michael Schimek
-+ */
-+
-+/* Raw VBI */
-+struct v4l2_vbi_format {
-+ __u32 sampling_rate; /* in 1 Hz */
-+ __u32 offset;
-+ __u32 samples_per_line;
-+ __u32 sample_format; /* V4L2_PIX_FMT_* */
-+ __s32 start[2];
-+ __u32 count[2];
-+ __u32 flags; /* V4L2_VBI_* */
-+ __u32 reserved[2]; /* must be zero */
-+};
-+
-+/* VBI flags */
-+#define V4L2_VBI_UNSYNC (1 << 0)
-+#define V4L2_VBI_INTERLACED (1 << 1)
-+
-+/* Sliced VBI
-+ *
-+ * This implements is a proposal V4L2 API to allow SLICED VBI
-+ * required for some hardware encoders. It should change without
-+ * notice in the definitive implementation.
-+ */
-+
-+struct v4l2_sliced_vbi_format {
-+ __u16 service_set;
-+ /* service_lines[0][...] specifies lines 0-23 (1-23 used) of the first field
-+ service_lines[1][...] specifies lines 0-23 (1-23 used) of the second field
-+ (equals frame lines 313-336 for 625 line video
-+ standards, 263-286 for 525 line standards) */
-+ __u16 service_lines[2][24];
-+ __u32 io_size;
-+ __u32 reserved[2]; /* must be zero */
-+};
-+
-+/* Teletext World System Teletext
-+ (WST), defined on ITU-R BT.653-2 */
-+#define V4L2_SLICED_TELETEXT_B (0x0001)
-+/* Video Program System, defined on ETS 300 231*/
-+#define V4L2_SLICED_VPS (0x0400)
-+/* Closed Caption, defined on EIA-608 */
-+#define V4L2_SLICED_CAPTION_525 (0x1000)
-+/* Wide Screen System, defined on ITU-R BT1119.1 */
-+#define V4L2_SLICED_WSS_625 (0x4000)
-+
-+#define V4L2_SLICED_VBI_525 (V4L2_SLICED_CAPTION_525)
-+#define V4L2_SLICED_VBI_625 (V4L2_SLICED_TELETEXT_B | V4L2_SLICED_VPS | V4L2_SLICED_WSS_625)
-+
-+struct v4l2_sliced_vbi_cap {
-+ __u16 service_set;
-+ /* service_lines[0][...] specifies lines 0-23 (1-23 used) of the first field
-+ service_lines[1][...] specifies lines 0-23 (1-23 used) of the second field
-+ (equals frame lines 313-336 for 625 line video
-+ standards, 263-286 for 525 line standards) */
-+ __u16 service_lines[2][24];
-+ enum v4l2_buf_type type;
-+ __u32 reserved[3]; /* must be 0 */
-+};
-+
-+struct v4l2_sliced_vbi_data {
-+ __u32 id;
-+ __u32 field; /* 0: first field, 1: second field */
-+ __u32 line; /* 1-23 */
-+ __u32 reserved; /* must be 0 */
-+ __u8 data[48];
-+};
-+
-+/*
-+ * Sliced VBI data inserted into MPEG Streams
-+ */
-+
-+/*
-+ * V4L2_MPEG_STREAM_VBI_FMT_IVTV:
-+ *
-+ * Structure of payload contained in an MPEG 2 Private Stream 1 PES Packet in an
-+ * MPEG-2 Program Pack that contains V4L2_MPEG_STREAM_VBI_FMT_IVTV Sliced VBI
-+ * data
-+ *
-+ * Note, the MPEG-2 Program Pack and Private Stream 1 PES packet header
-+ * definitions are not included here. See the MPEG-2 specifications for details
-+ * on these headers.
-+ */
-+
-+/* Line type IDs */
-+#define V4L2_MPEG_VBI_IVTV_TELETEXT_B (1)
-+#define V4L2_MPEG_VBI_IVTV_CAPTION_525 (4)
-+#define V4L2_MPEG_VBI_IVTV_WSS_625 (5)
-+#define V4L2_MPEG_VBI_IVTV_VPS (7)
-+
-+struct v4l2_mpeg_vbi_itv0_line {
-+ __u8 id; /* One of V4L2_MPEG_VBI_IVTV_* above */
-+ __u8 data[42]; /* Sliced VBI data for the line */
-+} __attribute__ ((packed));
-+
-+struct v4l2_mpeg_vbi_itv0 {
-+ __le32 linemask[2]; /* Bitmasks of VBI service lines present */
-+ struct v4l2_mpeg_vbi_itv0_line line[35];
-+} __attribute__ ((packed));
-+
-+struct v4l2_mpeg_vbi_ITV0 {
-+ struct v4l2_mpeg_vbi_itv0_line line[36];
-+} __attribute__ ((packed));
-+
-+#define V4L2_MPEG_VBI_IVTV_MAGIC0 "itv0"
-+#define V4L2_MPEG_VBI_IVTV_MAGIC1 "ITV0"
-+
-+struct v4l2_mpeg_vbi_fmt_ivtv {
-+ __u8 magic[4];
-+ union {
-+ struct v4l2_mpeg_vbi_itv0 itv0;
-+ struct v4l2_mpeg_vbi_ITV0 ITV0;
-+ };
-+} __attribute__ ((packed));
-+
-+/*
-+ * A G G R E G A T E S T R U C T U R E S
-+ */
-+
-+/**
-+ * struct v4l2_plane_pix_format - additional, per-plane format definition
-+ * @sizeimage: maximum size in bytes required for data, for which
-+ * this plane will be used
-+ * @bytesperline: distance in bytes between the leftmost pixels in two
-+ * adjacent lines
-+ */
-+struct v4l2_plane_pix_format {
-+ __u32 sizeimage;
-+ __u16 bytesperline;
-+ __u16 reserved[7];
-+} __attribute__ ((packed));
-+
-+/**
-+ * struct v4l2_pix_format_mplane - multiplanar format definition
-+ * @width: image width in pixels
-+ * @height: image height in pixels
-+ * @pixelformat: little endian four character code (fourcc)
-+ * @field: field order (for interlaced video)
-+ * @colorspace: supplemental to pixelformat
-+ * @plane_fmt: per-plane information
-+ * @num_planes: number of planes for this format
-+ */
-+struct v4l2_pix_format_mplane {
-+ __u32 width;
-+ __u32 height;
-+ __u32 pixelformat;
-+ enum v4l2_field field;
-+ enum v4l2_colorspace colorspace;
-+
-+ struct v4l2_plane_pix_format plane_fmt[VIDEO_MAX_PLANES];
-+ __u8 num_planes;
-+ __u8 reserved[11];
-+} __attribute__ ((packed));
-+
-+/**
-+ * struct v4l2_format - stream data format
-+ * @type: type of the data stream
-+ * @pix: definition of an image format
-+ * @pix_mp: definition of a multiplanar image format
-+ * @win: definition of an overlaid image
-+ * @vbi: raw VBI capture or output parameters
-+ * @sliced: sliced VBI capture or output parameters
-+ * @raw_data: placeholder for future extensions and custom formats
-+ */
-+struct v4l2_format {
-+ enum v4l2_buf_type type;
-+ union {
-+ struct v4l2_pix_format pix; /* V4L2_BUF_TYPE_VIDEO_CAPTURE */
-+ struct v4l2_pix_format_mplane pix_mp; /* V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE */
-+ struct v4l2_window win; /* V4L2_BUF_TYPE_VIDEO_OVERLAY */
-+ struct v4l2_vbi_format vbi; /* V4L2_BUF_TYPE_VBI_CAPTURE */
-+ struct v4l2_sliced_vbi_format sliced; /* V4L2_BUF_TYPE_SLICED_VBI_CAPTURE */
-+ __u8 raw_data[200]; /* user-defined */
-+ } fmt;
-+};
-+
-+/* Stream type-dependent parameters
-+ */
-+struct v4l2_streamparm {
-+ enum v4l2_buf_type type;
-+ union {
-+ struct v4l2_captureparm capture;
-+ struct v4l2_outputparm output;
-+ __u8 raw_data[200]; /* user-defined */
-+ } parm;
-+};
-+
-+/*
-+ * E V E N T S
-+ */
-+
-+#define V4L2_EVENT_ALL 0
-+#define V4L2_EVENT_VSYNC 1
-+#define V4L2_EVENT_EOS 2
-+#define V4L2_EVENT_PRIVATE_START 0x08000000
-+
-+/* Payload for V4L2_EVENT_VSYNC */
-+struct v4l2_event_vsync {
-+ /* Can be V4L2_FIELD_ANY, _NONE, _TOP or _BOTTOM */
-+ __u8 field;
-+} __attribute__ ((packed));
-+
-+struct v4l2_event {
-+ __u32 type;
-+ union {
-+ struct v4l2_event_vsync vsync;
-+ __u8 data[64];
-+ } u;
-+ __u32 pending;
-+ __u32 sequence;
-+ struct timespec timestamp;
-+ __u32 reserved[9];
-+};
-+
-+struct v4l2_event_subscription {
-+ __u32 type;
-+ __u32 reserved[7];
-+};
-+
-+/*
-+ * A D V A N C E D D E B U G G I N G
-+ *
-+ * NOTE: EXPERIMENTAL API, NEVER RELY ON THIS IN APPLICATIONS!
-+ * FOR DEBUGGING, TESTING AND INTERNAL USE ONLY!
-+ */
-+
-+/* VIDIOC_DBG_G_REGISTER and VIDIOC_DBG_S_REGISTER */
-+
-+#define V4L2_CHIP_MATCH_HOST 0 /* Match against chip ID on host (0 for the host) */
-+#define V4L2_CHIP_MATCH_I2C_DRIVER 1 /* Match against I2C driver name */
-+#define V4L2_CHIP_MATCH_I2C_ADDR 2 /* Match against I2C 7-bit address */
-+#define V4L2_CHIP_MATCH_AC97 3 /* Match against anciliary AC97 chip */
-+
-+struct v4l2_dbg_match {
-+ __u32 type; /* Match type */
-+ union { /* Match this chip, meaning determined by type */
-+ __u32 addr;
-+ char name[32];
-+ };
-+} __attribute__ ((packed));
-+
-+struct v4l2_dbg_register {
-+ struct v4l2_dbg_match match;
-+ __u32 size; /* register size in bytes */
-+ __u64 reg;
-+ __u64 val;
-+} __attribute__ ((packed));
-+
-+/* VIDIOC_DBG_G_CHIP_IDENT */
-+struct v4l2_dbg_chip_ident {
-+ struct v4l2_dbg_match match;
-+ __u32 ident; /* chip identifier as specified in <media/v4l2-chip-ident.h> */
-+ __u32 revision; /* chip revision, chip specific */
-+} __attribute__ ((packed));
-+
-+/*
-+ * I O C T L C O D E S F O R V I D E O D E V I C E S
-+ *
-+ */
-+#define VIDIOC_QUERYCAP _IOR('V', 0, struct v4l2_capability)
-+#define VIDIOC_RESERVED _IO('V', 1)
-+#define VIDIOC_ENUM_FMT _IOWR('V', 2, struct v4l2_fmtdesc)
-+#define VIDIOC_G_FMT _IOWR('V', 4, struct v4l2_format)
-+#define VIDIOC_S_FMT _IOWR('V', 5, struct v4l2_format)
-+#define VIDIOC_REQBUFS _IOWR('V', 8, struct v4l2_requestbuffers)
-+#define VIDIOC_QUERYBUF _IOWR('V', 9, struct v4l2_buffer)
-+#define VIDIOC_G_FBUF _IOR('V', 10, struct v4l2_framebuffer)
-+#define VIDIOC_S_FBUF _IOW('V', 11, struct v4l2_framebuffer)
-+#define VIDIOC_OVERLAY _IOW('V', 14, int)
-+#define VIDIOC_QBUF _IOWR('V', 15, struct v4l2_buffer)
-+#define VIDIOC_DQBUF _IOWR('V', 17, struct v4l2_buffer)
-+#define VIDIOC_STREAMON _IOW('V', 18, int)
-+#define VIDIOC_STREAMOFF _IOW('V', 19, int)
-+#define VIDIOC_G_PARM _IOWR('V', 21, struct v4l2_streamparm)
-+#define VIDIOC_S_PARM _IOWR('V', 22, struct v4l2_streamparm)
-+#define VIDIOC_G_STD _IOR('V', 23, v4l2_std_id)
-+#define VIDIOC_S_STD _IOW('V', 24, v4l2_std_id)
-+#define VIDIOC_ENUMSTD _IOWR('V', 25, struct v4l2_standard)
-+#define VIDIOC_ENUMINPUT _IOWR('V', 26, struct v4l2_input)
-+#define VIDIOC_G_CTRL _IOWR('V', 27, struct v4l2_control)
-+#define VIDIOC_S_CTRL _IOWR('V', 28, struct v4l2_control)
-+#define VIDIOC_G_TUNER _IOWR('V', 29, struct v4l2_tuner)
-+#define VIDIOC_S_TUNER _IOW('V', 30, struct v4l2_tuner)
-+#define VIDIOC_G_AUDIO _IOR('V', 33, struct v4l2_audio)
-+#define VIDIOC_S_AUDIO _IOW('V', 34, struct v4l2_audio)
-+#define VIDIOC_QUERYCTRL _IOWR('V', 36, struct v4l2_queryctrl)
-+#define VIDIOC_QUERYMENU _IOWR('V', 37, struct v4l2_querymenu)
-+#define VIDIOC_G_INPUT _IOR('V', 38, int)
-+#define VIDIOC_S_INPUT _IOWR('V', 39, int)
-+#define VIDIOC_G_OUTPUT _IOR('V', 46, int)
-+#define VIDIOC_S_OUTPUT _IOWR('V', 47, int)
-+#define VIDIOC_ENUMOUTPUT _IOWR('V', 48, struct v4l2_output)
-+#define VIDIOC_G_AUDOUT _IOR('V', 49, struct v4l2_audioout)
-+#define VIDIOC_S_AUDOUT _IOW('V', 50, struct v4l2_audioout)
-+#define VIDIOC_G_MODULATOR _IOWR('V', 54, struct v4l2_modulator)
-+#define VIDIOC_S_MODULATOR _IOW('V', 55, struct v4l2_modulator)
-+#define VIDIOC_G_FREQUENCY _IOWR('V', 56, struct v4l2_frequency)
-+#define VIDIOC_S_FREQUENCY _IOW('V', 57, struct v4l2_frequency)
-+#define VIDIOC_CROPCAP _IOWR('V', 58, struct v4l2_cropcap)
-+#define VIDIOC_G_CROP _IOWR('V', 59, struct v4l2_crop)
-+#define VIDIOC_S_CROP _IOW('V', 60, struct v4l2_crop)
-+#define VIDIOC_G_JPEGCOMP _IOR('V', 61, struct v4l2_jpegcompression)
-+#define VIDIOC_S_JPEGCOMP _IOW('V', 62, struct v4l2_jpegcompression)
-+#define VIDIOC_QUERYSTD _IOR('V', 63, v4l2_std_id)
-+#define VIDIOC_TRY_FMT _IOWR('V', 64, struct v4l2_format)
-+#define VIDIOC_ENUMAUDIO _IOWR('V', 65, struct v4l2_audio)
-+#define VIDIOC_ENUMAUDOUT _IOWR('V', 66, struct v4l2_audioout)
-+#define VIDIOC_G_PRIORITY _IOR('V', 67, enum v4l2_priority)
-+#define VIDIOC_S_PRIORITY _IOW('V', 68, enum v4l2_priority)
-+#define VIDIOC_G_SLICED_VBI_CAP _IOWR('V', 69, struct v4l2_sliced_vbi_cap)
-+#define VIDIOC_LOG_STATUS _IO('V', 70)
-+#define VIDIOC_G_EXT_CTRLS _IOWR('V', 71, struct v4l2_ext_controls)
-+#define VIDIOC_S_EXT_CTRLS _IOWR('V', 72, struct v4l2_ext_controls)
-+#define VIDIOC_TRY_EXT_CTRLS _IOWR('V', 73, struct v4l2_ext_controls)
-+#if 1
-+#define VIDIOC_ENUM_FRAMESIZES _IOWR('V', 74, struct v4l2_frmsizeenum)
-+#define VIDIOC_ENUM_FRAMEINTERVALS _IOWR('V', 75, struct v4l2_frmivalenum)
-+#define VIDIOC_G_ENC_INDEX _IOR('V', 76, struct v4l2_enc_idx)
-+#define VIDIOC_ENCODER_CMD _IOWR('V', 77, struct v4l2_encoder_cmd)
-+#define VIDIOC_TRY_ENCODER_CMD _IOWR('V', 78, struct v4l2_encoder_cmd)
-+#endif
-+
-+#if 1
-+/* Experimental, meant for debugging, testing and internal use.
-+ Only implemented if CONFIG_VIDEO_ADV_DEBUG is defined.
-+ You must be root to use these ioctls. Never use these in applications! */
-+#define VIDIOC_DBG_S_REGISTER _IOW('V', 79, struct v4l2_dbg_register)
-+#define VIDIOC_DBG_G_REGISTER _IOWR('V', 80, struct v4l2_dbg_register)
-+
-+/* Experimental, meant for debugging, testing and internal use.
-+ Never use this ioctl in applications! */
-+#define VIDIOC_DBG_G_CHIP_IDENT _IOWR('V', 81, struct v4l2_dbg_chip_ident)
-+#endif
-+
-+#define VIDIOC_S_HW_FREQ_SEEK _IOW('V', 82, struct v4l2_hw_freq_seek)
-+#define VIDIOC_ENUM_DV_PRESETS _IOWR('V', 83, struct v4l2_dv_enum_preset)
-+#define VIDIOC_S_DV_PRESET _IOWR('V', 84, struct v4l2_dv_preset)
-+#define VIDIOC_G_DV_PRESET _IOWR('V', 85, struct v4l2_dv_preset)
-+#define VIDIOC_QUERY_DV_PRESET _IOR('V', 86, struct v4l2_dv_preset)
-+#define VIDIOC_S_DV_TIMINGS _IOWR('V', 87, struct v4l2_dv_timings)
-+#define VIDIOC_G_DV_TIMINGS _IOWR('V', 88, struct v4l2_dv_timings)
-+#define VIDIOC_DQEVENT _IOR('V', 89, struct v4l2_event)
-+#define VIDIOC_SUBSCRIBE_EVENT _IOW('V', 90, struct v4l2_event_subscription)
-+#define VIDIOC_UNSUBSCRIBE_EVENT _IOW('V', 91, struct v4l2_event_subscription)
-+
-+#define BASE_VIDIOC_PRIVATE 192 /* 192-255 are private */
-+
-+#endif /* __LINUX_VIDEODEV2_H */
diff --git a/testing/xf86-video-vesa/PKGBUILD b/testing/xf86-video-vesa/PKGBUILD
deleted file mode 100644
index 222c80a1e..000000000
--- a/testing/xf86-video-vesa/PKGBUILD
+++ /dev/null
@@ -1,33 +0,0 @@
-# $Id: PKGBUILD 168246 2012-10-06 20:08:43Z andyrtr $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=xf86-video-vesa
-pkgver=2.3.2
-pkgrel=2
-pkgdesc="X.org vesa video driver"
-arch=(i686 x86_64)
-license=('custom')
-url="http://xorg.freedesktop.org/"
-depends=('glibc')
-makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=13' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13.0' 'X-ABI-VIDEODRV_VERSION<13' 'X-ABI-VIDEODRV_VERSION>=14')
-groups=('xorg-drivers' 'xorg')
-options=('!libtool')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2
- revert-kernelcheck.patch)
-sha256sums=('144a17ffae3c86603ddc4ae33521a52813498ee1f8213faa662dc4a8d6490ee3'
- 'ef591a342cea65f1b08e84771ae0de84395c98ac8a71739dbf5c0a7f7a36543c')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- patch -Np1 -R -i "${srcdir}/revert-kernelcheck.patch"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
diff --git a/testing/xf86-video-vesa/revert-kernelcheck.patch b/testing/xf86-video-vesa/revert-kernelcheck.patch
deleted file mode 100644
index 37418cc3f..000000000
--- a/testing/xf86-video-vesa/revert-kernelcheck.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From b1f7f190f9d4f2ab63d3e9ade3e7e04bb4b1f89f Mon Sep 17 00:00:00 2001
-From: Adam Jackson <ajax@redhat.com>
-Date: Wed, 08 Dec 2010 18:45:32 +0000
-Subject: Refuse to load if there's a kernel driver bound to the device
-
-Ported from the equivalent check in nv.
-
-Signed-off-by: Adam Jackson <ajax@redhat.com>
----
-diff --git a/src/vesa.c b/src/vesa.c
-index 168fde1..2523d76 100644
---- a/src/vesa.c
-+++ b/src/vesa.c
-@@ -431,8 +431,14 @@ VESAPciProbe(DriverPtr drv, int entity_num, struct pci_device *dev,
- pScrn = xf86ConfigPciEntity(NULL, 0, entity_num, NULL,
- NULL, NULL, NULL, NULL, NULL);
- if (pScrn != NULL) {
-- VESAPtr pVesa = VESAGetRec(pScrn);
-+ VESAPtr pVesa;
-
-+ if (pci_device_has_kernel_driver(dev)) {
-+ ErrorF("vesa: Ignoring device with a bound kernel driver\n");
-+ return FALSE;
-+ }
-+
-+ pVesa = VESAGetRec(pScrn);
- VESAInitScrn(pScrn);
- pVesa->pciInfo = dev;
- }
---
-cgit v0.9.0.2-2-gbebe
diff --git a/testing/xf86-video-vmware/PKGBUILD b/testing/xf86-video-vmware/PKGBUILD
deleted file mode 100644
index fbb53aec9..000000000
--- a/testing/xf86-video-vmware/PKGBUILD
+++ /dev/null
@@ -1,33 +0,0 @@
-# $Id: PKGBUILD 168247 2012-10-06 20:08:48Z andyrtr $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=xf86-video-vmware
-pkgver=12.0.2
-pkgrel=2
-pkgdesc="X.org vmware video driver"
-arch=(i686 x86_64)
-url="http://xorg.freedesktop.org/"
-license=('custom')
-depends=('libdrm' 'svga-dri' 'mesa')
-makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=13' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13.0' 'X-ABI-VIDEODRV_VERSION<13' 'X-ABI-VIDEODRV_VERSION>=14')
-groups=('xorg-drivers' 'xorg')
-options=('!libtool' '!emptydirs')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2 git_fixes.diff)
-sha1sums=('efa47f365d88da245804a9934719ff860ed04f95'
- 'ad475b37e2614f365533a40da0fb5b9e2709e3c6')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- patch -Np1 -i ${srcdir}/git_fixes.diff
- ./configure --prefix=/usr --enable-vmwarectrl-client
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
diff --git a/testing/xf86-video-vmware/git_fixes.diff b/testing/xf86-video-vmware/git_fixes.diff
deleted file mode 100644
index 85894169e..000000000
--- a/testing/xf86-video-vmware/git_fixes.diff
+++ /dev/null
@@ -1,894 +0,0 @@
-From 46cdf0ed0ad9df66f36f95e27b209d454f67d526 Mon Sep 17 00:00:00 2001
-From: Brian Paul <brianp@vmware.com>
-Date: Fri, 20 Apr 2012 20:24:26 +0000
-Subject: vmwgfx: set the XA_FLAG_SHARED flag for composite dest surfaces
-
-This fixes a failed assertion in the gallium/svga driver in the
-svga_texture_get_handle() function. The texture resource wasn't
-getting created with the PIPE_BIND_SHARED flag so the !cachable
-assertion would fail and the X session would abort. This didn't
-happen with release builds.
-
-Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
----
-diff --git a/vmwgfx/vmwgfx_xa_surface.c b/vmwgfx/vmwgfx_xa_surface.c
-index 2a18762..8b30e45 100644
---- a/vmwgfx/vmwgfx_xa_surface.c
-+++ b/vmwgfx/vmwgfx_xa_surface.c
-@@ -148,7 +148,7 @@ vmwgfx_hw_composite_dst_stage(PixmapPtr pixmap,
-
- vpix->staging_format = format;
- vpix->staging_remove_flags = 0;
-- vpix->staging_add_flags = XA_FLAG_RENDER_TARGET;
-+ vpix->staging_add_flags = XA_FLAG_RENDER_TARGET | XA_FLAG_SHARED;
-
- return TRUE;
- }
---
-cgit v0.9.0.2-2-gbebe
-From 61df95a86f4997e342d50d7779b00aba2e8849a6 Mon Sep 17 00:00:00 2001
-From: Dave Airlie <airlied@redhat.com>
-Date: Wed, 06 Jun 2012 08:58:01 +0000
-Subject: vmware: port vmware driver to new compat API
-
-This is a port of the vmware driver to the new compat API.
-
-Tested-by: Jakob Bornecrantz <jakob@vmware.com>
-Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
-Signed-off-by: Dave Airlie <airlied@redhat.com>
-Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
----
-diff --git a/saa/saa.c b/saa/saa.c
-index 173c090..f2d68e9 100644
---- a/saa/saa.c
-+++ b/saa/saa.c
-@@ -594,7 +594,7 @@ saa_set_fallback_debug(ScreenPtr screen, Bool enable)
- * screen private, before calling down to the next CloseScreen.
- */
- Bool
--saa_close_screen(int i, ScreenPtr pScreen)
-+saa_close_screen(CLOSE_SCREEN_ARGS_DECL)
- {
- struct saa_screen_priv *sscreen = saa_screen(pScreen);
- struct saa_driver *driver = sscreen->driver;
-@@ -624,7 +624,7 @@ saa_close_screen(int i, ScreenPtr pScreen)
-
- free(sscreen);
-
-- return (*pScreen->CloseScreen) (i, pScreen);
-+ return (*pScreen->CloseScreen) (CLOSE_SCREEN_ARGS);
- }
-
- struct saa_driver *
-diff --git a/saa/saa.h b/saa/saa.h
-index c7aa3b6..4e5ced5 100644
---- a/saa/saa.h
-+++ b/saa/saa.h
-@@ -44,6 +44,8 @@
- #include <damage.h>
- #include <picturestr.h>
-
-+#include "../src/compat-api.h"
-+
- #define SAA_VERSION_MAJOR 0
- #define SAA_VERSION_MINOR 1
-
-@@ -173,7 +175,7 @@ extern _X_EXPORT RegionPtr
- saa_bitmap_to_region(PixmapPtr pPix);
-
- extern _X_EXPORT Bool
--saa_close_screen(int i, ScreenPtr pScreen);
-+saa_close_screen(CLOSE_SCREEN_ARGS_DECL);
-
- extern _X_EXPORT Bool
- saa_gc_reads_destination(DrawablePtr pDrawable, GCPtr pGC);
-diff --git a/src/Makefile.am b/src/Makefile.am
-index 04c9e0d..b0dd147 100644
---- a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -37,6 +37,7 @@ endif
- vmware_drv_la_SOURCES = \
- bits2pixels.c \
- bits2pixels.h \
-+ compat-api.h \
- guest_os.h \
- includeCheck.h \
- svga_escape.h \
-diff --git a/src/compat-api.h b/src/compat-api.h
-new file mode 100644
-index 0000000..6bc946f
---- a/dev/null
-+++ b/src/compat-api.h
-@@ -0,0 +1,99 @@
-+/*
-+ * Copyright 2012 Red Hat, Inc.
-+ *
-+ * 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 (including the next
-+ * paragraph) 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 OR COPYRIGHT HOLDERS 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.
-+ *
-+ * Author: Dave Airlie <airlied@redhat.com>
-+ */
-+
-+/* this file provides API compat between server post 1.13 and pre it,
-+ it should be reused inside as many drivers as possible */
-+#ifndef COMPAT_API_H
-+#define COMPAT_API_H
-+
-+#ifndef GLYPH_HAS_GLYPH_PICTURE_ACCESSOR
-+#define GetGlyphPicture(g, s) GlyphPicture((g))[(s)->myNum]
-+#define SetGlyphPicture(g, s, p) GlyphPicture((g))[(s)->myNum] = p
-+#endif
-+
-+#ifndef XF86_HAS_SCRN_CONV
-+#define xf86ScreenToScrn(s) xf86Screens[(s)->myNum]
-+#define xf86ScrnToScreen(s) screenInfo.screens[(s)->scrnIndex]
-+#endif
-+
-+#ifndef XF86_SCRN_INTERFACE
-+
-+#define SCRN_ARG_TYPE int
-+#define SCRN_INFO_PTR(arg1) ScrnInfoPtr pScrn = xf86Screens[(arg1)]
-+
-+#define SCREEN_ARG_TYPE int
-+#define SCREEN_PTR(arg1) ScreenPtr pScreen = screenInfo.screens[(arg1)]
-+
-+#define SCREEN_INIT_ARGS_DECL int i, ScreenPtr pScreen, int argc, char **argv
-+
-+#define BLOCKHANDLER_ARGS_DECL int arg, pointer blockData, pointer pTimeout, pointer pReadmask
-+#define BLOCKHANDLER_ARGS arg, blockData, pTimeout, pReadmask
-+
-+#define CLOSE_SCREEN_ARGS_DECL int scrnIndex, ScreenPtr pScreen
-+#define CLOSE_SCREEN_ARGS scrnIndex, pScreen
-+
-+#define ADJUST_FRAME_ARGS_DECL int arg, int x, int y, int flags
-+#define ADJUST_FRAME_ARGS(arg, x, y) (arg)->scrnIndex, x, y, 0
-+
-+#define SWITCH_MODE_ARGS_DECL int arg, DisplayModePtr mode, int flags
-+#define SWITCH_MODE_ARGS(arg, m) (arg)->scrnIndex, m, 0
-+
-+#define FREE_SCREEN_ARGS_DECL int arg, int flags
-+
-+#define VT_FUNC_ARGS_DECL int arg, int flags
-+#define VT_FUNC_ARGS pScrn->scrnIndex, 0
-+
-+#define XF86_SCRN_ARG(x) ((x)->scrnIndex)
-+#else
-+#define SCRN_ARG_TYPE ScrnInfoPtr
-+#define SCRN_INFO_PTR(arg1) ScrnInfoPtr pScrn = (arg1)
-+
-+#define SCREEN_ARG_TYPE ScreenPtr
-+#define SCREEN_PTR(arg1) ScreenPtr pScreen = (arg1)
-+
-+#define SCREEN_INIT_ARGS_DECL ScreenPtr pScreen, int argc, char **argv
-+
-+#define BLOCKHANDLER_ARGS_DECL ScreenPtr arg, pointer pTimeout, pointer pReadmask
-+#define BLOCKHANDLER_ARGS arg, pTimeout, pReadmask
-+
-+#define CLOSE_SCREEN_ARGS_DECL ScreenPtr pScreen
-+#define CLOSE_SCREEN_ARGS pScreen
-+
-+#define ADJUST_FRAME_ARGS_DECL ScrnInfoPtr arg, int x, int y
-+#define ADJUST_FRAME_ARGS(arg, x, y) arg, x, y
-+
-+#define SWITCH_MODE_ARGS_DECL ScrnInfoPtr arg, DisplayModePtr mode
-+#define SWITCH_MODE_ARGS(arg, m) arg, m
-+
-+#define FREE_SCREEN_ARGS_DECL ScrnInfoPtr arg
-+
-+#define VT_FUNC_ARGS_DECL ScrnInfoPtr arg
-+#define VT_FUNC_ARGS pScrn
-+
-+#define XF86_SCRN_ARG(x) (x)
-+
-+#endif
-+
-+#endif
-diff --git a/src/vmware.c b/src/vmware.c
-index e3892f1..41201f1 100644
---- a/src/vmware.c
-+++ b/src/vmware.c
-@@ -901,8 +901,8 @@ VMWAREModeInit(ScrnInfoPtr pScrn, DisplayModePtr mode, Bool rebuildPixmap)
- pScrn->pScreen->rootDepth),
- (pointer)(pVMWARE->FbBase + pScrn->fbOffset));
-
-- (*pScrn->EnableDisableFBAccess)(pScrn->pScreen->myNum, FALSE);
-- (*pScrn->EnableDisableFBAccess)(pScrn->pScreen->myNum, TRUE);
-+ (*pScrn->EnableDisableFBAccess)(XF86_SCRN_ARG(pScrn), FALSE);
-+ (*pScrn->EnableDisableFBAccess)(XF86_SCRN_ARG(pScrn), TRUE);
- }
-
- vgaHWProtect(pScrn, FALSE);
-@@ -1018,7 +1018,7 @@ vmwareNextXineramaState(VMWAREPtr pVMWARE)
- }
-
- static void
--VMWAREAdjustFrame(int scrnIndex, int x, int y, int flags)
-+VMWAREAdjustFrame(ADJUST_FRAME_ARGS_DECL)
- {
- /* FIXME */
- }
-@@ -1089,9 +1089,9 @@ VMWAREStopFIFO(ScrnInfoPtr pScrn)
- }
-
- static Bool
--VMWARECloseScreen(int scrnIndex, ScreenPtr pScreen)
-+VMWARECloseScreen(CLOSE_SCREEN_ARGS_DECL)
- {
-- ScrnInfoPtr pScrn = xf86Screens[scrnIndex];
-+ ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen);
- VMWAREPtr pVMWARE = VMWAREPTR(pScrn);
- ScreenPtr save = &pVMWARE->ScrnFuncs;
-
-@@ -1119,7 +1119,7 @@ VMWARECloseScreen(int scrnIndex, ScreenPtr pScreen)
- pScrn->DriverFunc = NULL;
- #endif
-
-- return (*pScreen->CloseScreen)(scrnIndex, pScreen);
-+ return (*pScreen->CloseScreen)(CLOSE_SCREEN_ARGS);
- }
-
- static Bool
-@@ -1296,16 +1296,14 @@ vmwareIsRegionEqual(const RegionPtr reg1,
- }
-
- static Bool
--VMWAREScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
-+VMWAREScreenInit(SCREEN_INIT_ARGS_DECL)
- {
-- ScrnInfoPtr pScrn;
-+ ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen);
- vgaHWPtr hwp;
- VMWAREPtr pVMWARE;
- OptionInfoPtr options;
- Bool useXinerama = TRUE;
-
-- /* Get the ScrnInfoRec */
-- pScrn = xf86Screens[pScreen->myNum];
- pVMWARE = VMWAREPTR(pScrn);
-
-
-@@ -1381,7 +1379,7 @@ VMWAREScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
- VMWAREModeInit(pScrn, pScrn->currentMode, FALSE);
-
- /* Set the viewport if supported */
-- VMWAREAdjustFrame(scrnIndex, pScrn->frameX0, pScrn->frameY0, 0);
-+ VMWAREAdjustFrame(ADJUST_FRAME_ARGS(pScrn, pScrn->frameX0, pScrn->frameY0));
-
- /*
- * Setup the screen's visuals, and initialise the framebuffer
-@@ -1582,10 +1580,9 @@ VMWAREScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
- }
-
- static Bool
--VMWARESwitchMode(int scrnIndex, DisplayModePtr mode, int flags)
--
-+VMWARESwitchMode(SWITCH_MODE_ARGS_DECL)
- {
-- ScrnInfoPtr pScrn = xf86Screens[scrnIndex];
-+ SCRN_INFO_PTR(arg);
- ScreenPtr pScreen = pScrn->pScreen;
-
- pScreen->mmWidth = (pScreen->width * VMWARE_INCHTOMM +
-@@ -1597,9 +1594,9 @@ VMWARESwitchMode(int scrnIndex, DisplayModePtr mode, int flags)
- }
-
- static Bool
--VMWAREEnterVT(int scrnIndex, int flags)
-+VMWAREEnterVT(VT_FUNC_ARGS_DECL)
- {
-- ScrnInfoPtr pScrn = xf86Screens[scrnIndex];
-+ SCRN_INFO_PTR(arg);
- VMWAREPtr pVMWARE = VMWAREPTR(pScrn);
-
- /*
-@@ -1616,9 +1613,9 @@ VMWAREEnterVT(int scrnIndex, int flags)
- }
-
- static void
--VMWARELeaveVT(int scrnIndex, int flags)
-+VMWARELeaveVT(VT_FUNC_ARGS_DECL)
- {
-- ScrnInfoPtr pScrn = xf86Screens[scrnIndex];
-+ SCRN_INFO_PTR(arg);
- VMWAREPtr pVMWARE = VMWAREPTR(pScrn);
-
- /*
-@@ -1631,17 +1628,18 @@ VMWARELeaveVT(int scrnIndex, int flags)
- }
-
- static void
--VMWAREFreeScreen(int scrnIndex, int flags)
-+VMWAREFreeScreen(FREE_SCREEN_ARGS_DECL)
- {
-+ SCRN_INFO_PTR(arg);
- /*
- * If the vgahw module is used vgaHWFreeHWRec() would be called
- * here.
- */
-- VMWAREFreeRec(xf86Screens[scrnIndex]);
-+ VMWAREFreeRec(pScrn);
- }
-
- static ModeStatus
--VMWAREValidMode(int scrnIndex, DisplayModePtr mode, Bool verbose, int flags)
-+VMWAREValidMode(SCRN_ARG_TYPE arg, DisplayModePtr mode, Bool verbose, int flags)
- {
- return MODE_OK;
- }
-diff --git a/src/vmware.h b/src/vmware.h
-index 458390a..4818e16 100644
---- a/src/vmware.h
-+++ b/src/vmware.h
-@@ -177,7 +177,7 @@ typedef struct {
- #define VMWAREPTR(p) ((VMWAREPtr)((p)->driverPrivate))
-
- static __inline ScrnInfoPtr infoFromScreen(ScreenPtr s) {
-- return xf86Screens[s->myNum];
-+ return xf86ScreenToScrn(s);
- }
-
- #define MIN(a,b) ((a)<(b)?(a):(b))
-diff --git a/src/vmware_common.h b/src/vmware_common.h
-index 9cd7194..5629c10 100644
---- a/src/vmware_common.h
-+++ b/src/vmware_common.h
-@@ -32,6 +32,8 @@
- #include <X11/extensions/panoramiXproto.h>
- #include <xf86.h>
-
-+#include "compat-api.h"
-+
- xXineramaScreenInfo *
- VMWAREParseTopologyString(ScrnInfoPtr pScrn,
- const char *topology,
-diff --git a/vmwgfx/vmwgfx_dri2.c b/vmwgfx/vmwgfx_dri2.c
-index 1b82ac4..7de0772 100644
---- a/vmwgfx/vmwgfx_dri2.c
-+++ b/vmwgfx/vmwgfx_dri2.c
-@@ -83,7 +83,7 @@ static Bool
- dri2_do_create_buffer(DrawablePtr pDraw, DRI2Buffer2Ptr buffer, unsigned int format)
- {
- ScreenPtr pScreen = pDraw->pScreen;
-- ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum];
-+ ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen);
- modesettingPtr ms = modesettingPTR(pScrn);
- BufferPrivatePtr private = buffer->driverPrivate;
- PixmapPtr pPixmap;
-@@ -371,7 +371,7 @@ dri2_copy_region(DrawablePtr pDraw, RegionPtr pRegion,
- Bool
- xorg_dri2_init(ScreenPtr pScreen)
- {
-- ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum];
-+ ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen);
- modesettingPtr ms = modesettingPTR(pScrn);
- DRI2InfoRec dri2info;
- int major, minor;
-diff --git a/vmwgfx/vmwgfx_driver.c b/vmwgfx/vmwgfx_driver.c
-index ed1eb8c..9959ffb 100644
---- a/vmwgfx/vmwgfx_driver.c
-+++ b/vmwgfx/vmwgfx_driver.c
-@@ -107,14 +107,13 @@ typedef uint8_t uint8;
- */
-
- static Bool drv_pre_init(ScrnInfoPtr pScrn, int flags);
--static Bool drv_screen_init(int scrnIndex, ScreenPtr pScreen, int argc,
-- char **argv);
--static Bool drv_switch_mode(int scrnIndex, DisplayModePtr mode, int flags);
--static void drv_adjust_frame(int scrnIndex, int x, int y, int flags);
--static Bool drv_enter_vt(int scrnIndex, int flags);
--static void drv_leave_vt(int scrnIndex, int flags);
--static void drv_free_screen(int scrnIndex, int flags);
--static ModeStatus drv_valid_mode(int scrnIndex, DisplayModePtr mode, Bool verbose,
-+static Bool drv_screen_init(SCREEN_INIT_ARGS_DECL);
-+static Bool drv_switch_mode(SWITCH_MODE_ARGS_DECL);
-+static void drv_adjust_frame(ADJUST_FRAME_ARGS_DECL);
-+static Bool drv_enter_vt(VT_FUNC_ARGS_DECL);
-+static void drv_leave_vt(VT_FUNC_ARGS_DECL);
-+static void drv_free_screen(FREE_SCREEN_ARGS_DECL);
-+static ModeStatus drv_valid_mode(SCRN_ARG_TYPE arg, DisplayModePtr mode, Bool verbose,
- int flags);
-
- extern void xorg_tracker_set_functions(ScrnInfoPtr scrn);
-@@ -133,7 +132,7 @@ vmwgfx_hookup(ScrnInfoPtr pScrn)
- * Internal function definitions
- */
-
--static Bool drv_close_screen(int scrnIndex, ScreenPtr pScreen);
-+static Bool drv_close_screen(CLOSE_SCREEN_ARGS_DECL);
-
- /*
- * Internal functions
-@@ -633,7 +632,7 @@ vmwgfx_scanout_present(ScreenPtr pScreen, int drm_fd,
-
- void xorg_flush(ScreenPtr pScreen)
- {
-- ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum];
-+ ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen);
- modesettingPtr ms = modesettingPTR(pScrn);
- xf86CrtcConfigPtr config = XF86_CRTC_CONFIG_PTR(pScrn);
- PixmapPtr pixmap = NULL;
-@@ -708,14 +707,13 @@ void xorg_flush(ScreenPtr pScreen)
- free(pixmaps);
- }
-
--static void drv_block_handler(int i, pointer blockData, pointer pTimeout,
-- pointer pReadmask)
-+static void drv_block_handler(BLOCKHANDLER_ARGS_DECL)
- {
-- ScreenPtr pScreen = screenInfo.screens[i];
-- modesettingPtr ms = modesettingPTR(xf86Screens[pScreen->myNum]);
-+ SCREEN_PTR(arg);
-+ modesettingPtr ms = modesettingPTR(xf86ScreenToScrn(pScreen));
-
- vmwgfx_swap(ms, pScreen, BlockHandler);
-- pScreen->BlockHandler(i, blockData, pTimeout, pReadmask);
-+ pScreen->BlockHandler(BLOCKHANDLER_ARGS);
- vmwgfx_swap(ms, pScreen, BlockHandler);
-
- vmwgfx_flush_dri2(pScreen);
-@@ -725,7 +723,7 @@ static void drv_block_handler(int i, pointer blockData, pointer pTimeout,
- static Bool
- drv_create_screen_resources(ScreenPtr pScreen)
- {
-- ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum];
-+ ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen);
- modesettingPtr ms = modesettingPTR(pScrn);
- Bool ret;
-
-@@ -735,9 +733,9 @@ drv_create_screen_resources(ScreenPtr pScreen)
- if (!ret)
- return ret;
-
-- drv_adjust_frame(pScrn->scrnIndex, pScrn->frameX0, pScrn->frameY0, 0);
-+ drv_adjust_frame(ADJUST_FRAME_ARGS(pScrn, pScrn->frameX0, pScrn->frameY0));
-
-- return drv_enter_vt(pScreen->myNum, 1);
-+ return drv_enter_vt(VT_FUNC_ARGS);
- }
-
- static Bool
-@@ -773,7 +771,7 @@ drv_set_master(ScrnInfoPtr pScrn)
- static Bool
- vmwgfx_use_hw_cursor_argb(ScreenPtr screen, CursorPtr cursor)
- {
-- ScrnInfoPtr pScrn = xf86Screens[screen->myNum];
-+ ScrnInfoPtr pScrn = xf86ScreenToScrn(screen);
- xf86CrtcConfigPtr xf86_config = XF86_CRTC_CONFIG_PTR(pScrn);
- xf86CursorInfoPtr cursor_info = xf86_config->cursor_info;
- modesettingPtr ms = modesettingPTR(pScrn);
-@@ -804,7 +802,7 @@ vmwgfx_use_hw_cursor_argb(ScreenPtr screen, CursorPtr cursor)
- static Bool
- vmwgfx_use_hw_cursor(ScreenPtr screen, CursorPtr cursor)
- {
-- ScrnInfoPtr pScrn = xf86Screens[screen->myNum];
-+ ScrnInfoPtr pScrn = xf86ScreenToScrn(screen);
- xf86CrtcConfigPtr xf86_config = XF86_CRTC_CONFIG_PTR(pScrn);
- xf86CursorInfoPtr cursor_info = xf86_config->cursor_info;
- modesettingPtr ms = modesettingPTR(pScrn);
-@@ -902,9 +900,9 @@ static void drv_load_palette(ScrnInfoPtr pScrn, int numColors,
-
-
- static Bool
--drv_screen_init(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
-+drv_screen_init(SCREEN_INIT_ARGS_DECL)
- {
-- ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum];
-+ ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen);
- modesettingPtr ms = modesettingPTR(pScrn);
- VisualPtr visual;
-
-@@ -1088,9 +1086,9 @@ drv_screen_init(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
- }
-
- static void
--drv_adjust_frame(int scrnIndex, int x, int y, int flags)
-+drv_adjust_frame(ADJUST_FRAME_ARGS_DECL)
- {
-- ScrnInfoPtr pScrn = xf86Screens[scrnIndex];
-+ SCRN_INFO_PTR(arg);
- xf86CrtcConfigPtr config = XF86_CRTC_CONFIG_PTR(pScrn);
- xf86OutputPtr output = config->output[config->compat_output];
- xf86CrtcPtr crtc = output->crtc;
-@@ -1104,15 +1102,16 @@ drv_adjust_frame(int scrnIndex, int x, int y, int flags)
- }
-
- static void
--drv_free_screen(int scrnIndex, int flags)
-+drv_free_screen(FREE_SCREEN_ARGS_DECL)
- {
-- drv_free_rec(xf86Screens[scrnIndex]);
-+ SCRN_INFO_PTR(arg);
-+ drv_free_rec(pScrn);
- }
-
- static void
--drv_leave_vt(int scrnIndex, int flags)
-+drv_leave_vt(VT_FUNC_ARGS_DECL)
- {
-- ScrnInfoPtr pScrn = xf86Screens[scrnIndex];
-+ SCRN_INFO_PTR(arg);
- modesettingPtr ms = modesettingPTR(pScrn);
-
- vmwgfx_cursor_bypass(ms->fd, 0, 0);
-@@ -1130,9 +1129,9 @@ drv_leave_vt(int scrnIndex, int flags)
- * This gets called when gaining control of the VT, and from ScreenInit().
- */
- static Bool
--drv_enter_vt(int scrnIndex, int flags)
-+drv_enter_vt(VT_FUNC_ARGS_DECL)
- {
-- ScrnInfoPtr pScrn = xf86Screens[scrnIndex];
-+ SCRN_INFO_PTR(arg);
-
- if (!drv_set_master(pScrn))
- return FALSE;
-@@ -1144,17 +1143,17 @@ drv_enter_vt(int scrnIndex, int flags)
- }
-
- static Bool
--drv_switch_mode(int scrnIndex, DisplayModePtr mode, int flags)
-+drv_switch_mode(SWITCH_MODE_ARGS_DECL)
- {
-- ScrnInfoPtr pScrn = xf86Screens[scrnIndex];
-+ SCRN_INFO_PTR(arg);
-
- return xf86SetSingleMode(pScrn, mode, RR_Rotate_0);
- }
-
- static Bool
--drv_close_screen(int scrnIndex, ScreenPtr pScreen)
-+drv_close_screen(CLOSE_SCREEN_ARGS_DECL)
- {
-- ScrnInfoPtr pScrn = xf86Screens[scrnIndex];
-+ ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen);
- modesettingPtr ms = modesettingPTR(pScrn);
-
- if (ms->cursor) {
-@@ -1166,7 +1165,7 @@ drv_close_screen(int scrnIndex, ScreenPtr pScreen)
- xorg_dri2_close(pScreen);
-
- if (pScrn->vtSema)
-- pScrn->LeaveVT(scrnIndex, 0);
-+ pScrn->LeaveVT(VT_FUNC_ARGS);
-
- pScrn->vtSema = FALSE;
-
-@@ -1180,11 +1179,11 @@ drv_close_screen(int scrnIndex, ScreenPtr pScreen)
- if (ms->xat)
- xa_tracker_destroy(ms->xat);
-
-- return (*pScreen->CloseScreen) (scrnIndex, pScreen);
-+ return (*pScreen->CloseScreen) (CLOSE_SCREEN_ARGS);
- }
-
- static ModeStatus
--drv_valid_mode(int scrnIndex, DisplayModePtr mode, Bool verbose, int flags)
-+drv_valid_mode(SCRN_ARG_TYPE arg, DisplayModePtr mode, Bool verbose, int flags)
- {
- return MODE_OK;
- }
-diff --git a/vmwgfx/vmwgfx_driver.h b/vmwgfx/vmwgfx_driver.h
-index 4fcfed6..f78a85f 100644
---- a/vmwgfx/vmwgfx_driver.h
-+++ b/vmwgfx/vmwgfx_driver.h
-@@ -46,6 +46,7 @@
- #include <xa_tracker.h>
- #include <xf86Module.h>
-
-+#include "../src/compat-api.h"
- #ifdef DRI2
- #include <dri2.h>
- #if (!defined(DRI2INFOREC_VERSION) || (DRI2INFOREC_VERSION < 3))
-@@ -118,9 +119,9 @@ typedef struct _modesettingRec
- ScreenBlockHandlerProcPtr saved_BlockHandler;
- CreateScreenResourcesProcPtr saved_CreateScreenResources;
- CloseScreenProcPtr saved_CloseScreen;
-- Bool (*saved_EnterVT)(int, int);
-- void (*saved_LeaveVT)(int, int);
-- void (*saved_AdjustFrame)(int, int, int, int);
-+ Bool (*saved_EnterVT)(VT_FUNC_ARGS_DECL);
-+ void (*saved_LeaveVT)(VT_FUNC_ARGS_DECL);
-+ void (*saved_AdjustFrame)(ADJUST_FRAME_ARGS_DECL);
- Bool (*saved_UseHWCursor)(ScreenPtr, CursorPtr);
- Bool (*saved_UseHWCursorARGB)(ScreenPtr, CursorPtr);
-
-diff --git a/vmwgfx/vmwgfx_saa.c b/vmwgfx/vmwgfx_saa.c
-index 469598a..63df3a1 100644
---- a/vmwgfx/vmwgfx_saa.c
-+++ b/vmwgfx/vmwgfx_saa.c
-@@ -460,7 +460,7 @@ vmwgfx_flush_dri2(ScreenPtr pScreen)
- struct vmwgfx_saa *vsaa =
- to_vmwgfx_saa(saa_get_driver(pScreen));
- struct _WsbmListHead *list, *next;
-- ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum];
-+ ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen);
-
- if (!pScrn->vtSema)
- return;
-@@ -1199,7 +1199,7 @@ vmwgfx_operation_complete(struct saa_driver *driver,
- struct vmwgfx_saa *vsaa = to_vmwgfx_saa(driver);
- struct saa_pixmap *spix = saa_get_saa_pixmap(pixmap);
- struct vmwgfx_saa_pixmap *vpix = to_vmwgfx_saa_pixmap(spix);
-- ScrnInfoPtr pScrn = xf86Screens[vsaa->pScreen->myNum];
-+ ScrnInfoPtr pScrn = xf86ScreenToScrn(vsaa->pScreen);
-
- /*
- * Make dri2 drawables up to date, or add them to the flush list
-diff --git a/vmwgfx/vmwgfx_tex_video.c b/vmwgfx/vmwgfx_tex_video.c
-index af53379..449266b 100644
---- a/vmwgfx/vmwgfx_tex_video.c
-+++ b/vmwgfx/vmwgfx_tex_video.c
-@@ -638,7 +638,7 @@ put_image(ScrnInfoPtr pScrn,
- DrawablePtr pDraw)
- {
- struct xorg_xv_port_priv *pPriv = (struct xorg_xv_port_priv *) data;
-- ScreenPtr pScreen = screenInfo.screens[pScrn->scrnIndex];
-+ ScreenPtr pScreen = xf86ScrnToScreen(pScrn);
- PixmapPtr pPixmap;
- INT32 x1, x2, y1, y2;
- BoxRec dstBox;
-@@ -732,7 +732,7 @@ vmwgfx_free_textured_adaptor(XF86VideoAdaptorPtr adaptor, Bool free_ports)
- static XF86VideoAdaptorPtr
- xorg_setup_textured_adapter(ScreenPtr pScreen)
- {
-- ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum];
-+ ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen);
- modesettingPtr ms = modesettingPTR(pScrn);
- XF86VideoAdaptorPtr adapt;
- XF86AttributePtr attrs;
-@@ -799,7 +799,7 @@ xorg_setup_textured_adapter(ScreenPtr pScreen)
- void
- xorg_xv_init(ScreenPtr pScreen)
- {
-- ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum];
-+ ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen);
- modesettingPtr ms = modesettingPTR(pScrn);
- XF86VideoAdaptorPtr *adaptors, *new_adaptors = NULL;
- XF86VideoAdaptorPtr textured_adapter = NULL, overlay_adaptor = NULL;
---
-cgit v0.9.0.2-2-gbebe
-From 50c01998c7800bc02fd6656cc14efa715bf63e08 Mon Sep 17 00:00:00 2001
-From: Robert Hooker <sarvatt@ubuntu.com>
-Date: Fri, 15 Jun 2012 15:56:59 +0000
-Subject: vmware: Fix up some warnings after new compat API change.
-
-Fixes multiple instances of these warnings on x86_64:
-../../src/vmware.h:180:5: warning: implicit declaration of function 'xf86ScreenToScrn' [-Wimplicit-function-declaration]
-../../src/vmware.h:180:5: warning: nested extern declaration of 'xf86ScreenToScrn' [-Wnested-externs]
-../../src/vmware.h:180:5: warning: return makes pointer from integer without a cast [enabled by default]
-Function `xf86ScreenToScrn' implicitly converted to pointer at ../../src/vmware.h:180
-
-Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
-Signed-off-by: Robert Hooker <sarvatt@ubuntu.com>
-Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
----
-diff --git a/src/vmware.h b/src/vmware.h
-index 4818e16..be113bb 100644
---- a/src/vmware.h
-+++ b/src/vmware.h
-@@ -18,6 +18,7 @@
- #include "xf86.h"
- #include "xf86_OSproc.h"
-
-+#include "compat-api.h"
-
- #include <X11/extensions/panoramiXproto.h>
-
---
-cgit v0.9.0.2-2-gbebe
-From 46c0862d205eefa985e36a74391ca392640cb898 Mon Sep 17 00:00:00 2001
-From: Dave Airlie <airlied@redhat.com>
-Date: Sat, 16 Jun 2012 13:43:52 +0000
-Subject: vmware: drop infoFromScreen inline in favour of new interface
-
-This also should fix the build regression introduced with the fix
-for this macro.
-
-Signed-off-by: Dave Airlie <airlied@redhat.com>
----
-diff --git a/src/vmware.h b/src/vmware.h
-index be113bb..028dff3 100644
---- a/src/vmware.h
-+++ b/src/vmware.h
-@@ -18,8 +18,6 @@
- #include "xf86.h"
- #include "xf86_OSproc.h"
-
--#include "compat-api.h"
--
- #include <X11/extensions/panoramiXproto.h>
-
- #ifdef XSERVER_LIBPCIACCESS
-@@ -177,10 +175,6 @@ typedef struct {
-
- #define VMWAREPTR(p) ((VMWAREPtr)((p)->driverPrivate))
-
--static __inline ScrnInfoPtr infoFromScreen(ScreenPtr s) {
-- return xf86ScreenToScrn(s);
--}
--
- #define MIN(a,b) ((a)<(b)?(a):(b))
- #define MAX(a,b) ((a)>(b)?(a):(b))
- #define ABS(x) (((x) >= 0) ? (x) : -(x))
-diff --git a/src/vmwarecurs.c b/src/vmwarecurs.c
-index 2e2effb..93dacc0 100644
---- a/src/vmwarecurs.c
-+++ b/src/vmwarecurs.c
-@@ -12,6 +12,7 @@ char rcsId_vmwarecurs[] =
- #endif
-
- #include "vmware.h"
-+#include "vmware_common.h"
- #include "bits2pixels.h"
-
- static void VMWAREGetImage(DrawablePtr src, int x, int y, int w, int h,
-@@ -110,7 +111,7 @@ vmwareSetCursorColors(ScrnInfoPtr pScrn, int bg, int fg)
- static Bool
- vmwareUseHWCursor(ScreenPtr pScreen, CursorPtr pCurs)
- {
-- ScrnInfoPtr pScrn = infoFromScreen(pScreen);
-+ ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen);
- VMWAREPtr pVMWARE = VMWAREPTR(pScrn);
- VmwareLog(("UseHWCursor new cursor %p refcnt %i old cursor %p refcnt %i\n",
- pCurs, pCurs->refcnt, pVMWARE->oldCurs, pVMWARE->oldCurs ? pVMWARE->oldCurs->refcnt : 0));
-@@ -145,7 +146,7 @@ vmwareLoadCursorImage(ScrnInfoPtr pScrn, unsigned char *src )
- static Bool
- vmwareUseHWCursorARGB(ScreenPtr pScreen, CursorPtr pCurs)
- {
-- ScrnInfoPtr pScrn = infoFromScreen(pScreen);
-+ ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen);
- VMWAREPtr pVMWARE = VMWAREPTR(pScrn);
- VmwareLog(("UseHWCursorARGB new cursor %p refcnt %i old cursor %p refcnt %i\n",
- pCurs, pCurs->refcnt, pVMWARE->oldCurs, pVMWARE->oldCurs ? pVMWARE->oldCurs->refcnt : 0));
-@@ -283,7 +284,7 @@ Bool
- vmwareCursorInit(ScreenPtr pScreen)
- {
- xf86CursorInfoPtr infoPtr;
-- VMWAREPtr pVMWARE = VMWAREPTR(infoFromScreen(pScreen));
-+ VMWAREPtr pVMWARE = VMWAREPTR(xf86ScreenToScrn(pScreen));
- Bool ret;
-
- TRACEPOINT
-@@ -330,7 +331,7 @@ vmwareCursorInit(ScreenPtr pScreen)
- void
- vmwareCursorCloseScreen(ScreenPtr pScreen)
- {
-- ScrnInfoPtr pScrn = infoFromScreen(pScreen);
-+ ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen);
- VMWAREPtr pVMWARE = VMWAREPTR(pScrn);
- #ifdef RENDER
- PictureScreenPtr ps = GetPictureScreenIfSet(pScreen);
-@@ -356,7 +357,7 @@ vmwareCursorCloseScreen(ScreenPtr pScreen)
- void
- vmwareCursorHookWrappers(ScreenPtr pScreen)
- {
-- VMWAREPtr pVMWARE = VMWAREPTR(infoFromScreen(pScreen));
-+ VMWAREPtr pVMWARE = VMWAREPTR(xf86ScreenToScrn(pScreen));
- #ifdef RENDER
- PictureScreenPtr ps = GetPictureScreenIfSet(pScreen);
- #endif
-@@ -382,7 +383,7 @@ VMWAREGetImage(DrawablePtr src, int x, int y, int w, int h,
- unsigned int format, unsigned long planeMask, char *pBinImage)
- {
- ScreenPtr pScreen = src->pScreen;
-- VMWAREPtr pVMWARE = VMWAREPTR(infoFromScreen(src->pScreen));
-+ VMWAREPtr pVMWARE = VMWAREPTR(xf86ScreenToScrn(src->pScreen));
- BoxRec box;
- Bool hidden = FALSE;
-
-@@ -412,7 +413,7 @@ static void
- VMWARECopyWindow(WindowPtr pWin, DDXPointRec ptOldOrg, RegionPtr prgnSrc)
- {
- ScreenPtr pScreen = pWin->drawable.pScreen;
-- VMWAREPtr pVMWARE = VMWAREPTR(infoFromScreen(pWin->drawable.pScreen));
-+ VMWAREPtr pVMWARE = VMWAREPTR(xf86ScreenToScrn(pWin->drawable.pScreen));
- BoxPtr pBB;
- Bool hidden = FALSE;
-
-@@ -448,7 +449,7 @@ VMWAREComposite(CARD8 op, PicturePtr pSrc, PicturePtr pMask,
- CARD16 width, CARD16 height)
- {
- ScreenPtr pScreen = pDst->pDrawable->pScreen;
-- VMWAREPtr pVMWARE = VMWAREPTR(infoFromScreen(pScreen));
-+ VMWAREPtr pVMWARE = VMWAREPTR(xf86ScreenToScrn(pScreen));
- PictureScreenPtr ps = GetPictureScreen(pScreen);
- BoxRec box;
- Bool hidden = FALSE;
-diff --git a/src/vmwarevideo.c b/src/vmwarevideo.c
-index 71f21fe..745c71f 100644
---- a/src/vmwarevideo.c
-+++ b/src/vmwarevideo.c
-@@ -39,6 +39,7 @@
- #endif
-
- #include "vmware.h"
-+#include "vmware_common.h"
- #include "xf86xv.h"
- #include "fourcc.h"
- #include "svga_escape.h"
-@@ -435,7 +436,7 @@ vmwareVideoEnabled(VMWAREPtr pVMWARE)
- Bool
- vmwareVideoInit(ScreenPtr pScreen)
- {
-- ScrnInfoPtr pScrn = infoFromScreen(pScreen);
-+ ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen);
- XF86VideoAdaptorPtr *overlayAdaptors, *newAdaptors = NULL;
- XF86VideoAdaptorPtr newAdaptor = NULL;
- int numAdaptors;
-@@ -504,7 +505,7 @@ vmwareVideoInit(ScreenPtr pScreen)
- void
- vmwareVideoEnd(ScreenPtr pScreen)
- {
-- ScrnInfoPtr pScrn = infoFromScreen(pScreen);
-+ ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen);
- VMWAREPtr pVMWARE = VMWAREPTR(pScrn);
- VMWAREVideoPtr pVid;
- int i;
---
-cgit v0.9.0.2-2-gbebe
-From e5ac80d8f72963313358e31cfb1ab98583e26f23 Mon Sep 17 00:00:00 2001
-From: Dave Airlie <airlied@redhat.com>
-Date: Tue, 03 Jul 2012 12:50:30 +0000
-Subject: vmware: avoid warnings about shadowing 'i'
-
-Signed-off-by: Dave Airlie <airlied@redhat.com>
----
-diff --git a/src/compat-api.h b/src/compat-api.h
-index 6bc946f..205ac59 100644
---- a/src/compat-api.h
-+++ b/src/compat-api.h
-@@ -46,7 +46,7 @@
- #define SCREEN_ARG_TYPE int
- #define SCREEN_PTR(arg1) ScreenPtr pScreen = screenInfo.screens[(arg1)]
-
--#define SCREEN_INIT_ARGS_DECL int i, ScreenPtr pScreen, int argc, char **argv
-+#define SCREEN_INIT_ARGS_DECL int scrnIndex, ScreenPtr pScreen, int argc, char **argv
-
- #define BLOCKHANDLER_ARGS_DECL int arg, pointer blockData, pointer pTimeout, pointer pReadmask
- #define BLOCKHANDLER_ARGS arg, blockData, pTimeout, pReadmask
---
-cgit v0.9.0.2-2-gbebe
-From 007bed30270ca9548dfe6e359972b56cbb8e2f13 Mon Sep 17 00:00:00 2001
-From: Jakob Bornecrantz <jakob@vmware.com>
-Date: Tue, 29 May 2012 21:01:14 +0000
-Subject: vmwgfx: Guard against null rotate pixmap in shadow destroy
-
-Reviewed-by: Thomas Hellström <thellstrom@vmware.com>
-Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
----
-diff --git a/vmwgfx/vmwgfx_crtc.c b/vmwgfx/vmwgfx_crtc.c
-index eaf87b2..fec04c0 100644
---- a/vmwgfx/vmwgfx_crtc.c
-+++ b/vmwgfx/vmwgfx_crtc.c
-@@ -250,8 +250,12 @@ crtc_shadow_create(xf86CrtcPtr crtc, void *data, int width, int height)
- static void
- crtc_shadow_destroy(xf86CrtcPtr crtc, PixmapPtr rotate_pixmap, void *data)
- {
-- ScreenPtr pScreen = rotate_pixmap->drawable.pScreen;
-+ ScreenPtr pScreen;
-
-+ if (rotate_pixmap == NULL)
-+ return;
-+
-+ pScreen = rotate_pixmap->drawable.pScreen;
- pScreen->DestroyPixmap(rotate_pixmap);
- }
-
---
-cgit v0.9.0.2-2-gbebe
diff --git a/testing/xf86-video-voodoo/PKGBUILD b/testing/xf86-video-voodoo/PKGBUILD
deleted file mode 100644
index a3330b479..000000000
--- a/testing/xf86-video-voodoo/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# $Id: PKGBUILD 168248 2012-10-06 20:08:51Z andyrtr $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=xf86-video-voodoo
-pkgver=1.2.5
-pkgrel=2
-pkgdesc="X.org 3dfx Voodoo1/Voodoo2 2D video driver"
-arch=(i686 x86_64)
-url="http://xorg.freedesktop.org/"
-license=('custom')
-depends=('glibc')
-makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=13' 'xf86dgaproto' 'resourceproto' 'scrnsaverproto')
-conflicts=('xorg-server<1.13.0' 'X-ABI-VIDEODRV_VERSION<13' 'X-ABI-VIDEODRV_VERSION>=14')
-groups=('xorg-drivers' 'xorg')
-options=('!libtool')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('9e3eb8a3fdcc60ce4f7c37649188cfa67dcf25cda3a85d8027588458bb3fd7e8')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
diff --git a/testing/xsp/PKGBUILD b/testing/xsp/PKGBUILD
deleted file mode 100644
index 855cb2480..000000000
--- a/testing/xsp/PKGBUILD
+++ /dev/null
@@ -1,64 +0,0 @@
-# $Id: PKGBUILD 168255 2012-10-06 23:51:34Z tomegun $
-# Maintainer: Daniel Isenmann <daniel@archlinux.org>
-# Contributor: Tobias Kieslich <tobias@justdreams.de>
-
-pkgname=xsp
-pkgver=2.10.2
-pkgrel=4
-pkgdesc="A simple webserver based on mono - provides ASP.NET support"
-arch=(i686 x86_64)
-license=('custom')
-url="http://www.go-mono.com"
-depends=('mono>=2.10.2' 'sqlite')
-options=(!makeflags)
-install=${pkgname}.install
-source=(http://download.mono-project.com/sources/xsp/xsp-2.10.2.tar.bz2
- ${pkgname}.rc.d ${pkgname}.conf.d ${pkgname}.webapp ${pkgname}.service)
-
-build() {
- # get rid of that .wapi errors; thanks to brice
- export MONO_SHARED_DIR=${srcdir}/src/weird
- mkdir -p "${MONO_SHARED_DIR}"
- # import pathes
- # build
- cd ${srcdir}/${pkgname}-${pkgver}
- #sed -i 's|/bin/sh|\0\nexport MONO_PATH=${MONO_PATH}:/opt/mono/lib/mono/1.0|' scripts/script.in
- ./configure --prefix=/usr --sysconfdir=/etc
- make || return 1
- # tweak the xsp shellscript to grab system dll's
- for script in scripts/*2; do
- sed -i 's|/usr/lib/mono/1.0|/usr/lib/mono/2.0|' $script
- done
- #destdir related bugfixes
- sed -i 's|mkdir \$(datadir)|mkdir $(DESTDIR)$(datadir)|' test/2.0/treeview/Makefile
- sed -i 's|gif \$(datadir)|gif $(DESTDIR)$(datadir)|' test/2.0/treeview/Makefile
-}
-
-package(){
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir}/ install
- # move test files from share to arch' default html home
- mkdir -p ${pkgdir}/srv/http/html
- mv ${pkgdir}/usr/lib/xsp/test ${pkgdir}/srv/http/html/xsp
- rm -rf ${pkgdir}/usr/share
- chown -R http:http ${pkgdir}/srv/http/html/${pkgname}
-
- # install a deamon
- install -D -m755 ${srcdir}/${pkgname}.rc.d \
- ${pkgdir}/etc/rc.d/${pkgname}
- # install a deamon configurationfile
- install -D -m644 ${srcdir}/$pkgname.conf.d \
- ${pkgdir}/etc/conf.d/${pkgname}
- # install a xsp configuration home
- install -D -m644 ${srcdir}/${pkgname}.webapp \
- ${pkgdir}/etc/${pkgname}/${pkgname}.webapp
- install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
- # install systemd service file
- install -D -m644 ${srcdir}/${pkgname}.service \
- ${pkgdir}/usr/lib/systemd/system/xsp.service
-}
-md5sums=('4fe62fc95ad5dc136d8a7f3299d523b6'
- '9575bd7d6f64d51ba05bdd6370665858'
- '35d921df0fefc30f47a438c95d420efc'
- 'c917c07f68b945691506c29750db482f'
- '9d83bd36d209f8d36a11dfbc4fa50819')
diff --git a/testing/xsp/xsp.conf.d b/testing/xsp/xsp.conf.d
deleted file mode 100644
index 99d634929..000000000
--- a/testing/xsp/xsp.conf.d
+++ /dev/null
@@ -1,10 +0,0 @@
-# xsp options
-
-
-# note that is just the helping app for mod_mono if you like production like
-# quality
-# xsp is for ASP testing mainly -- read the manpage for xsp to know what
-# options are available. Archlinux will provide xsp configured by a .webapp
-# configuration file which rests in /etc/xsp
-
-XSP_PARAMS="--appconfigdir /etc/xsp"
diff --git a/testing/xsp/xsp.install b/testing/xsp/xsp.install
deleted file mode 100644
index b8a8f3136..000000000
--- a/testing/xsp/xsp.install
+++ /dev/null
@@ -1,37 +0,0 @@
-# arg 1: the new package version
-post_install() {
- cat << EOM
-
---> xsp is just the helping app for mod_mono if you like a production like
---> server. xsp itself is for ASP testing mainly -- read the manpage for xsp
---> to know which options are available.
---> Archlinux will provide xsp configured by a .webapp configuration file
---> which rests in /etc/xsp. Just put your other webapp files there to let
---> xsp pick them up.
---> xsp is commandline based configuration is done in /etc/conf.d/xsp. Set all
---> your arguments there. Don't forget that you can run xsp from the console
---> as oridinary user, which is safer and for testing absolutely sufficient!!
-
---> You can run the testpages simply by starting the server and calling
- http://localhost:8080
---> from your browser's location bar
-
-
-EOM
-}
-
-# 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() {
- /bin/true
-}
-
-# arg 1: the old package version
-post_remove() {
- /bin/true
-}
diff --git a/testing/xsp/xsp.rc.d b/testing/xsp/xsp.rc.d
deleted file mode 100644
index b4fcda15c..000000000
--- a/testing/xsp/xsp.rc.d
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-# source application-specific settings
-[ -f /etc/conf.d/xsp ] && . /etc/conf.d/xsp
-
-PID=`pidof -o %PPID /usr/bin/mono`
-case "$1" in
- start)
- stat_busy "Starting Xsp Daemon"
- if [ -z "$PID" ]; then
- /usr/bin/xsp $XSP_PARAMS --nonstop &> /dev/null &
- fi
- if [ ! -z "$PID" -o $? -gt 0 ]; then
- stat_fail
- else
- add_daemon xsp
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping Xsp Daemon"
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon xsp
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
diff --git a/testing/xsp/xsp.service b/testing/xsp/xsp.service
deleted file mode 100644
index 36b802e21..000000000
--- a/testing/xsp/xsp.service
+++ /dev/null
@@ -1,8 +0,0 @@
-[Unit]
-Description=XSP Web Server
-
-[Service]
-ExecStart=/usr/bin/xsp --appconfigdir /etc/xsp --nonstop
-
-[Install]
-WantedBy=multi-user.target
diff --git a/testing/xsp/xsp.webapp b/testing/xsp/xsp.webapp
deleted file mode 100644
index a685dd171..000000000
--- a/testing/xsp/xsp.webapp
+++ /dev/null
@@ -1,8 +0,0 @@
-<apps>
- <web-application>
- <name>Root</name>
- <vpath>/</vpath>
- <path>/srv/http/html/xsp</path>
- <vhost>localhost</vhost>
- </web-application>
-</apps>