--- libticalcs-1.1.3+dfsg1.orig/debian/docs
+++ libticalcs-1.1.3+dfsg1/debian/docs
@@ -0,0 +1,3 @@
+AUTHORS
+LOGO
+README
--- libticalcs-1.1.3+dfsg1.orig/debian/libticalcs2-7.install
+++ libticalcs-1.1.3+dfsg1/debian/libticalcs2-7.install
@@ -0,0 +1,2 @@
+usr/lib/lib*.so.*
+usr/share/locale/*
--- libticalcs-1.1.3+dfsg1.orig/debian/rules
+++ libticalcs-1.1.3+dfsg1/debian/rules
@@ -0,0 +1,107 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+        CFLAGS += -g
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+        INSTALL_PROGRAM += -s
+endif
+
+autotools: autotools-stamp
+autotools-stamp:
+	-rm -f config.sub config.guess
+	ln -s /usr/share/misc/config.sub config.sub
+	ln -s /usr/share/misc/config.guess config.guess
+	touch autotools-stamp
+
+config.status: autotools-stamp configure
+	dh_testdir
+	# Add here commands to configure the package.
+	touch configure.ac && touch aclocal.m4 && touch configure
+	./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
+		--prefix=/usr --mandir=\$${prefix}/share/man \
+		CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
+
+
+build: build-stamp
+build-stamp:  config.status
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE)
+
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f autotools-stamp build-stamp
+
+	# Add here commands to clean up after the build process.
+	[ ! -f Makefile ] || $(MAKE) distclean
+	rm -f config.sub config.guess
+	cd docs/html && rm -f api.html backup.c.html calc_xx.c.html \
+	clock.c.html dirlist.c.html error.c.html probe.c.html \
+	ticalcs.c.html ticalcs.h.html tikeys.c.html type2str.c.html
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	# Add here commands to install the package into debian/tmp
+	$(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs ChangeLog
+	dh_installdocs
+	dh_installexamples
+	dh_install --sourcedir=debian/tmp
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install 
--- libticalcs-1.1.3+dfsg1.orig/debian/control
+++ libticalcs-1.1.3+dfsg1/debian/control
@@ -0,0 +1,37 @@
+Source: libticalcs
+Priority: optional
+Section: libs
+Maintainer: Krzysztof Burghardt <krzysztof@burghardt.pl>
+Build-Depends: debhelper (>> 5), pkg-config, libglib2.0-dev, libticables-dev (>= 1.2.0), libtifiles-dev (>= 1.1.0), libticonv-dev (>= 1.1.0), tfdocgen, gettext, autotools-dev
+Standards-Version: 3.8.2
+Homepage: http://lpg.ticalc.org/prj_tilp/
+
+Package: libticalcs-dev
+Section: libdevel
+Architecture: any
+Replaces: libticalcs2-dev, libticalcs2-7-dev, libticalcs3-dev, libticalcs4-dev
+Conflicts: libticalcs2-2-dev, libticalcs2-6-dev
+Depends: libticalcs2-7 (= ${binary:Version}), pkg-config, libglib2.0-dev, libticables-dev, libtifiles-dev, libticonv-dev
+Description: Texas Instruments calculator communication library [development files]
+ The libticalcs is a library providing support for communication with Texas
+ Instruments calculators. It implements the TI protocol for each type of
+ calculator, independently of the link cable used to establish the link.
+ .
+ All graphing calculators from Texas Instruments are supported.
+ .
+ This package provides the development files for the library, static library, 
+ required headers and documentation.
+
+Package: libticalcs2-7
+Architecture: any
+Replaces: libticalcs, libticalcs2, libticalcs3, libticalcs4
+Conflicts: libticalcs2-2, libticalcs2-6
+Depends: ${shlibs:Depends}
+Description: Texas Instruments calculator communication library
+ The libticalcs is a library providing support for communication with Texas
+ Instruments calculators. It implements the TI protocol for each type of
+ calculator, independently of the link cable used to establish the link.
+ .
+ All graphing calculators from Texas Instruments are supported.
+ .
+ This package provides the shared library.
--- libticalcs-1.1.3+dfsg1.orig/debian/compat
+++ libticalcs-1.1.3+dfsg1/debian/compat
@@ -0,0 +1 @@
+5
--- libticalcs-1.1.3+dfsg1.orig/debian/changelog
+++ libticalcs-1.1.3+dfsg1/debian/changelog
@@ -0,0 +1,5 @@
+libticalcs (1.1.3+dfsg1-1) unstable; urgency=low
+
+  * Initial release. (Closes: #505822)
+
+ -- Krzysztof Burghardt <krzysztof@burghardt.pl>  Fri, 19 Jun 2009 00:15:05 +0200
--- libticalcs-1.1.3+dfsg1.orig/debian/libticalcs-dev.dirs
+++ libticalcs-1.1.3+dfsg1/debian/libticalcs-dev.dirs
@@ -0,0 +1,2 @@
+usr/lib/pkgconfig
+
--- libticalcs-1.1.3+dfsg1.orig/debian/libticalcs-dev.docs
+++ libticalcs-1.1.3+dfsg1/debian/libticalcs-dev.docs
@@ -0,0 +1 @@
+docs/html
--- libticalcs-1.1.3+dfsg1.orig/debian/libticalcs-dev.install
+++ libticalcs-1.1.3+dfsg1/debian/libticalcs-dev.install
@@ -0,0 +1,4 @@
+usr/include/*
+#usr/lib/lib*.a
+usr/lib/lib*.so
+usr/lib/pkgconfig/*
--- libticalcs-1.1.3+dfsg1.orig/debian/copyright
+++ libticalcs-1.1.3+dfsg1/debian/copyright
@@ -0,0 +1,101 @@
+This package was created by Romain LIEVIN <roms@tilp.info> on
+Sun, 14 Jul 2002 11:58:51 +0200.
+
+It was downloaded from <http://lpg.ticalc.org/prj_tilp/>
+
+Original tarball was repacked to remove binary form of ROM dumpers.
+
+Upstream Authors:
+
+    Romain Liévin <roms@tilp.info>
+    Kevin Kofler <Kevin@tigcc.ticalc.org>
+    Benjamin Moody <benjamin@ecg.mit.edu>
+    Tyler Cassidy <tyler@tylerc.org>
+    Sylvain Garsault
+
+Copyright:
+
+    Copyright © 1999-2008 Romain Liévin
+    Copyright © 2003 Sylvain Garsault
+    Copyright © 2004-2006 Kevin Kofler
+    Copyright © 2005-2006 Benjamin Moody
+    Copyright © 2006 Tyler Cassidy
+
+License (except files specified below):
+
+    This package 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 package 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
+
+Authors (src/romdump_8x/*):
+
+    Benjamin Moody <benjamin@ecg.mit.edu>
+
+Copyright (src/romdump_8x/*):
+
+    Copyright © 2005 Benjamin Moody
+
+License (src/romdump_8x/*):
+
+    Permission is hereby granted, free of charge, to any person
+    obtaining a copy of this software and associated documentation
+    files (the "Software"), to deal in the Software without
+    restriction, including without limitation the rights to use, copy,
+    modify, merge, publish, distribute, and/or sell copies of the
+    Software, and to permit persons to whom the Software is furnished
+    to do so, provided that the above copyright notice(s) and this
+    permission notice appear in all copies of the Software and that
+    both the above copyright notice(s) and this permission notice
+    appear in supporting documentation.
+
+    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+    EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+    NONINFRINGEMENT OF THIRD PARTY RIGHTS.  IN NO EVENT SHALL THE
+    COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR
+    ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR
+    ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
+    PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
+    TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+    PERFORMANCE OF THIS SOFTWARE.
+
+Copyright (src/gettext.h):
+
+    Copyright (C) 1995-1998, 2000-2002, 2004 Free Software Foundation, Inc.
+
+License (src/gettext.h):
+
+   This program is free software; you can redistribute it and/or modify it
+   under the terms of the GNU Library General Public License as published
+   by the Free Software Foundation; either version 2, 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
+   Library General Public License for more details.
+
+   You should have received a copy of the GNU Library General Public
+   License along with this program; if not, write to the Free Software
+   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
+   USA.
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL-2'.
+
+On Debian systems, the complete text of the GNU Library General
+Public License can be found in `/usr/share/common-licenses/LGPL-2'.
+
+The Debian packaging is © 2002-2009, Romain Liévin <roms@tilp.info>
+and © 2009, Krzysztof Burghardt <krzysztof@burghardt.pl> and
+is licensed under the GPL, see above.
--- libticalcs-1.1.3+dfsg1.orig/debian/README.Debian
+++ libticalcs-1.1.3+dfsg1/debian/README.Debian
@@ -0,0 +1,8 @@
+libticalcs for Debian
+---------------------
+
+ROM dumpers was removed from Debian package because Debian does not have
+cross-compilers for Texas Instruments calculators and thus binary form of ROM
+dumper cannot go to main.
+
+ -- Krzysztof Burghardt <krzysztof@burghardt.pl>  Thu, 18 Jun 2009 23:55:58 +0200
