[Pkg-ocaml-maint-commits] r5781 - in /trunk/packages/ocamlgraph/trunk/debian: changelog patches/00list patches/03_hide_b0rken_icon.dpatch
zack at users.alioth.debian.org
zack at users.alioth.debian.org
Sat Jun 21 13:47:40 UTC 2008
Author: zack
Date: Sat Jun 21 13:47:40 2008
New Revision: 5781
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/?sc=1&rev=5781
Log:
03_hide_b0rken_icon.dpatch: (new patch) avoid references to the non
existent icon "ed_icon.xpm"
Added:
trunk/packages/ocamlgraph/trunk/debian/patches/03_hide_b0rken_icon.dpatch (with props)
Modified:
trunk/packages/ocamlgraph/trunk/debian/changelog
trunk/packages/ocamlgraph/trunk/debian/patches/00list
Modified: trunk/packages/ocamlgraph/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocamlgraph/trunk/debian/changelog?rev=5781&op=diff
==============================================================================
--- trunk/packages/ocamlgraph/trunk/debian/changelog (original)
+++ trunk/packages/ocamlgraph/trunk/debian/changelog Sat Jun 21 13:47:40 2008
@@ -20,6 +20,8 @@
- 01_makefile.dpatch: refresh wrt latest upstream Makefile.in
- 02_editor_naming.dpatch: (new patch) rename the best built editor to
"ocamlgraph-editor"
+ - 03_hide_b0rken_icon.dpatch: (new patch) avoid references to the non
+ existent icon "ed_icon.xpm"
- remove no longer applied patches: 02_literals_overflow.dpatch,
03_META.dpatch, 04_ocamldoc_coloring.dpatch
* debian/libocamlgraph-ocaml-dev.examples: refresh according to new upstream
Modified: trunk/packages/ocamlgraph/trunk/debian/patches/00list
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocamlgraph/trunk/debian/patches/00list?rev=5781&op=diff
==============================================================================
--- trunk/packages/ocamlgraph/trunk/debian/patches/00list (original)
+++ trunk/packages/ocamlgraph/trunk/debian/patches/00list Sat Jun 21 13:47:40 2008
@@ -1,2 +1,3 @@
01_makefile.dpatch
02_editor_naming.dpatch
+03_hide_b0rken_icon.dpatch
Added: trunk/packages/ocamlgraph/trunk/debian/patches/03_hide_b0rken_icon.dpatch
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocamlgraph/trunk/debian/patches/03_hide_b0rken_icon.dpatch?rev=5781&op=file
==============================================================================
--- trunk/packages/ocamlgraph/trunk/debian/patches/03_hide_b0rken_icon.dpatch (added)
+++ trunk/packages/ocamlgraph/trunk/debian/patches/03_hide_b0rken_icon.dpatch Sat Jun 21 13:47:40 2008
@@ -1,0 +1,34 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 03_hide_b0rken_icon.dpatch by Stefano Zacchiroli <zack at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad trunk~/editor/ed_main.ml trunk/editor/ed_main.ml
+--- trunk~/editor/ed_main.ml 2008-04-03 17:16:32.000000000 +0200
++++ trunk/editor/ed_main.ml 2008-06-21 15:42:17.000000000 +0200
+@@ -899,7 +899,7 @@
+ This software 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."
+- ~logo:(GdkPixbuf.from_file"ed_icon.xpm" )
++ (* ~logo:(GdkPixbuf.from_file"ed_icon.xpm" ) *)
+ ~name:ed_name
+ ~version:"0.99"
+ ~website:"http://ocamlgraph.lri.fr/"
+@@ -928,12 +928,14 @@
+ let iter = buffer#get_iter_at_char 0 in
+ (* title *)
+ buffer#insert ~iter ~tag_names:["title"] (ed_name^" Handbook\n");
++ (*
+ (* editor's icon *)
+ let image_anchor = buffer#create_child_anchor iter in
+ let image = GMisc.image
+ ~pixbuf:(GdkPixbuf.from_file_at_size "ed_icon.xpm" ~width:70 ~height:70)
+ () in
+ view#add_child_at_anchor image#coerce image_anchor;
++ *)
+ buffer#insert ~iter "\n\n\n";
+ let start,stop = buffer#bounds in
+ buffer#apply_tag_by_name "center" ~start ~stop ;
Propchange: trunk/packages/ocamlgraph/trunk/debian/patches/03_hide_b0rken_icon.dpatch
------------------------------------------------------------------------------
svn:executable = *
More information about the Pkg-ocaml-maint-commits
mailing list