Slackware for Pandora 14.0


How's Libreoffice going?


There are two things I miss:


1: Mousepad


2: Docuoment viewer (I don't like Xpdf)


Do we have them for Slackware?
 
I think i overclocked too much for my first tries with the 1GHz. Cputest is now below what i thought to be the safe limit.


I'll rego for it today, with a safest 1100.


Mousepad doesn't exists anymore.


Yes, i wanted to install it (it's evince i think).


Some update:


So SFML was missing due to a typo from me.


Also, i think i fixed a crash that happens from time to time at shutdown, especially with a custom kernel.
 
Another quick update:


-Evince installed and configured as default reader.


-Menu entries separated for games categories. Unfortunately, there's no separated icons, 'cause freedesktop is the worst s**t piece of free software ever coded.


-Mplayer2 is definitely included.


-Speedcrunch as a calculator (an app that was missing from the start, shame on me).


-LO is compiling like crazy. Will fail in approx. 6 hours... or not ^^.


After LO, i will compile the DisplayLink kernel.


I noticed that viewing certain videos on Firefox crashes my system (CC, didn't test on 1G).


I may remove the mplayer plugin (which was installed by default). Maybe it's not the culprit.


Then i think i'll go for the final release v1. If i go too deep in the tiny optimizations, it can take weeks.
 
Last edited by a moderator:
Great News.


Hopefully LO will work.


Else I need DisplayLink for Zaxxon make presentations.


Does PanDebian work with Slackware?
 
Can't remember.


---EDIT:


LO seems to compile well, so the over-overclock was the cause of the two past failures.


Let's wait two more days.
 
Last edited by a moderator:
Finally got this installed on an SD card, when I found out how to link my card reader through to my Pandora Dev VM. Seems to be building Allegro 5 too. Fingers crossed
 
I have no idea what a proper "package" is... Anyway, it's compiled. I want to try it in a game build before I release it - to make sure the build works :p


Cheers
 
A proper Slackware package is a .tgz or .txz archive made with makepkg, with a few cleanups.


For instance, Allegro-4.4.2 proper package can be build by this script, and a few additional files (see http://slackbuilds.o...raries/allegro/):



Code:
#!/bin/sh

#

# Slackware build script for allegro

#

# Copyright 2009-2011 Erik W. Hanson, Minneapolis, MN, USA

# All rights reserved.

#

# Redistribution and use of this script, with or without modification, is

# permitted provided that the following conditions are met:

#

# 1. Redistributions of this script must retain the above copyright

# notice, this list of conditions and the following disclaimer.

#

# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED

# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF

# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO

# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,

# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,

# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;

# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,

# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR

# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF

# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

PRGNAM=allegro

VERSION=${VERSION:-4.4.2}

BUILD=${BUILD:-1}

TAG=${TAG:-_SBo}

if [ -z "$ARCH" ]; then

case "$( uname -m )" in

i?86) ARCH=i486 ;;

arm*) ARCH=arm ;;

	 *) ARCH=$( uname -m ) ;;

esac

fi

CWD=$(pwd)

TMP=${TMP:-/tmp/SBo}

PKG=$TMP/package-$PRGNAM

OUTPUT=${OUTPUT:-/tmp}

if [ "$ARCH" = "i486" ]; then

SLKCFLAGS="-O2 -march=i486 -mtune=i686"

LIBDIRSUFFIX=""

elif [ "$ARCH" = "i686" ]; then

SLKCFLAGS="-O2 -march=i686 -mtune=i686"

LIBDIRSUFFIX=""

elif [ "$ARCH" = "x86_64" ]; then

SLKCFLAGS="-O2 -fPIC"

LIBDIRSUFFIX="64"

else

SLKCFLAGS="-O2"

LIBDIRSUFFIX=""

fi

set -ue

rm -rf $PKG

mkdir -p $TMP $PKG $OUTPUT

cd $TMP

rm -rf $PRGNAM-$VERSION

tar xvf $CWD/$PRGNAM-$VERSION.tar.gz

cd $PRGNAM-$VERSION

chown -R root:root .

chmod -R u+w,go+r-w,a-s .

mkdir -p build

cd build

cmake \

-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \

-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \

-DCMAKE_INSTALL_PREFIX=/usr \

-DLIB_SUFFIX=${LIBDIRSUFFIX} \

-DCMAKE_BUILD_TYPE=Release ..

make VERBOSE=1

make install DESTDIR=$PKG

cd ..

find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \

| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true

mkdir -p $PKG/usr/share/allegro

cp language.dat keyboard.dat $PKG/usr/share/allegro

mkdir -p $PKG/etc

cp allegro.cfg $PKG/etc/allegro.cfg.new

gzip -9 $PKG/usr/info/*.info*

mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION

cp -a readme.txt todo.txt AUTHORS CHANGES THANKS $PKG/usr/doc/$PRGNAM-$VERSION

cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

mkdir -p $PKG/install

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

cat $CWD/doinst.sh > $PKG/install/doinst.sh

cd $PKG

/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
 
Last edited by a moderator:
Got a problem.


Html 5 videos crash the OP.


Both shipped Firefox and hdonk's Firefox can play html 5, and a few seconds later, the system crash. It's not linked to mplayer plugin at all.


When i boot under Zaxxon, hdonk's Firefox can't play html 5 !!! There is no frame, and, for example, this BBB video doesn't even display a preview:


http://www.w3schools.com/html/html5_video.asp


Any idea about this ?
 
LO is still compiling.


According to my quick calculations based on the mayan calendar, it's a longer time than all my previous tries, so it's a good omen.


All things are set up for the release excepting the firefox html5/webm disable.


Now i don't remove /usr/share/doc/* & similar, i let the user choose to delete this during the first boot.
 
When i boot under Zaxxon, hdonk's Firefox can't play html 5 !!! There is no frame, and, for example, this BBB video doesn't even display a preview: http://www.w3schools...html5_video.asp Any idea about this ?
I'm currently under Zaxxon with hdonk's Firefox. Under the link you posted the HTML5 test claims "Yeah! Full support!" and I can also play the video further down the page. It is a bit choppy during first play because it's still loading, but plays fine the second time ... I asume it is really is this short and stops after the apple drops(?)
 
Now i don't remove /usr/share/doc/* & similar, i let the user choose to delete this during the first boot.
What does it do and what will happen when I delete it?
Nothing bad, it's only documentation in many languages you can find anywhere on internet.


You free "only" 900M :D .

When i boot under Zaxxon, hdonk's Firefox can't play html 5 !!! There is no frame, and, for example, this BBB video doesn't even display a preview: http://www.w3schools...html5_video.asp Any idea about this ?
I'm currently under Zaxxon with hdonk's Firefox. Under the link you posted the HTML5 test claims "Yeah! Full support!" and I can also play the video further down the page. It is a bit choppy during first play because it's still loading, but plays fine the second time ... I asume it is really is this short and stops after the apple drops(?)
Huh ? I wasn't able to run it under Zaxxon !


Yes, the video is very short.


I noticed that the big version crashed faster my unit.
 
A 32G SD card.


1100MHz.


3563mn ~= 60h ~= 2 days 1/2


But, horror, when i checked the disk space after the compilation, i saw that i had 100% full, 0% free space.


But the binaries are here, so it's a huge progress.


The package is around 84M, when x86 32 and 64 bits are around 102M.


Tomorrow, i will buy a 64G card.


This is the only thing i managed to display:

Screenshot - 12182012 - 01:40:43 AM.png
 
Back
Top