diff options
Diffstat (limited to 'source/l/gamin')
-rw-r--r-- | source/l/gamin/0001-Poll-files-on-nfs4.patch | 27 | ||||
-rw-r--r-- | source/l/gamin/doinst.sh | 14 | ||||
-rw-r--r-- | source/l/gamin/fix-double-lock-in-inotify-helper-c.patch | 21 | ||||
-rwxr-xr-x | source/l/gamin/gamin.SlackBuild | 140 | ||||
-rw-r--r-- | source/l/gamin/gaminrc | 37 | ||||
-rw-r--r-- | source/l/gamin/no_g_const_return.patch | 44 | ||||
-rw-r--r-- | source/l/gamin/slack-desc | 19 |
7 files changed, 0 insertions, 302 deletions
diff --git a/source/l/gamin/0001-Poll-files-on-nfs4.patch b/source/l/gamin/0001-Poll-files-on-nfs4.patch deleted file mode 100644 index f776732c8..000000000 --- a/source/l/gamin/0001-Poll-files-on-nfs4.patch +++ /dev/null @@ -1,27 +0,0 @@ -From b92b17ecced6df463da73d6de566740cf5cd00d4 Mon Sep 17 00:00:00 2001 -From: Marek Kasik <mkasik@redhat.com> -Date: Fri, 1 Feb 2013 15:19:58 +0100 -Subject: [PATCH 1/2] Poll files on nfs4 - -Add nfs4 among polled filesystems. - -https://bugzilla.gnome.org/show_bug.cgi?id=693006 ---- - server/gam_fs.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/server/gam_fs.c b/server/gam_fs.c -index c8ca704..143a603 100644 ---- a/server/gam_fs.c -+++ b/server/gam_fs.c -@@ -178,6 +178,7 @@ gam_fs_init (void) - gam_fs_set ("reiserfs", GFS_MT_DEFAULT, 0); - gam_fs_set ("novfs", GFS_MT_POLL, 30); - gam_fs_set ("nfs", GFS_MT_POLL, 5); -+ gam_fs_set ("nfs4", GFS_MT_POLL, 5); - if (stat("/etc/mtab", &mtab_sbuf) != 0) - { - GAM_DEBUG(DEBUG_INFO, "Could not stat /etc/mtab\n"); --- -1.8.1.2 - diff --git a/source/l/gamin/doinst.sh b/source/l/gamin/doinst.sh deleted file mode 100644 index 75e3fcba2..000000000 --- a/source/l/gamin/doinst.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh -config() { - NEW="$1" - OLD="`dirname $NEW`/`basename $NEW .new`" - # If there's no config file by that name, mv it over: - if [ ! -r $OLD ]; then - mv $NEW $OLD - elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy - rm $NEW - fi - # Otherwise, we leave the .new copy for the admin to consider... -} -config etc/gamin/gaminrc.new - diff --git a/source/l/gamin/fix-double-lock-in-inotify-helper-c.patch b/source/l/gamin/fix-double-lock-in-inotify-helper-c.patch deleted file mode 100644 index 8d2ef2d3f..000000000 --- a/source/l/gamin/fix-double-lock-in-inotify-helper-c.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff -rupN gamin-0.1.10/server/inotify-helper.c gamin-0.1.10-new/server/inotify-helper.c ---- gamin-0.1.10/server/inotify-helper.c 2008-11-12 21:45:28.000000000 +0100 -+++ gamin-0.1.10-new/server/inotify-helper.c 2012-02-02 23:11:47.247757385 +0100 -@@ -127,9 +127,6 @@ ih_sub_add (ih_sub_t * sub) - gboolean - ih_sub_cancel (ih_sub_t * sub) - { -- G_LOCK(inotify_lock); -- -- - if (!sub->cancelled) - { - IH_W("cancelling %s\n", sub->pathname); -@@ -140,7 +137,6 @@ ih_sub_cancel (ih_sub_t * sub) - sub_list = g_list_remove (sub_list, sub); - } - -- G_UNLOCK(inotify_lock); - return TRUE; - } - diff --git a/source/l/gamin/gamin.SlackBuild b/source/l/gamin/gamin.SlackBuild deleted file mode 100755 index f6666d8da..000000000 --- a/source/l/gamin/gamin.SlackBuild +++ /dev/null @@ -1,140 +0,0 @@ -#!/bin/bash - -# Copyright 2006, 2007, 2009 Robby Workman, Northport, AL, USA -# Copyright 2007, 2008, 2009, 2010, 2011, 2018 Patrick Volkerding, Sebeka, MN, USA -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''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 AUTHOR 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. - -cd $(dirname $0) ; CWD=$(pwd) - -PKGNAM=gamin -VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-9} - -# Automatically determine the architecture we're building on: -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) export ARCH=i586 ;; - arm*) export ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: - *) export ARCH=$( uname -m ) ;; - esac -fi - -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. -if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then - echo "$PKGNAM-$VERSION-$ARCH-$BUILD.txz" - exit 0 -fi - -NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} - -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "s390" ]; then - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -TMP=${TMP:-/tmp} -PKG=$TMP/package-$PKGNAM - -rm -rf $PKG -mkdir -p $TMP $PKG - -cd $TMP -rm -rf $PKGNAM-$VERSION -tar xvf $CWD/$PKGNAM-$VERSION.tar.?z* || exit 1 -cd $PKGNAM-$VERSION || exit 1 -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \+ -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \+ - -# https://bugzilla.redhat.com/show_bug.cgi?id=786170 -zcat $CWD/fix-double-lock-in-inotify-helper-c.patch.gz | patch -p1 --verbose || exit 1 - -# Fix a build error with newer toolchain -zcat $CWD/no_g_const_return.patch.gz | patch -p1 --verbose || exit 1 - -# Poll files on NFSv4: -zcat $CWD/0001-Poll-files-on-nfs4.patch.gz | patch -p1 --verbose || exit 1 - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --docdir=/usr/doc/$PKGNAM-$VERSION \ - --enable-shared=yes \ - --enable-static=no \ - --enable-inotify \ - --disable-dnotify \ - --enable-docs \ - --build=$ARCH-slackware-linux \ - --host=$ARCH-slackware-linux || exit 1 - -make $NUMJOBS || make || exit 1 -make install DESTDIR=$PKG || exit 1 - -# Don't ship .la files: -rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la - -mkdir -p $PKG/etc/gamin -zcat $CWD/gaminrc.gz > $PKG/etc/gamin/gaminrc.new - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null - -mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION/html -cp -a \ - AUTHORS COPYING* Copyright NEWS README* TODO doc/*.txt \ - $PKG/usr/doc/$PKGNAM-$VERSION -cp -a \ - doc/*.html doc/*.gif \ - $PKG/usr/doc/$PKGNAM-$VERSION/html - -# If there's a ChangeLog, installing at least part of the recent history -# is useful, but don't let it get totally out of control: -if [ -r ChangeLog ]; then - DOCSDIR=$(echo $PKG/usr/doc/${PKGNAM}-$VERSION) - cat ChangeLog | head -n 1000 > $DOCSDIR/ChangeLog - touch -r ChangeLog $DOCSDIR/ChangeLog -fi - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc -zcat $CWD/doinst.sh.gz > $PKG/install/doinst.sh - -cd $PKG -/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz - diff --git a/source/l/gamin/gaminrc b/source/l/gamin/gaminrc deleted file mode 100644 index 1686dd57e..000000000 --- a/source/l/gamin/gaminrc +++ /dev/null @@ -1,37 +0,0 @@ -# configuration for gamin -# Can be used to override the default behaviour. -# notify filepath(s) : indicate to use kernel notification -# poll filepath(s) : indicate to use polling instead -# fsset fsname method poll_limit : indicate what method of notification for the filesystem -# kernel - use the kernel for notification -# poll - use polling for notification -# none - don't use any notification -# -# the poll_limit is the number of seconds -# that must pass before a resource is polled again. -# It is optional, and if it is not present the previous -# value will be used or the default. - -#notify /mnt/local* /mnt/pictures* # use kernel notification on these paths -#poll /tmp/* /var/* # use poll notification on these paths - -# A safe default is to poll filesystems once every 15 seconds: -fsset btrfs poll 15 -fsset cifs poll 15 -fsset ext2 poll 15 -fsset ext3 poll 15 -fsset ext4 poll 15 -fsset hfs poll 15 -fsset hfsplus poll 15 -fsset iso9660 poll 15 -fsset jfs poll 15 -fsset nfs poll 15 -fsset nfs4 poll 15 -fsset ntfs poll 15 -fsset ntfs-3g poll 15 -fsset ocfs2 poll 15 -fsset reiserfs poll 15 -fsset udf poll 15 -fsset vfat poll 15 -fsset xfs poll 15 - diff --git a/source/l/gamin/no_g_const_return.patch b/source/l/gamin/no_g_const_return.patch deleted file mode 100644 index f8430a79b..000000000 --- a/source/l/gamin/no_g_const_return.patch +++ /dev/null @@ -1,44 +0,0 @@ ---- ./server/gam_node.h.orig 2007-07-04 15:36:49.000000000 +0200 -+++ ./server/gam_node.h 2011-08-26 01:49:59.504423790 +0200 -@@ -58,7 +58,7 @@ - void gam_node_set_is_dir (GamNode *node, - gboolean is_dir); - --G_CONST_RETURN char *gam_node_get_path (GamNode *node); -+const char *gam_node_get_path (GamNode *node); - - GList *gam_node_get_subscriptions (GamNode *node); - ---- ./server/gam_subscription.h.orig 2007-07-04 15:36:49.000000000 +0200 -+++ ./server/gam_subscription.h 2011-08-26 01:49:59.504423790 +0200 -@@ -21,7 +21,7 @@ - - int gam_subscription_get_reqno (GamSubscription *sub); - --G_CONST_RETURN char *gam_subscription_get_path (GamSubscription *sub); -+const char *gam_subscription_get_path (GamSubscription *sub); - - GamListener *gam_subscription_get_listener (GamSubscription *sub); - ---- ./server/gam_node.c.orig 2007-07-04 15:36:49.000000000 +0200 -+++ ./server/gam_node.c 2011-08-26 01:49:59.504423790 +0200 -@@ -122,7 +122,7 @@ - * it has finished with the string. If it must keep it longer, it - * should makes its own copy. The returned string must not be freed. - */ --G_CONST_RETURN char * -+const char * - gam_node_get_path(GamNode * node) - { - g_assert(node); ---- ./server/gam_subscription.c.orig 2007-07-04 15:36:49.000000000 +0200 -+++ ./server/gam_subscription.c 2011-08-26 01:49:59.504423790 +0200 -@@ -141,7 +141,7 @@ - * @param sub the GamSubscription - * @returns The path being monitored. It should not be freed. - */ --G_CONST_RETURN char * -+const char * - gam_subscription_get_path(GamSubscription * sub) - { - if (sub == NULL) diff --git a/source/l/gamin/slack-desc b/source/l/gamin/slack-desc deleted file mode 100644 index 0d4d257f3..000000000 --- a/source/l/gamin/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -gamin: gamin (A minimalist FAM replacement) -gamin: -gamin: Gamin is a file and directory monitoring system defined to be a subset -gamin: of the FAM (File Alteration Monitor) system. -gamin: -gamin: The homepage for Gamin is: http://www.gnome.org/~veillard/gamin/ -gamin: -gamin: -gamin: -gamin: -gamin: |