From ff66ad7923c776d06937686c71b83b5cd0262f18 Mon Sep 17 00:00:00 2001 From: ardocrat Date: Wed, 19 Jun 2024 22:46:33 +0300 Subject: [PATCH] build: linux AppImage release --- .gitignore | 12 ++++---- Cargo.toml | 5 ++-- scripts/{build_run_android.sh => android.sh} | 0 scripts/{build_run.sh => desktop.sh} | 0 scripts/linux/Grim.AppDir/.DirIcon | 1 + scripts/linux/Grim.AppDir/grim.desktop | 6 ++++ scripts/linux/Grim.AppDir/grim.png | Bin 0 -> 24678 bytes scripts/release_linux.sh | 28 +++++++++++++++++++ scripts/release_macos.sh | 2 +- 9 files changed, 44 insertions(+), 10 deletions(-) rename scripts/{build_run_android.sh => android.sh} (100%) rename scripts/{build_run.sh => desktop.sh} (100%) create mode 120000 scripts/linux/Grim.AppDir/.DirIcon create mode 100644 scripts/linux/Grim.AppDir/grim.desktop create mode 100644 scripts/linux/Grim.AppDir/grim.png create mode 100755 scripts/release_linux.sh diff --git a/.gitignore b/.gitignore index dedd4c0..54d662c 100644 --- a/.gitignore +++ b/.gitignore @@ -5,14 +5,14 @@ android/keystore android/keystore.properties /.idea .DS_Store -/build /captures .externalNativeBuild .cxx *.so -/target -/.cargo/ -/app/src/main/jniLibs -/scripts/macos/Grim.app/Contents/MacOS/grim-bin -/scripts/macos/cert.pem +target +.cargo/ +app/src/main/jniLibs +scripts/macos/Grim.app/Contents/MacOS/grim-bin +scripts/macos/cert.pem +scripts/linux/Grim.AppDir/AppRun .intentionally-empty-file.o \ No newline at end of file diff --git a/Cargo.toml b/Cargo.toml index 4c0871e..8814a69 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,11 +12,10 @@ build = "src/build/build.rs" [package.metadata.bundle] name = "Grim" identifier = "mw.gri" -icon = ["img/icon.png", "img/128x128.png", "img/128x128@2x.png"] +icon = ["img/icon.png"] version = "0.1.0" resources = ["img"] -copyright = "Copyright (c) Grim 2024. All rights reserved." -category = "public.app-category.finance" +category = "Finance" short_description = "Cross-platform GUI for Grin." long_description = """ Cross-platform GUI for Grin on Rust with focus on usability and availability to be used by anyone, anywhere. diff --git a/scripts/build_run_android.sh b/scripts/android.sh similarity index 100% rename from scripts/build_run_android.sh rename to scripts/android.sh diff --git a/scripts/build_run.sh b/scripts/desktop.sh similarity index 100% rename from scripts/build_run.sh rename to scripts/desktop.sh diff --git a/scripts/linux/Grim.AppDir/.DirIcon b/scripts/linux/Grim.AppDir/.DirIcon new file mode 120000 index 0000000..0573ded --- /dev/null +++ b/scripts/linux/Grim.AppDir/.DirIcon @@ -0,0 +1 @@ +grim.png \ No newline at end of file diff --git a/scripts/linux/Grim.AppDir/grim.desktop b/scripts/linux/Grim.AppDir/grim.desktop new file mode 100644 index 0000000..907cf68 --- /dev/null +++ b/scripts/linux/Grim.AppDir/grim.desktop @@ -0,0 +1,6 @@ +[Desktop Entry] +Name=Grim +Exec=grim +Icon=grim +Type=Application +Categories=Finance \ No newline at end of file diff --git a/scripts/linux/Grim.AppDir/grim.png b/scripts/linux/Grim.AppDir/grim.png new file mode 100644 index 0000000000000000000000000000000000000000..b1764473e1e2ed1adb1903e3fac1af779418451c GIT binary patch literal 24678 zcmeFYbzB_JvN*Z~OVE(uK@udmyDWqdEQH{J;O_3e5Fi9kaCZs1!QCymvq*4vUmV_$ zubgx4yZ63(-h03Q?(C;`dV0F6tE#KJtEy`P<=#tRq7kEkKp;#h$u|nX-TOX0L;?QW zgmimBAm$ZARVgDWDSFUDpbV&qfCNIguLC56f66~VKm;KIWuJlc1jyglxlhCh$iMF) zK>pdE`6wVy`)8f|Hf#tFK$yTi2}tZf9v8Uh1IaYtkG>j#{1A{H{{EcqJOd(O_r&&AHq$pQ3_koFIZfTo~Fpj*%%u7-- z|Dx$W{})ZKfjr`$_}+5{<)89+|3nAEgFj$O-nacTpU8CI!C$!FP2Mel9={cr5(hfE zXAtmrHv=PqA@HiOI=GiAhMFQ!&##r(mQc zA))1=V`OFH(Xvfl$ic=YHI208{ICMF^K3z8S?|Mqp)48nPMj}syS z1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$U`+dHb$at*WZ>9dNHo{`7KcY6ftZ=FmOT-K+p07#IgUiN!Lq0+F1O3L7>_ zzFVj&UH2vVHS}2~C?pu-n!xS7pjQt;>lUgJw3qn+y5YYWqB-y0H3^}*t#$6C>M5>@hgvmlDREx|^wu1@$IflbIMY+L zcmo90>@blsGGXt2$;#F6?e~(cJG^VkR2C>E8d|kbOz(V^>WCg*&bI8I(+2a`SpuUM z01&`H-~&9IH0J3Mk(Lg-_o~{s?-xpT>{dx6WmPf=p*oc{ZK7JZB*d%c(Gd~0cQVNa z1_LuShc5jJ00RUez$oBpRD&&BN!QhQy8X$jAyeWq$)+u;U@|kSbTd7of@(+Ct_|GS zP0+TL8irM&g5TQL?AYN|Dna#VH8!v7HG-Bcl>Hu4U1dA@IoVYL^MQeyL-%SWd}5rQszn3yfG++7 zLE)#>^Of0k;-uv85oLdG+o75=oH+|=Y4FEcb)49BbOZ${r|vA{P#+e@(vbzS}CqTD|~(J5c_@ufB}MJ;BSU`l7EGFw%Gae4Q)T!c7FNejt#S9py8m%zQRMVDce}X zfxeh}0Z{_oD25@xeW>JwYFGGaiB6-EaAtYq;VTsYFhC%H4!~p}-d|GZGNOW}U5^9n zt@`#$9RLaep$aez7=*>7lD`mT0MmexRzkXE0ssaGf`OZWu|SI}(!gogZwFog5OL-yz!Cp3{8GFs`u^^R0qxrmrA3*>;YgR8A5?t zs6v%^pdHZ6@GS(R98JDDn{?wZ&#>8dqJ}N3Llt5i1#(LJPQUB`;06%EhBT-HGy)m` zb%ENbnMhR)a6|y*3Q3JT)DZ17gUM%5Gj)ythkzttA8^>%^?7BL;YI2H0ffzs42|CF Q&Hw-a07*qoM6N<$f^Uwv!vFvP literal 0 HcmV?d00001 diff --git a/scripts/release_linux.sh b/scripts/release_linux.sh new file mode 100755 index 0000000..8abca1d --- /dev/null +++ b/scripts/release_linux.sh @@ -0,0 +1,28 @@ +#!/bin/bash + +case $1 in + x86|arm) + ;; + *) + echo "Usage: release_macos.sh [platform]\n - platform: 'x86', 'arm'" >&2 + exit 1 +esac + +# Setup build directory +BASEDIR=$(cd $(dirname $0) && pwd) +cd ${BASEDIR} +cd .. + +# Setup platform argument +[[ $1 == "x86" ]] && arch+=(x86_64-unknown-linux-gnu) +[[ $1 == "arm" ]] && arch+=(aarch64-unknown-linux-gnu) + +# Start release build with zig linker for cross-compilation +cargo install cargo-zigbuild +cargo zigbuild --release --target ${arch} + +# Create AppImage with https://github.com/AppImage/appimagetool +cp target/${arch}/release/grim scripts/linux/Grim.AppDir/AppRun +rm target/${arch}/release/*.AppImage +appimagetool scripts/linux/Grim.AppDir +mv *.AppImage target/${arch}/release/Grim-0.1.0-linux-$1.AppImage \ No newline at end of file diff --git a/scripts/release_macos.sh b/scripts/release_macos.sh index 3a48464..1e9a68f 100755 --- a/scripts/release_macos.sh +++ b/scripts/release_macos.sh @@ -35,7 +35,7 @@ yes | cp -rf target/${arch}/release/grim scripts/macos/Grim.app/Contents/MacOS/g ### Sign .app before distribution: ### rcodesign generate-self-signed-certificate -### rcodesign sign --pem-file test.pem scripts/macos/Grim.app +### rcodesign sign --pem-file cert.pem scripts/macos/Grim.app # Create release package FILE_NAME=Grim-0.1.0-macos-$1.zip