Update to 11.06.1 Changelog: 2011.06.09 v.11.06.1 Bugfix: A hole was closed that could cause a crash if an area is deleted while an edit function is open and active. 2011.06.01 v.11.06 + Smart Erase and Remove Dust were made slightly more effective. + Brightness/Color retouching and Tone Mapping were made 25-40% faster. + Retouching brightness/color by "painting" with the mouse (dodge and burn) was made much faster (instant response on a fast computer). + If at startup the previous image file is no longer present then a gallery of the 100 most recent files viewed is shown. + New function: Tools > Toolbar Style: set to text, icons, or both. + New function: Tools > Edit Translation: edit translations interactively as Fotoxx is being used, and the changes are immediately effective. + Several other small usability improvements were made. + Minor bugfix: paste area edge blending lost 1 pixel around the edge.diff -r1.13 -r1.14 pkgsrc/graphics/fotoxx/Makefile
(ryoon)
@@ -1,17 +1,17 @@ | @@ -1,17 +1,17 @@ | |||
1 | # $NetBSD: Makefile,v 1.13 2011/05/11 01:31:01 ryoon Exp $ | 1 | # $NetBSD: Makefile,v 1.14 2011/06/11 18:54:23 ryoon Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | DISTNAME= fotoxx-11.05.1 | 4 | DISTNAME= fotoxx-11.06.1 | |
5 | CATEGORIES= graphics | 5 | CATEGORIES= graphics | |
6 | MASTER_SITES= http://kornelix.squarespace.com/storage/downloads/ | 6 | MASTER_SITES= http://kornelix.squarespace.com/storage/downloads/ | |
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= http://kornelix.squarespace.com/fotoxx/ | 9 | HOMEPAGE= http://kornelix.squarespace.com/fotoxx/ | |
10 | COMMENT= Program for editing image files from a digital camera | 10 | COMMENT= Program for editing image files from a digital camera | |
11 | LICENSE= gnu-gpl-v3 | 11 | LICENSE= gnu-gpl-v3 | |
12 | 12 | |||
13 | PKG_DESTDIR_SUPPORT= user-destdir | 13 | PKG_DESTDIR_SUPPORT= user-destdir | |
14 | 14 | |||
15 | DEPENDS+= xdg-utils-[0-9]*:../../misc/xdg-utils | 15 | DEPENDS+= xdg-utils-[0-9]*:../../misc/xdg-utils | |
16 | DEPENDS+= p5-Image-ExifTool-[0-9]*:../../graphics/p5-Image-ExifTool | 16 | DEPENDS+= p5-Image-ExifTool-[0-9]*:../../graphics/p5-Image-ExifTool | |
17 | DEPENDS+= gimp-ufraw-[0-9]*:../../graphics/gimp-ufraw | 17 | DEPENDS+= gimp-ufraw-[0-9]*:../../graphics/gimp-ufraw |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.5 2011/05/11 01:27:03 ryoon Exp $ | 1 | @comment $NetBSD: PLIST,v 1.6 2011/06/11 18:54:23 ryoon Exp $ | |
2 | bin/fotoxx | 2 | bin/fotoxx | |
3 | share/applications/kornelix-fotoxx.desktop | 3 | share/applications/kornelix-fotoxx.desktop | |
4 | share/doc/fotoxx/CHANGES | 4 | share/doc/fotoxx/CHANGES | |
5 | share/doc/fotoxx/COPYING | 5 | share/doc/fotoxx/COPYING | |
6 | share/doc/fotoxx/README | 6 | share/doc/fotoxx/README | |
7 | share/doc/fotoxx/TRANSLATIONS | 7 | share/doc/fotoxx/TRANSLATIONS | |
8 | share/doc/fotoxx/fotoxx.man | 8 | share/doc/fotoxx/fotoxx.man | |
9 | share/doc/fotoxx/images/HDF-paint.jpg | 9 | share/doc/fotoxx/images/HDF-paint.jpg | |
10 | share/doc/fotoxx/images/HDR-adjust.jpg | 10 | share/doc/fotoxx/images/HDR-adjust.jpg | |
11 | share/doc/fotoxx/images/annotate.jpg | 11 | share/doc/fotoxx/images/annotate.jpg | |
12 | share/doc/fotoxx/images/brightness-color.jpg | 12 | share/doc/fotoxx/images/brightness-color.jpg | |
13 | share/doc/fotoxx/images/brightness-ramp.png | 13 | share/doc/fotoxx/images/brightness-ramp.png | |
14 | share/doc/fotoxx/images/curve-edit.jpg | 14 | share/doc/fotoxx/images/curve-edit.jpg | |
@@ -21,26 +21,27 @@ share/doc/fotoxx/images/manage-tags.jpg | @@ -21,26 +21,27 @@ share/doc/fotoxx/images/manage-tags.jpg | |||
21 | share/doc/fotoxx/images/navigation.jpeg | 21 | share/doc/fotoxx/images/navigation.jpeg | |
22 | share/doc/fotoxx/images/pano-dialog.jpeg | 22 | share/doc/fotoxx/images/pano-dialog.jpeg | |
23 | share/doc/fotoxx/images/remove-dust.jpg | 23 | share/doc/fotoxx/images/remove-dust.jpg | |
24 | share/doc/fotoxx/images/rename.jpeg | 24 | share/doc/fotoxx/images/rename.jpeg | |
25 | share/doc/fotoxx/images/save-as.jpeg | 25 | share/doc/fotoxx/images/save-as.jpeg | |
26 | share/doc/fotoxx/images/search-images.jpg | 26 | share/doc/fotoxx/images/search-images.jpg | |
27 | share/doc/fotoxx/images/select-area.png | 27 | share/doc/fotoxx/images/select-area.png | |
28 | share/doc/fotoxx/images/select-edit.jpg | 28 | share/doc/fotoxx/images/select-edit.jpg | |
29 | share/doc/fotoxx/images/select-whole-image.jpg | 29 | share/doc/fotoxx/images/select-whole-image.jpg | |
30 | share/doc/fotoxx/images/sharpen.jpeg | 30 | share/doc/fotoxx/images/sharpen.jpeg | |
31 | share/doc/fotoxx/images/smart-erase.png | 31 | share/doc/fotoxx/images/smart-erase.png | |
32 | share/doc/fotoxx/images/stack.png | 32 | share/doc/fotoxx/images/stack.png | |
33 | share/doc/fotoxx/images/tone-mapping.png | 33 | share/doc/fotoxx/images/tone-mapping.png | |
34 | share/doc/fotoxx/images/translate.jpg | |||
34 | share/doc/fotoxx/images/trim.jpg | 35 | share/doc/fotoxx/images/trim.jpg | |
35 | share/doc/fotoxx/images/unbend.png | 36 | share/doc/fotoxx/images/unbend.png | |
36 | share/doc/fotoxx/images/watermark.jpg | 37 | share/doc/fotoxx/images/watermark.jpg | |
37 | share/doc/fotoxx/userguide-en.html | 38 | share/doc/fotoxx/userguide-en.html | |
38 | share/fotoxx/data/desktop | 39 | share/fotoxx/data/desktop | |
39 | share/fotoxx/icons/arrow.png | 40 | share/fotoxx/icons/arrow.png | |
40 | share/fotoxx/icons/busy.png | 41 | share/fotoxx/icons/busy.png | |
41 | share/fotoxx/icons/drag.png | 42 | share/fotoxx/icons/drag.png | |
42 | share/fotoxx/icons/draw.png | 43 | share/fotoxx/icons/draw.png | |
43 | share/fotoxx/icons/first-page.png | 44 | share/fotoxx/icons/first-page.png | |
44 | share/fotoxx/icons/folder.png | 45 | share/fotoxx/icons/folder.png | |
45 | share/fotoxx/icons/folder256.png | 46 | share/fotoxx/icons/folder256.png | |
46 | share/fotoxx/icons/fotoxx.png | 47 | share/fotoxx/icons/fotoxx.png |
@@ -1,9 +1,9 @@ | @@ -1,9 +1,9 @@ | |||
1 | $NetBSD: distinfo,v 1.5 2011/05/11 01:27:03 ryoon Exp $ | 1 | $NetBSD: distinfo,v 1.6 2011/06/11 18:54:23 ryoon Exp $ | |
2 | 2 | |||
3 | SHA1 (fotoxx-11.05.1.tar.gz) = 86fc10df92c6ea0e829e7b0e0b27031312f630ca | 3 | SHA1 (fotoxx-11.06.1.tar.gz) = 85b62abf984103877eca2bcd721b2d382b01c84b | |
4 | RMD160 (fotoxx-11.05.1.tar.gz) = fda2ef422745ae582ac90eb98d8ac6daea1b2499 | 4 | RMD160 (fotoxx-11.06.1.tar.gz) = 14839d3a3fd1d61c5c1fbe3867a0c826dd472eb0 | |
5 | Size (fotoxx-11.05.1.tar.gz) = 1264701 bytes | 5 | Size (fotoxx-11.06.1.tar.gz) = 1354440 bytes | |
6 | SHA1 (patch-aa) = f936cc5bdc02a5a92470c8e02189d748593c6327 | 6 | SHA1 (patch-aa) = 30cdc0e3fbb1ef445463cb9c89079f2ef4c38c11 | |
7 | SHA1 (patch-ab) = b2ad9d5c8a2258729248371bd1e2a2920633331c | 7 | SHA1 (patch-ab) = 8c95419f50a30a88c4cbbf70bd903aa5abb57db9 | |
8 | SHA1 (patch-ac) = a17fd5ba3edfd746df2a9b4df3ab547505deedfe | 8 | SHA1 (patch-ac) = c6be21da3036a442a6441b3a7a857a87953254e6 | |
9 | SHA1 (patch-fotoxx-11.05.1.cc) = f9f8a42bb0bf83c998da44e73f94ca47d92351fc | 9 | SHA1 (patch-fotoxx-11.05.1.cc) = bed6a88408948f3770f77e67046ba3c8635818c3 |
@@ -1,36 +1,14 @@ | @@ -1,36 +1,14 @@ | |||
1 | $NetBSD: patch-aa,v 1.3 2011/05/11 01:27:03 ryoon Exp $ | 1 | $NetBSD: patch-aa,v 1.4 2011/06/11 18:54:23 ryoon Exp $ | |
2 | 2 | |||
3 | --- Makefile.orig 2011-05-01 18:44:26.000000000 +0000 | 3 | --- Makefile.orig 2011-06-09 06:29:46.000000000 +0000 | |
4 | +++ Makefile | 4 | +++ Makefile | |
5 | @@ -23,8 +23,7 @@ LFLAGS = $(LDFLAGS) `pkg-config --libs g | 5 | @@ -24,8 +24,7 @@ LIBS = `pkg-config --libs gtk+-2.0 gthre | |
6 | 6 | |||
7 | fotoxx: fotoxx.o fotoxx_area.o fotoxx_info.o fotoxx_edit.o zfuncs.o | 7 | fotoxx: fotoxx.o fotoxx_area.o fotoxx_info.o fotoxx_edit.o zfuncs.o | |
8 | $(CXX) $(LFLAGS) -ltiff -o fotoxx fotoxx.o \ | 8 | $(CXX) $(LDFLAGS) fotoxx.o fotoxx_area.o fotoxx_info.o fotoxx_edit.o \ | |
9 | - fotoxx_area.o fotoxx_info.o fotoxx_edit.o zfuncs.o | 9 | - zfuncs.o $(LIBS) -ltiff -o fotoxx | |
10 | - @ ./dependencies.sh | 10 | - @ ./dependencies.sh | |
11 | + fotoxx_area.o fotoxx_info.o fotoxx_edit.o zfuncs.o -lcompat | 11 | + zfuncs.o $(LIBS) -ltiff -o fotoxx -lcompat | |
12 | 12 | |||
13 | fotoxx.o: $(VERSION) fotoxx.h | 13 | fotoxx.o: $(VERSION) fotoxx.h | |
14 | $(CXX) $(CFLAGS) -o fotoxx.o $(VERSION) | 14 | $(CXX) $(CFLAGS) -o fotoxx.o $(VERSION) | |
15 | @@ -48,7 +47,7 @@ install: fotoxx | |||
16 | mkdir -p $(DESTDIR)$(LOCALESDIR) | |||
17 | mkdir -p $(DESTDIR)$(DOCDIR) | |||
18 | mkdir -p $(DESTDIR)$(MANDIR) | |||
19 | - mkdir -p $(PREFIX)/share/applications | |||
20 | + mkdir -p $(DESTDIR)$(PREFIX)/share/applications | |||
21 | cp -f fotoxx $(DESTDIR)$(BINDIR) | |||
22 | cp -f data/* $(DESTDIR)$(DATADIR) | |||
23 | cp -f icons/* $(DESTDIR)$(ICONDIR) | |||
24 | @@ -60,9 +59,9 @@ install: fotoxx | |||
25 | cp fotoxx.1.gz $(DESTDIR)$(MANDIR) | |||
26 | rm -f fotoxx.1.gz | |||
27 | # menu (desktop) file | |||
28 | - echo Exec=/usr/bin/fotoxx >> $(MENUFILE1) | |||
29 | - echo Icon=/usr/share/fotoxx/icons/fotoxx.png >> $(MENUFILE1) | |||
30 | - cp $(MENUFILE1) $(DESTDIR)$(MENUFILE2) | |||
31 | + echo Exec=$(BINDIR)/fotoxx >> $(DESTDIR)$(MENUFILE1) | |||
32 | + echo Icon=$(ICONDIR)/fotoxx.png >> $(DESTDIR)$(MENUFILE1) | |||
33 | + cp $(DESTDIR)$(MENUFILE1) $(DESTDIR)$(MENUFILE2) | |||
34 | @ echo "*** use make menu to install the desktop menu" | |||
35 | ||||
36 | menu: |
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | $NetBSD: patch-ab,v 1.3 2011/05/11 01:27:03 ryoon Exp $ | 1 | $NetBSD: patch-ab,v 1.4 2011/06/11 18:54:23 ryoon Exp $ | |
2 | 2 | |||
3 | --- zfuncs.cc.orig 2011-05-01 18:44:26.000000000 +0000 | 3 | --- zfuncs.cc.orig 2011-06-09 06:29:46.000000000 +0000 | |
4 | +++ zfuncs.cc | 4 | +++ zfuncs.cc | |
5 | @@ -77,6 +77,7 @@ void zappcrash(cchar *pMess, ... ) | 5 | @@ -77,6 +77,7 @@ void zappcrash(cchar *pMess, ... ) | |
6 | 6 | |||
7 | printf("zappcrash: \n %s \n",message); // output message to stdout | 7 | printf("zappcrash: \n %s \n",message); // output message to stdout | |
8 | 8 | |||
9 | +#ifdef backtrace | 9 | +#ifdef backtrace | |
10 | nstack = backtrace(stacklist,nstack); // get traceback data | 10 | nstack = backtrace(stacklist,nstack); // get traceback data | |
11 | stackents = backtrace_symbols(stacklist,nstack); | 11 | stackents = backtrace_symbols(stacklist,nstack); | |
12 | 12 | |||
13 | @@ -84,12 +85,14 @@ void zappcrash(cchar *pMess, ... ) | 13 | @@ -84,12 +85,14 @@ void zappcrash(cchar *pMess, ... ) | |
14 | printf(" %s \n",stackents[ii]); | 14 | printf(" %s \n",stackents[ii]); | |
15 | 15 | |||
16 | fid1 = fopen("zappcrash","w"); // text file for backtrace | 16 | fid1 = fopen("zappcrash","w"); // text file for backtrace |
@@ -1,20 +1,20 @@ | @@ -1,20 +1,20 @@ | |||
1 | $NetBSD: patch-ac,v 1.4 2011/05/11 01:27:03 ryoon Exp $ | 1 | $NetBSD: patch-ac,v 1.5 2011/06/11 18:54:23 ryoon Exp $ | |
2 | 2 | |||
3 | --- zfuncs.h.orig 2011-05-01 18:44:26.000000000 +0000 | 3 | --- zfuncs.h.orig 2011-06-09 06:29:46.000000000 +0000 | |
4 | +++ zfuncs.h | 4 | +++ zfuncs.h | |
5 | @@ -22,6 +22,7 @@ | 5 | @@ -22,6 +22,7 @@ | |
6 | 6 | |||
7 | // zfuncs.h version v.4.2 | 7 | // zfuncs.h version v.4.4 | |
8 | 8 | |||
9 | +#include <sys/param.h> | 9 | +#include <sys/param.h> | |
10 | #include <sys/time.h> | 10 | #include <sys/time.h> | |
11 | #include <sys/stat.h> | 11 | #include <sys/stat.h> | |
12 | #include <unistd.h> | 12 | #include <unistd.h> | |
13 | @@ -34,9 +35,10 @@ | 13 | @@ -34,9 +35,10 @@ | |
14 | #include <pthread.h> | 14 | #include <pthread.h> | |
15 | #include <errno.h> | 15 | #include <errno.h> | |
16 | #include <signal.h> | 16 | #include <signal.h> | |
17 | -#include <execinfo.h> | 17 | -#include <execinfo.h> | |
18 | +//#include <execinfo.h> | 18 | +//#include <execinfo.h> | |
19 | +#include <sys/wait.h> | 19 | +#include <sys/wait.h> | |
20 | #include <locale.h> | 20 | #include <locale.h> |
@@ -1,46 +1,46 @@ | @@ -1,46 +1,46 @@ | |||
1 | $NetBSD: patch-fotoxx-11.05.1.cc,v 1.1 2011/05/11 01:27:03 ryoon Exp $ | 1 | $NetBSD: patch-fotoxx-11.05.1.cc,v 1.2 2011/06/11 18:54:23 ryoon Exp $ | |
2 | 2 | |||
3 | --- fotoxx-11.05.1.cc.orig 2011-05-01 18:44:26.000000000 +0000 | 3 | --- fotoxx-11.06.1.cc.orig 2011-06-09 06:29:46.000000000 +0000 | |
4 | +++ fotoxx-11.05.1.cc | 4 | +++ fotoxx-11.06.1.cc | |
5 | @@ -484,7 +484,7 @@ int gtkinitfunc(void *data) | 5 | @@ -427,7 +427,7 @@ int gtkinitfunc(void *data) | |
6 | 6 | |||
7 | // set up current file and directory from command line input or last session parameters v.11.04 | 7 | // set up current file and directory from command line input or last session parameters v.11.04 | |
8 | 8 | |||
9 | - ppv = get_current_dir_name(); // save current directory | 9 | - ppv = get_current_dir_name(); // save current directory | |
10 | + ppv = getcwd((char *)0, 0); // save current directory | 10 | + ppv = getcwd((char *)0, 0); // save current directory | |
11 | if (ppv) { | 11 | if (ppv) { | |
12 | curr_dirk = strdupz(ppv,0,"curr_dirk"); | 12 | curr_dirk = strdupz(ppv,0,"curr_dirk"); | |
13 | free(ppv); | 13 | free(ppv); | |
14 | @@ -493,6 +493,15 @@ int gtkinitfunc(void *data) | 14 | @@ -436,6 +436,15 @@ int gtkinitfunc(void *data) | |
15 | else curr_dirk = 0; | 15 | else curr_dirk = 0; | |
16 | 16 | |||
17 | if (last_file) { // from command line or parameters | 17 | if (last_file) { // from command line or parameters | |
18 | +#ifdef __NetBSD__ | 18 | +#ifdef __NetBSD__ | |
19 | + ppv = zmalloc(MAXPATHLEN+1, "last_file"); | 19 | + ppv = zmalloc(MAXPATHLEN+1, "last_file"); | |
20 | + if (ppv) { | 20 | + if (ppv) { | |
21 | + if (realpath(last_file, ppv)) { | 21 | + if (realpath(last_file, ppv)) { | |
22 | + zfree(last_file); | 22 | + zfree(last_file); | |
23 | + last_file = ppv; | 23 | + last_file = ppv; | |
24 | + } | 24 | + } | |
25 | + } | 25 | + } | |
26 | +#else | 26 | +#else | |
27 | ppv = realpath(last_file,0); // prepend directory if needed | 27 | ppv = realpath(last_file,0); // prepend directory if needed | |
28 | if (ppv) { | 28 | if (ppv) { | |
29 | curr_file = strdupz(ppv,0,"curr_file"); | 29 | curr_file = strdupz(ppv,0,"curr_file"); | |
30 | @@ -503,6 +512,7 @@ int gtkinitfunc(void *data) | 30 | @@ -446,6 +455,7 @@ int gtkinitfunc(void *data) | |
31 | zfree(last_file); | 31 | zfree(last_file); | |
32 | last_file = 0; | 32 | last_file = 0; | |
33 | } | 33 | } | |
34 | +#endif | 34 | +#endif | |
35 | } | 35 | } | |
36 | 36 | |||
37 | if (curr_file) { | 37 | if (curr_file) { | |
38 | @@ -2007,7 +2017,7 @@ void m_gallery(GtkWidget *, cchar *) | 38 | @@ -1953,7 +1963,7 @@ void m_gallery(GtkWidget *, cchar *) | |
39 | if (curr_file) | 39 | if (curr_file) | |
40 | image_gallery(0,"paint1",curr_file_posn,m_gallery2,mWin); // overlay main window v.10.9 | 40 | image_gallery(0,"paint1",curr_file_posn,m_gallery2,mWin); // overlay main window v.10.9 | |
41 | else { | 41 | else { | |
42 | - char *pp = get_current_dir_name(); | 42 | - char *pp = get_current_dir_name(); | |
43 | + char *pp = getcwd((char *)0, 0); | 43 | + char *pp = getcwd((char *)0, 0); | |
44 | if (pp) { | 44 | if (pp) { | |
45 | image_gallery(pp,"init",0,m_gallery2,mWin); // use current directory v.11.04 | 45 | image_gallery(pp,"init",0,m_gallery2,mWin); // use current directory v.11.04 | |
46 | image_gallery(0,"paint1"); | 46 | image_gallery(0,"paint1"); |