# HG changeset patch # User Pascal Bellard # Date 1320359173 -3600 # Node ID eae14a350f2d0b1a1c4caaf161684cfecb792e86 # Parent a96390e5d7a505b59add7bfa937935f1e0d732d7 Move to wok: gecko-mediaplayer gejengel get-msttcorefonts ggseq gliv guichan guichan-dev gvfs gvfs-dev diff -r a96390e5d7a5 -r eae14a350f2d gecko-mediaplayer/receipt --- a/gecko-mediaplayer/receipt Thu Nov 03 23:13:55 2011 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,52 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="gecko-mediaplayer" -VERSION="1.0.0" -CATEGORY="multimedia" -SHORT_DESC="Browser plugin that uses gnome-mplayer to play media in a web browser" -MAINTAINER="jozee@slitaz.org" -DEPENDS="gnome-mplayer dbus-glib gcc-lib-base" -BUILD_DEPENDS="firefox-dev dbus-dev dbus-glib-dev" -TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://code.google.com/p/gecko-mediaplayer/" -WGET_URL="http://gecko-mediaplayer.googlecode.com/files/$TARBALL" -TAGS="player audio video browser" - -# Rules to configure and make the package. -compile_rules() -{ - cd $src - sed -i 's/utf8characters/UTF8Characters/g' src/*.cpp - sed -i 's|NPP_Initialize|//&|' src/np_entry.cpp - ./configure --prefix=/usr --sysconfdir=/etc \ - --disable-schemas-install --without-gconf && - make && - make DESTDIR=$PWD/_pkg install - -} - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $_pkg/usr/lib/mozilla $fs/usr/lib - -} - -post_install() -{ - echo -n "Processing post install commands..." - local root - root=$1 - for i in $root/usr/lib/mozilla/plugins/$PACKAGE*.so ; do - ln -s $i $root/usr/lib/firefox*/plugins - done - status -} - -post_remove() -{ - echo -n "Processing post remove commands..." - rm -f /usr/lib/firefox*/plugins/$PACKAGE*.so - status -} diff -r a96390e5d7a5 -r eae14a350f2d gejengel/receipt --- a/gejengel/receipt Thu Nov 03 23:13:55 2011 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,31 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="gejengel" -VERSION="0.1.4" -CATEGORY="network" -SHORT_DESC="A simple, light and clean audio player." -MAINTAINER="pabkso@slitaz.org" -TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://code.google.com/p/gejengel/" -WGET_URL="http://gejengel.googlecode.com/files/$TARBALL" - -DEPENDS="glibmm cairomm gtkmm libsigc++ taglib imagemagick libxdg-basedir \ -alsa-lib flac ffmpeg" -BUILD_DEPENDS="glibmm-dev cairomm-dev gtkmm-dev libsigc++-dev taglib-dev \ -imagemagick-dev imagemagick libxdg-basedir-dev alsa-lib-dev flac-dev \ -ffmpeg-dev lcms-dev fftw-dev openexr-dev ilmbase-dev graphviz-dev \ -util-linux-ng-uuid-dev libogg-dev" - -# Rules to configure and make the package. -compile_rules() -{ - ./configure --enable-alsa --enable-ffmpeg --enable-flac \ - $CONFIGURE_ARGS && make && make install -} - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr $fs/etc - cp -a $_pkg/usr/bin $fs/usr -} diff -r a96390e5d7a5 -r eae14a350f2d get-msttcorefonts/receipt --- a/get-msttcorefonts/receipt Thu Nov 03 23:13:55 2011 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,17 +0,0 @@ -# SliTaz package receipt. -# http://corefonts.sourceforge.net/ - -PACKAGE="get-msttcorefonts" -VERSION="1.00" -CATEGORY="non-free" -SHORT_DESC="An easy way to install Microsoft's TrueType core fonts on linux." -MAINTAINER="rocky@slitaz.org" -WEB_SITE="http://sourceforge.net/projects/corefonts" -TAGS="utilities" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/bin - cp stuff/get-msttcorefonts $fs/usr/bin -} diff -r a96390e5d7a5 -r eae14a350f2d get-msttcorefonts/stuff/get-msttcorefonts --- a/get-msttcorefonts/stuff/get-msttcorefonts Thu Nov 03 23:13:55 2011 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,175 +0,0 @@ -#!/bin/sh - -PACKAGE="msttcorefonts" -VERSION="2.0" -CUR_DIR=$(pwd) -TEMP_DIR=/tmp/$PACKAGE-$VERSION -ROOT= - -# Check if we are root -if test $(id -u) != 0 ; then - echo -e "\nYou must be root to run `basename $0`." - echo -e "Please type 'su' and root password to become super-user.\n" - exit 1 -fi - -# Avoid reinstall -if [ -d $ROOT/var/lib/tazpkg/installed/$PACKAGE ]; then - echo -e "\n$PACKAGE package is already installed.\n" - exit 1 -fi - -# Create a TEMP_DIR -mkdir -p $TEMP_DIR/downloads -cd $TEMP_DIR/downloads - -# this is the sourceforge mirrorlist as of 2006-04-30. If someone spots changes -# over at sourcforge, feel free to email me and I'll update the list -mirrors="easynews+heanet+superb-west+internap+switch+ufpr+surfnet+umn+kent+mesh+superb-east+jaist" -mirror_count=12 - -andale32_md5="cbdc2fdd7d2ed0832795e86a8b9ee19a andale32.exe" -arial32_md5="9637df0e91703179f0723ec095a36cb5 arial32.exe" -arialb32_md5="c9089ae0c3b3d0d8c4b0a95979bb9ff0 arialb32.exe" -comic32_md5="2b30de40bb5e803a0452c7715fc835d1 comic32.exe" -courie32_md5="4e412c772294403ab62fb2d247d85c60 courie32.exe" -georgi32_md5="4d90016026e2da447593b41a8d8fa8bd georgi32.exe" -impact32_md5="7907c7dd6684e9bade91cff82683d9d7 impact32.exe" -times32_md5="ed39c8ef91b9fb80f76f702568291bd5 times32.exe" -trebuc32_md5="0d7ea16cac6261f8513a061fbfcdb2b5 trebuc32.exe" -webdin32_md5="230a1d13a365b22815f502eb24d9149b webdin32.exe" -verdan32_md5="12d2a75f8156e10607be1eaa8e8ef120 verdan32.exe" -wd97vwr32_md5="efa72d3ed0120a07326ce02f051e9b42 wd97vwr32.exe" - -download_files="andale32.exe arial32.exe arialb32.exe comic32.exe courie32.exe georgi32.exe impact32.exe times32.exe trebuc32.exe webdin32.exe verdan32.exe wd97vwr32.exe" - -failures=0 - -set_mirror() { - local r m - r=`expr $RANDOM % $mirror_count + 1` - m=`echo $mirrors |cut -d+ -f$r` - mirror="http://${m}.dl.sourceforge.net/sourceforge/corefonts/" -} - -check_file() { - matches=no - if [ ! -r $1 ] - then - echo "$1 does not exist" - return - fi - local variable_name=`basename $1 .exe`_md5 - local stored_checksum - eval stored_checksum=\$$variable_name - local computed_checksum=`md5sum $1` - if [ "$stored_checksum" = "$computed_checksum" ] - then - matches=yes - else - rm $1 - matches=no - fi -} - -download() { - curl --retry 5 -H Pragma: -R -S -L -o "$2" $1$2 -} - -# Download the file -set_mirror - -if [ ! -d /var/lib/tazpkg/installed/curl ]; then - tazpkg get-install curl -fi -if [ ! -f /usr/bin/curl ]; then - cd $CUR_DIR - echo "Could not find curl. Exiting." - exit -fi - -for f in $download_files -do - check_file $f - while [ $matches != yes ] - do - download $mirror $f - check_file $f - if [ $matches != yes ] - then - echo "failed to download $mirror$f" - failures=`expr $failures + 1` - if [ $failures -gt 5 ] - then - echo "failed to download too many times." - exit - fi - set_mirror - fi - done -done - -# Extract fonts -if [ ! -d /var/lib/tazpkg/installed/cabextract ]; then - tazpkg get-install cabextract -fi -if [ ! -f /usr/bin/cabextract ]; then - cd $CUR_DIR - echo "Could not find cabextract. Exiting." - exit -fi - -cd $TEMP_DIR -rm -rf cab-contents && mkdir cab-contents -mkdir -p $PACKAGE-$VERSION/fs/usr/share/fonts/truetype/$PACKAGE/ - -font_files="andale32.exe arial32.exe arialb32.exe comic32.exe courie32.exe georgi32.exe impact32.exe times32.exe trebuc32.exe webdin32.exe verdan32.exe" - -for i in $font_files -do - if [ -f downloads/$i ] - then - cabextract --lowercase --directory=cab-contents downloads/$i - fi - mv cab-contents/*.ttf $PACKAGE-$VERSION/fs/usr/share/fonts/truetype/$PACKAGE/ - rm -f cab-contents/* -done - -cabextract --lowercase --directory=cab-contents downloads/wd97vwr32.exe -cabextract --lowercase --directory=cab-contents cab-contents/viewer1.cab -mv cab-contents/*.ttf $PACKAGE-$VERSION/fs/usr/share/fonts/truetype/$PACKAGE/ -rm -f cab-contents/* - -cd $TEMP_DIR - -cat > $PACKAGE-$VERSION/receipt << EOT -PACKAGE="$PACKAGE" -VERSION="$VERSION" -CATEGORY="non-free" -SHORT_DESC="TrueType core fonts for the web." -DEPENDS="fontconfig" -WEB_SITE="http://sourceforge.net/projects/corefonts" -TAGS="fonts" - -# Pre and post install commands for Tazpkg. -post_install() -{ - local root - root=\${1:-/} - echo "Processing post-install commands..." - chroot \$root/ /usr/bin/fc-cache /usr/share/fonts/truetype/msttcorefonts >/dev/null 2>&1 -} -EOT - -# Pack -tazpkg pack $PACKAGE-$VERSION - -# Clean to save RAM memory -rm -rf $PACKAGE-$VERSION - -# Install pseudo package -yes y | tazpkg install $PACKAGE-$VERSION.tazpkg --root=$ROOT - -# Clean -cd $CUR_DIR -rm -rf $TEMP_DIR diff -r a96390e5d7a5 -r eae14a350f2d ggseq/receipt --- a/ggseq/receipt Thu Nov 03 23:13:55 2011 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,33 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="ggseq" -VERSION="0.3.1" -CATEGORY="multimedia" -SHORT_DESC="Gungirl Sequencer is an easy to use Audiosequencer." -MAINTAINER="pankso@slitaz.org" -DEPENDS="wxWidgets libsndfile libsamplerate" -BUILD_DEPENDS="$DEPENDS wxWidgets-dev libsndfile-dev libsamplerate-dev" -TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://ggseq.sourceforge.net/" -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" - -# Rules to configure and make the package. -compile_rules() -{ - cd $src - sed -i 's/SoundTouch::getVersionId/getVersionId/' src/SoundTouch/SoundTouch.h - ./configure \ - --prefix=/usr \ - --infodir=/usr/share/info \ - --mandir=/usr/share/man \ - $CONFIGURE_ARGS && - make && make DESTDIR=$PWD/_pkg install -} - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr - cp -a $_pkg/usr/bin $fs/usr -} - diff -r a96390e5d7a5 -r eae14a350f2d gliv/receipt --- a/gliv/receipt Thu Nov 03 23:13:55 2011 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,30 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="gliv" -VERSION="1.9.6" -CATEGORY="multimedia" -SHORT_DESC="An image viewer that uses OpenGL" -MAINTAINER="devl547@gmail.com" -TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="http://guichaz.free.fr/gliv/" -WGET_URL="$WEB_SITE/files/$TARBALL" -BUILD_DEPENDS="gtk+-dev gtkglext gtkglext-dev bison mesa-dev" -DEPENDS="gtk+ gtkglext gettext" - -# Rules to configure and make the package. -compile_rules() -{ - cd $src - ./configure --prefix=/usr --infodir=/usr/share/info \ - --mandir=/usr/share/man $CONFIGURE_ARGS && - make && - make DESTDIR=$PWD/_pkg install -} - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr - cp -a $_pkg/usr/bin $fs/usr - cp -a $_pkg/usr/share $fs/usr -} diff -r a96390e5d7a5 -r eae14a350f2d guichan-dev/receipt --- a/guichan-dev/receipt Thu Nov 03 23:13:55 2011 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="guichan-dev" -VERSION="0.8.2" -CATEGORY="development" -SHORT_DESC="a portable C++ GUI library designed for games using Allegro, SDL and/or OpenGL" -MAINTAINER="devl547@gmail.com" -WEB_SITE="http://guichan.sourceforge.net/" -WANTED="guichan" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $_pkg/usr/lib/*a $fs/usr/lib - cp -a $_pkg/usr/include $fs/usr - cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib -} - diff -r a96390e5d7a5 -r eae14a350f2d guichan/receipt --- a/guichan/receipt Thu Nov 03 23:13:55 2011 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,29 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="guichan" -VERSION="0.8.2" -CATEGORY="development" -SHORT_DESC="a portable C++ GUI library designed for games using Allegro, SDL and/or OpenGL" -MAINTAINER="devl547@gmail.com" -DEPENDS="libsdl libsdl-image" -BUILD_DEPENDS="libsdl-dev libsdl-image-dev" -TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://guichan.sourceforge.net/" -WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL" - -# Rules to configure and make the package. -compile_rules() -{ - cd $src - ./configure --prefix=/usr $CONFIGURE_ARGS \ - --enable-sdl && - make && - make DESTDIR=$PWD/_pkg install -} - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $_pkg/usr/lib/*.so* $fs/usr/lib -} diff -r a96390e5d7a5 -r eae14a350f2d gvfs-dev/receipt --- a/gvfs-dev/receipt Thu Nov 03 23:13:55 2011 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="gvfs-dev" -VERSION="1.7.2" -CATEGORY="development" -SHORT_DESC="The gvfs devel files." -MAINTAINER="pankso@slitaz.org" -WANTED="gvfs" -WEB_SITE="http://www.gnome.org/" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib/gio/modules - cp -a $_pkg/usr/include $fs/usr - #cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib - cp -a $_pkg/usr/lib/*.*a $fs/usr/lib - cp -a $_pkg/usr/lib/gio/modules/*.*a $fs/usr/lib/gio/modules -} diff -r a96390e5d7a5 -r eae14a350f2d gvfs/receipt --- a/gvfs/receipt Thu Nov 03 23:13:55 2011 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,42 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="gvfs" -VERSION="1.6.6" -CATEGORY="system-tools" -SHORT_DESC="Userspace virtual filesystem designed to work with gio." -MAINTAINER="pankso@slitaz.org" -DEPENDS="GConf dbus hal glib gnome-keyring" -BUILD_DEPENDS="GConf-dev dbus-dev hal-dev glib-dev gnome-keyring-dev" -TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="http://www.gnome.org/" -WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" - -# Rules to configure and make the package. -compile_rules() -{ - cd $src - grep -rl gio/gdesktopappinfo.h . | xargs sed -i \ -'s|.*gio/gdesktopappinfo.h.*|#ifdef G_DISABLE_DEPRECATED\n#undef G_DISABLE_DEPRECATED\n&\n#define G_DISABLE_DEPRECATED\n#else\n&\n#endif|' - ./configure \ - --libexecdir=/usr/lib/$PACKAGE \ - --sysconfdir=/etc \ - --disable-gphoto2 \ - --disable-avahi \ - --disable-samba && - make && make install -} - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib $fs/usr/share - cp -a $_pkg/etc $fs - cp -a $_pkg/usr/bin $fs/usr - cp -a $_pkg/usr/lib/*.so* $fs/usr/lib - cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib - cp -a $_pkg/usr/lib/gio $fs/usr/lib - cp -a $_pkg/usr/share/dbus-1 $fs/usr/share - cp -a $_pkg/usr/share/gvfs $fs/usr/share - rm $fs/usr/lib/gio/modules/*.*a - strip -s $fs/usr/lib/$PACKAGE/* 2>/dev/null -}