summaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
Diffstat (limited to 'community')
-rw-r--r--community/kiwi/ChangeLog36
-rw-r--r--community/lxde-common/lxde-common-arch.patch186
-rw-r--r--community/lxde-common/lxde-common-invalid-distfile.patch10
-rw-r--r--community/lxsession-lite/PKGBUILD29
-rw-r--r--community/oss/oss.rc32
-rw-r--r--community/oss/oss.rm-init-scripts.patch52
-rw-r--r--community/oss/oss.soundon.patch28
-rw-r--r--community/synce-hal/PKGBUILD26
-rw-r--r--community/synce-odccm/PKGBUILD32
-rw-r--r--community/synce-odccm/dbus-error-fix.patch44
-rwxr-xr-xcommunity/synce-odccm/synce-odccm.rc37
-rw-r--r--community/wine/PKGBUILD145
-rw-r--r--community/wine/wine.install12
-rw-r--r--community/xl2tpd/as-needed.patch12
14 files changed, 0 insertions, 681 deletions
diff --git a/community/kiwi/ChangeLog b/community/kiwi/ChangeLog
deleted file mode 100644
index 0574c29ff..000000000
--- a/community/kiwi/ChangeLog
+++ /dev/null
@@ -1,36 +0,0 @@
-2009-04-17 Brad Fanella <bradfanella@archlinux.us>
-
- * Updated for i686 and x86_64: Python fixes
-
-2009-04-17 Douglas Soares de Andrade <douglas@archlinux.org>
-
- * Updated for i686: 1.9.25
-
-2009-02-06 Douglas Soares de Andrade <douglas@archlinux.org>
-
- * Updated for i686: 1.9.24
-
-2008-11-04 Douglas Soares de Andrade <douglas@archlinux.org>
-
- * Updated for python 2.6
-
-2008-06-25 Mateusz Herych <heniekk@gmail.com>
-
- * Updated for x86_64 - 1.9.22
-
-2008-06-25 Douglas Soares de Andrade <dsa@aur.archlinux.org>
-
- * Updated for i686 - 1.9.22
-
-2008-06-02 Douglas Soares de Andrade <dsa@aur.archlinux.org>
-
- * Updated for i686 - 1.9.21
-
-2008-02-17 Douglas Soares de Andrade <dsa@aur.archlinux.org>
-
- * Updated to newer version - 1.9.20
-
-2007-12-19 Douglas Soares de Andrade <dsa@aur.archlinux.org>
-
- * Updated to newer version - 1.9.19
-
diff --git a/community/lxde-common/lxde-common-arch.patch b/community/lxde-common/lxde-common-arch.patch
deleted file mode 100644
index 3aa1a8992..000000000
--- a/community/lxde-common/lxde-common-arch.patch
+++ /dev/null
@@ -1,186 +0,0 @@
-diff --git a/Makefile.am b/Makefile.am
-index ba4149c..61cf4c5 100644
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -31,9 +31,9 @@ openbox_DATA= \
- openbox/rc.xml \
- openbox/menu.xml
-
--pcmanfmdir=$(datadir)/lxde/pcmanfm
-+pcmanfmdir=$(sysconfdir)/xdg/pcmanfm
- pcmanfm_DATA= \
-- pcmanfm/main.lxde
-+ pcmanfm/lxde.conf
-
- EXTRA_DIST = \
- autostart \
-@@ -45,7 +45,7 @@ EXTRA_DIST = \
- openbox/rc.xml.in \
- openbox/menu.xml \
- openbox-lxde.in \
-- pcmanfm/main.lxde.in \
-+ pcmanfm/lxde.conf.in \
- $(lxpanel_DATA) \
- lxpanel/panel.in
-
-diff --git a/autostart b/autostart
-index 17d7b58..d5b6514 100644
---- a/autostart
-+++ b/autostart
-@@ -1,3 +1,3 @@
--@xscreensaver -no-splash
- @lxpanel --profile LXDE
--@pcmanfm -d
-+@pcmanfm --desktop --profile lxde
-+@xscreensaver -no-splash
-diff --git a/configure.ac b/configure.ac
-index 3b62903..f90b4c5 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -1,5 +1,5 @@
- AC_PREREQ([2.57])
--AC_INIT(lxde-common,[0.5.0], [],lxde-common)
-+AC_INIT(lxde-common,[0.5.5], [],lxde-common)
- AM_INIT_AUTOMAKE()
- dnl AC_PROG_INTLTOOL(, [no-xml])
- dnl AM_MAINTAINER_MODE
-@@ -48,7 +48,16 @@ AC_OUTPUT([
- lxpanel/panel
- openbox/rc.xml
- openbox-lxde
-- pcmanfm/main.lxde
-+ pcmanfm/lxde.conf
- man/Makefile
- ])
-
-+if test x"$sysconfdir" != x'/etc'; then
-+ echo
-+ echo
-+ echo 'Error: sysconfdir is not /etc.'
-+ echo 'Please consider passing --sysconfdir=/etc to configure.';
-+ echo 'Otherwise default config files will be installed to wrong place.'
-+ echo
-+ echo
-+fi
-diff --git a/lxpanel/config b/lxpanel/config
-index 1911551..cb7f06d 100644
---- a/lxpanel/config
-+++ b/lxpanel/config
-@@ -1,4 +1,4 @@
- [Command]
- FileManager=pcmanfm %s
--Terminal=xterm -e
-+Terminal=lxterminal
- Logout=lxde-logout
-diff --git a/openbox-lxde b/openbox-lxde
-old mode 100755
-new mode 100644
-diff --git a/openbox/menu.xml b/openbox/menu.xml
-index 78099e6..a7768a5 100644
---- a/openbox/menu.xml
-+++ b/openbox/menu.xml
-@@ -25,7 +25,7 @@
- <item label="Desktop Settings">
- <action name="Execute">
- <startupnotify><enabled>yes</enabled></startupnotify>
-- <command>pcmanfm --show-pref 2</command>
-+ <command>pcmanfm --desktop-pref</command>
- </action>
- </item>
- <item label="Window Management Settings">
-@@ -43,4 +43,4 @@
- </item>
- </menu>
-
--</openbox_menu>
-\ No newline at end of file
-+</openbox_menu>
-diff --git a/pcmanfm/lxde.conf.in b/pcmanfm/lxde.conf.in
-new file mode 100644
-index 0000000..6799e1f
---- /dev/null
-+++ b/pcmanfm/lxde.conf.in
-@@ -0,0 +1,20 @@
-+[config]
-+bm_open_method=0
-+su_cmd=xdg-su -c '%s'
-+
-+[desktop]
-+wallpaper_mode=1
-+wallpaper=@prefix@/share/lxde/wallpapers/lxde_blue.jpg
-+desktop_bg=#000000
-+desktop_fg=#ffffff
-+desktop_shadow=#000000
-+
-+[ui]
-+always_show_tabs=0
-+hide_close_btn=0
-+win_width=640
-+win_height=480
-+view_mode=0
-+show_hidden=0
-+sort_type=0
-+sort_by=0
-diff --git a/pcmanfm/main.lxde.in b/pcmanfm/main.lxde.in
-deleted file mode 100644
-index a619852..0000000
---- a/pcmanfm/main.lxde.in
-+++ /dev/null
-@@ -1,3 +0,0 @@
--[Desktop]
--show_wallpaper=1
--wallpaper=@prefix@/share/lxde/wallpapers/lxde_blue.jpg
-diff --git a/startlxde.in b/startlxde.in
-index 8372d3a..f493e28 100755
---- a/startlxde.in
-+++ b/startlxde.in
-@@ -1,28 +1,43 @@
- #!/bin/sh
-
- if [ -z "$XDG_CONFIG_HOME" ]; then
-- export XDG_CONFIG_HOME="$HOME/.config"
-+ export XDG_CONFIG_HOME="$HOME/.config"
- fi
-
- # Ensure the existance of pcmanfm config file
- PCMANFM_CONF_DIR="$XDG_CONFIG_HOME/pcmanfm"
--if [ ! -f "$PCMANFM_CONF_DIR/main.lxde" ]; then
-- mkdir -p "$PCMANFM_CONF_DIR"
-- cp @prefix@/share/lxde/pcmanfm/main.lxde "$PCMANFM_CONF_DIR/main.lxde"
-+if [ ! -f "$PCMANFM_CONF_DIR/pcmanfm.conf" ]; then
-+ mkdir -p "$PCMANFM_CONF_DIR"
-+ cp @prefix@/share/lxde/pcmanfm/pcmanfm.conf "$PCMANFM_CONF_DIR/pcmanfm.conf"
- fi
-
- # Ensure the existance of openbox config file
- OPENBOX_CONF_DIR="$XDG_CONFIG_HOME/openbox"
- if [ ! -f "$OPENBOX_CONF_DIR/lxde-rc.xml" ]; then
-- mkdir -p "$OPENBOX_CONF_DIR"
-- cp @prefix@/share/lxde/openbox/rc.xml "$OPENBOX_CONF_DIR/lxde-rc.xml"
-+ mkdir -p "$OPENBOX_CONF_DIR"
-+ cp @prefix@/share/lxde/openbox/rc.xml "$OPENBOX_CONF_DIR/lxde-rc.xml"
- fi
-
-+# Ensure the existance of the 'Desktop' folder
-+if [ -e "$XDG_CONFIG_HOME/user-dirs.dirs" ]; then
-+ . "$XDG_CONFIG_HOME/user-dirs.dirs"
-+else
-+ XDG_DESKTOP_DIR="$HOME/Desktop"
-+fi
-+mkdir -p "$XDG_DESKTOP_DIR"
-+
- # Clean up after GDM (GDM sets the number of desktops to one)
- xprop -root -remove _NET_NUMBER_OF_DESKTOPS -remove _NET_DESKTOP_NAMES -remove _NET_CURRENT_DESKTOP 2> /dev/null
-
- # Enable GTK+2 integration for OpenOffice.org, if available.
- export SAL_USE_VCLPLUGIN=gtk
-
-+# Launch DBus if needed
-+if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
-+ eval "$(dbus-launch --sh-syntax --exit-with-session)"
-+fi
-+
-+export XDG_MENU_PREFIX="lxde-"
-+
- # Start the LXDE session
- exec @prefix@/bin/lxsession -s LXDE -e LXDE
diff --git a/community/lxde-common/lxde-common-invalid-distfile.patch b/community/lxde-common/lxde-common-invalid-distfile.patch
deleted file mode 100644
index df5d68084..000000000
--- a/community/lxde-common/lxde-common-invalid-distfile.patch
+++ /dev/null
@@ -1,10 +0,0 @@
-diff -ub lxde-common-0.5.0.dist/startlxde.in lxde-common-0.5.0/startlxde.in
---- lxde-common-0.5.0.dist/startlxde.in 2009-09-04 11:46:53.000000000 +0200
-+++ lxde-common-0.5.0./startlxde.in 2010-01-18 21:47:18.000000000 +0100
-@@ -25,4 +25,4 @@
- export SAL_USE_VCLPLUGIN=gtk
-
- # Start the LXDE session
--exec @prefix@/bin/lxsession -s LXDE
-+exec @prefix@/bin/lxsession -s LXDE -e LXDE
-
diff --git a/community/lxsession-lite/PKGBUILD b/community/lxsession-lite/PKGBUILD
deleted file mode 100644
index 8e56e74f5..000000000
--- a/community/lxsession-lite/PKGBUILD
+++ /dev/null
@@ -1,29 +0,0 @@
-# $Id: PKGBUILD 49034 2011-06-09 21:26:14Z andrea $
-# Maintainer: Angel Velasquez <angvp@archlinux.org>
-# Maintainer: Juergen Hoetzel <juergen@archlinux.org>
-
-pkgname=lxsession-lite
-pkgver=0.4.5
-pkgrel=1
-pkgdesc="Session manager of the LXDE Desktop (light version)"
-arch=('i686' 'x86_64')
-license=('GPL2')
-url="http://lxde.org/"
-groups=('lxde')
-depends=('gtk2' 'dbus')
-makedepends=('pkgconfig' 'intltool')
-replaces=("lxde-settings-daemon")
-conflicts=('lxsession' 'lxde-settings-daemon')
-source=(http://downloads.sourceforge.net/lxde/lxsession-${pkgver}.tar.gz)
-md5sums=('d5cd0cb733748191b2c7371c9efda155')
-
-build() {
- cd "$srcdir/lxsession-$pkgver"
- ./configure --sysconfdir=/etc --prefix=/usr
- make
-}
-
-package() {
- cd "$srcdir/lxsession-$pkgver"
- make DESTDIR="$pkgdir" install
-}
diff --git a/community/oss/oss.rc b/community/oss/oss.rc
deleted file mode 100644
index 3f63378c6..000000000
--- a/community/oss/oss.rc
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/bash
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-case "$1" in
- start)
- stat_busy 'Starting Open Sound System'
- if /usr/sbin/soundon
- then
- add_daemon oss
- stat_done
- else
- stat_fail
- fi
- ;;
- stop)
- stat_busy 'Stopping Open Sound System'
- if /usr/sbin/soundoff
- then
- rm_daemon oss
- stat_done
- else
- stat_fail
- fi
- ;;
- restart)
- $0 stop
- $0 start
- ;;
- *)
- echo "Usage: $0 {start|stop|restart}"
-esac
diff --git a/community/oss/oss.rm-init-scripts.patch b/community/oss/oss.rm-init-scripts.patch
deleted file mode 100644
index 981ff605f..000000000
--- a/community/oss/oss.rm-init-scripts.patch
+++ /dev/null
@@ -1,52 +0,0 @@
---- usr/lib/oss/build/install.sh.orig 2008-09-25 11:41:47.180167692 -0300
-+++ usr/lib/oss/build/install.sh 2008-09-25 11:41:47.180167692 -0300
-@@ -290,38 +290,6 @@
- echo
- fi
-
--if ! test -d /etc/init.d
--then
-- mkdir /etc/init.d
--fi
--
--rm -f /etc/init.d/oss /etc/rc.d/rc3.d/S89oss /etc/rc3.d/S89oss
--cp -f $OSSLIBDIR/etc/S89oss /etc/init.d/oss
--
--chmod 744 /etc/init.d/oss
--
--if test -x /sbin/chkconfig
--then
-- /sbin/chkconfig oss on > /dev/null 2>&1
--else
-- if test -x /usr/sbin/update-rc.d
-- then
-- /usr/sbin/update-rc.d oss defaults > /dev/null 2>&1
-- else
-- if test -d etc/rc.d/rc3.d
-- then
-- rm -f /etc/rc.d/rc3.d/S89oss
-- ln -s /etc/init.d/oss /etc/rc.d/rc3.d/S89oss
-- else
-- if test -d /etc/rc3.d
-- then
-- rm -f /etc/rc3.d/S89oss
-- ln -s /etc/init.d/oss /etc/rc3.d/S89oss
-- fi
-- fi
-- fi
--fi
--
- # Install ALSA interface module (Cuckoo)
- #(cd $OSSLIBDIR/cuckoo && make clean) > /dev/null 2>&1
- #if (cd $OSSLIBDIR/cuckoo && make install) > /var/log/cuckoo.log 2>&1
---- usr/lib/oss/scripts/restore_drv.sh.orig 2008-09-25 11:41:47.210168487 -0300
-+++ usr/lib/oss/scripts/restore_drv.sh 2008-09-25 11:41:47.210168487 -0300
-@@ -18,8 +18,6 @@
- fi
- fi
-
--rm -f /etc/init.d/oss
--
- if ! test -d /lib/modules/`uname -r`/kernel/sound
- then
- if test -f /lib/modules/`uname -r`/sound-preoss.tar.bz2
diff --git a/community/oss/oss.soundon.patch b/community/oss/oss.soundon.patch
deleted file mode 100644
index 4702b8680..000000000
--- a/community/oss/oss.soundon.patch
+++ /dev/null
@@ -1,28 +0,0 @@
---- usr/sbin/soundon.old 2009-09-04 06:35:26.000000000 +0100
-+++ usr/sbin/soundon 2009-11-15 13:59:53.000000000 +0000
-@@ -255,7 +255,10 @@
- then
- if test "`uname -m` " = "x86_64 "
- then
-- ln -sf $OSSLIBDIR/lib/libsalsa.so.2.0.0 /usr/lib64/libasound.so.2
-+ # Fix for compatibility with Arch's directory structure
-+ # Not that we use it, there is no $OSSLIBDIR/.libsalsa_installed
-+ ln -sf $OSSLIBDIR/lib/libsalsa.so.2.0.0 /usr/lib/libasound.so.2
-+ #ln -sf $OSSLIBDIR/lib/libsalsa.so.2.0.0 /usr/lib64/libasound.so.2
- #ln -sf $OSSLIBDIR/lib/libOSSlib.so /usr/lib64
- else
- if test -s /lib/libasound.so.2
-@@ -278,8 +281,11 @@
- then
- if test "`uname -m` " = "x86_64 "
- then
-- ln -sf $OSSLIBDIR/lib/libOSSlib.so /usr/lib64
-- ln -sf $OSSLIBDIR/lib/libossmix.so /usr/lib64
-+ # Fix for compatibility with Arch's directory structure
-+ ln -sf $OSSLIBDIR/lib/libOSSlib.so /usr/lib
-+ ln -sf $OSSLIBDIR/lib/libossmix.so /usr/lib
-+ #ln -sf $OSSLIBDIR/lib/libOSSlib.so /usr/lib64
-+ #ln -sf $OSSLIBDIR/lib/libossmix.so /usr/lib64
- else
- if test -s /lib/libasound.so.2
- then
diff --git a/community/synce-hal/PKGBUILD b/community/synce-hal/PKGBUILD
deleted file mode 100644
index 4b1e4849f..000000000
--- a/community/synce-hal/PKGBUILD
+++ /dev/null
@@ -1,26 +0,0 @@
-# $Id: PKGBUILD 46079 2011-05-03 10:20:22Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: ansgras <ataflinski@uni-koblenz.de>
-
-pkgname=synce-hal
-pkgver=0.15
-pkgrel=1
-pkgdesc="hal based alternative for SynCE dccm"
-arch=('i686' 'x86_64')
-url="http://synce.sourceforge.net/"
-license=('GPL')
-depends=('synce-libsynce' 'gnet' 'dhclient' 'hal' 'dbus')
-source=(http://switch.dl.sf.net/sourceforge/synce/synce-hal-$pkgver.tar.gz)
-md5sums=('796eca27a2ce561247e7a71375c242b6')
-
-build() {
- cd $srcdir/$pkgname-$pkgver
- ./configure --prefix=/usr --libexecdir=/usr/lib/$pkgname \
- --with-hal-addon-dir=/usr/lib/hal/scripts
- make
-}
-
-package() {
- cd $srcdir/$pkgname-$pkgver
- make DESTDIR="$pkgdir/" install
-}
diff --git a/community/synce-odccm/PKGBUILD b/community/synce-odccm/PKGBUILD
deleted file mode 100644
index ff631dacf..000000000
--- a/community/synce-odccm/PKGBUILD
+++ /dev/null
@@ -1,32 +0,0 @@
-# $Id: PKGBUILD 20945 2010-07-12 20:22:41Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: SmackleFunky <smacklefunky@optusnet.com.au>
-
-pkgname=synce-odccm
-pkgver=0.13
-pkgrel=4
-pkgdesc="provide a means of communication with a Windows CE device - daemon to communicate with a handheld device"
-arch=('i686' 'x86_64')
-url="http://synce.sourceforge.net/"
-license=('GPL')
-depends=('synce-libsynce' 'gnet' 'hal')
-backup=(etc/dbus/system.d/odccm.conf)
-source=(http://downloads.sourceforge.net/synce/odccm-$pkgver.tar.gz
- synce-odccm.rc
- dbus-error-fix.patch)
-md5sums=('8f12585398f1a79518887d5f94cf122d'
- '5759fb86bb2af46d632c3807616c8999'
- '4eea398fe356fe0d8c57d65d6f24b3db')
-
-build() {
- cd $srcdir/odccm-$pkgver
-
- patch -p1 <$srcdir/dbus-error-fix.patch
-
- ./configure --prefix=/usr
- make || return 1
- make DESTDIR=$pkgdir install || return 1
-
- install -D -m 644 $srcdir/odccm-$pkgver/src/odccm.conf $pkgdir/etc/dbus-1/system.d/odccm.conf
- install -D -m 755 $srcdir/synce-odccm.rc $pkgdir/etc/rc.d/synce-odccm
-}
diff --git a/community/synce-odccm/dbus-error-fix.patch b/community/synce-odccm/dbus-error-fix.patch
deleted file mode 100644
index 28af59372..000000000
--- a/community/synce-odccm/dbus-error-fix.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-diff -wbBur odccm-0.13/src/odccm-device-manager.c odccm-0.13.my/src/odccm-device-manager.c
---- odccm-0.13/src/odccm-device-manager.c 2007-11-21 20:00:26.000000000 +0000
-+++ odccm-0.13.my/src/odccm-device-manager.c 2010-07-12 10:49:26.000000000 +0000
-@@ -485,9 +485,9 @@
- int result = 0;
-
- DBusError error;
-- dbus_error_init (&error);
-
- /* Be sure it is a network interface */
-+ dbus_error_init (&error);
- gchar *ifname = libhal_device_get_property_string (ctx, udi, "net.interface",
- &error);
- if (ifname == NULL) goto DONE;
-@@ -495,11 +495,13 @@
- libhal_free_string (ifname);
-
- /* We'll then check some properties of its parent */
-+ dbus_error_init (&error);
- gchar *parentname = libhal_device_get_property_string (ctx, udi,
- "info.parent", &error);
- if (parentname == NULL) goto DONE;
-
- /* Check the parent's device driver name (for usb-rndis-lite) */
-+ dbus_error_init (&error);
- gchar *drvname = libhal_device_get_property_string (ctx, parentname,
- "info.linux.driver", &error);
- if (drvname != NULL)
-@@ -509,6 +511,7 @@
- }
-
- /* Check pda.platform property (for usb-rndis-ng) */
-+ dbus_error_init (&error);
- gchar *pdaplatform = libhal_device_get_property_string (ctx, parentname,
- "pda.platform", &error);
- if (pdaplatform != NULL)
-@@ -626,6 +628,7 @@
- if (!libhal_ctx_set_dbus_connection (priv->hal_ctx, conn))
- goto OUT;
-
-+ dbus_error_init (&error);
- if (!libhal_ctx_init (priv->hal_ctx, &error))
- {
- func_name = "libhal_ctx_init";
diff --git a/community/synce-odccm/synce-odccm.rc b/community/synce-odccm/synce-odccm.rc
deleted file mode 100755
index 61e71a77d..000000000
--- a/community/synce-odccm/synce-odccm.rc
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-case "$1" in
- start)
- stat_busy "Starting SynCE odccm daemon"
- /usr/sbin/odccm >/dev/null 2>/dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon synce-odccm
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping SynCE odccm daemon"
- PID=`pidof odccm`
- if [ -z $PID ]; then
- stat_fail
- else
- kill $PID
- rm_daemon synce-odccm
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
- ;;
-esac
-exit 0
diff --git a/community/wine/PKGBUILD b/community/wine/PKGBUILD
deleted file mode 100644
index b71a1557d..000000000
--- a/community/wine/PKGBUILD
+++ /dev/null
@@ -1,145 +0,0 @@
-# $Id: PKGBUILD 49102 2011-06-11 03:15:30Z svenstaro $
-# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
-# Contributor: Jan "heftig" Steffens <jan.steffens@gmail.com>
-# Contributor: Eduardo Romero <eduardo@archlinux.org>
-# Contributor: Giovanni Scafora <giovanni@archlinux.org>
-
-pkgname=wine
-pkgver=1.3.22
-pkgrel=1
-
-_pkgbasever=${pkgver/rc/-rc}
-
-source=(http://ibiblio.org/pub/linux/system/emulators/$pkgname/$pkgname-$_pkgbasever.tar.bz2)
-md5sums=('46f313013644d31ad37b8fc5c2c16467')
-
-pkgdesc="A compatibility layer for running Windows programs"
-url="http://www.winehq.com"
-arch=(i686 x86_64)
-license=(LGPL)
-install=wine.install
-
-depends=(
- fontconfig lib32-fontconfig
- mesa lib32-mesa
- libxcursor lib32-libxcursor
- libxrandr lib32-libxrandr
- libxdamage lib32-libxdamage
- libxxf86dga lib32-libxxf86dga
- libxi lib32-libxi
- alsa-lib lib32-alsa-lib
- desktop-file-utils
-)
-
-makedepends=(autoconf ncurses bison perl fontforge flex prelink
- 'gcc>=4.5.0-2' 'gcc-multilib>=4.5.0-2'
- giflib lib32-giflib
- libxpm lib32-libxpm
- libpng lib32-libpng
- libxinerama lib32-libxinerama
- libxcomposite lib32-libxcomposite
- libxmu lib32-libxmu
- libxxf86vm lib32-libxxf86vm
- libxml2 lib32-libxml2
- libxslt lib32-libxslt
- libldap lib32-libldap
- lcms lib32-lcms
- mpg123 lib32-mpg123
- openal lib32-openal
- jack lib32-jack
- libcups lib32-libcups
- gnutls lib32-gnutls
- v4l-utils lib32-v4l-utils
- oss
-)
-
-optdepends=(
- giflib lib32-giflib
- libpng lib32-libpng
- libldap lib32-libldap
- lcms lib32-lcms
- libxml2 lib32-libxml2
- mpg123 lib32-mpg123
- openal lib32-openal
- jack lib32-jack
- libcups lib32-libcups
- gnutls lib32-gnutls
- v4l-utils lib32-v4l-utils
- oss
-)
-
-if [[ $CARCH == i686 ]]; then
- # Strip lib32 etc. on i686
- depends=(${depends[@]/*32-*/})
- makedepends=(${makedepends[@]/*32-*/})
- makedepends=(${makedepends[@]/*-multilib*/})
- optdepends=(${optdepends[@]/*32-*/})
-else
- provides=("bin32-wine=$pkgver" "wine-wow64=$pkgver")
- conflicts=('bin32-wine' 'wine-wow64')
- replaces=('bin32-wine')
-fi
-
-build() {
- cd "$srcdir"
-
- # Allow ccache to work
- mv $pkgname-$_pkgbasever $pkgname
-
- # Get rid of old build dirs
- rm -rf $pkgname-{32,64}-build
- mkdir $pkgname-32-build
-
- if [[ $CARCH == x86_64 ]]; then
- msg2 "Building Wine-64..."
-
- mkdir $pkgname-64-build
- cd "$srcdir/$pkgname-64-build"
- ../$pkgname/configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --libdir=/usr/lib \
- --with-x \
- --enable-win64
-
- make
-
- _wine32opts=(
- --libdir=/usr/lib32
- --with-wine64="$srcdir/$pkgname-64-build"
- )
-
- export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
- fi
-
- msg2 "Building Wine-32..."
- cd "$srcdir/$pkgname-32-build"
- ../$pkgname/configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --with-x \
- "${_wine32opts[@]}"
-
- make
-}
-
-package() {
- msg2 "Packaging Wine-32..."
- cd "$srcdir/$pkgname-32-build"
-
- if [[ $CARCH == i686 ]]; then
- make prefix="$pkgdir/usr" install
- else
- make prefix="$pkgdir/usr" \
- libdir="$pkgdir/usr/lib32" \
- dlldir="$pkgdir/usr/lib32/wine" install
-
- msg2 "Packaging Wine-64..."
- cd "$srcdir/$pkgname-64-build"
- make prefix="$pkgdir/usr" \
- libdir="$pkgdir/usr/lib" \
- dlldir="$pkgdir/usr/lib/wine" install
- fi
-}
-
-# vim:set ts=8 sts=2 sw=2 et:
diff --git a/community/wine/wine.install b/community/wine/wine.install
deleted file mode 100644
index f71262186..000000000
--- a/community/wine/wine.install
+++ /dev/null
@@ -1,12 +0,0 @@
-post_install() {
- update-desktop-database -q
- echo "This wine package is wow64 enabled. This means it can run 32bit/64bit Windows apps on x86_64."
- echo "If you are on x86_64, the default WINEARCH will be win64."
- echo "This will cause a lot of Windows applications to malfunction even if they usually work in wine."
- echo "Please create your ~/.wine with 'WINEARCH=win32 winecfg' if you are unsure and on x86_64."
- echo "See the Arch wiki on wine for more information."
-}
-
-post_remove() {
- update-desktop-database -q
-}
diff --git a/community/xl2tpd/as-needed.patch b/community/xl2tpd/as-needed.patch
deleted file mode 100644
index 8976d298f..000000000
--- a/community/xl2tpd/as-needed.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- ./Makefile_orig 2010-10-08 15:28:50.310000058 +0400
-+++ ./Makefile 2010-10-08 15:29:57.666666723 +0400
-@@ -113,8 +113,7 @@
-
- pfc:
- $(CC) $(CFLAGS) -c contrib/pfc.c
-- $(CC) $(LDFLAGS) -lpcap $(LDLIBS) -o pfc pfc.o
--
-+ $(CC) $(LDFLAGS) -o pfc pfc.o -lpcap $(LDLIBS)
- romfs:
- $(ROMFSINST) /bin/$(EXEC)
-