[DebianGIS-dev] Bug#491842: gosmore: please mention that it requires additional data files in the long description

2008-07-22 Thread Helmut Grohne
Package: gosmore
Version: 0.0.0.20080704-1
Severity: normal

Please mention that it requires additional data files in the long
description.

Thanks

Helmut



___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel


Bug#708455: libhdf5-7: enable multi-arch for library packages such as libhdf5-7

2013-05-15 Thread Helmut Grohne
Package: libhdf5-7
Version: 1.8.10-patch1-1~exp3
Severity: normal
Tags: patch

Dear maintainer,

In my counting libhdf5-7 has 39 reverse dependencies that would profit
from it being multi-arch capable. So please do that. Your package made
it very easy to come up with a patch. Thanks!

You can find the general multiarch conversion documentation at:
http://wiki.debian.org/Multiarch/Implementation

If you need help or have any questions, don't hesitate to ask.

Helmut
diff -Nru hdf5-1.8.10-patch1/debian/changelog 
hdf5-1.8.10-patch1/debian/changelog
--- hdf5-1.8.10-patch1/debian/changelog 2013-04-11 17:51:25.0 +0200
+++ hdf5-1.8.10-patch1/debian/changelog 2013-05-15 16:44:01.0 +0200
@@ -1,3 +1,14 @@
+hdf5 (1.8.10-patch1-1~exp3.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Enable Multi-Arch:
++ Bump debhelper dependency to 8.1.3.
++ Add Multi-Arch:same markers and ${misc:Pre-Depends} to libraries.
++ Override --libdir for configure.
++ Updated .install files accordingly.
+
+ -- Helmut Grohne hel...@subdivi.de  Wed, 15 May 2013 16:36:44 +0200
+
 hdf5 (1.8.10-patch1-1~exp3) experimental; urgency=low
 
   * Fix the FTBFS on powerpc, powerpcspe, and ppc64
diff -Nru hdf5-1.8.10-patch1/debian/control hdf5-1.8.10-patch1/debian/control
--- hdf5-1.8.10-patch1/debian/control   2013-04-11 17:52:38.0 +0200
+++ hdf5-1.8.10-patch1/debian/control   2013-05-15 19:02:12.0 +0200
@@ -5,7 +5,7 @@
 Uploaders: Francesco Paolo Lovergine fran...@debian.org,
  Sylvestre Ledru sylves...@debian.org
 Build-Depends: dpkg-dev (= 1.16.1~), libmpich2-dev, zlib1g-dev,
- libopenmpi-dev [!hppa !mips !mipsel !s390 !s390x !sh4 !m68k], libjpeg-dev, 
debhelper ( 7), sed (=4.1.5), 
+ libopenmpi-dev [!hppa !mips !mipsel !s390 !s390x !sh4 !m68k], libjpeg-dev, 
debhelper (= 8.1.3), sed (=4.1.5), 
  gfortran, libibverbs-dev [!arm !hppa !mips !mipsel !s390 !s390x 
!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386 !sh4],
  sharutils, mpi-default-dev
 Standards-Version: 3.9.3
@@ -17,11 +17,13 @@
 Section: libs
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
+Pre-Depends: ${misc:Pre-Depends}
 Conflicts: libhdf5-7, libhdf5-1.8,
  libhdf5-1.8.4, libhdf5-serial-1.8.4, libhdf5-1.8.6, libhdf5-serial-1.8.6,
  libhdf5-1.8.7, libhdf5-serial-1.8.7
 Provides: libhdf5-7, libhdf5-1.8
 Replaces: libhdf5-1.8.4, libhdf5-serial-1.8.4, libhdf5-1.8.6, 
libhdf5-serial-1.8.6, libhdf5-1.8.7, libhdf5-serial-1.8.7
+Multi-Arch: same
 Description: Hierarchical Data Format 5 (HDF5) - runtime files - serial version
  HDF5 is a file format and library for storing scientific data. 
  HDF5 was designed and implemented to address the deficiencies of
@@ -78,12 +80,14 @@
 Priority: extra
 Architecture: alpha armel armhf amd64 i386 ia64 powerpc powerpcspe ppc64 sparc 
kfreebsd-i386 kfreebsd-amd64 hurd-i386
 Depends: ${shlibs:Depends}, ${misc:Depends}
+Pre-Depends: ${misc:Pre-Depends}
 Conflicts: libhdf5-7, libhdf5-1.8,
  libhdf5-1.8.4, libhdf5-openmpi-1.8.4, libhdf5-1.8.6, libhdf5-openmpi-1.8.6,
  libhdf5-1.8.7, libhdf5-openmpi-1.8.7
 Provides: libhdf5-7, libhdf5-1.8
 Replaces: libhdf5-1.8.4, libhdf5-openmpi-1.8.4, libhdf5-1.8.6, 
libhdf5-openmpi-1.8.6,
  libhdf5-1.8.7, libhdf5-openmpi-1.8.7
+Multi-Arch: same
 Description: Hierarchical Data Format 5 (HDF5) - runtime files - OpenMPI 
version
  HDF5 is a file format and library for storing scientific data. 
  HDF5 was designed and implemented to address the deficiencies of
@@ -128,12 +132,14 @@
 Priority: extra
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
+Pre-Depends: ${misc:Pre-Depends}
 Conflicts: libhdf5-7, libhdf5-1.8, 
  libhdf5-1.8.4,  libhdf5-mpich2-1.8.4, libhdf5-1.8.6,  libhdf5-mpich2-1.8.6,
  libhdf5-1.8.7, libhdf5-mpich2-1.8.7
 Provides: libhdf5-7, libhdf5-1.8
 Replaces: libhdf5-1.8.4, libhdf5-mpich2-1.8.4, libhdf5-1.8.6, 
libhdf5-mpich2-1.8.6,
  libhdf5-1.8.7, libhdf5-mpich2-1.8.7
+Multi-Arch: same
 Description: Hierarchical Data Format 5 (HDF5) - runtime files - MPICH2 version
  HDF5 is a file format and library for storing scientific data. 
  HDF5 was designed and implemented to address the deficiencies of
diff -Nru hdf5-1.8.10-patch1/debian/control.in 
hdf5-1.8.10-patch1/debian/control.in
--- hdf5-1.8.10-patch1/debian/control.in2013-04-11 17:51:25.0 
+0200
+++ hdf5-1.8.10-patch1/debian/control.in2013-05-15 19:02:04.0 
+0200
@@ -5,7 +5,7 @@
 Uploaders: Francesco Paolo Lovergine fran...@debian.org,
  Sylvestre Ledru sylves...@debian.org
 Build-Depends: dpkg-dev (= 1.16.1~), libmpich2-dev, zlib1g-dev,
- libopenmpi-dev [!hppa !mips !mipsel !s390 !s390x !sh4 !m68k], libjpeg-dev, 
debhelper ( 7), sed (=4.1.5), 
+ libopenmpi-dev [!hppa !mips !mipsel !s390 !s390x !sh4 !m68k], libjpeg-dev, 
debhelper (= 8.1.3), sed (=4.1.5), 
  gfortran, libibverbs-dev [!arm !hppa !mips !mipsel !s390 !s390x 
!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386 !sh4],
  sharutils, mpi-default-dev
 Standards-Version: 3.9.3
@@ -17,11 +17,13

Bug#820827: proj-data should be Multi-Arch: foreign

2016-04-12 Thread Helmut Grohne
Package: proj-data
Version: 4.9.2-2
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

proj-data is part of the installation sets of almost 100 source
packages, and those packages cannot satisfy their cross Build-Depends
due to proj-data.

The package is Architecture: all (i.e. contents do not vary with
architectures). It does not have any maintainer scripts whose behaviour
could vary per architecture and it also does not depend on any packages
which could be exposed. Thus it is safe to mark it as Multi-Arch:
foreign.

Here is a patch:

sed -i -e '/^Package: proj-data/aMulti-Arch: foreign' debian/rules

Helmut

___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel


Bug#885845: netcdf FTCBFS: CHECK_C_SOURCE_RUNS

2017-12-30 Thread Helmut Grohne
Source: netcdf
Version: 1:4.5.0-1
Tags: patch upstream
User: helm...@debian.org
Usertags: rebootstrap

netcdf fails to cross build from source, because it uses
CHECK_C_SOURCE_RUNS. Fortunately, the only relevant check can easily be
turned into CHECK_C_SOURCE_COMPILES (by exploiting that arrays of
negative length cause a compile error). After doing so, netcdf cross
builds successfully. Please consider applying the attached patch.

Helmut
Index: netcdf-4.5.0/CMakeLists.txt
===
--- netcdf-4.5.0.orig/CMakeLists.txt
+++ netcdf-4.5.0/CMakeLists.txt
@@ -93,7 +93,6 @@
 INCLUDE(${CMAKE_ROOT}/Modules/CheckFunctionExists.cmake)
 INCLUDE(${CMAKE_ROOT}/Modules/CheckCXXSourceCompiles.cmake)
 INCLUDE(${CMAKE_ROOT}/Modules/CheckCSourceCompiles.cmake)
-INCLUDE(${CMAKE_ROOT}/Modules/CheckCSourceRuns.cmake)
 INCLUDE(${CMAKE_ROOT}/Modules/TestBigEndian.cmake)
 INCLUDE(${CMAKE_ROOT}/Modules/CheckSymbolExists.cmake)
 INCLUDE(${CMAKE_ROOT}/Modules/GetPrerequisites.cmake)
@@ -1194,14 +1193,12 @@
 SET(SIGNED_TEST_SOURCE "\n
   #include \n
   int main(void) {\n
-char is_signed = (char) - 1;\n
-if(is_signed < 0)\n
-  return 1;\n
-else\n
-  return 0;\n
+char error_if_char_is_signed[((char)-1) < 0 ? -1 : 1];\n
+error_if_char_is_signed[0] = 0;
+return 0;\n
 }\n")
 
-CHECK_C_SOURCE_RUNS("${SIGNED_TEST_SOURCE}" __CHAR_UNSIGNED__)
+CHECK_C_SOURCE_COMPILES("${SIGNED_TEST_SOURCE}" __CHAR_UNSIGNED__)
 
 # Library include checks
 CHECK_INCLUDE_FILE("math.h"  HAVE_MATH_H)
___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Bug#889756: merkaartor FTCBFS: runs qmake for the build architecture

2018-02-06 Thread Helmut Grohne
Source: merkaartor
Version: 0.18.3+ds-2
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

merkaartor fails to cross build from source. It runs lrelease, but
lrelease tends to do nothing and just warn you about that unless you add
qt5-qmake:native to Build-Depends. This smells like a policy 4.6
violation, but adding the missing dependency fixes it. Then the bare
qmake invocation misses out all the flags needed for cross compilation
that dh_auto_configure knows about. After indirecting it through
dh_auto_configure, merkaartor cross builds successfully. Please consider
applying the attached patch.

Helmut
diff --minimal -Nru merkaartor-0.18.3+ds/debian/changelog 
merkaartor-0.18.3+ds/debian/changelog
--- merkaartor-0.18.3+ds/debian/changelog   2017-06-25 15:16:52.0 
+0200
+++ merkaartor-0.18.3+ds/debian/changelog   2018-02-06 20:52:35.0 
+0100
@@ -1,3 +1,12 @@
+merkaartor (0.18.3+ds-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
++ Fix missing build dependency qt5-qmake:native for running lrelease.
++ Let dh_auto_configure pass the cross flags to qmake.
+
+ -- Helmut Grohne <hel...@subdivi.de>  Tue, 06 Feb 2018 20:52:35 +0100
+
 merkaartor (0.18.3+ds-2) unstable; urgency=medium
 
   * Add patch to fix 'performance' typo.
diff --minimal -Nru merkaartor-0.18.3+ds/debian/control 
merkaartor-0.18.3+ds/debian/control
--- merkaartor-0.18.3+ds/debian/control 2017-06-25 12:24:47.0 +0200
+++ merkaartor-0.18.3+ds/debian/control 2018-02-06 20:52:33.0 +0100
@@ -20,6 +20,7 @@
libxml2-dev,
libxslt1-dev,
qt5-qmake,
+   qt5-qmake:native,
qtbase5-dev,
qttools5-dev-tools,
sharutils,
diff --minimal -Nru merkaartor-0.18.3+ds/debian/rules 
merkaartor-0.18.3+ds/debian/rules
--- merkaartor-0.18.3+ds/debian/rules   2017-06-25 12:20:33.0 +0200
+++ merkaartor-0.18.3+ds/debian/rules   2018-02-06 20:52:18.0 +0100
@@ -22,7 +22,7 @@
 
 override_dh_auto_configure:
cd translations && make release
-   qmake Merkaartor.pro \
+   dh_auto_configure -- Merkaartor.pro \
TRANSDIR_SYSTEM="/usr/share/qt5/translations/" \
PREFIX=/usr \
GDAL=1 \
___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel