summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-05-04 12:59:20 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-05-04 12:59:20 +0000
commitab1410d33401cf1fc4a384bb0b2d9901c8fe8d14 (patch)
tree51133f097c3d4ff5f1d830bdbc131118e3cfd0ac
parent9780d07c31b22125ad7ecba4e281ff41194f95be (diff)
Wed May 4 12:59:20 UTC 2011
-rw-r--r--community/gimmie/ChangeLog2
-rw-r--r--community/gimmie/PKGBUILD44
-rw-r--r--community/gimmie/gimmie.install22
-rw-r--r--community/glipper-old/PKGBUILD35
-rw-r--r--community/glipper-old/arch.patch266
-rw-r--r--community/glipper/PKGBUILD38
-rw-r--r--community/glipper/glipper.install30
-rw-r--r--community/lcms2/PKGBUILD28
-rw-r--r--community/libpanelappletmm/PKGBUILD21
-rw-r--r--community/panflute/PKGBUILD42
-rw-r--r--community/panflute/panflute.install17
-rw-r--r--community/sensors-applet/FS9379.patch54
-rw-r--r--community/sensors-applet/PKGBUILD35
-rw-r--r--community/sensors-applet/sensors-applet-2.2.7-libnotify-0.7.patch57
-rw-r--r--community/sensors-applet/sensors-applet.install11
-rw-r--r--community/wtf/LICENSE10
-rw-r--r--community/wtf/PKGBUILD22
-rw-r--r--community/xmonad-log-applet/PKGBUILD33
-rw-r--r--community/xmonad-log-applet/xmonad-log-applet.install3
-rw-r--r--extra/cdparanoia/ChangeLog23
-rw-r--r--extra/deskbar-applet/PKGBUILD39
-rw-r--r--extra/deskbar-applet/deskbar-applet.install22
-rw-r--r--extra/gnome-netstatus/PKGBUILD31
-rw-r--r--extra/gnome-netstatus/gnome-netstatus.install22
-rw-r--r--extra/gv/aplinedel.patch11
-rw-r--r--extra/htdig/quoting.patch26
-rw-r--r--extra/libcanberra/libcanberra-quit-add.patch24
-rw-r--r--extra/libgail-gnome/PKGBUILD29
-rw-r--r--extra/libgail-gnome/libgail-gnome.install19
-rw-r--r--extra/nautilus/places-sidebar.patch36
-rw-r--r--extra/nautilus/progress-ui-handler.patch28
-rw-r--r--extra/netspeed-applet/PKGBUILD25
-rw-r--r--extra/netspeed-applet/netspeed-applet.install11
-rw-r--r--extra/pulseaudio-mixer-applet/PKGBUILD27
-rw-r--r--extra/seahorse-plugins/PKGBUILD38
-rw-r--r--extra/seahorse-plugins/gpgme-init.patch43
-rw-r--r--extra/seahorse-plugins/seahorse-plugins-2.30.1-libnotify-0.7.patch26
-rw-r--r--extra/seahorse-plugins/seahorse-plugins.install26
-rw-r--r--multilib/nspluginwrapper/npw-viewer.c.patch13
-rw-r--r--multilib/nspluginwrapper/nspluginwrapper-20090625-fix-npident-array-sending.patch178
-rw-r--r--testing/binutils/PKGBUILD83
-rw-r--r--testing/binutils/binutils.install17
-rw-r--r--testing/coreutils/PKGBUILD69
-rw-r--r--testing/coreutils/coreutils-pam.patch428
-rw-r--r--testing/coreutils/coreutils-uname.patch173
-rw-r--r--testing/coreutils/coreutils.install21
-rw-r--r--testing/coreutils/su.pam9
-rw-r--r--testing/gcc/PKGBUILD255
-rw-r--r--testing/gcc/gcc-ada.install20
-rw-r--r--testing/gcc/gcc-fortran.install16
-rw-r--r--testing/gcc/gcc-go.install20
-rw-r--r--testing/gcc/gcc-hash-style-both.patch122
-rw-r--r--testing/gcc/gcc-libs.install16
-rw-r--r--testing/gcc/gcc.install20
-rw-r--r--testing/gcc/gcc_pure64.patch26
-rw-r--r--testing/libgcrypt/PKGBUILD40
-rw-r--r--testing/libgcrypt/libgcrypt.install20
-rw-r--r--testing/libtool/PKGBUILD31
-rw-r--r--testing/libtool/libtool.install22
-rw-r--r--testing/tzdata/Makefile.patch140
-rw-r--r--testing/tzdata/PKGBUILD45
-rw-r--r--testing/xfsprogs/PKGBUILD29
62 files changed, 0 insertions, 3089 deletions
diff --git a/community/gimmie/ChangeLog b/community/gimmie/ChangeLog
deleted file mode 100644
index 7fd5bbf99..000000000
--- a/community/gimmie/ChangeLog
+++ /dev/null
@@ -1,2 +0,0 @@
-2007-06-26 tardo <tardo@nagi-fanboi.net>
-* Built for x86_64
diff --git a/community/gimmie/PKGBUILD b/community/gimmie/PKGBUILD
deleted file mode 100644
index 01c79a4d4..000000000
--- a/community/gimmie/PKGBUILD
+++ /dev/null
@@ -1,44 +0,0 @@
-# $Id: PKGBUILD 44484 2011-04-07 20:23:57Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: György Balló <ballogy@freestart.hu>
-
-pkgname=gimmie
-pkgver=0.2.8
-pkgrel=14
-pkgdesc="desktop organizer which allows interaction with applications, contacts, documents, etc"
-arch=('i686' 'x86_64')
-url="http://beatniksoftware.com/gimmie/"
-license=('LGPL')
-depends=('libgnomecups' 'dbus-python' 'python2-gconf' 'python-gnomeapplet'
- 'python-gnomedesktop' 'python2-libgnome' 'python-wnck' 'pyxdg'
- 'hicolor-icon-theme' 'xdg-utils')
-makedepends=('findutils' 'perlxml')
-options=(!libtool)
-install=$pkgname.install
-source=(http://www.beatniksoftware.com/gimmie/releases/$pkgname-$pkgver.tar.gz)
-md5sums=('721b8ec80f0247e1281aeb4aa5614c2f')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- sed -i 's@^#!.*python$@#!/usr/bin/python2@' gimmie/gimmie_{threads,bar}.py
-
- export CFLAGS="$CFLAGS `pkg-config --cflags glib-2.0`"
- export LDFLAGS="$LDFLAGS `pkg-config --libs glib-2.0`"
-
- export CFLAGS="$CFLAGS `pkg-config --cflags gtk+-2.0`"
- export LDFLAGS="$LDFLAGS `pkg-config --libs gtk+-2.0`"
-
- export CFLAGS="$CFLAGS `pkg-config --cflags pygtk-2.0`"
- export LDFLAGS="$LDFLAGS `pkg-config --libs pygtk-2.0`"
-
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir="/usr/lib/$pkgname" \
- --disable-static --disable-schemas-install \
- --with-gconf-schema-file-dir=/usr/share/gconf/schemas \
- PYTHON=/usr/bin/python2
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir/" install
-}
diff --git a/community/gimmie/gimmie.install b/community/gimmie/gimmie.install
deleted file mode 100644
index 015be0a4d..000000000
--- a/community/gimmie/gimmie.install
+++ /dev/null
@@ -1,22 +0,0 @@
-pkgname=gimmie
-
-post_install() {
- gconfpkg --install $pkgname
- xdg-icon-resource forceupdate
-}
-
-pre_upgrade() {
- pre_remove $1
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- gconfpkg --uninstall $pkgname
-}
-
-post_remove() {
- xdg-icon-resource forceupdate
-}
diff --git a/community/glipper-old/PKGBUILD b/community/glipper-old/PKGBUILD
deleted file mode 100644
index f1b00c666..000000000
--- a/community/glipper-old/PKGBUILD
+++ /dev/null
@@ -1,35 +0,0 @@
-# $Id: PKGBUILD 8877 2010-01-22 03:13:44Z dgriffiths $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: Pbl Gomez <pblgomez@gmail.com>
-
-pkgname=glipper-old
-pkgver=0.95.1
-pkgrel=3
-pkgdesc="Gnome clipboard for nongnome desktop"
-arch=('i686' 'x86_64')
-url="http://sourceforge.net/projects/glipper/"
-license=("GPL")
-depends=(libgnome libglade)
-makedepends=(pkgconfig perlxml gnome-doc-utils)
-source=(http://downloads.sourceforge.net/sourceforge/glipper/glipper-$pkgver.tar.gz \
- arch.patch)
-md5sums=('aa6524f59342d72fee8bed36e6267746'
- 'e9e9581330bbc1fe0a28fa349de02bda')
-
-build() {
- cd $startdir/src/glipper-$pkgver
-
- ln -s -f /usr/share/aclocal/gnome-doc-utils.m4 m4/gnome-doc-utils.m4
- ln -s -f /usr/share/gnome-doc-utils/gnome-doc-utils.make gnome-doc-utils.make
-
- patch -Np1 <../arch.patch && \
- mv data/glipper.png data/glipper-old.png && \
- mv help/C/glipper.xml help/C/glipper-old.xml && \
- mv data/glipper-properties.glade data/glipper-old-properties.glade && \
- mv data/glipper.desktop.in data/glipper-old.desktop.in || return 1
-
- ./configure --prefix=/usr --program-suffix=-old --disable-gnome || return 1
- make || return 1
- make DESTDIR=$startdir/pkg install || return 1
- rm -rf $startdir/pkg/usr/share/gnome
-}
diff --git a/community/glipper-old/arch.patch b/community/glipper-old/arch.patch
deleted file mode 100644
index 6045ad75c..000000000
--- a/community/glipper-old/arch.patch
+++ /dev/null
@@ -1,266 +0,0 @@
-diff -wbBur glipper-0.95.1/configure glipper-0.95.1.my/configure
---- glipper-0.95.1/configure 2006-11-21 03:42:45.000000000 +0300
-+++ glipper-0.95.1.my/configure 2007-08-09 13:27:44.000000000 +0400
-@@ -557,10 +557,10 @@
- SHELL=${CONFIG_SHELL-/bin/sh}
-
- # Identity of this package.
--PACKAGE_NAME='glipper'
--PACKAGE_TARNAME='glipper'
-+PACKAGE_NAME='glipper-old'
-+PACKAGE_TARNAME='glipper-old'
- PACKAGE_VERSION='0.95.1'
--PACKAGE_STRING='glipper 0.95.1'
-+PACKAGE_STRING='glipper-old 0.95.1'
- PACKAGE_BUGREPORT='svenrech@gmx.de'
-
- ac_unique_file="src/main.c"
-@@ -2134,7 +2134,7 @@
-
-
- # Define the identity of the package.
-- PACKAGE='glipper'
-+ PACKAGE='glipper-old'
- VERSION='0.95.1'
-
-
-@@ -2301,7 +2301,7 @@
- # GETTEXT
- ###########################################################################
-
--GETTEXT_PACKAGE="glipper"
-+GETTEXT_PACKAGE="glipper-old"
-
-
- cat >>confdefs.h <<_ACEOF
-diff -wbBur glipper-0.95.1/configure.in glipper-0.95.1.my/configure.in
---- glipper-0.95.1/configure.in 2006-11-21 03:59:24.000000000 +0300
-+++ glipper-0.95.1.my/configure.in 2007-08-09 13:35:04.000000000 +0400
-@@ -5,7 +5,7 @@
- AC_PREREQ(2.5)
-
- # Set VERSION number here
--AC_INIT(glipper, [0.95.1], [svenrech@gmx.de])
-+AC_INIT(glipper-old, [0.95.1], [svenrech@gmx.de])
- AC_CONFIG_SRCDIR([src/main.c])
- AC_CONFIG_HEADER([config.h])
- AM_INIT_AUTOMAKE
-@@ -29,7 +29,7 @@
- # GETTEXT
- ###########################################################################
-
--GETTEXT_PACKAGE="glipper"
-+GETTEXT_PACKAGE="glipper-old"
- AC_SUBST(GETTEXT_PACKAGE)
- AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [gettext package])
-
-diff -wbBur glipper-0.95.1/data/glipper.desktop.in glipper-0.95.1.my/data/glipper.desktop.in
---- glipper-0.95.1/data/glipper.desktop.in 2006-06-26 23:46:04.000000000 +0400
-+++ glipper-0.95.1.my/data/glipper.desktop.in 2007-08-09 13:04:01.000000000 +0400
-@@ -3,9 +3,9 @@
- _Name=Glipper
- _Comment=Clipboard Manager
- Categories=GTK;GNOME;Application;Utility;
--TryExec=glipper
--Exec=glipper
--Icon=glipper.png
-+TryExec=glipper-old
-+Exec=glipper-old
-+Icon=glipper-old.png
- Terminal=false
- Type=Application
- StartupNotify=false
-diff -wbBur glipper-0.95.1/data/Makefile.am glipper-0.95.1.my/data/Makefile.am
---- glipper-0.95.1/data/Makefile.am 2006-06-26 23:46:08.000000000 +0400
-+++ glipper-0.95.1.my/data/Makefile.am 2007-08-09 13:33:06.000000000 +0400
-@@ -1,13 +1,13 @@
- desktopdir = $(datadir)/applications
--desktop_in_files = glipper.desktop.in
-+desktop_in_files = glipper-old.desktop.in
- desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
- @INTLTOOL_DESKTOP_RULE@
-
- icondir = $(datadir)/pixmaps
--icon_DATA = glipper.png
-+icon_DATA = glipper-old.png
-
--gladedir = $(datadir)/glipper
--glade_DATA = glipper-properties.glade
-+gladedir = $(datadir)/glipper-old
-+glade_DATA = glipper-old-properties.glade
-
- EXTRA_DIST = \
- $(desktop_in_files) \
-diff -wbBur glipper-0.95.1/data/Makefile.in glipper-0.95.1.my/data/Makefile.in
---- glipper-0.95.1/data/Makefile.in 2006-11-21 03:42:44.000000000 +0300
-+++ glipper-0.95.1.my/data/Makefile.in 2007-08-09 13:16:54.000000000 +0400
-@@ -214,12 +214,12 @@
- sysconfdir = @sysconfdir@
- target_alias = @target_alias@
- desktopdir = $(datadir)/applications
--desktop_in_files = glipper.desktop.in
-+desktop_in_files = glipper-old.desktop.in
- desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
- icondir = $(datadir)/pixmaps
--icon_DATA = glipper.png
--gladedir = $(datadir)/glipper
--glade_DATA = glipper-properties.glade
-+icon_DATA = glipper-old.png
-+gladedir = $(datadir)/glipper-old
-+glade_DATA = glipper-old-properties.glade
- EXTRA_DIST = \
- $(desktop_in_files) \
- $(icon_DATA) \
-diff -wbBur glipper-0.95.1/help/Makefile.am glipper-0.95.1.my/help/Makefile.am
---- glipper-0.95.1/help/Makefile.am 2006-11-15 00:00:59.000000000 +0300
-+++ glipper-0.95.1.my/help/Makefile.am 2007-08-09 13:33:10.000000000 +0400
-@@ -1,7 +1,7 @@
- include $(top_srcdir)/gnome-doc-utils.make
- dist-hook: doc-dist-hook
-
--DOC_MODULE = glipper
-+DOC_MODULE = glipper-old
- DOC_ENTITIES =
- DOC_INCLUDES =
- DOC_FIGURES =
-diff -wbBur glipper-0.95.1/help/Makefile.in glipper-0.95.1.my/help/Makefile.in
---- glipper-0.95.1/help/Makefile.in 2006-11-21 03:42:44.000000000 +0300
-+++ glipper-0.95.1.my/help/Makefile.in 2007-08-09 13:04:40.000000000 +0400
-@@ -374,7 +374,7 @@
- _clean_dsk = $(if $(_DOC_DSK_IN),clean-doc-dsk)
- _clean_lc = $(if $(_DOC_REAL_LINGUAS),clean-doc-lc)
- _clean_dir = $(if $(DOC_MODULE),clean-doc-dir)
--DOC_MODULE = glipper
-+DOC_MODULE = glipper-old
- DOC_ENTITIES =
- DOC_INCLUDES =
- DOC_FIGURES =
-diff -wbBur glipper-0.95.1/po/POTFILES.in glipper-0.95.1.my/po/POTFILES.in
---- glipper-0.95.1/po/POTFILES.in 2006-06-26 23:46:14.000000000 +0400
-+++ glipper-0.95.1.my/po/POTFILES.in 2007-08-09 13:17:22.000000000 +0400
-@@ -1,4 +1,4 @@
- src/main.c
- src/preferences.c
--data/glipper-properties.glade
--data/glipper.desktop.in
-+data/glipper-old-properties.glade
-+data/glipper-old.desktop.in
-diff -wbBur glipper-0.95.1/src/main.c glipper-0.95.1.my/src/main.c
---- glipper-0.95.1/src/main.c 2006-11-21 03:05:53.000000000 +0300
-+++ glipper-0.95.1.my/src/main.c 2007-08-09 13:46:53.000000000 +0400
-@@ -141,7 +141,7 @@
- GError* pix_error = NULL;
-
- menuHeader = gtk_image_menu_item_new_with_label("");
-- pixbuf = gdk_pixbuf_new_from_file(PIXMAPDIR"/glipper.png", &pix_error);
-+ pixbuf = gdk_pixbuf_new_from_file(PIXMAPDIR"/glipper-old.png", &pix_error);
-
- //In case we cannot load icon, display error message and exit
- if (pix_error != NULL)
-@@ -312,7 +312,7 @@
-
- error = NULL;
- //gnome_help_display ("glipper", NULL, &error);
-- gnome_help_display_desktop(NULL, "glipper", "glipper",
-+ gnome_help_display_desktop(NULL, "glipper-old", "glipper-old",
- section, &error);
-
- if (error)
-@@ -337,7 +337,7 @@
-
- //Load trayicon
- TrayIcon = (GtkWidget*)egg_tray_icon_new("GLIPPER");
-- pixbuf = gdk_pixbuf_new_from_file(PIXMAPDIR"/glipper.png", &pix_error);
-+ pixbuf = gdk_pixbuf_new_from_file(PIXMAPDIR"/glipper-old.png", &pix_error);
-
- //In case we cannot load icon, display error message and exit
- if (pix_error != NULL)
-@@ -392,7 +392,7 @@
- "license", license,
- "name", "Glipper",
- "comments", _("Clipboardmanager for Gnome"),
-- "logo", gdk_pixbuf_new_from_file(PIXMAPDIR"/glipper.png", &pix_error),
-+ "logo", gdk_pixbuf_new_from_file(PIXMAPDIR"/glipper-old.png", &pix_error),
- "website", "http://glipper.sourceforge.net/",
- "version", VERSION,
- NULL);
-@@ -442,7 +442,7 @@
- //trys to open (or create) a file in "~/.glipper" for writing purposes:
- FILE* writeGlipperFile(char* filename)
- {
-- gchar* directory = g_build_path("/", g_get_home_dir(), ".glipper", NULL);
-+ gchar* directory = g_build_path("/", g_get_home_dir(), ".glipper-old", NULL);
- gchar* path = g_build_filename(directory, filename, NULL);
- FILE* file = fopen(path, "w");
- if (file == NULL)
-@@ -453,7 +453,7 @@
- g_warning("Can't open or create file %s!", file);
- }
- else
-- g_warning ("Can't create directory '.glipper' in user's home directory!");
-+ g_warning ("Can't create directory '.glipper-old' in user's home directory!");
- g_free(directory);
- g_free(path);
- return file;
-@@ -480,7 +480,7 @@
-
- void readHistory()
- {
-- gchar* path= g_build_filename(g_get_home_dir(), ".glipper/history", NULL);
-+ gchar* path= g_build_filename(g_get_home_dir(), ".glipper-old/history", NULL);
- FILE* histFile = fopen(path, "r");
- g_free(path);
- if (histFile != 0)
-@@ -501,7 +501,7 @@
-
- void readPreferences()
- {
-- gchar* path= g_build_filename(g_get_home_dir(), ".glipper/prefs", NULL);
-+ gchar* path= g_build_filename(g_get_home_dir(), ".glipper-old/prefs", NULL);
- FILE* prefFile = fopen(path, "r");
- g_free(path);
- free(keyComb);
-@@ -599,7 +599,7 @@
-
- //Init GTK+ (and optionally GNOME libs)
- #ifndef DISABLE_GNOME
-- gnome_program_init("glipper", VERSION, NULL, argc, argv,
-+ gnome_program_init("glipper-old", VERSION, NULL, argc, argv,
- NULL, NULL, NULL);
- #endif /*DISABLE_GNOME*/
- gtk_init (&argc, &argv);
-diff -wbBur glipper-0.95.1/src/Makefile.am glipper-0.95.1.my/src/Makefile.am
---- glipper-0.95.1/src/Makefile.am 2006-11-14 23:28:11.000000000 +0300
-+++ glipper-0.95.1.my/src/Makefile.am 2007-08-09 13:32:44.000000000 +0400
-@@ -1,6 +1,6 @@
- AM_CFLAGS = $(FR_CFLAGS) -I$(top_srcdir) \
- -DGLIPPERLOCALEDIR=\""$(glipperlocaledir)"\" -DPIXMAPDIR=\""$(datadir)/pixmaps"\" \
-- -DGLADEDIR=\""$(datadir)/glipper"\"
-+ -DGLADEDIR=\""$(datadir)/glipper-old"\"
-
- noinst_PROGRAMS=glipper
- bin_PROGRAMS=glipper
-diff -wbBur glipper-0.95.1/src/Makefile.in glipper-0.95.1.my/src/Makefile.in
---- glipper-0.95.1/src/Makefile.in 2006-11-21 03:42:44.000000000 +0300
-+++ glipper-0.95.1.my/src/Makefile.in 2007-08-09 13:03:48.000000000 +0400
-@@ -223,7 +223,7 @@
- target_alias = @target_alias@
- AM_CFLAGS = $(FR_CFLAGS) -I$(top_srcdir) \
- -DGLIPPERLOCALEDIR=\""$(glipperlocaledir)"\" -DPIXMAPDIR=\""$(datadir)/pixmaps"\" \
-- -DGLADEDIR=\""$(datadir)/glipper"\"
-+ -DGLADEDIR=\""$(datadir)/glipper-old"\"
-
- glipper_SOURCES = \
- main.c main.h preferences.c preferences.h \
-diff -wbBur glipper-0.95.1/src/preferences.c glipper-0.95.1.my/src/preferences.c
---- glipper-0.95.1/src/preferences.c 2006-07-15 17:27:49.000000000 +0400
-+++ glipper-0.95.1.my/src/preferences.c 2007-08-09 13:17:31.000000000 +0400
-@@ -8,7 +8,7 @@
- #include "main.h"
- #include "utils/glipper-i18n.h"
-
--#define GLADE_XML_FILE "glipper-properties.glade"
-+#define GLADE_XML_FILE "glipper-old-properties.glade"
-
- GtkWidget* historyLength;
- GtkWidget* itemLength;
diff --git a/community/glipper/PKGBUILD b/community/glipper/PKGBUILD
deleted file mode 100644
index 430fa5e2e..000000000
--- a/community/glipper/PKGBUILD
+++ /dev/null
@@ -1,38 +0,0 @@
-# $Id: PKGBUILD 44486 2011-04-07 20:24:38Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: Pbl Gomez <pblgomez@gmail.com>
-
-pkgname=glipper
-pkgver=1.0
-pkgrel=12
-pkgdesc="Clipboard for gnome desktop"
-arch=('i686' 'x86_64')
-url="http://sourceforge.net/projects/glipper/"
-license=("GPL")
-depends=('python2-gconf' 'python-gnomeapplet' 'python2-libgnome' 'hicolor-icon-theme')
-makedepends=('pkgconfig' 'perlxml' 'gnome-doc-utils')
-optdepends=('pycrypto: encrypted connection support in Network plugin')
-install=glipper.install
-options=(!emptydirs !libtool)
-source=(http://downloads.sourceforge.net/sourceforge/glipper/$pkgname-$pkgver.tar.bz2)
-md5sums=('95315e62b950877611d4645a0b47e1ba')
-
-build() {
- cd $srcdir/$pkgname-$pkgver
-
- ./configure --prefix=/usr --sysconfdir=/etc
- make
-}
-
-package() {
- cd $srcdir/$pkgname-$pkgver
-
- make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR=$pkgdir install
-
- sed -i "s|#!/usr/bin/env python$|#!/usr/bin/env python2|" \
- $pkgdir/usr/lib/glipper/glipper
-
- install -dm755 ${pkgdir}/usr/share/gconf/schemas
- gconf-merge-schema ${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas $pkgdir/etc/gconf/schemas/*.schemas
- rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
-}
diff --git a/community/glipper/glipper.install b/community/glipper/glipper.install
deleted file mode 100644
index 72012f6cd..000000000
--- a/community/glipper/glipper.install
+++ /dev/null
@@ -1,30 +0,0 @@
-pkgname=glipper
-
-post_install() {
- export GCONF_CONFIG_SOURCE=`usr/bin/gconftool-2 --get-default-source`
- /usr/bin/gconftool-2 --makefile-install-rule usr/share/gconf/schemas/${pkgname}.schemas >/dev/null
- /usr/bin/gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
-}
-
-pre_upgrade() {
- echo "If you use Gnome, read http://glipper.sourceforge.net/ and remove ~/.glipper"
- echo "If you don't use Gnome, use glipper-old package"
- /bin/true
-}
-
-post_upgrade() {
- /usr/bin/gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
-}
-
-pre_remove() {
- if [ -f usr/share/gconf/schemas/${pkgname}.schemas ]; then
- schemas=(usr/share/gconf/schemas/${pkgname}.schemas)
- elif [ -f opt/gnome/share/gconf/schemas/${pkgname}.schemas ]; then
- schemas=(opt/gnome/share/gconf/schemas/${pkgname}.schemas)
- else
- schemas=(`pacman -Ql $pkgname | grep 'gconf/schemas/.*schemas$' | awk '{ print $2 }'`)
- fi
- export GCONF_CONFIG_SOURCE=`usr/bin/gconftool-2 --get-default-source`
- usr/bin/gconftool-2 --makefile-uninstall-rule ${schemas[@]} >/dev/null
-}
-
diff --git a/community/lcms2/PKGBUILD b/community/lcms2/PKGBUILD
deleted file mode 100644
index d7c84fce9..000000000
--- a/community/lcms2/PKGBUILD
+++ /dev/null
@@ -1,28 +0,0 @@
-# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
-pkgname=lcms2
-pkgver=2.1
-pkgrel=1
-pkgdesc="Small-footprint color management engine"
-arch=('i686' 'x86_64')
-url="http://www.littlecms.com/"
-license=('MIT')
-depends=('libtiff')
-options=(!libtool)
-source=(http://downloads.sourceforge.net/project/lcms/lcms/$pkgver/lcms2-$pkgver.tar.gz)
-md5sums=('08036edb115ad74456dfa20b1998b5f4')
-
-build() {
- cd "$srcdir"/lcms2-$pkgver
-
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "$srcdir"/lcms2-$pkgver
-
- make DESTDIR="$pkgdir/" install
- install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/community/libpanelappletmm/PKGBUILD b/community/libpanelappletmm/PKGBUILD
deleted file mode 100644
index 5d9f5aac3..000000000
--- a/community/libpanelappletmm/PKGBUILD
+++ /dev/null
@@ -1,21 +0,0 @@
-# $Id: PKGBUILD 28934 2010-10-07 19:16:14Z ibiru $
-# Maintainer: Ionut Biru <ibiru@archlinux.org>
-# Contributor: uastasi <uastasi@archlinux.us>
-pkgname=libpanelappletmm
-pkgver=2.26.0
-pkgrel=3
-pkgdesc="C++ library for creating GNOME panel applets"
-arch=('i686' 'x86_64')
-url="http://www.gnome.org"
-license=('GPL')
-depends=( 'gtkmm' 'gnome-panel-bonobo' 'gconfmm')
-options=('!libtool' '!emptydirs')
-source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.26/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('7aa569660b7ab36c1d86a7fa0beb7458306678e46bb2b7b1fd782bbcb5eb3852')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --sysconfdir=/usr/share
- make
- make DESTDIR="${pkgdir}" install
-}
diff --git a/community/panflute/PKGBUILD b/community/panflute/PKGBUILD
deleted file mode 100644
index 22991b45c..000000000
--- a/community/panflute/PKGBUILD
+++ /dev/null
@@ -1,42 +0,0 @@
-# $Id: PKGBUILD 31469 2010-10-31 21:20:40Z ibiru $
-# Maintainer : Ionut Biru <ibiru@archlinux.org>
-# Contributor: Owain Sutton <owainsutton @ gmail dot com>
-
-pkgname=panflute
-pkgver=0.7.0
-pkgrel=1
-pkgdesc="Music player interface and panel applet - successor to music-applet"
-arch=('i686' 'x86_64')
-url="https://launchpad.net/panflute"
-license=('GPL')
-depends=('dbus-python' 'gnome-python' 'python-notify' 'pygtk' 'python-numpy' 'python-gnomeapplet')
-makedepends=('perlxml' 'gnome-doc-utils>=0.18' 'intltool' 'gnome-python-desktop' 'python-mpd')
-optdepends=('python-mpd: for mpd support')
-install=panflute.install
-source=(http://launchpad.net/${pkgname}/0.7/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz)
-md5sums=('3499e5e7beb9ee737898a7f1ccff9cb2')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --libexecdir=/usr/lib/panflute \
- --disable-schemas-install
-
- make
- make DESTDIR="${pkgdir}" install
-
- sed -i "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
- $(find ${pkgdir}/usr/lib/python2.7/site-packages/panflute/ -name '*.py') \
- ${pkgdir}/usr/lib/panflute/panflute-applet \
- ${pkgdir}/usr/bin/panflute-{daemon,launch-player} \
- ${pkgdir}/usr/bin/panflute-debugger \
- ${pkgdir}/usr/bin/panflute-tests
-
- install -m755 -d "${pkgdir}"/usr/share/gconf/schemas
- gconf-merge-schema "${pkgdir}"/usr/share/gconf/schemas/${pkgname}.schemas --domain ${pkgname} \
- "${pkgdir}"/etc/gconf/schemas/*.schemas
-
- rm -rf "${pkgdir}"/etc/gconf
-}
diff --git a/community/panflute/panflute.install b/community/panflute/panflute.install
deleted file mode 100644
index 078b30c4c..000000000
--- a/community/panflute/panflute.install
+++ /dev/null
@@ -1,17 +0,0 @@
-pkgname=panflute
-
-post_install() {
- usr/sbin/gconfpkg --install ${pkgname}
-}
-
-pre_upgrade() {
- pre_remove $1
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- usr/sbin/gconfpkg --uninstall ${pkgname}
-}
diff --git a/community/sensors-applet/FS9379.patch b/community/sensors-applet/FS9379.patch
deleted file mode 100644
index 5fee4e20f..000000000
--- a/community/sensors-applet/FS9379.patch
+++ /dev/null
@@ -1,54 +0,0 @@
---- sensors-applet-2.2.1.orig/plugins/nvidia/nvidia-plugin.c
-+++ sensors-applet-2.2.1/plugins/nvidia/nvidia-plugin.c
-@@ -81,7 +81,7 @@
- /* create the connection to the X server */
- if (!(nvidia_sensors_dpy = XOpenDisplay(NULL))) {
- /* no connection to the X server avaible */
-- return;
-+ return sensors;
- }
-
- /* check if the NV-CONTROL extension is available on this X
-only in patch2:
-unchanged:
---- sensors-applet-2.2.1.orig/plugins/libsensors/libsensors-plugin.c
-+++ sensors-applet-2.2.1/plugins/libsensors/libsensors-plugin.c
-@@ -258,7 +258,8 @@
- * file - if neither succeed, exit */
- if ((file = fopen (LIBSENSORS_CONFIG_FILE, "r")) == NULL) {
- if ((file = fopen (LIBSENSORS_ALTERNATIVE_CONFIG_FILE, "r")) == NULL) {
-- return;
-+ g_debug("%s: error opening libsensors config file... ", __FUNCTION__);
-+ return sensors;
- }
- }
-
-@@ -266,7 +267,8 @@
- * valid, close file and return */
- if (sensors_init(file) != 0) {
- fclose(file);
-- return;
-+ g_debug("%s: error initing libsensors from config file...", __FUNCTION__);
-+ return sensors;
- }
- fclose(file);
-
-@@ -293,7 +295,8 @@
-
- int nr = 0;
- if (sensors_init(NULL) != 0) {
-- return;
-+ g_debug("%s: error initing libsensors", __FUNCTION__);
-+ return sensors;
- }
- i = 0;
- while ((chip_name = sensors_get_detected_chips(NULL, &nr)))
-@@ -502,7 +505,7 @@
- if (regcomp(&uri_re, "^sensor://([a-z0-9-]+)/([0-9]+)$",
- REG_EXTENDED | REG_ICASE) != 0) {
- g_debug("Error compiling regexp...not initing libsensors sensors interface");
-- return;
-+ return NULL;
- }
-
- return libsensors_plugin_get_sensors();
diff --git a/community/sensors-applet/PKGBUILD b/community/sensors-applet/PKGBUILD
deleted file mode 100644
index 2fd81dea0..000000000
--- a/community/sensors-applet/PKGBUILD
+++ /dev/null
@@ -1,35 +0,0 @@
-# $Id: PKGBUILD 41542 2011-03-07 16:09:06Z ibiru $
-# Maintainer: Ionut Biru <ibiru@archlinux.org>
-# Contributor: Roman Kyrylych <roman@archlinux.org>
-# Contributor: Michael Barker
-
-pkgname=sensors-applet
-pkgver=2.2.7
-pkgrel=3
-pkgdesc="An applet for the GNOME Panel to display readings from hardware sensors, including CPU temperature, fan speeds and voltage readings."
-arch=('i686' 'x86_64')
-url="http://sensors-applet.sourceforge.net/"
-license=('GPL')
-depends=('gnome-panel-bonobo' 'lm_sensors' 'hicolor-icon-theme')
-makedepends=('intltool' 'gnome-doc-utils>=0.18.1' 'libxnvctrl' 'libgnomeui')
-optdepends=('hddtemp: for HDD support'
- 'libxnvctrl: for Nvidia GPU support')
-install=sensors-applet.install
-source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
- sensors-applet-2.2.7-libnotify-0.7.patch)
-options=('!libtool')
-md5sums=('f342fab98be4f1b9a25af0689af20130'
- '96a4393d9e75e5eb88a6e906a5a7e464')
-
-build() {
- cd $srcdir/$pkgname-$pkgver
- patch -Np1 -i $srcdir/sensors-applet-2.2.7-libnotify-0.7.patch
- ./configure --prefix=/usr \
- --libexecdir=/usr/lib/sensors-applet \
- --localstatedir=/var \
- --disable-scrollkeeper \
- --with-nvidia \
- --enable-libnotify
- make
- make DESTDIR=$pkgdir install
-}
diff --git a/community/sensors-applet/sensors-applet-2.2.7-libnotify-0.7.patch b/community/sensors-applet/sensors-applet-2.2.7-libnotify-0.7.patch
deleted file mode 100644
index ea2f7803a..000000000
--- a/community/sensors-applet/sensors-applet-2.2.7-libnotify-0.7.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-diff --git a/sensors-applet/active-sensor-libnotify.c b/sensors-applet/active-sensor-libnotify.c
-index e69b005..f7a7eb8 100644
---- a/sensors-applet/active-sensor-libnotify.c
-+++ b/sensors-applet/active-sensor-libnotify.c
-@@ -84,10 +84,23 @@ void active_sensor_libnotify_notify(ActiveSensor *active_sensor,
-
- /* now create a new one */
- g_debug("Creating new notification");
-+ #ifdef NOTIFY_CHECK_VERSION
-+ #if NOTIFY_CHECK_VERSION (0, 7, 1)
-+ active_sensor->notification[notif_type] = notify_notification_new(summary,
-+ message,
-+ icon_filename);
-+ #else
-+ active_sensor->notification[notif_type] = notify_notification_new(summary,
-+ message,
-+ icon_filename,
-+ attach);
-+ #endif
-+ #else
- active_sensor->notification[notif_type] = notify_notification_new(summary,
- message,
- icon_filename,
- attach);
-+ #endif
- g_signal_connect(active_sensor->notification[notif_type], "closed",
- G_CALLBACK(notif_closed_cb),
- active_sensor);
-diff --git a/sensors-applet/sensors-applet.c b/sensors-applet/sensors-applet.c
-index 9486173..81675b8 100644
---- a/sensors-applet/sensors-applet.c
-+++ b/sensors-applet/sensors-applet.c
-@@ -303,11 +303,23 @@ void sensors_applet_notify(SensorsApplet *sensors_applet,
- message = g_strdup_printf(_("An error occurred while trying to save the current sensor configuration. "));
- break;
- }
--
-+ #ifdef NOTIFY_CHECK_VERSION
-+ #if NOTIFY_CHECK_VERSION (0, 7, 1)
-+ sensors_applet->notification = notify_notification_new(summary,
-+ message,
-+ GTK_STOCK_DIALOG_WARNING);
-+ #else
-+ sensors_applet->notification = notify_notification_new(summary,
-+ message,
-+ GTK_STOCK_DIALOG_WARNING,
-+ GTK_WIDGET(sensors_applet->applet));
-+ #endif
-+ #else
- sensors_applet->notification = notify_notification_new(summary,
- message,
- GTK_STOCK_DIALOG_WARNING,
- GTK_WIDGET(sensors_applet->applet));
-+ #endif
- g_free(summary);
- g_free(message);
-
diff --git a/community/sensors-applet/sensors-applet.install b/community/sensors-applet/sensors-applet.install
deleted file mode 100644
index 43ed0a554..000000000
--- a/community/sensors-applet/sensors-applet.install
+++ /dev/null
@@ -1,11 +0,0 @@
-post_install() {
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-}
-
-post_upgrade() {
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-}
-
-post_remove() {
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-}
diff --git a/community/wtf/LICENSE b/community/wtf/LICENSE
deleted file mode 100644
index dd912d4eb..000000000
--- a/community/wtf/LICENSE
+++ /dev/null
@@ -1,10 +0,0 @@
-Copyright (c) 2005, peter
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- * 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.
- * Neither the name of the <ORGANIZATION> 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 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 HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/community/wtf/PKGBUILD b/community/wtf/PKGBUILD
deleted file mode 100644
index 6434f8aad..000000000
--- a/community/wtf/PKGBUILD
+++ /dev/null
@@ -1,22 +0,0 @@
-# $Id: PKGBUILD 1265 2009-08-14 05:26:40Z ebelanger $
-# Maintainer: Jeff Mickey <j@codemac.net>
-
-pkgname=wtf
-pkgver=20071004
-pkgrel=2
-pkgdesc="ancronym dictionary"
-arch=('i686' 'x86_64')
-url="http://www.mu.org/~mux/wtf/"
-license=('BSD')
-source=(http://www.mu.org/~mux/wtf/$pkgname-$pkgver.tar.gz LICENSE)
-md5sums=('25944e275cc858e30cacea341509d19b' 'abac213cf24e9d5cab4e8115441eb717')
-
-build() {
- cd $startdir/src/$pkgname-$pkgver
-
- install -D -m644 $pkgname.6 $startdir/pkg/usr/share/man/man6/$pkgname.6
- install -D -m755 $pkgname $startdir/pkg/usr/bin/$pkgname
- mkdir -p $startdir/pkg/usr/share/misc/
- install -m644 acronyms acronyms.comp $startdir/pkg/usr/share/misc/
- install -Dm644 ${srcdir}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
-}
diff --git a/community/xmonad-log-applet/PKGBUILD b/community/xmonad-log-applet/PKGBUILD
deleted file mode 100644
index 86bc9cb50..000000000
--- a/community/xmonad-log-applet/PKGBUILD
+++ /dev/null
@@ -1,33 +0,0 @@
-# Contributor: Alexander Kreuzer <alex@freesources.org>
-# Maintainer: Jelle van der Waa <jelle vdwaa nl>
-
-pkgname=xmonad-log-applet
-pkgver=1.0.2
-pkgrel=1
-pkgdesc="Gnome Applet that display xmonad log message through DBus"
-arch=('i686' 'x86_64')
-url="http://uhsure.com/xmonad-log-applet.html"
-license=('custom')
-groups=()
-install=$pkgname.install
-depends=(dbus-core gnome-panel-bonobo hicolor-icon-theme)
-makedepends=()
-optdepends=("haskell-dbus: for xmonad integration see http://uhsure.com/xmonad-log-applet.html" )
-source=(http://uhsure.com/xmonad-log-applet/$pkgname-$pkgver.tar.gz)
-noextract=()
-
-build() {
- export LDFLAGS="${LDFLAGS//-Wl,--as-needed}"
- cd $srcdir/$pkgname-$pkgver
- ./configure --prefix=/usr
- make
-}
-package() {
- cd $srcdir/$pkgname-$pkgver
- install -d $pkgdir/usr/libexec $pkgdir/usr/lib/bonobo/servers $pkgdir/usr/share/icons/hicolor/48x48/apps
- make DESTDIR=$pkgdir install
- install -D LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
-
-}
-
-md5sums=('31219f21cb9075b33d3880e2eb5a2b80')
diff --git a/community/xmonad-log-applet/xmonad-log-applet.install b/community/xmonad-log-applet/xmonad-log-applet.install
deleted file mode 100644
index 2e96975d1..000000000
--- a/community/xmonad-log-applet/xmonad-log-applet.install
+++ /dev/null
@@ -1,3 +0,0 @@
-post_install() {
- gtk-update-icon-cache /usr/share/icons/hicolor
-}
diff --git a/extra/cdparanoia/ChangeLog b/extra/cdparanoia/ChangeLog
deleted file mode 100644
index a1a1d4df4..000000000
--- a/extra/cdparanoia/ChangeLog
+++ /dev/null
@@ -1,23 +0,0 @@
-2008-09-15 Alexander Fehr <pizzapunk gmail com>
-
- * cdparanoia-10.2-1:
- New upstream release.
-
-2008-08-07 Alexander Fehr <pizzapunk gmail com>
-
- * cdparanoia-10.1-1:
- New upstream release.
- Changed license to GPL.
- Added !makeflags option.
-
-2008-07-07 Alexander Fehr <pizzapunk gmail com>
-
- * cdparanoia-10.0-1:
- New upstream release.
- New maintainer.
- Added arch variable.
- Changed license to GPL3.
- Fixed man page location.
- Removed cdparanoia.patch.
- Removed gcc34.patch.
- Added ChangeLog.
diff --git a/extra/deskbar-applet/PKGBUILD b/extra/deskbar-applet/PKGBUILD
deleted file mode 100644
index 0845c3825..000000000
--- a/extra/deskbar-applet/PKGBUILD
+++ /dev/null
@@ -1,39 +0,0 @@
-# $Id: PKGBUILD 106730 2011-01-18 17:31:45Z jgc $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=deskbar-applet
-pkgver=2.32.0
-pkgrel=4
-pkgdesc="An all-in-one search bar for the GNOME panel"
-arch=(i686 x86_64)
-url="http://raphael.slinckx.net/deskbar/"
-license=('GPL')
-depends=('python-gnomekeyring' 'python-gnomeapplet' 'dbus-python' 'python-gnomedesktop' 'python-wnck' 'python2-gconf')
-makedepends=('evolution-data-server' 'intltool' 'gnome-doc-utils')
-options=('!libtool' '!emptydirs')
-groups=('gnome-extra')
-install=deskbar-applet.install
-source=(http://ftp.gnome.org/pub/GNOME/sources/deskbar-applet/2.32/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('123f2231ac8449f8376030c1b25394f9bab18d5d219292afc6f27eda77d4e684')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- sed '/^modulesdir=/ s/@libdir@/@libexecdir@/' -i data/deskbar-applet.pc.in
- PYTHON=python2 ./configure --prefix=/usr --sysconfdir=/etc \
- --localstatedir=/var --libexecdir=/usr/lib \
- --disable-scrollkeeper --enable-evolution \
- --disable-schemas-install
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install
-
- sed -i "s|#!/usr/bin/env python$|#!/usr/bin/env python2|" \
- "$pkgdir/usr/lib/deskbar-applet/deskbar-applet"
-
- install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
- gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain deskbar-applet ${pkgdir}/etc/gconf/schemas/*.schemas
- rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
-}
diff --git a/extra/deskbar-applet/deskbar-applet.install b/extra/deskbar-applet/deskbar-applet.install
deleted file mode 100644
index a97eaf8f2..000000000
--- a/extra/deskbar-applet/deskbar-applet.install
+++ /dev/null
@@ -1,22 +0,0 @@
-pkgname=deskbar-applet
-
-post_install() {
- usr/sbin/gconfpkg --install ${pkgname}
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-}
-
-pre_upgrade() {
- pre_remove $1
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- usr/sbin/gconfpkg --uninstall ${pkgname}
-}
-
-post_remove () {
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-}
diff --git a/extra/gnome-netstatus/PKGBUILD b/extra/gnome-netstatus/PKGBUILD
deleted file mode 100644
index b661b1ee8..000000000
--- a/extra/gnome-netstatus/PKGBUILD
+++ /dev/null
@@ -1,31 +0,0 @@
-# $Id: PKGBUILD 92034 2010-09-28 17:08:48Z ibiru $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=gnome-netstatus
-pkgver=2.28.2
-pkgrel=1
-pkgdesc="A GNOME applet that shows network status"
-arch=(i686 x86_64)
-license=('GPL')
-url="http://www.gnome.org"
-depends=('gnome-panel-bonobo>=2.32.0' 'hicolor-icon-theme')
-makedepends=('intltool' 'pkgconfig' 'gnome-doc-utils>=0.20.2')
-options=(!emptydirs)
-groups=('gnome-extra')
-source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.28/${pkgname}-${pkgver}.tar.bz2)
-install=gnome-netstatus.install
-sha256sums=('d1ad0a668a1344898d4f47b5591adddc7791edb6c2e92136ebcf8d278d959119')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --sysconfdir=/etc \
- --libexecdir=/usr/lib/gnome-netstatus \
- --localstatedir=/var --disable-static \
- --disable-scrollkeeper
- make
- make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install
-
- install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
- gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain gnome-netstatus ${pkgdir}/etc/gconf/schemas/*.schemas
- rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
-}
diff --git a/extra/gnome-netstatus/gnome-netstatus.install b/extra/gnome-netstatus/gnome-netstatus.install
deleted file mode 100644
index deb8b6773..000000000
--- a/extra/gnome-netstatus/gnome-netstatus.install
+++ /dev/null
@@ -1,22 +0,0 @@
-pkgname=gnome-netstatus
-
-post_install() {
- usr/sbin/gconfpkg --install ${pkgname}
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-}
-
-pre_upgrade() {
- pre_remove $1
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- usr/sbin/gconfpkg --install ${pkgname}
-}
-
-post_remove() {
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-}
diff --git a/extra/gv/aplinedel.patch b/extra/gv/aplinedel.patch
deleted file mode 100644
index 3026e426c..000000000
--- a/extra/gv/aplinedel.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -ur a/src/gv_misc_res.dat b/src/gv_misc_res.dat
---- a/src/gv_misc_res.dat 2010-10-15 09:21:36.000000000 +0200
-+++ b/src/gv_misc_res.dat 2010-10-15 09:21:48.000000000 +0200
-@@ -476,7 +476,6 @@
- <Key>BackSpace: GV_Page(up,left-bottom,!page-1,bottom-rightedge)\n\
- <Key>Insert: GV_Page(page-5) \n\
- <Key>Delete: GV_Page(page+5) \n\
-- <Key>apLineDel: GV_Page(page+5) \n\
- <Key>Home: GV_Page(page=0) \n\
- <Key>End: GV_Page(page=99999) \n\
- <Key>Prior: GV_Page(page-1) \n\
diff --git a/extra/htdig/quoting.patch b/extra/htdig/quoting.patch
deleted file mode 100644
index 57b0e3b78..000000000
--- a/extra/htdig/quoting.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-Index: htdig-3.2.0b6/htsearch/Display.cc
-===================================================================
---- htdig-3.2.0b6.orig/htsearch/Display.cc
-+++ htdig-3.2.0b6/htsearch/Display.cc
-@@ -137,7 +137,7 @@ Display::display(int pageNumber)
- // Must temporarily stash the message in a String, since
- // displaySyntaxError will overwrite the static temp used in form.
-
-- String s(form("No such sort method: `%s'", (const char*)config->Find("sort")));
-+ String s("invalid sort method");
-
- displaySyntaxError(s);
- return;
-Index: htdig-3.2.0b6/libhtdig/ResultFetch.cc
-===================================================================
---- htdig-3.2.0b6.orig/libhtdig/ResultFetch.cc
-+++ htdig-3.2.0b6/libhtdig/ResultFetch.cc
-@@ -142,7 +142,7 @@ ResultFetch::fetch()
- // Must temporarily stash the message in a String, since
- // displaySyntaxError will overwrite the static temp used in form.
-
-- String s(form("No such sort method: `%s'", (const char *) config->Find("sort")));
-+ String s("invalid sort method");
-
- displaySyntaxError(s);
- //return;
diff --git a/extra/libcanberra/libcanberra-quit-add.patch b/extra/libcanberra/libcanberra-quit-add.patch
deleted file mode 100644
index 0094569ae..000000000
--- a/extra/libcanberra/libcanberra-quit-add.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -up libcanberra-0.26/src/canberra-gtk-module.c.quit-add libcanberra-0.26/src/canberra-gtk-module.c
---- libcanberra-0.26/src/canberra-gtk-module.c.quit-add 2011-01-07 22:48:49.388992626 -0500
-+++ libcanberra-0.26/src/canberra-gtk-module.c 2011-01-07 22:49:02.339995153 -0500
-@@ -932,11 +932,6 @@ static void connect_settings(void) {
- connected = TRUE;
- }
-
--static gboolean quit_handler(gpointer data) {
-- dispatch_queue();
-- return FALSE;
--}
--
- G_MODULE_EXPORT void gtk_module_init(gint *argc, gchar ***argv[]) {
-
- /* This is the same quark libgnomeui uses! */
-@@ -963,8 +958,6 @@ G_MODULE_EXPORT void gtk_module_init(gin
- install_hook(GTK_TYPE_WIDGET, "drag-drop", &signal_id_widget_drag_drop);
- install_hook(GTK_TYPE_WIDGET, "drag-failed", &signal_id_widget_drag_failed);
- install_hook(GTK_TYPE_EXPANDER, "activate", &signal_id_expander_activate);
--
-- gtk_quit_add(1, quit_handler, NULL);
- }
-
- G_MODULE_EXPORT gchar* g_module_check_init(GModule *module);
diff --git a/extra/libgail-gnome/PKGBUILD b/extra/libgail-gnome/PKGBUILD
deleted file mode 100644
index fc074755f..000000000
--- a/extra/libgail-gnome/PKGBUILD
+++ /dev/null
@@ -1,29 +0,0 @@
-# $Id: PKGBUILD 111400 2011-02-26 15:19:19Z ibiru $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=libgail-gnome
-pkgver=1.20.4
-pkgrel=1
-pkgdesc="GNOME Accessibility Implementation Library for gnomeui and libbonoboui"
-arch=(i686 x86_64)
-license=('LGPL')
-depends=('gnome-panel-bonobo' 'at-spi' 'libgnomeui')
-makedepends=('intltool' 'pkgconfig')
-options=('!libtool' '!emptydirs')
-groups=('gnome-extra')
-install=libgail-gnome.install
-url="http://www.gnome.org"
-source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/1.20/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('c28f6757bdcf0651883837fc77708aa6b826438c1b96c39332eb9d53ae1bf0b0')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --sysconfdir=/etc \
- --localstatedir=/var
- make
- make -j1 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install
-
- install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
- gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" ${pkgdir}/etc/gconf/schemas/*.schemas
- rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
-}
diff --git a/extra/libgail-gnome/libgail-gnome.install b/extra/libgail-gnome/libgail-gnome.install
deleted file mode 100644
index 81e110fd1..000000000
--- a/extra/libgail-gnome/libgail-gnome.install
+++ /dev/null
@@ -1,19 +0,0 @@
-pkgname=libgail-gnome
-
-post_install() {
- usr/sbin/gconfpkg --install ${pkgname}
-}
-
-pre_upgrade() {
- pre_remove $1
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- if [ -e usr/share/gconf/schemas/${pkgname}.schemas ]; then
- usr/sbin/gconfpkg --uninstall ${pkgname}
- fi
-}
diff --git a/extra/nautilus/places-sidebar.patch b/extra/nautilus/places-sidebar.patch
deleted file mode 100644
index e6c3f6327..000000000
--- a/extra/nautilus/places-sidebar.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From cd5a1e5cf95a165c66e7a097530058864dc3a38f Mon Sep 17 00:00:00 2001
-From: Cosimo Cecchi <cosimoc@gnome.org>
-Date: Thu, 28 Apr 2011 18:05:07 +0000
-Subject: places-sidebar: make sure to return if we click inside empty space
-
-https://bugzilla.gnome.org/show_bug.cgi?id=648872
----
-diff --git a/src/nautilus-places-sidebar.c b/src/nautilus-places-sidebar.c
-index 6e49a4c..56216ab 100644
---- a/src/nautilus-places-sidebar.c
-+++ b/src/nautilus-places-sidebar.c
-@@ -2685,6 +2685,7 @@ bookmarks_button_release_event_cb (GtkWidget *widget,
- GtkTreeIter iter;
- GtkTreeModel *model;
- GtkTreeView *tree_view;
-+ gboolean res;
-
- path = NULL;
-
-@@ -2708,8 +2709,12 @@ bookmarks_button_release_event_cb (GtkWidget *widget,
- return FALSE;
- }
-
-- gtk_tree_view_get_path_at_pos (tree_view, (int) event->x, (int) event->y,
-- &path, NULL, NULL, NULL);
-+ res = gtk_tree_view_get_path_at_pos (tree_view, (int) event->x, (int) event->y,
-+ &path, NULL, NULL, NULL);
-+
-+ if (!res) {
-+ return FALSE;
-+ }
-
- gtk_tree_model_get_iter (model, &iter, path);
-
---
-cgit v0.9
diff --git a/extra/nautilus/progress-ui-handler.patch b/extra/nautilus/progress-ui-handler.patch
deleted file mode 100644
index 231ea64bc..000000000
--- a/extra/nautilus/progress-ui-handler.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From fdcc2f36f549a18ea6f587fb9e9bad97f0114c59 Mon Sep 17 00:00:00 2001
-From: Cosimo Cecchi <cosimoc@gnome.org>
-Date: Thu, 28 Apr 2011 18:25:15 +0000
-Subject: progress-ui-handler: don't add progress infos to the window twice
-
-We were adding them twice in case there was already one operation
-running.
-
-https://bugzilla.gnome.org/show_bug.cgi?id=648857
----
-diff --git a/src/nautilus-progress-ui-handler.c b/src/nautilus-progress-ui-handler.c
-index 2479682..fe295b2 100644
---- a/src/nautilus-progress-ui-handler.c
-+++ b/src/nautilus-progress-ui-handler.c
-@@ -315,10 +315,10 @@ handle_new_progress_info (NautilusProgressUIHandler *self,
- G_CALLBACK (progress_info_finished_cb), self);
-
- self->priv->active_infos++;
-- progress_ui_handler_add_to_window (self, info);
-
- if (self->priv->active_infos == 1) {
- /* this is the only active operation, present the window */
-+ progress_ui_handler_add_to_window (self, info);
- gtk_window_present (GTK_WINDOW (self->priv->progress_window));
- } else {
- if (gtk_widget_get_visible (self->priv->progress_window)) {
---
-cgit v0.9
diff --git a/extra/netspeed-applet/PKGBUILD b/extra/netspeed-applet/PKGBUILD
deleted file mode 100644
index 7cd7566b6..000000000
--- a/extra/netspeed-applet/PKGBUILD
+++ /dev/null
@@ -1,25 +0,0 @@
-# $Id: PKGBUILD 94521 2010-10-07 19:29:30Z ibiru $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-# Contributor: Arjan Timmerman <arjan@archlinux.org>
-
-pkgname=netspeed-applet
-pkgver=0.16
-pkgrel=2
-pkgdesc="GNOME applet that shows how much traffic occurs on a specified network device."
-arch=(i686 x86_64)
-license=('GPL')
-url="http://projects.gnome.org/netspeed/"
-depends=('gnome-panel-bonobo>=2.32.0' 'libgtop>=2.28.2' 'wireless_tools' 'hicolor-icon-theme')
-makedepends=('pkgconfig' 'gnome-doc-utils>=0.20.2' 'intltool')
-install=netspeed-applet.install
-source=(http://launchpad.net/netspeed/trunk/0.16/+download/netspeed_applet-${pkgver}.tar.gz)
-md5sums=('8ae5f925d29fca9b70a248ad05316877')
-
-build() {
- cd "${srcdir}/netspeed_applet-${pkgver}"
- ./configure --prefix=/usr --sysconfdir=/etc \
- --libexecdir=/usr/lib/netspeed-applet \
- --localstatedir=/var --disable-scrollkeeper
- make
- make DESTDIR="${pkgdir}" install
-}
diff --git a/extra/netspeed-applet/netspeed-applet.install b/extra/netspeed-applet/netspeed-applet.install
deleted file mode 100644
index 1a05f573e..000000000
--- a/extra/netspeed-applet/netspeed-applet.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/extra/pulseaudio-mixer-applet/PKGBUILD b/extra/pulseaudio-mixer-applet/PKGBUILD
deleted file mode 100644
index 54fcd03c7..000000000
--- a/extra/pulseaudio-mixer-applet/PKGBUILD
+++ /dev/null
@@ -1,27 +0,0 @@
-# $Id: PKGBUILD 99926 2010-11-19 14:16:58Z heftig $
-# Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com>
-# Contributor: Samed Beyribey <ras0ir AT eventualis DOT org>
-
-pkgname=pulseaudio-mixer-applet
-pkgver=0.2.2
-pkgrel=6
-pkgdesc="GNOME panel applet to control PulseAudio devices and streams"
-arch=(i686 x86_64)
-url="https://launchpad.net/pama"
-license=(GPL3)
-depends=(gnome-media gnome-panel-bonobo libpulse glib2)
-makedepends=(intltool)
-source=(http://launchpad.net/pama/${pkgver%.*}/$pkgver/+download/pulseaudio-mixer-applet-$pkgver.tar.gz)
-md5sums=('b7df43c999ad8583f779e678cfe768ae')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
-
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir/" install
-}
diff --git a/extra/seahorse-plugins/PKGBUILD b/extra/seahorse-plugins/PKGBUILD
deleted file mode 100644
index d081ed186..000000000
--- a/extra/seahorse-plugins/PKGBUILD
+++ /dev/null
@@ -1,38 +0,0 @@
-# $Id: PKGBUILD 112893 2011-03-07 15:53:09Z ibiru $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=seahorse-plugins
-pkgver=2.30.1
-pkgrel=3
-pkgdesc="Seahorse plugins"
-arch=(i686 x86_64)
-license=('GPL')
-depends=('seahorse>=2.30.1' 'desktop-file-utils')
-makedepends=('intltool' 'gnome-doc-utils>=0.20.0' 'pkgconfig' 'gedit>=2.30.2' 'nautilus>=2.30.1' 'gnome-panel-bonobo>=2.32.0')
-optdepends=('gnome-panel-bonobo: applet support')
-groups=('gnome-extra')
-url="http://www.gnome.org"
-options=('!libtool' '!emptydirs')
-install=seahorse-plugins.install
-source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.30/${pkgname}-${pkgver}.tar.bz2
- gpgme-init.patch
- seahorse-plugins-2.30.1-libnotify-0.7.patch)
-sha256sums=('1fdfed1aef2c22a29a9abc00eae67752854e466a66cee2a8c1c278277e832d66'
- '418d67892b348d02885e968c5299416baf545b12cf8f58b23579f79e87776ab2'
- '9da8c5552217a56f4b7d12e28a425b3980b20953d8312c3017378e5a71536905')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- patch -Np1 -i "${srcdir}/gpgme-init.patch"
- patch -Np0 -i "${srcdir}/seahorse-plugins-2.30.1-libnotify-0.7.patch"
- ./configure --prefix=/usr --sysconfdir=/etc \
- --localstatedir=/var --disable-scrollkeeper \
- --disable-update-mime-database \
- --disable-static
- make
- make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install
-
- install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
- gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain seahorse-plugins ${pkgdir}/etc/gconf/schemas/*.schemas
- rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
-}
diff --git a/extra/seahorse-plugins/gpgme-init.patch b/extra/seahorse-plugins/gpgme-init.patch
deleted file mode 100644
index 7e2e94be2..000000000
--- a/extra/seahorse-plugins/gpgme-init.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-diff -ruN seahorse-plugins-2.29.90.orig/agent/seahorse-agent-cache.c seahorse-plugins-2.29.90/agent/seahorse-agent-cache.c
---- seahorse-plugins-2.29.90.orig/agent/seahorse-agent-cache.c 2010-01-25 03:06:50.000000000 +0100
-+++ seahorse-plugins-2.29.90/agent/seahorse-agent-cache.c 2010-02-14 12:31:01.000000000 +0100
-@@ -236,6 +236,7 @@
- if (g_cache == NULL) {
- g_cache =
- g_hash_table_new_full (g_str_hash, g_str_equal, NULL, destroy_cache_item);
-+ gpgme_check_version (NULL);
-
- err = gpgme_engine_check_version (proto);
- g_return_if_fail (GPG_IS_OK (err));
-diff -ruN seahorse-plugins-2.29.90.orig/libseahorse/seahorse-pgp-operation.c seahorse-plugins-2.29.90/libseahorse/seahorse-pgp-operation.c
---- seahorse-plugins-2.29.90.orig/libseahorse/seahorse-pgp-operation.c 2010-01-25 03:06:50.000000000 +0100
-+++ seahorse-plugins-2.29.90/libseahorse/seahorse-pgp-operation.c 2010-02-14 12:31:25.000000000 +0100
-@@ -322,6 +322,8 @@
- gpgme_protocol_t proto = GPGME_PROTOCOL_OpenPGP;
- gpgme_error_t err;
- gpgme_ctx_t ctx;
-+
-+ gpgme_check_version (NULL);
-
- err = gpgme_engine_check_version (proto);
- g_return_if_fail (GPG_IS_OK (err));
-diff -ruN seahorse-plugins-2.29.90.orig/plugins/nautilus/seahorse-tool.c seahorse-plugins-2.29.90/plugins/nautilus/seahorse-tool.c
---- seahorse-plugins-2.29.90.orig/plugins/nautilus/seahorse-tool.c 2010-01-25 03:06:50.000000000 +0100
-+++ seahorse-plugins-2.29.90/plugins/nautilus/seahorse-tool.c 2010-02-14 12:32:44.000000000 +0100
-@@ -171,6 +171,7 @@
-
- if (recips) {
-
-+ gpgme_check_version (NULL);
- gerr = gpgme_new (&ctx);
- g_return_val_if_fail (GPG_IS_OK (gerr), NULL);
-
-@@ -328,6 +329,8 @@
- id = cryptui_keyset_key_raw_keyid (keyset, signer);
- g_free (signer);
-
-+ gpgme_check_version (NULL);
-+
- gerr = gpgme_new (&ctx);
- g_return_val_if_fail (GPG_IS_OK (gerr), NULL);
-
diff --git a/extra/seahorse-plugins/seahorse-plugins-2.30.1-libnotify-0.7.patch b/extra/seahorse-plugins/seahorse-plugins-2.30.1-libnotify-0.7.patch
deleted file mode 100644
index 060340707..000000000
--- a/extra/seahorse-plugins/seahorse-plugins-2.30.1-libnotify-0.7.patch
+++ /dev/null
@@ -1,26 +0,0 @@
---- libseahorse/seahorse-notification.c
-+++ libseahorse/seahorse-notification.c
-@@ -34,6 +34,9 @@
-
- #ifdef HAVE_LIBNOTIFY
- #include <libnotify/notify.h>
-+#ifndef NOTIFY_CHECK_VERSION
-+#define NOTIFY_CHECK_VERSION(x,y,z) 0
-+#endif
- #endif
-
- /* -----------------------------------------------------------------------------
-@@ -213,7 +216,12 @@
- heading = format_key_text (snotif->heading);
- message = format_key_text (snotif->message);
-
-- notif = notify_notification_new (heading, message, snotif->icon, attachto);
-+ notif = notify_notification_new (heading, message, snotif->icon
-+#if NOTIFY_CHECK_VERSION (0, 7, 0)
-+ );
-+#else
-+ , attachto);
-+#endif
-
- g_free (heading);
- g_free (message);
diff --git a/extra/seahorse-plugins/seahorse-plugins.install b/extra/seahorse-plugins/seahorse-plugins.install
deleted file mode 100644
index 3f36ff2a2..000000000
--- a/extra/seahorse-plugins/seahorse-plugins.install
+++ /dev/null
@@ -1,26 +0,0 @@
-pkgname=seahorse-plugins
-
-post_install() {
- usr/sbin/gconfpkg --install ${pkgname}
- update-desktop-database -q
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
- update-mime-database usr/share/mime >/dev/null 2>&1
-}
-
-pre_upgrade() {
- pre_remove $1
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- usr/sbin/gconfpkg --uninstall ${pkgname}
-}
-
-post_remove() {
- update-desktop-database -q
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
- update-mime-database usr/share/mime
-}
diff --git a/multilib/nspluginwrapper/npw-viewer.c.patch b/multilib/nspluginwrapper/npw-viewer.c.patch
deleted file mode 100644
index a213003fd..000000000
--- a/multilib/nspluginwrapper/npw-viewer.c.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -Nur nspluginwrapper-1.3.0.orig//src/npw-viewer.c nspluginwrapper-1.3.0//src/npw-viewer.c
---- nspluginwrapper-1.3.0.orig//src/npw-viewer.c 2009-01-02 15:22:29.000000000 +0100
-+++ nspluginwrapper-1.3.0//src/npw-viewer.c 2010-08-26 18:46:50.574976221 +0200
-@@ -4187,7 +4187,8 @@
- #define high_offset offsetof(struct _XtAppStruct, __maybe__input_max)
- #define n_offsets_max (high_offset - low_offset)/2
- int i, ofs, n_offsets = 0;
-- int offsets[n_offsets_max] = { 0, };
-+ int offsets[n_offsets_max];
-+ offsets[0] = 0;
-
- #define n_inputs_max 4 /* number of refinements/input sources */
- int fd, id, n_inputs = 0;
diff --git a/multilib/nspluginwrapper/nspluginwrapper-20090625-fix-npident-array-sending.patch b/multilib/nspluginwrapper/nspluginwrapper-20090625-fix-npident-array-sending.patch
deleted file mode 100644
index 568a4ea1f..000000000
--- a/multilib/nspluginwrapper/nspluginwrapper-20090625-fix-npident-array-sending.patch
+++ /dev/null
@@ -1,178 +0,0 @@
-Index: src/npw-viewer.c
-===================================================================
---- src/npw-viewer.c (revision 942)
-+++ src/npw-viewer.c (working copy)
-@@ -2059,7 +2059,7 @@
- RPC_METHOD_NPN_INVOKE,
- RPC_TYPE_NPW_PLUGIN_INSTANCE, plugin,
- RPC_TYPE_NP_OBJECT, npobj,
-- RPC_TYPE_NP_IDENTIFIER, methodName,
-+ RPC_TYPE_NP_IDENTIFIER, &methodName,
- RPC_TYPE_ARRAY, RPC_TYPE_NP_VARIANT, argCount, args,
- RPC_TYPE_INVALID);
-
-@@ -2249,7 +2249,7 @@
- RPC_METHOD_NPN_GET_PROPERTY,
- RPC_TYPE_NPW_PLUGIN_INSTANCE, plugin,
- RPC_TYPE_NP_OBJECT, npobj,
-- RPC_TYPE_NP_IDENTIFIER, propertyName,
-+ RPC_TYPE_NP_IDENTIFIER, &propertyName,
- RPC_TYPE_INVALID);
-
- if (error != RPC_ERROR_NO_ERROR) {
-@@ -2311,7 +2311,7 @@
- RPC_METHOD_NPN_SET_PROPERTY,
- RPC_TYPE_NPW_PLUGIN_INSTANCE, plugin,
- RPC_TYPE_NP_OBJECT, npobj,
-- RPC_TYPE_NP_IDENTIFIER, propertyName,
-+ RPC_TYPE_NP_IDENTIFIER, &propertyName,
- RPC_TYPE_NP_VARIANT, value,
- RPC_TYPE_INVALID);
-
-@@ -2370,7 +2370,7 @@
- RPC_METHOD_NPN_REMOVE_PROPERTY,
- RPC_TYPE_NPW_PLUGIN_INSTANCE, plugin,
- RPC_TYPE_NP_OBJECT, npobj,
-- RPC_TYPE_NP_IDENTIFIER, propertyName,
-+ RPC_TYPE_NP_IDENTIFIER, &propertyName,
- RPC_TYPE_INVALID);
-
- if (error != RPC_ERROR_NO_ERROR) {
-@@ -2427,7 +2427,7 @@
- RPC_METHOD_NPN_HAS_PROPERTY,
- RPC_TYPE_NPW_PLUGIN_INSTANCE, plugin,
- RPC_TYPE_NP_OBJECT, npobj,
-- RPC_TYPE_NP_IDENTIFIER, propertyName,
-+ RPC_TYPE_NP_IDENTIFIER, &propertyName,
- RPC_TYPE_INVALID);
-
- if (error != RPC_ERROR_NO_ERROR) {
-@@ -2484,7 +2484,7 @@
- RPC_METHOD_NPN_HAS_METHOD,
- RPC_TYPE_NPW_PLUGIN_INSTANCE, plugin,
- RPC_TYPE_NP_OBJECT, npobj,
-- RPC_TYPE_NP_IDENTIFIER, methodName,
-+ RPC_TYPE_NP_IDENTIFIER, &methodName,
- RPC_TYPE_INVALID);
-
- if (error != RPC_ERROR_NO_ERROR) {
-@@ -2780,7 +2780,7 @@
-
- int error = rpc_method_invoke(g_rpc_connection,
- RPC_METHOD_NPN_IDENTIFIER_IS_STRING,
-- RPC_TYPE_NP_IDENTIFIER, identifier,
-+ RPC_TYPE_NP_IDENTIFIER, &identifier,
- RPC_TYPE_INVALID);
-
- if (error != RPC_ERROR_NO_ERROR) {
-@@ -2838,7 +2838,7 @@
-
- int error = rpc_method_invoke(g_rpc_connection,
- RPC_METHOD_NPN_UTF8_FROM_IDENTIFIER,
-- RPC_TYPE_NP_IDENTIFIER, identifier,
-+ RPC_TYPE_NP_IDENTIFIER, &identifier,
- RPC_TYPE_INVALID);
-
- if (error != RPC_ERROR_NO_ERROR) {
-@@ -2902,7 +2902,7 @@
-
- int error = rpc_method_invoke(g_rpc_connection,
- RPC_METHOD_NPN_INT_FROM_IDENTIFIER,
-- RPC_TYPE_NP_IDENTIFIER, identifier,
-+ RPC_TYPE_NP_IDENTIFIER, &identifier,
- RPC_TYPE_INVALID);
-
- if (error != RPC_ERROR_NO_ERROR) {
-Index: src/npw-wrapper.c
-===================================================================
---- src/npw-wrapper.c (revision 942)
-+++ src/npw-wrapper.c (working copy)
-@@ -1528,7 +1528,7 @@
- free(name);
-
- return rpc_method_send_reply(connection,
-- RPC_TYPE_NP_IDENTIFIER, ident,
-+ RPC_TYPE_NP_IDENTIFIER, &ident,
- RPC_TYPE_INVALID);
- }
-
-@@ -1601,7 +1601,7 @@
- NPIdentifier ident = g_NPN_GetIntIdentifier(intid);
-
- return rpc_method_send_reply(connection,
-- RPC_TYPE_NP_IDENTIFIER, ident,
-+ RPC_TYPE_NP_IDENTIFIER, &ident,
- RPC_TYPE_INVALID);
- }
-
-Index: src/npruntime.c
-===================================================================
---- src/npruntime.c (revision 942)
-+++ src/npruntime.c (working copy)
-@@ -221,7 +221,7 @@
- int error = rpc_method_invoke(g_rpc_connection,
- RPC_METHOD_NPCLASS_HAS_METHOD,
- RPC_TYPE_NP_OBJECT, npobj,
-- RPC_TYPE_NP_IDENTIFIER, name,
-+ RPC_TYPE_NP_IDENTIFIER, &name,
- RPC_TYPE_INVALID);
-
- if (error != RPC_ERROR_NO_ERROR) {
-@@ -327,7 +327,7 @@
- int error = rpc_method_invoke(g_rpc_connection,
- RPC_METHOD_NPCLASS_INVOKE,
- RPC_TYPE_NP_OBJECT, npobj,
-- RPC_TYPE_NP_IDENTIFIER, name,
-+ RPC_TYPE_NP_IDENTIFIER, &name,
- RPC_TYPE_ARRAY, RPC_TYPE_NP_VARIANT, argCount, args,
- RPC_TYPE_INVALID);
-
-@@ -509,7 +509,7 @@
- int error = rpc_method_invoke(g_rpc_connection,
- RPC_METHOD_NPCLASS_HAS_PROPERTY,
- RPC_TYPE_NP_OBJECT, npobj,
-- RPC_TYPE_NP_IDENTIFIER, name,
-+ RPC_TYPE_NP_IDENTIFIER, &name,
- RPC_TYPE_INVALID);
-
- if (error != RPC_ERROR_NO_ERROR) {
-@@ -599,7 +599,7 @@
- int error = rpc_method_invoke(g_rpc_connection,
- RPC_METHOD_NPCLASS_GET_PROPERTY,
- RPC_TYPE_NP_OBJECT, npobj,
-- RPC_TYPE_NP_IDENTIFIER, name,
-+ RPC_TYPE_NP_IDENTIFIER, &name,
- RPC_TYPE_INVALID);
-
- if (error != RPC_ERROR_NO_ERROR) {
-@@ -684,7 +684,7 @@
- int error = rpc_method_invoke(g_rpc_connection,
- RPC_METHOD_NPCLASS_SET_PROPERTY,
- RPC_TYPE_NP_OBJECT, npobj,
-- RPC_TYPE_NP_IDENTIFIER, name,
-+ RPC_TYPE_NP_IDENTIFIER, &name,
- RPC_TYPE_NP_VARIANT, value,
- RPC_TYPE_INVALID);
-
-@@ -763,7 +763,7 @@
- int error = rpc_method_invoke(g_rpc_connection,
- RPC_METHOD_NPCLASS_REMOVE_PROPERTY,
- RPC_TYPE_NP_OBJECT, npobj,
-- RPC_TYPE_NP_IDENTIFIER, name,
-+ RPC_TYPE_NP_IDENTIFIER, &name,
- RPC_TYPE_INVALID);
-
- if (error != RPC_ERROR_NO_ERROR) {
-Index: src/npw-rpc.c
-===================================================================
---- src/npw-rpc.c (revision 942)
-+++ src/npw-rpc.c (working copy)
-@@ -1252,7 +1252,7 @@
- // the browser side
- static int do_send_NPIdentifier(rpc_message_t *message, void *p_value)
- {
-- NPIdentifier ident = (NPIdentifier)p_value;
-+ NPIdentifier ident = *(NPIdentifier *)p_value;
- int id = 0;
- if (ident) {
- #ifdef BUILD_WRAPPER
diff --git a/testing/binutils/PKGBUILD b/testing/binutils/PKGBUILD
deleted file mode 100644
index 40416653c..000000000
--- a/testing/binutils/PKGBUILD
+++ /dev/null
@@ -1,83 +0,0 @@
-# $Id: PKGBUILD 121290 2011-04-30 08:22:29Z allan $
-# Maintainer: Allan McRae <allan@archlinux.org>
-
-# toolchain build order: linux-api-headers->glibc->binutils->gcc->binutils->glibc
-
-pkgname=binutils
-pkgver=2.21
-pkgrel=7
-_date=20110430
-pkgdesc="A set of programs to assemble and manipulate binary and object files"
-arch=('i686' 'x86_64')
-url="http://www.gnu.org/software/binutils/"
-license=('GPL')
-groups=('base')
-depends=('glibc>=2.13' 'zlib')
-makedepends=('dejagnu')
-options=('!libtool' '!distcc' '!ccache')
-install=binutils.install
-source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}_${_date}.tar.bz2)
-md5sums=('7b3e28fb35cb8bb371cc47291e1c6dec')
-
-mksource() {
- mkdir ${pkgname}-${_date}
- cd ${pkgname}-${_date}
- export _TAG=binutils-2_21-branch
- export 'CVSROOT=:pserver:anoncvs@sourceware.org:/cvs/src'
- cvs -z9 co -r $_TAG binutils || return 1
- mv src binutils
- tar -cvjf ../binutils-${pkgver}_${_date}.tar.bz2 binutils/*
-}
-
-build() {
- cd ${srcdir}
- mkdir binutils-build && cd binutils-build
-
- [[ $CARCH == "x86_64" ]] && CONFIGFLAG="--enable-64-bit-bfd --disable-multilib"
-
- ${srcdir}/binutils/configure --prefix=/usr \
- --enable-ld=default --enable-gold \
- --enable-plugins --enable-threads \
- --enable-shared $CONFIGFLAG
-
- # This checks the host environment and makes sure all the necessary tools are available to compile Binutils.
- make configure-host
-
- make tooldir=${pkgdir}/usr
-}
-
-check() {
- cd ${srcdir}/binutils-build
-
- # do not abort on errors - manually check log files
- make -k -j1 check || true
-}
-
-package() {
- cd ${srcdir}/binutils-build
- make prefix=${pkgdir}/usr tooldir=${pkgdir}/usr install
-
- # Add some useful headers
- install -m644 ${srcdir}/binutils/include/libiberty.h ${pkgdir}/usr/include
- install -m644 ${srcdir}/binutils/include/demangle.h ${pkgdir}/usr/include
-
- # Rebuild libiberty.a with -fPIC
- make -C libiberty clean
- make CFLAGS="$CFLAGS -fPIC" -C libiberty
- install -m644 libiberty/libiberty.a ${pkgdir}/usr/lib
-
- # Rebuild libbfd.a with -fPIC
- make -C bfd clean
- # hidden visability prevent 3rd party shared libraries exporting bfd non-stable API
- make CFLAGS="$CFLAGS -fPIC -fvisibility=hidden" -C bfd
- install -m644 bfd/libbfd.a ${pkgdir}/usr/lib
-
- # Remove Windows/Novell specific man pages
- rm -f ${pkgdir}/usr/share/man/man1/{dlltool,nlmconv,windres,windmc}*
-
- # Remove these symlinks, they are not ABI stable.
- # Programs should compile static to the .a file.
- rm -f ${pkgdir}/usr/lib/lib{bfd,opcodes}.so
- echo "INPUT ( /usr/lib/libbfd.a -liberty -lz )" >${pkgdir}/usr/lib/libbfd.so
- echo "INPUT ( /usr/lib/libopcodes.a -lbfd )" >${pkgdir}/usr/lib/libopcodes.so
-}
diff --git a/testing/binutils/binutils.install b/testing/binutils/binutils.install
deleted file mode 100644
index 8bf9f3a47..000000000
--- a/testing/binutils/binutils.install
+++ /dev/null
@@ -1,17 +0,0 @@
-infodir=usr/share/info
-filelist=(as.info bfd.info binutils.info configure.info gprof.info ld.info standards.info)
-
-post_upgrade() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
- install-info $infodir/$file.gz $infodir/dir 2> /dev/null
- done
-}
-
-pre_remove() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
- install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
- done
-}
-
diff --git a/testing/coreutils/PKGBUILD b/testing/coreutils/PKGBUILD
deleted file mode 100644
index e63b4f02f..000000000
--- a/testing/coreutils/PKGBUILD
+++ /dev/null
@@ -1,69 +0,0 @@
-# $Id: PKGBUILD 120920 2011-04-27 11:05:23Z allan $
-# Maintainer: Allan McRae <allan@archlinux.org>
-# Contributor: judd <jvinet@zeroflux.org>
-
-pkgname=coreutils
-pkgver=8.12
-pkgrel=1
-pkgdesc="The basic file, shell and text manipulation utilities of the GNU operating system"
-arch=('i686' 'x86_64')
-license=('GPL3')
-url="http://www.gnu.org/software/coreutils"
-groups=('base')
-depends=('glibc' 'shadow' 'pam' 'acl' 'gmp' 'libcap')
-replaces=('mktemp')
-backup=('etc/pam.d/su')
-install=${pkgname}.install
-options=('!emptydirs')
-source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz
- coreutils-uname.patch
- coreutils-pam.patch
- su.pam)
-md5sums=('0f7d43c2d2e24314b43a6c6267e25b90'
- 'c4fcca138b6abf6d443d48a6f0cd8833'
- 'aad79a2aa6d566c375d7bdd1b0767278'
- 'fa85e5cce5d723275b14365ba71a8aad')
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
-
- # added su wheel group pam patch (from fedora git)
- patch -Np1 -i ${srcdir}/coreutils-pam.patch
-
- # linux specific uname improvement (from gentoo portage)
- patch -Np1 -i ${srcdir}/coreutils-uname.patch
-
- autoreconf -v
- ./configure --prefix=/usr \
- --enable-install-program=su \
- --enable-no-install-program=groups,hostname,kill,uptime \
- --enable-pam
- make
-}
-
-check() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make RUN_EXPENSIVE_TESTS=yes check
-}
-
-package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install
-
- cd ${pkgdir}/usr/bin
- install -dm755 ${pkgdir}/{bin,usr/sbin}
-
- # binaries required by FHS
- _fhs="cat chgrp chmod chown cp date dd df echo false ln ls \
- mkdir mknod mv pwd rm rmdir stty su sync true uname"
- mv ${_fhs} ${pkgdir}/bin
-
- # binaries required by various Arch scripts
- _bin="cut dir dircolors du install mkfifo readlink shred \
- sleep touch tr vdir"
- mv ${_bin} ${pkgdir}/bin
- ln -sf /bin/sleep ${pkgdir}/usr/bin/sleep
-
- mv chroot ${pkgdir}/usr/sbin
- install -Dm644 ${srcdir}/su.pam ${pkgdir}/etc/pam.d/su
-}
diff --git a/testing/coreutils/coreutils-pam.patch b/testing/coreutils/coreutils-pam.patch
deleted file mode 100644
index e61908f3f..000000000
--- a/testing/coreutils/coreutils-pam.patch
+++ /dev/null
@@ -1,428 +0,0 @@
-diff -urNp coreutils-8.4-orig/configure.ac coreutils-8.4/configure.ac
---- coreutils-8.4-orig/configure.ac 2010-01-11 18:20:42.000000000 +0100
-+++ coreutils-8.4/configure.ac 2010-02-12 10:17:46.000000000 +0100
-@@ -126,6 +126,13 @@ if test "$gl_gcc_warnings" = yes; then
- AC_SUBST([GNULIB_WARN_CFLAGS])
- fi
-
-+dnl Give the chance to enable PAM
-+AC_ARG_ENABLE(pam, dnl
-+[ --enable-pam Enable use of the PAM libraries],
-+[AC_DEFINE(USE_PAM, 1, [Define if you want to use PAM])
-+LIB_PAM="-ldl -lpam -lpam_misc"
-+AC_SUBST(LIB_PAM)])
-+
- AC_FUNC_FORK
-
- optional_bin_progs=
-diff -urNp coreutils-8.4-orig/doc/coreutils.texi coreutils-8.4/doc/coreutils.texi
---- coreutils-8.4-orig/doc/coreutils.texi 2010-01-03 18:06:20.000000000 +0100
-+++ coreutils-8.4/doc/coreutils.texi 2010-02-12 10:17:46.000000000 +0100
-@@ -15081,8 +15081,11 @@ to certain shells, etc.).
- @findex syslog
- @command{su} can optionally be compiled to use @code{syslog} to report
- failed, and optionally successful, @command{su} attempts. (If the system
--supports @code{syslog}.) However, GNU @command{su} does not check if the
--user is a member of the @code{wheel} group; see below.
-+supports @code{syslog}.)
-+
-+This version of @command{su} has support for using PAM for
-+authentication. You can edit @file{/etc/pam.d/su} to customize its
-+behaviour.
-
- The program accepts the following options. Also see @ref{Common options}.
-
-@@ -15124,6 +15127,8 @@ environment variables except @env{TERM},
- @env{PATH} to a compiled-in default value. Change to @var{user}'s home
- directory. Prepend @samp{-} to the shell's name, intended to make it
- read its login startup file(s).
-+Additionaly @env{DISPLAY} and @env{XAUTHORITY} environment variables
-+are preserved as well for PAM functionality.
-
- @item -m
- @itemx -p
-@@ -15163,33 +15168,6 @@ Exit status:
- the exit status of the subshell otherwise
- @end display
-
--@cindex wheel group, not supported
--@cindex group wheel, not supported
--@cindex fascism
--@subsection Why GNU @command{su} does not support the @samp{wheel} group
--
--(This section is by Richard Stallman.)
--
--@cindex Twenex
--@cindex MIT AI lab
--Sometimes a few of the users try to hold total power over all the
--rest. For example, in 1984, a few users at the MIT AI lab decided to
--seize power by changing the operator password on the Twenex system and
--keeping it secret from everyone else. (I was able to thwart this coup
--and give power back to the users by patching the kernel, but I
--wouldn't know how to do that in Unix.)
--
--However, occasionally the rulers do tell someone. Under the usual
--@command{su} mechanism, once someone learns the root password who
--sympathizes with the ordinary users, he or she can tell the rest. The
--``wheel group'' feature would make this impossible, and thus cement the
--power of the rulers.
--
--I'm on the side of the masses, not that of the rulers. If you are
--used to supporting the bosses and sysadmins in whatever they do, you
--might find this idea strange at first.
--
--
- @node timeout invocation
- @section @command{timeout}: Run a command with a time limit
-
-diff -urNp coreutils-8.4-orig/src/Makefile.am coreutils-8.4/src/Makefile.am
---- coreutils-8.4-orig/src/Makefile.am 2010-01-03 18:06:20.000000000 +0100
-+++ coreutils-8.4/src/Makefile.am 2010-02-12 10:17:46.000000000 +0100
-@@ -361,7 +361,7 @@ factor_LDADD += $(LIB_GMP)
- uptime_LDADD += $(GETLOADAVG_LIBS)
-
- # for crypt
--su_LDADD += $(LIB_CRYPT)
-+su_LDADD += $(LIB_CRYPT) @LIB_PAM@
-
- # for various ACL functions
- copy_LDADD += $(LIB_ACL)
-diff -urNp coreutils-8.4-orig/src/su.c coreutils-8.4/src/su.c
---- coreutils-8.4-orig/src/su.c 2010-02-12 10:15:15.000000000 +0100
-+++ coreutils-8.4/src/su.c 2010-02-12 10:24:29.000000000 +0100
-@@ -37,6 +37,16 @@
- restricts who can su to UID 0 accounts. RMS considers that to
- be fascist.
-
-+#ifdef USE_PAM
-+
-+ Actually, with PAM, su has nothing to do with whether or not a
-+ wheel group is enforced by su. RMS tries to restrict your access
-+ to a su which implements the wheel group, but PAM considers that
-+ to be fascist, and gives the user/sysadmin the opportunity to
-+ enforce a wheel group by proper editing of /etc/pam.conf
-+
-+#endif
-+
- Compile-time options:
- -DSYSLOG_SUCCESS Log successful su's (by default, to root) with syslog.
- -DSYSLOG_FAILURE Log failed su's (by default, to root) with syslog.
-@@ -53,6 +63,15 @@
- #include <pwd.h>
- #include <grp.h>
-
-+#ifdef USE_PAM
-+# include <signal.h>
-+# include <sys/wait.h>
-+# include <sys/fsuid.h>
-+# include <unistd.h>
-+# include <security/pam_appl.h>
-+# include <security/pam_misc.h>
-+#endif /* USE_PAM */
-+
- #include "system.h"
- #include "getpass.h"
-
-@@ -120,10 +139,17 @@
- /* The user to become if none is specified. */
- #define DEFAULT_USER "root"
-
-+#ifndef USE_PAM
- char *crypt (char const *key, char const *salt);
-+#endif
-
--static void run_shell (char const *, char const *, char **, size_t)
-+static void run_shell (char const *, char const *, char **, size_t,
-+ const struct passwd *)
-+#ifdef USE_PAM
-+ ;
-+#else
- ATTRIBUTE_NORETURN;
-+#endif
-
- /* If true, pass the `-f' option to the subshell. */
- static bool fast_startup;
-@@ -209,7 +235,26 @@ log_su (struct passwd const *pw, bool su
- }
- #endif
-
-+#ifdef USE_PAM
-+static pam_handle_t *pamh = NULL;
-+static int retval;
-+static struct pam_conv conv = {
-+ misc_conv,
-+ NULL
-+};
-+
-+#define PAM_BAIL_P if (retval) { \
-+ pam_end(pamh, PAM_SUCCESS); \
-+ return 0; \
-+}
-+#define PAM_BAIL_P_VOID if (retval) { \
-+ pam_end(pamh, PAM_SUCCESS); \
-+return; \
-+}
-+#endif
-+
- /* Ask the user for a password.
-+ If PAM is in use, let PAM ask for the password if necessary.
- Return true if the user gives the correct password for entry PW,
- false if not. Return true without asking for a password if run by UID 0
- or if PW has an empty password. */
-@@ -217,6 +262,44 @@ log_su (struct passwd const *pw, bool su
- static bool
- correct_password (const struct passwd *pw)
- {
-+#ifdef USE_PAM
-+ struct passwd *caller;
-+ char *tty_name, *ttyn;
-+ retval = pam_start(PROGRAM_NAME, pw->pw_name, &conv, &pamh);
-+ PAM_BAIL_P;
-+
-+ if (getuid() != 0 && !isatty(0)) {
-+ fprintf(stderr, "standard in must be a tty\n");
-+ exit(1);
-+ }
-+
-+ caller = getpwuid(getuid());
-+ if(caller != NULL && caller->pw_name != NULL) {
-+ retval = pam_set_item(pamh, PAM_RUSER, caller->pw_name);
-+ PAM_BAIL_P;
-+ }
-+
-+ ttyn = ttyname(0);
-+ if (ttyn) {
-+ if (strncmp(ttyn, "/dev/", 5) == 0)
-+ tty_name = ttyn+5;
-+ else
-+ tty_name = ttyn;
-+ retval = pam_set_item(pamh, PAM_TTY, tty_name);
-+ PAM_BAIL_P;
-+ }
-+ retval = pam_authenticate(pamh, 0);
-+ PAM_BAIL_P;
-+ retval = pam_acct_mgmt(pamh, 0);
-+ if (retval == PAM_NEW_AUTHTOK_REQD) {
-+ /* password has expired. Offer option to change it. */
-+ retval = pam_chauthtok(pamh, PAM_CHANGE_EXPIRED_AUTHTOK);
-+ PAM_BAIL_P;
-+ }
-+ PAM_BAIL_P;
-+ /* must be authenticated if this point was reached */
-+ return 1;
-+#else /* !USE_PAM */
- char *unencrypted, *encrypted, *correct;
- #if HAVE_GETSPNAM && HAVE_STRUCT_SPWD_SP_PWDP
- /* Shadow passwd stuff for SVR3 and maybe other systems. */
-@@ -241,6 +324,7 @@ correct_password (const struct passwd *p
- encrypted = crypt (unencrypted, correct);
- memset (unencrypted, 0, strlen (unencrypted));
- return STREQ (encrypted, correct);
-+#endif /* !USE_PAM */
- }
-
- /* Update `environ' for the new shell based on PW, with SHELL being
-@@ -254,12 +338,18 @@ modify_environment (const struct passwd
- /* Leave TERM unchanged. Set HOME, SHELL, USER, LOGNAME, PATH.
- Unset all other environment variables. */
- char const *term = getenv ("TERM");
-+ char const *display = getenv ("DISPLAY");
-+ char const *xauthority = getenv ("XAUTHORITY");
- if (term)
- term = xstrdup (term);
- environ = xmalloc ((6 + !!term) * sizeof (char *));
- environ[0] = NULL;
- if (term)
- xsetenv ("TERM", term);
-+ if (display)
-+ xsetenv ("DISPLAY", display);
-+ if (xauthority)
-+ xsetenv ("XAUTHORITY", xauthority);
- xsetenv ("HOME", pw->pw_dir);
- xsetenv ("SHELL", shell);
- xsetenv ("USER", pw->pw_name);
-@@ -292,8 +382,13 @@ change_identity (const struct passwd *pw
- {
- #ifdef HAVE_INITGROUPS
- errno = 0;
-- if (initgroups (pw->pw_name, pw->pw_gid) == -1)
-+ if (initgroups (pw->pw_name, pw->pw_gid) == -1) {
-+#ifdef USE_PAM
-+ pam_close_session(pamh, 0);
-+ pam_end(pamh, PAM_ABORT);
-+#endif
- error (EXIT_CANCELED, errno, _("cannot set groups"));
-+ }
- endgrent ();
- #endif
- if (setgid (pw->pw_gid))
-@@ -302,6 +397,31 @@ change_identity (const struct passwd *pw
- error (EXIT_CANCELED, errno, _("cannot set user id"));
- }
-
-+#ifdef USE_PAM
-+static int caught=0;
-+/* Signal handler for parent process later */
-+static void su_catch_sig(int sig)
-+{
-+ ++caught;
-+}
-+
-+int
-+pam_copyenv (pam_handle_t *pamh)
-+{
-+ char **env;
-+
-+ env = pam_getenvlist(pamh);
-+ if(env) {
-+ while(*env) {
-+ if (putenv (*env))
-+ xalloc_die ();
-+ env++;
-+ }
-+ }
-+ return(0);
-+}
-+#endif
-+
- /* Run SHELL, or DEFAULT_SHELL if SHELL is empty.
- If COMMAND is nonzero, pass it to the shell with the -c option.
- Pass ADDITIONAL_ARGS to the shell as more arguments; there
-@@ -309,17 +429,49 @@ change_identity (const struct passwd *pw
-
- static void
- run_shell (char const *shell, char const *command, char **additional_args,
-- size_t n_additional_args)
-+ size_t n_additional_args, const struct passwd *pw)
- {
- size_t n_args = 1 + fast_startup + 2 * !!command + n_additional_args + 1;
- char const **args = xnmalloc (n_args, sizeof *args);
- size_t argno = 1;
-+#ifdef USE_PAM
-+ int child;
-+ sigset_t ourset;
-+ int status;
-+
-+ retval = pam_open_session(pamh,0);
-+ if (retval != PAM_SUCCESS) {
-+ fprintf (stderr, "could not open session\n");
-+ exit (1);
-+ }
-+
-+/* do this at the last possible moment, because environment variables may
-+ be passed even in the session phase
-+*/
-+ if(pam_copyenv(pamh) != PAM_SUCCESS)
-+ fprintf (stderr, "error copying PAM environment\n");
-+
-+ /* Credentials should be set in the parent */
-+ if (pam_setcred(pamh, PAM_ESTABLISH_CRED) != PAM_SUCCESS) {
-+ pam_close_session(pamh, 0);
-+ fprintf(stderr, "could not set PAM credentials\n");
-+ exit(1);
-+ }
-+
-+ child = fork();
-+ if (child == 0) { /* child shell */
-+ change_identity (pw);
-+ pam_end(pamh, 0);
-+#endif
-
- if (simulate_login)
- {
- char *arg0;
- char *shell_basename;
-
-+ if(chdir(pw->pw_dir))
-+ error(0, errno, _("warning: cannot change directory to %s"), pw->pw_dir);
-+
- shell_basename = last_component (shell);
- arg0 = xmalloc (strlen (shell_basename) + 2);
- arg0[0] = '-';
-@@ -344,6 +496,67 @@ run_shell (char const *shell, char const
- error (0, errno, "%s", shell);
- exit (exit_status);
- }
-+#ifdef USE_PAM
-+ } else if (child == -1) {
-+ fprintf(stderr, "can not fork user shell: %s", strerror(errno));
-+ pam_setcred(pamh, PAM_DELETE_CRED | PAM_SILENT);
-+ pam_close_session(pamh, 0);
-+ pam_end(pamh, PAM_ABORT);
-+ exit(1);
-+ }
-+ /* parent only */
-+ sigfillset(&ourset);
-+ if (sigprocmask(SIG_BLOCK, &ourset, NULL)) {
-+ fprintf(stderr, "%s: signal malfunction\n", PROGRAM_NAME);
-+ caught = 1;
-+ }
-+ if (!caught) {
-+ struct sigaction action;
-+ action.sa_handler = su_catch_sig;
-+ sigemptyset(&action.sa_mask);
-+ action.sa_flags = 0;
-+ sigemptyset(&ourset);
-+ if (sigaddset(&ourset, SIGTERM)
-+ || sigaddset(&ourset, SIGALRM)
-+ || sigaction(SIGTERM, &action, NULL)
-+ || sigprocmask(SIG_UNBLOCK, &ourset, NULL)) {
-+ fprintf(stderr, "%s: signal masking malfunction\n", PROGRAM_NAME);
-+ caught = 1;
-+ }
-+ }
-+ if (!caught) {
-+ do {
-+ int pid;
-+
-+ pid = waitpid(-1, &status, WUNTRACED);
-+
-+ if (((pid_t)-1 != pid) && (0 != WIFSTOPPED (status))) {
-+ kill(getpid(), WSTOPSIG(status));
-+ /* once we get here, we must have resumed */
-+ kill(pid, SIGCONT);
-+ }
-+ } while (0 != WIFSTOPPED(status));
-+ }
-+
-+ if (caught) {
-+ fprintf(stderr, "\nSession terminated, killing shell...");
-+ kill (child, SIGTERM);
-+ }
-+ /* Not checking retval on this because we need to call close session */
-+ pam_setcred(pamh, PAM_DELETE_CRED | PAM_SILENT);
-+ retval = pam_close_session(pamh, 0);
-+ PAM_BAIL_P_VOID;
-+ retval = pam_end(pamh, PAM_SUCCESS);
-+ PAM_BAIL_P_VOID;
-+ if (caught) {
-+ sleep(2);
-+ kill(child, SIGKILL);
-+ fprintf(stderr, " ...killed.\n");
-+ exit(-1);
-+ }
-+ exit ((0 != WIFEXITED (status)) ? WEXITSTATUS (status)
-+ : WTERMSIG (status) + 128);
-+#endif /* USE_PAM */
- }
-
- /* Return true if SHELL is a restricted shell (one not returned by
-@@ -511,9 +724,9 @@ main (int argc, char **argv)
- shell = xstrdup (shell ? shell : pw->pw_shell);
- modify_environment (pw, shell);
-
-+#ifndef USE_PAM
- change_identity (pw);
-- if (simulate_login && chdir (pw->pw_dir) != 0)
-- error (0, errno, _("warning: cannot change directory to %s"), pw->pw_dir);
-+#endif
-
- /* error() flushes stderr, but does not check for write failure.
- Normally, we would catch this via our atexit() hook of
-@@ -523,5 +736,5 @@ main (int argc, char **argv)
- if (ferror (stderr))
- exit (EXIT_CANCELED);
-
-- run_shell (shell, command, argv + optind, MAX (0, argc - optind));
-+ run_shell (shell, command, argv + optind, MAX (0, argc - optind), pw);
- }
diff --git a/testing/coreutils/coreutils-uname.patch b/testing/coreutils/coreutils-uname.patch
deleted file mode 100644
index b458abeba..000000000
--- a/testing/coreutils/coreutils-uname.patch
+++ /dev/null
@@ -1,173 +0,0 @@
-On linux platforms, grok /proc/cpuinfo for the CPU/vendor info.
-
-Prob not suitable for upstream seeing as how it's 100% linux-specific
-http://lists.gnu.org/archive/html/bug-coreutils/2005-09/msg00063.html
-
-Patch originally by Carlos E. Gorges <carlos@techlinux.com.br>, but
-heavily reworked to suck less.
-
-To add support for additional platforms, check out the show_cpuinfo()
-func in the linux/arch/<ARCH>/ source tree of the kernel.
-
---- coreutils/src/uname.c
-+++ coreutils/src/uname.c
-@@ -50,6 +50,11 @@
- # include <mach-o/arch.h>
- #endif
-
-+#if defined(__linux__)
-+# define USE_PROCINFO
-+# define UNAME_HARDWARE_PLATFORM
-+#endif
-+
- #include "system.h"
- #include "error.h"
- #include "quote.h"
-@@ -138,6 +143,117 @@
- exit (status);
- }
-
-+#if defined(USE_PROCINFO)
-+
-+# if defined(__s390__) || defined(__s390x__)
-+# define CPUINFO_FILE "/proc/sysinfo"
-+# define CPUINFO_FORMAT "%64[^\t :]%*[ :]%256[^\n]%c"
-+# else
-+# define CPUINFO_FILE "/proc/cpuinfo"
-+# define CPUINFO_FORMAT "%64[^\t:]\t:%256[^\n]%c"
-+# endif
-+
-+# define PROCINFO_PROCESSOR 0
-+# define PROCINFO_HARDWARE_PLATFORM 1
-+
-+static void __eat_cpuinfo_space(char *buf)
-+{
-+ /* first eat trailing space */
-+ char *tmp = buf + strlen(buf) - 1;
-+ while (tmp > buf && isspace(*tmp))
-+ *tmp-- = '\0';
-+ /* then eat leading space */
-+ tmp = buf;
-+ while (*tmp && isspace(*tmp))
-+ tmp++;
-+ if (tmp != buf)
-+ memmove(buf, tmp, strlen(tmp)+1);
-+ /* finally collapse whitespace */
-+ tmp = buf;
-+ while (tmp[0] && tmp[1]) {
-+ if (isspace(tmp[0]) && isspace(tmp[1])) {
-+ memmove(tmp, tmp+1, strlen(tmp));
-+ continue;
-+ }
-+ ++tmp;
-+ }
-+}
-+
-+static int __linux_procinfo(int x, char *fstr, size_t s)
-+{
-+ FILE *fp;
-+
-+ char *procinfo_keys[] = {
-+ /* --processor --hardware-platform */
-+ #if defined(__alpha__)
-+ "cpu model", "system type"
-+ #elif defined(__arm__)
-+ "Processor", "Hardware"
-+ #elif defined(__avr32__)
-+ "processor", "cpu family"
-+ #elif defined(__bfin__)
-+ "CPU", "BOARD Name"
-+ #elif defined(__cris__)
-+ "cpu", "cpu model"
-+ #elif defined(__frv__)
-+ "CPU-Core", "System"
-+ #elif defined(__i386__) || defined(__x86_64__)
-+ "model name", "vendor_id"
-+ #elif defined(__ia64__)
-+ "family", "vendor"
-+ #elif defined(__hppa__)
-+ "cpu", "model"
-+ #elif defined(__m68k__)
-+ "CPU", "MMU"
-+ #elif defined(__mips__)
-+ "cpu model", "system type"
-+ #elif defined(__powerpc__) || defined(__powerpc64__)
-+ "cpu", "machine"
-+ #elif defined(__s390__) || defined(__s390x__)
-+ "Type", "Manufacturer"
-+ #elif defined(__sh__)
-+ "cpu type", "machine"
-+ #elif defined(sparc) || defined(__sparc__)
-+ "type", "cpu"
-+ #elif defined(__vax__)
-+ "cpu type", "cpu"
-+ #else
-+ "unknown", "unknown"
-+ #endif
-+ };
-+
-+ if ((fp = fopen(CPUINFO_FILE, "r")) != NULL) {
-+ char key[65], value[257], eol, *ret = NULL;
-+
-+ while (fscanf(fp, CPUINFO_FORMAT, key, value, &eol) != EOF) {
-+ __eat_cpuinfo_space(key);
-+ if (!strcmp(key, procinfo_keys[x])) {
-+ __eat_cpuinfo_space(value);
-+ ret = value;
-+ break;
-+ }
-+ if (eol != '\n') {
-+ /* we need two fscanf's here in case the previous
-+ * length limit caused us to read right up to the
-+ * newline ... doing "%*[^\n]\n" wont eat the newline
-+ */
-+ fscanf(fp, "%*[^\n]");
-+ fscanf(fp, "\n");
-+ }
-+ }
-+ fclose(fp);
-+
-+ if (ret) {
-+ strncpy(fstr, ret, s);
-+ return 0;
-+ }
-+ }
-+
-+ return -1;
-+}
-+
-+#endif
-+
- /* Print ELEMENT, preceded by a space if something has already been
- printed. */
-
-@@ -250,10 +344,14 @@ main (int argc, char **argv)
- if (toprint & PRINT_PROCESSOR)
- {
- char const *element = unknown;
--#if HAVE_SYSINFO && defined SI_ARCHITECTURE
-+#if ( HAVE_SYSINFO && defined SI_ARCHITECTURE ) || defined(USE_PROCINFO)
- {
- static char processor[257];
-+#if defined(USE_PROCINFO)
-+ if (0 <= __linux_procinfo (PROCINFO_PROCESSOR, processor, sizeof processor))
-+#else
- if (0 <= sysinfo (SI_ARCHITECTURE, processor, sizeof processor))
-+#endif
- element = processor;
- }
- #endif
-@@ -306,9 +404,13 @@ main (int argc, char **argv)
- if (element == unknown)
- {
- static char hardware_platform[257];
-+#if defined(USE_PROCINFO)
-+ if (0 <= __linux_procinfo (PROCINFO_HARDWARE_PLATFORM, hardware_platform, sizeof hardware_platform))
-+#else
- size_t s = sizeof hardware_platform;
- static int mib[] = { CTL_HW, UNAME_HARDWARE_PLATFORM };
- if (sysctl (mib, 2, hardware_platform, &s, 0, 0) >= 0)
-+#endif
- element = hardware_platform;
- }
- #endif
diff --git a/testing/coreutils/coreutils.install b/testing/coreutils/coreutils.install
deleted file mode 100644
index 8caae6686..000000000
--- a/testing/coreutils/coreutils.install
+++ /dev/null
@@ -1,21 +0,0 @@
-infodir=usr/share/info
-filelist=(coreutils.info)
-
-post_install() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
- usr/bin/install-info $infodir/$file.gz $infodir/dir 2> /dev/null
- done
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
- usr/bin/install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
- done
-}
-
diff --git a/testing/coreutils/su.pam b/testing/coreutils/su.pam
deleted file mode 100644
index cf15f40f1..000000000
--- a/testing/coreutils/su.pam
+++ /dev/null
@@ -1,9 +0,0 @@
-#%PAM-1.0
-auth sufficient pam_rootok.so
-# Uncomment the following line to implicitly trust users in the "wheel" group.
-#auth sufficient pam_wheel.so trust use_uid
-# Uncomment the following line to require a user to be in the "wheel" group.
-#auth required pam_wheel.so use_uid
-auth required pam_unix.so
-account required pam_unix.so
-session required pam_unix.so
diff --git a/testing/gcc/PKGBUILD b/testing/gcc/PKGBUILD
deleted file mode 100644
index 939c84053..000000000
--- a/testing/gcc/PKGBUILD
+++ /dev/null
@@ -1,255 +0,0 @@
-# $Id: PKGBUILD 121304 2011-04-30 13:23:58Z allan $
-# Maintainer: Allan McRae <allan@archlinux.org>
-
-# toolchain build order: linux-api-headers->glibc->binutils->gcc->binutils->glibc
-# NOTE: libtool requires rebuilt with each new gcc version
-
-pkgname=('gcc' 'gcc-libs' 'gcc-fortran' 'gcc-objc' 'gcc-ada' 'gcc-go')
-pkgver=4.6.0
-pkgrel=4
-_snapshot=4.6-20110429
-_libstdcppmanver=20110201 # Note: check source directory name when updating this
-pkgdesc="The GNU Compiler Collection"
-arch=('i686' 'x86_64')
-license=('GPL' 'LGPL' 'FDL' 'custom')
-url="http://gcc.gnu.org"
-makedepends=('binutils>=2.21' 'libmpc' 'cloog' 'ppl' 'gcc-ada' 'dejagnu')
-options=('!libtool' '!emptydirs')
-source=(#ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-{core,g++,fortran,objc,ada,go,testsuite}-${pkgver}.tar.bz2
- ftp://gcc.gnu.org/pub/gcc/snapshots/${_snapshot}/gcc-{core,g++,fortran,objc,ada,go,testsuite}-${_snapshot}.tar.bz2
- ftp://gcc.gnu.org/pub/gcc/libstdc++/doxygen/libstdc++-api.${_libstdcppmanver}.man.tar.bz2
- gcc_pure64.patch
- gcc-hash-style-both.patch)
-md5sums=('fa586a5634ae3b462c5fb2d55160b14f'
- '2591b1fad977f7bd6136c9ac1298ef04'
- '366f93c1867f35c8860b42965efde955'
- '21779792ef7e0ed7abef611160b0099c'
- 'cf518c56b968925a2eca3aa2b4cdbd7b'
- 'f66ef8597b99961eda7573df505ea354'
- '3d89dd233ceb6a837d14ee6b940a43ed'
- '1e9fd2eaf0ee47ea64e82c48998f1999'
- '4030ee1c08dd1e843c0225b772360e76'
- '4df25b623799b148a0703eaeec8fdf3f')
-
-if [ -n "${_snapshot}" ]; then
- _basedir="${srcdir}/gcc-${_snapshot}"
-else
- _basedir="${srcdir}/gcc-${pkgver}"
-fi
-
-build() {
- cd ${_basedir}
-
- # Do not install libiberty
- sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in
-
- # Do not run fixincludes
- sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in
-
- if [ "${CARCH}" = "x86_64" ]; then
- patch -Np1 -i ${srcdir}/gcc_pure64.patch
- fi
- patch -Np0 -i ${srcdir}/gcc-hash-style-both.patch
-
- echo ${pkgver} > gcc/BASE-VER
-
- cd ${srcdir}
- mkdir gcc-build && cd gcc-build
-
- ${_basedir}/configure --prefix=/usr \
- --libdir=/usr/lib --libexecdir=/usr/lib \
- --mandir=/usr/share/man --infodir=/usr/share/info \
- --with-bugurl=https://bugs.archlinux.org/ \
- --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ \
- --enable-shared --enable-threads=posix \
- --with-system-zlib --enable-__cxa_atexit \
- --disable-libunwind-exceptions --enable-clocale=gnu \
- --enable-gnu-unique-object --enable-linker-build-id \
- --with-ppl --enable-cloog-backend=isl \
- --enable-lto --enable-gold --enable-ld=default \
- --enable-plugin --with-plugin-ld=ld.gold \
- --disable-multilib --disable-libstdcxx-pch \
- --enable-checking=release
- make
-}
-
-check() {
- cd gcc-build
-
- # increase stack size to prevent test failures
- # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31827
- ulimit -s 32768
-
- # do not abort on error as some are "expected"
- make -k check || true
- ${_basedir}/contrib/test_summary
-}
-
-package_gcc-libs()
-{
- pkgdesc="Runtime libraries shipped by GCC"
- groups=('base')
- depends=('glibc>=2.11.1-2')
- install=gcc-libs.install
-
- cd gcc-build
- make -j1 -C $CHOST/libgcc DESTDIR=${pkgdir} install-shared
- for lib in libmudflap libgomp libssp libstdc++-v3/src; do
- make -j1 -C $CHOST/$lib DESTDIR=${pkgdir} install-toolexeclibLTLIBRARIES
- done
- make -j1 -C $CHOST/libstdc++-v3/po DESTDIR=${pkgdir} install
- make -j1 -C $CHOST/libgomp DESTDIR=${pkgdir} install-info
-
- make -j1 DESTDIR=${pkgdir} install-target-libquadmath
- make -j1 DESTDIR=${pkgdir} install-target-libgfortran
- make -j1 DESTDIR=${pkgdir} install-target-libobjc
-
- # remove unnecessary files installed by install-target-{libquadmath,libgfortran,libobjc}
- rm -rf ${pkgdir}/usr/lib/{gcc/,libgfortran.spec}
-
- # remove static libraries
- find ${pkgdir} -name *.a -delete
-
- # Install Runtime Library Exception
- install -Dm644 ${_basedir}/COPYING.RUNTIME \
- ${pkgdir}/usr/share/licenses/gcc-libs/RUNTIME.LIBRARY.EXCEPTION
-}
-
-package_gcc()
-{
- pkgdesc="The GNU Compiler Collection - C and C++ frontends"
- depends=('binutils>=2.20.1' 'libmpc>=0.8.1-2' 'cloog' 'ppl')
- groups=('base-devel')
- install=gcc.install
-
- cd gcc-build
-
- # unfortunately it is much, much easier to install the lot and clean-up the mess...
- make -j1 DESTDIR=${pkgdir} install
- rm $pkgdir/usr/bin/{{$CHOST-,}gfortran,{$CHOST-,}gccgo,gnat*}
- rm $pkgdir/usr/lib/*.so*
- rm $pkgdir/usr/lib/lib{ffi,gfortran,go{,begin},objc,quadmath}.a
- rm $pkgdir/usr/lib/libgfortran.spec
- rm -r $pkgdir/usr/lib/gcc/$CHOST/${pkgver}/{ada{include,lib},finclude,include/objc}
- rm $pkgdir/usr/lib/gcc/$CHOST/${pkgver}/include/{ffi{,target}.h,quadmath{,_weak}.h}
- rm $pkgdir/usr/lib/gcc/$CHOST/${pkgver}/{cc1obj{,plus},f951,gnat1,go1,libgfortranbegin.a}
- rm -r $pkgdir/usr/lib/go
- rm $pkgdir/usr/share/info/{gccgo,gfortran,gnat*,libgomp,libquadmath}.info
- rm $pkgdir/usr/share/locale/{de,fr}/LC_MESSAGES/libstdc++.mo
- rm $pkgdir/usr/share/man/man1/{gccgo,gfortran}.1
- rm $pkgdir/usr/share/man/man3/ffi*
-
- # many packages require these symlinks
- install -dm755 ${pkgdir}/lib
- ln -sf /usr/bin/cpp ${pkgdir}/lib/cpp
- ln -sf gcc ${pkgdir}/usr/bin/cc
- ln -sf g++ ${pkgdir}/usr/bin/c++
-
- # POSIX conformance launcher scripts for c89 and c99
- cat > $pkgdir/usr/bin/c89 <<"EOF"
-#!/bin/sh
-fl="-std=c89"
-for opt; do
- case "$opt" in
- -ansi|-std=c89|-std=iso9899:1990) fl="";;
- -std=*) echo "`basename $0` called with non ANSI/ISO C option $opt" >&2
- exit 1;;
- esac
-done
-exec gcc $fl ${1+"$@"}
-EOF
-
- cat > $pkgdir/usr/bin/c99 <<"EOF"
-#!/bin/sh
-fl="-std=c99"
-for opt; do
- case "$opt" in
- -std=c99|-std=iso9899:1999) fl="";;
- -std=*) echo "`basename $0` called with non ISO C99 option $opt" >&2
- exit 1;;
- esac
-done
-exec gcc $fl ${1+"$@"}
-EOF
-
- chmod 755 $pkgdir/usr/bin/c{8,9}9
-
- # install the libstdc++ man pages
- install -dm755 ${pkgdir}/usr/share/man/man3
- install -m644 ${srcdir}/man/man3/* ${pkgdir}/usr/share/man/man3/
-
- # Install Runtime Library Exception
- install -Dm644 ${_basedir}/COPYING.RUNTIME \
- ${pkgdir}/usr/share/licenses/gcc/RUNTIME.LIBRARY.EXCEPTION
-}
-
-package_gcc-fortran()
-{
- pkgdesc="Fortran front-end for GCC"
- depends=("gcc=$pkgver-$pkgrel")
- install=gcc-fortran.install
-
- cd gcc-build
- make -j1 DESTDIR=${pkgdir} install-target-libquadmath
- make -j1 DESTDIR=$pkgdir install-target-libgfortran
- make -j1 -C $CHOST/libgomp DESTDIR=$pkgdir install-nodist_fincludeHEADERS
- make -j1 -C gcc DESTDIR=$pkgdir fortran.install-{common,man,info}
- install -Dm755 gcc/f951 $pkgdir/usr/lib/gcc/$CHOST/$pkgver/f951
-
- # remove libraries included in gcc-libs
- rm ${pkgdir}/usr/lib/lib{gfortran,quadmath}.so*
- rm ${pkgdir}/usr/share/info/libquadmath.info
-
- # Install Runtime Library Exception
- install -Dm644 ${_basedir}/COPYING.RUNTIME \
- ${pkgdir}/usr/share/licenses/gcc-fortran/RUNTIME.LIBRARY.EXCEPTION
-}
-
-package_gcc-objc()
-{
- pkgdesc="Objective-C front-end for GCC"
- depends=("gcc=$pkgver-$pkgrel")
-
- cd gcc-build
- make -j1 DESTDIR=$pkgdir install-target-libobjc
- install -dm755 $pkgdir/usr/lib/gcc/$CHOST/$pkgver/
- install -m755 gcc/cc1obj{,plus} $pkgdir/usr/lib/gcc/$CHOST/$pkgver/
-
- # remove libraries included in gcc-libs
- rm ${pkgdir}/usr/lib/libobjc.so*
-
- # Install Runtime Library Exception
- install -Dm644 ${_basedir}/COPYING.RUNTIME \
- ${pkgdir}/usr/share/licenses/gcc-objc/RUNTIME.LIBRARY.EXCEPTION
-}
-
-package_gcc-ada()
-{
- pkgdesc="Ada front-end for GCC (GNAT)"
- depends=("gcc=$pkgver-$pkgrel")
- install=gcc-ada.install
-
- cd gcc-build/gcc
- make -j1 DESTDIR=$pkgdir ada.install-{common,info}
- install -m755 gnat1 $pkgdir/usr/lib/gcc/$CHOST/$pkgver
-
- # Install Runtime Library Exception
- install -Dm644 ${_basedir}/COPYING.RUNTIME \
- ${pkgdir}/usr/share/licenses/gcc-ada/RUNTIME.LIBRARY.EXCEPTION
-}
-
-package_gcc-go()
-{
- pkgdesc="Go front-end for GCC"
- depends=("gcc=$pkgver-$pkgrel")
- install=gcc-go.install
-
- cd gcc-build
- make -j1 DESTDIR=$pkgdir install-target-libgo
- make -j1 -C gcc DESTDIR=$pkgdir go.install-{common,man,info}
- install -Dm755 gcc/go1 $pkgdir/usr/lib/gcc/$CHOST/$pkgver/go1
-
- # Install Runtime Library Exception
- install -Dm644 ${_basedir}/COPYING.RUNTIME \
- ${pkgdir}/usr/share/licenses/gcc-go/RUNTIME.LIBRARY.EXCEPTION
-}
diff --git a/testing/gcc/gcc-ada.install b/testing/gcc/gcc-ada.install
deleted file mode 100644
index df0553a4f..000000000
--- a/testing/gcc/gcc-ada.install
+++ /dev/null
@@ -1,20 +0,0 @@
-infodir=usr/share/info
-filelist=(gnat-style.info gnat_rm.info gnat_ugn.info)
-
-post_install() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
- install-info $infodir/$file.gz $infodir/dir 2> /dev/null
- done
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
- install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
- done
-}
diff --git a/testing/gcc/gcc-fortran.install b/testing/gcc/gcc-fortran.install
deleted file mode 100644
index b15d89a97..000000000
--- a/testing/gcc/gcc-fortran.install
+++ /dev/null
@@ -1,16 +0,0 @@
-infodir=usr/share/info
-file="gfortran.info"
-
-post_install() {
- [ -x usr/bin/install-info ] || return 0
- install-info $infodir/$file.gz $infodir/dir 2> /dev/null
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- [ -x usr/bin/install-info ] || return 0
- install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
-}
diff --git a/testing/gcc/gcc-go.install b/testing/gcc/gcc-go.install
deleted file mode 100644
index 7dc50dee5..000000000
--- a/testing/gcc/gcc-go.install
+++ /dev/null
@@ -1,20 +0,0 @@
-infodir=usr/share/info
-filelist=(gccgo.info)
-
-post_install() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
- install-info $infodir/$file.gz $infodir/dir 2> /dev/null
- done
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
- install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
- done
-}
diff --git a/testing/gcc/gcc-hash-style-both.patch b/testing/gcc/gcc-hash-style-both.patch
deleted file mode 100644
index 8b59f4535..000000000
--- a/testing/gcc/gcc-hash-style-both.patch
+++ /dev/null
@@ -1,122 +0,0 @@
---- gcc/config/alpha/linux-elf.h.orig 2010-12-09 23:27:07.000000000 +1000
-+++ gcc/config/alpha/linux-elf.h 2011-03-11 10:01:47.770000457 +1000
-@@ -41,7 +41,7 @@
-
- #define ELF_DYNAMIC_LINKER LINUX_DYNAMIC_LINKER
-
--#define LINK_SPEC "-m elf64alpha %{G*} %{relax:-relax} \
-+#define LINK_SPEC "-m elf64alpha --hash-style=both %{G*} %{relax:-relax} \
- %{O*:-O3} %{!O*:-O1} \
- %{shared:-shared} \
- %{!shared: \
---- gcc/config/i386/linux64.h.orig 2011-03-03 08:35:36.000000000 +1000
-+++ gcc/config/i386/linux64.h 2011-03-11 10:01:47.770000457 +1000
-@@ -78,7 +78,7 @@
- %{!mno-sse2avx:%{mavx:-msse2avx}} %{msse2avx:%{!mavx:-msse2avx}}"
-
- #undef LINK_SPEC
--#define LINK_SPEC "%{" SPEC_64 ":-m elf_x86_64} %{" SPEC_32 ":-m elf_i386} \
-+#define LINK_SPEC "%{" SPEC_64 ":-m elf_x86_64} %{" SPEC_32 ":-m elf_i386} --hash-style=both \
- %{shared:-shared} \
- %{!shared: \
- %{!static: \
---- gcc/config/i386/linux.h.orig 2011-01-15 04:45:06.000000000 +1000
-+++ gcc/config/i386/linux.h 2011-03-11 10:01:47.770000457 +1000
-@@ -104,7 +104,7 @@
- { "dynamic_linker", LINUX_DYNAMIC_LINKER }
-
- #undef LINK_SPEC
--#define LINK_SPEC "-m %(link_emulation) %{shared:-shared} \
-+#define LINK_SPEC "-m %(link_emulation) --hash-style=both %{shared:-shared} \
- %{!shared: \
- %{!static: \
- %{rdynamic:-export-dynamic} \
---- gcc/config/ia64/linux.h.orig 2010-12-09 23:27:07.000000000 +1000
-+++ gcc/config/ia64/linux.h 2011-03-11 10:01:47.770000457 +1000
-@@ -64,7 +64,7 @@
- #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-ia64.so.2"
-
- #undef LINK_SPEC
--#define LINK_SPEC "\
-+#define LINK_SPEC "--hash-style=both \
- %{shared:-shared} \
- %{!shared: \
- %{!static: \
---- gcc/config/rs6000/linux64.h.orig 2011-02-11 03:30:10.000000000 +1000
-+++ gcc/config/rs6000/linux64.h 2011-03-11 10:03:34.280000457 +1000
-@@ -389,11 +389,11 @@
- CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER64, UCLIBC_DYNAMIC_LINKER64)
-
-
--#define LINK_OS_LINUX_SPEC32 "-m elf32ppclinux %{!shared: %{!static: \
-+#define LINK_OS_LINUX_SPEC32 "-m elf32ppclinux --hash-style=both %{!shared: %{!static: \
- %{rdynamic:-export-dynamic} \
- -dynamic-linker " LINUX_DYNAMIC_LINKER32 "}}"
-
--#define LINK_OS_LINUX_SPEC64 "-m elf64ppc %{!shared: %{!static: \
-+#define LINK_OS_LINUX_SPEC64 "-m elf64ppc --hash-style=both %{!shared: %{!static: \
- %{rdynamic:-export-dynamic} \
- -dynamic-linker " LINUX_DYNAMIC_LINKER64 "}}"
-
---- gcc/config/rs6000/sysv4.h.orig 2011-01-28 04:36:03.000000000 +1000
-+++ gcc/config/rs6000/sysv4.h 2011-03-11 10:01:47.773333792 +1000
-@@ -830,7 +830,7 @@
- #define LINUX_DYNAMIC_LINKER \
- CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER)
-
--#define LINK_OS_LINUX_SPEC "-m elf32ppclinux %{!shared: %{!static: \
-+#define LINK_OS_LINUX_SPEC "-m elf32ppclinux --hash-style=both %{!shared: %{!static: \
- %{rdynamic:-export-dynamic} \
- -dynamic-linker " LINUX_DYNAMIC_LINKER "}}"
-
---- gcc/config/s390/linux.h.orig 2010-12-09 23:27:07.000000000 +1000
-+++ gcc/config/s390/linux.h 2011-03-11 10:01:47.770000457 +1000
-@@ -77,7 +77,7 @@
-
- #undef LINK_SPEC
- #define LINK_SPEC \
-- "%{m31:-m elf_s390}%{m64:-m elf64_s390} \
-+ "%{m31:-m elf_s390}%{m64:-m elf64_s390} --hash-style=both \
- %{shared:-shared} \
- %{!shared: \
- %{static:-static} \
---- gcc/config/sparc/linux64.h.orig 2011-02-17 23:57:21.000000000 +1000
-+++ gcc/config/sparc/linux64.h 2011-03-11 10:01:47.770000457 +1000
-@@ -113,7 +113,7 @@
- { "link_arch_default", LINK_ARCH_DEFAULT_SPEC }, \
- { "link_arch", LINK_ARCH_SPEC },
-
--#define LINK_ARCH32_SPEC "-m elf32_sparc -Y P,%R/usr/lib %{shared:-shared} \
-+#define LINK_ARCH32_SPEC "-m elf32_sparc --hash-style=both -Y P,%R/usr/lib %{shared:-shared} \
- %{!shared: \
- %{!static: \
- %{rdynamic:-export-dynamic} \
-@@ -121,7 +121,7 @@
- %{static:-static}} \
- "
-
--#define LINK_ARCH64_SPEC "-m elf64_sparc -Y P,%R/usr/lib64 %{shared:-shared} \
-+#define LINK_ARCH64_SPEC "-m elf64_sparc --hash-style=both -Y P,%R/usr/lib64 %{shared:-shared} \
- %{!shared: \
- %{!static: \
- %{rdynamic:-export-dynamic} \
-@@ -193,7 +193,7 @@
- #else /* !SPARC_BI_ARCH */
-
- #undef LINK_SPEC
--#define LINK_SPEC "-m elf64_sparc -Y P,%R/usr/lib64 %{shared:-shared} \
-+#define LINK_SPEC "-m elf64_sparc --hash-style=both -Y P,%R/usr/lib64 %{shared:-shared} \
- %{!shared: \
- %{!static: \
- %{rdynamic:-export-dynamic} \
---- gcc/config/sparc/linux.h.orig 2011-01-27 06:30:12.000000000 +1000
-+++ gcc/config/sparc/linux.h 2011-03-11 10:01:47.770000457 +1000
-@@ -74,7 +74,7 @@
- #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
-
- #undef LINK_SPEC
--#define LINK_SPEC "-m elf32_sparc -Y P,/usr/lib %{shared:-shared} \
-+#define LINK_SPEC "-m elf32_sparc --hash-style=both -Y P,/usr/lib %{shared:-shared} \
- %{!mno-relax:%{!r:-relax}} \
- %{!shared: \
- %{!static: \
diff --git a/testing/gcc/gcc-libs.install b/testing/gcc/gcc-libs.install
deleted file mode 100644
index 23553b8f0..000000000
--- a/testing/gcc/gcc-libs.install
+++ /dev/null
@@ -1,16 +0,0 @@
-infodir=usr/share/info
-filelist=(libgomp.info libquadmath.info)
-
-post_upgrade() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
- install-info $infodir/$file.gz $infodir/dir 2> /dev/null
- done
-}
-
-pre_remove() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
- install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
- done
-}
diff --git a/testing/gcc/gcc.install b/testing/gcc/gcc.install
deleted file mode 100644
index 3407a5e1f..000000000
--- a/testing/gcc/gcc.install
+++ /dev/null
@@ -1,20 +0,0 @@
-infodir=usr/share/info
-filelist=(cpp.info cppinternals.info gcc.info gccinstall.info gccint.info)
-
-post_install() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
- install-info $infodir/$file.gz $infodir/dir 2> /dev/null
- done
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
- install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
- done
-}
diff --git a/testing/gcc/gcc_pure64.patch b/testing/gcc/gcc_pure64.patch
deleted file mode 100644
index 8c0baf8e2..000000000
--- a/testing/gcc/gcc_pure64.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-diff -Naur gcc-4.2.0.orig/gcc/config/i386/linux64.h gcc-4.2.0/gcc/config/i386/linux64.h
---- gcc-4.2.0.orig/gcc/config/i386/linux64.h 2007-05-16 19:21:19.000000000 -0400
-+++ gcc-4.2.0/gcc/config/i386/linux64.h 2007-05-18 17:04:05.000000000 -0400
-@@ -49,8 +49,8 @@
- When the -shared link option is used a final link is not being
- done. */
-
--#define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2"
--#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux-x86-64.so.2"
-+#define GLIBC_DYNAMIC_LINKER32 "/lib32/ld-linux.so.2"
-+#define GLIBC_DYNAMIC_LINKER64 "/lib/ld-linux-x86-64.so.2"
-
- #undef LINK_SPEC
- #define LINK_SPEC "%{!m32:-m elf_x86_64} %{m32:-m elf_i386} \
-diff -Naur gcc-4.2.0.orig/gcc/config/i386/t-linux64 gcc-4.2.0/gcc/config/i386/t-linux64
---- gcc-4.2.0.orig/gcc/config/i386/t-linux64 2007-05-16 19:21:19.000000000 -0400
-+++ gcc-4.2.0/gcc/config/i386/t-linux64 2007-05-18 17:04:36.000000000 -0400
-@@ -6,7 +6,7 @@
-
- MULTILIB_OPTIONS = m64/m32
- MULTILIB_DIRNAMES = 64 32
--MULTILIB_OSDIRNAMES = ../lib64 $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib)
-+MULTILIB_OSDIRNAMES = ../lib ../lib32
-
- LIBGCC = stmp-multilib
- INSTALL_LIBGCC = install-multilib
diff --git a/testing/libgcrypt/PKGBUILD b/testing/libgcrypt/PKGBUILD
deleted file mode 100644
index 2ccdf36fd..000000000
--- a/testing/libgcrypt/PKGBUILD
+++ /dev/null
@@ -1,40 +0,0 @@
-# $Id: PKGBUILD 121250 2011-04-29 21:23:37Z andyrtr $
-# Maintainer: Andreas Radke <andyrtr@archlinux.org>
-
-pkgname=libgcrypt
-pkgver=1.4.6
-pkgrel=3
-pkgdesc="a general purpose crypto library based on the code used"
-arch=(i686 x86_64)
-url="http://www.gnupg.org"
-license=('LGPL')
-depends=('libgpg-error>=1.9')
-options=('!libtool' '!emptydirs')
-install=$pkgname.install
-source=(ftp://ftp.gnupg.org/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2
- #ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/libgcrypt/${pkgname}-${pkgver}.tar.bz2
-)
-md5sums=('dbf99425a4fe9217c84ce3a35d938634')
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- ./configure --prefix=/usr \
- --disable-static \
- --disable-padlock-support
- make
-}
-
-check() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make check
-}
-
-package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install
-
- # Move dynamic libraries to /lib
- install -d -m755 "${pkgdir}"/lib/
- mv "${pkgdir}"/usr/lib/libgcrypt.so* "${pkgdir}"/lib/
- ln -sf /lib/libgcrypt.so "${pkgdir}"/usr/lib/libgcrypt.so
-}
diff --git a/testing/libgcrypt/libgcrypt.install b/testing/libgcrypt/libgcrypt.install
deleted file mode 100644
index 83e0dcb27..000000000
--- a/testing/libgcrypt/libgcrypt.install
+++ /dev/null
@@ -1,20 +0,0 @@
-infodir=/usr/share/info
-filelist=(gcrypt.info.gz)
-
-post_install() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
- install-info $infodir/$file $infodir/dir 2> /dev/null
- done
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
- install-info --delete $infodir/$file $infodir/dir 2> /dev/null
- done
-}
diff --git a/testing/libtool/PKGBUILD b/testing/libtool/PKGBUILD
deleted file mode 100644
index 44e629e1e..000000000
--- a/testing/libtool/PKGBUILD
+++ /dev/null
@@ -1,31 +0,0 @@
-# $Id: PKGBUILD 116987 2011-03-27 06:40:02Z allan $
-# Maintainer: Allan McRae <allan@archlinux.org>
-# Contributor: judd <jvinet@zeroflux.org>
-
-# NOTE: requires rebuilt with each new gcc version
-
-pkgname=libtool
-pkgver=2.4
-pkgrel=3
-pkgdesc="A generic library support script"
-arch=('i686' 'x86_64')
-url="http://www.gnu.org/software/libtool"
-license=('GPL')
-depends=('sh' 'tar' 'texinfo')
-groups=('base-devel')
-options=('!libtool')
-install=libtool.install
-source=(ftp://ftp.gnu.org/pub/gnu/libtool/${pkgname}-${pkgver}.tar.xz)
-md5sums=('4e6144439d95d7332dc50ace6dd24c55')
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- ./configure --prefix=/usr
- make
- make check
-}
-
-package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install
-}
diff --git a/testing/libtool/libtool.install b/testing/libtool/libtool.install
deleted file mode 100644
index 424c8cb88..000000000
--- a/testing/libtool/libtool.install
+++ /dev/null
@@ -1,22 +0,0 @@
-infodir=/usr/share/info
-filelist=(libtool.info libtool.info-1 libtool.info-2)
-
-post_install() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
- install-info $infodir/$file.gz $infodir/dir 2> /dev/null
- done
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
- install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
- done
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/testing/tzdata/Makefile.patch b/testing/tzdata/Makefile.patch
deleted file mode 100644
index e88f9d907..000000000
--- a/testing/tzdata/Makefile.patch
+++ /dev/null
@@ -1,140 +0,0 @@
-diff -Naur src/Makefile src-p/Makefile
---- src/Makefile 2007-08-20 16:47:41.000000000 +0200
-+++ src-p/Makefile 2007-10-02 04:07:44.000000000 +0200
-@@ -34,17 +34,17 @@
-
- # Everything gets put in subdirectories of. . .
-
--TOPDIR= /usr/local
-+TOPDIR= $(DESTDIR)/usr
-
- # "Compiled" time zone information is placed in the "TZDIR" directory
- # (and subdirectories).
- # Use an absolute path name for TZDIR unless you're just testing the software.
-
--TZDIR= $(TOPDIR)/etc/zoneinfo
-+TZDIR= $(TOPDIR)/share/zoneinfo
-
- # The "tzselect", "zic", and "zdump" commands get installed in. . .
-
--ETCDIR= $(TOPDIR)/etc
-+SBINDIR= $(TOPDIR)/sbin
-
- # If you "make INSTALL", the "date" command gets installed in. . .
-
-@@ -52,7 +52,7 @@
-
- # Manual pages go in subdirectories of. . .
-
--MANDIR= $(TOPDIR)/man
-+MANDIR= $(TOPDIR)/share/man
-
- # Library functions are put in an archive in LIBDIR.
-
-@@ -83,7 +83,7 @@
-
- # Non-default libraries needed to link.
- # Add -lintl if you want to use `gettext' on Solaris.
--LDLIBS=
-+LDLIBS=$(LDFLAGS)
-
- # Add the following to the end of the "CFLAGS=" line as needed.
- # -Dconst= if `const' does not work (SunOS 4.x cc, OSF1 V5.0 cc)
-@@ -211,7 +211,7 @@
- # before the first Monday in January when a "%V" format is used and January 1
- # falls on a Friday, Saturday, or Sunday.
-
--CFLAGS=
-+CFLAGS += -std=gnu99
-
- # If you want zic's -s option used when installing, uncomment the next line
- # ZFLAGS= -s
-@@ -220,7 +220,7 @@
- ZIC= $(zic) $(ZFLAGS)
-
- # The name of a Posix-compliant `awk' on your system.
--AWK= nawk
-+AWK= awk
-
- # The path where SGML DTDs are kept.
- SGML_SEARCH_PATH= $(TOPDIR)/share/doc/sgml-lib/REC-html401-19991224/
-@@ -241,8 +241,10 @@
-
- ###############################################################################
-
--cc= cc
--CC= $(cc) -DTZDIR=\"$(TZDIR)\"
-+CC+= -DTZDIR=\"$(TZDIR)\"
-+ifeq ($(NLS),1)
-+CC += -DHAVE_GETTEXT=1 -DTZ_DOMAIN=\"libc\"
-+endif
-
- TZCSRCS= zic.c localtime.c asctime.c scheck.c ialloc.c
- TZCOBJS= zic.o localtime.o asctime.o scheck.o ialloc.o
-@@ -282,14 +284,16 @@
-
- ALL: all date
-
--install: all $(DATA) $(REDO) $(TZLIB) $(MANS) $(TABDATA)
-+install: all $(DATA) $(REDO) $(MANS) $(TABDATA)
- $(ZIC) -y $(YEARISTYPE) \
- -d $(TZDIR) -l $(LOCALTIME) -p $(POSIXRULES)
- -rm -f $(TZDIR)/iso3166.tab $(TZDIR)/zone.tab
- cp iso3166.tab zone.tab $(TZDIR)/.
-- -mkdir $(TOPDIR) $(ETCDIR)
-- cp tzselect zic zdump $(ETCDIR)/.
-- -mkdir $(TOPDIR) $(MANDIR) \
-+ -mkdir -p $(TOPDIR) $(SBINDIR)
-+ cp zic zdump $(SBINDIR)/.
-+ -mkdir -p $(TOPDIR) $(BINDIR)
-+ cp tzselect $(BINDIR)/.
-+ -mkdir -p $(TOPDIR) $(MANDIR) \
- $(MANDIR)/man3 $(MANDIR)/man5 $(MANDIR)/man8
- -rm -f $(MANDIR)/man3/newctime.3 \
- $(MANDIR)/man3/newtzset.3 \
-@@ -298,13 +302,11 @@
- $(MANDIR)/man8/zdump.8 \
- $(MANDIR)/man8/zic.8
- cp newctime.3 newtzset.3 $(MANDIR)/man3/.
-- cp tzfile.5 $(MANDIR)/man5/.
-- cp tzselect.8 zdump.8 zic.8 $(MANDIR)/man8/.
-
- INSTALL: ALL install date.1
-- -mkdir $(TOPDIR) $(BINDIR)
-+ -mkdir -p $(TOPDIR) $(BINDIR)
- cp date $(BINDIR)/.
-- -mkdir $(TOPDIR) $(MANDIR) $(MANDIR)/man1
-+ -mkdir -p $(TOPDIR) $(MANDIR) $(MANDIR)/man1
- -rm -f $(MANDIR)/man1/date.1
- cp date.1 $(MANDIR)/man1/.
-
-@@ -334,9 +336,9 @@
- # You must replace all of $(TZDIR) to switch from not using leap seconds
- # to using them, or vice versa.
- other_two: zic leapseconds $(TDATA)
-- $(ZIC) -y $(YEARISTYPE) -d $(TZDIR)-posix -L /dev/null $(TDATA)
-+ $(ZIC) -y $(YEARISTYPE) -d $(TZDIR)/posix -L /dev/null $(TDATA)
- $(ZIC) -y $(YEARISTYPE) \
-- -d $(TZDIR)-leaps -L leapseconds $(TDATA)
-+ -d $(TZDIR)/right -L leapseconds $(TDATA)
-
- posix_right: posix_only other_two
-
-@@ -367,7 +369,7 @@
- <$? >$@
- chmod +x $@
-
--check: check_tables check_web
-+check: check_tables
-
- check_tables: checktab.awk $(PRIMARY_YDATA)
- $(AWK) -f checktab.awk $(PRIMARY_YDATA)
-diff -Naur src/tzselect.ksh src-p/tzselect.ksh
---- src/tzselect.ksh 2007-08-20 16:47:42.000000000 +0200
-+++ src-p/tzselect.ksh 2007-10-02 04:07:44.000000000 +0200
-@@ -1,4 +1,4 @@
--#! /bin/ksh
-+#! /bin/bash
-
- # '@(#)tzselect.ksh 8.1'
-
diff --git a/testing/tzdata/PKGBUILD b/testing/tzdata/PKGBUILD
deleted file mode 100644
index b09c6c637..000000000
--- a/testing/tzdata/PKGBUILD
+++ /dev/null
@@ -1,45 +0,0 @@
-# $Id: PKGBUILD 121182 2011-04-29 06:58:28Z andyrtr $
-# Maintainer: Andreas Radke <andyrtr@archlinux.org>
-
-pkgname=tzdata
-pkgver=2011g
-pkgrel=1
-_tzcode=2011g
-_tzdata=2011g
-pkgdesc="Sources for time zone and daylight saving time data"
-arch=('i686' 'x86_64')
-url="http://www.twinsun.com/tz/tz-link.htm"
-license=('GPL')
-depends=()
-makedepends=()
-optdepends=('bash: required by tzselect')
-options=('!emptydirs')
-source=(ftp://elsie.nci.nih.gov/pub/tzcode${_tzcode}.tar.gz \
- ftp://elsie.nci.nih.gov/pub/${pkgname}${_tzdata}.tar.gz \
- Makefile.patch)
-md5sums=('ecb564279b28c5b184421c525d997d6c'
- 'a068c27e7e426fdb12ab0c88506df20d'
- 'a64ed97d1fc03c66ee8612c0d9f40507')
-
-build() {
- cd ${srcdir}
-
- tar -xf tzcode${_tzcode}.tar.gz
- tar -xf ${pkgname}${_tzdata}.tar.gz
-
- patch -Np1 -i "${srcdir}/Makefile.patch"
-
- make
-}
-
-check() {
- cd ${srcdir}
- make check
-}
-
-package() {
- cd ${srcdir}
- make DESTDIR="${pkgdir}" install
-
- rm "${pkgdir}/usr/share/zoneinfo/localtime"
-}
diff --git a/testing/xfsprogs/PKGBUILD b/testing/xfsprogs/PKGBUILD
deleted file mode 100644
index 962f08b0f..000000000
--- a/testing/xfsprogs/PKGBUILD
+++ /dev/null
@@ -1,29 +0,0 @@
-# $Id: PKGBUILD 118982 2011-04-09 21:14:21Z tpowa $
-# Maintainer: Paul Mattal <paul@archlinux.org>
-pkgname=xfsprogs
-pkgver=3.1.5
-pkgrel=1
-pkgdesc="XFS filesystem utilities"
-arch=('i686' 'x86_64')
-license=('LGPL')
-url="http://oss.sgi.com/projects/xfs/"
-groups=('base')
-depends=('util-linux-ng>=2.16')
-options=('!makeflags' '!libtool')
-# We mirror the sources as upstream tends to move them once a new release is out
-source=("ftp://ftp.archlinux.org/other/xfsprogs/${pkgname}-${pkgver}.tar.gz")
-md5sums=('b1db37749e2b4149a0dd178abff956be')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- export OPTIMIZER="-march=${CARCH/_/-} -O1"
- export DEBUG=-DNDEBUG
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DIST_ROOT="${pkgdir}" install install-dev
- chown -R root $pkgdir
- chgrp -R root $pkgdir
-}