VectorLinux
December 18, 2014, 10:53:48 pm *
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 ... 5 6 [7] 8 9 10
  Print  
Author Topic: Multimedia Bonus Disc development  (Read 44801 times)
blurymind
Packager
Vectorian
****
Posts: 1082



« Reply #90 on: November 24, 2007, 11:43:12 am »

Now, I'm not sure where you keep your package list nowadays, but is Blender on it yet? Now there's a gem :-).

Here: http://www.vectorlinux.com/forum2/index.php?topic=4040.msg29363#msg29363

Blender is on it.

Anyone have any idea what's up with my lilypond compilation?
will wacom-tools be on it? Set to automatically add entries to xorg.con when the tabled is plugged,so one can start using it only after ctrl++alt+back ...like it is in ubuntu,mandriva and most common distros?
If so,you should also add expresskeys to enable media button support in tablets:
http://freshmeat.net/projects/wacomexpresskeys/

works great with gimp and blender

also,a must tool for any graphic designer/photographer is a image batch processing tool. Kde image menu or Phatch would do the trick.Phatch is using python and its imaging library.Kim is using imagemagick and kdelibs.
« Last Edit: November 24, 2007, 11:48:05 am by blurymind » Logged

status: playing around with new tablet and learning to 3d :p
google page :  http://blurymind.googlepages.com
DA PAGE :  http://www.blurymind.deviantart.com/
Dweeberkitty
Packager
Vectorian
****
Posts: 836



WWW
« Reply #91 on: November 24, 2007, 12:33:46 pm »

will wacom-tools be on it? Set to automatically add entries to xorg.con when the tabled is plugged,so one can start using it only after ctrl++alt+back ...like it is in ubuntu,mandriva and most common distros?

Possibly. I'm not so much of a guru at stuff like that but it may be setup that way in the future. One problem I have with doing that is that I don't have any tablets to test it on. I'd either need someone who has one to help me do it, or have people donate their old tablets to the cause.  Wink

Also that might be a project for the devs to work on and integrate into VL itself.


BTW, here's my TeTeX build script. I'm not sure what I'm doing wrong, but in case anyone knows the solution, here it is:
Code:
#!/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 last line to keep this dir intact.

#Find Configuration Files
#--------------------------------------------
CWD=`pwd`
cd ../../../
TOP=`pwd`
CONFIGURATIONS=$TOP/Configurations
cd $CWD
#--------------------------------------------



NAME="tetex" #Enter Name!
VERSION=3.0 #Enter Version!



#SYSTEM VARIABLES
#-----------------------------------------------------
ARCH=`cat $CONFIGURATIONS/ARCH`
BUILD=`cat $CONFIGURATIONS/BUILD`
VL_PACKAGER=`cat $CONFIGURATIONS/VL_PACKAGER`
CONFIG_OPTIONS=`cat $CONFIGURATIONS/CONFIG_OPTIONS`
CFLAG_OPTIONS=`cat $CONFIGURATIONS/CFLAG_OPTIONS`
LDFLAG_OPTIONS=`cat $CONFIGURATIONS/LDFLAG_OPTIONS`
#-----------------------------------------------------

CWD=`pwd`
cd ../
RELEASEDIR=`pwd`
cd $CWD
mkdir $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
fi

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

#CFLAGS Setup
#--------------------------------------------
if [ "$ARCH" = "i386" ]; then
  SLKCFLAGS="-O2 -march=i386 -mtune=i686"
elif [ "$ARCH" = "i486" ]; then
  SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i586" ]; then
  SLKCFLAGS="-O2 -march=i586 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
  SLKCFLAGS="-O2 -march=i686 -mtune=i686"
elif [ "$ARCH" = "s390" ]; then
  SLKCFLAGS="-O2"
elif [ "$ARCH" = "x86_64" ]; then
  SLKCFLAGS="-O2"
fi

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

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

#Extract Sources. **Check file type!**
#-----------------------------------------------------
#tar xjvf $CWD/$NAME-$VERSION.tar.bz2 || exit 1
tar zxvf $CWD/$NAME-src-$VERSION.tar.gz || exit 1
tar zxvf $CWD/tetex-texmfsrc-$VERSION.tar.gz || exit 1
#-----------------------------------------------------

cd $TMP/source



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
#-----------------------------------------------------
echo "Configuring source..."

#Install Texmf
mkdir -p $PKG/usr/share/texmf
cp -r * $PKG/usr/share/texmf
cp ../LICENSE.texmfsrc $PKG/usr/share/texmf/LICENSE.texmfsrc

cd $TMP/$NAME-src-$VERSION

#Now make tetex
./configure --prefix=/$PKG/usr --with-system-ncurses \
--with-system-pnglib --with-system-zlib --with-system-t1lib \
--with-system-gd --without-texi2html --without-texinfo \
--disable-multiplatform --enable-mf --with-mf $CONFIG_OPTIONS || exit 1

make || exit 1

make install DESTDIR=$PKG
#-----------------------------------------------------

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

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

           # 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


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 ':'.
   
   |-----handy-ruler------------------------------------------------------|
$NAME: $NAME (Complete TeX distribution for Linux)
$NAME:
$NAME: teTeX is a complete TeX distribution for UNIX compatible
$NAME: systems, maintained by me,  Thomas Esser. It is based on
$NAME: the web2c distribution which is currently maintained by Olaf Weber.
$NAME:
$NAME: License: Free software
$NAME: Website: http://www.tug.org/tetex/
$NAME: Authors: Thomas Esser
$NAME:

#----------------------------------------
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

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

echo "Finding dependancies..."
requiredbuilder -v -y -s $RELEASEDIR $PKG

#Finish package
#--------------------------------------------------------------
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"
#--------------------------------------------------------------


« Last Edit: November 24, 2007, 12:36:17 pm by Dweeberkitty » 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/
exeterdad
Packager
Vectorian
****
Posts: 2046



« Reply #92 on: November 24, 2007, 01:24:51 pm »

Pay attention to the first paragraph in this link, it may be helpful. http://osdir.com/ml/gnu.lilypond.general/2003-08/msg00185.html
Logged
Dweeberkitty
Packager
Vectorian
****
Posts: 836



WWW
« Reply #93 on: November 24, 2007, 04:48:22 pm »

I'm not sure what it means by not having a complete installation of teTex. I tried the second part about running texconfig but I get errors. Arrrggh! I really don't have a clue what I'm doing here. No idea what I could be doing wrong.

EDIT: I found a slackbuild for tetex. I'll try that and see what happens.
« Last Edit: November 24, 2007, 05:18:21 pm by Dweeberkitty » 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/
blurymind
Packager
Vectorian
****
Posts: 1082



« Reply #94 on: November 25, 2007, 02:21:41 am »

hi, i am willing to test it. Just have it installed.
wacom-tools is a must for this kind of distro
expresskeys is very easy to compile and package.I'd do it myself if i had a free computer atm.
Logged

status: playing around with new tablet and learning to 3d :p
google page :  http://blurymind.googlepages.com
DA PAGE :  http://www.blurymind.deviantart.com/
Dweeberkitty
Packager
Vectorian
****
Posts: 836



WWW
« Reply #95 on: November 25, 2007, 08:36:20 am »

Whooohooo! I finally got a working teTeX package built. I would have never figured it out myself without that build script. With like a bazillion patches and things, it got pretty involved. Thank you Patrick Volkerding! Now lilypond compiles with teTeX up until this error:

Quote
make[1]: Entering directory `/home/dweeberkitty/BonusDisc/deps/lilypond/1.10.33/tmp/lilypond-2.10.33/mf'
/usr/bin/fontforge -script ../buildscripts/pfx2ttf.fontforge /usr/share/fonts/TTF/DejaVuSansBold.pfb /usr/share/fonts/TTF/DejaVuSansBold.afm ./out/ &&   /usr/bin/fontforge -script ../buildscripts/pfx2ttf.fontforge /usr/share/fonts/TTF/DejaVuSans.pfb /usr/share/fonts/TTF/DejaVuSans.afm ./out/ &&   /usr/bin/fontforge -script ../buildscripts/pfx2ttf.fontforge /usr/share/fonts/TTF/DejaVuSans.pfb /usr/share/fonts/TTF/DejaVuSans.afm ./out/ &&   /usr/bin/fontforge -script ../buildscripts/pfx2ttf.fontforge /usr/share/fonts/TTF/DejaVuSans.pfb /usr/share/fonts/TTF/DejaVuSans.afm ./out/ &&  true
Copyright (c) 2000-2007 by George Williams.
 Executable based on sources from 02:03 GMT 10-Nov-2007.
Cannot open /usr/share/fonts/TTF/DejaVuSansBold.pfb
The requested file, DejaVuSansBold.pfb, does not exist
Open: Failed to open: /usr/share/fonts/TTF/DejaVuSansBold.pfb
Called from...
 ../buildscripts/pfx2ttf.fontforge: line 3
make[1]: *** [out/CenturySchL-Ital.otf] Error 1
make[1]: Leaving directory `/home/dweeberkitty/BonusDisc/deps/lilypond/1.10.33/tmp/lilypond-2.10.33/mf'
make: *** [all] Error 2

Arrrggh! They say on their site that building lilypond is an involved process, but man! Lilypond is a nice typesetter an all, but is it really worth all this when you can just download their installer.sh thing? Whatever, I've come this far, won't stop now.

Blurymind, I'll see what I can do as soon as I get these other packages done.
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/
exeterdad
Packager
Vectorian
****
Posts: 2046



« Reply #96 on: November 25, 2007, 09:11:23 am »

That's awesome you got Tetex worked out.  Surely if Lilypond puked, others would as well.  Nice job.  Why not install the needed font, build lilypond, and then include the font (with dir tree) in your package? 
Logged
Dweeberkitty
Packager
Vectorian
****
Posts: 836



WWW
« Reply #97 on: November 25, 2007, 09:17:44 am »

Would do that, but I'm not so much familiar with fonts. Still looking for it.
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/
GrannyGeek
Packager
Vectorian
****
Posts: 2567


« Reply #98 on: November 25, 2007, 12:24:44 pm »

I didn't understand the error message about
Cannot open /usr/share/fonts/TTF/DejaVuSansBold.pfb

Well, of course! There is no such font as DejaVuSansBold.pfb because a pfb font is Type 1 and DejaVuSansBold comes in TrueType. To get a Type 1 font for DejaVuSansBold, you'd have to convert it. Maybe that's what the fontforge stuff is about. Fontforge can convert between TrueType and Type 1. So you'd need fontforge on the system. I used to have it but haven't installed it on the 5.9 release candidates I'm now using. The Century Schoolbook OTF would be an OpenType font. I don't know if OpenType fonts come with any Linux distros; they don't come with VectorLinux, to my knowledge.

I don't know if this helps.
--GrannyGeek
Logged

Registered Linux User #397786

Happily running VL 7 Gold on  a Sempron LE-1300 desktop (2.3 GHz), 4 G RAM,  GeForce 6150 SE onboard graphics and on an HP Pavilion dv7 i7, 6 gigs, Intel 2nd Generation Integrated Graphics Controller
Dweeberkitty
Packager
Vectorian
****
Posts: 836



WWW
« Reply #99 on: November 25, 2007, 03:05:59 pm »

GrannyGeek, you were somewhat helpful. I found ttf2pt1 which allowed me to convert the appropriate .ttf fonts into .pfb. This took care of those errors. Now I get an error about mftrace!  Cry Huh Angry Roll Eyes Now it's really making me mad.
« Last Edit: November 25, 2007, 03:10:08 pm by Dweeberkitty » 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/
Dweeberkitty
Packager
Vectorian
****
Posts: 836



WWW
« Reply #100 on: November 25, 2007, 03:43:46 pm »

This is the error more specifically:

Code:
MFINPUTS=. mftrace --encoding ./out/feta11.enc --no-afm -I . -I ./out/ --formats=pfa,pfb,svg feta11
mftrace 1.2.14
Font `feta11'...
Warning: no extra font information for this font.
Consider writing a XX_guess_font_info() routine.
Using encoding file: `/home/dweeberkitty/BonusDisc/deps/lilypond/1.11.35/tmp/lilypond-2.11.35/mf/out/feta11.enc'
Running Metafont...
Tracing bitmaps... [33][34][35][36][37][38][39][40][41][42][43][44][45][46][47][48][49][50][51][52][53][54][55][56][57][58][59][60][61][62][63][64][65][66][67][68][69][70][71][72][73][74][75][76][77][78][79][80][81][82][83][84][85][86][87][88][89][90][91][92][93][94][95][96][97][98][99][100][101][102][103][104][105][106][107][108][109][110][111][112][113][114][115][116][117][118][119][120][121][122][123][124][125][126][127][128][129][130][131][132][133][134][135][136][137][138][139][140][141][142][143][144][145][146][147][148][149][150][151][152][153][154][155][156][157][158][159][160][161][162][163][164][165][166][167][168][169][170][171][172][173][174][175][176][177][178][179][180][181][182][183][184][185][186][187][188][189][190][191][192][193][194][195][196][197][198][199][200][201][202][203][204][205][206][207][208][209][210][211][212][213]
Assembling raw font to `feta11.pfa.raw'... sh: t1asm: command not found
error: t1asm: command exited with value 32512
/usr/bin/mftrace:114: DeprecationWarning: raising a string exception is deprecated
  raise _ ("Exiting ... ")
Traceback (most recent call last):
  File "/usr/bin/mftrace", line 1412, in <module>
    main()
  File "/usr/bin/mftrace", line 1408, in main
    do_file (filename)
  File "/usr/bin/mftrace", line 1391, in do_file
    make_outputs (basename, options.formats, encoding)
  File "/usr/bin/mftrace", line 835, in make_outputs
    raw_name = assemble_font (fontname, 'pfa', 1)
  File "/usr/bin/mftrace", line 817, in assemble_font
    system ('t1asm %s mftrace.t1asm %s' % (asm_opt, shell_escape_filename (outname)))
  File "/usr/bin/mftrace", line 172, in system
    error (msg)
  File "/usr/bin/mftrace", line 114, in error
    raise _ ("Exiting ... ")
Exiting ...
make[1]: *** [out/feta11.pfa] Error 1
make[1]: Leaving directory `/home/dweeberkitty/BonusDisc/deps/lilypond/1.11.35/tmp/lilypond-2.11.35/mf'
make: *** [all] Error 2

Looks like I need to find t1asm. *sigh*

EDIT: This was probably a stupid mistake on my part. I forgot to package t1utils. I'll do that and see how it likes it.
« Last Edit: November 25, 2007, 03:47:47 pm by Dweeberkitty » 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/
Dweeberkitty
Packager
Vectorian
****
Posts: 836



WWW
« Reply #101 on: November 25, 2007, 04:58:14 pm »

Yeaaaah! I finally got lilypond to compile with no errors.  Grin When I try to run it however..... "lily.scm not found" Noooo!
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/
exeterdad
Packager
Vectorian
****
Posts: 2046



« Reply #102 on: November 25, 2007, 04:59:32 pm »

*Smacks head on keyboard*  You poor man!  Cheesy
Logged
easuter
Global Moderator
Vectorian
*****
Posts: 2160



« Reply #103 on: November 26, 2007, 01:23:45 am »

Dweeberkitty, if you can't get around that problem then maybe posting a message on the lilypond mailing list may give you some answers:

http://lilypond.org/web/about/
Logged

rbistolfi
Packager
Vectorian
****
Posts: 2291


« Reply #104 on: November 26, 2007, 06:32:04 am »

Apparently that is part of the lilypond init files placed in the scm directory. You can configure the lilypond expressions from there. I wonder why the built didn't placed some default scm files there.
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!!
Pages: 1 ... 5 6 [7] 8 9 10
  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!