Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:81304 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 39139 invoked from network); 28 Jan 2015 12:02:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Jan 2015 12:02:42 -0000 Authentication-Results: pb1.pair.com header.from=lester@lsces.co.uk; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=lester@lsces.co.uk; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lsces.co.uk from 217.147.176.214 cause and error) X-PHP-List-Original-Sender: lester@lsces.co.uk X-Host-Fingerprint: 217.147.176.214 mail4-2.serversure.net Linux 2.6 Received: from [217.147.176.214] ([217.147.176.214:47033] helo=mail4.serversure.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C1/BF-45774-0EFC8C45 for ; Wed, 28 Jan 2015 07:02:41 -0500 Received: (qmail 20980 invoked by uid 89); 28 Jan 2015 12:00:01 -0000 Received: by simscan 1.3.1 ppid: 20933, pid: 20953, t: 12.4670s scanners: attach: 1.3.1 clamav: 0.96/m:52/d:10677 Received: from unknown (HELO ?10.0.0.8?) (lester@rainbowdigitalmedia.org.uk@86.189.147.37) by mail4.serversure.net with ESMTPA; 28 Jan 2015 11:59:48 -0000 Message-ID: <54C8CF30.6030803@lsces.co.uk> Date: Wed, 28 Jan 2015 11:59:44 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: internals@lists.php.net References: <54C8A5D2.3060108@lsces.co.uk> In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: imagick on PHP 7 was Stepping stones to a working php7 ... From: lester@lsces.co.uk (Lester Caine) On 28/01/15 09:57, Jan Ehrhardt wrote: > Lester Caine in php.internals (Wed, 28 Jan 2015 09:03:14 +0000): >> >On 28/01/15 03:45, Jan Ehrhardt wrote: >>> >> After these commits php_imagick.dll compiled with VC11 and (for Lester) >>> >> showed itself in phpinfo: >>> >> https://phpdev.toolsforresearch.com/php-7.0.0-dev-nts-Win32-VC11-x86.htm >> > >> >Progress ... >> >But mine is not listing the supported formats :( >> >http://php7.lsces.org.uk/phpinfo.php > This happens when the extension cannot find the installed IM-filters, > AFAIK. Strangely enough I saw the same happen with the x64 VC11 build > for PHP7 (phpseven branch). But the x64 VC11 builds do show the > supported formats (master branch). > >> >http://hg.lsces.org.uk/hg/imagick/rev/7aec3f35fc99 is the patch I >> >applied Dan > Hmm, your patch reminds me of > https://github.com/Jan-E/imagick/commits/phpseven ;-) > > The patches for the deprecated functions are already present in the > imagick-master, but not in the phpseven branch. Maybe there are more > differences between master and phpseven that explain the difference in > supported formats between PHP 5.6 and PHP7. This is perhaps an example of where the basic structure of PHP code is a problem. I have the code used for the current production extension which is I think from a period when it was still part of php-src. Trying to compare that with the current builds across multiple forks is just messy. Just which fork should I use ... I've got the same problem with interbase/firebird for a slightly different reason ... it's development history is buried in php-src. In the good old days of CVS one simply created a 'view' of a modular repository selecting the modules you wanted ... freezing or forking a module for a new composite build. This is something neither git or hg considered had any place in DVCS when they were first developed, and while 'sub-repo' is begrudgingly supported in both these days it is not considered 'the proper way to work'. For projects like PHP I consider it essential in order to avoid the sort of hacking such as https://github.com/m6w6/php-src/tree/merge-http PEAR also fits into a proper model where all of the elements we can use for a distributed build ARE available as elements, and a distribution either creates a series of shared packages or a single static build bu from the whole code base rather than some cherry picked subset + the elements that are no longer considered by some developers ... Just where do I go for an 'unloved' extension or add-on ... -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.uk