debian/0000755000000000000000000000000012147145433007172 5ustar debian/watch0000644000000000000000000000013012143453632010214 0ustar version=3 http://sf.net/sweep/sweep-(.+)\.(?:zip|tgz|tbz2|txz|tar\.gz|tar\.bz2|tar\.xz) debian/rules0000755000000000000000000000402212147144174010251 0ustar #!/usr/bin/make -f DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) CFLAGS := $(shell dpkg-buildflags --get CFLAGS) CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS) LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) CFLAGS += -Wall # if this is a linux-any architecture, give no option # (currently the only way to enable alsa (--enable-alsa disables it)) # otherwise, give --disable-alsa, so configure succeeds without libasound ALSA_FLAGS := $(shell dpkg-architecture -ilinux-any || printf "%s" "--disable-alsa") ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) else CROSS= --build $(DEB_BUILD_GNU_TYPE) endif clean: dh_testdir dh_testroot rm -f build-stamp rm -f config.guess config.sub rm -f doc/sweep.1 [ ! -f Makefile ] || $(MAKE) distclean dh_autoreconf_clean dh_clean config.status: configure dh_testdir dh_autoreconf ./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man \ $(ALSA_FLAGS) \ CPPFLAGS='$(CPPFLAGS)' CFLAGS='$(CFLAGS)' LDFLAGS='$(LDFLAGS)' build-indep: build-arch: build-stamp build: build-stamp build-stamp: config.status $(MAKE) touch build-stamp install: build-stamp dh_testdir dh_testroot dh_prep dh_installdirs $(MAKE) prefix=$(CURDIR)/debian/sweep/usr install mkdir -p debian/sweep-dev/usr mv debian/sweep/usr/include debian/sweep-dev/usr binary: binary-arch binary-indep binary-arch: install dh_testdir -a dh_testroot -a dh_installchangelogs -a ChangeLog dh_installdocs -a dh_install -a dh_installmenu -a dh_strip -a dh_compress -a dh_fixperms -a dh_installdeb -a dh_shlibdeps -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a binary-indep: install dh_testdir -i dh_testroot -i dh_installchangelogs -i ChangeLog dh_installdocs -i dh_compress -i dh_fixperms -i dh_installdeb -i dh_gencontrol -i dh_md5sums -i dh_builddeb -i .PHONY: clean build build-arch build-indep install binary binary-arch binary-indep debian/pixmaps/0000755000000000000000000000000011656010244010646 5ustar debian/pixmaps/sweep.xpm0000644000000000000000000001274511656010244012530 0ustar /* XPM */ static char * sweep_xpm[] = { "32 32 211 2", " c None", ". c #131313", "+ c #333333", "@ c #343434", "# c #313131", "$ c #303030", "% c #2F302F", "& c #2F2F2F", "* c #363636", "= c #323232", "- c #2C2C2C", "; c #1A1A1A", "> c #454545", ", c #DFDFDF", "' c #F0F0F0", ") c #ECF0ED", "! c #E2F0E7", "~ c #DBF0E3", "{ c #D9F0E1", "] c #D9EEE0", "^ c #DBEAE1", "/ c #E5EAE7", "( c #EAEAEA", "_ c #E7E7E7", ": c #7B7B7B", "< c #171717", "[ c #000000", "} c #727272", "| c #FFFFFF", "1 c #DDE1DE", "2 c #EAFEF1", "3 c #DFFFEA", "4 c #D7FFE5", "5 c #D4FFE3", "6 c #D6FFE5", "7 c #DDFFE9", "8 c #E9FFF1", "9 c #DAE0DC", "0 c #D3D3D3", "a c #262626", "b c #717171", "c c #8D9891", "d c #6C7D72", "e c #C7F5D7", "f c #C6FFDB", "g c #C2FFD8", "h c #C4FFD9", "i c #CBFFDE", "j c #9FBCAA", "k c #49504C", "l c #FEFFFE", "m c #D4D4D4", "n c #272727", "o c #666666", "p c #F3FFF7", "q c #7B8D81", "r c #37443B", "s c #496151", "t c #AAF1C4", "u c #B0FFCC", "v c #B1FFCD", "w c #78A488", "x c #35443B", "y c #3A443E", "z c #ECFAF1", "A c #252525", "B c #616161", "C c #E8FFF0", "D c #71897A", "E c #334439", "F c #2F4436", "G c #94E8B2", "H c #9EFFC1", "I c #9FFFC2", "J c #527B60", "K c #314438", "L c #37453C", "M c #D9F3E3", "N c #1F1F1F", "O c #606060", "P c #F7FFFA", "Q c #BAEDCC", "R c #456250", "S c #2B4434", "T c #86E9AA", "U c #8BFFB5", "V c #8DFFB6", "W c #497B5B", "X c #2E4637", "Y c #8CBA9D", "Z c #D9FFE7", "` c #F4FFF8", " . c #CFCFCF", ".. c #202020", "+. c #3E3E3E", "@. c #E1EFE6", "#. c #D8FFE6", "$. c #C0FFD7", "%. c #9EEFBB", "&. c #3C664B", "*. c #7BEDA4", "=. c #79FFAA", "-. c #7AFFAA", ";. c #46855D", ">. c #75C091", ",. c #B5FFD0", "'. c #D0FFE1", "). c #EDFFF3", "!. c #919191", "~. c #151515", "{. c #747E78", "]. c #D0FDE0", "^. c #B9FFD2", "/. c #A0FFC2", "(. c #82F2AB", "_. c #73FBA4", ":. c #68FF9F", "<. c #70ED9D", "[. c #91FFB9", "}. c #ACFFCA", "|. c #C9FFDD", "1. c #C8DCCE", "2. c #2E2E2E", "3. c #202421", "4. c #9BC0A7", "5. c #B3FFCF", "6. c #9AFFBF", "7. c #81FFAF", "8. c #6AFFA0", "9. c #57FF94", "0. c #6CFFA1", "a. c #88FFB3", "b. c #A6FFC6", "c. c #BFF8D3", "d. c #515A54", "e. c #090909", "f. c #2F3B33", "g. c #A1E8BB", "h. c #97FFBD", "i. c #7DFFAC", "j. c #63FF9C", "k. c #4AFF8C", "l. c #48FF8A", "m. c #65FF9D", "n. c #84FFB0", "o. c #A2FFC4", "p. c #7EA78D", "q. c #171A1A", "r. c #0B0C0C", "s. c #4E6E59", "t. c #96FBBA", "u. c #84FFB1", "v. c #90E1AD", "w. c #253129", "x. c #161F19", "y. c #6CB185", "z. c #82FFAF", "A. c #6BFFA0", "B. c #58FF95", "C. c #6DFFA2", "D. c #86FAB0", "E. c #41634D", "F. c #090B0B", "G. c #1F3024", "H. c #79E09F", "I. c #76FFA8", "J. c #69FFA0", "K. c #64B080", "L. c #131D17", "M. c #070B09", "N. c #375F45", "O. c #81F8AC", "P. c #7CFFAB", "Q. c #7DE5A2", "R. c #213428", "S. c #0F1811", "T. c #5FA277", "U. c #8EFFB7", "V. c #90FFB8", "W. c #436D52", "X. c #090E09", "Y. c #609373", "Z. c #A1FFC3", "`. c #31483A", " + c #090C0B", ".+ c #719A80", "++ c #B4FFCF", "@+ c #B6FFD0", "#+ c #35483D", "$+ c #0C0E0E", "%+ c #7F9F8A", "&+ c #C7FFDB", "*+ c #C8FFDC", "=+ c #3A4740", "-+ c #0E0F0E", ";+ c #95AC9D", ">+ c #DAFFE7", ",+ c #DCFFE8", "'+ c #404742", ")+ c #0F100F", "!+ c #A7B2AC", "~+ c #EFFFF5", "{+ c #454746", "]+ c #161616", "^+ c #B6B6B6", "/+ c #474747", "(+ c #B1B1B1", "_+ c #444444", ":+ c #0C0C0C", "<+ c #414141", "[+ c #6D6D6D", " ", " ", " ", " ", " . + @ # $ # % & $ $ * = & - ; ", " > , ' ' ) ! ~ { ] ^ / ( ( _ : < ", " [ [ } | | 1 2 3 4 5 6 7 8 9 | | 0 a ", " [ b | | c d e f g h i j k l | m n ", " [ o | p q r s t u v w x y z | 0 A ", " [ B | C D E F G H I J K L M l 0 N ", " O P 3 Q R S T U V W X Y Z ` ... ", " +.@.#.$.%.&.*.=.-.;.>.,.'.).!.~. ", " ~.{.].^./.(._.:.:.<.[.}.|.1.2. ", " 3.4.5.6.7.8.9.9.0.a.b.c.d.e. ", " f.g.h.i.j.k.l.m.n.o.p.q. ", " [ [ r.s.t.i.j.k.l.m.u.v.w. ", " x.y.z.A.B.B.C.D.E.F. ", " [ [ G.H.I.J.8.-.K.L. ", " M.N.O.P.i.Q.R. ", " S.T.U.V.W.X. ", " M.Y.Z.o.`. ", " +.+++@+#+ ", " [ [ $+%+&+*+=+ ", " [ [ -+;+>+,+'+ ", " [ [ [ )+!+).~+{+ ", " [ ]+^+| | /+ ", " [ [ ~.(+| | _+ ", " [ :+<+[+o a ", " ", " ", " ", " "}; debian/sweep.docs0000644000000000000000000000004511656010244011161 0ustar AUTHORS NEWS README README.ALSA TODO debian/copyright0000644000000000000000000000360411656010244011123 0ustar Author: Conrad Parker Download: http://www.metadecks.org/software/sweep/ Files: * Copyright: (C) 1995-2008 Conrad Parker 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 complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-2 file. Files: debian/* Copyright: (C) 2008 Daniel Baumann 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 complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-2 file. debian/sweep-dev.docs0000644000000000000000000000001211656010244011727 0ustar doc/*.txt debian/sweep.install0000644000000000000000000000004411656010244011676 0ustar debian/pixmaps/* /usr/share/pixmaps debian/source/0000755000000000000000000000000011656010244010465 5ustar debian/source/format0000644000000000000000000000001411656010244011673 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012147145117010620 5ustar debian/patches/0002-Fixes-crash-when-using-multiple-threads.patch0000644000000000000000000000101611656010565021737 0ustar From: Stepan Golosunov Date: Mon, 7 Nov 2011 17:34:30 +0100 Subject: Fixes crash when using multiple threads Bug-Debian: http://bugs.debian.org/405809, http://bugs.debian.org/513829 --- src/main.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/main.c b/src/main.c index 0b65a84..99ba31a 100644 --- a/src/main.c +++ b/src/main.c @@ -138,6 +138,8 @@ main (int argc, char *argv[]) #endif #endif + XInitThreads (); + gtk_init (&argc, &argv); #ifdef HAVE_PUTENV debian/patches/0001-German-PO-file-corrections.patch0000644000000000000000000000444311656010563017216 0ustar From: Jens Seidel Date: Mon, 7 Nov 2011 17:34:29 +0100 Subject: German PO file corrections Bug-Debian: http://bugs.debian.org/313836 --- po/de.po | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/po/de.po b/po/de.po index 645a7b7..7d8d719 100644 --- a/po/de.po +++ b/po/de.po @@ -167,7 +167,7 @@ msgstr "Sweep: Audioger #: src/driver.c:410 msgid "Changes to device settings will take effect on next playback." msgstr "" -"Änderungen der Geräte-Einstellungen werden bim nächsten Abspielen aktiviert." +"Änderungen der Geräte-Einstellungen werden beim nächsten Abspielen aktiviert." #: src/driver.c:424 msgid "Device name" @@ -691,7 +691,7 @@ msgstr "" #: src/file_speex.c:1904 msgid "Speex frames per Ogg packet:" -msgstr "Speex Rahmen pro Ogg Paket:" +msgstr "Speex Rahmen pro Ogg-Paket:" #: src/file_speex.c:1930 msgid "" @@ -884,7 +884,7 @@ msgstr "Maximale Bitrate:" msgid "" "Specify a maximum bitrate, useful for streaming applications. (Optional)" msgstr "" -"Gben Sie eine maximale Bitrate an, die für Streaminganwendungen geeignet " +"Geben Sie eine maximale Bitrate an, die für Streaminganwendungen geeignet " "ist. (Optional)" #: src/file_vorbis.c:1370 @@ -937,7 +937,7 @@ msgstr "" "Der Künstler, der generell als verantwortlich für das Werk zeichnet. In " "Popmusik ist dies gewöhnlich die aufführende Band oder der Sänger. Bei " "klassischer Musik wäre dies der Komponist. Bei einem Audiobuch wäre es der " -"Author des Originaltextes." +"Autor des Originaltextes." #: src/file_vorbis.c:1416 msgid "Performer:" @@ -1197,7 +1197,7 @@ msgid "" "Zoom in and out of a view. Click anywhere in a view to zoom in on that part " "of the sample. Hold down shift and click on the view to zoom out." msgstr "" -"Dieses Werkzeug erlaubt es, ine eine Ansicht hinein zu zoomen oder aus ihr " +"Dieses Werkzeug erlaubt es, in eine Ansicht hinein zu zoomen oder aus ihr " "heraus zu zoomen. Durch Mausklick wird die Stelle zum Hineinzoomen " "ausgewählt. Durch Halten der Shift-Taste beim Mausklick wird herausgezoomt." @@ -2467,7 +2467,7 @@ msgstr "Mit einem L #: plugins/example/example.c:39 msgid "With false teeth" -msgstr "Mit flaschen Zähnen" +msgstr "Mit falschen Zähnen" #: plugins/example/example.c:40 msgid "With Nigel's bum" debian/patches/0003-Fix-FTBFS-with-binutils_gold-by-linking-against-libX.patch0000644000000000000000000000105212147144450023774 0ustar From: Alessio Treglia Date: Mon, 7 Nov 2011 17:34:31 +0100 Subject: Fix FTBFS with binutils_gold by linking against libX11.so. Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=556478 Forwarded: no Index: b/src/Makefile.am =================================================================== --- a/src/Makefile.am +++ b/src/Makefile.am @@ -75,7 +75,8 @@ $(MAD_LIBS) $(SPEEX_LIBS) \ $(SAMPLERATE_LIBS) \ @GLIB_LIBS@ @GTHREADS_LIBS@ \ - @ALSA_LIBS@ + @ALSA_LIBS@ \ + -lX11 sweep_LDFLAGS = @EXPORT_DYNAMIC_FLAGS@ debian/patches/0005-honor-TMPDIR.patch0000644000000000000000000000322411656010573014347 0ustar From: Norbert Buchmuller Date: Sun, 8 Oct 2006 10:53:48 +0200 Subject: honor TMPDIR Bug-Debian: http://bugs.debian.org/259386 --- src/edit.c | 47 +++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 45 insertions(+), 2 deletions(-) diff --git a/src/edit.c b/src/edit.c index 59d196d..050ed0a 100644 --- a/src/edit.c +++ b/src/edit.c @@ -24,6 +24,7 @@ #include #include +#include #include #include @@ -43,6 +44,48 @@ #include "edit.h" #include "format.h" +int +is_directory(const char *entity) +{ + struct stat stat_buf; + + if (stat(entity, &stat_buf)) + return 0; + + return S_ISDIR(stat_buf.st_mode); +} + +FILE * +create_tmpfile(void) +{ + char *tmpdir; + size_t template_len; + char *template; + const char *filename_template = "sweepXXXXXX"; + int fd; + + tmpdir = getenv("TMPDIR"); + if (!tmpdir || !is_directory(tmpdir)) { + tmpdir = "/tmp"; + } + + template_len = strlen(tmpdir) + strlen("/") + strlen(filename_template) + 1; + template = (char *) malloc(template_len); + if (!template) + return NULL; + snprintf(template, template_len, "%s/%s", tmpdir, filename_template); + + fd = mkstemp(template); + + unlink(template); + + free(template); + + if (fd < 0) + return NULL; + + return fdopen(fd, "w+"); +} sw_edit_buffer * ebuf = NULL; @@ -55,8 +98,8 @@ sweep_large_alloc_data (size_t len, void * data, int prot) FILE * f; int fd; - if ((f = tmpfile ()) == NULL) { - perror ("tmpfile failed in sweep_large_alloc_data"); + if ((f = create_tmpfile ()) == NULL) { + perror ("create_tmpfile failed in sweep_large_alloc_data"); return NULL; } debian/patches/0006-fix-gui-artefacts.patch0000644000000000000000000000542711656010574015560 0ustar From: Philippe Gauthier <> Date: Wed, 22 Jun 2011 17:06:30 +0200 Subject: fix gui artefacts As cursor traverses waveform area of GUI, pointer artifacts persist across GTK ruler, erased only by change in zoom level. This patch removes the code in sweep that overrides the feature in Gtk+ to draw the ruler position marker. I don't see if the sweep code does things differently than in Gtk+, so the simplest fix is to disable and remove the code in sweep. This is what this patch do. Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/sweep/+bug/800945 Bug-Debian: http://bugs.debian.org/634679 --- src/time_ruler.c | 60 ------------------------------------------------------ 1 files changed, 0 insertions(+), 60 deletions(-) diff --git a/src/time_ruler.c b/src/time_ruler.c index 57f3002..f0634f0 100644 --- a/src/time_ruler.c +++ b/src/time_ruler.c @@ -104,7 +104,6 @@ time_ruler_class_init (TimeRulerClass *klass) widget_class->motion_notify_event = time_ruler_motion_notify; ruler_class->draw_ticks = time_ruler_draw_ticks; - ruler_class->draw_pos = time_ruler_draw_pos; } static gfloat ruler_scale[MAXIMUM_SCALES] = @@ -318,65 +317,6 @@ time_ruler_draw_ticks (GtkRuler *ruler) } } -static void -time_ruler_draw_pos (GtkRuler *ruler) -{ - GtkWidget *widget; - GdkGC *gc; - int i; - gint x, y; - gint width, height; - gint bs_width, bs_height; - gint xthickness; - gint ythickness; - gfloat increment; - - g_return_if_fail (ruler != NULL); - g_return_if_fail (GTK_IS_TIME_RULER (ruler)); - - if (GTK_WIDGET_DRAWABLE (ruler)) - { - widget = GTK_WIDGET (ruler); - - gc = widget->style->fg_gc[GTK_STATE_NORMAL]; - xthickness = widget->style->xthickness; - ythickness = widget->style->ythickness; - width = widget->allocation.width; - height = widget->allocation.height - ythickness * 2; - - bs_width = height / 2; - bs_width |= 1; /* make sure it's odd */ - bs_height = bs_width / 2 + 1; - - if ((bs_width > 0) && (bs_height > 0)) - { - /* If a backing store exists, restore the ruler */ - if (ruler->backing_store && ruler->non_gr_exp_gc) - gdk_draw_drawable (ruler->widget.window, - ruler->non_gr_exp_gc, - ruler->backing_store, - ruler->xsrc, ruler->ysrc, - ruler->xsrc, ruler->ysrc, - bs_width, bs_height); - - increment = (gfloat) width / (ruler->upper - ruler->lower); - - x = ROUND ((ruler->position - ruler->lower) * increment) + - (xthickness - bs_width) / 2 - 1; - y = (height + bs_height) / 2 + ythickness; - - for (i = 0; i < bs_height; i++) - gdk_draw_line (widget->window, gc, - x + i, y + i, - x + bs_width - 1 - i, y + i); - - - ruler->xsrc = x; - ruler->ysrc = y; - } - } -} - void time_ruler_set_format (TimeRuler * time_ruler, sw_format * f) { debian/patches/0007-remove-unknwon-directive-.l-from-manpage.patch0000644000000000000000000000077011656010576022061 0ustar From: Bernhard R. Link Date: Mon, 7 Nov 2011 18:08:24 +0100 Subject: remove unknwon directive .l from manpage --- doc/sweep.1.in | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/doc/sweep.1.in b/doc/sweep.1.in index 21c82e9..fe992d7 100644 --- a/doc/sweep.1.in +++ b/doc/sweep.1.in @@ -12,7 +12,6 @@ Sweep - a sound wave editor .PP \fISweep\fP is a sound wave editor. .SH OPTIONS -.l \fISweep\fP accepts the following options: .TP 8 .B \-h, \-\-help debian/patches/0004-fix-crash-with-non-utf-8-locale.patch0000644000000000000000000000224511656010571020047 0ustar From: Christian Henz Date: Sun, 6 Mar 2011 16:00:30 +0100 Subject: fix crash with non-utf-8 locale gettext delivers translated strings in the system encoding (latin), while GTK/Pango seem to expect UTF-8 encoded strings. There are warnings like this: (sweep:5369): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text() This patch forces gettext to deliver UTF-8 encoded strings, which seems to fix he issue. Bug: https://sourceforge.net/tracker/?func=detail&aid=3201323&group_id=4854&atid=304854 Bug-Debian: http://bugs.debian.org/6116677 --- src/main.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/main.c b/src/main.c index 99ba31a..10791be 100644 --- a/src/main.c +++ b/src/main.c @@ -118,12 +118,17 @@ main (int argc, char *argv[]) gchar *display_env; #endif + #ifdef ENABLE_NLS + setlocale (LC_ALL, ""); bindtextdomain (PACKAGE, PACKAGE_LOCALE_DIR); + bind_textdomain_codeset (PACKAGE, "utf-8"); textdomain (PACKAGE); #endif + /* Deprecated in favour of setlocale(3) gtk_set_locale (); + */ #ifdef DEVEL_CODE g_print (_("WARNING: Build includes incomplete development code.\n")); debian/patches/0009-link-gmodule.patch0000644000000000000000000000447312147145117014626 0ustar Description: Link with gmodule Author: Colin Watson Forwarded: no Last-Update: 2013-05-22 Index: b/configure.ac =================================================================== --- a/configure.ac +++ b/configure.ac @@ -87,6 +87,13 @@ AC_CHECK_LIB(gthread-2.0, g_thread_init, HAVE_GTHREADS="maybe", sweep_config_ok="no") fi +PKG_CHECK_MODULES(GMODULE, gmodule-2.0, HAVE_GMODULE="yes", sweep_config_ok="no") +AC_SUBST(GMODULE_CFLAGS) +AC_SUBST(GMODULE_LIBS) +if test "x$HAVE_GMODULE" != xyes ; then + AC_CHECK_LIB(gmodule-2.0, g_module_open, HAVE_GMODULE="maybe", sweep_config_ok="no") +fi + dnl dnl Detect libsndfile 1.0 dnl @@ -467,13 +474,13 @@ *** misconfigured on your system: ]) -if test "x$HAVE_GLIB" != xyes || test "x$HAVE_GTHREADS" != xyes; then +if test "x$HAVE_GLIB" != xyes || test "x$HAVE_GTHREADS" != xyes || test "x$HAVE_GMODULE" != xyes; then AC_MSG_RESULT([ *** GLib version 2.2.x or greater, available from http://www.gtk.org/ ]) fi -if test "x$HAVE_GLIB" = xmaybe || test "x$HAVE_GTHREADS" = xmaybe; then +if test "x$HAVE_GLIB" = xmaybe || test "x$HAVE_GTHREADS" = xmaybe || test "x$HAVE_GMODULE" = xmaybe; then AC_MSG_RESULT([ Development files missing: The libglib-2.0 binary seems to be installed, but the pkg-config tool cannot find its build @@ -548,7 +555,8 @@ if test "x$HAVE_GLIB" = xmaybe || test "x$HAVE_GTK" = xmaybe || test "x$HAVE_LIBSNDFILE1" = xmaybe || test "x$HAVE_TDB" = xmaybe || - test "x$HAVE_GTHREADS" = xmaybe || test "x$HAVE_ALSA" = xmaybe || + test "x$HAVE_GTHREADS" = xmaybe || test "x$HAVE_GMODULE" = xmaybe || + test "x$HAVE_ALSA" = xmaybe || test "x$HAVE_OGG" = xmaybe || test "x$HAVE_VORBIS" = xmaybe ; then AC_MSG_RESULT([ *** HOW TO FIX "development files missing": you have probably Index: b/src/Makefile.am =================================================================== --- a/src/Makefile.am +++ b/src/Makefile.am @@ -12,6 +12,7 @@ @GTK_CFLAGS@ \ @GLIB_CFLAGS@ \ @GTHREADS_CFLAGS@ \ + @GMODULE_CFLAGS@ \ @ALSA_CFLAGS@ TDB_LIBS = $(top_builddir)/src/tdb/libtdb.a @@ -74,7 +75,7 @@ $(OGG_LIBS) $(VORBIS_LIBS) $(VORBISFILE_LIBS) $(VORBISENC_LIBS) \ $(MAD_LIBS) $(SPEEX_LIBS) \ $(SAMPLERATE_LIBS) \ - @GLIB_LIBS@ @GTHREADS_LIBS@ \ + @GLIB_LIBS@ @GTHREADS_LIBS@ @GMODULE_LIBS@ \ @ALSA_LIBS@ \ -lX11 debian/patches/series0000644000000000000000000000050512147144521012033 0ustar 0001-German-PO-file-corrections.patch 0002-Fixes-crash-when-using-multiple-threads.patch 0003-Fix-FTBFS-with-binutils_gold-by-linking-against-libX.patch 0004-fix-crash-with-non-utf-8-locale.patch 0005-honor-TMPDIR.patch 0006-fix-gui-artefacts.patch 0007-remove-unknwon-directive-.l-from-manpage.patch 0009-link-gmodule.patch debian/compat0000644000000000000000000000000211656010244010363 0ustar 7 debian/control0000644000000000000000000000225112147144225010573 0ustar Source: sweep Section: sound Priority: optional Maintainer: Debian QA Group Build-Depends: debhelper (>= 7), dh-autoreconf, gettext, libasound2-dev [linux-any], libgtk2.0-dev, libmad0-dev, libsamplerate0-dev, libsndfile1-dev, libspeex-dev, libvorbis-dev Standards-Version: 3.9.4 Homepage: http://www.metadecks.org/software/sweep/ Package: sweep Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: ladspa-plugin, cmt, swh-plugins, tap-plugins, fil-plugins, mcp-plugins Description: Audio editor and live playback tool Sweep is an audio editor and live playback tool. It supports many music and voice formats including WAV, AIFF, Ogg Vorbis, Speex and MP3, with multichannel editing and LADSPA effects plugins. Package: sweep-dev Section: devel Architecture: all Depends: sweep (>= ${source:Version}), ${misc:Depends} Description: Audio editor and live playback tool (development) Sweep is an audio editor and live playback tool. It supports many music and voice formats including WAV, AIFF, Ogg Vorbis, Speex and MP3, with multichannel editing and LADSPA effects plugins. . This package contains the development files for Sweep plugins. debian/changelog0000644000000000000000000002364512147145154011056 0ustar sweep (0.9.3-8) unstable; urgency=low * QA upload. * Switch to dh-autoreconf, dropping/adjusting ugly patches to generated files. * Link with gmodule. -- Colin Watson Wed, 22 May 2013 14:38:49 +0100 sweep (0.9.3-7) unstable; urgency=low * QA upload. * Add patch to build on GNU/Hurd (Closes: 677358) - Thanks to Samuel Thibault for the patch. * Add debian/watch file. * Remove duplicate Section from binary sweep. * Bump standards version to 3.9.4 (No changes needed). -- Barry deFreese Sat, 11 May 2013 07:59:16 -0400 sweep (0.9.3-6) unstable; urgency=low * explicitly pass --disable-alsa to configure on non linux-any architectures as it otherwise exits with error. -- Bernhard R. Link Tue, 08 Nov 2011 11:50:33 +0100 sweep (0.9.3-5) unstable; urgency=low * QA upload * switch to "3.0 (quilt)" source format * add support for build-arch, build-indep * use dpkg-buildflags * apply patch always using utf-8 (Closes: 616677, 350881) * apply patch to honor TMPDIR (Closes: 259386) * apply patch fixing cursor artefacts (Closes: 634679) * use 'linux-any' for conditional build depends as requested by Robert Millan (Closes: 634469) * remove unknown .l from manpage * do not give --enable-alsa to configure as that disables alsa (Closes: 567938, 586638) -- Bernhard R. Link Mon, 07 Nov 2011 18:45:23 +0100 sweep (0.9.3-4) unstable; urgency=low * QA upload. * Add patch to fix FTBFS with gold linker (closes: #556478). -- Alessio Treglia Fri, 06 May 2011 11:38:37 +0200 sweep (0.9.3-3) unstable; urgency=low * Updating package to standards 3.8.2. * Removing vcs fields. * Orphaning package. -- Daniel Baumann Sun, 09 Aug 2009 01:05:00 +0200 sweep (0.9.3-2) unstable; urgency=low * Adding patch from Jens Seidel to correct German PO file (Closes: #313836). * Adding patch from Stepan Golosunov to fix crash when using multiple threads (Closes: #405809, #513829). -- Daniel Baumann Thu, 5 Feb 2009 09:18:00 +0100 sweep (0.9.3-1) unstable; urgency=low * New maintainer (Closes: #503496). * New upstream release. * Redone debian packaging from scratch. -- Daniel Baumann Thu, 18 Dec 2008 18:07:00 +0100 sweep (0.9.2-0.1) unstable; urgency=low * Porter NMU. * Remove depend on libesd-alsa0 so sweep can be installed on no-alsa systems. * New upstream version, closes: #431350 * Fix watch file (from ubuntu), closes: #449759 * Add homepage: field -- Riku Voipio Tue, 17 Jun 2008 19:12:59 +0300 sweep (0.9.0-2.2) unstable; urgency=low * NMU. * debian/control: Don't Build-Depend unnecessarily on automake1.8. (Closes: #473357) -- Eric Dorland Sat, 03 May 2008 01:39:13 -0400 sweep (0.9.0-2.1) unstable; urgency=low * Porter NMU. * Don't build-depends on libasound2-dev on non-linux systems (Closes: #377890). -- Aurelien Jarno Tue, 15 Jan 2008 01:11:36 +0100 sweep (0.9.0-2) unstable; urgency=low * Fixup typo in Depends (Closes: #348848) -- Anand Kumria Fri, 20 Jan 2006 08:21:45 +1100 sweep (0.9.0-1) unstable; urgency=low * New upstream release * Enable ALSA (Closes: #344357) * Explicitly depend on libesd-alsa0 for ALSA goodness * Upload to unstable * Make ./configure executable (Closes: #346049) -- Anand Kumria Wed, 18 Jan 2006 17:31:34 +1100 sweep (0.8.4+0.9.0svn301-2) experimental; urgency=low * Switch Build-Dep: to libgtk2.0-dev * Make ./configure executable (Closes: #346049) -- Anand Kumria Fri, 6 Jan 2006 00:34:39 +1100 sweep (0.8.4+0.9.0svn301-1) experimental; urgency=low * Start tracking SVN, and upload into experimental * Enable ALSA (Closes: #344357) * Switch to GTK+ 2.x -- Anand Kumria Mon, 2 Jan 2006 22:01:11 +1100 sweep (0.8.4-2) unstable; urgency=low * Play the note A3 as intended (Closes: #324513) * Point to (and install) the correct xpm for the menu entry (Closes: #326845) -- Anand Kumria Tue, 6 Sep 2005 23:37:33 +1000 sweep (0.8.4-1) unstable; urgency=low * New upstream release * Recommend some more LADSPA plugin packages -- Anand Kumria Fri, 2 Sep 2005 03:48:20 +1000 sweep (0.8.3-1) unstable; urgency=low * New upstream release (Closes: #262968) -- Anand Kumria Tue, 3 Aug 2004 02:50:10 +1000 sweep (0.8.1-5) unstable; urgency=low * Respin build. * Speex now correctly uses dh_makeshlibs, remove my workaround -- Anand Kumria Sun, 13 Apr 2003 03:00:02 +1000 sweep (0.8.1-4) unstable; urgency=medium * Respin build. * Speex dependancies have changed (Closes: #187272, #187235) * Switch to using libsndfile1 * Upgrade standards-version and debhelper requirements -- Anand Kumria Sat, 5 Apr 2003 18:23:38 +1000 sweep (0.8.1-3) unstable; urgency=low * Add samplerate functionality by depending upon libsamplerate -- Anand Kumria Sun, 23 Mar 2003 03:49:53 +1100 sweep (0.8.1-2) unstable; urgency=high * Respin build. * Speex API changed and requires rebuild (Closes: #185729) * Libraries for libvorbis have also changed (Closes: #185338) -- Anand Kumria Sun, 23 Mar 2003 03:22:41 +1100 sweep (0.8.1-1) unstable; urgency=low * New upstream release. Extra functionality for newer Speex -- Anand Kumria Sat, 8 Feb 2003 21:21:15 +1100 sweep (0.8.0-2) unstable; urgency=low * Respin build because the speex API changed without modifying the SO number. * Hopefully this will fix the Speex link problem (Closes: #179849) -- Anand Kumria Fri, 7 Feb 2003 03:40:17 +1100 sweep (0.8.0-1) unstable; urgency=low * New upstream release. -- Anand Kumria Wed, 22 Jan 2003 20:50:42 +1100 sweep (0.5.13-1) unstable; urgency=low * New upstream release. * Be nice to Bdale and other autobuilders (Clsoes: #173190) -- Anand Kumria Sun, 22 Dec 2002 00:11:01 +1100 sweep (0.5.12-1) unstable; urgency=low * New upstream release. -- Anand Kumria Fri, 6 Dec 2002 22:39:35 +1100 sweep (0.5.11-1) unstable; urgency=low * New upstream release. * Contains Secret Rabbit Code -- Anand Kumria Tue, 3 Dec 2002 22:14:15 +1100 sweep (0.5.10a-1) unstable; urgency=medium * New upstream release * Update config.guess and config.sub so we can autobuild on mips/mipsel (Closes: #168645) * Forget about getting a useful sweep into testing (Closes: #168773) -- Anand Kumria Mon, 18 Nov 2002 17:06:01 +1100 sweep (0.5.9-1) unstable; urgency=low * New upstream release * Add Ogg Vorbis, MP3 and Speex support * Respin to get autobuilders on ia64, arm and mipsel to build -- Anand Kumria Wed, 23 Oct 2002 13:00:28 +1000 sweep (0.5.6-1) unstable; urgency=low * New upstream release * Set the ruler format as appropriate (Closes: #161721) * Respin with libsndfile0 until libsndfile1 actually gets somewhere in the archive -- Anand Kumria Wed, 25 Sep 2002 21:36:27 +1000 sweep (0.5.4-1) unstable; urgency=low * New upstream release * Switch to Scrubby logo -- Anand Kumria Thu, 12 Sep 2002 15:00:04 +1000 sweep (0.5.3-1) unstable; urgency=low * New upstream release * Switch to using libsndfile1 -- Anand Kumria Fri, 6 Sep 2002 14:29:56 +1000 sweep (0.4.20-1) unstable; urgency=low * New upstream version -- Anand Kumria Tue, 13 Aug 2002 12:33:20 +1000 sweep (0.4.18-1) unstable; urgency=low * Many new upstream versions * 8 bit and more data now. (Closes: #68808) * New I can smell the onions too! (Closes: #68809) * Use ppm rather than png in menu entry. (Closes: #154036) -- Anand Kumria Tue, 23 Jul 2002 16:37:29 +1000 sweep (0.1.1-3) unstable; urgency=low * Acknowledge NMU by Robert, Thanks. (Closes: #78695, #78753) * Update config.{sub,guess} for new platforms. (Closes: #104986) * Apply, and forward, updated German translation. Apologies this took so long - it was lost in my mailbox. (Closes: #87999) -- Anand Kumria Mon, 10 Sep 2001 01:59:27 +1000 sweep (0.1.1-2.1) unstable; urgency=low * NMU for bug squashing party. * Fix build breakage which only occured when "binary-arch" was used without "binary-indep". (Closes: #78695, #78753) -- Robert Bihlmeyer Sat, 14 Apr 2001 17:38:42 +0200 sweep (0.1.1-2) unstable; urgency=low * Add "-f" to rm command. (Closes: #77805) -- Anand Kumria Tue, 28 Nov 2000 02:24:56 +1100 sweep (0.1.1-1) unstable; urgency=low * New upstream version. -- Anand Kumria Sat, 21 Oct 2000 08:55:52 +1100 sweep (0.0.9-2) unstable; urgency=low * Correct build dependancy errors. (Closes: Bug#65871) -- Anand Kumria Wed, 21 Jun 2000 02:08:57 +1000 sweep (0.0.9-1) unstable; urgency=low * New upstream release -- Anand Kumria Sat, 13 May 2000 19:52:15 +1000 sweep (0.0.8-1) unstable; urgency=low * New upstream release -- Anand Kumria Fri, 5 May 2000 08:45:44 +1000 sweep (0.0.7-1) unstable; urgency=low * New upstream release -- Anand Kumria Thu, 4 May 2000 08:41:55 +1000 sweep (0.0.6-1) unstable; urgency=low * New upstream release -- Anand Kumria Fri, 28 Apr 2000 00:26:05 +1000 sweep (0.0.5-1) unstable; urgency=low * Initial Release. -- Anand Kumria Mon, 24 Apr 2000 14:48:35 +1000 debian/sweep.menu0000644000000000000000000000061311656010244011176 0ustar ?package(sweep):needs="X11" section="Applications/Sound"\ title="Sweep" longtitle="Audio editor and live playback tool"\ description="Sweep is an audio editor and live playback tool. It supports many music and voice formats including WAV, AIFF, Ogg Vorbis, Speex and MP3, with multichannel editing and LADSPA effects plugins."\ command="/usr/bin/sweep" icon="/usr/share/pixmaps/sweep.xpm"