diff options
author | Max Khon <fjoe@FreeBSD.org> | 2006-11-29 19:32:30 +0000 |
---|---|---|
committer | Max Khon <fjoe@FreeBSD.org> | 2006-11-29 19:32:30 +0000 |
commit | 2c5bcb4dfd8f68f5f40d50cefe7fa115e223b847 (patch) | |
tree | 5c69d82ecbb440de1b84939468633114a59a6429 /news/golded+/files | |
parent | faa87a920938c2675d3a88e36f4c2615e1e04c1b (diff) | |
download | ports-2c5bcb4dfd8f68f5f40d50cefe7fa115e223b847.tar.gz ports-2c5bcb4dfd8f68f5f40d50cefe7fa115e223b847.zip |
Notes
Diffstat (limited to 'news/golded+/files')
-rw-r--r-- | news/golded+/files/patch-GNUmakef.def | 18 | ||||
-rw-r--r-- | news/golded+/files/patch-geinit.cpp | 36 | ||||
-rw-r--r-- | news/golded+/files/patch-gemlst.cpp | 68 | ||||
-rw-r--r-- | news/golded+/files/patch-geprot.h | 102 | ||||
-rw-r--r-- | news/golded+/files/pkg-message.in | 5 |
5 files changed, 220 insertions, 9 deletions
diff --git a/news/golded+/files/patch-GNUmakef.def b/news/golded+/files/patch-GNUmakef.def index fe9da9999914..402c18c8c7a8 100644 --- a/news/golded+/files/patch-GNUmakef.def +++ b/news/golded+/files/patch-GNUmakef.def @@ -1,9 +1,9 @@ ---- GNUmakef.def.orig Mon Dec 22 14:02:19 2003 -+++ GNUmakef.def Fri Dec 26 05:38:58 2003 -@@ -78,8 +78,8 @@ - LNKFLAGS+=-lbe -ltextencoding - else +--- GNUmakef.def.orig Mon May 15 16:54:00 2006 ++++ GNUmakef.def Tue Oct 31 23:29:12 2006 +@@ -106,8 +106,8 @@ CAT=cat + SED=sed + GREP=grep -CC=gcc -CXX=g++ +#CC=gcc @@ -11,14 +11,14 @@ AR=ar RANLIB=ranlib PLATFORM=lnx -@@ -91,8 +91,8 @@ +@@ -119,8 +119,8 @@ endif endif endif --CFLAGS+=-g -funsigned-char $(INCS) -Wall -Wno-sign-compare -pedantic -O2 -DPRAGMA_PACK # -fomit-frame-pointer +-CFLAGS+=-funsigned-char -g $(INCS) -Wall -Wno-sign-compare -pedantic -O2 -DPRAGMA_PACK # -fomit-frame-pointer -LNKFLAGS+=-g -+CFLAGS+=-funsigned-char $(INCS) -Wall -Wno-sign-compare -O2 -DPRAGMA_PACK # -pedantic -fomit-frame-pointer ++CFLAGS+=-funsigned-char $(INCS) -Wall -Wno-sign-compare -O2 -DPRAGMA_PACK # -g -pedantic -fomit-frame-pointer +#LNKFLAGS+=-g - CPPFLAGS+=$(CFLAGS) -fno-exceptions -fno-rtti + CPPFLAGS+=$(CFLAGS) -fno-rtti # -fno-exceptions # comment following lines if you dislike ncurses diff --git a/news/golded+/files/patch-geinit.cpp b/news/golded+/files/patch-geinit.cpp new file mode 100644 index 000000000000..ac38391252e1 --- /dev/null +++ b/news/golded+/files/patch-geinit.cpp @@ -0,0 +1,36 @@ +--- golded3/geinit.cpp.orig Sun May 14 18:09:02 2006 ++++ golded3/geinit.cpp Wed Nov 1 02:49:10 2006 +@@ -413,19 +413,22 @@ + wcenters(12, C_BRAGW, "redistribute the program or any parts hereof under cer-"); + wcenters(13, C_BRAGW, "tain conditions. See the LICENSE.TXT for more details."); + +- wcenters(MAXROW-10, C_BRAGW, "This executable is distributed by"); +- if (*__gver_vendor_fido__) ++ if (*__gver_vendor_name__) + { +- gsprintf(PRINTF_DECLARE_BUFFER(buf), "%s (Fido: %s) - <%s>", +- __gver_vendor_name__, __gver_vendor_fido__, __gver_vendor_email__); ++ wcenters(MAXROW-10, C_BRAGW, "This executable is distributed by"); ++ if (*__gver_vendor_fido__) ++ { ++ gsprintf(PRINTF_DECLARE_BUFFER(buf), "%s (Fido: %s) - <%s>", ++ __gver_vendor_name__, __gver_vendor_fido__, __gver_vendor_email__); ++ } ++ else ++ { ++ gsprintf(PRINTF_DECLARE_BUFFER(buf), "%s <%s>", ++ __gver_vendor_name__, __gver_vendor_email__); ++ } ++ ++ wcenters(MAXROW-9, C_BRAGW, buf); + } +- else +- { +- gsprintf(PRINTF_DECLARE_BUFFER(buf), "%s <%s>", +- __gver_vendor_name__, __gver_vendor_email__); +- } +- +- wcenters(MAXROW-9, C_BRAGW, buf); + gsprintf(PRINTF_DECLARE_BUFFER(buf), "Compiled on %s %s", __gver_date__, __gver_time__); + wcenters(MAXROW-8, C_BRAGW, buf); + } diff --git a/news/golded+/files/patch-gemlst.cpp b/news/golded+/files/patch-gemlst.cpp new file mode 100644 index 000000000000..f9ecc2db9c7a --- /dev/null +++ b/news/golded+/files/patch-gemlst.cpp @@ -0,0 +1,68 @@ +--- golded3/gemlst.cpp.orig Wed Oct 25 21:54:37 2006 ++++ golded3/gemlst.cpp Tue Nov 21 08:20:53 2006 +@@ -19,7 +19,7 @@ + // Foundation, Inc., 59 Temple Place, Suite 330, Boston, + // MA 02111-1307 USA + // ------------------------------------------------------------------ +-// $Id: gemlst.cpp,v 1.58 2006/09/30 06:45:34 ssianky Exp $ ++// $Id: gemlst.cpp,v 1.60 2006/11/20 15:41:40 stas_degteff Exp $ + // ------------------------------------------------------------------ + // Message lister. + // ------------------------------------------------------------------ +@@ -708,55 +708,7 @@ + + // ------------------------------------------------------------------ + +-class ThreadEntry { +- +-public: +- uint32_t msgno; +- uint32_t replyto; +- uint32_t reply1st; +- uint32_t replynext; +- uint32_t replytoindex; +- uint32_t level; +-}; +- +-#define MAX_LEVEL 20 +- +-class GThreadlist : public gwinpick { +- +-private: +- +- gwindow window; +- GMsg msg; +- ThreadEntry t; +- +- std::vector<ThreadEntry> list; +- std::vector<std::string> tree; +- +- dword m_OldMsgno; +- uint m_OldTags; +- std::string m_OldEchoId; +- +- void BuildThreadIndex(dword msgno); +- void recursive_build(uint32_t msgn, uint32_t rn, uint32_t level, uint32_t index); +- void GenTree(int idx); +- void update_title(); +- bool NextThread(bool next); +- +-public: +- +- void open(); // Called after window is opened +- void close(); // Called after window is closed +- void print_line(uint idx, uint pos, bool isbar); +- void do_delayed(); +- bool handle_key(); // Handles keypress +- +- void Run(); +- bool GoNextUnread(bool reader); +- +- GThreadlist() { memset(&msg, 0, sizeof(GMsg)); replylinkfloat = CFG->replylinkfloat; }; +- ~GThreadlist() { ResetMsg(&msg); }; +-}; +- ++//#define MAX_LEVEL 20 + + // ------------------------------------------------------------------ + diff --git a/news/golded+/files/patch-geprot.h b/news/golded+/files/patch-geprot.h new file mode 100644 index 000000000000..c3ed94b5e482 --- /dev/null +++ b/news/golded+/files/patch-geprot.h @@ -0,0 +1,102 @@ +--- golded3/geprot.h.orig Tue May 16 16:49:29 2006 ++++ golded3/geprot.h Thu Nov 23 11:11:14 2006 +@@ -19,7 +19,7 @@ + // Foundation, Inc., 59 Temple Place, Suite 330, Boston, + // MA 02111-1307 USA + // ------------------------------------------------------------------ +-// $Id: geprot.h,v 1.45 2006/05/14 14:33:21 stas_degteff Exp $ ++// $Id: geprot.h,v 1.48 2006/11/22 08:25:52 stas_degteff Exp $ + // ------------------------------------------------------------------ + // Collective header for GE*.CPP source files. + // ------------------------------------------------------------------ +@@ -210,19 +210,6 @@ + + + // ------------------------------------------------------------------ +-// GEMLST prototypes +- +-void MsgThreadlist(); +- +- +-// ------------------------------------------------------------------ +-// GEMRKS prototypes +- +-void MarkMsgs(GMsg* msg); +-int NextMarkedmsg(int direction, GMsg* msg); +- +- +-// ------------------------------------------------------------------ + // GEMSGS prototypes + + void TokenXlat(int mode, std::string &input, GMsg* msg, GMsg* oldmsg, int origarea); +@@ -235,6 +222,70 @@ + int DoCarboncopy(GMsg* msg, GMsg** carbon); + void DoCrosspost(GMsg* msg, std::vector<int> &postareas); + char* ParseInternetAddr(char* __string, char* __name, char* __addr, bool detect_charset = true); ++ ++ ++// ------------------------------------------------------------------ ++// GEMLST prototypes ++ ++void MsgThreadlist(); ++ ++// ------------------------------------------------------------------ ++ ++class ThreadEntry { ++ ++public: ++ uint32_t msgno; ++ uint32_t replyto; ++ uint32_t reply1st; ++ uint32_t replynext; ++ uint32_t replytoindex; ++ uint32_t level; ++}; ++ ++// ------------------------------------------------------------------ ++ ++class GThreadlist : public gwinpick { ++ ++private: ++ ++ gwindow window; ++ GMsg msg; ++ ThreadEntry t; ++ ++ std::vector<ThreadEntry> list; ++ std::vector<std::string> tree; ++ ++ dword m_OldMsgno; ++ uint m_OldTags; ++ std::string m_OldEchoId; ++ ++ void BuildThreadIndex(dword msgno); ++ void recursive_build(uint32_t msgn, uint32_t rn, uint32_t level, uint32_t index); ++ void GenTree(int idx); ++ void update_title(); ++ bool NextThread(bool next); ++ ++public: ++ ++ void open(); // Called after window is opened ++ void close(); // Called after window is closed ++ void print_line(uint idx, uint pos, bool isbar); ++ void do_delayed(); ++ bool handle_key(); // Handles keypress ++ ++ void Run(); ++ bool GoNextUnread(bool reader); ++ ++ GThreadlist() { memset(&msg, 0, sizeof(GMsg)); replylinkfloat = CFG->replylinkfloat; }; ++ ~GThreadlist() { ResetMsg(&msg); }; ++}; ++ ++ ++// ------------------------------------------------------------------ ++// GEMRKS prototypes ++ ++void MarkMsgs(GMsg* msg); ++int NextMarkedmsg(int direction, GMsg* msg); + + + // ------------------------------------------------------------------ diff --git a/news/golded+/files/pkg-message.in b/news/golded+/files/pkg-message.in new file mode 100644 index 000000000000..51dd9865879c --- /dev/null +++ b/news/golded+/files/pkg-message.in @@ -0,0 +1,5 @@ +****************************************************************************** +An example configuration files, templates and charset tables for golded+ +has been installed in %%EXAMPLESDIR%%. +%%NOTEWORK%% +****************************************************************************** |