# HG changeset patch # User Christophe Lincoln # Date 1396558614 -7200 # Node ID 128aae84d74c9f4b4d23ff420bcbe57a96976ad4 # Parent eaed0faf063c823ed8519ca89b4ebbdd9fe8f38d ARM add: aspell, enchant, gtkspell, geany, leafpad, alaplayer diff -r eaed0faf063c -r 128aae84d74c alsaplayer-dev/receipt --- a/alsaplayer-dev/receipt Thu Apr 03 21:27:40 2014 +0200 +++ b/alsaplayer-dev/receipt Thu Apr 03 22:56:54 2014 +0200 @@ -8,8 +8,7 @@ LICENSE="GPL3" WANTED="alsaplayer" WEB_SITE="http://www.alsaplayer.org/" - -DEPENDS="pkg-config" +HOST_ARCH="i486 arm" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() @@ -19,7 +18,6 @@ cp -a $install/usr/lib/*.*a $fs/usr/lib cp -a $install/usr/lib/pkgconfig $fs/usr/lib cp -a $install/usr/lib/alsaplayer $fs/usr/lib - # Remove shared libs. rm $fs/usr/lib/alsaplayer/*/*.so } diff -r eaed0faf063c -r 128aae84d74c alsaplayer-scopes/receipt --- a/alsaplayer-scopes/receipt Thu Apr 03 21:27:40 2014 +0200 +++ b/alsaplayer-scopes/receipt Thu Apr 03 22:56:54 2014 +0200 @@ -8,10 +8,9 @@ LICENSE="GPL3" WANTED="alsaplayer" WEB_SITE="http://www.alsaplayer.org/" +HOST_ARCH="i486 arm" -DEPENDS="expat gtk+ xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor \ -xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrandr \ -xorg-libXrender mesa xorg-libXdamage xorg-libXxf86vm libdrm" +DEPENDS="alsaplayer" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() diff -r eaed0faf063c -r 128aae84d74c alsaplayer/receipt --- a/alsaplayer/receipt Thu Apr 03 21:27:40 2014 +0200 +++ b/alsaplayer/receipt Thu Apr 03 22:56:54 2014 +0200 @@ -3,27 +3,28 @@ PACKAGE="alsaplayer" VERSION="0.99.81" CATEGORY="multimedia" -SHORT_DESC="Alsa GTK+ PCM player." +SHORT_DESC="Alsa GTK+ PCM audio player." MAINTAINER="pankso@slitaz.org" LICENSE="GPL3" -SUGGESTED="alsaplayer-scopes libid3tag flac" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.alsaplayer.org/" WGET_URL="http://www.alsaplayer.org/$TARBALL" TAGS="music audio player mp3 ogg flac" +HOST_ARCH="i486 arm" +SUGGESTED="alsaplayer-scopes libid3tag flac" DEPENDS="gtk+ alsa-lib libmad libogg libvorbis xorg-libXdamage" -BUILD_DEPENDS="gtk+-dev alsa-lib-dev libmad-dev libogg-dev libvorbis-dev flac-dev" +BUILD_DEPENDS="gtk+-dev alsa-lib-dev libmad-dev libogg-dev libvorbis-dev" + +# Handle cross compilation. +case "$ARCH" in + i?86) BUILD_DEPENDS="$BUILD_DEPENDS flac-dev" ;; +esac # Rules to configure and make the package. compile_rules() { - cd $src ./configure \ - --enable-nls \ - --prefix=/usr \ - --infodir=/usr/share/info \ - --mandir=/usr/share/man \ --enable-gtk2 \ --enable-flac \ --disable-jack \ diff -r eaed0faf063c -r 128aae84d74c aspell-dev/receipt --- a/aspell-dev/receipt Thu Apr 03 21:27:40 2014 +0200 +++ b/aspell-dev/receipt Thu Apr 03 22:56:54 2014 +0200 @@ -8,6 +8,7 @@ LICENSE="LGPL2" WEB_SITE="http://aspell.net/" WANTED="aspell" +HOST_ARCH="i486 arm" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() diff -r eaed0faf063c -r 128aae84d74c aspell-en/receipt --- a/aspell-en/receipt Thu Apr 03 21:27:40 2014 +0200 +++ b/aspell-en/receipt Thu Apr 03 22:56:54 2014 +0200 @@ -10,16 +10,16 @@ TARBALL="$SOURCE-$VERSION.tar.bz2" WEB_SITE="ftp://ftp.gnu.org/gnu/aspell/dict/0index.html" WGET_URL="ftp://ftp.gnu.org/gnu/aspell/dict/en/$TARBALL" +HOST_ARCH="i486 arm" DEPENDS="aspell" -BUILD_DEPENDS="aspell aspell-dev" +BUILD_DEPENDS="aspell-dev" # Rules to configure and make the package. compile_rules() { - cd $src - ./configure && \ - make && make DESTDIR=$DESTDIR install + ./configure && + make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r eaed0faf063c -r 128aae84d74c aspell-es/receipt --- a/aspell-es/receipt Thu Apr 03 21:27:40 2014 +0200 +++ b/aspell-es/receipt Thu Apr 03 22:56:54 2014 +0200 @@ -10,16 +10,16 @@ TARBALL="$SOURCE-$VERSION-2.tar.bz2" WEB_SITE="ftp://ftp.gnu.org/gnu/aspell/dict/0index.html" WGET_URL="ftp://ftp.gnu.org/gnu/aspell/dict/es/$TARBALL" +HOST_ARCH="i486 arm" DEPENDS="aspell" -BUILD_DEPENDS="aspell aspell-dev" +BUILD_DEPENDS="aspell-dev" # Rules to configure and make the package. compile_rules() { - cd $src - ./configure && \ - make && make DESTDIR=$DESTDIR install + ./configure && + make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r eaed0faf063c -r 128aae84d74c aspell-fr/receipt --- a/aspell-fr/receipt Thu Apr 03 21:27:40 2014 +0200 +++ b/aspell-fr/receipt Thu Apr 03 22:56:54 2014 +0200 @@ -9,16 +9,16 @@ TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="ftp://ftp.gnu.org/gnu/aspell/dict/0index.html" WGET_URL="ftp://ftp.gnu.org/gnu/aspell/dict/fr/$TARBALL" +HOST_ARCH="i486 arm" DEPENDS="aspell" -BUILD_DEPENDS="aspell aspell-dev" +BUILD_DEPENDS="aspell-dev" # Rules to configure and make the package. compile_rules() { - cd $src ./configure && - make && make DESTDIR=$DESTDIR install + make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r eaed0faf063c -r 128aae84d74c aspell-pt_BR/receipt --- a/aspell-pt_BR/receipt Thu Apr 03 21:27:40 2014 +0200 +++ b/aspell-pt_BR/receipt Thu Apr 03 22:56:54 2014 +0200 @@ -10,16 +10,16 @@ TARBALL="$SOURCE-$VERSION.tar.bz2" WEB_SITE="ftp://ftp.gnu.org/gnu/aspell/dict/0index.html" WGET_URL="ftp://ftp.gnu.org/gnu/aspell/dict/pt_BR/$TARBALL" +HOST_ARCH="i486 arm" DEPENDS="aspell" -BUILD_DEPENDS="aspell aspell-dev" +BUILD_DEPENDS="aspell-dev" # Rules to configure and make the package. compile_rules() { - cd $src - ./configure && \ - make && make DESTDIR=$DESTDIR install + ./configure && + make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r eaed0faf063c -r 128aae84d74c aspell/receipt --- a/aspell/receipt Thu Apr 03 21:27:40 2014 +0200 +++ b/aspell/receipt Thu Apr 03 22:56:54 2014 +0200 @@ -10,30 +10,25 @@ WEB_SITE="http://aspell.net/" WGET_URL="ftp://ftp.gnu.org/gnu/aspell/$TARBALL" TAGS="spell check" +HOST_ARCH="i486 arm" -DEPENDS="ncurses gcc-lib-base" +DEPENDS="ncursesw" +BUILD_DEPENDS="ncursesw-dev" # 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=$DESTDIR install + ./configure $CONFIGURE_ARGS && \ + make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib $fs/usr/share/locale + mkdir -p $fs/usr/lib cp -a $install/usr/bin $fs/usr cp -a $install/usr/lib/*.so* $fs/usr/lib cp -a $install/usr/lib/aspell* $fs/usr/lib - - for i in de es pt_BR; do - cp -a $install/usr/share/locale/$i $fs/usr/share/locale - done - # Remove unneeded files rm -f $fs/usr/lib/aspell*/*.*a } diff -r eaed0faf063c -r 128aae84d74c clearlooks/receipt --- a/clearlooks/receipt Thu Apr 03 21:27:40 2014 +0200 +++ b/clearlooks/receipt Thu Apr 03 22:56:54 2014 +0200 @@ -9,6 +9,7 @@ TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://clearlooks.sourceforge.net/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" +HOST_ARCH="i486 arm" DEPENDS="gtk+ xorg-libXdamage" BUILD_DEPENDS="pkg-config file gtk+-dev" @@ -16,14 +17,9 @@ # 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=$DESTDIR install + make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r eaed0faf063c -r 128aae84d74c enchant-dev/receipt --- a/enchant-dev/receipt Thu Apr 03 21:27:40 2014 +0200 +++ b/enchant-dev/receipt Thu Apr 03 22:56:54 2014 +0200 @@ -8,8 +8,7 @@ LICENSE="LGPL2.1" WANTED="enchant" WEB_SITE="http://www.abisource.com/projects/enchant/" - -DEPENDS="pkg-config" +HOST_ARCH="i486 arm" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() diff -r eaed0faf063c -r 128aae84d74c enchant/receipt --- a/enchant/receipt Thu Apr 03 21:27:40 2014 +0200 +++ b/enchant/receipt Thu Apr 03 22:56:54 2014 +0200 @@ -11,20 +11,17 @@ WEB_SITE="http://www.abisource.com/projects/enchant/" WGET_URL="http://www.abisource.com/downloads/enchant/$VERSION/$TARBALL" TAGS="spell check" +HOST_ARCH="i486 arm" DEPENDS="dbus dbus-glib glib gcc-lib-base" -BUILD_DEPENDS="pkg-config glib glib-dev aspell aspell-dev" +BUILD_DEPENDS="pkg-config glib glib-dev aspell-dev" # Rules to configure and make the package. compile_rules() { - cd $src ./configure \ - --prefix=/usr \ - --mandir=/usr/share/man \ $CONFIGURE_ARGS && - make && - make DESTDIR=$DESTDIR install + make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r eaed0faf063c -r 128aae84d74c geany-dev/receipt --- a/geany-dev/receipt Thu Apr 03 21:27:40 2014 +0200 +++ b/geany-dev/receipt Thu Apr 03 22:56:54 2014 +0200 @@ -8,8 +8,7 @@ LICENSE="GPL2" WANTED="geany" WEB_SITE="http://geany.uvena.de/" - -DEPENDS="pkg-config" +HOST_ARCH="i486 arm" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() diff -r eaed0faf063c -r 128aae84d74c geany-doc/receipt --- a/geany-doc/receipt Thu Apr 03 21:27:40 2014 +0200 +++ b/geany-doc/receipt Thu Apr 03 22:56:54 2014 +0200 @@ -8,6 +8,7 @@ LICENSE="GPL2" WANTED="geany" WEB_SITE="http://geany.uvena.de/" +HOST_ARCH="i486 arm" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() diff -r eaed0faf063c -r 128aae84d74c geany-plugins/receipt --- a/geany-plugins/receipt Thu Apr 03 21:27:40 2014 +0200 +++ b/geany-plugins/receipt Thu Apr 03 22:56:54 2014 +0200 @@ -9,50 +9,51 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://plugins.geany.org/" WGET_URL="$WEB_SITE/$PACKAGE/$TARBALL" +#HOST_ARCH="i486 arm" DEPENDS="enchant gtkspell geany lua" -BUILD_DEPENDS="gtkspell-dev geany-dev lua-dev intltool libxml2-dev vte-dev " +BUILD_DEPENDS="gtkspell-dev geany-dev lua-dev libxml2-dev" # Rules to configure and make the package. compile_rules() { - cd $src - ./configure --libexecdir=/usr/lib \ - --enable-addons \ ---enable-codenav \ ---enable-commander \ ---enable-debugger \ ---disable-devhelp \ ---enable-geanydoc \ ---disable-geanyextrasel \ ---disable-geanygendoc \ ---disable-geanyinsertnum \ ---disable-geanylatex \ ---disable-geanylipsum \ ---disable-geanylua \ ---disable-geanymacro \ ---disable-geanyminiscript \ ---disable-geanynumberedbookmarks \ ---disable-geanyprj \ ---disable-geanysendmail \ ---enable-geanyvc \ ---disable-geanypg \ ---disable-largefile \ ---disable-geniuspaste \ ---disable-gproject \ ---disable-markdown \ ---disable-peg-markdown \ ---disable-multiterm \ ---disable-pretty_printer \ ---disable-scope \ ---disable-shiftcolumn \ ---disable-spellcheck \ ---enable-treebrowser \ ---disable-tableconvert \ ---disable-updatechecker \ ---disable-webhelper \ ---disable-xmlsnippets \ - $CONFIGURE_ARGS && + ./configure \ + --libexecdir=/usr/lib \ + --enable-addons \ + --enable-codenav \ + --enable-commander \ + --enable-debugger \ + --disable-devhelp \ + --enable-geanydoc \ + --enable-treebrowser \ + --enable-geanyvc \ + --disable-geanyextrasel \ + --disable-geanygendoc \ + --disable-geanyinsertnum \ + --disable-geanylatex \ + --disable-geanylipsum \ + --disable-geanylua \ + --disable-geanymacro \ + --disable-geanyminiscript \ + --disable-geanynumberedbookmarks \ + --disable-geanyprj \ + --disable-geanysendmail \ + --disable-geanypg \ + --disable-largefile \ + --disable-geniuspaste \ + --disable-gproject \ + --disable-markdown \ + --disable-peg-markdown \ + --disable-multiterm \ + --disable-pretty_printer \ + --disable-scope \ + --disable-shiftcolumn \ + --disable-spellcheck \ + --disable-tableconvert \ + --disable-updatechecker \ + --disable-webhelper \ + --disable-xmlsnippets \ + $CONFIGURE_ARGS ${ARCH_ARGS} && make && make install } diff -r eaed0faf063c -r 128aae84d74c geany/receipt --- a/geany/receipt Thu Apr 03 21:27:40 2014 +0200 +++ b/geany/receipt Thu Apr 03 22:56:54 2014 +0200 @@ -10,22 +10,28 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://geany.uvena.de/" WGET_URL="http://download.geany.org/$TARBALL" +HOST_ARCH="i486 arm" DEPENDS="glibc-base glib gcc-lib-base libgio expat zlib libxcb xcb-util \ -gtk+ atk cairo pango pixman libpng fontconfig freetype \ -xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage \ +gtk+ atk cairo pango pixman libpng fontconfig freetype xorg-libX11 \ +xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage \ xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender" -BUILD_DEPENDS="glib-dev expat-dev gtk+-dev atk-dev pango-dev cairo-dev pixman-dev \ -libpng-dev freetype-dev fontconfig-dev perl-xml-parser intltool gettext \ -xorg-libXrender-dev xorg-xproto xorg-renderproto xorg-libX11-dev \ -xorg-kbproto xorg-libXau-dev xorg-libXdmcp-dev glibc-locale libxml2-dev" +BUILD_DEPENDS="glib-dev expat-dev gtk+-dev atk-dev pango-dev cairo-dev \ +pixman-dev libpng-dev freetype-dev fontconfig-dev xorg-libXrender-dev \ +xorg-xproto xorg-renderproto xorg-libX11-dev xorg-kbproto xorg-libXau-dev \ +xorg-libXdmcp-dev libxml2-dev" + +# Handle cross compilation. +case "$ARCH" in + i?86) BUILD_DEPENDS="$BUILD_DEPENDS perl-xml-parser intltool gettext glibc-locale" ;; + arm*) ARCH_ARGS="--disable-vte" ;; +esac # Rules to configure and make the package. -# Without vte : --disable-vte compile_rules() { - cd $src - ./configure $CONFIGURE_ARGS && + ./configure \ + ${CONFIGURE_ARGS} ${ARCH_ARGS} && make && make install } diff -r eaed0faf063c -r 128aae84d74c gtkspell-dev/receipt --- a/gtkspell-dev/receipt Thu Apr 03 21:27:40 2014 +0200 +++ b/gtkspell-dev/receipt Thu Apr 03 22:56:54 2014 +0200 @@ -8,6 +8,7 @@ LICENSE="GPL2" WEB_SITE="http://gtkspell.sourceforge.net" WANTED="gtkspell" +HOST_ARCH="i486 arm" DEPENDS="enchant-dev gtk+-dev gtkspell pkg-config" diff -r eaed0faf063c -r 128aae84d74c gtkspell/receipt --- a/gtkspell/receipt Thu Apr 03 21:27:40 2014 +0200 +++ b/gtkspell/receipt Thu Apr 03 22:56:54 2014 +0200 @@ -9,20 +9,17 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://gtkspell.sourceforge.net" WGET_URL="$WEB_SITE/download/$TARBALL" +HOST_ARCH="i486 arm" DEPENDS="enchant gtk+ cairo" -BUILD_DEPENDS="enchant enchant-dev gtk+-dev pkg-config intltool expat-dev" +BUILD_DEPENDS="enchant-dev gtk+-dev pkg-config expat-dev" # 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=$DESTDIR install + make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r eaed0faf063c -r 128aae84d74c leafpad/receipt --- a/leafpad/receipt Thu Apr 03 21:27:40 2014 +0200 +++ b/leafpad/receipt Thu Apr 03 22:56:54 2014 +0200 @@ -9,25 +9,21 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://tarot.freeshell.org/leafpad/" WGET_URL="http://savannah.nongnu.org/download/$PACKAGE/$TARBALL" +HOST_ARCH="i486 arm" DEPENDS="gtk+ xorg-libXdamage" -BUILD_DEPENDS="pkg-config gtk+-dev xorg-libXrender-dev xorg-xproto intltool" +BUILD_DEPENDS="gtk+-dev xorg-libXrender-dev xorg-xproto" # Rules to configure and make the package. compile_rules() { - cd $src - chmod +x install-sh - ./configure \ - --prefix=/usr \ - --infodir=/usr/share/info \ - --mandir=/usr/share/man \ - --disable-print \ - $CONFIGURE_ARGS && - make && - make DESTDIR=$DESTDIR install && - # no xpm (5 ko) - rm $DESTDIR/usr/share/pixmaps/*.xpm + chmod +x install-sh + ./configure \ + --disable-print \ + $CONFIGURE_ARGS && + make && make install && + # no xpm (5 ko) + rm $DESTDIR/usr/share/pixmaps/*.xpm } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r eaed0faf063c -r 128aae84d74c pango/receipt --- a/pango/receipt Thu Apr 03 21:27:40 2014 +0200 +++ b/pango/receipt Thu Apr 03 22:56:54 2014 +0200 @@ -54,6 +54,6 @@ { echo "Processing post-install commands..." # Rebuilds pango.modules when installed. - chroot $root/ /usr/bin/pango-querymodules > $root/etc/pango/pango.modules + chroot $1/ /usr/bin/pango-querymodules > /etc/pango/pango.modules }