internal/rosa/package: migrate multiple packages
All checks were successful
Test / Create distribution (push) Successful in 1m4s
Test / Sandbox (push) Successful in 2m44s
Test / Hakurei (push) Successful in 3m46s
Test / ShareFS (push) Successful in 3m45s
Test / Sandbox (race detector) (push) Successful in 5m26s
Test / Hakurei (race detector) (push) Successful in 6m35s
Test / Flake checks (push) Successful in 1m46s
All checks were successful
Test / Create distribution (push) Successful in 1m4s
Test / Sandbox (push) Successful in 2m44s
Test / Hakurei (push) Successful in 3m46s
Test / ShareFS (push) Successful in 3m45s
Test / Sandbox (race detector) (push) Successful in 5m26s
Test / Hakurei (race detector) (push) Successful in 6m35s
Test / Flake checks (push) Successful in 1m46s
Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -1,38 +0,0 @@
|
|||||||
package rosa
|
|
||||||
|
|
||||||
import "hakurei.app/internal/pkg"
|
|
||||||
|
|
||||||
func (t Toolchain) newP11Kit() (pkg.Artifact, string) {
|
|
||||||
const (
|
|
||||||
version = "0.26.2"
|
|
||||||
checksum = "3ei-6DUVtYzrRVe-SubtNgRlweXd6H2qHmUu-_5qVyIn6gSTvZbGS2u79Y8IFb2N"
|
|
||||||
)
|
|
||||||
return t.NewPackage("p11-kit", version, t.newTagRemote(
|
|
||||||
"https://github.com/p11-glue/p11-kit.git",
|
|
||||||
version, checksum,
|
|
||||||
), nil, &MesonHelper{
|
|
||||||
Setup: []KV{
|
|
||||||
{"Dsystemd", "disabled"},
|
|
||||||
{"Dlibffi", "enabled"},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
Coreutils,
|
|
||||||
Diffutils,
|
|
||||||
|
|
||||||
Libtasn1,
|
|
||||||
), version
|
|
||||||
}
|
|
||||||
func init() {
|
|
||||||
native.mustRegister(Toolchain.newP11Kit, &Metadata{
|
|
||||||
Name: "p11-kit",
|
|
||||||
Description: "provides a way to load and enumerate PKCS#11 modules",
|
|
||||||
Website: "https://p11-glue.freedesktop.org/p11-kit.html",
|
|
||||||
|
|
||||||
Dependencies: P{
|
|
||||||
Libffi,
|
|
||||||
Libtasn1,
|
|
||||||
},
|
|
||||||
|
|
||||||
ID: 2582,
|
|
||||||
})
|
|
||||||
}
|
|
||||||
31
internal/rosa/package/p11-kit.az
Normal file
31
internal/rosa/package/p11-kit.az
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
package p11-kit {
|
||||||
|
description = "provides a way to load and enumerate PKCS#11 modules";
|
||||||
|
website = "https://p11-glue.freedesktop.org/p11-kit.html";
|
||||||
|
anitya = 2582;
|
||||||
|
|
||||||
|
version* = "0.26.2";
|
||||||
|
source = remoteGit {
|
||||||
|
url = "https://github.com/p11-glue/p11-kit.git";
|
||||||
|
tag = version;
|
||||||
|
checksum = "3ei-6DUVtYzrRVe-SubtNgRlweXd6H2qHmUu-_5qVyIn6gSTvZbGS2u79Y8IFb2N";
|
||||||
|
};
|
||||||
|
|
||||||
|
exec = meson {
|
||||||
|
setup = {
|
||||||
|
"Dsystemd": "disabled";
|
||||||
|
"Dlibffi": "enabled";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
inputs = [
|
||||||
|
coreutils,
|
||||||
|
diffutils,
|
||||||
|
|
||||||
|
libtasn1,
|
||||||
|
];
|
||||||
|
|
||||||
|
runtime = [
|
||||||
|
libffi,
|
||||||
|
libtasn1,
|
||||||
|
];
|
||||||
|
}
|
||||||
30
internal/rosa/package/pcre2.az
Normal file
30
internal/rosa/package/pcre2.az
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
package pcre2 {
|
||||||
|
description = "a set of C functions that implement regular expression pattern matching";
|
||||||
|
website = "https://pcre2project.github.io/pcre2";
|
||||||
|
anitya = 5832;
|
||||||
|
|
||||||
|
version* = "10.47";
|
||||||
|
source = remoteGitHubRelease {
|
||||||
|
suffix = "PCRE2Project/pcre2";
|
||||||
|
tag = "pcre2-"+version;
|
||||||
|
name = "pcre2-"+version+".tar.bz2";
|
||||||
|
checksum = "IbC24vVayju6nB9EhrBPSDexk22wDecdpyrjgC3nCZXkwTnUjq4CD2q5sopqu6CW";
|
||||||
|
compress = bzip2;
|
||||||
|
};
|
||||||
|
|
||||||
|
early = `
|
||||||
|
# RunGrepTest expects /bin/echo
|
||||||
|
ln -s ../system/bin/toybox /bin/echo
|
||||||
|
`;
|
||||||
|
|
||||||
|
exec = make {
|
||||||
|
configure = {
|
||||||
|
"enable-jit";
|
||||||
|
"enable-pcre2-8";
|
||||||
|
"enable-pcre2-16";
|
||||||
|
"enable-pcre2-32";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
inputs = [ diffutils ];
|
||||||
|
}
|
||||||
19
internal/rosa/package/pixman.az
Normal file
19
internal/rosa/package/pixman.az
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
package pixman {
|
||||||
|
description = "a low-level software library for pixel manipulation";
|
||||||
|
website = "https://pixman.org";
|
||||||
|
anitya = 3648;
|
||||||
|
|
||||||
|
version* = "0.46.4";
|
||||||
|
source = remoteGitLab {
|
||||||
|
domain = "gitlab.freedesktop.org";
|
||||||
|
suffix = "pixman/pixman";
|
||||||
|
ref = "pixman-"+version;
|
||||||
|
checksum = "iECDxLG9SxUrvGHqeDoaBa-b3uqdT5DC4zudjtrwb8Wodq82pyacmFNEAo4SDsiE";
|
||||||
|
};
|
||||||
|
|
||||||
|
exec = meson {
|
||||||
|
setup = {
|
||||||
|
"Dtests": "enabled";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
26
internal/rosa/package/pkg-config.az
Normal file
26
internal/rosa/package/pkg-config.az
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
package pkg-config {
|
||||||
|
description = "a helper tool used when compiling applications and libraries";
|
||||||
|
website = "https://pkgconfig.freedesktop.org";
|
||||||
|
anitya = 3649;
|
||||||
|
|
||||||
|
version* = "0.29.2";
|
||||||
|
source = remoteGitLab {
|
||||||
|
domain = "gitlab.freedesktop.org";
|
||||||
|
suffix = "pkg-config/pkg-config";
|
||||||
|
ref = "pkg-config-"+version;
|
||||||
|
checksum = "6UsGqEMA8EER_5b9N0b32UCqiRy39B6_RnPfvuslWhtFV1qYD4DfS10crGZN_TP2";
|
||||||
|
};
|
||||||
|
|
||||||
|
exec = make {
|
||||||
|
generate = "./autogen.sh --no-configure";
|
||||||
|
configure = {
|
||||||
|
"CFLAGS": "'-Wno-int-conversion'";
|
||||||
|
"with-internal-glib";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
inputs = [
|
||||||
|
automake,
|
||||||
|
libtool,
|
||||||
|
];
|
||||||
|
}
|
||||||
29
internal/rosa/package/procps.az
Normal file
29
internal/rosa/package/procps.az
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
package procps {
|
||||||
|
description = "command line and full screen utilities for browsing procfs";
|
||||||
|
website = "https://gitlab.com/procps-ng/procps";
|
||||||
|
anitya = 3708;
|
||||||
|
|
||||||
|
version* = "4.0.6";
|
||||||
|
source = remoteGitLab {
|
||||||
|
domain = "gitlab.com";
|
||||||
|
suffix = "procps-ng/procps";
|
||||||
|
ref = "v"+version;
|
||||||
|
checksum = "pl_fZLvDlv6iZTkm8l_tHFpzTDVFGCiSJEs3eu0zAX6u36AV36P_En8K7JPScRWM";
|
||||||
|
};
|
||||||
|
|
||||||
|
exec = make {
|
||||||
|
generate = "./autogen.sh";
|
||||||
|
configure = {
|
||||||
|
"without-ncurses";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
inputs = [
|
||||||
|
automake,
|
||||||
|
gettext,
|
||||||
|
libtool,
|
||||||
|
|
||||||
|
gzip,
|
||||||
|
pkg-config,
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -1,42 +0,0 @@
|
|||||||
package rosa
|
|
||||||
|
|
||||||
import (
|
|
||||||
"hakurei.app/internal/pkg"
|
|
||||||
)
|
|
||||||
|
|
||||||
func (t Toolchain) newPCRE2() (pkg.Artifact, string) {
|
|
||||||
const (
|
|
||||||
version = "10.47"
|
|
||||||
checksum = "IbC24vVayju6nB9EhrBPSDexk22wDecdpyrjgC3nCZXkwTnUjq4CD2q5sopqu6CW"
|
|
||||||
)
|
|
||||||
return t.NewPackage("pcre2", version, newFromGitHubRelease(
|
|
||||||
"PCRE2Project/pcre2",
|
|
||||||
"pcre2-"+version,
|
|
||||||
"pcre2-"+version+".tar.bz2",
|
|
||||||
checksum,
|
|
||||||
pkg.TarBzip2,
|
|
||||||
), &PackageAttr{
|
|
||||||
ScriptEarly: `
|
|
||||||
# RunGrepTest expects /bin/echo
|
|
||||||
ln -s ../system/bin/toybox /bin/echo
|
|
||||||
`,
|
|
||||||
}, &MakeHelper{
|
|
||||||
Configure: []KV{
|
|
||||||
{"enable-jit"},
|
|
||||||
{"enable-pcre2-8"},
|
|
||||||
{"enable-pcre2-16"},
|
|
||||||
{"enable-pcre2-32"},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
Diffutils,
|
|
||||||
), version
|
|
||||||
}
|
|
||||||
func init() {
|
|
||||||
native.mustRegister(Toolchain.newPCRE2, &Metadata{
|
|
||||||
Name: "pcre2",
|
|
||||||
Description: "a set of C functions that implement regular expression pattern matching",
|
|
||||||
Website: "https://pcre2project.github.io/pcre2/",
|
|
||||||
|
|
||||||
ID: 5832,
|
|
||||||
})
|
|
||||||
}
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
package rosa
|
|
||||||
|
|
||||||
import "hakurei.app/internal/pkg"
|
|
||||||
|
|
||||||
func (t Toolchain) newPixman() (pkg.Artifact, string) {
|
|
||||||
const (
|
|
||||||
version = "0.46.4"
|
|
||||||
checksum = "iECDxLG9SxUrvGHqeDoaBa-b3uqdT5DC4zudjtrwb8Wodq82pyacmFNEAo4SDsiE"
|
|
||||||
)
|
|
||||||
return t.NewPackage("pixman", version, newFromGitLab(
|
|
||||||
"gitlab.freedesktop.org",
|
|
||||||
"pixman/pixman",
|
|
||||||
"pixman-"+version,
|
|
||||||
checksum,
|
|
||||||
), nil, &MesonHelper{
|
|
||||||
Setup: []KV{
|
|
||||||
{"Dtests", "enabled"},
|
|
||||||
},
|
|
||||||
}), version
|
|
||||||
}
|
|
||||||
func init() {
|
|
||||||
native.mustRegister(Toolchain.newPixman, &Metadata{
|
|
||||||
Name: "pixman",
|
|
||||||
Description: "a low-level software library for pixel manipulation",
|
|
||||||
Website: "https://pixman.org/",
|
|
||||||
|
|
||||||
ID: 3648,
|
|
||||||
})
|
|
||||||
}
|
|
||||||
@@ -1,34 +0,0 @@
|
|||||||
package rosa
|
|
||||||
|
|
||||||
import "hakurei.app/internal/pkg"
|
|
||||||
|
|
||||||
func (t Toolchain) newPkgConfig() (pkg.Artifact, string) {
|
|
||||||
const (
|
|
||||||
version = "0.29.2"
|
|
||||||
checksum = "6UsGqEMA8EER_5b9N0b32UCqiRy39B6_RnPfvuslWhtFV1qYD4DfS10crGZN_TP2"
|
|
||||||
)
|
|
||||||
return t.NewPackage("pkg-config", version, newFromGitLab(
|
|
||||||
"gitlab.freedesktop.org",
|
|
||||||
"pkg-config/pkg-config",
|
|
||||||
"pkg-config-"+version,
|
|
||||||
checksum,
|
|
||||||
), nil, &MakeHelper{
|
|
||||||
Generate: "./autogen.sh --no-configure",
|
|
||||||
Configure: []KV{
|
|
||||||
{"CFLAGS", "'-Wno-int-conversion'"},
|
|
||||||
{"with-internal-glib"},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
Automake,
|
|
||||||
Libtool,
|
|
||||||
), version
|
|
||||||
}
|
|
||||||
func init() {
|
|
||||||
native.mustRegister(Toolchain.newPkgConfig, &Metadata{
|
|
||||||
Name: "pkg-config",
|
|
||||||
Description: "a helper tool used when compiling applications and libraries",
|
|
||||||
Website: "https://pkgconfig.freedesktop.org/",
|
|
||||||
|
|
||||||
ID: 3649,
|
|
||||||
})
|
|
||||||
}
|
|
||||||
@@ -1,37 +0,0 @@
|
|||||||
package rosa
|
|
||||||
|
|
||||||
import "hakurei.app/internal/pkg"
|
|
||||||
|
|
||||||
func (t Toolchain) newProcps() (pkg.Artifact, string) {
|
|
||||||
const (
|
|
||||||
version = "4.0.6"
|
|
||||||
checksum = "pl_fZLvDlv6iZTkm8l_tHFpzTDVFGCiSJEs3eu0zAX6u36AV36P_En8K7JPScRWM"
|
|
||||||
)
|
|
||||||
return t.NewPackage("procps", version, newFromGitLab(
|
|
||||||
"gitlab.com",
|
|
||||||
"procps-ng/procps",
|
|
||||||
"v"+version,
|
|
||||||
checksum,
|
|
||||||
), nil, &MakeHelper{
|
|
||||||
Generate: "./autogen.sh",
|
|
||||||
Configure: []KV{
|
|
||||||
{"without-ncurses"},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
Automake,
|
|
||||||
Gettext,
|
|
||||||
Libtool,
|
|
||||||
|
|
||||||
Gzip,
|
|
||||||
PkgConfig,
|
|
||||||
), version
|
|
||||||
}
|
|
||||||
func init() {
|
|
||||||
native.mustRegister(Toolchain.newProcps, &Metadata{
|
|
||||||
Name: "procps",
|
|
||||||
Description: "command line and full screen utilities for browsing procfs",
|
|
||||||
Website: "https://gitlab.com/procps-ng/procps",
|
|
||||||
|
|
||||||
ID: 3708,
|
|
||||||
})
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user