xorg.xkeyboardconfig_custom: update for 2.39

The script broke since xkeyboardconfig moved to the meson build system.
This commit is contained in:
rnhmjoj 2023-07-18 17:03:02 +02:00
parent e1d36dfcb0
commit fba18d8445
No known key found for this signature in database
GPG key ID: BFBAF4C975F76450

View file

@ -579,28 +579,6 @@ self: super:
${optionalString (symbolsFile != null) "cp '${symbolsFile}' 'symbols/${name}'"} ${optionalString (symbolsFile != null) "cp '${symbolsFile}' 'symbols/${name}'"}
${optionalString (typesFile != null) "cp '${typesFile}' 'types/${name}'"} ${optionalString (typesFile != null) "cp '${typesFile}' 'types/${name}'"}
# patch makefiles
for type in compat geometry keycodes symbols types; do
if ! test -f "$type/${name}"; then
continue
fi
test "$type" = geometry && type_name=geom || type_name=$type
${ed}/bin/ed -v $type/Makefile.am <<EOF
/''${type_name}_DATA =
a
${name} \\
.
w
EOF
${ed}/bin/ed -v $type/Makefile.in <<EOF
/''${type_name}_DATA =
a
${name} \\
.
w
EOF
done
# add model description # add model description
${ed}/bin/ed -v rules/base.xml <<EOF ${ed}/bin/ed -v rules/base.xml <<EOF
/<\/modelList> /<\/modelList>