diff options
author | Doug Goldstein <cardoe@gentoo.org> | 2009-11-19 01:34:51 +0000 |
---|---|---|
committer | Doug Goldstein <cardoe@gentoo.org> | 2009-11-19 01:34:51 +0000 |
commit | 9e492e83b4096b195ba4a0c623cedf4e3b5929cb (patch) | |
tree | b4183baf3180c403e454647ffcb36925136ad4c0 /www-apps/mythweb | |
parent | Version bump for bug #291921 (diff) | |
download | gentoo-2-9e492e83b4096b195ba4a0c623cedf4e3b5929cb.tar.gz gentoo-2-9e492e83b4096b195ba4a0c623cedf4e3b5929cb.tar.bz2 gentoo-2-9e492e83b4096b195ba4a0c623cedf4e3b5929cb.zip |
fix clicking advanced options redirecting to index page. Fix by user fracmak on upstream ticket #7606.
(Portage version: 2.1.7.5/cvs/Linux x86_64)
Diffstat (limited to 'www-apps/mythweb')
-rw-r--r-- | www-apps/mythweb/ChangeLog | 9 | ||||
-rw-r--r-- | www-apps/mythweb/files/mythweb-0.22_p22763-ao-click.patch | 13 | ||||
-rw-r--r-- | www-apps/mythweb/mythweb-0.22_p22763-r1.ebuild | 56 |
3 files changed, 77 insertions, 1 deletions
diff --git a/www-apps/mythweb/ChangeLog b/www-apps/mythweb/ChangeLog index 094a681d49fd..d90b507084aa 100644 --- a/www-apps/mythweb/ChangeLog +++ b/www-apps/mythweb/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for www-apps/mythweb # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/mythweb/ChangeLog,v 1.70 2009/11/18 00:29:49 cardoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/mythweb/ChangeLog,v 1.71 2009/11/19 01:34:51 cardoe Exp $ + +*mythweb-0.22_p22763-r1 (19 Nov 2009) + + 19 Nov 2009; Doug Goldstein <cardoe@gentoo.org> + +mythweb-0.22_p22763-r1.ebuild, +files/mythweb-0.22_p22763-ao-click.patch: + fix clicking advanced options redirecting to index page. Fix by user + fracmak on upstream ticket #7606. *mythweb-0.22_p22763 (18 Nov 2009) diff --git a/www-apps/mythweb/files/mythweb-0.22_p22763-ao-click.patch b/www-apps/mythweb/files/mythweb-0.22_p22763-ao-click.patch new file mode 100644 index 000000000000..25f6e7b553f6 --- /dev/null +++ b/www-apps/mythweb/files/mythweb-0.22_p22763-ao-click.patch @@ -0,0 +1,13 @@ +Index: mythplugins/mythweb/modules/tv/tmpl/default/_advanced_options.php +=================================================================== +--- mythplugins/mythweb/modules/tv/tmpl/default/_advanced_options.php (revision 22859) ++++ mythplugins/mythweb/modules/tv/tmpl/default/_advanced_options.php (working copy) +@@ -29,7 +29,7 @@ + + <h3><?php echo t('Advanced Options') ?>:</h3> + (<?php +- echo '<a href="#" onclick="toggle_advanced(false)" id="hide_advanced"'; ++ echo '<a onclick="toggle_advanced(false)" id="hide_advanced"'; + if (!$_SESSION['tv']['show_advanced_schedule']) + echo ' style="display: none"'; + echo '>', t('Hide'), '</a>', diff --git a/www-apps/mythweb/mythweb-0.22_p22763-r1.ebuild b/www-apps/mythweb/mythweb-0.22_p22763-r1.ebuild new file mode 100644 index 000000000000..9adc7b6f9218 --- /dev/null +++ b/www-apps/mythweb/mythweb-0.22_p22763-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/mythweb/mythweb-0.22_p22763-r1.ebuild,v 1.1 2009/11/19 01:34:51 cardoe Exp $ + +EAPI=2 +inherit mythtv webapp depend.php + +DESCRIPTION="PHP scripts intended to manage MythTV from a web browser." +IUSE="" +KEYWORDS="~amd64 ~ppc ~x86" + +RDEPEND="dev-perl/DBI + dev-perl/DBD-mysql" + +DEPEND="${RDEPEND} + app-arch/unzip" + +need_httpd_cgi +need_php5_httpd + +pkg_setup() { + webapp_pkg_setup + require_php_with_use session mysql pcre posix json +} + +src_prepare() { + epatch "${FILESDIR}/${P}-ao-click.patch" +} + +src_configure() { + : +} + +src_compile() { + : +} + +src_install() { + webapp_src_preinst + + cd "${S}"/mythweb + dodoc README INSTALL + + dodir "${MY_HTDOCSDIR}"/data + + insinto "${MY_HTDOCSDIR}" + doins -r [[:lower:]]* + + webapp_configfile "${MY_HTDOCSDIR}"/mythweb.conf.{apache,lighttpd} + + webapp_serverowned "${MY_HTDOCSDIR}"/data + + webapp_postinst_txt en "${FILESDIR}"/postinstall-en-0.21.txt + + webapp_src_install +} |