[med-svn] r6189 - in trunk/packages: . log4qt log4qt/debian log4qt/debian/patches log4qt/debian/source

Mathieu Malaterre malat-guest at alioth.debian.org
Mon Mar 7 16:54:26 UTC 2011


Author: malat-guest
Date: 2011-03-07 16:54:25 +0000 (Mon, 07 Mar 2011)
New Revision: 6189

Added:
   trunk/packages/log4qt/
   trunk/packages/log4qt/debian/
   trunk/packages/log4qt/debian/README.Debian
   trunk/packages/log4qt/debian/README.source
   trunk/packages/log4qt/debian/changelog
   trunk/packages/log4qt/debian/compat
   trunk/packages/log4qt/debian/control
   trunk/packages/log4qt/debian/copyright
   trunk/packages/log4qt/debian/docs
   trunk/packages/log4qt/debian/liblog4qt0-dev.install
   trunk/packages/log4qt/debian/liblog4qt0.install
   trunk/packages/log4qt/debian/patches/
   trunk/packages/log4qt/debian/patches/cmakebuildsystem.patch
   trunk/packages/log4qt/debian/patches/series
   trunk/packages/log4qt/debian/rules
   trunk/packages/log4qt/debian/source/
   trunk/packages/log4qt/debian/source/format
   trunk/packages/log4qt/debian/watch
Log:
Adding log4qt

Added: trunk/packages/log4qt/debian/README.Debian
===================================================================
--- trunk/packages/log4qt/debian/README.Debian	                        (rev 0)
+++ trunk/packages/log4qt/debian/README.Debian	2011-03-07 16:54:25 UTC (rev 6189)
@@ -0,0 +1,11 @@
+log4qt for Debian
+-------------------
+
+Log4Qt is used in CTK. The initial CMakeLists.txt were taken from the CTK project:
+
+ https://github.com/commontk/Log4Qt
+
+Because the intend is to package CTK. Patch needed for CTK have been applied
+to official upstream.
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Sat, 05 Mar 2011 16:34:12 +0100

Added: trunk/packages/log4qt/debian/README.source
===================================================================
--- trunk/packages/log4qt/debian/README.source	                        (rev 0)
+++ trunk/packages/log4qt/debian/README.source	2011-03-07 16:54:25 UTC (rev 6189)
@@ -0,0 +1,6 @@
+log4qt for Debian
+-------------------
+
+This packages uses a patch system. Please read
+/usr/share/doc/quilt/README.source for more informations.
+

Added: trunk/packages/log4qt/debian/changelog
===================================================================
--- trunk/packages/log4qt/debian/changelog	                        (rev 0)
+++ trunk/packages/log4qt/debian/changelog	2011-03-07 16:54:25 UTC (rev 6189)
@@ -0,0 +1,5 @@
+log4qt (0.3-1) unstable; urgency=low
+
+  * Initial release (Closes: #)
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Sat, 05 Mar 2011 16:34:12 +0100

Added: trunk/packages/log4qt/debian/compat
===================================================================
--- trunk/packages/log4qt/debian/compat	                        (rev 0)
+++ trunk/packages/log4qt/debian/compat	2011-03-07 16:54:25 UTC (rev 6189)
@@ -0,0 +1 @@
+7

Added: trunk/packages/log4qt/debian/control
===================================================================
--- trunk/packages/log4qt/debian/control	                        (rev 0)
+++ trunk/packages/log4qt/debian/control	2011-03-07 16:54:25 UTC (rev 6189)
@@ -0,0 +1,23 @@
+Source: log4qt
+Section: libs
+Priority: extra
+Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+DM-Upload-Allowed: yes
+Uploaders: Mathieu Malaterre <mathieu.malaterre at gmail.com>
+Build-Depends: debhelper (>= 7.0.50~), cmake
+Standards-Version: 3.9.1
+Homepage: http://log4qt.sourceforge.net
+Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/log4qt/trunk/?rev=0&sc=0
+Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/log4qt/trunk/
+
+Package: liblog4qt0
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: C++ port of the Log4j package using the Trolltech Qt Framework.
+ todo
+
+Package: liblog4qt0-dev
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: C++ port of the Log4j package using the Trolltech Qt Framework.
+ todo

Added: trunk/packages/log4qt/debian/copyright
===================================================================
--- trunk/packages/log4qt/debian/copyright	                        (rev 0)
+++ trunk/packages/log4qt/debian/copyright	2011-03-07 16:54:25 UTC (rev 6189)
@@ -0,0 +1,30 @@
+This work was packaged for Debian by:
+
+    Mathieu Malaterre <mathieu.malaterre at gmail.com> on Sat, 05 Mar 2011 16:34:12 +0100
+
+It was downloaded from:
+
+    http://log4qt.sourceforge.net
+
+Upstream Author(s):
+
+    Martin Heinrich <martin_heinrich at users.sf.net>
+
+Copyright:
+
+    Copyright 2007 Martin Heinrich
+
+License:
+
+    All code is offered under the Apache License (2.0)
+
+    On Debian systems, the Apache license is available at
+    `/usr/share/common-licenses/Apache-2.0'.
+
+
+The Debian packaging is:
+
+    Copyright (C) 2011 Mathieu Malaterre <mathieu.malaterre at gmail.com>
+
+and is licensed under the Apache license version 2.0,
+see "/usr/share/common-licenses/Apache-2.0".

Added: trunk/packages/log4qt/debian/docs
===================================================================
--- trunk/packages/log4qt/debian/docs	                        (rev 0)
+++ trunk/packages/log4qt/debian/docs	2011-03-07 16:54:25 UTC (rev 6189)
@@ -0,0 +1 @@
+README.txt

Added: trunk/packages/log4qt/debian/liblog4qt0-dev.install
===================================================================
--- trunk/packages/log4qt/debian/liblog4qt0-dev.install	                        (rev 0)
+++ trunk/packages/log4qt/debian/liblog4qt0-dev.install	2011-03-07 16:54:25 UTC (rev 6189)
@@ -0,0 +1,2 @@
+usr/lib/libLog4Qt.so
+usr/include/log4qt/

Added: trunk/packages/log4qt/debian/liblog4qt0.install
===================================================================
--- trunk/packages/log4qt/debian/liblog4qt0.install	                        (rev 0)
+++ trunk/packages/log4qt/debian/liblog4qt0.install	2011-03-07 16:54:25 UTC (rev 6189)
@@ -0,0 +1 @@
+usr/lib/libLog4Qt.so.*

Added: trunk/packages/log4qt/debian/patches/cmakebuildsystem.patch
===================================================================
--- trunk/packages/log4qt/debian/patches/cmakebuildsystem.patch	                        (rev 0)
+++ trunk/packages/log4qt/debian/patches/cmakebuildsystem.patch	2011-03-07 16:54:25 UTC (rev 6189)
@@ -0,0 +1,172 @@
+Index: log4qt/CMakeLists.txt
+===================================================================
+--- /dev/null	1970-01-01 00:00:00.000000000 +0000
++++ log4qt/CMakeLists.txt	2011-03-07 17:46:44.000000000 +0100
+@@ -0,0 +1,167 @@
++
++cmake_minimum_required(VERSION 2.8)
++
++#-----------------------------------------------------------------------------
++# See http://cmake.org/cmake/help/cmake-2-8-docs.html#section_Policies for details
++#
++
++SET(project_policies
++  CMP0001 # NEW: CMAKE_BACKWARDS_COMPATIBILITY should no longer be used.
++  CMP0002 # NEW: Logical target names must be globally unique.
++  CMP0003 # NEW: Libraries linked via full path no longer produce linker search paths.
++  CMP0004 # NEW: Libraries linked may NOT have leading or trailing whitespace.
++  CMP0005 # NEW: Preprocessor definition values are now escaped automatically.
++  CMP0006 # NEW: Installing MACOSX_BUNDLE targets requires a BUNDLE DESTINATION.
++  CMP0007 # NEW: List command no longer ignores empty elements.
++  CMP0008 # NEW: Libraries linked by full-path must have a valid library file name.
++  CMP0009 # NEW: FILE GLOB_RECURSE calls should not follow symlinks by default.
++  CMP0010 # NEW: Bad variable reference syntax is an error.
++  CMP0011 # NEW: Included scripts do automatic cmake_policy PUSH and POP.
++  CMP0012 # NEW: if() recognizes numbers and boolean constants.
++  CMP0013 # NEW: Duplicate binary directories are not allowed.
++  CMP0014 # NEW: Input directories must have CMakeLists.txt
++  )
++FOREACH(policy ${project_policies})
++  IF(POLICY ${policy})
++    CMAKE_POLICY(SET ${policy} NEW)
++  ENDIF()
++ENDFOREACH()
++
++#-----------------------------------------------------------------------------
++project(Log4Qt)
++#-----------------------------------------------------------------------------
++
++
++#-----------------------------------------------------------------------------
++# Library type - Statically built
++#
++set(BUILD_SHARED_LIBS TRUE)
++
++set(Log4Qt_MAJOR_VERSION 0)
++set(Log4Qt_MINOR_VERSION 3)
++set(Log4Qt_VERSION
++  "${Log4Qt_MAJOR_VERSION}.${Log4Qt_MINOR_VERSION}")
++set(Log4Qt_API_VERSION
++  "${Log4Qt_MAJOR_VERSION}")
++set(Log4Qt_LIBRARY_PROPERTIES ${Log4Qt_LIBRARY_PROPERTIES}
++  VERSION "${Log4Qt_VERSION}"
++  SOVERSION "${Log4Qt_API_VERSION}"
++  )
++
++#-----------------------------------------------------------------------------
++# Set symbol visibility Flags
++#
++IF("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
++  SET(VISIBILITY_CXX_FLAGS "-fvisibility=hidden -fvisibility-inlines-hidden")
++ENDIF()
++
++#-----------------------------------------------------------------------------
++# Update C/CXX Flags
++#
++SET(CMAKE_CXX_FLAGS "${VISIBILITY_CXX_FLAGS} ${CMAKE_CXX_FLAGS}" CACHE STRING "CMake CXX Flags")
++
++#-----------------------------------------------------------------------------
++# Qt
++set(minimum_required_qt_version "4.6")
++
++find_package(Qt4)
++
++if(QT4_FOUND)
++  set(found_qt_version ${QT_VERSION_MAJOR}.${QT_VERSION_MINOR}.${QT_VERSION_PATCH})
++  
++  if(${found_qt_version} VERSION_LESS ${minimum_required_qt_version})
++      message(FATAL_ERROR "error: Log4Qt requires Qt >= ${minimum_required_qt_version} -- you cannot use Qt ${found_qt_version}.")
++  endif()
++  
++  include(${QT_USE_FILE})
++else()
++  message(FATAL_ERROR "error: Qt4 was not found on your system. You probably need to set the QT_QMAKE_EXECUTABLE variable")
++endif()
++
++
++# --------------------------------------------------------------------------
++# Include dirs
++set(log4qt_includes
++  ${CMAKE_CURRENT_SOURCE_DIR}/src
++  ${CMAKE_CURRENT_BINARY_DIR}/src
++  )
++include_directories(${log4qt_includes})
++
++#-----------------------------------------------------------------------------
++# Sources
++
++file(GLOB LOG4QT_SOURCE
++  src/log4qt/*.cpp
++  src/log4qt/helpers/*.cpp
++  src/log4qt/spi/*.cpp
++  src/log4qt/varia/*.cpp
++  )
++
++# Headers that should run through moc
++set(LOG4QT_MOC_SRCS
++  src/log4qt/appenderskeleton.h
++  src/log4qt/appender.h
++  src/log4qt/layout.h
++  src/log4qt/consoleappender.h
++  src/log4qt/dailyrollingfileappender.h
++  src/log4qt/fileappender.h
++  src/log4qt/helpers/configuratorhelper.h
++  src/log4qt/helpers/logobject.h
++  src/log4qt/logger.h
++  src/log4qt/patternlayout.h
++  src/log4qt/rollingfileappender.h
++  src/log4qt/simplelayout.h
++  src/log4qt/spi/filter.h
++  src/log4qt/ttcclayout.h
++  src/log4qt/varia/debugappender.h
++  src/log4qt/varia/denyallfilter.h
++  src/log4qt/varia/levelmatchfilter.h
++  src/log4qt/varia/levelrangefilter.h
++  src/log4qt/varia/listappender.h
++  src/log4qt/varia/nullappender.h
++  src/log4qt/varia/stringmatchfilter.h
++  src/log4qt/writerappender.h
++)
++
++#-----------------------------------------------------------------------------
++# Do wrapping
++
++qt4_wrap_cpp(LOG4QT_MOC_CXX ${LOG4QT_MOC_SRCS})
++
++source_group("Generated" FILES
++  ${LOG4QT_MOC_CXX}
++  )
++    
++#-----------------------------------------------------------------------------
++# Build the library
++
++add_library(${PROJECT_NAME}
++  ${LOG4QT_SOURCE} 
++  ${LOG4QT_MOC_CXX}
++  )
++set_target_properties(Log4Qt PROPERTIES ${Log4Qt_LIBRARY_PROPERTIES})
++
++#-----------------------------------------------------------------------------
++#
++# To fix compilation problem: relocation R_X86_64_32 against `a local symbol' can not be
++# used when making a shared object; recompile with -fPIC
++# See http://www.cmake.org/pipermail/cmake/2007-May/014350.html
++#
++#IF( CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" )
++#  SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES COMPILE_FLAGS "-fPIC")
++#ENDIF( CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" )
++target_link_libraries(Log4Qt
++  ${QT_LIBRARIES}
++  )
++
++#-----------------------------------------------------------------------------
++# Install rules
++foreach(dir . helpers spi varia)
++  file(GLOB InstallHeaders 
++    "${CMAKE_CURRENT_SOURCE_DIR}/src/log4qt/${dir}/*.h" 
++    )
++  install( FILES ${InstallHeaders}
++    DESTINATION include/log4qt/${dir} COMPONENT Development )
++endforeach()
++
++install(TARGETS ${PROJECT_NAME} DESTINATION lib COMPONENT Development )

Added: trunk/packages/log4qt/debian/patches/series
===================================================================
--- trunk/packages/log4qt/debian/patches/series	                        (rev 0)
+++ trunk/packages/log4qt/debian/patches/series	2011-03-07 16:54:25 UTC (rev 6189)
@@ -0,0 +1 @@
+cmakebuildsystem.patch

Added: trunk/packages/log4qt/debian/rules
===================================================================
--- trunk/packages/log4qt/debian/rules	                        (rev 0)
+++ trunk/packages/log4qt/debian/rules	2011-03-07 16:54:25 UTC (rev 6189)
@@ -0,0 +1,16 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+	dh --parallel --with quilt --buildsystem=cmake $@ 
+
+get-orig-source:
+	uscan --verbose --force-download --repack


Property changes on: trunk/packages/log4qt/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: trunk/packages/log4qt/debian/source/format
===================================================================
--- trunk/packages/log4qt/debian/source/format	                        (rev 0)
+++ trunk/packages/log4qt/debian/source/format	2011-03-07 16:54:25 UTC (rev 6189)
@@ -0,0 +1 @@
+3.0 (quilt)

Added: trunk/packages/log4qt/debian/watch
===================================================================
--- trunk/packages/log4qt/debian/watch	                        (rev 0)
+++ trunk/packages/log4qt/debian/watch	2011-03-07 16:54:25 UTC (rev 6189)
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/log4qt/log4qt-([\d\.]+)\.tar.gz




More information about the debian-med-commit mailing list