[Slackbuilds-users] pygame slackbuild

Andrea Maccis andrea.maccis at gmail.com
Tue Sep 23 20:15:56 UTC 2008


Hi,
(I already sent a mail to the mantainer, but I only received "delivery 
status notifications (delay)".)
I tried to package pygame (with sbopkg), and configuration failed 
(python config.py) because some dependencies were missing.
I tried to re-compile it (by hand) and I got this warning message by 
config.py:

Warning, some of the pygame dependencies were not found. Pygame can still

compile and install, but games that depend on those missing dependencies

will not run. Would you like to continue the configuration? [Y/n]


so I forced configuration without dependecies (numeric was missing) and 
packaging was successfull.
I think it would be better if pygame configuration works also without 
dependencies, because if a dependency is mandatory, compiling will fail 
so you can handle this error, and if it is optional maybe you don't need 
it.
I think something like this could work

python config.py

if [ "${?}" -ne "0" ]; then

  echo "##############################################################";

  echo "Warning, some of the pygame dependencies were not found. ";

  echo "Pygame can still compile and install, but games that depend on";

  echo "those missing dependencies will not run.";

  echo "##############################################################";

  echo "Y" | python config.py

fi



Anyway, this is only a suggestion, I don't know if it is really a good 
choice :-)
Best regards,

Andrea Maccis



More information about the SlackBuilds-users mailing list