Update to 12.01.2. Changelog: 2012.01.04 v.12.01.2 + Italian user guide was updated. + Swedish translation was updated. 2012.01.04 v.12.01.1 + Bugfix: zoom causes infinite loop after new installation. 2012.01.01 v.12.01 + New function Search Metadata: search and report image metadata (EXIF/IPTC/etc.), using a combined image and text display format. + Synchronize Files is 2x faster for an initial installation or after importing a large number of new photos (>1000/min. on a fast PC). + "my mouse" was removed from all edit and selection dialogs. The mouse belongs to the last widget clicked. The main window can be zoomed and scrolled during such dialogs by using CTRL + mouse click or drag. + Mouse wheel can do zoom-in and zoom-out. + Zooming an image re-centers it on the mouse position, and the mouse position follows the zoom center to the middle of the window. + Zoom ratio configurable: choose 1-4 zooms for each 2x increase in size. + DRGB (print color adjust) can save corrections to a file for re-use. + Some user settings in various menus were collected together in the new menu function Tools > User Settings. + Bugfix: Search Image was finding false matches for images with very large caption or comments. + Bugfix: cannot escape file open dialog if open previous or open recent is attempted when there are no previous files (initial installation). + Bugfix: interactive GUI translation function failed to initialize. 2011.12.03 v.11.12.2 + Italian translation was updated. + Locale of lc_RC will prefer a .po file named "lc_RC", fallback to "lc". 2011.12.02 v.11.12.1 + Bugfix: crash at startup - top image directory not correctly initialized from previous fotoxx installation. 2011.12.01 v.11.12 + New function Auto-Trim: automatically trim unused edge areas left over from panorama, HDR, HDF, stack, warp and unbend functions. + New function: Find bright or dark "stuck" pixels (camera sensor defect) (1x1/2x2/3x3 blocks) and fix them by interpolating neighboring pixels. Pixel locations can be saved and applied later to other images. + Select Area was extended to both select and unselect by matching colors, and the pixel search range was made adjustable 1-20x mouse radius. + Batch Resize/Export function now supports output of JPEG, PNG, TIFF. This can be used to select and convert files to a different format. + Convert RAW Files now supports output of JPEG, PNG, TIFF-8, TIFF-16. + Warp Area algorithm was made a bit more intuitive and controllable. + GUI language translation procedure was simplified. + Bugfix: restored some lost translations of dialog buttons. + Bugfix: Trim dialog mouse ownership was sometimes misleading. + Bugfix: WarpArea did not reset itself if selected area was changed. + Bugfix: crash if parallel instances of fotoxx are simultaneously editing images and using undo/redo.diff -r1.18 -r1.19 pkgsrc/graphics/fotoxx/Makefile
(ryoon)
@@ -1,17 +1,17 @@ | @@ -1,17 +1,17 @@ | |||
1 | # $NetBSD: Makefile,v 1.18 2011/11/20 00:00:28 ryoon Exp $ | 1 | # $NetBSD: Makefile,v 1.19 2012/01/08 12:35:45 ryoon Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | DISTNAME= fotoxx-11.11.1 | 4 | DISTNAME= fotoxx-12.01.2 | |
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,100 +1,111 @@ | @@ -1,100 +1,111 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.10 2011/11/20 00:00:28 ryoon Exp $ | 1 | @comment $NetBSD: PLIST,v 1.11 2012/01/08 12:35:45 ryoon Exp $ | |
2 | bin/fotoxx | 2 | bin/fotoxx | |
3 | man/man1/fotoxx.1 | 3 | man/man1/fotoxx.1 | |
4 | share/applications/kornelix-fotoxx.desktop | 4 | share/applications/kornelix-fotoxx.desktop | |
5 | share/doc/fotoxx/README | 5 | share/doc/fotoxx/README | |
6 | share/doc/fotoxx/changelog | 6 | share/doc/fotoxx/changelog | |
7 | share/doc/fotoxx/copyright | 7 | share/doc/fotoxx/copyright | |
8 | share/doc/fotoxx/edit-menus | 8 | share/doc/fotoxx/edit-menus | |
9 | share/doc/fotoxx/fotoxx.man | 9 | share/doc/fotoxx/fotoxx.man | |
10 | share/doc/fotoxx/freecode | |||
10 | share/doc/fotoxx/images/DRGB.jpg | 11 | share/doc/fotoxx/images/DRGB.jpg | |
11 | share/doc/fotoxx/images/HDF-paint.jpg | 12 | share/doc/fotoxx/images/HDF-paint.jpg | |
12 | share/doc/fotoxx/images/HDR-adjust.jpg | 13 | share/doc/fotoxx/images/HDR-adjust.jpg | |
13 | share/doc/fotoxx/images/annotate.jpg | 14 | share/doc/fotoxx/images/annotate.jpg | |
15 | share/doc/fotoxx/images/auto-trim.jpg | |||
16 | share/doc/fotoxx/images/batch-rename.jpg | |||
17 | share/doc/fotoxx/images/batch-resize-export.jpg | |||
14 | share/doc/fotoxx/images/bright-ramp.jpg | 18 | share/doc/fotoxx/images/bright-ramp.jpg | |
15 | share/doc/fotoxx/images/brightness-color.jpg | 19 | share/doc/fotoxx/images/brightness-color.jpg | |
16 | share/doc/fotoxx/images/curve-edit.jpg | 20 | share/doc/fotoxx/images/curve-edit.jpg | |
21 | share/doc/fotoxx/images/edit-caption-comments.jpg | |||
22 | share/doc/fotoxx/images/edit-pixels.jpg | |||
17 | share/doc/fotoxx/images/edit-tags.jpg | 23 | share/doc/fotoxx/images/edit-tags.jpg | |
18 | share/doc/fotoxx/images/expand-brightness.png | 24 | share/doc/fotoxx/images/expand-brightness.jpg | |
19 | share/doc/fotoxx/images/gallery-selection.jpg | 25 | share/doc/fotoxx/images/gallery-selection.jpg | |
20 | share/doc/fotoxx/images/gamma-curve.jpg | 26 | share/doc/fotoxx/images/gamma-curve.jpg | |
21 | share/doc/fotoxx/images/gammachart.png | 27 | share/doc/fotoxx/images/gammachart.png | |
28 | share/doc/fotoxx/images/grid-lines.jpg | |||
29 | share/doc/fotoxx/images/lens-parameters.jpg | |||
22 | share/doc/fotoxx/images/manage-collections.jpg | 30 | share/doc/fotoxx/images/manage-collections.jpg | |
23 | share/doc/fotoxx/images/manage-tags.jpg | 31 | share/doc/fotoxx/images/manage-tags.jpg | |
24 | share/doc/fotoxx/images/match-colors.jpg | 32 | share/doc/fotoxx/images/match-colors.jpg | |
25 | share/doc/fotoxx/images/navigation.jpeg | 33 | share/doc/fotoxx/images/navigation.jpeg | |
26 | share/doc/fotoxx/images/pano-dialog.jpeg | 34 | share/doc/fotoxx/images/pano-color.jpg | |
35 | share/doc/fotoxx/images/pano-pre-align.jpg | |||
27 | share/doc/fotoxx/images/remove-dust.jpg | 36 | share/doc/fotoxx/images/remove-dust.jpg | |
28 | share/doc/fotoxx/images/rename.jpeg | 37 | share/doc/fotoxx/images/rename.jpeg | |
38 | share/doc/fotoxx/images/resize.jpg | |||
29 | share/doc/fotoxx/images/revise-RGB.jpg | 39 | share/doc/fotoxx/images/revise-RGB.jpg | |
40 | share/doc/fotoxx/images/rotate.jpg | |||
30 | share/doc/fotoxx/images/save-as.jpg | 41 | share/doc/fotoxx/images/save-as.jpg | |
31 | share/doc/fotoxx/images/search-images.jpg | 42 | share/doc/fotoxx/images/search-images2.jpg | |
43 | share/doc/fotoxx/images/search_metadata.jpg | |||
32 | share/doc/fotoxx/images/select-area.jpg | 44 | share/doc/fotoxx/images/select-area.jpg | |
33 | share/doc/fotoxx/images/select-edit.jpg | 45 | share/doc/fotoxx/images/select-edit.jpg | |
34 | share/doc/fotoxx/images/select-whole-image.jpg | 46 | share/doc/fotoxx/images/select-whole-image.jpg | |
35 | share/doc/fotoxx/images/sharpen.jpeg | 47 | share/doc/fotoxx/images/sharpen.jpeg | |
36 | share/doc/fotoxx/images/show-RGB.jpg | 48 | share/doc/fotoxx/images/show-RGB.jpg | |
37 | share/doc/fotoxx/images/slide-show.jpg | 49 | share/doc/fotoxx/images/slide-show.jpg | |
38 | share/doc/fotoxx/images/smart-erase.png | 50 | share/doc/fotoxx/images/smart-erase.jpg | |
39 | share/doc/fotoxx/images/stack.png | 51 | share/doc/fotoxx/images/stack-noise.jpg | |
52 | share/doc/fotoxx/images/stack-paint.jpg | |||
40 | share/doc/fotoxx/images/straighten-image.jpg | 53 | share/doc/fotoxx/images/straighten-image.jpg | |
54 | share/doc/fotoxx/images/stuck-pixels.jpg | |||
55 | share/doc/fotoxx/images/synchronize-files.jpg | |||
41 | share/doc/fotoxx/images/tone-mapping.png | 56 | share/doc/fotoxx/images/tone-mapping.png | |
42 | share/doc/fotoxx/images/translate.jpg | 57 | share/doc/fotoxx/images/translate.jpg | |
43 | share/doc/fotoxx/images/trim.jpg | 58 | share/doc/fotoxx/images/trim.jpg | |
44 | share/doc/fotoxx/images/unbend.png | 59 | share/doc/fotoxx/images/unbend.png | |
60 | share/doc/fotoxx/images/user-settings.jpg | |||
45 | share/doc/fotoxx/images/watermark.jpg | 61 | share/doc/fotoxx/images/watermark.jpg | |
62 | share/doc/fotoxx/images/white-balance.jpg | |||
46 | share/doc/fotoxx/translations | 63 | share/doc/fotoxx/translations | |
47 | share/doc/fotoxx/userguide-changes.txt | |||
48 | share/doc/fotoxx/userguide-en.html | 64 | share/doc/fotoxx/userguide-en.html | |
49 | share/doc/fotoxx/userguide-it.html | 65 | share/doc/fotoxx/userguide-it.html | |
50 | share/fotoxx/icons/arrow.png | 66 | share/fotoxx/icons/arrow.png | |
51 | share/fotoxx/icons/busy.png | 67 | share/fotoxx/icons/busy.png | |
52 | share/fotoxx/icons/drag.png | 68 | share/fotoxx/icons/drag.png | |
53 | share/fotoxx/icons/draw.png | 69 | share/fotoxx/icons/draw.png | |
54 | share/fotoxx/icons/first-page.png | 70 | share/fotoxx/icons/first-page.png | |
55 | share/fotoxx/icons/folder.png | 71 | share/fotoxx/icons/folder.png | |
56 | share/fotoxx/icons/folder256.png | 72 | share/fotoxx/icons/folder256.png | |
57 | share/fotoxx/icons/fotoxx.png | 73 | share/fotoxx/icons/fotoxx.png | |
74 | share/fotoxx/icons/fotoxx128.png | |||
75 | share/fotoxx/icons/fotoxx16.png | |||
76 | share/fotoxx/icons/fotoxx24.png | |||
77 | share/fotoxx/icons/fotoxx32.png | |||
78 | share/fotoxx/icons/fotoxx48.png | |||
79 | share/fotoxx/icons/fotoxx64.png | |||
58 | share/fotoxx/icons/gallery.png | 80 | share/fotoxx/icons/gallery.png | |
59 | share/fotoxx/icons/help.png | 81 | share/fotoxx/icons/help.png | |
60 | share/fotoxx/icons/last-page.png | 82 | share/fotoxx/icons/last-page.png | |
61 | share/fotoxx/icons/next-page.png | 83 | share/fotoxx/icons/next-page.png | |
62 | share/fotoxx/icons/next-row.png | 84 | share/fotoxx/icons/next-row.png | |
63 | share/fotoxx/icons/next.png | 85 | share/fotoxx/icons/next.png | |
64 | share/fotoxx/icons/open+W.png | 86 | share/fotoxx/icons/open+W.png | |
65 | share/fotoxx/icons/open.png | 87 | share/fotoxx/icons/open.png | |
66 | share/fotoxx/icons/prev-page.png | 88 | share/fotoxx/icons/prev-page.png | |
67 | share/fotoxx/icons/prev-row.png | 89 | share/fotoxx/icons/prev-row.png | |
68 | share/fotoxx/icons/prev.png | 90 | share/fotoxx/icons/prev.png | |
69 | share/fotoxx/icons/print.png | 91 | share/fotoxx/icons/print.png | |
70 | share/fotoxx/icons/quit.png | 92 | share/fotoxx/icons/quit.png | |
71 | share/fotoxx/icons/redo.png | 93 | share/fotoxx/icons/redo.png | |
72 | share/fotoxx/icons/save+F.png | 94 | share/fotoxx/icons/save+F.png | |
73 | share/fotoxx/icons/save+V.png | 95 | share/fotoxx/icons/save+V.png | |
74 | share/fotoxx/icons/save.png | 96 | share/fotoxx/icons/save.png | |
75 | share/fotoxx/icons/trash.png | 97 | share/fotoxx/icons/trash.png | |
76 | share/fotoxx/icons/undo.png | 98 | share/fotoxx/icons/undo.png | |
77 | share/fotoxx/icons/zoom+.png | 99 | share/fotoxx/icons/zoom+.png | |
78 | share/fotoxx/icons/zoom-.png | 100 | share/fotoxx/icons/zoom-.png | |
79 | share/fotoxx/locales/de/fotoxx.po | 101 | share/fotoxx/locales/fotoxx-de.po | |
80 | share/fotoxx/locales/de/zfuncs.po | 102 | share/fotoxx/locales/fotoxx-en.po | |
81 | share/fotoxx/locales/en/fotoxx.po | 103 | share/fotoxx/locales/fotoxx-es.po | |
82 | share/fotoxx/locales/en/zfuncs.po | 104 | share/fotoxx/locales/fotoxx-fr.po | |
83 | share/fotoxx/locales/es/fotoxx.po | 105 | share/fotoxx/locales/fotoxx-gl.po | |
84 | share/fotoxx/locales/es/zfuncs.po | 106 | share/fotoxx/locales/fotoxx-it.po | |
85 | share/fotoxx/locales/fr/fotoxx.po | 107 | share/fotoxx/locales/fotoxx-nl.po | |
86 | share/fotoxx/locales/fr/zfuncs.po | 108 | share/fotoxx/locales/fotoxx-pt.po | |
87 | share/fotoxx/locales/gl/fotoxx.po | 109 | share/fotoxx/locales/fotoxx-ru.po | |
88 | share/fotoxx/locales/gl/zfuncs.po | 110 | share/fotoxx/locales/fotoxx-sv.po | |
89 | share/fotoxx/locales/it/fotoxx.po | 111 | share/fotoxx/locales/fotoxx-zh_CN.po | |
90 | share/fotoxx/locales/it/zfuncs.po | |||
91 | share/fotoxx/locales/nl/fotoxx.po | |||
92 | share/fotoxx/locales/nl/zfuncs.po | |||
93 | share/fotoxx/locales/pt/fotoxx.po | |||
94 | share/fotoxx/locales/pt/zfuncs.po | |||
95 | share/fotoxx/locales/ru/fotoxx.po | |||
96 | share/fotoxx/locales/ru/zfuncs.po | |||
97 | share/fotoxx/locales/sv/fotoxx.po | |||
98 | share/fotoxx/locales/sv/zfuncs.po | |||
99 | share/fotoxx/locales/zh_CN/fotoxx.po | |||
100 | share/fotoxx/locales/zh_CN/zfuncs.po |
@@ -1,8 +1,8 @@ | @@ -1,8 +1,8 @@ | |||
1 | $NetBSD: distinfo,v 1.9 2011/11/20 00:00:28 ryoon Exp $ | 1 | $NetBSD: distinfo,v 1.10 2012/01/08 12:35:45 ryoon Exp $ | |
2 | 2 | |||
3 | SHA1 (fotoxx-11.11.1.tar.gz) = e37a0cd38427797d702735d6a57126f5ad400bf3 | 3 | SHA1 (fotoxx-12.01.2.tar.gz) = f846318c2641d3ac781da8cf5214e376923c028c | |
4 | RMD160 (fotoxx-11.11.1.tar.gz) = 8d74c14b291edb5c4ddc7a5e3ba4287301897bf7 | 4 | RMD160 (fotoxx-12.01.2.tar.gz) = f80a0154a6405466a3b711f5e5605b5979375eaa | |
5 | Size (fotoxx-11.11.1.tar.gz) = 1471552 bytes | 5 | Size (fotoxx-12.01.2.tar.gz) = 1685182 bytes | |
6 | SHA1 (patch-aa) = 86bd4e42c1afde0268580a0438e123678ca2999e | 6 | SHA1 (patch-aa) = 78b8e1cf6583da2899e5cf9a84521f54a4061951 | |
7 | SHA1 (patch-ab) = 8a4ad79d29194a8c124ccc08d3969265d1ba33ee | 7 | SHA1 (patch-ab) = 8b4df0666e7579f41ff150f63daf9d5233a2e9c1 | |
8 | SHA1 (patch-ac) = ad0a25f030f6c897fc25af2803add2979068323b | 8 | SHA1 (patch-ac) = c27796ad30c072e7f1e7e5879b75f206c4bc82be |
@@ -1,23 +1,23 @@ | @@ -1,23 +1,23 @@ | |||
1 | $NetBSD: patch-aa,v 1.7 2011/11/20 00:00:28 ryoon Exp $ | 1 | $NetBSD: patch-aa,v 1.8 2012/01/08 12:35:45 ryoon Exp $ | |
2 | 2 | |||
3 | --- Makefile.orig 2011-11-05 05:30:36.000000000 +0000 | 3 | --- Makefile.orig 2012-01-04 08:47:11.000000000 +0000 | |
4 | +++ Makefile | 4 | +++ Makefile | |
5 | @@ -13,7 +13,7 @@ SHAREDIR = $(PREFIX)/share/fotoxx | 5 | @@ -13,7 +13,7 @@ SHAREDIR = $(PREFIX)/share/fotoxx | |
6 | ICONDIR = $(SHAREDIR)/icons | 6 | ICONDIR = $(SHAREDIR)/icons | |
7 | LOCALESDIR = $(SHAREDIR)/locales | 7 | LOCALESDIR = $(SHAREDIR)/locales | |
8 | DOCDIR = $(PREFIX)/share/doc/fotoxx | 8 | DOCDIR = $(PREFIX)/share/doc/fotoxx | |
9 | -MANDIR = $(PREFIX)/share/man/man1 | 9 | -MANDIR = $(PREFIX)/share/man/man1 | |
10 | +MANDIR = $(PREFIX)/man/man1 | 10 | +MANDIR = $(PREFIX)/man/man1 | |
11 | MENUFILE = $(PREFIX)/share/applications/kornelix-fotoxx.desktop | 11 | MENUFILE = $(PREFIX)/share/applications/kornelix-fotoxx.desktop | |
12 | 12 | |||
13 | CFLAGS = $(CXXFLAGS) -c `pkg-config --cflags gtk+-2.0` | 13 | CFLAGS = $(CXXFLAGS) -c `pkg-config --cflags gtk+-2.0` | |
14 | @@ -25,8 +25,7 @@ fotoxx: fotoxx.o fotoxx_tools.o fotoxx_a | 14 | @@ -23,8 +23,7 @@ fotoxx: fotoxx.o f.file.o f.tools.o f.s | |
15 | $(CXX) $(LDFLAGS) fotoxx.o fotoxx_tools.o fotoxx_area.o fotoxx_info.o \ | 15 | f.transform.o f.art.o f.comp.o f.navi.o zfuncs.o | |
16 | fotoxx_retouch.o fotoxx_transform.o fotoxx_art.o fotoxx_comp.o \ | 16 | $(CXX) $(LDFLAGS) -o fotoxx fotoxx.o f.file.o f.tools.o f.select.o f.info.o \ | |
17 | zfuncs.o \ | 17 | f.retouch.o f.transform.o f.art.o f.comp.o f.navi.o zfuncs.o \ | |
18 | - $(LIBS) -ltiff -o fotoxx | 18 | - $(LIBS) -ltiff | |
19 | - @ ./dependencies.sh | 19 | - @ ./dependencies.sh | |
20 | + $(LIBS) -ltiff -o fotoxx -lcompat | 20 | + $(LIBS) -ltiff -lcompat | |
21 | 21 | |||
22 | fotoxx.o: $(PROGRAM) fotoxx.h | 22 | fotoxx.o: fotoxx-$(VERSION) fotoxx.h | |
23 | $(CXX) $(CFLAGS) -o fotoxx.o $(PROGRAM) | 23 | $(CXX) $(CFLAGS) -o fotoxx.o fotoxx-$(VERSION) |
@@ -1,36 +1,36 @@ | @@ -1,36 +1,36 @@ | |||
1 | $NetBSD: patch-ab,v 1.6 2011/10/05 14:21:45 ryoon Exp $ | 1 | $NetBSD: patch-ab,v 1.7 2012/01/08 12:35:45 ryoon Exp $ | |
2 | 2 | |||
3 | --- zfuncs.cc.orig 2011-10-01 13:52:21.000000000 +0000 | 3 | --- zfuncs.cc.orig 2012-01-04 08:47:11.000000000 +0000 | |
4 | +++ zfuncs.cc | 4 | +++ zfuncs.cc | |
5 | @@ -77,6 +77,7 @@ void zappcrash(cchar *pMess, ... ) | 5 | @@ -81,6 +81,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 __linux__ | 9 | +#ifdef __linux__ | |
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,6 +85,7 @@ void zappcrash(cchar *pMess, ... ) | 13 | @@ -88,6 +89,7 @@ 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 | |
17 | +#endif | 17 | +#endif | |
18 | 18 | |||
19 | fprintf(fid1,"zappcrash: \n %s \n",message); // output message to text file | 19 | fprintf(fid1,"zappcrash: \n %s \n",message); // output message to text file | |
20 | 20 | |||
21 | @@ -94,6 +96,7 @@ void zappcrash(cchar *pMess, ... ) | 21 | @@ -98,6 +100,7 @@ void zappcrash(cchar *pMess, ... ) | |
22 | } | 22 | } | |
23 | progexe[cc] = 0; | 23 | progexe[cc] = 0; | |
24 | 24 | |||
25 | +#ifdef __linux__ | 25 | +#ifdef __linux__ | |
26 | for (ii = 0; ii < nstack; ii++) // output backtrace to text file | 26 | for (ii = 0; ii < nstack; ii++) // output backtrace to text file | |
27 | { | 27 | { | |
28 | pfunc = 0; | 28 | pfunc = 0; | |
29 | @@ -113,6 +116,7 @@ void zappcrash(cchar *pMess, ... ) | 29 | @@ -117,6 +120,7 @@ void zappcrash(cchar *pMess, ... ) | |
30 | 30 | |||
31 | fprintf(fid1," %s %s \n",stackents[ii],pfunc); // write to text file | 31 | fprintf(fid1," %s %s \n",stackents[ii],pfunc); // write to text file | |
32 | } | 32 | } | |
33 | +#endif | 33 | +#endif | |
34 | 34 | |||
35 | fclose(fid1); | 35 | fclose(fid1); | |
36 | 36 |
@@ -1,17 +1,17 @@ | @@ -1,17 +1,17 @@ | |||
1 | $NetBSD: patch-ac,v 1.8 2011/11/20 00:00:28 ryoon Exp $ | 1 | $NetBSD: patch-ac,v 1.9 2012/01/08 12:35:45 ryoon Exp $ | |
2 | 2 | |||
3 | --- zfuncs.h.orig 2011-11-05 05:30:36.000000000 +0000 | 3 | --- zfuncs.h.orig 2012-01-04 08:47:11.000000000 +0000 | |
4 | +++ zfuncs.h | 4 | +++ zfuncs.h | |
5 | @@ -36,7 +36,12 @@ | 5 | @@ -36,7 +36,12 @@ | |
6 | #include <pthread.h> | 6 | #include <pthread.h> | |
7 | #include <errno.h> | 7 | #include <errno.h> | |
8 | #include <signal.h> | 8 | #include <signal.h> | |
9 | +#ifdef __linux__ | 9 | +#ifdef __linux__ | |
10 | #include <execinfo.h> | 10 | #include <execinfo.h> | |
11 | +#else | 11 | +#else | |
12 | +#include <sys/param.h> | 12 | +#include <sys/param.h> | |
13 | +#include <sys/wait.h> | 13 | +#include <sys/wait.h> | |
14 | +#endif | 14 | +#endif | |
15 | #include <locale.h> | 15 | #include <locale.h> | |
16 | 16 | |||
17 | #define int8 char // number types | 17 | #include <gtk/gtk.h> |