Commit de8504ed authored by Christoph Cullmann's avatar Christoph Cullmann 🐮
Browse files

update mac.txt, use resource as generated by breeze-icons framework and...

update mac.txt, use resource as generated by breeze-icons framework and streamline more things to do release builds
parent ad54fd58
......@@ -4,6 +4,10 @@
# errors fatal
set -e
# set build type, default is release for bundle creation
export BUILD_TYPE=Release
#export BUILD_TYPE=Debug
# steps to build kate on make
# install Qt 5.6.1
......@@ -18,15 +22,17 @@ export PREFIX=`pwd`/usr
export BUILD=`pwd`/build
export SRC=`pwd`/src
# install gettext
mkdir -p src
cd src
# install gettext, needed for ki18n
curl > gettext-0.19.6.tar.gz
tar -xvzf gettext-0.19.6.tar.gz
pushd gettext-0.19.6
./configure --prefix=$PREFIX
make install
cd ..
# build helper
......@@ -55,7 +61,7 @@ function build_framework
# cmake it
# make
make -j2
......@@ -97,21 +103,7 @@ build_framework threadweaver
build_framework attica
build_framework knewstuff
build_framework ktexteditor
# create icon resource file
cd src
rm -rf iconres
mkdir iconres
cd iconres
git archive --format tar --remote kde:breeze-icons HEAD icons > breeze.tgz
mkdir icons
tar -C icons -s /^icons/breeze/ -xvzf breeze.tgz
rm breeze.tgz
rcc -project -o ../breeze.qrc
mv ../breeze.qrc .
rcc -binary -o breeze.rcc breeze.qrc
cd ..
cd ..
build_framework breeze-icons -DBINARY_ICONS_RESOURCE=1
# clear old bundles
rm -rf /Applications/KDE/
......@@ -124,8 +116,15 @@ build_framework kate
# deploy qt plugins as extra plugins, too, as e.g. iconengine will be missing otherwise ;)
for i in kwrite kate; do
echo $i;
cp -f src/iconres/breeze.rcc /Applications/KDE/$
cp -f $PREFIX/share/icons/breeze/breeze-icons.rcc /Applications/KDE/$
cp -f $PREFIX/lib/libexec/kf5/kioslave /Applications/KDE/$
cp -f $PREFIX/lib/libexec/kf5/kio_http_cache_cleaner /Applications/KDE/$
macdeployqt /Applications/KDE/$ -executable=/Applications/KDE/$ -executable=/Applications/KDE/$ -extra-plugins=$PREFIX/lib/plugins -extra-plugins=$QTDIR/plugins -dmg
# deploy
macdeployqt /Applications/KDE/$ -executable=/Applications/KDE/$ -executable=/Applications/KDE/$ -extra-plugins=$PREFIX/lib/plugins -extra-plugins=$QTDIR/plugins
# create the final disk image
macdeployqt /Applications/KDE/$ -dmg
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment