Compare commits

..

No commits in common. "6a9a821356ef1882dca5f998d92c7dce60445af7" and "83be52c91afbf47f7b2d4d003fe5a98a7e3c9cfe" have entirely different histories.

3 changed files with 5 additions and 7 deletions

1
.gitignore vendored
View File

@ -1,2 +1 @@
build
src

View File

@ -1,6 +1,6 @@
PROJECT ( example )
cmake_minimum_required( VERSION 3.16 )
cmake_minimum_required( VERSION 3.22 )
FIND_PACKAGE ( PkgConfig REQUIRED )
PKG_CHECK_MODULES( GTK REQUIRED gtkmm-4.0)

View File

@ -5,8 +5,9 @@ set -e
# https://terminalroot.com/how-to-install-gtkmm-4-on-ubuntu-2204/
# https://www.devdungeon.com/wiki/doku.php?id=programming:gtk4
sudo apt install build-essential git g++ autotools-dev libgtkmm-3.0-dev \
libgtkmm-3.0-doc mm-common pkg-config
#sudo apt install build-essential git g++ autotools-dev libgtkmm-3.0-dev \
# libgtkmm-3.0-doc mm-common libgtk-4-bin \
# libgtk-4-common libgtk-4-dev libgtk-4-doc pkg-config
if [ ! -f libsigc++-3.0.7.tar.xz ]; then
wget https://download.gnome.org/sources/libsigc++/3.0/libsigc++-3.0.7.tar.xz
@ -17,8 +18,6 @@ cd libsigc++-3.0.7/
make -j`nproc --ignore=2`
sudo make install
cd ..
if [ ! -f glibmm-2.68.2.tar.xz ]; then
wget https://download.gnome.org/sources/glibmm/2.68/glibmm-2.68.2.tar.xz
fi
@ -67,4 +66,4 @@ tar Jxvf gtkmm-4.6.1.tar.xz
cd gtkmm-4.6.1
./autogen.sh --prefix=/usr
make -j`nproc --ignore=2`
sudo make install
sudo make install