Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
stopmotion ebuild
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
babo
Guru
Guru


Joined: 10 Aug 2004
Posts: 477
Location: Ljubljana

PostPosted: Thu Aug 11, 2005 10:49 pm    Post subject: stopmotion ebuild Reply with quote

Hello

Here I am trying to write my own ebuild and offcourse don't have any idea about this, so help is greatly appreciated

Code:
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/stopmotion/stopmotion-0.3.1.ebuild,v 1.2 2005/08/11 10:32:44 dholm Exp $

inherit eutils

DESCRIPTION="A small v4l frame capture utility especially suited for stop motion animation."
SRC_URI="http://developer.skolelinux.no/info/studentgrupper/2005-hig-stopmotion/project_management/webpage/releases/${P}.tar.gz"
HOMEPAGE="http://developer.skolelinux.no/info/studentgrupper/2005-hig-stopmotion/"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"

IUSE=""
DEPEND="virtual/fam
        dev-libs/libxml2
        dev-libs/libtar
        media-libs/libvorbis
        media-libs/libsdl
        media-libs/sdl-image
        >=x11-libs/qt-3.3.4"


src_compile() {

        ./configure --prefix=/usr || die "Configure failed"
        emake || die "Emake failed"
}

src_install() {

        make DESTDIR=${D} install || die "Install failed"
}


I pasted this src_compile part from instructions, but I don't know if it does any good. The rest I got from another simple build.


cheers


Last edited by babo on Wed Nov 23, 2005 6:18 pm; edited 3 times in total
Back to top
View user's profile Send private message
codergeek42
Bodhisattva
Bodhisattva


Joined: 05 Apr 2004
Posts: 5142
Location: Anaheim, CA (USA)

PostPosted: Thu Aug 11, 2005 11:10 pm    Post subject: Reply with quote

What part of it doesn't work?
_________________
~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF
Back to top
View user's profile Send private message
tsunam
Retired Dev
Retired Dev


Joined: 23 Feb 2004
Posts: 343

PostPosted: Thu Aug 11, 2005 11:13 pm    Post subject: Reply with quote

Coder: i'm assuming that there's no unpack, just a configure etc. Also for the download that he had ${$ in there.. just looks like a few common things. But overall a well written ebuild for the first time?

Please note I have no access to my machines at home right at this second to test the ebuild. It should work assumning your depends are what it needs and the install goes fine.

Code:
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils

DESCRIPTION="A small v4l frame capture utility especially suited for stop motion animation."
SRC_URI="http://developer.skolelinux.no/info/studentgrupper/2005-hig-stopmotion/project_management/webpage/releases/${PVR}.tar.gz
HOMEPAGE="http://developer.skolelinux.no/info/studentgrupper/2005-hig-stopmotion/"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"

IUSE=""
DEPEND="app-admin/gamin
        dev-libs/libxml2
        dev-libs/libtar
        media-sound/vorbis-tools
        >=x11-libs/qt-3.3.4"

src_unpack() {
    if [ "${A}" != "" ]; then
        unpack ${A}
    fi
}

src_compile() {
    if [ -x ./configure ]; then
        econf || die "config failed"
    fi
    if [ -f Makefile ] || [ -f GNUmakefile ] || [ -f makefile ]; then
        emake || die "emake failed"
    fi
}

src_install () {
        make DESTDIR=${D} install || die "install failed"
        dodoc AUTHORS ChangeLog NEWS README TODO
}

_________________
I'm not afraid of happy endings, just afraid my life wont work that way.
Back to top
View user's profile Send private message
codergeek42
Bodhisattva
Bodhisattva


Joined: 05 Apr 2004
Posts: 5142
Location: Anaheim, CA (USA)

PostPosted: Thu Aug 11, 2005 11:24 pm    Post subject: Reply with quote

tsunam wrote:
Coder: i'm assuming that there's no unpack, just a configure etc. Also for the download that he had ${$ in there.. just looks like a few common things. But overall a well written ebuild for the first time?
My understanding was that the "default" src_unpack automatically does a simple "unpack ${A}" so if that's all it is, it's not required explicitly in the ebuild. Likewise for src_compile if I'm not mistaken...
_________________
~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF
Back to top
View user's profile Send private message
tsunam
Retired Dev
Retired Dev


Joined: 23 Feb 2004
Posts: 343

PostPosted: Thu Aug 11, 2005 11:33 pm    Post subject: Reply with quote

It is, I just tend to think of it as a standards thing. I have not run into very many, if any, ebuilds that don't have src_unpack unless its so simple to just copy a file from source to destination.
_________________
I'm not afraid of happy endings, just afraid my life wont work that way.
Back to top
View user's profile Send private message
babo
Guru
Guru


Joined: 10 Aug 2004
Posts: 477
Location: Ljubljana

PostPosted: Fri Aug 12, 2005 7:16 am    Post subject: Reply with quote

First of all thanks to your help.
I still get the same message as before. As I see it, it has to be something simple, but as I am a noob at this I don't see what is wrong.

Code:
rasta stopmotion # emerge stopmotion
Calculating dependencies ...done!
>>> emerge (1 of 1) media-video/stopmotion-0.3.1 to /
>>> md5 files   ;-) stopmotion-0.3.1.ebuild-rezerva
>>> md5 files   ;-) stopmotion-0.3.1.ebuild
>>> md5 files   ;-) files/digest-stopmotion-0.3.1
>>> md5 src_uri ;-) stopmotion-0.3.1.tar.gz
>>> Unpacking source...
>>> Unpacking stopmotion-0.3.1.tar.gz to /var/tmp/portage/stopmotion-0.3.1/work
>>> Source unpacked.
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu
Usage: ./configure [OPTION]...

This script creates necessary configuration files to build/install.

Main options:
  --prefix=[path]    Base path for build/install.  Default: /usr/local
  --bindir=[path]    Directory for binaries.  Default: PREFIX/bin
  --qtdir=[path]     Directory where Qt is installed.
  --debug            Enable debug output.
  --help             This help text.

>>> Test phase [not enabled]: media-video/stopmotion-0.3.1

>>> Install stopmotion-0.3.1 into /var/tmp/portage/stopmotion-0.3.1/image/ category media-video
make: *** No rule to make target `install'.  Stop.

!!! ERROR: media-video/stopmotion-0.3.1 failed.
!!! Function src_install, Line 40, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

rasta stopmotion #
Back to top
View user's profile Send private message
infirit
l33t
l33t


Joined: 11 Jan 2003
Posts: 778
Location: Hoofddorp / The Netherlands

PostPosted: Sun Aug 14, 2005 12:18 am    Post subject: Reply with quote

The configure script is getting to many options. Try this (not tested).

Note the virtual/fam which can either be fam or gamin.

Code:
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:

inherit eutils

DESCRIPTION="A small v4l frame capture utility especially suited for stop motion animation."
HOMEPAGE="http://developer.skolelinux.no/info/studentgrupper/2005-hig-stopmotion"
SRC_URI="http://developer.skolelinux.no/info/studentgrupper/2005-hig-stopmotion/project_management/webpage/releases/${P}.tar.gz"


LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"

DEPEND="virtual/fam
   dev-libs/libxml2
   dev-libs/libtar
   media-libs/libvorbis
   media-libs/libsdl
   media-libs/sdl-image
   >=x11-libs/qt-3.3.4"

src_compile() {

   ./configure --prefix=/usr || die "Configure failed"
   emake || die
}

src_install() {

   make install DESTDIR=${D} | die Install failed
}

_________________
EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today


Last edited by infirit on Sun Aug 14, 2005 10:34 am; edited 1 time in total
Back to top
View user's profile Send private message
babo
Guru
Guru


Joined: 10 Aug 2004
Posts: 477
Location: Ljubljana

PostPosted: Sun Aug 14, 2005 9:06 am    Post subject: Reply with quote

thank you, this is much better.
The configure finishes, and compiling starts.
Now I get this:

Code:
rasta stopmotion # emerge stopmotion
Calculating dependencies ...done!
>>> emerge (1 of 1) media-video/stopmotion-0.3.1 to /
>>> md5 files   ;-) stopmotion-0.3.1.ebuild-rezerva
>>> md5 files   ;-) stopmotion-0.3.1.ebuild
>>> md5 files   ;-) files/digest-stopmotion-0.3.1
>>> md5 src_uri ;-) stopmotion-0.3.1.tar.gz
>>> Unpacking source...
>>> Unpacking stopmotion-0.3.1.tar.gz to /var/tmp/portage/stopmotion-0.3.1/work
>>> Source unpacked.
Configuring stopmotion ...
Verifying Qt 3.x Multithreaded (MT) build environment ... ok

Good, your configure finished. Now run 'make'.

g++ -c -pipe -DNO_DEBUG -Wall -W -march=k8 -O2 -pipe  -DQT_NO_DEBUG -I/usr/qt/3/mkspecs/linux-g++ -I. -I. -Isrc -Isrc/presentation/frontends/qtfrontend -Isrc/presentation/frontends/nonguifrontend -Isrc/foundation -Isrc/domain -Isrc/domain/animation -Isrc/presentation -I/usr/include/SDL -I-D_REENTRANT -I/usr/include/libxml2 -I/usr/qt/3/include -o main.o src/main.cpp
g++ -c -pipe -DNO_DEBUG -Wall -W -march=k8 -O2 -pipe  -DQT_NO_DEBUG -I/usr/qt/3/mkspecs/linux-g++ -I. -I. -Isrc -Isrc/presentation/frontends/qtfrontend -Isrc/presentation/frontends/nonguifrontend -Isrc/foundation -Isrc/domain -Isrc/domain/animation -Isrc/presentation -I/usr/include/SDL -I-D_REENTRANT -I/usr/include/libxml2 -I/usr/qt/3/include -o domainfacade.o src/domain/domainfacade.cpp
g++ -c -pipe -DNO_DEBUG -Wall -W -march=k8 -O2 -pipe  -DQT_NO_DEBUG -I/usr/qt/3/mkspecs/linux-g++ -I. -I. -Isrc -Isrc/presentation/frontends/qtfrontend -Isrc/presentation/frontends/nonguifrontend -Isrc/foundation -Isrc/domain -Isrc/domain/animation -Isrc/presentation -I/usr/include/SDL -I-D_REENTRANT -I/usr/include/libxml2 -I/usr/qt/3/include -o logger.o src/foundation/logger.cpp
In file included from src/presentation/frontends/qtfrontend/frameview.h:29,
                 from src/presentation/frontends/qtfrontend/mainwindowgui.h:25,
                 from src/presentation/frontends/qtfrontend/qtfrontend.h:25,
                 from src/main.cpp:5:
src/presentation/frontends/qtfrontend/imagegrabthread.h:38: error: expected class-name before '{' token
make: *** [main.o] Error 1
make: *** Waiting for unfinished jobs....
src/foundation/logger.cpp:31: warning: unused parameter 'msg'

!!! ERROR: media-video/stopmotion-0.3.1 failed.
!!! Function src_compile, Line 26, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

rasta stopmotion #


I will try what happens on x86. this was amd64
Back to top
View user's profile Send private message
babo
Guru
Guru


Joined: 10 Aug 2004
Posts: 477
Location: Ljubljana

PostPosted: Sun Aug 14, 2005 9:18 am    Post subject: Reply with quote

and this is on x86:

Code:
slobodan stopmotion # emerge stopmotion
Calculating dependencies ...done!
>>> emerge (1 of 1) media-video/stopmotion-0.3.1 to /
>>> md5 files   ;-) stopmotion-0.3.1.ebuild
>>> md5 files   ;-) files/digest-stopmotion-0.3.1
>>> md5 src_uri ;-) stopmotion-0.3.1.tar.gz
>>> Unpacking source...
>>> Unpacking stopmotion-0.3.1.tar.gz to /var/tmp/portage/stopmotion-0.3.1/work
>>> Source unpacked.
Configuring stopmotion ...
Verifying Qt 3.x Multithreaded (MT) build environment ... ok

Good, your configure finished. Now run 'make'.

g++ -c -pipe -DNO_DEBUG -Wall -W -O2 -march=athlon-xp -pipe  -DQT_NO_DEBUG -I/usr/qt/3/mkspecs/linux-g++ -I. -I. -Isrc -Isrc/p
resentation/frontends/qtfrontend -Isrc/presentation/frontends/nonguifrontend -Isrc/foundation -Isrc/domain -Isrc/domain/animat
ion -Isrc/presentation -I/usr/include/SDL -I-D_REENTRANT -I/usr/include/libxml2 -I/usr/qt/3/include -o main.o src/main.cpp
g++ -c -pipe -DNO_DEBUG -Wall -W -O2 -march=athlon-xp -pipe  -DQT_NO_DEBUG -I/usr/qt/3/mkspecs/linux-g++ -I. -I. -Isrc -Isrc/p
resentation/frontends/qtfrontend -Isrc/presentation/frontends/nonguifrontend -Isrc/foundation -Isrc/domain -Isrc/domain/animat
ion -Isrc/presentation -I/usr/include/SDL -I-D_REENTRANT -I/usr/include/libxml2 -I/usr/qt/3/include -o domainfacade.o src/doma
in/domainfacade.cpp
g++ -c -pipe -DNO_DEBUG -Wall -W -O2 -march=athlon-xp -pipe  -DQT_NO_DEBUG -I/usr/qt/3/mkspecs/linux-g++ -I. -I. -Isrc -Isrc/p
resentation/frontends/qtfrontend -Isrc/presentation/frontends/nonguifrontend -Isrc/foundation -Isrc/domain -Isrc/domain/animat
ion -Isrc/presentation -I/usr/include/SDL -I-D_REENTRANT -I/usr/include/libxml2 -I/usr/qt/3/include -o logger.o src/foundation
/logger.cpp
In file included from src/presentation/frontends/qtfrontend/frameview.h:29,
                 from src/presentation/frontends/qtfrontend/mainwindowgui.h:25,
                 from src/presentation/frontends/qtfrontend/qtfrontend.h:25,
                 from src/main.cpp:5:
src/presentation/frontends/qtfrontend/imagegrabthread.h:38: error: parse error
   before `{' token
src/presentation/frontends/qtfrontend/imagegrabthread.h:60: error: parse error
   before `private'
src/presentation/frontends/qtfrontend/imagegrabthread.h:64: error: parse error
   before `}' token
src/foundation/logger.cpp: In member function `void Logger::logDebug(const
   char*, ...)':
src/foundation/logger.cpp:31: warning: unused parameter `const char*msg'
g++ -c -pipe -DNO_DEBUG -Wall -W -O2 -march=athlon-xp -pipe  -DQT_NO_DEBUG -I/usr/qt/3/mkspecs/linux-g++ -I. -I. -Isrc -Isrc/p
resentation/frontends/qtfrontend -Isrc/presentation/frontends/nonguifrontend -Isrc/foundation -Isrc/domain -Isrc/domain/animat
ion -Isrc/presentation -I/usr/include/SDL -I-D_REENTRANT -I/usr/include/libxml2 -I/usr/qt/3/include -o animation.o src/domain/
animation/animation.cpp
make: *** [main.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: media-video/stopmotion-0.3.1 failed.
!!! Function src_compile, Line 25, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

slobodan stopmotion #



is that an ebuild problem?
could it be that not all dependancies are inclooded in ebuild?
Back to top
View user's profile Send private message
infirit
l33t
l33t


Joined: 11 Jan 2003
Posts: 778
Location: Hoofddorp / The Netherlands

PostPosted: Sun Aug 14, 2005 10:01 am    Post subject: Reply with quote

babo wrote:
is that an ebuild problem?
could it be that not all dependancies are inclooded in ebuild?

Not sure.. If you unpack into a directory and run ./configure and make manualy does it built then?
_________________
EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
babo
Guru
Guru


Joined: 10 Aug 2004
Posts: 477
Location: Ljubljana

PostPosted: Sun Aug 14, 2005 10:09 am    Post subject: Reply with quote

no

configure goes ok, but make doesn't:

Code:
rasta stopmotion-0.3.1 # ./configure
Configuring stopmotion ...
Verifying Qt 3.x Multithreaded (MT) build environment ... ok

Good, your configure finished. Now run 'make'.

rasta stopmotion-0.3.1 # make
g++ -c -pipe -DNO_DEBUG -Wall -W -march=k8 -O2 -pipe  -DQT_NO_DEBUG -I/usr/qt/3/mkspecs/linux-g++ -I. -I. -Isrc -Isrc/presentation/frontends/qtfrontend -Isrc/presentation/frontends/nonguifrontend -Isrc/foundation -Isrc/domain -Isrc/domain/animation -Isrc/presentation -I/usr/include/SDL -I-D_REENTRANT -I/usr/include/libxml2 -I/usr/qt/3/include -o main.o src/main.cpp
In file included from src/presentation/frontends/qtfrontend/frameview.h:29,
                 from src/presentation/frontends/qtfrontend/mainwindowgui.h:25,
                 from src/presentation/frontends/qtfrontend/qtfrontend.h:25,
                 from src/main.cpp:5:
src/presentation/frontends/qtfrontend/imagegrabthread.h:38: error: expected class-name before '{' token
make: *** [main.o] Error 1
rasta stopmotion-0.3.1 #


I guess not an ebuild problem than. I tried same with version 0.3.0 and I get the same error

This are the ebuilds listed in the README file:

- Qt3 (of course), the configure script checks for this
- libtar
- SDL
- SDL_image
- libXML2
- vorbis
- vorbisfile
- FAM/Gamin

but I did,t know what to write in ebuild for SDL and SDL_image
Back to top
View user's profile Send private message
infirit
l33t
l33t


Joined: 11 Jan 2003
Posts: 778
Location: Hoofddorp / The Netherlands

PostPosted: Sun Aug 14, 2005 10:40 am    Post subject: Reply with quote

babo wrote:
but I did,t know what to write in ebuild for SDL and SDL_image

Ok that could be a problem but the configure script should be checking for them. Anyway I modified the ebuild above to include the correct depends, could you try it?
_________________
EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
babo
Guru
Guru


Joined: 10 Aug 2004
Posts: 477
Location: Ljubljana

PostPosted: Sun Aug 14, 2005 10:48 am    Post subject: Reply with quote

tryed it and is the same. I allready have libsdl and sdl-image installed.

probably it would be good to send report to developers.

edit: updated the ebuild at top
Back to top
View user's profile Send private message
infirit
l33t
l33t


Joined: 11 Jan 2003
Posts: 778
Location: Hoofddorp / The Netherlands

PostPosted: Sun Aug 14, 2005 11:03 am    Post subject: Reply with quote

babo wrote:
probably it would be good to send report to developers.

As a last option you can try to get it from cvs. Instructions are on the download page. If this works i'll modify the ebuild to fetch from cvs.
_________________
EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
babo
Guru
Guru


Joined: 10 Aug 2004
Posts: 477
Location: Ljubljana

PostPosted: Sun Aug 14, 2005 12:07 pm    Post subject: Reply with quote

ok, great
I can try it tomorrow
thx
Back to top
View user's profile Send private message
babo
Guru
Guru


Joined: 10 Aug 2004
Posts: 477
Location: Ljubljana

PostPosted: Sun Aug 14, 2005 8:33 pm    Post subject: Reply with quote

ok, this is what i did

folowed the two commands listed in instructiones
got the whole pack
found stopmotion folder (with no configure file)
coppied configure file from stopmotion-0.3.1 folder
ran ./configure
ran make
got the same error

so I think reporting this to developers will be the next thing
Back to top
View user's profile Send private message
infirit
l33t
l33t


Joined: 11 Jan 2003
Posts: 778
Location: Hoofddorp / The Netherlands

PostPosted: Mon Aug 15, 2005 9:12 am    Post subject: Reply with quote

babo wrote:
ok, this is what i did

folowed the two commands listed in instructiones
got the whole pack
found stopmotion folder (with no configure file)
coppied configure file from stopmotion-0.3.1 folder
ran ./configure
ran make
got the same error

so I think reporting this to developers will be the next thing

There should be an autogen or other script to generate cofigire etc.. My box is broken atm so i can not help you find it.
_________________
EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
babo
Guru
Guru


Joined: 10 Aug 2004
Posts: 477
Location: Ljubljana

PostPosted: Mon Aug 15, 2005 8:13 pm    Post subject: Reply with quote

infirit wrote:
My box is broken atm so i can not help you find it.


well thank you very much for your help till now.

I see there's not much interest in this kind of programs, otherwise there would allready be an ebuild for them. And at the moment I don't know enough to make them on my own.
Back to top
View user's profile Send private message
babo
Guru
Guru


Joined: 10 Aug 2004
Posts: 477
Location: Ljubljana

PostPosted: Mon Nov 21, 2005 3:47 pm    Post subject: Reply with quote

I don't know what I have changed, but now stopmotion compiles ok. Ebuild also works if run together with FEATURES="-sandbox", but as I see it this is not the proper way, so what do I do to fix it? Or maybe this is just my problem.

And also now that I have stopmotion installed I can see it uses vgrabbj, which is not in portage, so I should make an ebuild for this also in order to make it function properly. But the sad thing for me is that vgrabbj can grab images from v4l devices, what I don't need since I have frameworks working which can do that and has more options. I thought maybe it can make use of dv cameras. But I'll try to make ebuilds anyway.
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Mon Nov 21, 2005 4:38 pm    Post subject: Reply with quote

Here's some sandbox debugging info.
_________________
Improve your font rendering and ALSA sound
Back to top
View user's profile Send private message
GentooMik
Tux's lil' helper
Tux's lil' helper


Joined: 25 Nov 2004
Posts: 141

PostPosted: Tue Apr 11, 2006 3:56 pm    Post subject: Reply with quote

k, going to share findings here. It seems at the current time
<unless don't know> no real way to do a standard install.
Therefore I have created an ebuild, which seems unstandard
but works. My knowledge of the ebuild system is still
"transistional new". Not sure if it is wise to "chmod 755" on
the directory or 644 on those files too. More reasonable then,
777 giving anyone access. This ebuild needs a fix perhaps, since
it is here anyone can do it whenever and what they want with it.
It took me a whole (free day) to just make it. LOL without feeling
pitty for myself, please have some mercy on this one! :D

Code:


# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# No warantee on this ebuild using this build assumes all risks without uprising.
inherit eutils

DESCRIPTION="A small v4l frame capture utility especially suited for stop motion animation."
SRC_URI="http://developer.skolelinux.no/info/studentgrupper/2005-hig-stopmotion/project_management/webpage/releases/${P}.tar.gz"
HOMEPAGE="http://developer.skolelinux.no/info/studentgrupper/2005-hig-stopmotion/"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64  x86"

IUSE=""
DEPEND=">=virtual/fam
   >=dev-libs/libxml2
   >=dev-libs/libtar
   >=media-libs/libvorbis
   >=media-libs/libsdl
   >=media-libs/sdl-image
   >=x11-libs/qt"


src_compile() {

   ./configure --prefix=/usr  || die "Configure failed"
   make || die "make has failed to compile stopmotion. Perhaps your missing a needed program or your operating system version is too old, too new?"
}

src_install() {
dobin stopmotion
into /usr
dodir /usr/share/doc/${PN}/html
cp             ${WORKDIR}/${P} AUTHORS  README COPYING  ${D}/usr/share/doc/${PN}
cp -rf         ${WORKDIR}/${P}/html  ${D}/usr/share/doc/${PN}   
chmod  755     ${D}/usr/share/doc/${PN}
chmod  644 -R  ${D}/usr/share/doc/${PN} AUTHORS README COPYING   ${D}/usr/share/doc/${PN}/html
einfo merge completed normally you may now start the program by running: stopmotion.
}




=======================old news=====================
The latest version: stepmotion-0.41 does ./configure and make. However
it seems not to be installing correctly. That is despite using the simple
configure you have provided. This ./configure script with this program is so
simple it has issues however, the Authors in Readme said it is still being
worked on. Hence they know and will fix it eventually. The task at the
moment is to try to get the actual binary to install properly. Hum...

The issue with install (playing around with the program to get it to install):

Code:

>>> Merging app-misc/stopmotion-0.4.1 to /
>>> Safely unmerging already-installed instance...
<<<        obj /usr/share/doc/stopmotion-0.4.1/README.gz
<<<        obj /usr/share/doc/stopmotion-0.4.1/AUTHORS.gz
<<<        dir /usr/share/doc/stopmotion-0.4.1
--- !empty dir /usr/share/doc
--- !empty dir /usr/share
--- !empty dir /usr
>>> original instance of package unmerged safely.
>>> Regenerating /etc/ld.so.cache...
>>> app-misc/stopmotion-0.4.1 merged.

>>> clean: No packages selected for removal.

>>> Auto-cleaning packages ...

>>> No outdated packages were found on your system.


 * GNU info directory index is up-to-date 

_________________
Attempt to Treat others, the way you would like to be treated yourself.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum