[med-svn] [Git][med-team/gdpc][master] 12 commits: Restore normal dh_strip operation, try adding -dbgsym dep with alternative.

Yavor Doganov (@yavor-guest) gitlab at salsa.debian.org
Wed Jan 28 19:55:31 GMT 2026



Yavor Doganov pushed to branch master at Debian Med / gdpc


Commits:
1c58869e by Yavor Doganov at 2026-01-28T20:56:43+02:00
Restore normal dh_strip operation, try adding -dbgsym dep with alternative.

- - - - -
d2b84598 by Yavor Doganov at 2026-01-28T20:58:43+02:00
Run wrap-and-sort -ast.

- - - - -
a7a31f2a by Yavor Doganov at 2026-01-28T21:01:34+02:00
Build and test on all available architectures.

- - - - -
947618b6 by Yavor Doganov at 2026-01-28T21:16:19+02:00
buffer-overflow.patch: Close stream only if non-NULL.

- - - - -
43488901 by Yavor Doganov at 2026-01-28T21:25:41+02:00
sscanf-locale.patch: New; fix parsing of input files.

- - - - -
a1485ec4 by Yavor Doganov at 2026-01-28T21:28:42+02:00
(Priority, Rules-Requires-Root): Remove; obsolete.

- - - - -
7457113e by Yavor Doganov at 2026-01-28T21:31:36+02:00
gdpc.desktop: Add Keywords field.

- - - - -
67b400da by Yavor Doganov at 2026-01-28T21:35:42+02:00
Fix Last-Update field in a bunch of patches.

- - - - -
96209a90 by Yavor Doganov at 2026-01-28T21:37:05+02:00
(Standards-Version): Claim complicance with 4.7.3; no changes needed.

- - - - -
7e5f5b5c by Yavor Doganov at 2026-01-28T21:39:54+02:00
watch: Upgrade to version 5.

- - - - -
c5ce6586 by Yavor Doganov at 2026-01-28T21:47:41+02:00
cross.patch: Fix Last-Update field.

- - - - -
801d4104 by Yavor Doganov at 2026-01-28T21:50:46+02:00
copyright: Update years; replace FSF's old address with URL.

- - - - -


15 changed files:

- debian/changelog
- debian/control
- debian/copyright
- debian/gdpc.desktop
- debian/patches/40_fix_gcc4.8_build.patch
- debian/patches/41_glib_deprecated_funcs.patch
- debian/patches/buffer-overflow.patch
- debian/patches/cross.patch
- debian/patches/hardening.patch
- debian/patches/series
- debian/patches/spelling.patch
- + debian/patches/sscanf-locale.patch
- debian/rules
- debian/tests/control
- debian/watch


Changes:

=====================================
debian/changelog
=====================================
@@ -1,12 +1,31 @@
 gdpc (2.2.5-17) UNRELEASED; urgency=medium
 
   * Team upload.
+  * Run wrap-and-sort -ast.
   * debian/patches/gtk3.patch: New; port to GTK 3 (Closes: #967379).
   * debian/patches/buffer-overflow.patch: New; fix buffer overflows,
-    uninitialized variables and some other issues.
+    uninitialized variables and some other issues. (Closes: #982103).
+  * debian/patches/sscanf-locale.patch: New; fix parsing of input files.
+  * debian/patches/spelling.patch: Fix Last-Update field.
+  * debian/patches/hardening.patch: Likewise.
+  * debian/patches/cross.patch: Likewise.
+  * debian/patches/40_fix_gcc4.8_build.patch: Likewise.
+  * debian/patches/41_glib_deprecated_funcs.patch: Likewise.
   * debian/control (Build-Depends): Replace libgtk2.0-dev with
     libgtk-3-dev.
+    (Priority, Rules-Requires-Root): Remove; obsolete.
+    (Standards-Version): Claim complicance with 4.7.3; no changes needed.
     (Suggests): Remove gqview, no longer in Debian (Closes: #1118130).
+    (Architecture): Set to any; there's no reason to exclude anything.
+  * debian/tests/run-unit-test: Run md.test from gdb in batch mode as a
+    temporary measure (it fails on Salsa CI but I cannot reproduce on
+    amd64, i386, ppc64el and s390x).
+  * debian/tests/control (Depends): Add gdb and needed -dbgsym packages.
+    (Architecture): Remove field.
+  * debian/gdpc.desktop: Add Keywords field.
+  * debian/watch: Upgrade to version 5.
+  * debian/copyright: Replace FSF's old address with the canonical URL.
+    Update copyright years for Debian packaging.
 
  -- Yavor Doganov <yavor at gnu.org>  Sun, 25 Jan 2026 12:48:29 +0200
 


=====================================
debian/control
=====================================
@@ -1,22 +1,24 @@
 Source: gdpc
 Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
-Uploaders: Andreas Tille <tille at debian.org>,
-           Étienne Mollier <emollier at debian.org>
+Uploaders:
+ Andreas Tille <tille at debian.org>,
+ Étienne Mollier <emollier at debian.org>,
 Section: science
-Priority: optional
-Build-Depends: debhelper-compat (= 13),
-               libgtk-3-dev
-Standards-Version: 4.6.2
+Build-Depends:
+ debhelper-compat (= 13),
+ libgtk-3-dev,
+Standards-Version: 4.7.3
 Vcs-Browser: https://salsa.debian.org/med-team/gdpc
 Vcs-Git: https://salsa.debian.org/med-team/gdpc.git
 Homepage: https://web.archive.org/web/20180212152753/http://www.frantz.fi/software/gdpc.php
-Rules-Requires-Root: no
 
 Package: gdpc
-Architecture: any-amd64 arm64 loong64 mips64el ppc64el riscv64
-Depends: ${shlibs:Depends},
-         ${misc:Depends}
-Suggests: gdpc-examples (>= ${source:Version}),
+Architecture: any
+Depends:
+ ${misc:Depends},
+ ${shlibs:Depends},
+Suggests:
+ gdpc-examples (>= ${source:Version}),
 Description: visualiser of molecular dynamic simulations
  gpdc is a graphical program for visualising output data from
  molecular dynamics simulations. It reads input in the standard xyz
@@ -26,8 +28,10 @@ Description: visualiser of molecular dynamic simulations
 Package: gdpc-examples
 Architecture: all
 Multi-Arch: foreign
-Depends: ${misc:Depends}
-Recommends: gdpc (>= ${source:Version})
+Depends:
+ ${misc:Depends},
+Recommends:
+ gdpc (>= ${source:Version}),
 Description: example files for the gdpc program
  gpdc is a graphical program for visualising output data from
  molecular dynamics simulations. It reads input in the standard xyz


=====================================
debian/copyright
=====================================
@@ -8,7 +8,8 @@ License: GPL-2+
 
 Files: debian/*
 Copyright: © 2005-2008 Oliveira <naoliv at gmail.com>
-           © 2009-2016 Andreas Tille <tille at debian.org>
+           © 2009-2023 Andreas Tille <tille at debian.org>
+           © 2026 Debian Med Team
 License: GPL-2+
 
 License: GPL-2+
@@ -23,9 +24,7 @@ License: GPL-2+
  GNU General Public License for more details.
  .
  You should have received a copy of the GNU General Public License
- along with this package; if not, write to the Free Software
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
- MA 02110-1301, USA.
- .
+ along with this package.  If not, see <https://www.gnu.org/licenses/>.
+Comment:
  On Debian systems, the complete text of the GNU General
  Public License can be found in `/usr/share/common-licenses/GPL-2'.


=====================================
debian/gdpc.desktop
=====================================
@@ -5,6 +5,7 @@ GenericName=Molecular Dynamic Simulator
 Comment=Visualize molecular dynamic simulations
 Comment[en_GB]=Visualise molecular dynamic simulations
 Comment[pt_BR]=Visualizador de simulações moleculares dinâmicas
+Keywords=molecule;simulation;chemistry;
 Type=Application
 Exec=gdpc
 Categories=Science;Chemistry;Education;


=====================================
debian/patches/40_fix_gcc4.8_build.patch
=====================================
@@ -1,5 +1,5 @@
 Author: Andreas Tille <tille at debian.org>
-Last-Update: Tue, 15 Oct 2013 14:55:27 +0200
+Last-Update: 2013-10-15
 Bug-Debian: http://bugs.debian.org/713652
 Description: Add missing -lm to linker which is required when using gcc 4.8
 


=====================================
debian/patches/41_glib_deprecated_funcs.patch
=====================================
@@ -1,5 +1,5 @@
 Author: Logan Rosen <logan at ubuntu.com>
-Last-Update: Thu, 18 Feb 2016 01:24:16 -0500
+Last-Update: 2016-02-18
 Bug-Debian: https://bugs.debian.org/815041
 Description: Fix implicit function declarations
 


=====================================
debian/patches/buffer-overflow.patch
=====================================
@@ -1,8 +1,9 @@
 Description: Fix global buffer overflow.
  Also uninitialized variables and potential overflow.
+Debian-Bug: https://bugs.debian.org/982103
 Author: Yavor Doganov <yavor at gnu.org>
 Forwarded: no
-Last-Update: 2026-01-25
+Last-Update: 2026-01-28
 ---
 
 --- gdpc.orig/colors.c
@@ -55,6 +56,16 @@ Last-Update: 2026-01-25
  
  #if Debug
  printf("Starting reading thread.\n"); 
+@@ -82,7 +82,8 @@
+ 	    g_mutex_lock(&params->filewait);
+ 	    params->fp = NewFP;
+ 	    NewFP = NULL;
+-	    fclose(fpRI);
++	    if (fpRI)
++	      fclose(fpRI);
+ 	}
+ 	fpRI = params->fp;
+ 
 --- gdpc.orig/main.c
 +++ gdpc/main.c
 @@ -620,7 +620,7 @@


=====================================
debian/patches/cross.patch
=====================================
@@ -1,5 +1,5 @@
 Author: Helmut Grohne <helmut at subdivi.de>
-Last-Update: Fri, 8 Dec 2017 22:40:28 +0100
+Last-Update: 2017-12-08
 Bug-Debian: https://bugs.debian.org/883892
 Description: Enable cross building by using generic $(PKG_CONFIG)
 


=====================================
debian/patches/hardening.patch
=====================================
@@ -1,6 +1,6 @@
 Description: Propagate hardening options
 Author: Andreas Tille <tille at debian.org>
-Last-Update: Sun, 24 Jan 2016 21:44:53 +0100
+Last-Update: 2016-01-24
 
 --- a/Makefile
 +++ b/Makefile


=====================================
debian/patches/series
=====================================
@@ -8,3 +8,4 @@ spelling.patch
 cross.patch
 gtk3.patch
 buffer-overflow.patch
+sscanf-locale.patch


=====================================
debian/patches/spelling.patch
=====================================
@@ -1,5 +1,5 @@
 Author: Andreas Tille <tille at debian.org>
-Last-Update: Mon, 25 Jul 2016 08:52:07 +0200
+Last-Update: 2016-07-25
 Description: Fix spelling
 
 --- a/setup.c


=====================================
debian/patches/sscanf-locale.patch
=====================================
@@ -0,0 +1,29 @@
+Description: Fix parsing of input files.
+Author: Yavor Doganov <yavor at gnu.org>
+Forwarded: no
+Last-Update: 2026-01-28
+---
+
+--- gdpc.orig/main.c
++++ gdpc/main.c
+@@ -27,6 +27,7 @@
+ #include <gtk/gtk.h>
+ #include <gdk/gdkkeysyms.h>
+ #include <glib.h>
++#include <locale.h>
+ #include <math.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+@@ -922,6 +923,12 @@
+ /* Start gtk initialization. */
+     gtk_init (&argc, &argv);
+ 
++/* The program is not internationalized so setting the locale to C
++   doesn't do any harm.  It is necessary because it uses sscanf to
++   read floating point numbers from the input files, and this gives
++   wrong results.  */
++    setlocale (LC_ALL, "C");
++
+     printf("\n gdpc version "GDPCVER", Copyright (C) 2000 Jonas Frantz\n");
+     printf(" gdpc comes with ABSOLUTELY NO WARRANTY; for details\n");
+     printf(" check out the documentation.  This is free software, and\n"); 


=====================================
debian/rules
=====================================
@@ -12,5 +12,3 @@ override_dh_auto_clean:
 
 override_dh_auto_install:
 	# do nothing
-
-override_dh_strip: ;


=====================================
debian/tests/control
=====================================
@@ -1,4 +1,13 @@
-Tests: run-unit-test
-Depends: @, xvfb, xauth, procps, gdb, libc6-dbg, libglib2.0-0t64-dbgsym, libgtk-3-0t64-dbgsym
-Restrictions: allow-stderr
-Architecture: any-amd64 arm64 loong64 mips64el riscv64
+Tests:
+ run-unit-test,
+Depends:
+ gdb,
+ gdpc-dbgsym | libgtk-3-0t64-dbgsym,
+ libc6-dbg,
+ libglib2.0-0t64-dbgsym,
+ procps,
+ xauth,
+ xvfb,
+ @,
+Restrictions:
+ allow-stderr,


=====================================
debian/watch
=====================================
@@ -1,4 +1,5 @@
-version=4
+Version: 5
 
-opts=dversionmangle=s/.*/0.No-Release/ \
-  https://people.debian.org/~eriberto/ FakeWatchNoUpstreamReleaseForThisPackage-(\d\S+)\.gz
+Source: https://people.debian.org/~eriberto/
+Matching-Pattern: FakeWatchNoUpstreamReleaseForThisPackage-(\d\S+)\.gz
+Dversionmangle: s/.*/0.No-Release/



View it on GitLab: https://salsa.debian.org/med-team/gdpc/-/compare/4d09f3617bc24a302d9ed6b652d00908487f01fc...801d41042965a4de4cbdf85480f6c2bb119579ea

-- 
View it on GitLab: https://salsa.debian.org/med-team/gdpc/-/compare/4d09f3617bc24a302d9ed6b652d00908487f01fc...801d41042965a4de4cbdf85480f6c2bb119579ea
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20260128/f94df29f/attachment-0001.htm>


More information about the debian-med-commit mailing list