Modify local source & build (for Android) with cerbero?

Nicolas Dufresne nicolas at ndufresne.ca
Mon Feb 15 17:48:47 UTC 2021


Le lundi 15 février 2021 à 09:07 -0600, tomg a écrit :
> I am able to build GStreamer for Android (on Arch Linux) via:
> 
> cerbero -c config/cross-android-universal.cbc bootstrap
> cerbero -c config/cross-android-universal.cbc package gstreamer-1.0
> 
> I'd like to try applying the  following patch
> <
> https://gitlab.freedesktop.org/libnice/libnice/-/commit/3144e58c003e852d0c7709efb430dd73594ef698
>> to libnice and re-building.
> 
> If I modify the local files (agent/interfaces.c), they are immediately
> overwritten as (it appears that) the build process also involves pulling the
> source, if I use the following command:
> cerbero -c config/cross-android-universal.cbc buildone libnice
> 
> I assume I should try and modify libnice.recipe, put an extra patch in the
> patches list?

The right way to patch component in cerbero is to add a patch file into their
appropriate recipe folder and update the recipe. Patches can be unified diff, or
"git format-patch" mailbox form. The later preserve the authorship, which is
recommended.

  cerbero/recipes/libnice/<your>.patch
  cerbero/recipes/libnice.recipe

Regards,
Nicolas

> 
> thanks, 
> Tom Gilbert
> 
> 
> 
> 
> 
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




More information about the gstreamer-devel mailing list