To Do - RayCic/gog2gentoo GitHub Wiki

Things which should be done

(Maybe someday)

  1. Think of automatic or semiautomatic way of generating game's dependency list

    AFAIK simplest way to get game's dependencies is to run ldd on game's executable file, but unfortunately it shows also "dependencies of dependencies"

    AFAIK simplest way to get game's dependencies is to run readelf -d on game's executable file. But any way there exists many problems which I do not know how to detect automatically: required slot of required dependencies containing multiple slots, required USE flags of dependencies

    UPDATE (2015-09-01): created simple script which do readelf -d on executable and then searches libraries in two TSV (Tab Separated Values) files: system.txt (system libraries: like glibc & gcc) and user.txt (user libraries) - files consist of library-package pairs. After creation of script I started to run it on different game executables and populating TSV files by hand. Thanks God unique library name count is quite small: now files contain - 9 records (system.txt) and 39 records (user.txt). From library name we also can get package slot for slotted library. But unfortunately I still sink automatic USE flag detection is impossible.

  2. Think how to create system which periodically re-fetch all games' installation files and then rebuild all of them

  3. For games which support multiple languages - implement support for LINGUAS variable AKA language stripping.

    Only game I know which is smart enough to not miss behave if some language files missing is The Witcher 2