r53500 - in /packages/unstable/libgda5/debian: changelog patches/remove_builddate.patch patches/series
jordi at users.alioth.debian.org
jordi at users.alioth.debian.org
Wed Sep 6 05:41:00 UTC 2017
Author: jordi
Date: Wed Sep 6 05:40:59 2017
New Revision: 53500
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=53500
Log:
Add remove_builddate.patch: remove references to GDA_BUILDDATE in
generated documentation to fix build reproducibility.
Added:
packages/unstable/libgda5/debian/patches/remove_builddate.patch
Modified:
packages/unstable/libgda5/debian/changelog
packages/unstable/libgda5/debian/patches/series
Modified: packages/unstable/libgda5/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/libgda5/debian/changelog?rev=53500&op=diff
==============================================================================
--- packages/unstable/libgda5/debian/changelog [utf-8] (original)
+++ packages/unstable/libgda5/debian/changelog [utf-8] Wed Sep 6 05:40:59 2017
@@ -1,7 +1,9 @@
-libgda5 (5.2.4-6) UNRELEASED; urgency=medium
+libgda5 (5.2.4-5) UNRELEASED; urgency=medium
* Add libgtk-3-doc to B-D-Indep to fix reflinks in generated docs.
* Add missing Build-Dep on dh_python (lintian).
+ * Add remove_builddate.patch: remove references to GDA_BUILDDATE in
+ generated documentation to fix build reproducibility.
-- Jordi Mallach <jordi at debian.org> Mon, 04 Sep 2017 02:45:19 +0200
Added: packages/unstable/libgda5/debian/patches/remove_builddate.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/libgda5/debian/patches/remove_builddate.patch?rev=53500&op=file
==============================================================================
--- packages/unstable/libgda5/debian/patches/remove_builddate.patch (added)
+++ packages/unstable/libgda5/debian/patches/remove_builddate.patch [utf-8] Wed Sep 6 05:40:59 2017
@@ -0,0 +1,83 @@
+Index: libgda5-5.2.4/configure.ac
+===================================================================
+--- libgda5-5.2.4.orig/configure.ac
++++ libgda5-5.2.4/configure.ac
+@@ -71,9 +71,6 @@ AC_CHECK_FUNCS(localtime_r localtime_s)
+ AC_CHECK_HEADER(sys/mman.h,
+ AC_CHECK_FUNC(mlock, [AC_DEFINE(USE_MLOCK, 1, [Use POSIX memory locking])]))
+
+-GDA_BUILDDATE=`date '+%F'`
+-AC_SUBST(GDA_BUILDDATE, $GDA_BUILDDATE)
+-
+ dnl **********************
+ dnl Cross compilation test
+ dnl **********************
+@@ -1021,7 +1018,6 @@ doc/Makefile
+ doc/C/Makefile
+ doc/C/libgda.types
+ doc/C/version.xml
+-doc/C/builddate.xml
+ doc/mallard/Makefile
+ doc/mallard/gda-vala/Makefile
+ doc/mallard/gda-vala/C/Makefile
+@@ -1035,8 +1031,6 @@ dnl Dirty work to be able to build docum
+ chmod -R u+w ${srcdir}/doc/C
+ cp doc/C/version.xml ${srcdir}/doc/C/version.xml.tmp
+ mv ${srcdir}/doc/C/version.xml.tmp ${srcdir}/doc/C/version.xml
+-cp doc/C/builddate.xml ${srcdir}/doc/C/builddate.xml.tmp
+-mv ${srcdir}/doc/C/builddate.xml.tmp ${srcdir}/doc/C/builddate.xml
+
+ cp ${srcdir}/doc/C/libgda-sections.txt doc/C/libgda-5.0-sections.txt
+ echo "" >> doc/C/libgda-5.0-sections.txt
+Index: libgda5-5.2.4/doc/C/Makefile.am
+===================================================================
+--- libgda5-5.2.4.orig/doc/C/Makefile.am
++++ libgda5-5.2.4/doc/C/Makefile.am
+@@ -54,7 +54,7 @@ endif
+ MKDB_OPTIONS=--sgml-mode --output-format=xml --name-space=gda --ignore-files="parser.c delimiter.c binreloc.c libcsv.c md5c.c providers tools control-center tests tmp samples plugins"
+
+ # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE)
+-content_files = fdl-appendix.sgml version.xml builddate.xml
++content_files = fdl-appendix.sgml version.xml
+
+ # Images to copy into HTML directory
+ HTML_IMAGES = DataModels.png \
+@@ -85,7 +85,7 @@ EXTRA_DIST += examples/full_example.c in
+ DataModels.svg \
+ architecture.svg parts.svg stmt-unknown.svg stmt-select.svg stmt-insert1.svg stmt-insert2.svg \
+ stmt-update.svg stmt-compound.svg information_schema.svg howto-exec.svg thread-wrapper.svg \
+- version.xml.in builddate.xml.in \
++ version.xml.in \
+ visual_index.xml prov-notes.xml \
+ libgda-sections.txt libgda-ui-sections.txt libgda.types libgda.types.in libgda-ui.types \
+ examples/blobtest.c \
+Index: libgda5-5.2.4/tools/gda-sql.1.in
+===================================================================
+--- libgda5-5.2.4.orig/tools/gda-sql.1.in
++++ libgda5-5.2.4/tools/gda-sql.1.in
+@@ -1,4 +1,4 @@
+-.TH gda-sql 1 "@GDA_BUILDDATE@" "Version @PACKAGE_VERSION@" "LIBGDA Manual Pages"
++.TH gda-sql 1 "" "Version @PACKAGE_VERSION@" "LIBGDA Manual Pages"
+
+ .SH NAME
+ gda-sql - an SQL console based on Libgda
+Index: libgda5-5.2.4/doc/C/libgda-5.0-docs.sgml
+===================================================================
+--- libgda5-5.2.4.orig/doc/C/libgda-5.0-docs.sgml
++++ libgda5-5.2.4/doc/C/libgda-5.0-docs.sgml
+@@ -3,7 +3,6 @@
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
+ <!ENTITY copy "The GNOME Foundation">
+ <!ENTITY version SYSTEM "version.xml">
+-<!ENTITY builddate SYSTEM "builddate.xml">
+ <!ENTITY LIBGDA "<application>Libgda</application>">
+ <!ENTITY igalia '<emphasis><ulink url="http://www.igalia.com">Igalia, S.L.</ulink></emphasis>'>
+ <!ENTITY xobas '<emphasis><ulink url="http://www.xobas.com">Xobas Software</ulink></emphasis>'>
+@@ -98,7 +97,6 @@
+ </contrib>
+ </author>
+ </authorgroup>
+- <date>&builddate;</date>
+ <copyright>
+ <year>1999 - 2011</year>
+ <holder>©</holder>
Modified: packages/unstable/libgda5/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/libgda5/debian/patches/series?rev=53500&op=diff
==============================================================================
--- packages/unstable/libgda5/debian/patches/series [utf-8] (original)
+++ packages/unstable/libgda5/debian/patches/series [utf-8] Wed Sep 6 05:40:59 2017
@@ -2,3 +2,4 @@
Accept-SQLITE_INDEX_CONSTRAINT_LIKE-from-sqlite.patch
0001-Convert-files-to-Unicode.patch
glib-2.54-ftbfs.patch
+remove_builddate.patch
More information about the pkg-gnome-commits
mailing list