diff options
-rw-r--r-- | tk-togl/PKGBUILD | 42 | ||||
-rw-r--r-- | tk-togl/fix-configure.patch | 77 |
2 files changed, 0 insertions, 119 deletions
diff --git a/tk-togl/PKGBUILD b/tk-togl/PKGBUILD deleted file mode 100644 index 738475440..000000000 --- a/tk-togl/PKGBUILD +++ /dev/null @@ -1,42 +0,0 @@ -# Maintainer: Erich Eckner <arch at eckner dot net> -# Contributor: Mirko Scholz <srtlg> -pkgname=tk-togl -pkgver=2.0 -pkgrel=38 -pkgdesc="A Tcl/Tk widget for OpenGL rendering." -arch=('i686' 'pentium4' 'x86_64') -url="https://sourceforge.net/projects/togl/" -license=('BSD') -_pinned_dependencies=( - 'glibc>=2.31' - 'libGL.so=1' - 'libx11=1.8.9' - 'libxmu=1.2.1' -) -depends=(tk tcl "${_pinned_dependencies[@]}") -_pkgname=Togl -source=("${_pkgname}${pkgver}.tar.gz::https://sourceforge.net/projects/togl/files/Togl/2.0/${_pkgname}${pkgver}-src.tar.gz" - "fix-configure.patch") -sha256sums=('b7d4a90bbad3aca618d505ee99e7fd8fb04c829f63231dda2360f557ba3f7610' - '79d1519517787c1a36d3493dde915a06005633fff6fba60d88b4516fce3d0268') - -prepare() { - cd ${_pkgname}${pkgver} - patch -p1 -i "$srcdir/fix-configure.patch" -} - -build() { - cd ${_pkgname}${pkgver} - ./configure - make -} - -package() { - cd ${_pkgname}${pkgver} - make install "DESTDIR=$pkgdir" - mkdir -p "$pkgdir/usr/share/licenses/$pkgname" - ln -s /usr/lib/Togl2.0/LICENSE "$pkgdir/usr/share/licenses/$pkgname" - rm -rf "$pkgdir/usr/bin" - chmod 444 "$pkgdir/usr/lib/libToglstub2.0.a" -} - diff --git a/tk-togl/fix-configure.patch b/tk-togl/fix-configure.patch deleted file mode 100644 index b596a9b4b..000000000 --- a/tk-togl/fix-configure.patch +++ /dev/null @@ -1,77 +0,0 @@ -diff -u10 -r Togl2.0/configure Togl2.0-a/configure ---- Togl2.0/configure 2008-04-18 09:21:26.000000000 +0200 -+++ Togl2.0-a/configure 2019-10-29 12:31:38.240698522 +0100 -@@ -7211,21 +7211,21 @@ - # If Tcl was built as a framework, attempt to use - # the framework's Headers and PrivateHeaders directories - case ${TCL_DEFS} in - *TCL_FRAMEWORK*) - if test -d "${TCL_BIN_DIR}/Headers" -a -d "${TCL_BIN_DIR}/PrivateHeaders"; then - TCL_INCLUDES="-I\"${TCL_BIN_DIR}/Headers\" -I\"${TCL_BIN_DIR}/PrivateHeaders\" ${TCL_INCLUDES}"; else - TCL_INCLUDES="${TCL_INCLUDES} ${TCL_INCLUDE_SPEC} `echo "${TCL_INCLUDE_SPEC}" | sed -e 's/Headers/PrivateHeaders/'`"; fi - ;; - esac - else -- if test ! -f "${TCL_SRC_DIR}/generic/tclInt.h" ; then -+ if test ! -f "${TCL_SRC_DIR}/tclInt.h" ; then - { { echo "$as_me:$LINENO: error: Cannot find private header tclInt.h in ${TCL_SRC_DIR}" >&5 - echo "$as_me: error: Cannot find private header tclInt.h in ${TCL_SRC_DIR}" >&2;} - { (exit 1); exit 1; }; } - fi - fi - - - - - -@@ -7237,25 +7237,26 @@ - - { echo "$as_me:$LINENO: result: Using srcdir found in tclConfig.sh: ${TCL_SRC_DIR}" >&5 - echo "${ECHO_T}Using srcdir found in tclConfig.sh: ${TCL_SRC_DIR}" >&6; } - - - #TEA_PUBLIC_TK_HEADERS - - { echo "$as_me:$LINENO: checking for Tk private include files" >&5 - echo $ECHO_N "checking for Tk private include files... $ECHO_C" >&6; } - -+ TK_SRC_DIR=/usr/include - TK_SRC_DIR_NATIVE=`${CYGPATH} ${TK_SRC_DIR}` - TK_TOP_DIR_NATIVE=\"${TK_SRC_DIR_NATIVE}\" - TK_UNIX_DIR_NATIVE=\"${TK_SRC_DIR_NATIVE}/unix\" - TK_WIN_DIR_NATIVE=\"${TK_SRC_DIR_NATIVE}/win\" -- TK_GENERIC_DIR_NATIVE=\"${TK_SRC_DIR_NATIVE}/generic\" -+ TK_GENERIC_DIR_NATIVE=\"${TK_SRC_DIR_NATIVE}/tk-private/generic\" - TK_XLIB_DIR_NATIVE=\"${TK_SRC_DIR_NATIVE}/xlib\" - if test "${TEA_PLATFORM}" = "windows"; then - TK_PLATFORM_DIR_NATIVE=${TK_WIN_DIR_NATIVE} - else - TK_PLATFORM_DIR_NATIVE=${TK_UNIX_DIR_NATIVE} - fi - # We want to ensure these are substituted so as not to require - # any *_NATIVE vars be defined in the Makefile - TK_INCLUDES="-I${TK_GENERIC_DIR_NATIVE} -I${TK_PLATFORM_DIR_NATIVE}" - # Detect and add ttk subdir -@@ -7272,21 +7273,21 @@ - if test "`uname -s`" = "Darwin"; then - # If Tk was built as a framework, attempt to use - # the framework's Headers and PrivateHeaders directories - case ${TK_DEFS} in - *TK_FRAMEWORK*) - if test -d "${TK_BIN_DIR}/Headers" -a -d "${TK_BIN_DIR}/PrivateHeaders"; then - TK_INCLUDES="-I\"${TK_BIN_DIR}/Headers\" -I\"${TK_BIN_DIR}/PrivateHeaders\" ${TK_INCLUDES}"; fi - ;; - esac - else -- if test ! -f "${TK_SRC_DIR}/generic/tkInt.h" ; then -+ if test ! -f "${TK_SRC_DIR}/tk-private/generic/tkInt.h" ; then - { { echo "$as_me:$LINENO: error: Cannot find private header tkInt.h in ${TK_SRC_DIR}" >&5 - echo "$as_me: error: Cannot find private header tkInt.h in ${TK_SRC_DIR}" >&2;} - { (exit 1); exit 1; }; } - fi - fi - - - - - |