head 1.5; access; symbols pkgsrc-2026Q1:1.5.0.2 pkgsrc-2026Q1-base:1.5 pkgsrc-2025Q4:1.4.0.20 pkgsrc-2025Q4-base:1.4 pkgsrc-2025Q3:1.4.0.18 pkgsrc-2025Q3-base:1.4 pkgsrc-2025Q2:1.4.0.16 pkgsrc-2025Q2-base:1.4 pkgsrc-2025Q1:1.4.0.14 pkgsrc-2025Q1-base:1.4 pkgsrc-2024Q4:1.4.0.12 pkgsrc-2024Q4-base:1.4 pkgsrc-2024Q3:1.4.0.10 pkgsrc-2024Q3-base:1.4 pkgsrc-2024Q2:1.4.0.8 pkgsrc-2024Q2-base:1.4 pkgsrc-2024Q1:1.4.0.6 pkgsrc-2024Q1-base:1.4 pkgsrc-2023Q4:1.4.0.4 pkgsrc-2023Q4-base:1.4 pkgsrc-2023Q3:1.4.0.2 pkgsrc-2023Q3-base:1.4 pkgsrc-2023Q2:1.3.0.16 pkgsrc-2023Q2-base:1.3 pkgsrc-2023Q1:1.3.0.14 pkgsrc-2023Q1-base:1.3 pkgsrc-2022Q4:1.3.0.12 pkgsrc-2022Q4-base:1.3 pkgsrc-2022Q3:1.3.0.10 pkgsrc-2022Q3-base:1.3 pkgsrc-2022Q2:1.3.0.8 pkgsrc-2022Q2-base:1.3 pkgsrc-2022Q1:1.3.0.6 pkgsrc-2022Q1-base:1.3 pkgsrc-2021Q4:1.3.0.4 pkgsrc-2021Q4-base:1.3 pkgsrc-2021Q3:1.3.0.2 pkgsrc-2021Q3-base:1.3 pkgsrc-2021Q2:1.2.0.14 pkgsrc-2021Q2-base:1.2 pkgsrc-2021Q1:1.2.0.12 pkgsrc-2021Q1-base:1.2 pkgsrc-2020Q4:1.2.0.10 pkgsrc-2020Q4-base:1.2 pkgsrc-2020Q3:1.2.0.8 pkgsrc-2020Q3-base:1.2 pkgsrc-2020Q2:1.2.0.6 pkgsrc-2020Q2-base:1.2 pkgsrc-2020Q1:1.2.0.2 pkgsrc-2020Q1-base:1.2 pkgsrc-2019Q4:1.2.0.4 pkgsrc-2019Q4-base:1.2; locks; strict; comment @# @; 1.5 date 2026.02.09.22.55.41; author yhardy; state Exp; branches; next 1.4; commitid cbBylMxQj96tQKtG; 1.4 date 2023.08.06.11.59.42; author yhardy; state Exp; branches; next 1.3; commitid gNVZokdFRgqRKIzE; 1.3 date 2021.07.22.12.10.46; author yhardy; state Exp; branches; next 1.2; commitid xxSMgKzcdh23LY1D; 1.2 date 2019.11.10.21.42.15; author nia; state Exp; branches; next 1.1; commitid neu5HmXblv7YRlKB; 1.1 date 2019.10.16.13.34.08; author nia; state Exp; branches; next ; commitid ZNU2G4NxrtRgY5HB; desc @@ 1.5 log @editors/xournalpp: update to xournalpp-1.3.2 == Changelog = 1.3.2 * Fix Windows UTF-8 conversion issues (#6888) * Fix sidebar layout when resizing and changing tab (#7060) * Fix missing lines/dots in graph/dotted backgrounds (#6968) * Fix change in new page behaviour with PDF background (#7055) * Fix crash on Windows when background PDF is missing (#7019) * Fix crash on Clipboard IO error (#7009) * Make Plugin openFile API comply with forceOpen parameter (#6961) * Fix CLI behaviour on error (#6956) * Restore GtkSourceView support (#6969) * Fix recoloring when light color is lighter (#6948) * Fix image orientation on Drag-n-Drop pasting (#6943) * Fix crashes when using touchscreen in Setting->Input panel (#6916) * Updated translations = 1.3.1 * Restored the rendering of graph backgrounds used before the 1.3.0 release (#6894) * Fixed image loading on Windows (#6893) * Fixed various issues when using automatic display DPI detection, like clipboard pasting not working (#6887) * Fixed a bug where changing the color through the Lua API changed the alpha channel (#6889) * Fixed a crash when triggering automatic page addition by dragging a selection (#6868) * Fixed a crash when saving an empty text node (#6886) = 1.3.0 This is a new minor version of Xournal++, including many new features and plethora of bug fixes from the community: * PDF exports now preserves the background PDF's inner structure (hyperlink, comments, ...) (#6364, #6545, #6831) * The color palette can now be selected in the preferences (#3767) * Grid snapping now follows the displayed grid for all background types (#6790) * New graph background with periodically thicker lines (#6751) * New laser pointer tool, writing ephemeral strokes (#6391, #6592) * Allow to use an external editor for LaTex entries (#6476, #6529) * Add the possibility of recoloring the screen output (e.g. for night mode or accessibility) (#6090, #6195, #6203) * Add the possibility of choose the PDF marker opacity (#5139) * Configurable behaviour in fullscreen or presentation modes (#5130) * Allow to optionally scroll beyond the page's edges (#4855) * Changes to the toolbar interface: * The toolbars can now contain several instances of the same button (#5426) * New toolbar item for enabling/disabling touch drawing (#6479) * New toolbar item for showing/hiding the sidebar (#6239, #6708) * 4 new plugins are shipped with the app (#4528, #4884, #5836, #5837) * Major changes in the plugin interface: * New API to interact with in-app actions (#6588) * New API for font configuration (#6710) * New API for managing the floating toolbox (#6682, #6788) * New Toolbar entry for plugin text output (#6601) * New API to fetch config, state or data folders of plugins (#6155) * New API to change zoom levels (#5845) * Replaced the API for file opening and saving (#5723) * New Lua definition file to improve development environment (#5572) * New API to interact with content (#4832, #4884, #5029, #5061, #5836, #5837, #6023, #6034, #6501) * (MacOS and Windows) Our releases now ship LuaGObject for plugins to create their own interface (#6572) * The application is now wrapped in a launcher that will show error messages in case of a crash (#6563, #6777) * Add a device testing area in Settings->Input, for easier testing, configuration and bug reports (#6491) * Better unicode handling on Windows (#5640, #6757) * Faster rendering of strokes (#6385, #6685) * Automatic detection of screen DPI value (#6556) * Rewrite of selection logic, improving performances, and fixing many bugs and crashes related to it (#5317, #6361, #6664) * Improve display performances (#6642) * All parts of the interface are now open for translation (#5226) * Add possibility of adding a layer below the current layer (#6427) * New command line options: Open PNG files (#6402), Open PDF in attached mode (#5228) * (MacOS, Windows) Ship GTK-demo in our releases to help with bug reporting (#6192) * (Linux) Add caption to appdata (#6193) * More options in file naming (#6171) * (Unix) Metadata migration to $XDG_STATE_HOME (#5855, #6070) * Progress towards porting to GTK4 (#4763, #4796, #5078, #5079, #5481, #5500, #5585, #5591, #5602, #5630, #5631, #5644, #5646, #6440) * Consistently save new asset names as relative paths (#6540) * Many smaller improvements and bug fixes. Many code-base improvements. * Updated translations For downstream package maintainers: changes in cmake flags and compile-time dependencies * New flag `ENABLE_QPDF` (default=on) adds a compile-time dependency to qpdf (for better PDF exports). * New flag `ENABLE_AUDIO` (default=on). Disabling it removes the (preexisting) dependency to portaudio and sndfile. * New flag `MAN_COMPRESS` (default=on). Disabling it leaves the man pages uncompressed. * New flag `ENABLE_CPPTRACE` (default=on) will fetch and include cpp-trace (to generate crash reports). = 1.2.10 * Fixed Continuous Integration * Updated translations = 1.2.9 Bugfixes from various community contributors: * Fix display bug when running release version after having run the development version (#6681) * Fix Clipboard pasting issues (#6679) * Fix attached attribute on document load (#6678) * Prevent export from mistakingly overriding the background PDF (#6675) @ text @$NetBSD: patch-CMakeLists.txt,v 1.4 2023/08/06 11:59:42 yhardy Exp $ Find pkgsrc lua with pkg-config. Unconditionally install desktop files and make dependencies explicit. --- CMakeLists.txt.orig 2026-02-03 08:56:24.000000000 +0000 +++ CMakeLists.txt @@@@ -34,7 +34,7 @@@@ set(CMAKE_PROJECT_VERSION ${PROJECT_VERS set(PROJECT_CONTACT "core.xournalpp@@github.com") ## CMAKE_Variables -set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake/find" "${PROJECT_SOURCE_DIR}/cmake/include") +set(CMAKE_MODULE_PATH "${PKGSRC_CMAKE_MODS}" "${PROJECT_SOURCE_DIR}/cmake/find" "${PROJECT_SOURCE_DIR}/cmake/include") set(CMAKE_CXX_STANDARD 20) set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_EXTENSIONS OFF) @ 1.4 log @editors/xournalpp: update to xournalpp-1.2.0 While here, fix patch-CMakeLists.txt to search the correct directory for cmake modules (the patch was incorrect). = Changelog == 1.2.0 This is a new major version of Xournal++ with many new features, improvements, and bug fixes thanks to contributions from the community. * **Breaking Changes**: * Linux: support for Ubuntu 18.04 has been dropped. Dependency versions are now pinned to those used in Ubuntu 20.04. * Linux: added an optional dependency on gtksourceview4 * Added PDF text selection tools (#1745, #3326, #4362) * Two new tools have been introduced, "Select Linear PDF Text" and "Select PDF Text In Rectangle", used for selecting text on background PDFs. The tools support "linear" and "area" selection modes. Double/triple clicking enables line and paragraph selection, respectively. * The toolbox has buttons that allow a user to: 1) copy the selected text, 2) generate a highlight stroke over the selected text; 3) generate a stroke to strike-through the text; 4) generate a stroke to underline the text; and 5) toggle between linear and rectangle selection. * Clicking on a link with one of the text selection tools will open a popup that can be used to navigate to the corresponding PDF page (if it exists) or display a clickable URL (#1027, #4412, #4673). * Pressing `Ctrl+C` will copy the selected text to the clipboard (#4436, #4784). * Added Setsquare Tool and Compass Tool * The Setsquare Tool toggles a virtual setsquare, which can be used for measurements and as a guide for drawing straight lines (#3082, #3882, #4211, #4532, #4422). * The Compass Tool toggles a virtual compass, which can be used for drawing circles, arcs, and radial line segments (#4443, #4422). * Mouse, stylus, and touchscreen input can be used to interact with the Setsquare and Compass Tools. * See the website for more information. * Colors * Added new custom color palette support (#2379). A custom color palette can be created in `.gpl` format in the Xournal++ config folder. See the website guide for information on how to create a `.gpl` file. * Changed the color picker so that it opens with the currently selected color by default (#4569, #4575). * Fixed the color picker dialog appearing on a different screen in multi-screen setups (#4519, #4543). * Image Tool * Added support for loading any image format supported by GDK Pixbuf (#3782). For backwards compatibility, images are still saved in PNG format. * Fixed some bugs with copying and pasting images (#4466). * Fixed image orientation data not being handled properly (#4577, #4583). * Text Tool * Added functionality to automatically select the currently editing text if switching to a selection tool (#1169, #4315). * Fixed some bugs when handling IM input, improving compatibility for some IMEs such as `gcin` (#3841, #4937). * Fixed text input remaining active after changing pages (#4027). * Fixed bold toggle also removing italics (#4417). * Fixed pasted text not using the color of the text tool (#4466). * Fixed an issue where `Ctrl+Alt+Left` (or right) would cause the layer to change instead of selecting the previous (or next) word (#977, #4797). * Hand Tool * Changed selections to hide the controls when the Hand Tool is selected ( #4419). * Added capability to interact with links on the background PDF (#1027, #4412, #4673) * Stroke and eraser tools * Added a system cursor option (#3540). * Added stroke cap styles to the file format (#3326). * Added a "double ended arrow" stroke style (#2362, #3946). * Added a Preferences setting for setting the minimum size of the shape recognizer (#4283). * Added a toolbar item for changing fill opacity (#4263). * Added each line style as a new, individual toolbar item that can be added in toolbar customization (#4565). * Added a Preferences setting to set the visibility of a stylus-activated eraser (#4665). * Improved minor graphical aspects of the fill opacity dialog (#3515). * Improved performance by rendering strokes with integer coordinates (#4080). * Improved the arrow stroke style by scaling the arrow head by line length for small arrows (#4055). * Rewrote the stroke rendering code to fix bugs and improve performance (#3480, #3580, #4304). * Rewrote the Eraser tool to be faster and more reliable (#3532, #997, #949, #3537). * Rewrote the ellipse stroke type to reduce the number of points while (roughly) maintaining the same look (#4137, #4320). * Fixed a bug where stroke stabilization could produce NaN pressure values, causing them to become invisible when exported to PDF (#4381, #4401). * Fixed issues involving documents that contain strokes with negative or NaN pressure values (#4354, #4401). When such documents are now loaded, points with NaN pressure values will automatically be removed. * Fixed a bug in the stroke stabilizer where the stroke pressure value may sometimes not be set on the last point (#4676). * Toolbars * Added new "Export as PDF" toolbar item (#3508). It and the "Print" toolbar item have also been added to the default layouts. * Added "Spacer" and "Separator" toolbar items for creating extra space in toolbars (#4644, #4674). * Fixed a crash that occurs if the application is closed while toolbar customization is open (#4559). * Updated the default `toolbar.ini` (#4670). * Layers * Added a context menu for the layer sidebar preview (#3204). * Added a feature for merging layers down. This can be accessed via the `Journal`menu or the new layer preview context menu (#2784, #3204). * Added `Edit > Move Layer Up/Down` menu items for moving layers up/down (#4352). * Added a CLI flag to choose which layer(s) to export (#4143). * Added two new tools, "Select Multi-Layer Rectangle" and "Select Multi-Layer Region", which are like the existing rectangle/region select tools but can be used to select objects on a different layer than the active one (#4413). * Plugins * Added new plugin APIs, including export options, getting page info, adding strokes, adding images etc. (#3677, #3566, #3688, #4359, #4397, #4858). * Added a new plugin "Export" used to export the current document to PDF, SVG, or PNG format with `p/s/n`, respectively (#3566). * Added a new plugin "HighlightPosition" used to toggle the cursor highlight (#3023). * Added support for additional plugin loading paths (#1155, #2422). Notably, plugins will also be searched for in the `plugins` folder contained in the user's config directory (see the "File Locations" section of the website/guide for where to find this folder). * Added an `ACTION_TOGGLE_PAIRS_PARITY` used for programmatically changing between single and paired page mode. This is currently only accessible through the plugin API (#4424). * Added a new feature to `app.registerUI` to register custom toolbar items (#2431, #2936, #4669, #4671). * QuickScreenshot plugin: added `maim` and `xclip` program support (#3718). * Improved error handling so that the plugin API returns actual Lua errors (#4652). * Fixed several issues with plugin-disabled builds (#4726, #4728, #4746). * Audio recordings * All elements without audio now become faded when the Play Object tool is used (#2874). * Windows: fixed issues with saving/loading audio files with unicode characters in their names (#3783). * Vertical Spacing Tool * Added capability to move elements above the line by holding Ctrl (#3334). * Improved performance (#3334, #4306). * TeX Tool * Reimplemented the LaTeX editor using the gtksourceview library (#2809), enabling multiline input, syntax highlighting, undo/redo, word wrap, and a resizable code editor. * Added a tab for viewing the output of the TeX command (#2809). * Added Preferences settings for changing the syntax highlighting theme, word wrap settings, font, default formula, and other settings (#2809, #4264). * Changed the TeX background color to become dark when a light font color is selected (#2809). * Fixed a bug where editing existing TeX will cause its position to change (#4415, #4430). * Fixed a memory leak (#4088) * PDF support * Added "Xournal++" as the "Creator" in exported PDF metadata (#3523). * Added button to propose replacement background PDF if it is missing and a file with a similar name is found in the same folder as the `.xopp` file (#4165) * Added a "default PDF export name" setting that is used when exporting PDFs to support wildcards/placeholders for name, date, and time (#2897, #4599, #4854). * Minor performance improvements (#4004, #4704). * Fixed a crash that occurs when exporting to PDF from the command line, but the background PDF does not exist (#4584, #4681). * Floating toolbox * Added capability to open the floating toolbox with a secondary button (#3270). * View modes (#4514) * The individual default, fullscreen, and presentation modes have been reorganized into a "View Modes" setting in Preferences. * The "Hide menu bar" and "Hide sidebar" settings now work correctly with these view modes (#2773). * Changed the `F5` shortcut so that it can also be used to leave presentation mode. Removed the `ESC` shortcut to leave presentation mode, which conflicts with cancelling a selection (#4480). * Optimizations * Refactored the rendering system, leading to performance improvements, bug fixes, and code that is easier to extend with new features (#1795, #4051, #3480, #3503, #3969, #3985, #3990, #4304, #4137, #4417, #4158, #4159, #4687, #4442, #4271). * Improved rendering performance by eliminating unnecessary redrawing (#4502, #4493, #4659, #4611, #4637, #4672). * macOS: significantly improved performance due to GTK version upgrade to 3.24.38. * Packaging * Added build flags to force or disable X11 linking (#4146). * AppImage: added support for AppImageUpdate (#1915, #4265, #4781, #4793). * Windows: the installer will now record the installed version in the Windows registry (#4548). macOS: added a script to build a .dmg for Xournal++ (#4371). * Miscellaneous * Improved file size of documents with large amounts of stroke data by up to 15% (#4065). * Improved the page range validation UX in the export menu (#3390). * Added a `Journal > Duplicate Page` menu item (#3831, #4313). * Added code to detect and fix documents with pages that have the corrupt page type "Copy" (#4139). * Added built-in support for the existing Lucide Light and Lucide Dark icon themes (#4039, #4063). * Added an action for toggling the cursor highlight (#3023). * Added a Preferences setting for choosing whether to show the file path in the titlebar (#3921, #3934). * Added an `Edit > Select All` menu option for selecting all elements on the current layer (#1917, #4024). * Added margin width and line spacing parameters to be used for `pagetemplates.ini`, allowing the vertical margin lines to be moved and the line spacing to change (#1713, #3542, #3969). * Added a keyboard shortcut `Ctrl+Shift+Z` for redo (#1323, #4292). * Added a menu item to the bottom of the recent files list for clearing the recent files list (#4410, #4440). * Added keybindings for switching to the first 10 colors in the palette to keys 0-9 (#2007, #4416). * Added vim keybindings `Shift+j` and `Shift+k` for page scrolling (#4573). * Refactored key event handling such that key-press and key-release events are first propogated to the focus window and up the focus chain container, thus allowing for plugins using keyboard shortcuts that would otherwise conflict with the text tool (#4797, #4811). * Added a new setting for automatically appending a new page to the document when scrolling to the last page (#1343, #4311). * Added page numbers to the sidebar page previews, which can be configured in the Preferences (#4624, #4693). * Changed version numbers in About window to be selectable text (#4152). * Changed the About dialog to hide the Git commit info if it is not found (#4537). * Changed the autosave directory from the user config folder to the user cache folder (#3587). * Changed the "Apply to current page" button so that it is disabled in the page type dropdown menu when "Copy current page" is selected (#4142, #4255). This helps to ensure that the corrupt "Copy" page background type cannot actually be produced in a document (see #4127). * Fixed the cursor highlight clipping when the sum of the radius and border width exceed 60 pixels (#3023). * Fixed the cursor highlight not showing with "None" cursor type (#3023). * Fixed the cursor not immediately changing when activating the vertical space tool (#4851, #4864). * Fixed a scrolling bug when undoing page insertion (#2757, #4875). * Linux: fixed Hand Recognition not working on X11 (#4043). * Fixed a bug where floating point values would not be parsed correctly in `pagetemplates.ini` (#3655, #3676). * Fixed several memory leaks and other issues (#3748, #4554, #4679, #4680). * Fixed a bug where grid backgrounds with borders would not be rendered correctly (#3969). * Fixed the line style toolbar item not being updated correctly when selecting existing stroke elements (#3793, #4089). * Fixed a crash that occurs when using Annotate PDF to open a non-PDF file (#3368, #4526). * Fixed potential race conditions (#4533). * Fixed a potential crash that can occur when adding a color selection toolbar item to a side toolbar (#4505, #4535). * Fixed an issue where failing to create a backup during saving would silently abort saving instead of informing the user (#4675, #4715). * Fixed a bug where undo/redo would not deselect the current selection (#4609, #4725). * Added undo/redo for selections moved via keyboard (#4835, #4842). * Fixed a bug with changing linestyle via toolbar or plugins not working properly (#4831, #4827, #4823). * Fixed a "File Bug Report" dialog that has never been shown but should now be shown when an error log is detected on startup (#4808). * Improved the CrashLog by adding the Xournal++ and Gtk versions as well as every log message issued via g_message, g_critical, g_debug and so on (#4848). * Fixed a mismatch between the app id the window sets and the name of the desktop file, leading to the Wayland icon being shown instead of the Xournal++ icon. The program name and StarupWMClass were therefore changed from xournalpp to com.github.xournalpp.xournalpp (#4870, #4887). * Replaced deprecated icons, which are missing on newer versions of GNOME as well as Windows and macOS builds (#3945, #4544). * macOS: fixed clipboard image paste not working (#3455, #4489). * macOS: fixed audio recording by compiling libsndfile with external libraries (#4656, #4371). * Removed old MIME types from XDG desktop metadata files (#4130). * Fixed header includes for compiling with GCC 13 (#4912). * Define MAX_PATH if undefined to address Hurd build failure (#4962). * Other minor code cleanup and improvements. * Initial preparatory work to migrate to GTK4 (#4441, #4448). * Updated translations. @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.3 2021/07/22 12:10:46 yhardy Exp $ d7 1 a7 1 --- CMakeLists.txt.orig 2023-07-29 21:28:24.000000000 +0000 d9 1 a9 1 @@@@ -19,7 +19,7 @@@@ set(CMAKE_PROJECT_VERSION ${PROJECT_VERS d15 1 a15 1 set(CMAKE_CXX_STANDARD 17) a17 9 @@@@ -325,7 +325,7 @@@@ install(DIRECTORY resources ) # Install desktop shortcuts for Linux -if (${CMAKE_SYSTEM_NAME} MATCHES "Linux") +if (TRUE) message("Installing desktop files") # Install icons @ 1.3 log @editors/xournalpp: update to xournalpp-1.1.0 Pkgsrc changes: * Xournal++ has its own smoothing/averaging options available, so the Bezier curve patch for NetBSD and OpenBSD is not needed anymore. * Enable the velocity Gaussian averaging option by default on NetBSD and OpenBSD to avoid the "stepping" seen with raw input. Changelog: == 1.1.0 This is a new major version of Xournal++ with many new features, improvements, and bug fixes thanks to over one year's worth of contributions from the community. * **Breaking changes**: * Xournal++ now follows the [XDG Base Directory Specification](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html) (#1101, #1384). The configuration files will now be stored in an appropriate platform-specific user data folder. Old configuration files will be copied automatically if the new user data folder does not exist. * For users that have non-default DPI settings, text elements in old documents may be displayed with incorrect sizes/positions. A new plugin is included to fix the positioning of these text elements. See the relevant bug in the "Text tool" section below. * The old input system has been removed, which may affect some users. * Windows: The installer has been updated, fixing many issues such as: incorrectly set up registry keys, missing uninstaller entry, missing entries in Open With context menu in Explorer, missing icons, etc. (#2606, #2585, #2387, #2141, #2036, #1903, #2666, #3215). When upgrading from 1.0.18, you **must not run the uninstaller**; instead, run the updated installer, which will clean up files from the old install and fix the registry key entries. **If you are downgrading from 1.1.0 to 1.0.18 or older, you must run the uninstaller first.** * Linux: Support for Ubuntu 16.04 (and older distros) has been dropped. Please use a distro from 2018 or later, such as Ubuntu 18.04 or Debian Buster. The dependency versions have been updated accordingly. * Linux: The thumbnailer program has been renamed from `xournal-thumbnailer` to `xournalpp-thumbnailer` in order to fix tab completion (#1752). * Linux: Xournal++ now has a hard dependency on `librsvg`. This should not affect end-users, only maintainers and packagers. * The code has been updated to use C++17 (#1485) and must now be compiled using a supported compiler version, such as GCC 7 or Clang 5 (or newer). * MacOS: Dropped support for macOS High Sierra; minimal version is now Catalina (#2989) * Document viewing * Changed page selection system to now select the current page during scrolling (#1613, #1184). * Improved page load performance and memory consumption with new page preload mechanism (#2603). * Fixed a bug where scrolling would not work with zoom fit enabled until the zoom level changes (#2541). * Fixed some bugs that prevented documents from being displayed on ARM and 32-bit devices (#2576). * Fixed vim-style `hjlk` keybindings being inconsistent with the arrow keys (#2712). * Added a shortcut for the default tool (#2872) and changed shortcuts for page deletion and layer navigation (#2766) * Fixed various issues related to zooming and scrolling (#2435, #2743, #2023, #1830, #2821) * Fixed zoom slider tick marks being set to the wrong values when DPI calibration setting is different from the default (#2923) * Fixed a freeze caused by scrolling between pages of different size (#2770, #3099). * Document export * Added a "progressive mode" option to PDF file export dialog. This will render layers from bottom to top, exporting a new page every time a layer is rendered (#2589, #2609). * Simplified background rendering to improve compatibility of exported SVGs (#2598). * Made line spacing equal in export and on view when pango version >= 1.48.5 is available (#2182) * Updated the Cairo version on Windows to fix a bug that created corrupt PDF files on export (#2871) * Fixed a crash that occurs when closing the application before export finishes (#3159). * Sidebar preview panel * Added new "Layerstack Preview" tab that shows all layers up to the current layer (#2795). * Changed sidebar colors to be dark when using a dark theme (#2726). * Changed layer previews to only show background in background layer (#2674) * Moved close button from the bottom to the top to improve usability (#2727). * Fixed button tooltips not reflecting the page/layer tabs (#2776). * Fixed a bug where the buttons would be enabled/disabled inconsistently (#2776). * Audio playback * Added seeking functionality during playback (#1520) * Fixed crashes caused by race conditions in the audio system * Fixed bug where gaps in the audio stream could appear while recording * Added an error message popup which displays when a recording fails to load or play (#1573) * Input System * Removed the old input system and touch workaround, both of which have been deprecated (#2308). * Added a `Mouse+Keyboard` device class for handling e.g. wireless USB mouse/keyboard receivers (#1769, #1785). * Added Preference settings for minimum pressure level and pressure multiplier (#2622). * Added an experimental stroke smoothing / input stabilization feature (#2512, #2856, #2863). * Added a touchpad pinch gesture for zooming (#2651). * Added a Preferences setting to ignore the first few pen input events when starting a new stroke (#1854). * Reimplemented zoom gestures for better compatibility (#1528) * Improved tool handling (#2339) * Fixed a bug where the touchscreen could not be used to pan and zoom when touch drawing is enabled (#2435). * Fixed a bug where two-finger zoom would be triggered even when zoom gestures are disabled (#2510). * Fixed touch drawing not working with the pen tool (#2123). * LaTeX tool * Reworked LaTeX tool implementation (#1952). * Added a new tab in the Preferences window for LaTeX configuration. * Added a `global template file` setting for custom LaTeX template files to be used when rendering LaTeX formulas (#1188). * Added a button in the Preferences window for testing LaTeX setup. * Fixed a bug where closing the dialog before the initial render would crash the application (#2728, #2798). * Fixed a bug where line breaks would not be saved correctly (#2849). * Windows: Fixed a bug where long user names would break the LaTeX tool (#3046). * Spline tool * Added cubic splines as a drawing tool (#1688, #1798, #1861). * Click to add anchor points (knots) and drag to create non-trivial tangents. Backspace key, arrow keys, s and Shift+s allow to delete/modifiy the last set knot/its tangent. Escape key and double click exit the spline drawing mode. * Snapping * Added snapping for vertical space (#2011) * Added snapping for moving and resizing selections (#1972, #2011) * Added snapping for recognized shapes (optional setting; #2011) * Added a Preferences settings to preserve line width while resizing a selection (#2011) * Added a Preferences setting to change the snap grid size (#1920). * Fixed a bug in the grid snapping tolerance (#2779). * Selections * Added ability to mirror selected elements when scaling in a negative direction (#2723). * Added `Edit > Arrange` menu items and the corresponding actions for rearranging selected elements (#2794). * Changed element selection to not automatically rearrange items (#1680). Instead, rearranging must be performed with the newly added menu entries. * Fixed some bugs where selections would not be copied correctly (#2277, #2090, #2733) and would cause strokes to become invalid/missing when saving (#2857, #2464). * Fixed a bug in the Select Object algorithm (#2478) * Pen and eraser tools * Added Preferences settings to configure the radius, color, and border of the cursor highlight when `Highlight cursor position` is enabled (#1891, #1898). * Added a new "no cursor" cursor type and changed "Big pen" checkbox in Preferences into a combo box (#2111). * Renamed "fill transparency" to "fill opacity" to avoid confusion (#2590). * Added thick/thin settings to default tool preferences (#2611). * Added ability to change line styles of existing strokes (#2641). * Changed name of "Draw Circle" to "Draw Ellipse" (#2708). * Changed name of "Ruler" to "Draw Line" (#2959). * Improved circle drawing controls (#2707). * Improved the accuracy of the eraser tool (#1818). * Changed pen/highlighter cursor to be in the shape of a circle with the approximate stroke size (#1945, #1513). * Fixed a cursor update bug (#1954). * Fixed strange behavior of color switches when temporarily using the eraser (#2004, #1546, #1712). * Text tool * Added support for text edit blinking to be enabled/disabled through standard GTK configuration settings (#2170). * Fixed several serious bugs and user experience issues with IME pre-edit strings (#2789, #2788, #2826, #2851). * Fixed a bug where the font button would not be updated when editing a text field (#2620). * Fixed a bug where text elements would not be displayed at the correct positions when an image is used as the page background (#2725). * Fixed a bug where text would be displayed with an incorrect size when DPI is set to a non-default value. A plugin for migrating documents with wrong font sizes has been added (#2724). * Fixed a bug where selected text would be highlighted incorrectly (#3131). * Toolbars * Added a print button to the default toolbar (#1921). * Added a menu toggle item for showing/hiding the toolbar, bound to F9 (#2112). * Added a vertical mode for the pagespinner tool (#2624). * Added color indicators to toolbars when customizing the toolbars (#2726). * Improved appearance of the floating toolbar (#2726). * Fixed a crash that occurs when the application is closed with the toolbar customization dialog open (#1189). * Fixed multiple bugs involving the toolbar customizer (#2860). * Plugins * Extended plugin API with many new features and functions, including page and layer operations (#2406, #2950). * Added a Lua plugin for taking a screenshot and saving it to a file (#2086, #2787). * Added a Lua plugin for cycling though a color list (#1835, #2251). * Added Lua plugin support for MacOS (#2986) * Allow using the system Lua package path (#2968) * Paper backgrounds * Added an isometric paper background type (#1994). * Changed background types to use lighter line colors when a dark background is set. The colors can be set in `pagetemplates.ini` (#2055, #2352). * Fixed the confusing behavior of the `Apply to current/all pages` buttons used to change the page backgrounds (#2730). * Fixed cloned background images not loading correctly (#3170). * Packaging changes * AppImage: Fixed AppImages not running on more recent Linux distros (#2600). * Linux: Fixed an issue with dock icons not appearing correctly in some desktop environments (#2881, #1791). * Debian packages: added man pages (#2701) * The `lua-lgi` package has been added to the list of `Recommended` dependencies. It is useful for creating GUI in Lua plugins. * Streamlined and updated package metadata (#3094). * Misc * Updated author information and About dialog appearance (#3209) * New action icons (#3154) and new application icon (#2557). * Changed the error dialog for missing PDF backgrounds to display the full path of the missing PDF (#3140). * Changed default key binding of middle mouse button from nothing to hand tool (#3121). * Changed the `Help > Help` menu item to point to the new website [www.xournalpp.github.io](www.xournalpp.github.io), which replaces the User Manual wiki. * Added a setting in the Preferences window for selecting the language (#2188). Simplified language translation file names (#3166, #3201). * Added a feature to allow the user to modify the locale directory via the TEXTDOMAINDIR environment variable (#2600, #2845). * Added support for more export options in command line and GUI (#2449) * Added a command line option to create a xopp file (#1919). * Added the `Journal > Rename Layer` menu entry to rename layers (#2321). * Added the `Journal > Append New PDF Pages` menu entry to append PDF pages that are not in the current annotation file (#2146) * Improved look of the Preferences window (#2592). * Improved Print Dialog verbosity and error handling (#3002) * Fixed a bug where the `Autoloading Journals` option would only autoload annotation files with `.pdf.xopp` or `.pdf.xoj` extensions. (#2911, #3217). * Fixed bugs in element cloning, which previously could have caused elements to become invalid (#2733, #2720, #2464). * Fixed a bug where the thumbnailer would not correctly render previews in file managers that sandbox their thumbnailers (#2738). * Fixed a bug where some error message dialogs would not display the message correctly (#3214). * Fixed keyboard shortcuts not working when the menubar is hidden (#2324) * Fixed the undo operation for moving objects across page borders (#3068) * Updated the translation files. * Non-visible refactoring and code cleanup (#1279, #2150, #1944, #2199, #2213, #2252, etc.) * MacOS: Fixed the startup crash on BigSur and removed the integration of Xournal++ into the Mac Menu Bar (#2836, #2976) * Windows: Fixed a crash that occurs when closing the application (#2218). @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.2 2019/11/10 21:42:15 nia Exp $ d7 1 a7 1 --- CMakeLists.txt.orig 2021-07-18 21:18:39.000000000 +0000 d9 2 a10 2 @@@@ -15,7 +15,7 @@@@ set (PROJECT_STRING "${PROJECT_NAME} ${P set (PROJECT_URL "https://github.com/xournalpp/xournalpp") d14 1 a14 1 +set (CMAKE_MODULE_PATH "/tmp/pkgsrc/editors/xournalpp/work/.buildlink/cmake-Modules" "${PROJECT_SOURCE_DIR}/cmake/find" "${PROJECT_SOURCE_DIR}/cmake/include") d18 2 a19 2 @@@@ -273,7 +273,7 @@@@ install (DIRECTORY resources ) d24 1 a24 1 message ("Installing desktop files") d26 1 a26 1 # Install icons @ 1.2 log @xournalpp: Make x11 library dependencies explicit on all platforms. @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.1 2019/10/16 13:34:08 nia Exp $ d7 1 a7 1 --- CMakeLists.txt.orig 2019-10-15 17:47:34.000000000 +0000 d9 2 a10 2 @@@@ -50,7 +50,7 @@@@ else () endif () d12 7 a18 16 ## For touch workaround, may need to be disabled for a Wayland Build -if (${CMAKE_SYSTEM_NAME} MATCHES "Linux" OR ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD") +if (TRUE) set (xournalpp_LDFLAGS ${xournalpp_LDFLAGS} "-lX11 -lXi") endif () @@@@ -130,7 +130,7 @@@@ if (MacIntegration_FOUND) endif () # Plugins / scripting -pkg_check_modules (Lua "lua5.3") +pkg_check_modules (Lua "lua-5.3") if (NOT Lua_FOUND) pkg_check_modules (Lua "lua >= 5.3") endif() @@@@ -238,7 +238,7 @@@@ install (DIRECTORY plugins @ 1.1 log @Add editors/xournalpp. Based on work in pkgsrc-wip by Yorick Hardy. Xournal++ is a handwriting notetaking software with PDF annotation support. Written in C++ with GTK3. Supports pen input from devices such as Wacom Tablets. @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 Unconditionally install desktop files. d9 9 @