最新環境でビルド手順が通るように、各パッケージへのパッチ追加で対応して記載内容を変更#42
Open
hanada-at wants to merge 1 commit intooss-gate:masterfrom
Open
最新環境でビルド手順が通るように、各パッケージへのパッチ追加で対応して記載内容を変更#42hanada-at wants to merge 1 commit intooss-gate:masterfrom
hanada-at wants to merge 1 commit intooss-gate:masterfrom
Conversation
hanada-at
commented
Apr 7, 2025
- Ubuntu 18.04LTSでは最新のnpmが使えず(node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found)、pdftkのインストールも困難になったため、 Ubuntu 20.04LTSを対象に変更。
- npmインストール手順を(外部参照せず)組み込む。
- Re:Viewのmasterはメジャーバージョンアップされたため、v4.0.0をcheckoutする手順を追加。
- Rubyのバージョンアップにより「review-epubmaker: entity expansion has grown too large」が発生しEPUBビルドが失敗するため、Re:Viewへのパッチで対応。
- @types/babel__traverse最新版がTypeScript v3.7.4ではビルドエラーになるため、 easybooksへのパッチで対応。
- epubのcoverimageパスがずれnot foundになるため修正。
- review-epubmakerにおいて大サイズ画像使用時にWARNが出るため修正。
- Ubuntu 18.04LTSでは最新のnpmが使えず(node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found)、pdftkのインストールも困難になったため、 Ubuntu 20.04LTSを対象に変更。 - npmインストール手順を(外部参照せず)組み込む。 - Re:Viewのmasterはメジャーバージョンアップされたため、v4.0.0をcheckoutする手順を追加。 - Rubyのバージョンアップにより「review-epubmaker: entity expansion has grown too large」が発生しEPUBビルドが失敗するため、Re:Viewへのパッチで対応。 - @types/babel__traverse最新版がTypeScript v3.7.4ではビルドエラーになるため、 easybooksへのパッチで対応。 - epubのcoverimageパスがずれnot foundになるため修正。 - review-epubmakerにおいて大サイズ画像使用時にWARNが出るため修正。
kou
reviewed
Apr 8, 2025
| ### 電子書籍用データ・印刷用データのビルド手順 | ||
|
|
||
| Ubuntu 18.04LTS on WSL on Windows 10で動作を確認した。 | ||
| Ubuntu 20.04LTS on WSL on Windows 11で動作を確認した。 |
| Ubuntu 20.04LTS on WSL on Windows 11で動作を確認した。 | ||
|
|
||
| 必要なパッケージをインストールする。 | ||
| 必要なパッケージをインストールする。PDFtk、npmも必要。 |
Member
There was a problem hiding this comment.
この追加は必要ないかも?
コマンドラインを示しているので個別に必要なプロダクトのことをここで説明しなくてもいい気がします。(そうしないと、依存関係が増えるたびにコマンドラインだけじゃなくてここも更新しないといけなくなる。)
| ``` | ||
|
|
||
| Re:VIEWをインストールする。リリース版(4.0.0)ではビルドに失敗したため、masterを使う。 | ||
| Re:VIEWをインストールする。v4.0.0にパッチを当て使う。 |
Member
There was a problem hiding this comment.
その後新しいバージョンがリリースされているので最新バージョンを使うだけでいいかも?
| ``` | ||
|
|
||
| easybooksをインストールする。リリース版ではビルドに失敗し、且つ、要件を満たさないため、改造版を使う。 | ||
| easybooksをインストールする。リリース版ではビルドに失敗し、且つ、要件を満たさないため、改造版にパッチを当て使う。 |
| def detect_properties(path) | ||
| properties = [] | ||
| File.open(path) do |f| | ||
| + REXML::Document.entity_expansion_text_limit=3276800 |
Member
There was a problem hiding this comment.
これ、必要でした?
最新のREXMLならなくても大丈夫な気がするんですけど。。。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.