mirror of https://github.com/KLayout/klayout.git
Added package creation scripts for Debian
This commit is contained in:
parent
4381ebfe7f
commit
7d9eeb91e7
Binary file not shown.
|
|
@ -0,0 +1,11 @@
|
|||
Package: klayout
|
||||
Version: %VERSION%-1
|
||||
Architecture: %ARCH%
|
||||
Maintainer: Matthias Köfferlein <matthias@koefferlein.de>
|
||||
Installed-Size: %SIZE%
|
||||
Depends: %DEPENDS%
|
||||
Section: contrib/misc
|
||||
Priority: optional
|
||||
Description: Chip mask layout review and edit utility
|
||||
Klayout is a graphical viewer for a.o. GDSII and CIF files.
|
||||
Its features include net highlighting and XOR-ing of two layouts.
|
||||
|
|
@ -0,0 +1 @@
|
|||
2.0
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
# Automatically added by dh_installmenu
|
||||
if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then
|
||||
update-menus
|
||||
fi
|
||||
# End automatically added section
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
# Automatically added by dh_installmenu
|
||||
if [ -x "`which update-menus 2>/dev/null`" ]; then update-menus ; fi
|
||||
# End automatically added section
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Name=Klayout, viewer and editor of mask layouts.
|
||||
GenericName=layout viewer
|
||||
Comment=Klayout is a viewer (and editor) of mask layout in a.o. GDSII and CIF format.
|
||||
Exec=klayout
|
||||
Icon=klayout
|
||||
Type=Application
|
||||
Categories=Development;Engineering;Electronics;
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,278 @@
|
|||
klayout (0.25-1) unstable; urgency=low
|
||||
|
||||
* New features and bugfixes
|
||||
- See changelog
|
||||
|
||||
-- Matthias Köfferlein <matthias@koefferlein.de> Sun, 10 Sep 2017 13:25:07 +0200
|
||||
|
||||
klayout (0.24.10-1) unstable; urgency=low
|
||||
|
||||
* New features and bugfixes
|
||||
- See changelog
|
||||
|
||||
-- Matthias Köfferlein <matthias@koefferlein.de> Sat, 01 Apr 2017 18:19:15 +0200
|
||||
|
||||
klayout (0.24.9-1) unstable; urgency=low
|
||||
|
||||
* New features and bugfixes
|
||||
- See changelog
|
||||
|
||||
-- Matthias Köfferlein <matthias@koefferlein.de> Mon, 28 Nov 2016 00:06:43 +0100
|
||||
|
||||
klayout (0.24.8-1) unstable; urgency=low
|
||||
|
||||
* New features and bugfixes
|
||||
- See changelog
|
||||
|
||||
-- Matthias Köfferlein <matthias@koefferlein.de> Sun, 19 Jun 2016 18:34:44 +0200
|
||||
|
||||
klayout (0.24.7-1) unstable; urgency=low
|
||||
|
||||
* New features and bugfixes
|
||||
- See changelog
|
||||
|
||||
-- Matthias Köfferlein <matthias@koefferlein.de> Sun, 01 May 2016 00:01:16 +0200
|
||||
|
||||
klayout (0.24.6-1) unstable; urgency=low
|
||||
|
||||
* New features and bugfixes
|
||||
- See changelog
|
||||
|
||||
-- Matthias Köfferlein <matthias@koefferlein.de> Wed, 23 Mar 2016 22:24:16 +0100
|
||||
|
||||
klayout (0.24.5-1) unstable; urgency=low
|
||||
|
||||
* New features and bugfixes
|
||||
- See changelog
|
||||
|
||||
-- Matthias Köfferlein <matthias@koefferlein.de> Tue, 23 Feb 2016 20:56:55 +0100
|
||||
|
||||
klayout (0.24.4-1) unstable; urgency=low
|
||||
|
||||
* New features and bugfixes
|
||||
- See changelog
|
||||
|
||||
-- Matthias Köfferlein <matthias@koefferlein.de> Wed, 16 Dec 2015 22:20:44 +0100
|
||||
|
||||
klayout (0.24.3-1) unstable; urgency=low
|
||||
|
||||
* New features and bugfixes
|
||||
- See changelog
|
||||
|
||||
-- Matthias Köfferlein <matthias@koefferlein.de> Thu, 05 Nov 2015 20:49:53 +0100
|
||||
|
||||
klayout (0.24.2-1) unstable; urgency=low
|
||||
|
||||
* New features and bugfixes
|
||||
- See changelog
|
||||
|
||||
-- Matthias Köfferlein <matthias@koefferlein.de> Fri, 02 Oct 2015 23:10:57 +0200
|
||||
|
||||
klayout (0.24.1-1) unstable; urgency=low
|
||||
|
||||
* New features and bugfixes
|
||||
- See changelog
|
||||
|
||||
-- Matthias Köfferlein <matthias@koefferlein.de> Wed, 26 Aug 2015 21:09:08 +0200
|
||||
|
||||
klayout (0.24-1) unstable; urgency=low
|
||||
|
||||
* New features and bugfixes
|
||||
- See changelog
|
||||
|
||||
-- Matthias Köfferlein <matthias@koefferlein.de> Thu, 30 Jul 2015 23:05:10 +0200
|
||||
|
||||
klayout (0.23.11-1) unstable; urgency=low
|
||||
|
||||
* New features and bugfixes
|
||||
- See changelog
|
||||
|
||||
-- Matthias Köfferlein <matthias@koefferlein.de> Sat, 23 May 2015 13:50:39 +0200
|
||||
|
||||
klayout (0.23.10-1) unstable; urgency=low
|
||||
|
||||
* New features and bugfixes
|
||||
- See changelog
|
||||
|
||||
-- Matthias Köfferlein <matthias@koefferlein.de> Fri, 06 Mar 2015 23:07:24 +0100
|
||||
|
||||
klayout (0.23.9-1) unstable; urgency=low
|
||||
|
||||
* New features and bugfixes
|
||||
- See changelog
|
||||
|
||||
-- Matthias Köfferlein <matthias@koefferlein.de> Sun, 28 Dec 2014 22:21:36 +0100
|
||||
|
||||
klayout (0.23.8-1) unstable; urgency=low
|
||||
|
||||
* New features and bugfixes
|
||||
- See changelog
|
||||
|
||||
-- Matthias Köfferlein <matthias@koefferlein.de> Sat, 15 Nov 2014 22:06:31 +0100
|
||||
|
||||
klayout (0.23.7-1) unstable; urgency=low
|
||||
|
||||
* New features and bugfixes
|
||||
- See changelog
|
||||
|
||||
-- Matthias Köfferlein <matthias@koefferlein.de> Wed, 11 Oct 2014 11:40:22 +0200
|
||||
|
||||
klayout (0.23.6-1) unstable; urgency=low
|
||||
|
||||
* New features and bugfixes
|
||||
- See changelog
|
||||
|
||||
-- Matthias Köfferlein <matthias@koefferlein.de> Wed, 20 Aug 2014 22:50:32 +0200
|
||||
|
||||
klayout (0.23.5-1) unstable; urgency=low
|
||||
|
||||
* New features and bugfixes
|
||||
- See changelog
|
||||
|
||||
-- Matthias Köfferlein <matthias@koefferlein.de> Fri, 04 Jul 2014 22:27:49 +0200
|
||||
|
||||
klayout (0.23.4-1) unstable; urgency=low
|
||||
|
||||
* New features and bugfixes
|
||||
- See changelog
|
||||
|
||||
-- Matthias Köfferlein <matthias@koefferlein.de> Sat, 15 Mar 2014 22:18:50 +0100
|
||||
|
||||
klayout (0.23.3-1) unstable; urgency=low
|
||||
|
||||
* New features and bugfixes
|
||||
- See changelog
|
||||
|
||||
-- Matthias Köfferlein <matthias@koefferlein.de> Sun, 23 Feb 2014 18:15:42 +0100
|
||||
|
||||
klayout (0.23.2-1) unstable; urgency=low
|
||||
|
||||
* New features and bugfixes
|
||||
- See changelog
|
||||
|
||||
-- Matthias Köfferlein <matthias@koefferlein.de> Sun, 26 Jan 2014 14:18:13 +0100
|
||||
|
||||
klayout (0.23.1-1) unstable; urgency=low
|
||||
|
||||
* New features and bugfixes
|
||||
- See changelog
|
||||
|
||||
-- Matthias Köfferlein <matthias@koefferlein.de> Sat, 6 Dec 2013 17:41:21 +0100
|
||||
|
||||
klayout (0.23-1) unstable; urgency=low
|
||||
|
||||
* New features and bugfixes
|
||||
- See changelog
|
||||
|
||||
-- Matthias Köfferlein <matthias@koefferlein.de> Sun, 24 Nov 2013 11:56:45 +0100
|
||||
|
||||
klayout (0.22.9-1) unstable; urgency=low
|
||||
|
||||
* New features and bugfixes
|
||||
- See changelog
|
||||
|
||||
-- Matthias Köfferlein <matthias@koefferlein.de> Thu, 19 Sep 2013 23:18:30 +0100
|
||||
|
||||
klayout (0.22.8-1) unstable; urgency=low
|
||||
|
||||
* New features and bugfixes
|
||||
- See changelog
|
||||
|
||||
-- Matthias Köfferlein <matthias@koefferlein.de> Fri, 21 June 2013 23:24:31 +0100
|
||||
|
||||
klayout (0.22.7-1) unstable; urgency=low
|
||||
|
||||
* New features and bugfixes
|
||||
- See changelog
|
||||
|
||||
-- Matthias Köfferlein <matthias@koefferlein.de> Fri, 22 Mar 2013 22:31:37 +0100
|
||||
|
||||
klayout (0.22.6-1) unstable; urgency=low
|
||||
|
||||
* New features and bugfixes
|
||||
- See changelog
|
||||
|
||||
-- Matthias Köfferlein <matthias@koefferlein.de> Sun, 3 Mar 2013 22:18:01 +0100
|
||||
|
||||
klayout (0.22.5-1) unstable; urgency=low
|
||||
|
||||
* New features and bugfixes
|
||||
- See changelog
|
||||
|
||||
-- Matthias Köfferlein <matthias@koefferlein.de> Sat, 2 Feb 2013 21:06:01 +0100
|
||||
|
||||
klayout (0.22.4-1) unstable; urgency=low
|
||||
|
||||
* New features and bugfixes
|
||||
- See changelog
|
||||
|
||||
-- Matthias Köfferlein <matthias@koefferlein.de> Tue, 30 Dec 2012 09:08:01 +0100
|
||||
|
||||
klayout (0.22.3-1) unstable; urgency=low
|
||||
|
||||
* New features and bugfixes
|
||||
- See changelog
|
||||
|
||||
-- Matthias Köfferlein <matthias@koefferlein.de> Sun, 25 Nov 2012 12:16:10 +0100
|
||||
|
||||
klayout (0.22.2-1) unstable; urgency=low
|
||||
|
||||
* New features and bugfixes
|
||||
- See changelog
|
||||
* Dependencies according to Ubutu 12.04LTS and -with-qtbinding option:
|
||||
- libqt4-designer (>= 4.8.1)
|
||||
- libqt4-xml (>= 4.8.1)
|
||||
- libqt4-sql (>= 4.8.1)
|
||||
- libqt4-network (>= 4.8.1)
|
||||
- libqtcore4 (>= 4.8.1)
|
||||
- libqtgui4 (>= 4.8.1)
|
||||
- zlib1g (>= 1.2.3.4)
|
||||
- libruby1.9.1 (>= 1.9.3)
|
||||
- libstdc++6 (>= 4.6.3)
|
||||
- libc6 (>= 2.15)
|
||||
|
||||
-- Matthias Köfferlein <matthias@koefferlein.de> Thu, 1 Nov 2012 19:23:10 +0100
|
||||
|
||||
klayout (0.22.1-1) unstable; urgency=low
|
||||
|
||||
* New features and bugfixes
|
||||
- See changelog
|
||||
- package now created with dpkg and fakeroot
|
||||
* Added dependencies
|
||||
- libqt4-network (>= 4.6.2)
|
||||
- libqt4-sql (>= 4.6.2)
|
||||
- liqqt4-designer (>= 4.6.2)
|
||||
- libstdc++6 (>= 4.4)
|
||||
|
||||
-- Peter C.S. Scholtens <peter.scholtens@xs4all.nl> Sun, 21 Oct 2012 19:58:13 +0100
|
||||
|
||||
klayout (0.21.19-1) unstable; urgency=low
|
||||
|
||||
* New features and bugfixes
|
||||
- See changelog
|
||||
|
||||
-- Peter C.S. Scholtens <peter.scholtens@xs4all.nl> Thu, 28 June 2012 21:59:48 +0100
|
||||
|
||||
klayout (0.21.18-1) unstable; urgency=low
|
||||
|
||||
* Added dependencies
|
||||
- ruby (>= 1.8)
|
||||
|
||||
-- Peter C.S. Scholtens <peter.scholtens@xs4all.nl> Thu, 17 May 2012 19:10:11 +0100
|
||||
|
||||
klayout (0.21.14-1) unstable; urgency=low
|
||||
|
||||
* First Debian package for klayout
|
||||
Created control files, added desktop icon and file.
|
||||
Copied release notes from website http://www.klayout.de/development.html
|
||||
to file /usr/share/doc/klayout/changelog.
|
||||
Set package maintainer to Peter C.S. Scholtens <peter.scholtens@xs4all.nl>.
|
||||
(still missing man page)
|
||||
* Added dependencies
|
||||
- libqtgui4 (>= 4:4.2.3),
|
||||
- libqt4-xml (>= 4.6.2),
|
||||
- zlib1g (>= 1:1.2.3),
|
||||
- libc6 (>= 2.11.1)
|
||||
Other dependencies all have been satisfied since Ubuntu 10.04LTS.
|
||||
|
||||
-- Peter C.S. Scholtens <peter.scholtens@xs4all.nl> Sat, 10 Dec 2011 19:14:11 +0100
|
||||
|
|
@ -0,0 +1,27 @@
|
|||
klayout is packaged by Peter C.S. Scholtens <peter.scholtens@xs4all.nl>
|
||||
and Matthias Köfferlein <matthias@koefferlein.de>
|
||||
and was obtained from http://klayout.de/klayout-0.25.tar.gz
|
||||
|
||||
Authors:
|
||||
Matthias Köfferlein
|
||||
|
||||
Copyright:
|
||||
Copyright (C) 2006-2017 by Matthias Köfferlein.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
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.
|
||||
|
||||
On Debian GNU/Linux systems, the complete text of the GNU General
|
||||
Public License can be found in `/usr/share/common-licenses/GPL'.
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 71 KiB |
|
|
@ -0,0 +1,127 @@
|
|||
#!/bin/sh -e
|
||||
|
||||
# See blog.peterscholtens.net/?p=210
|
||||
#
|
||||
# This scrips needs builds in:
|
||||
# bin.linux-32-gcc-release (32 bit)
|
||||
# and/or:
|
||||
# bin.linux-64-gcc-release (64 bit)
|
||||
#
|
||||
# Create these builds with (-rpath and -bin are important):
|
||||
# ./build.sh -release -rpath /usr/lib/klayout -bin bin.linux-64-gcc-release -build build.linux-64-gcc-release
|
||||
# ./build.sh -release -rpath /usr/lib/klayout -bin bin.linux-32-gcc-release -build build.linux-32-gcc-release
|
||||
#
|
||||
# TODO:
|
||||
# - The dependency list needs to be updated manually currently
|
||||
|
||||
if ! [ -e version.sh ]; then
|
||||
echo "*** ERROR: no version information found (no version.sh). Call this script from the root directory."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
. ./version.sh
|
||||
|
||||
version="$KLAYOUT_VERSION"
|
||||
exe_name="klayout"
|
||||
|
||||
# TODO: derive this list automatically?
|
||||
depends="libqt4-designer (>= 4.8.1), libqt4-xml (>= 4.8.1), libqt4-sql (>= 4.8.1), libqt4-network (>= 4.8.1), libqtcore4 (>= 4.8.1), libqtgui4 (>= 4.8.1), zlib1g (>= 1.2.3.4), libruby2.3 (>= 2.3.1), libpython2.7 (>= 2.7.12), libstdc++6 (>= 4.6.3), libc6 (>= 2.15)"
|
||||
|
||||
umask 0022
|
||||
|
||||
for bits in 32 64; do
|
||||
|
||||
echo "Checking $bits installation"
|
||||
echo "----------------------------------------"
|
||||
|
||||
if [ "$bits" = "32" ]; then
|
||||
arch="i386"
|
||||
bindir="bin.linux-32-gcc-release"
|
||||
else
|
||||
arch="amd64"
|
||||
bindir="bin.linux-64-gcc-release"
|
||||
fi
|
||||
|
||||
if [ -d $bindir ]; then
|
||||
|
||||
rm -rf makedeb-tmp
|
||||
mkdir makedeb-tmp
|
||||
|
||||
pkgname=${exe_name}_${version}-1_$arch
|
||||
|
||||
echo "INFO: package name is $pkgname"
|
||||
|
||||
echo "Copying files .."
|
||||
cd scripts/deb-data
|
||||
tar --exclude=".svn" -cf data.tar *
|
||||
mv data.tar ../..
|
||||
cd ../..
|
||||
cd makedeb-tmp
|
||||
mv ../data.tar .
|
||||
tar xf data.tar
|
||||
rm data.tar
|
||||
cd ..
|
||||
cp -pd $bindir/strm* makedeb-tmp/usr/bin
|
||||
cp -pd $bindir/klayout makedeb-tmp/usr/bin
|
||||
cp -pd $bindir/lib* makedeb-tmp/usr/lib/klayout
|
||||
|
||||
cd makedeb-tmp
|
||||
|
||||
echo "Checking files .."
|
||||
|
||||
grep -q $version usr/share/doc/klayout/copyright || (
|
||||
echo "*** ERROR: version $version not found in copyright file"
|
||||
exit 1
|
||||
)
|
||||
|
||||
grep -q $version usr/share/doc/klayout/changelog || (
|
||||
echo "*** ERROR: version $version not found in changelog file"
|
||||
exit 1
|
||||
)
|
||||
|
||||
grep -q $version usr/share/doc/klayout/changelog.Debian || (
|
||||
echo "*** ERROR: version $version not found in changelog.Debian file"
|
||||
exit 1
|
||||
)
|
||||
|
||||
echo "Modifying control file .."
|
||||
|
||||
strip usr/bin/*
|
||||
|
||||
size=`du -ck usr | grep total | sed "s/ *total//"`
|
||||
|
||||
mv control control.org
|
||||
cat control.org | sed "s/%ARCH%/$arch/g" | sed "s/%VERSION%/$version/g" | sed "s/%SIZE%/$size/g" | sed "s/%DEPENDS%/$depends/g" >control
|
||||
rm -f control.org
|
||||
cat control
|
||||
|
||||
echo "Building .deb package .."
|
||||
|
||||
gzip -n --best usr/share/doc/klayout/changelog
|
||||
gzip -n --best usr/share/doc/klayout/changelog.Debian
|
||||
|
||||
# lintian complains about exec bits set
|
||||
find ./usr -name "lib*.so.*" -exec chmod 644 "{}" ";"
|
||||
|
||||
find ./usr -type f -exec md5sum "{}" ";" >md5sums
|
||||
chmod 644 md5sums
|
||||
|
||||
fakeroot tar -cvf data.tar ./usr
|
||||
gzip data.tar
|
||||
|
||||
fakeroot tar -cvf control.tar control md5sums postinst postrm
|
||||
gzip control.tar
|
||||
|
||||
fakeroot ar cr $pkgname.deb debian-binary control.tar.gz data.tar.gz
|
||||
|
||||
echo "Finish making $pkgname.deb .."
|
||||
mv $pkgname.deb ..
|
||||
cd ..
|
||||
rm -rf makedeb-tmp
|
||||
|
||||
echo "Running lintian $pkgname.deb .."
|
||||
lintian $pkgname.deb --suppress-tags binary-without-manpage --no-tag-display-limit
|
||||
|
||||
fi
|
||||
|
||||
done
|
||||
Loading…
Reference in New Issue