2
0
Эх сурвалжийг харах

fixing structure of deb package

Johann 5 жил өмнө
parent
commit
a6f30ae0a9

+ 1 - 3
lazpaint.logic

@@ -5,9 +5,7 @@ const lazpainttype.pas LazPaintVersion
 text release/windows/lazpaint.iss "#define MyAppVersion ""$(Version)"""
 text release/windows/lazpaint.iss "#define MyAppVersion ""$(Version)"""
 text release/debian/linux32/DEBIAN/control "Version: $(Version)"
 text release/debian/linux32/DEBIAN/control "Version: $(Version)"
 text release/debian/linux64/DEBIAN/control "Version: $(Version)"
 text release/debian/linux64/DEBIAN/control "Version: $(Version)"
-echo "Don't forget to UPDATE changelog file"
-copy release/changelog release/debian/linux32/DEBIAN/changelog
-copy release/changelog release/debian/linux64/DEBIAN/changelog
+echo "DON'T FORGET TO UPDATE release/debian/changelog"
 text release/macOS/makedmg.sh "appversion=$(Version)"
 text release/macOS/makedmg.sh "appversion=$(Version)"
 bundle release/macOS/LazPaint.app
 bundle release/macOS/LazPaint.app
 copy ../resources/icon/lazpaint.icns release/macOS/LazPaint.app/Contents/Resources/lazpaint.icns
 copy ../resources/icon/lazpaint.icns release/macOS/LazPaint.app/Contents/Resources/lazpaint.icns

+ 2 - 2
lazpaint/release/debian/linux32/usr/share/applications/lazpaint.desktop → lazpaint/release/debian/applications/lazpaint.desktop

@@ -3,9 +3,9 @@ Encoding=UTF-8
 Name=LazPaint
 Name=LazPaint
 Name[fr]=LazPaint
 Name[fr]=LazPaint
 Comment=LazPaint
 Comment=LazPaint
-¢omment[fr]=LazPaint
+Comment[fr]=LazPaint
 Icon=/usr/share/pixmaps/lazpaint.png
 Icon=/usr/share/pixmaps/lazpaint.png
-Exec=/usr/share/lazpaint/lazpaint
+Exec=/usr/bin/lazpaint
 Terminal=false
 Terminal=false
 Type=Application
 Type=Application
 Categories=Graphics
 Categories=Graphics

+ 153 - 153
lazpaint/release/changelog → lazpaint/release/debian/changelog

@@ -1,112 +1,68 @@
-lazpaint (6.4.1) stable; urgency=low
-
-  * added brush tool and clone tool
-  * added palette toolbar
-  * docking of toolbox
-  * choice of quality when saving PNG/JPG/BMP files
-  * rain rendering
-  * improved 3d object importation (texture, vertex normals)
-
--- circular <[email protected]>  Sat, 4 Jul 2015 10:29:00 +0100
-
-lazpaint (7.0.1) unstable; urgency=low
-
-  * support for ICO/CUR, GIF frames, SVG, TIFF Lab, LRS and RES containers
-  * improve drawing tool (transformations of shapes)
-  * added zoom layer tool and non-destructive layer transform
-
--- circular <[email protected]>  Fri, 5 Jul 2019 12:49:00 +0100
-
-lazpaint (7.0.2) unstable; urgency=low
-
-  * bug fixes with tools and undo
-  * better drive detection
-  * improvements on layer stack interface
-  * layers can be rasterized and their bounds are shown when transforming them
-  * text tool stable word warp, unicode arabic ligatures and non-spacing marks
-  * polyline/curve tool is now vectorial
-  * faster rendering in draft mode (when editing)
-
--- circular <[email protected]>  Sat, 27 Jul 2019 22:23:00 +0100
-
-lazpaint (7.0.3) unstable; urgency=low
-
-  * (Tools) edit shape tool
-  * copy/paste shape
-  * align shape horizontally/vertically
-  * bring shape to front/send to back
-  * shape count limit
-  * rotation lock on 90 degrees unless Shift is pressed
-  * add wave displacement filter
-  * add aliased mode for eraser
-  * (Interface) selection pen shortcut changed to "O" letter key
-  * fix update on move image
-  * minor toolbar adjustments
-  * less space used by upper toolbar, nicer comboboxes
-  * faster draft gradient rendering
-  * dark theme option
-  * fix undo/redo with originals
-  * (Optimize) optimize selection rendering
-  * less memory usage by selection
-  * update highlight when rotating
-
--- circular <[email protected]>  Sat, 17 Aug 2019 12:16:00 +0100
-
-lazpaint (7.0.4) unstable; urgency=low
+lazpaint (7.1.3) stable; urgency=low
 
 
-  * adjusting font size for windows
-  * fix screen update on move image
-  * duplicate vector original
+  * clipboard: fix pasting image in 24-bit with transparent color
+  * selection mask: Fix undo of complex selection mask
+  * text tool: better handling of character groups
+  * curve tool: assign line cap, fix bounds for square cap
+  * interface: fix context menu on fill controls
+  * translation: update Czech translation
 
 
--- circular <[email protected]>  Sun, 18 Aug 2019 22:07:00 +0100
+ -- circular <[email protected]>  Thu, 14 May 2020 11:28:00 +0100
 
 
-lazpaint (7.0.5) stable; urgency=low
+lazpaint (7.1.2) stable; urgency=low
 
 
-  * added convert shape to curve
-  * adjust pixel-centered coordinates
-  * shortcuts for colorpicker is "C", for curve move point "Z", for curve insert point "I" as well of Insert
-  * dutch translation
-  * filling of workarea with maximum zoom
-  * paste vector shape on empty layer
-  * alignment of vector shapes to pixels with CTRL
-  * return key to finish polygon shape
-  * reset counter of popups on "forget dialogs"
-  * fix TIFF loading error on some systems
+  * installer: add scripts on Windows
+  * installer: add new extensions on Windows (oXo, cur, jpeg, tif, tga, webp, xpm)
+  * rendering: phong shape undo
+  * rendering: vector layer with selection and transform
+  * rendering: add font kerning for text shape
+  * file browser: load thumbnails in separate thread to prevent freeze
+  * file browser: generate less file extensions to avoid slowdown
+  * crash fixes: skip when matrix transform is invalid
+  * crash fixes: catch tablet initialization error
 
 
--- circular <[email protected]>  Sun, 24 Aug 2019 11:46:00 +0100
+ -- circular <[email protected]>  Fri, 24 Apr 2020 14:19:00 +0100
 
 
-lazpaint (7.0.6) stable; urgency=low
+lazpaint (7.1) stable; urgency=low
 
 
-  * fix merge bitmap layer
-  * fix mouse scroll on MacOS
-  * clipboard image format with transparency
-  * allow undo when creating shape
-  * fix texture panel
-  * merging empty layer simply deletes it
-  * fix layer offset after undoing merge layer
+  * tool: fix update of pen style from shape
+  * interface: fix file extension mask when opening image browser
+  * interface: fix selection of file after changing folder
+  * interface: show progress when changing canvas size
+  * interface: show popup when downsampling opened big image
+  * interface: fix update of popup on Windows
+  * interface: allow to select outside color circle of color window
+  * interface: added shortcuts / and * to shrink and use original zoom
 
 
--- circular <[email protected]>  Wed, 11 Sep 2019 18:20:00 +0100
+ -- circular <[email protected]>  Fri, 10 Apr 2020 12:07:00 +0100
 
 
-lazpaint (7.0.7) stable; urgency=low
+lazpaint (7.0.9) unstable; urgency=low
 
 
-  * polygon: clicking first point closes the polygon, holding Shift while inserting new point will align it on segment
-  * rectangular shape: right-clicking on border will rotate/shear the shape as with Alt key  * clipboard image format with transparency
-  * merging vector layers will make a vector layer if possible
-  * merging a vector with a raster layer will convert the latter to a vector shape
-  * transform texture when modifying rectangular shape
-  * select vector shape even if clicking a bit aside
-  * allow Space key when editing text object
-  * update contextual toolbar when selecting shape with edit shape tool
-  * context menu of toolbar in the upper toolbar background
-  * handling case when saving current file that has been renamed/deleted
-  * faster saving of layers with vectors
-  * fix bug with undo of deleted vector layer
-  * fix transform when copying shapes between layers
-  * fix crop layer with layer offset
-  * clear layer when deleting it in shape editor
-  * duplicate entry in GIF or TIFF
+  * interface: less flickering during action progress
+  * interface: minor scaling improvements
+  * interface: ensure toolwindows in front when restoring app
+  * interface: dark theme for status bar
+  * interface: add Donate tool button
+  * interface: add Python download button if missing
+  * interface: separate color for background and outline
+  * interface: don't undock windows when going fullscreen
+  * interface: fix remember save file extension
+  * translation: added Latvian
+  * translation: completed Kabyle and Bulgarian
+  * tool: fix updating transparent colors
+  * tool: fix release of middle mouse button
+  * tool: optimize layer transform
+  * tool: added font aliasing option
+  * tool: replace layer by gradient if it is opaque
+  * tool: floodfill using vector if possible
+  * tool: fix gradient undo/redo
+  * tool: multiselection of shapes
+  * tool: fix text editor handling of keys
+  * script: sort in menus
+  * script: added inner shadow/light
+  * script: added version function
 
 
--- circular <[email protected]>  Wed, 10 Oct 2019 17:37:00 +0100
+ -- circular <[email protected]>  Fri, 3 Apr 2020 12:40:00 +0100
 
 
 lazpaint (7.0.8) unstable; urgency=low
 lazpaint (7.0.8) unstable; urgency=low
 
 
@@ -143,71 +99,115 @@ lazpaint (7.0.8) unstable; urgency=low
   * fixes for image browser
   * fixes for image browser
   * command line: parenthesis optional to make it Linux-friendly 
   * command line: parenthesis optional to make it Linux-friendly 
 
 
--- circular <[email protected]>  Fri, 6 Mar 2020 18:32:00 +0100
+ -- circular <[email protected]>  Fri, 6 Mar 2020 18:32:00 +0100
 
 
-lazpaint (7.0.9) unstable; urgency=low
+lazpaint (7.0.7) stable; urgency=low
 
 
-  * interface: less flickering during action progress
-  * interface: minor scaling improvements
-  * interface: ensure toolwindows in front when restoring app
-  * interface: dark theme for status bar
-  * interface: add Donate tool button
-  * interface: add Python download button if missing
-  * interface: separate color for background and outline
-  * interface: don't undock windows when going fullscreen
-  * interface: fix remember save file extension
-  * translation: added Latvian
-  * translation: completed Kabyle and Bulgarian
-  * tool: fix updating transparent colors
-  * tool: fix release of middle mouse button
-  * tool: optimize layer transform
-  * tool: added font aliasing option
-  * tool: replace layer by gradient if it is opaque
-  * tool: floodfill using vector if possible
-  * tool: fix gradient undo/redo
-  * tool: multiselection of shapes
-  * tool: fix text editor handling of keys
-  * script: sort in menus
-  * script: added inner shadow/light
-  * script: added version function
+  * polygon: clicking first point closes the polygon, holding Shift while inserting new point will align it on segment
+  * rectangular shape: right-clicking on border will rotate/shear the shape as with Alt key  * clipboard image format with transparency
+  * merging vector layers will make a vector layer if possible
+  * merging a vector with a raster layer will convert the latter to a vector shape
+  * transform texture when modifying rectangular shape
+  * select vector shape even if clicking a bit aside
+  * allow Space key when editing text object
+  * update contextual toolbar when selecting shape with edit shape tool
+  * context menu of toolbar in the upper toolbar background
+  * handling case when saving current file that has been renamed/deleted
+  * faster saving of layers with vectors
+  * fix bug with undo of deleted vector layer
+  * fix transform when copying shapes between layers
+  * fix crop layer with layer offset
+  * clear layer when deleting it in shape editor
+  * duplicate entry in GIF or TIFF
 
 
--- circular <[email protected]>  Fri, 3 Apr 2020 12:40:00 +0100
+ -- circular <[email protected]>  Wed, 10 Oct 2019 17:37:00 +0100
 
 
-lazpaint (7.1) stable; urgency=low
+lazpaint (7.0.6) stable; urgency=low
 
 
-  * tool: fix update of pen style from shape
-  * interface: fix file extension mask when opening image browser
-  * interface: fix selection of file after changing folder
-  * interface: show progress when changing canvas size
-  * interface: show popup when downsampling opened big image
-  * interface: fix update of popup on Windows
-  * interface: allow to select outside color circle of color window
-  * interface: added shortcuts / and * to shrink and use original zoom
+  * fix merge bitmap layer
+  * fix mouse scroll on MacOS
+  * clipboard image format with transparency
+  * allow undo when creating shape
+  * fix texture panel
+  * merging empty layer simply deletes it
+  * fix layer offset after undoing merge layer
 
 
--- circular <[email protected]>  Fri, 10 Apr 2020 12:07:00 +0100
+ -- circular <[email protected]>  Wed, 11 Sep 2019 18:20:00 +0100
 
 
-lazpaint (7.1.2) stable; urgency=low
+lazpaint (7.0.5) stable; urgency=low
 
 
-  * installer: add scripts on Windows
-  * installer: add new extensions on Windows (oXo, cur, jpeg, tif, tga, webp, xpm)
-  * rendering: phong shape undo
-  * rendering: vector layer with selection and transform
-  * rendering: add font kerning for text shape
-  * file browser: load thumbnails in separate thread to prevent freeze
-  * file browser: generate less file extensions to avoid slowdown
-  * crash fixes: skip when matrix transform is invalid
-  * crash fixes: catch tablet initialization error
+  * added convert shape to curve
+  * adjust pixel-centered coordinates
+  * shortcuts for colorpicker is "C", for curve move point "Z", for curve insert point "I" as well of Insert
+  * dutch translation
+  * filling of workarea with maximum zoom
+  * paste vector shape on empty layer
+  * alignment of vector shapes to pixels with CTRL
+  * return key to finish polygon shape
+  * reset counter of popups on "forget dialogs"
+  * fix TIFF loading error on some systems
 
 
--- circular <[email protected]>  Fri, 24 Apr 2020 14:19:00 +0100
+ -- circular <[email protected]>  Sun, 24 Aug 2019 11:46:00 +0100
 
 
-lazpaint (7.1.3) stable; urgency=low
+lazpaint (7.0.4) unstable; urgency=low
 
 
-  * clipboard: fix pasting image in 24-bit with transparent color
-  * selection mask: Fix undo of complex selection mask
-  * text tool: better handling of character groups
-  * curve tool: assign line cap, fix bounds for square cap
-  * interface: fix context menu on fill controls
-  * translation: update Czech translation
+  * adjusting font size for windows
+  * fix screen update on move image
+  * duplicate vector original
+
+ -- circular <[email protected]>  Sun, 18 Aug 2019 22:07:00 +0100
+
+lazpaint (7.0.3) unstable; urgency=low
+
+  * (Tools) edit shape tool
+  * copy/paste shape
+  * align shape horizontally/vertically
+  * bring shape to front/send to back
+  * shape count limit
+  * rotation lock on 90 degrees unless Shift is pressed
+  * add wave displacement filter
+  * add aliased mode for eraser
+  * (Interface) selection pen shortcut changed to "O" letter key
+  * fix update on move image
+  * minor toolbar adjustments
+  * less space used by upper toolbar, nicer comboboxes
+  * faster draft gradient rendering
+  * dark theme option
+  * fix undo/redo with originals
+  * (Optimize) optimize selection rendering
+  * less memory usage by selection
+  * update highlight when rotating
+
+ -- circular <[email protected]>  Sat, 17 Aug 2019 12:16:00 +0100
+
+lazpaint (7.0.2) unstable; urgency=low
+
+  * bug fixes with tools and undo
+  * better drive detection
+  * improvements on layer stack interface
+  * layers can be rasterized and their bounds are shown when transforming them
+  * text tool stable word warp, unicode arabic ligatures and non-spacing marks
+  * polyline/curve tool is now vectorial
+  * faster rendering in draft mode (when editing)
+
+ -- circular <[email protected]>  Sat, 27 Jul 2019 22:23:00 +0100
+
+lazpaint (7.0.1) unstable; urgency=low
+
+  * support for ICO/CUR, GIF frames, SVG, TIFF Lab, LRS and RES containers
+  * improve drawing tool (transformations of shapes)
+  * added zoom layer tool and non-destructive layer transform
+
+ -- circular <[email protected]>  Fri, 5 Jul 2019 12:49:00 +0100
+
+lazpaint (6.4.1) stable; urgency=low
+
+  * added brush tool and clone tool
+  * added palette toolbar
+  * docking of toolbox
+  * choice of quality when saving PNG/JPG/BMP files
+  * rain rendering
+  * improved 3d object importation (texture, vertex normals)
 
 
--- circular <[email protected]>  Thu, 14 May 2020 11:28:00 +0100
+ -- circular <[email protected]>  Sat, 4 Jul 2015 10:29:00 +0100
 
 

+ 0 - 0
lazpaint/release/debian/linux32/DEBIAN/copyright → lazpaint/release/debian/copyright


+ 0 - 213
lazpaint/release/debian/linux32/DEBIAN/changelog

@@ -1,213 +0,0 @@
-lazpaint (6.4.1) stable; urgency=low
-
-  * added brush tool and clone tool
-  * added palette toolbar
-  * docking of toolbox
-  * choice of quality when saving PNG/JPG/BMP files
-  * rain rendering
-  * improved 3d object importation (texture, vertex normals)
-
--- circular <[email protected]>  Sat, 4 Jul 2015 10:29:00 +0100
-
-lazpaint (7.0.1) unstable; urgency=low
-
-  * support for ICO/CUR, GIF frames, SVG, TIFF Lab, LRS and RES containers
-  * improve drawing tool (transformations of shapes)
-  * added zoom layer tool and non-destructive layer transform
-
--- circular <[email protected]>  Fri, 5 Jul 2019 12:49:00 +0100
-
-lazpaint (7.0.2) unstable; urgency=low
-
-  * bug fixes with tools and undo
-  * better drive detection
-  * improvements on layer stack interface
-  * layers can be rasterized and their bounds are shown when transforming them
-  * text tool stable word warp, unicode arabic ligatures and non-spacing marks
-  * polyline/curve tool is now vectorial
-  * faster rendering in draft mode (when editing)
-
--- circular <[email protected]>  Sat, 27 Jul 2019 22:23:00 +0100
-
-lazpaint (7.0.3) unstable; urgency=low
-
-  * (Tools) edit shape tool
-  * copy/paste shape
-  * align shape horizontally/vertically
-  * bring shape to front/send to back
-  * shape count limit
-  * rotation lock on 90 degrees unless Shift is pressed
-  * add wave displacement filter
-  * add aliased mode for eraser
-  * (Interface) selection pen shortcut changed to "O" letter key
-  * fix update on move image
-  * minor toolbar adjustments
-  * less space used by upper toolbar, nicer comboboxes
-  * faster draft gradient rendering
-  * dark theme option
-  * fix undo/redo with originals
-  * (Optimize) optimize selection rendering
-  * less memory usage by selection
-  * update highlight when rotating
-
--- circular <[email protected]>  Sat, 17 Aug 2019 12:16:00 +0100
-
-lazpaint (7.0.4) unstable; urgency=low
-
-  * adjusting font size for windows
-  * fix screen update on move image
-  * duplicate vector original
-
--- circular <[email protected]>  Sun, 18 Aug 2019 22:07:00 +0100
-
-lazpaint (7.0.5) stable; urgency=low
-
-  * added convert shape to curve
-  * adjust pixel-centered coordinates
-  * shortcuts for colorpicker is "C", for curve move point "Z", for curve insert point "I" as well of Insert
-  * dutch translation
-  * filling of workarea with maximum zoom
-  * paste vector shape on empty layer
-  * alignment of vector shapes to pixels with CTRL
-  * return key to finish polygon shape
-  * reset counter of popups on "forget dialogs"
-  * fix TIFF loading error on some systems
-
--- circular <[email protected]>  Sun, 24 Aug 2019 11:46:00 +0100
-
-lazpaint (7.0.6) stable; urgency=low
-
-  * fix merge bitmap layer
-  * fix mouse scroll on MacOS
-  * clipboard image format with transparency
-  * allow undo when creating shape
-  * fix texture panel
-  * merging empty layer simply deletes it
-  * fix layer offset after undoing merge layer
-
--- circular <[email protected]>  Wed, 11 Sep 2019 18:20:00 +0100
-
-lazpaint (7.0.7) stable; urgency=low
-
-  * polygon: clicking first point closes the polygon, holding Shift while inserting new point will align it on segment
-  * rectangular shape: right-clicking on border will rotate/shear the shape as with Alt key  * clipboard image format with transparency
-  * merging vector layers will make a vector layer if possible
-  * merging a vector with a raster layer will convert the latter to a vector shape
-  * transform texture when modifying rectangular shape
-  * select vector shape even if clicking a bit aside
-  * allow Space key when editing text object
-  * update contextual toolbar when selecting shape with edit shape tool
-  * context menu of toolbar in the upper toolbar background
-  * handling case when saving current file that has been renamed/deleted
-  * faster saving of layers with vectors
-  * fix bug with undo of deleted vector layer
-  * fix transform when copying shapes between layers
-  * fix crop layer with layer offset
-  * clear layer when deleting it in shape editor
-  * duplicate entry in GIF or TIFF
-
--- circular <[email protected]>  Wed, 10 Oct 2019 17:37:00 +0100
-
-lazpaint (7.0.8) unstable; urgency=low
-
-  * rendering optimizations to reduce slowdown with big images
-  * read support for Portable Any Map (PBM, PGM, PPM)
-  * read/write support for WebP images using libwebp
-  * read support for RAW images using dcraw
-  * fix loading PDN images
-  * show progress of loading/saving/actions on layered images
-  * scripting in Python
-  * scripts provided: color overlay, drop shadow, split/merge channels...
-  * vectorial tools: gradient and texture fill for vectorial shapes
-  * paste vector shapes within visible bounds
-  * tools: align to pixels when image is not zoomed
-  * tools: grouping of items in toolbar
-  * added polyline and opened curve tool
-  * pen tool: SHIFT click to retrieve color, ALT+wheel to change width
-  * selection pen tool: add antialiasing option
-  * color picker: SHIFT click to retrieve color of flattened image
-  * eraser tool: added lighten, darken and sharpen modes
-  * floodfill tool: makes vector original on an empty layer
-  * edit shape tool: show shape information
-  * polygon tool: highlight hovered point, arrows to move points
-  * palette: indicate last added color in palette
-  * palette: fix scroll bug
-  * color window resizable
-  * color and layer windows dockable to main window
-  * adjust more windows to system DPI
-  * adjust curves: show source histograms
-  * filter function: optimize, add Lab colorspace, add min/max/avg
-  * blend operations: add Saturation (HSL) and Mask blend operation
-  * added Kabyle language
-  * updated Swedish translation
-  * fixes for image browser
-  * command line: parenthesis optional to make it Linux-friendly 
-
--- circular <[email protected]>  Fri, 6 Mar 2020 18:32:00 +0100
-
-lazpaint (7.0.9) unstable; urgency=low
-
-  * interface: less flickering during action progress
-  * interface: minor scaling improvements
-  * interface: ensure toolwindows in front when restoring app
-  * interface: dark theme for status bar
-  * interface: add Donate tool button
-  * interface: add Python download button if missing
-  * interface: separate color for background and outline
-  * interface: don't undock windows when going fullscreen
-  * interface: fix remember save file extension
-  * translation: added Latvian
-  * translation: completed Kabyle and Bulgarian
-  * tool: fix updating transparent colors
-  * tool: fix release of middle mouse button
-  * tool: optimize layer transform
-  * tool: added font aliasing option
-  * tool: replace layer by gradient if it is opaque
-  * tool: floodfill using vector if possible
-  * tool: fix gradient undo/redo
-  * tool: multiselection of shapes
-  * tool: fix text editor handling of keys
-  * script: sort in menus
-  * script: added inner shadow/light
-  * script: added version function
-
--- circular <[email protected]>  Fri, 3 Apr 2020 12:40:00 +0100
-
-lazpaint (7.1) stable; urgency=low
-
-  * tool: fix update of pen style from shape
-  * interface: fix file extension mask when opening image browser
-  * interface: fix selection of file after changing folder
-  * interface: show progress when changing canvas size
-  * interface: show popup when downsampling opened big image
-  * interface: fix update of popup on Windows
-  * interface: allow to select outside color circle of color window
-  * interface: added shortcuts / and * to shrink and use original zoom
-
--- circular <[email protected]>  Fri, 10 Apr 2020 12:07:00 +0100
-
-lazpaint (7.1.2) stable; urgency=low
-
-  * installer: add scripts on Windows
-  * installer: add new extensions on Windows (oXo, cur, jpeg, tif, tga, webp, xpm)
-  * rendering: phong shape undo
-  * rendering: vector layer with selection and transform
-  * rendering: add font kerning for text shape
-  * file browser: load thumbnails in separate thread to prevent freeze
-  * file browser: generate less file extensions to avoid slowdown
-  * crash fixes: skip when matrix transform is invalid
-  * crash fixes: catch tablet initialization error
-
--- circular <[email protected]>  Fri, 24 Apr 2020 14:19:00 +0100
-
-lazpaint (7.1.3) stable; urgency=low
-
-  * clipboard: fix pasting image in 24-bit with transparent color
-  * selection mask: Fix undo of complex selection mask
-  * text tool: better handling of character groups
-  * curve tool: assign line cap, fix bounds for square cap
-  * interface: fix context menu on fill controls
-  * translation: update Czech translation
-
--- circular <[email protected]>  Thu, 14 May 2020 11:28:00 +0100
-

+ 0 - 12
lazpaint/release/debian/linux32/DEBIAN/control

@@ -1,12 +0,0 @@
-Package: lazpaint
-Version: 7.1.3
-Section: base
-Priority: optional
-Architecture: i386
-Depends: 
-Maintainer: circular <[email protected]>
-Homepage: https://wiki.freepascal.org/LazPaint
-Description: LazPaint
- Graphics viewer and editor.
- Can read layered files (lzp, ora, pdn, oXo), multi-images (gif, ico, tiff), flat files (bmp, jpeg, pcx, png, tga, xpm, xwd), vectorial (svg), 3D (obj)
- Has drawing tools, phong shading, curve adjustments, filters and render some textures.

+ 13 - 0
lazpaint/release/debian/linux32/debian/control

@@ -0,0 +1,13 @@
+Package: lazpaint
+Version: 7.1.3
+Section: graphics
+Priority: optional
+Architecture: i386
+Depends: 
+Maintainer: circular <[email protected]>
+Homepage: https://wiki.freepascal.org/LazPaint
+Description: Graphics viewer and editor. 
+ Can read layered files (lzp, ora, pdn, oXo), multi-images (gif, ico, tiff), 
+ flat files (bmp, jpeg, pcx, png, tga, xpm, xwd), vectorial (svg), 3D (obj).
+ Has drawing tools, phong shading, curve adjustments,
+ filters and render some textures.

+ 0 - 6
lazpaint/release/debian/linux32/usr/bin/lazpaint

@@ -1,6 +0,0 @@
-#!/bin/bash
-# launcher for lazpaint by Bruno 2015-06-04
-
-cd /usr/share/lazpaint
-
-./lazpaint "$@"

+ 0 - 0
lazpaint/release/debian/linux32/usr/share/lazpaint/delete.me


BIN
lazpaint/release/debian/linux32/usr/share/pixmaps/lazpaint.png


+ 0 - 213
lazpaint/release/debian/linux64/DEBIAN/changelog

@@ -1,213 +0,0 @@
-lazpaint (6.4.1) stable; urgency=low
-
-  * added brush tool and clone tool
-  * added palette toolbar
-  * docking of toolbox
-  * choice of quality when saving PNG/JPG/BMP files
-  * rain rendering
-  * improved 3d object importation (texture, vertex normals)
-
--- circular <[email protected]>  Sat, 4 Jul 2015 10:29:00 +0100
-
-lazpaint (7.0.1) unstable; urgency=low
-
-  * support for ICO/CUR, GIF frames, SVG, TIFF Lab, LRS and RES containers
-  * improve drawing tool (transformations of shapes)
-  * added zoom layer tool and non-destructive layer transform
-
--- circular <[email protected]>  Fri, 5 Jul 2019 12:49:00 +0100
-
-lazpaint (7.0.2) unstable; urgency=low
-
-  * bug fixes with tools and undo
-  * better drive detection
-  * improvements on layer stack interface
-  * layers can be rasterized and their bounds are shown when transforming them
-  * text tool stable word warp, unicode arabic ligatures and non-spacing marks
-  * polyline/curve tool is now vectorial
-  * faster rendering in draft mode (when editing)
-
--- circular <[email protected]>  Sat, 27 Jul 2019 22:23:00 +0100
-
-lazpaint (7.0.3) unstable; urgency=low
-
-  * (Tools) edit shape tool
-  * copy/paste shape
-  * align shape horizontally/vertically
-  * bring shape to front/send to back
-  * shape count limit
-  * rotation lock on 90 degrees unless Shift is pressed
-  * add wave displacement filter
-  * add aliased mode for eraser
-  * (Interface) selection pen shortcut changed to "O" letter key
-  * fix update on move image
-  * minor toolbar adjustments
-  * less space used by upper toolbar, nicer comboboxes
-  * faster draft gradient rendering
-  * dark theme option
-  * fix undo/redo with originals
-  * (Optimize) optimize selection rendering
-  * less memory usage by selection
-  * update highlight when rotating
-
--- circular <[email protected]>  Sat, 17 Aug 2019 12:16:00 +0100
-
-lazpaint (7.0.4) unstable; urgency=low
-
-  * adjusting font size for windows
-  * fix screen update on move image
-  * duplicate vector original
-
--- circular <[email protected]>  Sun, 18 Aug 2019 22:07:00 +0100
-
-lazpaint (7.0.5) stable; urgency=low
-
-  * added convert shape to curve
-  * adjust pixel-centered coordinates
-  * shortcuts for colorpicker is "C", for curve move point "Z", for curve insert point "I" as well of Insert
-  * dutch translation
-  * filling of workarea with maximum zoom
-  * paste vector shape on empty layer
-  * alignment of vector shapes to pixels with CTRL
-  * return key to finish polygon shape
-  * reset counter of popups on "forget dialogs"
-  * fix TIFF loading error on some systems
-
--- circular <[email protected]>  Sun, 24 Aug 2019 11:46:00 +0100
-
-lazpaint (7.0.6) stable; urgency=low
-
-  * fix merge bitmap layer
-  * fix mouse scroll on MacOS
-  * clipboard image format with transparency
-  * allow undo when creating shape
-  * fix texture panel
-  * merging empty layer simply deletes it
-  * fix layer offset after undoing merge layer
-
--- circular <[email protected]>  Wed, 11 Sep 2019 18:20:00 +0100
-
-lazpaint (7.0.7) stable; urgency=low
-
-  * polygon: clicking first point closes the polygon, holding Shift while inserting new point will align it on segment
-  * rectangular shape: right-clicking on border will rotate/shear the shape as with Alt key  * clipboard image format with transparency
-  * merging vector layers will make a vector layer if possible
-  * merging a vector with a raster layer will convert the latter to a vector shape
-  * transform texture when modifying rectangular shape
-  * select vector shape even if clicking a bit aside
-  * allow Space key when editing text object
-  * update contextual toolbar when selecting shape with edit shape tool
-  * context menu of toolbar in the upper toolbar background
-  * handling case when saving current file that has been renamed/deleted
-  * faster saving of layers with vectors
-  * fix bug with undo of deleted vector layer
-  * fix transform when copying shapes between layers
-  * fix crop layer with layer offset
-  * clear layer when deleting it in shape editor
-  * duplicate entry in GIF or TIFF
-
--- circular <[email protected]>  Wed, 10 Oct 2019 17:37:00 +0100
-
-lazpaint (7.0.8) unstable; urgency=low
-
-  * rendering optimizations to reduce slowdown with big images
-  * read support for Portable Any Map (PBM, PGM, PPM)
-  * read/write support for WebP images using libwebp
-  * read support for RAW images using dcraw
-  * fix loading PDN images
-  * show progress of loading/saving/actions on layered images
-  * scripting in Python
-  * scripts provided: color overlay, drop shadow, split/merge channels...
-  * vectorial tools: gradient and texture fill for vectorial shapes
-  * paste vector shapes within visible bounds
-  * tools: align to pixels when image is not zoomed
-  * tools: grouping of items in toolbar
-  * added polyline and opened curve tool
-  * pen tool: SHIFT click to retrieve color, ALT+wheel to change width
-  * selection pen tool: add antialiasing option
-  * color picker: SHIFT click to retrieve color of flattened image
-  * eraser tool: added lighten, darken and sharpen modes
-  * floodfill tool: makes vector original on an empty layer
-  * edit shape tool: show shape information
-  * polygon tool: highlight hovered point, arrows to move points
-  * palette: indicate last added color in palette
-  * palette: fix scroll bug
-  * color window resizable
-  * color and layer windows dockable to main window
-  * adjust more windows to system DPI
-  * adjust curves: show source histograms
-  * filter function: optimize, add Lab colorspace, add min/max/avg
-  * blend operations: add Saturation (HSL) and Mask blend operation
-  * added Kabyle language
-  * updated Swedish translation
-  * fixes for image browser
-  * command line: parenthesis optional to make it Linux-friendly 
-
--- circular <[email protected]>  Fri, 6 Mar 2020 18:32:00 +0100
-
-lazpaint (7.0.9) unstable; urgency=low
-
-  * interface: less flickering during action progress
-  * interface: minor scaling improvements
-  * interface: ensure toolwindows in front when restoring app
-  * interface: dark theme for status bar
-  * interface: add Donate tool button
-  * interface: add Python download button if missing
-  * interface: separate color for background and outline
-  * interface: don't undock windows when going fullscreen
-  * interface: fix remember save file extension
-  * translation: added Latvian
-  * translation: completed Kabyle and Bulgarian
-  * tool: fix updating transparent colors
-  * tool: fix release of middle mouse button
-  * tool: optimize layer transform
-  * tool: added font aliasing option
-  * tool: replace layer by gradient if it is opaque
-  * tool: floodfill using vector if possible
-  * tool: fix gradient undo/redo
-  * tool: multiselection of shapes
-  * tool: fix text editor handling of keys
-  * script: sort in menus
-  * script: added inner shadow/light
-  * script: added version function
-
--- circular <[email protected]>  Fri, 3 Apr 2020 12:40:00 +0100
-
-lazpaint (7.1) stable; urgency=low
-
-  * tool: fix update of pen style from shape
-  * interface: fix file extension mask when opening image browser
-  * interface: fix selection of file after changing folder
-  * interface: show progress when changing canvas size
-  * interface: show popup when downsampling opened big image
-  * interface: fix update of popup on Windows
-  * interface: allow to select outside color circle of color window
-  * interface: added shortcuts / and * to shrink and use original zoom
-
--- circular <[email protected]>  Fri, 10 Apr 2020 12:07:00 +0100
-
-lazpaint (7.1.2) stable; urgency=low
-
-  * installer: add scripts on Windows
-  * installer: add new extensions on Windows (oXo, cur, jpeg, tif, tga, webp, xpm)
-  * rendering: phong shape undo
-  * rendering: vector layer with selection and transform
-  * rendering: add font kerning for text shape
-  * file browser: load thumbnails in separate thread to prevent freeze
-  * file browser: generate less file extensions to avoid slowdown
-  * crash fixes: skip when matrix transform is invalid
-  * crash fixes: catch tablet initialization error
-
--- circular <[email protected]>  Fri, 24 Apr 2020 14:19:00 +0100
-
-lazpaint (7.1.3) stable; urgency=low
-
-  * clipboard: fix pasting image in 24-bit with transparent color
-  * selection mask: Fix undo of complex selection mask
-  * text tool: better handling of character groups
-  * curve tool: assign line cap, fix bounds for square cap
-  * interface: fix context menu on fill controls
-  * translation: update Czech translation
-
--- circular <[email protected]>  Thu, 14 May 2020 11:28:00 +0100
-

+ 0 - 12
lazpaint/release/debian/linux64/DEBIAN/control

@@ -1,12 +0,0 @@
-Package: lazpaint
-Version: 7.1.3
-Section: base
-Priority: optional
-Architecture: amd64
-Depends: 
-Maintainer: circular <[email protected]>
-Homepage: https://wiki.freepascal.org/LazPaint
-Description: LazPaint
- Graphics viewer and editor.
- Can read layered files (lzp, ora, pdn, oXo), multi-images (gif, ico, tiff), flat files (bmp, jpeg, pcx, png, tga, xpm, xwd), vectorial (svg), 3D (obj)
- Has drawing tools, phong shading, curve adjustments, filters and render some textures.

+ 0 - 28
lazpaint/release/debian/linux64/DEBIAN/copyright

@@ -1,28 +0,0 @@
-Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
-Upstream-Name: lazpaint
-Upstream-Contact: circular <[email protected]>
-Source: https://github.com/bgrabitmap/lazpaint/releases
-
-Files: *
-Copyright: 2011-2019 circular <[email protected]>
-License: GPL-3+
-
-License: GPL-3+
- 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
- the Free Software Foundation; either version 3 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 General Public License for more details.
- .
- You should have received a copy of the GNU 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.
- .
- On Debian systems, the full text of the GNU General Public
- License version 3 can be found in the file
- '/usr/share/common-licenses/GPL-3'.
-

+ 13 - 0
lazpaint/release/debian/linux64/debian/control

@@ -0,0 +1,13 @@
+Package: lazpaint
+Version: 7.1.3
+Section: graphics
+Priority: optional
+Architecture: amd64
+Depends: 
+Maintainer: circular <[email protected]>
+Homepage: https://wiki.freepascal.org/LazPaint
+Description: Graphics viewer and editor. 
+ Can read layered files (lzp, ora, pdn, oXo), multi-images (gif, ico, tiff), 
+ flat files (bmp, jpeg, pcx, png, tga, xpm, xwd), vectorial (svg), 3D (obj).
+ Has drawing tools, phong shading, curve adjustments,
+ filters and render some textures.

+ 0 - 6
lazpaint/release/debian/linux64/usr/bin/lazpaint

@@ -1,6 +0,0 @@
-#!/bin/bash
-# launcher for lazpaint by Bruno 2015-06-04
-
-cd /usr/share/lazpaint
-
-./lazpaint "$@"

+ 0 - 12
lazpaint/release/debian/linux64/usr/share/applications/lazpaint.desktop

@@ -1,12 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-Name=LazPaint
-Name[fr]=LazPaint
-Comment=LazPaint
-¢omment[fr]=LazPaint
-Icon=/usr/share/pixmaps/lazpaint.png
-Exec=/usr/share/lazpaint/lazpaint
-Terminal=false
-Type=Application
-Categories=Graphics
-GenericName=LazPaint

+ 0 - 0
lazpaint/release/debian/linux64/usr/share/lazpaint/delete.me


+ 33 - 9
lazpaint/release/debian/makedeb.sh

@@ -1,7 +1,12 @@
 #!/bin/bash
 #!/bin/bash
 STAGING_DIR="./staging"
 STAGING_DIR="./staging"
-BIN_DIR="${STAGING_DIR}/usr/share/lazpaint"
-SCRIPT_DIR="${BIN_DIR}/scripts"
+USER_DIR="${STAGING_DIR}/usr"
+BIN_DIR="${STAGING_DIR}/usr/bin"
+SHARE_PARENT_DIR="${STAGING_DIR}/usr/share"
+SHARE_DIR="${STAGING_DIR}/usr/share/lazpaint"
+DOC_PARENT_DIR="${STAGING_DIR}/usr/share/doc"
+DOC_DIR="${STAGING_DIR}/usr/share/doc/lazpaint"
+SCRIPT_DIR="${SHARE_DIR}/scripts"
 SOURCE_SCRIPT_DIR="../../../scripts"
 SOURCE_SCRIPT_DIR="../../../scripts"
 SOURCE_BIN="../bin"
 SOURCE_BIN="../bin"
 
 
@@ -15,20 +20,37 @@ else
   cp -r linux32 "${STAGING_DIR}"
   cp -r linux32 "${STAGING_DIR}"
   TARGET_OS="linux32"
   TARGET_OS="linux32"
 fi
 fi
+mv "${STAGING_DIR}/debian" "${STAGING_DIR}/DEBIAN"
 
 
 VERSION="$(sed -n 's/^Version: //p' $STAGING_DIR/DEBIAN/control)"
 VERSION="$(sed -n 's/^Version: //p' $STAGING_DIR/DEBIAN/control)"
 echo Version is $VERSION
 echo Version is $VERSION
 PACKAGE_NAME="lazpaint${VERSION}_${TARGET_OS}"
 PACKAGE_NAME="lazpaint${VERSION}_${TARGET_OS}"
 
 
-rm "${BIN_DIR}/delete.me"
+mkdir "${USER_DIR}"
+
+mkdir "${BIN_DIR}" 
 cp "${SOURCE_BIN}/lazpaint" "${BIN_DIR}"
 cp "${SOURCE_BIN}/lazpaint" "${BIN_DIR}"
-cp "${SOURCE_BIN}/lazpaint_simplified.ini" "${BIN_DIR}"
-cp "${SOURCE_BIN}/readme.txt" "${BIN_DIR}"
 
 
-mkdir "${BIN_DIR}/i18n"
-find "${SOURCE_BIN}/i18n" -maxdepth 1 -name *.po -exec cp {} "${BIN_DIR}/i18n" \;
+mkdir "${SHARE_PARENT_DIR}"
+
+mkdir "${DOC_PARENT_DIR}"
+mkdir "${DOC_DIR}"
+gzip -9 -n -c changelog >"${DOC_DIR}/changelog.gz"
+cp copyright "${DOC_DIR}"
+
+cp -r applications "${SHARE_PARENT_DIR}"
+cp -r pixmaps "${SHARE_PARENT_DIR}"
+cp -r "man" "${SHARE_PARENT_DIR}" 
+gzip -9 -n "${SHARE_PARENT_DIR}/man/man1/lazpaint.1" 
 
 
-cp -r "${SOURCE_BIN}/models" "${BIN_DIR}/models"
+mkdir "${SHARE_DIR}"
+cp "${SOURCE_BIN}/lazpaint_simplified.ini" "${SHARE_DIR}"
+cp "${SOURCE_BIN}/readme.txt" "${SHARE_DIR}"
+
+mkdir "${SHARE_DIR}/i18n"
+find "${SOURCE_BIN}/i18n" -maxdepth 1 -name *.po -exec cp {} "${SHARE_DIR}/i18n" \;
+
+cp -r "${SOURCE_BIN}/models" "${SHARE_DIR}/models"
 
 
 mkdir "${SCRIPT_DIR}"
 mkdir "${SCRIPT_DIR}"
 find "${SOURCE_SCRIPT_DIR}" -maxdepth 1 -name *.py -exec cp {} "${SCRIPT_DIR}" \;
 find "${SOURCE_SCRIPT_DIR}" -maxdepth 1 -name *.py -exec cp {} "${SCRIPT_DIR}" \;
@@ -36,9 +58,11 @@ mkdir "${SCRIPT_DIR}/lazpaint"
 find "${SOURCE_SCRIPT_DIR}/lazpaint" -maxdepth 1 -name *.py -exec cp {} "${SCRIPT_DIR}/lazpaint" \;
 find "${SOURCE_SCRIPT_DIR}/lazpaint" -maxdepth 1 -name *.py -exec cp {} "${SCRIPT_DIR}/lazpaint" \;
 
 
 dpkg-deb --build "${STAGING_DIR}" "${PACKAGE_NAME}.deb"
 dpkg-deb --build "${STAGING_DIR}" "${PACKAGE_NAME}.deb"
+
 NO_INSTALL_ARCHIVE="${PACKAGE_NAME}_no_install.tar.gz"
 NO_INSTALL_ARCHIVE="${PACKAGE_NAME}_no_install.tar.gz"
 echo "Making ${NO_INSTALL_ARCHIVE}..."
 echo "Making ${NO_INSTALL_ARCHIVE}..."
-cd "$BIN_DIR"
+mv "${BIN_DIR}/lazpaint" "${SHARE_DIR}/lazpaint"
+cd "$SHARE_DIR"
 cd ..
 cd ..
 tar -czf "../../../${NO_INSTALL_ARCHIVE}" "lazpaint"
 tar -czf "../../../${NO_INSTALL_ARCHIVE}" "lazpaint"
 cd ../../..
 cd ../../..

+ 88 - 0
lazpaint/release/debian/man/man1/lazpaint.1

@@ -0,0 +1,88 @@
+.TH LazPaint 1 "18 May 2020" "" LazPaint
+.SH NAME
+LazPaint - Image editor
+.SH SYNOPSIS
+.B lazpaint
+[INPUT FILE] [OUTPUT FILE]
+.br
+.B lazpaint
+[INPUT FILE] [ACTION]... [OUTPUT FILE]
+.SH DESCRIPTION
+Graphics viewer and editor. 
+.PP
+Can read layered files (lzp, ora, pdn, oXo), multi-images (gif, ico, tiff), flat files (bmp, jpeg, pcx, png, tga, xpm, xwd), vectorial (svg), 3D (obj). Has drawing tools, phong shading, curve adjustments, filters and render some 
+textures.
+.SH OPTIONS
+If supplied, the INPUT FILE is loaded. If the OUTPUT FILE is supplied, the image is saved and the program ends. Otherwise, the GUI of the program is displayed.
+.PP
+.B -scriptbasedir
+DIRECTORY
+.RS
+set the directory where Python scripts for LazPaint are located.
+
+.RE
+.B -script
+FILENAME
+.RS
+runs the specified Python script. It must have a ".py" extension.
+.RE
+
+.B -new
+WIDTH,HEIGHT
+.RS
+creates an empty image of size WIDTH x HEIGHT.
+.RE
+
+.B -resample
+WIDTH,HEIGHT
+.RS
+resamples the image to the size WIDTH x HEIGHT.
+.RE
+
+.B -opacity
+ALPHA
+.RS
+applies the opacity to the image. ALPHA is between 0 and 255.
+.RE
+
+.B -gradient
+R1,G1,B1,A1,R2,G2,B2,A2,TYPE,X1,Y1,X2,Y2
+.RS
+renders a gradient from point X1,Y1 to point X2,Y2. TYPE can be linear, reflected, diamond, radial or angular. The starting color is (R1,G1,B1,A1) and final color is (R2,G2,B2,A2).
+.RE
+
+.B -horizontalflip
+.RS
+flips selection or image horizontally.
+.RE
+
+.B -verticalflip
+.RS
+flips selection or image vertically.
+.RE
+
+.B -swapredblue
+.RS
+swap red and blue channels.
+.RE
+
+.B -smartzoom3
+.RS
+resample the image 3 times bigger with smart detection of borders.
+.RE
+
+.B -rotatecw
+.RS
+rotates the image clockwise.
+.RE
+
+.B -rotateccw
+.RS
+rotates the image counter-clockwise.
+.RE
+
+.B -quit
+.RS
+quits the program even if no output file was provided. Can be useful when only running scripts.
+.RE
+

+ 0 - 0
lazpaint/release/debian/linux64/usr/share/pixmaps/lazpaint.png → lazpaint/release/debian/pixmaps/lazpaint.png


+ 16 - 0
lazpaint/utranslation.pas

@@ -53,6 +53,16 @@ begin
 end;
 end;
 {$endif}
 {$endif}
 
 
+{$ifdef Linux}
+function GetLinuxResourcesPath: string;
+var
+  binPath: String;
+begin
+  binPath := ExtractFilePath(Application.ExeName);
+  result := ExpandFileName(binPath+'..'+PathDelim+'share'+PathDelim+'lazpaint'+PathDelim);
+end;
+{$endif}
+
 function GetResourcePath(AResource: string): string;
 function GetResourcePath(AResource: string): string;
 begin
 begin
   {$IFDEF WINDOWS}
   {$IFDEF WINDOWS}
@@ -62,6 +72,12 @@ begin
     if DirectoryExists(GetDarwinResourcesPath+AResource) then
     if DirectoryExists(GetDarwinResourcesPath+AResource) then
       result := GetDarwinResourcesPath+AResource+PathDelim
       result := GetDarwinResourcesPath+AResource+PathDelim
     else
     else
+    {$ELSE}
+      {$IFDEF LINUX}
+      if DirectoryExists(GetLinuxResourcesPath+AResource) then
+        result := GetLinuxResourcesPath+AResource+PathDelim
+      else
+      {$ENDIF}
     {$ENDIF}
     {$ENDIF}
     result:=ExtractFilePath(Application.ExeName)+AResource+PathDelim;
     result:=ExtractFilePath(Application.ExeName)+AResource+PathDelim;
   {$ENDIF}
   {$ENDIF}