Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: stahta01 on January 30, 2016, 02:43:27 am

Title: Patches needed to build Linux wx30 CB Contrib Projects
Post by: stahta01 on January 30, 2016, 02:43:27 am
I have finally built Code::Blocks on Linux using wx30 contrib CB projects.
I still need to see of it runs.

Tim S.

Code
diff --git a/src/plugins/contrib/wxContribItems/wxContribItems_wx30-unix.cbp b/src/plugins/contrib/wxContribItems/wxContribItems_wx30-unix.cbp
index 97022e7..90c6ec5 100644
--- a/src/plugins/contrib/wxContribItems/wxContribItems_wx30-unix.cbp
+++ b/src/plugins/contrib/wxContribItems/wxContribItems_wx30-unix.cbp
@@ -461,6 +461,12 @@
  <Unit filename="wxled/ledpanel/src/wxledpanel.cpp">
  <Option target="wxLED" />
  </Unit>
+ <Unit filename="wxmathplot/mathplot.cpp">
+ <Option target="wxMathPlot" />
+ </Unit>
+ <Unit filename="wxmathplot/mathplot.h">
+ <Option target="wxMathPlot" />
+ </Unit>
  <Unit filename="wxthings/include/wx/things/toggle.h">
  <Option target="wxCustomButton" />
  </Unit>

Code
diff --git a/src/update30 b/src/update30
index ffe0238..d07911f 100755
--- a/src/update30
+++ b/src/update30
@@ -116,19 +116,19 @@ then
   mkdir -p output30/share/codeblocks/images/ThreadSearch/22x22
   cp -f devel30/share/codeblocks/images/ThreadSearch/22x22/*.png output30/share/codeblocks/images/ThreadSearch/22x22 > /dev/null
 fi
-if [ -d "devdevel30el/share/codeblocks/images/wxsmith" ]
+if [ -d "devel30/share/codeblocks/images/wxsmith" ]
 then
   mkdir -p output30/share/codeblocks/images/wxsmith
-  cp -f devel/share/codeblocks/images/wxsmith/*.png output30/share/codeblocks/images/wxsmith > /dev/null
+  cp -f devel30/share/codeblocks/images/wxsmith/*.png output30/share/codeblocks/images/wxsmith > /dev/null
 fi
-if [ -d "devel/share/codeblocks/lib_finder" ]
+if [ -d "devel30/share/codeblocks/lib_finder" ]
 then
   mkdir -p output30/share/codeblocks/lib_finder
-  cp -f devel/share/codeblocks/lib_finder/*.xml output30/share/codeblocks/lib_finder > /dev/null
+  cp -f devel30/share/codeblocks/lib_finder/*.xml output30/share/codeblocks/lib_finder > /dev/null
 fi
 # misc. contrib plugin settings:
-cp -f devel/share/codeblocks/images/16x16/*.png    output30/share/codeblocks/images/16x16    > /dev/null
-cp -f devel/share/codeblocks/images/settings/*.png output30/share/codeblocks/images/settings > /dev/null
+cp -f devel30/share/codeblocks/images/16x16/*.png    output30/share/codeblocks/images/16x16    > /dev/null
+cp -f devel30/share/codeblocks/images/settings/*.png output30/share/codeblocks/images/settings > /dev/null
 
 rsync -au --exclude-from=excludes.txt plugins/scriptedwizard/resources/ ${RESDIR}/templates/wizard > /dev/null
 rsync -au --exclude-from=excludes.txt plugins/scriptedwizard/resources/ output30/share/codeblocks/templates/wizard > /dev/null
Title: Re: Patches needed to build Linux wx30 CB Contrib Projects
Post by: MortenMacFly on January 30, 2016, 07:21:24 am
I have finally built Code::Blocks on Linux using wx30 contrib CB projects.
Done that (slightly modified) in SVN.