Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix lib lang search #501

Closed
wants to merge 4 commits into from

Conversation

guitorri
Copy link
Member

No description provided.

With the portable/relocatable .zip packages for windows the QUCSDIR
variable is not set. The .exe installer sets it thou.

This patch fixes qucs-lib allowing for the libraries to be located
relative to the executable location.
The qucs-lib/library/[Makefile.am | CMakeLists.txt] are installing
the libraries into [prefix]/share/quscs/library/ regardless of the
definition of LIBRARYDIR.
To have qucs in a relocatable directory (in Windows) it cannot rely
the prefix given at build time. This is actually a bug.

This patch let each tool find the language files at runtime, relative
to the location of the executable.
The language files are installed into
  [prefix]/share/qucs/lang
regardless of the definition of LANGUAGEDIR.
@guitorri guitorri added this to the 0.0.19 milestone Mar 28, 2016
@guitorri
Copy link
Member Author

@in3otd the first patch should fix the issue you observed on the rc1 win64 .zip package.

There is/was a similar issue with the translations.

@in3otd
Copy link
Contributor

in3otd commented Apr 8, 2016

Merged into release-0.0.19 (e1f97da)

@in3otd in3otd closed this Apr 8, 2016
@in3otd
Copy link
Contributor

in3otd commented Apr 8, 2016

BTW, #377 had also a small fix for an hard-coded path (see 32c691a), it may make sense to merge that into 0.0.19 also.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants