Date: Fri, 29 Nov 2002 01:26:55 +0100 (CET) From: Stefan Farfeleder <e0026813@stud3.tuwien.ac.at> To: FreeBSD-gnats-submit@FreeBSD.org Cc: e0026813@stud3.tuwien.ac.at Subject: ports/45832: [New port] multimedia/slideshow: slideshow presentation tool Message-ID: <20021129002655.B5C3877A@frog.fafoe>
next in thread | raw e-mail | index | archive | help
>Number: 45832 >Category: ports >Synopsis: [New port] multimedia/slideshow: slideshow presentation tool >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: Thu Nov 28 16:30:02 PST 2002 >Closed-Date: >Last-Modified: >Originator: Stefan Farfeleder >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: System: FreeBSD frog.fafoe 5.0-CURRENT FreeBSD 5.0-CURRENT #3: Tue Nov 26 20:55:18 CET 2002 freebsd@frog.fafoe:/freebsd/current/obj/freebsd/current/src/sys/FROG i386 >Description: Slideshow allows you to write slides in Python or XML. Some features it has to offer: - Use of TrueType fonts - Showing stages in a slide - Progressive show of text and images - Scrolling of text and images - Special effects: * Spinner * Fires * Stars * Plasma * Darkness - MPEG videos support >How-To-Repeat: >Fix: --- slideshow.shar begins here --- # 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: # # slideshow/ # slideshow/pkg-message # slideshow/Makefile # slideshow/pkg-comment # slideshow/distinfo # slideshow/pkg-descr # slideshow/files # slideshow/files/patch-src::Makefile.in # slideshow/files/patch-src::EffectDarkness.cpp # slideshow/files/patch-src::FontVault.h # slideshow/pkg-plist # echo c - slideshow/ mkdir -p slideshow/ > /dev/null 2>&1 echo x - slideshow/pkg-message sed 's/^X//' >slideshow/pkg-message << 'END-of-slideshow/pkg-message' XThis port still has some bugs when used with a colour depth less than 24 bits. XFor now, your have to use this depth for full functionality. END-of-slideshow/pkg-message echo x - slideshow/Makefile sed 's/^X//' >slideshow/Makefile << 'END-of-slideshow/Makefile' X# New ports collection makefile for: slideshow X# Date created: 26 November 2002 X# Whom: Stefan Farfeleder <e0026813@stud3.tuwien.ac.at> X# X# $FreeBSD$ X# X XPORTNAME= slideshow XPORTVERSION= 0.8.p4 XCATEGORIES= multimedia XMASTER_SITES= http://savannah.nongnu.org/download/${PORTNAME}/${PORTNAME}.pkg/${PORTVERSION:S/p/0-pre/}/ XDISTNAME= ${PORTNAME}-${PORTVERSION:S/p/0-pre/} X XMAINTAINER= e0026813@stud3.tuwien.ac.at X XLIB_DEPENDS= SDL_ttf.3:${PORTSDIR}/graphics/sdl_ttf \ X SDL_image.10:${PORTSDIR}/graphics/sdl_image \ X xml2.5:${PORTSDIR}/textproc/libxml2 \ X smpeg.1:${PORTSDIR}/graphics/smpeg X X# The default resolution is 640x480 X.if defined(WITH_RES_1024) XCONFIGURE_ARGS+= --with-res=1024 X.elif defined(WITH_RES_800) XCONFIGURE_ARGS+= --with-res=800 X.endif X XSDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config X XINSTALLS_SHLIB= yes X XUSE_LIBTOOL= yes XUSE_PYTHON= yes XUSE_REINPLACE= yes X XCONFIGURE_ARGS+= --disable-gtk-gui XCONFIGURE_ENV+= SDL_CONFIG="${SDL_CONFIG}" X Xpre-patch: X @${REINPLACE_CMD} -e '/SUBDIRS =/s/doc//' ${WRKSRC}/Makefile.in X.if defined(NOPORTDOCS) X @${REINPLACE_CMD} -e '/SUBDIRS =/s/examples//' ${WRKSRC}/Makefile.in X.endif X Xpost-configure: X @${REINPLACE_CMD} -e "/^pythondir/s|= .*|= ${PYTHONPREFIX_SITELIBDIR}|"\ X ${WRKSRC}/src/Makefile X Xdo-install: X @(cd ${WRKSRC}/src; ${MAKE} install) X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X @${MKDIR} ${EXAMPLESDIR} X ${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR} X# Don't install Simple.py, it is broken X.for file in AutoSlide.py Backgrounds.py Simple.xml Stages.py Text.py Video.py \ X Xml.py slideshow.dtd speedfull.jpg standard.ttf X ${INSTALL_MAN} ${WRKSRC}/examples/${file} ${EXAMPLESDIR} X.endfor X.endif X Xpost-install: X @${STRIP_CMD} ${PREFIX}/lib/libslideshow.so.0 X @${STRIP_CMD} ${PYTHONPREFIX_SITELIBDIR}/_slideshow.so X @${CAT} ${PKGMESSAGE} X X.include <bsd.port.mk> END-of-slideshow/Makefile echo x - slideshow/pkg-comment sed 's/^X//' >slideshow/pkg-comment << 'END-of-slideshow/pkg-comment' XA slideshow presentation tool to write slides in Python or XML END-of-slideshow/pkg-comment echo x - slideshow/distinfo sed 's/^X//' >slideshow/distinfo << 'END-of-slideshow/distinfo' XMD5 (slideshow-0.8.0-pre4.tar.gz) = b17746903b43c62ae7f667de774c5a97 END-of-slideshow/distinfo echo x - slideshow/pkg-descr sed 's/^X//' >slideshow/pkg-descr << 'END-of-slideshow/pkg-descr' XSlideshow allows you to write slides in Python or XML. Some features it has to Xoffer: X X- Use of TrueType fonts X- Showing stages in a slide X- Progressive show of text and images X- Scrolling of text and images X- Special effects: X * Spinner X * Fires X * Stars X * Plasma X * Darkness X- MPEG videos support X XWWW: http://www.alobbs.com/slideshow X X-- Stefan Farfeleder Xe0026813@stud3.tuwien.ac.at END-of-slideshow/pkg-descr echo c - slideshow/files mkdir -p slideshow/files > /dev/null 2>&1 echo x - slideshow/files/patch-src::Makefile.in sed 's/^X//' >slideshow/files/patch-src::Makefile.in << 'END-of-slideshow/files/patch-src::Makefile.in' X--- src/Makefile.in.orig Wed Nov 27 01:32:38 2002 X+++ src/Makefile.in Wed Nov 27 01:32:48 2002 X@@ -790,8 +790,6 @@ X uninstall-recursive X X X-MgpLoaderLex.cpp: MgpLoader.ll X- flex++ -i -oMgpLoaderLex.cpp MgpLoader.ll X X # X # Python wrapper END-of-slideshow/files/patch-src::Makefile.in echo x - slideshow/files/patch-src::EffectDarkness.cpp sed 's/^X//' >slideshow/files/patch-src::EffectDarkness.cpp << 'END-of-slideshow/files/patch-src::EffectDarkness.cpp' X--- src/EffectDarkness.cpp.orig Fri Nov 29 01:06:50 2002 X+++ src/EffectDarkness.cpp Fri Nov 29 01:07:20 2002 X@@ -52,8 +52,8 @@ X int dt = screen->format->BytesPerPixel; X X // Sorry, work to do X- assert (ds == 4 || ds == 3); X- assert (dt == 4 || ds == 3); X+ if (ds != 4 && ds != 3) return; X+ if (dt != 4 && ds != 3) return; X X X for (int i=0; i< parent_surface->w * parent_surface->h; i++) { END-of-slideshow/files/patch-src::EffectDarkness.cpp echo x - slideshow/files/patch-src::FontVault.h sed 's/^X//' >slideshow/files/patch-src::FontVault.h << 'END-of-slideshow/files/patch-src::FontVault.h' X--- src/FontVault.h.orig Fri Nov 22 00:07:06 2002 X+++ src/FontVault.h Thu Nov 28 23:41:37 2002 X@@ -34,7 +34,7 @@ X } X }; X X-#if (HASHMAP_NAMESPACE == __gnu_cxx) X+#if defined(HAVE_GNU_CXX_HASHMAP) X typedef __gnu_cxx::hash_map<std::string, TTF_Font*, ures_hasher, ures_eqstr> Fonts_HashMap; X #else X typedef std::hash_map<std::string, TTF_Font*, ures_hasher, ures_eqstr> Fonts_HashMap; END-of-slideshow/files/patch-src::FontVault.h echo x - slideshow/pkg-plist sed 's/^X//' >slideshow/pkg-plist << 'END-of-slideshow/pkg-plist' X%%PORTDOCS%%%%DOCSDIR%%/README X%%PORTDOCS%%%%EXAMPLESDIR%%/AutoSlide.py X%%PORTDOCS%%%%EXAMPLESDIR%%/Backgrounds.py X%%PORTDOCS%%%%EXAMPLESDIR%%/Simple.xml X%%PORTDOCS%%%%EXAMPLESDIR%%/Stages.py X%%PORTDOCS%%%%EXAMPLESDIR%%/Text.py X%%PORTDOCS%%%%EXAMPLESDIR%%/Video.py X%%PORTDOCS%%%%EXAMPLESDIR%%/Xml.py X%%PORTDOCS%%%%EXAMPLESDIR%%/slideshow.dtd X%%PORTDOCS%%%%EXAMPLESDIR%%/speedfull.jpg X%%PORTDOCS%%%%EXAMPLESDIR%%/standard.ttf X%%PORTDOCS%%@dirrm %%DOCSDIR%% X%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% X%%PYTHON_SITELIBDIR%%/_slideshow.a X%%PYTHON_SITELIBDIR%%/_slideshow.la X%%PYTHON_SITELIBDIR%%/_slideshow.so X%%PYTHON_SITELIBDIR%%/slideshow.py X%%PYTHON_SITELIBDIR%%/slideshow.pyc X%%PYTHON_SITELIBDIR%%/slideshow.pyo Xbin/slideshow Xlib/libslideshow.a Xlib/libslideshow.la Xlib/libslideshow.so Xlib/libslideshow.so.0 END-of-slideshow/pkg-plist exit --- slideshow.shar ends here --- >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?20021129002655.B5C3877A>