Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 87870 - request for projectM ebuild
Summary: request for projectM ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Diego Elio Pettenò (RETIRED)
URL: http://xmms-projectm.sourceforge.net/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-03 22:24 UTC by Ian Monroe
Modified: 2006-11-06 15:31 UTC (History)
6 users (show)

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


Attachments
projectm-0.96.ebuild (projectm-0.96.ebuild,1.60 KB, text/plain)
2005-04-20 20:11 UTC, Bob Ziuchkovski
Details
makeinstall.patch (files/makeinstall.patch,1.35 KB, patch)
2005-04-20 20:13 UTC, Bob Ziuchkovski
Details | Diff
Added a patch for Makefile.in (just for xmms) (makeinstall.patch,2.17 KB, patch)
2005-07-31 23:00 UTC, Tommy Yu
Details | Diff
projectm-0.97_p5.ebuild (projectm-0.97_p5.ebuild,1.67 KB, text/plain)
2005-10-30 12:59 UTC, Daniel Lin
Details
makeinstall.patch (makeinstall.patch,2.48 KB, patch)
2005-10-30 13:00 UTC, Daniel Lin
Details | Diff
libprojectm-0.98.ebuild -- xmms-projectm-0.98 dependency (libprojectm-0.98.ebuild,567 bytes, text/plain)
2006-05-27 12:41 UTC, Joshua McBeth
Details
xmms-projectm-0.98.ebuild (xmms-projectm-0.98.ebuild,736 bytes, text/plain)
2006-05-27 12:42 UTC, Joshua McBeth
Details
0.98-gl_cflags.patch -- xmms-projectm-0.98 (0.98-gl_cflags.patch,298 bytes, patch)
2006-05-27 12:42 UTC, Joshua McBeth
Details | Diff
libprojectm-0.99.ebuild (libprojectm-0.99.ebuild,602 bytes, text/plain)
2006-08-07 05:30 UTC, postmodern
Details
xmms-projectm-0.99.ebuild (xmms-projectm-0.99.ebuild,763 bytes, text/plain)
2006-08-07 05:36 UTC, postmodern
Details
libprojectm-0.99.ebuild (libprojectm-0.99.ebuild,596 bytes, text/plain)
2006-08-07 06:03 UTC, postmodern
Details
libprojectm-0.99.ebuild (libprojectm-0.99.ebuild,551 bytes, text/plain)
2006-08-07 06:28 UTC, postmodern
Details
xmms-projectm-0.99.ebuild (xmms-projectm-0.99.ebuild,657 bytes, text/plain)
2006-08-07 06:31 UTC, postmodern
Details
libvisual-projectm-0.99.ebuild (libvisual-projectm-0.99.ebuild,633 bytes, text/plain)
2006-08-31 12:27 UTC, Martin Adler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Monroe 2005-04-03 22:24:03 UTC
projectm allows Winamp's Milkdrop visualizations to be used by libvisual (amaroK) and xmms. In the past it required its own version of SDL 1.3, making it inappropriate for Gentoo. However, in 0.96 it has dropped this prerequesite. 

There would be a USE flags for libvisual and xmms support, as they are seperate.

It does some weird things like install the 'presets' (what it calls the different visualizations) into /etc.

I'd suggest a USE flag for libvisual-plugins to be added, so as to direct users to these funky visualizations (not sure on policy about this).

Reproducible: Always
Steps to Reproduce:
Comment 1 Bob Ziuchkovski 2005-04-20 20:11:42 UTC
Created attachment 56796 [details]
projectm-0.96.ebuild

As requested, ebuild for projectm-0.96 -- works for building libvisual plugin,
but fails to compile xmms plugin.  I believe the bug resides in
src/projectM/common.h on lines 57-59:

#ifndef USE_XMMS
typedef short gint16;
#endif /** !USE_XMMS */

I don't think USE_XMMS is being defined when building xmms-projectM, but I
don't have any experience with automake/autoconf so I can't fix this.  Maybe
someone else could help here?  Anyway, here's the ebuild.
Comment 2 Bob Ziuchkovski 2005-04-20 20:13:13 UTC
Created attachment 56797 [details, diff]
makeinstall.patch

Patch file to make the "make install" portion of projectM's Makefiles play
nicely with portage
Comment 3 postmodern 2005-05-18 02:32:14 UTC
The ebuild worked great with 0.96 but not 0.97. Either way projectm dosn't show
up for beep-media-player. Any thoughts?
Comment 4 postmodern 2005-05-18 03:20:17 UTC
Hmm now that I look closer, projectM isn't showing up for xmms either. I also
foudn a bunch of permission Denied errors with all the chmod/chowns for the
install. I am using the makefile patch listed above. Problem exists with 0.96
and 0.97 on my system. Am using libvisual 0.2.0 and beep-media-player 0.9.7-r4.
Comment 5 Tommy Yu 2005-07-31 23:00:38 UTC
Created attachment 64851 [details, diff]
Added a patch for Makefile.in (just for xmms)

I appended a patch for Makefile.in into makeinstall.patch, as Makefile.in is
the file that actually creats Makefile (and this makes emerge happy, ie, not
die).
Comment 6 postmodern 2005-09-02 02:36:56 UTC
I revisted the ebuild using the makeinstall-xmms patch and built with the
libvisual use-flag, but beep-media-player will not pickup the projectM actor
with bmp-libvisual. Although bmp-libvisual works fine rendering the normal actors.
Comment 7 postmodern 2005-09-03 18:24:10 UTC
Update: the ebuild works great with xmms, very groovey.
Comment 8 postmodern 2005-09-03 18:58:26 UTC
Just tested the ebuild with the makeinstall-xmms patch and it works with the new
projectM-0.97.
Comment 9 Kyle Hokanson 2005-10-22 17:11:35 UTC
builds fine on my amd64 using libvisual -- thanks
Comment 10 Daniel Lin 2005-10-30 12:59:21 UTC
Created attachment 71752 [details]
projectm-0.97_p5.ebuild

Update for 0.97, which has strangely named tarballs...
I haven't tested xmms functionality because I don't use xmms.
But there's a small change to fix the compilation of the libvisual actor.
Comment 11 Daniel Lin 2005-10-30 13:00:21 UTC
Created attachment 71753 [details, diff]
makeinstall.patch

Don't install stuff into /etc/projectM/presets with mode 777...
Comment 12 postmodern 2005-11-07 02:41:30 UTC
Latest works awesome like in xmms, still get the usual stuff in
beep-media-player with libvisuals, no full projectm there.
Comment 13 Daniel Lin 2005-11-07 19:22:28 UTC
For me, the libvisual actor works without any problems in amaroK.
Can somebody else confirm?  (Maybe a problem with beep-media-player?)
Comment 14 Gleb Litvjak 2005-11-07 23:02:19 UTC
Works for me (amarok + libvisual). Not sure about Beep -- not using it, cannot 
test. 
Comment 15 Michael Ploujnikov 2006-02-28 17:04:02 UTC
Amazingly works for me!
Gentoo amd64
Amarok 1.3.6
using projectm-0.97_p5.ebuild with libvisual USE flag
I had to manually fetch projectM-0.97.5.tar.gz from http://prdownloads.sourceforge.net/xmms-projectm/projectM-0.97.5.tar.gz?download
and put it in the distfiles dir because gentoo mirrors didn't have this(?)

Then I downloaded makeinstall.patch (2005-10-30 13:00 PST) and put it in:

/usr/local/portage/media-plugins/projectm/files/makeinstall.patch

Only then digesting and emerging successfully completed.
Comment 16 Joshua McBeth 2006-05-27 12:41:26 UTC
Created attachment 87682 [details]
libprojectm-0.98.ebuild -- xmms-projectm-0.98 dependency
Comment 17 Joshua McBeth 2006-05-27 12:42:01 UTC
Created attachment 87683 [details]
xmms-projectm-0.98.ebuild
Comment 18 Joshua McBeth 2006-05-27 12:42:41 UTC
Created attachment 87684 [details, diff]
0.98-gl_cflags.patch -- xmms-projectm-0.98
Comment 19 Joshua McBeth 2006-05-27 12:51:18 UTC
Seems like the structure of the projectM package changed greatly from 0.97 to 0.98 and most of the issues the earlier ebuilds had to address are no longer present.  Only issue I had was with @GL_CFLAGS@ not being resolved and breaking the build at the compile stage, so I patched it to remove that variable from Makefile.in and it works for me on x86 with xmms-1.2.10.  This was my first attempt at an ebuild, though, so it may not work for you :-P
Comment 20 Daniel Lin 2006-05-28 08:00:27 UTC
libvisual-projectM-0.98 wants >=libvisual-0.40 (bug #131733).
I'll try it later when I have time.
Comment 21 Gleb Litvjak 2006-05-28 08:09:13 UTC
libvisual 0.2 and 0.4 are incompatible (and should be installed in parallel in different slots - see my comment on bug #131733).
Comment 22 postmodern 2006-07-23 18:40:58 UTC
libprojectm-0.98 fails to build on amd64 when linking against ftgl-2.1.2 (which only builds libftgl.a). It does build fine when using ftgl-2.1.2-r1 (wich does build libftgl.so*).
Comment 23 postmodern 2006-08-07 05:30:53 UTC
Created attachment 93646 [details]
libprojectm-0.99.ebuild
Comment 24 postmodern 2006-08-07 05:32:16 UTC
Comment on attachment 93646 [details]
libprojectm-0.99.ebuild

The ebuild for libprojectm-0.99. I had to edit libprojectm-0.98.ebuild a bit to get v0.99 working on amd64.
Comment 25 postmodern 2006-08-07 05:36:00 UTC
Created attachment 93647 [details]
xmms-projectm-0.99.ebuild

Here's the ebuild for xmms-projectm-0.99. Had to do minimal editing to xmms-projectm-0.98.ebuild to get it working on amd64.
Comment 26 postmodern 2006-08-07 06:03:01 UTC
Created attachment 93650 [details]
libprojectm-0.99.ebuild

cleaned the ebuild up a bit, works with libprojectm-0.99 source code.
Comment 27 postmodern 2006-08-07 06:28:24 UTC
Created attachment 93656 [details]
libprojectm-0.99.ebuild

Sorry for the attachment spam. Just wanted to fix DEPEND/RDEPEND. DEPEND is the list of packages needed for the building of the main package. RDEPEND is the list of packages that will be ran by the main package (read: run-time dependencies). Also RDEPEND defaults to DEPEND, if not specified. The ebuild howto also warns against stting DEPEND to RDEPEND.
Comment 28 postmodern 2006-08-07 06:31:55 UTC
Created attachment 93657 [details]
xmms-projectm-0.99.ebuild

Same thing with libprojectm-0.99's DEPEND/RDEPEND. Seeing as xmms-projectm-0.99 is now a xmms plugin we should always have xmms in DEPEND.
Comment 29 Martin Adler 2006-08-31 12:27:12 UTC
Created attachment 95573 [details]
libvisual-projectm-0.99.ebuild

This is the libvisual actor for projectM. I believe this is not the same as the xmms plugin.

Works great with amarok-1.4.2...
Comment 30 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-11-06 15:31:01 UTC
Thanks to everyone, projectm and libvisual-projectm are now in portage. The xmms plugin is obviously not committed.