[Pkg-haskell-commits] darcs: haskell-hsqml: Add new pkg-config conf file to stdout patch for HsQML-0.3.3.0.

Christopher Reichert creichert07 at gmail.com
Thu Jan 22 17:44:44 UTC 2015


Thu Jan 22 17:23:15 UTC 2015  Christopher Reichert <creichert07 at gmail.com>
  * Add new pkg-config conf file to stdout patch for HsQML-0.3.3.0.

    R ./patches/pkgconfig-hack.patch
    M ./patches/series -1 +1

Thu Jan 22 17:23:15 UTC 2015  Christopher Reichert <creichert07 at gmail.com>
  * Add new pkg-config conf file to stdout patch for HsQML-0.3.3.0.
diff -rN -u old-haskell-hsqml/patches/pkgconfig-hack.patch new-haskell-hsqml/patches/pkgconfig-hack.patch
--- old-haskell-hsqml/patches/pkgconfig-hack.patch	2015-01-22 17:44:44.319493655 +0000
+++ new-haskell-hsqml/patches/pkgconfig-hack.patch	1970-01-01 00:00:00.000000000 +0000
@@ -1,27 +0,0 @@
---- a/Setup.hs
-+++ b/Setup.hs
-@@ -16,6 +16,7 @@
- import Distribution.Simple.Utils
- import Distribution.Text
- import Distribution.Verbosity
-+import qualified Data.Version as V
- import qualified Distribution.InstalledPackageInfo as I
- import qualified Distribution.ModuleName as ModuleName
- import Distribution.PackageDescription
-@@ -237,6 +238,8 @@
-       dist    = fromFlag $ regDistPref flags
-       pkgDb   = withPackageDB lbi
-       clbi    = extractCLBI lbi
-+      PackageName name = packageName pkg
-+      version = packageVersion pkg
-   instPkgInfo <- generateRegistrationInfo
-     verb pkg lib lbi clbi inplace dist
-   let instPkgInfo' = instPkgInfo {
-@@ -252,6 +255,7 @@
-     Just regFile -> do
-       writeUTF8File (fromMaybe (display (packageId pkg) <.> "conf") regFile) $
-         I.showInstalledPackageInfo instPkgInfo'
-+      putStrLn ("Creating package registration file: " ++ name ++ "-" ++ V.showVersion version ++ ".conf")
-     _ | fromFlag (regGenScript flags) ->
-       die "Registration scripts are not implemented."
-       | otherwise -> 
diff -rN -u old-haskell-hsqml/patches/series new-haskell-hsqml/patches/series
--- old-haskell-hsqml/patches/series	2015-01-22 17:44:44.319493655 +0000
+++ new-haskell-hsqml/patches/series	2015-01-22 17:44:44.323493659 +0000
@@ -1 +1 @@
-pkgconfig-hack.patch
+pkgconfig-conf-stdout.patch




More information about the Pkg-haskell-commits mailing list