--- webkitkde-0~svn740325.orig/debian/control +++ webkitkde-0~svn740325/debian/control @@ -0,0 +1,18 @@ +Source: webkitkde +Section: kde +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Jonathan Riddell +Build-Depends: cdbs, debhelper (>= 5), cmake, quilt, kdelibs5-dev (>= 4:3.96.0), libqtwebkit-dev (>= 0~svn27674-1) +Standards-Version: 3.7.2 + +Package: webkitkde +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Recommends: konqueror-kde4 +Description: web browser plugin for Konqueror using WebKit + An alternative web browser plugin for Konqueror in KDE 4 using + WebKit, a fork of KHTML. + . + This package is for testing only and offers no guarantees of + stability. --- webkitkde-0~svn740325.orig/debian/compat +++ webkitkde-0~svn740325/debian/compat @@ -0,0 +1 @@ +5 --- webkitkde-0~svn740325.orig/debian/changelog +++ webkitkde-0~svn740325/debian/changelog @@ -0,0 +1,5 @@ +webkitkde (0~svn740325-0ubuntu1) hardy; urgency=low + + * Initial snapshot + + -- Jonathan Riddell Fri, 23 Nov 2007 01:02:57 +0000 --- webkitkde-0~svn740325.orig/debian/copyright +++ webkitkde-0~svn740325/debian/copyright @@ -0,0 +1,32 @@ +This package was debianised by Jonathan Riddell on +Fri, 23 Nov 2007 01:13:09 +0000. + +It was downloaded from + +Upstream Author: + + Simon Hausmann of Trolltech ASA + +Copyright: + + Copyright (C) 2007 Trolltech ASA + +License: + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public License + along with this library; see the file COPYING.LIB. If not, write to + the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. + +The Debian packaging is (C) 2007, Jonathan Riddell and +is licensed under the GPL version 2 or later, see `/usr/share/common-licenses/GPL'. --- webkitkde-0~svn740325.orig/debian/rules +++ webkitkde-0~svn740325/debian/rules @@ -0,0 +1,3 @@ +#!/usr/bin/make -f + +include debian/cdbs/kde.mk --- webkitkde-0~svn740325.orig/debian/cdbs/cmake.mk +++ webkitkde-0~svn740325/debian/cdbs/cmake.mk @@ -0,0 +1,60 @@ +# -*- mode: makefile; coding: utf-8 -*- +# Copyright (C) 2006 Peter Rockai +# Copyright (C) 2006 Fathi Boudra +# Description: A class for cmake packages +# +# This program 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, or (at +# your option) any later version. +# +# This program 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 program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +# 02111-1307 USA. + +ifndef _cdbs_bootstrap +_cdbs_scripts_path ?= /usr/lib/cdbs +_cdbs_rules_path ?= /usr/share/cdbs/1/rules +_cdbs_class_path ?= /usr/share/cdbs/1/class +endif + +ifndef _cdbs_class_cmake +_cdbs_class_cmake := 1 + +include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix) + +ifdef _cdbs_tarball_dir +DEB_BUILDDIR = $(_cdbs_tarball_dir)/obj-$(DEB_BUILD_GNU_TYPE) +else +DEB_BUILDDIR = obj-$(DEB_BUILD_GNU_TYPE) +endif + +DEB_MAKE_INSTALL_TARGET = install DESTDIR=$(DEB_DESTDIR) +DEB_CMAKE_PREFIX =/usr + +# Overriden from makefile-vars.mk +# We pass CFLAGS and friends to ./configure, so no need to pass them to make +DEB_MAKE_INVOKE = $(DEB_MAKE_ENVVARS) $(MAKE) -C $(DEB_BUILDDIR) + +include $(_cdbs_class_path)/makefile.mk$(_cdbs_makefile_suffix) + +common-configure-arch common-configure-indep:: common-configure-impl +common-configure-impl:: $(DEB_BUILDDIR)/CMakeCache.txt +$(DEB_BUILDDIR)/CMakeCache.txt: + cd $(DEB_BUILDDIR) && cmake $(CURDIR)/$(DEB_SRCDIR) \ + -DCMAKE_INSTALL_PREFIX="$(DEB_CMAKE_PREFIX)" \ + $(DEB_CMAKE_EXTRA_FLAGS) -DCMAKE_CXX_FLAGS="$(CXXFLAGS)" \ + -DCMAKE_C_FLAGS="$(CFLAGS)" -DCMAKE_VERBOSE_MAKEFILE=ON + mkdir -p $(DEB_DESTDIR) + +cleanbuilddir:: + -if test "$(DEB_BUILDDIR)" != "$(DEB_SRCDIR)"; then rm -rf $(DEB_BUILDDIR); fi + +endif + --- webkitkde-0~svn740325.orig/debian/cdbs/utils.mk +++ webkitkde-0~svn740325/debian/cdbs/utils.mk @@ -0,0 +1,49 @@ +# -*- mode: makefile; coding: utf-8 -*- +# Copyright © 2003 Colin Walters +# Description: Defines various random rules, including a list-missing rule +# +# This program 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, or (at +# your option) any later version. +# +# This program 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 program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +# 02111-1307 USA. + +_cdbs_scripts_path ?= /usr/lib/cdbs +_cdbs_rules_path ?= /usr/share/cdbs/1/rules +_cdbs_class_path ?= /usr/share/cdbs/1/class + +ifndef _cdbs_rules_utils +_cdbs_rules_utils = 1 + +include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix) + +DEB_PHONY_RULES += list-missing + +list-missing: + @if test -d debian/tmp; then \ + (cd debian/tmp && find . -type f -o -type l | grep -v '/DEBIAN/' | sort) > debian/cdbs-install-list; \ + (for package in $(DEB_ALL_PACKAGES); do \ + (cd debian/$$package && find . -type f -o -type l); \ + done) | sort -u > debian/cdbs-package-list; \ + if test -e debian/not-installed ;\ + then grep -v '^#' debian/not-installed >> debian/cdbs-package-list ; \ + sort -u debian/cdbs-package-list.tmp ; mv debian/cdbs-package-list.tmp debian/cdbs-package-list ; \ + fi ;\ + diff -u debian/cdbs-install-list debian/cdbs-package-list | sed '1,2d' | egrep '^-' || true; \ + else \ + echo "All files were installed into debian/$(DEB_SOURCE_PACKAGE)."; \ + fi + +clean:: + rm -f debian/cdbs-install-list debian/cdbs-package-list + +endif --- webkitkde-0~svn740325.orig/debian/cdbs/kde.mk +++ webkitkde-0~svn740325/debian/cdbs/kde.mk @@ -0,0 +1,79 @@ +# until bug 377524 resolved. +include debian/cdbs/cmake.mk +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk +# until bug #423394 resolved. +include debian/cdbs/utils.mk + +DEB_COMPRESS_EXCLUDE = .dcl .docbook -license .tag .sty .el +DEB_CMAKE_EXTRA_FLAGS += \ + $(DEB_CMAKE_DEBUG_FLAGS) \ + $(KDE4-ENABLE-FINAL) \ + -DKDE4_BUILD_TESTS=true \ + -DKDE_DISTRIBUTION_TEXT="Kubuntu packages" \ + -DCONFIG_INSTALL_DIR=$(DEB_CMAKE_PREFIX)/etc/kde4 \ + -DDATA_INSTALL_DIR=$(DEB_CMAKE_PREFIX)/share/kde4/apps \ + -DHTML_INSTALL_DIR=$(DEB_CMAKE_PREFIX)/share/doc/kde4/HTML \ + -DKCFG_INSTALL_DIR=$(DEB_CMAKE_PREFIX)/share/kde4/config.kcfg \ + -DLIB_INSTALL_DIR=$(DEB_CMAKE_PREFIX)/lib \ + -DSYSCONF_INSTALL_DIR=$(DEB_CMAKE_PREFIX)/etc + +DEB_CMAKE_PREFIX = /usr/lib/kde4 +DEB_DH_INSTALL_ARGS = --sourcedir=debian/tmp +DEB_DH_SHLIBDEPS_ARGS = -l/usr/lib/kde4/lib/ +DEB_KDE_ENABLE_FINAL ?= +#DEB_MAKE_ENVVARS += XDG_CONFIG_DIRS=/etc/xdg XDG_DATA_DIRS=/usr/share +#DEB_STRIP_EXCLUDE = so + +ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + cdbs_treat_me_gently_arches := arm m68k alpha ppc64 armel armeb + ifeq (,$(filter $(DEB_HOST_ARCH_CPU),$(cdbs_treat_me_gently_arches))) + KDE4-ENABLE-FINAL = $(if $(DEB_KDE_ENABLE_FINAL),-DKDE4_ENABLE_FINAL=true,) + else + KDE4-ENABLE-FINAL = + endif +endif + +ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + #no optimizations, full debug + DEB_CMAKE_DEBUG_FLAGS = -DCMAKE_BUILD_TYPE=debugfull +else + #This is around -O2 -g + DEB_CMAKE_DEBUG_FLAGS = -DCMAKE_BUILD_TYPE=relwithdebinfo +endif + +common-build-arch:: debian/stamp-man-pages +debian/stamp-man-pages: + if ! test -d debian/man/out; then mkdir -p debian/man/out; fi + for f in $$(find debian/man -name '*.sgml'); do \ + docbook-to-man $$f > debian/man/out/`basename $$f .sgml`.1; \ + done + for f in $$(find debian/man -name '*.man'); do \ + soelim -I debian/man $$f \ + > debian/man/out/`basename $$f .man`.`head -n1 $$f | awk '{print $$NF}'`; \ + done + touch debian/stamp-man-pages + +clean:: +ifndef THIS_SHOULD_GO_TO_UNSTABLE + #guard against experimental uploads to unstable + #dpkg-parsechangelog | grep ^Distribution | grep -q experimental +endif + rm -rf debian/man/out + -rmdir debian/man + rm -f debian/stamp-man-pages + rm -f CMakeCache.txt + +binary-install/$(DEB_SOURCE_PACKAGE)-doc-html:: + set -e; \ + for doc in `cd $(DEB_DESTDIR)/usr/share/doc/kde/HTML/en; find . -name index.docbook`; do \ + pkg=$${doc%/index.docbook}; pkg=$${pkg#./}; \ + echo Building $$pkg HTML docs...; \ + mkdir -p $(CURDIR)/debian/$(DEB_SOURCE_PACKAGE)-doc-html/usr/share/doc/kde/HTML/en/$$pkg; \ + cd $(CURDIR)/debian/$(DEB_SOURCE_PACKAGE)-doc-html/usr/share/doc/kde/HTML/en/$$pkg; \ + meinproc4 $(DEB_DESTDIR)/usr/share/doc/kde/HTML/en/$$pkg/index.docbook; \ + done + for pkg in $(DOC_HTML_PRUNE) ; do \ + rm -rf debian/$(DEB_SOURCE_PACKAGE)-doc-html/usr/share/doc/kde/HTML/en/$$pkg; \ + done +