From a40e09ab43605bd15a3ba3c7e072d8f9101fb183 Mon Sep 17 00:00:00 2001 From: Giuseppe Date: Sat, 30 Jan 2016 17:44:15 +0100 Subject: [PATCH] trying to add PBI generation --- ChangeLog | 5 ++- INSTALL | 30 +++++++++++++---- README | 22 ++++++------- THANKS | 1 + extras/FREEBSD/pbi.conf | 32 +++++++++++++++++++ extras/FREEBSD/pbi_packager.sh | 7 ++++ .../{pyuvplayer.sh => txz_packager.sh} | 7 ++-- 7 files changed, 83 insertions(+), 21 deletions(-) create mode 100644 extras/FREEBSD/pbi.conf create mode 100755 extras/FREEBSD/pbi_packager.sh rename extras/FREEBSD/{pyuvplayer.sh => txz_packager.sh} (86%) diff --git a/ChangeLog b/ChangeLog index 8b22fb2..a9a2bb5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,10 @@ pyuv (0.7.0-1) * Sat Jan 23 2016 Giuseppe Baruffa 0.7.0-1 -- IT translation +- I18N and it_IT translation +- 300% and 400% working zoom options +- recently opened files and screen position memory +- FreeBSD support pyuv (0.6.2-1) diff --git a/INSTALL b/INSTALL index a05d6be..0c902f4 100644 --- a/INSTALL +++ b/INSTALL @@ -3,26 +3,33 @@ The preferred way to for installing PYUV is to download the proper binary for your OS/architecture combination: -* Windows 32 bit self-installer (Windows XP/Vista/7/8/10) +* Windows 32 bit self-installer (>= Windows XP) * Ubuntu 64 bit package (>= Ubuntu 15.10) +* Apple Mac OS X 64 bit archive (>= Mountain Lion) The binaries can be downloaded from -http://dsplab.diei.unipg.it/software/pyuv_raw_video_sequence_player +* http://dsplab.diei.unipg.it/software/pyuv_raw_video_sequence_player +* https://github.com/gbaruffa/pyuv-player 2. Install from source code =========================== If your architecture/OS is not currently supported, PYUV can be compiled from the sources. -The only basic requirements are wxWidgets 3.0 and a modern C++ compiler. +The only basic requirements are wxWidgets 3.0 (www.wxwidgets.org) and a modern C++ compiler. -2.1 GNU/Linux -------------- +2.1 GNU Autotools +----------------- +Autotools can be used to generate a configuration script. The configure script can (almost) cover all common distributions requirements, thus the commands are as simple as +$ aclocal +$ autoconf +$ autoheader +$ automake --add-missing $ ./configure $ make $ sudo make install @@ -31,5 +38,16 @@ $ sudo make install 2.2 Windows ----------- -Use the extras/MSVC workspace, containing a Visual Studio 2008 (VC9) solution and projects. For compilation, it is expected that the environment variable %WXWIN30% is set, pointing to the main install folder of wxWidgets 3.0. +Use the extras/MSVC workspace, it contains a Visual Studio 2008 (VC9) solution and projects. For compilation, it is expected that the environment variable %WXWIN30% is set, pointing to the main install folder of wxWidgets 3.0. + + +2.3 Extras +---------- + +There is a Ubuntu packaging script in extras/DEB. +For Windows, there is an InnoSetup script in extras/MSVC. +For Mac OS X, the packaging script is in extras/APPLE. +For FreeBSD, a package can be generated using the script in extras/FREEBSD. +The folder extras/ART contains the sources of the various icons that are generated. +The folder extras/freedesktop contains files required for correct desktop integration in many linux distributions. diff --git a/README b/README index 6b34396..af4b5db 100644 --- a/README +++ b/README @@ -6,31 +6,29 @@ The original project was (historically, is) http://dsplab.diei.unipg.it/software/pyuv_raw_video_sequence_player +In 2014 the project has switched to full open source using the liberal GPL licensing scheme, and migrated from local repository to GitHub + +https://github.com/gbaruffa/pyuv-player + During our research activity, we have to deal sometimes with raw sequences that must be source encoded before being transmitted, let's say, with DVB-T. Of course, there are a number of players out there, but not so many are capable to display the raw sequence before it has been encoded. In terms of rawness, such sequences can be either in native RGB format or, more often, in YUV format (sometimes, there is also a VIX format). There are some specially crafted players which can satisfy your needs, but many of them are designed only for Windows, thus keeping out all Linux and Mac users. * It plays RGB and YUV sequences -* It runs under Windows, Linux, and Mac OS X +* It runs under Windows, Linux, Mac OS X, and FreeBSD * It is not written in Java or .NET, so it is extremely fast * It uses wxWidgets as GUI, making it consistent with your preferred environment * It is free: you can use it for your purposes without any sort of restriction -2. Compilation instructions -=========================== +2. Installation instructions +============================ Check the INSTALL file. -3. Development -============== - -Under Linux/Mac OS X, do not forget to regenerate the configure script with autotools, like +3. Authors +========== -$ aclocal -$ autoconf -$ autoheader -$ automake --add-missing +For a complete list of authors and contributors, check the AUTHORS and THANKS files. -There is a Ubuntu packaging script in extras/DEB. For Windows, there is an InnoSetup script in extras/MSVC. For Mac OS X, the packaging script is in extras/APPLE. diff --git a/THANKS b/THANKS index e69de29..f95b993 100644 --- a/THANKS +++ b/THANKS @@ -0,0 +1 @@ +* Alexandru-Sever Horin for drafting the 400% zoom (0.7.0) \ No newline at end of file diff --git a/extras/FREEBSD/pbi.conf b/extras/FREEBSD/pbi.conf new file mode 100644 index 0000000..f453d05 --- /dev/null +++ b/extras/FREEBSD/pbi.conf @@ -0,0 +1,32 @@ +#!/bin/sh +# PBING Module Config + +# -- Program Base Information -- +PBI_ORIGIN="multimedia/pyuv" +PBI_PROGNAME="pyuv" +PBI_PROGWEB="https://github.com/gbaruffa/pyuv-player" +PBI_PROGAUTHOR="Giuseppe Baruffa" + +# -- Additional repo information (optional) -- +PBI_LICENSE="GPL" +PBI_TAGS="pyuv,video,yuv,raw" +PBI_PROGTYPE="Graphical" +PBI_CATEGORY="Multimedia" + +# -- Additional package to install along with ORIGIN +PBI_OTHERPKGS="development/wx30-gtk2" + +# -- Optional related packages to show user +#PBI_PLUGINS="www/gecko-mediaplayer www/firefox-i18n java/icedtea-web" + +# -- Space delimited list of URLs to screenshots +#PBI_SCREENSHOTS="http://www.pcbsd.org/appcafe/screenshots/www/firefox/screen1.png http://www.pcbsd.org/appcafe/screenshots/www/firefox/screen2.png" + +# -- Other PBIs which are similar to this PBI +#PBI_RELATED="www/chromium www/opera www/seamonkey" + +export PBI_ORIGIN PBI_PROGNAME PBI_PROGWEB PBI_PROGAUTHOR +export PBI_LICENSE PBI_TAGS PBI_PROGTYPE PBI_CATEGORY +export PBI_OTHERPKGS +#PBI_PLUGINS +#export PBI_SCREENSHOTS PBI_RELATED diff --git a/extras/FREEBSD/pbi_packager.sh b/extras/FREEBSD/pbi_packager.sh new file mode 100755 index 0000000..1f1d4e6 --- /dev/null +++ b/extras/FREEBSD/pbi_packager.sh @@ -0,0 +1,7 @@ +#!/bin/sh +# PBI for PC-BSD +# http://web.pcbsd.org/doc-archive/10.2/html/controlpanel.html#easypbi + +STAGEDIR=./temp_pbi +rm -rf ${STAGEDIR} pyuv*.pbi +mkdir -p ${STAGEDIR} diff --git a/extras/FREEBSD/pyuvplayer.sh b/extras/FREEBSD/txz_packager.sh similarity index 86% rename from extras/FREEBSD/pyuvplayer.sh rename to extras/FREEBSD/txz_packager.sh index 3ad6f2e..2eeac3b 100755 --- a/extras/FREEBSD/pyuvplayer.sh +++ b/extras/FREEBSD/txz_packager.sh @@ -21,7 +21,7 @@ EOF cat >> ${STAGEDIR}/+MANIFEST <> ${STAGEDIR}/plist -cp ../DEB/Pyuv.desktop ${STAGEDIR}/usr/local/share/applications/pyuv.desktop +cp ../freedesktop/Pyuv.desktop ${STAGEDIR}/usr/local/share/applications/pyuv.desktop echo "/usr/local/share/applications/pyuv.desktop" >> ${STAGEDIR}/plist cp ../../src/playuv128.png ${STAGEDIR}/usr/local/share/icons/hicolor/128x128/apps/pyuv.png echo "/usr/local/share/icons/hicolor/128x128/apps/pyuv.png" >> ${STAGEDIR}/plist @@ -49,5 +50,7 @@ cp ../../src/po/it.mo ${STAGEDIR}/usr/local/share/locale/it/LC_MESSAGES/pyuv.mo echo "/usr/local/share/locale/it/LC_MESSAGES/pyuv.mo" >> ${STAGEDIR}/plist cp ../../doc/doc.htb ${STAGEDIR}/usr/local/share/doc/pyuv echo "/usr/local/share/doc/pyuv" >> ${STAGEDIR}/plist +gzip -n --best - <../../man/pyuv.1 >${STAGEDIR}/usr/local/man/man1/pyuv.1.gz +echo "/usr/local/man/man1/pyuv.1.gz" >> ${STAGEDIR}/plist pkg create -m ${STAGEDIR}/ -r ${STAGEDIR}/ -p ${STAGEDIR}/plist -o .