internal/rosa/x: migrate to xorgproto
All checks were successful
Test / Create distribution (push) Successful in 1m4s
Test / Sandbox (push) Successful in 2m50s
Test / Hakurei (push) Successful in 3m54s
Test / ShareFS (push) Successful in 3m52s
Test / Sandbox (race detector) (push) Successful in 5m14s
Test / Hakurei (race detector) (push) Successful in 6m23s
Test / Flake checks (push) Successful in 1m31s
All checks were successful
Test / Create distribution (push) Successful in 1m4s
Test / Sandbox (push) Successful in 2m50s
Test / Hakurei (push) Successful in 3m54s
Test / ShareFS (push) Successful in 3m52s
Test / Sandbox (race detector) (push) Successful in 5m14s
Test / Hakurei (race detector) (push) Successful in 6m23s
Test / Flake checks (push) Successful in 1m31s
This is much cleaner than the many protocol packages. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -167,7 +167,7 @@ const (
|
|||||||
XCBProto
|
XCBProto
|
||||||
XDGDBusProxy
|
XDGDBusProxy
|
||||||
XZ
|
XZ
|
||||||
Xproto
|
XorgProto
|
||||||
Zlib
|
Zlib
|
||||||
Zstd
|
Zstd
|
||||||
|
|
||||||
|
|||||||
@@ -58,19 +58,18 @@ func init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (t Toolchain) newXproto() (pkg.Artifact, string) {
|
func (t Toolchain) newXorgProto() (pkg.Artifact, string) {
|
||||||
const (
|
const (
|
||||||
version = "7.0.31"
|
version = "2025.1"
|
||||||
checksum = "Cm69urWY5RctKpR78eGzuwrjDEfXGkvHRdodj6sjypOGy5FF4-lmnUttVHYV1ydg"
|
checksum = "pTwJiBJHKA6Rgm3cVDXy1lyvXNIUzTRaukvvYdk1xWoJ_1G-Dfjm9MyewuyIjoHz"
|
||||||
)
|
)
|
||||||
return t.NewPackage("xproto", version, newTar(
|
return t.NewPackage("xorgproto", version, newFromGitLab(
|
||||||
"https://www.x.org/releases/individual/proto/"+
|
"gitlab.freedesktop.org",
|
||||||
"xproto-"+version+".tar.bz2",
|
"xorg/proto/xorgproto",
|
||||||
|
"xorgproto-"+version,
|
||||||
checksum,
|
checksum,
|
||||||
pkg.TarBzip2,
|
|
||||||
), nil, &MakeHelper{
|
), nil, &MakeHelper{
|
||||||
// ancient configure script
|
Generate: "NOCONFIGURE=1 ./autogen.sh",
|
||||||
Generate: "autoreconf -if",
|
|
||||||
},
|
},
|
||||||
Automake,
|
Automake,
|
||||||
PkgConfig,
|
PkgConfig,
|
||||||
@@ -79,14 +78,14 @@ func (t Toolchain) newXproto() (pkg.Artifact, string) {
|
|||||||
), version
|
), version
|
||||||
}
|
}
|
||||||
func init() {
|
func init() {
|
||||||
artifactsM[Xproto] = Metadata{
|
artifactsM[XorgProto] = Metadata{
|
||||||
f: Toolchain.newXproto,
|
f: Toolchain.newXorgProto,
|
||||||
|
|
||||||
Name: "xproto",
|
Name: "xorgproto",
|
||||||
Description: "X Window System unified protocol definitions",
|
Description: "X Window System unified protocol definitions",
|
||||||
Website: "https://gitlab.freedesktop.org/xorg/proto/xorgproto",
|
Website: "https://gitlab.freedesktop.org/xorg/proto/xorgproto",
|
||||||
|
|
||||||
ID: 13650,
|
ID: 17190,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -109,7 +108,7 @@ func (t Toolchain) newLibXau() (pkg.Artifact, string) {
|
|||||||
PkgConfig,
|
PkgConfig,
|
||||||
|
|
||||||
utilMacros,
|
utilMacros,
|
||||||
Xproto,
|
XorgProto,
|
||||||
), version
|
), version
|
||||||
}
|
}
|
||||||
func init() {
|
func init() {
|
||||||
@@ -121,7 +120,7 @@ func init() {
|
|||||||
Website: "https://gitlab.freedesktop.org/xorg/lib/libxau",
|
Website: "https://gitlab.freedesktop.org/xorg/lib/libxau",
|
||||||
|
|
||||||
Dependencies: P{
|
Dependencies: P{
|
||||||
Xproto,
|
XorgProto,
|
||||||
},
|
},
|
||||||
|
|
||||||
ID: 1765,
|
ID: 1765,
|
||||||
|
|||||||
Reference in New Issue
Block a user