commit 3c79bbdb94aaca6415ea547b8debf9009673a16ce656bb93cb04ce1e776d347b Author: OBS User unknown Date: Mon Jan 15 23:10:16 2007 +0000 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/djvulibre?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/djvulibre-3.5.17-filepath.patch b/djvulibre-3.5.17-filepath.patch new file mode 100644 index 0000000..17497a1 --- /dev/null +++ b/djvulibre-3.5.17-filepath.patch @@ -0,0 +1,11 @@ +--- doc/minilisp/README ++++ doc/minilisp/README +@@ -3,7 +3,7 @@ + ---------------- + + Files and in directory +- implement the basic data ++ implement the basic data + structure of a lisp interpreter: s-expressions. + + S-expressions can be viewed as a simple and powerful diff --git a/djvulibre-3.5.17-nsdejavu.patch b/djvulibre-3.5.17-nsdejavu.patch new file mode 100644 index 0000000..6ebf82a --- /dev/null +++ b/djvulibre-3.5.17-nsdejavu.patch @@ -0,0 +1,11 @@ +--- gui/nsdejavu/Makefile.in 2003-01-06 15:09:56.000000000 +0100 ++++ gui/nsdejavu/Makefile.in 2003-09-30 12:24:14.000000000 +0200 +@@ -25,7 +25,7 @@ + datadir = @datadir@ + libdir = @libdir@ + mandir = @mandir@ +-plugindir = ${libdir}/netscape/plugins ++plugindir = ${libdir}/browser-plugins + + CC = @CC@ + CXX = @CXX@ diff --git a/djvulibre-3.5.17-strip.patch b/djvulibre-3.5.17-strip.patch new file mode 100644 index 0000000..533b4e1 --- /dev/null +++ b/djvulibre-3.5.17-strip.patch @@ -0,0 +1,33 @@ +--- gui/djview/Makefile.in ++++ gui/djview/Makefile.in +@@ -174,7 +174,7 @@ + install-bin: ${PROGRAM} FORCE + ${INSTALL} -d ${DESTDIR}${bindir} + ${LIBTOOL} --mode=install \ +- ${INSTALL_PROGRAM} -s ${PROGRAM} ${DESTDIR}${bindir} ++ ${INSTALL_PROGRAM} ${PROGRAM} ${DESTDIR}${bindir} + + install-man: FORCE + ${INSTALL} -d ${DESTDIR}${mandir}/man1 +--- tools/Makefile.in ++++ tools/Makefile.in +@@ -75,7 +75,7 @@ + ${INSTALL} -d ${DESTDIR}${bindir} + for n in ${PROGRAMS} ; do \ + ${LIBTOOL} --mode=install \ +- ${INSTALL_PROGRAM} -s $$n ${DESTDIR}${bindir} \ ++ ${INSTALL_PROGRAM} $$n ${DESTDIR}${bindir} \ + || exit ; done + + install-scripts: FORCE +--- xmltools/Makefile.in ++++ xmltools/Makefile.in +@@ -63,7 +63,7 @@ + ${INSTALL} -d ${DESTDIR}${bindir} + for n in ${PROGRAMS} ; do \ + ${LIBTOOL} --mode=install \ +- ${INSTALL_PROGRAM} -s $$n ${DESTDIR}${bindir} \ ++ ${INSTALL_PROGRAM} $$n ${DESTDIR}${bindir} \ + || exit ; done + + install-data: FORCE diff --git a/djvulibre-3.5.17-utf8.patch b/djvulibre-3.5.17-utf8.patch new file mode 100644 index 0000000..a92de35 --- /dev/null +++ b/djvulibre-3.5.17-utf8.patch @@ -0,0 +1,20 @@ +--- README ++++ README +@@ -2,7 +2,7 @@ + 1- WHAT IS DJVU. + ================ + +-DjVu (pronounced "déjà vu") a set of compression technologies, a file format, ++DjVu (pronounced "déjà vu") a set of compression technologies, a file format, + and a software platform for the delivery over the Web of digital documents, + scanned documents, and high resolution images. + +@@ -48,7 +48,7 @@ + + In an effort to promote DjVu as a Web standard, LizardTech's management was + enlightened enough to release the reference implementation of DjVu under the +-GNU GPL in October 2000. DjVuLibre (pronounced like the French "déjà vu ++GNU GPL in October 2000. DjVuLibre (pronounced like the French "déjà vu + libre"), is an enhanced version of that code maintained by the original + inventors of DjVu. It is compatible with LizardTech's DjVu software v3.5. + diff --git a/djvulibre-3.5.17.tar.bz2 b/djvulibre-3.5.17.tar.bz2 new file mode 100644 index 0000000..15474bd --- /dev/null +++ b/djvulibre-3.5.17.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:804f0853d9f9026b28daccd1c4f531d4b5d13e5996e99282450a4099799dcaab +size 1970347 diff --git a/djvulibre.changes b/djvulibre.changes new file mode 100644 index 0000000..253e645 --- /dev/null +++ b/djvulibre.changes @@ -0,0 +1,190 @@ +------------------------------------------------------------------- +Sat Aug 5 16:53:50 CEST 2006 - lmichnovic@suse.cz + +- specifying --x-libraries and --x-include due to new paths in new + X.org 7.x. +- added qt3-devel-tools and libtiff-devel into BuildRequires which + enhance functionality + +------------------------------------------------------------------- +Wed Jul 12 12:40:38 CEST 2006 - lmichnovic@suse.cz + +- update to version 3.5.17 + - Various enhancement of DDJVUAPI. + - Compiles with the GCC-4.1. + - using MSVC using the provided project files. + - Minor bug fixes in csepdjvu text extraction. + - Fixed leak in csepdjvu, cpaldjvu and cjb2. + +------------------------------------------------------------------- +Wed Jan 25 21:35:31 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Fri Jan 20 18:10:47 CET 2006 - schwab@suse.de + +- Don't strip binaries. + +------------------------------------------------------------------- +Wed Nov 23 14:16:23 CET 2005 - lmichnovic@suse.cz + +- added -fno-strict-aliasing into CXXFLAGS + +------------------------------------------------------------------- +Tue Nov 1 16:07:35 CET 2005 - lmichnovic@suse.cz + +- upgrade to version 3.5.16 + upgrade fixes missing binary any2djvu (#131761) + +------------------------------------------------------------------- +Wed Oct 19 19:40:40 CEST 2005 - lmichnovic@suse.cz + +- fixed invalid extra qualification for build with new gcc 4.1 + +------------------------------------------------------------------- +Wed Sep 28 23:41:07 CEST 2005 - dmueller@suse.de + +- add norootforbuild + +------------------------------------------------------------------- +Wed May 25 10:43:01 CEST 2005 - ltinkl@suse.cz + +- fix build with gcc41 + +------------------------------------------------------------------- +Tue Feb 22 16:47:29 CET 2005 - meissner@suse.de + +- fixed XtVa* lists calls 0 -> NULL. + +------------------------------------------------------------------- +Tue Feb 1 09:44:02 CET 2005 - meissner@suse.de + +- fixed one execl call 0->NULL. + +------------------------------------------------------------------- +Wed Sep 29 09:30:03 CEST 2004 - ke@suse.de + +- Recode README in UTF-8 encoding [#46179]. + +------------------------------------------------------------------- +Mon Aug 9 17:32:29 CEST 2004 - ro@suse.de + +- added directory to filelist + +------------------------------------------------------------------- +Fri Aug 06 12:35:09 CEST 2004 - ltinkl@suse.cz + +- update to 3.5.14 + +------------------------------------------------------------------- +Mon May 17 16:24:14 CEST 2004 - ltinkl@suse.cz + +- updated to latest version 3.5.13 +- redone the patch +- simplified and updated list of packaged files + +------------------------------------------------------------------- +Tue Sep 30 13:27:25 CEST 2003 - ltinkl@suse.cz + +- updated to 3.5.12 +- ported the patch + +------------------------------------------------------------------- +Mon Aug 25 17:18:14 CEST 2003 - ro@suse.de + +- fix compile with current gcc + +------------------------------------------------------------------- +Wed Jun 04 19:09:36 CEST 2003 - mjancar@suse.cz + +- update to 3.5.11 + * added support for mouse wheel + * added support for LT toolbar control args + * improved csepdjvu option -bgwhite + * Djview and djvups now can print booklets + * Djview main dialogs have a help button + * Djview key space does continuous reading now + * annotation strings now recognize C escape sequences + * and some fixes +- add URL +- use buildroot +- use $RPM_OPT_FLAGS + +------------------------------------------------------------------- +Mon Feb 24 15:33:41 CET 2003 - ro@suse.de + +- move to libdir/browser-plugins + +------------------------------------------------------------------- +Sat Dec 28 21:27:36 CET 2002 - prehak@suse.cz + +- fixed to build with gcc-3.3 +- added %clean section + +------------------------------------------------------------------- +Thu Oct 31 14:30:53 CET 2002 - uli@suse.de + +- update -> 3.5.9 (gcc-3.2, fix for broken command ddjvu, modified + IW44 for ARM processors) +- going down to -O1 on x86-64 to avoid segfault in djview +- cutting optimization on Alpha as well + +------------------------------------------------------------------- +Wed Aug 7 16:50:38 CEST 2002 - uli@suse.de + +- update -> 3.5.8 (fixed printing of b&w documents,fixes for + gcc-3.1) + +------------------------------------------------------------------- +Tue Jul 23 13:00:30 CEST 2002 - uli@suse.de + +- update -> 3.5.7 (minor fixes) + +------------------------------------------------------------------- +Fri Jun 28 10:40:18 CEST 2002 - uli@suse.de + +- build with -O2 on x86-64 to avoid miscompilation + +------------------------------------------------------------------- +Fri Jun 7 15:29:16 CEST 2002 - uli@suse.de + +- update -> 3.5.6: + Added option -bgwhite in cpaldjvu + Removed annoying flicker with djview/Qt3. + Fixed show stopper in djvused. + Fixed bug in djview print dialog. + Added CGI program djvuserve. + +------------------------------------------------------------------- +Tue May 14 10:56:23 CEST 2002 - uli@suse.de + +- find Qt3 in lib64 if applicable +- still doesn't build on x86-64, maybe bin2cpp gets miscompiled + +------------------------------------------------------------------- +Thu Apr 18 13:28:17 CEST 2002 - uli@suse.de + +- fixed to build with gcc 3.1 + +------------------------------------------------------------------- +Fri Feb 1 11:19:51 CET 2002 - uli@suse.de + +- use %_libdir + +------------------------------------------------------------------- +Thu Jan 31 17:52:07 CET 2002 - uli@suse.de + +- added plugin to mozilla plugin dir + +------------------------------------------------------------------- +Fri Jan 18 13:44:24 CET 2002 - uli@suse.de + +- update -> 3.5.3 (builds with Qt3, adds djvups tool) + +------------------------------------------------------------------- +Wed Dec 12 13:48:18 CET 2001 - uli@suse.de + +- initial package + + diff --git a/djvulibre.spec b/djvulibre.spec new file mode 100644 index 0000000..061ec22 --- /dev/null +++ b/djvulibre.spec @@ -0,0 +1,189 @@ +# +# spec file for package djvulibre (Version 3.5.17) +# +# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# This file and all modifications and additions to the pristine +# package are under the same license as the package itself. +# +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# norootforbuild + +Name: djvulibre +BuildRequires: libdrm-devel libjpeg-devel libtiff-devel qt3-devel qt3-devel-tools update-desktop-files xorg-x11-devel +License: GPL +Group: Productivity/Graphics/Other +Autoreqprov: on +Version: 3.5.17 +Release: 2 +URL: http://djvu.sourceforge.net +Summary: An Open Source Implementation of DjVu +Source: %{name}-%{version}.tar.bz2 +Patch: %{name}-%{version}-nsdejavu.patch +Patch1: %{name}-%{version}-utf8.patch +Patch3: %{name}-%{version}-filepath.patch +Patch4: %{name}-%{version}-strip.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +DjVu is a Web-centric format and software platform for distributing +documents and images. DjVuLibre is an open source (GPL) implementation +of DjVu, including viewers, browser plug-ins, decoders, simple +encoders, and utilities. DjVu can advantageously replace PDF, PS, TIFF, +JPEG, and GIF for distributing scanned documents, digital documents, or +high-resolution pictures. DjVu content downloads faster, displays and +renders faster, looks nicer on a screen, and consumes less client +resources than competing formats. DjVu images display instantly and can +be smoothly zoomed and panned with no lengthy rerendering. DjVu is used +by hundreds of academic, commercial, governmental, and noncommercial +Web sites around the world. + + + +Authors: +-------- + Dr Bill C Riemers + Leon Bottou + Yann LeCun + +%prep +%setup +%patch +%patch1 +%patch3 +%patch4 + +%build +# specifying --x-libraries and -includes is needed due to new paths in X.org 7.x +# delete them if builds against X.org 6.9 or lower +CFLAGS="$RPM_OPT_FLAGS -I$QTDIR/include -Wall" \ +CXXFLAGS="$RPM_OPT_FLAGS -I$QTDIR/include -Wall -fmessage-length=0 -fno-strict-aliasing" \ +QT_LIBS="-L/usr/%_lib/qt3/%{_lib} -lqt-mt" \ + ./configure \ + --prefix=%{_prefix} \ + --libdir=%{_libdir} \ + --mandir=%{_mandir} \ + --x-includes=/usr/include/ \ + --x-libraries=/usr/%{_lib}/ \ + --with-qt=/usr/%_lib/qt3 +make OPTS="$RPM_OPT_FLAGS -Wall -fmessage-length=0 -DNO_DEBUG" + +%install +make install DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +%doc COPYING COPYRIGHT INSTALL NEWS README TODO doc/* +%doc %{_mandir}/man1/* +%doc %{_mandir}/ja/* +%{_datadir}/djvu +%{_bindir}/* +%{_libdir}/libdjvulibre* +%{_libdir}/browser-plugins/nsdejavu.so +%{_datadir}/icons/* +%{_datadir}/pixmaps/djvu.png +%dir %{_prefix}/include/libdjvu +%{_prefix}/include/libdjvu/*.h +%{_libdir}/pkgconfig/ddjvuapi.pc + +%changelog -n djvulibre +* Sat Aug 05 2006 - lmichnovic@suse.cz +- specifying --x-libraries and --x-include due to new paths in new + X.org 7.x. +- added qt3-devel-tools and libtiff-devel into BuildRequires which + enhance functionality +* Wed Jul 12 2006 - lmichnovic@suse.cz +- update to version 3.5.17 +- Various enhancement of DDJVUAPI. +- Compiles with the GCC-4.1. +- using MSVC using the provided project files. +- Minor bug fixes in csepdjvu text extraction. +- Fixed leak in csepdjvu, cpaldjvu and cjb2. +* Wed Jan 25 2006 - mls@suse.de +- converted neededforbuild to BuildRequires +* Fri Jan 20 2006 - schwab@suse.de +- Don't strip binaries. +* Wed Nov 23 2005 - lmichnovic@suse.cz +- added -fno-strict-aliasing into CXXFLAGS +* Tue Nov 01 2005 - lmichnovic@suse.cz +- upgrade to version 3.5.16 + upgrade fixes missing binary any2djvu (#131761) +* Wed Oct 19 2005 - lmichnovic@suse.cz +- fixed invalid extra qualification for build with new gcc 4.1 +* Wed Sep 28 2005 - dmueller@suse.de +- add norootforbuild +* Wed May 25 2005 - ltinkl@suse.cz +- fix build with gcc41 +* Tue Feb 22 2005 - meissner@suse.de +- fixed XtVa* lists calls 0 -> NULL. +* Tue Feb 01 2005 - meissner@suse.de +- fixed one execl call 0->NULL. +* Wed Sep 29 2004 - ke@suse.de +- Recode README in UTF-8 encoding [#46179]. +* Mon Aug 09 2004 - ro@suse.de +- added directory to filelist +* Fri Aug 06 2004 - ltinkl@suse.cz +- update to 3.5.14 +* Mon May 17 2004 - ltinkl@suse.cz +- updated to latest version 3.5.13 +- redone the patch +- simplified and updated list of packaged files +* Tue Sep 30 2003 - ltinkl@suse.cz +- updated to 3.5.12 +- ported the patch +* Mon Aug 25 2003 - ro@suse.de +- fix compile with current gcc +* Wed Jun 04 2003 - mjancar@suse.cz +- update to 3.5.11 + * added support for mouse wheel + * added support for LT toolbar control args + * improved csepdjvu option -bgwhite + * Djview and djvups now can print booklets + * Djview main dialogs have a help button + * Djview key space does continuous reading now + * annotation strings now recognize C escape sequences + * and some fixes +- add URL +- use buildroot +- use $RPM_OPT_FLAGS +* Mon Feb 24 2003 - ro@suse.de +- move to libdir/browser-plugins +* Sat Dec 28 2002 - prehak@suse.cz +- fixed to build with gcc-3.3 +- added %%clean section +* Thu Oct 31 2002 - uli@suse.de +- update -> 3.5.9 (gcc-3.2, fix for broken command ddjvu, modified + IW44 for ARM processors) +- going down to -O1 on x86-64 to avoid segfault in djview +- cutting optimization on Alpha as well +* Wed Aug 07 2002 - uli@suse.de +- update -> 3.5.8 (fixed printing of b&w documents,fixes for + gcc-3.1) +* Tue Jul 23 2002 - uli@suse.de +- update -> 3.5.7 (minor fixes) +* Fri Jun 28 2002 - uli@suse.de +- build with -O2 on x86-64 to avoid miscompilation +* Fri Jun 07 2002 - uli@suse.de +- update -> 3.5.6: + Added option -bgwhite in cpaldjvu + Removed annoying flicker with djview/Qt3. + Fixed show stopper in djvused. + Fixed bug in djview print dialog. + Added CGI program djvuserve. +* Tue May 14 2002 - uli@suse.de +- find Qt3 in lib64 if applicable +- still doesn't build on x86-64, maybe bin2cpp gets miscompiled +* Thu Apr 18 2002 - uli@suse.de +- fixed to build with gcc 3.1 +* Fri Feb 01 2002 - uli@suse.de +- use %%_libdir +* Thu Jan 31 2002 - uli@suse.de +- added plugin to mozilla plugin dir +* Fri Jan 18 2002 - uli@suse.de +- update -> 3.5.3 (builds with Qt3, adds djvups tool) +* Wed Dec 12 2001 - uli@suse.de +- initial package diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4