diff --git a/office/misc/chmlib/actions.py b/office/misc/chmlib/actions.py new file mode 100644 index 0000000000..86d45ba089 --- /dev/null +++ b/office/misc/chmlib/actions.py @@ -0,0 +1,20 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools + +def setup(): + autotools.configure("--disable-static \ + --enable-examples") + +def build(): + autotools.make() + +def install(): + autotools.install() + + pisitools.dodoc("AUTHORS", "README", "COPYING", "NEWS") diff --git a/office/misc/chmlib/pspec.xml b/office/misc/chmlib/pspec.xml new file mode 100644 index 0000000000..032ed024df --- /dev/null +++ b/office/misc/chmlib/pspec.xml @@ -0,0 +1,55 @@ + + + + + chmlib + http://www.jedrea.com/chmlib/ + + PisiLinux Community + admins@pisilinux.org + + LGPLv2.1 + library + app:console + A library for dealing with Microsoft ITSS/CHM format files + Chmlib is a library for dealing with Microsoft ITSS/CHM format files. Right now, it is a very simple library, but sufficient for dealing with all of the .chm files. + http://www.jedrea.com/chmlib/chmlib-0.40.tar.bz2 + + + + chmlib + + /usr/lib + /usr/bin + /usr/share/doc + + + + + chmlib-devel + Development files for chmlib + + chmlib + + + /usr/include + + + + + + 2014-01-20 + 0.40 + Rebuild + Stefan Gronewold(groni) + groni@pisilinux.org + + + 2010-10-13 + 0.40 + First release + Pisi Linux Admins + admins@pisilinux.org + + + diff --git a/office/misc/chmlib/translations.xml b/office/misc/chmlib/translations.xml new file mode 100644 index 0000000000..843768af52 --- /dev/null +++ b/office/misc/chmlib/translations.xml @@ -0,0 +1,15 @@ + + + + chmlib + Microsoft ITSS/CHM tipindeki dosyalar için gereken kütüphane + Chmlib, Microsoft ITSS/CHM tipindeki dosyalar için gereken bir kütüphanedir. Şimdilik çok basit bir kütüphanedir ancak tüm .chm dosyalarına erişmek konusunda başarılıdır. + Chmlib est une librairie s'occupant des formats de fichiers Microsoft ITSS/CHM. Pour l'instant, il s'agit d'une librairie toute simple, mais suffisante pour gérer tout les fichiers .chm. + Chmlib es una librería para manejar archivos del formato Microsoft ITSS/CHM. Actualmente es una librería muy simple, pero suficiente para manejar todo tipo de archivos .chm. + + + + chmlib-devel + chmlib için geliştirme dosyaları + + diff --git a/office/misc/djvu/actions.py b/office/misc/djvu/actions.py new file mode 100644 index 0000000000..82b91a4274 --- /dev/null +++ b/office/misc/djvu/actions.py @@ -0,0 +1,34 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +WorkDir = "djvulibre-%s" % get.srcVERSION() if len(get.srcVERSION().split(".")) < 4 else "djvulibre-%s" % get.srcVERSION()[:get.srcVERSION().rfind(".")] + +def setup(): + autotools.aclocal("-I config") + autotools.autoconf("-f") + + autotools.configure("--enable-threads \ + --disable-desktopfiles \ + --enable-xmltools \ + --enable-i18n \ + --with-jpeg \ + --with-tiff") +def build(): + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.insinto("/usr/share/mime/packages", "desktopfiles/djvulibre-mime.xml") + + for size in ["22", "32", "48", "64"]: + pisitools.insinto("/usr/share/icons/hicolor/%sx%s/mimetypes" %(size, size), "desktopfiles/prebuilt-hi%s-djvu.png" % size, "image-vnd.djvu.png") + + pisitools.dodoc("COPY*", "README", "NEWS") diff --git a/office/misc/djvu/files/djvulibre-3.5.22-cdefs.patch b/office/misc/djvu/files/djvulibre-3.5.22-cdefs.patch new file mode 100644 index 0000000000..d62ef08eab --- /dev/null +++ b/office/misc/djvu/files/djvulibre-3.5.22-cdefs.patch @@ -0,0 +1,12 @@ +diff -up djvulibre-3.5.22/libdjvu/GSmartPointer.h.cdefs djvulibre-3.5.22/libdjvu/GSmartPointer.h +--- djvulibre-3.5.22/libdjvu/GSmartPointer.h.cdefs 2008-03-05 01:44:20.000000000 +0000 ++++ djvulibre-3.5.22/libdjvu/GSmartPointer.h 2011-01-31 13:43:37.595917364 +0000 +@@ -65,6 +65,8 @@ + # pragma interface + #endif + ++#include ++ + /** @name GSmartPointer.h + + Files #"GSmartPointer.h"# and #"GSmartPointer.cpp"# define a smart-pointer diff --git a/office/misc/djvu/files/no-pthread.diff b/office/misc/djvu/files/no-pthread.diff new file mode 100644 index 0000000000..b9845b23be --- /dev/null +++ b/office/misc/djvu/files/no-pthread.diff @@ -0,0 +1,13 @@ +Index: djvulibre-3.5.22/config/acinclude.m4 +=================================================================== +--- djvulibre-3.5.22.orig/config/acinclude.m4 ++++ djvulibre-3.5.22/config/acinclude.m4 +@@ -408,7 +408,7 @@ case "${host_os}-${GCC}" in + # On Linux/GCC, libtool uses -nostdlib for linking, which cancel part + # of the -pthread flag effect (libpthread is not automatically linked). + # So we'll try to link with both -pthread and -lpthread first: +- acx_pthread_flags="-pthread:pthread $acx_pthread_flags" ++ acx_pthread_flags="-lpthread -pthread:pthread $acx_pthread_flags" + ;; + esac + if test x"$acx_pthread_ok" = xno; then diff --git a/office/misc/djvu/pspec.xml b/office/misc/djvu/pspec.xml new file mode 100644 index 0000000000..35118c4916 --- /dev/null +++ b/office/misc/djvu/pspec.xml @@ -0,0 +1,84 @@ + + + + + djvu + http://djvu.sourceforge.net + + PisiLinux Community + admins@pisilinux.org + + GPLv2 + app:gui + library + DjVu viewers, encoders and utilities + DjVu is a web-centric format and software platform to distribute documents and images. + mirrors://sourceforge/djvu/djvulibre-3.5.27.tar.gz + + libjpeg-turbo-devel + tiff-devel + xdg-utils + libXt-devel + + + no-pthread.diff + djvulibre-3.5.22-cdefs.patch + + + + + djvu + + shared-mime-info + libjpeg-turbo + tiff + + + /usr/bin + /usr/lib + /usr/share/icons + /usr/share/applications + /usr/share/djvu + /usr/share/mime + /opt/netscape + /usr/share/doc + /usr/share/man + + + + + djvu-devel + Development files for djvu + + djvu + + + /usr/include + /usr/lib/pkgconfig + + + + + + 2015-11-02 + 3.5.27 + Version Bump. + Stefan Gronewold(groni) + groni@pisilinux.org + + + 2014-01-22 + 3.5.25.3 + Rebuild + Stefan Gronewold(groni) + groni@pisilinux.org + + + 2012-10-21 + 3.5.25.3 + First release + Marcin Bojara + marcin@pisilinux.org + + + \ No newline at end of file diff --git a/office/misc/djvu/translations.xml b/office/misc/djvu/translations.xml new file mode 100644 index 0000000000..3ac92063a3 --- /dev/null +++ b/office/misc/djvu/translations.xml @@ -0,0 +1,13 @@ + + + + djvu + DjVu görüntüleyicileri, sıkıştırıcı ve ekipmanları + Belgeleri, kitapları bilinen formatlardan çok daha yüksek sıkıştırma oranlarında sıkıştıran DjVu formatı ekipmanları. + + + + djvu-devel + djvu için geliştirme dosyaları + +