From 091f273131ffed63d98e0d86252087944e566d0b Mon Sep 17 00:00:00 2001 From: mdb Date: Fri, 17 Aug 2001 20:33:53 +0000 Subject: [PATCH] Horked debian build scripts from balsa and modified them to work for lookuplet. We have a .deb package now. Whee! git-svn-id: https://samskivert.googlecode.com/svn/trunk@294 6335cc39-0255-0410-8fd6-9bcaacd3b74c --- projects/lookuplet/debian/README.debian | 14 +++++ projects/lookuplet/debian/changelog | 10 ++++ projects/lookuplet/debian/control | 12 +++++ projects/lookuplet/debian/copyright | 19 +++++++ projects/lookuplet/debian/dirs | 2 + projects/lookuplet/debian/docs | 1 + projects/lookuplet/debian/menu | 2 + projects/lookuplet/debian/rules | 68 +++++++++++++++++++++++++ 8 files changed, 128 insertions(+) create mode 100644 projects/lookuplet/debian/README.debian create mode 100644 projects/lookuplet/debian/changelog create mode 100644 projects/lookuplet/debian/control create mode 100644 projects/lookuplet/debian/copyright create mode 100644 projects/lookuplet/debian/dirs create mode 100644 projects/lookuplet/debian/docs create mode 100644 projects/lookuplet/debian/menu create mode 100755 projects/lookuplet/debian/rules diff --git a/projects/lookuplet/debian/README.debian b/projects/lookuplet/debian/README.debian new file mode 100644 index 00000000..76ffbc73 --- /dev/null +++ b/projects/lookuplet/debian/README.debian @@ -0,0 +1,14 @@ +lookuplet +--------- + +This utility provides a unified interface for looking things up. + +When invoked, the lookuplet grabs the current selection and sticks it into +a text field for potential editing. You then press a key combination that +you have previously configured and the text is sent either as an argument +to an application or URL encoded and substituted into a URL which is then +opened with your preferred web browser. + + -- Michael Bayne + +$Id: README.debian,v 1.1 2001/08/17 20:33:53 mdb Exp $ diff --git a/projects/lookuplet/debian/changelog b/projects/lookuplet/debian/changelog new file mode 100644 index 00000000..ce03aec0 --- /dev/null +++ b/projects/lookuplet/debian/changelog @@ -0,0 +1,10 @@ +lookuplet (1.0.0-1) unstable; urgency=low + + * Initial Release. + + -- Michael Bayne Fri, 17 Aug 2001 13:00:58 -0800 + +Local variables: +mode: debian-changelog +add-log-mailing-address: "mdb@samskivert.com" +End: diff --git a/projects/lookuplet/debian/control b/projects/lookuplet/debian/control new file mode 100644 index 00000000..2de1ac14 --- /dev/null +++ b/projects/lookuplet/debian/control @@ -0,0 +1,12 @@ +Source: lookuplet +Section: net +Priority: optional +Maintainer: Michael Bayne +Standards-Version: 3.5.6.0 + +Package: lookuplet +Architecture: any +Depends: ${shlibs:Depends} +Description: Keystroke conscious query launching utility + lookuplet is a graphical utility that allows you to enter query terms and + press predefined key-combinations to launch web queries or applications. diff --git a/projects/lookuplet/debian/copyright b/projects/lookuplet/debian/copyright new file mode 100644 index 00000000..b9322f64 --- /dev/null +++ b/projects/lookuplet/debian/copyright @@ -0,0 +1,19 @@ +lookuplet - a utility for quickly looking up information +Copyright (C) 2001 Michael Bayne + +This 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, or (at your option) any later +version. + +This 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 with +your Debian GNU/Linux system, in /usr/doc/copyright/GPL, or with the +lookuplet source package as the file COPYING. If not, write to the Free +Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +02111-1307, USA. + diff --git a/projects/lookuplet/debian/dirs b/projects/lookuplet/debian/dirs new file mode 100644 index 00000000..5a67e144 --- /dev/null +++ b/projects/lookuplet/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/doc/lookuplet diff --git a/projects/lookuplet/debian/docs b/projects/lookuplet/debian/docs new file mode 100644 index 00000000..1859e18e --- /dev/null +++ b/projects/lookuplet/debian/docs @@ -0,0 +1 @@ +NEWS README diff --git a/projects/lookuplet/debian/menu b/projects/lookuplet/debian/menu new file mode 100644 index 00000000..2325b593 --- /dev/null +++ b/projects/lookuplet/debian/menu @@ -0,0 +1,2 @@ +?package(lookuplet):needs=X11 section=Apps/Net\ + title="lookuplet" command="/usr/bin/lookuplet" diff --git a/projects/lookuplet/debian/rules b/projects/lookuplet/debian/rules new file mode 100755 index 00000000..665e2783 --- /dev/null +++ b/projects/lookuplet/debian/rules @@ -0,0 +1,68 @@ +#!/usr/bin/make -f +# Made with the aid of dh_make, by Craig Small +# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess. +# Some lines taken from debmake, by Cristoph Lameter. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +build: build-stamp +build-stamp: + dh_testdir + + ./configure --prefix=/usr + # Add here commands to compile the package. + make CFLAGS="-O2 -g -Wall" + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) distclean + rm -f */.deps/* config.cache config.log config.status + + dh_clean + +# Build architecture-independent files here. +binary-indep: build +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build +# dh_testversion + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the files into debian/tmp + DESTDIR=`pwd`/debian/tmp $(MAKE) install + + dh_installdocs + dh_installexamples + dh_installmenu +# dh_installinit +# dh_installcron +# dh_installmanpages + dh_undocumented lookuplet.1 + dh_installchangelogs + dh_strip + dh_compress + dh_fixperms + dh_suidregister + dh_installdeb + dh_shlibdeps + dh_gencontrol +# dh_makeshlibs + dh_md5sums + dh_builddeb + +source diff: + @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary