Gals are as small as 8 macrocells.Cpld's are for complex design,and would be complete overkill,if all you needed was to decode a bus,for example.
I know for a fact that gals are not in the process of becoming obsolete,
as our company uses +/- 200 gals/day at present.
The supplier has never raised concern of supply.