diff --git a/M2/configure.ac b/M2/configure.ac index aed86c7dd26..eb8dad76e40 100644 --- a/M2/configure.ac +++ b/M2/configure.ac @@ -508,17 +508,6 @@ AC_SUBST([GIT_DESCRIPTION], AC_SUBST([GIT_BRANCH], [`$GIT branch --show-current`]) -AC_SUBST(DEB,no) -AC_ARG_ENABLE(deb, AS_HELP_STRING(--enable-deb,prepare a *.deb package (for debian, ubuntu, ...)), DEB=$enableval) -if test "$DEB" = yes -then if test "$OPTIMIZE" = no - then AC_MSG_ERROR([--disable-optimize and --enable-deb both specified]) - fi - if test "$DEBUG" = yes - then AC_MSG_ERROR([--enable-debug and --enable-deb both specified]) - fi -fi - AC_SUBST(FREEBSD,no) AC_ARG_ENABLE(freebsd, AS_HELP_STRING(--enable-freebsd,prepare a package file for freebsd), FREEBSD=$enableval) if test "$FREEBSD" = yes @@ -1958,10 +1947,6 @@ fi # Here we insert autoconf's default values so we can compute the relative locations in the directory tree test "$prefix" || prefix=/usr/local -# for some distributions, we know what the prefix should be: -test "$DEB" = yes && test "$prefix" != /usr && - AC_MSG_ERROR(--enable-deb specified and --prefix not set to /usr) - if test "$prefix" != /usr/local then test "$FREEBSD" = yes && AC_MSG_ERROR(--enable-freebsd specified and --prefix not set to /usr/local) fi diff --git a/M2/distributions/Makefile.in b/M2/distributions/Makefile.in index 55e577d17ad..8367e250294 100644 --- a/M2/distributions/Makefile.in +++ b/M2/distributions/Makefile.in @@ -3,17 +3,12 @@ include ../include/config.Makefile VPATH = @srcdir@ all: .PHONY: all -$(foreach d,top tar deb freebsd dmg, \ +$(foreach d,top tar freebsd dmg, \ $(eval .PHONY: all-in-$d) \ $(eval all-in-$d:; + $(MAKE) -C $d all)) ifeq "@M2TARFILE@" "yes" all: all-in-tar endif -ifeq "@DEB@" "yes" -all: all-in-deb -check: check-in-deb -check-in-deb:; + $(MAKE) -C deb check -endif ifeq "@FREEBSD@" "yes" all: all-in-freebsd endif @@ -21,7 +16,7 @@ ifeq "@DMG@" "yes" all: all-in-dmg endif $(foreach t,clean distclean, \ - $(foreach d,dmg deb freebsd tar top install, $(eval \ + $(foreach d,dmg freebsd tar top install, $(eval \ .PHONY: $t $t-in-$d \ )$(eval \ $t: $t-in-$d \ diff --git a/M2/distributions/deb/Makefile.in b/M2/distributions/deb/Makefile.in deleted file mode 100644 index 4eda4f07fa3..00000000000 --- a/M2/distributions/deb/Makefile.in +++ /dev/null @@ -1,191 +0,0 @@ -# @configure_input@ -include ../../include/config.Makefile -# we want to ignore the --datarootdir setting, whatever that means, so here we we mention it: @datarootdir@ -VPATH = @srcdir@ -TIDY = yes -CHOWN = chown -prefixtail=$(shell echo @prefix@ | sed 's,^/,,') -TAROPTIONS = --owner=0 --group=0 --mode=a+rX,og-ws -.PHONY: prepare - -# see https://www.debian.org/doc/debian-policy/ch-controlfields.html, section 5.6.12, description of "Version" -# use it this way, for example: -# make DEBIAN_REVISION=1 -ifeq ($(DEBIAN_REVISION),) -DIST_VERSION = @PACKAGE_VERSION@ -else -DIST_VERSION = @PACKAGE_VERSION@-$(DEBIAN_REVISION) -endif - -############################## main targets - -DEBARCH=$(shell dpkg-architecture -qDEB_BUILD_ARCH || echo none) - -ifeq ($(DEBARCH),) -$(error dpkg-architecture failed) -endif - -PKG_DEB = @PACKAGE_TARNAME@-$(DIST_VERSION)-$(DEBARCH)-@OS@-@ISSUE@.deb -PKG_COM_DEB = @PACKAGE_TARNAME@-$(DIST_VERSION)-common.deb - -all: chk-opts macaulay2/control.prelim tidy_before ../../$(PKG_DEB) ../../$(PKG_COM_DEB) announce maybe-tidy - -ifeq ($(SIGN),yes) -all: sign -else -all: no-sign -endif -sign: ../../$(PKG_DEB).sig ../../$(PKG_COM_DEB).sig -no-sign:; @ echo 'You may have wanted to sign the *.deb files with the command make SIGN=yes' -%.sig: -%.sig: %; gpg --local-user Macaulay2 --detach-sign $^ - -chk-opts: check-DEBARCH check-prefix-is-slash-usr check-debug-disabled check-optimize-enabled -# Debian prefers stripped binaries, but we don't: -# chk-opts: check-strip-enabled -check-DEBARCH:; if [ "$(DEBARCH)" = none ] ; then echo "error: unrecognized *.deb architecture: @ARCH@"; exit 1; fi -check-prefix-is-slash-usr:; [ "${prefix}" = /usr ] -check-debug-disabled:; [ @DEBUG@ = no ] -check-optimize-enabled:; [ @OPTIMIZE@ = yes ] -check-strip-enabled:; [ @ENABLE_STRIP@ = yes ] -macaulay2/control.prelim : @srcdir@/macaulay2/control.prelim.in Makefile - rm -f $@ - <$< >$@ sed -e 's/[@]DEBARCH[@]/$(DEBARCH)/g' -e 's/[@]PACKAGE_VERSION[@]/$(DIST_VERSION)/g' - ! grep -EnH '@[A-Za-z_]+@' <$@ -macaulay2-common/control.prelim : @srcdir@/macaulay2-common/control.prelim.in Makefile - rm -f $@ - <$< >$@ sed -e 's/[@]DEBARCH[@]/$(DEBARCH)/g' -e 's/[@]PACKAGE_VERSION[@]/$(DIST_VERSION)/g' - ! grep -EnH '@[A-Za-z_]+@' <$@ -announce: - @ echo "=============================================================================" - @ echo "package files prepared:" - @ echo " $(PKG_COM_DEB)" - @ echo " $(PKG_DEB)" - @ echo " installation commands:" - @ echo " sudo dpkg --install $(shell cd ../..; pwd)/$(PKG_COM_DEB)" - @ echo " sudo dpkg --install $(shell cd ../..; pwd)/$(PKG_DEB)" - @ echo "=============================================================================" -ifeq ($(TIDY),yes) -maybe-tidy: tidy_after -else -maybe-tidy: -endif -################################# -../../$(PKG_DEB) : @srcdir@/macaulay2/debian-binary macaulay2/control.tar.gz macaulay2/data.tar.gz - rm -f $@ - ar rc $@.tmp $^ - sed -e 's=\(debian-binary\|control.tar.gz\|data.tar.gz\)/\( *[0-9]* *\)[0-9 ]\{12\}=\1 \20 0 =g' <$@.tmp >$@ - rm $@.tmp -../../$(PKG_COM_DEB) : @srcdir@/macaulay2-common/debian-binary macaulay2-common/control.tar.gz macaulay2-common/data.tar.gz - rm -f $@ - ar rc $@.tmp $^ - sed -e 's=\(debian-binary\|control.tar.gz\|data.tar.gz\)/\( *[0-9]* *\)[0-9 ]\{12\}=\1 \20 0 =g' <$@.tmp >$@ - rm $@.tmp - -macaulay2/control.tar.gz : macaulay2/control macaulay2/postinst macaulay2/prerm - cd macaulay2 && chmod 0644 control - cd macaulay2 && chmod 0755 postinst prerm - @TAR@ cfz $@ $(TAROPTIONS) -C macaulay2 control postinst prerm - -macaulay2-common/control.tar.gz : macaulay2-common/control macaulay2-common/postinst macaulay2-common/prerm - cd macaulay2-common && chmod 0644 control - cd macaulay2-common && chmod 0755 postinst prerm - @TAR@ cfz $@ $(TAROPTIONS) -C macaulay2-common control postinst prerm - -T=@TAR@ --create --mode=a+rX,og-ws --exclude-from=@srcdir@/../tar-exclusions --file=- -prepare: .prepared -tmp@bindir@/M2@EXE@ .prepared: - : ensure change log is up to date... - grep -F 'macaulay2 (@PACKAGE_VERSION@) ' <@srcdir@/changelog - rm -rf tmp@prefix@ tmp-common@prefix@ - $(MKDIR_P) tmp@prefix@ - $(MKDIR_P) tmp-common@prefix@ - $(T) -C @pre_exec_prefix@ . | @TAR@ xfp - -C tmp@prefix@ - $(T) -C @pre_prefix@ . | @TAR@ xfp - -C tmp-common@prefix@ - if [ -d tmp-common@prefix@/info ] ; \ - then $(MKDIR_P) tmp-common@prefix@/share/info && mv tmp-common@prefix@/info/* tmp-common@prefix@/share/info && rmdir tmp-common@prefix@/info; \ - fi - $(MKDIR_P) tmp@prefix@/@tail_mandir@ - mv -v tmp-common@prefix@/@tail_mandir@/* tmp@prefix@/@tail_mandir@ - rmdir tmp-common@prefix@/@tail_mandir@ - $(MKDIR_P) tmp@prefix@/share/doc/macaulay2 - $(MKDIR_P) tmp-common@prefix@/share/doc/macaulay2-common - cp tmp-common@docdir@/README tmp@prefix@/share/doc/macaulay2/copyright - cp tmp-common@docdir@/README tmp-common@prefix@/share/doc/macaulay2-common/copyright - gzip -9 <@srcdir@/changelog >tmp@prefix@/share/doc/macaulay2/changelog.Debian.gz - gzip -9 <@srcdir@/changelog >tmp-common@prefix@/share/doc/macaulay2-common/changelog.Debian.gz - @FIND@ tmp-common -name \*.info | while read x ; do gzip --best "$$x" ; done - @FIND@ tmp tmp-common -name man -type d | while read x ; do @FIND@ $$x -type f -not -name \*.gz | while read y ; do gzip --best "$$y" ; done ; done - @FIND@ tmp -name \*.so -o -name \*.so.\* -o -name \*.la | xargs chmod a-x Makefile - @FIND@ tmp tmp-common -depth -mindepth 1 -type d -empty -delete - touch $@ -macaulay2/data.tar.gz : prepare; (cd tmp && @TAR@ cfz - $(TAROPTIONS) *) >$@ -macaulay2-common/data.tar.gz : prepare; (cd tmp-common && @TAR@ cfz - $(TAROPTIONS) *) >$@ -macaulay2/md5sums : prepare; (cd tmp && @FIND@ * -type f | xargs md5sum) >$@ -macaulay2-common/md5sums : prepare; (cd tmp-common && @FIND@ * -type f | xargs md5sum) >$@ -ifneq (@LINTIAN@,) -SUP = grep -Fv -check: check1 check2 -check1:; - @LINTIAN@ -I ../../$(PKG_DEB) -check2:; - @LINTIAN@ -I ../../$(PKG_COM_DEB) -else -check: - @echo "--warning: 'lintian' not installed, not checking *.deb packages" >&2 -endif -tidy_before: - rm -rf .prepared tmp tmp-common - rm -rf macaulay2/control.tar.gz macaulay2/data.tar.gz macaulay2/md5sums - rm -rf macaulay2-common/control.tar.gz macaulay2-common/data.tar.gz macaulay2-common/md5sums -tidy tidy_after : - rm -rf .prepared tmp tmp-common libraries-really-used - rm -rf macaulay2/control.tar.gz macaulay2/data.tar.gz macaulay2/md5sums - rm -rf macaulay2-common/control.tar.gz macaulay2-common/data.tar.gz macaulay2-common/md5sums -clean:: tidy - rm -rf ../../$(PKG_DEB) ../../$(PKG_COM_DEB) -libraries-used-directly: .prepared tmp@bindir@/M2@EXE@ - objdump -x tmp@bindir@/M2@EXE@ | grep NEEDED | sed 's/ *NEEDED *//' | sort >$@ -clean::; rm -f libraries-used-directly -libraries-used: .prepared tmp@bindir@/M2@EXE@ - for i in tmp@bindir@/M2@EXE@ tmp@programsdir@/* ;\ - do if [ -f $$i ] ; then ( set -x ; ldd $$i ) ; fi ; \ - done \ - | sed -e 's/.* => //' -e 's/^ //' -e 's/ .*//' \ - | grep -E '^/' \ - | sort | uniq \ - > $@ || true -clean::; rm -f libraries-used -libraries-really-used: libraries-used libraries-used-directly - grep -E `echo \`cat libraries-used-directly\` | sed -e 's=^=.*/=' -e 's= =|.*/=g'` <$< >$@ -files-used: Makefile - for i in @FILE_PREREQS@ ; do echo $$i ; done >$@ -packages-used: libraries-really-used files-used - cat $^ | \ - while read x ; \ - x=`readlink -f "$$x"` ; \ - do @FIND@ /var/lib/dpkg/info -name \*.list | xargs grep -El "^$$x"; \ - done | sort | uniq | sed -r -e 's=.*/==' -e 's=(:.*)?\.list$$==' >$@ -clean::; rm -f packages-used -macaulay2/control : macaulay2/control.prelim macaulay2/data.tar.gz packages-used - (cat $< && \ - size=`gunzip$@ -clean::; rm -f macaulay2/control -macaulay2-common/control : macaulay2-common/control.prelim macaulay2-common/data.tar.gz - (cat $< && \ - size=`gunzip$@ -clean::; rm -f macaulay2-common/control -distclean: clean; rm -f Makefile control macaulay2/control.prelim macaulay2-common/control.prelim -Makefile : Makefile.in; cd ../..; ./config.status distributions/deb/$@ - -# Local Variables: -# compile-command: "make -C $M2BUILDDIR/distributions/deb " -# End: -.NOTPARALLEL: diff --git a/M2/distributions/deb/README b/M2/distributions/deb/README deleted file mode 100644 index f2abee09582..00000000000 --- a/M2/distributions/deb/README +++ /dev/null @@ -1,117 +0,0 @@ -See - -http://www.debian.org/doc/debian-policy - -for info about the components of a debian package - -============================================================================= - -See man sources.list(5), which describes the file /etc/apt/sources.list: -This line: - - deb http://www.math.uiuc.edu/Macaulay2/debian/ distribution component - -gets expanded to this URL: - - http://www.math.uiuc.edu/Macaulay2/debian/dists/distribution/component/binary-i386/Packages.gz - -to search for package names. - -Similarly, - - deb http://http.us.debian.org/debian stable main contrib non-free - -gets translated to - - http://http.us.debian.org/debian/dists/stable/main/binary-i386/Packages.gz - -That compressed file contains entries such as this one, separated by blank lines: - - Package: bash - Essential: yes - Priority: required - Section: shells - Installed-Size: 1848 - Maintainer: Matthias Klose - Architecture: i386 - Version: 3.1dfsg-8 - Replaces: bash-doc (<= 2.05-1), bash-completion - Depends: base-files (>= 2.1.12), debianutils (>= 2.15) - Pre-Depends: libc6 (>= 2.3.6-6), libncurses5 (>= 5.4-5) - Suggests: bash-doc - Conflicts: bash-completion - Filename: pool/main/b/bash/bash_3.1dfsg-8_i386.deb - Size: 872884 - MD5sum: 85437fb26d035bd4a91ae4bc98bc63d2 - SHA1: 06a42e1679ec3a61a21eef5d329f90c38e9c4885 - SHA256: 7dafebd6c7497b5fddfe31b015f54daac8016190d65512019f8a85813e4bcd9e - Description: The GNU Bourne Again SHell - Bash is an sh-compatible command language interpreter that executes - commands read from the standard input or from a file. Bash also - incorporates useful features from the Korn and C shells (ksh and csh). - . - Bash is ultimately intended to be a conformant implementation of the - IEEE POSIX Shell and Tools specification (IEEE Working Group 1003.2). - . - Included in the bash package is the Programmable Completion Code, by - Ian Macdonald. - Tag: implemented-in::c, interface::shell, role::program, scope::utility, uitoolkit::ncurses - -The Filename: entry gives the filename, relative to the URL, i.e., the file is at - - http://http.us.debian.org/debian/pool/main/b/bash/bash_3.1dfsg-8_i386.deb - -============================================================================= - -For ubuntu releases, take a look here: - - http://security.ubuntu.com/ubuntu/dists/ - - There you see these releases: - - dapper 6.06 - hardy 8.04 - intrepid 8.10 - jaunty 9.04 - karmic 9.10 - lucid 10.04 - -============================================================================= - -A debian archive is an archive made with the "ar" program, with three files in it, in a certain order: - - % ar tv /home/25/dan/local/to/Macaulay2/Downloads/macaulay2-0.9.91_i686-Linux-usr-2_all.deb - rw-r--r-- 1000/1000 4 Oct 11 21:07 2006 debian-binary - rw-r--r-- 1000/1000 216297 Oct 11 21:07 2006 control.tar.gz - rw-r--r-- 1000/1000 7790785 Oct 11 21:08 2006 data.tar.gz - -The file data.tar.gz is a simple tar file of the files of the package, with the right user name -and protections, based at /. - - % cat debian-binary - 2.0 - - % ls -lR control - control: - total 756 - -rw-r--r-- 1 dan academic 357 Oct 11 21:03 control - -rw-r--r-- 1 dan academic 765066 Oct 11 21:03 md5sums - - % cat control/control - Package: macaulay2-0.9.91 - Version: i686-Linux-usr-2 - Section: alien - Priority: extra - Architecture: all - Depends: libc6 (>= 2.3.4-1), libgcc1 (>= 1:4.0.2) - Installed-Size: 45652 - Maintainer: root - Description: Converted Slackware tgz package - Converted Slackware tgz package - . - (Converted from a tgz package by alien version 8.64.) - - % head -3 control/md5sums - 2dcea6f20f8510c260961b488ac3704f usr/share/doc/macaulay2-0.9.91/copyright - 9bdb9840293f1678182fee9c720dc562 usr/share/doc/macaulay2-0.9.91/changelog.Debian.gz - a8a4c861d958f437bcb7ea7a8a050273 usr/share/doc/Macaulay2/Core/LAYOUT.gz diff --git a/M2/distributions/deb/changelog b/M2/distributions/deb/changelog deleted file mode 100644 index 8217f154df4..00000000000 --- a/M2/distributions/deb/changelog +++ /dev/null @@ -1,110 +0,0 @@ -macaulay2 (1.10) stable; urgency=low - * release version 1.10 - -- Daniel R Grayson Fri, 10 Jun 2017 09:50:25 -0500 -macaulay2 (1.10.0.1) stable; urgency=low - * release version 1.10 - -- Daniel R Grayson Fri, 10 Jun 2017 09:50:25 -0500 -macaulay2 (1.11) stable; urgency=low - * release version 1.11 - -- Daniel R Grayson Fri, 10 Mar 2017 09:50:25 -0500 -macaulay2 (1.11.0.1) stable; urgency=low - * release version 1.11.0.1 - -- Daniel R Grayson Fri, 10 Mar 2017 09:50:25 -0500 -macaulay2 (1.11.1) stable; urgency=low - * release version 1.11.1 - -- Daniel R Grayson Fri, 10 May 2018 09:50:25 -0500 -macaulay2 (1.11.1.1) stable; urgency=low - * release version 1.11.1.1 - -- Daniel R Grayson Fri, 10 May 2018 09:50:25 -0500 -macaulay2 (1.12) stable; urgency=low - * release version 1.12 - -- Daniel R Grayson Fri, 10 May 2018 09:50:25 -0500 -macaulay2 (1.12.0.1) stable; urgency=low - * release version 1.12.0.1 - -- Daniel R Grayson Fri, 10 Jul 2018 09:50:25 -0500 -macaulay2 (1.13) stable; urgency=low - * release version 1.13 - -- Daniel R Grayson Fri, 10 Jan 2019 09:50:25 -0500 -macaulay2 (1.13.0.1) stable; urgency=low - * release version 1.13.0.1 - -- Daniel R Grayson Fri, 11 Jan 2019 09:50:25 -0500 -macaulay2 (1.14) stable; urgency=low - * release version 1.14 - -- Daniel R Grayson Fri, 10 May 2019 09:50:25 -0500 -macaulay2 (1.14.0.1) stable; urgency=low - * release version 1.14.0.1 - -- Daniel R Grayson Fri, 11 May 2019 09:50:25 -0500 -macaulay2 (1.15) stable; urgency=low - * release version 1.15 - -- Daniel R Grayson Fri, 10 Nov 2019 09:50:25 -0500 -macaulay2 (1.15.0.1) stable; urgency=low - * release version 1.15.0.1 - -- Daniel R Grayson Fri, 11 Nov 2019 09:50:25 -0500 -macaulay2 (1.15.1.0) stable; urgency=low - * release version 1.15.1.0 - -- Daniel R Grayson Fri, 22 May 2020 09:50:25 -0500 -macaulay2 (1.16) stable; urgency=low - * release version 1.16 - -- Daniel R Grayson Fri, 10 Jul 2020 09:50:25 -0500 -macaulay2 (1.16.0.1) stable; urgency=low - * release version 1.16.0.1 - -- Daniel R Grayson Fri, 11 Jul 2020 09:50:25 -0500 -macaulay2 (1.16.0.2) stable; urgency=low - * release version 1.16.0.2 - -- Daniel R Grayson Fri, 29 Aug 2020 09:50:25 -0500 -macaulay2 (1.16.99) stable; urgency=low - * release version 1.16.99 - -- Daniel R Grayson Fri, 10 Dec 2020 09:50:25 -0500 -macaulay2 (1.17) stable; urgency=low - * release version 1.17 - -- Daniel R Grayson Fri, 10 Dec 2020 09:50:25 -0500 -macaulay2 (1.17.0.1) stable; urgency=low - * release version 1.17.0.1 - -- Daniel R Grayson Fri, 10 Dec 2020 09:50:25 -0500 -macaulay2 (1.17.2.1) stable; urgency=low - * release version 1.17.2.1 - -- Daniel R Grayson Fri, 10 Jan 2021 09:50:25 -0500 -macaulay2 (1.18) stable; urgency=low - * release version 1.18 - -- Daniel R Grayson Wed, 26 May 2021 09:50:25 -0500 -macaulay2 (1.18.0.1) stable; urgency=low - * release version 1.18.0.1 - -- Daniel R Grayson Wed, 26 May 2021 09:50:25 -0500 -macaulay2 (1.19) stable; urgency=low - * release version 1.19 - -- Daniel R Grayson Wed, 26 Nov 2021 09:50:25 -0500 -macaulay2 (1.19.0.1) stable; urgency=low - * release version 1.19.0.1 - -- Daniel R Grayson Wed, 26 Nov 2021 09:50:25 -0500 -macaulay2 (1.19.1) stable; urgency=low - * release version 1.19.1 - -- Daniel R Grayson Wed, 26 Nov 2021 09:50:25 -0500 -macaulay2 (1.19.1.1) stable; urgency=low - * release version 1.19.01.1 - -- Daniel R Grayson Wed, 26 Nov 2021 09:50:25 -0500 -macaulay2 (1.20) stable; urgency=low - * release version 1.20 - -- Daniel R Grayson Thu, 12 May 2022 09:50:25 -0500 -macaulay2 (1.20.0.1) stable; urgency=low - * release version 1.20.0.1 - -- Daniel R Grayson Thu, 12 May 2022 09:50:25 -0500 -macaulay2 (1.21) stable; urgency=low - * release version 1.21 - -- Daniel R Grayson Wed, 7 Dec 2022 09:50:25 -0500 -macaulay2 (1.21.0.1) stable; urgency=low - * release version 1.21.0.1 - -- Daniel R Grayson Wed, 7 Dec 2022 09:50:25 -0500 -macaulay2 (1.22) stable; urgency=low - * release version 1.22 - -- Daniel R Grayson Wed, 7 Jun 2023 09:50:25 -0500 -macaulay2 (1.22.0.1) stable; urgency=low - * release version 1.22.0.1 - -- Daniel R Grayson Wed, 7 Jun 2023 09:50:25 -0500 -macaulay2 (1.23) stable; urgency=low - * release version 1.23 - -- Daniel R Grayson Wed, 15 Feb 2023 09:50:25 -0500 -macaulay2 (1.23.0.1) stable; urgency=low - * release version 1.23.0.1 - -- Daniel R Grayson Wed, 15 Feb 2023 09:50:25 -0500 -macaulay2 (1.24.05) stable; urgency=low - -- Doug Torrance Thu, 09 May 2024 14:48:26 -0400 diff --git a/M2/distributions/deb/macaulay2-common/control.prelim.in b/M2/distributions/deb/macaulay2-common/control.prelim.in deleted file mode 100644 index 0ceef7313a8..00000000000 --- a/M2/distributions/deb/macaulay2-common/control.prelim.in +++ /dev/null @@ -1,17 +0,0 @@ -Package: macaulay2-common -Version: @PACKAGE_VERSION@ -Section: math -Priority: extra -Maintainer: Daniel R. Grayson -Architecture: all -Description: a software system for algebraic geometry research - Macaulay 2 is a software system for algebraic geometry research, written by - Daniel R. Grayson and Michael E. Stillman. Based on Groebner bases, it - provides algorithms for computing homological invariants of rings and - modules. - . - Home page: https://macaulay2.com/. - . - This package contains the architecture independent portion of Macaulay2, and is - normally installed automatically when one of the architecture dependent - packages is installed. diff --git a/M2/distributions/deb/macaulay2-common/debian-binary b/M2/distributions/deb/macaulay2-common/debian-binary deleted file mode 100644 index cd5ac039d67..00000000000 --- a/M2/distributions/deb/macaulay2-common/debian-binary +++ /dev/null @@ -1 +0,0 @@ -2.0 diff --git a/M2/distributions/deb/macaulay2-common/postinst.in b/M2/distributions/deb/macaulay2-common/postinst.in deleted file mode 100755 index 25fc8865f63..00000000000 --- a/M2/distributions/deb/macaulay2-common/postinst.in +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh -e -# we want to ignore the --datarootdir setting, whatever that means, so here we we mention it: @datarootdir@ -prefix=@prefix@ -case "$1" in - abort-upgrade|configure) - for p in @PACKAGES@ - do # info files get installed by dpkg as part of "Processing triggers for install-info (5.2.0.dfsg.1-2) ..." - : install-info --quiet --info-dir="@infodir@" "@infodir@/$p.info" - done ;; - abort-remove|abort-deconfigure) ;; - *) echo "postinst called with unknown argument \`$1'" >&2 - exit 1 ;; -esac diff --git a/M2/distributions/deb/macaulay2-common/postrm.in b/M2/distributions/deb/macaulay2-common/postrm.in deleted file mode 100755 index c645dffe149..00000000000 --- a/M2/distributions/deb/macaulay2-common/postrm.in +++ /dev/null @@ -1,11 +0,0 @@ -#! /bin/sh -e -# we want to ignore the --datarootdir setting, whatever that means, so here we we mention it: @datarootdir@ -case "$1" in - remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) - ;; - purge) - ;; - *) - echo "postrm called with unknown argument \`$1'" >&2 - exit 1 -esac diff --git a/M2/distributions/deb/macaulay2-common/preinst.in b/M2/distributions/deb/macaulay2-common/preinst.in deleted file mode 100644 index 6c14385a856..00000000000 --- a/M2/distributions/deb/macaulay2-common/preinst.in +++ /dev/null @@ -1,11 +0,0 @@ -#! /bin/sh -e -# we want to ignore the --datarootdir setting, whatever that means, so here we we mention it: @datarootdir@ -case "$1" in - install|upgrade) - ;; - abort-upgrade) - ;; - *) echo "preinst called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac diff --git a/M2/distributions/deb/macaulay2-common/prerm.in b/M2/distributions/deb/macaulay2-common/prerm.in deleted file mode 100644 index 2a585962785..00000000000 --- a/M2/distributions/deb/macaulay2-common/prerm.in +++ /dev/null @@ -1,12 +0,0 @@ -#! /bin/sh -e -# we want to ignore the --datarootdir setting, whatever that means, so here we we mention it: @datarootdir@ -prefix=@prefix@ -case "$1" in - remove|deconfigure|upgrade) - for p in @PACKAGES@ - do install-info --remove --quiet --info-dir="@infodir@" "@infodir@/$p.info" - done ;; - failed-upgrade) ;; - *) echo "prerm called with unknown argument \`$1'" >&2 - exit 1 ;; -esac diff --git a/M2/distributions/deb/macaulay2/control.prelim.in b/M2/distributions/deb/macaulay2/control.prelim.in deleted file mode 100644 index 038514c09f8..00000000000 --- a/M2/distributions/deb/macaulay2/control.prelim.in +++ /dev/null @@ -1,15 +0,0 @@ -Package: macaulay2 -Version: @PACKAGE_VERSION@ -Section: math -Priority: extra -Maintainer: Daniel R. Grayson -Architecture: @DEBARCH@ -Description: a software system for algebraic geometry research - Macaulay 2 is a software system for algebraic geometry research, written by - Daniel R. Grayson and Michael E. Stillman. Based on Groebner bases, it - provides algorithms for computing homological invariants of rings and - modules. - . - Home page: https://macaulay2.com/. - . - This package contains the architecture dependent portion of Macaulay2. diff --git a/M2/distributions/deb/macaulay2/debian-binary b/M2/distributions/deb/macaulay2/debian-binary deleted file mode 100644 index cd5ac039d67..00000000000 --- a/M2/distributions/deb/macaulay2/debian-binary +++ /dev/null @@ -1 +0,0 @@ -2.0 diff --git a/M2/distributions/deb/macaulay2/postinst.in b/M2/distributions/deb/macaulay2/postinst.in deleted file mode 100755 index aa141198efb..00000000000 --- a/M2/distributions/deb/macaulay2/postinst.in +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -e -prefix=@prefix@ -case "$1" in - abort-upgrade|configure) ;; - abort-remove|abort-deconfigure) ;; - *) echo "postinst called with unknown argument \`$1'" >&2 - exit 1 ;; -esac diff --git a/M2/distributions/deb/macaulay2/postrm.in b/M2/distributions/deb/macaulay2/postrm.in deleted file mode 100755 index c645dffe149..00000000000 --- a/M2/distributions/deb/macaulay2/postrm.in +++ /dev/null @@ -1,11 +0,0 @@ -#! /bin/sh -e -# we want to ignore the --datarootdir setting, whatever that means, so here we we mention it: @datarootdir@ -case "$1" in - remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) - ;; - purge) - ;; - *) - echo "postrm called with unknown argument \`$1'" >&2 - exit 1 -esac diff --git a/M2/distributions/deb/macaulay2/preinst.in b/M2/distributions/deb/macaulay2/preinst.in deleted file mode 100644 index 6c14385a856..00000000000 --- a/M2/distributions/deb/macaulay2/preinst.in +++ /dev/null @@ -1,11 +0,0 @@ -#! /bin/sh -e -# we want to ignore the --datarootdir setting, whatever that means, so here we we mention it: @datarootdir@ -case "$1" in - install|upgrade) - ;; - abort-upgrade) - ;; - *) echo "preinst called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac diff --git a/M2/distributions/deb/macaulay2/prerm.in b/M2/distributions/deb/macaulay2/prerm.in deleted file mode 100644 index f1c19151515..00000000000 --- a/M2/distributions/deb/macaulay2/prerm.in +++ /dev/null @@ -1,10 +0,0 @@ -#! /bin/sh -e -prefix=@prefix@ -case "$1" in - remove|deconfigure|upgrade) - rm -f @packagecachecoredir@/* - ;; - failed-upgrade) ;; - *) echo "prerm called with unknown argument \`$1'" >&2 - exit 1 ;; -esac diff --git a/M2/include/configuration.in b/M2/include/configuration.in index 8b04d9667a7..501a3547ecc 100644 --- a/M2/include/configuration.in +++ b/M2/include/configuration.in @@ -17,7 +17,6 @@ CPPFLAGS=@CPPFLAGS@ CURL=@CURL@ CXX=@CXX@ CXXFLAGS=@CXXFLAGS@ -DEB=@DEB@ DEBUG=@DEBUG@ DEFS=@DEFS@ DESC=@DESC@ diff --git a/M2/m4/files b/M2/m4/files index 0ed99ae2b1c..8390bd103a1 100644 --- a/M2/m4/files +++ b/M2/m4/files @@ -13,15 +13,6 @@ distributions/dmg/Makefile distributions/freebsd/Makefile distributions/freebsd/post-install distributions/freebsd/post-deinstall -distributions/deb/Makefile -distributions/deb/macaulay2-common/postrm -distributions/deb/macaulay2-common/postinst -distributions/deb/macaulay2-common/prerm -distributions/deb/macaulay2-common/preinst -distributions/deb/macaulay2/postrm -distributions/deb/macaulay2/postinst -distributions/deb/macaulay2/prerm -distributions/deb/macaulay2/preinst libraries/Makefile libraries/4ti2/Makefile libraries/M2/Makefile