From 36e744de861caa99a18c9192ff30bbb5f718ac6e Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 4 Jun 2020 19:24:44 +0800 Subject: [PATCH 01/62] refresh to cabal-rpm-2.0.5 --- Agda.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Agda.spec b/Agda.spec index a53904e..f01f728 100644 --- a/Agda.spec +++ b/Agda.spec @@ -1,5 +1,5 @@ -# generated by cabal-rpm-2.0.2 --subpackage -# https://fedoraproject.org/wiki/Packaging:Haskell +# generated by cabal-rpm-2.0.5 --subpackage +# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ # https://gitlab.haskell.org/ghc/ghc/issues/17030 panic %ifarch %{ix86} From a122f588a56eb25c954449b33976d44ad1b86f51 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 7 Jun 2020 23:39:51 +0800 Subject: [PATCH 02/62] update to 2.6.1 --- .gitignore | 1 + Agda.spec | 28 ++++++++++++---------------- sources | 4 +--- 3 files changed, 14 insertions(+), 19 deletions(-) diff --git a/.gitignore b/.gitignore index f91964a..1a29f0a 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,4 @@ /geniplate-mirror-0.7.6.tar.gz /Agda-2.5.4.2.tar.gz /Agda-2.6.0.1.tar.gz +/Agda-2.6.1.tar.gz diff --git a/Agda.spec b/Agda.spec index f01f728..0aa70fe 100644 --- a/Agda.spec +++ b/Agda.spec @@ -9,35 +9,30 @@ %global pkg_name Agda %global pkgver %{pkg_name}-%{version} -%global EdisonAPI EdisonAPI-1.3.1 -%global EdisonCore EdisonCore-1.3.2.1 %global geniplatemirror geniplate-mirror-0.7.6 %global murmurhash murmur-hash-0.1.0.9 %global uriencode uri-encode-1.5.0.5 -%global subpkgs %{EdisonAPI} %{EdisonCore} %{geniplatemirror} %{murmurhash} %{uriencode} +%global subpkgs %{geniplatemirror} %{murmurhash} %{uriencode} Name: %{pkg_name} -Version: 2.6.0.1 +Version: 2.6.1 # can only be reset when all subpkgs bumped -Release: 22%{?dist} +Release: 23%{?dist} Summary: A dependently typed functional programming language and proof assistant License: MIT and BSD Url: https://hackage.haskell.org/package/%{name} # Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz -Source1: https://hackage.haskell.org/package/%{EdisonAPI}/%{EdisonAPI}.tar.gz -Source2: https://hackage.haskell.org/package/%{EdisonCore}/%{EdisonCore}.tar.gz -Source3: https://hackage.haskell.org/package/%{geniplatemirror}/%{geniplatemirror}.tar.gz -Source4: https://hackage.haskell.org/package/%{murmurhash}/%{murmurhash}.tar.gz -Source5: https://hackage.haskell.org/package/%{uriencode}/%{uriencode}.tar.gz +Source1: https://hackage.haskell.org/package/%{geniplatemirror}/%{geniplatemirror}.tar.gz +Source2: https://hackage.haskell.org/package/%{murmurhash}/%{murmurhash}.tar.gz +Source3: https://hackage.haskell.org/package/%{uriencode}/%{uriencode}.tar.gz # End cabal-rpm sources Source10: agda-mode-init.el # Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros-extra -#BuildRequires: ghc-EdisonCore-prof BuildRequires: ghc-aeson-prof BuildRequires: ghc-array-prof BuildRequires: ghc-async-prof @@ -55,6 +50,7 @@ BuildRequires: ghc-equivalence-prof BuildRequires: ghc-exceptions-prof BuildRequires: ghc-filepath-prof #BuildRequires: ghc-geniplate-mirror-prof +BuildRequires: ghc-ghc-compact-prof BuildRequires: ghc-gitrev-prof BuildRequires: ghc-hashable-prof BuildRequires: ghc-hashtables-prof @@ -78,8 +74,6 @@ BuildRequires: ghc-zlib-prof BuildRequires: alex BuildRequires: happy Obsoletes: %{name}-common < %{version}-%{release} -# for missing dep 'EdisonCore': -BuildRequires: ghc-QuickCheck-prof # for missing dep 'uri-encode': BuildRequires: ghc-network-uri-prof BuildRequires: ghc-utf8-string-prof @@ -150,8 +144,6 @@ This package provides the Haskell %{name} profiling library. %global main_version %{version} %if %{defined ghclibdir} -%ghc_lib_subpackage %{EdisonAPI} -%ghc_lib_subpackage %{EdisonCore} %ghc_lib_subpackage %{geniplatemirror} %ghc_lib_subpackage %{murmurhash} %ghc_lib_subpackage %{uriencode} @@ -162,7 +154,7 @@ This package provides the Haskell %{name} profiling library. %prep # Begin cabal-rpm setup: -%setup -q -a1 -a2 -a3 -a4 -a5 +%setup -q -a1 -a2 -a3 # End cabal-rpm setup ( cd %{geniplatemirror} @@ -254,6 +246,10 @@ rm -r %{buildroot}%{_datadir}/%{pkgver}/emacs-mode %changelog +* Sun Jun 07 2020 Jens Petersen - 2.6.1-23 +- update to 2.6.1 +- drop EdisonCore and EdisonAPI deps + * Wed May 27 2020 Jens Petersen - 2.6.0.1-22 - move statically linked /usr/bin/agda and datadir into base package - also drop common subpackage diff --git a/sources b/sources index 27fd4d1..761c297 100644 --- a/sources +++ b/sources @@ -1,7 +1,5 @@ -SHA512 (EdisonAPI-1.3.1.tar.gz) = 677161da64856421c834856ee2f5ef7f59880883433d5c5c4061f0ab2faa0cb39c4eb83061820b77dab852acc4cce5dc75740fe454b15dbc2e67e6e84510ce42 -SHA512 (EdisonCore-1.3.2.1.tar.gz) = 6812b04edb1abdfc2486d66bb86d6370b76667de1603ab421d92a6ecc17a25014e0ab97f53dd4f1e75cacf32c31611e8f2dd6c740c840e349c3c762ae00df65f SHA512 (geniplate-mirror-0.7.6.tar.gz) = e75f42524d76f02f2dd66ca240ec4b2711445d7ce2b314bf2a487c61927707960ae74023faab3b539294d4afb66b0381462dd9ed0d1bca5a70f21e5d12d11f5d SHA512 (monadplus-1.4.2.tar.gz) = 839a35b3de1226e177c07e30b86e841ddd19075d3ce29fa7154fefb371d9bef8aa85847d7c139faad93713d5b7889979498097f69c6e3bccfcee2fbbf7bf6539 SHA512 (murmur-hash-0.1.0.9.tar.gz) = 7ec34346d6361de9e9d716d98f207534807faea97c683212e5ab037d2e16f007845eb265dba0e232617a80acc7e37f4238d4424883b975d04057ade595788486 SHA512 (uri-encode-1.5.0.5.tar.gz) = 1ad0fb5144b93dce50ffaf99a84ba2fe8c05508866fb374d62b75c4a32b58f3c97d7ec30257eec29973ad15fde4e902286e86a41ee36e62b00e00d941e181885 -SHA512 (Agda-2.6.0.1.tar.gz) = 90d5e4939f2ca373b5b2aa2809ea97e7e4ec5ffdbf864dd1b0fe24d8a8971e7e599b03896315c82f7d57f24fcf7c694f6b06595cda26be3afee0fa15a72c3c35 +SHA512 (Agda-2.6.1.tar.gz) = a499e020f474fa2217bcabbe7fdfe05b2deca6915b284703e1af0e06a9b519028a073ed32b67648c95ce8352bb0a0cc7997d1cd3f6a18372633143d0d18d4867 From 02a60d692c07defd1a01ec2da6ca2c3d42195b06 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 19 Jun 2020 16:53:20 +0800 Subject: [PATCH 03/62] refresh to cabal-rpm-2.0.6 --- Agda.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Agda.spec b/Agda.spec index 0aa70fe..c0a4e8f 100644 --- a/Agda.spec +++ b/Agda.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-2.0.5 --subpackage +# generated by cabal-rpm-2.0.6 --subpackage # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ # https://gitlab.haskell.org/ghc/ghc/issues/17030 panic From 8b113d48b1f9d68a3aba10c118ea36be0b1865e7 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 20 Jul 2020 13:21:15 +0800 Subject: [PATCH 04/62] enable armv7hl with -O0 (#991929) --- Agda.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Agda.spec b/Agda.spec index c0a4e8f..e320fa6 100644 --- a/Agda.spec +++ b/Agda.spec @@ -17,7 +17,7 @@ Name: %{pkg_name} Version: 2.6.1 # can only be reset when all subpkgs bumped -Release: 23%{?dist} +Release: 24%{?dist} Summary: A dependently typed functional programming language and proof assistant License: MIT and BSD @@ -79,8 +79,6 @@ BuildRequires: ghc-network-uri-prof BuildRequires: ghc-utf8-string-prof # End cabal-rpm deps BuildRequires: emacs(bin) -# https://bugzilla.redhat.com/show_bug.cgi?id=991929 -ExcludeArch: %{arm} # introduced for F23 Obsoletes: emacs-agda-el < 2.4.2.2-5 @@ -182,6 +180,9 @@ cd - # Begin cabal-rpm build: %ghc_libs_build %{subpkgs} +%ifarch armv7hl +%define cabal_configure_options --ghc-options="-O0" +%endif %ghc_lib_build # End cabal-rpm build @@ -246,6 +247,9 @@ rm -r %{buildroot}%{_datadir}/%{pkgver}/emacs-mode %changelog +* Mon Jul 20 2020 Jens Petersen - 2.6.1-24 +- enable armv7hl with -O0 + * Sun Jun 07 2020 Jens Petersen - 2.6.1-23 - update to 2.6.1 - drop EdisonCore and EdisonAPI deps From ac21eaf93141ce8b07ca529f988399bc5a79368c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 27 Jul 2020 10:12:31 +0000 Subject: [PATCH 05/62] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- Agda.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Agda.spec b/Agda.spec index e320fa6..b17006c 100644 --- a/Agda.spec +++ b/Agda.spec @@ -17,7 +17,7 @@ Name: %{pkg_name} Version: 2.6.1 # can only be reset when all subpkgs bumped -Release: 24%{?dist} +Release: 25%{?dist} Summary: A dependently typed functional programming language and proof assistant License: MIT and BSD @@ -247,6 +247,9 @@ rm -r %{buildroot}%{_datadir}/%{pkgver}/emacs-mode %changelog +* Mon Jul 27 2020 Fedora Release Engineering - 2.6.1-25 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Mon Jul 20 2020 Jens Petersen - 2.6.1-24 - enable armv7hl with -O0 From 89dbda77ba6784a20bc941853e40a58600be3298 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Mon, 27 Jul 2020 18:38:59 -0600 Subject: [PATCH 06/62] Disable LTO on s390 --- Agda.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Agda.spec b/Agda.spec index b17006c..3f03e51 100644 --- a/Agda.spec +++ b/Agda.spec @@ -17,7 +17,7 @@ Name: %{pkg_name} Version: 2.6.1 # can only be reset when all subpkgs bumped -Release: 25%{?dist} +Release: 26%{?dist} Summary: A dependently typed functional programming language and proof assistant License: MIT and BSD @@ -166,6 +166,10 @@ fi %build +# This patch has LTO symbol mismatches when built on s390x, so disable it on that +# platform for now +%define _lto_cflags %{nil} + %define elisp_files eri.el agda-input.el annotation.el agda2-highlight.el agda2-abbrevs.el agda2-queue.el agda2-mode.el agda2-mode-pkg.el agda2.el # check no missing new elisp files @@ -247,6 +251,9 @@ rm -r %{buildroot}%{_datadir}/%{pkgver}/emacs-mode %changelog +* Mon Jul 27 2020 Jeff Law - 2.6.1-26 +- Disable LTO on s390 + * Mon Jul 27 2020 Fedora Release Engineering - 2.6.1-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From e0dc3e164114587b9a44b0dde007955c9bf5536a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 31 Jul 2020 23:50:46 +0000 Subject: [PATCH 07/62] - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- Agda.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Agda.spec b/Agda.spec index 3f03e51..e447b87 100644 --- a/Agda.spec +++ b/Agda.spec @@ -17,7 +17,7 @@ Name: %{pkg_name} Version: 2.6.1 # can only be reset when all subpkgs bumped -Release: 26%{?dist} +Release: 27%{?dist} Summary: A dependently typed functional programming language and proof assistant License: MIT and BSD @@ -251,6 +251,10 @@ rm -r %{buildroot}%{_datadir}/%{pkgver}/emacs-mode %changelog +* Fri Jul 31 2020 Fedora Release Engineering - 2.6.1-27 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Mon Jul 27 2020 Jeff Law - 2.6.1-26 - Disable LTO on s390 From 2869a2b3a98eeaa629f1c7a18072a5e0e3d297b0 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 1 Sep 2020 14:00:51 +0800 Subject: [PATCH 08/62] uri-encode has been packaged --- Agda.spec | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/Agda.spec b/Agda.spec index e447b87..cd810a3 100644 --- a/Agda.spec +++ b/Agda.spec @@ -11,13 +11,12 @@ %global geniplatemirror geniplate-mirror-0.7.6 %global murmurhash murmur-hash-0.1.0.9 -%global uriencode uri-encode-1.5.0.5 -%global subpkgs %{geniplatemirror} %{murmurhash} %{uriencode} +%global subpkgs %{geniplatemirror} %{murmurhash} Name: %{pkg_name} Version: 2.6.1 # can only be reset when all subpkgs bumped -Release: 27%{?dist} +Release: 28%{?dist} Summary: A dependently typed functional programming language and proof assistant License: MIT and BSD @@ -26,7 +25,6 @@ Url: https://hackage.haskell.org/package/%{name} Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz Source1: https://hackage.haskell.org/package/%{geniplatemirror}/%{geniplatemirror}.tar.gz Source2: https://hackage.haskell.org/package/%{murmurhash}/%{murmurhash}.tar.gz -Source3: https://hackage.haskell.org/package/%{uriencode}/%{uriencode}.tar.gz # End cabal-rpm sources Source10: agda-mode-init.el @@ -69,14 +67,11 @@ BuildRequires: ghc-text-prof BuildRequires: ghc-time-prof BuildRequires: ghc-transformers-prof BuildRequires: ghc-unordered-containers-prof -#BuildRequires: ghc-uri-encode-prof +BuildRequires: ghc-uri-encode-prof BuildRequires: ghc-zlib-prof BuildRequires: alex BuildRequires: happy Obsoletes: %{name}-common < %{version}-%{release} -# for missing dep 'uri-encode': -BuildRequires: ghc-network-uri-prof -BuildRequires: ghc-utf8-string-prof # End cabal-rpm deps BuildRequires: emacs(bin) @@ -144,7 +139,6 @@ This package provides the Haskell %{name} profiling library. %if %{defined ghclibdir} %ghc_lib_subpackage %{geniplatemirror} %ghc_lib_subpackage %{murmurhash} -%ghc_lib_subpackage %{uriencode} %endif %global version %{main_version} @@ -152,13 +146,13 @@ This package provides the Haskell %{name} profiling library. %prep # Begin cabal-rpm setup: -%setup -q -a1 -a2 -a3 +%setup -q -a1 -a2 # End cabal-rpm setup ( cd %{geniplatemirror} cabal-tweak-dep-ver template-haskell '< 2.14' '< 3' ) -# tweak the Agda version in the emacs mode +# check the Agda version in the emacs mode if ! grep -q \"%{version}\" src/data/emacs-mode/agda2-mode.el; then echo "agda2-version in src/data/emacs-mode/agda2-mode.el out of sync!" exit 1 @@ -251,6 +245,9 @@ rm -r %{buildroot}%{_datadir}/%{pkgver}/emacs-mode %changelog +* Tue Sep 1 2020 Jens Petersen - 2.6.1-28 +- uri-encode has been packaged + * Fri Jul 31 2020 Fedora Release Engineering - 2.6.1-27 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 147e1019eb9686602c3ac0fd91f0f9ad75e262ad Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 3 Sep 2020 15:50:43 +0800 Subject: [PATCH 09/62] remove uri-encode from sources --- sources | 1 - 1 file changed, 1 deletion(-) diff --git a/sources b/sources index 761c297..500f350 100644 --- a/sources +++ b/sources @@ -1,5 +1,4 @@ SHA512 (geniplate-mirror-0.7.6.tar.gz) = e75f42524d76f02f2dd66ca240ec4b2711445d7ce2b314bf2a487c61927707960ae74023faab3b539294d4afb66b0381462dd9ed0d1bca5a70f21e5d12d11f5d SHA512 (monadplus-1.4.2.tar.gz) = 839a35b3de1226e177c07e30b86e841ddd19075d3ce29fa7154fefb371d9bef8aa85847d7c139faad93713d5b7889979498097f69c6e3bccfcee2fbbf7bf6539 SHA512 (murmur-hash-0.1.0.9.tar.gz) = 7ec34346d6361de9e9d716d98f207534807faea97c683212e5ab037d2e16f007845eb265dba0e232617a80acc7e37f4238d4424883b975d04057ade595788486 -SHA512 (uri-encode-1.5.0.5.tar.gz) = 1ad0fb5144b93dce50ffaf99a84ba2fe8c05508866fb374d62b75c4a32b58f3c97d7ec30257eec29973ad15fde4e902286e86a41ee36e62b00e00d941e181885 SHA512 (Agda-2.6.1.tar.gz) = a499e020f474fa2217bcabbe7fdfe05b2deca6915b284703e1af0e06a9b519028a073ed32b67648c95ce8352bb0a0cc7997d1cd3f6a18372633143d0d18d4867 From cdeca6e1e4508fb85bf837e2e6841c23e4ea2853 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 11 Sep 2020 10:35:56 +0800 Subject: [PATCH 10/62] uri-encode has been packaged --- Agda.spec | 17 +++++++---------- sources | 1 - 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/Agda.spec b/Agda.spec index a53904e..684b3e9 100644 --- a/Agda.spec +++ b/Agda.spec @@ -13,13 +13,12 @@ %global EdisonCore EdisonCore-1.3.2.1 %global geniplatemirror geniplate-mirror-0.7.6 %global murmurhash murmur-hash-0.1.0.9 -%global uriencode uri-encode-1.5.0.5 -%global subpkgs %{EdisonAPI} %{EdisonCore} %{geniplatemirror} %{murmurhash} %{uriencode} +%global subpkgs %{EdisonAPI} %{EdisonCore} %{geniplatemirror} %{murmurhash} Name: %{pkg_name} Version: 2.6.0.1 # can only be reset when all subpkgs bumped -Release: 22%{?dist} +Release: 23%{?dist} Summary: A dependently typed functional programming language and proof assistant License: MIT and BSD @@ -30,7 +29,6 @@ Source1: https://hackage.haskell.org/package/%{EdisonAPI}/%{EdisonAPI}.ta Source2: https://hackage.haskell.org/package/%{EdisonCore}/%{EdisonCore}.tar.gz Source3: https://hackage.haskell.org/package/%{geniplatemirror}/%{geniplatemirror}.tar.gz Source4: https://hackage.haskell.org/package/%{murmurhash}/%{murmurhash}.tar.gz -Source5: https://hackage.haskell.org/package/%{uriencode}/%{uriencode}.tar.gz # End cabal-rpm sources Source10: agda-mode-init.el @@ -73,16 +71,13 @@ BuildRequires: ghc-text-prof BuildRequires: ghc-time-prof BuildRequires: ghc-transformers-prof BuildRequires: ghc-unordered-containers-prof -#BuildRequires: ghc-uri-encode-prof +BuildRequires: ghc-uri-encode-prof BuildRequires: ghc-zlib-prof BuildRequires: alex BuildRequires: happy Obsoletes: %{name}-common < %{version}-%{release} # for missing dep 'EdisonCore': BuildRequires: ghc-QuickCheck-prof -# for missing dep 'uri-encode': -BuildRequires: ghc-network-uri-prof -BuildRequires: ghc-utf8-string-prof # End cabal-rpm deps BuildRequires: emacs(bin) # https://bugzilla.redhat.com/show_bug.cgi?id=991929 @@ -154,7 +149,6 @@ This package provides the Haskell %{name} profiling library. %ghc_lib_subpackage %{EdisonCore} %ghc_lib_subpackage %{geniplatemirror} %ghc_lib_subpackage %{murmurhash} -%ghc_lib_subpackage %{uriencode} %endif %global version %{main_version} @@ -162,7 +156,7 @@ This package provides the Haskell %{name} profiling library. %prep # Begin cabal-rpm setup: -%setup -q -a1 -a2 -a3 -a4 -a5 +%setup -q -a1 -a2 -a3 -a4 # End cabal-rpm setup ( cd %{geniplatemirror} @@ -254,6 +248,9 @@ rm -r %{buildroot}%{_datadir}/%{pkgver}/emacs-mode %changelog +* Fri Sep 11 2020 Jens Petersen - 2.6.0.1-23 +- uri-encode has been packaged + * Wed May 27 2020 Jens Petersen - 2.6.0.1-22 - move statically linked /usr/bin/agda and datadir into base package - also drop common subpackage diff --git a/sources b/sources index 27fd4d1..03bfc8b 100644 --- a/sources +++ b/sources @@ -3,5 +3,4 @@ SHA512 (EdisonCore-1.3.2.1.tar.gz) = 6812b04edb1abdfc2486d66bb86d6370b76667de160 SHA512 (geniplate-mirror-0.7.6.tar.gz) = e75f42524d76f02f2dd66ca240ec4b2711445d7ce2b314bf2a487c61927707960ae74023faab3b539294d4afb66b0381462dd9ed0d1bca5a70f21e5d12d11f5d SHA512 (monadplus-1.4.2.tar.gz) = 839a35b3de1226e177c07e30b86e841ddd19075d3ce29fa7154fefb371d9bef8aa85847d7c139faad93713d5b7889979498097f69c6e3bccfcee2fbbf7bf6539 SHA512 (murmur-hash-0.1.0.9.tar.gz) = 7ec34346d6361de9e9d716d98f207534807faea97c683212e5ab037d2e16f007845eb265dba0e232617a80acc7e37f4238d4424883b975d04057ade595788486 -SHA512 (uri-encode-1.5.0.5.tar.gz) = 1ad0fb5144b93dce50ffaf99a84ba2fe8c05508866fb374d62b75c4a32b58f3c97d7ec30257eec29973ad15fde4e902286e86a41ee36e62b00e00d941e181885 SHA512 (Agda-2.6.0.1.tar.gz) = 90d5e4939f2ca373b5b2aa2809ea97e7e4ec5ffdbf864dd1b0fe24d8a8971e7e599b03896315c82f7d57f24fcf7c694f6b06595cda26be3afee0fa15a72c3c35 From c9ed43346d7298e76df2320a624011dcb2e60f16 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Sun, 11 Oct 2020 18:52:28 -0600 Subject: [PATCH 11/62] Re-enable LTO --- Agda.spec | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Agda.spec b/Agda.spec index cd810a3..0ec5606 100644 --- a/Agda.spec +++ b/Agda.spec @@ -16,7 +16,7 @@ Name: %{pkg_name} Version: 2.6.1 # can only be reset when all subpkgs bumped -Release: 28%{?dist} +Release: 29%{?dist} Summary: A dependently typed functional programming language and proof assistant License: MIT and BSD @@ -160,10 +160,6 @@ fi %build -# This patch has LTO symbol mismatches when built on s390x, so disable it on that -# platform for now -%define _lto_cflags %{nil} - %define elisp_files eri.el agda-input.el annotation.el agda2-highlight.el agda2-abbrevs.el agda2-queue.el agda2-mode.el agda2-mode-pkg.el agda2.el # check no missing new elisp files @@ -245,6 +241,9 @@ rm -r %{buildroot}%{_datadir}/%{pkgver}/emacs-mode %changelog +* Sun Oct 11 2020 Jeff Law - 2.6.1-29 +- Re-enable LTO + * Tue Sep 1 2020 Jens Petersen - 2.6.1-28 - uri-encode has been packaged From 1786c876800d4c59f28a4a58a2cd0d89ec5f2c67 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 25 Jan 2021 22:15:28 +0000 Subject: [PATCH 12/62] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- Agda.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Agda.spec b/Agda.spec index 0ec5606..7785290 100644 --- a/Agda.spec +++ b/Agda.spec @@ -16,7 +16,7 @@ Name: %{pkg_name} Version: 2.6.1 # can only be reset when all subpkgs bumped -Release: 29%{?dist} +Release: 30%{?dist} Summary: A dependently typed functional programming language and proof assistant License: MIT and BSD @@ -241,6 +241,9 @@ rm -r %{buildroot}%{_datadir}/%{pkgver}/emacs-mode %changelog +* Mon Jan 25 2021 Fedora Release Engineering - 2.6.1-30 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Sun Oct 11 2020 Jeff Law - 2.6.1-29 - Re-enable LTO From 1f940a6fc173ba0f3fed302f68fa6f2814623a40 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 1 Feb 2021 15:59:28 +0800 Subject: [PATCH 13/62] build Agda with -O0 on armv7 (backport fix from f33) --- Agda.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Agda.spec b/Agda.spec index 684b3e9..07f6f89 100644 --- a/Agda.spec +++ b/Agda.spec @@ -18,7 +18,7 @@ Name: %{pkg_name} Version: 2.6.0.1 # can only be reset when all subpkgs bumped -Release: 23%{?dist} +Release: 24%{?dist} Summary: A dependently typed functional programming language and proof assistant License: MIT and BSD @@ -80,8 +80,6 @@ Obsoletes: %{name}-common < %{version}-%{release} BuildRequires: ghc-QuickCheck-prof # End cabal-rpm deps BuildRequires: emacs(bin) -# https://bugzilla.redhat.com/show_bug.cgi?id=991929 -ExcludeArch: %{arm} # introduced for F23 Obsoletes: emacs-agda-el < 2.4.2.2-5 @@ -184,6 +182,10 @@ cd - # Begin cabal-rpm build: %ghc_libs_build %{subpkgs} +%ifarch armv7hl +# https://bugzilla.redhat.com/show_bug.cgi?id=991929 +%define cabal_configure_options --ghc-options="-O0" +%endif %ghc_lib_build # End cabal-rpm build @@ -248,6 +250,9 @@ rm -r %{buildroot}%{_datadir}/%{pkgver}/emacs-mode %changelog +* Mon Feb 1 2021 Jens Petersen - 2.6.0.1-24 +- build Agda with -O0 on armv7 (#991929) + * Fri Sep 11 2020 Jens Petersen - 2.6.0.1-23 - uri-encode has been packaged From 300a13f6720d77e262123c8c7fece3d87a8ebd46 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 21 Jul 2021 10:43:54 +0000 Subject: [PATCH 14/62] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering From 33b2b4d0b93cc14519088bd22ce3061a68be5ade Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 21 Jul 2021 15:38:18 +0000 Subject: [PATCH 15/62] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- Agda.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Agda.spec b/Agda.spec index 7785290..9010693 100644 --- a/Agda.spec +++ b/Agda.spec @@ -16,7 +16,7 @@ Name: %{pkg_name} Version: 2.6.1 # can only be reset when all subpkgs bumped -Release: 30%{?dist} +Release: 31%{?dist} Summary: A dependently typed functional programming language and proof assistant License: MIT and BSD @@ -241,6 +241,9 @@ rm -r %{buildroot}%{_datadir}/%{pkgver}/emacs-mode %changelog +* Wed Jul 21 2021 Fedora Release Engineering - 2.6.1-31 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Mon Jan 25 2021 Fedora Release Engineering - 2.6.1-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 63734cebf181f9256bc811b9dbba1e47ffc3d292 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 18 Feb 2021 15:25:42 +0800 Subject: [PATCH 16/62] update geniplate-mirror to 0.7.7 --- Agda.spec | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/Agda.spec b/Agda.spec index 9010693..fc6aee6 100644 --- a/Agda.spec +++ b/Agda.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-2.0.6 --subpackage +# generated by cabal-rpm-2.0.8 --subpackage # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ # https://gitlab.haskell.org/ghc/ghc/issues/17030 panic @@ -9,7 +9,7 @@ %global pkg_name Agda %global pkgver %{pkg_name}-%{version} -%global geniplatemirror geniplate-mirror-0.7.6 +%global geniplatemirror geniplate-mirror-0.7.7 %global murmurhash murmur-hash-0.1.0.9 %global subpkgs %{geniplatemirror} %{murmurhash} @@ -65,7 +65,6 @@ BuildRequires: ghc-strict-prof BuildRequires: ghc-template-haskell-prof BuildRequires: ghc-text-prof BuildRequires: ghc-time-prof -BuildRequires: ghc-transformers-prof BuildRequires: ghc-unordered-containers-prof BuildRequires: ghc-uri-encode-prof BuildRequires: ghc-zlib-prof @@ -148,10 +147,6 @@ This package provides the Haskell %{name} profiling library. # Begin cabal-rpm setup: %setup -q -a1 -a2 # End cabal-rpm setup -( -cd %{geniplatemirror} -cabal-tweak-dep-ver template-haskell '< 2.14' '< 3' -) # check the Agda version in the emacs mode if ! grep -q \"%{version}\" src/data/emacs-mode/agda2-mode.el; then echo "agda2-version in src/data/emacs-mode/agda2-mode.el out of sync!" @@ -163,6 +158,7 @@ fi %define elisp_files eri.el agda-input.el annotation.el agda2-highlight.el agda2-abbrevs.el agda2-queue.el agda2-mode.el agda2-mode-pkg.el agda2.el # check no missing new elisp files +( cd src/data/emacs-mode for i in *.el; do if ! echo %{elisp_files} | grep -q $i; then @@ -170,7 +166,7 @@ for i in *.el; do exit 1 fi done -cd - +) # Begin cabal-rpm build: %ghc_libs_build %{subpkgs} @@ -180,11 +176,12 @@ cd - %ghc_lib_build # End cabal-rpm build +( cd src/data/emacs-mode for i in %elisp_files; do %{_emacs_bytecompile} $i done -cd - +) %install From 14d6c0b37ecb79d8832c7eb46cd7ef4bb42d3842 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 18 Feb 2021 15:26:41 +0800 Subject: [PATCH 17/62] move libs and data files to common subpackage again --- Agda.spec | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/Agda.spec b/Agda.spec index fc6aee6..0c9ff5d 100644 --- a/Agda.spec +++ b/Agda.spec @@ -70,7 +70,7 @@ BuildRequires: ghc-uri-encode-prof BuildRequires: ghc-zlib-prof BuildRequires: alex BuildRequires: happy -Obsoletes: %{name}-common < %{version}-%{release} +Requires: %{name}-common = %{version}-%{release} # End cabal-rpm deps BuildRequires: emacs(bin) @@ -92,8 +92,17 @@ the Swedish logician Per Martin-Löf. It has many similarities with other proof assistants based on dependent types, such as Coq, Epigram and NuPRL. +%package common +Summary: %{name} common files +BuildArch: noarch + +%description common +This package provides the %{name} core libraries and runtime related files. + + %package -n ghc-%{name} Summary: Haskell %{name} library +Requires: %{name}-common = %{version}-%{release} %description -n ghc-%{name} This package provides the Haskell %{name} shared library. @@ -189,6 +198,7 @@ done %ghc_libs_install %{subpkgs} %ghc_lib_install %ghc_fix_rpath %{pkgver} +mv %{buildroot}%{_ghcdocdir}{,-common} # End cabal-rpm install for i in $(find %{buildroot}%{_datadir}/%{pkgver} -name "*.agda"); do @@ -208,19 +218,24 @@ rm -r %{buildroot}%{_datadir}/%{pkgver}/emacs-mode %files -%license LICENSE -%doc CHANGELOG.md README.md -%{_bindir}/agda -%{_datadir}/%{pkgver} # Begin cabal-rpm files: +%{_bindir}/agda +# End cabal-rpm files %dir %{_emacs_sitelispdir}/agda %{_emacs_sitelispdir}/agda/*.el %{_emacs_sitelispdir}/agda/*.elc %{_emacs_sitestartdir}/*.el -%files -n ghc-%{name} -f ghc-%{name}.files +%files common +# Begin cabal-rpm files: %license LICENSE +%doc CHANGELOG.md README.md +%{_datadir}/%{pkgver} +# End cabal-rpm files + + +%files -n ghc-%{name} -f ghc-%{name}.files %files -n ghc-%{name}-devel -f ghc-%{name}-devel.files From 99d2241eeb1c4f2a2b8bc23d95a27746ed8e6484 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 5 Aug 2021 00:42:06 +0800 Subject: [PATCH 18/62] update to 2.6.1.3 --- .gitignore | 2 ++ Agda.spec | 8 ++++++-- sources | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 1a29f0a..325d083 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,5 @@ /Agda-2.5.4.2.tar.gz /Agda-2.6.0.1.tar.gz /Agda-2.6.1.tar.gz +/Agda-2.6.1.3.tar.gz +/geniplate-mirror-0.7.7.tar.gz diff --git a/Agda.spec b/Agda.spec index 0c9ff5d..55ac9bc 100644 --- a/Agda.spec +++ b/Agda.spec @@ -14,9 +14,9 @@ %global subpkgs %{geniplatemirror} %{murmurhash} Name: %{pkg_name} -Version: 2.6.1 +Version: 2.6.1.3 # can only be reset when all subpkgs bumped -Release: 31%{?dist} +Release: 32%{?dist} Summary: A dependently typed functional programming language and proof assistant License: MIT and BSD @@ -65,6 +65,7 @@ BuildRequires: ghc-strict-prof BuildRequires: ghc-template-haskell-prof BuildRequires: ghc-text-prof BuildRequires: ghc-time-prof +BuildRequires: ghc-transformers-prof BuildRequires: ghc-unordered-containers-prof BuildRequires: ghc-uri-encode-prof BuildRequires: ghc-zlib-prof @@ -253,6 +254,9 @@ rm -r %{buildroot}%{_datadir}/%{pkgver}/emacs-mode %changelog +* Thu Aug 5 2021 Jens Petersen - 2.6.1.3-32 +- update to 2.6.1.3 + * Wed Jul 21 2021 Fedora Release Engineering - 2.6.1-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index 500f350..246668e 100644 --- a/sources +++ b/sources @@ -1,4 +1,4 @@ -SHA512 (geniplate-mirror-0.7.6.tar.gz) = e75f42524d76f02f2dd66ca240ec4b2711445d7ce2b314bf2a487c61927707960ae74023faab3b539294d4afb66b0381462dd9ed0d1bca5a70f21e5d12d11f5d SHA512 (monadplus-1.4.2.tar.gz) = 839a35b3de1226e177c07e30b86e841ddd19075d3ce29fa7154fefb371d9bef8aa85847d7c139faad93713d5b7889979498097f69c6e3bccfcee2fbbf7bf6539 SHA512 (murmur-hash-0.1.0.9.tar.gz) = 7ec34346d6361de9e9d716d98f207534807faea97c683212e5ab037d2e16f007845eb265dba0e232617a80acc7e37f4238d4424883b975d04057ade595788486 -SHA512 (Agda-2.6.1.tar.gz) = a499e020f474fa2217bcabbe7fdfe05b2deca6915b284703e1af0e06a9b519028a073ed32b67648c95ce8352bb0a0cc7997d1cd3f6a18372633143d0d18d4867 +SHA512 (Agda-2.6.1.3.tar.gz) = 2778cde4d73bd1203690ef4bcca00fa62666a2b647f3f78525aa4f610e357663f0e03125415278870d14710916fd6e0534efd8f07cd03b4a93a37ff1ee1bbd50 +SHA512 (geniplate-mirror-0.7.7.tar.gz) = 8976e874372e29edb468a07bab5a524173d0daa6d48834349279d6ba0f4a79d890a1be23a7af7cd92485f44df08e9d32c54c4bbd8ae081aba5c705fdc652907e From 3e99f248000b9de09aeef3bd75a3fdf858aafc37 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 11 Jun 2021 18:18:44 +0800 Subject: [PATCH 19/62] cabal-rpm-2.0.9 --- Agda.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Agda.spec b/Agda.spec index 55ac9bc..074b0b4 100644 --- a/Agda.spec +++ b/Agda.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-2.0.8 --subpackage +# generated by cabal-rpm-2.0.9 --subpackage # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ # https://gitlab.haskell.org/ghc/ghc/issues/17030 panic @@ -126,6 +126,7 @@ This package provides the Haskell %{name} library development files. %package -n ghc-%{name}-doc Summary: Haskell %{name} library documentation BuildArch: noarch +Requires: ghc-filesystem %description -n ghc-%{name}-doc This package provides the Haskell %{name} library documentation. From 7625567586d39b74d62c9f71804f05f955db1a26 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 11 Jun 2021 18:22:49 +0800 Subject: [PATCH 20/62] add reference to #991929 to armv7 -O0 condition --- Agda.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/Agda.spec b/Agda.spec index 074b0b4..d6acb2e 100644 --- a/Agda.spec +++ b/Agda.spec @@ -182,6 +182,7 @@ done # Begin cabal-rpm build: %ghc_libs_build %{subpkgs} %ifarch armv7hl +# https://bugzilla.redhat.com/show_bug.cgi?id=991929 %define cabal_configure_options --ghc-options="-O0" %endif %ghc_lib_build From 5d5c715600437bc5aa9f569642b1c35f2ff9aa7d Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 5 Aug 2021 00:43:55 +0800 Subject: [PATCH 21/62] update to 2.6.2 --- .gitignore | 2 ++ Agda.spec | 13 +++++++++---- sources | 4 ++-- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 325d083..5da85e9 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,5 @@ /Agda-2.6.1.tar.gz /Agda-2.6.1.3.tar.gz /geniplate-mirror-0.7.7.tar.gz +/Agda-2.6.2.tar.gz +/geniplate-mirror-0.7.8.tar.gz diff --git a/Agda.spec b/Agda.spec index d6acb2e..47659db 100644 --- a/Agda.spec +++ b/Agda.spec @@ -9,12 +9,12 @@ %global pkg_name Agda %global pkgver %{pkg_name}-%{version} -%global geniplatemirror geniplate-mirror-0.7.7 +%global geniplatemirror geniplate-mirror-0.7.8 %global murmurhash murmur-hash-0.1.0.9 %global subpkgs %{geniplatemirror} %{murmurhash} Name: %{pkg_name} -Version: 2.6.1.3 +Version: 2.6.2 # can only be reset when all subpkgs bumped Release: 32%{?dist} Summary: A dependently typed functional programming language and proof assistant @@ -39,6 +39,7 @@ BuildRequires: ghc-binary-prof BuildRequires: ghc-blaze-html-prof BuildRequires: ghc-boxes-prof BuildRequires: ghc-bytestring-prof +BuildRequires: ghc-case-insensitive-prof BuildRequires: ghc-containers-prof BuildRequires: ghc-data-hash-prof BuildRequires: ghc-deepseq-prof @@ -47,15 +48,15 @@ BuildRequires: ghc-edit-distance-prof BuildRequires: ghc-equivalence-prof BuildRequires: ghc-exceptions-prof BuildRequires: ghc-filepath-prof -#BuildRequires: ghc-geniplate-mirror-prof BuildRequires: ghc-ghc-compact-prof BuildRequires: ghc-gitrev-prof BuildRequires: ghc-hashable-prof BuildRequires: ghc-hashtables-prof BuildRequires: ghc-haskeline-prof -BuildRequires: ghc-ieee754-prof +BuildRequires: ghc-monad-control-prof BuildRequires: ghc-mtl-prof #BuildRequires: ghc-murmur-hash-prof +BuildRequires: ghc-parallel-prof BuildRequires: ghc-pretty-prof BuildRequires: ghc-process-prof BuildRequires: ghc-regex-tdfa-prof @@ -256,6 +257,10 @@ rm -r %{buildroot}%{_datadir}/%{pkgver}/emacs-mode %changelog +* Thu Aug 5 2021 Jens Petersen - 2.6.2-32 +- update to 2.6.2 +- https://hackage.haskell.org/package/Agda-2.6.2/changelog + * Thu Aug 5 2021 Jens Petersen - 2.6.1.3-32 - update to 2.6.1.3 diff --git a/sources b/sources index 246668e..79e2a9a 100644 --- a/sources +++ b/sources @@ -1,4 +1,4 @@ SHA512 (monadplus-1.4.2.tar.gz) = 839a35b3de1226e177c07e30b86e841ddd19075d3ce29fa7154fefb371d9bef8aa85847d7c139faad93713d5b7889979498097f69c6e3bccfcee2fbbf7bf6539 SHA512 (murmur-hash-0.1.0.9.tar.gz) = 7ec34346d6361de9e9d716d98f207534807faea97c683212e5ab037d2e16f007845eb265dba0e232617a80acc7e37f4238d4424883b975d04057ade595788486 -SHA512 (Agda-2.6.1.3.tar.gz) = 2778cde4d73bd1203690ef4bcca00fa62666a2b647f3f78525aa4f610e357663f0e03125415278870d14710916fd6e0534efd8f07cd03b4a93a37ff1ee1bbd50 -SHA512 (geniplate-mirror-0.7.7.tar.gz) = 8976e874372e29edb468a07bab5a524173d0daa6d48834349279d6ba0f4a79d890a1be23a7af7cd92485f44df08e9d32c54c4bbd8ae081aba5c705fdc652907e +SHA512 (Agda-2.6.2.tar.gz) = 1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627 +SHA512 (geniplate-mirror-0.7.8.tar.gz) = 7d921cc31ad67d321158f2a0afb138d2c4e48857919691c21303561cb65b642168518ce8cb261d1572dbbcdfa6c578b2225d89f833e049237223f0b83b7e0261 From af39028c46108da9d0ae98d26d8efba41be75f43 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 9 Aug 2021 02:10:31 +0800 Subject: [PATCH 22/62] disable armv7hl: out of memory (#73471404) --- Agda.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Agda.spec b/Agda.spec index 47659db..fb8951d 100644 --- a/Agda.spec +++ b/Agda.spec @@ -28,6 +28,11 @@ Source2: https://hackage.haskell.org/package/%{murmurhash}/%{murmurhash}. # End cabal-rpm sources Source10: agda-mode-init.el +# [372 of 397] Compiling Agda.Interaction.Imports +# ghc: out of memory [even with -O0] +# https://bugzilla.redhat.com/show_bug.cgi?id=1991261 +ExcludeArch: armv7hl + # Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros-extra @@ -260,6 +265,7 @@ rm -r %{buildroot}%{_datadir}/%{pkgver}/emacs-mode * Thu Aug 5 2021 Jens Petersen - 2.6.2-32 - update to 2.6.2 - https://hackage.haskell.org/package/Agda-2.6.2/changelog +- disable armv7hl due to out of memory (#73471404) * Thu Aug 5 2021 Jens Petersen - 2.6.1.3-32 - update to 2.6.1.3 From ff1d99479bf96320cfb5eb719b8256c2222324b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Sat, 8 Jan 2022 11:06:18 +0100 Subject: [PATCH 23/62] Rebuilt for https://fedoraproject.org/wiki/Changes/LIBFFI34 --- Agda.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Agda.spec b/Agda.spec index fb8951d..8acf996 100644 --- a/Agda.spec +++ b/Agda.spec @@ -16,7 +16,7 @@ Name: %{pkg_name} Version: 2.6.2 # can only be reset when all subpkgs bumped -Release: 32%{?dist} +Release: 33%{?dist} Summary: A dependently typed functional programming language and proof assistant License: MIT and BSD @@ -262,6 +262,9 @@ rm -r %{buildroot}%{_datadir}/%{pkgver}/emacs-mode %changelog +* Sat Jan 08 2022 Miro Hrončok - 2.6.2-33 +- Rebuilt for https://fedoraproject.org/wiki/Changes/LIBFFI34 + * Thu Aug 5 2021 Jens Petersen - 2.6.2-32 - update to 2.6.2 - https://hackage.haskell.org/package/Agda-2.6.2/changelog From 24e46c692e379218b6e90b3bbec2f294fd018bc5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 19 Jan 2022 19:12:40 +0000 Subject: [PATCH 24/62] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- Agda.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Agda.spec b/Agda.spec index 8acf996..4ccbb35 100644 --- a/Agda.spec +++ b/Agda.spec @@ -16,7 +16,7 @@ Name: %{pkg_name} Version: 2.6.2 # can only be reset when all subpkgs bumped -Release: 33%{?dist} +Release: 34%{?dist} Summary: A dependently typed functional programming language and proof assistant License: MIT and BSD @@ -262,6 +262,9 @@ rm -r %{buildroot}%{_datadir}/%{pkgver}/emacs-mode %changelog +* Wed Jan 19 2022 Fedora Release Engineering - 2.6.2-34 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Sat Jan 08 2022 Miro Hrončok - 2.6.2-33 - Rebuilt for https://fedoraproject.org/wiki/Changes/LIBFFI34 From f21a1029c67dc1778b226edad0367d975835fded Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 7 Mar 2022 13:13:30 +0800 Subject: [PATCH 25/62] update to 2.6.2.1 --- .gitignore | 2 + Agda-2.6.2.1.cabal | 821 +++++++++++++++++++++++++++++++++++++++++++++ Agda.spec | 12 +- sources | 5 +- 4 files changed, 832 insertions(+), 8 deletions(-) create mode 100644 Agda-2.6.2.1.cabal diff --git a/.gitignore b/.gitignore index 5da85e9..63c1ce8 100644 --- a/.gitignore +++ b/.gitignore @@ -25,3 +25,5 @@ /geniplate-mirror-0.7.7.tar.gz /Agda-2.6.2.tar.gz /geniplate-mirror-0.7.8.tar.gz +/Agda-2.6.2.1.tar.gz +/murmur-hash-0.1.0.10.tar.gz diff --git a/Agda-2.6.2.1.cabal b/Agda-2.6.2.1.cabal new file mode 100644 index 0000000..e42cb7e --- /dev/null +++ b/Agda-2.6.2.1.cabal @@ -0,0 +1,821 @@ +name: Agda +version: 2.6.2.1 +x-revision: 4 +cabal-version: >= 1.10 +build-type: Custom +license: OtherLicense +license-file: LICENSE +copyright: (c) 2005-2021 The Agda Team. +author: Ulf Norell and The Agda Team, see https://agda.readthedocs.io/en/latest/team.html +maintainer: The Agda Team +homepage: http://wiki.portal.chalmers.se/agda/ +bug-reports: https://github.com/agda/agda/issues +category: Dependent types +synopsis: A dependently typed functional programming language and proof assistant +description: + Agda is a dependently typed functional programming language: It has + inductive families, which are similar to Haskell's GADTs, but they + can be indexed by values and not just types. It also has + parameterised modules, mixfix operators, Unicode characters, and an + interactive Emacs interface (the type checker can assist in the + development of your code). + . + Agda is also a proof assistant: It is an interactive system for + writing and checking proofs. Agda is based on intuitionistic type + theory, a foundational system for constructive mathematics developed + by the Swedish logician Per Martin-Löf. It has many + similarities with other proof assistants based on dependent types, + such as Coq, Epigram and NuPRL. + . + This package includes both a command-line program (agda) and an + Emacs mode. If you want to use the Emacs mode you can set it up by + running @agda-mode setup@ (see the README). + . + Note that the Agda package does not follow the package versioning + policy, because it is not intended to be used by third-party + packages. + +tested-with: GHC == 8.0.2 + GHC == 8.2.2 + GHC == 8.4.4 + GHC == 8.6.5 + GHC == 8.8.4 + GHC == 8.10.7 + GHC == 9.0.1 + GHC == 9.2.1 + +extra-source-files: CHANGELOG.md + README.md + doc/release-notes/2.6.2.md + doc/release-notes/2.6.1.3.md + doc/release-notes/2.6.1.2.md + doc/release-notes/2.6.1.1.md + doc/release-notes/2.6.1.md + doc/release-notes/2.6.0.1.md + doc/release-notes/2.6.0.md + doc/release-notes/2.5.4.2.md + doc/release-notes/2.5.4.1.md + doc/release-notes/2.5.4.md + doc/release-notes/2.5.3.md + doc/release-notes/2.5.2.md + doc/release-notes/2.5.1.2.md + doc/release-notes/2.5.1.1.md + doc/release-notes/2.5.1.md + doc/release-notes/2.4.2.5.md + doc/release-notes/2.4.2.4.md + doc/release-notes/2.4.2.3.md + doc/release-notes/2.4.2.2.md + doc/release-notes/2.4.2.1.md + doc/release-notes/2.4.2.md + doc/release-notes/2.4.0.2.md + doc/release-notes/2.4.0.1.md + doc/release-notes/2.4.0.md + doc/release-notes/2.3.2.2.md + doc/release-notes/2.3.2.1.md + doc/release-notes/2.3.2.md + doc/release-notes/2.3.0.md + doc/release-notes/2.2.10.md + doc/release-notes/2.2.8.md + doc/release-notes/2.2.6.md + doc/release-notes/2.2.2.md + doc/release-notes/2.2.4.md + doc/release-notes/2.2.0.md +-- Liang-Ting (2019-11-26): See Issues #4216 +-- doc/user-manual.pdf + stack-8.0.2.yaml + stack-8.2.2.yaml + stack-8.4.4.yaml + stack-8.6.5.yaml + stack-8.8.4.yaml + stack-8.10.7.yaml + stack-9.0.1.yaml + stack-9.2.1.yaml + +data-dir: src/data +data-files: emacs-mode/*.el + html/Agda.css + html/highlight-hover.js + JS/agda-rts.js + latex/agda.sty + latex/postprocess-latex.pl + lib/prim/Agda/Builtin/Bool.agda + lib/prim/Agda/Builtin/Char.agda + lib/prim/Agda/Builtin/Char/Properties.agda + lib/prim/Agda/Builtin/Coinduction.agda + lib/prim/Agda/Builtin/Cubical/Path.agda + lib/prim/Agda/Builtin/Cubical/Id.agda + lib/prim/Agda/Builtin/Cubical/Sub.agda + lib/prim/Agda/Builtin/Cubical/Glue.agda + lib/prim/Agda/Builtin/Cubical/HCompU.agda + lib/prim/Agda/Builtin/Equality.agda + lib/prim/Agda/Builtin/Equality/Erase.agda + lib/prim/Agda/Builtin/Equality/Rewrite.agda + lib/prim/Agda/Builtin/Float.agda + lib/prim/Agda/Builtin/Float/Properties.agda + lib/prim/Agda/Builtin/FromNat.agda + lib/prim/Agda/Builtin/FromNeg.agda + lib/prim/Agda/Builtin/FromString.agda + lib/prim/Agda/Builtin/IO.agda + lib/prim/Agda/Builtin/Int.agda + lib/prim/Agda/Builtin/List.agda + lib/prim/Agda/Builtin/Maybe.agda + lib/prim/Agda/Builtin/Nat.agda + lib/prim/Agda/Builtin/Reflection.agda + lib/prim/Agda/Builtin/Reflection/External.agda + lib/prim/Agda/Builtin/Reflection/Properties.agda + lib/prim/Agda/Builtin/Sigma.agda + lib/prim/Agda/Builtin/Size.agda + lib/prim/Agda/Builtin/Strict.agda + lib/prim/Agda/Builtin/String.agda + lib/prim/Agda/Builtin/String/Properties.agda + lib/prim/Agda/Builtin/TrustMe.agda + lib/prim/Agda/Builtin/Unit.agda + lib/prim/Agda/Builtin/Word.agda + lib/prim/Agda/Builtin/Word/Properties.agda + lib/prim/Agda/Primitive.agda + lib/prim/Agda/Primitive/Cubical.agda + MAlonzo/src/MAlonzo/*.hs + MAlonzo/src/MAlonzo/RTE/*.hs + +source-repository head + type: git + location: https://github.com/agda/agda.git + +source-repository this + type: git + location: https://github.com/agda/agda.git + tag: v2.6.2.1 + +flag cpphs + default: False + manual: True + description: Use cpphs instead of cpp. + +flag debug + default: False + manual: True + description: + Enable debugging features that may slow Agda down. + +flag enable-cluster-counting + default: False + description: + Enable the --count-clusters flag. (If enable-cluster-counting is + False, then the --count-clusters flag triggers an error message.) + +flag optimise-heavily + default: False + description: + Enable some expensive optimisations when compiling Agda. + +custom-setup + setup-depends: base >= 4.9.0.0 && < 4.17 + , Cabal >= 1.24.0.0 && < 3.7 + , directory >= 1.2.6.2 && < 1.4 + , filepath >= 1.4.1.0 && < 1.5 + , process >= 1.4.2.0 && < 1.7 + +library + hs-source-dirs: src/full + + if flag(cpphs) + -- We don't write an upper bound for cpphs because the + -- `build-tools` field can not be modified in Hackage. + + build-tools: cpphs >= 1.20.9 + ghc-options: -pgmP cpphs -optP --cpp + + if flag(debug) + cpp-options: -DDEBUG + + if flag(enable-cluster-counting) + cpp-options: -DCOUNT_CLUSTERS + build-depends: text-icu >= 0.7.1.0 + + if os(windows) + build-depends: Win32 >= 2.3.1.1 && < 2.13 + + -- Agda cannot be built with GHC 8.6.1 due to a compiler bug, see + -- Agda Issue #3344. + if impl(ghc == 8.6.1) + buildable: False + + -- Agda cannot be built with Windows and GHC 8.6.3 due to a compiler + -- bug, see Agda Issue #3657. + if os(windows) && impl(ghc == 8.6.3) + buildable: False + + build-depends: aeson >= 1.1.2.0 && < 2.1 + , array >= 0.5.1.1 && < 0.6 + , async >= 2.2 && < 2.3 + , base >= 4.9.0.0 && < 4.17 + , binary >= 0.8.3.0 && < 0.9 + , blaze-html >= 0.8 && < 0.10 + , boxes >= 0.1.3 && < 0.2 + , bytestring >= 0.10.8.1 && < 0.11.2 + , case-insensitive >= 1.2.0.4 && < 1.3 + -- containers-0.5.11.0 is the first to contain IntSet.intersection + , containers >= 0.5.11.0 && < 0.7 + , data-hash >= 0.2.0.0 && < 0.3 + , deepseq >= 1.4.2.0 && < 1.5 + , directory >= 1.2.6.2 && < 1.4 + , edit-distance >= 0.2.1.2 && < 0.3 + , equivalence >= 0.3.2 && < 0.5 + -- exceptions-0.8 instead of 0.10 because of stack + , exceptions >= 0.8 && < 0.11 + , filepath >= 1.4.1.0 && < 1.5 + , gitrev >= 1.3.1 && < 2.0 + -- hashable 1.2.0.10 makes library-test 10x + -- slower. The issue was fixed in hashable 1.2.1.0. + -- https://github.com/tibbe/hashable/issues/57. + , hashable >= 1.2.1.0 && < 1.5 + -- There is a "serious bug" + -- (https://hackage.haskell.org/package/hashtables-1.2.0.2/changelog) + -- in hashtables 1.2.0.0/1.2.0.1. This bug seems to + -- have made Agda much slower (infinitely slower?) in + -- some cases. + , hashtables >= 1.2.0.2 && < 1.4 + , haskeline >= 0.7.2.3 && < 0.9 + -- monad-control-1.0.1.0 is the first to contain liftThrough + , monad-control >= 1.0.1.0 && < 1.1 + -- mtl-2.1 contains a severe bug. + -- + -- mtl >= 2.2 && < 2.2.1 doesn't export Control.Monad.Except. + -- Need mtl 2.2.2 for export of Control.Monad.IdentityT (ghc 8.2.2+) + , mtl >= 2.2.1 && < 2.4 + , murmur-hash >= 0.1 && < 0.2 + , parallel >= 3.2.2.0 && < 3.3 + , pretty >= 1.1.3.3 && < 1.2 + , process >= 1.4.2.0 && < 1.7 + , regex-tdfa >= 1.3.1.0 && < 1.4 + , split >= 0.2.0.0 && < 0.2.4 + , stm >= 2.4.4 && < 2.6 + , strict >= 0.3.2 && < 0.5 + , template-haskell >= 2.11.0.0 && < 2.19 + , text >= 1.2.3.0 && < 2.1 + , time >= 1.6.0.1 && < 1.13 + , transformers >= 0.5 && < 0.6 + -- build failure with transformers-0.6 + , unordered-containers >= 0.2.5.0 && < 0.3 + , uri-encode >= 1.5.0.4 && < 1.6 + , zlib == 0.6.* + + -- Andreas, 2021-03-10: + -- All packages we depend upon should be mentioned in an unconditional + -- build-depends field, but additional restrictions on their + -- version for specific GHCs may be placed in conditionals. + -- + -- The goal is to be able to make (e.g. when a new GHC comes out) + -- revisions on hackage, e.g. relaxing upper bounds. This process + -- currently does not support revising conditionals. + + -- ASR (2018-10-16). + -- text-1.2.3.0 required for supporting GHC 8.4.1, 8.4.2 and + -- 8.4.3. See Issue #3277. + -- The other GHC versions can be restricted to >= 1.2.3.1. + if impl(ghc < 8.4.1) || impl(ghc > 8.4.3) + build-depends: text >= 1.2.3.1 + + if impl(ghc >= 8.4) + build-depends: ghc-compact == 0.1.* + + -- We don't write upper bounds for Alex nor Happy because the + -- `build-tools` field can not be modified in Hackage. Agda doesn't + -- build with Alex 3.2.0 and segfaults with 3.2.2. + build-tools: alex >= 3.1.0 && < 3.2.0 || == 3.2.1 || >= 3.2.3 + , happy >= 1.19.4 + + exposed-modules: Agda.Auto.Auto + Agda.Auto.Options + Agda.Auto.CaseSplit + Agda.Auto.Convert + Agda.Auto.NarrowingSearch + Agda.Auto.SearchControl + Agda.Auto.Syntax + Agda.Auto.Typecheck + Agda.Benchmarking + Agda.Compiler.Backend + Agda.Compiler.Builtin + Agda.Compiler.CallCompiler + Agda.Compiler.Common + Agda.Compiler.JS.Compiler + Agda.Compiler.JS.Syntax + Agda.Compiler.JS.Substitution + Agda.Compiler.JS.Pretty + Agda.Compiler.MAlonzo.Coerce + Agda.Compiler.MAlonzo.Compiler + Agda.Compiler.MAlonzo.Encode + Agda.Compiler.MAlonzo.HaskellTypes + Agda.Compiler.MAlonzo.Misc + Agda.Compiler.MAlonzo.Pragmas + Agda.Compiler.MAlonzo.Pretty + Agda.Compiler.MAlonzo.Primitives + Agda.Compiler.MAlonzo.Strict + Agda.Compiler.ToTreeless + Agda.Compiler.Treeless.AsPatterns + Agda.Compiler.Treeless.Builtin + Agda.Compiler.Treeless.Compare + Agda.Compiler.Treeless.EliminateDefaults + Agda.Compiler.Treeless.EliminateLiteralPatterns + Agda.Compiler.Treeless.Erase + Agda.Compiler.Treeless.GuardsToPrims + Agda.Compiler.Treeless.Identity + Agda.Compiler.Treeless.NormalizeNames + Agda.Compiler.Treeless.Pretty + Agda.Compiler.Treeless.Simplify + Agda.Compiler.Treeless.Subst + Agda.Compiler.Treeless.Uncase + Agda.Compiler.Treeless.Unused + Agda.ImpossibleTest + Agda.Interaction.AgdaTop + Agda.Interaction.Base + Agda.Interaction.BasicOps + Agda.Interaction.SearchAbout + Agda.Interaction.CommandLine + Agda.Interaction.EmacsCommand + Agda.Interaction.EmacsTop + Agda.Interaction.ExitCode + Agda.Interaction.JSONTop + Agda.Interaction.JSON + Agda.Interaction.FindFile + Agda.Interaction.Highlighting.Common + Agda.Interaction.Highlighting.Dot + Agda.Interaction.Highlighting.Emacs + Agda.Interaction.Highlighting.FromAbstract + Agda.Interaction.Highlighting.Generate + Agda.Interaction.Highlighting.HTML + Agda.Interaction.Highlighting.JSON + Agda.Interaction.Highlighting.Precise + Agda.Interaction.Highlighting.Range + Agda.Interaction.Highlighting.Vim + Agda.Interaction.Highlighting.LaTeX + Agda.Interaction.Imports + Agda.Interaction.InteractionTop + Agda.Interaction.Response + Agda.Interaction.MakeCase + Agda.Interaction.Monad + Agda.Interaction.Library + Agda.Interaction.Library.Base + Agda.Interaction.Library.Parse + Agda.Interaction.Options + Agda.Interaction.Options.Help + Agda.Interaction.Options.Lenses + Agda.Interaction.Options.Warnings + Agda.Main + Agda.Syntax.Abstract.Name + Agda.Syntax.Abstract.Pattern + Agda.Syntax.Abstract.PatternSynonyms + Agda.Syntax.Abstract.Pretty + Agda.Syntax.Abstract.Views + Agda.Syntax.Abstract + Agda.Syntax.Builtin + Agda.Syntax.Common + Agda.Syntax.Concrete.Attribute + Agda.Syntax.Concrete.Definitions + Agda.Syntax.Concrete.Definitions.Errors + Agda.Syntax.Concrete.Definitions.Monad + Agda.Syntax.Concrete.Definitions.Types + Agda.Syntax.Concrete.Fixity + Agda.Syntax.Concrete.Generic + Agda.Syntax.Concrete.Glyph + Agda.Syntax.Concrete.Name + Agda.Syntax.Concrete.Operators.Parser + Agda.Syntax.Concrete.Operators.Parser.Monad + Agda.Syntax.Concrete.Operators + Agda.Syntax.Concrete.Pattern + Agda.Syntax.Concrete.Pretty + Agda.Syntax.Concrete + Agda.Syntax.DoNotation + Agda.Syntax.Fixity + Agda.Syntax.IdiomBrackets + Agda.Syntax.Info + Agda.Syntax.Internal + Agda.Syntax.Internal.Blockers + Agda.Syntax.Internal.Defs + Agda.Syntax.Internal.Elim + Agda.Syntax.Internal.Generic + Agda.Syntax.Internal.MetaVars + Agda.Syntax.Internal.Names + Agda.Syntax.Internal.Pattern + Agda.Syntax.Internal.SanityCheck + Agda.Syntax.Literal + Agda.Syntax.Notation + Agda.Syntax.Parser.Alex + Agda.Syntax.Parser.Comments + Agda.Syntax.Parser.Layout + Agda.Syntax.Parser.LexActions + Agda.Syntax.Parser.Lexer + Agda.Syntax.Parser.Literate + Agda.Syntax.Parser.LookAhead + Agda.Syntax.Parser.Monad + Agda.Syntax.Parser.Parser + Agda.Syntax.Parser.StringLiterals + Agda.Syntax.Parser.Tokens + Agda.Syntax.Parser + Agda.Syntax.Position + Agda.Syntax.Reflected + Agda.Syntax.Scope.Base + Agda.Syntax.Scope.Monad + Agda.Syntax.Translation.AbstractToConcrete + Agda.Syntax.Translation.ConcreteToAbstract + Agda.Syntax.Translation.InternalToAbstract + Agda.Syntax.Translation.ReflectedToAbstract + Agda.Syntax.Treeless + Agda.Termination.CallGraph + Agda.Termination.CallMatrix + Agda.Termination.CutOff + Agda.Termination.Monad + Agda.Termination.Order + Agda.Termination.RecCheck + Agda.Termination.SparseMatrix + Agda.Termination.Semiring + Agda.Termination.TermCheck + Agda.Termination.Termination + Agda.TheTypeChecker + Agda.TypeChecking.Abstract + Agda.TypeChecking.CheckInternal + Agda.TypeChecking.CompiledClause + Agda.TypeChecking.CompiledClause.Compile + Agda.TypeChecking.CompiledClause.Match + Agda.TypeChecking.Constraints + Agda.TypeChecking.Conversion + Agda.TypeChecking.Conversion.Pure + Agda.TypeChecking.Coverage + Agda.TypeChecking.Coverage.Match + Agda.TypeChecking.Coverage.SplitTree + Agda.TypeChecking.Datatypes + Agda.TypeChecking.DeadCode + Agda.TypeChecking.DisplayForm + Agda.TypeChecking.DropArgs + Agda.TypeChecking.Empty + Agda.TypeChecking.EtaContract + Agda.TypeChecking.EtaExpand + Agda.TypeChecking.Errors + Agda.TypeChecking.Free + Agda.TypeChecking.Free.Lazy + Agda.TypeChecking.Free.Precompute + Agda.TypeChecking.Free.Reduce + Agda.TypeChecking.Forcing + Agda.TypeChecking.Functions + Agda.TypeChecking.Generalize + Agda.TypeChecking.IApplyConfluence + Agda.TypeChecking.Implicit + Agda.TypeChecking.Injectivity + Agda.TypeChecking.Inlining + Agda.TypeChecking.InstanceArguments + Agda.TypeChecking.Irrelevance + Agda.TypeChecking.Level + Agda.TypeChecking.LevelConstraints + Agda.TypeChecking.Lock + Agda.TypeChecking.Level.Solve + Agda.TypeChecking.MetaVars + Agda.TypeChecking.MetaVars.Mention + Agda.TypeChecking.MetaVars.Occurs + Agda.TypeChecking.Monad.Base + Agda.TypeChecking.Monad.Benchmark + Agda.TypeChecking.Monad.Builtin + Agda.TypeChecking.Monad.Caching + Agda.TypeChecking.Monad.Closure + Agda.TypeChecking.Monad.Constraints + Agda.TypeChecking.Monad.Context + Agda.TypeChecking.Monad.Debug + Agda.TypeChecking.Monad.Env + Agda.TypeChecking.Monad.Imports + Agda.TypeChecking.Monad.MetaVars + Agda.TypeChecking.Monad.Mutual + Agda.TypeChecking.Monad.Open + Agda.TypeChecking.Monad.Options + Agda.TypeChecking.Monad.Pure + Agda.TypeChecking.Monad.Signature + Agda.TypeChecking.Monad.SizedTypes + Agda.TypeChecking.Monad.State + Agda.TypeChecking.Monad.Statistics + Agda.TypeChecking.Monad.Trace + Agda.TypeChecking.Monad + Agda.TypeChecking.Names + Agda.TypeChecking.Patterns.Abstract + Agda.TypeChecking.Patterns.Internal + Agda.TypeChecking.Patterns.Match + Agda.TypeChecking.Polarity + Agda.TypeChecking.Positivity + Agda.TypeChecking.Positivity.Occurrence + Agda.TypeChecking.Pretty + Agda.TypeChecking.Pretty.Call + Agda.TypeChecking.Pretty.Constraint + Agda.TypeChecking.Pretty.Warning + Agda.TypeChecking.Primitive + Agda.TypeChecking.Primitive.Base + Agda.TypeChecking.Primitive.Cubical + Agda.TypeChecking.ProjectionLike + Agda.TypeChecking.Quote + Agda.TypeChecking.ReconstructParameters + Agda.TypeChecking.RecordPatterns + Agda.TypeChecking.Records + Agda.TypeChecking.Reduce + Agda.TypeChecking.Reduce.Fast + Agda.TypeChecking.Reduce.Monad + Agda.TypeChecking.Rewriting + Agda.TypeChecking.Rewriting.Clause + Agda.TypeChecking.Rewriting.Confluence + Agda.TypeChecking.Rewriting.NonLinMatch + Agda.TypeChecking.Rewriting.NonLinPattern + Agda.TypeChecking.Rules.Application + Agda.TypeChecking.Rules.Builtin + Agda.TypeChecking.Rules.Builtin.Coinduction + Agda.TypeChecking.Rules.Data + Agda.TypeChecking.Rules.Decl + Agda.TypeChecking.Rules.Def + Agda.TypeChecking.Rules.Display + Agda.TypeChecking.Rules.LHS + Agda.TypeChecking.Rules.LHS.Implicit + Agda.TypeChecking.Rules.LHS.Problem + Agda.TypeChecking.Rules.LHS.ProblemRest + Agda.TypeChecking.Rules.LHS.Unify + Agda.TypeChecking.Rules.Record + Agda.TypeChecking.Rules.Term + Agda.TypeChecking.Serialise + Agda.TypeChecking.Serialise.Base + Agda.TypeChecking.Serialise.Instances + Agda.TypeChecking.Serialise.Instances.Abstract + Agda.TypeChecking.Serialise.Instances.Common + Agda.TypeChecking.Serialise.Instances.Compilers + Agda.TypeChecking.Serialise.Instances.Highlighting + Agda.TypeChecking.Serialise.Instances.Internal + Agda.TypeChecking.Serialise.Instances.Errors + Agda.TypeChecking.SizedTypes + Agda.TypeChecking.SizedTypes.Solve + Agda.TypeChecking.SizedTypes.Syntax + Agda.TypeChecking.SizedTypes.Utils + Agda.TypeChecking.SizedTypes.WarshallSolver + Agda.TypeChecking.Sort + Agda.TypeChecking.Substitute + Agda.TypeChecking.Substitute.Class + Agda.TypeChecking.Substitute.DeBruijn + Agda.TypeChecking.SyntacticEquality + Agda.TypeChecking.Telescope + Agda.TypeChecking.Telescope.Path + Agda.TypeChecking.Unquote + Agda.TypeChecking.Warnings + Agda.TypeChecking.With + Agda.Utils.AffineHole + Agda.Utils.Applicative + Agda.Utils.AssocList + Agda.Utils.Bag + Agda.Utils.Benchmark + Agda.Utils.BiMap + Agda.Utils.CallStack + Agda.Utils.Char + Agda.Utils.Cluster + Agda.Utils.Empty + Agda.Utils.Environment + Agda.Utils.Either + Agda.Utils.Fail + Agda.Utils.Favorites + Agda.Utils.FileName + Agda.Utils.Float + Agda.Utils.Functor + Agda.Utils.Function + Agda.Utils.Graph.AdjacencyMap.Unidirectional + Agda.Utils.Graph.TopSort + Agda.Utils.Hash + Agda.Utils.Haskell.Syntax + Agda.Utils.Impossible + Agda.Utils.IndexedList + Agda.Utils.IntSet.Infinite + Agda.Utils.IO + Agda.Utils.IO.Binary + Agda.Utils.IO.Directory + Agda.Utils.IO.TempFile + Agda.Utils.IO.UTF8 + Agda.Utils.IORef + Agda.Utils.Lens + Agda.Utils.Lens.Examples + Agda.Utils.List + Agda.Utils.List1 + Agda.Utils.List2 + Agda.Utils.ListT + Agda.Utils.Map + Agda.Utils.Maybe + Agda.Utils.Maybe.Strict + Agda.Utils.Memo + Agda.Utils.Monad + Agda.Utils.Monoid + Agda.Utils.Null + Agda.Utils.Parser.MemoisedCPS + Agda.Utils.PartialOrd + Agda.Utils.Permutation + Agda.Utils.Pointer + Agda.Utils.POMonoid + Agda.Utils.Pretty + Agda.Utils.RangeMap + Agda.Utils.SemiRing + Agda.Utils.Semigroup + Agda.Utils.Singleton + Agda.Utils.Size + Agda.Utils.SmallSet + Agda.Utils.String + Agda.Utils.Suffix + Agda.Utils.Three + Agda.Utils.Time + Agda.Utils.Trie + Agda.Utils.Tuple + Agda.Utils.TypeLevel + Agda.Utils.TypeLits + Agda.Utils.Update + Agda.Utils.VarSet + Agda.Utils.Warshall + Agda.Utils.WithDefault + Agda.Utils.Zipper + Agda.Version + Agda.VersionCommit + + other-modules: Paths_Agda + Agda.Interaction.Highlighting.Dot.Backend + Agda.Interaction.Highlighting.Dot.Base + Agda.Interaction.Highlighting.HTML.Backend + Agda.Interaction.Highlighting.HTML.Base + Agda.Interaction.Highlighting.LaTeX.Backend + Agda.Interaction.Highlighting.LaTeX.Base + Agda.Interaction.Options.Base + Agda.Interaction.Options.HasOptions + Agda.Utils.CallStack.Base + Agda.Utils.CallStack.Pretty + + if flag(optimise-heavily) + ghc-options: -fexpose-all-unfoldings + -fspecialise-aggressively + + -- NOTE: If adding flags, also add to `.ghci-8.0` + if impl(ghc <= 8.0.2) + ghc-options: -fprint-potential-instances + -- Initially, we disable all the warnings. + -w + -Wwarn + -- This option must be the first one after disabling the + -- warnings. See Issue #2094. + -Wunrecognised-warning-flags + -Wdeprecated-flags + -Wderiving-typeable + -Wdodgy-exports + -Wdodgy-foreign-imports + -Wdodgy-imports + -Wduplicate-exports + -Wempty-enumerations + -Widentities + -Wincomplete-patterns + -Winline-rule-shadowing + -Wmissing-fields + -Wmissing-methods + -Wmissing-pattern-synonym-signatures + -Wmissing-signatures + -Wnoncanonical-monad-instances + -Wnoncanonical-monoid-instances + -Woverflowed-literals + -Woverlapping-patterns + -Wsemigroup + -Wtabs + -Wtyped-holes + -Wunrecognised-pragmas + -Wunticked-promoted-constructors + -Wunused-do-bind + -Wunused-foralls + -Wwarnings-deprecations + -Wwrong-do-bind + else + ghc-options: -fprint-potential-instances + -Wwarn=unrecognised-warning-flags + -Wwarn=deprecated-flags + -Wwarn=deriving-typeable + -Wwarn=dodgy-exports + -Wwarn=dodgy-foreign-imports + -Wwarn=dodgy-imports + -Wwarn=duplicate-exports + -Wwarn=empty-enumerations + -Wwarn=identities + -Wwarn=incomplete-patterns + -Wwarn=inline-rule-shadowing + -Wwarn=missing-fields + -Wwarn=missing-methods + -Wwarn=missing-pattern-synonym-signatures + -Wwarn=missing-signatures + -Wwarn=noncanonical-monad-instances + -Wwarn=noncanonical-monoid-instances + -Wwarn=overflowed-literals + -Wwarn=overlapping-patterns + -Wwarn=semigroup + -Wwarn=tabs + -Wwarn=typed-holes + -Wwarn=unrecognised-pragmas + -Wwarn=unticked-promoted-constructors + -Wwarn=unused-do-bind + -Wwarn=unused-foralls + -Wwarn=warnings-deprecations + -Wwarn=wrong-do-bind + + -- NOTE: If adding or removing flags, also change `.ghci-8.2` + if impl(ghc >= 8.2) + ghc-options: -Wcpp-undef + -- ASR TODO (2017-07-23): `make haddock` fails when + -- this flag is on. + -- -Wmissing-home-modules + -Wwarn=simplifiable-class-constraints + -Wwarn=unbanged-strict-patterns + + -- NOTE: If adding or removing flags, also change `.ghci-8.6` + if impl(ghc >= 8.6) + ghc-options: -Wwarn=inaccessible-code + -Wwarn=star-binder + -Wwarn=star-is-type + + -- The following warning is an error in GHC >= 8.10. + if impl(ghc >= 8.6) && impl(ghc < 8.10) + ghc-options: -Wwarn=implicit-kind-vars + + -- NOTE: If adding or removing flags, also change `.ghci-8.8` + if impl(ghc >= 8.8) + ghc-options: -Wwarn=missed-extra-shared-lib + + -- NOTE: If adding or removing flags, also change `.ghci-8.10` + if impl(ghc >= 8.10) + ghc-options: -Wwarn=deriving-defaults + -Wwarn=redundant-record-wildcards + -Wwarn=unused-packages + -Wwarn=unused-record-wildcards + + -- NOTE: If adding or removing flags, also change `.ghci-9.0` + if impl(ghc >= 9.0) + ghc-options: -Wwarn=invalid-haddock + + default-language: Haskell2010 + + -- NOTE: If adding or removing default extensions, also change: + -- .ghci-8.0 + -- .hlint.yaml + -- This should also use the same extensions as the `test-suite` target below. + default-extensions: BangPatterns + , ConstraintKinds + --L-T Chen (2019-07-15): + -- Enabling DataKinds only locally makes the compile time + -- slightly shorter, see PR #3920. + --, DataKinds + , DefaultSignatures + , DeriveDataTypeable + , DeriveFoldable + , DeriveFunctor + , DeriveGeneric + , DeriveTraversable + , ExistentialQuantification + , FlexibleContexts + , FlexibleInstances + , FunctionalDependencies + , GeneralizedNewtypeDeriving + , InstanceSigs + , LambdaCase + , MultiParamTypeClasses + , MultiWayIf + , NamedFieldPuns + , OverloadedStrings + , PatternSynonyms + , RankNTypes + , RecordWildCards + , ScopedTypeVariables + , StandaloneDeriving + , TupleSections + , TypeFamilies + , TypeSynonymInstances + +executable agda + hs-source-dirs: src/main + main-is: Main.hs + build-depends: Agda + -- A version range on Agda generates a warning with + -- some versions of Cabal and GHC + -- (e.g. cabal-install version 1.24.0.2 compiled + -- using version 1.24.2.0 of the Cabal library and + -- GHC 8.2.1 RC1). + + -- Nothing is used from the following package, + -- except for the prelude. + , base >= 4.9.0.0 && < 6 + default-language: Haskell2010 + -- If someone installs Agda with the setuid bit set, then the + -- presence of +RTS may be a security problem (see GHC bug #3910). + -- However, we sometimes recommend people to use +RTS to control + -- Agda's memory usage, so we want this functionality enabled by + -- default. + + -- The threaded RTS by default starts a major GC after a program has + -- been idle for 0.3 s. This feature turned out to be annoying, so + -- the idle GC is now by default turned off (-I0). + ghc-options: -threaded -rtsopts + "-with-rtsopts=-M3.5G -I0" + +executable agda-mode + hs-source-dirs: src/agda-mode + main-is: Main.hs + other-modules: Paths_Agda + build-depends: base >= 4.9.0.0 && < 4.17 + , directory >= 1.2.6.2 && < 1.4 + , filepath >= 1.4.1.0 && < 1.5 + , process >= 1.4.2.0 && < 1.7 + default-language: Haskell2010 diff --git a/Agda.spec b/Agda.spec index 4ccbb35..1bcbc25 100644 --- a/Agda.spec +++ b/Agda.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-2.0.9 --subpackage +# generated by cabal-rpm-2.0.11 --subpackage # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ # https://gitlab.haskell.org/ghc/ghc/issues/17030 panic @@ -10,13 +10,13 @@ %global pkgver %{pkg_name}-%{version} %global geniplatemirror geniplate-mirror-0.7.8 -%global murmurhash murmur-hash-0.1.0.9 +%global murmurhash murmur-hash-0.1.0.10 %global subpkgs %{geniplatemirror} %{murmurhash} Name: %{pkg_name} -Version: 2.6.2 +Version: 2.6.2.1 # can only be reset when all subpkgs bumped -Release: 34%{?dist} +Release: 35%{?dist} Summary: A dependently typed functional programming language and proof assistant License: MIT and BSD @@ -206,7 +206,6 @@ done # Begin cabal-rpm install %ghc_libs_install %{subpkgs} %ghc_lib_install -%ghc_fix_rpath %{pkgver} mv %{buildroot}%{_ghcdocdir}{,-common} # End cabal-rpm install @@ -262,6 +261,9 @@ rm -r %{buildroot}%{_datadir}/%{pkgver}/emacs-mode %changelog +* Mon Mar 07 2022 Jens Petersen - 2.6.2.1-35 +- https://hackage.haskell.org/package/Agda-2.6.2.1/changelog + * Wed Jan 19 2022 Fedora Release Engineering - 2.6.2-34 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild diff --git a/sources b/sources index 79e2a9a..714cf51 100644 --- a/sources +++ b/sources @@ -1,4 +1,3 @@ -SHA512 (monadplus-1.4.2.tar.gz) = 839a35b3de1226e177c07e30b86e841ddd19075d3ce29fa7154fefb371d9bef8aa85847d7c139faad93713d5b7889979498097f69c6e3bccfcee2fbbf7bf6539 -SHA512 (murmur-hash-0.1.0.9.tar.gz) = 7ec34346d6361de9e9d716d98f207534807faea97c683212e5ab037d2e16f007845eb265dba0e232617a80acc7e37f4238d4424883b975d04057ade595788486 -SHA512 (Agda-2.6.2.tar.gz) = 1be631c8fd2129df4b8eb97e7bbfc54838eccf745d402a9f769f9486e8f6a1f55eeab9d47dd6cd428136ea9a3800766a2c7180662b5a41a6c7f29ffadadc3627 +SHA512 (Agda-2.6.2.1.tar.gz) = 9ceb2d632fd1fd6e9c9a2ec54a834a0357e31852ac4a88db45dd6f3b629a0f1d335686083f2d94187a3e5d7812b0471841581e54111efe33db430800d41381d9 SHA512 (geniplate-mirror-0.7.8.tar.gz) = 7d921cc31ad67d321158f2a0afb138d2c4e48857919691c21303561cb65b642168518ce8cb261d1572dbbcdfa6c578b2225d89f833e049237223f0b83b7e0261 +SHA512 (murmur-hash-0.1.0.10.tar.gz) = d6d28fcd738de98ce4fb6c7e997b32bb15eef9efe53642cefffd2cfeccd1b56f634adbcadeec9fb94c69d1df9e675f7daf368c62806ef819dc242df947ddf70b From f6f1c370035c13cf0744f812e6ad39920c3d6955 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 7 Jun 2022 16:05:14 +0800 Subject: [PATCH 26/62] 2.6.2.2 --- .gitignore | 1 + Agda.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 63c1ce8..922ade5 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,4 @@ /geniplate-mirror-0.7.8.tar.gz /Agda-2.6.2.1.tar.gz /murmur-hash-0.1.0.10.tar.gz +/Agda-2.6.2.2.tar.gz diff --git a/Agda.spec b/Agda.spec index 1bcbc25..4fc3271 100644 --- a/Agda.spec +++ b/Agda.spec @@ -14,9 +14,9 @@ %global subpkgs %{geniplatemirror} %{murmurhash} Name: %{pkg_name} -Version: 2.6.2.1 +Version: 2.6.2.2 # can only be reset when all subpkgs bumped -Release: 35%{?dist} +Release: 36%{?dist} Summary: A dependently typed functional programming language and proof assistant License: MIT and BSD @@ -261,6 +261,9 @@ rm -r %{buildroot}%{_datadir}/%{pkgver}/emacs-mode %changelog +* Tue Jun 7 2022 Jens Petersen - 2.6.2.2-36 +- https://hackage.haskell.org/package/Agda-2.6.2.2/changelog + * Mon Mar 07 2022 Jens Petersen - 2.6.2.1-35 - https://hackage.haskell.org/package/Agda-2.6.2.1/changelog diff --git a/sources b/sources index 714cf51..bd787a1 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ -SHA512 (Agda-2.6.2.1.tar.gz) = 9ceb2d632fd1fd6e9c9a2ec54a834a0357e31852ac4a88db45dd6f3b629a0f1d335686083f2d94187a3e5d7812b0471841581e54111efe33db430800d41381d9 +SHA512 (Agda-2.6.2.2.tar.gz) = f54dcc0fd6dea106db4a04cc3b0b80f404f0613b5075849db17a1b4b5e176ed6d183bfdaf464fbcbc6e0807c1af0c8748f96552d48e537444109be54730685a8 SHA512 (geniplate-mirror-0.7.8.tar.gz) = 7d921cc31ad67d321158f2a0afb138d2c4e48857919691c21303561cb65b642168518ce8cb261d1572dbbcdfa6c578b2225d89f833e049237223f0b83b7e0261 SHA512 (murmur-hash-0.1.0.10.tar.gz) = d6d28fcd738de98ce4fb6c7e997b32bb15eef9efe53642cefffd2cfeccd1b56f634adbcadeec9fb94c69d1df9e675f7daf368c62806ef819dc242df947ddf70b From 31a616d83e79069cbd2b45edfb2b3b1fdb6ac8f4 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 19 Jun 2022 14:58:13 +0800 Subject: [PATCH 27/62] disable i686 (#2098425) --- Agda.spec | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/Agda.spec b/Agda.spec index 4fc3271..778b6f8 100644 --- a/Agda.spec +++ b/Agda.spec @@ -28,10 +28,21 @@ Source2: https://hackage.haskell.org/package/%{murmurhash}/%{murmurhash}. # End cabal-rpm sources Source10: agda-mode-init.el -# [372 of 397] Compiling Agda.Interaction.Imports -# ghc: out of memory [even with -O0] +# armv7hl: +#[372 of 397] Compiling Agda.Interaction.Imports +#ghc: out of memory [even with -O0] # https://bugzilla.redhat.com/show_bug.cgi?id=1991261 -ExcludeArch: armv7hl +# +# i686: hangs in ghc_lib_install +#Installing executable agda-mode in /builddir/build/BUILDROOT/Agda-2.6.2.2-36.fc37.i386/usr/bin +#Warning: Executable installed in +#/builddir/build/BUILDROOT/Agda-2.6.2.2-36.fc37.i386/usr/bin +#Installing library in /builddir/build/BUILDROOT/Agda-2.6.2.2-36.fc37.i386/usr/lib/ghc-8.10.7/Agda-2.6.2.2 +#Installing executable agda in /builddir/build/BUILDROOT/Agda-2.6.2.2-36.fc37.i386/usr/bin +#Warning: Executable installed in +#/builddir/build/BUILDROOT/Agda-2.6.2.2-36.fc37.i386/usr/bin +# https://bugzilla.redhat.com/show_bug.cgi?id=2098425 +ExcludeArch: armv7hl %{ix86} # Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel @@ -263,6 +274,7 @@ rm -r %{buildroot}%{_datadir}/%{pkgver}/emacs-mode %changelog * Tue Jun 7 2022 Jens Petersen - 2.6.2.2-36 - https://hackage.haskell.org/package/Agda-2.6.2.2/changelog +- disable i686 (#2098425) * Mon Mar 07 2022 Jens Petersen - 2.6.2.1-35 - https://hackage.haskell.org/package/Agda-2.6.2.1/changelog From 5383d0287ca8db2a85786cd51f5f02f3cf9a6128 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 20 Jun 2022 13:57:27 +0800 Subject: [PATCH 28/62] add Provides agda --- Agda.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Agda.spec b/Agda.spec index 778b6f8..ea0f600 100644 --- a/Agda.spec +++ b/Agda.spec @@ -88,6 +88,7 @@ BuildRequires: ghc-uri-encode-prof BuildRequires: ghc-zlib-prof BuildRequires: alex BuildRequires: happy +Provides: agda = %{version}-%{release} Requires: %{name}-common = %{version}-%{release} # End cabal-rpm deps BuildRequires: emacs(bin) @@ -272,6 +273,9 @@ rm -r %{buildroot}%{_datadir}/%{pkgver}/emacs-mode %changelog +* Mon Jun 20 2022 Jens Petersen +- add Provides agda + * Tue Jun 7 2022 Jens Petersen - 2.6.2.2-36 - https://hackage.haskell.org/package/Agda-2.6.2.2/changelog - disable i686 (#2098425) From 6a1a838a851380839a066b00cb707a2d902ab460 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 20 Jul 2022 18:26:00 +0000 Subject: [PATCH 29/62] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- Agda.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Agda.spec b/Agda.spec index ea0f600..195fba7 100644 --- a/Agda.spec +++ b/Agda.spec @@ -16,7 +16,7 @@ Name: %{pkg_name} Version: 2.6.2.2 # can only be reset when all subpkgs bumped -Release: 36%{?dist} +Release: 37%{?dist} Summary: A dependently typed functional programming language and proof assistant License: MIT and BSD @@ -273,6 +273,9 @@ rm -r %{buildroot}%{_datadir}/%{pkgver}/emacs-mode %changelog +* Wed Jul 20 2022 Fedora Release Engineering - 2.6.2.2-37 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Mon Jun 20 2022 Jens Petersen - add Provides agda From ccdfcab9071f4bc12b4f5add9f0652791476cd9d Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 21 Jan 2023 16:44:24 +0800 Subject: [PATCH 30/62] refresh to cabal-rpm-2.1.0 --- Agda-2.6.2.2.cabal | 828 +++++++++++++++++++++++++++++++++++++++++++++ Agda.spec | 46 ++- 2 files changed, 873 insertions(+), 1 deletion(-) create mode 100644 Agda-2.6.2.2.cabal diff --git a/Agda-2.6.2.2.cabal b/Agda-2.6.2.2.cabal new file mode 100644 index 0000000..60ea979 --- /dev/null +++ b/Agda-2.6.2.2.cabal @@ -0,0 +1,828 @@ +name: Agda +version: 2.6.2.2 +x-revision: 2 +cabal-version: >= 1.10 +build-type: Custom +license: OtherLicense +license-file: LICENSE +copyright: (c) 2005-2022 The Agda Team. +author: Ulf Norell and The Agda Team, see https://agda.readthedocs.io/en/latest/team.html +maintainer: The Agda Team +homepage: http://wiki.portal.chalmers.se/agda/ +bug-reports: https://github.com/agda/agda/issues +category: Dependent types +synopsis: A dependently typed functional programming language and proof assistant +description: + Agda is a dependently typed functional programming language: It has + inductive families, which are similar to Haskell's GADTs, but they + can be indexed by values and not just types. It also has + parameterised modules, mixfix operators, Unicode characters, and an + interactive Emacs interface (the type checker can assist in the + development of your code). + . + Agda is also a proof assistant: It is an interactive system for + writing and checking proofs. Agda is based on intuitionistic type + theory, a foundational system for constructive mathematics developed + by the Swedish logician Per Martin-Löf. It has many + similarities with other proof assistants based on dependent types, + such as Coq, Idris, Lean and NuPRL. + . + This package includes both a command-line program (agda) and an + Emacs mode. If you want to use the Emacs mode you can set it up by + running @agda-mode setup@ (see the README). + . + Note that the Agda package does not follow the package versioning + policy, because it is not intended to be used by third-party + packages. + +tested-with: GHC == 8.0.2 + GHC == 8.2.2 + GHC == 8.4.4 + GHC == 8.6.5 + GHC == 8.8.4 + GHC == 8.10.7 + GHC == 9.0.2 + GHC == 9.2.4 + GHC == 9.4.1 + +extra-source-files: CHANGELOG.md + README.md + doc/release-notes/2.6.2.1.md + doc/release-notes/2.6.2.md + doc/release-notes/2.6.1.3.md + doc/release-notes/2.6.1.2.md + doc/release-notes/2.6.1.1.md + doc/release-notes/2.6.1.md + doc/release-notes/2.6.0.1.md + doc/release-notes/2.6.0.md + doc/release-notes/2.5.4.2.md + doc/release-notes/2.5.4.1.md + doc/release-notes/2.5.4.md + doc/release-notes/2.5.3.md + doc/release-notes/2.5.2.md + doc/release-notes/2.5.1.2.md + doc/release-notes/2.5.1.1.md + doc/release-notes/2.5.1.md + doc/release-notes/2.4.2.5.md + doc/release-notes/2.4.2.4.md + doc/release-notes/2.4.2.3.md + doc/release-notes/2.4.2.2.md + doc/release-notes/2.4.2.1.md + doc/release-notes/2.4.2.md + doc/release-notes/2.4.0.2.md + doc/release-notes/2.4.0.1.md + doc/release-notes/2.4.0.md + doc/release-notes/2.3.2.2.md + doc/release-notes/2.3.2.1.md + doc/release-notes/2.3.2.md + doc/release-notes/2.3.0.md + doc/release-notes/2.2.10.md + doc/release-notes/2.2.8.md + doc/release-notes/2.2.6.md + doc/release-notes/2.2.2.md + doc/release-notes/2.2.4.md + doc/release-notes/2.2.0.md +-- Liang-Ting (2019-11-26): See Issues #4216 +-- doc/user-manual.pdf + stack-8.0.2.yaml + stack-8.2.2.yaml + stack-8.4.4.yaml + stack-8.6.5.yaml + stack-8.8.4.yaml + stack-8.10.7.yaml + stack-9.0.1.yaml + stack-9.0.2.yaml + stack-9.2.1.yaml + stack-9.2.2.yaml + +data-dir: src/data +data-files: emacs-mode/*.el + html/Agda.css + html/highlight-hover.js + JS/agda-rts.js + latex/agda.sty + latex/postprocess-latex.pl + lib/prim/Agda/Builtin/Bool.agda + lib/prim/Agda/Builtin/Char.agda + lib/prim/Agda/Builtin/Char/Properties.agda + lib/prim/Agda/Builtin/Coinduction.agda + lib/prim/Agda/Builtin/Cubical/Path.agda + lib/prim/Agda/Builtin/Cubical/Id.agda + lib/prim/Agda/Builtin/Cubical/Sub.agda + lib/prim/Agda/Builtin/Cubical/Glue.agda + lib/prim/Agda/Builtin/Cubical/HCompU.agda + lib/prim/Agda/Builtin/Equality.agda + lib/prim/Agda/Builtin/Equality/Erase.agda + lib/prim/Agda/Builtin/Equality/Rewrite.agda + lib/prim/Agda/Builtin/Float.agda + lib/prim/Agda/Builtin/Float/Properties.agda + lib/prim/Agda/Builtin/FromNat.agda + lib/prim/Agda/Builtin/FromNeg.agda + lib/prim/Agda/Builtin/FromString.agda + lib/prim/Agda/Builtin/IO.agda + lib/prim/Agda/Builtin/Int.agda + lib/prim/Agda/Builtin/List.agda + lib/prim/Agda/Builtin/Maybe.agda + lib/prim/Agda/Builtin/Nat.agda + lib/prim/Agda/Builtin/Reflection.agda + lib/prim/Agda/Builtin/Reflection/External.agda + lib/prim/Agda/Builtin/Reflection/Properties.agda + lib/prim/Agda/Builtin/Sigma.agda + lib/prim/Agda/Builtin/Size.agda + lib/prim/Agda/Builtin/Strict.agda + lib/prim/Agda/Builtin/String.agda + lib/prim/Agda/Builtin/String/Properties.agda + lib/prim/Agda/Builtin/TrustMe.agda + lib/prim/Agda/Builtin/Unit.agda + lib/prim/Agda/Builtin/Word.agda + lib/prim/Agda/Builtin/Word/Properties.agda + lib/prim/Agda/Primitive.agda + lib/prim/Agda/Primitive/Cubical.agda + MAlonzo/src/MAlonzo/*.hs + MAlonzo/src/MAlonzo/RTE/*.hs + +source-repository head + type: git + location: https://github.com/agda/agda.git + +source-repository this + type: git + location: https://github.com/agda/agda.git + tag: v2.6.2.2 + +flag cpphs + default: False + manual: True + description: Use cpphs instead of cpp. + +flag debug + default: False + manual: True + description: + Enable debugging features that may slow Agda down. + +flag enable-cluster-counting + default: False + description: + Enable the --count-clusters flag. (If enable-cluster-counting is + False, then the --count-clusters flag triggers an error message.) + +flag optimise-heavily + default: False + description: + Enable some expensive optimisations when compiling Agda. + +custom-setup + setup-depends: base >= 4.9.0.0 && < 4.18 + , Cabal >= 1.24.0.0 && < 3.9 + , directory >= 1.2.6.2 && < 1.4 + , filepath >= 1.4.1.0 && < 1.5 + , process >= 1.4.2.0 && < 1.7 + +library + hs-source-dirs: src/full + + if flag(cpphs) + -- We don't write an upper bound for cpphs because the + -- `build-tools` field can not be modified in Hackage. + + build-tools: cpphs >= 1.20.9 + ghc-options: -pgmP cpphs -optP --cpp + + if flag(debug) + cpp-options: -DDEBUG + + if flag(enable-cluster-counting) + cpp-options: -DCOUNT_CLUSTERS + build-depends: text-icu >= 0.7.1.0 + + if os(windows) + build-depends: Win32 >= 2.3.1.1 && < 2.13 + + -- Agda cannot be built with GHC 8.6.1 due to a compiler bug, see + -- Agda Issue #3344. + if impl(ghc == 8.6.1) + buildable: False + + -- Agda cannot be built with Windows and GHC 8.6.3 due to a compiler + -- bug, see Agda Issue #3657. + if os(windows) && impl(ghc == 8.6.3) + buildable: False + + build-depends: aeson >= 1.1.2.0 && < 2.2 + , array >= 0.5.1.1 && < 0.6 + , async >= 2.2 && < 2.3 + , base >= 4.9.0.0 && < 4.18 + , binary >= 0.8.3.0 && < 0.9 + , blaze-html >= 0.8 && < 0.10 + , boxes >= 0.1.3 && < 0.2 + , bytestring >= 0.10.8.1 && < 0.12 + , case-insensitive >= 1.2.0.4 && < 1.3 + -- containers-0.5.11.0 is the first to contain IntSet.intersection + , containers >= 0.5.11.0 && < 0.7 + , data-hash >= 0.2.0.0 && < 0.3 + , deepseq >= 1.4.2.0 && < 1.5 + , directory >= 1.2.6.2 && < 1.4 + , edit-distance >= 0.2.1.2 && < 0.3 + , equivalence >= 0.3.2 && < 0.5 + -- exceptions-0.8 instead of 0.10 because of stack + , exceptions >= 0.8 && < 0.11 + , filepath >= 1.4.1.0 && < 1.5 + , gitrev >= 1.3.1 && < 2.0 + -- hashable 1.2.0.10 makes library-test 10x + -- slower. The issue was fixed in hashable 1.2.1.0. + -- https://github.com/tibbe/hashable/issues/57. + , hashable >= 1.2.1.0 && < 1.5 + -- There is a "serious bug" + -- (https://hackage.haskell.org/package/hashtables-1.2.0.2/changelog) + -- in hashtables 1.2.0.0/1.2.0.1. This bug seems to + -- have made Agda much slower (infinitely slower?) in + -- some cases. + , hashtables >= 1.2.0.2 && < 1.4 + , haskeline >= 0.7.2.3 && < 0.9 + -- monad-control-1.0.1.0 is the first to contain liftThrough + , monad-control >= 1.0.1.0 && < 1.1 + -- mtl >= 2.2 && < 2.2.1 doesn't export Control.Monad.Except. + -- Need mtl 2.2.2 for export of Control.Monad.IdentityT (ghc 8.2.2+) + , mtl >= 2.2.1 && < 2.4 + , murmur-hash >= 0.1 && < 0.2 + , parallel >= 3.2.2.0 && < 3.3 + , pretty >= 1.1.3.3 && < 1.2 + , process >= 1.4.2.0 && < 1.7 + , regex-tdfa >= 1.3.1.0 && < 1.4 + , split >= 0.2.0.0 && < 0.2.4 + , stm >= 2.4.4 && < 2.6 + , strict >= 0.3.2 && < 0.5 + , template-haskell >= 2.11.0.0 && < 2.20 + , text >= 1.2.3.0 && < 2.1 + , time >= 1.6.0.1 && < 1.13 + , transformers >= 0.5 && < 0.7 + , unordered-containers >= 0.2.5.0 && < 0.3 + , uri-encode >= 1.5.0.4 && < 1.6 + , zlib == 0.6.* + + -- Andreas, 2022-02-02, issue #5659: + -- Build failure with transformers-0.6.0.{0,1,2} and GHC 8.6. + -- Transformers-0.6.0.3 might restored GHC 8.6 buildability. + if impl(ghc == 8.6.*) + build-depends: transformers < 0.6 || >= 0.6.0.3 + + -- Andreas, 2021-03-10: + -- All packages we depend upon should be mentioned in an unconditional + -- build-depends field, but additional restrictions on their + -- version for specific GHCs may be placed in conditionals. + -- + -- The goal is to be able to make (e.g. when a new GHC comes out) + -- revisions on hackage, e.g. relaxing upper bounds. This process + -- currently does not support revising conditionals. + + -- ASR (2018-10-16). + -- text-1.2.3.0 required for supporting GHC 8.4.1, 8.4.2 and + -- 8.4.3. See Issue #3277. + -- The other GHC versions can be restricted to >= 1.2.3.1. + if impl(ghc < 8.4.1) || impl(ghc > 8.4.3) + build-depends: text >= 1.2.3.1 + + if impl(ghc >= 8.4) + build-depends: ghc-compact == 0.1.* + + -- We don't write upper bounds for Alex nor Happy because the + -- `build-tools` field can not be modified in Hackage. Agda doesn't + -- build with Alex 3.2.0 and segfaults with 3.2.2. + build-tools: alex >= 3.1.0 && < 3.2.0 || == 3.2.1 || >= 3.2.3 + , happy >= 1.19.4 + + exposed-modules: Agda.Auto.Auto + Agda.Auto.Options + Agda.Auto.CaseSplit + Agda.Auto.Convert + Agda.Auto.NarrowingSearch + Agda.Auto.SearchControl + Agda.Auto.Syntax + Agda.Auto.Typecheck + Agda.Benchmarking + Agda.Compiler.Backend + Agda.Compiler.Builtin + Agda.Compiler.CallCompiler + Agda.Compiler.Common + Agda.Compiler.JS.Compiler + Agda.Compiler.JS.Syntax + Agda.Compiler.JS.Substitution + Agda.Compiler.JS.Pretty + Agda.Compiler.MAlonzo.Coerce + Agda.Compiler.MAlonzo.Compiler + Agda.Compiler.MAlonzo.Encode + Agda.Compiler.MAlonzo.HaskellTypes + Agda.Compiler.MAlonzo.Misc + Agda.Compiler.MAlonzo.Pragmas + Agda.Compiler.MAlonzo.Pretty + Agda.Compiler.MAlonzo.Primitives + Agda.Compiler.MAlonzo.Strict + Agda.Compiler.ToTreeless + Agda.Compiler.Treeless.AsPatterns + Agda.Compiler.Treeless.Builtin + Agda.Compiler.Treeless.Compare + Agda.Compiler.Treeless.EliminateDefaults + Agda.Compiler.Treeless.EliminateLiteralPatterns + Agda.Compiler.Treeless.Erase + Agda.Compiler.Treeless.GuardsToPrims + Agda.Compiler.Treeless.Identity + Agda.Compiler.Treeless.NormalizeNames + Agda.Compiler.Treeless.Pretty + Agda.Compiler.Treeless.Simplify + Agda.Compiler.Treeless.Subst + Agda.Compiler.Treeless.Uncase + Agda.Compiler.Treeless.Unused + Agda.ImpossibleTest + Agda.Interaction.AgdaTop + Agda.Interaction.Base + Agda.Interaction.BasicOps + Agda.Interaction.SearchAbout + Agda.Interaction.CommandLine + Agda.Interaction.EmacsCommand + Agda.Interaction.EmacsTop + Agda.Interaction.ExitCode + Agda.Interaction.JSONTop + Agda.Interaction.JSON + Agda.Interaction.FindFile + Agda.Interaction.Highlighting.Common + Agda.Interaction.Highlighting.Dot + Agda.Interaction.Highlighting.Emacs + Agda.Interaction.Highlighting.FromAbstract + Agda.Interaction.Highlighting.Generate + Agda.Interaction.Highlighting.HTML + Agda.Interaction.Highlighting.JSON + Agda.Interaction.Highlighting.Precise + Agda.Interaction.Highlighting.Range + Agda.Interaction.Highlighting.Vim + Agda.Interaction.Highlighting.LaTeX + Agda.Interaction.Imports + Agda.Interaction.InteractionTop + Agda.Interaction.Response + Agda.Interaction.MakeCase + Agda.Interaction.Monad + Agda.Interaction.Library + Agda.Interaction.Library.Base + Agda.Interaction.Library.Parse + Agda.Interaction.Options + Agda.Interaction.Options.Help + Agda.Interaction.Options.Lenses + Agda.Interaction.Options.Warnings + Agda.Main + Agda.Syntax.Abstract.Name + Agda.Syntax.Abstract.Pattern + Agda.Syntax.Abstract.PatternSynonyms + Agda.Syntax.Abstract.Pretty + Agda.Syntax.Abstract.Views + Agda.Syntax.Abstract + Agda.Syntax.Builtin + Agda.Syntax.Common + Agda.Syntax.Concrete.Attribute + Agda.Syntax.Concrete.Definitions + Agda.Syntax.Concrete.Definitions.Errors + Agda.Syntax.Concrete.Definitions.Monad + Agda.Syntax.Concrete.Definitions.Types + Agda.Syntax.Concrete.Fixity + Agda.Syntax.Concrete.Generic + Agda.Syntax.Concrete.Glyph + Agda.Syntax.Concrete.Name + Agda.Syntax.Concrete.Operators.Parser + Agda.Syntax.Concrete.Operators.Parser.Monad + Agda.Syntax.Concrete.Operators + Agda.Syntax.Concrete.Pattern + Agda.Syntax.Concrete.Pretty + Agda.Syntax.Concrete + Agda.Syntax.DoNotation + Agda.Syntax.Fixity + Agda.Syntax.IdiomBrackets + Agda.Syntax.Info + Agda.Syntax.Internal + Agda.Syntax.Internal.Blockers + Agda.Syntax.Internal.Defs + Agda.Syntax.Internal.Elim + Agda.Syntax.Internal.Generic + Agda.Syntax.Internal.MetaVars + Agda.Syntax.Internal.Names + Agda.Syntax.Internal.Pattern + Agda.Syntax.Internal.SanityCheck + Agda.Syntax.Literal + Agda.Syntax.Notation + Agda.Syntax.Parser.Alex + Agda.Syntax.Parser.Comments + Agda.Syntax.Parser.Layout + Agda.Syntax.Parser.LexActions + Agda.Syntax.Parser.Lexer + Agda.Syntax.Parser.Literate + Agda.Syntax.Parser.LookAhead + Agda.Syntax.Parser.Monad + Agda.Syntax.Parser.Parser + Agda.Syntax.Parser.StringLiterals + Agda.Syntax.Parser.Tokens + Agda.Syntax.Parser + Agda.Syntax.Position + Agda.Syntax.Reflected + Agda.Syntax.Scope.Base + Agda.Syntax.Scope.Monad + Agda.Syntax.Translation.AbstractToConcrete + Agda.Syntax.Translation.ConcreteToAbstract + Agda.Syntax.Translation.InternalToAbstract + Agda.Syntax.Translation.ReflectedToAbstract + Agda.Syntax.Treeless + Agda.Termination.CallGraph + Agda.Termination.CallMatrix + Agda.Termination.CutOff + Agda.Termination.Monad + Agda.Termination.Order + Agda.Termination.RecCheck + Agda.Termination.SparseMatrix + Agda.Termination.Semiring + Agda.Termination.TermCheck + Agda.Termination.Termination + Agda.TheTypeChecker + Agda.TypeChecking.Abstract + Agda.TypeChecking.CheckInternal + Agda.TypeChecking.CompiledClause + Agda.TypeChecking.CompiledClause.Compile + Agda.TypeChecking.CompiledClause.Match + Agda.TypeChecking.Constraints + Agda.TypeChecking.Conversion + Agda.TypeChecking.Conversion.Pure + Agda.TypeChecking.Coverage + Agda.TypeChecking.Coverage.Match + Agda.TypeChecking.Coverage.SplitTree + Agda.TypeChecking.Datatypes + Agda.TypeChecking.DeadCode + Agda.TypeChecking.DisplayForm + Agda.TypeChecking.DropArgs + Agda.TypeChecking.Empty + Agda.TypeChecking.EtaContract + Agda.TypeChecking.EtaExpand + Agda.TypeChecking.Errors + Agda.TypeChecking.Free + Agda.TypeChecking.Free.Lazy + Agda.TypeChecking.Free.Precompute + Agda.TypeChecking.Free.Reduce + Agda.TypeChecking.Forcing + Agda.TypeChecking.Functions + Agda.TypeChecking.Generalize + Agda.TypeChecking.IApplyConfluence + Agda.TypeChecking.Implicit + Agda.TypeChecking.Injectivity + Agda.TypeChecking.Inlining + Agda.TypeChecking.InstanceArguments + Agda.TypeChecking.Irrelevance + Agda.TypeChecking.Level + Agda.TypeChecking.LevelConstraints + Agda.TypeChecking.Lock + Agda.TypeChecking.Level.Solve + Agda.TypeChecking.MetaVars + Agda.TypeChecking.MetaVars.Mention + Agda.TypeChecking.MetaVars.Occurs + Agda.TypeChecking.Monad.Base + Agda.TypeChecking.Monad.Benchmark + Agda.TypeChecking.Monad.Builtin + Agda.TypeChecking.Monad.Caching + Agda.TypeChecking.Monad.Closure + Agda.TypeChecking.Monad.Constraints + Agda.TypeChecking.Monad.Context + Agda.TypeChecking.Monad.Debug + Agda.TypeChecking.Monad.Env + Agda.TypeChecking.Monad.Imports + Agda.TypeChecking.Monad.MetaVars + Agda.TypeChecking.Monad.Mutual + Agda.TypeChecking.Monad.Open + Agda.TypeChecking.Monad.Options + Agda.TypeChecking.Monad.Pure + Agda.TypeChecking.Monad.Signature + Agda.TypeChecking.Monad.SizedTypes + Agda.TypeChecking.Monad.State + Agda.TypeChecking.Monad.Statistics + Agda.TypeChecking.Monad.Trace + Agda.TypeChecking.Monad + Agda.TypeChecking.Names + Agda.TypeChecking.Patterns.Abstract + Agda.TypeChecking.Patterns.Internal + Agda.TypeChecking.Patterns.Match + Agda.TypeChecking.Polarity + Agda.TypeChecking.Positivity + Agda.TypeChecking.Positivity.Occurrence + Agda.TypeChecking.Pretty + Agda.TypeChecking.Pretty.Call + Agda.TypeChecking.Pretty.Constraint + Agda.TypeChecking.Pretty.Warning + Agda.TypeChecking.Primitive + Agda.TypeChecking.Primitive.Base + Agda.TypeChecking.Primitive.Cubical + Agda.TypeChecking.ProjectionLike + Agda.TypeChecking.Quote + Agda.TypeChecking.ReconstructParameters + Agda.TypeChecking.RecordPatterns + Agda.TypeChecking.Records + Agda.TypeChecking.Reduce + Agda.TypeChecking.Reduce.Fast + Agda.TypeChecking.Reduce.Monad + Agda.TypeChecking.Rewriting + Agda.TypeChecking.Rewriting.Clause + Agda.TypeChecking.Rewriting.Confluence + Agda.TypeChecking.Rewriting.NonLinMatch + Agda.TypeChecking.Rewriting.NonLinPattern + Agda.TypeChecking.Rules.Application + Agda.TypeChecking.Rules.Builtin + Agda.TypeChecking.Rules.Builtin.Coinduction + Agda.TypeChecking.Rules.Data + Agda.TypeChecking.Rules.Decl + Agda.TypeChecking.Rules.Def + Agda.TypeChecking.Rules.Display + Agda.TypeChecking.Rules.LHS + Agda.TypeChecking.Rules.LHS.Implicit + Agda.TypeChecking.Rules.LHS.Problem + Agda.TypeChecking.Rules.LHS.ProblemRest + Agda.TypeChecking.Rules.LHS.Unify + Agda.TypeChecking.Rules.Record + Agda.TypeChecking.Rules.Term + Agda.TypeChecking.Serialise + Agda.TypeChecking.Serialise.Base + Agda.TypeChecking.Serialise.Instances + Agda.TypeChecking.Serialise.Instances.Abstract + Agda.TypeChecking.Serialise.Instances.Common + Agda.TypeChecking.Serialise.Instances.Compilers + Agda.TypeChecking.Serialise.Instances.Highlighting + Agda.TypeChecking.Serialise.Instances.Internal + Agda.TypeChecking.Serialise.Instances.Errors + Agda.TypeChecking.SizedTypes + Agda.TypeChecking.SizedTypes.Solve + Agda.TypeChecking.SizedTypes.Syntax + Agda.TypeChecking.SizedTypes.Utils + Agda.TypeChecking.SizedTypes.WarshallSolver + Agda.TypeChecking.Sort + Agda.TypeChecking.Substitute + Agda.TypeChecking.Substitute.Class + Agda.TypeChecking.Substitute.DeBruijn + Agda.TypeChecking.SyntacticEquality + Agda.TypeChecking.Telescope + Agda.TypeChecking.Telescope.Path + Agda.TypeChecking.Unquote + Agda.TypeChecking.Warnings + Agda.TypeChecking.With + Agda.Utils.AffineHole + Agda.Utils.Applicative + Agda.Utils.AssocList + Agda.Utils.Bag + Agda.Utils.Benchmark + Agda.Utils.BiMap + Agda.Utils.CallStack + Agda.Utils.Char + Agda.Utils.Cluster + Agda.Utils.Empty + Agda.Utils.Environment + Agda.Utils.Either + Agda.Utils.Fail + Agda.Utils.Favorites + Agda.Utils.FileName + Agda.Utils.Float + Agda.Utils.Functor + Agda.Utils.Function + Agda.Utils.Graph.AdjacencyMap.Unidirectional + Agda.Utils.Graph.TopSort + Agda.Utils.Hash + Agda.Utils.Haskell.Syntax + Agda.Utils.Impossible + Agda.Utils.IndexedList + Agda.Utils.IntSet.Infinite + Agda.Utils.IO + Agda.Utils.IO.Binary + Agda.Utils.IO.Directory + Agda.Utils.IO.TempFile + Agda.Utils.IO.UTF8 + Agda.Utils.IORef + Agda.Utils.Lens + Agda.Utils.Lens.Examples + Agda.Utils.List + Agda.Utils.List1 + Agda.Utils.List2 + Agda.Utils.ListT + Agda.Utils.Map + Agda.Utils.Maybe + Agda.Utils.Maybe.Strict + Agda.Utils.Memo + Agda.Utils.Monad + Agda.Utils.Monoid + Agda.Utils.Null + Agda.Utils.Parser.MemoisedCPS + Agda.Utils.PartialOrd + Agda.Utils.Permutation + Agda.Utils.Pointer + Agda.Utils.POMonoid + Agda.Utils.Pretty + Agda.Utils.RangeMap + Agda.Utils.SemiRing + Agda.Utils.Semigroup + Agda.Utils.Singleton + Agda.Utils.Size + Agda.Utils.SmallSet + Agda.Utils.String + Agda.Utils.Suffix + Agda.Utils.Three + Agda.Utils.Time + Agda.Utils.Trie + Agda.Utils.Tuple + Agda.Utils.TypeLevel + Agda.Utils.TypeLits + Agda.Utils.Update + Agda.Utils.VarSet + Agda.Utils.Warshall + Agda.Utils.WithDefault + Agda.Utils.Zipper + Agda.Version + Agda.VersionCommit + + other-modules: Paths_Agda + Agda.Interaction.Highlighting.Dot.Backend + Agda.Interaction.Highlighting.Dot.Base + Agda.Interaction.Highlighting.HTML.Backend + Agda.Interaction.Highlighting.HTML.Base + Agda.Interaction.Highlighting.LaTeX.Backend + Agda.Interaction.Highlighting.LaTeX.Base + Agda.Interaction.Options.Base + Agda.Interaction.Options.HasOptions + Agda.Utils.CallStack.Base + Agda.Utils.CallStack.Pretty + + if flag(optimise-heavily) + ghc-options: -fexpose-all-unfoldings + -fspecialise-aggressively + + -- NOTE: If adding flags, also add to `.ghci-8.0` + if impl(ghc <= 8.0.2) + ghc-options: -fprint-potential-instances + -- Initially, we disable all the warnings. + -w + -Wwarn + -- This option must be the first one after disabling the + -- warnings. See Issue #2094. + -Wunrecognised-warning-flags + -Wdeprecated-flags + -Wderiving-typeable + -Wdodgy-exports + -Wdodgy-foreign-imports + -Wdodgy-imports + -Wduplicate-exports + -Wempty-enumerations + -Widentities + -Wincomplete-patterns + -Winline-rule-shadowing + -Wmissing-fields + -Wmissing-methods + -Wmissing-pattern-synonym-signatures + -Wmissing-signatures + -Wnoncanonical-monad-instances + -Wnoncanonical-monoid-instances + -Woverflowed-literals + -Woverlapping-patterns + -Wsemigroup + -Wtabs + -Wtyped-holes + -Wunrecognised-pragmas + -Wunticked-promoted-constructors + -Wunused-do-bind + -Wunused-foralls + -Wwarnings-deprecations + -Wwrong-do-bind + else + ghc-options: -fprint-potential-instances + -Wwarn=unrecognised-warning-flags + -Wwarn=deprecated-flags + -Wwarn=deriving-typeable + -Wwarn=dodgy-exports + -Wwarn=dodgy-foreign-imports + -Wwarn=dodgy-imports + -Wwarn=duplicate-exports + -Wwarn=empty-enumerations + -Wwarn=identities + -Wwarn=incomplete-patterns + -Wwarn=inline-rule-shadowing + -Wwarn=missing-fields + -Wwarn=missing-methods + -Wwarn=missing-pattern-synonym-signatures + -Wwarn=missing-signatures + -Wwarn=noncanonical-monad-instances + -Wwarn=noncanonical-monoid-instances + -Wwarn=overflowed-literals + -Wwarn=overlapping-patterns + -Wwarn=semigroup + -Wwarn=tabs + -Wwarn=typed-holes + -Wwarn=unrecognised-pragmas + -Wwarn=unticked-promoted-constructors + -Wwarn=unused-do-bind + -Wwarn=unused-foralls + -Wwarn=warnings-deprecations + -Wwarn=wrong-do-bind + + -- NOTE: If adding or removing flags, also change `.ghci-8.2` + if impl(ghc >= 8.2) + ghc-options: -Wcpp-undef + -- ASR TODO (2017-07-23): `make haddock` fails when + -- this flag is on. + -- -Wmissing-home-modules + -Wwarn=simplifiable-class-constraints + -Wwarn=unbanged-strict-patterns + + -- NOTE: If adding or removing flags, also change `.ghci-8.6` + if impl(ghc >= 8.6) + ghc-options: -Wwarn=inaccessible-code + -Wwarn=star-binder + -Wwarn=star-is-type + + -- The following warning is an error in GHC >= 8.10. + if impl(ghc >= 8.6) && impl(ghc < 8.10) + ghc-options: -Wwarn=implicit-kind-vars + + -- NOTE: If adding or removing flags, also change `.ghci-8.8` + if impl(ghc >= 8.8) + ghc-options: -Wwarn=missed-extra-shared-lib + + -- NOTE: If adding or removing flags, also change `.ghci-8.10` + if impl(ghc >= 8.10) + ghc-options: -Wwarn=deriving-defaults + -Wwarn=redundant-record-wildcards + -Wwarn=unused-packages + -Wwarn=unused-record-wildcards + + -- NOTE: If adding or removing flags, also change `.ghci-9.0` + if impl(ghc >= 9.0) + ghc-options: -Wwarn=invalid-haddock + + default-language: Haskell2010 + + -- NOTE: If adding or removing default extensions, also change: + -- .ghci-8.0 + -- .hlint.yaml + -- This should also use the same extensions as the `test-suite` target below. + default-extensions: BangPatterns + , ConstraintKinds + --L-T Chen (2019-07-15): + -- Enabling DataKinds only locally makes the compile time + -- slightly shorter, see PR #3920. + --, DataKinds + , DefaultSignatures + , DeriveDataTypeable + , DeriveFoldable + , DeriveFunctor + , DeriveGeneric + , DeriveTraversable + , ExistentialQuantification + , FlexibleContexts + , FlexibleInstances + , FunctionalDependencies + , GeneralizedNewtypeDeriving + , InstanceSigs + , LambdaCase + , MultiParamTypeClasses + , MultiWayIf + , NamedFieldPuns + , OverloadedStrings + , PatternSynonyms + , RankNTypes + , RecordWildCards + , ScopedTypeVariables + , StandaloneDeriving + , TupleSections + , TypeFamilies + , TypeSynonymInstances + +executable agda + hs-source-dirs: src/main + main-is: Main.hs + build-depends: Agda + -- A version range on Agda generates a warning with + -- some versions of Cabal and GHC + -- (e.g. cabal-install version 1.24.0.2 compiled + -- using version 1.24.2.0 of the Cabal library and + -- GHC 8.2.1 RC1). + + -- Nothing is used from the following package, + -- except for the Prelude. + , base + default-language: Haskell2010 + -- If someone installs Agda with the setuid bit set, then the + -- presence of +RTS may be a security problem (see GHC bug #3910). + -- However, we sometimes recommend people to use +RTS to control + -- Agda's memory usage, so we want this functionality enabled by + -- default. + + -- The threaded RTS by default starts a major GC after a program has + -- been idle for 0.3 s. This feature turned out to be annoying, so + -- the idle GC is now by default turned off (-I0). + ghc-options: -threaded -rtsopts + "-with-rtsopts=-M3.5G -I0" + +executable agda-mode + hs-source-dirs: src/agda-mode + main-is: Main.hs + other-modules: Paths_Agda + build-depends: base >= 4.9.0.0 && < 4.18 + , directory >= 1.2.6.2 && < 1.4 + , filepath >= 1.4.1.0 && < 1.5 + , process >= 1.4.2.0 && < 1.7 + default-language: Haskell2010 diff --git a/Agda.spec b/Agda.spec index 195fba7..c74f313 100644 --- a/Agda.spec +++ b/Agda.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-2.0.11 --subpackage +# generated by cabal-rpm-2.1.0 --subpackage # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ # https://gitlab.haskell.org/ghc/ghc/issues/17030 panic @@ -25,6 +25,7 @@ Url: https://hackage.haskell.org/package/%{name} Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz Source1: https://hackage.haskell.org/package/%{geniplatemirror}/%{geniplatemirror}.tar.gz Source2: https://hackage.haskell.org/package/%{murmurhash}/%{murmurhash}.tar.gz +Source3: https://hackage.haskell.org/package/%{pkgver}/%{name}.cabal#/%{pkgver}.cabal # End cabal-rpm sources Source10: agda-mode-init.el @@ -45,8 +46,49 @@ Source10: agda-mode-init.el ExcludeArch: armv7hl %{ix86} # Begin cabal-rpm deps: +BuildRequires: dos2unix BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros-extra +BuildRequires: ghc-aeson-devel +BuildRequires: ghc-array-devel +BuildRequires: ghc-async-devel +BuildRequires: ghc-base-devel +BuildRequires: ghc-binary-devel +BuildRequires: ghc-blaze-html-devel +BuildRequires: ghc-boxes-devel +BuildRequires: ghc-bytestring-devel +BuildRequires: ghc-case-insensitive-devel +BuildRequires: ghc-containers-devel +BuildRequires: ghc-data-hash-devel +BuildRequires: ghc-deepseq-devel +BuildRequires: ghc-directory-devel +BuildRequires: ghc-edit-distance-devel +BuildRequires: ghc-equivalence-devel +BuildRequires: ghc-exceptions-devel +BuildRequires: ghc-filepath-devel +BuildRequires: ghc-ghc-compact-devel +BuildRequires: ghc-gitrev-devel +BuildRequires: ghc-hashable-devel +BuildRequires: ghc-hashtables-devel +BuildRequires: ghc-haskeline-devel +BuildRequires: ghc-monad-control-devel +BuildRequires: ghc-mtl-devel +#BuildRequires: ghc-murmur-hash-devel +BuildRequires: ghc-parallel-devel +BuildRequires: ghc-pretty-devel +BuildRequires: ghc-process-devel +BuildRequires: ghc-regex-tdfa-devel +BuildRequires: ghc-split-devel +BuildRequires: ghc-stm-devel +BuildRequires: ghc-strict-devel +BuildRequires: ghc-template-haskell-devel +BuildRequires: ghc-text-devel +BuildRequires: ghc-time-devel +BuildRequires: ghc-transformers-devel +BuildRequires: ghc-unordered-containers-devel +BuildRequires: ghc-uri-encode-devel +BuildRequires: ghc-zlib-devel +%if %{with ghc_prof} BuildRequires: ghc-aeson-prof BuildRequires: ghc-array-prof BuildRequires: ghc-async-prof @@ -86,6 +128,7 @@ BuildRequires: ghc-transformers-prof BuildRequires: ghc-unordered-containers-prof BuildRequires: ghc-uri-encode-prof BuildRequires: ghc-zlib-prof +%endif BuildRequires: alex BuildRequires: happy Provides: agda = %{version}-%{release} @@ -175,6 +218,7 @@ This package provides the Haskell %{name} profiling library. %prep # Begin cabal-rpm setup: %setup -q -a1 -a2 +dos2unix -k -n %{SOURCE3} %{name}.cabal # End cabal-rpm setup # check the Agda version in the emacs mode if ! grep -q \"%{version}\" src/data/emacs-mode/agda2-mode.el; then From 938a3e810b24e9f5a8b7d90f14c22fa449f82a85 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 29 Jan 2023 22:44:09 +0800 Subject: [PATCH 31/62] bump geniplate-mirror to 0.7.9 --- .gitignore | 1 + Agda.spec | 2 +- sources | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 922ade5..c92988f 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,4 @@ /Agda-2.6.2.1.tar.gz /murmur-hash-0.1.0.10.tar.gz /Agda-2.6.2.2.tar.gz +/geniplate-mirror-0.7.9.tar.gz diff --git a/Agda.spec b/Agda.spec index c74f313..4a42c9c 100644 --- a/Agda.spec +++ b/Agda.spec @@ -9,7 +9,7 @@ %global pkg_name Agda %global pkgver %{pkg_name}-%{version} -%global geniplatemirror geniplate-mirror-0.7.8 +%global geniplatemirror geniplate-mirror-0.7.9 %global murmurhash murmur-hash-0.1.0.10 %global subpkgs %{geniplatemirror} %{murmurhash} diff --git a/sources b/sources index bd787a1..bf2441e 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ SHA512 (Agda-2.6.2.2.tar.gz) = f54dcc0fd6dea106db4a04cc3b0b80f404f0613b5075849db17a1b4b5e176ed6d183bfdaf464fbcbc6e0807c1af0c8748f96552d48e537444109be54730685a8 -SHA512 (geniplate-mirror-0.7.8.tar.gz) = 7d921cc31ad67d321158f2a0afb138d2c4e48857919691c21303561cb65b642168518ce8cb261d1572dbbcdfa6c578b2225d89f833e049237223f0b83b7e0261 +SHA512 (geniplate-mirror-0.7.9.tar.gz) = b125680148ca808422ba4ddc85e0dfb8429d1906d90182ebcc8443dd4c9f02742c6fc002adcc487b3c17be811b02dca4a277485d32a57a5b581647182b04f452 SHA512 (murmur-hash-0.1.0.10.tar.gz) = d6d28fcd738de98ce4fb6c7e997b32bb15eef9efe53642cefffd2cfeccd1b56f634adbcadeec9fb94c69d1df9e675f7daf368c62806ef819dc242df947ddf70b From cd72da1b95da63bbabb1e6e7733073676fead0bb Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 29 Jan 2023 22:44:58 +0800 Subject: [PATCH 32/62] SPDX migration --- Agda.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Agda.spec b/Agda.spec index 4a42c9c..83ecd00 100644 --- a/Agda.spec +++ b/Agda.spec @@ -19,7 +19,7 @@ Version: 2.6.2.2 Release: 37%{?dist} Summary: A dependently typed functional programming language and proof assistant -License: MIT and BSD +License: MIT and BSD-3-Clause Url: https://hackage.haskell.org/package/%{name} # Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz @@ -156,6 +156,7 @@ proof assistants based on dependent types, such as Coq, Epigram and NuPRL. %package common Summary: %{name} common files +License: MIT and BSD-3-Clause and BSD-2-Clause BuildArch: noarch %description common @@ -208,8 +209,8 @@ This package provides the Haskell %{name} profiling library. %global main_version %{version} %if %{defined ghclibdir} -%ghc_lib_subpackage %{geniplatemirror} -%ghc_lib_subpackage %{murmurhash} +%ghc_lib_subpackage -l BSD-3-Clause %{geniplatemirror} +%ghc_lib_subpackage -l BSD-3-Clause %{murmurhash} %endif %global version %{main_version} @@ -220,6 +221,7 @@ This package provides the Haskell %{name} profiling library. %setup -q -a1 -a2 dos2unix -k -n %{SOURCE3} %{name}.cabal # End cabal-rpm setup + # check the Agda version in the emacs mode if ! grep -q \"%{version}\" src/data/emacs-mode/agda2-mode.el; then echo "agda2-version in src/data/emacs-mode/agda2-mode.el out of sync!" From 659376cb024b2aa9746228fdc33e853122a86513 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 18 Feb 2023 00:53:34 +0800 Subject: [PATCH 33/62] bump release --- Agda.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Agda.spec b/Agda.spec index 83ecd00..8d914d4 100644 --- a/Agda.spec +++ b/Agda.spec @@ -16,7 +16,7 @@ Name: %{pkg_name} Version: 2.6.2.2 # can only be reset when all subpkgs bumped -Release: 37%{?dist} +Release: 38%{?dist} Summary: A dependently typed functional programming language and proof assistant License: MIT and BSD-3-Clause @@ -319,6 +319,10 @@ rm -r %{buildroot}%{_datadir}/%{pkgver}/emacs-mode %changelog +* Sat Feb 18 2023 Jens Petersen - 2.6.2.2-38 +- refresh to cabal-rpm-2.1.0 including SPDX migration +- bump geniplate-mirror to 0.7.9 + * Wed Jul 20 2022 Fedora Release Engineering - 2.6.2.2-37 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From 9185a5a148472c50d50bb210eb0a04da396429e3 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 29 May 2023 23:30:36 +0800 Subject: [PATCH 34/62] re-enable i686 builds okay with ghc-9.2 --- Agda.spec | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/Agda.spec b/Agda.spec index 8d914d4..fdf5ab3 100644 --- a/Agda.spec +++ b/Agda.spec @@ -33,17 +33,7 @@ Source10: agda-mode-init.el #[372 of 397] Compiling Agda.Interaction.Imports #ghc: out of memory [even with -O0] # https://bugzilla.redhat.com/show_bug.cgi?id=1991261 -# -# i686: hangs in ghc_lib_install -#Installing executable agda-mode in /builddir/build/BUILDROOT/Agda-2.6.2.2-36.fc37.i386/usr/bin -#Warning: Executable installed in -#/builddir/build/BUILDROOT/Agda-2.6.2.2-36.fc37.i386/usr/bin -#Installing library in /builddir/build/BUILDROOT/Agda-2.6.2.2-36.fc37.i386/usr/lib/ghc-8.10.7/Agda-2.6.2.2 -#Installing executable agda in /builddir/build/BUILDROOT/Agda-2.6.2.2-36.fc37.i386/usr/bin -#Warning: Executable installed in -#/builddir/build/BUILDROOT/Agda-2.6.2.2-36.fc37.i386/usr/bin -# https://bugzilla.redhat.com/show_bug.cgi?id=2098425 -ExcludeArch: armv7hl %{ix86} +ExcludeArch: armv7hl # Begin cabal-rpm deps: BuildRequires: dos2unix From e298cd0fb90861c9efc5e21759e3f0d1ee78ddff Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 19 Jul 2023 15:20:34 +0800 Subject: [PATCH 35/62] drop geniplate-mirror: not needed since 2.6.2 --- Agda.spec | 16 ++++++++-------- sources | 1 - 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/Agda.spec b/Agda.spec index fdf5ab3..7c0971b 100644 --- a/Agda.spec +++ b/Agda.spec @@ -9,9 +9,8 @@ %global pkg_name Agda %global pkgver %{pkg_name}-%{version} -%global geniplatemirror geniplate-mirror-0.7.9 %global murmurhash murmur-hash-0.1.0.10 -%global subpkgs %{geniplatemirror} %{murmurhash} +%global subpkgs %{murmurhash} Name: %{pkg_name} Version: 2.6.2.2 @@ -23,9 +22,8 @@ License: MIT and BSD-3-Clause Url: https://hackage.haskell.org/package/%{name} # Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz -Source1: https://hackage.haskell.org/package/%{geniplatemirror}/%{geniplatemirror}.tar.gz -Source2: https://hackage.haskell.org/package/%{murmurhash}/%{murmurhash}.tar.gz -Source3: https://hackage.haskell.org/package/%{pkgver}/%{name}.cabal#/%{pkgver}.cabal +Source1: https://hackage.haskell.org/package/%{murmurhash}/%{murmurhash}.tar.gz +Source2: https://hackage.haskell.org/package/%{pkgver}/%{name}.cabal#/%{pkgver}.cabal # End cabal-rpm sources Source10: agda-mode-init.el @@ -199,7 +197,6 @@ This package provides the Haskell %{name} profiling library. %global main_version %{version} %if %{defined ghclibdir} -%ghc_lib_subpackage -l BSD-3-Clause %{geniplatemirror} %ghc_lib_subpackage -l BSD-3-Clause %{murmurhash} %endif @@ -208,8 +205,8 @@ This package provides the Haskell %{name} profiling library. %prep # Begin cabal-rpm setup: -%setup -q -a1 -a2 -dos2unix -k -n %{SOURCE3} %{name}.cabal +%setup -q -a1 +dos2unix -k -n %{SOURCE2} %{name}.cabal # End cabal-rpm setup # check the Agda version in the emacs mode @@ -309,6 +306,9 @@ rm -r %{buildroot}%{_datadir}/%{pkgver}/emacs-mode %changelog +* Tue Jul 11 2023 Jens Petersen +- drop geniplate-mirror: not needed since 2.6.2 + * Sat Feb 18 2023 Jens Petersen - 2.6.2.2-38 - refresh to cabal-rpm-2.1.0 including SPDX migration - bump geniplate-mirror to 0.7.9 diff --git a/sources b/sources index bf2441e..0e1d30e 100644 --- a/sources +++ b/sources @@ -1,3 +1,2 @@ SHA512 (Agda-2.6.2.2.tar.gz) = f54dcc0fd6dea106db4a04cc3b0b80f404f0613b5075849db17a1b4b5e176ed6d183bfdaf464fbcbc6e0807c1af0c8748f96552d48e537444109be54730685a8 -SHA512 (geniplate-mirror-0.7.9.tar.gz) = b125680148ca808422ba4ddc85e0dfb8429d1906d90182ebcc8443dd4c9f02742c6fc002adcc487b3c17be811b02dca4a277485d32a57a5b581647182b04f452 SHA512 (murmur-hash-0.1.0.10.tar.gz) = d6d28fcd738de98ce4fb6c7e997b32bb15eef9efe53642cefffd2cfeccd1b56f634adbcadeec9fb94c69d1df9e675f7daf368c62806ef819dc242df947ddf70b From 123e0ac5eab75350b4728d4f297ddd0f603e1a5f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 19 Jul 2023 10:57:11 +0000 Subject: [PATCH 36/62] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- Agda.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Agda.spec b/Agda.spec index 7c0971b..d5a167d 100644 --- a/Agda.spec +++ b/Agda.spec @@ -15,7 +15,7 @@ Name: %{pkg_name} Version: 2.6.2.2 # can only be reset when all subpkgs bumped -Release: 38%{?dist} +Release: 39%{?dist} Summary: A dependently typed functional programming language and proof assistant License: MIT and BSD-3-Clause @@ -306,6 +306,9 @@ rm -r %{buildroot}%{_datadir}/%{pkgver}/emacs-mode %changelog +* Wed Jul 19 2023 Fedora Release Engineering - 2.6.2.2-39 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Tue Jul 11 2023 Jens Petersen - drop geniplate-mirror: not needed since 2.6.2 From 6100f35886f848c35b1ba7b0e3f5fd864796abe6 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 29 Jul 2023 23:12:06 +0800 Subject: [PATCH 37/62] update to 2.6.3 --- .gitignore | 2 + Agda-2.6.2.2.cabal => Agda-2.6.3.cabal | 1668 ++++++++++++------------ Agda.spec | 42 +- sources | 3 +- 4 files changed, 873 insertions(+), 842 deletions(-) rename Agda-2.6.2.2.cabal => Agda-2.6.3.cabal (86%) diff --git a/.gitignore b/.gitignore index c92988f..1fe681f 100644 --- a/.gitignore +++ b/.gitignore @@ -29,3 +29,5 @@ /murmur-hash-0.1.0.10.tar.gz /Agda-2.6.2.2.tar.gz /geniplate-mirror-0.7.9.tar.gz +/Agda-2.6.3.tar.gz +/vector-hashtables-0.1.1.3.tar.gz diff --git a/Agda-2.6.2.2.cabal b/Agda-2.6.3.cabal similarity index 86% rename from Agda-2.6.2.2.cabal rename to Agda-2.6.3.cabal index 60ea979..3f424d3 100644 --- a/Agda-2.6.2.2.cabal +++ b/Agda-2.6.3.cabal @@ -1,828 +1,840 @@ -name: Agda -version: 2.6.2.2 -x-revision: 2 -cabal-version: >= 1.10 -build-type: Custom -license: OtherLicense -license-file: LICENSE -copyright: (c) 2005-2022 The Agda Team. -author: Ulf Norell and The Agda Team, see https://agda.readthedocs.io/en/latest/team.html -maintainer: The Agda Team -homepage: http://wiki.portal.chalmers.se/agda/ -bug-reports: https://github.com/agda/agda/issues -category: Dependent types -synopsis: A dependently typed functional programming language and proof assistant -description: - Agda is a dependently typed functional programming language: It has - inductive families, which are similar to Haskell's GADTs, but they - can be indexed by values and not just types. It also has - parameterised modules, mixfix operators, Unicode characters, and an - interactive Emacs interface (the type checker can assist in the - development of your code). - . - Agda is also a proof assistant: It is an interactive system for - writing and checking proofs. Agda is based on intuitionistic type - theory, a foundational system for constructive mathematics developed - by the Swedish logician Per Martin-Löf. It has many - similarities with other proof assistants based on dependent types, - such as Coq, Idris, Lean and NuPRL. - . - This package includes both a command-line program (agda) and an - Emacs mode. If you want to use the Emacs mode you can set it up by - running @agda-mode setup@ (see the README). - . - Note that the Agda package does not follow the package versioning - policy, because it is not intended to be used by third-party - packages. - -tested-with: GHC == 8.0.2 - GHC == 8.2.2 - GHC == 8.4.4 - GHC == 8.6.5 - GHC == 8.8.4 - GHC == 8.10.7 - GHC == 9.0.2 - GHC == 9.2.4 - GHC == 9.4.1 - -extra-source-files: CHANGELOG.md - README.md - doc/release-notes/2.6.2.1.md - doc/release-notes/2.6.2.md - doc/release-notes/2.6.1.3.md - doc/release-notes/2.6.1.2.md - doc/release-notes/2.6.1.1.md - doc/release-notes/2.6.1.md - doc/release-notes/2.6.0.1.md - doc/release-notes/2.6.0.md - doc/release-notes/2.5.4.2.md - doc/release-notes/2.5.4.1.md - doc/release-notes/2.5.4.md - doc/release-notes/2.5.3.md - doc/release-notes/2.5.2.md - doc/release-notes/2.5.1.2.md - doc/release-notes/2.5.1.1.md - doc/release-notes/2.5.1.md - doc/release-notes/2.4.2.5.md - doc/release-notes/2.4.2.4.md - doc/release-notes/2.4.2.3.md - doc/release-notes/2.4.2.2.md - doc/release-notes/2.4.2.1.md - doc/release-notes/2.4.2.md - doc/release-notes/2.4.0.2.md - doc/release-notes/2.4.0.1.md - doc/release-notes/2.4.0.md - doc/release-notes/2.3.2.2.md - doc/release-notes/2.3.2.1.md - doc/release-notes/2.3.2.md - doc/release-notes/2.3.0.md - doc/release-notes/2.2.10.md - doc/release-notes/2.2.8.md - doc/release-notes/2.2.6.md - doc/release-notes/2.2.2.md - doc/release-notes/2.2.4.md - doc/release-notes/2.2.0.md --- Liang-Ting (2019-11-26): See Issues #4216 --- doc/user-manual.pdf - stack-8.0.2.yaml - stack-8.2.2.yaml - stack-8.4.4.yaml - stack-8.6.5.yaml - stack-8.8.4.yaml - stack-8.10.7.yaml - stack-9.0.1.yaml - stack-9.0.2.yaml - stack-9.2.1.yaml - stack-9.2.2.yaml - -data-dir: src/data -data-files: emacs-mode/*.el - html/Agda.css - html/highlight-hover.js - JS/agda-rts.js - latex/agda.sty - latex/postprocess-latex.pl - lib/prim/Agda/Builtin/Bool.agda - lib/prim/Agda/Builtin/Char.agda - lib/prim/Agda/Builtin/Char/Properties.agda - lib/prim/Agda/Builtin/Coinduction.agda - lib/prim/Agda/Builtin/Cubical/Path.agda - lib/prim/Agda/Builtin/Cubical/Id.agda - lib/prim/Agda/Builtin/Cubical/Sub.agda - lib/prim/Agda/Builtin/Cubical/Glue.agda - lib/prim/Agda/Builtin/Cubical/HCompU.agda - lib/prim/Agda/Builtin/Equality.agda - lib/prim/Agda/Builtin/Equality/Erase.agda - lib/prim/Agda/Builtin/Equality/Rewrite.agda - lib/prim/Agda/Builtin/Float.agda - lib/prim/Agda/Builtin/Float/Properties.agda - lib/prim/Agda/Builtin/FromNat.agda - lib/prim/Agda/Builtin/FromNeg.agda - lib/prim/Agda/Builtin/FromString.agda - lib/prim/Agda/Builtin/IO.agda - lib/prim/Agda/Builtin/Int.agda - lib/prim/Agda/Builtin/List.agda - lib/prim/Agda/Builtin/Maybe.agda - lib/prim/Agda/Builtin/Nat.agda - lib/prim/Agda/Builtin/Reflection.agda - lib/prim/Agda/Builtin/Reflection/External.agda - lib/prim/Agda/Builtin/Reflection/Properties.agda - lib/prim/Agda/Builtin/Sigma.agda - lib/prim/Agda/Builtin/Size.agda - lib/prim/Agda/Builtin/Strict.agda - lib/prim/Agda/Builtin/String.agda - lib/prim/Agda/Builtin/String/Properties.agda - lib/prim/Agda/Builtin/TrustMe.agda - lib/prim/Agda/Builtin/Unit.agda - lib/prim/Agda/Builtin/Word.agda - lib/prim/Agda/Builtin/Word/Properties.agda - lib/prim/Agda/Primitive.agda - lib/prim/Agda/Primitive/Cubical.agda - MAlonzo/src/MAlonzo/*.hs - MAlonzo/src/MAlonzo/RTE/*.hs - -source-repository head - type: git - location: https://github.com/agda/agda.git - -source-repository this - type: git - location: https://github.com/agda/agda.git - tag: v2.6.2.2 - -flag cpphs - default: False - manual: True - description: Use cpphs instead of cpp. - -flag debug - default: False - manual: True - description: - Enable debugging features that may slow Agda down. - -flag enable-cluster-counting - default: False - description: - Enable the --count-clusters flag. (If enable-cluster-counting is - False, then the --count-clusters flag triggers an error message.) - -flag optimise-heavily - default: False - description: - Enable some expensive optimisations when compiling Agda. - -custom-setup - setup-depends: base >= 4.9.0.0 && < 4.18 - , Cabal >= 1.24.0.0 && < 3.9 - , directory >= 1.2.6.2 && < 1.4 - , filepath >= 1.4.1.0 && < 1.5 - , process >= 1.4.2.0 && < 1.7 - -library - hs-source-dirs: src/full - - if flag(cpphs) - -- We don't write an upper bound for cpphs because the - -- `build-tools` field can not be modified in Hackage. - - build-tools: cpphs >= 1.20.9 - ghc-options: -pgmP cpphs -optP --cpp - - if flag(debug) - cpp-options: -DDEBUG - - if flag(enable-cluster-counting) - cpp-options: -DCOUNT_CLUSTERS - build-depends: text-icu >= 0.7.1.0 - - if os(windows) - build-depends: Win32 >= 2.3.1.1 && < 2.13 - - -- Agda cannot be built with GHC 8.6.1 due to a compiler bug, see - -- Agda Issue #3344. - if impl(ghc == 8.6.1) - buildable: False - - -- Agda cannot be built with Windows and GHC 8.6.3 due to a compiler - -- bug, see Agda Issue #3657. - if os(windows) && impl(ghc == 8.6.3) - buildable: False - - build-depends: aeson >= 1.1.2.0 && < 2.2 - , array >= 0.5.1.1 && < 0.6 - , async >= 2.2 && < 2.3 - , base >= 4.9.0.0 && < 4.18 - , binary >= 0.8.3.0 && < 0.9 - , blaze-html >= 0.8 && < 0.10 - , boxes >= 0.1.3 && < 0.2 - , bytestring >= 0.10.8.1 && < 0.12 - , case-insensitive >= 1.2.0.4 && < 1.3 - -- containers-0.5.11.0 is the first to contain IntSet.intersection - , containers >= 0.5.11.0 && < 0.7 - , data-hash >= 0.2.0.0 && < 0.3 - , deepseq >= 1.4.2.0 && < 1.5 - , directory >= 1.2.6.2 && < 1.4 - , edit-distance >= 0.2.1.2 && < 0.3 - , equivalence >= 0.3.2 && < 0.5 - -- exceptions-0.8 instead of 0.10 because of stack - , exceptions >= 0.8 && < 0.11 - , filepath >= 1.4.1.0 && < 1.5 - , gitrev >= 1.3.1 && < 2.0 - -- hashable 1.2.0.10 makes library-test 10x - -- slower. The issue was fixed in hashable 1.2.1.0. - -- https://github.com/tibbe/hashable/issues/57. - , hashable >= 1.2.1.0 && < 1.5 - -- There is a "serious bug" - -- (https://hackage.haskell.org/package/hashtables-1.2.0.2/changelog) - -- in hashtables 1.2.0.0/1.2.0.1. This bug seems to - -- have made Agda much slower (infinitely slower?) in - -- some cases. - , hashtables >= 1.2.0.2 && < 1.4 - , haskeline >= 0.7.2.3 && < 0.9 - -- monad-control-1.0.1.0 is the first to contain liftThrough - , monad-control >= 1.0.1.0 && < 1.1 - -- mtl >= 2.2 && < 2.2.1 doesn't export Control.Monad.Except. - -- Need mtl 2.2.2 for export of Control.Monad.IdentityT (ghc 8.2.2+) - , mtl >= 2.2.1 && < 2.4 - , murmur-hash >= 0.1 && < 0.2 - , parallel >= 3.2.2.0 && < 3.3 - , pretty >= 1.1.3.3 && < 1.2 - , process >= 1.4.2.0 && < 1.7 - , regex-tdfa >= 1.3.1.0 && < 1.4 - , split >= 0.2.0.0 && < 0.2.4 - , stm >= 2.4.4 && < 2.6 - , strict >= 0.3.2 && < 0.5 - , template-haskell >= 2.11.0.0 && < 2.20 - , text >= 1.2.3.0 && < 2.1 - , time >= 1.6.0.1 && < 1.13 - , transformers >= 0.5 && < 0.7 - , unordered-containers >= 0.2.5.0 && < 0.3 - , uri-encode >= 1.5.0.4 && < 1.6 - , zlib == 0.6.* - - -- Andreas, 2022-02-02, issue #5659: - -- Build failure with transformers-0.6.0.{0,1,2} and GHC 8.6. - -- Transformers-0.6.0.3 might restored GHC 8.6 buildability. - if impl(ghc == 8.6.*) - build-depends: transformers < 0.6 || >= 0.6.0.3 - - -- Andreas, 2021-03-10: - -- All packages we depend upon should be mentioned in an unconditional - -- build-depends field, but additional restrictions on their - -- version for specific GHCs may be placed in conditionals. - -- - -- The goal is to be able to make (e.g. when a new GHC comes out) - -- revisions on hackage, e.g. relaxing upper bounds. This process - -- currently does not support revising conditionals. - - -- ASR (2018-10-16). - -- text-1.2.3.0 required for supporting GHC 8.4.1, 8.4.2 and - -- 8.4.3. See Issue #3277. - -- The other GHC versions can be restricted to >= 1.2.3.1. - if impl(ghc < 8.4.1) || impl(ghc > 8.4.3) - build-depends: text >= 1.2.3.1 - - if impl(ghc >= 8.4) - build-depends: ghc-compact == 0.1.* - - -- We don't write upper bounds for Alex nor Happy because the - -- `build-tools` field can not be modified in Hackage. Agda doesn't - -- build with Alex 3.2.0 and segfaults with 3.2.2. - build-tools: alex >= 3.1.0 && < 3.2.0 || == 3.2.1 || >= 3.2.3 - , happy >= 1.19.4 - - exposed-modules: Agda.Auto.Auto - Agda.Auto.Options - Agda.Auto.CaseSplit - Agda.Auto.Convert - Agda.Auto.NarrowingSearch - Agda.Auto.SearchControl - Agda.Auto.Syntax - Agda.Auto.Typecheck - Agda.Benchmarking - Agda.Compiler.Backend - Agda.Compiler.Builtin - Agda.Compiler.CallCompiler - Agda.Compiler.Common - Agda.Compiler.JS.Compiler - Agda.Compiler.JS.Syntax - Agda.Compiler.JS.Substitution - Agda.Compiler.JS.Pretty - Agda.Compiler.MAlonzo.Coerce - Agda.Compiler.MAlonzo.Compiler - Agda.Compiler.MAlonzo.Encode - Agda.Compiler.MAlonzo.HaskellTypes - Agda.Compiler.MAlonzo.Misc - Agda.Compiler.MAlonzo.Pragmas - Agda.Compiler.MAlonzo.Pretty - Agda.Compiler.MAlonzo.Primitives - Agda.Compiler.MAlonzo.Strict - Agda.Compiler.ToTreeless - Agda.Compiler.Treeless.AsPatterns - Agda.Compiler.Treeless.Builtin - Agda.Compiler.Treeless.Compare - Agda.Compiler.Treeless.EliminateDefaults - Agda.Compiler.Treeless.EliminateLiteralPatterns - Agda.Compiler.Treeless.Erase - Agda.Compiler.Treeless.GuardsToPrims - Agda.Compiler.Treeless.Identity - Agda.Compiler.Treeless.NormalizeNames - Agda.Compiler.Treeless.Pretty - Agda.Compiler.Treeless.Simplify - Agda.Compiler.Treeless.Subst - Agda.Compiler.Treeless.Uncase - Agda.Compiler.Treeless.Unused - Agda.ImpossibleTest - Agda.Interaction.AgdaTop - Agda.Interaction.Base - Agda.Interaction.BasicOps - Agda.Interaction.SearchAbout - Agda.Interaction.CommandLine - Agda.Interaction.EmacsCommand - Agda.Interaction.EmacsTop - Agda.Interaction.ExitCode - Agda.Interaction.JSONTop - Agda.Interaction.JSON - Agda.Interaction.FindFile - Agda.Interaction.Highlighting.Common - Agda.Interaction.Highlighting.Dot - Agda.Interaction.Highlighting.Emacs - Agda.Interaction.Highlighting.FromAbstract - Agda.Interaction.Highlighting.Generate - Agda.Interaction.Highlighting.HTML - Agda.Interaction.Highlighting.JSON - Agda.Interaction.Highlighting.Precise - Agda.Interaction.Highlighting.Range - Agda.Interaction.Highlighting.Vim - Agda.Interaction.Highlighting.LaTeX - Agda.Interaction.Imports - Agda.Interaction.InteractionTop - Agda.Interaction.Response - Agda.Interaction.MakeCase - Agda.Interaction.Monad - Agda.Interaction.Library - Agda.Interaction.Library.Base - Agda.Interaction.Library.Parse - Agda.Interaction.Options - Agda.Interaction.Options.Help - Agda.Interaction.Options.Lenses - Agda.Interaction.Options.Warnings - Agda.Main - Agda.Syntax.Abstract.Name - Agda.Syntax.Abstract.Pattern - Agda.Syntax.Abstract.PatternSynonyms - Agda.Syntax.Abstract.Pretty - Agda.Syntax.Abstract.Views - Agda.Syntax.Abstract - Agda.Syntax.Builtin - Agda.Syntax.Common - Agda.Syntax.Concrete.Attribute - Agda.Syntax.Concrete.Definitions - Agda.Syntax.Concrete.Definitions.Errors - Agda.Syntax.Concrete.Definitions.Monad - Agda.Syntax.Concrete.Definitions.Types - Agda.Syntax.Concrete.Fixity - Agda.Syntax.Concrete.Generic - Agda.Syntax.Concrete.Glyph - Agda.Syntax.Concrete.Name - Agda.Syntax.Concrete.Operators.Parser - Agda.Syntax.Concrete.Operators.Parser.Monad - Agda.Syntax.Concrete.Operators - Agda.Syntax.Concrete.Pattern - Agda.Syntax.Concrete.Pretty - Agda.Syntax.Concrete - Agda.Syntax.DoNotation - Agda.Syntax.Fixity - Agda.Syntax.IdiomBrackets - Agda.Syntax.Info - Agda.Syntax.Internal - Agda.Syntax.Internal.Blockers - Agda.Syntax.Internal.Defs - Agda.Syntax.Internal.Elim - Agda.Syntax.Internal.Generic - Agda.Syntax.Internal.MetaVars - Agda.Syntax.Internal.Names - Agda.Syntax.Internal.Pattern - Agda.Syntax.Internal.SanityCheck - Agda.Syntax.Literal - Agda.Syntax.Notation - Agda.Syntax.Parser.Alex - Agda.Syntax.Parser.Comments - Agda.Syntax.Parser.Layout - Agda.Syntax.Parser.LexActions - Agda.Syntax.Parser.Lexer - Agda.Syntax.Parser.Literate - Agda.Syntax.Parser.LookAhead - Agda.Syntax.Parser.Monad - Agda.Syntax.Parser.Parser - Agda.Syntax.Parser.StringLiterals - Agda.Syntax.Parser.Tokens - Agda.Syntax.Parser - Agda.Syntax.Position - Agda.Syntax.Reflected - Agda.Syntax.Scope.Base - Agda.Syntax.Scope.Monad - Agda.Syntax.Translation.AbstractToConcrete - Agda.Syntax.Translation.ConcreteToAbstract - Agda.Syntax.Translation.InternalToAbstract - Agda.Syntax.Translation.ReflectedToAbstract - Agda.Syntax.Treeless - Agda.Termination.CallGraph - Agda.Termination.CallMatrix - Agda.Termination.CutOff - Agda.Termination.Monad - Agda.Termination.Order - Agda.Termination.RecCheck - Agda.Termination.SparseMatrix - Agda.Termination.Semiring - Agda.Termination.TermCheck - Agda.Termination.Termination - Agda.TheTypeChecker - Agda.TypeChecking.Abstract - Agda.TypeChecking.CheckInternal - Agda.TypeChecking.CompiledClause - Agda.TypeChecking.CompiledClause.Compile - Agda.TypeChecking.CompiledClause.Match - Agda.TypeChecking.Constraints - Agda.TypeChecking.Conversion - Agda.TypeChecking.Conversion.Pure - Agda.TypeChecking.Coverage - Agda.TypeChecking.Coverage.Match - Agda.TypeChecking.Coverage.SplitTree - Agda.TypeChecking.Datatypes - Agda.TypeChecking.DeadCode - Agda.TypeChecking.DisplayForm - Agda.TypeChecking.DropArgs - Agda.TypeChecking.Empty - Agda.TypeChecking.EtaContract - Agda.TypeChecking.EtaExpand - Agda.TypeChecking.Errors - Agda.TypeChecking.Free - Agda.TypeChecking.Free.Lazy - Agda.TypeChecking.Free.Precompute - Agda.TypeChecking.Free.Reduce - Agda.TypeChecking.Forcing - Agda.TypeChecking.Functions - Agda.TypeChecking.Generalize - Agda.TypeChecking.IApplyConfluence - Agda.TypeChecking.Implicit - Agda.TypeChecking.Injectivity - Agda.TypeChecking.Inlining - Agda.TypeChecking.InstanceArguments - Agda.TypeChecking.Irrelevance - Agda.TypeChecking.Level - Agda.TypeChecking.LevelConstraints - Agda.TypeChecking.Lock - Agda.TypeChecking.Level.Solve - Agda.TypeChecking.MetaVars - Agda.TypeChecking.MetaVars.Mention - Agda.TypeChecking.MetaVars.Occurs - Agda.TypeChecking.Monad.Base - Agda.TypeChecking.Monad.Benchmark - Agda.TypeChecking.Monad.Builtin - Agda.TypeChecking.Monad.Caching - Agda.TypeChecking.Monad.Closure - Agda.TypeChecking.Monad.Constraints - Agda.TypeChecking.Monad.Context - Agda.TypeChecking.Monad.Debug - Agda.TypeChecking.Monad.Env - Agda.TypeChecking.Monad.Imports - Agda.TypeChecking.Monad.MetaVars - Agda.TypeChecking.Monad.Mutual - Agda.TypeChecking.Monad.Open - Agda.TypeChecking.Monad.Options - Agda.TypeChecking.Monad.Pure - Agda.TypeChecking.Monad.Signature - Agda.TypeChecking.Monad.SizedTypes - Agda.TypeChecking.Monad.State - Agda.TypeChecking.Monad.Statistics - Agda.TypeChecking.Monad.Trace - Agda.TypeChecking.Monad - Agda.TypeChecking.Names - Agda.TypeChecking.Patterns.Abstract - Agda.TypeChecking.Patterns.Internal - Agda.TypeChecking.Patterns.Match - Agda.TypeChecking.Polarity - Agda.TypeChecking.Positivity - Agda.TypeChecking.Positivity.Occurrence - Agda.TypeChecking.Pretty - Agda.TypeChecking.Pretty.Call - Agda.TypeChecking.Pretty.Constraint - Agda.TypeChecking.Pretty.Warning - Agda.TypeChecking.Primitive - Agda.TypeChecking.Primitive.Base - Agda.TypeChecking.Primitive.Cubical - Agda.TypeChecking.ProjectionLike - Agda.TypeChecking.Quote - Agda.TypeChecking.ReconstructParameters - Agda.TypeChecking.RecordPatterns - Agda.TypeChecking.Records - Agda.TypeChecking.Reduce - Agda.TypeChecking.Reduce.Fast - Agda.TypeChecking.Reduce.Monad - Agda.TypeChecking.Rewriting - Agda.TypeChecking.Rewriting.Clause - Agda.TypeChecking.Rewriting.Confluence - Agda.TypeChecking.Rewriting.NonLinMatch - Agda.TypeChecking.Rewriting.NonLinPattern - Agda.TypeChecking.Rules.Application - Agda.TypeChecking.Rules.Builtin - Agda.TypeChecking.Rules.Builtin.Coinduction - Agda.TypeChecking.Rules.Data - Agda.TypeChecking.Rules.Decl - Agda.TypeChecking.Rules.Def - Agda.TypeChecking.Rules.Display - Agda.TypeChecking.Rules.LHS - Agda.TypeChecking.Rules.LHS.Implicit - Agda.TypeChecking.Rules.LHS.Problem - Agda.TypeChecking.Rules.LHS.ProblemRest - Agda.TypeChecking.Rules.LHS.Unify - Agda.TypeChecking.Rules.Record - Agda.TypeChecking.Rules.Term - Agda.TypeChecking.Serialise - Agda.TypeChecking.Serialise.Base - Agda.TypeChecking.Serialise.Instances - Agda.TypeChecking.Serialise.Instances.Abstract - Agda.TypeChecking.Serialise.Instances.Common - Agda.TypeChecking.Serialise.Instances.Compilers - Agda.TypeChecking.Serialise.Instances.Highlighting - Agda.TypeChecking.Serialise.Instances.Internal - Agda.TypeChecking.Serialise.Instances.Errors - Agda.TypeChecking.SizedTypes - Agda.TypeChecking.SizedTypes.Solve - Agda.TypeChecking.SizedTypes.Syntax - Agda.TypeChecking.SizedTypes.Utils - Agda.TypeChecking.SizedTypes.WarshallSolver - Agda.TypeChecking.Sort - Agda.TypeChecking.Substitute - Agda.TypeChecking.Substitute.Class - Agda.TypeChecking.Substitute.DeBruijn - Agda.TypeChecking.SyntacticEquality - Agda.TypeChecking.Telescope - Agda.TypeChecking.Telescope.Path - Agda.TypeChecking.Unquote - Agda.TypeChecking.Warnings - Agda.TypeChecking.With - Agda.Utils.AffineHole - Agda.Utils.Applicative - Agda.Utils.AssocList - Agda.Utils.Bag - Agda.Utils.Benchmark - Agda.Utils.BiMap - Agda.Utils.CallStack - Agda.Utils.Char - Agda.Utils.Cluster - Agda.Utils.Empty - Agda.Utils.Environment - Agda.Utils.Either - Agda.Utils.Fail - Agda.Utils.Favorites - Agda.Utils.FileName - Agda.Utils.Float - Agda.Utils.Functor - Agda.Utils.Function - Agda.Utils.Graph.AdjacencyMap.Unidirectional - Agda.Utils.Graph.TopSort - Agda.Utils.Hash - Agda.Utils.Haskell.Syntax - Agda.Utils.Impossible - Agda.Utils.IndexedList - Agda.Utils.IntSet.Infinite - Agda.Utils.IO - Agda.Utils.IO.Binary - Agda.Utils.IO.Directory - Agda.Utils.IO.TempFile - Agda.Utils.IO.UTF8 - Agda.Utils.IORef - Agda.Utils.Lens - Agda.Utils.Lens.Examples - Agda.Utils.List - Agda.Utils.List1 - Agda.Utils.List2 - Agda.Utils.ListT - Agda.Utils.Map - Agda.Utils.Maybe - Agda.Utils.Maybe.Strict - Agda.Utils.Memo - Agda.Utils.Monad - Agda.Utils.Monoid - Agda.Utils.Null - Agda.Utils.Parser.MemoisedCPS - Agda.Utils.PartialOrd - Agda.Utils.Permutation - Agda.Utils.Pointer - Agda.Utils.POMonoid - Agda.Utils.Pretty - Agda.Utils.RangeMap - Agda.Utils.SemiRing - Agda.Utils.Semigroup - Agda.Utils.Singleton - Agda.Utils.Size - Agda.Utils.SmallSet - Agda.Utils.String - Agda.Utils.Suffix - Agda.Utils.Three - Agda.Utils.Time - Agda.Utils.Trie - Agda.Utils.Tuple - Agda.Utils.TypeLevel - Agda.Utils.TypeLits - Agda.Utils.Update - Agda.Utils.VarSet - Agda.Utils.Warshall - Agda.Utils.WithDefault - Agda.Utils.Zipper - Agda.Version - Agda.VersionCommit - - other-modules: Paths_Agda - Agda.Interaction.Highlighting.Dot.Backend - Agda.Interaction.Highlighting.Dot.Base - Agda.Interaction.Highlighting.HTML.Backend - Agda.Interaction.Highlighting.HTML.Base - Agda.Interaction.Highlighting.LaTeX.Backend - Agda.Interaction.Highlighting.LaTeX.Base - Agda.Interaction.Options.Base - Agda.Interaction.Options.HasOptions - Agda.Utils.CallStack.Base - Agda.Utils.CallStack.Pretty - - if flag(optimise-heavily) - ghc-options: -fexpose-all-unfoldings - -fspecialise-aggressively - - -- NOTE: If adding flags, also add to `.ghci-8.0` - if impl(ghc <= 8.0.2) - ghc-options: -fprint-potential-instances - -- Initially, we disable all the warnings. - -w - -Wwarn - -- This option must be the first one after disabling the - -- warnings. See Issue #2094. - -Wunrecognised-warning-flags - -Wdeprecated-flags - -Wderiving-typeable - -Wdodgy-exports - -Wdodgy-foreign-imports - -Wdodgy-imports - -Wduplicate-exports - -Wempty-enumerations - -Widentities - -Wincomplete-patterns - -Winline-rule-shadowing - -Wmissing-fields - -Wmissing-methods - -Wmissing-pattern-synonym-signatures - -Wmissing-signatures - -Wnoncanonical-monad-instances - -Wnoncanonical-monoid-instances - -Woverflowed-literals - -Woverlapping-patterns - -Wsemigroup - -Wtabs - -Wtyped-holes - -Wunrecognised-pragmas - -Wunticked-promoted-constructors - -Wunused-do-bind - -Wunused-foralls - -Wwarnings-deprecations - -Wwrong-do-bind - else - ghc-options: -fprint-potential-instances - -Wwarn=unrecognised-warning-flags - -Wwarn=deprecated-flags - -Wwarn=deriving-typeable - -Wwarn=dodgy-exports - -Wwarn=dodgy-foreign-imports - -Wwarn=dodgy-imports - -Wwarn=duplicate-exports - -Wwarn=empty-enumerations - -Wwarn=identities - -Wwarn=incomplete-patterns - -Wwarn=inline-rule-shadowing - -Wwarn=missing-fields - -Wwarn=missing-methods - -Wwarn=missing-pattern-synonym-signatures - -Wwarn=missing-signatures - -Wwarn=noncanonical-monad-instances - -Wwarn=noncanonical-monoid-instances - -Wwarn=overflowed-literals - -Wwarn=overlapping-patterns - -Wwarn=semigroup - -Wwarn=tabs - -Wwarn=typed-holes - -Wwarn=unrecognised-pragmas - -Wwarn=unticked-promoted-constructors - -Wwarn=unused-do-bind - -Wwarn=unused-foralls - -Wwarn=warnings-deprecations - -Wwarn=wrong-do-bind - - -- NOTE: If adding or removing flags, also change `.ghci-8.2` - if impl(ghc >= 8.2) - ghc-options: -Wcpp-undef - -- ASR TODO (2017-07-23): `make haddock` fails when - -- this flag is on. - -- -Wmissing-home-modules - -Wwarn=simplifiable-class-constraints - -Wwarn=unbanged-strict-patterns - - -- NOTE: If adding or removing flags, also change `.ghci-8.6` - if impl(ghc >= 8.6) - ghc-options: -Wwarn=inaccessible-code - -Wwarn=star-binder - -Wwarn=star-is-type - - -- The following warning is an error in GHC >= 8.10. - if impl(ghc >= 8.6) && impl(ghc < 8.10) - ghc-options: -Wwarn=implicit-kind-vars - - -- NOTE: If adding or removing flags, also change `.ghci-8.8` - if impl(ghc >= 8.8) - ghc-options: -Wwarn=missed-extra-shared-lib - - -- NOTE: If adding or removing flags, also change `.ghci-8.10` - if impl(ghc >= 8.10) - ghc-options: -Wwarn=deriving-defaults - -Wwarn=redundant-record-wildcards - -Wwarn=unused-packages - -Wwarn=unused-record-wildcards - - -- NOTE: If adding or removing flags, also change `.ghci-9.0` - if impl(ghc >= 9.0) - ghc-options: -Wwarn=invalid-haddock - - default-language: Haskell2010 - - -- NOTE: If adding or removing default extensions, also change: - -- .ghci-8.0 - -- .hlint.yaml - -- This should also use the same extensions as the `test-suite` target below. - default-extensions: BangPatterns - , ConstraintKinds - --L-T Chen (2019-07-15): - -- Enabling DataKinds only locally makes the compile time - -- slightly shorter, see PR #3920. - --, DataKinds - , DefaultSignatures - , DeriveDataTypeable - , DeriveFoldable - , DeriveFunctor - , DeriveGeneric - , DeriveTraversable - , ExistentialQuantification - , FlexibleContexts - , FlexibleInstances - , FunctionalDependencies - , GeneralizedNewtypeDeriving - , InstanceSigs - , LambdaCase - , MultiParamTypeClasses - , MultiWayIf - , NamedFieldPuns - , OverloadedStrings - , PatternSynonyms - , RankNTypes - , RecordWildCards - , ScopedTypeVariables - , StandaloneDeriving - , TupleSections - , TypeFamilies - , TypeSynonymInstances - -executable agda - hs-source-dirs: src/main - main-is: Main.hs - build-depends: Agda - -- A version range on Agda generates a warning with - -- some versions of Cabal and GHC - -- (e.g. cabal-install version 1.24.0.2 compiled - -- using version 1.24.2.0 of the Cabal library and - -- GHC 8.2.1 RC1). - - -- Nothing is used from the following package, - -- except for the Prelude. - , base - default-language: Haskell2010 - -- If someone installs Agda with the setuid bit set, then the - -- presence of +RTS may be a security problem (see GHC bug #3910). - -- However, we sometimes recommend people to use +RTS to control - -- Agda's memory usage, so we want this functionality enabled by - -- default. - - -- The threaded RTS by default starts a major GC after a program has - -- been idle for 0.3 s. This feature turned out to be annoying, so - -- the idle GC is now by default turned off (-I0). - ghc-options: -threaded -rtsopts - "-with-rtsopts=-M3.5G -I0" - -executable agda-mode - hs-source-dirs: src/agda-mode - main-is: Main.hs - other-modules: Paths_Agda - build-depends: base >= 4.9.0.0 && < 4.18 - , directory >= 1.2.6.2 && < 1.4 - , filepath >= 1.4.1.0 && < 1.5 - , process >= 1.4.2.0 && < 1.7 - default-language: Haskell2010 +name: Agda +version: 2.6.3 +x-revision: 3 +cabal-version: 1.24 +build-type: Custom +license: OtherLicense +license-file: LICENSE +copyright: (c) 2005-2023 The Agda Team. +author: Ulf Norell and The Agda Team, see https://agda.readthedocs.io/en/latest/team.html +maintainer: The Agda Team +homepage: http://wiki.portal.chalmers.se/agda/ +bug-reports: https://github.com/agda/agda/issues +category: Dependent types +synopsis: A dependently typed functional programming language and proof assistant +description: + Agda is a dependently typed functional programming language: It has + inductive families, which are similar to Haskell's GADTs, but they + can be indexed by values and not just types. It also has + parameterised modules, mixfix operators, Unicode characters, and an + interactive Emacs interface (the type checker can assist in the + development of your code). + . + Agda is also a proof assistant: It is an interactive system for + writing and checking proofs. Agda is based on intuitionistic type + theory, a foundational system for constructive mathematics developed + by the Swedish logician Per Martin-Löf. It has many + similarities with other proof assistants based on dependent types, + such as Coq, Idris, Lean and NuPRL. + . + This package includes both a command-line program (agda) and an + Emacs mode. If you want to use the Emacs mode you can set it up by + running @agda-mode setup@ (see the README). + . + Note that the Agda package does not follow the package versioning + policy, because it is not intended to be used by third-party + packages. + +tested-with: + GHC == 9.6.1 + GHC == 9.4.4 + GHC == 9.2.5 + GHC == 9.0.2 + GHC == 8.10.7 + GHC == 8.8.4 + GHC == 8.6.5 + GHC == 8.4.4 + GHC == 8.2.2 + GHC == 8.0.2 + +extra-source-files: CHANGELOG.md + README.md + doc/user-manual/agda.svg + doc/release-notes/2.6.2.2.md + doc/release-notes/2.6.2.1.md + doc/release-notes/2.6.2.md + doc/release-notes/2.6.1.3.md + doc/release-notes/2.6.1.2.md + doc/release-notes/2.6.1.1.md + doc/release-notes/2.6.1.md + doc/release-notes/2.6.0.1.md + doc/release-notes/2.6.0.md + doc/release-notes/2.5.4.2.md + doc/release-notes/2.5.4.1.md + doc/release-notes/2.5.4.md + doc/release-notes/2.5.3.md + doc/release-notes/2.5.2.md + doc/release-notes/2.5.1.2.md + doc/release-notes/2.5.1.1.md + doc/release-notes/2.5.1.md + doc/release-notes/2.4.2.5.md + doc/release-notes/2.4.2.4.md + doc/release-notes/2.4.2.3.md + doc/release-notes/2.4.2.2.md + doc/release-notes/2.4.2.1.md + doc/release-notes/2.4.2.md + doc/release-notes/2.4.0.2.md + doc/release-notes/2.4.0.1.md + doc/release-notes/2.4.0.md + doc/release-notes/2.3.2.2.md + doc/release-notes/2.3.2.1.md + doc/release-notes/2.3.2.md + doc/release-notes/2.3.0.md + doc/release-notes/2.2.10.md + doc/release-notes/2.2.8.md + doc/release-notes/2.2.6.md + doc/release-notes/2.2.2.md + doc/release-notes/2.2.4.md + doc/release-notes/2.2.0.md + stack-8.0.2.yaml + stack-8.2.2.yaml + stack-8.4.4.yaml + stack-8.6.5.yaml + stack-8.8.4.yaml + stack-8.10.7.yaml + stack-9.0.2.yaml + stack-9.2.5.yaml + stack-9.4.4.yaml + +data-dir: src/data +data-files: emacs-mode/*.el + html/Agda.css + html/highlight-hover.js + JS/agda-rts.js + latex/agda.sty + latex/postprocess-latex.pl + lib/prim/Agda/Builtin/Bool.agda + lib/prim/Agda/Builtin/Char.agda + lib/prim/Agda/Builtin/Char/Properties.agda + lib/prim/Agda/Builtin/Coinduction.agda + lib/prim/Agda/Builtin/Cubical/Path.agda + lib/prim/Agda/Builtin/Cubical/Id.agda + lib/prim/Agda/Builtin/Cubical/Sub.agda + lib/prim/Agda/Builtin/Cubical/Glue.agda + lib/prim/Agda/Builtin/Cubical/HCompU.agda + lib/prim/Agda/Builtin/Equality.agda + lib/prim/Agda/Builtin/Equality/Erase.agda + lib/prim/Agda/Builtin/Equality/Rewrite.agda + lib/prim/Agda/Builtin/Float.agda + lib/prim/Agda/Builtin/Float/Properties.agda + lib/prim/Agda/Builtin/FromNat.agda + lib/prim/Agda/Builtin/FromNeg.agda + lib/prim/Agda/Builtin/FromString.agda + lib/prim/Agda/Builtin/IO.agda + lib/prim/Agda/Builtin/Int.agda + lib/prim/Agda/Builtin/List.agda + lib/prim/Agda/Builtin/Maybe.agda + lib/prim/Agda/Builtin/Nat.agda + lib/prim/Agda/Builtin/Reflection.agda + lib/prim/Agda/Builtin/Reflection/External.agda + lib/prim/Agda/Builtin/Reflection/Properties.agda + lib/prim/Agda/Builtin/Sigma.agda + lib/prim/Agda/Builtin/Size.agda + lib/prim/Agda/Builtin/Strict.agda + lib/prim/Agda/Builtin/String.agda + lib/prim/Agda/Builtin/String/Properties.agda + lib/prim/Agda/Builtin/TrustMe.agda + lib/prim/Agda/Builtin/Unit.agda + lib/prim/Agda/Builtin/Word.agda + lib/prim/Agda/Builtin/Word/Properties.agda + lib/prim/Agda/Primitive.agda + lib/prim/Agda/Primitive/Cubical.agda + MAlonzo/src/MAlonzo/*.hs + MAlonzo/src/MAlonzo/RTE/*.hs + +source-repository head + type: git + location: https://github.com/agda/agda.git + +source-repository this + type: git + location: https://github.com/agda/agda.git + tag: v2.6.3 + +flag cpphs + default: False + manual: True + description: Use cpphs instead of cpp. + +flag debug + default: False + manual: True + description: + Enable debugging features that may slow Agda down. + +flag enable-cluster-counting + default: False + description: + Enable the --count-clusters flag. (If enable-cluster-counting is + False, then the --count-clusters flag triggers an error message.) + +flag optimise-heavily + default: False + description: + Enable some expensive optimisations when compiling Agda. + +custom-setup + setup-depends: base >= 4.9.0.0 && < 4.19 + , Cabal >= 1.24.0.0 && < 3.11 + , directory >= 1.2.6.2 && < 1.4 + , filepath >= 1.4.1.0 && < 1.5 + , process >= 1.4.2.0 && < 1.7 + +library + hs-source-dirs: src/full + + if flag(cpphs) + -- We don't write an upper bound for cpphs because the + -- `build-tools` field can not be modified in Hackage. + + build-tools: cpphs >= 1.20.9 + ghc-options: -pgmP cpphs -optP --cpp + + if flag(debug) + cpp-options: -DDEBUG + + if flag(enable-cluster-counting) + cpp-options: -DCOUNT_CLUSTERS + build-depends: text-icu >= 0.7.1.0 + + if os(windows) + build-depends: Win32 >= 2.3.1.1 && < 2.14 + + -- Agda cannot be built with GHC 8.6.1 due to a compiler bug, see + -- Agda Issue #3344. + if impl(ghc == 8.6.1) + buildable: False + + -- Agda cannot be built with Windows and GHC 8.6.3 due to a compiler + -- bug, see Agda Issue #3657. + if os(windows) && impl(ghc == 8.6.3) + buildable: False + + build-depends: aeson >= 1.1.2.0 && < 2.3 + , array >= 0.5.1.1 && < 0.6 + , async >= 2.2 && < 2.3 + , base >= 4.9.0.0 && < 4.19 + , binary >= 0.8.3.0 && < 0.9 + , blaze-html >= 0.8 && < 0.10 + , boxes >= 0.1.3 && < 0.2 + , bytestring >= 0.10.8.1 && < 0.13 + , case-insensitive >= 1.2.0.4 && < 1.3 + -- containers-0.5.11.0 is the first to contain IntSet.intersection + , containers >= 0.5.11.0 && < 0.7 + , data-hash >= 0.2.0.0 && < 0.3 + , deepseq >= 1.4.2.0 && < 1.5 + , directory >= 1.2.6.2 && < 1.4 + , dlist >= 0.8 && < 1.1 + , edit-distance >= 0.2.1.2 && < 0.3 + , equivalence >= 0.3.2 && < 0.5 + -- exceptions-0.8 instead of 0.10 because of stack + , exceptions >= 0.8 && < 0.11 + , filepath >= 1.4.1.0 && < 1.5 + , gitrev >= 1.3.1 && < 2.0 + -- hashable 1.2.0.10 makes library-test 10x + -- slower. The issue was fixed in hashable 1.2.1.0. + -- https://github.com/tibbe/hashable/issues/57. + , hashable >= 1.2.1.0 && < 1.5 + , haskeline >= 0.7.2.3 && < 0.9 + -- monad-control-1.0.1.0 is the first to contain liftThrough + , monad-control >= 1.0.1.0 && < 1.1 + -- mtl >= 2.2 && < 2.2.1 doesn't export Control.Monad.Except. + -- Need mtl 2.2.2 for export of Control.Monad.IdentityT (ghc 8.2.2+) + , mtl >= 2.2.1 && < 2.4 + , murmur-hash >= 0.1 && < 0.2 + , parallel >= 3.2.2.0 && < 3.3 + , pretty >= 1.1.3.3 && < 1.2 + , process >= 1.4.2.0 && < 1.7 + , regex-tdfa >= 1.3.1.0 && < 1.4 + , split >= 0.2.0.0 && < 0.2.4 + , stm >= 2.4.4 && < 2.6 + , STMonadTrans >= 0.4.3 && < 0.5 + , strict >= 0.4.0.1 && < 0.6 + , text >= 1.2.3.0 && < 2.1 + , time >= 1.6.0.1 && < 1.13 + , time-compat >= 1.9.2 && < 1.10 + -- time-compat adds needed functionality missing in time < 1.9 + , transformers >= 0.5 && < 0.7 + , unordered-containers >= 0.2.5.0 && < 0.3 + , uri-encode >= 1.5.0.4 && < 1.6 + , vector >= 0.12 && < 0.14 + , vector-hashtables == 0.1.* + , zlib == 0.6.* + + -- Andreas, 2021-03-10: + -- All packages we depend upon should be mentioned in an unconditional + -- build-depends field, but additional restrictions on their + -- version for specific GHCs may be placed in conditionals. + -- + -- The goal is to be able to make (e.g. when a new GHC comes out) + -- revisions on hackage, e.g. relaxing upper bounds. This process + -- currently does not support revising conditionals. + + -- ASR (2018-10-16). + -- text-1.2.3.0 required for supporting GHC 8.4.1, 8.4.2 and + -- 8.4.3. See Issue #3277. + -- The other GHC versions can be restricted to >= 1.2.3.1. + if impl(ghc < 8.4.1) || impl(ghc > 8.4.3) + build-depends: text >= 1.2.3.1 + + if impl(ghc >= 8.4) + build-depends: ghc-compact == 0.1.* + + -- We don't write upper bounds for Alex nor Happy because the + -- `build-tools` field can not be modified in Hackage. Agda doesn't + -- build with Alex 3.2.0 and segfaults with 3.2.2. + build-tools: alex >= 3.1.0 && < 3.2.0 || == 3.2.1 || >= 3.2.3 + , happy >= 1.19.4 + + exposed-modules: Agda.Auto.Auto + Agda.Auto.Options + Agda.Auto.CaseSplit + Agda.Auto.Convert + Agda.Auto.NarrowingSearch + Agda.Auto.SearchControl + Agda.Auto.Syntax + Agda.Auto.Typecheck + Agda.Benchmarking + Agda.Compiler.Backend + Agda.Compiler.Builtin + Agda.Compiler.CallCompiler + Agda.Compiler.Common + Agda.Compiler.JS.Compiler + Agda.Compiler.JS.Syntax + Agda.Compiler.JS.Substitution + Agda.Compiler.JS.Pretty + Agda.Compiler.MAlonzo.Coerce + Agda.Compiler.MAlonzo.Compiler + Agda.Compiler.MAlonzo.Encode + Agda.Compiler.MAlonzo.HaskellTypes + Agda.Compiler.MAlonzo.Misc + Agda.Compiler.MAlonzo.Pragmas + Agda.Compiler.MAlonzo.Pretty + Agda.Compiler.MAlonzo.Primitives + Agda.Compiler.MAlonzo.Strict + Agda.Compiler.ToTreeless + Agda.Compiler.Treeless.AsPatterns + Agda.Compiler.Treeless.Builtin + Agda.Compiler.Treeless.Compare + Agda.Compiler.Treeless.EliminateDefaults + Agda.Compiler.Treeless.EliminateLiteralPatterns + Agda.Compiler.Treeless.Erase + Agda.Compiler.Treeless.GuardsToPrims + Agda.Compiler.Treeless.Identity + Agda.Compiler.Treeless.NormalizeNames + Agda.Compiler.Treeless.Pretty + Agda.Compiler.Treeless.Simplify + Agda.Compiler.Treeless.Subst + Agda.Compiler.Treeless.Uncase + Agda.Compiler.Treeless.Unused + Agda.ImpossibleTest + Agda.Interaction.AgdaTop + Agda.Interaction.Base + Agda.Interaction.BasicOps + Agda.Interaction.SearchAbout + Agda.Interaction.CommandLine + Agda.Interaction.EmacsCommand + Agda.Interaction.EmacsTop + Agda.Interaction.ExitCode + Agda.Interaction.JSONTop + Agda.Interaction.JSON + Agda.Interaction.FindFile + Agda.Interaction.Highlighting.Common + Agda.Interaction.Highlighting.Dot + Agda.Interaction.Highlighting.Emacs + Agda.Interaction.Highlighting.FromAbstract + Agda.Interaction.Highlighting.Generate + Agda.Interaction.Highlighting.HTML + Agda.Interaction.Highlighting.JSON + Agda.Interaction.Highlighting.Precise + Agda.Interaction.Highlighting.Range + Agda.Interaction.Highlighting.Vim + Agda.Interaction.Highlighting.LaTeX + Agda.Interaction.Imports + Agda.Interaction.InteractionTop + Agda.Interaction.Response + Agda.Interaction.MakeCase + Agda.Interaction.Monad + Agda.Interaction.Library + Agda.Interaction.Library.Base + Agda.Interaction.Library.Parse + Agda.Interaction.Options + Agda.Interaction.Options.Help + Agda.Interaction.Options.Lenses + Agda.Interaction.Options.Warnings + Agda.Main + Agda.Syntax.Abstract.Name + Agda.Syntax.Abstract.Pattern + Agda.Syntax.Abstract.PatternSynonyms + Agda.Syntax.Abstract.Pretty + Agda.Syntax.Abstract.Views + Agda.Syntax.Abstract + Agda.Syntax.Builtin + Agda.Syntax.Common + Agda.Syntax.Concrete.Attribute + Agda.Syntax.Concrete.Definitions + Agda.Syntax.Concrete.Definitions.Errors + Agda.Syntax.Concrete.Definitions.Monad + Agda.Syntax.Concrete.Definitions.Types + Agda.Syntax.Concrete.Fixity + Agda.Syntax.Concrete.Generic + Agda.Syntax.Concrete.Glyph + Agda.Syntax.Concrete.Name + Agda.Syntax.Concrete.Operators.Parser + Agda.Syntax.Concrete.Operators.Parser.Monad + Agda.Syntax.Concrete.Operators + Agda.Syntax.Concrete.Pattern + Agda.Syntax.Concrete.Pretty + Agda.Syntax.Concrete + Agda.Syntax.DoNotation + Agda.Syntax.Fixity + Agda.Syntax.IdiomBrackets + Agda.Syntax.Info + Agda.Syntax.Internal + Agda.Syntax.Internal.Blockers + Agda.Syntax.Internal.Defs + Agda.Syntax.Internal.Elim + Agda.Syntax.Internal.Generic + Agda.Syntax.Internal.MetaVars + Agda.Syntax.Internal.Names + Agda.Syntax.Internal.Pattern + Agda.Syntax.Internal.SanityCheck + Agda.Syntax.Literal + Agda.Syntax.Notation + Agda.Syntax.Parser.Alex + Agda.Syntax.Parser.Comments + Agda.Syntax.Parser.Layout + Agda.Syntax.Parser.LexActions + Agda.Syntax.Parser.Lexer + Agda.Syntax.Parser.Literate + Agda.Syntax.Parser.LookAhead + Agda.Syntax.Parser.Monad + Agda.Syntax.Parser.Parser + Agda.Syntax.Parser.StringLiterals + Agda.Syntax.Parser.Tokens + Agda.Syntax.Parser + Agda.Syntax.Position + Agda.Syntax.Reflected + Agda.Syntax.Scope.Base + Agda.Syntax.Scope.Flat + Agda.Syntax.Scope.Monad + Agda.Syntax.TopLevelModuleName + Agda.Syntax.Translation.AbstractToConcrete + Agda.Syntax.Translation.ConcreteToAbstract + Agda.Syntax.Translation.InternalToAbstract + Agda.Syntax.Translation.ReflectedToAbstract + Agda.Syntax.Treeless + Agda.Termination.CallGraph + Agda.Termination.CallMatrix + Agda.Termination.CutOff + Agda.Termination.Monad + Agda.Termination.Order + Agda.Termination.RecCheck + Agda.Termination.SparseMatrix + Agda.Termination.Semiring + Agda.Termination.TermCheck + Agda.Termination.Termination + Agda.TheTypeChecker + Agda.TypeChecking.Abstract + Agda.TypeChecking.CheckInternal + Agda.TypeChecking.CompiledClause + Agda.TypeChecking.CompiledClause.Compile + Agda.TypeChecking.CompiledClause.Match + Agda.TypeChecking.Constraints + Agda.TypeChecking.Conversion + Agda.TypeChecking.Conversion.Pure + Agda.TypeChecking.Coverage + Agda.TypeChecking.Coverage.Match + Agda.TypeChecking.Coverage.SplitTree + Agda.TypeChecking.Coverage.SplitClause + Agda.TypeChecking.Coverage.Cubical + Agda.TypeChecking.Datatypes + Agda.TypeChecking.DeadCode + Agda.TypeChecking.DisplayForm + Agda.TypeChecking.DropArgs + Agda.TypeChecking.Empty + Agda.TypeChecking.EtaContract + Agda.TypeChecking.EtaExpand + Agda.TypeChecking.Errors + Agda.TypeChecking.Free + Agda.TypeChecking.Free.Lazy + Agda.TypeChecking.Free.Precompute + Agda.TypeChecking.Free.Reduce + Agda.TypeChecking.Forcing + Agda.TypeChecking.Functions + Agda.TypeChecking.Generalize + Agda.TypeChecking.IApplyConfluence + Agda.TypeChecking.Implicit + Agda.TypeChecking.Injectivity + Agda.TypeChecking.Inlining + Agda.TypeChecking.InstanceArguments + Agda.TypeChecking.Irrelevance + Agda.TypeChecking.Level + Agda.TypeChecking.LevelConstraints + Agda.TypeChecking.Lock + Agda.TypeChecking.Level.Solve + Agda.TypeChecking.MetaVars + Agda.TypeChecking.MetaVars.Mention + Agda.TypeChecking.MetaVars.Occurs + Agda.TypeChecking.Monad.Base + Agda.TypeChecking.Monad.Benchmark + Agda.TypeChecking.Monad.Builtin + Agda.TypeChecking.Monad.Caching + Agda.TypeChecking.Monad.Closure + Agda.TypeChecking.Monad.Constraints + Agda.TypeChecking.Monad.Context + Agda.TypeChecking.Monad.Debug + Agda.TypeChecking.Monad.Env + Agda.TypeChecking.Monad.Imports + Agda.TypeChecking.Monad.MetaVars + Agda.TypeChecking.Monad.Mutual + Agda.TypeChecking.Monad.Open + Agda.TypeChecking.Monad.Options + Agda.TypeChecking.Monad.Pure + Agda.TypeChecking.Monad.Signature + Agda.TypeChecking.Monad.SizedTypes + Agda.TypeChecking.Monad.State + Agda.TypeChecking.Monad.Statistics + Agda.TypeChecking.Monad.Trace + Agda.TypeChecking.Monad + Agda.TypeChecking.Names + Agda.TypeChecking.Patterns.Abstract + Agda.TypeChecking.Patterns.Internal + Agda.TypeChecking.Patterns.Match + Agda.TypeChecking.Polarity + Agda.TypeChecking.Positivity + Agda.TypeChecking.Positivity.Occurrence + Agda.TypeChecking.Pretty + Agda.TypeChecking.Pretty.Call + Agda.TypeChecking.Pretty.Constraint + Agda.TypeChecking.Pretty.Warning + Agda.TypeChecking.Primitive + Agda.TypeChecking.Primitive.Base + Agda.TypeChecking.Primitive.Cubical + Agda.TypeChecking.Primitive.Cubical.Id + Agda.TypeChecking.Primitive.Cubical.Glue + Agda.TypeChecking.Primitive.Cubical.Base + Agda.TypeChecking.Primitive.Cubical.HCompU + Agda.TypeChecking.ProjectionLike + Agda.TypeChecking.Quote + Agda.TypeChecking.ReconstructParameters + Agda.TypeChecking.RecordPatterns + Agda.TypeChecking.Records + Agda.TypeChecking.Reduce + Agda.TypeChecking.Reduce.Fast + Agda.TypeChecking.Reduce.Monad + Agda.TypeChecking.Rewriting + Agda.TypeChecking.Rewriting.Clause + Agda.TypeChecking.Rewriting.Confluence + Agda.TypeChecking.Rewriting.NonLinMatch + Agda.TypeChecking.Rewriting.NonLinPattern + Agda.TypeChecking.Rules.Application + Agda.TypeChecking.Rules.Builtin + Agda.TypeChecking.Rules.Builtin.Coinduction + Agda.TypeChecking.Rules.Data + Agda.TypeChecking.Rules.Decl + Agda.TypeChecking.Rules.Def + Agda.TypeChecking.Rules.Display + Agda.TypeChecking.Rules.LHS + Agda.TypeChecking.Rules.LHS.Implicit + Agda.TypeChecking.Rules.LHS.Problem + Agda.TypeChecking.Rules.LHS.ProblemRest + Agda.TypeChecking.Rules.LHS.Unify + Agda.TypeChecking.Rules.LHS.Unify.Types + Agda.TypeChecking.Rules.LHS.Unify.LeftInverse + Agda.TypeChecking.Rules.Record + Agda.TypeChecking.Rules.Term + Agda.TypeChecking.Serialise + Agda.TypeChecking.Serialise.Base + Agda.TypeChecking.Serialise.Instances + Agda.TypeChecking.Serialise.Instances.Abstract + Agda.TypeChecking.Serialise.Instances.Common + Agda.TypeChecking.Serialise.Instances.Compilers + Agda.TypeChecking.Serialise.Instances.Highlighting + Agda.TypeChecking.Serialise.Instances.Internal + Agda.TypeChecking.Serialise.Instances.Errors + Agda.TypeChecking.SizedTypes + Agda.TypeChecking.SizedTypes.Solve + Agda.TypeChecking.SizedTypes.Syntax + Agda.TypeChecking.SizedTypes.Utils + Agda.TypeChecking.SizedTypes.WarshallSolver + Agda.TypeChecking.Sort + Agda.TypeChecking.Substitute + Agda.TypeChecking.Substitute.Class + Agda.TypeChecking.Substitute.DeBruijn + Agda.TypeChecking.SyntacticEquality + Agda.TypeChecking.Telescope + Agda.TypeChecking.Telescope.Path + Agda.TypeChecking.Unquote + Agda.TypeChecking.Warnings + Agda.TypeChecking.With + Agda.Utils.AffineHole + Agda.Utils.Applicative + Agda.Utils.AssocList + Agda.Utils.Bag + Agda.Utils.Benchmark + Agda.Utils.BiMap + Agda.Utils.BoolSet + Agda.Utils.CallStack + Agda.Utils.Char + Agda.Utils.Cluster + Agda.Utils.Empty + Agda.Utils.Environment + Agda.Utils.Either + Agda.Utils.Fail + Agda.Utils.Favorites + Agda.Utils.FileName + Agda.Utils.Float + Agda.Utils.Functor + Agda.Utils.Function + Agda.Utils.Graph.AdjacencyMap.Unidirectional + Agda.Utils.Graph.TopSort + Agda.Utils.Hash + Agda.Utils.HashTable + Agda.Utils.Haskell.Syntax + Agda.Utils.Impossible + Agda.Utils.IndexedList + Agda.Utils.IntSet.Infinite + Agda.Utils.IO + Agda.Utils.IO.Binary + Agda.Utils.IO.Directory + Agda.Utils.IO.TempFile + Agda.Utils.IO.UTF8 + Agda.Utils.IORef + Agda.Utils.Lens + Agda.Utils.Lens.Examples + Agda.Utils.List + Agda.Utils.List1 + Agda.Utils.List2 + Agda.Utils.ListT + Agda.Utils.Map + Agda.Utils.Maybe + Agda.Utils.Maybe.Strict + Agda.Utils.Memo + Agda.Utils.Monad + Agda.Utils.Monoid + Agda.Utils.Null + Agda.Utils.Parser.MemoisedCPS + Agda.Utils.PartialOrd + Agda.Utils.Permutation + Agda.Utils.Pointer + Agda.Utils.POMonoid + Agda.Utils.Pretty + Agda.Utils.ProfileOptions + Agda.Utils.RangeMap + Agda.Utils.SemiRing + Agda.Utils.Semigroup + Agda.Utils.Singleton + Agda.Utils.Size + Agda.Utils.SmallSet + Agda.Utils.String + Agda.Utils.Suffix + Agda.Utils.Three + Agda.Utils.Time + Agda.Utils.Trie + Agda.Utils.Tuple + Agda.Utils.TypeLevel + Agda.Utils.TypeLits + Agda.Utils.Update + Agda.Utils.VarSet + Agda.Utils.Warshall + Agda.Utils.WithDefault + Agda.Utils.Zipper + Agda.Version + Agda.VersionCommit + + other-modules: Paths_Agda + Agda.Interaction.Highlighting.Dot.Backend + Agda.Interaction.Highlighting.Dot.Base + Agda.Interaction.Highlighting.HTML.Backend + Agda.Interaction.Highlighting.HTML.Base + Agda.Interaction.Highlighting.LaTeX.Backend + Agda.Interaction.Highlighting.LaTeX.Base + Agda.Interaction.Options.Base + Agda.Interaction.Options.HasOptions + Agda.Utils.CallStack.Base + Agda.Utils.CallStack.Pretty + + if flag(optimise-heavily) + ghc-options: -fexpose-all-unfoldings + -fspecialise-aggressively + + if impl(ghc <= 8.0.2) + ghc-options: -fprint-potential-instances + -- Initially, we disable all the warnings. + -w + -- This option must be the first one after disabling the + -- warnings. See Issue #2094. + -Wunrecognised-warning-flags + -Wdeprecated-flags + -Wderiving-typeable + -Wdodgy-exports + -Wdodgy-foreign-imports + -Wdodgy-imports + -Wduplicate-exports + -Wempty-enumerations + -Widentities + -- #6137: GHC 8.0 has no COMPLETE pragma, so we have to turn off the completeness checker + -- -Wincomplete-patterns + -- -Wincomplete-record-updates + -Winline-rule-shadowing + -Wmissing-fields + -Wmissing-methods + -Wmissing-pattern-synonym-signatures + -Wmissing-signatures + -Wnoncanonical-monad-instances + -Wnoncanonical-monoid-instances + -Woverflowed-literals + -- #6137: GHC 8.0 has no COMPLETE pragma, so we have to turn off the completeness checker + -- -Woverlapping-patterns + -Wsemigroup + -Wtabs + -Wtyped-holes + -Wunrecognised-pragmas + -Wunticked-promoted-constructors + -Wunused-do-bind + -Wunused-foralls + -Wwarnings-deprecations + -Wwrong-do-bind + else + ghc-options: -fprint-potential-instances + -- ASR (2022-05-31). Workaround to Issue #5932. + -Werror=unrecognised-warning-flags + -Werror=deprecated-flags + -Werror=deriving-typeable + -Werror=dodgy-exports + -Werror=dodgy-foreign-imports + -Werror=dodgy-imports + -Werror=duplicate-exports + -Werror=empty-enumerations + -Werror=identities + -Werror=inline-rule-shadowing + -Werror=missing-fields + -Werror=missing-methods + -Werror=missing-pattern-synonym-signatures + -Werror=missing-signatures + -Werror=noncanonical-monad-instances + -Werror=noncanonical-monoid-instances + -Werror=overflowed-literals + -Werror=overlapping-patterns + -Werror=semigroup + -Werror=tabs + -Werror=typed-holes + -Werror=unrecognised-pragmas + -Werror=unticked-promoted-constructors + -Werror=unused-do-bind + -Werror=unused-foralls + -Werror=warnings-deprecations + -Werror=wrong-do-bind + + if impl(ghc >= 8.2) + ghc-options: -Werror=cpp-undef + -Werror=missing-home-modules + -Werror=simplifiable-class-constraints + -Werror=unbanged-strict-patterns + + if impl(ghc >= 8.6) + ghc-options: -Werror=inaccessible-code + -Werror=star-binder + -Werror=star-is-type + + -- The following warning is an error in GHC >= 8.10. + if impl(ghc >= 8.6) && impl(ghc < 8.10) + ghc-options: -Werror=implicit-kind-vars + + if impl(ghc >= 8.8) + ghc-options: -Werror=missed-extra-shared-lib + + if impl(ghc >= 8.10) + ghc-options: -Werror=deriving-defaults + -Werror=redundant-record-wildcards + -Werror=unused-packages + -Werror=unused-record-wildcards + + if impl(ghc >= 9.0) + ghc-options: -Werror=invalid-haddock + -- #6137: coverage checker works only sufficiently well from GHC 9.0 + -Werror=incomplete-patterns + -Werror=incomplete-record-updates + + -- ASR (2022-04-27). This warning was added in GHC 9.0.2, removed + -- from 9.2.1 and added back in 9.2.2. + if impl(ghc == 9.0.2) + ghc-options: -Werror=unicode-bidirectional-format-characters + + if impl(ghc >= 9.2.2) + ghc-options: -Werror=redundant-bang-patterns + -Werror=unicode-bidirectional-format-characters + + default-language: Haskell2010 + + -- NOTE: If adding or removing default extensions, also change: + -- .hlint.yaml + -- This should also use the same extensions as the `test-suite` target below. + default-extensions: BangPatterns + , ConstraintKinds + --L-T Chen (2019-07-15): + -- Enabling DataKinds only locally makes the compile time + -- slightly shorter, see PR #3920. + --, DataKinds + , DefaultSignatures + , DeriveFoldable + , DeriveFunctor + , DeriveGeneric + , DeriveTraversable + , ExistentialQuantification + , FlexibleContexts + , FlexibleInstances + , FunctionalDependencies + , GeneralizedNewtypeDeriving + , InstanceSigs + , LambdaCase + , MultiParamTypeClasses + , MultiWayIf + , NamedFieldPuns + , OverloadedStrings + , PatternSynonyms + , RankNTypes + , RecordWildCards + , ScopedTypeVariables + , StandaloneDeriving + , TupleSections + , TypeFamilies + , TypeOperators + , TypeSynonymInstances + +executable agda + hs-source-dirs: src/main + main-is: Main.hs + build-depends: Agda + -- A version range on Agda generates a warning with + -- some versions of Cabal and GHC + -- (e.g. cabal-install version 1.24.0.2 compiled + -- using version 1.24.2.0 of the Cabal library and + -- GHC 8.2.1 RC1). + + -- Nothing is used from the following package, + -- except for the Prelude. + , base + default-language: Haskell2010 + -- If someone installs Agda with the setuid bit set, then the + -- presence of +RTS may be a security problem (see GHC bug #3910). + -- However, we sometimes recommend people to use +RTS to control + -- Agda's memory usage, so we want this functionality enabled by + -- default. + + -- The threaded RTS by default starts a major GC after a program has + -- been idle for 0.3 s. This feature turned out to be annoying, so + -- the idle GC is now by default turned off (-I0). + ghc-options: -threaded -rtsopts + "-with-rtsopts=-M3.5G -I0" + +executable agda-mode + hs-source-dirs: src/agda-mode + main-is: Main.hs + other-modules: Paths_Agda + build-depends: base >= 4.9.0.0 && < 4.19 + , directory >= 1.2.6.2 && < 1.4 + , filepath >= 1.4.1.0 && < 1.5 + , process >= 1.4.2.0 && < 1.7 + default-language: Haskell2010 diff --git a/Agda.spec b/Agda.spec index d5a167d..405041e 100644 --- a/Agda.spec +++ b/Agda.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-2.1.0 --subpackage +# generated by cabal-rpm-2.1.2 --subpackage # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ # https://gitlab.haskell.org/ghc/ghc/issues/17030 panic @@ -10,12 +10,13 @@ %global pkgver %{pkg_name}-%{version} %global murmurhash murmur-hash-0.1.0.10 -%global subpkgs %{murmurhash} +%global vectorhashtables vector-hashtables-0.1.1.3 +%global subpkgs %{murmurhash} %{vectorhashtables} Name: %{pkg_name} -Version: 2.6.2.2 +Version: 2.6.3 # can only be reset when all subpkgs bumped -Release: 39%{?dist} +Release: 40%{?dist} Summary: A dependently typed functional programming language and proof assistant License: MIT and BSD-3-Clause @@ -23,7 +24,8 @@ Url: https://hackage.haskell.org/package/%{name} # Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz Source1: https://hackage.haskell.org/package/%{murmurhash}/%{murmurhash}.tar.gz -Source2: https://hackage.haskell.org/package/%{pkgver}/%{name}.cabal#/%{pkgver}.cabal +Source2: https://hackage.haskell.org/package/%{vectorhashtables}/%{vectorhashtables}.tar.gz +Source3: https://hackage.haskell.org/package/%{pkgver}/%{name}.cabal#/%{pkgver}.cabal # End cabal-rpm sources Source10: agda-mode-init.el @@ -34,9 +36,9 @@ Source10: agda-mode-init.el ExcludeArch: armv7hl # Begin cabal-rpm deps: -BuildRequires: dos2unix BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros-extra +BuildRequires: ghc-STMonadTrans-devel BuildRequires: ghc-aeson-devel BuildRequires: ghc-array-devel BuildRequires: ghc-async-devel @@ -50,6 +52,7 @@ BuildRequires: ghc-containers-devel BuildRequires: ghc-data-hash-devel BuildRequires: ghc-deepseq-devel BuildRequires: ghc-directory-devel +BuildRequires: ghc-dlist-devel BuildRequires: ghc-edit-distance-devel BuildRequires: ghc-equivalence-devel BuildRequires: ghc-exceptions-devel @@ -57,7 +60,6 @@ BuildRequires: ghc-filepath-devel BuildRequires: ghc-ghc-compact-devel BuildRequires: ghc-gitrev-devel BuildRequires: ghc-hashable-devel -BuildRequires: ghc-hashtables-devel BuildRequires: ghc-haskeline-devel BuildRequires: ghc-monad-control-devel BuildRequires: ghc-mtl-devel @@ -69,14 +71,17 @@ BuildRequires: ghc-regex-tdfa-devel BuildRequires: ghc-split-devel BuildRequires: ghc-stm-devel BuildRequires: ghc-strict-devel -BuildRequires: ghc-template-haskell-devel BuildRequires: ghc-text-devel BuildRequires: ghc-time-devel +BuildRequires: ghc-time-compat-devel BuildRequires: ghc-transformers-devel BuildRequires: ghc-unordered-containers-devel BuildRequires: ghc-uri-encode-devel +BuildRequires: ghc-vector-devel +#BuildRequires: ghc-vector-hashtables-devel BuildRequires: ghc-zlib-devel %if %{with ghc_prof} +BuildRequires: ghc-STMonadTrans-prof BuildRequires: ghc-aeson-prof BuildRequires: ghc-array-prof BuildRequires: ghc-async-prof @@ -90,6 +95,7 @@ BuildRequires: ghc-containers-prof BuildRequires: ghc-data-hash-prof BuildRequires: ghc-deepseq-prof BuildRequires: ghc-directory-prof +BuildRequires: ghc-dlist-prof BuildRequires: ghc-edit-distance-prof BuildRequires: ghc-equivalence-prof BuildRequires: ghc-exceptions-prof @@ -97,7 +103,6 @@ BuildRequires: ghc-filepath-prof BuildRequires: ghc-ghc-compact-prof BuildRequires: ghc-gitrev-prof BuildRequires: ghc-hashable-prof -BuildRequires: ghc-hashtables-prof BuildRequires: ghc-haskeline-prof BuildRequires: ghc-monad-control-prof BuildRequires: ghc-mtl-prof @@ -109,18 +114,25 @@ BuildRequires: ghc-regex-tdfa-prof BuildRequires: ghc-split-prof BuildRequires: ghc-stm-prof BuildRequires: ghc-strict-prof -BuildRequires: ghc-template-haskell-prof BuildRequires: ghc-text-prof BuildRequires: ghc-time-prof +BuildRequires: ghc-time-compat-prof BuildRequires: ghc-transformers-prof BuildRequires: ghc-unordered-containers-prof BuildRequires: ghc-uri-encode-prof +BuildRequires: ghc-vector-prof +#BuildRequires: ghc-vector-hashtables-prof BuildRequires: ghc-zlib-prof %endif BuildRequires: alex BuildRequires: happy Provides: agda = %{version}-%{release} Requires: %{name}-common = %{version}-%{release} +# for missing dep 'vector-hashtables': +BuildRequires: ghc-primitive-devel +%if %{with ghc_prof} +BuildRequires: ghc-primitive-prof +%endif # End cabal-rpm deps BuildRequires: emacs(bin) @@ -139,7 +151,7 @@ Agda is also a proof assistant: It is an interactive system for writing and checking proofs. Agda is based on intuitionistic type theory, a foundational system for constructive mathematics developed by the Swedish logician Per Martin-Löf. It has many similarities with other -proof assistants based on dependent types, such as Coq, Epigram and NuPRL. +proof assistants based on dependent types, such as Coq, Idris, Lean and NuPRL. %package common @@ -198,6 +210,7 @@ This package provides the Haskell %{name} profiling library. %if %{defined ghclibdir} %ghc_lib_subpackage -l BSD-3-Clause %{murmurhash} +%ghc_lib_subpackage -l BSD-3-Clause %{vectorhashtables} %endif %global version %{main_version} @@ -205,8 +218,8 @@ This package provides the Haskell %{name} profiling library. %prep # Begin cabal-rpm setup: -%setup -q -a1 -dos2unix -k -n %{SOURCE2} %{name}.cabal +%setup -q -a1 -a2 +cp -bp %{SOURCE3} %{name}.cabal # End cabal-rpm setup # check the Agda version in the emacs mode @@ -306,6 +319,9 @@ rm -r %{buildroot}%{_datadir}/%{pkgver}/emacs-mode %changelog +* Sat Jul 29 2023 Jens Petersen - 2.6.3-40 +- https://hackage.haskell.org/package/Agda-2.6.3/changelog + * Wed Jul 19 2023 Fedora Release Engineering - 2.6.2.2-39 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild diff --git a/sources b/sources index 0e1d30e..4b45e7e 100644 --- a/sources +++ b/sources @@ -1,2 +1,3 @@ -SHA512 (Agda-2.6.2.2.tar.gz) = f54dcc0fd6dea106db4a04cc3b0b80f404f0613b5075849db17a1b4b5e176ed6d183bfdaf464fbcbc6e0807c1af0c8748f96552d48e537444109be54730685a8 +SHA512 (Agda-2.6.3.tar.gz) = 005152c19b05d858a54d146b75c9a88bf87e7d1cbcaee237ea92f273c8c59e9cf7177d6d553ddf6246a74c7ab318ceac909c0bb981599fc5bb156a7b79d1234d SHA512 (murmur-hash-0.1.0.10.tar.gz) = d6d28fcd738de98ce4fb6c7e997b32bb15eef9efe53642cefffd2cfeccd1b56f634adbcadeec9fb94c69d1df9e675f7daf368c62806ef819dc242df947ddf70b +SHA512 (vector-hashtables-0.1.1.3.tar.gz) = 3c33b975c56a8bed22475489542f9500fae965e6104433432cbddf8c2106ad0ee87b792850da3f3606f6d30abf21b851e6e50901db556e87acdbd98ec70330a1 From f0867587428997e6140c0eeef3686f99acb59790 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 9 Oct 2023 21:20:40 +0800 Subject: [PATCH 38/62] fix SPDX AND --- Agda.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Agda.spec b/Agda.spec index 405041e..6704502 100644 --- a/Agda.spec +++ b/Agda.spec @@ -19,7 +19,7 @@ Version: 2.6.3 Release: 40%{?dist} Summary: A dependently typed functional programming language and proof assistant -License: MIT and BSD-3-Clause +License: MIT AND BSD-3-Clause Url: https://hackage.haskell.org/package/%{name} # Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz @@ -156,7 +156,7 @@ proof assistants based on dependent types, such as Coq, Idris, Lean and NuPRL. %package common Summary: %{name} common files -License: MIT and BSD-3-Clause and BSD-2-Clause +License: MIT AND BSD-3-Clause AND BSD-2-Clause BuildArch: noarch %description common From 1a0b9834e391a9a383c9de16f4b84874e8c3b5ec Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 9 Oct 2023 22:17:11 +0800 Subject: [PATCH 39/62] update to 2.6.4 --- .gitignore | 2 ++ Agda.spec | 30 ++++++++++++++++++++++-------- sources | 3 ++- 3 files changed, 26 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 1fe681f..5af454e 100644 --- a/.gitignore +++ b/.gitignore @@ -31,3 +31,5 @@ /geniplate-mirror-0.7.9.tar.gz /Agda-2.6.3.tar.gz /vector-hashtables-0.1.1.3.tar.gz +/Agda-2.6.4.tar.gz +/peano-0.1.0.1.tar.gz diff --git a/Agda.spec b/Agda.spec index 6704502..a6fcc6c 100644 --- a/Agda.spec +++ b/Agda.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-2.1.2 --subpackage +# generated by cabal-rpm-2.1.4 --subpackage # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ # https://gitlab.haskell.org/ghc/ghc/issues/17030 panic @@ -10,13 +10,15 @@ %global pkgver %{pkg_name}-%{version} %global murmurhash murmur-hash-0.1.0.10 +%global peano peano-0.1.0.1 %global vectorhashtables vector-hashtables-0.1.1.3 -%global subpkgs %{murmurhash} %{vectorhashtables} + +%global subpkgs %{vectorhashtables} %{peano} %{murmurhash} Name: %{pkg_name} -Version: 2.6.3 +Version: 2.6.4 # can only be reset when all subpkgs bumped -Release: 40%{?dist} +Release: 41%{?dist} Summary: A dependently typed functional programming language and proof assistant License: MIT AND BSD-3-Clause @@ -24,8 +26,8 @@ Url: https://hackage.haskell.org/package/%{name} # Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz Source1: https://hackage.haskell.org/package/%{murmurhash}/%{murmurhash}.tar.gz -Source2: https://hackage.haskell.org/package/%{vectorhashtables}/%{vectorhashtables}.tar.gz -Source3: https://hackage.haskell.org/package/%{pkgver}/%{name}.cabal#/%{pkgver}.cabal +Source2: https://hackage.haskell.org/package/%{peano}/%{peano}.tar.gz +Source3: https://hackage.haskell.org/package/%{vectorhashtables}/%{vectorhashtables}.tar.gz # End cabal-rpm sources Source10: agda-mode-init.el @@ -40,6 +42,7 @@ BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros-extra BuildRequires: ghc-STMonadTrans-devel BuildRequires: ghc-aeson-devel +BuildRequires: ghc-ansi-terminal-devel BuildRequires: ghc-array-devel BuildRequires: ghc-async-devel BuildRequires: ghc-base-devel @@ -65,6 +68,7 @@ BuildRequires: ghc-monad-control-devel BuildRequires: ghc-mtl-devel #BuildRequires: ghc-murmur-hash-devel BuildRequires: ghc-parallel-devel +#BuildRequires: ghc-peano-devel BuildRequires: ghc-pretty-devel BuildRequires: ghc-process-devel BuildRequires: ghc-regex-tdfa-devel @@ -83,6 +87,7 @@ BuildRequires: ghc-zlib-devel %if %{with ghc_prof} BuildRequires: ghc-STMonadTrans-prof BuildRequires: ghc-aeson-prof +BuildRequires: ghc-ansi-terminal-prof BuildRequires: ghc-array-prof BuildRequires: ghc-async-prof BuildRequires: ghc-base-prof @@ -108,6 +113,7 @@ BuildRequires: ghc-monad-control-prof BuildRequires: ghc-mtl-prof #BuildRequires: ghc-murmur-hash-prof BuildRequires: ghc-parallel-prof +#BuildRequires: ghc-peano-prof BuildRequires: ghc-pretty-prof BuildRequires: ghc-process-prof BuildRequires: ghc-regex-tdfa-prof @@ -210,6 +216,7 @@ This package provides the Haskell %{name} profiling library. %if %{defined ghclibdir} %ghc_lib_subpackage -l BSD-3-Clause %{murmurhash} +%ghc_lib_subpackage -l ISC %{peano} %ghc_lib_subpackage -l BSD-3-Clause %{vectorhashtables} %endif @@ -218,9 +225,12 @@ This package provides the Haskell %{name} profiling library. %prep # Begin cabal-rpm setup: -%setup -q -a1 -a2 -cp -bp %{SOURCE3} %{name}.cabal +%setup -q -a1 -a2 -a3 # End cabal-rpm setup +( +cd %{peano} +cabal-tweak-dep-ver base '<4.9' '<5' +) # check the Agda version in the emacs mode if ! grep -q \"%{version}\" src/data/emacs-mode/agda2-mode.el; then @@ -319,6 +329,10 @@ rm -r %{buildroot}%{_datadir}/%{pkgver}/emacs-mode %changelog +* Mon Oct 09 2023 Jens Petersen - 2.6.4-41 +- update to 2.6.4 +- https://hackage.haskell.org/package/Agda-2.6.4/changelog + * Sat Jul 29 2023 Jens Petersen - 2.6.3-40 - https://hackage.haskell.org/package/Agda-2.6.3/changelog diff --git a/sources b/sources index 4b45e7e..89a9e2b 100644 --- a/sources +++ b/sources @@ -1,3 +1,4 @@ -SHA512 (Agda-2.6.3.tar.gz) = 005152c19b05d858a54d146b75c9a88bf87e7d1cbcaee237ea92f273c8c59e9cf7177d6d553ddf6246a74c7ab318ceac909c0bb981599fc5bb156a7b79d1234d +SHA512 (Agda-2.6.4.tar.gz) = 09b278dfb299779b02358e68a91f9d10e25083447810363ef0dbefdcdfc16070207c8c7272d2cb842ee77e67f1bd5d13007e3121c3f021107b4f6b6c4a82313a SHA512 (murmur-hash-0.1.0.10.tar.gz) = d6d28fcd738de98ce4fb6c7e997b32bb15eef9efe53642cefffd2cfeccd1b56f634adbcadeec9fb94c69d1df9e675f7daf368c62806ef819dc242df947ddf70b +SHA512 (peano-0.1.0.1.tar.gz) = 79ad0b73bccfcb60f5c2bb4ca6940cd866a43fdb2968f5274c28aca618731263f751a4d862add553e7641e544824da85fb700ec9ace9c69a7c290d2f7acd1b93 SHA512 (vector-hashtables-0.1.1.3.tar.gz) = 3c33b975c56a8bed22475489542f9500fae965e6104433432cbddf8c2106ad0ee87b792850da3f3606f6d30abf21b851e6e50901db556e87acdbd98ec70330a1 From 077d4357e78dd8812a43d4226e7bfdc7b42d5e40 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 17 Oct 2023 01:14:29 +0800 Subject: [PATCH 40/62] FTBFS on i686 (#2244516) --- Agda.spec | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/Agda.spec b/Agda.spec index a6fcc6c..3b85fb1 100644 --- a/Agda.spec +++ b/Agda.spec @@ -31,11 +31,10 @@ Source3: https://hackage.haskell.org/package/%{vectorhashtables}/%{vector # End cabal-rpm sources Source10: agda-mode-init.el -# armv7hl: -#[372 of 397] Compiling Agda.Interaction.Imports -#ghc: out of memory [even with -O0] -# https://bugzilla.redhat.com/show_bug.cgi?id=1991261 -ExcludeArch: armv7hl +# i686: +# [410 of 429] Compiling Agda.Compiler.MAlonzo.Compiler +# https://bugzilla.redhat.com/show_bug.cgi?id=2244516 +ExcludeArch: %{ix86} armv7hl # Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel @@ -255,10 +254,6 @@ done # Begin cabal-rpm build: %ghc_libs_build %{subpkgs} -%ifarch armv7hl -# https://bugzilla.redhat.com/show_bug.cgi?id=991929 -%define cabal_configure_options --ghc-options="-O0" -%endif %ghc_lib_build # End cabal-rpm build From 6c97ffba9c924e3b80379fe9a8a41a205d779d1f Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 17 Oct 2023 14:27:46 +0800 Subject: [PATCH 41/62] enable optimise-heavily for f40+ recommended by upstream (enable-cluster-counting requires text-icu so I skipped it for now) --- Agda.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Agda.spec b/Agda.spec index 3b85fb1..1ae1f7c 100644 --- a/Agda.spec +++ b/Agda.spec @@ -18,7 +18,7 @@ Name: %{pkg_name} Version: 2.6.4 # can only be reset when all subpkgs bumped -Release: 41%{?dist} +Release: 42%{?dist} Summary: A dependently typed functional programming language and proof assistant License: MIT AND BSD-3-Clause @@ -226,6 +226,9 @@ This package provides the Haskell %{name} profiling library. # Begin cabal-rpm setup: %setup -q -a1 -a2 -a3 # End cabal-rpm setup +%if 0%{?fedora} >= 40 +cabal-tweak-flag optimise-heavily True +%endif ( cd %{peano} cabal-tweak-dep-ver base '<4.9' '<5' @@ -324,6 +327,9 @@ rm -r %{buildroot}%{_datadir}/%{pkgver}/emacs-mode %changelog +* Tue Oct 17 2023 Jens Petersen - 2.6.4-42 +- F40: enable optimise-heavily flag + * Mon Oct 09 2023 Jens Petersen - 2.6.4-41 - update to 2.6.4 - https://hackage.haskell.org/package/Agda-2.6.4/changelog From 96753cfc9934681c353081d99341de7b72958b92 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 7 Dec 2023 14:37:55 +0530 Subject: [PATCH 42/62] update to 2.6.4.1 --- .gitignore | 2 ++ Agda.spec | 20 +++++++++++--------- sources | 4 ++-- 3 files changed, 15 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index 5af454e..c7e999c 100644 --- a/.gitignore +++ b/.gitignore @@ -33,3 +33,5 @@ /vector-hashtables-0.1.1.3.tar.gz /Agda-2.6.4.tar.gz /peano-0.1.0.1.tar.gz +/Agda-2.6.4.1.tar.gz +/peano-0.1.0.2.tar.gz diff --git a/Agda.spec b/Agda.spec index 1ae1f7c..96e8254 100644 --- a/Agda.spec +++ b/Agda.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-2.1.4 --subpackage +# generated by cabal-rpm-2.1.5 --subpackage # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ # https://gitlab.haskell.org/ghc/ghc/issues/17030 panic @@ -10,15 +10,15 @@ %global pkgver %{pkg_name}-%{version} %global murmurhash murmur-hash-0.1.0.10 -%global peano peano-0.1.0.1 +%global peano peano-0.1.0.2 %global vectorhashtables vector-hashtables-0.1.1.3 %global subpkgs %{vectorhashtables} %{peano} %{murmurhash} Name: %{pkg_name} -Version: 2.6.4 +Version: 2.6.4.1 # can only be reset when all subpkgs bumped -Release: 42%{?dist} +Release: 43%{?dist} Summary: A dependently typed functional programming language and proof assistant License: MIT AND BSD-3-Clause @@ -158,6 +158,8 @@ a foundational system for constructive mathematics developed by the Swedish logician Per Martin-Löf. It has many similarities with other proof assistants based on dependent types, such as Coq, Idris, Lean and NuPRL. +This package includes both a command-line program (agda) and an Emacs mode. + %package common Summary: %{name} common files @@ -215,7 +217,7 @@ This package provides the Haskell %{name} profiling library. %if %{defined ghclibdir} %ghc_lib_subpackage -l BSD-3-Clause %{murmurhash} -%ghc_lib_subpackage -l ISC %{peano} +%ghc_lib_subpackage -l BSD-3-Clause %{peano} %ghc_lib_subpackage -l BSD-3-Clause %{vectorhashtables} %endif @@ -229,10 +231,6 @@ This package provides the Haskell %{name} profiling library. %if 0%{?fedora} >= 40 cabal-tweak-flag optimise-heavily True %endif -( -cd %{peano} -cabal-tweak-dep-ver base '<4.9' '<5' -) # check the Agda version in the emacs mode if ! grep -q \"%{version}\" src/data/emacs-mode/agda2-mode.el; then @@ -327,6 +325,10 @@ rm -r %{buildroot}%{_datadir}/%{pkgver}/emacs-mode %changelog +* Thu Dec 7 2023 Jens Petersen - 2.6.4.1-43 +- https://hackage.haskell.org/package/Agda-2.6.4.1/changelog +- update peano to 0.1.0.2 + * Tue Oct 17 2023 Jens Petersen - 2.6.4-42 - F40: enable optimise-heavily flag diff --git a/sources b/sources index 89a9e2b..a916513 100644 --- a/sources +++ b/sources @@ -1,4 +1,4 @@ -SHA512 (Agda-2.6.4.tar.gz) = 09b278dfb299779b02358e68a91f9d10e25083447810363ef0dbefdcdfc16070207c8c7272d2cb842ee77e67f1bd5d13007e3121c3f021107b4f6b6c4a82313a +SHA512 (Agda-2.6.4.1.tar.gz) = b26819c0f08e9db10bc50cec3bffb322cb6b106f4661c57132948ae2f8b8378520ab475173ae56c5e6876ef08ca4e3806960bc7dc69ddf99bca041f44c653f1e SHA512 (murmur-hash-0.1.0.10.tar.gz) = d6d28fcd738de98ce4fb6c7e997b32bb15eef9efe53642cefffd2cfeccd1b56f634adbcadeec9fb94c69d1df9e675f7daf368c62806ef819dc242df947ddf70b -SHA512 (peano-0.1.0.1.tar.gz) = 79ad0b73bccfcb60f5c2bb4ca6940cd866a43fdb2968f5274c28aca618731263f751a4d862add553e7641e544824da85fb700ec9ace9c69a7c290d2f7acd1b93 +SHA512 (peano-0.1.0.2.tar.gz) = 1fbdb2d82674da7c4350797f2557c58b5302396b68f3debaae0c255e1c22d2c766b1da6c38e9b5ba673e823e5511b7bf9a3107bcabcbd375a325c736c9e9908d SHA512 (vector-hashtables-0.1.1.3.tar.gz) = 3c33b975c56a8bed22475489542f9500fae965e6104433432cbddf8c2106ad0ee87b792850da3f3606f6d30abf21b851e6e50901db556e87acdbd98ec70330a1 From ec32a41fe6f61ad7e6650d3a861f533904901a6a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 18 Jan 2024 12:06:16 +0000 Subject: [PATCH 43/62] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- Agda.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Agda.spec b/Agda.spec index 96e8254..6eba319 100644 --- a/Agda.spec +++ b/Agda.spec @@ -18,7 +18,7 @@ Name: %{pkg_name} Version: 2.6.4.1 # can only be reset when all subpkgs bumped -Release: 43%{?dist} +Release: 44%{?dist} Summary: A dependently typed functional programming language and proof assistant License: MIT AND BSD-3-Clause @@ -325,6 +325,9 @@ rm -r %{buildroot}%{_datadir}/%{pkgver}/emacs-mode %changelog +* Thu Jan 18 2024 Fedora Release Engineering - 2.6.4.1-44 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Thu Dec 7 2023 Jens Petersen - 2.6.4.1-43 - https://hackage.haskell.org/package/Agda-2.6.4.1/changelog - update peano to 0.1.0.2 From abfe655f51372a0951373630ee5ae77f538f7b90 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 19 Jan 2024 09:11:32 +0000 Subject: [PATCH 44/62] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- Agda.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Agda.spec b/Agda.spec index 6eba319..d27a097 100644 --- a/Agda.spec +++ b/Agda.spec @@ -18,7 +18,7 @@ Name: %{pkg_name} Version: 2.6.4.1 # can only be reset when all subpkgs bumped -Release: 44%{?dist} +Release: 45%{?dist} Summary: A dependently typed functional programming language and proof assistant License: MIT AND BSD-3-Clause @@ -325,6 +325,9 @@ rm -r %{buildroot}%{_datadir}/%{pkgver}/emacs-mode %changelog +* Fri Jan 19 2024 Fedora Release Engineering - 2.6.4.1-45 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Thu Jan 18 2024 Fedora Release Engineering - 2.6.4.1-44 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 7f51bce47f8d7d8dfcbfcabd6107f3cc19b58c0c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 22 Jan 2024 20:43:16 +0000 Subject: [PATCH 45/62] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- Agda.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Agda.spec b/Agda.spec index d27a097..783ce30 100644 --- a/Agda.spec +++ b/Agda.spec @@ -18,7 +18,7 @@ Name: %{pkg_name} Version: 2.6.4.1 # can only be reset when all subpkgs bumped -Release: 45%{?dist} +Release: 46%{?dist} Summary: A dependently typed functional programming language and proof assistant License: MIT AND BSD-3-Clause @@ -325,6 +325,9 @@ rm -r %{buildroot}%{_datadir}/%{pkgver}/emacs-mode %changelog +* Mon Jan 22 2024 Fedora Release Engineering - 2.6.4.1-46 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Fri Jan 19 2024 Fedora Release Engineering - 2.6.4.1-45 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From be456d7df5b46d7e49ecfc928b69aa10ca768a04 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 20 Feb 2024 19:52:14 +0800 Subject: [PATCH 46/62] enable-cluster-counting with text-icu --- Agda.spec | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/Agda.spec b/Agda.spec index 783ce30..78ff050 100644 --- a/Agda.spec +++ b/Agda.spec @@ -18,7 +18,7 @@ Name: %{pkg_name} Version: 2.6.4.1 # can only be reset when all subpkgs bumped -Release: 46%{?dist} +Release: 47%{?dist} Summary: A dependently typed functional programming language and proof assistant License: MIT AND BSD-3-Clause @@ -75,6 +75,9 @@ BuildRequires: ghc-split-devel BuildRequires: ghc-stm-devel BuildRequires: ghc-strict-devel BuildRequires: ghc-text-devel +%if 0%{?fedora} >= 41 +BuildRequires: ghc-text-icu-devel +%endif BuildRequires: ghc-time-devel BuildRequires: ghc-time-compat-devel BuildRequires: ghc-transformers-devel @@ -120,6 +123,7 @@ BuildRequires: ghc-split-prof BuildRequires: ghc-stm-prof BuildRequires: ghc-strict-prof BuildRequires: ghc-text-prof +BuildRequires: ghc-text-icu-prof BuildRequires: ghc-time-prof BuildRequires: ghc-time-compat-prof BuildRequires: ghc-transformers-prof @@ -140,9 +144,6 @@ BuildRequires: ghc-primitive-prof %endif # End cabal-rpm deps BuildRequires: emacs(bin) - -# introduced for F23 -Obsoletes: emacs-agda-el < 2.4.2.2-5 Provides: emacs-agda = %{version}-%{release} %description @@ -231,6 +232,9 @@ This package provides the Haskell %{name} profiling library. %if 0%{?fedora} >= 40 cabal-tweak-flag optimise-heavily True %endif +%if 0%{?fedora} >= 41 +cabal-tweak-flag enable-cluster-counting True +%endif # check the Agda version in the emacs mode if ! grep -q \"%{version}\" src/data/emacs-mode/agda2-mode.el; then @@ -325,6 +329,9 @@ rm -r %{buildroot}%{_datadir}/%{pkgver}/emacs-mode %changelog +* Tue Feb 20 2024 Jens Petersen - 2.6.4.1-47 +- rawhide: enable-cluster-counting with text-icu + * Mon Jan 22 2024 Fedora Release Engineering - 2.6.4.1-46 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 90aee6980bd1b7cbb0f2c4b781574b66b2e20f46 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 20 Feb 2024 23:39:40 +0800 Subject: [PATCH 47/62] update vector-hashtables to 0.1.1.4 --- .gitignore | 1 + Agda.spec | 3 ++- sources | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index c7e999c..3716e8b 100644 --- a/.gitignore +++ b/.gitignore @@ -35,3 +35,4 @@ /peano-0.1.0.1.tar.gz /Agda-2.6.4.1.tar.gz /peano-0.1.0.2.tar.gz +/vector-hashtables-0.1.1.4.tar.gz diff --git a/Agda.spec b/Agda.spec index 78ff050..78b00d9 100644 --- a/Agda.spec +++ b/Agda.spec @@ -11,7 +11,7 @@ %global murmurhash murmur-hash-0.1.0.10 %global peano peano-0.1.0.2 -%global vectorhashtables vector-hashtables-0.1.1.3 +%global vectorhashtables vector-hashtables-0.1.1.4 %global subpkgs %{vectorhashtables} %{peano} %{murmurhash} @@ -331,6 +331,7 @@ rm -r %{buildroot}%{_datadir}/%{pkgver}/emacs-mode %changelog * Tue Feb 20 2024 Jens Petersen - 2.6.4.1-47 - rawhide: enable-cluster-counting with text-icu +- update vector-hashtables to 0.1.1.4 * Mon Jan 22 2024 Fedora Release Engineering - 2.6.4.1-46 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild diff --git a/sources b/sources index a916513..ac6125c 100644 --- a/sources +++ b/sources @@ -1,4 +1,4 @@ SHA512 (Agda-2.6.4.1.tar.gz) = b26819c0f08e9db10bc50cec3bffb322cb6b106f4661c57132948ae2f8b8378520ab475173ae56c5e6876ef08ca4e3806960bc7dc69ddf99bca041f44c653f1e SHA512 (murmur-hash-0.1.0.10.tar.gz) = d6d28fcd738de98ce4fb6c7e997b32bb15eef9efe53642cefffd2cfeccd1b56f634adbcadeec9fb94c69d1df9e675f7daf368c62806ef819dc242df947ddf70b SHA512 (peano-0.1.0.2.tar.gz) = 1fbdb2d82674da7c4350797f2557c58b5302396b68f3debaae0c255e1c22d2c766b1da6c38e9b5ba673e823e5511b7bf9a3107bcabcbd375a325c736c9e9908d -SHA512 (vector-hashtables-0.1.1.3.tar.gz) = 3c33b975c56a8bed22475489542f9500fae965e6104433432cbddf8c2106ad0ee87b792850da3f3606f6d30abf21b851e6e50901db556e87acdbd98ec70330a1 +SHA512 (vector-hashtables-0.1.1.4.tar.gz) = d04bdd5c548ea682e88a6af38d8c838801c1ba4666f2fd4c721755a556e3e37b5b6879ec72baf577db0098a96dd135463e9cb879b9276672b04518e46daca8ab From 5031cf6fd64ddab9f86e8a024a4910e694ef2ea9 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 7 Mar 2024 23:27:12 +0800 Subject: [PATCH 48/62] update to 2.6.4.3 --- .gitignore | 1 + Agda.spec | 18 ++++++++++-------- sources | 2 +- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 3716e8b..225a10d 100644 --- a/.gitignore +++ b/.gitignore @@ -36,3 +36,4 @@ /Agda-2.6.4.1.tar.gz /peano-0.1.0.2.tar.gz /vector-hashtables-0.1.1.4.tar.gz +/Agda-2.6.4.3.tar.gz diff --git a/Agda.spec b/Agda.spec index 78b00d9..2ecb00b 100644 --- a/Agda.spec +++ b/Agda.spec @@ -1,13 +1,9 @@ -# generated by cabal-rpm-2.1.5 --subpackage +# generated by cabal-rpm-2.2.0 --subpackage # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ -# https://gitlab.haskell.org/ghc/ghc/issues/17030 panic -%ifarch %{ix86} -%undefine with_ghc_prof -%endif - %global pkg_name Agda %global pkgver %{pkg_name}-%{version} +%{?haskell_setup} %global murmurhash murmur-hash-0.1.0.10 %global peano peano-0.1.0.2 @@ -16,9 +12,9 @@ %global subpkgs %{vectorhashtables} %{peano} %{murmurhash} Name: %{pkg_name} -Version: 2.6.4.1 +Version: 2.6.4.3 # can only be reset when all subpkgs bumped -Release: 47%{?dist} +Release: 48%{?dist} Summary: A dependently typed functional programming language and proof assistant License: MIT AND BSD-3-Clause @@ -34,6 +30,7 @@ Source10: agda-mode-init.el # i686: # [410 of 429] Compiling Agda.Compiler.MAlonzo.Compiler # https://bugzilla.redhat.com/show_bug.cgi?id=2244516 +# also https://gitlab.haskell.org/ghc/ghc/issues/17030 panic for prof ExcludeArch: %{ix86} armv7hl # Begin cabal-rpm deps: @@ -329,6 +326,11 @@ rm -r %{buildroot}%{_datadir}/%{pkgver}/emacs-mode %changelog +* Sat May 18 2024 Jens Petersen - 2.6.4.3-48 +- update to 2.6.4.3 +- https://hackage.haskell.org/package/Agda-2.6.4.2/changelog +- https://hackage.haskell.org/package/Agda-2.6.4.3/changelog + * Tue Feb 20 2024 Jens Petersen - 2.6.4.1-47 - rawhide: enable-cluster-counting with text-icu - update vector-hashtables to 0.1.1.4 diff --git a/sources b/sources index ac6125c..7f0aa43 100644 --- a/sources +++ b/sources @@ -1,4 +1,4 @@ -SHA512 (Agda-2.6.4.1.tar.gz) = b26819c0f08e9db10bc50cec3bffb322cb6b106f4661c57132948ae2f8b8378520ab475173ae56c5e6876ef08ca4e3806960bc7dc69ddf99bca041f44c653f1e +SHA512 (Agda-2.6.4.3.tar.gz) = d6246d1550b535a3f299cbbf8e38b5b44ee469cce089bbec1d6a62a2518bca2d2900a456d6df10a179d7064982ccdc5f38a1ffc53e327c0c4c060c09f8280488 SHA512 (murmur-hash-0.1.0.10.tar.gz) = d6d28fcd738de98ce4fb6c7e997b32bb15eef9efe53642cefffd2cfeccd1b56f634adbcadeec9fb94c69d1df9e675f7daf368c62806ef819dc242df947ddf70b SHA512 (peano-0.1.0.2.tar.gz) = 1fbdb2d82674da7c4350797f2557c58b5302396b68f3debaae0c255e1c22d2c766b1da6c38e9b5ba673e823e5511b7bf9a3107bcabcbd375a325c736c9e9908d SHA512 (vector-hashtables-0.1.1.4.tar.gz) = d04bdd5c548ea682e88a6af38d8c838801c1ba4666f2fd4c721755a556e3e37b5b6879ec72baf577db0098a96dd135463e9cb879b9276672b04518e46daca8ab From 1a1cd5d1e65e81889b3be3c5460a14bbdf9979d9 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 18 May 2024 20:07:26 +0800 Subject: [PATCH 49/62] add bcond for Unicode cluster counting --- Agda.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Agda.spec b/Agda.spec index 2ecb00b..b744c20 100644 --- a/Agda.spec +++ b/Agda.spec @@ -5,6 +5,8 @@ %global pkgver %{pkg_name}-%{version} %{?haskell_setup} +%bcond clustercounting %[0%{?fedora} >= 41] + %global murmurhash murmur-hash-0.1.0.10 %global peano peano-0.1.0.2 %global vectorhashtables vector-hashtables-0.1.1.4 @@ -72,7 +74,7 @@ BuildRequires: ghc-split-devel BuildRequires: ghc-stm-devel BuildRequires: ghc-strict-devel BuildRequires: ghc-text-devel -%if 0%{?fedora} >= 41 +%if %{with clustercounting} BuildRequires: ghc-text-icu-devel %endif BuildRequires: ghc-time-devel @@ -229,7 +231,7 @@ This package provides the Haskell %{name} profiling library. %if 0%{?fedora} >= 40 cabal-tweak-flag optimise-heavily True %endif -%if 0%{?fedora} >= 41 +%if %{with clustercounting} cabal-tweak-flag enable-cluster-counting True %endif From 1a9af345c26f6326baf3af17d598ab03b93f27a3 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 14 Jul 2024 23:44:28 +0800 Subject: [PATCH 50/62] refresh to cabal-rpm-2.2.1 --- Agda.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Agda.spec b/Agda.spec index b744c20..5ebaec9 100644 --- a/Agda.spec +++ b/Agda.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-2.2.0 --subpackage +# generated by cabal-rpm-2.2.1 --subpackage # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ %global pkg_name Agda @@ -11,7 +11,7 @@ %global peano peano-0.1.0.2 %global vectorhashtables vector-hashtables-0.1.1.4 -%global subpkgs %{vectorhashtables} %{peano} %{murmurhash} +%global subpkgs %{murmurhash} %{peano} %{vectorhashtables} Name: %{pkg_name} Version: 2.6.4.3 @@ -122,7 +122,9 @@ BuildRequires: ghc-split-prof BuildRequires: ghc-stm-prof BuildRequires: ghc-strict-prof BuildRequires: ghc-text-prof +%if %{with clustercounting} BuildRequires: ghc-text-icu-prof +%endif BuildRequires: ghc-time-prof BuildRequires: ghc-time-compat-prof BuildRequires: ghc-transformers-prof From f36c6423e5e2ac7e21fd53a3fe725608164cb41e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 17 Jul 2024 14:42:52 +0000 Subject: [PATCH 51/62] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- Agda.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Agda.spec b/Agda.spec index 5ebaec9..076455f 100644 --- a/Agda.spec +++ b/Agda.spec @@ -16,7 +16,7 @@ Name: %{pkg_name} Version: 2.6.4.3 # can only be reset when all subpkgs bumped -Release: 48%{?dist} +Release: 49%{?dist} Summary: A dependently typed functional programming language and proof assistant License: MIT AND BSD-3-Clause @@ -330,6 +330,9 @@ rm -r %{buildroot}%{_datadir}/%{pkgver}/emacs-mode %changelog +* Wed Jul 17 2024 Fedora Release Engineering - 2.6.4.3-49 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Sat May 18 2024 Jens Petersen - 2.6.4.3-48 - update to 2.6.4.3 - https://hackage.haskell.org/package/Agda-2.6.4.2/changelog From fbbd3d02da97b5fa8660ce257d9ba633daf68510 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 21 Jul 2024 14:32:20 +0800 Subject: [PATCH 52/62] update vector-hashtables to 0.1.2.0 --- .gitignore | 1 + Agda.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 225a10d..2e987c7 100644 --- a/.gitignore +++ b/.gitignore @@ -37,3 +37,4 @@ /peano-0.1.0.2.tar.gz /vector-hashtables-0.1.1.4.tar.gz /Agda-2.6.4.3.tar.gz +/vector-hashtables-0.1.2.0.tar.gz diff --git a/Agda.spec b/Agda.spec index 076455f..e11e156 100644 --- a/Agda.spec +++ b/Agda.spec @@ -9,14 +9,14 @@ %global murmurhash murmur-hash-0.1.0.10 %global peano peano-0.1.0.2 -%global vectorhashtables vector-hashtables-0.1.1.4 +%global vectorhashtables vector-hashtables-0.1.2.0 %global subpkgs %{murmurhash} %{peano} %{vectorhashtables} Name: %{pkg_name} Version: 2.6.4.3 # can only be reset when all subpkgs bumped -Release: 49%{?dist} +Release: 50%{?dist} Summary: A dependently typed functional programming language and proof assistant License: MIT AND BSD-3-Clause @@ -330,6 +330,9 @@ rm -r %{buildroot}%{_datadir}/%{pkgver}/emacs-mode %changelog +* Sun Jul 21 2024 Jens Petersen - 2.6.4.3-50 +- update vector-hashtables to 0.1.2.0 + * Wed Jul 17 2024 Fedora Release Engineering - 2.6.4.3-49 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild diff --git a/sources b/sources index 7f0aa43..4668844 100644 --- a/sources +++ b/sources @@ -1,4 +1,4 @@ SHA512 (Agda-2.6.4.3.tar.gz) = d6246d1550b535a3f299cbbf8e38b5b44ee469cce089bbec1d6a62a2518bca2d2900a456d6df10a179d7064982ccdc5f38a1ffc53e327c0c4c060c09f8280488 SHA512 (murmur-hash-0.1.0.10.tar.gz) = d6d28fcd738de98ce4fb6c7e997b32bb15eef9efe53642cefffd2cfeccd1b56f634adbcadeec9fb94c69d1df9e675f7daf368c62806ef819dc242df947ddf70b SHA512 (peano-0.1.0.2.tar.gz) = 1fbdb2d82674da7c4350797f2557c58b5302396b68f3debaae0c255e1c22d2c766b1da6c38e9b5ba673e823e5511b7bf9a3107bcabcbd375a325c736c9e9908d -SHA512 (vector-hashtables-0.1.1.4.tar.gz) = d04bdd5c548ea682e88a6af38d8c838801c1ba4666f2fd4c721755a556e3e37b5b6879ec72baf577db0098a96dd135463e9cb879b9276672b04518e46daca8ab +SHA512 (vector-hashtables-0.1.2.0.tar.gz) = 46aa3c83936304b2a3df73f9e705ca2872a0c72e79e47156d9cc397797adfff56eec467dd60b5082e7a8c181ee8f69c51aa796fed5532720ac619e344cdb2294 From 59158d61c7b09dc1d891dd86339f6d21e3675dcd Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 21 Jul 2024 18:48:15 +0800 Subject: [PATCH 53/62] description: do not downcase "It" after colon https://github.com/agda/agda/issues/7384 --- Agda.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Agda.spec b/Agda.spec index e11e156..3911a6b 100644 --- a/Agda.spec +++ b/Agda.spec @@ -148,7 +148,7 @@ BuildRequires: emacs(bin) Provides: emacs-agda = %{version}-%{release} %description -Agda is a dependently typed functional programming language: it has +Agda is a dependently typed functional programming language: It has inductive families, which are similar to Haskell's GADTs, but they can be indexed by values and not just types. It also has parameterized modules, mixfix operators, Unicode characters, and an interactive From feccefbb571bb85173935d5fa41043fcde03aac3 Mon Sep 17 00:00:00 2001 From: Pete Walter Date: Mon, 9 Dec 2024 15:48:52 +0000 Subject: [PATCH 54/62] Rebuild for ICU 76 --- Agda.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Agda.spec b/Agda.spec index 3911a6b..b004147 100644 --- a/Agda.spec +++ b/Agda.spec @@ -16,7 +16,7 @@ Name: %{pkg_name} Version: 2.6.4.3 # can only be reset when all subpkgs bumped -Release: 50%{?dist} +Release: 51%{?dist} Summary: A dependently typed functional programming language and proof assistant License: MIT AND BSD-3-Clause @@ -330,6 +330,9 @@ rm -r %{buildroot}%{_datadir}/%{pkgver}/emacs-mode %changelog +* Mon Dec 09 2024 Pete Walter - 2.6.4.3-51 +- Rebuild for ICU 76 + * Sun Jul 21 2024 Jens Petersen - 2.6.4.3-50 - update vector-hashtables to 0.1.2.0 From b9f8a1efa36726f5d229c1fb5bde7466ab232699 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 16 Jan 2025 08:23:35 +0000 Subject: [PATCH 55/62] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- Agda.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Agda.spec b/Agda.spec index b004147..3438850 100644 --- a/Agda.spec +++ b/Agda.spec @@ -16,7 +16,7 @@ Name: %{pkg_name} Version: 2.6.4.3 # can only be reset when all subpkgs bumped -Release: 51%{?dist} +Release: 52%{?dist} Summary: A dependently typed functional programming language and proof assistant License: MIT AND BSD-3-Clause @@ -330,6 +330,9 @@ rm -r %{buildroot}%{_datadir}/%{pkgver}/emacs-mode %changelog +* Thu Jan 16 2025 Fedora Release Engineering - 2.6.4.3-52 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Mon Dec 09 2024 Pete Walter - 2.6.4.3-51 - Rebuild for ICU 76 From d6d8fa2900aa11a69b355eb1583f1e45efed7977 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 20 Jan 2025 07:19:53 +0000 Subject: [PATCH 56/62] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- Agda.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Agda.spec b/Agda.spec index 3438850..feb54d9 100644 --- a/Agda.spec +++ b/Agda.spec @@ -16,7 +16,7 @@ Name: %{pkg_name} Version: 2.6.4.3 # can only be reset when all subpkgs bumped -Release: 52%{?dist} +Release: 53%{?dist} Summary: A dependently typed functional programming language and proof assistant License: MIT AND BSD-3-Clause @@ -330,6 +330,9 @@ rm -r %{buildroot}%{_datadir}/%{pkgver}/emacs-mode %changelog +* Mon Jan 20 2025 Fedora Release Engineering - 2.6.4.3-53 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Thu Jan 16 2025 Fedora Release Engineering - 2.6.4.3-52 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 1b9700d5166ce86ab8d6eb06734e10ab9ac0466a Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 31 Jan 2025 12:24:33 +0800 Subject: [PATCH 57/62] update to 2.7.0.1; add pqueue; re-disable optimise-heavily and enable-cluster-counting in case it triggers module recompilation --- .gitignore | 3 +++ Agda.spec | 45 +++++++++++++++++++++++++++++++-------------- sources | 5 +++-- 3 files changed, 37 insertions(+), 16 deletions(-) diff --git a/.gitignore b/.gitignore index 2e987c7..725f241 100644 --- a/.gitignore +++ b/.gitignore @@ -38,3 +38,6 @@ /vector-hashtables-0.1.1.4.tar.gz /Agda-2.6.4.3.tar.gz /vector-hashtables-0.1.2.0.tar.gz +/Agda-2.7.0.1.tar.gz +/pqueue-1.5.0.0.tar.gz +/murmur-hash-0.1.0.11.tar.gz diff --git a/Agda.spec b/Agda.spec index feb54d9..9bfed77 100644 --- a/Agda.spec +++ b/Agda.spec @@ -1,31 +1,33 @@ -# generated by cabal-rpm-2.2.1 --subpackage +# generated by cabal-rpm-2.2.2 --subpackage # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ %global pkg_name Agda %global pkgver %{pkg_name}-%{version} %{?haskell_setup} -%bcond clustercounting %[0%{?fedora} >= 41] +#%%bcond clustercounting %%[0%%{?fedora} >= 43] -%global murmurhash murmur-hash-0.1.0.10 +%global murmurhash murmur-hash-0.1.0.11 %global peano peano-0.1.0.2 +%global pqueue pqueue-1.5.0.0 %global vectorhashtables vector-hashtables-0.1.2.0 -%global subpkgs %{murmurhash} %{peano} %{vectorhashtables} +%global subpkgs %{murmurhash} %{peano} %{pqueue} %{vectorhashtables} Name: %{pkg_name} -Version: 2.6.4.3 +Version: 2.7.0.1 # can only be reset when all subpkgs bumped -Release: 53%{?dist} +Release: 54%{?dist} Summary: A dependently typed functional programming language and proof assistant License: MIT AND BSD-3-Clause -Url: https://hackage.haskell.org/package/%{name} +Url: https://hackage.haskell.org/package/Agda # Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz Source1: https://hackage.haskell.org/package/%{murmurhash}/%{murmurhash}.tar.gz Source2: https://hackage.haskell.org/package/%{peano}/%{peano}.tar.gz -Source3: https://hackage.haskell.org/package/%{vectorhashtables}/%{vectorhashtables}.tar.gz +Source3: https://hackage.haskell.org/package/%{pqueue}/%{pqueue}.tar.gz +Source4: https://hackage.haskell.org/package/%{vectorhashtables}/%{vectorhashtables}.tar.gz # End cabal-rpm sources Source10: agda-mode-init.el @@ -67,6 +69,7 @@ BuildRequires: ghc-mtl-devel #BuildRequires: ghc-murmur-hash-devel BuildRequires: ghc-parallel-devel #BuildRequires: ghc-peano-devel +#BuildRequires: ghc-pqueue-devel BuildRequires: ghc-pretty-devel BuildRequires: ghc-process-devel BuildRequires: ghc-regex-tdfa-devel @@ -78,7 +81,6 @@ BuildRequires: ghc-text-devel BuildRequires: ghc-text-icu-devel %endif BuildRequires: ghc-time-devel -BuildRequires: ghc-time-compat-devel BuildRequires: ghc-transformers-devel BuildRequires: ghc-unordered-containers-devel BuildRequires: ghc-uri-encode-devel @@ -115,6 +117,7 @@ BuildRequires: ghc-mtl-prof #BuildRequires: ghc-murmur-hash-prof BuildRequires: ghc-parallel-prof #BuildRequires: ghc-peano-prof +#BuildRequires: ghc-pqueue-prof BuildRequires: ghc-pretty-prof BuildRequires: ghc-process-prof BuildRequires: ghc-regex-tdfa-prof @@ -126,7 +129,6 @@ BuildRequires: ghc-text-prof BuildRequires: ghc-text-icu-prof %endif BuildRequires: ghc-time-prof -BuildRequires: ghc-time-compat-prof BuildRequires: ghc-transformers-prof BuildRequires: ghc-unordered-containers-prof BuildRequires: ghc-uri-encode-prof @@ -138,6 +140,11 @@ BuildRequires: alex BuildRequires: happy Provides: agda = %{version}-%{release} Requires: %{name}-common = %{version}-%{release} +# for missing dep 'pqueue': +BuildRequires: ghc-indexed-traversable-devel +%if %{with ghc_prof} +BuildRequires: ghc-indexed-traversable-prof +%endif # for missing dep 'vector-hashtables': BuildRequires: ghc-primitive-devel %if %{with ghc_prof} @@ -220,6 +227,7 @@ This package provides the Haskell %{name} profiling library. %if %{defined ghclibdir} %ghc_lib_subpackage -l BSD-3-Clause %{murmurhash} %ghc_lib_subpackage -l BSD-3-Clause %{peano} +%ghc_lib_subpackage -l BSD-3-Clause %{pqueue} %ghc_lib_subpackage -l BSD-3-Clause %{vectorhashtables} %endif @@ -228,14 +236,19 @@ This package provides the Haskell %{name} profiling library. %prep # Begin cabal-rpm setup: -%setup -q -a1 -a2 -a3 +%setup -q -a1 -a2 -a3 -a4 # End cabal-rpm setup -%if 0%{?fedora} >= 40 -cabal-tweak-flag optimise-heavily True +%if %{defined fedora} +#cabal-tweak-flag optimise-heavily True %endif %if %{with clustercounting} -cabal-tweak-flag enable-cluster-counting True +#cabal-tweak-flag enable-cluster-counting True %endif +( + cd %{pqueue} + cabal-tweak-dep-ver base '< 4.19' '< 4.20' + cabal-tweak-dep-ver deepseq '< 1.5' '< 1.6' +) # check the Agda version in the emacs mode if ! grep -q \"%{version}\" src/data/emacs-mode/agda2-mode.el; then @@ -330,6 +343,10 @@ rm -r %{buildroot}%{_datadir}/%{pkgver}/emacs-mode %changelog +* Sun Mar 30 2025 Jens Petersen - 2.7.0.1-54 +- https://hackage.haskell.org/package/Agda-2.7.0.1/changelog +- add pqueue + * Mon Jan 20 2025 Fedora Release Engineering - 2.6.4.3-53 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild diff --git a/sources b/sources index 4668844..e6a6625 100644 --- a/sources +++ b/sources @@ -1,4 +1,5 @@ -SHA512 (Agda-2.6.4.3.tar.gz) = d6246d1550b535a3f299cbbf8e38b5b44ee469cce089bbec1d6a62a2518bca2d2900a456d6df10a179d7064982ccdc5f38a1ffc53e327c0c4c060c09f8280488 -SHA512 (murmur-hash-0.1.0.10.tar.gz) = d6d28fcd738de98ce4fb6c7e997b32bb15eef9efe53642cefffd2cfeccd1b56f634adbcadeec9fb94c69d1df9e675f7daf368c62806ef819dc242df947ddf70b +SHA512 (Agda-2.7.0.1.tar.gz) = ebe4aca950c045726aca1c96364a1b83c8447442b0fccd3fddcd7a8829161e6e6e4827e292efffb57c69f02664e59322e65d8c22a7cab64a4feffb187fedc28f +SHA512 (murmur-hash-0.1.0.11.tar.gz) = 9ff9ac2c749cc590bcb195f873d6319abaaea1e728423b95fa281a9b21da6a1257e08b485915bb59d540e8fab2ad8bdcfe924eea4e93ae3d75dc9ac3bba7aba0 SHA512 (peano-0.1.0.2.tar.gz) = 1fbdb2d82674da7c4350797f2557c58b5302396b68f3debaae0c255e1c22d2c766b1da6c38e9b5ba673e823e5511b7bf9a3107bcabcbd375a325c736c9e9908d +SHA512 (pqueue-1.5.0.0.tar.gz) = 9d15ecb0b877524a3b38a37c5c1029e4c20330f303f90dce6fee25f416ec6c8f019c811cef451e5b7aa20b4bd5265c1b186feffb4a7fc51f3d2f3fe68367de0b SHA512 (vector-hashtables-0.1.2.0.tar.gz) = 46aa3c83936304b2a3df73f9e705ca2872a0c72e79e47156d9cc397797adfff56eec467dd60b5082e7a8c181ee8f69c51aa796fed5532720ac619e344cdb2294 From 6bdbc993061989ae9a6f0e16e4d083ef6de8ac28 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 1 Feb 2025 16:23:48 +0800 Subject: [PATCH 58/62] add revision --- Agda-2.7.0.1.cabal | 896 +++++++++++++++++++++++++++++++++++++++++++++ Agda.spec | 3 + 2 files changed, 899 insertions(+) create mode 100644 Agda-2.7.0.1.cabal diff --git a/Agda-2.7.0.1.cabal b/Agda-2.7.0.1.cabal new file mode 100644 index 0000000..0dee66a --- /dev/null +++ b/Agda-2.7.0.1.cabal @@ -0,0 +1,896 @@ +cabal-version: 2.4 +name: Agda +version: 2.7.0.1 +x-revision: 2 +build-type: Custom +license: MIT +license-file: LICENSE +copyright: (c) 2005-2024 The Agda Team. +author: The Agda Team, see https://agda.readthedocs.io/en/latest/team.html +maintainer: The Agda Team +homepage: https://wiki.portal.chalmers.se/agda/ +bug-reports: https://github.com/agda/agda/issues +category: Dependent types +synopsis: A dependently typed functional programming language and proof assistant +description: + Agda is a dependently typed functional programming language: It has + inductive families, which are similar to Haskell's GADTs, but they + can be indexed by values and not just types. It also has + parameterised modules, mixfix operators, Unicode characters, and an + interactive Emacs interface (the type checker can assist in the + development of your code). + . + Agda is also a proof assistant: It is an interactive system for + writing and checking proofs. Agda is based on intuitionistic type + theory, a foundational system for constructive mathematics developed + by the Swedish logician Per Martin-Löf. It has many + similarities with other proof assistants based on dependent types, + such as Coq, Idris, Lean and NuPRL. + . + This package includes both a command-line program (agda) and an + Emacs mode. If you want to use the Emacs mode you can set it up by + running @agda-mode setup@ (see the README). + +tested-with: + GHC == 9.10.1 + GHC == 9.8.2 + GHC == 9.6.6 + GHC == 9.4.8 + GHC == 9.2.8 + GHC == 9.0.2 + GHC == 8.10.7 + GHC == 8.8.4 + GHC == 8.6.5 + +extra-doc-files: + CHANGELOG.md + README.md + doc/user-manual/agda.svg + doc/release-notes/2.6.4.3.md + doc/release-notes/2.6.4.2.md + doc/release-notes/2.6.4.1.md + doc/release-notes/2.6.4.md + doc/release-notes/2.6.3.md + doc/release-notes/2.6.2.2.md + doc/release-notes/2.6.2.1.md + doc/release-notes/2.6.2.md + doc/release-notes/2.6.1.3.md + doc/release-notes/2.6.1.2.md + doc/release-notes/2.6.1.1.md + doc/release-notes/2.6.1.md + doc/release-notes/2.6.0.1.md + doc/release-notes/2.6.0.md + doc/release-notes/2.5.4.2.md + doc/release-notes/2.5.4.1.md + doc/release-notes/2.5.4.md + doc/release-notes/2.5.3.md + doc/release-notes/2.5.2.md + doc/release-notes/2.5.1.2.md + doc/release-notes/2.5.1.1.md + doc/release-notes/2.5.1.md + doc/release-notes/2.4.2.5.md + doc/release-notes/2.4.2.4.md + doc/release-notes/2.4.2.3.md + doc/release-notes/2.4.2.2.md + doc/release-notes/2.4.2.1.md + doc/release-notes/2.4.2.md + doc/release-notes/2.4.0.2.md + doc/release-notes/2.4.0.1.md + doc/release-notes/2.4.0.md + doc/release-notes/2.3.2.2.md + doc/release-notes/2.3.2.1.md + doc/release-notes/2.3.2.md + doc/release-notes/2.3.0.md + doc/release-notes/2.2.10.md + doc/release-notes/2.2.8.md + doc/release-notes/2.2.6.md + doc/release-notes/2.2.2.md + doc/release-notes/2.2.4.md + doc/release-notes/2.2.0.md + +extra-source-files: + stack-9.10.1.yaml + stack-9.8.2.yaml + stack-9.6.6.yaml + stack-9.4.8.yaml + stack-9.2.8.yaml + stack-9.0.2.yaml + stack-8.10.7.yaml + stack-8.8.4.yaml + +data-dir: + src/data + +data-files: + emacs-mode/*.el + html/Agda.css + html/highlight-hover.js + JS/agda-rts.js + JS/agda-rts.amd.js + latex/agda.sty + latex/postprocess-latex.pl + lib/prim/agda-builtins.agda-lib + lib/prim/Agda/Builtin/Bool.agda + lib/prim/Agda/Builtin/Char.agda + lib/prim/Agda/Builtin/Char/Properties.agda + lib/prim/Agda/Builtin/Coinduction.agda + lib/prim/Agda/Builtin/Cubical/Path.agda + lib/prim/Agda/Builtin/Cubical/Id.agda + lib/prim/Agda/Builtin/Cubical/Sub.agda + lib/prim/Agda/Builtin/Cubical/Glue.agda + lib/prim/Agda/Builtin/Cubical/Equiv.agda + lib/prim/Agda/Builtin/Cubical/HCompU.agda + lib/prim/Agda/Builtin/Equality.agda + lib/prim/Agda/Builtin/Equality/Erase.agda + lib/prim/Agda/Builtin/Equality/Rewrite.agda + lib/prim/Agda/Builtin/Float.agda + lib/prim/Agda/Builtin/Float/Properties.agda + lib/prim/Agda/Builtin/FromNat.agda + lib/prim/Agda/Builtin/FromNeg.agda + lib/prim/Agda/Builtin/FromString.agda + lib/prim/Agda/Builtin/IO.agda + lib/prim/Agda/Builtin/Int.agda + lib/prim/Agda/Builtin/List.agda + lib/prim/Agda/Builtin/Maybe.agda + lib/prim/Agda/Builtin/Nat.agda + lib/prim/Agda/Builtin/Reflection.agda + lib/prim/Agda/Builtin/Reflection/External.agda + lib/prim/Agda/Builtin/Reflection/Properties.agda + lib/prim/Agda/Builtin/Sigma.agda + lib/prim/Agda/Builtin/Size.agda + lib/prim/Agda/Builtin/Strict.agda + lib/prim/Agda/Builtin/String.agda + lib/prim/Agda/Builtin/String/Properties.agda + lib/prim/Agda/Builtin/TrustMe.agda + lib/prim/Agda/Builtin/Unit.agda + lib/prim/Agda/Builtin/Word.agda + lib/prim/Agda/Builtin/Word/Properties.agda + lib/prim/Agda/Primitive.agda + lib/prim/Agda/Primitive/Cubical.agda + MAlonzo/src/MAlonzo/*.hs + MAlonzo/src/MAlonzo/RTE/*.hs + +source-repository head + type: git + location: https://github.com/agda/agda.git + +source-repository this + type: git + location: https://github.com/agda/agda.git + tag: v2.7.0.1 + +-- Build flags +--------------------------------------------------------------------------- + +flag debug + default: False + manual: True + description: + Enable debug printing. This makes Agda slightly slower, and + building Agda slower as well. The --verbose=N option only + has an effect when Agda was built with this flag. + +flag debug-serialisation + default: False + manual: True + description: + Enable debug mode in serialisation. This makes serialisation slower. + +flag debug-parsing + default: False + manual: True + description: + Enable debug mode in parsing. This makes parsing slower. + +flag enable-cluster-counting + default: False + manual: True + description: + Enable the --count-clusters flag. (If enable-cluster-counting is + False, then the --count-clusters flag triggers an error message.) + +flag optimise-heavily + default: False + manual: True + description: + Enable some expensive optimisations when compiling Agda. + +-- Setup +--------------------------------------------------------------------------- + +custom-setup + setup-depends: + , base >= 4.12.0.0 && < 4.21 + , Cabal >= 2.4.0.1 && < 3.13 + , directory >= 1.3.3.0 && < 1.4 + , filepath >= 1.4.2.1 && < 1.6 + , process >= 1.6.3.0 && < 1.7 + +-- Common stanzas +--------------------------------------------------------------------------- + +common language + + if flag(optimise-heavily) + cpp-options: + -DOPTIMISE_HEAVILY + ghc-options: + -fexpose-all-unfoldings + -fspecialise-aggressively + + ghc-options: + -- ASR (2022-05-31). Workaround to Issue #5932. + -Wwarn + -Wwarn=cpp-undef + -Wwarn=deprecated-flags + -Wwarn=deriving-typeable + -Wwarn=dodgy-exports + -Wwarn=dodgy-foreign-imports + -Wwarn=dodgy-imports + -Wwarn=duplicate-exports + -Wwarn=empty-enumerations + -Wwarn=identities + -Wwarn=inaccessible-code + -Wwarn=inline-rule-shadowing + -Wwarn=missing-fields + -Wwarn=missing-home-modules + -Wwarn=missing-methods + -Wwarn=missing-pattern-synonym-signatures + -Wwarn=missing-signatures + -Wwarn=noncanonical-monad-instances + -Wwarn=noncanonical-monoid-instances + -Wwarn=overflowed-literals + -Wwarn=overlapping-patterns +-- -Wwarn=redundant-constraints + -Wwarn=simplifiable-class-constraints + -Wwarn=star-binder + -Wwarn=star-is-type + -Wwarn=tabs + -Wwarn=typed-holes + -Wwarn=unbanged-strict-patterns + -Wwarn=unrecognised-pragmas + -Wwarn=unrecognised-warning-flags + -Wwarn=unticked-promoted-constructors + -Wwarn=unused-do-bind + -Wwarn=unused-foralls + -Wwarn=warnings-deprecations + -Wwarn=wrong-do-bind + + -- The following warning is an error in GHC >= 8.10. + if impl(ghc < 8.10) + ghc-options: + -Wwarn=implicit-kind-vars + -- #6623: Turn off this (nameless) warning: + -- "Pattern match checker exceeded (2000000) iterations in a case alternative." + -- See: https://gitlab.haskell.org/ghc/ghc/-/issues/13464 + -Wno-incomplete-patterns + -Wno-overlapping-patterns + + if impl(ghc < 9.10) + ghc-options: + -Wwarn=semigroup + -- The semigroup warning is deprecated in GHC 9.10 + + if impl(ghc >= 8.8) + ghc-options: + -Wwarn=missed-extra-shared-lib + + if impl(ghc >= 8.10) + ghc-options: + -Wwarn=compat-unqualified-imports + -Wwarn=deriving-defaults + -Wwarn=redundant-record-wildcards + -Wwarn=unused-packages + -Wwarn=unused-record-wildcards + + if impl(ghc >= 9.0) + ghc-options: + -Wwarn=invalid-haddock + -- #6137: coverage checker works only sufficiently well from GHC 9.0 + -Wwarn=incomplete-patterns + -Wwarn=incomplete-record-updates + -Wwarn=overlapping-patterns + + -- ASR (2022-04-27). This warning was added in GHC 9.0.2, removed + -- from 9.2.1 and added back in 9.2.2. + if impl(ghc == 9.0.2 || >= 9.2.2) + ghc-options: + -Wwarn=unicode-bidirectional-format-characters + + if impl(ghc >= 9.2) + ghc-options: + -Wwarn=operator-whitespace + -Wwarn=redundant-bang-patterns + + if impl(ghc >= 9.4) + ghc-options: + -Wwarn=type-equality-out-of-scope + + if impl(ghc >= 9.4 && < 9.10) + ghc-options: + -Wwarn=forall-identifier + -- The forall-identifier warning is deprecated in GHC 9.10 + + default-language: Haskell2010 + + -- NOTE: If adding or removing default extensions, also change: + -- .hlint.yaml + default-extensions: + BangPatterns + BlockArguments + ConstraintKinds + --L-T Chen (2019-07-15): + -- Enabling DataKinds only locally makes the compile time + -- slightly shorter, see PR #3920. + -- DataKinds + DefaultSignatures + DeriveFoldable + DeriveFunctor + DeriveGeneric + DeriveTraversable + DerivingStrategies + ExistentialQuantification + FlexibleContexts + FlexibleInstances + FunctionalDependencies + GADTs + GeneralizedNewtypeDeriving + InstanceSigs + LambdaCase + MultiParamTypeClasses + MultiWayIf + NamedFieldPuns + OverloadedStrings + PatternSynonyms + RankNTypes + RecordWildCards + ScopedTypeVariables + StandaloneDeriving + TupleSections + TypeFamilies + TypeOperators + TypeSynonymInstances + ViewPatterns + + other-extensions: + CPP + DeriveAnyClass + PartialTypeSignatures + + +-- Agda library +--------------------------------------------------------------------------- + +library + import: language + + hs-source-dirs: src/full + + -- Andreas, 2021-03-10: + -- All packages we depend upon should be mentioned in an unconditional + -- build-depends field, but additional restrictions on their + -- version for specific GHCs may be placed in conditionals. + -- + -- The goal is to be able to make (e.g. when a new GHC comes out) + -- revisions on hackage, e.g. relaxing upper bounds. This process + -- currently does not support revising conditionals. + -- + -- An exceptions are packages that are only needed for certain configurations, + -- like for flags, Windows, etc. + + if flag(debug) + cpp-options: -DDEBUG + + if flag(debug-serialisation) + cpp-options: -DDEBUG_SERIALISATION + + if flag(debug-parsing) + cpp-options: -DDEBUG_PARSING + + if flag(enable-cluster-counting) + cpp-options: -DCOUNT_CLUSTERS + build-depends: text-icu >= 0.7.1.0 + + if os(windows) + build-depends: Win32 >= 2.6.1.0 && < 2.15 + + -- Agda cannot be built with GHC 8.6.1 due to a compiler bug, see + -- Agda Issue #3344. + if impl(ghc == 8.6.1) + buildable: False + + -- Agda cannot be built with Windows and GHC 8.6.3 due to a compiler + -- bug, see Agda Issue #3657. + if os(windows) && impl(ghc == 8.6.3) + buildable: False + + -- For libraries that come with GHC, we take the shipped version as default lower bound. + build-depends: + -- Please keep in alphabetical order! + , aeson >= 1.1.2.0 && < 2.3 + , ansi-terminal >= 0.9 && < 1.2 + , array >= 0.5.2.0 && < 0.6 + , async >= 2.2 && < 2.3 + , base >= 4.12.0.0 && < 4.21 + , binary >= 0.8.6.0 && < 0.9 + , blaze-html >= 0.8 && < 0.10 + , boxes >= 0.1.3 && < 0.2 + , bytestring >= 0.10.8.2 && < 0.13 + , case-insensitive >= 1.2.0.4 && < 1.3 + , containers >= 0.6.0.1 && < 0.8 + , data-hash >= 0.2.0.0 && < 0.3 + , deepseq >= 1.4.4.0 && < 1.6 + , directory >= 1.3.3.0 && < 1.4 + , dlist >= 0.8 && < 1.1 + , edit-distance >= 0.2.1.2 && < 0.3 + , equivalence >= 0.3.2 && < 0.5 + -- exceptions-0.8 instead of 0.10 because of stack + , exceptions >= 0.8 && < 0.11 + , filepath >= 1.4.2.1 && < 1.6 + , ghc-compact == 0.1.* + , gitrev >= 1.3.1 && < 2 + -- hashable 1.2.0.10 makes library-test 10x + -- slower. The issue was fixed in hashable 1.2.1.0. + -- https://github.com/tibbe/hashable/issues/57. + , hashable >= 1.2.1.0 && < 1.6 + , haskeline >= 0.7.4.3 && < 0.9 + -- monad-control-1.0.1.0 is the first to contain liftThrough + , monad-control >= 1.0.1.0 && < 1.1 + , mtl >= 2.2.2 && < 2.4 + , murmur-hash >= 0.1 && < 0.2 + , parallel >= 3.2.2.0 && < 3.3 + , peano >= 0.1.0.1 && < 0.2 + , pqueue >= 1.4.1.2 && < 1.6 + , pretty >= 1.1.3.3 && < 1.2 + , process >= 1.6.3.0 && < 1.7 + , regex-tdfa >= 1.3.1.0 && < 1.4 + , split >= 0.2.0.0 && < 0.3 + , stm >= 2.4.4 && < 2.6 + , STMonadTrans >= 0.4.3 && < 0.5 + , strict >= 0.4.0.1 && < 0.6 + , text >= 1.2.3.1 && < 2.2 + , time >= 1.9.2 && < 1.15 + , transformers >= 0.5.5.0 && < 0.7 + , unordered-containers >= 0.2.9.0 && < 0.3 + -- unordered-containers < 0.2.9 need base < 4.11 + , uri-encode >= 1.5.0.4 && < 1.6 + , vector >= 0.12 && < 0.14 + , vector-hashtables >= 0.1.1.1 && < 0.2 + , zlib >= 0.6 && < 0.8 + + build-tool-depends: + , alex:alex >= 3.2.3 && < 4 + -- alex-3.2.3 is packaged with Ubuntu 18.04 + , happy:happy >= 1.19.8 && < 2.1.1 || >= 2.1.2 && < 3 + -- happy-1.19.8 is packaged with Ubuntu 18.04 + -- Build failure with happy-2.1.1, issue #7585 + + exposed-modules: + Agda.Benchmarking + Agda.Compiler.Backend + Agda.Compiler.Backend.Base + Agda.Compiler.Builtin + Agda.Compiler.CallCompiler + Agda.Compiler.Common + Agda.Compiler.JS.Compiler + Agda.Compiler.JS.Syntax + Agda.Compiler.JS.Substitution + Agda.Compiler.JS.Pretty + Agda.Compiler.MAlonzo.Coerce + Agda.Compiler.MAlonzo.Compiler + Agda.Compiler.MAlonzo.Encode + Agda.Compiler.MAlonzo.HaskellTypes + Agda.Compiler.MAlonzo.Misc + Agda.Compiler.MAlonzo.Pragmas + Agda.Compiler.MAlonzo.Pretty + Agda.Compiler.MAlonzo.Primitives + Agda.Compiler.MAlonzo.Strict + Agda.Compiler.ToTreeless + Agda.Compiler.Treeless.AsPatterns + Agda.Compiler.Treeless.Builtin + Agda.Compiler.Treeless.Compare + Agda.Compiler.Treeless.EliminateDefaults + Agda.Compiler.Treeless.EliminateLiteralPatterns + Agda.Compiler.Treeless.Erase + Agda.Compiler.Treeless.GuardsToPrims + Agda.Compiler.Treeless.Identity + Agda.Compiler.Treeless.NormalizeNames + Agda.Compiler.Treeless.Pretty + Agda.Compiler.Treeless.Simplify + Agda.Compiler.Treeless.Subst + Agda.Compiler.Treeless.Uncase + Agda.Compiler.Treeless.Unused + Agda.ImpossibleTest + Agda.Interaction.AgdaTop + Agda.Interaction.Base + Agda.Interaction.BasicOps + Agda.Interaction.SearchAbout + Agda.Interaction.CommandLine + Agda.Interaction.EmacsCommand + Agda.Interaction.EmacsTop + Agda.Interaction.ExitCode + Agda.Interaction.JSONTop + Agda.Interaction.JSON + Agda.Interaction.FindFile + Agda.Interaction.Highlighting.Common + Agda.Interaction.Highlighting.Dot + Agda.Interaction.Highlighting.Emacs + Agda.Interaction.Highlighting.FromAbstract + Agda.Interaction.Highlighting.Generate + Agda.Interaction.Highlighting.HTML + Agda.Interaction.Highlighting.JSON + Agda.Interaction.Highlighting.Precise + Agda.Interaction.Highlighting.Range + Agda.Interaction.Highlighting.Vim + Agda.Interaction.Highlighting.LaTeX + Agda.Interaction.Imports + Agda.Interaction.InteractionTop + Agda.Interaction.Output + Agda.Interaction.Response + Agda.Interaction.Response.Base + Agda.Interaction.MakeCase + Agda.Interaction.Monad + Agda.Interaction.Library + Agda.Interaction.Library.Base + Agda.Interaction.Library.Parse + Agda.Interaction.Options + Agda.Interaction.Options.Help + Agda.Interaction.Options.Lenses + Agda.Interaction.Options.Warnings + Agda.Main + Agda.Mimer.Mimer + Agda.Mimer.Options + Agda.Syntax.Abstract.Name + Agda.Syntax.Abstract.Pattern + Agda.Syntax.Abstract.PatternSynonyms + Agda.Syntax.Abstract.Pretty + Agda.Syntax.Abstract.UsedNames + Agda.Syntax.Abstract.Views + Agda.Syntax.Abstract + Agda.Syntax.Builtin + Agda.Syntax.Common + Agda.Syntax.Common.Aspect + Agda.Syntax.Common.KeywordRange + Agda.Syntax.Common.Pretty + Agda.Syntax.Common.Pretty.ANSI + Agda.Syntax.Concrete.Attribute + Agda.Syntax.Concrete.Definitions + Agda.Syntax.Concrete.Definitions.Errors + Agda.Syntax.Concrete.Definitions.Monad + Agda.Syntax.Concrete.Definitions.Types + Agda.Syntax.Concrete.Fixity + Agda.Syntax.Concrete.Generic + Agda.Syntax.Concrete.Glyph + Agda.Syntax.Concrete.Name + Agda.Syntax.Concrete.Operators.Parser + Agda.Syntax.Concrete.Operators.Parser.Monad + Agda.Syntax.Concrete.Operators + Agda.Syntax.Concrete.Pattern + Agda.Syntax.Concrete.Pretty + Agda.Syntax.Concrete + Agda.Syntax.DoNotation + Agda.Syntax.Fixity + Agda.Syntax.IdiomBrackets + Agda.Syntax.Info + Agda.Syntax.Internal + Agda.Syntax.Internal.Blockers + Agda.Syntax.Internal.Defs + Agda.Syntax.Internal.Elim + Agda.Syntax.Internal.Generic + Agda.Syntax.Internal.MetaVars + Agda.Syntax.Internal.Names + Agda.Syntax.Internal.Pattern + Agda.Syntax.Internal.SanityCheck + Agda.Syntax.Internal.Univ + Agda.Syntax.Literal + Agda.Syntax.Notation + Agda.Syntax.Parser.Alex + Agda.Syntax.Parser.Comments + Agda.Syntax.Parser.Helpers + Agda.Syntax.Parser.Layout + Agda.Syntax.Parser.LexActions + Agda.Syntax.Parser.Lexer + Agda.Syntax.Parser.Literate + Agda.Syntax.Parser.LookAhead + Agda.Syntax.Parser.Monad + Agda.Syntax.Parser.Parser + Agda.Syntax.Parser.StringLiterals + Agda.Syntax.Parser.Tokens + Agda.Syntax.Parser + Agda.Syntax.Position + Agda.Syntax.Reflected + Agda.Syntax.Scope.Base + Agda.Syntax.Scope.Flat + Agda.Syntax.Scope.Monad + Agda.Syntax.TopLevelModuleName + Agda.Syntax.TopLevelModuleName.Boot + Agda.Syntax.Translation.AbstractToConcrete + Agda.Syntax.Translation.ConcreteToAbstract + Agda.Syntax.Translation.InternalToAbstract + Agda.Syntax.Translation.ReflectedToAbstract + Agda.Syntax.Treeless + Agda.Termination.CallGraph + Agda.Termination.CallMatrix + Agda.Termination.CutOff + Agda.Termination.Monad + Agda.Termination.Order + Agda.Termination.RecCheck + Agda.Termination.SparseMatrix + Agda.Termination.Semiring + Agda.Termination.TermCheck + Agda.Termination.Termination + Agda.TheTypeChecker + Agda.TypeChecking.Abstract + Agda.TypeChecking.CheckInternal + Agda.TypeChecking.CompiledClause + Agda.TypeChecking.CompiledClause.Compile + Agda.TypeChecking.CompiledClause.Match + Agda.TypeChecking.Constraints + Agda.TypeChecking.Conversion + Agda.TypeChecking.Conversion.Pure + Agda.TypeChecking.Coverage + Agda.TypeChecking.Coverage.Match + Agda.TypeChecking.Coverage.SplitTree + Agda.TypeChecking.Coverage.SplitClause + Agda.TypeChecking.Coverage.Cubical + Agda.TypeChecking.Datatypes + Agda.TypeChecking.DeadCode + Agda.TypeChecking.DisplayForm + Agda.TypeChecking.DropArgs + Agda.TypeChecking.DiscrimTree + Agda.TypeChecking.DiscrimTree.Types + Agda.TypeChecking.Empty + Agda.TypeChecking.EtaContract + Agda.TypeChecking.Errors + Agda.TypeChecking.Free + Agda.TypeChecking.Free.Lazy + Agda.TypeChecking.Free.Precompute + Agda.TypeChecking.Free.Reduce + Agda.TypeChecking.Forcing + Agda.TypeChecking.Functions + Agda.TypeChecking.Generalize + Agda.TypeChecking.IApplyConfluence + Agda.TypeChecking.Implicit + Agda.TypeChecking.Injectivity + Agda.TypeChecking.Inlining + Agda.TypeChecking.InstanceArguments + Agda.TypeChecking.Irrelevance + Agda.TypeChecking.Level + Agda.TypeChecking.LevelConstraints + Agda.TypeChecking.Lock + Agda.TypeChecking.Level.Solve + Agda.TypeChecking.MetaVars + Agda.TypeChecking.MetaVars.Mention + Agda.TypeChecking.MetaVars.Occurs + Agda.TypeChecking.Modalities + Agda.TypeChecking.Monad.Base + Agda.TypeChecking.Monad.Base.Types + Agda.TypeChecking.Monad.Base.Warning + Agda.TypeChecking.Monad.Benchmark + Agda.TypeChecking.Monad.Builtin + Agda.TypeChecking.Monad.Caching + Agda.TypeChecking.Monad.Closure + Agda.TypeChecking.Monad.Constraints + Agda.TypeChecking.Monad.Context + Agda.TypeChecking.Monad.Debug + Agda.TypeChecking.Monad.Env + Agda.TypeChecking.Monad.Imports + Agda.TypeChecking.Monad.MetaVars + Agda.TypeChecking.Monad.Modality + Agda.TypeChecking.Monad.Mutual + Agda.TypeChecking.Monad.Open + Agda.TypeChecking.Monad.Options + Agda.TypeChecking.Monad.Pure + Agda.TypeChecking.Monad.Signature + Agda.TypeChecking.Monad.SizedTypes + Agda.TypeChecking.Monad.State + Agda.TypeChecking.Monad.Statistics + Agda.TypeChecking.Monad.Trace + Agda.TypeChecking.Monad + Agda.TypeChecking.Names + Agda.TypeChecking.Opacity + Agda.TypeChecking.Patterns.Abstract + Agda.TypeChecking.Patterns.Internal + Agda.TypeChecking.Patterns.Match + Agda.TypeChecking.Polarity + Agda.TypeChecking.Positivity + Agda.TypeChecking.Positivity.Occurrence + Agda.TypeChecking.Pretty + Agda.TypeChecking.Pretty.Call + Agda.TypeChecking.Pretty.Constraint + Agda.TypeChecking.Pretty.Warning + Agda.TypeChecking.Primitive + Agda.TypeChecking.Primitive.Base + Agda.TypeChecking.Primitive.Cubical + Agda.TypeChecking.Primitive.Cubical.Id + Agda.TypeChecking.Primitive.Cubical.Glue + Agda.TypeChecking.Primitive.Cubical.Base + Agda.TypeChecking.Primitive.Cubical.HCompU + Agda.TypeChecking.ProjectionLike + Agda.TypeChecking.Quote + Agda.TypeChecking.ReconstructParameters + Agda.TypeChecking.RecordPatterns + Agda.TypeChecking.Records + Agda.TypeChecking.Reduce + Agda.TypeChecking.Reduce.Fast + Agda.TypeChecking.Reduce.Monad + Agda.TypeChecking.Rewriting + Agda.TypeChecking.Rewriting.Clause + Agda.TypeChecking.Rewriting.Confluence + Agda.TypeChecking.Rewriting.NonLinMatch + Agda.TypeChecking.Rewriting.NonLinPattern + Agda.TypeChecking.Rules.Application + Agda.TypeChecking.Rules.Builtin + Agda.TypeChecking.Rules.Builtin.Coinduction + Agda.TypeChecking.Rules.Data + Agda.TypeChecking.Rules.Decl + Agda.TypeChecking.Rules.Def + Agda.TypeChecking.Rules.Display + Agda.TypeChecking.Rules.LHS + Agda.TypeChecking.Rules.LHS.Implicit + Agda.TypeChecking.Rules.LHS.Problem + Agda.TypeChecking.Rules.LHS.ProblemRest + Agda.TypeChecking.Rules.LHS.Unify + Agda.TypeChecking.Rules.LHS.Unify.Types + Agda.TypeChecking.Rules.LHS.Unify.LeftInverse + Agda.TypeChecking.Rules.Record + Agda.TypeChecking.Rules.Term + Agda.TypeChecking.Serialise + Agda.TypeChecking.Serialise.Base + Agda.TypeChecking.Serialise.Instances + Agda.TypeChecking.Serialise.Instances.Abstract + Agda.TypeChecking.Serialise.Instances.Common + Agda.TypeChecking.Serialise.Instances.Compilers + Agda.TypeChecking.Serialise.Instances.Highlighting + Agda.TypeChecking.Serialise.Instances.Internal + Agda.TypeChecking.Serialise.Instances.Errors + Agda.TypeChecking.SizedTypes + Agda.TypeChecking.SizedTypes.Pretty + Agda.TypeChecking.SizedTypes.Solve + Agda.TypeChecking.SizedTypes.Syntax + Agda.TypeChecking.SizedTypes.Utils + Agda.TypeChecking.SizedTypes.WarshallSolver + Agda.TypeChecking.Sort + Agda.TypeChecking.Substitute + Agda.TypeChecking.Substitute.Class + Agda.TypeChecking.Substitute.DeBruijn + Agda.TypeChecking.SyntacticEquality + Agda.TypeChecking.Telescope + Agda.TypeChecking.Telescope.Path + Agda.TypeChecking.Unquote + Agda.TypeChecking.Warnings + Agda.TypeChecking.With + Agda.Utils.AffineHole + Agda.Utils.Applicative + Agda.Utils.AssocList + Agda.Utils.Bag + Agda.Utils.Benchmark + Agda.Utils.BiMap + Agda.Utils.Boolean + Agda.Utils.BoolSet + Agda.Utils.CallStack + Agda.Utils.Char + Agda.Utils.Cluster + Agda.Utils.Empty + Agda.Utils.Environment + Agda.Utils.Either + Agda.Utils.Fail + Agda.Utils.Favorites + Agda.Utils.FileName + Agda.Utils.Float + Agda.Utils.Functor + Agda.Utils.Function + Agda.Utils.Graph.AdjacencyMap.Unidirectional + Agda.Utils.Graph.TopSort + Agda.Utils.Hash + Agda.Utils.HashTable + Agda.Utils.Haskell.Syntax + Agda.Utils.IArray + Agda.Utils.Impossible + Agda.Utils.IndexedList + Agda.Utils.IntSet.Infinite + Agda.Utils.IO + Agda.Utils.IO.Binary + Agda.Utils.IO.Directory + Agda.Utils.IO.TempFile + Agda.Utils.IO.UTF8 + Agda.Utils.IORef + Agda.Utils.Lens + Agda.Utils.Lens.Examples + Agda.Utils.List + Agda.Utils.List1 + Agda.Utils.List2 + Agda.Utils.ListT + Agda.Utils.Map + Agda.Utils.Maybe + Agda.Utils.Maybe.Strict + Agda.Utils.Memo + Agda.Utils.Monad + Agda.Utils.Monoid + Agda.Utils.Null + Agda.Utils.Parser.MemoisedCPS + Agda.Utils.PartialOrd + Agda.Utils.Permutation + Agda.Utils.Pointer + Agda.Utils.POMonoid + Agda.Utils.ProfileOptions + Agda.Utils.RangeMap + Agda.Utils.SemiRing + Agda.Utils.Semigroup + Agda.Utils.Singleton + Agda.Utils.Size + Agda.Utils.SmallSet + Agda.Utils.String + Agda.Utils.Suffix + Agda.Utils.Three + Agda.Utils.Time + Agda.Utils.Trie + Agda.Utils.Tuple + Agda.Utils.TypeLevel + Agda.Utils.TypeLits + Agda.Utils.Unsafe + Agda.Utils.Update + Agda.Utils.VarSet + Agda.Utils.Warshall + Agda.Utils.WithDefault + Agda.Utils.Zipper + Agda.Version + Agda.VersionCommit + + autogen-modules: + Paths_Agda + + other-modules: + Paths_Agda + -- Need not export submodules if parent module reexports them. + Agda.Interaction.Highlighting.Dot.Backend + Agda.Interaction.Highlighting.Dot.Base + Agda.Interaction.Highlighting.HTML.Backend + Agda.Interaction.Highlighting.HTML.Base + Agda.Interaction.Highlighting.LaTeX.Backend + Agda.Interaction.Highlighting.LaTeX.Base + Agda.Interaction.Options.Base + Agda.Interaction.Options.HasOptions + Agda.Utils.CallStack.Base + Agda.Utils.CallStack.Pretty + +-- Agda binary +--------------------------------------------------------------------------- + +executable agda + hs-source-dirs: src/main + main-is: Main.hs + build-depends: + , Agda + -- Nothing is used from the following package, + -- except for the Prelude. + , base + default-language: Haskell2010 + -- If someone installs Agda with the setuid bit set, then the + -- presence of +RTS may be a security problem (see GHC bug #3910). + -- However, we sometimes recommend people to use +RTS to control + -- Agda's memory usage, so we want this functionality enabled by + -- default. + + -- The threaded RTS by default starts a major GC after a program has + -- been idle for 0.3 s. This feature turned out to be annoying, so + -- the idle GC is now by default turned off (-I0). + ghc-options: + -threaded + -rtsopts + -with-rtsopts=-I0 + +-- agda-mode executable +--------------------------------------------------------------------------- + +executable agda-mode + hs-source-dirs: src/agda-mode + main-is: Main.hs + autogen-modules: Paths_Agda + other-modules: Paths_Agda + build-depends: + , base >= 4.12.0.0 && < 4.21 + , directory >= 1.3.3.0 && < 1.4 + , filepath >= 1.4.2.1 && < 1.6 + , process >= 1.6.3.0 && < 1.7 + default-language: Haskell2010 diff --git a/Agda.spec b/Agda.spec index 9bfed77..e8119b9 100644 --- a/Agda.spec +++ b/Agda.spec @@ -28,6 +28,7 @@ Source1: https://hackage.haskell.org/package/%{murmurhash}/%{murmurhash}. Source2: https://hackage.haskell.org/package/%{peano}/%{peano}.tar.gz Source3: https://hackage.haskell.org/package/%{pqueue}/%{pqueue}.tar.gz Source4: https://hackage.haskell.org/package/%{vectorhashtables}/%{vectorhashtables}.tar.gz +Source5: https://hackage.haskell.org/package/%{pkgver}/%{name}.cabal#/%{pkgver}.cabal # End cabal-rpm sources Source10: agda-mode-init.el @@ -38,6 +39,7 @@ Source10: agda-mode-init.el ExcludeArch: %{ix86} armv7hl # Begin cabal-rpm deps: +BuildRequires: dos2unix BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros-extra BuildRequires: ghc-STMonadTrans-devel @@ -237,6 +239,7 @@ This package provides the Haskell %{name} profiling library. %prep # Begin cabal-rpm setup: %setup -q -a1 -a2 -a3 -a4 +dos2unix -k -n %{SOURCE5} %{name}.cabal # End cabal-rpm setup %if %{defined fedora} #cabal-tweak-flag optimise-heavily True From 396e77c1f7fd5b355ff016bd828f3cff4441a4bb Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 23 Feb 2025 20:39:55 +0800 Subject: [PATCH 59/62] cabal-rpm-2.3.0 --- Agda.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Agda.spec b/Agda.spec index e8119b9..c9a4873 100644 --- a/Agda.spec +++ b/Agda.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-2.2.2 --subpackage +# generated by cabal-rpm-2.3.0 --subpackage # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ %global pkg_name Agda @@ -21,7 +21,7 @@ Release: 54%{?dist} Summary: A dependently typed functional programming language and proof assistant License: MIT AND BSD-3-Clause -Url: https://hackage.haskell.org/package/Agda +URL: https://hackage.haskell.org/package/Agda # Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz Source1: https://hackage.haskell.org/package/%{murmurhash}/%{murmurhash}.tar.gz From d3a2f2a2fb57ae30f71e9c32b48abee1ecaad955 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 22 Jul 2025 22:11:37 +0800 Subject: [PATCH 60/62] https://hackage.haskell.org/package/Agda-2.8.0/changelog many new deps --- .gitignore | 10 +++++ Agda.spec | 121 +++++++++++++++++++++++++++++++++++++++++++---------- sources | 12 +++++- 3 files changed, 118 insertions(+), 25 deletions(-) diff --git a/.gitignore b/.gitignore index 725f241..c274d73 100644 --- a/.gitignore +++ b/.gitignore @@ -41,3 +41,13 @@ /Agda-2.7.0.1.tar.gz /pqueue-1.5.0.0.tar.gz /murmur-hash-0.1.0.11.tar.gz +/Agda-2.8.0.tar.gz +/ListLike-4.7.8.3.tar.gz +/ap-normalize-0.1.0.1.tar.gz +/fmlist-0.9.4.tar.gz +/generic-data-1.1.0.2.tar.gz +/nonempty-containers-0.3.5.0.tar.gz +/nonempty-vector-0.2.4.tar.gz +/process-extras-0.7.4.tar.gz +/show-combinators-0.2.0.0.tar.gz +/vector-hashtables-0.1.2.1.tar.gz diff --git a/Agda.spec b/Agda.spec index c9a4873..c4fe758 100644 --- a/Agda.spec +++ b/Agda.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-2.3.0 --subpackage +# generated by cabal-rpm-2.3.1 --subpackage # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ %global pkg_name Agda @@ -7,30 +7,45 @@ #%%bcond clustercounting %%[0%%{?fedora} >= 43] +%global ListLike ListLike-4.7.8.3 +%global apnormalize ap-normalize-0.1.0.1 +%global fmlist fmlist-0.9.4 +%global genericdata generic-data-1.1.0.2 %global murmurhash murmur-hash-0.1.0.11 +%global nonemptycontainers nonempty-containers-0.3.5.0 +%global nonemptyvector nonempty-vector-0.2.4 %global peano peano-0.1.0.2 %global pqueue pqueue-1.5.0.0 -%global vectorhashtables vector-hashtables-0.1.2.0 +%global processextras process-extras-0.7.4 +%global showcombinators show-combinators-0.2.0.0 +%global vectorhashtables vector-hashtables-0.1.2.1 -%global subpkgs %{murmurhash} %{peano} %{pqueue} %{vectorhashtables} +%global subpkgs %{apnormalize} %{fmlist} %{ListLike} %{murmurhash} %{nonemptyvector} %{nonemptycontainers} %{peano} %{pqueue} %{processextras} %{showcombinators} %{genericdata} %{vectorhashtables} Name: %{pkg_name} -Version: 2.7.0.1 +Version: 2.8.0 # can only be reset when all subpkgs bumped -Release: 54%{?dist} +Release: 55%{?dist} Summary: A dependently typed functional programming language and proof assistant License: MIT AND BSD-3-Clause URL: https://hackage.haskell.org/package/Agda # Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz -Source1: https://hackage.haskell.org/package/%{murmurhash}/%{murmurhash}.tar.gz -Source2: https://hackage.haskell.org/package/%{peano}/%{peano}.tar.gz -Source3: https://hackage.haskell.org/package/%{pqueue}/%{pqueue}.tar.gz -Source4: https://hackage.haskell.org/package/%{vectorhashtables}/%{vectorhashtables}.tar.gz -Source5: https://hackage.haskell.org/package/%{pkgver}/%{name}.cabal#/%{pkgver}.cabal +Source1: https://hackage.haskell.org/package/%{ListLike}/%{ListLike}.tar.gz +Source2: https://hackage.haskell.org/package/%{apnormalize}/%{apnormalize}.tar.gz +Source3: https://hackage.haskell.org/package/%{fmlist}/%{fmlist}.tar.gz +Source4: https://hackage.haskell.org/package/%{genericdata}/%{genericdata}.tar.gz +Source5: https://hackage.haskell.org/package/%{murmurhash}/%{murmurhash}.tar.gz +Source6: https://hackage.haskell.org/package/%{nonemptycontainers}/%{nonemptycontainers}.tar.gz +Source7: https://hackage.haskell.org/package/%{nonemptyvector}/%{nonemptyvector}.tar.gz +Source8: https://hackage.haskell.org/package/%{peano}/%{peano}.tar.gz +Source9: https://hackage.haskell.org/package/%{pqueue}/%{pqueue}.tar.gz +Source10: https://hackage.haskell.org/package/%{processextras}/%{processextras}.tar.gz +Source11: https://hackage.haskell.org/package/%{showcombinators}/%{showcombinators}.tar.gz +Source12: https://hackage.haskell.org/package/%{vectorhashtables}/%{vectorhashtables}.tar.gz # End cabal-rpm sources -Source10: agda-mode-init.el +Source20: agda-mode-init.el # i686: # [410 of 429] Compiling Agda.Compiler.MAlonzo.Compiler @@ -39,9 +54,8 @@ Source10: agda-mode-init.el ExcludeArch: %{ix86} armv7hl # Begin cabal-rpm deps: -BuildRequires: dos2unix -BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros-extra +BuildRequires: ghc-Cabal-devel BuildRequires: ghc-STMonadTrans-devel BuildRequires: ghc-aeson-devel BuildRequires: ghc-ansi-terminal-devel @@ -59,9 +73,13 @@ BuildRequires: ghc-deepseq-devel BuildRequires: ghc-directory-devel BuildRequires: ghc-dlist-devel BuildRequires: ghc-edit-distance-devel +BuildRequires: ghc-enummapset-devel BuildRequires: ghc-equivalence-devel BuildRequires: ghc-exceptions-devel +BuildRequires: ghc-filelock-devel +BuildRequires: ghc-filemanip-devel BuildRequires: ghc-filepath-devel +#BuildRequires: ghc-generic-data-devel BuildRequires: ghc-ghc-compact-devel BuildRequires: ghc-gitrev-devel BuildRequires: ghc-hashable-devel @@ -69,15 +87,18 @@ BuildRequires: ghc-haskeline-devel BuildRequires: ghc-monad-control-devel BuildRequires: ghc-mtl-devel #BuildRequires: ghc-murmur-hash-devel +#BuildRequires: ghc-nonempty-containers-devel BuildRequires: ghc-parallel-devel #BuildRequires: ghc-peano-devel #BuildRequires: ghc-pqueue-devel BuildRequires: ghc-pretty-devel BuildRequires: ghc-process-devel +#BuildRequires: ghc-process-extras-devel BuildRequires: ghc-regex-tdfa-devel BuildRequires: ghc-split-devel BuildRequires: ghc-stm-devel BuildRequires: ghc-strict-devel +BuildRequires: ghc-template-haskell-devel BuildRequires: ghc-text-devel %if %{with clustercounting} BuildRequires: ghc-text-icu-devel @@ -107,9 +128,13 @@ BuildRequires: ghc-deepseq-prof BuildRequires: ghc-directory-prof BuildRequires: ghc-dlist-prof BuildRequires: ghc-edit-distance-prof +BuildRequires: ghc-enummapset-prof BuildRequires: ghc-equivalence-prof BuildRequires: ghc-exceptions-prof +BuildRequires: ghc-filelock-prof +BuildRequires: ghc-filemanip-prof BuildRequires: ghc-filepath-prof +#BuildRequires: ghc-generic-data-prof BuildRequires: ghc-ghc-compact-prof BuildRequires: ghc-gitrev-prof BuildRequires: ghc-hashable-prof @@ -117,15 +142,18 @@ BuildRequires: ghc-haskeline-prof BuildRequires: ghc-monad-control-prof BuildRequires: ghc-mtl-prof #BuildRequires: ghc-murmur-hash-prof +#BuildRequires: ghc-nonempty-containers-prof BuildRequires: ghc-parallel-prof #BuildRequires: ghc-peano-prof #BuildRequires: ghc-pqueue-prof BuildRequires: ghc-pretty-prof BuildRequires: ghc-process-prof +#BuildRequires: ghc-process-extras-prof BuildRequires: ghc-regex-tdfa-prof BuildRequires: ghc-split-prof BuildRequires: ghc-stm-prof BuildRequires: ghc-strict-prof +BuildRequires: ghc-template-haskell-prof BuildRequires: ghc-text-prof %if %{with clustercounting} BuildRequires: ghc-text-icu-prof @@ -142,11 +170,46 @@ BuildRequires: alex BuildRequires: happy Provides: agda = %{version}-%{release} Requires: %{name}-common = %{version}-%{release} +# for missing dep 'ListLike': +BuildRequires: ghc-utf8-string-devel +%if %{with ghc_prof} +BuildRequires: ghc-utf8-string-prof +%endif +# for missing dep 'generic-data': +BuildRequires: ghc-base-orphans-devel +BuildRequires: ghc-ghc-boot-th-devel +%if %{with ghc_prof} +BuildRequires: ghc-base-orphans-prof +BuildRequires: ghc-ghc-boot-th-prof +%endif +# for missing dep 'nonempty-containers': +BuildRequires: ghc-comonad-devel +BuildRequires: ghc-invariant-devel +BuildRequires: ghc-semigroupoids-devel +BuildRequires: ghc-these-devel +%if %{with ghc_prof} +BuildRequires: ghc-comonad-prof +BuildRequires: ghc-invariant-prof +BuildRequires: ghc-semigroupoids-prof +BuildRequires: ghc-these-prof +%endif +# for missing dep 'nonempty-vector': +BuildRequires: ghc-primitive-devel +%if %{with ghc_prof} +BuildRequires: ghc-primitive-prof +%endif # for missing dep 'pqueue': BuildRequires: ghc-indexed-traversable-devel %if %{with ghc_prof} BuildRequires: ghc-indexed-traversable-prof %endif +# for missing dep 'process-extras': +BuildRequires: ghc-data-default-devel +BuildRequires: ghc-generic-deriving-devel +%if %{with ghc_prof} +BuildRequires: ghc-data-default-prof +BuildRequires: ghc-generic-deriving-prof +%endif # for missing dep 'vector-hashtables': BuildRequires: ghc-primitive-devel %if %{with ghc_prof} @@ -164,10 +227,10 @@ modules, mixfix operators, Unicode characters, and an interactive Emacs interface (the type checker can assist in the development of your code). Agda is also a proof assistant: It is an interactive system for writing and -checking proofs. Agda is based on intuitionistic type theory, -a foundational system for constructive mathematics developed by -the Swedish logician Per Martin-Löf. It has many similarities with other -proof assistants based on dependent types, such as Coq, Idris, Lean and NuPRL. +checking proofs. Agda is based on intuitionistic type theory, a foundational +system for constructive mathematics developed by the Swedish logician Per +Martin-Löf. It has many similarities with other proof assistants based on +dependent types, such as Rocq (formerly known as Coq), Idris, Lean and NuPRL. This package includes both a command-line program (agda) and an Emacs mode. @@ -227,9 +290,17 @@ This package provides the Haskell %{name} profiling library. %global main_version %{version} %if %{defined ghclibdir} +%ghc_lib_subpackage -l BSD-3-Clause %{ListLike} +%ghc_lib_subpackage -l MIT %{apnormalize} +%ghc_lib_subpackage -l BSD-3-Clause %{fmlist} +%ghc_lib_subpackage -l MIT %{genericdata} %ghc_lib_subpackage -l BSD-3-Clause %{murmurhash} +%ghc_lib_subpackage -l BSD-3-Clause %{nonemptycontainers} +%ghc_lib_subpackage -l BSD-3-Clause %{nonemptyvector} %ghc_lib_subpackage -l BSD-3-Clause %{peano} %ghc_lib_subpackage -l BSD-3-Clause %{pqueue} +%ghc_lib_subpackage -l MIT %{processextras} +%ghc_lib_subpackage -l MIT %{showcombinators} %ghc_lib_subpackage -l BSD-3-Clause %{vectorhashtables} %endif @@ -238,12 +309,8 @@ This package provides the Haskell %{name} profiling library. %prep # Begin cabal-rpm setup: -%setup -q -a1 -a2 -a3 -a4 -dos2unix -k -n %{SOURCE5} %{name}.cabal +%setup -q -a1 -a2 -a3 -a4 -a5 -a6 -a7 -a8 -a9 -a10 -a11 -a12 # End cabal-rpm setup -%if %{defined fedora} -#cabal-tweak-flag optimise-heavily True -%endif %if %{with clustercounting} #cabal-tweak-flag enable-cluster-counting True %endif @@ -252,6 +319,10 @@ dos2unix -k -n %{SOURCE5} %{name}.cabal cabal-tweak-dep-ver base '< 4.19' '< 4.20' cabal-tweak-dep-ver deepseq '< 1.5' '< 1.6' ) +( + cd %{showcombinators} + cabal-tweak-dep-ver base '< 4.14' '< 4.20' +) # check the Agda version in the emacs mode if ! grep -q \"%{version}\" src/data/emacs-mode/agda2-mode.el; then @@ -304,7 +375,7 @@ for i in src/data/emacs-mode/*; do done mkdir -p %{buildroot}%{_emacs_sitestartdir} -install -p -m 0644 %SOURCE10 %{buildroot}%{_emacs_sitestartdir} +install -p -m 0644 %SOURCE20 %{buildroot}%{_emacs_sitestartdir} rm %{buildroot}%{_bindir}/agda-mode rm -r %{buildroot}%{_datadir}/%{pkgver}/emacs-mode @@ -346,6 +417,10 @@ rm -r %{buildroot}%{_datadir}/%{pkgver}/emacs-mode %changelog +* Sun Jul 06 2025 Jens Petersen - 2.8.0-55 +- https://hackage.haskell.org/package/Agda-2.8.0/changelog +- many new deps + * Sun Mar 30 2025 Jens Petersen - 2.7.0.1-54 - https://hackage.haskell.org/package/Agda-2.7.0.1/changelog - add pqueue diff --git a/sources b/sources index e6a6625..f12734a 100644 --- a/sources +++ b/sources @@ -1,5 +1,13 @@ -SHA512 (Agda-2.7.0.1.tar.gz) = ebe4aca950c045726aca1c96364a1b83c8447442b0fccd3fddcd7a8829161e6e6e4827e292efffb57c69f02664e59322e65d8c22a7cab64a4feffb187fedc28f +SHA512 (Agda-2.8.0.tar.gz) = 53ae24c9759c271251c3c487a27b8600ba55d39391a186684731a1495a744c18ccd4d3deb5e5231f72abb1be95fa8dac2dac8f257612bc32c6f51d2071ae8273 +SHA512 (ListLike-4.7.8.3.tar.gz) = 99f3e8c2a72161a51710c63a38c381d5c109872b039bafdf97d8d029cca13ed7ad7125cba365609336ed6013bfb0b06781325ed78615ca632485e030ee924eef +SHA512 (ap-normalize-0.1.0.1.tar.gz) = 8566f61303238c8e8d27badf851403a8e2419b06149c25b5236ee2de17f0733eaaf912af2edd9c72dfed5cffd2169e07d2efd584e2bf3a903c1b21cca20b1d5f +SHA512 (fmlist-0.9.4.tar.gz) = 68b36503cd895bff5f25f2d24422972537b5ba68439714de257441c14194656b0b84137fa9c45235cdb9291e8a2d132e66e9a1d45f66f91142eef65f07d8c5dc +SHA512 (generic-data-1.1.0.2.tar.gz) = 4140892965083032cc2fbe361d39a5bd59b94802e23a2ab202a3d86e212e17c9fbfc2cd3958dda3666a5ac2324538bf08ee45d39702a0c7be66a77665b0d356a SHA512 (murmur-hash-0.1.0.11.tar.gz) = 9ff9ac2c749cc590bcb195f873d6319abaaea1e728423b95fa281a9b21da6a1257e08b485915bb59d540e8fab2ad8bdcfe924eea4e93ae3d75dc9ac3bba7aba0 +SHA512 (nonempty-containers-0.3.5.0.tar.gz) = caa977b0028d10d0713fa4716a0498ff56a5beee3513e8d6331d6cccdcd3f12fc3371fa69d67283e80f79b8fc2b90228260791200b3f7149a26c4311daa790b9 +SHA512 (nonempty-vector-0.2.4.tar.gz) = 9c10794b12a503092bb5d3a53bfdedf99303edf697415b04dc94488e766126fc97de3a99564e84424606b9d813509600442e7fcbe2aa8552ab33ad2a43bc066a SHA512 (peano-0.1.0.2.tar.gz) = 1fbdb2d82674da7c4350797f2557c58b5302396b68f3debaae0c255e1c22d2c766b1da6c38e9b5ba673e823e5511b7bf9a3107bcabcbd375a325c736c9e9908d SHA512 (pqueue-1.5.0.0.tar.gz) = 9d15ecb0b877524a3b38a37c5c1029e4c20330f303f90dce6fee25f416ec6c8f019c811cef451e5b7aa20b4bd5265c1b186feffb4a7fc51f3d2f3fe68367de0b -SHA512 (vector-hashtables-0.1.2.0.tar.gz) = 46aa3c83936304b2a3df73f9e705ca2872a0c72e79e47156d9cc397797adfff56eec467dd60b5082e7a8c181ee8f69c51aa796fed5532720ac619e344cdb2294 +SHA512 (process-extras-0.7.4.tar.gz) = 4747b4bd920796b7b4ddf32d0e72a3af556c9db66c828b725ac7a7467442dad2b0dc85aa66e03d7a8c5afdb02658611e64d390b6c71219b380a986e245495536 +SHA512 (show-combinators-0.2.0.0.tar.gz) = 6d9bd0b788c8c4733e3e48ebd8f76a01caa2e6fecf8942f5d00de4e46231f972d4bf23435d0a432c2795fa30b11717c6ebc3f55709138d7a3c15ead4c1779369 +SHA512 (vector-hashtables-0.1.2.1.tar.gz) = 247ee368982dcac9d4b66df72df4df16a90b61c6bdad3f2ffa2c07c7e1f5638f6579c1baae84e92ab22fb44a8eaffed1914adb4419f9fc5426bdb9eb7b67194f From 4a50bc87bbe2c69235006950ef1845029fa70a2a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 23 Jul 2025 15:41:04 +0000 Subject: [PATCH 61/62] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- Agda.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Agda.spec b/Agda.spec index c4fe758..0fd6c04 100644 --- a/Agda.spec +++ b/Agda.spec @@ -25,7 +25,7 @@ Name: %{pkg_name} Version: 2.8.0 # can only be reset when all subpkgs bumped -Release: 55%{?dist} +Release: 56%{?dist} Summary: A dependently typed functional programming language and proof assistant License: MIT AND BSD-3-Clause @@ -417,6 +417,9 @@ rm -r %{buildroot}%{_datadir}/%{pkgver}/emacs-mode %changelog +* Wed Jul 23 2025 Fedora Release Engineering - 2.8.0-56 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Sun Jul 06 2025 Jens Petersen - 2.8.0-55 - https://hackage.haskell.org/package/Agda-2.8.0/changelog - many new deps From 87281fb4a8b0c51ae536997779b3c50079606124 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 16 Jan 2026 02:27:23 +0000 Subject: [PATCH 62/62] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild --- Agda.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Agda.spec b/Agda.spec index 0fd6c04..82bdb69 100644 --- a/Agda.spec +++ b/Agda.spec @@ -25,7 +25,7 @@ Name: %{pkg_name} Version: 2.8.0 # can only be reset when all subpkgs bumped -Release: 56%{?dist} +Release: 57%{?dist} Summary: A dependently typed functional programming language and proof assistant License: MIT AND BSD-3-Clause @@ -417,6 +417,9 @@ rm -r %{buildroot}%{_datadir}/%{pkgver}/emacs-mode %changelog +* Fri Jan 16 2026 Fedora Release Engineering - 2.8.0-57 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + * Wed Jul 23 2025 Fedora Release Engineering - 2.8.0-56 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild