From 3ab67efe8ea2bc47083a917b9530896272a543ec Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Thu, 19 Nov 2015 00:31:56 +0100 Subject: Dependencies removed for KDE 5_15.11 because they are fulfilled by -current. - ConsoleKit2 - LibRaw - eigen2 - xapian-core --- deps/ConsoleKit2/ConsoleKit2.SlackBuild | 162 ------- deps/ConsoleKit2/doinst.sh | 27 -- .../0001-Revert-Minor-code-refactoring.patch | 477 --------------------- ...bdir-scripts-stuff-missed-in-4d87a25ea0af.patch | 42 -- .../patches/0003-Filter-out-the-kdm-user.patch | 29 -- ...overlooked-prefix-lib-libdir-substitution.patch | 22 - deps/ConsoleKit2/rc.consolekit | 34 -- deps/ConsoleKit2/slack-desc | 19 - deps/LibRaw/LibRaw.SlackBuild | 126 ------ deps/LibRaw/slack-desc | 19 - deps/alldeps.SlackBuild | 4 - deps/eigen2/eigen2.SlackBuild | 95 ---- deps/eigen2/slack-desc | 19 - deps/updates.SlackBuild | 4 - deps/xapian-core/slack-desc | 19 - deps/xapian-core/xapian-core.SlackBuild | 111 ----- 16 files changed, 1209 deletions(-) delete mode 100755 deps/ConsoleKit2/ConsoleKit2.SlackBuild delete mode 100644 deps/ConsoleKit2/doinst.sh delete mode 100644 deps/ConsoleKit2/patches/0001-Revert-Minor-code-refactoring.patch delete mode 100644 deps/ConsoleKit2/patches/0002-Fix-some-libdir-scripts-stuff-missed-in-4d87a25ea0af.patch delete mode 100644 deps/ConsoleKit2/patches/0003-Filter-out-the-kdm-user.patch delete mode 100644 deps/ConsoleKit2/patches/0004-Apply-overlooked-prefix-lib-libdir-substitution.patch delete mode 100644 deps/ConsoleKit2/rc.consolekit delete mode 100644 deps/ConsoleKit2/slack-desc delete mode 100755 deps/LibRaw/LibRaw.SlackBuild delete mode 100644 deps/LibRaw/slack-desc delete mode 100755 deps/eigen2/eigen2.SlackBuild delete mode 100644 deps/eigen2/slack-desc delete mode 100644 deps/xapian-core/slack-desc delete mode 100755 deps/xapian-core/xapian-core.SlackBuild diff --git a/deps/ConsoleKit2/ConsoleKit2.SlackBuild b/deps/ConsoleKit2/ConsoleKit2.SlackBuild deleted file mode 100755 index fdbe3cf..0000000 --- a/deps/ConsoleKit2/ConsoleKit2.SlackBuild +++ /dev/null @@ -1,162 +0,0 @@ -#!/bin/sh - -# Slackware build script for ConsoleKit - -# Copyright 2009, 2015 Robby Workman, Northport, Alabama, USA -# Copyright 2010, 2015 Eric Hameleers, Eindhoven, NL -# Copyright 2010 Patrick J. 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. - -PKGNAM=ConsoleKit2 -VERSION=${VERSION:-1.0.0} -BUILD=${BUILD:-2} - -NUMJOBS=${NUMJOBS:--j6} - -CWD=$(pwd) -TMP=${TMP:-/tmp} -PKG=$TMP/package-$PKGNAM - -# Automatically determine the architecture we're building on: -if [ -z "$ARCH" ]; then - case "$(uname -m)" in - i?86) ARCH=i586 ;; - arm*) readelf /usr/bin/file -A | egrep -q "Tag_CPU.*[4,5]" && ARCH=arm || ARCH=armv7hl ;; - # Unless $ARCH is already set, use uname -m for all other archs: - *) ARCH=$(uname -m) ;; - esac - export ARCH -fi - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - SLKLDFLAGS="" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - SLKLDFLAGS="" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - SLKLDFLAGS="-L/usr/lib64" - LIBDIRSUFFIX="64" -elif [ "$ARCH" = "armv7hl" ]; then - SLKCFLAGS="-O3 -march=armv7-a -mfpu=vfpv3-d16" - SLKLDFLAGS="" - LIBDIRSUFFIX="" -else - SLKCFLAGS="-O2" - SLKLDFLAGS="" - LIBDIRSUFFIX="" -fi - -case "$ARCH" in - arm*) TARGET=$ARCH-slackware-linux-gnueabi ;; - *) TARGET=$ARCH-slackware-linux ;; -esac - -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 - -cat $CWD/patches/0001-Revert-Minor-code-refactoring.patch | patch -p1 --verbose || exit 1 -cat $CWD/patches/0002-Fix-some-libdir-scripts-stuff-missed-in-4d87a25ea0af.patch | patch -p1 --verbose || exit 1 -cat $CWD/patches/0003-Filter-out-the-kdm-user.patch | patch -p1 --verbose || exit 1 -cat $CWD/patches/0004-Apply-overlooked-prefix-lib-libdir-substitution.patch | patch -p1 --verbose || 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 {} \; - -autoreconf -vif - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PKGNAM-$VERSION \ - --with-rundir=/var/run \ - --with-pid-file=/var/run/ConsoleKit/pid \ - --enable-docbook-docs \ - --enable-pam-module=no \ - --enable-udev-acl \ - --disable-static \ - --build=$TARGET - -make $NUMJOBS || make || exit 1 -make install DESTDIR=$PKG - -# Let's not clobber config files -mv $PKG/etc/ConsoleKit/seats.d/00-primary.seat \ - $PKG/etc/ConsoleKit/seats.d/00-primary.seat.new - -# Add an init script -mkdir -p $PKG/etc/rc.d -cat $CWD/rc.consolekit > $PKG/etc/rc.d/rc.consolekit.new -chmod 0755 $PKG/etc/rc.d/rc.consolekit.new - -find $PKG | xargs file | grep -e "executable" -e "shared object" \ - | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null - -# Compress and link manpages, if any: -if [ -d $PKG/usr/man ]; then - ( cd $PKG/usr/man - for manpagedir in $(find . -type d -name "man*") ; do - ( cd $manpagedir - for eachpage in $( find . -type l -maxdepth 1) ; do - ln -s $( readlink $eachpage ).gz $eachpage.gz - rm $eachpage - done - gzip -9 *.? - ) - done - ) -fi - -mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION -cp -a \ - AUTHORS COPYING HACKING INSTALL NEWS README TODO \ - $PKG/usr/doc/$PKGNAM-$VERSION - -# 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/*-$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 -cat $CWD/doinst.sh > $PKG/install/doinst.sh - -cd $PKG -/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz - diff --git a/deps/ConsoleKit2/doinst.sh b/deps/ConsoleKit2/doinst.sh deleted file mode 100644 index c13a36e..0000000 --- a/deps/ConsoleKit2/doinst.sh +++ /dev/null @@ -1,27 +0,0 @@ -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... -} - -preserve_perms() { - NEW="$1" - OLD="$(dirname $NEW)/$(basename $NEW .new)" - if [ -e $OLD ]; then - cp -a $OLD ${NEW}.incoming - cat $NEW > ${NEW}.incoming - mv ${NEW}.incoming $NEW - fi - config $NEW -} - -config etc/ConsoleKit/seats.d/00-primary.seat.new -preserve_perms etc/rc.d/rc.consolekit.new - diff --git a/deps/ConsoleKit2/patches/0001-Revert-Minor-code-refactoring.patch b/deps/ConsoleKit2/patches/0001-Revert-Minor-code-refactoring.patch deleted file mode 100644 index b6cadb3..0000000 --- a/deps/ConsoleKit2/patches/0001-Revert-Minor-code-refactoring.patch +++ /dev/null @@ -1,477 +0,0 @@ -From 1e3f7f9862dceec3fa11ee4205c343ed64ce5b63 Mon Sep 17 00:00:00 2001 -From: Eric Koegel -Date: Sat, 22 Aug 2015 10:51:20 +0300 -Subject: [PATCH 1/5] Revert "Minor code refactoring" - -This reverts commit bee63889f4a0b8f57807a61d8396346cec8cd5b1. - -There are some cases where ConsoleKit2 would crash after successfully -suspending so revert this commit. ---- - src/ck-manager.c | 160 ++++++++++++++++++++++++++++++++++---------------- - src/ck-session.c | 56 +++++++++++++++++- - src/ck-sysdeps-unix.c | 59 ------------------- - src/ck-sysdeps.h | 6 -- - tools/Makefile.am | 3 - - 5 files changed, 163 insertions(+), 121 deletions(-) - -diff --git a/src/ck-manager.c b/src/ck-manager.c -index db5f906..66da8b2 100644 ---- a/src/ck-manager.c -+++ b/src/ck-manager.c -@@ -960,11 +960,13 @@ logind_ready_cb (PolkitAuthority *authority, - g_object_unref (ret); - } - -+/* We use this to avoid breaking API compability with ConsoleKit1 for -+ * CanStop and CanRestart, but this method emulates how logind -+ * presents it's API */ - static void --get_polkit_permissions_for_callback (CkManager *manager, -- const char *action, -- GDBusMethodInvocation *context, -- GAsyncReadyCallback callback) -+get_polkit_logind_permissions (CkManager *manager, -+ const char *action, -+ GDBusMethodInvocation *context) - { - const char *sender; - PolkitSubject *subject; -@@ -980,37 +982,96 @@ get_polkit_permissions_for_callback (CkManager *manager, - NULL, - 0, - NULL, -- callback, -+ (GAsyncReadyCallback) logind_ready_cb, - context); - g_object_unref (subject); - } - --/* We use this to avoid breaking API compability with ConsoleKit1 for -- * CanStop and CanRestart, but this method emulates how logind -- * presents it's API */ --static void --get_polkit_logind_permissions (CkManager *manager, -- const char *action, -- GDBusMethodInvocation *context) --{ -- get_polkit_permissions_for_callback (manager, -- action, -- context, -- (GAsyncReadyCallback) logind_ready_cb); --} -- - static void - get_polkit_permissions (CkManager *manager, - const char *action, - GDBusMethodInvocation *context) - { -- get_polkit_permissions_for_callback (manager, -- action, -- context, -- (GAsyncReadyCallback) ready_cb); -+ const char *sender; -+ PolkitSubject *subject; -+ -+ g_debug ("get permissions for action %s", action); -+ -+ sender = g_dbus_method_invocation_get_sender (context); -+ subject = polkit_system_bus_name_new (sender); -+ -+ polkit_authority_check_authorization (manager->priv->pol_ctx, -+ subject, -+ action, -+ NULL, -+ 0, -+ NULL, -+ (GAsyncReadyCallback) ready_cb, -+ context); -+ g_object_unref (subject); - } - #endif - -+/* adapted from PolicyKit */ -+static gboolean -+get_caller_info (CkManager *manager, -+ const char *sender, -+ uid_t *calling_uid, -+ pid_t *calling_pid) -+{ -+ gboolean res = FALSE; -+ GVariant *value = NULL; -+ GError *error = NULL; -+ -+ if (sender == NULL) { -+ g_debug ("sender == NULL"); -+ goto out; -+ } -+ -+ if (manager->priv->bus_proxy == NULL) { -+ g_debug ("manager->priv->bus_proxy == NULL"); -+ goto out; -+ } -+ -+ value = g_dbus_proxy_call_sync (manager->priv->bus_proxy, "GetConnectionUnixUser", -+ g_variant_new ("(s)", sender), -+ G_DBUS_CALL_FLAGS_NONE, -+ 2000, -+ NULL, -+ &error); -+ -+ if (value == NULL) { -+ g_warning ("GetConnectionUnixUser() failed: %s", error->message); -+ g_error_free (error); -+ goto out; -+ } -+ g_variant_get (value, "(u)", calling_uid); -+ g_variant_unref (value); -+ -+ value = g_dbus_proxy_call_sync (manager->priv->bus_proxy, "GetConnectionUnixProcessID", -+ g_variant_new ("(s)", sender), -+ G_DBUS_CALL_FLAGS_NONE, -+ 2000, -+ NULL, -+ &error); -+ -+ if (value == NULL) { -+ g_warning ("GetConnectionUnixProcessID() failed: %s", error->message); -+ g_error_free (error); -+ goto out; -+ } -+ g_variant_get (value, "(u)", calling_pid); -+ g_variant_unref (value); -+ -+ res = TRUE; -+ -+ g_debug ("uid = %d", *calling_uid); -+ g_debug ("pid = %d", *calling_pid); -+ -+out: -+ return res; -+} -+ - static char * - get_user_name (uid_t uid) - { -@@ -1118,7 +1179,7 @@ check_rbac_permissions (CkManager *manager, - - username = NULL; - sender = g_dbus_method_invocation_get_sender (context); -- res = get_caller_info (manager->priv->bus_proxy, -+ res = get_caller_info (manager, - sender, - &uid, - &pid); -@@ -2055,7 +2116,7 @@ dbus_inhibit (ConsoleKitManager *ckmanager, - priv = CK_MANAGER_GET_PRIVATE (CK_MANAGER (ckmanager)); - - sender = g_dbus_method_invocation_get_sender (context); -- res = get_caller_info (priv->bus_proxy, -+ res = get_caller_info (CK_MANAGER (ckmanager), - sender, - &uid, - &pid); -@@ -2698,7 +2759,7 @@ create_session_for_sender (CkManager *manager, - - g_debug ("CkManager: create session for sender: %s", sender); - -- res = get_caller_info (manager->priv->bus_proxy, -+ res = get_caller_info (manager, - sender, - &uid, - &pid); -@@ -2767,7 +2828,7 @@ dbus_get_session_for_cookie (ConsoleKitManager *ckmanager, - - sender = g_dbus_method_invocation_get_sender (context); - -- res = get_caller_info (manager->priv->bus_proxy, -+ res = get_caller_info (manager, - sender, - &calling_uid, - &calling_pid); -@@ -2852,7 +2913,7 @@ dbus_get_session_for_unix_process (ConsoleKitManager *ckmanager, - TRACE (); - g_debug ("pid: %u", pid); - -- res = get_caller_info (manager->priv->bus_proxy, -+ res = get_caller_info (manager, - sender, - &calling_uid, - &calling_pid); -@@ -2900,7 +2961,7 @@ dbus_get_current_session (ConsoleKitManager *ckmanager, - - g_debug ("CkManager: get current session"); - -- res = get_caller_info (manager->priv->bus_proxy, -+ res = get_caller_info (manager, - sender, - &calling_uid, - &calling_pid); -@@ -3100,7 +3161,7 @@ dbus_close_session (ConsoleKitManager *ckmanager, - manager = CK_MANAGER (ckmanager); - - sender = g_dbus_method_invocation_get_sender (context); -- res = get_caller_info (manager->priv->bus_proxy, -+ res = get_caller_info (manager, - sender, - &calling_uid, - &calling_pid); -@@ -3443,17 +3504,6 @@ create_seats (CkManager *manager) - } - - static void --cancel_timeout_and_call_system_action (CkManagerPrivate *priv) --{ -- /* The inhibit lock for this action was removed. -- * Stop the timeout and call the system action now. -- */ -- g_source_remove (priv->system_action_idle_id); -- priv->system_action_idle_id = 0; -- system_action_idle_cb (priv->system_action_data); --} -- --static void - on_inhibit_manager_changed_event (CkInhibitManager *manager, gint inhibit_mode, gint event, gboolean enabled, gpointer user_data) - { - CkManagerPrivate *priv; -@@ -3472,6 +3522,17 @@ on_inhibit_manager_changed_event (CkInhibitManager *manager, gint inhibit_mode, - return; - } - -+ /* this system action must be for a sleep or shutdown operation */ -+ if (priv->system_action_data->signal != PREPARE_FOR_SLEEP && -+ priv->system_action_data->signal != PREPARE_FOR_SHUTDOWN) { -+ return; -+ } -+ -+ /* the inhibit change must be for sleep or shutdown */ -+ if (event != CK_INHIBIT_EVENT_SUSPEND && event != CK_INHIBIT_EVENT_SHUTDOWN) { -+ return; -+ } -+ - /* must be a delay inhibitor */ - if (inhibit_mode != CK_INHIBIT_MODE_DELAY) { - return; -@@ -3482,17 +3543,12 @@ on_inhibit_manager_changed_event (CkInhibitManager *manager, gint inhibit_mode, - return; - } - -- /* Did we stop inhibiting sleep? */ -- if (priv->system_action_data->signal == PREPARE_FOR_SLEEP && -- event == CK_INHIBIT_EVENT_SUSPEND) { -- cancel_timeout_and_call_system_action (priv); -- } -- -- /* Did we stop inhibiting shutdown? */ -- if (priv->system_action_data->signal == PREPARE_FOR_SHUTDOWN && -- event == CK_INHIBIT_EVENT_SHUTDOWN) { -- cancel_timeout_and_call_system_action (priv); -- } -+ /* The inhibit lock for this action was removed. -+ * Stop the timeout and call the system action now. -+ */ -+ g_source_remove (priv->system_action_idle_id); -+ priv->system_action_idle_id = 0; -+ system_action_idle_cb (priv->system_action_data); - } - - static void -diff --git a/src/ck-session.c b/src/ck-session.c -index 478dce2..ca0f8ca 100644 ---- a/src/ck-session.c -+++ b/src/ck-session.c -@@ -248,6 +248,60 @@ dbus_unlock (ConsoleKitSession *cksession, - return TRUE; - } - -+/* adapted from PolicyKit */ -+static gboolean -+get_caller_info (CkSession *session, -+ const char *sender, -+ uid_t *calling_uid, -+ pid_t *calling_pid) -+{ -+ gboolean res = FALSE; -+ GVariant *value = NULL; -+ GError *error = NULL; -+ -+ if (sender == NULL) { -+ goto out; -+ } -+ -+ value = g_dbus_proxy_call_sync (session->priv->bus_proxy, "GetConnectionUnixUser", -+ g_variant_new ("(s)", sender), -+ G_DBUS_CALL_FLAGS_NONE, -+ 2000, -+ NULL, -+ &error); -+ -+ if (value == NULL) { -+ g_warning ("GetConnectionUnixUser() failed: %s", error->message); -+ g_error_free (error); -+ goto out; -+ } -+ g_variant_get (value, "(u)", calling_uid); -+ g_variant_unref (value); -+ -+ value = g_dbus_proxy_call_sync (session->priv->bus_proxy, "GetConnectionUnixProcessID", -+ g_variant_new ("(s)", sender), -+ G_DBUS_CALL_FLAGS_NONE, -+ 2000, -+ NULL, -+ &error); -+ -+ if (value == NULL) { -+ g_warning ("GetConnectionUnixProcessID() failed: %s", error->message); -+ g_error_free (error); -+ goto out; -+ } -+ g_variant_get (value, "(u)", calling_pid); -+ g_variant_unref (value); -+ -+ res = TRUE; -+ -+ g_debug ("uid = %d", *calling_uid); -+ g_debug ("pid = %d", *calling_pid); -+ -+out: -+ return res; -+} -+ - static gboolean - session_set_idle_hint_internal (CkSession *session, - gboolean idle_hint) -@@ -326,7 +380,7 @@ dbus_set_idle_hint (ConsoleKitSession *cksession, - - sender = g_dbus_method_invocation_get_sender (context); - -- res = get_caller_info (session->priv->bus_proxy, -+ res = get_caller_info (session, - sender, - &calling_uid, - &calling_pid); -diff --git a/src/ck-sysdeps-unix.c b/src/ck-sysdeps-unix.c -index 87333d1..0f751b9 100644 ---- a/src/ck-sysdeps-unix.c -+++ b/src/ck-sysdeps-unix.c -@@ -132,65 +132,6 @@ ck_get_socket_peer_credentials (int socket_fd, - return ret; - } - --/* adapted from PolicyKit */ --gboolean --get_caller_info (GDBusProxy *bus_proxy, -- const char *sender, -- uid_t *calling_uid, -- pid_t *calling_pid) --{ -- gboolean res = FALSE; -- GVariant *value = NULL; -- GError *error = NULL; -- -- if (sender == NULL) { -- g_debug ("sender == NULL"); -- goto out; -- } -- -- if (bus_proxy == NULL) { -- g_debug ("bus_proxy == NULL"); -- goto out; -- } -- -- value = g_dbus_proxy_call_sync (bus_proxy, "GetConnectionUnixUser", -- g_variant_new ("(s)", sender), -- G_DBUS_CALL_FLAGS_NONE, -- 2000, -- NULL, -- &error); -- -- if (value == NULL) { -- g_warning ("GetConnectionUnixUser() failed: %s", error->message); -- g_error_free (error); -- goto out; -- } -- g_variant_get (value, "(u)", calling_uid); -- g_variant_unref (value); -- -- value = g_dbus_proxy_call_sync (bus_proxy, "GetConnectionUnixProcessID", -- g_variant_new ("(s)", sender), -- G_DBUS_CALL_FLAGS_NONE, -- 2000, -- NULL, -- &error); -- -- if (value == NULL) { -- g_warning ("GetConnectionUnixProcessID() failed: %s", error->message); -- g_error_free (error); -- goto out; -- } -- g_variant_get (value, "(u)", calling_pid); -- g_variant_unref (value); -- -- res = TRUE; -- -- g_debug ("uid = %d", *calling_uid); -- g_debug ("pid = %d", *calling_pid); -- --out: -- return res; --} - - /* - * getfd.c -diff --git a/src/ck-sysdeps.h b/src/ck-sysdeps.h -index 66df581..bc32631 100644 ---- a/src/ck-sysdeps.h -+++ b/src/ck-sysdeps.h -@@ -24,7 +24,6 @@ - #include "config.h" - - #include --#include - - G_BEGIN_DECLS - -@@ -55,11 +54,6 @@ gboolean ck_get_socket_peer_credentials (int socket_fd, - uid_t *uid, - GError **error); - --gboolean get_caller_info (GDBusProxy *bus_proxy, -- const char *sender, -- uid_t *calling_uid, -- pid_t *calling_pid); -- - int ck_get_a_console_fd (void); - - gboolean ck_fd_is_a_console (int fd); -diff --git a/tools/Makefile.am b/tools/Makefile.am -index 69dd1eb..81f4d1f 100644 ---- a/tools/Makefile.am -+++ b/tools/Makefile.am -@@ -131,7 +131,6 @@ ck_collect_session_info_SOURCES = \ - $(NULL) - - ck_collect_session_info_LDADD = \ -- $(CONSOLE_KIT_LIBS) \ - $(TOOLS_LIBS) \ - $(top_builddir)/src/libck.la \ - $(NULL) -@@ -141,7 +140,6 @@ ck_get_x11_server_pid_SOURCES = \ - $(NULL) - - ck_get_x11_server_pid_LDADD = \ -- $(CONSOLE_KIT_LIBS) \ - $(TOOLS_LIBS) \ - $(XLIB_LIBS) \ - $(top_builddir)/src/libck.la \ -@@ -152,7 +150,6 @@ ck_get_x11_display_device_SOURCES = \ - $(NULL) - - ck_get_x11_display_device_LDADD = \ -- $(CONSOLE_KIT_LIBS) \ - $(TOOLS_LIBS) \ - $(top_builddir)/src/libck.la \ - $(NULL) --- -2.5.1 - diff --git a/deps/ConsoleKit2/patches/0002-Fix-some-libdir-scripts-stuff-missed-in-4d87a25ea0af.patch b/deps/ConsoleKit2/patches/0002-Fix-some-libdir-scripts-stuff-missed-in-4d87a25ea0af.patch deleted file mode 100644 index 2c46bbd..0000000 --- a/deps/ConsoleKit2/patches/0002-Fix-some-libdir-scripts-stuff-missed-in-4d87a25ea0af.patch +++ /dev/null @@ -1,42 +0,0 @@ -From b045a4245199b12dfc04f03b22bc1e9b1f80aae9 Mon Sep 17 00:00:00 2001 -From: Robby Workman -Date: Sun, 23 Aug 2015 16:53:52 -0500 -Subject: [PATCH 2/5] Fix some libdir/scripts stuff missed in 4d87a25ea0af - ---- - src/ck-seat.c | 2 +- - tools/Makefile.am | 4 ++-- - 2 files changed, 3 insertions(+), 3 deletions(-) - -diff --git a/src/ck-seat.c b/src/ck-seat.c -index ead6425..47e6933 100644 ---- a/src/ck-seat.c -+++ b/src/ck-seat.c -@@ -1443,7 +1443,7 @@ ck_seat_run_programs (CkSeat *seat, - g_assert(n <= G_N_ELEMENTS(extra_env)); - - ck_run_programs (SYSCONFDIR "/ConsoleKit/run-seat.d", action, extra_env); -- ck_run_programs (PREFIX "/lib/ConsoleKit/run-seat.d", action, extra_env); -+ ck_run_programs (LIBDIR "/ConsoleKit/run-seat.d", action, extra_env); - - for (n = 0; extra_env[n] != NULL; n++) { - g_free (extra_env[n]); -diff --git a/tools/Makefile.am b/tools/Makefile.am -index 69dd1eb..d61b845 100644 ---- a/tools/Makefile.am -+++ b/tools/Makefile.am -@@ -171,9 +171,9 @@ udev_acl_CFLAGS = \ - $(NULL) - - install-exec-hook: -- mkdir -p $(DESTDIR)$(prefix)/lib/ConsoleKit/run-seat.d -+ mkdir -p $(DESTDIR)$(libdir)/ConsoleKit/run-seat.d - mkdir -p $(DESTDIR)$(UDEVDIR) -- ln -sf $(libexecdir)/udev-acl $(DESTDIR)$(prefix)/lib/ConsoleKit/run-seat.d/udev-acl.ck -+ ln -sf $(libexecdir)/udev-acl $(DESTDIR)$(libdir)/ConsoleKit/run-seat.d/udev-acl.ck - ln -sf $(libexecdir)/udev-acl $(DESTDIR)$(UDEVDIR)/udev-acl - endif - --- -2.5.1 - diff --git a/deps/ConsoleKit2/patches/0003-Filter-out-the-kdm-user.patch b/deps/ConsoleKit2/patches/0003-Filter-out-the-kdm-user.patch deleted file mode 100644 index c0ec63d..0000000 --- a/deps/ConsoleKit2/patches/0003-Filter-out-the-kdm-user.patch +++ /dev/null @@ -1,29 +0,0 @@ -From f848c1de94ef2f5ae7d53358d30e26400a69d3d4 Mon Sep 17 00:00:00 2001 -From: Ivailo Monev -Date: Mon, 24 Aug 2015 20:18:50 +0300 -Subject: [PATCH 5/5] Filter out the kdm user - ---- - src/ck-manager.c | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -diff --git a/src/ck-manager.c b/src/ck-manager.c -index 66da8b2..4a6e511 100644 ---- a/src/ck-manager.c -+++ b/src/ck-manager.c -@@ -1111,9 +1111,10 @@ session_is_real_user (CkSession *session, - - username = get_user_name (uid); - -- /* filter out GDM/SDDM user */ -+ /* filter out GDM/SDDM/KDM user */ - if (g_strcmp0 (username, "gdm") == 0 || -- g_strcmp0 (username, "sddm") == 0) { -+ g_strcmp0 (username, "sddm") == 0 || -+ g_strcmp0 (username, "kdm") == 0) { - ret = FALSE; - goto out; - } --- -2.5.1 - diff --git a/deps/ConsoleKit2/patches/0004-Apply-overlooked-prefix-lib-libdir-substitution.patch b/deps/ConsoleKit2/patches/0004-Apply-overlooked-prefix-lib-libdir-substitution.patch deleted file mode 100644 index ee3b1e2..0000000 --- a/deps/ConsoleKit2/patches/0004-Apply-overlooked-prefix-lib-libdir-substitution.patch +++ /dev/null @@ -1,22 +0,0 @@ -From 22958330535c9e26ed537d1568925f64e3bafe4d Mon Sep 17 00:00:00 2001 -From: Eric Hameleers -Date: Thu, 10 Sep 2015 14:19:43 +0200 -Subject: [PATCH] Apply overlooked PREFIX/lib -> LIBDIR substitution - ---- - src/ck-session.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/ck-session.c b/src/ck-session.c -index ca0f8ca..1b58889 100644 ---- a/src/ck-session.c -+++ b/src/ck-session.c -@@ -1273,7 +1273,7 @@ ck_session_run_programs (CkSession *session, - g_assert(n <= G_N_ELEMENTS(extra_env)); - - ck_run_programs (SYSCONFDIR "/ConsoleKit/run-session.d", action, extra_env); -- ck_run_programs (PREFIX "/lib/ConsoleKit/run-session.d", action, extra_env); -+ ck_run_programs (LIBDIR "/ConsoleKit/run-session.d", action, extra_env); - - for (n = 0; extra_env[n] != NULL; n++) { - g_free (extra_env[n]); diff --git a/deps/ConsoleKit2/rc.consolekit b/deps/ConsoleKit2/rc.consolekit deleted file mode 100644 index a193756..0000000 --- a/deps/ConsoleKit2/rc.consolekit +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/sh -# -# /etc/rc.d/rc.consolekit -# -# Start/stop consolekit-kit daemon. -# -# This daemon is used by polkit's console auth agent. - -# Start consolekit: -ck_start() { - echo "Starting ConsoleKit daemon: /usr/sbin/console-kit-daemon" - /usr/sbin/console-kit-daemon -} - -# Stop consolekit: -ck_stop() { - if [ -r /var/run/ConsoleKit/pid ]; then - kill -HUP $(cat /var/run/ConsoleKit/pid) - rm -f /var/run/ConsoleKit/pid - else - killall -HUP -q console-kit-daemon - fi -} - -case "$1" in -'start') - ck_start - ;; -'stop') - ck_stop - ;; -*) - echo "Usage: $0 start|stop" -esac diff --git a/deps/ConsoleKit2/slack-desc b/deps/ConsoleKit2/slack-desc deleted file mode 100644 index 508b732..0000000 --- a/deps/ConsoleKit2/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-----------------------------------------------------| -ConsoleKit2: ConsoleKit2 (user, login, and seat tracking framework) -ConsoleKit2: -ConsoleKit2: ConsoleKit2 is a framework for defining and tracking users, login -ConsoleKit2: sessions, and seats. -ConsoleKit2: -ConsoleKit2: Homepage: https://github.com/ConsoleKit2/ConsoleKit2 -ConsoleKit2: -ConsoleKit2: -ConsoleKit2: -ConsoleKit2: -ConsoleKit2: diff --git a/deps/LibRaw/LibRaw.SlackBuild b/deps/LibRaw/LibRaw.SlackBuild deleted file mode 100755 index bb01840..0000000 --- a/deps/LibRaw/LibRaw.SlackBuild +++ /dev/null @@ -1,126 +0,0 @@ -#!/bin/sh - -# Copyright 2013 Patrick J. Volkerding, Sebeka, MN, USA -# Copyright 2013, 2015 Eric Hameleers, Eindhoven, NL -# 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. - -PKGNAM=LibRaw -VERSION=${VERSION:-0.17.0} -BUILD=${BUILD:-1} - -NUMJOBS=${NUMJOBS:--j7} - -CWD=$(pwd) -TMP=${TMP:-/tmp} -PKG=$TMP/package-$PKGNAM - -# Automatically determine the architecture we're building on: -if [ -z "$ARCH" ]; then - case "$(uname -m)" in - i?86) ARCH=i486 ;; - arm*) readelf /usr/bin/file -A | egrep -q "Tag_CPU.*[4,5]" && ARCH=arm || AR -CH=armv7hl ;; - # Unless $ARCH is already set, use uname -m for all other archs: - *) ARCH=$(uname -m) ;; - esac - export ARCH -fi - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - SLKLDFLAGS="" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - SLKLDFLAGS="" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - SLKLDFLAGS="-L/usr/lib64" - LIBDIRSUFFIX="64" -elif [ "$ARCH" = "armv7hl" ]; then - SLKCFLAGS="-O3 -march=armv7-a -mfpu=vfpv3-d16" - SLKLDFLAGS="" - LIBDIRSUFFIX="" -else - SLKCFLAGS="-O2" - SLKLDFLAGS="" - LIBDIRSUFFIX="" -fi - -case "$ARCH" in - arm*) TARGET=$ARCH-slackware-linux-gnueabi ;; - *) TARGET=$ARCH-slackware-linux ;; -esac - -rm -rf $PKG -mkdir -p $TMP $PKG -cd $TMP -rm -rf $PKGNAM-$VERSION-build -mkdir $PKGNAM-$VERSION-build -cd $PKGNAM-$VERSION-build -tar xvf $CWD/$PKGNAM-$VERSION.tar.xz || exit 1 -tar xvf $CWD/$PKGNAM-demosaic-pack-GPL2-$VERSION.tar.xz || exit 1 -tar xvf $CWD/$PKGNAM-demosaic-pack-GPL3-$VERSION.tar.xz || 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 {} \; - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PKGNAM-$VERSION \ - --disable-static \ - --enable-demosaic-pack-gpl2=../LibRaw-demosaic-pack-GPL2-$VERSION \ - --enable-demosaic-pack-gpl3=../LibRaw-demosaic-pack-GPL3-$VERSION \ - --enable-jasper \ - --enable-lcms \ - --disable-examples \ - --build=$TARGET \ - || exit 1 - -make $NUMJOBS || make || exit 1 -make install DESTDIR=$PKG - -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 -cp -a \ - COPYRIGHT Changelog.txt LICENSE.* README* doc \ - $PKG/usr/doc/$PKGNAM-$VERSION - mv $PKG/usr/doc/$PKGNAM-$VERSION/doc $PKG/usr/doc/$PKGNAM-$VERSION/html - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz - diff --git a/deps/LibRaw/slack-desc b/deps/LibRaw/slack-desc deleted file mode 100644 index b5c3b7b..0000000 --- a/deps/LibRaw/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 ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -LibRaw: LibRaw (library for decoding raw digital photos) -LibRaw: -LibRaw: LibRaw is a library for reading RAW files obtained from digital -LibRaw: cameras (CRW/CR2, NEF, RAF, DNG, and others). It is based on the -LibRaw: source code of the dcraw utility. -LibRaw: -LibRaw: -LibRaw: -LibRaw: -LibRaw: Homepage: http://www.libraw.org/ -LibRaw: diff --git a/deps/alldeps.SlackBuild b/deps/alldeps.SlackBuild index 9eb2f28..857c5c7 100755 --- a/deps/alldeps.SlackBuild +++ b/deps/alldeps.SlackBuild @@ -14,13 +14,9 @@ TMP=${TMP:-/tmp} QTDIR=/usr/lib${LIBDIRSUFFIX}/qt ; export QTDIR ALLDEPS=" \ - LibRaw \ - ConsoleKit2 \ extra-cmake-modules \ sni-qt \ qt5 \ - eigen2 \ - xapian-core \ OpenAL \ qt-gstreamer \ qjson \ diff --git a/deps/eigen2/eigen2.SlackBuild b/deps/eigen2/eigen2.SlackBuild deleted file mode 100755 index d8fd0b5..0000000 --- a/deps/eigen2/eigen2.SlackBuild +++ /dev/null @@ -1,95 +0,0 @@ -#!/bin/sh - -# Copyright 2007, 2008 Robby Workman, Northport, Alabama, USA -# Copyright 2008, 2009, 2015 Patrick J. 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. - - -PKGNAM=eigen2 -VERSION=${VERSION:-2.0.17} -BUILD=${BUILD:-1} - -# Automatically determine the architecture we're building on: -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) export ARCH=i486 ;; - arm*) export ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: - *) export ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp} -PKG=$TMP/package-$PKGNAM - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "s390" ]; then - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -rm -rf $PKG -mkdir -p $TMP $PKG -cd $TMP || exit 1 -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 {} \; - -mkdir -p build -cd build - QTDIR=/usr/lib${LIBDIRSUFFIX}/qt \ - PATH=$QTDIR/bin:$PATH \ - cmake \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_INSTALL_PREFIX=/usr \ - .. - make || exit 1 - make install DESTDIR=$PKG || exit 1 -cd - - -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 -cp -a COPYING* $PKG/usr/doc/$PKGNAM-$VERSION - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n /tmp/$PKGNAM-$VERSION-$ARCH-$BUILD.txz - diff --git a/deps/eigen2/slack-desc b/deps/eigen2/slack-desc deleted file mode 100644 index fab9410..0000000 --- a/deps/eigen2/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----------------------------------------------------| -eigen2: Eigen2 (c++ math library) -eigen2: -eigen2: Eigen 2 is a lightweight C++ template library for vector and matrix -eigen2: math, a.k.a. linear algebra. -eigen2: -eigen2: See the website: http://eigen.tuxfamily.org -eigen2: -eigen2: -eigen2: -eigen2: -eigen2: diff --git a/deps/updates.SlackBuild b/deps/updates.SlackBuild index 83c434e..5076601 100755 --- a/deps/updates.SlackBuild +++ b/deps/updates.SlackBuild @@ -14,13 +14,9 @@ TMP=${TMP:-/tmp} QTDIR=/usr/lib${LIBDIRSUFFIX}/qt ; export QTDIR ALLDEPS=" \ - LibRaw \ - ConsoleKit2 \ extra-cmake-modules \ sni-qt \ - eigen2 \ OpenAL \ - xapian-core \ qt5 \ qca-qt5 \ libdbusmenu-qt5 \ diff --git a/deps/xapian-core/slack-desc b/deps/xapian-core/slack-desc deleted file mode 100644 index 9505e7b..0000000 --- a/deps/xapian-core/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------------------------------------------------------| -xapian-core: xapian-core (Search Engine Library) -xapian-core: -xapian-core: Xapian is an Open Source Probabilistic Information Retrieval -xapian-core: Library. It offers a highly adaptable toolkit that allows -xapian-core: developers to easily add advanced indexing and search facilities -xapian-core: to applications. -xapian-core: -xapian-core: -xapian-core: -xapian-core: xapian home: http://www.xapian.org/ -xapian-core: diff --git a/deps/xapian-core/xapian-core.SlackBuild b/deps/xapian-core/xapian-core.SlackBuild deleted file mode 100755 index e46e802..0000000 --- a/deps/xapian-core/xapian-core.SlackBuild +++ /dev/null @@ -1,111 +0,0 @@ -#!/bin/sh - -# Copyright 2014 Patrick J. Volkerding, Sebeka, MN, USA -# Copyright 2014, 2015 Eric Hameleers, Eindhoven, NL -# 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. - -PKGNAM=xapian-core -VERSION=${VERSION:-1.2.19} -BUILD=${BUILD:-2} - -NUMJOBS=${NUMJOBS:--j7} - -# Automatically determine the architecture we're building on: -if [ -z "$ARCH" ]; then - case "$(uname -m)" in - i?86) ARCH=i486 ;; - arm*) readelf /usr/bin/file -A | egrep -q "Tag_CPU.*[4,5]" && ARCH=arm || ARCH=armv7hl ;; - # Unless $ARCH is already set, use uname -m for all other archs: - *) ARCH=$(uname -m) ;; - esac - export ARCH -fi - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "s390" ]; then - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -elif [ "$ARCH" = "armv7hl" ]; then - SLKCFLAGS="-O2 -march=armv7-a -mfpu=vfpv3-d16" - LIBDIRSUFFIX="" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -case "$ARCH" in - arm*) TARGET=$ARCH-slackware-linux-gnueabi ;; - *) TARGET=$ARCH-slackware-linux ;; -esac - -CWD=$(pwd) -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.xz || 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 {} \; - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PKGNAM-$VERSION \ - --disable-static \ - --build=$TARGET \ - || exit 1 - -make $NUMJOBS || make || exit 1 -make install DESTDIR=$PKG - -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 -cp -a \ - AUTHORS COPYING ChangeLog INSTALL NEWS HACKING PLATFORMS README \ - $PKG/usr/doc/$PKGNAM-$VERSION - mv $PKG/usr/doc/$PKGNAM-$VERSION/doc $PKG/usr/doc/$PKGNAM-$VERSION/html - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz - -- cgit v1.2.3