Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 552868 - www-apps/joomla : Remove deprecated depend.php functions
Summary: www-apps/joomla : Remove deprecated depend.php functions
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Harold Anderson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 552836
  Show dependency tree
 
Reported: 2015-06-22 16:09 UTC by Brian Evans (RETIRED)
Modified: 2015-06-23 07:19 UTC (History)
4 users (show)

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


Attachments
New ebuild with suggested fix. (joomla-3.4.1.ebuild,1.51 KB, text/plain)
2015-06-22 17:07 UTC, Harold Anderson
Details
Removed inherit depend.php (joomla-3.4.1.ebuild,1.50 KB, text/plain)
2015-06-22 17:23 UTC, Harold Anderson
Details

Note You need to log in before you can comment on or make changes to this bug.
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