HTTPS SSH

Fixes PNG problem with Stata on openSUSE (multiple versions)

Stata has a bug on newer version of openSUSE (13.1, 13.2, Leap 42.1 confirmed), in that it doesn't like the libpng that comes with the system, and shows no icons. This fix (thanks to Stata tech support) solves the problem.

The problem

Here's the original description: http://www.statalist.org/forums/forum/general-stata-discussion/general/2199-linux-stata-bug-libpng-on-newer-opensuse-possibly-other-distributions

Installation

Check out this git repository, and run compile-stata-png-fix.sh

Or: Download the tar file I created using the script

though you'll have to make symlinks in /usr/local/bin or wherever you want explicitly:

sudo ln -sf /usr/local/stata-png-fix/stata-png-fixed.sh /usr/local/bin/xstata
sudo ln -sf /usr/local/stata-png-fix/stata-png-fixed.sh /usr/local/bin/xstata-se
sudo ln -sf /usr/local/stata-png-fix/stata-png-fixed.sh /usr/local/bin/xstata-mp
sudo ln -sf /usr/local/stata-png-fix/stata-png-fixed.sh /usr/local/bin/xstata-sm

Thanks

Thanks to Peter Fuschich at the Stata Technical Department for providing the initial fix. All errors are mine.