Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/net In directory sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv6162/10.4/unstable/main/finkinfo/net
Modified Files: Tag: pangocairo-branch snownews.info snownews.patch Log Message: Gift from prev maintainer; new version Index: snownews.info =================================================================== RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/net/snownews.info,v retrieving revision 1.2 retrieving revision 1.2.2.1 diff -u -d -r1.2 -r1.2.2.1 --- snownews.info 13 Jun 2006 15:57:47 -0000 1.2 +++ snownews.info 17 Apr 2008 04:17:29 -0000 1.2.2.1 @@ -1,25 +1,38 @@ Package: snownews -Version: 1.5.7 -Revision: 1001 +Version: 1.5.9 +Revision: 1 Description: Text mode RSS/RDF newsreader License: GPL -Maintainer: Khairulmizam Samsudin <[EMAIL PROTECTED]> +Maintainer: Daniel Macks <[EMAIL PROTECTED]> # Dependencies -Depends: libncurses5-shlibs (>= 5.4-20041023-1006), libxml2-shlibs, libgettext3-shlibs, libiconv -BuildDepends: libncurses5 (>= 5.4-20041023-1006), libxml2, libgettext3-dev, libiconv-dev, gettext-tools +Depends: << + libgettext3-shlibs, + libiconv, + libncurses5-shlibs (>= 5.4-20041023-1006), + libxml2-shlibs +<< +BuildDepends: << + fink (>= 0.24.12-1), + gettext-tools, + libgettext3-dev, + libiconv-dev, + libncurses5 (>= 5.4-20041023-1006), + libxml2 +<< # Unpack Phase Source: http://kiza.kcore.de/software/snownews/download/snownews-%v.tar.gz -Source-MD5: 75ffa004e755a233f49b1cdfcd9e3d85 +Source-MD5: 0f3dca85a36386a72033b83a202c559e # Patch Phase -Patch: %n.patch -PatchScript: perl -pi -e 's|(PREFIX=).*|\1%p|' platform_settings +PatchFile: %n.patch +PatchFile-MD5: 02e38aa027460e66377e472a36658dd0 # Compile Phase CompileScript: << -make + ./configure %c + make << # Install Phase @@ -28,7 +41,7 @@ make install DESTDIR=%d mkdir -p %i/share/doc/%n/examples -install -m 644 opml2snow doc/man/opml2snow.1 %i/share/doc/%n/examples +mv %i/bin/opml2snow %i/bin/snow2opml %i/share/man/man1/opml2snow.1 %i/share/doc/%n/examples << # Additional Data @@ -54,3 +67,6 @@ -Configuration does not use autotools but has hacked a similar system. -opml2snow moved to doc/examples, because it require XML::LibXML or fink libxml-pm installed << +DescPackaging: << + Formerly maintained by Khairulmizam Samsudin +<< Index: snownews.patch =================================================================== RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/net/snownews.patch,v retrieving revision 1.2 retrieving revision 1.2.2.1 diff -u -d -r1.2 -r1.2.2.1 --- snownews.patch 13 Jun 2006 15:57:47 -0000 1.2 +++ snownews.patch 17 Apr 2008 04:17:29 -0000 1.2.2.1 @@ -1,62 +1,18 @@ -diff -Nurd -x'*~' snownews-1.5.7.orig/Makefile snownews-1.5.7/Makefile ---- snownews-1.5.7.orig/Makefile 2005-06-05 05:50:22.000000000 -0400 -+++ snownews-1.5.7/Makefile 2006-06-13 11:38:58.000000000 -0400 -@@ -12,7 +12,7 @@ - - VERSION= `grep VERSION version.h | sed s/\"//g | sed s/\#define\ VERSION\ //` - DISTDIR= snownews-$(VERSION) --DISTFILES = AUTHOR COPYING CREDITS Changelog README README.de README.patching INSTALL opml2snow snowsync \ -+DISTFILES = AUTHOR COPYING CREDITS Changelog README README.de README.patching INSTALL snowsync \ - Makefile platform_settings configure \ - doc po scripts \ - main.c interface.c netio.c xmlparse.c updatecheck.c os-support.c conversions.c dialog.c ui-support.c categories.c about.c cookies.c setup.c net-support.c digcalc.c md5.c filters.c io-internal.c zlib_interface.c support.c \ -@@ -60,10 +60,6 @@ - mkdir -p $(DESTDIR)$(PREFIX)/bin; \ - fi - $(INSTALL) -s snownews $(DESTDIR)$(PREFIX)/bin -- $(INSTALL) opml2snow $(DESTDIR)$(PREFIX)/bin -- if [ ! -f "$(DESTDIR)$(PREFIX)/bin/snow2opml" ]; then \ -- ln -sf $(DESTDIR)$(PREFIX)/bin/opml2snow $(DESTDIR)$(PREFIX)/bin/snow2opml; \ -- fi; - $(INSTALL) snowsync $(DESTDIR)$(PREFIX)/bin - - install-locales: locales -@@ -75,17 +71,15 @@ - done - - install-man: manpages -- if [ ! -d "$(DESTDIR)$(PREFIX)/man/man1" ]; then \ -- mkdir -p $(DESTDIR)$(PREFIX)/man/man1; \ -+ if [ ! -d "$(DESTDIR)$(PREFIX)/share/man/man1" ]; then \ -+ mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1; \ - fi -- $(INSTALL) -m 0644 $(MAN)/snownews.1 $(DESTDIR)$(PREFIX)/man/man1 -- $(INSTALL) -m 0644 $(MAN)/opml2snow.1 $(DESTDIR)$(PREFIX)/man/man1 -- -+ $(INSTALL) -m 0644 $(MAN)/snownews.1 $(DESTDIR)$(PREFIX)/share/man/man1 - for L in $(LANGS); do \ -- if [ ! -d "$(DESTDIR)$(PREFIX)/man/$$L/man1" ]; then \ -- mkdir -p $(DESTDIR)$(PREFIX)/man/$$L/man1; \ -+ if [ ! -d "$(DESTDIR)$(PREFIX)/share/man/$$L/man1" ]; then \ -+ mkdir -p $(DESTDIR)$(PREFIX)/share/man/$$L/man1; \ - fi; \ -- $(INSTALL) -m 0644 $(MAN)/$$L/snownews.1 $(DESTDIR)$(PREFIX)/man/$$L/man1; \ -+ $(INSTALL) -m 0644 $(MAN)/$$L/snownews.1 $(DESTDIR)$(PREFIX)/share/man/$$L/man1; \ - done - - ### Cleanup ### -@@ -127,7 +121,7 @@ - mkdir $(DISTDIR)/man/it - mkdir $(DISTDIR)/man/ru_RU.KOI8-R - mkdir $(DISTDIR)/po -- cp AUTHOR COPYING CREDITS Changelog README README.de INSTALL.binary snownews opml2snow $(DISTDIR) -+ cp AUTHOR COPYING CREDITS Changelog README README.de INSTALL.binary snownews $(DISTDIR) - cp doc/man/de/snownews.1 $(DISTDIR)/man/de - cp doc/man/nl/snownews.1 $(DISTDIR)/man/nl - cp doc/man/fr/snownews.1 $(DISTDIR)/man/fr -diff -Nurd -x'*~' snownews-1.5.7.orig/doc/man/snownews.1.in snownews-1.5.7/doc/man/snownews.1.in ---- snownews-1.5.7.orig/doc/man/snownews.1.in 2005-06-05 05:50:21.000000000 -0400 -+++ snownews-1.5.7/doc/man/snownews.1.in 2006-06-13 11:33:16.000000000 -0400 +diff -Nurd snownews-1.5.9.orig/configure snownews-1.5.9/configure +--- snownews-1.5.9.orig/configure 2008-02-17 08:43:58.000000000 -0500 ++++ snownews-1.5.9/configure 2008-04-16 23:46:52.000000000 -0400 +@@ -29,7 +29,7 @@ + print "Configuring for a GNU based system... "; + } elsif (lc($os) =~ /bsd|darwin|freemint/) { + print "Configuring for a BSD style system... "; +- $cflags = $cflags.' -DSTATIC_CONST_ICONV -I/usr/local/include'; ++ $cflags = $cflags.' -DSTATIC_CONST_ICONV'; + if ($use_nls == 1) { + $ldflags .= ' -lintl '; + } +diff -Nurd snownews-1.5.9.orig/doc/man/snownews.1.in snownews-1.5.9/doc/man/snownews.1.in +--- snownews-1.5.9.orig/doc/man/snownews.1.in 2008-02-17 08:43:57.000000000 -0500 ++++ snownews-1.5.9/doc/man/snownews.1.in 2008-04-16 23:42:14.000000000 -0400 @@ -67,7 +67,7 @@ .B 'o' will open the link (usually the complete news text) in the browser. @@ -66,10 +22,10 @@ .B 'B' in the main menu and entering a new default browser. Or you can edit the file ~/.snownews/browser. The program replaces -diff -Nurd -x'*~' snownews-1.5.7.orig/main.c snownews-1.5.7/main.c ---- snownews-1.5.7.orig/main.c 2005-06-05 05:50:22.000000000 -0400 -+++ snownews-1.5.7/main.c 2006-06-13 11:38:24.000000000 -0400 -@@ -91,7 +91,9 @@ +diff -Nurd snownews-1.5.9.orig/main.c snownews-1.5.9/main.c +--- snownews-1.5.9.orig/main.c 2008-02-17 08:43:58.000000000 -0500 ++++ snownews-1.5.9/main.c 2008-04-16 23:45:14.000000000 -0400 +@@ -90,7 +90,9 @@ /* Do this after everything else. If it doesn't work or hang user can ctrl-c without interfering with the program operation (like writing caches). */ @@ -79,18 +35,10 @@ exit(0); } else { -diff -Nurd -x'*~' snownews-1.5.7.orig/platform_settings snownews-1.5.7/platform_settings ---- snownews-1.5.7.orig/platform_settings 2005-06-05 05:50:22.000000000 -0400 -+++ snownews-1.5.7/platform_settings 2006-06-13 11:45:55.000000000 -0400 -@@ -1,3 +1,3 @@ - PREFIX= /usr/local --CFLAGS= -Wall -Wno-format-y2k -O2 -DLOCALEPATH="\"$(LOCALEPATH)\"" -DOS=\"$(shell uname)\" `xml2-config --cflags` $(EXTRA_CFLAGS) -DSTATIC_CONST_ICONV -I/usr/local/include -+CFLAGS= -Wall -Wno-format-y2k -O2 -DLOCALEPATH="\"$(LOCALEPATH)\"" -DOS=\"$(shell uname)\" `xml2-config --cflags` $(EXTRA_CFLAGS) -DSTATIC_CONST_ICONV - LDFLAGS= -lncurses `xml2-config --libs` $(EXTRA_LDFLAGS) -lintl -liconv -diff -Nurd -x'*~' snownews-1.5.7.orig/setup.c snownews-1.5.7/setup.c ---- snownews-1.5.7.orig/setup.c 2005-06-05 05:50:22.000000000 -0400 -+++ snownews-1.5.7/setup.c 2006-06-13 11:29:55.000000000 -0400 -@@ -67,7 +67,7 @@ +diff -Nurd snownews-1.5.9.orig/setup.c snownews-1.5.9/setup.c +--- snownews-1.5.9.orig/setup.c 2008-02-17 08:43:58.000000000 -0500 ++++ snownews-1.5.9/setup.c 2008-04-16 23:45:33.000000000 -0400 +@@ -64,7 +64,7 @@ configfile = fopen (file, "w+"); if (configfile == NULL) MainQuit (_("Create initial configfile \"config\""), strerror(errno)); /* Still didn't work? */ ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs