From 057df0fc76d63a2b6442a6cc98243c9591f13936 Mon Sep 17 00:00:00 2001 From: milisman Date: Wed, 20 Jul 2016 10:40:29 +0000 Subject: [PATCH] fbida.paketlendi --- talimatname/genel/fbida/ida-desktop.patch | 17 +++++++++++++++++ talimatname/genel/fbida/talimat | 22 ++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 talimatname/genel/fbida/ida-desktop.patch create mode 100644 talimatname/genel/fbida/talimat diff --git a/talimatname/genel/fbida/ida-desktop.patch b/talimatname/genel/fbida/ida-desktop.patch new file mode 100644 index 000000000..8440e4cb3 --- /dev/null +++ b/talimatname/genel/fbida/ida-desktop.patch @@ -0,0 +1,17 @@ +--- desktop/ida.desktop~ 2008-08-28 00:33:58.000000000 +0200 ++++ desktop/ida.desktop 2008-08-28 00:33:58.000000000 +0200 +@@ -1,9 +1,10 @@ + [Desktop Entry] + Type=Application +-Encoding=UTF-8 + Name=ida + GenericName=Image Viewer ++Comment=Image Viewer + Exec=ida %F +-Terminal=no +-Categories=Motif;Graphics;Viewer +-MimeType=image/jpeg;image/tiff;image/png ++Terminal=false ++Categories=Motif;Graphics;Viewer; ++MimeType=image/jpeg;image/tiff;image/png; ++Icon=ida diff --git a/talimatname/genel/fbida/talimat b/talimatname/genel/fbida/talimat new file mode 100644 index 000000000..e0df87f83 --- /dev/null +++ b/talimatname/genel/fbida/talimat @@ -0,0 +1,22 @@ +# Description: Image and pdf viewer for framebuffer +# URL: http://linux.bytesex.org/fbida/ +# Packager: milisarge +# Depends on: lesstif libpng libexif xorg-fontconfig giflib imagemagick xorg-libxpm desktop-file-utils + +name=fbida +version=2.10 +release=1 +source=(http://dl.bytesex.org/releases/fbida/$name-$version.tar.gz + ida-desktop.patch) + +build() { + cd $name-$version + sed -i 's/ungif/gif/' GNUmakefile + patch -p0 -i $SRC/ida-desktop.patch + echo 2.10 > VERSION + make verbose=yes + convert -resize 25% logo.jpg ida.png + make STRIP="" DESTDIR=$PKG prefix=/usr install + install -D -m644 desktop/ida.desktop $PKG/usr/share/applications/ida.desktop" + install -D -m644 ida.png $PKG/usr/share/pixmaps/ida.png" +}