From: Steve Brokenshire Date: Sun, 6 Dec 2020 10:11:58 +0000 (+0000) Subject: Generated CMake Xcode project runs Xestia Calendar X-Git-Tag: release-0.08~5 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=39546937c062dcc99c5e85a3799e6d26c653856d;p=xestiacalendar%2F.git Generated CMake Xcode project runs Xestia Calendar --- diff --git a/source/CMakeFunctions/CopyLibraries.cmake b/source/CMakeFunctions/CopyLibraries.cmake index d5371ef..eee5be2 100644 --- a/source/CMakeFunctions/CopyLibraries.cmake +++ b/source/CMakeFunctions/CopyLibraries.cmake @@ -187,7 +187,8 @@ function(GatherLibrariesForCopying source) string(APPEND libraryPath "/../Frameworks/${refname}") list(APPEND sfmllibs ${libraryPath}) elseif(line MATCHES "^.*libcurl.[0-9]\\.dylib " OR - line MATCHES "^.*libxml2.[0-9]\\.dylib ") + line MATCHES "^.*libxml2.[0-9]\\.dylib " OR + line MATCHES "^.*libsqlite3.[0-9]\\.dylib ") string(REGEX REPLACE "dylib .*" "dylib" line "${line}") set(lib ${line}) diff --git a/source/os/osx/Info.plist b/source/os/osx/Info.plist new file mode 100644 index 0000000..b0a8c01 --- /dev/null +++ b/source/os/osx/Info.plist @@ -0,0 +1,34 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleGetInfoString + + CFBundleIconFile + XestiaCalendar + CFBundleIdentifier + uk.co.xestia.calendar + CFBundleInfoDictionaryVersion + 6.0 + CFBundleLongVersionString + + CFBundleName + + CFBundlePackageType + APPL + CFBundleShortVersionString + + CFBundleSignature + ???? + CFBundleVersion + 0.08 + CSResourcesFileMapped + + NSHumanReadableCopyright + (c) 2016-2020 Xestia Software Development + + diff --git a/source/os/osx/XestiaCalendar.icns b/source/os/osx/XestiaCalendar.icns new file mode 100644 index 0000000..4495450 Binary files /dev/null and b/source/os/osx/XestiaCalendar.icns differ diff --git a/source/tools/generateicnsfile.sh b/source/tools/generateicnsfile.sh new file mode 100755 index 0000000..50091c5 --- /dev/null +++ b/source/tools/generateicnsfile.sh @@ -0,0 +1,25 @@ +#!/bin/sh + +if [ -z $1 ]; then + echo "Usage: $0 " + exit +fi + +IMAGELOCATION=$1 +IMAGEFILENAME=${IMAGELOCATION##*/} +IMAGENAME="${IMAGEFILENAME%.*}" + +mkdir $IMAGENAME.iconset +sips $IMAGELOCATION -z 16 16 --out $IMAGENAME.iconset/icon_16x16.png +sips $IMAGELOCATION -z 32 32 --out $IMAGENAME.iconset/icon_16x16@2x.png +sips $IMAGELOCATION -z 32 32 --out $IMAGENAME.iconset/icon_32x32.png +sips $IMAGELOCATION -z 64 64 --out $IMAGENAME.iconset/icon_32x32@2x.png +sips $IMAGELOCATION -z 128 128 --out $IMAGENAME.iconset/icon_128x128.png +sips $IMAGELOCATION -z 256 256 --out $IMAGENAME.iconset/icon_128x128@2x.png +sips $IMAGELOCATION -z 256 256 --out $IMAGENAME.iconset/icon_256x256.png +sips $IMAGELOCATION -z 512 512 --out $IMAGENAME.iconset/icon_256x256@2x.png +sips $IMAGELOCATION -z 512 512 --out $IMAGENAME.iconset/icon_512x512.png +cp $IMAGELOCATION $IMAGENAME.iconset/icon_512x512@2x.png +iconutil -c icns $IMAGENAME.iconset +rm $IMAGENAME.iconset/* +rmdir $IMAGENAME.iconset