Updated build scripts to only those not on slackbuilds.org already.

This commit is contained in:
shelldweller 2023-04-05 09:05:36 -05:00
parent 3717d026dc
commit ad0da153ef
39 changed files with 18 additions and 1620 deletions

Binary file not shown.

View File

@ -9,5 +9,4 @@ Features:
Build options:
- To enable Lokinet, pass "LOKINET=1" to the script.
- To disable the web-ui, pass "no-webui" to the script.

View File

@ -25,10 +25,10 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=XD
VERSION=${VERSION:-0.4.2}
VERSION=${VERSION:-0.4.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
TAG=${TAG:-_shldwlr}
PKGTYPE=${PKGTYPE:-txz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@ -48,7 +48,7 @@ fi
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
OUTPUT=${OUTPUT:-/blds}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
@ -60,8 +60,8 @@ elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
fi
set -e

View File

@ -1,8 +1,8 @@
PRGNAM="XD"
VERSION="0.4.2"
VERSION="0.4.3"
HOMEPAGE="https://github.com/majestrate/XD"
DOWNLOAD="https://github.com/majestrate/XD/archive/v0.4.2/XD-0.4.2.tar.gz"
MD5SUM="9de5e84d190c2e6cbe7fd0972e0b4eb8"
DOWNLOAD="https://github.com/majestrate/XD/archive/v0.4.3/XD-0.4.3.tar.gz"
MD5SUM="cb3a0b44eda0d0c785a2a308fb185127"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="google-go-lang"

View File

@ -1 +0,0 @@
freealut is a free implementation of OpenAL's ALUT standard.

View File

@ -1,111 +0,0 @@
#!/bin/bash
#
# Slackware build script for freealut
#
# Copyright 2009 Erik W. Hanson, Minneapolis, 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)
PRGNAM=freealut
VERSION=${VERSION:-1.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_notponce}
PKGTYPE=${PKGTYPE:-txz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
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:-/mmc/sbopkg/tmp}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/mmc/sbopkg/output/}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX="64"
fi
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP || exit 1
rm -rf freealut-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
cd freealut-$VERSION || exit 1
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 {} \;
cp /usr/share/automake-1.16/config.sub $TMP/freealut-1.1.0/admin/autotools/config.sub
cp /usr/share/automake-1.16/config.guess $TMP/freealut-1.1.0/admin/autotools/config.guess
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var/lib \
--build=$ARCH-unknown-linux \
|| exit 1
make || exit 1
make install DESTDIR=$PKG || exit 1
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
# No man/info pages in freealut
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/freealut.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README examples/ \
$PKG/usr/doc/$PRGNAM-$VERSION
rm -rf $PKG/usr/doc/freealut-$VERSION/examples/.{deps,libs}
cp -a doc $PKG/usr/doc/$PRGNAM-$VERSION/html
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

View File

@ -1,10 +0,0 @@
PRGNAM="freealut"
VERSION="1.1.0"
HOMEPAGE="http://www.openal.org/"
DOWNLOAD="https://src.fedoraproject.org/repo/pkgs/freealut/freealut-1.1.0.tar.gz/e089b28a0267faabdb6c079ee173664a/freealut-1.1.0.tar.gz"
MD5SUM="e089b28a0267faabdb6c079ee173664a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Erik Hanson"
EMAIL="erik@slackbuilds.org"

View File

@ -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------------------------------------------------------|
freealut: freealut (The OpenAL Utility Toolkit (ALUT)
freealut:
freealut: freealut is a free implementation of OpenAL's ALUT standard.
freealut:
freealut: http://www.openal.org/
freealut:
freealut:
freealut:
freealut:
freealut:
freealut:

Binary file not shown.

View File

@ -25,10 +25,10 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=i2pd
VERSION=${VERSION:-2.42.1}
VERSION=${VERSION:-2.47.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
TAG=${TAG:-_shldwlr}
PKGTYPE=${PKGTYPE:-txz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@ -48,7 +48,7 @@ fi
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
OUTPUT=${OUTPUT:-/blds/}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
@ -60,8 +60,8 @@ elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
fi
set -e

View File

@ -1,8 +1,8 @@
PRGNAM="i2pd"
VERSION="2.42.1"
VERSION="2.47.0"
HOMEPAGE="http://i2pd.website/"
DOWNLOAD="https://github.com/PurpleI2P/i2pd/archive/2.42.1/i2pd-2.42.1.tar.gz"
MD5SUM="3ec84ba543838f711ec07e69d5ef6b49"
DOWNLOAD="https://github.com/PurpleI2P/i2pd/archive/2.47.0/i2pd-2.47.0.tar.gz"
MD5SUM="e7f381272ea1116ac7522f75d5736801"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""

View File

@ -1,3 +0,0 @@
The dynamite library is needed by tools to be capable of squeezing
out juicy .cab files from self-extracting installation programs
created by the Setup Factory installation program.

View File

@ -1,98 +0,0 @@
#!/bin/bash
# Slackware build script for libdynamite
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libdynamite
VERSION=${VERSION:-0.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_notponce}
PKGTYPE=${PKGTYPE:-txz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
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:-/mmc/sbopkg/tmp}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/mmc/sbopkg/output}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX="64"
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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
cp /usr/share/automake-1.16/config.guess $TMP/libdynamite-0.1.1/config.guess
cp /usr/share/automake-1.16/config.sub $TMP/libdynamite-0.1.1/config.sub
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
make
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 || true
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
ChangeLog LICENSE \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
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

View File

@ -1,94 +0,0 @@
#!/bin/bash
# Slackware build script for libdynamite
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libdynamite
VERSION=${VERSION:-0.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
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 [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
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 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/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
make
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 || true
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
ChangeLog LICENSE \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
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

View File

@ -1,10 +0,0 @@
PRGNAM="libdynamite"
VERSION="0.1.1"
HOMEPAGE="https://sourceforge.net/projects/synce"
DOWNLOAD="https://downloads.sourceforge.net/project/synce/Dynamite/0.1.1/libdynamite-0.1.1.tar.gz"
MD5SUM="238bf243dba2166a2e0e141b18065235"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="David Somero"
EMAIL="dsomero@hotmail.com"

View File

@ -1,10 +0,0 @@
PRGNAM="libdynamite"
VERSION="0.1.1"
HOMEPAGE="https://sourceforge.net/projects/synce"
DOWNLOAD="https://downloads.sourceforge.net/project/synce/Dynamite/0.1.1/libdynamite-0.1.1.tar.gz"
MD5SUM="238bf243dba2166a2e0e141b18065235"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="David Somero"
EMAIL="dsomero@hotmail.com"

View File

@ -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------------------------------------------------------|
libdynamite: libdynamite (cab extractor)
libdynamite:
libdynamite: The dynamite library is needed by tools to be capable of squeezing
libdynamite: out juicy .cab files from self-extracting installation programs
libdynamite: created by the Setup Factory installation program.
libdynamite:
libdynamite:
libdynamite:
libdynamite:
libdynamite:
libdynamite:

View File

@ -1,6 +0,0 @@
Lua is a free software light-weight programming language designed
for extending applications. Lua is also frequently used as a
general-purpose, stand-alone scripting language.
This package is for the version 5.1.x of lua, the one compatible
with the software that needs lua on slackbuilds.org.

View File

@ -1,109 +0,0 @@
#!/bin/sh
# Slackware build script for Lua
# Written by Menno Duursma
# Modified by the SlackBuilds.org project
# Modified by Aaron W. Hsu
# Updated by Matteo Bernardini
# This program is free software. It comes without any warranty.
# Granted WTFPL, Version 2, as published by Sam Hocevar. See
# http://sam.zoy.org/wtfpl/COPYING for more details.
PRGNAM=lua
VERSION=${VERSION:-5.1.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_notponce}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/blds}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2 -march=armv8-a -mtune=cortex-a53 -fPIC -DPIC"
LIBDIRSUFFIX="64"
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 .
# Fix up a to-be-installed header and the pkgconfig file
sed -i "s|/usr/local|/usr|" src/luaconf.h
sed -i "s|lib/lua|lib$LIBDIRSUFFIX/lua|" src/luaconf.h
sed -i "s|/usr/local|/usr|" etc/lua.pc
sed -i "s|prefix}/lib|prefix}/lib${LIBDIRSUFFIX}|g" etc/lua.pc
make linux \
CFLAGS="$SLKCFLAGS \$(MYCFLAGS)" \
INSTALL_TOP=/usr \
INSTALL_LIB=/usr/lib${LIBDIRSUFFIX} \
INSTALL_LMOD=/usr/share/lua/5.1 \
INSTALL_CMOD=/usr/lib${LIBDIRSUFFIX}/lua/5.1
make linux install \
CFLAGS="$SLKCFLAGS \$(MYCFLAGS)" \
INSTALL_TOP=$PKG/usr \
INSTALL_LIB=$PKG/usr/lib${LIBDIRSUFFIX} \
INSTALL_LMOD=$PKG/usr/share/lua/5.1 \
INSTALL_CMOD=$PKG/usr/lib${LIBDIRSUFFIX}/lua/5.1
# Now let's build the shared library
mkdir -p shared
cd shared
ar -x $PKG/usr/lib${LIBDIRSUFFIX}/liblua.a
gcc -ldl -lreadline -lhistory -lncurses -lm -shared *.o -o liblua.so.$VERSION
cp -a liblua.so.$VERSION $PKG/usr/lib${LIBDIRSUFFIX}
( cd $PKG/usr/lib${LIBDIRSUFFIX}
ln -s liblua.so.$VERSION liblua.so.5.1
ln -s liblua.so.$VERSION liblua.so.5
ln -s liblua.so.$VERSION liblua.so
)
cd ..
# and install the pkgconfig file
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig
cat etc/lua.pc > $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/lua.pc
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/{extras,html}
cp -a COPYRIGHT HISTORY INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
cp -a doc/*.html doc/logo.gif doc/lua.css $PKG/usr/doc/$PRGNAM-$VERSION/html
cp -a etc test $PKG/usr/doc/$PRGNAM-$VERSION/extras
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
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:-tgz}

View File

@ -1,10 +0,0 @@
PRGNAM="lua"
VERSION="5.1.5"
HOMEPAGE="http://www.lua.org"
DOWNLOAD="http://www.lua.org/ftp/lua-5.1.5.tar.gz"
MD5SUM="2e115fe26e435e33b0d5c022e4490567"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Matteo Bernardini"
EMAIL="ponce@slackbuilds.org"

View File

@ -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------------------------------------------------------|
lua: lua (a powerful, fast, light-weight, embeddable scripting language)
lua:
lua: Lua combines simple procedural syntax with powerful data description
lua: constructs based on associative arrays and extensible semantics.
lua: Lua is dynamically typed, runs by interpreting bytecode for a
lua: register-based virtual machine, and has automatic memory management
lua: with incremental garbage collection, making it ideal for
lua: configuration, scripting, and rapid prototyping.
lua:
lua:
lua:

View File

@ -1,7 +0,0 @@
The Structured Terminal Forms Language/Library
STFL is a library which implements a curses-based widget set for text
terminals. The STFL API can be used from C, SPL, Python, Perl and
Ruby and has only 14 simple function calls.
spl is an optional dependency.

View File

@ -1,13 +0,0 @@
diff -Nur stfl-0.22.orig//Makefile stfl-0.22/Makefile
--- stfl-0.22.orig//Makefile 2009-06-19 12:30:52.000000000 -0500
+++ stfl-0.22/Makefile 2011-01-11 22:21:10.623044411 -0600
@@ -21,7 +21,8 @@
include Makefile.cfg
export CC = gcc -pthread
-export CFLAGS += -I. -Wall -Os -ggdb -D_GNU_SOURCE -fPIC
+OPTS = -Os
+export CFLAGS += -I. -Wall $(OPTS) -ggdb -D_GNU_SOURCE -fPIC
export LDLIBS += -lncursesw
SONAME := libstfl.so.0

View File

@ -1,106 +0,0 @@
diff -Nur stfl-0.24/Makefile stfl-0.24-py3/Makefile
--- stfl-0.24/Makefile 2015-02-12 05:14:33.000000000 -0800
+++ stfl-0.24-py3/Makefile 2018-03-18 20:44:29.103012040 -0700
@@ -48,6 +48,8 @@
rm -f perl5/stfl_wrap.c perl5/stfl.pm perl5/build_ok
rm -f python/stfl.py python/stfl.pyc python/_stfl.so
rm -f python/stfl_wrap.c python/stfl_wrap.o
+ rm -f python3/stfl.py python3/stfl.pyc python3/_stfl.so
+ rm -f python3/stfl_wrap.c python3/stfl_wrap.o
rm -f ruby/Makefile ruby/stfl_wrap.c ruby/stfl_wrap.o
rm -f ruby/stfl.so ruby/build_ok Makefile.deps_new
rm -f stfl.pc libstfl.so libstfl.so.*
@@ -81,6 +83,10 @@
include python/Makefile.snippet
endif
+ifeq ($(FOUND_SWIG)$(FOUND_PYTHON3),11)
+include python3/Makefile.snippet
+endif
+
ifeq ($(FOUND_SWIG)$(FOUND_RUBY),11)
include ruby/Makefile.snippet
endif
diff -Nur stfl-0.24/Makefile.cfg stfl-0.24-py3/Makefile.cfg
--- stfl-0.24/Makefile.cfg 2009-05-31 11:20:39.000000000 -0700
+++ stfl-0.24-py3/Makefile.cfg 2018-03-18 20:59:24.365022626 -0700
@@ -46,6 +46,12 @@
FOUND_PYTHON = 0
endif
+ifneq ($(shell python3 -c 'print(1)' 2>/dev/null),)
+FOUND_PYTHON3 = 1
+else
+FOUND_PYTHON3 = 0
+endif
+
ifneq ($(shell ruby -e 'puts 1' 2>/dev/null),)
FOUND_RUBY = 1
else
diff -Nur stfl-0.24/python/Makefile.snippet stfl-0.24-py3/python/Makefile.snippet
--- stfl-0.24/python/Makefile.snippet 2009-06-18 01:27:16.000000000 -0700
+++ stfl-0.24-py3/python/Makefile.snippet 2018-03-18 21:04:57.805026569 -0700
@@ -33,8 +33,7 @@
install_python: python/_stfl.so python/stfl.py python/stfl.pyc
mkdir -p $(DESTDIR)$(PYTHON_SITEARCH)/
- mkdir -p $(DESTDIR)$(PYTHON_SITEARCH)/lib-dynload/
- cp python/_stfl.so $(DESTDIR)$(PYTHON_SITEARCH)/lib-dynload/
+ cp python/_stfl.so $(DESTDIR)$(PYTHON_SITEARCH)/
cp python/stfl.pyc $(DESTDIR)$(PYTHON_SITEARCH)/
cp python/stfl.py $(DESTDIR)$(PYTHON_SITEARCH)/
diff -Nur stfl-0.24/python3/Makefile.snippet stfl-0.24-py3/python3/Makefile.snippet
--- stfl-0.24/python3/Makefile.snippet 2018-03-18 21:02:25.523024769 -0700
+++ stfl-0.24-py3/python3/Makefile.snippet 2018-03-18 20:56:37.624020655 -0700
@@ -18,23 +18,22 @@
# MA 02110-1301 USA
#
-PYTHON_VERSION = $(shell python -V 2>&1 | cut -f2 -d' ' | cut -f1-2 -d'.')
-PYTHON_SITEARCH = $(shell python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")
+PYTHON3_VERSION = $(shell python3 -V 2>&1 | cut -f2 -d' ' | cut -f1-2 -d'.')
+PYTHON3_SITEARCH = $(shell python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")
-all: python/_stfl.so python/stfl.py python/stfl.pyc
+all: python3/_stfl.so python3/stfl.py python3/stfl.pyc
-install: install_python
+install: install_python3
-python/_stfl.so python/stfl.py python/stfl.pyc: libstfl.a stfl.h python/stfl.i swig/*.i
- cd python && swig -python -threads stfl.i
- gcc -shared -pthread -fPIC python/stfl_wrap.c -I/usr/include/python$(PYTHON_VERSION) \
- -I. libstfl.a -lncursesw -o python/_stfl.so
- cd python && python -c 'import stfl'
-
-install_python: python/_stfl.so python/stfl.py python/stfl.pyc
- mkdir -p $(DESTDIR)$(PYTHON_SITEARCH)/
- mkdir -p $(DESTDIR)$(PYTHON_SITEARCH)/lib-dynload/
- cp python/_stfl.so $(DESTDIR)$(PYTHON_SITEARCH)/lib-dynload/
- cp python/stfl.pyc $(DESTDIR)$(PYTHON_SITEARCH)/
- cp python/stfl.py $(DESTDIR)$(PYTHON_SITEARCH)/
+python3/_stfl.so python3/stfl.py python3/stfl.pyc: libstfl.a stfl.h python3/stfl.i swig/*.i
+ cd python3 && swig -python -threads stfl.i
+ gcc -shared -pthread -fPIC python3/stfl_wrap.c -I$(shell python3 -c "from distutils.sysconfig import get_python_inc ; print(get_python_inc())") \
+ -I. libstfl.a -lncursesw -o python3/_stfl.so
+ cd python3 && python3 -c 'import stfl'
+
+install_python3: python3/_stfl.so python3/stfl.py python3/stfl.pyc
+ mkdir -p $(DESTDIR)$(PYTHON3_SITEARCH)/
+ cp python3/_stfl.so $(DESTDIR)$(PYTHON3_SITEARCH)/
+ cp -r python3/__pycache__ $(DESTDIR)$(PYTHON3_SITEARCH)/
+ cp python3/stfl.py $(DESTDIR)$(PYTHON3_SITEARCH)/
diff -Nur stfl-0.24/python3/example.py stfl-0.24-py3/python3/example.py
--- stfl-0.24/python3/example.py 2018-03-18 21:02:25.523024769 -0700
+++ stfl-0.24-py3/python3/example.py 2018-03-18 20:38:11.053007569 -0700
@@ -52,7 +52,7 @@
if __name__=="__main__":
if len(sys.argv) not in [2,3]:
- print "Usage: %s file.csv [delimiter]"%sys.argv[0]
+ print("Usage: %s file.csv [delimiter]"%sys.argv[0])
sys.exit(1)
c=CSV(sys.argv[1], len(sys.argv)==3 and sys.argv[2] or ",")

View File

@ -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------------------------------------------------------|
stfl: stfl (the Structured Terminal Forms Language/Library)
stfl:
stfl: STFL is a library which implements a curses-based widget set for text
stfl: terminals. The STFL API can be used from C, SPL, Python, Perl and
stfl: Ruby. The public STFL API is only 14 simple function calls big and and
stfl: there are already generic SWIG bindings. Thus it is very easy to port
stfl: to additional scripting languages.
stfl:
stfl: Homepage: http://www.clifford.at/stfl/
stfl:
stfl:

View File

@ -1,92 +0,0 @@
#!/bin/sh
# Slackware build script for stfl
# Originally written by slakmagik <jsun@freeshell.org>
# Maintained by Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# Released under the WTFPL
PRGNAM=stfl
VERSION=${VERSION:-0.24}
BUILD=${BUILD:-2}
TAG=${TAG:-_notponce}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
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"
else
SLKCFLAGS="-O2 -march=armv8-a -mtune=cortex-a53 -fPIC -DPIC"
LIBDIRSUFFIX="64"
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 {} \;
# Allow custom options in Makefile
patch -p1 < $CWD/allow-custom-opts-in-Makefile.patch
# Add proper Python 2/3 support
cp -r python python3
patch -p1 < $CWD/python-support.patch
make install \
OPTS="$SLKCFLAGS" \
prefix=/usr \
mandir=/usr/man \
libdir=lib${LIBDIRSUFFIX} \
DESTDIR=$PKG \
-j 1
find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
find $PKG -depth -type d -empty -delete || true
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
# make installs an example for perl in the lib path
rm $PKG/usr/lib${LIBDIRSUFFIX}/perl5/vendor_perl/example*.pl
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# install all examples into the doc directory
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/examples
cp -a \
example.{c,stfl} perl5/example*.pl python/example*.* ruby/example*.rb \
$PKG/usr/doc/$PRGNAM-$VERSION/examples
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:-tgz}

View File

@ -1,10 +0,0 @@
PRGNAM="stfl"
VERSION="0.24"
HOMEPAGE="http://www.clifford.at/stfl/"
DOWNLOAD="http://www.clifford.at/stfl/stfl-0.24.tar.gz"
MD5SUM="98c764ccc8f13ed05ea22559d7116b96"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python3"
MAINTAINER="Benjamin Trigona-Harany"
EMAIL="slackbuilds@jaxartes.net"

View File

@ -1,21 +0,0 @@
The Synthesis ToolKit in C++ (STK) is a set of open source audio
signal processing and algorithmic synthesis classes written in the
C++ programming language. STK was designed to facilitate rapid
development of music synthesis and audio processing software, with
an emphasis on cross-platform functionality, realtime control,
ease of use, and educational example code.
Optional dependencies:
* oss, for OSS audio API support
* jack, for JACK audio API support
Build Options:
STK has 3 audio APIs to choose from, that you can control by
passing the AUDIOAPI variable value to the slackbuild.
AUDIOAPI=alsa (default, choose native ALSA API support)
AUDIOAPI=oss (choose native OSS API support, requires oss)
AUDIOAPI=jack (choose native JACK server API support, requires jack)

View File

@ -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------------------------------------------------------|
stk: stk (The Synthesis ToolKit in C++)
stk:
stk: The Synthesis ToolKit in C++ (STK) is a set of open source audio
stk: signal processing and algorithmic synthesis classes written in the
stk: C++ programming language. STK was designed to facilitate rapid
stk: development of music synthesis and audio processing software, with
stk: an emphasis on cross-platform functionality, realtime control,
stk: ease of use, and educational example code.
stk:
stk: https://ccrma.stanford.edu/software/stk/
stk:

View File

@ -1,125 +0,0 @@
#!/bin/sh
# Slackware build script for STK
# Copyright 2013 Gabriel Magno, Belo Horizonte, MG, Brazil
# 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.
PRGNAM=stk
VERSION=${VERSION:-4.4.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_ponce}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
CWD=$(pwd)
TMP=${TMP:-/bob/sbopkg/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/bob/sbopkg/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2 -march=armv8-a -mtune=cortex-a72 -fPIC -DPIC"
LIBDIRSUFFIX="64"
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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
# Determine which audio API to use.
# Possible values for PROFILE: alsa, oss, jack.
AUDIOAPI=${AUDIOAPI:-jack}
cp /usr/share/automake-1.16/config.guess /bob/sbopkg/tmp/stk-4.4.4/config/config.guess
cp /usr/share/automake-1.16/config.sub /bob/sbopkg/tmp/stk-4.4.4/config/config.sub
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--with-${AUDIOAPI} \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
# Compile only the library files (both static and dynamic)
# Seems our flags are ignored
sed -i "s|-O3|$SLKCFLAGS|" src/Makefile
cd src
make libstk.a
make libstk.so
# The Makefile does not provide an install option, so we have to manually copy files
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}
mkdir -p $PKG/usr/include/$PRGNAM
mkdir -p $PKG/usr/share/$PRGNAM/tools
cp -a libstk.* $PKG/usr/lib${LIBDIRSUFFIX}/
cp -a ../include/* $PKG/usr/include/$PRGNAM/
cp -a ../rawwaves $PKG/usr/share/$PRGNAM
cp -a ../bin/treesed $PKG/usr/share/$PRGNAM/tools/
cd -
# Add a missing link
( cd $PKG/usr/lib${LIBDIRSUFFIX} ; ln -s libstk.so.4.4.4 libstk.so.4 )
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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
INSTALL README doc/* \
$PKG/usr/doc/$PRGNAM-$VERSION
find $PKG/usr/doc/$PRGNAM-$VERSION -iname "README-*.txt" -not -iname "*Linux*" -exec rm -f {} \;
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
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:-tgz}

View File

@ -1,10 +0,0 @@
PRGNAM="stk"
VERSION="4.4.4"
HOMEPAGE="https://ccrma.stanford.edu/software/stk/"
DOWNLOAD="http://ccrma.stanford.edu/software/stk/release/stk-4.4.4.tar.gz"
MD5SUM="66646cb1117eee2d767c4571cc51a8c3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Gabriel Magno"
EMAIL="gabrielmagno1@gmail.com"

Binary file not shown.

View File

@ -1,7 +0,0 @@
TiEmu is a multi-platform emulator for TI89 / TI89 Titanium / TI92 /
TI92+ / V200PLT hand-helds.
TiEmu does not emulate TI82, 83, ... hand-helds but TiLem does.
TiEmu requires a ROM for your calculator. A GPL'd ROM called PedroM
is included.

View File

@ -1,9 +0,0 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
fi
fi

View File

@ -1,487 +0,0 @@
# This patch is based on the Ubuntu patch for TiEmu 3.02, see
# http://packages.ubuntu.com/de/oneiric/tiemu
diff -purN tiemu-3.03.orig/src/gui/calc/calc.c tiemu-3.03/src/gui/calc/calc.c
--- tiemu-3.03.orig/src/gui/calc/calc.c 2007-12-16 16:29:16.000000000 +0100
+++ tiemu-3.03/src/gui/calc/calc.c 2011-11-04 23:11:40.000000000 +0100
@@ -313,7 +313,7 @@ on_drawingarea1_expose_event (
{
gdk_draw_pixmap(
widget->window,
- widget->style->fg_gc[GTK_WIDGET_STATE (widget)],
+ widget->style->fg_gc[gtk_widget_get_state (widget)],
pixmap,
event->area.x, event->area.y,
event->area.x, event->area.y,
@@ -586,7 +586,7 @@ int hid_init(void)
// Install LCD refresh: 100 FPS (10 ms)
tid = g_timeout_add((params.lcd_rate == -1) ? 50 : params.lcd_rate,
- (GtkFunction)hid_refresh, NULL);
+ (GSourceFunc)hid_refresh, NULL);
explicit_destroy = 0;
gtk_widget_show(main_wnd); // show wnd here
@@ -640,7 +640,7 @@ void hid_lcd_rate_set(void)
g_source_remove(tid);
tid = g_timeout_add((params.lcd_rate == -1) ? 50 : params.lcd_rate,
- (GtkFunction)hid_refresh, NULL);
+ (GSourceFunc)hid_refresh, NULL);
}
int hid_switch_with_skin(void)
diff -purN tiemu-3.03.orig/src/gui/calc/popup.c tiemu-3.03/src/gui/calc/popup.c
--- tiemu-3.03.orig/src/gui/calc/popup.c 2009-05-08 22:43:47.000000000 +0200
+++ tiemu-3.03/src/gui/calc/popup.c 2011-11-04 22:45:28.000000000 +0100
@@ -26,7 +26,9 @@
# include <config.h>
#endif
+#undef GTK_DISABLE_DEPRECATED
#include <gtk/gtk.h>
+#define GTK_DISABLE_DEPRECATED
#include <glade/glade.h>
#include <stdlib.h>
#include <string.h>
diff -purN tiemu-3.03.orig/src/gui/calc/screen.c tiemu-3.03/src/gui/calc/screen.c
--- tiemu-3.03.orig/src/gui/calc/screen.c 2006-11-06 18:18:51.000000000 +0100
+++ tiemu-3.03/src/gui/calc/screen.c 2011-11-04 23:12:09.000000000 +0100
@@ -187,7 +187,7 @@ void redraw_skin(void)
skin_infos.image = gdk_pixbuf_scale_simple(skin_infos.raw, wr.wr.w, wr.wr.h, GDK_INTERP_NEAREST);
// and draw image into pixmap (next, into window on expose event)
- gdk_draw_pixbuf(pixmap, main_wnd->style->fg_gc[GTK_WIDGET_STATE(main_wnd)],
+ gdk_draw_pixbuf(pixmap, main_wnd->style->fg_gc[gtk_widget_get_state(main_wnd)],
skin_infos.image, 0, 0, 0, 0, -1, -1, GDK_RGB_DITHER_NONE, 0, 0);
gdk_window_invalidate_rect(main_wnd->window, &wr.gr, FALSE);
}
@@ -204,7 +204,7 @@ void redraw_lcd(void)
gdk_pixbuf_scale_simple(skin_infos.raw, sr.w, sr.h, GDK_INTERP_NEAREST);
// and draw
- gdk_draw_pixbuf(pixmap, main_wnd->style->fg_gc[GTK_WIDGET_STATE(main_wnd)],
+ gdk_draw_pixbuf(pixmap, main_wnd->style->fg_gc[gtk_widget_get_state(main_wnd)],
skin_infos.image, ls.x, ls.y, lr.x, lr.y, lr.w, lr.h, GDK_RGB_DITHER_NONE, 0, 0);
gtk_widget_queue_draw_area(area, lr.x, lr.y, lr.w, lr.h);
}
@@ -324,7 +324,7 @@ int hid_update_lcd(void)
skin_infos.image = gdk_pixbuf_scale_simple(lcd, lr.w, lr.h, GDK_INTERP_NEAREST);
// and draw image into pixmap (next, into window on expose event)
- gdk_draw_pixbuf(pixmap, main_wnd->style->fg_gc[GTK_WIDGET_STATE(main_wnd)],
+ gdk_draw_pixbuf(pixmap, main_wnd->style->fg_gc[gtk_widget_get_state(main_wnd)],
skin_infos.image, src.x, src.y, lr.x, lr.y, src.w, src.h,
GDK_RGB_DITHER_NONE, 0, 0);
gtk_widget_queue_draw_area(area, lr.x, lr.y, src.w, src.h);
@@ -332,7 +332,7 @@ int hid_update_lcd(void)
else
{
// and draw image into pixmap (next, into window on expose event)
- gdk_draw_pixbuf(pixmap, main_wnd->style->fg_gc[GTK_WIDGET_STATE(main_wnd)],
+ gdk_draw_pixbuf(pixmap, main_wnd->style->fg_gc[gtk_widget_get_state(main_wnd)],
lcd_mem, src.x, src.y, lr.x, lr.y, src.w, src.h,
GDK_RGB_DITHER_NONE, 0, 0);
gtk_widget_queue_draw_area(area, lr.x, lr.y, src.w, src.h);
diff -purN tiemu-3.03.orig/src/gui/debugger/dbg_all.c tiemu-3.03/src/gui/debugger/dbg_all.c
--- tiemu-3.03.orig/src/gui/debugger/dbg_all.c 2009-05-08 12:56:40.000000000 +0200
+++ tiemu-3.03/src/gui/debugger/dbg_all.c 2011-11-04 22:46:29.000000000 +0100
@@ -90,21 +90,21 @@ void gtk_debugger_refresh(void)
{
WND_TMR_START();
- if(options3.dbg_dock || GTK_WIDGET_VISIBLE(dbgw.regs))
+ if(options3.dbg_dock || gtk_widget_get_visible(dbgw.regs))
dbgregs_refresh_window();
- if(options3.dbg_dock || GTK_WIDGET_VISIBLE(dbgw.mem))
+ if(options3.dbg_dock || gtk_widget_get_visible(dbgw.mem))
dbgmem_refresh_window();
- if(options3.dbg_dock || GTK_WIDGET_VISIBLE(dbgw.bkpts))
+ if(options3.dbg_dock || gtk_widget_get_visible(dbgw.bkpts))
dbgbkpts_refresh_window();
- if(options3.dbg_dock || GTK_WIDGET_VISIBLE(dbgw.pclog))
+ if(options3.dbg_dock || gtk_widget_get_visible(dbgw.pclog))
dbgpclog_refresh_window();
- if(options3.dbg_dock || GTK_WIDGET_VISIBLE(dbgw.code))
+ if(options3.dbg_dock || gtk_widget_get_visible(dbgw.code))
dbgcode_refresh_window();
- if(options3.dbg_dock || GTK_WIDGET_VISIBLE(dbgw.stack))
+ if(options3.dbg_dock || gtk_widget_get_visible(dbgw.stack))
dbgstack_refresh_window();
- if(options3.dbg_dock || GTK_WIDGET_VISIBLE(dbgw.heap))
+ if(options3.dbg_dock || gtk_widget_get_visible(dbgw.heap))
dbgheap_refresh_window();
- if(options3.dbg_dock || GTK_WIDGET_VISIBLE(dbgw.iop))
+ if(options3.dbg_dock || gtk_widget_get_visible(dbgw.iop))
dbgiop_refresh_window();
WND_TMR_STOP("Debugger Refresh Time");
@@ -163,7 +163,7 @@ int gtk_debugger_enter(int context)
gtk_debugger_refresh();
// enable the debugger if GDB disabled it
- if (!options3.dbg_dock && !GTK_WIDGET_SENSITIVE(dbgw.regs))
+ if (!options3.dbg_dock && !gtk_widget_get_sensitive(dbgw.regs))
gtk_debugger_enable();
// handle automatic debugging requests
@@ -180,7 +180,7 @@ int gtk_debugger_enter(int context)
ti68k_bkpt_get_pgmentry_offset(id, &handle, &offset);
ti68k_bkpt_del_pgmentry(handle);
- if(options3.dbg_dock || GTK_WIDGET_VISIBLE(dbgw.bkpts))
+ if(options3.dbg_dock || gtk_widget_get_visible(dbgw.bkpts))
dbgbkpts_refresh_window();
delete_command(NULL, 0);
diff -purN tiemu-3.03.orig/src/gui/debugger/dbg_bkpts.c tiemu-3.03/src/gui/debugger/dbg_bkpts.c
--- tiemu-3.03.orig/src/gui/debugger/dbg_bkpts.c 2009-05-06 21:48:47.000000000 +0200
+++ tiemu-3.03/src/gui/debugger/dbg_bkpts.c 2011-11-04 22:46:29.000000000 +0100
@@ -388,7 +388,7 @@ GtkWidget* dbgbkpts_display_window(void)
gtk_window_iconify(GTK_WINDOW(wnd));
#endif
- if(!GTK_WIDGET_VISIBLE(dbgw.bkpts) && !options3.bkpts.closed)
+ if(!gtk_widget_get_visible(dbgw.bkpts) && !options3.bkpts.closed)
gtk_widget_show(wnd);
return wnd;
diff -purN tiemu-3.03.orig/src/gui/debugger/dbg_code.c tiemu-3.03/src/gui/debugger/dbg_code.c
--- tiemu-3.03.orig/src/gui/debugger/dbg_code.c 2009-05-06 21:48:47.000000000 +0200
+++ tiemu-3.03/src/gui/debugger/dbg_code.c 2011-11-04 22:46:29.000000000 +0100
@@ -1117,7 +1117,7 @@ void gdbcallback_refresh_debugger(void)
int dbgcode_quit_enabled(void)
{
- return GTK_WIDGET_SENSITIVE(mi.m8);
+ return gtk_widget_get_sensitive(mi.m8);
}
static int close_debugger_wrapper(gpointer data)
diff -purN tiemu-3.03.orig/src/gui/debugger/dbg_dock.c tiemu-3.03/src/gui/debugger/dbg_dock.c
--- tiemu-3.03.orig/src/gui/debugger/dbg_dock.c 2008-05-26 18:48:30.000000000 +0200
+++ tiemu-3.03/src/gui/debugger/dbg_dock.c 2011-11-04 23:05:02.000000000 +0100
@@ -151,22 +151,22 @@ void dbgdock_set_sensitivity(int state)
void dbgdock_show_all(int all)
{
- if(!GTK_WIDGET_VISIBLE(dbgw.dock) && all)
+ if(!gtk_widget_get_visible(dbgw.dock) && all)
gtk_widget_show(dbgw.dock);
- if(GTK_WIDGET_VISIBLE(dbgw.iop))
+ if(gtk_widget_get_visible(dbgw.iop))
gtk_window_iconify(GTK_WINDOW(dbgw.iop));
- if(GTK_WIDGET_VISIBLE(dbgw.pclog))
+ if(gtk_widget_get_visible(dbgw.pclog))
gtk_window_iconify(GTK_WINDOW(dbgw.pclog));
}
void dbgdock_hide_all(int all)
{
- if(GTK_WIDGET_VISIBLE(dbgw.dock) && all)
+ if(gtk_widget_get_visible(dbgw.dock) && all)
gtk_widget_hide(dbgw.dock);
- if(GTK_WIDGET_VISIBLE(dbgw.pclog))
+ if(gtk_widget_get_visible(dbgw.pclog))
gtk_widget_hide(dbgw.pclog);
- if(GTK_WIDGET_VISIBLE(dbgw.iop))
+ if(gtk_widget_get_visible(dbgw.iop))
gtk_widget_hide(dbgw.iop);
}
diff -purN tiemu-3.03.orig/src/gui/debugger/dbg_heap.c tiemu-3.03/src/gui/debugger/dbg_heap.c
--- tiemu-3.03.orig/src/gui/debugger/dbg_heap.c 2009-05-06 21:48:47.000000000 +0200
+++ tiemu-3.03/src/gui/debugger/dbg_heap.c 2011-11-04 22:46:29.000000000 +0100
@@ -171,7 +171,7 @@ GtkWidget* dbgheap_display_window(void)
gtk_window_iconify(GTK_WINDOW(dbgw.heap));
#endif
- if(!GTK_WIDGET_VISIBLE(dbgw.heap) && !options3.heap.closed)
+ if(!gtk_widget_get_visible(dbgw.heap) && !options3.heap.closed)
gtk_widget_show(dbgw.heap);
return dbgw.heap;
diff -purN tiemu-3.03.orig/src/gui/debugger/dbg_iop.c tiemu-3.03/src/gui/debugger/dbg_iop.c
--- tiemu-3.03.orig/src/gui/debugger/dbg_iop.c 2009-05-02 21:46:04.000000000 +0200
+++ tiemu-3.03/src/gui/debugger/dbg_iop.c 2011-11-04 22:46:29.000000000 +0100
@@ -455,7 +455,7 @@ GtkWidget* dbgiop_display_window(void)
gtk_window_iconify(GTK_WINDOW(dbgw.iop));
#endif
- if(!GTK_WIDGET_VISIBLE(dbgw.iop) && !options3.iop.closed)
+ if(!gtk_widget_get_visible(dbgw.iop) && !options3.iop.closed)
gtk_widget_show(dbgw.iop);
return dbgw.iop;
diff -purN tiemu-3.03.orig/src/gui/debugger/dbg_mem.c tiemu-3.03/src/gui/debugger/dbg_mem.c
--- tiemu-3.03.orig/src/gui/debugger/dbg_mem.c 2009-05-06 21:48:47.000000000 +0200
+++ tiemu-3.03/src/gui/debugger/dbg_mem.c 2011-11-04 22:46:29.000000000 +0100
@@ -435,7 +435,7 @@ GtkWidget* dbgmem_display_window(void)
gtk_window_iconify(GTK_WINDOW(dbgw.mem));
#endif
- if(!GTK_WIDGET_VISIBLE(dbgw.mem) && !options3.mem.closed)
+ if(!gtk_widget_get_visible(dbgw.mem) && !options3.mem.closed)
gtk_widget_show(dbgw.mem);
return dbgw.mem;
@@ -605,7 +605,7 @@ dbgmem_button6_clicked
GLADE_CB void
on_notebook1_switch_page (GtkNotebook *notebook,
- GtkNotebookPage *page,
+ gpointer *page,
guint page_num,
gpointer user_data)
{
diff -purN tiemu-3.03.orig/src/gui/debugger/dbg_pclog.c tiemu-3.03/src/gui/debugger/dbg_pclog.c
--- tiemu-3.03.orig/src/gui/debugger/dbg_pclog.c 2009-05-02 21:46:04.000000000 +0200
+++ tiemu-3.03/src/gui/debugger/dbg_pclog.c 2011-11-04 22:46:29.000000000 +0100
@@ -163,7 +163,7 @@ GtkWidget* dbgpclog_display_window(void)
gtk_window_iconify(GTK_WINDOW(dbgw.pclog));
#endif
- if(!GTK_WIDGET_VISIBLE(dbgw.pclog) && !options3.pclog.closed)
+ if(!gtk_widget_get_visible(dbgw.pclog) && !options3.pclog.closed)
gtk_widget_show(dbgw.pclog);
return dbgw.pclog;
diff -purN tiemu-3.03.orig/src/gui/debugger/dbg_regs.c tiemu-3.03/src/gui/debugger/dbg_regs.c
--- tiemu-3.03.orig/src/gui/debugger/dbg_regs.c 2009-05-06 21:48:47.000000000 +0200
+++ tiemu-3.03/src/gui/debugger/dbg_regs.c 2011-11-04 22:46:29.000000000 +0100
@@ -302,7 +302,7 @@ GtkWidget* dbgregs_display_window(void)
gtk_window_iconify(GTK_WINDOW(dbgw.regs));
#endif
- if(!GTK_WIDGET_VISIBLE(dbgw.regs) && !options3.regs.closed)
+ if(!gtk_widget_get_visible(dbgw.regs) && !options3.regs.closed)
gtk_widget_show(dbgw.regs);
return dbgw.regs;
diff -purN tiemu-3.03.orig/src/gui/debugger/dbg_romcall.c tiemu-3.03/src/gui/debugger/dbg_romcall.c
--- tiemu-3.03.orig/src/gui/debugger/dbg_romcall.c 2007-07-05 13:36:10.000000000 +0200
+++ tiemu-3.03/src/gui/debugger/dbg_romcall.c 2011-11-04 22:46:29.000000000 +0100
@@ -29,7 +29,9 @@
# include <config.h>
#endif
-#include <gtk/gtk.h>
+#undef GTK_DISABLE_DEPRECATED
+ #include <gtk/gtk.h>
+#define GTK_DISABLE_DEPRECATED
#include <glade/glade.h>
#include <string.h>
diff -purN tiemu-3.03.orig/src/gui/debugger/dbg_stack.c tiemu-3.03/src/gui/debugger/dbg_stack.c
--- tiemu-3.03.orig/src/gui/debugger/dbg_stack.c 2009-05-06 21:48:47.000000000 +0200
+++ tiemu-3.03/src/gui/debugger/dbg_stack.c 2011-11-04 22:46:29.000000000 +0100
@@ -197,7 +197,7 @@ GtkWidget* dbgstack_display_window(void)
gtk_window_iconify(GTK_WINDOW(dbgw.stack));
#endif
- if(!GTK_WIDGET_VISIBLE(dbgw.stack) && !options3.stack.closed)
+ if(!gtk_widget_get_visible(dbgw.stack) && !options3.stack.closed)
gtk_widget_show(dbgw.stack);
return dbgw.stack;
diff -purN tiemu-3.03.orig/src/gui/debugger/dbg_wnds.c tiemu-3.03/src/gui/debugger/dbg_wnds.c
--- tiemu-3.03.orig/src/gui/debugger/dbg_wnds.c 2009-05-07 09:18:02.000000000 +0200
+++ tiemu-3.03/src/gui/debugger/dbg_wnds.c 2011-11-04 23:07:54.000000000 +0100
@@ -74,21 +74,21 @@ void dbgwnds_minimize_all(int all)
if(options3.dbg_dock)
return;
- if(GTK_WIDGET_VISIBLE(dbgw.regs))
+ if(gtk_widget_get_visible(dbgw.regs))
gtk_window_iconify(GTK_WINDOW(dbgw.regs));
- if(GTK_WIDGET_VISIBLE(dbgw.bkpts))
+ if(gtk_widget_get_visible(dbgw.bkpts))
gtk_window_iconify(GTK_WINDOW(dbgw.bkpts));
- if(GTK_WIDGET_VISIBLE(dbgw.mem))
+ if(gtk_widget_get_visible(dbgw.mem))
gtk_window_iconify(GTK_WINDOW(dbgw.mem));
- if(GTK_WIDGET_VISIBLE(dbgw.pclog))
+ if(gtk_widget_get_visible(dbgw.pclog))
gtk_window_iconify(GTK_WINDOW(dbgw.pclog));
- if(GTK_WIDGET_VISIBLE(dbgw.code) & all)
+ if(gtk_widget_get_visible(dbgw.code) & all)
gtk_window_iconify(GTK_WINDOW(dbgw.code));
- if(GTK_WIDGET_VISIBLE(dbgw.stack))
+ if(gtk_widget_get_visible(dbgw.stack))
gtk_window_iconify(GTK_WINDOW(dbgw.stack));
- if(GTK_WIDGET_VISIBLE(dbgw.heap))
+ if(gtk_widget_get_visible(dbgw.heap))
gtk_window_iconify(GTK_WINDOW(dbgw.heap));
- if(GTK_WIDGET_VISIBLE(dbgw.iop))
+ if(gtk_widget_get_visible(dbgw.iop))
gtk_window_iconify(GTK_WINDOW(dbgw.iop));
}
@@ -98,21 +98,21 @@ void dbgwnds_unminimize_all(int all)
if(options3.dbg_dock)
return;
- if(GTK_WIDGET_VISIBLE(dbgw.regs))
+ if(gtk_widget_get_visible(dbgw.regs))
gtk_window_deiconify(GTK_WINDOW(dbgw.regs));
- if(GTK_WIDGET_VISIBLE(dbgw.bkpts))
+ if(gtk_widget_get_visible(dbgw.bkpts))
gtk_window_deiconify(GTK_WINDOW(dbgw.bkpts));
- if(GTK_WIDGET_VISIBLE(dbgw.mem))
+ if(gtk_widget_get_visible(dbgw.mem))
gtk_window_deiconify(GTK_WINDOW(dbgw.mem));
- if(GTK_WIDGET_VISIBLE(dbgw.pclog))
+ if(gtk_widget_get_visible(dbgw.pclog))
gtk_window_deiconify(GTK_WINDOW(dbgw.pclog));
- if(GTK_WIDGET_VISIBLE(dbgw.code) & all)
+ if(gtk_widget_get_visible(dbgw.code) & all)
gtk_window_deiconify(GTK_WINDOW(dbgw.code));
- if(GTK_WIDGET_VISIBLE(dbgw.stack))
+ if(gtk_widget_get_visible(dbgw.stack))
gtk_window_deiconify(GTK_WINDOW(dbgw.stack));
- if(GTK_WIDGET_VISIBLE(dbgw.heap))
+ if(gtk_widget_get_visible(dbgw.heap))
gtk_window_deiconify(GTK_WINDOW(dbgw.heap));
- if(GTK_WIDGET_VISIBLE(dbgw.iop))
+ if(gtk_widget_get_visible(dbgw.iop))
gtk_window_deiconify(GTK_WINDOW(dbgw.iop));
}
@@ -122,21 +122,21 @@ void dbgwnds_show_all(int all)
if(options3.dbg_dock)
return;
- if(!GTK_WIDGET_VISIBLE(dbgw.regs))
+ if(!gtk_widget_get_visible(dbgw.regs))
gtk_widget_show(dbgw.regs);
- if(!GTK_WIDGET_VISIBLE(dbgw.bkpts))
+ if(!gtk_widget_get_visible(dbgw.bkpts))
gtk_widget_show(dbgw.bkpts);
- if(!GTK_WIDGET_VISIBLE(dbgw.mem))
+ if(!gtk_widget_get_visible(dbgw.mem))
gtk_widget_show(dbgw.mem);
- if(!GTK_WIDGET_VISIBLE(dbgw.pclog))
+ if(!gtk_widget_get_visible(dbgw.pclog))
gtk_widget_show(dbgw.pclog);
- if(!GTK_WIDGET_VISIBLE(dbgw.code) && all)
+ if(!gtk_widget_get_visible(dbgw.code) && all)
gtk_widget_show(dbgw.code);
- if(!GTK_WIDGET_VISIBLE(dbgw.stack))
+ if(!gtk_widget_get_visible(dbgw.stack))
gtk_widget_show(dbgw.stack);
- if(!GTK_WIDGET_VISIBLE(dbgw.heap))
+ if(!gtk_widget_get_visible(dbgw.heap))
gtk_widget_show(dbgw.heap);
- if(!GTK_WIDGET_VISIBLE(dbgw.iop))
+ if(!gtk_widget_get_visible(dbgw.iop))
gtk_widget_show(dbgw.iop);
}
@@ -146,21 +146,21 @@ void dbgwnds_hide_all(int all)
if(options3.dbg_dock)
return;
- if(GTK_WIDGET_VISIBLE(dbgw.regs))
+ if(gtk_widget_get_visible(dbgw.regs))
gtk_widget_hide(dbgw.regs);
- if(GTK_WIDGET_VISIBLE(dbgw.bkpts))
+ if(gtk_widget_get_visible(dbgw.bkpts))
gtk_widget_hide(dbgw.bkpts);
- if(GTK_WIDGET_VISIBLE(dbgw.mem))
+ if(gtk_widget_get_visible(dbgw.mem))
gtk_widget_hide(dbgw.mem);
- if(GTK_WIDGET_VISIBLE(dbgw.pclog))
+ if(gtk_widget_get_visible(dbgw.pclog))
gtk_widget_hide(dbgw.pclog);
- if(GTK_WIDGET_VISIBLE(dbgw.code) && all)
+ if(gtk_widget_get_visible(dbgw.code) && all)
gtk_widget_hide(dbgw.code);
- if(GTK_WIDGET_VISIBLE(dbgw.stack))
+ if(gtk_widget_get_visible(dbgw.stack))
gtk_widget_hide(dbgw.stack);
- if(GTK_WIDGET_VISIBLE(dbgw.heap))
+ if(gtk_widget_get_visible(dbgw.heap))
gtk_widget_hide(dbgw.heap);
- if(GTK_WIDGET_VISIBLE(dbgw.iop))
+ if(gtk_widget_get_visible(dbgw.iop))
gtk_widget_hide(dbgw.iop);
}
@@ -338,7 +338,7 @@ void update_submenu(GtkWidget *widget, g
if(!options3.dbg_dock)
{
g_signal_handlers_block_by_func(GTK_OBJECT(item), on_registers1_activate, NULL);
- gtk_check_menu_item_set_active(item, GTK_WIDGET_VISIBLE(dbgw.regs));
+ gtk_check_menu_item_set_active(item, gtk_widget_get_visible(dbgw.regs));
g_signal_handlers_unblock_by_func(GTK_OBJECT(item), on_registers1_activate, NULL);
}
else
@@ -350,7 +350,7 @@ void update_submenu(GtkWidget *widget, g
if(!options3.dbg_dock)
{
g_signal_handlers_block_by_func(GTK_OBJECT(item), on_breakpoints1_activate, NULL);
- gtk_check_menu_item_set_active(item, GTK_WIDGET_VISIBLE(dbgw.bkpts));
+ gtk_check_menu_item_set_active(item, gtk_widget_get_visible(dbgw.bkpts));
g_signal_handlers_unblock_by_func(GTK_OBJECT(item), on_breakpoints1_activate, NULL);
}
else
@@ -362,7 +362,7 @@ void update_submenu(GtkWidget *widget, g
if(!options3.dbg_dock)
{
g_signal_handlers_block_by_func(GTK_OBJECT(item), on_memory1_activate, NULL);
- gtk_check_menu_item_set_active(item, GTK_WIDGET_VISIBLE(dbgw.mem));
+ gtk_check_menu_item_set_active(item, gtk_widget_get_visible(dbgw.mem));
g_signal_handlers_unblock_by_func(GTK_OBJECT(item), on_memory1_activate, NULL);
}
else
@@ -372,7 +372,7 @@ void update_submenu(GtkWidget *widget, g
elt = g_list_nth(list, 3);
item = GTK_CHECK_MENU_ITEM(elt->data);
g_signal_handlers_block_by_func(GTK_OBJECT(item), on_pc_log1_activate, NULL);
- gtk_check_menu_item_set_active(item, GTK_WIDGET_VISIBLE(dbgw.pclog));
+ gtk_check_menu_item_set_active(item, gtk_widget_get_visible(dbgw.pclog));
g_signal_handlers_unblock_by_func(GTK_OBJECT(item), on_pc_log1_activate, NULL);
// stack
@@ -381,7 +381,7 @@ void update_submenu(GtkWidget *widget, g
if(!options3.dbg_dock)
{
g_signal_handlers_block_by_func(GTK_OBJECT(item), on_stack_frame1_activate, NULL);
- gtk_check_menu_item_set_active(item, GTK_WIDGET_VISIBLE(dbgw.stack));
+ gtk_check_menu_item_set_active(item, gtk_widget_get_visible(dbgw.stack));
g_signal_handlers_unblock_by_func(GTK_OBJECT(item), on_stack_frame1_activate, NULL);
}
else
@@ -393,7 +393,7 @@ void update_submenu(GtkWidget *widget, g
if(!options3.dbg_dock)
{
g_signal_handlers_block_by_func(GTK_OBJECT(item), on_heap_frame1_activate, NULL);
- gtk_check_menu_item_set_active(item, GTK_WIDGET_VISIBLE(dbgw.heap));
+ gtk_check_menu_item_set_active(item, gtk_widget_get_visible(dbgw.heap));
g_signal_handlers_unblock_by_func(GTK_OBJECT(item), on_heap_frame1_activate, NULL);
}
else
@@ -403,7 +403,7 @@ void update_submenu(GtkWidget *widget, g
elt = g_list_nth(list, 6);
item = GTK_CHECK_MENU_ITEM(elt->data);
g_signal_handlers_block_by_func(GTK_OBJECT(item), on_ioports_frame1_activate, NULL);
- gtk_check_menu_item_set_active(item, GTK_WIDGET_VISIBLE(dbgw.iop));
+ gtk_check_menu_item_set_active(item, gtk_widget_get_visible(dbgw.iop));
g_signal_handlers_unblock_by_func(GTK_OBJECT(item), on_ioports_frame1_activate, NULL);
// dock/multi mode
diff -purN tiemu-3.03.orig/src/gui/filesel.c tiemu-3.03/src/gui/filesel.c
--- tiemu-3.03.orig/src/gui/filesel.c 2007-12-16 16:54:33.000000000 +0100
+++ tiemu-3.03/src/gui/filesel.c 2011-11-04 22:45:28.000000000 +0100
@@ -41,7 +41,9 @@
#include <stdio.h>
#include <stdlib.h>
+#undef GTK_DISABLE_DEPRECATED
#include <gtk/gtk.h>
+#define GTK_DISABLE_DEPRECATED
#include <string.h>
#ifdef __WIN32__

View File

@ -1,15 +0,0 @@
--- sysdeps.h.orig 2018-10-18 19:48:03.258705538 -0700
+++ tiemu-3.03/src/core/uae/sysdeps.h 2018-10-18 19:48:34.178704986 -0700
@@ -137,12 +137,6 @@
#define ENUMDECL typedef enum
#define ENUMNAME(name) name
-/* While we're here, make abort more useful. */
-#define abort() \
- do { \
- fprintf (stderr, "UAE: Internal error; file %s, line %d\n", __FILE__, __LINE__); \
- (abort) (); \
-} while (0)
#else
#define ENUMDECL enum
#define ENUMNAME(name) ; typedef int name

View File

@ -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------------------------------------------------------|
tiemu: tiemu (TI-89/92/V200 emulator for linux)
tiemu:
tiemu: TiEmu emulates Texas Instruments calculators TI-89/92/92+/V200PLT
tiemu: (no GDB).
tiemu:
tiemu: Homepage: http://lpg.ticalc.org/prj_tiemu/
tiemu:
tiemu:
tiemu:
tiemu:
tiemu:

View File

@ -1,113 +0,0 @@
#!/bin/sh
# Slackbuild for tiemu
# Written by shelldweller <shelldweller@beauxbead.com>
# 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.
PRGNAM=tiemu
VERSION=${VERSION:-3.03}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
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"
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-nogdb.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 {} \;
# A few necessary patches
# https://aur.archlinux.org/packages/tiemu/#comment-667308
patch -p1 < $CWD/patches/01-build-fix.patch
patch -p1 < $CWD/patches/sysdeps.patch
OPT_CFLAGS="" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--build=$ARCH-slackware-linux \
--without-kde \
--disable-gdb
make
DESTDIR=$PKG make install
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
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a ABOUT-NLS AUTHORS BUGS COPYING ChangeLog INSTALL LICENSES NEWS \
README RELEASE TODO docs/ \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc -name "Makefile" -delete
find $PKG/usr/doc -type f -exec chmod 644 {} \;
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 $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View File

@ -1,10 +0,0 @@
PRGNAM="tiemu"
VERSION="3.03"
HOMEPAGE="http://lpg.ticalc.org/prj_tiemu/"
DOWNLOAD="http://download.sourceforge.net/project/gtktiemu/tiemu-linux/TIEmu%203.03/tiemu-3.03-nogdb.tar.gz"
MD5SUM="2736440d717a0ee97cdb35189814fc93"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libticalcs2"
MAINTAINER="shelldweller"
EMAIL="shelldweller@beauxbead.com"