[med-svn] [hinge] 02/03: d/control: Update to standards 4.1.1 (no changes needed)
Gert Wollny
gewo at moszumanska.debian.org
Wed Dec 13 11:24:52 UTC 2017
This is an automated email from the git hooks/post-receive script.
gewo pushed a commit to branch master
in repository hinge.
commit 9468a1bdf93141858e46f86379283fd3d6a9f712
Author: Gert Wollny <gewo at debian.org>
Date: Wed Dec 13 12:13:04 2017 +0100
d/control: Update to standards 4.1.1 (no changes needed)
---
debian/control | 2 +-
debian/patches/libspdlog-14.0.patch | 66 +++++++++++++++++++++++++++++++++++++
2 files changed, 67 insertions(+), 1 deletion(-)
diff --git a/debian/control b/debian/control
index d22364c..907be93 100644
--- a/debian/control
+++ b/debian/control
@@ -12,7 +12,7 @@ Build-Depends:
libhdf5-dev,
zlib1g-dev,
pandoc,
-Standards-Version: 3.9.8
+Standards-Version: 4.1.1
Homepage: https://github.com/HingeAssembler/HINGE
Vcs-Git: https://anonscm.debian.org/git/debian-med/hinge.git
Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/hinge.git
diff --git a/debian/patches/libspdlog-14.0.patch b/debian/patches/libspdlog-14.0.patch
index 5fe58e6..8d37fba 100644
--- a/debian/patches/libspdlog-14.0.patch
+++ b/debian/patches/libspdlog-14.0.patch
@@ -1,3 +1,7 @@
+Author: Gert Wollny <gewo at debian.org>
+Description: Update to new spdlog interface
+Debian-Bug: https://bugs.debian.org/884211
+
--- a/src/filter/filter.cpp
+++ b/src/filter/filter.cpp
@@ -198,7 +198,7 @@
@@ -9,3 +13,65 @@
auto console = std::make_shared<spdlog::logger>("log", begin(sinks), end(sinks));
spdlog::register_logger(console);
//auto console = std::make_shared<spdlog::logger>("name", begin(sinks), end(sinks));
+--- a/src/consensus/draft.cpp
++++ b/src/consensus/draft.cpp
+@@ -777,7 +777,7 @@
+ std::vector<spdlog::sink_ptr> sinks;
+ sinks.push_back(std::make_shared<spdlog::sinks::stdout_sink_st>());
+ sinks.push_back(
+- std::make_shared<spdlog::sinks::daily_file_sink_st>(cmdp.get<std::string>("log") + "/log", "txt", 23, 59));
++ std::make_shared<spdlog::sinks::daily_file_sink_st>(cmdp.get<std::string>("log") + "/log.txt", 23, 59));
+ auto console = std::make_shared<spdlog::logger>("log", std::begin(sinks), std::end(sinks));
+ spdlog::register_logger(console);
+
+--- a/src/consensus/draft_chopper.cpp
++++ b/src/consensus/draft_chopper.cpp
+@@ -198,7 +198,7 @@
+ std::vector<spdlog::sink_ptr> sinks;
+ sinks.push_back(std::make_shared<spdlog::sinks::stdout_sink_st>());
+ sinks.push_back(
+- std::make_shared<spdlog::sinks::daily_file_sink_st>(cmdp.get<std::string>("log") + "/log", "txt", 23, 59));
++ std::make_shared<spdlog::sinks::daily_file_sink_st>(cmdp.get<std::string>("log") + "/log.txt", 23, 59));
+ auto console = std::make_shared<spdlog::logger>("log", std::begin(sinks), std::end(sinks));
+ spdlog::register_logger(console);
+
+@@ -1002,4 +1002,4 @@
+ if (strlen(name_db) > 0)
+ la.closeDB(); //close database
+ return 0;
+-}
+\ Kein Zeilenumbruch am Dateiende.
++}
+--- a/src/consensus/io_base.cpp
++++ b/src/consensus/io_base.cpp
+@@ -141,7 +141,7 @@
+ std::vector<spdlog::sink_ptr> sinks;
+ sinks.push_back(std::make_shared<spdlog::sinks::stdout_sink_st>());
+ sinks.push_back(
+- std::make_shared<spdlog::sinks::daily_file_sink_st>(cmdp.get<std::string>("log") + "/log", "txt", 23, 59));
++ std::make_shared<spdlog::sinks::daily_file_sink_st>(cmdp.get<std::string>("log") + "/log.txt", 23, 59));
+ auto console = std::make_shared<spdlog::logger>("log", std::begin(sinks), std::end(sinks));
+ spdlog::register_logger(console);
+
+--- a/src/layout/hinging.cpp
++++ b/src/layout/hinging.cpp
+@@ -677,7 +677,7 @@
+ std::vector<spdlog::sink_ptr> sinks;
+ sinks.push_back(std::make_shared<spdlog::sinks::stdout_sink_st>());
+ sinks.push_back(
+- std::make_shared<spdlog::sinks::daily_file_sink_st>(cmdp.get<std::string>("log") + "/log", "txt", 23, 59));
++ std::make_shared<spdlog::sinks::daily_file_sink_st>(cmdp.get<std::string>("log") + "/log.txt", 23, 59));
+ auto console = std::make_shared<spdlog::logger>("log", std::begin(sinks), std::end(sinks));
+ spdlog::register_logger(console);
+
+--- a/src/maximal/maximal.cpp
++++ b/src/maximal/maximal.cpp
+@@ -267,7 +267,7 @@
+
+ std::vector<spdlog::sink_ptr> sinks;
+ sinks.push_back(std::make_shared<spdlog::sinks::stdout_sink_st>());
+- sinks.push_back(std::make_shared<spdlog::sinks::daily_file_sink_st>(cmdp.get<std::string>("log") + "/log", "txt", 23, 59));
++ sinks.push_back(std::make_shared<spdlog::sinks::daily_file_sink_st>(cmdp.get<std::string>("log") + "/log.txt", 23, 59));
+ auto console = std::make_shared<spdlog::logger>("log", begin(sinks), end(sinks));
+ spdlog::register_logger(console);
+ //auto console = std::make_shared<spdlog::logger>("name", begin(sinks), end(sinks));
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/hinge.git
More information about the debian-med-commit
mailing list