[packages/longomatch] - initial
qboosh
qboosh at pld-linux.org
Mon Jan 18 21:49:27 CET 2016
commit a9c090687ef97d251e6570d508ac4228ec3cff8e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Jan 18 21:51:43 2016 +0100
- initial
longomatch-missing.patch | 263 +++++++++++++++++++++++++++++++++++++++++++++++
longomatch.spec | 138 +++++++++++++++++++++++++
2 files changed, 401 insertions(+)
---
diff --git a/longomatch.spec b/longomatch.spec
new file mode 100644
index 0000000..82d0437
--- /dev/null
+++ b/longomatch.spec
@@ -0,0 +1,138 @@
+Summary: LongoMatch - video analysis tool oriented to sports and coaches
+Summary(pl.UTF-8): LongoMatch - narzędzie do analizy obrazu zorientowane na sport i treningi
+Name: longomatch
+Version: 1.0.2
+Release: 1
+License: GPL v2+
+Group: X11/Applications/Video
+Source0: http://ftp.gnome.org/pub/GNOME/sources/longomatch/1.0/%{name}-%{version}.tar.xz
+# Source0-md5: f73267559c704e7505e9423af383269f
+Patch0: %{name}-missing.patch
+URL: http://www.longomatch.com/open-source/
+BuildRequires: autoconf >= 2.54
+BuildRequires: automake >= 1:1.11
+#TODO: pkgconfig(db4o) ???
+BuildRequires: dotnet-gtk-sharp2-devel >= 2.0
+BuildRequires: dotnet-newtonsoft-json-devel
+BuildRequires: gettext-tools
+BuildRequires: glib2-devel >= 2.0
+BuildRequires: gstreamer0.10-devel >= 0.10
+BuildRequires: gstreamer0.10-plugins-base-devel >= 0.10
+BuildRequires: gtk+2-devel >= 2:2.8
+BuildRequires: intltool >= 0.40.0
+BuildRequires: libtool
+BuildRequires: mono-addins-devel
+BuildRequires: mono-devel >= 2.8
+BuildRequires: pkgconfig
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+Requires(post,postun): /sbin/ldconfig
+Requires(post,postun): gtk-update-icon-cache
+Requires: gtk+2 >= 2:2.8
+Requires: hicolor-icon-theme
+Requires: mono >= 2.8
+Requires: mono-addins
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+LongoMatch is a video analysis tool oriented to sports and coaches, to
+assist them on making game video analysis. It simplifies video
+analysis by providing a set of intuitive tools to tag, review and edit
+the most important plays of the game. It allows to group plays by
+categories and adjust the lead and lag time of each play frame by
+frame through a timeline. It also has support for playlists, an easy
+way to create presentations with plays from different games and
+provides a video editor to create new videos from your favorite plays.
+Even if primary focused to sports, LongoMatch can be used for any task
+that requires tagging and reviewing segments of a video file, and can
+be applied to fields like cinema, medics or conferences.
+
+%description -l pl.UTF-8
+LongoMatch to narzędzie do analizy obrazu zorientowane na sporty i
+treningi, mające pomagać w analizie nagrań z rozgrywek. Upraszcza
+analizę obrazu dostarczając zbiór intuicyjnych narzędzi do oznaczania,
+przeglądania i edycji najważniejszych partii rozgrywek. Pozwala na
+grupowanie rozgrywek po kategoriach i regulować czas trwania akcji i
+oczekiwania ramka po ramce. LongoMatch ma także obsługę list
+odtwarzania, łatwy sposób tworzenia prezentacji z partiami z różnych
+rozgrywek oraz edytor obrazu do tworzenia nowych filmów z ulubionymi
+rozgrywkami. Mimo że LongoMatch jest pomyślany głównie z myślą o
+sporcie, może być używany do dowolnych zadań wymagających oznaczania
+oraz przeglądania fragmentów pliku wideo; może mieć zastosowanie w
+kinie, medycynie czy przy konferencjach.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__libtoolize}
+%{__aclocal} -I build/m4 -I build/m4/shamrock
+%{__autoconf}
+%{__automake}
+%configure \
+ --disable-silent-rules \
+ --disable-static
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+# C API not exported
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libcesarplayer.{la,so}
+
+%find_lang %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+/sbin/ldconfig
+%update_icon_cache hicolor
+
+%postun
+/sbin/ldconfig
+%update_icon_cache hicolor
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc AUTHORS COPYING ChangeLog NEWS README
+%attr(755,root,root) %{_bindir}/longomatch
+%attr(755,root,root) %{_libdir}/libcesarplayer.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libcesarplayer.so.0
+%dir %{_libdir}/longomatch
+%{_libdir}/longomatch/LongoMatch.exe
+%{_libdir}/longomatch/LongoMatch.exe.mdb
+%{_libdir}/longomatch/LongoMatch.*.dll
+%{_libdir}/longomatch/LongoMatch.*.dll.config
+%{_libdir}/longomatch/LongoMatch.*.dll.mdb
+%{_libdir}/longomatch/OxyPlotMono.dll
+%{_libdir}/longomatch/OxyPlotMono.dll.mdb
+%dir %{_libdir}/longomatch/plugins
+%{_libdir}/longomatch/plugins/LongoMatch.Plugins.dll
+%{_libdir}/longomatch/plugins/LongoMatch.Plugins.dll.mdb
+%{_libdir}/longomatch/plugins/LongoMatch.Plugins.*.dll
+%{_libdir}/longomatch/plugins/LongoMatch.Plugins.*.dll.mdb
+%{_datadir}/longomatch
+%{_desktopdir}/longomatch.desktop
+%{_iconsdir}/hicolor/48x48/apps/longomatch.png
+%{_iconsdir}/hicolor/scalable/apps/longomatch.svg
+
+%if 0
+%package devel
+# not needed for now; when packaging, use:
+#Requires: dotnet-gtk-sharp2-devel >= 2.0
+#Requires: dotnet-newtonsoft-json-devel
+#Requires: mono-addins-devel
+%{_pkgconfigdir}/longomatch-addins.pc
+%{_pkgconfigdir}/longomatch-core.pc
+%{_pkgconfigdir}/longomatch-drawing.pc
+%{_pkgconfigdir}/longomatch-drawing-cairo.pc
+%{_pkgconfigdir}/longomatch-gui.pc
+%{_pkgconfigdir}/longomatch-gui-helpers.pc
+%{_pkgconfigdir}/longomatch-oxyplot.pc
+%endif
diff --git a/longomatch-missing.patch b/longomatch-missing.patch
new file mode 100644
index 0000000..feced00
--- /dev/null
+++ b/longomatch-missing.patch
@@ -0,0 +1,263 @@
+--- longomatch-1.0.2/LongoMatch.Plugins.GStreamer.orig/Assembly.cs 1970-01-01 01:00:00.000000000 +0100
++++ longomatch-1.0.2/LongoMatch.Plugins.GStreamer/Assembly.cs 2016-01-17 21:16:48.139750827 +0100
+@@ -0,0 +1,24 @@
++//
++// Copyright (C) 2014 Andoni Morales Alastruey
++//
++// This program is free software; you can redistribute it and/or modify
++// it under the terms of the GNU General Public License as published by
++// the Free Software Foundation; either version 2 of the License, or
++// (at your option) any later version.
++//
++// This program is distributed in the hope that it will be useful,
++// but WITHOUT ANY WARRANTY; without even the implied warranty of
++// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++// GNU General Public License for more details.
++//
++// You should have received a copy of the GNU General Public License
++// along with this program; if not, write to the Free Software
++// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
++//
++using Mono.Addins;
++
++[assembly:Addin]
++[assembly:AddinAuthor ("LongoMatch Project")]
++[assembly:AddinName ("Free Codecs")]
++[assembly:AddinDescription ("Free Software codecs for audio/video encoding and decoding with patents and licence issues")]
++[assembly:AddinDependency ("LongoMatch", "1.1")]
+--- longomatch-1.0.2/LongoMatch.Plugins.GStreamer.orig/GStreamerRestricted.cs 1970-01-01 01:00:00.000000000 +0100
++++ longomatch-1.0.2/LongoMatch.Plugins.GStreamer/GStreamerRestricted.cs 2016-01-17 21:16:48.139750827 +0100
+@@ -0,0 +1,63 @@
++//
++// Copyright (C) 2014 Andoni Morales Alastruey
++//
++// This program is free software; you can redistribute it and/or modify
++// it under the terms of the GNU General Public License as published by
++// the Free Software Foundation; either version 2 of the License, or
++// (at your option) any later version.
++//
++// This program is distributed in the hope that it will be useful,
++// but WITHOUT ANY WARRANTY; without even the implied warranty of
++// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++// GNU General Public License for more details.
++//
++// You should have received a copy of the GNU General Public License
++// along with this program; if not, write to the Free Software
++// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
++//
++using Mono.Addins;
++using LongoMatch.Addins.ExtensionPoints;
++using System;
++using System.IO;
++using System.Runtime.InteropServices;
++using Mono.Unix;
++using LongoMatch.Core.Common;
++
++namespace LongoMatch.Plugins.GStreamer
++{
++ [Extension]
++ public class GStreamerRestricted: IGStreamerPluginsProvider
++ {
++ [DllImport("libgstreamer-0.10.dll")]
++ static extern bool gst_registry_scan_path (IntPtr registry, IntPtr path);
++
++ [DllImport("libgstreamer-0.10.dll")]
++ static extern IntPtr gst_registry_get_default ();
++
++ public string Name {
++ get {
++ return Catalog.GetString ("GStreamer open source plugins");
++ }
++ }
++
++ public string Description {
++ get {
++ return Catalog.GetString ("GStreamer open source plugins with patents issues");
++ }
++ }
++
++ public void RegisterPlugins ()
++ {
++ string gstdir = Path.Combine (Config.PluginsDir, "gstreamer-0.10");
++ if (Environment.OSVersion.Platform == PlatformID.Win32NT) {
++ Environment.SetEnvironmentVariable ("PATH",
++ Environment.GetEnvironmentVariable ("PATH") + ";" + gstdir);
++ }
++ Log.Information ("Registering plugins in directory " + gstdir);
++ IntPtr p = GLib.Marshaller.StringToPtrGStrdup (gstdir);
++ IntPtr reg = gst_registry_get_default ();
++ gst_registry_scan_path (reg, p);
++ GLib.Marshaller.Free (p);
++ }
++ }
++}
+--- longomatch-1.0.2/LongoMatch.Plugins.GStreamer.orig/LongoMatch.Plugins.GStreamer.csproj 1970-01-01 01:00:00.000000000 +0100
++++ longomatch-1.0.2/LongoMatch.Plugins.GStreamer/LongoMatch.Plugins.GStreamer.csproj 2016-01-17 21:17:00.796416962 +0100
+@@ -0,0 +1,58 @@
++<?xml version="1.0" encoding="utf-8"?>
++<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
++ <PropertyGroup>
++ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
++ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
++ <ProductVersion>12.0.0</ProductVersion>
++ <SchemaVersion>2.0</SchemaVersion>
++ <ProjectGuid>{92BF45E5-4F84-48FB-B3F0-BB8878B6137B}</ProjectGuid>
++ <OutputType>Library</OutputType>
++ <RootNamespace>LongoMatch.Plugins.GStreamer</RootNamespace>
++ <AssemblyName>LongoMatch.Plugins.GStreamer</AssemblyName>
++ </PropertyGroup>
++ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
++ <DebugSymbols>true</DebugSymbols>
++ <DebugType>full</DebugType>
++ <Optimize>false</Optimize>
++ <OutputPath>..\bin</OutputPath>
++ <DefineConstants>DEBUG;</DefineConstants>
++ <ErrorReport>prompt</ErrorReport>
++ <WarningLevel>4</WarningLevel>
++ <ConsolePause>false</ConsolePause>
++ </PropertyGroup>
++ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
++ <DebugType>full</DebugType>
++ <Optimize>true</Optimize>
++ <OutputPath>..\bin</OutputPath>
++ <ErrorReport>prompt</ErrorReport>
++ <WarningLevel>4</WarningLevel>
++ <ConsolePause>false</ConsolePause>
++ </PropertyGroup>
++ <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
++ <ItemGroup>
++ <Compile Include="Assembly.cs" />
++ <Compile Include="GStreamerRestricted.cs" />
++ </ItemGroup>
++ <ItemGroup>
++ <Reference Include="Mono.Addins, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756">
++ <Private>False</Private>
++ <Package>mono-addins</Package>
++ </Reference>
++ <Reference Include="System" />
++ <Reference Include="glib-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f">
++ <Private>False</Private>
++ <Package>glib-sharp-2.0</Package>
++ </Reference>
++ <Reference Include="Mono.Posix" />
++ </ItemGroup>
++ <ItemGroup>
++ <ProjectReference Include="..\LongoMatch.Addins\LongoMatch.Addins.csproj">
++ <Project>{709CCDA6-CA95-4CBD-A986-B96EE0418905}</Project>
++ <Name>LongoMatch.Addins</Name>
++ </ProjectReference>
++ <ProjectReference Include="..\LongoMatch.Core\LongoMatch.Core.csproj">
++ <Project>{B70912B2-7ED5-450E-97BD-45A3D45A0358}</Project>
++ <Name>LongoMatch.Core</Name>
++ </ProjectReference>
++ </ItemGroup>
++</Project>
+\ No newline at the end of file
+--- longomatch-1.0.2/LongoMatch.Plugins.GStreamer.orig/LongoMatch.Plugins.GStreamer.dll.config 1970-01-01 01:00:00.000000000 +0100
++++ longomatch-1.0.2/LongoMatch.Plugins.GStreamer/LongoMatch.Plugins.GStreamer.dll.config 2016-01-17 21:17:00.799750295 +0100
+@@ -0,0 +1,5 @@
++<configuration>
++ <dllmap dll="libgstreamer-0.10.dll" target="libgstreamer-0.10.0.dylib"/>
++ <dllmap os="linux" dll="libgstreamer-0.10.dll" target="libgstreamer-0.10.so.0"/>
++ <dllmap os="windows" dll="libgstreamer-0.10.dll" target="libgstreamer-0.10-0.dll"/>
++</configuration>
+--- longomatch-1.0.2/LongoMatch.Plugins.GStreamer.orig/Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ longomatch-1.0.2/LongoMatch.Plugins.GStreamer/Makefile.am 2016-01-17 21:16:43.956417669 +0100
+@@ -0,0 +1,15 @@
++ASSEMBLY = LongoMatch.Plugins.GStreamer
++TARGET = library
++INSTALL_DIR = $(pkglibdir)/plugins/LongoMatch.Plugins.GStreamer/
++
++LINK = $(REF_DEP_LONGOMATCH_PLUGINS_GSTREAMER)
++
++SOURCES = Assembly.cs \
++ GStreamerRestricted.cs
++
++RESOURCES =
++
++DLLCONFIG = LongoMatch.Plugins.GStreamer.dll.config
++
++include $(top_srcdir)/build/build.mk
++
+--- longomatch-1.0.2/LongoMatch.Multimedia/LongoMatch.Multimedia.dll.config.orig 1970-01-01 01:00:00.000000000 +0100
++++ longomatch-1.0.2/LongoMatch.Multimedia/LongoMatch.Multimedia.dll.config 2016-01-17 21:42:21.836353168 +0100
+@@ -0,0 +1,8 @@
++<configuration>
++ <dllmap dll="libcesarplayer.dll" target="libcesarplayer.0.dylib"/>
++ <dllmap os="linux" dll="libcesarplayer.dll" target="libcesarplayer.so.0"/>
++ <dllmap os="windows" dll="libcesarplayer.dll" target="libcesarplayer-0.dll"/>
++ <dllmap dll="libgstreamer-0.10.dll" target="libgstreamer-0.10.0.dylib"/>
++ <dllmap os="linux" dll="libgstreamer-0.10.dll" target="libgstreamer-0.10.so.0"/>
++ <dllmap os="windows" dll="libgstreamer-0.10.dll" target="libgstreamer-0.10-0.dll"/>
++</configuration>
+--- longomatch-1.0.2/LongoMatch.Plugins.Stats/gtk-gui/LongoMatch.Plugins.Stats.PlayerSubcategoryViewer.cs.orig 1970-01-01 01:00:00.000000000 +0100
++++ longomatch-1.0.2/LongoMatch.Plugins.Stats/gtk-gui/LongoMatch.Plugins.Stats.PlayerSubcategoryViewer.cs 2016-01-17 21:46:54.109675035 +0100
+@@ -0,0 +1,68 @@
++
++// This file has been generated by the GUI designer. Do not modify.
++namespace LongoMatch.Plugins.Stats
++{
++ public partial class PlayerSubcategoryViewer
++ {
++ private global::Gtk.Frame frame2;
++ private global::Gtk.Alignment GtkAlignment;
++ private global::Gtk.HBox hbox1;
++ private global::Gtk.ScrolledWindow GtkScrolledWindow;
++ private global::Gtk.TreeView treeview;
++ private global::LongoMatch.Plugins.Stats.Plotter plotter1;
++ private global::Gtk.Label gtkframe;
++
++ protected virtual void Build ()
++ {
++ global::Stetic.Gui.Initialize (this);
++ // Widget LongoMatch.Plugins.Stats.PlayerSubcategoryViewer
++ global::Stetic.BinContainer.Attach (this);
++ this.Name = "LongoMatch.Plugins.Stats.PlayerSubcategoryViewer";
++ // Container child LongoMatch.Plugins.Stats.PlayerSubcategoryViewer.Gtk.Container+ContainerChild
++ this.frame2 = new global::Gtk.Frame ();
++ this.frame2.Name = "frame2";
++ this.frame2.ShadowType = ((global::Gtk.ShadowType)(0));
++ // Container child frame2.Gtk.Container+ContainerChild
++ this.GtkAlignment = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
++ this.GtkAlignment.Name = "GtkAlignment";
++ this.GtkAlignment.LeftPadding = ((uint)(12));
++ // Container child GtkAlignment.Gtk.Container+ContainerChild
++ this.hbox1 = new global::Gtk.HBox ();
++ this.hbox1.Name = "hbox1";
++ this.hbox1.Spacing = 6;
++ // Container child hbox1.Gtk.Box+BoxChild
++ this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
++ this.GtkScrolledWindow.Name = "GtkScrolledWindow";
++ this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
++ // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
++ this.treeview = new global::Gtk.TreeView ();
++ this.treeview.CanFocus = true;
++ this.treeview.Name = "treeview";
++ this.GtkScrolledWindow.Add (this.treeview);
++ this.hbox1.Add (this.GtkScrolledWindow);
++ global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.GtkScrolledWindow]));
++ w2.Position = 0;
++ // Container child hbox1.Gtk.Box+BoxChild
++ this.plotter1 = new global::LongoMatch.Plugins.Stats.Plotter ();
++ this.plotter1.Events = ((global::Gdk.EventMask)(256));
++ this.plotter1.Name = "plotter1";
++ this.hbox1.Add (this.plotter1);
++ global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.plotter1]));
++ w3.Position = 1;
++ w3.Expand = false;
++ w3.Fill = false;
++ this.GtkAlignment.Add (this.hbox1);
++ this.frame2.Add (this.GtkAlignment);
++ this.gtkframe = new global::Gtk.Label ();
++ this.gtkframe.Name = "gtkframe";
++ this.gtkframe.LabelProp = global::Mono.Unix.Catalog.GetString ("<b></b>");
++ this.gtkframe.UseMarkup = true;
++ this.frame2.LabelWidget = this.gtkframe;
++ this.Add (this.frame2);
++ if ((this.Child != null)) {
++ this.Child.ShowAll ();
++ }
++ this.Hide ();
++ }
++ }
++}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/longomatch.git/commitdiff/a9c090687ef97d251e6570d508ac4228ec3cff8e
More information about the pld-cvs-commit
mailing list