Skip to content
Snippets Groups Projects

lib: add a function to read the ABI version of the libvlc

Merged Steve Lhomme requested to merge robUx4/vlc:libvlc-version into master

For users of libvlc with manual DLL loading (especially languages not compatible with C that have to recode the access to the libvlc DLL) it is important to know the ABI version of the DLL, in case of API/ABI changes the wrapper need to be updated and know when the provided DLL package matches or not. This is especially critical for VLC 4.0 which has not changed version in 4 years and yet the libvlc API keeps changing.

This is similar to the versions of libavcodec/libavformat/etc. When the API is changed the version values should be updated as well, and hopefully documented as well.

This should also be backported to VLC 3.0.

Draft on top of !2883 (merged)

Edited by Steve Lhomme

Merge request reports

Merge request pipeline #290635 passed

Merge request pipeline passed for bd4b273d

Merged by Steve LhommeSteve Lhomme 2 years ago (Dec 7, 2022 10:43am UTC)

Loading

Pipeline #290641 passed

Pipeline passed for bd4b273d on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Steve Lhomme added 4 commits

    added 4 commits

    • f9b4bebd - configure: allow setting the directory where packaged files are put
    • ce11674f - win32: package: use the package dir instead of vlc-4.0.0-dev
    • 72ef93e4 - package: win32: set -o option to write in a packaged form
    • 3a0fc199 - lib: media: add the media type to libvlc_media_new_callbacks()

    Compare with previous version

  • Steve Lhomme added 1 commit

    added 1 commit

    • 004c8ff2 - lib: add a function to the ABI version of the libraries

    Compare with previous version

    • Resolved by Rémi Denis-Courmont

      The ABI must be matched before the runtime library is loaded. After symbols have been added to the runtime linker namespace and constructor functions have run, is too late.

      That's why we use different file names already for that purpose (at least on Linux and FreeBSD).

      Those version numbers already exist. They're in lib/Makefile.am, IIRC.

  • Steve Lhomme added 3 commits

    added 3 commits

    • c331b81c - configure: add global build values for the libvlc .so version
    • 6adb8050 - libvlc: dissociate the libvlc version from the libvlccore/VLC package version
    • be0a8e14 - lib: add a function to the ABI version of the libraries

    Compare with previous version

  • Steve Lhomme added 2 commits

    added 2 commits

    • ffe06fe5 - libvlc: dissociate the libvlc version from the libvlccore/VLC package version
    • 1b0f7ade - lib: add a function to the ABI version of the libraries

    Compare with previous version

  • Steve Lhomme added 2 commits

    added 2 commits

    • 62f64f6b - lib: add a function to the ABI version of the libraries
    • 21b02529 - libvlc: always include the libvlc version header from vlc.h

    Compare with previous version

  • Steve Lhomme added 2 commits

    added 2 commits

    • 26651bc0 - lib: add a function to the ABI version of the libraries
    • 55483b01 - libvlc: always include the libvlc version header from vlc.h

    Compare with previous version

  • Steve Lhomme mentioned in merge request !2869 (closed)

    mentioned in merge request !2869 (closed)

  • Steve Lhomme added 1 commit

    added 1 commit

    • aedaad90 - libvlc: always include the libvlc version header from vlc.h

    Compare with previous version

  • Rémi Denis-Courmont
  • Steve Lhomme changed title from lib: add a function to the ABI version of the libraries to lib: add a function to the ABI version of the libvlc

    changed title from lib: add a function to the ABI version of the libraries to lib: add a function to the ABI version of the libvlc

  • Steve Lhomme mentioned in merge request !2883 (merged)

    mentioned in merge request !2883 (merged)

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading