-
Notifications
You must be signed in to change notification settings - Fork 734
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
graphics/fotoxx: the port had been updated to version 21.60
This includes trimming MASTER_SITES, adjusting the LICENSE, amending LIB_DEPENDS, USES, USE_GNOME, and fixing a bunch of disgusting linuxisms.
- Loading branch information
Alexey Dokuchaev
authored and
Alexey Dokuchaev
committed
Dec 25, 2021
1 parent
dc123a0
commit 6ba8007
Showing
11 changed files
with
305 additions
and
168 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
TIMESTAMP = 1430473829 | ||
SHA256 (fotoxx-15.05.tar.gz) = 65567adc86087a3a8acdebcb0f15ec299cf690a869129825e3d32da7e50c4604 | ||
SIZE (fotoxx-15.05.tar.gz) = 3573278 | ||
TIMESTAMP = 1634502156 | ||
SHA256 (fotoxx-21.60.tar.gz) = 2973e967b04b79ed85ec4dc9ed77d78cd5881340dfc976a61ba85dcbeb4b0dfd | ||
SIZE (fotoxx-21.60.tar.gz) = 8679841 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- Makefile.orig 2021-10-17 20:02:26 UTC | ||
+++ Makefile | ||
@@ -1,40 +1,12 @@ | ||
# fotoxx Makefile | ||
-# | ||
-# export CXX=g++ gnu compiler | ||
-# export CXX=clang++ clang compiler | ||
-# export DEBUG=x debug build with address checking | ||
|
||
-ifeq ($(CXX), clang++) # CLANG | ||
- ifdef DEBUG | ||
- CXXFLAGS += -Wall -g -O0 -fsanitize=address -Wno-stringop-truncation | ||
- LDFLAGS += -fsanitize=address | ||
- else | ||
- CXXFLAGS += -Wall -g -O2 | ||
- endif | ||
-else # GCC | ||
- ifdef DEBUG | ||
- CXXFLAGS += -Wall -g -rdynamic -O0 -fsanitize=address -Wno-format-truncation -Wno-stringop-truncation | ||
- LDFLAGS += -fsanitize=address | ||
- else | ||
- CXXFLAGS += -Wall -g -rdynamic -O2 -Wno-format-truncation -Wno-stringop-truncation | ||
- endif | ||
-endif | ||
- | ||
PKG_CONFIG ?= pkg-config | ||
|
||
CFLAGS = $(CXXFLAGS) $(CPPFLAGS) -c \ | ||
- `$(PKG_CONFIG) --cflags gtk+-3.0` \ | ||
- -I/usr/include/clutter-1.0/ \ | ||
- -I/usr/include/clutter-gtk-1.0/ \ | ||
- -I/usr/include/champlain-gtk-0.12/ \ | ||
- -I/usr/include/champlain-0.12/ \ | ||
- -I/usr/include/libchamplain-gtk-0.12/ \ | ||
- -I/usr/include/libchamplain-0.12/ \ | ||
- -I/usr/include/cogl/ \ | ||
- -I/usr/include/json-glib-1.0/ \ | ||
+ `$(PKG_CONFIG) pkgconf --cflags champlain-gtk-0.12` | ||
|
||
LIBS = `$(PKG_CONFIG) --libs gtk+-3.0` \ | ||
- -lrt -lpthread -llcms2 -ltiff -lpng -ljpeg \ | ||
+ -lrt -lexecinfo -llcms2 -ltiff -lpng -ljpeg \ | ||
-lclutter-1.0 -lclutter-gtk-1.0 -lchamplain-0.12 -lchamplain-gtk-0.12 | ||
|
||
ALLFILES = fotoxx.o f.widgets.o f.file.o f.gallery.o f.albums.o f.area.o f.meta.o \ |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- f.enhance.cc.orig 2021-10-17 20:02:26 UTC | ||
+++ f.enhance.cc | ||
@@ -224,7 +224,7 @@ void m_editBD(GtkWidget *, cchar *menu) | ||
EFeditBD.Farea = 2; // select area usable | ||
EFeditBD.Frestart = 1; // restart allowed | ||
EFeditBD.Fscript = 1; // scripting supported | ||
- EFeditBD.threadfunc = thread; | ||
+ EFeditBD.threadfunc = editBD_names::thread; | ||
if (! edit_setup(EFeditBD)) return; // setup edit | ||
|
||
/*** | ||
@@ -590,7 +590,7 @@ void m_flattenBD(GtkWidget *, cchar *menu) | ||
EFflattenBD.Frestart = 1; // restartable | ||
EFflattenBD.Fpaintedits = 1; // use with paint edits OK | ||
EFflattenBD.Fscript = 1; // scripting supported | ||
- EFflattenBD.threadfunc = thread; | ||
+ EFflattenBD.threadfunc = flattenBD_names::thread; | ||
if (! edit_setup(EFflattenBD)) return; // setup edit | ||
Eww = E0pxm->ww; | ||
@@ -1067,7 +1067,7 @@ void flattenBDfunc(int _NZ, int _flatten, int _deband1 | ||
EFflattenBD.menufunc = m_flattenBD; | ||
EFflattenBD.Farea = 2; // select area usable | ||
EFflattenBD.Frestart = 1; // restartable | ||
- EFflattenBD.threadfunc = thread; | ||
+ EFflattenBD.threadfunc = flattenBD_names::thread; | ||
if (! edit_setup(EFflattenBD)) return; // setup edit | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,20 @@ | ||
--- f.file.cc.orig 2015-05-01 09:40:38 UTC | ||
--- f.file.cc.orig 2021-10-17 20:02:26 UTC | ||
+++ f.file.cc | ||
@@ -74,6 +74,7 @@ | ||
|
||
#define EX extern // disable extern declarations | ||
#include "fotoxx.h" // (variables in fotoxx.h are refs) | ||
+#include <sys/wait.h> | ||
|
||
/**************************************************************************/ | ||
@@ -3687,13 +3687,17 @@ int find_imagefiles(cchar *folder, int flags, char **& | ||
|
||
if (flags & 1) Fimages = 1; | ||
if (flags & 2) Fthumbs = 1; | ||
+#ifdef GLOB_PERIOD | ||
if (flags & 4) globflags += GLOB_PERIOD; | ||
+#endif | ||
if (flags & 8) Fdirs = 1; | ||
if (flags & 16) Frecurse = 1; | ||
if (flags & 32) Fnolinks = 1; | ||
|
||
+#ifdef GLOB_ONLYDIR | ||
if (Fdirs && ! Fimages && ! Fthumbs) | ||
globflags += GLOB_ONLYDIR; | ||
+#endif | ||
|
||
globdata.gl_pathc = 0; // glob() setup | ||
globdata.gl_offs = 0; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.