diff options
author | hubertf <hubertf@pkgsrc.org> | 2003-04-30 00:00:18 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2003-04-30 00:00:18 +0000 |
commit | 3a594413c7f10677de5f150a216943024ca32107 (patch) | |
tree | a88cbd24a9ff74c7b9ae89ec712e63b9b5bc40ba /chat/ickle | |
parent | 8850ea84b0c7b8e4adc3bc33658df00e3046599c (diff) | |
download | pkgsrc-3a594413c7f10677de5f150a216943024ca32107.tar.gz |
Add ickle-0.3.2: Simplistic gtk+ icq client
ickle is an ICQ2000 Client using the GTK+ graphical toolkit. It aims to
bring all the useful features of ICQ2000 to non-windows users, such as
SMS messaging.
Contributed by blef@users.sourceforge.net via pkgsrc-wip.
Diffstat (limited to 'chat/ickle')
-rw-r--r-- | chat/ickle/DESCR | 3 | ||||
-rw-r--r-- | chat/ickle/Makefile | 18 | ||||
-rw-r--r-- | chat/ickle/PLIST | 152 | ||||
-rw-r--r-- | chat/ickle/distinfo | 7 | ||||
-rw-r--r-- | chat/ickle/patches/patch-aa | 12 | ||||
-rw-r--r-- | chat/ickle/patches/patch-ab | 132 | ||||
-rw-r--r-- | chat/ickle/patches/patch-ac | 21 |
7 files changed, 345 insertions, 0 deletions
diff --git a/chat/ickle/DESCR b/chat/ickle/DESCR new file mode 100644 index 00000000000..8b75f9693be --- /dev/null +++ b/chat/ickle/DESCR @@ -0,0 +1,3 @@ +ickle is an ICQ2000 Client using the GTK+ graphical toolkit. It aims to +bring all the useful features of ICQ2000 to non-windows users, such as +SMS messaging. diff --git a/chat/ickle/Makefile b/chat/ickle/Makefile new file mode 100644 index 00000000000..5ca085d28a7 --- /dev/null +++ b/chat/ickle/Makefile @@ -0,0 +1,18 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/04/30 00:00:18 hubertf Exp $ + +DISTNAME= ickle-0.3.2 +CATEGORIES= chat +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ickle/} + +MAINTAINER= blef@users.sourceforge.net +HOMEPAGE= http://ickle.sourceforge.net/ +COMMENT= Simplistic gtk+ icq client + +USE_BUILDLINK2= YES +USE_LIBTOOL= YES +LIBTOOL_OVERRIDE= ${WRKSRC}/libtool +GNU_CONFIGURE= YES + +.include "../../chat/libicq2000/buildlink2.mk" +.include "../../x11/gtk--/buildlink2.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/chat/ickle/PLIST b/chat/ickle/PLIST new file mode 100644 index 00000000000..2779e7c6d2a --- /dev/null +++ b/chat/ickle/PLIST @@ -0,0 +1,152 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2003/04/30 00:00:19 hubertf Exp $ +bin/ickle +bin/ickle_control +share/ickle/icons/doors/away.xpm +share/ickle/icons/doors/chat.xpm +share/ickle/icons/doors/dnd.xpm +share/ickle/icons/doors/ffc.xpm +share/ickle/icons/doors/file.xpm +share/ickle/icons/doors/invisible.xpm +share/ickle/icons/doors/message.xpm +share/ickle/icons/doors/na.xpm +share/ickle/icons/doors/occ.xpm +share/ickle/icons/doors/offline.xpm +share/ickle/icons/doors/online.xpm +share/ickle/icons/doors/sms.xpm +share/ickle/icons/doors/sysmsg.xpm +share/ickle/icons/doors/url.xpm +share/ickle/icons/eureka/away.xpm +share/ickle/icons/eureka/chat.xpm +share/ickle/icons/eureka/dnd.xpm +share/ickle/icons/eureka/ffc.xpm +share/ickle/icons/eureka/file.xpm +share/ickle/icons/eureka/invisible.xpm +share/ickle/icons/eureka/message.xpm +share/ickle/icons/eureka/na.xpm +share/ickle/icons/eureka/occ.xpm +share/ickle/icons/eureka/offline.xpm +share/ickle/icons/eureka/online.xpm +share/ickle/icons/eureka/sms.xpm +share/ickle/icons/eureka/sysmsg.xpm +share/ickle/icons/eureka/url.xpm +share/ickle/icons/gnomeicu/away.xpm +share/ickle/icons/gnomeicu/chat.xpm +share/ickle/icons/gnomeicu/dnd.xpm +share/ickle/icons/gnomeicu/ffc.xpm +share/ickle/icons/gnomeicu/file.xpm +share/ickle/icons/gnomeicu/invisible.xpm +share/ickle/icons/gnomeicu/message.xpm +share/ickle/icons/gnomeicu/na.xpm +share/ickle/icons/gnomeicu/occ.xpm +share/ickle/icons/gnomeicu/offline.xpm +share/ickle/icons/gnomeicu/online.xpm +share/ickle/icons/gnomeicu/sms.xpm +share/ickle/icons/gnomeicu/sysmsg.xpm +share/ickle/icons/gnomeicu/url.xpm +share/ickle/icons/ickle/away.xpm +share/ickle/icons/ickle/chat.xpm +share/ickle/icons/ickle/dnd.xpm +share/ickle/icons/ickle/ffc.xpm +share/ickle/icons/ickle/file.xpm +share/ickle/icons/ickle/invisible.xpm +share/ickle/icons/ickle/message.xpm +share/ickle/icons/ickle/na.xpm +share/ickle/icons/ickle/occ.xpm +share/ickle/icons/ickle/offline.xpm +share/ickle/icons/ickle/online.xpm +share/ickle/icons/ickle/sms.xpm +share/ickle/icons/ickle/sysmsg.xpm +share/ickle/icons/ickle/url.xpm +share/ickle/icons/icq/away.xpm +share/ickle/icons/icq/chat.xpm +share/ickle/icons/icq/dnd.xpm +share/ickle/icons/icq/ffc.xpm +share/ickle/icons/icq/file.xpm +share/ickle/icons/icq/invisible.xpm +share/ickle/icons/icq/message.xpm +share/ickle/icons/icq/na.xpm +share/ickle/icons/icq/occ.xpm +share/ickle/icons/icq/offline.xpm +share/ickle/icons/icq/online.xpm +share/ickle/icons/icq/sms.xpm +share/ickle/icons/icq/sysmsg.xpm +share/ickle/icons/icq/url.xpm +share/ickle/icons/kit/away.xpm +share/ickle/icons/kit/chat.xpm +share/ickle/icons/kit/dnd.xpm +share/ickle/icons/kit/ffc.xpm +share/ickle/icons/kit/file.xpm +share/ickle/icons/kit/invisible.xpm +share/ickle/icons/kit/message.xpm +share/ickle/icons/kit/na.xpm +share/ickle/icons/kit/occ.xpm +share/ickle/icons/kit/offline.xpm +share/ickle/icons/kit/online.xpm +share/ickle/icons/kit/sms.xpm +share/ickle/icons/kit/sysmsg.xpm +share/ickle/icons/kit/url.xpm +share/ickle/icons/new/away.xpm +share/ickle/icons/new/chat.xpm +share/ickle/icons/new/dnd.xpm +share/ickle/icons/new/ffc.xpm +share/ickle/icons/new/file.xpm +share/ickle/icons/new/invisible.xpm +share/ickle/icons/new/message.xpm +share/ickle/icons/new/na.xpm +share/ickle/icons/new/occ.xpm +share/ickle/icons/new/offline.xpm +share/ickle/icons/new/online.xpm +share/ickle/icons/new/sms.xpm +share/ickle/icons/new/sysmsg.xpm +share/ickle/icons/new/url.xpm +share/ickle/translations/ASCII +share/ickle/translations/CP437 +share/ickle/translations/CP850 +share/ickle/translations/DANISH +share/ickle/translations/DEC_MCS +share/ickle/translations/DG_MCS +share/ickle/translations/DUTCH +share/ickle/translations/FINNISH +share/ickle/translations/FRENCH +share/ickle/translations/FRENCH_CANADIAN +share/ickle/translations/GERMAN +share/ickle/translations/HP_MCS +share/ickle/translations/IRV +share/ickle/translations/ITALIAN +share/ickle/translations/JIS +share/ickle/translations/LATIN_2 +share/ickle/translations/MACINTOSH +share/ickle/translations/NEXT +share/ickle/translations/NORWEGIAN_1 +share/ickle/translations/NORWEGIAN_2 +share/ickle/translations/POLISH +share/ickle/translations/POLISH_NOPL +share/ickle/translations/PORTUGUESE +share/ickle/translations/PORTUGUESE_COM +share/ickle/translations/RUSSIAN +share/ickle/translations/RUSSIAN_ALT +share/ickle/translations/RUSSIAN_WIN +share/ickle/translations/SPANISH +share/ickle/translations/SWEDISH +share/ickle/translations/SWEDISH_NAMES +share/ickle/translations/SWEDISH_NAMES_COM +share/ickle/translations/SWISS +share/ickle/translations/UKRAINIAN_WIN +share/ickle/translations/UNITED_KINGDOM +share/ickle/translations/UNITED_KINGDOM_COM +@dirrm share/ickle/translations +@dirrm share/ickle/icons/new +@dirrm share/ickle/icons/kit +@dirrm share/ickle/icons/icq +@dirrm share/ickle/icons/ickle +@dirrm share/ickle/icons/gnomeicu +@dirrm share/ickle/icons/eureka +@dirrm share/ickle/icons/doors +@dirrm share/ickle/icons +@dirrm share/ickle +@exec ${MKDIR} %D/share/applets/Network +@dirrm share/applets/Network +@dirrm share/applets +@exec ${MKDIR} %D/etc/CORBA/servers +@dirrm etc/CORBA/servers +@dirrm etc/CORBA diff --git a/chat/ickle/distinfo b/chat/ickle/distinfo new file mode 100644 index 00000000000..72240702879 --- /dev/null +++ b/chat/ickle/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1.1.1 2003/04/30 00:00:18 hubertf Exp $ + +SHA1 (ickle-0.3.2.tar.gz) = a9dd290348c0630114358e6db350542fb96469db +Size (ickle-0.3.2.tar.gz) = 383799 bytes +SHA1 (patch-aa) = 38b61d62b8b4dec658a92c109cd5dde683f35d25 +SHA1 (patch-ab) = 64aee27eeff0095beb8ee0a2d2196cc46c2d7c24 +SHA1 (patch-ac) = 7da87e946ab4cd2d5f8bf0bef76071798feb739c diff --git a/chat/ickle/patches/patch-aa b/chat/ickle/patches/patch-aa new file mode 100644 index 00000000000..f46b2d9d94c --- /dev/null +++ b/chat/ickle/patches/patch-aa @@ -0,0 +1,12 @@ +$NetBSD: patch-aa,v 1.1.1.1 2003/04/30 00:00:19 hubertf Exp $ +--- ickle/History.cpp.orig Fri Apr 11 21:44:46 2003 ++++ ickle/History.cpp Fri Apr 11 21:45:52 2003 +@@ -57,7 +57,7 @@ + * Note the historyfile should be given relative to the current CONTACT_DIR. + */ + History::History(const string &historyfile) { +- m_filename = CONTACT_DIR + historyfile; ++ m_filename = CONTACT_DIR + "/" + historyfile; + m_builtindex = false; + m_size = 0; + m_streamlock = false; diff --git a/chat/ickle/patches/patch-ab b/chat/ickle/patches/patch-ab new file mode 100644 index 00000000000..8d2072a1255 --- /dev/null +++ b/chat/ickle/patches/patch-ab @@ -0,0 +1,132 @@ +$NetBSD: patch-ab,v 1.1.1.1 2003/04/30 00:00:19 hubertf Exp $ +--- ickle/IckleClient.cpp.orig Fri Apr 11 22:32:26 2003 ++++ ickle/IckleClient.cpp Fri Apr 11 22:34:32 2003 +@@ -162,7 +162,7 @@ + + void IckleClient::loadContactList() { + Dir dir; +- dir.list( CONTACT_DIR + "*.user" ); ++ dir.list( CONTACT_DIR + "/*.user" ); + + Dir::iterator dirit = dir.begin(); + while( dirit != dir.end() ) { +@@ -190,7 +190,7 @@ + exit(0); + break; + case 'b': // base dir +- BASE_DIR = string(optarg) + "/"; ++ BASE_DIR = string(optarg); + break; + } + } +@@ -201,18 +201,18 @@ + if (dir == NULL) dir = getenv("PWD"); + + if (dir != NULL) { +- BASE_DIR = string(dir) + "/.ickle/"; ++ BASE_DIR = string(dir) + "/.ickle"; + } else { +- BASE_DIR = ".ickle/"; ++ BASE_DIR = ".ickle"; + } + + } + +- CONTACT_DIR = BASE_DIR + "contacts/"; +- DATA_DIR = string(PKGDATADIR) + "/"; +- TRANSLATIONS_DIR = DATA_DIR + "translations/"; +- ICONS_DIR = DATA_DIR + "icons/"; +- PID_FILENAME = BASE_DIR + "ickle.pid"; ++ CONTACT_DIR = BASE_DIR + "/contacts"; ++ DATA_DIR = string(PKGDATADIR); ++ TRANSLATIONS_DIR = DATA_DIR + "/translations"; ++ ICONS_DIR = DATA_DIR + "/icons"; ++ PID_FILENAME = BASE_DIR + "/ickle.pid"; + } + + void IckleClient::usageInstructions(const char* progname) { +@@ -232,10 +232,10 @@ + void IckleClient::loadSettings() { + // load in settings + try { +- g_settings.load(BASE_DIR + "ickle.conf"); ++ g_settings.load(BASE_DIR + "/ickle.conf"); + } catch (runtime_error& e) { + ostringstream ostr; +- ostr << "Couldn't open " << BASE_DIR << "ickle.conf, using default settings" << endl ++ ostr << "Couldn't open " << BASE_DIR << "/ickle.conf, using default settings" << endl + << "This is probably the first time you've run ickle."; + SignalLog(ICQ2000::LogEvent::WARN, ostr.str()); + } +@@ -401,7 +401,7 @@ + + if (!mkdir_BASE_DIR()) return; + +- string ickle_conf = BASE_DIR + "ickle.conf"; ++ string ickle_conf = BASE_DIR + "/ickle.conf"; + + // set umask to secure value, so that if ickle.conf doesn't exist, and is created it will be safe. + mode_t old_umask = umask(0077); +@@ -410,7 +410,7 @@ + g_settings.save(ickle_conf); + } catch(runtime_error& e) { + ostringstream ostr; +- ostr << "Couldn't save " << BASE_DIR << "ickle.conf"; ++ ostr << "Couldn't save " << BASE_DIR << "/ickle.conf"; + SignalLog(ICQ2000::LogEvent::ERROR, ostr.str()); + } + +@@ -553,7 +553,7 @@ + } + + void IckleClient::logger_file_cb(const string& msg) { +- string log_file = BASE_DIR + "messages.log"; ++ string log_file = BASE_DIR + "/messages.log"; + + // set umask to secure value, so that if ickle.conf doesn't exist, and is created it will be safe. + mode_t old_umask = umask(0077); +@@ -923,7 +923,7 @@ + if (m_settingsmap.count(c->getUIN()) > 0) return; + ostringstream ostr; + +- ostr << CONTACT_DIR << c->getUIN() << ".user"; ++ ostr << CONTACT_DIR << "/" << c->getUIN() << ".user"; + + int n = 0; + struct stat fs; +@@ -934,7 +934,7 @@ + while ( stat( filename.c_str(), &fs ) == 0 ) { + ostringstream ostr; + n++; +- ostr << CONTACT_DIR << c->getUIN() << "-" << n << ".user"; ++ ostr << CONTACT_DIR << "/" << c->getUIN() << "-" << n << ".user"; + filename = ostr.str(); + } + m_settingsmap[c->getUIN()] = filename; +@@ -965,7 +965,7 @@ + // remove history file for mobile users as well, we will not be able to correctly + // reuse this history file if the same user is added anyway + if( !c->isICQContact() ) +- unlink( string(CONTACT_DIR + m_histmap[c->getUIN()]->getFilename()).c_str() ); ++ unlink( string(CONTACT_DIR + "/" + m_histmap[c->getUIN()]->getFilename()).c_str() ); + + m_histmap.erase(c->getUIN()); + m_settingsmap.erase(c->getUIN()); +@@ -1035,7 +1035,7 @@ + + void IckleClient::saveSelfContact() + { +- saveContact( icqclient.getSelfContact(), BASE_DIR + "self.user", true ); ++ saveContact( icqclient.getSelfContact(), BASE_DIR + "/" + "self.user", true ); + } + + void IckleClient::loadContact(const string& s, bool self) +@@ -1132,7 +1132,7 @@ + void IckleClient::loadSelfContact() + { + try { +- loadContact( BASE_DIR + "self.user", true ); ++ loadContact( BASE_DIR + "/" + "self.user", true ); + } catch(runtime_error& e) { + // ignore + } diff --git a/chat/ickle/patches/patch-ac b/chat/ickle/patches/patch-ac new file mode 100644 index 00000000000..b96f6c98f62 --- /dev/null +++ b/chat/ickle/patches/patch-ac @@ -0,0 +1,21 @@ +$NetBSD: patch-ac,v 1.1.1.1 2003/04/30 00:00:19 hubertf Exp $ +--- ickle/SettingsDialog.cpp.orig Fri Apr 11 21:46:32 2003 ++++ ickle/SettingsDialog.cpp Fri Apr 11 21:47:03 2003 +@@ -216,7 +216,7 @@ + // Icons in share/ickle/icons directory + Dir dir; + dir.setDirectoriesOnly(true); +- dir.list( ICONS_DIR + "*" ); ++ dir.list( ICONS_DIR + "/" + "*" ); + Dir::iterator iter = dir.begin(); + + while (iter != dir.end()) { +@@ -1060,7 +1060,7 @@ + + string SettingsDialog::getIconsFilename() { + string filename = icons_combo.get_entry()->get_text(); +- if (filename != "Default") filename = ICONS_DIR + filename + "/"; ++ if (filename != "Default") filename = ICONS_DIR + "/" + filename + "/"; + return filename; + } + |