FreeBSD Bugzilla – Attachment 15304 Details for
Bug 28428
New port: graphics/xmms-xvs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 6.04 KB, created by
anders
on 2001-06-27 00:00:01 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
anders
Created:
2001-06-27 00:00:01 UTC
Size:
6.04 KB
patch
obsolete
># 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: ># ># xmms-xvs ># xmms-xvs/distinfo ># xmms-xvs/pkg-comment ># xmms-xvs/Makefile ># xmms-xvs/pkg-plist ># xmms-xvs/pkg-descr ># xmms-xvs/files ># xmms-xvs/files/patch-src-calc-parser.y ># xmms-xvs/files/patch-src-calc-parser.h ># >echo c - xmms-xvs >mkdir -p xmms-xvs > /dev/null 2>&1 >echo x - xmms-xvs/distinfo >sed 's/^X//' >xmms-xvs/distinfo << 'END-of-xmms-xvs/distinfo' >XMD5 (xvs-0.1.0b1.tar.gz) = fd39ebf61294dbc2cf23522a89b7af1a >END-of-xmms-xvs/distinfo >echo x - xmms-xvs/pkg-comment >sed 's/^X//' >xmms-xvs/pkg-comment << 'END-of-xmms-xvs/pkg-comment' >XX Visualization System, a plugin for XMMS >END-of-xmms-xvs/pkg-comment >echo x - xmms-xvs/Makefile >sed 's/^X//' >xmms-xvs/Makefile << 'END-of-xmms-xvs/Makefile' >X# New ports collection makefile for: xmms-xvs >X# Date created: 25 June 2001 >X# Whom: Anders Nordby <anders@fix.no> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= xmms-xvs >XPORTVERSION= 0.1.0b1 >XCATEGORIES= graphics >XMASTER_SITES= http://godot.tuniv.szczecin.pl/~jgregor/xvs/download/ \ >X ftp://ftp.nuug.no/pub/anders/distfiles/ >XDISTNAME= xvs-${PORTVERSION} >X >XMAINTAINER= anders@fix.no >X >XBUILD_DEPENDS= xmms-config:${PORTSDIR}/audio/xmms >XRUN_DEPENDS= xmms:${PORTSDIR}/audio/xmms >XLIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 >X >XUSE_GTK= yes >X >XGNU_CONFIGURE= yes >XCONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}" GLIB_CONFIG="${GLIB_CONFIG}" \ >X XML2_CONFIG="${LOCALBASE}/bin/xml2-config" \ >X XMMS_CONFIG="${X11BASE}/bin/xmms-config" >XUSE_GMAKE= yes >XUSE_X_PREFIX= yes >X >XDOCS= AUTHORS ChangeLog NEWS README TODO >X >X.if !defined(NOPORTDOCS) >Xpost-install: >X ${INSTALL} -d -o root -g wheel -m 0755 ${PREFIX}/share/doc/xvs >X.for f in ${DOCS} >X ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/xvs >X.endfor >X.endif >X >X.include <bsd.port.mk> >END-of-xmms-xvs/Makefile >echo x - xmms-xvs/pkg-plist >sed 's/^X//' >xmms-xvs/pkg-plist << 'END-of-xmms-xvs/pkg-plist' >Xlib/xmms/Visualization/libxvs.la >Xlib/xmms/Visualization/libxvs.a >Xshare/gnome/xmms/xvs_presets/Beam >Xshare/gnome/xmms/xvs_presets/BlurScope >Xshare/gnome/xmms/xvs_presets/DotCrazy >Xshare/gnome/xmms/xvs_presets/Radar >Xshare/gnome/xmms/xvs_presets/Spot >Xshare/gnome/xmms/xvs_presets/Whirl >X@dirrm share/gnome/xmms/xvs_presets >X%%PORTDOCS%%share/doc/xvs/AUTHORS >X%%PORTDOCS%%share/doc/xvs/ChangeLog >X%%PORTDOCS%%share/doc/xvs/NEWS >X%%PORTDOCS%%share/doc/xvs/README >X%%PORTDOCS%%share/doc/xvs/TODO >X%%PORTDOCS%%@dirrm share/doc/xvs >END-of-xmms-xvs/pkg-plist >echo x - xmms-xvs/pkg-descr >sed 's/^X//' >xmms-xvs/pkg-descr << 'END-of-xmms-xvs/pkg-descr' >XX Visualization System is a visualization plug-in for XMMS inspired by >XWinAmp's AVS. In xvs complex effects are built of many trivial ones put >Xtogether. Such an approach provides an extreme flexibility. Once designed >Xpresets can be saved and later restored. >X >XFeatures: >X >Xextreme customizability >Xfast, 32bit display (currently only in windowed mode) >Xsemi-programmable blits & scopes >Xeasy to use, powerful user interface >Xresizable window >Xsave & restore >X >XWWW: http://godot.tuniv.szczecin.pl/~jgregor/xvs/ >X >X- Anders Nordby <anders@fix.no> >END-of-xmms-xvs/pkg-descr >echo c - xmms-xvs/files >mkdir -p xmms-xvs/files > /dev/null 2>&1 >echo x - xmms-xvs/files/patch-src-calc-parser.y >sed 's/^X//' >xmms-xvs/files/patch-src-calc-parser.y << 'END-of-xmms-xvs/files/patch-src-calc-parser.y' >X--- src/calc/parser.y.orig Thu Jun 21 11:34:14 2001 >X+++ src/calc/parser.y Tue Jun 26 22:20:18 2001 >X@@ -148,12 +148,20 @@ >X return 0; >X } >X >X+int strgetc (const char **str) { >X+ char c; >X+ if ((c = **str)) { (*str)++; return c; } >X+ return EOF; >X+} >X+ >X+void strungetc (int c, const char **str) { if (c != EOF) (*str)--; } >X+ >X int yylex (YYSTYPE *yylval, void *yyparam) { >X int c; >X parser_control *pc = (parser_control *) yyparam; >X >X /* Ignore whitespace, get first nonwhite character. */ >X- while ((c = fgetc (pc->input)) == ' ' || c == '\t' || c == '\n'); >X+ while ((c = strgetc (&pc->input)) == ' ' || c == '\t' || c == '\n'); >X >X /* End of input ? */ >X if (c == EOF) >X@@ -161,14 +169,16 @@ >X >X /* Char starts a number => parse the number. */ >X if (isdigit (c)) { >X- ungetc (c, pc->input);/* Put the char back. */ >X+ strungetc (c, &pc->input); /* Put the char back. */ >X { >X char *old_locale, *saved_locale; >X+ int n; >X >X old_locale = setlocale (LC_ALL, NULL); >X saved_locale = g_strdup (old_locale); >X setlocale (LC_ALL, "C"); >X- fscanf (pc->input, "%lf", &yylval->d_value); >X+ sscanf (pc->input, "%lf%n", &yylval->d_value, &n); >X+ pc->input += n; >X setlocale (LC_ALL, saved_locale); >X g_free (saved_locale); >X } >X@@ -185,10 +195,10 @@ >X sym_name = g_string_append_c (sym_name, c); >X >X /* Get another character. */ >X- c = fgetc (pc->input); >X+ c = strgetc (&pc->input); >X } while (c != EOF && isalnum (c)); >X >X- ungetc (c, pc->input); >X+ strungetc (c, &pc->input); >X >X yylval->s_value = sym_name->str; >X >X@@ -264,11 +274,8 @@ >X >X expression_t *expr_compile_string (const char* str, symbol_dict_t *dict) { >X parser_control pc; >X- FILE *stream; >X >X- stream = fmemopen (str, strlen (str), "r"); >X- >X- pc.input = stream; >X+ pc.input = str; >X pc.expr = expr_new (); >X pc.dict = dict; >X >X@@ -277,8 +284,6 @@ >X expr_free (pc.expr); >X pc.expr = NULL; >X } >X- >X- fclose (stream); >X >X return pc.expr; >X } >END-of-xmms-xvs/files/patch-src-calc-parser.y >echo x - xmms-xvs/files/patch-src-calc-parser.h >sed 's/^X//' >xmms-xvs/files/patch-src-calc-parser.h << 'END-of-xmms-xvs/files/patch-src-calc-parser.h' >X--- src/calc/parser.h Thu May 31 18:54:07 2001 >X+++ src/calc/parser.h Tue Jun 26 22:27:15 2001 >X@@ -29,7 +29,7 @@ >X >X /* Structure passed do yyparse. */ >X typedef struct { >X- FILE *input; >X+ const char *input; >X expression_t *expr; >X symbol_dict_t *dict; >X } parser_control; >END-of-xmms-xvs/files/patch-src-calc-parser.h >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 28428
: 15304