Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:hiberis:mingw:win32
mingw32-evince
project.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File project.diff of Package mingw32-evince
--- mingw32-evince.spec.orig +++ mingw32-evince.spec @@ -17,30 +17,28 @@ %define run_autogen 1 -%define enable_dvi_backend 0 +%define enable_dvi_backend 1 +%define enable_dbus 0 Name: mingw32-evince -Version: 2.32.0 +Version: 3.6.1 Release: 0 Summary: GNOME Document Viewer License: GPL-2.0+ Group: Development/Libraries -Url: http://www.gnome.org/projects/evince/ -Source0: ftp://ftp.gnome.org/pub/gnome/sources/evince/2.32/evince-%{version}.tar.bz2 +URL: http://www.gnome.org/projects/evince/ +Source0: ftp://ftp.gnome.org/pub/gnome/sources/evince/3.3/evince-%{version}.tar.xz Source1000: %{name}-rpmlintrc -Patch0: evince-2.32.0-zlib.patch -Patch1: evince-2.32.0-gmodule.patch -Patch2: 0001-win32-Add-prototype-for-DllMain.patch -Patch3: evince-2.32.0-windows.patch -Patch100: 0001-comics-Optionally-use-libgsf-for-reading-comics.patch -Patch101: 0001-tiff-Use-TIFFOpenW-on-windows.patch -Patch102: 0001-tiff-backend-use-cairo-for-printing.patch -Patch103: 0001-libview-close-tmpfile-descriptor-before-copying-to-i.patch -Patch104: 0001-pdf-Update-to-poppler-api-changes.patch -Patch105: 0001-libdocument-Check-for-NULL-in-synctex_backward_searc.patch -Patch106: 0001-backends-Fix-several-security-issues-in-the-dvi-back.patch -Patch107: 0001-backends-Fix-another-security-issue-in-the-dvi-backe.patch -Patch108: 0001-document-create_thumbnail_frame-should-return-NULL-w.patch -Patch109: 0001-dvi-Fix-build-for-win64.patch +Patch1: 0001-Work-around-disfunctional-gtk_show_uri-on-Windows.patch +Patch2: 0002-Use-g_spawn_command_line_async-to-launch-instances.patch +Patch3: 0003-Add-README.Windows.patch +Patch4: 0004-comics-Optionally-use-libgsf-for-reading-comics.patch +Patch5: 0005-tiff-use-cairo-for-printing.patch +Patch6: 0006-tiff-WIP-Use-a-memory-pool-for-surface.patch +Patch7: 0007-tiff-workaround-for-cairo-bug.patch +Patch8: 0008-Reintroduce-the-builtin-metadata-manager.patch +Patch9: 0009-WIP-command-line-args.patch +Patch10: 0010-WIP-windows-taskbar.patch +Patch11: 0011-Use-online-help-on-win32.patch BuildRequires: glib2-devel BuildRequires: gtk-doc BuildRequires: intltool @@ -52,7 +50,7 @@ BuildRequires: mingw32-cross-gcc-c++ BuildRequires: mingw32-cross-pkg-config BuildRequires: mingw32-filesystem >= 25 BuildRequires: mingw32-glib2-devel -BuildRequires: mingw32-gtk2-devel +BuildRequires: mingw32-gtk3-devel BuildRequires: mingw32-libdjvulibre-devel BuildRequires: mingw32-libgsf-devel BuildRequires: mingw32-libpoppler-glib-devel @@ -60,22 +58,30 @@ BuildRequires: mingw32-libspectre-devel BuildRequires: mingw32-libtiff-devel BuildRequires: mingw32-libxml2-devel BuildRequires: mingw32-zlib-devel -Requires: %{name}-lang -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%_mingw32_package_header_debug -BuildArch: noarch -%{glib2_gsettings_schema_requires} -%if %{enable_dvi_backend} -BuildRequires: mingw32-texlive-devel -%endif +BuildRequires: mingw32-libgsf-devel +BuildRequires: mingw32-libgxps-devel %if %{run_autogen} BuildRequires: autoconf BuildRequires: automake BuildRequires: gconf2-devel BuildRequires: gnome-common -BuildRequires: gnome-doc-utils-devel +#BuildRequires: gnome-doc-utils-devel +BuildRequires: gobject-introspection BuildRequires: libtool %endif +%if %{enable_dvi_backend} +BuildRequires: mingw32-texlive-devel +%endif + +# To subpress libtool warnings +BuildRequires: wine + +Requires: %{name}-lang +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%_mingw32_package_header_debug +BuildArch: noarch +%{glib2_gsettings_schema_requires} + %description Evince is a document viewer capable of displaying multiple and @@ -99,21 +105,17 @@ http://www.gnome.org/projects/evince/. %prep %setup -q -n evince-%{version} -%patch0 -p1 -b .zlib -%patch1 -p1 -b .gmodule +%patch1 -p1 %patch2 -p1 -%patch3 -p1 -b .windows - -%patch100 -p1 -%patch101 -p1 -%patch102 -p1 -%patch103 -p1 -%patch104 -p1 -%patch105 -p1 -%patch106 -p1 -%patch107 -p1 -%patch108 -p1 -%patch109 -p1 +%patch3 -p1 +%patch4 -p1 +%patch5 -p1 +%patch6 -p1 +%patch7 -p1 +%patch8 -p1 +%patch9 -p1 +%patch10 -p1 +%patch11 -p1 %build %if %{run_autogen} @@ -122,6 +124,9 @@ NOCONFIGURE=1 AUTOMAKE=`which automake` echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw32_cache} %{_mingw32_configure} \ +%if %{enable_dbus} + --enable-dbus \ +%endif --enable-shared --disable-static --disable-compile-warnings %{_mingw32_make} %{?_smp_mflags} || %{_mingw32_make} @@ -130,7 +135,7 @@ echo "lt_cv_deplibs_check_method='pass_a %{_mingw32_make} DESTDIR=%{buildroot} install -rm -f %{buildroot}%{_mingw32_libdir}/evince/3/backends/*.dll.a +rm -f %{buildroot}%{_mingw32_libdir}/evince/4/backends/*.dll.a rm -f %{buildroot}%{_mingw32_datadir}/applications/evince.desktop %find_lang evince @@ -148,32 +153,39 @@ fi %{_mingw32_bindir}/evince.exe %{_mingw32_bindir}/evince-previewer.exe %{_mingw32_bindir}/evince-thumbnailer.exe -%{_mingw32_bindir}/libevdocument-3.dll -%{_mingw32_bindir}/libevview-3.dll -%{_mingw32_libdir}/evince/3/backends/djvudocument.evince-backend -%{_mingw32_libdir}/evince/3/backends/libdjvudocument.dll -%{_mingw32_libdir}/evince/3/backends/pdfdocument.evince-backend -%{_mingw32_libdir}/evince/3/backends/libpdfdocument.dll -%{_mingw32_libdir}/evince/3/backends/tiffdocument.evince-backend -%{_mingw32_libdir}/evince/3/backends/libtiffdocument.dll -%{_mingw32_libdir}/evince/3/backends/psdocument.evince-backend -%{_mingw32_libdir}/evince/3/backends/libpsdocument.dll -%{_mingw32_libdir}/evince/3/backends/comicsdocument.evince-backend -%{_mingw32_libdir}/evince/3/backends/libcomicsdocument.dll +%{_mingw32_bindir}/libevdocument3-4.dll +%{_mingw32_bindir}/libevview3-3.dll +%if %{enable_dbus} +%{_mingw32_libexecdir}/evinced.exe +%endif +%{_mingw32_libdir}/evince/4/backends/djvudocument.evince-backend +%{_mingw32_libdir}/evince/4/backends/libdjvudocument.dll +%{_mingw32_libdir}/evince/4/backends/pdfdocument.evince-backend +%{_mingw32_libdir}/evince/4/backends/libpdfdocument.dll +%{_mingw32_libdir}/evince/4/backends/tiffdocument.evince-backend +%{_mingw32_libdir}/evince/4/backends/libtiffdocument.dll +%{_mingw32_libdir}/evince/4/backends/psdocument.evince-backend +%{_mingw32_libdir}/evince/4/backends/libpsdocument.dll +%{_mingw32_libdir}/evince/4/backends/comicsdocument.evince-backend +%{_mingw32_libdir}/evince/4/backends/libcomicsdocument.dll +%{_mingw32_libdir}/evince/4/backends/xpsdocument.evince-backend +%{_mingw32_libdir}/evince/4/backends/libxpsdocument.dll %if %{enable_dvi_backend} -%{_mingw32_libdir}/evince/3/backends/dvidocument.evince-backend -%{_mingw32_libdir}/evince/3/backends/libdvidocument.dll +%{_mingw32_libdir}/evince/4/backends/dvidocument.evince-backend +%{_mingw32_libdir}/evince/4/backends/libdvidocument.dll %endif -%{_mingw32_libexecdir}/evince-convert-metadata.exe %{_mingw32_mandir}/man1/evince.1* -%{_mingw32_datadir}/evince/evince-ui.xml +%{_mingw32_datadir}/help %{_mingw32_datadir}/evince/hand-open.png -%{_mingw32_datadir}/evince/evince-previewer-ui.xml -%{_mingw32_datadir}/evince/evince-toolbar.xml %{_mingw32_datadir}/evince/icons/hicolor %{_mingw32_datadir}/icons/hicolor %{_mingw32_datadir}/GConf/gsettings/evince.convert %{_mingw32_datadir}/glib-2.0/schemas/org.gnome.Evince.gschema.xml +%if %{enable_dbus} +%{_mingw32_datadir}/dbus-1/services/org.gnome.evince.Daemon.service +%endif +%{_mingw32_datadir}/thumbnailers/evince.thumbnailer + %files lang -f evince.lang %defattr(-,root,root) @@ -183,13 +195,13 @@ fi %files devel %defattr(-,root,root) -%{_mingw32_includedir}/evince/2.32 -%{_mingw32_libdir}/libevdocument.dll.a -%{_mingw32_libdir}/libevview.dll.a -%{_mingw32_libdir}/pkgconfig/evince-document-2.32.pc -%{_mingw32_libdir}/pkgconfig/evince-view-2.32.pc +%{_mingw32_includedir}/evince/3.0 +%{_mingw32_libdir}/libevdocument3.dll.a +%{_mingw32_libdir}/libevview3.dll.a +%{_mingw32_libdir}/pkgconfig/evince-document-3.0.pc +%{_mingw32_libdir}/pkgconfig/evince-view-3.0.pc %{_mingw32_datadir}/gtk-doc/html/evince -%{_mingw32_datadir}/gtk-doc/html/libevdocument-2.32 -%{_mingw32_datadir}/gtk-doc/html/libevview-2.32 +%{_mingw32_datadir}/gtk-doc/html/libevdocument-3.0 +%{_mingw32_datadir}/gtk-doc/html/libevview-3.0 %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor