Hey folks -- I created a topic on the E2E forum for this issue. Hopefully TI can shed some light on what's going on.
Search Criteria
Package Details: ccstudio 12.8.0.00012-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/ccstudio.git (read-only, click to copy) |
---|---|
Package Base: | ccstudio |
Description: | Texas Instruments Code Composer Studio IDE |
Upstream URL: | http://www.ti.com/tool/ccstudio |
Keywords: | c ide msp430 |
Licenses: | custom:TSPA |
Submitter: | alexei |
Maintainer: | tapajos |
Last Packager: | tapajos |
Votes: | 21 |
Popularity: | 0.103515 |
First Submitted: | 2017-06-23 06:06 (UTC) |
Last Updated: | 2024-08-23 11:46 (UTC) |
Dependencies (16)
- alsa-lib
- binutils
- gconfAUR
- gtk2 (gtk2-maemoAUR, gtk2-patched-filechooser-icon-viewAUR)
- gtk3 (gtk3-no_deadkeys_underlineAUR, gtk3-classicAUR, gtk3-classic-xfceAUR, gtk3-patched-filechooser-icon-viewAUR)
- lib32-glibc (lib32-glibc-gitAUR, lib32-glibc-linux4AUR, lib32-glibc-eacAUR, lib32-glibc-eac-binAUR, lib32-glibc-eac-rocoAUR)
- libcanberra
- libsecret
- libusb-compat (libusb0AUR)
- libxss
- libxtst
- ncurses5-compat-libsAUR
- nss (nss-hgAUR)
- python2AUR (python2-binAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR, glibc-eac-rocoAUR) (make)
- ttf-dejavu (ttf-dejavu-ibAUR, ttf-dejavu-emojilessAUR) (optional)
Required by (1)
Sources (4)
MrAureliusR commented on 2022-10-31 01:10 (UTC)
MrAureliusR commented on 2022-10-29 01:00 (UTC)
Having the same error as Kris-G both when using this package and installing v11 or v12 manually from the TI website. This is a huge issue for me as I use CCS professionally. I've had to start using a Windows VM in the meantime which... sucks.
I've been meaning to post on TI's E2E forum about this, just haven't gotten around to it yet. I've used versions 8, 9 and 10 on Linux with no issues whatsoever. Even version 10 works fine on Arch (or it did, I uninstalled it when I saw there were updates and haven't tried re-installing it).
dccafe commented on 2022-10-29 00:59 (UTC)
We should start a forum discussion about the swt-pi4 dependecy
Kris-G commented on 2022-10-28 07:31 (UTC)
An error occured when executing /opt/ccstudio/ccs/eclipse/ccstudio after pacman -Syu. So the required swt-pi4-gtk-4942r22 is not included in the package?
!SESSION 2022-10-28 15:07:33.570 -----------------------------------------------
eclipse.buildId=4.19.0.I20210303-1800
java.version=11.0.13
java.vendor=Eclipse Adoptium
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=zh_CN
Framework arguments: -product com.ti.ccstudio.branding.product
Command-line arguments: -os linux -ws gtk -arch x86_64 -product com.ti.ccstudio.branding.product
!ENTRY org.eclipse.osgi 4 0 2022-10-28 15:07:34.869
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
no swt-pi4-gtk-4942r22 in java.library.path: [/opt/ccstudio/ccs/eclipse/jre/lib/server, /opt/ccstudio/ccs/eclipse/jre/lib, ., /usr/java/packages/lib, /usr/lib64, /lib64, /lib, /usr/lib]
no swt-pi4-gtk in java.library.path: [/opt/ccstudio/ccs/eclipse/jre/lib/server, /opt/ccstudio/ccs/eclipse/jre/lib, ., /usr/java/packages/lib, /usr/lib64, /lib64, /lib, /usr/lib]
Can't load library: /home/klu/.swt/lib/linux/x86_64/libswt-pi4-gtk-4942r22.so
Can't load library: /home/klu/.swt/lib/linux/x86_64/libswt-pi4-gtk.so
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:338)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:257)
at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:96)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:209)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:155)
at org.eclipse.swt.widgets.Display.<clinit>(Display.java:163)
at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:726)
at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:168)
at org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:182)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:125)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
at org.eclipse.equinox.launcher.Main.run(Main.java:1461)
Coelacanthus commented on 2022-10-01 15:37 (UTC)
Arch provided virtual package ttf-font
to specify need ttf font. \
And you do better to use sysusers.d to add the group as Arch official repo does.
juxuanu commented on 2022-09-28 17:01 (UTC)
After succesfully setting up this program, it creates a "ti" folder at "$HOME" every time is launched, with nothing inside it. Is there a way to avoid that?
Thanks for the PKGBUILD!
deid84 commented on 2022-04-21 07:25 (UTC)
@troytjh thanks for your fix... I pushed your correction so now it runs smoothly (also tested with an helper like yay)
troytjh commented on 2022-04-19 18:58 (UTC)
Folder "$srcdir/$_installpath/ccs/eclipse/configuration/org.eclipse.osgi/362" doesn't appear to exist anymore. Changing to "365" fixed the issue on my system.
diff --git a/PKGBUILD b/PKGBUILD
index c95e520..18c9002 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -71,8 +71,8 @@ package() {
find $srcdir/$_installpath/ccs/eclipse/p2/org.eclipse.equinox.p2.engine/profileRegistry/epp.package.cpp.profile/.data/.settings/org.eclipse.equinox.p2.metadata.repository.prefs -print0 | xargs -0 sed -i "s#$srcdir/$_installdir##"
find $srcdir/$_installpath/ccs/eclipse/plugins/com.ti.ccstudio.base_*/properties -print0 | xargs -0 sed -i "s#$srcdir/$_installdir##"
find $srcdir/$_installpath/ccs/eclipse/configuration/org.eclipse.osgi/*/data/*/*.xml -print0 | xargs -0 sed -i "s#$srcdir/$_installdir##"
- find $srcdir/$_installpath/ccs/eclipse/configuration/org.eclipse.osgi/362/data/timestamps* -print0 | xargs -0 sed -i "s#$srcdir/$_installdir##"
- find $srcdir/$_installpath/ccs/eclipse/configuration/org.eclipse.osgi/362/data/cache.timestamps -print0 | xargs -0 sed -i "s#$srcdir/$_installdir##"
+ find $srcdir/$_installpath/ccs/eclipse/configuration/org.eclipse.osgi/365/data/timestamps* -print0 | xargs -0 sed -i "s#$srcdir/$_installdir##"
+ find $srcdir/$_installpath/ccs/eclipse/configuration/org.eclipse.osgi/365/data/cache.timestamps -print0 | xargs -0 sed -i "s#$srcdir/$_installdir##"
find $srcdir/$_installpath/ccs/eclipse/configuration/ccs.properties -print0 | xargs -0 sed -i "s#$srcdir/$_installdir##"
install -D -m0755 "$srcdir/$_installpath/$_desktop" $pkgdir/usr/share/applications/$pkgname.desktop
User456 commented on 2021-07-12 08:38 (UTC)
PKGBUILD contains unsecure http-downloads instead of secure https-downloads. Can you fix this?
alexei commented on 2021-05-01 15:44 (UTC)
The browser pane is broken for the following reason: upon every launch CCS automatically extracts /opt/ccstudio/ccs/eclipse/plugins/com.ti.chromium.browser.gtk.linux.x86_64_1.0.0.202103141800/lib/jxbrowser-linux64-6.21.jar
archive into /opt/ccstudio/ccs/eclipse/configuration/.jxbrowser-chromium-lib/
and it preserves some of the permissions, which in the upstream archive are not writable for group/other, which is needed for this browser pane to run.
And, I tried fixing it by unpacking the jar, unpacking the 7z archive inside, chmoding everything and packing it back up. BUT, this doesn't work because 7z preserves only some of the permission bits; and it doesn't preserver the writable bit on the directories. Blame 7z.
Pinned Comments