ports/131910: WordPress port requires GD support
Jeff Kletsky
jeff+freebsd at wagsky.com
Fri Feb 20 17:20:05 UTC 2009
>Number: 131910
>Category: ports
>Synopsis: WordPress port requires GD support
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Feb 20 17:20:04 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Jeff Kletsky
>Release: 7.1-RELEASE
>Organization:
>Environment:
FreeBSD <hostname here> 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009 root at logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
The WordPress system uses GD to resize upladed images in its stock configuration. The presentation of images is a common function of blogging, so this is a common activity for many users, not an "optional" feature.
Without GD support, the options within the media library to use alternate sized images (e.g., Thumbnails and page-sized version) are not selectable.
Problem was resolved here by installing gd-2.0.35,1 built with -DWITHOUT_X11 (to prevent building of a lot of "useless crap" including all of Python) and then installing php5-gd-5.2.8_1
I have not yet checked to see if php5-gd would be sufficient, but I would suspect that it is.
Current port list here is:
GeoIP-1.4.5_1
apache-2.2.11_3
autoconf-2.62
autoconf-wrapper-20071109
awstats-6.9,1
expat-2.0.1
freetype2-2.3.7
gd-2.0.35,1
gettext-0.17_1
gmake-3.81_3
help2man-1.36.4_2
jpeg-6b_7
libiconv-1.11_1
libtool-1.5.26
libxml2-2.7.3
m4-1.4.11,1
mysql-client-5.1.30
mysql-server-5.1.30
p5-Geo-IP-1.35
p5-Net-XWhois-0.90_4
p5-gettext-1.05_2
pcre-7.8
perl-5.8.9_1
php5-5.2.8
php5-gd-5.2.8_1
php5-mysql-5.2.8
php5-xml-5.2.8
pkg-config-0.23_1
png-1.2.34
portaudit-0.5.12
portmaster-2.7
postfix-2.5.6,1
t1lib-5.1.2_1,1
>How-To-Repeat:
Install WordPress from port/pkg on a machine without GD support already installed.
Upload an image to the gallery.
Note that the options for any sizes other than "Full Size" cannot be selected.
>Fix:
Add php5-gd as a wordpress dependency.
www/wordpress
www/wordpress-mu
chinese/wordpress
german/wordpress
Should not have to explicitly add GD, but needs to be confirmed
Can compile with -DWITHOUT_X11 for this purpose, but might interact with other ports/pkkgs
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list