--- gtk2hs-0.9.13.orig/svgcairo/Graphics/Rendering/Cairo/SVG.chs +++ gtk2hs-0.9.13/svgcairo/Graphics/Rendering/Cairo/SVG.chs @@ -200,6 +200,7 @@ svgRender svg = do cr <- ask liftIO $ {# call unsafe render_cairo #} svg cr + return () -- | Get the width and height of the SVG image. -- --- gtk2hs-0.9.13.orig/debian/control +++ gtk2hs-0.9.13/debian/control @@ -0,0 +1,217 @@ +Source: gtk2hs +Priority: optional +Section: libdevel +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Marco Túlio Gontijo e Silva +Uploaders: Joachim Breitner +Build-Depends: debhelper (>= 5), autoconf, automake, autotools-dev, haskell-devscripts, haddock, ghc6 (>= 6.8.2), ghc6 (<< 6.8.2+), ghc6-doc (>= 6.8.2), ghc6-doc (<< 6.8.2+), libghc6-mtl-dev (>= 1.1.0.0), libghc6-mtl-dev (<< 1.1.0.0+), libghc6-mtl-doc (>= 1.1.0.0), libghc6-mtl-doc (<< 1.1.0.0+), libgconf2-dev, libgnomevfs2-dev, libgstreamer-plugins-base0.10-dev, librsvg2-dev, libglade2-dev, libgtkglext1-dev, libgtksourceview-dev, dctrl-tools +Standards-Version: 3.8.0 +Homepage: http://haskell.org/gtk2hs/ +Vcs-Darcs: http://code.haskell.org/debian/gtk2hs/ + +Package: libghc6-glib-dev +Architecture: amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-i386 kfreebsd-amd64 m68k mips mipsel powerpc s390 sparc lpia +Depends: libglib2.0-dev, ${haskell:Depends}, ${shlibs:Depends} +Suggests: gtk2hs-doc +Description: A GUI library for Haskell (Gtk2Hs) -- GLib bindings + Gtk2Hs is a GUI library for Haskell based on GTK+, an extensive and + mature multi-platform GUI toolkit featuring: + . + - Automatic memory management. + - Near complete coverage of the GTK+ API. + - Unicode support. + - Extensive reference documentation. + - Support for Linux, Windows, Mac OS X and other Unix platforms. + . + This package provides bindings for GLib, the low-level core library that + forms the basis of GTK+ and GNOME. + +Package: libghc6-cairo-dev +Architecture: amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-i386 kfreebsd-amd64 m68k mips mipsel powerpc s390 sparc lpia +Depends: libcairo2-dev, libghc6-glib-dev (= ${binary:Version}), ${haskell:Depends}, ${shlibs:Depends} +Suggests: gtk2hs-doc +Description: A GUI library for Haskell (Gtk2Hs) -- Cairo bindings + Gtk2Hs is a GUI library for Haskell based on GTK+, an extensive and + mature multi-platform GUI toolkit featuring: + . + - Automatic memory management. + - Near complete coverage of the GTK+ API. + - Unicode support. + - Extensive reference documentation. + - Support for Linux, Windows, Mac OS X and other Unix platforms. + . + This package provides bindings for the Cairo vector graphics library. + +Package: libghc6-gconf-dev +Architecture: amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-i386 kfreebsd-amd64 m68k mips mipsel powerpc s390 sparc lpia +Depends: libgconf2-dev, libghc6-glib-dev (= ${binary:Version}), ${haskell:Depends}, ${shlibs:Depends} +Suggests: gtk2hs-doc +Description: A GUI library for Haskell (Gtk2Hs) -- GConf bindings + Gtk2Hs is a GUI library for Haskell based on GTK+, an extensive and + mature multi-platform GUI toolkit featuring: + . + - Automatic memory management. + - Near complete coverage of the GTK+ API. + - Unicode support. + - Extensive reference documentation. + - Support for Linux, Windows, Mac OS X and other Unix platforms. + . + This package provides bindings for GConf, GNOME's system for storing + application preferences. + +Package: libghc6-gnomevfs-dev +Architecture: amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-i386 kfreebsd-amd64 m68k mips mipsel powerpc s390 sparc lpia +Depends: libgnomevfs2-dev, libghc6-glib-dev (= ${binary:Version}), ${haskell:Depends}, ${shlibs:Depends} +Suggests: gtk2hs-doc +Description: A GUI library for Haskell (Gtk2Hs) -- GNOME VFS bindings + Gtk2Hs is a GUI library for Haskell based on GTK+, an extensive and + mature multi-platform GUI toolkit featuring: + . + - Automatic memory management. + - Near complete coverage of the GTK+ API. + - Unicode support. + - Extensive reference documentation. + - Support for Linux, Windows, Mac OS X and other Unix platforms. + . + This package provides bindings for GNOME Virtual File System, GNOME's file + system application library. + +Package: libghc6-gstreamer-dev +Architecture: amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-i386 kfreebsd-amd64 m68k mips mipsel powerpc s390 sparc lpia +Depends: libgstreamer-plugins-base0.10-dev, libghc6-glib-dev (= ${binary:Version}), ${haskell:Depends}, ${shlibs:Depends} +Suggests: gtk2hs-doc +Description: A GUI library for Haskell (Gtk2Hs) -- GStreamer bindings + Gtk2Hs is a GUI library for Haskell based on GTK+, an extensive and + mature multi-platform GUI toolkit featuring: + . + - Automatic memory management. + - Near complete coverage of the GTK+ API. + - Unicode support. + - Extensive reference documentation. + - Support for Linux, Windows, Mac OS X and other Unix platforms. + . + This package provides bindings for GStreamer, a library for constructing of + graphs of media-handling components. + +Package: libghc6-gtk-dev +Architecture: amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-i386 kfreebsd-amd64 m68k mips mipsel powerpc s390 sparc lpia +Depends: libgtk2.0-dev, libghc6-glib-dev (= ${binary:Version}), libghc6-cairo-dev (= ${binary:Version}), ${haskell:Depends}, ${shlibs:Depends} +Suggests: gtk2hs-doc +Description: A GUI library for Haskell (Gtk2Hs) -- GTK+ bindings + Gtk2Hs is a GUI library for Haskell based on GTK+, an extensive and + mature multi-platform GUI toolkit featuring: + . + - Automatic memory management. + - Near complete coverage of the GTK+ API. + - Unicode support. + - Extensive reference documentation. + - Support for Linux, Windows, Mac OS X and other Unix platforms. + . + This package provides bindings for GTK+, a multi-platform toolkit for + creating graphical user interfaces. + +Package: libghc6-svgcairo-dev +Architecture: amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-i386 kfreebsd-amd64 m68k mips mipsel powerpc s390 sparc lpia +Depends: librsvg2-dev, libghc6-glib-dev (= ${binary:Version}), libghc6-cairo-dev (= ${binary:Version}), ${haskell:Depends}, ${shlibs:Depends} +Suggests: gtk2hs-doc +Description: A GUI library for Haskell (Gtk2Hs) -- GTK+ bindings + Gtk2Hs is a GUI library for Haskell based on GTK+, an extensive and + mature multi-platform GUI toolkit featuring: + . + - Automatic memory management. + - Near complete coverage of the GTK+ API. + - Unicode support. + - Extensive reference documentation. + - Support for Linux, Windows, Mac OS X and other Unix platforms. + . + This package provides bindings for libsvg-cairo a library used to render SVG + with cairo. + +Package: libghc6-glade-dev +Architecture: amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-i386 kfreebsd-amd64 m68k mips mipsel powerpc s390 sparc lpia +Depends: libglade2-dev, libghc6-gtk-dev (= ${binary:Version}), ${haskell:Depends}, ${shlibs:Depends} +Suggests: gtk2hs-doc +Description: A GUI library for Haskell (Gtk2Hs) -- libglade bindings + Gtk2Hs is a GUI library for Haskell based on GTK+, an extensive and + mature multi-platform GUI toolkit featuring: + . + - Automatic memory management. + - Near complete coverage of the GTK+ API. + - Unicode support. + - Extensive reference documentation. + - Support for Linux, Windows, Mac OS X and other Unix platforms. + . + This package provides bindings for libglade, a library which builds user + interfaces at runtime from XML descriptions produced by Glade. + +Package: libghc6-gtkglext-dev +Architecture: amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-i386 kfreebsd-amd64 m68k mips mipsel powerpc s390 sparc lpia +Depends: libgtkglext1-dev, libghc6-gtk-dev (= ${binary:Version}), ${haskell:Depends}, ${shlibs:Depends} +Suggests: gtk2hs-doc +Description: A GUI library for Haskell (Gtk2Hs) -- gtkglext bindings + Gtk2Hs is a GUI library for Haskell based on GTK+, an extensive and + mature multi-platform GUI toolkit featuring: + . + - Automatic memory management. + - Near complete coverage of the GTK+ API. + - Unicode support. + - Extensive reference documentation. + - Support for Linux, Windows, Mac OS X and other Unix platforms. + . + This package provides bindings for the Gtk OpenGL (Open Graphics Library) + extension. + +Package: libghc6-sourceview-dev +Architecture: amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-i386 kfreebsd-amd64 m68k mips mipsel powerpc s390 sparc lpia +Depends: libgtksourceview-dev, libghc6-gtk-dev (= ${binary:Version}), ${haskell:Depends}, ${shlibs:Depends} +Suggests: gtk2hs-doc +Description: A GUI library for Haskell (Gtk2Hs) -- GtkSourceView bindings + Gtk2Hs is a GUI library for Haskell based on GTK+, an extensive and + mature multi-platform GUI toolkit featuring: + . + - Automatic memory management. + - Near complete coverage of the GTK+ API. + - Unicode support. + - Extensive reference documentation. + - Support for Linux, Windows, Mac OS X and other Unix platforms. + . + This package provides bindings for GtkSourceView, a widget implementing + syntax highlighting and other features typical of a source editor. + +Package: libghc6-soegtk-dev +Architecture: amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-i386 kfreebsd-amd64 m68k mips mipsel powerpc s390 sparc lpia +Depends: libghc6-cairo-dev (= ${binary:Version}), libghc6-gtk-dev (= ${binary:Version}), ${haskell:Depends}, ${shlibs:Depends} +Suggests: gtk2hs-doc +Description: A GUI library for Haskell (Gtk2Hs) -- soegtk bindings + Gtk2Hs is a GUI library for Haskell based on GTK+, an extensive and + mature multi-platform GUI toolkit featuring: + . + - Automatic memory management. + - Near complete coverage of the GTK+ API. + - Unicode support. + - Extensive reference documentation. + - Support for Linux, Windows, Mac OS X and other Unix platforms. + . + This package provides the SOE (School of Expression) implementation based on + Gtk and Cairo or Gdk. + +Package: gtk2hs-doc +Architecture: all +Section: doc +Suggests: ghc6-doc, libghc6-mtl-doc +Recommends: doc-base +Description: A GUI library for Haskell (Gtk2Hs) -- documentation and examples + Gtk2Hs is a GUI library for Haskell based on GTK+, an extensive and + mature multi-platform GUI toolkit featuring: + . + - Automatic memory management. + - Near complete coverage of the GTK+ API. + - Unicode support. + - Extensive reference documentation. + - Support for Linux, Windows, Mac OS X and other Unix platforms. + . + This package contains a number of examples along with haddock-generated + HTML API documentation for libghc6-glib-dev, libghc6-gconf-dev, + libghc6-cairo-dev, libghc6-gtk-dev, libghc6-glade-dev, libghc6-gtkglext-dev, + libghc6-sourceview-dev, libghc6-soegtk-dev, libghc6-gnomevfs and + libghc6-gstreamer-dev. --- gtk2hs-0.9.13.orig/debian/copyright +++ gtk2hs-0.9.13/debian/copyright @@ -0,0 +1,165 @@ +This package was debianized by Marco Túlio Gontijo e Silva +on Tue, 16 Jul 2008 09:25:52 -0300. + +based on the original debianisation by Liyang HU on +Wed, 01 Mar 2006 19:39:41 +0000, + +Upstream: + + It was downloaded from + http://ufpr.dl.sourceforge.net/sourceforge/gtk2hs/gtk2hs-0.9.13.tar.gz + + Copyright: + + Copyright (C) 1989-1990 James A. Roskind + Copyright (C) 1991-2008 Free Software Foundation, Inc. + Copyright (C) 1995-2005 Manuel M. T. Chakravarty + Copyright (C) 1995-2005 the GTK+ Team + Copyright (C) 1999-2008 Axel Simon + Copyright (C) 2000-2007 Duncan Coutts + Copyright (C) 2002 Jonas Svensson + Copyright (C) 2002 The University of Glasgow + Copyright (C) 2002-2005 Vincenzo Ciancia + Copyright (C) 2003-2004 Abraham Egnor + Copyright (C) 2003-2005 Jens-Ulrik Holger Petersen + Copyright (C) 2004 Aetion Technologies LLC + Copyright (C) 2004 Martin Sjögren + Copyright (C) 2004 Scott James Remnant . + Copyright (C) 2004-2005 Matthew Walton + Copyright (C) 2005 Armin Groesslinger + Copyright (C) 2005 Paolo Martini + Copyright (C) 2005 Ross Paterson + Copyright (C) 2006 Mirco "MacSlow" Mueller + Copyright (C) 2006 Wouter Swierstra + Copyright (C) 2007 Bit Connor + Copyright (C) 2007 Juergen Nicklisch + Copyright (C) 2007 Paul Liu + Copyright (C) 2007 Peter Gavin + + License: + + Part of the package is licensed under the BSD-2: + + All content in this archive is under the BSD License (follows), except + where explicitly noted otherwise. + + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS + IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, + THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + Part under the BSD-3: + + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + * Neither the name of the University of Nottingham nor the names of + its contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS + IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, + THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + Part under the GPL: + + This package is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the Free + Software Foundation; either version 2 of the License, or (at your option) + any later version. + + This package is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + for more details. + + You should have received a copy of the GNU General Public License along + with this package; if not, write to the Free Software Foundation, Inc., 51 + Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + + On Debian systems, the complete text of the GNU General Public License can + be found in `/usr/share/common-licenses/GPL'. + + + And part under the LGPL: + + This package is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2 of the License, or (at + your option) any later version. + + This package is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this package; if not, write to the Free Software Foundation, + Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + On Debian systems, the complete text of the GNU Lesser General Public + License can be found in `/usr/share/common-licenses/LGPL'. + +Debian packaging: + + Copyright: + + Copyright (c) 2007-2008 Marco Túlio Gontijo e Silva + Copyright (c) 2008 Joachim Breitner + + License: + + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. --- gtk2hs-0.9.13.orig/debian/gtk2hs-doc.doc-base +++ gtk2hs-0.9.13/debian/gtk2hs-doc.doc-base @@ -0,0 +1,10 @@ +Document: gtk2hs-doc +Title: Gtk2Hs API Reference +Author: The Gtk2Hs Team +Abstract: Haddock-generated API documentation for Gtk2Hs. +Section: Programming + +Format: HTML +Index: /usr/share/doc/gtk2hs-doc/html/index.html +Files: /usr/share/doc/gtk2hs-doc/html/*.html + --- gtk2hs-0.9.13.orig/debian/compat +++ gtk2hs-0.9.13/debian/compat @@ -0,0 +1 @@ +5 --- gtk2hs-0.9.13.orig/debian/changelog +++ gtk2hs-0.9.13/debian/changelog @@ -0,0 +1,225 @@ +gtk2hs (0.9.13-5ubuntu1) jaunty; urgency=low + + * Merge from Debian unstable (LP: #309794), Ubuntu remaining changes: + - Added lpia to Architectures field value. + - svgcairo/Graphics/Rendering/Cairo/SVG.chs: + + Fixed svgRender() return value, fixes FTBFS. + + -- Alessio Treglia Fri, 19 Dec 2008 20:02:14 +0100 + +gtk2hs (0.9.13-5) unstable; urgency=low + + * Only use --disable-split-objs in amd64 and i386. Thanks to Iván Pérez + Domínguez . (Closes: 482503) + * Update architecture list. + + -- Marco Túlio Gontijo e Silva Thu, 15 Dec 2008 19:14:20 -0200 + +gtk2hs (0.9.13-4ubuntu1) jaunty; urgency=low + + * Merge from debian unstable (LP: #304945), Ubuntu remaining changes: + - Added lpia to Architectures. + * Fixed svgRender return value, fix FTBFS. + + -- Alessio Treglia Fri, 05 Dec 2008 10:35:55 +0100 + +gtk2hs (0.9.13-4) unstable; urgency=low + + * Created libghc6-svgcairo-dev package. Thanks to Eleftherios Kritikos + . + * Changed maintainer e-mail address. + + -- Marco Túlio Gontijo e Silva Tue, 18 Nov 2008 20:00:47 -0200 + +gtk2hs (0.9.13-3ubuntu1) jaunty; urgency=low + + * Merge from debian unstable (LP: #297349), remaining changes: + - debian/control: + - added lpia to archtectures. + + -- Alessio Treglia Thu, 13 Nov 2008 23:25:39 +0100 + +gtk2hs (0.9.13-3) unstable; urgency=low + + * debian/postinst, debian/prerm: + - Use ghc-pkg6 instead of ghc-pkg. Thanks to + Stefan Potyra . (Closes: #501052) + - Try to determine old upstream version. (Closes: #484928) + * Use closer version to haskell-devscripts of dh_haskell_depends. + * debian/control: + - Adds Vcs-Darcs field. Thanks to KiBi. + - Removes Build-Depends on haskell-devscripts, and added on dctrl-tools. + * debian/dh_haskell_depends: new parameter -P, asked for inclusion in + haskell-devscripts in bug #502099. + * debian/watch: Using sf.net directly. + + -- Marco Túlio Gontijo e Silva Fri, 03 Oct 2008 13:57:15 -0300 + +gtk2hs (0.9.13-2ubuntu3) intrepid; urgency=low + + * debian/prerm.in: + Special-case failed-upgrade, to unregister the old version instead of + to try to unregister the new version. + This is to solve upgrade problems (LP: #229489, #277233), which weren't + entirely fixed with the last upload. See also Debian BTS: #484928. + + -- Stefan Potyra Tue, 07 Oct 2008 19:18:56 +0200 + +gtk2hs (0.9.13-2ubuntu2) intrepid; urgency=low + + * debian/postinst.in, debian/prerm.in: + Call /usr/bin/ghc-pkg6 instead of ghc-pkg, because the latter is + managed in ghc6 via alternatives, and hence might not be available + when gtk2hs's binary packges get configured. LP: #229489, #277233. + Forwarded to Debian BTS via bug #501052. + + -- Stefan Potyra Fri, 03 Oct 2008 18:34:53 +0200 + +gtk2hs (0.9.13-2ubuntu1) intrepid; urgency=low + + * Rebase to unstable, remaining changes: + - debian/control: add lpia to architectures. + + -- Stefan Potyra Sun, 10 Aug 2008 00:48:55 +0200 + +gtk2hs (0.9.13-2) unstable; urgency=low + + * debian/control: depends on -dev packages of the C libraries. + * debian/copyright: added GPL license to licenses list and some missing + author names. + + -- Marco Túlio Gontijo e Silva Wed, 16 Jul 2008 16:59:14 -0300 + +gtk2hs (0.9.13-1) unstable; urgency=low + + * New upstream release. + * Removed package libghc6-mozembed-dev, since this version of Gtk2hs is + not compatible with xulrunner-dev in sid. Thanks to Mike Hommey and + Duncan Coutts. (Closes: #480805) + * New packages gnomevfs and gstreamer. + * Removed unused quilt dependency. + * Use automake and aclocal 1.10. + * Removed integration with haskell-utils, since update-haskell-control only + works with Cabal; now uses a patched version of dh_haskell_depends. + * debian/control: + - Removed alpha from supported architectures. Thanks to Falk Hueffner + and Axel Simon. (Closes: #410594) + - Build-depends on libghc6-mtl-doc. + - Specific version for libghc6-mtl-dev. + - Use ${binary:Version} instead of ${Source-Version}. + - Use Standards-Version 3.8.0. + * debian/gtk2hs-doc.doc-base: Use Programming instead of devel as + Section. + * debian/rules: + - CFLAGS -g removed to build in IA64. (Closes: #481593) + - Use --disable-split-objs to make applications possible in + s390. Thanks to Bastian Blank, Axel Simon and Duncan + Coutts. (Closes: #482503) + * debian/watch: Use sourceforge mirror instead of gtk2hs site. Thanks to + Raphael Geissert. (Closes: #450342) + * debian/gtk2hs-doc.install: Correct bug from upstream that didn't + install doc-index-* files. Thanks to Gustavo Noronha. + + -- Marco Túlio Gontijo e Silva Thu, 8 Jul 2008 11:16:33 -0300 + +gtk2hs (0.9.12.1-1.1) unstable; urgency=low + + * Non-maintainer upload. + * add armel and armeb to debian/control (Closes: #458911) + * Don't use gcc-4.1 (Closes: #471634) + + -- Colin Tuckley Mon, 28 Apr 2008 11:45:39 +0100 + +gtk2hs (0.9.12.1-1) unstable; urgency=low + + * New upstream release (Closes: #461245) + * Update ghc6 dependency to ghc6-6.8.2 + * Removing patches + - index-Y.diff + - CUInt-fix.diff + * Move Homepage to a proper control field + * Bump standards version + + -- Joachim Breitner Thu, 17 Jan 2008 23:31:09 +0100 + +gtk2hs (0.9.12-1) unstable; urgency=low + + * New upstream release + * base.haddock special handling not necessary any more, since 0.9.11-1 + * Subsequent build process fails, thx for the patch to duncan (Closes: #427796) + * Install ghci library files, Closes: 410389 + * Force using gcc-4.1, because of + http://hackage.haskell.org/trac/ghc/ticket/1427 + This can be disabled once the fix reached debian, e.g. with ghc 6.8 + + -- Joachim Breitner Mon, 03 Sep 2007 16:11:34 +0200 + +gtk2hs (0.9.11-2) unstable; urgency=low + + * libghc6-cairo-dev added missing dependency on libghc6-mtl-dev + (Closes: #413283) + + -- Joachim Breitner Tue, 17 Jul 2007 16:48:49 +0200 + +gtk2hs (0.9.11-1) unstable; urgency=low + + * New upstream release + * $(GHC_DOCDIR)/base/base.haddock is no longer zipped + * Adjust Makefile.am-patch + * Do not conflict with ghc 6.6.1 (Closes: #425657) + + -- Joachim Breitner Thu, 31 May 2007 08:18:12 +0200 + +gtk2hs (0.9.10.5-1) unstable; urgency=low + + * New upstream version. + * Fixed Haddock linking to GHC base docs. + + -- Liyang HU Wed, 24 Jan 2007 14:03:42 +0000 + +gtk2hs (0.9.10.4-1) unstable; urgency=low + + * New upstream version. + * Compiled for GHC 6.6. Thanks for Arjan Oosting and + . Closes: #398227, #393600 + * Update depends from mozilla-dev to libxul-dev. Thanks for Emilio Jesus + Gallego Arias . Closes: #386610 + * Added packages libghc6-gtkglext-dev and libghc6-soegtk-dev and removed + package libghc6-mogul-dev. + * Removed libglib2.0-dev, libgtk2.0-dev and libcairo2-dev from Build-Depends. + * debian/rules: using quilt instead of dpatch to handle debian/patches. + + -- Marco Túlio Gontijo e Silva Tue, 9 Jan 2007 15:36:06 -0200 + +gtk2hs (0.9.10-2) unstable; urgency=low + + * Compiled for GHC 6.4.2. + * More specific Architecture lines (via update-haskell-control). + * debian/rules: manual rule to update debian/control. + * htmldir already defined in latest autotools. (Patched) + * debian/rules: remove aclocal.m4 to make the diff.gz even smaller. + + -- Liyang HU Sat, 22 Jul 2006 21:31:58 +0100 + +gtk2hs (0.9.10-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Build-Conflicts against autoconf2.13 and automake1.4 + * Added autotools-dev to Build-Depends. + * debian/rules: remove config.guess and config.sub on clean to keep + the diff.gz small. + + -- Arjan Oosting Thu, 13 Apr 2006 23:17:11 +0200 + +gtk2hs (0.9.10-1) unstable; urgency=low + + * Repackaged and updated to latest version. + + -- Liyang HU Wed, 01 Mar 2006 19:39:41 +0000 + +gtk2hs (0.9.6-0pre1) unstable; urgency=low + + * Prerelease to haskell-unsafe. + + -- Martin Sjögren Sun, 5 Sep 2004 10:07:42 +0200 + --- gtk2hs-0.9.13.orig/debian/prerm.in +++ gtk2hs-0.9.13/debian/prerm.in @@ -0,0 +1,22 @@ +#!/bin/sh -e + +GHC_PKG=/usr/bin/ghc-pkg6 + +case "$1" in +remove|upgrade|deconfigure) + ${GHC_PKG} unregister @PKG@-@VERSION@ + ;; +failed-upgrade) + # determine upstream version from old version number. + UPSTREAM=$(echo $2 | cut -d'-' -f1) + ${GHC_PKG} unregister @PKG@-${UPSTREAM} + ;; +*) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 ;; +esac + +#DEBHELPER# + +exit 0 + --- gtk2hs-0.9.13.orig/debian/install.in +++ gtk2hs-0.9.13/debian/install.in @@ -0,0 +1,4 @@ +debian/tmp@TMP_LIBDIR@/gtk2hs/@PKG@.package.conf @PKGLIB_DIR@ +debian/tmp@TMP_LIBDIR@/gtk2hs/libHS@PKG@.a @PKGLIB_DIR@ +debian/tmp@TMP_LIBDIR@/gtk2hs/HS@PKG@.o @PKGLIB_DIR@ +debian/tmp@TMP_LIBDIR@/gtk2hs/imports/@PKG@/* @PKGLIB_DIR@/imports --- gtk2hs-0.9.13.orig/debian/gtk2hs-doc.docs +++ gtk2hs-0.9.13/debian/gtk2hs-doc.docs @@ -0,0 +1 @@ +debian/tmp/usr/share/doc/gtk2hs/html --- gtk2hs-0.9.13.orig/debian/mk-haskell-deps +++ gtk2hs-0.9.13/debian/mk-haskell-deps @@ -0,0 +1,41 @@ +#!/bin/sh + +# Copyright (C) 2004, Martin Sjögren + +# This script creates a dummy haskell program, and compiles it with +# a list of ghc packages, and then runs dpkg-shlibdeps on it to figure out +# what dependencies a libghc6-*-dev package needs to have. + +# Idea: mangle library_dirs and compile with a dummy package.conf +# will sed magick be enough or should the .conf files be properly parsed? +# How do we figure out all the .conf files and packages? Heckuva long command +# line if we can't do it automatically... + +if [ $# -lt 2 ]; then + echo "Usage: $0 debname pkg:pkgconf [pkg:pkgconf ...]" + exit 1 +fi + +deb=$1 +shift + +T_DIR=debian/tmp/mk-deps +mkdir -p $T_DIR + +cp `ghc --print-libdir`/package.conf $T_DIR/package.conf +packages= +for pkgpair in $@; do + pkg=`echo $pkgpair | cut -d: -f1` + pkgconf=`echo $pkgpair | cut -d: -f2` + pkgdir=`echo $pkgconf | sed -ne "s#^.*debian/libghc6-$pkg-dev\(/.*\)/\([^/]\+\)#\1#p"` + packages="$packages -package $pkg" + ghc-pkg -f $T_DIR/package.conf -r $pkg --force 2>&1 > /dev/null || true + cat $pkgconf | sed -e "/^\(import\|library\|include\)-dirs: / { s#\"$pkgdir#\"$PWD/debian/libghc6-$pkg-dev$pkgdir#g }" \ + | ghc-pkg -f $T_DIR/package.conf -u --force +done +echo "module Main where main = return ()" > $T_DIR/a.hs +ghc --make $T_DIR/a.hs -o $T_DIR/a.out -package-conf $T_DIR/package.conf $packages +dpkg-shlibdeps -Tdebian/$deb.substvars $T_DIR/a.out + +rm -rf $T_DIR + --- gtk2hs-0.9.13.orig/debian/rules +++ gtk2hs-0.9.13/debian/rules @@ -0,0 +1,181 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# Be specific about the version of autotools we use +export AUTOMAKE := automake-1.10 +export ACLOCAL := aclocal-1.10 + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +configure_flags := --build $(DEB_BUILD_GNU_TYPE) +ifneq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) + configure_flags += --host $(DEB_HOST_GNU_TYPE) +endif +configure_flags += --enable-packager-mode --with-c2hs=no --prefix=/usr + +configure_flags += --with-hcflags="-O" + +# Which bits of Gtk2Hs do we want? +configure_flags += --enable-libglade +configure_flags += --enable-gconf +configure_flags += --enable-sourceview +configure_flags += --enable-cairo +configure_flags += --enable-opengl +configure_flags += --enable-docs +configure_flags += --enable-gnomevfs +configure_flags += --enable-gstreamer +#configure_flags += --enable-mozilla # not compatible with new xulrunner-dev yet +configure_flags += --enable-svg + +# it's only working in these arches +ifeq (,$(filter amd64 i386,$(shell dpkg-architecture -qDEB_HOST_ARCH))) + configure_flags += --disable-split-objs +endif + +# -g removed to build in IA64 +CFLAGS := -Wall +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + + +PKGS := glib cairo gconf gnomevfs gstreamer gtk svgcairo glade gtkglext sourceview soegtk +VERSION := $(shell sed -ne '/([0-9.]\+-.*)/ { s/^.*(\([0-9.]\+\)-.*).*$$/\1/p; q }' < debian/changelog) + +# configure --libdir: where the libs are temporarily installed (under +# debian/tmp) before moving them to the correct package build hierarchy. +# We need to set this explicitly for path mangling purposes. +TMP_LIBDIR := /usr/lib + +# Helper macros +DEB = libghc6-$(1)-dev +PKGLIB_DIR = usr/lib/haskell-packages/ghc6/lib/$(1)-$(VERSION) +PKGLIB_BUILD = debian/$(call DEB,$(1))/$(call PKGLIB_DIR,$(1)) +SHORT_HDEP = $(call PKGLIB_BUILD,$(1))/$(1).package.conf +# shortcut for mk-haskell-deps +HDEP = $(1):$(call SHORT_HDEP,$(1)) + +config.status: configure.ac + dh_testdir + cp -f /usr/share/misc/config.sub config.sub + cp -f /usr/share/misc/config.guess config.guess + autoreconf + ./configure $(configure_flags) --libdir=$(TMP_LIBDIR) + +.PHONY: build +build: build-stamp +build-stamp: config.status + dh_testdir + $(MAKE) + touch $@ + +.PHONY: install +install: install-stamp +install-stamp: build-stamp + dh_testdir + dh_testroot + dh_clean -k --exclude=build-stamp + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp + touch $@ + +.PHONY: pkgmeta +pkgmeta: pkgmeta-install-stamp pkgmeta-postinst-stamp pkgmeta-prerm-stamp +pkgmeta-%-stamp: debian/%.in + for pkg in $(PKGS) ; do \ + sed -e "s#@PKGLIB_DIR@#$(call PKGLIB_DIR,$$pkg)#g; \ + s#@PKG@#$$pkg#g; \ + s#@VERSION@#$(VERSION)#g; \ + s#@TMP_LIBDIR@#$(TMP_LIBDIR)#g" \ + < $^ > debian/$(call DEB,$$pkg).$* ; \ + done + test "$*" = "install" && echo "debian/tmp$(TMP_LIBDIR)/gtk2hs/include $(call PKGLIB_DIR,glib)" >> debian/$(call DEB,glib).install || true + touch $@ + +.PHONY: clean clean-real +clean: clean-real +clean-real: + dh_testdir + dh_testroot + [ ! -e Makefile ] || $(MAKE) clean distclean + dh_clean aclocal.m4 Makefile.in configure \ + config.guess config.sub config.log \ + build-stamp install-stamp pkgmeta-*-stamp \ + debian/*-dev.install \ + debian/*.postinst debian/*.prerm + +# Build architecture-independent files here. +.PHONY: binary-indep +binary-indep: install pkgmeta + dh_testdir -i + dh_testroot -i + dh_clean -k --exclude=build-stamp --exclude=install-stamp --exclude=debian/tmp + dh_installdirs -i + dh_installchangelogs -i ChangeLog + dh_installdocs -i + dh_installexamples -i + dh_install -i + dh_compress -i + dh_fixperms -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +# Build architecture-dependent files here. +.PHONY: binary-arch +binary-arch: install pkgmeta + dh_testdir -a + dh_testroot -a + dh_clean -k --exclude=build-stamp --exclude=install-stamp --exclude=debian/tmp + dh_installdirs -a + dh_installchangelogs -a ChangeLog + dh_installdocs -a + # move everything into place + dh_install -a + # mangle paths in $$pkg.package.conf + for pkg in $(PKGS) ; do \ + sed --in-place -e \ + "s#$(TMP_LIBDIR)/gtk2hs/imports/$$pkg#/$(call PKGLIB_DIR,$$pkg)/imports#g; \ + s#$(TMP_LIBDIR)/gtk2hs#/$(call PKGLIB_DIR,$$pkg)#g;" \ + $(call PKGLIB_BUILD,$$pkg)/$$pkg.package.conf ; \ + done + sh -e debian/mk-haskell-deps $(call DEB,glib) $(call HDEP,glib) + for pkg in cairo gconf gnomevfs gstreamer ; do \ + sh -e debian/mk-haskell-deps $(call DEB,$$pkg) \ + $(call HDEP,glib) $(call HDEP,$$pkg) ; \ + done + for pkg in gtk svgcairo ; do \ + sh -e debian/mk-haskell-deps $(call DEB,$$pkg) \ + $(call HDEP,glib) $(call HDEP,cairo) $(call HDEP,$$pkg) ;\ + done + for pkg in glade gtkglext sourceview soegtk ; do \ + sh -e debian/mk-haskell-deps $(call DEB,$$pkg) \ + $(call HDEP,glib) $(call HDEP,cairo) \ + $(call HDEP,gtk) $(call HDEP,$$pkg) ; \ + done + for pkg in $(PKGS) ; do \ + dh_haskell_depends \ + -p$(call DEB,$$pkg) \ + $(call SHORT_HDEP,$$pkg) ; \ + done + dh_strip -a + dh_compress -a + dh_fixperms -a + dh_makeshlibs -a + dh_installdeb -a + dh_shlibdeps -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +.PHONY: binary +binary: binary-indep binary-arch --- gtk2hs-0.9.13.orig/debian/gtk2hs-doc.examples +++ gtk2hs-0.9.13/debian/gtk2hs-doc.examples @@ -0,0 +1 @@ +demo/* --- gtk2hs-0.9.13.orig/debian/postinst.in +++ gtk2hs-0.9.13/debian/postinst.in @@ -0,0 +1,16 @@ +#!/bin/sh -e + +GHC_PKG=/usr/bin/ghc-pkg6 + +case "$1" in +configure|abort-upgrade|abort-remove|abort-deconfigure) + ${GHC_PKG} register /@PKGLIB_DIR@/@PKG@.package.conf ;; +*) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 ;; +esac + +#DEBHELPER# + +exit 0 + --- gtk2hs-0.9.13.orig/debian/gtk2hs-doc.install +++ gtk2hs-0.9.13/debian/gtk2hs-doc.install @@ -0,0 +1,26 @@ +docs/reference/doc-index-A.html usr/share/doc/gtk2hs-doc/html/ +docs/reference/doc-index-B.html usr/share/doc/gtk2hs-doc/html/ +docs/reference/doc-index-C.html usr/share/doc/gtk2hs-doc/html/ +docs/reference/doc-index-D.html usr/share/doc/gtk2hs-doc/html/ +docs/reference/doc-index-E.html usr/share/doc/gtk2hs-doc/html/ +docs/reference/doc-index-F.html usr/share/doc/gtk2hs-doc/html/ +docs/reference/doc-index-G.html usr/share/doc/gtk2hs-doc/html/ +docs/reference/doc-index-H.html usr/share/doc/gtk2hs-doc/html/ +docs/reference/doc-index-I.html usr/share/doc/gtk2hs-doc/html/ +docs/reference/doc-index-J.html usr/share/doc/gtk2hs-doc/html/ +docs/reference/doc-index-K.html usr/share/doc/gtk2hs-doc/html/ +docs/reference/doc-index-L.html usr/share/doc/gtk2hs-doc/html/ +docs/reference/doc-index-M.html usr/share/doc/gtk2hs-doc/html/ +docs/reference/doc-index-N.html usr/share/doc/gtk2hs-doc/html/ +docs/reference/doc-index-O.html usr/share/doc/gtk2hs-doc/html/ +docs/reference/doc-index-P.html usr/share/doc/gtk2hs-doc/html/ +docs/reference/doc-index-Q.html usr/share/doc/gtk2hs-doc/html/ +docs/reference/doc-index-R.html usr/share/doc/gtk2hs-doc/html/ +docs/reference/doc-index-S.html usr/share/doc/gtk2hs-doc/html/ +docs/reference/doc-index-T.html usr/share/doc/gtk2hs-doc/html/ +docs/reference/doc-index-U.html usr/share/doc/gtk2hs-doc/html/ +docs/reference/doc-index-V.html usr/share/doc/gtk2hs-doc/html/ +docs/reference/doc-index-W.html usr/share/doc/gtk2hs-doc/html/ +docs/reference/doc-index-X.html usr/share/doc/gtk2hs-doc/html/ +docs/reference/doc-index-Y.html usr/share/doc/gtk2hs-doc/html/ +docs/reference/doc-index-58.html usr/share/doc/gtk2hs-doc/html/ --- gtk2hs-0.9.13.orig/debian/docs +++ gtk2hs-0.9.13/debian/docs @@ -0,0 +1,2 @@ +TODO +AUTHORS --- gtk2hs-0.9.13.orig/debian/watch +++ gtk2hs-0.9.13/debian/watch @@ -0,0 +1,3 @@ +version=3 + +http://sf.net/gtk2hs/gtk2hs-(.+)\.tar\.gz