Add pypanel.
PyPanel is a lightweight panel/taskbar written in Python and C for X11 window managers. It can be easily customized to match any desktop theme or taste. PyPanel works with EWMH compliant WMs (Openbox, PekWM, FVWM, ...). Some of the customizable features include: * Transparency with shading/tinting * Panel dimensions, location and layout * Font type and colors with Xft and shadow support * Button events/actions * Clock and workspace name display * System Tray (Notification Area) * Autohiding * Application Launcher * Custom Application Icons WWW: http://pypanel.sourceforge.net/ PR: ports/87907 Submitted by: Florian Unglaub <flo@btw23.de>
This commit is contained in:
parent
7af82ae364
commit
6fc08c6790
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=146675
@ -122,6 +122,7 @@
|
||||
SUBDIR += plans
|
||||
SUBDIR += preferences.app
|
||||
SUBDIR += py-dosage
|
||||
SUBDIR += pypanel
|
||||
SUBDIR += remember.el
|
||||
SUBDIR += remind
|
||||
SUBDIR += rolo
|
||||
|
52
deskutils/pypanel/Makefile
Normal file
52
deskutils/pypanel/Makefile
Normal file
@ -0,0 +1,52 @@
|
||||
# New ports collection makefile for: pypanel
|
||||
# Date created: 24 October 2005
|
||||
# Whom: Florian Unglaub
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= pypanel
|
||||
PORTVERSION= 2.4
|
||||
CATEGORIES= deskutils
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
|
||||
MASTER_SITE_SUBDIR= pypanel
|
||||
DISTNAME= PyPanel-${PORTVERSION}
|
||||
|
||||
MAINTAINER= u0@rootofallevil.net
|
||||
COMMENT= Desktop panel written in Python
|
||||
|
||||
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \
|
||||
Xft.2:${PORTSDIR}/x11-fonts/libXft \
|
||||
Imlib2.3:${PORTSDIR}/graphics/imlib2
|
||||
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/Xlib/X.py:${PORTSDIR}/x11-toolkits/py-xlib
|
||||
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/Xlib/X.py:${PORTSDIR}/x11-toolkits/py-xlib
|
||||
|
||||
USE_X_PREFIX= yes
|
||||
USE_REINPLACE= yes
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
|
||||
PORTDOCS= *
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|/usr/bin/freetype-config|${LOCALBASE}/bin/freetype-config|; \
|
||||
s|/usr/bin/imlib2-config|${LOCALBASE}/bin/imlib2-config|; \
|
||||
s|/usr/X11R6/include|${X11BASE}/include|; \
|
||||
s|"COPYING", "README", ||' ${WRKSRC}/setup.py
|
||||
@${REINPLACE_CMD} -e 's|sysconfig\.get_python_lib()|"${PREFIX}/share"|' \
|
||||
${WRKSRC}/setup.py ${WRKSRC}/pypanel
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|/usr/lib/libImlib2.so.1|${LOCALBASE}/lib/libImlib2.so|' \
|
||||
${WRKSRC}/setup.py ${WRKSRC}/ppmodule.c
|
||||
@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|' ${WRKSRC}/pypanel
|
||||
@${REINPLACE_CMD} -e 's|/usr/share/imlib2|${LOCALBASE}/share/imlib2|' \
|
||||
${WRKSRC}/pypanelrc
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
2
deskutils/pypanel/distinfo
Normal file
2
deskutils/pypanel/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (PyPanel-2.4.tar.gz) = f1f9a2ed80be72ab36e748833618daba
|
||||
SIZE PyPanel-2.4.tar.gz) = 29857
|
17
deskutils/pypanel/pkg-descr
Normal file
17
deskutils/pypanel/pkg-descr
Normal file
@ -0,0 +1,17 @@
|
||||
PyPanel is a lightweight panel/taskbar written in Python and C for X11 window
|
||||
managers. It can be easily customized to match any desktop theme or
|
||||
taste. PyPanel works with EWMH compliant WMs (Openbox, PekWM, FVWM, ...).
|
||||
|
||||
Some of the customizable features include:
|
||||
|
||||
* Transparency with shading/tinting
|
||||
* Panel dimensions, location and layout
|
||||
* Font type and colors with Xft and shadow support
|
||||
* Button events/actions
|
||||
* Clock and workspace name display
|
||||
* System Tray (Notification Area)
|
||||
* Autohiding
|
||||
* Application Launcher
|
||||
* Custom Application Icons
|
||||
|
||||
WWW: http://pypanel.sourceforge.net/
|
7
deskutils/pypanel/pkg-plist
Normal file
7
deskutils/pypanel/pkg-plist
Normal file
@ -0,0 +1,7 @@
|
||||
bin/pypanel
|
||||
%%DATADIR%%/ppicon.png
|
||||
%%DATADIR%%/pypanelrc
|
||||
%%PYTHON_SITELIBDIR%%/ppmodule.so
|
||||
@dirrm %%DATADIR%%
|
||||
@unexec rmdir %D/%%PYTHON_SITELIBDIR%% 2>/dev/null || true
|
||||
@unexec rmdir %D/%%PYTHON_LIBDIR%% 2>/dev/null || true
|
Loading…
Reference in New Issue
Block a user