Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61559 - php-gtk-1.0.1.ebuild (New Package)
Summary: php-gtk-1.0.1.ebuild (New Package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords: EBUILD
: 73283 74177 91094 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-08-24 14:01 UTC by Drakos7 /Greg Wilson/
Modified: 2005-05-06 01:42 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
php-gtk 1.0.1 ebuild (php-gtk-1.0.1.ebuild,1.04 KB, application/octet-stream)
2004-08-24 14:02 UTC, Drakos7 /Greg Wilson/
Details
php-gtk-1.0.1-r1 (added dependencies for some extension) (php-gtk-1.0.1-r1.ebuild,1.23 KB, text/plain)
2005-05-02 07:21 UTC, Alessandro Sappia
Details
patch to php-gtk to compile against gtkhtml-1.1 (php-gtk_gtkhtml-1.1.patch,1.88 KB, patch)
2005-05-02 07:21 UTC, Alessandro Sappia
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Drakos7 /Greg Wilson/ 2004-08-24 14:01:04 UTC
New ebuild to support the August release of php-gtk-1.0.1. Includes the RDEPEND that php-4.3.* is required. 5.0 is a no-go right now apparently.

Reproducible: Always
Steps to Reproduce:
Comment 1 Drakos7 /Greg Wilson/ 2004-08-24 14:02:08 UTC
Created attachment 38119 [details]
php-gtk 1.0.1 ebuild
Comment 2 Ian P. Christian 2004-09-05 08:11:39 UTC
This package (along with php-gtk 1.0.0) won't build on my system. Seems it doens't like the sandboxing? 

Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-dev-php_-_php-gtk-1.0.1-23200.log"

open_wr:   /usr/share/snmp/mibs/.index
open_wr:   /usr/share/snmp/mibs/.index
open_wr:   /usr/share/snmp/mibs/.index
open_wr:   /usr/share/snmp/mibs/.index
open_wr:   /usr/share/snmp/mibs/.index
open_wr:   /usr/share/snmp/mibs/.index
open_wr:   /usr/share/snmp/mibs/.index
open_wr:   /usr/share/snmp/mibs/.index
--------------------------------------------------------------------------------
mini php-gtk # qpkg -I -v gtk
x11-libs/gtk+-1.2.10-r11 *
x11-libs/gtk+-2.4.4 *
x11-libs/wxGTK-2.4.2-r2 *
x11-themes/gtk-theme-switch-2.0.0_rc2-r1 *
x11-themes/gtk-theme-switch-1.0.1-r1 *
Comment 3 Ian P. Christian 2004-09-05 08:26:04 UTC
Fix in #44873 
Comment 4 Diego Ongaro 2004-09-19 12:04:40 UTC
I tried this ebuild on my p4 and it worked flawlessly. I'm not sure what the process is for these but the header still says 1.0.0 on the ebuild. When will this ebuild be officially included into the portage tree?
Comment 5 Jared Rhine 2004-12-03 20:24:34 UTC
Confirming that the php-gtk-1.0.1 ebuild Works For Me (~x86).  I used it to work around the php-gtk/php5 build problem.

+1 for inclusion in the portage tree
Comment 6 Alin Năstac (RETIRED) gentoo-dev 2004-12-05 02:06:36 UTC
*** Bug 73283 has been marked as a duplicate of this bug. ***
Comment 7 Sander Knopper 2004-12-13 07:04:14 UTC
Ebuild works fine for me too, another point for getting it into the portage tree...;)
Comment 8 Mark Somerville 2005-02-09 01:47:27 UTC
Worked well for me too. Thanks a lot.
Comment 9 Sebastian Bergmann (RETIRED) gentoo-dev 2005-02-14 23:19:35 UTC
*** Bug 74177 has been marked as a duplicate of this bug. ***
Comment 10 Leo 2005-02-24 03:31:18 UTC
also for me it works !!!

z-lmutt@volante z-lmutt $ php -v
PHP 4.3.10 (cli) (built: Feb 24 2005 11:34:52)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
---
*  dev-php/php-gtk
      Latest version available: 1.0.1
      Latest version installed: 1.0.1
      Size of downloaded files: 296 kB
      Homepage:    http://gtk.php.net/
      Description: GTK bindings for php
      License:     GPL-2
tnx a lot
Comment 11 Troy Telford 2005-03-27 21:18:09 UTC
Not quite sure if this is the proper place, but it seems to be.

When building php-gtk, I was receiving the following error:

config.m4:30: file `php_gtk.m4' does not exist

I looked into the 'work' directory, and found two files - php_gtk_new.m4, and php_gtk_old.m4

I got it to work by changing the ebuild in this way:

src_compile() {
    cp php_gtk_new.m4 php_gtk.m4

    ./buildconf

    #
    # pixbuf / canvas is missing
    #
    myconf="--enable-php-gtk=shared --enable-glade"

    php-ext-source_src_compile
}

(the only new line is the copy of php-gtk-???.m4 to php-gtk.m4)

Worked fine.


Comment 12 Martin McClure 2005-04-17 09:58:33 UTC
The problem in comment 11 is bug 80250.

It looks like bug 80250 may be a problem with upstream php-gtk 1.0.0. This problem is fixed in upstream 1.0.1, which would be another good reason to, at long last, add the 1.0.1 ebuild to the portage tree.
Comment 13 Joshua Pettett 2005-04-27 08:44:37 UTC
As a Zend Certified Engineer and a programmer using PHP-GTK, I'd like to cast my vote in favor of inclusion in the portage tree, at least until PHP-GTK 2 is released as stable.  Not only does this ebuild solve at least one open bug, but it is also the latest stable version from upstream.

Also, though my C, GTK+, and Ebuild skills are poor at best, I'd still be willing to be an "assistant maintainer" (if there is such a thing) of this ebuild if someone will point me in the right direction.
Comment 14 Jakub Moc (RETIRED) gentoo-dev 2005-05-01 19:47:38 UTC
*** Bug 91094 has been marked as a duplicate of this bug. ***
Comment 15 Alessandro Sappia 2005-05-02 07:21:15 UTC
Created attachment 57834 [details]
php-gtk-1.0.1-r1 (added dependencies for some extension)
Comment 16 Alessandro Sappia 2005-05-02 07:21:49 UTC
Created attachment 57835 [details, diff]
patch to php-gtk to compile against gtkhtml-1.1
Comment 17 Sebastian Bergmann (RETIRED) gentoo-dev 2005-05-06 01:42:36 UTC
dev-php/php-gtk-1.0.1 is in portage now.