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

[debian-devel:11731] Re: [PATCH] dedit



佐野@浜松です。

 at Thu, 24 Feb 2000 11:49:00 +0900,
  Taketoshi Sano <kgh12351@xxxxxxxxxxx> writes:

> とりあえず以下のパッチを当てて upload してください。

なんかローカルで build してみたら lintian warning とか出て
いろいろ気に入らなかったので手を入れてみました。

先程のパッチは一部 .rej が出ましたが、今度のはちゃんとあたる
はずです。lintian -i で何も出ないことを確認しています。

--
     # (わたしのおうちは浜松市、「夜のお菓子」で有名さ。)
    <kgh12351@xxxxxxxxxxx> : Taketoshi Sano (佐野 武俊)
diff -ruN dedit-0.5.6/debian/changelog dedit-0.5.6.0.1/debian/changelog
--- dedit-0.5.6/debian/changelog	Thu Nov 25 06:14:37 1999
+++ dedit-0.5.6.0.1/debian/changelog	Thu Feb 24 16:17:03 2000
@@ -1,3 +1,9 @@
+dedit (0.5.6.0.1) frozen; urgency=low
+
+  * change file.c to fix the data loss in file saving
+
+ -- Taketoshi Sano <sano@debian.org>  Thu, 24 Feb 2000 16:16:25 +0900
+
 dedit (0.5.6) unstable; urgency=low
 
   * callbacks.c: some functions was moved to own files.
diff -ruN dedit-0.5.6/debian/control dedit-0.5.6.0.1/debian/control
--- dedit-0.5.6/debian/control	Tue Nov 23 04:55:59 1999
+++ dedit-0.5.6.0.1/debian/control	Thu Feb 24 16:43:50 2000
@@ -8,10 +8,10 @@
 Architecture: any
 Depends: ${shlibs:Depends}
 Suggests: lpr
-Description: Editor Tool with Japanese extention for beginners.
+Description: Editor Tool with Japanese extension for beginners.
  The very simple editor with GNOME Environment for beginners.
- DEdit can handle gziped files and some Japanese encoded files.
-  (Japanese encode type: EUC-JP,ISO-2022-JP, SJIS)
+ DEdit can handle gzipped files and some Japanese encoded files.
+  (Japanese encode type: EUC-JP, ISO-2022-JP, SJIS)
  Also can convert Japanese string encode types.
  .
  Original DEdit is distributed as a Debian native package.
diff -ruN dedit-0.5.6/debian/copyright dedit-0.5.6.0.1/debian/copyright
--- dedit-0.5.6/debian/copyright	Tue Nov 23 04:55:59 1999
+++ dedit-0.5.6.0.1/debian/copyright	Thu Feb 24 16:39:07 2000
@@ -17,6 +17,6 @@
   GNU General Public License for more details.
 
   You should have received a copy of the GNU General Public License with
-  the Debian GNU/Linux distribution in file /usr/doc/copyright/GPL;
+  the Debian GNU/Linux distribution in file /usr/share/common-license/GPL;
   if not, write to the Free Software Foundation, Inc., 59 Temple Place,
   Suite 330, Boston, MA  02111-1307  USA
diff -ruN dedit-0.5.6/debian/docs dedit-0.5.6.0.1/debian/docs
--- dedit-0.5.6/debian/docs	Tue Nov 23 04:55:59 1999
+++ dedit-0.5.6.0.1/debian/docs	Thu Feb 24 16:40:20 2000
@@ -1,5 +1,4 @@
 NEWS
-INSTALL
 README
 TODO
 AUTHORS
diff -ruN dedit-0.5.6/debian/rules dedit-0.5.6.0.1/debian/rules
--- dedit-0.5.6/debian/rules	Thu Nov 25 02:59:53 1999
+++ dedit-0.5.6.0.1/debian/rules	Thu Feb 24 17:36:01 2000
@@ -26,6 +26,11 @@
 	# Add here commands to clean up after the build process.
 	-$(MAKE) distclean
 	rm -f po/*.gmo
+	find . -path ./intl -prune -o -name Makefile.in -exec rm -f {} \;
+	rm -f aclocal.m4 config.h.in configure 
+	rm -f install-sh missing mkinstalldirs
+	rm -f po/cat-id-tbl.c po/dedit.pot po/stamp-cat-id
+	rm -f INSTALL stamp-h.in
 
 	dh_clean
 
diff -ruN dedit-0.5.6/doc/dedit.ja.1 dedit-0.5.6.0.1/doc/dedit.ja.1
--- dedit-0.5.6/doc/dedit.ja.1	Tue Nov 23 04:55:59 1999
+++ dedit-0.5.6.0.1/doc/dedit.ja.1	Thu Feb 24 16:12:54 2000
@@ -26,6 +26,6 @@
 .SH :n<T
 DEdit $O Takuro KITAME <kitame@debian.or.jp>. $K$h$C$F:n$i$l$^$7$?!#
 $3$N%^%K%e%"%k%Z!<%8$O Fumitoshi UKAI <ukai@debian.or.jp>, 
-F|K\8l$N%^%K%e%"%k!<%8$O Takuro KITAME <kitame@debian.or.jp>. $K$h$C$F=q$+$l$^$7$?!#
+F|K\8l$N%^%K%e%"%k%Z!<%8$O Takuro KITAME <kitame@debian.or.jp>. $K$h$C$F=q$+$l$^$7$?!#
 $9$Y$F$O Dice %G%#%9%H%j%S%e!<%7%g%s$N$?$a$K:n$i$l$^$7$?!# ($7$+$7!"B>$N%7%9%F%`$G$b;H$o$l$k$G$7$g$&
 ).
diff -ruN dedit-0.5.6/src/file.c dedit-0.5.6.0.1/src/file.c
--- dedit-0.5.6/src/file.c	Thu Nov 25 06:12:17 1999
+++ dedit-0.5.6.0.1/src/file.c	Thu Feb 24 16:16:00 2000
@@ -413,7 +413,7 @@
 #endif
   
     /* せーぶ  */
-    buffer_size = (guint)gtk_text_get_length(GTK_TEXT(doc->text)) + 1;
+    buffer_size = (guint)gtk_text_get_length(GTK_TEXT(doc->text))*2 + 1;
     if( (buffer = (guchar *)g_malloc(buffer_size)) == NULL) {
         g_warning(_("DEdit: %s: Couldn't allocate Memory.\n"), doc->filename);
         return;