debian/0000775000000000000000000000000012036306405007167 5ustar debian/copyright0000664000000000000000000000332411641570006011125 0ustar This package was debianized by: LI Daobing on Sun, 01 Nov 2009 19:14:42 +0800 It was downloaded from: http://code.google.com/p/gemanx Upstream Authors: Ruizhe Li Henry Hu Copyright: Copyright (c) 1999 Elliot Lee , Red Hat, Inc. Copyright (C) 2002 Anders Carlsson Copyright (C) 2003-2004 Gary Kramlich Copyright (C) 2004-2005 PCMan Copyright (C) 2005 Chia I Wu Copyright (C) 2005 Kanru Chen Copyright (C) 2005 Youchen Lee ( utcr.org ) Copyright (C) 2005 Jim Huang Copyright (C) 2007-2008 Jason Xia Copyright (C) 2007 yllan.org License: This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. On Debian systems, the complete text of the GNU General Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. The Debian packaging is: Copyright (C) 2009 LI Daobing and is licensed under the GPL version 2, see above. debian/libgemanx-core0.install0000664000000000000000000000003511641570006013532 0ustar usr/lib/libgemanx_core.so.0* debian/rules0000775000000000000000000000036511641574610010261 0ustar #!/usr/bin/make -f %: dh $@ override_dh_auto_configure: autoreconf -if intltoolize --force dh_auto_configure -- --enable-libnotify --enable-iplookup --enable-imageview --enable-proxy override_dh_auto_clean: rm -rf m4 intl dh_auto_clean debian/gemanx-gtk2.install0000664000000000000000000000002611641570006012702 0ustar usr/bin/* usr/share/* debian/watch0000664000000000000000000000017411641570006010223 0ustar version=3 http://code.google.com/p/gemanx/downloads/list \ http://gemanx.googlecode.com/files/gemanx-gtk2-([\d.]+)\.tar\.gz debian/docs0000664000000000000000000000002111641570006010034 0ustar NEWS README TODO debian/changelog0000664000000000000000000000217412036306375011053 0ustar gemanx-gtk2 (0.1.0.3-2ubuntu1) quantal; urgency=low * Fix build failure with gcc-4.7 on armhf. -- Matthias Klose Sat, 13 Oct 2012 17:46:45 +0200 gemanx-gtk2 (0.1.0.3-2) unstable; urgency=low * debian/source/format: 3.0 * debian/patches/binutils-gold.patch: fix build failed under binutils-gold. (closes: #564992, #615721) * debian/patches/libnotify07.patch: fix build with libnotify-dev >= 0.7, patch from upstream. * debian/rules: - autoreconf. - enable iplookup, libnotify, imageview, proxy (closes: #587324) * debian/clean: clean generated files. * debian/control: - bump standards version to 3.9.2. - new maintainer. - update Vcs-* fields. - update build-depends. -- LI Daobing Sat, 01 Oct 2011 19:33:26 +0800 gemanx-gtk2 (0.1.0.3-1) unstable; urgency=low * New upstream release. * debian/rules: enable test. -- LI Daobing Sat, 26 Dec 2009 21:58:39 +0800 gemanx-gtk2 (0.1.0.2-1) unstable; urgency=low * Initial release (Closes: #553597) -- LI Daobing Mon, 07 Dec 2009 13:50:15 +0800 debian/patches/0000775000000000000000000000000012036306335010620 5ustar debian/patches/libnotify07.patch0000664000000000000000000000361411641577434014026 0ustar Index: gemanx-gtk2/src/view/telnetcon.cpp =================================================================== --- gemanx-gtk2.orig/src/view/telnetcon.cpp 2011-10-01 19:35:50.366040395 +0800 +++ gemanx-gtk2/src/view/telnetcon.cpp 2011-10-01 19:51:07.346040884 +0800 @@ -943,12 +943,30 @@ t = g_markup_escape_text(column[1], -1); g_snprintf(body, 256, "%s", g_strchomp(t)); g_free(t); - NotifyNotification *notification = + +#if defined(NOTIFY_CHECK_VERSION) +#if NOTIFY_CHECK_VERSION(0,7,0) + NotifyNotification *notification = + notify_notification_new( + summary, + body, + NULL); +#else + NotifyNotification *notification = + notify_notification_new( + summary, + body, + NULL, + NULL); +#endif +#else + NotifyNotification *notification = notify_notification_new( summary, body, NULL, NULL); +#endif notify_notification_set_timeout(notification, AppConfig.PopupTimeout*1000); notify_notification_set_icon_from_pixbuf(notification, Index: gemanx-gtk2/src/view/telnetview.cpp =================================================================== --- gemanx-gtk2.orig/src/view/telnetview.cpp 2011-10-01 19:35:50.376040395 +0800 +++ gemanx-gtk2/src/view/telnetview.cpp 2011-10-01 19:51:57.056040912 +0800 @@ -348,11 +348,26 @@ #ifdef USE_NOTIFIER #ifdef USE_LIBNOTIFY if (!ipnotify) +#if defined(NOTIFY_CHECK_VERSION) +#if NOTIFY_CHECK_VERSION(0,7,0) + ipnotify = notify_notification_new( + buf, + NULL, + NULL); +#else + ipnotify = notify_notification_new( + buf, + NULL, + NULL, + NULL); +#endif +#else ipnotify = notify_notification_new( buf, NULL, NULL, NULL); +#endif else notify_notification_update(ipnotify, buf, NULL, NULL); notify_notification_set_timeout(ipnotify, debian/patches/binutils-gold.patch0000664000000000000000000000437611641570006014426 0ustar Index: debian-gemanx-gtk2/src/Makefile.am =================================================================== --- debian-gemanx-gtk2.orig/src/Makefile.am 2011-10-01 17:13:21.049458830 +0800 +++ debian-gemanx-gtk2/src/Makefile.am 2011-10-01 17:13:52.000000000 +0800 @@ -13,7 +13,7 @@ -DLOCALEDIR=\"$(localedir)\" \ -DDATADIR=\"$(datadir)\" -gemanx_LDADD = $(GUI_LIBS) $(LIBPCMANX_CORE) $(SCRIPT_LIBS) +gemanx_LDADD = $(GUI_LIBS) $(LIBPCMANX_CORE) $(SCRIPT_LIBS) -lX11 if CSRG_BASED gemanx_LDADD += -lutil -lm Index: debian-gemanx-gtk2/src/core/site.h =================================================================== --- debian-gemanx-gtk2.orig/src/core/site.h 2011-10-01 17:23:21.919459150 +0800 +++ debian-gemanx-gtk2/src/core/site.h 2011-10-01 17:25:07.209459206 +0800 @@ -109,25 +109,25 @@ X_EXPORT ~CSite(); string& GetPasswd(){ return m_Passwd; } - void SetPasswd( string passwd ){ m_Passwd = passwd; } + X_EXPORT void SetPasswd( string passwd ){ m_Passwd = passwd; } string& GetPasswdPrompt(){ return m_PasswdPrompt; } - void SetPasswdPrompt( string passwd_prompt ){ m_PasswdPrompt = passwd_prompt; } + X_EXPORT void SetPasswdPrompt( string passwd_prompt ){ m_PasswdPrompt = passwd_prompt; } string& GetLogin(){ return m_Login; } - void SetLogin( string login ){ m_Login = login; } + X_EXPORT void SetLogin( string login ){ m_Login = login; } string& GetLoginPrompt(){ return m_LoginPrompt; } - void SetLoginPrompt( string login_prompt ){ m_LoginPrompt = login_prompt; } + X_EXPORT void SetLoginPrompt( string login_prompt ){ m_LoginPrompt = login_prompt; } string& GetPreLogin(){ return m_PreLogin; } - void SetPreLogin(string prelogin){ m_PreLogin = prelogin; } + X_EXPORT void SetPreLogin(string prelogin){ m_PreLogin = prelogin; } string& GetPreLoginPrompt(){ return m_PreLoginPrompt; } - void SetPreLoginPrompt( string prelogin_prompt ){ m_PreLoginPrompt = prelogin_prompt; } + X_EXPORT void SetPreLoginPrompt( string prelogin_prompt ){ m_PreLoginPrompt = prelogin_prompt; } string& GetPostLogin(){ return m_PostLogin; } - void SetPostLogin(string postlogin){ m_PostLogin = postlogin; } + X_EXPORT void SetPostLogin(string postlogin){ m_PostLogin = postlogin; } protected: string m_Passwd; debian/patches/fix-ftbfs-gcc-4.7-armhf.diff0000664000000000000000000000110112036306335015466 0ustar Index: gemanx-gtk2-0.1.0.3/src/core/widget.h =================================================================== --- gemanx-gtk2-0.1.0.3.orig/src/core/widget.h 2012-10-13 15:45:46.521511000 +0000 +++ gemanx-gtk2-0.1.0.3/src/core/widget.h 2012-10-13 15:46:33.373073500 +0000 @@ -38,8 +38,8 @@ public: CWidget(); - void Show() { gtk_widget_show(m_Widget); } - void Hide() { gtk_widget_hide(m_Widget); } + X_EXPORT void Show() { gtk_widget_show(m_Widget); } + X_EXPORT void Hide() { gtk_widget_hide(m_Widget); } void Destroy(); void SetFocus() { debian/patches/series0000664000000000000000000000010312036306276012033 0ustar libnotify07.patch binutils-gold.patch fix-ftbfs-gcc-4.7-armhf.diff debian/source/0000775000000000000000000000000011641570006010470 5ustar debian/source/format0000664000000000000000000000001411641570006011676 0ustar 3.0 (quilt) debian/README.source0000664000000000000000000000066311641570006011354 0ustar license problem of src/core/encoding.* ====================================== src/core/encoding.h and src/core/encoding.cpp is derived from the source files[1] of nally project, which is also licensed under GPL2. for more information, check [2] [1] http://code.google.com/p/nally/source/browse/trunk/encoding.h http://code.google.com/p/nally/source/browse/trunk/encoding.c [2] http://code.google.com/p/gemanx/issues/detail?id=6 debian/manpages0000664000000000000000000000002011641570006010676 0ustar debian/gemanx.1 debian/dirs0000664000000000000000000000001011641570006010043 0ustar usr/bin debian/control0000664000000000000000000000351611641570006010600 0ustar Source: gemanx-gtk2 Section: net Priority: optional Maintainer: Debian Chinese Team Uploaders: LI Daobing Build-Depends: debhelper (>= 7.0.50~), autotools-dev, libgtk2.0-dev, intltool, libnotify-dev, libmagic-dev, libcurl4-gnutls-dev, autopoint, libtool Standards-Version: 3.9.2 Homepage: http://code.google.com/p/gemanx Vcs-Browser: http://anonscm.debian.org/gitweb/?p=chinese/gemanx-gtk2.git Vcs-Git: git://anonscm.debian.org/chinese/gemanx-gtk2.git Package: gemanx-gtk2 Architecture: any Depends: libgemanx-core0 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Description: Term BBS Client beyond PCMan X PCMan X is a newly developed GPL'd version of PCMan, a full-featured famous BBS client. It aimed to be an easy-to-use yet full-featured telnet client facilitating BBS browsing with the ability to process double-byte characters. Some handy functions like tabbed-browsing, auto-login and a built-in ANSI editor enabling colored text editing are also provided. . gemanx-gtk2 is a fork of PCMan X, including many patches to make it works better with BBS in mainland China. Package: libgemanx-core0 Architecture: any Section: libs Depends: ${shlibs:Depends}, ${misc:Depends} Description: core library of gemanx PCMan X is a newly developed GPL'd version of PCMan, a full-featured famous BBS client. It aimed to be an easy-to-use yet full-featured telnet client facilitating BBS browsing with the ability to process double-byte characters. Some handy functions like tabbed-browsing, auto-login and a built-in ANSI editor enabling colored text editing are also provided. . gemanx-gtk2 is a fork of PCMan X, including many patches to make it works better with BBS in mainland China. . This package contains the core function of gemanx in dynamic linked library format. debian/compat0000664000000000000000000000000211641570006010366 0ustar 7 debian/clean0000664000000000000000000000066611641570006010205 0ustar config.guess config.sub po/Makefile.in.in ABOUT-NLS INSTALL Makefile.in aclocal.m4 configure data/Makefile.in depcomp install-sh ltmain.sh missing mkinstalldirs src/Makefile.in src/core/Makefile.in config.log config.rpath po/Makevars.template po/POTFILES po/Rules-quot po/boldquot.sed po/en@boldquot.header po/en@quot.header po/insert-header.sin po/quot.sed po/remove-potcdate.sin debian/gemanx.10000664000000000000000000000074211641570006010534 0ustar .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36. .TH GEMANX "1" "December 2009" "gemanx 0.1.0.2" "User Commands" .SH NAME gemanx \- Term BBS Client beyond PCMan X .SH "SYNOPSIS" .B gemanx .SH DESCRIPTION .SS "Help Options:" .TP \fB\-h\fR, \fB\-\-help\fR Show help options .SS "Application Options:" .TP \fB\-m\fR, \fB\-\-multiple\-instance\fR=\fIN\fR Allow multiple instances .SH "SEE ALSO" .BR qterm (1), .BR pcmanx (1), .BR fqterm (1), .BR telnet (1), .BR ssh (1)