![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package ghc-hsinstall for openSUSE:Factory checked in at 2017-08-31 20:56:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-hsinstall (Old) and /work/SRC/openSUSE:Factory/.ghc-hsinstall.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "ghc-hsinstall" Thu Aug 31 20:56:19 2017 rev:2 rq:513388 version:1.6 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-hsinstall/ghc-hsinstall.changes 2017-04-12 18:07:03.135704903 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-hsinstall.new/ghc-hsinstall.changes 2017-08-31 20:56:24.415893379 +0200 @@ -1,0 +2,5 @@ +Thu Jul 27 14:05:54 UTC 2017 - psimons@suse.com + +- Update to version 1.6. + +------------------------------------------------------------------- Old: ---- hsinstall-1.5.tar.gz New: ---- hsinstall-1.6.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-hsinstall.spec ++++++ --- /var/tmp/diff_new_pack.v9leQy/_old 2017-08-31 20:56:25.467745590 +0200 +++ /var/tmp/diff_new_pack.v9leQy/_new 2017-08-31 20:56:25.487742781 +0200 @@ -18,7 +18,7 @@ %global pkg_name hsinstall Name: ghc-%{pkg_name} -Version: 1.5 +Version: 1.6 Release: 0 Summary: Install Haskell software License: ISC @@ -76,6 +76,6 @@ %files devel -f %{name}-devel.files %defattr(-,root,root,-) -%doc README.md changelog.md +%doc README.md changelog.md doc %changelog ++++++ hsinstall-1.5.tar.gz -> hsinstall-1.6.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hsinstall-1.5/LICENSE new/hsinstall-1.6/LICENSE --- old/hsinstall-1.5/LICENSE 2016-09-20 18:17:19.000000000 +0200 +++ new/hsinstall-1.6/LICENSE 2017-07-02 02:52:58.000000000 +0200 @@ -1,4 +1,4 @@ -Copyright (c) 2016, Dino Morelli <dino@ui3.info> +Copyright (c) 2016-2017, Dino Morelli <dino@ui3.info> Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hsinstall-1.5/README.md new/hsinstall-1.6/README.md --- old/hsinstall-1.5/README.md 2016-10-07 21:54:59.000000000 +0200 +++ new/hsinstall-1.6/README.md 2017-07-02 02:52:58.000000000 +0200 @@ -79,10 +79,10 @@ packages: - '.' - - location: /path/to/hsinstall-1.3 + - location: /path/to/hsinstall-x.y extra-dep: true extra-deps: - - hsinstall-1.3 + - hsinstall-x.y And then you should be able to build against this copy of hsinstall. Of course, these are just examples, the version numbers diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hsinstall-1.5/changelog.md new/hsinstall-1.6/changelog.md --- old/hsinstall-1.5/changelog.md 2016-10-16 21:50:57.000000000 +0200 +++ new/hsinstall-1.6/changelog.md 2017-07-02 02:52:58.000000000 +0200 @@ -1,3 +1,13 @@ +1.6 (2017-07-01) + + * Changed base lower bound from 4.9 to 4.8 + * Updated stack snapshot to lts-8.21 + * Added HCAR listing content + * Removed defunct cabal stability field + * Adjusted some documentation in the README + * Moved copyright date up to 2017 + + 1.5 (2016-10-16) * Now creating bin directory prior to stack install diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hsinstall-1.5/doc/hcar/hsinstall.tex new/hsinstall-1.6/doc/hcar/hsinstall.tex --- old/hsinstall-1.5/doc/hcar/hsinstall.tex 1970-01-01 01:00:00.000000000 +0100 +++ new/hsinstall-1.6/doc/hcar/hsinstall.tex 2017-07-02 01:32:53.000000000 +0200 @@ -0,0 +1,86 @@ +% hsinstall.tex +\begin{hcarentry}[new]{hsinstall} +\report{Dino Morelli} +\status{stable, actively developed} +\makeheader + +\vspace{5mm} + +This is a utility to install Haskell programs on a system using +stack. Although stack does have an `install` command, it only copies +binaries. Sometimes more is needed, other files and some directory +structure. hsinstall tries to install the binaries, the LICENSE +file and also the resources directory if it finds one. + +\vspace{5mm} + +Installations can be performed in one of two directory +structures. FHS, or the Filesystem Hierarchy Standard (most UNIX-like +systems) and what I call "bundle" which is a portable directory +for the app and all of its files. They look like this: + +\vspace{5mm} + +bundle is sort-of a self-contained structure like this: + +\vspace{5mm} + +\begin{verbatim} + $PREFIX/ + $PROJECT-$VERSION/ + bin/... + doc/LICENSE + resources/... +\end{verbatim} + +\vspace{5mm} + +fhs is the more traditional UNIX structure like this: + +\vspace{5mm} + +\begin{verbatim} + $PREFIX/ + bin/... + share/ + $PROJECT-$VERSION/ + doc/LICENSE + resources/... +\end{verbatim} + +\vspace{5mm} + +There are two parts to hsinstall that are intended to work +together. The first part is a Haskell shell script, +`util/install.hs`. Take a copy of this script and check it into +a project you're working on. This will be your installation +script. Running the script with the `--help` switch will explain +the options. Near the top of the script are default values for +these options that should be tuned to what your project needs. + +\vspace{5mm} + +The other part of hsinstall is a library. The install script will try +to install a `resources` directory if it finds one. the HSInstall +library can then be used in your code to locate the resources +at runtime. + +\vspace{5mm} + +Note that you only need the library if your software has data files +it needs to locate at runtime in the installation directories. Many +programs don't have this requirement and can ignore the library +altogether. + +\vspace{5mm} + +Source code is available on darcshub, Hackage and Stackage + +\FurtherReading +\begin{compactitem} + \item hsinstall on darcshub \url{http://hub.darcs.net/dino/hsinstall} + \item hsinstall on Hackage \url{https://hackage.haskell.org/package/hsinstall} + \item hsinstall on Stackage \url{https://www.stackage.org/package/hsinstall} +\end{compactitem} + +\end{hcarentry} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hsinstall-1.5/hsinstall.cabal new/hsinstall-1.6/hsinstall.cabal --- old/hsinstall-1.5/hsinstall.cabal 2016-10-16 18:41:32.000000000 +0200 +++ new/hsinstall-1.6/hsinstall.cabal 2017-07-02 17:09:47.000000000 +0200 @@ -1,5 +1,5 @@ name: hsinstall -version: 1.5 +version: 1.6 synopsis: Install Haskell software description: This is a utility to install Haskell programs on a system using stack. Even though stack has an `install` command, I found it to be not enough for my needs. This software tries to install the binaries, the LICENSE file and also the resources directory if it finds one. There is also an optional library component to assist with locating installed data files at runtime. homepage: @@ -7,14 +7,14 @@ license-file: LICENSE author: Dino Morelli maintainer: Dino Morelli <dino@ui3.info> -copyright: 2016 Dino Morelli -stability: experimental +copyright: 2016-2017 Dino Morelli category: Utility build-type: Simple cabal-version: >=1.10 tested-with: GHC >= 8.0.1 data-files: resources/foo extra-source-files: changelog.md + doc/hcar/hsinstall.tex README.md resources/foo stack.yaml @@ -25,7 +25,7 @@ hs-source-dirs: app main-is: Main.hs ghc-options: -Wall - build-depends: base >= 4.9 && < 5.0 + build-depends: base >= 4.8 && < 5.0 , directory , filepath , hsinstall @@ -35,7 +35,7 @@ hs-source-dirs: src exposed-modules: HSInstall ghc-options: -Wall - build-depends: base >= 4.9 && < 5.0 + build-depends: base >= 4.8 && < 5.0 , directory , filepath default-language: Haskell2010 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hsinstall-1.5/stack.yaml new/hsinstall-1.6/stack.yaml --- old/hsinstall-1.5/stack.yaml 2016-10-16 18:43:24.000000000 +0200 +++ new/hsinstall-1.6/stack.yaml 2017-07-02 02:52:58.000000000 +0200 @@ -1,4 +1,4 @@ -resolver: lts-7.2 +resolver: lts-8.21 packages: - '.'