Import yeahlaunch-0.2

YeahLaunch is a simple animated autohiding menu for launching
applications.

Based on a submission by Scott Vokes <vokes dot s at gmail dot com>
(maintainer)

inputs, testing, feedback and ok steven@
This commit is contained in:
ajacoutot 2007-06-04 16:39:54 +00:00
parent 09c251236c
commit 8880d215f8
5 changed files with 61 additions and 0 deletions

36
x11/yeahlaunch/Makefile Normal file
View File

@ -0,0 +1,36 @@
# $OpenBSD: Makefile,v 1.1.1.1 2007/06/04 16:39:54 ajacoutot Exp $
COMMENT= animated autohiding applications launcher
DISTNAME= yeahlaunch-0.2
CATEGORIES= x11
HOMEPAGE= http://phrat.de/yeahtools.html
MAINTAINER= Scott Vokes <vokes.s@gmail.com>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= X11 c
MASTER_SITES= http://phrat.de/
USE_X11= Yes
NO_REGRESS= Yes
do-build:
${CC} ${CFLAGS} -I${X11BASE}/include -c -o \
${WRKBUILD}/yeahlaunch.o ${WRKSRC}/yeahlaunch.c
${CC} -L${X11BASE}/lib -lX11 -o \
${WRKBUILD}/yeahlaunch ${WRKBUILD}/yeahlaunch.o
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/yeahlaunch ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/yeahlaunch
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/yeahlaunch/
.include <bsd.port.mk>

5
x11/yeahlaunch/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (yeahlaunch-0.2.tar.gz) = F1GbiST9sfrBRV40o/FTng==
RMD160 (yeahlaunch-0.2.tar.gz) = t889khhJEK46+mEeMtIa1IYOX1o=
SHA1 (yeahlaunch-0.2.tar.gz) = pYeQvmObSPgesZ1cXrEtxm8inq8=
SHA256 (yeahlaunch-0.2.tar.gz) = 4OveLj6DPN+BGXYvmtmBdMPsCP0iDTFi7yqwV0W4cx4=
SIZE (yeahlaunch-0.2.tar.gz) = 10355

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-yeahlaunch_c,v 1.1.1.1 2007/06/04 16:39:54 ajacoutot Exp $
--- yeahlaunch.c.orig Mon Jun 4 17:44:48 2007
+++ yeahlaunch.c Mon Jun 4 17:44:55 2007
@@ -104,6 +104,10 @@ int main(int argc, char *argv[])
}
font = XLoadQueryFont(dpy, opt_font);
+ if (font == NULL) {
+ fprintf(stderr, "Font does not exist! exiting...\n");
+ exit(1);
+ }
height = font-> /* max_bounds. */ ascent + font-> /* max_bounds. */ descent + 3;
XAllocNamedColor(dpy, DefaultColormap(dpy, screen), opt_fg, &fg, &dummy);
XAllocNamedColor(dpy, DefaultColormap(dpy, screen), opt_afg, &afg, &dummy);

2
x11/yeahlaunch/pkg/DESCR Normal file
View File

@ -0,0 +1,2 @@
YeahLaunch is a simple animated autohiding menu for launching
applications.

4
x11/yeahlaunch/pkg/PLIST Normal file
View File

@ -0,0 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/06/04 16:39:54 ajacoutot Exp $
bin/yeahlaunch
share/doc/yeahlaunch/
share/doc/yeahlaunch/README