Date: Tue, 1 May 2001 14:04:07 -0700 (PDT) From: perky@python.or.kr To: freebsd-gnats-submit@FreeBSD.org Subject: ports/27015: New port: misc/xosd Message-ID: <200105012104.f41L47x87297@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 27015 >Category: ports >Synopsis: New port: misc/xosd >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue May 01 14:10:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Chang, Hye-Shik >Release: FreeBSD 4.3 >Organization: Yonsei University >Environment: FreeBSD 4.3 on i386 >Description: Simple & Smart(Cute? :) tool for display On-Screen-Display onto X XMMS plugin is included by optional. (libxosd & xmms-xosd two port will be rather?) try this: tail -f /var/log/messages | osd_cat --font=-something-big-font haha :) >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # xosd # xosd/Makefile # xosd/distinfo # xosd/pkg-comment # xosd/pkg-descr # xosd/pkg-plist # xosd/files # xosd/files/patch-aa # xosd/pkg-plist.xmms # echo c - xosd mkdir -p xosd > /dev/null 2>&1 echo x - xosd/Makefile sed 's/^X//' >xosd/Makefile << 'END-of-xosd/Makefile' X# New ports collection makefile for: xosd X# Date created: 2 May 2001 X# Whom: Hye-Shik Chang <perky@python.or.kr> X# X# $FreeBSD$ X# X XPORTNAME= xosd XPORTVERSION= 0.7.0 XCATEGORIES= misc XMASTER_SITES= http://www.ignavus.net/ \ X http://www3.kr.freebsd.org/~perky/distfiles/ X XMAINTAINER= perky@python.or.kr X XLIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt X.if defined(WITH_XMMS) XLIB_DEPENDS+= xmms.1:${PORTSDIR}/audio/xmms X.endif X XUSE_X_PREFIX= yes XUSE_GMAKE= yes XINSTALLS_SHLIB= yes XMAKE_ENV= CFLAGS='${CFLAGS}' PREFIX='${PREFIX}' X XMAN1= osd_cat.1 XMAN3= xosd.3 X X.if defined(WITH_XMMS) XMAKE_ENV+= XMMS_PLUGINDIR=${X11BASE}/lib/xmms XPLIST= ${PKGDIR}/pkg-plist.xmms X.endif X X.include <bsd.port.mk> END-of-xosd/Makefile echo x - xosd/distinfo sed 's/^X//' >xosd/distinfo << 'END-of-xosd/distinfo' XMD5 (xosd-0.7.0.tar.gz) = ff80b31ea3ee52e33855b9723642b8a6 END-of-xosd/distinfo echo x - xosd/pkg-comment sed 's/^X//' >xosd/pkg-comment << 'END-of-xosd/pkg-comment' XX On-Screen-Display Library and XMMS plug-in END-of-xosd/pkg-comment echo x - xosd/pkg-descr sed 's/^X//' >xosd/pkg-descr << 'END-of-xosd/pkg-descr' XXOSD displays text on your screen, sounds simple right? XThe difference is it is unmanaged and shaped, so it appears Xtransparent. This gives the effect of an On Screen Display, Xlike your TV/VCR etc.. The package also includes an xmms Xplugin, which automatically displays various interesting Xthings as they change (song name, volume etc...) X XWWW: http://www.ignavus.net/software.html END-of-xosd/pkg-descr echo x - xosd/pkg-plist sed 's/^X//' >xosd/pkg-plist << 'END-of-xosd/pkg-plist' Xbin/osd_cat Xlib/libxosd.so Xlib/libxosd.so.0 END-of-xosd/pkg-plist echo c - xosd/files mkdir -p xosd/files > /dev/null 2>&1 echo x - xosd/files/patch-aa sed 's/^X//' >xosd/files/patch-aa << 'END-of-xosd/files/patch-aa' Xdiff -ruN Makefile.orig Makefile X--- Makefile.orig Fri Mar 23 09:11:14 2001 X+++ Makefile Wed May 2 05:30:30 2001 X@@ -5,20 +5,18 @@ X LIBRARY_VERSION=0 X VERSION=0.7.0 X X-PREFIX=/usr/local X EXEC_PREFIX=$(PREFIX) X BINDIR=$(EXEC_PREFIX)/bin X LIBDIR=$(EXEC_PREFIX)/lib X MANDIR=$(PREFIX)/man X INCLUDEDIR=$(PREFIX)/include X-XMMS_PLUGINDIR=$(HOME)/.xmms X X CC=gcc X INSTALL=/usr/bin/install -c X INSTALL_DATA=$(INSTALL) -m 644 X X-CFLAGS=-O2 -Wall -pipe -I. -DXOSD_VERSION=\"$(VERSION)\" -I/usr/X11R6/include X-LDFLAGS=-L. -L/usr/X11R6/lib -lX11 -lXext -lpthread -lXt X+CFLAGS+=-I. -DXOSD_VERSION=\"$(VERSION)\" -I/usr/X11R6/include -I/usr/local/include X+LDFLAGS=-lc_r -L. -L/usr/X11R6/lib -L/usr/local/lib -lX11 -lXext -pthread -lXt -lgnugetopt X X XOSDLIBS=-lxosd X X@@ -66,9 +64,11 @@ X $(INSTALL) libxosd.so $(LIBDIR)/libxosd.so.$(LIBRARY_VERSION) X rm -f $(PREFIX)/lib/libxosd.so X ln -s $(PREFIX)/lib/libxosd.so.$(LIBRARY_VERSION) $(PREFIX)/lib/libxosd.so X- mkdir -p $(XMMS_PLUGINDIR)/Plugins/General X- rm -f $(XMMS_PLUGINDIR)/Plugins/General/libxmms_osd.so X- cp -a libxmms_osd.so $(XMMS_PLUGINDIR)/Plugins/General X+ if [ "$(XMMS_PLUGINDIR)" ]; then \ X+ mkdir -p $(XMMS_PLUGINDIR)/General; \ X+ rm -f $(XMMS_PLUGINDIR)/General/libxmms_osd.so; \ X+ cp -pf libxmms_osd.so $(XMMS_PLUGINDIR)/General; \ X+ fi X $(INSTALL) osd_cat $(BINDIR) X mkdir -p $(MANDIR)/man1 $(MANDIR)/man3 X $(INSTALL_DATA) osd_cat.1 $(MANDIR)/man1/ Xdiff -ruN xosd.c.orig xosd.c X--- xosd.c.orig Fri Mar 23 08:55:45 2001 X+++ xosd.c Wed May 2 04:34:44 2001 X@@ -270,7 +270,7 @@ X if (!XCheckWindowEvent (osd->display, osd->window, ExposureMask, &report)) X { X MUTEX_RELEASE (); X- usleep (500); X+ usleep (100000); X continue; X } X MUTEX_RELEASE (); X@@ -304,7 +304,7 @@ X X while (!osd->done) X { X- usleep (1000); X+ usleep (200000); X MUTEX_GET (); X if (osd->timeout != -1 && X osd->mapped && END-of-xosd/files/patch-aa echo x - xosd/pkg-plist.xmms sed 's/^X//' >xosd/pkg-plist.xmms << 'END-of-xosd/pkg-plist.xmms' Xbin/osd_cat Xlib/libxosd.so Xlib/libxosd.so.0 Xlib/xmms/General/libxmms_osd.so END-of-xosd/pkg-plist.xmms exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105012104.f41L47x87297>