From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- www-apps/mypictures/Manifest | 8 ++++ www-apps/mypictures/files/mypictures.diff | 14 +++++++ www-apps/mypictures/files/postinstall-en.txt | 4 ++ www-apps/mypictures/metadata.xml | 8 ++++ www-apps/mypictures/mypictures-20040202-r1.ebuild | 39 ++++++++++++++++++++ www-apps/mypictures/mypictures-20040202.ebuild | 45 +++++++++++++++++++++++ 6 files changed, 118 insertions(+) create mode 100644 www-apps/mypictures/Manifest create mode 100644 www-apps/mypictures/files/mypictures.diff create mode 100644 www-apps/mypictures/files/postinstall-en.txt create mode 100644 www-apps/mypictures/metadata.xml create mode 100644 www-apps/mypictures/mypictures-20040202-r1.ebuild create mode 100644 www-apps/mypictures/mypictures-20040202.ebuild (limited to 'www-apps/mypictures') diff --git a/www-apps/mypictures/Manifest b/www-apps/mypictures/Manifest new file mode 100644 index 000000000000..bf76b0d3b2ae --- /dev/null +++ b/www-apps/mypictures/Manifest @@ -0,0 +1,8 @@ +AUX mypictures.diff 482 SHA256 cd638d3a528813d411c3dd3e1093cc62caa4cbba753ed45628d8bab1ca6635cb SHA512 5db22a96deda3d0114a21a95c4cad8840b153742ac4a590e03af4af9d8b0fd4a6ec3482af1f06abfe82e4343839ac6e9ea9307af97131b55023b3e04c46fae8e WHIRLPOOL 05e3198d4a514bedaaf3d7c4527b2112eaae982d2f259a6c6fcc3c68cfe48414bbd0c6e270e52d0471b85e98e02f0cf7fb58b25ec197619664a2b1fb702278d6 +AUX postinstall-en.txt 124 SHA256 50c1da491deb29b91822ca4fe17d6921a7422913725946472053aa65fd29fdd0 SHA512 fe159224fd872037e3c1ce8cdb86595a427908332c1f0a4938d0639e28cfdaa86de2c606fd95ff23e823bb8f8b569e57bd04102d2c1c72834d4bb3816bb52fb2 WHIRLPOOL 2937f6f0c820887f45b2432756242ffbf0f9ee6b28086d19529c96071207290243b76f44cb21c7af8e6f728a8faa94c4a8d0f6e15eae00df53b0289132c87e4d +DIST mypictures.tgz 43783 SHA256 d466258dd49aaf59830d9dd8f840da78c2cdd0ce80259299ca24aef9d27d8cd9 SHA512 aebe637ca4ecbcd41b8aedb1afacaf7e58a2984660b2ee125e96a846c674d36ccab1f27cc8f6b5edc5f1166e982e77a51fc4ead33baffb0f7e08928e1366d1f0 WHIRLPOOL 24a8f297cb934bb8da267298bff89c54cd9b770539d2c4b2f3f765fafa7dcbc6372d7abe3013cb04915bdaf8a35cec044b15e4bb52e1a73a0d845d0ec31e4430 +EBUILD mypictures-20040202-r1.ebuild 904 SHA256 83efafe851fee7cca0f53a46c18a558116f834a1540cd60e767f701dd6e4326f SHA512 38364caaabf6a67669429b8cc3b091f34128fdd1e8e04e70c079d8f338911ebbfe4c29350912853a43465c6321451cbbf8c0d363b0413e4cd03a2ff547561556 WHIRLPOOL e69fe3ac54a09f59dea8d3c816552e142a2c27a001f68e3a9dc167efe48a5fcc51051ff195375bab829921dbc3fb1021ad2464857f47fe978323d19ee53ba3a5 +EBUILD mypictures-20040202.ebuild 966 SHA256 c215c7b33baa12d2574aecb8f2e7abd26aed4cac4bdb082e83c03ec3d48d2edc SHA512 2c313c574bbd8b2b9215152074b88beb6527a1eb3e185f15f2029f5d1450b0eceb431a1b47fa1bad6fbbbd2deba4b90a4c8009559586ef1d556895a82602c993 WHIRLPOOL 6406e41c33c20e87d01b727637c52ac6b79560639b684c9560e6ab49f566fcb9309868eeaaffc82bfd631dcd23479d324368f83f271a2a44783f3f5a6b1e1cf3 +MISC ChangeLog 2565 SHA256 9a0de99fad495de5a0e93e2778d5513583b6e6c224674ef26d058111a6e7695e SHA512 a2e0ab5366b82221ff71d12dfdf37af70d8656194d43f8934c698911330d906ca8210e055c6d7fc8e2aa8445782a7fafba5d7a037ece9b18285e6a24955aaf4c WHIRLPOOL ba1b552d31df1724fbcefddd61d08444dbdfe18853c1e753eed513a442a21753191463b584a7e27da92e38cccc9f66768c27a5ad2ebaaeb071982dc0eb221d5e +MISC ChangeLog-2015 1481 SHA256 8b0e2031b2c717bdc1260062fae8ddca5962955a8a8494ee404112f50cd54214 SHA512 ad6e21ee68eff6eaf3c010f0983745b636d40bedbd6521fa2d0dca6183123057f255b3f2610b45dd2ad855dd1e181b4ac4a5dd46839fad7b2d1ec954f9d70d96 WHIRLPOOL 5c5be51b71f9d1b3522239175cd67a0dab9afb0c135e29ad438eaca37891087d7b8809b1368493fc6324d7d9c348f5fe27eb98d5a0784f058750518f2fd9f257 +MISC metadata.xml 246 SHA256 f696b469729aeeb7810f246774e90471415680a9ebd6b55c56c13a5213057508 SHA512 1181711d3b020b2ca7beae0a539a9b7f1abe70962cd8561900e5f06e14c9c871c61ca6088fb674de19ef3b844a1b3c29cf0f84f638b2d0cb7c030f60cd1d42ed WHIRLPOOL fef696fa5b101de1ba4bdc0188a4757648d9eb40d4b01408cf17416d1f39909026a80e4b082d8497801aae1caea588b6d28616cd3853e1b03b94a8fd672f9c85 diff --git a/www-apps/mypictures/files/mypictures.diff b/www-apps/mypictures/files/mypictures.diff new file mode 100644 index 000000000000..88c4048ab669 --- /dev/null +++ b/www-apps/mypictures/files/mypictures.diff @@ -0,0 +1,14 @@ +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"); diff --git a/www-apps/mypictures/files/postinstall-en.txt b/www-apps/mypictures/files/postinstall-en.txt new file mode 100644 index 000000000000..378d4b34b2f8 --- /dev/null +++ b/www-apps/mypictures/files/postinstall-en.txt @@ -0,0 +1,4 @@ +From the author: + +Please note that MyPictures is intended for personal use only and should never +be run on a public server. diff --git a/www-apps/mypictures/metadata.xml b/www-apps/mypictures/metadata.xml new file mode 100644 index 000000000000..f2f2ba9e2823 --- /dev/null +++ b/www-apps/mypictures/metadata.xml @@ -0,0 +1,8 @@ + + + + + web-apps@gentoo.org + Gentoo Webapps + + diff --git a/www-apps/mypictures/mypictures-20040202-r1.ebuild b/www-apps/mypictures/mypictures-20040202-r1.ebuild new file mode 100644 index 000000000000..1000dd3a5401 --- /dev/null +++ b/www-apps/mypictures/mypictures-20040202-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 +} diff --git a/www-apps/mypictures/mypictures-20040202.ebuild b/www-apps/mypictures/mypictures-20040202.ebuild new file mode 100644 index 000000000000..87893521a344 --- /dev/null +++ b/www-apps/mypictures/mypictures-20040202.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 +} -- cgit v1.2.3