# Cmake and/or upstream's cmake config appears to install the same set of
# files into multiple locations, which I suspect is happening because we are
# overriding multiple cmake path-related switches with multiple divergent
# paths. When uploading new upstream releases, sanity check that new files
# flagged by dh_missing are indeed duplicates of files already installed into
# their proper place in the correct destination packages, and add them here.

# docs already installed by dh_installdocs from doc/manual/*
usr/share/doc/wesnoth-1.18-data/html/

# these desktop metadata files are duplicates of files already installed into
# usr/share/applications and usr/share/metainfo (see d/rules)
usr/share/games/applications/org.wesnoth.Wesnoth.desktop
usr/share/games/metainfo/org.wesnoth.Wesnoth.appdata.xml

# duplicates of files already installed into usr/share/icons (see d/rules)
usr/share/games/icons/

# fonts flagged by dh_missing are replaced with symlinks to system fonts
# (see d/rules); record symlinked fonts individually here to make it easier
# to detect newly added fonts in new upstream releases
usr/share/games/wesnoth/1.18/fonts/COPYING
usr/share/games/wesnoth/1.18/fonts/DejaVuSans-Bold.ttf
usr/share/games/wesnoth/1.18/fonts/DejaVuSans-Oblique.ttf
usr/share/games/wesnoth/1.18/fonts/DejaVuSans.ttf
usr/share/games/wesnoth/1.18/fonts/DejaVuSansMono-Bold.ttf
usr/share/games/wesnoth/1.18/fonts/DejaVuSansMono.ttf
usr/share/games/wesnoth/1.18/fonts/DroidSansFallbackFull.ttf
usr/share/games/wesnoth/1.18/fonts/Lato-Black.ttf
usr/share/games/wesnoth/1.18/fonts/Lato-BlackItalic.ttf
usr/share/games/wesnoth/1.18/fonts/Lato-Bold.ttf
usr/share/games/wesnoth/1.18/fonts/Lato-BoldItalic.ttf
usr/share/games/wesnoth/1.18/fonts/Lato-Heavy.ttf
usr/share/games/wesnoth/1.18/fonts/Lato-HeavyItalic.ttf
usr/share/games/wesnoth/1.18/fonts/Lato-Italic.ttf
usr/share/games/wesnoth/1.18/fonts/Lato-Light.ttf
usr/share/games/wesnoth/1.18/fonts/Lato-LightItalic.ttf
usr/share/games/wesnoth/1.18/fonts/Lato-Medium.ttf
usr/share/games/wesnoth/1.18/fonts/Lato-MediumItalic.ttf
usr/share/games/wesnoth/1.18/fonts/Lato-Regular.ttf
usr/share/games/wesnoth/1.18/fonts/Lato-Semibold.ttf
usr/share/games/wesnoth/1.18/fonts/Lato-SemiboldItalic.ttf
usr/share/games/wesnoth/1.18/fonts/Lato-Thin.ttf
usr/share/games/wesnoth/1.18/fonts/Lato-ThinItalic.ttf
usr/share/games/wesnoth/1.18/fonts/Lohit-Bengali.ttf
usr/share/games/wesnoth/1.18/fonts/OldaniaADFStd-Bold.otf
usr/share/games/wesnoth/1.18/fonts/OldaniaADFStd-BoldItalic.otf
usr/share/games/wesnoth/1.18/fonts/OldaniaADFStd-Italic.otf
usr/share/games/wesnoth/1.18/fonts/OldaniaADFStd-Regular.otf

# Drop data/tools/wesnoth_addon_manager (standalone client for addon devs to
# upload/download WML content from addon server, no impact on in-game addon
# manager) from wesnoth-tools due to embedded code copies.
# https://lists.debian.org/debian-devel-games/2024/02/msg00006.html
usr/share/games/wesnoth/1.18/data/tools/addon_manager/
usr/share/games/wesnoth/1.18/data/tools/wesnoth_addon_manager
