svn commit: r535209 - in head/graphics/lazpaint: . files
Jose Alonso Cardenas Marquez
acm at FreeBSD.org
Thu May 14 06:13:10 UTC 2020
Author: acm
Date: Thu May 14 06:13:08 2020
New Revision: 535209
URL: https://svnweb.freebsd.org/changeset/ports/535209
Log:
- Update to 7.1.2
- Add desktop entry
- Add hicolor icon
Deleted:
head/graphics/lazpaint/files/patch-lazpaint_lazpainttype.pas
Modified:
head/graphics/lazpaint/Makefile
head/graphics/lazpaint/distinfo
head/graphics/lazpaint/files/patch-lazpaint_utranslation.pas
head/graphics/lazpaint/pkg-plist
Modified: head/graphics/lazpaint/Makefile
==============================================================================
--- head/graphics/lazpaint/Makefile Thu May 14 06:10:47 2020 (r535208)
+++ head/graphics/lazpaint/Makefile Thu May 14 06:13:08 2020 (r535209)
@@ -1,9 +1,8 @@
# $FreeBSD$
PORTNAME= lazpaint
-PORTVERSION= 7.0.7
+PORTVERSION= 7.1.2
DISTVERSIONPREFIX= v
-PORTREVISION= 1
CATEGORIES= graphics
PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX}
@@ -15,7 +14,7 @@ LICENSE= GPLv3
gtk2_CONFLICTS_INSTALL= ${PORTNAME}-qt5
qt5_CONFLICTS_INSTALL= ${PORTNAME}-gtk2
-USES= dos2unix fpc gnome lazarus:flavors xorg
+USES= desktop-file-utils dos2unix fpc gnome lazarus:flavors xorg
USE_FPC= chm fcl-base fcl-image fcl-json fcl-net fcl-web fcl-xml \
opengl openssl pasjpeg rtl-extra rtl-objpas x11
USE_XORG= x11
@@ -23,14 +22,21 @@ DOS2UNIX_REGEX= .*\.([txt]|pas|lpi|txt)
USE_GITHUB= yes
GH_ACCOUNT= bgrabitmap
GH_PROJECT= lazpaint
-GH_TUPLE= bgrabitmap:bgracontrols:272a141:bgracontrols/bgracontrols \
- bgrabitmap:bgrabitmap:e709548:bgrabitmap/bgrabitmapnew
+GH_TUPLE= bgrabitmap:bgracontrols:a0a5a40:bgracontrols/bgracontrols \
+ bgrabitmap:bgrabitmap:1ea4cb9:bgrabitmap/bgrabitmapnew
USE_FPC_gtk2= cairo
USE_GNOME_gtk2= cairo
USE_FPC+= ${USE_FPC_${FLAVOR}}
USE_GNOME+= ${USE_GNOME_${FLAVOR}}
+DESKTOP_ENTRIES="LazPaint" \
+ "Image editor written in Lazarus" \
+ "lazpaint" \
+ "${PREFIX}/bin/lazpaint" \
+ "Graphics;" \
+ ${TRUE}
+
LAZARUS_PROJECT_FILES= bgrabitmapnew/bgrabitmap/bgrabitmappack.lpk
LAZARUS_PROJECT_FILES+= bgracontrols/bgracontrols.lpk
LAZARUS_PROJECT_FILES+= lazpaintcontrols/lazpaintcontrols.lpk
@@ -43,6 +49,8 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/lazpaint/release/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps
+ ${INSTALL_DATA} ${WRKSRC}/lazpaint/release/debian/linux32/usr/share/pixmaps/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png
@${MKDIR} ${STAGEDIR}${DATADIR}
cd ${WRKSRC}/lazpaint/release/bin && ${COPYTREE_SHARE} "i18n models" ${STAGEDIR}${DATADIR}
Modified: head/graphics/lazpaint/distinfo
==============================================================================
--- head/graphics/lazpaint/distinfo Thu May 14 06:10:47 2020 (r535208)
+++ head/graphics/lazpaint/distinfo Thu May 14 06:13:08 2020 (r535209)
@@ -1,7 +1,7 @@
-TIMESTAMP = 1577767927
-SHA256 (bgrabitmap-lazpaint-v7.0.7_GH0.tar.gz) = 11aa845762ea4ad34c244479fd457bd44c11d64189811e610d37dad6779e5d07
-SIZE (bgrabitmap-lazpaint-v7.0.7_GH0.tar.gz) = 28897384
-SHA256 (bgrabitmap-bgracontrols-272a141_GH0.tar.gz) = 0e2ab6392df4f95ba267b60715d71baf0b0bd5144ad48c16396431754b05fbb1
-SIZE (bgrabitmap-bgracontrols-272a141_GH0.tar.gz) = 5553048
-SHA256 (bgrabitmap-bgrabitmap-e709548_GH0.tar.gz) = a18fb1abbc5a4dd5f57b8c6913c4d80a2767fd6944faf39bafc78f84fbf67747
-SIZE (bgrabitmap-bgrabitmap-e709548_GH0.tar.gz) = 6159285
+TIMESTAMP = 1589406976
+SHA256 (bgrabitmap-lazpaint-v7.1.2_GH0.tar.gz) = 5c49642ce60d0c4fd9028fc6089b2459776d4de159c08bbce76230822802e456
+SIZE (bgrabitmap-lazpaint-v7.1.2_GH0.tar.gz) = 30506649
+SHA256 (bgrabitmap-bgracontrols-a0a5a40_GH0.tar.gz) = dbcafcc1cf56be70a88985e2f0cbc8aa5511eec6091fdec71cd743359c22980f
+SIZE (bgrabitmap-bgracontrols-a0a5a40_GH0.tar.gz) = 5553889
+SHA256 (bgrabitmap-bgrabitmap-1ea4cb9_GH0.tar.gz) = 9279f248de7adaca645cfe063ae0013a118b011e2dc13f17a557e4102a7113dc
+SIZE (bgrabitmap-bgrabitmap-1ea4cb9_GH0.tar.gz) = 6655652
Modified: head/graphics/lazpaint/files/patch-lazpaint_utranslation.pas
==============================================================================
--- head/graphics/lazpaint/files/patch-lazpaint_utranslation.pas Thu May 14 06:10:47 2020 (r535208)
+++ head/graphics/lazpaint/files/patch-lazpaint_utranslation.pas Thu May 14 06:13:08 2020 (r535209)
@@ -1,18 +1,18 @@
---- lazpaint/utranslation.pas 2019-12-30 23:16:40.903045000 -0500
-+++ lazpaint/utranslation.pas 2019-12-30 23:26:13.503822000 -0500
+--- lazpaint/utranslation.pas 2020-05-13 16:32:15.701490000 -0500
++++ lazpaint/utranslation.pas 2020-05-13 16:51:08.348905000 -0500
@@ -60,10 +60,13 @@
{$ELSE}
{$IFDEF DARWIN}
- if DirectoryExists(GetResourcesPath+'i18n') then
-- result := GetResourcesPath+'i18n'+PathDelim
+ if DirectoryExists(GetDarwinResourcesPath+AResource) then
+- result := GetDarwinResourcesPath+AResource+PathDelim
- else
-+ result := GetResourcesPath+'i18n'+PathDelim;
++ result := GetDarwinResourcesPath+AResource+PathDelim;
{$ENDIF}
-- result:=ExtractFilePath(Application.ExeName)+'i18n'+PathDelim;
+- result:=ExtractFilePath(Application.ExeName)+AResource+PathDelim;
+ {$IFDEF FREEBSD}
-+ result:='%%DATADIR%%'+PathDelim+'i18n'+PathDelim;
++ result:='%%DATADIR%%'+PathDelim+AResource+PathDelim;
+ {$ELSE}
-+ result:=ExtractFilePath(Application.ExeName)+'i18n'+PathDelim;
++ result:=ExtractFilePath(Application.ExeName)+AResource+PathDelim;
+ {$ENDIF}
{$ENDIF}
end;
Modified: head/graphics/lazpaint/pkg-plist
==============================================================================
--- head/graphics/lazpaint/pkg-plist Thu May 14 06:10:47 2020 (r535208)
+++ head/graphics/lazpaint/pkg-plist Thu May 14 06:13:08 2020 (r535209)
@@ -1,18 +1,21 @@
bin/lazpaint
+share/icons/hicolor/48x48/apps/lazpaint.png
%%DATADIR%%/i18n/lazpaint.ar.po
+%%DATADIR%%/i18n/lazpaint.bg.po
%%DATADIR%%/i18n/lazpaint.cs.po
%%DATADIR%%/i18n/lazpaint.de.po
%%DATADIR%%/i18n/lazpaint.es.po
%%DATADIR%%/i18n/lazpaint.fi.po
%%DATADIR%%/i18n/lazpaint.fr.po
%%DATADIR%%/i18n/lazpaint.ja.po
+%%DATADIR%%/i18n/lazpaint.kab.po
%%DATADIR%%/i18n/lazpaint.lv.po
%%DATADIR%%/i18n/lazpaint.nl.po
%%DATADIR%%/i18n/lazpaint.po
-%%DATADIR%%/i18n/lazpaint.pot
%%DATADIR%%/i18n/lazpaint.pt_BR.po
%%DATADIR%%/i18n/lazpaint.ru.po
%%DATADIR%%/i18n/lazpaint.sv.po
+%%DATADIR%%/i18n/lazpaint.zh_CN.po
%%DATADIR%%/i18n/lclstrconsts.ca.po
%%DATADIR%%/i18n/lclstrconsts.cs.po
%%DATADIR%%/i18n/lclstrconsts.de.po
@@ -22,6 +25,7 @@ bin/lazpaint
%%DATADIR%%/i18n/lclstrconsts.he.po
%%DATADIR%%/i18n/lclstrconsts.id.po
%%DATADIR%%/i18n/lclstrconsts.it.po
+%%DATADIR%%/i18n/lclstrconsts.kab.po
%%DATADIR%%/i18n/lclstrconsts.lt.po
%%DATADIR%%/i18n/lclstrconsts.nl.po
%%DATADIR%%/i18n/lclstrconsts.pb.po
@@ -32,6 +36,22 @@ bin/lazpaint
%%DATADIR%%/i18n/lclstrconsts.tr.po
%%DATADIR%%/i18n/lclstrconsts.ua.po
%%DATADIR%%/i18n/lclstrconsts.zh_CN.po
+%%DATADIR%%/i18n/lcresourcestring.ar.po
+%%DATADIR%%/i18n/lcresourcestring.bg.po
+%%DATADIR%%/i18n/lcresourcestring.cs.po
+%%DATADIR%%/i18n/lcresourcestring.de.po
+%%DATADIR%%/i18n/lcresourcestring.es.po
+%%DATADIR%%/i18n/lcresourcestring.fi.po
+%%DATADIR%%/i18n/lcresourcestring.fr.po
+%%DATADIR%%/i18n/lcresourcestring.ja.po
+%%DATADIR%%/i18n/lcresourcestring.kab.po
+%%DATADIR%%/i18n/lcresourcestring.lv.po
+%%DATADIR%%/i18n/lcresourcestring.nl.po
+%%DATADIR%%/i18n/lcresourcestring.po
+%%DATADIR%%/i18n/lcresourcestring.pt_BR.po
+%%DATADIR%%/i18n/lcresourcestring.ru.po
+%%DATADIR%%/i18n/lcresourcestring.sv.po
+%%DATADIR%%/i18n/lcresourcestring.zh_CN.po
%%DATADIR%%/models/cube.obj
%%DATADIR%%/models/dodecahedron.obj
%%DATADIR%%/models/greek_vase.jpg
More information about the svn-ports-all
mailing list