From 42cc378f8b668d1a79a75d659c28e0701121c8bf Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 22:09:12 +0100 Subject: [PATCH] automatic version update by autodist [release 3.10.3-1mamba;Sat Nov 16 2013] --- README.md | 26 +++ evince-2.22.0-desktop.patch | 11 ++ evince.spec | 379 ++++++++++++++++++++++++++++++++++++ 3 files changed, 416 insertions(+) create mode 100644 evince-2.22.0-desktop.patch create mode 100644 evince.spec diff --git a/README.md b/README.md index e146243..db28de3 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,28 @@ # evince +Evince is a document viewer for multiple document formats. It currently supports pdf, postscript, djvu, tiff and dvi. +The goal of evince is to replace the multiple document viewers that exist on the GNOME Desktop with a single simple application. + +Evince is specifically designed to support the file following formats. + +> PDF +> Postscript +> djvu +> tiff +> dvi + +Features + +* Search +o Integrated search displaying the number of results found and highlights the results on the page +* Page Thumbnails +o Thumbnails of pages show quick reference for where you'd like to go in a document +* Document Indexes +o When index information is included in a PDF Evince will display it in a tree format +* Document Printing +o Using the GNOME/GTK printing framework Evince can print any document it can open +* Encrypted Document Viewing +o Evince can open PDF documents that have been encrypted + +nautilus-extensions + diff --git a/evince-2.22.0-desktop.patch b/evince-2.22.0-desktop.patch new file mode 100644 index 0000000..d766b89 --- /dev/null +++ b/evince-2.22.0-desktop.patch @@ -0,0 +1,11 @@ +--- evince-2.22.0/data/evince.desktop.in.in 2008-09-09 16:36:55.000000000 +0200 ++++ evince-2.22.0/data/evince.desktop.in.in-gil 2008-09-09 16:10:15.000000000 +0200 +@@ -8,7 +8,7 @@ + Terminal=false + Type=Application + Icon=evince +-NoDisplay=true ++NoDisplay=false + X-GNOME-DocPath= + X-GNOME-Bugzilla-Bugzilla=GNOME + X-GNOME-Bugzilla-Product=evince diff --git a/evince.spec b/evince.spec new file mode 100644 index 0000000..2dc951a --- /dev/null +++ b/evince.spec @@ -0,0 +1,379 @@ +%define majver %(echo %version | cut -d. -f 1-2) +Name: evince +Version: 3.10.3 +Release: 1mamba +Summary: GNOME Document viewer +Group: Graphical Desktop/Applications/Publishing +Vendor: openmamba +Distribution: openmamba +Packager: Automatic Build System +URL: http://www.gnome.org/projects/evince/ +Source: http://ftp.gnome.org/pub/GNOME/sources/evince/%{majver}/evince-%{version}.tar.xz +# http://bugs.gentoo.org/attachment.cgi?id=148212 +#Patch0: poppler-0.8.0.patch +Patch1: evince-2.22.0-desktop.patch +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libarchive-devel +BuildRequires: libatk-devel +BuildRequires: libat-spi2-atk-devel +BuildRequires: libat-spi2-core-devel +BuildRequires: libbzip2-devel +BuildRequires: libcairo-devel +BuildRequires: libdbus-devel +BuildRequires: libdjvulibre-devel +BuildRequires: libexpat-devel +BuildRequires: libffi-devel +BuildRequires: libfontconfig-devel +BuildRequires: libfreetype-devel +BuildRequires: libgcc +BuildRequires: libgdk-pixbuf-devel +BuildRequires: libglib-devel +BuildRequires: libgraphite2-devel +BuildRequires: libgtk-devel +BuildRequires: libgxps-devel +BuildRequires: libharfbuzz-devel +BuildRequires: libICE-devel +BuildRequires: libicu-devel +BuildRequires: libnautilus-extension-devel +BuildRequires: libpango-devel +BuildRequires: libpng15-devel +BuildRequires: libpoppler-glib-devel +BuildRequires: libpthread-stubs-devel +BuildRequires: libsecret-devel +BuildRequires: libselinux-devel +BuildRequires: libSM-devel +BuildRequires: libspectre-devel +BuildRequires: libstdc++6-devel +BuildRequires: libt1-devel +BuildRequires: libtexlive-devel +BuildRequires: libtiff-devel +BuildRequires: libuuid-devel +BuildRequires: libX11-devel +BuildRequires: libXau-devel +BuildRequires: libxcb-devel +BuildRequires: libXcomposite-devel +BuildRequires: libXcursor-devel +BuildRequires: libXdamage-devel +BuildRequires: libXdmcp-devel +BuildRequires: libXext-devel +BuildRequires: libXfixes-devel +BuildRequires: libXi-devel +BuildRequires: libXinerama-devel +BuildRequires: libxml2-devel +BuildRequires: libXrandr-devel +BuildRequires: libXrender-devel +BuildRequires: libz-devel +## AUTOBUILDREQ-END +BuildRequires: djvulibre +BuildRequires: libdevhelp-devel +BuildRequires: libnautilus-extension +BuildRequires: gnome-doc-utils-devel +BuildRequires: libopenjpeg-devel +BuildRequires: libalsa-devel +BuildRequires: libart_lgpl-devel +BuildRequires: libaudiofile-devel +BuildRequires: libbonobo-devel +BuildRequires: libbonoboui-devel +BuildRequires: libesound-devel +BuildRequires: libgail-devel +BuildRequires: libgnomecanvas-devel +BuildRequires: libgnome-devel +BuildRequires: libgnomeui-devel +BuildRequires: libgnome-vfs-devel +BuildRequires: libopenssl-devel +BuildRequires: libpopt-devel +Requires(post): hicolor-icon-theme +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +#Configure summary: +# GNOME Support......: yes +# Keyring Support....: yes +# DBUS Support.......: yes +# Nautilus Plugin....: yes +# Thumbnailer........: yes +# Gtk-Doc Support....: no + +# PDF Backend........: yes +# PostScript Backend.: yes +# TIFF Backend.......: yes +# DJVU Backend.......: yes +# DVI Backend........: yes +# Pixbuf Backend.....: yes +# Comics Backend.....: yes +# Impress Backend....: yes + +%description +Evince is a document viewer for multiple document formats. It currently supports pdf, postscript, djvu, tiff and dvi. +The goal of evince is to replace the multiple document viewers that exist on the GNOME Desktop with a single simple application. + +Evince is specifically designed to support the file following formats. + +> PDF +> Postscript +> djvu +> tiff +> dvi + +Features + +* Search +o Integrated search displaying the number of results found and highlights the results on the page +* Page Thumbnails +o Thumbnails of pages show quick reference for where you'd like to go in a document +* Document Indexes +o When index information is included in a PDF Evince will display it in a tree format +* Document Printing +o Using the GNOME/GTK printing framework Evince can print any document it can open +* Encrypted Document Viewing +o Evince can open PDF documents that have been encrypted + +nautilus-extensions + +%package devel +Group: Development/Libraries +Summary: Static libraries for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Provides: evince-static +Obsoletes: evince-static +Provides: evince-static +Obsoletes: evince-static + +%description devel +Evince is a document viewer for multiple document formats. It currently supports pdf, postscript, djvu, tiff and dvi. +The goal of evince is to replace the multiple document viewers that exist on the GNOME Desktop with a single simple application. + +This package package contains headers and static libraries for developing applications that use %{name}. + +%package apidocs +Group: Documentation +Summary: %{name} Api documentation +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description apidocs +Evince is a document viewer for multiple document formats. It currently supports pdf, postscript, djvu, tiff and dvi. +The goal of evince is to replace the multiple document viewers that exist on the GNOME Desktop with a single simple application. + +This package contains %{name} Api documentation. + +%prep +%setup -q +#%patch1 -p1 +#sed -i "s|/usr/bin/python|%{__python}|" test/*.py + +%build +#./autogen.sh +%configure \ + --with-devhelp=yes \ + --enable-tiff \ + --enable-nautilus \ + --enable-pdf \ + --enable-djvu \ + --enable-dvi \ + --enable-t1lib \ + --enable-pixbuf \ + --enable-comics \ + --enable-impress \ + --enable-introspection \ + --disable-scrollkeeper \ + --disable-schemas-install + +# --enable-debug \ +# unable to load http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl +# unable to parse zh_CN/evince.xml --enable-gtk-doc \ + +%make +%make -C test + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +##GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 +%makeinstall DESTDIR=%{buildroot} +#find %{buildroot} -name "*.la" -delete +%find_lang %{name} + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post +if [ $1 -ge 1 ]; then + /sbin/ldconfig + glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : + touch --no-create %{_datadir}/icons/hicolor + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor; + fi +fi +: + +%postun +if [ $1 -ge 0 ]; then + /sbin/ldconfig + glib-compile-schemas /usr/share/glib-2.0/schemas &> /dev/null || : + touch --no-create %{_datadir}/icons/hicolor + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor; + fi +fi +: + +%files -f %{name}.lang +%defattr(-,root,root) +%{_bindir}/evince +%{_bindir}/evince-previewer +%{_bindir}/evince-thumbnailer +%dir %{_libdir}/evince +%dir %{_libdir}/evince/4 +%dir %{_libdir}/evince/4/backends +%{_libdir}/evince/4/backends/*.evince-backend +%{_libdir}/evince/4/backends/lib*.so +%{_libdir}/libevdocument3.so.* +%{_libdir}/libevview3.so.* +%{_libdir}/nautilus/extensions-?.?/libevince-properties-page.so +%{_libexecdir}/evinced +%{_datadir}/GConf/gsettings/evince.convert +%{_datadir}/applications/evince.desktop +%{_datadir}/applications/evince-previewer.desktop +%{_datadir}/dbus-1/services/org.gnome.evince.Daemon.service +%{_datadir}/glib-2.0/schemas/org.gnome.Evince.gschema.xml +%{_datadir}/icons/hicolor/*/apps/evince.png +%{_datadir}/thumbnailers/evince.thumbnailer +%dir %{_datadir}/evince +%{_datadir}/evince/* +%dir %{_datadir}/help/*/evince +%{_datadir}/help/*/evince/* +%{_mandir}/man1/evince.1.gz +%doc AUTHORS COPYING + +%files devel +%defattr(-,root,root) +%{_includedir}/evince/*/*.h +%{_includedir}/evince/*/libdocument/*.h +%{_includedir}/evince/*/libview/*.h +%{_libdir}/nautilus/extensions-?.?/libevince-properties-page.a +%{_libdir}/nautilus/extensions-?.?/libevince-properties-page.la +%{_libdir}/evince/4/backends/lib*.a +%{_libdir}/evince/4/backends/lib*.la +%{_libdir}/libevdocument3.so +%{_libdir}/libevdocument3.a +%{_libdir}/libevdocument3.la +%{_libdir}/libevview3.so +%{_libdir}/libevview3.a +%{_libdir}/libevview3.la +%{_libdir}/girepository-1.0/Evince*.typelib +%{_datadir}/gir-1.0/Evince*.gir +%{_libdir}/pkgconfig/evince-*.pc +%doc ChangeLog NEWS README TODO + +%files apidocs +%defattr(-,root,root) +%dir %{_datadir}/gtk-doc/html/evince +%{_datadir}/gtk-doc/html/evince/evince.devhelp2 +%{_datadir}/gtk-doc/html/evince/index.sgml +%{_datadir}/gtk-doc/html/evince/*.html +%{_datadir}/gtk-doc/html/evince/*.css +%{_datadir}/gtk-doc/html/evince/*.png +%{_datadir}/gtk-doc/html/libevdocument-3.0 +%{_datadir}/gtk-doc/html/libevview-3.0 + +%changelog +* Sat Nov 16 2013 Automatic Build System 3.10.3-1mamba +- automatic version update by autodist + +* Mon Nov 11 2013 Automatic Build System 3.10.2-1mamba +- automatic version update by autodist + +* Wed Oct 30 2013 Automatic Build System 3.10.0-1mamba +- automatic version update by autodist + +* Thu Oct 10 2013 Silvan Calarco 3.8.3-2mamba +- call glib-compile-schemas after install/uninstall + +* Mon Aug 05 2013 Automatic Build System 3.8.3-1mamba +- automatic version update by autodist + +* Mon Aug 05 2013 Silvan Calarco 3.8.2-2mamba +- rebuilt with libtexlive-devel for dvi support and with libgxps + +* Wed May 15 2013 Automatic Build System 3.8.2-1mamba +- automatic version update by autodist + +* Thu Mar 28 2013 Automatic Build System 3.8.0-1mamba +- automatic version update by autodist + +* Mon Oct 15 2012 Automatic Build System 3.6.1-1mamba +- automatic version update by autodist + +* Thu Sep 27 2012 Automatic Build System 3.6.0-1mamba +- automatic version update by autodist + +* Thu Jun 14 2012 Automatic Build System 3.4.0-1mamba +- automatic version update by autodist + +* Wed Oct 19 2011 Automatic Build System 3.2.1-1mamba +- automatic version update by autodist + +* Sat Oct 01 2011 Automatic Build System 3.2.0-1mamba +- update to 3.2.0 + +* Tue Jul 26 2011 Automatic Build System 3.0.2-1mamba +- automatic version update by autodist + +* Thu Oct 28 2010 Automatic Build System 2.32.0-1mamba +- automatic update to 2.32.0 by autodist + +* Thu Jun 24 2010 Automatic Build System 2.30.3-1mamba +- automatic update to 2.30.3 by autodist + +* Mon Jun 21 2010 Automatic Build System 2.30.2-1mamba +- automatic update to 2.30.2 by autodist + +* Wed Jun 09 2010 Silvan Calarco 2.30.1-2mamba +- removed build requirement for libpoppler2 + +* Sat May 22 2010 Silvan Calarco 2.30.1-1mamba +- update to 2.30.1 + +* Tue Feb 16 2010 Silvan Calarco 2.28.2-2mamba +- prereq hicolor-icon-theme and don't fail installation if gtk-update-icon-cache fails + +* Sat Dec 19 2009 Automatic Build System 2.28.2-1mamba +- automatic update by autodist + +* Sun Oct 25 2009 Automatic Build System 2.28.1-1mamba +- automatic update by autodist + +* Fri Sep 25 2009 Automatic Build System 2.28.0-1mamba +- automatic update to 2.28.0 by autodist + +* Thu May 28 2009 Automatic Build System 2.26.2-1mamba +- automatic update by autodist + +* Mon May 18 2009 Automatic Build System 2.26.1-3mamba +- automatic rebuild by autodist + +* Mon Apr 20 2009 Automatic Build System 2.26.1-1mamba +- automatic update by autodist + +* Wed Apr 08 2009 Silvan Calarco 2.26.0-2mamba +- evince-devel: obsolete evince-static + +* Sat Apr 04 2009 Silvan Calarco 2.26.0-1mamba +- automatic update to 2.26.0 by autodist + +* Mon Dec 08 2008 gil 2.24.2-2mamba +- edit post and postun + +* Tue Nov 25 2008 gil 2.24.2-1mamba +- update to 2.24.2 + +* Sat Nov 15 2008 gil 2.24.1-1mamba +- update to 2.24.1 + +* Sat Oct 18 2008 gil 2.24.0-1mamba +- update to 2.24.0 + +* Thu Jul 17 2008 gil 2.22.0-1mamba +- added package static +- added desktop patch (changed NoDisplay=true with false)