debian/0000775000000000000000000000000012267505644007203 5ustar debian/patches/0000755000000000000000000000000012267505644010630 5ustar debian/patches/debian-changes0000644000000000000000000012643012267505644013411 0ustar Description: TODO: Put a short summary on the line above and replace this paragraph with a longer explanation of this change. Complete the meta-information with other relevant fields (see below for details). To make it easier, the information below has been extracted from the changelog. Adjust it or drop it. . minidjvu (0.8.svn.2010.05.06+dfsg-3) unstable; urgency=low . * bump policy version * update packaging repo URLs * remove dependency alternatives libtiff{5,4}-dev (closes: #736031) Author: Barak A. Pearlmutter Bug-Debian: http://bugs.debian.org/736031 --- The information above should follow the Patch Tagging Guidelines, please checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add: Origin: , Bug: Bug-Debian: http://bugs.debian.org/ Bug-Ubuntu: https://launchpad.net/bugs/ Forwarded: Reviewed-By: Last-Update: --- minidjvu-0.8.svn.2010.05.06+dfsg.orig/INSTALL +++ minidjvu-0.8.svn.2010.05.06+dfsg/INSTALL @@ -1,8 +1,14 @@ -USUAL INSTALLATION +USUAL AUTOTOOLS-BASED INSTALLATION __________________ Check that development package of libtiff is installed. -Run "make". Then, "make install" will copy bin/minidjvu into /usr/local/bin. +Run: + autoreconf --install + ./configure + make + make install +Will install minidjvu executable into /usr/local/bin/, as well as +various support files, documentation, development files, etc. @@ -27,7 +33,7 @@ The release directory should be treated The library is built from sources in `minidjvu' subdirectory. The program is built from sources in `src' subdirectory. -To enable TIFF support, define HAVE_TIFF to 1, add libtiff include directory +To enable TIFF support, define HAVE_LIBTIFF to 1, add libtiff include directory to the include path, then link against libtiff. @@ -41,7 +47,7 @@ Under Linux, you can always try somethin or, if you want TIFF support, - g++ -DHAVE_TIFF=1 -I. `find -name "*.c*"` -O2 -ltiff -o bin/minidjvu + g++ -DHAVE_LIBTIFF=1 -I. `find -name "*.c*"` -O2 -ltiff -o bin/minidjvu Under MSVC, watch for those __declspec directives in `minidjvu/base/0porting/0porting.h' - if you wish a DLL, turn them on. --- /dev/null +++ minidjvu-0.8.svn.2010.05.06+dfsg/Makefile.am @@ -0,0 +1,45 @@ +ACLOCAL_AMFLAGS = -I m4 + +SUBDIRS = include doc po + +AM_CPPFLAGS = -Iinclude +AM_CPPFLAGS += -D__STRICT_ANSI__ +AM_CPPFLAGS += -DNDEBUG + +WARNFLAGS = -Wall +WARNFLAGS += -Wshadow +WARNFLAGS += -pedantic-errors -Wpointer-arith -Waggregate-return +WARNFLAGS += -Wlong-long -Wredundant-decls -Wcast-qual -Wcast-align +WARNFLAGS += -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations + +AM_CFLAGS = $(WARNFLAGS) +AM_CXXFLAGS = $(WARNFLAGS) + +localedir = $(datadir)/locale +DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ + +lib_LTLIBRARIES = libminidjvu.la + +libminidjvu_la_SOURCES = src/matcher/no_mdjvu.h src/matcher/bitmaps.h \ + src/matcher/common.h src/djvu/bs.h src/jb2/jb2coder.h \ + src/jb2/bmpcoder.h src/jb2/zp.h src/jb2/jb2const.h \ + src/base/mdjvucfg.h src/matcher/cuts.c src/matcher/patterns.c \ + src/matcher/frames.c src/matcher/bitmaps.c src/alg/nosubst.c \ + src/alg/erosion.c src/alg/smooth.c src/alg/delegate.c \ + src/alg/classify.c src/alg/render.c src/alg/clean.c \ + src/alg/adjust_y.c src/alg/blitsort.c src/alg/split.c \ + src/alg/average.c src/alg/compress.c src/djvu/djvuload.c \ + src/djvu/djvusave.c src/djvu/djvuinfo.c src/djvu/iff.c \ + src/image-io/tiffload.c src/image-io/tiff.c src/image-io/pbm.c \ + src/image-io/tiffsave.c src/image-io/bmp.c src/jb2/proto.c \ + src/base/3graymap.c src/base/2io.c src/base/5image.c \ + src/base/4bitmap.c src/base/version.c src/base/6string.c \ + src/base/1error.c src/base/0porting.c src/djvu/djvudir.cpp \ + src/djvu/bs.cpp src/jb2/jb2coder.cpp src/jb2/bmpcoder.cpp \ + src/jb2/jb2load.cpp src/jb2/zp.cpp src/jb2/jb2save.cpp + +bin_PROGRAMS = minidjvu + +minidjvu_SOURCES = tools/minidjvu.c + +minidjvu_LDADD = libminidjvu.la --- minidjvu-0.8.svn.2010.05.06+dfsg.orig/configure.ac +++ minidjvu-0.8.svn.2010.05.06+dfsg/configure.ac @@ -1,215 +1,58 @@ -AC_PREREQ(2.64) +AC_PREREQ([2.67]) AC_INIT([minidjvu],[0.8],[alexios@thessalonica.org.ru]) AC_CONFIG_AUX_DIR(config) AC_CONFIG_HEADER(config.h:config/config.h.in) AC_CONFIG_MACRO_DIR([m4]) AC_PREFIX_DEFAULT(/usr/local) -LIBRARY_VERSION=`echo $PACKAGE_VERSION | sed -e 's/\./:/'` +AM_INIT_AUTOMAKE([subdir-objects foreign]) -AC_CANONICAL_HOST +AC_LANG([C++]) -target="$PACKAGE_NAME" -mdjvulib="lib$PACKAGE_NAME" +LT_INIT -prefer_static='no' -prefer_gettext='yes' -AC_MSG_CHECKING([if we are building for Windows]) -case "$host" in - *-mingw32) - prefer_static='yes' - prefer_gettext='no' - target="$target.exe" - AC_MSG_RESULT(yes) - ;; - *) - AC_MSG_RESULT(no) - ;; -esac - -AC_ARG_ENABLE( - [static], - [ --enable-static Enable static building], - [static=$enableval], - [static=$prefer_static]) - -AC_ARG_ENABLE( - [gettext], - [ --enable-gettext Enable localization via gettext], - [gettext=$enableva], - [gettext=$prefer_gettext]) - -AC_ARG_WITH( - [tiff], - [ --with-tiff Enable static tiff support], - [tiff=$enableval], - [tiff=yes]) - -if test "$static" = "yes"; then - if test "x$LDFLAGS" = "x"; then - LDFLAGS="-static" - fi - mdjvulib="$mdjvulib.a" - oext='o' - SHARED_YES='#' -else - mdjvulib="$mdjvulib.la" - oext='lo' - STATIC_YES='#' -fi - -case "$host" in - *-mingw32) - if test "$static" != "yes"; then - DLLFLAGS="$DLLFLAGS -Wl,--export-all-symbols" - fi - ;; - *-darwin* | *-macos10*) - if test -d /opt/local ; then - INCS="-I/opt/local/include" - LIBS="-L/opt/local/lib $LIBS" - elif test -d /sw ; then - INCS="-I/sw/include $CPPFLAGS" - LIBS="-L/sw/lib $LIBS" - fi - ;; -esac +AM_GNU_GETTEXT([external]) +AM_GNU_GETTEXT_VERSION([0.18.1]) # Checks for programs. - -if test "x$CFLAGS" = "x"; then - CFLAGS="-g -pipe -O3" -fi -AC_PROG_MAKE_SET AC_PROG_CXX +AC_PROG_AWK AC_PROG_CC -LT_INIT +AC_PROG_CPP AC_PROG_INSTALL +AC_PROG_LN_S +AC_PROG_MAKE_SET AC_PATH_PROG(GZIP, gzip) AC_PATH_PROG(RM, rm) -RM="$RM -f" # Checks for libraries. -zlib_ok='no' -dnl Test for libz -AC_CHECK_LIB(z, inflate, - [z_libs="-lz"; zlib_ok='yes']) - -jpeg_ok='no' -AC_CHECK_LIB(jpeg, jpeg_destroy_decompress, - [jpeg_libs="-ljpeg"; jpeg_ok='yes']) +AC_CHECK_LIB(z, inflate) +AC_CHECK_LIB(jpeg, jpeg_destroy_decompress) +AC_CHECK_LIB(tiff, TIFFOpen) # Checks for header files. - -if test "$tiff" != 'no'; then - have_tiff_header='no' - have_libtiff='no' - - if test "$static" != 'yes' || test "$zlib_ok" = 'yes' -a "$jpeg_ok" = 'yes'; then - AC_CHECK_HEADER(tiff.h, have_tiff_header='yes') - AC_CHECK_HEADER(tiffio.h,have_tiff_header='yes',have_tiff_header='no') - if test "$have_tiff_header" = 'yes'; then - saveLIBS="$LIBS" - if test "$static" = 'yes'; then - LIBS="$z_libs $jpeg_libs $LIBS" - fi - - have_libtiff='no' - AC_CHECK_LIB(tiff,TIFFOpen,have_libtiff='yes',have_libtiff='no') - if test "$have_libtiff" != 'no'; then - LIBS="-ltiff $LIBS" - AC_DEFINE(HAVE_TIFF,1,Define if you have TIFF library) - else - LIBS=$saveLIBS - fi - fi - fi - - if test "$have_libtiff" != 'yes'; then - AC_MSG_WARN(*** Native TIFF support will not be included ***) - fi -fi - -PO_YES='#' -if test "$gettext" != 'no'; then - have_intl_header='no' - gettext_ok='no' - needs_lintl='no' - - AC_CHECK_HEADER(libintl.h, have_intl_header='yes') - if test "$have_intl_header" = 'yes'; then - AC_CHECK_FUNC(gettext,gettext_ok='yes') - - if test "$gettext_ok" = 'no'; then - AC_CHECK_LIB(intl,gettext,[gettext_ok='yes'; needs_lintl='yes']) - fi - fi - - iconv_ok='no' - needs_liconv='no' - AC_CHECK_FUNC(iconv, [iconv_ok='yes']) - if test "$iconv_ok" = "no"; then - AC_CHECK_LIB([iconv], [iconv], [iconv_ok='yes'; needs_liconv='yes']) - fi - - AC_CHECK_PROG(MSGFMT, msgfmt, msgfmt) - if test "$MSGFMT" != ""; then - if msgfmt --help 2>&1 | grep illegal >/dev/null ; then - echo "msgfmt isn't GNU version" - MSGFMT="" - fi - fi - - if test "$MSGFMT" != "" -a "$gettext_ok" != "no" -a "$iconv_ok" != "no" ; then - echo "msgfmt, iconv() and gettext() exist; will build i18n support" - AC_DEFINE(HAVE_GETTEXT,,Define if we are building i18n support) - PO_YES='' - if test "$needs_lintl" != "no"; then - intl_libs="-lintl" - LIBS="$intl_libs $LIBS" - fi - if test "$needs_liconv" != "no"; then - iconv_libs="-liconv" - LIBS="$iconv_libs $LIBS" - fi - else - echo "msgfmt and libintl don't both exist; will not build i18n support" - fi -fi - -AC_CHECK_HEADERS([locale.h stdlib.h string.h]) - -AC_SUBST(target) -AC_SUBST(mdjvulib) -AC_SUBST(oext) -AC_SUBST(OPTS) -AC_SUBST(INCS) -AC_SUBST(MSGFMT) -AC_SUBST(LIBRARY_VERSION) -AC_SUBST(DLLFLAGS) -AC_SUBST(PO_YES) -AC_SUBST(STATIC_YES) -AC_SUBST(SHARED_YES) +AC_CHECK_HEADERS([libintl.h locale.h stdint.h stdlib.h string.h]) # Checks for typedefs, structures, and compiler characteristics. AC_HEADER_STDBOOL AC_C_INLINE AC_TYPE_SIZE_T - -CFLAGS="$CFLAGS -Wall -Wshadow" -CFLAGS="$CFLAGS -pedantic-errors -Wpointer-arith -Waggregate-return" -CFLAGS="$CFLAGS -Wlong-long -Wredundant-decls -Wcast-qual -Wcast-align" -DEFS="$DEFS -D__STRICT_ANSI__ -DNDEBUG" -OPTS="-Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations" +AC_TYPE_INT16_T +AC_TYPE_INT32_T +AC_TYPE_SIZE_T +AC_TYPE_UINT16_T +AC_TYPE_UINT32_T # Checks for library functions. AC_FUNC_MALLOC AC_FUNC_REALLOC AC_CHECK_FUNCS([memset pow setlocale strcspn strrchr]) -AC_CONFIG_FILES([Makefile]) -AC_CONFIG_FILES([src/Makefile]) -AC_CONFIG_FILES([tools/Makefile]) -AC_CONFIG_FILES([po/Makefile]) +# Trailer +AC_CONFIG_FILES([Makefile + doc/Makefile + doc/ru/Makefile + include/Makefile + po/Makefile.in]) AC_OUTPUT --- /dev/null +++ minidjvu-0.8.svn.2010.05.06+dfsg/doc/Makefile.am @@ -0,0 +1,5 @@ +SUBDIRS = ru + +dist_man_MANS = minidjvu.1 + +doc_DATA = decode.html encode.html tifftodjvu_help.html --- /dev/null +++ minidjvu-0.8.svn.2010.05.06+dfsg/doc/ru/Makefile.am @@ -0,0 +1,2 @@ +mandir = @mandir@/ru +dist_man_MANS = minidjvu.1 --- /dev/null +++ minidjvu-0.8.svn.2010.05.06+dfsg/include/Makefile.am @@ -0,0 +1,13 @@ +nobase_include_HEADERS = minidjvu/jb2.h minidjvu/alg/classify.h \ + minidjvu/alg/compress.h minidjvu/alg/split.h minidjvu/alg/render.h \ + minidjvu/alg/smooth.h minidjvu/alg/alg.h minidjvu/alg/adjust_y.h \ + minidjvu/alg/clean.h minidjvu/alg/nosubst.h minidjvu/alg/erosion.h \ + minidjvu/alg/blitsort.h minidjvu/alg/delegate.h \ + minidjvu/alg/average.h minidjvu/djvu/iff.h minidjvu/djvu/djvu.h \ + minidjvu/image-io/tiff.h minidjvu/image-io/pbm.h \ + minidjvu/image-io/image-io.h minidjvu/image-io/bmp.h \ + minidjvu/minidjvu.h minidjvu/base/4bitmap.h minidjvu/base/1error.h \ + minidjvu/base/3graymap.h minidjvu/base/0porting.h \ + minidjvu/base/version.h minidjvu/base/6string.h \ + minidjvu/base/5image.h minidjvu/base/base.h minidjvu/base/2io.h \ + minidjvu/matcher.h --- minidjvu-0.8.svn.2010.05.06+dfsg.orig/include/minidjvu/alg/smooth.h +++ minidjvu-0.8.svn.2010.05.06+dfsg/include/minidjvu/alg/smooth.h @@ -4,7 +4,7 @@ /* - * `smooth' is applied to a bitmap even before it's splitted. + * `smooth' is applied to a bitmap even before it is split. * * Right now, the algorithm flips pixels which are surrounded * by at least 3 of 4 neighboring pixels of another color. --- /dev/null +++ minidjvu-0.8.svn.2010.05.06+dfsg/m4/doorjam @@ -0,0 +1 @@ +hold the m4 door open --- /dev/null +++ minidjvu-0.8.svn.2010.05.06+dfsg/po/LINGUAS @@ -0,0 +1 @@ +ru --- /dev/null +++ minidjvu-0.8.svn.2010.05.06+dfsg/po/Makevars @@ -0,0 +1,41 @@ +# Makefile variables for PO directory in any package using GNU gettext. + +# Usually the message domain is the same as the package name. +DOMAIN = $(PACKAGE) + +# These two variables depend on the location of this directory. +subdir = po +top_builddir = .. + +# These options get passed to xgettext. +XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ + +# This is the copyright holder that gets inserted into the header of the +# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding +# package. (Note that the msgstr strings, extracted from the package's +# sources, belong to the copyright holder of the package.) Translators are +# expected to transfer the copyright for their translations to this person +# or entity, or to disclaim their copyright. The empty string stands for +# the public domain; in this case the translators are expected to disclaim +# their copyright. +COPYRIGHT_HOLDER = Ilya Mezhirov and Alexey Kryukov + +# This is the email address or URL to which the translators shall report +# bugs in the untranslated strings: +# - Strings which are not entire sentences, see the maintainer guidelines +# in the GNU gettext documentation, section 'Preparing Strings'. +# - Strings which use unclear terms or require additional context to be +# understood. +# - Strings which make invalid assumptions about notation of date, time or +# money. +# - Pluralisation problems. +# - Incorrect English spelling. +# - Incorrect formatting. +# It can be your email address, or a mailing list address where translators +# can write to without being subscribed, or the URL of a web page through +# which the translators can contact you. +MSGID_BUGS_ADDRESS = alexios@thessalonica.org.ru + +# This is the list of locale categories, beyond LC_MESSAGES, for which the +# message catalogs shall be used. It is usually empty. +EXTRA_LOCALE_CATEGORIES = --- /dev/null +++ minidjvu-0.8.svn.2010.05.06+dfsg/po/POTFILES.in @@ -0,0 +1,5 @@ +# List of source files which contain translatable strings. +src/alg/compress.c +src/base/1error.c +src/base/mdjvucfg.h +tools/minidjvu.c --- minidjvu-0.8.svn.2010.05.06+dfsg.orig/po/ru.po +++ minidjvu-0.8.svn.2010.05.06+dfsg/po/ru.po @@ -6,215 +6,402 @@ msgid "" msgstr "" "Project-Id-Version: Minidjvu 0.8\n" -"Report-Msgid-Bugs-To: Alexey Kryukov \n" -"POT-Creation-Date: 2009-06-27 14:05+0400\n" +"Report-Msgid-Bugs-To: alexios@thessalonica.org.ru\n" +"POT-Creation-Date: 2012-11-14 07:53+0000\n" "PO-Revision-Date: 2009-06-27 14:05+0400\n" "Last-Translator: Alexey Kryukov \n" "Language-Team: Russian \n" +"Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" "X-Poedit-Language: Russian\n" "X-Poedit-Country: RUSSIAN FEDERATION\n" -#: minidjvu.c:92 +#: src/alg/compress.c:154 +msgid "deciding what pieces are letters" +msgstr "выясняем, какие из участков являются буквами" + +#: src/alg/compress.c:157 +msgid "sorting blits" +msgstr "сортировка блитов" + +#: src/alg/compress.c:159 +msgid "sorting bitmaps" +msgstr "сортировка картинок" + +#: src/alg/compress.c:164 +msgid "matching patterns" +msgstr "сопоставление с образцами" + +#: src/alg/compress.c:167 +msgid "adjusting substitution coordinates" +msgstr "уточняются координаты подстановки" + +#: src/alg/compress.c:170 +msgid "removing unused bitmaps" +msgstr "удаление неиспользуемых картинок" + +#: src/alg/compress.c:175 #, c-format -msgid "Cannot generate a unique name for %s\n" -msgstr "Не удалось создать уникальное имя для %s\n" +msgid "the image now has %d bitmaps\n" +msgstr "теперь изображение содержит %d картинок\n" + +#: src/alg/compress.c:181 +msgid "sorting bitmaps (again)" +msgstr "повторная сортировка картинок" + +#: src/alg/compress.c:192 +msgid "finding prototypes" +msgstr "поиск прототипов" + +#: src/alg/compress.c:196 +#, c-format +msgid "%d bitmaps have prototypes\n" +msgstr "%d картинок имеют прототипы\n" + +#: src/alg/compress.c:288 +#, c-format +msgid "Classification: %d of %d completed\n" +msgstr "Классификация: выполнено %d из %d\n" + +#: src/alg/compress.c:298 +#, c-format +msgid "Prototype search: %d of %d completed\n" +msgstr "Поиск прототипов: выполнено %d из %d\n" + +#: src/alg/compress.c:319 +#, c-format +msgid "deciding what pieces are letters in page #%d\n" +msgstr "выясняем, какие из участков на странице #%d являются буквами\n" + +#: src/alg/compress.c:322 +#, c-format +msgid "sorting letters in page #%d\n" +msgstr "сортировка букв на странице #%d\n" + +#: src/alg/compress.c:331 +#, c-format +msgid "started classification\n" +msgstr "начинается классификация\n" + +#: src/alg/compress.c:336 +#, c-format +msgid "finished classification\n" +msgstr "классификация окончена\n" + +#: src/alg/compress.c:369 +#, c-format +msgid "started prototype search\n" +msgstr "начинается поиск прототипов\n" + +#: src/alg/compress.c:372 +#, c-format +msgid "finished prototype search\n" +msgstr "поиск прототипов окончен\n" + +#: src/base/1error.c:18 +msgid "unable to write to file" +msgstr "запись в файл невозможна" + +#: src/base/1error.c:20 +msgid "unable to read from file" +msgstr "чтение из файла невозможно" + +#: src/base/1error.c:22 +msgid "I/O error" +msgstr "ошибка ввода/вывода" -#: minidjvu.c:115 +#: src/base/1error.c:24 +msgid "bad PBM file" +msgstr "неподходящий файл PBM" + +#: src/base/1error.c:26 +msgid "bad Windows BMP file (perhaps it has non-bitonal data)" +msgstr "неподходящий файл BMP (вероятно, изображение не является монохромным)" + +#: src/base/1error.c:28 +msgid "bad DjVu file" +msgstr "неподходящий файл DjVu" + +#: src/base/1error.c:30 +msgid "bad bilevel data in DjVu file" +msgstr "неподходящий формат монохромного изображения в файле DjVu" + +#: src/base/1error.c:32 +msgid "bad TIFF file (perhaps it has non-bitonal data)" +msgstr "неподходящий файл TIFF (вероятно, изображение не является монохромным)" + +#: src/base/1error.c:34 +msgid "unsupported type of DjVu file" +msgstr "эта разновидность файлов DjVu не поддерживается" + +#: src/base/1error.c:36 +msgid "bilevel data not found in DjVu file" +msgstr "монохромное изображение не найдено в файле DjVu" + +#: src/base/1error.c:38 +msgid "somehow prototype references recursed" +msgstr "ссылки на прототип находятся в циклической зависимости" + +#: src/base/1error.c:40 +msgid "minidjvu was compiled without TIFF support" +msgstr "minidjvu собран без поддержки TIFF" + +#: src/base/1error.c:42 +msgid "minidjvu was compiled without PNG support" +msgstr "minidjvu собран без поддержки PNG" + +#: src/base/1error.c:45 +msgid "some weird error happened, probably caused by a bug in minidjvu" +msgstr "" +"Произошла непонятная ошибка. Скорее всего, она вызвана ошибкой в коде " +"minidjvu." + +#: tools/minidjvu.c:93 #, c-format +msgid "Cannot generate a unique name for %s\n" +msgstr "Не удалось создать уникальное имя для %s\n" +#: tools/minidjvu.c:116 msgid "encode/decode bitonal DjVu files" msgstr "кодирование и расшифровка монохромных DJVU-файлов" -#: minidjvu.c:119 +#: tools/minidjvu.c:119 +#, c-format +msgid "minidjvu - %s\n" +msgstr "" + +#: tools/minidjvu.c:120 #, c-format msgid "Warning: program and library version mismatch:\n" msgstr "Предупреждение: версии программы и библиотеки не совпадают:\n" -#: minidjvu.c:120 -#, c-format -msgid " program version %s, library version %s.\n" +#: tools/minidjvu.c:121 +#, fuzzy, c-format +msgid "" +" program version %s, library version %s.\n" +"\n" msgstr " версия программы %s, версия библиотеки %s.\n" -#: minidjvu.c:128 +#: tools/minidjvu.c:129 #, c-format msgid "Usage:\n" msgstr "Использование:\n" -#: minidjvu.c:129 +#: tools/minidjvu.c:130 #, c-format msgid "single page encoding/decoding:\n" msgstr "кодирование или расшифровка одиночной страницы:\n" -#: minidjvu.c:131 +#: tools/minidjvu.c:131 +#, c-format +msgid " minidjvu [options] \n" +msgstr "" + +#: tools/minidjvu.c:132 #, c-format msgid "multiple pages encoding:\n" msgstr "многостраничное кодирование:\n" -#: minidjvu.c:133 +#: tools/minidjvu.c:133 +#, c-format +msgid " minidjvu [options] ... \n" +msgstr "" + +#: tools/minidjvu.c:134 #, c-format msgid "Formats supported:\n" msgstr "Поддерживаемые форматы:\n" -#: minidjvu.c:135 +#: tools/minidjvu.c:136 #, c-format -msgid " DjVu (single-page bitonal), PBM, Windows BMP" +msgid " DjVu (single-page bitonal), PBM, Windows BMP" msgstr " DjVu (одностраничный монохромный), PBM, Windows BMP" -#: minidjvu.c:137 +#: tools/minidjvu.c:138 #, c-format msgid ", TIFF.\n" msgstr ", TIFF.\n" -#: minidjvu.c:139 +#: tools/minidjvu.c:140 #, c-format msgid "; TIFF support is OFF.\n" msgstr "; поддержка TIFF отключена.\n" -#: minidjvu.c:141 +#: tools/minidjvu.c:142 #, c-format msgid "Options:\n" msgstr "Параметры:\n" -#: minidjvu.c:142 +#: tools/minidjvu.c:143 #, c-format -msgid " -A, --Averaging: compute \"average\" representatives\n" -msgstr " -A, --Averaging: вычислять усредненные варианты представления символов\n" +msgid "" +" -A, --Averaging: compute \"average\" representatives\n" +msgstr "" +" -A, --Averaging: вычислять усредненные варианты " +"представления символов\n" -#: minidjvu.c:143 +#: tools/minidjvu.c:144 #, c-format -msgid " -a , --aggression : set aggression level (default 100)\n" -msgstr " -a , --aggression : установить уровень агрессии (по умолчанию 100)\n" +msgid " -a , --aggression : set aggression level (default 100)\n" +msgstr "" +" -a , --aggression : установить уровень агрессии (по умолчанию " +"100)\n" -#: minidjvu.c:144 +#: tools/minidjvu.c:145 #, c-format -msgid " -c, --clean remove small black pieces\n" +msgid " -c, --clean remove small black pieces\n" msgstr " -c, --clean удалять небольшие черные пятна\n" -#: minidjvu.c:145 +#: tools/minidjvu.c:146 #, c-format -msgid " -d --dpi : set resolution in dots per inch\n" -msgstr " -d --dpi : установить разрешение в точках на дюйм\n" +msgid " -d --dpi : set resolution in dots per inch\n" +msgstr "" +" -d --dpi : установить разрешение в точках на дюйм\n" -#: minidjvu.c:146 +#: tools/minidjvu.c:147 #, c-format -msgid " -e, --erosion sacrifice quality to gain in size\n" -msgstr " -e, --erosion пожертвовать качеством ради выигрыша в объеме\n" +msgid " -e, --erosion sacrifice quality to gain in size\n" +msgstr "" +" -e, --erosion пожертвовать качеством ради выигрыша в " +"объеме\n" -#: minidjvu.c:147 +#: tools/minidjvu.c:148 #, c-format -msgid " -i, --indirect: generate an indirect multipage document\n" -msgstr " -i, --indirect: сохранять каждую страницу документа как отдельный файл\n" +msgid "" +" -i, --indirect: generate an indirect multipage document\n" +msgstr "" +" -i, --indirect: сохранять каждую страницу документа как " +"отдельный файл\n" -#: minidjvu.c:148 +#: tools/minidjvu.c:149 #, c-format -msgid " -l, --lossy: use all lossy options (-s -c -m -e -A)\n" -msgstr " -l, --lossy: включить все параметры сжатия с потерями (-s -c -m -e -A)\n" +msgid "" +" -l, --lossy: use all lossy options (-s -c -m -e -A)\n" +msgstr "" +" -l, --lossy: включить все параметры сжатия с потерями " +"(-s -c -m -e -A)\n" -#: minidjvu.c:149 +#: tools/minidjvu.c:150 #, c-format -msgid " -m, --match: match and substitute patterns\n" -msgstr " -m, --match: использовать сравнение и подстановку образцов\n" +msgid " -m, --match: match and substitute patterns\n" +msgstr "" +" -m, --match: использовать сравнение и подстановку " +"образцов\n" -#: minidjvu.c:150 +#: tools/minidjvu.c:151 #, c-format -msgid " -n, --no-prototypes: do not search for prototypes\n" +msgid " -n, --no-prototypes: do not search for prototypes\n" msgstr " -n, --no-prototypes: отказаться от поиска прототипов\n" -#: minidjvu.c:151 +#: tools/minidjvu.c:152 #, c-format -msgid " -p , --pages-per-dict : pages per dictionary (default 10)\n" -msgstr " -p , --pages-per-dict : количество страниц в словаре (по умолчанию 10)\n" +msgid " -p , --pages-per-dict : pages per dictionary (default 10)\n" +msgstr "" +" -p , --pages-per-dict : количество страниц в словаре (по " +"умолчанию 10)\n" -#: minidjvu.c:152 +#: tools/minidjvu.c:153 #, c-format -msgid " -r, --report: report multipage coding progress\n" -msgstr " -r, --report: информировать о ходе многостраничного кодирования\n" +msgid " -r, --report: report multipage coding progress\n" +msgstr "" +" -r, --report: информировать о ходе многостраничного " +"кодирования\n" -#: minidjvu.c:153 +#: tools/minidjvu.c:154 #, c-format -msgid " -s, --smooth: remove some badly looking pixels\n" -msgstr " -s, --smooth: удалять отдельные неудачные пиксели\n" +msgid " -s, --smooth: remove some badly looking pixels\n" +msgstr "" +" -s, --smooth: удалять отдельные неудачные пиксели\n" -#: minidjvu.c:154 +#: tools/minidjvu.c:155 #, c-format -msgid " -v, --verbose: print messages about everything\n" +msgid " -v, --verbose: print messages about everything\n" msgstr " -v, --verbose: сообщать обо всех операциях\n" -#: minidjvu.c:155 +#: tools/minidjvu.c:156 +#, fuzzy, c-format +msgid "" +" -X, --Xtension: file extension for shared dictionary " +"files\n" +msgstr "" +" -e, --erosion пожертвовать качеством ради выигрыша в " +"объеме\n" + +#: tools/minidjvu.c:157 #, c-format -msgid " -w, --warnings: do not suppress TIFF warnings\n" +msgid " -w, --warnings: do not suppress TIFF warnings\n" msgstr " -w, --warnings: не подавлять предупреждения TIFF\n" -#: minidjvu.c:156 +#: tools/minidjvu.c:158 #, c-format msgid "See the man page for detailed description of each option.\n" msgstr "Подробное описание всех параметров содержится в руководстве man.\n" -#: minidjvu.c:184 +#: tools/minidjvu.c:186 #, c-format msgid "loading a DjVu page from `%s'\n" msgstr "загрузка страницы DjVu из файла `%s'\n" -#: minidjvu.c:193 +#: tools/minidjvu.c:195 #, c-format msgid "loaded; the page has %d bitmaps and %d blits\n" msgstr "загрузка завершена; страница содержит %d картинок и %d блитов\n" -#: minidjvu.c:228 +#: tools/minidjvu.c:230 #, c-format msgid "encoding to `%s'\n" msgstr "кодирование в файл `%s'\n" -#: minidjvu.c:244 +#: tools/minidjvu.c:246 #, c-format msgid "loading from Windows BMP file `%s'\n" msgstr "загрузка изображения из файла Windows BMP `%s'\n" -#: minidjvu.c:249 +#: tools/minidjvu.c:251 #, c-format msgid "loading from TIFF file `%s'\n" msgstr "загрузка изображения из файла TIFF `%s'\n" -#: minidjvu.c:256 +#: tools/minidjvu.c:258 #, c-format msgid "resolution is %d dpi\n" msgstr "разрешение составляет %d dpi\n" -#: minidjvu.c:265 minidjvu.c:337 +#: tools/minidjvu.c:267 tools/minidjvu.c:339 #, c-format msgid "bitmap %d x %d rendered\n" msgstr "загружено битовое изображение %d x %d\n" -#: minidjvu.c:272 +#: tools/minidjvu.c:274 #, c-format msgid "loading from PBM file `%s'\n" msgstr "загрузка изображения из файла PBM `%s'\n" -#: minidjvu.c:284 minidjvu.c:344 +#: tools/minidjvu.c:286 tools/minidjvu.c:346 #, c-format msgid "smoothing the bitmap\n" msgstr "сглаживание битового изображения\n" -#: minidjvu.c:298 +#: tools/minidjvu.c:300 #, c-format msgid "saving to Windows BMP file `%s'\n" msgstr "сохранение в файл Windows BMP `%s'\n" -#: minidjvu.c:303 +#: tools/minidjvu.c:305 #, c-format msgid "saving to TIFF file `%s'\n" msgstr "сохранение в файл TIFF `%s'\n" -#: minidjvu.c:310 +#: tools/minidjvu.c:312 #, c-format msgid "saving to PBM file `%s'\n" msgstr "сохранение в файл PBM `%s'\n" -#: minidjvu.c:328 +#: tools/minidjvu.c:330 #, c-format msgid "" "\n" @@ -223,7 +410,7 @@ msgstr "" "\n" "РАСШИФРОВКА\n" -#: minidjvu.c:329 minidjvu.c:384 +#: tools/minidjvu.c:331 tools/minidjvu.c:386 #, c-format msgid "" "________\n" @@ -232,27 +419,27 @@ msgstr "" "___________\n" "\n" -#: minidjvu.c:356 +#: tools/minidjvu.c:358 #, c-format msgid "splitting the bitmap into pieces\n" msgstr "разбивка битового изображение на участки\n" -#: minidjvu.c:361 +#: tools/minidjvu.c:363 #, c-format -msgid "the splitted image has %d pieces\n" +msgid "the split image has %d pieces\n" msgstr "после разбиения картинка состоит из %d участков\n" -#: minidjvu.c:366 +#: tools/minidjvu.c:368 #, c-format msgid "cleaning\n" msgstr "очистка\n" -#: minidjvu.c:370 +#: tools/minidjvu.c:372 #, c-format msgid "the cleaned image has %d pieces\n" msgstr "после очистки картинка состоит из %d участков\n" -#: minidjvu.c:383 +#: tools/minidjvu.c:385 #, c-format msgid "" "\n" @@ -261,7 +448,7 @@ msgstr "" "\n" "КОДИРОВАНИЕ\n" -#: minidjvu.c:399 +#: tools/minidjvu.c:401 #, c-format msgid "" "\n" @@ -270,7 +457,7 @@ msgstr "" "\n" "ФИЛЬТРОВКА\n" -#: minidjvu.c:400 +#: tools/minidjvu.c:402 #, c-format msgid "" "_________\n" @@ -279,17 +466,19 @@ msgstr "" "__________\n" "\n" -#: minidjvu.c:443 +#: tools/minidjvu.c:447 #, c-format msgid "when encoding many pages, output file must be DjVu\n" -msgstr "при многостраничном кодировании результирующий файл должен быть в формате DjVu\n" +msgstr "" +"при многостраничном кодировании результирующий файл должен быть в формате " +"DjVu\n" -#: minidjvu.c:451 +#: tools/minidjvu.c:455 #, c-format msgid "Could not create a temporary file\n" msgstr "Не удалось создать временный файл\n" -#: minidjvu.c:456 +#: tools/minidjvu.c:460 #, c-format msgid "" "\n" @@ -298,7 +487,7 @@ msgstr "" "\n" "МНОГОСТРАНИЧНОЕ КОДИРОВАНИЕ\n" -#: minidjvu.c:457 +#: tools/minidjvu.c:461 #, c-format msgid "" "__________________\n" @@ -307,181 +496,42 @@ msgstr "" "___________________________\n" "\n" -#: minidjvu.c:458 +#: tools/minidjvu.c:462 #, c-format msgid "%d pages total\n" msgstr "всего %d страниц\n" -#: minidjvu.c:489 +#: tools/minidjvu.c:496 #, c-format msgid "Loading: %d of %d completed\n" msgstr "Загрузка: выполнено %d из %d\n" -#: minidjvu.c:517 +#: tools/minidjvu.c:524 #, c-format msgid "saving page #%d into %s using dictionary %s\n" msgstr "сохранение страницы #%d в файл %s с использованием словаря %s\n" -#: minidjvu.c:531 +#: tools/minidjvu.c:538 #, c-format msgid "Saving: %d of %d completed\n" msgstr "Сохранение: выполнено %d из %d\n" -#: minidjvu.c:624 +#: tools/minidjvu.c:631 #, c-format msgid "bad --pages-per-dict value\n" msgstr "неподходящее значение --pages-per-dict\n" -#: minidjvu.c:636 +#: tools/minidjvu.c:643 #, c-format msgid "bad resolution\n" msgstr "неподходящее разрешение\n" -#: minidjvu.c:651 +#: tools/minidjvu.c:664 #, c-format msgid "unknown option: %s\n" msgstr "неизвестный параметр: %s\n" -#: minidjvu.c:699 +#: tools/minidjvu.c:719 #, c-format msgid "alive_bitmap_counter = %d\n" msgstr "счетчик битовых изображений = %d\n" - -#: compress.c:153 -msgid "deciding what pieces are letters" -msgstr "выясняем, какие из участков являются буквами" - -#: compress.c:156 -msgid "sorting blits" -msgstr "сортировка блитов" - -#: compress.c:158 -msgid "sorting bitmaps" -msgstr "сортировка картинок" - -#: compress.c:163 -msgid "matching patterns" -msgstr "сопоставление с образцами" - -#: compress.c:166 -msgid "adjusting substitution coordinates" -msgstr "уточняются координаты подстановки" - -#: compress.c:169 -msgid "removing unused bitmaps" -msgstr "удаление неиспользуемых картинок" - -#: compress.c:174 -#, c-format -msgid "the image now has %d bitmaps\n" -msgstr "теперь изображение содержит %d картинок\n" - -#: compress.c:180 -msgid "sorting bitmaps (again)" -msgstr "повторная сортировка картинок" - -#: compress.c:191 -msgid "finding prototypes" -msgstr "поиск прототипов" - -#: compress.c:195 -#, c-format -msgid "%d bitmaps have prototypes\n" -msgstr "%d картинок имеют прототипы\n" - -#: compress.c:287 -#, c-format -msgid "Classification: %d of %d completed\n" -msgstr "Классификация: выполнено %d из %d\n" - -#: compress.c:297 -#, c-format -msgid "Prototype search: %d of %d completed\n" -msgstr "Поиск прототипов: выполнено %d из %d\n" - -#: compress.c:318 -#, c-format -msgid "deciding what pieces are letters in page #%d\n" -msgstr "выясняем, какие из участков на странице #%d являются буквами\n" - -#: compress.c:321 -#, c-format -msgid "sorting letters in page #%d\n" -msgstr "сортировка букв на странице #%d\n" - -#: compress.c:330 -#, c-format -msgid "started classification\n" -msgstr "начинается классификация\n" - -#: compress.c:335 -#, c-format -msgid "finished classification\n" -msgstr "классификация окончена\n" - -#: compress.c:368 -#, c-format -msgid "started prototype search\n" -msgstr "начинается поиск прототипов\n" - -#: compress.c:371 -#, c-format -msgid "finished prototype search\n" -msgstr "поиск прототипов окончен\n" - -#: 1error.c:18 -msgid "unable to write to file" -msgstr "запись в файл невозможна" - -#: 1error.c:20 -msgid "unable to read from file" -msgstr "чтение из файла невозможно" - -#: 1error.c:22 -msgid "I/O error" -msgstr "ошибка ввода/вывода" - -#: 1error.c:24 -msgid "bad PBM file" -msgstr "неподходящий файл PBM" - -#: 1error.c:26 -msgid "bad Windows BMP file (perhaps it has non-bitonal data)" -msgstr "неподходящий файл BMP (вероятно, изображение не является монохромным)" - -#: 1error.c:28 -msgid "bad DjVu file" -msgstr "неподходящий файл DjVu" - -#: 1error.c:30 -msgid "bad bilevel data in DjVu file" -msgstr "неподходящий формат монохромного изображения в файле DjVu" - -#: 1error.c:32 -msgid "bad TIFF file (perhaps it has non-bitonal data)" -msgstr "неподходящий файл TIFF (вероятно, изображение не является монохромным)" - -#: 1error.c:34 -msgid "unsupported type of DjVu file" -msgstr "эта разновидность файлов DjVu не поддерживается" - -#: 1error.c:36 -msgid "bilevel data not found in DjVu file" -msgstr "монохромное изображение не найдено в файле DjVu" - -#: 1error.c:38 -msgid "somehow prototype references recursed" -msgstr "ссылки на прототип находятся в циклической зависимости" - -#: 1error.c:40 -msgid "minidjvu was compiled without TIFF support" -msgstr "minidjvu собран без поддержки TIFF" - -#: 1error.c:42 -msgid "minidjvu was compiled without PNG support" -msgstr "minidjvu собран без поддержки PNG" - -#: 1error.c:45 -msgid "some weird error happened, probably caused by a bug in minidjvu" -msgstr "Произошла непонятная ошибка. Скорее всего, она вызвана ошибкой в коде minidjvu." - --- minidjvu-0.8.svn.2010.05.06+dfsg.orig/src/image-io/tiff.c +++ minidjvu-0.8.svn.2010.05.06+dfsg/src/image-io/tiff.c @@ -4,7 +4,7 @@ #include "../base/mdjvucfg.h" -#if HAVE_TIFF +#ifdef HAVE_LIBTIFF #include #define MDJVU_USE_TIFFIO #endif @@ -14,7 +14,7 @@ MDJVU_IMPLEMENT int mdjvu_have_tiff_support(void) { - #if HAVE_TIFF + #ifdef HAVE_LIBTIFF return 1; #else return 0; @@ -23,7 +23,7 @@ MDJVU_IMPLEMENT int mdjvu_have_tiff_supp MDJVU_IMPLEMENT void mdjvu_disable_tiff_warnings(void) { - #if HAVE_TIFF + #ifdef HAVE_LIBTIFF TIFFSetWarningHandler(NULL); #endif } --- minidjvu-0.8.svn.2010.05.06+dfsg.orig/src/image-io/tiffload.c +++ minidjvu-0.8.svn.2010.05.06+dfsg/src/image-io/tiffload.c @@ -4,7 +4,7 @@ #include "../base/mdjvucfg.h" -#if HAVE_TIFF +#ifdef HAVE_LIBTIFF #include #define MDJVU_USE_TIFFIO #endif @@ -13,7 +13,7 @@ #include #include -#if HAVE_TIFF +#ifdef HAVE_LIBTIFF static mdjvu_bitmap_t load_tiff(const char *path, int32 *presolution, mdjvu_error_t *perr, uint32 idx) { @@ -134,11 +134,11 @@ MDJVU_IMPLEMENT uint32 mdjvu_get_tiff_pa return dircount; } -#endif /* HAVE_TIFF */ +#endif /* HAVE_LIBTIFF */ MDJVU_IMPLEMENT mdjvu_bitmap_t mdjvu_load_tiff(const char *path, int32 *presolution, mdjvu_error_t *perr, uint32 idx) { - #if HAVE_TIFF + #ifdef HAVE_LIBTIFF return load_tiff(path, presolution, perr, idx); #else *perr = mdjvu_get_error(mdjvu_error_tiff_support_disabled); --- minidjvu-0.8.svn.2010.05.06+dfsg.orig/src/image-io/tiffsave.c +++ minidjvu-0.8.svn.2010.05.06+dfsg/src/image-io/tiffsave.c @@ -4,14 +4,14 @@ #include "../base/mdjvucfg.h" -#if HAVE_TIFF +#ifdef HAVE_LIBTIFF #include #define MDJVU_USE_TIFFIO #endif #include -#if HAVE_TIFF +#ifdef HAVE_LIBTIFF #ifndef COMPRESSION_PACKBITS #define COMPRESSION_PACKBITS 32771 @@ -64,11 +64,11 @@ static int save_tiff(mdjvu_bitmap_t bitm return 1; } -#endif /* HAVE_TIFF */ +#endif /* HAVE_LIBTIFF */ MDJVU_IMPLEMENT int mdjvu_save_tiff(mdjvu_bitmap_t bitmap, const char *path, mdjvu_error_t *perr) { - #if HAVE_TIFF + #ifdef HAVE_LIBTIFF return save_tiff(bitmap, path, perr); #else *perr = mdjvu_get_error(mdjvu_error_tiff_support_disabled); --- minidjvu-0.8.svn.2010.05.06+dfsg.orig/tools/minidjvu.c +++ minidjvu-0.8.svn.2010.05.06+dfsg/tools/minidjvu.c @@ -3,7 +3,7 @@ */ #include -#include "../src/base/mdjvucfg.h" /* for i18n, HAVE_TIFF */ +#include "../src/base/mdjvucfg.h" /* for i18n, HAVE_LIBTIFF */ #include #include #include @@ -38,8 +38,8 @@ const char* dict_suffix = NULL; static int get_ext_delim_pos(const char *fname) { - int pos = strcspn(fname,"."); - int last = 0; + size_t pos = strcspn(fname,"."); + size_t last = 0; while (last + pos != strlen(fname)) { @@ -360,7 +360,7 @@ static mdjvu_image_t split_and_destroy(m mdjvu_bitmap_destroy(bitmap); if (verbose) { - printf(_("the splitted image has %d pieces\n"), + printf(_("the split image has %d pieces\n"), mdjvu_image_get_blit_count(image)); } if (clean) @@ -671,7 +671,7 @@ static int process_options(int argc, cha int main(int argc, char **argv) { int arg_start; -#ifdef HAVE_TIFF +#ifdef HAVE_LIBTIFF int tiff_cnt; #endif @@ -695,7 +695,7 @@ int main(int argc, char **argv) { multipage_encode(argc - 2, argv + 1, argv[argc - 1], 0); } -#ifdef HAVE_TIFF +#ifdef HAVE_LIBTIFF else if (decide_if_tiff(argv[1]) && (tiff_cnt = mdjvu_get_tiff_page_count(argv[1])) > 1 ) { multipage_encode(tiff_cnt, argv + 1, argv[argc - 1], 1); --- minidjvu-0.8.svn.2010.05.06+dfsg.orig/wscript +++ minidjvu-0.8.svn.2010.05.06+dfsg/wscript @@ -14,7 +14,7 @@ def configure(conf): conf.check(header_name='math.h') conf.check(lib='m') - conf.check(header_name='tiffio.h', define_name='HAVE_TIFF') + conf.check(header_name='tiffio.h', define_name='HAVE_LIBTIFF') conf.check(lib='tiff') conf.check(header_name='libintl.h', define_name='HAVE_I18N') debian/patches/series0000644000000000000000000000001712267505644012043 0ustar debian-changes debian/libminidjvu0.install0000775000000000000000000000010312051020660013141 0ustar #! /usr/bin/dh-exec usr/lib/${DEB_HOST_MULTIARCH}/libminidjvu.so.* debian/minidjvu.install0000664000000000000000000000004712051020660012376 0ustar usr/bin usr/share/locale usr/share/man debian/source/0000775000000000000000000000000012051020660010460 5ustar debian/source/format0000664000000000000000000000001412051020660011666 0ustar 3.0 (quilt) debian/libminidjvu-dev.install0000775000000000000000000000017112051020660013642 0ustar #! /usr/bin/dh-exec usr/lib/${DEB_HOST_MULTIARCH}/libminidjvu.a usr/lib/${DEB_HOST_MULTIARCH}/libminidjvu.so usr/include debian/control0000664000000000000000000000267212267505254010612 0ustar Source: minidjvu Section: graphics Priority: extra Maintainer: Barak A. Pearlmutter Build-Depends: debhelper (>= 9), dh-autoreconf, autopoint, dh-exec, libtiff-dev Homepage: http://minidjvu.sourceforge.net/ Vcs-Git: git://anonscm.debian.org/collab-maint/minidjvu.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/minidjvu.git Vcs-Svn: https://minidjvu.svn.sourceforge.net/svnroot/minidjvu Standards-Version: 3.9.5 Package: minidjvu Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, libminidjvu0 (>= ${binary:Version}) Suggests: djview4 | djview3 | djvu-viewer, djvulibre-bin, pdf2djvu Description: Monochrome DjVu multipage encoder, single page encoder/decoder Minidjvu is a multipage DjVu encoder and single page encoder/decoder. No colors or grayscale, just black and white. In addition to the DjVu format, minidjvu reads and writes PBM, Windows BMP, and TIFF. Package: libminidjvu0 Architecture: any Section: libs Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Small DjVu encoder/decoder, shared library MiniDjVu shared library, for DjVu format encoding and decoding. Package: libminidjvu-dev Architecture: any Section: libdevel Depends: ${shlibs:Depends}, ${misc:Depends}, libminidjvu0 (= ${binary:Version}) Suggests: minidjvu Description: Small DjVu encoder/decoder, development files MiniDjVu library development files, for DjVu format encoding and decoding. debian/changelog0000664000000000000000000000673712267505472011071 0ustar minidjvu (0.8.svn.2010.05.06+dfsg-3) unstable; urgency=low * bump policy version * update packaging repo URLs * remove dependency alternatives libtiff{5,4}-dev (closes: #736031) -- Barak A. Pearlmutter Tue, 21 Jan 2014 14:59:06 +0000 minidjvu (0.8.svn.2010.05.06+dfsg-2) unstable; urgency=low * further update autotools, e.g., step off user-reserved vars * remove more derived files from repo; installed by autoreconf * bump debian standard version, no changes required * add build dependency on autopoint, called by dh-autoreconf -- Barak A. Pearlmutter Wed, 14 Nov 2012 22:49:12 +0000 minidjvu (0.8.svn.2010.05.06+dfsg-1) unstable; urgency=low * support multiarch * ack silly NMU (silly because the waf file was unused, and because there is a difference between "sourceless" and "source in odd format") * revamp autotools and engage automake for robustness -- Barak A. Pearlmutter Tue, 13 Nov 2012 12:18:29 +0000 minidjvu (0.8.svn.2010.05.06+dfsg-0.1) unstable; urgency=medium * Non-maintainer upload. * Remove sourceless waf binary from upstream tarball (closes: #654491). -- Michael Gilbert Mon, 12 Nov 2012 03:03:15 +0000 minidjvu (0.8.svn.2010.05.06-2) unstable; urgency=low * remove unneeded AC_PROG_RANLIB from configure.ac * single debian patch source option (closes: #643218) * bump debian standards version * correct spelling by not using the non-word "splitted" * silence lintian regarding debian/rules targets -- Barak A. Pearlmutter Thu, 06 Oct 2011 16:35:29 +0100 minidjvu (0.8.svn.2010.05.06-1) unstable; urgency=low * Track ongoing upstream changes, as new upstream version * bump standards version (debian/control) * refresh autoconf stuff (config/, libtool) * dh --parallel * parallel build patch to upstream (Makefile.in) * dh 8 * Integrate super-helpful ubuntu debian/libminidjvu-dev.install patch to, thanks to Andreas Moog : Don't install libtool la-file per Policy 10.2 (closes: #621449) -- Barak A. Pearlmutter Sat, 16 Apr 2011 18:41:25 +0100 minidjvu (0.8.svn.2010.01.15-2) unstable; urgency=low * rev deb std * silence autoscan * Switch to dpkg-source 3.0 (quilt) format -- Barak A. Pearlmutter Thu, 25 Mar 2010 18:56:39 +0000 minidjvu (0.8.svn.2010.01.15-1) unstable; urgency=low * Track ongoing upstream changes, as new upstream version * Add SVN repo to debian/copyright and debian/control * Upstream fix allows -p 0 per documentation (closes: #561694) -- Barak A. Pearlmutter Fri, 15 Jan 2010 10:05:17 +0100 minidjvu (0.8-3) unstable; urgency=low * Upstream man page location revert; tweak debian build system appropriately -- Barak A. Pearlmutter Wed, 04 Nov 2009 14:23:46 -0500 minidjvu (0.8-2) unstable; urgency=low * Hotwire debian/watch, special case mangle upstream 0.33 to 0.3.3 -- Barak A. Pearlmutter Mon, 02 Nov 2009 17:52:47 -0500 minidjvu (0.8-1) unstable; urgency=low * New upstream version which - addresses -p segfault (closes: #545285) - generates shared library (closes: #545287) * Minor portability tweak for maximal 32-bit signed integer -- Barak A. Pearlmutter Fri, 23 Oct 2009 13:50:47 -0400 minidjvu (0.7-1) unstable; urgency=low * Initial Release (closes: #543678) -- Barak A. Pearlmutter Tue, 01 Sep 2009 12:51:48 +0200 debian/copyright0000664000000000000000000000301312051020660011110 0ustar This package was debianized by: Barak A. Pearlmutter on Tue, 01 Sep 2009 12:51:48 +0200 It was downloaded from: http://sourceforge.net/projects/minidjvu/files/ (tarballs) https://minidjvu.svn.sourceforge.net/svnroot/minidjvu (tracking SVN) Upstream Authors: Ilya Mezhirov Alexey Kryukov Copyright: Copyright (C) 2006 Ilya Mezhirov (original releases; most code) Copyright (C) 2009 Alexey Kryukov (some updates; v0.8 mods) License: This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of the GNU General Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. The Debian packaging is: Copyright (C) 2009 Barak A. Pearlmutter and is licensed under the GPL version 2 or (at your option) any later version, see `/usr/share/common-licenses/GPL-2'. debian/compat0000664000000000000000000000000212051020660010356 0ustar 9 debian/libminidjvu-dev.docs0000664000000000000000000000010512051020660013116 0ustar NEWS README doc/encode.html doc/decode.html doc/tifftodjvu_help.html debian/libminidjvu-dev.doc-base.tifftodjvu-help0000664000000000000000000000042212051020660016756 0ustar Document: minidjvu-tifftodjvu-help Title: TIFF to DjVu Help Author: Ilya Mezhirov Abstract: Documentation for TIFF to DjVu Section: Graphics Format: HTML Index: /usr/share/doc/libminidjvu-dev/tifftodjvu_help.html Files: /usr/share/doc/libminidjvu-dev/tifftodjvu_help.html debian/minidjvu.docs0000664000000000000000000000001412051020660011652 0ustar NEWS README debian/libminidjvu-dev.doc-base.decode0000664000000000000000000000043612051020660015074 0ustar Document: minidjvu-decode Title: minidjvu: how to decode a DjVu page Author: Ilya Mezhirov Abstract: How to use minidjvu to decode a page in DjVu format Section: Graphics Format: HTML Index: /usr/share/doc/libminidjvu-dev/decode.html Files: /usr/share/doc/libminidjvu-dev/decode.html debian/libminidjvu-dev.doc-base.encode0000664000000000000000000000043712051020660015107 0ustar Document: minidjvu-encode Title: minidjvu: how to compress into DjVu Author: Ilya Mezhirov Abstract: How to use minidjvu to compress into the DjVu format Section: Graphics Format: HTML Index: /usr/share/doc/libminidjvu-dev/encode.html Files: /usr/share/doc/libminidjvu-dev/encode.html debian/rules0000775000000000000000000000160612051147644010257 0ustar #!/usr/bin/make -f %: dh $@ --parallel --with autoreconf # Snippet from http://wiki.debian.org/UnpackWaf with +dfsg1 changed to +dfsg # get-orig-source to drop waf upstream_version ?= $(shell dpkg-parsechangelog | sed -rne 's/^Version: ([0-9.]+)(\+dfsg\d+)?.*$$/\1/p') dfsg_version = $(upstream_version)+dfsg pkg = $(shell dpkg-parsechangelog | sed -ne 's/^Source: //p') get-orig-source: uscan --noconf --force-download --rename --repack --download-current-version --destdir=. tar -xzf $(pkg)_$(upstream_version).orig.tar.gz mv $(pkg)-$(upstream_version) $(pkg)-$(dfsg_version) cd $(pkg)-$(dfsg_version) ; python waf --help > /dev/null mv $(pkg)-$(dfsg_version)/.waf-*/* $(pkg)-$(dfsg_version) sed -i '/^#==>$$/,$$d' $(pkg)-$(dfsg_version)/waf rmdir $(pkg)-$(dfsg_version)/.waf-* GZIP="-9fn" tar -czf $(pkg)_$(dfsg_version).orig.tar.gz $(pkg)-$(dfsg_version) rm -rf $(pkg)-$(dfsg_version) debian/watch0000664000000000000000000000025612051142052010214 0ustar version=3 # snippet from http://wiki.debian.org/UnpackWaf opts=uversionmangle=s/^0\.33$/0.3.3/,dversionmangle=s/\+dfsg\d*$// \ http://sf.net/minidjvu/minidjvu-(.*)\.tar\.gz