2017-04-26 14:59:43 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2017-08-14 21:29:44 +00:00
|
|
|
gtk_api_version=$1
|
2017-04-26 14:59:43 +00:00
|
|
|
gtk_abi_version=$2
|
|
|
|
gtk_libdir=$3
|
|
|
|
gtk_datadir=$4
|
|
|
|
|
|
|
|
# Package managers set this so we don't need to run
|
|
|
|
if [ -z "$DESTDIR" ]; then
|
|
|
|
echo Compiling GSettings schemas...
|
|
|
|
glib-compile-schemas ${gtk_datadir}/glib-2.0/schemas
|
|
|
|
|
|
|
|
echo Updating desktop database...
|
|
|
|
update-desktop-database -q ${gtk_datadir}/applications
|
|
|
|
|
|
|
|
echo Updating icon cache...
|
|
|
|
gtk-update-icon-cache -q -t -f ${gtk_datadir}/icons/hicolor
|
2018-03-07 00:10:48 +00:00
|
|
|
|
|
|
|
echo Updating module cache for print backends...
|
|
|
|
mkdir -p ${gtk_libdir}/gtk-4.0/4.0.0/printbackends
|
|
|
|
gio-querymodules ${gtk_libdir}/gtk-4.0/4.0.0/printbackends
|
|
|
|
|
|
|
|
echo Updating module cache for input methods...
|
|
|
|
mkdir -p ${gtk_libdir}/gtk-4.0/4.0.0/immodules
|
|
|
|
gio-querymodules ${gtk_libdir}/gtk-4.0/4.0.0/immodules
|
2017-04-26 14:59:43 +00:00
|
|
|
fi
|