-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Binary package with self-contained AngouriMath.Terminal is now published for Debian/Ubuntu in AngouriMathLab repo. The versions are now manual and lazily changed (instead of pushing a new one on every push) Also info in README updated
- Loading branch information
1 parent
93dd1ea
commit dcc7a5b
Showing
8 changed files
with
81 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
Sources/Terminal/AngouriMath.Terminal/pack-deb-linux-x64.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
#!/bin/bash | ||
cd publish-output | ||
|
||
version=$(cat ../../VERSION/VERSION) | ||
filename="angourimath-terminal_${version}_amd64" | ||
|
||
rm -r $filename | ||
mkdir $filename | ||
cd $filename | ||
|
||
mkdir -p ./usr/local/bin/ | ||
mkdir -p ./usr/share/applications/ | ||
cp -r ../linux-x64 ./usr/local/bin | ||
mv ./usr/local/bin/linux-x64 ./usr/local/bin/angourimath-terminal-data | ||
echo 'cd /usr/local/bin/angourimath-terminal-data && ./AngouriMath.Terminal' > ./usr/local/bin/angourimath-terminal | ||
chmod +x ./usr/local/bin/angourimath-terminal | ||
|
||
mkdir DEBIAN && cd DEBIAN | ||
touch control | ||
printf "Package: angourimath-terminal\n" >> control | ||
printf "Version: $version\n" >> control | ||
printf "Architecture: amd64\n" >> control | ||
printf "Maintainer: WhiteBlackGoose <[email protected]>\n" >> control | ||
printf "Description: Terminal/CLI in F# for FOSS AngouriMath library\n" >> control | ||
|
||
cd .. | ||
printf "[Desktop Entry]\n" >> ./usr/share/applications/angourimath-terminal.desktop | ||
printf "Name=AngouriMath Terminal\n" >> ./usr/share/applications/angourimath-terminal.desktop | ||
printf "GenericName=Symbolic calculator and computer algebra system\n" >> ./usr/share/applications/angourimath-terminal.desktop | ||
printf "Comment=Perform symbolic manipulations with expressions using AngouriMath and F#\n" >> ./usr/share/applications/angourimath-terminal.desktop | ||
printf "Exec=x-terminal-emulator -m -e /usr/local/bin/angourimath-terminal-data/AngouriMath.Terminal\n" >> ./usr/share/applications/angourimath-terminal.desktop | ||
printf "Icon=/usr/local/bin/angourimath-terminal-data/icon.png\n" >> ./usr/share/applications/angourimath-terminal.desktop | ||
printf "Type=Application\n" >> ./usr/share/applications/angourimath-terminal.desktop | ||
printf "Terminal=false\n" >> ./usr/share/applications/angourimath-terminal.desktop | ||
printf "Categories=Office;Education;Development;\n" >> ./usr/share/applications/angourimath-terminal.desktop | ||
|
||
cp ../../icon.png ./usr/local/bin/angourimath-terminal-data/ | ||
|
||
cd .. | ||
dpkg-deb --build --root-owner-group $filename |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
dotnet publish \ | ||
-r linux-x64 \ | ||
-c release \ | ||
-o ./publish-output/linux-x64 \ | ||
--self-contained |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
dotnet publish \ | ||
-r osx-x64 \ | ||
-c release \ | ||
-o ./publish-output/osx-x64 \ | ||
--self-contained |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
dotnet publish \ | ||
-r win-x64 \ | ||
-c release \ | ||
-o ./publish-output/win-x64 \ | ||
--self-contained |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1.0.0.1-alpha |