aboutsummaryrefslogtreecommitdiff
path: root/development/darcs
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-06-02 06:35:41 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-06-02 06:35:41 +0700
commit1c76b9d1c16d747f723bd42a31e639e5612c38c7 (patch)
tree1ad5da52ef4ebbc85d6b206f6aa4fe6a04877e75 /development/darcs
parentd57670bf7b95ef6dd422ab795b52ce1f3a892d21 (diff)
development/darcs: Removed (Unmaintained and dropped deps).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/darcs')
-rw-r--r--development/darcs/README11
-rw-r--r--development/darcs/cabal.diff25
-rw-r--r--development/darcs/darcs.SlackBuild130
-rw-r--r--development/darcs/darcs.info10
-rw-r--r--development/darcs/doinst.sh1
-rw-r--r--development/darcs/slack-desc19
6 files changed, 0 insertions, 196 deletions
diff --git a/development/darcs/README b/development/darcs/README
deleted file mode 100644
index aa40abec85152..0000000000000
--- a/development/darcs/README
+++ /dev/null
@@ -1,11 +0,0 @@
-Darcs is a free, open source revision control system written in
-Haskell.
-
-To run the test suite, additionally haskell-HUnit,
-haskell-ansi-terminal, haskell-hostname, haskell-xml,
-haskell-ansi-wl-pprint, haskell-QuickCheck, haskell-test-framework,
-haskell-test-framework-hunit, and haskell-test-framework-quickcheck2
-are required.
-
-After uninstalling, run this command to unregister the package from
-the ghc package database: ghc-pkg recache
diff --git a/development/darcs/cabal.diff b/development/darcs/cabal.diff
deleted file mode 100644
index f10449a5dbe64..0000000000000
--- a/development/darcs/cabal.diff
+++ /dev/null
@@ -1,25 +0,0 @@
-diff -Naur darcs-2.16.5.orig/darcs.cabal darcs-2.16.5/darcs.cabal
---- darcs-2.16.5.orig/darcs.cabal 2001-09-09 13:46:40.000000000 +1200
-+++ darcs-2.16.5/darcs.cabal 2022-02-27 14:54:23.056244490 +1300
-@@ -436,10 +436,10 @@
- vector >= 0.11 && < 0.13,
- tar >= 0.5 && < 0.6,
- data-ordlist == 0.4.*,
-- attoparsec >= 0.13.0.1 && < 0.14,
-+ attoparsec >= 0.13.0.1 && < 0.15,
- zip-archive >= 0.3 && < 0.5,
- async >= 2.0.2 && < 2.3,
-- constraints >= 0.11 && < 0.13,
-+ constraints >= 0.11 && < 0.14,
- unix-compat >= 0.5 && < 0.6,
- bytestring >= 0.10.6 && < 0.11,
- old-time >= 1.1.0.3 && < 1.2,
-@@ -449,7 +449,7 @@
- temporary >= 1.2.1 && < 1.4,
- process >= 1.2.3.0 && < 1.7,
- array >= 0.5.1.0 && < 0.6,
-- hashable >= 1.2.3.3 && < 1.4,
-+ hashable >= 1.2.3.3 && < 1.5,
- mmap >= 0.5.9 && < 0.6,
- zlib >= 0.6.1.2 && < 0.7.0.0,
- network-uri >= 2.6 && < 2.8,
diff --git a/development/darcs/darcs.SlackBuild b/development/darcs/darcs.SlackBuild
deleted file mode 100644
index f4814482eca87..0000000000000
--- a/development/darcs/darcs.SlackBuild
+++ /dev/null
@@ -1,130 +0,0 @@
-#!/bin/bash
-
-# Slackware build script for darcs
-
-# Copyright 2015 Mikko Värri, Finland
-# Updated 2018 David Spencer, Baildon, West Yorkshire, U.K.
-# 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=darcs
-VERSION=${VERSION:-2.16.5}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-PKGTYPE=${PKGTYPE:-tgz}
-
-GHC_VERSION=$(ghc --numeric-version)
-
-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 [ "$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.tar.gz
-cd $PRGNAM-$VERSION
-patch -p1 -i $CWD/cabal.diff
-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 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-runghc Setup configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --libsubdir=ghc-${GHC_VERSION}/$PRGNAM-$VERSION \
- --enable-shared \
- --enable-library-profiling \
- --enable-executable-dynamic \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --flags="-curl http network-uri mmap terminfo"
-
-runghc Setup build
-runghc Setup haddock
-runghc Setup copy --destdir=$PKG
-runghc Setup register --gen-pkg-config
-
-PKGCONFD=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d
-PKGID=$( grep -E "^id: " $PRGNAM-$VERSION.conf | cut -d" " -f2 )
-mkdir -p $PKG/$PKGCONFD
-mv $PRGNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf
-
-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
-
-# manual is missplaced, and Cabal does not support --mandir
-mv $PKG/usr/share/man $PKG/usr/man
-rmdir $PKG/usr/share
-chmod 644 $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
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- CHANGELOG COPYING README.md \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-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/development/darcs/darcs.info b/development/darcs/darcs.info
deleted file mode 100644
index 3b68d00ff55a6..0000000000000
--- a/development/darcs/darcs.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="darcs"
-VERSION="2.16.5"
-HOMEPAGE="https://darcs.net/"
-DOWNLOAD="https://hackage.haskell.org/package/darcs-2.16.5/darcs-2.16.5.tar.gz"
-MD5SUM="7921981745f0ada00fa3862a00bea2b1"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="haskell-base16-bytestring haskell-data-ordlist haskell-graphviz haskell-html haskell-HTTP haskell-mmap haskell-old-time haskell-regex-applicative haskell-regex-compat-tdfa haskell-sandi haskell-tar haskell-unix-compat haskell-zip-archive haskell-constraints haskell-http-conduit"
-MAINTAINER="David Spencer"
-EMAIL="baildon.research@googlemail.com"
diff --git a/development/darcs/doinst.sh b/development/darcs/doinst.sh
deleted file mode 100644
index 3268c238bf735..0000000000000
--- a/development/darcs/doinst.sh
+++ /dev/null
@@ -1 +0,0 @@
-chroot . /usr/bin/ghc-pkg recache
diff --git a/development/darcs/slack-desc b/development/darcs/slack-desc
deleted file mode 100644
index 411d3d18f83c6..0000000000000
--- a/development/darcs/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------------------------------------------------------|
-darcs: darcs (a distributed, interactive, smart revision control system)
-darcs:
-darcs: Darcs is a free, open source revision control system written in
-darcs: Haskell.
-darcs:
-darcs: https://darcs.net/
-darcs:
-darcs:
-darcs:
-darcs:
-darcs: