📢 Webサイト閉鎖と移転のお知らせ
このWebサイトは2026年9月に閉鎖いたします。
新しい記事は移転先で追加しております。(旧サイトでは記事を追加しておりません)
| 23行目: | 23行目: | ||
PolKitのビルドに必要なライブラリをインストールする。<br> | PolKitのビルドに必要なライブラリをインストールする。<br> | ||
# SUSE | # SUSE | ||
sudo zypper install dbus-1-devel libexpat-devel systemd-devel glib2-devel gtk3-devel gobject-introspection-devel mozjs78-devel pam-devel duktape-devel | sudo zypper install meson dbus-1-devel libexpat-devel systemd-devel glib2-devel gtk3-devel gobject-introspection-devel mozjs78-devel pam-devel duktape-devel gtk-dpc | ||
<br> | <br> | ||
[https://www.freedesktop.org/software/polkit/releases/ PolKitの公式Webサイト]または[https://gitlab.freedesktop.org/polkit/polkit/-/tags GitLab]にアクセスして、ソースコードをダウンロードする。<br> | [https://www.freedesktop.org/software/polkit/releases/ PolKitの公式Webサイト]または[https://gitlab.freedesktop.org/polkit/polkit/-/tags GitLab]にアクセスして、ソースコードをダウンロードする。<br> | ||
| 36行目: | 36行目: | ||
PolKitをビルドおよびインストールする。<br> | PolKitをビルドおよびインストールする。<br> | ||
設定可能なオプションの一覧は、<code>meson configure</code>コマンドで取得することができる。<br> | 設定可能なオプションの一覧は、<code>meson configure</code>コマンドで取得することができる。<br> | ||
# RHEL | |||
meson setup build --prefix=<PolKitのインストールディレクトリ> -Dos_type=redhat -Dexamples=true -Dman=true -Dgtk_doc=true | |||
# SUSE | |||
meson setup build --prefix=<PolKitのインストールディレクトリ> -Dos_type=suse -Dexamples=true -Dman=true -Dgtk_doc=true | meson setup build --prefix=<PolKitのインストールディレクトリ> -Dos_type=suse -Dexamples=true -Dman=true -Dgtk_doc=true | ||
meson compile -C build | meson compile -C build | ||
meson install -C build | meson install -C build | ||