X11 Mouse Cursor plug-in for GIMPをdebパッケージ化
昨日リリースしたX11 Mouse Cursor plug-in for GIMPをUbuntu用にdebパッケージ化した。その際に表示されたエラーメッセージとその対処をメモしておく。
- dpkg-shlibdeps: warning: debian/gimp-xmc/usr/lib/gimp/2.0/plug-ins/file-xmc shouldn't be linked with libgimpmodule-2.0.so.0 (it uses none of its symbols).
エラーメッセージで検索して、こちらのサイトの記述通り、「LD_FLAGS」に「--as-needed」を加えたら警告が出なくなった。
debian/rules:
endif ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) -- prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLA -GS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" +GS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs, --as-needed" build: build-stamp
参考:Debian Bug report logs - #347650
- copyright-lists-upstream-authors-with-dh_make-boilerplate
こちらにある通り「(s)」を削除した。
It was downloaded from <http://registry.gimp.org/files/gimp-xmc-plugin-0.1.0.tar.gz> -Upstream Author(s): +Upstream Author: tks mashiw <*********@gmail.com>
2008/09/08
完成したdebパッケージとFedora 9用のrpmパッケージをアップロードした。
GIMP Plugin Registryからダウンロードできる。