{"type":"rich","version":"1.0","provider_name":"phorkie","provider_url":"https:\/\/p.cweiske.de\/","title":"compiling php-gtk2 on Ubuntu 14.04","author_name":"Christian Weiske","cache_age":86400,"width":900,"height":900,"html":"<!-- embedding all files of https:\/\/p.cweiske.de\/157 -->\n<link rel=\"stylesheet\" href=\"https:\/\/p.cweiske.de\/css\/embed.css\"\/>\n<div class=\"phork\" id=\"157\">\n    <div class=\"phork-file\">\n <div class=\"phork-content\">\n  \n<div class=\"document\" id=\"php-gtk2-with-php-5-5-9\">\n<h1 class=\"title\">php-gtk2 with PHP 5.5.9<\/h1>\n\n<ul>\n<li><p class=\"first\">Install the following packages: <tt class=\"docutils literal\"><span class=\"pre\">libglib2.0-dev<\/span><\/tt>, <tt class=\"docutils literal\"><span class=\"pre\">libgtk2.0-dev<\/span><\/tt><\/p>\n<\/li>\n<li><p class=\"first\">install the cairo php extension:<\/p>\n<pre class=\"literal-block\">\n$ pecl install cairo-beta\n<\/pre>\n<\/li>\n<li><p class=\"first\">apply patch from <a class=\"reference external\" href=\"http:\/\/squirrelshaterobots.com\/programming\/php-gtk\/compiling-php-gtk2-on-ubuntu-10\/\">http:\/\/squirrelshaterobots.com\/programming\/php-gtk\/compiling-php-gtk2-on-ubuntu-10\/<\/a><\/p>\n<pre class=\"literal-block\">\n$ git clone https:\/\/github.com\/php\/php-gtk-src\n$ cd php-gtk-src\n$ wget http:\/\/squirrelshaterobots.com\/files\/phpgtk\/phpgtk-buildfix-20090105a.diff\n$ patch -p1 &lt; phpgtk-buildfix-20090105a.diff\n<\/pre>\n<\/li>\n<li><p class=\"first\">build and compile php-gtk:<\/p>\n<pre class=\"literal-block\">\n$ .\/buildconf\n$ .\/configure\n$ make\n$ sudo make install\n<\/pre>\n<\/li>\n<\/ul>\n<\/div>\n\n <\/div>\n <div class=\"phork-meta\">\n  <a href=\"https:\/\/p.cweiske.de\/157\/rev-raw\/b3f281698a440dad2ceb3fe1d9301a882f24c67c\/README.rst\" style=\"float: right\">view raw source<\/a>\n  <a href=\"https:\/\/p.cweiske.de\/157#README.rst\">README.rst<\/a>\n <\/div>\n<\/div>\n    <div class=\"phork-file\">\n <div class=\"phork-content\">\n  <style type=\"text\/css\">\/**\n * GeSHi (C) 2004 - 2007 Nigel McNie, 2007 - 2008 Benny Baumann\n * (http:\/\/qbnz.com\/highlighter\/ and http:\/\/geshi.org\/)\n *\/\n.diff .de1, .diff .de2 {font: normal normal 1em\/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;}\n.diff  {font-family:monospace;}\n.diff .imp {font-weight: bold; color: red;}\n.diff li, .diff .li1 {color: #DDD;}\n.diff .ln {width:1px;text-align:right;margin:0;padding:0 2px;vertical-align:top;}\n.diff .kw1 {color: #aaaaaa; font-style: italic;}\n.diff .re0 {color: #440088;}\n.diff .re1 {color: #991111;}\n.diff .re2 {color: #00b000;}\n.diff .re3 {color: #888822;}\n.diff .re4 {color: #888822;}\n.diff .re5 {color: #0011dd;}\n.diff .re6 {color: #440088;}\n.diff .re7 {color: #991111;}\n.diff .re8 {color: #00b000;}\n.diff .re9 {color: #888822;}\n.diff span.xtra { display:block; }\n<\/style><div class=\"code\"><table class=\"diff\"><tbody><tr class=\"li1\"><td class=\"ln\"><pre class=\"de1\">1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n<\/pre><\/td><td class=\"de1\"><pre class=\"de1\">diff -ur php-gtk\/build2\/build2.mk php-gtk-bob\/build2\/build2.mk\n<span class=\"re3\">--- php-gtk\/build2\/build2.mk&#160; &#160; 2005-10-10 14:34:39.000000000 -0400<\/span>\n<span class=\"re4\">+++ php-gtk-bob\/build2\/build2.mk&#160; &#160; &#160; &#160; 2009-01-05 10:46:29.000000000 -0500<\/span>\n<span class=\"re6\">@@ -10,6 +10,7 @@<\/span>\n&#160;\n&#160;aclocal.m4: configure.in acinclude.m4\n&#160; &#160; &#160; &#160; @echo rebuilding $@\n<span class=\"re8\">+ &#160; &#160; &#160; cat \/usr\/share\/aclocal\/lt~obsolete.m4 \/usr\/share\/aclocal\/ltoptions.m4 \/usr\/share\/aclocal\/ltsugar.m4 \/usr\/share\/aclocal\/ltversion.m4 &gt;&gt; .\/build\/libtool.m4<\/span>\n&#160; &#160; &#160; &#160; cat acinclude.m4 .\/build\/libtool.m4 php_gtk.m4 &gt; $@\n&#160;<\/pre><\/td><\/tr><\/tbody><\/table><\/div>\n <\/div>\n <div class=\"phork-meta\">\n  <a href=\"https:\/\/p.cweiske.de\/157\/rev-raw\/b3f281698a440dad2ceb3fe1d9301a882f24c67c\/phpgtk-buildfix-20090105a.diff\" style=\"float: right\">view raw source<\/a>\n  <a href=\"https:\/\/p.cweiske.de\/157#phpgtk-buildfix-20090105a.diff\">phpgtk-buildfix-20090105a.diff<\/a>\n <\/div>\n<\/div>\n<\/div>\n"}
