From 7a69341f03accd69e03da9beca6ba9034655420b Mon Sep 17 00:00:00 2001 From: Stefan Sauer Date: Thu, 13 Jan 2011 12:03:00 +0200 Subject: [PATCH] vapi: no more need for patching the vapi file --- mediainfo/src/mi-info.vala | 5 ++++- .../vapi/vapi.gstreamer-pbutils-0.10.patch | 17 ----------------- 2 files changed, 4 insertions(+), 18 deletions(-) delete mode 100644 mediainfo/vapi/vapi.gstreamer-pbutils-0.10.patch diff --git a/mediainfo/src/mi-info.vala b/mediainfo/src/mi-info.vala index 421e41f359..20314bc559 100644 --- a/mediainfo/src/mi-info.vala +++ b/mediainfo/src/mi-info.vala @@ -22,12 +22,15 @@ using Gst; using Gee; /* -we need to update the vapi for yet unreleased gstreamer api: +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 sudo cp gstreamer-pbutils-0.10.vapi /usr/share/vala/mediainfo/vapi/ # ubuntu diff --git a/mediainfo/vapi/vapi.gstreamer-pbutils-0.10.patch b/mediainfo/vapi/vapi.gstreamer-pbutils-0.10.patch deleted file mode 100644 index b71d124d11..0000000000 --- a/mediainfo/vapi/vapi.gstreamer-pbutils-0.10.patch +++ /dev/null @@ -1,17 +0,0 @@ -diff --git a/mediainfo/vapi/packages/gstreamer-pbutils-0.10/gstreamer-pbutils-0.10.metadata b/mediainfo/vapi/packages/gstreamer-pbutils-0.10/gstreamer-pbutils-0.10.metadata -index f873f19..333bef2 100644 ---- a/mediainfo/vapi/packages/gstreamer-pbutils-0.10/gstreamer-pbutils-0.10.metadata -+++ b/mediainfo/vapi/packages/gstreamer-pbutils-0.10/gstreamer-pbutils-0.10.metadata -@@ -13,3 +13,12 @@ gst_missing_decoder_installer_detail_new transfer_ownership="1" - gst_missing_encoder_installer_detail_new transfer_ownership="1" - gst_install_plugins_async.details is_array="1" no_array_length="1" - gst_install_plugins_async.ctx nullable="1" -+gst_discoverer_discover_uri transfer_ownership="1" -+gst_discoverer_info_get_stream_list type_arguments="DiscovererStreamInfo" transfer_ownership="1" -+gst_discoverer_info_get_audio_streams type_arguments="DiscovererStreamInfo" transfer_ownership="1" -+gst_discoverer_info_get_video_streams type_arguments="DiscovererStreamInfo" transfer_ownership="1" -+gst_discoverer_info_get_container_streams type_arguments="DiscovererStreamInfo" transfer_ownership="1" -+GstDiscovererInfo base_class="GstMiniObject" -+GstDiscovererInfo.mini_object hidden="1" -+GstDiscovererStreamInfo base_class="GstMiniObject" -+GstDiscovererStreamInfo.mini_object hidden="1"