x{prop,refresh}: 1.2.7 -> 1.2.8 (only xprop) && refactor and migrate to pkgs/by-name from xorg namespace (#415155)
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
pkg-config,
|
||||
libx11,
|
||||
xorgproto,
|
||||
writeScript,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "xprop";
|
||||
version = "1.2.8";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://xorg/individual/app/xprop-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-1onirbfve0OfZGm1HNqKfa78gyQ4VMKjuPhNDwKdZ+4=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [
|
||||
libx11
|
||||
xorgproto
|
||||
];
|
||||
|
||||
passthru = {
|
||||
updateScript = writeScript "update-${finalAttrs.pname}" ''
|
||||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell -i bash -p common-updater-scripts
|
||||
version="$(list-directory-versions --pname ${finalAttrs.pname} \
|
||||
--url https://xorg.freedesktop.org/releases/individual/app/ \
|
||||
| sort -V | tail -n1)"
|
||||
update-source-version ${finalAttrs.pname} "$version"
|
||||
'';
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Command line tool to display and/or set window and font properties of an X server";
|
||||
homepage = "https://gitlab.freedesktop.org/xorg/app/xprop";
|
||||
license = with lib.licenses; [
|
||||
mitOpenGroup
|
||||
hpndSellVariant
|
||||
mit
|
||||
];
|
||||
mainProgram = "xprop";
|
||||
maintainers = [ ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
})
|
||||
@@ -0,0 +1,50 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
pkg-config,
|
||||
libx11,
|
||||
xorgproto,
|
||||
writeScript,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "xrefresh";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://xorg/individual/app/xrefresh-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-Ke1ZLV7ONaMCkATYxG8wAvkpcIcKlsEeOLr38RIri18=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [
|
||||
libx11
|
||||
xorgproto
|
||||
];
|
||||
|
||||
passthru = {
|
||||
updateScript = writeScript "update-${finalAttrs.pname}" ''
|
||||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell -i bash -p common-updater-scripts
|
||||
version="$(list-directory-versions --pname ${finalAttrs.pname} \
|
||||
--url https://xorg.freedesktop.org/releases/individual/app/ \
|
||||
| sort -V | tail -n1)"
|
||||
update-source-version ${finalAttrs.pname} "$version"
|
||||
'';
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Utility to refresh all or part of an X screen";
|
||||
homepage = "https://gitlab.freedesktop.org/xorg/app/xrefresh";
|
||||
license = with lib.licenses; [
|
||||
mitOpenGroup
|
||||
hpnd
|
||||
];
|
||||
mainProgram = "xrefresh";
|
||||
maintainers = [ ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
})
|
||||
@@ -39,6 +39,8 @@
|
||||
xorg-docs,
|
||||
xorgproto,
|
||||
xorg-sgml-doctools,
|
||||
xprop,
|
||||
xrefresh,
|
||||
xtrans,
|
||||
xwininfo,
|
||||
xwud,
|
||||
@@ -65,6 +67,8 @@ self: with self; {
|
||||
transset
|
||||
xbitmaps
|
||||
xorgproto
|
||||
xprop
|
||||
xrefresh
|
||||
xtrans
|
||||
xwininfo
|
||||
xwud
|
||||
@@ -6882,42 +6886,6 @@ self: with self; {
|
||||
})
|
||||
) { };
|
||||
|
||||
# THIS IS A GENERATED FILE. DO NOT EDIT!
|
||||
xprop = callPackage (
|
||||
{
|
||||
stdenv,
|
||||
pkg-config,
|
||||
fetchurl,
|
||||
libX11,
|
||||
xorgproto,
|
||||
testers,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "xprop";
|
||||
version = "1.2.8";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = "mirror://xorg/individual/app/xprop-1.2.8.tar.xz";
|
||||
sha256 = "1vk7kl10ykgqp2iw4m1q4j1zrbkxibd1rdb9cjgl6yzgnyny52fn";
|
||||
};
|
||||
hardeningDisable = [
|
||||
"bindnow"
|
||||
"relro"
|
||||
];
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [
|
||||
libX11
|
||||
xorgproto
|
||||
];
|
||||
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
|
||||
meta = {
|
||||
pkgConfigModules = [ ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
})
|
||||
) { };
|
||||
|
||||
# THIS IS A GENERATED FILE. DO NOT EDIT!
|
||||
xrandr = callPackage (
|
||||
{
|
||||
@@ -6996,42 +6964,6 @@ self: with self; {
|
||||
})
|
||||
) { };
|
||||
|
||||
# THIS IS A GENERATED FILE. DO NOT EDIT!
|
||||
xrefresh = callPackage (
|
||||
{
|
||||
stdenv,
|
||||
pkg-config,
|
||||
fetchurl,
|
||||
libX11,
|
||||
xorgproto,
|
||||
testers,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "xrefresh";
|
||||
version = "1.1.0";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = "mirror://xorg/individual/app/xrefresh-1.1.0.tar.xz";
|
||||
sha256 = "0pwb5c9g3xxs70gc35hahxq2ky8261pw9n04j01a6dffbqnmkv99";
|
||||
};
|
||||
hardeningDisable = [
|
||||
"bindnow"
|
||||
"relro"
|
||||
];
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [
|
||||
libX11
|
||||
xorgproto
|
||||
];
|
||||
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
|
||||
meta = {
|
||||
pkgConfigModules = [ ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
})
|
||||
) { };
|
||||
|
||||
# THIS IS A GENERATED FILE. DO NOT EDIT!
|
||||
xset = callPackage (
|
||||
{
|
||||
|
||||
@@ -332,6 +332,8 @@ print OUT <<EOF;
|
||||
xorg-docs,
|
||||
xorgproto,
|
||||
xorg-sgml-doctools,
|
||||
xprop,
|
||||
xrefresh,
|
||||
xtrans,
|
||||
xwininfo,
|
||||
xwud,
|
||||
@@ -358,6 +360,8 @@ self: with self; {
|
||||
transset
|
||||
xbitmaps
|
||||
xorgproto
|
||||
xprop
|
||||
xrefresh
|
||||
xtrans
|
||||
xwininfo
|
||||
xwud
|
||||
|
||||
@@ -1152,7 +1152,6 @@ self: super:
|
||||
xmore = addMainProgram super.xmore { };
|
||||
|
||||
xpr = addMainProgram super.xpr { };
|
||||
xprop = addMainProgram super.xprop { };
|
||||
|
||||
xrdb = super.xrdb.overrideAttrs (attrs: {
|
||||
configureFlags = [ "--with-cpp=${mcpp}/bin/mcpp" ];
|
||||
@@ -1170,7 +1169,6 @@ self: super:
|
||||
};
|
||||
});
|
||||
|
||||
xrefresh = addMainProgram super.xrefresh { };
|
||||
xset = addMainProgram super.xset { };
|
||||
xsetroot = addMainProgram super.xsetroot { };
|
||||
xsm = addMainProgram super.xsm { };
|
||||
|
||||
@@ -52,10 +52,8 @@ mirror://xorg/individual/app/xmessage-1.0.7.tar.xz
|
||||
mirror://xorg/individual/app/xmodmap-1.0.11.tar.xz
|
||||
mirror://xorg/individual/app/xmore-1.0.4.tar.xz
|
||||
mirror://xorg/individual/app/xpr-1.2.0.tar.xz
|
||||
mirror://xorg/individual/app/xprop-1.2.8.tar.xz
|
||||
mirror://xorg/individual/app/xrandr-1.5.3.tar.xz
|
||||
mirror://xorg/individual/app/xrdb-1.2.2.tar.xz
|
||||
mirror://xorg/individual/app/xrefresh-1.1.0.tar.xz
|
||||
mirror://xorg/individual/app/xset-1.2.5.tar.xz
|
||||
mirror://xorg/individual/app/xsetroot-1.1.3.tar.xz
|
||||
mirror://xorg/individual/app/xsm-1.0.6.tar.xz
|
||||
|
||||
Reference in New Issue
Block a user