Ticket #297 (assigned enhancement)

Opened 3 years ago

Last modified 2 months ago

External plugin build support

Reported by: courmisch Assigned to: courmisch (accepted)
Priority: normal Milestone: Features paradize
Component: Build system Version: master
Severity: normal Keywords:
Cc: Platform(s): all
Difficulty: medium Work status: Not started

Description (Last modified by courmisch)

It is currently fairly tricky to compile plugins for VLC outside of the main source tree. We have to:

  • install every possibly needed headers in $(includedir)/vlc/
  • provide vlc-config (or something else) to easily find the right preprocessor, compiler and linker's flags,
  • make sure installed headers do not depend on something not installed,
  • in particular, headers should not depend on config.h - that's difficult to fix,
  • a pkgconfig file and/or a .m4 set of macros to automatically find "vlc-devel" stuff from custom configure.ac.

Ideally, one should be able to build and install plugin with only the headers and without the source tree.

Change History

08/05/05 21:03:18 changed by courmisch

  • status changed from new to assigned.

08/05/05 21:04:17 changed by courmisch

  • description changed.

08/18/05 17:36:13 changed by courmisch

(In [12233]) - (Un)install plugins from their directory (refs #297) - Fix mostlyclean target

08/18/05 17:38:09 changed by courmisch

(In [12234]) - Use a common rule to build plugins (refs #297)

(tested on Mingw32 and native Linux, might need some tweaks)

- Remove some legacy code

08/18/05 17:40:05 changed by courmisch

Still lot of work to be done. Biggest outstanding open issue is how to work around the per-plugin CFLAGS.

10/28/05 15:25:01 changed by zorglub

  • milestone set to Features paradize.

12/12/05 18:42:41 changed by courmisch

  • component set to Build system.

03/02/06 09:29:30 changed by courmisch

  • description changed.

03/02/06 09:30:22 changed by courmisch

  • description changed.

09/12/06 16:17:40 changed by courmisch

  • status changed from assigned to new.
  • owner deleted.

07/29/07 10:26:57 changed by courmisch

(In [20898]) Remove vlc_symbols - refs #297. Maintaining an API with this was pretty much impossible.

01/23/08 22:50:58 changed by courmisch

(In [24525]) Don't include config.h from the headers - refs #297. Missing some cases that I could not test. Also ffmpeg/chroma.c is locked, so I can but leave it broken. Fix is for the remaining modules is obvious and the issue is easy to detect.

01/24/08 17:39:07 changed by courmisch

(In [24546]) Get rid of HAVE_SOCKLEN_T - refs #297

05/26/08 17:38:49 changed by courmisch

(cd src/; make check-local) lists the remaining faulty config.h dependencies

05/26/08 17:38:58 changed by courmisch

  • status changed from new to assigned.
  • owner set to courmisch.