「DeveloperWiki:PKGBUILD.com」の版間の差分

提供: ArchWiki
ナビゲーションに移動 検索に移動
 
(セクション見出しの訳出)
1行目: 1行目:
[[Category:Arch development]]
+
[[Category:Arch 開発]]
  +
[[en:DeveloperWiki:PKGBUILD.com]]
==Warning==
 
  +
==警告==
 
This article now describes the build server at '''dragon.archlinux.org''' instead.
 
This article now describes the build server at '''dragon.archlinux.org''' instead.
   
  +
==使うべきディレクトリ==
==Directories that must be used==
 
   
 
All users should use '''only''' {{ic|~/packages}} for storing packages builds and {{ic|~/svn-packages}}.
 
All users should use '''only''' {{ic|~/packages}} for storing packages builds and {{ic|~/svn-packages}}.
 
These directories are excluded from backups and all other directories are automatically backed up.
 
These directories are excluded from backups and all other directories are automatically backed up.
   
  +
==chroot の作成とパッケージのビルド==
==Creating chroots and building packages==
 
   
 
Devtools 0.9.10 has build helpers that can be used.
 
Devtools 0.9.10 has build helpers that can be used.
31行目: 32行目:
 
$ sudo makechrootpkg -r /var/lib/archbuild/extra-x86_64
 
$ sudo makechrootpkg -r /var/lib/archbuild/extra-x86_64
   
==Packager && Makeflags==
+
==Packager Makeflags==
   
 
Add ~/.makepkg.conf with PACKAGER information
 
Add ~/.makepkg.conf with PACKAGER information
38行目: 39行目:
 
MAKEFLAGS="-j5"
 
MAKEFLAGS="-j5"
   
==Connecting to sigurd or gerolde from brynhild==
+
==brynhild から sigurd gerolde への接続==
   
 
On your local system add this:
 
On your local system add this:
47行目: 48行目:
 
ForwardAgent yes
 
ForwardAgent yes
   
  +
==soname が変わったときのリビルドリストの生成==
==Generating rebuilding list when soname is bumped==
 
   
 
Available in repo-tools.git (https://projects.archlinux.de/repo-tools.git/) and available on brynhild:
 
Available in repo-tools.git (https://projects.archlinux.de/repo-tools.git/) and available on brynhild:

2020年6月2日 (火) 11:46時点における版

警告

This article now describes the build server at dragon.archlinux.org instead.

使うべきディレクトリ

All users should use only ~/packages for storing packages builds and ~/svn-packages. These directories are excluded from backups and all other directories are automatically backed up.

chroot の作成とパッケージのビルド

Devtools 0.9.10 has build helpers that can be used.

/usr/bin/extra-x86_64-build
/usr/bin/multilib-build
/usr/bin/staging-x86_64-build
/usr/bin/testing-x86_64-build

This can be used to _create_ and build packages. Chroots are created by default in /var/tmp/archbuild. To build packages that depend on each other you should use makechrootpkg directly.

$ sudo extra-x86_64-build
$ sudo testing-x86_64-build

x86_64

$ sudo makechrootpkg -cr /var/lib/archbuild/extra-x86_64 -- -i

next package

$ sudo makechrootpkg -r /var/lib/archbuild/extra-x86_64

Packager と Makeflags

Add ~/.makepkg.conf with PACKAGER information
PACKAGER="Name <email>"
MAKEFLAGS="-j5"

brynhild から sigurd や gerolde への接続

On your local system add this:

$ cat .ssh/config
  Host pkgbuild.com
    Hostname pkgbuild.com
    User youruser
    ForwardAgent yes

soname が変わったときのリビルドリストの生成

Available in repo-tools.git (https://projects.archlinux.de/repo-tools.git/) and available on brynhild:

$ sogrep <repo> <soname>
$ sogrep extra x264.so.107