From 141c775e153393816e3e6ef304d7e5d6ff14a32f Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Mon, 17 May 2010 15:11:25 +0200 Subject: Work around libstdc++.so.5 needed on amd64 --- debian/control | 2 +- make-sgpkg.py | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/debian/control b/debian/control index d370234..1944f6b 100644 --- a/debian/control +++ b/debian/control @@ -15,7 +15,7 @@ Depends: cdbs, fakeroot, dpkg-dev, ${misc:Depends}, ${python:Depends}, libxext6, libxpm4, libxt6, libxp6, libgnomevfs2-0 [i386], libbonobo2-0 [i386], kdelibs4c2a [i386], - ia32-libs [amd64], libstdc++5 [amd64] + ia32-libs [amd64] Description: utility to build SAP GUI related Debian packages This package provides the capability to create a Debian package for the Platinum Java SAP GUI from the provided JAR by just running diff --git a/make-sgpkg.py b/make-sgpkg.py index f93f1ec..cee3333 100644 --- a/make-sgpkg.py +++ b/make-sgpkg.py @@ -90,6 +90,7 @@ Standards-Version: 3.8.0 Package: sapgui Architecture: i386 amd64 Depends: ${shlibs:Depends}, openjdk-6-jre | sun-java6-bin | java6-runtime +Recommends: libstdc++5 [amd64] Description: SAP GUI for the Java Environment This package has been automatically created with sapgui-package %(version)s """ % dict(name=name, email=email, version=version) @@ -116,6 +117,9 @@ def gen_rules(debiandir, arch): excludes += [ "bin/sapftp", "bin/saphttp" ] # these were additionally shipped with 719: excludes += [ "libKde3Connect.so" ] + # This one needs libstdc++.so.5 which isn't available in recent + # distros and not everybody needs it + excludes += [ "libGnomeConnect64.so" ] else: # ignore 64bit libs on i386 excludes = [ "libGnomeConnect64.so", "libJPlatin64.so" ] -- cgit v1.2.3