# HG changeset patch # User Xander Ziiryanoff # Date 1507799292 -7200 # Node ID 9415addc582db099332a0210f6281cbb2e740a0b # Parent 9e45f21b394674c115b4ed1582b776860d543050 netsurf-sdl, qedit, mupdf : add desktop files diff -r 9e45f21b3946 -r 9415addc582d avrdude/receipt --- a/avrdude/receipt Wed Oct 11 21:57:55 2017 +0200 +++ b/avrdude/receipt Thu Oct 12 11:08:12 2017 +0200 @@ -11,7 +11,7 @@ WGET_URL="http://download.savannah.gnu.org/releases/$PACKAGE/$TARBALL" DEPENDS="libftdi libusb-compat libusb readline elfutils" -BUILD_DEPENDS="$DEPENDS libusb-compat-dev libusb-dev libftdi-dev" +BUILD_DEPENDS="$DEPENDS libusb-compat-dev libusb-dev libftdi-dev elfutils-dev" # Rules to configure and make the package. compile_rules() diff -r 9e45f21b3946 -r 9415addc582d mupdf/stuff/mupdf.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mupdf/stuff/mupdf.desktop Thu Oct 12 11:08:12 2017 +0200 @@ -0,0 +1,7 @@ +[Desktop Entry] +Type=Application +Name=Mupdf-x11 +Exec=sh -c '[ -z %f ] && ( fi=$(yad --file --height=600 --width=800 --center --file-filter="*.pdf" ) ; mupdf-x11 $fi ) || mupdf-x11 %f ' +Icon=epdfview +Categories=Office;Viewer; +MimeType=application/pdf; diff -r 9e45f21b3946 -r 9415addc582d netsurf-sdl/stuff/netsurf-sdl.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/netsurf-sdl/stuff/netsurf-sdl.desktop Thu Oct 12 11:08:12 2017 +0200 @@ -0,0 +1,7 @@ +[Desktop Entry] +Name=NetSurf SDL +Type=Application +Categories=Network; +MimeType=text/html;application/xhtml+xml; +Exec=netsurf %u +Icon=netsurf diff -r 9e45f21b3946 -r 9415addc582d ponyprog-qt/receipt --- a/ponyprog-qt/receipt Wed Oct 11 21:57:55 2017 +0200 +++ b/ponyprog-qt/receipt Thu Oct 12 11:08:12 2017 +0200 @@ -10,21 +10,30 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/lancos/ponyprog/archive/v${VERSION}.tar.gz" -DEPENDS="libQtGui gcc49-lib-base" -BUILD_DEPENDS="Qt4-dev qmake cmake gcc49" +EXTRA_SOURCE_FILES="qhexedit2-5f3ca79.tar.gz" +WGET_URL2="https://github.com/lancos/qhexedit2/archive/5f3ca79.tar.gz" + +DEPENDS="libQtGui" +BUILD_DEPENDS="Qt4-dev qmake cmake" # Rules to configure and make the package. compile_rules() { - export LD_LIBRARY_PATH="/usr/libgcc49:$LD_LIBRARY_PATH" - export CXX=/usr/bin/i486-slitaz-linux-g++-49 - export CC=/usr/bin/i486-slitaz-linux-gcc-49 + [ -s $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES ] || \ + wget -O $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES $WGET_URL2 + busybox tar -xf $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES + rm -rf qhexedit2 + mv -f qhexedit2-* qhexedit2 + sed 's|c++11|c++0x|g' -i ponyprog.pro Makefile CMakeLists.txt - qmake && make && make install + qmake && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - cp -a $install/* $fs + mkdir -p $fs/usr/bin $fs/usr/share/applications + cp -a $src/build/ponyprog $fs/usr/bin + cp -a $src/desktop/*.desktop $fs/usr/share/applications + chown -r root:root $fs } diff -r 9e45f21b3946 -r 9415addc582d qedit/stuff/qedit.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/qedit/stuff/qedit.desktop Thu Oct 12 11:08:12 2017 +0200 @@ -0,0 +1,5 @@ +[Desktop Entry] +Type=Application +Name=qedit +Exec=qedit +Categories=Development;TextEditor; \ No newline at end of file