- Shell 100%
| atk/mingw/bld | ||
| cairo/mingw/bld | ||
| fribidi/mingw/bld | ||
| gdk-pixbuf/mingw/bld | ||
| glib/mingw/bld | ||
| gperf | ||
| libffi | ||
| libpng/libpng | ||
| pango/mingw/bld | ||
| pixman | ||
| files_gtk2.txt | ||
| LICENSE | ||
| README.md | ||
bldgtk
Build scripts auto-generated by LM BLD needed for building parts of the gtk2-ng project.
Sharing the output products of the LM BLD system which auto-generates scripts for repeatable, cross-platform builds of tarball packages. The LM BLD system also handles basic package management.
Current scripts are for use in building gtk2-ng on Windows. I used original MinGW and msys environment for the build. Directory structure assumes source files are in /mingw/msys/opt/src. Prefix is set to /opt (aka /mingw/msys/opt). Libraries/programs are each in their own directory under src. The source tarball is placed in each library or program directory. The input to LM BLD is in a bld directory underneath the library directory. The output of the LM BLD system goes into a platform specific subdirectory such as mingw, mingw64, linux, etc. Tarballs are created in those directories from scripts in a bld directory beneath the platform directory. Each build script generates a tarball with enough information for the LM BLD scripts to be able to install, uninstall or update the package. A list (files_gtk2.txt) in the src directory gives the order to build dependencies. An LM BLD build script can automate building and installing the packages.
The build scripts use bash. The LM BLD system creates build scripts using templates. Note that paths and tools used are hard-coded in the generated build scripts. These can be set or modified in the LM BLD system in one location. This prevents having to make changes system wide. Since these scripts are auto-generated, directly modifying the build scripts isn't helpful on my system. The modifications are overwritten when the build scripts are regenerated. If modifications/fixes are needed, I would need to make them to the input files to the build system or to the LM BLD settings files.
This git repo contains the ordered list of build dependencies and the auto-generated build scripts that target a specific platform. I am just including the Windows MinGW 32 bit build scripts at this time, but can add build scripts for other compilers/operating systems such as Linux/musl or Windows/MinGW-w64. Note that when build scripts are added for systems other than Windows, it's usually necessary to set the permissions before trying to run them. I typically use chmod 755 * in the linux/bld directory.
The information here is for reference purposes so that others are able to repeat the build process for gtk2-ng. Feel free to use and modify the build scripts as part of your own repeatable build process for generating gtk2-ng libraries and dependencies.