Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26770 - xmms-wmdiscotux-1.3.ebuild (New Package)
Summary: xmms-wmdiscotux-1.3.ebuild (New Package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Seemant Kulleen (RETIRED)
URL: http://fragment.stc.cx/?page=wmdiscotux
Whiteboard:
Keywords: EBUILD
: 25482 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-08-16 21:12 UTC by Keith Constable
Modified: 2003-09-16 22:30 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild file. (xmms-wmdiscotux-1.3.ebuild,699 bytes, text/plain)
2003-08-16 21:17 UTC, Keith Constable
Details
Patch file (xmms-wmdiscotux-1.3-makefile.patch,1.05 KB, patch)
2003-08-16 21:19 UTC, Keith Constable
Details | Diff
ebuild, Manifest, digest, and two patch files. (xmms-wmdiscotux-1.3.tar.bz2,1.77 KB, application/octet-stream)
2003-09-15 13:26 UTC, Keith Constable
Details
ebuild (xmms-wmdiscotux-1.3.ebuild,794 bytes, text/plain)
2003-09-16 08:38 UTC, Keith Constable
Details
makefile patch (xmms-wmdiscotux-1.3-makefile.patch,1.05 KB, patch)
2003-09-16 08:38 UTC, Keith Constable
Details | Diff
string literal patch (xmms-wmdiscotux-1.3-escaping.patch,656 bytes, patch)
2003-09-16 08:39 UTC, Keith Constable
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Keith Constable 2003-08-16 21:12:49 UTC
New ebuild for wmDiscoTux, an XMMS dockable visualization of a headbanging Tux.

Intended for: "media-plugins/xmms-wmdiscotux"

Reproducible: Always
Steps to Reproduce:
Comment 1 Keith Constable 2003-08-16 21:17:37 UTC
Created attachment 16202 [details]
Ebuild file.
Comment 2 Keith Constable 2003-08-16 21:19:40 UTC
Created attachment 16203 [details, diff]
Patch file

Patch for the Makefile to make it all work.
Comment 3 Keith Constable 2003-08-16 21:21:37 UTC
wmDiscoTux supposedly compiles on ppc, but I don't have a ppc machine to test it on.  Please test it.

This is my first ebuild, so any feedback is appreciated.
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2003-09-14 00:23:27 UTC
*** Bug 25482 has been marked as a duplicate of this bug. ***
Comment 5 Seemant Kulleen (RETIRED) gentoo-dev 2003-09-15 05:32:20 UTC
 * Applying xmms-wmdiscotux-1.3-makefile.patch...                         [ ok ]
>>> Source unpacked.
gcc -march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wall -I/usr/include -I/usr/X11R6/include -I/usr/local/include `gtk-config --cflags` `glib-config --cflags` -fPIC   -c -o wmdiscotux.o wmdiscotux.c
gcc -march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wall -I/usr/include -I/usr/X11R6/include -I/usr/local/include `gtk-config --cflags` `glib-config --cflags` -fPIC   -c -o wmgeneral.o wmgeneral.c
wmdiscotux.c:362:32: missing terminating " character
wmdiscotux.c: In function `discotux_about':
wmdiscotux.c:363: error: syntax error before "wmDiscoTux"
wmdiscotux.c:363: error: stray '\' in program
wmdiscotux.c:363: error: stray '\' in program
wmdiscotux.c:366: error: syntax error at '@' token
wmdiscotux.c:366: error: stray '\' in program
wmdiscotux.c:368: error: stray '\' in program
wmdiscotux.c:369:6: warning: multi-line comment
wmdiscotux.c:371:1: missing terminating " character
wmdiscotux.c: In function `discotux_init':
wmdiscotux.c:478: warning: implicit declaration of function `memset'
make: *** [wmdiscotux.o] Error 1

Comment 6 Seemant Kulleen (RETIRED) gentoo-dev 2003-09-15 05:32:47 UTC
Keith, I'm not able to get it to compile successfully -- care to debug this?
Comment 7 Keith Constable 2003-09-15 12:50:33 UTC
What's your 'emerge info'?

Oddly enough, I'm getting the same thing now.  It worked for me when I submitted this.  Some update may have b0rked it.
Comment 8 Keith Constable 2003-09-15 13:26:41 UTC
Created attachment 17782 [details]
ebuild, Manifest, digest, and two patch files.

Modified ebuild and a new patch to fix the issue.

The author had some very strange escaping going on in wmdiscotux.c in a string
for the about box.  It seemed to be confusing the newest version of gcc.

I will contact the author about this.
Comment 9 Seemant Kulleen (RETIRED) gentoo-dev 2003-09-15 18:30:56 UTC
as jje pointed out in email, it's a multiline string literal in the source file which causes this (gcc-3.3 does not like multiline string literals)
Comment 10 Keith Constable 2003-09-15 22:30:35 UTC
By "email" I assume you mean some mailing list that I am not subscribed to; unless he emailed you directly about this, in which case your wording could use a little work.  ;-)

What do you/jje propose?  Is my patch acceptable/usable?
Comment 11 J. Ellis (RETIRED) gentoo-dev 2003-09-16 01:47:23 UTC
How about you attach the patch as plain text and i'll take a look. ;)

I've not looked at the code but expressed expectation in a mail to seemant that it would be a multi-line string problem.
Comment 12 Seemant Kulleen (RETIRED) gentoo-dev 2003-09-16 03:41:08 UTC
Keith, please don't attach tarballs to the bug report.  I'd rather view them in the web browser before downloading.  Also, Manifests and digests are completely unnecessary submissions, because they get autogenerated (any developer who accepts a submitted one doesn't deserve to be a developer, to be honest).
Comment 13 Keith Constable 2003-09-16 08:38:03 UTC
Created attachment 17812 [details]
ebuild
Comment 14 Keith Constable 2003-09-16 08:38:37 UTC
Created attachment 17813 [details, diff]
makefile patch
Comment 15 Keith Constable 2003-09-16 08:39:18 UTC
Created attachment 17814 [details, diff]
string literal patch

Thanks, fellas.  Your input is valuable feedback for me.
Comment 16 Seemant Kulleen (RETIRED) gentoo-dev 2003-09-16 19:34:46 UTC
Keith, my apologies -- my previous comment sounded WAY harsher than it was intended.  I'd meant it as a request, and only for future bugs.  Anyway, I hope I did  not offend you.  Apologies again.

Thanks for the gcc3.3 patch  -- I renamed it to ${P}-gcc-3.3.patch just to be a little more explicit (I think all gcc-3.3 patches in the portage tree are about the multiline string literal issue).

Ebuild is in portage -- thanks for it, and looking forward to more ebuilds from you.
Comment 17 Seemant Kulleen (RETIRED) gentoo-dev 2003-09-16 19:35:18 UTC
One note: I changed your ebuild a bit, so it's immune to version bumps (ie, they should be as simple as just renaming the ebuild when the time comes -- have a look :)
Comment 18 Keith Constable 2003-09-16 22:30:57 UTC
Posting in a closed bug :-O

No, it's cool.  It really is good stuff to know. ;)