--- keyboardcast-0.1.1.orig/debian/rules +++ keyboardcast-0.1.1/debian/rules @@ -0,0 +1,67 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +configure: configure-stamp +configure-stamp: + dh_testdir + touch configure-stamp + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + patch -p0 < debian/patches/Makefile.patch + patch -p1 < debian/patches/libX11_underlinkage.patch + $(MAKE) + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f configure-stamp + [ ! -f Makefile ] || $(MAKE) clean + dh_clean + [ -e "build-stamp" ] && \ + patch -p0 -R < debian/patches/Makefile.patch ||\ + true + rm -f build-stamp + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + $(MAKE) install DESTDIR=$(CURDIR)/debian/keyboardcast + + +binary-indep: build install + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs README + dh_installman debian/keyboardcast.1 + dh_link + dh_desktop + dh_strip + dh_compress + dh_fixperms + 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 --- keyboardcast-0.1.1.orig/debian/compat +++ keyboardcast-0.1.1/debian/compat @@ -0,0 +1 @@ +5 --- keyboardcast-0.1.1.orig/debian/copyright +++ keyboardcast-0.1.1/debian/copyright @@ -0,0 +1,25 @@ +This package was debianized by Dennis Kaarsemaker on +Sun, 4 Dec 2005 23:19:45 +0100. + +It was downloaded from http://desrt.mcmaster.ca/code/keyboardcast/ + +Copyright Holder: (c)2005 Ryan Lortie + +License: + + This program is free software; you can redistribute it and/or modify + it under the terms of version 2 of the GNU General Public License as + published by the Free Software Foundation. + + 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 Street, 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-2'. --- keyboardcast-0.1.1.orig/debian/control +++ keyboardcast-0.1.1/debian/control @@ -0,0 +1,15 @@ +Source: keyboardcast +Section: net +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Dennis Kaarsemaker +Build-Depends: debhelper (>> 5), libwnck-dev, libgtk2.0-dev, libglade2-dev, libxmu-dev +Standards-Version: 3.7.3 + +Package: keyboardcast +Architecture: any +Depends: ${shlibs:Depends} +Description: A keyboard multiplexer for the gnome desktop + With keyboardcast you can send keystrokes to any number of windows you select + simultaneously. It also offers an option to start gnome-terminal processes + (for instance to login to remote hosts) --- keyboardcast-0.1.1.orig/debian/watch +++ keyboardcast-0.1.1/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://desrt.mcmaster.ca/code/keyboardcast/ (?:.*/)?keyboardcast-?_?([\d+\.]+|\d+)\.tar.* debian uupdate + --- keyboardcast-0.1.1.orig/debian/dirs +++ keyboardcast-0.1.1/debian/dirs @@ -0,0 +1,3 @@ +usr/bin +usr/share/keyboardcast +usr/share/applications --- keyboardcast-0.1.1.orig/debian/keyboardcast.1 +++ keyboardcast-0.1.1/debian/keyboardcast.1 @@ -0,0 +1,40 @@ +.\" 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 KEYBOARDCAST 1 "december 4, 2005" +.\" 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 insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +keyboardcast \- keyboard multiplexer +.SH SYNOPSIS +.B keyboardcast +.br +.SH DESCRIPTION +This manual page documents briefly the +.B keyboardcast +command. +.PP +.\" TeX users may be more comfortable with the \fB\fP and +.\" \fI\fP escape sequences to invode bold face and italics, +.\" respectively. +\fBkeyboardcast\fP is a program that can send keystrokes to multiple windows +simultaneously. It can also start gnome-terminal processes, for instance to log +in to several machines simultaneously via ssh +.SH OPTIONS +keyboardcast takes no options +.SH AUTHOR +keyboardcast was written by Ryan Lortie +.PP +This manual page was written by Dennis Kaarsemaker , +for the Ubuntu project (but may be used by others). --- keyboardcast-0.1.1.orig/debian/changelog +++ keyboardcast-0.1.1/debian/changelog @@ -0,0 +1,33 @@ +keyboardcast (0.1.1-0ubuntu4) raring; urgency=low + + * Added missing X11 lib to link, fixing FTBFS. + + -- Daniel T Chen Wed, 03 Apr 2013 15:29:50 -0400 + +keyboardcast (0.1.1-0ubuntu3) hardy; urgency=low + + * debian/watch: Added watchfile + * debian/control: Bumped standards version + * debian/rules: + - Fixed debian-rules-ignores-make-clean-error + - Modifed dh_installdocs call to install README + * debian/docs: Removed + * Closes lp: #182453 + + -- Cody A.W. Somerville Sat, 12 Jan 2008 22:26:49 -0400 + +keyboardcast (0.1.1-0ubuntu2) gutsy; urgency=low + + * Rebuild for libwnck18 -> libwnck22. + * debian/control: Modify Maintainer value to match + DebianMaintainerField spec. + + -- Michael Bienia Sat, 30 Jun 2007 12:23:44 +0200 + +keyboardcast (0.1.1-0ubuntu1) dapper; urgency=low + + * Initial release + * Patch the makefile to install correctly (debian/patches/Makefile.patch) + + -- Dennis Kaarsemaker Tue, 24 Jan 2006 01:51:43 +0100 + --- keyboardcast-0.1.1.orig/debian/patches/Makefile.patch +++ keyboardcast-0.1.1/debian/patches/Makefile.patch @@ -0,0 +1,18 @@ +--- Makefile.orig 2006-01-24 02:00:00.000000000 +0100 ++++ Makefile 2006-01-24 02:00:20.000000000 +0100 +@@ -1,4 +1,4 @@ +-PREFIX = /usr/local ++PREFIX = /usr + SHAREDIR = $(PREFIX)/share/keyboardcast + APPSDIR = $(PREFIX)/share/applications + BINDIR = $(PREFIX)/bin +@@ -17,6 +17,6 @@ + install: keyboardcast keyboardcast.glade + install -d $(DESTDIR)$(SHAREDIR) $(DESTDIR)$(BINDIR) \ + $(DESTDIR)$(APPSDIR) +- install keyboardcast $(DESTDIR)$(BINDIR) +- install keyboardcast.glade $(DESTDIR)$(SHAREDIR) +- install keyboardcast.desktop $(DESTDIR)$(APPSDIR) ++ install -m 0755 keyboardcast $(DESTDIR)$(BINDIR) ++ install -m 0644 keyboardcast.glade $(DESTDIR)$(SHAREDIR) ++ install -m 0644 keyboardcast.desktop $(DESTDIR)$(APPSDIR) --- keyboardcast-0.1.1.orig/debian/patches/libX11_underlinkage.patch +++ keyboardcast-0.1.1/debian/patches/libX11_underlinkage.patch @@ -0,0 +1,12 @@ +diff -uNr keyboardcast-0.1.1/Makefile keyboardcast-0.1.1.new/Makefile +--- keyboardcast-0.1.1/Makefile 2005-12-06 12:29:22.000000000 -0500 ++++ keyboardcast-0.1.1.new/Makefile 2013-04-03 15:32:35.718006851 -0400 +@@ -6,7 +6,7 @@ + PKGS = gtk+-2.0 libwnck-1.0 libglade-2.0 + CFLAGS = `pkg-config --cflags $(PKGS)` + LDLIBS = `pkg-config --libs $(PKGS)` +-LDLIBS += -lXmu ++LDLIBS += -lXmu -lX11 + CFLAGS += -Wall -O2 -DPREFIX=\"$(PREFIX)\" + + keyboardcast: keyboardcast.o window-list.o grab-window.o