- Update to version 9.8.4
* -Wmissing-home-modules now behaves correctly when multiple units have expose the same module name * Adjust the demand signature of the prompt# to avoid invalid optimisation of non-terminating programs * GHC’s internal Unique type has been widened to 64-bits on 32-bit architectures, avoiding potential miscompilations on large projects OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc?expand=0&rev=406
This commit is contained in:
commit
3b3a5bcecd
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
9_4_4-bootstrap-sources.tar.gz
Normal file
3
9_4_4-bootstrap-sources.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:3de754bb3e45d4b3980ed238781cfd808f4e7c84ceae73213662f1bf5ea2d8fa
|
||||||
|
size 1526663
|
12
Disable-unboxed-arrays.patch
Normal file
12
Disable-unboxed-arrays.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
Index: ghc-9.4.4/libraries/containers/containers/include/containers.h
|
||||||
|
===================================================================
|
||||||
|
--- ghc-9.4.4.orig/libraries/containers/containers/include/containers.h
|
||||||
|
+++ ghc-9.4.4/libraries/containers/containers/include/containers.h
|
||||||
|
@@ -23,7 +23,6 @@
|
||||||
|
* Unboxed arrays are broken on big-endian architectures.
|
||||||
|
* See https://gitlab.haskell.org/ghc/ghc/-/issues/16998
|
||||||
|
*/
|
||||||
|
-# define USE_UNBOXED_ARRAYS 1
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
31
_constraints
Normal file
31
_constraints
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
<constraints>
|
||||||
|
<hardware>
|
||||||
|
<disk>
|
||||||
|
<size unit="G">16</size>
|
||||||
|
</disk>
|
||||||
|
<physicalmemory>
|
||||||
|
<size unit="G">4</size>
|
||||||
|
</physicalmemory>
|
||||||
|
</hardware>
|
||||||
|
<overwrite>
|
||||||
|
<conditions>
|
||||||
|
<arch>aarch64</arch>
|
||||||
|
<arch>s390x</arch>
|
||||||
|
</conditions>
|
||||||
|
<hardware>
|
||||||
|
<physicalmemory>
|
||||||
|
<size unit="G">10</size>
|
||||||
|
</physicalmemory>
|
||||||
|
</hardware>
|
||||||
|
</overwrite>
|
||||||
|
<overwrite>
|
||||||
|
<conditions>
|
||||||
|
<arch>riscv64</arch>
|
||||||
|
</conditions>
|
||||||
|
<hardware>
|
||||||
|
<disk>
|
||||||
|
<size unit="G">30</size>
|
||||||
|
</disk>
|
||||||
|
</hardware>
|
||||||
|
</overwrite>
|
||||||
|
</constraints>
|
41
cabal-riscv64.patch
Normal file
41
cabal-riscv64.patch
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
Index: ghc-9.4.5/libraries/Cabal/Cabal-syntax/src/Distribution/System.hs
|
||||||
|
===================================================================
|
||||||
|
--- ghc-9.4.5.orig/libraries/Cabal/Cabal-syntax/src/Distribution/System.hs
|
||||||
|
+++ ghc-9.4.5/libraries/Cabal/Cabal-syntax/src/Distribution/System.hs
|
||||||
|
@@ -159,7 +159,7 @@ buildOS = classifyOS Permissive System.I
|
||||||
|
|
||||||
|
-- | These are the known Arches: I386, X86_64, PPC, PPC64, Sparc,
|
||||||
|
-- Arm, AArch64, Mips, SH, IA64, S390, S390X, Alpha, Hppa, Rs6000,
|
||||||
|
--- M68k, Vax, JavaScript and Wasm32.
|
||||||
|
+-- M68k, Vax, RISCV64, JavaScript and Wasm32.
|
||||||
|
--
|
||||||
|
-- The following aliases can also be used:
|
||||||
|
-- * PPC alias: powerpc
|
||||||
|
@@ -174,6 +174,7 @@ data Arch = I386 | X86_64 | PPC | PPC
|
||||||
|
| IA64 | S390 | S390X
|
||||||
|
| Alpha | Hppa | Rs6000
|
||||||
|
| M68k | Vax
|
||||||
|
+ | RISCV64
|
||||||
|
| JavaScript
|
||||||
|
| Wasm32
|
||||||
|
| OtherArch String
|
||||||
|
@@ -189,6 +190,7 @@ knownArches = [I386, X86_64, PPC, PPC64,
|
||||||
|
,IA64, S390, S390X
|
||||||
|
,Alpha, Hppa, Rs6000
|
||||||
|
,M68k, Vax
|
||||||
|
+ ,RISCV64
|
||||||
|
,JavaScript
|
||||||
|
,Wasm32]
|
||||||
|
|
||||||
|
Index: ghc-9.4.5/libraries/Cabal/Cabal/src/Distribution/Simple/PreProcess.hs
|
||||||
|
===================================================================
|
||||||
|
--- ghc-9.4.5.orig/libraries/Cabal/Cabal/src/Distribution/Simple/PreProcess.hs
|
||||||
|
+++ ghc-9.4.5/libraries/Cabal/Cabal/src/Distribution/Simple/PreProcess.hs
|
||||||
|
@@ -729,6 +729,7 @@ platformDefines lbi =
|
||||||
|
Rs6000 -> ["rs6000"]
|
||||||
|
M68k -> ["m68k"]
|
||||||
|
Vax -> ["vax"]
|
||||||
|
+ RISCV64 -> ["riscv64"]
|
||||||
|
JavaScript -> ["javascript"]
|
||||||
|
Wasm32 -> ["wasm32"]
|
||||||
|
OtherArch _ -> []
|
3
ghc-9.8.2-src.tar.xz
Normal file
3
ghc-9.8.2-src.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e2fb7a7dd7461237d22e8365a83edd9e1a77d2e15d045f3945396845a87781c9
|
||||||
|
size 32432564
|
3
ghc-9.8.3-src.tar.xz
Normal file
3
ghc-9.8.3-src.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:99e40d729ec8831a633b75fd85d65dd10e31a0133dec9d198d686a273679ab70
|
||||||
|
size 32565948
|
3
ghc-9.8.4-src.tar.xz
Normal file
3
ghc-9.8.4-src.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:17e8188f3c8a5c2f73fb4e35d01032e8dc258835ec876d52c8ad8ee3d24b2fc5
|
||||||
|
size 32615492
|
14
ghc-Cabal-install-PATH-warning.patch
Normal file
14
ghc-Cabal-install-PATH-warning.patch
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
Index: ghc-9.2.0.20210331/libraries/Cabal/Cabal/src/Distribution/Simple/Install.hs
|
||||||
|
===================================================================
|
||||||
|
--- ghc-9.2.0.20210331.orig/libraries/Cabal/Cabal/src/Distribution/Simple/Install.hs
|
||||||
|
+++ ghc-9.2.0.20210331/libraries/Cabal/Cabal/src/Distribution/Simple/Install.hs
|
||||||
|
@@ -206,8 +206,7 @@ copyComponent verbosity pkg_descr lbi (C
|
||||||
|
++ " in " ++ binPref)
|
||||||
|
inPath <- isInSearchPath binPref
|
||||||
|
when (not inPath) $
|
||||||
|
- warn verbosity ("The directory " ++ binPref
|
||||||
|
- ++ " is not in the system search path.")
|
||||||
|
+ warn verbosity ("Executable installed in " ++ binPref)
|
||||||
|
case compilerFlavor (compiler lbi) of
|
||||||
|
GHC -> GHC.installExe verbosity lbi binPref buildPref progFix pkg_descr exe
|
||||||
|
GHCJS -> GHCJS.installExe verbosity lbi binPref buildPref progFix pkg_descr exe
|
13
ghc-gen_contents_index-haddock-path.patch
Normal file
13
ghc-gen_contents_index-haddock-path.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
Index: ghc-9.4.4/libraries/gen_contents_index
|
||||||
|
===================================================================
|
||||||
|
--- ghc-9.4.4.orig/libraries/gen_contents_index
|
||||||
|
+++ ghc-9.4.4/libraries/gen_contents_index
|
||||||
|
@@ -58,7 +58,7 @@ then
|
||||||
|
HADDOCK_ARGS="$HADDOCK_ARGS $HADDOCK_ARG"
|
||||||
|
done
|
||||||
|
else
|
||||||
|
- HADDOCK=../../../../../bin/haddock
|
||||||
|
+ HADDOCK=/usr/bin/haddock
|
||||||
|
# We don't want the GHC API to swamp the index
|
||||||
|
HADDOCK_FILES=`ls -1 */*.haddock | grep -v '/ghc\.haddock' | sort`
|
||||||
|
HADDOCK_ARGS="-p prologue.txt"
|
13
ghc-hadrian-s390x-rts--qg.patch
Normal file
13
ghc-hadrian-s390x-rts--qg.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
Index: ghc-9.4.4/hadrian/hadrian.cabal
|
||||||
|
===================================================================
|
||||||
|
--- ghc-9.4.4.orig/hadrian/hadrian.cabal
|
||||||
|
+++ ghc-9.4.4/hadrian/hadrian.cabal
|
||||||
|
@@ -173,7 +173,7 @@ executable hadrian
|
||||||
|
-- waiting for external processes
|
||||||
|
-- * -qg: Don't use parallel GC as the synchronization
|
||||||
|
-- time tends to eat any benefit.
|
||||||
|
- "-with-rtsopts=-I0 -qg"
|
||||||
|
+ "-with-rtsopts=-I0"
|
||||||
|
-threaded
|
||||||
|
|
||||||
|
if flag(selftest)
|
228
ghc-pkg.man
Normal file
228
ghc-pkg.man
Normal file
@ -0,0 +1,228 @@
|
|||||||
|
.TH ghc-pkg 1 "2010-01-27"
|
||||||
|
.SH NAME
|
||||||
|
ghc-pkg \- GHC Haskell Cabal package manager
|
||||||
|
.SH SYNOPSIS
|
||||||
|
.B ghc-pkg
|
||||||
|
.I action
|
||||||
|
.RI [ OPTION ]...
|
||||||
|
.SH DESCRIPTION
|
||||||
|
A package is a library of Haskell modules known to the compiler. The
|
||||||
|
.B ghc-pkg
|
||||||
|
tool allows adding or removing them from a package database. By
|
||||||
|
default, the system-wide package database is modified, but
|
||||||
|
alternatively the user's local package database or another specified
|
||||||
|
file can be used.
|
||||||
|
.PP
|
||||||
|
To make a package available for
|
||||||
|
.BR ghc ,
|
||||||
|
.B ghc-pkg
|
||||||
|
can be used to register it. Unregistering it removes it from the
|
||||||
|
database. Also, packages can be hidden, to make
|
||||||
|
.B ghc
|
||||||
|
ignore the package by default, without uninstalling it. Exposing a
|
||||||
|
package makes a hidden package available. Additionally,
|
||||||
|
.B ghc-pkg
|
||||||
|
has various commands to query the package database.
|
||||||
|
.PP
|
||||||
|
Where a package name is required, the package can be named in full
|
||||||
|
including the version number (e.g.
|
||||||
|
.BR network-1.0 ),
|
||||||
|
or without the version number. Naming a package without the version
|
||||||
|
number matches all versions of the package; the specified action will
|
||||||
|
be applied to all the matching packages. A package specifier that
|
||||||
|
matches all version of the package can also be written
|
||||||
|
.BR pkg-* ,
|
||||||
|
to make it clearer that multiple packages are being matched.
|
||||||
|
.SH ACTIONS
|
||||||
|
.TP
|
||||||
|
\fBregister\fP \fIfilename\fP|\fB-\fP
|
||||||
|
Register the package using the specified installed package
|
||||||
|
description.
|
||||||
|
.TP
|
||||||
|
\fBupdate\fP \fIfilename\fP|\fB-\fP
|
||||||
|
Register the package, overwriting any other package with the same
|
||||||
|
name.
|
||||||
|
.TP
|
||||||
|
\fBunregister\fP \fIpkg-id\fP
|
||||||
|
Unregister the specified package.
|
||||||
|
.TP
|
||||||
|
\fBexpose\fP \fIpkg-id\fP
|
||||||
|
Expose the specified package.
|
||||||
|
.TP
|
||||||
|
\fBhide\fP \fIpkg-id\fP
|
||||||
|
Hide the specified package
|
||||||
|
.TP
|
||||||
|
\fBlist\fP \fR[\fIpkg\fR]...\fP
|
||||||
|
List registered packages in the global database, and also the user
|
||||||
|
database if
|
||||||
|
.B --user
|
||||||
|
is given. If a package name is given all the registered versions will
|
||||||
|
be listed in ascending order. Accepts the
|
||||||
|
.B --simple-output
|
||||||
|
flag.
|
||||||
|
.TP
|
||||||
|
.B dot
|
||||||
|
Generate a graph of the package dependencies in a form suitable for
|
||||||
|
input for the graphviz tools. For example, to generate a PDF of the
|
||||||
|
dependency graph:
|
||||||
|
.br
|
||||||
|
\fB dot \| tred \| dot -Tpdf >pkgs.pdf\fP
|
||||||
|
.TP
|
||||||
|
\fBfind-module\fP \fImodule\fP
|
||||||
|
List registered packages exposing module
|
||||||
|
.I module
|
||||||
|
in the global database, and also the user database if
|
||||||
|
.B --user
|
||||||
|
is given. All the registered versions will be listed in ascending
|
||||||
|
order. Accepts the
|
||||||
|
.B --simple-output
|
||||||
|
flag.
|
||||||
|
.TP
|
||||||
|
\fBlatest\fP \fIpkg-id\fP
|
||||||
|
Prints the highest registered version of a package.
|
||||||
|
.TP
|
||||||
|
.B check
|
||||||
|
Check the consistency of package dependencies and list broken
|
||||||
|
packages. Accepts the
|
||||||
|
.B --simple-output
|
||||||
|
flag.
|
||||||
|
.TP
|
||||||
|
\fBdescribe\fP \fIpkg\fP
|
||||||
|
Give the registered description for the
|
||||||
|
specified package. The description is returned in precisely the syntax
|
||||||
|
required by ghc-pkg register.
|
||||||
|
.TP
|
||||||
|
\fBfield\fP \fIpkg field\fP
|
||||||
|
Extract the specified field of the package description for the
|
||||||
|
specified package. Accepts comma-separated multiple fields.
|
||||||
|
.TP
|
||||||
|
.B dump
|
||||||
|
Dump the registered description for every package. This is like
|
||||||
|
.BR ghc-pkg\ describe\ '*' ,
|
||||||
|
expect that it is intended to be used by tools that parse the results,
|
||||||
|
rather than humans.
|
||||||
|
.TP
|
||||||
|
.B recache
|
||||||
|
Regenerate the package database cache. This command should only be
|
||||||
|
necessary if you added a package to the database by dropping a file
|
||||||
|
into the database directory manyally. By default, the global DB is
|
||||||
|
recached; to recache a different DB use
|
||||||
|
.B --user
|
||||||
|
or
|
||||||
|
.B --package-conf
|
||||||
|
as appropriate.
|
||||||
|
.SH OPTIONS
|
||||||
|
When asked to modify a database
|
||||||
|
.RB ( register ,\ unregister ,\ update ,\ hide ,\ expose ,\ and\ also\ check ),
|
||||||
|
.B ghc-pkg
|
||||||
|
modifies the global database by
|
||||||
|
default. Specifying
|
||||||
|
.B --user
|
||||||
|
causes it to act on the user database,
|
||||||
|
or
|
||||||
|
.B --package-conf
|
||||||
|
can be used to act on another database
|
||||||
|
entirely. When multiple of these options are given, the rightmost
|
||||||
|
one is used as the database to act upon.
|
||||||
|
.PP
|
||||||
|
Commands that query the package database
|
||||||
|
.RB ( list ,\ latest ,\ describe ,\ field )
|
||||||
|
operate on the list of databases specified by the flags
|
||||||
|
.BR --user ,\ --global ,
|
||||||
|
and
|
||||||
|
.BR --package-conf .
|
||||||
|
If none of these flags are
|
||||||
|
given, the default is
|
||||||
|
.BR --global\ --user .
|
||||||
|
.TP
|
||||||
|
.B --user
|
||||||
|
Use the current user's package database.
|
||||||
|
.TP
|
||||||
|
.B --global
|
||||||
|
Use the global package database.
|
||||||
|
.TP
|
||||||
|
\fB-f\fP \fIFILE\fP, \fB--package-conf=\fIFILE\fP
|
||||||
|
Use the specified package config file.
|
||||||
|
.TP
|
||||||
|
.BI --global-conf= FILE
|
||||||
|
Location of the global package config.
|
||||||
|
.TP
|
||||||
|
.B --force
|
||||||
|
Ignore missing dependencies, directories, and libraries.
|
||||||
|
.TP
|
||||||
|
.B --force-files
|
||||||
|
Ignore missing directories and libraries only.
|
||||||
|
.TP
|
||||||
|
.BR -g ,\ --auto-ghc-libs
|
||||||
|
Automatically build libs for GHCi (with register).
|
||||||
|
.TP
|
||||||
|
.BR -? ,\ --help
|
||||||
|
Display a help message and exit.
|
||||||
|
.TP
|
||||||
|
.BR -V ,\ --version
|
||||||
|
Output version information and exit.
|
||||||
|
.TP
|
||||||
|
.B --simple-output
|
||||||
|
Print output in easy-to-parse format for some commands.
|
||||||
|
.TP
|
||||||
|
.B --names-only
|
||||||
|
Only print package names, not versions; can only be used with
|
||||||
|
.BR list\ --simple-output .
|
||||||
|
.TP
|
||||||
|
.B --ignore-case
|
||||||
|
Ignore case for substring matching.
|
||||||
|
.SH ENVIRONMENT VARIABLES
|
||||||
|
.TP
|
||||||
|
.B GHC_PACKAGE_PATH
|
||||||
|
The
|
||||||
|
.B GHC_PACKAGE_PATH
|
||||||
|
environment variable may be set to a
|
||||||
|
.BR : -separated
|
||||||
|
list of files containing package databases. This list of package
|
||||||
|
databases is used by
|
||||||
|
.B ghc
|
||||||
|
and
|
||||||
|
.BR ghc-pkg ,
|
||||||
|
with earlier databases in the list overriding later ones. This order
|
||||||
|
was chosen to match the behaviour of the
|
||||||
|
.B PATH
|
||||||
|
environment variable; think of it as a list of package databases that
|
||||||
|
are searched left-to-right for packages.
|
||||||
|
|
||||||
|
If
|
||||||
|
.B GHC_PACKAGE_PATH
|
||||||
|
ends in a separator, then the default user and system package
|
||||||
|
databases are appended, in that order. e.g. to augment the usual set
|
||||||
|
of packages with a database of your own, you could say:
|
||||||
|
|
||||||
|
.br
|
||||||
|
\fB export GHC_PACKAGE_PATH=$HOME/.my-ghc-packages.conf:\fP
|
||||||
|
.br
|
||||||
|
|
||||||
|
To check whether your
|
||||||
|
.B GHC_PACKAGE_PATH
|
||||||
|
setting is doing the right thing,
|
||||||
|
.B ghc-pkg list
|
||||||
|
will list all the databases in use, in the reverse order they are
|
||||||
|
searched.
|
||||||
|
.SH FILES
|
||||||
|
Both of these locations are changed for Debian. Upstream still keeps
|
||||||
|
these under
|
||||||
|
.IR /usr .
|
||||||
|
Some programs may refer to that, but look in
|
||||||
|
.I /var
|
||||||
|
instead.
|
||||||
|
.TP
|
||||||
|
.I /var/lib/ghc/package.conf
|
||||||
|
Global package.conf file.
|
||||||
|
.TP
|
||||||
|
.I /var/lib/ghc/package.conf.d/
|
||||||
|
Directory for library specific package.conf files. These are added to
|
||||||
|
the global registry.
|
||||||
|
.SH "SEE ALSO"
|
||||||
|
.BR ghc (1),
|
||||||
|
.BR runghc (1),
|
||||||
|
.BR hugs (1).
|
||||||
|
.SH AUTHOR
|
||||||
|
This manual page was written by Kari Pahula <kaol@debian.org>, for the
|
||||||
|
Debian project (and may be used by others).
|
8
ghc-rpmlintrc
Normal file
8
ghc-rpmlintrc
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
addFilter("devel-file-in-non-devel-package")
|
||||||
|
addFilter("static-library-without-debuginfo")
|
||||||
|
# ghc-compiler has devel-dependency
|
||||||
|
addFilter("devel-dependency")
|
||||||
|
# Regrettably, upstream does not provide man pages for all executables
|
||||||
|
addFilter("no-manual-page-for-binary")
|
||||||
|
# Prevent warning about ghc containing no binary (it is a metapackage)
|
||||||
|
addFilter("no-binary")
|
14
ghc-with-interpreter.patch
Normal file
14
ghc-with-interpreter.patch
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
Index: ghc-9.4.5/hadrian/src/Oracles/Setting.hs
|
||||||
|
===================================================================
|
||||||
|
--- ghc-9.4.5.orig/hadrian/src/Oracles/Setting.hs
|
||||||
|
+++ ghc-9.4.5/hadrian/src/Oracles/Setting.hs
|
||||||
|
@@ -292,7 +292,8 @@ ghcWithInterpreter = do
|
||||||
|
, "darwin", "kfreebsdgnu" ]
|
||||||
|
goodArch <- anyTargetArch [ "i386", "x86_64", "powerpc"
|
||||||
|
, "arm", "aarch64", "s390x"
|
||||||
|
- , "powerpc64", "powerpc64le" ]
|
||||||
|
+ , "powerpc64", "powerpc64le"
|
||||||
|
+ , "riscv64" ]
|
||||||
|
return $ goodOs && goodArch
|
||||||
|
|
||||||
|
-- | Variants of the ARM architecture.
|
1611
ghc.changes
Normal file
1611
ghc.changes
Normal file
File diff suppressed because it is too large
Load Diff
611
ghc.spec
Normal file
611
ghc.spec
Normal file
@ -0,0 +1,611 @@
|
|||||||
|
#
|
||||||
|
# spec file for package ghc
|
||||||
|
#
|
||||||
|
# Copyright (c) 2024 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define full_version 9.8.4
|
||||||
|
%define short_version 9.8.4
|
||||||
|
|
||||||
|
%ifnarch s390x
|
||||||
|
%define with_libnuma 1
|
||||||
|
%else
|
||||||
|
%define with_libnuma 0
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%global llvm_major 14
|
||||||
|
|
||||||
|
# conditionals
|
||||||
|
|
||||||
|
# disable prof, docs, perf build
|
||||||
|
# bcond_with for production builds: disable quick build
|
||||||
|
%bcond_with quickbuild
|
||||||
|
|
||||||
|
# make sure ghc libraries' ABI hashes unchanged (ghcX.Y not supported yet)
|
||||||
|
%bcond_with abicheck
|
||||||
|
|
||||||
|
# bcond_without for production builds: use Hadrian buildsystem
|
||||||
|
%bcond_without hadrian
|
||||||
|
|
||||||
|
# bcond_without for production builds: build hadrian
|
||||||
|
%bcond_without build_hadrian
|
||||||
|
|
||||||
|
# bcond_without for production builds: enable debuginfo
|
||||||
|
%bcond_without ghc_debuginfo
|
||||||
|
|
||||||
|
%if %{without ghc_debuginfo}
|
||||||
|
%undefine _enable_debug_packages
|
||||||
|
%endif
|
||||||
|
|
||||||
|
# build profiling libraries
|
||||||
|
# build haddock
|
||||||
|
# perf production build (disable for quick build)
|
||||||
|
%if %{with quickbuild}
|
||||||
|
%undefine with_ghc_prof
|
||||||
|
%undefine with_haddock
|
||||||
|
%bcond_with perf_build
|
||||||
|
%else
|
||||||
|
%bcond_without ghc_prof
|
||||||
|
%bcond_without haddock
|
||||||
|
%bcond_without manual
|
||||||
|
%bcond_without perf_build
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if %{without hadrian}
|
||||||
|
# locked together since disabling haddock causes no manuals built
|
||||||
|
# and disabling haddock still created index.html
|
||||||
|
# https://gitlab.haskell.org/ghc/ghc/-/issues/15190
|
||||||
|
%{?with_haddock:%bcond_without manual}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%global ghc_llvm_archs s390x riscv64
|
||||||
|
%global ghc_unregisterized_arches noarch
|
||||||
|
|
||||||
|
%global base_ver 4.19.2.0
|
||||||
|
%global ghc_compact_ver 0.1.0.0
|
||||||
|
%global hpc_ver 0.7.0.0
|
||||||
|
%global hsc2hs_ver 0.68.8
|
||||||
|
%global ghc_bignum_ver 1.3
|
||||||
|
|
||||||
|
Name: ghc
|
||||||
|
Version: %{short_version}
|
||||||
|
Release: 0
|
||||||
|
Summary: The Glorious Glasgow Haskell Compiler
|
||||||
|
License: BSD-3-Clause
|
||||||
|
URL: https://www.haskell.org/ghc/
|
||||||
|
Source: https://downloads.haskell.org/~ghc/%{full_version}/ghc-%{version}-src.tar.xz
|
||||||
|
Source2: ghc-rpmlintrc
|
||||||
|
Source4: 9_4_4-bootstrap-sources.tar.gz
|
||||||
|
Source5: ghc-pkg.man
|
||||||
|
Source6: haddock.man
|
||||||
|
Source7: runghc.man
|
||||||
|
Patch1: ghc-gen_contents_index-haddock-path.patch
|
||||||
|
# https://ghc.haskell.org/trac/ghc/ticket/15689
|
||||||
|
Patch2: ghc-Cabal-install-PATH-warning.patch
|
||||||
|
# PATCH-FIX-UPSTREAM Disable-unboxed-arrays.patch ptrommler@icloud.com -- Do not use unboxed arrays on big-endian platforms. See Haskell Trac #15411.
|
||||||
|
Patch3: Disable-unboxed-arrays.patch
|
||||||
|
# PATCH-FIX-UPSTREAM Hadrian: enable GHCi support on riscv64 (dd38aca95a)
|
||||||
|
Patch100: ghc-with-interpreter.patch
|
||||||
|
# PATCH-FIX-UPSTREAM libraries/Cabal: Add support for the 64-bit RISC-V architecture (d89526f98)
|
||||||
|
Patch101: cabal-riscv64.patch
|
||||||
|
Patch200: ghc-hadrian-s390x-rts--qg.patch
|
||||||
|
BuildRequires: binutils-devel
|
||||||
|
BuildRequires: gcc-PIE
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: ghc-bootstrap >= 9.4
|
||||||
|
BuildRequires: ghc-bootstrap-helpers >= 1.3
|
||||||
|
BuildRequires: ghc-rpm-macros-extra => 2.6.1
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: gmp-devel
|
||||||
|
BuildRequires: libdw-devel
|
||||||
|
BuildRequires: libelf-devel
|
||||||
|
BuildRequires: libffi-devel
|
||||||
|
BuildRequires: libtool
|
||||||
|
%ifarch %{ghc_llvm_archs}
|
||||||
|
BuildRequires: clang%{llvm_major}
|
||||||
|
BuildRequires: llvm%{llvm_major}
|
||||||
|
BuildRequires: llvm%{llvm_major}-devel
|
||||||
|
%endif
|
||||||
|
BuildRequires: memory-constraints
|
||||||
|
BuildRequires: ncurses-devel
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: python3
|
||||||
|
BuildRequires: xz
|
||||||
|
Requires: %{name}-compiler = %{version}-%{release}
|
||||||
|
Requires: %{name}-devel = %{version}-%{release}
|
||||||
|
Requires: %{name}-ghc-boot-devel = %{version}-%{release}
|
||||||
|
Requires: %{name}-ghc-compact-devel = %{ghc_compact_ver}-%{release}
|
||||||
|
Requires: %{name}-ghc-devel = %{version}-%{release}
|
||||||
|
Requires: %{name}-ghc-heap-devel = %{version}-%{release}
|
||||||
|
Requires: %{name}-ghci-devel = %{version}-%{release}
|
||||||
|
Requires: %{name}-hpc-devel = %{hpc_ver}-%{release}
|
||||||
|
Recommends: %{name}-compiler-default = %{version}-%{release}
|
||||||
|
%if %{without ghc_debuginfo}
|
||||||
|
%undefine _enable_debug_packages
|
||||||
|
%endif
|
||||||
|
%if %{with manual}
|
||||||
|
BuildRequires: python3-Sphinx
|
||||||
|
%endif
|
||||||
|
%if %{with_libnuma}
|
||||||
|
BuildRequires: libnuma-devel
|
||||||
|
%endif
|
||||||
|
%if %{with haddock}
|
||||||
|
Suggests: %{name}-doc = %{version}-%{release}
|
||||||
|
Suggests: %{name}-doc-index = %{version}-%{release}
|
||||||
|
%endif
|
||||||
|
%if %{with manual}
|
||||||
|
Suggests: %{name}-manual = %{version}-%{release}
|
||||||
|
%endif
|
||||||
|
%if %{with ghc_prof}
|
||||||
|
Suggests: %{name}-prof = %{version}-%{release}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description
|
||||||
|
Haskell is the standard purely functional programming language; the
|
||||||
|
current language version is Haskell 98, agreed in December 1998.
|
||||||
|
|
||||||
|
GHC is a state-of-the-art programming suite for Haskell. Included is
|
||||||
|
an optimising compiler generating good code for a variety of
|
||||||
|
platforms, together with an interactive system for convenient, quick
|
||||||
|
development. The distribution includes space and time profiling
|
||||||
|
facilities, a large collection of libraries, and support for various
|
||||||
|
language extensions, including concurrency, exceptions, and foreign
|
||||||
|
language interfaces (C, C++, etc).
|
||||||
|
|
||||||
|
A wide variety of Haskell related resources (tutorials, libraries,
|
||||||
|
specifications, documentation, compilers, interprbeters, references,
|
||||||
|
contact information, links to research groups) are available from the
|
||||||
|
Haskell home page at <http://www.haskell.org/>.
|
||||||
|
|
||||||
|
%package compiler
|
||||||
|
Summary: GHC compiler and utilities
|
||||||
|
License: BSD-3-Clause
|
||||||
|
Requires: %{name}-filesystem = %{version}-%{release}
|
||||||
|
Requires: gcc
|
||||||
|
Requires: ghc-base-devel = %{base_ver}-%{release}
|
||||||
|
Provides: hsc2hs = %{hsc2hs_ver}-%{release}
|
||||||
|
%ifarch riscv64 s390x
|
||||||
|
Requires: clang%{llvm_major}
|
||||||
|
Requires: llvm%{llvm_major}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description compiler
|
||||||
|
This package contains the GHC compiler, tools and utilities.
|
||||||
|
|
||||||
|
The GHC libraries are provided by ghc-devel.
|
||||||
|
To install all of GHC install package ghc.
|
||||||
|
|
||||||
|
|
||||||
|
%if %{with haddock} || (%{with hadrian} && %{with manual})
|
||||||
|
%package doc
|
||||||
|
Summary: Haskell library documentation meta package
|
||||||
|
License: BSD-3-Clause
|
||||||
|
|
||||||
|
%description doc
|
||||||
|
Installing this package causes %{name}-*-doc packages corresponding to
|
||||||
|
%{name}-*-devel packages to be automatically installed too.
|
||||||
|
|
||||||
|
%package doc-index
|
||||||
|
Summary: GHC library documentation indexing
|
||||||
|
License: BSD-3-Clause
|
||||||
|
Requires: %{name}-compiler = %{version}-%{release}
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description doc-index
|
||||||
|
The package enables re-indexing of installed library documention.
|
||||||
|
|
||||||
|
%package filesystem
|
||||||
|
Summary: Shared directories for Haskell documentation
|
||||||
|
License: BSD-3-Clause
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description filesystem
|
||||||
|
This package provides some common directories used for
|
||||||
|
Haskell libraries documentation.
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if %{with manual}
|
||||||
|
%package manual
|
||||||
|
Summary: GHC manual
|
||||||
|
License: BSD-3-Clause
|
||||||
|
Requires: %{name}-filesystem = %{version}-%{release}
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description manual
|
||||||
|
This package provides the User Guide and Haddock manual.
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%global ghc_version_override %{version}
|
||||||
|
%global ghc_pkg_c_deps ghc-compiler = %{ghc_version_override}-%{release}
|
||||||
|
%global version %{ghc_version_override}
|
||||||
|
%if %{with_libnuma}
|
||||||
|
%define libnuma_dep ,libnuma-devel
|
||||||
|
%else
|
||||||
|
%define libnuma_dep %{nil}
|
||||||
|
%endif
|
||||||
|
#!ForceMultiversion
|
||||||
|
%ghc_lib_subpackage -d Cabal-3.10.3.0
|
||||||
|
%ghc_lib_subpackage -d Cabal-syntax-3.10.3.0
|
||||||
|
%ghc_lib_subpackage -d array-0.5.8.0
|
||||||
|
%ghc_lib_subpackage -d -c gmp-devel,libffi-devel,libdw-devel,libelf-devel%{libnuma_dep} base-%{base_ver}
|
||||||
|
%ghc_lib_subpackage -d binary-0.8.9.1
|
||||||
|
%ghc_lib_subpackage -d -x ghc-bignum-%{ghc_bignum_ver}
|
||||||
|
%ghc_lib_subpackage -d bytestring-0.12.1.0
|
||||||
|
%ghc_lib_subpackage -d containers-0.6.8
|
||||||
|
%ghc_lib_subpackage -d deepseq-1.5.1.0
|
||||||
|
%ghc_lib_subpackage -d directory-1.3.8.5
|
||||||
|
%ghc_lib_subpackage -d exceptions-0.10.7
|
||||||
|
%ghc_lib_subpackage -d filepath-1.4.301.0
|
||||||
|
%ghc_lib_subpackage -d -x ghc-%{ghc_version_override}
|
||||||
|
%ghc_lib_subpackage -d -x ghc-boot-%{ghc_version_override}
|
||||||
|
%ghc_lib_subpackage -d ghc-boot-th-%{ghc_version_override}
|
||||||
|
%ghc_lib_subpackage -d -x ghc-compact-%{ghc_compact_ver}
|
||||||
|
%ghc_lib_subpackage -d -x ghc-heap-%{ghc_version_override}
|
||||||
|
%ghc_lib_subpackage -d -x ghci-%{ghc_version_override}
|
||||||
|
%ghc_lib_subpackage -d haskeline-0.8.2.1
|
||||||
|
%ghc_lib_subpackage -d -x hpc-%{hpc_ver}
|
||||||
|
%ghc_lib_subpackage -d mtl-2.3.1
|
||||||
|
%ghc_lib_subpackage -d parsec-3.1.17.0
|
||||||
|
%ghc_lib_subpackage -d pretty-1.1.3.6
|
||||||
|
%ghc_lib_subpackage -d process-1.6.25.0
|
||||||
|
%ghc_lib_subpackage -d semaphore-compat-1.0.0
|
||||||
|
%ghc_lib_subpackage -d stm-2.5.3.1
|
||||||
|
%ghc_lib_subpackage -d template-haskell-2.21.0.0
|
||||||
|
%ghc_lib_subpackage -d -c ncurses-devel terminfo-0.4.1.6
|
||||||
|
%ghc_lib_subpackage -d text-2.1.1
|
||||||
|
%ghc_lib_subpackage -d time-1.12.2
|
||||||
|
%ghc_lib_subpackage -d transformers-0.6.1.0
|
||||||
|
%ghc_lib_subpackage -d unix-2.8.6.0
|
||||||
|
%ghc_lib_subpackage -d xhtml-3000.2.2.1
|
||||||
|
|
||||||
|
%global version %{ghc_version_override}
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: GHC development libraries meta package
|
||||||
|
Requires: ghc-compiler = %{version}-%{release}
|
||||||
|
Obsoletes: ghc-libraries < %{version}-%{release}
|
||||||
|
Provides: ghc-libraries = %{version}-%{release}
|
||||||
|
%{?ghc_packages_list:Requires: %(echo %{ghc_packages_list} | sed -e "s/\([^ ]*\)-\([^ ]*\)/%{name}-\1-devel = \2-%{release},/g")}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
This is a meta-package for all the development library packages in GHC
|
||||||
|
except the ghc library, which is installed by the toplevel ghc metapackage.
|
||||||
|
|
||||||
|
%if %{with ghc_prof}
|
||||||
|
%package prof
|
||||||
|
Summary: GHC profiling libraries meta package
|
||||||
|
License: BSD-3-Clause
|
||||||
|
Requires: %{name}-compiler = %{version}-%{release}
|
||||||
|
|
||||||
|
%description prof
|
||||||
|
Installing this package causes %{name}-*-prof packages corresponding to
|
||||||
|
%{name}-*-devel packages to be automatically installed too.
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
%patch -P 1 -p1
|
||||||
|
%patch -P 2 -p1
|
||||||
|
%ifarch s390x
|
||||||
|
%patch -P 3 -p1
|
||||||
|
%endif
|
||||||
|
%patch -P 100 -p1
|
||||||
|
%patch -P 101 -p1
|
||||||
|
%ifarch ppc64le s390x riscv64
|
||||||
|
%patch -P 200 -p1
|
||||||
|
%endif
|
||||||
|
|
||||||
|
rm libffi-tarballs/libffi-*.tar.gz
|
||||||
|
|
||||||
|
%build
|
||||||
|
cp %{SOURCE4} ./
|
||||||
|
hadrian/bootstrap/bootstrap.py --bootstrap-sources 9_4_4-bootstrap-sources.tar.gz
|
||||||
|
|
||||||
|
%global hadrian _build/bin/hadrian
|
||||||
|
|
||||||
|
%ghc_set_gcc_flags
|
||||||
|
|
||||||
|
export CC=%{_bindir}/gcc
|
||||||
|
export LD=%{_bindir}/ld
|
||||||
|
export LANG=C.utf8
|
||||||
|
|
||||||
|
autoupdate
|
||||||
|
|
||||||
|
python3 boot.source --hadrian
|
||||||
|
|
||||||
|
./configure --prefix=%{_prefix} --exec-prefix=%{_exec_prefix} \
|
||||||
|
--bindir=%{_bindir} --sbindir=%{_sbindir} --sysconfdir=%{_sysconfdir} \
|
||||||
|
--datadir=%{_datadir} --includedir=%{_includedir} --libdir=%{_libdir} \
|
||||||
|
--libexecdir=%{_libexecdir} --localstatedir=%{_localstatedir} \
|
||||||
|
--sharedstatedir=%{_sharedstatedir} --mandir=%{_mandir} \
|
||||||
|
--docdir=%{_docdir}/%{name}-%{version} \
|
||||||
|
--with-system-libffi \
|
||||||
|
%ifarch %{ghc_unregisterized_arches}
|
||||||
|
--enable-unregisterised \
|
||||||
|
%endif
|
||||||
|
%{nil}
|
||||||
|
|
||||||
|
%undefine _ghcdynlibdir
|
||||||
|
|
||||||
|
%ifarch %{ghc_llvm_archs}
|
||||||
|
%global hadrian_llvm +llvm
|
||||||
|
%endif
|
||||||
|
%define hadrian_docs %{!?with_haddock:--docs=no-haddocks} %{!?with_manual:--docs=no-sphinx}%{?with_manual:--docs=no-sphinx-pdfs --docs=no-sphinx-man}
|
||||||
|
|
||||||
|
%if 0%{?suse_version} >= 1500
|
||||||
|
%ifarch %{unregisterised_archs}
|
||||||
|
%limit_build -m 8000
|
||||||
|
%else
|
||||||
|
%limit_build -m 2000
|
||||||
|
%endif
|
||||||
|
%global jobs_nr %{?_smp_mflags}
|
||||||
|
%else
|
||||||
|
%global jobs_nr -j1
|
||||||
|
%endif
|
||||||
|
%{hadrian} %{jobs_nr} --flavour=%{?with_quickbuild:quick+no_profiled_libs}%{!?with_quickbuild:perf%{!?with_ghc_prof:+no_profiled_libs}}%{?hadrian_llvm} %{hadrian_docs} binary-dist-dir --hash-unit-ids
|
||||||
|
|
||||||
|
%install
|
||||||
|
|
||||||
|
(
|
||||||
|
cd _build/bindist/ghc-%{version}-*
|
||||||
|
./configure --prefix=%{buildroot}%{ghclibdir} --bindir=%{buildroot}%{_bindir} --libdir=%{buildroot}%{_libdir} --mandir=%{buildroot}%{_mandir} --docdir=%{buildroot}%{_docdir}/%{name}-%{version}
|
||||||
|
make install
|
||||||
|
)
|
||||||
|
mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d
|
||||||
|
echo "%{ghclibplatform}" > %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}.conf
|
||||||
|
|
||||||
|
# avoid 'E: binary-or-shlib-defines-rpath'
|
||||||
|
for i in $(find %{buildroot} -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print); do
|
||||||
|
chrpath -d $i
|
||||||
|
done
|
||||||
|
|
||||||
|
%if %{with haddock}
|
||||||
|
# remove short hashes
|
||||||
|
for d in %{buildroot}%{ghc_html_libraries_dir}/*/; do
|
||||||
|
mv $d $(echo $d | sed -e "s/\(.*\)-.*/\\1/")
|
||||||
|
done
|
||||||
|
%endif
|
||||||
|
|
||||||
|
# containers src moved to a subdir
|
||||||
|
cp -p libraries/containers/containers/LICENSE libraries/containers/LICENSE
|
||||||
|
# hack for Cabal-syntax/LICENSE
|
||||||
|
mkdir -p libraries/Cabal-syntax
|
||||||
|
cp -p libraries/Cabal/Cabal-syntax/LICENSE libraries/Cabal-syntax
|
||||||
|
|
||||||
|
rm -f %{name}-*.files
|
||||||
|
|
||||||
|
# FIXME replace with ghc_subpackages_list
|
||||||
|
for i in %{ghc_packages_list}; do
|
||||||
|
name=$(echo $i | sed -e "s/\(.*\)-.*/\1/")
|
||||||
|
ver=$(echo $i | sed -e "s/.*-\(.*\)/\1/")
|
||||||
|
%ghc_gen_filelists $name $ver
|
||||||
|
echo "%%license libraries/$name/LICENSE" >> %{name}-$name.files
|
||||||
|
done
|
||||||
|
|
||||||
|
echo "%%dir %{ghclibdir}" >> %{name}-base%{?_ghcdynlibdir:-devel}.files
|
||||||
|
|
||||||
|
%ghc_gen_filelists ghc %{ghc_version_override}
|
||||||
|
%ghc_gen_filelists ghc-boot %{ghc_version_override}
|
||||||
|
%ghc_gen_filelists ghc-bignum %{ghc_bignum_ver}
|
||||||
|
%ghc_gen_filelists ghc-compact %{ghc_compact_ver}
|
||||||
|
%ghc_gen_filelists ghc-heap %{ghc_version_override}
|
||||||
|
%ghc_gen_filelists ghci %{ghc_version_override}
|
||||||
|
%ghc_gen_filelists hpc %{hpc_ver}
|
||||||
|
|
||||||
|
%ghc_gen_filelists ghc-prim 0.11.0
|
||||||
|
%ghc_gen_filelists integer-gmp 1.1
|
||||||
|
%ghc_gen_filelists rts 1.0.2
|
||||||
|
|
||||||
|
%ghc_merge_filelist ghc-prim base
|
||||||
|
%ghc_merge_filelist integer-gmp base
|
||||||
|
%ghc_merge_filelist rts base
|
||||||
|
|
||||||
|
# add rts libs
|
||||||
|
for i in %{buildroot}%{ghclibplatform}/libHSrts*ghc%{ghc_version}.so; do
|
||||||
|
echo $i >> %{name}-base.files
|
||||||
|
done
|
||||||
|
echo "%{_sysconfdir}/ld.so.conf.d/%{name}.conf" >> %{name}-base.files
|
||||||
|
if [ -f %{buildroot}%{ghcliblib}/package.conf.d/system-cxx-std-lib-1.0.conf ]; then
|
||||||
|
ls -d %{buildroot}%{ghcliblib}/package.conf.d/system-cxx-std-lib-1.0.conf >> %{name}-base-devel.files
|
||||||
|
fi
|
||||||
|
|
||||||
|
%if %{with ghc_prof}
|
||||||
|
ls %{buildroot}%{ghclibdir}/bin/ghc-iserv-prof* >> %{name}-base-prof.files
|
||||||
|
ls %{buildroot}%{ghclibdir}/lib/bin/ghc-iserv-prof >> %{name}-base-prof.files
|
||||||
|
echo "%%dir %{ghcliblib}/bin"
|
||||||
|
%endif
|
||||||
|
|
||||||
|
sed -i -e "s|^%{buildroot}||g" %{name}-base*.files
|
||||||
|
sed -i -e "s|%{buildroot}||g" %{buildroot}%{_bindir}/*
|
||||||
|
|
||||||
|
%if %{with haddock}
|
||||||
|
rm %{buildroot}%{_docdir}/ghc-%{version}/archives/libraries.html.tar.xz
|
||||||
|
%endif
|
||||||
|
%if %{with manual}
|
||||||
|
rm %{buildroot}%{_docdir}/ghc-%{version}/archives/Haddock.html.tar.xz
|
||||||
|
rm %{buildroot}%{_docdir}/ghc-%{version}/archives/users_guide.html.tar.xz
|
||||||
|
%endif
|
||||||
|
|
||||||
|
mkdir -p %{buildroot}%{_mandir}/man1
|
||||||
|
install -p -m 0644 %{SOURCE5} %{buildroot}%{_mandir}/man1/ghc-pkg.1
|
||||||
|
install -p -m 0644 %{SOURCE6} %{buildroot}%{_mandir}/man1/haddock.1
|
||||||
|
install -p -m 0644 %{SOURCE7} %{buildroot}%{_mandir}/man1/runghc.1
|
||||||
|
|
||||||
|
rm %{buildroot}%{ghclibdir}/lib/package.conf.d/.stamp
|
||||||
|
rm %{buildroot}%{ghclibdir}/lib/package.conf.d/*.conf.copy
|
||||||
|
|
||||||
|
# https://gitlab.haskell.org/ghc/ghc/-/issues/24121
|
||||||
|
rm %{buildroot}%{ghclibdir}/share/doc/%{ghcplatform}/*/LICENSE
|
||||||
|
|
||||||
|
(
|
||||||
|
cd %{buildroot}%{ghclibdir}/lib/bin
|
||||||
|
for i in *; do
|
||||||
|
if [ -f %{buildroot}%{ghclibdir}/bin/$i ]; then
|
||||||
|
ln -sf ../../bin/$i
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
)
|
||||||
|
|
||||||
|
%check
|
||||||
|
# Actually, I took this from Jens Petersen's Fedora package
|
||||||
|
# stolen from ghc6/debian/rules:
|
||||||
|
#Do some very simple tests that the compiler actually works
|
||||||
|
export LANG=C.utf8
|
||||||
|
export LD_LIBRARY_PATH=%{buildroot}%{ghclibplatform}:
|
||||||
|
GHC=%{buildroot}%{ghclibdir}/bin/ghc
|
||||||
|
# Do some very simple tests that the compiler actually works
|
||||||
|
rm -rf testghc
|
||||||
|
mkdir testghc
|
||||||
|
echo 'main = putStrLn "Foo"' > testghc/foo.hs
|
||||||
|
$GHC testghc/foo.hs -o testghc/foo
|
||||||
|
[ "$(testghc/foo)" = "Foo" ]
|
||||||
|
rm testghc/*
|
||||||
|
echo 'main = putStrLn "Foo"' > testghc/foo.hs
|
||||||
|
$GHC testghc/foo.hs -o testghc/foo -O2
|
||||||
|
[ "$(testghc/foo)" = "Foo" ]
|
||||||
|
rm testghc/*
|
||||||
|
echo 'main = putStrLn "Foo"' > testghc/foo.hs
|
||||||
|
$GHC testghc/foo.hs -o testghc/foo -dynamic
|
||||||
|
[ "$(testghc/foo)" = "Foo" ]
|
||||||
|
rm testghc/*
|
||||||
|
|
||||||
|
$GHC --info
|
||||||
|
|
||||||
|
%transfiletriggerin compiler -- %{ghcliblib}/package.conf.d
|
||||||
|
%ghc_pkg_recache
|
||||||
|
%end
|
||||||
|
|
||||||
|
%transfiletriggerpostun compiler -- %{ghcliblib}/package.conf.d
|
||||||
|
%ghc_pkg_recache
|
||||||
|
%end
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSE
|
||||||
|
|
||||||
|
%files compiler
|
||||||
|
%license LICENSE
|
||||||
|
%doc README.md
|
||||||
|
%{_bindir}/ghc-%{version}
|
||||||
|
%{_bindir}/ghc-pkg-%{version}
|
||||||
|
%{_bindir}/ghci-%{version}
|
||||||
|
%{_bindir}/hp2ps-%{?with_hadrian:ghc-}%{version}
|
||||||
|
%{_bindir}/hpc-%{?with_hadrian:ghc-}%{version}
|
||||||
|
%{_bindir}/hsc2hs-%{?with_hadrian:ghc-}%{version}
|
||||||
|
%{_bindir}/runghc-%{version}
|
||||||
|
%{_bindir}/runhaskell-%{version}
|
||||||
|
%{_bindir}/ghc
|
||||||
|
%{_bindir}/ghc-pkg
|
||||||
|
%{_bindir}/ghci
|
||||||
|
%{_bindir}/haddock
|
||||||
|
%{_bindir}/hp2ps
|
||||||
|
%{_bindir}/hpc
|
||||||
|
%{_bindir}/hsc2hs
|
||||||
|
%{_bindir}/runghc
|
||||||
|
%{_bindir}/runhaskell
|
||||||
|
%dir %{ghclibdir}
|
||||||
|
%dir %{ghcliblib}
|
||||||
|
%dir %{ghcliblib}/%{ghcplatform}
|
||||||
|
%dir %{ghclibdir}/bin
|
||||||
|
%dir %{ghcliblib}/bin
|
||||||
|
%{ghclibdir}/bin/ghc
|
||||||
|
%{ghclibdir}/bin/ghc-iserv
|
||||||
|
%{ghclibdir}/bin/ghc-iserv-dyn
|
||||||
|
%{ghclibdir}/bin/ghc-pkg
|
||||||
|
%{ghclibdir}/bin/hpc
|
||||||
|
%{ghclibdir}/bin/hsc2hs
|
||||||
|
%{ghclibdir}/bin/runghc
|
||||||
|
%{ghclibdir}/bin/hp2ps
|
||||||
|
%{ghclibdir}/bin/unlit
|
||||||
|
%{ghclibdir}/bin/ghc-%{version}
|
||||||
|
%{ghclibdir}/bin/ghc-iserv-ghc-%{version}
|
||||||
|
%{ghclibdir}/bin/ghc-iserv-dyn-ghc-%{version}
|
||||||
|
%{ghclibdir}/bin/ghc-pkg-%{version}
|
||||||
|
%{ghclibdir}/bin/haddock
|
||||||
|
%{ghclibdir}/bin/haddock-ghc-%{version}
|
||||||
|
%{ghclibdir}/bin/hp2ps-ghc-%{version}
|
||||||
|
%{ghclibdir}/bin/hpc-ghc-%{version}
|
||||||
|
%{ghclibdir}/bin/hsc2hs-ghc-%{version}
|
||||||
|
%{ghclibdir}/bin/runghc-%{version}
|
||||||
|
%{ghclibdir}/bin/runhaskell
|
||||||
|
%{ghclibdir}/bin/runhaskell-%{version}
|
||||||
|
%{ghclibdir}/bin/unlit-ghc-%{version}
|
||||||
|
%{ghclibdir}/lib/bin/ghc-iserv
|
||||||
|
%{ghclibdir}/lib/bin/ghc-iserv-dyn
|
||||||
|
%{ghclibdir}/lib/bin/unlit
|
||||||
|
%{ghcliblib}/ghc-interp.js
|
||||||
|
%{ghcliblib}/ghc-usage.txt
|
||||||
|
%{ghcliblib}/ghci-usage.txt
|
||||||
|
%{ghcliblib}/llvm-passes
|
||||||
|
%{ghcliblib}/llvm-targets
|
||||||
|
%dir %{ghcliblib}/package.conf.d
|
||||||
|
%ghost %{ghcliblib}/package.conf.d/package.cache
|
||||||
|
%{ghcliblib}/package.conf.d/package.cache.lock
|
||||||
|
%{ghcliblib}/settings
|
||||||
|
%{ghcliblib}/template-hsc.h
|
||||||
|
%{_mandir}/man1/ghc-pkg.1%{?ext_man}
|
||||||
|
%{_mandir}/man1/haddock.1%{?ext_man}
|
||||||
|
%{_mandir}/man1/runghc.1%{?ext_man}
|
||||||
|
%{_bindir}/haddock-ghc-%{version}
|
||||||
|
%{ghcliblib}/html
|
||||||
|
%{ghcliblib}/latex
|
||||||
|
%if %{with haddock} || (%{with hadrian} && %{with manual})
|
||||||
|
%{ghc_html_libraries_dir}/prologue.txt
|
||||||
|
%endif
|
||||||
|
%if %{with haddock}
|
||||||
|
%verify(not size mtime) %{ghc_html_libraries_dir}/haddock-bundle.min.js
|
||||||
|
%verify(not size mtime) %{ghc_html_libraries_dir}/linuwial.css
|
||||||
|
%verify(not size mtime) %{ghc_html_libraries_dir}/quick-jump.css
|
||||||
|
%verify(not size mtime) %{ghc_html_libraries_dir}/synopsis.png
|
||||||
|
%endif
|
||||||
|
%if %{with manual} && %{without hadrian}
|
||||||
|
%{_mandir}/man1/ghc.1%{?ext_man}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
|
||||||
|
%if %{with haddock} || (%{with hadrian} && %{with manual})
|
||||||
|
%files doc
|
||||||
|
%{ghc_html_dir}/index.html
|
||||||
|
|
||||||
|
%files doc-index
|
||||||
|
%{ghc_html_libraries_dir}/gen_contents_index
|
||||||
|
%if %{with haddock}
|
||||||
|
%verify(not size mtime) %{ghc_html_libraries_dir}/doc-index*.html
|
||||||
|
%verify(not size mtime) %{ghc_html_libraries_dir}/index*.html
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%files filesystem
|
||||||
|
%dir %_ghc_doc_dir
|
||||||
|
%dir %ghc_html_dir
|
||||||
|
%dir %ghc_html_libraries_dir
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if %{with manual}
|
||||||
|
%files manual
|
||||||
|
%{ghc_html_dir}/users_guide
|
||||||
|
%if %{with hadrian}
|
||||||
|
%{ghc_html_dir}/Haddock
|
||||||
|
%else
|
||||||
|
%if %{with haddock}
|
||||||
|
%{ghc_html_dir}/haddock
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if %{with ghc_prof}
|
||||||
|
%files prof
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%changelog
|
231
haddock.man
Normal file
231
haddock.man
Normal file
@ -0,0 +1,231 @@
|
|||||||
|
.TH HADDOCK 1 "July 2010" "Haddock, version 2.6.1" "Haddock documentation generator"
|
||||||
|
|
||||||
|
|
||||||
|
.SH NAME
|
||||||
|
haddock \- documentation tool for annotated Haskell source code
|
||||||
|
|
||||||
|
|
||||||
|
.SH SYNOPSIS
|
||||||
|
.B haddock
|
||||||
|
.RI [ options ] " file" ...
|
||||||
|
|
||||||
|
|
||||||
|
.SH DESCRIPTION
|
||||||
|
This manual page documents briefly the
|
||||||
|
.B haddock
|
||||||
|
command.
|
||||||
|
Extensive documentation is available in various other formats including DVI,
|
||||||
|
PostScript and HTML; see below.
|
||||||
|
|
||||||
|
.PP
|
||||||
|
.I file
|
||||||
|
is a filename containing a Haskell source module.
|
||||||
|
All the modules specified on the command line will be processed together.
|
||||||
|
When one module refers to an entity in another module being processed, the
|
||||||
|
documentation will link directly to that entity.
|
||||||
|
|
||||||
|
Entities that cannot be found, for example because they are in a module that
|
||||||
|
is not being processed as part of the current batch, simply will not be
|
||||||
|
hyperlinked in the generated documentation.
|
||||||
|
.B haddock
|
||||||
|
will emit warnings listing all the identifiers it could not resolve.
|
||||||
|
|
||||||
|
The modules should not be mutually recursive, as
|
||||||
|
.B haddock
|
||||||
|
does not like swimming in circles.
|
||||||
|
|
||||||
|
|
||||||
|
.SH OPTIONS
|
||||||
|
The programs follow the usual GNU command line syntax, with long
|
||||||
|
options starting with two dashes (`--').
|
||||||
|
A summary of options is included below.
|
||||||
|
For a complete description, see the other documentation.
|
||||||
|
|
||||||
|
.TP
|
||||||
|
\fB\-o \fIDIR\fP, \-\-odir=\fIDIR\fP
|
||||||
|
directory in which to put the output files
|
||||||
|
|
||||||
|
.TP
|
||||||
|
\fB\-i \fIFILE\fP, \-\-read-interface=\fIFILE\fP
|
||||||
|
read an interface from
|
||||||
|
.IR FILE .
|
||||||
|
|
||||||
|
.TP
|
||||||
|
\fB\-D \fIFILE\fP, \-\-dump\-interface=\fIFILE\fP
|
||||||
|
dump an interface for these modules in
|
||||||
|
.IR FILE .
|
||||||
|
|
||||||
|
.TP
|
||||||
|
\fB\-l \fIDIR\fP, \-\-lib=\fIDIR\fP
|
||||||
|
location of Haddock's auxiliary files
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.BR \-h ", " \-\-html
|
||||||
|
Generate documentation in HTML format.
|
||||||
|
Several files will be generated into the current directory (or the specified
|
||||||
|
directory if the
|
||||||
|
.B \-o
|
||||||
|
option is given), including the following:
|
||||||
|
.RS
|
||||||
|
.TP
|
||||||
|
.I index.html
|
||||||
|
The top level page of the documentation:
|
||||||
|
lists the modules available, using indentation to represent the hierarchy if
|
||||||
|
the modules are hierarchical.
|
||||||
|
.TP
|
||||||
|
.I haddock.css
|
||||||
|
The stylesheet used by the generated HTML.
|
||||||
|
Feel free to modify this to change the colors or layout, or even specify
|
||||||
|
your own stylesheet using the
|
||||||
|
.B \-\-css
|
||||||
|
option.
|
||||||
|
.TP
|
||||||
|
.I module.html
|
||||||
|
An HTML page for each module.
|
||||||
|
.TP
|
||||||
|
.IR doc-index.html ", " doc-index-XX.html
|
||||||
|
The index, split into two (functions/constructors and types/classes, as per
|
||||||
|
Haskell namespaces) and further split alphabetically.
|
||||||
|
.RE
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.B \-\-hoogle
|
||||||
|
output for Hoogle
|
||||||
|
|
||||||
|
.TP
|
||||||
|
\fB\-\-html\-help=\fIformat
|
||||||
|
produce index and table of contents in mshelp, mshelp2 or devhelp format
|
||||||
|
(with \fI\-h\fP)
|
||||||
|
|
||||||
|
.TP
|
||||||
|
\fB\-\-source\-base=\fPURL
|
||||||
|
Include links to the source files in the generated documentation, where URL
|
||||||
|
is the base URL where the source files can be found.
|
||||||
|
|
||||||
|
.TP
|
||||||
|
\fB\-s \fPURL, \fB\-\-source\-module=\fPURL
|
||||||
|
Include links to the source files in the generated documentation, where URL
|
||||||
|
is a source code link for each module (using the %{FILE} or %{MODULE} vars).
|
||||||
|
|
||||||
|
.TP
|
||||||
|
\fB\-\-source\-entity=\fPURL
|
||||||
|
Include links to the source files in the generated documentation, where URL
|
||||||
|
is a source code link for each entity (using the %{FILE}, %{MODULE} or %{NAME} vars).
|
||||||
|
|
||||||
|
.TP
|
||||||
|
\fB\-\-comments\-base=\fPURL
|
||||||
|
URL for a comments link on the contents and index pages.
|
||||||
|
.TP
|
||||||
|
\fB\-\-comments\-module=\fPURL
|
||||||
|
URL for a comments link for each module (using the %{MODULE} var).
|
||||||
|
.TP
|
||||||
|
\fB\-\-comments\-entity=\fPURL
|
||||||
|
URL for a comments link for each entity (using the %{FILE}, %{MODULE} or %{NAME} vars).
|
||||||
|
.TP
|
||||||
|
.BI \-\-css= FILE
|
||||||
|
Use the CSS
|
||||||
|
.I FILE
|
||||||
|
instead of the default stylesheet that comes with
|
||||||
|
.B haddock
|
||||||
|
for HTML output. It should specify certain classes: see the default stylesheet for details.
|
||||||
|
|
||||||
|
.TP
|
||||||
|
\fB\-p \fIFILE\fP, \-\-prologue=\fIFILE\fP
|
||||||
|
Specify a file containing prologue text.
|
||||||
|
|
||||||
|
.TP
|
||||||
|
\fB\-t \fITITLE\fP, \-\-title=\fITITLE\fP
|
||||||
|
Use \fITITLE\fP as the page heading for each page in the documentation.
|
||||||
|
This will normally be the name of the library being documented.
|
||||||
|
|
||||||
|
The title should be a plain string (no markup please!).
|
||||||
|
|
||||||
|
.TP
|
||||||
|
\fB\-k \fINAME\fP, \-\-package=\fINAME\fP
|
||||||
|
Specify the package name (optional).
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.BR \-n ", " \-\-no\-implicit\-prelude
|
||||||
|
do not assume Prelude is imported
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.BR \-d ", " \-\-debug
|
||||||
|
Enable extra debugging output.
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.BR \-? ", " \-\-help
|
||||||
|
Display help.
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.BR \-V ", " \-\-version
|
||||||
|
Display version.
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.BR \-v ", " \-\-verbose
|
||||||
|
Verbose status reporting.
|
||||||
|
|
||||||
|
.TP
|
||||||
|
\fB\-\-use\-contents=\fPURL
|
||||||
|
Use a separately-generated HTML contents page.
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.B \-\-gen\-contents
|
||||||
|
Generate an HTML contents from specified interfaces.
|
||||||
|
|
||||||
|
.TP
|
||||||
|
\fB\-\-use\-index=\fPURL
|
||||||
|
Use a separately-generated HTML index.
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.B \-\-gen\-index
|
||||||
|
Generate an HTML index from specified interfaces.
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.B \-\-ignore\-all\-exports
|
||||||
|
Behave as if all modules have the ignore-exports atribute
|
||||||
|
|
||||||
|
.TP
|
||||||
|
\fB\-\-hide=\fIMODULE
|
||||||
|
Behave as if \fIMODULE\fP has the hide attribute.
|
||||||
|
|
||||||
|
.TP
|
||||||
|
\fB\-\-use\-package=\fIPACKAGE
|
||||||
|
The modules being processed depend on \fIPACKAGE\fP.
|
||||||
|
|
||||||
|
.SH FILES
|
||||||
|
.I /usr/bin/haddock
|
||||||
|
.br
|
||||||
|
.I /usr/share/haddock-2.6.1/html/plus.gif
|
||||||
|
.br
|
||||||
|
.I /usr/share/haddock-2.6.1/html/minus.gif
|
||||||
|
.br
|
||||||
|
.I /usr/share/haddock-2.6.1/html/haskell_icon.gif
|
||||||
|
.br
|
||||||
|
.I /usr/share/haddock-2.6.1/html/haddock.js
|
||||||
|
.br
|
||||||
|
.I /usr/share/haddock-2.6.1/html/haddock.css
|
||||||
|
.br
|
||||||
|
.I /usr/share/haddock-2.6.1/html/haddock-DEBUG.css
|
||||||
|
|
||||||
|
.SH SEE ALSO
|
||||||
|
.IR /usr/share/doc/haddock/ ,
|
||||||
|
.br
|
||||||
|
the Haddock homepage
|
||||||
|
.UR http://haskell.org/haddock/
|
||||||
|
(http://haskell.org/haddock/)
|
||||||
|
.UE
|
||||||
|
|
||||||
|
.SH COPYRIGHT
|
||||||
|
Haddock version 2.6.1
|
||||||
|
|
||||||
|
Copyright 2006-2010 Simon Marlow <simonmar@microsoft.com>, Dawid Waern <david.waern@gmail.com>.
|
||||||
|
All rights reserved.
|
||||||
|
|
||||||
|
|
||||||
|
.SH AUTHOR
|
||||||
|
This manual page was written by Michael Weber <michaelw@debian.org>
|
||||||
|
for the Debian GNU/Linux system (but may be used by others).
|
||||||
|
|
||||||
|
.\" Local variables:
|
||||||
|
.\" mode: nroff
|
||||||
|
.\" End:
|
45
runghc.man
Normal file
45
runghc.man
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
.TH RUNGHC 1 "28 NOVEMBER 2007"
|
||||||
|
.SH NAME
|
||||||
|
runghc \- program to run Haskell programs without first having to compile them.
|
||||||
|
.SH SYNOPSIS
|
||||||
|
.B runghc
|
||||||
|
.RI
|
||||||
|
[runghc|flags] [GHC|flags] module [program|flags]...
|
||||||
|
.br
|
||||||
|
.SH DESCRIPTION
|
||||||
|
.B runghc
|
||||||
|
is considered a non-interactive interpreter and part of The Glasgow Haskell Compiler.
|
||||||
|
.B runghc
|
||||||
|
is a compiler that automatically runs its results at the end.
|
||||||
|
.PP
|
||||||
|
.SH OPTIONS
|
||||||
|
.TP
|
||||||
|
the flags are:
|
||||||
|
.TP
|
||||||
|
.B \-f
|
||||||
|
it tells runghc which GHC to use to run the program. If it is not given then runghc will search for GHC in the directories in the system search path. runghc -f /path/to/ghc
|
||||||
|
.TP
|
||||||
|
.B \--
|
||||||
|
runghc will try to work out where the boundaries between [runghc flags] and [GHC flags], and [GHC flags] and module are, but you can use a -- flag if it doesn't get it right. For example, runghc -- -fglasgow-exts Foo
|
||||||
|
means runghc won't try to use glasgow-exts as the path to GHC, but instead will pass the flag to GHC.
|
||||||
|
|
||||||
|
.SH EXAMPLES
|
||||||
|
.TP
|
||||||
|
.B runghc foo
|
||||||
|
.PP
|
||||||
|
.B runghc -f /path/to/ghc foo
|
||||||
|
.TP
|
||||||
|
.B runghc -- -fglasgow-exts Foo
|
||||||
|
|
||||||
|
.SH SEE ALSO
|
||||||
|
.BR ghc (1),
|
||||||
|
.BR ghci (1).
|
||||||
|
.br
|
||||||
|
|
||||||
|
.SH COPYRIGHT
|
||||||
|
Copyright 2002, The University Court of the University of Glasgow. All rights reserved.
|
||||||
|
|
||||||
|
.SH AUTHOR
|
||||||
|
This manual page was written by Efrain Valles Pulgar <effie.jayx@gmail.com>. This is free documentation; see the GNU
|
||||||
|
General Public Licence version 2 or later for copying conditions. There is NO WARRANTY.
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user