Linux あれこれ

Linux 関連(一部 Windows11 )の備忘録です。

「Void Linux」の「xbps-src」にて、「featherpad、四川省」アプリを移植2〈H179-5〉

登録日: 2025-11-18 更新日: 2025-12-08

今回は、以前の仮想マシンとは別の(VirtualBox Guest Additions が有効な)「Void Linux」に、(ソースのダウンロード、ビルド、パッケージ化する)作業を半自動化して「アプリの移植」を楽にしてくれる、「xbps-src」のビルド環境をセットアップしました:

-

気付いたのは、個人でアプリの移植やソースの修正をすると、既存のパッケージに埋もれてしまうこと:

管理しづらいので、アプリの移植や、ソースファイルに手を加えたパッケージは、パッケージ名の先頭に「@」を付けて、区別できるようにしました:

-

今回はそのルールで、前回の投稿で試した「featherpad」および「四川省」アプリのアプリ名(フォルダ名とテンプレート)を変更、および、アプリの移植で使うと便利な「xtools」をインストールしました。

なお、ソースの修正は自己責任です。

-

その備忘録です。

-

-

使用したPC は、新しく購入した ミニPC「MINISFORUM NAB5」です。
プロセッサは「Core i5-12450H」で、メモリ 16GB、SSD 512GB です。

-

(注)リンクを戻るときはブラウザの左上の「←」をクリック
Android スマホであれば「ホーム」ボタン隣の「<」をタップ

-

-


目次

-

前回の作業:

「Void Linux」の「xbps-src」にて、アプリを移植1〈H179-2

VirtualBox 7.2.2」に、「Void Linux」(Xfce) をインストール〈H179-4

-

今回の作業:

1.  作業前に、「Void Linux」の仮想マシンのクローンを作成:

2. 「xbps-src」のビルド環境をセットアップ:

3. 「FeatherPad」アプリを、ソースに手を加えずに「パッケージ化」:

4.  アプリ名が小文字の「featherpad」アプリを別に作り、ヘルプ表示を「xbps-src」の備忘録にして「パッケージ化」:

5. 「四川省」 (kshisen) ゲームを移植、起動メニューを日本語化して「パッケージ化」:

6.  参考:「qpdfview」アプリの「パッケージ化」にてエラー:

-

参考になりそうな作業:

  1. 「featherpad」アプリで、「パッケージ化」にトライした履歴:

  2. 「@featherpad」アプリで、ヘルプ表示を「xbps-src」の備忘録(ver2)に更新した履歴:

  3. 「@featherpad」アプリで、自分の好みの内容のヘルプ表示に変更したいときの手順:

  4. 「四川省」 (kshisen) ゲームで、「パッケージ化」にトライした履歴:

  5. 「xbps-src」のビルド環境の更新:

  6. 「xtools」ツールのインストールと使い方:

  7. 「xbps-src」の「ヘルプ」を表示:

-

「まとめ へ」

「目次詳細 へ」

-

-


- --- - --- - --- - --- - --- - --- - --- -

ホストOS の「Xubuntu 24.04.3 LTS」を立ち上げ:

-

VirtualBox 7.2.2」を起動:

-

「Void-Linux」(Xfce) を起動:

〈H179-4〉の「項番 11.」で、色々とカスタマイズ:

-

追記:

前回の〈H179-4〉にて、「Void Linux」に、手動で「VirtualBox Guest Additions」をインストール して、すべての機能が有効になりました:

-

-


- --- - --- - --- - --- - --- - --- - --- --

VirtualBox」について:

-

VirtualBox 」は、Oracle(オラクル)社が開発している「仮想マシン」を構築するためのソフトウェアです。

-

-

-


- --- - --- - --- - --- - --- - --- - --- ---

Xubuntu」について:

-

Ubuntu の公式フレーバー(性格の違う兄弟?)です

Xubuntu」(ズブントゥ)は、 Ubuntu ベースの、軽量な「Xfce」デスクトップ環境です。

Ubuntu ベースにつき、多くのノウハウ、情報等があること、および問題の少ない「x11」で動いていることが強みです。

-

個人的には使い慣れた環境です。
カスタマイズが色々とできるので、自分にとって使い勝手の良い環境を作れるのが利点です。

-

-


- --- - --- - --- - --- - --- - --- - --- ----

「Void Linux」について:

-


1). 公式サイト:

The Void (Linux) distribution

-

英語のみのサイトです:

-

「Void Linux」は、独立してボランティアのみで開発された、ローリングリリース安定版で提供されている、汎用 Linux オペレーティングシステムです:

-

抜粋:

Void の「パッケージマネージャ」と「ビルドシステム」はゼロから書かれています:

ソフトウェアは「バイナリパッケージ」で提供されるか、「XBPS ソースパッケージコレクション」の助けを借りて「ソース」から直接ビルドされます。

-

このディストリビューションを使う利点のひとつは、優れた「パッケージ管理」です:

 →ソースからのビルドを楽しめます:

-


2). runit:

runit を「init システム」および「サービススーパーバイザー」として使用しています。

シンプルさを好む開発者も多いみたい:

-

ただし、ソースからビルドする場合に、「systemd」に依存してるアプリは、うまくビルドできなかったり、ビルドできても動かないかも:

-


3). C ライブラリの多様性( 2つの選択肢):

Void Linux は、「musl」GNU libc」の両方の実装をサポートします。

-

→それぞれの利点があるので、それぞれの Live イメージが提供されています:

-

「musl」だと、「GNU libc」よりもリポジトリに登録されてるアプリが(同じか)少ない? 可能性があります:

また、ソースからビルドするにしても、動くかはビルドしてみないとわかりません:

ただし、「xbps-src」のsrcpkgs ディレクトリには、「musl」に対応させたパッケージの「テンプレート」が置かれているので、移植するときは参考になります:

もし動けば、コンパクトで、速くなる?かも:

-

両方の「仮想マシン」を作成して、試してみるのもアリ:

-


4). XBPS:

XBPS(X Binary Package System)パッケージマネージャ:

-

xbps-0.60.6_1 (2025年 11月 17日 現在)

XBPS は「パッケージマネージャ」で、二条項 BSD ライセンスでゼロから書かれています。

→提供と改善がしやすいように、開発途中で、最もゆるいライセンス形式に変更されたようです:

-


5). xbps-src:

xbps-src は「xbps パッケージビルダー」(ビルドシステム)で、二条項 BSD ライセンスでゼロから書かれています。

-

参考:

-

(1). Void Linux は、XBPS パッケージマネージャのテストディストリビューションとして、
NetBSD の開発者である Juan Romero Pardines 氏によって2008年に作成されたみたい。

-

(2). 「xbps-src」に影響を与えた?かもしれない、「pkgsrc」について:

「pkgsrc」は FreeBSDports システムから派生したもので、 はじめは NetBSD 専用として開発されていました。その後、 多くののプラットフォーム(Linux を含む)に対応しています。

参考:

Chapter 1. pkgsrc とは何か

-


6). 二条項 BSD ライセンス:

OS や付属するアプリの配布や改善がしやすいように、「旧 BSD ライセンス(四条項 BSD ライセンス)」から「第三条」、「第四条」を削除して、制限をゆるくしたライセンスが採用されています:

参考:

BSD 2-Clause License

-

-


- --- - --- - --- - --- - --- - --- - --- ----

「xbps-src」について:

-

The XBPS source packages collection

GitHubvoid-linux/void-packages」より抜粋:

-

このリポジトリには、Void Linux ディストリビューション用のバイナリ パッケージをビルドするための
「XBPS ソース パッケージ コレクション」が含まれています。

-

付属の「xbps-src」スクリプトは、ソースをフェッチ(読込)してビルドし、そのファイルを仮の destdir にインストールを行い、パッケージ化して、

「xbps-install」コマンドでインストール、および「xbps-query」コマンドでクエリ(情報の問合せが)できる「XBPS バイナリ パッケージ」を生成します。

:
貢献方法の概要は、「貢献」を参照:
ソース パッケージの作成方法の詳細は、「マニュアル」を参照:

-


「xbps-src」サイトの目次:

「xbps-src」についての、英文の説明です:

-

(1). 要件:

 Requirements

(2). クイックスタート:

 Quick start

(3). chroot メソッド:

 chroot methods

(4). ブートストラップ パッケージのインストール:

 Install the bootstrap packages

(5). 構成:

 Configuration

(6). ディレクトリ階層:

 Directory hierarchy

(7). パッケージのビルド:

 Building packages

(8). パッケージのビルドオプション:

 Package build options

(9). ローカル リポジトリの共有と署名:

 Sharing and signing your local repositories

(10). 既存のローカル パッケージの再ビルドと上書き:

 Rebuilding and overwriting existing local packages

(11). 分散コンパイル用に distcc を有効にします:

 Enabling distcc for distributed compilation

(12). Distfile ミラー:

 Distfiles mirrors

(13). ターゲット アーキテクチャ用のパッケージのクロスコンパイル:

 Cross compiling packages for a target architecture

(14). 海外の Linux ディストリビューションで xbps-src を使う:

 Using xbps-src in a foreign Linux distribution

(15). masterdir の再作成:

 Remaking the masterdir

(16). masterdir を最新の状態に保ちます:

 Keeping your masterdir uptodate

(17). x86_64 で 32 ビット パッケージをビルド:

 Building 32bit packages on x86_64

(18). musl C ライブラリ用のパッケージをネイティブにビルド:

 Building packages natively for the musl C library

(19). void 基本システムをゼロからビルド:

 Building void base-system from scratch

-

-


現在のOS のバージョンを表示:

-

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 

ホストOS : 「Xubuntu 24.04.3 LTS」

2025-11-18 現在

-

カーネル:
$ uname -r
:
6.8.0-87-generic

→LTS版は安定志向なので、更新の回数は少なめです:

-

リリース:
$ cat /etc/lsb-release
:
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=24.04
DISTRIB_CODENAME=noble
DISTRIB_DESCRIPTION="Ubuntu 24.04.3 LTS"

→LTS 版の更新(ポイントリリース)は、6ヶ月前後で、
 今は「24.04.3」にアップされています

-

x11」と「Wayland」のどちらで動作してるか確認:
$ echo $XDG_SESSION_TYPE
:
x11

→「Wayland」ではなく、「x11」で動作しています。

-

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 

ゲストOS : 「Void Linux

2025-11-18 現在

-

カーネル:
$ uname -r
6.12.58_1

Ubuntu よりも進んでいます:

-

リリース:
$ cat /etc/os-release
:
NAME="Void"
ID="void"
PRETTY_NAME="Void Linux"
HOME_URL="https://voidlinux.org/"
DOCUMENTATION_URL="https://docs.voidlinux.org/"
LOGO="void-logo"
ANSI_COLOR="0;38;2;71;128;97"

DISTRIB_ID="void"

→ローリングリリースです:

-

x11」と「Wayland」のどちらで動作してるか確認:
$ echo $XDG_SESSION_TYPE
x11

→「Wayland」ではなく、「x11」で動作しています。

-

-


- --- - --- - --- - --- - --- - --- - --- -----

前回の〈H179-4〉の投稿で作成した「仮想マシン」にて、作業:

-

前回の投稿:

「VirtualBox 7.2.2」に、「Void Linux」(Xfce) をインストール〈H179-4〉

仮想マシン」にて、手動で base イメージの「iso イメージ」から「Void Linux」をインストール後、「Xfce」デスクトップ環境を追加しました:

→ちなみに、「リアルタイムの解像度調整」と「クリップボードの共有」機能が有効です:

-

-


- --- - --- - --- - --- - --- - --- - --- ----- -

1. 任意: 作業前に、「Void Linux」の仮想マシンのクローンを作成:

-

失敗してもすぐに戻せるように、「クローン」(仮想マシンのコピー)を作成:

-

作成に手間はかからないし、要らないときはすぐに削除できます。

(個人的には)ブログの投稿前に、記述したことの最終確認にも使うので無駄ではありません:

-


1). 「仮想マシン」のクローンを作成:

-

(1). 「仮想マシン」の電源オフ:

-

(2). Virtualbox マネージャにて操作:

-

(3). 「仮想マシン」の「Void-Linux3」を右クリック→「クローン」

-

名前:

「Void-Linux3 の原本1」

→「完了」

-

問題点: 「VirtualBox 7.2.2」の「VirtualBox マネージャ」では日本語入力できません:

→日本語を入力したかったら、エディタで入力後、貼り付けます:

-

コピーが終わるまで待ちます:

-

(4). 「説明」をクリックして入力:

説明:

ハードディスク「Void-Linux3.vmdk」を接続:  
2025-11-06 現在の退避

→「OK」

-

問題点: 「VirtualBox 7.2.2」の「VirtualBox マネージャ」では日本語入力できません:

→日本語を入力したかったら、エディタで入力後、貼り付けます:

-


2). 「Void-Linux3 の原本1」はさわらずに、「Void-Linux3」を選んで、

→「起動」をクリック:

-


3). ログイン画面が表示:

-


4). デスクトップ画面が表示:

-


5). Ctrl+Alt+T で「端末」を起動:

-

-


- --- - --- - --- - --- - --- - --- - --- ----- --

2. 「xbps-src」のビルド環境をセットアップ:

-

Void Linux にて、公式リポジトリにないソフトウェアを
「ソースからビルドして、インストール」するには、「xbps-src」スクリプト)ツールを使い、1度「パッケージ化」してから、インストールします。そのための環境を作成します:

-

もし、ビルド環境のセットアップに失敗しても、「void-packages」フォルダを削除すれば、やり直せます:

-

参考:

Github に置かれた 2つの説明書:

-

「Void Linux」のリポジトリには、「XBPS ソースパッケージコレクション」が含まれており、それを使って、Void Linux 配布用のバイナリパッケージがビルドされています:

-

リポジトリに含まれている「xbps-src」スクリプトを使うと、

「ソースを取得」→「展開」→「ビルド」→「ビルド」したファイルを「DestDir」に配置→「パッケージ化」の流れで、

「xbps-install」および「xbps-query」コマンドで、インストールまたはクエリできる、

「XBPS」バイナリパッケージを生成できます。

-


1). システム更新:

$ sudo xbps-install -Su

-

カーネルの更新があったので、再起動:
$ sudo reboot

-


2). 「xbps-src」で必要なツールがあるか確認:

-

(1). 必要なツール:
GNU bash
xbps >= 0.56
git
common POSIX utilities included by default in almost all UNIX systems
curl
flock - util-linux
bsdtar or GNU tar
install - GNU coreutils
objcopy、objdump、strip、: binutils

→これらのツールの多くは、Void Linux の基本的な「base-system」パッケージなどに含まれていますが、 足りないパッケージがあるかも:

-

(2). 試しに、インストールされているか、いくつかを確認:
$ xbps-query -l | grep -e binutils -e curl -e git
:
ii binutils-2.44_2                   GNU binary utilities
ii binutils-doc-2.44_2               GNU binary utilities - info files
ii binutils-libs-2.44_2              GNU binary utilities - shared libraries
ii curl-8.17.0_1                     Client that groks URLs
ii git-2.51.2_1                      Git Tree History Storage Tool
ii libcurl-8.17.0_1                  Multiprotocol file transfer library
ii libgphoto2-2.5.32_1               Digital camera access library
ii libgphoto2-udev-rules-2.5.32_1    Digital camera access library - udev rules
ii xclock-1.1.1_1                    Analog and digital clock for X

→すべてインストールされていました:

-

(3). もし、「git」がインストールされていない場合:

「git」のインストール:

$ sudo xbps-install -S git
:
Name                Action    Version     New version      Download size
perl-Digest-HMAC    install   -           1.04_1           4354B 
perl-Authen-SASL    install   -           2.1800_1         24KB 
perl-Convert-BinHex install   -           1.125_3          21KB 
perl-IO-stringy     install   -           2.113_2          27KB 
perl-TimeDate       install   -           2.33_2           25KB 
perl-MailTools      install   -           2.21_3           45KB 
perl-MIME-tools     install   -           5.515_1          114KB 
perl-Net-SSLeay     install   -           1.94_2           282KB 
perl-URI            install   -           5.21_1           57KB 
perl-IO-Socket-SSL  install   -           2.095_1          167KB 
perl-Net-SMTP-SSL   install               1.04_3           3123B 
git                 install   -           2.51.0_1         9119KB 

-

(4). 「git」がインストールされたか確認:
$ xbps-query -s git
:
[*] git-2.51.2_1                   Git Tree History Storage Tool
[*] libgphoto2-2.5.32_1            Digital camera access library
[*] libgphoto2-udev-rules-2.5.32_1 Digital camera access library - udev rules
[*] xclock-1.1.1_1                 Analog and digital clock for X

→インストールされました:

「git」の文字列がパッケージ名、もしくはコメントに含まれていると表示されるので、 「git」以外のパッケージも表示されます:

-


3). あると便利な「xtools」ツールをインストール:

$ sudo xbps-install -S xtools
:
3 packages will be installed:
  spdx-licenses-list-3.27.0_1 xtools-minimal-0.70_1 xtools-0.70_1 

-

使い方は「項番 30.」を参照:

-


4). 作業フォルダの作成:

$ mkdir -p ~/git/

-


5). 「void-packages」の git リポジトリをクローン(ローカルにコピー):

$ cd ~/git/
$ git clone https://github.com/void-linux/void-packages.git --depth=10
:
Cloning into 'void-packages'...
remote: Enumerating objects: 32413, done.
remote: Counting objects: 100% (32413/32413), done.
remote: Compressing objects: 100% (20027/20027), done.
remote: Total 32413 (delta 1156), reused 31381 (delta 1100), pack-reused 0 (from 0)
Receiving objects: 100% (32413/32413), 10.65 MiB | 645.00 KiB/s, done.
Resolving deltas: 100% (1156/1156), done.

→「--depth=10」を付けて、ダウンロードする履歴の数を制限しました:

制限をかけず、すべての履歴をダウンロードしても、git のスキルがないと利用できません。時間とディスク容量が無駄です:

-


6). 「xbps-src」をセットアップ:

$ cd ~/git/void-packages/
$ ./xbps-src binary-bootstrap

→バイナリパッケージからの「ブートストラップ」は、最初のビルド時に自動で行われるようですが、手動で行っておくのが確実です:

:
77 downloaded, 77 installed, 0 updated, 77 configured, 0 removed, 0 on hold.
=> xbps-src: installed base-chroot successfully!
=> xbps-src: reconfiguring base-chroot...
glibc-locales: configuring ...
Generating GNU libc locales...
  C.UTF-8... done.
  en_US.UTF-8... done.
glibc-locales: configured successfully.
ca-certificates: configuring ...
ca-certificates: configured successfully.
=> xbps-src: removing autodeps, please wait...
=> xbps-src: cleaning up masterdir...
[user@user-pc void-packages]$ 

glibcロケールが英語に設定されました:

完了:

-


7). 「制限付き」とマークされた、配布に制限のあるパッケージもビルドできるように設定ファイルに追加:

-

(1). 作業前の確認:
$ cd ~/git/void-packages/

-

$ ls -1p etc
:
defaults.conf
defaults.virtual
xbps.d/

-

(2). 「~/git/void-packages/etc/conf」に設定を追加:
$ cd ~/git/void-packages/
$ echo XBPS_ALLOW_RESTRICTED=yes >> etc/conf

-

$ ls -1p etc
:
conf    ←(新規作成)
defaults.conf
defaults.virtual
xbps.d/

-

(3). 確認:
$ cat ~/git/void-packages/etc/conf
XBPS_ALLOW_RESTRICTED=yes

→和訳: 「XBPS_制限付き許可」=はい

-


8). 再起動:

$ sudo reboot

-

確認:
$ cd ~/git/void-packages/

-

$ ls -1p
:
CONTRIBUTING.md
COPYING
Manual.md
README.md
common/
etc/
hostdir/
masterdir-x86_64/
srcpkgs/
xbps-src

-

$ ls -1p hostdir/
:
binpkgs/
repocache-x86_64/
sources/

-

$ ls masterdir-x86_64
:
bin       destdir  home  lib32  mnt   root  sys  var
boot      dev      host  lib64  opt   run   tmp  void-packages
builddir  etc      lib   media  proc  sbin  usr

-

$ ls masterdir-x86_64/destdir/
:
ls: 'masterdir-x86_64/destdir/' にアクセスできません: そのようなファイルやディレクトリはありません

-

$ ls masterdir-x86_64/builddir/
:
ls: 'masterdir-x86_64/builddir/' にアクセスできません: そのようなファイルやディレクトリはありません

-

-


- --- - --- - --- - --- - --- - --- - --- ----- ---

3. 「featherpad」アプリを「パッケージ化」:

-

前回、パッケージ化は試していますが、

今回より、(管理しやすいように)パッケージ名を変えるので、「テンプレート」を作り直しました:

-

-


- --- - --- - --- - --- - --- - --- - --- ----- ----

3-1. 「FeatherPad」アプリを、ソースに手を加えずに「パッケージ化」する場合:

-

日々の更新により依存関係が崩れ、(ある日)ビルドできなくなる場合があります:

ソースに手を加える前に、ビルドしてパッケージ化できるか確認しました:

-


1). ビルド環境に移動:

$ cd ~/git/void-packages/

-


2). 「テンプレート」ファイルを確認:

$ cat ~/git/void-packages/srcpkgs/FeatherPad/template
# Template file for 'FeatherPad'
pkgname=FeatherPad
version=1.6.2
revision=1
build_style=cmake
hostmakedepends="qt6-tools qt6-base-devel pkg-config"
makedepends="libX11-devel libXext-devel qt6-svg-devel hunspell-devel"
short_desc="Lightweight Qt6 plain-text editor for Linux"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://github.com/tsujan/FeatherPad"
changelog="https://github.com/tsujan/FeatherPad/raw/master/ChangeLog"
distfiles="https://github.com/tsujan/FeatherPad/archive/V${version}.tar.gz"
checksum=9753796b2a525a4d6b13696681e9fbb094edcc20e8aadffcd5bb6fe22d0a5fdb

→「distfiles=」の ${version} に「version=」の値が入ります:

-


3). パッケージ化:

$ cd ~/git/void-packages/
$ ./xbps-src pkg FeatherPad
:
=> xbps-src: updating repositories for host (x86_64)...
[*] Updating repository `https://repo-default.voidlinux.org/current/bootstrap/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/nonfree/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/debug/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/bootstrap/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/x86_64-repodata' ...
x86_64-repodata: 693KB [avg rate: 390KB/s]
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/nonfree/x86_64-repodata' ...
=> xbps-src: updating software in / masterdir...
=> xbps-src: cleaning up / masterdir...
=> FeatherPad-1.6.2_1: removing autodeps, please wait...
=> FeatherPad-1.6.2_1: building with [cmake] for x86_64...
   [host] qt6-tools-6.10.0_1: found (https://repo-default.voidlinux.org/current)
   [host] qt6-base-devel-6.10.0_3: found (https://repo-default.voidlinux.org/current)
   [host] pkg-config-0.29.2_3: found (https://repo-default.voidlinux.org/current)
   [host] cmake-bootstrap-4.1.2_1: found (https://repo-default.voidlinux.org/current/bootstrap)
   [host] ninja-1.13.1_1: found (https://repo-default.voidlinux.org/current)
   [target] libX11-devel-1.8.12_2: found (https://repo-default.voidlinux.org/current)
   [target] libXext-devel-1.3.6_1: found (https://repo-default.voidlinux.org/current)
   [target] qt6-svg-devel-6.10.0_1: found (https://repo-default.voidlinux.org/current)
   [target] hunspell-devel-1.7.2_1: found (https://repo-default.voidlinux.org/current)
=> FeatherPad-1.6.2_1: installing host dependencies: qt6-tools-6.10.0_1 qt6-base-devel-6.10.0_3 pkg-config-0.29.2_3 cmake-bootstrap-4.1.2_1 ninja-1.13.1_1 ...
=> FeatherPad-1.6.2_1: installing target dependencies: libX11-devel-1.8.12_2 libXext-devel-1.3.6_1 qt6-svg-devel-6.10.0_1 hunspell-devel-1.7.2_1 ...
ERROR: Package `libX11-devel-1.8.12_2' already installed.
ERROR: Package `libXext-devel-1.3.6_1' already installed.
=> FeatherPad-1.6.2_1: running do-fetch hook: 00-distfiles ...
=> FeatherPad-1.6.2_1: fetching distfile 'V1.6.2.tar.gz' from 'https://github.com/tsujan/FeatherPad/archive/V1.6.2.tar.gz'...
V1.6.2.tar.gz: [0B 0%] 89KB/s ETA: unknown
V1.6.2.tar.gz: [0B 0%] 115KB/s ETA: unknown
V1.6.2.tar.gz: [0B 0%] 102KB/s ETA: unknown
V1.6.2.tar.gz: [0B 0%] 91KB/s ETA: unknown
V1.6.2.tar.gz: [0B 0%] 117KB/s ETA: unknown
V1.6.2.tar.gz: [0B 0%] 146KB/s ETA: unknown
V1.6.2.tar.gz: [0B 0%] 133KB/s ETA: unknown
V1.6.2.tar.gz: [0B 0%] 124KB/s ETA: unknown
V1.6.2.tar.gz: [0B 0%] 115KB/s ETA: unknown
V1.6.2.tar.gz: [0B 0%] 112KB/s ETA: unknown
V1.6.2.tar.gz: 1077KB [avg rate: 119KB/s]
=> FeatherPad-1.6.2_1: verifying checksum for distfile 'V1.6.2.tar.gz'... OK.
=> FeatherPad-1.6.2_1: running do-extract hook: 00-distfiles ...
=> FeatherPad-1.6.2_1: extracting distfile(s), please wait...
=> FeatherPad-1.6.2_1: running do-patch hook: 00-patches ...
=> FeatherPad-1.6.2_1: running pre-configure hook: 00-gnu-configure-asneeded ...
=> FeatherPad-1.6.2_1: running pre-configure hook: 01-override-config ...
=> FeatherPad-1.6.2_1: running pre-configure hook: 02-script-wrapper ...
=> FeatherPad-1.6.2_1: running do_configure ...
-- The C compiler identification is GNU 14.2.1
-- The CXX compiler identification is GNU 14.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE
-- Found OpenGL: /usr/lib/libOpenGL.so
-- Found WrapOpenGL: TRUE
-- Found WrapVulkanHeaders: /usr/include
-- Found Cups: /usr/lib/libcups.so (found version "2.4.13")
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2")
-- Found HUNSPELL: /usr/lib64/libhunspell-1.7.so (found suitable version "1.7.2", minimum required is "1.6")
-- Found X11: /usr/include
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Configuring done (1.1s)
-- Generating done (0.0s)
-- Build files have been written to: /builddir/FeatherPad-1.6.2/build
=> FeatherPad-1.6.2_1: running pre-build hook: 02-script-wrapper ...
=> FeatherPad-1.6.2_1: running do_build ...
[1/96] Automatic MOC and UIC for target featherpad
[2/96] Generating featherpadadaptor.cpp, featherpadadaptor.h
[3/96] Generating featherpad_bg.qm
Updating '/builddir/FeatherPad-1.6.2/build/featherpad/featherpad_bg.qm'...
    Generated 415 translation(s) (415 finished and 0 unfinished)
    Ignored 2 untranslated source text(s)
[4/96] Generating featherpad_cy.qm
Updating '/builddir/FeatherPad-1.6.2/build/featherpad/featherpad_cy.qm'...
    Generated 311 translation(s) (311 finished and 0 unfinished)
    Ignored 106 untranslated source text(s)
[5/96] Generating featherpad_ar_DZ.qm
Updating '/builddir/FeatherPad-1.6.2/build/featherpad/featherpad_ar_DZ.qm'...
    Generated 319 translation(s) (319 finished and 0 unfinished)
    Ignored 98 untranslated source text(s)
[6/96] Generating featherpad_da.qm
Updating '/builddir/FeatherPad-1.6.2/build/featherpad/featherpad_da.qm'...
    Generated 415 translation(s) (415 finished and 0 unfinished)
    Ignored 2 untranslated source text(s)
[7/96] Generating featherpad_cs.qm
Updating '/builddir/FeatherPad-1.6.2/build/featherpad/featherpad_cs.qm'...
    Generated 415 translation(s) (415 finished and 0 unfinished)
    Ignored 2 untranslated source text(s)
[8/96] Generating featherpad_ca.qm
Updating '/builddir/FeatherPad-1.6.2/build/featherpad/featherpad_ca.qm'...
    Generated 417 translation(s) (417 finished and 0 unfinished)
[9/96] Generating featherpad_de.qm
Updating '/builddir/FeatherPad-1.6.2/build/featherpad/featherpad_de.qm'...
    Generated 416 translation(s) (416 finished and 0 unfinished)
    Ignored 1 untranslated source text(s)
[10/96] Generating featherpad_el.qm
Updating '/builddir/FeatherPad-1.6.2/build/featherpad/featherpad_el.qm'...
    Generated 410 translation(s) (409 finished and 1 unfinished)
    Ignored 7 untranslated source text(s)
[11/96] Generating featherpad_eo.qm
Updating '/builddir/FeatherPad-1.6.2/build/featherpad/featherpad_eo.qm'...
    Generated 417 translation(s) (417 finished and 0 unfinished)
[12/96] Generating featherpad_es.qm
Updating '/builddir/FeatherPad-1.6.2/build/featherpad/featherpad_es.qm'...
    Generated 415 translation(s) (415 finished and 0 unfinished)
    Ignored 2 untranslated source text(s)
[13/96] Generating featherpad_et.qm
Updating '/builddir/FeatherPad-1.6.2/build/featherpad/featherpad_et.qm'...
    Generated 417 translation(s) (417 finished and 0 unfinished)
[14/96] Generating featherpad_he.qm
Updating '/builddir/FeatherPad-1.6.2/build/featherpad/featherpad_he.qm'...
    Generated 417 translation(s) (417 finished and 0 unfinished)
[15/96] Generating featherpad_fa.qm
Updating '/builddir/FeatherPad-1.6.2/build/featherpad/featherpad_fa.qm'...
    Generated 417 translation(s) (417 finished and 0 unfinished)
[16/96] Generating featherpad_hi.qm
Updating '/builddir/FeatherPad-1.6.2/build/featherpad/featherpad_hi.qm'...
    Generated 54 translation(s) (48 finished and 6 unfinished)
    Ignored 363 untranslated source text(s)
[17/96] Generating featherpad_fi.qm
Updating '/builddir/FeatherPad-1.6.2/build/featherpad/featherpad_fi.qm'...
    Generated 415 translation(s) (415 finished and 0 unfinished)
    Ignored 2 untranslated source text(s)
[18/96] Generating featherpad_fr.qm
Updating '/builddir/FeatherPad-1.6.2/build/featherpad/featherpad_fr.qm'...
    Generated 415 translation(s) (415 finished and 0 unfinished)
    Ignored 2 untranslated source text(s)
[19/96] Generating featherpad_hr.qm
Updating '/builddir/FeatherPad-1.6.2/build/featherpad/featherpad_hr.qm'...
    Generated 0 translation(s) (0 finished and 0 unfinished)
    Ignored 417 untranslated source text(s)
[20/96] Generating featherpad_id.qm
Updating '/builddir/FeatherPad-1.6.2/build/featherpad/featherpad_id.qm'...
    Generated 362 translation(s) (359 finished and 3 unfinished)
    Ignored 55 untranslated source text(s)
[21/96] Generating featherpad_it.qm
Updating '/builddir/FeatherPad-1.6.2/build/featherpad/featherpad_it.qm'...
    Generated 417 translation(s) (417 finished and 0 unfinished)
[22/96] Generating featherpad_hu.qm
Updating '/builddir/FeatherPad-1.6.2/build/featherpad/featherpad_hu.qm'...
    Generated 410 translation(s) (410 finished and 0 unfinished)
    Ignored 7 untranslated source text(s)
[23/96] Generating featherpad_ka.qm
Updating '/builddir/FeatherPad-1.6.2/build/featherpad/featherpad_ka.qm'...
    Generated 317 translation(s) (317 finished and 0 unfinished)
    Ignored 100 untranslated source text(s)
[24/96] Generating featherpad_ja.qm
Updating '/builddir/FeatherPad-1.6.2/build/featherpad/featherpad_ja.qm'...
    Generated 417 translation(s) (417 finished and 0 unfinished)
[25/96] Generating featherpad_nb_NO.qm
Updating '/builddir/FeatherPad-1.6.2/build/featherpad/featherpad_nb_NO.qm'...
    Generated 411 translation(s) (410 finished and 1 unfinished)
    Ignored 6 untranslated source text(s)
[26/96] Generating featherpad_nl.qm
Updating '/builddir/FeatherPad-1.6.2/build/featherpad/featherpad_nl.qm'...
    Generated 417 translation(s) (417 finished and 0 unfinished)
[27/96] Generating featherpad_ko.qm
Updating '/builddir/FeatherPad-1.6.2/build/featherpad/featherpad_ko.qm'...
    Generated 417 translation(s) (417 finished and 0 unfinished)
[28/96] Generating featherpad_pl.qm
Updating '/builddir/FeatherPad-1.6.2/build/featherpad/featherpad_pl.qm'...
    Generated 417 translation(s) (417 finished and 0 unfinished)
[29/96] Generating featherpad_lt.qm
Updating '/builddir/FeatherPad-1.6.2/build/featherpad/featherpad_lt.qm'...
    Generated 417 translation(s) (417 finished and 0 unfinished)
[30/96] Generating featherpad_pt.qm
Updating '/builddir/FeatherPad-1.6.2/build/featherpad/featherpad_pt.qm'...
    Generated 417 translation(s) (417 finished and 0 unfinished)
[31/96] Generating featherpad_pt_BR.qm
Updating '/builddir/FeatherPad-1.6.2/build/featherpad/featherpad_pt_BR.qm'...
    Generated 417 translation(s) (417 finished and 0 unfinished)
[32/96] Generating featherpad_si.qm
Updating '/builddir/FeatherPad-1.6.2/build/featherpad/featherpad_si.qm'...
    Generated 0 translation(s) (0 finished and 0 unfinished)
    Ignored 417 untranslated source text(s)
[33/96] Generating featherpad_ru.qm
Updating '/builddir/FeatherPad-1.6.2/build/featherpad/featherpad_ru.qm'...
    Generated 417 translation(s) (417 finished and 0 unfinished)
[34/96] Generating featherpad_sv.qm
Updating '/builddir/FeatherPad-1.6.2/build/featherpad/featherpad_sv.qm'...
    Generated 417 translation(s) (417 finished and 0 unfinished)
[35/96] Generating featherpad_tr.qm
Updating '/builddir/FeatherPad-1.6.2/build/featherpad/featherpad_tr.qm'...
    Generated 417 translation(s) (417 finished and 0 unfinished)
[36/96] Generating featherpad_sk_SK.qm
Updating '/builddir/FeatherPad-1.6.2/build/featherpad/featherpad_sk_SK.qm'...
    Generated 361 translation(s) (360 finished and 1 unfinished)
    Ignored 56 untranslated source text(s)
[37/96] Generating featherpad_sl.qm
Updating '/builddir/FeatherPad-1.6.2/build/featherpad/featherpad_sl.qm'...
    Generated 50 translation(s) (44 finished and 6 unfinished)
    Ignored 367 untranslated source text(s)
[38/96] Generating featherpad_zh_CN.qm
Updating '/builddir/FeatherPad-1.6.2/build/featherpad/featherpad_zh_CN.qm'...
    Generated 415 translation(s) (415 finished and 0 unfinished)
    Ignored 2 untranslated source text(s)
[39/96] Generating featherpad_uk.qm
Updating '/builddir/FeatherPad-1.6.2/build/featherpad/featherpad_uk.qm'...
    Generated 417 translation(s) (417 finished and 0 unfinished)
[40/96] Generating featherpad_zh_TW.qm
Updating '/builddir/FeatherPad-1.6.2/build/featherpad/featherpad_zh_TW.qm'...
    Generated 417 translation(s) (417 finished and 0 unfinished)
[41/96] Automatic RCC for data/fp.qrc
[42/96] Generating moc_featherpadadaptor.cpp
[43/96] Building CXX object featherpad/CMakeFiles/featherpad.dir/encoding.cpp.o
[44/96] Building CXX object featherpad/CMakeFiles/featherpad.dir/signalDaemon.cpp.o
[45/96] Building CXX object featherpad/CMakeFiles/featherpad.dir/menubartitle.cpp.o
[46/96] Building CXX object featherpad/CMakeFiles/featherpad.dir/tabwidget.cpp.o
[47/96] Building CXX object featherpad/CMakeFiles/featherpad.dir/lineedit.cpp.o
[48/96] Building CXX object featherpad/CMakeFiles/featherpad.dir/main.cpp.o
[49/96] Building CXX object featherpad/CMakeFiles/featherpad.dir/tabbar.cpp.o
[50/96] Building CXX object featherpad/CMakeFiles/featherpad.dir/featherpad_autogen/mocs_compilation.cpp.o
[51/96] Building CXX object featherpad/CMakeFiles/featherpad.dir/singleton.cpp.o
[52/96] Building CXX object featherpad/CMakeFiles/featherpad.dir/find.cpp.o
[53/96] Building CXX object featherpad/CMakeFiles/featherpad.dir/textedit.cpp.o
[54/96] Building CXX object featherpad/CMakeFiles/featherpad.dir/replace.cpp.o
[55/96] Building CXX object featherpad/CMakeFiles/featherpad.dir/config.cpp.o
[56/96] Building CXX object featherpad/CMakeFiles/featherpad.dir/brackets.cpp.o
[57/96] Building CXX object featherpad/CMakeFiles/featherpad.dir/loading.cpp.o
[58/96] Building CXX object featherpad/CMakeFiles/featherpad.dir/vscrollbar.cpp.o
[59/96] Building CXX object featherpad/CMakeFiles/featherpad.dir/syntax.cpp.o
[60/96] Building CXX object featherpad/CMakeFiles/featherpad.dir/searchbar.cpp.o
[61/96] Building CXX object featherpad/CMakeFiles/featherpad.dir/pref.cpp.o
[62/96] Building CXX object featherpad/CMakeFiles/featherpad.dir/printing.cpp.o
[63/96] Building CXX object featherpad/CMakeFiles/featherpad.dir/tabpage.cpp.o
[64/96] Building CXX object featherpad/CMakeFiles/featherpad.dir/spellChecker.cpp.o
[65/96] Building CXX object featherpad/CMakeFiles/featherpad.dir/sidepane.cpp.o
[66/96] Building CXX object featherpad/CMakeFiles/featherpad.dir/svgicons.cpp.o
[67/96] Building CXX object featherpad/CMakeFiles/featherpad.dir/fontDialog.cpp.o
[68/96] Building CXX object featherpad/CMakeFiles/featherpad.dir/highlighter/highlighter-cmake.cpp.o
[69/96] Building CXX object featherpad/CMakeFiles/featherpad.dir/spellDialog.cpp.o
[70/96] Building CXX object featherpad/CMakeFiles/featherpad.dir/highlighter/highlighter-css.cpp.o
[71/96] Building CXX object featherpad/CMakeFiles/featherpad.dir/session.cpp.o
[72/96] Building CXX object featherpad/CMakeFiles/featherpad.dir/highlighter/highlighter-java.cpp.o
[73/96] Building CXX object featherpad/CMakeFiles/featherpad.dir/highlighter/highlighter-json.cpp.o
[74/96] Building CXX object featherpad/CMakeFiles/featherpad.dir/highlighter/highlighter-fountain.cpp.o
[75/96] Building CXX object featherpad/CMakeFiles/featherpad.dir/highlighter/highlighter-html.cpp.o
[76/96] Building CXX object featherpad/CMakeFiles/featherpad.dir/highlighter/highlighter-lua.cpp.o
[77/96] Building CXX object featherpad/CMakeFiles/featherpad.dir/fpwin.cpp.o
[78/96] Building CXX object featherpad/CMakeFiles/featherpad.dir/highlighter/highlighter-pascal.cpp.o
[79/96] Building CXX object featherpad/CMakeFiles/featherpad.dir/highlighter/highlighter-patterns.cpp.o
[80/96] Building CXX object featherpad/CMakeFiles/featherpad.dir/highlighter/highlighter-markdown.cpp.o
[81/96] Building CXX object featherpad/CMakeFiles/featherpad.dir/highlighter/highlighter-rest.cpp.o
[82/96] Building CXX object featherpad/CMakeFiles/featherpad.dir/highlighter/highlighter-regex.cpp.o
[83/96] Building CXX object featherpad/CMakeFiles/featherpad.dir/highlighter/highlighter-perl-regex.cpp.o
[84/96] Building CXX object featherpad/CMakeFiles/featherpad.dir/highlighter/highlighter-ruby.cpp.o
[85/96] Building CXX object featherpad/CMakeFiles/featherpad.dir/highlighter/highlighter-rust.cpp.o
[86/96] Building CXX object featherpad/CMakeFiles/featherpad.dir/highlighter/highlighter.cpp.o
[87/96] Building CXX object featherpad/CMakeFiles/featherpad.dir/featherpad_autogen/QYFM2Z2WYQ/qrc_fp.cpp.o
[88/96] Building CXX object featherpad/CMakeFiles/featherpad.dir/highlighter/highlighter-sh.cpp.o
[89/96] Building CXX object featherpad/CMakeFiles/featherpad.dir/highlighter/highlighter-toml.cpp.o
[90/96] Building CXX object featherpad/CMakeFiles/featherpad.dir/x11.cpp.o
[91/96] Building CXX object featherpad/CMakeFiles/featherpad.dir/highlighter/highlighter-tcl.cpp.o
[92/96] Building CXX object featherpad/CMakeFiles/featherpad.dir/highlighter/highlighter-xml.cpp.o
[93/96] Building CXX object featherpad/CMakeFiles/featherpad.dir/highlighter/highlighter-yaml.cpp.o
[94/96] Building CXX object featherpad/CMakeFiles/featherpad.dir/featherpadadaptor.cpp.o
[95/96] Linking CXX executable featherpad/featherpad
[96/96] Creating fpad as a symlink to featherpad
=> FeatherPad-1.6.2_1: skipping check (XBPS_CHECK_PKGS is disabled) ...
=> FeatherPad-1.6.2_1: running pre-install hook: 00-libdir ...
=> FeatherPad-1.6.2_1: running pre-install hook: 02-script-wrapper ...
=> FeatherPad-1.6.2_1: running pre-install hook: 98-fixup-gir-path ...
=> FeatherPad-1.6.2_1: running do_install ...
[1/2] Creating fpad as a symlink to featherpad
[1/2] Install the project...
-- Install configuration: "None"
-- Installing: /destdir/FeatherPad-1.6.2/usr/share/featherpad/translations/featherpad_ar_DZ.qm
-- Installing: /destdir/FeatherPad-1.6.2/usr/share/featherpad/translations/featherpad_bg.qm
-- Installing: /destdir/FeatherPad-1.6.2/usr/share/featherpad/translations/featherpad_ca.qm
-- Installing: /destdir/FeatherPad-1.6.2/usr/share/featherpad/translations/featherpad_cs.qm
-- Installing: /destdir/FeatherPad-1.6.2/usr/share/featherpad/translations/featherpad_cy.qm
-- Installing: /destdir/FeatherPad-1.6.2/usr/share/featherpad/translations/featherpad_da.qm
-- Installing: /destdir/FeatherPad-1.6.2/usr/share/featherpad/translations/featherpad_de.qm
-- Installing: /destdir/FeatherPad-1.6.2/usr/share/featherpad/translations/featherpad_el.qm
-- Installing: /destdir/FeatherPad-1.6.2/usr/share/featherpad/translations/featherpad_eo.qm
-- Installing: /destdir/FeatherPad-1.6.2/usr/share/featherpad/translations/featherpad_es.qm
-- Installing: /destdir/FeatherPad-1.6.2/usr/share/featherpad/translations/featherpad_et.qm
-- Installing: /destdir/FeatherPad-1.6.2/usr/share/featherpad/translations/featherpad_fa.qm
-- Installing: /destdir/FeatherPad-1.6.2/usr/share/featherpad/translations/featherpad_fi.qm
-- Installing: /destdir/FeatherPad-1.6.2/usr/share/featherpad/translations/featherpad_fr.qm
-- Installing: /destdir/FeatherPad-1.6.2/usr/share/featherpad/translations/featherpad_he.qm
-- Installing: /destdir/FeatherPad-1.6.2/usr/share/featherpad/translations/featherpad_hi.qm
-- Installing: /destdir/FeatherPad-1.6.2/usr/share/featherpad/translations/featherpad_hr.qm
-- Installing: /destdir/FeatherPad-1.6.2/usr/share/featherpad/translations/featherpad_hu.qm
-- Installing: /destdir/FeatherPad-1.6.2/usr/share/featherpad/translations/featherpad_id.qm
-- Installing: /destdir/FeatherPad-1.6.2/usr/share/featherpad/translations/featherpad_it.qm
-- Installing: /destdir/FeatherPad-1.6.2/usr/share/featherpad/translations/featherpad_ja.qm
-- Installing: /destdir/FeatherPad-1.6.2/usr/share/featherpad/translations/featherpad_ka.qm
-- Installing: /destdir/FeatherPad-1.6.2/usr/share/featherpad/translations/featherpad_ko.qm
-- Installing: /destdir/FeatherPad-1.6.2/usr/share/featherpad/translations/featherpad_lt.qm
-- Installing: /destdir/FeatherPad-1.6.2/usr/share/featherpad/translations/featherpad_nb_NO.qm
-- Installing: /destdir/FeatherPad-1.6.2/usr/share/featherpad/translations/featherpad_nl.qm
-- Installing: /destdir/FeatherPad-1.6.2/usr/share/featherpad/translations/featherpad_pl.qm
-- Installing: /destdir/FeatherPad-1.6.2/usr/share/featherpad/translations/featherpad_pt.qm
-- Installing: /destdir/FeatherPad-1.6.2/usr/share/featherpad/translations/featherpad_pt_BR.qm
-- Installing: /destdir/FeatherPad-1.6.2/usr/share/featherpad/translations/featherpad_ru.qm
-- Installing: /destdir/FeatherPad-1.6.2/usr/share/featherpad/translations/featherpad_si.qm
-- Installing: /destdir/FeatherPad-1.6.2/usr/share/featherpad/translations/featherpad_sk_SK.qm
-- Installing: /destdir/FeatherPad-1.6.2/usr/share/featherpad/translations/featherpad_sl.qm
-- Installing: /destdir/FeatherPad-1.6.2/usr/share/featherpad/translations/featherpad_sv.qm
-- Installing: /destdir/FeatherPad-1.6.2/usr/share/featherpad/translations/featherpad_tr.qm
-- Installing: /destdir/FeatherPad-1.6.2/usr/share/featherpad/translations/featherpad_uk.qm
-- Installing: /destdir/FeatherPad-1.6.2/usr/share/featherpad/translations/featherpad_zh_CN.qm
-- Installing: /destdir/FeatherPad-1.6.2/usr/share/featherpad/translations/featherpad_zh_TW.qm
-- Installing: /destdir/FeatherPad-1.6.2/usr/bin/featherpad
-- Installing: /destdir/FeatherPad-1.6.2/usr/share/applications/featherpad.desktop
-- Installing: /destdir/FeatherPad-1.6.2/usr/share/metainfo/featherpad.metainfo.xml
-- Installing: /destdir/FeatherPad-1.6.2/usr/share/icons/hicolor/scalable/apps/featherpad.svg
-- Installing: /destdir/FeatherPad-1.6.2/usr/share/featherpad/help
-- Installing: /destdir/FeatherPad-1.6.2/usr/bin/fpad
=> FeatherPad-1.6.2_1: running post-install hook: 00-compress-info-files ...
=> FeatherPad-1.6.2_1: running post-install hook: 00-fixup-gir-path ...
=> FeatherPad-1.6.2_1: running post-install hook: 00-libdir ...
=> FeatherPad-1.6.2_1: running post-install hook: 00-uncompress-manpages ...
=> FeatherPad-1.6.2_1: running post-install hook: 01-remove-misc ...
=> FeatherPad-1.6.2_1: running post-install hook: 02-remove-libtool-archives ...
=> FeatherPad-1.6.2_1: running post-install hook: 02-remove-perl-files ...
=> FeatherPad-1.6.2_1: running post-install hook: 02-remove-python-bytecode-files ...
=> FeatherPad-1.6.2_1: running post-install hook: 03-remove-empty-dirs ...
=> WARNING: FeatherPad-1.6.2_1: removed empty dir: /usr/lib
=> FeatherPad-1.6.2_1: running post-install hook: 04-create-xbps-metadata-scripts ...
   Added trigger 'gtk-icon-cache' for the 'INSTALL' script.
   Added trigger 'update-desktopdb' for the 'INSTALL' script.
   Added trigger 'gtk-icon-cache' for the 'REMOVE' script.
   Added trigger 'update-desktopdb' for the 'REMOVE' script.
=> FeatherPad-1.6.2_1: running post-install hook: 05-generate-gitrevs ...
=> FeatherPad-1.6.2_1: running post-install hook: 06-strip-and-debug-pkgs ...
   Stripped position-independent executable: /usr/bin/featherpad
=> FeatherPad-1.6.2_1: running post-install hook: 10-pkglint-devel-paths ...
=> FeatherPad-1.6.2_1: running post-install hook: 11-pkglint-elf-in-usrshare ...
=> FeatherPad-1.6.2_1: running post-install hook: 12-rename-python3-c-bindings ...
=> FeatherPad-1.6.2_1: running post-install hook: 13-pkg-config-clean-xbps-cross-base-ref ...
=> FeatherPad-1.6.2_1: running post-install hook: 14-fix-permissions ...
=> FeatherPad-1.6.2_1: running post-install hook: 15-qt-private-api ...
=> FeatherPad-1.6.2_1: running post-install hook: 80-prepare-32bit ...
=> FeatherPad-1.6.2_1: running post-install hook: 98-shlib-provides ...
=> FeatherPad-1.6.2_1: running post-install hook: 99-pkglint-warn-cross-cruft ...
=> FeatherPad-1.6.2_1: running pre-pkg hook: 03-rewrite-python-shebang ...
=> FeatherPad-1.6.2_1: running pre-pkg hook: 04-generate-provides ...
   cmd:featherpad-1.6.2_1
=> FeatherPad-1.6.2_1: running pre-pkg hook: 04-generate-runtime-deps ...
   SONAME: libQt6Core.so.6 <-> qt6-core>=6.10.0_1
   SONAME: libQt6DBus.so.6 <-> qt6-dbus>=6.10.0_1
   SONAME: libQt6Gui.so.6 <-> qt6-gui>=6.10.0_1
   SONAME: libQt6PrintSupport.so.6 <-> qt6-printsupport>=6.10.0_1
   SONAME: libQt6Svg.so.6 <-> qt6-svg>=6.10.0_1
   SONAME: libQt6Widgets.so.6 <-> qt6-widgets>=6.10.0_1
   SONAME: libX11.so.6 <-> libX11>=1.2_1
   SONAME: libc.so.6 <-> glibc>=2.41_1
   SONAME: libgcc_s.so.1 <-> libgcc>=4.4.0_1
   SONAME: libhunspell-1.7.so.0 <-> libhunspell1.7>=1.7.0_1
   SONAME: libm.so.6 <-> glibc>=2.41_1
   SONAME: libstdc++.so.6 <-> libstdc++>=4.4.0_1
=> FeatherPad-1.6.2_1: running pre-pkg hook: 05-generate-32bit-runtime-deps ...
=> FeatherPad-1.6.2_1: running pre-pkg hook: 06-verify-python-deps ...
=> FeatherPad-1.6.2_1: running pre-pkg hook: 90-set-timestamps ...
=> FeatherPad-1.6.2_1: setting mtimes to Mon Nov 10 09:56:53 PM UTC 2025
=> FeatherPad-1.6.2_1: running pre-pkg hook: 99-pkglint-subpkgs ...
=> FeatherPad-1.6.2_1: running pre-pkg hook: 99-pkglint ...
=> FeatherPad-1.6.2_1: running pre-pkg hook: 999-collected-rdeps ...
   qt6-core>=6.10.0_1 qt6-dbus>=6.10.0_1 qt6-gui>=6.10.0_1 qt6-printsupport>=6.10.0_1 qt6-svg>=6.10.0_1 qt6-widgets>=6.10.0_1 libX11>=1.2_1 glibc>=2.41_1 libgcc>=4.4.0_1 libhunspell1.7>=1.7.0_1 libstdc++>=4.4.0_1 
=> FeatherPad-1.6.2_1: running do-pkg hook: 00-gen-pkg ...
=> Creating FeatherPad-1.6.2_1.x86_64.xbps for repository /host/binpkgs ...
=> FeatherPad-1.6.2_1: running post-pkg hook: 00-register-pkg ...
=> Registering new packages to /host/binpkgs
index: added `FeatherPad-1.6.2_1' (x86_64).
index: 1 packages registered.
=> FeatherPad-1.6.2_1: removing autodeps, please wait...
=> FeatherPad-1.6.2_1: cleaning build directory...
=> FeatherPad: removing files from destdir...
[user@user-pc void-packages]$ 

→正常に「パッケージ化」されました:

パッケージは「hostdir/binpkgs」に生成されます:

-


4). すでにインストールしている「FeatherPad」がある場合は削除:

インストール直前のギリギリまで使いました:

-

$ sudo xbps-remove FeatherPad
:
Name       Action    Version           New version            Download size
FeatherPad remove    1.6.2_1           -                      - 

→設定ファイルは残ります:

-


5). 「パッケージ化」されたパッケージを、インストール:

今回は、ライセンス制限のない、通常のパッケージです:

$ sudo xbps-install --repository hostdir/binpkgs FeatherPad
:
Name       Action    Version       New version        Download size
FeatherPad install   -             1.6.2_1            - 

-

もしくは、xtools をインストールしている場合:

$ xi FeatherPad
:
パスワード: 
[*] Updating repository `https://repo-fi.voidlinux.org/current/x86_64-repodata' ...

Name       Action    Version           New version            Download size
FeatherPad install   -                 1.6.2_1                - 

Size required on disk:        3483KB
Space available on disk:        20GB

Do you want to continue? [Y/n] 

→Enter

[*] Verifying package integrity
FeatherPad-1.6.2_1: verifying SHA256 hash...

[*] Collecting package files
FeatherPad-1.6.2_1: collecting files...

[*] Unpacking packages
FeatherPad-1.6.2_1: unpacking ...

[*] Configuring unpacked packages
FeatherPad-1.6.2_1: configuring ...
Updating GTK+ icon cache for /usr/share/icons/hicolor...
Updating MIME database...
FeatherPad-1.6.2_1: installed successfully.

0 downloaded, 1 installed, 0 updated, 1 configured, 0 removed, 0 on hold.

→Download size の表示がなく、チェックサムのチェックがあるので、たぶん、ローカルにダウンロードされていたソースをビルドしたと思われます。

-

「xi」コマンドについては、「項番 30-3.」を参照:

-


6). インストールされたか確認:

$ xbps-query -s FeatherPad
:
[*] FeatherPad-1.6.2_1 Lightweight Qt6 plain-text editor for Linux

-

実行ファイルの場所:
$ which featherpad
/usr/bin/featherpad

→実行ファイルは小文字です:

-

実行ファイルのパスから、パッケージ名とバージョンを表示してみる:
$ xlocate /usr/bin/featherpad
:
FeatherPad-1.6.2_1  /usr/bin/featherpad
FeatherPad-1.6.2_1  /usr/bin/fpad -> /usr/bin/featherpad

-

「xlocate」コマンドについては、「項番 30-5.」を参照:

-

-


- --- - --- - --- - --- - --- - --- - --- ----- -----

3-2. アプリ名が小文字の「featherpad」アプリを別に作り、ヘルプ表示を「xbps-src」の備忘録にして「パッケージ化」する場合:

-

「FeatherPad」アプリは触らずに、管理しやすいように小文字名に変えた「featherpad」アプリを別に「新規作成」(追加)しました:

「ヘルプ」は、よく使うことになりそうな、「xbps-src」の「備忘録」の表示に変えました:

ちなみに、「ヘルプ」はテキストファイルなので、運用中に好みの「備忘録」に修正できます:

-

テンプレートを作成するためトライした履歴は、〈H179-2〉の「項番 21.」を参照:

-

追記:

今回より、アプリの移植や、ソースに手を加えたパッケージは、 パッケージ名の先頭に「@」を付けて、管理(退避や保存)しやすくしました:

なので、前回、パッケージ化を試したアプリも、
パッケージ名を変えるので、「テンプレート」を作り直しました:

-


1). フォルダを作成:

$ cd ~/git/void-packages/
$ sudo mkdir -p srcpkgs/@featherpad/patches/

→パッチのフォルダまで作っておくのがミソです:

-


2). 「テンプレート」ファイルを作成:

$ sudo featherpad ~/git/void-packages/srcpkgs/@featherpad/template

↓ すべて貼り付け:

# Template file for 'featherpad'
pkgname=@featherpad
version=1.6.2
revision=1
build_style=cmake
hostmakedepends="qt6-tools qt6-base-devel pkg-config"
makedepends="libX11-devel libXext-devel qt6-svg-devel hunspell-devel"
short_desc="Lightweight Qt6 plain-text editor for Linux"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://github.com/tsujan/FeatherPad"
changelog="https://github.com/tsujan/FeatherPad/raw/master/ChangeLog"
distfiles="https://github.com/tsujan/FeatherPad/archive/V${version}.tar.gz"
checksum=9753796b2a525a4d6b13696681e9fbb094edcc20e8aadffcd5bb6fe22d0a5fdb

→Ctrl+S で保存:

-


3). 「パッチ」ファイルを作成 1:

「help」を新規作成するために、「help」を削除:

-

$ sudo featherpad ~/git/void-packages/srcpkgs/@featherpad/patches/01.help-del.patch

↓ すべて貼り付け:

--- a/featherpad/data/help   2025-10-11 15:08:34.023423019 +0900
+++ b/featherpad/data/help  1970-01-01 09:00:00.000000000 +0900
@@ -1,292 +0,0 @@
-***************
-*   General   *
-***************
-
-FeatherPad is a single-instance application by default; all its windows share the same configuration and the same process, which will terminate only if all windows are closed.
-
-However, if FeatherPad is started with the command-line option "--standalone" or "-s", it will have a single window with a separate process, independently of other FeatherPad windows.
-
-Rarely, the standalone mode may be needed. For example, if you want to use FeatherPad as the "git" editor, you will need "featherpad -s" as the editor command because "git" does not work correctly with single-instance editors.
-
-Use the standalone mode with care. If a standalone window is opened alongside other windows, any change in configuration, recent files, etc., which may have been made in those windows, will not be reflected by it, and if it is the last closed window, it will overwrite those changes.
-
-The standalone mode is also an exception to the window/tab managing rules explained in this document.
-
-Enter "featherpad --help" in a terminal emulator to see all command-line options.
-
-NOTE: FeatherPad makes use of D-Bus to have a single process. Therefore, in (non-Linux) systems without D-Bus, it is always in the standalone mode, which means that its windows do not know about each other.
-
-*********************
-*   Drag-and-Drop   *
-*********************
-
-Files can be dragged and dropped into FeatherPad windows.
-
-Also, tabs can be dragged from a window and dropped into another window or outside all FeatherPad windows. In the first case, the dropped tab will appear after the previously active tab; in the second case, a new window containing the dropped tab will be created, i.e. the tab will be detached.
-
-************
-*   Tabs   *
-************
-
-Tabs can be reordered or detached by the mouse.
-
-If there is more than one tab, each one will have a right-click menu for closing its right or left tabs. With more than one tab, it is also possible to detach the active tab by clicking the related item on the File menu or with Ctrl+T.
-
-If a file is opened in a tab, the right-click menu of that tab will also contain two items for copying the name and path of the file as well as an item for opening its containing folder with the default file manager.
-
-For users' comfort, double clicking on an empty area of the tab-bar creates a new tab.
-
-There are (customizable) shortcuts for switching tabs in various ways (see the File menu), but Ctrl+Tab is not one of them because the Tab key is reserved for text editing (see Keyboard Shortcuts, near the end of this document).
-
-***********************
-*   File Management   *
-***********************
-
-Under X11, if there is a FeatherPad window on the current virtual desktop or viewport, so that more than half of its width as well as its height is visible, files will be opened as new tabs in it; otherwise, a new window will be created. Also, when the window on the current desktop/viewport has a modal dialog, another window is created.
-
-In this way, FeatherPad is aware of X11 virtual desktops under most Linux desktop environments, although there are exceptions (like Enlightenment).
-
-Files are always opened after the active tab unless it is empty, in which case the first file will be opened in it. If a single file is opened, its tab will be activated, but in the case of multiple files, the active tab will not change.
-
-If a file is opened multiple times, its second (third,…) instance will be uneditable by default and will have a light yellow or dark red background, depending on whether the default or the dark color scheme is used. To make it editable, click on the newly created 'Edit' button on the toolbar or the 'Edit' menu. After that, these two buttons will disappear again.
-
-If the opened file is a symbolic link (symlink), the context menu of its tab will have two extra items for copying its target path and opening its target inside the current window.
-
-Executable script files could be run from inside FeatherPad if the corresponding option is enabled in the Preferences dialog. Then also a Run button will appear on the toolbar and the File menu whenever needed. If no terminal command is used to run them, their output and error messages will be shown by a popup dialog.
-
-FeatherPad remembers recently modified or opened files, depending on which option is enabled in the Preferences dialog. It can also open the files of the last window on a session startup. However, it has a more advanced session manager, which provides the user with options for saving a session and restoring or removing saved sessions at any time and without limit.
-
-***********************************
-*   Sessions and Side-Pane Mode   *
-***********************************
-
-Sessions can be saved and opened by using the Session Manager dialog. As mentioned above, there is no limit to the number of stored sessions. Each session can have any name and consist of any number of files. All files of a session are opened in the current FeatherPad window, and their cursor positions are remembered.
-
-FeatherPad also has a side-pane mode, which can be enabled either temporarily or with startup. It is most suitable for working with sessions because its file list is alphabetically ordered and can be filtered. Each pane item has a right-click menu, which contains menu-items for various jobs when there is more than one page. Items can also be removed by middle-clicking without being selected.
-
-The side-pane mode does not have features provided by tabs — for example, tab drag-and-drop is missing from it — and conversely — for example, tabs are not sorted and cannot be filtered — but the side-pane and tab modes can be used interchangeably by means of the Side-Pane menu-item, its toolbar button or its shortcut (Ctrl+Alt+P by default), and also by middle-clicking an empty space inside the tab-bar or side-pane.
-
-To focus the side-pane when another widget has the focus, press Ctrl+Escape. To return the focus to the editor's main view from the side-pane or anywhere else, press the Escape key.
-
-*****************
-*   Encodings   *
-*****************
-
-FeatherPad tries to guess encodings when opening files. Although it often guesses them right, there is no exact way for that. Therefore, there are some encodings in the Options menu. If you choose one, the text could be saved with it by using the item "Save with Encoding" on the File menu. By default, all texts are saved with UTF-8, which covers all alphabets.
-
-As Qt6 has removed the support for the legacy encodings, they are also removed from FeatherPad. Usually, you do not need to worry about encodings; nowadays, UTF-8 is the standard and is used everywhere.
-
-*****************************
-*   Programming Languages   *
-*****************************
-
-The programming language of a file is detected based on its mime type or name, and its syntax will be highlighted if the syntax highlighting is enabled and supports the language in question.
-
-If a text has no programming language or its syntax is not supported, only its hyperlinks/URLs will be highlighted, and it will be possible to open them by right clicking them and activating the related menu-item or by pressing the Control key, moving the cursor over them, and clicking them while the cursor is like a pointing hand.
-
-If the option "Preferences → Text → Support syntax override" is enabled and checked, a language button will be added to the status bar for overriding the original syntax or lack of it. Reloading a document restores its original syntax.
-
-There are also options in the Preferences dialog for showing whitespaces (spaces, tabs), line and document ends, and vertical position lines when syntax highlighting is enabled (by default or temporarily).
-
-The colors of syntax highlighting can be customized in "Preferences → Syntax Colors". Each syntax color may have different meanings in different programming languages, but only the most important meanings are mentioned. The color value of whitespaces can be changed in the same place.
-
-*******************************
-*   Searching and Replacing   *
-*******************************
-
-In FeatherPad, searching and replacing are done by separate widgets for the user to be able to search one string and replace another. Moreover, a separate replacement widget may prevent an unintentional replacement.
-
-To remove the yellow highlights after finishing a search, you could
-
-* Click on the 'Clear' icon of the search entry, or
-* Press Ctrl+K while the search entry has focus, or
-* Empty the search entry and press Enter or F3 in it, or
-* Hide the search bar by focusing it (with Ctrl+F) and then, pressing Ctrl+F (again).
-
-Each search entry has a search history which can be shown as a popup list by clicking its arrow or by pressing Ctrl+Up/Down when it has focus. The topmost item shows the most recent searched text. When the entry has focus, Up and Down arrow keys as well as PageUp and PageDown keys can be used for selecting history items without showing the popup list: Up and Down change the selection by one item, while PageUp and PageDown select the topmost (most recent) and bottommost (oldest) items respectively.
-
-FeatherPad can use a shared history for all search entries, whether they are in the same window or in different windows of the same FeatherPad process. By default, each search entry has a separate history but that can be changed by checking "Preferences → Window → Use a shared search history".
-
-The shared search history starts with every session and is forgotten as soon as the session ends (i.e., when all windows are closed — there is no point in remembering the search history indefinitely).
-
-The 'Replace' docked window respects the settings for 'Match Case', 'Whole Word' and 'Regular Expression' on the search bar (in the last case, the matching text should be a regular expression, while the replacing text is always an ordinary string, although capturing groups like "\1", "\2",… are supported in it). It can be detached from and reattached to the main window at top or bottom. To remove the green highlights after replacing text, you could either hide/close the 'Replace' docked window or do as in the case of removing yellow search highlights.
-
-The 'Replace' docked window is never shown without the search bar because the settings of the latter are needed by the former.
-
-Pressing the Escape key is the easiest way of focusing the editor's main view, without changing anything else.
-
-NOTE: The Escape key never clears the search/replacement entry because the user might want to resume searching/replacing later. To clear the search/replacement entry when it is focused, press Ctrl+K.
-
-******************************
-*   Selection Highlighting   *
-******************************
-
-If "Preferences → Text → Selection highlighting" is checked, all case-sensitive and whole matches of the selected text will be highlighted by a light blue color (or dark blue when the dark color scheme is used). The selected text does not need to be a whole string but the highlighted matches are always whole strings.
-
-The selection highlighting can be used for finding nearby whole strings quickly. It is separate from the (yellow) search highlighting and can be used besides it.
-
-***********************
-*   Going to A Line   *
-***********************
-
-The Jump bar can be shown by clicking its item on the toolbar or the Search menu. Jumping will happen after pressing Enter while the Jump spinbox is active. If the checkbox beside it is checked, all the text between the text cursor and the target line will be selected.
-
-******************
-*   Status Bar   *
-******************
-
-The status bar not only shows information about the opened file but can also contain other widgets when certain properties are enabled in the Preferences dialog. You could also hide it in the Preferences dialog, in which case, the item "Document Properties" will appear on the File menu and could show it temporarily.
-
-***********************
-*   Wheel Scrolling   *
-***********************
-
-If the cursor is inside the text view, the speed of (mouse) wheel scrolling will be normal. If, in addition, the Shift key is pressed, the text will scroll one line per wheel turn.
-
-"Inertial" scrolling can be enabled in the Text section of the Preferences dialog. It creates a kind of inertia with wheel scrolling when the cursor is inside the text view.
-
-For fast wheel scrolling, put the cursor on the vertical scrollbar. Then, each step of wheel turn moves the view by one page. If the Shift key is also pressed, the view will be moved by half the page.
-
-Also, see the section "Keyboard Shortcuts" → "Scrolling", below.
-
-********************
-*   Text Tabbing   *
-********************
-
-A single text line could be tabbed by the Tab key and untabbed by Shift+Tab (which is also called "BackTab") if the cursor is at its start. If multiple lines are (partially) selected, Tab and BackTab will affect all of them, regardless of the cursor position.
-
-If Ctrl+Tab is used, the tabulation will be done by 4 spaces instead of a tab (the number of spaces can be changed in the Preferences dialog). This is sometimes called "soft tab".
-
-In FeatherPad, "hard" and "soft" tabs are not mutually exclusive because some texts may need one and some the other.
-
-With Ctrl+Meta+Tab, the text will be tabbed by 2 spaces, while Shift+Meta+Tab is for 2-space untabbing as far as possible.
-
-All text tabs of a document can be converted to spaces (soft tabs) by using the menu item "Text Tabs to Spaces" in the right-click menu or the "Edit" menu. This conversion is done based on the value of Preferences → Text → Text tab size, which is 4 by default. The document needs to be saved after the conversion.
-
-************************
-*   Column Selection   *
-************************
-
-A text column can be selected, starting from the current text cursor, by holding Shift+Ctrl and pressing the left mouse button anywhere inside the text, such that the positions of the current text cursor and the press point become two diagonal corners of the column.
-
-If the left mouse button is kept pressed and Shift+Ctrl is still held, moving the mouse will change the column, until the left mouse button is released.
-
-A column is deselected when the text cursor is moved in any way (e.g. by arrow keys, or by clicking anywhere without holding Shift+Ctrl) and on some other occasions, but it is kept intact on right clicking. With a selected column, the items "Cut", "Copy", "Paste" and "Delete" in the right-click and Edit menus work on that column. Column pasting may be a little confusing at first, but it can be used for pasting a copied column on another.
-
-If a character is typed when a column is selected, that character is inserted before it for all of its rows, without deselecting it. This property can be used, e.g., for commenting out multiple lines of codes together. Also, Backspace moves the whole column backward by removing the characters that immediately precede it, and the Delete key deletes the column.
-
-However, the Enter and BackTab keys do not make sense with a column, and so, they simply deselect it and do their normal jobs at the cursor position (to untab multiple lines, select them in the usual way and press the BackTab key, as explained in the section "Text Tabbing", above).
-
-NOTE: Column selection is useful only with unwrapped lines, although it is possible with wrapped lines too. Also, it may seem counter-intuitive with non-monospace fonts, with multi-character or double-width graphemes, or where hard tabs are used instead of soft tabs, because it is based on the number of characters, not their widths.
-
-********************
-*   Auto-Bracket   *
-********************
-
-With "auto-bracketing" enabled in Preferences, if a left parenthesis, brace, square bracket or double-quote is typed, a right parenthesis, brace, square bracket or double-quote will respectively be inserted after it and the cursor will be moved between them, provided that the next character is not a letter or number. (Although double-quote is not a bracket and has identical left and right signs, it is included in this.)
-
-Also, if any part of the text is selected from end to start, typing of a left parenthesis, brace, etc. will add a right one after the selection end, so that the selection will be put inside parentheses, braces, etc.
-
-For user convenience, if Enter/Return is pressed after a text selection is auto-bracketed by parentheses "(...)" or braces "{...}", the bracketed text will be put below the left bracket and above the right one.
-
-The same holds for RTL (right-to-left) texts but with right and left reversed.
-
-****************************
-*   Ellipsis and Em Dash   *
-****************************
-
-With the corresponding option enabled in Preferences and under proper circumstances, a triple period is replaced by an ellipsis ("…") and a double hyphen by an em dash (long dash, "—") while the user is typing.
-
-The proper circumstances depend on the pressed key and, maybe, what comes before those characters. For example, in the case of a triple period, the Space or Enter/Return key should be pressed and the triple period should not follow a period. Double hyphens are not replaced in programming languages because they may have special meanings.
-
-Some other strings may also be replaced appropriately in non-programming languages, e.g., "->", ">=" and "<=" may be changed to "→", "≥" and "≤" respectively. The existence of these characters are guaranteed by all good fonts.
-
-**********************
-*   Spell Checking   *
-**********************
-
-For spell checking, a Hunspell dictionary should be first added to Preferences → Text → Hunspell dictionary path (a Hunspell dictionary has the suffix ".dic" and should be accompanied by an affix file with the suffix ".aff"). Spell checking can be done by F2, but its shortcut can be customized.
-
-If "Ignore All" is clicked, all instances of the word will be ignored during the current check. If you know that the word is correct, you could click "Add To Dictionary" and it will be saved for all checks. If "Correct All" is clicked, other instances of the word will be corrected in the same way when reached during the current check.
-
-**************************
-*   Keyboard Shortcuts   *
-**************************
-
-To change a customizable shortcut, double click it and press your chosen shortcut inside the shortcut editor of the Preferences dialog. To clear a shortcut, use a modifier key (like Shift). To cancel, press the Escape key before the shortcut loses focus.
-
-All shortcuts, except for the extra ones below, can be found on menus or as tooltips, and many of them can be customized in the Preferences dialog.
-
-NOTE: Text editing shortcuts may be different for non-Linux OS's.
-
-Useful Extra (Hidden) Shortcuts:
-=================================
-
-Window:
-*********
-Escape              Focus the editor's main view without changing anything else
-Ctrl+Escape         Focus the side-pane if existing
-F11                 (Un-)Fullscreen
-
-Zooming:
-**********
-Ctrl+=              Zoom in (also Ctrl++ or Ctrl + mouse wheel)
-Ctrl+-              Zoom out (also Ctrl + mouse wheel)
-Ctrl+0              Reset zooming
-
-Running a process:
-********************
-Ctrl+E              Run the executable file opened in this tab (only if enabled in Preferences)
-Ctrl+Alt+E          Exit (kill) the above process immediately
-
-Scrolling:
-***********
-Shift+Mouse Wheel     If cursor is inside view, scroll up/down by one wrapped line;
-                      if cursor is on vertical scrollbar, scroll up/down by half the page
-Alt+Mouse Wheel       If cursor is inside view, scroll horizontally when horizontal
-                      scrollbar is visible (which may happen when wrapping is disabled)
-Ctrl+Up/Down          Scroll up/down by one wrapped line without moving text cursor
-Ctrl+PageUp/PageDown  Scroll up/down by one page without moving text cursor
-
-Moving text cursor:
-********************
-Home                Go to to the line start plus the indentation
-End                 Go to to the line end
-Ctrl+Home           Go to to the text start
-Ctrl+End            Go to to the text end
-Right/Left          Move the cursor one character to the right/left
-Ctrl+Right/Left     Move the cursor one word to the right/left
-Up/Down             Go to the same position in the previous/next wrapped line
-Shift+Up/Down       Go to the same position in the previous/next wrapped line while selecting text
-Meta+Up/Down        Go to the same position in the previous/next (real) line
-Meta+Shift+Up/Down  Go to the same position in the previous/next (real) line while selecting text
-PageUp/PageDown     Go to the same position in the previous/next page
-
-Text tabulation:
-*****************
-Tab                 Ordinary text tabulation (its length can be changed in Preferences)
-Shift+Tab           BackTab (the reverse of Tab)
-Ctrl+Tab            4-space text tabulation (can be changed in Preferences)
-Ctrl+Meta+Tab       2-space text tabulation
-Shift+Meta+Tab      2-space BackTab, as far as possible
-
-Text editing:
-**************
-Insert              Toggle overwrite mode
-Backspace           Delete to the left of the text cursor
-Ctrl+Backspace      Delete to the the start of the word
-Delete              Delete to the right of the text cursor (the opposite of Backspace)
-Ctrl+Delete         Delete to the end of the word (the opposite of Ctrl+Backspace)
-Ctrl+K              Delete to the end of the line (when the editor has focus)
-Ctrl+Shift+Up/Down  Move the current line or selected lines upward/downward
-Shift+Enter         Insert newline with the non-letter prefix of the current line
-                    (to write code comments or lists easily, for example)
-
-***********************
-*   Multiple Clicks   *
-***********************
-
-Double click          Select a whole word
-Ctrl + Double click   Select between spaces
-Triple click          Select a line without its leading and trailing whitespaces
-Ctrl + Triple click   Select a whole line plus its trailing newline if any

→Ctrl+S で保存:

-


4). 「パッチ」ファイルを作成 2:

「help」を "別の内容" で、新規作成:

ちなみに、下記の内容を変更するときは、行頭の「+」と、「行数」を変えてはいけません:

-

追記: 2025-11-30

「@featherpad」のヘルプ表示の "「xbps-src」の備忘録" を(ver2)に更新しました:

そのパッチファイルを更新するためにトライした履歴は、「項番 23.」を参照:

インストールしてから、見やすいように先頭部分を少し修正しました:
(フォント設定: Noto Sans Mono CJK JP の場合に合わせたので、「***」の数を適宜修正ください)

-

$ cd ~/git/void-packages/srcpkgs/@featherpad/patches/
$ sudo featherpad 02.help-translation-jp-ver2.patch

↓ すべて貼り付け:

--- a/featherpad/data/help   1970-01-01 09:00:00.000000000 +0900
+++ b/featherpad/data/help  2025-11-28 00:08:37.631016752 +0900
@@ -0,0 +1,517 @@
+ sudo featherpad /usr/share/featherpad/help
+-                                                        (ver2)
+
+################################################################
+###### 「xbps-src」にて、ビルド環境を更新する場合: ############
+
+1). システム更新:
+
+$ sudo xbps-install -Su
+
+-
+
+2). 再起動:
+
+$ sudo reboot
+
+-
+
+3). ローカルリポジトリの更新:
+
+$ cd ~/git/void-packages/
+$ git pull
+
+-
+
+4). 「ブートストラップ パッケージ」の更新:
+
+$ cd ~/git/void-packages/
+$ ./xbps-src bootstrap-update
+
+-
+
+5). 再起動:
+
+$ sudo reboot
+
+-
+
+################################################################
+###### 「xbps-src」にて、パッケージ化をやり直す場合: ##########
+
+1). クリーンアップ:
+
+$ cd ~/git/void-packages/
+$ ./xbps-src clean <パッケージ名>
+
+-
+
+2). パッケージ化:
+
+$ cd ~/git/void-packages/
+$ ./xbps-src pkg <パッケージ名>
+
+-
+
+################################################################
+### 「xbps-src」にて、パッケージ化後にインストールする場合: ###
+
+1). 以前にインストールしたパッケージを削除:
+
+$ sudo xbps-remove <パッケージ名>
+
+-
+
+2). インストール:
+
+$ sudo xbps-install --repository hostdir/binpkgs <パッケージ名>
+
+もしくは、
+
+$ xi <パッケージ名>
+
+-
+
+3). インストールされたか確認:
+
+$ xbps-query -Rs <パッケージ名>
+
+もしくは、
+
+$ xbps-query -s <パッケージ名>
+
+-
+
+##################################################################
+###### 「xbps-src」の「ヘルプ表示」(和訳)#######################
+
+$ cd ~/git/void-packages/
+$ ./xbps-src --help
+
+---------------------------------------------------------------
+$ xbps-src [オプション] <ターゲット> [引数]
+---------------------------------------------------------------
+
+-
+
+##################################################################
+(1). ターゲットの説明: (1つだけが指定できます)
+
+-
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+binary-bootstrap
+ ホストリポジトリから <masterdir> にブートストラップパッケージを、インストールします。  
+ オプションの  '-A <arch>' フラグが設定されている場合、このアーキテクチャから  
+ ブートストラップパッケージとその必要な XBPS ユーティリティがインストールされます。  
+ <masterdir> は、chroot 操作のために初期化されます。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+bootstrap
+ ソースからブートストラップパッケージを <masterdir> にビルドして、インストールします。  
+ オプションの '-A <arch>' フラグが設定されている場合、このアーキテクチャから  
+ ブートストラップパッケージとその必要な XBPS ユーティリティをビルドして、インストール
+ します。
+ <masterdir> は、chroot 操作のために初期化されます。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+bootstrap-update
+ XBPS 設定ファイルの登録リポジトリから利用可能な、最新のバージョンでブートストラップ
+ パッケージを更新します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+consistency-check
+ すべてのパッケージで一貫性チェックを、実行します
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+chroot
+ <masterdir> の chroot に、入ります。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+clean-repocache
+ <hostdir>/repocache から時代遅れのパッケージを、削除します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+fetch <パッケージ名>
+ パッケージのソースファイルを、ダウンロードします。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+extract <パッケージ名>
+ パッケージのソースファイルを、ビルドディレクトリに展開します。
+ デフォルトは、<masterdir>/builddir に設定されます。
+
+ →「hostdir/sources/」ディレクトリにダウンロードはされませんが、
+ ビルドディレクトリ「masterdir-x86_64/builddir/」に、ソースが展開されます:
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+patch <パッケージ名>
+ パッケージソースにパッチを当て、設定とビルドのために  
+ パッケージを準備するために必要な、他の操作を実行します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+configure <パッケージ名>
+ パッケージを構成します(Fetch + Extract + Patch + Configure)
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+build <パッケージ名>
+ パッケージのソースをビルドします(Fetch + Extract + Patch + Configure + Build)
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+check <パッケージ名>
+ パッケージのソースをビルドした後に、パッケージのチェックを実行します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+install <パッケージ名>
+ ターゲットのパッケージを <destdir> にインストールしますが、  
+ 検査目的なので、バイナリパッケージのビルドをせず、ビルドディレクトリも削除しません。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+pkg <パッケージ名>
+ <パッケージ名> のバイナリパッケージ、およびすべての必要な依存関係をビルドして、
+ パッケージ化します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+clean [パッケージ名]
+ 自動で依存関係を削除し、<masterdir>/builddir および <masterdir>/destdir を
+ クリーンアップします。
+ もし、<パッケージ名> が指定されている場合は、<masterdir>/destdir のパッケージ
+ ファイルと <masterdir>/buiddir のビルドディレクトリが削除されます。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+list
+  chroot される <masterdir>  にインストールされたパッケージの一覧を表示します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+remove <パッケージ名>
+  <destdir> からターゲットパッケージを削除します。  
+  ビルドテンプレートと <パッケージ名>-<version> が一致していない場合は、何も
+ 削除されません。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+remove-autodeps
+  自動的にインストールされたすべてのパッケージの依存関係を削除します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+purge-distfiles
+  <hostdir>/sources の、すべての時代遅れの distfiles を削除します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+show <パッケージ名>
+  指定されたパッケージの情報を表示します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+show-avail <パッケージ名>
+    特定のアーキテクチャ用にパッケージをビルドできる場合は「0」を返します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+show-build-deps <パッケージ名>
+    <パッケージ名> に必要なビルドの依存関係を表示します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+show-check-deps <パッケージ名>
+    <パッケージ名> に必要なチェックの依存関係を表示します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+show-deps <パッケージ名>
+    <パッケージ名> の必要な ランタイムの依存関係を表示します。
+ パッケージは DestDir にインストールする必要があります。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+show-files <パッケージ名>
+ <パッケージ名> によってインストールされたファイルを表示します。  
+ パッケージは DestDir にインストールする必要があります。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+show-hostmakedepends <パッケージ名>
+ <パッケージ名>の必要なホストビルド依存関係を表示します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+show-makedepends <パッケージ名>
+ <パッケージ名> の必要なターゲットビルド依存関係を表示します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+show-options <パッケージ名>
+ <パッケージ名>による利用可能なビルドオプションを表示します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+show-shlib-provides <パッケージ名>
+ <パッケージ名> の提供された shlibs のリストを表示します。
+ パッケージは DestDir にインストールする必要があります。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+show-shlib-requires <パッケージ名>
+ <パッケージ名>に必要なshlibsのリストを表示します。
+ パッケージは DestDir にインストールする必要があります。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+show-var <var>
+ xbps-src で定義されている場合、<var> の値を表示します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+show-repo-updates
+ XBPS リポジトリの時代遅れのパッケージのリストを表示します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+show-sys-updates
+ システム内の時代遅れのパッケージのリストを表示します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+show-local-updates
+ ローカルリポジトリの時代遅れのパッケージのリストを表示します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+sort-dependencies <pkg> <pkgN+1> ...
+ 追加の引数として、指定されたパッケージのリストが与えられた場合、  
+ ソートされた依存関係リストが 標準出力 に返されます。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+update-bulk
+ 時代遅れのシステムリポジトリ内のすべてのパッケージを再ビルドします。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+update-sys
+ 時代遅れのシステム内のすべてのパッケージを再ビルドし、それらを更新します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+update-local
+ 時代遅れのローカルリポジトリのすべてのパッケージを再ビルドします。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+update-check <パッケージ名>
+ 新しいリリースについて、<パッケージ名> の上流サイトをチェックします。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+update-hash-cache
+ 既存のソース distfiles で、ハッシュキャッシュを更新します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+zap
+ ccache、distcc および host ディレクトリが保存された、masterdir を削除します。
+
+
+-
+
+################################################################
+(2). オプションの説明:
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-1  
+ ターゲットパッケージの依存関係が欠けている場合は、それらをビルドせずに、失敗
+ します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-A <ホスト>
+ 指定のホストマシンを使用します。
+ masterdir-<ホスト> がまだ存在しない場合は自動的に作成されます。
+
+ 一部のホストマシンは、プロセッサによってネイティブにサポートされていない場合、
+  qemu-user と binfmt-support を必要とする場合があります。
+
+サポートされているホスト:
+
+   aarch64-musl
+   aarch64
+   armv5te-musl
+   armv5te
+   armv5tel-musl
+   armv5tel
+   armv6hf-musl
+   armv6hf
+   armv6l-musl
+   armv6l
+   armv7hf-musl
+   armv7hf
+   armv7l-musl
+   armv7l
+   i686-musl
+   i686
+   mips-musl
+   mipsel-musl
+   mipselhf-musl
+   mipshf-musl
+   ppc-musl
+   ppc
+   ppc64-musl
+   ppc64
+   ppc64le-musl
+   ppc64le
+   ppcle-musl
+   ppcle
+   riscv64-musl
+   riscv64
+   x86_64-musl
+   x86_64
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-a  <ターゲット>
+指定されたターゲットマシンのパッケージをクロスコンパイルします。
+
+サポートされているターゲット:
+
+   aarch64-musl
+   aarch64
+   armv5te-musl
+   armv5te
+   armv5tel-musl
+   armv5tel
+   armv6hf-musl
+   armv6hf
+   armv6l-musl
+   armv6l
+   armv7hf-musl
+   armv7hf
+   armv7l-musl
+   armv7l
+   i686-musl
+   i686
+   mips-musl
+   mipsel-musl
+   mipselhf-musl
+   mipshf-musl
+   ppc-musl
+   ppc
+   ppc64-musl
+   ppc64
+   ppc64le-musl
+   ppc64le
+   ppcle-musl
+   ppcle
+   riscv64-musl
+   riscv64
+   x86_64-musl
+   x86_64
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-b
+ 壊れているとマークされている、nocross、またはアーチで除外されている場合でも、
+ パッケージをビルドします。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-c  <configuration>
+ <configuration> が指定されている場合、etc/conf.<configuration> は、主要な
+ 構成ファイル名として使用されます。
+ etc/conf が存在しない場合にのみ試行されます。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-C  
+ インストールが成功した後、ビルドディレクトリ、自動依存関係、パッケージ用の
+ destdir を削除しません。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-E
+ ターゲットパッケージのリポジトリに、バイナリパッケージが存在する場合は、
+ それをビルドせず、すぐに終了します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-f  
+ 正常に実行された場合でも、指定されたステージ(構成/ビルド/インストール/パッケージ化)
+ を実行します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-G  Enable XBPS_USE_GIT_REVS(詳細については、etc/defaults.conf を参照してください)
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-g
+ デバッグシンボルを備えた -dbg パッケージのビルドを有効にします。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-H  <hostdir>
+ unset がデフォルトで、「void-packages/hostdir」がある場合に、
+ <masterdir>/host にマウントされる、バインドされるディレクトリへの絶対パスを指定。
+ host ディレクトリには、リモートリポジトリからダウンロードされたバイナリパッケージ、
+ ソース、パッケージの依存関係が保存されています。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-h
+ 使い方を表示。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-I  
+ ソースを展開/読み込むのに役立つ必要な依存関係を無視します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-i 
+ xbps-src の内部エラーを致命的なエラーにしません。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-j  
+ パッケージをビルドするときに使用する並列ビルドジョブ(プロセッサ)の数を指定。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-L
+ ASCII の色を無効にします。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-m  <masterdir>
+ unset がデフォルトで「void-packages/masterdir-<host>」がある場合に、
+ masterdir として使用するディレクトリへの絶対パスを指定。
+ masterdir は、パッケージを構築/保存/コンパイルする、メインとなるディレクトリです。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-N
+ リモートリポジトリの使用を無効にして、依存関係を解決します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-o  <opt,~opt2,...>
+ パッケージビルドオプションを有効または(`~` を付けて)無効にします。
+ 「etc/conf」がすでにいくつかを指定している場合、それはマージされています。
+ 依存関係をビルドする必要がある場合、これらのオプションを継承する場合、
+ これらのオプションはビルド内のすべてのパッケージに適用されることに注意
+ してください。
+
+ 'show-options' target でサポートされているオプションを表示できます。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-p  <variable,variable2,...>
+ ターゲットを表示するには、デフォルトの変数に加えて指定された変数を表示します。
+ 変数は分割され、各単語はデフォルトで別々の行で表示されます。
+ 値全体を 1行で表示するには、asterisk を変数名に追加します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-Q  
+ ターゲットパッケージのみのチェックステージを実行します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-K  
+ 長いテストでチェックステージを実行します。
+ -Q とは異なり、これはビルドされた依存関係のチェックステージも実行されます。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-q  
+ xbps-src の情報出力をしません。(ビルド出力は引き続き表示されます)
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-r  <repo>
+ 代替ローカルリポジトリを使用して、生成されたバイナリパッケージを保存します。
+ unset がデフォルトで <hostdir>/binpkgs になります。
+
+ もし、set の場合、binpkgs は <hostdir>/binpkgs/<repo> に保存されます。
+ また、この代替リポジトリは、他のリポジトリよりも優先度の高い順序で依存関係を
+ 解決するためにも使用されます。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-s  
+ いくつかの警告をエラーにします。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-t  
+ 現在のものを汚さないように、一時的な masterdir を作成します。
+ 既存の masterdir には、最初に binary-bootstrap を完全に入力する必要があることに
+ 注意してください。
+
+ ターゲットが終了すると、この一時的な masterdir は削除されます。
+ このフラグには xbps-uchroot(1) が必要であり、 overlayfs をサポートしていない
+ ファイルシステムでは機能しません。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-v  
+ 詳細なメッセージを表示します(update-check のみに影響します)。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-V  
+ xbps のバージョンを表示して、終了します。
+
+-
+
+##################################################################
+

→Ctrl+S で保存:

-


5). 「パッチ」ファイルを作成 3:

「デスクトップファイル」の修正:

-

$ sudo featherpad ~/git/void-packages/srcpkgs/@featherpad/patches/03.featherpad-desktop.patch

↓ すべて貼り付け:

--- a/featherpad/data/featherpad.desktop 2025-10-11 15:08:34.023423019 +0900
+++ b/featherpad/data/featherpad.desktop    2025-10-11 16:17:35.175545023 +0900
@@ -1,5 +1,5 @@
 [Desktop Entry]
-Name=FeatherPad
+Name=featherpad
 GenericName=Text Editor
 GenericName[cs]=Textový editor
 GenericName[da]=Tekstredigering

→Ctrl+S で保存:

-


6). 確認:

$ cd ~/git/void-packages/
$ ls -1p srcpkgs/@featherpad/patches/
:
01.help-del.patch
02.help-translation-jp-ver2.patch
03.featherpad-desktop.patch

-


7). 「パッケージ化」:

$ cd ~/git/void-packages/
$ ./xbps-src pkg @featherpad
:
=> @featherpad-1.6.2_1: installing host dependencies: qt6-tools-6.10.0_1 qt6-base-devel-6.10.0_3 pkg-config-0.29.2_3 cmake-bootstrap-4.1.2_1 ninja-1.13.1_1 ...
=> @featherpad-1.6.2_1: installing target dependencies: libX11-devel-1.8.12_2 libXext-devel-1.3.6_1 qt6-svg-devel-6.10.0_1 hunspell-devel-1.7.2_1 ...
ERROR: Package `libX11-devel-1.8.12_2' already installed.
ERROR: Package `libXext-devel-1.3.6_1' already installed.
=> @featherpad-1.6.2_1: running do-fetch hook: 00-distfiles ... (ソース読込)
=> @featherpad-1.6.2_1: using known distfile V1.6.2.tar.gz.
=> @featherpad-1.6.2_1: running do-extract hook: 00-distfiles ...(ソース展開)
=> @featherpad-1.6.2_1: extracting distfile(s), please wait...
=> @featherpad-1.6.2_1: running do-patch hook: 00-patches ...
=> @featherpad-1.6.2_1: patching: 01.help-del.patch.        ←(パッチ1)
=> @featherpad-1.6.2_1: patching: 02.help-translation-jp.patch.  ←(パッチ2)
=> @featherpad-1.6.2_1: patching: 03.featherpad-desktop.patch.  ←(パッチ3)
=> @featherpad-1.6.2_1: running pre-configure hook: 00-gnu-configure-asneeded ...
=> @featherpad-1.6.2_1: running pre-configure hook: 01-override-config ...
=> @featherpad-1.6.2_1: running pre-configure hook: 02-script-wrapper ...
=> @featherpad-1.6.2_1: running do_configure ...
:
=> Registering new packages to /host/binpkgs      ←(パッケージの新規登録)
index: added `@featherpad-1.6.2_1' (x86_64).
index: 2 packages registered.
=> @featherpad-1.6.2_1: removing autodeps, please wait...
=> @featherpad-1.6.2_1: cleaning build directory...
=> @featherpad: removing files from destdir...
[user@user-pc void-packages]$ 

→ソースの読込み、展開後、自動でパッチが当たりました:

-


8). すでにインストールしている「FeatherPad」がある場合は削除:

ギリギリのインストール直前まで使いました:

-

$ sudo xbps-remove FeatherPad
:
Name       Action    Version       New version        Download size
FeatherPad remove    1.6.2_1       -                  - 

→設定ファイルは残ります:

-

もしくは、
「@featherpad」をインストールしていた場合は、

$ sudo xbps-remove @featherpad

-


9). 新しく「パッケージ化」されたパッケージを、インストール:

$ sudo xbps-install --repository hostdir/binpkgs @featherpad
:
Name       Action    Version       New version        Download size
@featherpad install   -             1.6.2_1            - 

もしくは、

$ xi @featherpad
:
Name        Action    Version           New version            Download size
@featherpad install   -                 1.6.2_1                - 

-

「xi」コマンドについては、「項番 30-3.」を参照:

-


10). インストールされたか確認:

$ xbps-query -Rs featherpad
:
[-] FeatherPad-1.6.2_1 Lightweight Qt6 plain-text editor for Linux

→リモートのパッケージがヒット、インストールされていません:

-

$ xbps-query -s featherpad
:
[*] @featherpad-1.6.2_1 Lightweight Qt6 plain-text editor for Linux

→ローカルのパッケージがヒット、行頭が [*] であれば、インストール済です:

-

$ xbps-query -s @featherpad
:
[*] @featherpad-1.6.2_1 Lightweight Qt6 plain-text editor for Linux

→こちらで検索しても OK

-

このパッケージ名の付け方であれば、個人的にソースを修正したパッケージがわかりやすいです:

-


11). アプリを起動して、動作確認:

メニュー→「アクセサリー」→「featherpad」

-

ヘルプを表示させると、「xbps-src」の「備忘録」が表示されました:

→使用するフォントで行の幅が変わるので、ヘルプの見栄えを良くするため、
「02.help-translation-jp-ver2.patch」の「###」と「-- --」の数を調整すると良いです:

-

参考:

先頭行に書かれているコマンドで、ヘルプの修正が可能です:

 sudo featherpad /usr/share/featherpad/help

→誤っているところの修正や、見やすくするための修正だけでなく、個人の「備忘録」として書き換えても OK:

「マークダウン」ではなく、単なる「テキストファイル」です:

書き換えた内容は、別のファイルに保存しておくと安心です:

-

ちなみに、Ubuntu(などの日本語のヘルプ「help_ja」のある featherpad)でヘルプを修正するときは、修正するファイルを変えます:

 sudo featherpad /usr/share/featherpad/help_ja

-

もしくは、「パッチ」ファイルを修正して「パッケージ化」し直し、アプリに反映させても OK :

$ sudo featherpad ~/git/void-packages/srcpkgs/featherpad/patches/02.help-translation-jp-ver2.patch

→パッチの内容を変更するときは、行頭の「+」と、ファイルの「行数」を変えてはいけません:
 ハマります:

-

実行ファイルの場所:
$ which featherpad
/usr/bin/featherpad

→実行ファイル名は、小文字です:

-

実行ファイルのパスから、パッケージ名とバージョンを表示してみる:
$ xlocate /usr/bin/featherpad
:
xlocate: database outdated, please run xlocate -S.
FeatherPad-1.6.2_1  /usr/bin/featherpad
FeatherPad-1.6.2_1  /usr/bin/fpad -> /usr/bin/featherpad

-

$ xlocate -S
$ xlocate /usr/bin/featherpad
:
FeatherPad-1.6.2_1  /usr/bin/featherpad
FeatherPad-1.6.2_1  /usr/bin/fpad -> /usr/bin/featherpad

→「xtools」だと、パッケージ名を変更した場合については想定されていないみたい:

-

確実なのは、こちらのやり方:

$ xbps-query -s featherpad
:
[*] @featherpad-1.6.2_1 Lightweight Qt6 plain-text editor for Linux

-

「xlocate」コマンドについては、「項番 30-5.」を参照:

-

-


- --- - --- - --- - --- - --- - --- - --- ----- ----- -

3-3. 「項番 4-2.」の「xbps-src」のビルド環境の更新に伴う、パッケージ化のやり直し:

-

クリーンアップ:

$ cd ~/git/void-packages/
$ ./xbps-src clean @featherpad

-

パッケージ化:

$ cd ~/git/void-packages/
$ ./xbps-src pkg @featherpad

-

削除:

$ sudo xbps-remove @featherpad
:
Name        Action    Version     New version      Download size
@featherpad remove    1.6.2_1     -                - 

-

インストール:

$ cd ~/git/void-packages/
$ xi @featherpad
:
Name        Action    Version     New version      Download size
@featherpad install   -           1.6.2_1          - 

-

-


- --- - --- - --- - --- - --- - --- - --- ----- ----- --

4. 「四川省」 (kshisen) ゲームの移植:

-

四川省」 (kshisen) ゲームは、Flatpak に登録がありますが、「Void Linux」のリポジトリにはないパッケージなので、移植してみました:

-

ホームページ:

https://apps.kde.org/kshisen/

-

テンプレートを作成するためトライした履歴は、〈H179-2〉の「項番 22.」を参照:

-

追記:

今回より、アプリの移植や、ソースに手を加えたパッケージは、 パッケージ名の先頭に「@」を付けて、管理(退避や保存)しやすくすることにしました:

なので、前回、パッケージ化を試したアプリも、
パッケージ名を変えるので、「テンプレート」を作り直しました:

-

-


- --- - --- - --- - --- - --- - --- - --- ----- ----- ---

4-1. 「四川省」 (kshisen) ゲームを、起動メニューを日本語化して「パッケージ化」する場合:

-

日々の更新により依存関係が崩れ、(ある日)ビルドできなくなる場合があります:

前回試したときは、正常にビルドできましたが、日が経つので、再度、ビルドしてパッケージ化できるか確認しました:

-


1). 「kshisen」パッケージのフォルダを作成:

$ cd ~/git/void-packages/
$ sudo mkdir -p srcpkgs/@kshisen/patches/

→パッチのフォルダまで作っておくのがコツです:

-


2). 「テンプレート」ファイルを作成: 

$ sudo featherpad ~/git/void-packages/srcpkgs/@kshisen/template
# Template file for 'kshisen'
pkgname=@kshisen
version=25.08.1
revision=1
build_style=cmake
hostmakedepends="qt6-tools qt6-base-devel pkg-config"
makedepends="gettext extra-cmake-modules ecm-devel qt6-core qt6-gui kf6-kcoreaddons-devel kf6-kconfig-devel kf6-kiconthemes-devel kf6-kconfigwidgets-devel kf6-kcrash-devel kf6-kdbusaddons-devel kf6-kdoctools-devel kf6-ki18n-devel kf6-kwidgetsaddons-devel kf6-kxmlgui-devel libkmahjongg-devel libkdegames-devel"
short_desc="Shisen-Sho is a solitaire-like game"
maintainer="Kubuntu Developers <kubuntu-devel@lists.ubuntu.com>"
license="GPL-2.0-or-later"
homepage="https://apps.kde.org/kshisen/"
changelog="https://invent.kde.org/games/kshisen/-/blob/master/ChangeLog"
distfiles="https://invent.kde.org/games/kshisen/-/archive/v${version}/kshisen-v${version}.tar.gz"
checksum=3dfc9498c7899cf6f35f42f7fbf0c4f9b53605e6fc95bad040d2b8f9827c359d

→Ctrl+S で保存:

-


3). パッチを作成:

$ sudo featherpad ~/git/void-packages/srcpkgs/@kshisen/patches/01.kshisen-desktop.patch

↓ すべて貼り付け:

--- a/org.kde.kshisen.desktop    2025-10-15 19:30:58.512373693 +0900
+++ b/org.kde.kshisen.desktop   2025-10-15 19:35:15.331386199 +0900
@@ -35,7 +35,7 @@
 Name[id]=Shisen-Sho
 Name[is]=Shisen-Sho
 Name[it]=Shisen-Sho
-Name[ja]=Shisen-Sho
+Name[ja]=Shisen-Sho 四川省
 Name[ka]=Shisen-Sho
 Name[kk]=Сисен-сё
 Name[km]=Shisen-Sho

→Ctrl+S で保存:

-

確認:

$ ls -1p ~/git/void-packages/srcpkgs/@kshisen/patches/
:
01.kshisen-desktop.patch

-


4). パッケージ化:

$ cd ~/git/void-packages/
$ ./xbps-src pkg @kshisen
:
[3241/5657] Building CXX object src/qmlls/CMakeFiles/QmlLSPrivate.dir/qqmlgototypedefinitionsupport.cpp.o
ninja: build stopped: subcommand failed.

赤色のエラーが表示:

=> ERROR: qt6-declarative-6.10.0_2: do_build: '${make_cmd} ${makejobs} ${make_build_args} ${make_build_target}' exited with 1
=> ERROR:   in do_build() at common/build-style/cmake.sh:97
[user@user-pc void-packages]$ 

→ビルド中にエラーしました:

-

確認:

$ xbps-query -Rs qt6-declarative
:
[-] python3-pyqt6-declarative-6.10.0_1     Python 3 bindings for Qt6 - Declarat...
[*] qt6-declarative-6.10.0_2               Cross-platform application and UI fr...
[-] qt6-declarative-devel-6.10.0_2         Cross-platform application and UI fr...
[-] qt6-declarative-host-tools-6.10.0_2    Cross-platform application and UI fr...
[-] qt6-declarative-private-devel-6.10.0_2 Cross-platform application and UI fr...
[-] qt6-declarative-tools-6.10.0_2         Cross-platform application and UI fr...

-

$ pwd
:
/home/user/git/void-packages

-

スクリプトの場所を確認:

$ find . -name cmake.sh
:
./common/build-style/cmake.sh
./common/environment/build-style/cmake.sh

-

スクリプトの確認:

$ cat ./common/environment/build-style/cmake.sh
if [ "$CHROOT_READY" ]; then
    if [ "$pkgname" != cmake-bootstrap ]; then
        hostmakedepends+=" cmake-bootstrap"
    fi
    if [ "${make_cmd:-ninja}" = ninja ]; then
        hostmakedepends+=" ninja"
    fi
fi

export CTEST_OUTPUT_ON_FAILURE=TRUE
PATH="$PATH:/usr/libexec/xbps-src/bin"

「=> ERROR: in do_build() at common/build-style/cmake.sh:97」メッセージの

「cmake.sh:97」の「97」は、通常、エラーが発生したシェルスクリプト cmake.sh 内の行番号 のはずですが、そのような行番号は存在しません。

キャッシュが乱れていてクリアが必要みたい:

-

キャッシュの場所を検索:

$ find . -name CMakeCache.txt
:
./masterdir-x86_64/builddir/qt6-declarative-6.10.0/build/CMakeCache.txt
./masterdir-x86_64/builddir/qt6-declarative-6.10.0/build/config.tests/binary_for_strip_built/CMakeCache.txt

-

-


- --- - --- - --- - --- - --- - --- - --- ----- ----- ----

4-2. 「xbps-src」のビルド環境を更新:

-

「項番 4-1.」のビルド時のエラーに対応しました:

-

以前の投稿時は、正常にビルドされたので、

Qt6 関連の更新の影響?と思われます:

追記: →「cmake」が更新されました:

何かしらの不具合があったのかも:

-

「xbps-src」のビルド環境(フォルダ)を削除して、作り直すのが確実ですが、
 勉強のため、

→「xbps-src」のビルド環境を更新しました:

-


1). 念の為、個人で作成した「テンプレート」フォルダを退避:

-

(1). 確認:
$ cd ~/git/void-packages/
$ ls srcpkgs/@*
:
srcpkgs/@featherpad:
patches  template

srcpkgs/@kshisen:
patches  template

-

(2). 保存先を作成:
$ mkdir -p ~/ダウンロード/srcpkgs_save/

-

(3). 保存:
$ cd ~/git/void-packages/
$ sudo cp -r srcpkgs/@* ~/ダウンロード/srcpkgs_save/

-

(4). 確認:
$ tree ~/ダウンロード/srcpkgs_save/
:
/home/user/ダウンロード/srcpkgs_save/
├── @featherpad
│   ├── patches
│   │   ├── 01.help-del.patch
│   │   ├── 02.help-translation-jp.patch
│   │   └── 03.featherpad-desktop.patch
│   └── template
└── @kshisen
    ├── patches
    │   └── 01.kshisen-desktop.patch
    └── template

5 directories, 6 files

-


2). システムを更新:

$ sudo xbps-install -Su
:
Name             Action    Version         New version      Download size
glib             update    2.86.0_1        2.86.1_1         3386KB 
glibmm2.68       update    2.78.0_1        2.86.0_1         751KB 
gtkmm4           update    4.18.0_1        4.20.0_1         1182KB 
libpyside6       update    6.10.0_2        6.10.0_3         162KB 
libshiboken6     update    6.10.0_2        6.10.0_3         266KB 
pahole           update    1.30_1          1.31_1           344KB 
qt6-declarative  update    6.10.0_2        6.10.0_3         14MB 
removed-packages update    0.1.20251014_1  0.1.20251104_1   9190B 

→問題の「qt6-declarative」の更新がありました:

-


3). 再起動:

$ sudo reboot

-


4). 「xbps-src」のローカルリポジトリをアップデート:

個人使用で、貢献(プルリクエスト)する予定がない場合:

$ cd ~/git/void-packages/
$ git pull
remote: Enumerating objects: 490, done.
remote: Counting objects: 100% (490/490), done.
remote: Compressing objects: 100% (196/196), done.
remote: Total 345 (delta 198), reused 231 (delta 113), pack-reused 0 (from 0)
Receiving objects: 100% (345/345), 82.00 KiB | 74.00 KiB/s, done.
Resolving deltas: 100% (198/198), completed with 69 local objects.
From https://github.com/void-linux/void-packages
   4887d00c..512eb088  master     -> origin/master
Updating 4887d00c..512eb088
Fast-forward
 common/shlibs                                      |   2 +
 srcpkgs/CastXML/template                           |   5 +-
 srcpkgs/SPIRV-LLVM-Translator19/template           |   3 +-
 srcpkgs/akonadi5-devel                             |   1 -
 srcpkgs/akonadi5/template                          |  10 -
 srcpkgs/akonadi5/update                            |   1 -
 srcpkgs/bcc/template                               |   3 +-
 srcpkgs/ccls/template                              |   5 +-
 srcpkgs/chafa/template                             |   7 +-
 srcpkgs/clazy/template                             |   9 +-
 srcpkgs/cloud-hypervisor/template                  |   4 +-
 srcpkgs/cmark/template                             |   4 +-
 srcpkgs/cpuid/template                             |   4 +-
 srcpkgs/dinit/template                             |  15 +-
 srcpkgs/discord/template                           |   4 +-
 srcpkgs/edbrowse/template                          |   6 +-
 srcpkgs/falkon/patches/cross-shiboken.patch        |  12 ++
 srcpkgs/falkon/template                            |  14 +-
 srcpkgs/firefox-i18n/template                      | 210 ++++++++++-----------
 srcpkgs/firefox/patches/fix-webrtc-glibcisms.patch |  20 +-
 srcpkgs/firefox/template                           |   4 +-
 srcpkgs/fish-shell/template                        |   4 +-
 srcpkgs/fvwm3/template                             |   8 +-
 srcpkgs/github-cli/template                        |   4 +-
 srcpkgs/golly/template                             |   4 +-
 srcpkgs/hex2hcd/template                           |  16 +-
 .../patches/remove_offload_openmp_test.patch       |  53 ------
 srcpkgs/include-what-you-use/template              |  11 +-
 srcpkgs/ipsvd/patches/cross.patch                  |  47 -----
 srcpkgs/ipsvd/template                             |  14 +-
 srcpkgs/ispc/template                              |   3 +-
 srcpkgs/kdevelop-pg-qt/template                    |   6 +-
 srcpkgs/kdevelop-php/template                      |  12 +-
 srcpkgs/kdevelop-python/template                   |  14 +-
 srcpkgs/kdevelop/template                          |  62 ++++--
 srcpkgs/kf6-kcoreaddons/template                   |   6 +-
 srcpkgs/kf6-kguiaddons/template                    |   6 +-
 srcpkgs/kf6-kjobwidgets/template                   |   6 +-
 srcpkgs/kf6-knotifications/template                |   6 +-
 srcpkgs/kf6-kstatusnotifieritem/template           |   6 +-
 srcpkgs/kf6-kunitconversion/template               |   6 +-
 srcpkgs/kf6-kwidgetsaddons/template                |   6 +-
 srcpkgs/kf6-kxmlgui/template                       |   6 +-
 srcpkgs/kig/template                               |  28 ++-
 srcpkgs/kwin-effects-forceblur/template            |   2 +-
 srcpkgs/libclc                                     |   1 +
 srcpkgs/libclc/template                            |  36 ----
 srcpkgs/linux6.12/files/arm64-dotconfig            |   5 +-
 srcpkgs/linux6.12/files/i386-dotconfig             |   4 +-
 srcpkgs/linux6.12/files/x86_64-dotconfig           |   5 +-
 srcpkgs/linux6.12/template                         |   4 +-
 srcpkgs/linux6.17/files/arm64-dotconfig            |   5 +-
 srcpkgs/linux6.17/files/i386-dotconfig             |   4 +-
 srcpkgs/linux6.17/files/x86_64-dotconfig           |   5 +-
 srcpkgs/linux6.17/template                         |   4 +-
 srcpkgs/llvm/template                              |   8 +-
 srcpkgs/llvm18/template                            |   2 +-
 srcpkgs/llvm19/template                            |   2 +-
 srcpkgs/llvm21/template                            |   2 +-
 srcpkgs/msr-tools/template                         |  21 +--
 srcpkgs/nfdump/template                            |   4 +-
 srcpkgs/ostree/template                            |   6 +-
 srcpkgs/pahole/template                            |   4 +-
 srcpkgs/probe-rs/template                          |   4 +-
 srcpkgs/pv/template                                |   4 +-
 .../patches/system-cmark-gfm.patch                 |  17 ++
 srcpkgs/python3-cmarkgfm/template                  |  14 ++
 srcpkgs/python3-commonmark/template                |  23 ---
 srcpkgs/python3-lark/template                      |   6 +-
 srcpkgs/python3-pyside6/patches/config.patch       |   2 +-
 .../python3-pyside6/patches/cross-shiboken.patch   |  23 +++
 srcpkgs/python3-pyside6/template                   |  39 ++--
 srcpkgs/python3-recommonmark/template              |  18 --
 srcpkgs/qlementine/template                        |   4 +-
 ...01-CVE-2025-12385-qtdeclarative-6.10-0001.patch |  76 ++++++++
 ...02-CVE-2025-12385-qtdeclarative-6.10-0002.patch | 149 +++++++++++++++
 ...dad91592e609364231decaba771418d2d48d4910.patch} |   2 -
 ...l-location.patch => 100-bin-qml-location.patch} |   0
 ...ini.patch => 101-test_generate_qmlls_ini.patch} |   2 +-
 srcpkgs/qt6-declarative/template                   |   9 +-
 srcpkgs/qt6-tools/template                         |  10 +-
 srcpkgs/qtcreator/template                         |   8 +-
 srcpkgs/ripgrep-all/template                       |   4 +-
 srcpkgs/rsync/template                             |   2 +-
 srcpkgs/spicy/patches/fix-test.patch               |  24 ---
 srcpkgs/spicy/template                             |   4 +-
 srcpkgs/sqlmap/template                            |   4 +-
 srcpkgs/tealdeer/template                          |   4 +-
 srcpkgs/terragrunt/template                        |   4 +-
 srcpkgs/topgrade/template                          |   4 +-
 srcpkgs/xsnow/template                             |   4 +-
 srcpkgs/yamlfmt/template                           |   5 +-
 srcpkgs/yoshimi/template                           |   4 +-
 srcpkgs/zeek/template                              |   6 +-
 94 files changed, 710 insertions(+), 570 deletions(-)
 delete mode 120000 srcpkgs/akonadi5-devel
 delete mode 100644 srcpkgs/akonadi5/template
 delete mode 100644 srcpkgs/akonadi5/update
 create mode 100644 srcpkgs/falkon/patches/cross-shiboken.patch
 delete mode 100644 srcpkgs/include-what-you-use/patches/remove_offload_openmp_test.patch
 delete mode 100644 srcpkgs/ipsvd/patches/cross.patch
 create mode 120000 srcpkgs/libclc
 delete mode 100644 srcpkgs/libclc/template
 create mode 100644 srcpkgs/python3-cmarkgfm/patches/system-cmark-gfm.patch
 create mode 100644 srcpkgs/python3-cmarkgfm/template
 delete mode 100644 srcpkgs/python3-commonmark/template
 create mode 100644 srcpkgs/python3-pyside6/patches/cross-shiboken.patch
 delete mode 100644 srcpkgs/python3-recommonmark/template
 create mode 100644 srcpkgs/qt6-declarative/patches/001-CVE-2025-12385-qtdeclarative-6.10-0001.patch
 create mode 100644 srcpkgs/qt6-declarative/patches/002-CVE-2025-12385-qtdeclarative-6.10-0002.patch
 rename srcpkgs/qt6-declarative/patches/{revert-dad91592e609364231decaba771418d2d48d4910.patch => 050-revert-dad91592e609364231decaba771418d2d48d4910.patch} (96%)
 rename srcpkgs/qt6-declarative/patches/{bin-qml-location.patch => 100-bin-qml-location.patch} (100%)
 rename srcpkgs/qt6-declarative/patches/{test_generate_qmlls_ini.patch => 101-test_generate_qmlls_ini.patch} (77%)
 delete mode 100644 srcpkgs/spicy/patches/fix-test.patch
[user@user-pc void-packages]$ 

→「cmake」の更新があります:

-


5). 「ブートストラップ パッケージ」を最新のバージョンに更新:

$ cd ~/git/void-packages/
$ ./xbps-src bootstrap-update
:
=> xbps-src: updating repositories for host (x86_64)...
[*] Updating repository `https://repo-default.voidlinux.org/current/bootstrap/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/nonfree/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/debug/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/bootstrap/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/nonfree/x86_64-repodata' ...
=> xbps-src: updating software in / masterdir...
=> xbps-src: cleaning up / masterdir...
=> xbps-src: removing autodeps, please wait...
[user@user-pc void-packages]$ 

→「masterdir」もクリーンアップされました:

-


6). 再起動:

$ sudo reboot

-

-


- --- - --- - --- - --- - --- - --- - --- ----- ----- -----

4-3. 「項番 4-2.」で「xbps-src」のビルド環境を更新したので、パッケージ化をやり直し:

-


1). クリーンアップ:

$ cd ~/git/void-packages/
$ ./xbps-src clean @kshisen

-


2). パッケージ化:

$ cd ~/git/void-packages/
$ ./xbps-src pkg @kshisen
=> xbps-src: updating repositories for host (x86_64)...
[*] Updating repository `https://repo-default.voidlinux.org/current/bootstrap/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/nonfree/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/debug/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/bootstrap/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/nonfree/x86_64-repodata' ...
=> xbps-src: updating software in / masterdir...
=> xbps-src: cleaning up / masterdir...
=> @kshisen-25.08.1_1: removing autodeps, please wait...
=> @kshisen-25.08.1_1: building with [cmake] for x86_64...
   [host] qt6-tools-6.10.0_2: found (https://repo-default.voidlinux.org/current)
   [host] qt6-base-devel-6.10.0_3: found (https://repo-default.voidlinux.org/current)
   [host] pkg-config-0.29.2_3: found (https://repo-default.voidlinux.org/current)
   [host] cmake-bootstrap-4.1.2_1: found (https://repo-default.voidlinux.org/current/bootstrap)
   [host] ninja-1.13.1_1: found (https://repo-default.voidlinux.org/current)
   [target] gettext-0.22.5_1: found (https://repo-default.voidlinux.org/current)
   [target] extra-cmake-modules-6.19.0_4: found (https://repo-default.voidlinux.org/current)
   [target] ecm-devel-7.0.6_1: found (https://repo-default.voidlinux.org/current)
   [target] qt6-core-6.10.0_3: found (https://repo-default.voidlinux.org/current)
   [target] qt6-gui-6.10.0_3: found (https://repo-default.voidlinux.org/current)
   [target] kf6-kcoreaddons-devel-6.19.0_1: found (https://repo-default.voidlinux.org/current)
   [target] kf6-kconfig-devel-6.19.0_2: found (https://repo-default.voidlinux.org/current)
   [target] kf6-kiconthemes-devel-6.19.0_1: found (https://repo-default.voidlinux.org/current)
   [target] kf6-kconfigwidgets-devel-6.19.0_1: found (https://repo-default.voidlinux.org/current)
   [target] kf6-kcrash-devel-6.19.0_1: found (https://repo-default.voidlinux.org/current)
   [target] kf6-kdbusaddons-devel-6.19.0_1: found (https://repo-default.voidlinux.org/current)
   [target] kf6-kdoctools-devel-6.19.0_1: found (https://repo-default.voidlinux.org/current)
   [target] kf6-ki18n-devel-6.19.0_1: found (https://repo-default.voidlinux.org/current)
   [target] kf6-kwidgetsaddons-devel-6.19.0_1: found (https://repo-default.voidlinux.org/current)
   [target] kf6-kxmlgui-devel-6.19.0_1: found (https://repo-default.voidlinux.org/current)
   [target] libkmahjongg-devel-25.08.3_1: found (https://repo-default.voidlinux.org/current)
   [target] libkdegames-devel-25.08.3_1: found (https://repo-default.voidlinux.org/current)
=> @kshisen-25.08.1_1: installing host dependencies: qt6-tools-6.10.0_2 qt6-base-devel-6.10.0_3 pkg-config-0.29.2_3 cmake-bootstrap-4.1.2_1 ninja-1.13.1_1 ...
=> @kshisen-25.08.1_1: installing target dependencies: gettext-0.22.5_1 extra-cmake-modules-6.19.0_4 ecm-devel-7.0.6_1 qt6-core-6.10.0_3 qt6-gui-6.10.0_3 kf6-kcoreaddons-devel-6.19.0_1 kf6-kconfig-devel-6.19.0_2 kf6-kiconthemes-devel-6.19.0_1 kf6-kconfigwidgets-devel-6.19.0_1 kf6-kcrash-devel-6.19.0_1 kf6-kdbusaddons-devel-6.19.0_1 kf6-kdoctools-devel-6.19.0_1 kf6-ki18n-devel-6.19.0_1 kf6-kwidgetsaddons-devel-6.19.0_1 kf6-kxmlgui-devel-6.19.0_1 libkmahjongg-devel-25.08.3_1 libkdegames-devel-25.08.3_1 ...

→時間がかかりました:

ERROR: Package `qt6-core-6.10.0_3' already installed.
ERROR: Package `qt6-gui-6.10.0_3' already installed.
=> @kshisen-25.08.1_1: running do-fetch hook: 00-distfiles ...
=> @kshisen-25.08.1_1: fetching distfile 'kshisen-v25.08.1.tar.gz' from 'https://invent.kde.org/games/kshisen/-/archive/v25.08.1/kshisen-v25.08.1.tar.gz'...
kshisen-v25.08.1.tar.gz: [0B 0%] 144KB/s ETA: unknown
kshisen-v25.08.1.tar.gz: [0B 0%] 212KB/s ETA: unknown
kshisen-v25.08.1.tar.gz: 1100KB [avg rate: 1145KB/s]
=> @kshisen-25.08.1_1: verifying checksum for distfile 'kshisen-v25.08.1.tar.gz'... OK.
=> @kshisen-25.08.1_1: running do-extract hook: 00-distfiles ...
=> @kshisen-25.08.1_1: extracting distfile(s), please wait...
=> @kshisen-25.08.1_1: running do-patch hook: 00-patches ...
=> @kshisen-25.08.1_1: patching: 01.kshisen-desktop.patch.
=> @kshisen-25.08.1_1: running pre-configure hook: 00-gnu-configure-asneeded ...
=> @kshisen-25.08.1_1: running pre-configure hook: 01-override-config ...
=> @kshisen-25.08.1_1: running pre-configure hook: 02-script-wrapper ...
=> @kshisen-25.08.1_1: running do_configure ...
-- The C compiler identification is GNU 14.2.1
-- The CXX compiler identification is GNU 14.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning at /usr/share/ECM/kde-modules/KDEInstallDirsCommon.cmake:169 (message):
  KDE_INSTALL_SBINDIR got its value from CMAKE_INSTALL_SBINDIR.  In most
  cases this is unintended, check if you included GNUInstallDirs before
  KDEInstallDirs.  Some third party modules include GNUInstallDirs too so eg.
  find_package(Qt6 ...) is equivalent to include(GNUInstallDirs).  If you set
  CMAKE_INSTALL_SBINDIR deliberately before including KDEInstallDirs its
  recommended to use KDE_INSTALL_SBINDIR instead to suppress this message.
Call Stack (most recent call first):
  /usr/share/ECM/kde-modules/KDEInstallDirsCommon.cmake:258 (_define_relative)
  /usr/share/ECM/kde-modules/KDEInstallDirs6.cmake:199 (include)
  /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:15 (include)
  CMakeLists.txt:29 (include)

CMake Warning at /usr/share/ECM/kde-modules/KDEInstallDirsCommon.cmake:169 (message):
  KDE_INSTALL_LIBDIR got its value from CMAKE_INSTALL_LIBDIR.  In most cases
  this is unintended, check if you included GNUInstallDirs before
  KDEInstallDirs.  Some third party modules include GNUInstallDirs too so eg.
  find_package(Qt6 ...) is equivalent to include(GNUInstallDirs).  If you set
  CMAKE_INSTALL_LIBDIR deliberately before including KDEInstallDirs its
  recommended to use KDE_INSTALL_LIBDIR instead to suppress this message.
Call Stack (most recent call first):
  /usr/share/ECM/kde-modules/KDEInstallDirsCommon.cmake:261 (_define_relative)
  /usr/share/ECM/kde-modules/KDEInstallDirs6.cmake:199 (include)
  /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:15 (include)
  CMakeLists.txt:29 (include)

CMake Warning at /usr/share/ECM/kde-modules/KDEInstallDirsCommon.cmake:169 (message):
  KDE_INSTALL_SYSCONFDIR got its value from CMAKE_INSTALL_SYSCONFDIR.  In
  most cases this is unintended, check if you included GNUInstallDirs before
  KDEInstallDirs.  Some third party modules include GNUInstallDirs too so eg.
  find_package(Qt6 ...) is equivalent to include(GNUInstallDirs).  If you set
  CMAKE_INSTALL_SYSCONFDIR deliberately before including KDEInstallDirs its
  recommended to use KDE_INSTALL_SYSCONFDIR instead to suppress this message.
Call Stack (most recent call first):
  /usr/share/ECM/kde-modules/KDEInstallDirsCommon.cmake:220 (_define_relative)
  /usr/share/ECM/kde-modules/KDEInstallDirsCommon.cmake:387 (_define_absolute)
  /usr/share/ECM/kde-modules/KDEInstallDirs6.cmake:199 (include)
  /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:15 (include)
  CMakeLists.txt:29 (include)

-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Installing in the same prefix as Qt, adopting their path scheme.
-- Could not set up the appstream test. appstreamcli is missing.
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
-- Found OpenGL: /usr/lib/libOpenGL.so
-- Found WrapOpenGL: TRUE
-- Found WrapVulkanHeaders: /usr/include
-- Found KF6CoreAddons: /usr/lib64/cmake/KF6CoreAddons/KF6CoreAddonsConfig.cmake (found version "6.19.0")
-- Found KF6Config: /usr/lib64/cmake/KF6Config/KF6ConfigConfig.cmake (found version "6.19.0")
-- Found KF6IconThemes: /usr/lib64/cmake/KF6IconThemes/KF6IconThemesConfig.cmake (found version "6.19.0")
-- Found KF6ConfigWidgets: /usr/lib64/cmake/KF6ConfigWidgets/KF6ConfigWidgetsConfig.cmake (found version "6.19.0")
-- Found KF6Crash: /usr/lib64/cmake/KF6Crash/KF6CrashConfig.cmake (found version "6.19.0")
-- Found KF6DBusAddons: /usr/lib64/cmake/KF6DBusAddons/KF6DBusAddonsConfig.cmake (found version "6.19.0")
-- Found KF6DocTools: /usr/lib64/cmake/KF6DocTools/KF6DocToolsConfig.cmake (found version "6.19.0")
-- Found Gettext: /usr/bin/msgmerge (found version "0.22.5")
-- Found KF6I18n: /usr/lib64/cmake/KF6I18n/KF6I18nConfig.cmake (found version "6.19.0")
-- Found KF6WidgetsAddons: /usr/lib64/cmake/KF6WidgetsAddons/KF6WidgetsAddonsConfig.cmake (found version "6.19.0")
-- Found KF6XmlGui: /usr/lib64/cmake/KF6XmlGui/KF6XmlGuiConfig.cmake (found version "6.19.0")
-- Found KF6: success (found suitable version "6.19.0", minimum required is "6.0.0") found components: CoreAddons Config IconThemes ConfigWidgets Crash DBusAddons DocTools I18n WidgetsAddons XmlGui
-- not found icons_at_22px /builddir/@kshisen-25.08.1/icons/22-apps-kshisen.png
-- The following OPTIONAL packages have been found:

 * OpenGL
 * WrapVulkanHeaders
 * Qt6DBusTools (required version >= 6.10.0)
 * Qt6CoreTools (required version >= 6.10.0)
 * Qt6GuiTools (required version >= 6.10.0)
 * Qt6WidgetsTools (required version >= 6.10.0)
 * Qt6QmlTools (required version >= 6.10.0)

-- The following REQUIRED packages have been found:

 * ECM (required version >= 6.0.0)
 * Qt6 (required version >= 6.5.0)
 * KF6CoreAddons (required version >= 6.0.0)
 * KF6IconThemes (required version >= 6.0.0)
 * KF6Crash (required version >= 6.0.0)
 * KF6DBusAddons (required version >= 6.0.0)
 * KF6DocTools (required version >= 6.0.0)
 * Gettext
 * KF6I18n (required version >= 6.0.0)
 * KF6XmlGui (required version >= 6.0.0)
 * KF6 (required version >= 6.0.0)
 * Qt6Gui (required version >= 6.5.0)
 * Qt6Core (required version >= 6.7.0)
 * KMahjongglib6 (required version >= 6.0.0)
 * KDEGames6 (required version >= 6.0.0)
 * Qt6Test (required version >= 6.5.0)

-- Configuring done (0.9s)
-- Generating done (0.0s)
-- Build files have been written to: /builddir/@kshisen-25.08.1/build
=> @kshisen-25.08.1_1: running pre-build hook: 02-script-wrapper ...
=> @kshisen-25.08.1_1: running do_build ...
[1/38] Generating ts...
[2/38] Generating mo...
[3/38] Automatic MOC for target movetest
[4/38] Generating po/de/docs/kshisen/index.cache.bz2
[5/38] Generating po/es/docs/kshisen/index.cache.bz2
[6/38] Building CXX object src/tests/CMakeFiles/movetest.dir/movetest_autogen/mocs_compilation.cpp.o
[7/38] Generating po/cs/docs/kshisen/index.cache.bz2
[8/38] Automatic MOC for target kshisen
[9/38] Generating po/et/docs/kshisen/index.cache.bz2
[10/38] Generating ui_settings.h
[11/38] Generating prefs.h, prefs.cpp
[12/38] Automatic RCC for kshisen.qrc
[13/38] Building CXX object src/CMakeFiles/kshisen.dir/kshisen_autogen/mocs_compilation.cpp.o
[14/38] Generating po/ca/docs/kshisen/index.cache.bz2
[15/38] Generating po/fr/docs/kshisen/index.cache.bz2
[16/38] Generating po/it/docs/kshisen/index.cache.bz2
[17/38] Generating po/nl/docs/kshisen/index.cache.bz2
[18/38] Generating po/ja/docs/kshisen/index.cache.bz2
I/O warning : failed to load "/usr/share/kf6/kdoctools/customization/xsl/ja.xml": No such file or directory
No "ja" localization of "footer-doc-comment" exists; using "en".
No "ja" localization of "footer-doc-feedback" exists; using "en".
: 省略

No "ja" localization of "footer-doc-feedback" exists; using "en".
No "ja" localization of "footer-doc-teamname" exists; using "en".
[19/38] Building CXX object src/tests/CMakeFiles/movetest.dir/__/move.cpp.o
[20/38] Building CXX object src/CMakeFiles/kshisen.dir/move.cpp.o
[21/38] Building CXX object src/CMakeFiles/kshisen.dir/kshisen_autogen/EWIEGA46WW/qrc_kshisen.cpp.o
[22/38] Generating po/pl/docs/kshisen/index.cache.bz2
[23/38] Generating po/pt/docs/kshisen/index.cache.bz2
[24/38] Generating po/pt_BR/docs/kshisen/index.cache.bz2
I/O warning : failed to load "/usr/share/kf6/kdoctools/customization/xsl/pt-BR.xml": No such file or directory
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
: 省略

No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
[25/38] Generating po/ru/docs/kshisen/index.cache.bz2
[26/38] Generating po/sl/docs/kshisen/index.cache.bz2
[27/38] Generating po/sv/docs/kshisen/index.cache.bz2
[28/38] Generating po/uk/docs/kshisen/index.cache.bz2
[29/38] Building CXX object src/CMakeFiles/kshisen.dir/prefs.cpp.o
/builddir/@kshisen-25.08.1/build/src/prefs.cpp:18:43: warning: ISO C++11 requires at least one argument for the "..." in a variadic macro
   18 | Q_GLOBAL_STATIC(PrefsHelper, s_globalPrefs)
      |                                           ^
[30/38] Generating index.cache.bz2
[31/38] Building CXX object src/CMakeFiles/kshisen.dir/app.cpp.o
[32/38] Building CXX object src/CMakeFiles/kshisen.dir/debug.cpp.o
: 省略

/builddir/@kshisen-25.08.1/src/board.cpp:1791:39: warning: ISO C++11 requires at least one argument for the "..." in a variadic macro
 1791 |             qCCritical(KSHISEN_General) << errMessage;
      |                                       ^
[38/38] Linking CXX executable bin/kshisen
=> @kshisen-25.08.1_1: skipping check (XBPS_CHECK_PKGS is disabled) ...
=> @kshisen-25.08.1_1: running pre-install hook: 00-libdir ...
=> @kshisen-25.08.1_1: running pre-install hook: 02-script-wrapper ...
=> @kshisen-25.08.1_1: running pre-install hook: 98-fixup-gir-path ...
=> @kshisen-25.08.1_1: running do_install ...
[1/3] Generating ts...
[2/3] Generating mo...
[2/3] Install the project...
-- Install configuration: "None"
-- Installing: /destdir/@kshisen-25.08.1/usr/bin/kshisen
-- Installing: /destdir/@kshisen-25.08.1/usr/share/config.kcfg/kshisen.kcfg
-- Installing: /destdir/@kshisen-25.08.1/usr/share/qlogging-categories6/kshisen.categories
-- Installing: /destdir/@kshisen-25.08.1/usr/share/icons/hicolor/128x128/apps/kshisen.png
-- Installing: /destdir/@kshisen-25.08.1/usr/share/icons/hicolor/64x64/apps/kshisen.png
-- Installing: /destdir/@kshisen-25.08.1/usr/share/icons/hicolor/48x48/apps/kshisen.png
-- Installing: /destdir/@kshisen-25.08.1/usr/share/icons/hicolor/32x32/apps/kshisen.png
-- Installing: /destdir/@kshisen-25.08.1/usr/share/icons/hicolor/22x22/apps/kshisen.png
-- Installing: /destdir/@kshisen-25.08.1/usr/share/icons/hicolor/16x16/apps/kshisen.png
-- Installing: /destdir/@kshisen-25.08.1/usr/share/sounds/kshisen/tile-fall-tile.ogg
-- Installing: /destdir/@kshisen-25.08.1/usr/share/sounds/kshisen/tile-touch.ogg
-- Installing: /destdir/@kshisen-25.08.1/usr/share/doc/HTML/en/kshisen/index.cache.bz2
-- Installing: /destdir/@kshisen-25.08.1/usr/share/doc/HTML/en/kshisen/index.docbook
-- Installing: /destdir/@kshisen-25.08.1/usr/share/doc/HTML/en/kshisen/gameboard.png
-- Installing: /destdir/@kshisen-25.08.1/usr/share/doc/HTML/en/kshisen/kshisen-configuration.png
-- Installing: /destdir/@kshisen-25.08.1/usr/share/applications/org.kde.kshisen.desktop
-- Installing: /destdir/@kshisen-25.08.1/usr/share/metainfo/org.kde.kshisen.appdata.xml
-- Installing: /destdir/@kshisen-25.08.1/usr/share/locale
-- Installing: /destdir/@kshisen-25.08.1/usr/share/locale/es
-- Installing: /destdir/@kshisen-25.08.1/usr/share/locale/es/LC_MESSAGES
-- Installing: /destdir/@kshisen-25.08.1/usr/share/locale/es/LC_MESSAGES/kshisen.mo
-- Installing: /destdir/@kshisen-25.08.1/usr/share/locale/ru
-- Installing: /destdir/@kshisen-25.08.1/usr/share/locale/ru/LC_MESSAGES
-- Installing: /destdir/@kshisen-25.08.1/usr/share/locale/ru/LC_MESSAGES/kshisen.mo
-- Installing: /destdir/@kshisen-25.08.1/usr/share/locale/pt_BR
-- Installing: /destdir/@kshisen-25.08.1/usr/share/locale/pt_BR/LC_MESSAGES
-- Installing: /destdir/@kshisen-25.08.1/usr/share/locale/pt_BR/LC_MESSAGES/kshisen.mo
-- Installing: /destdir/@kshisen-25.08.1/usr/share/locale/eo
-- Installing: /destdir/@kshisen-25.08.1/usr/share/locale/eo/LC_MESSAGES
-- Installing: /destdir/@kshisen-25.08.1/usr/share/locale/eo/LC_MESSAGES/kshisen.mo
-- Installing: /destdir/@kshisen-25.08.1/usr/share/locale/bg
-- Installing: /destdir/@kshisen-25.08.1/usr/share/locale/bg/LC_MESSAGES
-- Installing: /destdir/@kshisen-25.08.1/usr/share/locale/bg/LC_MESSAGES/kshisen.mo
-- Installing: /destdir/@kshisen-25.08.1/usr/share/locale/ja
-- Installing: /destdir/@kshisen-25.08.1/usr/share/locale/ja/LC_MESSAGES
-- Installing: /destdir/@kshisen-25.08.1/usr/share/locale/ja/LC_MESSAGES/kshisen.mo
: 省略

-- Installing: /destdir/@kshisen-25.08.1/usr/share/locale/sa
-- Installing: /destdir/@kshisen-25.08.1/usr/share/locale/sa/LC_MESSAGES
-- Installing: /destdir/@kshisen-25.08.1/usr/share/locale/sa/LC_MESSAGES/kshisen.mo
-- Installing: /destdir/@kshisen-25.08.1/usr/share/doc/HTML/ca/kshisen/index.cache.bz2
: 省略 

-- Installing: /destdir/@kshisen-25.08.1/usr/share/doc/HTML/ja/kshisen/index.cache.bz2
-- Installing: /destdir/@kshisen-25.08.1/usr/share/doc/HTML/ja/kshisen/index.docbook
-- Installing: /destdir/@kshisen-25.08.1/usr/share/doc/HTML/ja/kshisen/kshisen-configuration.png
-- Installing: /destdir/@kshisen-25.08.1/usr/share/doc/HTML/nl/kshisen/index.cache.bz2
-- Installing: /destdir/@kshisen-25.08.1/usr/share/doc/HTML/nl/kshisen/index.docbook
-- Installing: /destdir/@kshisen-25.08.1/usr/share/doc/HTML/pl/kshisen/index.cache.bz2
-- Installing: /destdir/@kshisen-25.08.1/usr/share/doc/HTML/pl/kshisen/index.docbook
-- Installing: /destdir/@kshisen-25.08.1/usr/share/doc/HTML/pl/kshisen/kshisen-configuration.png
-- Installing: /destdir/@kshisen-25.08.1/usr/share/doc/HTML/pt/kshisen/index.cache.bz2
-- Installing: /destdir/@kshisen-25.08.1/usr/share/doc/HTML/pt/kshisen/index.docbook
-- Installing: /destdir/@kshisen-25.08.1/usr/share/doc/HTML/pt_BR/kshisen/index.cache.bz2
-- Installing: /destdir/@kshisen-25.08.1/usr/share/doc/HTML/pt_BR/kshisen/index.docbook
-- Installing: /destdir/@kshisen-25.08.1/usr/share/doc/HTML/ru/kshisen/index.cache.bz2
-- Installing: /destdir/@kshisen-25.08.1/usr/share/doc/HTML/ru/kshisen/index.docbook
-- Installing: /destdir/@kshisen-25.08.1/usr/share/doc/HTML/sl/kshisen/index.cache.bz2
-- Installing: /destdir/@kshisen-25.08.1/usr/share/doc/HTML/sl/kshisen/index.docbook
-- Installing: /destdir/@kshisen-25.08.1/usr/share/doc/HTML/sv/kshisen/index.cache.bz2
-- Installing: /destdir/@kshisen-25.08.1/usr/share/doc/HTML/sv/kshisen/index.docbook
-- Installing: /destdir/@kshisen-25.08.1/usr/share/doc/HTML/sv/kshisen/kshisen-configuration.png
-- Installing: /destdir/@kshisen-25.08.1/usr/share/doc/HTML/uk/kshisen/index.cache.bz2
-- Installing: /destdir/@kshisen-25.08.1/usr/share/doc/HTML/uk/kshisen/index.docbook
-- Installing: /destdir/@kshisen-25.08.1/usr/share/doc/HTML/uk/kshisen/gameboard.png
-- Installing: /destdir/@kshisen-25.08.1/usr/share/doc/HTML/uk/kshisen/kshisen-configuration.png
=> @kshisen-25.08.1_1: running post-install hook: 00-compress-info-files ...
=> @kshisen-25.08.1_1: running post-install hook: 00-fixup-gir-path ...
=> @kshisen-25.08.1_1: running post-install hook: 00-libdir ...
=> @kshisen-25.08.1_1: running post-install hook: 00-uncompress-manpages ...
=> @kshisen-25.08.1_1: running post-install hook: 01-remove-misc ...
=> @kshisen-25.08.1_1: running post-install hook: 02-remove-libtool-archives ...
=> @kshisen-25.08.1_1: running post-install hook: 02-remove-perl-files ...
=> @kshisen-25.08.1_1: running post-install hook: 02-remove-python-bytecode-files ...
=> @kshisen-25.08.1_1: running post-install hook: 03-remove-empty-dirs ...
=> WARNING: @kshisen-25.08.1_1: removed empty dir: /usr/lib
=> @kshisen-25.08.1_1: running post-install hook: 04-create-xbps-metadata-scripts ...
   Added trigger 'gtk-icon-cache' for the 'INSTALL' script.
   Added trigger 'update-desktopdb' for the 'INSTALL' script.
   Added trigger 'gtk-icon-cache' for the 'REMOVE' script.
   Added trigger 'update-desktopdb' for the 'REMOVE' script.
=> @kshisen-25.08.1_1: running post-install hook: 05-generate-gitrevs ...
=> @kshisen-25.08.1_1: running post-install hook: 06-strip-and-debug-pkgs ...
   Stripped position-independent executable: /usr/bin/kshisen
=> @kshisen-25.08.1_1: running post-install hook: 10-pkglint-devel-paths ...
=> @kshisen-25.08.1_1: running post-install hook: 11-pkglint-elf-in-usrshare ...
=> @kshisen-25.08.1_1: running post-install hook: 12-rename-python3-c-bindings ...
=> @kshisen-25.08.1_1: running post-install hook: 13-pkg-config-clean-xbps-cross-base-ref ...
=> @kshisen-25.08.1_1: running post-install hook: 14-fix-permissions ...
mode of '/destdir/@kshisen-25.08.1/usr/share/applications/org.kde.kshisen.desktop' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--)
=> @kshisen-25.08.1_1: running post-install hook: 15-qt-private-api ...
=> @kshisen-25.08.1_1: running post-install hook: 80-prepare-32bit ...
=> @kshisen-25.08.1_1: running post-install hook: 98-shlib-provides ...
=> @kshisen-25.08.1_1: running post-install hook: 99-pkglint-warn-cross-cruft ...
=> @kshisen-25.08.1_1: running pre-pkg hook: 03-rewrite-python-shebang ...
=> @kshisen-25.08.1_1: running pre-pkg hook: 04-generate-provides ...
   cmd:kshisen-25.08.1_1
=> @kshisen-25.08.1_1: running pre-pkg hook: 04-generate-runtime-deps ...
   SONAME: libKDEGames6.so.6 <-> libkdegames>=24.02.0_1
   SONAME: libKF6ConfigCore.so.6 <-> kf6-kconfig>=6.19.0_1
   SONAME: libKF6ConfigGui.so.6 <-> kf6-kconfig>=6.19.0_1
   SONAME: libKF6ConfigWidgets.so.6 <-> kf6-kconfigwidgets>=6.19.0_1
   SONAME: libKF6CoreAddons.so.6 <-> kf6-kcoreaddons>=6.19.0_1
   SONAME: libKF6Crash.so.6 <-> kf6-kcrash>=6.19.0_1
   SONAME: libKF6DBusAddons.so.6 <-> kf6-kdbusaddons>=6.19.0_1
   SONAME: libKF6I18n.so.6 <-> kf6-ki18n>=6.19.0_1
   SONAME: libKF6IconThemes.so.6 <-> kf6-kiconthemes>=6.19.0_1
   SONAME: libKF6WidgetsAddons.so.6 <-> kf6-kwidgetsaddons>=6.19.0_1
   SONAME: libKF6XmlGui.so.6 <-> kf6-kxmlgui>=6.19.0_1
   SONAME: libKMahjongg6.so.6 <-> libkmahjongg>=24.08.2_1
   SONAME: libQt6Core.so.6 <-> qt6-core>=6.10.0_1
   SONAME: libQt6Gui.so.6 <-> qt6-gui>=6.10.0_1
   SONAME: libQt6Widgets.so.6 <-> qt6-widgets>=6.10.0_1
   SONAME: libc.so.6 <-> glibc>=2.41_1
   SONAME: libm.so.6 <-> glibc>=2.41_1
   SONAME: libstdc++.so.6 <-> libstdc++>=4.4.0_1
=> @kshisen-25.08.1_1: running pre-pkg hook: 05-generate-32bit-runtime-deps ...
=> @kshisen-25.08.1_1: running pre-pkg hook: 06-verify-python-deps ...
=> @kshisen-25.08.1_1: running pre-pkg hook: 90-set-timestamps ...
=> @kshisen-25.08.1_1: setting mtimes to Fri Nov 14 08:37:17 AM UTC 2025
=> @kshisen-25.08.1_1: running pre-pkg hook: 99-pkglint-subpkgs ...
=> @kshisen-25.08.1_1: running pre-pkg hook: 99-pkglint ...
=> @kshisen-25.08.1_1: running pre-pkg hook: 999-collected-rdeps ...
   libkdegames>=24.02.0_1 kf6-kconfig>=6.19.0_1 kf6-kconfigwidgets>=6.19.0_1 kf6-kcoreaddons>=6.19.0_1 kf6-kcrash>=6.19.0_1 kf6-kdbusaddons>=6.19.0_1 kf6-ki18n>=6.19.0_1 kf6-kiconthemes>=6.19.0_1 kf6-kwidgetsaddons>=6.19.0_1 kf6-kxmlgui>=6.19.0_1 libkmahjongg>=24.08.2_1 qt6-core>=6.10.0_1 qt6-gui>=6.10.0_1 qt6-widgets>=6.10.0_1 glibc>=2.41_1 libstdc++>=4.4.0_1 
=> @kshisen-25.08.1_1: running do-pkg hook: 00-gen-pkg ...
=> Creating @kshisen-25.08.1_1.x86_64.xbps for repository /host/binpkgs ...
=> @kshisen-25.08.1_1: running post-pkg hook: 00-register-pkg ...
=> Registering new packages to /host/binpkgs
index: added `@kshisen-25.08.1_1' (x86_64).
index: 3 packages registered.
=> @kshisen-25.08.1_1: removing autodeps, please wait...
=> @kshisen-25.08.1_1: cleaning build directory...
=> @kshisen: removing files from destdir...
[user@user-pc void-packages]$ 

→正常に終了:

-


3). すでに Flatpak でインストールしている「kshisen」アプリがある場合は削除:

-

(1). 削除:
$ flatpak uninstall org.kde.kshisen
:
bash: flatpak: command not found

→「flatpak」はインストールしていません:

-

(2). 確認:
$ flatpak list | grep org.kde.kshisen
:
bash: flatpak: command not found

→「flatpak」はインストールしていません:

-


4). すでにインストールしている「kshisen」アプリがある場合は削除:

-

(1). 削除:
$ sudo xbps-remove kshisen
:
Package `kshisen' is not currently installed.

-

(2). 確認:
$ xbps-query -Rs kshisen
$

-

(3). 削除:
$ sudo xbps-remove @kshisen
:
Name     Action    Version           New version            Download size
@kshisen remove    25.08.1_1         -                      - 

-


5). 今回、パッケージ化された「@kshisen」アプリをインストール:

$ sudo xbps-install --repository hostdir/binpkgs @kshisen

もしくは、

$ cd ~/git/void-packages/
$ xi @kshisen
:
24 packages will be installed:
  kf6-karchive-6.19.0_1 kf6-kconfig-6.19.0_2 
  kf6-kguiaddons-geo-uri-handler-6.19.0_1 kf6-kguiaddons-6.19.0_1 
  kf6-ki18n-6.19.0_1 kf6-kcolorscheme-6.19.0_1 kf6-kcodecs-6.19.0_1 
  kf6-kcompletion-6.19.0_1 kf6-kcoreaddons-6.19.0_1 
  kf6-kconfigwidgets-6.19.0_1 kf6-kdnssd-6.19.0_1 kf6-attica-6.19.0_1 
  kf6-kpackage-6.19.0_1 kf6-syndication-6.19.0_1 kf6-knewstuff-6.19.0_1 
  kf6-kglobalaccel-6.19.0_1 libbreeze-icons-6.19.0_1 
  kf6-kiconthemes-6.19.0_1 kf6-kxmlgui-6.19.0_1 libkdegames-25.08.3_1 
  kf6-kcrash-6.19.0_1 kf6-kdbusaddons-6.19.0_1 libkmahjongg-25.08.3_1 
  @kshisen-25.08.1_1 

-

確認:

$ xbps-query -s kshisen
:
[*] @kshisen-25.08.1_1 Shisen-Sho is a solitaire-like game

-


6). 「kshisen」アプリを起動して、動作確認:

「アプリケーション」→「ゲーム」→「Shisen-Sho 四川省

→起動メニューが日本語化されています:

-

実行時の画面:

2回以内の折れで、同じパイを消して行きます。パイが無くなると重力で落ちます。

-

-


- --- - --- - --- - --- - --- - --- - --- ----- ----- ----- -

5. 参考: 「qpdfview」アプリの「パッケージ化」にてエラー:

-

テンプレートが存在するので、以前は正常にビルドされたはずです:

残念ながら、現在、「パッケージ化」にて、qmake でエラーします:

-

Qt6 関連の更新の影響?:

「項番 4.」は「cmake」で解決されましたが、こちらは「qmake」です:

「qmake」にも何かしらの不具合がある可能性があるかも:

-

追記:

2025-12-04

「qmake」でエラーする原因が判明しました:

参考:

Qt 6 におけるビルドシステムの変更 より抜粋:

-

Qt 5 のビルドシステムは「qmake」ですが、Qt 6 では、ビルドシステムを(将来も使えるように)「CMake」に移行しました:

アプリ本体のビルドはまだ「qmake」で出来ますが、カスタムの「Qt プラグイン」や Qt 5 ビルドシステムの内部に依存する「ライブラリ」は、Qt 6 で使用するために「CMake」に移植する必要があるようです。

-

「qpdfview」アプリは「Qt プラグイン」でエラーしています:

残念ながら、「qpdfview」アプリはビルドシステムを「CMake」に移行しないとエラーは解消しないようです:

-

参考:

「qmake2cmake」ツールの紹介

→「qmake」の .pro ファイル から「CMake」の CMakeLists.txt への(基本的な部分のみの)変換を行います。

 大まかな変換なので、動くようにするには手作業で修正が必要です:

-

「qt5-qmake」の qt6 版である「qt6-qmake」パッケージはサポートされていません:
$ xbps-query -Rs qmake
:
[-] qt5-qmake-5.15.11+20231124_6 Cross-platform application and UI framework...

→「qmake」が使えなくなるので、qt6 アプリは「cmake」でビルドすることになります:

また、qt5 アプリをビルドし直す場合は、ビルドできるアプリと、ビルドで失敗するアプリがありそうです。

-

-


- --- - --- - --- - --- - --- - --- - --- ----- ----- ----- --

5-1. 「qpdfview」アプリを、ソースに手を加えずに「パッケージ化」して確認:

-

日々の更新により依存関係が崩れ、(ある日)ビルドできなくなる場合があります:

ソースに手を加える前に、ビルドしてパッケージ化できるか確認しました:

-


1). ビルド環境に移動:

$ cd ~/git/void-packages/

-


2). 登録されている「パッケージ名」を確認:

$ ls -1 srcpkgs/ | grep pdfv
:
epdfview
qpdfview

→「qpdfview」です:

-


3). ファイル構成を確認:

$ cd ~/git/void-packages/
$ tree srcpkgs/qpdfview/
:
srcpkgs/qpdfview/
├── patches
│   └── qt5-5.15.0.patch
├── template
└── update

2 directories, 3 files

→パッチと「update」があります:

-


4). ファイルの内容を確認:

-

(1). 「template」の確認:
$ cd ~/git/void-packages/
$ cat srcpkgs/qpdfview/template
# Template file for 'qpdfview'
pkgname=qpdfview
version=0.5.0
revision=1
build_style=qmake
configure_args="qpdfview.pro 
without_ps without_cups without_synctex without_dbus without_signals"
hostmakedepends="pkg-config qt5-host-tools qt5-qmake"
makedepends="cups-devel djvulibre-devel file-devel libspectre-devel
 poppler-qt5-devel qt5-svg-devel qt5-tools-devel"
depends="desktop-file-utils hicolor-icon-theme qt5-plugin-sqlite qt5-svg"
short_desc="Tabbed document viewer"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://launchpad.net/qpdfview"
distfiles="https://launchpad.net/qpdfview/trunk/${version}/+download/qpdfview-0.5.tar.gz"
checksum=44efc440a461cbdd757a9b396f1461ee7a2f4364e81df55bd0221f910219be99

pre_configure() {
    lrelease qpdfview.pro
}

-

(2). 「patch」の確認:
$ cat srcpkgs/qpdfview/patches/qt5-5.15.0.patch
--- a/sources/model.h    2019-07-24 21:18:33.000000000 +0200
+++ b/sources/model.h   2020-07-28 17:11:17.441765416 +0200
@@ -27,6 +27,7 @@
 #include <QtPlugin>
 #include <QWidget>
 #include <QVector>
+#include <QPainterPath>
 
 class QAbstractItemModel;
 class QColor;

→「model.h」ファイルに、1行追加されています:

-

参考:

現在のソースを確認:

-

ソースファイルを展開:

$ cd ~/git/void-packages/
$ ./xbps-src clean qpdfview
$ ./xbps-src fetch qpdfview
$ ./xbps-src extract qpdfview

-

ソースの確認:

$ ls ~/git/void-packages/masterdir-x86_64/
:
bin       destdir  home  lib32  mnt   root  sys  var
boot      dev      host  lib64  opt   run   tmp  void-packages
builddir  etc      lib   media  proc  sbin  usr

→「builddir」配下にソースは展開されます:

-

該当するファイルの先頭行から 33行を表示:

$ cd ~/git/void-packages/masterdir-x86_64/builddir/qpdfview-0.5.0/
$ head -n 33 sources/model.h
/*

Copyright 2014 S. Razi Alavizadeh
Copyright 2013-2014 Adam Reichold

This file is part of qpdfview.

qpdfview is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.

qpdfview is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with qpdfview.  If not, see <http://www.gnu.org/licenses/>.

*/

#ifndef DOCUMENTMODEL_H
#define DOCUMENTMODEL_H

#include <QList>
#include <QPainterPath>  ←(該当する行)
#include <QtPlugin>
#include <QWidget>
#include <QVector>

class QAbstractItemModel;
class QColor;

→前後の行の文字列が異なるので、パッチは当たりませんが、

すでに該当行は存在するので「パッチ」は要りません:

たぶん、テンプレートの更新時の漏れ(昔の残がい)です:

-

(3). 「update」の確認:
$ cat srcpkgs/qpdfview/update
ignore="*beta*"

→「beta」が含まれたファイル名は対象外?:

こちらも要らないような気がします:

-


4). パッケージ化:

$ cd ~/git/void-packages/
$ ./xbps-src pkg qpdfview
=> xbps-src: updating repositories for host (x86_64)...
[*] Updating repository `https://repo-default.voidlinux.org/current/bootstrap/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/nonfree/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/debug/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/bootstrap/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/nonfree/x86_64-repodata' ...
=> xbps-src: updating software in / masterdir...
=> xbps-src: cleaning up / masterdir...
=> qpdfview-0.5.0_1: removing autodeps, please wait...
=> qpdfview-0.5.0_1: building with [qmake] for x86_64...
   [host] pkg-config-0.29.2_3: found (https://repo-default.voidlinux.org/current)
   [host] qt5-host-tools-5.15.11+20231124_6: found (https://repo-default.voidlinux.org/current)
   [host] qt5-qmake-5.15.11+20231124_6: found (https://repo-default.voidlinux.org/current)
   [target] cups-devel-2.4.13_1: found (https://repo-default.voidlinux.org/current)
   [target] djvulibre-devel-3.5.29_1: found (https://repo-default.voidlinux.org/current)
   [target] file-devel-5.46_2: found (https://repo-default.voidlinux.org/current)
   [target] libspectre-devel-0.2.12_1: found (https://repo-default.voidlinux.org/current)
   [target] poppler-qt5-devel-25.11.0_1: found (https://repo-default.voidlinux.org/current)
   [target] qt5-svg-devel-5.15.11+20231124_6: found (https://repo-default.voidlinux.org/current)
   [target] qt5-tools-devel-5.15.11+20231124_6: found (https://repo-default.voidlinux.org/current)
   [runtime] desktop-file-utils-0.28_1: found (https://repo-default.voidlinux.org/current)
   [runtime] hicolor-icon-theme-0.18_1: found (https://repo-default.voidlinux.org/current)
   [runtime] qt5-plugin-sqlite-5.15.11+20231124_6: found (https://repo-default.voidlinux.org/current)
   [runtime] qt5-svg-5.15.11+20231124_6: found (https://repo-default.voidlinux.org/current)
=> qpdfview-0.5.0_1: installing host dependencies: pkg-config-0.29.2_3 qt5-host-tools-5.15.11+20231124_6 qt5-qmake-5.15.11+20231124_6 ...
=> qpdfview-0.5.0_1: installing target dependencies: cups-devel-2.4.13_1 djvulibre-devel-3.5.29_1 file-devel-5.46_2 libspectre-devel-0.2.12_1 poppler-qt5-devel-25.11.0_1 qt5-svg-devel-5.15.11+20231124_6 qt5-tools-devel-5.15.11+20231124_6 ...

→時間がかかりました:

:
make[1]: *** [Makefile.pdf-plugin:460: objects-pdf/formfieldwidgets.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile.pdf-plugin:454: objects-pdf/pdfmodel.o] Error 1
make[1]: Leaving directory '/builddir/qpdfview-0.5.0'
make: *** [Makefile:48: sub-pdf-plugin-pro-make_first-ordered] Error 2

赤色のエラーが表示:

=> ERROR: qpdfview-0.5.0_1: do_build: '${make_cmd} ${makejobs} ${make_build_args} ${make_build_target} CC="$CC" CXX="$CXX" LINK="$CXX"' exited with 2
=> ERROR:   in do_build() at common/build-style/qmake.sh:145
[user@user-pc void-packages]$ 

→以前はビルドできたはずですが、エラーが出ました:

-

いつからビルドできなくなったかは不明:

-

-


- --- - --- - --- - --- - --- - --- - --- ----- ----- ----- ---

5-2. 「qpdfview」のビルド時のエラーメッセージ:

-

たぶん、手がかりはメッセージですが、 メッセージ行が多すぎるので、項番を分けました:

-

$ cd ~/git/void-packages/
$ ./xbps-src pkg qpdfview
=> xbps-src: updating repositories for host (x86_64)...
[*] Updating repository `https://repo-default.voidlinux.org/current/bootstrap/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/nonfree/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/debug/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/bootstrap/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/nonfree/x86_64-repodata' ...
=> xbps-src: updating software in / masterdir...
=> xbps-src: cleaning up / masterdir...
=> qpdfview-0.5.0_1: removing autodeps, please wait...
=> qpdfview-0.5.0_1: building with [qmake] for x86_64...
   [host] pkg-config-0.29.2_3: found (https://repo-default.voidlinux.org/current)
   [host] qt5-host-tools-5.15.11+20231124_6: found (https://repo-default.voidlinux.org/current)
   [host] qt5-qmake-5.15.11+20231124_6: found (https://repo-default.voidlinux.org/current)
   [target] cups-devel-2.4.13_1: found (https://repo-default.voidlinux.org/current)
   [target] djvulibre-devel-3.5.29_1: found (https://repo-default.voidlinux.org/current)
   [target] file-devel-5.46_2: found (https://repo-default.voidlinux.org/current)
   [target] libspectre-devel-0.2.12_1: found (https://repo-default.voidlinux.org/current)
   [target] poppler-qt5-devel-25.11.0_1: found (https://repo-default.voidlinux.org/current)
   [target] qt5-svg-devel-5.15.11+20231124_6: found (https://repo-default.voidlinux.org/current)
   [target] qt5-tools-devel-5.15.11+20231124_6: found (https://repo-default.voidlinux.org/current)
   [runtime] desktop-file-utils-0.28_1: found (https://repo-default.voidlinux.org/current)
   [runtime] hicolor-icon-theme-0.18_1: found (https://repo-default.voidlinux.org/current)
   [runtime] qt5-plugin-sqlite-5.15.11+20231124_6: found (https://repo-default.voidlinux.org/current)
   [runtime] qt5-svg-5.15.11+20231124_6: found (https://repo-default.voidlinux.org/current)
=> qpdfview-0.5.0_1: installing host dependencies: pkg-config-0.29.2_3 qt5-host-tools-5.15.11+20231124_6 qt5-qmake-5.15.11+20231124_6 ...
=> qpdfview-0.5.0_1: installing target dependencies: cups-devel-2.4.13_1 djvulibre-devel-3.5.29_1 file-devel-5.46_2 libspectre-devel-0.2.12_1 poppler-qt5-devel-25.11.0_1 qt5-svg-devel-5.15.11+20231124_6 qt5-tools-devel-5.15.11+20231124_6 ...
=> qpdfview-0.5.0_1: running do-patch hook: 00-patches ...
=> qpdfview-0.5.0_1: patching: qt5-5.15.0.patch.
=> qpdfview-0.5.0_1: running pre-configure hook: 00-gnu-configure-asneeded ...
=> qpdfview-0.5.0_1: running pre-configure hook: 01-override-config ...
=> qpdfview-0.5.0_1: running pre-configure hook: 02-script-wrapper ...
=> qpdfview-0.5.0_1: running pre_configure ...
Info: creating stash file /builddir/qpdfview-0.5.0/.qmake.stash
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_af.qm'...
    Generated 374 translation(s) (374 finished and 0 unfinished)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_ast.qm'...
    Generated 273 translation(s) (269 finished and 4 unfinished)
    Ignored 102 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_az.qm'...
    Generated 267 translation(s) (263 finished and 4 unfinished)
    Ignored 108 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_be.qm'...
    Generated 11 translation(s) (11 finished and 0 unfinished)
    Ignored 364 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_ber.qm'...
    Generated 18 translation(s) (15 finished and 3 unfinished)
    Ignored 357 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_bg.qm'...
    Generated 244 translation(s) (240 finished and 4 unfinished)
    Ignored 131 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_bs.qm'...
    Generated 159 translation(s) (149 finished and 10 unfinished)
    Ignored 216 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_ca.qm'...
    Generated 374 translation(s) (374 finished and 0 unfinished)
    Ignored 1 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_cs.qm'...
    Generated 374 translation(s) (374 finished and 0 unfinished)
    Ignored 1 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_da.qm'...
    Generated 369 translation(s) (369 finished and 0 unfinished)
    Ignored 6 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_de.qm'...
    Generated 369 translation(s) (369 finished and 0 unfinished)
    Ignored 6 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_el.qm'...
    Generated 125 translation(s) (120 finished and 5 unfinished)
    Ignored 250 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_en_AU.qm'...
    Generated 49 translation(s) (40 finished and 9 unfinished)
    Ignored 326 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_en_GB.qm'...
    Generated 374 translation(s) (374 finished and 0 unfinished)
    Ignored 1 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_eo.qm'...
    Generated 162 translation(s) (152 finished and 10 unfinished)
    Ignored 213 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_es.qm'...
    Generated 374 translation(s) (374 finished and 0 unfinished)
    Ignored 1 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_eu.qm'...
    Generated 141 translation(s) (131 finished and 10 unfinished)
    Ignored 234 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_fa.qm'...
    Generated 176 translation(s) (176 finished and 0 unfinished)
    Ignored 199 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_fi.qm'...
    Generated 234 translation(s) (225 finished and 9 unfinished)
    Ignored 141 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_fr.qm'...
    Generated 369 translation(s) (369 finished and 0 unfinished)
    Ignored 6 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_gl.qm'...
    Generated 319 translation(s) (315 finished and 4 unfinished)
    Ignored 56 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_he.qm'...
    Generated 232 translation(s) (228 finished and 4 unfinished)
    Ignored 143 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_hi.qm'...
    Generated 4 translation(s) (4 finished and 0 unfinished)
    Ignored 371 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_hr.qm'...
    Generated 252 translation(s) (244 finished and 8 unfinished)
    Ignored 123 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_hu.qm'...
    Generated 231 translation(s) (227 finished and 4 unfinished)
    Ignored 144 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_id.qm'...
    Generated 189 translation(s) (188 finished and 1 unfinished)
    Ignored 186 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_it.qm'...
    Generated 333 translation(s) (329 finished and 4 unfinished)
    Ignored 42 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_ja.qm'...
    Generated 374 translation(s) (374 finished and 0 unfinished)
    Ignored 1 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_kk.qm'...
    Generated 264 translation(s) (259 finished and 5 unfinished)
    Ignored 111 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_ko.qm'...
    Generated 369 translation(s) (369 finished and 0 unfinished)
    Ignored 6 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_ku.qm'...
    Generated 89 translation(s) (88 finished and 1 unfinished)
    Ignored 286 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_ky.qm'...
    Generated 42 translation(s) (33 finished and 9 unfinished)
    Ignored 333 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_lt.qm'...
    Generated 369 translation(s) (369 finished and 0 unfinished)
    Ignored 6 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_lv.qm'...
    Generated 15 translation(s) (10 finished and 5 unfinished)
    Ignored 360 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_ms.qm'...
    Generated 347 translation(s) (344 finished and 3 unfinished)
    Ignored 28 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_my.qm'...
    Generated 116 translation(s) (106 finished and 10 unfinished)
    Ignored 259 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_nb.qm'...
    Generated 369 translation(s) (369 finished and 0 unfinished)
    Ignored 6 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_nds.qm'...
    Generated 2 translation(s) (2 finished and 0 unfinished)
    Ignored 373 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_oc.qm'...
    Generated 253 translation(s) (252 finished and 1 unfinished)
    Ignored 122 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_pl.qm'...
    Generated 374 translation(s) (374 finished and 0 unfinished)
    Ignored 1 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_pt.qm'...
    Generated 374 translation(s) (374 finished and 0 unfinished)
    Ignored 1 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_pt_BR.qm'...
    Generated 374 translation(s) (374 finished and 0 unfinished)
    Ignored 1 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_ro.qm'...
    Generated 272 translation(s) (269 finished and 3 unfinished)
    Ignored 103 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_ru.qm'...
    Generated 373 translation(s) (373 finished and 0 unfinished)
    Ignored 2 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_rue.qm'...
    Generated 52 translation(s) (52 finished and 0 unfinished)
    Ignored 322 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_sk.qm'...
    Generated 374 translation(s) (374 finished and 0 unfinished)
    Ignored 1 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_sr.qm'...
    Generated 369 translation(s) (369 finished and 0 unfinished)
    Ignored 6 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_sv.qm'...
    Generated 359 translation(s) (358 finished and 1 unfinished)
    Ignored 16 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_th.qm'...
    Generated 25 translation(s) (22 finished and 3 unfinished)
    Ignored 350 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_tr.qm'...
    Generated 374 translation(s) (374 finished and 0 unfinished)
    Ignored 1 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_ug.qm'...
    Generated 128 translation(s) (118 finished and 10 unfinished)
    Ignored 247 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_uk.qm'...
    Generated 369 translation(s) (369 finished and 0 unfinished)
    Ignored 6 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_uz.qm'...
    Generated 4 translation(s) (3 finished and 1 unfinished)
    Ignored 371 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_vi.qm'...
    Generated 274 translation(s) (269 finished and 5 unfinished)
    Ignored 101 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_zgh.qm'...
    Generated 25 translation(s) (23 finished and 2 unfinished)
    Ignored 350 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_zh_CN.qm'...
    Generated 374 translation(s) (374 finished and 0 unfinished)
    Ignored 1 untranslated source text(s)
Updating '/builddir/qpdfview-0.5.0/translations/qpdfview_zh_TW.qm'...
    Generated 252 translation(s) (251 finished and 1 unfinished)
    Ignored 123 untranslated source text(s)
=> qpdfview-0.5.0_1: running do_configure ...
Info: creating stash file /builddir/qpdfview-0.5.0/.qmake.stash
=> qpdfview-0.5.0_1: running pre-build hook: 02-script-wrapper ...
=> qpdfview-0.5.0_1: running do_build ...
( test -e Makefile.pdf-plugin || /usr/lib/qt5/bin/qmake -o Makefile.pdf-plugin /builddir/qpdfview-0.5.0/pdf-plugin.pro PREFIX=/usr QT_INSTALL_PREFIX=/usr LIB=/usr/lib QMAKE_CC=cc QMAKE_CXX=g++ QMAKE_LINK=g++ QMAKE_LINK_C=cc 'QMAKE_CFLAGS=-fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/qpdfview-0.5.0=.' 'QMAKE_CXXFLAGS=-fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/qpdfview-0.5.0=.' 'QMAKE_LFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed    ' CONFIG+=no_qt_rpath ) && make -f Makefile.pdf-plugin 
make[1]: Entering directory '/builddir/qpdfview-0.5.0'
g++ -c -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/qpdfview-0.5.0=. -O2 -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DHAS_POPPLER_14 -DHAS_POPPLER_18 -DHAS_POPPLER_20 -DHAS_POPPLER_22 -DHAS_POPPLER_24 -DHAS_POPPLER_26 -DHAS_POPPLER_31 -DHAS_POPPLER_35 -DHAS_POPPLER_74 -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I/usr/include/poppler/qt5 -I/usr/include/poppler -I/usr/include/freetype2 -I/usr/include/nss -I/usr/include/nspr -I/usr/include/openjpeg-2.5 -I/usr/include/libpng16 -I/usr/include/webp -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Imoc-pdf -I/usr/lib/qt5/mkspecs/linux-g++ -o objects-pdf/pdfmodel.o sources/pdfmodel.cpp
g++ -c -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/qpdfview-0.5.0=. -O2 -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DHAS_POPPLER_14 -DHAS_POPPLER_18 -DHAS_POPPLER_20 -DHAS_POPPLER_22 -DHAS_POPPLER_24 -DHAS_POPPLER_26 -DHAS_POPPLER_31 -DHAS_POPPLER_35 -DHAS_POPPLER_74 -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I/usr/include/poppler/qt5 -I/usr/include/poppler -I/usr/include/freetype2 -I/usr/include/nss -I/usr/include/nspr -I/usr/include/openjpeg-2.5 -I/usr/include/libpng16 -I/usr/include/webp -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Imoc-pdf -I/usr/lib/qt5/mkspecs/linux-g++ -o objects-pdf/annotationwidgets.o sources/annotationwidgets.cpp
g++ -c -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/qpdfview-0.5.0=. -O2 -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DHAS_POPPLER_14 -DHAS_POPPLER_18 -DHAS_POPPLER_20 -DHAS_POPPLER_22 -DHAS_POPPLER_24 -DHAS_POPPLER_26 -DHAS_POPPLER_31 -DHAS_POPPLER_35 -DHAS_POPPLER_74 -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I/usr/include/poppler/qt5 -I/usr/include/poppler -I/usr/include/freetype2 -I/usr/include/nss -I/usr/include/nspr -I/usr/include/openjpeg-2.5 -I/usr/include/libpng16 -I/usr/include/webp -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Imoc-pdf -I/usr/lib/qt5/mkspecs/linux-g++ -o objects-pdf/formfieldwidgets.o sources/formfieldwidgets.cpp
g++ -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/qpdfview-0.5.0=. -O2 -std=gnu++11 -Wall -Wextra -dM -E -o moc-pdf/moc_predefs.h /usr/lib/qt5/mkspecs/features/data/dummy.cpp
/usr/lib/qt5/bin/moc -DHAS_POPPLER_14 -DHAS_POPPLER_18 -DHAS_POPPLER_20 -DHAS_POPPLER_22 -DHAS_POPPLER_24 -DHAS_POPPLER_26 -DHAS_POPPLER_31 -DHAS_POPPLER_35 -DHAS_POPPLER_74 -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /builddir/qpdfview-0.5.0/moc-pdf/moc_predefs.h -I/usr/lib/qt5/mkspecs/linux-g++ -I/builddir/qpdfview-0.5.0 -I/usr/include/poppler/qt5 -I/usr/include/poppler -I/usr/include/freetype2 -I/usr/include/nss -I/usr/include/nspr -I/usr/include/openjpeg-2.5 -I/usr/include/libpng16 -I/usr/include/webp -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/14.2.1 -I/usr/include/c++/14.2.1/x86_64-unknown-linux-gnu -I/usr/include/c++/14.2.1/backward -I/usr/lib64/gcc/x86_64-unknown-linux-gnu/14.2.1/include -I/usr/local/include -I/usr/lib64/gcc/x86_64-unknown-linux-gnu/14.2.1/include-fixed -I/usr/include sources/model.h -o moc-pdf/moc_model.cpp
/usr/lib/qt5/bin/moc -DHAS_POPPLER_14 -DHAS_POPPLER_18 -DHAS_POPPLER_20 -DHAS_POPPLER_22 -DHAS_POPPLER_24 -DHAS_POPPLER_26 -DHAS_POPPLER_31 -DHAS_POPPLER_35 -DHAS_POPPLER_74 -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /builddir/qpdfview-0.5.0/moc-pdf/moc_predefs.h -I/usr/lib/qt5/mkspecs/linux-g++ -I/builddir/qpdfview-0.5.0 -I/usr/include/poppler/qt5 -I/usr/include/poppler -I/usr/include/freetype2 -I/usr/include/nss -I/usr/include/nspr -I/usr/include/openjpeg-2.5 -I/usr/include/libpng16 -I/usr/include/webp -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/14.2.1 -I/usr/include/c++/14.2.1/x86_64-unknown-linux-gnu -I/usr/include/c++/14.2.1/backward -I/usr/lib64/gcc/x86_64-unknown-linux-gnu/14.2.1/include -I/usr/local/include -I/usr/lib64/gcc/x86_64-unknown-linux-gnu/14.2.1/include-fixed -I/usr/include sources/pdfmodel.h -o moc-pdf/moc_pdfmodel.cpp
/usr/lib/qt5/bin/moc -DHAS_POPPLER_14 -DHAS_POPPLER_18 -DHAS_POPPLER_20 -DHAS_POPPLER_22 -DHAS_POPPLER_24 -DHAS_POPPLER_26 -DHAS_POPPLER_31 -DHAS_POPPLER_35 -DHAS_POPPLER_74 -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /builddir/qpdfview-0.5.0/moc-pdf/moc_predefs.h -I/usr/lib/qt5/mkspecs/linux-g++ -I/builddir/qpdfview-0.5.0 -I/usr/include/poppler/qt5 -I/usr/include/poppler -I/usr/include/freetype2 -I/usr/include/nss -I/usr/include/nspr -I/usr/include/openjpeg-2.5 -I/usr/include/libpng16 -I/usr/include/webp -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/14.2.1 -I/usr/include/c++/14.2.1/x86_64-unknown-linux-gnu -I/usr/include/c++/14.2.1/backward -I/usr/lib64/gcc/x86_64-unknown-linux-gnu/14.2.1/include -I/usr/local/include -I/usr/lib64/gcc/x86_64-unknown-linux-gnu/14.2.1/include-fixed -I/usr/include sources/annotationwidgets.h -o moc-pdf/moc_annotationwidgets.cpp
/usr/lib/qt5/bin/moc -DHAS_POPPLER_14 -DHAS_POPPLER_18 -DHAS_POPPLER_20 -DHAS_POPPLER_22 -DHAS_POPPLER_24 -DHAS_POPPLER_26 -DHAS_POPPLER_31 -DHAS_POPPLER_35 -DHAS_POPPLER_74 -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /builddir/qpdfview-0.5.0/moc-pdf/moc_predefs.h -I/usr/lib/qt5/mkspecs/linux-g++ -I/builddir/qpdfview-0.5.0 -I/usr/include/poppler/qt5 -I/usr/include/poppler -I/usr/include/freetype2 -I/usr/include/nss -I/usr/include/nspr -I/usr/include/openjpeg-2.5 -I/usr/include/libpng16 -I/usr/include/webp -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/14.2.1 -I/usr/include/c++/14.2.1/x86_64-unknown-linux-gnu -I/usr/include/c++/14.2.1/backward -I/usr/lib64/gcc/x86_64-unknown-linux-gnu/14.2.1/include -I/usr/local/include -I/usr/lib64/gcc/x86_64-unknown-linux-gnu/14.2.1/include-fixed -I/usr/include sources/formfieldwidgets.h -o moc-pdf/moc_formfieldwidgets.cpp
g++ -c -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/qpdfview-0.5.0=. -O2 -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DHAS_POPPLER_14 -DHAS_POPPLER_18 -DHAS_POPPLER_20 -DHAS_POPPLER_22 -DHAS_POPPLER_24 -DHAS_POPPLER_26 -DHAS_POPPLER_31 -DHAS_POPPLER_35 -DHAS_POPPLER_74 -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I/usr/include/poppler/qt5 -I/usr/include/poppler -I/usr/include/freetype2 -I/usr/include/nss -I/usr/include/nspr -I/usr/include/openjpeg-2.5 -I/usr/include/libpng16 -I/usr/include/webp -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Imoc-pdf -I/usr/lib/qt5/mkspecs/linux-g++ -o objects-pdf/moc_formfieldwidgets.o moc-pdf/moc_formfieldwidgets.cpp
g++ -c -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/qpdfview-0.5.0=. -O2 -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DHAS_POPPLER_14 -DHAS_POPPLER_18 -DHAS_POPPLER_20 -DHAS_POPPLER_22 -DHAS_POPPLER_24 -DHAS_POPPLER_26 -DHAS_POPPLER_31 -DHAS_POPPLER_35 -DHAS_POPPLER_74 -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I/usr/include/poppler/qt5 -I/usr/include/poppler -I/usr/include/freetype2 -I/usr/include/nss -I/usr/include/nspr -I/usr/include/openjpeg-2.5 -I/usr/include/libpng16 -I/usr/include/webp -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Imoc-pdf -I/usr/lib/qt5/mkspecs/linux-g++ -o objects-pdf/moc_annotationwidgets.o moc-pdf/moc_annotationwidgets.cpp
g++ -c -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/qpdfview-0.5.0=. -O2 -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DHAS_POPPLER_14 -DHAS_POPPLER_18 -DHAS_POPPLER_20 -DHAS_POPPLER_22 -DHAS_POPPLER_24 -DHAS_POPPLER_26 -DHAS_POPPLER_31 -DHAS_POPPLER_35 -DHAS_POPPLER_74 -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I/usr/include/poppler/qt5 -I/usr/include/poppler -I/usr/include/freetype2 -I/usr/include/nss -I/usr/include/nspr -I/usr/include/openjpeg-2.5 -I/usr/include/libpng16 -I/usr/include/webp -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Imoc-pdf -I/usr/lib/qt5/mkspecs/linux-g++ -o objects-pdf/moc_pdfmodel.o moc-pdf/moc_pdfmodel.cpp
g++ -c -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/qpdfview-0.5.0=. -O2 -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DHAS_POPPLER_14 -DHAS_POPPLER_18 -DHAS_POPPLER_20 -DHAS_POPPLER_22 -DHAS_POPPLER_24 -DHAS_POPPLER_26 -DHAS_POPPLER_31 -DHAS_POPPLER_35 -DHAS_POPPLER_74 -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I/usr/include/poppler/qt5 -I/usr/include/poppler -I/usr/include/freetype2 -I/usr/include/nss -I/usr/include/nspr -I/usr/include/openjpeg-2.5 -I/usr/include/libpng16 -I/usr/include/webp -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -Imoc-pdf -I/usr/lib/qt5/mkspecs/linux-g++ -o objects-pdf/moc_model.o moc-pdf/moc_model.cpp
In file included from /usr/include/poppler/qt5/poppler-form.h:48,
                 from sources/formfieldwidgets.cpp:27:
/usr/include/poppler/qt5/poppler-annotation.h:639:5: warning: 'template<class T> class QLinkedList' is deprecated: Use std::list instead [-Wdeprecated-declarations]
  639 |     QLinkedList<QPointF> linePoints() const;
      |     ^~~~~~~~~~~
In file included from /usr/include/qt5/QtCore/qvarlengtharray.h:43,
                 from /usr/include/qt5/QtCore/qmetatype.h:48,
                 from /usr/include/qt5/QtCore/qobject.h:54,
                 from /usr/include/qt5/QtCore/qsharedpointer_impl.h:65,
                 from /usr/include/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/qt5/QtGui/qpixmap.h:48,
                 from /usr/include/qt5/QtGui/qicon.h:46,
                 from /usr/include/qt5/QtWidgets/qabstractbutton.h:44,
                 from /usr/include/qt5/QtWidgets/qcheckbox.h:44,
                 from /usr/include/qt5/QtWidgets/QCheckBox:1,
                 from sources/formfieldwidgets.h:25,
                 from sources/formfieldwidgets.cpp:22:
/usr/include/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here
   51 | template <class T> class QLinkedList;
      |                          ^~~~~~~~~~~
/usr/include/poppler/qt5/poppler-annotation.h:640:30: warning: 'template<class T> class QLinkedList' is deprecated: Use std::list instead [-Wdeprecated-declarations]
  640 |     void setLinePoints(const QLinkedList<QPointF> &points);
      |                              ^~~~~~~~~~~
/usr/include/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here
   51 | template <class T> class QLinkedList;
      |                          ^~~~~~~~~~~
/usr/include/poppler/qt5/poppler-annotation.h:854:11: warning: 'template<class T> class QLinkedList' is deprecated: Use std::list instead [-Wdeprecated-declarations]
  854 |     QList<QLinkedList<QPointF>> inkPaths() const;
      |           ^~~~~~~~~~~
/usr/include/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here
   51 | template <class T> class QLinkedList;
      |                          ^~~~~~~~~~~
/usr/include/poppler/qt5/poppler-annotation.h:855:34: warning: 'template<class T> class QLinkedList' is deprecated: Use std::list instead [-Wdeprecated-declarations]
  855 |     void setInkPaths(const QList<QLinkedList<QPointF>> &paths);
      |                                  ^~~~~~~~~~~
/usr/include/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here
   51 | template <class T> class QLinkedList;
      |                          ^~~~~~~~~~~
In file included from /usr/include/poppler/qt5/poppler-qt5.h:56,
                 from sources/annotationwidgets.cpp:39:
/usr/include/poppler/qt5/poppler-annotation.h:639:5: warning: 'template<class T> class QLinkedList' is deprecated: Use std::list instead [-Wdeprecated-declarations]
  639 |     QLinkedList<QPointF> linePoints() const;
      |     ^~~~~~~~~~~
In file included from /usr/include/qt5/QtCore/qvarlengtharray.h:43,
                 from /usr/include/qt5/QtCore/qmetatype.h:48,
                 from /usr/include/qt5/QtCore/qobject.h:54,
                 from /usr/include/qt5/QtWidgets/qwidget.h:45,
                 from /usr/include/qt5/QtWidgets/qframe.h:44,
                 from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44,
                 from /usr/include/qt5/QtWidgets/qtextedit.h:44,
                 from /usr/include/qt5/QtWidgets/qplaintextedit.h:44,
                 from /usr/include/qt5/QtWidgets/QPlainTextEdit:1,
                 from sources/annotationwidgets.h:25,
                 from sources/annotationwidgets.cpp:22:
/usr/include/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here
   51 | template <class T> class QLinkedList;
      |                          ^~~~~~~~~~~
/usr/include/poppler/qt5/poppler-annotation.h:640:30: warning: 'template<class T> class QLinkedList' is deprecated: Use std::list instead [-Wdeprecated-declarations]
  640 |     void setLinePoints(const QLinkedList<QPointF> &points);
      |                              ^~~~~~~~~~~
/usr/include/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here
   51 | template <class T> class QLinkedList;
      |                          ^~~~~~~~~~~
/usr/include/poppler/qt5/poppler-annotation.h:854:11: warning: 'template<class T> class QLinkedList' is deprecated: Use std::list instead [-Wdeprecated-declarations]
  854 |     QList<QLinkedList<QPointF>> inkPaths() const;
      |           ^~~~~~~~~~~
/usr/include/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here
   51 | template <class T> class QLinkedList;
      |                          ^~~~~~~~~~~
/usr/include/poppler/qt5/poppler-annotation.h:855:34: warning: 'template<class T> class QLinkedList' is deprecated: Use std::list instead [-Wdeprecated-declarations]
  855 |     void setInkPaths(const QList<QLinkedList<QPointF>> &paths);
      |                                  ^~~~~~~~~~~
/usr/include/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here
   51 | template <class T> class QLinkedList;
      |                          ^~~~~~~~~~~
/usr/include/poppler/qt5/poppler-form.h:1009:6: error: 'optional' in namespace 'std' does not name a template type
 1009 | std::optional<CryptoSignBackend> POPPLER_QT5_EXPORT activeCryptoSignBackend();
      |      ^~~~~~~~
/usr/include/poppler/qt5/poppler-form.h:1009:1: note: 'std::optional' is only available from C++17 onwards
 1009 | std::optional<CryptoSignBackend> POPPLER_QT5_EXPORT activeCryptoSignBackend();
      | ^~~
In file included from /usr/include/poppler/qt5/poppler-qt5.h:56,
                 from sources/pdfmodel.cpp:39:
/usr/include/poppler/qt5/poppler-annotation.h:639:5: warning: 'template<class T> class QLinkedList' is deprecated: Use std::list instead [-Wdeprecated-declarations]
  639 |     QLinkedList<QPointF> linePoints() const;
      |     ^~~~~~~~~~~
In file included from /usr/include/qt5/QtCore/qvarlengtharray.h:43,
                 from /usr/include/qt5/QtCore/qmetatype.h:48,
                 from /usr/include/qt5/QtCore/qobject.h:54,
                 from /usr/include/qt5/QtCore/qcoreapplication.h:46,
                 from /usr/include/qt5/QtCore/QCoreApplication:1,
                 from sources/pdfmodel.h:26,
                 from sources/pdfmodel.cpp:24:
/usr/include/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here
   51 | template <class T> class QLinkedList;
      |                          ^~~~~~~~~~~
/usr/include/poppler/qt5/poppler-annotation.h:640:30: warning: 'template<class T> class QLinkedList' is deprecated: Use std::list instead [-Wdeprecated-declarations]
  640 |     void setLinePoints(const QLinkedList<QPointF> &points);
      |                              ^~~~~~~~~~~
/usr/include/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here
   51 | template <class T> class QLinkedList;
      |                          ^~~~~~~~~~~
/usr/include/poppler/qt5/poppler-annotation.h:854:11: warning: 'template<class T> class QLinkedList' is deprecated: Use std::list instead [-Wdeprecated-declarations]
  854 |     QList<QLinkedList<QPointF>> inkPaths() const;
      |           ^~~~~~~~~~~
/usr/include/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here
   51 | template <class T> class QLinkedList;
      |                          ^~~~~~~~~~~
/usr/include/poppler/qt5/poppler-annotation.h:855:34: warning: 'template<class T> class QLinkedList' is deprecated: Use std::list instead [-Wdeprecated-declarations]
  855 |     void setInkPaths(const QList<QLinkedList<QPointF>> &paths);
      |                                  ^~~~~~~~~~~
/usr/include/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here
   51 | template <class T> class QLinkedList;
      |                          ^~~~~~~~~~~
In file included from sources/pdfmodel.cpp:47:
/usr/include/poppler/qt5/poppler-form.h:1009:6: error: 'optional' in namespace 'std' does not name a template type
 1009 | std::optional<CryptoSignBackend> POPPLER_QT5_EXPORT activeCryptoSignBackend();
      |      ^~~~~~~~
/usr/include/poppler/qt5/poppler-form.h:1009:1: note: 'std::optional' is only available from C++17 onwards
 1009 | std::optional<CryptoSignBackend> POPPLER_QT5_EXPORT activeCryptoSignBackend();
      | ^~~
make[1]: *** [Makefile.pdf-plugin:460: objects-pdf/formfieldwidgets.o] Error 1
make[1]: *** Waiting for unfinished jobs....
sources/pdfmodel.cpp: In member function 'virtual qpdfview::Model::Properties qpdfview::Model::PdfDocument::properties() const':
sources/pdfmodel.cpp:1132:30: warning: 'void Poppler::Document::getPdfVersion(int*, int*) const' is deprecated [-Wdeprecated-declarations]
 1132 |     m_document->getPdfVersion(&pdfMajorVersion, &pdfMinorVersion);
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/poppler/qt5/poppler-qt5.h:1685:28: note: declared here
 1685 |     Q_DECL_DEPRECATED void getPdfVersion(int *major, int *minor) const;
      |                            ^~~~~~~~~~~~~
make[1]: *** [Makefile.pdf-plugin:454: objects-pdf/pdfmodel.o] Error 1
make[1]: Leaving directory '/builddir/qpdfview-0.5.0'
make: *** [Makefile:48: sub-pdf-plugin-pro-make_first-ordered] Error 2
=> ERROR: qpdfview-0.5.0_1: do_build: '${make_cmd} ${makejobs} ${make_build_args} ${make_build_target} CC="$CC" CXX="$CXX" LINK="$CXX"' exited with 2
=> ERROR:   in do_build() at common/build-style/qmake.sh:145
[user@user-pc void-packages]$ 

→関係ないかもしれませんが、error の表示のところで区切ってみました:

-

-


- --- - --- - --- - --- - --- - --- - --- ----- ----- ----- ----

5-3. 「qpdfview」のビルド時のエラーを確認:

-


1). エラーしているファイルの確認:

エラーしているファイルの検索1:

$ pwd
:
/home/user/git/void-packages
$ find . -name Makefile.pdf-plugin
:
./masterdir-x86_64/builddir/qpdfview-0.5.0/Makefile.pdf-plugin

-

確認:

featherpad ./masterdir-x86_64/builddir/qpdfview-0.5.0/Makefile.pdf-plugin

454〜460 行目:

 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o objects-pdf/pdfmodel.o sources/pdfmodel.cpp

objects-pdf/annotationwidgets.o: sources/annotationwidgets.cpp sources/annotationwidgets.h
    $(CXX) -c $(CXXFLAGS) $(INCPATH) -o objects-pdf/annotationwidgets.o sources/annotationwidgets.cpp

objects-pdf/formfieldwidgets.o: sources/formfieldwidgets.cpp sources/formfieldwidgets.h
    $(CXX) -c $(CXXFLAGS) $(INCPATH) -o objects-pdf/formfieldwidgets.o sources/formfieldwidgets.cpp

-

エラーしているファイルの検索2:

$ find . -name qmake.sh
:
./common/build-helper/qmake.sh
./common/build-style/qmake.sh

-

確認:

$ featherpad ./common/build-style/qmake.sh

141〜147 行目:

do_build() {
    cd "${wrksrc}/${build_wrksrc}"
    : ${make_cmd:=make}

    ${make_cmd} ${makejobs} ${make_build_args} ${make_build_target} \
        CC="$CC" CXX="$CXX" LINK="$CXX"
}

-


2). 今回はここまで:

GitHubqpdfview: update to 0.5.0 #42542 を 見ると、2023年 3月 2日に ローカルビルドテストが通っているので、 その後の、他の(依存?)パッケージの更新で「ビルド」できなくなったと思われます。

-

わかりやすいエラーではないので、難しそう:

何かしらの更新で解決するかもしれないし、「テンプレート」の手直しもしくは「パッチ」が必要かも:

-

-


- --- - --- - --- - --- - --- - --- - --- ----- ----- ----- -----

5-4. 「xbps-src」のビルド環境を更新:

-

日が経つので、再度、「xbps-src」のビルド環境を更新:

-


1). 確認:

$ date
2025年 11月 17日 月曜日 00:22:54 JST

-

$ uname -r
:
6.12.58_1

-


2). システム更新:

$ sudo xbps-install -Su
:
パスワード: 
[*] Updating repository `https://repo-fi.voidlinux.org/current/x86_64-repodata' ...
x86_64-repodata: 2038KB [avg rate: 840KB/s]
ERROR: The 'xbps' package must be updated, please run `xbps-install -u xbps`

-

「xbps」の更新:
$ sudo xbps-install -u xbps
:
Name    Action    Version           New version            Download size
libxbps update    0.60.5_1          0.60.6_1               142KB 
xbps    update    0.60.5_1          0.60.6_1               118KB 

-


3). システム更新のやり直し:

$ sudo xbps-install -Su
:
[*] Updating repository `https://repo-fi.voidlinux.org/current/x86_64-repodata' ...

Name           Action    Version           New version            Download size
libportal      update    0.9.1_2           0.9.1_3                66KB 
libportal-gtk3 update    0.9.1_2           0.9.1_3                8469B 

-


4). 再起動:

$ sudo reboot

-


5). 「xbps-src」のローカルリポジトリをアップデート:

$ cd ~/git/void-packages/
$ git pull
remote: Enumerating objects: 136, done.
remote: Counting objects: 100% (136/136), done.
remote: Compressing objects: 100% (49/49), done.
remote: Total 96 (delta 56), reused 71 (delta 34), pack-reused 0 (from 0)
Unpacking objects: 100% (96/96), 12.58 KiB | 48.00 KiB/s, done.
From https://github.com/void-linux/void-packages
   5b360ccf..82693e57  master     -> origin/master
Updating 5b360ccf..82693e57
Fast-forward
 common/shlibs                                      |  2 +-
 srcpkgs/SPIRV-LLVM-Translator                      |  1 +
 srcpkgs/SPIRV-LLVM-Translator-devel                |  2 +-
 srcpkgs/SPIRV-LLVM-Translator/template             | 33 --------
 srcpkgs/docker-compose/template                    |  4 +-
 srcpkgs/fx/template                                |  4 +-
 srcpkgs/hyperrogue/template                        |  4 +-
 srcpkgs/libimagequant/template                     |  4 +-
 srcpkgs/libkdcraw5/template                        |  4 +-
 srcpkgs/{libportal-qt5 => libportal-qt6}           |  0
 .../{libportal-qt5-devel => libportal-qt6-devel}   |  0
 .../libportal/patches/gio-unixinputstream.patch    | 87 ++++++++++++++++++++++
 srcpkgs/libportal/patches/qt6.9-services.patch     | 41 ++++++++++
 srcpkgs/libportal/template                         | 33 ++++----
 srcpkgs/llvm/template                              | 14 +++-
 srcpkgs/minify/template                            |  4 +-
 srcpkgs/obconf-qt/template                         |  4 +-
 srcpkgs/openmw/patches/32bit.patch                 | 54 --------------
 srcpkgs/openmw/patches/boost-1.89.patch            | 21 ------
 srcpkgs/openmw/patches/qt610.patch                 | 36 ---------
 srcpkgs/openmw/template                            |  8 +-
 srcpkgs/pqiv/template                              |  4 +-
 srcpkgs/pv/template                                |  4 +-
 srcpkgs/removed-packages/template                  |  2 +
 srcpkgs/treefmt/template                           |  4 +-
 srcpkgs/vale/template                              |  4 +-
 srcpkgs/wine/template                              |  6 +-
 srcpkgs/xbps/template                              |  4 +-
 srcpkgs/xpdf/template                              |  6 +-
 29 files changed, 198 insertions(+), 196 deletions(-)
 create mode 120000 srcpkgs/SPIRV-LLVM-Translator
 delete mode 100644 srcpkgs/SPIRV-LLVM-Translator/template
 rename srcpkgs/{libportal-qt5 => libportal-qt6} (100%)
 rename srcpkgs/{libportal-qt5-devel => libportal-qt6-devel} (100%)
 create mode 100644 srcpkgs/libportal/patches/gio-unixinputstream.patch
 create mode 100644 srcpkgs/libportal/patches/qt6.9-services.patch
 delete mode 100644 srcpkgs/openmw/patches/32bit.patch
 delete mode 100644 srcpkgs/openmw/patches/boost-1.89.patch
 delete mode 100644 srcpkgs/openmw/patches/qt610.patch
[user@user-pc void-packages]$ 

-


6). 「ブートストラップ パッケージ」を最新のバージョンに更新:

$ cd ~/git/void-packages/
$ ./xbps-src bootstrap-update
:
=> xbps-src: updating repositories for host (x86_64)...
[*] Updating repository `https://repo-default.voidlinux.org/current/bootstrap/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/x86_64-repodata' ...
x86_64-repodata: 2038KB [avg rate: 1186KB/s]
[*] Updating repository `https://repo-default.voidlinux.org/current/nonfree/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/debug/x86_64-repodata' ...
x86_64-repodata: 907KB [avg rate: 3094KB/s]
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/bootstrap/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/x86_64-repodata' ...
x86_64-repodata: 693KB [avg rate: 14GB/s]
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/nonfree/x86_64-repodata' ...
=> xbps-src: updating software in / masterdir...

Name    Action    Version           New version            Download size
libxbps update    0.60.5_1          0.60.6_1               142KB 
xbps    update    0.60.5_1          0.60.6_1               118KB 

Size to download:              261KB
Size required on disk:         845KB
Space available on disk:        18GB


[*] Downloading packages
libxbps-0.60.6_1.x86_64.xbps.sig2: 512B [avg rate: 7937KB/s]
libxbps-0.60.6_1.x86_64.xbps: 142KB [avg rate: 525KB/s]
libxbps-0.60.6_1: verifying RSA signature...
xbps-0.60.6_1.x86_64.xbps.sig2: 512B [avg rate: 10MB/s]
xbps-0.60.6_1.x86_64.xbps: 118KB [avg rate: 1426MB/s]
xbps-0.60.6_1: verifying RSA signature...

[*] Collecting package files
libxbps-0.60.6_1: collecting files...
libxbps-0.60.5_1: collecting files...
xbps-0.60.6_1: collecting files...
xbps-0.60.5_1: collecting files...

[*] Unpacking packages
libxbps-0.60.5_1: updating to 0.60.6_1 ...
libxbps-0.60.6_1: unpacking ...
xbps-0.60.5_1: updating to 0.60.6_1 ...
xbps-0.60.6_1: unpacking ...

[*] Configuring unpacked packages
libxbps-0.60.6_1: configuring ...
libxbps-0.60.6_1: updated successfully.
xbps-0.60.6_1: configuring ...
chown: changing ownership of './etc/xbps.d': Invalid argument
Failed to set perms 0755 root:root to ./etc/xbps.d!
chown: changing ownership of 'usr/bin/xbps-uchroot': Invalid argument
xbps-0.60.6_1: updated successfully.

2 downloaded, 0 installed, 2 updated, 2 configured, 0 removed, 0 on hold.
=> xbps-src: cleaning up / masterdir...
=> xbps-src: removing autodeps, please wait...
[user@user-pc void-packages]$ 

→「masterdir」もクリーンアップされました:

-


7). 再起動:

$ sudo reboot

-


8). xbps 関連の確認:

$ xbps-query -s xbps
:
[*] libxbps-0.60.6_1      XBPS package system utilities - runtime library
[*] octoxbps-0.4.1_1      Qt-based XBPS front-end
[*] xbps-0.60.6_1         XBPS package system utilities
[*] xbps-triggers-0.129_1 XBPS triggers for Void Linux
[*] xtools-0.70_1         Opinionated helpers for working with XBPS
[*] xtools-minimal-0.70_1 Opinionated helpers for working with XBPS - minima...

→「xbps」が更新されました:

-

-


- --- - --- - --- - --- - --- - --- - --- ----- ----- ----- ----- -

5-5. 「qpdfview」を再度パッケージ化:

-


1). クリーンアップ:

$ cd ~/git/void-packages/
$ ./xbps-src clean qpdfview

-


2). パッケージ化:

$ cd ~/git/void-packages/
$ ./xbps-src pkg qpdfview
:
make[1]: *** [Makefile.pdf-plugin:460: objects-pdf/formfieldwidgets.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile.pdf-plugin:454: objects-pdf/pdfmodel.o] Error 1
make[1]: Leaving directory '/builddir/qpdfview-0.5.0'
make: *** [Makefile:48: sub-pdf-plugin-pro-make_first-ordered] Error 2
=> ERROR: qpdfview-0.5.0_1: do_build: '${make_cmd} ${makejobs} ${make_build_args} ${make_build_target} CC="$CC" CXX="$CXX" LINK="$CXX"' exited with 2
=> ERROR:   in do_build() at common/build-style/qmake.sh:145
[user@user-pc void-packages]$

→変化なし:

-

-


- --- - --- - --- - --- - --- - --- - --- ----- ----- ----- ----- ----- ----

23. 参考: 「@featherpad」アプリで、ヘルプ表示を「xbps-src」の備忘録(ver2)に更新した履歴:

-

こちらの作業は要りません。

「@featherpad」のヘルプ表示を「xbps-src」の備忘録(ver2)に更新しました:

-

「項番 3-2.」の「パッチ」ファイルを作成 2 で、ヘルプの表示を変更するために行った作業です。

自分で「好みの内容」のヘルプ表示に変更したいときの手順になります:

-


1). ソースをダウンロードして、展開:

$ cd ~/git/void-packages/
$ ./xbps-src fetch @featherpad
$ ./xbps-src extract @featherpad

-


2). ヘルプの置かれている場所:

$ cd ~/git/void-packages/
$ ls -1p masterdir-x86_64/builddir/@featherpad-1.6.2/featherpad/data/help*
:
masterdir-x86_64/builddir/@featherpad-1.6.2/featherpad/data/help

-


3). 差分ファイル(パッチ)を作成するためのフォルダを作成:

$ cd ~/git/void-packages/masterdir-x86_64/builddir/@featherpad-1.6.2/
$ sudo mkdir -p {a,b}

-


4). 「a」フォルダにソースをコピー:

$ sudo cp -r featherpad a/

-


5). 「b」フォルダにソースをコピー:

$ sudo cp -r featherpad b/

-


6). 「a」フォルダの「help」ファイルを削除:

$ cd ~/git/void-packages/masterdir-x86_64/builddir/@featherpad-1.6.2/a/featherpad/data/
$ sudo rm help 

-


7). 「b」フォルダの「help」ファイルを更新(すべて置換):

$ sudo featherpad ~/git/void-packages/masterdir-x86_64/builddir/@featherpad-1.6.2/b/featherpad/data/help

↓ Ctrl+A 後、Delete キーですべて削除後、下記をすべて貼り付け:   

 sudo featherpad /usr/share/featherpad/help
                                                        (ver2)
################################################################
### 「xbps-src」にて、ビルド環境を更新する場合: ###############

1). システム更新:

$ sudo xbps-install -Su


2). 再起動:

$ sudo reboot


3). ローカルリポジトリの更新:

$ cd ~/git/void-packages/
$ git pull


4). 「ブートストラップ パッケージ」の更新:

$ cd ~/git/void-packages/
$ ./xbps-src bootstrap-update


5). 再起動:

$ sudo reboot

-

################################################################
### 「xbps-src」にて、パッケージ化をやり直す場合: #############

1). クリーンアップ:

$ cd ~/git/void-packages/
$ ./xbps-src clean <パッケージ名>

-

2). パッケージ化:

$ cd ~/git/void-packages/
$ ./xbps-src pkg <パッケージ名>

-

################################################################
### 「xbps-src」にて、パッケージ化後にインストールする場合: ###

1). インストール:

$ sudo xbps-install --repository hostdir/binpkgs <パッケージ名>

もしくは、

$ xi <パッケージ名>

-

2). インストールされたか確認:

$ xbps-query -Rs <パッケージ名>

もしくは、

$ xbps-query -s <パッケージ名>

-

##################################################################
### 「xbps-src」の「ヘルプ表示」(和訳)##########################

$ cd ~/git/void-packages/
$ ./xbps-src --help

---------------------------------------------------------------
$ xbps-src [オプション] <ターゲット> [引数]
---------------------------------------------------------------

-

##################################################################
(1). ターゲットの説明: (1つだけが指定できます)

-

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
binary-bootstrap
 ホストリポジトリから <masterdir> にブートストラップパッケージを、インストールします。  
 オプションの  '-A <arch>' フラグが設定されている場合、このアーキテクチャから  
 ブートストラップパッケージとその必要な XBPS ユーティリティがインストールされます。  
 <masterdir> は、chroot 操作のために初期化されます。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
bootstrap
 ソースからブートストラップパッケージを <masterdir> にビルドして、インストールします。  
 オプションの '-A <arch>' フラグが設定されている場合、このアーキテクチャから  
 ブートストラップパッケージとその必要な XBPS ユーティリティをビルドして、インストール
 します。
 <masterdir> は、chroot 操作のために初期化されます。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
bootstrap-update
 XBPS 設定ファイルの登録リポジトリから利用可能な、最新のバージョンでブートストラップ
 パッケージを更新します。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
consistency-check
 すべてのパッケージで一貫性チェックを、実行します

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
chroot
 <masterdir> の chroot に、入ります。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
clean-repocache
 <hostdir>/repocache から時代遅れのパッケージを、削除します。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
fetch <パッケージ名>
 パッケージのソースファイルを、ダウンロードします。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
extract <パッケージ名>
 パッケージのソースファイルを、ビルドディレクトリに展開します。
 デフォルトは、<masterdir>/builddir に設定されます。

 →「hostdir/sources/」ディレクトリにダウンロードはされませんが、
 ビルドディレクトリ「masterdir-x86_64/builddir/」に、ソースが展開されます:

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
patch <パッケージ名>
 パッケージソースにパッチを当て、設定とビルドのために  
 パッケージを準備するために必要な、他の操作を実行します。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
configure <パッケージ名>
 パッケージを構成します(Fetch + Extract + Patch + Configure)

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
build <パッケージ名>
 パッケージのソースをビルドします(Fetch + Extract + Patch + Configure + Build)

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
check <パッケージ名>
 パッケージのソースをビルドした後に、パッケージのチェックを実行します。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
install <パッケージ名>
 ターゲットのパッケージを <destdir> にインストールしますが、  
 検査目的なので、バイナリパッケージのビルドをせず、ビルドディレクトリも削除しません。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
pkg <パッケージ名>
 <パッケージ名> のバイナリパッケージ、およびすべての必要な依存関係をビルドして、
 パッケージ化します。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
clean [パッケージ名]
 自動で依存関係を削除し、<masterdir>/builddir および <masterdir>/destdir を
 クリーンアップします。
 もし、<パッケージ名> が指定されている場合は、<masterdir>/destdir のパッケージ
 ファイルと <masterdir>/buiddir のビルドディレクトリが削除されます。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
list
  chroot される <masterdir>  にインストールされたパッケージの一覧を表示します。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
remove <パッケージ名>
  <destdir> からターゲットパッケージを削除します。  
  ビルドテンプレートと <パッケージ名>-<version> が一致していない場合は、何も
 削除されません。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
remove-autodeps
  自動的にインストールされたすべてのパッケージの依存関係を削除します。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
purge-distfiles
  <hostdir>/sources の、すべての時代遅れの distfiles を削除します。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
show <パッケージ名>
  指定されたパッケージの情報を表示します。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
show-avail <パッケージ名>
    特定のアーキテクチャ用にパッケージをビルドできる場合は「0」を返します。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
show-build-deps <パッケージ名>
    <パッケージ名> に必要なビルドの依存関係を表示します。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
show-check-deps <パッケージ名>
    <パッケージ名> に必要なチェックの依存関係を表示します。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
show-deps <パッケージ名>
    <パッケージ名> の必要な ランタイムの依存関係を表示します。
 パッケージは DestDir にインストールする必要があります。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
show-files <パッケージ名>
 <パッケージ名> によってインストールされたファイルを表示します。  
 パッケージは DestDir にインストールする必要があります。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
show-hostmakedepends <パッケージ名>
 <パッケージ名>の必要なホストビルド依存関係を表示します。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
show-makedepends <パッケージ名>
 <パッケージ名> の必要なターゲットビルド依存関係を表示します。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
show-options <パッケージ名>
 <パッケージ名>による利用可能なビルドオプションを表示します。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
show-shlib-provides <パッケージ名>
 <パッケージ名> の提供された shlibs のリストを表示します。
 パッケージは DestDir にインストールする必要があります。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
show-shlib-requires <パッケージ名>
 <パッケージ名>に必要なshlibsのリストを表示します。
 パッケージは DestDir にインストールする必要があります。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
show-var <var>
 xbps-src で定義されている場合、<var> の値を表示します。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
show-repo-updates
 XBPS リポジトリの時代遅れのパッケージのリストを表示します。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
show-sys-updates
 システム内の時代遅れのパッケージのリストを表示します。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
show-local-updates
 ローカルリポジトリの時代遅れのパッケージのリストを表示します。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
sort-dependencies <pkg> <pkgN+1> ...
 追加の引数として、指定されたパッケージのリストが与えられた場合、  
 ソートされた依存関係リストが 標準出力 に返されます。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
update-bulk
 時代遅れのシステムリポジトリ内のすべてのパッケージを再ビルドします。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
update-sys
 時代遅れのシステム内のすべてのパッケージを再ビルドし、それらを更新します。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
update-local
 時代遅れのローカルリポジトリのすべてのパッケージを再ビルドします。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
update-check <パッケージ名>
 新しいリリースについて、<パッケージ名> の上流サイトをチェックします。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
update-hash-cache
 既存のソース distfiles で、ハッシュキャッシュを更新します。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
zap
 ccache、distcc および host ディレクトリが保存された、masterdir を削除します。


-

################################################################
(2). オプションの説明:

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
-1  
 ターゲットパッケージの依存関係が欠けている場合は、それらをビルドせずに、失敗
 します。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
-A <ホスト>
 指定のホストマシンを使用します。
 masterdir-<ホスト> がまだ存在しない場合は自動的に作成されます。

 一部のホストマシンは、プロセッサによってネイティブにサポートされていない場合、
  qemu-user と binfmt-support を必要とする場合があります。

サポートされているホスト:

    aarch64-musl
    aarch64
    armv5te-musl
    armv5te
    armv5tel-musl
    armv5tel
    armv6hf-musl
    armv6hf
    armv6l-musl
    armv6l
    armv7hf-musl
    armv7hf
    armv7l-musl
    armv7l
    i686-musl
    i686
    mips-musl
    mipsel-musl
    mipselhf-musl
    mipshf-musl
    ppc-musl
    ppc
    ppc64-musl
    ppc64
    ppc64le-musl
    ppc64le
    ppcle-musl
    ppcle
    riscv64-musl
    riscv64
    x86_64-musl
    x86_64

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
-a  <ターゲット>
指定されたターゲットマシンのパッケージをクロスコンパイルします。

サポートされているターゲット:

    aarch64-musl
    aarch64
    armv5te-musl
    armv5te
    armv5tel-musl
    armv5tel
    armv6hf-musl
    armv6hf
    armv6l-musl
    armv6l
    armv7hf-musl
    armv7hf
    armv7l-musl
    armv7l
    i686-musl
    i686
    mips-musl
    mipsel-musl
    mipselhf-musl
    mipshf-musl
    ppc-musl
    ppc
    ppc64-musl
    ppc64
    ppc64le-musl
    ppc64le
    ppcle-musl
    ppcle
    riscv64-musl
    riscv64
    x86_64-musl
    x86_64

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
-b
 壊れているとマークされている、nocross、またはアーチで除外されている場合でも、
 パッケージをビルドします。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
-c  <configuration>
 <configuration> が指定されている場合、etc/conf.<configuration> は、主要な
 構成ファイル名として使用されます。
 etc/conf が存在しない場合にのみ試行されます。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
-C  
 インストールが成功した後、ビルドディレクトリ、自動依存関係、パッケージ用の
 destdir を削除しません。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
-E
 ターゲットパッケージのリポジトリに、バイナリパッケージが存在する場合は、
 それをビルドせず、すぐに終了します。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
-f  
 正常に実行された場合でも、指定されたステージ(構成/ビルド/インストール/パッケージ化)
 を実行します。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
-G  Enable XBPS_USE_GIT_REVS(詳細については、etc/defaults.conf を参照してください)

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
-g
 デバッグシンボルを備えた -dbg パッケージのビルドを有効にします。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
-H  <hostdir>
 unset がデフォルトで、「void-packages/hostdir」がある場合に、
 <masterdir>/host にマウントされる、バインドされるディレクトリへの絶対パスを指定。
 host ディレクトリには、リモートリポジトリからダウンロードされたバイナリパッケージ、
 ソース、パッケージの依存関係が保存されています。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
-h
 使い方を表示。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
-I  
 ソースを展開/読み込むのに役立つ必要な依存関係を無視します。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
-i 
 xbps-src の内部エラーを致命的なエラーにしません。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
-j  
 パッケージをビルドするときに使用する並列ビルドジョブ(プロセッサ)の数を指定。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
-L
 ASCII の色を無効にします。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
-m  <masterdir>
 unset がデフォルトで「void-packages/masterdir-<host>」がある場合に、
 masterdir として使用するディレクトリへの絶対パスを指定。
 masterdir は、パッケージを構築/保存/コンパイルする、メインとなるディレクトリです。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
-N
 リモートリポジトリの使用を無効にして、依存関係を解決します。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
-o  <opt,~opt2,...>
 パッケージビルドオプションを有効または(`~` を付けて)無効にします。
 「etc/conf」がすでにいくつかを指定している場合、それはマージされています。
 依存関係をビルドする必要がある場合、これらのオプションを継承する場合、
 これらのオプションはビルド内のすべてのパッケージに適用されることに注意
 してください。

 'show-options' target でサポートされているオプションを表示できます。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
-p  <variable,variable2,...>
 ターゲットを表示するには、デフォルトの変数に加えて指定された変数を表示します。
 変数は分割され、各単語はデフォルトで別々の行で表示されます。
 値全体を 1行で表示するには、asterisk を変数名に追加します。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
-Q  
 ターゲットパッケージのみのチェックステージを実行します。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
-K  
 長いテストでチェックステージを実行します。
 -Q とは異なり、これはビルドされた依存関係のチェックステージも実行されます。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
-q  
 xbps-src の情報出力をしません。(ビルド出力は引き続き表示されます)

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
-r  <repo>
 代替ローカルリポジトリを使用して、生成されたバイナリパッケージを保存します。
 unset がデフォルトで <hostdir>/binpkgs になります。

 もし、set の場合、binpkgs は <hostdir>/binpkgs/<repo> に保存されます。
 また、この代替リポジトリは、他のリポジトリよりも優先度の高い順序で依存関係を
 解決するためにも使用されます。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
-s  
 いくつかの警告をエラーにします。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
-t  
 現在のものを汚さないように、一時的な masterdir を作成します。
 既存の masterdir には、最初に binary-bootstrap を完全に入力する必要があることに
 注意してください。

 ターゲットが終了すると、この一時的な masterdir は削除されます。
 このフラグには xbps-uchroot(1) が必要であり、 overlayfs をサポートしていない
 ファイルシステムでは機能しません。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
-v  
 詳細なメッセージを表示します(update-check のみに影響します)。

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
-V  
 xbps のバージョンを表示して、終了します。

-

##################################################################

→Ctrl+S で保存:

アプリを右上の「x」で閉じます:

-


8). 差分(パッチ)の作成:

$ cd ~/git/void-packages/masterdir-x86_64/builddir/@featherpad-1.6.2/
$ diff -Naur a b > 02.help-translation-jp-ver2.patch

-


9). 違和感がないように、パッチファイルの 先頭行を削除:

$ sudo featherpad 02.help-translation-jp-ver2.patch

↓ 下記の先頭行を削除:

diff -Naur a/featherpad/data/help b/featherpad/data/help

および、フォントで幅が変わる「###」と「-- --」の数を調整:
そして、ファイルの最後に 空行 x2つ を追加:

-

→Ctrl+S で保存:

アプリを右上の「x」で閉じます:

-

確認:
$ cat 02.help-translation-jp-ver2.patch
--- a/featherpad/data/help   1970-01-01 09:00:00.000000000 +0900
+++ b/featherpad/data/help  2025-11-28 00:08:37.631016752 +0900
@@ -0,0 +1,506 @@
+ sudo featherpad /usr/share/featherpad/help
+                                                        (ver2)
+################################################################
+###### 「xbps-src」にて、ビルド環境を更新する場合: ################
+
+1). システム更新:
+
+$ sudo xbps-install -Su
+
+
+2). 再起動:
+
+$ sudo reboot
+
+
+3). ローカルリポジトリの更新:
+
+$ cd ~/git/void-packages/
+$ git pull
+
+
+4). 「ブートストラップ パッケージ」の更新:
+
+$ cd ~/git/void-packages/
+$ ./xbps-src bootstrap-update
+
+
+5). 再起動:
+
+$ sudo reboot
+
+-
+
+################################################################
+###### 「xbps-src」にて、パッケージ化をやり直す場合: ##############
+
+1). クリーンアップ:
+
+$ cd ~/git/void-packages/
+$ ./xbps-src clean <パッケージ名>
+
+-
+
+2). パッケージ化:
+
+$ cd ~/git/void-packages/
+$ ./xbps-src pkg <パッケージ名>
+
+-
+
+################################################################
+###### 「xbps-src」にて、パッケージ化後にインストールする場合: #####
+
+1). インストール:
+
+$ sudo xbps-install --repository hostdir/binpkgs <パッケージ名>
+
+もしくは、
+
+$ xi <パッケージ名>
+
+-
+
+2). インストールされたか確認:
+
+$ xbps-query -Rs <パッケージ名>
+
+もしくは、
+
+$ xbps-query -s <パッケージ名>
+
+-
+
+##################################################################
+###### 「xbps-src」の「ヘルプ表示」(和訳)##########################
+
+$ cd ~/git/void-packages/
+$ ./xbps-src --help
+
+---------------------------------------------------------------
+$ xbps-src [オプション] <ターゲット> [引数]
+---------------------------------------------------------------
+
+-
+
+##################################################################
+(1). ターゲットの説明: (1つだけが指定できます)
+
+-
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+binary-bootstrap
+ ホストリポジトリから <masterdir> にブートストラップパッケージを、インストールします。  
+ オプションの  '-A <arch>' フラグが設定されている場合、このアーキテクチャから  
+ ブートストラップパッケージとその必要な XBPS ユーティリティがインストールされます。  
+ <masterdir> は、chroot 操作のために初期化されます。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+bootstrap
+ ソースからブートストラップパッケージを <masterdir> にビルドして、インストールします。  
+ オプションの '-A <arch>' フラグが設定されている場合、このアーキテクチャから  
+ ブートストラップパッケージとその必要な XBPS ユーティリティをビルドして、インストール
+ します。
+ <masterdir> は、chroot 操作のために初期化されます。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+bootstrap-update
+ XBPS 設定ファイルの登録リポジトリから利用可能な、最新のバージョンでブートストラップ
+ パッケージを更新します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+consistency-check
+ すべてのパッケージで一貫性チェックを、実行します
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+chroot
+ <masterdir> の chroot に、入ります。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+clean-repocache
+ <hostdir>/repocache から時代遅れのパッケージを、削除します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+fetch <パッケージ名>
+ パッケージのソースファイルを、ダウンロードします。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+extract <パッケージ名>
+ パッケージのソースファイルを、ビルドディレクトリに展開します。
+ デフォルトは、<masterdir>/builddir に設定されます。
+
+ →「hostdir/sources/」ディレクトリにダウンロードはされませんが、
+ ビルドディレクトリ「masterdir-x86_64/builddir/」に、ソースが展開されます:
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+patch <パッケージ名>
+ パッケージソースにパッチを当て、設定とビルドのために  
+ パッケージを準備するために必要な、他の操作を実行します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+configure <パッケージ名>
+ パッケージを構成します(Fetch + Extract + Patch + Configure)
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+build <パッケージ名>
+ パッケージのソースをビルドします(Fetch + Extract + Patch + Configure + Build)
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+check <パッケージ名>
+ パッケージのソースをビルドした後に、パッケージのチェックを実行します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+install <パッケージ名>
+ ターゲットのパッケージを <destdir> にインストールしますが、  
+ 検査目的なので、バイナリパッケージのビルドをせず、ビルドディレクトリも削除しません。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+pkg <パッケージ名>
+ <パッケージ名> のバイナリパッケージ、およびすべての必要な依存関係をビルドして、
+ パッケージ化します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+clean [パッケージ名]
+ 自動で依存関係を削除し、<masterdir>/builddir および <masterdir>/destdir を
+ クリーンアップします。
+ もし、<パッケージ名> が指定されている場合は、<masterdir>/destdir のパッケージ
+ ファイルと <masterdir>/buiddir のビルドディレクトリが削除されます。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+list
+  chroot される <masterdir>  にインストールされたパッケージの一覧を表示します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+remove <パッケージ名>
+  <destdir> からターゲットパッケージを削除します。  
+  ビルドテンプレートと <パッケージ名>-<version> が一致していない場合は、何も
+ 削除されません。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+remove-autodeps
+  自動的にインストールされたすべてのパッケージの依存関係を削除します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+purge-distfiles
+  <hostdir>/sources の、すべての時代遅れの distfiles を削除します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+show <パッケージ名>
+  指定されたパッケージの情報を表示します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+show-avail <パッケージ名>
+    特定のアーキテクチャ用にパッケージをビルドできる場合は「0」を返します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+show-build-deps <パッケージ名>
+    <パッケージ名> に必要なビルドの依存関係を表示します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+show-check-deps <パッケージ名>
+    <パッケージ名> に必要なチェックの依存関係を表示します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+show-deps <パッケージ名>
+    <パッケージ名> の必要な ランタイムの依存関係を表示します。
+ パッケージは DestDir にインストールする必要があります。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+show-files <パッケージ名>
+ <パッケージ名> によってインストールされたファイルを表示します。  
+ パッケージは DestDir にインストールする必要があります。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+show-hostmakedepends <パッケージ名>
+ <パッケージ名>の必要なホストビルド依存関係を表示します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+show-makedepends <パッケージ名>
+ <パッケージ名> の必要なターゲットビルド依存関係を表示します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+show-options <パッケージ名>
+ <パッケージ名>による利用可能なビルドオプションを表示します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+show-shlib-provides <パッケージ名>
+ <パッケージ名> の提供された shlibs のリストを表示します。
+ パッケージは DestDir にインストールする必要があります。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+show-shlib-requires <パッケージ名>
+ <パッケージ名>に必要なshlibsのリストを表示します。
+ パッケージは DestDir にインストールする必要があります。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+show-var <var>
+ xbps-src で定義されている場合、<var> の値を表示します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+show-repo-updates
+ XBPS リポジトリの時代遅れのパッケージのリストを表示します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+show-sys-updates
+ システム内の時代遅れのパッケージのリストを表示します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+show-local-updates
+ ローカルリポジトリの時代遅れのパッケージのリストを表示します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+sort-dependencies <pkg> <pkgN+1> ...
+ 追加の引数として、指定されたパッケージのリストが与えられた場合、  
+ ソートされた依存関係リストが 標準出力 に返されます。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+update-bulk
+ 時代遅れのシステムリポジトリ内のすべてのパッケージを再ビルドします。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+update-sys
+ 時代遅れのシステム内のすべてのパッケージを再ビルドし、それらを更新します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+update-local
+ 時代遅れのローカルリポジトリのすべてのパッケージを再ビルドします。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+update-check <パッケージ名>
+ 新しいリリースについて、<パッケージ名> の上流サイトをチェックします。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+update-hash-cache
+ 既存のソース distfiles で、ハッシュキャッシュを更新します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+zap
+ ccache、distcc および host ディレクトリが保存された、masterdir を削除します。
+
+
+-
+
+################################################################
+(2). オプションの説明:
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-1  
+ ターゲットパッケージの依存関係が欠けている場合は、それらをビルドせずに、失敗
+ します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-A <ホスト>
+ 指定のホストマシンを使用します。
+ masterdir-<ホスト> がまだ存在しない場合は自動的に作成されます。
+
+ 一部のホストマシンは、プロセッサによってネイティブにサポートされていない場合、
+  qemu-user と binfmt-support を必要とする場合があります。
+
+サポートされているホスト:
+
+   aarch64-musl
+   aarch64
+   armv5te-musl
+   armv5te
+   armv5tel-musl
+   armv5tel
+   armv6hf-musl
+   armv6hf
+   armv6l-musl
+   armv6l
+   armv7hf-musl
+   armv7hf
+   armv7l-musl
+   armv7l
+   i686-musl
+   i686
+   mips-musl
+   mipsel-musl
+   mipselhf-musl
+   mipshf-musl
+   ppc-musl
+   ppc
+   ppc64-musl
+   ppc64
+   ppc64le-musl
+   ppc64le
+   ppcle-musl
+   ppcle
+   riscv64-musl
+   riscv64
+   x86_64-musl
+   x86_64
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-a  <ターゲット>
+指定されたターゲットマシンのパッケージをクロスコンパイルします。
+
+サポートされているターゲット:
+
+   aarch64-musl
+   aarch64
+   armv5te-musl
+   armv5te
+   armv5tel-musl
+   armv5tel
+   armv6hf-musl
+   armv6hf
+   armv6l-musl
+   armv6l
+   armv7hf-musl
+   armv7hf
+   armv7l-musl
+   armv7l
+   i686-musl
+   i686
+   mips-musl
+   mipsel-musl
+   mipselhf-musl
+   mipshf-musl
+   ppc-musl
+   ppc
+   ppc64-musl
+   ppc64
+   ppc64le-musl
+   ppc64le
+   ppcle-musl
+   ppcle
+   riscv64-musl
+   riscv64
+   x86_64-musl
+   x86_64
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-b
+ 壊れているとマークされている、nocross、またはアーチで除外されている場合でも、
+ パッケージをビルドします。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-c  <configuration>
+ <configuration> が指定されている場合、etc/conf.<configuration> は、主要な
+ 構成ファイル名として使用されます。
+ etc/conf が存在しない場合にのみ試行されます。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-C  
+ インストールが成功した後、ビルドディレクトリ、自動依存関係、パッケージ用の
+ destdir を削除しません。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-E
+ ターゲットパッケージのリポジトリに、バイナリパッケージが存在する場合は、
+ それをビルドせず、すぐに終了します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-f  
+ 正常に実行された場合でも、指定されたステージ(構成/ビルド/インストール/パッケージ化)
+ を実行します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-G  Enable XBPS_USE_GIT_REVS(詳細については、etc/defaults.conf を参照してください)
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-g
+ デバッグシンボルを備えた -dbg パッケージのビルドを有効にします。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-H  <hostdir>
+ unset がデフォルトで、「void-packages/hostdir」がある場合に、
+ <masterdir>/host にマウントされる、バインドされるディレクトリへの絶対パスを指定。
+ host ディレクトリには、リモートリポジトリからダウンロードされたバイナリパッケージ、
+ ソース、パッケージの依存関係が保存されています。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-h
+ 使い方を表示。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-I  
+ ソースを展開/読み込むのに役立つ必要な依存関係を無視します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-i 
+ xbps-src の内部エラーを致命的なエラーにしません。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-j  
+ パッケージをビルドするときに使用する並列ビルドジョブ(プロセッサ)の数を指定。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-L
+ ASCII の色を無効にします。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-m  <masterdir>
+ unset がデフォルトで「void-packages/masterdir-<host>」がある場合に、
+ masterdir として使用するディレクトリへの絶対パスを指定。
+ masterdir は、パッケージを構築/保存/コンパイルする、メインとなるディレクトリです。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-N
+ リモートリポジトリの使用を無効にして、依存関係を解決します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-o  <opt,~opt2,...>
+ パッケージビルドオプションを有効または(`~` を付けて)無効にします。
+ 「etc/conf」がすでにいくつかを指定している場合、それはマージされています。
+ 依存関係をビルドする必要がある場合、これらのオプションを継承する場合、
+ これらのオプションはビルド内のすべてのパッケージに適用されることに注意
+ してください。
+
+ 'show-options' target でサポートされているオプションを表示できます。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-p  <variable,variable2,...>
+ ターゲットを表示するには、デフォルトの変数に加えて指定された変数を表示します。
+ 変数は分割され、各単語はデフォルトで別々の行で表示されます。
+ 値全体を 1行で表示するには、asterisk を変数名に追加します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-Q  
+ ターゲットパッケージのみのチェックステージを実行します。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-K  
+ 長いテストでチェックステージを実行します。
+ -Q とは異なり、これはビルドされた依存関係のチェックステージも実行されます。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-q  
+ xbps-src の情報出力をしません。(ビルド出力は引き続き表示されます)
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-r  <repo>
+ 代替ローカルリポジトリを使用して、生成されたバイナリパッケージを保存します。
+ unset がデフォルトで <hostdir>/binpkgs になります。
+
+ もし、set の場合、binpkgs は <hostdir>/binpkgs/<repo> に保存されます。
+ また、この代替リポジトリは、他のリポジトリよりも優先度の高い順序で依存関係を
+ 解決するためにも使用されます。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-s  
+ いくつかの警告をエラーにします。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-t  
+ 現在のものを汚さないように、一時的な masterdir を作成します。
+ 既存の masterdir には、最初に binary-bootstrap を完全に入力する必要があることに
+ 注意してください。
+
+ ターゲットが終了すると、この一時的な masterdir は削除されます。
+ このフラグには xbps-uchroot(1) が必要であり、 overlayfs をサポートしていない
+ ファイルシステムでは機能しません。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-v  
+ 詳細なメッセージを表示します(update-check のみに影響します)。
+
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+-V  
+ xbps のバージョンを表示して、終了します。
+
+-
+
+##################################################################
+

-


10). 「@featherpad」の「patches」フォルダに置かれた「.patch」ファイルを置換:

以前のパッチを削除:

$ cd ~/git/void-packages/srcpkgs/@featherpad/patches/
$ sudo rm 02.help-translation-jp.patch

-

代わりに移動:

$ sudo mv ~/git/void-packages/masterdir-x86_64/builddir/@featherpad-1.6.2/02.help-translation-jp-ver2.patch 02.help-translation-jp-ver2.patch

-

確認:

$ ls -1
:
01.help-del.patch
02.help-translation-jp-ver2.patch
03.featherpad-desktop.patch

→パッチ 2 を更新しました:

-


11). 後始末:

差分ファイル(パッチ)を作成するために使ったフォルダを削除:

$ cd ~/git/void-packages/masterdir-x86_64/builddir/@featherpad-1.6.2/
$ sudo rm -r a
$ sudo rm -r b

-


12). クリーンアップ:

$ cd ~/git/void-packages/
$ ./xbps-src clean @featherpad

-


13). パッケージ化:

$ cd ~/git/void-packages/
$ ./xbps-src pkg @featherpad

-


14). 以前にインストールした「@featherpad」を削除:

$ sudo xbps-remove @featherpad

-


15). インストール:

$ xi @featherpad

-


16). 起動して、ヘルプを確認:

-

-


- --- - --- - --- - --- - --- - --- - --- ----- ----- ----- ----- --

30. 参考: voidlinux の「xtools」ツールについて:

-

「xtools」は、パッケージマネージャの「xbps」や、ソースビルドシステムの「xbps-src」の操作を簡単にしたり、補助してくれるツール(スクリプト集)です:

-

詳細は、 Void Linux ハンドブック、または、man ページ(例: man xi、man xchroot、man xlocate)を参照:

-

-


- --- - --- - --- - --- - --- - --- - --- ----- ----- ----- ----- ---

30-1. 「xtools」ツールのインストール:

-


「xtools」ツールのインストール:

$ sudo xbps-install -S xtools

-

-


- --- - --- - --- - --- - --- - --- - --- ----- ----- ----- ----- ----

30-2. 「xtools」ツールのマニュアルを表示:

-


マニュアルを表示:

$ man xtools

和訳:

XTOOLS(1)                   General Commands Manual              XTOOLS(1)

名前
     xtools → XBPS で使用する小さなユーティリティのコレクション

コマンド
     xbarf
        → 前回のビルドのビルド時のログを表示

     xbulk [-n] [-k] [xbps-src flags] pkgs ...
        → シンプルな XBPS バルク ビルダー
          -n  dry-run モード
          -k  エラーを続行

     xbump pkgname [git commit options]
        → git は新しいパッケージまたはパッケージの更新をコミットします
          pkgname が「:」の場合、git インデックスにステージングされた
          各テンプレートに対してコミットが作成されます

     xchangelog template | pkgname
        → パッケージ変更ログを開きます

     xcheckmypkgs [email]
        → パッケージのアップデートを確認

     xcheckrestart [-v]
        → 古いライブラリを使用しているプログラムを一覧表示
          -v  詳細モード、ライブラリ名も出力します

     xchroot directory [command ...]
        → Void (または他の Linux) インストールに chroot します

     xclash
        → XBPS パッケージ間のファイル競合を検出します

     xdbg pkgs ...
        → pkg と再帰的な依存関係のデバッグ パッケージを一覧表示

     xdeptree [-L level] [-R] pkgname
        → パッケージの依存関係のツリーを生成します
          -L level
              ツリーの最大深さ
          -R  リモート リポジトリを対象にします

     xdiff [-u | -l] [basedir]
        → merge/diff/list XBPS .new-* ファイル
          -l  .new ファイルを一覧表示
          -u  統合された差分を表示します

     xdistdir
        → XBPS_DISTDIR を計算します

     xdowngrade pkgfiles.xbps ...
        → XBPS パッケージを .xbps ファイルから直接インストール

     xetcchanges
        → バイナリパッケージに対する /etc の差分を表示

     xgenfstab [-p | -P] [-t TAG | -L | -U] root
        → root に対して fstab(5) を生成します
          -p  疑似ファイルシステムを除外します (デフォルトの動作)
          -P  疑似ファイルシステムを含めます
          -t TAG
              識別子にTAGを使います (LABEL, UUID, PARTLABEL, PARTUUID)
          -L  識別子にラベルを使います ( -t LABEL と同じ )
          -U  識別子に UUID を使います ( -t UUID と同じ)

     xgensum [-f] [-c] [-i] [-a arch] [-H hostdir] templates ...
        → テンプレートにある SHA256 サム値を更新します
          -f  distfile の強制 (再) ダウンロード
          -c  コンテンツのチェックサムを使います
          -i  チェックサムをその場で置き換えます
          -a  チェックサムを生成するアーキテクチャ 
              (デフォルト: ネイティブまたは最初に利用可能なアーキテクチャ)
          -H  hostdir への絶対パスを指定

     xgrep pattern パッケージ名 ...
        → XBPS パッケージの内容に限定されたファイルの検索

     xhog
        → インストールされている XBPS パッケージをサイズ順に一覧表示

     xi パッケージ名 ...
        → 「xbps-install -S」と同じ機能ですが、cwd リポジトリと sudo/su を考慮します

     xilog [pattern]
        → インストールされたパッケージをインストール日ごとに一覧表示

     xlg パッケージ名
        → XBPS テンプレートの短いコミットのログを開きます

     xlint template | pkgname | :pkgname | :
        → XBPS テンプレートをスキャンして一般的な間違いを見つけます
        - git インデックスにステージングされたテンプレートを検証するには「:pkgname」を使います
        - git インデックスにステージングされているすべてのテンプレートを検証するには「:」を使います

     xlocate -g | -S | [-EFGPiw] pattern
        → すべての XBPS パッケージ内のファイルを検索します
          -g  ローカル リポジトリに便利な git ベースの xlocate データベースを更新します

          -S  公式の git ベースの xlocate データベースと同期します。ツールを使用する前にお勧めします
          -E | -F | -G | -P | -i | -w
              パターンのマッチング方法を変更します。詳細については、git-grep(1) を参照

     xlog パッケージ名
        → XBPS テンプレートのコミット ログを開きます

     xls パッケージ名 ...
        → pkg に含まれるファイルの一覧表示 (binpkgs を含む)

     xmandoc manpage
        → インストールされていない可能性があるパッケージの man ページを読みます

     xmksv [-l] [newsvdir ...]
        → 新しい runit サービス テンプレートを作成。-l が渡された場合は、ログ サービスも作成されます

     xmypkgs [email]
        → あなたが管理しているすべてのパッケージを一覧表示

     xnew [-a] パッケージ名 [subpkgs ...]
        → XBPSテンプレートを作成します
          -a 既存のパッケージにサブパッケージを追加します

     xnews [pattern]
        → パッケージのニュース メッセージをインストール日ごとに一覧表示

     xnodev
        → インストールされているパッケージのインストールされていない -devel パッケージを一覧表示

     xoptdiff [-q] [パッケージ名 ...]
        → バイナリパッケージとは異なるテンプレートオプションを表示
          -q  Quiet モード、パッケージ名のみを表示

     xpcdeps pcfile ...
        → pkg-config ファイルの Requires: セクションに一致するパッケージを検索(依存の検索)

     xpkg [-amOHDvV] [-r rootdir] [-R repo]
        → 便利なパッケージリスタ
          -a  すべてのパッケージを一覧表示 (デフォルト: インストールされているもののみ)
          -m  マニュアルパッケージを一覧表示
          -O  孤立したパッケージを一覧表示
          -H  保留中のパッケージを一覧表示
          -D  リポジトリにないインストール済みパッケージを一覧表示
          -L  リモート リポジトリからではなくインストールされたパッケージを一覧表示
          -v  バージョン番号を表示
          -V  バージョン番号と説明を表示
          -r rootdir
              ターゲットのルートディレクトリのフルパスを指定
          -R repo
              リポジトリからのパッケージのみを考慮します

     xpkgdiff [-Sfrxt] [-a arch] [-R url] [-c file] [-p prop,...] パッケージ名
        → リポジトリ内のパッケージをローカルでビルドされたバージョンと比較します
        - void-packages チェックアウト内から実行します
        - DIFF を設定して、使用する diff プログラムを変更します
          -S  パッケージのメタデータを比較します
          -f  パッケージファイルリストを比較します
          -r  逆差分 (ローカルとリモートの比較)
          -x  パッケージの依存関係を比較します
          -t  完全なパッケージの依存関係ツリーを比較します。 -x と共にのみ使います
              (xbps-query --fulldeptree -x と同等)
          -a arch
             比較用のアーキテクチャを設定します
          -R url
              リモートリポジトリのURLを設定します
          -c file
              パッケージのファイルを比較します (xbps-query --cat と同等)
          -p prop,...
              パッケージのプロパティを比較します

     xpstree
        → xbps-src プロセスのツリー ビューを表示

     xq [-R] パッケージ名 ...
        → XBPS パッケージに関する情報のクエリです
          -R  リモート リポジトリを対象にします

     xrevbump message templates ... [-- git commit options]
        → テンプレートのリビジョンを増やしてコミットします
           標準入力からテンプレートを読み取るには「-」を使用します

     xrevshlib package
        → パッケージまたはそのサブパッケージに依存する shlib パッケージの一覧表示

     xrs pattern
        → xbps-query -Rs と同様ですが、CWD リポジトリを考慮します

     xsrc パッケージ名
        → XBPS テンプレートのソース ファイルを一覧表示

     xsubpkg [-m] パッケージ名
        → パッケージのすべてのサブパッケージを一覧表示
          -m  メインパッケージのみを表示します

     xtree パッケージ名 ...
        → pkg (binpkgs を含む) に含まれるファイルを Tree(1) スタイルの形式で一覧表示
           Tree がインストールされていない場合は、xls になります

     xsubpkg [-m] パッケージ名
        → パッケージのすべてのサブパッケージを一覧表示
          -m  メインパッケージのみを表示します

     xtree パッケージ名 ...
        → pkg (binpkgs を含む) に含まれるファイルを Tree(1) スタイルの形式で一覧表示
           Tree アプリがインストールされていない場合は、xls になります

     xuname
        → Void のデバッグに関連するシステム情報を表示します

     xvoidstrap dir [packages]
        → 新しい Void インストールをブートストラップします

説明
     void-packages ツリー上で動作する Tools は、xdistdir を使用してそれを見つけ、
     最初にその出力が妥当であることを確認します

     xi、xls、xq、xrs は、void-packages チェックアウトから実行する場合、
     hostdir / binpkgs リポジトリを優先します

ライセンス
     xtools はパブリック ドメインです

     法律で可能な範囲で、この作品の作成者は、この作品に対するすべての
     著作権および関連、または隣接する権利を放棄しています。

     http://creativecommons.org/publicdomain/zero/1.0/

バグ
     すべてのバグは https://github.com/leahneukirchen/xtools に報告してください

Void Linux                       June 25, 2019                Void Linux
(END)

→スペースで改ページ:

→q で終了:

-

-


- --- - --- - --- - --- - --- - --- - --- ----- ----- ----- ----- -----

30-3. 「xtools」でよく使うツールの使い方:

-

まずは、ビルド環境に移動:

$ cd ~/git/void-packages

-


1). 簡単に「$ sudo xbps-install -S <パッケージ名>」を入力:

$ xi <パッケージ名>

→通常のインストールである、「xbps-install -S <パッケージ名>」だけでなく、

ローカルでビルドして「パッケージ化」したパッケージ(void-packagesリポジトリ内)をインストールするには、適切なリポジトリパス(置かれている場所)を指定する必要がありますが、

そのパスを自動で補完してくれ、省略できるので、パッケージのインストールが楽になります。

-


2). 簡単に「$ xbps-query @featherpad」を入力:

$ xq @featherpad
:
pkgver: @featherpad-1.6.2_1
short_desc: Lightweight Qt6 plain-text editor for Linux
architecture: x86_64
changelog: https://github.com/tsujan/FeatherPad/raw/master/ChangeLog
filename-sha256: f7d899d6bf7463db9cda03c9269da626df2b7d76b6089a37b70ff8b66ddd87eb
filename-size: 932KB
homepage: https://github.com/tsujan/FeatherPad
installed_size: 3482KB
license: GPL-3.0-or-later
maintainer: Orphaned <orphan@voidlinux.org>
pkgname: @featherpad
provides:
    cmd:featherpad-1.6.2_1
repository: /home/user/git/void-packages/hostdir/binpkgs
run_depends:
    qt6-core>=6.10.0_1
    qt6-dbus>=6.10.0_1
    qt6-gui>=6.10.0_1
    qt6-printsupport>=6.10.0_1
    qt6-svg>=6.10.0_1
    qt6-widgets>=6.10.0_1
    libX11>=1.2_1
    glibc>=2.41_1
    libgcc>=4.4.0_1
    libhunspell1.7>=1.7.0_1
    libstdc++>=4.4.0_1
shlib-requires:
    libQt6Core.so.6
    libQt6DBus.so.6
    libQt6Gui.so.6
    libQt6PrintSupport.so.6
    libQt6Svg.so.6
    libQt6Widgets.so.6
    libX11.so.6
    libc.so.6
    libgcc_s.so.1
    libhunspell-1.7.so.0
    libm.so.6
    libstdc++.so.6
sourcepkg: @featherpad
depends:
    qt6-core>=6.10.0_1
    qt6-dbus>=6.10.0_1
    qt6-gui>=6.10.0_1
    qt6-printsupport>=6.10.0_1
    qt6-svg>=6.10.0_1
    qt6-widgets>=6.10.0_1
    libX11>=1.2_1
    glibc>=2.41_1
    libgcc>=4.4.0_1
    libhunspell1.7>=1.7.0_1
    libstdc++>=4.4.0_1

-


3). 「ソース」のダウンロードサイトと、それに対する「パッチ」を表示:

$ xsrc @featherpad
:
https://github.com/tsujan/FeatherPad/archive/V1.6.2.tar.gz
/home/user/git/void-packages/srcpkgs/@featherpad/patches/01.help-del.patch
/home/user/git/void-packages/srcpkgs/@featherpad/patches/03.featherpad-desktop.patch
/home/user/git/void-packages/srcpkgs/@featherpad/patches/02.help-translation-jp.patch

-


4). パッケージをインストール後のファイルの配置を表示:

$ xls @featherpad
:
/usr/bin/featherpad
/usr/share/applications/featherpad.desktop
/usr/share/featherpad/help
/usr/share/featherpad/translations/featherpad_ar_DZ.qm
/usr/share/featherpad/translations/featherpad_bg.qm
/usr/share/featherpad/translations/featherpad_ca.qm
/usr/share/featherpad/translations/featherpad_cs.qm
/usr/share/featherpad/translations/featherpad_cy.qm
/usr/share/featherpad/translations/featherpad_da.qm
/usr/share/featherpad/translations/featherpad_de.qm
/usr/share/featherpad/translations/featherpad_el.qm
/usr/share/featherpad/translations/featherpad_eo.qm
/usr/share/featherpad/translations/featherpad_es.qm
/usr/share/featherpad/translations/featherpad_et.qm
/usr/share/featherpad/translations/featherpad_fa.qm
/usr/share/featherpad/translations/featherpad_fi.qm
/usr/share/featherpad/translations/featherpad_fr.qm
/usr/share/featherpad/translations/featherpad_he.qm
/usr/share/featherpad/translations/featherpad_hi.qm
/usr/share/featherpad/translations/featherpad_hr.qm
/usr/share/featherpad/translations/featherpad_hu.qm
/usr/share/featherpad/translations/featherpad_id.qm
/usr/share/featherpad/translations/featherpad_it.qm
/usr/share/featherpad/translations/featherpad_ja.qm
/usr/share/featherpad/translations/featherpad_ka.qm
/usr/share/featherpad/translations/featherpad_ko.qm
/usr/share/featherpad/translations/featherpad_lt.qm
/usr/share/featherpad/translations/featherpad_nb_NO.qm
/usr/share/featherpad/translations/featherpad_nl.qm
/usr/share/featherpad/translations/featherpad_pl.qm
/usr/share/featherpad/translations/featherpad_pt.qm
/usr/share/featherpad/translations/featherpad_pt_BR.qm
/usr/share/featherpad/translations/featherpad_ru.qm
/usr/share/featherpad/translations/featherpad_si.qm
/usr/share/featherpad/translations/featherpad_sk_SK.qm
/usr/share/featherpad/translations/featherpad_sl.qm
/usr/share/featherpad/translations/featherpad_sv.qm
/usr/share/featherpad/translations/featherpad_tr.qm
/usr/share/featherpad/translations/featherpad_uk.qm
/usr/share/featherpad/translations/featherpad_zh_CN.qm
/usr/share/featherpad/translations/featherpad_zh_TW.qm
/usr/share/icons/hicolor/scalable/apps/featherpad.svg
/usr/share/metainfo/featherpad.metainfo.xml
/usr/bin/fpad -> /usr/bin/featherpad

-


4). パッケージのインストール後の配置 (xls) をツリー表示:

tree のインストールが必要:

$ xtree @featherpad
:
.
└── usr
    ├── bin
    │   ├── featherpad
    │   └── fpad -> /usr/bin/featherpad
    └── share
        ├── applications
        │   └── featherpad.desktop
        ├── featherpad
        │   ├── help
        │   └── translations
        │       ├── featherpad_ar_DZ.qm
        │       ├── featherpad_bg.qm
        │       ├── featherpad_ca.qm
        │       ├── featherpad_cs.qm
        │       ├── featherpad_cy.qm
        │       ├── featherpad_da.qm
        │       ├── featherpad_de.qm
        │       ├── featherpad_el.qm
        │       ├── featherpad_eo.qm
        │       ├── featherpad_es.qm
        │       ├── featherpad_et.qm
        │       ├── featherpad_fa.qm
        │       ├── featherpad_fi.qm
        │       ├── featherpad_fr.qm
        │       ├── featherpad_he.qm
        │       ├── featherpad_hi.qm
        │       ├── featherpad_hr.qm
        │       ├── featherpad_hu.qm
        │       ├── featherpad_id.qm
        │       ├── featherpad_it.qm
        │       ├── featherpad_ja.qm
        │       ├── featherpad_ka.qm
        │       ├── featherpad_ko.qm
        │       ├── featherpad_lt.qm
        │       ├── featherpad_nb_NO.qm
        │       ├── featherpad_nl.qm
        │       ├── featherpad_pl.qm
        │       ├── featherpad_pt.qm
        │       ├── featherpad_pt_BR.qm
        │       ├── featherpad_ru.qm
        │       ├── featherpad_si.qm
        │       ├── featherpad_sk_SK.qm
        │       ├── featherpad_sl.qm
        │       ├── featherpad_sv.qm
        │       ├── featherpad_tr.qm
        │       ├── featherpad_uk.qm
        │       ├── featherpad_zh_CN.qm
        │       └── featherpad_zh_TW.qm
        ├── icons
        │   └── hicolor
        │       └── scalable
        │           └── apps
        │               └── featherpad.svg
        └── metainfo
            └── featherpad.metainfo.xml

-


5). インストールした日時を表示:

$ xilog @featherpad
:
@featherpad-1.6.2_1                      : 2025-11-14 21:57 JST

-


6). テンプレートの誤りを表示:

$ xlint @featherpad
:
@featherpad:1: Header should be: # Template file for '@featherpad'

→パッケージ名を変えた場合、「テンプレート」の先頭行のコメントも修正が必要みたい:

-

-


- --- - --- - --- - --- - --- - --- - --- ----- ----- ----- ----- ----- -

30-4. 「xpcdeps」の使い方:

-

依存するパッケージを表示します:

→pkg-config ファイルの Requires: セクションに一致するパッケージを検索します:

-

参考:

「pkg-config」コマンドは、パッケージのビルド時の依存関係の解決に使われるツールで、

「pkg-config」コマンドにて、ビルドに必要なヘッダーやライブラリの指定を、
/usr/share/pkgconfig/」や「/usr/lib/pkgconfig/」などに置かれた、
pkg-config 形式の「 *.pc」ファイルに従って出力します:

なので、他のビルドツールである「CMake」などからも使われています。

-

追記:

アプリを移植するときに「テンプレート」に「依存」を記述するのに便利かも、と期待しましたが、

(依存がわかっていないと書けない)「.pc」がインストールするシステムに登録されている場合にしか表示されないので、期待ハズレでした:

目的が違うようです。後で「依存を確認する」ときにしか使えません:

-


1). 依存するパッケージを表示:

「xpcdeps」の使い方がよくわからないので、試してみました:

-

$ xpcdeps pcfile
:
xpcdeps: No pkg-config file for pcfile found.

→「pcfile」の部分は、「pkg-config」コマンドで参照される「.pc」ファイルを指定するのかな?

-


2). 存在する「.pc」ファイルを検索:

$ find . -name *.pc | sort
:
./masterdir-x86_64/usr/lib/llvm/19/share/pkgconfig/libclc.pc
./masterdir-x86_64/usr/lib/pkgconfig/Qt6Concurrent.pc
./masterdir-x86_64/usr/lib/pkgconfig/Qt6Core.pc
./masterdir-x86_64/usr/lib/pkgconfig/Qt6DBus.pc
./masterdir-x86_64/usr/lib/pkgconfig/Qt6Gui.pc
./masterdir-x86_64/usr/lib/pkgconfig/Qt6Network.pc
./masterdir-x86_64/usr/lib/pkgconfig/Qt6OpenGL.pc
./masterdir-x86_64/usr/lib/pkgconfig/Qt6OpenGLWidgets.pc
./masterdir-x86_64/usr/lib/pkgconfig/Qt6Platform.pc
./masterdir-x86_64/usr/lib/pkgconfig/Qt6PrintSupport.pc
./masterdir-x86_64/usr/lib/pkgconfig/Qt6Sql.pc
./masterdir-x86_64/usr/lib/pkgconfig/Qt6Svg.pc
./masterdir-x86_64/usr/lib/pkgconfig/Qt6SvgWidgets.pc
./masterdir-x86_64/usr/lib/pkgconfig/Qt6Test.pc
./masterdir-x86_64/usr/lib/pkgconfig/Qt6WaylandClient.pc
./masterdir-x86_64/usr/lib/pkgconfig/Qt6Widgets.pc
./masterdir-x86_64/usr/lib/pkgconfig/Qt6Xml.pc
./masterdir-x86_64/usr/lib/pkgconfig/atk-bridge-2.0.pc
./masterdir-x86_64/usr/lib/pkgconfig/atk.pc
./masterdir-x86_64/usr/lib/pkgconfig/atspi-2.pc
./masterdir-x86_64/usr/lib/pkgconfig/avahi-client.pc
./masterdir-x86_64/usr/lib/pkgconfig/avahi-core.pc
./masterdir-x86_64/usr/lib/pkgconfig/blkid.pc
./masterdir-x86_64/usr/lib/pkgconfig/bzip2.pc
./masterdir-x86_64/usr/lib/pkgconfig/cairo-fc.pc
./masterdir-x86_64/usr/lib/pkgconfig/cairo-ft.pc
./masterdir-x86_64/usr/lib/pkgconfig/cairo-gobject.pc
./masterdir-x86_64/usr/lib/pkgconfig/cairo-pdf.pc
./masterdir-x86_64/usr/lib/pkgconfig/cairo-png.pc
./masterdir-x86_64/usr/lib/pkgconfig/cairo-ps.pc
./masterdir-x86_64/usr/lib/pkgconfig/cairo-script-interpreter.pc
./masterdir-x86_64/usr/lib/pkgconfig/cairo-script.pc
./masterdir-x86_64/usr/lib/pkgconfig/cairo-svg.pc
./masterdir-x86_64/usr/lib/pkgconfig/cairo-tee.pc
./masterdir-x86_64/usr/lib/pkgconfig/cairo-xcb-shm.pc
./masterdir-x86_64/usr/lib/pkgconfig/cairo-xcb.pc
./masterdir-x86_64/usr/lib/pkgconfig/cairo-xlib-xrender.pc
./masterdir-x86_64/usr/lib/pkgconfig/cairo-xlib.pc
./masterdir-x86_64/usr/lib/pkgconfig/cairo.pc
./masterdir-x86_64/usr/lib/pkgconfig/colord.pc
./masterdir-x86_64/usr/lib/pkgconfig/colorhug.pc
./masterdir-x86_64/usr/lib/pkgconfig/com_err.pc
./masterdir-x86_64/usr/lib/pkgconfig/cups.pc
./masterdir-x86_64/usr/lib/pkgconfig/d3d.pc
./masterdir-x86_64/usr/lib/pkgconfig/datrie-0.2.pc
./masterdir-x86_64/usr/lib/pkgconfig/dbus-1.pc
./masterdir-x86_64/usr/lib/pkgconfig/dri.pc
./masterdir-x86_64/usr/lib/pkgconfig/e2p.pc
./masterdir-x86_64/usr/lib/pkgconfig/egl.pc
./masterdir-x86_64/usr/lib/pkgconfig/epoxy.pc
./masterdir-x86_64/usr/lib/pkgconfig/expat.pc
./masterdir-x86_64/usr/lib/pkgconfig/ext2fs.pc
./masterdir-x86_64/usr/lib/pkgconfig/fontconfig.pc
./masterdir-x86_64/usr/lib/pkgconfig/formw.pc
./masterdir-x86_64/usr/lib/pkgconfig/freetype2.pc
./masterdir-x86_64/usr/lib/pkgconfig/fribidi.pc
./masterdir-x86_64/usr/lib/pkgconfig/fuse.pc
./masterdir-x86_64/usr/lib/pkgconfig/gail-3.0.pc
./masterdir-x86_64/usr/lib/pkgconfig/gbm.pc
./masterdir-x86_64/usr/lib/pkgconfig/gdk-3.0.pc
./masterdir-x86_64/usr/lib/pkgconfig/gdk-broadway-3.0.pc
./masterdir-x86_64/usr/lib/pkgconfig/gdk-pixbuf-2.0.pc
./masterdir-x86_64/usr/lib/pkgconfig/gdk-wayland-3.0.pc
./masterdir-x86_64/usr/lib/pkgconfig/gdk-x11-3.0.pc
./masterdir-x86_64/usr/lib/pkgconfig/gio-2.0.pc
./masterdir-x86_64/usr/lib/pkgconfig/gio-unix-2.0.pc
./masterdir-x86_64/usr/lib/pkgconfig/girepository-2.0.pc
./masterdir-x86_64/usr/lib/pkgconfig/gl.pc
./masterdir-x86_64/usr/lib/pkgconfig/glesv1_cm.pc
./masterdir-x86_64/usr/lib/pkgconfig/glesv2.pc
./masterdir-x86_64/usr/lib/pkgconfig/glib-2.0.pc
./masterdir-x86_64/usr/lib/pkgconfig/glx.pc
./masterdir-x86_64/usr/lib/pkgconfig/gmodule-2.0.pc
./masterdir-x86_64/usr/lib/pkgconfig/gmodule-export-2.0.pc
./masterdir-x86_64/usr/lib/pkgconfig/gmodule-no-export-2.0.pc
./masterdir-x86_64/usr/lib/pkgconfig/gmp.pc
./masterdir-x86_64/usr/lib/pkgconfig/gnutls-dane.pc
./masterdir-x86_64/usr/lib/pkgconfig/gnutls.pc
./masterdir-x86_64/usr/lib/pkgconfig/gobject-2.0.pc
./masterdir-x86_64/usr/lib/pkgconfig/graphite2.pc
./masterdir-x86_64/usr/lib/pkgconfig/gssrpc.pc
./masterdir-x86_64/usr/lib/pkgconfig/gthread-2.0.pc
./masterdir-x86_64/usr/lib/pkgconfig/gtk+-3.0.pc
./masterdir-x86_64/usr/lib/pkgconfig/gtk+-broadway-3.0.pc
./masterdir-x86_64/usr/lib/pkgconfig/gtk+-unix-print-3.0.pc
./masterdir-x86_64/usr/lib/pkgconfig/gtk+-wayland-3.0.pc
./masterdir-x86_64/usr/lib/pkgconfig/gtk+-x11-3.0.pc
./masterdir-x86_64/usr/lib/pkgconfig/gudev-1.0.pc
./masterdir-x86_64/usr/lib/pkgconfig/gusb.pc
./masterdir-x86_64/usr/lib/pkgconfig/harfbuzz-cairo.pc
./masterdir-x86_64/usr/lib/pkgconfig/harfbuzz-gobject.pc
./masterdir-x86_64/usr/lib/pkgconfig/harfbuzz-icu.pc
./masterdir-x86_64/usr/lib/pkgconfig/harfbuzz-subset.pc
./masterdir-x86_64/usr/lib/pkgconfig/harfbuzz.pc
./masterdir-x86_64/usr/lib/pkgconfig/hogweed.pc
./masterdir-x86_64/usr/lib/pkgconfig/hunspell.pc
./masterdir-x86_64/usr/lib/pkgconfig/ice.pc
./masterdir-x86_64/usr/lib/pkgconfig/icu-i18n.pc
./masterdir-x86_64/usr/lib/pkgconfig/icu-io.pc
./masterdir-x86_64/usr/lib/pkgconfig/icu-uc.pc
./masterdir-x86_64/usr/lib/pkgconfig/jbigkit.pc
./masterdir-x86_64/usr/lib/pkgconfig/jbigkit85.pc
./masterdir-x86_64/usr/lib/pkgconfig/json-glib-1.0.pc
./masterdir-x86_64/usr/lib/pkgconfig/kadm-client.pc
./masterdir-x86_64/usr/lib/pkgconfig/kadm-server.pc
./masterdir-x86_64/usr/lib/pkgconfig/kdb.pc
./masterdir-x86_64/usr/lib/pkgconfig/krb5-gssapi.pc
./masterdir-x86_64/usr/lib/pkgconfig/krb5.pc
./masterdir-x86_64/usr/lib/pkgconfig/lcms2.pc
./masterdir-x86_64/usr/lib/pkgconfig/libb2.pc
./masterdir-x86_64/usr/lib/pkgconfig/libbrotlicommon.pc
./masterdir-x86_64/usr/lib/pkgconfig/libbrotlidec.pc
./masterdir-x86_64/usr/lib/pkgconfig/libbrotlienc.pc
./masterdir-x86_64/usr/lib/pkgconfig/libcrypt.pc
./masterdir-x86_64/usr/lib/pkgconfig/libcrypto.pc
./masterdir-x86_64/usr/lib/pkgconfig/libdebuginfod.pc
./masterdir-x86_64/usr/lib/pkgconfig/libdrm.pc
./masterdir-x86_64/usr/lib/pkgconfig/libdrm_amdgpu.pc
./masterdir-x86_64/usr/lib/pkgconfig/libdrm_intel.pc
./masterdir-x86_64/usr/lib/pkgconfig/libdrm_nouveau.pc
./masterdir-x86_64/usr/lib/pkgconfig/libdrm_radeon.pc
./masterdir-x86_64/usr/lib/pkgconfig/libdw.pc
./masterdir-x86_64/usr/lib/pkgconfig/libecpg.pc
./masterdir-x86_64/usr/lib/pkgconfig/libecpg_compat.pc
./masterdir-x86_64/usr/lib/pkgconfig/libelf.pc
./masterdir-x86_64/usr/lib/pkgconfig/libevent.pc
./masterdir-x86_64/usr/lib/pkgconfig/libevent_core.pc
./masterdir-x86_64/usr/lib/pkgconfig/libevent_extra.pc
./masterdir-x86_64/usr/lib/pkgconfig/libevent_openssl.pc
./masterdir-x86_64/usr/lib/pkgconfig/libevent_pthreads.pc
./masterdir-x86_64/usr/lib/pkgconfig/libffi.pc
./masterdir-x86_64/usr/lib/pkgconfig/libglvnd.pc
./masterdir-x86_64/usr/lib/pkgconfig/libidn2.pc
./masterdir-x86_64/usr/lib/pkgconfig/libinput.pc
./masterdir-x86_64/usr/lib/pkgconfig/libjpeg.pc
./masterdir-x86_64/usr/lib/pkgconfig/liblzma.pc
./masterdir-x86_64/usr/lib/pkgconfig/libpcre2-16.pc
./masterdir-x86_64/usr/lib/pkgconfig/libpcre2-32.pc
./masterdir-x86_64/usr/lib/pkgconfig/libpcre2-8.pc
./masterdir-x86_64/usr/lib/pkgconfig/libpcre2-posix.pc
./masterdir-x86_64/usr/lib/pkgconfig/libpgtypes.pc
./masterdir-x86_64/usr/lib/pkgconfig/libpng.pc
./masterdir-x86_64/usr/lib/pkgconfig/libpng16.pc
./masterdir-x86_64/usr/lib/pkgconfig/libpq.pc
./masterdir-x86_64/usr/lib/pkgconfig/libproxy-1.0.pc
./masterdir-x86_64/usr/lib/pkgconfig/libsasl2.pc
./masterdir-x86_64/usr/lib/pkgconfig/libsharpyuv.pc
./masterdir-x86_64/usr/lib/pkgconfig/libssl.pc
./masterdir-x86_64/usr/lib/pkgconfig/libtasn1.pc
./masterdir-x86_64/usr/lib/pkgconfig/libthai.pc
./masterdir-x86_64/usr/lib/pkgconfig/libtiff-4.pc
./masterdir-x86_64/usr/lib/pkgconfig/libturbojpeg.pc
./masterdir-x86_64/usr/lib/pkgconfig/libudev.pc
./masterdir-x86_64/usr/lib/pkgconfig/libunbound.pc
./masterdir-x86_64/usr/lib/pkgconfig/libusb-1.0.pc
./masterdir-x86_64/usr/lib/pkgconfig/libvala-0.56.pc
./masterdir-x86_64/usr/lib/pkgconfig/libwebp.pc
./masterdir-x86_64/usr/lib/pkgconfig/libwebpdecoder.pc
./masterdir-x86_64/usr/lib/pkgconfig/libwebpdemux.pc
./masterdir-x86_64/usr/lib/pkgconfig/libwebpmux.pc
./masterdir-x86_64/usr/lib/pkgconfig/libxcrypt.pc
./masterdir-x86_64/usr/lib/pkgconfig/libxml-2.0.pc
./masterdir-x86_64/usr/lib/pkgconfig/libzstd.pc
./masterdir-x86_64/usr/lib/pkgconfig/lzo2.pc
./masterdir-x86_64/usr/lib/pkgconfig/md4c-html.pc
./masterdir-x86_64/usr/lib/pkgconfig/md4c.pc
./masterdir-x86_64/usr/lib/pkgconfig/menuw.pc
./masterdir-x86_64/usr/lib/pkgconfig/mit-krb5-gssapi.pc
./masterdir-x86_64/usr/lib/pkgconfig/mit-krb5.pc
./masterdir-x86_64/usr/lib/pkgconfig/mount.pc
./masterdir-x86_64/usr/lib/pkgconfig/mtdev.pc
./masterdir-x86_64/usr/lib/pkgconfig/ncurses++w.pc
./masterdir-x86_64/usr/lib/pkgconfig/ncursesw.pc
./masterdir-x86_64/usr/lib/pkgconfig/nettle.pc
./masterdir-x86_64/usr/lib/pkgconfig/odbc.pc
./masterdir-x86_64/usr/lib/pkgconfig/odbccr.pc
./masterdir-x86_64/usr/lib/pkgconfig/odbcinst.pc
./masterdir-x86_64/usr/lib/pkgconfig/opengl.pc
./masterdir-x86_64/usr/lib/pkgconfig/openssl.pc
./masterdir-x86_64/usr/lib/pkgconfig/p11-kit-1.pc
./masterdir-x86_64/usr/lib/pkgconfig/panelw.pc
./masterdir-x86_64/usr/lib/pkgconfig/pango.pc
./masterdir-x86_64/usr/lib/pkgconfig/pangocairo.pc
./masterdir-x86_64/usr/lib/pkgconfig/pangofc.pc
./masterdir-x86_64/usr/lib/pkgconfig/pangoft2.pc
./masterdir-x86_64/usr/lib/pkgconfig/pangoot.pc
./masterdir-x86_64/usr/lib/pkgconfig/pangoxft.pc
./masterdir-x86_64/usr/lib/pkgconfig/pciaccess.pc
./masterdir-x86_64/usr/lib/pkgconfig/pixman-1.pc
./masterdir-x86_64/usr/lib/pkgconfig/sm.pc
./masterdir-x86_64/usr/lib/pkgconfig/sqlite3.pc
./masterdir-x86_64/usr/lib/pkgconfig/ss.pc
./masterdir-x86_64/usr/lib/pkgconfig/tslib.pc
./masterdir-x86_64/usr/lib/pkgconfig/uuid.pc
./masterdir-x86_64/usr/lib/pkgconfig/vapigen-0.56.pc
./masterdir-x86_64/usr/lib/pkgconfig/vapigen.pc
./masterdir-x86_64/usr/lib/pkgconfig/vulkan.pc
./masterdir-x86_64/usr/lib/pkgconfig/wayland-client.pc
./masterdir-x86_64/usr/lib/pkgconfig/wayland-cursor.pc
./masterdir-x86_64/usr/lib/pkgconfig/wayland-egl-backend.pc
./masterdir-x86_64/usr/lib/pkgconfig/wayland-egl.pc
./masterdir-x86_64/usr/lib/pkgconfig/wayland-scanner.pc
./masterdir-x86_64/usr/lib/pkgconfig/wayland-server.pc
./masterdir-x86_64/usr/lib/pkgconfig/x11-xcb.pc
./masterdir-x86_64/usr/lib/pkgconfig/x11.pc
./masterdir-x86_64/usr/lib/pkgconfig/xatracker.pc
./masterdir-x86_64/usr/lib/pkgconfig/xau.pc
./masterdir-x86_64/usr/lib/pkgconfig/xcb-atom.pc
./masterdir-x86_64/usr/lib/pkgconfig/xcb-aux.pc
./masterdir-x86_64/usr/lib/pkgconfig/xcb-composite.pc
./masterdir-x86_64/usr/lib/pkgconfig/xcb-cursor.pc
./masterdir-x86_64/usr/lib/pkgconfig/xcb-damage.pc
./masterdir-x86_64/usr/lib/pkgconfig/xcb-dbe.pc
./masterdir-x86_64/usr/lib/pkgconfig/xcb-dpms.pc
./masterdir-x86_64/usr/lib/pkgconfig/xcb-dri2.pc
./masterdir-x86_64/usr/lib/pkgconfig/xcb-dri3.pc
./masterdir-x86_64/usr/lib/pkgconfig/xcb-event.pc
./masterdir-x86_64/usr/lib/pkgconfig/xcb-ewmh.pc
./masterdir-x86_64/usr/lib/pkgconfig/xcb-glx.pc
./masterdir-x86_64/usr/lib/pkgconfig/xcb-icccm.pc
./masterdir-x86_64/usr/lib/pkgconfig/xcb-image.pc
./masterdir-x86_64/usr/lib/pkgconfig/xcb-keysyms.pc
./masterdir-x86_64/usr/lib/pkgconfig/xcb-present.pc
./masterdir-x86_64/usr/lib/pkgconfig/xcb-randr.pc
./masterdir-x86_64/usr/lib/pkgconfig/xcb-record.pc
./masterdir-x86_64/usr/lib/pkgconfig/xcb-render.pc
./masterdir-x86_64/usr/lib/pkgconfig/xcb-renderutil.pc
./masterdir-x86_64/usr/lib/pkgconfig/xcb-res.pc
./masterdir-x86_64/usr/lib/pkgconfig/xcb-screensaver.pc
./masterdir-x86_64/usr/lib/pkgconfig/xcb-shape.pc
./masterdir-x86_64/usr/lib/pkgconfig/xcb-shm.pc
./masterdir-x86_64/usr/lib/pkgconfig/xcb-sync.pc
./masterdir-x86_64/usr/lib/pkgconfig/xcb-util.pc
./masterdir-x86_64/usr/lib/pkgconfig/xcb-xf86dri.pc
./masterdir-x86_64/usr/lib/pkgconfig/xcb-xfixes.pc
./masterdir-x86_64/usr/lib/pkgconfig/xcb-xinerama.pc
./masterdir-x86_64/usr/lib/pkgconfig/xcb-xinput.pc
./masterdir-x86_64/usr/lib/pkgconfig/xcb-xkb.pc
./masterdir-x86_64/usr/lib/pkgconfig/xcb-xtest.pc
./masterdir-x86_64/usr/lib/pkgconfig/xcb-xv.pc
./masterdir-x86_64/usr/lib/pkgconfig/xcb-xvmc.pc
./masterdir-x86_64/usr/lib/pkgconfig/xcb.pc
./masterdir-x86_64/usr/lib/pkgconfig/xcomposite.pc
./masterdir-x86_64/usr/lib/pkgconfig/xcursor.pc
./masterdir-x86_64/usr/lib/pkgconfig/xdamage.pc
./masterdir-x86_64/usr/lib/pkgconfig/xdmcp.pc
./masterdir-x86_64/usr/lib/pkgconfig/xext.pc
./masterdir-x86_64/usr/lib/pkgconfig/xfixes.pc
./masterdir-x86_64/usr/lib/pkgconfig/xft.pc
./masterdir-x86_64/usr/lib/pkgconfig/xi.pc
./masterdir-x86_64/usr/lib/pkgconfig/xinerama.pc
./masterdir-x86_64/usr/lib/pkgconfig/xkbcommon-x11.pc
./masterdir-x86_64/usr/lib/pkgconfig/xkbcommon.pc
./masterdir-x86_64/usr/lib/pkgconfig/xkbcomp.pc
./masterdir-x86_64/usr/lib/pkgconfig/xkbregistry.pc
./masterdir-x86_64/usr/lib/pkgconfig/xrandr.pc
./masterdir-x86_64/usr/lib/pkgconfig/xrender.pc
./masterdir-x86_64/usr/lib/pkgconfig/xtst.pc
./masterdir-x86_64/usr/lib/pkgconfig/zlib.pc
./masterdir-x86_64/usr/share/pkgconfig/adwaita-icon-theme.pc
./masterdir-x86_64/usr/share/pkgconfig/bigreqsproto.pc
./masterdir-x86_64/usr/share/pkgconfig/compositeproto.pc
./masterdir-x86_64/usr/share/pkgconfig/damageproto.pc
./masterdir-x86_64/usr/share/pkgconfig/dmxproto.pc
./masterdir-x86_64/usr/share/pkgconfig/dpmsproto.pc
./masterdir-x86_64/usr/share/pkgconfig/dri2proto.pc
./masterdir-x86_64/usr/share/pkgconfig/dri3proto.pc
./masterdir-x86_64/usr/share/pkgconfig/evieproto.pc
./masterdir-x86_64/usr/share/pkgconfig/fixesproto.pc
./masterdir-x86_64/usr/share/pkgconfig/fontcacheproto.pc
./masterdir-x86_64/usr/share/pkgconfig/fontsproto.pc
./masterdir-x86_64/usr/share/pkgconfig/gi-docgen.pc
./masterdir-x86_64/usr/share/pkgconfig/glproto.pc
./masterdir-x86_64/usr/share/pkgconfig/hwdata.pc
./masterdir-x86_64/usr/share/pkgconfig/inputproto.pc
./masterdir-x86_64/usr/share/pkgconfig/iso-codes.pc
./masterdir-x86_64/usr/share/pkgconfig/kbproto.pc
./masterdir-x86_64/usr/share/pkgconfig/lg3dproto.pc
./masterdir-x86_64/usr/share/pkgconfig/libclc.pc
./masterdir-x86_64/usr/share/pkgconfig/presentproto.pc
./masterdir-x86_64/usr/share/pkgconfig/printproto.pc
./masterdir-x86_64/usr/share/pkgconfig/randrproto.pc
./masterdir-x86_64/usr/share/pkgconfig/recordproto.pc
./masterdir-x86_64/usr/share/pkgconfig/renderproto.pc
./masterdir-x86_64/usr/share/pkgconfig/resourceproto.pc
./masterdir-x86_64/usr/share/pkgconfig/scrnsaverproto.pc
./masterdir-x86_64/usr/share/pkgconfig/shared-mime-info.pc
./masterdir-x86_64/usr/share/pkgconfig/trapproto.pc
./masterdir-x86_64/usr/share/pkgconfig/udev.pc
./masterdir-x86_64/usr/share/pkgconfig/videoproto.pc
./masterdir-x86_64/usr/share/pkgconfig/wayland-protocols.pc
./masterdir-x86_64/usr/share/pkgconfig/xcalibrateproto.pc
./masterdir-x86_64/usr/share/pkgconfig/xcmiscproto.pc
./masterdir-x86_64/usr/share/pkgconfig/xextproto.pc
./masterdir-x86_64/usr/share/pkgconfig/xf86bigfontproto.pc
./masterdir-x86_64/usr/share/pkgconfig/xf86dgaproto.pc
./masterdir-x86_64/usr/share/pkgconfig/xf86driproto.pc
./masterdir-x86_64/usr/share/pkgconfig/xf86miscproto.pc
./masterdir-x86_64/usr/share/pkgconfig/xf86rushproto.pc
./masterdir-x86_64/usr/share/pkgconfig/xf86vidmodeproto.pc
./masterdir-x86_64/usr/share/pkgconfig/xineramaproto.pc
./masterdir-x86_64/usr/share/pkgconfig/xkeyboard-config-2.pc
./masterdir-x86_64/usr/share/pkgconfig/xkeyboard-config.pc
./masterdir-x86_64/usr/share/pkgconfig/xproto.pc
./masterdir-x86_64/usr/share/pkgconfig/xproxymngproto.pc
./masterdir-x86_64/usr/share/pkgconfig/xtrans.pc
./masterdir-x86_64/usr/share/pkgconfig/xwaylandproto.pc
./srcpkgs/bzip2/files/bzip2.pc
./srcpkgs/libid3tag/files/id3tag.pc
./srcpkgs/libircclient/files/libircclient.pc
./srcpkgs/libsrtp/files/libsrtp.pc
./srcpkgs/lua51/files/lua.pc
./srcpkgs/lua52/files/lua.pc
./srcpkgs/lua53/files/lua.pc
./srcpkgs/lua54/files/lua.pc
./srcpkgs/qhull/files/qhull.pc
./srcpkgs/rpi-base/files/bcm_host.pc
./srcpkgs/rpi-base/files/egl.pc
./srcpkgs/rpi-base/files/glesv2.pc
./srcpkgs/stb/files/stb.pc
./srcpkgs/stk/files/stk.pc

→「.pc」が存在するパッケージと、存在しないパッケージがあります:

なので、すべてのパッケージで「xpcdeps」が使えるとは限りません:

-


3). 参考に、「Qt5Help.pc」ファイルの内容を確認:

$ cat ./masterdir-x86_64/usr/lib/pkgconfig/Qt5Help.pc
prefix=/usr
exec_prefix=${prefix}
libdir=${prefix}/lib
includedir=${prefix}/include/qt5

Name: Qt5 Help
Description: Qt Help module
Version: 5.15.11
Libs: -lQt5Help 
Cflags: -DQT_HELP_LIB -I${includedir}/QtHelp -I${includedir}
Requires: Qt5Core Qt5Gui Qt5Widgets Qt5Sql  ←(注目)

→「Requires:」(和訳: 必要)の項目がありました:

-


4).「xpcdeps」で(ファイル名の)「Qt5Help.pc」を指定してみる:(失敗)

$ xpcdeps Qt5Help.pc
:
xpcdeps: No pkg-config file for Qt5Help.pc found.

-


5).「xpcdeps」で(拡張子なしの)「Qt5Help」を指定してみる:(成功)

指定したのは、パッケージ名でなく、モジュール名?(機能名?)になるのかな:

$ xpcdeps Qt5Help
:
qt5-devel -> Qt5Core
qt5-devel -> Qt5Gui
qt5-devel -> Qt5Sql
qt5-devel -> Qt5Widgets

→「Qt5Help」に「Qt5Help.pc」が存在したので、表示されました:

-


6). 参考:「Qt5Help」関連について:

参考にした「Qt5Help」は特殊だったみたい:

-

各依存を表示:
$ xpcdeps Qt5Core
$ 

→表示されないだけで、エラーにはなりません:

-

$ xpcdeps Qt5Gui
qt5-devel -> Qt5Core

-

$ xpcdeps Qt5Sql
qt5-devel -> Qt5Core

-

$ xpcdeps Qt5Widgets
qt5-devel -> Qt5Core
qt5-devel -> Qt5Gui

-

詳細表示:
$ xbps-query qt5-devel
$

→詳細が表示されません:

-

xbps-src に存在するか確認:
$ ls srcpkgs | grep ^qt5-devel
qt5-devel

→テンプレートは存在します:

-

通常のツリー表示:
$ tree srcpkgs/qt5-devel
:
srcpkgs/qt5-devel
├── files
│   ├── assistant-qt5.desktop
│   ├── assistant.pro
│   ├── cross-gcc.patch
│   ├── cross-ninja.patch
│   ├── designer-qt5.desktop
│   ├── designer_src.pro
│   ├── lconvert.pro
│   ├── linguist-qt5.desktop
│   ├── linguist.pro
│   ├── lrelease.pro
│   ├── lupdate.pro
│   ├── moc.pro
│   ├── qdbuscpp2xml.pro
│   ├── qdbusviewer-qt5.desktop
│   ├── qdbusxml2cpp.pro
│   ├── qlalr.pro
│   ├── qmlcachegen.pro
│   ├── qmlformat.pro
│   ├── qmlimportscanner.pro
│   ├── qmllint.pro
│   ├── qmlmin.pro
│   ├── qttools_src.pro
│   ├── rcc.pro
│   ├── uic.pro
│   └── uitools.pro
├── patches
│   ├── 0001-addlr.patch
│   ├── 0002-gl-lib-dir.patch
│   ├── 0007-musl-iconv-no-bom.patch
│   ├── 0014-musl-set_thread_name_np.patch
│   ├── 0016-musl-stackbottom.patch
│   ├── 0018-musl-timeval.patch
│   ├── 0048-big-endian-qtquick-software.patch
│   ├── 0049-big-endian-scroll.patch
│   ├── 0050-qmake-mkspecs.patch
│   ├── mapbox-icu78.patch
│   └── qtbase-5.15.9-work-around-pyside2-brokenness.patch
└── template

3 directories, 37 files

-

「qt5-devel」のテンプレートを表示:
$ cat srcpkgs/qt5-devel/template

→サイズが大きいので省略:

-

xtree でツリー表示:
$ xtree qt5-devel
:
: 多いので省略:
        │   ├── Qt5ServiceSupport
        │   │   ├── Qt5ServiceSupportConfig.cmake
        │   │   └── Qt5ServiceSupportConfigVersion.cmake
        │   ├── Qt5Sql
        │   │   ├── Qt5SqlConfig.cmake
        │   │   ├── Qt5SqlConfigVersion.cmake
        │   │   ├── Qt5Sql_QMYSQLDriverPlugin.cmake
        │   │   ├── Qt5Sql_QODBCDriverPlugin.cmake
        │   │   ├── Qt5Sql_QPSQLDriverPlugin.cmake
        │   │   ├── Qt5Sql_QSQLiteDriverPlugin.cmake
        │   │   └── Qt5Sql_QTDSDriverPlugin.cmake
        │   ├── Qt5Test
        │   │   ├── Qt5TestConfig.cmake
        │   │   ├── Qt5TestConfigExtras.cmake
        │   │   └── Qt5TestConfigVersion.cmake
        │   ├── Qt5ThemeSupport
        │   │   ├── Qt5ThemeSupportConfig.cmake
        │   │   └── Qt5ThemeSupportConfigVersion.cmake
        │   ├── Qt5VulkanSupport
        │   │   ├── Qt5VulkanSupportConfig.cmake
        │   │   └── Qt5VulkanSupportConfigVersion.cmake
        │   ├── Qt5Widgets
        │   │   ├── Qt5WidgetsConfig.cmake
        │   │   ├── Qt5WidgetsConfigExtras.cmake
        │   │   ├── Qt5WidgetsConfigVersion.cmake
        │   │   └── Qt5WidgetsMacros.cmake
        │   ├── Qt5XcbQpa
        │   │   ├── Qt5XcbQpaConfig.cmake
        │   │   └── Qt5XcbQpaConfigVersion.cmake
        │   ├── Qt5XkbCommonSupport
        │   │   ├── Qt5XkbCommonSupportConfig.cmake
        │   │   └── Qt5XkbCommonSupportConfigVersion.cmake
        │   └── Qt5Xml
        │       ├── Qt5XmlConfig.cmake
        │       └── Qt5XmlConfigVersion.cmake
        ├── libQt5AccessibilitySupport.a
        ├── libQt5AccessibilitySupport.prl
        ├── libQt5Bootstrap.a
        ├── libQt5Bootstrap.prl
        ├── libQt5Concurrent.prl
        ├── libQt5Core.prl
        ├── libQt5DBus.prl
        ├── libQt5DeviceDiscoverySupport.a
        ├── libQt5DeviceDiscoverySupport.prl
        ├── libQt5EdidSupport.a
        ├── libQt5EdidSupport.prl
        ├── libQt5EglFSDeviceIntegration.prl
        ├── libQt5EglFsKmsSupport.prl
        ├── libQt5EglSupport.a
        ├── libQt5EglSupport.prl
        ├── libQt5EventDispatcherSupport.a
        ├── libQt5EventDispatcherSupport.prl
        ├── libQt5FbSupport.a
        ├── libQt5FbSupport.prl
        ├── libQt5FontDatabaseSupport.a
        ├── libQt5FontDatabaseSupport.prl
        ├── libQt5GlxSupport.a
        ├── libQt5GlxSupport.prl
        ├── libQt5Gui.prl
        ├── libQt5InputSupport.a
        ├── libQt5InputSupport.prl
        ├── libQt5KmsSupport.a
        ├── libQt5KmsSupport.prl
        ├── libQt5LinuxAccessibilitySupport.a
        ├── libQt5LinuxAccessibilitySupport.prl
        ├── libQt5Network.prl
        ├── libQt5OpenGL.prl
        ├── libQt5OpenGLExtensions.a
        ├── libQt5OpenGLExtensions.prl
        ├── libQt5PlatformCompositorSupport.a
        ├── libQt5PlatformCompositorSupport.prl
        ├── libQt5PrintSupport.prl
        ├── libQt5ServiceSupport.a
        ├── libQt5ServiceSupport.prl
        ├── libQt5Sql.prl
        ├── libQt5Test.prl
        ├── libQt5ThemeSupport.a
        ├── libQt5ThemeSupport.prl
        ├── libQt5VulkanSupport.a
        ├── libQt5VulkanSupport.prl
        ├── libQt5Widgets.prl
        ├── libQt5XcbQpa.prl
        ├── libQt5XkbCommonSupport.a
        ├── libQt5XkbCommonSupport.prl
        ├── libQt5Xml.prl
        └── pkgconfig
            ├── Qt5Concurrent.pc
            ├── Qt5Core.pc
            ├── Qt5DBus.pc
            ├── Qt5Gui.pc
            ├── Qt5Network.pc
            ├── Qt5OpenGL.pc
            ├── Qt5OpenGLExtensions.pc
            ├── Qt5PrintSupport.pc
            ├── Qt5Sql.pc
            ├── Qt5Test.pc
            ├── Qt5Widgets.pc
            └── Qt5Xml.pc

→「*.pc」が使われていました:

「cmake」で使われているみたい:

ここには「Qt5Help.pc」はないみたい:

-

依存するパッケージ名を検索:
$ xbps-query -Rs qt5 | grep "] qt5" | grep core
:
[-] qt5-core-5.15.11+20231124_6        Cross-platform application and UI framework (QT5) - Core

→「qt5-core」

-

$ xbps-query -Rs qt5 | grep "] qt5" | grep gui
:
[-] qt5-gui-5.15.11+20231124_6         Cross-platform application and UI framework (QT5) - Gui

→「qt5-gui

-

$ xbps-query -Rs qt5 | grep "] qt5" | grep sql
:
[-] qt5-plugin-mysql-5.15.11+20231124_6    Cross-platform application and UI framework (QT5) - MySQL plugin
[-] qt5-plugin-pgsql-5.15.11+20231124_6    Cross-platform application and UI framework (QT5) - PostgreSQL plugin
[-] qt5-plugin-sqlite-5.15.11+20231124_6   Cross-platform application and UI framework (QT5) - SQLite plugin
[-] qt5-sql-5.15.11+20231124_6             Cross-platform application and UI framework (QT5) - Sql

→「qt5-sql

-

$  xbps-query -Rs qt5 | grep help
:
[-] python3-PyQt5-tools-5.15.11_1      Python 3 bindings for the Qt5 toolkit - designer, help modules

→「qt5-help」というパッケージ名はなし:

-

-


- --- - --- - --- - --- - --- - --- - --- ----- ----- ----- ----- ----- --

30-5. 「xlocate」の使い方:

-


1). 「xlocate」のヘルプを表示:

$ xlocate -h
:
Usage: xlocate [-g | -S | [-EFGPiw] PATTERN]

-

このヘルプだけでは、使い方がわからないので、


2). 「xlocate」のマニュアルを表示:

$ man xlocate
XTOOLS(1)                   General Commands Manual            XTOOLS(1)

NAME
     xtools – A collection of small utilities for use with XBPS

COMMANDS
     xbarf
        – Display build logs of last build

     xbulk [-n] [-k] [xbps-src flags] pkgs ...
        – simple XBPS bulk builder
          -n  dry-run mode
          -k  keep going on errors

     xbump pkgname [git commit options]
        – git commit a new package or package update. If pkgname is ‘:’, a
        commit will be made for each template staged in the git index.

     xchangelog template | pkgname
        – open package changelog

     xcheckmypkgs [email]
        – check your packages for updates
:

→スペースを数回押して、「xlocate」の部分を表示:

和訳:

 xlocate -g | -S | [-EFGPiw] pattern
    – すべての XBPS パッケージ内のファイルを検索します
      -g  ローカル リポジトリに便利な git ベースの xlocate データベースを更新します
      -S  公式の git ベースの xlocate データベースと同期します
          ツールを使う前にこれをお勧めします
      -E | -F | -G | -P | -i | -w
          パターンのマッチング方法を変更します。詳細については、 git-grep(1) を参照

→q で終了:

-


3). 詳細を見るため、「git-grep」のマニュアルを表示:

$ man git-grep

和訳:

GIT-GREP(1)                       Git Manual                 GIT-GREP(1)

名前
       git-grep - パターンに一致する行を表示します

概要
       git grep [-a | --text] [-I] [--textconv] [-i | --ignore-case] [-w | --word-regexp]
                  [-v | --invert-match] [-h|-H] [--full-name]
                  [-E | --extended-regexp] [-G | --basic-regexp]
                  [-P | --perl-regexp]
                  [-F | --fixed-strings] [-n | --line-number] [--column]
                  [-l | --files-with-matches] [-L | --files-without-match]
                  [(-O | --open-files-in-pager) [<pager>]]
                  [-z | --null]
                  [ -o | --only-matching ] [-c | --count] [--all-match] [-q | --quiet]
                  [--max-depth <depth>] [--[no-]recursive]
                  [--color[=<when>] | --no-color]
                  [--break] [--heading] [-p | --show-function]
                  [-A <post-context>] [-B <pre-context>] [-C <context>]
                  [-W | --function-context]
                  [(-m | --max-count) <num>]
                  [--threads <num>]
                  [-f <file>] [-e] <pattern>
                  [--and|--or|--not|(|)|-e <pattern>...]
                  [--recurse-submodules] [--parent-basename <basename>]
                  [ [--[no-]exclude-standard] [--cached | --untracked | --no-index] | <tree>...]
                  [--] [<pathspec>...]

説明
           ワーク ツリー内の追跡対象ファイル、
           インデックス ファイルに登録されている blobs、
           または指定されたツリー オブジェクト内の blobs で指定されたパターンを検索します。
           パターンは、改行文字で区切られた 1つ以上の検索式のリストです。
           検索式として空の文字列を指定すると、すべての行に一致します。

オプション
       --cached
           作業ツリーで追跡されたファイルを検索する代わりに、
           インデックス ファイルに登録されている BLOB を検索します。

       --untracked
           作業ツリー内の追跡ファイルの検索に加えて、
           追跡されていないファイルも検索します。
:

→スペース で改ページ:

→q で終了:

-


4). 「xlocate」の使用例:

ファイルパスから、そのファイルがどのパッケージに含まれているかを検索します:
ネットワークアクセスなしでローカルキャッシュされたインデックスを確認します。

使う前に 「xlocate -S」を実行して、xlocate データベースを更新しておく必要があります。

-

まずは、xlocate のデータベースを更新:
$ xlocate -S
:
Cloning into bare repository '/home/user/.cache/xlocate.git'...
Fetching objects: 19454, done.

-

「パス」を指定しての検索:
$ which featherpad
:
/usr/bin/featherpad
$ xlocate /usr/bin/xlocate
:
xtools-0.70_1  /usr/bin/xlocate

-

「パッケージ名」を指定して検索:
$ xlocate featherpad
:
FeatherPad-1.6.2_1             /usr/bin/featherpad
FeatherPad-1.6.2_1             /usr/bin/fpad -> /usr/bin/featherpad
FeatherPad-1.6.2_1             /usr/share/applications/featherpad.desktop
FeatherPad-1.6.2_1             /usr/share/featherpad/help
FeatherPad-1.6.2_1             /usr/share/featherpad/translations/featherpad_ar_DZ.qm
FeatherPad-1.6.2_1             /usr/share/featherpad/translations/featherpad_bg.qm
FeatherPad-1.6.2_1             /usr/share/featherpad/translations/featherpad_ca.qm
FeatherPad-1.6.2_1             /usr/share/featherpad/translations/featherpad_cs.qm
FeatherPad-1.6.2_1             /usr/share/featherpad/translations/featherpad_cy.qm
FeatherPad-1.6.2_1             /usr/share/featherpad/translations/featherpad_da.qm
FeatherPad-1.6.2_1             /usr/share/featherpad/translations/featherpad_de.qm
FeatherPad-1.6.2_1             /usr/share/featherpad/translations/featherpad_el.qm
FeatherPad-1.6.2_1             /usr/share/featherpad/translations/featherpad_eo.qm
FeatherPad-1.6.2_1             /usr/share/featherpad/translations/featherpad_es.qm
FeatherPad-1.6.2_1             /usr/share/featherpad/translations/featherpad_et.qm
FeatherPad-1.6.2_1             /usr/share/featherpad/translations/featherpad_fa.qm
FeatherPad-1.6.2_1             /usr/share/featherpad/translations/featherpad_fi.qm
FeatherPad-1.6.2_1             /usr/share/featherpad/translations/featherpad_fr.qm
FeatherPad-1.6.2_1             /usr/share/featherpad/translations/featherpad_he.qm
FeatherPad-1.6.2_1             /usr/share/featherpad/translations/featherpad_hi.qm
FeatherPad-1.6.2_1             /usr/share/featherpad/translations/featherpad_hr.qm
FeatherPad-1.6.2_1             /usr/share/featherpad/translations/featherpad_hu.qm
FeatherPad-1.6.2_1             /usr/share/featherpad/translations/featherpad_id.qm
FeatherPad-1.6.2_1             /usr/share/featherpad/translations/featherpad_it.qm
FeatherPad-1.6.2_1             /usr/share/featherpad/translations/featherpad_ja.qm
FeatherPad-1.6.2_1             /usr/share/featherpad/translations/featherpad_ka.qm
FeatherPad-1.6.2_1             /usr/share/featherpad/translations/featherpad_ko.qm
FeatherPad-1.6.2_1             /usr/share/featherpad/translations/featherpad_lt.qm
FeatherPad-1.6.2_1             /usr/share/featherpad/translations/featherpad_nb_NO.qm
FeatherPad-1.6.2_1             /usr/share/featherpad/translations/featherpad_nl.qm
FeatherPad-1.6.2_1             /usr/share/featherpad/translations/featherpad_pl.qm
FeatherPad-1.6.2_1             /usr/share/featherpad/translations/featherpad_pt.qm
FeatherPad-1.6.2_1             /usr/share/featherpad/translations/featherpad_pt_BR.qm
FeatherPad-1.6.2_1             /usr/share/featherpad/translations/featherpad_ru.qm
FeatherPad-1.6.2_1             /usr/share/featherpad/translations/featherpad_si.qm
FeatherPad-1.6.2_1             /usr/share/featherpad/translations/featherpad_sk_SK.qm
FeatherPad-1.6.2_1             /usr/share/featherpad/translations/featherpad_sl.qm
FeatherPad-1.6.2_1             /usr/share/featherpad/translations/featherpad_sv.qm
FeatherPad-1.6.2_1             /usr/share/featherpad/translations/featherpad_tr.qm
FeatherPad-1.6.2_1             /usr/share/featherpad/translations/featherpad_uk.qm
FeatherPad-1.6.2_1             /usr/share/featherpad/translations/featherpad_zh_CN.qm
FeatherPad-1.6.2_1             /usr/share/featherpad/translations/featherpad_zh_TW.qm
FeatherPad-1.6.2_1             /usr/share/icons/hicolor/scalable/apps/featherpad.svg
FeatherPad-1.6.2_1             /usr/share/metainfo/featherpad.metainfo.xml
papirus-icon-theme-20250501_1  /usr/share/icons/Papirus/16x16/apps/featherpad.svg
papirus-icon-theme-20250501_1  /usr/share/icons/Papirus/22x22/apps/featherpad.svg
papirus-icon-theme-20250501_1  /usr/share/icons/Papirus/24x24/apps/featherpad.svg
papirus-icon-theme-20250501_1  /usr/share/icons/Papirus/32x32/apps/featherpad.svg
papirus-icon-theme-20250501_1  /usr/share/icons/Papirus/48x48/apps/featherpad.svg
papirus-icon-theme-20250501_1  /usr/share/icons/Papirus/64x64/apps/featherpad.svg

-

@featherpad をパッケージ化後に、xlocate のデータベースを更新:
$ xlocate -S
:
Fetching objects: 19460, done.
From https://repo-default.voidlinux.org/xlocate/xlocate
 + 52d52872...903f40f6 master     -> master  (forced update)

-

「パス」を指定して検索:
$ which featherpad
:
/usr/bin/featherpad
$ xlocate /usr/bin/featherpad
:
FeatherPad-1.6.2_1  /usr/bin/featherpad
FeatherPad-1.6.2_1  /usr/bin/fpad -> /usr/bin/featherpad

→「xtools」は、リモート側のみの検索しか想定されていません:

-

$ xbps-query -Rs featherpad
:
[-] FeatherPad-1.6.2_1 Lightweight Qt6 plain-text editor for Linux

-

$ xbps-query -s featherpad
:
[*] @featherpad-1.6.2_1 Lightweight Qt6 plain-text editor for Linux

-

$ xbps-query -s @featherpad
:
[*] @featherpad-1.6.2_1 Lightweight Qt6 plain-text editor for Linux

-

たぶん、リポジトリをフォークして、個人的なリポジトリを作成して使えば、「xtools」と同期?できるかも:

-

-


- --- - --- - --- - --- - --- - --- - --- ----- ----- ----- ----- ----- ---

30-6. 「xtools」の「その他」のツールの使い方:

-

動作は未確認:

-


1). xchroot

xbps-src のビルド環境(chroot)に入るためのツールです:

ソースからパッケージをビルドするときに便利です。

-


2). xbarf

パッケージの新規作成や更新のコミットを支援するコマンドです:

-


3). xgensum

パッケージのテンプレートのチェックサムを生成または更新します:

-


4). xcheckrestart

アップデート後に再起動が必要なサービスやプロセスを確認するためのツールです:

-

-


まとめ

今回は、以前の仮想マシンとは別の「Void Linux」に、(ソースのダウンロード、ビルド、パッケージ化する)作業を半自動化して「アプリの移植」を楽にしてくれる、「xbps-src」のビルド環境をセットアップしました:

-

気付いたのは、個人でアプリの移植やソースの修正をした場合、既存のパッケージに埋もれてしまうこと:

なので、(前回分も含めて)今回から、アプリの移植や、ソースファイルに手を加えたパッケージは、パッケージ名の先頭に「@」を付けて、区別できるようにしました:

変更の手間は少しですが、その割に、

「テンプレート」をフォルダごと、一括で退避や保存がしやすいし、
「xi コマンド」でインストールするとき、「明確に」ローカルに置かれたパッケージを指定できます:

-

-

「xbps-src」にて、Qt6 への移行の影響?なのか、既存のパッケージでエラーします:

影響の範囲がわからないので、すべてのパッケージのビルドが正常にできるか(大変ですが)確認が必要かも。

本来のアプリの移植が進まないので、早く収まるといいですね。

-

追記:

エラーの原因が判明しました:

Qt6 でプラグインや内部のライブラリを使う場合、qmake でコンパイルできないため、ビルドシステムを cmake に移行する必要があるみたい:

つまり、アプリによっては、「build_style=qmake」を「build_style=cmake」に変更(ソフト側でビルドのやり方を変更)する必要があります:

手間ですが、「Void Linux」の「xbps-src」であれば、パッチで対応できる可能性があります。

-

-

参考:

移植した成果を「xbps-src」のリポジトリ等にアップしたい場合は:

「アプリ」のソースの修正があれば(移植でなく改変になるので)削除してアップします:
通常、「アプリ」のソースの修正(改変)を上げるときは、アプリの本家に「プルリクエスト」します:

-

-


-

-

    目次

-

「投稿の先頭 へ」

-

-


-

「この目次 の先頭へ」

「本編の目次 に戻る」

-