diff options
author | waker <wakeroid@gmail.com> | 2011-02-27 13:17:01 +0100 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2011-02-27 13:17:01 +0100 |
commit | 5643aebece3ebba52eadbc7af3c6b5a60c1006b6 (patch) | |
tree | 439f0d7c7195f2d340392de5a070bad093dc71fc | |
parent | ad384162bb0cbe366c91a1f1bf30c61a79a815d5 (diff) |
removed author and email fields, added single all-purpose copyright field;
added copyright info to all plugins;
updated gtkui to reflect the changes
46 files changed, 1006 insertions, 397 deletions
@@ -608,10 +608,9 @@ typedef struct DB_plugin_s { // though it's much better to fill them with something useful const char *id; // id used for serialization and runtime binding const char *name; // short name - const char *descr; // short description - const char *author; // author's name - const char *email; // author's email - const char *website; // author's website + const char *descr; // short description (what the plugin is doing) + const char *copyright; // copyright notice(s), list of developers, links to original works, etc + const char *website; // plugin website // plugin-specific command interface; can be NULL int (*command) (int cmd, ...); diff --git a/plugins/aac/aac.c b/plugins/aac/aac.c index e55de6b2..71900529 100644 --- a/plugins/aac/aac.c +++ b/plugins/aac/aac.c @@ -1220,10 +1220,27 @@ static DB_decoder_t plugin = { .plugin.version_minor = 0, .plugin.type = DB_PLUGIN_DECODER, .plugin.id = "aac", - .plugin.name = "AAC decoder based on FAAD2", - .plugin.descr = "aac (m4a, mp4, ...) player", - .plugin.author = "Alexey Yakovenko", - .plugin.email = "waker@users.sourceforge.net", + .plugin.name = "AAC player", + .plugin.descr = "plays aac files, supports raw aac files, as well as mp4 container", + .plugin.copyright = + "Copyright (C) 2009-2011 Alexey Yakovenko <waker@users.sourceforge.net>\n" + "\n" + "Uses modified libmp4ff (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com\n" + "\n" + "This program is free software; you can redistribute it and/or\n" + "modify it under the terms of the GNU General Public License\n" + "as published by the Free Software Foundation; either version 2\n" + "of the License, or (at your option) any later version.\n" + "\n" + "This program is distributed in the hope that it will be useful,\n" + "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" + "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" + "GNU General Public License for more details.\n" + "\n" + "You should have received a copy of the GNU General Public License\n" + "along with this program; if not, write to the Free Software\n" + "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" + , .plugin.website = "http://deadbeef.sf.net", .open = aac_open, .init = aac_init, diff --git a/plugins/adplug/plugin.c b/plugins/adplug/plugin.c index 84274ed2..0b53da31 100644 --- a/plugins/adplug/plugin.c +++ b/plugins/adplug/plugin.c @@ -53,8 +53,27 @@ DB_decoder_t adplug_plugin = { .plugin.id = "adplug", .plugin.name = "Adplug player", .plugin.descr = "Adplug player (ADLIB OPL2/OPL3 emulator)", - .plugin.author = "Alexey Yakovenko", - .plugin.email = "waker@users.sourceforge.net", + .plugin.copyright = + "Copyright (C) 2009-2011 Alexey Yakovenko <waker@users.sourceforge.net>\n" + "\n" + "Uses modified AdPlug library\n" + "Copyright (C) 1999 - 2010 Simon Peter, et al.\n" + "http://adplug.sourceforge.net/\n" + "\n" + "This program is free software; you can redistribute it and/or\n" + "modify it under the terms of the GNU General Public License\n" + "as published by the Free Software Foundation; either version 2\n" + "of the License, or (at your option) any later version.\n" + "\n" + "This program is distributed in the hope that it will be useful,\n" + "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" + "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" + "GNU General Public License for more details.\n" + "\n" + "You should have received a copy of the GNU General Public License\n" + "along with this program; if not, write to the Free Software\n" + "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" + , .plugin.website = "http://deadbeef.sf.net", .plugin.start = adplug_start, .plugin.stop = adplug_stop, diff --git a/plugins/alsa/alsa.c b/plugins/alsa/alsa.c index d76d821f..ee0dee86 100644 --- a/plugins/alsa/alsa.c +++ b/plugins/alsa/alsa.c @@ -733,8 +733,23 @@ static DB_output_t plugin = { .plugin.type = DB_PLUGIN_OUTPUT, .plugin.name = "ALSA output plugin", .plugin.descr = "plays sound through linux standard alsa library", - .plugin.author = "Alexey Yakovenko", - .plugin.email = "waker@users.sourceforge.net", + .plugin.copyright = + "Copyright (C) 2009-2011 Alexey Yakovenko <waker@users.sourceforge.net>\n" + "\n" + "This program is free software; you can redistribute it and/or\n" + "modify it under the terms of the GNU General Public License\n" + "as published by the Free Software Foundation; either version 2\n" + "of the License, or (at your option) any later version.\n" + "\n" + "This program is distributed in the hope that it will be useful,\n" + "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" + "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" + "GNU General Public License for more details.\n" + "\n" + "You should have received a copy of the GNU General Public License\n" + "along with this program; if not, write to the Free Software\n" + "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" + , .plugin.website = "http://deadbeef.sf.net", .plugin.start = alsa_start, .plugin.stop = alsa_stop, diff --git a/plugins/ao/plugin.c b/plugins/ao/plugin.c index 52459d8c..b64108df 100644 --- a/plugins/ao/plugin.c +++ b/plugins/ao/plugin.c @@ -343,8 +343,27 @@ static DB_decoder_t plugin = { .plugin.id = "psf", .plugin.name = "Audio Overload plugin", .plugin.descr = "psf, psf2, spu, ssf, minidsf player based on Audio Overload library", - .plugin.author = "Alexey Yakovenko", - .plugin.email = "waker@users.sourceforge.net", + .plugin.copyright = + "Copyright (C) 2009-2011 Alexey Yakovenko <waker@users.sourceforge.net>\n" + "\n" + "Uses modified aosdk-1.4.8 - library for playing .PSF (Sony PlayStation), .SPU (Sony PlayStation), .PSF2 (Sony PlayStation 2), .SSF (Sega Saturn), .DSF (Sega Dreamcast), and .QSF (Capcom QSound) audio file formats,\n" + "http://rbelmont.mameworld.info/?page_id=221\n" + "Copyright © 2007-2009 R. Belmont and Richard Bannister.\n" + "\n" + "This program is free software; you can redistribute it and/or\n" + "modify it under the terms of the GNU General Public License\n" + "as published by the Free Software Foundation; either version 2\n" + "of the License, or (at your option) any later version.\n" + "\n" + "This program is distributed in the hope that it will be useful,\n" + "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" + "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" + "GNU General Public License for more details.\n" + "\n" + "You should have received a copy of the GNU General Public License\n" + "along with this program; if not, write to the Free Software\n" + "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" + , .plugin.website = "http://deadbeef.sf.net", .plugin.start = aoplug_start, .plugin.stop = aoplug_stop, diff --git a/plugins/artwork/artwork.c b/plugins/artwork/artwork.c index aadd6a98..45179edb 100644 --- a/plugins/artwork/artwork.c +++ b/plugins/artwork/artwork.c @@ -824,8 +824,24 @@ static DB_artwork_plugin_t plugin = { .plugin.plugin.id = "artwork", .plugin.plugin.name = "Album Artwork", .plugin.plugin.descr = "Loads album artwork either from local directories or from internet", - .plugin.plugin.author = "Viktor Semykin, Alexey Yakovenko", - .plugin.plugin.email = "thesame.ml@gmail.com, waker@users.sourceforge.net", + .plugin.plugin.copyright = + "Copyright (C) 2009-2011 Alexey Yakovenko <waker@users.sourceforge.net>\n" + "Copyright (C) 2009-2011 Viktor Semykin <thesame.ml@gmail.com>\n" + "\n" + "This program is free software; you can redistribute it and/or\n" + "modify it under the terms of the GNU General Public License\n" + "as published by the Free Software Foundation; either version 2\n" + "of the License, or (at your option) any later version.\n" + "\n" + "This program is distributed in the hope that it will be useful,\n" + "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" + "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" + "GNU General Public License for more details.\n" + "\n" + "You should have received a copy of the GNU General Public License\n" + "along with this program; if not, write to the Free Software\n" + "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" + , .plugin.plugin.website = "http://deadbeef.sf.net", .plugin.plugin.start = artwork_plugin_start, .plugin.plugin.stop = artwork_plugin_stop, diff --git a/plugins/cdda/cdda.c b/plugins/cdda/cdda.c index 6b0bca67..2fe26360 100644 --- a/plugins/cdda/cdda.c +++ b/plugins/cdda/cdda.c @@ -562,8 +562,24 @@ static DB_decoder_t plugin = { .plugin.id = "cda", .plugin.name = "Audio CD player", .plugin.descr = "Audio CD plugin using libcdio and libcddb", - .plugin.author = "Viktor Semykin, Alexey Yakovenko", - .plugin.email = "thesame.ml@gmail.com, waker@users.sourceforge.net", + .plugin.copyright = + "Copyright (C) 2009-2011 Alexey Yakovenko <waker@users.sourceforge.net>\n" + "Copyright (C) 2009-2011 Viktor Semykin <thesame.ml@gmail.com>\n" + "\n" + "This program is free software; you can redistribute it and/or\n" + "modify it under the terms of the GNU General Public License\n" + "as published by the Free Software Foundation; either version 2\n" + "of the License, or (at your option) any later version.\n" + "\n" + "This program is distributed in the hope that it will be useful,\n" + "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" + "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" + "GNU General Public License for more details.\n" + "\n" + "You should have received a copy of the GNU General Public License\n" + "along with this program; if not, write to the Free Software\n" + "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" + , .plugin.website = "http://deadbeef.sf.net", .plugin.configdialog = settings_dlg, .plugin.get_actions = cda_get_actions, diff --git a/plugins/converter/converter.c b/plugins/converter/converter.c index e5f6c6b2..611f5af0 100644 --- a/plugins/converter/converter.c +++ b/plugins/converter/converter.c @@ -816,8 +816,23 @@ static ddb_converter_t plugin = { .misc.plugin.name = "Converter", .misc.plugin.id = "converter", .misc.plugin.descr = "Converts any supported formats to other formats", - .misc.plugin.author = "Alexey Yakovenko", - .misc.plugin.email = "waker@users.sourceforge.net", + .misc.plugin.copyright = + "Copyright (C) 2009-2011 Alexey Yakovenko <waker@users.sourceforge.net>\n" + "\n" + "This program is free software; you can redistribute it and/or\n" + "modify it under the terms of the GNU General Public License\n" + "as published by the Free Software Foundation; either version 2\n" + "of the License, or (at your option) any later version.\n" + "\n" + "This program is distributed in the hope that it will be useful,\n" + "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" + "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" + "GNU General Public License for more details.\n" + "\n" + "You should have received a copy of the GNU General Public License\n" + "along with this program; if not, write to the Free Software\n" + "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" + , .misc.plugin.website = "http://deadbeef.sf.net", .misc.plugin.start = converter_start, .misc.plugin.stop = converter_stop, diff --git a/plugins/converter/convgui.c b/plugins/converter/convgui.c index 60d13b2b..9ccf9299 100644 --- a/plugins/converter/convgui.c +++ b/plugins/converter/convgui.c @@ -1043,9 +1043,24 @@ DB_misc_t plugin = { .plugin.version_minor = 0, .plugin.type = DB_PLUGIN_MISC, .plugin.name = "Converter GTK UI", - .plugin.descr = "User interface to Converter plugin using GTK2", - .plugin.author = "Alexey Yakovenko", - .plugin.email = "waker@users.sourceforge.net", + .plugin.descr = "GTK2 User interface for the Converter plugin", + .plugin.copyright = + "Copyright (C) 2009-2011 Alexey Yakovenko <waker@users.sourceforge.net>\n" + "\n" + "This program is free software; you can redistribute it and/or\n" + "modify it under the terms of the GNU General Public License\n" + "as published by the Free Software Foundation; either version 2\n" + "of the License, or (at your option) any later version.\n" + "\n" + "This program is distributed in the hope that it will be useful,\n" + "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" + "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" + "GNU General Public License for more details.\n" + "\n" + "You should have received a copy of the GNU General Public License\n" + "along with this program; if not, write to the Free Software\n" + "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" + , .plugin.website = "http://deadbeef.sf.net", .plugin.get_actions = convgui_get_actions, .plugin.connect = convgui_connect, diff --git a/plugins/dca/dcaplug.c b/plugins/dca/dcaplug.c index 77e232d1..c14032e1 100644 --- a/plugins/dca/dcaplug.c +++ b/plugins/dca/dcaplug.c @@ -653,9 +653,27 @@ static DB_decoder_t plugin = { .plugin.type = DB_PLUGIN_DECODER, .plugin.id = "dts", .plugin.name = "dts decoder", - .plugin.descr = "dts decoder using libdca from VLC project", - .plugin.author = "Alexey Yakovenko", - .plugin.email = "waker@users.sourceforge.net", + .plugin.descr = "plays dts-encoded files using libdca from VLC project", + .plugin.copyright = + "Copyright (C) 2009-2011 Alexey Yakovenko <waker@users.sourceforge.net>\n" + "\n" + "Uses modified libdca from VLC Player project,\n" + "developed by Gildas Bazin <gbazin@videolan.org>" + "\n" + "This program is free software; you can redistribute it and/or\n" + "modify it under the terms of the GNU General Public License\n" + "as published by the Free Software Foundation; either version 2\n" + "of the License, or (at your option) any later version.\n" + "\n" + "This program is distributed in the hope that it will be useful,\n" + "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" + "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" + "GNU General Public License for more details.\n" + "\n" + "You should have received a copy of the GNU General Public License\n" + "along with this program; if not, write to the Free Software\n" + "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" + , .plugin.website = "http://deadbeef.sf.net", .plugin.start = dts_start, .plugin.stop = dts_stop, diff --git a/plugins/dsp_libsrc/src.c b/plugins/dsp_libsrc/src.c index 5c32544c..be9c350e 100644 --- a/plugins/dsp_libsrc/src.c +++ b/plugins/dsp_libsrc/src.c @@ -252,9 +252,24 @@ static DB_dsp_t plugin = { .plugin.type = DB_PLUGIN_DSP, .plugin.id = "SRC", .plugin.name = "Resampler (Secret Rabbit Code)", - .plugin.descr = "Samplerate converter using libsamplerate", - .plugin.author = "Alexey Yakovenko", - .plugin.email = "waker@users.sf.net", + .plugin.descr = "High quality samplerate converter using libsamplerate, http://www.mega-nerd.com/SRC/", + .plugin.copyright = + "Copyright (C) 2009-2011 Alexey Yakovenko <waker@users.sourceforge.net>\n" + "\n" + "This program is free software; you can redistribute it and/or\n" + "modify it under the terms of the GNU General Public License\n" + "as published by the Free Software Foundation; either version 2\n" + "of the License, or (at your option) any later version.\n" + "\n" + "This program is distributed in the hope that it will be useful,\n" + "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" + "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" + "GNU General Public License for more details.\n" + "\n" + "You should have received a copy of the GNU General Public License\n" + "along with this program; if not, write to the Free Software\n" + "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" + , .plugin.website = "http://deadbeef.sf.net", .num_params = ddb_src_num_params, .get_param_name = ddb_src_get_param_name, diff --git a/plugins/dsp_soundtouch/plugin.c b/plugins/dsp_soundtouch/plugin.c index 6997a629..15f3a321 100644 --- a/plugins/dsp_soundtouch/plugin.c +++ b/plugins/dsp_soundtouch/plugin.c @@ -273,8 +273,25 @@ static DB_dsp_t plugin = { .plugin.id = "soundtouch", .plugin.name = "Soundtouch", .plugin.descr = "Tempo/Pitch/Rate changer using SoundTouch Library (http://www.surina.net/soundtouch)", - .plugin.author = "Alexey Yakovenko", - .plugin.email = "waker@users.sf.net", + .plugin.copyright = + "Copyright (C) 2009-2011 Alexey Yakovenko <waker@users.sourceforge.net>\n" + "\n" + "uses SoundTouch Library, (C) Olli Parviainen" + "\n" + "This program is free software; you can redistribute it and/or\n" + "modify it under the terms of the GNU General Public License\n" + "as published by the Free Software Foundation; either version 2\n" + "of the License, or (at your option) any later version.\n" + "\n" + "This program is distributed in the hope that it will be useful,\n" + "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" + "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" + "GNU General Public License for more details.\n" + "\n" + "You should have received a copy of the GNU General Public License\n" + "along with this program; if not, write to the Free Software\n" + "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" + , .plugin.website = "http://deadbeef.sf.net", .num_params = st_num_params, .get_param_name = st_get_param_name, diff --git a/plugins/dumb/cdumb.c b/plugins/dumb/cdumb.c index d0021403..1bbd71c2 100644 --- a/plugins/dumb/cdumb.c +++ b/plugins/dumb/cdumb.c @@ -849,8 +849,27 @@ static DB_decoder_t plugin = { .plugin.id = "stddumb", .plugin.name = "DUMB module player", .plugin.descr = "module player based on DUMB library", - .plugin.author = "Alexey Yakovenko", - .plugin.email = "waker@users.sourceforge.net", + .plugin.copyright = + "Copyright (C) 2009-2011 Alexey Yakovenko <waker@users.sourceforge.net>\n" + "\n" + "Uses a fork of DUMB (Dynamic Universal Music Bibliotheque), Version 0.9.3\n" + "Copyright (C) 2001-2005 Ben Davis, Robert J Ohannessian and Julien Cugniere\n" + "Uses code from kode54's foobar2000 plugin, http://kode54.foobar2000.org/\n" + "\n" + "This program is free software; you can redistribute it and/or\n" + "modify it under the terms of the GNU General Public License\n" + "as published by the Free Software Foundation; either version 2\n" + "of the License, or (at your option) any later version.\n" + "\n" + "This program is distributed in the hope that it will be useful,\n" + "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" + "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" + "GNU General Public License for more details.\n" + "\n" + "You should have received a copy of the GNU General Public License\n" + "along with this program; if not, write to the Free Software\n" + "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" + , .plugin.website = "http://deadbeef.sf.net", .plugin.start = cgme_start, .plugin.stop = cgme_stop, diff --git a/plugins/ffap/ffap.c b/plugins/ffap/ffap.c index f0c9355a..2559ea27 100644 --- a/plugins/ffap/ffap.c +++ b/plugins/ffap/ffap.c @@ -1968,8 +1968,26 @@ static DB_decoder_t plugin = { .plugin.id = "ffap", .plugin.name = "Monkey's Audio (APE) decoder", .plugin.descr = "APE player based on code from libavc and rockbox", - .plugin.author = "Alexey Yakovenko", - .plugin.email = "waker@users.sourceforge.net", + .plugin.copyright = + "Copyright (C) 2009-2011 Alexey Yakovenko <waker@users.sourceforge.net>\n" + "\n" + "based on apedec from FFMpeg Copyright (c) 2007 Benjamin Zores <ben@geexbox.org>\n" + "based upon libdemac from Dave Chapman.\n" + "\n" + "This program is free software; you can redistribute it and/or\n" + "modify it under the terms of the GNU General Public License\n" + "as published by the Free Software Foundation; either version 2\n" + "of the License, or (at your option) any later version.\n" + "\n" + "This program is distributed in the hope that it will be useful,\n" + "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" + "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" + "GNU General Public License for more details.\n" + "\n" + "You should have received a copy of the GNU General Public License\n" + "along with this program; if not, write to the Free Software\n" + "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" + , .plugin.website = "http://deadbeef.sf.net", .open = ffap_open, .init = ffap_init, diff --git a/plugins/ffmpeg/ffmpeg.c b/plugins/ffmpeg/ffmpeg.c index c155b04a..8d718546 100644 --- a/plugins/ffmpeg/ffmpeg.c +++ b/plugins/ffmpeg/ffmpeg.c @@ -754,8 +754,23 @@ static DB_decoder_t plugin = { .plugin.id = "ffmpeg", .plugin.name = "FFMPEG audio player", .plugin.descr = "decodes audio formats using FFMPEG libavcodec", - .plugin.author = "Alexey Yakovenko", - .plugin.email = "waker@users.sourceforge.net", + .plugin.copyright = + "Copyright (C) 2009-2011 Alexey Yakovenko <waker@users.sourceforge.net>\n" + "\n" + "This program is free software; you can redistribute it and/or\n" + "modify it under the terms of the GNU General Public License\n" + "as published by the Free Software Foundation; either version 2\n" + "of the License, or (at your option) any later version.\n" + "\n" + "This program is distributed in the hope that it will be useful,\n" + "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" + "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" + "GNU General Public License for more details.\n" + "\n" + "You should have received a copy of the GNU General Public License\n" + "along with this program; if not, write to the Free Software\n" + "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" + , .plugin.website = "http://deadbeef.sf.net", .plugin.start = ffmpeg_start, .plugin.stop = ffmpeg_stop, diff --git a/plugins/flac/flac.c b/plugins/flac/flac.c index 3b082068..44311762 100644 --- a/plugins/flac/flac.c +++ b/plugins/flac/flac.c @@ -901,8 +901,23 @@ static DB_decoder_t plugin = { .plugin.id = "stdflac", .plugin.name = "FLAC decoder", .plugin.descr = "FLAC decoder using libFLAC", - .plugin.author = "Alexey Yakovenko", - .plugin.email = "waker@users.sourceforge.net", + .plugin.copyright = + "Copyright (C) 2009-2011 Alexey Yakovenko <waker@users.sourceforge.net>\n" + "\n" + "This program is free software; you can redistribute it and/or\n" + "modify it under the terms of the GNU General Public License\n" + "as published by the Free Software Foundation; either version 2\n" + "of the License, or (at your option) any later version.\n" + "\n" + "This program is distributed in the hope that it will be useful,\n" + "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" + "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" + "GNU General Public License for more details.\n" + "\n" + "You should have received a copy of the GNU General Public License\n" + "along with this program; if not, write to the Free Software\n" + "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" + , .plugin.website = "http://deadbeef.sf.net", .open = cflac_open, .init = cflac_init, diff --git a/plugins/gme/cgme.c b/plugins/gme/cgme.c index dd2124a2..3934f930 100644 --- a/plugins/gme/cgme.c +++ b/plugins/gme/cgme.c @@ -414,8 +414,25 @@ static DB_decoder_t plugin = { .plugin.id = "stdgme", .plugin.name = "Game_Music_Emu decoder", .plugin.descr = "chiptune music player based on GME", - .plugin.author = "Alexey Yakovenko", - .plugin.email = "waker@users.sourceforge.net", + .plugin.copyright = + "Copyright (C) 2009-2011 Alexey Yakovenko <waker@users.sourceforge.net>\n" + "\n" + "Uses Game-Music-Emu v0.5.5 by Shay Green <gblargg@gmail.com>, http://www.slack.net/~ant/libs\n" + "\n" + "This program is free software; you can redistribute it and/or\n" + "modify it under the terms of the GNU General Public License\n" + "as published by the Free Software Foundation; either version 2\n" + "of the License, or (at your option) any later version.\n" + "\n" + "This program is distributed in the hope that it will be useful,\n" + "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" + "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" + "GNU General Public License for more details.\n" + "\n" + "You should have received a copy of the GNU General Public License\n" + "along with this program; if not, write to the Free Software\n" + "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" + , .plugin.website = "http://deadbeef.sf.net", .plugin.start = cgme_start, .plugin.stop = cgme_stop, diff --git a/plugins/gtkui/callbacks.c b/plugins/gtkui/callbacks.c index 9c95c29d..1fe82216 100644 --- a/plugins/gtkui/callbacks.c +++ b/plugins/gtkui/callbacks.c @@ -1194,3 +1194,13 @@ on_sortfmt_activate (GtkEntry *entry, } + +GtkWidget* +create_plugin_weblink (gchar *widget_name, gchar *string1, gchar *string2, + gint int1, gint int2) +{ + GtkWidget *link = gtk_link_button_new_with_label ("", "WWW"); + gtk_widget_set_sensitive (link, FALSE); + return link; +} + diff --git a/plugins/gtkui/callbacks.h b/plugins/gtkui/callbacks.h index 2de5e663..297a605a 100644 --- a/plugins/gtkui/callbacks.h +++ b/plugins/gtkui/callbacks.h @@ -1058,3 +1058,11 @@ on_dsp_preset_save_clicked (GtkButton *button, void on_dsp_preset_load_clicked (GtkButton *button, gpointer user_data); + +void +on_plug_copyright_clicked (GtkButton *button, + gpointer user_data); + +GtkWidget* +create_plugin_weblink (gchar *widget_name, gchar *string1, gchar *string2, + gint int1, gint int2); diff --git a/plugins/gtkui/deadbeef.glade b/plugins/gtkui/deadbeef.glade index 1b320bd6..c9ef1312 100644 --- a/plugins/gtkui/deadbeef.glade +++ b/plugins/gtkui/deadbeef.glade @@ -5102,249 +5102,138 @@ SOCKS5_HOSTNAME</property> <property name="spacing">8</property> <child> - <widget class="GtkHBox" id="hbox16"> + <widget class="GtkScrolledWindow" id="scrolledwindow8"> <property name="visible">True</property> - <property name="homogeneous">False</property> - <property name="spacing">8</property> - - <child> - <widget class="GtkLabel" id="label11"> - <property name="visible">True</property> - <property name="label" translatable="yes">Description:</property> - <property name="use_underline">False</property> - <property name="use_markup">False</property> - <property name="justify">GTK_JUSTIFY_LEFT</property> - <property name="wrap">False</property> - <property name="selectable">False</property> - <property name="xalign">0</property> - <property name="yalign">0.5</property> - <property name="xpad">0</property> - <property name="ypad">0</property> - <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> - <property name="width_chars">-1</property> - <property name="single_line_mode">False</property> - <property name="angle">0</property> - </widget> - <packing> - <property name="padding">0</property> - <property name="expand">False</property> - <property name="fill">False</property> - </packing> - </child> + <property name="can_focus">True</property> + <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property> + <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property> + <property name="shadow_type">GTK_SHADOW_IN</property> + <property name="window_placement">GTK_CORNER_TOP_LEFT</property> <child> - <widget class="GtkEntry" id="pref_plugin_descr"> + <widget class="GtkTextView" id="plug_description"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="editable">False</property> - <property name="visibility">True</property> - <property name="max_length">0</property> + <property name="overwrite">False</property> + <property name="accepts_tab">True</property> + <property name="justification">GTK_JUSTIFY_LEFT</property> + <property name="wrap_mode">GTK_WRAP_NONE</property> + <property name="cursor_visible">False</property> + <property name="pixels_above_lines">0</property> + <property name="pixels_below_lines">0</property> + <property name="pixels_inside_wrap">0</property> + <property name="left_margin">0</property> + <property name="right_margin">0</property> + <property name="indent">0</property> <property name="text" translatable="yes"></property> - <property name="has_frame">True</property> - <property name="invisible_char">●</property> - <property name="activates_default">False</property> </widget> - <packing> - <property name="padding">0</property> - <property name="expand">True</property> - <property name="fill">True</property> - </packing> </child> </widget> <packing> <property name="padding">0</property> - <property name="expand">False</property> - <property name="fill">False</property> + <property name="expand">True</property> + <property name="fill">True</property> </packing> </child> <child> - <widget class="GtkHBox" id="hbox17"> + <widget class="GtkHBox" id="hbox20"> <property name="visible">True</property> <property name="homogeneous">False</property> - <property name="spacing">8</property> - - <child> - <widget class="GtkLabel" id="label12"> - <property name="visible">True</property> - <property name="label" translatable="yes">Author(s):</property> - <property name="use_underline">False</property> - <property name="use_markup">False</property> - <property name="justify">GTK_JUSTIFY_LEFT</property> - <property name="wrap">False</property> - <property name="selectable">False</property> - <property name="xalign">0</property> - <property name="yalign">0.5</property> - <property name="xpad">0</property> - <property name="ypad">0</property> - <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> - <property name="width_chars">-1</property> - <property name="single_line_mode">False</property> - <property name="angle">0</property> - </widget> - <packing> - <property name="padding">0</property> - <property name="expand">False</property> - <property name="fill">False</property> - </packing> - </child> + <property name="spacing">0</property> <child> - <widget class="GtkEntry" id="pref_plugin_author"> + <widget class="GtkButton" id="configure_plugin"> <property name="visible">True</property> + <property name="sensitive">False</property> <property name="can_focus">True</property> - <property name="editable">False</property> - <property name="visibility">True</property> - <property name="max_length">0</property> - <property name="text" translatable="yes"></property> - <property name="has_frame">True</property> - <property name="invisible_char">●</property> - <property name="activates_default">False</property> - </widget> - <packing> - <property name="padding">0</property> - <property name="expand">True</property> - <property name="fill">True</property> - </packing> - </child> - </widget> - <packing> - <property name="padding">0</property> - <property name="expand">False</property> - <property name="fill">False</property> - </packing> - </child> - - <child> - <widget class="GtkHBox" id="hbox18"> - <property name="visible">True</property> - <property name="homogeneous">False</property> - <property name="spacing">8</property> - - <child> - <widget class="GtkLabel" id="label13"> - <property name="visible">True</property> - <property name="label" translatable="yes">Email:</property> - <property name="use_underline">False</property> - <property name="use_markup">False</property> - <property name="justify">GTK_JUSTIFY_LEFT</property> - <property name="wrap">False</property> - <property name="selectable">False</property> - <property name="xalign">0</property> - <property name="yalign">0.5</property> - <property name="xpad">0</property> - <property name="ypad">0</property> - <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> - <property name="width_chars">-1</property> - <property name="single_line_mode">False</property> - <property name="angle">0</property> - </widget> - <packing> - <property name="padding">0</property> - <property name="expand">False</property> - <property name="fill">False</property> - </packing> - </child> + <property name="relief">GTK_RELIEF_NORMAL</property> + <property name="focus_on_click">True</property> + <signal name="clicked" handler="on_configure_plugin_clicked" last_modification_time="Tue, 01 Dec 2009 16:54:36 GMT"/> - <child> - <widget class="GtkEntry" id="pref_plugin_email"> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="editable">False</property> - <property name="visibility">True</property> - <property name="max_length">0</property> - <property name="text" translatable="yes"></property> - <property name="has_frame">True</property> - <property name="invisible_char">●</property> - <property name="activates_default">False</property> - </widget> - <packing> - <property name="padding">0</property> - <property name="expand">True</property> - <property name="fill">True</property> - </packing> - </child> - </widget> - <packing> - <property name="padding">0</property> - <property name="expand">False</property> - <property name="fill">False</property> - </packing> - </child> + <child> + <widget class="GtkAlignment" id="alignment15"> + <property name="visible">True</property> + <property name="xalign">0.5</property> + <property name="yalign">0.5</property> + <property name="xscale">0</property> + <property name="yscale">0</property> + <property name="top_padding">0</property> + <property name="bottom_padding">0</property> + <property name="left_padding">0</property> + <property name="right_padding">0</property> - <child> - <widget class="GtkHBox" id="hbox19"> - <property name="visible">True</property> - <property name="homogeneous">False</property> - <property name="spacing">8</property> + <child> + <widget class="GtkHBox" id="hbox56"> + <property name="visible">True</property> + <property name="homogeneous">False</property> + <property name="spacing">2</property> - <child> - <widget class="GtkLabel" id="label14"> - <property name="visible">True</property> - <property name="label" translatable="yes">Website:</property> - <property name="use_underline">False</property> - <property name="use_markup">False</property> - <property name="justify">GTK_JUSTIFY_LEFT</property> - <property name="wrap">False</property> - <property name="selectable">False</property> - <property name="xalign">0</property> - <property name="yalign">0.5</property> - <property name="xpad">0</property> - <property name="ypad">0</property> - <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> - <property name="width_chars">-1</property> - <property name="single_line_mode">False</property> - <property name="angle">0</property> - </widget> - <packing> - <property name="padding">0</property> - <property name="expand">False</property> - <property name="fill">False</property> - </packing> - </child> + <child> + <widget class="GtkImage" id="image394"> + <property name="visible">True</property> + <property name="stock">gtk-preferences</property> + <property name="icon_size">4</property> + <property name="xalign">0.5</property> + <property name="yalign">0.5</property> + <property name="xpad">0</property> + <property name="ypad">0</property> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">False</property> + <property name="fill">False</property> + </packing> + </child> - <child> - <widget class="GtkEntry" id="pref_plugin_website"> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="editable">False</property> - <property name="visibility">True</property> - <property name="max_length">0</property> - <property name="text" translatable="yes"></property> - <property name="has_frame">True</property> - <property name="invisible_char">●</property> - <property name="activates_default">False</property> + <child> + <widget class="GtkLabel" id="label92"> + <property name="visible">True</property> + <property name="label" translatable="yes">Configure</property> + <property name="use_underline">True</property> + <property name="use_markup">False</property> + <property name="justify">GTK_JUSTIFY_LEFT</property> + <property name="wrap">False</property> + <property name="selectable">False</property> + <property name="xalign">0.5</property> + <property name="yalign">0.5</property> + <property name="xpad">0</property> + <property name="ypad">0</property> + <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> + <property name="width_chars">-1</property> + <property name="single_line_mode">False</property> + <property name="angle">0</property> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">False</property> + <property name="fill">False</property> + </packing> + </child> + </widget> + </child> + </widget> + </child> </widget> <packing> <property name="padding">0</property> <property name="expand">True</property> - <property name="fill">True</property> + <property name="fill">False</property> </packing> </child> - </widget> - <packing> - <property name="padding">0</property> - <property name="expand">False</property> - <property name="fill">False</property> - </packing> - </child> - - <child> - <widget class="GtkHBox" id="hbox20"> - <property name="visible">True</property> - <property name="homogeneous">False</property> - <property name="spacing">0</property> <child> - <widget class="GtkButton" id="configure_plugin"> + <widget class="GtkButton" id="plug_copyright"> <property name="visible">True</property> + <property name="sensitive">False</property> <property name="can_focus">True</property> <property name="relief">GTK_RELIEF_NORMAL</property> <property name="focus_on_click">True</property> - <signal name="clicked" handler="on_configure_plugin_clicked" last_modification_time="Tue, 01 Dec 2009 16:54:36 GMT"/> + <signal name="clicked" handler="on_plug_copyright_clicked" last_modification_time="Sun, 27 Feb 2011 10:24:22 GMT"/> <child> - <widget class="GtkAlignment" id="alignment15"> + <widget class="GtkAlignment" id="alignment20"> <property name="visible">True</property> <property name="xalign">0.5</property> <property name="yalign">0.5</property> @@ -5356,15 +5245,15 @@ SOCKS5_HOSTNAME</property> <property name="right_padding">0</property> <child> - <widget class="GtkHBox" id="hbox56"> + <widget class="GtkHBox" id="hbox88"> <property name="visible">True</property> <property name="homogeneous">False</property> <property name="spacing">2</property> <child> - <widget class="GtkImage" id="image394"> + <widget class="GtkImage" id="image521"> <property name="visible">True</property> - <property name="stock">gtk-preferences</property> + <property name="stock">gtk-about</property> <property name="icon_size">4</property> <property name="xalign">0.5</property> <property name="yalign">0.5</property> @@ -5379,9 +5268,9 @@ SOCKS5_HOSTNAME</property> </child> <child> - <widget class="GtkLabel" id="label92"> + <widget class="GtkLabel" id="label117"> <property name="visible">True</property> - <property name="label" translatable="yes">Configure</property> + <property name="label" translatable="yes">Copyright</property> <property name="use_underline">True</property> <property name="use_markup">False</property> <property name="justify">GTK_JUSTIFY_LEFT</property> @@ -5413,6 +5302,21 @@ SOCKS5_HOSTNAME</property> <property name="fill">False</property> </packing> </child> + + <child> + <widget class="Custom" id="weblink"> + <property name="visible">True</property> + <property name="creation_function">create_plugin_weblink</property> + <property name="int1">0</property> + <property name="int2">0</property> + <property name="last_modification_time">Sun, 27 Feb 2011 11:39:00 GMT</property> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">True</property> + <property name="fill">False</property> + </packing> + </child> </widget> <packing> <property name="padding">0</property> diff --git a/plugins/gtkui/gtkui.c b/plugins/gtkui/gtkui.c index d49be24c..a5a6c696 100644 --- a/plugins/gtkui/gtkui.c +++ b/plugins/gtkui/gtkui.c @@ -1272,8 +1272,23 @@ static ddb_gtkui_t plugin = { .gui.plugin.id = "gtkui", .gui.plugin.name = "Standard GTK2 user interface", .gui.plugin.descr = "Default DeaDBeeF GUI", - .gui.plugin.author = "Alexey Yakovenko", - .gui.plugin.email = "waker@users.sourceforge.net", + .gui.plugin.copyright = + "Copyright (C) 2009-2011 Alexey Yakovenko <waker@users.sourceforge.net>\n" + "\n" + "This program is free software; you can redistribute it and/or\n" + "modify it under the terms of the GNU General Public License\n" + "as published by the Free Software Foundation; either version 2\n" + "of the License, or (at your option) any later version.\n" + "\n" + "This program is distributed in the hope that it will be useful,\n" + "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" + "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" + "GNU General Public License for more details.\n" + "\n" + "You should have received a copy of the GNU General Public License\n" + "along with this program; if not, write to the Free Software\n" + "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" + , .gui.plugin.website = "http://deadbeef.sf.net", .gui.plugin.start = gtkui_start, .gui.plugin.stop = gtkui_stop, diff --git a/plugins/gtkui/interface.c b/plugins/gtkui/interface.c index b694214a..214cca9b 100644 --- a/plugins/gtkui/interface.c +++ b/plugins/gtkui/interface.c @@ -1751,24 +1751,20 @@ create_prefwin (void) GtkWidget *scrolledwindow2; GtkWidget *pref_pluginlist; GtkWidget *vbox12; - GtkWidget *hbox16; - GtkWidget *label11; - GtkWidget *pref_plugin_descr; - GtkWidget *hbox17; - GtkWidget *label12; - GtkWidget *pref_plugin_author; - GtkWidget *hbox18; - GtkWidget *label13; - GtkWidget *pref_plugin_email; - GtkWidget *hbox19; - GtkWidget *label14; - GtkWidget *pref_plugin_website; + GtkWidget *scrolledwindow8; + GtkWidget *plug_description; GtkWidget *hbox20; GtkWidget *configure_plugin; GtkWidget *alignment15; GtkWidget *hbox56; GtkWidget *image394; GtkWidget *label92; + GtkWidget *plug_copyright; + GtkWidget *alignment20; + GtkWidget *hbox88; + GtkWidget *image521; + GtkWidget *label117; + GtkWidget *weblink; GtkWidget *label3; GtkWidget *dialog_action_area2; GtkWidget *closebutton1; @@ -2513,65 +2509,17 @@ create_prefwin (void) gtk_paned_pack2 (GTK_PANED (hpaned1), vbox12, TRUE, TRUE); gtk_container_set_border_width (GTK_CONTAINER (vbox12), 12); - hbox16 = gtk_hbox_new (FALSE, 8); - gtk_widget_show (hbox16); - gtk_box_pack_start (GTK_BOX (vbox12), hbox16, FALSE, FALSE, 0); - - label11 = gtk_label_new (_("Description:")); - gtk_widget_show (label11); - gtk_box_pack_start (GTK_BOX (hbox16), label11, FALSE, FALSE, 0); - gtk_misc_set_alignment (GTK_MISC (label11), 0, 0.5); - - pref_plugin_descr = gtk_entry_new (); - gtk_widget_show (pref_plugin_descr); - gtk_box_pack_start (GTK_BOX (hbox16), pref_plugin_descr, TRUE, TRUE, 0); - gtk_editable_set_editable (GTK_EDITABLE (pref_plugin_descr), FALSE); - gtk_entry_set_invisible_char (GTK_ENTRY (pref_plugin_descr), 9679); - - hbox17 = gtk_hbox_new (FALSE, 8); - gtk_widget_show (hbox17); - gtk_box_pack_start (GTK_BOX (vbox12), hbox17, FALSE, FALSE, 0); - - label12 = gtk_label_new (_("Author(s):")); - gtk_widget_show (label12); - gtk_box_pack_start (GTK_BOX (hbox17), label12, FALSE, FALSE, 0); - gtk_misc_set_alignment (GTK_MISC (label12), 0, 0.5); - - pref_plugin_author = gtk_entry_new (); - gtk_widget_show (pref_plugin_author); - gtk_box_pack_start (GTK_BOX (hbox17), pref_plugin_author, TRUE, TRUE, 0); - gtk_editable_set_editable (GTK_EDITABLE (pref_plugin_author), FALSE); - gtk_entry_set_invisible_char (GTK_ENTRY (pref_plugin_author), 9679); - - hbox18 = gtk_hbox_new (FALSE, 8); - gtk_widget_show (hbox18); - gtk_box_pack_start (GTK_BOX (vbox12), hbox18, FALSE, FALSE, 0); - - label13 = gtk_label_new (_("Email:")); - gtk_widget_show (label13); - gtk_box_pack_start (GTK_BOX (hbox18), label13, FALSE, FALSE, 0); - gtk_misc_set_alignment (GTK_MISC (label13), 0, 0.5); - - pref_plugin_email = gtk_entry_new (); - gtk_widget_show (pref_plugin_email); - gtk_box_pack_start (GTK_BOX (hbox18), pref_plugin_email, TRUE, TRUE, 0); - gtk_editable_set_editable (GTK_EDITABLE (pref_plugin_email), FALSE); - gtk_entry_set_invisible_char (GTK_ENTRY (pref_plugin_email), 9679); - - hbox19 = gtk_hbox_new (FALSE, 8); - gtk_widget_show (hbox19); - gtk_box_pack_start (GTK_BOX (vbox12), hbox19, FALSE, FALSE, 0); - - label14 = gtk_label_new (_("Website:")); - gtk_widget_show (label14); - gtk_box_pack_start (GTK_BOX (hbox19), label14, FALSE, FALSE, 0); - gtk_misc_set_alignment (GTK_MISC (label14), 0, 0.5); - - pref_plugin_website = gtk_entry_new (); - gtk_widget_show (pref_plugin_website); - gtk_box_pack_start (GTK_BOX (hbox19), pref_plugin_website, TRUE, TRUE, 0); - gtk_editable_set_editable (GTK_EDITABLE (pref_plugin_website), FALSE); - gtk_entry_set_invisible_char (GTK_ENTRY (pref_plugin_website), 9679); + scrolledwindow8 = gtk_scrolled_window_new (NULL, NULL); + gtk_widget_show (scrolledwindow8); + gtk_box_pack_start (GTK_BOX (vbox12), scrolledwindow8, TRUE, TRUE, 0); + gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow8), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); + gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow8), GTK_SHADOW_IN); + + plug_description = gtk_text_view_new (); + gtk_widget_show (plug_description); + gtk_container_add (GTK_CONTAINER (scrolledwindow8), plug_description); + gtk_text_view_set_editable (GTK_TEXT_VIEW (plug_description), FALSE); + gtk_text_view_set_cursor_visible (GTK_TEXT_VIEW (plug_description), FALSE); hbox20 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox20); @@ -2580,6 +2528,7 @@ create_prefwin (void) configure_plugin = gtk_button_new (); gtk_widget_show (configure_plugin); gtk_box_pack_start (GTK_BOX (hbox20), configure_plugin, TRUE, FALSE, 0); + gtk_widget_set_sensitive (configure_plugin, FALSE); alignment15 = gtk_alignment_new (0.5, 0.5, 0, 0); gtk_widget_show (alignment15); @@ -2597,6 +2546,33 @@ create_prefwin (void) gtk_widget_show (label92); gtk_box_pack_start (GTK_BOX (hbox56), label92, FALSE, FALSE, 0); + plug_copyright = gtk_button_new (); + gtk_widget_show (plug_copyright); + gtk_box_pack_start (GTK_BOX (hbox20), plug_copyright, TRUE, FALSE, 0); + gtk_widget_set_sensitive (plug_copyright, FALSE); + + alignment20 = gtk_alignment_new (0.5, 0.5, 0, 0); + gtk_widget_show (alignment20); + gtk_container_add (GTK_CONTAINER (plug_copyright), alignment20); + + hbox88 = gtk_hbox_new (FALSE, 2); + gtk_widget_show (hbox88); + gtk_container_add (GTK_CONTAINER (alignment20), hbox88); + + image521 = gtk_image_new_from_stock ("gtk-about", GTK_ICON_SIZE_BUTTON); + gtk_widget_show (image521); + gtk_box_pack_start (GTK_BOX (hbox88), image521, FALSE, FALSE, 0); + + label117 = gtk_label_new_with_mnemonic (_("Copyright")); + gtk_widget_show (label117); + gtk_box_pack_start (GTK_BOX (hbox88), label117, FALSE, FALSE, 0); + + weblink = create_plugin_weblink ("weblink", "", "", 0, 0); + gtk_widget_show (weblink); + gtk_box_pack_start (GTK_BOX (hbox20), weblink, TRUE, FALSE, 0); + GTK_WIDGET_UNSET_FLAGS (weblink, GTK_CAN_FOCUS); + GTK_WIDGET_UNSET_FLAGS (weblink, GTK_CAN_DEFAULT); + label3 = gtk_label_new (_("Plugins")); gtk_widget_show (label3); gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook), 7), label3); @@ -2791,6 +2767,9 @@ create_prefwin (void) g_signal_connect ((gpointer) configure_plugin, "clicked", G_CALLBACK (on_configure_plugin_clicked), NULL); + g_signal_connect ((gpointer) plug_copyright, "clicked", + G_CALLBACK (on_plug_copyright_clicked), + NULL); /* Store pointers to all widgets, for use by lookup_widget(). */ GLADE_HOOKUP_OBJECT_NO_REF (prefwin, prefwin, "prefwin"); @@ -2946,24 +2925,20 @@ create_prefwin (void) GLADE_HOOKUP_OBJECT (prefwin, scrolledwindow2, "scrolledwindow2"); GLADE_HOOKUP_OBJECT (prefwin, pref_pluginlist, "pref_pluginlist"); GLADE_HOOKUP_OBJECT (prefwin, vbox12, "vbox12"); - GLADE_HOOKUP_OBJECT (prefwin, hbox16, "hbox16"); - GLADE_HOOKUP_OBJECT (prefwin, label11, "label11"); - GLADE_HOOKUP_OBJECT (prefwin, pref_plugin_descr, "pref_plugin_descr"); - GLADE_HOOKUP_OBJECT (prefwin, hbox17, "hbox17"); - GLADE_HOOKUP_OBJECT (prefwin, label12, "label12"); - GLADE_HOOKUP_OBJECT (prefwin, pref_plugin_author, "pref_plugin_author"); - GLADE_HOOKUP_OBJECT (prefwin, hbox18, "hbox18"); - GLADE_HOOKUP_OBJECT (prefwin, label13, "label13"); - GLADE_HOOKUP_OBJECT (prefwin, pref_plugin_email, "pref_plugin_email"); - GLADE_HOOKUP_OBJECT (prefwin, hbox19, "hbox19"); - GLADE_HOOKUP_OBJECT (prefwin, label14, "label14"); - GLADE_HOOKUP_OBJECT (prefwin, pref_plugin_website, "pref_plugin_website"); + GLADE_HOOKUP_OBJECT (prefwin, scrolledwindow8, "scrolledwindow8"); + GLADE_HOOKUP_OBJECT (prefwin, plug_description, "plug_description"); GLADE_HOOKUP_OBJECT (prefwin, hbox20, "hbox20"); GLADE_HOOKUP_OBJECT (prefwin, configure_plugin, "configure_plugin"); GLADE_HOOKUP_OBJECT (prefwin, alignment15, "alignment15"); GLADE_HOOKUP_OBJECT (prefwin, hbox56, "hbox56"); GLADE_HOOKUP_OBJECT (prefwin, image394, "image394"); GLADE_HOOKUP_OBJECT (prefwin, label92, "label92"); + GLADE_HOOKUP_OBJECT (prefwin, plug_copyright, "plug_copyright"); + GLADE_HOOKUP_OBJECT (prefwin, alignment20, "alignment20"); + GLADE_HOOKUP_OBJECT (prefwin, hbox88, "hbox88"); + GLADE_HOOKUP_OBJECT (prefwin, image521, "image521"); + GLADE_HOOKUP_OBJECT (prefwin, label117, "label117"); + GLADE_HOOKUP_OBJECT (prefwin, weblink, "weblink"); GLADE_HOOKUP_OBJECT (prefwin, label3, "label3"); GLADE_HOOKUP_OBJECT_NO_REF (prefwin, dialog_action_area2, "dialog_action_area2"); GLADE_HOOKUP_OBJECT (prefwin, closebutton1, "closebutton1"); diff --git a/plugins/gtkui/prefwin.c b/plugins/gtkui/prefwin.c index b27af570..09fb62eb 100644 --- a/plugins/gtkui/prefwin.c +++ b/plugins/gtkui/prefwin.c @@ -758,23 +758,41 @@ on_pref_pluginlist_cursor_changed (GtkTreeView *treeview, DB_plugin_t *p = plugins[*indices]; g_free (indices); assert (p); - GtkWidget *w = prefwin;//GTK_WIDGET (gtk_widget_get_parent_window (GTK_WIDGET (treeview))); + GtkWidget *w = prefwin; assert (w); - GtkEntry *e = GTK_ENTRY (lookup_widget (w, "pref_plugin_descr")); - gtk_entry_set_text (e, p->descr ? p->descr : ""); - e = GTK_ENTRY (lookup_widget (w, "pref_plugin_author")); - gtk_entry_set_text (e, p->author ? p->author : ""); - e = GTK_ENTRY (lookup_widget (w, "pref_plugin_email")); - gtk_entry_set_text (e, p->email ? p->email : ""); - e = GTK_ENTRY (lookup_widget (w, "pref_plugin_website")); - gtk_entry_set_text (e, p->website ? p->website : ""); + if (p->descr) { + GtkTextView *tv = GTK_TEXT_VIEW (lookup_widget (w, "plug_description")); + + GtkTextBuffer *buffer = gtk_text_buffer_new (NULL); + + gtk_text_buffer_set_text (buffer, p->descr, strlen(p->descr)); + gtk_text_view_set_buffer (GTK_TEXT_VIEW (tv), buffer); + g_object_unref (buffer); + } + + GtkWidget *link = lookup_widget (w, "weblink"); + if (p->website) { + gtk_link_button_set_uri (GTK_LINK_BUTTON(link), p->website); + gtk_widget_set_sensitive (link, TRUE); + } + else { + gtk_link_button_set_uri (GTK_LINK_BUTTON(link), ""); + gtk_widget_set_sensitive (link, FALSE); + } + + GtkWidget *cpr = lookup_widget (w, "plug_copyright"); + if (p->copyright) { + gtk_widget_set_sensitive (cpr, TRUE); + } + else { + gtk_widget_set_sensitive (cpr, FALSE); + } gtk_widget_set_sensitive (lookup_widget (prefwin, "configure_plugin"), p->configdialog ? TRUE : FALSE); } void gtkui_conf_get_str (const char *key, char *value, int len, const char *def) { - // FIXME: conf_get_str must be changed strcpy (value, deadbeef->conf_get_str (key, def)); } @@ -1327,3 +1345,50 @@ on_auto_name_playlist_from_folder_toggled deadbeef->conf_set_int ("gtkui.name_playlist_from_folder", active); } +void +on_info_window_delete (GtkWidget *widget, GtkTextDirection previous_direction, GtkWidget **pwindow); + +static void +show_copyright_window (const char *text, const char *title, GtkWidget **pwindow) { + if (*pwindow) { + return; + } + GtkWidget *widget = *pwindow = create_helpwindow (); + g_object_set_data (G_OBJECT (widget), "pointer", pwindow); + g_signal_connect (widget, "delete_event", G_CALLBACK (on_info_window_delete), pwindow); + gtk_window_set_title (GTK_WINDOW (widget), title); + gtk_window_set_transient_for (GTK_WINDOW (widget), GTK_WINDOW (prefwin)); + GtkWidget *txt = lookup_widget (widget, "helptext"); + GtkTextBuffer *buffer = gtk_text_buffer_new (NULL); + + gtk_text_buffer_set_text (buffer, text, strlen(text)); + gtk_text_view_set_buffer (GTK_TEXT_VIEW (txt), buffer); + g_object_unref (buffer); + gtk_widget_show (widget); +} + +static GtkWidget *copyright_window; + +void +on_plug_copyright_clicked (GtkButton *button, + gpointer user_data) +{ + GtkTreeView *treeview = GTK_TREE_VIEW(lookup_widget (prefwin, "pref_pluginlist")); + GtkTreePath *path; + GtkTreeViewColumn *col; + gtk_tree_view_get_cursor (treeview, &path, &col); + if (!path || !col) { + // reset + return; + } + int *indices = gtk_tree_path_get_indices (path); + DB_plugin_t **plugins = deadbeef->plug_get_list (); + DB_plugin_t *p = plugins[*indices]; + g_free (indices); + assert (p); + + if (p->copyright) { + show_copyright_window (p->copyright, "Copyright", ©right_window); + } +} + diff --git a/plugins/gtkui/support.h b/plugins/gtkui/support.h index a32649e5..b4b0ace3 100644 --- a/plugins/gtkui/support.h +++ b/plugins/gtkui/support.h @@ -27,7 +27,9 @@ # define dgettext(Domain,Message) (Message) # define dcgettext(Domain,Message,Type) (Message) # define bindtextdomain(Domain,Directory) (Domain) +#ifndef _ # define _(String) (String) +#endif # define Q_(String) g_strip_context ((String), (String)) # define N_(String) (String) #endif diff --git a/plugins/hotkeys/hotkeys.c b/plugins/hotkeys/hotkeys.c index 17c45a72..ec8f2e96 100644 --- a/plugins/hotkeys/hotkeys.c +++ b/plugins/hotkeys/hotkeys.c @@ -698,8 +698,24 @@ static DB_hotkeys_plugin_t plugin = { .misc.plugin.id = "hotkeys", .misc.plugin.name = "Global hotkeys support", .misc.plugin.descr = "Allows to control player with global hotkeys", - .misc.plugin.author = "Viktor Semykin", - .misc.plugin.email = "thesame.ml@gmail.com", + .misc.plugin.copyright = + "Copyright (C) 2009-2011 Alexey Yakovenko <waker@users.sourceforge.net>\n" + "Copyright (C) 2009-2011 Viktor Semykin <thesame.ml@gmail.com>\n" + "\n" + "This program is free software; you can redistribute it and/or\n" + "modify it under the terms of the GNU General Public License\n" + "as published by the Free Software Foundation; either version 2\n" + "of the License, or (at your option) any later version.\n" + "\n" + "This program is distributed in the hope that it will be useful,\n" + "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" + "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" + "GNU General Public License for more details.\n" + "\n" + "You should have received a copy of the GNU General Public License\n" + "along with this program; if not, write to the Free Software\n" + "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" + , .misc.plugin.website = "http://deadbeef.sf.net", .misc.plugin.get_actions = hotkeys_get_actions, .misc.plugin.connect = hotkeys_connect, diff --git a/plugins/lastfm/lastfm.c b/plugins/lastfm/lastfm.c index 8586cf44..068ae85a 100644 --- a/plugins/lastfm/lastfm.c +++ b/plugins/lastfm/lastfm.c @@ -906,9 +906,24 @@ static DB_misc_t plugin = { .plugin.version_minor = 0, .plugin.type = DB_PLUGIN_MISC, .plugin.name = "last.fm scrobbler", - .plugin.descr = "sends played songs information to your last.fm account", - .plugin.author = "Alexey Yakovenko", - .plugin.email = "waker@users.sourceforge.net", + .plugin.descr = "Sends played songs information to your last.fm account, or other service that use AudioScrobbler protocol", + .plugin.copyright = + "Copyright (C) 2009-2011 Alexey Yakovenko <waker@users.sourceforge.net>\n" + "\n" + "This program is free software; you can redistribute it and/or\n" + "modify it under the terms of the GNU General Public License\n" + "as published by the Free Software Foundation; either version 2\n" + "of the License, or (at your option) any later version.\n" + "\n" + "This program is distributed in the hope that it will be useful,\n" + "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" + "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" + "GNU General Public License for more details.\n" + "\n" + "You should have received a copy of the GNU General Public License\n" + "along with this program; if not, write to the Free Software\n" + "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" + , .plugin.website = "http://deadbeef.sf.net", .plugin.start = lastfm_start, .plugin.stop = lastfm_stop, diff --git a/plugins/m3u/m3u.c b/plugins/m3u/m3u.c index 6421ff8b..0728d77c 100644 --- a/plugins/m3u/m3u.c +++ b/plugins/m3u/m3u.c @@ -356,8 +356,23 @@ DB_playlist_t plugin = { .plugin.id = "m3u", .plugin.name = "M3U and PLS playlist loader", .plugin.descr = "Imports playlists from M3U and PLS formats", - .plugin.author = "Alexey Yakovenko", - .plugin.email = "waker@users.sourceforge.net", + .plugin.copyright = + "Copyright (C) 2009-2011 Alexey Yakovenko <waker@users.sourceforge.net>\n" + "\n" + "This program is free software; you can redistribute it and/or\n" + "modify it under the terms of the GNU General Public License\n" + "as published by the Free Software Foundation; either version 2\n" + "of the License, or (at your option) any later version.\n" + "\n" + "This program is distributed in the hope that it will be useful,\n" + "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" + "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" + "GNU General Public License for more details.\n" + "\n" + "You should have received a copy of the GNU General Public License\n" + "along with this program; if not, write to the Free Software\n" + "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" + , .plugin.website = "http://deadbeef.sf.net", .load = m3uplug_load, .extensions = exts, diff --git a/plugins/mms/mmsplug.c b/plugins/mms/mmsplug.c index 41f60ba5..787af70d 100644 --- a/plugins/mms/mmsplug.c +++ b/plugins/mms/mmsplug.c @@ -125,8 +125,25 @@ static DB_vfs_t plugin = { .plugin.type = DB_PLUGIN_VFS, .plugin.name = "mms vfs", .plugin.descr = "MMS streaming plugin based on libmms", - .plugin.author = "Alexey Yakovenko", - .plugin.email = "waker@users.sourceforge.net", + .plugin.copyright = + "Copyright (C) 2009-2011 Alexey Yakovenko <waker@users.sourceforge.net>\n" + "\n" + "Uses modified libmms-0.6.0, http://sourceforge.net/projects/libmms/\n" + "\n" + "This program is free software; you can redistribute it and/or\n" + "modify it under the terms of the GNU General Public License\n" + "as published by the Free Software Foundation; either version 2\n" + "of the License, or (at your option) any later version.\n" + "\n" + "This program is distributed in the hope that it will be useful,\n" + "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" + "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" + "GNU General Public License for more details.\n" + "\n" + "You should have received a copy of the GNU General Public License\n" + "along with this program; if not, write to the Free Software\n" + "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" + , .plugin.website = "http://deadbeef.sf.net", .open = mms_open, .close = mms_close, diff --git a/plugins/mpgmad/mpgmad.c b/plugins/mpgmad/mpgmad.c index fdd8c149..51ac0115 100644 --- a/plugins/mpgmad/mpgmad.c +++ b/plugins/mpgmad/mpgmad.c @@ -1360,8 +1360,23 @@ static DB_decoder_t plugin = { .plugin.id = "stdmpg", .plugin.name = "MPEG decoder", .plugin.descr = "MPEG v1/2 layer1/2/3 decoder based on libmad", - .plugin.author = "Alexey Yakovenko", - .plugin.email = "waker@users.sourceforge.net", + .plugin.copyright = + "Copyright (C) 2009-2011 Alexey Yakovenko <waker@users.sourceforge.net>\n" + "\n" + "This program is free software; you can redistribute it and/or\n" + "modify it under the terms of the GNU General Public License\n" + "as published by the Free Software Foundation; either version 2\n" + "of the License, or (at your option) any later version.\n" + "\n" + "This program is distributed in the hope that it will be useful,\n" + "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" + "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" + "GNU General Public License for more details.\n" + "\n" + "You should have received a copy of the GNU General Public License\n" + "along with this program; if not, write to the Free Software\n" + "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" + , .plugin.website = "http://deadbeef.sf.net", .open = cmp3_open, .init = cmp3_init, diff --git a/plugins/musepack/musepack.c b/plugins/musepack/musepack.c index df4c2353..93a59376 100644 --- a/plugins/musepack/musepack.c +++ b/plugins/musepack/musepack.c @@ -536,8 +536,25 @@ static DB_decoder_t plugin = { .plugin.id = "musepack", .plugin.name = "MusePack decoder", .plugin.descr = "Musepack decoder using libmppdec", - .plugin.author = "Alexey Yakovenko", - .plugin.email = "waker@users.sourceforge.net", + .plugin.copyright = + "Copyright (C) 2009-2011 Alexey Yakovenko <waker@users.sourceforge.net>\n" + "\n" + "Uses Musepack SV8 libs (r435), (C) 2005-2009, The Musepack Development Team\n" + "\n" + "This program is free software; you can redistribute it and/or\n" + "modify it under the terms of the GNU General Public License\n" + "as published by the Free Software Foundation; either version 2\n" + "of the License, or (at your option) any later version.\n" + "\n" + "This program is distributed in the hope that it will be useful,\n" + "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" + "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" + "GNU General Public License for more details.\n" + "\n" + "You should have received a copy of the GNU General Public License\n" + "along with this program; if not, write to the Free Software\n" + "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" + , .plugin.website = "http://deadbeef.sf.net", .plugin.start = musepack_start, .plugin.stop = musepack_stop, diff --git a/plugins/notify/notify.c b/plugins/notify/notify.c index 7d2ba5bb..55345983 100644 --- a/plugins/notify/notify.c +++ b/plugins/notify/notify.c @@ -285,9 +285,24 @@ DB_misc_t plugin = { .plugin.version_minor = 0, .plugin.id = "notify", .plugin.name = "OSD Notify", - .plugin.descr = "Displays notifications on track changes using system notification daemon", - .plugin.author = "Alexey Yakovenko", - .plugin.email = "waker@users.sourceforge.net", + .plugin.descr = "Displays notifications when new track starts, using system notification daemon", + .plugin.copyright = + "Copyright (C) 2009-2011 Alexey Yakovenko <waker@users.sourceforge.net>\n" + "\n" + "This program is free software; you can redistribute it and/or\n" + "modify it under the terms of the GNU General Public License\n" + "as published by the Free Software Foundation; either version 2\n" + "of the License, or (at your option) any later version.\n" + "\n" + "This program is distributed in the hope that it will be useful,\n" + "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" + "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" + "GNU General Public License for more details.\n" + "\n" + "You should have received a copy of the GNU General Public License\n" + "along with this program; if not, write to the Free Software\n" + "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" + , .plugin.website = "http://deadbeef.sourceforge.net", .plugin.start = notify_start, .plugin.stop = notify_stop, diff --git a/plugins/nullout/nullout.c b/plugins/nullout/nullout.c index 4fbd6a0c..39405ccf 100644 --- a/plugins/nullout/nullout.c +++ b/plugins/nullout/nullout.c @@ -196,8 +196,23 @@ static DB_output_t plugin = { .plugin.type = DB_PLUGIN_OUTPUT, .plugin.name = "null output plugin", .plugin.descr = "doesn't play anything", - .plugin.author = "Alexey Yakovenko", - .plugin.email = "waker@users.sourceforge.net", + .plugin.copyright = + "Copyright (C) 2009-2011 Alexey Yakovenko <waker@users.sourceforge.net>\n" + "\n" + "This program is free software; you can redistribute it and/or\n" + "modify it under the terms of the GNU General Public License\n" + "as published by the Free Software Foundation; either version 2\n" + "of the License, or (at your option) any later version.\n" + "\n" + "This program is distributed in the hope that it will be useful,\n" + "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" + "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" + "GNU General Public License for more details.\n" + "\n" + "You should have received a copy of the GNU General Public License\n" + "along with this program; if not, write to the Free Software\n" + "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" + , .plugin.website = "http://deadbeef.sf.net", .plugin.start = null_start, .plugin.stop = null_stop, diff --git a/plugins/oss/oss.c b/plugins/oss/oss.c index e26e28ce..d18bad8c 100644 --- a/plugins/oss/oss.c +++ b/plugins/oss/oss.c @@ -350,8 +350,23 @@ static DB_output_t plugin = { .plugin.id = "oss", .plugin.name = "OSS output plugin", .plugin.descr = "plays sound via OSS API", - .plugin.author = "Alexey Yakovenko", - .plugin.email = "waker@users.sourceforge.net", + .plugin.copyright = + "Copyright (C) 2009-2011 Alexey Yakovenko <waker@users.sourceforge.net>\n" + "\n" + "This program is free software; you can redistribute it and/or\n" + "modify it under the terms of the GNU General Public License\n" + "as published by the Free Software Foundation; either version 2\n" + "of the License, or (at your option) any later version.\n" + "\n" + "This program is distributed in the hope that it will be useful,\n" + "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" + "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" + "GNU General Public License for more details.\n" + "\n" + "You should have received a copy of the GNU General Public License\n" + "along with this program; if not, write to the Free Software\n" + "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" + , .plugin.website = "http://deadbeef.sf.net", .plugin.start = oss_plugin_start, .plugin.stop = oss_plugin_stop, diff --git a/plugins/shellexec/shellexec.c b/plugins/shellexec/shellexec.c index 03b3dfc4..f61d255f 100644 --- a/plugins/shellexec/shellexec.c +++ b/plugins/shellexec/shellexec.c @@ -1,5 +1,6 @@ /* Shellexec plugin for DeaDBeeF + Copyright (C) 2010-2011 Alexey Yakovenko <waker@users.sf.net> Copyright (C) 2010 Viktor Semykin <thesame.ml@gmail.com> This program is free software: you can redistribute it and/or modify @@ -206,8 +207,24 @@ static DB_misc_t plugin = { .plugin.id = "shellexec", .plugin.name = "Shell commands", .plugin.descr = "Executes configurable shell commands for tracks", - .plugin.author = "Viktor Semykin", - .plugin.email = "thesame.ml@gmail.com", + .plugin.copyright = + "Copyright (C) 2010-2011 Alexey Yakovenko <waker@users.sf.net>\n" + "Copyright (C) 2010 Viktor Semykin <thesame.ml@gmail.com>\n" + "\n" + "This program is free software; you can redistribute it and/or\n" + "modify it under the terms of the GNU General Public License\n" + "as published by the Free Software Foundation; either version 2\n" + "of the License, or (at your option) any later version.\n" + "\n" + "This program is distributed in the hope that it will be useful,\n" + "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" + "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" + "GNU General Public License for more details.\n" + "\n" + "You should have received a copy of the GNU General Public License\n" + "along with this program; if not, write to the Free Software\n" + "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" + , .plugin.website = "http://deadbeef.sf.net", .plugin.start = shx_start, .plugin.get_actions = shx_get_actions diff --git a/plugins/shn/shn.c b/plugins/shn/shn.c index 78859137..5baf8a30 100644 --- a/plugins/shn/shn.c +++ b/plugins/shn/shn.c @@ -1803,10 +1803,28 @@ static DB_decoder_t plugin = { .plugin.version_minor = 0, .plugin.type = DB_PLUGIN_DECODER, .plugin.id = "shn", - .plugin.name = "SHN player", - .plugin.descr = "SHN player based on xmms-shn", - .plugin.author = "Alexey Yakovenko", - .plugin.email = "waker@users.sourceforge.net", + .plugin.name = "Shorten player", + .plugin.descr = "decodes shn files", + .plugin.copyright = + "Copyright (C) 2009-2011 Alexey Yakovenko <waker@users.sourceforge.net>\n" + "\n" + "Based on xmms-shn, http://www.etree.org/shnutils/xmms-shn/\n" + "Copyright (C) 2000-2007 Jason Jordan <shnutils@freeshell.org>\n" + "\n" + "This program is free software; you can redistribute it and/or\n" + "modify it under the terms of the GNU General Public License\n" + "as published by the Free Software Foundation; either version 2\n" + "of the License, or (at your option) any later version.\n" + "\n" + "This program is distributed in the hope that it will be useful,\n" + "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" + "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" + "GNU General Public License for more details.\n" + "\n" + "You should have received a copy of the GNU General Public License\n" + "along with this program; if not, write to the Free Software\n" + "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" + , .plugin.website = "http://deadbeef.sf.net", .plugin.configdialog = settings_dlg, .open = shn_open, diff --git a/plugins/sid/plugin.c b/plugins/sid/plugin.c index 894c7230..1403013f 100644 --- a/plugins/sid/plugin.c +++ b/plugins/sid/plugin.c @@ -37,8 +37,26 @@ DB_decoder_t sid_plugin = { .plugin.version_minor = 0, .plugin.name = "SID decoder", .plugin.descr = "SID player based on libsidplay2", - .plugin.author = "Alexey Yakovenko", - .plugin.email = "waker@users.sourceforge.net", + .plugin.copyright = + "Copyright (C) 2009-2011 Alexey Yakovenko <waker@users.sourceforge.net>\n" + "\n" + "uses libsidplay2 - commodore 64 SID emulation library,\n" + "Copyright (C) Simon White and other authors\n" + "\n" + "This program is free software; you can redistribute it and/or\n" + "modify it under the terms of the GNU General Public License\n" + "as published by the Free Software Foundation; either version 2\n" + "of the License, or (at your option) any later version.\n" + "\n" + "This program is distributed in the hope that it will be useful,\n" + "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" + "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" + "GNU General Public License for more details.\n" + "\n" + "You should have received a copy of the GNU General Public License\n" + "along with this program; if not, write to the Free Software\n" + "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" + , .plugin.website = "http://deadbeef.sf.net", .plugin.start = csid_start, .plugin.stop = csid_stop, diff --git a/plugins/sndfile/sndfile.c b/plugins/sndfile/sndfile.c index 43ed606c..85c96907 100644 --- a/plugins/sndfile/sndfile.c +++ b/plugins/sndfile/sndfile.c @@ -382,8 +382,23 @@ static DB_decoder_t plugin = { .plugin.id = "sndfile", .plugin.name = "pcm player", .plugin.descr = "wav/aiff player using libsndfile", - .plugin.author = "Alexey Yakovenko", - .plugin.email = "waker@users.sourceforge.net", + .plugin.copyright = + "Copyright (C) 2009-2011 Alexey Yakovenko <waker@users.sourceforge.net>\n" + "\n" + "This program is free software; you can redistribute it and/or\n" + "modify it under the terms of the GNU General Public License\n" + "as published by the Free Software Foundation; either version 2\n" + "of the License, or (at your option) any later version.\n" + "\n" + "This program is distributed in the hope that it will be useful,\n" + "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" + "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" + "GNU General Public License for more details.\n" + "\n" + "You should have received a copy of the GNU General Public License\n" + "along with this program; if not, write to the Free Software\n" + "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" + , .plugin.website = "http://deadbeef.sf.net", .open = sndfile_open, .init = sndfile_init, diff --git a/plugins/supereq/supereq.c b/plugins/supereq/supereq.c index e4f33015..a773b4ef 100644 --- a/plugins/supereq/supereq.c +++ b/plugins/supereq/supereq.c @@ -280,9 +280,27 @@ static DB_dsp_t plugin = { .plugin.type = DB_PLUGIN_DSP, .plugin.id = "supereq", .plugin.name = "SuperEQ", - .plugin.descr = "equalizer plugin using SuperEQ library by Naoki Shibata", - .plugin.author = "Alexey Yakovenko", - .plugin.email = "waker@users.sourceforge.net", + .plugin.descr = "equalizer plugin using SuperEQ library", + .plugin.copyright = + "Copyright (C) 2009-2011 Alexey Yakovenko <waker@users.sourceforge.net>\n" + "\n" + "Uses supereq library by Naoki Shibata, http://shibatch.sourceforge.net\n" + "Uses FFT library by Takuya Ooura, http://www.kurims.kyoto-u.ac.jp/~ooura/\n" + "\n" + "This program is free software; you can redistribute it and/or\n" + "modify it under the terms of the GNU General Public License\n" + "as published by the Free Software Foundation; either version 2\n" + "of the License, or (at your option) any later version.\n" + "\n" + "This program is distributed in the hope that it will be useful,\n" + "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" + "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" + "GNU General Public License for more details.\n" + "\n" + "You should have received a copy of the GNU General Public License\n" + "along with this program; if not, write to the Free Software\n" + "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" + , .plugin.website = "http://deadbeef.sf.net", .plugin.start = supereq_plugin_start, .plugin.stop = supereq_plugin_stop, diff --git a/plugins/tta/ttaplug.c b/plugins/tta/ttaplug.c index e9dbc87d..cded5264 100644 --- a/plugins/tta/ttaplug.c +++ b/plugins/tta/ttaplug.c @@ -314,8 +314,26 @@ static DB_decoder_t plugin = { .plugin.id = "tta", .plugin.name = "tta decoder", .plugin.descr = "tta decoder based on TTA Hardware Players Library Version 1.2", - .plugin.author = "Alexey Yakovenko", - .plugin.email = "waker@users.sourceforge.net", + .plugin.copyright = + "Copyright (C) 2009-2011 Alexey Yakovenko <waker@users.sourceforge.net>\n" + "\n" + "Uses modified TTA Hardware Players Library Version 1.2,\n" + "(c) 2004 Alexander Djourik. All rights reserved.\n" + "\n" + "This program is free software; you can redistribute it and/or\n" + "modify it under the terms of the GNU General Public License\n" + "as published by the Free Software Foundation; either version 2\n" + "of the License, or (at your option) any later version.\n" + "\n" + "This program is distributed in the hope that it will be useful,\n" + "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" + "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" + "GNU General Public License for more details.\n" + "\n" + "You should have received a copy of the GNU General Public License\n" + "along with this program; if not, write to the Free Software\n" + "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" + , .plugin.website = "http://deadbeef.sf.net", .plugin.start = tta_start, .plugin.stop = tta_stop, diff --git a/plugins/vfs_curl/vfs_curl.c b/plugins/vfs_curl/vfs_curl.c index ae20233e..74bb0491 100644 --- a/plugins/vfs_curl/vfs_curl.c +++ b/plugins/vfs_curl/vfs_curl.c @@ -1051,8 +1051,23 @@ static DB_vfs_t plugin = { .plugin.id = "vfs_curl", .plugin.name = "cURL vfs", .plugin.descr = "http and ftp streaming module using libcurl, with ICY protocol support", - .plugin.author = "Alexey Yakovenko", - .plugin.email = "waker@users.sourceforge.net", + .plugin.copyright = + "Copyright (C) 2009-2011 Alexey Yakovenko <waker@users.sourceforge.net>\n" + "\n" + "This program is free software; you can redistribute it and/or\n" + "modify it under the terms of the GNU General Public License\n" + "as published by the Free Software Foundation; either version 2\n" + "of the License, or (at your option) any later version.\n" + "\n" + "This program is distributed in the hope that it will be useful,\n" + "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" + "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" + "GNU General Public License for more details.\n" + "\n" + "You should have received a copy of the GNU General Public License\n" + "along with this program; if not, write to the Free Software\n" + "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" + , .plugin.website = "http://deadbeef.sf.net", .plugin.start = vfs_curl_start, .plugin.stop = vfs_curl_stop, diff --git a/plugins/vfs_zip/vfs_zip.c b/plugins/vfs_zip/vfs_zip.c index b1ed2f37..5e77b740 100644 --- a/plugins/vfs_zip/vfs_zip.c +++ b/plugins/vfs_zip/vfs_zip.c @@ -214,11 +214,26 @@ static DB_vfs_t plugin = { .plugin.version_major = 1, .plugin.version_minor = 0, .plugin.type = DB_PLUGIN_VFS, - .plugin.id = "vfs_curl", - .plugin.name = "cURL vfs", - .plugin.descr = "http and ftp streaming module using libcurl, with ICY protocol support", - .plugin.author = "Alexey Yakovenko", - .plugin.email = "waker@users.sourceforge.net", + .plugin.id = "vfs_zip", + .plugin.name = "ZIP vfs", + .plugin.descr = "play files directly from zip files", + .plugin.copyright = + "Copyright (C) 2009-2011 Alexey Yakovenko <waker@users.sourceforge.net>\n" + "\n" + "This program is free software; you can redistribute it and/or\n" + "modify it under the terms of the GNU General Public License\n" + "as published by the Free Software Foundation; either version 2\n" + "of the License, or (at your option) any later version.\n" + "\n" + "This program is distributed in the hope that it will be useful,\n" + "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" + "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" + "GNU General Public License for more details.\n" + "\n" + "You should have received a copy of the GNU General Public License\n" + "along with this program; if not, write to the Free Software\n" + "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" + , .plugin.website = "http://deadbeef.sf.net", .open = vfs_zip_open, .close = vfs_zip_close, diff --git a/plugins/vorbis/vorbis.c b/plugins/vorbis/vorbis.c index 140c4d9a..b450530c 100644 --- a/plugins/vorbis/vorbis.c +++ b/plugins/vorbis/vorbis.c @@ -736,8 +736,23 @@ static DB_decoder_t plugin = { .plugin.id = "stdogg", .plugin.name = "OggVorbis decoder", .plugin.descr = "OggVorbis decoder using standard xiph.org libraries", - .plugin.author = "Alexey Yakovenko", - .plugin.email = "waker@users.sourceforge.net", + .plugin.copyright = + "Copyright (C) 2009-2011 Alexey Yakovenko <waker@users.sourceforge.net>\n" + "\n" + "This program is free software; you can redistribute it and/or\n" + "modify it under the terms of the GNU General Public License\n" + "as published by the Free Software Foundation; either version 2\n" + "of the License, or (at your option) any later version.\n" + "\n" + "This program is distributed in the hope that it will be useful,\n" + "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" + "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" + "GNU General Public License for more details.\n" + "\n" + "You should have received a copy of the GNU General Public License\n" + "along with this program; if not, write to the Free Software\n" + "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" + , .plugin.website = "http://deadbeef.sf.net", .plugin.start = vorbis_start, .plugin.stop = vorbis_stop, diff --git a/plugins/vtx/vtx.c b/plugins/vtx/vtx.c index d3c40cf4..79eb8cb2 100644 --- a/plugins/vtx/vtx.c +++ b/plugins/vtx/vtx.c @@ -309,8 +309,26 @@ static DB_decoder_t plugin = { .plugin.id = "vtx", .plugin.name = "VTX decoder", .plugin.descr = "AY8910/12 chip emulator and vtx file player", - .plugin.author = "Alexey Yakovenko", - .plugin.email = "waker@users.sourceforge.net", + .plugin.copyright = + "Copyright (C) 2009-2011 Alexey Yakovenko <waker@users.sourceforge.net>\n" + "\n" + "Uses libayemu - AY/YM sound chip emulator and music file loader\n" + "Copyright (C) 2003-2004 Sashnov Alexander\n" + "\n" + "This program is free software; you can redistribute it and/or\n" + "modify it under the terms of the GNU General Public License\n" + "as published by the Free Software Foundation; either version 2\n" + "of the License, or (at your option) any later version.\n" + "\n" + "This program is distributed in the hope that it will be useful,\n" + "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" + "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" + "GNU General Public License for more details.\n" + "\n" + "You should have received a copy of the GNU General Public License\n" + "along with this program; if not, write to the Free Software\n" + "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" + , .plugin.website = "http://deadbeef.sf.net", .plugin.start = vtx_start, .plugin.stop = vtx_stop, diff --git a/plugins/wavpack/wavpack.c b/plugins/wavpack/wavpack.c index 1bb00935..44177f05 100644 --- a/plugins/wavpack/wavpack.c +++ b/plugins/wavpack/wavpack.c @@ -421,9 +421,35 @@ static DB_decoder_t plugin = { .plugin.type = DB_PLUGIN_DECODER, .plugin.id = "wv", .plugin.name = "WavPack decoder", - .plugin.descr = "WavPack (.wv, .iso.wv) player using libwavpack", - .plugin.author = "Alexey Yakovenko", - .plugin.email = "waker@users.sourceforge.net", + .plugin.descr = "WavPack (.wv, .iso.wv) player", + .plugin.copyright = + "WavPack plugin for DeaDBeeF Player\n" + "Copyright (C) 2009-2011, Alexey Yakovenko <waker@users.sourceforge.net>\n" + "With contributions from David Bryant <david@wavpack.com>\n" + "All rights reserved.\n" + "\n" + "Redistribution and use in source and binary forms, with or without\n" + "modification, are permitted provided that the following conditions are met:\n" + " * Redistributions of source code must retain the above copyright\n" + " notice, this list of conditions and the following disclaimer.\n" + " * Redistributions in binary form must reproduce the above copyright\n" + " notice, this list of conditions and the following disclaimer in the\n" + " documentation and/or other materials provided with the distribution.\n" + " * Neither the name of the <organization> nor the\n" + " names of its contributors may be used to endorse or promote products\n" + " derived from this software without specific prior written permission.\n" + "\n" + "THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\n" + "ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n" + "WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n" + "DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY\n" + "DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n" + "(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n" + "LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n" + "ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n" + "(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\n" + "SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n" + , .plugin.website = "http://deadbeef.sf.net", .open = wv_open, .init = wv_init, diff --git a/plugins/wildmidi/wildmidiplug.c b/plugins/wildmidi/wildmidiplug.c index 53030008..4136745d 100644 --- a/plugins/wildmidi/wildmidiplug.c +++ b/plugins/wildmidi/wildmidiplug.c @@ -191,8 +191,25 @@ DB_decoder_t wmidi_plugin = { .plugin.version_minor = 0, .plugin.name = "WildMidi player", .plugin.descr = "MIDI player based on WildMidi library", - .plugin.author = "Alexey Yakovenko", - .plugin.email = "waker@users.sourceforge.net", + .plugin.copyright = + "Copyright (C) 2009-2011 Alexey Yakovenko <waker@users.sourceforge.net>\n" + "\n" + "Uses WildMidi v0.2.2, (C) 2001-2004 Chris Ison" + "\n" + "This program is free software; you can redistribute it and/or\n" + "modify it under the terms of the GNU General Public License\n" + "as published by the Free Software Foundation; either version 2\n" + "of the License, or (at your option) any later version.\n" + "\n" + "This program is distributed in the hope that it will be useful,\n" + "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" + "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" + "GNU General Public License for more details.\n" + "\n" + "You should have received a copy of the GNU General Public License\n" + "along with this program; if not, write to the Free Software\n" + "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" + , .plugin.website = "http://deadbeef.sf.net", .plugin.start = wmidi_start, .plugin.stop = wmidi_stop, diff --git a/vfs_stdio.c b/vfs_stdio.c index 45008cf5..ff38e417 100644 --- a/vfs_stdio.c +++ b/vfs_stdio.c @@ -106,8 +106,23 @@ static DB_vfs_t plugin = { .plugin.type = DB_PLUGIN_VFS, .plugin.name = "stdio vfs", .plugin.descr = "Standard IO plugin", - .plugin.author = "Alexey Yakovenko", - .plugin.email = "waker@users.sourceforge.net", + .plugin.copyright = + "Copyright (C) 2009-2011 Alexey Yakovenko <waker@users.sourceforge.net>\n" + "\n" + "This program is free software; you can redistribute it and/or\n" + "modify it under the terms of the GNU General Public License\n" + "as published by the Free Software Foundation; either version 2\n" + "of the License, or (at your option) any later version.\n" + "\n" + "This program is distributed in the hope that it will be useful,\n" + "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" + "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" + "GNU General Public License for more details.\n" + "\n" + "You should have received a copy of the GNU General Public License\n" + "along with this program; if not, write to the Free Software\n" + "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" + , .plugin.website = "http://deadbeef.sf.net", .open = stdio_open, .close = stdio_close, |