[Pkg-haskell-commits] darcs: haskell-hoogle: add update-hoogle command to create database

kiwamu at debian.or.jp kiwamu at debian.or.jp
Mon Sep 10 16:49:35 UTC 2012


Mon Sep 10 16:45:57 UTC 2012  kiwamu at debian.or.jp
  * add update-hoogle command to create database
  Ignore-this: 5a30e66a0d1ce4c05a5adf24ed50c4f6

    M ./control -2 +3
    M ./hoogle.dirs +4
    M ./hoogle.install -1 +2
    M ./rules +2

Mon Sep 10 16:45:57 UTC 2012  kiwamu at debian.or.jp
  * add update-hoogle command to create database
  Ignore-this: 5a30e66a0d1ce4c05a5adf24ed50c4f6
diff -rN -u old-haskell-hoogle//control new-haskell-hoogle//control
--- old-haskell-hoogle//control	2012-09-10 16:49:34.925822598 +0000
+++ new-haskell-hoogle//control	2012-09-10 16:49:34.948828602 +0000
@@ -115,11 +115,12 @@
 Package: hoogle
 Architecture: any
 Section: misc
-Depends: ${shlibs:Depends}, ${haskell:Depends}, ${misc:Depends}
-Suggests: apache2
+Depends: ${shlibs:Depends}, ${haskell:Depends}, ${misc:Depends}, ghc | ghc6, haskell-platform
+Recommends: apache2, dwww
 Description: Haskell API Search for Debian system
  Hoogle is a Haskell API search engine, which allows you to
  search many standard Haskell libraries by either function name,
  or by approximate type signature.
  .
  This package contains hoogle command and cgi settings.
+ You can read hoogle page as http://localhost/cgi-bin/hoogle.
diff -rN -u old-haskell-hoogle//hoogle.dirs new-haskell-hoogle//hoogle.dirs
--- old-haskell-hoogle//hoogle.dirs	2012-09-10 16:49:34.925822598 +0000
+++ new-haskell-hoogle//hoogle.dirs	2012-09-10 16:49:34.948828602 +0000
@@ -1,2 +1,6 @@
+usr/share/hoogle/predownload
+usr/share/hoogle/tool
+usr/sbin
+usr/bin
 var/www
 var/lib/hoogle/databases
diff -rN -u old-haskell-hoogle//hoogle.install new-haskell-hoogle//hoogle.install
--- old-haskell-hoogle//hoogle.install	2012-09-10 16:49:34.909822059 +0000
+++ new-haskell-hoogle//hoogle.install	2012-09-10 16:49:34.948828602 +0000
@@ -1,3 +1,4 @@
 debian/tmp-inst-*/usr/bin/* /usr/bin/
-debian/tmp-inst-*/usr/share/hoogle /usr/share/
+debian/tmp-inst-*/usr/share/hoogle/* /usr/share/hoogle/
 debian/apache.conf /etc/apache2/conf.d/hoogle
+debian/keyword.txt /usr/share/hoogle/predownload/
diff -rN -u old-haskell-hoogle//rules new-haskell-hoogle//rules
--- old-haskell-hoogle//rules	2012-09-10 16:49:34.909822059 +0000
+++ new-haskell-hoogle//rules	2012-09-10 16:49:34.957823279 +0000
@@ -9,3 +9,5 @@
 binary-fixup/hoogle::
 	sed -i -e "s/res\//\/hoogle\//g" $(HOOGLE_RESDIR)/template.html
 	sed -i -e "s/action=\"\.\"/action=\"\.\/hoogle\"/g" $(HOOGLE_RESDIR)/template.html
+	install debian/update-hoogle debian/hoogle/usr/sbin/
+	install debian/haddock_collect.hs debian/hoogle/usr/share/hoogle/tool/





More information about the Pkg-haskell-commits mailing list