mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
HACKING: update instructions
This commit is contained in:
parent
9f2d0729ab
commit
017bdf3486
2 changed files with 27 additions and 21 deletions
|
@ -28,6 +28,33 @@
|
|||
|
||||
- update web-page
|
||||
|
||||
= Building =
|
||||
|
||||
in the case we need to update the vapi for yet unreleased gstreamer api, these
|
||||
are the steps. Right now its enough to install the vapi file from git
|
||||
|
||||
== update system vapi ==
|
||||
1) checkout vala from gnome git
|
||||
cd vala/mediainfo/vapi
|
||||
vala-gen-introspect gstreamer-pbutils-0.10 packages/gstreamer-pbutils-0.10
|
||||
vapigen --vapidir . --library gstreamer-pbutils-0.10 packages/gstreamer-pbutils-0.10/gstreamer-pbutils-0.10.gi
|
||||
git diff packages/gstreamer-pbutils-0.10/gstreamer-pbutils-0.10.metadata >vapi.gstreamer-pbutils-0.10.patch
|
||||
|
||||
2) install
|
||||
# suse, meego
|
||||
sudo cp gstreamer-pbutils-0.10.vapi /usr/share/vala/mediainfo/vapi/
|
||||
# ubuntu
|
||||
sudo cp gstreamer-pbutils-0.10.vapi /usr/share/vala-0.xxx/vapi/
|
||||
|
||||
== use jhbuild ==
|
||||
jhbuild build vala
|
||||
jhbuild shell
|
||||
|
||||
You might want to build these at least once:
|
||||
jhbuild build gnome-themes-standard gnome-icon-theme
|
||||
|
||||
${jhbuild_prefix}/share/vala-0.22/vapi/
|
||||
|
||||
= Hacking =
|
||||
|
||||
use G_MESSAGES_DEBUG="gst-mi" to see the logging
|
||||
|
|
|
@ -22,27 +22,6 @@ using Gst;
|
|||
using Gst.PbUtils;
|
||||
using Gee;
|
||||
|
||||
/*
|
||||
in the case we need to update the vapi for yet unreleased gstreamer api, these
|
||||
are the steps. Right now its enough to install the vapi file from git
|
||||
|
||||
# checkout vala from gnome git
|
||||
cd vala/mediainfo/vapi
|
||||
vala-gen-introspect gstreamer-pbutils-0.10 packages/gstreamer-pbutils-0.10
|
||||
vapigen --vapidir . --library gstreamer-pbutils-0.10 packages/gstreamer-pbutils-0.10/gstreamer-pbutils-0.10.gi
|
||||
git diff packages/gstreamer-pbutils-0.10/gstreamer-pbutils-0.10.metadata >vapi.gstreamer-pbutils-0.10.patch
|
||||
|
||||
# suse, meego
|
||||
sudo cp gstreamer-pbutils-0.10.vapi /usr/share/vala/mediainfo/vapi/
|
||||
# ubuntu
|
||||
sudo cp gstreamer-pbutils-0.10.vapi /usr/share/vala-0.10/vapi/
|
||||
|
||||
# jhbuild
|
||||
jhbuild build vala
|
||||
jhbuild shell
|
||||
|
||||
*/
|
||||
|
||||
public class MediaInfo.Info : Box
|
||||
{
|
||||
// layout
|
||||
|
|
Loading…
Reference in a new issue