[Bug 1076975] Re: Please port input method function to use im-config

Gunnar Hjalmarsson ubuntu at gunnar.cc
Tue Dec 11 15:08:10 UTC 2012


Hi Osamu,

On 2012-12-11 14:20, osamu wrote:
> Hi, (please repost if launch pad reject my mail)

I suppose it was rejected, since the merge proposal doesn't exist any
longer (it was merged yesterday), so I quote your full message in this
bug comment. My replies inline.

> I agree with almost all changes but one.
> 
> On Sat, Dec 01, 2012 at 01:23:22PM -0000, Gunnar Hjalmarsson wrote:
>> Gunnar Hjalmarsson has proposed merging lp:~gunnarhj/ubuntu/raring/im-config/cjkv-default into lp:ubuntu/im-config.
>> === modified file 'debian/rules'
>> --- debian/rules	2011-12-20 00:37:14 +0000
>> +++ debian/rules	2012-12-01 13:22:23 +0000
>> @@ -1,6 +1,6 @@
>>  #!/usr/bin/make -f
>>  %:
>> -	dh $@
>> +	dh $@ --with quilt
>>  
>>  override_dh_auto_build:
>>  	sed -e "s/@@VERSION@@/$$(dpkg-parsechangelog --format dpkg|sed -ne '/^Version/s/Version: *//p')/"\
>>
> 
> Why you need this "--with quilt" if you are using dpkg 3.0 (quilt) format?
> Isn't it the case for this package?

No, unfortunately the format is 3.0 (native), so "--with quilt" was
needed for the patch to be applied.

> It looks like some Ubuntu specific backport compatibility trick.

Don't think so. :)

> I am sure this is fine for your aim but I really wish to know the
> official Ubuntu reference recommending this.  Then I know when this
> stops.  I may change tone of maint-guide depending on the Ubuntu 
> guideline.  I thought all Ubuntu releases use tool chain which
> understand dpkg 3.0 (quilt) format.

Actually, I think it would have been easier if the format had been 3.0
(quilt). I'm certainly not a packaging expert, but I think that if we
would change the package format, we would need a im-
config_0.19.orig.tar.gz file without the debian folder.

> The dh_quilt_patch manpage stating:
> 
> | This tool is useless if you use the source package format 3.0 (quilt).
> | Consider switching to this source format if you haven't done it yet.
> 
> I wrote in maint-guide as:
> 
> | Add support for the dh_quilt_patch and dh_quilt_unpatch commands.
> |  * Include the quilt package in Build-Depends.
> |  * Use dh $@ --with quilt instead.
> |  * This applies and un-applies patches to the upstream source from files in
> |    the debian/patches directory for a source package in the 1.0 format.
> |  * This is not needed if you use the new 3.0 (quilt) source package format.

So let's change it from 3.0 (native) to 3.0 (quilt). Do you know which
steps are involved to accomplish such a switch?

Gunnar

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to language-selector in Ubuntu.
https://bugs.launchpad.net/bugs/1076975

Title:
  Please port input method function to use im-config

Status in Ubuntu Seeds:
  Fix Released
Status in “im-config” package in Ubuntu:
  Fix Released
Status in “language-selector” package in Ubuntu:
  Fix Released

Bug description:
  im-config is the successor of im-switch, featuring a much more elegant
  implementation and better handling of many details when launching
  input methods. Debian has moved to im-config for two years, and im-
  switch has been abandoned for such a long time.  There aren't, and
  won't get any update from Debian anymore, and we are preparing the
  removal of im-switch from Debian.

  Porting the function from im-switch to im-config won't be a pain, as
  im-config itself provides similar command line for setting input
  methods. All the work needed are about adapting current code to the
  new situation. Please don't waste time on fixing im-switch anymore,
  the more you fix it the more delta get generated, and the more it gets
  into a badly maintained status, IMHO.

  This topic has been discussed in https://lists.ubuntu.com/archives
  /ubuntu-devel/2012-October/036055.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-seeds/+bug/1076975/+subscriptions




More information about the foundations-bugs mailing list