rev 7321 - in kde-extras/kgtk/trunk/debian: . patches

Fathi Boudra fboudra-guest at alioth.debian.org
Wed Oct 3 13:41:20 UTC 2007


Author: fboudra-guest
Date: 2007-10-03 13:41:20 +0000 (Wed, 03 Oct 2007)
New Revision: 7321

Added:
   kde-extras/kgtk/trunk/debian/cmake.mk
Removed:
   kde-extras/kgtk/trunk/debian/patches/10_add_autoconf2.60_support.diff
Modified:
   kde-extras/kgtk/trunk/debian/changelog
   kde-extras/kgtk/trunk/debian/control
   kde-extras/kgtk/trunk/debian/rules
Log:
  * Update kgtk package to new upstream release.


Modified: kde-extras/kgtk/trunk/debian/changelog
===================================================================
--- kde-extras/kgtk/trunk/debian/changelog	2007-10-03 13:38:08 UTC (rev 7320)
+++ kde-extras/kgtk/trunk/debian/changelog	2007-10-03 13:41:20 UTC (rev 7321)
@@ -1,3 +1,10 @@
+kgtk (0.9.1-1) unstable; urgency=low
+
+  * New upstream release.
+  * Switch to cmake build system.
+
+ -- Fathi Boudra <fboudra at free.fr>  Wed, 03 Oct 2007 15:15:03 +0200
+
 kgtk (0.8-1) unstable; urgency=low
 
   * Initial release (Closes: #381277)

Added: kde-extras/kgtk/trunk/debian/cmake.mk
===================================================================
--- kde-extras/kgtk/trunk/debian/cmake.mk	                        (rev 0)
+++ kde-extras/kgtk/trunk/debian/cmake.mk	2007-10-03 13:41:20 UTC (rev 7321)
@@ -0,0 +1,76 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright (C) 2006 Peter Rockai <me at mornfall.net>
+# Copyright (C) 2006 Fathi Boudra <fboudra at free.fr>
+# 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)
+
+ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+# well, -O0
+endif
+
+ifneq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+# semi-debug
+else
+# final
+endif
+
+ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+# debug
+endif
+
+#DEB_COMPRESS_EXCLUDE = .dcl .docbook -license .tag .sty .el
+
+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
+

Modified: kde-extras/kgtk/trunk/debian/control
===================================================================
--- kde-extras/kgtk/trunk/debian/control	2007-10-03 13:38:08 UTC (rev 7320)
+++ kde-extras/kgtk/trunk/debian/control	2007-10-03 13:41:20 UTC (rev 7321)
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian KDE Extras Team <pkg-kde-extras at lists.alioth.debian.org>
 Uploaders: Fathi Boudra <fboudra at free.fr>, Mark Purcell <msp at debian.org>
-Build-Depends: cdbs, debhelper (>= 5), libtool, kdelibs4-dev, libgtk2.0-dev
+Build-Depends: cdbs, debhelper (>= 5), quilt, cmake, kdelibs4-dev, libgtk2.0-dev
 Standards-Version: 3.7.2
 
 Package: kgtk
@@ -16,3 +16,5 @@
  socket. There is only one instance of kdialogd, and all applications
  communicate with it. it terminates itself 30 seconds after the last GTK or Qt
  application has disconnected.
+ .
+  Homepage: http://www.kde-apps.org/content/show.php?content=36077

Deleted: kde-extras/kgtk/trunk/debian/patches/10_add_autoconf2.60_support.diff

Modified: kde-extras/kgtk/trunk/debian/rules
===================================================================
--- kde-extras/kgtk/trunk/debian/rules	2007-10-03 13:38:08 UTC (rev 7320)
+++ kde-extras/kgtk/trunk/debian/rules	2007-10-03 13:41:20 UTC (rev 7321)
@@ -1,16 +1,14 @@
 #!/usr/bin/make -f
 
+include debian/cmake.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+include /usr/share/cdbs/1/rules/utils.mk
 
-DEB_BUILDDIR = .
-
 install/kgtk::
 	install -D -p -m644 debian/kgtk.lintian-overrides \
 	  debian/kgtk/usr/share/lintian/overrides/kgtk
 
-
 get-orig-source:
 	 @@dh_testdir
 	 @@[ -d ../tarballs/. ]




More information about the pkg-kde-commits mailing list