Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 417295

Summary: media-video/sview-12.05 - a universal stereoscopic player which supports image viewing and movie playback
Product: Gentoo Linux Reporter: Vasiliy Temnikov <vaka>
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: UNCONFIRMED ---    
Severity: normal CC: Apolozov, yamadharma
Priority: Normal Keywords: EBUILD
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.sview.ru/
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: sview-12.05.ebuild

Description Vasiliy Temnikov 2012-05-23 19:05:33 UTC
sView is a Stereoscopic media player
HOMEPAGE="http://www.sview.ru/"

Add this ebuild in portage.

http://pastebin.com/QGZ6nvhB

Reproducible: Always




    # Copyright 1999-2011 Gentoo Foundation
    # Distributed under the terms of the GNU General Public License v2
    # $Header: $
     
    EAPI=3
    inherit eutils
     
    DESCRIPTION="Stereoscopic media player"
    HOMEPAGE="http://www.sview.ru/"
    SRC_URI="https://launchpad.net/~sview/+archive/stable/+files/${PN}_${PV}-1%7Eprecise.tar.gz"
    LICENSE="GPL-3"
    SLOT="0"
    KEYWORDS="amd64 x86"
    IUSE="custom-cflags"
     
    RDEPEND="x11-libs/gtk+:2
            >=media-libs/glew-1.5.0
            media-libs/openal
            media-libs/mesa"
     
    DEPEND="${RDEPEND}"
     
    RESTRICT="strip"
     
    S="${WORKDIR}/${PN}-${PV}-1"
     
    src_prepare() {
        if use custom-cflags; then
            cd "${S}"
            sed -i -e 's/CXXFLAGS = -O3 -std=c++0x -Wall -fPIC -mmmx -msse `pkg-config gtk+-2.0 --cflags` $(INC)/CXXFLAGS = -O3 -std=c++0x -Wall -fPIC -mmmx -msse $(CFLAGS) `pkg-config gtk+-2.0 --cflags` $(INC)/' Makefile || die
            emake CFLAGS="${CFLAGS}" || die "emake failed"
        fi
    }
     
    src_install() {
            emake DESTDIR="${D}" install || die "emake install failed"
    }
Comment 1 Vasiliy Temnikov 2012-05-23 23:07:53 UTC
Created attachment 312893 [details]
sview-12.05.ebuild
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-05-24 01:34:22 UTC
Comment on attachment 312893 [details]
sview-12.05.ebuild

That's not a patch.
Comment 3 Grégoire Favre 2012-10-14 10:12:17 UTC
I tried the 12.09 which ended like this :
g++ -O3 -std=c++0x -Wall -fPIC -mmmx -msse `pkg-config gtk+-2.0 --cflags` -I3rdparty/include -Iinclude   -c -o StSettings/StConfigImpl.o StSettings/StConfigImpl.cpp
StSettings/StConfigImpl.cpp:19:25: fatal error: libconfig.h++: No such file or directory
compilation terminated.
make: *** [StSettings/StConfigImpl.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from include/StTemplates/StArray.h:13:0,
                 from include/StTemplates/StArrayList.h:12,
                 from include/StGLWidgets/StGLTextArea.h:12,
                 from include/StGLWidgets/StGLMenu.h:12,
                 from include/StGLWidgets/StGLDevicesMenu.h:12,
                 from StGLWidgets/StGLDevicesMenu.cpp:9:
include/StStrings/StStringUnicode.h: In static member function ‘static size_t StQuickSort<Type>::partition(Type*, size_t, size_t) [with Type = StStereoDeviceInfo, size_t = long unsigned int]’:
include/StStrings/StStringUnicode.h:51:13: warning: ‘temp.StStereoDeviceInfo::stringId.StStringUnicode<char>::mySize’ may be used uninitialized in this function [-Wuninitialized]
include/StTemplates/StTemplates.h:51:10: note: ‘temp.StStereoDeviceInfo::stringId.StStringUnicode<char>::mySize’ was declared here
include/StStrings/StStringUnicode.inl:263:5: warning: ‘temp.StStereoDeviceInfo::stringId.StStringUnicode<char>::myLength’ may be used uninitialized in this function [-Wuninitialized]
include/StTemplates/StTemplates.h:51:10: note: ‘temp.StStereoDeviceInfo::stringId.StStringUnicode<char>::myLength’ was declared here
emake failed

And then I also tried the 12.05 with the same result.
It's really great to see such a great program for gentoo : thank you very much !!!
Comment 4 Harri Nieminen (Moiman) 2017-12-17 17:53:21 UTC
*** Bug 641458 has been marked as a duplicate of this bug. ***