WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [SOLVED] libva.tcz has been rebuilt  (Read 11253 times)

aus9

  • Guest
Re: libva.tcz may need a rebuild please
« Reply #15 on: October 24, 2012, 08:35:20 AM »
ok I will but the log did mention xcb.

leaping ahead, if I build it do I need to forewarn the vlc and related maintainers or will they twig when I announce it in tce news as the current maintainer has already given permission for someone to take it over?

I don't want my vlc maintainer to build it once and then have to do it again when I or someone submits a bumped libva

thanks for your help btw

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: libva.tcz may need a rebuild please
« Reply #16 on: October 24, 2012, 08:45:02 AM »
ok I will but the log did mention xcb.
Sorry - I meant config.log from my compile test run. Your link is blocked here so I couldn't check.

Quote
leaping ahead, if I build it do I need to forewarn the vlc and related maintainers or will they twig when I announce it in tce news as the current maintainer has already given permission for someone to take it over?
I think if you add your username to the last update line in the new info file it should be OK, for example:
Quote
Change-log:  2012/02/18 Original
                    ssp patch applied (juanito)
Current:        2012/10/22

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11705
Re: libva.tcz may need a rebuild please
« Reply #17 on: October 24, 2012, 09:17:42 AM »
Hi Juanito
Here are the contents of the link that aus9 posted, feel free to delete the attachment when your are done.


aus9

  • Guest
Re: libva.tcz may need a rebuild please
« Reply #18 on: October 24, 2012, 09:21:39 AM »
sorry no need

I was missing one xcb package, config and stuff now work will submit in the fullness of time

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11705
Re: libva.tcz may need a rebuild please
« Reply #19 on: October 24, 2012, 09:29:32 AM »
Hi aus9
I didn't see it mentioned anywhere in this thread, but the Wiki says:
Quote
Suggested compiler flags (for compatibility):
export CFLAGS="-march=i486 -mtune=i686 -Os -pipe"
export CXXFLAGS="-march=i486 -mtune=i686 -Os -pipe"
export LDFLAGS="-Wl,-O1"
You need to run those export commands so that the code produced is 486 compatible. Don't run those commands
from a script, their values will disappear as soon as the script finishes executing.


aus9

  • Guest
Re: libva.tcz may need a rebuild please
« Reply #20 on: October 24, 2012, 09:46:22 AM »
will do, making a build script now may not finish it tonite EDIT, this morning script changed and more testing
Quote
#!/bin/sh

### build your info file and copy into /tmp before running script

# build depends
tce-load -i compiletc Xorg-7.6-dev libx11-xcb libxcb-dev submitqc4 wget
# I prefer wget to use no clobber as I retest the script
export CFLAGS="-march=i486 -mtune=i686 -Os -pipe"
export CXXFLAGS="-march=i486 -mtune=i686 -Os -pipe"
export LDFLAGS="-Wl,-O1"

# download and unpack stuff
cd /tmp
wget -nc http://www.freedesktop.org/software/vaapi/releases/libva/libva-1.1.0.tar.bz2
wget -nc http://www.freedesktop.org/software/vaapi/releases/libva/libva-1.1.0.tar.bz2.sha1sum
cat libva-1.1.0.tar.bz2.sha1sum
sha1sum libva-1.1.0.tar.bz2
tar jxvf libva-1.1.0.tar.bz2


# build as per wiki
cd libva-1.1.0
./configure --prefix=/usr/local
make -j3
make DESTDIR=/tmp/libva install
echo 'needs a complying COPYING file'
mkdir -p /tmp/libva/usr/local/share/doc/libva
cp -f COPYING /tmp/libva/usr/local/share/doc/libva
# nothing to strip

# start tcz stuff
mkdir -p /tmp/libva/usr/local/tce.installed
touch /tmp/libva/usr/local/tce.installed/libva
sudo chown -R root:staff /tmp/libva/usr/local/tce.installed
sudo chmod -R 775 /tmp/libva/usr/local/tce.installed
cd /tmp
mksquashfs libva libva.tcz
md5sum libva.tcz > libva.tcz.md5.txt
cd libva
find usr -not -type d > libva.tcz.list
cp -f libva.tcz.list /tmp
cd /tmp
submitqc4

will do more later...wiki looks wrong IMHO as per next post
« Last Edit: October 24, 2012, 09:24:14 PM by aus9 »

aus9

  • Guest
Re: libva.tcz may need a rebuild please
« Reply #21 on: October 24, 2012, 10:18:59 AM »
Rich

the wiki has me doing a squash before I have created (touched) an installed file (tce.installed)

I will amend my script in a moment after test

and those chown need sudo ....if you agree I will fix later...in the wiki
« Last Edit: October 24, 2012, 10:27:08 AM by aus9 »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11705
Re: libva.tcz may need a rebuild please
« Reply #22 on: October 24, 2012, 04:48:11 PM »
Hi aus9
Quote
the wiki has me doing a squash before I have created (touched) an installed file (tce.installed)
Moving the section titled:  Adding Custom Startup Scripts  just above:  Creating a .tcz  would make more sense.
Quote
and those chown need sudo
Since the Wiki does not state you need to be running as root, I'm inclined to agree.

aus9

  • Guest
Re: libva.tcz may need a rebuild please
« Reply #23 on: October 24, 2012, 09:52:36 PM »
Rich

I have split custom script section to highlight the new section and created a license warning. BTW I saw a post from bmarkus on a similar theme, which is the reason why I think we need the addition

http://forum.tinycorelinux.net/index.php/topic,14083.0.html

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11705
Re: libva.tcz may need a rebuild please
« Reply #24 on: October 25, 2012, 12:51:22 AM »
Hi aus9
I took a look at the Wiki page, and as far as I can tell, it looks good.

aus9

  • Guest
Re: libva.tcz may need a rebuild please
« Reply #25 on: October 28, 2012, 07:51:45 PM »
rather than post a news item, I will mention it here

new libva has hit the main mirror.

thanks to Juanito and Rich for your help

cheers