--- ski-1.3.2.orig/debian/ski.install +++ ski-1.3.2/debian/ski.install @@ -0,0 +1,4 @@ +debian/tmp/usr/bin/* +debian/tmp/usr/share/ski/* +debian/tmp/usr/share/man/* +debian/tmp/usr/share/man/man1/* --- ski-1.3.2.orig/debian/ski.docs +++ ski-1.3.2/debian/ski.docs @@ -0,0 +1,6 @@ +NEWS +README +TODO +doc/manual/SkiManualMasterDoc.pdf +doc/perf-changes.txt +doc/ski-notes.html --- ski-1.3.2.orig/debian/README.Debian +++ ski-1.3.2/debian/README.Debian @@ -0,0 +1,11 @@ +ski for Debian +----------------- + +Ski is a CPU simulator for the ia64 architecture, derived from the +work done with the ski simulator. It is not a system simulator, +so things like busses and IO are not handled in any way. + +Note the manual is not currently shipped with Debian, efforts are +being made to open source it properly. + + -- Ian Wienand , Fri, 11 Jan 2008 10:26:02 +1100 --- ski-1.3.2.orig/debian/copyright +++ ski-1.3.2/debian/copyright @@ -0,0 +1,41 @@ +This package was debianized by Al Stone ahs3@fc.hp.com on +Tue, 28 Jan 2003 10:14:25 -0700. + +Originally, this project was kept within the confines +of Hewlett-Packard Company. The source has now been +opened and may be found at http://ski.sourceforge.net + +For all source other than that in ./src/ltdl.[ch] + Copyright (c) 1995-2007, Hewlett-Packard Development Company, L.P. + +License: + This library 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 library 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. + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + +For the source in ./src/ltdl.[ch] + Copyright (c) 1998, 1999, 2000 Free Software Foundation, Inc. + Originally by Thomas Tanner + Source comes from GNU libtool. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public License + as published by the Free Software Foundation; either version 2 of + the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + +On Debian systems, the complete text of the GNU Lesser General Public +License can be found in `/usr/share/common-licenses/LGPL'. --- ski-1.3.2.orig/debian/compat +++ ski-1.3.2/debian/compat @@ -0,0 +1 @@ +5 \ No newline at end of file --- ski-1.3.2.orig/debian/control +++ ski-1.3.2/debian/control @@ -0,0 +1,18 @@ +Source: ski +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Ian Wienand +Uploaders: Al Stone +Standards-Version: 3.7.3 +Section: misc +Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 5), dpatch, autoconf, autogen, automake1.9, libtool, bison, flex, gawk, gperf, libelfg0-dev, libncurses5-dev, chrpath, sharutils, libltdl3-dev, pkg-config, libglade2-dev, libgnomeui-dev + +Package: ski +Section: devel +Architecture: any +Depends: ${shlibs:Depends}, less +Description: ia64 instruction simulator + Ski is an instruction simulator designed to execute and test ia64 + code on non-ia64 machines. This is CPU simulator only; there is + no machine simulator (for all the stuff beyond the CPU such as the + PCI bus or random IO devices). --- ski-1.3.2.orig/debian/changelog +++ ski-1.3.2/debian/changelog @@ -0,0 +1,241 @@ +ski (1.3.2-4ubuntu2) precise; urgency=low + + * No-change rebuild to drop spurious libsfgcc1 dependency on armhf. + + -- Adam Conrad Fri, 02 Dec 2011 21:21:51 -0700 + +ski (1.3.2-4ubuntu1) natty; urgency=low + + * debian/patches/remove-hayes.patch: (LP: #756157) + remove all references to HAYES to fix a FTBFS + + -- Andreas Moog Thu, 14 Apr 2011 23:24:28 +0200 + +ski (1.3.2-4) unstable; urgency=low + + * Remove 01-asm-page.patch and replace with + 01-syscall-linux-includes.patch which should fix Sparc build + (Closes: #495051) + + -- Ian Wienand Fri, 15 Aug 2008 22:06:11 -0700 + +ski (1.3.2-3) unstable; urgency=low + + * Fix FTBFS with 01-asm-page.patch (Closes: #479970) + * We're not shipping the binfmt stuff (Closes: #494572, #461650) + + -- Ian Wienand Wed, 13 Aug 2008 22:29:35 -0700 + +ski (1.3.2-2) unstable; urgency=low + + * Actually, we missed a whole bunch of depends, add them back in + (Closes: #465036) + * Openmotif is still in non-free, disable x11 + * Thanks to Kurt Roeckx for helping out + + -- Ian Wienand Fri, 29 Feb 2008 13:56:55 -0800 + +ski (1.3.2-1) unstable; urgency=low + + * Depend on CDBS since we use it, doh! (Closes: #464313) + + -- Ian Wienand Wed, 06 Feb 2008 22:12:33 +1100 + +ski (1.3.2-0) unstable; urgency=low + + * New upstream + * libltdl moved into the build, change copyright accordingly + * Add in PDF documentation file which now includes source + * Drop libski-dev and binfmt script + - the interpreter stuff isn't currently working + - libski-dev doesn't contain anything useful + * Move rules to CDBS + + -- Ian Wienand Mon, 04 Feb 2008 21:31:54 +1100 + +ski (1.1.3+dfsg-2) unstable; urgency=low + + * Edit copyright file; replace accidental LGPL description pasted in + with GPL version, formatting cleanup. + * Update standards to 3.7.3 + * Move libski-dev to libdevel + * Add description to 001_initlsb.dpatch + + -- Ian Wienand Mon, 14 Jan 2008 09:57:29 +1100 + +ski (1.1.3+dfsg-1) unstable; urgency=low + + * Remove non-free .pdf from tarball, remove note from copyright, add + note in README.Debian + + -- Ian Wienand Fri, 11 Jan 2008 10:26:40 +1100 + +ski (1.1.3-0) unstable; urgency=low + + * Ski is open source! Thanks to HP and Al for getting this out + (Closes: #438951) + * Cleaning up for Debian main archive + + -- Ian Wienand Fri, 10 Aug 2007 12:49:57 +1000 + +ski (1.1.1-1) unstable; urgency=low + + * Started building up a very small testsuite using qmtest + * Clean up code for open source distribution. + + -- Al Stone Tue, 3 Apr 2007 11:54:44 -0700 + +ski (1.1.0-1) unstable; urgency=low + + * Clone and go from the old ski code + * updated versioning in preparation for a surge of bug fixes and + such (affected a lot of files this way) + * Removed bogus libski package (this package uses no dynamic + linking at all -- and should not) + * Lots of packaging fix-ups (mostly bit-rot types of things) + + -- Al Stone Thu, 23 Feb 2006 15:18:57 -0700 + + +ski (0.981-7) unstable; urgency=low + + * Verified and corrected code so that Konstantin's patch (as + modified by David) for getPty() is now included. + + -- Al Stone Thu, 16 Dec 2004 15:17:59 -0700 + +ski (0.981-6) unstable; urgency=low + + * Added distributable version of the ski user's manual picked up + from hp's external web; see /usr/share/doc/ski/ski-manual-v1.0.pdf. + + -- Al Stone Fri, 22 Oct 2004 16:04:22 -0600 + +ski (0.981-5) unstable; urgency=low + + * Updated to latest CVS top-of-tree + * src/write.c (cfmWrt): Restore the original value of "sof" before + calling rse_new_frame(). That call may longjmp() if a data-debug + breakpoint is hit and when that happens, the simulator state must + be consistent. Once rse_new_frame() returns successfully, + re-establish the new "sof" value. + * src/state.c: Change family from 7 (Merced) to 0x1f (McKinley/Madison). + * src/ui.c (regwtbl): Change height of System Registers info from 43 to + 64 lines. (srLine): Adapt to make room for 64 PMC and PMD registers + (man, this code is in need of a rewrite!!). + * src/ssDSym.c: Add include of "state.h" so we get NPMS defined. + (isymInit): For PMCs/PMDs, call isymIns2() with -NPMS instead of -16. + * src/libcore.h (NPMS): Increase from 16 to 64 so we get 64 PMCs and PMDs + (like on Montecito). + * src/state.h (NPMS): Likewise. + * misc/ia64fmt: use modprobe instead of insmod to load binfmt_misc + + -- Al Stone Mon, 21 Jun 2004 20:53:22 -0600 + +ski (0.981-4) unstable; urgency=low + + * src/tlb.h (DBGREGS): Define to enable debug registers support. + * src/ssDSym.c (isymInit): Define ar.csd as an ia64 register instead of + an ia32 register. + * src/main.c (main): Allow environment variable SKI_PAGE_SIZE to override + simulated page-size. This is a bit of a kludge to work around the + data-breakpoint limit, which are limited to covering a single + (simulated) page. + * configure.ac: Check for XtRealloc instead of XtMalloc. + (CFLAGS): Compiled with -fno-strict-aliasing to avoid potential bad + code (Ski isn't strict-aliasing safe). + + -- Al Stone Fri, 23 Jan 2004 18:10:16 -0700 + +ski (0.981-3) unstable; urgency=low + + * Updated to latest upstream source. + * Forced static linking to avoid problems with forcing particular + versions of some libraries (such as libbfd) to be used. + + -- Al Stone Mon, 19 Jan 2004 20:40:55 -0700 + +ski (0.981-2) unstable; urgency=low + + * Corrected the link path for ski by using --with-gnu-ld in the + configure step of debian/rules, and then using chrpath to remove + the rpath inserted by libtool (because libtool *insists* on using + -rpath, which is fine for static objects, but not for the dynamic + objects Debian prefers). + * Corrected misc/ia64fmt; linda reported 'dash -n' errors that I + missed. + + -- Al Stone Sun, 17 Aug 2003 12:04:24 -0600 + +ski (0.981-1) unstable; urgency=low + + * Made the version number correspond to what's actually used in + src/version.h. + * Updated to latest source. Corrections made to src/ssDDM.c and + to src/linux/syscall-linux.c were incorporated as a result. + * Corrected the misc/ia64fmt script that tells the kernel to use + ski as an ia64 interpreter; it needed to be better about the + cases where binfmt_misc may not yet be mounted. + * The x86 version was not installing the etc/init.d/ski script + at all. Fixed the rules file. + + -- Al Stone Wed, 16 Jul 2003 16:49:12 -0600 + +ski (0.9.81-5) unstable; urgency=low + + * Updated to latest version of source tree. + * Added required force-reload option to init.d script that installs + bski as an interpreter for ia64 executables. + * Corrected typos (wrong paths) in misc/ia64fmt and misc/bskinc. + * Created ia64 debs, on top of ia32 debs. + * Added into debian/rules a test to see if we're building an ia64 + version of ski; if so, do _not_ install the init.d script that + registers ski as the program to interpret ia64 executables -- + this would be very bad. + + -- Al Stone Fri, 18 Apr 2003 11:37:43 -0600 + +ski (0.9.81-4) unstable; urgency=low + + * Added in the /etc/init.d/ia64fmt script to register ski as an + interpreter for ia64 binaries. This also required the addition + of the bskinc script (bski with no console). + * Added in a dependency on less (used for the license display) + + -- Al Stone Wed, 19 Mar 2003 15:45:01 -0700 + +ski (0.9.81-3) unstable; urgency=low + + * Missed some of the build-depends (automake1.7, libtool, debhelper, + ...); found them by making sure testing within debootstrap environments + succeeded. + * This package cannot be built with woody; the dependency on automake1.7 + is quite strong. This package can also not be built on testins, since + it needs bug fixes done in debhelper 4.0.4. Unstable builds fine. + + -- Al Stone Tue, 18 Mar 2003 22:32:48 -0700 + +ski (0.9.81-2) unstable; urgency=low + + * Changed to package structure pretty dramatically; separated out + the run-time library in libski, the development files into + libski-dev, and the commands into a simpler ski package. + * Made sure all the build-depends were specified properly + + -- Al Stone Tue, 18 Mar 2003 16:59:44 -0700 + +ski (0.9.81-1) unstable; urgency=low + + * Updated to most recent source tree + * Used a more proper version numbering scheme (0.9.81 vs 0.981). + * Had to export a value for the variable SED in debian/rules so + that the homegrown version of libtool being used would work + * Cleaned up the installation a bit so that it would pass lintian + + -- Al Stone Tue, 18 Mar 2003 15:15:05 -0700 + +ski (0.9.77-1) unstable; urgency=low + + * Initial release. + + -- Al Stone Tue, 28 Jan 2003 10:14:25 -0700 --- ski-1.3.2.orig/debian/rules +++ ski-1.3.2/debian/rules @@ -0,0 +1,13 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +DEB_DESTDIR=$(CURDIR)/debian/tmp + +DEB_CONFIGURE_EXTRA_FLAGS := --with-gtk +#force use of gcc +DEB_CONFIGURE_SCRIPT_ENV += CC=gcc + +DEB_INSTALL_CHANGELOGS_ski := ChangeLog.2007 --- ski-1.3.2.orig/debian/svn-deblayout +++ ski-1.3.2/debian/svn-deblayout @@ -0,0 +1 @@ +origDir=../upstream \ No newline at end of file --- ski-1.3.2.orig/debian/ski-fake-xterm.1 +++ ski-1.3.2/debian/ski-fake-xterm.1 @@ -0,0 +1,21 @@ +.TH "ski-fake-xterm" "1" "1.1.3" "Ian Wienand" "" +.SH "NAME" +.LP +ski\-fake\-xterm \- Fakes an xterm and PTY for ski +.SH "SYNTAX" +See xterm +.SH "DESCRIPTION" +.LP +Fakes an xterm and PTY for Ski. This is useful if you are debugging without an X11 connection, the program will report a PTY you can connect to with minicom, etc. +.SH "OPTIONS" +N/A +.SH "FILES" +N/A +.SH "ENVIRONMENT VARIABLES" +.SH "EXAMPLES" +.SH "AUTHORS" +.LP +Ian Wienand +.SH "SEE ALSO" +.LP +xterm(1) ski(1) --- ski-1.3.2.orig/debian/patches/01-syscall-linux-includes.patch +++ ski-1.3.2/debian/patches/01-syscall-linux-includes.patch @@ -0,0 +1,19 @@ +diff -r 92536f1a8488 src/linux/syscall-linux.c +--- a/src/linux/syscall-linux.c Mon Feb 04 21:10:17 2008 -0700 ++++ b/src/linux/syscall-linux.c Fri Aug 15 22:04:38 2008 -0700 +@@ -45,7 +45,6 @@ + #include + #include + #include +-#include + + #include + #include +@@ -72,7 +71,6 @@ + #include + + #include +-#include + #include + + #include "std.h" --- ski-1.3.2.orig/debian/patches/remove-hayes.patch +++ ski-1.3.2/debian/patches/remove-hayes.patch @@ -0,0 +1,15 @@ +## Description: Remove references to HAYES +## Origin/Author: Andreas Moog +## Bug-Ubuntu: https://bugs.launchpad.net/bugs/756157 +diff -Nur -x '*.orig' -x '*~' ski//src/linux/syscall-linux.c ski.new//src/linux/syscall-linux.c +--- ski//src/linux/syscall-linux.c 2011-04-14 23:23:38.737099081 +0200 ++++ ski.new//src/linux/syscall-linux.c 2011-04-14 23:24:24.854660890 +0200 +@@ -2250,8 +2250,6 @@ + case TIOCSERSETMULTI: /* Set multiport config */ + case TIOCMIWAIT: /* wait for a change on serial input line(s) */ + case TIOCGICOUNT: /* read serial port inline interrupt counts */ +- case TIOCGHAYESESP: /* Get Hayes ESP configuration */ +- case TIOCSHAYESESP: /* Set Hayes ESP configuration */ + case SIOCRTMSG: /* call to routing system */ + case SIOCSIFLINK: /* set iface channel */ + case SIOCGIFMEM: /* get memory address (BSD) */ --- ski-1.3.2.orig/debian/patches/00list +++ ski-1.3.2/debian/patches/00list @@ -0,0 +1 @@ +01-asm-page.patch