From 1b058782348f2ed165c72333c4858a610388b082 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Thu, 21 Jun 2018 00:21:41 +0200 Subject: [PATCH] WIP: fixed deb package script and preparations for Ubuntu-18 --- scripts/makedeb.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/makedeb.sh b/scripts/makedeb.sh index 9f6f7f69e..c6b51ac47 100755 --- a/scripts/makedeb.sh +++ b/scripts/makedeb.sh @@ -21,6 +21,9 @@ case $target in ubuntu16) depends="libqt4-designer (>= 4.8.6), libqt4-xml (>= 4.8.6), libqt4-sql (>= 4.8.6), libqt4-network (>= 4.8.6), libqtcore4 (>= 4.8.6), libqtgui4 (>= 4.8.6), zlib1g (>= 1.2.8), libruby2.3 (>= 2.3.1), libpython3.5 (>= 3.5.1), libstdc++6 (>= 4.6.3), libc6 (>= 2.15)" ;; +ubuntu18) + depends="libqt4-designer (>= 4.8.7), libqt4-xml (>= 4.8.7), libqt4-sql (>= 4.8.7), libqt4-network (>= 4.8.7), libqtcore4 (>= 4.8.7), libqtgui4 (>= 4.8.7), zlib1g (>= 1.2.11), libruby2.5 (>= 2.5.1), libpython3.6 (>= 3.6.5), libstdc++6 (>= 8), libc6 (>= 2.27)" + ;; *) echo "Unknown target '$target' (given as first argument)" exit 1 @@ -141,7 +144,8 @@ gzip -n --best ${sharedir}/doc/klayout/changelog gzip -n --best ${sharedir}/doc/klayout/changelog.Debian # lintian complains about exec bits set -find ./usr -name "lib*.so.*" -exec chmod 644 "{}" ";" +find ./usr -name "*.so.*" -exec chmod 644 "{}" ";" +find ./usr -name "*.so" -exec chmod 644 "{}" ";" find ./usr -type f -exec md5sum "{}" ";" >md5sums chmod 644 md5sums