Package Details: code-transparent 1.41.1-1

Git Clone URL: https://aur.archlinux.org/code-transparent.git (read-only, click to copy)
Package Base: code-transparent
Description: The Open Source build of Visual Studio Code (vscode) editor - with transparency enabled.
Upstream URL: https://github.com/microsoft/vscode
Keywords: editor
Licenses: MIT
Conflicts: code
Provides: code
Submitter: frantic1048
Maintainer: frantic1048
Last Packager: frantic1048
Votes: 0
Popularity: 0.000000
First Submitted: 2019-10-23 06:37
Last Updated: 2019-12-25 03:53

Required by (5)

Sources (6)

Latest Comments

frantic1048 commented on 2019-12-27 03:11

@XeGrox: If you've got any issue, please, clarify:

  1. What is expected?
  2. What is not working as expected?
  3. What is changed/did you do anything?

(Please consider reading http://www.catb.org/~esr/faqs/smart-questions.html)

For your last message:

Not working as of 18/12/19 after latest update

I cannot figure out WHAT is not working or should be working, after WHAT update or specific operation. Thus I cannot help solve your issue in any way.

Did you follow the instruction after installation (https://aur.archlinux.org/cgit/aur.git/tree/code-transparent.install?h=code-transparent)? BTW, there's new version 1.41.1-1 since Dec, 25.

XeGrox commented on 2019-12-18 13:27

Not working as of 18/12/19 after latest update

frantic1048 commented on 2019-12-18 07:59

@strimmlarn

According to https://pastebin.com/0AGc5nRy and previous message you mentioned about using yay, it looks yay is using an existing package(built on previous installation process) for your last installation.

The error said something like: "could not find npm nodejs".

I cannot determine what happend here. All the dependencies of this package are from the official repo(no AUR deps), it should not trigger errors like "cannot found package" where the package is in the official repo.

BTW, as the issue mentioned in https://aur.archlinux.org/packages/code-transparent/#comment-714439, if you are building this package yourself, building in a clean environment(like extra-x86_64-build does) is recommended. You can check your AUR helper if it supports building in a clean environment.

Further, you can refer to https://aur.archlinux.org/packages/code-transparent/#comment-714795 for the manually building solution, or use archlinuxcn repo(which delivers a prebuilt code-transparent package to you, also maintained by me).

strimmlarn commented on 2019-12-17 04:49

huh removed code-transparent + all dependencies + npm and didn't get the error this time its just installed.

don't know if it helps but here is the log for that:

https://pastebin.com/0AGc5nRy

If you can help me help you just tell me, thx for the package btw.

strimmlarn commented on 2019-12-17 04:21

@frantic1048

sry I don't know where to search for it.

Used yay and didn't have a default folder for makepkg logs.

The error said something like: "could not find npm nodejs".

Ahh what the hell, I try to reinstall it brb.

frantic1048 commented on 2019-12-16 02:23

@strimmlarn: Any log please ?

strimmlarn commented on 2019-12-15 12:47

Got error when installing this.

fixed it by writing: "npm install nodejs"

then installed it again.

frantic1048 commented on 2019-11-04 06:36

@ShayBox: For minimal changes, this package is based on https://www.archlinux.org/packages/community/x86_64/code/, which uses nodejs-lts-dubnium as a make dependency.

Using nodejs to build may work, but I haven't tried.

Using -bin package is not an option for this package since we have to apply the transparent patch to source code to make things work properly. Patching a compiled -bin package would make code continuously complain about corrupt installation(https://code.visualstudio.com/docs/supporting/FAQ#_installation-appears-to-be-corrupt-unsupported).

To your concern about building, here are two solutions:

Solution A:

Use devtools (https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_clean_chroot#Convenience_way) to build the package.

extra-x86_64-build (comes from devtools) will build the package in a clean environment, without bothering your local packages.

Solution B:

Use archlinuxcn repo (https://github.com/archlinuxcn/repo).

I've added code-transparent to archlinuxcn repo. You can install code-transparent with the prebuilt package from archlinuxcn repo.

ShayBox commented on 2019-11-01 04:27

I love the transparency patches, and I know this is also a problem with the original code package, but unfortunately this just isn't compilable, because it uses nodejs-lts-dubnium instead of nodejs, and because they conflict, I can't install nodejs-lts-dubnium even temporarily to build it, a ton of packages use nodejs as a dependency, and to uninstall nodejs I would have to remove a lot of other packages, you're either going to have to provide some binary source like a -bin package, or an arch repository, or get it to build with nodejs instead of nodejs-lts-dubnium, I haven't tested it, so it may compile.
Ultimately the code's PKGBUILD isn't very good, it uses the wrong nodejs, uses both npm and yarn, python2, and electron4.
I guess the easiest option would be a bin package, that's what all the other aur packages have chosen.