The DS (Debian Source) tarball was built from a Git checkout of the
<https://git.libretro.com/libretro-assets/retroarch-assets.git> repository. As
some files needed to be removed due to licensing issues (largely concerning
commercial use), other extras were removed as well in order to reduce the size
of the overall source tree.

In addition, the Debian packaging adds a build system to try and recreate as
much of the excluded contents as possible at build time from the source SVG
files.

## Actions performed

### Permissions fixes

```sh
find . -type f -name '*.pdf' -executable -execdir chmod -x '{}' \+
find . -type f -name '*.png' -executable -execdir chmod -x '{}' \+
find . -type f -name '*.svg' -executable -execdir chmod -x '{}' \+
find . -type f -name '*.txt' -executable -execdir chmod -x '{}' \+
chmod -x FlatUX/README.md
```

### Renamed files

```sh
mv -vf src/glui/playlist_tab_passive.svg src/glui/playlists_tab_passive.svg
```

### Build artifact removal

```sh
rm -Rfv glui menu_widgets
rm -fv ozone/png/icons/*.png ozone/*.ttf
rm -Rfv Automatic/backgrounds Automatic/icons
rm -Rfv FlatUX/backgrounds FlatUX/icons
rm -Rfv Systematic/backgrounds Systematic/icons

### Non-free content removal

#### CC-BY-NC-3.0 licensed

```sh
rm -Rfv sounds src/sounds
```

#### LicenseRef-Pixabay licensed

```sh
rm -fv rgui/wallpaper/fractal_spiral*
```

#### LicenseRef-Unsplash licensed

```sh
rm -fv rgui/wallpaper/leaves*
rm -fv rgui/wallpaper/mermaid_opal*
rm -fv rgui/wallpaper/night_sky*
rm -fv rgui/wallpaper/theatre_curtain*
```

#### Source code missing (moved to <https://github.com/baxysquare/baxy-retroarch-themes/tree/master/bytheme/NeoactiveRetired>)

```sh
rm -Rfv src/xmb/neoactive xmb/neoactive src/xmb/retroactive xmb/daite \
  xmb/retroactive
```

#### Compiled fonts

```sh
rm -Rfv fonts pkg
rm -fv src/ozone/mplus-1p-bold.ttf
```

#### Unneeded elements

```sh
rm -Rfv nxrgui switch
rm -Rfv .git .github .gitignore .gitlab-ci.yml
```
