From da7bb154d27d3b872867223a5df60df8f5fb6e7d Mon Sep 17 00:00:00 2001 From: Perberos Date: Wed, 9 Nov 2011 18:44:56 -0300 Subject: renaming evince to atril --- Makefile.am | 10 +- NEWS | 204 +++--- README | 12 +- TODO | 2 +- atril-document.h | 62 ++ atril-document.pc.in | 12 + atril-view.h | 34 + atril-view.pc.in | 11 + autogen.sh | 2 +- backend/backend.symbols | 2 +- backend/comics/Makefile.am | 8 +- backend/comics/comics-document.c | 2 +- backend/comics/comics-document.h | 2 +- backend/comics/comicsdocument.atril-backend.in | 4 + backend/comics/comicsdocument.evince-backend.in | 4 - backend/djvu/Makefile.am | 8 +- backend/djvu/djvu-document.c | 2 +- backend/djvu/djvu-document.h | 2 +- backend/djvu/djvu-links.c | 4 +- backend/djvu/djvudocument.atril-backend.in | 4 + backend/djvu/djvudocument.evince-backend.in | 4 - backend/dvi/Makefile.am | 8 +- backend/dvi/dvi-document.c | 2 +- backend/dvi/dvi-document.h | 2 +- backend/dvi/dvidocument.atril-backend.in | 4 + backend/dvi/dvidocument.evince-backend.in | 4 - backend/impress/Makefile.am | 10 +- backend/impress/impress-document.h | 2 +- backend/impress/impressdocument.atril-backend.in | 4 + backend/impress/impressdocument.evince-backend.in | 4 - backend/pdf/Makefile.am | 8 +- backend/pdf/ev-poppler.cc | 8 +- backend/pdf/ev-poppler.h | 2 +- backend/pdf/pdfdocument.atril-backend.in | 6 + backend/pdf/pdfdocument.evince-backend.in | 6 - backend/pixbuf/Makefile.am | 8 +- backend/pixbuf/pixbuf-document.h | 2 +- backend/pixbuf/pixbufdocument.atril-backend.in | 4 + backend/pixbuf/pixbufdocument.evince-backend.in | 4 - backend/ps/Makefile.am | 8 +- backend/ps/ev-spectre.c | 6 +- backend/ps/ev-spectre.h | 2 +- backend/ps/psdocument.atril-backend.in | 5 + backend/ps/psdocument.evince-backend.in | 5 - backend/tiff/Makefile.am | 8 +- backend/tiff/tiff-document.h | 2 +- backend/tiff/tiff2ps.c | 4 +- backend/tiff/tiffdocument.atril-backend.in | 4 + backend/tiff/tiffdocument.evince-backend.in | 4 - configure.ac | 52 +- cut-n-paste/zoom-control/ephy-zoom-action.c | 2 +- cut-n-paste/zoom-control/ephy-zoom-control.c | 2 +- cut-n-paste/zoom-control/ephy-zoom.h | 2 +- data/Makefile.am | 22 +- data/atril-previewer-ui.xml | 34 + data/atril-toolbar.xml | 39 ++ data/atril-ui.xml | 138 ++++ data/atril.1 | 41 ++ data/atril.convert | 2 + data/atril.desktop.in.in | 17 + data/atril.ico | Bin 0 -> 24998 bytes data/evince-previewer-ui.xml | 34 - data/evince-toolbar.xml | 39 -- data/evince-ui.xml | 138 ---- data/evince.1 | 41 -- data/evince.convert | 2 - data/evince.desktop.in.in | 17 - data/evince.ico | Bin 24998 -> 0 bytes data/icons/16x16/apps/Makefile.am | 2 +- data/icons/16x16/apps/atril.png | Bin 0 -> 840 bytes data/icons/16x16/apps/evince.png | Bin 840 -> 0 bytes data/icons/22x22/apps/Makefile.am | 2 +- data/icons/22x22/apps/atril.png | Bin 0 -> 1209 bytes data/icons/22x22/apps/evince.png | Bin 1209 -> 0 bytes data/icons/24x24/apps/Makefile.am | 2 +- data/icons/24x24/apps/atril.png | Bin 0 -> 1226 bytes data/icons/24x24/apps/evince.png | Bin 1226 -> 0 bytes data/icons/48x48/apps/Makefile.am | 2 +- data/icons/48x48/apps/atril.png | Bin 0 -> 3314 bytes data/icons/48x48/apps/evince.png | Bin 3314 -> 0 bytes data/icons/scalable/apps/Makefile.am | 2 +- data/icons/scalable/apps/atril.svg | 500 ++++++++++++++ data/icons/scalable/apps/evince.svg | 500 -------------- data/org.mate.Atril.gschema.xml.in | 51 ++ data/org.mate.Evince.gschema.xml.in | 51 -- data/org.mate.atril.Daemon.service.in | 3 + data/org.mate.evince.Daemon.service.in | 3 - evince-document.h | 62 -- evince-document.pc.in | 12 - evince-view.h | 34 - evince-view.pc.in | 11 - help/C/atril.xml | 774 ++++++++++++++++++++++ help/C/evince.xml | 774 ---------------------- help/C/figures/atril_start_window.png | Bin 0 -> 17271 bytes help/C/figures/evince_start_window.png | Bin 17271 -> 0 bytes help/ChangeLog | 50 +- help/Makefile.am | 4 +- help/atril.omf.in | 11 + help/bg/bg.po | 430 ++++++------ help/bg/figures/atril_start_window.png | Bin 0 -> 22691 bytes help/bg/figures/evince_start_window.png | Bin 22691 -> 0 bytes help/ca/ca.po | 584 ++++++++-------- help/ca/figures/atril_start_window.png | Bin 0 -> 15084 bytes help/ca/figures/evince_start_window.png | Bin 15084 -> 0 bytes help/cs/cs.po | 590 ++++++++--------- help/cs/figures/atril_start_window.png | Bin 0 -> 16696 bytes help/cs/figures/evince_start_window.png | Bin 16696 -> 0 bytes help/de/de.po | 588 ++++++++-------- help/de/figures/atril_start_window.png | Bin 0 -> 12327 bytes help/de/figures/evince_start_window.png | Bin 12327 -> 0 bytes help/el/el.po | 652 +++++++++--------- help/el/figures/atril_start_window.png | Bin 0 -> 21766 bytes help/el/figures/evince_start_window.png | Bin 21766 -> 0 bytes help/en_GB/en_GB.po | 594 ++++++++--------- help/es/es.po | 592 ++++++++--------- help/es/figures/atril_start_window.png | Bin 0 -> 16965 bytes help/es/figures/evince_start_window.png | Bin 16965 -> 0 bytes help/eu/eu.po | 436 ++++++------ help/eu/figures/atril_start_window.png | Bin 0 -> 18535 bytes help/eu/figures/evince_start_window.png | Bin 18535 -> 0 bytes help/evince.omf.in | 11 - help/fi/fi.po | 572 ++++++++-------- help/fi/figures/atril_start_window.png | Bin 0 -> 16351 bytes help/fi/figures/evince_start_window.png | Bin 16351 -> 0 bytes help/fr/figures/atril_start_window.png | Bin 0 -> 15794 bytes help/fr/figures/evince_start_window.png | Bin 15794 -> 0 bytes help/fr/fr.po | 588 ++++++++-------- help/it/figures/atril_start_window.png | Bin 0 -> 13779 bytes help/it/figures/evince_start_window.png | Bin 13779 -> 0 bytes help/it/it.po | 584 ++++++++-------- help/ja/figures/atril_start_window.png | Bin 0 -> 16465 bytes help/ja/figures/evince_start_window.png | Bin 16465 -> 0 bytes help/ja/ja.po | 450 ++++++------- help/nl/figures/atril_start_window.png | Bin 0 -> 10972 bytes help/nl/figures/evince_start_window.png | Bin 10972 -> 0 bytes help/nl/nl.po | 430 ++++++------ help/oc/oc.po | 388 +++++------ help/pt_BR/pt_BR.po | 588 ++++++++-------- help/reference/libdocument/Makefile.am | 6 +- help/reference/libdocument/libevdocument-docs.xml | 8 +- help/reference/libview/Makefile.am | 6 +- help/reference/libview/libevview-docs.xml | 8 +- help/reference/libview/libevview.types | 2 +- help/reference/shell/Makefile.am | 12 +- help/reference/shell/atril-docs.xml | 163 +++++ help/reference/shell/atril-overrides.txt | 0 help/reference/shell/atril-sections.txt | 472 +++++++++++++ help/reference/shell/atril.types | 24 + help/reference/shell/evince-docs.xml | 163 ----- help/reference/shell/evince-overrides.txt | 0 help/reference/shell/evince-sections.txt | 472 ------------- help/reference/shell/evince.types | 24 - help/ru/ru.po | 580 ++++++++-------- help/sl/sl.po | 630 +++++++++--------- help/sr/sr.po | 426 ++++++------ help/sv/figures/atril_start_window.png | Bin 0 -> 17118 bytes help/sv/figures/evince_start_window.png | Bin 17118 -> 0 bytes help/sv/sv.po | 628 +++++++++--------- help/uk/figures/atril_start_window.png | Bin 0 -> 14049 bytes help/uk/figures/evince_start_window.png | Bin 14049 -> 0 bytes help/uk/uk.po | 444 ++++++------- help/vi/vi.po | 630 +++++++++--------- help/zh_CN/zh_CN.po | 590 ++++++++--------- intltool-extract.in | 0 intltool-merge.in | 0 intltool-update.in | 0 libdocument/Makefile.am | 20 +- libdocument/ev-annotation.c | 6 +- libdocument/ev-annotation.h | 10 +- libdocument/ev-async-renderer.h | 4 +- libdocument/ev-attachment.c | 6 +- libdocument/ev-attachment.h | 10 +- libdocument/ev-backends-manager.c | 22 +- libdocument/ev-backends-manager.h | 10 +- libdocument/ev-debug.c | 4 +- libdocument/ev-debug.h | 6 +- libdocument/ev-document-annotations.c | 6 +- libdocument/ev-document-annotations.h | 10 +- libdocument/ev-document-attachments.c | 6 +- libdocument/ev-document-attachments.h | 10 +- libdocument/ev-document-factory.c | 2 +- libdocument/ev-document-factory.h | 4 +- libdocument/ev-document-find.h | 4 +- libdocument/ev-document-fonts.c | 6 +- libdocument/ev-document-fonts.h | 10 +- libdocument/ev-document-forms.c | 6 +- libdocument/ev-document-forms.h | 10 +- libdocument/ev-document-images.c | 6 +- libdocument/ev-document-images.h | 10 +- libdocument/ev-document-info.h | 4 +- libdocument/ev-document-layers.c | 6 +- libdocument/ev-document-layers.h | 10 +- libdocument/ev-document-links.c | 6 +- libdocument/ev-document-links.h | 10 +- libdocument/ev-document-misc.h | 4 +- libdocument/ev-document-print.c | 6 +- libdocument/ev-document-print.h | 6 +- libdocument/ev-document-security.c | 6 +- libdocument/ev-document-security.h | 10 +- libdocument/ev-document-text.h | 4 +- libdocument/ev-document-thumbnails.h | 4 +- libdocument/ev-document-transition.c | 6 +- libdocument/ev-document-transition.h | 10 +- libdocument/ev-document-type-builtins.h.template | 4 +- libdocument/ev-document.h | 6 +- libdocument/ev-file-exporter.c | 6 +- libdocument/ev-file-exporter.h | 10 +- libdocument/ev-file-helpers.c | 10 +- libdocument/ev-file-helpers.h | 4 +- libdocument/ev-form-field.c | 6 +- libdocument/ev-form-field.h | 10 +- libdocument/ev-image.c | 6 +- libdocument/ev-image.h | 10 +- libdocument/ev-init.c | 14 +- libdocument/ev-init.h | 10 +- libdocument/ev-layer.c | 6 +- libdocument/ev-layer.h | 10 +- libdocument/ev-link-action.c | 6 +- libdocument/ev-link-action.h | 10 +- libdocument/ev-link-dest.c | 6 +- libdocument/ev-link-dest.h | 10 +- libdocument/ev-link.c | 6 +- libdocument/ev-link.h | 10 +- libdocument/ev-mapping-list.c | 6 +- libdocument/ev-mapping-list.h | 10 +- libdocument/ev-module.c | 10 +- libdocument/ev-module.h | 6 +- libdocument/ev-page.c | 6 +- libdocument/ev-page.h | 10 +- libdocument/ev-render-context.c | 6 +- libdocument/ev-render-context.h | 10 +- libdocument/ev-selection.h | 4 +- libdocument/ev-transition-effect.c | 6 +- libdocument/ev-transition-effect.h | 10 +- libmisc/Makefile.am | 2 +- libmisc/ev-page-action-widget.c | 2 +- libmisc/ev-page-action-widget.h | 2 +- libmisc/ev-page-action.h | 4 +- libview/Makefile.am | 24 +- libview/ev-annotation-window.c | 6 +- libview/ev-annotation-window.h | 6 +- libview/ev-document-model.c | 6 +- libview/ev-document-model.h | 12 +- libview/ev-job-scheduler.c | 6 +- libview/ev-job-scheduler.h | 10 +- libview/ev-jobs.c | 6 +- libview/ev-jobs.h | 12 +- libview/ev-loading-window.c | 6 +- libview/ev-loading-window.h | 6 +- libview/ev-page-cache.c | 6 +- libview/ev-page-cache.h | 14 +- libview/ev-pixbuf-cache.h | 14 +- libview/ev-print-operation.c | 16 +- libview/ev-print-operation.h | 12 +- libview/ev-stock-icons.c | 14 +- libview/ev-stock-icons.h | 12 +- libview/ev-timeline.c | 2 +- libview/ev-timeline.h | 4 +- libview/ev-transition-animation.c | 4 +- libview/ev-transition-animation.h | 6 +- libview/ev-view-accessible.c | 6 +- libview/ev-view-accessible.h | 8 +- libview/ev-view-cursor.c | 6 +- libview/ev-view-cursor.h | 10 +- libview/ev-view-presentation.c | 6 +- libview/ev-view-presentation.h | 12 +- libview/ev-view-private.h | 8 +- libview/ev-view-type-builtins.h.template | 4 +- libview/ev-view.c | 8 +- libview/ev-view.h | 12 +- m4/gtk-doc.m4 | 6 + m4/intltool.m4 | 2 +- m4/libtool.m4 | 265 ++++++-- m4/ltoptions.m4 | 19 +- m4/ltversion.m4 | 10 +- m4/lt~obsolete.m4 | 2 +- po/ChangeLog | 4 +- po/POTFILES.in | 26 +- po/POTFILES.skip | 2 +- po/af.po | 60 +- po/ar.po | 52 +- po/as.po | 72 +- po/ast.po | 86 +-- po/be.po | 106 +-- po/be@latin.po | 56 +- po/bg.po | 66 +- po/bn.po | 60 +- po/bn_IN.po | 74 +-- po/br.po | 66 +- po/ca.po | 78 +-- po/ca@valencia.po | 78 +-- po/cs.po | 70 +- po/cy.po | 76 +-- po/da.po | 76 +-- po/de.po | 72 +- po/dz.po | 84 +-- po/el.po | 74 +-- po/en@shaw.po | 50 +- po/en_CA.po | 104 +-- po/en_GB.po | 78 +-- po/eo.po | 66 +- po/es.po | 80 +-- po/et.po | 50 +- po/eu.po | 66 +- po/fa.po | 74 +-- po/fi.po | 78 +-- po/fr.po | 70 +- po/ga.po | 56 +- po/gl.po | 68 +- po/gu.po | 72 +- po/he.po | 68 +- po/hi.po | 64 +- po/hu.po | 64 +- po/id.po | 74 +-- po/it.po | 74 +-- po/ja.po | 66 +- po/ka.po | 70 +- po/kk.po | 70 +- po/kn.po | 62 +- po/ko.po | 64 +- po/ks.po | 90 +-- po/ku.po | 90 +-- po/lt.po | 72 +- po/lv.po | 76 +-- po/mai.po | 60 +- po/mg.po | 88 +-- po/mk.po | 90 +-- po/ml.po | 66 +- po/mn.po | 54 +- po/mr.po | 58 +- po/ms.po | 60 +- po/nb.po | 68 +- po/nds.po | 64 +- po/ne.po | 72 +- po/nl.po | 72 +- po/nn.po | 72 +- po/oc.po | 86 +-- po/or.po | 66 +- po/pa.po | 60 +- po/pl.po | 66 +- po/ps.po | 82 +-- po/pt.po | 78 +-- po/pt_BR.po | 82 +-- po/ro.po | 76 +-- po/ru.po | 74 +-- po/rw.po | 46 +- po/si.po | 68 +- po/sk.po | 90 +-- po/sl.po | 76 +-- po/sq.po | 100 +-- po/sr.po | 60 +- po/sr@latin.po | 60 +- po/sv.po | 72 +- po/ta.po | 54 +- po/te.po | 64 +- po/th.po | 80 +-- po/tr.po | 70 +- po/uk.po | 70 +- po/vi.po | 64 +- po/wa.po | 50 +- po/zh_CN.po | 80 +-- po/zh_HK.po | 78 +-- po/zh_TW.po | 78 +-- previewer/Makefile.am | 16 +- previewer/ev-previewer-window.c | 16 +- previewer/ev-previewer-window.h | 10 +- previewer/ev-previewer.c | 12 +- properties/Makefile.am | 12 +- properties/ev-properties-main.c | 2 +- properties/ev-properties-view.c | 6 +- properties/ev-properties-view.h | 8 +- shell/Makefile.am | 42 +- shell/atril-icon.rc | 1 + shell/ev-annotation-properties-dialog.c | 6 +- shell/ev-annotation-properties-dialog.h | 8 +- shell/ev-application.c | 60 +- shell/ev-application.h | 6 +- shell/ev-convert-metadata.c | 14 +- shell/ev-daemon.c | 36 +- shell/ev-file-monitor.c | 6 +- shell/ev-file-monitor.h | 6 +- shell/ev-keyring.c | 6 +- shell/ev-keyring.h | 6 +- shell/ev-media-player-keys.c | 6 +- shell/ev-message-area.c | 6 +- shell/ev-message-area.h | 6 +- shell/ev-metadata.c | 8 +- shell/ev-metadata.h | 6 +- shell/ev-password-view.c | 6 +- shell/ev-password-view.h | 6 +- shell/ev-progress-message-area.c | 6 +- shell/ev-progress-message-area.h | 6 +- shell/ev-properties-dialog.c | 6 +- shell/ev-properties-dialog.h | 6 +- shell/ev-properties-fonts.c | 6 +- shell/ev-properties-fonts.h | 6 +- shell/ev-properties-license.c | 6 +- shell/ev-properties-license.h | 8 +- shell/ev-sidebar-annotations.c | 6 +- shell/ev-sidebar-annotations.h | 6 +- shell/ev-sidebar-attachments.c | 6 +- shell/ev-sidebar-attachments.h | 6 +- shell/ev-sidebar-layers.c | 6 +- shell/ev-sidebar-layers.h | 6 +- shell/ev-sidebar-links.c | 6 +- shell/ev-sidebar-links.h | 6 +- shell/ev-sidebar-thumbnails.c | 6 +- shell/ev-sidebar-thumbnails.h | 6 +- shell/ev-sidebar.c | 6 +- shell/ev-sidebar.h | 6 +- shell/ev-window-title.c | 6 +- shell/ev-window-title.h | 6 +- shell/ev-window.c | 54 +- shell/ev-window.h | 6 +- shell/evince-icon.rc | 1 - shell/main.c | 12 +- test/test1.py | 4 +- test/test2.py | 4 +- test/test3.py | 4 +- test/test4.py | 4 +- test/test5.py | 4 +- test/test6.py | 4 +- test/test7.py | 6 +- thumbnailer/Makefile.am | 38 +- thumbnailer/atril-thumbnailer-comics.schemas.in | 106 +++ thumbnailer/atril-thumbnailer-djvu.schemas.in | 30 + thumbnailer/atril-thumbnailer-dvi.schemas.in | 83 +++ thumbnailer/atril-thumbnailer-ps.schemas.in | 154 +++++ thumbnailer/atril-thumbnailer.c | 309 +++++++++ thumbnailer/atril-thumbnailer.schemas.in | 80 +++ thumbnailer/evince-thumbnailer-comics.schemas.in | 106 --- thumbnailer/evince-thumbnailer-djvu.schemas.in | 30 - thumbnailer/evince-thumbnailer-dvi.schemas.in | 83 --- thumbnailer/evince-thumbnailer-ps.schemas.in | 154 ----- thumbnailer/evince-thumbnailer.c | 309 --------- thumbnailer/evince-thumbnailer.schemas.in | 80 --- 436 files changed, 13396 insertions(+), 13224 deletions(-) create mode 100644 atril-document.h create mode 100644 atril-document.pc.in create mode 100644 atril-view.h create mode 100644 atril-view.pc.in create mode 100644 backend/comics/comicsdocument.atril-backend.in delete mode 100644 backend/comics/comicsdocument.evince-backend.in create mode 100644 backend/djvu/djvudocument.atril-backend.in delete mode 100644 backend/djvu/djvudocument.evince-backend.in create mode 100644 backend/dvi/dvidocument.atril-backend.in delete mode 100644 backend/dvi/dvidocument.evince-backend.in create mode 100644 backend/impress/impressdocument.atril-backend.in delete mode 100644 backend/impress/impressdocument.evince-backend.in create mode 100644 backend/pdf/pdfdocument.atril-backend.in delete mode 100644 backend/pdf/pdfdocument.evince-backend.in create mode 100644 backend/pixbuf/pixbufdocument.atril-backend.in delete mode 100644 backend/pixbuf/pixbufdocument.evince-backend.in create mode 100644 backend/ps/psdocument.atril-backend.in delete mode 100644 backend/ps/psdocument.evince-backend.in create mode 100644 backend/tiff/tiffdocument.atril-backend.in delete mode 100644 backend/tiff/tiffdocument.evince-backend.in create mode 100644 data/atril-previewer-ui.xml create mode 100644 data/atril-toolbar.xml create mode 100644 data/atril-ui.xml create mode 100644 data/atril.1 create mode 100644 data/atril.convert create mode 100644 data/atril.desktop.in.in create mode 100644 data/atril.ico delete mode 100644 data/evince-previewer-ui.xml delete mode 100644 data/evince-toolbar.xml delete mode 100644 data/evince-ui.xml delete mode 100644 data/evince.1 delete mode 100644 data/evince.convert delete mode 100644 data/evince.desktop.in.in delete mode 100644 data/evince.ico create mode 100644 data/icons/16x16/apps/atril.png delete mode 100644 data/icons/16x16/apps/evince.png create mode 100644 data/icons/22x22/apps/atril.png delete mode 100644 data/icons/22x22/apps/evince.png create mode 100644 data/icons/24x24/apps/atril.png delete mode 100644 data/icons/24x24/apps/evince.png create mode 100644 data/icons/48x48/apps/atril.png delete mode 100644 data/icons/48x48/apps/evince.png create mode 100644 data/icons/scalable/apps/atril.svg delete mode 100644 data/icons/scalable/apps/evince.svg create mode 100644 data/org.mate.Atril.gschema.xml.in delete mode 100644 data/org.mate.Evince.gschema.xml.in create mode 100644 data/org.mate.atril.Daemon.service.in delete mode 100644 data/org.mate.evince.Daemon.service.in delete mode 100644 evince-document.h delete mode 100644 evince-document.pc.in delete mode 100644 evince-view.h delete mode 100644 evince-view.pc.in create mode 100644 help/C/atril.xml delete mode 100644 help/C/evince.xml create mode 100644 help/C/figures/atril_start_window.png delete mode 100644 help/C/figures/evince_start_window.png create mode 100644 help/atril.omf.in create mode 100644 help/bg/figures/atril_start_window.png delete mode 100644 help/bg/figures/evince_start_window.png create mode 100644 help/ca/figures/atril_start_window.png delete mode 100644 help/ca/figures/evince_start_window.png create mode 100644 help/cs/figures/atril_start_window.png delete mode 100644 help/cs/figures/evince_start_window.png create mode 100644 help/de/figures/atril_start_window.png delete mode 100644 help/de/figures/evince_start_window.png create mode 100644 help/el/figures/atril_start_window.png delete mode 100644 help/el/figures/evince_start_window.png create mode 100644 help/es/figures/atril_start_window.png delete mode 100644 help/es/figures/evince_start_window.png create mode 100644 help/eu/figures/atril_start_window.png delete mode 100644 help/eu/figures/evince_start_window.png delete mode 100644 help/evince.omf.in create mode 100644 help/fi/figures/atril_start_window.png delete mode 100644 help/fi/figures/evince_start_window.png create mode 100644 help/fr/figures/atril_start_window.png delete mode 100644 help/fr/figures/evince_start_window.png create mode 100644 help/it/figures/atril_start_window.png delete mode 100644 help/it/figures/evince_start_window.png create mode 100644 help/ja/figures/atril_start_window.png delete mode 100644 help/ja/figures/evince_start_window.png create mode 100644 help/nl/figures/atril_start_window.png delete mode 100644 help/nl/figures/evince_start_window.png create mode 100644 help/reference/shell/atril-docs.xml create mode 100644 help/reference/shell/atril-overrides.txt create mode 100644 help/reference/shell/atril-sections.txt create mode 100644 help/reference/shell/atril.types delete mode 100644 help/reference/shell/evince-docs.xml delete mode 100644 help/reference/shell/evince-overrides.txt delete mode 100644 help/reference/shell/evince-sections.txt delete mode 100644 help/reference/shell/evince.types create mode 100644 help/sv/figures/atril_start_window.png delete mode 100644 help/sv/figures/evince_start_window.png create mode 100644 help/uk/figures/atril_start_window.png delete mode 100644 help/uk/figures/evince_start_window.png create mode 100644 intltool-extract.in create mode 100644 intltool-merge.in create mode 100644 intltool-update.in create mode 100644 shell/atril-icon.rc delete mode 100644 shell/evince-icon.rc create mode 100644 thumbnailer/atril-thumbnailer-comics.schemas.in create mode 100644 thumbnailer/atril-thumbnailer-djvu.schemas.in create mode 100644 thumbnailer/atril-thumbnailer-dvi.schemas.in create mode 100644 thumbnailer/atril-thumbnailer-ps.schemas.in create mode 100644 thumbnailer/atril-thumbnailer.c create mode 100644 thumbnailer/atril-thumbnailer.schemas.in delete mode 100644 thumbnailer/evince-thumbnailer-comics.schemas.in delete mode 100644 thumbnailer/evince-thumbnailer-djvu.schemas.in delete mode 100644 thumbnailer/evince-thumbnailer-dvi.schemas.in delete mode 100644 thumbnailer/evince-thumbnailer-ps.schemas.in delete mode 100644 thumbnailer/evince-thumbnailer.c delete mode 100644 thumbnailer/evince-thumbnailer.schemas.in diff --git a/Makefile.am b/Makefile.am index 2468dae4..f571dcf7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -33,14 +33,14 @@ NULL = pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = \ - evince-document-$(EV_API_VERSION).pc \ - evince-view-$(EV_API_VERSION).pc \ + atril-document-$(EV_API_VERSION).pc \ + atril-view-$(EV_API_VERSION).pc \ $(NULL) -headerdir = $(includedir)/evince/$(EV_API_VERSION) +headerdir = $(includedir)/atril/$(EV_API_VERSION) header_DATA = \ - evince-document.h \ - evince-view.h \ + atril-document.h \ + atril-view.h \ $(NULL) # Applications diff --git a/NEWS b/NEWS index 0af06a59..57e2af85 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,5 @@ ================ -Evince 2.32.0 +Atril 2.32.0 ================ Bug fixes: @@ -24,19 +24,19 @@ Translation updates: * Yuri Myasoedov (ru) ================ -Evince 2.31.92 +Atril 2.31.92 ================ Bug fixes: - * Change gsettings schema path from /apps/evince to - /org/mate/evince (Christian Persch) + * Change gsettings schema path from /apps/atril to + /org/mate/atril (Christian Persch) * A D-Bus signal is now emitted when document is loaded (#626561, José Aliste) * Use MateConf again for lockdown settings (#628945, Christian Persch) - * Fix a crash during selection when evince is built with gtk2 + * Fix a crash during selection when atril is built with gtk2 (Carlos Garcia Campos) - * Evince daemon can spawn an evince instance when finding a + * Atril daemon can spawn an atril instance when finding a document (#625971, José Aliste) Translation updates: @@ -62,7 +62,7 @@ Translation updates: * Chao-Hsiung Liao (zh_TW) ================ -Evince 2.31.90 +Atril 2.31.90 ================ Bug fixes: @@ -87,7 +87,7 @@ Translation updates: * Xhacker Liu (zh_CN) ================ -Evince 2.31.6.1 +Atril 2.31.6.1 ================ New Features and UI Improvements: @@ -110,7 +110,7 @@ Translation updates: * Dr.T.Vasudevan (ta) ================ -Evince 2.31.6 +Atril 2.31.6 ================ New Features and UI Improvements: @@ -159,7 +159,7 @@ Translation updates: * Chao-Hsiung Liao (zh_TW) ================ -Evince 2.31.5 +Atril 2.31.5 ================ New Features and UI Improvements: @@ -182,7 +182,7 @@ Translation updates: * 朱涛 (zh_CN) ================ -Evince 2.31.4.1 +Atril 2.31.4.1 ================ Bug fixes: @@ -191,7 +191,7 @@ Bug fixes: (#623080, Carlos Garcia Campos) ================ -Evince 2.31.4 +Atril 2.31.4 ================ New Features and UI Improvements: @@ -220,7 +220,7 @@ Translation updates: * 杨章 (zh_CN) ================ -Evince 2.31.3 +Atril 2.31.3 ================ New Features and UI Improvements: @@ -253,7 +253,7 @@ Translation updates: * 甘露(Gan Lu) (zh_CN) ================ -Evince 2.31.2 +Atril 2.31.2 ================ New Features and UI Improvements: @@ -269,7 +269,7 @@ New Features and UI Improvements: Bug fixes: * Fix localization on Windows (#610548, Hib Eris) - * Convert relative path to absolute path for evince-previewer + * Convert relative path to absolute path for atril-previewer (Marek Kasik) * Fix opening files with '#' in its name (#616515, Carlos Garcia Campos) @@ -288,7 +288,7 @@ Translation updates: * Manoj Kumar Giri (or) ================ -Evince 2.31.1 +Atril 2.31.1 ================ New Features and UI Improvements: @@ -346,7 +346,7 @@ Translation updates: * Andrej Žnidaršič (sl) ================ -Evince 2.30.0 +Atril 2.30.0 ================ Bug fixes: @@ -380,7 +380,7 @@ Translation updates: * Maxim Dziumanenko (uk) ================ -Evince 2.29.92 +Atril 2.29.92 ================ Bug fixes: @@ -403,7 +403,7 @@ Translation updates: * Daniel Nylander (sv) ================ -Evince 2.29.91 +Atril 2.29.91 ================ New Features and UI Improvements: @@ -424,7 +424,7 @@ Bug fixes: * Update totem-scrsaver from totem sources (#610173, Carlos Garcia Campos) * Fix linking with pedantic linkers (#609895, Hib Eris) - * Do not link evince shell to poppler directly (#608832, Hib Eris) + * Do not link atril shell to poppler directly (#608832, Hib Eris) * Several translatable messages fixed (#608698, Philip Withnall) Translation updates: @@ -451,7 +451,7 @@ Translation updates: * Chao-Hsiung Liao (zh_TW) ================ -Evince 2.29.5 +Atril 2.29.5 ================ New Features and UI Improvements: @@ -462,9 +462,9 @@ New Features and UI Improvements: Carlos Garcia Campos) * Add custom print tab to printing dialog with several page scale options (#599468, #599470, #599547, Adrian Johnson) - * Add support for remote files in evince thumbnailers (#605218, + * Add support for remote files in atril thumbnailers (#605218, Carlos Garcia Campos) - * Add evince icon to the windows executable (#596401, Hib Eris) + * Add atril icon to the windows executable (#596401, Hib Eris) Bug fixes: @@ -494,7 +494,7 @@ Translation updates: * Maxim Dziumanenko (uk) ================ -Evince 2.29.4 +Atril 2.29.4 ================ New Features and UI Improvements: @@ -537,7 +537,7 @@ Translation updates: * Tao Wei (zh_CN) ================ -Evince 2.29.3 +Atril 2.29.3 ================ New Features and UI Improvements: @@ -570,7 +570,7 @@ Translation updates: * Tao Wei (zh_CN) ================ -Evince 2.29.2 +Atril 2.29.2 ================ New Features and UI Improvements: @@ -615,7 +615,7 @@ Translation updates: * 樊栖江(Fan Qijiang) (zh_CN) ================ -Evince 2.29.1 +Atril 2.29.1 ================ New Features and UI Improvements: @@ -722,7 +722,7 @@ Translation updates: * Chao-Hsiung Liao (zh_TW) ================ -Evince 2.27.90 +Atril 2.27.90 ================ Bug fixes: @@ -761,7 +761,7 @@ Translation updates: * Chao-Hsiung Liao (zh_TW) ================ -Evince 2.27.4 +Atril 2.27.4 ================ Bug fixes: @@ -773,7 +773,7 @@ Bug fixes: Pozuelo Monfort) * Get rid of shave with AM_SILENT_RULES automake option (#585355, Javier Jardón) - * Make evince output pdf on supported printers (#585442, Johan Brannlund) + * Make atril output pdf on supported printers (#585442, Johan Brannlund) * Fix build on windows (Fridrich Strba) * Determine data directory on runtime on windows (Fridrich Strba) * Fix build without MateConf (Nickolay V. Shmyrev) @@ -789,7 +789,7 @@ Translation updates: * Nguyễn Đình Trung (vi) ================ -Evince 2.27.3 +Atril 2.27.3 ================ New Features and UI Improvements: @@ -832,14 +832,14 @@ Translation updates: * Dr.T.Vaasudevan (ta) ================ -Evince 2.27.1 +Atril 2.27.1 ================ New Features and UI Improvements: * Use GtkPrintOperation when printing for the backends that support rendering into a cairo context (#557112, Carlos Garcia Campos) - * Recover previous session when running evince after a crash + * Recover previous session when running atril after a crash (#578894, Carlos Garcia Campos) * Preliminary annotations support (#315002, Carlos Garcia Campos, Iñigo Martínez) @@ -848,13 +848,13 @@ New Features and UI Improvements: * Added F3 as a find-next accelerator key (#579072, Michael J. Chudobiak) * Support the free Gna! unrar tool in comics backend (#552074, Juanjo Marín) - * Add evince-previewer as a separate applicaton that implements + * Add atril-previewer as a separate applicaton that implements the printing preview (Carlos Garcia Campos) Bug fixes: * Fix handling of the tmp folder (#582108, Juanjo Marín) - * Abort dnd operations originated in the same Evince window + * Abort dnd operations originated in the same Atril window (#582077, Carlos Garcia Campos) * Disable bouncing during scrolling (#533534, Martin Pohlack) * Fix build without mateconftool-2 (#581441, Christian Persch) @@ -902,7 +902,7 @@ Translation updates: * Baris Cicek (tr) ================ -Evince 2.26.0 +Atril 2.26.0 ================ Bug fixes: @@ -934,7 +934,7 @@ Translation updates: * Krishna Babu K (te) ================ -Evince 2.25.92 +Atril 2.25.92 ================ Bug fixes: @@ -976,7 +976,7 @@ Translation updates: * Chao-Hsiung Liao (zh_TW) ================ -Evince 2.25.91 +Atril 2.25.91 ================ Bug fixes: @@ -1024,7 +1024,7 @@ Translation updates: * Chao-Hsiung Liao (zh_TW) ================ -Evince 2.25.90 +Atril 2.25.90 ================ Bug fixes: @@ -1061,7 +1061,7 @@ Translation updates: * Daniel Nylander (sv) ================ -Evince 2.25.5 +Atril 2.25.5 ================ Code changes: @@ -1090,7 +1090,7 @@ Translation updates: * Gan Lu (zh_CN) ================ -Evince 2.25.4 +Atril 2.25.4 ================ New Features and UI Improvements: @@ -1125,7 +1125,7 @@ Translation updates: * Gan Lu (zh_CN) ================ -Evince 2.25.2 +Atril 2.25.2 ================ New Features and UI Improvements: @@ -1151,7 +1151,7 @@ Translation updates: * Nguyễn Đình Trung (vi) ================ -Evince 2.25.1 +Atril 2.25.1 ================ New Features and UI Improvements: @@ -1170,7 +1170,7 @@ Translation updates: * Hendrik Richter (de) ================ -Evince 2.24.1 +Atril 2.24.1 ================ Bug fixes: @@ -1196,7 +1196,7 @@ Translation updates: * Takeshi AIHANA (ja) ================ -Evince 2.24.0 +Atril 2.24.0 ================ Bug fixes: @@ -1235,7 +1235,7 @@ Translation updates: * Chao-Hsiung Liao (zh_TW) ================ -Evince 2.23.92 +Atril 2.23.92 ================ Bug fixes: @@ -1272,7 +1272,7 @@ Translation updates: * Funda Wang (zh_CN) ================ -Evince 2.23.91 +Atril 2.23.91 ================ New Features and UI Improvements: @@ -1316,7 +1316,7 @@ Translation updates: * Chao-Hsiung Liao (zh_HK) ================ -Evince 2.23.6 +Atril 2.23.6 ================ Bug fixes: @@ -1339,7 +1339,7 @@ Translation updates: * Duarte Loreto (pt) ================ -Evince 2.23.5 +Atril 2.23.5 ================ New Features and UI Improvements: @@ -1355,7 +1355,7 @@ Bug fixes: * Restart the job search when the find bar is opened for the second time (#531956, Carlos Garcia Campos) - * Fixes caja crash caused by evince properties page extension + * Fixes caja crash caused by atril properties page extension (#542548, Carlos Garcia Campos) * Fix Solaris build (#542924, Darren Kenny) * Fix endianess bug (#540950, Benjamin Jacobs) @@ -1375,7 +1375,7 @@ Translation updates: * Theppitak Karoonboonyanan (th) ================ -Evince 2.23.4 +Atril 2.23.4 ================ New Features and UI Improvements: @@ -1415,7 +1415,7 @@ Translation updates: ================ -Evince 2.22.1.1 +Atril 2.22.1.1 ================ Bug fixes: @@ -1424,7 +1424,7 @@ Bug fixes: * Fixes djvu backend links (#526517, Carlos Garcia Campos) =============== -Evince 2.22.1 +Atril 2.22.1 =============== Bug fixes: @@ -1459,7 +1459,7 @@ Translation updates: * Clytie Siddall (vi) =============== -Evince 2.22.0 +Atril 2.22.0 =============== Bug fixes: @@ -1502,7 +1502,7 @@ Translation updates: * Laurent Dhima (sq) =============== -Evince 2.21.91 +Atril 2.21.91 =============== Bug fixes: @@ -1529,7 +1529,7 @@ Translation updates: * Woodman Tuen (zh_HK) =============== -Evince 2.21.90 +Atril 2.21.90 =============== Important notice for distributors: @@ -1605,7 +1605,7 @@ Translation updates: * Clytie Siddall (vi) =============== -Evince 2.21.1 +Atril 2.21.1 =============== New Features and UI Improvements: @@ -1647,7 +1647,7 @@ Translations: Yannig Marchegay (Kokoyaya) (oc) =============== -Evince 2.20.2 +Atril 2.20.2 =============== Bug fixes: @@ -1666,7 +1666,7 @@ Translations: Youssef Chahibi (ar) =============== -Evince 2.20.1 +Atril 2.20.1 =============== Bug fixes: @@ -1685,7 +1685,7 @@ Translations: Peter Bach (da) =============== -Evince 2.20.0 +Atril 2.20.0 =============== Bug fixes: @@ -1712,7 +1712,7 @@ Translations: Maxim Dziumanenko (uk) =============== -Evince 2.19.92 +Atril 2.19.92 =============== Bug fixes: @@ -1733,7 +1733,7 @@ Translations: Gil Forcada (ca) =============== -Evince 2.19.4 +Atril 2.19.4 =============== Bug fixes: @@ -1761,7 +1761,7 @@ Translations: Takeshi Aihana (ja) ============== -Evince 0.9.3 +Atril 0.9.3 ============== New Features and UI Improvements: @@ -1789,7 +1789,7 @@ Translations: Funda Wang (zh_CN) ============== -Evince 0.9.2 +Atril 0.9.2 ============== New Features and UI Improvements: @@ -1818,7 +1818,7 @@ Translations: Tshewang Norbu (dz) ============== -Evince 0.9.1 +Atril 0.9.1 ============== New Features and UI Improvements: @@ -1856,7 +1856,7 @@ Translations: Yuval Tanny (he) ============== -Evince 0.9.0 +Atril 0.9.0 ============== New Features and UI Improvements: @@ -1894,7 +1894,7 @@ Translations: Daniel Nylander (sv) ============== -Evince 0.8.1 +Atril 0.8.1 ============== Bug Fixes: @@ -1918,7 +1918,7 @@ Translations: Sonam Pelden (dz) ============== -Evince 0.8.0 +Atril 0.8.0 ============== Features and UI Improvements: @@ -1966,7 +1966,7 @@ Translations: Игор Несторовић (sr) ============== -Evince 0.7.2 +Atril 0.7.2 ============== New Features and UI Improvements: @@ -2022,7 +2022,7 @@ Thanks: Ed Catmur, Esteban Sanchez, Theppitak Karoonboonyanan, Wouter Bolsterlee ============== -Evince 0.7.1 +Atril 0.7.1 ============== New Features: @@ -2062,7 +2062,7 @@ Thanks: Damien Carbery, Jens Granseuer, Yevgen Muntyan ============== -Evince 0.7.0 +Atril 0.7.0 ============== New Features: @@ -2123,7 +2123,7 @@ Thanks: Julien Rebetez, P. Henrique Silva, Yevgen Muntyan ============== -Evince 0.6.1 +Atril 0.6.1 ============== Bug Fixes: @@ -2152,7 +2152,7 @@ Thanks: Vladimer Sichinava, Daniel Nylander, Tommi Vainikainen, Luca Ferretti ============== -Evince 0.6.0 +Atril 0.6.0 ============== Bug Fixes: @@ -2185,12 +2185,12 @@ Thanks: Theppitak Karoonboonyanan, Žygimantas Beručka ============== -Evince 0.5.5 +Atril 0.5.5 ============== New Features: - * Evince have preview mode for using with gtk+ + * Atril have preview mode for using with gtk+ * New print dialog is used with gtk 2.10 * New recent files framework is used @@ -2224,12 +2224,12 @@ Thanks: Charonitakis, Priit Laes, Takeshi Aihana, Theppitak Karoonboonyanan ============== -Evince 0.5.4 +Atril 0.5.4 ============== New Features: - * Evince supports impress slides with --enable-impress + * Atril supports impress slides with --enable-impress * URI's with anchors can be opened Bug Fixes: @@ -2264,12 +2264,12 @@ Thanks: Vincent van Adrighem, Yair Hershkovitz ============== -Evince 0.5.3 +Atril 0.5.3 ============== New Features: - * Evince supports attachments in PDF files + * Atril supports attachments in PDF files * We require gtk 2.8 and djvulibre 3.5.17 now * Links system is reworked allowing named links @@ -2299,7 +2299,7 @@ Thanks: Javier F. Serrador, Kjartan Maraas and especially all translators. ============== -Evince 0.5.2 +Atril 0.5.2 ============== Bug Fixes: @@ -2312,12 +2312,12 @@ Translations: * bg bn da de et fa fr hi hu ja ka pt pt_BR ro ru sv uk vi ============== -Evince 0.5.1 +Atril 0.5.1 ============== New Features: - * Evince can search text in DJVU files + * Atril can search text in DJVU files Interface improvements: @@ -2335,7 +2335,7 @@ Bug Fixes: * 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 + * Atril don't jump to find result if window was scrolled during search * It's now clear what page the toolbar page number applies to Translations: @@ -2352,7 +2352,7 @@ Thanks: Christopher Aillon and all translators. ============== -Evince 0.5.0 +Atril 0.5.0 ============== New Features: @@ -2388,7 +2388,7 @@ Translations: * nl for documentation. ============== -Evince 0.4.0 +Atril 0.4.0 ============== Bug Fixes: @@ -2404,7 +2404,7 @@ Bug Fixes: * findbar fixes ============== -Evince 0.3.4 +Atril 0.3.4 ============== Bug Fixes: @@ -2417,7 +2417,7 @@ Bug Fixes: * Fix dvi backend compilation with t1lib-5.0 ============== -Evince 0.3.3 +Atril 0.3.3 ============== New Features: @@ -2454,7 +2454,7 @@ Translations: * eu, gl, gu, he, hi, ne, pa, pl, sk, sr, st@Latn, tr ============== -Evince 0.3.2 +Atril 0.3.2 ============== New Features: @@ -2485,7 +2485,7 @@ Bug Fixes: * Several minor fixes ============== -Evince 0.3.1 +Atril 0.3.1 ============== New Features: @@ -2511,7 +2511,7 @@ Bug Fixes: * Fix printing on LPD printers ============== -Evince 0.3.0 +Atril 0.3.0 ============== New Features: @@ -2535,7 +2535,7 @@ Bug Fixes: * Fix build problems with t1lib ============== -Evince 0.2.1 +Atril 0.2.1 ============== New Features: @@ -2585,7 +2585,7 @@ Translations: * ru (Nickolay Shmyrev) ============== -Evince 0.2.0 +Atril 0.2.0 ============== Code changes @@ -2602,13 +2602,13 @@ New features * Use page labels as page numbers (Jonathan) ============== -Evince 0.1.9 +Atril 0.1.9 ============== * Fix a crash in the caja thumbnailer (Fernando Herrera) ============== -Evince 0.1.8 +Atril 0.1.8 ============== BugFixes @@ -2616,7 +2616,7 @@ BugFixes * Fix crash when opening pdf documents with only 1 page ============== -Evince 0.1.7 +Atril 0.1.7 ============== New features @@ -2630,7 +2630,7 @@ BugFixes * Do not read ps defaults from ggv prefs! (Marco) ============== -Evince 0.1.6 +Atril 0.1.6 ============== Code changes @@ -2649,7 +2649,7 @@ Bug fixes * Fix crashes when reloading document (Marco) ============== -Evince 0.1.5 +Atril 0.1.5 ============== New features @@ -2692,7 +2692,7 @@ Bug fixes * Unescape filenames for display (Marco) ============== -Evince 0.1.4 +Atril 0.1.4 ============== Code changes @@ -2714,7 +2714,7 @@ Bug fixes * Fix a buffer overflow fix (Marco) ============== -Evince 0.1.3 +Atril 0.1.3 ============== Code changes @@ -2736,7 +2736,7 @@ Bug fixes * Fix a crash when changing page with keys (Marco) ============== -Evince 0.1.2 +Atril 0.1.2 ============== New features @@ -2756,7 +2756,7 @@ Bug fixes * Fix inverted up/down buttons (Marco) ============== -Evince 0.1.1 +Atril 0.1.1 ============== New features @@ -2804,7 +2804,7 @@ Translation updates * nb (Kjartan Maraas) * nl (Tino Meinen) -evince 0.1.0 +atril 0.1.0 ------------ Initial release. diff --git a/README b/README index 88a44a24..a8c8f4e2 100644 --- a/README +++ b/README @@ -1,21 +1,21 @@ -Evince +Atril ================================================== -Evince is a document viewer capable of displaying +Atril is a document viewer capable of displaying multiple and single page document formats like PDF and Postscript. For more general information about -Evince please visit our website at +Atril please visit our website at -http://www.mate.org/projects/evince/ +http://www.mate.org/projects/atril/ This software is licensed under the GPL -Evince Requirements +Atril Requirements ================================================== MATE Platform libraries [ http://www.mate.org/start/ ] Poppler for PDF viewing [ http://poppler.freedesktop.org/ ] GhostScript for Postscript viewing [ http://www.cs.wisc.edu/~ghost/ ] -Evince Optional Backend Libraries +Atril Optional Backend Libraries ================================================== DjVuLibre for DjVu viewing [ http://djvulibre.djvuzone.org/ ] Rar for viewing CBR comics [ http://www.rarsoft.com/ ] diff --git a/TODO b/TODO index 715d57b3..9425ff05 100644 --- a/TODO +++ b/TODO @@ -1,3 +1,3 @@ See our bugzilla for list of entries we are working at -http://bugzilla.mate.org/buglist.cgi?product=evince&bug_status=NEW \ No newline at end of file +http://bugzilla.mate.org/buglist.cgi?product=atril&bug_status=NEW \ No newline at end of file diff --git a/atril-document.h b/atril-document.h new file mode 100644 index 00000000..131463c0 --- /dev/null +++ b/atril-document.h @@ -0,0 +1,62 @@ +/* + * Copyright © 2009 Christian Persch + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by the + * Free Software Foundation; either version 2.1 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +#ifndef ATRIL_DOCUMENT_H +#define ATRIL_DOCUMENT_H + +#define __EV_ATRIL_DOCUMENT_H_INSIDE__ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#undef __EV_ATRIL_DOCUMENT_H_INSIDE__ + +#endif /* !ATRIL_DOCUMENT_H */ diff --git a/atril-document.pc.in b/atril-document.pc.in new file mode 100644 index 00000000..c2f8463b --- /dev/null +++ b/atril-document.pc.in @@ -0,0 +1,12 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@/atril/@EV_API_VERSION@ +backenddir=@libdir@/atril/@EV_BINARY_VERSION@/backends + +Name: Atril Document +Description: MATE document viewer backend library +Version: @VERSION@ +Requires: gio-2.0 >= @GLIB_REQUIRED@ gtk+-@GTK_API_VERSION@ >= @GTK_REQUIRED@ +Libs: -L${libdir} -levdocument +Cflags: -I${includedir} diff --git a/atril-view.h b/atril-view.h new file mode 100644 index 00000000..b9261c97 --- /dev/null +++ b/atril-view.h @@ -0,0 +1,34 @@ +/* +* Copyright © 2009 Christian Persch + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by the + * Free Software Foundation; either version 2.1 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +#ifndef ATRIL_VIEW_H +#define ATRIL_VIEW_H + +#define __EV_ATRIL_VIEW_H_INSIDE__ + +#include +#include +#include +#include +#include +#include +#include + +#undef __EV_ATRIL_VIEW_H_INSIDE__ + +#endif /* !ATRIL_VIEW_H */ diff --git a/atril-view.pc.in b/atril-view.pc.in new file mode 100644 index 00000000..24c172cf --- /dev/null +++ b/atril-view.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@/atril/@EV_API_VERSION@ + +Name: Atril View +Description: MATE document viewer view library +Version: @VERSION@ +Requires: atril-document-@EV_API_VERSION@ = @VERSION@ gthread-2.0 +Libs: -L${libdir} -levview +Cflags: -I${includedir} diff --git a/autogen.sh b/autogen.sh index eb12863a..b70bd41b 100755 --- a/autogen.sh +++ b/autogen.sh @@ -4,7 +4,7 @@ srcdir=`dirname $0` test -z "$srcdir" && srcdir=. -PKG_NAME="evince" +PKG_NAME="atril" (test -f $srcdir/configure.ac) || { echo -n "**Error**: Directory "\`$srcdir\'" does not look like the" diff --git a/backend/backend.symbols b/backend/backend.symbols index 6c41cf8f..ff722d94 100644 --- a/backend/backend.symbols +++ b/backend/backend.symbols @@ -1 +1 @@ -register_evince_backend +register_atril_backend diff --git a/backend/comics/Makefile.am b/backend/comics/Makefile.am index 0b06ecbc..bee9dedd 100644 --- a/backend/comics/Makefile.am +++ b/backend/comics/Makefile.am @@ -2,7 +2,7 @@ INCLUDES = \ -I$(top_srcdir) \ -I$(top_srcdir)/libdocument \ -DMATELOCALEDIR=\"$(datadir)/locale\" \ - -DEVINCE_COMPILATION \ + -DATRIL_COMPILATION \ $(BACKEND_CFLAGS) \ $(LIB_CFLAGS) \ $(WARN_CFLAGS) \ @@ -20,13 +20,13 @@ libcomicsdocument_la_LIBADD = \ $(BACKEND_LIBS) \ $(LIB_LIBS) -backend_in_files = comicsdocument.evince-backend.in -backend_DATA = $(backend_in_files:.evince-backend.in=.evince-backend) +backend_in_files = comicsdocument.atril-backend.in +backend_DATA = $(backend_in_files:.atril-backend.in=.atril-backend) EXTRA_DIST = $(backend_in_files) CLEANFILES = $(backend_DATA) -@EV_INTLTOOL_EVINCE_BACKEND_RULE@ +@EV_INTLTOOL_ATRIL_BACKEND_RULE@ -include $(top_srcdir)/git.mk diff --git a/backend/comics/comics-document.c b/backend/comics/comics-document.c index 4d74385a..9079ee7b 100644 --- a/backend/comics/comics-document.c +++ b/backend/comics/comics-document.c @@ -278,7 +278,7 @@ comics_generate_command_lines (ComicsDocument *comics_document, quoted_command); comics_document->offset = command_usage_def[type].offset; if (command_usage_def[type].decompress_tmp) { - comics_document->dir = ev_mkdtemp ("evince-comics-XXXXXX", error); + comics_document->dir = ev_mkdtemp ("atril-comics-XXXXXX", error); if (comics_document->dir == NULL) return FALSE; diff --git a/backend/comics/comics-document.h b/backend/comics/comics-document.h index 76feef05..6cc55f00 100644 --- a/backend/comics/comics-document.h +++ b/backend/comics/comics-document.h @@ -31,7 +31,7 @@ typedef struct _ComicsDocument ComicsDocument; GType comics_document_get_type (void) G_GNUC_CONST; -G_MODULE_EXPORT GType register_evince_backend (GTypeModule *module); +G_MODULE_EXPORT GType register_atril_backend (GTypeModule *module); G_END_DECLS diff --git a/backend/comics/comicsdocument.atril-backend.in b/backend/comics/comicsdocument.atril-backend.in new file mode 100644 index 00000000..3b054b85 --- /dev/null +++ b/backend/comics/comicsdocument.atril-backend.in @@ -0,0 +1,4 @@ +[Atril Backend] +Module=comicsdocument +_TypeDescription=Comic Books +MimeType=application/x-cbr;application/x-cbz;application/x-cb7;application/x-cbt; diff --git a/backend/comics/comicsdocument.evince-backend.in b/backend/comics/comicsdocument.evince-backend.in deleted file mode 100644 index 90d4c01b..00000000 --- a/backend/comics/comicsdocument.evince-backend.in +++ /dev/null @@ -1,4 +0,0 @@ -[Evince Backend] -Module=comicsdocument -_TypeDescription=Comic Books -MimeType=application/x-cbr;application/x-cbz;application/x-cb7;application/x-cbt; diff --git a/backend/djvu/Makefile.am b/backend/djvu/Makefile.am index 6bc9d06e..be255032 100644 --- a/backend/djvu/Makefile.am +++ b/backend/djvu/Makefile.am @@ -3,7 +3,7 @@ INCLUDES = \ -I$(top_srcdir)/libdocument \ -DMATEICONDIR=\""${prefix}/${DATADIRNAME}/pixmaps"\" \ -DMATELOCALEDIR=\"$(datadir)/locale\" \ - -DEVINCE_COMPILATION \ + -DATRIL_COMPILATION \ $(BACKEND_CFLAGS) \ $(DJVU_CFLAGS) \ $(WARN_CFLAGS) \ @@ -26,13 +26,13 @@ libdjvudocument_la_LIBADD = \ $(BACKEND_LIBS) \ $(DJVU_LIBS) -backend_in_files = djvudocument.evince-backend.in -backend_DATA = $(backend_in_files:.evince-backend.in=.evince-backend) +backend_in_files = djvudocument.atril-backend.in +backend_DATA = $(backend_in_files:.atril-backend.in=.atril-backend) EXTRA_DIST = $(backend_in_files) CLEANFILES = $(backend_DATA) -@EV_INTLTOOL_EVINCE_BACKEND_RULE@ +@EV_INTLTOOL_ATRIL_BACKEND_RULE@ -include $(top_srcdir)/git.mk diff --git a/backend/djvu/djvu-document.c b/backend/djvu/djvu-document.c index aa0e595d..814503c1 100644 --- a/backend/djvu/djvu-document.c +++ b/backend/djvu/djvu-document.c @@ -618,7 +618,7 @@ djvu_document_init (DjvuDocument *djvu_document) { guint masks[4] = { 0xff0000, 0xff00, 0xff, 0xff000000 }; - djvu_document->d_context = ddjvu_context_create ("Evince"); + djvu_document->d_context = ddjvu_context_create ("Atril"); djvu_document->d_format = ddjvu_format_create (DDJVU_FORMAT_RGBMASK32, 4, masks); ddjvu_format_set_row_order (djvu_document->d_format, 1); diff --git a/backend/djvu/djvu-document.h b/backend/djvu/djvu-document.h index bcb916af..76ec8765 100644 --- a/backend/djvu/djvu-document.h +++ b/backend/djvu/djvu-document.h @@ -31,7 +31,7 @@ typedef struct _DjvuDocument DjvuDocument; GType djvu_document_get_type (void) G_GNUC_CONST; -G_MODULE_EXPORT GType register_evince_backend (GTypeModule *module); +G_MODULE_EXPORT GType register_atril_backend (GTypeModule *module); G_END_DECLS diff --git a/backend/djvu/djvu-links.c b/backend/djvu/djvu-links.c index d13af0be..c5e72870 100644 --- a/backend/djvu/djvu-links.c +++ b/backend/djvu/djvu-links.c @@ -233,7 +233,7 @@ get_djvu_hyperlink_area (ddjvu_pageinfo_t *page_info, if ((miniexp_car (iter) == miniexp_symbol ("rect") || miniexp_car (iter) == miniexp_symbol ("oval")) && miniexp_length (iter) == 5) { - /* FIXME: get bounding box for (oval) since Evince doesn't support shaped links */ + /* FIXME: get bounding box for (oval) since Atril doesn't support shaped links */ int minx, miny, width, height; iter = miniexp_cdr (iter); @@ -252,7 +252,7 @@ get_djvu_hyperlink_area (ddjvu_pageinfo_t *page_info, } else if (miniexp_car (iter) == miniexp_symbol ("poly") && miniexp_length (iter) >= 5 && miniexp_length (iter) % 2 == 1) { - /* FIXME: get bounding box since Evince doesn't support shaped links */ + /* FIXME: get bounding box since Atril doesn't support shaped links */ int minx = G_MAXINT, miny = G_MAXINT; int maxx = G_MININT, maxy = G_MININT; diff --git a/backend/djvu/djvudocument.atril-backend.in b/backend/djvu/djvudocument.atril-backend.in new file mode 100644 index 00000000..8cbf749a --- /dev/null +++ b/backend/djvu/djvudocument.atril-backend.in @@ -0,0 +1,4 @@ +[Atril Backend] +Module=djvudocument +_TypeDescription=DjVu Documents +MimeType=image/vnd.djvu diff --git a/backend/djvu/djvudocument.evince-backend.in b/backend/djvu/djvudocument.evince-backend.in deleted file mode 100644 index 485af118..00000000 --- a/backend/djvu/djvudocument.evince-backend.in +++ /dev/null @@ -1,4 +0,0 @@ -[Evince Backend] -Module=djvudocument -_TypeDescription=DjVu Documents -MimeType=image/vnd.djvu diff --git a/backend/dvi/Makefile.am b/backend/dvi/Makefile.am index 6dcd50ed..c6787a04 100644 --- a/backend/dvi/Makefile.am +++ b/backend/dvi/Makefile.am @@ -5,7 +5,7 @@ INCLUDES = \ -I$(top_srcdir)/libdocument \ -I$(srcdir)/mdvi-lib \ -DMATELOCALEDIR=\"$(datadir)/locale\" \ - -DEVINCE_COMPILATION \ + -DATRIL_COMPILATION \ $(WARN_CFLAGS) \ $(BACKEND_CFLAGS) \ $(SPECTRE_CFLAGS) \ @@ -35,13 +35,13 @@ if WITH_TYPE1_FONTS libdvidocument_la_LIBADD += -lt1 endif -backend_in_files = dvidocument.evince-backend.in -backend_DATA = $(backend_in_files:.evince-backend.in=.evince-backend) +backend_in_files = dvidocument.atril-backend.in +backend_DATA = $(backend_in_files:.atril-backend.in=.atril-backend) EXTRA_DIST = $(backend_in_files) CLEANFILES = $(backend_DATA) -@EV_INTLTOOL_EVINCE_BACKEND_RULE@ +@EV_INTLTOOL_ATRIL_BACKEND_RULE@ -include $(top_srcdir)/git.mk diff --git a/backend/dvi/dvi-document.c b/backend/dvi/dvi-document.c index a4a3dc6d..c34de6e1 100644 --- a/backend/dvi/dvi-document.c +++ b/backend/dvi/dvi-document.c @@ -251,7 +251,7 @@ dvi_document_class_init (DviDocumentClass *klass) gobject_class->finalize = dvi_document_finalize; texmfcnf = get_texmfcnf(); - mdvi_init_kpathsea ("evince", MDVI_MFMODE, MDVI_FALLBACK_FONT, MDVI_DPI, texmfcnf); + mdvi_init_kpathsea ("atril", MDVI_MFMODE, MDVI_FALLBACK_FONT, MDVI_DPI, texmfcnf); g_free(texmfcnf); mdvi_register_special ("Color", "color", NULL, dvi_document_do_color_special, 1); diff --git a/backend/dvi/dvi-document.h b/backend/dvi/dvi-document.h index 845301b6..a84e892d 100644 --- a/backend/dvi/dvi-document.h +++ b/backend/dvi/dvi-document.h @@ -31,7 +31,7 @@ typedef struct _DviDocument DviDocument; GType dvi_document_get_type (void) G_GNUC_CONST; -G_MODULE_EXPORT GType register_evince_backend (GTypeModule *module); +G_MODULE_EXPORT GType register_atril_backend (GTypeModule *module); G_END_DECLS diff --git a/backend/dvi/dvidocument.atril-backend.in b/backend/dvi/dvidocument.atril-backend.in new file mode 100644 index 00000000..c60f7adb --- /dev/null +++ b/backend/dvi/dvidocument.atril-backend.in @@ -0,0 +1,4 @@ +[Atril Backend] +Module=dvidocument +_TypeDescription=DVI Documents +MimeType=application/x-dvi;application/x-bzdvi;application/x-gzdvi diff --git a/backend/dvi/dvidocument.evince-backend.in b/backend/dvi/dvidocument.evince-backend.in deleted file mode 100644 index cb5fe6ed..00000000 --- a/backend/dvi/dvidocument.evince-backend.in +++ /dev/null @@ -1,4 +0,0 @@ -[Evince Backend] -Module=dvidocument -_TypeDescription=DVI Documents -MimeType=application/x-dvi;application/x-bzdvi;application/x-gzdvi diff --git a/backend/impress/Makefile.am b/backend/impress/Makefile.am index a7b65705..bd9217f8 100644 --- a/backend/impress/Makefile.am +++ b/backend/impress/Makefile.am @@ -2,8 +2,8 @@ INCLUDES = \ -I$(top_srcdir) \ -I$(top_srcdir)/libdocument \ -DMATELOCALEDIR=\"$(datadir)/locale\" \ - -DEVINCEDATADIR=\""$(datadir)"\" \ - -DEVINCE_COMPILATION \ + -DATRILDATADIR=\""$(datadir)"\" \ + -DATRIL_COMPILATION \ $(BACKEND_CFLAGS) \ $(WARN_CFLAGS) \ $(DISABLE_DEPRECATED) @@ -45,13 +45,13 @@ libimpressdocument_la_LIBADD = \ $(top_builddir)/libdocument/libevdocument.la \ $(BACKEND_LIBS) -lz -backend_in_files = impressdocument.evince-backend.in -backend_DATA = $(backend_in_files:.evince-backend.in=.evince-backend) +backend_in_files = impressdocument.atril-backend.in +backend_DATA = $(backend_in_files:.atril-backend.in=.atril-backend) EXTRA_DIST = $(backend_in_files) CLEANFILES = $(backend_DATA) -@EV_INTLTOOL_EVINCE_BACKEND_RULE@ +@EV_INTLTOOL_ATRIL_BACKEND_RULE@ -include $(top_srcdir)/git.mk diff --git a/backend/impress/impress-document.h b/backend/impress/impress-document.h index 17a3c19a..ac6469c9 100644 --- a/backend/impress/impress-document.h +++ b/backend/impress/impress-document.h @@ -32,7 +32,7 @@ typedef struct _ImpressDocument ImpressDocument; GType impress_document_get_type (void) G_GNUC_CONST; -G_MODULE_EXPORT GType register_evince_backend (GTypeModule *module); +G_MODULE_EXPORT GType register_atril_backend (GTypeModule *module); G_END_DECLS diff --git a/backend/impress/impressdocument.atril-backend.in b/backend/impress/impressdocument.atril-backend.in new file mode 100644 index 00000000..074c1afd --- /dev/null +++ b/backend/impress/impressdocument.atril-backend.in @@ -0,0 +1,4 @@ +[Atril Backend] +Module=impressdocument +_TypeDescription=Impress Slides +MimeType=application/vnd.sun.xml.impress;application/vnd.oasis.opendocument.presentation; diff --git a/backend/impress/impressdocument.evince-backend.in b/backend/impress/impressdocument.evince-backend.in deleted file mode 100644 index 61de77ab..00000000 --- a/backend/impress/impressdocument.evince-backend.in +++ /dev/null @@ -1,4 +0,0 @@ -[Evince Backend] -Module=impressdocument -_TypeDescription=Impress Slides -MimeType=application/vnd.sun.xml.impress;application/vnd.oasis.opendocument.presentation; diff --git a/backend/pdf/Makefile.am b/backend/pdf/Makefile.am index 725a512c..05d506ae 100644 --- a/backend/pdf/Makefile.am +++ b/backend/pdf/Makefile.am @@ -2,7 +2,7 @@ INCLUDES = \ -I$(top_srcdir) \ -I$(top_srcdir)/libdocument \ -DMATELOCALEDIR=\"$(datadir)/locale\" \ - -DEVINCE_COMPILATION \ + -DATRIL_COMPILATION \ $(BACKEND_CFLAGS) \ $(POPPLER_CFLAGS) \ $(WARN_CXXFLAGS) \ @@ -22,13 +22,13 @@ libpdfdocument_la_LIBADD = \ $(CAIRO_PDF_LIBS) \ $(CAIRO_PS_LIBS) -backend_in_files = pdfdocument.evince-backend.in -backend_DATA = $(backend_in_files:.evince-backend.in=.evince-backend) +backend_in_files = pdfdocument.atril-backend.in +backend_DATA = $(backend_in_files:.atril-backend.in=.atril-backend) EXTRA_DIST = $(backend_in_files) CLEANFILES = $(backend_DATA) -@EV_INTLTOOL_EVINCE_BACKEND_RULE@ +@EV_INTLTOOL_ATRIL_BACKEND_RULE@ -include $(top_srcdir)/git.mk diff --git a/backend/pdf/ev-poppler.cc b/backend/pdf/ev-poppler.cc index e2abb55d..8049db55 100644 --- a/backend/pdf/ev-poppler.cc +++ b/backend/pdf/ev-poppler.cc @@ -1,5 +1,5 @@ /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; c-indent-level: 8 -*- */ -/* this file is part of evince, a mate document viewer +/* this file is part of atril, a mate document viewer * * Copyright (C) 2009, Juanjo Marín * Copyright (C) 2004, Red Hat, Inc. @@ -1074,7 +1074,7 @@ ev_link_dest_from_dest (PdfDocument *pdf_document, if (unimplemented_dest) { g_warning ("Unimplemented destination: %s, please post a " - "bug report in Evince bugzilla " + "bug report in Atril bugzilla " "(http://bugzilla.mate.org) with a testcase.", unimplemented_dest); } @@ -1139,7 +1139,7 @@ ev_link_from_action (PdfDocument *pdf_document, if (unimplemented_action) { g_warning ("Unimplemented action: %s, please post a bug report " - "in Evince bugzilla (http://bugzilla.mate.org) " + "in Atril bugzilla (http://bugzilla.mate.org) " "with a testcase.", unimplemented_action); } @@ -2694,7 +2694,7 @@ ev_annot_from_poppler_annot (PopplerAnnot *poppler_annot, if (unimplemented_annot) { g_warning ("Unimplemented annotation: %s, please post a " - "bug report in Evince bugzilla " + "bug report in Atril bugzilla " "(http://bugzilla.mate.org) with a testcase.", unimplemented_annot); } diff --git a/backend/pdf/ev-poppler.h b/backend/pdf/ev-poppler.h index f37f2268..c70fc7d0 100644 --- a/backend/pdf/ev-poppler.h +++ b/backend/pdf/ev-poppler.h @@ -32,7 +32,7 @@ typedef struct _PdfDocumentClass PdfDocumentClass; GType pdf_document_get_type (void) G_GNUC_CONST; -G_MODULE_EXPORT GType register_evince_backend (GTypeModule *module); +G_MODULE_EXPORT GType register_atril_backend (GTypeModule *module); G_END_DECLS diff --git a/backend/pdf/pdfdocument.atril-backend.in b/backend/pdf/pdfdocument.atril-backend.in new file mode 100644 index 00000000..66ee2b93 --- /dev/null +++ b/backend/pdf/pdfdocument.atril-backend.in @@ -0,0 +1,6 @@ +[Atril Backend] +Module=pdfdocument +Resident=true +_TypeDescription=PDF Documents +MimeType=application/pdf;application/x-bzpdf;application/x-gzpdf;application/x-ext-pdf + diff --git a/backend/pdf/pdfdocument.evince-backend.in b/backend/pdf/pdfdocument.evince-backend.in deleted file mode 100644 index d2b55ddc..00000000 --- a/backend/pdf/pdfdocument.evince-backend.in +++ /dev/null @@ -1,6 +0,0 @@ -[Evince Backend] -Module=pdfdocument -Resident=true -_TypeDescription=PDF Documents -MimeType=application/pdf;application/x-bzpdf;application/x-gzpdf;application/x-ext-pdf - diff --git a/backend/pixbuf/Makefile.am b/backend/pixbuf/Makefile.am index 7a28e05b..bd5060f5 100644 --- a/backend/pixbuf/Makefile.am +++ b/backend/pixbuf/Makefile.am @@ -2,7 +2,7 @@ INCLUDES = \ -I$(top_srcdir) \ -I$(top_srcdir)/libdocument \ -DMATELOCALEDIR=\"$(datadir)/locale\" \ - -DEVINCE_COMPILATION \ + -DATRIL_COMPILATION \ $(BACKEND_CFLAGS) \ $(WARN_CFLAGS) \ $(DISABLE_DEPRECATED) @@ -18,13 +18,13 @@ libpixbufdocument_la_LIBADD = \ $(top_builddir)/libdocument/libevdocument.la \ $(BACKEND_LIBS) -backend_in_files = pixbufdocument.evince-backend.in -backend_DATA = $(backend_in_files:.evince-backend.in=.evince-backend) +backend_in_files = pixbufdocument.atril-backend.in +backend_DATA = $(backend_in_files:.atril-backend.in=.atril-backend) EXTRA_DIST = $(backend_in_files) CLEANFILES = $(backend_DATA) -@EV_INTLTOOL_EVINCE_BACKEND_RULE@ +@EV_INTLTOOL_ATRIL_BACKEND_RULE@ -include $(top_srcdir)/git.mk diff --git a/backend/pixbuf/pixbuf-document.h b/backend/pixbuf/pixbuf-document.h index 6f34372d..a4f677cd 100644 --- a/backend/pixbuf/pixbuf-document.h +++ b/backend/pixbuf/pixbuf-document.h @@ -31,7 +31,7 @@ typedef struct _PixbufDocument PixbufDocument; GType pixbuf_document_get_type (void) G_GNUC_CONST; -G_MODULE_EXPORT GType register_evince_backend (GTypeModule *module); +G_MODULE_EXPORT GType register_atril_backend (GTypeModule *module); G_END_DECLS diff --git a/backend/pixbuf/pixbufdocument.atril-backend.in b/backend/pixbuf/pixbufdocument.atril-backend.in new file mode 100644 index 00000000..056d04cf --- /dev/null +++ b/backend/pixbuf/pixbufdocument.atril-backend.in @@ -0,0 +1,4 @@ +[Atril Backend] +Module=pixbufdocument +_TypeDescription=Images +MimeType=image/*; diff --git a/backend/pixbuf/pixbufdocument.evince-backend.in b/backend/pixbuf/pixbufdocument.evince-backend.in deleted file mode 100644 index 9beb526b..00000000 --- a/backend/pixbuf/pixbufdocument.evince-backend.in +++ /dev/null @@ -1,4 +0,0 @@ -[Evince Backend] -Module=pixbufdocument -_TypeDescription=Images -MimeType=image/*; diff --git a/backend/ps/Makefile.am b/backend/ps/Makefile.am index 3f059de1..0e49a111 100644 --- a/backend/ps/Makefile.am +++ b/backend/ps/Makefile.am @@ -2,7 +2,7 @@ INCLUDES = \ -I$(top_srcdir) \ -I$(top_srcdir)/libdocument \ -DMATELOCALEDIR=\"$(datadir)/locale\" \ - -DEVINCE_COMPILATION \ + -DATRIL_COMPILATION \ $(BACKEND_CFLAGS) \ $(SPECTRE_CFLAGS) \ $(WARN_CFLAGS) \ @@ -20,13 +20,13 @@ libpsdocument_la_LIBADD = \ $(BACKEND_LIBS) \ $(SPECTRE_LIBS) -backend_in_files = psdocument.evince-backend.in -backend_DATA = $(backend_in_files:.evince-backend.in=.evince-backend) +backend_in_files = psdocument.atril-backend.in +backend_DATA = $(backend_in_files:.atril-backend.in=.atril-backend) EXTRA_DIST = $(backend_in_files) CLEANFILES = $(backend_DATA) -@EV_INTLTOOL_EVINCE_BACKEND_RULE@ +@EV_INTLTOOL_ATRIL_BACKEND_RULE@ -include $(top_srcdir)/git.mk diff --git a/backend/ps/ev-spectre.c b/backend/ps/ev-spectre.c index e1877a7b..d28325ba 100644 --- a/backend/ps/ev-spectre.c +++ b/backend/ps/ev-spectre.c @@ -1,13 +1,13 @@ -/* this file is part of evince, a mate document viewer +/* this file is part of atril, a mate document viewer * * Copyright (C) 2007 Carlos Garcia Campos * - * Evince is free software; you can redistribute it and/or modify it + * Atril is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * - * Evince is distributed in the hope that it will be useful, but + * Atril is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. diff --git a/backend/ps/ev-spectre.h b/backend/ps/ev-spectre.h index 17b18db0..d4c55306 100644 --- a/backend/ps/ev-spectre.h +++ b/backend/ps/ev-spectre.h @@ -41,7 +41,7 @@ typedef struct _PSDocumentClass PSDocumentClass; GType ps_document_get_type (void) G_GNUC_CONST; -G_MODULE_EXPORT GType register_evince_backend (GTypeModule *module); +G_MODULE_EXPORT GType register_atril_backend (GTypeModule *module); G_END_DECLS diff --git a/backend/ps/psdocument.atril-backend.in b/backend/ps/psdocument.atril-backend.in new file mode 100644 index 00000000..8b559a58 --- /dev/null +++ b/backend/ps/psdocument.atril-backend.in @@ -0,0 +1,5 @@ +[Atril Backend] +Module=psdocument +Resident=true +_TypeDescription=PostScript Documents +MimeType=application/postscript;application/x-bzpostscript;application/x-gzpostscript;image/x-eps;image/x-bzeps;image/x-gzeps diff --git a/backend/ps/psdocument.evince-backend.in b/backend/ps/psdocument.evince-backend.in deleted file mode 100644 index af24be61..00000000 --- a/backend/ps/psdocument.evince-backend.in +++ /dev/null @@ -1,5 +0,0 @@ -[Evince Backend] -Module=psdocument -Resident=true -_TypeDescription=PostScript Documents -MimeType=application/postscript;application/x-bzpostscript;application/x-gzpostscript;image/x-eps;image/x-bzeps;image/x-gzeps diff --git a/backend/tiff/Makefile.am b/backend/tiff/Makefile.am index 9f1a00e6..0fc2f83e 100644 --- a/backend/tiff/Makefile.am +++ b/backend/tiff/Makefile.am @@ -2,7 +2,7 @@ INCLUDES = \ -I$(top_srcdir) \ -I$(top_srcdir)/libdocument \ -DMATELOCALEDIR=\"$(datadir)/locale\" \ - -DEVINCE_COMPILATION \ + -DATRIL_COMPILATION \ $(BACKEND_CFLAGS) \ $(WARN_CFLAGS) \ $(DISABLE_DEPRECATED) @@ -21,13 +21,13 @@ libtiffdocument_la_LIBADD = \ $(BACKEND_LIBS) \ -ltiff -backend_in_files = tiffdocument.evince-backend.in -backend_DATA = $(backend_in_files:.evince-backend.in=.evince-backend) +backend_in_files = tiffdocument.atril-backend.in +backend_DATA = $(backend_in_files:.atril-backend.in=.atril-backend) EXTRA_DIST = $(backend_in_files) CLEANFILES = $(backend_DATA) -@EV_INTLTOOL_EVINCE_BACKEND_RULE@ +@EV_INTLTOOL_ATRIL_BACKEND_RULE@ -include $(top_srcdir)/git.mk diff --git a/backend/tiff/tiff-document.h b/backend/tiff/tiff-document.h index a188f143..19db6158 100644 --- a/backend/tiff/tiff-document.h +++ b/backend/tiff/tiff-document.h @@ -31,7 +31,7 @@ G_BEGIN_DECLS typedef struct _TiffDocument TiffDocument; GType tiff_document_get_type (void) G_GNUC_CONST; -G_MODULE_EXPORT GType register_evince_backend (GTypeModule *module); +G_MODULE_EXPORT GType register_atril_backend (GTypeModule *module); G_END_DECLS diff --git a/backend/tiff/tiff2ps.c b/backend/tiff/tiff2ps.c index 43a6cb32..eef681e4 100644 --- a/backend/tiff/tiff2ps.c +++ b/backend/tiff/tiff2ps.c @@ -26,7 +26,7 @@ */ /* - * Modified for use as Evince TIFF ps exporter by + * Modified for use as Atril TIFF ps exporter by * Matthew S. Wilson * Modifications Copyright (C) 2005 rpath, Inc. * @@ -628,7 +628,7 @@ PSHead(TIFF2PSContext *ctx, TIFF *tif, uint32 w, uint32 h, t = time(0); fprintf(ctx->fd, "%%!PS-Adobe-3.0%s\n", ctx->generateEPSF ? " EPSF-3.0" : ""); - fprintf(ctx->fd, "%%%%Creator: Evince\n"); + fprintf(ctx->fd, "%%%%Creator: Atril\n"); fprintf(ctx->fd, "%%%%CreationDate: %s", ctime(&t)); fprintf(ctx->fd, "%%%%DocumentData: Clean7Bit\n"); fprintf(ctx->fd, "%%%%Origin: %ld %ld\n", (long) ox, (long) oy); diff --git a/backend/tiff/tiffdocument.atril-backend.in b/backend/tiff/tiffdocument.atril-backend.in new file mode 100644 index 00000000..2866e474 --- /dev/null +++ b/backend/tiff/tiffdocument.atril-backend.in @@ -0,0 +1,4 @@ +[Atril Backend] +Module=tiffdocument +_TypeDescription=Tiff Documents +MimeType=image/tiff diff --git a/backend/tiff/tiffdocument.evince-backend.in b/backend/tiff/tiffdocument.evince-backend.in deleted file mode 100644 index daaa7fd9..00000000 --- a/backend/tiff/tiffdocument.evince-backend.in +++ /dev/null @@ -1,4 +0,0 @@ -[Evince Backend] -Module=tiffdocument -_TypeDescription=Tiff Documents -MimeType=image/tiff diff --git a/configure.ac b/configure.ac index a209b5ce..183f75d1 100644 --- a/configure.ac +++ b/configure.ac @@ -8,7 +8,7 @@ m4_define([ev_micro_version],[0]) m4_define([ev_extra_version],[]) m4_define([ev_version],[ev_major_version.ev_minor_version.ev_micro_version()ev_extra_version]) -# The evince API version +# The atril API version m4_define([ev_api_version], [2.32]) # Libtool versioning. The backend and view libraries have separate versions. @@ -40,7 +40,7 @@ m4_define([ev_binary_version],[ev_document_lt_current]) # ***************************************************************************** AC_PREREQ([2.57]) -AC_INIT([Evince],[ev_version],[http://bugzilla.mate.org/enter_bug.cgi?product=evince],[evince]) +AC_INIT([Atril],[ev_version],[http://bugzilla.mate.org/enter_bug.cgi?product=atril],[atril]) AM_INIT_AUTOMAKE([1.10 foreign dist-bzip2 no-dist-gzip]) AC_CONFIG_HEADERS([config.h]) @@ -76,14 +76,14 @@ AC_SUBST([DISABLE_DEPRECATED]) IT_PROG_INTLTOOL([0.35.0]) -GETTEXT_PACKAGE=evince +GETTEXT_PACKAGE=atril AC_SUBST(GETTEXT_PACKAGE) AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],["$GETTEXT_PACKAGE"],[Gettext package]) AM_GLIB_GNU_GETTEXT m4_pattern_allow([AM_V_GEN])dnl Make autoconf not complain about the rule below -EV_INTLTOOL_EVINCE_BACKEND_RULE='%.evince-backend: %.evince-backend.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(AM_V_GEN) LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' -AC_SUBST([EV_INTLTOOL_EVINCE_BACKEND_RULE]) +EV_INTLTOOL_ATRIL_BACKEND_RULE='%.atril-backend: %.atril-backend.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(AM_V_GEN) LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' +AC_SUBST([EV_INTLTOOL_ATRIL_BACKEND_RULE]) GLIB_GSETTINGS @@ -175,8 +175,8 @@ case "$with_platform" in SHELL_PLATFORM_PKGS="hildon-1 hildon-fm-2 libosso" ;; mate) - # Evince has a rather soft run-time dependency on hicolor-icon-theme. - # If the hicolor theme is not available, Evince fails to display some + # Atril has a rather soft run-time dependency on hicolor-icon-theme. + # If the hicolor theme is not available, Atril fails to display some # icons. Because we cannot check for it at run-time, we instead # would like to require the icon theme at compile-time. But, because # the hicolor-icon-theme does not have a pkgconfig file, on mate we @@ -188,7 +188,7 @@ case "$with_platform" in *) # On all other platforms we issue a warning about the runtime # dependency. - AC_MSG_WARN([Evince has a soft run-time dependency on hicolor-icon-theme. You are advised to have this theme installed when running Evince.]); + AC_MSG_WARN([Atril has a soft run-time dependency on hicolor-icon-theme. You are advised to have this theme installed when running Atril.]); SHELL_PLATFORM_PKGS="" ;; esac @@ -241,10 +241,10 @@ BACKEND_LIBTOOL_FLAGS="-module -avoid-version -no-undefined -export-symbols \$(t AC_SUBST(BACKEND_LIBTOOL_FLAGS) dnl ===== Check special functions -evince_save_LIBS=$LIBS +atril_save_LIBS=$LIBS LIBS="$LIBS $BACKEND_LIBS" AC_CHECK_FUNCS(cairo_format_stride_for_width) -LIBS=$evince_save_LIBS +LIBS=$atril_save_LIBS # ****************** # GKT+ Unix Printing @@ -339,7 +339,7 @@ dnl Debug mode AC_ARG_ENABLE([debug], AS_HELP_STRING([--enable-debug], - [Turn on evince debug mode]), + [Turn on atril debug mode]), [enable_debug=$enableval], [enable_debug=no]) @@ -500,12 +500,12 @@ if test "x$enable_pdf" = "xyes"; then PKG_CHECK_MODULES(POPPLER, poppler-glib >= $POPPLER_REQUIRED libxml-2.0 >= $LIBXML_REQUIRED,enable_pdf=yes,enable_pdf=no) if test "x$enable_pdf" = "xyes"; then - evince_save_LIBS=$LIBS + atril_save_LIBS=$LIBS LIBS="$LIBS $POPPLER_LIBS" AC_CHECK_FUNCS(poppler_page_get_text_layout) AC_CHECK_FUNCS(poppler_page_get_selected_text) AC_CHECK_FUNCS(poppler_page_add_annot) - LIBS=$evince_save_LIBS + LIBS=$atril_save_LIBS PKG_CHECK_MODULES(CAIRO_PDF, cairo-pdf, enable_cairo_pdf=yes, enable_cairo_pdf=no) if test x$enable_cairo_pdf = xyes; then AC_DEFINE([HAVE_CAIRO_PDF], [1], [defined if cairo-pdf is available]) @@ -695,30 +695,30 @@ dnl ================== End of impress book checks ============================== dnl =================== Mime types list ==================================================== if test "x$enable_pdf" = "xyes" ; then - EVINCE_MIME_TYPES="application/pdf;application/x-bzpdf;application/x-gzpdf;" + ATRIL_MIME_TYPES="application/pdf;application/x-bzpdf;application/x-gzpdf;" fi if test "x$enable_ps" = "xyes" ; then - EVINCE_MIME_TYPES="${EVINCE_MIME_TYPES}application/postscript;application/x-bzpostscript;application/x-gzpostscript;image/x-eps;image/x-bzeps;image/x-gzeps;" + ATRIL_MIME_TYPES="${ATRIL_MIME_TYPES}application/postscript;application/x-bzpostscript;application/x-gzpostscript;image/x-eps;image/x-bzeps;image/x-gzeps;" fi if test "x$enable_dvi" = "xyes"; then - EVINCE_MIME_TYPES="${EVINCE_MIME_TYPES}application/x-dvi;application/x-bzdvi;application/x-gzdvi;" + ATRIL_MIME_TYPES="${ATRIL_MIME_TYPES}application/x-dvi;application/x-bzdvi;application/x-gzdvi;" fi if test "x$enable_djvu" = "xyes"; then - EVINCE_MIME_TYPES="${EVINCE_MIME_TYPES}image/vnd.djvu;" + ATRIL_MIME_TYPES="${ATRIL_MIME_TYPES}image/vnd.djvu;" fi if test "x$enable_tiff" = "xyes"; then - EVINCE_MIME_TYPES="${EVINCE_MIME_TYPES}image/tiff;" + ATRIL_MIME_TYPES="${ATRIL_MIME_TYPES}image/tiff;" fi if test "x$enable_comics" = "xyes"; then - EVINCE_MIME_TYPES="${EVINCE_MIME_TYPES}application/x-cbr;application/x-cbz;application/x-cb7;application/x-cbt;" + ATRIL_MIME_TYPES="${ATRIL_MIME_TYPES}application/x-cbr;application/x-cbz;application/x-cb7;application/x-cbt;" fi if test "x$enable_pixbuf" = "xyes"; then - EVINCE_MIME_TYPES="${EVINCE_MIME_TYPES}image/*;" + ATRIL_MIME_TYPES="${ATRIL_MIME_TYPES}image/*;" fi if test "x$enable_impress" = "xyes"; then - EVINCE_MIME_TYPES="${EVINCE_MIME_TYPES}application/vnd.sun.xml.impress;application/vnd.oasis.opendocument.presentation;" + ATRIL_MIME_TYPES="${ATRIL_MIME_TYPES}application/vnd.sun.xml.impress;application/vnd.oasis.opendocument.presentation;" fi -AC_SUBST(EVINCE_MIME_TYPES) +AC_SUBST(ATRIL_MIME_TYPES) AC_CHECK_FUNC(localtime_r, AC_DEFINE(HAVE_LOCALTIME_R, 1, [Defines if localtime_r is available on your system])) @@ -763,7 +763,7 @@ AC_SUBST([GTK_PREFIX],[$($PKG_CONFIG --variable=prefix gtk+-$GTK_API_VERSION)]) # Backends directory # ****************** -AC_SUBST([backenddir],"\$(libdir)/evince/ev_binary_version/backends") +AC_SUBST([backenddir],"\$(libdir)/atril/ev_binary_version/backends") AC_SUBST([backend_binary_version],"ev_binary_version") # ********** @@ -804,7 +804,7 @@ cut-n-paste/toolbar-editor/Makefile cut-n-paste/zoom-control/Makefile cut-n-paste/totem-screensaver/Makefile cut-n-paste/synctex/Makefile -data/evince.desktop.in +data/atril.desktop.in data/Makefile data/icons/Makefile data/icons/16x16/Makefile @@ -850,8 +850,8 @@ test/Makefile thumbnailer/Makefile ]) -AC_CONFIG_FILES(evince-document-[]ev_api_version[].pc:evince-document.pc.in) -AC_CONFIG_FILES(evince-view-[]ev_api_version[].pc:evince-view.pc.in) +AC_CONFIG_FILES(atril-document-[]ev_api_version[].pc:atril-document.pc.in) +AC_CONFIG_FILES(atril-view-[]ev_api_version[].pc:atril-view.pc.in) AC_OUTPUT diff --git a/cut-n-paste/zoom-control/ephy-zoom-action.c b/cut-n-paste/zoom-control/ephy-zoom-action.c index b6250c8b..232b4873 100644 --- a/cut-n-paste/zoom-control/ephy-zoom-action.c +++ b/cut-n-paste/zoom-control/ephy-zoom-action.c @@ -2,7 +2,7 @@ * Copyright (C) 2003 Marco Pesenti Gritti * Copyright (C) 2003, 2004 Christian Persch * - * Modified 2005 by James Bowes for use in evince. + * Modified 2005 by James Bowes for use in atril. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/cut-n-paste/zoom-control/ephy-zoom-control.c b/cut-n-paste/zoom-control/ephy-zoom-control.c index 6c86b4a4..63b04814 100644 --- a/cut-n-paste/zoom-control/ephy-zoom-control.c +++ b/cut-n-paste/zoom-control/ephy-zoom-control.c @@ -1,7 +1,7 @@ /* * Copyright (C) 2003, 2004 Christian Persch * - * Modified 2005 by James Bowes for use in evince. + * Modified 2005 by James Bowes for use in atril. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/cut-n-paste/zoom-control/ephy-zoom.h b/cut-n-paste/zoom-control/ephy-zoom.h index bf01f0d7..642e5ba9 100644 --- a/cut-n-paste/zoom-control/ephy-zoom.h +++ b/cut-n-paste/zoom-control/ephy-zoom.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2003 Christian Persch * - * Modified 2005 by James Bowes for use in evince. + * Modified 2005 by James Bowes for use in atril. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/data/Makefile.am b/data/Makefile.am index f80e9c6b..8abf0bd9 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -7,7 +7,7 @@ install-data-local: update-icon-cache # man file # -man_MANS=evince.1 +man_MANS=atril.1 # # UI descriptions @@ -15,12 +15,12 @@ man_MANS=evince.1 uidir = $(pkgdatadir) ui_DATA = \ - evince-ui.xml \ - evince-toolbar.xml \ + atril-ui.xml \ + atril-toolbar.xml \ hand-open.png if ENABLE_PREVIEWER -ui_DATA += evince-previewer-ui.xml +ui_DATA += atril-previewer-ui.xml endif # @@ -29,7 +29,7 @@ endif @INTLTOOL_DESKTOP_RULE@ -DESKTOP_IN_FILES= evince.desktop.in.in +DESKTOP_IN_FILES= atril.desktop.in.in DESKTOP_FILES= $(DESKTOP_IN_FILES:.desktop.in.in=.desktop) desktopdir = $(datadir)/applications @@ -40,7 +40,7 @@ desktop_DATA = $(DESKTOP_FILES) # if ENABLE_DBUS servicedir = $(datadir)/dbus-1/services -service_in_files = org.mate.evince.Daemon.service.in +service_in_files = org.mate.atril.Daemon.service.in service_DATA = $(service_in_files:.service.in=.service) $(service_DATA): $(service_in_files) Makefile @@ -50,7 +50,7 @@ endif # # GSettings schema # -gsettingsschema_in_files = org.mate.Evince.gschema.xml.in +gsettingsschema_in_files = org.mate.Atril.gschema.xml.in # gsettings_SCHEMAS is a list of all the schemas you want to install gsettings_SCHEMAS = $(gsettingsschema_in_files:.xml.in=.xml) @@ -62,7 +62,7 @@ gsettings_SCHEMAS = $(gsettingsschema_in_files:.xml.in=.xml) @GSETTINGS_RULES@ gsettingsconvertdir = $(datadir)/MateConf/gsettings -gsettingsconvert_DATA = evince.convert +gsettingsconvert_DATA = atril.convert # # GTK icon cache @@ -91,10 +91,10 @@ EXTRA_DIST = \ $(ui_DATA) \ $(DESKTOP_IN_FILES) \ $(gsettingsschema_in_files) \ - org.mate.evince.Daemon.service.in \ + org.mate.atril.Daemon.service.in \ $(man_MANS) \ - evince.ico \ - evince.convert \ + atril.ico \ + atril.convert \ $(NULL) # diff --git a/data/atril-previewer-ui.xml b/data/atril-previewer-ui.xml new file mode 100644 index 00000000..896b472e --- /dev/null +++ b/data/atril-previewer-ui.xml @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/atril-toolbar.xml b/data/atril-toolbar.xml new file mode 100644 index 00000000..b87bf717 --- /dev/null +++ b/data/atril-toolbar.xml @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/atril-ui.xml b/data/atril-ui.xml new file mode 100644 index 00000000..f8e750db --- /dev/null +++ b/data/atril-ui.xml @@ -0,0 +1,138 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/atril.1 b/data/atril.1 new file mode 100644 index 00000000..01b2901b --- /dev/null +++ b/data/atril.1 @@ -0,0 +1,41 @@ +.TH ATRIL 1 "30 Jan 2007" +.SH NAME +\fBatril\fP \- MATE document viewer + +The Atril Document Viewer application for MATE desktop environment + +.SH SYNTAX +.B atril +.RI [--help] +.RI [--usage] +.RI [--page-label=