Now REQUIRING SDL2_Pango; no NO_SDLPANGO option

Motivation - Without SDL2_Pango, languages like Japanese,
Arabic, and Thai do not render properly.  Currently, Debian
(and hence Ubuntu) do not have SDL2_Pango, so Tux Paint 0.9.28
is adversely affected.  Fedora DOES have SDL2_Pango, so works well.
This also allows us to delete a lot of ancient cruft code.

Closes https://sourceforge.net/p/tuxpaint/bugs/268/
h/t Pere

(INSTALL docs to be updated momentarily)
This commit is contained in:
Bill Kendrick 2023-04-30 16:10:29 -07:00
parent 1ee0af18f7
commit cef773a694
8 changed files with 52 additions and 625 deletions

View file

@ -4,7 +4,7 @@
For Tux Paint
Language-related functions
Copyright (c) 2002-2022 by Bill Kendrick and others
Copyright (c) 2002-2023 by Bill Kendrick and others
bill@newbreedsoftware.com
https://tuxpaint.org/
@ -23,9 +23,7 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
(See COPYING.txt)
$Id$
June 14, 2002 - December 11, 2022
June 14, 2002 - April 30, 2023
*/
@ -209,8 +207,4 @@ int get_current_language(void);
int setup_i18n(const char *restrict lang, const char *restrict locale, int *ptr_num_wished_languages) MUST_CHECK;
void mysetenv(const char *name, const char *value);
#ifdef NO_SDLPANGO
int smash_i18n(void) MUST_CHECK;
#endif
#endif