--- /dev/null
+irwi for Debian
+---------------
+
+Warning: This app replaces your /etc/lircd.conf.
+
+ -- Torste Aikio <zokier@unknown> Mon, 24 May 2010 10:17:33 +0300
--- /dev/null
+irwi (0.1-1) unstable; urgency=low
+
+ * Initial release
+
+ -- Torste Aikio <zokier@unknown> Mon, 24 May 2010 10:17:33 +0300
+
--- /dev/null
+Source: irwi
+Section: unknown
+Priority: extra
+Maintainer: Torste Aikio <zokier@unknown>
+Build-Depends: debhelper (>= 5)
+Standards-Version: 3.7.2
+
+Package: irwi
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Small widget to control your TV etc
+ This widget has basic controls to control IR controlled devices.
--- /dev/null
+This package was debianized by Torste Aikio <zokier@unknown> on
+Mon, 24 May 2010 10:17:33 +0300.
+
+It was downloaded from an unknown corner of the internet.
+
+Upstream Author: Torste Aikio, Jari Järvi, Joonas Partanen
+
+Copyright: 2010 Torste Aikio, Jari Järvi, Joonas Partanen
+
+License: GPL
+
+The Debian packaging is (C) 2010, Torste Aikio <zokier@unknown> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
+
+
+qmaemo5homescreenadaptor is (C) 2010 Nokia Corporation and is
+licensed under the LGPL.
+
--- /dev/null
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH IRWI 1 "May 24, 2010"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+irwi \- Ir control widget
+.SH SYNOPSIS
+.B irwi
+.SH DESCRIPTION
+This manual page documents briefly the
+.B irwi
+command.
+.PP
+.\" TeX users may be more comfortable with the \fB<whatever>\fP and
+.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
+.\" respectively.
+\fBirwi\fP is a widget which allows the user to control various devices
+(TV etc) via Lirc.
+.SH OPTIONS
+These programs follow the usual GNU command line syntax, with long
+options starting with two dashes (`-').
+A summary of options is included below.
+.TP
+.B \-v, \-\-version
+Show version of program.
+.SH AUTHOR
+irwi was written by Torste Aikio, Jari Järvi and Joonas Partanen.
+.PP
+This manual page was written by Torste Aikio <zokier@unknown>,
+for the Debian project (but may be used by others).
--- /dev/null
+#!/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
+
+
+
+
+CFLAGS = -Wall
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+ # Add here commands to configure the package.
+
+ touch configure-stamp
+
+
+build: build-stamp
+
+build-stamp: configure-stamp
+ dh_testdir
+
+ # Add here commands to compile the package.
+ $(MAKE)
+ #docbook-to-man debian/irwi.sgml > irwi.1
+
+ touch $@
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+
+ # Add here commands to clean up after the build process.
+ -$(MAKE) clean
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ # Add here commands to install the package into debian/irwi.
+ $(MAKE) DESTDIR=$(CURDIR)/debian/irwi install
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs
+# dh_installdocs
+# dh_installexamples
+# dh_install
+# dh_installmenu
+# dh_installdebconf
+# dh_installlogrotate
+# dh_installemacsen
+# dh_installpam
+# dh_installmime
+# dh_python
+# dh_installinit
+# dh_installcron
+# dh_installinfo
+ dh_installman
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+# dh_perl
+# 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 configure
--- /dev/null
+QMAKEVERSION = $$[QMAKE_VERSION]
+ISQT4 = $$find(QMAKEVERSION, ^[2-9])
+isEmpty( ISQT4 ) {
+error("Use the qmake include with Qt4.6 or greater, on Debian that is qmake-qt4");
+}
+
+TEMPLATE = subdirs
+SUBDIRS = src
+
+++ /dev/null
-TEMPLATE = app
-
-SOURCES += main.cpp
-SOURCES += mainwidget.cpp
-SOURCES += irctrl.cpp
-SOURCES += settingsdlg.cpp
-HEADERS += mainwidget.h
-HEADERS += irctrl.h
-HEADERS += settingsdlg.h
-
-include(qmaemo5homescreenadaptor/qmaemo5homescreenadaptor.pri)
-
-desktop.path = /usr/share/applications/hildon-home
-desktop.files = qt-homescreen-example.desktop
-
-target.path = /usr/lib/hildon-desktop
-INSTALLS += target desktop
-
-QT += network
-
--- /dev/null
+TEMPLATE = app
+
+SOURCES += main.cpp
+SOURCES += mainwidget.cpp
+SOURCES += irctrl.cpp
+SOURCES += settingsdlg.cpp
+HEADERS += mainwidget.h
+HEADERS += irctrl.h
+HEADERS += settingsdlg.h
+
+include(qmaemo5homescreenadaptor/qmaemo5homescreenadaptor.pri)
+
+desktop.path = /usr/share/applications/hildon-home
+desktop.files = irwi.desktop
+
+target.path = /usr/lib/hildon-desktop
+#INSTALLS += target desktop
+
+QT += network
+
+ unix {
+ #VARIABLES
+ isEmpty(PREFIX) {
+ PREFIX = /usr/local
+ }
+
+BINDIR = $$PREFIX/bin
+DATADIR =$$PREFIX/share
+
+DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"
+
+#MAKE INSTALL
+
+INSTALLS += target desktop service iconxpm icon26 icon48 icon64
+
+ target.path =$$BINDIR
+
+ desktop.path = $$DATADIR/applications/hildon
+ desktop.files += $${TARGET}.desktop
+
+ service.path = $$DATADIR/dbus-1/services
+ service.files += $${TARGET}.service
+
+ iconxpm.path = $$DATADIR/pixmap
+ iconxpm.files += ../data/maemo/$${TARGET}.xpm
+
+ icon26.path = $$DATADIR/icons/hicolor/26x26/apps
+ icon26.files += ../data/26x26/$${TARGET}.png
+
+ icon48.path = $$DATADIR/icons/hicolor/48x48/apps
+ icon48.files += ../data/48x48/$${TARGET}.png
+
+ icon64.path = $$DATADIR/icons/hicolor/64x64/apps
+ icon64.files += ../data/64x64/$${TARGET}.png
+}
+