the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: gnewspost
Version: 0.6
Revision:100
Distribution: 10.4, 10.5
Source: http://www.vectorstar.net/~ash/cgi-bin/retrieve.pl?%n-%v.tar.gz
Source-MD5: 3fc230c8db778f0e1a683425bfa5722c
SourceRename: %n-%v.tar.gz
UpdateConfigGuess: true
BuildDepends: orbit-dev, glib, gnome-libs-dev, gnome-libs, imlib, gtk+, esound, libgettext3-dev, audiofile, automake1.11, fink (>= 0.24.12-1)
Depends: newspost, gnome-libs-shlibs, imlib-shlibs, orbit-shlibs, gtk+-shlibs, cfv
PatchFile: %n.patch
PatchFile-MD5: 67905045080221d2295654ea24e17859
CompileScript: <<
perl -pi.bak -e 's/\"2.0\"/\"2.1.1\"/g' src/gnewspost.h
head -n 35 src/%n.c > LICENSE
#ln -sf /usr/share/automake-1.6/missing missing
#ln -sf /usr/share/automake-1.6/install-sh install-sh
#ln -sf /usr/share/automake-1.6/mkinstalldirs mkinstalldirs
./configure %c
make
<<
InstallScript: make install DESTDIR=%d
Description: GUI for newspost USENET binary poster
DescDetail: <<
gnewspost is a GNOME frontend to the command-line USENET binary
autoposter "newspost". It is similar to "PowerPost" for windows.
<<
DescPort: <<
Fix crash bug in file dialog
Fix file size code
Fix version check
/usr/share/automake-1.6 does not exist on Leopard. Bdep on Fink automake1.6.
--dmacks swapped in automake1.11; same build-time transcript
<<
DocFiles: AUTHORS ChangeLog LICENSE HACKING NEWS README TODO
License: BSD
Maintainer: Ben Hines
Homepage: http://www.vectorstar.net/~ash/gnewspost.html
--- gnewspost-0.6/src/app.c Sun Jul 28 21:10:11 2002
+++ gnewspost-0.6/src/app.c Tue Apr 27 22:02:19 2004
@@ -1013,11 +1013,11 @@
return 0;
if (sb.st_size > 1024 && sb.st_size < 1048576)
- snprintf(buf, 8, "%dK", sb.st_size / 1024);
+ snprintf(buf, 8, "%dK", (int) sb.st_size / 1024);
else if (sb.st_size >= 1048576)
snprintf(buf, 8, "%.2fM", (float) sb.st_size / 1024 / 1024);
else
- snprintf(buf, 8, "%dB", sb.st_size);
+ snprintf(buf, 8, "%dB", (int) sb.st_size);
return buf;
}
--- gnewspost-0.6/src/app.c Sun Jul 28 21:10:11 2002
+++ gnewspost-0.6/src/app.c Tue Apr 27 22:50:47 2004
@@ -737,7 +737,7 @@
{
Prefs *p;
GList *sel_list, *node;
- gchar *titles[6];
+ gchar *titles[3];
gchar *dir, *file, *tmp;
gint i;