# HG changeset patch # User Richard Dunbar # Date 1592365155 14400 # Node ID fa74795599b1365b4ead47e259bf3cc7bff653d1 # Parent eb5518b1b0940e170b2776ad7f7200a653143a64 codeblocks: use wxWidgets and gcc49 diff -r eb5518b1b094 -r fa74795599b1 codeblocks/receipt --- a/codeblocks/receipt Tue Jun 16 20:15:47 2020 +0000 +++ b/codeblocks/receipt Tue Jun 16 23:39:15 2020 -0400 @@ -12,10 +12,10 @@ TARBALL="${PACKAGE}_$VERSION.tar.xz" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" -DEPENDS="gamin gcc83-lib-base hunspell wxWidgets28" -BUILD_DEPENDS="autoconf automake expat-dev gamin-dev gcc83 gcc83-lib-base - gnome-icon-theme hunspell-dev libboost-dev libtool wxWidgets28-dev - xorg-libXau-dev xorg-libXdmcp-dev zip" +DEPENDS="gamin gcc49-lib-base hunspell wxWidgets" +BUILD_DEPENDS="autoconf automake expat-dev fontconfig-dev gamin-dev gcc49 + gcc49-lib-base gnome-icon-theme hunspell-dev libboost-dev libtool + wxWidgets-dev xorg-libXau-dev xorg-libXdmcp-dev zip" # Rules to configure and make the package. compile_rules() @@ -30,8 +30,8 @@ # because(?) plugin NassiShneiderman/CParser needs libboost-dev ./configure \ - CC=gcc-83 \ - CXX=g++-83 \ + CC=gcc-49 \ + CXX=g++-49 \ --with-boost-libdir=/usr/lib \ --with-contrib-plugins="all, -help" \ --prefix=/usr \ @@ -51,7 +51,9 @@ cp -a $install/usr/lib/*.so* $fs/usr/lib cp -a $install/usr/lib/*.*a $fs/usr/lib cp -a $install/usr/lib/codeblocks $fs/usr/lib -# cp -a $install/usr/lib/wxSmithContribItems $fs/usr/lib cp -a $install/usr/share/codeblocks $fs/usr/share cp -a $install/usr/bin $fs/usr + + # Remove plugin that load fail error on start. + rm $fs/usr/lib/codeblocks/plugins/libNassiShneiderman.* }