From bee27706f6940b66aad4c6c2d259dddcd03ed3b5 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Mon, 26 Jul 2021 02:03:27 -0500 Subject: development/xemacs: Removed (unmaintained @ SBo) Signed-off-by: Andrew Clemons Signed-off-by: Willy Sudiarto Raharjo --- development/xemacs/README | 8 -- development/xemacs/c11.patch | 34 --------- development/xemacs/patches/lib64.patch | 20 ----- development/xemacs/slack-desc | 19 ----- development/xemacs/xemacs.SlackBuild | 136 --------------------------------- development/xemacs/xemacs.info | 14 ---- 6 files changed, 231 deletions(-) delete mode 100644 development/xemacs/README delete mode 100644 development/xemacs/c11.patch delete mode 100644 development/xemacs/patches/lib64.patch delete mode 100644 development/xemacs/slack-desc delete mode 100644 development/xemacs/xemacs.SlackBuild delete mode 100644 development/xemacs/xemacs.info diff --git a/development/xemacs/README b/development/xemacs/README deleted file mode 100644 index e0b4fac714..0000000000 --- a/development/xemacs/README +++ /dev/null @@ -1,8 +0,0 @@ -XEmacs is a highly customizable open source text editor and app- -lication development system. It is protected under the GNU Public -License and related to other versions of Emacs, in particular GNU -Emacs. Its emphasis is on modern graphical user interface support and -an open software development model, similar to Linux. - -NOTE: If you have xemacs installed, please remove it before building -a new version. Otherwise it will fail to build. diff --git a/development/xemacs/c11.patch b/development/xemacs/c11.patch deleted file mode 100644 index d2d3741795..0000000000 --- a/development/xemacs/c11.patch +++ /dev/null @@ -1,34 +0,0 @@ ---- src/lisp.h.orig 2014-06-05 09:02:17.000000000 -0600 -+++ src/lisp.h 2015-02-09 12:30:00.000000000 -0700 -@@ -1154,6 +1154,9 @@ - - /* ------------------------ alignment definitions ------------------- */ - -+#if (defined (__STDC_VERSION__) && __STDC_VERSION__ < 201112L) || \ -+ (defined (__cplusplus) && __cplusplus < 201103L) || \ -+ (! defined (__STDC_VERSION__) && ! defined (__cplusplus)) - /* No type has a greater alignment requirement than max_align_t. - (except perhaps for types we don't use, like long double) */ - typedef union -@@ -1163,6 +1166,7 @@ - struct { void (*f)(void); } f; - struct { double d; } d; - } max_align_t; -+#endif - - /* ALIGNOF returns the required alignment of a type -- i.e. a value such - that data of this type must begin at a memory address which is a -@@ -1170,7 +1174,11 @@ - as the type itself. */ - - #ifndef ALIGNOF --# if defined (__GNUC__) && (__GNUC__ >= 2) -+# if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L -+# define ALIGNOF(type) _Alignof(type) -+# elif defined (__cplusplus) && __cplusplus >= 201103L -+# define ALIGNOF(type) alignof(type) -+# elif defined (__GNUC__) && (__GNUC__ >= 2) - /* gcc has an extension that gives us exactly what we want. */ - # define ALIGNOF(type) __alignof__ (type) - # elif ! defined (__cplusplus) - diff --git a/development/xemacs/patches/lib64.patch b/development/xemacs/patches/lib64.patch deleted file mode 100644 index 4a1ff07097..0000000000 --- a/development/xemacs/patches/lib64.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- xemacs-21.5.34/lisp/find-paths.el.old 2016-01-04 18:49:46.227528964 +0700 -+++ xemacs-21.5.34/lisp/find-paths.el 2016-01-04 18:50:32.334978047 +0700 -@@ -226,7 +226,7 @@ - roots - (file-name-as-directory - (paths-construct-path (list -- (if arch-dependent-p "lib" "share") -+ (if arch-dependent-p "lib64" "share") - emacs-program-name))) - bases - envvar default)) -@@ -276,7 +276,7 @@ - roots - (file-name-as-directory - (paths-construct-path -- (list (if arch-dependent-p "lib" "share") -+ (list (if arch-dependent-p "lib64" "share") - (construct-emacs-version-name)))) - bases - envvar default)) diff --git a/development/xemacs/slack-desc b/development/xemacs/slack-desc deleted file mode 100644 index c8c907e51f..0000000000 --- a/development/xemacs/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------------------------------------------------------| -xemacs: xemacs (XEmacs editor) -xemacs: -xemacs: Base binaries and support files for the XEmacs editor/environment. -xemacs: This version requires X libraries installed but will run in a non-X -xemacs: mode. -xemacs: -xemacs: XEmacs is a highly customizable open source text editor and app- -xemacs: lication development system. It is protected under the GNU Public -xemacs: License and related to other versions of Emacs, in particular GNU -xemacs: Emacs. Its emphasis is on modern graphical user interface support -xemacs: and an open software development model, similar to Linux. diff --git a/development/xemacs/xemacs.SlackBuild b/development/xemacs/xemacs.SlackBuild deleted file mode 100644 index aa225123bc..0000000000 --- a/development/xemacs/xemacs.SlackBuild +++ /dev/null @@ -1,136 +0,0 @@ -#!/bin/bash - -# Slackware build script for XEmacs - -# Created by Sean MacLennan -# Modified by Robby Workman for -# better consistency with existing SBo scripts... - -cd $(dirname $0) ; CWD=$(pwd) - -PRGNAM=xemacs -VERSION=${VERSION:-21.5.34} -SRCVER=21.5-b34 -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -BASE_VERSION=2.27 -EFS_VERSION=1.34 - -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 - # XEmacs will not run compiled -fPIC - 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 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -patch -p0 < $CWD/c11.patch - -# XEmacs is hardcoded to look in lib -if [ "$ARCH" = "x86_64" ]; then - patch -p1 < $CWD/patches/lib64.patch -fi - -CFLAGS="$SLKCFLAGS" \ - ./configure \ - --prefix=/usr \ - --libdir=/usr/lib$LIBDIRSUFFIX \ - --datadir=/usr/lib${LIBDIRSUFFIX} \ - --with-sound=none \ - --with-jpeg \ - --with-png \ - --with-tiff \ - --with-x \ - --build=$ARCH-slackware-linux - -make -make install \ - prefix=$PKG/usr \ - libdir=$PKG/usr/lib${LIBDIRSUFFIX} \ - datadir=$PKG/usr/lib${LIBDIRSUFFIX} - -# Add minimal packages to allow package tools to work -mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/xemacs/xemacs-packages -tar xf $CWD/xemacs-base-$BASE_VERSION-pkg.tar.gz -C $PKG/usr/lib${LIBDIRSUFFIX}/xemacs/xemacs-packages -tar xf $CWD/efs-$EFS_VERSION-pkg.tar.gz -C $PKG/usr/lib${LIBDIRSUFFIX}/xemacs/xemacs-packages -# Make sure the .elc files are newer -find $PKG/usr/lib${LIBDIRSUFFIX}/xemacs/xemacs-packages -name \*.elc -exec touch {} \; - -make datadir=$PKG/usr/lib${LIBDIRSUFFIX} gzip-el - -# What is this 2.3M for????? -rm -rf $PKG/usr/lib$LIBDIRSUFFIX/xemacs-$VERSION/$ARCH-slackware-linux/include - -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/man/man1 -mv $PKG/usr/share/man/* $PKG/usr/man/man1/ -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 -rm -rf $PKG/usr/share/man - -gzip -9 $PKG/usr/share/$PRGNAM-$SRCVER/info/*.info* - -# Fixup some conflicts with stock Slackware packages -for file in b2m ctags etags ; do mv $PKG/usr/bin/$file{,-xemacs} ; done -for file in ctags etags ; do mv $PKG/usr/man/man1/$file{,-xemacs}.1.gz ; done - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a CHANGES-* COPYING ChangeLog INSTALL Installation PROBLEMS README* $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 - -cat <$PKG/install/doinst.sh -# Make sure the elc files are newer than the el files -touch usr/lib${LIBDIRSUFFIX}/xemacs-$SRCVER/lisp/*.elc -touch usr/lib${LIBDIRSUFFIX}/xemacs-$SRCVER/lisp/*/*.elc -touch usr/lib${LIBDIRSUFFIX}/xemacs/xemacs-packages/lisp/xemacs-base/*.elc -touch usr/lib${LIBDIRSUFFIX}/xemacs/xemacs-packages/lisp/efs/*.elc -EOF - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/development/xemacs/xemacs.info b/development/xemacs/xemacs.info deleted file mode 100644 index e6cc7cc9ad..0000000000 --- a/development/xemacs/xemacs.info +++ /dev/null @@ -1,14 +0,0 @@ -PRGNAM="xemacs" -VERSION="21.5.34" -HOMEPAGE="http://xemacs.org/" -DOWNLOAD="http://ponce.cc/slackware/sources/repo/xemacs-21.5.34.tar.gz \ - http://ponce.cc/slackware/sources/repo/efs-1.34-pkg.tar.gz \ - http://ponce.cc/slackware/sources/repo/xemacs-base-2.27-pkg.tar.gz" -MD5SUM="e093150724b6e55b14bae21739cfe373 \ - 1f424efc4a55b8da53a7d01136793c9d \ - 2ec18d0faf31e2d343f558c730474a63" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Sean MacLennan" -EMAIL="xemacs@seanm.ca" -- cgit v1.2.3