From cbdd91435bb21c3bbe87390b34c0f8039a1d26bb Mon Sep 17 00:00:00 2001 From: Botspot Date: Mon, 28 Dec 2020 13:20:54 -0600 Subject: [PATCH] Add Eagle app --- apps/Eagle CAD/credits | 1 + apps/Eagle CAD/description | 3 ++ apps/Eagle CAD/icon-24.png | Bin 0 -> 2811 bytes apps/Eagle CAD/icon-64.png | Bin 0 -> 8590 bytes apps/Eagle CAD/install-32 | 71 +++++++++++++++++++++++++++++++++++++ apps/Eagle CAD/uninstall | 13 +++++++ apps/Eagle CAD/website | 1 + 7 files changed, 89 insertions(+) create mode 100644 apps/Eagle CAD/credits create mode 100644 apps/Eagle CAD/description create mode 100644 apps/Eagle CAD/icon-24.png create mode 100644 apps/Eagle CAD/icon-64.png create mode 100755 apps/Eagle CAD/install-32 create mode 100755 apps/Eagle CAD/uninstall create mode 100644 apps/Eagle CAD/website diff --git a/apps/Eagle CAD/credits b/apps/Eagle CAD/credits new file mode 100644 index 0000000..d360105 --- /dev/null +++ b/apps/Eagle CAD/credits @@ -0,0 +1 @@ +Botspot made this app. diff --git a/apps/Eagle CAD/description b/apps/Eagle CAD/description new file mode 100644 index 0000000..e1e94b4 --- /dev/null +++ b/apps/Eagle CAD/description @@ -0,0 +1,3 @@ +Design printed circuit boards. +This is the latest 7.7.0 version of Eagle's 32-bit Linux build. +It is emulated using Box86. diff --git a/apps/Eagle CAD/icon-24.png b/apps/Eagle CAD/icon-24.png new file mode 100644 index 0000000000000000000000000000000000000000..28fda7fed59c95c997d74818c2216c62c9035c34 GIT binary patch literal 2811 zcmZ`*XE+;*8jgtMprWc)Z$%p8gi55g;Mg@|-+15m@0W(NvlJ0JAp`&bM69jMFYr+M z?>q|T)%t}mZ9D+^nb?{D08g@n_b&_ZdbqdM1zP|hMhO6*UIPI3cq1wY0H9z1fbRqV z0DA`jkP0nnbui#9z+UGp%@6+xLDwBNZvr7(+gd)`$v{<{1cvSeu(TxxQ|? z9qpP=Jkgyv^_E5lqE%IdkTk}_BzT}{`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tb;AtY27(Fa8iyG#lXy&T3fHf|uy@$LcE7Ix-LQ$o_e0k2mSivR!s literal 0 HcmV?d00001 diff --git a/apps/Eagle CAD/icon-64.png b/apps/Eagle CAD/icon-64.png new file mode 100644 index 0000000000000000000000000000000000000000..eefe939810b769ee88193e79a728c65983f0792f GIT binary patch literal 8590 zcmZ`T@(?CRS=K{5$TYWPC-H%q`SKt zuHU`S{c(TX^E@->nKS2o-=A}4&b-&sP=OIK5CH%H*fZ6qI{&=y&~N@_{R^Sj0RV470ALdd07xYQ0JLr?wc0ZO zHlVN7RG!}bw-FkhP5+DFdp%QE!e1s~AmtHRC5xi_#|L`$6rqQj+)4FC>5UF|%AL8W zO&n_wH9R9=RzMGYQ={G>;A-&Y1`SbXSEIu-(8v7hNyoEqwZQCbgd0KS0ee@SeMtjU zg6x+8H%~Ov`pN@#B|U9c(}ZkoqT#mK5bot*d*B8=GLT{L(JFuThw6fNbS+vtnNsxv zbi6E2!~UR;gi5uhE9o_}+fiCK`wg zN3F$J&xdSz(+{ad)nM}Tmx88pnx7uLG2$rsd2mX8dq9Ni)#k^F za4qN^p5Y#v&$*wyRDI&Refup3M;TPRTsejlJG5EBKWa&2`YG`Xn63LhStlZtiCt1{ z6!T0kjvtT-*93aOsepQD2o5L%CV|UA7#1FmK`nmle=}k|S4z!(1lh!BnAAPWcy^Ms zn-A%U^x#x8g>2Ksk9=(>H-X1 zewg#PnVdWpLkZtj@Cz+EO8h{HBbtU*VJe9dpJ zabs~~dZ2=f+qpPGV8Wmxr;iL!Oo>sJzz)<3n9+4ko{m*4=0-E6S~wSyzBluMo$oM) zzxd*FdsT}Y+QZ)ddOBZIZ>E7?i>+Z;>GSCdJog6Cq9t%42>PU9^k=v@WE)-Ej1OnR zLll^NO#?2{^a#_mVT3n}^9SWA79#h-`=L|<-gpp-LBfbp>e61T;%g!dF`B~q zV-;gIbF%}kE|fgC`1=LX2#1+sN*H!G__1rc1(ISZ*}O)?&X$I7UkrQsu}1_yWFYcX zVj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}|0T*y9$}|6-)HZw0*B&)*4UCPL4k`YM+t2E+XLJ7hnYzUVCv-5~DZZ!Z zFz4y(8VOd6dKbO$pt*E$ce-;+e$r+CvEI`!3JiBjj6xBt%Su`?z8)2fz{v(BaL^x& zi{c>Oo@-0K%cxcpH&Q=G!RU8GMuC>h{ScAxt)0^iO>k93hJm^8R>?ugny`+G$S1*p ze;))myp)W*tSr2&r7S(H|2cq=ppYQnVNoDXj2<>e+NAmHok%m3Qd&f3}D!o~8Rnu{&}KN11Y{{h{wqI>@Fv;Qx@ wm%W#hH30tKW^d{0!slUa#pmT=;o|9L;qgyc{s(g9Uq0ZOlE%|w1tj*r0BxO0b^rhX literal 0 HcmV?d00001 diff --git a/apps/Eagle CAD/install-32 b/apps/Eagle CAD/install-32 new file mode 100755 index 0000000..39887dd --- /dev/null +++ b/apps/Eagle CAD/install-32 @@ -0,0 +1,71 @@ +#!/bin/bash + +DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")" + +function error { + echo -e "\\e[91m$1\\e[39m" + exit 1 +} + +if [ ! -f /usr/local/bin/box86 ];then + echo 'Installing box86 first...' + wget -qO- https://raw.githubusercontent.com/Botspot/box86-updater/main/update-box86 | bash + if [ ! -f /usr/local/bin/box86 ];then + error "Box86 failed to install somehow!" + else + echo "installed" > "${DIRECTORY}/data/status/Box86" + fi +fi + +#Acquired at http://eagle.autodesk.com/eagle/software-versions/1 + +sudo rm -rf /usr/local/bin/eagle ~/.local/share/applications/eagle.desktop &>/dev/null + +if [ ! -d $HOME/eagle-7.7.0 ];then + rm -rf $HOME/eagle-7.7.0 + echo -n "Downloading Eagle 7.7.0... " + wget -q http://eagle.autodesk.com/eagle/download-software/3 -O eagle.run || error "Failed to download Eagle!" + echo 'done' + echo -n "Extracting... " + bash ./eagle.run $HOME >/dev/null|| error "Failed to run eagle.run!" + rm -f ./eagle.run + echo "done" +fi + +mkdir -p $HOME/eagle &>/dev/null + +#make it runnable from a terminal +sudo ln -s $HOME/eagle-7.7.0/bin/eagle /usr/local/bin/eagle + +echo -n "Creating menu button... " +mkdir -p ~/.local/share/applications/ &>/dev/null +echo "#!/usr/bin/env xdg-open +[Desktop Entry] +Version=7.7.0 +Type=Application +Terminal=false +Icon=$HOME/eagle-7.7.0/bin/icons/Epf.svg +Name=Eagle +Exec=eagle %f +Comment=Design Circuit Boards with Eagle CAD +MimeType=application/brd; +Categories=Development;Electronics;" > ~/.local/share/applications/eagle.desktop +echo "done" + +echo -n "Creating .brd mimetype... " +sudo bash -c 'echo " + + + EagleCAD Project + + +" > /usr/share/mime/packages/brd.xml' +sudo update-mime-database /usr/share/mime +echo done + +if [ -z "$(cat ~/.config/mimeapps.list | grep 'eagle.desktop')" ];then + echo -n "Associating the .brd mimetype with Eagle... " + echo "[Added Associations] +application/brd=eagle.desktop;" >> ~/.config/mimeapps.list + echo done +fi diff --git a/apps/Eagle CAD/uninstall b/apps/Eagle CAD/uninstall new file mode 100755 index 0000000..b2d913c --- /dev/null +++ b/apps/Eagle CAD/uninstall @@ -0,0 +1,13 @@ +#!/bin/bash + +DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")" + +function error { + echo -e "\\e[91m$1\\e[39m" + exit 1 +} + +#if your app installs any packages, keep this command here so those packages will be removed. +"${DIRECTORY}/purge-installed" "$(dirname "$0")" || exit 1 + +sudo rm -rf ~/.local/share/applications/eagle.desktop /usr/local/bin/eagle $HOME/eagle-7.7.0 &>/dev/null diff --git a/apps/Eagle CAD/website b/apps/Eagle CAD/website new file mode 100644 index 0000000..1bf93bb --- /dev/null +++ b/apps/Eagle CAD/website @@ -0,0 +1 @@ +http://eagle.autodesk.com/eagle/software-versions/1