[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commit-womb] gnumaint Makefile gm gnupackages.txt
From: |
Karl Berry |
Subject: |
[commit-womb] gnumaint Makefile gm gnupackages.txt |
Date: |
Fri, 17 Dec 2010 18:31:18 +0000 |
CVSROOT: /sources/womb
Module name: gnumaint
Changes by: Karl Berry <karl> 10/12/17 18:31:18
Modified files:
. : Makefile gm gnupackages.txt
Log message:
generate logos
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnumaint/Makefile?cvsroot=womb&r1=1.29&r2=1.30
http://cvs.savannah.gnu.org/viewcvs/gnumaint/gm?cvsroot=womb&r1=1.34&r2=1.35
http://cvs.savannah.gnu.org/viewcvs/gnumaint/gnupackages.txt?cvsroot=womb&r1=1.79&r2=1.80
Patches:
Index: Makefile
===================================================================
RCS file: /sources/womb/gnumaint/Makefile,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -b -r1.29 -r1.30
--- Makefile 16 Dec 2010 21:49:53 -0000 1.29
+++ Makefile 17 Dec 2010 18:31:18 -0000 1.30
@@ -1,11 +1,14 @@
-# $Id: Makefile,v 1.29 2010/12/16 21:49:53 karl Exp $
+# $Id: Makefile,v 1.30 2010/12/17 18:31:18 karl Exp $
# Copyright 2007-2010 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved.
-default: test-genmhtml
+default: test-genlhtml
+
+test-genlhtml lhtml: # result included from www.gnu.org/graphics/manual.html
+ gm generate logos html | tee ~/tmp/x.html
test-genmhtml mhtml: # result included from www.gnu.org/manual/manual.html
gm generate manual html | tee ~/tmp/x.html
Index: gm
===================================================================
RCS file: /sources/womb/gnumaint/gm,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -b -r1.34 -r1.35
--- gm 16 Dec 2010 22:13:19 -0000 1.34
+++ gm 17 Dec 2010 18:31:18 -0000 1.35
@@ -1,5 +1,5 @@
#!/usr/bin/env perl
-# $Id: gm,v 1.34 2010/12/16 22:13:19 karl Exp $
+# $Id: gm,v 1.35 2010/12/17 18:31:18 karl Exp $
# GNU maintainer-related operations.
#
# Copyright 2007, 2008, 2009, 2010 Free Software Foundation Inc.
@@ -51,6 +51,7 @@
generate maintainers bypackage make /gd/gnuorg/maintainers.bypkg file
(run from address@hidden cron)
+generate logos html make www.gnu.org/graphics/allgnupkgs.html
generate manual html make www.gnu.org/manual/allgnupkgs.html
generate packages html make www.gnu.org/software/allgnupkgs.html
@@ -194,6 +195,33 @@
# Return doc links for all packages. The result is included in
# www.gnu.org/manual/manual.html via SSI.
#
+sub generate_logos_html
+{
+ my $autostamp = &generated_by_us ();
+ my @ret = ("<!-- File $autostamp -->");
+ push (@ret, "<table>");
+
+ my %pkgs = &read_gnupackages ();
+ for my $pkgname (sort keys %pkgs) {
+ next if &skip_pkg_p ($pkgname);
+ my $logo = $pkgs{$pkgname}->{"logo"};
+ next unless $logo;
+
+ push (@ret, qq!<tr><td><a href="/software/$pkgname/">$pkgname</a>!);
+ push (@ret, qq! <td><img alt="$pkgname" src="$logo"></tr>\n!);
+ }
+
+ push (@ret, "</table>");
+ push (@ret, "<!-- End file $autostamp -->");
+
+ return @ret;
+}
+
+
+
+# Return doc links for all packages. The result is included in
+# www.gnu.org/manual/manual.html via SSI.
+#
sub generate_manual_html
{
my $autostamp = &generated_by_us ();
Index: gnupackages.txt
===================================================================
RCS file: /sources/womb/gnumaint/gnupackages.txt,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -b -r1.79 -r1.80
--- gnupackages.txt 16 Dec 2010 21:49:53 -0000 1.79
+++ gnupackages.txt 17 Dec 2010 18:31:18 -0000 1.80
@@ -1,4 +1,4 @@
-# $Id: gnupackages.txt,v 1.79 2010/12/16 21:49:53 karl Exp $
+# $Id: gnupackages.txt,v 1.80 2010/12/17 18:31:18 karl Exp $
# Public domain.
#
# This file records information on a per-package basis, *not* including
@@ -576,7 +576,6 @@
package: dr-geo
mundane-name: Dr. Geo
-logo: http://www.ofset.org/uploadfiles/59/image/drgeo-book.png
doc-category: Education
doc-summary: Interactive geometry software
doc-url: http://community.ofset.org/index.php/DrGeo
@@ -785,7 +784,7 @@
doc-shop:
http://shop.fsf.org/product/using-gcc-gnu-compiler-collection-reference-manual/
logo: /software/gcc/img/gccegg-65.png
gplv3-status: done
-activity-status: ok 20100731 (4.5.1)
+activity-status: ok 20101216 (4.5.2)
package: gcl
mundane-name: GNU Common Lisp
@@ -798,7 +797,6 @@
package: gcompris
mundane-name: GCompris
-logo: http://www.ofset.org/uploadfiles/61/image/logoplane.jpg
doc-category: Education
doc-summary: Educational games for small children
doc-url: http://gcompris.net/wiki/Manual
@@ -1139,7 +1137,6 @@
package: gnue
mundane-name: Enterprise
fsd: gnuenterprise
-logo: /software/gnue/gnue.png
doc-category: Business
doc-summary: Enterprise resource planning, et al
doc-url: http://www.gnuenterprise.org/projects/docs-all.php
@@ -1206,7 +1203,6 @@
last-contact: see hurd
package: gnumed
-logo: http://gnumed.org/img/gnumedlogo.png
doc-category: Business
doc-summary: Paperless medical practice
doc-url: http://wiki.gnumed.de/bin/view/Gnumed/GnumedManual
@@ -1244,7 +1240,6 @@
activity-status: ok 20091110 (0.4)
package: gnunet
-logo: http://gnunet.org/logos/gnunet-logo-color.png
doc-category: Internet
doc-summary: A secure peer-to-peer framework
doc-url: http://gnunet.org/book
@@ -3143,7 +3138,6 @@
doc-category: Software
doc-summary: Record, replay and distribute user actions under X11
doc-url: http://www.sandklef.com/xnee/?q=node&q=documents
-logo: http://www.sandklef.com/xnee/files/logo.png
gplv3-status: done-in-directory
activity-status: ok 20101015 (3.07)