diff options
author | Stefan Sauer <ensonic@users.sf.net> | 2013-09-04 09:15:07 +0200 |
---|---|---|
committer | Stefan Sauer <ensonic@users.sf.net> | 2013-09-04 09:15:07 +0200 |
commit | fe59eb7faa743a94c6a09a921e7519e80487467a (patch) | |
tree | ccd73d76595b5b5145697d08d38823d84595ffe2 | |
parent | a560b5c94f7f7945dbbd03935c89738e62371e04 (diff) |
HACKING: update instructions
-rw-r--r-- | HACKING | 27 | ||||
-rw-r--r-- | src/mi-info.vala | 21 |
2 files changed, 27 insertions, 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/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/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 diff --git a/src/mi-info.vala b/src/mi-info.vala index a304042..5bd2567 100644 --- a/src/mi-info.vala +++ b/src/mi-info.vala @@ -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/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/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 |