[packages/php-pear-Image_Transform] Rel 4

arekm arekm at pld-linux.org
Sat Apr 4 03:30:28 CEST 2026


commit 32ea0158151b31f92ff20c974c9a700b32b7f491
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sat Apr 4 03:30:14 2026 +0200

    Rel 4

 php-pear-Image_Transform-IM-patches.patch | 46 +++++++++++++++----------------
 php-pear-Image_Transform.spec             |  4 ++-
 2 files changed, 25 insertions(+), 25 deletions(-)
---
diff --git a/php-pear-Image_Transform.spec b/php-pear-Image_Transform.spec
index 7cc5e7b..3d54ab9 100644
--- a/php-pear-Image_Transform.spec
+++ b/php-pear-Image_Transform.spec
@@ -4,11 +4,12 @@ Summary:	%{_pearname} - standard interface to manipulate images using different
 Summary(pl.UTF-8):	%{_pearname} - standardowy interfejs do manipulacji rysunkami przy użyciu różnych bibliotek
 Name:		php-pear-%{_pearname}
 Version:	0.9.5
-Release:	3
+Release:	4
 License:	PHP 2.02
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
 # Source0-md5:	b616a0f955686bffec3b2b8d3dc70180
+Patch0:		%{name}-IM-patches.patch
 URL:		http://pear.php.net/package/Image_Transform/
 BuildRequires:	php-pear-PEAR
 BuildRequires:	rpm-php-pearprov >= 4.4.2-12
@@ -53,6 +54,7 @@ Ta klasa ma w PEAR status: %{_status}.
 %prep
 %pear_package_setup
 cd ./%{php_pear_dir}/Image/Transform
+%patch -P0 -p1
 cd -
 
 install -d examples
diff --git a/php-pear-Image_Transform-IM-patches.patch b/php-pear-Image_Transform-IM-patches.patch
index 7f451d9..9a2412b 100644
--- a/php-pear-Image_Transform-IM-patches.patch
+++ b/php-pear-Image_Transform-IM-patches.patch
@@ -1,26 +1,6 @@
---- php-pear-Image_Transform-0.2.org/Image_Transform-0.2/Driver/IM.php	Tue Jan  7 18:32:51 2003
-+++ php-pear-Image_Transform-0.2/Image_Transform-0.2/Driver/IM.php	Tue Jan  7 18:32:13 2003
-@@ -176,6 +176,17 @@
-     }
- 
-     /**
-+     * Set profile
-+     *
-+     * @param string $profile
-+     *
-+     * @return none
-+     */
-+    function setProfile($profile) {
-+        $this->command['profile'] = "+profile ". escapeshellarg($profile);
-+    }
-+
-+    /**
-      * Save the image file
-      *
-      * @param $filename string  the name of the file to write to
---- php-pear-Image_Transform-0.2/Image_Transform-0.2/Driver/IM.php~	Mon Sep  9 09:23:23 2002
-+++ php-pear-Image_Transform-0.2/Image_Transform-0.2/Driver/IM.php	Tue Dec  3 23:36:39 2002
-@@ -139,6 +138,33 @@
+--- a/Driver/IM.php
++++ b/Driver/IM.php
+@@ -256,6 +256,33 @@
      } // End addText
  
      /**
@@ -53,4 +33,22 @@
 +    /**
       * Adjust the image gamma
       *
-      * @param float $outputgamma
+      * @access public
+@@ -313,6 +340,17 @@
+     }
+ 
+     /**
++     * Set profile
++     *
++     * @param string $profile
++     *
++     * @return none
++     */
++    function setProfile($profile) {
++        $this->command['profile'] = "+profile ". escapeshellarg($profile);
++    }
++
++    /**
+      * Save the image file
+      *
+      * @access public
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-pear-Image_Transform.git/commitdiff/32ea0158151b31f92ff20c974c9a700b32b7f491



More information about the pld-cvs-commit mailing list