[Pkg-jed-commit] r88 - in trunk/packages/jed/debian: . patches

Jörg Sommer jo-guest at costa.debian.org
Thu Sep 29 21:58:00 UTC 2005


Author: jo-guest
Date: 2005-09-29 21:57:59 +0000 (Thu, 29 Sep 2005)
New Revision: 88

Modified:
   trunk/packages/jed/debian/patches/50_popups.sl.dpatch
   trunk/packages/jed/debian/rules
Log:
* extended the patch for compressed documentation support to mark the
  new buffer as unmodified, because most do not kill the buffer otherwise

* changed rules to not compress the jedfuns.txt (fixed typo)


Modified: trunk/packages/jed/debian/patches/50_popups.sl.dpatch
===================================================================
--- trunk/packages/jed/debian/patches/50_popups.sl.dpatch	2005-09-29 10:55:40 UTC (rev 87)
+++ trunk/packages/jed/debian/patches/50_popups.sl.dpatch	2005-09-29 21:57:59 UTC (rev 88)
@@ -6,9 +6,9 @@
 ## DP: patch adds support for compressed documentation files.
 
 @DPATCH@
-diff -urNad --exclude=CVS --exclude=.svn ./lib/popups.sl /tmp/dpep-work.bTOADF/jed-B0.99-17.111/lib/popups.sl
---- ./lib/popups.sl	2005-09-18 18:31:08.792582496 +0200
-+++ /tmp/dpep-work.bTOADF/jed-B0.99-17.111/lib/popups.sl	2005-09-18 19:18:23.314669640 +0200
+diff -urNad --exclude=CVS --exclude=.svn ./lib/popups.sl /tmp/dpep-work.VFDaWo/jed-B0.99-17.111/lib/popups.sl
+--- ./lib/popups.sl	2005-07-25 06:37:23.000000000 +0200
++++ /tmp/dpep-work.VFDaWo/jed-B0.99-17.111/lib/popups.sl	2005-09-29 23:11:09.885287728 +0200
 @@ -23,6 +23,8 @@
     foreach (files)
       {
@@ -18,7 +18,7 @@
  	file = path_sans_extname (file);
  	menu_append_item (popup, file, fun, file);
       }
-@@ -31,7 +33,14 @@
+@@ -31,7 +33,15 @@
  private define browse_docs_callback (file)
  {
     file = dircat (JED_ROOT, "doc/txt/" + file + ".txt");
@@ -29,12 +29,13 @@
 +        delbuf( () );
 +        sw2buf( () + ".gz" );
 +        () = run_shell_cmd("gzip -dc " + file + ".gz");
++        set_buffer_modified_flag(0);
 +        bob();
 +    }
     pop2buf (whatbuf ());
     most_mode ();
  }
-@@ -251,7 +260,7 @@
+@@ -251,7 +261,7 @@
  #ifndef VMS
  add_files_popup_with_callback ($1, "&Browse Docs",
  			       dircat (JED_ROOT, "doc/txt"),

Modified: trunk/packages/jed/debian/rules
===================================================================
--- trunk/packages/jed/debian/rules	2005-09-29 10:55:40 UTC (rev 87)
+++ trunk/packages/jed/debian/rules	2005-09-29 21:57:59 UTC (rev 88)
@@ -108,7 +108,7 @@
 	@echo
 	@echo --- INSTALL-ARCH-INDEP ---
 	@echo
-	dh_compress -i --exclude=.txt
+	dh_compress -i --exclude=libfuns.txt --exclude=jedfuns.txt
 
 	dh_fixperms -i
 	dh_installdeb -i




More information about the Pkg-jed-commit mailing list