aboutsummaryrefslogtreecommitdiff
path: root/x11/stalonetray
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-07-14 08:09:19 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-07-14 08:09:19 +0000
commitb2b5fc6c94c9cb6d02279f1f771cf745d61fbf06 (patch)
tree873e592176fd9c1ee306eeb536e2dfc530e94cb5 /x11/stalonetray
parent560ee79f1c95f226e604e414262826e43fd8c640 (diff)
downloadports-b2b5fc6c94c9cb6d02279f1f771cf745d61fbf06.tar.gz
ports-b2b5fc6c94c9cb6d02279f1f771cf745d61fbf06.zip
Notes
Diffstat (limited to 'x11/stalonetray')
-rw-r--r--x11/stalonetray/Makefile9
-rw-r--r--x11/stalonetray/distinfo6
-rw-r--r--x11/stalonetray/files/patch-src-main.c22
3 files changed, 22 insertions, 15 deletions
diff --git a/x11/stalonetray/Makefile b/x11/stalonetray/Makefile
index 0eb86a0ec9f3..f64739864105 100644
--- a/x11/stalonetray/Makefile
+++ b/x11/stalonetray/Makefile
@@ -6,24 +6,21 @@
#
PORTNAME= stalonetray
-PORTVERSION= 0.3
+PORTVERSION= 0.4
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= redchrom@gmail.com
COMMENT= STAnd-aLONE system tray
-LIB_DEPENDS= execinfo:${PORTSDIR}/devel/libexecinfo
-
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_X_PREFIX= yes
USE_BZIP2= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-native-kde --disable-debug
CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
- LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -lexecinfo"
+ LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
MAN1= stalonetray.1
PLIST_FILES= bin/stalonetray
diff --git a/x11/stalonetray/distinfo b/x11/stalonetray/distinfo
index 3238b811205b..c0e14ae03707 100644
--- a/x11/stalonetray/distinfo
+++ b/x11/stalonetray/distinfo
@@ -1,3 +1,3 @@
-MD5 (stalonetray_0.3.tar.bz2) = 5f97e479a17f22f0a85896e7beead99c
-SHA256 (stalonetray_0.3.tar.bz2) = 59b0e88fa581fe5ad8cc899a260579c6689fa72506f639b8d8aa3903edc40389
-SIZE (stalonetray_0.3.tar.bz2) = 111612
+MD5 (stalonetray-0.4.tar.bz2) = be818e936f48695dfd252ea92f0cebae
+SHA256 (stalonetray-0.4.tar.bz2) = d2f7a8f444470f82c9553abe376b20967190f93fae7769d3464542a137ce298c
+SIZE (stalonetray-0.4.tar.bz2) = 119432
diff --git a/x11/stalonetray/files/patch-src-main.c b/x11/stalonetray/files/patch-src-main.c
index b925b59922e9..9e42af7a9745 100644
--- a/x11/stalonetray/files/patch-src-main.c
+++ b/x11/stalonetray/files/patch-src-main.c
@@ -1,6 +1,16 @@
---- src/main.c.orig Thu Apr 6 14:16:26 2006
-+++ src/main.c Thu Apr 6 14:16:06 2006
-@@ -423,16 +423,20 @@
+--- src/main.c.orig Thu Jul 13 19:06:09 2006
++++ src/main.c Thu Jul 13 19:07:23 2006
+@@ -131,7 +131,9 @@
+ tray_data.xsh.width, tray_data.xsh.height,
+ tray_data.xsh.x, tray_data.xsh.y));
+
++#ifdef DEBUG
+ forall_icons(&print_icon_data);
++#endif
+ DBG(3, ("===================================\n"));
+ trace_mode = 0;
+ }
+@@ -455,16 +457,20 @@
unlayout_icon(ti); /* or hide ? */
return;
}
@@ -9,14 +19,14 @@
+#endif
update_positions();
tray_set_constraints();
- DBG(4, "icon position were updated\n");
+ DBG(4, ("icon position were updated\n"));
} else {
hide_window(ti);
}
+#ifdef DEBUG
- DBG(4, "====================\n");
+ DBG(4, ("====================\n"));
forall_icons(&print_icon_data);
- DBG(4, "====================\n");
+ DBG(4, ("====================\n"));
+#endif
}
}