Import tktray, system tray icon support for Tk.

Tktray is an extension that is able to create system tray icons.                                                                                                                                                              
It follows http://www.freedesktop.org specifications when looking                                                                                                                                                             
up the system tray manager. This protocol is supported by modern                                                                                                                                                              
versions of KDE and Gnome panels, and by some other panel-like                                                                                                                                                                
application.
OK landry@, and after more cleanup, also OK sthen@
This commit is contained in:
sebastia 2010-07-16 08:28:14 +00:00
parent 1da44cf422
commit d99a36aae6
5 changed files with 68 additions and 0 deletions

40
x11/tktray/Makefile Normal file
View File

@ -0,0 +1,40 @@
# $OpenBSD: Makefile,v 1.1.1.1 2010/07/16 08:28:14 sebastia Exp $
SHARED_ONLY= Yes
COMMENT= system tray icon support for Tk
DISTNAME= tktray1.3.8
PKGNAME= tktray-1.3.8
SHARED_LIBS= ${DISTNAME:S/.//g} 0.0
CATEGORIES= x11
HOMEPAGE= http://code.google.com/p/tktray/
MAINTAINER= Sebastian Reitenbach <sebastia@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://tktray.googlecode.com/files/
MODULES= x11/tk
BUILD_DEPENDS= ${MODTK_BUILD_DEPENDS}
RUN_DEPENDS= ${MODTK_RUN_DEPENDS}
WANTLIB+= X11 Xext
USE_GMAKE= Yes
SEPARATE_BUILD= simple
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--with-tcl=${MODTCL_LIBDIR} \
--with-tk=${MODTK_LIBDIR} \
--datadir=${PREFIX}/share/examples
CONFIGURE_ENV= SHLIB_VERSION=${LIBtktray138_VERSION}
REGRESS_TARGET= test
REGRESS_IS_INTERACTIVE= X11
.include <bsd.port.mk>

5
x11/tktray/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (tktray1.3.8.tar.gz) = K4rmA+/gP4LJUUgCZAbbGA==
RMD160 (tktray1.3.8.tar.gz) = 2akCWSHAdbmsSW+aumhU0hIzToY=
SHA1 (tktray1.3.8.tar.gz) = AIkv9clf/QdZHSixZBzz0AiVBvI=
SHA256 (tktray1.3.8.tar.gz) = x2iYblvLdZ3+CAPHhjHNaowyg1JJqDv/5jUegwX4eMs=
SIZE (tktray1.3.8.tar.gz) = 134445

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-configure,v 1.1.1.1 2010/07/16 08:28:14 sebastia Exp $
remove parameters that gcc2 doesn't know of
--- configure.orig Sat Jul 10 20:13:21 2010
+++ configure Sat Jul 10 20:13:33 2010
@@ -6406,7 +6406,7 @@ fi
# TEA specific:
CFLAGS_OPTIMIZE=-O2
- CFLAGS_WARNING="-W -Wall -Wno-unused-parameter -Wno-missing-field-initializers -ansi -pedantic"
+ CFLAGS_WARNING="-W -Wall -ansi -pedantic"
else
CFLAGS_WARNING=""

5
x11/tktray/pkg/DESCR Normal file
View File

@ -0,0 +1,5 @@
Tktray is an extension that is able to create system tray icons.
It follows http://www.freedesktop.org specifications when looking
up the system tray manager. This protocol is supported by modern
versions of KDE and Gnome panels, and by some other panel-like
application.

5
x11/tktray/pkg/PLIST Normal file
View File

@ -0,0 +1,5 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2010/07/16 08:28:14 sebastia Exp $
lib/tktray1.3.8/
@lib lib/tktray1.3.8/libtktray138.so.${LIBtktray138_VERSION}
lib/tktray1.3.8/pkgIndex.tcl
@man man/mann/tktray.n