# HG changeset patch # User Hans-G?nter Theisgen # Date 1558258855 -3600 # Node ID a6d601cd1930853dca60b164a36cc4f46411d33b # Parent 06a20620a23301e3c40bad1e6b7fab7b879acbbc created package qdirstat (thanks Xavier) diff -r 06a20620a233 -r a6d601cd1930 qdirstat/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/qdirstat/receipt Sun May 19 10:40:55 2019 +0100 @@ -0,0 +1,35 @@ +# SliTaz package receipt. + +PACKAGE="qdirstat" +VERSION="1.5" +CATEGORY="base-system" +SHORT_DESC="Tools for inspecting and visualizing disk usage." +MAINTAINER="xavileonf@gmail.com" +LICENSE="LGPL3" +WEB_SITE="https://github.com/shundhammer/qdirstat/" + +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="https://github.com/shundhammer/$PACKAGE/archive/$VERSION/$TARBALL" + +DEPENDS="qt4" +BUILD_DEPENDS="Qt4-dev qmake" + +# Rules to configure and make the package. +compile_rules() +{ + export QMAKESPC=/usr/share/qt/mkspecs/linux-g++ + patch --strip=1 --input=$stuff/patches/qdirstat-1.5.patch && + qmake INSTALL_PREFIX=$DESTDIR/usr && + make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share + + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/share/man $fs/usr/share + cp -a $install/usr/share/icons $fs/usr/share + cp -a $install/usr/share/applications $fs/usr/share +} diff -r 06a20620a233 -r a6d601cd1930 qdirstat/stuff/patches/qdirstat-1.5.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/qdirstat/stuff/patches/qdirstat-1.5.patch Sun May 19 10:40:55 2019 +0100 @@ -0,0 +1,94 @@ +--- a/src/DataColumns.h ++++ b/src/DataColumns.h +@@ -186,39 +186,12 @@ + **/ + DataColumns(); + +- + // Data members + + static DataColumns * _instance; + DataColumnList _columns; + + }; // class DataColumns +- +- +- /** +- * Print a DataColumn in text form to a debug stream. +- **/ +- inline QTextStream & operator<< ( QTextStream & stream, DataColumn col ) +- { +- stream << DataColumns::toString( col ); +- +- return stream; +- } +- +- +- /** +- * Print a DataColumn in text form to a debug stream. +- **/ +- inline QTextStream & operator<< ( QTextStream & stream, +- const DataColumnList & colList ) +- { +- stream << "[ " +- << DataColumns::toStringList( colList ).join( ", " ) +- << " ]"; +- +- return stream; +- } +- + + } // namespace QDirStat + +--- a/src/DataColumns.cpp ++++ b/src/DataColumns.cpp +@@ -13,8 +13,31 @@ + #include "Logger.h" + #include "Exception.h" + + using namespace QDirStat; + ++ /** ++ * Print a DataColumn in text form to a debug stream. ++ **/ ++ inline QTextStream & operator<< ( QTextStream & stream, DataColumn col ) ++ { ++ stream << DataColumns::toString( col ); ++ ++ return stream; ++ } ++ ++ ++ /** ++ * Print a DataColumn in text form to a debug stream. ++ **/ ++ inline QTextStream & operator<< ( QTextStream & stream, ++ const DataColumnList & colList ) ++ { ++ stream << "[ " ++ << DataColumns::toStringList( colList ) //.join( ", " ) ++ << " ]"; ++ ++ return stream; ++ } + + DataColumns * DataColumns::_instance = 0; + +--- a/man/man.pro ++++ b/man/man.pro +@@ -7,13 +7,13 @@ + + MAN_SRC = $$files( *.1 ) + MAN_TARGET = $$MAN_SRC +-MAN_TARGET ~= s/.1$/.1.gz/g ++#MAN_TARGET ~= s/.1$/.1.gz/g + + # message(src: $$MAN_SRC) + # message(target: $$MAN_TARGET) + + man.files = $$MAN_TARGET +-man.commands = gzip --keep --force $$MAN_SRC ++#man.commands = gzip --keep --force $$MAN_SRC + man.path = $$INSTALL_PREFIX/share/man/man1 + + INSTALLS += man diff -r 06a20620a233 -r a6d601cd1930 wesnoth/receipt.old --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wesnoth/receipt.old Sun May 19 10:40:55 2019 +0100 @@ -0,0 +1,64 @@ +# SliTaz package receipt. + +PACKAGE="wesnoth" +VERSION="1.10.3" +CATEGORY="games" +SHORT_DESC="Turn based strategy game" +MAINTAINER="mimas@slitaz.org" +LICENSE="GPL2" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://www.wesnoth.org/" +WGET_URL="$SF_MIRROR/wesnoth/$TARBALL" +TAGS="strategy" + +DEPENDS="libsdl libsdl-mixer libsdl-ttf libsdl-net libsdl-image zlib pango \ +cairo fontconfig libboost-regex libboost-iostreams libpng fribidi gcc-lib-base \ +xcb-util libboost-system libboost-program-options" +BUILD_DEPENDS="cairo-dev pango-dev libboost-regex-dev libboost-iostreams-dev libsdl-dev libsdl-mixer-dev libsdl-ttf-dev \ +libsdl-ttf libsdl-image-dev libsdl-net-dev libpng-dev freetype-dev fontconfig-dev findutils \ +lua-dev libboost-serialization-dev autoconf automake fribidi-dev \ +libboost-system-dev libboost-program-options-dev cmake" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + cmake -DCMAKE_INSTALL_PREFIX=/usr . + make $MAKEFLAGS && make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + # programs + mkdir -p $fs/usr/bin + cp $install/usr/bin/wesnoth $fs/usr/bin/ + + # data + mkdir -p $fs/usr/share/wesnoth/ + cp -a $install/usr/share/wesnoth/data $fs/usr/share/wesnoth/ + cp -a $install/usr/share/wesnoth/fonts $fs/usr/share/wesnoth/ + cp -a $install/usr/share/wesnoth/images $fs/usr/share/wesnoth/ + cp -a $install/usr/share/wesnoth/sounds $fs/usr/share/wesnoth/ + + mkdir $fs/usr/share/wesnoth/translations + if [ ! "$LOCALE" = "" ]; then + for i in $LOCALE + do + cp -a $install/usr/share/wesnoth/translations/$i \ + $fs/usr/share/wesnoth/translations + done + else + cp -a $install/usr/share/wesnoth/translations \ + $fs/usr/share/wesnoth/ + fi + + # Remove music + rm $fs/usr/share/wesnoth/data/core/music/*.ogg 2> /dev/null + + # finalize + cp -a $install/usr/share/applications $fs/usr/share + cp -a $install/usr/share/pixmaps $fs/usr/share + +} +