View | Details | Raw Unified | Return to bug 58931
Collapse All | Expand All

(-)simicq/Makefile (-11 / +28 lines)
Lines 5-43 Link Here
5
# $FreeBSD: ports/net/simicq/Makefile,v 1.9 2003/08/29 20:15:01 krion Exp $
5
# $FreeBSD: ports/net/simicq/Makefile,v 1.9 2003/08/29 20:15:01 krion Exp $
6
6
7
PORTNAME=	simicq
7
PORTNAME=	simicq
8
PORTVERSION=	0.8.3
8
PORTVERSION=	0.9
9
CATEGORIES=	net kde
9
CATEGORIES=	net kde
10
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
10
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
11
MASTER_SITE_SUBDIR=	${PORTNAME:S/mi/m-i/}
11
MASTER_SITE_SUBDIR=	${PORTNAME:S/mi/m-i/}
12
DISTNAME=	${PORTNAME:S/icq//}-${PORTVERSION}
12
DISTNAME=	${PORTNAME:S/icq//}-${PORTVERSION}
13
13
14
MAINTAINER=	brueffer@phoenix-systems.de
14
MAINTAINER=	brueffer@phoenix-systems.de
15
COMMENT=	ICQ client which supports Version 8 of the ICQ protocol (ICQ 2001)
15
COMMENT=	Plugin-based instant messenger
16
16
17
USE_GMAKE=	yes
17
USE_GMAKE=	yes
18
USE_QT_VER=	3
18
USE_QT_VER=	3
19
USE_PERL5_BUILD=	yes
19
USE_PERL5_BUILD=	yes
20
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
21
USE_REINPLACE=	yes
21
USE_REINPLACE=	yes
22
INSTALLS_SHLIB=	yes
23
24
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
25
26
.include <bsd.port.pre.mk>
22
27
23
.if !defined(WITHOUT_SSL)
28
.if !defined(WITHOUT_SSL)
24
USE_OPENSSL=	yes
29
USE_OPENSSL=	yes
30
PLIST_SUB+=	SSL=""
25
.else
31
.else
26
CONFIGURE_ARGS+=--disable-openssl
32
CONFIGURE_ARGS+=--disable-openssl
33
PLIST_SUB+=	SSL="@comment "
27
.endif
34
.endif
28
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
29
35
30
.if defined(WITHOUT_KDE)
36
.if defined(WITHOUT_KDE)
31
CONFIGURE_ARGS+=	--disable-kde --enable-mt
37
CONFIGURE_ARGS+=--disable-kde --enable-mt
38
PLIST_SUB+=	KDE="@comment "
32
.else
39
.else
33
USE_KDELIBS_VER=	3
40
USE_KDELIBS_VER=3
41
PLIST_SUB+=	KDE=""
34
.endif
42
.endif
35
43
36
post-patch:
44
pre-everything:
37
.if defined(WITHOUT_KDE)
45
.if !defined(WITHOUT_SSL)
38
	${REINPLACE_CMD} -e "s,qtlib=\"qt\",qtlib=\"qt-mt -pthread\"," \
46
	@${ECHO_MSG} "You can disable SSL support by defining WITHOUT_SSL."
39
		${WRKSRC}/configure
47
.endif
48
.if !defined(WITHOUT_KDE)
49
	@${ECHO_MSG} "You can disable KDE support by defining WITHOUT_KDE."
40
.endif
50
.endif
41
	${REINPLACE_CMD} -e 's/-O2//g' ${CONFIGURE_WRKSRC}/configure
42
51
43
.include <bsd.port.mk>
52
post-extract:
53
	@${TOUCH} ${WRKSRC}/plugins/splash/Makefile.in
54
55
post-patch:
56
	@${REINPLACE_CMD} -e 's/-O2//g; s/-lpthread/${PTHREAD_LIBS}/g' \
57
		${CONFIGURE_WRKSRC}/configure
58
59
.include <bsd.port.post.mk>
60
(-)simicq/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (sim-0.8.3.tar.gz) = a981b7aa4330bf050a46e144942d2726
1
MD5 (sim-0.9.tar.gz) = 3c2cd29c2150414d67c3882464416f1c
(-)simicq/files/patch-Makefile.in (-11 lines)
Lines 1-11 Link Here
1
--- Makefile.in.orig	Sun Jun 22 16:38:25 2003
2
+++ Makefile.in	Sun Jun 22 16:38:50 2003
3
@@ -591,8 +591,6 @@
4
 	uninstall-info-recursive uninstall-recursive
5
 
6
 
7
-$(top_srcdir)/configure.in: configure.in.in $(top_srcdir)/subdirs
8
-	cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure.in ;
9
 
10
 $(top_srcdir)/subdirs:
11
 	cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common subdirs
(-)simicq/files/patch-configure (-10 / +10 lines)
Lines 1-10 Link Here
1
--- configure.orig	Sun Jun 22 16:33:46 2003
1
--- configure.orig	Tue Nov  4 09:52:54 2003
2
+++ configure	Sun Jun 22 16:33:56 2003
2
+++ configure	Tue Nov  4 09:53:21 2003
3
@@ -25216,7 +25216,6 @@
3
@@ -19002,6 +19002,7 @@
4
 
4
     		;;
5
 ac_config_files="$ac_config_files ./Makefile"
5
         freebsd*)
6
 
6
                 CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE"
7
-ac_config_files="$ac_config_files gkrellm_plugin/Makefile"
7
+		LIBS="$LIBS -lpthread"
8
 
8
                 echo "Setting FreeBSD pthread compilation options"
9
 ac_config_files="$ac_config_files pict/Makefile"
9
                 ;;
10
 
10
         aix*)
(-)simicq/files/patch-icqicmb.cpp (+20 lines)
Line 0 Link Here
1
--- plugins/icq/icqicmb.cpp.orig	Mon Nov  3 01:18:29 2003
2
+++ plugins/icq/icqicmb.cpp	Mon Nov  3 02:27:56 2003
3
@@ -1375,7 +1375,7 @@
4
                         msgBuf.pack(cc[j].alias);
5
                     m_send.id.id_l = rand();
6
                     m_send.id.id_h = rand();
7
-                    sendType2(m_send.screen.c_str(), msgBuf, m_send.id, CAP_AIM_BUDDYLIST, false, false, false);
8
+                    sendType2(m_send.screen.c_str(), msgBuf, m_send.id, CAP_AIM_BUDDYLIST, false, 0);
9
                     return;
10
                 }
11
             case MessageUrl:{
12
@@ -1573,7 +1573,7 @@
13
             msgBuf.pack((unsigned long)(this->data.owner.Port));
14
             msgBuf.pack((unsigned short)8);
15
             msgBuf.pack((unsigned long)m_nMsgSequence);
16
-            sendType2(m_send.screen.c_str(), msgBuf, m_send.id, CAP_DIRECT, false, false, false);
17
+            sendType2(m_send.screen.c_str(), msgBuf, m_send.id, CAP_DIRECT, false, 0);
18
             return;
19
         }
20
         if (m_send.flags == PLUGIN_AR){
(-)simicq/files/patch-icqlogin.cpp (+11 lines)
Line 0 Link Here
1
--- plugins/icq/icqlogin.cpp.orig	Tue Nov  4 12:58:23 2003
2
+++ plugins/icq/icqlogin.cpp	Tue Nov  4 13:05:21 2003
3
@@ -139,7 +139,7 @@
4
         m_socket->writeBuffer.tlv(0x0017, 0x0014);
5
         m_socket->writeBuffer.tlv(0x0018, 0x0009);
6
         m_socket->writeBuffer.tlv(0x0019, 0x0000);
7
-        m_socket->writeBuffer.tlv(0x001A, 0x04E5);
8
+        m_socket->writeBuffer.tlv(0x001A, 0x0515);
9
         m_socket->writeBuffer.tlv(0x0014, 0x0000043DL);
10
         m_socket->writeBuffer.tlv(0x000f, "en");
11
         m_socket->writeBuffer.tlv(0x000e, "us");
(-)simicq/files/patch-sim::libicq::icqclient.cpp (-11 lines)
Lines 1-11 Link Here
1
--- sim/libicq/icqclient.cpp.orig	Tue Sep  2 01:47:04 2003
2
+++ sim/libicq/icqclient.cpp	Tue Sep  2 01:47:21 2003
3
@@ -128,7 +128,7 @@
4
         time_t now;
5
         time(&now);
6
         struct tm *tm = localtime(&now);
7
-        if (((tm->tm_mon + 1) == month) && ((tm->tm_mday + 1) == day))
8
+        if (((tm->tm_mon + 1) == month) && (tm->tm_mday == day))
9
             m_bBirthday = true;
10
     }
11
     if ((m_bBirthday != oldValue) && (m_state == Logged))
(-)simicq/pkg-descr (-16 / +12 lines)
Lines 1-20 Link Here
1
SIM (Simple Instant Messenger) is an unpretentious ICQ client which supports
1
SIM (Simple Instant Messenger) is a plugin-based instant messenger with
2
many of the features of Version 8 of the ICQ protocol (ICQ 2001).
2
support for various protocols.
3
(QT is needed, can be build for KDE).
3
(QT is needed, can be build for KDE).
4
4
5
Special Features
5
All protocols support richtext-messages, file transfer, typing notification,
6
6
server-side contact list (with postponed synchronization - you can change
7
    * sending and receiving SMS
7
contact list in offline mode and after log on all changes will be
8
    * server-side contact lists
8
synchronized with server), new account registration and various searches.
9
    * phone directories
9
You can use several accounts for each protocol.
10
    * file transfers
10
 
11
    * chat
11
Supported protocols:
12
    * user search
12
    * Oscar - ICQ and AIM support
13
    * proxy support (SOCKS4, SOCKS5, HTTP)
13
    * Jabber
14
    * a SPAM filter
14
    * MSN
15
    * secure direct connections with SIM and Licq
16
    * message or chat mode for the user window
17
    * keyboard shortcuts
18
    * message forwarding
19
15
20
WWW: http://sim-icq.sourceforge.net/
16
WWW: http://sim-icq.sourceforge.net/
(-)simicq/pkg-plist (-4 / +49 lines)
Lines 1-22 Link Here
1
bin/sim
1
bin/sim
2
bin/simctrl
2
lib/libsimapi.la
3
lib/libsimapi.so
4
lib/libsimapi.so.0
5
lib/libsimui.la
6
lib/libsimui.so
7
lib/libsimui.so.0
3
lib/menu/sim-kde.menu
8
lib/menu/sim-kde.menu
4
share/applnk/Internet/sim.desktop
9
share/applnk/Internet/sim.desktop
10
share/apps/sim/COPYING
11
share/apps/sim/pict/connect.mng
5
share/apps/sim/pict/splash.png
12
share/apps/sim/pict/splash.png
13
share/apps/sim/plugins/__homedir.so
14
share/apps/sim/plugins/__migrate.so
15
share/apps/sim/plugins/_core.so
16
share/apps/sim/plugins/about.so
17
share/apps/sim/plugins/autoaway.so
18
share/apps/sim/plugins/background.so
19
share/apps/sim/plugins/dock.so
20
share/apps/sim/plugins/filter.so
21
share/apps/sim/plugins/floaty.so
22
share/apps/sim/plugins/forward.so
23
share/apps/sim/plugins/icons.so
24
share/apps/sim/plugins/icq.so
25
share/apps/sim/plugins/jabber.so
26
share/apps/sim/plugins/logger.so
27
%%SSL%%share/apps/sim/plugins/msn.so
28
share/apps/sim/plugins/navigate.so
29
share/apps/sim/plugins/netmonitor.so
30
%%KDE%%share/apps/sim/plugins/ontop.so
31
share/apps/sim/plugins/osd.so
32
share/apps/sim/plugins/proxy.so
33
share/apps/sim/plugins/shortcuts.so
34
share/apps/sim/plugins/sound.so
35
share/apps/sim/plugins/splash.so
36
%%KDE%%share/apps/sim/plugins/transparent.so
37
share/apps/sim/plugins/update.so
6
share/apps/sim/sounds/alert.wav
38
share/apps/sim/sounds/alert.wav
7
share/apps/sim/sounds/auth.wav
39
share/apps/sim/sounds/auth.wav
8
share/apps/sim/sounds/chat.wav
40
share/apps/sim/sounds/contacts.wav
41
share/apps/sim/sounds/error.wav
9
share/apps/sim/sounds/file.wav
42
share/apps/sim/sounds/file.wav
10
share/apps/sim/sounds/filedone.wav
43
share/apps/sim/sounds/filedone.wav
44
share/apps/sim/sounds/mailpager.wav
11
share/apps/sim/sounds/message.wav
45
share/apps/sim/sounds/message.wav
46
share/apps/sim/sounds/msgsent.wav
12
share/apps/sim/sounds/sms.wav
47
share/apps/sim/sounds/sms.wav
13
share/apps/sim/sounds/startup.wav
48
share/apps/sim/sounds/startup.wav
14
share/apps/sim/sounds/url.wav
49
share/apps/sim/sounds/url.wav
50
share/apps/sim/sounds/web.wav
15
share/icons/hicolor/16x16/apps/sim.png
51
share/icons/hicolor/16x16/apps/sim.png
16
share/icons/hicolor/32x32/apps/sim.png
52
share/icons/hicolor/32x32/apps/sim.png
17
share/icons/locolor/16x16/apps/sim.png
53
share/icons/locolor/16x16/apps/sim.png
18
share/icons/locolor/32x32/apps/sim.png
54
share/icons/locolor/32x32/apps/sim.png
19
share/locale/bg/LC_MESSAGES/sim.mo
55
share/locale/bg/LC_MESSAGES/sim.mo
56
share/locale/ca/LC_MESSAGES/sim.mo
20
share/locale/cs/LC_MESSAGES/sim.mo
57
share/locale/cs/LC_MESSAGES/sim.mo
21
share/locale/de/LC_MESSAGES/sim.mo
58
share/locale/de/LC_MESSAGES/sim.mo
22
share/locale/es/LC_MESSAGES/sim.mo
59
share/locale/es/LC_MESSAGES/sim.mo
Lines 25-32 Link Here
25
share/locale/it/LC_MESSAGES/sim.mo
62
share/locale/it/LC_MESSAGES/sim.mo
26
share/locale/nl/LC_MESSAGES/sim.mo
63
share/locale/nl/LC_MESSAGES/sim.mo
27
share/locale/pl/LC_MESSAGES/sim.mo
64
share/locale/pl/LC_MESSAGES/sim.mo
65
share/locale/pt_BR/LC_MESSAGES/sim.mo
28
share/locale/ru/LC_MESSAGES/sim.mo
66
share/locale/ru/LC_MESSAGES/sim.mo
29
share/locale/sk/LC_MESSAGES/sim.mo
67
share/locale/sk/LC_MESSAGES/sim.mo
68
share/locale/sw/LC_MESSAGES/sim.mo
30
share/locale/tr/LC_MESSAGES/sim.mo
69
share/locale/tr/LC_MESSAGES/sim.mo
31
share/locale/uk/LC_MESSAGES/sim.mo
70
share/locale/uk/LC_MESSAGES/sim.mo
32
share/locale/zh_TW/LC_MESSAGES/sim.mo
71
share/locale/zh_TW/LC_MESSAGES/sim.mo
Lines 36-45 Link Here
36
@unexec rmdir %D/share/locale/uk 2>/dev/null || true
75
@unexec rmdir %D/share/locale/uk 2>/dev/null || true
37
@unexec rmdir %D/share/locale/tr/LC_MESSAGES 2>/dev/null || true
76
@unexec rmdir %D/share/locale/tr/LC_MESSAGES 2>/dev/null || true
38
@unexec rmdir %D/share/locale/tr 2>/dev/null || true
77
@unexec rmdir %D/share/locale/tr 2>/dev/null || true
78
@unexec rmdir %D/share/locale/sw/LC_MESSAGES 2>/dev/null || true
79
@unexec rmdir %D/share/locale/sw 2>/dev/null || true
39
@unexec rmdir %D/share/locale/sk/LC_MESSAGES 2>/dev/null || true
80
@unexec rmdir %D/share/locale/sk/LC_MESSAGES 2>/dev/null || true
40
@unexec rmdir %D/share/locale/sk 2>/dev/null || true
81
@unexec rmdir %D/share/locale/sk 2>/dev/null || true
41
@unexec rmdir %D/share/locale/ru/LC_MESSAGES 2>/dev/null || true
82
@unexec rmdir %D/share/locale/ru/LC_MESSAGES 2>/dev/null || true
42
@unexec rmdir %D/share/locale/ru 2>/dev/null || true
83
@unexec rmdir %D/share/locale/ru 2>/dev/null || true
84
@unexec rmdir %D/share/locale/pt_BR/LC_MESSAGES 2>/dev/null || true
85
@unexec rmdir %D/share/locale/pt_BR 2>/dev/null || true
43
@unexec rmdir %D/share/locale/pl/LC_MESSAGES 2>/dev/null || true
86
@unexec rmdir %D/share/locale/pl/LC_MESSAGES 2>/dev/null || true
44
@unexec rmdir %D/share/locale/pl 2>/dev/null || true
87
@unexec rmdir %D/share/locale/pl 2>/dev/null || true
45
@unexec rmdir %D/share/locale/nl/LC_MESSAGES 2>/dev/null || true
88
@unexec rmdir %D/share/locale/nl/LC_MESSAGES 2>/dev/null || true
Lines 56-61 Link Here
56
@unexec rmdir %D/share/locale/de 2>/dev/null || true
99
@unexec rmdir %D/share/locale/de 2>/dev/null || true
57
@unexec rmdir %D/share/locale/cs/LC_MESSAGES 2>/dev/null || true
100
@unexec rmdir %D/share/locale/cs/LC_MESSAGES 2>/dev/null || true
58
@unexec rmdir %D/share/locale/cs 2>/dev/null || true
101
@unexec rmdir %D/share/locale/cs 2>/dev/null || true
102
@unexec rmdir %D/share/locale/ca/LC_MESSAGES 2>/dev/null || true
103
@unexec rmdir %D/share/locale/ca 2>/dev/null || true
59
@unexec rmdir %D/share/locale/bg/LC_MESSAGES 2>/dev/null || true
104
@unexec rmdir %D/share/locale/bg/LC_MESSAGES 2>/dev/null || true
60
@unexec rmdir %D/share/locale/bg 2>/dev/null || true
105
@unexec rmdir %D/share/locale/bg 2>/dev/null || true
61
@unexec rmdir %D/share/locale 2>/dev/null || true
106
@unexec rmdir %D/share/locale 2>/dev/null || true
Lines 71-80 Link Here
71
@unexec rmdir %D/share/icons/hicolor 2>/dev/null || true
116
@unexec rmdir %D/share/icons/hicolor 2>/dev/null || true
72
@unexec rmdir %D/share/icons 2>/dev/null || true
117
@unexec rmdir %D/share/icons 2>/dev/null || true
73
@dirrm share/apps/sim/sounds
118
@dirrm share/apps/sim/sounds
119
@dirrm share/apps/sim/plugins
74
@dirrm share/apps/sim/pict
120
@dirrm share/apps/sim/pict
75
@dirrm share/apps/sim/icons
76
@dirrm share/apps/sim
121
@dirrm share/apps/sim
77
@unexec rmdir %D/share/apps 2>/dev/null || true
122
@unexec rmdir %D/share/apps 2>/dev/null || true
78
@unexec rmdir %D/share/applnk/Internet 2>/dev/null || true
123
@unexec rmdir %D/share/applnk/Internet 2>/dev/null || true
79
@unexec rmdir %D/share/applnk 2>/dev/null || true
124
@unexec rmdir %D/share/applnk 2>/dev/null || true
80
@dirrm lib/menu
125
@unexec rmdir %D/lib/menu 2>/dev/null || true

Return to bug 58931