Menu

#1524 DisplayEvent core plugin isn't built for CodeBlocks 25.03

Undefined
applied
nobody
None
Bug_Report
2025-04-06
2025-04-05
No

Reading the CodeBlocks 25.03 Release Notes I known that DisplayEvent core plugin was added but on trying to build CodeBlocks I notices that actually on configuration it won't be build: checking whether to build the displayevents plugin... no.

The reason is an typo in file trunk/m4/acinclude.m4 ( https://sourceforge.net/p/codeblocks/code/12657/ ): there is dsplayevents_default="yes" instead of displayevents_default="yes".

Also changes that was introduced in https://sourceforge.net/p/codeblocks/code/12651 seems have several errors in trunk/src/plugins/displayevents/Makefile.am file:
1) ../../sdk/libcodeblocks.la path should be instead of ../../../sdk/libcodeblocks.la
2) target with name DisplayEvents.zip should be instead of target IncrementalSearch.zip.

The following patch resolves the DisplayEvent plugin build problem for me:

diff -Naur a/m4/acinclude.m4 b/m4/acinclude.m4
--- a/m4/acinclude.m4
+++ b/m4/acinclude.m4
@@ -211,7 +211,7 @@
 fi

 AC_MSG_CHECKING(whether to build the displayevents plugin)
-dsplayevents_default="yes"
+displayevents_default="yes"
 AC_ARG_ENABLE(displayevents, [AC_HELP_STRING([--enable-displayevents], [build the displayevents plugin (default YES)])],,
                        enable_displayevents=$displayevents_default)
 AM_CONDITIONAL([BUILD_DISPLAYEVENTS], [test "x$enable_displayevents" = "xyes"])
diff -Naur a/src/plugins/displayevents/Makefile.am b/src/plugins/displayevents/Makefile.am
--- a/src/plugins/displayevents/Makefile.am
+++ b/src/plugins/displayevents/Makefile.am
@@ -8,7 +8,7 @@
 libDisplayEvents_la_LDFLAGS = -module -version-info 0:1:0 -shared -no-undefined -avoid-version

 libDisplayEvents_la_LIBADD = $(PLUGIN_WX_LIBS) \
-                                                       ../../../sdk/libcodeblocks.la
+                                                       ../../sdk/libcodeblocks.la

 libDisplayEvents_la_SOURCES = DisplayEvents.cpp

@@ -21,5 +21,5 @@

 CLEANFILES = $(pkgdata_DATA)

-IncrementalSearch.zip: manifest.xml
+DisplayEvents.zip: manifest.xml
        PWD=`pwd` cd $(srcdir) && zip -R $(PWD)/DisplayEvents.zip manifest.xml > /dev/null

and then DisplayEvent plugin is displayed under Plugins - Manage plugin... CodeBlocks menu.

Discussion

  • Miguel Gimenez

    Miguel Gimenez - 2025-04-06
    • status: open --> applied
     
  • Miguel Gimenez

    Miguel Gimenez - 2025-04-06

    Fixed in [r13648], thank you.

     

    Related

    Commit: [r13648]


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.