--- lash-0.5.0.orig/debian/changelog +++ lash-0.5.0/debian/changelog @@ -0,0 +1,7 @@ +lash (0.5.0-1) unstable; urgency=low + + * Initial release + * Should replace the ladcca system in the future. + + -- Guenter Geiger (Debian/GNU) Wed, 1 Mar 2006 13:01:05 +0100 + --- lash-0.5.0.orig/debian/compat +++ lash-0.5.0/debian/compat @@ -0,0 +1 @@ +4 --- lash-0.5.0.orig/debian/watch +++ lash-0.5.0/debian/watch @@ -0,0 +1,22 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# See uscan(1) for format + +# Compulsory line, this is a version 3 file +version=3 + +# Uncomment to examine a Webpage +# +#http://www.example.com/downloads.php lash-(.*)\.tar\.gz + +# Uncomment to examine a Webserver directory +http://download.savannah.gnu.org/releases/lash/lash-(.*)\.tar\.gz + +# Uncommment to examine a FTP server +#ftp://ftp.example.com/pub/lash-(.*)\.tar\.gz debian uupdate + +# Uncomment to use Roland's hack for sourceforge based projects - YMMV! +#http://people.debian.org/~lolando/sfdlr.php?project=lash lash-([\d.]*).tar.gz + + --- lash-0.5.0.orig/debian/lash.1 +++ lash-0.5.0/debian/lash.1 @@ -0,0 +1,75 @@ +.\" 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 LASH 1 "March 1, 2006" +.\" 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 +lash-examples \- The +.B Linux Audio Session Handler +example clients +.SH SYNOPSIS +.B lash_control lash_gtk_client lash_panel lash_save_button lash_save_button_2 lash_simple_client lash_synth +.br +.SH DESCRIPTION +This manual page describes the LASH example clients. +.TP +.B lash_control +is a commandline interface fo controlling the lashd +server. The commandline interface has support for a "help" command. +.TP +.B lash_gtk_client +an example client based on the gtk toolkit. +.TP +.B lash_panel +is a graphical interface for controlling the LASH server lashd. +.TP +.B lash_save_button +is an example client, implementing the LASH save functionality. +.TP +.B lash_save_button_2 +is another button for saving LASH states. +.TP +.B lash_simple_client +is a very basic LASH client. Shows how applications +are supposed to integrate LASH funcionality. +.TP +.B lash_synth +is a small synthesizer integrating LASH session handling. +.PP +.\" TeX users may be more comfortable with the \fB\fP and +.\" \fI\fP escape sequences to invode bold face and italics, +.\" respectively. +.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. +For a complete description, see the Info files. +.TP +.B \-h, \-\-help +Show summary of options. +.TP +.B \-v, \-\-version +Show version of program. +.SH SEE ALSO +.BR lashd (1) + + +The programs are documented fully by +.IR " LASH Audio Session Handler Reference Manual" , +available via the Info system (lash-manual). +.SH AUTHOR +LASH was written by Bob Ham. +.PP +This manual page was written by Guenter Geiger, for the Debian project (but may be used by others). --- lash-0.5.0.orig/debian/dirs +++ lash-0.5.0/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/sbin --- lash-0.5.0.orig/debian/lash-doc.install +++ lash-0.5.0/debian/lash-doc.install @@ -0,0 +1 @@ +debian/tmp/usr/share/info/* --- lash-0.5.0.orig/debian/lash-bin.menu +++ lash-0.5.0/debian/lash-bin.menu @@ -0,0 +1,4 @@ +?package(lash-bin):needs="X11" \ + section="Apps/Sound"\ + title="LASH Control" \ + command="/usr/bin/lash_gtk_client" --- lash-0.5.0.orig/debian/control +++ lash-0.5.0/debian/control @@ -0,0 +1,57 @@ +Source: lash +Section: sound +Priority: optional +Maintainer: Guenter Geiger (Debian/GNU) +Build-Depends: debhelper (>> 4.0.0), cdbs, libjack0.100.0-dev, libasound2-dev, libreadline5-dev, uuid-dev, libgtk2.0-dev, libxml2-dev +Standards-Version: 3.6.2 + +Package: liblash-dev +Section: libdevel +Architecture: any +Depends: liblash (= ${Source-Version}), uuid-dev +Description: Development files for LASH + LASH is a session management system for JACK and ALSA audio + applications on GNU/Linux. + . + This package is needed if you want to compile applications that + use the LASH system for audio session management. + +Package: lashd +Section: sound +Architecture: any +Depends: ${shlibs:Depends} +Description: LASH server + LASH is a session management system for JACK and ALSA audio + applications on GNU/Linux. + . + This package is needed if you want to save and restore LASH audio sessions. + +Package: lash-bin +Section: sound +Architecture: any +Depends: lashd, ${shlibs:Depends} +Description: LASH example clients + LASH is a session management system for JACK and ALSA audio + applications on GNU/Linux. + . + LASH client applications, the collection includes the lash_gtk_client, + a graphical user interface to control LASH sessions. + +Package: liblash +Section: libs +Architecture: any +Depends: ${shlibs:Depends} ${misc:Depends} +Description: LASH shared library files + LASH is a session management system for JACK and ALSA audio + applications on GNU/Linux. + . + Dynamic library used by the LASH system + +Package: lash-doc +Section: doc +Architecture: all +Description: LASH documentation + LASH is a session management system for JACK and ALSA audio + applications on GNU/Linux. + . + This packages contains the LASH user manual. --- lash-0.5.0.orig/debian/lash-bin.manpages +++ lash-0.5.0/debian/lash-bin.manpages @@ -0,0 +1 @@ +debian/lash.1 --- lash-0.5.0.orig/debian/lash-dev.dirs +++ lash-0.5.0/debian/lash-dev.dirs @@ -0,0 +1,2 @@ +usr/lib +usr/include --- lash-0.5.0.orig/debian/rules +++ lash-0.5.0/debian/rules @@ -0,0 +1,11 @@ +#!/usr/bin/make -f + +DEB_TAR_SRCDIR := lash-0.5.0 + +include /usr/share/cdbs/1/rules/tarball.mk +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +DEB_CONFIGURE_EXTRA_FLAGS := --disable-serv-inst + --- lash-0.5.0.orig/debian/copyright +++ lash-0.5.0/debian/copyright @@ -0,0 +1,27 @@ +This package was debianized by Guenter Geiger (Debian/GNU) on +Wed, 1 Mar 2006 13:01:05 +0100. + +The homepage of LASH is http://www.nongnu.org/lash/ + +Original Author: + Bob Ham + +Maintainer (as of Lash 0.5.0): + Dave Robillard + +Copyright (C) 2002, 2003 Robert Ham +Copyright(C) 2005 Dave Robillarrd + +License(s): + +Distributed under GPL (see /usr/share/common-licenses/GPL) +The file lash/list.h is under the LGPL (see /usr/share/common-licenses/LGPL) + +Documentation license: +Permission is granted to copy, distribute and/or modify +under the terms of the GNU Free Documentation License, Version 1.2 +or any later version published by the Free Software Foundation; + + + + --- lash-0.5.0.orig/debian/lashd.install +++ lash-0.5.0/debian/lashd.install @@ -0,0 +1 @@ +debian/tmp/usr/bin/lashd* --- lash-0.5.0.orig/debian/lash-bin.install +++ lash-0.5.0/debian/lash-bin.install @@ -0,0 +1 @@ +debian/tmp/usr/bin/lash_* --- lash-0.5.0.orig/debian/patches/00_service.patch +++ lash-0.5.0/debian/patches/00_service.patch @@ -0,0 +1,54 @@ +diff -ruN lash-0.5.0-old/lash/config.h lash-0.5.0/lash/config.h +--- lash-0.5.0-old/lash/config.h 2005-09-15 10:15:33.000000000 +0200 ++++ lash-0.5.0/lash/config.h 2006-03-08 18:29:19.000000000 +0100 +@@ -27,6 +27,8 @@ + + # include + ++#define LASH_PORT "14541" ++ + # ifdef __cplusplus + extern "C" { + # endif +diff -ruN lash-0.5.0-old/lashd/conn_mgr.c lash-0.5.0/lashd/conn_mgr.c +--- lash-0.5.0-old/lashd/conn_mgr.c 2005-09-15 10:15:30.000000000 +0200 ++++ lash-0.5.0/lashd/conn_mgr.c 2006-03-09 11:17:29.000000000 +0100 +@@ -184,7 +184,7 @@ + hints.ai_socktype = SOCK_STREAM; + hints.ai_flags = AI_PASSIVE; + +- err = getaddrinfo(NULL, "lash", &hints, &addrs); ++ err = getaddrinfo(NULL, LASH_PORT, &hints, &addrs); + if (err) { + fprintf(stderr, "%s: could not look up service name: %s\n", + __FUNCTION__, gai_strerror(err)); +diff -ruN lash-0.5.0-old/liblash/comm.c lash-0.5.0/liblash/comm.c +--- lash-0.5.0-old/liblash/comm.c 2005-09-15 10:15:30.000000000 +0200 ++++ lash-0.5.0/liblash/comm.c 2006-03-08 18:22:34.000000000 +0100 +@@ -135,7 +135,7 @@ + lash_comm_event_t connect_event; + int err; + +- err = lash_open_socket(&client->socket, server, "lash"); ++ err = lash_open_socket(&client->socket, server, service); + if (err) { + fprintf(stderr, "%s: could not create server connection\n", + __FUNCTION__); +diff -ruN lash-0.5.0-old/liblash/lash.c lash-0.5.0/liblash/lash.c +--- lash-0.5.0-old/liblash/lash.c 2005-09-15 10:15:30.000000000 +0200 ++++ lash-0.5.0/liblash/lash.c 2006-03-09 11:22:55.000000000 +0100 +@@ -166,7 +166,13 @@ + cstr = lash_args_get_server(args); + err = lash_comm_connect_to_server(client, + cstr ? cstr : "localhost", +- "lash", connect_params); ++ LASH_PORT, connect_params); ++ if (err) ++ err = lash_comm_connect_to_server(client, ++ cstr ? cstr : "localhost", ++ LASH_PORT, ++ connect_params); ++ + lash_connect_params_destroy(connect_params); + if (err) { + fprintf(stderr, --- lash-0.5.0.orig/debian/lash-bin.links +++ lash-0.5.0/debian/lash-bin.links @@ -0,0 +1,7 @@ +usr/share/man/man1/lash.1.gz usr/share/man/man1/lash_control.1.gz +usr/share/man/man1/lash.1.gz usr/share/man/man1/lash_gtk_client.1.gz +usr/share/man/man1/lash.1.gz usr/share/man/man1/lash_panel.1.gz +usr/share/man/man1/lash.1.gz usr/share/man/man1/lash_save_button.1.gz +usr/share/man/man1/lash.1.gz usr/share/man/man1/lash_save_button_2.1.gz +usr/share/man/man1/lash.1.gz usr/share/man/man1/lash_simple_client.1.gz +usr/share/man/man1/lash.1.gz usr/share/man/man1/lash_synth.1.gz --- lash-0.5.0.orig/debian/liblash.install +++ lash-0.5.0/debian/liblash.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/lib*.so.* --- lash-0.5.0.orig/debian/liblash-dev.install +++ lash-0.5.0/debian/liblash-dev.install @@ -0,0 +1,6 @@ +debian/tmp/usr/include/* +debian/tmp/usr/lib/lib*.a +debian/tmp/usr/lib/lib*.so +debian/tmp/usr/lib/pkgconfig/* +debian/tmp/usr/lib/*.la +debian/tmp/usr/share/pkgconfig/* --- lash-0.5.0.orig/lash-0.5.0.tar.gz.cdbs-config_list +++ lash-0.5.0/lash-0.5.0.tar.gz.cdbs-config_list @@ -0,0 +1,5 @@ +lash-0.5.0/lash/config.h +lash-0.5.0/liblash/config.c +lash-0.5.0/config.guess +lash-0.5.0/config.sub +lash-0.5.0/config.h.in