HACKING: update instructions
authorStefan Sauer <ensonic@users.sf.net>
Wed, 4 Sep 2013 07:15:07 +0000 (09:15 +0200)
committerStefan Sauer <ensonic@users.sf.net>
Sun, 15 Sep 2013 17:50:32 +0000 (19:50 +0200)
mediainfo/HACKING
mediainfo/src/mi-info.vala

index de7dff1cc01207a5eb6712dfe9e19151970b116f..932b4612cdd18d1db9e184e83658ebfd1285bd77 100644 (file)
 
 - 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
index 9b48bc74f6790259e6cdd4bf4cfdb06fa36f04b4..dfcbfe95e89d4708a02532f3606e4137697b1966 100644 (file)
@@ -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