Update to 12.10 Changelog: Fotoxx change log ================= 2012.10.01 v.12.10 + This release focuses on user interface and efficiency improvements. + The user manual and F1 help are now available in Castilian Spanish. + The search index was revised for greater scalability. Metadata edits and related image searching should remain fast beyond 500K images. A fresh resync of the search index will be done at first startup. + A custom graphic menu in a popup window was implemented. Frequently used functions can be added and the layout arranged to taste. + RAW files can be opened in Ufraw (menu or thumbnail click). + A more precise world map was implemented (new download will be made). + Large image files open 30% faster and memory consumption is reduced. + The batch RAW converter now has a dialog to configure the parameters. + New pan/scroll mode: image sticks to mouse and moves with mouse. + Stop unnecessary refreshes of the image gallery for metadata edits. + Added support for exotic PNG formats (e.g. palletized) via GTK library. + Vignette bugfix: stop radius increase if vignette is moved off-center. 2012.09.01 v.12.09.1 Bugfix: memory management error having uncertain impact. 2012.09.01 v.12.09 + RAW files can be opened via menu, command line or drag and drop. + RAW files can be seen in thumbnail galleries like other image files. + RAW file editing tool Ufraw was integrated into the Fotoxx menu. + RAW file batch conversion parameters (dcraw) are user configurable. + RAW file batch conversion is faster (about 50/minute on a strong PC). + A wavelet denoise method was added (adapted from ufraw/dcraw). + Deep color PNG files are supported (16 bits/color). + Vignette: center of shading/brightening can be moved with the mouse. + Images can be copied to the clipboard with a right-click popup menu. + Trim: target circle added in the middle of the trim rectangle. + World map shows locations of geotagged photos, click to see gallery. + User interface simplified for location-based or map-based image search. + A tool was added to remove chromatic abberation (color fringes). + Select area by mouse and color: small user interface improvement. + More dialogs preserve user inputs within and across Fotoxx sessions. + New command line option: start up with a specified menu function. + Panorama: option for zero image curve (e.g. to combine scanned images). + Gallery is updated live if a file add/delete is done outside Fotoxx. + Bugfix: click geotag group >> gallery window sometimes did nothing. + Bugfix: memory leak when processing metadata (tags, captions ...). 2012.08.20 v.12.08.1 + New GUI translation for Catalan is available. + Bugfix: bad fflush() call in exiftool_server caused fotoxx to crash in some distros using newest c-libraries (observed in Mageia alpha).diff -r1.27 -r1.28 pkgsrc/graphics/fotoxx/Makefile
(ryoon)
@@ -1,30 +1,30 @@ | @@ -1,30 +1,30 @@ | |||
1 | # $NetBSD: Makefile,v 1.27 2012/09/15 10:04:51 obache Exp $ | 1 | # $NetBSD: Makefile,v 1.28 2012/10/01 13:02:24 ryoon Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | DISTNAME= fotoxx-12.08 | 4 | DISTNAME= fotoxx-12.10 | |
5 | PKGREVISION= 2 | |||
6 | CATEGORIES= graphics | 5 | CATEGORIES= graphics | |
7 | MASTER_SITES= http://www.kornelix.com/uploads/1/3/0/3/13035936/ | 6 | MASTER_SITES= http://www.kornelix.com/uploads/1/3/0/3/13035936/ | |
8 | 7 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= http://www.kornelix.com/fotoxx.html | 9 | HOMEPAGE= http://www.kornelix.com/fotoxx.html | |
11 | COMMENT= Program for editing image files from a digital camera | 10 | COMMENT= Program for editing image files from a digital camera | |
12 | LICENSE= gnu-gpl-v3 | 11 | LICENSE= gnu-gpl-v3 | |
13 | 12 | |||
14 | PKG_DESTDIR_SUPPORT= user-destdir | 13 | PKG_DESTDIR_SUPPORT= user-destdir | |
15 | 14 | |||
16 | DEPENDS+= xdg-utils-[0-9]*:../../misc/xdg-utils | 15 | DEPENDS+= xdg-utils-[0-9]*:../../misc/xdg-utils | |
17 | DEPENDS+= p5-Image-ExifTool-[0-9]*:../../graphics/p5-Image-ExifTool | 16 | DEPENDS+= p5-Image-ExifTool-[0-9]*:../../graphics/p5-Image-ExifTool | |
17 | DEPENDS+= dcraw-[0-9]*:../../graphics/dcraw | |||
18 | DEPENDS+= gimp-ufraw-[0-9]*:../../graphics/gimp-ufraw | 18 | DEPENDS+= gimp-ufraw-[0-9]*:../../graphics/gimp-ufraw | |
19 | 19 | |||
20 | USE_LANGUAGES= c++ | 20 | USE_LANGUAGES= c++ | |
21 | USE_TOOLS+= pkg-config | 21 | USE_TOOLS+= pkg-config | |
22 | TOOLS_NOOP+= xdg-desktop-menu | 22 | TOOLS_NOOP+= xdg-desktop-menu | |
23 | 23 | |||
24 | BUILD_TARGET= fotoxx | 24 | BUILD_TARGET= fotoxx | |
25 | INSTALL_TARGET= install | 25 | INSTALL_TARGET= install | |
26 | 26 | |||
27 | .include "../../mk/bsd.prefs.mk" | 27 | .include "../../mk/bsd.prefs.mk" | |
28 | 28 | |||
29 | .if exists(/usr/include/execinfo.h) | 29 | .if exists(/usr/include/execinfo.h) | |
30 | CXXFLAGS+= -DHAVE_EXECINFO_H | 30 | CXXFLAGS+= -DHAVE_EXECINFO_H |
@@ -1,109 +1,119 @@ | @@ -1,109 +1,119 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.12 2012/08/12 07:20:15 ryoon Exp $ | 1 | @comment $NetBSD: PLIST,v 1.13 2012/10/01 13:02:24 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/KB-shortcuts | 5 | share/doc/fotoxx/KB-shortcuts | |
6 | share/doc/fotoxx/README | 6 | share/doc/fotoxx/README | |
7 | share/doc/fotoxx/changelog | 7 | share/doc/fotoxx/changelog | |
8 | share/doc/fotoxx/copyright | 8 | share/doc/fotoxx/copyright | |
9 | share/doc/fotoxx/edit-menus | 9 | share/doc/fotoxx/edit-menus | |
10 | share/doc/fotoxx/fotoxx.man | 10 | share/doc/fotoxx/fotoxx.man | |
11 | share/doc/fotoxx/images/DRGB.jpg | 11 | share/doc/fotoxx/images/CMYK.jpg | |
12 | share/doc/fotoxx/images/HDF-paint.jpg | 12 | share/doc/fotoxx/images/HDF-paint.jpg | |
13 | share/doc/fotoxx/images/HDR-adjust.jpg | 13 | share/doc/fotoxx/images/HDR-adjust.jpg | |
14 | share/doc/fotoxx/images/add-geotags.jpg | |||
14 | share/doc/fotoxx/images/annotate.jpg | 15 | share/doc/fotoxx/images/annotate.jpg | |
15 | share/doc/fotoxx/images/auto-trim.jpg | 16 | share/doc/fotoxx/images/auto-trim.jpg | |
16 | share/doc/fotoxx/images/batch-add-geotags.jpg | 17 | share/doc/fotoxx/images/batch-add-geotags.jpg | |
18 | share/doc/fotoxx/images/batch-raw-conv.jpg | |||
17 | share/doc/fotoxx/images/batch-rename.jpg | 19 | share/doc/fotoxx/images/batch-rename.jpg | |
18 | share/doc/fotoxx/images/batch-resize-export.jpg | 20 | share/doc/fotoxx/images/batch-resize-export.jpg | |
19 | share/doc/fotoxx/images/bright-ramp.jpg | 21 | share/doc/fotoxx/images/bright-ramp.jpg | |
20 | share/doc/fotoxx/images/brightness-color.jpg | 22 | share/doc/fotoxx/images/brightness-color.jpg | |
23 | share/doc/fotoxx/images/chromatic.jpg | |||
24 | share/doc/fotoxx/images/colorchart.png | |||
21 | share/doc/fotoxx/images/curve-edit.jpg | 25 | share/doc/fotoxx/images/curve-edit.jpg | |
26 | share/doc/fotoxx/images/denoise.jpg | |||
22 | share/doc/fotoxx/images/edit-caption-comments.jpg | 27 | share/doc/fotoxx/images/edit-caption-comments.jpg | |
23 | share/doc/fotoxx/images/edit-geotags.jpg | |||
24 | share/doc/fotoxx/images/edit-pixels.jpg | |||
25 | share/doc/fotoxx/images/edit-tags.jpg | 28 | share/doc/fotoxx/images/edit-tags.jpg | |
26 | share/doc/fotoxx/images/edit-translation.jpg | 29 | share/doc/fotoxx/images/edit-translation.jpg | |
27 | share/doc/fotoxx/images/expand-brightness.jpg | 30 | share/doc/fotoxx/images/expand-brightness.jpg | |
31 | share/doc/fotoxx/images/favorites.jpg | |||
28 | share/doc/fotoxx/images/flatten.jpg | 32 | share/doc/fotoxx/images/flatten.jpg | |
29 | share/doc/fotoxx/images/gallery-selection.jpg | 33 | share/doc/fotoxx/images/gallery-selection.jpg | |
30 | share/doc/fotoxx/images/gallery-toolbar.jpg | 34 | share/doc/fotoxx/images/gallery-toolbar.jpg | |
31 | share/doc/fotoxx/images/gamma-curve.jpg | 35 | share/doc/fotoxx/images/gamma-curve.jpg | |
32 | share/doc/fotoxx/images/gammachart.png | 36 | share/doc/fotoxx/images/gammachart.png | |
33 | share/doc/fotoxx/images/geotag-groups.jpg | 37 | share/doc/fotoxx/images/geotag-groups.jpg | |
34 | share/doc/fotoxx/images/grid-lines.jpg | 38 | share/doc/fotoxx/images/grid-lines.jpg | |
35 | share/doc/fotoxx/images/lens-parameters.jpg | 39 | share/doc/fotoxx/images/keystone.jpg | |
36 | share/doc/fotoxx/images/leverage-edits.jpg | 40 | share/doc/fotoxx/images/leverage-edits.jpg | |
41 | share/doc/fotoxx/images/main-toolbar.jpg | |||
37 | share/doc/fotoxx/images/manage-collections.jpg | 42 | share/doc/fotoxx/images/manage-collections.jpg | |
38 | share/doc/fotoxx/images/match-colors.jpg | 43 | share/doc/fotoxx/images/match-colors.jpg | |
39 | share/doc/fotoxx/images/navigation.jpg | 44 | share/doc/fotoxx/images/navigation.jpg | |
40 | share/doc/fotoxx/images/paint-edits.jpg | 45 | share/doc/fotoxx/images/paint-edits.jpg | |
46 | share/doc/fotoxx/images/paint-pixels.jpg | |||
41 | share/doc/fotoxx/images/pano-color.jpg | 47 | share/doc/fotoxx/images/pano-color.jpg | |
42 | share/doc/fotoxx/images/pano-pre-align.jpg | 48 | share/doc/fotoxx/images/pano-pre-align.jpg | |
43 | share/doc/fotoxx/images/print.jpg | 49 | share/doc/fotoxx/images/print.jpg | |
44 | share/doc/fotoxx/images/remove-dust.jpg | 50 | share/doc/fotoxx/images/remove-dust.jpg | |
45 | share/doc/fotoxx/images/rename.jpeg | 51 | share/doc/fotoxx/images/rename.jpg | |
46 | share/doc/fotoxx/images/resize.jpg | 52 | share/doc/fotoxx/images/resize.jpg | |
47 | share/doc/fotoxx/images/revise-RGB.jpg | 53 | share/doc/fotoxx/images/revise-RGB.jpg | |
48 | share/doc/fotoxx/images/rotate.jpg | 54 | share/doc/fotoxx/images/rotate.jpg | |
49 | share/doc/fotoxx/images/rotate2.jpg | 55 | share/doc/fotoxx/images/rotate2.jpg | |
50 | share/doc/fotoxx/images/rotate3.jpg | 56 | share/doc/fotoxx/images/rotate3.jpg | |
51 | share/doc/fotoxx/images/save-as.jpg | 57 | share/doc/fotoxx/images/save-as.jpg | |
52 | share/doc/fotoxx/images/search-images-metadata.jpg | 58 | share/doc/fotoxx/images/search-images-metadata.jpg | |
53 | share/doc/fotoxx/images/search-images.jpg | 59 | share/doc/fotoxx/images/search-images.jpg | |
54 | share/doc/fotoxx/images/select-area.jpg | 60 | share/doc/fotoxx/images/select-area.jpg | |
55 | share/doc/fotoxx/images/sharpen.jpeg | 61 | share/doc/fotoxx/images/sharpen.jpeg | |
56 | share/doc/fotoxx/images/show-RGB.jpg | 62 | share/doc/fotoxx/images/show-RGB.jpg | |
57 | share/doc/fotoxx/images/slide-show.jpg | 63 | share/doc/fotoxx/images/slide-show.jpg | |
58 | share/doc/fotoxx/images/smart-erase.jpg | 64 | share/doc/fotoxx/images/smart-erase.jpg | |
59 | share/doc/fotoxx/images/stack-noise.jpg | 65 | share/doc/fotoxx/images/stack-noise.jpg | |
60 | share/doc/fotoxx/images/stack-paint.jpg | 66 | share/doc/fotoxx/images/stack-paint.jpg | |
61 | share/doc/fotoxx/images/straighten-image.jpg | |||
62 | share/doc/fotoxx/images/stuck-pixels.jpg | 67 | share/doc/fotoxx/images/stuck-pixels.jpg | |
63 | share/doc/fotoxx/images/synchronize.jpg | 68 | share/doc/fotoxx/images/synchronize.jpg | |
64 | share/doc/fotoxx/images/tone-mapping.jpg | 69 | share/doc/fotoxx/images/tone-mapping.jpg | |
65 | share/doc/fotoxx/images/trim.jpg | 70 | share/doc/fotoxx/images/trim.jpg | |
66 | share/doc/fotoxx/images/unbend.png | 71 | share/doc/fotoxx/images/unbend.jpg | |
67 | share/doc/fotoxx/images/user-settings.jpg | 72 | share/doc/fotoxx/images/user-settings.jpg | |
68 | share/doc/fotoxx/images/vignette.jpg | 73 | share/doc/fotoxx/images/vignette.jpg | |
69 | share/doc/fotoxx/images/warps.jpg | 74 | share/doc/fotoxx/images/warps.jpg | |
70 | share/doc/fotoxx/images/watermark.jpg | 75 | share/doc/fotoxx/images/watermark.jpg | |
71 | share/doc/fotoxx/images/white-balance.jpg | 76 | share/doc/fotoxx/images/white-balance.jpg | |
72 | share/doc/fotoxx/translations | 77 | share/doc/fotoxx/translations | |
73 | share/doc/fotoxx/userguide-en.html | 78 | share/doc/fotoxx/userguide-en.html | |
79 | share/doc/fotoxx/userguide-es.html | |||
74 | share/doc/fotoxx/userguide-it.html | 80 | share/doc/fotoxx/userguide-it.html | |
81 | share/fotoxx/icons/bottom.png | |||
82 | share/fotoxx/icons/cancel.png | |||
83 | share/fotoxx/icons/discard.png | |||
84 | share/fotoxx/icons/down+.png | |||
85 | share/fotoxx/icons/down.png | |||
86 | share/fotoxx/icons/favorites.png | |||
75 | share/fotoxx/icons/fg-color.png | 87 | share/fotoxx/icons/fg-color.png | |
76 | share/fotoxx/icons/first-page.png | |||
77 | share/fotoxx/icons/folder256.png | 88 | share/fotoxx/icons/folder256.png | |
78 | share/fotoxx/icons/fotoxx-banner.png | 89 | share/fotoxx/icons/fotoxx-banner.png | |
79 | share/fotoxx/icons/fotoxx.png | 90 | share/fotoxx/icons/fotoxx.png | |
80 | share/fotoxx/icons/help.png | 91 | share/fotoxx/icons/help.png | |
81 | share/fotoxx/icons/last-page.png | |||
82 | share/fotoxx/icons/next-page.png | |||
83 | share/fotoxx/icons/next-row.png | |||
84 | share/fotoxx/icons/next.png | 92 | share/fotoxx/icons/next.png | |
85 | share/fotoxx/icons/open.png | 93 | share/fotoxx/icons/open.png | |
86 | share/fotoxx/icons/prev-page.png | |||
87 | share/fotoxx/icons/prev-row.png | |||
88 | share/fotoxx/icons/prev.png | 94 | share/fotoxx/icons/prev.png | |
89 | share/fotoxx/icons/print.png | 95 | share/fotoxx/icons/print.png | |
90 | share/fotoxx/icons/quit.png | 96 | share/fotoxx/icons/quit.png | |
91 | share/fotoxx/icons/redo.png | 97 | share/fotoxx/icons/redo.png | |
92 | share/fotoxx/icons/save+F.png | 98 | share/fotoxx/icons/save+F.png | |
93 | share/fotoxx/icons/save+V.png | 99 | share/fotoxx/icons/save+V.png | |
94 | share/fotoxx/icons/save.png | 100 | share/fotoxx/icons/save.png | |
101 | share/fotoxx/icons/top.png | |||
95 | share/fotoxx/icons/trash.png | 102 | share/fotoxx/icons/trash.png | |
96 | share/fotoxx/icons/undo.png | 103 | share/fotoxx/icons/undo.png | |
104 | share/fotoxx/icons/up+.png | |||
105 | share/fotoxx/icons/up.png | |||
97 | share/fotoxx/icons/zoom+.png | 106 | share/fotoxx/icons/zoom+.png | |
98 | share/fotoxx/icons/zoom-.png | 107 | share/fotoxx/icons/zoom-.png | |
108 | share/fotoxx/locales/fotoxx-ca.po | |||
99 | share/fotoxx/locales/fotoxx-de.po | 109 | share/fotoxx/locales/fotoxx-de.po | |
100 | share/fotoxx/locales/fotoxx-en.po | 110 | share/fotoxx/locales/fotoxx-en.po | |
101 | share/fotoxx/locales/fotoxx-es.po | 111 | share/fotoxx/locales/fotoxx-es.po | |
102 | share/fotoxx/locales/fotoxx-fr.po | 112 | share/fotoxx/locales/fotoxx-fr.po | |
103 | share/fotoxx/locales/fotoxx-gl.po | 113 | share/fotoxx/locales/fotoxx-gl.po | |
104 | share/fotoxx/locales/fotoxx-it.po | 114 | share/fotoxx/locales/fotoxx-it.po | |
105 | share/fotoxx/locales/fotoxx-nl.po | 115 | share/fotoxx/locales/fotoxx-nl.po | |
106 | share/fotoxx/locales/fotoxx-pt.po | 116 | share/fotoxx/locales/fotoxx-pt.po | |
107 | share/fotoxx/locales/fotoxx-ru.po | 117 | share/fotoxx/locales/fotoxx-ru.po | |
108 | share/fotoxx/locales/fotoxx-sv.po | 118 | share/fotoxx/locales/fotoxx-sv.po | |
109 | share/fotoxx/locales/fotoxx-zh_CN.po | 119 | share/fotoxx/locales/fotoxx-zh_CN.po |
@@ -1,8 +1,8 @@ | @@ -1,8 +1,8 @@ | |||
1 | $NetBSD: distinfo,v 1.15 2012/08/25 22:12:10 dholland Exp $ | 1 | $NetBSD: distinfo,v 1.16 2012/10/01 13:02:24 ryoon Exp $ | |
2 | 2 | |||
3 | SHA1 (fotoxx-12.08.tar.gz) = 719e24de33cd2a1826302529987c1c97c19f5bb6 | 3 | SHA1 (fotoxx-12.10.tar.gz) = f8c096950e18b2ca8d282ae952dceffb48c4d0e8 | |
4 | RMD160 (fotoxx-12.08.tar.gz) = 6bd8b614dd6d9b5e1cae183fb8e3f9163a1a600f | 4 | RMD160 (fotoxx-12.10.tar.gz) = 7dcd1613c0c8e5ec4998d898e53a53364f07bbb9 | |
5 | Size (fotoxx-12.08.tar.gz) = 1800791 bytes | 5 | Size (fotoxx-12.10.tar.gz) = 1968889 bytes | |
6 | SHA1 (patch-aa) = 1640bf95c015519c215eeb2dafcf74cc1fb4f9a1 | 6 | SHA1 (patch-aa) = 40d89dacc4df94930aec3039e208a0ad5f00b3a7 | |
7 | SHA1 (patch-ab) = 69785c5fb66fc01df74bf7d6fe3b4487260b851f | 7 | SHA1 (patch-ab) = c5ae349a6deb88dc17a2e735569b72a9bcaad1de | |
8 | SHA1 (patch-ac) = d5443ab4e5931b4cc0e423a529280f2a1f1158fc | 8 | SHA1 (patch-ac) = 86dc405274a9f21d4271fa850937cea4bba2cf9d |
@@ -1,22 +1,24 @@ | @@ -1,22 +1,24 @@ | |||
1 | $NetBSD: patch-aa,v 1.10 2012/08/12 07:20:15 ryoon Exp $ | 1 | $NetBSD: patch-aa,v 1.11 2012/10/01 13:02:24 ryoon Exp $ | |
2 | 2 | |||
3 | --- Makefile.orig 2012-08-04 11:58:30.000000000 +0000 | 3 | * Pass LDFLAGS from pkgsrc's Makefile | |
4 | ||||
5 | --- Makefile.orig 2012-09-29 12:32:40.000000000 +0000 | |||
4 | +++ Makefile | 6 | +++ Makefile | |
5 | @@ -13,7 +13,7 @@ SHAREDIR = $(PREFIX)/share/fotoxx | 7 | @@ -13,7 +13,7 @@ SHAREDIR = $(PREFIX)/share/fotoxx | |
6 | ICONDIR = $(SHAREDIR)/icons | 8 | ICONDIR = $(SHAREDIR)/icons | |
7 | LOCALESDIR = $(SHAREDIR)/locales | 9 | LOCALESDIR = $(SHAREDIR)/locales | |
8 | DOCDIR = $(PREFIX)/share/doc/fotoxx | 10 | DOCDIR = $(PREFIX)/share/doc/fotoxx | |
9 | -MANDIR = $(PREFIX)/share/man/man1 | 11 | -MANDIR = $(PREFIX)/share/man/man1 | |
10 | +MANDIR = $(PREFIX)/${PKGMANDIR}/man1 | 12 | +MANDIR = $(PREFIX)/${PKGMANDIR}/man1 | |
11 | MENUFILE = $(PREFIX)/share/applications/kornelix-fotoxx.desktop | 13 | MENUFILE = $(PREFIX)/share/applications/kornelix-fotoxx.desktop | |
12 | 14 | |||
13 | CFLAGS = $(CXXFLAGS) -c `pkg-config --cflags gtk+-3.0` | 15 | CFLAGS = $(CXXFLAGS) -c `pkg-config --cflags gtk+-3.0` | |
14 | @@ -23,7 +23,7 @@ fotoxx: fotoxx.o f.file.o f.tools.o f.s | 16 | @@ -23,7 +23,7 @@ fotoxx: fotoxx.o f.file.o f.tools.o f.a | |
15 | f.retouch.o f.art.o f.comp.o zfuncs.o | 17 | f.retouch.o f.art.o f.comp.o zfuncs.o | |
16 | $(CXX) $(LDFLAGS) -o fotoxx fotoxx.o f.file.o f.tools.o f.select.o f.meta.o \ | 18 | $(CXX) $(LDFLAGS) -o fotoxx fotoxx.o f.file.o f.tools.o f.area.o \ | |
17 | f.gallery.o f.xform.o f.retouch.o f.art.o f.comp.o zfuncs.o \ | 19 | f.meta.o f.xform.o f.retouch.o f.art.o f.comp.o zfuncs.o \ | |
18 | - $(LIBS) -ltiff -lpthread | 20 | - $(LIBS) -ltiff -lpthread -lpng | |
19 | + $(LIBS) -ltiff -lpthread ${LDFLAGS} | 21 | + $(LIBS) -ltiff -lpthread -lpng ${LDFLAGS} | |
20 | 22 | |||
21 | fotoxx.o: $(FOTOXX) fotoxx.h | 23 | fotoxx.o: $(FOTOXX) fotoxx.h | |
22 | $(CXX) $(CFLAGS) -o fotoxx.o $(FOTOXX) | 24 | $(CXX) $(CFLAGS) -o fotoxx.o $(FOTOXX) |
@@ -1,14 +1,16 @@ | @@ -1,14 +1,16 @@ | |||
1 | $NetBSD: patch-ab,v 1.10 2012/08/24 20:35:39 ryoon Exp $ | 1 | $NetBSD: patch-ab,v 1.11 2012/10/01 13:02:24 ryoon Exp $ | |
2 | ||||
3 | * Add non-execinfo.h platform support. | |||
2 | 4 | |||
3 | --- zfuncs.cc.orig 2012-08-04 11:58:30.000000000 +0000 | 5 | --- zfuncs.cc.orig 2012-08-04 11:58:30.000000000 +0000 | |
4 | +++ zfuncs.cc | 6 | +++ zfuncs.cc | |
5 | @@ -81,6 +81,7 @@ void zappcrash(cchar *pMess, ... ) | 7 | @@ -81,6 +81,7 @@ void zappcrash(cchar *pMess, ... ) | |
6 | 8 | |||
7 | printf("*** zappcrash: \n %s \n",message); // output message to stdout | 9 | printf("*** zappcrash: \n %s \n",message); // output message to stdout | |
8 | 10 | |||
9 | +#if defined (HAVE_EXECINFO_H) | 11 | +#if defined (HAVE_EXECINFO_H) | |
10 | nstack = backtrace(stacklist,nstack); // get traceback data | 12 | nstack = backtrace(stacklist,nstack); // get traceback data | |
11 | stackents = backtrace_symbols(stacklist,nstack); | 13 | stackents = backtrace_symbols(stacklist,nstack); | |
12 | 14 | |||
13 | @@ -90,6 +91,7 @@ void zappcrash(cchar *pMess, ... ) | 15 | @@ -90,6 +91,7 @@ void zappcrash(cchar *pMess, ... ) | |
14 | fid1 = fopen("zappcrash","w"); // text file for backtrace | 16 | fid1 = fopen("zappcrash","w"); // text file for backtrace |
@@ -1,14 +1,16 @@ | @@ -1,14 +1,16 @@ | |||
1 | $NetBSD: patch-ac,v 1.11 2012/08/25 22:12:10 dholland Exp $ | 1 | $NetBSD: patch-ac,v 1.12 2012/10/01 13:02:24 ryoon Exp $ | |
2 | ||||
3 | * Add non-execinfo.h platform support | |||
2 | 4 | |||
3 | --- zfuncs.h.orig 2012-08-04 11:58:30.000000000 +0000 | 5 | --- zfuncs.h.orig 2012-08-04 11:58:30.000000000 +0000 | |
4 | +++ zfuncs.h | 6 | +++ zfuncs.h | |
5 | @@ -37,7 +37,11 @@ | 7 | @@ -37,7 +37,11 @@ | |
6 | #include <pthread.h> | 8 | #include <pthread.h> | |
7 | #include <errno.h> | 9 | #include <errno.h> | |
8 | #include <signal.h> | 10 | #include <signal.h> | |
9 | +#include <sys/param.h> | 11 | +#include <sys/param.h> | |
10 | +#if defined (HAVE_EXECINFO_H) | 12 | +#if defined (HAVE_EXECINFO_H) | |
11 | #include <execinfo.h> | 13 | #include <execinfo.h> | |
12 | +#endif | 14 | +#endif | |
13 | +#include <sys/wait.h> | 15 | +#include <sys/wait.h> | |
14 | #include <locale.h> | 16 | #include <locale.h> |