Date: prev next · Thread: first prev next last
2014 Archives by date, by thread · List index



こんにちは。田中です。

GNU Makeの公式マニュアルも買ってきたのですが・・・


以下のようなスクリプトを使って、
allfind.sh
------------------------------------------
#!/bin/bash

find ./ -name "*" -exec grep 2>/dev/null -H "$1" {} \;
------------------------------------------


「allfind.sh libvisio」で、以下のような記述を発見しました。

./workdir/LinkTarget/Library/libwpftdrawlo.so.exports:_ZN8libvisio10VSD5Parser10readCharIXEPN10librevenge15RVNGInputStreamE
T

これでsoファイルの名前が分かったので、
・instdir/program/libwpftdrawlo.so を削除
・~/git/libo/workdir/UnpackedTarball/libvisio$ make
・~/git/libo$ make all debug=true dbglevel=2 build-nocheck

のようにして、ようやくUnpackedTarball以下のビルドができるように
なりました。
ロジックを追うのはこれからです。
時間掛かり過ぎですね。でも、これも勉強です。

以上、途中経過でした。


On 2014年11月03日 00:53, Takeshi Abe wrote:
田中さん

On Sun, 02 Nov 2014 19:05:53 +0900, TANAKA Hidemune <info@tanaka-cs.co.jp> wrote:
git/libo/workdir/UnpackedTarball
の中の libvisio を修正して

以下のフォルダで make してみたのですが、
~/git/libo/workdir/UnpackedTarball/libvisio$ make
の修正箇所が適用されないように思います。
gbuild の仕組みからすると、libvisio などのサードパーティのライブラリを
ビルドする処理は exernal というモジュールに含まれているので
$ make external
でビルドすることになると思います。
または、もっと限定するなら libvisio というモジュールが定義されているので、
$ make libvisio.all
でビルドできます。

上記のように workdir/ 以下を触る場合には
solenv/gbuild/ExternalProject.mk
の先頭のコメントにあるドキュメンテーションが参考になります。
(ExternalProject の依存関係にあるものが更新されていたら、常に unpack し
直すという記述などに注意してください。)
これと
external/libvisio/ExternalProject_libvisio.mk
を見れば、修正箇所がなぜ適用されないかについてヒントが見つかるのでは
ないでしょうか。

もちろん workdir/ 以下を直接変更するのはあくまで開発上の一時的な手段で、
正攻法としては
external/libvisio/UnpackedTarball_libvisio.mk
にあるように、変更したい箇所をパッチとして登録すればいいと思います。

-- Takeshi Abe


-- 
■□■□■□■□■□■□■□■□■□■□■□■

 株式会社 田中コンピューターサービス

     代表取締役 田中 秀宗
           TANAKA Hidemune

  本 社 東京都北区滝野川7丁目45番14号
  電 話 03−3576−7272
  FAX 03−3576−7272
  携 帯 090−6187−1418
  E-Mail info@tanaka-cs.co.jp
      http://tanaka-cs.co.jp

■□■□■□■□■□■□■□■□■□■□■□■



-- 
Unsubscribe instructions: E-mail to discuss+unsubscribe@ja.libreoffice.org
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/ja/discuss/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.