VectorLinux
September 16, 2014, 09:10:08 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: synfig studio.  (Read 1921 times)
haywire
Vectorian
****
Posts: 507


« on: December 14, 2009, 12:50:43 pm »

The old package from gslapt won't work I suspect it was made for 5.9 and there are some kind of dependancy problems...

Also can anyone build cinerella?

Steven
Logged
hata_ph
Packager
Vectorian
****
Posts: 3256


-- Just being myself --


« Reply #1 on: December 14, 2009, 06:44:30 pm »

I am trying to build the latest synfig and cinelerra...once I have any update I let u all know Tongue

EDIT:

I have just package synfig studio-0.62.00 for VL6. Once it is uploaded to the VL Testing Repo you can have a try. Just install the synfigstudio using slapt-get/gslapt. Smiley

http://forum.vectorlinux.com/index.php?topic=11017.0

I try to package cinelerra-4.1 but encounter error....



this is my slackbuild......anyone any idea?

Quote
#!/usr/bin/bash
# This script assumes it will be launched within "/NAME/VERSION/src" dir.
# With all sources in "src" Your Vector Linux .tlz package, slack-desc,
# and slack-required will be found in "VERSION" dir. The extraction and
# build will be in a temp dir created in "NAME" dir, and then removed on exit.
# Comment out second to last line to keep this dir intact.
#
# This Template was compiled from the contributions of many users of the Vector
# Linux forum at http://forum.vectorlinux.com and from tidbits collected
# from all over the internet.
#
# Generated by sbbuilder-0.4.12, written by Rodrigo Bistolfi
# (rbistolfi) and Raimon Grau Cuscó (Kidd) for VectorLinux.
#
# Please put your name below if you add some original scripting lines.
# AUTHORS =

NAME="cinelerra"            #Enter package Name!
VERSION=${VERSION:-"4.1"}      #Enter package Version!
VER=$(echo $VERSION|sed 's/-/_/') #this fixes - in version
VL_PACKAGER=${VL_PACKAGER:-"hata_ph"}   #Enter your Name!
LINK=${LINK:-""}  #Enter URL for package here!


#SYSTEM VARIABLES
#----------------------------------------------------------------------------
BUILDNUM=${BUILDNUM:-"1"}
VL_VERSION=${VL_VERSION:-"$(ls /var/log/packages/|grep vlconfig2|cut -d "-" -f4|cut -c 2-5)"}
BUILD=${BUILD:-"$BUILDNUM""$VL_VERSION"}
ARCH=${ARCH:-"$(uname -m)"}
CONFIG_OPTIONS=${CONFIG_OPTIONS:-""}
LDFLAG_OPTIONS=${LDFLAG_OPTIONS:-""}
ADDRB=${ADDRB:-""} #Add deps that need to be added to the slack-required file here
EXRB=${EXRB:-""} #Add deps that need to be excluded from the slack-required file here
#----------------------------------------------------------------------------


#SETUP PACKAGING ENVIRONMENT
#--------------------------------------------
CWD=$(pwd)
cd ../
RELEASEDIR=$(pwd)
cd $CWD
mkdir -p $RELEASEDIR/tmp
TMP=$RELEASEDIR/tmp
PKG=$TMP/package-$NAME
#--------------------------------------------



if [ $UID != 0 ]; then
   echo "You are not authorized to run this script. Please login as root"
   exit 1
fi

if [ ! -x /usr/bin/requiredbuilder ]; then
   echo "Requiredbuilder not installed, or not executable."
   exit 1
fi

if [ $VL_PACKAGER = "YOURNAME" ]; then
   echo 'Who are you?
   Please edit VL_PACKAGER=${VL_PACKAGER:-YOURNAME} in this script.
   Change the word "YOURNAME" to your VectorLinux packager name.
   You may also export VL_PACKAGER, or call this script with
   VL_PACKAGER="YOUR NAME HERE"'
   exit 1
fi


#CFLAGS SETUP
#--------------------------------------------
if [[ "$ARCH" = i?86 ]]; then
  ARCH=i586
  SLKCFLAGS="-O2 -march=i586 -mtune=i686"
  CONFIGURE_TRIPLET="i486-slackware-linux"
elif [ "$ARCH" = "x86_64" ]; then
  SLKCFLAGS="-O2 -fpic"
  CONFIGURE_TRIPLET="x86_64-vlocity-linux"
elif [ "$ARCH" = "powerpc" ]; then
  SLKCFLAGS="-O2"
  CONFIGURE_TRIPLET="powerpc-vlocity-linux"
fi

export CFLAGS="$SLKCFLAGS $CFLAG_OPTIONS"
export CXXFLAGS=$CFLAGS
export LDFLAGS="$LDFLAGS $LDFLAG_OPTIONS"
#--------------------------------------------


#GET THE SOURCE
#--------------------------------------------
for SRC in $(echo $LINK);do
if [ ! -f $CWD/$(basename $SRC) ]
then
        wget -c $SRC
fi
done
#--------------------------------------------


rm -rf $PKG
mkdir -p $PKG
cd $TMP
rm -rf $NAME-$VERSION


#EXTRACT SOURCES
#-----------------------------------------------------
echo "Extracting source..."
tar xvf $CWD/$NAME-$VERSION.tar.* || exit 1
#-----------------------------------------------------


cd $TMP/$NAME-$VERSION

# Put any Patches here
#-----------------------------------------------------
#patch -p1 <
#-----------------------------------------------------


#SET PERMISSIONS
#-----------------------------------------
echo "Setting permissions..."
chown -R root:root .
find . -perm 664 -exec chmod 644 {} \;
find . -perm 777 -exec chmod 755 {} \;
find . -perm 2777 -exec chmod 755 {} \;
find . -perm 775 -exec chmod 755 {} \;
find . -perm 2755 -exec chmod 755 {} \;
find . -perm 774 -exec chmod 644 {} \;
find . -perm 666 -exec chmod 644 {} \;
find . -perm 600 -exec chmod 644 {} \;
find . -perm 444 -exec chmod 644 {} \;
find . -perm 400 -exec chmod 644 {} \;
find . -perm 440 -exec chmod 644 {} \;
find . -perm 511 -exec chmod 755 {} \;
find . -perm 711 -exec chmod 755 {} \;
find . -perm 555 -exec chmod 755 {} \;
#-----------------------------------------



#CONFIGURE & MAKE
#----------------------------------------------------------------------
# If you are building a KDE-related app, then change the following
# arguments in the script below:
# --prefix=$(kde-config -prefix) \
# --sysconfdir=/etc/kde \
#
# Making these changes will ensure that your package will build in the
# correct path and that it will work seamlessly within the KDE environment.
#
#-----------------------------------------------------------------------

echo "Configuring source..."
./configure --prefix=/usr \
  --sysconfdir=/etc \
  --localstatedir=/var \
  --mandir=/usr/man \
  --with-included-gettext \
  --disable-debug \
  --program-prefix="" \
  --program-suffix="" \
  --build=$CONFIGURE_TRIPLET \
  #--with-qt4-dir=/usr/lib/qt4 \
  $CONFIG_OPTIONS || exit 1

make || exit 1

make install DESTDIR=$PKG || exit




#######################################################################
#Miscellenious tweaks and things outside a normal ./configure go here #
#######################################################################

mkdir -p $PKG/usr/share/applications
cp $CWD/$NAME.desktop $PKG/usr/share/applications/$NAME.desktop
mkdir -p $PKG/usr/share/pixmaps
cp $CWD/$NAME.png $PKG/usr/share/pixmaps/$NAME.png

mkdir -p $PKG/usr/doc/$NAME-$VERSION
cp -a AUTHORS COPYING ChangeLog Credits MANIFEST README TODO \
$PKG/usr/doc/$NAME-$VERSION
cat $CWD/$NAME.SlackBuild > $PKG/usr/doc/$NAME-$VERSION/$NAME.SlackBuild

#----------------------------------------------------------------------

if [ -d $PKG/usr/share/man ] ; then
mkdir -p $PKG/usr/man
mv $PKG/usr/share/man/* $PKG/usr/man
rm -rf $PKG/usr/share/man
fi
find $PKG/usr/man -type f -exec gzip -9 {} \;

if [ -d $PKG/usr/share/info ] ; then
mkdir -p $PKG/usr/info
mv $PKG/usr/share/info/* $PKG/usr/info
rm -rf $PKG/usr/share/info
fi

find $PKG/usr/info -type f -exec gzip -9 {} \;
mkdir -p $PKG/install
if [ -d $PKG/usr/info ] ; then
cat >> $PKG/install/doinst.sh << EOF
cd usr/info
if [ -f dir ]; then
    rm dir
fi
if [ -f dir.gz ]; then
    rm dir.gz
fi
for i in *.info.gz
        do
        install-info $i dir
    done
EOF
fi

mkdir -p $PKG/install


#if there is a slack-desc in src dir use it
if test -f $CWD/slack-desc; then
cp $CWD/slack-desc $RELEASEDIR/slack-desc
else
# This creates the white space in front of "handy-ruler" in slack-desc below.

LENGTH=$(expr length "$NAME")
SPACES=0
SHIM=""
until [ "$SPACES" = "$LENGTH" ]; do
SHIM="$SHIM "
let SPACES=$SPACES+1
done

# Fill in the package summary between the () below.
# Then package the description, License, Author and Website.
# There may be no more then 11 $NAME: lines in a valid slack-desc.

cat > $RELEASEDIR/slack-desc << EOF
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description.  Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in.  You must
# make exactly 11 lines for the formatting to be correct.  It's also
# customary to leave one space after the ':'.

$SHIM|-----handy-ruler------------------------------------------------------|
$NAME: $NAME (video editor and compositor for Linux)
$NAME:
$NAME: Cinelerra is the most advanced non-linear video editor and c
$NAME: ompositor for Linux. It is developed by Adam Williams
$NAME: (formerly known as Jack Crossfire) at Heroine Virtual Ltd..
$NAME:
$NAME:
$NAME: License: GPL
$NAME: Authors: The Cinelerra Team
$NAME: Website: http://cinelerra.org

EOF
fi
cat >> $RELEASEDIR/slack-desc << EOF



#----------------------------------------
BUILDDATE: $(date)
PACKAGER:  $VL_PACKAGER
HOST:      $(uname -srm)
DISTRO:    $(cat /etc/vector-version)
CFLAGS:    $CFLAGS
LDFLAGS:   $LDFLAGS
CONFIGURE: $(awk "/\.\/configure\ /" $TMP/$NAME-$VERSION/config.log)

EOF

cat $RELEASEDIR/slack-desc > $PKG/install/slack-desc

#STRIPPING
#------------------------------------------------------------------------------------------------------------------
cd $PKG
echo " "
echo "Stripping...."
echo " "
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
#------------------------------------------------------------------------------------------------------------------


#FINISH PACKAGE
#--------------------------------------------------------------
echo "Finding dependencies..."
ADD="$ADDRB" EXCLUDE="$EXRB" requiredbuilder -v -y -s $RELEASEDIR $PKG
echo "Creating package $NAME-$VERSION-$ARCH-$BUILD.tlz"
makepkg -l y -c n $RELEASEDIR/$NAME-$VERSION-$ARCH-$BUILD.tlz

cd $CWD
echo "Cleaning up temp files..." && rm -rf $TMP
echo "Package Complete"
#--------------------------------------------------------------

# vim: set tabstop=4 shiftwidth=4 foldmethod=marker : ##
« Last Edit: December 15, 2009, 12:37:12 am by hata_ph » Logged
haywire
Vectorian
****
Posts: 507


« Reply #2 on: December 15, 2009, 10:56:50 am »

Thank you so much for synfig studio. I'm at work now but I will try it as soon as I get home.

As far as cinerella, I have hoped someone would make a working package for a long time. I tried to compile it myself several times always without success. I have a live dvd for artistx, an ubuntoo based distro for artists and such that it works on, so I've used it for awhile but its very slow on a live dvd and so on...

I'd do kartwheels if I could run it on my vectorlinux box. Its really the only comparable product to many of the great windows video editors out there.

Cinerella and ardour have been on my wishlist for awhile, but sadly both seem to have problems with vectorlinux, or should I say just problems in general, don't think its anything to do with vectorlinux...

Any help getting cinerella going would be appreciated immensely. I'll let you know how synfig goes...

Steven
Logged
stretchedthin
Administrator
Vectorian
*****
Posts: 3780


WWW
« Reply #3 on: December 15, 2009, 01:13:07 pm »

I'll give the synfig studio a go as well, I packaged the last one and played with it somewhat but never used it on any kind of regular basis, but it will be cool to see what's new.  I've also tried Cinilerra, but failed epically.
If you have a similar experience with Cinilerra, and wish to move on to something else. I would like to work with somebody and tag team a build of kdenlive.  I've installed and used it from slacky.eu and even prefer it to Cinilerra, which I got working in arch, but it was ridiculously buggy.
Ken
Logged

Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee
haywire
Vectorian
****
Posts: 507


« Reply #4 on: December 15, 2009, 01:45:05 pm »

Ken,

I feel a bit better than knowing I'm not the only one who failed to get cinerella to compile. I tried getting it going for a couple of nights and finally gave up... But then I'm really no coder so unless its just a straight compile, I'm in trouble. I would love to see cinerella working, but its beyond my skill set to get it going for vectorlinux.

If there are other comparable softwares to cinerella I'd be happy to try them out...

Steven
Logged
stretchedthin
Administrator
Vectorian
*****
Posts: 3780


WWW
« Reply #5 on: December 15, 2009, 02:41:00 pm »

Give kdenlive a try.
I've got it installed on the system I am testing VLsoho on, it's pretty feature rich.  I just used the slacky.eu packages for mlt and kdenlive and added dvgrab, recordmydesktop, dvdauthor, etc, from the repositories. Works well in Soho haven't tried it in Gold.
You can find it's official page here...
http://www.kdenlive.org/
Instructions to build from source are here...
http://www.kdenlive.org/user-manual/downloading-and-installing-kdenlive/installing-source
However, I have not given this a good try yet, but I think it would be a great addition, especially for the upcoming Soho release.
Logged

Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee
rbistolfi
Packager
Vectorian
****
Posts: 2283


« Reply #6 on: December 16, 2009, 11:40:55 am »

Cinelerra has a successor called Lumiera, but looks like it is still young: http://lumiera.org/
Logged

"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."
Jorge Luis Borges, Avatars of the Tortoise.

--
Jumalauta!!
Dweeberkitty
Packager
Vectorian
****
Posts: 836



WWW
« Reply #7 on: December 16, 2009, 01:49:40 pm »

Cinelerra is a beast to compile and package. There's a reason it did not make it into the last MMBD release. I also had many issues with stability last time I used it. Another attempt at building Cinelerra will be made for MMBD 2.0 with VL6 SOHO.....but no guarantees  Wink
Logged

Registered Linux User #443399
Desktop: Intel Pentium D 3.33Ghz, 320GB hard drive, 2 gigs DDR2 533mhz RAM, NVIDIA Geforce 7800 GS, X2GEN 22" widescreen monitor;
Laptop: Dell Mini 9, Intel Atom 1.6Ghz, 1GB ram
Multimedia Bonus Disc website: http://www.vectorlinuxsolutions.com/
haywire
Vectorian
****
Posts: 507


« Reply #8 on: January 03, 2010, 08:19:11 pm »

Dweeberkitty,

Let us know how the new disc is coming. I for one would be happy to buy one just to support your efforts. I used that stuff alot on my 5.9 install.

Would love ardour, cinellera and kdenlive on my 6.0 install vectorbox...

Steven
Logged
brokndodge
Member
*
Posts: 83


Linux is sooo HOT


WWW
« Reply #9 on: January 12, 2010, 06:37:35 pm »

Just a quick Google search yielded this slackbuild, don't know for what version of slackware or cinelerra, but might be a good place to start.

http://slack.sarava.org/slackbuilds/media/video/cinelerra/

this next one is for slackware 12.1

http://repository.slacky.eu/slackware-12.1/multimedia/cinelerra/20080527/src/

this next one seems pretty recent, dated may 4, 2009.  Apparently cinelerra needs some patching to run on slackware.  all the slackbuilds i found include a couple of patches.

found a ready built package for slackware 12.1 here:
http://repository.slacky.eu/slackware-12.1/multimedia/cinelerra/20080527/
depends on openexr which is already in the repo so just slapt-get that.  the src directory on the above repository includes the slackbuild they used.  i dled and check their package, it runs, you will have to discuss how well it runs.

http://svn.sarava.org/listing.php?repname=slackbuilds&path=/media/video/cinelerra/&opt=dir&sc=1
« Last Edit: January 12, 2010, 07:02:13 pm by brokndodge » Logged

VL 7.0 Standard

brokndodge
- OSS is not a religion, it's the solution to buggy irresponsible coding -
Linux User# 494720
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!