Very hackerish attempt to create all three lists of authors

from one source. The file 'contributors' lists all the names
and is the only one you should dare to edit from now on.


--Sven
This commit is contained in:
Sven Neumann 2000-07-24 22:11:28 +00:00
parent c740db01a5
commit c5e7b16d06
15 changed files with 620 additions and 896 deletions

View File

@ -1,3 +1,20 @@
2000-07-25 Sven Neumann <sven@gimp.org>
* AUTHORS
* configure.in
* gimp.1.in
* app/Makefile.am
* app/about_dialog.c: see below
* app/authors.h
* tools/authorsgen/Makefile.am
* tools/authorsgen/authorsgen.pl
* tools/authorsgen/contributors: new files
Very hackerish attempt to create all three lists of authors
from one source. The file 'contributors' lists all the names
and is the only one you should dare to edit from now on.
2000-07-19 Michael Natterer <mitch@gimp.org> 2000-07-19 Michael Natterer <mitch@gimp.org>
* AUTHORS * AUTHORS

View File

@ -38,6 +38,7 @@ gimp_SOURCES = \
apptypes.h \ apptypes.h \
asupsample.c \ asupsample.c \
asupsample.h \ asupsample.h \
authors.h \
batch.c \ batch.c \
batch.h \ batch.h \
bezier_select.c \ bezier_select.c \

View File

@ -25,8 +25,9 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "appenv.h"
#include "about_dialog.h" #include "about_dialog.h"
#include "appenv.h"
#include "authors.h"
#include "gimpdnd.h" #include "gimpdnd.h"
#include "gimphelp.h" #include "gimphelp.h"
@ -76,178 +77,12 @@ static gint scroll_state = 0;
static gint frame = 0; static gint frame = 0;
static gint offset = 0; static gint offset = 0;
static gint timer = 0; static gint timer = 0;
static gchar **scroll_text = authors;
/* See the end of the list for how to add names with Non-ASCII characters */ static gint nscroll_texts = sizeof (authors) / sizeof (authors[0]);
static gchar *scroll_text[] = static gint scroll_text_widths[sizeof (authors) / sizeof (authors[0])];
{
"Lauri Alanko",
"Shawn Amundson",
"Sven Anders",
"Karl-Johan Andersson",
"John Beale",
"Zach Beane",
"Tom Bech",
"Marc Bless",
"Edward Blevins",
"Reagan Blundell",
"Xavier Bouchoux",
"Roberto Boyd",
"Stanislav Brabec",
"Robert Brady",
"Hans Breuer",
"Simon Budig",
"Carey Bunks",
"Seth Burgess",
"Brent Burton",
"Francisco Bustamante",
"Albert Cahalan",
"Sean Cier",
"Winston Chang",
"Kenneth Christiansen",
"Zbigniew Chyla",
"Ed Connel",
"Piers Cornwell",
"Daniel Cotting",
"Jay Cox",
"Brian Degenhardt",
"Gert Dewit",
"Andreas Dilger",
"Austin Donnelly",
"Scott Draves",
"Daniel Dunbar",
"Misha Dynin",
"Daniel Egger",
"Morton Eriksen",
"Larry Ewing",
"Nick Fetchak",
"Valek Filippov",
"David Forsyth",
"Raphael Francois",
"Jochen Friedrich",
"Sami Gerdt",
"Jim Geuther",
"Graeme Gill",
"Scott Goehring",
"Heiko Goller",
"Marcelo de Gomensoro Malheiros",
"Pavel Grinfeld",
"Michael Hammel",
"Henrik Hansen",
"James Henstridge",
"Eric Hernes",
"Christoph Hoegl",
"Wolfgang Hofer",
"Jan Hubicka",
"Andreas Hyden",
"Ben Jackson",
"Krzysztof Jakubowski",
"Simon Janes",
"Tim Janik",
"Fellmann Joaquim",
"Andrew Kieschnick",
"Peter Kirchgessner",
"Philipp Klaus",
"David Koblas",
"Tuomas Kuosmanen",
"Karin Kylander",
"Olof S Kylander",
"Karl La Rocca",
"Chris Lahey",
"Nick Lamb",
"Marco Lamberto",
"Jens Lautenbacher",
"Laramie Leavitt",
"Elliot Lee",
"Marc Lehmann",
"Ray Lahtiniemi",
"Raph Levien",
"Wing Tung Leung",
"Adrian Likins",
"Tor Lillqvist",
"Ingo Luetkebohle",
"Josh MacDonald",
"Ed Mackey",
"Vidar Madsen",
"Ian Main",
"Kjartan Maraas",
"Kelly Martin",
"Torsten Martinsen",
"Gordon Matzigkeit",
"Gregory McLean",
"Daniele Medri",
"Federico Mena Quintero",
"James Mitchell",
"Hirotsuna Mizuno",
"David Monniaux",
"Adam D Moss",
"Balazs Nagy",
"Yukihiro Nakai",
"Sung-Hyun Nam",
"Shuji Narazaki",
"Felix Natter",
"Michael Natterer",
"Sven Neumann",
"Stephen Robert Norris",
"Tim Newsome",
"Erik Nygren",
"Miles O'Neal",
"Thom van Os",
"Garry R. Osgood",
"Alan Paeth",
"Jay Painter",
"Sergey Panov",
"Asbjorn Pettersen",
"Mike Phillips",
"Artur Polaczyaski",
"Raphael Quinet",
"Vincent Renardias",
"Jens Restemeier",
"Maurits Rijk",
"Daniel Risacher",
"James Robinson",
"Tim Rowley",
"Pablo Saratxaga",
"Mike Schaeffer",
"John Schlag",
"Norbert Schmitz",
"Thorsten Schnier",
"Alexander Schulz",
"Tracy Scott",
"Craig Setera",
"Aaron Sherman",
"Manish Singh",
"Daniel Skarda",
"Nathan Summers",
"Mike Sweet",
"Yuri Syrota",
"Eiichi Takamori",
"Tristan Tarrant",
"Michael Taylor",
"Owen Taylor",
"Ian Tester",
"Andy Thomas",
"Kevin Turner",
"Martin Weber",
"James Wang",
"Kris Wehner",
"Nigel Wetten",
"Calvin Williamson",
"Matthew Wilson",
"Shirasaki Yasuhiro",
#ifndef GDK_USE_UTF8_MBS
"Ville Hautamäki",
"Tomas Ögren",
#else /* Win32 GDK uses UTF-8 */
"Ville Hautamäki",
"Tomas Ãgren",
#endif
};
static gint nscroll_texts = sizeof (scroll_text) / sizeof (scroll_text[0]);
static gint scroll_text_widths[sizeof (scroll_text) / sizeof (scroll_text[0])];
static gint cur_scroll_text = 0; static gint cur_scroll_text = 0;
static gint cur_scroll_index = 0; static gint cur_scroll_index = 0;
static gint shuffle_array[sizeof (authors) / sizeof (authors[0])];
static gint shuffle_array[sizeof (scroll_text) / sizeof (scroll_text[0])];
/* dnd stuff */ /* dnd stuff */
static GtkTargetEntry tool_target_table[] = static GtkTargetEntry tool_target_table[] =
@ -257,6 +92,14 @@ static GtkTargetEntry tool_target_table[] =
static guint n_tool_targets = (sizeof (tool_target_table) / static guint n_tool_targets = (sizeof (tool_target_table) /
sizeof (tool_target_table[0])); sizeof (tool_target_table[0]));
static gchar *drop_text[] =
{
"We are The GIMP." ,
"Prepare to be manipulated.",
"Resistance is futile."
};
void void
about_dialog_create (void) about_dialog_create (void)
{ {
@ -374,7 +217,11 @@ about_dialog_create (void)
scroll_text[i]); scroll_text[i]);
max_width = MAX (max_width, scroll_text_widths[i]); max_width = MAX (max_width, scroll_text_widths[i]);
} }
for (i = 0; i < (sizeof (drop_text) / sizeof (drop_text[0])); i++)
{
max_width = MAX (max_width,
gdk_string_width (aboutframe->style->font, drop_text[i]));
}
scroll_area = gtk_drawing_area_new (); scroll_area = gtk_drawing_area_new ();
gtk_drawing_area_size (GTK_DRAWING_AREA (scroll_area), gtk_drawing_area_size (GTK_DRAWING_AREA (scroll_area),
max_width + 10, max_width + 10,
@ -657,10 +504,8 @@ about_dialog_tool_drop (GtkWidget *widget,
gdk_pixmap_unref (pixmap); gdk_pixmap_unref (pixmap);
gdk_bitmap_unref (mask); gdk_bitmap_unref (mask);
scroll_text[0] = "We are The GIMP."; scroll_text = drop_text;
scroll_text[1] = "Prepare to be assimilated."; nscroll_texts = sizeof (drop_text) / sizeof (drop_text[0]);
scroll_text[2] = "Resistance is futile.";
nscroll_texts = 3;
for (i = 0; i < nscroll_texts; i++) for (i = 0; i < nscroll_texts; i++)
{ {

173
app/authors.h Normal file
View File

@ -0,0 +1,173 @@
/* NOTE: This file is autogenerated by authorgen.pl. */
/*
* The main authors are Spencer Kimball and Peter Mattis.
*/
static gchar *authors[] =
{
"Lauri Alanko",
"Shawn Amundson",
"Sven Anders",
"Karl-Johan Andersson",
"John Beale",
"Zach Beane",
"Tom Bech",
"Marc Bless",
"Edward Blevins",
"Reagan Blundell",
"Xavier Bouchoux",
"Roberto Boyd",
"Stanislav Brabec",
"Robert Brady",
"Hans Breuer",
"Simon Budig",
"Carey Bunks",
"Seth Burgess",
"Brent Burton",
"Francisco Bustamante",
"Albert Cahalan",
"Sean Cier",
"Winston Chang",
"Kenneth Christiansen",
"Zbigniew Chyla",
"Ed Connel",
"Piers Cornwell",
"Daniel Cotting",
"Jay Cox",
"Brian Degenhardt",
"Gert Dewit",
"Andreas Dilger",
"Austin Donnelly",
"Scott Draves",
"Daniel Dunbar",
"Misha Dynin",
"Daniel Egger",
"Morton Eriksen",
"Larry Ewing",
"Nick Fetchak",
"Valek Filippov",
"David Forsyth",
"Raphael Francois",
"Jochen Friedrich",
"Sami Gerdt",
"Jim Geuther",
"Graeme Gill",
"Scott Goehring",
"Heiko Goller",
"Marcelo de Gomensoro Malheiros",
"Pavel Grinfeld",
"Michael Hammel",
"Henrik Hansen",
#ifndef GDK_USE_UTF8_MBS
"Ville Hautamäki",
#else
"Ville Hautamäki",
#endif
"James Henstridge",
"Eric Hernes",
"Christoph Hoegl",
"Wolfgang Hofer",
"Jan Hubicka",
"Andreas Hyden",
"Ben Jackson",
"Krzysztof Jakubowski",
"Simon Janes",
"Tim Janik",
"Fellmann Joaquim",
"Andrew Kieschnick",
"Peter Kirchgessner",
"Philipp Klaus",
"David Koblas",
"Tuomas Kuosmanen",
"Karin Kylander",
"Olof S Kylander",
"Karl La Rocca",
"Chris Lahey",
"Nick Lamb",
"Marco Lamberto",
"Jens Lautenbacher",
"Laramie Leavitt",
"Elliot Lee",
"Marc Lehmann",
"Ray Lahtiniemi",
"Raph Levien",
"Wing Tung Leung",
"Adrian Likins",
"Tor Lillqvist",
"Ingo Luetkebohle",
"Josh MacDonald",
"Ed Mackey",
"Vidar Madsen",
"Ian Main",
"Kjartan Maraas",
"Kelly Martin",
"Torsten Martinsen",
"Gordon Matzigkeit",
"Gregory McLean",
"Daniele Medri",
"Federico Mena Quintero",
"James Mitchell",
"Hirotsuna Mizuno",
"David Monniaux",
"Adam D Moss",
"Balazs Nagy",
"Yukihiro Nakai",
"Sung-Hyun Nam",
"Shuji Narazaki",
"Felix Natter",
"Michael Natterer",
"Sven Neumann",
"Stephen Robert Norris",
"Tim Newsome",
"Erik Nygren",
#ifndef GDK_USE_UTF8_MBS
"Tomas Ögren",
#else
"Tomas Ãgren",
#endif
"Miles O'Neal",
"Thom van Os",
"Garry R. Osgood",
"Alan Paeth",
"Jay Painter",
"Sergey Panov",
"Asbjorn Pettersen",
"Mike Phillips",
"Artur Polaczyaski",
"Raphael Quinet",
"Vincent Renardias",
"Jens Restemeier",
"Maurits Rijk",
"Daniel Risacher",
"James Robinson",
"Tim Rowley",
"Pablo Saratxaga",
"Mike Schaeffer",
"John Schlag",
"Norbert Schmitz",
"Thorsten Schnier",
"Alexander Schulz",
"Tracy Scott",
"Craig Setera",
"Aaron Sherman",
"Manish Singh",
"Daniel Skarda",
"Nathan Summers",
"Mike Sweet",
"Yuri Syrota",
"Eiichi Takamori",
"Tristan Tarrant",
"Michael Taylor",
"Owen Taylor",
"Ian Tester",
"Andy Thomas",
"Kevin Turner",
"Martin Weber",
"James Wang",
"Kris Wehner",
"Nigel Wetten",
"Calvin Williamson",
"Matthew Wilson",
"Shirasaki Yasuhiro",
};

View File

@ -25,8 +25,9 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "appenv.h"
#include "about_dialog.h" #include "about_dialog.h"
#include "appenv.h"
#include "authors.h"
#include "gimpdnd.h" #include "gimpdnd.h"
#include "gimphelp.h" #include "gimphelp.h"
@ -76,178 +77,12 @@ static gint scroll_state = 0;
static gint frame = 0; static gint frame = 0;
static gint offset = 0; static gint offset = 0;
static gint timer = 0; static gint timer = 0;
static gchar **scroll_text = authors;
/* See the end of the list for how to add names with Non-ASCII characters */ static gint nscroll_texts = sizeof (authors) / sizeof (authors[0]);
static gchar *scroll_text[] = static gint scroll_text_widths[sizeof (authors) / sizeof (authors[0])];
{
"Lauri Alanko",
"Shawn Amundson",
"Sven Anders",
"Karl-Johan Andersson",
"John Beale",
"Zach Beane",
"Tom Bech",
"Marc Bless",
"Edward Blevins",
"Reagan Blundell",
"Xavier Bouchoux",
"Roberto Boyd",
"Stanislav Brabec",
"Robert Brady",
"Hans Breuer",
"Simon Budig",
"Carey Bunks",
"Seth Burgess",
"Brent Burton",
"Francisco Bustamante",
"Albert Cahalan",
"Sean Cier",
"Winston Chang",
"Kenneth Christiansen",
"Zbigniew Chyla",
"Ed Connel",
"Piers Cornwell",
"Daniel Cotting",
"Jay Cox",
"Brian Degenhardt",
"Gert Dewit",
"Andreas Dilger",
"Austin Donnelly",
"Scott Draves",
"Daniel Dunbar",
"Misha Dynin",
"Daniel Egger",
"Morton Eriksen",
"Larry Ewing",
"Nick Fetchak",
"Valek Filippov",
"David Forsyth",
"Raphael Francois",
"Jochen Friedrich",
"Sami Gerdt",
"Jim Geuther",
"Graeme Gill",
"Scott Goehring",
"Heiko Goller",
"Marcelo de Gomensoro Malheiros",
"Pavel Grinfeld",
"Michael Hammel",
"Henrik Hansen",
"James Henstridge",
"Eric Hernes",
"Christoph Hoegl",
"Wolfgang Hofer",
"Jan Hubicka",
"Andreas Hyden",
"Ben Jackson",
"Krzysztof Jakubowski",
"Simon Janes",
"Tim Janik",
"Fellmann Joaquim",
"Andrew Kieschnick",
"Peter Kirchgessner",
"Philipp Klaus",
"David Koblas",
"Tuomas Kuosmanen",
"Karin Kylander",
"Olof S Kylander",
"Karl La Rocca",
"Chris Lahey",
"Nick Lamb",
"Marco Lamberto",
"Jens Lautenbacher",
"Laramie Leavitt",
"Elliot Lee",
"Marc Lehmann",
"Ray Lahtiniemi",
"Raph Levien",
"Wing Tung Leung",
"Adrian Likins",
"Tor Lillqvist",
"Ingo Luetkebohle",
"Josh MacDonald",
"Ed Mackey",
"Vidar Madsen",
"Ian Main",
"Kjartan Maraas",
"Kelly Martin",
"Torsten Martinsen",
"Gordon Matzigkeit",
"Gregory McLean",
"Daniele Medri",
"Federico Mena Quintero",
"James Mitchell",
"Hirotsuna Mizuno",
"David Monniaux",
"Adam D Moss",
"Balazs Nagy",
"Yukihiro Nakai",
"Sung-Hyun Nam",
"Shuji Narazaki",
"Felix Natter",
"Michael Natterer",
"Sven Neumann",
"Stephen Robert Norris",
"Tim Newsome",
"Erik Nygren",
"Miles O'Neal",
"Thom van Os",
"Garry R. Osgood",
"Alan Paeth",
"Jay Painter",
"Sergey Panov",
"Asbjorn Pettersen",
"Mike Phillips",
"Artur Polaczyaski",
"Raphael Quinet",
"Vincent Renardias",
"Jens Restemeier",
"Maurits Rijk",
"Daniel Risacher",
"James Robinson",
"Tim Rowley",
"Pablo Saratxaga",
"Mike Schaeffer",
"John Schlag",
"Norbert Schmitz",
"Thorsten Schnier",
"Alexander Schulz",
"Tracy Scott",
"Craig Setera",
"Aaron Sherman",
"Manish Singh",
"Daniel Skarda",
"Nathan Summers",
"Mike Sweet",
"Yuri Syrota",
"Eiichi Takamori",
"Tristan Tarrant",
"Michael Taylor",
"Owen Taylor",
"Ian Tester",
"Andy Thomas",
"Kevin Turner",
"Martin Weber",
"James Wang",
"Kris Wehner",
"Nigel Wetten",
"Calvin Williamson",
"Matthew Wilson",
"Shirasaki Yasuhiro",
#ifndef GDK_USE_UTF8_MBS
"Ville Hautamäki",
"Tomas Ögren",
#else /* Win32 GDK uses UTF-8 */
"Ville Hautamäki",
"Tomas Ãgren",
#endif
};
static gint nscroll_texts = sizeof (scroll_text) / sizeof (scroll_text[0]);
static gint scroll_text_widths[sizeof (scroll_text) / sizeof (scroll_text[0])];
static gint cur_scroll_text = 0; static gint cur_scroll_text = 0;
static gint cur_scroll_index = 0; static gint cur_scroll_index = 0;
static gint shuffle_array[sizeof (authors) / sizeof (authors[0])];
static gint shuffle_array[sizeof (scroll_text) / sizeof (scroll_text[0])];
/* dnd stuff */ /* dnd stuff */
static GtkTargetEntry tool_target_table[] = static GtkTargetEntry tool_target_table[] =
@ -257,6 +92,14 @@ static GtkTargetEntry tool_target_table[] =
static guint n_tool_targets = (sizeof (tool_target_table) / static guint n_tool_targets = (sizeof (tool_target_table) /
sizeof (tool_target_table[0])); sizeof (tool_target_table[0]));
static gchar *drop_text[] =
{
"We are The GIMP." ,
"Prepare to be manipulated.",
"Resistance is futile."
};
void void
about_dialog_create (void) about_dialog_create (void)
{ {
@ -374,7 +217,11 @@ about_dialog_create (void)
scroll_text[i]); scroll_text[i]);
max_width = MAX (max_width, scroll_text_widths[i]); max_width = MAX (max_width, scroll_text_widths[i]);
} }
for (i = 0; i < (sizeof (drop_text) / sizeof (drop_text[0])); i++)
{
max_width = MAX (max_width,
gdk_string_width (aboutframe->style->font, drop_text[i]));
}
scroll_area = gtk_drawing_area_new (); scroll_area = gtk_drawing_area_new ();
gtk_drawing_area_size (GTK_DRAWING_AREA (scroll_area), gtk_drawing_area_size (GTK_DRAWING_AREA (scroll_area),
max_width + 10, max_width + 10,
@ -657,10 +504,8 @@ about_dialog_tool_drop (GtkWidget *widget,
gdk_pixmap_unref (pixmap); gdk_pixmap_unref (pixmap);
gdk_bitmap_unref (mask); gdk_bitmap_unref (mask);
scroll_text[0] = "We are The GIMP."; scroll_text = drop_text;
scroll_text[1] = "Prepare to be assimilated."; nscroll_texts = sizeof (drop_text) / sizeof (drop_text[0]);
scroll_text[2] = "Resistance is futile.";
nscroll_texts = 3;
for (i = 0; i < nscroll_texts; i++) for (i = 0; i < nscroll_texts; i++)
{ {

View File

@ -25,8 +25,9 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "appenv.h"
#include "about_dialog.h" #include "about_dialog.h"
#include "appenv.h"
#include "authors.h"
#include "gimpdnd.h" #include "gimpdnd.h"
#include "gimphelp.h" #include "gimphelp.h"
@ -76,178 +77,12 @@ static gint scroll_state = 0;
static gint frame = 0; static gint frame = 0;
static gint offset = 0; static gint offset = 0;
static gint timer = 0; static gint timer = 0;
static gchar **scroll_text = authors;
/* See the end of the list for how to add names with Non-ASCII characters */ static gint nscroll_texts = sizeof (authors) / sizeof (authors[0]);
static gchar *scroll_text[] = static gint scroll_text_widths[sizeof (authors) / sizeof (authors[0])];
{
"Lauri Alanko",
"Shawn Amundson",
"Sven Anders",
"Karl-Johan Andersson",
"John Beale",
"Zach Beane",
"Tom Bech",
"Marc Bless",
"Edward Blevins",
"Reagan Blundell",
"Xavier Bouchoux",
"Roberto Boyd",
"Stanislav Brabec",
"Robert Brady",
"Hans Breuer",
"Simon Budig",
"Carey Bunks",
"Seth Burgess",
"Brent Burton",
"Francisco Bustamante",
"Albert Cahalan",
"Sean Cier",
"Winston Chang",
"Kenneth Christiansen",
"Zbigniew Chyla",
"Ed Connel",
"Piers Cornwell",
"Daniel Cotting",
"Jay Cox",
"Brian Degenhardt",
"Gert Dewit",
"Andreas Dilger",
"Austin Donnelly",
"Scott Draves",
"Daniel Dunbar",
"Misha Dynin",
"Daniel Egger",
"Morton Eriksen",
"Larry Ewing",
"Nick Fetchak",
"Valek Filippov",
"David Forsyth",
"Raphael Francois",
"Jochen Friedrich",
"Sami Gerdt",
"Jim Geuther",
"Graeme Gill",
"Scott Goehring",
"Heiko Goller",
"Marcelo de Gomensoro Malheiros",
"Pavel Grinfeld",
"Michael Hammel",
"Henrik Hansen",
"James Henstridge",
"Eric Hernes",
"Christoph Hoegl",
"Wolfgang Hofer",
"Jan Hubicka",
"Andreas Hyden",
"Ben Jackson",
"Krzysztof Jakubowski",
"Simon Janes",
"Tim Janik",
"Fellmann Joaquim",
"Andrew Kieschnick",
"Peter Kirchgessner",
"Philipp Klaus",
"David Koblas",
"Tuomas Kuosmanen",
"Karin Kylander",
"Olof S Kylander",
"Karl La Rocca",
"Chris Lahey",
"Nick Lamb",
"Marco Lamberto",
"Jens Lautenbacher",
"Laramie Leavitt",
"Elliot Lee",
"Marc Lehmann",
"Ray Lahtiniemi",
"Raph Levien",
"Wing Tung Leung",
"Adrian Likins",
"Tor Lillqvist",
"Ingo Luetkebohle",
"Josh MacDonald",
"Ed Mackey",
"Vidar Madsen",
"Ian Main",
"Kjartan Maraas",
"Kelly Martin",
"Torsten Martinsen",
"Gordon Matzigkeit",
"Gregory McLean",
"Daniele Medri",
"Federico Mena Quintero",
"James Mitchell",
"Hirotsuna Mizuno",
"David Monniaux",
"Adam D Moss",
"Balazs Nagy",
"Yukihiro Nakai",
"Sung-Hyun Nam",
"Shuji Narazaki",
"Felix Natter",
"Michael Natterer",
"Sven Neumann",
"Stephen Robert Norris",
"Tim Newsome",
"Erik Nygren",
"Miles O'Neal",
"Thom van Os",
"Garry R. Osgood",
"Alan Paeth",
"Jay Painter",
"Sergey Panov",
"Asbjorn Pettersen",
"Mike Phillips",
"Artur Polaczyaski",
"Raphael Quinet",
"Vincent Renardias",
"Jens Restemeier",
"Maurits Rijk",
"Daniel Risacher",
"James Robinson",
"Tim Rowley",
"Pablo Saratxaga",
"Mike Schaeffer",
"John Schlag",
"Norbert Schmitz",
"Thorsten Schnier",
"Alexander Schulz",
"Tracy Scott",
"Craig Setera",
"Aaron Sherman",
"Manish Singh",
"Daniel Skarda",
"Nathan Summers",
"Mike Sweet",
"Yuri Syrota",
"Eiichi Takamori",
"Tristan Tarrant",
"Michael Taylor",
"Owen Taylor",
"Ian Tester",
"Andy Thomas",
"Kevin Turner",
"Martin Weber",
"James Wang",
"Kris Wehner",
"Nigel Wetten",
"Calvin Williamson",
"Matthew Wilson",
"Shirasaki Yasuhiro",
#ifndef GDK_USE_UTF8_MBS
"Ville Hautamäki",
"Tomas Ögren",
#else /* Win32 GDK uses UTF-8 */
"Ville Hautamäki",
"Tomas Ãgren",
#endif
};
static gint nscroll_texts = sizeof (scroll_text) / sizeof (scroll_text[0]);
static gint scroll_text_widths[sizeof (scroll_text) / sizeof (scroll_text[0])];
static gint cur_scroll_text = 0; static gint cur_scroll_text = 0;
static gint cur_scroll_index = 0; static gint cur_scroll_index = 0;
static gint shuffle_array[sizeof (authors) / sizeof (authors[0])];
static gint shuffle_array[sizeof (scroll_text) / sizeof (scroll_text[0])];
/* dnd stuff */ /* dnd stuff */
static GtkTargetEntry tool_target_table[] = static GtkTargetEntry tool_target_table[] =
@ -257,6 +92,14 @@ static GtkTargetEntry tool_target_table[] =
static guint n_tool_targets = (sizeof (tool_target_table) / static guint n_tool_targets = (sizeof (tool_target_table) /
sizeof (tool_target_table[0])); sizeof (tool_target_table[0]));
static gchar *drop_text[] =
{
"We are The GIMP." ,
"Prepare to be manipulated.",
"Resistance is futile."
};
void void
about_dialog_create (void) about_dialog_create (void)
{ {
@ -374,7 +217,11 @@ about_dialog_create (void)
scroll_text[i]); scroll_text[i]);
max_width = MAX (max_width, scroll_text_widths[i]); max_width = MAX (max_width, scroll_text_widths[i]);
} }
for (i = 0; i < (sizeof (drop_text) / sizeof (drop_text[0])); i++)
{
max_width = MAX (max_width,
gdk_string_width (aboutframe->style->font, drop_text[i]));
}
scroll_area = gtk_drawing_area_new (); scroll_area = gtk_drawing_area_new ();
gtk_drawing_area_size (GTK_DRAWING_AREA (scroll_area), gtk_drawing_area_size (GTK_DRAWING_AREA (scroll_area),
max_width + 10, max_width + 10,
@ -657,10 +504,8 @@ about_dialog_tool_drop (GtkWidget *widget,
gdk_pixmap_unref (pixmap); gdk_pixmap_unref (pixmap);
gdk_bitmap_unref (mask); gdk_bitmap_unref (mask);
scroll_text[0] = "We are The GIMP."; scroll_text = drop_text;
scroll_text[1] = "Prepare to be assimilated."; nscroll_texts = sizeof (drop_text) / sizeof (drop_text[0]);
scroll_text[2] = "Resistance is futile.";
nscroll_texts = 3;
for (i = 0; i < nscroll_texts; i++) for (i = 0; i < nscroll_texts; i++)
{ {

View File

@ -595,6 +595,7 @@ if test "x$enable_perl" != xno || test "x$with_pdbgen" = xyes ; then
fi fi
AM_CONDITIONAL(WITH_PDBGEN, test x$with_pdbgen = xyes) AM_CONDITIONAL(WITH_PDBGEN, test x$with_pdbgen = xyes)
AM_CONDITIONAL(WITH_AUTHORSGEN, test x$enable_maintainer_mode = xyes)
rm -f plug-ins/perl/config.status rm -f plug-ins/perl/config.status
@ -670,6 +671,9 @@ if test -n "$DISTMAKE"; then
XJT=xjt XPM=xpm GIMPDOCS=docs XJT=xjt XPM=xpm GIMPDOCS=docs
fi fi
dnl eek, what a hack...
GIMP_CONTRIBUTORS=`cat tools/authorsgen/contributors | sed -e '/^#/d' -e 's/\.*\[.*\]//' -e 's/^ *//' -e 's/ *$//' -e '/^$/d' | awk '{ ORS = ", "; print; }' | sed -e 's/, $/./'`
AM_CONDITIONAL(STATICLIBS, test x$enable_static = xyes) AM_CONDITIONAL(STATICLIBS, test x$enable_static = xyes)
AC_SUBST(GIMP_MAJOR_VERSION) AC_SUBST(GIMP_MAJOR_VERSION)
@ -730,6 +734,8 @@ AC_SUBST(GTKXMHTML_CFLAGS)
AC_SUBST(GTKXMHTML_LIBS) AC_SUBST(GTKXMHTML_LIBS)
AC_SUBST(HTML_DIR) AC_SUBST(HTML_DIR)
AC_SUBST(GIMP_CONTRIBUTORS)
dnl easy way to skip the plug-in build dnl easy way to skip the plug-in build
GIMP_PLUGINS=plug-ins GIMP_PLUGINS=plug-ins
GIMP_MODULES=modules GIMP_MODULES=modules
@ -811,6 +817,7 @@ po-plug-ins/Makefile.in
po-script-fu/Makefile.in po-script-fu/Makefile.in
intl/Makefile intl/Makefile
tools/Makefile tools/Makefile
tools/authorsgen/Makefile
tools/pdbgen/Makefile tools/pdbgen/Makefile
tips/Makefile tips/Makefile
help/Makefile help/Makefile

View File

@ -270,162 +270,7 @@ Spencer Kimball and Peter Mattis.
With patches, fixes, plugins, extensions, scripts, With patches, fixes, plugins, extensions, scripts,
translations, documentation, and more from lots translations, documentation, and more from lots
and lots of people including but not limited to and lots of people including but not limited to
Lauri Alanko, @GIMP_CONTRIBUTORS@
Shawn Amundson,
Sven Anders,
Karl-Johan Andersson,
John Beale,
Zach Beane,
Tom Bech,
Marc Bless,
Edward Blevins,
Reagan Blundell,
Xavier Bouchoux,
Roberto Boyd,
Stanislav Brabec,
Robert Brady,
Hans Breuer,
Simon Budig,
Carey Bunks,
Seth Burgess,
Brent Burton,
Francisco Bustamante,
Albert Cahalan,
Sean Cier,
Winston Chang,
Kenneth Christiansen,
Zbigniew Chyla,
Ed Connel,
Piers Cornwell,
Daniel Cotting,
Jay Cox,
Brian Degenhardt,
Gert Dewit,
Andreas Dilger,
Austin Donnelly,
Scott Draves,
Daniel Dunbar,
Misha Dynin,
Daniel Egger,
Morton Eriksen,
Larry Ewing,
Nick Fetchak,
Valek Filippov,
David Forsyth,
Raphael Francois,
Jochen Friedrich,
Sami Gerdt,
Jim Geuther,
Graeme Gill,
Scott Goehring,
Heiko Goller,
Marcelo de Gomensoro Malheiros,
Pavel Grinfeld,
Michael Hammel,
Henrik Hansen,
Ville Hautamaki,
James Henstridge,
Eric Hernes,
Christoph Hoegl,
Wolfgang Hofer,
Jan Hubicka,
Andreas Hyden,
Ben Jackson,
Krzysztof Jakubowski,
Simon Janes,
Tim Janik,
Fellmann Joaquim,
Andrew Kieschnick,
Peter Kirchgessner,
Philipp Klaus,
David Koblas,
Tuomas Kuosmanen,
Karin Kylander,
Olof S Kylander,
Karl La Rocca,
Chris Lahey,
Nick Lamb,
Marco Lamberto,
Jens Lautenbacher,
Laramie Leavitt,
Elliot Lee,
Marc Lehmann,
Ray Lahtiniemi,
Raph Levien,
Wing Tung Leung,
Adrian Likins,
Tor Lillqvist,
Ingo Luetkebohle,
Josh MacDonald,
Ed Mackey,
Vidar Madsen,
Ian Main,
Kjartan Maraas,
Kelly Martin,
Torsten Martinsen,
Gordon Matzigkeit,
Gregory McLean,
Daniele Medri,
Federico Mena Quintero,
James Mitchell,
Hirotsuna Mizuno,
David Monniaux,
Adam D Moss,
Balazs Nagy,
Yukihiro Nakai,
Sung-Hyun Nam,
Shuji Narazaki,
Felix Natter,
Michael Natterer,
Sven Neumann,
Stephen Robert Norris,
Tim Newsome,
Erik Nygren,
Tomas Ogren,
Miles O'Neal,
Thom van Os,
Garry R. Osgood,
Alan Paeth,
Jay Painter,
Sergey Panov,
Asbjorn Pettersen,
Mike Phillips,
Artur Polaczyaski,
Raphael Quinet,
Vincent Renardias,
Jens Restemeier,
Maurits Rijk,
Daniel Risacher,
James Robinson,
Tim Rowley,
Pablo Saratxaga,
Mike Schaeffer,
John Schlag,
Norbert Schmitz,
Thorsten Schnier,
Alexander Schulz,
Tracy Scott,
Craig Setera,
Aaron Sherman,
Manish Singh,
Daniel Skarda,
Nathan Summers,
Mike Sweet,
Yuri Syrota,
Eiichi Takamori,
Tristan Tarrant,
Michael Taylor,
Owen Taylor,
Ian Tester,
Andy Thomas,
Kevin Turner,
Martin Weber,
James Wang,
Kris Wehner,
Nigel Wetten,
Calvin Williamson,
Matthew Wilson and
Shirasaki Yasuhiro.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR gimprc (5), gimptool (1), gtk-config (1) .BR gimprc (5), gimptool (1), gtk-config (1)

157
gimp.1.in
View File

@ -270,162 +270,7 @@ Spencer Kimball and Peter Mattis.
With patches, fixes, plugins, extensions, scripts, With patches, fixes, plugins, extensions, scripts,
translations, documentation, and more from lots translations, documentation, and more from lots
and lots of people including but not limited to and lots of people including but not limited to
Lauri Alanko, @GIMP_CONTRIBUTORS@
Shawn Amundson,
Sven Anders,
Karl-Johan Andersson,
John Beale,
Zach Beane,
Tom Bech,
Marc Bless,
Edward Blevins,
Reagan Blundell,
Xavier Bouchoux,
Roberto Boyd,
Stanislav Brabec,
Robert Brady,
Hans Breuer,
Simon Budig,
Carey Bunks,
Seth Burgess,
Brent Burton,
Francisco Bustamante,
Albert Cahalan,
Sean Cier,
Winston Chang,
Kenneth Christiansen,
Zbigniew Chyla,
Ed Connel,
Piers Cornwell,
Daniel Cotting,
Jay Cox,
Brian Degenhardt,
Gert Dewit,
Andreas Dilger,
Austin Donnelly,
Scott Draves,
Daniel Dunbar,
Misha Dynin,
Daniel Egger,
Morton Eriksen,
Larry Ewing,
Nick Fetchak,
Valek Filippov,
David Forsyth,
Raphael Francois,
Jochen Friedrich,
Sami Gerdt,
Jim Geuther,
Graeme Gill,
Scott Goehring,
Heiko Goller,
Marcelo de Gomensoro Malheiros,
Pavel Grinfeld,
Michael Hammel,
Henrik Hansen,
Ville Hautamaki,
James Henstridge,
Eric Hernes,
Christoph Hoegl,
Wolfgang Hofer,
Jan Hubicka,
Andreas Hyden,
Ben Jackson,
Krzysztof Jakubowski,
Simon Janes,
Tim Janik,
Fellmann Joaquim,
Andrew Kieschnick,
Peter Kirchgessner,
Philipp Klaus,
David Koblas,
Tuomas Kuosmanen,
Karin Kylander,
Olof S Kylander,
Karl La Rocca,
Chris Lahey,
Nick Lamb,
Marco Lamberto,
Jens Lautenbacher,
Laramie Leavitt,
Elliot Lee,
Marc Lehmann,
Ray Lahtiniemi,
Raph Levien,
Wing Tung Leung,
Adrian Likins,
Tor Lillqvist,
Ingo Luetkebohle,
Josh MacDonald,
Ed Mackey,
Vidar Madsen,
Ian Main,
Kjartan Maraas,
Kelly Martin,
Torsten Martinsen,
Gordon Matzigkeit,
Gregory McLean,
Daniele Medri,
Federico Mena Quintero,
James Mitchell,
Hirotsuna Mizuno,
David Monniaux,
Adam D Moss,
Balazs Nagy,
Yukihiro Nakai,
Sung-Hyun Nam,
Shuji Narazaki,
Felix Natter,
Michael Natterer,
Sven Neumann,
Stephen Robert Norris,
Tim Newsome,
Erik Nygren,
Tomas Ogren,
Miles O'Neal,
Thom van Os,
Garry R. Osgood,
Alan Paeth,
Jay Painter,
Sergey Panov,
Asbjorn Pettersen,
Mike Phillips,
Artur Polaczyaski,
Raphael Quinet,
Vincent Renardias,
Jens Restemeier,
Maurits Rijk,
Daniel Risacher,
James Robinson,
Tim Rowley,
Pablo Saratxaga,
Mike Schaeffer,
John Schlag,
Norbert Schmitz,
Thorsten Schnier,
Alexander Schulz,
Tracy Scott,
Craig Setera,
Aaron Sherman,
Manish Singh,
Daniel Skarda,
Nathan Summers,
Mike Sweet,
Yuri Syrota,
Eiichi Takamori,
Tristan Tarrant,
Michael Taylor,
Owen Taylor,
Ian Tester,
Andy Thomas,
Kevin Turner,
Martin Weber,
James Wang,
Kris Wehner,
Nigel Wetten,
Calvin Williamson,
Matthew Wilson and
Shirasaki Yasuhiro.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR gimprc (5), gimptool (1), gtk-config (1) .BR gimprc (5), gimptool (1), gtk-config (1)

View File

@ -4,6 +4,12 @@ else
D_pdbgen= D_pdbgen=
endif endif
if WITH_AUTHORSGEN
D_authorgen=authorsgen
else
D_authorgen=
endif
bin_PROGRAMS = $(GIMP_REMOTE) bin_PROGRAMS = $(GIMP_REMOTE)
EXTRA_PROGRAMS = \ EXTRA_PROGRAMS = \
@ -29,4 +35,4 @@ INCLUDES = \
#D_gcg= #D_gcg=
#endif #endif
SUBDIRS = $(D_pdbgen) #$(D_gcg) SUBDIRS = $(D_pdbgen) $(D_authorgen) #$(D_gcg)

View File

@ -0,0 +1,3 @@
Makefile
Makefile.in
stamp-authors

View File

@ -0,0 +1,14 @@
EXTRA_DIST = \
contributors
authorsgen_scripts = \
authorsgen.pl
$(srcdir)/authorsgen.pl: stamp-authors
@:
stamp-authors: contributors Makefile.am
rootme=`pwd`; \
cd $(srcdir) && $(PERL) authorsgen.pl \
&& echo timestamp > $$rootme/stamp-authors
all-local: stamp-authors

108
tools/authorsgen/authorsgen.pl Executable file
View File

@ -0,0 +1,108 @@
#!/usr/bin/perl -w
# The GIMP -- an image manipulation program
# Copyright (C) 2000 Sven Neumann <sven@gimp.org>
# No, this script does not create new GIMP authors ;-)
my $contributors = {};
open (INPUT, "contributors")
or die ("Couldn't open file 'contributors'.");
while (<INPUT>)
{
chomp;
s/[,\.]$//;
if (length ($_) and not (/^\#/))
{
if (/(.{1,})\[(.{1,})\]/)
{
$iso{$1} = $2;
push (@contributors, $1);
}
else
{
push (@contributors, $_);
}
}
}
close (INPUT);
open (ICONV, "iconv -f iso-8859-1 -t utf-8 contributors |")
or die ("Call to iconv failed.");
while (<ICONV>)
{
chomp;
if (length ($_) and not (/^\#/) and (/(.{1,})\[(.{1,})\]/))
{
$utf{$1} = $2;
}
}
close (ICONV);
open (AUTHORS, ">../../AUTHORS")
or die ("Couldn't write to file '../../AUTHORS'.");
print AUTHORS <<EOT;
The GIMP: Authors
=================
The people that made it happen!
1. Main Authors
===============
Spencer Kimball
Peter Mattis
2. Contributers
===============
With patches, fixes, plugins, extensions, scripts, translations, documentation,
and more from (in alphabetical order):
EOT
foreach $author (@contributors)
{
print AUTHORS "$author\n";
}
close (AUTHORS);
open (AUTHORS, ">../../app/authors.h")
or die ("Couldn't write to file '../../app/authors.h'.");
print AUTHORS <<EOT;
/* NOTE: This file is autogenerated by authorgen.pl. */
/*
* The main authors are Spencer Kimball and Peter Mattis.
*/
static gchar *authors[] =
{
EOT
foreach $author (@contributors)
{
if ($iso{$author} and $utf{$author})
{
print AUTHORS "#ifndef GDK_USE_UTF8_MBS\n";
print AUTHORS " \"$iso{$author}\",\n";
print AUTHORS "#else\n";
print AUTHORS " \"$utf{$author}\",\n";
print AUTHORS "#endif\n";
}
else
{
print AUTHORS " \"$author\",\n";
}
}
print AUTHORS "};\n";
close (AUTHORS);
exit;

View File

@ -0,0 +1,170 @@
# This file lists all GIMP authors and contributors.
#
# Please do always modify this file, then run authorgen.pl
# to create the files AUTHORS, gimp.1.in and app/authors.h.
#
# The format is one name per line in alphabetical order.
# Names are 7bit ASCII. To include special characters, append
# an ISO-8859-1 encoded string in brackets on the same line.
# We might want to change to UTF-8 as soon as all ports use
# GTK+-2.0. Right now the authorsgen script takes care of
# converting to UTF-8.
#
# Spencer Kimball and Peter Mattis are always listed separatly.
#
Lauri Alanko
Shawn Amundson
Sven Anders
Karl-Johan Andersson
John Beale
Zach Beane
Tom Bech
Marc Bless
Edward Blevins
Reagan Blundell
Xavier Bouchoux
Roberto Boyd
Stanislav Brabec
Robert Brady
Hans Breuer
Simon Budig
Carey Bunks
Seth Burgess
Brent Burton
Francisco Bustamante
Albert Cahalan
Sean Cier
Winston Chang
Kenneth Christiansen
Zbigniew Chyla
Ed Connel
Piers Cornwell
Daniel Cotting
Jay Cox
Brian Degenhardt
Gert Dewit
Andreas Dilger
Austin Donnelly
Scott Draves
Daniel Dunbar
Misha Dynin
Daniel Egger
Morton Eriksen
Larry Ewing
Nick Fetchak
Valek Filippov
David Forsyth
Raphael Francois
Jochen Friedrich
Sami Gerdt
Jim Geuther
Graeme Gill
Scott Goehring
Heiko Goller
Marcelo de Gomensoro Malheiros
Pavel Grinfeld
Michael Hammel
Henrik Hansen
Ville Hautamaki [Ville Hautamäki]
James Henstridge
Eric Hernes
Christoph Hoegl
Wolfgang Hofer
Jan Hubicka
Andreas Hyden
Ben Jackson
Krzysztof Jakubowski
Simon Janes
Tim Janik
Fellmann Joaquim
Andrew Kieschnick
Peter Kirchgessner
Philipp Klaus
David Koblas
Tuomas Kuosmanen
Karin Kylander
Olof S Kylander
Karl La Rocca
Chris Lahey
Nick Lamb
Marco Lamberto
Jens Lautenbacher
Laramie Leavitt
Elliot Lee
Marc Lehmann
Ray Lahtiniemi
Raph Levien
Wing Tung Leung
Adrian Likins
Tor Lillqvist
Ingo Luetkebohle
Josh MacDonald
Ed Mackey
Vidar Madsen
Ian Main
Kjartan Maraas
Kelly Martin
Torsten Martinsen
Gordon Matzigkeit
Gregory McLean
Daniele Medri
Federico Mena Quintero
James Mitchell
Hirotsuna Mizuno
David Monniaux
Adam D Moss
Balazs Nagy
Yukihiro Nakai
Sung-Hyun Nam
Shuji Narazaki
Felix Natter
Michael Natterer
Sven Neumann
Stephen Robert Norris
Tim Newsome
Erik Nygren
Tomas Ogren [Tomas Ögren]
Miles O'Neal
Thom van Os
Garry R. Osgood
Alan Paeth
Jay Painter
Sergey Panov
Asbjorn Pettersen
Mike Phillips
Artur Polaczyaski
Raphael Quinet
Vincent Renardias
Jens Restemeier
Maurits Rijk
Daniel Risacher
James Robinson
Tim Rowley
Pablo Saratxaga
Mike Schaeffer
John Schlag
Norbert Schmitz
Thorsten Schnier
Alexander Schulz
Tracy Scott
Craig Setera
Aaron Sherman
Manish Singh
Daniel Skarda
Nathan Summers
Mike Sweet
Yuri Syrota
Eiichi Takamori
Tristan Tarrant
Michael Taylor
Owen Taylor
Ian Tester
Andy Thomas
Kevin Turner
Martin Weber
James Wang
Kris Wehner
Nigel Wetten
Calvin Williamson
Matthew Wilson
Shirasaki Yasuhiro