From 21a4568cce9694f8a69369c800ad4f326ebdd584 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Wed, 6 Nov 2024 23:39:19 +0700 Subject: [PATCH] libraries/wxGTK: Removed (Outdated and no longer used). Signed-off-by: Willy Sudiarto Raharjo --- libraries/wxGTK/README | 14 --- libraries/wxGTK/slack-desc | 19 ---- libraries/wxGTK/wxGTK-gcc.patch | 74 ---------------- libraries/wxGTK/wxGTK.SlackBuild | 148 ------------------------------- libraries/wxGTK/wxGTK.info | 10 --- 5 files changed, 265 deletions(-) delete mode 100644 libraries/wxGTK/README delete mode 100644 libraries/wxGTK/slack-desc delete mode 100644 libraries/wxGTK/wxGTK-gcc.patch delete mode 100644 libraries/wxGTK/wxGTK.SlackBuild delete mode 100644 libraries/wxGTK/wxGTK.info diff --git a/libraries/wxGTK/README b/libraries/wxGTK/README deleted file mode 100644 index 35adeac5d2..0000000000 --- a/libraries/wxGTK/README +++ /dev/null @@ -1,14 +0,0 @@ -wxGTK is part of wxWidgets, a cross-platform API for writing GUI -applications on multiple platforms that still utilize the native -platform's controls and utilities. - -This is a unicode shared build. -If you do not want the unicode build, use: - UNICODE=NO ./wxGTK.SlackBuild - -If you want support for gnomeprint pass GNOMEPRINT=yes to the -script. This will require libgnomeprint and libgnomeprintui, both -available from SlackBuilds.org. - -This package conflicts with wxPython because wxGTK is already included -there. Both cannot be installed at the same time! diff --git a/libraries/wxGTK/slack-desc b/libraries/wxGTK/slack-desc deleted file mode 100644 index d2279cbe64..0000000000 --- a/libraries/wxGTK/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------------------------------------------------------| -wxGTK: wxGTK (cross-platform GUI toolkit) -wxGTK: -wxGTK: wxGTK is part of wxWidgets, a cross-platform API for writing GUI -wxGTK: applications on multiple platforms that still utilize the native -wxGTK: platform's controls and utilities. -wxGTK: -wxGTK: http://wxwidgets.org -wxGTK: -wxGTK: -wxGTK: -wxGTK: diff --git a/libraries/wxGTK/wxGTK-gcc.patch b/libraries/wxGTK/wxGTK-gcc.patch deleted file mode 100644 index 682b0b5873..0000000000 --- a/libraries/wxGTK/wxGTK-gcc.patch +++ /dev/null @@ -1,74 +0,0 @@ ---- wxPython-src-2.8.12.1/src/gtk/bdiag.xbm 2007-07-04 21:25:08.000000000 +0200 -+++ wxPython-src-2.8.12.1/src/gtk/bdiag.xbm 2016-08-31 23:37:12.299122408 +0200 -@@ -1,6 +1,6 @@ - #define bdiag_width 16 - #define bdiag_height 16 - static char bdiag_bits[] = { -- 0x80, 0x80, 0x40, 0x40, 0x20, 0x20, 0x10, 0x10, 0x08, 0x08, 0x04, 0x04, -- 0x02, 0x02, 0x01, 0x01, 0x80, 0x80, 0x40, 0x40, 0x20, 0x20, 0x10, 0x10, -- 0x08, 0x08, 0x04, 0x04, 0x02, 0x02, 0x01, 0x01}; -+ (char)0x80, (char)0x80, (char)0x40, (char)0x40, (char)0x20, (char)0x20, (char)0x10, (char)0x10, (char)0x08, (char)0x08, (char)0x04, (char)0x04, -+ (char)0x02, (char)0x02, (char)0x01, (char)0x01, (char)0x80, (char)0x80, (char)0x40, (char)0x40, (char)0x20, (char)0x20, (char)0x10, (char)0x10, -+ (char)0x08, (char)0x08, (char)0x04, (char)0x04, (char)0x02, (char)0x02, (char)0x01, (char)0x01}; ---- wxPython-src-2.8.12.1/src/gtk/fdiag.xbm 2007-07-04 21:25:08.000000000 +0200 -+++ wxPython-src-2.8.12.1/src/gtk/fdiag.xbm 2016-08-31 23:40:46.011086115 +0200 -@@ -1,6 +1,6 @@ - #define fdiag_width 16 - #define fdiag_height 16 - static char fdiag_bits[] = { -- 0x01, 0x01, 0x02, 0x02, 0x04, 0x04, 0x08, 0x08, 0x10, 0x10, 0x20, 0x20, -- 0x40, 0x40, 0x80, 0x80, 0x01, 0x01, 0x02, 0x02, 0x04, 0x04, 0x08, 0x08, -- 0x10, 0x10, 0x20, 0x20, 0x40, 0x40, 0x80, 0x80}; -+ (char)0x01, (char)0x01, (char)0x02, (char)0x02, (char)0x04, (char)0x04, (char)0x08, (char)0x08, (char)0x10, (char)0x10, (char)0x20, (char)0x20, -+ (char)0x40, (char)0x40, (char)0x80, (char)0x80, (char)0x01, (char)0x01, (char)0x02, (char)0x02, (char)0x04, (char)0x04, (char)0x08, (char)0x08, -+ (char)0x10, (char)0x10, (char)0x20, (char)0x20, (char)0x40, (char)0x40, (char)0x80, (char)0x80}; ---- wxPython-src-2.8.12.1/src/gtk/cdiag.xbm 2007-07-04 21:25:08.000000000 +0200 -+++ wxPython-src-2.8.12.1/src/gtk/cdiag.xbm 2016-08-31 23:43:36.585258499 +0200 -@@ -1,6 +1,6 @@ - #define cdiag_width 16 - #define cdiag_height 16 - static char cdiag_bits[] = { -- 0x81, 0x81, 0x42, 0x42, 0x24, 0x24, 0x18, 0x18, 0x18, 0x18, 0x24, 0x24, -- 0x42, 0x42, 0x81, 0x81, 0x81, 0x81, 0x42, 0x42, 0x24, 0x24, 0x18, 0x18, -- 0x18, 0x18, 0x24, 0x24, 0x42, 0x42, 0x81, 0x81}; -+ (char)0x81, (char)0x81, (char)0x42, (char)0x42, (char)0x24, (char)0x24, (char)0x18, (char)0x18, (char)0x18, (char)0x18, (char)0x24, (char)0x24, -+ (char)0x42, (char)0x42, (char)0x81, (char)0x81, (char)0x81, (char)0x81, (char)0x42, (char)0x42, (char)0x24, (char)0x24, (char)0x18, (char)0x18, -+ (char)0x18, (char)0x18, (char)0x24, (char)0x24, (char)0x42, (char)0x42, (char)0x81, (char)0x81}; ---- wxPython-src-2.8.12.1/src/gtk/horiz.xbm 2007-07-04 21:25:08.000000000 +0200 -+++ wxPython-src-2.8.12.1/src/gtk/horiz.xbm 2016-08-31 23:45:50.488608592 +0200 -@@ -1,6 +1,6 @@ - #define horiz_width 15 - #define horiz_height 15 - static char horiz_bits[] = { -- 0x00, 0x00, 0x00, 0x00, 0xff, 0x7f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, -- 0x00, 0x00, 0xff, 0x7f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, -- 0xff, 0x7f, 0x00, 0x00, 0x00, 0x00}; -+ (char)0x00, (char)0x00, (char)0x00, (char)0x00, (char)0xff, (char)0x7f, (char)0x00, (char)0x00, (char)0x00, (char)0x00, (char)0x00, (char)0x00, -+ (char)0x00, (char)0x00, (char)0xff, (char)0x7f, (char)0x00, (char)0x00, (char)0x00, (char)0x00, (char)0x00, (char)0x00, (char)0x00, (char)0x00, -+ (char)0xff, (char)0x7f, (char)0x00, (char)0x00, (char)0x00, (char)0x00}; ---- wxPython-src-2.8.12.1/src/gtk/verti.xbm 2016-08-31 23:46:37.464380555 +0200 -+++ wxPython-src-2.8.12.1/src/gtk/verti.xbm 2016-08-31 23:48:07.672942608 +0200 -@@ -1,6 +1,6 @@ - #define verti_width 15 - #define verti_height 15 - static char verti_bits[] = { -- 0x84, 0x10, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10, -- 0x84, 0x10, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10, -- 0x84, 0x10, 0x84, 0x10, 0x84, 0x10}; -+ (char)0x84, (char)0x10, (char)0x84, (char)0x10, (char)0x84, (char)0x10, (char)0x84, (char)0x10, (char)0x84, (char)0x10, (char)0x84, (char)0x10, -+ (char)0x84, (char)0x10, (char)0x84, (char)0x10, (char)0x84, (char)0x10, (char)0x84, (char)0x10, (char)0x84, (char)0x10, (char)0x84, (char)0x10, -+ (char)0x84, (char)0x10, (char)0x84, (char)0x10, (char)0x84, (char)0x10}; ---- wxPython-src-2.8.12.1/src/gtk/cross.xbm 2007-07-04 21:25:08.000000000 +0200 -+++ wxPython-src-2.8.12.1/src/gtk/cross.xbm 2016-08-31 23:51:25.478982130 +0200 -@@ -1,6 +1,6 @@ - #define cross_width 15 - #define cross_height 15 - static char cross_bits[] = { -- 0x84, 0x10, 0x84, 0x10, 0xff, 0x7f, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10, -- 0x84, 0x10, 0xff, 0x7f, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10, -- 0xff, 0x7f, 0x84, 0x10, 0x84, 0x10}; -+ (char)0x84, (char)0x10, (char)0x84, (char)0x10, (char)0xff, (char)0x7f, (char)0x84, (char)0x10, (char)0x84, (char)0x10, (char)0x84, (char)0x10, -+ (char)0x84, (char)0x10, (char)0xff, (char)0x7f, (char)0x84, (char)0x10, (char)0x84, (char)0x10, (char)0x84, (char)0x10, (char)0x84, (char)0x10, -+ (char)0xff, (char)0x7f, (char)0x84, (char)0x10, (char)0x84, (char)0x10}; - - diff --git a/libraries/wxGTK/wxGTK.SlackBuild b/libraries/wxGTK/wxGTK.SlackBuild deleted file mode 100644 index 09d88a1657..0000000000 --- a/libraries/wxGTK/wxGTK.SlackBuild +++ /dev/null @@ -1,148 +0,0 @@ -#!/bin/bash - -# Slackware build script for wxGTK - -# Copyright 2006-2009 Chess Griffin -# Copyright 2010-2011,2013 Niels Horn, Rio de Janeiro, RJ, Brazil -# Copyright 2013-2017 Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org -# Copyright 2017 Willy Sudiarto Raharjo -# 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. - -# Lots of key help from Eric Hameleers and the SBo admins. - -cd $(dirname $0) ; CWD=$(pwd) - -PRGNAM=wxGTK -VERSION=${VERSION:-2.8.12} -BUILD=${BUILD:-4} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) 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 "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" - exit 0 -fi - -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -# If you don't want a unicode-enabled build, change to NO or -# pass UNICODE=NO ./wxGTK.SlackBuild when building -UNICODE=${UNICODE:-YES} - -# Gnomeprint support -if [ "${GNOMEPRINT:-no}" = "no" ]; then - do_gp="without" -else - do_gp="with" -fi - -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -elif [ "$ARCH" = "arm" ]; then - SLKCFLAGS="-O2 -march=armv4t" - LIBDIRSUFFIX="" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -# Set unicode flag as desired by UNICODE variable -if [ "$UNICODE" = "YES" ]; then - _do_unicode="en" -elif [ "$UNICODE" = "NO" ]; then - _do_unicode="dis" -fi -patch -p1 < $CWD/wxGTK-gcc.patch - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --enable-shared \ - --enable-mediactrl \ - --with-opengl \ - --$do_gp-gnomeprint \ - --${_do_unicode}able-unicode \ - --build=$ARCH-slackware-linux - -make -make install DESTDIR=$PKG - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -# Now let's fix the broken symlink created by the package -( cd $PKG/usr/bin - rm wx-config - if [ "$UNICODE" = "YES" ]; then - ln -s /usr/lib${LIBDIRSUFFIX}/wx/config/gtk2-unicode-release-2.8 wx-config - elif [ "$UNICODE" = "NO" ]; then - ln -s /usr/lib${LIBDIRSUFFIX}/wx/config/gtk2-ansi-release-2.8 wx-config - fi -) - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a docs/* $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -rm -f $PKG/usr/lib*/*.la - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/libraries/wxGTK/wxGTK.info b/libraries/wxGTK/wxGTK.info deleted file mode 100644 index 145d75b5d9..0000000000 --- a/libraries/wxGTK/wxGTK.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="wxGTK" -VERSION="2.8.12" -HOMEPAGE="http://www.wxwidgets.org" -DOWNLOAD="http://downloads.sourceforge.net/wxwindows/wxGTK-2.8.12.tar.gz" -MD5SUM="b12c78d947d89e1120443761f1b7693b" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Willy Sudiarto Raharjo" -EMAIL="willysr@slackbuilds.org"