From 9fde407f30007cc47c3cdd48bc221d8a5fe14746 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sat, 20 Feb 2010 05:19:22 +0000 Subject: debianized markex and cleaned up license file stuff svn path=/trunk/externals/markex/; revision=13179 --- GEM.LICENSE.TERMS | 22 ----------------- Makefile | 2 +- MarkEx.c | 72 ------------------------------------------------------- abs~.c | 2 +- alternate.c | 2 +- average.c | 2 +- counter.c | 2 +- debian/changelog | 5 ++++ debian/compat | 1 + debian/control | 17 +++++++++++++ debian/copyright | 13 ++++++++++ debian/rules | 16 +++++++++++++ hsv2rgb.c | 2 +- invert.c | 2 +- markex.c | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ multiselect.c | 2 +- oneshot.c | 2 +- randomF.c | 2 +- reson~.c | 2 +- rgb2hsv.c | 2 +- strcat.c | 2 +- tripleLine.c | 2 +- tripleRand.c | 2 +- vector+.c | 2 +- vector-.c | 2 +- vector0x2a.c | 2 +- vector0x2f.c | 2 +- vectorabs.c | 2 +- vectorpack.c | 2 +- 29 files changed, 145 insertions(+), 115 deletions(-) delete mode 100644 GEM.LICENSE.TERMS delete mode 100644 MarkEx.c create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100755 debian/rules create mode 100644 markex.c diff --git a/GEM.LICENSE.TERMS b/GEM.LICENSE.TERMS deleted file mode 100644 index 59bc1f9..0000000 --- a/GEM.LICENSE.TERMS +++ /dev/null @@ -1,22 +0,0 @@ -GEM - Graphics Environment for Multimedia -Copyright (C) 1997-2000 Mark Danks -Copyright (C) Günter Geiger -Copyright (C) 2001-2002 IOhannes m zmölnig - -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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -In the official GEM distribution, the GNU General Public License is -in the file GnuGPL.LICENSE - diff --git a/Makefile b/Makefile index dbbb65e..24e717d 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,7 @@ PDOBJECTS = # if you want to include any other files in the source and binary tarballs, # list them here. This can be anything from header files, READMEs, example # patches, documentation, etc. -EXTRA_DIST = README.txt LICENSE.txt markex.c GEM.LICENSE.TERMS +EXTRA_DIST = README.txt LICENSE.txt markex.c #------------------------------------------------------------------------------# diff --git a/MarkEx.c b/MarkEx.c deleted file mode 100644 index f16aee8..0000000 --- a/MarkEx.c +++ /dev/null @@ -1,72 +0,0 @@ -/* For information on usage and redistribution, and for a DISCLAIMER OF ALL - * WARRANTIES, see the file, "LICENSE.txt," in this distribution. - - MarkEx, Copyright (c) 1997-1999 Mark Danks */ - -#ifdef NT -#pragma warning( disable : 4244 ) -#pragma warning( disable : 4305 ) -#endif - - -#include "m_pd.h" - -static t_class *MarkEx_class; - -static void *MarkEx_new(void) -{ - t_object *x = (t_object *)pd_new(MarkEx_class); - return (x); -} - -void abs_tilde_setup(void); -void alternate_setup(void); -void average_setup(void); -void counter_setup(void); -void hsv2rgb_setup(void); -void invert_setup(void); -void multiselect_setup(void); -void oneshot_setup(void); -void randomF_setup(void); -void reson_tilde_setup(void); -void rgb2hsv_setup(void); -void strcat_setup(void); -void tripleLine_setup(void); -void tripleRand_setup(void); -void vectorabs_setup(void); -void vectorpack_setup(void); -void setup_vector0x2a(void); -void setup_vector0x2f(void); -void setup_vector0x2d(void); -void setup_vector0x2b(void); - - -/* ------------------------ setup routine ------------------------- */ - -void MarkEx_setup(void) -{ - MarkEx_class = class_new(gensym("MarkEx"), MarkEx_new, 0, - sizeof(t_object), CLASS_NOINLET, 0); - - abs_tilde_setup(); - alternate_setup(); - average_setup(); - counter_setup(); - hsv2rgb_setup(); - invert_setup(); - multiselect_setup(); - oneshot_setup(); - randomF_setup(); - reson_tilde_setup(); - rgb2hsv_setup(); - strcat_setup(); - tripleLine_setup(); - tripleRand_setup(); - vectorabs_setup(); - vectorpack_setup(); - setup_vector0x2a(); - setup_vector0x2f(); - setup_vector0x2d(); - setup_vector0x2b(); - post("MarkEx loaded! (c) 1997-1999 Mark Danks "); -} diff --git a/abs~.c b/abs~.c index 99ef457..59b9666 100644 --- a/abs~.c +++ b/abs~.c @@ -1,7 +1,7 @@ /* * Copyright (c) 1997-1999 Mark Danks. * For information on usage and redistribution, and for a DISCLAIMER OF ALL - * WARRANTIES, see the file, "GEM.LICENSE.TERMS" in this distribution. + * WARRANTIES, see the file, "LICENSE.txt" in this distribution. */ #include "m_pd.h" diff --git a/alternate.c b/alternate.c index 694d903..e035c5f 100644 --- a/alternate.c +++ b/alternate.c @@ -1,7 +1,7 @@ /* * Copyright (c) 1997-1999 Mark Danks. * For information on usage and redistribution, and for a DISCLAIMER OF ALL - * WARRANTIES, see the file, "GEM.LICENSE.TERMS" in this distribution. + * WARRANTIES, see the file, "LICENSE.txt" in this distribution. */ #include "m_pd.h" diff --git a/average.c b/average.c index 39ac562..e13f45e 100644 --- a/average.c +++ b/average.c @@ -1,7 +1,7 @@ /* * Copyright (c) 1997-1999 Mark Danks. * For information on usage and redistribution, and for a DISCLAIMER OF ALL - * WARRANTIES, see the file, "GEM.LICENSE.TERMS" in this distribution. + * WARRANTIES, see the file, "LICENSE.txt" in this distribution. */ #include "m_pd.h" diff --git a/counter.c b/counter.c index 6bbc81a..d7f0d01 100644 --- a/counter.c +++ b/counter.c @@ -1,7 +1,7 @@ /* * Copyright (c) 1997-1999 Mark Danks. * For information on usage and redistribution, and for a DISCLAIMER OF ALL - * WARRANTIES, see the file, "GEM.LICENSE.TERMS" in this distribution. + * WARRANTIES, see the file, "LICENSE.txt" in this distribution. */ #include "m_pd.h" diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..b079822 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +pd-markex (0.85-1) unstable; urgency=low + + * Initial release (Closes: #nnnn) + + -- Hans-Christoph Steiner Thu, 21 Jan 2010 23:27:04 -0500 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..02f7a7a --- /dev/null +++ b/debian/control @@ -0,0 +1,17 @@ +Source: pd-markex +Section: sound +Priority: optional +Maintainer: Paul Brossier +Build-Depends: debhelper (>= 7.0.50~), puredata +Standards-Version: 3.8.3 +Homepage: http://puredata.info + +Package: pd-markex +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, pd +Description: library of misc objects from Mark Danks + Markex is an external library of miscellaneous objects that was begun in 1994 + and originally included in GEM. It is largely here for the sake of old + projects that might still rely on it. The included functionality has been + improved in other libraries. + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..e9f5dc0 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,13 @@ +Debianized-By: Hans-Christoph Steiner +Debianized-Date: Fri, 19 Feb 2010 17:14:25 -0400 +Files: * +Copyright: Copyright 1994-2000 Mark Danks + +License: GPL-2+ + This package 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. + . + On Debian systems, the complete text of the GNU General Public License + version 2 can be found in file "/usr/share/common-licenses/GPL-2". diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..c280dec --- /dev/null +++ b/debian/rules @@ -0,0 +1,16 @@ +#!/usr/bin/make -f + +LIBRARY_NAME = markex +PACKAGE = pd-$(LIBRARY_NAME) +pkglibdir = /usr/lib/pd/extra + +%: + dh $@ + +override_dh_auto_install: + make DESTDIR=$(CURDIR)/debian/$(PACKAGE) pkglibdir=$(pkglibdir) install + +override_dh_shlibdeps: + dpkg-shlibdeps $(CURDIR)/debian/$(PACKAGE)$(pkglibdir)/$(LIBRARY_NAME)/*.pd_linux \ + -T$(CURDIR)/debian/$(PACKAGE).substvars + diff --git a/hsv2rgb.c b/hsv2rgb.c index 80c6dab..a034eea 100644 --- a/hsv2rgb.c +++ b/hsv2rgb.c @@ -6,7 +6,7 @@ // // Copyright (c) 1997-1999 Mark Danks. // For information on usage and redistribution, and for a DISCLAIMER OF ALL -// WARRANTIES, see the file, "GEM.LICENSE.TERMS" in this distribution. +// WARRANTIES, see the file, "LICENSE.txt" in this distribution. // ///////////////////////////////////////////////////////// diff --git a/invert.c b/invert.c index d8cf37d..fa9083e 100644 --- a/invert.c +++ b/invert.c @@ -1,7 +1,7 @@ /* * Copyright (c) 1997-1999 Mark Danks. * For information on usage and redistribution, and for a DISCLAIMER OF ALL - * WARRANTIES, see the file, "GEM.LICENSE.TERMS" in this distribution. + * WARRANTIES, see the file, "LICENSE.txt" in this distribution. */ #include "m_pd.h" diff --git a/markex.c b/markex.c new file mode 100644 index 0000000..f16aee8 --- /dev/null +++ b/markex.c @@ -0,0 +1,72 @@ +/* For information on usage and redistribution, and for a DISCLAIMER OF ALL + * WARRANTIES, see the file, "LICENSE.txt," in this distribution. + + MarkEx, Copyright (c) 1997-1999 Mark Danks */ + +#ifdef NT +#pragma warning( disable : 4244 ) +#pragma warning( disable : 4305 ) +#endif + + +#include "m_pd.h" + +static t_class *MarkEx_class; + +static void *MarkEx_new(void) +{ + t_object *x = (t_object *)pd_new(MarkEx_class); + return (x); +} + +void abs_tilde_setup(void); +void alternate_setup(void); +void average_setup(void); +void counter_setup(void); +void hsv2rgb_setup(void); +void invert_setup(void); +void multiselect_setup(void); +void oneshot_setup(void); +void randomF_setup(void); +void reson_tilde_setup(void); +void rgb2hsv_setup(void); +void strcat_setup(void); +void tripleLine_setup(void); +void tripleRand_setup(void); +void vectorabs_setup(void); +void vectorpack_setup(void); +void setup_vector0x2a(void); +void setup_vector0x2f(void); +void setup_vector0x2d(void); +void setup_vector0x2b(void); + + +/* ------------------------ setup routine ------------------------- */ + +void MarkEx_setup(void) +{ + MarkEx_class = class_new(gensym("MarkEx"), MarkEx_new, 0, + sizeof(t_object), CLASS_NOINLET, 0); + + abs_tilde_setup(); + alternate_setup(); + average_setup(); + counter_setup(); + hsv2rgb_setup(); + invert_setup(); + multiselect_setup(); + oneshot_setup(); + randomF_setup(); + reson_tilde_setup(); + rgb2hsv_setup(); + strcat_setup(); + tripleLine_setup(); + tripleRand_setup(); + vectorabs_setup(); + vectorpack_setup(); + setup_vector0x2a(); + setup_vector0x2f(); + setup_vector0x2d(); + setup_vector0x2b(); + post("MarkEx loaded! (c) 1997-1999 Mark Danks "); +} diff --git a/multiselect.c b/multiselect.c index cf4fb80..8cddf0b 100644 --- a/multiselect.c +++ b/multiselect.c @@ -1,7 +1,7 @@ /* * Copyright (c) 1997-1999 Mark Danks. * For information on usage and redistribution, and for a DISCLAIMER OF ALL - * WARRANTIES, see the file, "GEM.LICENSE.TERMS" in this distribution. + * WARRANTIES, see the file, "LICENSE.txt" in this distribution. */ #include "m_pd.h" diff --git a/oneshot.c b/oneshot.c index 95311f6..a086dd5 100644 --- a/oneshot.c +++ b/oneshot.c @@ -1,7 +1,7 @@ /* * Copyright (c) 1997-1999 Mark Danks. * For information on usage and redistribution, and for a DISCLAIMER OF ALL - * WARRANTIES, see the file, "GEM.LICENSE.TERMS" in this distribution. + * WARRANTIES, see the file, "LICENSE.txt" in this distribution. */ #include "m_pd.h" diff --git a/randomF.c b/randomF.c index b7ebe24..bce7780 100644 --- a/randomF.c +++ b/randomF.c @@ -1,7 +1,7 @@ /* * Copyright (c) 1997-1999 Mark Danks. * For information on usage and redistribution, and for a DISCLAIMER OF ALL - * WARRANTIES, see the file, "GEM.LICENSE.TERMS" in this distribution. + * WARRANTIES, see the file, "LICENSE.txt" in this distribution. */ #include "m_pd.h" diff --git a/reson~.c b/reson~.c index 7ff7a5b..e5fead4 100644 --- a/reson~.c +++ b/reson~.c @@ -1,7 +1,7 @@ /* * Copyright (c) 1997-1999 Mark Danks. * For information on usage and redistribution, and for a DISCLAIMER OF ALL - * WARRANTIES, see the file, "GEM.LICENSE.TERMS" in this distribution. + * WARRANTIES, see the file, "LICENSE.txt" in this distribution. */ /* Original code by Miller Puckette */ diff --git a/rgb2hsv.c b/rgb2hsv.c index e52fa6a..f614dca 100644 --- a/rgb2hsv.c +++ b/rgb2hsv.c @@ -6,7 +6,7 @@ // // Copyright (c) 1997-1999 Mark Danks. // For information on usage and redistribution, and for a DISCLAIMER OF ALL -// WARRANTIES, see the file, "GEM.LICENSE.TERMS" in this distribution. +// WARRANTIES, see the file, "LICENSE.txt" in this distribution. // ///////////////////////////////////////////////////////// diff --git a/strcat.c b/strcat.c index 0ee7262..d9d81a9 100644 --- a/strcat.c +++ b/strcat.c @@ -1,7 +1,7 @@ /* * Copyright (c) 1997-1999 Mark Danks. * For information on usage and redistribution, and for a DISCLAIMER OF ALL - * WARRANTIES, see the file, "GEM.LICENSE.TERMS" in this distribution. + * WARRANTIES, see the file, "LICENSE.txt" in this distribution. */ #include "m_pd.h" diff --git a/tripleLine.c b/tripleLine.c index b70efb9..1817f1b 100644 --- a/tripleLine.c +++ b/tripleLine.c @@ -1,7 +1,7 @@ /* * Copyright (c) 1997-1999 Mark Danks. * For information on usage and redistribution, and for a DISCLAIMER OF ALL - * WARRANTIES, see the file, "GEM.LICENSE.TERMS" in this distribution. + * WARRANTIES, see the file, "LICENSE.txt" in this distribution. */ #include "m_pd.h" diff --git a/tripleRand.c b/tripleRand.c index ead450a..98923a3 100644 --- a/tripleRand.c +++ b/tripleRand.c @@ -1,7 +1,7 @@ /* * Copyright (c) 1997-1999 Mark Danks. * For information on usage and redistribution, and for a DISCLAIMER OF ALL - * WARRANTIES, see the file, "GEM.LICENSE.TERMS" in this distribution. + * WARRANTIES, see the file, "LICENSE.txt" in this distribution. */ #include "m_pd.h" diff --git a/vector+.c b/vector+.c index 9e7a193..34619e3 100644 --- a/vector+.c +++ b/vector+.c @@ -1,7 +1,7 @@ /* * Copyright (c) 1997-1999 Mark Danks. * For information on usage and redistribution, and for a DISCLAIMER OF ALL - * WARRANTIES, see the file, "GEM.LICENSE.TERMS" in this distribution. + * WARRANTIES, see the file, "LICENSE.txt" in this distribution. */ #include "m_pd.h" diff --git a/vector-.c b/vector-.c index dd0f8a3..6ae7499 100644 --- a/vector-.c +++ b/vector-.c @@ -1,7 +1,7 @@ /* * Copyright (c) 1997-1999 Mark Danks. * For information on usage and redistribution, and for a DISCLAIMER OF ALL - * WARRANTIES, see the file, "GEM.LICENSE.TERMS" in this distribution. + * WARRANTIES, see the file, "LICENSE.txt" in this distribution. */ #include "m_pd.h" diff --git a/vector0x2a.c b/vector0x2a.c index 4709fd7..3b279cd 100644 --- a/vector0x2a.c +++ b/vector0x2a.c @@ -1,7 +1,7 @@ /* * Copyright (c) 1997-1999 Mark Danks. * For information on usage and redistribution, and for a DISCLAIMER OF ALL - * WARRANTIES, see the file, "GEM.LICENSE.TERMS" in this distribution. + * WARRANTIES, see the file, "LICENSE.txt" in this distribution. */ #include "m_pd.h" diff --git a/vector0x2f.c b/vector0x2f.c index f75cade..cd3e8e3 100644 --- a/vector0x2f.c +++ b/vector0x2f.c @@ -1,7 +1,7 @@ /* * Copyright (c) 1997-1999 Mark Danks. * For information on usage and redistribution, and for a DISCLAIMER OF ALL - * WARRANTIES, see the file, "GEM.LICENSE.TERMS" in this distribution. + * WARRANTIES, see the file, "LICENSE.txt" in this distribution. */ #include "m_pd.h" diff --git a/vectorabs.c b/vectorabs.c index a099f5f..f1021a1 100644 --- a/vectorabs.c +++ b/vectorabs.c @@ -1,7 +1,7 @@ /* * Copyright (c) 1997-1999 Mark Danks. * For information on usage and redistribution, and for a DISCLAIMER OF ALL - * WARRANTIES, see the file, "GEM.LICENSE.TERMS" in this distribution. + * WARRANTIES, see the file, "LICENSE.txt" in this distribution. */ #include "m_pd.h" diff --git a/vectorpack.c b/vectorpack.c index 4a77235..418cad4 100644 --- a/vectorpack.c +++ b/vectorpack.c @@ -1,7 +1,7 @@ /* * Copyright (c) 1997-1999 Mark Danks. * For information on usage and redistribution, and for a DISCLAIMER OF ALL - * WARRANTIES, see the file, "GEM.LICENSE.TERMS" in this distribution. + * WARRANTIES, see the file, "LICENSE.txt" in this distribution. */ #include "m_pd.h" -- cgit v1.2.1