summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--NEWS9
-rw-r--r--src/plugins/aspell/Makefile.am8
-rw-r--r--src/plugins/plugins.c5
-rw-r--r--src/plugins/scripts/lua/Makefile.am8
-rw-r--r--src/plugins/scripts/perl/Makefile.am8
-rw-r--r--src/plugins/scripts/python/Makefile.am8
-rw-r--r--src/plugins/scripts/ruby/Makefile.am8
-rw-r--r--weechat/ChangeLog3
-rw-r--r--weechat/NEWS9
-rw-r--r--weechat/src/plugins/aspell/Makefile.am8
-rw-r--r--weechat/src/plugins/plugins.c5
-rw-r--r--weechat/src/plugins/scripts/lua/Makefile.am8
-rw-r--r--weechat/src/plugins/scripts/perl/Makefile.am8
-rw-r--r--weechat/src/plugins/scripts/python/Makefile.am8
-rw-r--r--weechat/src/plugins/scripts/ruby/Makefile.am8
16 files changed, 64 insertions, 50 deletions
diff --git a/ChangeLog b/ChangeLog
index 96a8cf659..88852002b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,9 +1,10 @@
WeeChat - Wee Enhanced Environment for Chat
===========================================
-ChangeLog - 2006-06-10
+ChangeLog - 2006-06-14
Version 0.2.0 (under dev!):
+ * renamed plugins names (removed "lib" prefix in name)
* fixed crash when closing DCC/raw buffer if 2 are open (bug #16808)
* fixed crashes with DCC chat remove/purge on DCC view (bug #16775)
* fixed bug with connection to bnc (bug #16760)
diff --git a/NEWS b/NEWS
index e21988053..b68788c7a 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,15 @@
WeeChat - Wee Enhanced Environment for Chat
===========================================
+* FlashCode, 2006-06-14
+
+ Important release notes:
+
+ - if you're using plugins, you should remove some old plugins libraries
+ in WeeChat system library directory (commonly
+ /usr/local/lib/weechat/plugins): remove lib* files (like libperl.*,
+ libpython.*, ..) and keep only new libraries (perl.*, python.*, ..)
+
* FlashCode, 2006-05-25
WeeChat 0.1.9 released.
diff --git a/src/plugins/aspell/Makefile.am b/src/plugins/aspell/Makefile.am
index 449d38ba5..644c1f87f 100644
--- a/src/plugins/aspell/Makefile.am
+++ b/src/plugins/aspell/Makefile.am
@@ -19,8 +19,8 @@ INCLUDES = -DLOCALEDIR=\"$(datadir)/locale\" $(ASPELL_CFLAGS)
libdir = ${weechat_libdir}/plugins
-lib_LTLIBRARIES = libaspell.la
+lib_LTLIBRARIES = aspell.la
-libaspell_la_SOURCES = weechat-aspell.h weechat-aspell.c
-libaspell_la_LDFLAGS = -module
-libaspell_la_LIBADD = $(ASPELL_LFLAGS)
+aspell_la_SOURCES = weechat-aspell.h weechat-aspell.c
+aspell_la_LDFLAGS = -module
+aspell_la_LIBADD = $(ASPELL_LFLAGS)
diff --git a/src/plugins/plugins.c b/src/plugins/plugins.c
index e73a82e86..474d0e478 100644
--- a/src/plugins/plugins.c
+++ b/src/plugins/plugins.c
@@ -703,10 +703,7 @@ plugin_search_full_name (char *filename)
name_with_ext = (char *)malloc (length);
if (!name_with_ext)
return strdup (filename);
- name_with_ext[0] = '\0';
- if (ascii_strncasecmp (filename, "lib", 3) != 0)
- strcat (name_with_ext, "lib");
- strcat (name_with_ext, filename);
+ strcpy (name_with_ext, filename);
if (!strchr (filename, '.')
&& cfg_plugins_extension && cfg_plugins_extension[0])
strcat (name_with_ext, cfg_plugins_extension);
diff --git a/src/plugins/scripts/lua/Makefile.am b/src/plugins/scripts/lua/Makefile.am
index 814ed8dd7..b54218c66 100644
--- a/src/plugins/scripts/lua/Makefile.am
+++ b/src/plugins/scripts/lua/Makefile.am
@@ -19,8 +19,8 @@ INCLUDES = -DLOCALEDIR=\"$(datadir)/locale\" $(LUA_CFLAGS)
libdir = ${weechat_libdir}/plugins
-lib_LTLIBRARIES = liblua.la
+lib_LTLIBRARIES = lua.la
-liblua_la_SOURCES = weechat-lua.c
-liblua_la_LDFLAGS = -module
-liblua_la_LIBADD = ../lib_weechat_plugins_scripts.la $(LUA_LFLAGS)
+lua_la_SOURCES = weechat-lua.c
+lua_la_LDFLAGS = -module
+lua_la_LIBADD = ../lib_weechat_plugins_scripts.la $(LUA_LFLAGS)
diff --git a/src/plugins/scripts/perl/Makefile.am b/src/plugins/scripts/perl/Makefile.am
index 8a5292c8c..06dbb60c4 100644
--- a/src/plugins/scripts/perl/Makefile.am
+++ b/src/plugins/scripts/perl/Makefile.am
@@ -19,8 +19,8 @@ INCLUDES = -DLOCALEDIR=\"$(datadir)/locale\" $(PERL_CFLAGS)
libdir = ${weechat_libdir}/plugins
-lib_LTLIBRARIES = libperl.la
+lib_LTLIBRARIES = perl.la
-libperl_la_SOURCES = weechat-perl.c
-libperl_la_LDFLAGS = -module
-libperl_la_LIBADD = ../lib_weechat_plugins_scripts.la $(PERL_LFLAGS)
+perl_la_SOURCES = weechat-perl.c
+perl_la_LDFLAGS = -module
+perl_la_LIBADD = ../lib_weechat_plugins_scripts.la $(PERL_LFLAGS)
diff --git a/src/plugins/scripts/python/Makefile.am b/src/plugins/scripts/python/Makefile.am
index ba8a445ae..63413fb5c 100644
--- a/src/plugins/scripts/python/Makefile.am
+++ b/src/plugins/scripts/python/Makefile.am
@@ -19,8 +19,8 @@ INCLUDES = -DLOCALEDIR=\"$(datadir)/locale\" $(PYTHON_CFLAGS)
libdir = ${weechat_libdir}/plugins
-lib_LTLIBRARIES = libpython.la
+lib_LTLIBRARIES = python.la
-libpython_la_SOURCES = weechat-python.c
-libpython_la_LDFLAGS = -module
-libpython_la_LIBADD = ../lib_weechat_plugins_scripts.la $(PYTHON_LFLAGS)
+python_la_SOURCES = weechat-python.c
+python_la_LDFLAGS = -module
+python_la_LIBADD = ../lib_weechat_plugins_scripts.la $(PYTHON_LFLAGS)
diff --git a/src/plugins/scripts/ruby/Makefile.am b/src/plugins/scripts/ruby/Makefile.am
index 31fb34f0f..2ab5130af 100644
--- a/src/plugins/scripts/ruby/Makefile.am
+++ b/src/plugins/scripts/ruby/Makefile.am
@@ -19,8 +19,8 @@ INCLUDES = -DLOCALEDIR=\"$(datadir)/locale\" $(RUBY_CFLAGS)
libdir = ${weechat_libdir}/plugins
-lib_LTLIBRARIES = libruby.la
+lib_LTLIBRARIES = ruby.la
-libruby_la_SOURCES = weechat-ruby.c
-libruby_la_LDFLAGS = -module
-libruby_la_LIBADD = ../lib_weechat_plugins_scripts.la $(RUBY_LFLAGS)
+ruby_la_SOURCES = weechat-ruby.c
+ruby_la_LDFLAGS = -module
+ruby_la_LIBADD = ../lib_weechat_plugins_scripts.la $(RUBY_LFLAGS)
diff --git a/weechat/ChangeLog b/weechat/ChangeLog
index 96a8cf659..88852002b 100644
--- a/weechat/ChangeLog
+++ b/weechat/ChangeLog
@@ -1,9 +1,10 @@
WeeChat - Wee Enhanced Environment for Chat
===========================================
-ChangeLog - 2006-06-10
+ChangeLog - 2006-06-14
Version 0.2.0 (under dev!):
+ * renamed plugins names (removed "lib" prefix in name)
* fixed crash when closing DCC/raw buffer if 2 are open (bug #16808)
* fixed crashes with DCC chat remove/purge on DCC view (bug #16775)
* fixed bug with connection to bnc (bug #16760)
diff --git a/weechat/NEWS b/weechat/NEWS
index e21988053..b68788c7a 100644
--- a/weechat/NEWS
+++ b/weechat/NEWS
@@ -1,6 +1,15 @@
WeeChat - Wee Enhanced Environment for Chat
===========================================
+* FlashCode, 2006-06-14
+
+ Important release notes:
+
+ - if you're using plugins, you should remove some old plugins libraries
+ in WeeChat system library directory (commonly
+ /usr/local/lib/weechat/plugins): remove lib* files (like libperl.*,
+ libpython.*, ..) and keep only new libraries (perl.*, python.*, ..)
+
* FlashCode, 2006-05-25
WeeChat 0.1.9 released.
diff --git a/weechat/src/plugins/aspell/Makefile.am b/weechat/src/plugins/aspell/Makefile.am
index 449d38ba5..644c1f87f 100644
--- a/weechat/src/plugins/aspell/Makefile.am
+++ b/weechat/src/plugins/aspell/Makefile.am
@@ -19,8 +19,8 @@ INCLUDES = -DLOCALEDIR=\"$(datadir)/locale\" $(ASPELL_CFLAGS)
libdir = ${weechat_libdir}/plugins
-lib_LTLIBRARIES = libaspell.la
+lib_LTLIBRARIES = aspell.la
-libaspell_la_SOURCES = weechat-aspell.h weechat-aspell.c
-libaspell_la_LDFLAGS = -module
-libaspell_la_LIBADD = $(ASPELL_LFLAGS)
+aspell_la_SOURCES = weechat-aspell.h weechat-aspell.c
+aspell_la_LDFLAGS = -module
+aspell_la_LIBADD = $(ASPELL_LFLAGS)
diff --git a/weechat/src/plugins/plugins.c b/weechat/src/plugins/plugins.c
index e73a82e86..474d0e478 100644
--- a/weechat/src/plugins/plugins.c
+++ b/weechat/src/plugins/plugins.c
@@ -703,10 +703,7 @@ plugin_search_full_name (char *filename)
name_with_ext = (char *)malloc (length);
if (!name_with_ext)
return strdup (filename);
- name_with_ext[0] = '\0';
- if (ascii_strncasecmp (filename, "lib", 3) != 0)
- strcat (name_with_ext, "lib");
- strcat (name_with_ext, filename);
+ strcpy (name_with_ext, filename);
if (!strchr (filename, '.')
&& cfg_plugins_extension && cfg_plugins_extension[0])
strcat (name_with_ext, cfg_plugins_extension);
diff --git a/weechat/src/plugins/scripts/lua/Makefile.am b/weechat/src/plugins/scripts/lua/Makefile.am
index 814ed8dd7..b54218c66 100644
--- a/weechat/src/plugins/scripts/lua/Makefile.am
+++ b/weechat/src/plugins/scripts/lua/Makefile.am
@@ -19,8 +19,8 @@ INCLUDES = -DLOCALEDIR=\"$(datadir)/locale\" $(LUA_CFLAGS)
libdir = ${weechat_libdir}/plugins
-lib_LTLIBRARIES = liblua.la
+lib_LTLIBRARIES = lua.la
-liblua_la_SOURCES = weechat-lua.c
-liblua_la_LDFLAGS = -module
-liblua_la_LIBADD = ../lib_weechat_plugins_scripts.la $(LUA_LFLAGS)
+lua_la_SOURCES = weechat-lua.c
+lua_la_LDFLAGS = -module
+lua_la_LIBADD = ../lib_weechat_plugins_scripts.la $(LUA_LFLAGS)
diff --git a/weechat/src/plugins/scripts/perl/Makefile.am b/weechat/src/plugins/scripts/perl/Makefile.am
index 8a5292c8c..06dbb60c4 100644
--- a/weechat/src/plugins/scripts/perl/Makefile.am
+++ b/weechat/src/plugins/scripts/perl/Makefile.am
@@ -19,8 +19,8 @@ INCLUDES = -DLOCALEDIR=\"$(datadir)/locale\" $(PERL_CFLAGS)
libdir = ${weechat_libdir}/plugins
-lib_LTLIBRARIES = libperl.la
+lib_LTLIBRARIES = perl.la
-libperl_la_SOURCES = weechat-perl.c
-libperl_la_LDFLAGS = -module
-libperl_la_LIBADD = ../lib_weechat_plugins_scripts.la $(PERL_LFLAGS)
+perl_la_SOURCES = weechat-perl.c
+perl_la_LDFLAGS = -module
+perl_la_LIBADD = ../lib_weechat_plugins_scripts.la $(PERL_LFLAGS)
diff --git a/weechat/src/plugins/scripts/python/Makefile.am b/weechat/src/plugins/scripts/python/Makefile.am
index ba8a445ae..63413fb5c 100644
--- a/weechat/src/plugins/scripts/python/Makefile.am
+++ b/weechat/src/plugins/scripts/python/Makefile.am
@@ -19,8 +19,8 @@ INCLUDES = -DLOCALEDIR=\"$(datadir)/locale\" $(PYTHON_CFLAGS)
libdir = ${weechat_libdir}/plugins
-lib_LTLIBRARIES = libpython.la
+lib_LTLIBRARIES = python.la
-libpython_la_SOURCES = weechat-python.c
-libpython_la_LDFLAGS = -module
-libpython_la_LIBADD = ../lib_weechat_plugins_scripts.la $(PYTHON_LFLAGS)
+python_la_SOURCES = weechat-python.c
+python_la_LDFLAGS = -module
+python_la_LIBADD = ../lib_weechat_plugins_scripts.la $(PYTHON_LFLAGS)
diff --git a/weechat/src/plugins/scripts/ruby/Makefile.am b/weechat/src/plugins/scripts/ruby/Makefile.am
index 31fb34f0f..2ab5130af 100644
--- a/weechat/src/plugins/scripts/ruby/Makefile.am
+++ b/weechat/src/plugins/scripts/ruby/Makefile.am
@@ -19,8 +19,8 @@ INCLUDES = -DLOCALEDIR=\"$(datadir)/locale\" $(RUBY_CFLAGS)
libdir = ${weechat_libdir}/plugins
-lib_LTLIBRARIES = libruby.la
+lib_LTLIBRARIES = ruby.la
-libruby_la_SOURCES = weechat-ruby.c
-libruby_la_LDFLAGS = -module
-libruby_la_LIBADD = ../lib_weechat_plugins_scripts.la $(RUBY_LFLAGS)
+ruby_la_SOURCES = weechat-ruby.c
+ruby_la_LDFLAGS = -module
+ruby_la_LIBADD = ../lib_weechat_plugins_scripts.la $(RUBY_LFLAGS)