debian/0000755000000000000000000000000012216237613007171 5ustar debian/compat0000644000000000000000000000000211224713166010367 0ustar 7 debian/copyright0000644000000000000000000000240210447003156011117 0ustar This package was originally created by Jay Kominek on Sunday, September 28th, 1997 It was downloaded from ftp://sunsite.unc.edu/pub/Linux/devel/lang/c/ Copyright: This program was initially based on the `g48' compiler written by M. Andreoli but has been rewritten from scratch by Sandro Sigala . Old code and idea copyright (c) 1997 Michele Andreoli. All rights reserved. New code copyright (c) 1997-2001 Sandro Sigala. All rights reserved. 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 program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. On Debian systems, the full text of GNU's GPL can be found in /usr/share/common-licenses/GPL-2 debian/hp48cc.dirs0000644000000000000000000000001010447003156011131 0ustar usr/bin debian/hp48cc.examples0000644000000000000000000000040310447003156012014 0ustar examples/README examples/accuracy.hpc examples/astro.hpc examples/fact.hpc examples/gcd.hpc examples/hello.hpc examples/inform.hpc examples/pi1.hpc examples/pi2.hpc examples/sort.hpc examples/tutorial.hpc examples/xcos.hpc examples/xexp.hpc examples/xsin.hpc debian/watch0000644000000000000000000000023310447023251010213 0ustar # watch file for uscan version=2 http://www.sigala.it/sandro/download.php (?:.*/)?hp48cc-?_?([\w+\d+\.]+|\d+)(?:\.tar|\.tgz)(?:\.gz|\.bz2|) debian uupdate debian/changelog0000644000000000000000000000512112216232607011040 0ustar hp48cc (1.3-5) unstable; urgency=low * Updated standards. * Add misc depends for debhelper. * Source format 3.0 quilt. * Add hardening flags. -- Roberto Lumbreras Wed, 18 Sep 2013 07:09:23 +0200 hp48cc (1.3-4) unstable; urgency=low * New maintainer. (closes: #300099) * Updated standards (no changes). * Added watch file. * Switched to cdbs. * Fix copyright file. -- Roberto Lumbreras Fri, 23 Jun 2006 15:41:47 +0200 hp48cc (1.3-3.1) unstable; urgency=low * Orphaning this package, setting maintainer to QA. -- Kyle McMartin Thu, 17 Mar 2005 10:59:11 -0500 hp48cc (1.3-3) unstable; urgency=low * New maintainer. (closes: #277733) -- Kyle McMartin Fri, 22 Oct 2004 21:39:40 -0400 hp48cc (1.3-2) unstable; urgency=low * Applied upstream patch (closes: #122934) * Added Build-Depends (closes: #110057) * Updated standards-version -- Chris Ruffin Sat, 23 Mar 2002 07:56:48 -0500 hp48cc (1.3-1) unstable; urgency=low * New upstream sources (closes: Bug#108914) -- Chris Ruffin Sat, 25 Aug 2001 03:03:20 -0400 hp48cc (1.0-8) unstable; urgency=low * Changed priority from extra to optional -- Chris Ruffin Sat, 2 Jun 2001 15:51:10 -0400 hp48cc (1.0-7) unstable; urgency=low * Added .PHONY targets to makefiles * Added libhp48cc.a to package * Moved from dh_installmanpages to dh_installman (closes: Bug#99535) -- Chris Ruffin Fri, 1 Jun 2001 18:06:35 -0400 hp48cc (1.0-6) unstable; urgency=low * Adopted package from Kominek (closes: bug#68297) * Moved man pages to /usr/share/man * Upgraded package standards -- Chris Ruffin Tue, 14 Nov 2000 22:13:00 -0500 hp48cc (1.0-5) unstable; urgency=low * Fixed bugs 29593 and 29881. * Switched to debhelper. -- Jay Kominek Tue, 8 Dec 1998 23:40:37 -0700 hp48cc (1.0-4) unstable; urgency=low * Added another example program. (Finds greatest common denominators) -- Jay Kominek Mon, 20 Apr 1998 20:39:23 -0400 hp48cc (1.0-3) unstable; urgency=low * Copyright file was missing the location of the upstream sources. -- Jay Kominek Sun, 8 Mar 1998 22:04:41 -0500 hp48cc (1.0-2) unstable; urgency=low * Added the example code into the package. -- Jay Kominek Sat, 18 Oct 1997 21:28:19 -0400 hp48cc (1.0-1) unstable; urgency=low * Initial Release. -- Jay Kominek Sun, 28 Sep 1997 10:45:33 -0400 debian/source/0000755000000000000000000000000012216127155010470 5ustar debian/source/format0000644000000000000000000000001412216127127011675 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012216130320010603 5ustar debian/patches/000-example.patch0000644000000000000000000000064712216130252013567 0ustar Description: add example code Example code program. Author: Jay Kominek --- /dev/null +++ hp48cc-1.3/examples/example1.hpc @@ -0,0 +1,20 @@ +def = @{}; + +for (;;) { + r = INFORM( + "Menu test", + @{ + @{"F:", "Foo 123"}, + @{"B:", "Bar xyz", 3}, + @{"Q:", "Quux", 3} + }, + @{1, 1}, + @{}, + def + ); + if (r == 0) { + MSGBOX("Quitting"); + PURGE(@{def, r}); + KILL(); + } +} debian/patches/series0000644000000000000000000000002212216130320012012 0ustar 000-example.patch debian/rules0000755000000000000000000000032712216232171010245 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/autotools.mk DEB_INSTALL_CHANGELOGS_ALL := ./NEWS CFLAGS += -fPIE -D_FORTIFY_SOURCE=2 -O1 LDFLAGS += -pie -Wl,-z,now debian/control0000644000000000000000000000123512216237602010573 0ustar Source: hp48cc Section: devel Priority: optional Maintainer: Roberto Lumbreras Build-Depends: cdbs, debhelper (>= 7), autotools-dev, bison, flex Standards-Version: 3.9.4 Homepage: http://www.sigala.it/sandro/software.php Package: hp48cc Architecture: any Pre-Depends: dpkg (>= 1.15.6~) Depends: ${shlibs:Depends}, ${misc:Depends} Description: C-like compiler which produces HP48 RPN `hp48cc' is a C-like compiler that translates the input code into the HP48 RPN language. The language recognized by the compiler is only a small subset of the C language, with some non-standard extensions, but powerful enough to write complex programs simply.