libxaw3d: refactor and rename from Xaw3d (#489686)

This commit is contained in:
Sandro 2026-03-04 02:25:20 +00:00 committed by GitHub
commit 317296d7e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 73 additions and 53 deletions

View file

@ -10,7 +10,7 @@
{
lib,
stdenv,
Xaw3d,
libxaw3d,
acl,
alsa-lib,
apple-sdk,
@ -333,7 +333,7 @@ stdenv.mkDerivation (finalAttrs: {
libwebp
]
++ lib.optionals withX [
Xaw3d
libxaw3d
giflib
libxaw
libxpm

View file

@ -3,7 +3,7 @@
stdenv,
fetchurl,
libxext,
Xaw3d,
libxaw3d,
ghostscriptX,
perl,
pkg-config,
@ -26,7 +26,7 @@ stdenv.mkDerivation (finalAttrs: {
nativeBuildInputs = [ pkg-config ];
buildInputs = [
libxext
Xaw3d
libxaw3d
ghostscriptX
perl
]

View file

@ -0,0 +1,64 @@
{
lib,
stdenv,
fetchFromGitLab,
autoreconfHook,
pkg-config,
util-macros,
bison,
flex,
libxext,
libxmu,
libxpm,
libxp,
libxt,
xorgproto,
nix-update-script,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "libxaw3d";
version = "1.6.6";
src = fetchFromGitLab {
domain = "gitlab.freedesktop.org";
group = "xorg";
owner = "lib";
repo = "libxaw3d";
tag = "libXaw3d-${finalAttrs.version}";
hash = "sha256-7w5FnvxbztfdH7QPPqvHyJdAhTyNfe0Je4x+J80dJIY=";
};
strictDeps = true;
nativeBuildInputs = [
autoreconfHook
pkg-config
util-macros
bison
flex
];
buildInputs = [
libxext
libxpm
];
propagatedBuildInputs = [
libxmu
libxt
xorgproto
];
passthru = {
updateScript = nix-update-script { extraArgs = [ "--version-regex=libXaw3d-(.*)" ]; };
};
meta = {
description = "3D appearance variant of the X Athena Widget Set";
homepage = "https://gitlab.freedesktop.org/xorg/lib/libxaw3d";
license = lib.licenses.mit;
maintainers = [ ];
platforms = lib.platforms.unix;
};
})

View file

@ -1,45 +0,0 @@
{
lib,
stdenv,
fetchurl,
bison,
flex,
pkg-config,
libxext,
libxmu,
libxpm,
libxp,
libxt,
xorgproto,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "Xaw3d";
version = "1.6.6";
src = fetchurl {
url = "https://www.x.org/releases/individual/lib/libXaw3d-${finalAttrs.version}.tar.xz";
sha256 = "sha256-pBw+NxNa1hax8ou95wACr788tZow3zQUH4KdMurchkY=";
};
nativeBuildInputs = [
pkg-config
bison
flex
];
buildInputs = [
libxext
libxpm
libxp
];
propagatedBuildInputs = [
libxmu
libxt
xorgproto
];
meta = {
description = "3D widget set based on the Athena Widget set";
platforms = lib.platforms.unix;
license = lib.licenses.mit;
};
})

View file

@ -9,7 +9,7 @@
libxmu,
libxi,
libxp,
Xaw3d,
libxaw3d,
libxaw,
libxft,
fig2dev,
@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
libxmu
libxi
libxp
Xaw3d
libxaw3d
libxaw
libxft
];

View file

@ -9,7 +9,7 @@
libxpm,
pkg-config,
xorgproto,
Xaw3d,
libxaw3d,
}:
stdenv.mkDerivation (finalAttrs: {
@ -27,7 +27,7 @@ stdenv.mkDerivation (finalAttrs: {
libxtst
xorgproto
libxi
Xaw3d
libxaw3d
libxpm
];

View file

@ -2056,6 +2056,7 @@ mapAliases {
write_stylus = throw "'write_stylus' has been renamed to/replaced by 'styluslabs-write-bin'"; # Converted to throw 2025-10-27
wxGTK33 = wxwidgets_3_3; # Added 2025-07-20
wxSVG = warnAlias "'wxSVG' has been renamed to 'wxsvg'" wxsvg;
Xaw3d = warnAlias "'Xaw3d' has been renamed to 'libxaw3d'" libxaw3d; # Added 2026-02-12
xbrightness = throw "'xbrightness' has been removed as it is unmaintained"; # Added 2025-08-28
xbursttools = throw "'xbursttools' has been removed as it is broken and unmaintained upstream."; # Added 2025-06-12
xcb-util-cursor = libxcb-cursor; # Added 2026-02-04