this package has been working here for almost a year without problems Reproducible: Always Steps to Reproduce:
any chance to mark rhis stable?
Sorry for the long response time :/ I'm a bit uncomfortable with marking a package "stable" that upstream still declares in its "alpha" stages. However, there's been a 0.4.0 release and I will probably ask arches to stable that one, after it has been 30 days in the tree. Leaving this open until then.
Hi arch teams, as per user-request, please stable =dev-php/PEAR-Text_CAPTCHA-0.4.0 =dev-php/PEAR-Image_Text-0.6.0_beta =dev-php/PEAR-Text_Figlet-1.0.1 No open bugs, no issues I can think of. You can try the examples /usr/share/php/docs/Text_CAPTCHA/examples/ to see if the package really works. Thanks!
At least my x86 testbox seem to miss some dep i suppose!? While running the mentioned php-testfiles i just get: Error loading Text_Figlet fontError generating CAPTCHA! or Error generating CAPTCHA: Error initializing Image_Text (Fontfile not found or not readable.)!
Um, yeah. I just read up on it in the source - you need to copy /usr/share/fonts/corefonts/cour.ttf as COUR.TTF into your web server directory (where you keep the example files). Also make sure that your webserver user can write to the dir (it stores a temp image there). Seems this is a limitation of PEAR-Image_Text.
Ok, i've got a step further now, thanks to your instructions! :-) It works very well, but php needs to be built with gd and truetype! otherwise i get this: Fatal error: Call to undefined function imagettfbbox()
Did you USE="minimal"? PEAR-Image_Text requests a gd-enabled php, and it's a dependency (and actually what is used here to generate the captcha image) if you USE="-minimal". Now that sounds confusing. Bottom line: php should be already built with gd by the time you get to emerge this. Can you say what you did to produce this setup?
(In reply to comment #7) > Can you say what you did to produce this setup? > This is my archtesting box, so i have quite a bunch of packages on it, but "minimal" isn't in my main uses... Of course i compiled quite much with "minimal" (to test it actually ;-), but afterwards the version that stays installed, does not have it.... GD was activated, but i didn't had truetype in php! ;-)
(In reply to comment #8) > (In reply to comment #7) > > Can you say what you did to produce this setup? > > > GD was activated, but i didn't had truetype in php! ;-) What is the testing status now?
(In reply to comment #9) > What is the testing status now? I personally would add a dependency on php+truetype. Apart from that it is ready to go.
Sorry for slacking on this one, I added truetype and gd as proper USE-deps on php. Turns out, I did it long before but forgot to commit that. If the EAPI bump is not a turn-off for you, just go on.
x86 stable, thanks Andreas.
amd64 stable, all arches done.