File evince.spec of Package evince
#
# spec file for package evince (Version 2.24.1)
#
# Copyright (c) 2008 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# 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/
#
# norootforbuild
Name: evince
BuildRequires: docbook_4
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: ghostscript-fonts-std
BuildRequires: ghostscript-x11
BuildRequires: gnome-doc-utils-devel
BuildRequires: intltool
BuildRequires: libdjvulibre-devel
BuildRequires: libglade2-devel
BuildRequires: libgnomeprintui-devel
BuildRequires: libpoppler-glib-devel
BuildRequires: libspectre-devel
BuildRequires: libstdc++
BuildRequires: libtiff-devel
BuildRequires: nautilus-devel
BuildRequires: perl-XML-Parser
BuildRequires: scrollkeeper
BuildRequires: t1lib-devel
BuildRequires: texlive-bin-devel
BuildRequires: texlive-devel
BuildRequires: update-desktop-files
# Only for directory ownership:
BuildRequires: gtk-doc
Version: 2.24.1
Release: 1.<RELEASE28>
Url: http://www.gnome.org/projects/evince/
Group: Productivity/Office/Other
License: GPL v2 or later
Summary: GNOME Document Viewer
Source: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/0.4/%{name}-%{version}.tar.bz2
# PATCH-FIX-OPENSUSE evince-2.19.92-correct-help-uri.patch
Patch4: evince-2.19.92-correct-help-uri.patch
# PATCH-FIX-UPSTREAM evince-thumbnailer-g_type_init.patch bnc358405 bgo513934 jpr@suse.de
Patch5: evince-thumbnailer-g_type_init.patch
Patch6: evince-dvi-vulnerabilities.patch
Patch7: evince-dvi.patch
Patch8: evince-dvi-vulnerability-again.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: %{name}-lang = %{version}
# Replaces ggv in <= 10.3, gpdf in <= 10.2:
Provides: ggv gpdf
Obsoletes: ggv gpdf
%gconf_schemas_prereq
%description
Evince is a document viewer capable of displaying multiple and
singlepage document formats like PDF and PostScript. For more
information about Evince, visit the project Web site at
http://www.gnome.org/projects/evince/.
Authors:
--------
copyright 1996-2003 Glyph & Cog, LLC.
Martin Kretzschmar <m_kretzschmar@gmx.net>
Marco Pesenti Gritti <marco@gnome.org>
Jonathan Blandford <jrb@gnome.org>
%package devel
License: GPL v2 or later
Summary: GNOME Document Viewer
Group: Productivity/Office/Other
Requires: %{name} = %{version}
%description devel
Evince is a document viewer capable of displaying multiple and
singlepage document formats like PDF and PostScript. For more
information about Evince, visit the project Web site at
http://www.gnome.org/projects/evince/.
Authors:
--------
copyright 1996-2003 Glyph & Cog, LLC.
Martin Kretzschmar <m_kretzschmar@gmx.net>
Marco Pesenti Gritti <marco@gnome.org>
Jonathan Blandford <jrb@gnome.org>
%package doc
License: GPL v2 or later
Summary: GNOME Document Viewer
Group: Productivity/Office/Other
Requires: %{name} = %{version}
%description doc
Evince is a document viewer capable of displaying multiple and single
page document formats like PDF and PostScript. For more general
information about Evince, visit the project Web site at
http://www.gnome.org/projects/evince/.
Authors:
--------
copyright 1996-2003 Glyph & Cog, LLC.
Martin Kretzschmar <m_kretzschmar@gmx.net>
Marco Pesenti Gritti <marco@gnome.org>
Jonathan Blandford <jrb@gnome.org>
%lang_package
%prep
%setup -q
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8
%build
# needed for evince-0.6.1:
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure\
--disable-scrollkeeper\
--enable-djvu\
--enable-dvi\
--enable-comics\
--enable-impress\
--enable-pixbuf\
--enable-t1lib\
--enable-nautilus
%__make %{?jobs:-j%jobs}
%install
%makeinstall
%find_lang %{name}
%find_gconf_schemas
cat %{name}.schemas_list >%{name}.lst
%suse_update_desktop_file -r -N Evince evince GNOME GTK Graphics Office Viewer
rm $RPM_BUILD_ROOT/%{_libdir}/*.*a
rm $RPM_BUILD_ROOT%{_libdir}/*/*/*.*a
%fdupes $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%pre -f %{name}.schemas_pre
%posttrans -f %{name}.schemas_posttrans
%preun -f %{name}.schemas_preun
%files -f %{name}.lst
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README TODO
%{_bindir}/*
%{_datadir}/applications/*.desktop
%{_datadir}/evince
%{_datadir}/icons/hicolor/*/apps/evince*.*
%{_datadir}/omf/*
%{_libdir}/nautilus/extensions-*/*.so
%{_libdir}/evince
%{_libdir}/*.so.*
%doc %{_mandir}/man?/*.*
%files lang -f %{name}.lang
%files devel
%defattr(-, root, root)
%{_includedir}/evince-2.20
%{_libdir}/*.so
%files doc
%defattr (-, root, root)
%{_datadir}/gtk-doc/html/evince
%changelog
* Tue Oct 21 2008 mboman@suse.de
- Update to version 2.24.1:
+ Bugs fixed: bgo#556162, bgo#556264, bgo#534684, bgo#555801, bgo#554500,
bgo#552382, bgo#553369, bgo#555134
+ Fix several memory leaks
+ Translation updates
* Tue Sep 23 2008 maw@suse.de
- Update to version 2.24.0:
+ Use GdkAppLaunchContext when available to launch external uris
+ Use the message area to show errors when lauching external uris
instead of a popup window
+ Assume invalid uris are http uris (bgo#552071)
+ Updated translations.
* Wed Sep 10 2008 maw@suse.de
- Update to version 2.23.92:
+ Bugs fixed: bgo#529833, bgo#550136, and bgo#547164
+ Updated translations.
* Tue Sep 02 2008 mboman@novell.com
- Update to version 2.23.91:
+ Use EggSMClient from libegg instead of gnome-client and remove
libgnome and libgnomeui dependencies
+ Implement document_get_page_label in tiff backend
+ Bugs fixed: bgo#549163, bgo#548653, bgo#548444, bgo#547440,
bgo#548462
+ Start up in the right workspace when resuming a previous session
+ Fix metacity warnings shown in ~/.xsession-errors
+ Updated translations.
* Fri Aug 29 2008 maw@suse.de
- Update to version 2.23.6:
+ .desktop file fix (bgo#544237)
+ Updated translations.
* Fri Aug 08 2008 maw@suse.de
- Update to version 2.23.5:
+ A warning message is shown in the message area when the
document has no pages (bgo#171588)
+ Automaticly reload the document when the file has changed on
disk (bgo#304249)
+ Added Ctrl-Insert keybinding for copying text and Ctrl+N for
opening a copy (bgo#526523 and bgo#532239)
+ Save as action has been added as a toolbar button too
+ Primary selection is also updated when copying a link address
(bgo#520855)
+ Added GtkMountOperation, copied from gtk+
+ GS code has been removed; libspectre is now required to build
the PostScript backend
+ Intercept window manager's fullscreen request in order to
run/stop fullscreen mode (bgo#493541)
+ 7-zip compressed commics support (bgo#532312)
+ Add Alt+Left and Alt+Right shortcuts to rotate (bgo#539972)
+ Media player keys support (bgo#539971)
+ Bugs fixed: bgo#537574, bgo#530852, bgo#530202, bgo#520290,
bgo#536883m bgo#533323, bgo#533897, bgo#533896, bgo#534493,
bgo#537535, bgo#531956, bgo#542548, bgo#542924, bgo#540950,
and bgo#542001
+ Updated translations
- Respin evince-2.19.92-correct-help-uri.patch.
* Fri Jun 20 2008 maw@suse.de
- Update to version 2.22.2:
+ Bugs fixed: bgo#533323, bgo#530852, and bgo#520290
+ Updated translations
- Drop an obsolete patch:
evince-bnc379750-impress-parser-crashes.patch.
* Thu May 01 2008 hpj@suse.de
- Added evince-bnc379750-impress-parser-crashes.patch, which
fixes bnc#379750.
* Thu Apr 10 2008 maw@suse.de
- Update to version 2.22.1.1:
+ Bugs fixed: bgo#526799, bgo#526517, bgo#307087, bgo#524288,
bgo#525015, bgo#525009, bgo#521797, bgo#523069, bgo#508845,
bgo#365332, bgo#521224, and bgo#524112
+ Updated translations.
* Mon Mar 17 2008 rodrigo@suse.de
- Tag patches
* Thu Mar 13 2008 maw@suse.de
- Update to version 2.22.0:
+ Do not print when Escape is pressed to close printing dialog
(bgo#495107)
+ Fix a crash in nautilus properties page (bgo#519679)
+ Fix a crash with transition effects (bgo#519106)
+ Fix document mime type detection (bgo#518874)
+ Fix a crash in forms (bgo#518831)
+ Fix images extraction (bgo#516237)
+ Updated translations.
* Tue Feb 19 2008 maw@suse.de
- Update to version 2.21.91:
+ Bugs fixed: bgo#512370, bgo#513934, bgo#482720, bgo#512719,
bgo#512720, bgo#512718, bgo#512771, and bgo#513203
+ Updated translations.
* Mon Feb 04 2008 jpr@suse.de
- Add evince-thumbnailer-g_type_init.patch (bnc #358405)
* Thu Jan 31 2008 maw@suse.de
- Update to version 2.21.90:
+ This release overrides document permissions by default. See
http://bugzilla.gnome.org/show_bug.cgi?id=382700 for more
information about this.
+ Ghostscript interface for PostScript documents is now
deprecated and libspectre is suggested instead
+ Port to gio and drop gnome-vfs dependency
+ Scroll pages in page entry with mouse wheel (bgo#324122)
+ Automatic scrolling in context menu (bgo#323670)
+ Kinetic scrolling (bgo#4612713)
+ New plugin system for backends (bgo#351348)
+ Allow saving images in formats other than PNG (bgo#500209)
+ Add support for page transitions (bgo#458460)
+ Override document restrictions by default (bgo#382700)
+ Use up/down arrows instead of left/right (bgo#170081)
+ Reset cursor correctly (bgo#501603, bgo#509958)
+ Use GSlice to allocate memory (bgo#475972)
+ Do not limit minimum zoom factor in best fit/fit width mode
(bgo#503805)
+ Use libspectre, if available, for the ps backend (bgo#317106,
bgo#499787, bgo#501235, bgo#421879, bgo#445797, bgo#443859,
bgo#486547, bgo#386005, bgo#507705)
+ Put RTL marker in recent file list (bgo#509076)
+ Put Nautilus extension in right place (bgo#505359)
+ Avoid filename quoting issues (bgo#502500)
+ Repair horizontal scrolling with shift (bgo#483412)
+ Gnome Keyring is now an optional dependency (bgo#509676)
+ Reduce memory consumption by rendering images on demand
+ Fix printing in dvi backend when filename contains white spaces
+ Other bugs fixed: bgo#502843, bgo#460658, bgo#504721, and
bgo#511635
+ Updated translations
- Split out a -devel subpackage.
* Fri Jan 25 2008 maw@suse.de
- Update to version 2.21.1:
+ New Features and UI Improvements:
* Use message area for notification about errors
* Some print settings for documents are stored in metadata
* Added command line option for search
* Expander with a recent documents is added to toolbar
* Egg-recent code dropped
* Djvu, dvi and comics are enabled by default
* Support for links with URI's like mailto (Pascal Terjan)
* Removed the shadow of the fullscreen toolbar
+ Bug fixes:
* Tiff documents were rendered with wrong colors
* Fix endless loop when zero pages per sheet is selected
* Do not jump to the first page when reloading from command
line
* Memory leak fix
* Fix printing with poppler splash backend
* Fix a crash when printing with the gnome-print dialog
* Warning fix
* Printing multiple pages per sheet fixes
* Respect ranges order during print
* Silently ignore unknown form fields
* Do not show the toolbar in fullscreen mode if the main
toolbar is not visible
* Give priority to form fields over images
+ Updated translations
- Remove abuild.patch
- Respin evince-2.19.92-correct-help-uri.patch and rename it to
evince-2.21.1-correct-help-uri.patch.
* Tue Oct 16 2007 sbrabec@suse.cz
- Package provides replacement for ggv and gpdf.
* Thu Oct 11 2007 sbrabec@suse.cz
- poppler devel package names prepended by "lib".
* Wed Oct 10 2007 maw@suse.de
- Remove evince-poppler-0.5.4.patch,
evince-poppler-0.5.4-ifdef-cleanup.patch, and
evince-poppler-0.5.4-ifdef-zoom-cleanup.patch, which were only
necessary to make evince build against an old version of poppler.
* Mon Oct 08 2007 sbrabec@suse.cz
- Use binding specific poppler devel package.
* Mon Oct 01 2007 jpr@suse.de
- Don't use cairo rendering patch for zoom (#329047)
* Tue Sep 18 2007 maw@suse.de
- Update to version 2.20.0:
+ Forms support broken by forgotten ifdef fix fixed
+ Fixed an issue with making a copy and xfer to different file
system
+ Desktop file fixes
+ Updated translations
- Respin evince-poppler-0.5.4-ifdef-cleanup.patch.
* Sun Sep 16 2007 jpr@suse.de
- Add evince-poppler-0.5.4-ifdef-cleanup.patch which augments
evince-poppler-0.5.4.patch. The original patch caused print
rendering code to be #ifdef'ed out and overloaded the meaning of an
[#]ifdef variable (#310058))
* Fri Sep 14 2007 hpj@suse.de
- Add evince-2.19.92-correct-help-uri.patch, which lets us find our
documentation in help-bundle/.
* Mon Sep 10 2007 maw@suse.de
- Update to version 2.19.92:
+ The poppler requirement upstream has been bumped to 0.6 (but
we continue to build against 0.5.4, so respin
evince-poppler-0.5.4.patch)
+ Restart searches when reloading a document with the find bar
visible
+ Don't jump to the first page when reloading a document from the
last page
+ Don't update visibility when changing a chrome flag
+ Use GTK_UNIT_POINTS instead of GTK_UNIT_PIXEL
+ Make sure current-page <= end-page in continuous mode
+ Ignore outline items without a title
+ Use only drag mouse cursor during a drag op
+ Actually fix printing regressions
+ Add support for double and triple click selections
+ Updated translations.
* Thu Aug 30 2007 maw@suse.de
- Remove perl-dont-interpolate-at-sign.patch, which was working
around a temporarily broken intltool.
* Wed Aug 29 2007 maw@suse.de
- Update to version 2.19.4
+ The big bump in version number is due to evince now following
version numbers used by much of the rest of the GNOME project
+ Find works when findbar is hidden (Justin Blanchard)
+ Use directly cairo_surface_get_content (Jeff Muizelaar)
+ Great speedup by using CAIRO_FORMAT_RGB24 instead of
CAIRO_FORMAT_ARGB32 (Jeff Muizelaar)
+ Fix for embedded thumbnails dimension and rotation (Carlos
Garcia Campos)
+ Avoid ifdefs inside macros (Jens Granseuer)
+ Memory leak fixes (Justin Blanchard, Hiroyuki Ikezoe)
+ New icon sizes (Andreas Nilsson)
+ Invalid read fix (Justin Blanchard)
+ Fix multihead problems in toolbar editor (Carlos Garcia Campos)
+ Use the same cairo context for every page in the same expose
event (Carlos Garcia Campos)
- Add perl-dont-interpolate-at-sign.patch.
* Tue Aug 14 2007 jpr@suse.de
- Build evince with PDF support and poppler 0.5.4 (#293561)
- Build evince with dejavu support (#288641)
* Tue Aug 07 2007 maw@suse.de
- Use %%fdupes
- Split off a -lang subpackage.
* Thu Aug 02 2007 mauro@suse.de
- Remove the ExcludeArch per Ro request.
* Wed Aug 01 2007 mauro@suse.de
- Update to version 0.9.3
- Added an ExcludedArch for ia64 and s390
- Fix a header problem with ev-link, use new gtk tooltips when available
instead of ev-tooltip.
- Fix compile warnings, fix memory leak,
- Bugfix for bug #396535, #449462, #460862, #437681, #460909, #458111,
[#455667], #452872, #449734, #452850, #349433, #450148, #415032.
* Fri Jul 06 2007 maw@suse.de
- Update to version 0.9.1
- New features:
* Printing support in djvu documents (Alaska Subedi)
* Optional drop of libgnome dependency (Ross Burton)
* Print button for preview mode (Carlos Garcia Campos)
* Remember print settings (Carlos Garcia Campos)
* Use gtk+ builtin paper list to identify the document's paper size (Carlos Garcia Campos)
* Start rendering pages before any other jobs (Carlos Garcia Campos)
* Developer documentation updated. (Iñigo Martínez)
* History button improvements (Nickolay Shmyrev)
* Cairo-based renderer for pages and selections of PDF, DVJU and DVI documents (Carlos Garcia Campos)
* PDF exporter for printing DVI documents (Alaska Subedi)
* Zoom icon artwork (Michael Monreal)
* Patch to avoid frequent process wakeup for metadata handling (Bastien Nocera, Arjan van de Ven)
* Bumped poppler requirements to 0.5.9 (Carlos Garcia Campos)
* Changed sidebar ordering (Wouter Bolsterlee)
* Removed extra locking of a main loop to speed up rendering (Carlos Garcia Campos)
- Bug fixes and updated translations
- Add abuild.patch.
* Thu Jun 07 2007 sbrabec@suse.cz
- Removed invalid desktop Category "Application" (#254654).
* Mon May 14 2007 pgajdos@suse.cz
- removed gnome-icon-theme and hicolor-icon-theme from both
Requires and BuildRequires [#247450]
* Fri Apr 20 2007 aj@suse.de
- Use texlive for building.
* Wed Apr 11 2007 maw@suse.de
- Update to version 0.8.1
- Bugfixes:
* Default resolutions used when it's not provided by TIFF
document (Carlos Garcia Campos)
* Added support for ps, eps and compressed documents
thumbnails (Carlos Garcia Campos)
* Implemented font color specials in the DVI backend (Ricardo Markiewicz)
* DOCUMENTS folder from xdg-data-dirs is used as default folder when
opening a file chooser (Matthias Clasen)
* unlink-tempfile is used instead of unlink-temp-file (Carlos Garcia Campos)
- Updated translations for the ca, gl, eu, es, cs, and dz locales.
* Fri Mar 23 2007 maw@suse.de
- Update to version 0.8.0
- b.g.o fixes: 416447, 334542, 409828, 392186, 318568, and 164755.
* Thu Mar 08 2007 sbrabec@suse.cz
- Removed obsolete hicolor icon symlink (#248676).
* Wed Mar 07 2007 sbrabec@suse.cz
- Enabled all optional features and plugins.
* Tue Feb 27 2007 maw@suse.de
- BuildRequire and Require hicolor-icon-theme (#247450)
- Create a -doc subpackage (#248813).
* Mon Feb 19 2007 maw@suse.de
- Update to version 0.7.2
- Remove evince-CVE-2006-5864.patch which is now upstream
- Package gtk-doc generated docs
* Wed Jan 10 2007 sbrabec@suse.cz
- More spec file cleanups.
* Thu Dec 14 2006 maw@suse.de
- Move to /usr
- Cleanup specfile a bit.
* Thu Dec 07 2006 sbrabec@suse.cz
- Fixed buffer overflow in DSC parsing (#225201, CVE-2006-5864).
* Mon Nov 13 2006 jhargadon@suse.de
- re-enabling evince-desktop.patch to resolve bug #220232
* Tue Oct 17 2006 jhargadon@suse.de
- update to version 0.6.1
- Bug Fixes:
* Current page follows find page
* Reopen reloads document
* Document size is guessed correctly
* Icons are installed in correct folders
* Memory leak fixed, etc
- translation updates
* Fri Oct 13 2006 jhargadon@suse.de
- Update for gnome-doc-utils-devel
* Wed Sep 13 2006 jhargadon@suse.de
- update to version 0.6.0
- Links aren't lost while resizing
- Tiff backend crash is fixed
- Recent code and icons code are screen safe
- Crash while handling password-protected documents is fixed
- translation updates
* Fri Aug 18 2006 jhargadon@suse.de
- update to version 0.5.5
- Evince have preview mode for using with gtk+
- New print dialog is used with gtk 2.10
- Sidebar is unified with Epiphany
- Escape unfocus page entry
- Memory leak fixes
- updated translations
* Wed Aug 02 2006 gekker@suse.de
- Update to version 0.5.4
New Features:
* Evince supports impress slides with --enable-impress
* URI's with anchors can be opened
* Evince supports attachments in PDF files
* Links system is reworked allowing named links
* Evince can search text in DJVU files
* Various types of PDF links are now supported
* New backend for comic books (CBR/CBZ archives)
* Storage of passwords for protected documents in gnome-keyring
* Layout settings for new documents are taken from the last used document
Interface imporovements:
* Esc closes properties dialog
* Cursor is hidden in presentation mode
* Find previous item is added to the menu
* Odd pages are placed to the right in dual page mode
* Statusbar was removed to save space
* Notification about page processing is shown on the page
* Improved intelligent window title that shouldn't confuse users
* Show index by default if available
* Tooltips for links
* Now we have right click context menu
Bug Fixes:
* Fixed multiple crashes
* Page-label command line option works again
* GOption port and po/LINGUAS work
* Fixed mime type detection by file contents
* Several memory leaks were found
* Current page is selected more intelligently
* View don't jump on scrolling
* In presentation mode we scroll by one page
* Produce thumbnails for comic books
* Ghostscript interpreter is checked in runtime
* PS mime types are listed in desktop file
* It's possible to add sidebar checkbutton on toolbar
* It's possible to print in inverse order
* Filechooser now will ask for overwrite confirmation
* Search now takes account for scrolling
* It's allowed to scroll view from find entry
* Evince don't jump to find result if window was scrolled during search
* It's now clear what page the toolbar page number applies to
* Printing of multiple copies start to work
* Improved session handling
* Vertical and horizontal scrolling on selection
Updated Translations
* Mon Feb 20 2006 thoenig@suse.de
- Backport fix from Evince CVS to honor API changes of D-BUS 0.60
(closes #151512)
* Fri Feb 17 2006 sreeves@suse.de
- Update .desktop file (Name, GenericName, Comment, DocPath)
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Jan 11 2006 sbrabec@suse.cz
- Removed libpixman from neededforbuild.
* Wed Nov 09 2005 sbrabec@suse.cz
- Enabled D-BUS support.
- Update desktop file.
* Wed Nov 09 2005 sbrabec@suse.cz
- Show evince in menu (#132746).
* Fri Sep 02 2005 gekker@suse.de
- Update to version 0.4.0
* Thu Aug 18 2005 gekker@suse.de
- Update to version 0.3.4
- Put evince in correct desktop category
* Thu Jul 21 2005 gekker@suse.de
- Update to version 0.3.2
* Tue May 24 2005 sbrabec@suse.cz
- Updated to version 0.3.1.
* Mon May 09 2005 sbrabec@suse.cz
- New SuSE package, version 0.3.0.