rev 12224 - in branches/kde4/packages/pkg-kde-tools: . branches branches/cdbs_work branches/cdbs_work/share branches/cdbs_work/share/cdbs branches/cdbs_work/share/cdbs/1 branches/cdbs_work/share/cdbs/1/class trunk trunk/debian trunk/makefiles

Matthew Rosewarne mukidohime-guest at alioth.debian.org
Mon Sep 22 18:01:19 UTC 2008


Author: mukidohime-guest
Date: 2008-09-22 18:01:16 +0000 (Mon, 22 Sep 2008)
New Revision: 12224

Added:
   branches/kde4/packages/pkg-kde-tools/branches/
   branches/kde4/packages/pkg-kde-tools/branches/cdbs_work/
   branches/kde4/packages/pkg-kde-tools/branches/cdbs_work/share/
   branches/kde4/packages/pkg-kde-tools/branches/cdbs_work/share/cdbs/
   branches/kde4/packages/pkg-kde-tools/branches/cdbs_work/share/cdbs/1/
   branches/kde4/packages/pkg-kde-tools/branches/cdbs_work/share/cdbs/1/class/
   branches/kde4/packages/pkg-kde-tools/branches/cdbs_work/share/cdbs/1/class/kde4-vars.mk
   branches/kde4/packages/pkg-kde-tools/branches/cdbs_work/share/cdbs/1/class/kde4.mk
   branches/kde4/packages/pkg-kde-tools/trunk/
   branches/kde4/packages/pkg-kde-tools/trunk/debian/
   branches/kde4/packages/pkg-kde-tools/trunk/makefiles/
Removed:
   branches/kde4/packages/pkg-kde-tools/debian/
   branches/kde4/packages/pkg-kde-tools/makefiles/
Log:
* branch for CDBS makefiles


Added: branches/kde4/packages/pkg-kde-tools/branches/cdbs_work/share/cdbs/1/class/kde4-vars.mk
===================================================================
--- branches/kde4/packages/pkg-kde-tools/branches/cdbs_work/share/cdbs/1/class/kde4-vars.mk	                        (rev 0)
+++ branches/kde4/packages/pkg-kde-tools/branches/cdbs_work/share/cdbs/1/class/kde4-vars.mk	2008-09-22 18:01:16 UTC (rev 12224)
@@ -0,0 +1,61 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2008 Matthew Rosewarne <mrosewarne at inoutbox.com>
+# Description: Common variables for KDE 4 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.
+
+_cdbs_scripts_path ?= /usr/lib/cdbs
+_cdbs_rules_path ?= /usr/share/cdbs/1/rules
+_cdbs_class_path ?= /usr/share/cdbs/1/class
+
+ifndef _cdbs_class_kde4_vars
+_cdbs_class_kde4_vars = 1
+
+include $(_cdbs_class_path)/cmake.mk$(_cdbs_makefile_suffix)
+
+DEB_KDE4_PREFIX ?= $(DEB_CMAKE_INSTALL_PREFIX)/share/kde4
+
+DEB_CMAKE_BUILD_TYPE = Debian
+DEB_CONFIG_INSTALL_DIR = $(DEB_KDE4_PREFIX)/config
+DEB_DATA_INSTALL_DIR = $(DEB_KDE4_PREFIX)/apps
+DEB_HTML_INSTALL_DIR = $(DEB_CMAKE_INSTALL_PREFIX)/share/doc/kde4/HTML
+DEB_KCFG_INSTALL_DIR = $(DEB_KDE4_PREFIX)/config.kcfg
+DEB_KDE_DEFAULT_HOME = .kde4
+DEB_LIB_INSTALL_DIR = $(DEB_CMAKE_INSTALL_PREFIX)/lib
+DEB_SYSCONF_INSTALL_DIR = /etc
+
+# Standard Debian KDE 4 CMake flags
+DEB_CMAKE_KDE4_ARGS = \
+        -DCMAKE_BUILD_TYPE=$(DEB_CMAKE_BUILD_TYPE) \
+        -DCONFIG_INSTALL_DIR=$(DEB_CONFIG_INSTALL_DIR) \
+        -DDATA_INSTALL_DIR=$(DEB_DATA_INSTALL_DIR) \
+        -DHTML_INSTALL_DIR=$(DEB_HTML_INSTALL_DIR) \
+        -DKCFG_INSTALL_DIR=$(DEB_KCFG_INSTALL_DIR) \
+        -DKDE4_BUILD_TESTS=OFF \
+        -DKDE4_USE_ALWAYS_FULL_RPATH=OFF \
+        -DKDE_DEFAULT_HOME=$(DEB_KDE_DEFAULT_HOME) \
+        -DKDE_DISTRIBUTION_TEXT="Debian packages" \
+        -DLIB_INSTALL_DIR=$(DEB_LIB_INSTALL_DIR) \
+        -DSYSCONF_INSTALL_DIR=$(DEB_SYSCONF_INSTALL_DIR)
+
+
+# Support building with enable final (disabled by default)
+ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+    arch_no_final := arm m68k alpha ppc64 armel armeb
+    ifeq (,$(filter $(DEB_HOST_ARCH_CPU),$(arch_no_final)))
+	DEB_CMAKE_KDE4_ARGS += $(if $(DEB_KDE_ENABLE_FINAL),-DKDE4_ENABLE_FINAL,)
+    endif
+endif

Added: branches/kde4/packages/pkg-kde-tools/branches/cdbs_work/share/cdbs/1/class/kde4.mk
===================================================================
--- branches/kde4/packages/pkg-kde-tools/branches/cdbs_work/share/cdbs/1/class/kde4.mk	                        (rev 0)
+++ branches/kde4/packages/pkg-kde-tools/branches/cdbs_work/share/cdbs/1/class/kde4.mk	2008-09-22 18:01:16 UTC (rev 12224)
@@ -0,0 +1,34 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2008 Matthew Rosewarne <mrosewarne at inoutbox.com>
+# Description: A class for KDE 4 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.
+
+_cdbs_scripts_path ?= /usr/lib/cdbs
+_cdbs_rules_path ?= /usr/share/cdbs/1/rules
+_cdbs_class_path ?= /usr/share/cdbs/1/class
+
+ifndef _cdbs_class_kde4
+_cdbs_class_kde4 = 1
+
+include $(_cdbs_class_path)/kde4-vars.mk$(_cdbs_makefile_suffix)
+
+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), kdelibs5-dev
+
+DEB_COMPRESS_EXCLUDE = .dcl .docbook -license .tag .sty .el
+
+DEB_CMAKE_NORMAL_ARGS += $(DEB_CMAKE_KDE4_ARGS)
+

Copied: branches/kde4/packages/pkg-kde-tools/trunk/debian (from rev 12223, branches/kde4/packages/pkg-kde-tools/debian)


Property changes on: branches/kde4/packages/pkg-kde-tools/trunk/debian
___________________________________________________________________
Name: svn:mergeinfo
   + 

Copied: branches/kde4/packages/pkg-kde-tools/trunk/makefiles (from rev 12223, branches/kde4/packages/pkg-kde-tools/makefiles)


Property changes on: branches/kde4/packages/pkg-kde-tools/trunk/makefiles
___________________________________________________________________
Name: svn:mergeinfo
   + 




More information about the pkg-kde-commits mailing list