[gtk-vnc] Update metadata files ready for new release



commit 07f39c3d2935d83560cbcf3684529a63d38ed523
Author: Daniel P. Berrange <berrange redhat com>
Date:   Sun Jul 11 19:35:55 2010 +0100

    Update metadata files ready for new release
    
    Updated AUTHORS, MAINTAINERS, NEWS, README for new release.
    
    Autogenerate ChangeLog from GIT logs

 AUTHORS                       |   40 ++++++++-
 ChangeLog => ChangeLog-old    |    0
 MAINTAINERS                   |    3 +
 Makefile.am                   |   16 +++-
 NEWS                          |   26 ++++++
 README                        |   21 +++--
 autogen.sh                    |    4 +
 build-aux/gitlog-to-changelog |  191 +++++++++++++++++++++++++++++++++++++++++
 gtk-vnc.spec.in               |    9 +-
 9 files changed, 292 insertions(+), 18 deletions(-)
---
diff --git a/AUTHORS b/AUTHORS
index c3e59c6..3d72689 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -9,8 +9,44 @@ GTK VNC is written & maintained by:
 
 Patches received from:
 
-   Halton Huo <Halton-dot-Huo-at-Sun-dotCOM>
-   Hiroyuki Kaguchi <fj7025cf-at-aa-dot-jp-dot-fujitsu-dot-com>
+   Andre Klapper <a9016009 gmx de>
+   António Lima <amrlima gmail com>
+   A S Alam <aalam users sf net>
+   Atsushi SAKAI <sakaia jp fujitsu com>
+   Bruce Cowan <bcowan fastmail co uk>
+   Chao-Hsiung Liao <j_h_liau yahoo com tw>
+   Claude Paroz <claude 2xlibre net>
+   Daniel Nylander <po danielnylander se>
+   Emilio Pozuelo Monfort <pochu27 gmail com>
+   Fran Diéguez <fran dieguez glug es>
+   Gabor Kelemen <kelemeng gnome hu>
+   Gil Forcada <gforcada gnome org>
+   Guido Günther <agx sigxcpu org>
+   Halton Huo <halton huo sun com>
+   Henrique P. Machado <zehrique gmail com>
+   Hiroyuki Kaguchi <fj7025cf aa jp fujitsu com>
+   Inaki Larranaga <dooteo zundan com>
+   John Haxby <john haxby oracle com>
+   Jorge González <jorgegonz svn gnome org>
+   Kenneth Nielsen <k nielsen81 gmail com>
+   Kris Thomsen <lakristho gmail com>
+   Leonid Kanter <leon asplinux ru>
+   Luca Ferretti <elle uca libero it>
+   Lyper Lai <lyp069 gmail com>
+   Mario Blättermann <mariobl gnome org>
+   Marton Balint <cus fazekas hu>
+   Matej UrbanÄ?iÄ? <mateju svn gnome org>
+   Michal Novotny <minovotn redhat com>
+   Michal Suchanek <hramrach centrum cz>
+   Pavlos Tournaris <p tournaris gmail com>
+   Philip Withnall <philip tecnocode co uk>
+   Piotr DrÄ?g <piotrdrag gmail com>
+   Richard W.M. Jones <rjones redhat com>
+   Saori Fukuta <fukuta saori jp fujitsu com>
+   Simos Xenitellis <simos gnome org>
+   Sjoerd Simons <sjoerd simons collabora co uk>
+   Stefano Stabellini <stefano stabellini eu citrix com>
+   Takeshi AIHANA <takeshi aihana gmail com>
 
     ...send patches to get your name here...
 
diff --git a/ChangeLog b/ChangeLog-old
similarity index 100%
rename from ChangeLog
rename to ChangeLog-old
diff --git a/MAINTAINERS b/MAINTAINERS
index 047135a..267bef3 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -2,3 +2,6 @@ Jonh Wendell
 E-mail: jwendell gnome org
 Userid: jwendell
 
+Daniel P. Berrange
+E-mail: dan berrange com
+Userid: dberrange
diff --git a/Makefile.am b/Makefile.am
index 4d7bb87..c9a3765 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -12,7 +12,8 @@ EXTRA_DIST =				\
 	mingw32-$(PACKAGE).spec.in	\
 	intltool-extract.in		\
 	intltool-merge.in		\
-	intltool-update.in
+	intltool-update.in		\
+	ChangeLog-old
 
 DISTCLEANFILES =			\
 	intltool-extract		\
@@ -53,5 +54,18 @@ MAINTAINERCLEANFILES = 		\
 
 GITIGNOREFILES = plugin/gtk-vnc-plugin.la plugin/gtk-vnc-plugin.so
 
+dist-hook: gen-ChangeLog
+
+# Generate the ChangeLog file (with all entries since the switch to git)
+# and insert it into the directory we're about to use to create a tarball.
+gen_start_date = 2009-07-04
+.PHONY: gen-ChangeLog
+gen-ChangeLog:
+        if test -d .git; then                                   \
+          $(top_srcdir)/build-aux/gitlog-to-changelog           \
+            --since=$(gen_start_date) > $(distdir)/cl-t;        \
+          rm -f $(distdir)/ChangeLog;                           \
+          mv $(distdir)/cl-t $(distdir)/ChangeLog;              \
+        fi
 
 -include $(top_srcdir)/git.mk
diff --git a/NEWS b/NEWS
index e356633..c7dc7a7 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,32 @@
     GTK VNC News
     ============
 
+Jul 11, 2010: Release 0.4.0
+===========================
+
+Bug fixes:
+
+ o Fix protocol greeting so wireshark detects stream
+ o Fix build with GSEAL
+ o Try next DNS address after any connect failure
+ o Plugin build with newer mozilla
+ o Fix linkage to libgpg-error
+ o Fix linker flags on solaris
+ o Fix gcrypt threading callbacks
+ o Fix multiple memory leaks
+ o Remove use of PATH_MAX to fix Hurd
+
+New features:
+
+ o Refactored gvnc module to provide a full GObject
+   for interacting with the RFB protcol.
+ o Create a libgvnc.so for non-GTK related APIs for
+   dealing with RFB protcol
+ o Add gvnccapture command line tool for screenshot
+   capture
+ o Many updated translations
+
+
 Oct 20, 2009: Release 0.3.10
 ============================
 
diff --git a/README b/README
index 7ded084..8aeaf98 100644
--- a/README
+++ b/README
@@ -1,16 +1,17 @@
    GTK VNC  Readme
    ===============
 
-gtk-vnc is a VNC viewer widget for GTK. It is built using
-coroutines allowing it to be completely asynchronous while
-remaining single threaded. It provides a core C library, and
-bindings for Python (PyGTK)
-
-The API is still in early stages of development & so until
-version 1.0 is declared, the API may change. The primary
-public API is provided by the vncdisplay.h class & should
-be reasonably free of API churn. The other header files are
-internal VNC protocol implementation & will very likely change.
+gtk-vnc is a project providing client side APIs for the
+RFB protocol / VNC remote desktop technology.
+
+It is built using coroutines allowing it to be completely
+asynchronous while remaining single threaded. It provides
+two core C libraries, libgvnc for interacting with the core
+RFB protocol and libgtk-vnc for a GTK display widget.
+
+There is a traditional Python binding built on PyGTK, and
+evolving support for arbitrary languages via the GObject
+Introspection system.
 
 For information about the project visit the webpage at:
 
diff --git a/autogen.sh b/autogen.sh
index 2235b84..53f5ee4 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -17,4 +17,8 @@ which gnome-autogen.sh || {
     exit 1
 }
 
+# Real changelog is auto-generated from GIT logs at
+# make dist time, but automake requires that it
+# exists at all times :-(
+touch $srcdir/ChangeLog
 ACLOCAL_FLAGS="$ACLOCAL_FLAGS" USE_GNOME2_MACROS=1 . gnome-autogen.sh
diff --git a/build-aux/gitlog-to-changelog b/build-aux/gitlog-to-changelog
new file mode 100755
index 0000000..7660af5
--- /dev/null
+++ b/build-aux/gitlog-to-changelog
@@ -0,0 +1,191 @@
+eval '(exit $?0)' && eval 'exec perl -wS "$0" ${1+"$@"}'
+  & eval 'exec perl -wS "$0" $argv:q'
+    if 0;
+# Convert git log output to ChangeLog format.
+
+my $VERSION = '2009-10-30 13:46'; # UTC
+# The definition above must lie within the first 8 lines in order
+# for the Emacs time-stamp write hook (at end) to update it.
+# If you change this file with Emacs, please let the write hook
+# do its job.  Otherwise, update this string manually.
+
+# Copyright (C) 2008-2010 Free Software Foundation, Inc.
+
+# 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 3 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, see <http://www.gnu.org/licenses/>.
+
+# Written by Jim Meyering
+
+use strict;
+use warnings;
+use Getopt::Long;
+use POSIX qw(strftime);
+
+(my $ME = $0) =~ s|.*/||;
+
+# use File::Coda; # http://meyering.net/code/Coda/
+END {
+  defined fileno STDOUT or return;
+  close STDOUT and return;
+  warn "$ME: failed to close standard output: $!\n";
+  $? ||= 1;
+}
+
+sub usage ($)
+{
+  my ($exit_code) = @_;
+  my $STREAM = ($exit_code == 0 ? *STDOUT : *STDERR);
+  if ($exit_code != 0)
+    {
+      print $STREAM "Try `$ME --help' for more information.\n";
+    }
+  else
+    {
+      print $STREAM <<EOF;
+Usage: $ME [OPTIONS] [ARGS]
+
+Convert git log output to ChangeLog format.  If present, any ARGS
+are passed to "git log".  To avoid ARGS being parsed as options to
+$ME, they may be preceded by '--'.
+
+OPTIONS:
+
+   --since=DATE convert only the logs since DATE;
+                  the default is to convert all log entries.
+   --format=FMT set format string for commit subject and body;
+                  see 'man git-log' for the list of format metacharacters;
+                  the default is '%s%n%b%n'
+
+   --help       display this help and exit
+   --version    output version information and exit
+
+EXAMPLE:
+
+  $ME --since=2008-01-01 > ChangeLog
+  $ME -- -n 5 foo > last-5-commits-to-branch-foo
+
+EOF
+    }
+  exit $exit_code;
+}
+
+# If the string $S is a well-behaved file name, simply return it.
+# If it contains white space, quotes, etc., quote it, and return the new string.
+sub shell_quote($)
+{
+  my ($s) = @_;
+  if ($s =~ m![^\w+/.,-]!)
+    {
+      # Convert each single quote to '\''
+      $s =~ s/\'/\'\\\'\'/g;
+      # Then single quote the string.
+      $s = "'$s'";
+    }
+  return $s;
+}
+
+sub quoted_cmd(@)
+{
+  return join (' ', map {shell_quote $_} @_);
+}
+
+{
+  my $since_date = '1970-01-01 UTC';
+  my $format_string = '%s%n%b%n';
+  GetOptions
+    (
+     help => sub { usage 0 },
+     version => sub { print "$ME version $VERSION\n"; exit },
+     'since=s' => \$since_date,
+     'format=s' => \$format_string,
+    ) or usage 1;
+
+  my @cmd = (qw (git log --log-size), "--since=$since_date",
+             '--pretty=format:%ct  %an  <%ae>%n%n'.$format_string, @ARGV);
+  open PIPE, '-|', @cmd
+    or die ("$ME: failed to run `". quoted_cmd (@cmd) ."': $!\n"
+            . "(Is your Git too old?  Version 1.5.1 or later is required.)\n");
+
+  my $prev_date_line = '';
+  while (1)
+    {
+      defined (my $in = <PIPE>)
+        or last;
+      $in =~ /^log size (\d+)$/
+        or die "$ME:$.: Invalid line (expected log size):\n$in";
+      my $log_nbytes = $1;
+
+      my $log;
+      my $n_read = read PIPE, $log, $log_nbytes;
+      $n_read == $log_nbytes
+        or die "$ME:$.: unexpected EOF\n";
+
+      my @line = split "\n", $log;
+      my $author_line = shift @line;
+      defined $author_line
+        or die "$ME:$.: unexpected EOF\n";
+      $author_line =~ /^(\d+)  (.*>)$/
+        or die "$ME:$.: Invalid line "
+          . "(expected date/author/email):\n$author_line\n";
+
+      my $date_line = sprintf "%s  $2\n", strftime ("%F", localtime ($1));
+      # If this line would be the same as the previous date/name/email
+      # line, then arrange not to print it.
+      if ($date_line ne $prev_date_line)
+        {
+          $prev_date_line eq ''
+            or print "\n";
+          print $date_line;
+        }
+      $prev_date_line = $date_line;
+
+      # Omit "Signed-off-by..." lines.
+      @line = grep !/^Signed-off-by: .*>$/, @line;
+
+      # If there were any lines
+      if (@line == 0)
+        {
+          warn "$ME: warning: empty commit message:\n  $date_line\n";
+        }
+      else
+        {
+          # Remove leading and trailing blank lines.
+          while ($line[0] =~ /^\s*$/) { shift @line; }
+          while ($line[$#line] =~ /^\s*$/) { pop @line; }
+
+          # Prefix each non-empty line with a TAB.
+          @line = map { length $_ ? "\t$_" : '' } @line;
+
+          print "\n", join ("\n", @line), "\n";
+        }
+
+      defined ($in = <PIPE>)
+        or last;
+      $in ne "\n"
+        and die "$ME:$.: unexpected line:\n$in";
+    }
+
+  close PIPE
+    or die "$ME: error closing pipe from " . quoted_cmd (@cmd) . "\n";
+  # FIXME-someday: include $PROCESS_STATUS in the diagnostic
+}
+
+# Local Variables:
+# mode: perl
+# indent-tabs-mode: nil
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "my $VERSION = '"
+# time-stamp-format: "%:y-%02m-%02d %02H:%02M"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "'; # UTC"
+# End:
diff --git a/gtk-vnc.spec.in b/gtk-vnc.spec.in
index f350124..8dbe7e9 100644
--- a/gtk-vnc.spec.in
+++ b/gtk-vnc.spec.in
@@ -146,7 +146,7 @@ rm -fr %{buildroot}
 
 %files -f %{name}.lang
 %defattr(-, root, root)
-%doc AUTHORS ChangeLog NEWS README COPYING.LIB
+%doc AUTHORS ChangeLog ChangeLog-old NEWS README COPYING.LIB
 %{_libdir}/libgtk-vnc-1.0.so.*
 %if %{with_gir}
 %{_libdir}/girepository-1.0/GtkVnc-1.0.typelib
@@ -154,8 +154,10 @@ rm -fr %{buildroot}
 
 %files devel
 %defattr(-, root, root)
-%doc AUTHORS ChangeLog NEWS README COPYING.LIB
 %doc examples/gvncviewer.c
+%if %{with_gir}
+%doc examples/gvncviewer.js
+%endif
 %{_libdir}/libgtk-vnc-1.0.so
 %dir %{_includedir}/%{name}-1.0/
 %{_includedir}/%{name}-1.0/*.h
@@ -166,7 +168,6 @@ rm -fr %{buildroot}
 
 %files python
 %defattr(-, root, root)
-%doc AUTHORS ChangeLog NEWS README COPYING.LIB
 %doc examples/gvncviewer.py
 %{_libdir}/python*/site-packages/gtkvnc.so
 
@@ -178,7 +179,6 @@ rm -fr %{buildroot}
 
 %files -n gvnc
 %defattr(-, root, root)
-%doc AUTHORS ChangeLog NEWS README COPYING.LIB
 %{_libdir}/libgvnc-1.0.so.*
 %if %{with_gir}
 %{_libdir}/girepository-1.0/GVnc-1.0.typelib
@@ -186,7 +186,6 @@ rm -fr %{buildroot}
 
 %files -n gvnc-devel
 %defattr(-, root, root)
-%doc AUTHORS ChangeLog NEWS README COPYING.LIB
 %{_libdir}/libgvnc-1.0.so
 %dir %{_includedir}/gvnc-1.0/
 %{_includedir}/gvnc-1.0/*.h



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]