Skip to content

Commit

Permalink
trying to add PBI generation
Browse files Browse the repository at this point in the history
  • Loading branch information
gbaruffa committed Jan 30, 2016
1 parent e08548c commit a40e09a
Show file tree
Hide file tree
Showing 7 changed files with 83 additions and 21 deletions.
5 changes: 4 additions & 1 deletion ChangeLog
@@ -1,7 +1,10 @@
pyuv (0.7.0-1)

* Sat Jan 23 2016 Giuseppe Baruffa <giuseppe.baruffa@unipg.it> 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)

Expand Down
30 changes: 24 additions & 6 deletions INSTALL
Expand Up @@ -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
Expand All @@ -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.

22 changes: 10 additions & 12 deletions README
Expand Up @@ -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.
1 change: 1 addition & 0 deletions THANKS
@@ -0,0 +1 @@
* Alexandru-Sever Horin for drafting the 400% zoom (0.7.0)
32 changes: 32 additions & 0 deletions 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
7 changes: 7 additions & 0 deletions 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}
Expand Up @@ -21,7 +21,7 @@ EOF

cat >> ${STAGEDIR}/+MANIFEST <<EOF
name: pyuv
version: "0.7_0"
version: "0.7.0_1"
origin: multimedia/pyuv
comment: "Raw YUV file player"
desc: "A tool to play raw YUV files and similar"
Expand All @@ -39,15 +39,18 @@ mkdir -p ${STAGEDIR}/usr/local/share/applications
mkdir -p ${STAGEDIR}/usr/local/share/icons/hicolor/128x128/apps
mkdir -p ${STAGEDIR}/usr/local/share/locale/it/LC_MESSAGES
mkdir -p ${STAGEDIR}/usr/local/share/doc
mkdir -p ${STAGEDIR}/usr/local/man/man1
cp ../../src/pyuv ${STAGEDIR}/usr/local/bin
echo "/usr/local/bin/pyuv" >> ${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
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 .

0 comments on commit a40e09a

Please sign in to comment.