[anjuta] bgo #575147 – Headers of new C++/GObject classes have wrong copyright and license notices.
- From: Sebastien Granjoux <sgranjoux src gnome org>
- To: svn-commits-list gnome org
- Subject: [anjuta] bgo #575147 – Headers of new C++/GObject classes have wrong copyright and license notices.
- Date: Sun, 12 Jul 2009 16:48:29 +0000 (UTC)
commit 1512fa2649e672a23903363beb029b05548c9e8c
Author: Sébastien Granjoux <seb sfo free fr>
Date: Sun Jul 12 17:24:13 2009 +0200
bgo #575147 â?? Headers of new C++/GObject classes have wrong copyright and license notices.
Change all project wizard headers instead
.../templates/anjuta-plugin-vala/src/config.vapi | 6 +++---
.../templates/anjuta-plugin-vala/src/plugin.vala | 6 +++---
.../templates/anjuta-plugin/src/plugin.c | 6 +++---
.../templates/anjuta-plugin/src/plugin.h | 6 +++---
plugins/project-wizard/templates/cpp/src/main.cc | 6 +++---
.../templates/gnome-applet/src/main.c | 6 +++---
.../project-wizard/templates/gtk/src/callbacks.c | 6 +++---
.../project-wizard/templates/gtk/src/callbacks.h | 6 +++---
plugins/project-wizard/templates/gtk/src/main.c | 6 +++---
plugins/project-wizard/templates/gtkmm/src/main.cc | 6 +++---
.../project-wizard/templates/java/src/main.java | 6 +++---
.../project-wizard/templates/python/src/main.py | 6 +++---
plugins/project-wizard/templates/sdl/src/main.c | 6 +++---
.../project-wizard/templates/terminal/src/main.c | 6 +++---
plugins/project-wizard/templates/wxwin/src/main.cc | 6 +++---
.../project-wizard/templates/xlib-dock/src/main.c | 6 +++---
.../templates/xlib-dock/src/wmgeneral.c | 6 +++---
.../templates/xlib-dock/src/wmgeneral.h | 6 +++---
plugins/project-wizard/templates/xlib/src/main.c | 6 +++---
19 files changed, 57 insertions(+), 57 deletions(-)
---
diff --git a/plugins/project-wizard/templates/anjuta-plugin-vala/src/config.vapi b/plugins/project-wizard/templates/anjuta-plugin-vala/src/config.vapi
index ef33e9a..3710b32 100644
--- a/plugins/project-wizard/templates/anjuta-plugin-vala/src/config.vapi
+++ b/plugins/project-wizard/templates/anjuta-plugin-vala/src/config.vapi
@@ -4,9 +4,9 @@
* Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
*
[+CASE (get "License") +]
-[+ == "BSD" +][+(bsd "plugin.h" (get "Author") " * ")+]
-[+ == "LGPL" +][+(lgpl "plugin.h" (get "Author") " * ")+]
-[+ == "GPL" +][+(gpl "plugin.h" " * ")+]
+[+ == "BSD" +][+(bsd (get "Name") (get "Author") " * ")+]
+[+ == "LGPL" +][+(lgpl (get "Name") (get "Author") " * ")+]
+[+ == "GPL" +][+(gpl (get "Name") " * ")+]
[+ESAC+] */
[CCode (cprefix = "", lower_case_cprefix = "", cheader_filename = "config.h")]
diff --git a/plugins/project-wizard/templates/anjuta-plugin-vala/src/plugin.vala b/plugins/project-wizard/templates/anjuta-plugin-vala/src/plugin.vala
index 8b4b88c..d63e532 100644
--- a/plugins/project-wizard/templates/anjuta-plugin-vala/src/plugin.vala
+++ b/plugins/project-wizard/templates/anjuta-plugin-vala/src/plugin.vala
@@ -4,9 +4,9 @@
* Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
*
[+CASE (get "License") +]
-[+ == "BSD" +][+(bsd "plugin.c" (get "Author") " * ")+]
-[+ == "LGPL" +][+(lgpl "plugin.c" (get "Author") " * ")+]
-[+ == "GPL" +][+(gpl "plugin.c" " * ")+]
+[+ == "BSD" +][+(bsd (get "Name") (get "Author") " * ")+]
+[+ == "LGPL" +][+(lgpl (get "Name") (get "Author") " * ")+]
+[+ == "GPL" +][+(gpl (get "Name") " * ")+]
[+ESAC+] */
using GLib;
diff --git a/plugins/project-wizard/templates/anjuta-plugin/src/plugin.c b/plugins/project-wizard/templates/anjuta-plugin/src/plugin.c
index f649ad3..c749023 100644
--- a/plugins/project-wizard/templates/anjuta-plugin/src/plugin.c
+++ b/plugins/project-wizard/templates/anjuta-plugin/src/plugin.c
@@ -5,9 +5,9 @@
* Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
*
[+CASE (get "License") +]
-[+ == "BSD" +][+(bsd "plugin.c" (get "Author") " * ")+]
-[+ == "LGPL" +][+(lgpl "plugin.c" (get "Author") " * ")+]
-[+ == "GPL" +][+(gpl "plugin.c" " * ")+]
+[+ == "BSD" +][+(bsd (get "Name") (get "Author") " * ")+]
+[+ == "LGPL" +][+(lgpl (get "Name") (get "Author") " * ")+]
+[+ == "GPL" +][+(gpl (get "Name") " * ")+]
[+ESAC+] */
#include <config.h>
diff --git a/plugins/project-wizard/templates/anjuta-plugin/src/plugin.h b/plugins/project-wizard/templates/anjuta-plugin/src/plugin.h
index 031f039..1c8f356 100644
--- a/plugins/project-wizard/templates/anjuta-plugin/src/plugin.h
+++ b/plugins/project-wizard/templates/anjuta-plugin/src/plugin.h
@@ -5,9 +5,9 @@
* Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
*
[+CASE (get "License") +]
-[+ == "BSD" +][+(bsd "plugin.h" (get "Author") " * ")+]
-[+ == "LGPL" +][+(lgpl "plugin.h" (get "Author") " * ")+]
-[+ == "GPL" +][+(gpl "plugin.h" " * ")+]
+[+ == "BSD" +][+(bsd (get "Name") (get "Author") " * ")+]
+[+ == "LGPL" +][+(lgpl (get "Name") (get "Author") " * ")+]
+[+ == "GPL" +][+(gpl (get "Name") " * ")+]
[+ESAC+] */
#ifndef _[+NameCUpper+]_H_
diff --git a/plugins/project-wizard/templates/cpp/src/main.cc b/plugins/project-wizard/templates/cpp/src/main.cc
index ef60123..688a4b3 100644
--- a/plugins/project-wizard/templates/cpp/src/main.cc
+++ b/plugins/project-wizard/templates/cpp/src/main.cc
@@ -5,9 +5,9 @@
* Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
*
[+CASE (get "License") +]
-[+ == "BSD" +][+(bsd "main.cc" (get "Author") " * ")+]
-[+ == "LGPL" +][+(lgpl "main.cc" (get "Author") " * ")+]
-[+ == "GPL" +][+(gpl "main.cc" " * ")+]
+[+ == "BSD" +][+(bsd (get "Name") (get "Author") " * ")+]
+[+ == "LGPL" +][+(lgpl (get "Name") (get "Author") " * ")+]
+[+ == "GPL" +][+(gpl (get "Name") " * ")+]
[+ESAC+] */
#include <iostream>
diff --git a/plugins/project-wizard/templates/gnome-applet/src/main.c b/plugins/project-wizard/templates/gnome-applet/src/main.c
index e1002d2..c89116e 100644
--- a/plugins/project-wizard/templates/gnome-applet/src/main.c
+++ b/plugins/project-wizard/templates/gnome-applet/src/main.c
@@ -5,9 +5,9 @@
* Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
*
[+CASE (get "License") +]
-[+ == "BSD" +][+(bsd "main.c" (get "Author") " * ")+]
-[+ == "LGPL" +][+(lgpl "main.c" (get "Author") " * ")+]
-[+ == "GPL" +][+(gpl "main.c" " * ")+]
+[+ == "BSD" +][+(bsd (get "Name") (get "Author") " * ")+]
+[+ == "LGPL" +][+(lgpl (get "Name") (get "Author") " * ")+]
+[+ == "GPL" +][+(gpl (get "Name") " * ")+]
[+ESAC+] */
#ifdef HAVE_CONFIG_H
diff --git a/plugins/project-wizard/templates/gtk/src/callbacks.c b/plugins/project-wizard/templates/gtk/src/callbacks.c
index 5115299..768914c 100644
--- a/plugins/project-wizard/templates/gtk/src/callbacks.c
+++ b/plugins/project-wizard/templates/gtk/src/callbacks.c
@@ -5,9 +5,9 @@
* Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
*
[+CASE (get "License") +]
-[+ == "BSD" +][+(bsd "callbacks.c" (get "Author") " * ")+]
-[+ == "LGPL" +][+(lgpl "callbacks.c" (get "Author") " * ")+]
-[+ == "GPL" +][+(gpl "callbacks.c" " * ")+]
+[+ == "BSD" +][+(bsd (get "Name") (get "Author") " * ")+]
+[+ == "LGPL" +][+(lgpl (get "Name") (get "Author") " * ")+]
+[+ == "GPL" +][+(gpl (get "Name") " * ")+]
[+ESAC+] */
#ifdef HAVE_CONFIG_H
diff --git a/plugins/project-wizard/templates/gtk/src/callbacks.h b/plugins/project-wizard/templates/gtk/src/callbacks.h
index de09362..aaac63f 100644
--- a/plugins/project-wizard/templates/gtk/src/callbacks.h
+++ b/plugins/project-wizard/templates/gtk/src/callbacks.h
@@ -5,9 +5,9 @@
* Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
*
[+CASE (get "License") +]
-[+ == "BSD" +][+(bsd "callbacks.h" (get "Author") " * ")+]
-[+ == "LGPL" +][+(lgpl "callbacks.h" (get "Author") " * ")+]
-[+ == "GPL" +][+(gpl "callbacks.h" " * ")+]
+[+ == "BSD" +][+(bsd (get "Name") (get "Author") " * ")+]
+[+ == "LGPL" +][+(lgpl (get "Name") (get "Author") " * ")+]
+[+ == "GPL" +][+(gpl (get "Name") " * ")+]
[+ESAC+] */
#include <gtk/gtk.h>
diff --git a/plugins/project-wizard/templates/gtk/src/main.c b/plugins/project-wizard/templates/gtk/src/main.c
index a51964e..229e355 100644
--- a/plugins/project-wizard/templates/gtk/src/main.c
+++ b/plugins/project-wizard/templates/gtk/src/main.c
@@ -5,9 +5,9 @@
* Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
*
[+CASE (get "License") +]
-[+ == "BSD" +][+(bsd "main.c" (get "Author") " * ")+]
-[+ == "LGPL" +][+(lgpl "main.c" (get "Author") " * ")+]
-[+ == "GPL" +][+(gpl "main.c" " * ")+]
+[+ == "BSD" +][+(bsd (get "Name") (get "Author") " * ")+]
+[+ == "LGPL" +][+(lgpl (get "Name") (get "Author") " * ")+]
+[+ == "GPL" +][+(gpl (get "Name") " * ")+]
[+ESAC+] */
#include <sys/types.h>
diff --git a/plugins/project-wizard/templates/gtkmm/src/main.cc b/plugins/project-wizard/templates/gtkmm/src/main.cc
index 067e879..be65f58 100644
--- a/plugins/project-wizard/templates/gtkmm/src/main.cc
+++ b/plugins/project-wizard/templates/gtkmm/src/main.cc
@@ -5,9 +5,9 @@
* Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
*
[+CASE (get "License") +]
-[+ == "BSD" +][+(bsd "main.cc" (get "Author") " * ")+]
-[+ == "LGPL" +][+(lgpl "main.cc" (get "Author") " * ")+]
-[+ == "GPL" +][+(gpl "main.cc" " * ")+]
+[+ == "BSD" +][+(bsd (get "Name") (get "Author") " * ")+]
+[+ == "LGPL" +][+(lgpl (get "Name") (get "Author") " * ")+]
+[+ == "GPL" +][+(gpl (get "Name") " * ")+]
[+ESAC+] */
#include <libglademm/xml.h>
diff --git a/plugins/project-wizard/templates/java/src/main.java b/plugins/project-wizard/templates/java/src/main.java
index 1237dff..8b5814a 100644
--- a/plugins/project-wizard/templates/java/src/main.java
+++ b/plugins/project-wizard/templates/java/src/main.java
@@ -5,9 +5,9 @@
* Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
*
[+CASE (get "License") +]
-[+ == "BSD" +][+(bsd "main.java" (get "Author") " * ")+]
-[+ == "LGPL" +][+(lgpl "main.java" (get "Author") " * ")+]
-[+ == "GPL" +][+(gpl "main.java" " * ")+]
+[+ == "BSD" +][+(bsd (get "Name") (get "Author") " * ")+]
+[+ == "LGPL" +][+(lgpl (get "Name") (get "Author") " * ")+]
+[+ == "GPL" +][+(gpl (get "Name") " * ")+]
[+ESAC+] */
class [+MainClass+] {
diff --git a/plugins/project-wizard/templates/python/src/main.py b/plugins/project-wizard/templates/python/src/main.py
index 2b2865a..150432d 100644
--- a/plugins/project-wizard/templates/python/src/main.py
+++ b/plugins/project-wizard/templates/python/src/main.py
@@ -5,9 +5,9 @@
# Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
#
[+CASE (get "License") +]
-[+ == "BSD" +][+(bsd "main.py" (get "Author") "# ")+]
-[+ == "LGPL" +][+(lgpl "main.py" (get "Author") "# ")+]
-[+ == "GPL" +][+(gpl "main.py" "# ")+]
+[+ == "BSD" +][+(bsd (get "Name") (get "Author") "# ")+]
+[+ == "LGPL" +][+(lgpl (get "Name") (get "Author") "# ")+]
+[+ == "GPL" +][+(gpl (get "Name") "# ")+]
[+ESAC+]
print "Hello World!"
diff --git a/plugins/project-wizard/templates/sdl/src/main.c b/plugins/project-wizard/templates/sdl/src/main.c
index 8f27438..57c68ca 100644
--- a/plugins/project-wizard/templates/sdl/src/main.c
+++ b/plugins/project-wizard/templates/sdl/src/main.c
@@ -4,9 +4,9 @@
* Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
*
[+CASE (get "License") +]
-[+ == "BSD" +][+(bsd "main.c" (get "Author") "\t")+]
-[+ == "LGPL" +][+(lgpl "main.c" (get "Author") "\t")+]
-[+ == "GPL" +][+(gpl "main.c" "\t")+]
+[+ == "BSD" +][+(bsd (get "Name") (get "Author") "\t")+]
+[+ == "LGPL" +][+(lgpl (get "Name") (get "Author") "\t")+]
+[+ == "GPL" +][+(gpl (get "Name") "\t")+]
[+ESAC+] */
/*Program closes with a mouse click or keypress */
diff --git a/plugins/project-wizard/templates/terminal/src/main.c b/plugins/project-wizard/templates/terminal/src/main.c
index 32f2748..5f7e469 100644
--- a/plugins/project-wizard/templates/terminal/src/main.c
+++ b/plugins/project-wizard/templates/terminal/src/main.c
@@ -5,9 +5,9 @@
* Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
*
[+CASE (get "License") +]
-[+ == "BSD" +][+(bsd "main.c" (get "Author") " * ")+]
-[+ == "LGPL" +][+(lgpl "main.c" (get "Author") " * ")+]
-[+ == "GPL" +][+(gpl "main.c" " * ")+]
+[+ == "BSD" +][+(bsd (get "Name") (get "Author") " * ")+]
+[+ == "LGPL" +][+(lgpl (get "Name") (get "Author") " * ")+]
+[+ == "GPL" +][+(gpl (get "Name") " * ")+]
[+ESAC+] */
#include <stdio.h>
diff --git a/plugins/project-wizard/templates/wxwin/src/main.cc b/plugins/project-wizard/templates/wxwin/src/main.cc
index eafbe0e..987f331 100644
--- a/plugins/project-wizard/templates/wxwin/src/main.cc
+++ b/plugins/project-wizard/templates/wxwin/src/main.cc
@@ -4,9 +4,9 @@
* Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
*
[+CASE (get "License") +]
-[+ == "BSD" +][+(bsd "main.cc" (get "Author") "\t")+]
-[+ == "LGPL" +][+(lgpl "main.cc" (get "Author") "\t")+]
-[+ == "GPL" +][+(gpl "main.cc" "\t")+]
+[+ == "BSD" +][+(bsd (get "Name") (get "Author") "\t")+]
+[+ == "LGPL" +][+(lgpl (get "Name") (get "Author") "\t")+]
+[+ == "GPL" +][+(gpl (get "Name") "\t")+]
[+ESAC+] */
#ifdef HAVE_CONFIG_H
diff --git a/plugins/project-wizard/templates/xlib-dock/src/main.c b/plugins/project-wizard/templates/xlib-dock/src/main.c
index bac7df1..18bc6e4 100644
--- a/plugins/project-wizard/templates/xlib-dock/src/main.c
+++ b/plugins/project-wizard/templates/xlib-dock/src/main.c
@@ -4,9 +4,9 @@
* Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
*
[+CASE (get "License") +]
-[+ == "BSD" +][+(bsd "main.c" (get "Author") "\t")+]
-[+ == "LGPL" +][+(lgpl "main.c" (get "Author") "\t")+]
-[+ == "GPL" +][+(gpl "main.c" "\t")+]
+[+ == "BSD" +][+(bsd (get "Name") (get "Author") "\t")+]
+[+ == "LGPL" +][+(lgpl (get "Name") (get "Author") "\t")+]
+[+ == "GPL" +][+(gpl (get "Name") "\t")+]
[+ESAC+] */
#ifdef HAVE_CONFIG_H
diff --git a/plugins/project-wizard/templates/xlib-dock/src/wmgeneral.c b/plugins/project-wizard/templates/xlib-dock/src/wmgeneral.c
index 8512e2f..06b5e17 100644
--- a/plugins/project-wizard/templates/xlib-dock/src/wmgeneral.c
+++ b/plugins/project-wizard/templates/xlib-dock/src/wmgeneral.c
@@ -4,9 +4,9 @@
* Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
*
[+CASE (get "License") +]
-[+ == "BSD" +][+(bsd "wmgeneral.c" (get "Author") "\t")+]
-[+ == "LGPL" +][+(lgpl "wmgeneral.c" (get "Author") "\t")+]
-[+ == "GPL" +][+(gpl "wmgeneral.c" "\t")+]
+[+ == "BSD" +][+(bsd (get "Name") (get "Author") "\t")+]
+[+ == "LGPL" +][+(lgpl (get "Name") (get "Author") "\t")+]
+[+ == "GPL" +][+(gpl (get "Name") "\t")+]
[+ESAC+] */
/* wmgeneral was taken from wmppp.
diff --git a/plugins/project-wizard/templates/xlib-dock/src/wmgeneral.h b/plugins/project-wizard/templates/xlib-dock/src/wmgeneral.h
index 4efee9d..09daf21 100644
--- a/plugins/project-wizard/templates/xlib-dock/src/wmgeneral.h
+++ b/plugins/project-wizard/templates/xlib-dock/src/wmgeneral.h
@@ -4,9 +4,9 @@
* Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
*
[+CASE (get "License") +]
-[+ == "BSD" +][+(bsd "wmgeneral.h" (get "Author") "\t")+]
-[+ == "LGPL" +][+(lgpl "wmgeneral.h" (get "Author") "\t")+]
-[+ == "GPL" +][+(gpl "wmgeneral.h" "\t")+]
+[+ == "BSD" +][+(bsd (get "Name") (get "Author") "\t")+]
+[+ == "LGPL" +][+(lgpl (get "Name") (get "Author") "\t")+]
+[+ == "GPL" +][+(gpl (get "Name") "\t")+]
[+ESAC+] */
#ifndef WMGENERAL_H_INCLUDED
diff --git a/plugins/project-wizard/templates/xlib/src/main.c b/plugins/project-wizard/templates/xlib/src/main.c
index 14cbcc8..d154660 100644
--- a/plugins/project-wizard/templates/xlib/src/main.c
+++ b/plugins/project-wizard/templates/xlib/src/main.c
@@ -4,9 +4,9 @@
* Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
*
[+CASE (get "License") +]
-[+ == "BSD" +][+(bsd "main.c" (get "Author") "\t")+]
-[+ == "LGPL" +][+(lgpl "main.c" (get "Author") "\t")+]
-[+ == "GPL" +][+(gpl "main.c" "\t")+]
+[+ == "BSD" +][+(bsd (get "Name") (get "Author") "\t")+]
+[+ == "LGPL" +][+(lgpl (get "Name") (get "Author") "\t")+]
+[+ == "GPL" +][+(gpl (get "Name") "\t")+]
[+ESAC+] */
/*Program closes with a mouse click or keypress */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]