View | Details | Raw Unified | Return to bug 57286
Collapse All | Expand All

(-)graphics/xzgv/Makefile (-1 / +2 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	xzgv
8
PORTNAME=	xzgv
9
PORTVERSION=	0.7
9
PORTVERSION=	0.8
10
CATEGORIES=	graphics
10
CATEGORIES=	graphics
11
MASTER_SITES=	http://xzgv.browser.org/ \
11
MASTER_SITES=	http://xzgv.browser.org/ \
12
		${MASTER_SITE_SUNSITE}
12
		${MASTER_SITE_SUNSITE}
Lines 21-26 Link Here
21
USE_GMAKE=	yes
21
USE_GMAKE=	yes
22
22
23
MAN1=		xzgv.1
23
MAN1=		xzgv.1
24
INFO=		xzgv
24
25
25
post-patch:
26
post-patch:
26
	@${REINPLACE_CMD} -e 's|^CC|#CC|g ; \
27
	@${REINPLACE_CMD} -e 's|^CC|#CC|g ; \
(-)graphics/xzgv/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (xzgv-0.7.tar.gz) = 37b5bd8286de9f1047f603879460b364
1
MD5 (xzgv-0.8.tar.gz) = e392277f1447076402df2e3d9e782cb2
(-)graphics/xzgv/files/patch-ad (-199 lines)
Lines 1-199 Link Here
1
--- src/rcfile.c.orig	Tue Jan 16 10:50:47 2001
2
+++ src/rcfile.c	Mon Aug 18 20:03:15 2003
3
@@ -577,101 +578,101 @@
4
 {
5
 printf("xzgv " XZGV_VER
6
        " - (c) 1999,2000 Russell Marks for improbabledesigns.\n");
7
-puts("
8
-usage: xzgv [options] [dir | file ...]
9
-
10
-   -a	--auto-hide	automatically hide selector on selecting a picture.
11
-	--careful-jpeg	enable JPEG `fancy upsampling' (see info file
12
-			or man page).
13
-	--delete-single-prompt
14
-			(normally enabled, use --delete-single-prompt=off to
15
-			disable) if *disabled*, don't prompt for confirmation
16
-			when deleting a file.
17
-	--dither-hicol	use dithering in 15/16-bit to increase apparent
18
-			colour depth, whatever Imlib's default setting is.
19
-			You can also use `--dither-hicol=off' to disable
20
-			this if you normally have Imlib use it.
21
-	--fast-recursive-update
22
-			when doing recursive thumbnail update, don't
23
-			read visible thumbnails for a directory before
24
-			doing the update (only slightly faster).
25
-   -f	--fullscreen	use the whole screen for the xzgv window, without
26
-			even window-manager decorations if possible. (But
27
-			your wm may not care to trust borderless programs.)
28
-   -g	--geometry geom
29
-			use geometry `geom'. For example, `400x300' specifies
30
-			window size in pixels, `70%x50%' specifies size as
31
-			percentage of screen width/height, `+100+50' specifies
32
-			position relative to top-left, and `50%x30%-30%-20%'
33
-			is left as an exercise for the reader. :-) The default
34
-			geometry is `92%x85%'.
35
-			(See info file or man page for more details.)
36
-   -G	--gamma val	set gamma adjustment to `val'. The default is 1.0, i.e.
37
-			no adjustment. (See info file or man page for details,
38
-			and a discussion of gamma issues.)
39
-   -h	--help		give this usage help.
40
-	--image-bigness-threshold numpix
41
-			set the boundary `numpix' above which images are
42
-			considered `big', and rendered piece-by-piece rather
43
-			than all-at-once (which is nicer, but harder on
44
-			memory). Units are number of pixels in image (i.e.
45
-			width times height), and the default is 2000000 pixels.
46
-	--interpolate	interpolate between the picture's pixels when
47
-			scaling up. Usually looks nicer, but it's slow.
48
-	--mouse-scale-x	if enabled, control-click scales only the X axis -
49
-			the default is to scale only the Y axis.
50
-	--revert-orient	(normally enabled, use --revert-orient=off to disable)
51
-			if *disabled*, orientation (flip/mirror/rotate) state
52
-			is retained between pictures.
53
-	--revert-scale	(normally enabled, use --revert-scale=off to disable)
54
-			if *disabled*, scaling is retained between pictures.
55
-	--selector-width width
56
-			set initial/default selector width to `width'. (The
57
-			units used are pixels, and the normal setting 200.)
58
-   -T	--show-tagged	show names of tagged files on exit (they're listed
59
-			to stdout).
60
-	--show-thumbnail-messages
61
-			show on the status bar when thumbnails are being read.
62
-			The status bar must be enabled for the messages to be
63
-			visible, of course. :-)
64
-   -k	--skip-parent	for the first directory shown, skip the cursor past
65
-			`..' (the parent dir). Can be useful when you'd like
66
-			to immediately use space to `page' through the dir.
67
-   -o	--sort-order	set initial sorting order used in the selector.
68
-			Types are `name', `ext', `size', `date' (or `time');
69
-			only the first char (n/e/s/d/t) need be given.
70
-			(The default is name order.)
71
-	--sort-timestamp-type type
72
-			set timestamp type to use when using time/date sorting
73
-			order. Types are `mtime' (default), `ctime', and
74
-			`atime'; only the first char (m/c/a) need be given.
75
-	--statusbar	show a status bar below the selector; this, for
76
-			example, says when a picture is being read.
77
-   -t	--thin-rows	use rows a third the normal height in the selector.
78
-			This can be very useful on lower-resolution screens,
79
-			or if you're really interested in filenames, not
80
-			thumbnails.
81
-   -v	--version	report version number.
82
-	--version-gtk	report version of GTK+ being used by xzgv.
83
-   -z	--zoom		fit pictures in the viewer window, whatever their
84
-			actual size.
85
-   -r	--zoom-reduce-only
86
-			when zooming, only *reduce* pictures to fit; i.e.
87
-			make big pictures viewable all-at-once while leaving
88
-			small picures intact.
89
-
90
-	dir		start xzgv on a certain directory.
91
-	file ...	view (only) the file(s) specified.
92
-
93
-All options are processed after any ~/.xzgvrc or /etc/xzgv.conf file.
94
-Most long options (minus `--') can used in either file with e.g. `zoom on'.
95
-
96
-On/off settings (such as zoom) are enabled by e.g. `-z' or `--zoom';
97
-however, the long-option form `--option=off' can be used to disable
98
-them (needed when they are enabled by default - revert-scale, for
99
-example - or to override them being enabled in a config file).
100
-
101
-(This syntax actually lets you both disable *and* enable options,
102
+puts("\n\
103
+usage: xzgv [options] [dir | file ...]\n\
104
+\n\
105
+   -a	--auto-hide	automatically hide selector on selecting a picture.\n\
106
+	--careful-jpeg	enable JPEG `fancy upsampling' (see info file\n\
107
+			or man page).\n\
108
+	--delete-single-prompt\n\
109
+			(normally enabled, use --delete-single-prompt=off to\n\
110
+			disable) if *disabled*, don't prompt for confirmation\n\
111
+			when deleting a file.\n\
112
+	--dither-hicol	use dithering in 15/16-bit to increase apparent\n\
113
+			colour depth, whatever Imlib's default setting is.\n\
114
+			You can also use `--dither-hicol=off' to disable\n\
115
+			this if you normally have Imlib use it.\n\
116
+	--fast-recursive-update\n\
117
+			when doing recursive thumbnail update, don't\n\
118
+			read visible thumbnails for a directory before\n\
119
+			doing the update (only slightly faster).\n\
120
+   -f	--fullscreen	use the whole screen for the xzgv window, without\n\
121
+			even window-manager decorations if possible. (But\n\
122
+			your wm may not care to trust borderless programs.)\n\
123
+   -g	--geometry geom\n\
124
+			use geometry `geom'. For example, `400x300' specifies\n\
125
+			window size in pixels, `70%x50%' specifies size as\n\
126
+			percentage of screen width/height, `+100+50' specifies\n\
127
+			position relative to top-left, and `50%x30%-30%-20%'\n\
128
+			is left as an exercise for the reader. :-) The default\n\
129
+			geometry is `92%x85%'.\n\
130
+			(See info file or man page for more details.)\n\
131
+   -G	--gamma val	set gamma adjustment to `val'. The default is 1.0, i.e.\n\
132
+			no adjustment. (See info file or man page for details,\n\
133
+			and a discussion of gamma issues.)\n\
134
+   -h	--help		give this usage help.\n\
135
+	--image-bigness-threshold numpix\n\
136
+			set the boundary `numpix' above which images are\n\
137
+			considered `big', and rendered piece-by-piece rather\n\
138
+			than all-at-once (which is nicer, but harder on\n\
139
+			memory). Units are number of pixels in image (i.e.\n\
140
+			width times height), and the default is 2000000 pixels.\n\
141
+	--interpolate	interpolate between the picture's pixels when\n\
142
+			scaling up. Usually looks nicer, but it's slow.\n\
143
+	--mouse-scale-x	if enabled, control-click scales only the X axis -\n\
144
+			the default is to scale only the Y axis.\n\
145
+	--revert-orient	(normally enabled, use --revert-orient=off to disable)\n\
146
+			if *disabled*, orientation (flip/mirror/rotate) state\n\
147
+			is retained between pictures.\n\
148
+	--revert-scale	(normally enabled, use --revert-scale=off to disable)\n\
149
+			if *disabled*, scaling is retained between pictures.\n\
150
+	--selector-width width\n\
151
+			set initial/default selector width to `width'. (The\n\
152
+			units used are pixels, and the normal setting 200.)\n\
153
+   -T	--show-tagged	show names of tagged files on exit (they're listed\n\
154
+			to stdout).\n\
155
+	--show-thumbnail-messages\n\
156
+			show on the status bar when thumbnails are being read.\n\
157
+			The status bar must be enabled for the messages to be\n\
158
+			visible, of course. :-)\n\
159
+   -k	--skip-parent	for the first directory shown, skip the cursor past\n\
160
+			`..' (the parent dir). Can be useful when you'd like\n\
161
+			to immediately use space to `page' through the dir.\n\
162
+   -o	--sort-order	set initial sorting order used in the selector.\n\
163
+			Types are `name', `ext', `size', `date' (or `time');\n\
164
+			only the first char (n/e/s/d/t) need be given.\n\
165
+			(The default is name order.)\n\
166
+	--sort-timestamp-type type\n\
167
+			set timestamp type to use when using time/date sorting\n\
168
+			order. Types are `mtime' (default), `ctime', and\n\
169
+			`atime'; only the first char (m/c/a) need be given.\n\
170
+	--statusbar	show a status bar below the selector; this, for\n\
171
+			example, says when a picture is being read.\n\
172
+   -t	--thin-rows	use rows a third the normal height in the selector.\n\
173
+			This can be very useful on lower-resolution screens,\n\
174
+			or if you're really interested in filenames, not\n\
175
+			thumbnails.\n\
176
+   -v	--version	report version number.\n\
177
+	--version-gtk	report version of GTK+ being used by xzgv.\n\
178
+   -z	--zoom		fit pictures in the viewer window, whatever their\n\
179
+			actual size.\n\
180
+   -r	--zoom-reduce-only\n\
181
+			when zooming, only *reduce* pictures to fit; i.e.\n\
182
+			make big pictures viewable all-at-once while leaving\n\
183
+			small picures intact.\n\
184
+\n\
185
+	dir		start xzgv on a certain directory.\n\
186
+	file ...	view (only) the file(s) specified.\n\
187
+\n\
188
+All options are processed after any ~/.xzgvrc or /etc/xzgv.conf file.\n\
189
+Most long options (minus `--') can used in either file with e.g. `zoom on'.\n\
190
+\n\
191
+On/off settings (such as zoom) are enabled by e.g. `-z' or `--zoom';\n\
192
+however, the long-option form `--option=off' can be used to disable\n\
193
+them (needed when they are enabled by default - revert-scale, for\n\
194
+example - or to override them being enabled in a config file).\n\
195
+\n\
196
+(This syntax actually lets you both disable *and* enable options,\n\
197
 using (for the arg after `=') on/off, y/n, yes/no, or 1/0.)");
198
 
199
 exit(0);
(-)graphics/xzgv/pkg-plist (-3 lines)
Lines 1-4 Link Here
1
bin/xzgv
1
bin/xzgv
2
@unexec install-info --delete %D/info/xzgv.info %D/info/dir
3
info/xzgv.info
4
@exec install-info %D/info/xzgv.info %D/info/dir

Return to bug 57286