summaryrefslogtreecommitdiffstats
path: root/abs/chroot-devel
diff options
context:
space:
mode:
Diffstat (limited to 'abs/chroot-devel')
-rw-r--r--abs/chroot-devel/README0
-rw-r--r--abs/chroot-devel/abs/ChangeLog35
-rw-r--r--abs/chroot-devel/abs/PKGBUILD33
-rw-r--r--abs/chroot-devel/abs/abs.install15
-rw-r--r--abs/chroot-devel/gamin/PKGBUILD25
-rw-r--r--abs/chroot-devel/git/ChangeLog26
-rw-r--r--abs/chroot-devel/git/PKGBUILD49
-rw-r--r--abs/chroot-devel/icon-naming-utils/PKGBUILD24
-rw-r--r--abs/chroot-devel/imake/PKGBUILD39
-rw-r--r--abs/chroot-devel/imake/linuxconfig.patch31
-rw-r--r--abs/chroot-devel/intltool/ChangeLog19
-rw-r--r--abs/chroot-devel/intltool/PKGBUILD22
-rw-r--r--abs/chroot-devel/leafpad/PKGBUILD23
-rw-r--r--abs/chroot-devel/pcmanfm/PKGBUILD21
-rw-r--r--abs/chroot-devel/pcmanfm/pcmanfm.install12
-rw-r--r--abs/chroot-devel/pcmanfm/vfs-file-info.c699
-rw-r--r--abs/chroot-devel/rsync/ChangeLog20
-rw-r--r--abs/chroot-devel/rsync/PKGBUILD33
-rw-r--r--abs/chroot-devel/rsync/rsync.xinetd11
-rw-r--r--abs/chroot-devel/rsync/rsyncd37
-rw-r--r--abs/chroot-devel/rsync/rsyncd.conf16
-rw-r--r--abs/chroot-devel/startup-notification/PKGBUILD19
-rw-r--r--abs/chroot-devel/tango-icon-theme/PKGBUILD23
-rw-r--r--abs/chroot-devel/terminal/PKGBUILD25
-rw-r--r--abs/chroot-devel/terminal/terminal-dont-die-on-dbus-kill.patch10
-rw-r--r--abs/chroot-devel/terminal/terminal.install11
-rw-r--r--abs/chroot-devel/thunar/PKGBUILD30
-rw-r--r--abs/chroot-devel/thunar/thunar.install18
28 files changed, 0 insertions, 1326 deletions
diff --git a/abs/chroot-devel/README b/abs/chroot-devel/README
deleted file mode 100644
index e69de29..0000000
--- a/abs/chroot-devel/README
+++ /dev/null
diff --git a/abs/chroot-devel/abs/ChangeLog b/abs/chroot-devel/abs/ChangeLog
deleted file mode 100644
index c33bcff..0000000
--- a/abs/chroot-devel/abs/ChangeLog
+++ /dev/null
@@ -1,35 +0,0 @@
-2008-08-10 Allan McRae <allan@archlinux.org>
-
- * 2.2-1
- Upstream update
- - adds ability to select which repos/packages
- sync on commandline
- - additional PKGBUILD and install script prototypes
-
-2008-04-19 Travis Willard <travis@archlinux.org>
-
- * 2.1-1
- Upstream update - re-adds support for community
-
-2008-04-19 Travis Willard <travis@archlinux.org>
-
- * 2.0-4
- Added install warning about /var/abs
-
-2008-04-15 Travis Willard <travis@archlinux.org>
-
- * 2.0-3
- Added install message
- Moved abs.conf to /etc instead of /etc/abs
-
-2008-04-13 Travis Willard <travis@archlinux.org>
-
- * 2.0-2
- Moved rsyncd.conf.abs to /usr/share/abs
- Made rsync server configurable
-
-2008-04-10 Travis Willard <travis@archlinux.org>
-
- * 2.0-1
- Added ChangeLog
- New rsync-based release
diff --git a/abs/chroot-devel/abs/PKGBUILD b/abs/chroot-devel/abs/PKGBUILD
deleted file mode 100644
index e38c9e9..0000000
--- a/abs/chroot-devel/abs/PKGBUILD
+++ /dev/null
@@ -1,33 +0,0 @@
-# $Id: PKGBUILD 8218 2008-08-09 14:48:26Z allan $
-# Maintainer: Allan McRae <allan@archlinux.org>
-
-pkgname=abs
-pkgver=2.2
-pkgrel=1
-pkgdesc="Utilities to download and work with the Arch Build System (ABS)"
-arch=('i686' 'x86_64')
-url="http://projects.archlinux.org/git/?p=abs.git"
-license=('GPL')
-depends=('bash' 'rsync')
-backup=(etc/abs.conf)
-install=abs.install
-source=(ftp://ftp.archlinux.org/other/abs/${pkgname}-${pkgver}.tar.gz)
-md5sums=('281f7def0b18d1545438290fcbf26db3')
-
-build() {
- cd ${srcdir}/${pkgname}
-
- make CONFDIR=/etc/ || return 1
- make CONFDIR=/etc/ DESTDIR=${pkgdir} install || return 1
-
- # Add readme file, and make base /var/abs path
- install -dm0755 ${pkgdir}/var/abs/local/
- install -Dm0644 ${srcdir}/abs/README ${pkgdir}/var/abs/README
-
- # change ABS tags for x86_64 to correct values
- if [ "$CARCH" = "x86_64" ]; then
- sed -i "s|i686|x86_64|g" ${pkgdir}/etc/abs.conf
- fi
-}
-
-# vim: set ts=2 sw=2 noet:
diff --git a/abs/chroot-devel/abs/abs.install b/abs/chroot-devel/abs/abs.install
deleted file mode 100644
index 1b19b4a..0000000
--- a/abs/chroot-devel/abs/abs.install
+++ /dev/null
@@ -1,15 +0,0 @@
-## arg 1: the new package version
-## arg 2: the old package version
-pre_upgrade() {
- if [ "$(vercmp $2 2.0-1)" -lt 0 ]; then
- echo "==> ABS now uses rsync, instead of cvsup, to synchronize your tree."
- echo "==> Please note the new configuration in /etc/abs.conf"
- fi
-
- if [ "$(vercmp $2 2.0-4)" -lt 0 ]; then
- echo "==> Warning: abs clears out the contents of /var/abs when syncing."
- echo "==> Keep all local PKGBUILDs in /var/abs/local, or they will disappear"
- fi
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/abs/chroot-devel/gamin/PKGBUILD b/abs/chroot-devel/gamin/PKGBUILD
deleted file mode 100644
index a2f03b8..0000000
--- a/abs/chroot-devel/gamin/PKGBUILD
+++ /dev/null
@@ -1,25 +0,0 @@
-# $Id: PKGBUILD,v 1.2 2008/07/28 13:15:48 abhidg Exp $
-# Maintainer: Abhishek Dasgupta <abhidg@gmail.com>
-# Contributor: Pulphix <crimea.v@libero.it>
-
-pkgname=gamin
-pkgver=0.1.9
-pkgrel=4
-pkgdesc='Gamin is a file and directory monitoring system defined to be a subset of the FAM (File Alteration Monitor) system.'
-url='http://www.gnome.org/~veillard/gamin'
-license=('GPL')
-arch=('i686' 'x86_64')
-depends=('glib2')
-options=('libtool')
-provides=('fam')
-conflicts=('fam')
-source=("http://www.gnome.org/~veillard/gamin/sources/${pkgname}-${pkgver}.tar.gz")
-md5sums=('2d3a6a70df090ed923238e381e6c2982')
-
-build() {
- cd $startdir/src/$pkgname-$pkgver
- sed -i "s# -Wall# -Wall -D_GNU_SOURCE#g" configure || return 1
- ./configure --prefix=/usr --disable-static --with-threads --without-python --disable-debug-api --disable-debug
- make || return 1
- make DESTDIR=$startdir/pkg install || return 1
-}
diff --git a/abs/chroot-devel/git/ChangeLog b/abs/chroot-devel/git/ChangeLog
deleted file mode 100644
index 54cdeec..0000000
--- a/abs/chroot-devel/git/ChangeLog
+++ /dev/null
@@ -1,26 +0,0 @@
-Simple version bumps are ommitted from the following ChangeLog.
-
-2008-09-14 Dan McGee <dan@archlinux.org>
- Version 1.6.0.2-1
- * Moved optional depends from install file to optdepends array
-
-2008-06-15 Dan McGee <dan@archlinux.org>
- Version 1.5.6-1
- * Removed 'cpio' dependency, clone is now a builtin and no longer needs it
-
-2008-02-02 Dan McGee <dan@archlinux.org>
- Version 1.5.4-1
- * Upstream version 1.5.4
- * Enable pthreads support in pack-objects. To use, set the pack.threads
- git config option. Read manpages of pack-objects and config for more
- details.
- * Changelog added (with entries going back a bit).
-
-2008-01-28 Kevin Piche <kevin@archlinux.org>
- Version 1.5.3.7-2
- * Updated for new perl policy (vendor dirs)
- * Change license to GPL2
-
-2007-11-01 Eric Belanger <eric@archlinux.org>
- Version 1.5.3.5-2
- * Fix Perl module location
diff --git a/abs/chroot-devel/git/PKGBUILD b/abs/chroot-devel/git/PKGBUILD
deleted file mode 100644
index 7863d4f..0000000
--- a/abs/chroot-devel/git/PKGBUILD
+++ /dev/null
@@ -1,49 +0,0 @@
-# $Id: PKGBUILD 12487 2008-09-14 16:45:00Z dan $
-# Maintainer: Dan McGee <dan@archlinux.org>
-
-pkgname=git
-pkgver=1.6.0.2
-pkgrel=2
-pkgdesc="GIT - the stupid content tracker"
-arch=(i686 x86_64)
-url="http://git.or.cz/"
-license=('GPL2')
-depends=('curl' 'expat>=2.0' 'perl-error' 'perl>=5.10.0')
-optdepends=('tk: gitk and git gui'
- 'perl-libwww: git svn'
- 'subversion: git svn'
- 'cvsps: git cvsimport')
-replaces=('git-core')
-provides=('git-core')
-source=("http://kernel.org/pub/software/scm/git/${pkgname}-${pkgver}.tar.bz2" \
- "http://kernel.org/pub/software/scm/git/git-manpages-${pkgver}.tar.bz2")
-
-build() {
- cd $srcdir/$pkgname-$pkgver
- make THREADED_DELTA_SEARCH=1 \
- prefix=/usr gitexecdir=/usr/lib/git-core || return 1
- make THREADED_DELTA_SEARCH=1 \
- prefix=/usr gitexecdir=/usr/lib/git-core \
- INSTALLDIRS=vendor DESTDIR=${pkgdir} install
-
- # let's plop gitweb in /usr/share
- mkdir -p $pkgdir/usr/share/ || return 1
- cp -dR ./gitweb $pkgdir/usr/share/gitweb || return 1
-
- #bash completion
- mkdir -p $pkgdir/etc/bash_completion.d/ || return 1
- install -m644 ./contrib/completion/git-completion.bash $pkgdir/etc/bash_completion.d/git || return 1
-
- # how 'bout some manpages?
- for mansect in man1 man5 man7; do
- for manpage in $srcdir/$mansect/*; do
- install -D -m644 $manpage $pkgdir/usr/share/man/$mansect/$(basename $manpage)
- done
- done
-
- # remove perllocal.pod, .packlist, and empty directories.
- rm -rf $pkgdir/usr/lib/perl5
-}
-
-md5sums=('1e4d9bfc1cb0abf165d4de93b5172324'
- '30bd29d96b4576ef8b7b48ad791f613e')
diff --git a/abs/chroot-devel/icon-naming-utils/PKGBUILD b/abs/chroot-devel/icon-naming-utils/PKGBUILD
deleted file mode 100644
index 82592ff..0000000
--- a/abs/chroot-devel/icon-naming-utils/PKGBUILD
+++ /dev/null
@@ -1,24 +0,0 @@
-# $Id: PKGBUILD 4394 2008-07-06 20:12:55Z jgc $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-# Contributor: William Rea <sillywilly@gmail.com>
-
-pkgname=icon-naming-utils
-pkgver=0.8.7
-pkgrel=1
-pkgdesc="Maps the new names of icons for Tango to the legacy names used by the GNOME and KDE desktops."
-arch=(i686 x86_64)
-license=('GPL')
-url="http://tango.freedesktop.org/"
-depends=('perl-xml-simple')
-source=(http://tango.freedesktop.org/releases/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('2bcd77b8b6361831a932a5e76e82b66d')
-
-build() {
- cd ${startdir}/src/${pkgname}-${pkgver}
- ./configure --prefix=/usr --sysconfdir=/etc \
- --libexecdir=/usr/lib/icon-naming-utils \
- --localstatedir=/var
- make || return 1
- make DESTDIR=${startdir}/pkg install
- mv ${startdir}/pkg/usr/share/pkgconfig ${startdir}/pkg/usr/lib/pkgconfig
-}
diff --git a/abs/chroot-devel/imake/PKGBUILD b/abs/chroot-devel/imake/PKGBUILD
deleted file mode 100644
index 9ad08b0..0000000
--- a/abs/chroot-devel/imake/PKGBUILD
+++ /dev/null
@@ -1,39 +0,0 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
-# Maintainer: Alexander Baldeck <alexander@archlinux.org>
-# Contributor: Jan de Groot <jgc@archlinux.org>
-pkgname=imake
-pkgver=1.0.2
-pkgrel=2
-force=y
-pkgdesc="X.Org imake program and related utilities"
-arch=(i686 x86_64)
-url="http://xorg.freedesktop.org/"
-depends=(glibc)
-makedepends=(pkgconfig xproto perl)
-source=(http://xorg.freedesktop.org/releases/individual/util/imake-1.0.2.tar.bz2
- http://xorg.freedesktop.org/releases/individual/util/gccmakedep-1.0.2.tar.bz2
- http://xorg.freedesktop.org/releases/individual/util/lndir-1.0.1.tar.bz2
- http://xorg.freedesktop.org/releases/individual/util/makedepend-1.0.1.tar.bz2
- http://xorg.freedesktop.org/releases/individual/util/xorg-cf-files-1.0.2.tar.bz2
- linuxconfig.patch)
-
-build() {
- cd ${startdir}/src/xorg-cf-files-*
- patch -Np1 -i ${startdir}/src/linuxconfig.patch || return 1
- cd ${startdir}/src
- for i in *; do
- if [ -d "${i}" ]; then
- pushd "${i}"
- ./configure --prefix=/usr
- make || return 1
- make DESTDIR=${startdir}/pkg install || return 1
- popd
- fi
- done
-}
-md5sums=('02fea5a02ba2857c7d81820c8e8b8e6f'
- 'b533c0771dbbaf9b041ff35bb941d3a2'
- 'e274ea9f55dfd62afa0a7b1e1ab4ba96'
- '54ab2549d723e51ff2b9cff4d8bf44d1'
- '5f62dd5545b782c74f6e4e70d0e6552c'
- '1b1d7653ac95d4b479784afcd61a889f')
diff --git a/abs/chroot-devel/imake/linuxconfig.patch b/abs/chroot-devel/imake/linuxconfig.patch
deleted file mode 100644
index 8e1c5a0..0000000
--- a/abs/chroot-devel/imake/linuxconfig.patch
+++ /dev/null
@@ -1,31 +0,0 @@
---- xorg-cf-files-1.0.1/linux.cf.orig 2006-03-04 18:40:43.000000000 +0000
-+++ xorg-cf-files-1.0.1/linux.cf 2006-03-04 18:41:48.000000000 +0000
-@@ -193,6 +193,13 @@
- #define FSUseSyslog YES
- #endif
-
-+#define FSUseSyslog YES
-+#define BuildRman NO
-+#define BuildHtmlManPages NO
-+#define ProjectRoot /usr
-+#define ManPath /usr/man
-+#define XappLoadDir /usr/share/X11/app-defaults
-+
- #ifndef HasDevRandom
- # define HasDevRandom YES
- # ifndef RandomDeviceName
---- xorg-cf-files-1.0.2/X11.tmpl.orig 2006-07-15 10:45:23.000000000 +0000
-+++ xorg-cf-files-1.0.2/X11.tmpl 2006-07-15 10:46:19.000000000 +0000
-@@ -1502,10 +1502,10 @@
- #define DocPdfDir $(DOCDIR)/PDF
- #endif
- #ifndef FontDir
--#define FontDir $(LIBDIR)/fonts
-+#define FontDir /usr/share/fonts
- #endif
- #ifndef FontEncDir
--#define FontEncDir $(LIBDIR)/fonts/encodings
-+#define FontEncDir /usr/share/fonts/encodings
- #endif
- #ifndef AdmDir
- #define AdmDir /usr/adm
diff --git a/abs/chroot-devel/intltool/ChangeLog b/abs/chroot-devel/intltool/ChangeLog
deleted file mode 100644
index f234947..0000000
--- a/abs/chroot-devel/intltool/ChangeLog
+++ /dev/null
@@ -1,19 +0,0 @@
-2008-07-28 Eric Belanger <eric@archlinux.org>
-
- * intltool 0.40.3-1
- * Upstream update
-
-2008-07-23 Eric Belanger <eric@archlinux.org>
-
- * intltool 0.40.1-1
- * Upstream update
-
-2008-06-08 Eric Belanger <eric@archlinux.org>
-
- * intltool 0.40.0-1
- * Upstream update
-
-2008-03-01 Eric Belanger <eric@archlinux.org>
-
- * intltool 0.37.1-1
- * Upstream update
diff --git a/abs/chroot-devel/intltool/PKGBUILD b/abs/chroot-devel/intltool/PKGBUILD
deleted file mode 100644
index 562e51e..0000000
--- a/abs/chroot-devel/intltool/PKGBUILD
+++ /dev/null
@@ -1,22 +0,0 @@
-# $Id: PKGBUILD 7286 2008-07-29 01:10:32Z eric $
-# Maintainer: Eric Belanger <eric@archlinux.org>
-# Contributor: Jan de Groot <jgc@archlinux.org>
-
-pkgname=intltool
-pkgver=0.40.3
-pkgrel=1
-pkgdesc="The internationalization tool collection"
-arch=('i686' 'x86_64')
-url="http://freedesktop.org/wiki/Software/intltool"
-license=('GPL')
-depends=('perlxml')
-source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('7adee54938b22d32c63ecb5223fd4249')
-sha1sums=('888f0b91cae35ef7821919d681b69a6ce81fd525')
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- ./configure --prefix=/usr || return 1
- make || return 1
- make DESTDIR=${pkgdir} install || return 1
-}
diff --git a/abs/chroot-devel/leafpad/PKGBUILD b/abs/chroot-devel/leafpad/PKGBUILD
deleted file mode 100644
index 874ee94..0000000
--- a/abs/chroot-devel/leafpad/PKGBUILD
+++ /dev/null
@@ -1,23 +0,0 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
-# Maintainer: Aaron Griffin <aaron@archlinux.org>
-# Contributor: Link Dupont <link@subpop.net>
-
-pkgname=leafpad
-pkgver=0.8.14
-pkgrel=1
-pkgdesc="A notepad clone for GTK+ 2.0"
-arch=(i686 x86_64)
-url="http://tarot.freeshell.org/leafpad/"
-license=('GPL')
-depends=(gtk2)
-makedepends=(perlxml)
-source=(http://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.tar.gz)
-md5sums=('5f2abed8c880886e8aeb7e1a8d302e4c')
-
-build()
-{
- cd $startdir/src/$pkgname-$pkgver
- ./configure --prefix=/usr --enable-chooser || return 1
- make || return 1
- make DESTDIR=$startdir/pkg install || return 1
-}
diff --git a/abs/chroot-devel/pcmanfm/PKGBUILD b/abs/chroot-devel/pcmanfm/PKGBUILD
deleted file mode 100644
index a82890d..0000000
--- a/abs/chroot-devel/pcmanfm/PKGBUILD
+++ /dev/null
@@ -1,21 +0,0 @@
-# Maintainer: Geoffroy Carrier <geoffroy.carrier@koon.fr>
-pkgname=pcmanfm
-pkgver=0.5
-pkgrel=3
-pkgdesc="File manager of the LXDE Desktop"
-arch=('i686' 'x86_64')
-url="http://pcmanfm.sourceforge.net/"
-license=('GPL')
-groups=('lxde')
-depends=('gtk2' 'shared-mime-info' 'desktop-file-utils' 'startup-notification' 'gamin')
-makedepends=('intltool' 'pkgconfig')
-install=pcmanfm.install
-source=(http://downloads.sourceforge.net/pcmanfm/pcmanfm-$pkgver.tar.gz)
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- cp $startdir/vfs-file-info.c src/vfs/
-
- ./configure --sysconfdir=/etc --prefix=/usr --disable-hal || return 1
- make || return 1
- make DESTDIR="$pkgdir" install || return 1
-}
diff --git a/abs/chroot-devel/pcmanfm/pcmanfm.install b/abs/chroot-devel/pcmanfm/pcmanfm.install
deleted file mode 100644
index 1182e76..0000000
--- a/abs/chroot-devel/pcmanfm/pcmanfm.install
+++ /dev/null
@@ -1,12 +0,0 @@
-post_install() {
- update-mime-database usr/share/mime > /dev/null
- update-desktop-database -q
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
diff --git a/abs/chroot-devel/pcmanfm/vfs-file-info.c b/abs/chroot-devel/pcmanfm/vfs-file-info.c
deleted file mode 100644
index a397893..0000000
--- a/abs/chroot-devel/pcmanfm/vfs-file-info.c
+++ /dev/null
@@ -1,699 +0,0 @@
-/*
-* C Implementation: vfs-file-info
-*
-* Description: File information
-*
-*
-* Author: Hong Jen Yee (PCMan) <pcman.tw (AT) gmail.com>, (C) 2006
-*
-* Copyright: See COPYING file that comes with this distribution
-*
-*/
-
-#include "vfs-file-info.h"
-#include <glib.h>
-#include "glib-mem.h"
-#include <glib/gi18n.h>
-#include <grp.h> /* Query group name */
-#include <pwd.h> /* Query user name */
-#include <string.h>
-
-#include "vfs-app-desktop.h"
-#include "vfs-thumbnail-loader.h"
-#include "vfs-utils.h" /* for vfs_load_icon */
-
-static int big_thumb_size = 48, small_thumb_size = 20;
-static gboolean utf8_file_name = FALSE;
-
-void vfs_file_info_set_utf8_filename( gboolean is_utf8 )
-{
- utf8_file_name = is_utf8;
-}
-
-VFSFileInfo* vfs_file_info_new ()
-{
- VFSFileInfo * fi = g_slice_new0( VFSFileInfo );
- fi->n_ref = 1;
- return fi;
-}
-
-static void vfs_file_info_clear( VFSFileInfo* fi )
-{
- if ( fi->disp_name && fi->disp_name != fi->name )
- {
- g_free( fi->disp_name );
- fi->disp_name = NULL;
- }
- if ( fi->name )
- {
- g_free( fi->name );
- fi->name = NULL;
- }
- if ( fi->disp_size )
- {
- g_free( fi->disp_size );
- fi->disp_size = NULL;
- }
- if ( fi->disp_owner )
- {
- g_free( fi->disp_owner );
- fi->disp_owner = NULL;
- }
- if ( fi->disp_mtime )
- {
- g_free( fi->disp_mtime );
- fi->disp_mtime = NULL;
- }
- if ( fi->big_thumbnail )
- {
- gdk_pixbuf_unref( fi->big_thumbnail );
- fi->big_thumbnail = NULL;
- }
- if ( fi->small_thumbnail )
- {
- gdk_pixbuf_unref( fi->small_thumbnail );
- fi->small_thumbnail = NULL;
- }
-
- fi->disp_perm[ 0 ] = '\0';
-
- if ( fi->mime_type )
- {
- vfs_mime_type_unref( fi->mime_type );
- fi->mime_type = NULL;
- }
- fi->flags = VFS_FILE_INFO_NONE;
-}
-
-VFSFileInfo* vfs_file_info_ref( VFSFileInfo* fi )
-{
- g_atomic_int_inc( &fi->n_ref );
- return fi;
-}
-
-void vfs_file_info_unref( VFSFileInfo* fi )
-{
- if ( g_atomic_int_dec_and_test( &fi->n_ref) )
- {
- vfs_file_info_clear( fi );
- g_slice_free( VFSFileInfo, fi );
- }
-}
-
-gboolean vfs_file_info_get( VFSFileInfo* fi,
- const char* file_path,
- const char* base_name )
-{
- struct stat file_stat;
- vfs_file_info_clear( fi );
-
- if ( base_name )
- fi->name = g_strdup( base_name );
- else
- fi->name = g_path_get_basename( file_path );
-
- if ( lstat( file_path, &file_stat ) == 0 )
- {
- /* This is time-consuming but can save much memory */
- fi->mode = file_stat.st_mode;
- fi->dev = file_stat.st_dev;
- fi->uid = file_stat.st_uid;
- fi->gid = file_stat.st_gid;
- fi->size = file_stat.st_size;
- fi->mtime = file_stat.st_mtime;
- fi->atime = file_stat.st_atime;
- fi->blksize = file_stat.st_blksize;
- fi->blocks = file_stat.st_blocks;
-
- if ( G_LIKELY( utf8_file_name && g_utf8_validate ( fi->name, -1, NULL ) ) )
- {
- fi->disp_name = fi->name; /* Don't duplicate the name and save memory */
- }
- else
- {
- fi->disp_name = g_filename_display_name( fi->name );
- }
- fi->mime_type = vfs_mime_type_get_from_file( file_path,
- fi->disp_name,
- &file_stat );
- return TRUE;
- }
- else
- fi->mime_type = vfs_mime_type_get_from_type( XDG_MIME_TYPE_UNKNOWN );
- return FALSE;
-}
-
-const char* vfs_file_info_get_name( VFSFileInfo* fi )
-{
- return fi->name;
-}
-
-/* Get displayed name encoded in UTF-8 */
-const char* vfs_file_info_get_disp_name( VFSFileInfo* fi )
-{
- return fi->disp_name;
-}
-
-void vfs_file_info_set_disp_name( VFSFileInfo* fi, const char* name )
-{
- if ( fi->disp_name && fi->disp_name != fi->name )
- g_free( fi->disp_name );
- fi->disp_name = g_strdup( name );
-}
-
-void vfs_file_info_set_name( VFSFileInfo* fi, const char* name )
-{
- g_free( fi->name );
- fi->name = g_strdup( name );
-}
-
-off_t vfs_file_info_get_size( VFSFileInfo* fi )
-{
- return fi->size;
-}
-
-const char* vfs_file_info_get_disp_size( VFSFileInfo* fi )
-{
- if ( G_UNLIKELY( !fi->disp_size ) )
- {
- char buf[ 64 ];
- vfs_file_size_to_string( buf, fi->size );
- fi->disp_size = g_strdup( buf );
- }
- return fi->disp_size;
-}
-
-off_t vfs_file_info_get_blocks( VFSFileInfo* fi )
-{
- return fi->blocks;
-}
-
-VFSMimeType* vfs_file_info_get_mime_type( VFSFileInfo* fi )
-{
- vfs_mime_type_ref( fi->mime_type );
- return fi->mime_type;
-}
-
-void vfs_file_info_reload_mime_type( VFSFileInfo* fi,
- const char* full_path )
-{
- VFSMimeType * old_mime_type;
- struct stat file_stat;
-
- /* convert VFSFileInfo to struct stat */
- /* In current implementation, only st_mode is used in
- mime-type detection, so let's save some CPU cycles
- and don't copy unused fields.
- */
- file_stat.st_mode = fi->mode;
- /*
- file_stat.st_dev = fi->dev;
- file_stat.st_uid = fi->uid;
- file_stat.st_gid = fi->gid;
- file_stat.st_size = fi->size;
- file_stat.st_mtime = fi->mtime;
- file_stat.st_atime = fi->atime;
- file_stat.st_blksize = fi->blksize;
- file_stat.st_blocks = fi->blocks;
- */
- old_mime_type = fi->mime_type;
- fi->mime_type = vfs_mime_type_get_from_file( full_path,
- fi->name, &file_stat );
- vfs_file_info_load_special_info( fi, full_path );
- vfs_mime_type_unref( old_mime_type ); /* FIXME: is vfs_mime_type_unref needed ?*/
-}
-
-const char* vfs_file_info_get_mime_type_desc( VFSFileInfo* fi )
-{
- return vfs_mime_type_get_description( fi->mime_type );
-}
-
-GdkPixbuf* vfs_file_info_get_big_icon( VFSFileInfo* fi )
-{
- /* get special icons for special files, especially for
- some desktop icons */
-
- if ( G_UNLIKELY( fi->flags != VFS_FILE_INFO_NONE ) )
- {
- int w, h;
- int icon_size;
- vfs_mime_type_get_icon_size( &icon_size, NULL );
- if ( fi->big_thumbnail )
- {
- w = gdk_pixbuf_get_width( fi->big_thumbnail );
- h = gdk_pixbuf_get_height( fi->big_thumbnail );
- }
- else
- w = h = 0;
-
- if ( ABS( MAX( w, h ) - icon_size ) > 2 )
- {
- char * icon_name = NULL;
- if ( fi->big_thumbnail )
- {
- icon_name = ( char* ) g_object_steal_data(
- G_OBJECT(fi->big_thumbnail), "name" );
- gdk_pixbuf_unref( fi->big_thumbnail );
- fi->big_thumbnail = NULL;
- }
- if ( G_LIKELY( icon_name ) )
- {
- if ( G_UNLIKELY( icon_name[ 0 ] == '/' ) )
- fi->big_thumbnail = gdk_pixbuf_new_from_file( icon_name, NULL );
- else
- fi->big_thumbnail = vfs_load_icon(
- gtk_icon_theme_get_default(),
- icon_name, icon_size );
- }
- if ( fi->big_thumbnail )
- g_object_set_data_full( G_OBJECT(fi->big_thumbnail), "name", icon_name, g_free );
- else
- g_free( icon_name );
- }
- return fi->big_thumbnail ? gdk_pixbuf_ref( fi->big_thumbnail ) : NULL;
- }
- if( G_UNLIKELY(!fi->mime_type) )
- return NULL;
- return vfs_mime_type_get_icon( fi->mime_type, TRUE );
-}
-
-GdkPixbuf* vfs_file_info_get_small_icon( VFSFileInfo* fi )
-{
- return vfs_mime_type_get_icon( fi->mime_type, FALSE );
-}
-
-GdkPixbuf* vfs_file_info_get_big_thumbnail( VFSFileInfo* fi )
-{
- return fi->big_thumbnail ? gdk_pixbuf_ref( fi->big_thumbnail ) : NULL;
-}
-
-GdkPixbuf* vfs_file_info_get_small_thumbnail( VFSFileInfo* fi )
-{
- return fi->small_thumbnail ? gdk_pixbuf_ref( fi->small_thumbnail ) : NULL;
-}
-
-const char* vfs_file_info_get_disp_owner( VFSFileInfo* fi )
-{
- struct passwd * puser;
- struct group* pgroup;
- char uid_str_buf[ 32 ];
- char* user_name;
- char gid_str_buf[ 32 ];
- char* group_name;
-
- /* FIXME: user names should be cached */
- if ( ! fi->disp_owner )
- {
- puser = getpwuid( fi->uid );
- if ( puser && puser->pw_name && *puser->pw_name )
- user_name = puser->pw_name;
- else
- {
- sprintf( uid_str_buf, "%d", fi->uid );
- user_name = uid_str_buf;
- }
-
- pgroup = getgrgid( fi->gid );
- if ( pgroup && pgroup->gr_name && *pgroup->gr_name )
- group_name = pgroup->gr_name;
- else
- {
- sprintf( gid_str_buf, "%d", fi->gid );
- group_name = gid_str_buf;
- }
- fi->disp_owner = g_strdup_printf ( "%s:%s", user_name, group_name );
- }
- return fi->disp_owner;
-}
-
-const char* vfs_file_info_get_disp_mtime( VFSFileInfo* fi )
-{
- if ( ! fi->disp_mtime )
- {
- char buf[ 64 ];
- strftime( buf, sizeof( buf ),
- "%Y-%m-%d %H:%M",
- localtime( &fi->mtime ) );
- fi->disp_mtime = g_strdup( buf );
- }
- return fi->disp_mtime;
-}
-
-time_t* vfs_file_info_get_mtime( VFSFileInfo* fi )
-{
- return & fi->mtime;
-}
-
-time_t* vfs_file_info_get_atime( VFSFileInfo* fi )
-{
- return & fi->atime;
-}
-
-static void get_file_perm_string( char* perm, mode_t mode )
-{
- perm[ 0 ] = S_ISDIR( mode ) ? 'd' : ( S_ISLNK( mode ) ? 'l' : '-' );
- perm[ 1 ] = ( mode & S_IRUSR ) ? 'r' : '-';
- perm[ 2 ] = ( mode & S_IWUSR ) ? 'w' : '-';
- perm[ 3 ] = ( mode & S_IXUSR ) ? 'x' : '-';
- perm[ 4 ] = ( mode & S_IRGRP ) ? 'r' : '-';
- perm[ 5 ] = ( mode & S_IWGRP ) ? 'w' : '-';
- perm[ 6 ] = ( mode & S_IXGRP ) ? 'x' : '-';
- perm[ 7 ] = ( mode & S_IROTH ) ? 'r' : '-';
- perm[ 8 ] = ( mode & S_IWOTH ) ? 'w' : '-';
- perm[ 9 ] = ( mode & S_IXOTH ) ? 'x' : '-';
- perm[ 10 ] = '\0';
-}
-
-const char* vfs_file_info_get_disp_perm( VFSFileInfo* fi )
-{
- if ( ! fi->disp_perm[ 0 ] )
- get_file_perm_string( fi->disp_perm,
- fi->mode );
- return fi->disp_perm;
-}
-
-void vfs_file_size_to_string( char* buf, guint64 size )
-{
- char * unit;
- /* guint point; */
- gfloat val;
-
- /*
- FIXME: Is floating point calculation slower than integer division?
- Some profiling is needed here.
- */
- if ( size > ( ( guint64 ) 1 ) << 30 )
- {
- if ( size > ( ( guint64 ) 1 ) << 40 )
- {
- /*
- size /= ( ( ( guint64 ) 1 << 40 ) / 10 );
- point = ( guint ) ( size % 10 );
- size /= 10;
- */
- val = ((gfloat)size) / ( ( guint64 ) 1 << 40 );
- unit = "TB";
- }
- else
- {
- /*
- size /= ( ( 1 << 30 ) / 10 );
- point = ( guint ) ( size % 10 );
- size /= 10;
- */
- val = ((gfloat)size) / ( ( guint64 ) 1 << 30 );
- unit = "GB";
- }
- }
- else if ( size > ( 1 << 20 ) )
- {
- /*
- size /= ( ( 1 << 20 ) / 10 );
- point = ( guint ) ( size % 10 );
- size /= 10;
- */
- val = ((gfloat)size) / ( ( guint64 ) 1 << 20 );
- unit = "MB";
- }
- else if ( size > ( 1 << 10 ) )
- {
- /*
- size /= ( ( 1 << 10 ) / 10 );
- point = size % 10;
- size /= 10;
- */
- val = ((gfloat)size) / ( ( guint64 ) 1 << 10 );
- unit = "KB";
- }
- else
- {
- unit = size > 1 ? "Bytes" : "Byte";
- sprintf( buf, "%u %s", ( guint ) size, unit );
- return ;
- }
- /* sprintf( buf, "%llu.%u %s", size, point, unit ); */
- sprintf( buf, "%.1f %s", val, unit );
-}
-
-gboolean vfs_file_info_is_dir( VFSFileInfo* fi )
-{
- if ( S_ISDIR( fi->mode ) )
- return TRUE;
- if ( S_ISLNK( fi->mode ) &&
- 0 == strcmp( vfs_mime_type_get_type( fi->mime_type ), XDG_MIME_TYPE_DIRECTORY ) )
- {
- return TRUE;
- }
- return FALSE;
-}
-
-gboolean vfs_file_info_is_symlink( VFSFileInfo* fi )
-{
- return S_ISLNK( fi->mode ) ? TRUE : FALSE;
-}
-
-gboolean vfs_file_info_is_image( VFSFileInfo* fi )
-{
- /* FIXME: We had better use functions of xdg_mime to check this */
- if ( ! strncmp( "image/", vfs_mime_type_get_type( fi->mime_type ), 6 ) )
- return TRUE;
- return FALSE;
-}
-
-gboolean vfs_file_info_is_desktop_entry( VFSFileInfo* fi )
-{
- return 0 != (fi->flags & VFS_FILE_INFO_DESKTOP_ENTRY);
-}
-
-gboolean vfs_file_info_is_unknown_type( VFSFileInfo* fi )
-{
- if ( ! strcmp( XDG_MIME_TYPE_UNKNOWN,
- vfs_mime_type_get_type( fi->mime_type ) ) )
- return TRUE;
- return FALSE;
-}
-
-/* full path of the file is required by this function */
-gboolean vfs_file_info_is_executable( VFSFileInfo* fi, const char* file_path )
-{
- //return mime_type_is_executable_file( file_path, fi->mime_type->type );
- return mime_type_is_executable_file( file_path, "crfap" );
-}
-
-/* full path of the file is required by this function */
-gboolean vfs_file_info_is_text( VFSFileInfo* fi, const char* file_path )
-{
- return mime_type_is_text_file( file_path, fi->mime_type->type );
-}
-
-/*
-* Run default action of specified file.
-* Full path of the file is required by this function.
-*/
-gboolean vfs_file_info_open_file( VFSFileInfo* fi,
- const char* file_path,
- GError** err )
-{
- VFSMimeType * mime_type;
- char* app_name;
- VFSAppDesktop* app;
- GList* files = NULL;
- gboolean ret = FALSE;
- char* argv[ 2 ];
-
- if ( vfs_file_info_is_executable( fi, file_path ) )
- {
- argv[ 0 ] = (char *) file_path;
- argv[ 1 ] = '\0';
- ret = g_spawn_async( NULL, argv, NULL, G_SPAWN_STDOUT_TO_DEV_NULL|
- G_SPAWN_SEARCH_PATH, NULL, NULL, NULL, err );
- }
- else
- {
- mime_type = vfs_file_info_get_mime_type( fi );
- app_name = vfs_mime_type_get_default_action( mime_type );
- if ( app_name )
- {
- app = vfs_app_desktop_new( app_name );
- if ( ! vfs_app_desktop_get_exec( app ) )
- app->exec = g_strdup( app_name ); /* FIXME: app->exec */
- files = g_list_prepend( files, (gpointer) file_path );
- /* FIXME: working dir is needed */
- ret = vfs_app_desktop_open_files( gdk_screen_get_default(),
- NULL, app, files, err );
- g_list_free( files );
- vfs_app_desktop_unref( app );
- g_free( app_name );
- }
- vfs_mime_type_unref( mime_type );
- }
- return ret;
-}
-
-mode_t vfs_file_info_get_mode( VFSFileInfo* fi )
-{
- return fi->mode;
-}
-
-gboolean vfs_file_info_is_thumbnail_loaded( VFSFileInfo* fi, gboolean big )
-{
- if ( big )
- return ( fi->big_thumbnail != NULL );
- return ( fi->small_thumbnail != NULL );
-}
-
-gboolean vfs_file_info_load_thumbnail( VFSFileInfo* fi,
- const char* full_path,
- gboolean big )
-{
- GdkPixbuf* thumbnail;
-
- if ( big )
- {
- if ( fi->big_thumbnail )
- return TRUE;
- }
- else
- {
- if ( fi->small_thumbnail )
- return TRUE;
- }
- thumbnail = vfs_thumbnail_load_for_file( full_path,
- big ? big_thumb_size : small_thumb_size , fi->mtime );
- if( G_LIKELY( thumbnail ) )
- {
- if ( big )
- fi->big_thumbnail = thumbnail;
- else
- fi->small_thumbnail = thumbnail;
- }
- else /* fallback to mime_type icon */
- {
- if ( big )
- fi->big_thumbnail = vfs_file_info_get_big_icon( fi );
- else
- fi->small_thumbnail = vfs_file_info_get_small_icon( fi );
- }
- return ( thumbnail != NULL );
-}
-
-void vfs_file_info_set_thumbnail_size( int big, int small )
-{
- big_thumb_size = big;
- small_thumb_size = small;
-}
-
-void vfs_file_info_load_special_info( VFSFileInfo* fi,
- const char* file_path )
-{
- /*if ( G_LIKELY(fi->type) && G_UNLIKELY(fi->type->name, "application/x-desktop") ) */
- if ( G_UNLIKELY( g_str_has_suffix( fi->name, ".desktop") ) )
- {
- VFSAppDesktop * desktop;
- const char* icon_name;
-
- fi->flags |= VFS_FILE_INFO_DESKTOP_ENTRY;
- desktop = vfs_app_desktop_new( file_path );
- if ( vfs_app_desktop_get_disp_name( desktop ) )
- {
- vfs_file_info_set_disp_name(
- fi, vfs_app_desktop_get_disp_name( desktop ) );
- }
-
- if ( (icon_name = vfs_app_desktop_get_icon_name( desktop )) )
- {
- GdkPixbuf* icon;
- int big_size, small_size;
- vfs_mime_type_get_icon_size( &big_size, &small_size );
- if( ! fi->big_thumbnail )
- {
- icon = vfs_app_desktop_get_icon( desktop, big_size, FALSE );
- if( G_LIKELY(icon) )
- fi->big_thumbnail =icon;
- }
- if( ! fi->small_thumbnail )
- {
- icon = vfs_app_desktop_get_icon( desktop, small_size, FALSE );
- if( G_LIKELY(icon) )
- fi->small_thumbnail =icon;
- }
- }
- vfs_app_desktop_unref( desktop );
- }
-}
-
-void vfs_file_info_list_free( GList* list )
-{
- g_list_foreach( list, (GFunc)vfs_file_info_unref, NULL );
- g_list_free( list );
-}
-
-
-char* vfs_file_resolve_path( const char* cwd, const char* relative_path )
-{
- GString* ret = g_string_sized_new( 4096 );
- int len;
- gboolean strip_tail;
-
- g_return_val_if_fail( G_LIKELY(relative_path), NULL );
-
- len = strlen( relative_path );
- strip_tail = (0 == len || relative_path[len-1] != '/');
-
- if( G_UNLIKELY(*relative_path != '/') ) /* relative path */
- {
- if( G_UNLIKELY(relative_path[0] == '~') ) /* home dir */
- {
- g_string_append( ret, g_get_home_dir());
- ++relative_path;
- }
- else
- {
- if( ! cwd )
- {
- char *cwd_new;
- cwd_new = g_get_current_dir();
- g_string_append( ret, cwd_new );
- g_free( cwd_new );
- }
- else
- g_string_append( ret, cwd );
- }
- }
-
- if( relative_path[0] != '/' && (0 == ret->len || ret->str[ ret->len - 1 ] != '/' ) )
- g_string_append_c( ret, '/' );
-
- while( G_LIKELY( *relative_path ) )
- {
- if( G_UNLIKELY(*relative_path == '.') )
- {
- if( relative_path[1] == '/' || relative_path[1] == '\0' ) /* current dir */
- {
- relative_path += relative_path[1] ? 2 : 1;
- continue;
- }
- if( relative_path[1] == '.' &&
- ( relative_path[2] == '/' || relative_path[2] == '\0') ) /* parent dir */
- {
- gsize len = ret->len - 2;
- while( ret->str[ len ] != '/' )
- --len;
- g_string_truncate( ret, len + 1 );
- relative_path += relative_path[2] ? 3 : 2;
- continue;
- }
- }
-
- do
- {
- g_string_append_c( ret, *relative_path );
- }while( G_LIKELY( *(relative_path++) != '/' && *relative_path ) );
- }
-
- /* if original path contains tailing '/', preserve it; otherwise, remove it. */
- if( strip_tail && G_LIKELY( ret->len > 1 ) && G_UNLIKELY( ret->str[ ret->len - 1 ] == '/' ) )
- g_string_truncate( ret, ret->len - 1 );
- return g_string_free( ret, FALSE );
-}
-
diff --git a/abs/chroot-devel/rsync/ChangeLog b/abs/chroot-devel/rsync/ChangeLog
deleted file mode 100644
index 1e26b1c..0000000
--- a/abs/chroot-devel/rsync/ChangeLog
+++ /dev/null
@@ -1,20 +0,0 @@
-2008-09-06 Eric Belanger <eric@archlinux.org>
-
- * rsync 3.0.4-1
- * Upstream update
-
-2008-07-05 Eric Belanger <eric@archlinux.org>
-
- * rsync 3.0.3-1
- * Upstream update
-
-2008-04-13 Eric Belanger <eric@archlinux.org>
-
- * rsync 3.0.2-1
- * Upstream update
-
-2008-03-01 Eric Belanger <eric@archlinux.org>
-
- * rsync 3.0.0-1
- * Upstream update
- * Updated license
diff --git a/abs/chroot-devel/rsync/PKGBUILD b/abs/chroot-devel/rsync/PKGBUILD
deleted file mode 100644
index 507d243..0000000
--- a/abs/chroot-devel/rsync/PKGBUILD
+++ /dev/null
@@ -1,33 +0,0 @@
-# $Id: PKGBUILD 12020 2008-09-07 23:31:05Z eric $
-# Maintainer: Eric Belanger <eric@archlinux.org>
-# Contributor: Judd Vinet <jvinet@zeroflux.org>
-
-pkgname=rsync
-pkgver=3.0.4
-pkgrel=1
-pkgdesc="A file transfer program to keep remote files in sync"
-arch=('i686' 'x86_64')
-url="http://samba.anu.edu.au/rsync/"
-license=('GPL3')
-depends=('acl')
-backup=('etc/rsyncd.conf' 'etc/xinetd.d/rsync')
-source=(http://rsync.samba.org/ftp/rsync/${pkgname}-${pkgver}.tar.gz \
- rsyncd.conf rsyncd rsync.xinetd)
-md5sums=('2b2d159c9bd1b5f8adfd8b13da3a1f3f' '4395c0591638349b1a7aeaaa4da1f03a'\
- '9de4d03d49f4b5c73ffd67d452716a49' 'ea3e9277dc908bc51f9eddc0f6b935c1')
-sha1sums=('e89ed8d84fe0b6740208ba8183ee1dbc220ba5e5'
- '48be09294134dfed888818872fe552a59c29147a'
- 'ebec275bbd0c11692c91dc59368349601bd9eaf4'
- 'fdb99785bc87ee13d77aa90dc1804f3f75dd7fc1')
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- ./prepare-source || return 1
- ./configure --prefix=/usr --with-included-popt \
- --enable-acl-support --enable-xattr-support || return 1
- make || return 1
- make DESTDIR=${pkgdir} install || return 1
- install -D -m 755 ../rsyncd ${pkgdir}/etc/rc.d/rsyncd || return 1
- install -D -m 644 ../rsyncd.conf ${pkgdir}/etc/rsyncd.conf || return 1
- install -D -m 644 ../rsync.xinetd ${pkgdir}/etc/xinetd.d/rsync || return 1
-}
diff --git a/abs/chroot-devel/rsync/rsync.xinetd b/abs/chroot-devel/rsync/rsync.xinetd
deleted file mode 100644
index f5b6b1e..0000000
--- a/abs/chroot-devel/rsync/rsync.xinetd
+++ /dev/null
@@ -1,11 +0,0 @@
-service rsync
-{
- socket_type = stream
- wait = no
- user = root
- server = /usr/bin/rsync
- server_args = --daemon
- log_on_success += HOST DURATION
- log_on_failure += HOST
- disable = yes
-}
diff --git a/abs/chroot-devel/rsync/rsyncd b/abs/chroot-devel/rsync/rsyncd
deleted file mode 100644
index e1313dc..0000000
--- a/abs/chroot-devel/rsync/rsyncd
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-case "$1" in
- start)
- stat_busy "Starting rsyncd"
- [ ! -f /var/run/daemons/rsyncd ] && /usr/bin/rsync --daemon
- if [ $? -gt 0 ]; then
- stat_fail
- else
- pgrep -of "/usr/bin/rsync --daemon" > /var/run/rsyncd.pid
- add_daemon rsyncd
- stat_done
- fi
- ;;
-
- stop)
- stat_busy "Stopping rsyncd"
- [ -f /var/run/rsyncd.pid ] && kill `cat /var/run/rsyncd.pid`
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon rsyncd
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
diff --git a/abs/chroot-devel/rsync/rsyncd.conf b/abs/chroot-devel/rsync/rsyncd.conf
deleted file mode 100644
index f7161f3..0000000
--- a/abs/chroot-devel/rsync/rsyncd.conf
+++ /dev/null
@@ -1,16 +0,0 @@
-uid = nobody
-gid = nobody
-use chroot = no
-max connections = 4
-syslog facility = local5
-pid file = /var/run/rsyncd.pid
-
-[ftp]
- path = /home/ftp
- comment = ftp area
-
-#[cvs]
-# path = /data/cvs
-# comment = CVS repository (requires authentication)
-# auth users = tridge, susan
-# secrets file = /etc/rsyncd.secrets
diff --git a/abs/chroot-devel/startup-notification/PKGBUILD b/abs/chroot-devel/startup-notification/PKGBUILD
deleted file mode 100644
index a73b07c..0000000
--- a/abs/chroot-devel/startup-notification/PKGBUILD
+++ /dev/null
@@ -1,19 +0,0 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
-# Maintainer: dorphell <dorphell@archlinux.org>
-pkgname=startup-notification
-pkgver=0.9
-pkgrel=1
-pkgdesc="Monitor and display application startup"
-arch=(i686 x86_64)
-depends=('libx11' 'libsm')
-options=('!libtool')
-url="http://www.freedesktop.org"
-source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('624b42f1fac5a12c543a079e2cd3b366')
-
-build() {
- cd ${startdir}/src/${pkgname}-${pkgver}
- ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc
- make || return 1
- make DESTDIR=${startdir}/pkg install
-}
diff --git a/abs/chroot-devel/tango-icon-theme/PKGBUILD b/abs/chroot-devel/tango-icon-theme/PKGBUILD
deleted file mode 100644
index 522216b..0000000
--- a/abs/chroot-devel/tango-icon-theme/PKGBUILD
+++ /dev/null
@@ -1,23 +0,0 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
-# Maintainer: James Rayner <james@archlinux.org>
-# Contributor: William Rea <sillywilly@gmail.com>
-pkgname=tango-icon-theme
-pkgver=0.8.1
-pkgrel=1
-pkgdesc="The Tango Desktop Project exists to create a consistent user experience"
-arch=('i686' 'x86_64')
-url="http://tango.freedesktop.org"
-license="CCPL-Attribution-ShareAlike-2.5"
-depends=('librsvg')
-makedepends=('imagemagick' 'icon-naming-utils')
-source=(http://tango.freedesktop.org/releases/$pkgname-$pkgver.tar.gz)
-md5sums=('32d5258f448b5982af9cfa4364f31d41')
-
-build() {
- cd $startdir/src/$pkgname-$pkgver
- ./configure --prefix=/usr --enable-png-creation
- make || return 1
- make DESTDIR=$startdir/pkg install
-
- install -D COPYING $startdir/pkg/usr/share/licenses/$pkgname/COPYING
-} \ No newline at end of file
diff --git a/abs/chroot-devel/terminal/PKGBUILD b/abs/chroot-devel/terminal/PKGBUILD
deleted file mode 100644
index 9f17eee..0000000
--- a/abs/chroot-devel/terminal/PKGBUILD
+++ /dev/null
@@ -1,25 +0,0 @@
-
-pkgname=terminal
-pkgver=0.2.8
-pkgrel=3
-pkgdesc="A modern terminal emulator primarly for the Xfce desktop environment"
-arch=(i686 x86_64)
-license=('GPL2')
-url="http://www.xfce.org/projects/terminal/"
-groups=('xfce4')
-depends=('exo>=0.3.4' 'vte>=0.16.14' 'dbus-glib>=0.76'
- 'hicolor-icon-theme')
-makedepends=('pkgconfig')
-options=('!libtool')
-install=terminal.install
-source=(http://www.xfce.org/archive/xfce-4.4.2/src/Terminal-${pkgver}.tar.bz2
- terminal-dont-die-on-dbus-kill.patch)
-
-build() {
- cd ${srcdir}/Terminal-${pkgver}
- patch -Np0 -i ${srcdir}/terminal-dont-die-on-dbus-kill.patch || return 1
- ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/xfce4 \
- --localstatedir=/var --disable-static || return 1
- make || return 1
- make DESTDIR=${pkgdir} install || return 1
-}
diff --git a/abs/chroot-devel/terminal/terminal-dont-die-on-dbus-kill.patch b/abs/chroot-devel/terminal/terminal-dont-die-on-dbus-kill.patch
deleted file mode 100644
index e20e45c..0000000
--- a/abs/chroot-devel/terminal/terminal-dont-die-on-dbus-kill.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- terminal/terminal-dbus.c.orig 2007-01-23 22:25:12.000000000 +0000
-+++ terminal/terminal-dbus.c 2007-01-23 22:25:50.000000000 +0000
-@@ -191,6 +191,7 @@ terminal_dbus_register_service (Terminal
-
- /* register DBus connection with GLib main loop */
- dbus_connection_setup_with_g_main (connection, NULL);
-+ dbus_connection_set_exit_on_disconnect (connection, FALSE);
-
- if (dbus_bus_request_name (connection, TERMINAL_DBUS_SERVICE, 0, &derror) < 0)
- {
diff --git a/abs/chroot-devel/terminal/terminal.install b/abs/chroot-devel/terminal/terminal.install
deleted file mode 100644
index 21b79d2..0000000
--- a/abs/chroot-devel/terminal/terminal.install
+++ /dev/null
@@ -1,11 +0,0 @@
-post_install() {
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-}
-
-post_upgrade() {
- post_install $1
-}
-
-post_remove() {
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-}
diff --git a/abs/chroot-devel/thunar/PKGBUILD b/abs/chroot-devel/thunar/PKGBUILD
deleted file mode 100644
index 51ae8dc..0000000
--- a/abs/chroot-devel/thunar/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-pkgname=thunar
-pkgver=0.9.0
-pkgrel=3
-pkgdesc="new modern file manager for Xfce"
-arch=(i686 x86_64)
-license=('GPL2' 'LGPL2')
-url="http://thunar.xfce.org"
-groups=('xfce4')
-depends=('exo>=0.3.4' 'shared-mime-info' 'pcre' \
- 'desktop-file-utils' 'libexif' 'hal' \
- )
-makedepends=('intltool' 'pkgconfig')
-options=('!libtool')
-install=${pkgname}.install
-source=(http://www.xfce.org/archive/xfce-4.4.2/src/Thunar-${pkgver}.tar.bz2 \
- http://foo-projects.org/pipermail/thunar-dev/attachments/20071203/a44d5411/thunar-vfs-volume-hal_missing-audio-cds-for-volman.bin \
- http://bugzilla.xfce.org/attachment.cgi?id=1452
-)
-
-build() {
- cd ${startdir}/src/Thunar-${pkgver}
- patch -Np0 -i ../thunar-vfs-volume-hal_missing-audio-cds-for-volman.bin || return 1
- patch -Np0 -i ../attachment.cgi?id=1452 || return 1
- ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/xfce4 \
- --localstatedir=/var --disable-static \
- --disable-gnome-thumbnailers --enable-exif --enable-pcre --disable-fam
- make || return 1
- make DESTDIR=${startdir}/pkg install
- sed -i 's:x-directory/gnome-default-handler;::' ${startdir}/pkg/usr/share/applications/Thunar-folder-handler.desktop
-}
diff --git a/abs/chroot-devel/thunar/thunar.install b/abs/chroot-devel/thunar/thunar.install
deleted file mode 100644
index 8cf0d85..0000000
--- a/abs/chroot-devel/thunar/thunar.install
+++ /dev/null
@@ -1,18 +0,0 @@
-post_install() {
- update-desktop-database -q
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-}
-
-post_upgrade() {
- post_install $1
-}
-
-post_remove() {
- update-desktop-database -q
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-}
-
-op=$1
-shift
-
-$op $*