rpms/snownews/devel snownews-1.5.7-charset.patch, 1.1, 1.2 snownews.spec, 1.6, 1.7
Zing Zing Shishak (shishz)
fedora-extras-commits at redhat.com
Tue Aug 30 19:46:00 UTC 2005
Author: shishz
Update of /cvs/extras/rpms/snownews/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12977
Modified Files:
snownews-1.5.7-charset.patch snownews.spec
Log Message:
* Mon Aug 29 2005 Zing <shishz at hotpop.com> - 1.5.7-3
- cleanups related to runtime charset detection
- get rid of configure --charset=UTF-8 hardcoding
- link with ncursesw, set -DUTF_8 for xmlUTF8Strlen
snownews-1.5.7-charset.patch:
Index: snownews-1.5.7-charset.patch
===================================================================
RCS file: /cvs/extras/rpms/snownews/devel/snownews-1.5.7-charset.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- snownews-1.5.7-charset.patch 7 Aug 2005 02:37:47 -0000 1.1
+++ snownews-1.5.7-charset.patch 30 Aug 2005 19:45:58 -0000 1.2
@@ -43,3 +43,14 @@
if (xmlStrlen((xmlChar *)cur_ptr->title) > columns)
mvaddstr (ypos, columns+1, "...");
+--- snownews-1.5.7/configure.orig 2005-08-29 14:40:50.000000000 -0400
++++ snownews-1.5.7/configure 2005-08-29 14:41:03.000000000 -0400
+@@ -6,7 +6,7 @@
+ # The defaults. Change here if you need.
+ my($prefix) = "/usr/local";
+ my($cflags) = '-Wall -Wno-format-y2k -O2 -DLOCALEPATH="\"$(LOCALEPATH)\"" -DOS=\"$(shell uname)\" `xml2-config --cflags` $(EXTRA_CFLAGS) ';
+-my($ldflags) = '-lncurses `xml2-config --libs` $(EXTRA_LDFLAGS) ';
++my($ldflags) = '-lncursesw `xml2-config --libs` $(EXTRA_LDFLAGS) ';
+
+ parse_cmdl_line();
+
Index: snownews.spec
===================================================================
RCS file: /cvs/extras/rpms/snownews/devel/snownews.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- snownews.spec 7 Aug 2005 02:37:47 -0000 1.6
+++ snownews.spec 30 Aug 2005 19:45:58 -0000 1.7
@@ -1,6 +1,6 @@
Name: snownews
Version: 1.5.7
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: A text mode RSS/RDF newsreader
Group: Applications/Internet
License: GPL
@@ -33,8 +33,8 @@
%patch4 -p1
%build
-./configure --prefix=%{_prefix} --charset=UTF-8
-EXTRA_CFLAGS="$RPM_OPT_FLAGS -fpie" EXTRA_LDFLAGS="-pie" make %{?_smp_mflags}
+./configure --prefix=%{_prefix}
+EXTRA_CFLAGS="$RPM_OPT_FLAGS -fpie -DUTF_8" EXTRA_LDFLAGS="-pie" make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
@@ -55,6 +55,11 @@
%{_mandir}/*/man1/*
%changelog
+* Mon Aug 29 2005 Zing <shishz at hotpop.com> - 1.5.7-3
+- cleanups related to runtime charset detection
+- get rid of configure --charset=UTF-8 hardcoding
+- link with ncursesw, set -DUTF_8 for xmlUTF8Strlen
+
* Mon Aug 6 2005 Zing <shishz at hotpop.com> - 1.5.7-2
- add runtime charset detection, #155073
- use dist macro
More information about the fedora-extras-commits
mailing list