[FFe] [needs packaging] New package libcangjie

Bug #1154197 reported by Anthony Wong
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Debian
Fix Released
Unknown
libcangjie (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

This bug is for a new source package libcangjie. It is licensed under LGPL-3+.

Package can be found in https://launchpad.net/~anthonywong/+archive/ime/+packages.

This package is a library for the Chinese input method Cangjie. I wish this package can be accepted in raring since Cangjie is the most popular input method in Hong Kong. Apart from this package, ibus users will also need ibus-cangjie and pycangjie, which can be found in my PPA.

I will work on uploading to Debian soon but in view of freeze schedule of raring, I am uploading to ubuntu first. There is an ITP for Debian, submitter (subscribed in this bug) has acknowledged this.

Ubuntu Version: Raring
Repo: Universe
Homepage: https://github.com/wanleung/libcangjie

Changed in ubuntu:
importance: Undecided → Wishlist
description: updated
Changed in debian:
status: Unknown → New
Revision history for this message
Iain Lane (laney) wrote :

Sure. Should be OK. Moving to the sponsors team, thanks.

Changed in ubuntu:
status: New → Triaged
description: updated
description: updated
Revision history for this message
Sebastien Bacher (seb128) wrote :

I looked at it, some comments:

* "freq-data/getcorpus.cpp: LGPL (v3 or later)
  [Copyright: 2013 Ben Au <benau2006 at yahoo dot com dot hk>]

freq-data/countfreq.sh: LGPL (v3 or later)
  [Copyright: 2013 Ben Au <benau2006 at yahoo dot com dot hk>]"

the copyright holder there should be listed in debian/copyright

* freq-data/quick-classic.txt is under GPL according to debian/copyright, shouldn't the GPL be shipped in the tarball (as COPYING.GPL or similar)?

* debian/rules:
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

seems weird, can't you just bump compat to 9 and let dh do its magic?

* debian/control:
- why do you "Pre-Depends: multiarch-support" if you don't use Multi-Arch: same/foreign tags? is the library supposed to be multiarched?
- Standard-Versions current is 3.9.4
- would be nice to wrap build-depends/depends with one items by line, it makes diff easier to read over time

Otherwise it seems fine, I'm not sure any of those is a blocker for upload. Do you need a sponsor for Ubuntu upload?

Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

* debian/rules:
override_dh_auto_install:
    dh_auto_install

    # Removing unused files
    rm -f debian/tmp/usr/lib/*/*.la

The rm here is done after the file is installed in each debian/<package_name>/

So either switch the order or remove rather debian/*/usr/lib/*/*.la

* Some little picky thing:
W: libcangjie source: build-depends-on-versioned-berkeley-db build-depends:libdb5.3++-dev
W: libcangjie source: missing-license-paragraph-in-dep5-copyright public domain (paragraph at line 46)
W: libcangjie source: out-of-date-standards-version 3.9.3 (current is 3.9.4)

Revision history for this message
Anthony Wong (anthonywong) wrote :

Thanks Seb and Didier for the comments. I am dealing with the licensing issue of quick-classic.txt that Seb pointed out with upstream author, hopefully can get it resolved quickly.

Revision history for this message
Sebastien Bacher (seb128) wrote :

unsubscribing sponsors, the package is in New: https://launchpad.net/ubuntu/raring/+queue?queue_state=0&queue_text=libcangjie

none of the issues pointed in the reviews are adressed in that upload though, is there any plan to do an update to fix those?

Revision history for this message
Anthony Wong (anthonywong) wrote :

Yes, will definitely fix them. Upstream author wants the library to be LGPL so need to sort out the licensing issue.

Revision history for this message
Sebastien Bacher (seb128) wrote :

@Anthony: should I reject the current upload while you sort out the licensing issues then?

Revision history for this message
Anthony Wong (anthonywong) wrote :

I am fine with that. Hopefully I can sort it out today.

Revision history for this message
Anthony Wong (anthonywong) wrote :

The above issues have been fixed and Zhengpeng helped to sponsor the upload.

Revision history for this message
Sebastien Bacher (seb128) wrote :

thanks, the new version looks fine to me

Changed in ubuntu:
status: Triaged → Fix Committed
Revision history for this message
Howard Chan (smartboyhw) wrote :

This package is already approved into the Ubuntu universe repository. Henceforth setting it as "Fix Released".

affects: ubuntu → libcangjie (Ubuntu)
Changed in libcangjie (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Mathieu Bridon (bochecha) wrote :

> The above issues have been fixed and Zhengpeng helped to sponsor the upload.

Anthony, how did you solve the licensing issue with quick-classic.txt?

Can we have your fix sent upstream?

It would have been really better to send your fix upstream first, instead of just fixing things only for Ubuntu. :(

Changed in debian:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.