Ananda Murthy R S | 30 Oct 2011 06:29
Picon

[PiTiVi] No video thumbnails and audio waveforms after loading clip on time line

Hello,

I am trying to edit .ogv clip using PiTiVi 0.15 on Zenwalk Snapshot system.

When I place the clip on time line the thumbnails and audio waveforms do not appear. So, I am unable to edit the clip. But the same clip can be edited on the same computer using PiTiVi 0.15 on Ubuntu 11.10. Can you please help to solve this problem on Zenwalk?

I am interested in solving this problem since I am trying to build a precompiled package of PiTiVi on Zenwalk Snapshot.

Zenwalk is a derivative of Slackware available at www.zenwalk.org.

Anand

--
Close Windows ! Open source !!
Free software from proprietary mafia !!!

------------------------------------------------------------------------------
Get your Android app more play: Bring it to the BlackBerry PlayBook 
in minutes. BlackBerry App World™ now supports Android™ Apps 
for the BlackBerry® PlayBook™. Discover just how easy and simple 
it is! http://p.sf.net/sfu/android-dev2dev
------------------------------------------------------------------------------
Get your Android app more play: Bring it to the BlackBerry PlayBook 
in minutes. BlackBerry App World™ now supports Android™ Apps 
for the BlackBerry® PlayBook™. Discover just how easy and simple 
it is! http://p.sf.net/sfu/android-dev2dev
Jeff Fortin | 5 Nov 2011 19:51
Picon
Favicon

Re: [PiTiVi] No video thumbnails and audio waveforms after loading clip on time line

Hi,
does it provide any errors when you run it from a terminal in zenwalk?
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
Ananda Murthy R S | 6 Nov 2011 09:38
Picon

Re: [PiTiVi] No video thumbnails and audio waveforms after loading clip on time line

Hello,


Hello,

This is the message I get when Pitivi is started in a terminal and a clip is loaded on the timeline:

** Message: pygobject_register_sinkfunc is deprecated (GstObject)
** Message: pygobject_register_sinkfunc is deprecated (GstObject)
/usr/lib/python2.6/site-packages/gobject/__init__.py:115: Warning: cannot register existing type `GtkAdjustment'
  type_register(cls, namespace.get('__gtype_name__'))
/usr/lib/python2.6/site-packages/gobject/__init__.py:115: Warning: g_once_init_leave: assertion `initialization_value != 0' failed
  type_register(cls, namespace.get('__gtype_name__'))
/usr/lib/python2.6/site-packages/gobject/__init__.py:115: Warning: g_param_spec_object: assertion `g_type_is_a (object_type, G_TYPE_OBJECT)' failed
  type_register(cls, namespace.get('__gtype_name__'))
/usr/lib/python2.6/site-packages/gobject/__init__.py:115: Warning: g_object_interface_install_property: assertion `G_IS_PARAM_SPEC (pspec)' failed
  type_register(cls, namespace.get('__gtype_name__'))
/usr/lib/python2.6/site-packages/gobject/__init__.py:115: Warning: g_object_class_override_property: Can't find property to override for 'GooCanvas::hadjustment'
  type_register(cls, namespace.get('__gtype_name__'))
/usr/lib/python2.6/site-packages/gobject/__init__.py:115: Warning: g_object_class_override_property: Can't find property to override for 'GooCanvas::vadjustment'
  type_register(cls, namespace.get('__gtype_name__'))
/usr/share/themes/Zen-7.0/gtk-2.0/gtkrc:118: Murrine configuration option "gradients" is no longer supported and will be ignored.
/usr/lib/pitivi/python/pitivi/ui/timeline.py:259: GtkWarning: IA__gtk_table_attach: assertion `child->parent == NULL' failed
  self.attach(self._canvas, 1, 2, 1, 2)
/usr/lib/pitivi/python/pitivi/ui/filechooserpreview.py:72: Warning: g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed
  self.__videosink = self.player.get_property("video-sink")

Anand


2011/11/6 Jeff Fortin <web.kiddo-GANU6spQydw@public.gmane.org>
Hi,
does it provide any errors when you run it from a terminal in zenwalk?

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Pitivi-pitivi mailing list
Pitivi-pitivi <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pitivi-pitivi




--
Close Windows ! Open source !!
Free software from proprietary mafia !!!

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
Jeff Fortin | 6 Nov 2011 14:37
Picon
Favicon

Re: [PiTiVi] No video thumbnails and audio waveforms after loading clip on time line

I suspect it's the fact that zenwalk provides a 2 years old version of goocanvas (0.15 instead of 1.0 and newer)...
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
Ananda Murthy R S | 7 Nov 2011 07:58
Picon

Re: [PiTiVi] No video thumbnails and audio waveforms after loading clip on time line

Hi Jeff,


Thank you for your reply.

I am running Snapshot version of Zenwalk which has goocanvas 2.0 installed.

I suspect problem with pygoocanvas which was last compiled on Zenwalk 6.6 about one year ago.

But when I try to compile, pygoocanvas, configure does not detect goocanvas even though it is installed, and gives the following log:

tar -xf pygoocanvas-0.14.1.tar.bz2
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for some Win32 platform... no
checking for native Win32... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/i486-slackware-linux/bin/ld
checking if the linker (/usr/i486-slackware-linux/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/i486-slackware-linux/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/i486-slackware-linux/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating ./config.lt
config.lt: creating libtool
checking whether gcc and cc understand -c and -o together... yes
checking for a Python interpreter with version >= 2.2... python
checking for python... /usr/bin/python
checking for python version... 2.6
checking for python platform... linux2
checking for python script directory... /usr/lib/python2.6/site-packages
checking for python extension module directory... /usr/lib/python2.6/site-packages
checking for headers required to compile python extensions... found
checking for Python library path... /usr/lib/python2.6/config
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PYGOBJECT... yes
checking for xsltproc... /usr/bin/xsltproc
checking for PYGOOCANVAS... configure: error: Package requirements (                          pygtk-2.0 >= 2.10.0,
                         goocanvas >= 0.14,
                         pycairo >= 1.8.0
                         ) were not met:

No package 'goocanvas' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables PYGOOCANVAS_CFLAGS
and PYGOOCANVAS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

make: *** No targets specified and no makefile found.  Stop.
build() failed.


Can you please tell me what should I do to correct this?


Anand


On Sun, Nov 6, 2011 at 7:07 PM, Jeff Fortin <web.kiddo-GANU6spQydw@public.gmane.org> wrote:
I suspect it's the fact that zenwalk provides a 2 years old version of goocanvas (0.15 instead of 1.0 and newer)...



--
Close Windows ! Open source !!
Free software from proprietary mafia !!!

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
Jeff Fortin | 7 Nov 2011 15:15
Picon
Favicon

Re: [PiTiVi] No video thumbnails and audio waveforms after loading clip on time line

Hi,
has goocanvas been compiled with --prefix=/usr when running configure/autogen? Otherwise it probably gets installed in /usr/local and then pygoocanvas can't find it because it's not using the /usr prefix.
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
Ananda Murthy R S | 7 Nov 2011 16:44
Picon

Re: [PiTiVi] No video thumbnails and audio waveforms after loading clip on time line

Hi,


This is the build script I am using to build goocanvas:

#!/bin/bash
#Automatically Created by buildpkg 1.7.0
#Maintainer: R S Ananda Murthy <rsamurti-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
#Former Maintainer(s): Name <email-Jbz+COfnBihBDgjK7y7TUQ@public.gmane.org>

######Begin Redundant Code######################################
check_for_root() {
if [ "$UID" != "0" ]; then
echo "You need to be root"
exit 1
fi
}

clean_dirs () {
        for COMPLETED in src pkg; do
                if [ -e $COMPLETED ]; then
                        rm -rf $COMPLETED
                fi
        done
}

clean_old_builds () {
for COMPLETED in $package.{txz,tgz,md5,dep}; do
if [ "$KEEPDEPFILE" = "1" ] && [ $COMPLETED = $package.dep ]; then
continue
elif [ -e $COMPLETED ]; then
rm -rf $COMPLETED
fi
done
clean_dirs
}

set_pre_permissions() {
cd $startdir/src
find . -perm 664 -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 777 -exec chmod 755 {} \;
find . -perm 775 -exec chmod 755 {} \;
find . -perm 511 -exec chmod 755 {} \;
find . -perm 711 -exec chmod 755 {} \;
find . -perm 555 -exec chmod 755 {} \;
}


check_for_menu_compliance() {
if [ -d "$startdir/pkg/usr/share/applications" ]; then
cd $startdir/pkg/usr/share/applications
for desktop in *.desktop; do
Icon=$(grep -e "^Icon=" $desktop | sed 's/Icon=//')
if [[ "$Icon" ]]; then
if [ ! "$Icon" == "${Icon%.*}" ]; then
sed '/Icon/s/\..*$//' -i $desktop
Icon=$(grep -e "^Icon=" $desktop | sed 's/Icon=//')
fi
if [ -d "$startdir/pkg/usr/share/pixmaps" ]; then
cd $startdir/pkg/usr/share/pixmaps
for pixmaps in *; do
[ -d $pixmaps ] && continue
[ ! "${pixmaps##*.}" == "png" -a ! "${pixmaps##*.}" == "svg" ] && continue
if [ "${pixmaps%.*}" == "$Icon" ]; then
DIR=$(file $pixmaps | awk -F, '{print $2}' | sed 's/ //g')
[ o"$DIR" == "o" ] && DIR="scalable"
mkdir -p $startdir/pkg/usr/share/icons/hicolor/$DIR/apps
mv $pixmaps $startdir/pkg/usr/share/icons/hicolor/$DIR/apps
if [[ ! "$(ls $startdir/pkg/usr/share/pixmaps)" ]]; then
rm -rf $startdir/pkg/usr/share/pixmaps
fi
fi
done
fi
if [ -d "$startdir/pkg/usr/share/icons" ]; then
cd $startdir/pkg/usr/share/icons
for icons in *; do
if [ "${icons%.*}" == "$Icon" ]; then
[ ! "${pixmaps##*.}" == "png" -a ! "${pixmaps##*.}" == "svg" ] && continue
DIR=$(file $icons | awk -F, '{print $2}' | sed 's/ //g')
[ o"$DIR" == "o" ] && DIR="scalable"
mkdir -p $startdir/pkg/usr/share/icons/hicolor/$DIR/apps
mv $icons $startdir/pkg/usr/share/icons/hicolor/$DIR/apps
fi
done
fi
fi
done
fi
}


gzip_man_and_info_pages() {
for DOCS in man info; do
if [ -d "$startdir/pkg/usr/share/$DOCS" ]; then
mv $startdir/pkg/usr/share/$DOCS $startdir/pkg/usr/$DOCS
if [[ ! "$(ls $startdir/pkg/usr/share)" ]]; then
rm -rf $startdir/pkg/usr/share
fi
fi
if [ -d "$startdir/pkg/usr/$DOCS" ]; then
# I've never seen symlinks in info pages....
if [ "$DOCS" == "man" ]; then
(cd $startdir/pkg/usr/$DOCS
for manpagedir in $(find . -type d -name "man*" 2> /dev/null) ; do
( cd $manpagedir
for eachpage in $( find . -type l -maxdepth 1 2> /dev/null) ; do
ln -s $( readlink $eachpage ).gz $eachpage.gz
rm $eachpage
done )
done)
fi
find $startdir/pkg/usr/$DOCS -type f -exec gzip -9 '{}' \;
fi
done
}

set_post_permissions() {
for DIRS in usr/share/icons usr/doc; do
if [ -d "$startdir/pkg/$DIRS" ]; then
if [ "$DIRS" == "usr/doc" ]; then
find $startdir/pkg/$DIRS -type f -exec chmod 644 {} \;
find $startdir/pkg/$DIRS -type d -exec chmod 755 {} \;
fi
fi
[ -d $startdir/pkg/$DIRS ] && chown root:root -R $startdir/pkg/$DIRS
done
[ -d $startdir/pkg/usr/bin ] && find $startdir/pkg/usr/bin -user root -group bin -exec chown root:root {} \;
}

copy_build_script() {
mkdir -p $startdir/pkg/usr/src/$pkgname-$pkgver/
cp $startdir/build-$pkgname.sh $startdir/pkg/usr/src/$pkgname-$pkgver/build-$pkgname.sh
[ -f $startdir/ZENBUILD ] && cp $startdir/ZENBUILD $startdir/pkg/usr/src/$pkgname-$pkgver/ZENBUILD
}

create_package() {
ls -lR $startdir/pkg
cd $startdir/pkg
/sbin/makepkg -l y -c n $startdir/$package.$PKGEXTENSION
cd $startdir
md5sum $package.$PKGEXTENSION > $startdir/$package.md5
}

strip_binaries() {
cd $startdir/pkg
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
}
#########End Redundant Code#####################################
#########Begin Non Redundant Code##############################

prepare_directory() {
mkdir $startdir/src
mkdir -p $startdir/pkg/usr/src/$pkgname-$pkgver
for SOURCES in ${source[ <at> ]}; do
protocol=$(echo $SOURCES | sed 's|:.*||')
       file=$(basename $SOURCES | awk -F= '{print $NF}')
if [ ! -f "$file" ]; then
if [ "$protocol" = "http" -o "$protocol" = "https" -o "$protocol" = "ftp" ]; then
echo -e "\nDownloading $(basename $SOURCES)\n"
                       wget $SOURCES -O $file
if [ ! "$?" == "0" ]; then
echo "Download failed"
exit 2
fi 
else
echo "$SOURCES does not appear to be a url nor is it in the directory"
exit 2
fi
fi
cp -R $file $startdir/src
if ! [ "$protocol" = "http" -o "$protocol" = "https" -o "$protocol" = "ftp" ]; then
cp -R $startdir/$(basename $SOURCES) $startdir/pkg/usr/src/$pkgname-$pkgver/
fi
if [ "${SOURCES##*.}" == "desktop" ]; then
[[ "$(grep -e "^Categories=[a-zA-Z]*;" $(basename $SOURCES))" ]] && install -D $startdir/$(basename $SOURCES) /home/anand/NewPackages/goocanvas/pkg/usr/share/applications/$(basename $SOURCES)
fi
done
}

extract_source() {
cd $startdir/src
if [[ "$(ls $startdir/src)" ]]; then
for FILES in ${source[ <at> ]}; do
        FILES="$(basename $FILES | awk -F= '{print $NF}')"
file_type=$(file -biz "$FILES")
unset cmd
case "$file_type" in
*application/x-tar*)
cmd="tar -xf" ;;
*application/zip*)
cmd="unzip" ;;
*application/x-zip*)
cmd="unzip" ;;
*application/x-gzip*)
cmd="gunzip -d -f" ;;
*application/x-bzip*)
cmd="bunzip2 -f" ;;
esac
if [ "$cmd" != "" ]; then
echo "$cmd $FILES"
               $cmd $FILES
fi
done
elif [ ! "$source" ]; then
echo -n "" # lame fix
else
echo "no files in the src directory $startdir/src"
exit 2
fi
}

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

create_slackdesc() {
mkdir $startdir/pkg/install
cat <<"EODESC" >$startdir/pkg/install/slack-desc
goocanvas: GooCanvas is a canvas widget for GTK+ that uses the cairo 2D library
goocanvas: 
goocanvas: for drawing.
goocanvas: 
goocanvas: 
goocanvas: 
goocanvas: 
goocanvas: 
goocanvas: 
goocanvas: 
goocanvas: 
EODESC
}

copy_docs() {
for stuff in ${docs[ <at> ]}; do
if [ ! -d "$startdir/pkg/usr/doc/$pkgname-$pkgver" ]; then
mkdir -p $startdir/pkg/usr/doc/$pkgname-$pkgver
fi
find $startdir/src -type f -iname "$stuff" -exec cp -R '{}' $startdir/pkg/usr/doc/$pkgname-$pkgver \;
done
}
detect_dependencies() {
echo "Detecting dependencies..."
depends=$(requiredbuilder -z $startdir/$package.$PKGEXTENSION)
depstring=$depends
unset FIRST
for deps in $(echo "${depstring}" | sed 's/,/\n/g' | sort -u); do
if [[ ! "$FIRST" ]]; then
finaldeps=$deps,
FIRST='1'
continue
fi
finaldeps=${finaldeps}${deps},
done
echo "$finaldeps" | sed -e 's/^,//' -e 's/,$//' > $startdir/$package.dep
}
create_source_file(){
[ -f $package.src ] && rm $package.src
if [ ! -z $sourcetemplate ]; then
echo $sourcetemplate/ZENBUILD >> $package.src
echo $sourcetemplate/build-$pkgname.sh >> $package.src
else
echo ZENBUILD >> $package.src
echo build-$pkgname.sh >> $package.src
fi
for SOURCES in ${source[ <at> ]}; do
protocol=$(echo $SOURCES | sed 's|:.*||')
if ! [ "$protocol" = "http" -o "$protocol" = "https" -o "$protocol" = "ftp" ]; then
if [ ! -z $sourcetemplate ]; then
echo $sourcetemplate/$(basename $SOURCES) >> $package.src
else
echo $(basename $SOURCES) >> $package.src
fi
else
echo $SOURCES >> $package.src
fi
done
}
post_checks(){
# Ideas taken from src2pkg :)
if [ -d "$startdir/pkg/usr/doc/$pkgname-$pkgver" ]; then
for DIRS in usr/doc/$pkgname-$pkgver usr/doc; do
cd $startdir/pkg/$DIRS
if [[ $(find . -type f) = "" ]] ; then
cd ..
rmdir $DIRS
fi
done
fi
# if the docs weren't deleted ...
if [ -d "$startdir/pkg/usr/doc/$pkgname-$pkgver" ]; then
cd $startdir/pkg/usr/doc/$pkgname-$pkgver
#remove zero lenght files
if [[ $(find . -type f -size 0) ]]; then
echo "Removing some zero lenght files"
find . -type f -size 0 -exec rm -f {} \;
fi
fi
# check if we need to add code to handle info pages
if [[ -d $startdir/pkg/usr/info ]] && [[ ! $(grep install-info $startdir/pkg/install/doinst.sh &> /dev/null) ]] ; then
echo "Found info files - Adding install-info command to doinst.sh"
INFO_LIST=$(ls -1 $startdir/pkg/usr/info)
echo "" >> $startdir/pkg/install/doinst.sh
echo "if [ -x usr/bin/install-info ] ; then" >> $startdir/pkg/install/doinst.sh
for page in $(echo $INFO_LIST) ; do
echo " usr/bin/install-info --info-dir=usr/info usr/info/$page 2>/dev/null" >> $startdir/pkg/install/doinst.sh
done
echo "fi" >> $startdir/pkg/install/doinst.sh
fi
[[ -e $startdir/pkg/usr/info/dir ]] && rm -f $startdir/pkg/usr/info/dir

if [ -d $startdir/pkg/etc ]; then
cd $startdir/pkg/
for conf in $(find ./etc -type f) ; do
conf=${conf: 2}
dotnew=( "${dotnew[ <at> ]}" "$conf" )
done
fi
if [[ "$dotnew" ]]; then
        for files in ${dotnew[ <at> ]} ; do
                fullfile="${startdir}/pkg/${files}"
                if [ -e "$fullfile" ]; then
                        mv $fullfile ${fullfile}.new
                else
                        echo "$fullfile was not found"
                        exit 2
                fi
        done
        cat<<"EODOTNEW" >>$startdir/pkg/install/doinst.sh
#Added by buildpkg 1.7.0
dotnew() {
        NEW="${1}.new"
        OLD="$1"
        if [ ! -e $OLD ]; then
                mv $NEW $OLD
        elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
                rm $NEW
        fi
}
EODOTNEW
for i in ${dotnew[ <at> ]}; do
echo "dotnew $i" >> $startdir/pkg/install/doinst.sh
done
fi
}

PKGEXTENSION=txz

####End Non Redundant Code############################

#Variables

startdir=$(pwd)
SRC=$startdir/src
PKG=$startdir/pkg

pkgname=goocanvas
pkgver=2.0.1
pkgrel=1
zenver=72
arch=i486
package=$pkgname-$pkgver-$arch-$zenver.$pkgrel
docs=(readme install copying changelog authors news todo)
export CFLAGS="-O2 -march=i486 -mtune=i686"
export CXXFLAGS="-O2 -march=i486 -mtune=i686"

#Execution

check_for_root
clean_old_builds
prepare_directory
extract_source
set_pre_permissions
build
if [ ! "$?" = "0" ]; then
echo "build() failed."
exit 2
fi
create_slackdesc
post_checks
copy_docs
check_for_menu_compliance
strip_binaries
gzip_man_and_info_pages
set_post_permissions
copy_build_script
create_package
create_source_file
detect_dependencies
echo "Package has been built."

As you can see here, --prefix=/usr has been used while configuring.

Anand


On Mon, Nov 7, 2011 at 7:45 PM, Jeff Fortin <web.kiddo-GANU6spQydw@public.gmane.org> wrote:
Hi,
has goocanvas been compiled with --prefix=/usr when running configure/autogen? Otherwise it probably gets installed in /usr/local and then pygoocanvas can't find it because it's not using the /usr prefix.



--
Close Windows ! Open source !!
Free software from proprietary mafia !!!

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1

Gmane