Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 552868

Summary: www-apps/joomla : Remove deprecated depend.php functions
Product: Gentoo Linux Reporter: Brian Evans (RETIRED) <grknight>
Component: Current packagesAssignee: Harold Anderson <harold>
Status: RESOLVED FIXED    
Severity: normal CC: fauli, oli.huber, proxy-maint, web-apps
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 552836    
Attachments: New ebuild with suggested fix.
Removed inherit depend.php

Description Brian Evans (RETIRED) gentoo-dev 2015-06-22 16:09:06 UTC
www-apps/joomla is using functions that are deprecated and should be removed.
The list below are the functions and suggested resolutions

need_php_httpd : Use {,R}DEPEND="virtual/httpd-php"
Comment 1 Harold Anderson 2015-06-22 17:07:05 UTC
Created attachment 405540 [details]
New ebuild with suggested fix.

I have attached an ebuild reflecting the change you have requested.  The ebuild is for the new version of joomla, version 3.4.1.

This ebuild is also in my overlay, hnaparst.  

If this ebuild is acceptable, I request that the proxy maintainers add it to portage.
Comment 2 Brian Evans (RETIRED) gentoo-dev 2015-06-22 17:15:49 UTC
Unless you need do{doc,html}-php, you won't need to inherit depend.php
Comment 3 Harold Anderson 2015-06-22 17:23:51 UTC
Created attachment 405542 [details]
Removed inherit depend.php

Removed depend.php as requested and attached new ebuild.  Added to my overlay hnaparst as well.
Comment 4 Yixun Lan archtester gentoo-dev 2015-06-23 02:44:41 UTC
hi Harold Naparst, I'd like also to see version 3.3.6 fixed (unless you want to drop it).

please always suggest if any version you'd like to drop (3.3.3, 3.4.0_alpha?)
Comment 5 Harold Anderson 2015-06-23 04:50:08 UTC
To me, it makes sense only to offer what upstream also offers.  In this case, they admit the existence only of 3.4.1, 2.5.28, and 1.5.26.  See 

http://joomlacode.org/gf/project/joomla/frs/

There is an argument to be made that we should add legacy ebuilds for the 2.5 and 1.5 series.  However, I would offer only 3.4.1 and wait until a user requests another ebuild and see what their reasoning is for that.
Comment 6 Yixun Lan archtester gentoo-dev 2015-06-23 07:19:17 UTC
+*joomla-3.4.1 (23 Jun 2015)
+
+  23 Jun 2015; Yixun Lan <dlan@gentoo.org> -joomla-3.3.3.ebuild,
+  -joomla-3.3.6.ebuild, -joomla-3.4.0_alpha.ebuild, +joomla-3.4.1.ebuild:
+  version bump, fix deprecated depend.php issue, bug 552868, thanks Harold
+  Naparst