]> git.saurik.com Git - wxWidgets.git/commitdiff
distrib changes to enable graphics context and add gdiplus.dll
authorRobin Dunn <robin@alldunn.com>
Wed, 11 Oct 2006 06:44:51 +0000 (06:44 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 11 Oct 2006 06:44:51 +0000 (06:44 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/distrib/all/do-build-windows
wxPython/distrib/mac/wxPythonOSX/build
wxPython/distrib/make_installer.py
wxPython/distrib/make_installer_inno4.py
wxPython/distrib/msw/gdiplus.dll [new file with mode: 0644]
wxPython/distrib/wxPythonFull.spec.in

index 014c351219c5f80c6ab9502fbb5d3620e5cedb34..2f3d1ec105b3b85dcf7b9b19e4eab923382afba9 100755 (executable)
@@ -83,6 +83,7 @@ s/wxUSE_AFM_FOR_POSTSCRIPT *1/wxUSE_AFM_FOR_POSTSCRIPT 0/g
 s/wxUSE_DISPLAY *0/wxUSE_DISPLAY 1/g
 s/wxUSE_DIB_FOR_BITMAP *0/wxUSE_DIB_FOR_BITMAP 1/g
 s/wxUSE_DEBUGREPORT *1/wxUSE_DEBUGREPORT 0/g
+s/wxUSE_GRAPHICS_CONTEXT *0/wxUSE_GRAPHICS_CONTEXT 1/g
 EOF
 cat $WXDIR/include/wx/msw/setup0.h | sed -f .my.sedexpr > $WXDIR/include/wx/msw/setup.h
 rm .my.sedexpr
@@ -90,10 +91,10 @@ rm .my.sedexpr
 
 echo "Building the wx DLLs..."
 if [ $CHARTYPE = both -o $CHARTYPE = ansi ]; then
-    .make hybrid
+    .make hybrid USE_GDIPLUS=1
 fi
 if [ $CHARTYPE = both -o $CHARTYPE = unicode ]; then
-    .make hybrid-uni
+    .make hybrid-uni USE_GDIPLUS=1
 fi
 
 
index f05c29b41dc13e10029c5a2df656e5e3f6fc41f9..fd8379c8535a05e2fb23cb38ed90462a5c2e2483 100755 (executable)
@@ -257,6 +257,7 @@ if [ $skipconfig != yes -a $universal != yes ]; then
        --enable-sound \
        --enable-display \
        --enable-geometry \
+       --enable-graphics_ctx \
        $DEBUG_FLAG \
        --enable-precomp=no \
        --enable-optimise \
index 5e063974b1daa05d7c54771d5215aaa3d5a81097..62f680bac709b6456b333f8f0f9a55aeb51d9797 100644 (file)
@@ -75,6 +75,7 @@ Name: pthfile;  Description: "Make this install be the default wxPython"; Types:
 
 [Files]
 %(RTDLL)s
+Source: "distrib\msw\gdiplus.dll"; DestDir: "{code:GetPythonDir}"; OnlyBelowVersion: 5.1; CopyMode: alwaysskipifsameorolder; Flags: sharedfile; Components: core
 Source: "%(WXDIR)s\lib\vc_dll\wx*%(WXDLLVER)s_*.dll";  DestDir: "{app}\%(PKGDIR)s\wx"; Components: core
 %(MSLU)s
 
index 395ae0db6c4ada9dd5ca91cee41c801c0d616968..0498f78df2f718c37dfb3847b5ff3f60fd532061 100755 (executable)
@@ -79,6 +79,7 @@ Name: pthfile;  Description: "Make this install be the default wxPython"; Types:
 
 [Files]
 %(RTDLL)s
+Source: "distrib\msw\gdiplus.dll"; DestDir: "{code:GetPythonDir}"; OnlyBelowVersion: 5.1; CopyMode: alwaysskipifsameorolder; Flags: sharedfile; Components: core
 Source: "%(WXDIR)s\lib\vc_dll\wx*%(WXDLLVER)s_*.dll";  DestDir: "{app}\%(PKGDIR)s\wx"; Components: core
 %(MSLU)s
 
diff --git a/wxPython/distrib/msw/gdiplus.dll b/wxPython/distrib/msw/gdiplus.dll
new file mode 100644 (file)
index 0000000..7d53c44
Binary files /dev/null and b/wxPython/distrib/msw/gdiplus.dll differ
index a4117823bdcd9af850906a28f8f29203add9f3d2..d794c60bee07a16414d8dc776d040372d3f4d47a 100644 (file)
@@ -210,6 +210,7 @@ cd bld
        --with-opengl \
        --with-gnomeprint \
        --enable-geometry \
+       --enable-graphics_ctx \
        --enable-optimise \
        --enable-sound  --with-sdl \
 %if %{mediactrl}