Sat Mar 8 20:49:42 CET 2008 Mads Lindstroem <[EMAIL PROTECTED]>
* Initial support for Debian DEB files
This is only initial support. No doubt some tweaking will be needed
before it is finished.
Sat Mar 8 20:53:18 CET 2008 Mads Lindstroem <[EMAIL PROTECTED]>
* Delete DataTimeTest.hs file after DataTime test
New patches:
[Initial support for Debian DEB files
Mads Lindstroem <[EMAIL PROTECTED]>**20080308194942
This is only initial support. No doubt some tweaking will be needed
before it is finished.
] {
hunk ./configure 1144
+
+# generate DEB installer files
+
+mkdir config/DEBIAN
+
+cat > config/DEBIAN/control << EOF
+Package: libghc6-6-wxhaskell
+Version: 0.10.3
+Section: devel
+Priority: optional
+Architecture: i386
+Essential: no
+Depends: ghc6 (>= 6.6-3), libwxgtk2.6-0 (>= 2.6.3.2.1.5)
+Installed-Size: 1024
+Maintainer: Mads Lindstroem [EMAIL PROTECTED]
+Description: wxHaskell is a portable and native GUI library for Haskell
+EOF
+
+
+cat > config/DEBIAN/prerm << EOF
+#!/bin/sh
+ghc-pkg -r wx
+ghc-pkg -r wxcore
+exit 0
+EOF
+
+cat > config/DEBIAN/postinst << EOF
+#!/bin/sh
+cat /usr/local/lib/wxcore.pkg | sed -e "s|\\\${wxhlibdir}|/usr/local/lib|" | ghc-pkg update -
+cat /usr/local/lib/wx.pkg | sed -e "s|\\\${wxhlibdir}|/usr/local/lib|" | ghc-pkg update -
+EOF
hunk ./makefile 35
+ @echo " debdist unix DEB installer (no docs and samples included)"
hunk ./makefile 389
+# DEB dist
+DEBIAN_DIST=dist/debian
+DEBIAN_INSTALL_LOCACTION=$(DEBIAN_DIST)/usr/local
+DEB_NAME=dist/wxhaskell-bin-$(REL-VERSION).deb
+
+debdist: debdist-clean bindist-clean dist-dirs wxc-bindist wxcore-bindist wx-bindist
+ @$(call ensure-dir,$(DEBIAN_DIST))
+ @$(call cp-echo,config/DEBIAN,$(DEBIAN_DIST)/DEBIAN)
+ @$(call ensure-dir,$(DEBIAN_INSTALL_LOCACTION))
+ @$(call cp-echo,$(BINDIST-LIBDIR),$(DEBIAN_INSTALL_LOCACTION))
+ # copy packages
+ @$(call cp-echo,config/wxcore.pkg,$(DEBIAN_INSTALL_LOCACTION)/lib/wxcore.pkg)
+ @$(call cp-echo,config/wx.pkg,$(DEBIAN_INSTALL_LOCACTION)/lib/wx.pkg)
+ # permissions
+ chmod 555 $(DEBIAN_DIST)/DEBIAN/prerm
+ chmod 555 $(DEBIAN_DIST)/DEBIAN/postinst
+ # dpkg
+ dpkg --build dist/debian/ $(DEB_NAME)
+
+debdist-clean:
+ @$(RM) $(DEB_NAME)
+ [EMAIL PROTECTED](call full-remove-dir,$(DEBIAN_DIST))
}
[Delete DataTimeTest.hs file after DataTime test
Mads Lindstroem <[EMAIL PROTECTED]>**20080308195318] {
hunk ./configure 679
-#rm TestDataTime.hs
+rm TestDataTime.hs
}
Context:
[Add architecture to macdist (as pointed out by shelarcy).
Eric Kow <[EMAIL PROTECTED]>**20080308131459]
[List up changes since 0.9.4-1 in changes.txt.
shelarcy <[EMAIL PROTECTED]>**20080308060351]
[Fix: haddock2 support doesn't work on Windows.
shelarcy <[EMAIL PROTECTED]>**20080308043834]
[TAG 0.10.3rc1
Eric Kow <[EMAIL PROTECTED]>**20080308130252]
Patch bundle hash:
68b03abff65b7e38c231ff3211c2785a3013badd
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel