Re: [heads-up] freetype update ?
On Fri, Jan 10, 2014 at 06:07:41AM -0700, David Coppa wrote: From: Christian Weisgerber na...@mips.inka.de Date: Thu, Jan 9, 2014 at 11:45 PM Subject: Re: [heads-up] freetype update ? To: ports@openbsd.org Christian Weisgerber na...@mips.inka.de wrote: These are probably using a local FindFreetype.cmake module file. Indeed they are. Add another one: geo/mapserver graphics/darktable graphics/openscenegraph lang/io x11/ogre Here's the diff to fix these ports. For mapserver, lang/io, openscenegraph, and ogre I've just removed the local FindFreetype.cmake module file, since these ports used an obsolete or slightly different version of the system module with identical defined variables. graphics/darktable, instead, has diverged considerably from the default FindFreetype.cmake module, so I've patched the local file here. You also have some assorted minor fixes, and a pair of #include freetype/ftblah.h - #include FT_BLAH_H dances... All of these are already build-tested. Oky? Okay if they also build with current freetype. Landry
Re: [heads-up] freetype update ?
Landry Breuil: games/renpy /usr/local/include/GL/glew.h:1188:24: error: GL/glu.h: No such file or directory This fails because -I${X11BASE}/include is now missing. graphics/py-Imaging graphics/py-Pillow Fixed, but now graphics/py-matplotlib fails, again because -I${X11BASE}/include is missing. Somebody who is more comfortable with Python may want to take a look. -- Christian naddy Weisgerber na...@mips.inka.de
Re: [heads-up] freetype update ?
David Coppa: Attached you have the right diff, they're three commits from upstream: http://cmake.org/gitweb?p=cmake.git;a=commit;h=7435ae7c97590a0713d86b63add761d5e1607ec1 http://cmake.org/gitweb?p=cmake.git;a=commit;h=bc49d820a276243324003bc34d92a69194938adf http://cmake.org/gitweb?p=cmake.git;a=commit;h=9b08e3f5993eb004e3eb0d9ae8b593f553989f89 That looks sensible. Going through the list of affected cmake-using ports, I can confirm that it fixes these: games/easyrpg games/megaglest/base graphics/blender print/scribus x11/slim This one I couldn't build because php needs to be fixed first: geo/mapserver These still fail: graphics/darktable graphics/openscenegraph lang/io x11/ogre === graphics/darktable CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: Freetype_INCLUDE_DIR (ADVANCED) === graphics/openscenegraph /usr/obj/openscenegraph-3.2.0/OpenSceneGraph-3.2.0/src/osgPlugins/freetype/FreeTypeFont.cpp:461: error: 'FT_Outline_Decompose' was not declared in this scope === lang/io Error: /usr/obj/io-20110905/fake-amd64/usr/local/lib/io/addons/Font/CMakeLists.txt does not exist === x11/ogre -- The following REQUIRED packages could NOT be located on your system. + freetype: Portable font engine http://www.freetype.org -- Christian naddy Weisgerber na...@mips.inka.de
Re: [heads-up] freetype update ?
On Thu, Jan 9, 2014 at 6:00 PM, Christian Weisgerber na...@mips.inka.de wrote: David Coppa: Attached you have the right diff, they're three commits from upstream: http://cmake.org/gitweb?p=cmake.git;a=commit;h=7435ae7c97590a0713d86b63add761d5e1607ec1 http://cmake.org/gitweb?p=cmake.git;a=commit;h=bc49d820a276243324003bc34d92a69194938adf http://cmake.org/gitweb?p=cmake.git;a=commit;h=9b08e3f5993eb004e3eb0d9ae8b593f553989f89 That looks sensible. Going through the list of affected cmake-using ports, I can confirm that it fixes these: games/easyrpg games/megaglest/base graphics/blender print/scribus x11/slim This one I couldn't build because php needs to be fixed first: geo/mapserver These still fail: graphics/darktable graphics/openscenegraph lang/io x11/ogre === graphics/darktable CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: Freetype_INCLUDE_DIR (ADVANCED) === graphics/openscenegraph /usr/obj/openscenegraph-3.2.0/OpenSceneGraph-3.2.0/src/osgPlugins/freetype/FreeTypeFont.cpp:461: error: 'FT_Outline_Decompose' was not declared in this scope === lang/io Error: /usr/obj/io-20110905/fake-amd64/usr/local/lib/io/addons/Font/CMakeLists.txt does not exist === x11/ogre -- The following REQUIRED packages could NOT be located on your system. + freetype: Portable font engine http://www.freetype.org These are probably using a local FindFreetype.cmake module file. So, we have two ways here: we can remove them at pre-configure stage so the port will use the system one from /usr/local/share/cmake/Modules/FindFreetype.cmake or we can patch the local ones too... ciao, David
Re: [heads-up] freetype update ?
On Thu, January 9, 2014 23:17, David Coppa wrote: On Thu, Jan 9, 2014 at 6:00 PM, Christian Weisgerber na...@mips.inka.de wrote: David Coppa: Attached you have the right diff, they're three commits from upstream: http://cmake.org/gitweb?p=cmake.git;a=commit;h=7435ae7c97590a0713d86b63add761d5e1607ec1 http://cmake.org/gitweb?p=cmake.git;a=commit;h=bc49d820a276243324003bc34d92a69194938adf http://cmake.org/gitweb?p=cmake.git;a=commit;h=9b08e3f5993eb004e3eb0d9ae8b593f553989f89 That looks sensible. Going through the list of affected cmake-using ports, I can confirm that it fixes these: games/easyrpg games/megaglest/base graphics/blender print/scribus x11/slim This one I couldn't build because php needs to be fixed first: geo/mapserver These still fail: graphics/darktable graphics/openscenegraph lang/io x11/ogre === graphics/darktable CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: Freetype_INCLUDE_DIR (ADVANCED) === graphics/openscenegraph /usr/obj/openscenegraph-3.2.0/OpenSceneGraph-3.2.0/src/osgPlugins/freetype/FreeTypeFont.cpp:461: error: 'FT_Outline_Decompose' was not declared in this scope === lang/io Error: /usr/obj/io-20110905/fake-amd64/usr/local/lib/io/addons/Font/CMakeLists.txt does not exist === x11/ogre -- The following REQUIRED packages could NOT be located on your system. + freetype: Portable font engine http://www.freetype.org These are probably using a local FindFreetype.cmake module file. So, we have two ways here: we can remove them at pre-configure stage so the port will use the system one from /usr/local/share/cmake/Modules/FindFreetype.cmake or we can patch the local ones too... I vote for removal. This may save our time in future. ciao, David
Re: [heads-up] freetype update ?
David Coppa: These still fail: graphics/darktable graphics/openscenegraph lang/io x11/ogre These are probably using a local FindFreetype.cmake module file. Indeed they are. So, we have two ways here: we can remove them at pre-configure stage so the port will use the system one from /usr/local/share/cmake/Modules/FindFreetype.cmake or we can patch the local ones too... Hmm. They might not all define the same variables as the system FindFreetype.cmake. -- Christian naddy Weisgerber na...@mips.inka.de
Re: [heads-up] freetype update ?
Christian Weisgerber na...@mips.inka.de wrote: These are probably using a local FindFreetype.cmake module file. Indeed they are. Add another one: geo/mapserver graphics/darktable graphics/openscenegraph lang/io x11/ogre -- Christian naddy Weisgerber na...@mips.inka.de
Re: [heads-up] freetype update ?
On Thu, Jan 9, 2014 at 9:47 AM, Christian Weisgerber na...@mips.inka.dewrote: Landry Breuil: games/renpy /usr/local/include/GL/glew.h:1188:24: error: GL/glu.h: No such file or directory This fails because -I${X11BASE}/include is now missing. graphics/py-Imaging graphics/py-Pillow Fixed, but now graphics/py-matplotlib fails, again because -I${X11BASE}/include is missing. Somebody who is more comfortable with Python may want to take a look. I have updates for some of these python ports on github. Anybody interested in running them through a bulk? I will only be able to get to my OpenBSD machine on late Sunday. Please let me know. thanks
Re: [heads-up] freetype update ?
On 09/01/14 8:40 PM, Amit Kulkarni wrote: On Thu, Jan 9, 2014 at 9:47 AM, Christian Weisgerber na...@mips.inka.dewrote: Landry Breuil: games/renpy /usr/local/include/GL/glew.h:1188:24: error: GL/glu.h: No such file or directory This fails because -I${X11BASE}/include is now missing. graphics/py-Imaging graphics/py-Pillow Fixed, but now graphics/py-matplotlib fails, again because -I${X11BASE}/include is missing. Somebody who is more comfortable with Python may want to take a look. I have updates for some of these python ports on github. Anybody interested in running them through a bulk? I will only be able to get to my OpenBSD machine on late Sunday. Please let me know. Updating alone won't fix the problems at hand. Fix those issues first. Then worry about updates. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.