remove appimage, stupid package
This commit is contained in:
parent
12fa8d3700
commit
6db730cbfb
@ -1,96 +0,0 @@
|
|||||||
# appimage-builder recipe see https://appimage-builder.readthedocs.io for details
|
|
||||||
# Please build this AppImage on Ubuntu 18.04
|
|
||||||
version: 1
|
|
||||||
script:
|
|
||||||
# Remove any previous build
|
|
||||||
- rm -rf AppDir | true
|
|
||||||
# Install application dependencies
|
|
||||||
- pip3 install --upgrade pip && pip3 install --ignore-installed --prefix=/usr --root=AppDir -r ./requirements.txt
|
|
||||||
# Download sciter.so
|
|
||||||
- mkdir -p AppDir/usr/lib/rustdesk/
|
|
||||||
- pushd AppDir/usr/lib/rustdesk && wget https://github.com/c-smile/sciter-sdk/raw/29a598b6d20220b93848b5e8abab704619296857/bin.lnx/x64/libsciter-gtk.so && popd
|
|
||||||
# Build rustdesk
|
|
||||||
- pushd .. && python3 inline-sciter.py && cargo build --features inline,appimage --release && popd
|
|
||||||
- mkdir -p AppDir/usr/bin
|
|
||||||
- cp ../target/release/rustdesk AppDir/usr/bin/rustdesk
|
|
||||||
# Make usr and icons dirs
|
|
||||||
- mkdir -p AppDir/usr/share/icons/hicolor/128x128 && cp ../128x128.png AppDir/usr/share/icons/hicolor/128x128/rustdesk.png
|
|
||||||
- mkdir -p AppDir/usr/share/icons/hicolor/32x32 && cp ../32x32.png AppDir/usr/share/icons/hicolor/32x32/rustdesk.png
|
|
||||||
- cp rustdesk.desktop AppDir/
|
|
||||||
|
|
||||||
AppDir:
|
|
||||||
path: ./AppDir
|
|
||||||
app_info:
|
|
||||||
id: rustdesk
|
|
||||||
name: RustDesk
|
|
||||||
icon: rustdesk
|
|
||||||
version: 1.1.10
|
|
||||||
exec: usr/bin/rustdesk
|
|
||||||
exec_args: $@
|
|
||||||
apt:
|
|
||||||
arch:
|
|
||||||
- amd64
|
|
||||||
allow_unauthenticated: true
|
|
||||||
sources:
|
|
||||||
- sourceline: deb http://archive.ubuntu.com/ubuntu/ bionic main restricted
|
|
||||||
- sourceline: deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted
|
|
||||||
- sourceline: deb http://archive.ubuntu.com/ubuntu/ bionic universe
|
|
||||||
- sourceline: deb http://archive.ubuntu.com/ubuntu/ bionic-updates universe
|
|
||||||
- sourceline: deb http://archive.ubuntu.com/ubuntu/ bionic multiverse
|
|
||||||
- sourceline: deb http://archive.ubuntu.com/ubuntu/ bionic-updates multiverse
|
|
||||||
- sourceline: deb http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
|
|
||||||
- sourceline: deb http://archive.ubuntu.com/ubuntu/ bionic-security main restricted
|
|
||||||
- sourceline: deb http://archive.ubuntu.com/ubuntu/ bionic-security universe
|
|
||||||
- sourceline: deb http://archive.ubuntu.com/ubuntu/ bionic-security multiverse
|
|
||||||
include:
|
|
||||||
- libc6:amd64
|
|
||||||
- libgcc1:amd64
|
|
||||||
- libgcrypt20:amd64
|
|
||||||
- libgtk-3-0:amd64
|
|
||||||
- liblz4-1:amd64
|
|
||||||
- liblzma5:amd64
|
|
||||||
- libpcre3:amd64
|
|
||||||
- libpulse0:amd64
|
|
||||||
- libsystemd0:amd64
|
|
||||||
- libxau6:amd64
|
|
||||||
- libxcb-randr0:amd64
|
|
||||||
- libxdmcp6:amd64
|
|
||||||
- libxdo3:amd64
|
|
||||||
- libxext6:amd64
|
|
||||||
- libxfixes3:amd64
|
|
||||||
- libxinerama1:amd64
|
|
||||||
- libxrender1:amd64
|
|
||||||
- libxtst6:amd64
|
|
||||||
- python3:amd64
|
|
||||||
- python3-pkg-resources:amd64
|
|
||||||
files:
|
|
||||||
include: []
|
|
||||||
exclude:
|
|
||||||
- usr/share/man
|
|
||||||
- usr/share/doc/*/README.*
|
|
||||||
- usr/share/doc/*/changelog.*
|
|
||||||
- usr/share/doc/*/NEWS.*
|
|
||||||
- usr/share/doc/*/TODO.*
|
|
||||||
runtime:
|
|
||||||
env:
|
|
||||||
PYTHONHOME: '${APPDIR}/usr'
|
|
||||||
PYTHONPATH: '${APPDIR}/usr/lib/python3.6/site-packages'
|
|
||||||
test:
|
|
||||||
fedora-30:
|
|
||||||
image: appimagecrafters/tests-env:fedora-30
|
|
||||||
command: ./AppRun
|
|
||||||
debian-stable:
|
|
||||||
image: appimagecrafters/tests-env:debian-stable
|
|
||||||
command: ./AppRun
|
|
||||||
archlinux-latest:
|
|
||||||
image: appimagecrafters/tests-env:archlinux-latest
|
|
||||||
command: ./AppRun
|
|
||||||
centos-7:
|
|
||||||
image: appimagecrafters/tests-env:centos-7
|
|
||||||
command: ./AppRun
|
|
||||||
ubuntu-xenial:
|
|
||||||
image: appimagecrafters/tests-env:ubuntu-xenial
|
|
||||||
command: ./AppRun
|
|
||||||
AppImage:
|
|
||||||
arch: x86_64
|
|
||||||
update-information: guess
|
|
@ -1,20 +0,0 @@
|
|||||||
# How to build and run RustDesk in AppImage
|
|
||||||
|
|
||||||
Begin by installing `appimage-builder` and predependencies mentioned in official website.
|
|
||||||
|
|
||||||
Assume that `appimage-builder` is setup correctly, run commands below, `bash` or `zsh` is recommended:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
cd /path/to/rustdesk_root
|
|
||||||
./build_appimage.py
|
|
||||||
```
|
|
||||||
|
|
||||||
After a success package, you can see the message in console like:
|
|
||||||
|
|
||||||
```shell
|
|
||||||
INFO:root:AppImage created successfully
|
|
||||||
```
|
|
||||||
|
|
||||||
The AppImage package is shown in `./appimage/RustDesk-VERSION-TARGET_PLATFORM.AppImage`.
|
|
||||||
|
|
||||||
Note: AppImage version of rustdesk is an early version which requires more test. If you find problems, please open an issue.
|
|
@ -1,19 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Version=1.1.10
|
|
||||||
Name=RustDesk
|
|
||||||
GenericName=Remote Desktop
|
|
||||||
Comment=Remote Desktop
|
|
||||||
Exec=rustdesk
|
|
||||||
Icon=rustdesk
|
|
||||||
Terminal=false
|
|
||||||
Type=Application
|
|
||||||
StartupNotify=true
|
|
||||||
Categories=Other;
|
|
||||||
Keywords=internet;
|
|
||||||
Actions=new-window;
|
|
||||||
|
|
||||||
X-Desktop-File-Install-Version=0.23
|
|
||||||
|
|
||||||
[Desktop Action new-window]
|
|
||||||
Name=Open a New Window
|
|
||||||
|
|
@ -1,23 +0,0 @@
|
|||||||
#!/usr/bin/python3
|
|
||||||
import os
|
|
||||||
|
|
||||||
def get_version():
|
|
||||||
with open("Cargo.toml") as fh:
|
|
||||||
for line in fh:
|
|
||||||
if line.startswith("version"):
|
|
||||||
return line.replace("version", "").replace("=", "").replace('"', '').strip()
|
|
||||||
return ''
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
# check version
|
|
||||||
version = get_version()
|
|
||||||
os.chdir("appimage")
|
|
||||||
os.system("sed -i 's/^Version=.*/Version=%s/g' rustdesk.desktop" % version)
|
|
||||||
os.system("sed -i 's/^ version: .*/ version: %s/g' AppImageBuilder.yml" % version)
|
|
||||||
# build appimage
|
|
||||||
ret = os.system("appimage-builder --recipe AppImageBuilder.yml --skip-test")
|
|
||||||
if ret == 0:
|
|
||||||
print("RustDesk AppImage build success :)")
|
|
||||||
print("Check AppImage in '/path/to/rustdesk/appimage/RustDesk-VERSION-TARGET_PLATFORM.AppImage'")
|
|
||||||
else:
|
|
||||||
print("RustDesk AppImage build failed :(")
|
|
Loading…
x
Reference in New Issue
Block a user