From 7ab9b9714f8710c4498c3296eed6e8a91eb67c65 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 6 Dec 2008 12:41:29 +0100 Subject: [PATCH] added missing copyright headers --- lyrics/hd.sh | 20 ++++++++++++++++++-- lyrics/leoslyrics.py | 20 ++++++++++++++++++-- lyrics/lyricswiki.rb | 20 ++++++++++++++++++-- src/colors.h | 19 +++++++++++++++++++ src/command.h | 19 +++++++++++++++++++ src/conf.h | 19 +++++++++++++++++++ src/lirc.c | 19 +++++++++++++++++++ src/lirc.h | 19 +++++++++++++++++++ src/list_window.h | 19 +++++++++++++++++++ src/ncmpc.h | 19 +++++++++++++++++++ src/options.h | 19 +++++++++++++++++++ src/screen.h | 19 +++++++++++++++++++ src/screen_play.h | 18 ++++++++++++++++++ src/screen_utils.h | 19 +++++++++++++++++++ src/strfsong.h | 19 +++++++++++++++++++ src/support.h | 19 +++++++++++++++++++ src/utils.h | 19 +++++++++++++++++++ src/wreadln.h | 19 +++++++++++++++++++ 18 files changed, 338 insertions(+), 6 deletions(-) diff --git a/lyrics/hd.sh b/lyrics/hd.sh index 4bcbce4..2480e5a 100755 --- a/lyrics/hd.sh +++ b/lyrics/hd.sh @@ -1,8 +1,24 @@ #!/bin/sh -e # -# Load lyrics from the user's home directory +# (c) 2004-2008 The Music Player Daemon Project +# http://www.musicpd.org/ +# +# 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 # -# Author: Max Kellermann + +# +# Load lyrics from the user's home directory # cat ~/.lyrics/"$1 - $2".txt 2>/dev/null diff --git a/lyrics/leoslyrics.py b/lyrics/leoslyrics.py index 1e89759..5e4f8c8 100755 --- a/lyrics/leoslyrics.py +++ b/lyrics/leoslyrics.py @@ -1,8 +1,24 @@ #!/usr/bin/python # -# Load lyrics from leoslyrics.com +# (c) 2004-2008 The Music Player Daemon Project +# http://www.musicpd.org/ +# +# 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 # -# Author: Max Kellermann + +# +# Load lyrics from leoslyrics.com # from sys import argv, exit diff --git a/lyrics/lyricswiki.rb b/lyrics/lyricswiki.rb index 39aa4a5..148cd88 100755 --- a/lyrics/lyricswiki.rb +++ b/lyrics/lyricswiki.rb @@ -1,8 +1,24 @@ #!/usr/bin/env ruby # -# Load lyrics from lyricswiki.org +# (c) 2004-2008 The Music Player Daemon Project +# http://www.musicpd.org/ +# +# 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 # -# Author: Max Kellermann + +# +# Load lyrics from lyricswiki.org # require 'uri' diff --git a/src/colors.h b/src/colors.h index dec3ecd..7d1a734 100644 --- a/src/colors.h +++ b/src/colors.h @@ -1,3 +1,22 @@ +/* + * (c) 2004-2008 The Music Player Daemon Project + * http://www.musicpd.org/ + * + * 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 + * + */ + #ifndef COLORS_H #define COLORS_H diff --git a/src/command.h b/src/command.h index 0c92893..ef1fee2 100644 --- a/src/command.h +++ b/src/command.h @@ -1,3 +1,22 @@ +/* + * (c) 2004-2008 The Music Player Daemon Project + * http://www.musicpd.org/ + * + * 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 + * + */ + #ifndef COMMAND_H #define COMMAND_H diff --git a/src/conf.h b/src/conf.h index 3203a2d..d18eeff 100644 --- a/src/conf.h +++ b/src/conf.h @@ -1,3 +1,22 @@ +/* + * (c) 2004-2008 The Music Player Daemon Project + * http://www.musicpd.org/ + * + * 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 + * + */ + #include "options.h" int check_user_conf_dir(void); diff --git a/src/lirc.c b/src/lirc.c index 0982bd3..fb54c38 100644 --- a/src/lirc.c +++ b/src/lirc.c @@ -1,3 +1,22 @@ +/* + * (c) 2004-2008 The Music Player Daemon Project + * http://www.musicpd.org/ + * + * 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 + * + */ + #include #include "lirc.h" #include "ncmpc.h" diff --git a/src/lirc.h b/src/lirc.h index a3045a2..199ef58 100644 --- a/src/lirc.h +++ b/src/lirc.h @@ -1,3 +1,22 @@ +/* + * (c) 2004-2008 The Music Player Daemon Project + * http://www.musicpd.org/ + * + * 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 + * + */ + #ifndef LIRC_H #define LIRC_H diff --git a/src/list_window.h b/src/list_window.h index 8e9411a..2c328b6 100644 --- a/src/list_window.h +++ b/src/list_window.h @@ -1,3 +1,22 @@ +/* + * (c) 2004-2008 The Music Player Daemon Project + * http://www.musicpd.org/ + * + * 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 + * + */ + #ifndef LIST_WINDOW_H #define LIST_WINDOW_H diff --git a/src/ncmpc.h b/src/ncmpc.h index 9e4703b..d7d15e2 100644 --- a/src/ncmpc.h +++ b/src/ncmpc.h @@ -1,3 +1,22 @@ +/* + * (c) 2004-2008 The Music Player Daemon Project + * http://www.musicpd.org/ + * + * 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 + * + */ + #ifndef NCMPC_H #define NCMPC_H diff --git a/src/options.h b/src/options.h index 98ad315..a0c90bf 100644 --- a/src/options.h +++ b/src/options.h @@ -1,3 +1,22 @@ +/* + * (c) 2004-2008 The Music Player Daemon Project + * http://www.musicpd.org/ + * + * 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 + * + */ + #ifndef OPTIONS_H #define OPTIONS_H diff --git a/src/screen.h b/src/screen.h index 54d37dd..4478688 100644 --- a/src/screen.h +++ b/src/screen.h @@ -1,3 +1,22 @@ +/* + * (c) 2004-2008 The Music Player Daemon Project + * http://www.musicpd.org/ + * + * 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 + * + */ + #ifndef SCREEN_H #define SCREEN_H diff --git a/src/screen_play.h b/src/screen_play.h index 3ff3cb0..5bf54cd 100644 --- a/src/screen_play.h +++ b/src/screen_play.h @@ -1,2 +1,20 @@ +/* + * (c) 2004-2008 The Music Player Daemon Project + * http://www.musicpd.org/ + * + * 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 + * + */ int playlist_save(mpdclient_t *c, char *name, char *defaultname); diff --git a/src/screen_utils.h b/src/screen_utils.h index 8e0f86d..26d0e4b 100644 --- a/src/screen_utils.h +++ b/src/screen_utils.h @@ -1,3 +1,22 @@ +/* + * (c) 2004-2008 The Music Player Daemon Project + * http://www.musicpd.org/ + * + * 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 + * + */ + #ifndef SCREEN_UTILS_H #define SCREEN_UTILS_H diff --git a/src/strfsong.h b/src/strfsong.h index 7770a86..2ed5608 100644 --- a/src/strfsong.h +++ b/src/strfsong.h @@ -1,3 +1,22 @@ +/* + * (c) 2004-2008 The Music Player Daemon Project + * http://www.musicpd.org/ + * + * 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 + * + */ + #ifndef STRFSONG_H #define STRFSONG_H diff --git a/src/support.h b/src/support.h index f7c0832..48786e8 100644 --- a/src/support.h +++ b/src/support.h @@ -1,3 +1,22 @@ +/* + * (c) 2004-2008 The Music Player Daemon Project + * http://www.musicpd.org/ + * + * 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 + * + */ + #ifndef SUPPORT_H #define SUPPORT_H diff --git a/src/utils.h b/src/utils.h index 0fb1c68..dc91bdb 100644 --- a/src/utils.h +++ b/src/utils.h @@ -1,3 +1,22 @@ +/* + * (c) 2004-2008 The Music Player Daemon Project + * http://www.musicpd.org/ + * + * 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 + * + */ + #ifndef UTILS_H #define UTILS_H diff --git a/src/wreadln.h b/src/wreadln.h index e745025..1864e25 100644 --- a/src/wreadln.h +++ b/src/wreadln.h @@ -1,3 +1,22 @@ +/* + * (c) 2004-2008 The Music Player Daemon Project + * http://www.musicpd.org/ + * + * 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 + * + */ + #ifndef WREADLN_H #define WREADLN_H -- 2.30.2