# Doesn't run, cannot bump it (#651146). Removal in a month.
games-emulation/hatari
-# Pacho Ramos <pacho@gentoo.org> (17 Jun 2018)
-# Doesn't work even with current PHP versions, upstream dead (#651148),
-# removal in a month.
-www-apps/mypictures
-
# Pacho Ramos <pacho@gentoo.org> (17 Jun 2018)
# Doesn't work with PHP7, dead upstream (#651184, #651194), removal in a month.
www-apps/phpmp
+++ /dev/null
-DIST mypictures.tgz 43783 BLAKE2B a4a89e8b9bcad2884a3140635b4078e7ccaafbd7b61587f21b90fb40558f27f4fe86854ae1aee32bbf7b1f457a9ed3ac054690b8e9354edf2aff0636f5ac73a0 SHA512 aebe637ca4ecbcd41b8aedb1afacaf7e58a2984660b2ee125e96a846c674d36ccab1f27cc8f6b5edc5f1166e982e77a51fc4ead33baffb0f7e08928e1366d1f0
+++ /dev/null
-diff -u --recursive mypictures.orig/index.php mypictures/index.php
---- mypictures.orig/index.php 2004-05-03 01:45:58.523174520 +0100
-+++ mypictures/index.php 2004-05-03 01:47:16.713287816 +0100
-@@ -471,8 +471,8 @@
- }
-
- $cmd = $config['convert'];
-- $cmd .= ' -geometry 120x120 ';
-- $cmd .= '"'.$img.'" "'.$thumb.'"';
-+ $cmd .= ' -size 120x120 ';
-+ $cmd .= '"'.$img.'" -resize 120x120 +profile "*" "'.$thumb.'"';
- system($cmd);
-
- header("Content-type: image/png");
+++ /dev/null
-From the author:
-
-Please note that MyPictures is intended for personal use only and should never
-be run on a public server.
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="project">
- <email>web-apps@gentoo.org</email>
- <name>Gentoo Webapps</name>
-</maintainer>
-</pkgmetadata>
+++ /dev/null
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=0
-
-inherit webapp eutils
-
-DESCRIPTION="Simple photo-gallery for websites"
-HOMEPAGE="http://www.splitbrain.org/Programming/PHP/mypictures/index.php"
-SRC_URI="http://www.splitbrain.org/Programming/PHP/${PN}/${PN}.tgz"
-
-LICENSE="GPL-2"
-KEYWORDS="~x86 ~ppc"
-IUSE=""
-
-RDEPEND="media-gfx/imagemagick"
-
-S=${WORKDIR}/${PN}
-
-src_unpack () {
- unpack ${A}
- cd "${S}"
-
- # we have to patch the path to imagemagick's convert tool
-
- epatch "${FILESDIR}"/mypictures.diff
- sed -i "s|/usr/bin/X11/convert|/usr/bin/convert|g;" index.php
-}
-
-src_install() {
- webapp_src_preinst
-
- cp -R [[:lower:]]* .img "${D}/${MY_HTDOCSDIR}"
-
- dodoc CHANGES README
-
- webapp_configfile "${MY_HTDOCSDIR}"/index.php
- webapp_serverowned "${MY_HTDOCSDIR}"/.img
- webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
- webapp_src_install
-}
+++ /dev/null
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=0
-
-inherit webapp eutils
-
-DESCRIPTION="Simple photo-gallery for websites"
-HOMEPAGE="http://www.splitbrain.org/Programming/PHP/mypictures/index.php"
-SRC_URI="http://www.splitbrain.org/Programming/PHP/mypictures/mypictures.tgz"
-
-LICENSE="GPL-2"
-KEYWORDS="~x86 ppc"
-IUSE=""
-
-DEPEND="sys-apps/sed"
-RDEPEND="media-gfx/imagemagick"
-
-S=${WORKDIR}/${PN}
-
-src_unpack () {
- unpack ${A}
- cd "${S}"
-
- # we have to patch the path to imagemagick's convert tool
-
- epatch "${FILESDIR}"/mypictures.diff
- sed -i "s|/usr/bin/X11/convert|/usr/bin/convert|g;" index.php
-}
-
-src_compile() {
- # do nothing
- echo > /dev/null
-}
-
-src_install() {
- webapp_src_preinst
-
- cp index.php exifReader.inc exifWriter.inc "${D}${MY_HTDOCSDIR}"
- mkdir "${D}${MY_HTDOCSDIR}"/.img
- cp .img/* "${D}${MY_HTDOCSDIR}"/.img
-
- dodoc CHANGES README
-
- webapp_configfile "${MY_HTDOCSDIR}"
- webapp_src_install
-}