xorg-docs: add v1.7.3 (#44388)

* xorg-sgml-doctools: add v1.12.1

* xorg-docs: add v1.7.3

* util-macros: add v1.20.1 (now distributed as xz)

* util-macros: prefer spec.satisfies

Co-authored-by: Alec Scott <hi@alecbcs.com>

---------

Co-authored-by: Alec Scott <hi@alecbcs.com>
This commit is contained in:
Wouter Deconinck 2024-05-28 12:19:31 -05:00 committed by GitHub
parent 35b9307af6
commit e6afeca92f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 16 additions and 6 deletions

View File

@ -11,13 +11,19 @@ class UtilMacros(AutotoolsPackage, XorgPackage):
other Xorg modular packages, and is needed to generate new versions other Xorg modular packages, and is needed to generate new versions
of their configure scripts with autoconf.""" of their configure scripts with autoconf."""
homepage = "https://cgit.freedesktop.org/xorg/util/macros/" homepage = "https://gitlab.freedesktop.org/xorg/util/macros"
xorg_mirror_path = "util/util-macros-1.19.1.tar.bz2" xorg_mirror_path = "util/util-macros-1.19.1.tar.xz"
maintainers("robert-mijakovic") # note: url_for_version can only return a single url, no mirrors
def url_for_version(self, version):
if self.spec.satisfies("@:1.19"):
return self.urls[0].replace("xz", "bz2")
maintainers("robert-mijakovic", "wdconinc")
license("MIT") license("MIT")
version("1.20.1", sha256="0b308f62dce78ac0f4d9de6888234bf170f276b64ac7c96e99779bb4319bcef5")
version("1.19.3", sha256="0f812e6e9d2786ba8f54b960ee563c0663ddbe2434bf24ff193f5feab1f31971") version("1.19.3", sha256="0f812e6e9d2786ba8f54b960ee563c0663ddbe2434bf24ff193f5feab1f31971")
version("1.19.2", sha256="d7e43376ad220411499a79735020f9d145fdc159284867e99467e0d771f3e712") version("1.19.2", sha256="d7e43376ad220411499a79735020f9d145fdc159284867e99467e0d771f3e712")
version("1.19.1", sha256="18d459400558f4ea99527bc9786c033965a3db45bf4c6a32eefdc07aa9e306a6") version("1.19.1", sha256="18d459400558f4ea99527bc9786c033965a3db45bf4c6a32eefdc07aa9e306a6")

View File

@ -12,15 +12,17 @@ class XorgDocs(AutotoolsPackage, XorgPackage):
The preferred documentation format for these documents is DocBook XML.""" The preferred documentation format for these documents is DocBook XML."""
homepage = "https://cgit.freedesktop.org/xorg/doc/xorg-docs" homepage = "https://gitlab.freedesktop.org/xorg/doc/xorg-docs"
xorg_mirror_path = "doc/xorg-docs-1.7.1.tar.gz" xorg_mirror_path = "doc/xorg-docs-1.7.1.tar.gz"
maintainers("wdconinc") maintainers("wdconinc")
version("1.7.3", sha256="30f8fc4b435cda82f21d08d81c2e2fc9046ec7e20945e32ab7b63326674cf8c5")
version("1.7.2", sha256="0c1e018868a00cb5a5bc8622ffd87e706e119ffa0949edde00d0d0d912663677") version("1.7.2", sha256="0c1e018868a00cb5a5bc8622ffd87e706e119ffa0949edde00d0d0d912663677")
version("1.7.1", sha256="360707db2ba48f6deeb53d570deca9fa98218af48ead4a726a67f63e3ef63816") version("1.7.1", sha256="360707db2ba48f6deeb53d570deca9fa98218af48ead4a726a67f63e3ef63816")
depends_on("pkgconfig", type="build") depends_on("pkgconfig", type="build")
depends_on("util-macros", type="build") depends_on("util-macros@1.8:", type="build")
depends_on("util-macros@1.20:", type="build", when="@1.7.3:")
depends_on("xorg-sgml-doctools@1.8:", type="build") depends_on("xorg-sgml-doctools@1.8:", type="build")
depends_on("xmlto", type="build") depends_on("xmlto", type="build")

View File

@ -18,8 +18,10 @@ class XorgSgmlDoctools(AutotoolsPackage, XorgPackage):
license("MIT") license("MIT")
version("1.12.1", sha256="8de3406f96a02bc3ab51ff47ba1612d9a11fc25d2edcaa06caa2cb2420d7bae0")
version("1.12", sha256="985a0329e6a6dadd6ad517f8d54f8766ab4b52bb8da7b07d02ec466bec444bdb") version("1.12", sha256="985a0329e6a6dadd6ad517f8d54f8766ab4b52bb8da7b07d02ec466bec444bdb")
version("1.11", sha256="986326d7b4dd2ad298f61d8d41fe3929ac6191c6000d6d7e47a8ffc0c34e7426") version("1.11", sha256="986326d7b4dd2ad298f61d8d41fe3929ac6191c6000d6d7e47a8ffc0c34e7426")
depends_on("pkgconfig", type="build") depends_on("pkgconfig", type="build")
depends_on("util-macros", type="build") depends_on("util-macros@1.8:", type="build")
depends_on("util-macros@1.20:", type="build", when="@1.12.1:")