Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/ming-php/files/, dev-php/ming-php/, profiles/
Date: Fri, 06 Sep 2019 07:23:32
Message-Id: 1567754602.850ea70324772bee54e632ae8cfd8b60fa3a2046.mgorny@gentoo
1 commit: 850ea70324772bee54e632ae8cfd8b60fa3a2046
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 6 07:21:36 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 6 07:23:22 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=850ea703
7
8 dev-php/ming-php: Remove last-rited pkg
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-php/ming-php/Manifest | 1 -
13 dev-php/ming-php/files/php_ext-config.m4 | 112 -------------------------------
14 dev-php/ming-php/metadata.xml | 16 -----
15 dev-php/ming-php/ming-php-0.4.8.ebuild | 47 -------------
16 profiles/package.mask | 1 -
17 5 files changed, 177 deletions(-)
18
19 diff --git a/dev-php/ming-php/Manifest b/dev-php/ming-php/Manifest
20 deleted file mode 100644
21 index 7bbefc2b77e..00000000000
22 --- a/dev-php/ming-php/Manifest
23 +++ /dev/null
24 @@ -1 +0,0 @@
25 -DIST ming-0_4_8.tar.gz 14908459 BLAKE2B df89beab98a7fbdcbefccad3a2fb013453405a7dba757131a61f06d9e40b7e1fe7beeadab42c113b12cff24b91cb1e76e9fabee0e1b4af58e2127eba13cc27bc SHA512 e395acde9119ad32f4cedd500bcceee70bdd563222a41dda899cc318d5e34eb580abc38ac39c6dec7821913a0a70d2f953fc81f52255b623e34f7c3aaafbc9c0
26
27 diff --git a/dev-php/ming-php/files/php_ext-config.m4 b/dev-php/ming-php/files/php_ext-config.m4
28 deleted file mode 100644
29 index 9f4cd19790b..00000000000
30 --- a/dev-php/ming-php/files/php_ext-config.m4
31 +++ /dev/null
32 @@ -1,112 +0,0 @@
33 -PHP_LIBDIR=lib
34 -
35 -PHP_ARG_WITH(ming, for MING support,
36 -[ --with-ming[=DIR] Include MING support])
37 -
38 -if test "$PHP_MING" != "no"; then
39 - AC_CHECK_LIB(m, sin)
40 -
41 - for i in $PHP_MING ../../src /usr/local /usr; do
42 - if test -f $i/$PHP_LIBDIR/libming.$SHLIB_SUFFIX_NAME || test -f $i/$PHP_LIBDIR/libming.a; then
43 - MING_DIR=$i
44 - break
45 - fi
46 - done
47 -
48 - if test -z "$MING_DIR"; then
49 - AC_MSG_ERROR(Please reinstall ming distribution. libming.(a|so) not found.)
50 - fi
51 -
52 - for i in ../../src $MING_DIR/include $MING_DIR/include/ming $MING_DIR/ming/include; do
53 - if test -f $i/ming.h; then
54 - MING_INC_DIR=$i
55 - fi
56 - done
57 -
58 - if test -z "$MING_INC_DIR"; then
59 - AC_MSG_ERROR(Please reinstall ming distribution. ming.h not found.)
60 - fi
61 -
62 - PHP_CHECK_LIBRARY(ming, Ming_useSWFVersion, [
63 - AC_DEFINE(HAVE_MING,1,[ ])
64 - ],[
65 - AC_MSG_ERROR([Ming library 0.2a or greater required.])
66 - ],[
67 - -L$MING_DIR/$PHP_LIBDIR
68 - ])
69 -
70 - PHP_ADD_INCLUDE($MING_INC_DIR)
71 - PHP_ADD_LIBRARY_WITH_PATH(ming, $MING_DIR/$PHP_LIBDIR, MING_SHARED_LIBADD)
72 -
73 - old_CPPFLAGS=$CPPFLAGS
74 - CPPFLAGS=-I$MING_INC_DIR
75 - AC_MSG_CHECKING([for destroySWFBlock])
76 - AC_TRY_RUN([
77 -#include "ming.h"
78 -int destroySWFBlock(int a, int b) {
79 - return a+b;
80 -}
81 -int main() {
82 - return destroySWFBlock(-1,1); /* returns 0 only if function is not yet defined */
83 -}
84 - ],[
85 - AC_MSG_RESULT([missing])
86 - ],[
87 - AC_DEFINE(HAVE_DESTROY_SWF_BLOCK,1,[ ])
88 - AC_MSG_RESULT([ok])
89 - ],[
90 - AC_MSG_RESULT([unknown])
91 - ])
92 -
93 -dnl Check Ming version (FIXME: if/when ming has some better way to detect the version..)
94 - AC_EGREP_CPP(yes, [
95 -#include <ming.h>
96 -#ifdef SWF_SOUND_COMPRESSION
97 -yes
98 -#endif
99 - ], [
100 - AC_DEFINE(HAVE_NEW_MING, 1, [ ])
101 - dnl FIXME: This is now unconditional..better check coming later.
102 - ])
103 -
104 - dnl Check if SWFVideoStream_setFrameMode() is available
105 - AC_TRY_COMPILE([
106 -#include <ming.h>
107 - ], [
108 -int main(void) { SWFVideoStream_setFrameMode(0, 0); return 0; }
109 - ], [
110 - AC_DEFINE(HAVE_SWFVIDEOSTREAM_SETFRAMEMODE, 1, [Have SWFVideoStream_setFrameMode(SWFVideoStream, int)])
111 - ], [])
112 -
113 - dnl Check if SWFVideoStream_nextFrame() is available
114 - AC_TRY_COMPILE([
115 -#include <ming.h>
116 - ], [
117 -int main(void) { SWFVideoStream_nextFrame(0); return 0; }
118 - ], [
119 - AC_DEFINE(HAVE_SWFVIDEOSTREAM_NEXTFRAME, 1, [Have SWFVideoStream_nextFrame(SWFVideoStream)])
120 - ], [])
121 -
122 - dnl Check if SWFVideoStream_seek() is available
123 - AC_TRY_COMPILE([
124 -#include <ming.h>
125 - ], [
126 -int main(void) { SWFVideoStream_seek(0, 0, 0); return 0; }
127 - ], [
128 - AC_DEFINE(HAVE_SWFVIDEOSTREAM_SEEK, 1, [Have SWFVideoStream_seek(SWFVideoStream, int frame, int whence)])
129 - ], [])
130 -
131 -
132 - dnl Check if SWFMovie_output() accepts the 4th parameter
133 - AC_TRY_COMPILE([
134 -#include <ming.h>
135 - ], [
136 -int main(void) { SWFMovie_output(NULL, NULL, NULL, 0); return 0; }
137 - ], [
138 - AC_DEFINE(HAVE_MING_MOVIE_LEVEL, 1, [ ])
139 - ], [])
140 - CPPFLAGS=$old_CPPFLAGS
141 -
142 - PHP_NEW_EXTENSION(ming, ming.c, $ext_shared)
143 - PHP_SUBST(MING_SHARED_LIBADD)
144 -fi
145
146 diff --git a/dev-php/ming-php/metadata.xml b/dev-php/ming-php/metadata.xml
147 deleted file mode 100644
148 index 50367ee577f..00000000000
149 --- a/dev-php/ming-php/metadata.xml
150 +++ /dev/null
151 @@ -1,16 +0,0 @@
152 -<?xml version='1.0' encoding='UTF-8'?>
153 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
154 -<pkgmetadata>
155 - <maintainer type="person">
156 - <email>grknight@g.o</email>
157 - <name>Brian Evans</name>
158 - </maintainer>
159 - <maintainer type="project">
160 - <email>php-bugs@g.o</email>
161 - <name>PHP</name>
162 - </maintainer>
163 - <upstream>
164 - <remote-id type="sourceforge">ming</remote-id>
165 - <remote-id type="github">libming/libming</remote-id>
166 - </upstream>
167 -</pkgmetadata>
168
169 diff --git a/dev-php/ming-php/ming-php-0.4.8.ebuild b/dev-php/ming-php/ming-php-0.4.8.ebuild
170 deleted file mode 100644
171 index 91e42cafa68..00000000000
172 --- a/dev-php/ming-php/ming-php-0.4.8.ebuild
173 +++ /dev/null
174 @@ -1,47 +0,0 @@
175 -# Copyright 1999-2019 Gentoo Authors
176 -# Distributed under the terms of the GNU General Public License v2
177 -
178 -EAPI=6
179 -
180 -PHP_EXT_NAME=ming
181 -MY_P="${PHP_EXT_NAME}-${PV//./_}"
182 -USE_PHP="php5-6 php7-0 php7-1 php7-2 php7-3"
183 -PHP_EXT_S="${WORKDIR}/libming-${MY_P}/php_ext"
184 -inherit flag-o-matic php-ext-source-r3
185 -
186 -DESCRIPTION="PHP extension for the ming Flash movie generation library"
187 -HOMEPAGE="http://ming.sourceforge.net/"
188 -SRC_URI="https://github.com/libming/libming/archive/${MY_P}.tar.gz"
189 -
190 -LICENSE="LGPL-2.1"
191 -SLOT="0"
192 -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd"
193 -IUSE=""
194 -
195 -RDEPEND="media-libs/ming"
196 -DEPEND="${RDEPEND}"
197 -
198 -S="${WORKDIR}/libming-${MY_P}"
199 -# Clear out near-empty README files which are not helpful to the user
200 -DOCS=( )
201 -
202 -src_prepare() {
203 - local libdir=$(get_libdir)
204 - cp "${FILESDIR}/php_ext-config.m4" "${PHP_EXT_S}/config.m4" || \
205 - die "Failed to copy config.m4 to target"
206 - rm "${PHP_EXT_S}/Makefile.am" || die "Failed to remove Makefile.am for ${slot}"
207 - # Fix for SYMYLINK_LIB=no
208 - if [[ ${libdir} != 'lib' ]] ; then
209 - sed -i -e "s~PHP_LIBDIR=lib~PHP_LIBDIR=${libdir}~" "${PHP_EXT_S}/config.m4" \
210 - || die "Failed to update lib directory"
211 - fi
212 - php-ext-source-r3_src_prepare
213 -}
214 -
215 -src_configure() {
216 - # build is sensitive to -O3 (bug #297437)
217 - replace-flags -O3 -O2
218 -
219 - local PHP_EXT_EXTRA_ECONF="--with-ming=${S}"
220 - php-ext-source-r3_src_configure
221 -}
222
223 diff --git a/profiles/package.mask b/profiles/package.mask
224 index 00776711899..540b022449e 100644
225 --- a/profiles/package.mask
226 +++ b/profiles/package.mask
227 @@ -422,7 +422,6 @@ dev-java/jlayer
228 # multiple open sec bugs. no response from upstream
229 # Masked for removal in 30 days
230 media-libs/ming
231 -dev-php/ming-php
232
233 # Miroslav Šulc <fordfrog@g.o> (2019-07-30)
234 # Depends on >=virtual/{jdk,jre}-11 which is masked