|
@@ -1,22 +1,22 @@
|
|
|
name: lazpaint
|
|
|
title: LazPaint
|
|
|
-version: '7.2.2'
|
|
|
+version: '7.3.0'
|
|
|
summary: Image editor with raster and vector layers.
|
|
|
description: |
|
|
|
Free cross-platform image editor with raster and vector layers, written in Lazarus (Free Pascal).
|
|
|
Can read layered files (lzp, ora, pdn, oXo, flat psd), multi-images (gif, ico, tiff), flat files (bmp, jpeg, pcx, png, tga, webp, xpm, xwd), raw images (dng, cr2, nef, arw...), vectorial (svg), 3D (obj). Has drawing tools, vector shapes, phong shading, curve adjustments, filters, render some textures, Python scripting. Uses Qt5 widgetset.
|
|
|
-
|
|
|
+
|
|
|
**Features**
|
|
|
* Files: read and write a variety of file formats, including layered bitmaps and 3D files.
|
|
|
* Tools: many tools are available to draw on the layers.
|
|
|
* Edit/Select: select parts of an image with antialiasing and modify the selection as a mask.
|
|
|
* View: color window, layer stack window and toolbox window.
|
|
|
* Command line: call LazPaint from a console.
|
|
|
-
|
|
|
+
|
|
|
**Image manipulation**
|
|
|
* An image can be resampled, flipped horizontally and vertically.
|
|
|
* Smart zoom x3 : resize the image x3 and detects borders; this provides a useful zoom with ancient games sprites.
|
|
|
-
|
|
|
+
|
|
|
**Color manipulation**
|
|
|
* Colorize : set the color of an image while preserving intensities
|
|
|
* Shift colors : cycle colors and change colorness (saturation)
|
|
@@ -26,7 +26,7 @@ description: |
|
|
|
* Negative : invert colors (with gamma correction)
|
|
|
* Linear negative : invert colors (without gamma correction)
|
|
|
* Grayscale : converts colors to grayscale with gamma correction
|
|
|
-
|
|
|
+
|
|
|
**Filters**
|
|
|
Filters can be applied to the whole image or to the active selection.
|
|
|
* Radial blur : non directional blur
|
|
@@ -40,9 +40,9 @@ description: |
|
|
|
* Sphere : spherical projection
|
|
|
* Cylinder : cylinder projection
|
|
|
* Clouds : add clouds of the current pen color
|
|
|
- * Scripts: scripts are provided to do layer effects. You can as well write your own Python scripts.
|
|
|
+ * Scripts: scripts are provided to do layer effects. You can as well write your own Python scripts.
|
|
|
confinement: strict
|
|
|
-base: core20
|
|
|
+base: core24
|
|
|
grade: stable
|
|
|
icon: "resources/icon/64x64.png"
|
|
|
license: NLPL
|
|
@@ -52,15 +52,47 @@ parts:
|
|
|
plugin: nil
|
|
|
source: .
|
|
|
source-type: local
|
|
|
- build-packages:
|
|
|
+ build-packages:
|
|
|
- wget
|
|
|
- libgtk2.0-dev
|
|
|
override-build: |
|
|
|
- wget -nc https://downloads.sourceforge.net/project/lazarus/Lazarus%20Linux%20amd64%20DEB/Lazarus%202.2.2/lazarus-project_2.2.2-0_amd64.deb
|
|
|
- wget -nc https://downloads.sourceforge.net/project/lazarus/Lazarus%20Linux%20amd64%20DEB/Lazarus%202.2.2/fpc-laz_3.2.2-210709_amd64.deb
|
|
|
- wget -nc https://downloads.sourceforge.net/project/lazarus/Lazarus%20Linux%20amd64%20DEB/Lazarus%202.2.2/fpc-src_3.2.2-210709_amd64.deb
|
|
|
- apt install ./lazarus-project_2.2.2-0_amd64.deb ./fpc-laz_3.2.2-210709_amd64.deb ./fpc-src_3.2.2-210709_amd64.deb
|
|
|
+ wget -nc https://downloads.sourceforge.net/project/lazarus/Lazarus%20Linux%20amd64%20DEB/Lazarus%204.0/lazarus-project_4.0.0-0_amd64.deb
|
|
|
+ wget -nc https://downloads.sourceforge.net/project/lazarus/Lazarus%20Linux%20amd64%20DEB/Lazarus%204.0/fpc-laz_3.2.2-210709_amd64.deb
|
|
|
+ wget -nc https://downloads.sourceforge.net/project/lazarus/Lazarus%20Linux%20amd64%20DEB/Lazarus%204.0/fpc-src_3.2.2-210709_amd64.deb
|
|
|
+ apt install ./lazarus-project_4.0.0-0_amd64.deb ./fpc-laz_3.2.2-210709_amd64.deb ./fpc-src_3.2.2-210709_amd64.deb
|
|
|
prime: [-*]
|
|
|
+ bgrabitmap:
|
|
|
+ plugin: nil
|
|
|
+ source: use/bgrabitmap
|
|
|
+ source-type: local
|
|
|
+ override-build: |
|
|
|
+ snapcraftctl build
|
|
|
+ cd bgrabitmap
|
|
|
+ lazbuild --build-mode=Release bgrabitmappack.lpk
|
|
|
+ after:
|
|
|
+ - lazarus
|
|
|
+ - desktop-gtk2
|
|
|
+ bgracontrols:
|
|
|
+ plugin: nil
|
|
|
+ source: use/bgracontrols
|
|
|
+ source-type: local
|
|
|
+ override-build: |
|
|
|
+ snapcraftctl build
|
|
|
+ lazbuild --build-mode=Release bgracontrols.lpk
|
|
|
+ after:
|
|
|
+ - lazarus
|
|
|
+ - desktop-gtk2
|
|
|
+ lazpaintcontrols:
|
|
|
+ plugin: nil
|
|
|
+ source: .
|
|
|
+ source-type: local
|
|
|
+ override-build: |
|
|
|
+ snapcraftctl build
|
|
|
+ cd lazpaintcontrols
|
|
|
+ lazbuild --build-mode=Release lazpaintcontrols.lpk
|
|
|
+ after:
|
|
|
+ - lazarus
|
|
|
+ - desktop-gtk2
|
|
|
lazpaint:
|
|
|
plugin: nil
|
|
|
source: .
|
|
@@ -80,10 +112,13 @@ parts:
|
|
|
install -m 755 ../resources/icon/64x64.png $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps/lazpaint.png
|
|
|
cp -r ../resources/scripts $SNAPCRAFT_PART_INSTALL/usr/share/lazpaint
|
|
|
install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/mime/packages
|
|
|
- install -m 755 ../Install/snap/local/lazpaint.xml $SNAPCRAFT_PART_INSTALL/usr/share/mime/packages
|
|
|
+ install -m 755 ../packaging/common/lazpaint.xml $SNAPCRAFT_PART_INSTALL/usr/share/mime/packages
|
|
|
after:
|
|
|
- lazarus
|
|
|
- desktop-gtk2
|
|
|
+ - bgrabitmap
|
|
|
+ - bgracontrols
|
|
|
+ - lazpaintcontrols
|
|
|
stage:
|
|
|
- etc
|
|
|
- usr
|
|
@@ -134,11 +169,11 @@ parts:
|
|
|
- libgtk2.0-dev
|
|
|
stage-packages:
|
|
|
- libxkbcommon0 # XKB_CONFIG_ROOT
|
|
|
- - ttf-ubuntu-font-family
|
|
|
+ #- ttf-ubuntu-font-family
|
|
|
- dmz-cursor-theme
|
|
|
- light-themes
|
|
|
- adwaita-icon-theme
|
|
|
- - gnome-themes-standard
|
|
|
+ #- gnome-themes-standard
|
|
|
- shared-mime-info
|
|
|
- libgtk2.0-0
|
|
|
- libgdk-pixbuf2.0-0
|
|
@@ -146,13 +181,13 @@ parts:
|
|
|
- libgtk2.0-bin
|
|
|
- unity-gtk2-module
|
|
|
- locales-all
|
|
|
- - libappindicator1
|
|
|
+ #- libappindicator1
|
|
|
- xdg-user-dirs
|
|
|
- ibus-gtk
|
|
|
- libibus-1.0-5
|
|
|
-
|
|
|
+
|
|
|
# Additional plugs to pick up the GTK theme and icons from the system
|
|
|
-plugs:
|
|
|
+plugs:
|
|
|
icon-themes:
|
|
|
interface: content
|
|
|
target: $SNAP/data-dir/icons
|
|
@@ -173,13 +208,13 @@ plugs:
|
|
|
environment:
|
|
|
XDG_DATA_DIRS: $SNAP/usr/share:$XDG_DATA_DIRS
|
|
|
GTK_PATH: $SNAP/lib/gtk-2.0
|
|
|
-
|
|
|
+
|
|
|
apps:
|
|
|
lazpaint:
|
|
|
command: usr/bin/lazpaint
|
|
|
command-chain:
|
|
|
- bin/desktop-launch
|
|
|
- desktop: usr/share/applications/lazpaint.desktop
|
|
|
+ desktop: usr/share/applications/lazpaint.desktop
|
|
|
plugs:
|
|
|
- desktop
|
|
|
- x11
|