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

Bug#318875: marked as done (udpkg: Should merge translations by default)



Your message dated Wed, 07 Sep 2005 00:29:22 +0200
with message-id <E1EClwQ-0007XW-Tt@saruman.uio.no>
and subject line udpkg: Should merge translations by default
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 18 Jul 2005 11:53:45 +0000
>From pre@saruman.uio.no Mon Jul 18 04:53:45 2005
Return-path: <pre@saruman.uio.no>
Received: from pat.uio.no [129.240.130.16] (7411)
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1DuUBt-0006a5-00; Mon, 18 Jul 2005 04:53:45 -0700
Received: from mail-mx3.uio.no ([129.240.10.44])
	by pat.uio.no with esmtp (Exim 4.43)
	id 1DuUBn-0004AM-Co
	for submit@bugs.debian.org; Mon, 18 Jul 2005 13:53:39 +0200
Received: from saruman.uio.no ([129.240.201.202])
	by mail-mx3.uio.no with esmtp (Exim 4.43)
	id 1DuUBj-00065P-Ih; Mon, 18 Jul 2005 13:53:35 +0200
Received: from pre by saruman.uio.no with local (Exim 4.44)
	id 1DuUBj-0002HX-0Q; Mon, 18 Jul 2005 13:53:35 +0200
To: submit@bugs.debian.org
Subject: udpkg: Should merge translations by default
From: Petter Reinholdtsen <pere@hungry.com>
Date: Mon, 18 Jul 2005 13:53:34 +0200
Message-ID: <2flpstgcou9.fsf@saruman.uio.no>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (usg-unix-v)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: Petter Reinholdtsen <petter.reinholdtsen@usit.uio.no>
X-UiO-Spam-info: not spam, SpamAssassin (score=-5.517, required 12,
	autolearn=disabled, ALL_TRUSTED -2.82, AWL 2.30,
	UIO_MAIL_IS_INTERNAL -5.00)
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02


Package: udpkg
Version: 1.01
Tags: patch

It would be great if d-i was able to handle extra translations
provided in udebs, to make it possible to add translations to udebs
after they are released.  To make this possible, I believe udpkg need
to use the --merge argument to debconf-loadtemplate when installing
udebs.

Here is an untested patch to make this happen.  I've not commited it
as it is not tested, and I lack a test framework for d-i at the
moment.

Index: debian/changelog
===================================================================
--- debian/changelog	(revisjon 29315)
+++ debian/changelog	(arbeidskopi)
@@ -7,6 +7,9 @@
   [Petter Reinholdtsen]
   * Remove myself as uploaders.  Leaving this package to others in the
     debian-boot team.
+  * Use --merge by default when calling debconf-loadtemplate, to
+    make it possible to append new translations to d-i by providing
+    udebs with only the new translations in them.
 
  -- Colin Watson <cjwatson@debian.org>  Mon, 11 Jul 2005 18:24:12 +0100
 
Index: udpkg.c
===================================================================
--- udpkg.c	(revisjon 29314)
+++ udpkg.c	(arbeidskopi)
@@ -173,7 +173,7 @@
 					di_exec_shell_log(buf);
 					
 					snprintf(buf, sizeof(buf),
-						 "debconf-loadtemplate %s %s",
+						 "debconf-loadtemplate --merge %s %s",
 						 pkg->package, buf2);
 					if (di_exec_shell_log(buf) != 0)
 						r = 1;

---------------------------------------
Received: (at 318875-done) by bugs.debian.org; 6 Sep 2005 22:29:30 +0000
>From pre@saruman.uio.no Tue Sep 06 15:29:30 2005
Return-path: <pre@saruman.uio.no>
Received: from pat.uio.no [129.240.130.16] (7411)
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1EClwY-0001u2-00; Tue, 06 Sep 2005 15:29:30 -0700
Received: from mail-mx3.uio.no ([129.240.10.44])
	by pat.uio.no with esmtp (Exim 4.43)
	id 1EClwT-000223-Nc
	for 318875-done@bugs.debian.org; Wed, 07 Sep 2005 00:29:25 +0200
Received: from saruman.uio.no ([129.240.201.202])
	by mail-mx3.uio.no with esmtp (Exim 4.43)
	id 1EClwR-0001Zr-HV; Wed, 07 Sep 2005 00:29:23 +0200
Received: from pre by saruman.uio.no with local (Exim 4.44)
	id 1EClwQ-0007XW-Tt; Wed, 07 Sep 2005 00:29:22 +0200
To: 318875-done@bugs.debian.org
Subject: Re: udpkg: Should merge translations by default
From: Petter Reinholdtsen <pere@hungry.com>
Message-Id: <E1EClwQ-0007XW-Tt@saruman.uio.no>
Sender: Petter Reinholdtsen <petter.reinholdtsen@usit.uio.no>
Date: Wed, 07 Sep 2005 00:29:22 +0200
X-UiO-Spam-info: not spam, SpamAssassin (score=-5.593, required 12,
	autolearn=disabled, ALL_TRUSTED -2.82, AWL 2.23,
	UIO_MAIL_IS_INTERNAL -5.00)
Delivered-To: 318875-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02


Package: udpkg
Version: 1.02

This patch was included in the latest version of udpkg.  Closing the
bug.



Reply to: