Package Details: ccstudio 20.4.0.00013-1

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: Michael-Wigham
Last Packager: Michael-Wigham
Votes: 25
Popularity: 0.34
First Submitted: 2017-06-23 06:06 (UTC)
Last Updated: 2026-01-16 13:57 (UTC)

Pinned Comments

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

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.

yan12125 commented on 2020-06-27 02:02 (UTC)

Cool, thanks!