You are not logged in.

#1 2005-09-14 16:13:06

_will
Member
Registered: 2004-07-08
Posts: 123

[request | incomplete new] cinerella 2.0

i have been able to compile and use cinerella 2.0 but i have not been able to make it a package

pkgname=cinelerra
pkgver=2.0
pkgrel=1
pkgdesc="2000 watt flame thrower or impossible to use video NLE"
license="GPL"
depends=('mjpegtools x-server libdv libavc1394 ffmpeg e2fsprogs libtheora openexr')
makedepends=('nasm yasm')
source=("http://internap.dl.sourceforge.net/sourceforge/heroines/$pkgname-$pkgver-src.tar.bz2")
#md5sums=('2aa64df684421c81fc63521d529e51f6')

build() {
    cd $startdir/src/$pkgname-$pkgver
     ./configure --prefix=/usr  --sysconfdir=/etc 
    make || return 1
    make DESTDIR=$startdir/pkg -f build/Makefile.cinelerra install
    }

it seems to ignores DESTDIR

--also i took the depends from cinerella-cvs, i don't know if more/less is required

also requires yasm

pkgname=yasm
pkgver=0.4.0
pkgrel=1
pkgdesc="Yasm is a complete rewrite of the NASM assembler"
license="various"
#depends=('')
makedepends=('')
source=(http://www.tortall.net/projects/yasm/releases/yasm-$pkgver.tar.gz)
md5sums=('2360e20c4e105ba95f4e9135a7901183')

build() {
    cd $startdir/src/$pkgname-$pkgver
     ./configure --prefix=/usr  --sysconfdir=/etc 
    make || return 1
    make DESTDIR=$startdir/pkg install
    }

Offline

#2 2005-09-14 21:46:38

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: [request | incomplete new] cinerella 2.0

For cinerella PKGBUILD: try using PREFIX or prefix instead of DESTDIR.

Offline

#3 2005-09-14 22:43:27

_will
Member
Registered: 2004-07-08
Posts: 123

Re: [request | incomplete new] cinerella 2.0

thanks for the fast reply
replacing to PREFIX=$startdir/pkg
or prefix=...
resulted in the same error

cp: cannot create regular file '/usr/bin/cinelerra': Permission denied

Offline

#4 2005-09-14 22:48:04

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: [request | incomplete new] cinerella 2.0

Have you tried in lowercase: prefix=$startdir/pkg/usr

Otherwise, check the Makefile. Maybe the install directories are hard-coded.  If so, the Makefile will need to be patched.

Offline

#5 2005-09-14 23:00:52

_will
Member
Registered: 2004-07-08
Posts: 123

Re: [request | incomplete new] cinerella 2.0

i tried prefix (and editted the prevous post only to see you asked)

i've been combing through the make files, but i don't really know whats going on
and the files seem to be a few lines calling another file which calls another etc.

running

$cat * | grep -v cpp | grep cp -C2

  in the build dir shows that at least two of the smaller things are hardcoded(?) to /usr/bin/ 
for example

cp $(OBJDIR)/soundtest  /usr/bin/

$cat * | grep /usr/bin
cp $(OBJDIR)/soundtest  usr/bin/
rm /usr/bin/mix2005
cp mix/$(OBJDIR)/mix2005 /usr/bin

thanks
will

Offline

#6 2005-09-16 13:18:02

swiergot
Member
From: Kraków, Poland
Registered: 2005-01-08
Posts: 145

Re: [request | incomplete new] cinerella 2.0

The new version of Cinelerra will show up in [community] soon.

Offline

#7 2005-09-16 14:59:11

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: [request | incomplete new] cinerella 2.0

swiergot wrote:

The new version of Cinelerra will show up in [community] soon.

And this will be built against stable 1.6.2 mjepgtools not and unstable release in [testing]?!

Offline

#8 2005-09-16 15:32:36

swiergot
Member
From: Kraków, Poland
Registered: 2005-01-08
Posts: 145

Re: [request | incomplete new] cinerella 2.0

dibblethewrecker wrote:

And this will be built against stable 1.6.2 mjepgtools not and unstable release in [testing]?!

I haven't checked it yet as I'm still toiling over other dependencies. But if it turns out that mjpegtools 1.6.3rc1 is required, I will attempt to build it against mjpegtools that I had installed from [testing] when there were still .la files in it. Since .la files are only used in linking process, it should be ok for users to just install mjpegtools from [testing] and run Cinelerra with it. However, I might be wrong. What do you think?

Offline

#9 2005-09-16 15:45:00

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: [request | incomplete new] cinerella 2.0

I thought we discussed and decided that [community] apps should only be built against pkgs in [current] and [extra]? - therefore no upgrades until dep get moved out of [testing] - otherwise [community] will be requiring people to run some [testing] apps which I thought we decided was "a bad thing" (tm)?

Dunno, maybe I am wrong...

Offline

#10 2005-09-16 16:34:21

swiergot
Member
From: Kraków, Poland
Registered: 2005-01-08
Posts: 145

Re: [request | incomplete new] cinerella 2.0

In fact, I think we have decided not to build against packages without .la files. And if I build against mjpegtools with .la files and then users install mjpegtools without .la files, it shouldn't mess their systems. But you are right, the rules are rules, so I will wait until the libtool-slay operation is over - for now I will remove cinelerra from [community] and provide only a PKGBUILD.

Offline

#11 2005-09-16 16:49:55

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: [request | incomplete new] cinerella 2.0

Can you not downgrade to a version compatible with a non-testing mjpegtools?

Offline

#12 2005-09-16 17:05:52

swiergot
Member
From: Kraków, Poland
Registered: 2005-01-08
Posts: 145

Re: [request | incomplete new] cinerella 2.0

Perhaps I could, but does it make any sense in this case?

Offline

#13 2005-09-16 18:47:36

_will
Member
Registered: 2004-07-08
Posts: 123

Re: [request | incomplete new] cinerella 2.0

does cinerella require yasm to build?
(yasm's not in any of the repositories i looked through, and i wouldn't suggest using any PKGBUILD i posted ..however simple)


is cinerella 2.0 comming to the community as a PKGBUILD then .. im curous to see how it was packaged


thanks
will

Offline

#14 2005-09-16 18:51:08

swiergot
Member
From: Kraków, Poland
Registered: 2005-01-08
Posts: 145

Re: [request | incomplete new] cinerella 2.0

_will wrote:

does cinerella require yasm to build?

I think nasm will be enough.

_will wrote:

is cinerella 2.0 comming to the community as a PKGBUILD then

It will be available only as a PKGBUILD in the AUR. You will be able to build it on your own.

Offline

#15 2006-07-03 00:36:23

judfilm
Member
Registered: 2004-02-12
Posts: 229

Re: [request | incomplete new] cinerella 2.0

FYI - Cinelerra v2.1 has been released. Is it possible a PKGBUILD be added into the AUR?

EDIT: Could this thread be titled better to reflect the current status and also fix the typo?

Offline

Board footer

Powered by FluxBB