Thread: [Tuxpaint-devel] plug-in API changes
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
From: Albert C. <aca...@gm...> - 2008-05-11 21:42:47
|
I'm planning to change things as follows. I hope it does not cause trouble for anybody. Let me know if you see any problems. ////////////////////////////////////////// static int bigbricks_click(int x, int y, SDL_Rect * update_rect){ .... } static int smallbricks_click(int x, int y, SDL_Rect * update_rect){ .... } static int bigbricks_release(int x, int y, SDL_Rect * update_rect){ .... } static int smallbricks_release(int x, int y, SDL_Rect * update_rect){ .... } static struct fns{ .click = bigbricks_click; .release = bigbricks_release; ... }bigbricks; static struct fns{ .click = smallbricks_click; .release = smallbricks_release; ... }smallbricks; // see below for what PLUG_FUNCTION is about void PLUG_FUNCTION init(...){ register_magic(&bigbricks); register_magic(&smallbricks); } //////////////////////////////////////// Note that left-out functions become NULL. The core can substitute do-nothing functions as required, or just check for NULL. (checking at every call is messier there, but would allow for a const struct that can be directly used) The tools call directly into the core. To enable this, various core functions are marked for export, essentially like this: #ifdef WIN32 __declspec(dllexport) #else __attribute__((visibility(default))) #endif (with a proper define of course, under Makefile control) That should allow hidden visibility to work, which will slightly improve start-up performance. The real goal here is to simplify the problem of making it possible to build Tux Paint with all the tools compiled in. |
From: lee y. <yor...@gm...> - 2008-06-15 04:07:06
|
hi everyone when i make the "pango-1.17.5"package $ ./configure $ make //there are some errors: In file included from pangofc-font.c:24: pangofc-font.h:25:22: ft2build.h: No such file or directory pangofc-font.h:26:10: #include expects "FILENAME" or <FILENAME> pangofc-font.h:27:35: fontconfig/fontconfig.h: No such file or directory In file included from pangofc-font.c:24: pangofc-font.h:72: error: syntax error before "FcPattern" pangofc-font.h:72: warning: no semicolon at end of struct or union pangofc-font.h:80: error: syntax error before ':' token pangofc-font.h:81: error: syntax error before ':' token ??? what's the "ft2build.h"???? |
From: John P. <jo...@jo...> - 2008-06-19 15:05:12
|
Hi, I was expecting that kind of thing :-) I build on 2K, I guess that is the result on XP. I'll see if I can figure out how to ignore the 5.X part, cheers, John. On Thu, Jun 19, 2008 at 07:20:00PM +0800, lee york wrote: > I change the "Makefile" when i build the tuxpaint-src in my machine(win-xp): > > SYSNAME:=$(shell uname -s) > ifeq ($(SYSNAME),MINGW32_NT-*5.1*) > ----------------------------------------------------------because when i run > "uname -s", > i got result "MINGW32_NT-*5.1*" > but the source code's Makefile is "MINGW32_NT-*5.0" > 5.0 or 5.1? it's problem:) > > * > 2008/6/16 John Popplewell <jo...@jo...>: > > > On Mon, Jun 16, 2008 at 05:10:58PM +0800, lee york wrote: > > > thank you John > > > i meet the Python's problem too > > > these experience are important to me > > > expect the new instructions:) > > > > The (very slightly) updated instructions are here: > > > > http://johnnypops.demon.co.uk/mingw/index.html > > > > I'll have a go at the INSTALL.txt file, > > > > cheers, > > John. > > > > > 2008/6/16 John Popplewell <jo...@jo...>: > > > > > > > On Sun, Jun 15, 2008 at 11:48:46PM +0800, lee york wrote: > > > > > Thanks john > > > > > you are right > > > > > "RUN_QUERY_MODULES_TEST=false" is the key, > > > > > the pango work right now! > > > > > thank you! > > > > > > > > Thanks for getting back to me. I'll update the instructions. > > > > > > > > I've also added feedback from TOYAMA Shin-ichi related to building > > > > libgsf which requires a configure switch --without-python if Python > > > > isn't installed (I have Python installed). > > > > > > > > Regarding the new Tuxpaint Makefile structure (a great improvement!) > > > > I've checked in a few Win32 related fixes and updated the build > > > > instructions. > > > > > > > > CVS Tuxpaint now builds here flawlessly using just 'make' and > > > > 'make install'. > > > > > > > > To build the standalone, re-distributable version (as opposed to the > > > > development version that only works inside MSYS) just use > > > > 'make bdist-win32' as before. > > > > > > > > I've not thoroughly tested this version but it looks good so far, > > > > > > > > cheers, > > > > John. > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > Check out the new SourceForge.net Marketplace. > > > > It's the best place to buy or sell services for > > > > just about anything Open Source. > > > > http://sourceforge.net/services/buy/index.php > > > > _______________________________________________ > > > > Tuxpaint-devel mailing list > > > > Tux...@li... > > > > https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel > > > > > > > > > ------------------------------------------------------------------------- > > > Check out the new SourceForge.net Marketplace. > > > It's the best place to buy or sell services for > > > just about anything Open Source. > > > http://sourceforge.net/services/buy/index.php > > > _______________________________________________ > > > Tuxpaint-devel mailing list > > > Tux...@li... > > > https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel > > > > > > ------------------------------------------------------------------------- > > Check out the new SourceForge.net Marketplace. > > It's the best place to buy or sell services for > > just about anything Open Source. > > http://sourceforge.net/services/buy/index.php > > _______________________________________________ > > Tuxpaint-devel mailing list > > Tux...@li... > > https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Tuxpaint-devel mailing list > Tux...@li... > https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel |
From: John P. <jo...@jo...> - 2008-06-19 16:04:14
|
Hi, I've checked-in a change that should fix this. Can you test it on XP for me? cheers, John. On Thu, Jun 19, 2008 at 04:05:15PM +0100, John Popplewell wrote: > Hi, > > I was expecting that kind of thing :-) > > I build on 2K, I guess that is the result on XP. I'll see if I can > figure out how to ignore the 5.X part, > > cheers, > John. > > On Thu, Jun 19, 2008 at 07:20:00PM +0800, lee york wrote: > > I change the "Makefile" when i build the tuxpaint-src in my machine(win-xp): > > > > SYSNAME:=$(shell uname -s) > > ifeq ($(SYSNAME),MINGW32_NT-*5.1*) > > ----------------------------------------------------------because when i run > > "uname -s", > > i got result "MINGW32_NT-*5.1*" > > but the source code's Makefile is "MINGW32_NT-*5.0" > > 5.0 or 5.1? it's problem:) > > > > * > > 2008/6/16 John Popplewell <jo...@jo...>: > > > > > On Mon, Jun 16, 2008 at 05:10:58PM +0800, lee york wrote: > > > > thank you John > > > > i meet the Python's problem too > > > > these experience are important to me > > > > expect the new instructions:) > > > > > > The (very slightly) updated instructions are here: > > > > > > http://johnnypops.demon.co.uk/mingw/index.html > > > > > > I'll have a go at the INSTALL.txt file, > > > > > > cheers, > > > John. > > > > > > > 2008/6/16 John Popplewell <jo...@jo...>: > > > > > > > > > On Sun, Jun 15, 2008 at 11:48:46PM +0800, lee york wrote: > > > > > > Thanks john > > > > > > you are right > > > > > > "RUN_QUERY_MODULES_TEST=false" is the key, > > > > > > the pango work right now! > > > > > > thank you! > > > > > > > > > > Thanks for getting back to me. I'll update the instructions. > > > > > > > > > > I've also added feedback from TOYAMA Shin-ichi related to building > > > > > libgsf which requires a configure switch --without-python if Python > > > > > isn't installed (I have Python installed). > > > > > > > > > > Regarding the new Tuxpaint Makefile structure (a great improvement!) > > > > > I've checked in a few Win32 related fixes and updated the build > > > > > instructions. > > > > > > > > > > CVS Tuxpaint now builds here flawlessly using just 'make' and > > > > > 'make install'. > > > > > > > > > > To build the standalone, re-distributable version (as opposed to the > > > > > development version that only works inside MSYS) just use > > > > > 'make bdist-win32' as before. > > > > > > > > > > I've not thoroughly tested this version but it looks good so far, > > > > > > > > > > cheers, > > > > > John. > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > > Check out the new SourceForge.net Marketplace. > > > > > It's the best place to buy or sell services for > > > > > just about anything Open Source. > > > > > http://sourceforge.net/services/buy/index.php > > > > > _______________________________________________ > > > > > Tuxpaint-devel mailing list > > > > > Tux...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > Check out the new SourceForge.net Marketplace. > > > > It's the best place to buy or sell services for > > > > just about anything Open Source. > > > > http://sourceforge.net/services/buy/index.php > > > > _______________________________________________ > > > > Tuxpaint-devel mailing list > > > > Tux...@li... > > > > https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel > > > > > > > > > ------------------------------------------------------------------------- > > > Check out the new SourceForge.net Marketplace. > > > It's the best place to buy or sell services for > > > just about anything Open Source. > > > http://sourceforge.net/services/buy/index.php > > > _______________________________________________ > > > Tuxpaint-devel mailing list > > > Tux...@li... > > > https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel > > > > > > ------------------------------------------------------------------------- > > Check out the new SourceForge.net Marketplace. > > It's the best place to buy or sell services for > > just about anything Open Source. > > http://sourceforge.net/services/buy/index.php > > _______________________________________________ > > Tuxpaint-devel mailing list > > Tux...@li... > > https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Tuxpaint-devel mailing list > Tux...@li... > https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel |
From: Bill K. <nb...@so...> - 2008-06-15 04:33:03
|
What platform/version are you building on? (Windows? which? Linux? what distro and which release? etc.) Probably more importantly, what version of FreeType do you have? Google came up a bunch of people have ft2build.h-related issues back in 2004. -bill! On Sun, Jun 15, 2008 at 12:07:11PM +0800, lee york wrote: > hi everyone > when i make the "pango-1.17.5"package > > $ ./configure > $ make > //there are some errors: > In file included from pangofc-font.c:24: > pangofc-font.h:25:22: ft2build.h: No such file or directory > pangofc-font.h:26:10: #include expects "FILENAME" or <FILENAME> > pangofc-font.h:27:35: fontconfig/fontconfig.h: No such file or directory > In file included from pangofc-font.c:24: > pangofc-font.h:72: error: syntax error before "FcPattern" > pangofc-font.h:72: warning: no semicolon at end of struct or union > pangofc-font.h:80: error: syntax error before ':' token > pangofc-font.h:81: error: syntax error before ':' token > ??? > what's the "ft2build.h"???? > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Tuxpaint-devel mailing list > Tux...@li... > https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel -- -bill! "Tux Paint" - free children's drawing software for Windows / Mac OS X / Linux! Download it today! http://www.tuxpaint.org/ |
From: lee y. <yor...@gm...> - 2008-06-15 11:14:14
|
thanks! my platform :windows-xp ,mingw+msys yes,i forgot to install the freetype2 :P After install the freetype->SDL_ttf->libxml->fontconfig,it's right now except the building "pango" package :( ./configure make error : *Writing a pango.modules file to use with tests/examples. make[3]: *** [pango.modules] Error 127 make[3]: Leaving directory `/f/dev/pango-1.17.5/modules' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/f/dev/pango-1.17.5/modules' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/f/dev/pango-1.17.5' make: *** [all] Error 2 *I entered the /f/dev/pango-1.17.5/modules and make the directory's files separately, then i got the same errors! |
From: lee y. <yor...@gm...> - 2008-06-20 07:28:40
|
Yeah my tuxpaint working right now! 2008/6/20 John Popplewell <jo...@jo...>: > Hi, > > I've checked-in a change that should fix this. Can you test it on XP for > me? > > cheers, > John. > > On Thu, Jun 19, 2008 at 04:05:15PM +0100, John Popplewell wrote: > > Hi, > > > > I was expecting that kind of thing :-) > > > > I build on 2K, I guess that is the result on XP. I'll see if I can > > figure out how to ignore the 5.X part, > > > > cheers, > > John. > > > > On Thu, Jun 19, 2008 at 07:20:00PM +0800, lee york wrote: > > > I change the "Makefile" when i build the tuxpaint-src in my > machine(win-xp): > > > > > > SYSNAME:=$(shell uname -s) > > > ifeq ($(SYSNAME),MINGW32_NT-*5.1*) > > > ----------------------------------------------------------because when > i run > > > "uname -s", > > > i got result "MINGW32_NT-*5.1*" > > > but the source code's Makefile is "MINGW32_NT-*5.0" > > > 5.0 or 5.1? it's problem:) > > > > > > * > > > 2008/6/16 John Popplewell <jo...@jo...>: > > > > > > > On Mon, Jun 16, 2008 at 05:10:58PM +0800, lee york wrote: > > > > > thank you John > > > > > i meet the Python's problem too > > > > > these experience are important to me > > > > > expect the new instructions:) > > > > > > > > The (very slightly) updated instructions are here: > > > > > > > > http://johnnypops.demon.co.uk/mingw/index.html > > > > > > > > I'll have a go at the INSTALL.txt file, > > > > > > > > cheers, > > > > John. > > > > > > > > > 2008/6/16 John Popplewell <jo...@jo...>: > > > > > > > > > > > On Sun, Jun 15, 2008 at 11:48:46PM +0800, lee york wrote: > > > > > > > Thanks john > > > > > > > you are right > > > > > > > "RUN_QUERY_MODULES_TEST=false" is the key, > > > > > > > the pango work right now! > > > > > > > thank you! > > > > > > > > > > > > Thanks for getting back to me. I'll update the instructions. > > > > > > > > > > > > I've also added feedback from TOYAMA Shin-ichi related to > building > > > > > > libgsf which requires a configure switch --without-python if > Python > > > > > > isn't installed (I have Python installed). > > > > > > > > > > > > Regarding the new Tuxpaint Makefile structure (a great > improvement!) > > > > > > I've checked in a few Win32 related fixes and updated the build > > > > > > instructions. > > > > > > > > > > > > CVS Tuxpaint now builds here flawlessly using just 'make' and > > > > > > 'make install'. > > > > > > > > > > > > To build the standalone, re-distributable version (as opposed to > the > > > > > > development version that only works inside MSYS) just use > > > > > > 'make bdist-win32' as before. > > > > > > > > > > > > I've not thoroughly tested this version but it looks good so far, > > > > > > > > > > > > cheers, > > > > > > John. > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > > > Check out the new SourceForge.net Marketplace. > > > > > > It's the best place to buy or sell services for > > > > > > just about anything Open Source. > > > > > > http://sourceforge.net/services/buy/index.php > > > > > > _______________________________________________ > > > > > > Tuxpaint-devel mailing list > > > > > > Tux...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > > Check out the new SourceForge.net Marketplace. > > > > > It's the best place to buy or sell services for > > > > > just about anything Open Source. > > > > > http://sourceforge.net/services/buy/index.php > > > > > _______________________________________________ > > > > > Tuxpaint-devel mailing list > > > > > Tux...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > Check out the new SourceForge.net Marketplace. > > > > It's the best place to buy or sell services for > > > > just about anything Open Source. > > > > http://sourceforge.net/services/buy/index.php > > > > _______________________________________________ > > > > Tuxpaint-devel mailing list > > > > Tux...@li... > > > > https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel > > > > > > > > > > ------------------------------------------------------------------------- > > > Check out the new SourceForge.net Marketplace. > > > It's the best place to buy or sell services for > > > just about anything Open Source. > > > http://sourceforge.net/services/buy/index.php > > > _______________________________________________ > > > Tuxpaint-devel mailing list > > > Tux...@li... > > > https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel > > > > > > ------------------------------------------------------------------------- > > Check out the new SourceForge.net Marketplace. > > It's the best place to buy or sell services for > > just about anything Open Source. > > http://sourceforge.net/services/buy/index.php > > _______________________________________________ > > Tuxpaint-devel mailing list > > Tux...@li... > > https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Tuxpaint-devel mailing list > Tux...@li... > https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel > |
From: John P. <jo...@jo...> - 2008-06-21 00:10:59
|
On Fri, Jun 20, 2008 at 03:28:49PM +0800, lee york wrote: > Yeah > my tuxpaint working right now! :-) Great! Good work, thanks for helping me out. As I mentioned, I build on 2K (multi-boot machine with disk caddies) as it gives me a clean, light-weight Windows installation. Distributing binaries to large numbers of people makes me nervous for obvious reasons. Perhaps I should look at a cross-compilation environment using MinGW/MSYS on Linux, then I'd only need Windows boxes for testing, cheers, John. > 2008/6/20 John Popplewell <jo...@jo...>: > > > Hi, > > > > I've checked-in a change that should fix this. Can you test it on XP for > > me? > > > > cheers, > > John. > > > > On Thu, Jun 19, 2008 at 04:05:15PM +0100, John Popplewell wrote: > > > Hi, > > > > > > I was expecting that kind of thing :-) > > > > > > I build on 2K, I guess that is the result on XP. I'll see if I can > > > figure out how to ignore the 5.X part, > > > > > > cheers, > > > John. > > > > > > On Thu, Jun 19, 2008 at 07:20:00PM +0800, lee york wrote: > > > > I change the "Makefile" when i build the tuxpaint-src in my > > machine(win-xp): > > > > > > > > SYSNAME:=$(shell uname -s) > > > > ifeq ($(SYSNAME),MINGW32_NT-*5.1*) > > > > ----------------------------------------------------------because when > > i run > > > > "uname -s", > > > > i got result "MINGW32_NT-*5.1*" > > > > but the source code's Makefile is "MINGW32_NT-*5.0" > > > > 5.0 or 5.1? it's problem:) > > > > > > > > * > > > > 2008/6/16 John Popplewell <jo...@jo...>: > > > > > > > > > On Mon, Jun 16, 2008 at 05:10:58PM +0800, lee york wrote: > > > > > > thank you John > > > > > > i meet the Python's problem too > > > > > > these experience are important to me > > > > > > expect the new instructions:) > > > > > > > > > > The (very slightly) updated instructions are here: > > > > > > > > > > http://johnnypops.demon.co.uk/mingw/index.html > > > > > > > > > > I'll have a go at the INSTALL.txt file, > > > > > > > > > > cheers, > > > > > John. > > > > > > > > > > > 2008/6/16 John Popplewell <jo...@jo...>: > > > > > > > > > > > > > On Sun, Jun 15, 2008 at 11:48:46PM +0800, lee york wrote: > > > > > > > > Thanks john > > > > > > > > you are right > > > > > > > > "RUN_QUERY_MODULES_TEST=false" is the key, > > > > > > > > the pango work right now! > > > > > > > > thank you! > > > > > > > > > > > > > > Thanks for getting back to me. I'll update the instructions. > > > > > > > > > > > > > > I've also added feedback from TOYAMA Shin-ichi related to > > building > > > > > > > libgsf which requires a configure switch --without-python if > > Python > > > > > > > isn't installed (I have Python installed). > > > > > > > > > > > > > > Regarding the new Tuxpaint Makefile structure (a great > > improvement!) > > > > > > > I've checked in a few Win32 related fixes and updated the build > > > > > > > instructions. > > > > > > > > > > > > > > CVS Tuxpaint now builds here flawlessly using just 'make' and > > > > > > > 'make install'. > > > > > > > > > > > > > > To build the standalone, re-distributable version (as opposed to > > the > > > > > > > development version that only works inside MSYS) just use > > > > > > > 'make bdist-win32' as before. > > > > > > > > > > > > > > I've not thoroughly tested this version but it looks good so far, > > > > > > > > > > > > > > cheers, > > > > > > > John. > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > > > > Check out the new SourceForge.net Marketplace. > > > > > > > It's the best place to buy or sell services for > > > > > > > just about anything Open Source. > > > > > > > http://sourceforge.net/services/buy/index.php > > > > > > > _______________________________________________ > > > > > > > Tuxpaint-devel mailing list > > > > > > > Tux...@li... > > > > > > > https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > > > Check out the new SourceForge.net Marketplace. > > > > > > It's the best place to buy or sell services for > > > > > > just about anything Open Source. > > > > > > http://sourceforge.net/services/buy/index.php > > > > > > _______________________________________________ > > > > > > Tuxpaint-devel mailing list > > > > > > Tux...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > > Check out the new SourceForge.net Marketplace. > > > > > It's the best place to buy or sell services for > > > > > just about anything Open Source. > > > > > http://sourceforge.net/services/buy/index.php > > > > > _______________________________________________ > > > > > Tuxpaint-devel mailing list > > > > > Tux...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > Check out the new SourceForge.net Marketplace. > > > > It's the best place to buy or sell services for > > > > just about anything Open Source. > > > > http://sourceforge.net/services/buy/index.php > > > > _______________________________________________ > > > > Tuxpaint-devel mailing list > > > > Tux...@li... > > > > https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel > > > > > > > > > ------------------------------------------------------------------------- > > > Check out the new SourceForge.net Marketplace. > > > It's the best place to buy or sell services for > > > just about anything Open Source. > > > http://sourceforge.net/services/buy/index.php > > > _______________________________________________ > > > Tuxpaint-devel mailing list > > > Tux...@li... > > > https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel > > > > ------------------------------------------------------------------------- > > Check out the new SourceForge.net Marketplace. > > It's the best place to buy or sell services for > > just about anything Open Source. > > http://sourceforge.net/services/buy/index.php > > _______________________________________________ > > Tuxpaint-devel mailing list > > Tux...@li... > > https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Tuxpaint-devel mailing list > Tux...@li... > https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel |
From: lee y. <yor...@gm...> - 2008-06-23 00:49:25
|
You are welcome:) i'm reading the souce code of the project and i'll appreciate any suggestions:))) |
From: John P. <jo...@jo...> - 2008-06-15 14:28:54
|
Hi Lee, I checked my archives and TOYAMA Shin-ichi reported a problem building pango which may be related to your difficulties: > b) Installing Pango > > At the stage of building GTK+, I found that .pc file for Pango > had not been installed. So, I had to turn back to the installation > stage of Pango and edit modules/Makefile to disable some processes > which causes error related to the 'pango-querymodules' before > doing "make install". Did you do something like this? Reviewing my build instructions, I notice that I claim: "A couple of spurious error dialog boxes appear related to the 'pango-querymodules' wrapper script, but it seems that they can be safely ignored." So I may just have been 'lucky' or forgot to document that I copied the .pc file manually, I can't remember. By the time I got to trying to build GTK+ I was tearing my hair out and may have missed a couple of the steps required :-) Unfortunately, I didn't ask TOYAMA Shin-ichi what changes he made to the 'modules/Makefile' to get it to work for him. When I run make to build a clean pango, I get an error dialog: "sh.exe has generated errors and will be closed by Windows. You will need to restart the program. An error log is being created." I just waited for the build to complete, and then closed the dialog. Changing the RUN_QUERY_MODULES_TEST from true to false in modules/Makefile prevented this error. It would appear that running 'pango-querymodules' after make install is then required, and I notice that the instructions include that step before running the GTK+ tests. Hope that helps, good luck, regards, John. PS I build on a Win2K system which may explain this difference in behaviour. On Sun, Jun 15, 2008 at 07:14:20PM +0800, lee york wrote: > thanks! > my platform :windows-xp ,mingw+msys > yes,i forgot to install the freetype2 :P > After install the freetype->SDL_ttf->libxml->fontconfig,it's right now > except the building "pango" package :( > ./configure > make > error : > *Writing a pango.modules file to use with tests/examples. > make[3]: *** [pango.modules] Error 127 > make[3]: Leaving directory `/f/dev/pango-1.17.5/modules' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/f/dev/pango-1.17.5/modules' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/f/dev/pango-1.17.5' > make: *** [all] Error 2 > *I entered the /f/dev/pango-1.17.5/modules and make the directory's files > separately, > then i got the same errors! > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Tuxpaint-devel mailing list > Tux...@li... > https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel |
From: lee y. <yor...@gm...> - 2008-06-15 15:48:42
|
Thanks john you are right "RUN_QUERY_MODULES_TEST=false" is the key, the pango work right now! thank you! |
From: John P. <jo...@jo...> - 2008-06-15 16:40:31
|
On Sun, Jun 15, 2008 at 11:48:46PM +0800, lee york wrote: > Thanks john > you are right > "RUN_QUERY_MODULES_TEST=false" is the key, > the pango work right now! > thank you! Thanks for getting back to me. I'll update the instructions. I've also added feedback from TOYAMA Shin-ichi related to building libgsf which requires a configure switch --without-python if Python isn't installed (I have Python installed). Regarding the new Tuxpaint Makefile structure (a great improvement!) I've checked in a few Win32 related fixes and updated the build instructions. CVS Tuxpaint now builds here flawlessly using just 'make' and 'make install'. To build the standalone, re-distributable version (as opposed to the development version that only works inside MSYS) just use 'make bdist-win32' as before. I've not thoroughly tested this version but it looks good so far, cheers, John. |
From: Bill K. <nb...@so...> - 2008-06-15 17:47:13
|
On Sun, Jun 15, 2008 at 05:40:27PM +0100, John Popplewell wrote: > CVS Tuxpaint now builds here flawlessly using just 'make' and > 'make install'. Thanks John & everyone! Can you make sure the Win32-related docs in INSTALL.txt are up-to-date, too? Thanks! -- -bill! "Tux Paint" - free children's drawing software for Windows / Mac OS X / Linux! Download it today! http://www.tuxpaint.org/ |
From: lee y. <yor...@gm...> - 2008-06-16 09:10:54
|
thank you John i meet the Python's problem too these experience are important to me expect the new instructions:) 2008/6/16 John Popplewell <jo...@jo...>: > On Sun, Jun 15, 2008 at 11:48:46PM +0800, lee york wrote: > > Thanks john > > you are right > > "RUN_QUERY_MODULES_TEST=false" is the key, > > the pango work right now! > > thank you! > > Thanks for getting back to me. I'll update the instructions. > > I've also added feedback from TOYAMA Shin-ichi related to building > libgsf which requires a configure switch --without-python if Python > isn't installed (I have Python installed). > > Regarding the new Tuxpaint Makefile structure (a great improvement!) > I've checked in a few Win32 related fixes and updated the build > instructions. > > CVS Tuxpaint now builds here flawlessly using just 'make' and > 'make install'. > > To build the standalone, re-distributable version (as opposed to the > development version that only works inside MSYS) just use > 'make bdist-win32' as before. > > I've not thoroughly tested this version but it looks good so far, > > cheers, > John. > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Tuxpaint-devel mailing list > Tux...@li... > https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel > |
From: John P. <jo...@jo...> - 2008-06-16 15:43:49
|
On Mon, Jun 16, 2008 at 05:10:58PM +0800, lee york wrote: > thank you John > i meet the Python's problem too > these experience are important to me > expect the new instructions:) The (very slightly) updated instructions are here: http://johnnypops.demon.co.uk/mingw/index.html I'll have a go at the INSTALL.txt file, cheers, John. > 2008/6/16 John Popplewell <jo...@jo...>: > > > On Sun, Jun 15, 2008 at 11:48:46PM +0800, lee york wrote: > > > Thanks john > > > you are right > > > "RUN_QUERY_MODULES_TEST=false" is the key, > > > the pango work right now! > > > thank you! > > > > Thanks for getting back to me. I'll update the instructions. > > > > I've also added feedback from TOYAMA Shin-ichi related to building > > libgsf which requires a configure switch --without-python if Python > > isn't installed (I have Python installed). > > > > Regarding the new Tuxpaint Makefile structure (a great improvement!) > > I've checked in a few Win32 related fixes and updated the build > > instructions. > > > > CVS Tuxpaint now builds here flawlessly using just 'make' and > > 'make install'. > > > > To build the standalone, re-distributable version (as opposed to the > > development version that only works inside MSYS) just use > > 'make bdist-win32' as before. > > > > I've not thoroughly tested this version but it looks good so far, > > > > cheers, > > John. > > > > > > ------------------------------------------------------------------------- > > Check out the new SourceForge.net Marketplace. > > It's the best place to buy or sell services for > > just about anything Open Source. > > http://sourceforge.net/services/buy/index.php > > _______________________________________________ > > Tuxpaint-devel mailing list > > Tux...@li... > > https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Tuxpaint-devel mailing list > Tux...@li... > https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel |
From: lee y. <yor...@gm...> - 2008-06-19 11:19:52
|
I change the "Makefile" when i build the tuxpaint-src in my machine(win-xp): SYSNAME:=$(shell uname -s) ifeq ($(SYSNAME),MINGW32_NT-*5.1*) ----------------------------------------------------------because when i run "uname -s", i got result "MINGW32_NT-*5.1*" but the source code's Makefile is "MINGW32_NT-*5.0" 5.0 or 5.1? it's problem:) * 2008/6/16 John Popplewell <jo...@jo...>: > On Mon, Jun 16, 2008 at 05:10:58PM +0800, lee york wrote: > > thank you John > > i meet the Python's problem too > > these experience are important to me > > expect the new instructions:) > > The (very slightly) updated instructions are here: > > http://johnnypops.demon.co.uk/mingw/index.html > > I'll have a go at the INSTALL.txt file, > > cheers, > John. > > > 2008/6/16 John Popplewell <jo...@jo...>: > > > > > On Sun, Jun 15, 2008 at 11:48:46PM +0800, lee york wrote: > > > > Thanks john > > > > you are right > > > > "RUN_QUERY_MODULES_TEST=false" is the key, > > > > the pango work right now! > > > > thank you! > > > > > > Thanks for getting back to me. I'll update the instructions. > > > > > > I've also added feedback from TOYAMA Shin-ichi related to building > > > libgsf which requires a configure switch --without-python if Python > > > isn't installed (I have Python installed). > > > > > > Regarding the new Tuxpaint Makefile structure (a great improvement!) > > > I've checked in a few Win32 related fixes and updated the build > > > instructions. > > > > > > CVS Tuxpaint now builds here flawlessly using just 'make' and > > > 'make install'. > > > > > > To build the standalone, re-distributable version (as opposed to the > > > development version that only works inside MSYS) just use > > > 'make bdist-win32' as before. > > > > > > I've not thoroughly tested this version but it looks good so far, > > > > > > cheers, > > > John. > > > > > > > > > > ------------------------------------------------------------------------- > > > Check out the new SourceForge.net Marketplace. > > > It's the best place to buy or sell services for > > > just about anything Open Source. > > > http://sourceforge.net/services/buy/index.php > > > _______________________________________________ > > > Tuxpaint-devel mailing list > > > Tux...@li... > > > https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel > > > > > > ------------------------------------------------------------------------- > > Check out the new SourceForge.net Marketplace. > > It's the best place to buy or sell services for > > just about anything Open Source. > > http://sourceforge.net/services/buy/index.php > > _______________________________________________ > > Tuxpaint-devel mailing list > > Tux...@li... > > https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Tuxpaint-devel mailing list > Tux...@li... > https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel > |