public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Remi Collet <remi@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/php] private-php86: build with system GD >= 2.1.0
Date: Fri, 27 Nov 2026 07:26:08 GMT	[thread overview]
Message-ID: <179576436862.1.10145519168722509183.rpms-php-6ae0024be702@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/php
Branch : private-php86
Commit : 6ae0024be702563ce40a130dffe00de5cc94cfba
Author : Remi Collet <remi@fedoraproject.org>
Date   : 2013-06-11T16:14:23+02:00
Stats  : +20/-5 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/php/c/6ae0024be702563ce40a130dffe00de5cc94cfba?branch=private-php86

Log:
build with system GD >= 2.1.0

---
diff --git a/php.spec b/php.spec
index e403023..b99c3b7 100644
--- a/php.spec
+++ b/php.spec
@@ -47,8 +47,12 @@
 
 %global with_dtrace 1
 
-# build with system libgd, not yet ready
+# build with system libgd
+%if 0%{?fedora} < 20
 %global  with_libgd 0
+%else
+%global  with_libgd 1
+%endif
 
 %if 0%{?fedora} < 17 && 0%{?rhel} < 7
 %global with_zip     0
@@ -69,7 +73,7 @@
 Summary: PHP scripting language for creating dynamic web sites
 Name: php
 Version: 5.5.0
-Release: 0.8.%{rcver}%{?dist}
+Release: 0.9.%{rcver}%{?dist}
 # All files licensed under PHP version 3.01, except
 # Zend is licensed under Zend
 # TSRM is licensed under BSD
@@ -544,13 +548,17 @@ support for multi-byte string handling to PHP.
 %package gd
 Summary: A module for PHP applications for using the gd graphics library
 Group: Development/Languages
-# All files licensed under PHP version 3.01, except
-# libgd is licensed under BSD
+# All files licensed under PHP version 3.01
+%if %{with_libgd}
+License: PHP
+%else
+# bundled libgd is licensed under BSD
 License: PHP and BSD
+%endif
 Requires: php-common%{?_isa} = %{version}-%{release}
 BuildRequires: t1lib-devel
 %if %{with_libgd}
-BuildRequires: gd-devel
+BuildRequires: gd-devel >= 2.1.0
 %else
 # Required to build the bundled GD library
 BuildRequires: libjpeg-devel
@@ -726,8 +734,10 @@ support for using the enchant library to PHP.
 cp Zend/LICENSE Zend/ZEND_LICENSE
 cp TSRM/LICENSE TSRM_LICENSE
 cp ext/ereg/regex/COPYRIGHT regex_COPYRIGHT
+%if ! %{with_libgd}
 cp ext/gd/libgd/README libgd_README
 cp ext/gd/libgd/COPYING libgd_COPYING
+%endif
 cp sapi/fpm/LICENSE fpm_LICENSE
 cp ext/mbstring/libmbfl/LICENSE libmbfl_LICENSE
 cp ext/mbstring/oniguruma/COPYING oniguruma_COPYING
@@ -1561,8 +1571,10 @@ fi
 %doc oniguruma_COPYING
 %doc ucgendat_LICENSE
 %files gd -f files.gd
+%if ! %{with_libgd}
 %doc libgd_README
 %doc libgd_COPYING
+%endif
 %files soap -f files.soap
 %files bcmath -f files.bcmath
 %doc libbcmath_COPYING
@@ -1584,6 +1596,9 @@ fi
 
 
 %changelog
+* Tue Jun 11 2013 Remi Collet <rcollet@redhat.com> 5.5.0-0.9.RC3
+- build with system GD >= 2.1.0
+
 * Thu Jun  6 2013 Remi Collet <rcollet@redhat.com> 5.5.0-0.8.RC3
 - update to 5.5.0RC3
 

                 reply	other threads:[~2026-11-27  7:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179576436862.1.10145519168722509183.rpms-php-6ae0024be702@fedoraproject.org \
    --to=remi@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox