mirror of
https://github.com/FairRootGroup/FairLogger.git
synced 2025-10-13 16:46:46 +00:00
Release 1.5.0-1
This commit is contained in:
parent
9949e83a14
commit
54e0ac2a83
5
debian/changelog
vendored
Normal file
5
debian/changelog
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
fairlogger (1.5.0-1) bionic; urgency=medium
|
||||
|
||||
* Initial release
|
||||
|
||||
-- Dennis Klein <d.klein@gsi.de> Fri, 09 Aug 2019 19:43:33 +0200
|
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
10
|
26
debian/control
vendored
Normal file
26
debian/control
vendored
Normal file
|
@ -0,0 +1,26 @@
|
|||
Source: fairlogger
|
||||
Priority: optional
|
||||
Maintainer: Dennis Klein <d.klein@gsi.de>
|
||||
Build-Depends: debhelper (>= 10), cmake (>= 3.9.4), libboost1.65-dev
|
||||
Standards-Version: 4.1.2
|
||||
Section: libs
|
||||
Homepage: https://github.com/FairRootGroup/FairLogger
|
||||
Vcs-Git: https://github.com/FairRootGroup/FairLogger
|
||||
Vcs-Browser: https://github.com/FairRootGroup/FairLogger
|
||||
|
||||
Package: fairlogger
|
||||
Architecture: amd64
|
||||
Multi-Arch: same
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||
Description: Lightweight and fast C++ Logging Library
|
||||
Logging to stdout, file, and/or custom sinks. Configurable verbosity
|
||||
and severity levels. Thread-safe ostream logging via LOG(severity) macro.
|
||||
|
||||
Package: fairlogger-dev
|
||||
Architecture: amd64
|
||||
Multi-Arch: same
|
||||
Section: libdevel
|
||||
Depends: libboost1.65-dev, ${shlibs:Depends}, ${misc:Depends}
|
||||
Description: Lightweight and fast C++ Logging Library
|
||||
Logging to stdout, file, and/or custom sinks. Configurable verbosity
|
||||
and severity levels. Thread-safe ostream logging via LOG(severity) macro.
|
30
debian/copyright
vendored
Normal file
30
debian/copyright
vendored
Normal file
|
@ -0,0 +1,30 @@
|
|||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: FairLogger
|
||||
Source: https://github.com/FairRootGroup/FairLogger
|
||||
|
||||
Files: *
|
||||
Copyright: 2014-2019 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH
|
||||
2014-2019 Alexey Rybalchenko <alexryba@gmail.com>
|
||||
2014-2019 Dennis Klein <d.klein@gsi.de>
|
||||
License: LGPL-3.0+
|
||||
|
||||
Files: debian/*
|
||||
Copyright: 2019 Dennis Klein <d.klein@gsi.de>
|
||||
License: LGPL-3.0+
|
||||
|
||||
License: LGPL-3.0+
|
||||
This package 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.
|
||||
.
|
||||
This package 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
|
||||
Lesser General Public License for more details.
|
||||
.
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
.
|
||||
On Debian systems, the complete text of the GNU Lesser General
|
||||
Public License can be found in "/usr/share/common-licenses/LGPL-3".
|
2
debian/fairlogger-dev.install
vendored
Normal file
2
debian/fairlogger-dev.install
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
usr/include/*/*
|
||||
usr/lib/*/cmake/*
|
1
debian/fairlogger.install
vendored
Normal file
1
debian/fairlogger.install
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
usr/lib/*/lib*.so
|
35
debian/patches/0001-CMake-Do-not-bake-git-version-into-installed-files.patch
vendored
Normal file
35
debian/patches/0001-CMake-Do-not-bake-git-version-into-installed-files.patch
vendored
Normal file
|
@ -0,0 +1,35 @@
|
|||
From: Dennis Klein <d.klein@gsi.de>
|
||||
Date: Fri, 9 Aug 2019 22:16:06 +0200
|
||||
Subject: CMake: Do not bake git version into installed files
|
||||
|
||||
---
|
||||
CMakeLists.txt | 2 +-
|
||||
cmake/FairLoggerLib.cmake | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 673e2ac..159cda3 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -62,7 +62,7 @@ target_include_directories(FairLogger
|
||||
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
|
||||
)
|
||||
set_target_properties(FairLogger PROPERTIES
|
||||
- VERSION ${PROJECT_GIT_VERSION}
|
||||
+ VERSION ${PROJECT_VERSION}
|
||||
SOVERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}"
|
||||
)
|
||||
|
||||
diff --git a/cmake/FairLoggerLib.cmake b/cmake/FairLoggerLib.cmake
|
||||
index b038058..ca4f52f 100644
|
||||
--- a/cmake/FairLoggerLib.cmake
|
||||
+++ b/cmake/FairLoggerLib.cmake
|
||||
@@ -215,7 +215,7 @@ endfunction()
|
||||
macro(install_cmake_package)
|
||||
include(CMakePackageConfigHelpers)
|
||||
set(PACKAGE_INSTALL_DESTINATION
|
||||
- ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}-${PROJECT_GIT_VERSION}
|
||||
+ ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}-${PROJECT_VERSION}
|
||||
)
|
||||
install(EXPORT ${PROJECT_EXPORT_SET}
|
||||
NAMESPACE ${PROJECT_NAME}::
|
26
debian/patches/0002-CMake-Disable-relative-install-RPATH.patch
vendored
Normal file
26
debian/patches/0002-CMake-Disable-relative-install-RPATH.patch
vendored
Normal file
|
@ -0,0 +1,26 @@
|
|||
From: Dennis Klein <d.klein@gsi.de>
|
||||
Date: Fri, 9 Aug 2019 22:18:31 +0200
|
||||
Subject: CMake: Disable relative install RPATH
|
||||
|
||||
---
|
||||
cmake/FairLoggerLib.cmake | 6 ++----
|
||||
1 file changed, 2 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/cmake/FairLoggerLib.cmake b/cmake/FairLoggerLib.cmake
|
||||
index ca4f52f..d15d163 100644
|
||||
--- a/cmake/FairLoggerLib.cmake
|
||||
+++ b/cmake/FairLoggerLib.cmake
|
||||
@@ -131,11 +131,9 @@ macro(set_fairlogger_defaults)
|
||||
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||
set(CMAKE_EXE_LINKER_FLAGS ${CMAKE_EXE_LINKER_FLAGS} "-Wl,--enable-new-dtags")
|
||||
set(CMAKE_SHARED_LINKER_FLAGS ${CMAKE_SHARED_LINKER_FLAGS} "-Wl,--enable-new-dtags")
|
||||
- set(CMAKE_INSTALL_RPATH "$ORIGIN/../${PROJECT_INSTALL_LIBDIR}")
|
||||
+ # set(CMAKE_INSTALL_RPATH "$ORIGIN/../${PROJECT_INSTALL_LIBDIR}")
|
||||
elseif(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
|
||||
- set(CMAKE_INSTALL_RPATH "@loader_path/../${PROJECT_INSTALL_LIBDIR}")
|
||||
- else()
|
||||
- set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${PROJECT_INSTALL_LIBDIR}")
|
||||
+ # set(CMAKE_INSTALL_RPATH "@loader_path/../${PROJECT_INSTALL_LIBDIR}")
|
||||
endif()
|
||||
endif()
|
||||
|
21
debian/patches/0003-CMake-Workaround-broken-pristine-tar.patch
vendored
Normal file
21
debian/patches/0003-CMake-Workaround-broken-pristine-tar.patch
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
From: Dennis Klein <d.klein@gsi.de>
|
||||
Date: Fri, 9 Aug 2019 22:24:46 +0200
|
||||
Subject: CMake: Workaround broken pristine tar
|
||||
|
||||
---
|
||||
CMakeLists.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 159cda3..7a457cb 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -13,7 +13,7 @@ cmake_policy(VERSION 3.9...3.14)
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
|
||||
include(FairLoggerLib)
|
||||
|
||||
-get_git_version()
|
||||
+get_git_version(DEFAULT_VERSION 1.5.0)
|
||||
|
||||
project(FairLogger VERSION ${PROJECT_VERSION} LANGUAGES C CXX)
|
||||
message(STATUS "${BWhite}${PROJECT_NAME}${CR} ${PROJECT_GIT_VERSION} from ${PROJECT_DATE}")
|
3
debian/patches/series
vendored
Normal file
3
debian/patches/series
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
0001-CMake-Do-not-bake-git-version-into-installed-files.patch
|
||||
0002-CMake-Disable-relative-install-RPATH.patch
|
||||
0003-CMake-Workaround-broken-pristine-tar.patch
|
15
debian/rules
vendored
Executable file
15
debian/rules
vendored
Executable file
|
@ -0,0 +1,15 @@
|
|||
#!/usr/bin/make -f
|
||||
# output every command that modifies files on the build system.
|
||||
export DH_VERBOSE = 1
|
||||
|
||||
%:
|
||||
dh $@ --builddirectory=build
|
||||
|
||||
override_dh_auto_configure:
|
||||
mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=OFF -DUSE_BOOST_PRETTY_FUNCTION=ON -DCMAKE_BUILD_TYPE=Release ..
|
||||
|
||||
override_dh_auto_build:
|
||||
cd build && make
|
||||
|
||||
override_dh_auto_install:
|
||||
cd build && make install DESTDIR=../debian/tmp
|
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
3.0 (quilt)
|
Loading…
Reference in New Issue
Block a user