Modify

Ticket #6 (reopened defect)

Opened 4 years ago

Last modified 3 years ago

Allow override of runtime search path

Reported by: salsaman Owned by: somebody
Priority: major Milestone: version 1.2
Component: api Version: 1.2
Keywords: Cc:

Description

In the frei0r spec, a search list of plugin locations is provided:

 http://www.piksel.org/frei0r/1.1/spec/group__pluglocations.html

However, this will fail for example on 64 bit systems if the frei0r plugins are installed in /usr/lib64/frei0r-1/.

To get around this, I suggest allowing use of an environment variable: FREI0R_PLUGIN_DIR which would override the second directory path (/usr/local/lib/frei0r-1/) if present.

Attachments

Change History

comment:1 Changed 3 years ago by jaromil

  • Priority changed from major to trivial
  • Status changed from new to closed
  • Resolution set to invalid

This has to do with the host application, not with frei0r plugins.

FWIW FreeJ searches in the following paths:

addsearchdir("/usr/lib/frei0r-1");

addsearchdir("/usr/lib64/frei0r-1");

addsearchdir("/usr/local/lib/frei0r-1");

addsearchdir("/opt/local/lib/frei0r-1");

comment:2 Changed 3 years ago by jaromil

  • Priority changed from trivial to major
  • Status changed from closed to reopened
  • Resolution invalid deleted

pkg-config can solve the problem: we already provide a frei0r.pc that is generated at compile time and installed in PKG_CONFIG_DIR, that can be used by host applications to ./configure the plugin path when they are compiled or binary packaged into a distribution.

the problem still persists:, the path in our .pc file doesn't honours the /lib64 variant on 64bit systems:

libdir=${exec_prefix}/lib

inside frei0r.pc.in should be better formed by configure.ac

comment:3 Changed 3 years ago by gisle

  • Milestone changed from version 1.1 to version 1.2

comment:4 Changed 3 years ago by gisle

  • Version changed from 1.1 to 1.2

comment:5 Changed 3 years ago by gisle

  • Component changed from filter to api
View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as reopened
as The resolution will be set. Next status will be 'closed'
to The owner will be changed from somebody. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.