Needs work
Project:
Activity Stream
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Jul 2011 at 15:41 UTC
Updated:
15 Sep 2011 at 01:28 UTC
Jump to comment: Most recent file
Comments
Comment #1
lyricnz commentedNOTE: Activity Stream may NOT include simplepie.inc in the drupal.org repository - since it's not GPL. Even though Simplepie is licensed under a more permissive license - see http://drupal.org/licensing/faq
Comment #2
lyricnz commentedComment #3
lyricnz commentedHere's a patch for 6.x-1.x that:
- updates INSTALL.txt to mention that Libraries and SimplePie are required
- adds libraries as dependency for activitystream_feed
- moves hook_requirements from activitystream_feed.module to activitystream_feed.install (bug)
- checks for libraries and simplepie in hook_requirements, "tidies up" messages a bit (YMMV)
- changes activitystream_feed to use the library
- remove a few trailing whitespace
- remove simplepie.inc (the bulk of this patch)
Comment #4
lyricnz commentedAnd the missing .install file.
Comment #5
lyricnz commentedAnd a patch for 6.x-2.x. Same as above, except:
- skip EOL whitespace changes
- undo the module-weight kludge in activitystream.install, fix phpdoc
- check for simplepie properly in activitystream_feed_streamapi() and emit error if not present
Comment #6
xurizaemonThanks for this. I started porting this patch to match the 7.x branch as well, but didn't finish it last night.
One issue I noticed was that the missing simplepie error directs people to INSTALL.txt, and the instructions are in README.txt.
Comment #7
lyricnz commentedAttached
Comment #8
cweagansTechnically, simplepie can be re-licensed as GPL2 as we have done in core, so I'm going to bump this back to normal.
You can probably get rid of that else. It'll save a few microseconds.
Other than that, this patch looks good.
Comment #9
akalsey commentedWhile I appreciate the effort put into a patch, I'm going to reject it like I reject all the similar patches that come every so often. Not only is simple pie available as gpl, making this moot, but I'm not inclined to make the module harder to install. Drupal modules are hard enough to install for the average user already, without adding external dependancies they need to hunt down and install.
Some of the other changes look good, and I'd love to see a patch containing only those.
Comment #10
cweagansCan you define "some of the other changes" please?