[Pkg-ime-devel] RFS: libskk

Osamu Aoki osamu at debian.org
Sat Jan 7 21:37:28 UTC 2012


FYI: Here is lintian after I fixed a bit for Description in control:
You can generate this with lintian and how to use it under pbuilder as I explain here:
 http://www.debian.org/doc/manuals/maint-guide/checkit.en.html#lintians
 http://www.debian.org/doc/manuals/maint-guide/build.en.html#pbuilder

Since this is japanese-Japanese, let us have easy time .... excuse us...

日本語のほうが楽でしょうから。。。
 http://www.debian.org/doc/manuals/maint-guide/checkit.ja.html#lintians
 http://www.debian.org/doc/manuals/maint-guide/build.ja.html#pbuilder

またパッケージの記述ですが long descriptionもパッケージ毎に変えるほうが
いいです。以下のlintianを参考にし、順番も入れ替え、てを加えたた修正版を参考に
添付します。内容ご確認いただき使用してください。

http://wiki.debian.org/UsingSymbolsFiles これは私の能力外ですが確認お願い
します。

introspection は問題ないです。

それから、debian/*のファイルはどこに置かれます?
もしgithubにブランチを作って管理されるなら、

ちなみに私はアップストリームじゃなのでよく
 #Vcs-Git: git://git.debian.org/git/pkg-ime/libskk.git
 #Vcs-Browser: http://git.debian.org/?p=pkg-ime/libskk.git;a=summary
をつかいます。でもDaiki Uenoさんはアップストリーなんだからここに別にdebian
パッケージのためのVCSを作りメンテするのは大変でしょう。

ちなみに、git://git.debian.orgのアーカイブは通常Debian独特のタグ付がされています。
 master       debian packageの内容
 upstream     upstreamのmasterの内容
 pristine-tar upstream tarballの内容
この辺はgit-buildpackage/git-import-dsc/pristine-tar等のコマンドを使うと便利だか
らです。 /usr/share/doc/git-buildpackage/manual-html/index.html
単純にアップストリームのVCSをVcs-GitやVcs-Browserと上記とならないので問題です。

やったこと無いんですが、以下のようにすればいいようです。debianブランチにDebian化した
ソースを置かれるなら:
cat <<EOF > .git/gbp.conf
[DEFAULT]
# this is the upstream-branch:
upstream-branch=master
# this is the Debian-branch
debian-branch=debian
EOF

こんな感じにしたら、githubのままでOKなのでも楽じゃないでしょうか?

これなら将来パッケージを誰かに任せてGitを別のところにおいて管理されてもうまく行きます。

そうされれば、以下に出来ます。
Homepage: https://github.com/ueno/libskk
Vcs-Git: git://github.com/ueno/libskk.git
Vcs-Browser: https://github.com/ueno/libskk

(github はhttpsが好きなようですね)

debhelper (>= 8.1.3~) になおしました
  http://wiki.debian.org/Multiarch/Implementation

バージョン同じ-1のままで改訂版ポストしていただくほうが、アップロードが楽です。

よろしく。

+++ lintian output +++
I: libskk source: binary-control-field-duplicates-source field "section" in package libskk-common
N: 
N:    In debian/control, this field for a binary package duplicates the value
N:    inherited from the source package paragraph. This doesn't hurt anything,
N:    but you may want to take advantage of the inheritance and set the value
N:    in only one place. It prevents missing duplicate places that need to be
N:    fixed if the value ever changes.
N:    
N:    Severity: wishlist, Certainty: certain
N:    
N:    Check: control-file, Type: source
N: 
I: libskk source: binary-control-field-duplicates-source field "section" in package libskk0
O: libskk source: package-needs-versioned-debhelper-build-depends 9
N: 
N:    The package either doesn't declare a versioned build dependency on
N:    debhelper or does not declare a versioned build dependency on a new
N:    enough version of debhelper to satisfy the declared compatibility level.
N:    
N:    The required version of debhelper is not guaranteed to be satisfied in
N:    all supported releases of Debian and therefore this may lead to a build
N:    failure.
N:    
N:    Recommended practice is to always declare an explicit versioned
N:    dependency on debhelper equal to or greater than the compatibility level
N:    used by the package, even if the versioned dependency isn't strictly
N:    necessary. Having a versioned dependency also helps with backports to
N:    older releases and correct builds on partially updated systems.
N:    
N:    Note if you are using a compat level, which is marked as experimental,
N:    such as compat 9 in debhelper 8.1.3, then please override this tag.
N:    
N:    Refer to the debhelper(7) manual page for details.
N:    
N:    Severity: minor, Certainty: certain
N:    
N:    Check: debhelper, Type: source
N: 
W: gir1.2-skk-1.0: unknown-section introspection
N: 
N:    The "Section:" field in this package's control file is not one of the
N:    sections in use on the ftp archive. Valid sections are currently admin,
N:    comm, cli-mono, database, debug, devel, doc, editors, electronics,
N:    embedded, fonts, games, gnome, gnu-r, gnustep, graphics, hamradio,
N:    haskell, httpd, interpreters, java, kde, libdevel, libs, lisp,
N:    localization, kernel, mail, math, misc, net, news, ocaml, oldlibs,
N:    otherosfs, perl, php, python, ruby, science, shells, sound, tex, text,
N:    utils, vcs, video, web, x11, xfce, zope.
N:    
N:    The section name should be preceded by "non-free/" if the package is in
N:    the non-free archive area, and by "contrib/" if the package is in the
N:    contrib archive area.
N:    
N:    Refer to Debian Policy Manual section 2.4 (Sections) for details.
N:    
N:    Severity: normal, Certainty: certain
N:    
N:    Check: fields, Type: binary, udeb, source
N: 
I: libskk0: no-symbols-control-file usr/lib/x86_64-linux-gnu/libskk.so.0.0.0
N: 
N:    Although the package includes a shared library, the package does not
N:    have a symbols control file.
N:    
N:    dpkg can use symbols files in order to generate more accurate library
N:    dependencies for applications, based on the symbols from the library
N:    that are actually used by the application.
N:    
N:    Refer to the dpkg-gensymbols(1) manual page and
N:    http://wiki.debian.org/UsingSymbolsFiles for details.
N:    
N:    Severity: wishlist, Certainty: certain
N:    
N:    Check: shared-libs, Type: binary, udeb
N: 



-------------- next part --------------
Source: libskk
Priority: optional
Maintainer: IME Packaging Team <pkg-ime-devel at lists.alioth.debian.org>
Uploaders: Daiki Ueno <ueno at unixuser.org>
DM-Upload-Allowed: yes
Build-Depends: debhelper (>= 8.1.3~),
	       autotools-dev,
	       intltool,
	       libgee-dev,
	       libjson-glib-dev,
	       gobject-introspection,
	       libgirepository1.0-dev
Standards-Version: 3.9.2
Section: libs
Homepage: https://github.com/ueno/libskk
Vcs-Git: git://github.com/ueno/libskk.git
Vcs-Browser: https://github.com/ueno/libskk

Package: libskk-common
Architecture: all
Depends: ${shlibs:Depends},
	 ${misc:Depends}
Multi-Arch: foreign
Description: library to deal with Japanese kana-kanji conversion method - common files
 Library that provides GObject-based interface of Japanese
 input methods.  Currently it supports SKK (Simple Kana Kanji) with
 various typing rules including romaji-to-kana, AZIK, ACT, TUT-Code,
 T-Code, and NICOLA.
 .
 This package contains common files.

Package: libskk0
Architecture: any
Depends: libskk-common (= ${source:Version}),
	 ${shlibs:Depends},
	 ${misc:Depends}
Pre-Depends: ${misc:Pre-Depends}
Multi-Arch: same
Description: library to deal with Japanese kana-kanji conversion method
 Library that provides GObject-based interface of Japanese
 input methods.  Currently it supports SKK (Simple Kana Kanji) with
 various typing rules including romaji-to-kana, AZIK, ACT, TUT-Code,
 T-Code, and NICOLA.
 .
 This package contains the shared library.

Package: libskk-dev
Section: libdevel
Architecture: any
Depends: libskk0 (= ${binary:Version}),
	 ${shlibs:Depends},
	 ${misc:Depends},
	 libgee-dev,
	 libjson-glib-dev,
	 gir1.2-skk-1.0 (= ${binary:Version}),
	 skkdic
Description: library to deal with Japanese kana-kanji conversion method - development
 Library that provides GObject-based interface of Japanese
 input methods.  Currently it supports SKK (Simple Kana Kanji) with
 various typing rules including romaji-to-kana, AZIK, ACT, TUT-Code,
 T-Code, and NICOLA.
 .
 This package contains the library development files.

Package: libskk-dbg
Section: debug
Priority: extra
Architecture: any
Depends: libskk0 (= ${binary:Version}),
	 ${misc:Depends}
Description: library to deal with Japanese kana-kanji conversion method - debugging symbols
 Library that provides GObject-based interface of Japanese
 input methods.  Currently it supports SKK (Simple Kana Kanji) with
 various typing rules including romaji-to-kana, AZIK, ACT, TUT-Code,
 T-Code, and NICOLA.
 .
 This package contains the debugging symbols.

Package: gir1.2-skk-1.0
Architecture: any
Depends: ${shlibs:Depends},
         ${gir:Depends},
         ${misc:Depends}
Section: introspection
Description: library to deal with Japanese kana-kanji conversion method - introspection data
 Library that provides GObject-based interface of Japanese
 input methods.  Currently it supports SKK (Simple Kana Kanji) with
 various typing rules including romaji-to-kana, AZIK, ACT, TUT-Code,
 T-Code, and NICOLA.
 .
 This package contains the introspection data.


More information about the Pkg-ime-devel mailing list