Vitalts / golangide

Automatically exported from code.google.com/p/golangide
0 stars 0 forks source link

Packaging golangide #18

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hello,

I'm trying to package golangide for Arch Linux, but I stumbled across some 
issues. When placing the binary files in /usr/bin and plugins in another 
directory, the liteid executable still looks for plugins in /usr/bin/plugins. 
As far as I can tell, there is no environment variable (like GOLANGIDE_PLUGINS, 
for example), that can be set. This also goes for the templates and examples, 
as far as I can tell. A solution to this would be great.

What steps will reproduce the problem?

1. Place liteide and the other binaries in /usr/bin
2. Place plugins, templates and documentation elsewhere
3. strace liteide
4. observe:
open("/usr/bin/plugins", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT 
(No such file or directory)

What is the expected output? What do you see instead?

I would expect it to be possible to place the binaries in /usr/bin and spread 
the other files around the filesystem, as described by the Filesystem Hierarchy 
Standard and Arch Linux packaging guidelines.

What version of the product are you using? On what operating system?

golangide 0.2.1
64-bit Arch Linux (rolling release, no version number)

Please provide any additional information below.

6l version release.2011-02-15 7463

Thanks!

- Alexander Rødseth

Original issue reported on code.google.com by rods...@gmail.com on 28 Feb 2011 at 11:59

GoogleCodeExporter commented 8 years ago
The release.0.2.1 not implemented
Next release or hg will provide

Original comment by Visua...@gmail.com on 1 Mar 2011 at 12:09

GoogleCodeExporter commented 8 years ago
liteide x3 or high

main.cpp

litApp->setPluginPath(...);
litApp->setResourcePath(...);

Original comment by Visua...@gmail.com on 1 Jul 2011 at 1:42