Skip to content

Commit

Permalink
Copy more files from lib/libexec/share
Browse files Browse the repository at this point in the history
  • Loading branch information
mlocati committed Oct 24, 2024
1 parent 773e4cf commit 6573654
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 11 deletions.
24 changes: 13 additions & 11 deletions build-exe/create-output.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,30 +83,32 @@ find "$SOURCE/bin/" -type f \( -name '*.exe' -o -name '*.dll' \) -print0 | while
copyFile "$i"
done
if [ -d "$SOURCE/lib/" ]; then
find "$SOURCE/lib/" -type f \( -name '*.exe' -o -name '*.dll' \) -print0 | while IFS= read -r -d '' i; do
find "$SOURCE/lib/" -type f -print0 | while IFS= read -r -d '' i; do
case "$i" in
*/hostname.exe | */urlget.exe) ;;
*.a | *.la) ;;
*)
copyFile "$i"
;;
esac
done
fi
if [ -d "$SOURCE/libexec/" ]; then
find "$SOURCE/libexec/" -type f \( -name '*.exe' -o -name '*.dll' \) -print0 | while IFS= read -r -d '' i; do
case "$i" in
*/hostname.exe | */urlget.exe) ;;
*)
copyFile "$i"
;;
esac
find "$SOURCE/libexec/" -type f -print0 | while IFS= read -r -d '' i; do
copyFile "$i"
done
fi
if [ -f "$SOURCE/lib/charset.alias" ]; then
copyFile "$SOURCE/lib/charset.alias"
fi
find "$SOURCE/share/doc" -maxdepth 2 -type f ! -iname '*.3.html' ! -iname 'autopoint.1.html' ! -iname 'gettextize.1.html' -print0 | while IFS= read -r -d '' i; do
copyFile "$i" doc
find "$SOURCE/share/doc" -type f ! -iname '*.3.html' -print0 | while IFS= read -r -d '' i; do
case "$i" in
*/autopoint.1.html) ;;
*/gettextize.1.html) ;;
*/doc/gettext/examples/*) ;;
*)
copyFile "$i" doc
;;
esac
done
if [ -d "$SOURCE/share/locale" ]; then
cp -r "$SOURCE/share/locale" "$DESTINATION/share/"
Expand Down
2 changes: 2 additions & 0 deletions signpath/artifact-configuration/gh_sign_files-0.22.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
<include path="bin/recode-sr-latin.exe" min-matches="1" max-matches="1" product-name="GNU gettext utilities" product-version="${gettextPEVersion}" />
<include path="bin/xgettext.exe" min-matches="1" max-matches="1" product-name="GNU gettext utilities" product-version="${gettextPEVersion}" />
<include path="lib/gettext/cldr-plurals.exe" min-matches="1" max-matches="1" product-name="GNU gettext utilities" product-version="${gettextPEVersion}" />
<include path="lib/gettext/hostname.exe" min-matches="1" max-matches="1" product-name="GNU gettext utilities" product-version="${gettextPEVersion}" />
<include path="lib/gettext/urlget.exe" min-matches="1" max-matches="1" product-name="GNU gettext utilities" product-version="${gettextPEVersion}" />
<!-- Missing metadata: see https://savannah.gnu.org/bugs/?66267
<include path="bin/libgettextlib-*.dll" min-matches="0" max-matches="1" product-name="${gettextPENameLibGettextLib}" product-version="${gettextPEVersionLibGettextLib}" />
<include path="bin/libgettextsrc-*.dll" min-matches="0" max-matches="1" product-name="${gettextPENameLibGettextSrc}" product-version="${gettextPEVersionLibGettextSrc}" />
Expand Down
2 changes: 2 additions & 0 deletions signpath/artifact-configuration/gh_sign_files-0.23.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@
<include path="bin/recode-sr-latin.exe" min-matches="1" max-matches="1" product-name="GNU gettext utilities" product-version="${gettextPEVersion}" />
<include path="bin/xgettext.exe" min-matches="1" max-matches="1" product-name="GNU gettext utilities" product-version="${gettextPEVersion}" />
<include path="libexec/gettext/cldr-plurals.exe" min-matches="1" max-matches="1" product-name="GNU gettext utilities" product-version="${gettextPEVersion}" />
<include path="libexec/gettext/hostname.exe" min-matches="1" max-matches="1" product-name="GNU gettext utilities" product-version="${gettextPEVersion}" />
<include path="libexec/gettext/urlget.exe" min-matches="1" max-matches="1" product-name="GNU gettext utilities" product-version="${gettextPEVersion}" />
<!-- Missing metadata: see https://lists.gnu.org/archive/html/bug-gettext/2024-10/msg00058.html
<include path="lib/gettext/GNU.Gettext.dll" min-matches="0" max-matches="1" product-name="" product-version="0.0.0.0" />
<include path="lib/gettext/msgfmt.net.exe" min-matches="0" max-matches="1" product-name="" product-version="0.0.0.0" />
Expand Down

0 comments on commit 6573654

Please sign in to comment.