diff -Nru drawing-0.8.5/com.github.maoschanz.drawing.json drawing-1.0.1/com.github.maoschanz.drawing.json --- drawing-0.8.5/com.github.maoschanz.drawing.json 2021-12-04 20:33:44.000000000 +0000 +++ drawing-1.0.1/com.github.maoschanz.drawing.json 2022-04-10 14:04:17.000000000 +0000 @@ -1,7 +1,7 @@ { "app-id" : "com.github.maoschanz.drawing", "runtime" : "org.gnome.Platform", - "runtime-version" : "41", + "runtime-version" : "42", "sdk" : "org.gnome.Sdk", "command" : "drawing", "finish-args" : [ diff -Nru drawing-0.8.5/CONTRIBUTING.md drawing-1.0.1/CONTRIBUTING.md --- drawing-0.8.5/CONTRIBUTING.md 2021-12-04 20:33:44.000000000 +0000 +++ drawing-1.0.1/CONTRIBUTING.md 2022-04-10 14:04:17.000000000 +0000 @@ -11,7 +11,9 @@ # Bug reports -- If you can, try to **check if the bug has already been fixed but not released**. +- If you can, try to **check if the bug has already been reported** + - See [here](https://github.com/maoschanz/drawing/issues?q=is%3Aissue) + - Some bugs might be already fixed but not released! - Report it with informations required by the adequate issue template. - If it's meaningful, try to include screenshots. @@ -19,7 +21,9 @@ # Feature requests -- If you can, try to **check if the feature has already been added but not released**. +- If you can, try to **check if the feature has already been requested**. + - See [here](https://github.com/maoschanz/drawing/issues?q=is%3Aissue) + - Some features might be already implemented but not released! - Report it with informations required by the adequate issue template. - In the report, explain **what** it does, **not how** it does it. @@ -30,16 +34,12 @@ Notice that this procedure will translate the unstable, unreleased version currently developed on the `master` branch. - - - - >You don't have to update your translation each time i update the files! >Doing it just before the planned date of a major release should be enough; >there are around two major releases per year, and 1 minor release per month. ->Their dates are written in `debian/changelog`. +>Their planned dates are written in `debian/changelog`. ### Get the .po file @@ -49,13 +49,13 @@ - **If the translation doesn't exist at all:** - Add your language to `po/LINGUAS` - Run `msginit -i po/drawing.pot --locale=xx -o po/xx.po`, where `xx` should - be replaced by the ISO code of your language. This command will produce a + be replaced by the ISO code of your language. This command will create a `.po` file for your language in the `po` directory. ### Translate -Use a text editor or [an adequate app](https://flathub.org/apps/details/org.gnome.Gtranslator) -to translate the strings of this `.po` file. +Use [an adequate app](https://flathub.org/apps/details/org.gnome.Gtranslator) or +a text editor to translate the strings of this `.po` file. Concerning the "original version" in english: i'm **not** a native english speaker, so there might be mistakes. If you find incorrect english labels, @@ -63,29 +63,13 @@ ##### Comments -There are comments in the file to give context helping you to translate some -strings, please take them into account. +There are comments in the `.po` file to give context helping you to translate +some strings, please take them into account. Example of something translators can't guess so it's written in the comments: since this app is a clone of MS Paint, `Paint;` (untranslated) has to be in the -list of keywords for finding the app in searchable menus or software centers. - -##### Accelerators - -When words have an underscore in them, it defines a keyboard accelerator working -with the Alt key: for example, if an english-speaking user uses a -layout with a menu-bar, pressing Alt+F will open the -`_File` menu. - -In translations, the underscore can be on another character of the word, but -translators should take into account that 2 labels activatable at the same time -can't share the same accelerator. - -Example: `Édi_tion` and `Ou_tils` can't work, but `É_dition` and `Ou_tils` can -work. - -Also, the character should be accessible easily from the keyboard layouts of -your language. +list of keywords for finding the app in searchable menus or "software stores" +apps or websites. ### Testing your translation (optional) @@ -128,32 +112,54 @@ - Open _GNOME Builder_ - Click on "Clone a repository…" and use this address: `https://github.com/maoschanz/drawing.git` - Open it as a project with GNOME Builder -- Be sure the runtime is installed (if it doesn't suggest it automatically, -Ctrl+Return → type `update-dependencies`) +- Be sure the runtime is installed (if it doesn't suggest it automatically, do +Ctrl+Return and type `update-dependencies`) - Click on the _Run_ button ### With `git` and `meson` See [here](#dependencies) for the list of dependencies. -Get the code: +#### 1) Get the code ```sh git clone https://github.com/maoschanz/drawing.git ``` -Build the app: +#### 2) Build the app + ```sh cd drawing meson _build ninja -C _build ``` -Install the app (system-wide): +##### Custom meson options + +I have added 2 options you can use when you setup the project with `meson`: + +- `enable-translations-and-appdata` +- `use-uuid-as-binary-name` + +Their name are clear enough. Using the first one should allow you to have less +build dependencies, but i don't really test these options so you may have to +report issues about it. + +Example: + +```sh +cd drawing +meson -Denable-translations-and-appdata=false _build +ninja -C _build +``` + +#### 3) Install the app + ```sh sudo ninja -C _build install ``` -(if you know the options to install user-wide, please tell) +(it installs the app system-wide. If you know the options to install user-wide, +please tell me) The app can then be removed with: ```sh @@ -194,18 +200,14 @@ ### Branches and tags Stable versions for end-users are **tagged**, and listed in this Github repo's -"_Releases_" section. +["_Releases_" section](https://github.com/maoschanz/drawing/releases). -``` - 0.4.1 0.4.2 … 0.4.14 0.6.3 0.6.4 - _.______.____…____. _.______._ - 0.2 / ______ 0.6.0 0.6.1 0.6.2 / -____.____/_________/______\________.______.______.___/____________ - \____________/ -``` +Most tags are **not** on the `master` branch: + +![tags and branches](documentation/contributing-branches.png) -**Please don't package anything aside this tagged code** -
(except if your distro have experimental repos) +**Please don't package anything aside these tagged versions of the code** +
(except if your distro has experimental repos)

How to set up the debian @@ -234,24 +236,34 @@ |-----------------|--------------|--------------------|------------------| | 0.2 | any | any? | 3.22 | | --------------- | ------------ | ------------------ | ---------------- | -| 0.4.1, 0.4.2 | **≥3.30.0** | any? | 3.22 | +| 0.4.1, 0.4.2 | **≥3.30** | any? | 3.22 | | 0.4.3 to 0.4.13 | any | any? | 3.22 | | 0.4.14 | **≥3.32** | any? | 3.22 | | 0.4.15 | any | any? | 3.22 | | --------------- | ------------ | ------------------ | ---------------- | -| 0.6.0 to 0.6.1 | **≥3.32.0** | any? | 3.22 | -| 0.6.2 | **≥3.30.0** | any? | 3.22 | -| 0.6.3 to 0.6.?? | any | any? | 3.22 | -| `master`'s HEAD | **≥3.30.0** | any? | 3.22 | +| 0.6.0 to 0.6.1 | **≥3.32** | any? | 3.22 | +| 0.6.2 | **≥3.30** | any? | 3.22 | +| 0.6.3 to 0.6.5 | any | any? | 3.22 | +| --------------- | ------------ | ------------------ | ---------------- | +| 0.8.0, 0.8.1 | **≥3.30** | any? | 3.22 | +| 0.8.2 to 0.8.5 | any | any? | 3.22 | +| --------------- | ------------ | ------------------ | ---------------- | +| 0.1.0 | **≥3.30** | any? | 3.22 | +| --------------- | ------------ | ------------------ | ---------------- | +| `master`'s HEAD | **≥3.30** | any? | 3.22 | + +##### Dependencies to **build** the app -##### Dependencies to build the app +Here, "optional" means you may succeed without them if you use the correct meson +options, the right building tools, and luck. - `meson`. The version of meson required by the `meson.build` file at the root of the project can be changed if necessary, but please don't add this change to your commit(s). - [optional] `appstream-util` (validation of the `.appdata.xml` file) - `libglib2.0-dev-bin` (IIRC that one is to compress the `.ui` files and the -icons into a `.gresource` file) +icons into a `.gresource` file: 100% necessary) +- [optional] `itstool` (to generate translation files for the help manual) ---- diff -Nru drawing-0.8.5/data/com.github.maoschanz.drawing.appdata.xml.in drawing-1.0.1/data/com.github.maoschanz.drawing.appdata.xml.in --- drawing-0.8.5/data/com.github.maoschanz.drawing.appdata.xml.in 2021-12-04 20:33:44.000000000 +0000 +++ drawing-1.0.1/data/com.github.maoschanz.drawing.appdata.xml.in 2022-04-10 14:04:17.000000000 +0000 @@ -1,5 +1,5 @@ - + com.github.maoschanz.drawing CC0-1.0 @@ -16,157 +16,92 @@ Drawing -

A drawing application for the GNOME desktop + + + Edit screenshots or memes + -

"Drawing" is a basic image editor, supporting PNG, JPEG and BMP file types.

+

- It allows you to draw or edit pictures with tools such as pencil, line or - arc (with various options), selection (cut/copy/paste/drag/…), shapes - (rectangle, circle, polygon, …), text insertion, resizing, cropping, - rotating, … + This basic image editor can resize, crop, or rotate an image, apply simple + filters, insert or censor text, and manipulate a selected portion of the + picture (cut/copy/paste/drag/…)

+ +

+ And of course, you can draw! Using tools such as the pencil, the straight + line, the curve tool, many shapes, several brushes, and their various + colors and options. +

+ +

Supported file types include PNG, JPEG and BMP.

- - -

- Version 0.8.5 features several minor bug fixes, and various new - translations. -

-
-
- - - -

- Version 0.8.4 features several minor bug fixes, and various new - translations. -

-

- Undoing several operations one after another should be less slow. -

-

- It's not possible anymore to reload the picture from the disk if it - has never been saved on the disk to begin with. -

-

- The text tool gains an option to disable anti-aliasing. -

-
-
- - - -

- Version 0.8.3 features several minor bug fixes, and various new - translations. -

-

- After rotating the selection, it had an incorrectly big height, but - now it's fixed. -

-

- The outline of the free selection is now visible even when the image - is very zoomed out. -

-
-
- - - -

- Version 0.8.2 features several minor bug fixes, and various new - translations. -

-

- The boundaries of the canvas are now always visibly delimited, to - better render the area where you can draw, even if the canvas is - transparent. It also helps to see what parts of the selection may - disappear when you will unselect it. -

-

- Transform tools can now draw a preview of the pixels they may create - outside of the current canvas, which makes the 'crop', 'scale', and - 'rotate' tools more intuitive to use. -

-

- The straight line tool has a new option to lock its angle, so you can - draw perfect horizontal, vertical, or 45° strokes. -

-

- The `--edit-clipboard` command line option now works with Wayland. -

-

- Scaling an image using the numerical inputs now preserves the original - proportions of the image (unless the "never keep proportions" option - is enabled). -

-

- This version of the app is compatible with older GNOME versions - (Ubuntu LTS 18.04). -

-
-
- - + + +

- Version 0.8.1 features several minor bug fixes, and various new + Version 1.0.1 features several minor bug fixes, and various new translations.

- You can now crop or expand the canvas to a size based on the current - selection size, using new actions available in the selection menus. + By popular demand, the "highlighter" tool is now enabled by default, + and the message dialog to warn you about the release notes is less + intrusive.

- A bug, where the "crop" tool could erase the image under certain - conditions, has been fixed. + The main improvement in this update is the zoom workflow: since the + version 1.0.0 it's possible to zoom in very deep, but the process was + very slow, and the view didn't stay well centered around the mouse + pointer; and once at 2000%%, scrolling up or down, or left or right, + was quite violent. + These problems should all have disappeared in this new version!

- In the preferences window, there is now an option to select if you - prefer the dark theme variant. + Incorrect command line parsing when using the app outside of a + flatpak sandbox has also been fixed.

- Several options have been added, to the "calligraphic nib" brush, the - "eraser" tool, and the "pencil". + For users on elementary OS, a small issue concerning window resizing + has been mended too.

- +

- With Drawing 0.8.0, you can finally use a tablet and a stylus to draw - with pressure-sensitive tools, such as the new 'brush' and 'airbrush'. + Version 1.0.0 improves rendering performance, which is visible when + editing large images with a poor CPU.

- The fullscreen mode has been completely redesigned to provide an - easier yet less intrusive access to the tools and their options. + You can now use the new "skew" tool, to tilt an image from a rectangle + to a parallelogram. Such a deformation can be applied horizontally or + vertically.

- Filters have been rewritten to be more reliable, and a new filter to - harmoniously increase contrast has been added. + You can select tools with keyboard accelerators (Alt+letter). This may + not work yet with languages using a non-latin alphabet.

- When you move or delete the selection, now the pixels left behind can - optionally be a specific color, rather than always transparency. - This specific color can be excluded from the selection. That feature - is complex to explain with words, try it yourself you'll see. + Zooming very deep is now possible, and the rendering will be very + crisp, even at 2000%%.

- Options such as the text background type and the shape filling style - are now persisted when closing the application. + Pressing "ctrl" will display the cursor coordinates in a tooltip. If + you do it while using a tool, it may display additional data, for + example the dimensions of the shape you're drawing!

- The user interface for selecting the active color application mode has - been rewritten to better show the accurate label, and better organize - the possible modes as submenus. + Pressing "shift", or "alt" when using a tool enables specific options, + such as locking the direction for the "line" tool, or changing the + filling style of a shape.

- The "blur" mode has been removed, which simplified the situation and - allowed several tools ("shapes" and "brushes") to get support for the - color application modes in general. + Using the "scale" tool, you may optionally set the new size as a + relative percentage rather than an absolute value in pixels.

@@ -181,7 +116,7 @@ - https://raw.githubusercontent.com/maoschanz/drawing/master/docs/screenshots/0.8/gnome_menu.png + https://raw.githubusercontent.com/maoschanz/drawing/master/docs/screenshots/1.0/gnome_menu.png @@ -190,7 +125,7 @@ - https://raw.githubusercontent.com/maoschanz/drawing/master/docs/screenshots/0.8/gnome_selection.png + https://raw.githubusercontent.com/maoschanz/drawing/master/docs/screenshots/1.0/gnome_selection.png @@ -199,7 +134,7 @@ - https://raw.githubusercontent.com/maoschanz/drawing/master/docs/screenshots/0.8/gnome_tools_preview.png + https://raw.githubusercontent.com/maoschanz/drawing/master/docs/screenshots/1.0/gnome_tools_preview.png @@ -208,7 +143,7 @@ - https://raw.githubusercontent.com/maoschanz/drawing/master/docs/screenshots/0.8/gnome_new.png + https://raw.githubusercontent.com/maoschanz/drawing/master/docs/screenshots/1.0/gnome_new.png diff -Nru drawing-0.8.5/data/com.github.maoschanz.drawing.gschema.xml drawing-1.0.1/data/com.github.maoschanz.drawing.gschema.xml --- drawing-0.8.5/data/com.github.maoschanz.drawing.gschema.xml 2021-12-04 20:33:44.000000000 +0000 +++ drawing-1.0.1/data/com.github.maoschanz.drawing.gschema.xml 2022-04-10 14:04:17.000000000 +0000 @@ -25,10 +25,10 @@ true Use ctrl to zoom. - User can zoom with scrolling or ctrl+scrolling. + The user can zoom by scrolling or ctrl+scrolling. - ['brush', 'highlight', 'color_select', 'points', 'picker', 'paint'] + ['brush', 'color_select', 'points', 'picker', 'paint'] Optional tools to disable A list of optional tools' id to disable. diff -Nru drawing-0.8.5/data/meson.build drawing-1.0.1/data/meson.build --- drawing-0.8.5/data/meson.build 2021-12-04 20:33:44.000000000 +0000 +++ drawing-1.0.1/data/meson.build 2022-04-10 14:04:17.000000000 +0000 @@ -15,7 +15,7 @@ else install_data( app_uuid + '.desktop.in', - install_rename: app_uuid + '.desktop', + rename: app_uuid + '.desktop', install_dir: desktop_files_dir ) desktop_file = desktop_files_dir / app_uuid + '.desktop' diff -Nru drawing-0.8.5/debian/changelog drawing-1.0.1/debian/changelog --- drawing-0.8.5/debian/changelog 2022-02-14 18:42:52.000000000 +0000 +++ drawing-1.0.1/debian/changelog 2022-08-23 16:19:18.000000000 +0000 @@ -1,3 +1,15 @@ +drawing (1.0.1-0ubuntu1) kinetic; urgency=medium + + * New upstream release + - add patch to resolve mismatched outlined gsettings + 0001-wrong-default-option-for-text-background-521.patch + * Packaging Changes + d/control - update maintainership and VCS fields + d/copyright - update to reflect new release, year bump + and updated ubuntu-based package maintainer + + -- David Mohammed Tue, 23 Aug 2022 17:19:18 +0100 + drawing (0.8.5-2) unstable; urgency=medium * Add missing build dependency on itstool (Closes: #1005612). diff -Nru drawing-0.8.5/debian/control drawing-1.0.1/debian/control --- drawing-0.8.5/debian/control 2022-02-14 18:42:52.000000000 +0000 +++ drawing-1.0.1/debian/control 2022-08-23 16:19:18.000000000 +0000 @@ -1,7 +1,8 @@ Source: drawing Section: graphics Priority: optional -Maintainer: Andrej Shadura +Maintainer: David Mohammed +XSBC-Original-Maintainer: Andrej Shadura Build-Depends: debhelper-compat (= 13), dh-sequence-single-binary, @@ -19,8 +20,8 @@ jq Standards-Version: 4.6.0 Rules-Requires-Root: no -Vcs-Git: https://salsa.debian.org/debian/drawing.git -Vcs-Browser: https://salsa.debian.org/debian/drawing +Vcs-Git: https://github.com/ubuntubudgie/drawing.git +Vcs-Browser: https://github.com/ubuntubudgie/drawing Homepage: https://maoschanz.github.io/drawing/ Package: drawing diff -Nru drawing-0.8.5/debian/copyright drawing-1.0.1/debian/copyright --- drawing-0.8.5/debian/copyright 2022-02-14 18:42:52.000000000 +0000 +++ drawing-1.0.1/debian/copyright 2022-08-23 16:19:18.000000000 +0000 @@ -4,35 +4,32 @@ Source: https://github.com/maoschanz/drawing Files: * -Copyright: 2018-2021 Romain F. T. +Copyright: 2018-2022 Romain F. T. License: GPL-3+ +Files: help/C/* +Copyright: 2018-2022 Romain F. T. +License: CC-BY-SA-3.0 + Files: data/icons/* help/C/figures/icon.png Copyright: GNOME Design Team License: CC-BY-SA-4.0 -Files: src/gi_composites.py -Copyright: 2015 Dustin Spicuzza -License: LGPL-2.1+ - Files: data/icons/hicolor/scalable/apps/com.github.maoschanz.drawing-symbolic.svg data/icons/meson.build data/*.in data/*.xml -Copyright: 2018-2021 Romain F. T. +Copyright: 2018-2022 Romain F. T. License: CC0 On Debian systems, the full text of the Creative Commons Zero 1.0 Universal license can be found in the file '/usr/share/common-licenses/CC0-1.0'. -Files: help/C/* -Copyright: 2018-2021 Romain F. T. -License: CC-BY-SA-3.0 - Files: debian/* Copyright: 2019—2021 Andrej Shadura + Copyright: 2022 David Mohammed License: GPL-3+ License: LGPL-2.1+ diff -Nru drawing-0.8.5/debian/patches/0001-wrong-default-option-for-text-background-521.patch drawing-1.0.1/debian/patches/0001-wrong-default-option-for-text-background-521.patch --- drawing-0.8.5/debian/patches/0001-wrong-default-option-for-text-background-521.patch 1970-01-01 00:00:00.000000000 +0000 +++ drawing-1.0.1/debian/patches/0001-wrong-default-option-for-text-background-521.patch 2022-08-23 16:19:18.000000000 +0000 @@ -0,0 +1,102 @@ +Forwarded: https://github.com/maoschanz/drawing/commit/c63b496232540dbce5da1b5e872c1a3968bb3825 +Author: "Romain F. T" +Last-Update: 2022-05-06 +Description: [PATCH] wrong default option for text background (#521) + +--- + data/com.github.maoschanz.drawing.gschema.xml | 2 +- + src/tools/classic_tools/tool_shape.py | 52 +++++++++++-------- + 2 files changed, 30 insertions(+), 24 deletions(-) + +diff --git a/data/com.github.maoschanz.drawing.gschema.xml b/data/com.github.maoschanz.drawing.gschema.xml +index 70eac4ff..d662c412 100644 +--- a/data/com.github.maoschanz.drawing.gschema.xml ++++ b/data/com.github.maoschanz.drawing.gschema.xml +@@ -171,7 +171,7 @@ + tool, saved when closing a window. + + +- 'outline' ++ 'thin-outline' + Text insertion background style + The name of the last active background style, from the "text" + tool, saved when closing a window. +diff --git a/src/tools/classic_tools/tool_shape.py b/src/tools/classic_tools/tool_shape.py +index 755b7cbd..83648d8d 100644 +--- a/src/tools/classic_tools/tool_shape.py ++++ b/src/tools/classic_tools/tool_shape.py +@@ -22,6 +22,32 @@ from .utilities_paths import utilities_smooth_path + class ToolShape(AbstractClassicTool): + __gtype_name__ = 'ToolShape' + ++ SHAPE_TYPES = { ++ 'rectangle': _("Rectangle"), ++ 'roundedrect': _("Rounded rectangle"), ++ 'oval': _("Oval"), ++ 'circle': _("Circle"), ++ 'polygon': _("Polygon"), ++ 'freeshape': _("Free shape"), ++ } ++ ++ OUTLINE_TYPES = { ++ 'solid': _("Solid outline"), ++ 'dashed': _("Dashed outline"), ++ 'none': _("No outline"), ++ } ++ ++ FILLING_TYPES = { ++ 'empty': _("Empty shape"), ++ # Context: fill a shape with the color of the left click ++ 'filled': _("Filled with main color"), ++ # Context: fill a shape with the color of the right click ++ 'secondary': _("Filled with secondary color"), ++ 'h-gradient': _("Horizontal gradient"), ++ 'v-gradient': _("Vertical gradient"), ++ 'r-gradient': _("Radial gradient"), ++ } ++ + def __init__(self, window, **kwargs): + super().__init__('shape', _("Shape"), 'tool-freeshape-symbolic', window) + self.use_operator = True +@@ -86,35 +112,15 @@ class ToolShape(AbstractClassicTool): + + def get_editing_tips(self): + self._set_active_shape() +- shape_name = { +- 'rectangle': _("Rectangle"), +- 'roundedrect': _("Rounded rectangle"), +- 'oval': _("Oval"), +- 'circle': _("Circle"), +- 'polygon': _("Polygon"), +- 'freeshape': _("Free shape"), +- }[self._shape_id] ++ shape_name = self.SHAPE_TYPES[self._shape_id] + + label_options = shape_name + self._set_filling_style() + self._set_outline_style() + if self._outline_id != 'solid': +- label_options += " - " + { +- 'solid': _("Solid outline"), +- 'dashed': _("Dashed outline"), +- 'none': _("No outline"), +- }[self._outline_id] ++ label_options += " - " + self.OUTLINE_TYPES[self._outline_id] + if self._filling_id != 'empty': +- label_options += " - " + { +- 'empty': _("Empty shape"), +- # Context: fill a shape with the color of the left click +- 'filled': _("Filled with main color"), +- # Context: fill a shape with the color of the right click +- 'secondary': _("Filled with secondary color"), +- 'h-gradient': _("Horizontal gradient"), +- 'v-gradient': _("Vertical gradient"), +- 'r-gradient': _("Radial gradient"), +- }[self._filling_id] ++ label_options += " - " + self.FILLING_TYPES[self._filling_id] + + if (self._shape_id == 'polygon' or self._shape_id == 'freeshape') and \ + self._path is not None: +-- +2.34.1 + diff -Nru drawing-0.8.5/debian/patches/series drawing-1.0.1/debian/patches/series --- drawing-0.8.5/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ drawing-1.0.1/debian/patches/series 2022-08-23 16:19:18.000000000 +0000 @@ -0,0 +1 @@ +0001-wrong-default-option-for-text-background-521.patch diff -Nru drawing-0.8.5/deb_package.sh drawing-1.0.1/deb_package.sh --- drawing-0.8.5/deb_package.sh 2021-12-04 20:33:44.000000000 +0000 +++ drawing-1.0.1/deb_package.sh 1970-01-01 00:00:00.000000000 +0000 @@ -1,59 +0,0 @@ -#!/bin/bash - -DISTRO="unstable" # this script is for local use, distros manage this themselves -PACKAGE_NAME="drawing" # XXX ask it as an input maybe? -VERSION="0.8.3" - -function separator () { - echo "" - echo "---------------------------------------------------------------------" - echo "" -} - -echo "targeted distribution: $DISTRO" -echo "package name: $PACKAGE_NAME" -echo "package version: $VERSION" -echo "" -echo "Is it correct? [Return/^C]" -read confirmation -separator - -# remember current directory (theorically, the project's root) to bring the -# package here in the end -previous_dir=`pwd` - -# set up the stupidly specific structure required by debian scripts -DIR_NAME=$PACKAGE_NAME'-'$VERSION -FILE_NAME=$PACKAGE_NAME'_'$VERSION -DIR_PATH=/tmp/building-dir -mkdir -p $DIR_PATH/$DIR_NAME/ -cp -r build-aux $DIR_PATH/$DIR_NAME/ -cp -r data $DIR_PATH/$DIR_NAME/ -cp -r debian $DIR_PATH/$DIR_NAME/ -cp -r help $DIR_PATH/$DIR_NAME/ -cp -r po $DIR_PATH/$DIR_NAME/ -cp -r src $DIR_PATH/$DIR_NAME/ -cp meson.build $DIR_PATH/$DIR_NAME/ -cp meson_options.txt $DIR_PATH/$DIR_NAME/ -cd $DIR_PATH/ -tar -Jcvf $FILE_NAME.orig.tar.xz $DIR_NAME -cd $DIR_PATH/$DIR_NAME/ -separator - -# automatic creation of additional files for the build process -dh_make -i -y -separator - -# actually building the package -dpkg-buildpackage -i -us -uc -b -separator - -# get the package in /tmp and move it where the user is -cp $DIR_PATH/*.deb $previous_dir - -# cleaning -ls $DIR_PATH -ls $DIR_PATH/$DIR_NAME -rm -r $DIR_PATH -cd $previous_dir - diff -Nru drawing-0.8.5/docs/example.css drawing-1.0.1/docs/example.css --- drawing-0.8.5/docs/example.css 2021-12-04 20:33:44.000000000 +0000 +++ drawing-1.0.1/docs/example.css 2022-04-10 14:04:17.000000000 +0000 @@ -7,10 +7,19 @@ header h1 { color: white; } -header a, header a:hover, -footer a, footer a:hover { +.nav-item { color: white; font-weight: bold; + padding: 8px 12px; + border: 2px solid white; + border-radius: 24px; +} +.nav-item.primary-nav-item { + background-color: rgba(255,0,0,0.5) ; +} +.nav-item:hover { + background-color: white; + color: black; } .header-icon { float:right; @@ -29,6 +38,7 @@ } h2 { font-size: 24px; + padding-top: 8px; } h2::before { padding-right: 8px; @@ -81,10 +91,10 @@ width: 90%; max-width: 350px; } -.description { +.description p, p.description { font-size: 18px; font-weight: bold; - padding-bottom: 20px; + padding-bottom: 16px; } /* Style classes to get collapsable columns */ diff -Nru drawing-0.8.5/docs/gallery.html drawing-1.0.1/docs/gallery.html --- drawing-0.8.5/docs/gallery.html 2021-12-04 20:33:44.000000000 +0000 +++ drawing-1.0.1/docs/gallery.html 2022-04-10 14:04:17.000000000 +0000 @@ -1,8 +1,11 @@ + Drawing - screenshots gallery + @@ -13,18 +16,17 @@
-
+

Screenshots gallery


@@ -45,26 +47,26 @@
screenshot -

The primary menu opened (version 0.8.0)

+ src="screenshots/1.0/gnome_menu.png" /> +

The primary menu opened (version 1.0.0)

screenshot -

The "selection" tool and its menu (version 0.8.0)

+ src="screenshots/1.0/gnome_selection.png" /> +

The "selection" tool and its menu (version 1.0.0)

screenshot -

The "new image" menu opened while the canvas is being scaled up (version 0.8.1)

+ src="screenshots/1.0/gnome_new.png" /> +

The "new image" menu opened while the canvas is being scaled up (version 1.0.0)

screenshot -

The thumbnail preview, showing various shapes (version 0.8.1)

+ src="screenshots/1.0/gnome_tools_preview.png" /> +

The thumbnail preview, showing various shapes (version 1.0.0)

@@ -89,8 +91,8 @@
screenshot -

Add text to a picture (version 0.4.1)

+ src="screenshots/1.0/gnome_text.png" /> +

Add text to a picture (version 1.0.0)

@@ -152,15 +154,15 @@
screenshot + src="screenshots/1.0/librem_menu.png" />

When features can't fit in the headerbar, they are available from - the primary menu (version 0.6.0)

+ the primary menu (version 1.0.0)

screenshot + src="screenshots/1.0/librem_options.png" />

Pencil options menu in a window resized to fit a Librem 5 screen. - (version 0.4.7)

+ (version 1.0.0)

@@ -171,14 +173,13 @@ diff -Nru drawing-0.8.5/docs/index.html drawing-1.0.1/docs/index.html --- drawing-0.8.5/docs/index.html 2021-12-04 20:33:44.000000000 +0000 +++ drawing-1.0.1/docs/index.html 2022-04-10 14:04:17.000000000 +0000 @@ -1,8 +1,11 @@ + Drawing - an alternative to Paint for Linux + @@ -13,18 +16,17 @@

Drawing

-

A simple drawing application for Linux.

+

Simple image editor for Linux


@@ -37,56 +39,59 @@
-
+
-
- -

- This application is a free basic image editor, similar to Microsoft - Paint, but aiming at the GNOME desktop. +

+

+ This free basic raster + image editor + is similar to Microsoft Paint, but aiming at the + GNOME desktop.

PNG, JPEG and BMP files are supported.

-

- - Drawing is a 'GNOME Circle' app! - -

- + + Drawing is a 'GNOME Circle' app! +

screenshot + src="screenshots/1.0/gnome_menu.png" + itemprop="screenshot" />

+

+ The app works on any GNU-Linux + system regardless of the desktop environment: + more traditional design user interfaces are available too, as well as an + elementaryOS layout. The app should also be compatible with GNU-Linux + smartphones. +

+ +
- screenshot + screenshot
- screenshot + screenshot
- screenshot + screenshot
-

- More traditional design user interfaces are available too, as well as an - elementaryOS layout. The app should also be compatible with GNU-Linux - smartphones. For more screenshots, see the - gallery. +

+ For more screenshots, see the gallery.

Installation

@@ -106,20 +111,23 @@

The recommended way to install the most recent version of - Drawing is to use flatpak:

+ Drawing is to use flatpak: +

- - Install it from Flathub -

(version 0.8.1)

+ + Install it from Flathub +

(version 1.0.1)

-

Permissions required: ipc/x11/wayland

+

+ Permissions required: + ipc/x11/wayland +

@@ -145,15 +153,14 @@ @@ -171,7 +178,86 @@

What's new

- New features in version 0.8.1 + New features in version 1.0.1 +
    +
  • enable the highlighter by default
  • +
  • less intrusive "what's new" message dialog
  • +
  • non-linear zooming speed profile (to zoom faster when using extreme values)
  • +
  • slower scrolling speed to have a better precision with higher zoom levels
  • +
  • require itstool as a dependency even though it's some useless bloat
  • +
  • fix the adaptivity of the elementaryOS layout
  • +
  • better keep the image centered on the mouse pointer when changing the zoom
  • +
  • avoid —again— insane attempts to open the binary as an image
  • +
+
+ +
+ New features in version 1.0.0 +
    +
  • enable tools with "alt+letter" mnemonics
  • +
  • larger sidebar items, where the selected tool is easier to see
  • +
  • new "skew" tool
  • +
  • enable or disable specific tools options with the [shift] or [alt] keyboard modifiers
  • +
  • show more numerous, more dynamic, more contextual help tips as the window's subtitle
  • +
  • display cursor coordinates and other related data when pressing the [ctrl] keyboard modifier
  • +
  • dynamically change the label of the "options" submenu in the menu-bar, to increase its discoverability
  • +
  • scale tool option to set the size in percentage
  • +
  • suggest to "apply & save" when trying to save while an operation is unapplied
  • +
  • highlighter option to straighten the line, so it better follows the underlying text
  • +
  • improvements to the "points" tool's numbers readability
  • +
  • suggest to "apply & deselect" when trying to save while the selection is active
  • +
  • more precise tools for tiny modifications required by pixel-art
  • +
  • display pixels sharply when zooming deeper than 400%
  • +
  • hide information messages after 4 seconds if they're not that useful
  • +
  • disable the 'reload image from the disk' action if the image has never been saved
  • +
  • new 'reset the canvas' action (ctrl+backspace)
  • +
  • warn the user if they're opening an already opened image
  • +
  • suggest to reload the picture if it has changed on the disk
  • +
  • artificially limited framerate to avoid overloading the CPU
  • +
  • menu item and action to change the theme variant preference
  • +
  • toggle the menubar with ctrl+f2
  • +
  • update the user help manual
  • +
  • shorter appdata summary, to comply with guidelines
  • +
  • update several translations
  • +
+
+ +
+ New features in versions 0.8.0 to 0.8.5 + +

Drawing 0.8.5:

+
    +
  • text tool option for a thicker outline
  • +
  • visual feedback when the user moves the minimap preview
  • +
+ +

Drawing 0.8.4:

+
    +
  • option to disable anti-aliasing with the text tool
  • +
  • if "undo" is pressed several times in a short period, recompute only once
  • +
  • disable the 'reload image from the disk' action if it has never been saved
  • +
+ +

Drawing 0.8.3:

+
    +
  • draw a wider outline to the free selection when the image is zoomed out
  • +
  • don't try to open the app binary as an image when running outside of a flatpak sandbox
  • +
  • fix incorrectly huge height of the selection after rotating it
  • +
+ +

Drawing 0.8.2:

+
    +
  • refactoring of the optionsbars (bottom panes) of the transform tools
  • +
  • add a "lock line orientation" option to the line tool
  • +
  • fix shift+f10 action when using a selection tool on mobile
  • +
  • add an outline to the canvas, so its limit are always understandable
  • +
  • fix the `-c` option when using Wayland
  • +
  • lock image proportions by default when scaling with the numerical inputs
  • +
  • fix an unexpected way the "crop" tool could expand the selection
  • +
  • preview correctly the areas created by a transform tool before applying a change
  • +
  • fix when the app starts with a transform tool, and this tool is immediately used and applied
  • +
  • compatibility with older distributions (Ubuntu 18.04 LTS)
  • +

Drawing 0.8.1:

    @@ -186,10 +272,6 @@
  • better looking outline for the "insert text" tool
  • install files in /usr instead of /usr/local
-
- -
- New features in version 0.8.0

Drawing 0.8.0:

    @@ -216,7 +298,7 @@
- New features in version 0.6.0 to 0.6.5 + New features in versions 0.6.0 to 0.6.5

Drawing 0.6.5:

    @@ -296,7 +378,7 @@

    Tools

    -
    +

    Tools to draw:

    @@ -349,56 +431,65 @@
-

(last update of this list: version 0.6.5)

+

(last update of this list: version 0.8.4

Available languages

-
    -
  • Basque
  • -
  • Brazilian portuguese
  • -
  • Castillan
  • -
  • Croatian
  • -
  • Chinese (simplified)
  • -
  • Chinese (traditional)
  • -
  • Danish
  • -
  • Dutch
  • -
  • English
  • -
  • Finnish
  • -
  • French
  • -
  • German
  • -
  • Hebrew
  • -
  • Hungarian
  • -
  • Italian
  • -
  • Japanese
  • -
  • Korean
  • -
  • Polish
  • -
  • Russian
  • -
  • Swedish
  • -
  • Turkish
  • -
-

- Credits for these translations are available - - here and in the app's "about" dialog. -

+
+
+
    +
  • Basque
  • +
  • Brazilian portuguese
  • +
  • Castillan
  • +
  • Croatian
  • +
  • Chinese (simplified)
  • +
  • Chinese (traditional)
  • +
  • Czech
  • +
  • Danish
  • +
  • Dutch
  • +
  • English
  • +
  • Finnish
  • +
  • French
  • +
  • German
  • +
  • Hebrew
  • +
  • Hungarian
  • +
  • Italian
  • +
  • Japanese
  • +
  • Korean
  • +
  • Polish
  • +
  • Russian
  • +
  • Swedish
  • +
  • Turkish
  • +
+
+
+

+ Credits for these translations are available + + here and in the app's "about" dialog. +

+

+ If the translation in your language is missing or incomplete, your + contribution is welcome! +

+
+
-