Commit 04f7a6fe authored by Christoph Berg's avatar Christoph Berg

Import Upstream version 3.0.2

parent beda7ce1
version 3.0.2 / 2012.06.18
New version. You won't find it in git repo, but only in SourceForge download
area and on Debian webpage.
This is a special release with two goals related to Debian packaging:
debian/:
- fixing Debian's FTBFS bug #676752
- removing debian/ from unixcw_X.Y.Z.orig.tar.gz. Contents of debian/ can be
found in separately provided unixcw_X.Y.Z-W.debian.tar.gz
Thanks to Kamal Mostafa for patiently explaining to me some details of
Debian/Ubuntu packaging.
----------------------------------------------------------------------------
version 3.0.1 / 2012.01.08
Thanks to Kamal Mostafa for providing patches that are the reason
......
version 3.0.2 / 2012.06.18
New version. You won't find it in git repo nor in SourceForge download area.
This is a special release with two goals related to Debian packaging:
debian/:
- fixing Debian's FTBFS bug #676752
- removing debian/ from unixcw_X.Y.Z.orig.tar.gz. Contents of debian/ can be
found in separately provided unixcw_X.Y.Z-W.debian.tar.gz
Thanks to Kamal Mostafa for patiently explaining to me some details of
Debian/Ubuntu packaging.
----------------------------------------------------------------------------
version 3.0.1 / 2012.01.08
Thanks to Kamal Mostafa for providing patches that are the reason
for 3.0.1 release.
Content of upstream package unixcw-3.0.1 is approximately the same as of
Debian source package unixcw_3.0-5.
debian/:
- added proper "Section" field in control file;
- fixed library dependencies in control file;
- fixed "Replaces:"/"Conflicts:" fields in control file;
- fixed Debian bug #653411: changes in *.preinst files to remove
dangling symlinks left by old packaging (suggested by Bob Proulx);
general:
- fixed library dependencies in "configure" script;
- fixed library dependencies provided by libcw.pc file;
libcw:
- proper detection of capabilities of liboss-salsa-dev
(kfreebsd's libasound implementation); libcw now can be built
properly on Debian/kFreeBSD;
- fixing awk scripts producing man pages: the awk scripts now
work with mawk too;
cwcp:
- fixed list of libraries in Makefile;
----------------------------------------------------------------------------
version 3.0 / 2011.12.13
Thanks to Simon Baldwin for creating this software in the
first place, and to Kamal Mostafa for helping me with packaging
unixcw 3.0 for Debian.
unixcw:
- Changed major version of unixcw package to '3'. Changes listed
below probably justify this.
- New main developer: Kamil Ignacak <acerion@wp.pl>
- New website: http://unixcw.sourceforge.net
- Scripts building Debian packages now build 'libcw3' package
instead of 'unixcw' package, and 'libcw3-dev' Debian package instead
of 'unixcw-dev' Debian package.
libcw:
- Renamed 'cwlib' part of unixcw package to 'libcw'.
- Renamed library's header file from cwlib.h to libcw.h.
- Changed library's soname from 0 to 3 (/usr/lib/libcw.so.3.0.0
/ libcw.so.3).
- Added support for ALSA. OSS is still the default backend.
- As a consequence, libasound2 is a new dependency. There is no
possibility (yet) to disable or reconfigure this at build time.
It is possible to select sound backend in applications that use
libcw.
- Added implicit dependency on pthread library (which is a part
of libc library, so it should be available on target system by
default). Main routine generating sine wave operates as a separate
thread.
- Added actual slopes to dot and dash sounds produced by the
library. This should result in less of (or even none) audible
pops. Unfortunately current implementation makes dots and dashes
a tiny bit longer than they would be without the slopes. The
difference is not significant, but I plan to re-implement it
in the future to make this feature 100% correct.
The slopes are linear.
- Rewritten management of sound volume so that the library doesn't
use OSS mixer. This should resolve Debian bug #567394
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=567394).
Code that controls volume level is common for OSS and ALSA.
- Since libcw doesn't touch the mixer device anymore, then Debian
bug #567392 should be resolved as well
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=567392).
- Added code that attempts to discover proper audio buffer size
for both OSS and ALSA. This should resolve Debian bug #567395
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=567395).
- Fix of Debian bug #567395 should also solve Debian bug #567397
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=567397).
- Changed library's API. There will be more API changes in 3.1, so
consider current API to be unstable.
- Changed volume change step from 5% to 1%.
- Changed frequency change step from 100Hz to 20Hz.
- The library no longer can produce sound on console buzzer and on
sound card at the same time.
- The library knows default names of OSS, ALSA and console buzzer
devices. The names are used to open sound devices if no other
names are provided explicitly as function arguments.
- Introduced symbolic names of int values returned by most of
library's function: CW_FAILURE / CW_SUCCESS.
xcwcp:
- Ported xcwcp to QT4. This should resolve Debian bug #604386
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=604386).
- Added auto-detection of QT4 headers and QT4 moc by build files.
#!/bin/bash
PACKAGE="unixcw"
VERSION="3.0.1"
# setup
REPO=`pwd`
cd ../../build
BUILD=`pwd`
echo "REPO = " $REPO
echo "BUILD = " $BUILD
if [ "$REPO" == x"" ]; then
echo "REPO is empty"
exit
elif [ "$REPO" == x"/" ]; then
echo "REPO is root directory"
exit
fi
if [ "$BUILD" == x"" ]; then
echo "BUILD is empty"
exit
elif [ "$BUILD" == x"/" ]; then
echo "BUILD is root directory"
exit
fi
# clean up old files, prepare brand new, empty dir
rm -rf $BUILD/*
# prepare $PACKAGE_X.Y.Z.debian.tar.gz
cd $REPO
cp -rp debian $BUILD/
cd $BUILD
tar cvfz $PACKAGE\_$VERSION.debian.tar.gz debian
rm -rf debian
cd $REPO
cp -rp ../$PACKAGE $BUILD
cd $BUILD/$PACKAGE/
./_clean_up distclean
rm -rf _build_debian _clean_up
rm -rf .git
cd $BUILD
mv $PACKAGE $PACKAGE-$VERSION
tar cvfz $PACKAGE\_$VERSION.orig.tar.gz $PACKAGE-$VERSION --exclude=debian
# go to final build dir and start building Debian package
cd $PACKAGE-$VERSION
echo ""
echo `pwd`
debuild -us -uc
This diff is collapsed.
This diff is collapsed.
unixcw for Debian
-----------------
As of version 3.0, this package is split up into
- shared library (libcw3)
- development files (libcw3-dev)
- command line frontend (cw)
- ncurses frontend (cwcp)
- Qt frontend (xcwcp)
Kamil Ignacak <acerion@wp.pl>, Tue, 29 Nov 2011, 20:49:32 +0100
As of version 2.0, this package has been split up into
- shared library (unixcw)
- development files (unixcw-dev)
- command line frontend (cw)
- ncurses frontend (cwcp)
- Qt frontend (xcwcp)
Joop Stakenborg <pa3aba@debian.org>, Wed, 20 Jun 2001 09:44:23 +0200
This diff is collapsed.
Source: unixcw
Section: hamradio
Priority: optional
Maintainer: Debian Hamradio Maintainers <debian-hams@lists.debian.org>
Uploaders: Kamil Ignacak <acerion@wp.pl>, Kamal Mostafa <kamal@whence.com>
Standards-Version: 3.9.2
Build-Depends: debhelper (>=7), libasound2-dev, libqt4-dev, libncurses5-dev, po-debconf, autotools-dev, mawk|gawk
Homepage: http://unixcw.sourceforge.net/
Package: libcw3
Section: libs
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Replaces: unixcw
Conflicts: unixcw
Recommends: cw | cwcp | xcwcp
Description: Shared library for Morse programs
Shared library files for cw, cwcp and xcwcp programs.
The library handles Morse code signals and generates sound
on console buzzer or sound card through OSS or ALSA.
Package: libcw3-dev
Section: libdevel
Architecture: any
Depends: libcw3 (= ${binary:Version}), ${misc:Depends}, libasound2-dev
Replaces: unixcw-dev
Conflicts: unixcw-dev
Description: Development files for Morse programs
Static library, headers and manual page for development of
programs that handle (i.e. send and receive) Morse code.
Package: cw
Architecture: any
Depends: libcw3, ${shlibs:Depends}, ${misc:Depends}, debconf|debconf-2.0
Description: Morse code tutor with command line user interface
The package provides two executables:
* cw - simple command line application that converts
keyboard keys to Morse code that can be heard through
console buzzer or sound card.
* cwgen - program that generates groups of random
characters for Morse code practice, that can be
piped to cw program.
.
Package also includes examples files with embedded commands.
These commands can be used to change speed, tone, spacing
between characters and much more. The files have 'cw'
extension.
Package: cwcp
Architecture: any
Depends: libcw3, ${shlibs:Depends}, ${misc:Depends}, debconf|debconf-2.0
Description: Morse code tutor, text user interface
Interactive Morse code tutor with text-based (ncurses) user
interface. It allows menu selection from a number of sending
modes, and also permits character sounding options, such as
the tone pitch, and sending speed, to be varied from the
keyboard using a full-screen user interface.
Package: xcwcp
Architecture: any
Depends: libcw3, ${shlibs:Depends}, ${misc:Depends}, debconf|debconf-2.0
Description: Morse code tutor, X Window user interface
Interactive Morse code tutor with X Window-based (QT4)
interface. It lets you choose from a number of options for
practice, including sending random characters, random words,
and characters from the keyboard. It will also receive Morse
code that you send using the keyboard or mouse as a Morse
keyer, and display the characters it sees.
This package was debianized by Joop Stakenborg pa3aba@debian.org on
Wed, 20 Jun 2001 09:44:23 +0200.
Some files that are a standard part of build system, and that
are located in root directory of source package, may have
different copyright holders and different licenses than listed
below. Copyright/license of rest of the files in unixcw source
package follows:
Upstream-Name: unixcw
Upstream-Contact: Kamil Ignacak <acerion@wp.pl>
Source: http://unixcw.sourceforge.net
Files: *
Copyright: Copyright (C) 2001-2006 Simon Baldwin (simon_baldwin@yahoo.com)
Copyright (C) 2011-2012 Kamil Ignacak (acerion@wp.pl)
License: GPL-2+
This program 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 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 program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
.
On Debian systems, the full text of the GNU General Public
License version 2 can be found in the file
`/usr/share/common-licenses/GPL-2'.
#!/bin/sh
set -e
. /usr/share/debconf/confmodule
db_input medium cw/suid_bit || true
db_go
usr/bin/cw
usr/bin/cwgen
usr/share/man/man1/cw.*
usr/share/man/man1/cwgen.*
usr/share/cw
usr/share/doc/cw
#!/bin/sh
#DEBHELPER#
set -e
[ "$1" = configure ] || exit 0
. /usr/share/debconf/confmodule
db_get cw/suid_bit
if [ "$RET" = "true" ]; then
if !( `dpkg-statoverride --list | grep -q bin/cw$` ); then
dpkg-statoverride --add --update root root 4755 /usr/bin/cw
fi
fi
exit 0
#!/bin/sh
#DEBHELPER#
set -e
if [ "$1" = purge -a -e /usr/share/debconf/confmodule ]; then
. /usr/share/debconf/confmodule
db_purge
fi
if ( `dpkg-statoverride --list | grep -q bin/cw$` ); then
dpkg-statoverride --remove /usr/bin/cw
fi
#!/bin/sh
cp -f ../../debian/cw.config DEBIAN/config
cp -f ../../debian/cw.templates DEBIAN/templates
#!/bin/sh
#DEBHELPER#
set -e
DOCLINK=/usr/share/doc/cw
# Previously in version 2.3-13 $DOCLINK was a symlink to /usr/share/doc/unixcw.
# Removing this symlink must be handled explicitly so that
# the new version of the package can be placed into a real directory
# there otherwise the symlink will be preserved and the doc files
# will be missing after the install. This is required to upgrade
# from Squeeze to Wheezy. This may be removed after Wheezy.
if [ -h $DOCLINK ]; then
rm -f $DOCLINK
fi
Template: cw/suid_bit
Type: boolean
Default: false
_Description: Make cw setuid root?
cw can produce sounds using console buzzer, but this feature
is available only if cw is run by root user.
You can achieve this by setting setuid bit here (not recommended)
or by running cw with sudo (also not recommended). You can also
use soundcard output instead of console buzzer output and
eliminate this problem completely.
#!/bin/sh
set -e
. /usr/share/debconf/confmodule
db_input medium cwcp/suid_bit || true
db_go
usr/bin/cwcp
usr/share/man/man1/cwcp*
usr/share/doc/cwcp
?package(cwcp):needs="text" section="Applications/Amateur Radio"\
title="cwcp" command="/usr/bin/cwcp"
#!/bin/sh
#DEBHELPER#
set -e
[ "$1" = configure ] || exit 0
. /usr/share/debconf/confmodule
db_get cwcp/suid_bit
if [ "$RET" = "true" ]; then
if !( `dpkg-statoverride --list | grep -q bin/cwcp` ); then
dpkg-statoverride --add --update root root 4755 /usr/bin/cwcp
fi
fi
#!/bin/sh
#DEBHELPER#
set -e
if [ "$1" = purge -a -e /usr/share/debconf/confmodule ]; then
. /usr/share/debconf/confmodule
db_purge
fi
if ( `dpkg-statoverride --list | grep -q bin/cwcp` ); then
dpkg-statoverride --remove /usr/bin/cwcp
fi
#!/bin/sh
cp -f ../../debian/cwcp.config DEBIAN/config
cp -f ../../debian/cwcp.templates DEBIAN/templates
#!/bin/sh
#DEBHELPER#
set -e
DOCLINK=/usr/share/doc/cwcp
# Previously in version 2.3-13 $DOCLINK was a symlink to /usr/share/doc/unixcw.
# Removing this symlink must be handled explicitly so that
# the new version of the package can be placed into a real directory
# there otherwise the symlink will be preserved and the doc files
# will be missing after the install. This is required to upgrade
# from Squeeze to Wheezy. This may be removed after Wheezy.
if [ -h $DOCLINK ]; then
rm -f $DOCLINK
fi
Template: cwcp/suid_bit
Type: boolean
Default: false
_Description: Make cwcp setuid root?
cwcp can produce sounds using console buzzer, but this feature
is available only if cwcp is run by root user.
You can achieve this by setting setuid bit here (not recommended)
or by running cwcp with sudo (also not recommended). You can also
use soundcard output instead of console buzzer output and
eliminate this problem completely.
/* XPM */
static const char * icon_mini_xcwcp_xpm[] = {
"32 32 4 1",
" c None",
". c #FE0000",
"+ c #FF0000",
"@ c #000000",
" ",
" ",
" ",
" ",
" ..++.. +..+++ ",
" +.++++ .++..+ ",
" .+++.+ ..+.+. ",
" .+...+ .....+ ",
" ..++++ .+++.+ ",
" .+++.+ ..++.+ ",
" ",
" ",
" @@@@@@ @@@@@@ ",
" @@@@@@ @@@@@@ ",
" @@@@@@ @@@@@@ ",
" @@@@@@ @@@@@@ ",
" @@@@@@ @@@@@@ ",
" @@@@@@ @@@@@@ ",
" @@@@@@ @@@@@@ ",
" @@@@@@ @@@@@@ ",
" @@@@@@@ @@@@@@@ ",
" @@@@@@@@ @@@@@@@@ ",
" @@@@@@@@@@@@@@@@@@@@ ",
" @@@@@@@@@@@@@@@@@@ ",
" @@@@@@@@@@@@@@@@ ",
" @@@@@@@@@@@@@@ ",
" @@@@@@@@@@@@ ",
" @@@@@@@@ ",
" ",
" ",
" ",
" "};
This diff is collapsed.
usr/lib/libcw.a
usr/include/libcw.h
usr/share/man/man3
usr/share/doc/libcw3-dev
usr/lib/pkgconfig/libcw.pc
usr/share/doc/libcw3
usr/lib/libcw.so.3.0.1
usr/lib/libcw.so.3
usr/share/man/man7/cw.7.gz
[type: gettext/rfc822deb] cwcp.templates
[type: gettext/rfc822deb] cw.templates
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: templates\n"
"Report-Msgid-Bugs-To: unixcw@packages.debian.org\n"
"POT-Creation-Date: 2011-12-01 21:00+0100\n"
"PO-Revision-Date: 2009-12-16 22:03+0100\n"
"Last-Translator: marquinos <marcoscostales@gmail.com>\n"
"Language-Team: asturian <alministradores@softastur.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-Language: asturian\n"
#. Type: boolean
#. Description
#: ../cwcp.templates:1001
#, fuzzy
#| msgid "Make cwcp setuid root"
msgid "Make cwcp setuid root?"
msgstr "Facer cwcp setuid root"
#. Type: boolean
#. Description
#: ../cwcp.templates:1001
msgid ""
"cwcp can produce sounds using console buzzer, but this feature is available "
"only if cwcp is run by root user. You can achieve this by setting setuid bit "
"here (not recommended) or by running cwcp with sudo (also not recommended). "
"You can also use soundcard output instead of console buzzer output and "
"eliminate this problem completely."
msgstr ""
#. Type: boolean
#. Description
#: ../cw.templates:1001
#, fuzzy
#| msgid "Make cw setuid root"
msgid "Make cw setuid root?"
msgstr "Facer cw setuid root"
#. Type: boolean
#. Description
#: ../cw.templates:1001
msgid ""
"cw can produce sounds using console buzzer, but this feature is available "
"only if cw is run by root user. You can achieve this by setting setuid bit "
"here (not recommended) or by running cw with sudo (also not recommended). "
"You can also use soundcard output instead of console buzzer output and "
"eliminate this problem completely."
msgstr ""
#~ msgid ""
#~ "The cwcp program only runs correctly as the root user. One way of doing "
#~ "this is to make the program setuid root. This is generally a bad idea as "
#~ "there are better ways, such as using the sudo program, to do this. "
#~ "However, you have the option here of making it setuid root if you like."
#~ msgstr ""
#~ "El programa cwcp namái s'executa correcho como l'usuariu root. Un mou de "
#~ "facelo ye facer el programa setuid root. Esto ye xeneralmente una mala "
#~ "idega, y hai otres delles y meyores, como por exemplu usar el programa "
#~ "sudo. Sicasí tienes la opción de facelo equí con setuid root si te presta "
#~ "más."
#~ msgid ""
#~ "The cw program only runs correctly as the root user. One way of doing "
#~ "this is to make the program setuid root. This is generally a bad idea as "
#~ "there are better ways, such as using the sudo program, to do this. "
#~ "However, you have the option here of making it setuid root if you like."
#~ msgstr ""
#~ "El programa cw namái s'executa correcho como l'usuariu root. Un mou de "
#~ "facelo ye facer el programa setuid root. Esto ye xeneralmente una mala "
#~ "idega, y hai otres delles y meyores, como por exemplu usar el programa "
#~ "sudo. Sicasí tienes la opción de facelo equí con setuid root si te presta "
#~ "más."
# translation of cs.po to Czech
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# Vítězslav Kotrla <vitezslav.kotrla@gmail.com>, 2009.
#
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: unixcw@packages.debian.org\n"
"POT-Creation-Date: 2011-12-01 21:00+0100\n"
"PO-Revision-Date: 2009-06-30 06:32+0200\n"
"Last-Translator: Vítězslav Kotrla <vitezslav.kotrla@gmail.com>\n"
"Language-Team: Czech <debian-l10n-czech@lists.debian.org>\n"
"Language: cs\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: KBabel 1.11.4\n"
#. Type: boolean
#. Description
#: ../cwcp.templates:1001
#, fuzzy
#| msgid "Make cwcp setuid root"
msgid "Make cwcp setuid root?"
msgstr "Spouštět cwcp s oprávněními superuživatele (setuid root)"
#. Type: boolean
#. Description
#: ../cwcp.templates:1001
msgid ""
"cwcp can produce sounds using console buzzer, but this feature is available "
"only if cwcp is run by root user. You can achieve this by setting setuid bit "
"here (not recommended) or by running cwcp with sudo (also not recommended). "
"You can also use soundcard output instead of console buzzer output and "
"eliminate this problem completely."
msgstr ""
#. Type: boolean
#. Description
#: ../cw.templates:1001
#, fuzzy
#| msgid "Make cw setuid root"
msgid "Make cw setuid root?"
msgstr "Spouštět cwcp s oprávněními superuživatele (setuid root)"
#. Type: boolean
#. Description
#: ../cw.templates:1001
msgid ""
"cw can produce sounds using console buzzer, but this feature is available "
"only if cw is run by root user. You can achieve this by setting setuid bit "
"here (not recommended) or by running cw with sudo (also not recommended). "
"You can also use soundcard output instead of console buzzer output and "
"eliminate this problem completely."
msgstr ""
#~ msgid ""
#~ "The cwcp program only runs correctly as the root user. One way of doing "
#~ "this is to make the program setuid root. This is generally a bad idea as "
#~ "there are better ways, such as using the sudo program, to do this. "
#~ "However, you have the option here of making it setuid root if you like."
#~ msgstr ""
#~ "Program cwcp správně pracuje pouze tehdy, pokud je spuštěn s oprávněními "
#~ "superuživatele (root). Jeden ze způsobů, jak to zajistit, je nastavit "
#~ "spuštění programu s oprávněními vlastníka (setuid root). To není úplně "
#~ "správný spůsob, protože existují vhodnější řešení, například použití "
#~ "příkazu sudo. V každém případě máte možnost setuid root použít, pokud to "
#~ "opravdu chcete udělat."
#~ msgid ""
#~ "The cw program only runs correctly as the root user. One way of doing "
#~ "this is to make the program setuid root. This is generally a bad idea as "
#~ "there are better ways, such as using the sudo program, to do this. "
#~ "However, you have the option here of making it setuid root if you like."
#~ msgstr ""
#~ "Program cwcp správně pracuje pouze tehdy, pokud je spuštěn s oprávněními "
#~ "superuživatele (root). Jeden ze způsobů, jak to zajistit, je nastavit "
#~ "spuštění programu s oprávněními vlastníka (setuid root). To není úplně "
#~ "správný spůsob, protože existují vhodnější řešení, například použití "
#~ "příkazu sudo. V každém případě máte možnost setuid root použít, pokud to "
#~ "opravdu chcete udělat."