Skip to content

Instantly share code, notes, and snippets.

@henrich
Created November 9, 2015 00:01
Show Gist options
  • Save henrich/4a32eea09ca7b1ddfe05 to your computer and use it in GitHub Desktop.
Save henrich/4a32eea09ca7b1ddfe05 to your computer and use it in GitHub Desktop.
debian/rules で以下を追加したら、ビルドがアーキテクチャごとになりましたよ?(usr/lib -> usr/lib/x86_64-linux-gnu になった)そんなフラグだったっけ…?
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
さらにusr/lib/x86_64-linux-gnu/girepository-1.0なんてディレクトリができていて…これ、多分gir1.2-libgrss0とかいうパッケージの作成が必要なんですよね。どうやるんだろう、ということで既存パッケージを参照して。
$ apt-file search usr/lib/x86_64-linux-gnu/girepository-1.0 |grep typelib
と実行して、それらしいパッケージのソースコードを見ればいいよね
$ apt-cache show gir1.2-abiword-3.0 (これでいいや)
$ apt-get source abiword (ソースゲット)
$ vi debian/control
$ vi debian/gir1.2-abiword-3.0.install
でlibgrssにも適用したのですが…はて。gir*-<package>ってどういうお作法が決まってるんでしょうね?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment