aboutsummaryrefslogtreecommitdiff
path: root/net-im/vqcc-gtk
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2006-07-20 03:30:18 +0000
committerRong-En Fan <rafan@FreeBSD.org>2006-07-20 03:30:18 +0000
commit1082bf2324c5fb4d7c751e9447d9b2b8ee8459a7 (patch)
treeac148f4bccd7c9b76ad7a203cba48dbb2fb2f381 /net-im/vqcc-gtk
parent42c29b43170fb29d86077839e7d6a453f30d9ddd (diff)
downloadports-1082bf2324c5fb4d7c751e9447d9b2b8ee8459a7.tar.gz
ports-1082bf2324c5fb4d7c751e9447d9b2b8ee8459a7.zip
Notes
Diffstat (limited to 'net-im/vqcc-gtk')
-rw-r--r--net-im/vqcc-gtk/Makefile17
-rw-r--r--net-im/vqcc-gtk/distinfo6
-rw-r--r--net-im/vqcc-gtk/files/patch-src__idle.c24
-rw-r--r--net-im/vqcc-gtk/pkg-plist4
4 files changed, 38 insertions, 13 deletions
diff --git a/net-im/vqcc-gtk/Makefile b/net-im/vqcc-gtk/Makefile
index ddba5a2aef4d..13676094e2cc 100644
--- a/net-im/vqcc-gtk/Makefile
+++ b/net-im/vqcc-gtk/Makefile
@@ -5,8 +5,7 @@
#
PORTNAME= vqcc-gtk
-PORTVERSION= 0.4.1
-PORTREVISION= 2
+PORTVERSION= 0.5
CATEGORIES?= net-im
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -17,12 +16,18 @@ COMMENT= LAN chat client compatible with quickChat and Vypress Chat (TM)
LIB_DEPENDS= startup-notification-1.0:${PORTSDIR}/x11/startup-notification
USE_X_PREFIX= yes
+USE_GNOME= gnomehack gnomeprefix gnometarget gtk20
USE_GMAKE= yes
-USE_GNOME= gtk20 gnomeprefix
GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}" \
- LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}" \
- PTHREAD_LIB="${PTHREAD_LIBS}"
+PLIST_FILES= bin/vqcc-gtk \
+ share/gnome/applications/vqcc-gtk.desktop \
+ share/gnome/pixmaps/vqcc-gtk.png \
+ share/locale/lt/LC_MESSAGES/vqcc-gtk.mo \
+ share/locale/ru/LC_MESSAGES/vqcc-gtk.mo
+
+CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}
+LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}
.include <bsd.port.mk>
diff --git a/net-im/vqcc-gtk/distinfo b/net-im/vqcc-gtk/distinfo
index b0ba1be1322b..19c179580695 100644
--- a/net-im/vqcc-gtk/distinfo
+++ b/net-im/vqcc-gtk/distinfo
@@ -1,3 +1,3 @@
-MD5 (vqcc-gtk-0.4.1.tar.gz) = 4205b8112281443832a381b6411bfc31
-SHA256 (vqcc-gtk-0.4.1.tar.gz) = 43830a09893c8eb615ef482fa8d00e1fa2c27ae67ed6f547d86dc1e4afb9dde3
-SIZE (vqcc-gtk-0.4.1.tar.gz) = 224969
+MD5 (vqcc-gtk-0.5.tar.gz) = 88c2beaa96b58b380147a1d24c90349d
+SHA256 (vqcc-gtk-0.5.tar.gz) = e29577a606eb4992795a0a711092eced90f5abca31609093309f12b04b7f8e1f
+SIZE (vqcc-gtk-0.5.tar.gz) = 252284
diff --git a/net-im/vqcc-gtk/files/patch-src__idle.c b/net-im/vqcc-gtk/files/patch-src__idle.c
new file mode 100644
index 000000000000..b8dae802f4a3
--- /dev/null
+++ b/net-im/vqcc-gtk/files/patch-src__idle.c
@@ -0,0 +1,24 @@
+--- src/idle.c.orig Tue Jan 4 05:36:55 2005
++++ src/idle.c Mon Jul 17 03:53:55 2006
+@@ -54,6 +54,12 @@
+ idle_check_cb(gpointer dummy)
+ {
+ unsigned idle_time; /* idle time in minutes */
++#ifndef _WIN32
++ #ifdef USE_XSCREENSAVER
++ static XScreenSaverInfo * xss_info = 0;
++ int event_base, error_base;
++ #endif /* #ifdef USE_XSCREENSAVER */
++#endif
+
+ /* do not enter auto-away or auto-offline when we're in invisible mode */
+ if(my_mode()==UMODE_INVISIBLE)
+@@ -63,8 +69,6 @@
+ idle_time = winvqcc_get_last_active() / 60000;
+ #else
+ #ifdef USE_XSCREENSAVER
+- static XScreenSaverInfo * xss_info = 0;
+- int event_base, error_base;
+
+ /* Query X Window System XScreenSaver extension
+ */
diff --git a/net-im/vqcc-gtk/pkg-plist b/net-im/vqcc-gtk/pkg-plist
deleted file mode 100644
index 970b61cd0228..000000000000
--- a/net-im/vqcc-gtk/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-bin/vqcc-gtk
-share/gnome/applications/vqcc-gtk.desktop
-share/gnome/pixmaps/vqcc-gtk.png
-share/locale/lt/LC_MESSAGES/vqcc-gtk.mo