diff options
Diffstat (limited to 'debian/patches')
-rw-r--r-- | debian/patches/dont-install-unneeded-docfiles.diff | 18 | ||||
-rw-r--r-- | debian/patches/reproducible-build.diff | 15 | ||||
-rw-r--r-- | debian/patches/series | 2 |
3 files changed, 35 insertions, 0 deletions
diff --git a/debian/patches/dont-install-unneeded-docfiles.diff b/debian/patches/dont-install-unneeded-docfiles.diff new file mode 100644 index 0000000..2c2a135 --- /dev/null +++ b/debian/patches/dont-install-unneeded-docfiles.diff @@ -0,0 +1,18 @@ +--- mdds-0.6.1.orig/Makefile.in ++++ mdds-0.6.1/Makefile.in +@@ -210,8 +210,6 @@ + $(CXX) $(LDFLAGS) $< -o $@ + + install: $(HEADERS) +- cp -a LICENSE COPYING +- cp -a CHANGELOG NEWS + install -d $(DESTDIR)$(INSTALL_INCDIR)/mdds + install -d $(DESTDIR)$(INSTALL_DOCDIR) + install -d $(DESTDIR)@datarootdir@ +@@ -219,7 +219,6 @@ + install -m 644 @top_srcdir@/$(INCDIR)/mdds/*.hpp $(DESTDIR)$(INSTALL_INCDIR)/mdds + install -m 644 @top_srcdir@/$(INCDIR)/mdds/*.inl $(DESTDIR)$(INSTALL_INCDIR)/mdds + install -m 644 $(MISCDIR)/mdds.pc $(DESTDIR)@datarootdir@/pkgconfig/mdds-@API_VERSION@.pc +- install -m 644 @top_srcdir@/AUTHORS @top_srcdir@/COPYING @top_srcdir@/NEWS @top_srcdir@/README.md @top_srcdir@/VERSION $(DESTDIR)$(INSTALL_DOCDIR) + + check: $(ALL_TESTS) diff --git a/debian/patches/reproducible-build.diff b/debian/patches/reproducible-build.diff new file mode 100644 index 0000000..ac4260c --- /dev/null +++ b/debian/patches/reproducible-build.diff @@ -0,0 +1,15 @@ +Description: Make the build reproducible +Author: Chris Lamb <lamby@debian.org> +Last-Update: 2018-01-23 + +--- mdds-1.3.1.orig/doc/doxygen.conf ++++ mdds-1.3.1/doc/doxygen.conf +@@ -132,7 +132,7 @@ INLINE_INHERITED_MEMB = NO + # shortest path that makes the file name unique will be used + # The default value is: YES. + +-FULL_PATH_NAMES = YES ++FULL_PATH_NAMES = NO + + # The STRIP_FROM_PATH tag can be used to strip a user-defined part of the path. + # Stripping is only done if one of the specified strings matches the left-hand diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..a05935a --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,2 @@ +#dont-install-unneeded-docfiles.diff +reproducible-build.diff |