Saturday, December 24, 2016

Just a thought:  People have been talking about how stereotyped and unrealistic the old images of Neanderthals are when you look at forensic reconstructions, but the truth is when I see the reconstructions there are some old and stereotyped images I can't help thinking of:












Just sayin', to me there are strong resemblances.

Friday, November 11, 2016

Update on Synfig 11/11/16

 Synfig bumped up the version number twice this week.  On Tuesday they bumped the version number for ETL to 0.04.21 and for synfig an synfigstudio to 1.1.12. I downloaded a testing archive extracted tarbells for each of those, copied old ChangeLogs into each directory so I could run my edited slackbuild scripts then ran the slackbuild scripts.  On Wednesday I had to do it again because to mark a new development cycle they bumped the version of ETL to 0.05.0 and synfig and synfigstudio to 1.3.0, promising to evolve testing into a 1.2.


In running the slackbuilds  I got this:
The following dependencies have been found:
at-spi2-atk >= 2.18.1-x86_64-1
at-spi2-core >= 2.18.3-x86_64-1
atk >= 2.18.0-x86_64-1
atkmm >= 2.24.2-x86_64-1
bzip2 >= 1.0.6-x86_64-1
cairo >= 1.14.6-x86_64-2
cairomm >= 1.12.0-x86_64-1
dbus >= 1.10.8-x86_64-1
djvulibre >= 3.5.27-x86_64-1
expat >= 2.1.0-x86_64-1
fftw >= 3.3.4-x86_64-1
fontconfig >= 2.11.1-x86_64-2
freetype >= 2.6.5-x86_64-1
gcc-g++ >= 5.4.0-x86_64-1
gdk-pixbuf2 >= 2.32.3-x86_64-1
glib2 >= 2.46.2-x86_64-4
glibc-solibs >= 2.24-x86_64-2
glibmm >= 2.46.4-x86_64-1
gtk+3 >= 3.18.9-x86_64-1
gtkmm3 >= 3.18.1-x86_64-1
harfbuzz >= 1.3.0-x86_64-1
ilmbase >= 2.2.0-x86_64-1
imagemagick >= 6.9.4_9-x86_64-1
lcms2 >= 2.7-x86_64-2
libICE >= 1.0.9-x86_64-2
libSM >= 1.2.2-x86_64-2
libX11 >= 1.6.4-x86_64-1
libXau >= 1.0.8-x86_64-2
libXcomposite >= 0.4.4-x86_64-2
libXcursor >= 1.1.14-x86_64-2
libXdamage >= 1.1.4-x86_64-2
libXdmcp >= 1.1.2-x86_64-2
libXext >= 1.3.3-x86_64-2
libXfixes >= 5.0.3-x86_64-1
libXi >= 1.7.8-x86_64-1
libXinerama >= 1.1.3-x86_64-2
libXrandr >= 1.5.1-x86_64-1
libXrender >= 0.9.10-x86_64-1
libXt >= 1.1.5-x86_64-1
libXxf86vm >= 1.1.4-x86_64-2
libcroco >= 0.6.11-x86_64-1
libdrm >= 2.4.68-x86_64-1
libepoxy >= 1.3.1-x86_64-1
libffi >= 3.2.1-x86_64-1
libjpeg-turbo >= 1.5.0-x86_64-1
libpng >= 1.6.23-x86_64-1
librsvg >= 2.40.16-x86_64-1
libsigc++ >= 2.6.2-x86_64-1
libtiff >= 4.0.6-x86_64-1
libtool >= 2.4.6-x86_64-4
libwmf >= 0.2.8.4-x86_64-6
libxcb >= 1.11.1-x86_64-1
libxml++ >= 2.36.0-x86_64-2sl
libxml2 >= 2.9.4-x86_64-3
libxshmfence >= 1.2-x86_64-2
mesa >= 12.0.2-x86_64-1
mlt >= 0.9.0-x86_64-3sl
openexr >= 2.2.0-x86_64-1
openjpeg >= 2.1.0-x86_64-1
pango >= 1.38.1-x86_64-1
pangomm >= 2.38.1-x86_64-1
pixman >= 0.34.0-x86_64-1
util-linux >= 2.28.2-x86_64-1
xz >= 5.2.2-x86_64-1
zlib >= 1.2.8-x86_64-1

Most of these packages are installed in 14.2. or current


To try out the absolute newest build on slackware as I've actually built them.  These come with no warranty real or implied but try these links:

ETL-5.0
synfig-1.3.0
synfigstudio-1.3.0

ETL-4.21
synfig-1.1.12
synfigstudio-1.1.12
  
Or you can compile them yourself. As root create 3 folders (try in your root directory). You'll have to edit the slackbuilds to use fakeroot. Call the folders ETL synfig and synfigstudio.

Inside ETL to compile the latest version download the following:
ETL5.SlackBuild
ETL-0.05.0.tar.xz
slack-desc

Inside the synfig folder put:
synfig13.SlackBuild
synfig-1.3.0.tar.xz
slack-desc

And of course inside synfigstudio put:

synfigstudio13.SlackBuild
synfigstudio-1.3.0.tar.xz
slack-desc
Also nice if you copy the list of dependencies above into a file called "slack-required".

To compile the testing version, which is the one supposed to evolve into 1.2 add or substitute the following files into the respective folders:

ETL421.SlackBuild
ETL-0.04.21.tar.xz
synfig112.SlackBuild
synfig-1.1.12.tar.xz
synfigstudio1112.SlackBuild
synfigstudio-1.1.12.tar.xz

To compile go to each folder in turn and type "sh <program name>.SlackBuild"   The ETL slackbuilds will create a tgz file in the /tmp directory.  The other two will create tgz (or txz in the case of synfigstudio) files in the directory you run them in.   Use installpkg to install them on your system and make sure you install ETL then make and install synfig then make and install synfigstudio because each is a prerequisite for the next one.  Then look under the Graphics menu of your Desktop.  You should find Synfig Studio there.

Sunday, June 26, 2016

The Development version of inkscape

Okay, I've been busy because slackware has been updating itself into the next release while Inkscape and Synfig haven't been.  Except they are developing new versions.  You can get a development version of Inkscape which works by follwing these instructions:

First: use the following for the slackbuild:

#!/bin/sh

# Slackware build script for inkscape

# Copyright 2006-2013  Robby Workman, Northport, AL, 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=inkscape
VERSION=${VERSION:-0.92pre1}
BUILD=${BUILD:-3}
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 -e

rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
 \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
  -o -perm 511 \) -exec chmod 755 {} \; -o \
 \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
 -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;

#patch -p1 < $CWD/remove-stray-comma.diff
./autogen.sh
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
  --prefix=/usr \
  --libdir=/usr/lib${LIBDIRSUFFIX} \
  --sysconfdir=/etc \
  --localstatedir=/var \
  --mandir=/usr/man \
  --docdir=/usr/doc/$PRGNAM-$VERSION \
  --build=$ARCH-slackware-linux

make
make install DESTDIR=$PKG

find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
  | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true

find $PKG/usr/man -type f -exec gzip -9 {} \;

mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
  AUTHORS COPYING* INSTALL NEWS README* TRANSLATORS doc/* \
  $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc -name "Makefile*" -exec rm {} \;
find $PKG/usr/doc -type f -exec chmod 644 {} \;

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}

No copyright infringement intended. 

Save the following as doinst.sh
if [ -x /usr/bin/update-desktop-database ]; then
  /usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1
fi

if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
  if [ -x /usr/bin/gtk-update-icon-cache ]; then
    /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
  fi
fi









Save the following as slack-desc:

# 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 ':'.

        |-----handy-ruler-----------------------------------------------------|
inkscape: Inkscape (Open Source vector graphics editor)
inkscape:
inkscape: Inkscape is an Open Source vector graphics editor, with capabilities
inkscape: similar to Illustrator, Freehand, CorelDraw, or Xara X using the W3C
inkscape: standard Scalable Vector Graphics (SVG) file format.
inkscape:
inkscape: Homepage: http://www.inkscape.org/
inkscape:
inkscape:
inkscape:
inkscape:

Download this:
https://inkscape.org/en/gallery/item/9633/inkscape-0.92pre1.tar.bz2

It should compile and run on Slackware 14.1 or later.  It is still the development version.  But the old version doesn't run well any more, or compile easily.

Wednesday, March 16, 2016

Synfig for Slackware Part 2

Now the craziness begins:

There is  document for the old Synfig called slack-required:
atk >= 1.32.0-i486-1
atkmm >= 2.22.5-i486-1sl
cairo >= 1.10.2-i486-2
cairomm >= 1.9.8-i486-1sl
cxxlibs >= 6.0.14-i486-1 | gcc-g++ >= 4.5.2-i486-2
expat >= 2.0.1-i486-2
fontconfig >= 2.8.0-i486-1
freetype >= 2.4.4-i486-1
gcc >= 4.5.2-i486-2
gdk-pixbuf2 >= 2.23.3-i486-1
glib2 >= 2.28.6-i486-1
glibc-solibs >= 2.13-i486-4
glibmm >= 2.27.99.2-i486-1sl
gtk+2 >= 2.24.4-i486-1
gtkmm >= 2.24.0-i486-1sl
libX11 >= 1.4.3-i486-2
libXau >= 1.0.6-i486-1
libXcomposite >= 0.4.3-i486-1
libXcursor >= 1.1.11-i486-1
libXdamage >= 1.1.3-i486-1
libXdmcp >= 1.1.0-i486-1
libXext >= 1.2.0-i486-1
libXfixes >= 5.0-i486-1
libXi >= 1.4.2-i486-1
libXinerama >= 1.1.1-i486-1
libXrandr >= 1.3.1-i486-1
libXrender >= 0.9.6-i486-1
libpng >= 1.4.5-i486-1
libsigc++ >= 2.2.9-i486-1sl
libtool >= 2.4-i486-1
libxcb >= 1.7-i486-1
libxml++ >= 2.33.2-i486-1sl
libxml2 >= 2.7.8-i486-3
pango >= 1.28.4-i486-1
pangomm >= 2.28.2-i486-1sl
pixman >= 0.20.2-i486-1
synfig >= 0.63.02-i486-3sl
zlib >= 1.2.5-i486-4

Now the current Slackware is the 14.2 release candidate which within the last few months has added most of the current packages of those they didn't have already.  The only issue is mlt, which is not on the list but is required.  For any problems go to: slackbuilds.org  But of course a lot of this software has changed.  So we will edit the slackbuilds, and the order we edit them in is both the order we run them in and the order of complexity:simplest and first is ETL.

Open ETL.SlackBuild in a text editor, find the line:

VERSION=0.4.11
and change it to:
VERSION=0.4.19
 
Also change :
 
ARCH=${ARCH:-noarch} 
 
to:
if [ -z "$ARCH" ]; then
  case "$( uname -m )" in
    i?86) ARCH=i486 ;;
    arm*) ARCH=arm ;;
       *) ARCH=$( uname -m ) ;;
  esac
fi
 
 Save it into a directory with the ETL source code. Then type either type "sh ETL.SlackBuild" in that directory as root or, if you have fakeroot installed type "fakeroot sh ETL.SlackBuild".  Either way, ET-0.04.19-x85_64-1_SBo.tgz should be in this directory.  As root, type "installpkg" and install it, before continuing on.  Now things get more complicated.

Wednesday, March 9, 2016

Synfig for Slackware Part 1


I'm interrupting my series to discuss  a program which was an inspiration for this blog. I always wanted to do animation but I couldn't get along with people well enough for the traditional stuff.  I liked Macromedia Director but couldn't afford it, and by the time I cold Adobe owned it  and their DRM made me allergic to their products.

Synfig Studio is an open source vector animation program.  As such it has its issues.    The vector drawing component in particular is abomination.  While the Blender project has done several proof-of-concept projects, most notably Big Buck Bunny, a group of Russians have been working on Maria Morevna  since 2007, which recently morphed into a web series.   And which is trying to raise money to finish the first episode while supporting development of the software.


I may get back to that but some disclaimers first.   Since it is oen source Ican install it on Slackware.   How, the article's  topic, is crazy and I take no responsibility for anyone who follows my lead.  In particular the second step.   I'm on a new computer and I'm repeating these steps as I type them but while they've  worked for years a time passes they get crazier.

Slackware is close enough to plain vanilla Linux  so it's pretty straightforward to compile and install programs, but if you just do that the OS won't know where they are.  Debian has deb files, Red Hat/Fedora rpms and Slackware tgz or txz files.      You can create your own files.    In Slackware you use SlackBuild scripts.  You can get them for old versions of  Synfig at Slacky.eu.    You need 3:

ETL
Synfig
Synfig Studio


I only linked to the scripts.  Get the source code here:
Synfig source
Again, get all 3 packages.  




Friday, March 4, 2016

My history with Slackware Linux part 3 Debian and Distro-Hopping


Another successful iso burning was a debian net-install disk.  It was only about a hundred fifty megs and once I figured out how to connect it to the internet, the computer with the CD burner became a debian machine.  I learned to use apt rather than rpm, the Red Hat installation files.   I also started learning about live-cds.  Knoppix, the Ubuntu installation disk, dyne:bolic which thrilled me as I was an artist, DSL (Damn Small Linux) and many others.  All of the above except dyne:bolic were based on Debian so I got to know it very well.  The only problems I had were with PulseAudio (for which reason I do not consider Lennart Poettering a hero) and Mono (ditto Miguel de Icaza though he did a lot of good things with Gnome).

I began to meet other users again at about this time and one fellow at the Seacoast Linux User's Group told me he had spent two weeks installing Debian into someone's computer.  Since I had first spent most of a day doing it,  that surprised me until I learned he installed them from a set of CDs.  A LARGE set of CDs which was too large, in fact for him to install everything.  It was also about then I started cartooning again and as you will see above a lot of what I drew was about what I know.  I managed Slackware again briefly, but  had learned Gnome, I wanted Gnome and they weren't supporting it.  So I settled for Debian with a gnome desktop (he lives in a cute little house and smokes a pipe, the gnome).

Then  came the two programs I mentioned above,  and other issues and I began to lose patience with Gnome.  Dyne:Bolic came along and blew my mind.  The desktop image was very cool.  It was clearly a vector drawing and they had a vector drawing program called Inkscape.  I'd had vector drawing when I came back to college.  For me it was like all the best parts of watercolor an none of the other stuff.  Dyne:Bolic had something else too: the xfce4 desktop.  I very soon switched full time. 

Dyne:Bolic was one of many programs I ran from CDs.  These included Knoppix, DSL (Damn Small Linux) Ubuntu and even as my computers changed Fedora.  I came to appreciate both how Ubuntu was taking over mindshare and, since it was a debian derivative, Debian was taking over how most of us ran Linux.  Slax, a slackware derivative, was fun but one day my mind was blown, while playing with dyne:bolic when I found installpkg removepkg and pkgtool on it and realized it was nothing more than a repackaged Slackware.

Round about 2007, as I was switching to laptops, I got fed up with Debian.  I threw Fedora 9 on my machine, and it ran sweetly till I upgraded to Fedora 10.  Fedora was still, to my mind, a resource-hog.  So I decided to try Slackware for a few weeks.  I'm essentially still on it.

Wednesday, March 2, 2016

My history with Slackware Linux Part 2: Brought to you by Red Hat.

Red Hat Linux wasn't Slackware, but it was good enough. Red Hat Linux wasn't Red Hat Enterprise Linux either - yet. I set it up as a dual boot, and I had a problem setting up sound at first, but I learned about the DOS program RAWRITE.EXE and the GNU dd (disk duplicator) and started to get a feeling for how Windows pads and changes your files to make them "safe" (which they aren't anyhow).  Doom was apparently not available for Slackware either (on disk) but I bought Quake and was able to get assistance installing the Linux version through ID software who made it. 

That is a digression to get into: ID software used Open Source tools like GNU.  They read the license, and had no problem at the time following it.  What it said was that if you create derivative works, such as a program which can only the compiled on it, you must make the source code freely available to all users to change as they see fit.  The way this is supposed to work is this: there is really no conceptual difference between a game program and a program interpreter.  The game program though is not the game: it is the game engine which interprets key strokes, mouse movements and mouse clicks and displays graphics and sound effects which advance the session.  I did not look closely enough at the source code to be sure that the game engine for quake, one of the last engines they open sourced, could only be compiled with gcc.  That would have compelled them to open source the game engine.  The game engine though was not the game.  I bought the game, which included graphics, a score by Trent Reznor of Nine Inch Nails, and other creative things which were inarguably the property of ID software.  The GAME of Quake was never supposed to be open sourced - only the Game Engine.  If that. ID was generous responsible an still deserve support but some confused kids and some horribly cynical people abused this to send pirated games around.  You can still play the Doom Engine for free as PRBoom, and there are games based on other engines like OpenArena.  ID Software certainly deserves props for doing it for as long as they did, as, despite some things, does Apple for the Darwin Kernel.

For about a year I was happy learning about my computer.  I eventually found in the local "transfer station" (junkyard) a computer with a cdrw and a dying hard drive.  It was about my birthday and after reformatting and putting Linux on it I was able to use it without replacing the drive until Labor Day.  And I could have used it longer.  When Red Hat 8 came out I bought that as well (at about the same time).  Then came Fedora.

What I had been buying at Staples was openly a contract with Red Hat to use a testing version of their Operating System which, once all the bugs were worked out, they would take and distribute a stable version, with consultants they charged for, to corporate clients.  I was paying money because I, at the time, did not understand how to download and burn an ISO boot disk or use rpm and yum files to update.  In 2003 they marked a major upgrade to their OS by renaming the version I used Fedora I and the stable version Red Hat Enterprise Linux. 

I went to Staples to pick up Fedora and not only did they not have it but the sales clerk gave me a lecture about how I should never use Linux because installing it voided my warranty (which is why I bought refurbs from small shops usually).  I managed to burn it as one of my first successful attempts.  It brought both my computers to a complete standstill.  It used more memory than I had.

Before I went back to Slackware I had an equally rewarding experience with Debian, which I shall describe in part 3.