rpms/xemacs-sumo/devel xemacs-sumo-jde-mktoc.pl, NONE, 1.1 .cvsignore, 1.7, 1.8 sources, 1.7, 1.8 xemacs-sumo.spec, 1.14, 1.15

Ville Skytta (scop) fedora-extras-commits at redhat.com
Sun Feb 12 15:16:40 UTC 2006


Author: scop

Update of /cvs/extras/rpms/xemacs-sumo/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15287

Modified Files:
	.cvsignore sources xemacs-sumo.spec 
Added Files:
	xemacs-sumo-jde-mktoc.pl 
Log Message:
* Sat Feb 11 2006 Ville Skyttä <ville.skytta at iki.fi>
- Bundle upstream gnus package version 1.89 to fix #181011.
- Get rid of tli_rbl binary only applet jar in jde's docs (first step
  of fixing #180941).



--- NEW FILE xemacs-sumo-jde-mktoc.pl ---
#!/usr/bin/perl -w

my $indent = 0;

my $tochtml = $ARGV[0];
my $toctxt  = $ARGV[1];

open(HTML, $tochtml) or die "Can't read $tochtml: $!";
open(TXT,  $toctxt)  or die "Can't read $toctxt: $!";

while (<HTML>) {
  if (/<applet/) {
    print $`; close(HTML); last;
  }
  else {
    print;
  }
}

# Yeah, not very good quality markup here, but oh well...

print <<EOF;
<style type="text/css">
ul { margin-left: 0; padding-left: 1em; }
li { font-size: smaller; }
</style>
EOF

print "<ul>\n";
while (<TXT>) {
  my ($level, $title, undef, $link) =
    /^(\d+)\s*;\s*(.*?)\s*;\s*(\d+)\s*;\s*\.\.\/html\/[^\/]+\/(.+)\s*/ or next;
  print "</ul>\n" x ($indent - $level) if ($indent > $level);
  print "<ul>\n" x ($level - $indent) if ($indent < $level);
  print "<li><a href=\"", $link, "\" target=\"content\">", $title, "</a></li>\n";
  $indent = $level;
}
print "</ul>\n</body>\n</html>\n";

close(TXT);


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/xemacs-sumo/devel/.cvsignore,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- .cvsignore	10 Dec 2005 21:06:20 -0000	1.7
+++ .cvsignore	12 Feb 2006 15:16:39 -0000	1.8
@@ -1,2 +1,3 @@
 xemacs-mule-sumo-2005-12-08.tar.bz2
 xemacs-sumo-2005-12-08.tar.bz2
+gnus-1.89-pkg.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/xemacs-sumo/devel/sources,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- sources	10 Dec 2005 21:06:20 -0000	1.7
+++ sources	12 Feb 2006 15:16:39 -0000	1.8
@@ -1,2 +1,3 @@
 553da38bc36b4365ab98e0565a0530b8  xemacs-mule-sumo-2005-12-08.tar.bz2
 1927c40affd04ff7c10b979ef24548d0  xemacs-sumo-2005-12-08.tar.bz2
+e7707178416716eac643af29c437f619  gnus-1.89-pkg.tar.gz


Index: xemacs-sumo.spec
===================================================================
RCS file: /cvs/extras/rpms/xemacs-sumo/devel/xemacs-sumo.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- xemacs-sumo.spec	23 Dec 2005 17:41:33 -0000	1.14
+++ xemacs-sumo.spec	12 Feb 2006 15:16:39 -0000	1.15
@@ -11,6 +11,7 @@
 URL:            http://www.xemacs.org/Documentation/packageGuide.html#The_Sumo_Tarball
 Source0:        ftp://ftp.xemacs.org/packages/xemacs-sumo-%{sumo}.tar.bz2
 Source1:        ftp://ftp.xemacs.org/packages/xemacs-mule-sumo-%{sumo}.tar.bz2
+Source2:        ftp://ftp.xemacs.org/packages/gnus-1.89-pkg.tar.gz
 Source10:       Emacs.ad.ja_JP.eucJP
 Source11:       Emacs.ad.ko_KR.eucKR
 Source12:       Emacs.ad.zh_CN.GB2312
@@ -19,6 +20,7 @@
 Source15:       Emacs.ad.ko_KR.UTF-8
 Source16:       Emacs.ad.zh_CN.UTF-8
 Source17:       Emacs.ad.zh_TW.UTF-8
+Source20:       %{name}-jde-mktoc.pl
 Patch0:         %{name}-20051208-hypb-posix.patch
 Patch1:         %{name}-20051208-pydoc-path.patch
 Patch2:         %{name}-20051208-latin-unity-kludge.patch
@@ -37,6 +39,7 @@
 BuildRequires:  sed >= 3.95
 BuildRequires:  /sbin/install-info
 BuildRequires:  %{__python}
+BuildRequires:  %{__perl}
 Requires:       xemacs-common
 # Fake release in this provision in order to avoid self-obsoletion (for now).
 Provides:       apel-xemacs = 10.6-6
@@ -81,6 +84,8 @@
 
 %prep
 %setup -q -c -a1
+tar zxf %{SOURCE2} -C xemacs-packages
+
 # get rid of csh dependency
 %patch0 -p0
 rm xemacs-packages/lisp/hyperbole/file-newer
@@ -115,6 +120,17 @@
 # remove game we shouldn't ship
 rm xemacs-packages/lisp/games/tetris.el*
 
+# get rid of binary-only tli_rbl treeview applet + some cruft in jde docs
+cd xemacs-packages/etc/jde/doc
+for foo in jdebug jde ; do
+    %{__perl} %{SOURCE20} \
+        html/$foo-ug/$foo-ug-toc.html tli_rbl/txt/$foo-ug-toc.txt \
+        > html/$foo-ug/$foo-ug-toc.html.tmp
+    mv html/$foo-ug/$foo-ug-toc.html.tmp html/$foo-ug/$foo-ug-toc.html
+done
+rm -rf tli_rbl src
+cd -
+
 
 %build
 export xemacs_batch="xemacs-nox -batch -vanilla"
@@ -211,6 +227,11 @@
 
 
 %changelog
+* Sat Feb 11 2006 Ville Skyttä <ville.skytta at iki.fi>
+- Bundle upstream gnus package version 1.89 to fix #181011.
+- Get rid of tli_rbl binary only applet jar in jde's docs (first step
+  of fixing #180941).
+
 * Sat Dec 17 2005 Ville Skyttä <ville.skytta at iki.fi> - 20051208-1
 - Patch to support write-region's kludge in latin-unity.
 




More information about the fedora-extras-commits mailing list