Package Details: webos-cli 6.0.1-1

Git Clone URL: https://aur.archlinux.org/webos-sdk.git (read-only, click to copy)
Package Base: webos-sdk
Description: LG webOS SDK cli tool
Upstream URL: http://webostv.developer.lge.com/sdk/installation/
Licenses: Apache, custom:LG Software Development Kit License Agreement
Submitter: Gr3q
Maintainer: None
Last Packager: Gr3q
Votes: 4
Popularity: 0.000000
First Submitted: 2020-05-21 19:04 (UTC)
Last Updated: 2021-11-06 13:39 (UTC)

Pinned Comments

Gr3q commented on 2020-05-21 19:07 (UTC) (edited on 2021-11-06 13:44 (UTC) by Gr3q)

TO INSTALL
  1. You need to download the SDK from the LG website (webOS_SDK_TV_Installer_linux64_full.zip) because it cannot be included in this package. The version must match with the version of this package!

  2. Place it into a folder with this package's snapshot you downloaded

  3. Build and install the packages you want with makepkg

The CLI command is ares.

If you want the VSCode extension to work properly you must set the CLI path in your /etc/environment, like so (seems to work without as well, it's just complaining):

WEBOS_CLI_TV=/usr/share/webOS_TV_SDK/CLI/bin

Known issues:

  • WebOS IDE's UI is partially broken for now (I guess it doesn't work well with newer versions of Qt). I will try to patch it when I've got some time.
  • Emulator will not start if your userid and groupid is not the same.

Latest Comments

1 2 Next › Last »

Gr3q commented on 2023-01-16 06:25 (UTC)

@FabioLolix I do not have time to maintain this AUR package and I don't develop on WebOS anymore, so I'm going to orphan this package.

In it's current state it's not good enough. It can be deleted or picked up by someone else.

FabioLolix commented on 2022-12-18 12:29 (UTC) (edited on 2022-12-18 13:52 (UTC) by FabioLolix)

LG have changed several things about the webOS SDk

https://webostv.developer.lge.com/develop/tools

https://webostv.developer.lge.com/develop/tools/emulator-installation

https://webostv.developer.lge.com/develop/tools/simulator-introduction

https://webostv.developer.lge.com/develop/tools/sdk-release-notes#webos-tv-sdk-v700

duzhaokun123 commented on 2022-07-16 08:43 (UTC)

ide can't launch and logged

/home/username/.swt/lib/linux/x86_64/libswt-pi-gtk-4427.so: /usr/lib/libcairo.so.2: undefined symbol: FT_Get_Color_Glyph_Layer
    Can't load library: /home/username/.swt/lib/linux/x86_64/libswt-pi-gtk.so

because cairo 1.17.6 is too new for it. the latest work cairo version is cairo-1.17.4-5-x86_64

so a simple way to fix it is launch with LD_LIBRARY_PATH=/path/to/cairo-1.17.4-5-x86_64.pkg/usr/lib:$LD_LIBRARY_PATH. this will override cairo to old version

xorly commented on 2021-12-19 23:57 (UTC)

build fails with error

unzip: cannot find or open webOS_SDK/Emulator_tv_v6.0.1.zip, webOS_SDK/Emulator_tv_v6.0.1.zip.zip or webOS_SDK/Emulator_tv_v6.0.1.zip.ZIP.

Does anybody else have same issue? It looks like SDK version 6.0.1 carries Emulator 6.0.0

Gr3q commented on 2021-11-06 13:45 (UTC)

Fixed the issues, I will work on having less patches in the future

Danacus commented on 2021-10-24 08:33 (UTC)

The emulator packages doesn't build anymore because the patches can't be applied.

Also, the SDK includes ares-extend-dev, but it doesn't get installed by the PKGBUILD.

Gr3q commented on 2021-07-01 18:49 (UTC)

@aorth Updated the package to 6.0.0 and fixed the issues again around building, the package should work now.

aorth commented on 2021-06-27 20:08 (UTC)

Today I noticed this, which seems to work but is missing ares-novacom, so you can't get your TV's SSH key:

https://www.npmjs.com/package/@webosose/ares-cli

In the end I downloaded the minimal installed and used npm install in the CLI directory and chmod +x for all the node scripts. And some other crap I can't remember. What a huge freaking pain in the ass LG has made developing or installing applications on your own damn TV.

Gr3q commented on 2021-04-10 15:10 (UTC)

@ceri the package was for 5.0.0. I updated it to 5.0.3, it works now.

ceri commented on 2021-04-10 02:46 (UTC) (edited on 2021-04-10 03:15 (UTC) by ceri)

The emulator pkg doesnt build, but the other two do.

==> Starting package_webos-emulator()... Archive: webOS_SDK/Emulator_tv_v5.0.0.zip creating: Emulator/ creating: Emulator/v5.0.0/ inflating: Emulator/v5.0.0/AppManager-1.0.jar
inflating: Emulator/v5.0.0/DTVEmulator.png
inflating: Emulator/v5.0.0/DTVEmulator.xpm
inflating: Emulator/v5.0.0/LGE Open Source Software Notice-Emulator.html
inflating: Emulator/v5.0.0/LG_webOS_TV_Emulator.vmdk
inflating: Emulator/v5.0.0/vmemulator.properties
inflating: Emulator/v5.0.0/webos_emul
inflating: Emulator/v5.0.0/AppManager.sh
inflating: Emulator/v5.0.0/LG_webOS_TV_Emulator.vbox
inflating: Emulator/v5.0.0/vm_register.sh
inflating: Emulator/v5.0.0/vm_remove.sh
creating: Emulator/v5.0.0/lib/ inflating: Emulator/v5.0.0/AppManager-1.0.jar
inflating: Emulator/v5.0.0/LG_webOS_TV_Emulator.sh
inflating: Emulator/v5.0.0/LG_webOS_TV_Emulator_linux.jar
inflating: Emulator/v5.0.0/lib/EnvManager-1.0.jar
inflating: Emulator/v5.0.0/lib/commons-compress-1.3.jar
inflating: Emulator/v5.0.0/lib/log4j-1.2.16.jar
inflating: Emulator/v5.0.0/lib/swt.jar
inflating: Emulator/v5.0.0/lib/swt_for_linux.jar
patching file v5.0.0/AppManager.sh Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file v5.0.0/AppManager.sh.rej patching file v5.0.0/LG_webOS_TV_Emulator.sh Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file v5.0.0/LG_webOS_TV_Emulator.sh.rej patching file v5.0.0/vm_register.sh patching file v5.0.0/vm_remove.sh Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file v5.0.0/vm_remove.sh.rej ==> ERROR: A failure occurred in package_webos-emulator().