summaryrefslogtreecommitdiff
path: root/mediainfo
diff options
context:
space:
mode:
authorStefan Sauer <ensonic@users.sf.net>2013-09-04 09:15:07 +0200
committerStefan Sauer <ensonic@users.sf.net>2013-09-15 19:50:32 +0200
commit017bdf3486139a1eea1c512f56bf68a2d438f8a7 (patch)
treea72f1a049dfc6c0e0a5623e2043e76ec4e0a5b32 /mediainfo
parent9f2d0729ab2356ef3ba9f7ed33daae26498a8847 (diff)
HACKING: update instructions
Diffstat (limited to 'mediainfo')
-rw-r--r--mediainfo/HACKING27
-rw-r--r--mediainfo/src/mi-info.vala21
2 files changed, 27 insertions, 21 deletions
diff --git a/mediainfo/HACKING b/mediainfo/HACKING
index de7dff1..932b461 100644
--- a/mediainfo/HACKING
+++ b/mediainfo/HACKING
@@ -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
diff --git a/mediainfo/src/mi-info.vala b/mediainfo/src/mi-info.vala
index 9b48bc7..dfcbfe9 100644
--- a/mediainfo/src/mi-info.vala
+++ b/mediainfo/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/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