--- qzion-0.4.0+lgpl.orig/debian/control +++ qzion-0.4.0+lgpl/debian/control @@ -0,0 +1,29 @@ +Source: qzion +Section: libs +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian Krap Maintainers +Uploaders: Jonathan Riddell , Sune Vuorela , George Kiagiadakis +Build-Depends: cdbs, debhelper (>= 7), libqt4-dev, libqt4-webkit-dev, cmake, quilt +Standards-Version: 3.8.3 +Homepage: http://code.openbossa.org/projects/qzion + +Package: libqzion-dev +Section: libdevel +Architecture: any +Depends: libqzion0a (= ${binary:Version}), libqt4-dev, ${misc:Depends} +Description: canvas abstraction used by and made for QEdje + QZion is a canvas abstraction used by and made for QEdje. As it is an + abstraction, different implementations can exist, making it possible to + optimize QEdje for different platforms/devices. + . + This package contains the development header files. + +Package: libqzion0a +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: canvas abstraction used by and made for QEdje + QZion is a canvas abstraction used by and made for QEdje. As it is an + abstraction, different implementations can exist, making it possible to + optimize QEdje for different platforms/devices. --- qzion-0.4.0+lgpl.orig/debian/rules +++ qzion-0.4.0+lgpl/debian/rules @@ -0,0 +1,12 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/cmake.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk + +DEB_CMAKE_EXTRA_FLAGS := -DSKIP_PYTHON_BINDINGS=1 + +common-install-arch:: +# Fix wrong path in pkgconfig files + find $(DEB_DESTDIR)/usr/lib/pkgconfig -type f -name '*.pc' \ + -exec perl -pi -e "s, -L$(CURDIR)/?\S+,,g" {} \; --- qzion-0.4.0+lgpl.orig/debian/compat +++ qzion-0.4.0+lgpl/debian/compat @@ -0,0 +1 @@ +7 --- qzion-0.4.0+lgpl.orig/debian/changelog +++ qzion-0.4.0+lgpl/debian/changelog @@ -0,0 +1,65 @@ +qzion (0.4.0+lgpl-3ubuntu1) maverick; urgency=low + + * Add build-dep on libqt4-webkit-dev. + + -- Felix Geyer Sun, 23 May 2010 16:23:49 +0200 + +qzion (0.4.0+lgpl-3) unstable; urgency=low + + [ Ana Beatriz Guerrero Lopez ] + * Fix FTFBS with newer cmake. Generate file qzion.pc explicitly + in the directory where is later read from. Patch fix_dotpc.diff. + (Closes: #560559) + * Bump Standards-Version from 3.8.1 to 3.8.3 (no changes needed). + + -- Debian Krap Maintainers Sun, 31 Jan 2010 19:05:48 +0100 + +qzion (0.4.0+lgpl-2) unstable; urgency=low + + * Upload to unstable. + + -- Debian Krap Maintainers Tue, 04 Aug 2009 12:26:18 +0200 + +qzion (0.4.0+lgpl-1) experimental; urgency=low + + * New upstream release. (Closes: #526852) + + +++ Changes by Sune Vuorela: + + * Take tarball based off d2045a5c8bdce45d23ece11ceccba7d5aaec7988, as it is + 0.4.0 + a commit relicensing to lgpl. + * Update copyright file + * Bump SONAME, abi has changed. this is krap. Use quilt for patching. + + +++ Changes by Fathi Boudra: + + * Update homepage. + * Bump Standards-Version from 3.8.0 to 3.8.1 (no changes needed). + + +++ Changes by George Kiagiadakis: + + * Switch to cmake. (Closes: #523910) + * Update installed files. + * Update compat to 7. + * Do not build python bindings as they are not needed for kde. + + -- Debian Krap Maintainers Mon, 29 Jun 2009 15:11:09 +0300 + +qzion (0.3.0-2) unstable; urgency=low + + * Upload to unstable + + -- Sune Vuorela Mon, 16 Feb 2009 08:57:08 +0100 + +qzion (0.3.0-1) experimental; urgency=low + + * Initial release. + - taken from ubuntu, thanks. + + +++ Changes by Sune Vuorela: + + * Postprocess prl file to not let it contain too much crap. Taken from qt4 + package. + * Fix up lintian issues. + + -- Debian Krap Maintainers Tue, 16 Dec 2008 21:00:23 +0200 --- qzion-0.4.0+lgpl.orig/debian/copyright +++ qzion-0.4.0+lgpl/debian/copyright @@ -0,0 +1,64 @@ +This package was debianised by Jonathan Riddell on +Wed, 10 Dec 2008 19:20:35 +0000. + +It was downloaded from + +Upstream Authors: + + Instituto Nokia de Tecnologia + Open Bossa + +Copyright: + + Copyright 2008 Instituto Nokia de Tecnologia + Copyright 2006 Maurizio Monge + +License: + QZion 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 3 of the License, or + (at your option) any later version. + + QZion 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 Lesser General Public License + along with QZion. If not, see . + + This file incorporates work covered by the following copyright and + permission notice: + + BSD License + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. 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 AUTHOR ``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 AUTHOR 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. + + Attention: note that even being named "BSD License" by the + copyright holder, the license above is a variation of the license + known as BSD License. This variation is compatible with GNU GPL. + + +For full license text of the GNU Lesser General Public License, on Debian +systems, see `/usr/share/common-licenses/LGPL'. + +The Debian packaging is (C) 2008, Jonathan Riddell and +is licensed under the GNU GPL version 2 or later, see `/usr/share/common-licenses/GPL'. --- qzion-0.4.0+lgpl.orig/debian/libqzion0a.install +++ qzion-0.4.0+lgpl/debian/libqzion0a.install @@ -0,0 +1 @@ +usr/lib/lib*.so.* --- qzion-0.4.0+lgpl.orig/debian/libqzion-dev.install +++ qzion-0.4.0+lgpl/debian/libqzion-dev.install @@ -0,0 +1,3 @@ +usr/include/* +usr/lib/lib*.so +usr/lib/pkgconfig/* --- qzion-0.4.0+lgpl.orig/debian/patches/series +++ qzion-0.4.0+lgpl/debian/patches/series @@ -0,0 +1,2 @@ +01_bump_soname.diff +fix_dotpc.diff --- qzion-0.4.0+lgpl.orig/debian/patches/fix_dotpc.diff +++ qzion-0.4.0+lgpl/debian/patches/fix_dotpc.diff @@ -0,0 +1,12 @@ +This patch fixes #560559. It is more a workaround that a real fix, the package +needs some reviewing of the build system from upstream. +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -29,6 +29,6 @@ + install(FILES ${qzion_HEADERS} DESTINATION include/) + + if (NOT WIN32) +- configure_file(common/qzion.pc.cmake qzion.pc @ONLY) ++ configure_file(common/qzion.pc.cmake ${CMAKE_BINARY_DIR}/qzion.pc @ONLY) + install(FILES ${CMAKE_BINARY_DIR}/qzion.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig/) + endif (NOT WIN32) --- qzion-0.4.0+lgpl.orig/debian/patches/01_bump_soname.diff +++ qzion-0.4.0+lgpl/debian/patches/01_bump_soname.diff @@ -0,0 +1,26 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -26,10 +26,12 @@ set(CMAKE_CXX_FLAGS_MINSIZERELEASE "${CM + set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} -DQT_NO_DEBUG_OUTPUT") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall") + +-set(QZION_LIB_MAJOR_VERSION "0") ++set(QZION_LIB_MAJOR_VERSION "0a") ++set(QZION_UPSTREAM_LIB_MAJOR_VERSION "0") + set(QZION_LIB_MINOR_VERSION "4") + set(QZION_LIB_PATCH_VERSION "0") + set(QZION_LIB_VERSION_STRING "${QZION_LIB_MAJOR_VERSION}.${QZION_LIB_MINOR_VERSION}.${QZION_LIB_PATCH_VERSION}") ++set(QZION_UPSTREAM_LIB_VERSION_STRING "${QZION_UPSTREAM_LIB_MAJOR_VERSION}.${QZION_LIB_MINOR_VERSION}.${QZION_LIB_PATCH_VERSION}") + + # Suffix for x86/x86_64: + SET(LIB_SUFFIX "" CACHE STRING "Define suffix of directory name (32/64)" ) +--- a/src/common/qzion.pc.cmake ++++ b/src/common/qzion.pc.cmake +@@ -5,6 +5,6 @@ includedir=${prefix}/include + + Name: QZion + Description: QZion Library +-Version: @QZION_LIB_VERSION_STRING@ ++Version: @QZION_UPSTREAM_LIB_VERSION_STRING@ + Libs: -L${libdir} -lqzion + Cflags: -I${includedir}