--- vala-0.7.8.orig/debian/libvala-dev.install +++ vala-0.7.8/debian/libvala-dev.install @@ -0,0 +1,3 @@ +usr/lib/lib*.so +usr/lib/pkgconfig/* +usr/include/vala-1.0/* --- vala-0.7.8.orig/debian/vala-doc.install +++ vala-0.7.8/debian/vala-doc.install @@ -0,0 +1 @@ +usr/share/devhelp/books/vala/* --- vala-0.7.8.orig/debian/changelog +++ vala-0.7.8/debian/changelog @@ -0,0 +1,470 @@ +vala (0.7.8-2) unstable; urgency=low + + * debian/control: + + Remove Mathias Hasselmann from Uploaders, he did the initial packaging + for Ubuntu but was not involved with the Debian package at all. + * debian/control, + debian/rules: + + Make unit test failures fatal on Ubuntu. + + -- Sebastian Dröge Tue, 24 Nov 2009 13:12:21 +0100 + +vala (0.7.8-1) unstable; urgency=low + + [ Marc-André Lureau ] + * New upstream version. + + [ Sebastian Dröge ] + * debian/patches/01_gnu-hurd.patch, + debian/patches/02_dbus-gvalue-marshalling.patch: + + Dropped, merged upstream. + + -- Sebastian Dröge Thu, 05 Nov 2009 08:02:32 +0100 + +vala (0.7.7-3) unstable; urgency=low + + * debian/control, + debian/rules: + + Update to a non-cdbs build system and first bootstrap Vala from + the included C sources and then use the bootstrapped Vala for + rebuilding the included C sources. + * debian/patches/02_dbus-gvalue-marshalling.patch: + + Fix marshalling of GValue in DBus server/client code. Patch + taken from upstream GIT. + + -- Sebastian Dröge Sat, 10 Oct 2009 13:36:52 +0200 + +vala (0.7.7-2) unstable; urgency=low + + * debian/patches/01_gnu-hurd.patch: + + Update gobject-introspection/grealpath.h from gobject-introspection + GIT. This fixes build failures on GNU/Hurd because there PATH_MAX + is not defined. + + -- Sebastian Dröge Wed, 30 Sep 2009 16:13:23 +0200 + +vala (0.7.7-1) unstable; urgency=low + + * debian/control: + + Fix sections of the debug packages. + * New upstream version. + + -- Sebastian Dröge Mon, 28 Sep 2009 10:02:15 +0200 + +vala (0.7.6-1) unstable; urgency=low + + * New upstream version. + + -- Sebastian Dröge Fri, 18 Sep 2009 08:43:00 +0200 + +vala (0.7.5-1) unstable; urgency=low + + * New upstream version. + + -- Marc-Andre Lureau Sun, 02 Aug 2009 23:57:39 +0300 + +vala (0.7.4-1) unstable; urgency=low + + * New upstream version. + + -- Marc-Andre Lureau Fri, 03 Jul 2009 01:08:04 +0300 + +vala (0.7.3-1) unstable; urgency=low + + * debian/control: + + Added dbus-x11 dependency to pass all tests (Closes: #528561). + * New Upstream Version + + -- Marc-Andre Lureau Tue, 26 May 2009 21:48:16 +0300 + +vala (0.7.2-1) unstable; urgency=low + + * New upstream version. + + -- Marc-Andre Lureau Thu, 07 May 2009 22:41:27 +0300 + +vala (0.7.1-1) unstable; urgency=low + + * New upstream version. + * debian/control: + + vala-utils no longer provides vala-gen-project (Closes: #524837). + + -- Marc-Andre Lureau Tue, 21 Apr 2009 15:24:27 +0300 + +vala (0.7.0-1) unstable; urgency=low + + * New upstream version. + + -- Marc-Andre Lureau Mon, 06 Apr 2009 02:41:17 +0300 + +vala (0.6.0-2) unstable; urgency=low + + * debian/control: + + Build depend on dbus and dbus-glib for the unit tests to fix compilation + on IA64 (Closes: #516797). + + -- Sebastian Dröge Thu, 02 Apr 2009 06:18:39 +0200 + +vala (0.6.0-1) unstable; urgency=low + + * New upstream version. + + -- Marc-Andre Lureau Tue, 31 Mar 2009 19:28:39 +0300 + +vala (0.5.7-1) unstable; urgency=low + + * New upstream version + + -- Marc-Andre Lureau Fri, 20 Feb 2009 23:46:29 +0200 + +vala (0.5.6-2) unstable; urgency=low + + * Upload to unstable. + + -- Sebastian Dröge Mon, 16 Feb 2009 15:26:55 +0100 + +vala (0.5.6-1) experimental; urgency=low + + * New upstream version. + + -- Sebastian Dröge Mon, 19 Jan 2009 09:34:36 +0100 + +vala (0.5.5-1) experimental; urgency=low + + * New upstream version. + + -- Sebastian Dröge Sun, 11 Jan 2009 10:48:30 +0100 + +vala (0.5.4-1) experimental; urgency=low + + * New Upstream Version + + -- Marc-Andre Lureau Thu, 08 Jan 2009 07:38:51 +0100 + +vala (0.5.3-1) experimental; urgency=low + + [ Marc-Andre Lureau ] + * New upstream version. + * debian/vala-utils.install: + + Remove vala-gen-project (moved to vala-toys-gedit). + * debian/control: + + vala-utils: drop suggestion and dependency on gnome-common, automake + + [ Sebastian Dröge ] + * debian/control: + + Drop Gtk+ build dependency. + * debian/rules: + + Drop removed configure switch. + + -- Sebastian Dröge Tue, 30 Dec 2008 11:53:19 +0100 + +vala (0.5.2-1) experimental; urgency=low + + [ Marc-Andre Lureau ] + * New upstream version. + + [ Sebastian Dröge ] + * debian/control: + + Use extra priority for the debug packages. + * debian/rules, + debian/patches/99_ltmain_as-needed.patch: + + Link with -Wl,-z,defs -Wl,-O1 -Wl,--as-needed to get rid + of some dependencies. + + -- Sebastian Dröge Tue, 02 Dec 2008 09:31:04 +0100 + +vala (0.5.1-1) experimental; urgency=low + + * New upstream version. + + -- Marc-Andre Lureau Tue, 04 Nov 2008 11:41:10 +0200 + +vala (0.4.0-1) experimental; urgency=low + + * New upstream version. + * Produce valac-dbg and libvala0-dbg (Closes: #493955) + + -- Marc-Andre Lureau Tue, 21 Oct 2008 02:52:03 +0300 + +vala (0.3.5-1) experimental; urgency=low + + * New Upstream Version. + * Targetting experimental. + + -- Marc-Andre Lureau Sat, 16 Aug 2008 19:31:44 +0300 + +vala (0.3.4-1) unstable; urgency=low + + [ Marc-Andre Lureau ] + * Add Suggests field to vala-utils (Closes: #485773) + + gnome-common is required to build vala-gen-project projects. + + libgtk2.0-dev is required to build vala-gen-project GTK+ projects. + * Standards-Version: 3.8.0. + * New Upstream Version. + + -- Marc-Andre Lureau Thu, 26 Jun 2008 23:04:25 +0300 + +vala (0.3.3-1) unstable; urgency=low + + * New upstream version. + + -- Sebastian Dröge Wed, 04 Jun 2008 08:12:48 +0200 + +vala (0.3.2-1) unstable; urgency=low + + * New upstream version. + * debian/control: + + Let valac depend on libglib2.0-dev to actually work (Closes: #480271). + * debian/rules: + + Run unit test suite but don't fail the build if the tests fail. + + -- Sebastian Dröge Tue, 13 May 2008 10:05:35 +0200 + +vala (0.3.1-1) unstable; urgency=low + + [ Marc-Andre Lureau ] + * New Upstream Version + + -- Marc-Andre Lureau Tue, 22 Apr 2008 01:23:04 +0300 + +vala (0.2.0-1) unstable; urgency=low + + [ Marc-Andre Lureau ] + * New Upstream Version + + -- Marc-Andre Lureau Tue, 08 Apr 2008 00:48:29 +0300 + +vala (0.1.7-1) unstable; urgency=low + + [ Marc-Andre Lureau ] + * New Upstream Version + + [ Kumar Appaiah ] + * debian/control: + + Remove Kumar Appaiah from Uploaders. + + [ Sebastian Dröge ] + * debian/control, + debian/vala-utils.install: + + Don't depend on libltdl3-dev anymore, we ship the licenses now ourself. + * debian/shlibs.local, + debian/rules: + + Remove shlibs.local hack and add the correct path to the dh_shlibdeps + search path. + + -- Sebastian Dröge Mon, 03 Mar 2008 06:18:44 +0100 + +vala (0.1.6-1) unstable; urgency=low + + [ Marc-Andre Lureau ] + * New Upstream Version. + * Remove the paths patch in vala-gen-project. + + Change the 'automake1.10' dependency to 'automake'. + * Update section of vala-doc to 'doc'. + * Update Debian-Policy conformance to 3.7.3. + + [ Kumar Appaiah ] + * debian/control: + + vala-doc should be `Architecture: all'. (Closes:#458843) + + [ Sebastian Dröge ] + * debian/control: + + Remove libenchant-dev from build dependencies. + + Let vala-utils depend on libltdl3-dev for the LGPL license file. + * debian/rules: + + Remove timestamp hack as we don't have any patches anymore. + + -- Sebastian Dröge Sun, 20 Jan 2008 06:13:17 +0100 + +vala (0.1.5-2) unstable; urgency=low + + * debian/rules: + + Include simple-patch-system.mk to actually use the patch that + adjusts the INSTALL and license file paths (Closes: #454283). + + -- Sebastian Dröge Tue, 04 Dec 2007 21:15:21 +0100 + +vala (0.1.5-1) unstable; urgency=low + + [ Marc-Andre Lureau ] + * New Upstream Version; closes: #452870. + * debian/libvala-dev.install + + Rename gidlgen to vala-gen-instrospect + + Remove deleted .pl files + + [ Kumar Appaiah ] + * debian/control: + + Add Homepage field. + + Modify XS-Vcs-Git and XS-Vcs-Broswer to Vcs-Git and Vcs-Browser + respectively, as dpkg now supports them. + + [ Sebastian Dröge ] + * debian/libvala-dev.install, + debian/rules: + + Also ship vala-gen-project. + * debian/control: + + Build depend on libgtk2.0-dev (>= 2.10.0) and libglib2.0-dev (>= 2.12.0). + * debian/patches/01_vala-gen-project-paths.patch, + debian/rules: + + Adjust the paths in vala-gen-project for the license files, etc. + Needs again an automake-touch hack for timestamp issues. + * debian/control, + debian/libvala-dev.install, + debian/valac.install, + debian/vala-utils.install: + + Move vala-gen-introspect/vapigen to valac and vala-gen-project/vapicheck + to vala-utils. + * debian/patches/01_vala-gen-project-paths.patch, + debian/control: + + Fix paths for COPYING and INSTALL files and depend on automake1.10 for + this. + + [ Kumar Appaiah ] + * debian/watch: Fix watch file to point to new download location. + (Closes: #452870) + + -- Sebastian Dröge Mon, 26 Nov 2007 08:16:57 +0100 + +vala (0.1.4-1) unstable; urgency=low + + [ Marc-Andre Lureau ] + * New Upstream Version + * debian/patches: + + Remove patch no longer needed in 0.1.4 + * debian/rules + + Add xsltproc build dependency for the Vala manual. + + Add libenchant-dev build dependency for enchant test case. + * debian/control, debian/vala-doc.install: + + Add a "vala-doc" documentation package. + + [ Sebastian Dröge ] + * debian/control: + + Let vala-doc suggest valac/devhelp and don't depend on libvala0. + * debian/libvala-dev.install: + + Add the new vapicheck utility. + + -- Sebastian Dröge Mon, 15 Oct 2007 14:37:51 +0200 + +vala (0.1.3-2) unstable; urgency=low + + * debian/control: + + Update Maintainer to pkg-vala and add myself to Uploaders. + + Update SCM fields to the GIT repository. + * debian/patches/20_from_svn-finally.patch, + debian/rules: + + Patch from upstream SVN to actually call finally statements. + Needs an hack against autotools timestamp issues. + * debian/copyright: + + Update URL to http://ftp.gnome.org/pub/gnome/sources/vala. + + -- Sebastian Dröge Mon, 01 Oct 2007 11:38:49 +0200 + +vala (0.1.3-1) unstable; urgency=low + + [ Kumar Appaiah ] + * Depend on libvala0 binary version alone to suppress Lintian's + package-has-a-duplicate-relation warning. Worked around by using + shlibs.local + + [ Marc-Andre Lureau ] + * New upstream release. + * Remove Kumar's manpages, included in upstream. + * Move manpages in respective package, valac and libvala-dev. + + [ Loic Minier ] + * Pass -V to dh_makeshlibs for now. + + -- Loic Minier Sun, 16 Sep 2007 14:54:31 +0200 + +vala (0.1.2-2) unstable; urgency=low + + [ Kumar Appaiah ] + * Add vapigen and gidlgen to libvala-dev (Closes: #439774) + * Add man pages for vapigen and gidlgen. + + [ Marc-Andre Lureau ] + * Update libvala-dev description to mention vapigen and gidlgen. + + -- Marc-Andre Lureau Tue, 28 Aug 2007 12:58:28 +0300 + +vala (0.1.2-1) unstable; urgency=low + + [ Loic Minier ] + * Drop files which were erroneously part of the diff and imported in SVN. + * Wrap build-deps and deps. + * Cleanups. + * Add watch file. + * Add CDBS utils. + * Build-dep on flex. + * New upstream releases. + * Fix install files. + * Add myself to Uploaders. + * Use binary:Version instead of Source-Version. + * Add a get-orig-source target; build-dep on gnome-pkg-tools. + + [ Kumar Appaiah ] + * New upstream release + * watch file version now 3 + * Longer description, Hompepage fix + * Added XS-Vcs-* + * Added myself to uploaders + + [ Marc-Andre Lureau ] + * Initial Debian release (Closes: #398198) + * Add Mathias Hasselmann to Uploaders. + * Change Maintainer to myself. + * Remove debian/valac.manpages and debian/valac.1 + valac manpage is now in upstream. + * Update copyrights and licenses + + [ Kumar Appaiah ] + * Fix copyright file with licenses. + + -- Kumar Appaiah Tue, 07 Aug 2007 13:02:45 +0530 + +vala (0.0.8-3) unstable; urgency=low + + * Update copyright file to match Debian standards. + * Make sure config.guess and .sub are updated automatically. + + -- Mathias Hasselmann Thu, 01 Apr 2007 11:32:00 +0200 + +vala (0.0.8-2) unstable; urgency=low + + * Remove libtool .la file from libvala0-dev + * Add libglib2.0-dev (>= 2.10.0) dependency for libvala0-dev + * Rename libvala0-dev to libvala-dev + * Lower libglib2.0-dev build-dep to (>= 2.10.0) + * Add strict dependency to libvala0-dev on libvala0 + * Update "Section" for libvala0 and libvala-dev + + -- Marc-Andre Lureau Sun, 01 Apr 2007 01:02:00 +0200 + +vala (0.0.8-1) unstable; urgency=low + + * Updating to release 0.0.8 which contains quite some bugfixes. + * Remove invalid dependency on libvala for libvala0-dev + + -- Mathias Hasselmann Thu, 23 Mar 2007 08:14:00 +0100 + +vala (0.0.7-2) unstable; urgency=low + + * Separated into valac, libvalac0 and libvala-dev package, as demonstrated + by Marc-Andre Lureau. Added his man-page. + + -- Mathias Hasselmann Thu, 19 Mar 2007 13:17:00 +0100 + +vala (0.0.7-1) unstable; urgency=low + + * Updating to release 0.0.7 which improves interface support and introduces + a new object construction syntax. + + -- Mathias Hasselmann Thu, 08 Mar 2007 17:14:00 +0100 + +vala (0.0.6-1) unstable; urgency=low + + * Initial Ubuntu package + + -- Mathias Hasselmann Thu, 01 Mar 2007 13:10:12 +0100 + + --- vala-0.7.8.orig/debian/libvala0.install +++ vala-0.7.8/debian/libvala0.install @@ -0,0 +1 @@ +usr/lib/lib*.so.* --- vala-0.7.8.orig/debian/watch +++ vala-0.7.8/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://ftp.gnome.org/pub/GNOME/sources/vala/([\d\.]+)/vala-([\d\.]+).tar.gz --- vala-0.7.8.orig/debian/copyright +++ vala-0.7.8/debian/copyright @@ -0,0 +1,61 @@ +This package was debianized by Marc-Andre Lureau +and Mathias Hasselmann . + +It was downloaded from http://ftp.gnome.org/pub/gnome/sources/vala + +Upstream Author: Jürg Billeter + Raffaele Sandrini + +Copyright: Copyright (C) 2006-2007 Jürg Billeter + Copyright (C) 2006-2007 Raffaele Sandrini + Copyright (C) 2006-2007 Michael Lawrence + Copyright (C) 2007 Alberto Ruiz + Copyright (C) 2003-2005 Novell, Inc. + Copyright (C) 2005 Matthias Clasen + Copyright (C) 2005 David Waite + Copyright (C) 2001-2003 Mike Kestner + Copyright (C) 2003 Martin Willemoes Hansen + Copyright (C) 1997-2000 GLib Team and others + Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + +Licenses: + +vala and gobject-introspection are licensed under the LGPL 2 (or later): + 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'. + +gapi (used by gidlgen) is licensed under the GPL version 2: + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + (version 2) as published by the Free Software Foundation of the + License. + + 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'. + +The Debian packaging is (C) 2006-2007 Marc-Andre Lureau +, Mathias Hasselmann +and is licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- vala-0.7.8.orig/debian/control +++ vala-0.7.8/debian/control @@ -0,0 +1,134 @@ +Source: vala +Section: devel +Priority: optional +Maintainer: Maintainers of Vala packages +Uploaders: Marc-Andre Lureau , Loic Minier , Sebastian Dröge +Build-Depends: debhelper (>= 5.0), + quilt, + libglib2.0-dev (>= 2.16.0), + bison (>= 2.3), + autotools-dev, + flex, + gnome-pkg-tools, + xsltproc, + libdbus-1-dev, + libdbus-glib-1-dev, + dbus-x11, + lsb-release +Standards-Version: 3.8.3 +Vcs-Git: git://git.debian.org/git/pkg-vala/vala.git +Vcs-Browser: http://git.debian.org/?p=pkg-vala/vala.git +Homepage: http://live.gnome.org/Vala/ + +Package: valac +Architecture: any +Depends: ${shlibs:Depends}, + libvala0 (= ${binary:Version}), + libglib2.0-dev (>= 2.16.0), + ${misc:Depends} +Replaces: libvala-dev (<< 0.1.5) +Description: C# like language for the GObject system + Vala is a new programming language that aims to bring modern programming + language features to GNOME developers without imposing any additional + runtime requirements and without using a different ABI compared to + applications and libraries written in C. + . + valac, the Vala compiler, is a self-hosting compiler that translates + Vala source code into C source and header files. It uses the GObject + type system to create classes and interfaces declared in the Vala + source code. This package also contains the vala-gen-introspect and + vapigen binaries that will automatically generate Vala bindings. + +Package: vala-utils +Architecture: any +Depends: ${shlibs:Depends}, + libvala0 (= ${binary:Version}), + ${misc:Depends} +Replaces: libvala-dev (<< 0.1.5) +Suggests: libgtk2.0-dev +Description: C# like language for the GObject system - utilities + Vala is a new programming language that aims to bring modern programming + language features to GNOME developers without imposing any additional + runtime requirements and without using a different ABI compared to + applications and libraries written in C. + . + This package contains vapicheck, which will check bindings generated + by vapigen for correctness. + +Package: vala-doc +Architecture: all +Depends: ${shlibs:Depends}, + ${misc:Depends} +Suggests: valac, devhelp +Section: doc +Description: C# like language for the GObject system - documentation + Vala is a new programming language that aims to bring modern programming + language features to GNOME developers without imposing any additional + runtime requirements and without using a different ABI compared to + applications and libraries written in C. + . + This package contains the Vala Reference Manual. + +Package: libvala0 +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends} +Section: libs +Description: C# like language for the GObject system - library + Vala is a new programming language that aims to bring modern programming + language features to GNOME developers without imposing any additional + runtime requirements and without using a different ABI compared to + applications and libraries written in C. + . + This library contains the parser used by valac. It can be used for + building tools arround Vala. + +Package: libvala-dev +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends}, + libvala0 (= ${binary:Version}), + libglib2.0-dev (>= 2.10.0) +Section: libdevel +Description: C# like language for the GObject system - development headers + Vala is a new programming language that aims to bring modern + programming language features to GNOME developers without imposing + any additional runtime requirements and without using a different ABI + compared to applications and libraries written in C. + . + This package has the development library and headers for valac. These + headers can be used for building tools around Vala. + +Package: valac-dbg +Priority: extra +Architecture: any +Depends: valac (= ${binary:Version}), + ${misc:Depends} +Section: debug +Description: C# like language for the GObject system + Vala is a new programming language that aims to bring modern programming + language features to GNOME developers without imposing any additional + runtime requirements and without using a different ABI compared to + applications and libraries written in C. + . + valac, the Vala compiler, is a self-hosting compiler that translates + Vala source code into C source and header files. It uses the GObject + type system to create classes and interfaces declared in the Vala + source code. This package also contains the vala-gen-introspect and + vapigen binaries that will automatically generate Vala bindings. + +Package: libvala0-dbg +Priority: extra +Architecture: any +Depends: libvala0 (= ${binary:Version}), + ${misc:Depends} +Section: debug +Description: C# like language for the GObject system - library symbols + Vala is a new programming language that aims to bring modern programming + language features to GNOME developers without imposing any additional + runtime requirements and without using a different ABI compared to + applications and libraries written in C. + . + This package contains the library symbols. + + --- vala-0.7.8.orig/debian/vala-utils.install +++ vala-0.7.8/debian/vala-utils.install @@ -0,0 +1 @@ +usr/bin/vapicheck --- vala-0.7.8.orig/debian/docs +++ vala-0.7.8/debian/docs @@ -0,0 +1,2 @@ +NEWS +README --- vala-0.7.8.orig/debian/valac.install +++ vala-0.7.8/debian/valac.install @@ -0,0 +1,8 @@ +usr/bin/valac +usr/bin/vala-gen-introspect +usr/bin/vapigen +usr/share/vala/vapi/* +usr/share/man/man1/valac.1 +usr/share/man/man1/vapigen.1 +usr/share/man/man1/vala-gen-introspect.1 +usr/lib/vala/gen-introspect --- vala-0.7.8.orig/debian/rules +++ vala-0.7.8/debian/rules @@ -0,0 +1,158 @@ +#!/usr/bin/make -f + +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +DISTRO = "$(shell lsb_release -si)" + +configure_flags += \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --build=$(DEB_BUILD_GNU_TYPE) \ + --enable-vapigen \ + --disable-maintainer-mode + +ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) +configure_flags += --host=$(DEB_HOST_GNU_TYPE) +endif + +CFLAGS = -Wall -g +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) +CFLAGS += -O0 +else +CFLAGS += -O2 +endif + +LDFLAGS = -Wl,-z,defs -Wl,-O1 -Wl,--as-needed +VALAFLAGS = --target-glib=2.16 + +DEB_PARALLEL_JOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) +ifneq (,$(DEB_PARALLEL_JOBS)) +DEB_MAKE_PARALLEL = -j$(DEB_PARALLEL_JOBS) +else +DEB_MAKE_PARALLEL = +endif + +include /usr/share/quilt/quilt.make + +my-patch-stamp: bootstrap-stamp + make -f debian/rules patch + touch $@ + +my-unpatch: + make -f debian/rules unpatch + rm -f my-patch-stamp + +builddir-stamp: + dh_testdir + # handle timestamp skew; advice from autotools-dev README.Debian + touch configure.in aclocal.m4 configure + # backup the original files to restore them in the clean target + cp config.sub config.sub.orig + cp config.guess config.guess.orig + # Copy in fresh copies of config.{sub,guess} + # (these are from autotools-dev, so must Build-Depend on it) + -test -r /usr/share/misc/config.sub && \ + cp -f /usr/share/misc/config.sub config.sub + -test -r /usr/share/misc/config.guess && \ + cp -f /usr/share/misc/config.guess config.guess + touch $@ + +configure-bootstrap-stamp: builddir-stamp + dh_testdir + mkdir -p bootstrap/build + cd bootstrap/build && \ + ../../configure CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" $(configure_flags) --disable-vapigen + touch $@ + +bootstrap-stamp: configure-bootstrap-stamp + dh_testdir + make $(DEB_MAKE_PARALLEL) -C bootstrap/build + make $(DEB_MAKE_PARALLEL) -C bootstrap/build DESTDIR=$(CURDIR)/bootstrap/install install + touch $@ + +configure-stamp: builddir-stamp bootstrap-stamp my-patch-stamp + rm -f */*.vala.stamp + LD_LIBRARY_PATH="$(CURDIR)/bootstrap/install/usr/lib:$$LD_LIBRARY_PATH" \ + ./configure CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" \ + VALAC="$(CURDIR)/bootstrap/install/usr/bin/valac $(VALAFLAGS)" \ + $(configure_flags) + touch $@ + +build-stamp: configure-stamp + LD_LIBRARY_PATH="$(CURDIR)/bootstrap/install/usr/lib:$$LD_LIBRARY_PATH" \ + make $(DEB_MAKE_PARALLEL) + touch $@ + +check-stamp: build-stamp +ifeq ($(DISTRO),"Ubuntu") + make $(DEB_MAKE_PARALLEL) check +else + make $(DEB_MAKE_PARALLEL) check || true +endif + touch $@ + +install-stamp: build-stamp check-stamp + LD_LIBRARY_PATH="$(CURDIR)/bootstrap/install/usr/lib:$$LD_LIBRARY_PATH" \ + make $(DEB_MAKE_PARALLEL) DESTDIR=$(CURDIR)/debian/tmp install + touch $@ + +build: build-stamp +install: build install-stamp + +binary-indep: build install + dh_testdir + dh_testroot + dh_install -i --sourcedir=$(CURDIR)/debian/tmp + dh_installdocs -i -A NEWS README AUTHORS THANKS + dh_installchangelogs -i ChangeLog + dh_link -i + dh_compress -i + dh_fixperms -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +binary-arch: build install + dh_testdir + dh_testroot + dh_install -s --sourcedir=$(CURDIR)/debian/tmp + dh_installdocs -s -A README NEWS AUTHORS THANKS + dh_installchangelogs -s ChangeLog + dh_installman -s + dh_installexamples -s + dh_link -s + dh_strip -s -pvalac --dbg-package=valac-dbg + dh_strip -s -plibvala0 --dbg-package=libvala0-dbg + dh_strip -s + dh_compress -s + dh_fixperms -s + dh_makeshlibs -plibvala0 -V + dh_installdeb -s + dh_shlibdeps -s -ldebian/libvala0/usr/lib + dh_gencontrol -s + dh_md5sums -s + dh_builddeb -s + +binary: binary-indep binary-arch + +clean: my-unpatch + dh_testdir + dh_testroot + + # restore config.sub/config.guess + [ ! -r config.sub.orig ] || mv -f config.sub.orig config.sub + [ ! -r config.guess.orig ] || mv -f config.guess.orig config.guess + + rm -rf bootstrap + rm -rf debian/tmp + make distclean || true + + rm -rf tests/_test + + rm -f builddir-stamp configure-bootstrap-stamp bootstrap-stamp + rm -f configure-stamp build-stamp check-stamp install-stamp + rm -f my-patch-stamp + dh_clean + --- vala-0.7.8.orig/debian/compat +++ vala-0.7.8/debian/compat @@ -0,0 +1 @@ +5 --- vala-0.7.8.orig/debian/patches/series +++ vala-0.7.8/debian/patches/series @@ -0,0 +1 @@ +99_ltmain_as-needed.patch --- vala-0.7.8.orig/debian/patches/99_ltmain_as-needed.patch +++ vala-0.7.8/debian/patches/99_ltmain_as-needed.patch @@ -0,0 +1,30 @@ +--- a/ltmain.sh 2007-10-09 07:38:25.000000000 +0200 ++++ b/ltmain.sh 2007-10-09 07:39:25.000000000 +0200 +@@ -1794,6 +1794,11 @@ + arg=`$echo "X$arg" | $Xsed -e "s/^ //"` + ;; + ++ -Wl,--as-needed) ++ deplibs="$deplibs $arg" ++ continue ++ ;; ++ + -Wl,*) + args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'` + arg= +@@ -2137,6 +2142,15 @@ + lib= + found=no + case $deplib in ++ -Wl,--as-needed) ++ if test "$linkmode,$pass" = "prog,link"; then ++ compile_deplibs="$deplib $compile_deplibs" ++ finalize_deplibs="$deplib $finalize_deplibs" ++ else ++ deplibs="$deplib $deplibs" ++ fi ++ continue ++ ;; + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) + if test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$deplib $compile_deplibs"