diff options
author | youri <youri@pkgsrc.org> | 2018-05-14 12:22:42 +0000 |
---|---|---|
committer | youri <youri@pkgsrc.org> | 2018-05-14 12:22:42 +0000 |
commit | 65e78d590a794d7a16990ad589a425b4909d5ed7 (patch) | |
tree | 425f5bd33793496af6779b4a0d4039ce323bd2c2 /print/atril | |
parent | acb3dde2294df21238bfe09b2567bc676d311561 (diff) | |
download | pkgsrc-65e78d590a794d7a16990ad589a425b4909d5ed7.tar.gz |
Update atril to 1.20.0:
Atril, the document viewer, has had a massive overhaul and is better in every single way. Yes, all ways. Better!
In particular accessibility support for visually impaired users is considerably improved.
Caret navigation has been added.
Full changelog:
### atril 1.20.0
* Translations update
* require GTK+ 3.22 and GLib 2.50
* build: remove pre-GTK+3 option (how did I miss that?)
* epub: make minizip support more BSD variants
* update copyright year to 2018
### atril 1.19.6
* Translations update
* Revert "libview: Update the current page also when pending scroll is to find a location"
* previewer: add style class atril-previewer-window
* WidthOfScreen and HeightOfScreen implementation
### atril 1.19.5
* Translations update
* shell: show caret navigation in menu
* ev-link-accessible: Improve efficiency of methods to get start and end indices
* Expose form fields as AtkObject children of the page
* Expose images as AtkObject children of the page
* Expose links as AtkObject children of the page
* ev-view-accessible: Add a method to determine if a given doc rect is showing
* ev-page-cache: Add method to check if a given page has been cached
* libview: Update the caret cursor when jumping to a find result
* libview: Update ATK_STATE_SHOWING when the visible page range changes
* libview: Implement AtkComponent for pages
* libview: Fix shift+click text selection
* a11y: ensure text cached when you request an EvPageAccessible
* a11y: managing atk states on EvPageAccessible
* a11y: add if applies ATK_RELATION_FLOWS_TO/FROM on EvPageAccessible
* a11y: move AtkHyperText implementation from EvViewAccessible to EvPageAccessible
* a11y: move AtkText implementation from EvViewAccessible to EvPageAccessible
* a11y: expose EvPageAccessible as children of EvViewAccessible
* a11y: new EvPageAccessible
* libview: Fix some broken aspects EvViewAccessible text support
* libview: Take caret navigation into account when getting AtkHyperlink indices
* a11y: cleaning implementation for atk_text_get_caret_offset
* a11y: fixing implementation for atk_text_set_caret_offset
* view: set_caret_cursor_position should emit "cursor-moved" if applies
* Remove support for deprecated atk_text_get_text_{before,after}_offset()
* a11y: implement AtkDocument on EvViewAccessible
* a11y: with caret navigation enabled, accessibility current page is cursor page
* ev-view-accessible: call document_changed_cb when setting the model
* Some text fixes for caret message area
* ev-view-accessible: Fix a crash in ev_view_accessible_get_link
* ev-view-accessible: Clear the cached data when the current page
* shell: remove view_actions_focus_out_cb
* shell: Remove ev_window_set_view_accels_sensitivity
* shell: forward accels to the focused widget
* Use a global array for view accel action
* fix crash when selecting text in djvu documents
### atril 1.19.4
* Translations update
* shell: fix stock item for message area
* docs: libview: Re-add type builtins section
* Fix crashes of epub documents with caret-navigation
* Store the caret cursor position in document metadata
* libview: Add ev_view_set_caret_cursor_position
* libview: Update the current page also when pending scroll is to find a location
* libview: Do not schedule a redraw when enabling/disabling caret navigation
* libview: Stop caret cursor blinking when cursor is not in a visible page
* shell: Enable/disable the caret navigation with F7
* libview: Add ev_view_supports_caret_navigation()
* ev-link-accesible: Return the index/offset after the last character in the link
* help: Remove references to removed selection mode
* libview: Fix selections starting/ending in page margins
* libview: Reduce the pages to scan for selections
* libview: Remove unused rectangle selection mode
* libview: Rework ev_view_accessible_get_selection
* libview: do not redraw the whole view when caret cursor moves
* libview: Update the cursor area after positioning the cursor when moving between lines
* ev-view-accessible: Fix ev_view_accesssible_get_n_selections
* ev-view-accessibl: Fix get_caret_offset when the caret navigation is enabled
* libview: Use error bell and return early when moving between lines fails
* libview: do not schedule a resize in ensure_rectangle_is_visible
* libview: Stop the cursor blink when there are selections active
* libview: Deprecate ev_view_scroll in favor of g_signal_emit_by_name
* ev-window: Use g_signal_emit_by name instead of ev_view_scroll
* previewer: Remove scroll accelerators
* ev-window: Remove scroll accelerators
* libview: Add more scroll key bindings to EvView
* libview: Fix second parameter type of scroll signal for h, j, k and l bindings
* libview: Use merge_selection_region passing NULL to clear the selections
* ev-pixbuf-cache: Clear the selection region also when clearing the job selection
* ev-pixbuf-cache: fix the condition for when a new selection is needed
* ev-view-accessible: Rewrite get_run_attributes to return the text attributes from the document
* pdf: Implement ev_document_text_get_text_attrs()
* libview: Get text attributes from backend and save them in page cache
* libdocument: Add ev_document_text_get_text_attrs()
* libview: Emit the AtkText text-caret-moved and text-selection-changed signals
* libview: clear the selection when cursor is moved
* libview: Do not show the caret cursor when there are active selections
* libview: Return NULL instead of empty regions from the pixbuf cache
* libview: Don't draw the caret cursor when the view is not focused
* libview: Fix moving caret cursor between lines in multicolumn documents
* libview: Pre-cache some prev/next pages to the current page range.
* ev-pixbuf-cache: schedule prev or next jobs first depending on the scroll direction
* ev-pixbuf-cache: Schedule jobs to render previous pages in inverse order
* libview: Added 'cursor-moved' signal to notify when the caret cursor has been moved.
* libview: Avoid unnecessary region copies when selecting text
* libview: Use a larger damage area to redraw selections
* libview: Don't queue a redraw when damaged region hasn't changed
* libview: Invalidate union of old and new selection
* libview: Move the caret cursor when clicking outside a selection
* libview: Remove unused in_selection member from SelectionInfo struct
* libview: Keep the offset inside a line when moving the caret between lines
* libview: Position the caret cursor at beginning/end of the line
* libview: Do not schedule a redraw when selecting all text
* libview: Use prepend + reverse instead of append to create selections list
* libview: Use GSlice to allocate EvViewSelection
* libview: Text selection using the caret cursor.
* libview: Update the caret cursor after selecting text with the mouse
* libview: Take page border into account when computing selections
* libview: Fix a crash when selecting more than one page
* libview: Make sure the cursor blinks after moving it by a click
* libview: merge get_caret_cursor_rect_from_offset and get_caret_cursor_area
* libview: Notify about caret navigation errors using the error bell.
* libview: Do not redraw after a click if cursor position hasn't changed
* libview: Use GtkBindings for caret navigation
* libview: Rename EvView::binding-activated signal as EvView::scroll
* libview: Position the caret cursor by clicking
* libview: Use EvPixbufCache to find selection region
* libview: Split ev_pixbuf_cache_get_selection_surface into two functions
* libview: Draw selection highlight from region
* libview: Fix the damage area used to redraw the caret cursor
* libview: Actually update the page when moving the care from a different page
* libview: Avoid to update the current page and scroll to the cursor position,
if the caret cursor was not updated
* libview: Make caret cursor blink
* libview: Use logical attributes instead text layout to move the caret cursor
* libview: Add a way to get the text logical attributes from the page cache
* libview: Initial implementation of caret navigation
* libview: Refactor code for drawing page and selection surfaces
### atril 1.19.3
* Translations update
* shell: disable ViewDualOddLeft in menus for epubs
* libview: only access the relevant page cache for the height request
* Activate shortcut keys for dual and continuous layout
* ev-view: Forward key events to the focused form field
* Add shortcut keys for fit-page and fit-width options
* shell: Do not open single page pdfs in dual mode by default
* libview: Don't update current_page to negative number
* libview: Make page layout a mode
* libview: Add new zoom mode that optimizes for readability
* Rename Fit Page Width as Fit Width
* Rename Best Fit mode as Fit Page
* Move dual page with odd pages left to the view menu
* libview: drop deprecated usage of gtk_container_set_resize_mode
### atril 1.19.2
* Translations update
* shell: Check if doc implements Annotations interface before cast
* Refreshing annotations' sidebar upon deletion
* libdocument: Make ev_mapping_list_remove void
* page-cache: Add flags parameter to ev_page_cache_mark_dirty()
* pdf: Reset the annotation mapping when there are no more annotations
* Add an option to remove annotations to the view popup menu
* libview: add ev_view_remove_annotation
* pdf: Implement remove_annotation virtual func
* libdocument: add ev_mapping_list_remove
* libdocument: Add remove_annotation to DocumentAnnotations.
* pdf: Make annotation names unique
* pdf: Add support for adding other types of annotations
* libview: Rename ev_view_set_focused_element and make it public internally
* Change the opacity of the annotation window
* Change color of annotation window
* libview: Grab focus for form fields and links on mouse press
* libdocument: Added ev_mapping_list_get
* pdf: Add activation link for Fields that have it.
* libview: Handle activation link of a Form Field if present
* libdocument: Add activation_link to EvFormField struct
* ev-properties-licence: don't use deprecated GtkAlignment
* libview: : avoid deprecated gtk_adjustment_changed
* ev-job-find: mark two methods as skip
* ev-jobs: have ev_job_failed_from_error shadow ev_job_failed
* libview: add missing transfer and element-type annotations
* ev-mapping-list: make a boxed type
* libdocument: add missing transfer and element-type annotations
* gtk 3.22: avoid deprecated gdk_screen_get_monitor... functions:
* avoid gdk_screen_get_primary_monitor/gdk_screen_get_monitor_scale_factor
* ev-document-misc.c: avoid deprecated gdk_screen_get_width/height_mm
* dvi: Mitigate command injection attacks by quoting filename
* mdvi-lib: Fix compilation warning (const-correctness)
* libmisc: set width chars for page label
* libview: Scroll small pages in non-continuous mode
* libview: Enable GDK_SMOOTH_SCROLL events for view
* libview: Ctrl+mouse wheel zoom should be pointer-centered, not window-centered
* ev-view: Add pan gesture to switch page
* ev-view: explicitly require a GtkScrolledWindow as the parent widget
* ev-view: Add pinch/zoom gesture to handle document zooming
### atril 1.19.1
* sidebar-thumbnails: fix unwanted move to start after fullscreen
* sidebar-thumbnails: preload one extra visible range while scrolling
* sidebar-thumbnails: keep thumbnails already rendered
* sidebar-thumbnails: fix clunky scrolling
* update copyright year in Caja extension
* annotations-sidebar: Clean up the styling
* ev-annotation-window: Fix setting the color of the window border
* libview: fix annotation window focus change after creation
* libview: Fix focus on ev_annotation_window
* libview: Don't change the font color of the annotation window
* shell: Use GdkRGBA for annotations
* libdocument: Add EvAnnotation API using GdkRGBA
* libdocument: Use the new deprecation macros
* Add deprecation macros
* fix runtime warnings caused by previous HDPI commit
* Take monitor scale factor into account when calculating zoom.
* Add hi-dpi support for main view.
* shell: Ditch gimpcellrenderertoggle
* sidebar-layers: Make it actually usable and fix a runtime warning
* libview: setting annotation window icons sizes
* libview: save changes to a dropdown in an embedded form
* libdocument: adjust rendering of shadow for active and inactive pages
* avoid deprecated gdk_screen_make_display_name
* ev-window: remove deprecated GtkToolbar-shadow-type
* annotation-properties-dialog: don't use a headerbar
* avoid deprecated gdk_display_get_screen and gdk_display_get_n_screens
* ev-window: don't use deprecated gtk_show_uri
* Translations update
* avoid deprecated gdk_screen_get_number
* Restore Polish translation credits from GNOME
### atril 1.19.0
* Translations update
* update copyright year to 2017
* build: properly clean the generated .caja-extension file
* build: require cairo >= 1.10.0 and drop some old code
* shell: remove unused code from utils
* ev-view: avoid deprecated gtk_drag_begin
* egg-editable-toolbar: avoid deprecated gtk_drag_begin
* message-area: replace some GtkStock deprecations
* ev-sidebar: avoid deprecated GTK_STOCK_CLOSE icon
* password-view: replace some GtkStock deprecations
* password-view: don't use deprecated GtkAlignment
* toolbar-editor: don't use deprecated GtkAlignment
Diffstat (limited to 'print/atril')
-rw-r--r-- | print/atril/Makefile | 7 | ||||
-rw-r--r-- | print/atril/PLIST | 8 | ||||
-rw-r--r-- | print/atril/distinfo | 11 |
3 files changed, 12 insertions, 14 deletions
diff --git a/print/atril/Makefile b/print/atril/Makefile index c9ba93f7357..c4f4f388a82 100644 --- a/print/atril/Makefile +++ b/print/atril/Makefile @@ -1,9 +1,8 @@ -# $NetBSD: Makefile,v 1.25 2018/04/28 20:19:11 wiz Exp $ +# $NetBSD: Makefile,v 1.26 2018/05/14 12:22:42 youri Exp $ .include "../../meta-pkgs/mate/Makefile.common" -DISTNAME= atril-${VERSION} -PKGREVISION= 13 +DISTNAME= atril-${VERSION:R}.1 CATEGORIES= print COMMENT= Simple multi-page document viewer for the MATE environment @@ -23,9 +22,7 @@ CONFIGURE_ARGS+= --disable-introspection .include "../../x11/mate-desktop/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" .include "../../graphics/hicolor-icon-theme/buildlink3.mk" -.include "../../print/poppler-glib/buildlink3.mk" .include "../../textproc/libxml2/buildlink3.mk" -.include "../../security/libsecret/buildlink3.mk" .include "../../security/openssl/buildlink3.mk" .include "../../sysutils/desktop-file-utils/desktopdb.mk" .include "../../mk/bsd.pkg.mk" diff --git a/print/atril/PLIST b/print/atril/PLIST index ec9f122bb61..df98b57b728 100644 --- a/print/atril/PLIST +++ b/print/atril/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.6 2018/01/01 22:29:52 rillig Exp $ +@comment $NetBSD: PLIST,v 1.7 2018/05/14 12:22:42 youri Exp $ bin/atril bin/atril-previewer bin/atril-thumbnailer @@ -35,6 +35,7 @@ include/atril/1.5.0/libdocument/ev-layer.h include/atril/1.5.0/libdocument/ev-link-action.h include/atril/1.5.0/libdocument/ev-link-dest.h include/atril/1.5.0/libdocument/ev-link.h +include/atril/1.5.0/libdocument/ev-macros.h include/atril/1.5.0/libdocument/ev-mapping-list.h include/atril/1.5.0/libdocument/ev-page.h include/atril/1.5.0/libdocument/ev-render-context.h @@ -77,9 +78,6 @@ man/man1/atril-thumbnailer.1 man/man1/atril.1 share/appdata/atril.appdata.xml share/applications/atril.desktop -share/atril/atril-previewer-ui.xml -share/atril/atril-toolbar.xml -share/atril/atril-ui.xml share/atril/hand-open.png share/atril/icons/hicolor/16x16/actions/object-rotate-left.png share/atril/icons/hicolor/16x16/actions/object-rotate-right.png @@ -321,6 +319,7 @@ share/locale/am/LC_MESSAGES/atril.mo share/locale/ar/LC_MESSAGES/atril.mo share/locale/as/LC_MESSAGES/atril.mo share/locale/ast/LC_MESSAGES/atril.mo +share/locale/az/LC_MESSAGES/atril.mo share/locale/be/LC_MESSAGES/atril.mo share/locale/bg/LC_MESSAGES/atril.mo share/locale/bn/LC_MESSAGES/atril.mo @@ -334,6 +333,7 @@ share/locale/cs/LC_MESSAGES/atril.mo share/locale/cy/LC_MESSAGES/atril.mo share/locale/da/LC_MESSAGES/atril.mo share/locale/de/LC_MESSAGES/atril.mo +share/locale/de_CH/LC_MESSAGES/atril.mo share/locale/dz/LC_MESSAGES/atril.mo share/locale/el/LC_MESSAGES/atril.mo share/locale/en_AU/LC_MESSAGES/atril.mo diff --git a/print/atril/distinfo b/print/atril/distinfo index 4da2bb3f338..dad84bf0ea7 100644 --- a/print/atril/distinfo +++ b/print/atril/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.3 2017/06/23 17:05:52 youri Exp $ +$NetBSD: distinfo,v 1.4 2018/05/14 12:22:42 youri Exp $ -SHA1 (atril-1.18.0.tar.xz) = 5cbcd69733bd5ba23c10a60b2a2350171d95ddf6 -RMD160 (atril-1.18.0.tar.xz) = ce083ead29df0e72def3c59e08e8490ea3b0f74e -SHA512 (atril-1.18.0.tar.xz) = 71e40faebfac08c60c90e7c919d2274976a5f03e6f9c6882fe81d4736152c14b1baf45da770f357030708d103203a4ffc47387c736c4df8737dfc5caf1fd466a -Size (atril-1.18.0.tar.xz) = 1688144 bytes +SHA1 (atril-1.20.1.tar.xz) = 16e508a469d1ed7850b75ddb9d9a1faf764379a9 +RMD160 (atril-1.20.1.tar.xz) = 6695e587bc1260fe8f5f8e0ab776b246cbd5c346 +SHA512 (atril-1.20.1.tar.xz) = 7a1216ff3302e1dd8caf09d8ff840e51d729c7e886ff3b2a4f7e4f860a46f1d5ac1ab7e7979aa3dac60d13c0ee316966309657462c35c815f6d5d93460ff26ed +Size (atril-1.20.1.tar.xz) = 1754572 bytes +SHA1 (patch-libview_ev-jobs.c) = 906b9d469d7ec2593540f15849432ab5d2a10f8f |