Skip to content

Commit

Permalink
graphics/fotoxx: update the port to version 23.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey Dokuchaev authored and Alexey Dokuchaev committed Mar 6, 2023
1 parent ea12c50 commit d627a61
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 26 deletions.
8 changes: 2 additions & 6 deletions graphics/fotoxx/Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
PORTNAME= fotoxx
PORTVERSION= 23.1
PORTREVISION= 1
PORTVERSION= 23.2
CATEGORIES= graphics
MASTER_SITES= https://kornelix.net/downloads/downloads/
DISTNAME= ${PORTNAME}-${PORTVERSION}-source

MAINTAINER= danfe@FreeBSD.org
COMMENT= Image editing and collection management program
Expand Down Expand Up @@ -30,14 +30,10 @@ PORTDOCS= *
OPTIONS_DEFINE= DOCS

post-patch:
@${REINPLACE_CMD} -e \
'/#include <sys\/prctl\.h>/d' ${WRKSRC}/f.meta.cc
@${REINPLACE_CMD} -e \
's,pidof,pgrep -d\\\\ ,' ${WRKSRC}/fotoxx.cc
@${REINPLACE_CMD} -e \
'/#include/s,wait\.h,sys/&,' ${WRKSRC}/fotoxx.h
@${REINPLACE_CMD} -e \
's|/usr/share/fotoxx|${DATADIR}|' ${WRKSRC}/fotoxx.desktop

post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/fotoxx
Expand Down
6 changes: 3 additions & 3 deletions graphics/fotoxx/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1675202410
SHA256 (fotoxx-23.1.tar.gz) = 2043daedac89d5826699ff2833e6e697caad707ae174bebb9470e21b692312c1
SIZE (fotoxx-23.1.tar.gz) = 9198469
TIMESTAMP = 1677658228
SHA256 (fotoxx-23.2-source.tar.gz) = 9e8098582c4b3dec51c6bf232670204e939372d0e9b66f281a0661ac36c2cce9
SIZE (fotoxx-23.2-source.tar.gz) = 9233622
32 changes: 16 additions & 16 deletions graphics/fotoxx/files/patch-f.refine.cc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- f.refine.cc.orig 2022-01-01 11:16:58 UTC
--- f.refine.cc.orig 2023-03-01 07:32:06 UTC
+++ f.refine.cc
@@ -223,7 +223,7 @@ void m_edit_dist(GtkWidget *, cchar *menu)
@@ -223,7 +223,7 @@ void m_edit_dist(GtkWidget *, ch *menu)
EFedit_dist.Farea = 2; // select area usable
EFedit_dist.Frestart = 1; // restart allowed
EFedit_dist.Fscript = 1; // scripting supported
Expand All @@ -9,21 +9,21 @@
if (! edit_setup(EFedit_dist)) return; // setup edit

/***
@@ -589,7 +589,7 @@ void m_flatten_dist(GtkWidget *, cchar *menu)
EFflatten_dist.Frestart = 1; // restartable
EFflatten_dist.Fpaintedits = 1; // use with paint edits OK
EFflatten_dist.Fscript = 1; // scripting supported
- EFflatten_dist.threadfunc = thread;
+ EFflatten_dist.threadfunc = flatten_dist_names::thread;
if (! edit_setup(EFflatten_dist)) return; // setup edit
@@ -589,7 +589,7 @@ void m_flatdist(GtkWidget *, ch *menu)
EFflatdist.Frestart = 1; // restartable
EFflatdist.Fpaintedits = 1; // use with paint edits OK
EFflatdist.Fscript = 1; // scripting supported
- EFflatdist.threadfunc = thread;
+ EFflatdist.threadfunc = flatdist_names::thread;
if (! edit_setup(EFflatdist)) return; // setup edit
Eww = E0pxm->ww;
@@ -1066,7 +1066,7 @@ void flatten_dist_func(int _NZ, int _flatten, int _deb
EFflatten_dist.menufunc = m_flatten_dist;
EFflatten_dist.Farea = 2; // select area usable
EFflatten_dist.Frestart = 1; // restartable
- EFflatten_dist.threadfunc = thread;
+ EFflatten_dist.threadfunc = flatten_dist_names::thread;
@@ -1067,7 +1067,7 @@ void flatdist_func(int _radius, int _flatten, int _deb
EFflatdist.menufunc = m_flatdist;
EFflatdist.Farea = 2; // select area usable
EFflatdist.Frestart = 1; // restartable
- EFflatdist.threadfunc = thread;
+ EFflatdist.threadfunc = flatdist_names::thread;
if (! edit_setup(EFflatten_dist)) return; // setup edit
if (! edit_setup(EFflatdist)) return; // setup edit
3 changes: 2 additions & 1 deletion graphics/fotoxx/pkg-plist
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ share/applications/fotoxx.desktop
%%DATADIR%%/images/albums-popmenu.jpg
%%DATADIR%%/images/alien-colors1.jpg
%%DATADIR%%/images/alien-colors2.jpg
%%DATADIR%%/images/all-folders.jpg
%%DATADIR%%/images/area-rescale.jpg
%%DATADIR%%/images/area-rescale2.jpg
%%DATADIR%%/images/batch-change-meta.jpg
Expand Down Expand Up @@ -195,6 +194,7 @@ share/applications/fotoxx.desktop
%%DATADIR%%/images/flatten1.jpg
%%DATADIR%%/images/flatten2.jpg
%%DATADIR%%/images/folder.png
%%DATADIR%%/images/folder-tree.jpg
%%DATADIR%%/images/fotoxx-views.jpg
%%DATADIR%%/images/fotoxx.png
%%DATADIR%%/images/gallery-screen.jpg
Expand Down Expand Up @@ -296,6 +296,7 @@ share/applications/fotoxx.desktop
%%DATADIR%%/images/saturation.jpg
%%DATADIR%%/images/save.png
%%DATADIR%%/images/search-images.jpg
%%DATADIR%%/images/search-images-metadata.jpg
%%DATADIR%%/images/select-area-finish.jpg
%%DATADIR%%/images/select-area.jpg
%%DATADIR%%/images/select.png
Expand Down

0 comments on commit d627a61

Please sign in to comment.