commit leptonica for openSUSE:Factory

2020-07-30 Thread root
Hello community,

here is the log from the commit of package leptonica for openSUSE:Factory 
checked in at 2020-07-30 12:25:46

Comparing /work/SRC/openSUSE:Factory/leptonica (Old)
 and  /work/SRC/openSUSE:Factory/.leptonica.new.3592 (New)


Package is "leptonica"

Thu Jul 30 12:25:46 2020 rev:19 rq:823526 version:1.80.0

Changes:

--- /work/SRC/openSUSE:Factory/leptonica/leptonica.changes  2020-01-27 
00:23:03.665514619 +0100
+++ /work/SRC/openSUSE:Factory/.leptonica.new.3592/leptonica.changes
2020-07-30 12:26:02.147619013 +0200
@@ -1,0 +2,30 @@
+Wed Jul 29 20:50:16 UTC 2020 - Kyrill Detinov 
+
+- Update to 1.80.0.
+  * Improve bmp handling of 1 bpp images and sanity checking of params.
+  * Add function to display all rgb gamut colors.
+  * In Makefile.am, use option serial-tests to avoid races in
+testing.
+  * Make md subdirectory and add ax_split_version.md there.
+  * Simple function for hue-invariant mapping
+(pixMapWithInvariantHue).
+  * Fixed bug in limit of ptra size when used for sorting by bins.
+  * Use hashmap to count pixel colors in RGB(A) images.
+  * Convert hashtest program to regression test hash_reg.
+  * Convert croptest program to regression test crop_reg.
+  * New color segmentation by region growing (colorfill.c).
+  * New regression tests: colorfill_reg, circle_reg, ccbord_reg.
+  * Set maxima for all allocations for common leptonica data structures.
+  * Don't fail when downscaling 2, 4, 8, and 32 bpp images, even to one
+pixel, invoking pixScaleSmooth().
+  * New functions that select 1 bpp components based on their area.
+  * Incremental addition to sorted array of numbers.
+  * New prog/fuzzing directory for oss-fuzz based fuzzing programs.
+  * Ue of pixcmapIsValid() with extra argument to determine validity
+with the pix it is attached to.
+  * Use lept_stderr() in all programs in the prog directory.
+  * New program rasteroptest() for thorough testing of rasterop functions.
+  * Removed the pixSaveTiled*() functions.
+  * Stubbed pixDisplayWrite(). Last used in tesseract 3.04.01 (2/2016).
+
+---

Old:

  leptonica-1.79.0.tar.gz

New:

  leptonica-1.80.0.tar.gz



Other differences:
--
++ leptonica.spec ++
--- /var/tmp/diff_new_pack.VGykpw/_old  2020-07-30 12:26:03.615621896 +0200
+++ /var/tmp/diff_new_pack.VGykpw/_new  2020-07-30 12:26:03.619621904 +0200
@@ -19,7 +19,7 @@
 %define major   5
 
 Name:   leptonica
-Version:1.79.0
+Version:1.80.0
 Release:0
 Summary:Library for image processing and image analysis applications
 License:BSD-2-Clause

++ leptonica-1.79.0.tar.gz -> leptonica-1.80.0.tar.gz ++
/work/SRC/openSUSE:Factory/leptonica/leptonica-1.79.0.tar.gz 
/work/SRC/openSUSE:Factory/.leptonica.new.3592/leptonica-1.80.0.tar.gz differ: 
char 5, line 1




commit leptonica for openSUSE:Factory

2020-01-26 Thread root
Hello community,

here is the log from the commit of package leptonica for openSUSE:Factory 
checked in at 2020-01-27 00:22:43

Comparing /work/SRC/openSUSE:Factory/leptonica (Old)
 and  /work/SRC/openSUSE:Factory/.leptonica.new.26092 (New)


Package is "leptonica"

Mon Jan 27 00:22:43 2020 rev:18 rq:767255 version:1.79.0

Changes:

--- /work/SRC/openSUSE:Factory/leptonica/leptonica.changes  2019-04-04 
12:06:39.785450102 +0200
+++ /work/SRC/openSUSE:Factory/.leptonica.new.26092/leptonica.changes   
2020-01-27 00:23:03.665514619 +0100
@@ -1,0 +2,53 @@
+Sat Jan 25 20:01:05 UTC 2020 - Kyrill Detinov 
+
+- Update to 1.79.0.
+  * Clean up auto-generation of files; removed 'register'.
+  * Some fixes for issues identified by fuzzer.
+  * New source files: checkerboard.c.
+  * New programs: replacebytes.c, webpanimio_reg.c, partifytest.c,
+rectangle_reg.c, lowsat_reg.c, rotate_it.c, scale_it.c, dewarp_it.c,
+pdfio1_reg.c, pdfio2_reg.c, checkerboard_reg.c, underlinetest.c.
+  * Convert to standard reg test: heap_reg.c, pixa1_reg.c,
+smallpix_reg.c.
+  * Improve data checking when reading image file headers
+(pnm, png, jpeg, tiff).
+  * Fix some bugs in pnm reading.
+  * Fix inconsistencies with the encoding type flags in pdf
+writing.
+  * Allow tiff to write images with colormaps.
+  * Fix errors in PS code; made some functions static.
+  * Add code for animated webp (requires webp mux and demux
+libraries).
+  * Add "partify" application for separating parts in a musical
+score.
+  * Enable tif read/write of gray+alpha and rgba; filter out tiff
+pixels that are not uint and compression by tile.
+  * Apply consistent formatting of static const variables.
+  * Add programs for scaling, rotation and deskew, named dewkew_it,
+rotate_it and scale_it, for useful operations on arbitrary images.
+  * Convert pdfiotest program to two regression tests: pdfio1_reg
+and pdfio2_reg.
+  * Remove all use of strncat; use stringCat().
+  * New functions from removing outliers in sequences of boxes.
+  * Generalize pixAverageInRect(): mask, region and range filters,
+and subsampling.  New pixAverageInRectRGB().
+  * Fix int overflow bug in pixMedianCut(); required new heap accessor.
+  * New pixMultiplyGray() allows pix to be multiplied by an array (or
+another pix).
+  * Better routines for counting color.
+  * Lossless conversion for RGB to cmap with not more than 256 colors.
+  * New histo based global thresholding: pixThresholdByHisto().
+  * Allow most reg tests to run even if external libraries are not
+available.
+  * New one-line gplot functions that return a pix.
+  * New application to find where corners meet in a checkerboard.
+  * Add utility functions for painting through mask in cmap pix,
+creating a hit-miss sela from a color pix, equality of two pta.
+  * Proper handling of 1 bpp colormap tiffs: remove when reading,
+preserve when writing.
+  * Deprecate three pixSaveTile*() functions; removed all calls to
+these from the library and progs.
+  * Include auto_config.h explicitly in all src and prog files.
+  * Improve input data checking for bmp files.
+
+---

Old:

  leptonica-1.78.0.tar.gz

New:

  leptonica-1.79.0.tar.gz



Other differences:
--
++ leptonica.spec ++
--- /var/tmp/diff_new_pack.ylWToq/_old  2020-01-27 00:23:05.341515408 +0100
+++ /var/tmp/diff_new_pack.ylWToq/_new  2020-01-27 00:23:05.345515410 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package leptonica
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 %define major   5
 
 Name:   leptonica
-Version:1.78.0
+Version:1.79.0
 Release:0
 Summary:Library for image processing and image analysis applications
 License:BSD-2-Clause
@@ -32,12 +32,10 @@
 BuildRequires:  libjpeg-devel
 BuildRequires:  libtool
 BuildRequires:  pkgconfig
+BuildRequires:  pkgconfig(libopenjp2)
 BuildRequires:  pkgconfig(libpng)
 BuildRequires:  pkgconfig(libtiff-4)
 BuildRequires:  pkgconfig(libwebp) >= 0.2.0
-%if 0%{?suse_version} > 1310
-BuildRequires:  pkgconfig(libopenjp2)
-%endif
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -81,8 +79,17 @@
 find %{buildroot} -type f -name "*.la" -delete -print
 rm -f %{buildroot}%{_bindir}/{*gen,*reg,*test*}
 
+# Just symlinks. Linked to liblept.so.* and to the missing liblept.la.
+# We don't need, I guess.
+rm -f %{buildroot}%{_libdir}/libleptonica.so
+rm -f 

commit leptonica for openSUSE:Factory

2019-04-04 Thread root
Hello community,

here is the log from the commit of package leptonica for openSUSE:Factory 
checked in at 2019-04-04 12:06:37

Comparing /work/SRC/openSUSE:Factory/leptonica (Old)
 and  /work/SRC/openSUSE:Factory/.leptonica.new.3908 (New)


Package is "leptonica"

Thu Apr  4 12:06:37 2019 rev:17 rq:690805 version:1.78.0

Changes:

--- /work/SRC/openSUSE:Factory/leptonica/leptonica.changes  2018-12-18 
15:01:26.033976852 +0100
+++ /work/SRC/openSUSE:Factory/.leptonica.new.3908/leptonica.changes
2019-04-04 12:06:39.785450102 +0200
@@ -1,0 +2,16 @@
+Tue Apr  2 12:34:28 UTC 2019 - Kyrill Detinov 
+
+- Update to 1.78.0.
+  * Various improvements in handling boxa sequences and transforms.
+  * New regression tests: boxa4_reg, string_reg.
+  * New function for copying a pix, filtered by a boxa.
+  * Modify histogram method for image comparison.
+  * More careful attention to invalid boxes in box geometry functions.
+  * Better string and array functions for search and replace.
+  * Convenience functions for generating simple masks.
+  * Allow pdf writing of jp2k images, in full generality.
+  * Allow writing compressed ps images for printing.
+  * Modified enum comments to include a suggested enum name.
+  * New program: imagetops.
+
+---

Old:

  leptonica-1.77.0.tar.gz

New:

  leptonica-1.78.0.tar.gz



Other differences:
--
++ leptonica.spec ++
--- /var/tmp/diff_new_pack.tXqy52/_old  2019-04-04 12:06:41.169450468 +0200
+++ /var/tmp/diff_new_pack.tXqy52/_new  2019-04-04 12:06:41.173450469 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package leptonica
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 %define major   5
 
 Name:   leptonica
-Version:1.77.0
+Version:1.78.0
 Release:0
 Summary:Library for image processing and image analysis applications
 License:BSD-2-Clause

++ leptonica-1.77.0.tar.gz -> leptonica-1.78.0.tar.gz ++
/work/SRC/openSUSE:Factory/leptonica/leptonica-1.77.0.tar.gz 
/work/SRC/openSUSE:Factory/.leptonica.new.3908/leptonica-1.78.0.tar.gz differ: 
char 5, line 1




commit leptonica for openSUSE:Factory

2018-12-18 Thread root
Hello community,

here is the log from the commit of package leptonica for openSUSE:Factory 
checked in at 2018-12-18 14:59:39

Comparing /work/SRC/openSUSE:Factory/leptonica (Old)
 and  /work/SRC/openSUSE:Factory/.leptonica.new.28833 (New)


Package is "leptonica"

Tue Dec 18 14:59:39 2018 rev:16 rq:658973 version:1.77.0

Changes:

--- /work/SRC/openSUSE:Factory/leptonica/leptonica.changes  2018-05-13 
16:05:04.630305366 +0200
+++ /work/SRC/openSUSE:Factory/.leptonica.new.28833/leptonica.changes   
2018-12-18 15:01:26.033976852 +0100
@@ -1,0 +2,28 @@
+Mon Dec 17 08:12:03 UTC 2018 - Karol Babioch 
+
+- Update to 1.77.0
+
+  * CVE-2018-7442: potential injection attack because '/' is allowed in gplot
+rootdir. (bsc#1082748)
+  * CVE-2018-7186: number of characters not limited in fscanf or sscanf,
+allowing possible attack with buffer overflow. (bsc#1081576)
+  * CVE-2018-3836: command injection vulnerability in gplotMakeOutput().
+(bsc#1079358)
+  * CVE-2017-18196: duplicated path components. (bsc#1082843)
+  * CVE-2018-7441: hardcoded /tmp pathnames. (bsc#1082749)
+  * CVE-2018-7247: input 'rootname' can overflow a buffer. (bsc#1081631)
+  * CVE-2018-7440: command injection in gplotMakeOutput using $(command).
+(bsc#1082747)
+  * Using a packed struct for bmp headers to avoid crash on some big-endians.
+  * Fixed a bug in the prototype parser for xtractprotos that was
+surfaced by a typedef declaration for the bmp headers.
+  * Added some basic pixa functions for rotation and translation.
+  * Added an iterative method to find rectangular coverings for arbitrary
+connected components.
+  * Enabled read/write for standard jpeg compressed tiff images.
+  * Enabled reading for the old (deprecated) jpeg-encoded tiffs.
+  * Fix range selectors for pixa, pixaa, boxa, boxaa, pta: Now, last = -1 goes
+to the end.
+  * When reading tiff --> pix, insert IMAGEDESCRIPTION into text field.
+
+---

Old:

  leptonica-1.76.0.tar.gz

New:

  leptonica-1.77.0.tar.gz



Other differences:
--
++ leptonica.spec ++
--- /var/tmp/diff_new_pack.aivgbG/_old  2018-12-18 15:01:26.813975685 +0100
+++ /var/tmp/diff_new_pack.aivgbG/_new  2018-12-18 15:01:26.833975654 +0100
@@ -12,14 +12,14 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %define major   5
 
 Name:   leptonica
-Version:1.76.0
+Version:1.77.0
 Release:0
 Summary:Library for image processing and image analysis applications
 License:BSD-2-Clause

++ leptonica-1.76.0.tar.gz -> leptonica-1.77.0.tar.gz ++
/work/SRC/openSUSE:Factory/leptonica/leptonica-1.76.0.tar.gz 
/work/SRC/openSUSE:Factory/.leptonica.new.28833/leptonica-1.77.0.tar.gz differ: 
char 5, line 1




commit leptonica for openSUSE:Factory

2018-05-13 Thread root
Hello community,

here is the log from the commit of package leptonica for openSUSE:Factory 
checked in at 2018-05-13 16:05:02

Comparing /work/SRC/openSUSE:Factory/leptonica (Old)
 and  /work/SRC/openSUSE:Factory/.leptonica.new (New)


Package is "leptonica"

Sun May 13 16:05:02 2018 rev:15 rq:605279 version:1.76.0

Changes:

--- /work/SRC/openSUSE:Factory/leptonica/leptonica.changes  2018-02-20 
17:58:35.846855285 +0100
+++ /work/SRC/openSUSE:Factory/.leptonica.new/leptonica.changes 2018-05-13 
16:05:04.630305366 +0200
@@ -1,0 +2,24 @@
+Fri May  4 18:41:49 UTC 2018 - lazy.k...@opensuse.org
+
+- Update to 1.76.0.
+  * Modify infrastructure to fix outstanding security issues.
+By default, you can no longer create temp directories and temp
+files whose names are known to the compiler.  Also, prevent
+"system" calls, which were used for image display and gnuplot.
+  * Replaced remaining sprintf() with snprintf() in prog tests.
+  * Added non-transcoding functions for generating pdf from jpeg
+pixacomp.
+  * Add control of jpeg quality from pixWriteMem() and
+pixWriteStream().
+  * Fixed getFilenamesInDirectory() to properly identify
+directories.
+  * Prevent size overflow in calloc for kernel; cleaned it up fpix
+and dpix.
+  * bmp reading now accepts negative height.
+  * Simplified splitimage2pdf; it no longer uses ps2pdf.
+  * Remove name-mangling WRITE_AS_NAMED compile option.
+  * Removed 2 deprecated write functions.
+  * Added these regression tests: locminmax_reg, speckle_reg,
+watershed_reg.
+
+---

Old:

  leptonica-1.75.3.tar.gz

New:

  leptonica-1.76.0.tar.gz



Other differences:
--
++ leptonica.spec ++
--- /var/tmp/diff_new_pack.ZiD5vf/_old  2018-05-13 16:05:05.854260713 +0200
+++ /var/tmp/diff_new_pack.ZiD5vf/_new  2018-05-13 16:05:05.858260567 +0200
@@ -19,12 +19,12 @@
 %define major   5
 
 Name:   leptonica
-Version:1.75.3
+Version:1.76.0
 Release:0
 Summary:Library for image processing and image analysis applications
 License:BSD-2-Clause
 Group:  Development/Libraries/C and C++
-Url:http://leptonica.org/
+URL:http://leptonica.org/
 Source0:http://leptonica.org/source/%{name}-%{version}.tar.gz
 Source1:baselibs.conf
 BuildRequires:  giflib-devel
@@ -77,32 +77,32 @@
 make %{?_smp_mflags}
 
 %install
-make install DESTDIR="%buildroot"
-rm -f %{buildroot}%{_libdir}/*.la
+%make_install
+find %{buildroot} -type f -name "*.la" -delete -print
 rm -f %{buildroot}%{_bindir}/{*gen,*reg,*test*}
 
 %check
-make check
+make %{?_smp_mflags} check
 
 %post -n liblept%{major} -p /sbin/ldconfig
 
 %postun -n liblept%{major} -p /sbin/ldconfig
 
 %files -n liblept%{major}
-%doc leptonica-license.txt version-notes.html moller52.jpg
+%license leptonica-license.txt
+%doc version-notes.html moller52.jpg
 %defattr(-,root,root)
 %{_libdir}/liblept.so.*
 
 %files devel
-%defattr(-,root,root)
-%doc leptonica-license.txt README.html version-notes.html moller52.jpg
+%license leptonica-license.txt
+%doc README.html version-notes.html moller52.jpg
 %{_includedir}/leptonica/
 %{_libdir}/liblept.so
 %{_libdir}/pkgconfig/*
 
 %files -n leptonica-tools
-%defattr(-,root,root)
-%doc leptonica-license.txt
+%license leptonica-license.txt
 %{_bindir}/lept-*
 
 %changelog

++ leptonica-1.75.3.tar.gz -> leptonica-1.76.0.tar.gz ++
/work/SRC/openSUSE:Factory/leptonica/leptonica-1.75.3.tar.gz 
/work/SRC/openSUSE:Factory/.leptonica.new/leptonica-1.76.0.tar.gz differ: char 
5, line 1




commit leptonica for openSUSE:Factory

2018-02-20 Thread root
Hello community,

here is the log from the commit of package leptonica for openSUSE:Factory 
checked in at 2018-02-20 17:56:57

Comparing /work/SRC/openSUSE:Factory/leptonica (Old)
 and  /work/SRC/openSUSE:Factory/.leptonica.new (New)


Package is "leptonica"

Tue Feb 20 17:56:57 2018 rev:14 rq:578295 version:1.75.3

Changes:

--- /work/SRC/openSUSE:Factory/leptonica/leptonica.changes  2018-02-06 
16:48:54.976736203 +0100
+++ /work/SRC/openSUSE:Factory/.leptonica.new/leptonica.changes 2018-02-20 
17:58:35.846855285 +0100
@@ -1,0 +2,12 @@
+Mon Feb 19 16:30:01 UTC 2018 - kbabi...@suse.com
+
+- Update to 1.75.3:
+  * See changes in the version-notes.html file.
+  * Fixed a stack based buffer overflows in gplotRead() and ptaReadStream()
+when parsing crafted files can lead to denial of service
+(CVE-2018-7186 bsc#1081576)
+  * Fixed a buffer overflow in pixHtmlViewer in prog/htmlviewer.c
+(unsanitized input (rootname)), which could potentially lead to
+arbitrary code exeuction. (CVE-2018-7247 bsc#1081631)
+
+---

Old:

  leptonica-1.75.1.tar.gz

New:

  leptonica-1.75.3.tar.gz



Other differences:
--
++ leptonica.spec ++
--- /var/tmp/diff_new_pack.qzQlYq/_old  2018-02-20 17:58:37.878782154 +0100
+++ /var/tmp/diff_new_pack.qzQlYq/_new  2018-02-20 17:58:37.882782010 +0100
@@ -19,7 +19,7 @@
 %define major   5
 
 Name:   leptonica
-Version:1.75.1
+Version:1.75.3
 Release:0
 Summary:Library for image processing and image analysis applications
 License:BSD-2-Clause

++ leptonica-1.75.1.tar.gz -> leptonica-1.75.3.tar.gz ++
/work/SRC/openSUSE:Factory/leptonica/leptonica-1.75.1.tar.gz 
/work/SRC/openSUSE:Factory/.leptonica.new/leptonica-1.75.3.tar.gz differ: char 
5, line 1




commit leptonica for openSUSE:Factory

2018-02-06 Thread root
Hello community,

here is the log from the commit of package leptonica for openSUSE:Factory 
checked in at 2018-02-06 16:48:23

Comparing /work/SRC/openSUSE:Factory/leptonica (Old)
 and  /work/SRC/openSUSE:Factory/.leptonica.new (New)


Package is "leptonica"

Tue Feb  6 16:48:23 2018 rev:13 rq:572561 version:1.75.1

Changes:

--- /work/SRC/openSUSE:Factory/leptonica/leptonica.changes  2018-02-05 
10:53:30.158927431 +0100
+++ /work/SRC/openSUSE:Factory/.leptonica.new/leptonica.changes 2018-02-06 
16:48:54.976736203 +0100
@@ -1,0 +2,5 @@
+Sun Feb  4 08:43:43 UTC 2018 - jeng...@inai.de
+
+- Fix RPM groups.
+
+---



Other differences:
--
++ leptonica.spec ++
--- /var/tmp/diff_new_pack.rnCMBx/_old  2018-02-06 16:48:55.884693718 +0100
+++ /var/tmp/diff_new_pack.rnCMBx/_new  2018-02-06 16:48:55.888693531 +0100
@@ -23,7 +23,7 @@
 Release:0
 Summary:Library for image processing and image analysis applications
 License:BSD-2-Clause
-Group:  System/Libraries
+Group:  Development/Libraries/C and C++
 Url:http://leptonica.org/
 Source0:http://leptonica.org/source/%{name}-%{version}.tar.gz
 Source1:baselibs.conf




commit leptonica for openSUSE:Factory

2018-02-05 Thread root
Hello community,

here is the log from the commit of package leptonica for openSUSE:Factory 
checked in at 2018-02-05 10:52:44

Comparing /work/SRC/openSUSE:Factory/leptonica (Old)
 and  /work/SRC/openSUSE:Factory/.leptonica.new (New)


Package is "leptonica"

Mon Feb  5 10:52:44 2018 rev:12 rq:572362 version:1.75.1

Changes:

--- /work/SRC/openSUSE:Factory/leptonica/leptonica.changes  2017-12-12 
21:23:01.314276005 +0100
+++ /work/SRC/openSUSE:Factory/.leptonica.new/leptonica.changes 2018-02-05 
10:53:30.158927431 +0100
@@ -1,0 +2,8 @@
+Fri Feb  2 20:03:22 UTC 2018 - lazy.k...@opensuse.org
+
+- Update to 1.75.1.
+  * See changes in the version-notes.html file.
+- Add leptonica-license.txt, version-notes.html, moller52.jpg to
+  docs of the liblept package.
+
+---

Old:

  leptonica-1.74.4.tar.gz

New:

  leptonica-1.75.1.tar.gz



Other differences:
--
++ leptonica.spec ++
--- /var/tmp/diff_new_pack.X6Gbhs/_old  2018-02-05 10:53:31.450867010 +0100
+++ /var/tmp/diff_new_pack.X6Gbhs/_new  2018-02-05 10:53:31.454866823 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package leptonica
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 %define major   5
 
 Name:   leptonica
-Version:1.74.4
+Version:1.75.1
 Release:0
 Summary:Library for image processing and image analysis applications
 License:BSD-2-Clause
@@ -31,12 +31,13 @@
 BuildRequires:  gnuplot
 BuildRequires:  libjpeg-devel
 BuildRequires:  libtool
-%if 0%{?suse_version} > 1310
-BuildRequires:  pkgconfig(libopenjp2)
-%endif
+BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(libpng)
 BuildRequires:  pkgconfig(libtiff-4)
 BuildRequires:  pkgconfig(libwebp) >= 0.2.0
+%if 0%{?suse_version} > 1310
+BuildRequires:  pkgconfig(libopenjp2)
+%endif
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -88,6 +89,7 @@
 %postun -n liblept%{major} -p /sbin/ldconfig
 
 %files -n liblept%{major}
+%doc leptonica-license.txt version-notes.html moller52.jpg
 %defattr(-,root,root)
 %{_libdir}/liblept.so.*
 

++ leptonica-1.74.4.tar.gz -> leptonica-1.75.1.tar.gz ++
/work/SRC/openSUSE:Factory/leptonica/leptonica-1.74.4.tar.gz 
/work/SRC/openSUSE:Factory/.leptonica.new/leptonica-1.75.1.tar.gz differ: char 
5, line 1




commit leptonica for openSUSE:Factory

2017-12-12 Thread root
Hello community,

here is the log from the commit of package leptonica for openSUSE:Factory 
checked in at 2017-12-12 21:22:59

Comparing /work/SRC/openSUSE:Factory/leptonica (Old)
 and  /work/SRC/openSUSE:Factory/.leptonica.new (New)


Package is "leptonica"

Tue Dec 12 21:22:59 2017 rev:11 rq:556082 version:1.74.4

Changes:

--- /work/SRC/openSUSE:Factory/leptonica/leptonica.changes  2017-02-19 
01:03:46.136513704 +0100
+++ /work/SRC/openSUSE:Factory/.leptonica.new/leptonica.changes 2017-12-12 
21:23:01.314276005 +0100
@@ -1,0 +2,7 @@
+Mon Dec 11 20:06:26 UTC 2017 - lazy.k...@opensuse.org
+
+- Update to 1.74.4.
+  * See changes in the version-notes.html file.
+- Add BuildRequires: gnuplot.
+
+---

Old:

  leptonica-1.74.1.tar.gz

New:

  leptonica-1.74.4.tar.gz



Other differences:
--
++ leptonica.spec ++
--- /var/tmp/diff_new_pack.nWPYHC/_old  2017-12-12 21:23:02.314227733 +0100
+++ /var/tmp/diff_new_pack.nWPYHC/_new  2017-12-12 21:23:02.318227540 +0100
@@ -19,7 +19,7 @@
 %define major   5
 
 Name:   leptonica
-Version:1.74.1
+Version:1.74.4
 Release:0
 Summary:Library for image processing and image analysis applications
 License:BSD-2-Clause
@@ -28,6 +28,7 @@
 Source0:http://leptonica.org/source/%{name}-%{version}.tar.gz
 Source1:baselibs.conf
 BuildRequires:  giflib-devel
+BuildRequires:  gnuplot
 BuildRequires:  libjpeg-devel
 BuildRequires:  libtool
 %if 0%{?suse_version} > 1310

++ leptonica-1.74.1.tar.gz -> leptonica-1.74.4.tar.gz ++
/work/SRC/openSUSE:Factory/leptonica/leptonica-1.74.1.tar.gz 
/work/SRC/openSUSE:Factory/.leptonica.new/leptonica-1.74.4.tar.gz differ: char 
5, line 1




commit leptonica for openSUSE:Factory

2017-02-18 Thread root
Hello community,

here is the log from the commit of package leptonica for openSUSE:Factory 
checked in at 2017-02-19 01:03:44

Comparing /work/SRC/openSUSE:Factory/leptonica (Old)
 and  /work/SRC/openSUSE:Factory/.leptonica.new (New)


Package is "leptonica"

Changes:

--- /work/SRC/openSUSE:Factory/leptonica/leptonica.changes  2016-02-11 
12:38:13.0 +0100
+++ /work/SRC/openSUSE:Factory/.leptonica.new/leptonica.changes 2017-02-19 
01:03:46.136513704 +0100
@@ -1,0 +2,55 @@
+Fri Feb 17 14:45:41 UTC 2017 - idon...@suse.com
+
+- Update to version 1.74.1
+  Version 1.74.1 4 Jan 17
+  
+  * Configuration changes to support the patch number in the
+version (major.minor.patch).
+  * Removed all remaining pixDisplayWrite() calls in prog/.
+  * Cleaned up and/or promoted about 15 programs to full regression
+tests.  There are now 95 tests in the regression set.
+  * Over half the initial coverity scan warnings have been removed.
+
+  Version 1.74.0 10 Dec 16
+  * Leptonica development was moved to github.  The master is at:
+github.com/danbloomberg/leptonica
+  * New modes for RGB --> gray conversion.
+  * New functions added for displaying a pix from a pixa.
+  * Split out sort/hash/set/map functions for dna, sarray and pta.
+  * More robust horizontal deskew on multi-column page images.
+  * Improve webpio_reg test.
+  * Remove X11 display for gplot; it is no longer supported.
+  * Remove most sleep calls, which were put in for gplot; no longer needed.
+  * Removed use of gthumb in library.
+  * Removed use of pixDisplayWrite() in the library; still in some progs.
+  * Improved test for endianness in makefile.static; no longer requires
+any local files or building and running a program.
+  * Modified all files for doxygen output (spearheaded by Jurgen Buchmuller)
+  * Improved plotting of the boxes in a boxa.
+  * Replaced the slow point hash function with a simple fast one.
+  * Added pam (4 component) format writing to pnmio.c (Jurgen Buchmuller)
+  * Improved rendering of pixa in side/by/sides.
+  * Better utilities for pixa and pixacomp.
+  * Add read/write serialization functions from/to memory for all
+the major data structures that do not already have them.
+  * More serialized boot recognizers stored as self-generating code.
+  * Cleaned up generating an adapted recognizer from the boot recognizer.
+  * Simplified temp file naming; removed most instances of named
+temp files from non-debug code; use tmpfile() and a wrapper
+l_makeTempFilename().
+  * Simplify and streamline multipage tiff reading (Jeff Breidenbach).
+  * Improvement of Otsu thresholding.
+  * Recognize outstanding contributors to leptonica over the years.
+  * New gif mem read/write interface that avoids writing a temp file,
+contributed by Tobias Peirick.
+  * Use double arrays (dna) instead of float (numa) for set ops.
+  * Cleanup of gray quantization functions and tests.
+  * Refactored connectivity-conserving operations, to make them more useful.
+  * Provided methods for measuring and regularizing the width of strokes.
+  * Removed viewfiles.c from library; code is now in prog htmlviewer.c.
+  * Better debugging in page segmentation (pageseg.c)
+  * Deprecated the pixDisplayWrite*() debugging methods.
+  * Added about 15 regression tests to the framework in alltests_reg.c
+  * Final mods for compatibility with tesseract 4.00.
+
+---

Old:

  leptonica-1.73.tar.gz

New:

  leptonica-1.74.1.tar.gz



Other differences:
--
++ leptonica.spec ++
--- /var/tmp/diff_new_pack.isueYK/_old  2017-02-19 01:03:46.868410871 +0100
+++ /var/tmp/diff_new_pack.isueYK/_new  2017-02-19 01:03:46.872410310 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package leptonica
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 %define major   5
 
 Name:   leptonica
-Version:1.73
+Version:1.74.1
 Release:0
 Summary:Library for image processing and image analysis applications
 License:BSD-2-Clause
@@ -79,6 +79,9 @@
 rm -f %{buildroot}%{_libdir}/*.la
 rm -f %{buildroot}%{_bindir}/{*gen,*reg,*test*}
 
+%check
+make check
+
 %post -n liblept%{major} -p /sbin/ldconfig
 
 %postun -n liblept%{major} -p /sbin/ldconfig

++ leptonica-1.73.tar.gz -> leptonica-1.74.1.tar.gz ++
/work/SRC/openSUSE:Factory/leptonica/leptonica-1.73.tar.gz 
/work/SRC/openSUSE:Factory/.leptonica.new/leptonica-1.74.1.tar.gz differ: char 
5, line 1



commit leptonica for openSUSE:Factory

2016-02-11 Thread h_root
Hello community,

here is the log from the commit of package leptonica for openSUSE:Factory 
checked in at 2016-02-11 12:38:11

Comparing /work/SRC/openSUSE:Factory/leptonica (Old)
 and  /work/SRC/openSUSE:Factory/.leptonica.new (New)


Package is "leptonica"

Changes:

--- /work/SRC/openSUSE:Factory/leptonica/leptonica.changes  2015-09-30 
05:53:06.0 +0200
+++ /work/SRC/openSUSE:Factory/.leptonica.new/leptonica.changes 2016-02-11 
12:38:13.0 +0100
@@ -1,0 +2,20 @@
+Tue Feb  2 23:50:50 UTC 2016 - lazy.k...@opensuse.org
+
+- Update to 1.73.
+  * All lept_* functions have been rewritten to avoid path rewrites
+for output to temp files, which were introduced in 1.72.
+  * Added grayscale histogram functions that can be used to compare
+images.
+  * Added functions to determine if an image region has horizontal
+text lines.
+  * Added functions to compare photo regions of images to determine
+if they're essentially the same.
+  * Added red-black tree utility functions to implement maps and
+sets.
+  * Improved security of tiff and gif reading, to prevent memory
+corruption when reading bad data.
+- Change major library version to 5.
+- Change programs prefix from "leptonica" to "lept" (make the names
+  simpler to use).
+
+---

Old:

  leptonica-1.72.tar.gz

New:

  leptonica-1.73.tar.gz



Other differences:
--
++ leptonica.spec ++
--- /var/tmp/diff_new_pack.7uxaZc/_old  2016-02-11 12:38:14.0 +0100
+++ /var/tmp/diff_new_pack.7uxaZc/_new  2016-02-11 12:38:14.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package leptonica
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,10 +16,10 @@
 #
 
 
-%define major   4
+%define major   5
 
 Name:   leptonica
-Version:1.72
+Version:1.73
 Release:0
 Summary:Library for image processing and image analysis applications
 License:BSD-2-Clause
@@ -31,7 +31,7 @@
 BuildRequires:  libjpeg-devel
 BuildRequires:  libtool
 %if 0%{?suse_version} > 1310
-BuildRequires:  openjpeg2-devel
+BuildRequires:  pkgconfig(libopenjp2)
 %endif
 BuildRequires:  pkgconfig(libpng)
 BuildRequires:  pkgconfig(libtiff-4)
@@ -71,7 +71,7 @@
 %build
 %configure \
 --disable-static \
---program-prefix=leptonica-
+--program-prefix=lept-
 make %{?_smp_mflags}
 
 %install
@@ -97,6 +97,6 @@
 %files -n leptonica-tools
 %defattr(-,root,root)
 %doc leptonica-license.txt
-%{_bindir}/leptonica-*
+%{_bindir}/lept-*
 
 %changelog

++ baselibs.conf ++
--- /var/tmp/diff_new_pack.7uxaZc/_old  2016-02-11 12:38:14.0 +0100
+++ /var/tmp/diff_new_pack.7uxaZc/_new  2016-02-11 12:38:14.0 +0100
@@ -1 +1 @@
-liblept4
+liblept5

++ leptonica-1.72.tar.gz -> leptonica-1.73.tar.gz ++
/work/SRC/openSUSE:Factory/leptonica/leptonica-1.72.tar.gz 
/work/SRC/openSUSE:Factory/.leptonica.new/leptonica-1.73.tar.gz differ: char 5, 
line 1




commit leptonica for openSUSE:Factory

2015-09-29 Thread h_root
Hello community,

here is the log from the commit of package leptonica for openSUSE:Factory 
checked in at 2015-09-30 05:52:59

Comparing /work/SRC/openSUSE:Factory/leptonica (Old)
 and  /work/SRC/openSUSE:Factory/.leptonica.new (New)


Package is "leptonica"

Changes:

--- /work/SRC/openSUSE:Factory/leptonica/leptonica.changes  2014-10-02 
14:14:05.0 +0200
+++ /work/SRC/openSUSE:Factory/.leptonica.new/leptonica.changes 2015-09-30 
05:53:06.0 +0200
@@ -1,0 +2,34 @@
+Sun Sep 27 20:56:59 UTC 2015 - asterios.dra...@gmail.com
+
+- Update to 1.72:
+  * Better handling of 1 bpp colormap read/write with png so that
+they are losseless. The colormap is always removed on read and
+the conversion is to the simplest non-cmapped pix that can
+fully represent the input -- both with and without alpha.
+  * Fixed overflow bug in pixCorrelationBinary().
+  * Fixed orientation flags and handling of 16 bit RGB in tiff.
+  * Also new wrappers to TIFFClientOpen(), so we no longer go
+through the file descriptor for memory operations.
+  * Improvements in the dewarp functions.
+  * New box sequence smoothings.
+  * New antialiased painting through mask; previously it was only
+implemented for connected components in a mask.
+  * Better error handling and debug output with jpeg2000
+read/write.
+  * Implemented base64 encoding. This allows binary data to be
+represented as a C string that can be compiled. Used this in
+bmf utility.
+  * Implemented automatic code generation for deserialization from
+compiled strings (stringcode.*)
+  * Regression tests write to leptonica subdir of in windows; in
+unix it is optional.  This avoids spamming the directory.
+  * Added new colorspace conversions (XYZ, LAB).
+  * New source files: encoding.c, bmfdata.h, stringcode.c,
+stringcode.h, bootnumgen.c.
+  * Removed source files: convolvelow.c, graymorphlow.c
+  * New programs: genfonts_reg, colorize_reg, texturefill_reg,
+autogentest1, autogentest2.
+  * alltests_reg now has 66 tests.
+- Added new build requirement openjpeg2-devel for openSUSE > 13.1.
+
+---

Old:

  leptonica-1.71.tar.gz

New:

  leptonica-1.72.tar.gz



Other differences:
--
++ leptonica.spec ++
--- /var/tmp/diff_new_pack.4O2Lbd/_old  2015-09-30 05:53:07.0 +0200
+++ /var/tmp/diff_new_pack.4O2Lbd/_new  2015-09-30 05:53:07.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package leptonica
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,9 +19,9 @@
 %define major   4
 
 Name:   leptonica
-Version:1.71
+Version:1.72
 Release:0
-Summary:Leptonica Library
+Summary:Library for image processing and image analysis applications
 License:BSD-2-Clause
 Group:  System/Libraries
 Url:http://leptonica.org/
@@ -30,6 +30,9 @@
 BuildRequires:  giflib-devel
 BuildRequires:  libjpeg-devel
 BuildRequires:  libtool
+%if 0%{?suse_version} > 1310
+BuildRequires:  openjpeg2-devel
+%endif
 BuildRequires:  pkgconfig(libpng)
 BuildRequires:  pkgconfig(libtiff-4)
 BuildRequires:  pkgconfig(libwebp) >= 0.2.0
@@ -39,7 +42,7 @@
 Library for efficient image processing and image analysis operations.
 
 %package -n liblept%{major}
-Summary:Leptonica Library
+Summary:Library for image processing and image analysis applications
 Group:  System/Libraries
 
 %description -n liblept%{major}

++ leptonica-1.71.tar.gz -> leptonica-1.72.tar.gz ++
/work/SRC/openSUSE:Factory/leptonica/leptonica-1.71.tar.gz 
/work/SRC/openSUSE:Factory/.leptonica.new/leptonica-1.72.tar.gz differ: char 5, 
line 1




commit leptonica for openSUSE:Factory

2014-10-02 Thread h_root
Hello community,

here is the log from the commit of package leptonica for openSUSE:Factory 
checked in at 2014-10-02 14:13:42

Comparing /work/SRC/openSUSE:Factory/leptonica (Old)
 and  /work/SRC/openSUSE:Factory/.leptonica.new (New)


Package is leptonica

Changes:

--- /work/SRC/openSUSE:Factory/leptonica/leptonica.changes  2014-01-30 
11:28:08.0 +0100
+++ /work/SRC/openSUSE:Factory/.leptonica.new/leptonica.changes 2014-10-02 
14:14:05.0 +0200
@@ -1,0 +2,36 @@
+Sat Sep 27 06:01:17 UTC 2014 - lazy.k...@opensuse.org
+
+- Update to 1.71.
+  * This version supports tesseract 3.0.4. In particular, 3.0.4 has
+automatic conversion of a set of scanned images, either in a
+directory or coming directly from a scanner, into pdf with
+injected text. This is something we've wanted to do for several
+years!
+  * Improved jp2k header reading, including resolution.
+  * Removed src files: rotateorthlow.c, pdfio.c, pdfiostub.c.
+  * Renamed jp2kio.c, jp2kiostub.c == jp2kheader.c,
+jp2kheaderstub.c. These header reading functions parse the jp2k
+files, and don't require a jpeg2000 library.
+  * New jp2kio.c, jp2kiostub.c, that uses openjpeg-2.X to read and
+write jp2k. We now support I/O from these formats: png, tiff,
+jpeg, bmp, pnm, webp, gif and jp2k as well as writing to
+PostScript and pdf.
+  * New pdfio1.c, pdfio1stub.c, pdfio2.c pdfio2stub.c, where we've
+split functions into high and low level.
+  * Fixed memory bug in bilateral.c.
+  * Improved reading/write of binary data from file. For example,
+l_binaryReadStream() can now be used to capture data piped in
+via stdin.
+  * Font directory now arg passed in everywhere (not hardcoded).
+  * Don't write temporary files to /tmp; only to a small number of
+subdirectories, to avoid spamming the /tmp directory. E.g., for
+regression tests, the current output is now to /tmp/regout/.
+  * For jpeg reading modify pixReadJpeg() to take as a hint a bit
+flag that allows extraction of only the luminance channel.
+  * Allow wrapping of pdf objects from png images without
+transcoding.
+  * Better support for alpha on read/write with png, including 1
+bpp with colormap, alpha (supported in png with transparency
+array).
+
+---

Old:

  leptonica-1.70.tar.gz

New:

  leptonica-1.71.tar.gz



Other differences:
--
++ leptonica.spec ++
--- /var/tmp/diff_new_pack.ftUBtM/_old  2014-10-02 14:14:09.0 +0200
+++ /var/tmp/diff_new_pack.ftUBtM/_new  2014-10-02 14:14:09.0 +0200
@@ -19,7 +19,7 @@
 %define major   4
 
 Name:   leptonica
-Version:1.70
+Version:1.71
 Release:0
 Summary:Leptonica Library
 License:BSD-2-Clause

++ leptonica-1.70.tar.gz - leptonica-1.71.tar.gz ++
/work/SRC/openSUSE:Factory/leptonica/leptonica-1.70.tar.gz 
/work/SRC/openSUSE:Factory/.leptonica.new/leptonica-1.71.tar.gz differ: char 5, 
line 1

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit leptonica for openSUSE:Factory

2014-01-30 Thread h_root
Hello community,

here is the log from the commit of package leptonica for openSUSE:Factory 
checked in at 2014-01-30 11:28:07

Comparing /work/SRC/openSUSE:Factory/leptonica (Old)
 and  /work/SRC/openSUSE:Factory/.leptonica.new (New)


Package is leptonica

Changes:

--- /work/SRC/openSUSE:Factory/leptonica/leptonica.changes  2013-03-18 
07:07:05.0 +0100
+++ /work/SRC/openSUSE:Factory/.leptonica.new/leptonica.changes 2014-01-30 
11:28:08.0 +0100
@@ -1,0 +2,24 @@
+Sun Jan 26 07:46:30 UTC 2014 - lazy.k...@opensuse.org
+
+- Update to 1.70.
+  * New bilateral filtering.
+  * New simple character recognition utility.
+  * Improved dewarping functionality, in model building and
+rendering. More flexible use of ref models.
+  * Better and more consistent handling of alpha layer in RGBA,
+though use of the spp field.  Ability to handle more png files
+with alpha, including palette with alpha.
+  * New fast converters from jpeg and jpeg2000 to pdf, without
+transcoding.
+  * Made bmp reader (and pix reading in general) more robust; avoid
+size overflow errors.
+  * New text labelling operations; depth conversion of a set of
+images.
+- Major version changed to 4.
+- Rename liblept-devel to leptonica-devel.
+- Drop liblept-1.69-no_return and leptonica-1.69-giflib5 patches
+  (fixed upstream).
+- BuildRequires: pkgconfig(libwebp) = 0.2.0
+- Correct URL and a source URL.
+
+---

Old:

  leptonica-1.69-giflib5.patch
  leptonica-1.69.tar.bz2
  liblept-1.69-no_return.patch

New:

  leptonica-1.70.tar.gz



Other differences:
--
++ leptonica.spec ++
--- /var/tmp/diff_new_pack.dT6rCT/_old  2014-01-30 11:28:09.0 +0100
+++ /var/tmp/diff_new_pack.dT6rCT/_new  2014-01-30 11:28:09.0 +0100
@@ -1,8 +1,7 @@
 #
 # spec file for package leptonica
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
-# Copyright (c) 2013 B1 Systems GmbH, Vohburg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,29 +16,23 @@
 #
 
 
-%define major   3
+%define major   4
 
 Name:   leptonica
-Version:1.69
+Version:1.70
 Release:0
 Summary:Leptonica Library
 License:BSD-2-Clause
 Group:  System/Libraries
-Url:http://code.google.com/p/leptonica/
-Source0:
http://leptonica.googlecode.com/files/leptonica-%{version}.tar.bz2
+Url:http://leptonica.org/
+Source0:http://leptonica.org/source/%{name}-%{version}.tar.gz
 Source1:baselibs.conf
-# PATCH-FIX-UPSTREAM liblept-1.69-no_return.patch lazy.k...@opensuse.org -- 
fix no-return-in-nonvoid-function error
-# Reported upstream: http://code.google.com/p/leptonica/issues/detail?id=69
-Patch0: liblept-1.69-no_return.patch
-Patch1: leptonica-1.69-giflib5.patch
 BuildRequires:  giflib-devel
 BuildRequires:  libjpeg-devel
-BuildRequires:  libpng-devel
-BuildRequires:  libtiff-devel
 BuildRequires:  libtool
-%if 0%{?suse_version} = 1210
-BuildRequires:  pkgconfig(libwebp)
-%endif
+BuildRequires:  pkgconfig(libpng)
+BuildRequires:  pkgconfig(libtiff-4)
+BuildRequires:  pkgconfig(libwebp) = 0.2.0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -52,13 +45,15 @@
 %description -n liblept%{major}
 Library for efficient image processing and image analysis operations.
 
-%package -n liblept-devel
+%package devel
 Summary:Leptonica Development Files
 Group:  Development/Libraries/C and C++
 Requires:   liblept%{major} = %{version}
+Provides:   liblept-devel = %{version}
+Obsoletes:  liblept-devel  1.70
 
-%description -n liblept-devel
-Development files for Leptonica library.
+%description devel
+Development files for the Leptonica library.
 
 %package tools
 Summary:Leptonica tools
@@ -69,8 +64,6 @@
 
 %prep
 %setup -q
-%patch -P 0 -p0
-%patch1 -p1
 
 %build
 %configure \
@@ -89,13 +82,14 @@
 
 %files -n liblept%{major}
 %defattr(-,root,root)
-%{_libdir}/liblept.so.3*
+%{_libdir}/liblept.so.*
 
-%files -n liblept-devel
+%files devel
 %defattr(-,root,root)
 %doc leptonica-license.txt README.html version-notes.html moller52.jpg
-%{_includedir}/leptonica
+%{_includedir}/leptonica/
 %{_libdir}/liblept.so
+%{_libdir}/pkgconfig/*
 
 %files -n leptonica-tools
 %defattr(-,root,root)

++ baselibs.conf ++
--- /var/tmp/diff_new_pack.dT6rCT/_old  2014-01-30 11:28:09.0 +0100
+++ /var/tmp/diff_new_pack.dT6rCT/_new  2014-01-30 11:28:09.0 +0100
@@ -1 +1 @@

commit leptonica for openSUSE:Factory

2013-03-18 Thread h_root
Hello community,

here is the log from the commit of package leptonica for openSUSE:Factory 
checked in at 2013-03-18 07:07:04

Comparing /work/SRC/openSUSE:Factory/leptonica (Old)
 and  /work/SRC/openSUSE:Factory/.leptonica.new (New)


Package is leptonica, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/leptonica/leptonica.changes  2012-08-28 
20:47:49.0 +0200
+++ /work/SRC/openSUSE:Factory/.leptonica.new/leptonica.changes 2013-03-18 
07:07:05.0 +0100
@@ -1,0 +2,5 @@
+Tue Mar 12 22:17:39 UTC 2013 - seife+...@b1-systems.com
+
+- fix build with giflib-5.x, leptonica-1.69-giflib5.patch
+
+---

New:

  leptonica-1.69-giflib5.patch



Other differences:
--
++ leptonica.spec ++
--- /var/tmp/diff_new_pack.1IozGy/_old  2013-03-18 07:07:07.0 +0100
+++ /var/tmp/diff_new_pack.1IozGy/_new  2013-03-18 07:07:07.0 +0100
@@ -1,7 +1,8 @@
 #
 # spec file for package leptonica
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 B1 Systems GmbH, Vohburg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -30,6 +31,7 @@
 # PATCH-FIX-UPSTREAM liblept-1.69-no_return.patch lazy.k...@opensuse.org -- 
fix no-return-in-nonvoid-function error
 # Reported upstream: http://code.google.com/p/leptonica/issues/detail?id=69
 Patch0: liblept-1.69-no_return.patch
+Patch1: leptonica-1.69-giflib5.patch
 BuildRequires:  giflib-devel
 BuildRequires:  libjpeg-devel
 BuildRequires:  libpng-devel
@@ -68,6 +70,7 @@
 %prep
 %setup -q
 %patch -P 0 -p0
+%patch1 -p1
 
 %build
 %configure \

++ leptonica-1.69-giflib5.patch ++
diff --git a/src/gifio.c b/src/gifio.c
index f653ae2..e086380 100644
--- a/src/gifio.c
+++ b/src/gifio.c
@@ -100,7 +100,11 @@ SavedImage   si;
 _lseek(fd, 0, SEEK_SET);
 #endif  /* _MSC_VER */
 
+#if GIFLIB_MAJOR  5
 if ((gif = DGifOpenFileHandle(fd)) == NULL)
+#else
+if ((gif = DGifOpenFileHandle(fd, NULL)) == NULL)
+#endif
 return (PIX *)ERROR_PTR(invalid file or file not found,
 procName, NULL);
 
@@ -316,6 +320,10 @@ GifByteType *gif_line;
 }
 
 /* Save the cmap colors in a gif_cmap */
+#if GIFLIB_MAJOR = 5
+#define MakeMapObject GifMakeMapObject
+#define FreeMapObject GifFreeMapObject
+#endif
 if ((gif_cmap = MakeMapObject(gif_ncolor, NULL)) == NULL) {
 pixDestroy(pixd);
 return ERROR_INT(failed to create GIF color map, procName, 1);
@@ -337,7 +345,11 @@ GifByteType *gif_line;
 }
 
 /* Get the gif file handle */
+#if GIFLIB_MAJOR  5
 if ((gif = EGifOpenFileHandle(fd)) == NULL) {
+#else
+if ((gif = EGifOpenFileHandle(fd, NULL)) == NULL) {
+#endif
 pixDestroy(pixd);
 FreeMapObject(gif_cmap);
 return ERROR_INT(failed to create GIF image handle, procName, 1);
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org