Mercurial > pidgin
annotate finch/plugins/Makefile.am @ 24865:fbfbebc9197e
Fix two related bugs:
1. When renaming a group and only changing capitalization, Pidgin
prompted you "You are about to merge "Some Group" and "some group"
2. When renaming a group and only changing capitalization, libpurple
got into an infinite loop because the dest and source groups were
the same, and it tried to add buddies to itself until itself was
empty. This resulted in increasing memory and 100% CPU utilization
until the process was killed.
Did we recently change purple_find_group() to be case insensitive or something?
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Mon, 22 Dec 2008 22:01:34 +0000 |
| parents | 20846036cbd5 |
| children | bb99ee66120e |
| rev | line source |
|---|---|
|
15891
886025ef7daa
Build gntclipboard plugin by default. If we don't want this, at least
Stu Tomlinson <stu@nosnilmot.com>
parents:
15884
diff
changeset
|
1 gntclipboard_la_LDFLAGS = -module -avoid-version |
| 15817 | 2 gntgf_la_LDFLAGS = -module -avoid-version |
| 3 gnthistory_la_LDFLAGS = -module -avoid-version | |
|
22173
85c365822504
Add a plugin to provide 'Online/Offline' grouping and no grouping.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
18140
diff
changeset
|
4 gntlastlog_la_LDFLAGS = -module -avoid-version |
|
85c365822504
Add a plugin to provide 'Online/Offline' grouping and no grouping.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
18140
diff
changeset
|
5 grouping_la_LDFLAGS = -module -avoid-version |
| 15817 | 6 |
| 7 if PLUGINS | |
| 8 | |
| 9 plugin_LTLIBRARIES = \ | |
|
15891
886025ef7daa
Build gntclipboard plugin by default. If we don't want this, at least
Stu Tomlinson <stu@nosnilmot.com>
parents:
15884
diff
changeset
|
10 gntclipboard.la \ |
| 15817 | 11 gntgf.la \ |
| 12 gnthistory.la \ | |
|
22173
85c365822504
Add a plugin to provide 'Online/Offline' grouping and no grouping.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
18140
diff
changeset
|
13 gntlastlog.la \ |
|
85c365822504
Add a plugin to provide 'Online/Offline' grouping and no grouping.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
18140
diff
changeset
|
14 grouping.la |
| 15817 | 15 |
|
15884
c6e563dfaa7a
More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents:
15817
diff
changeset
|
16 plugindir = $(libdir)/finch |
| 15817 | 17 |
|
15891
886025ef7daa
Build gntclipboard plugin by default. If we don't want this, at least
Stu Tomlinson <stu@nosnilmot.com>
parents:
15884
diff
changeset
|
18 gntclipboard_la_SOURCES = gntclipboard.c |
| 15817 | 19 gntgf_la_SOURCES = gntgf.c |
| 20 gnthistory_la_SOURCES = gnthistory.c | |
| 21 gntlastlog_la_SOURCES = lastlog.c | |
|
22173
85c365822504
Add a plugin to provide 'Online/Offline' grouping and no grouping.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
18140
diff
changeset
|
22 grouping_la_SOURCES = grouping.c |
| 15817 | 23 |
|
16046
42c6d1d81bec
gntclipboard plugin needs X11
Richard Nelson <wabz@pidgin.im>
parents:
15891
diff
changeset
|
24 gntclipboard_la_CFLAGS = $(X11_CFLAGS) |
| 15817 | 25 gntgf_la_CFLAGS = $(X11_CFLAGS) |
| 26 | |
|
16046
42c6d1d81bec
gntclipboard plugin needs X11
Richard Nelson <wabz@pidgin.im>
parents:
15891
diff
changeset
|
27 gntclipboard_la_LIBADD = $(GLIB_LIBS) $(X11_LIBS) |
| 15817 | 28 gntgf_la_LIBADD = $(GLIB_LIBS) $(X11_LIBS) $(top_builddir)/finch/libgnt/libgnt.la |
| 29 gnthistory_la_LIBADD = $(GLIB_LIBS) | |
| 30 gntlastlog_la_LIBADD = $(GLIB_LIBS) | |
|
22173
85c365822504
Add a plugin to provide 'Online/Offline' grouping and no grouping.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
18140
diff
changeset
|
31 grouping_la_LIBADD = $(GLIB_LIBS) $(top_builddir)/finch/libgnt/libgnt.la |
| 15817 | 32 |
| 33 endif # PLUGINS | |
| 34 | |
|
18140
36400e6f8954
EXTRA_DIST the dbus script.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
16906
diff
changeset
|
35 EXTRA_DIST = pietray.py |
| 15817 | 36 |
| 37 AM_CPPFLAGS = \ | |
| 38 -DDATADIR=\"$(datadir)\" \ | |
| 39 -I$(top_builddir)/libpurple \ | |
| 40 -I$(top_srcdir)/libpurple \ | |
| 41 -I$(top_srcdir) \ | |
| 42 -I$(top_srcdir)/finch \ | |
| 43 -I$(top_srcdir)/finch/libgnt \ | |
| 44 $(DEBUG_CFLAGS) \ | |
| 45 $(GLIB_CFLAGS) \ | |
| 46 $(GNT_CFLAGS) \ | |
| 47 $(PLUGIN_CFLAGS) | |
| 48 | |
| 49 # | |
| 50 # This part allows people to build their own plugins in here. | |
| 51 # Yes, it's a mess. | |
| 52 # | |
| 53 SUFFIXES = .c .so | |
| 54 .c.so: | |
|
24042
20846036cbd5
Fix compiling 'make plugin.so' when srcdir != builddir. This should've been part of the last commit.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
22173
diff
changeset
|
55 $(LIBTOOL) --mode=compile $(CC) -DHAVE_CONFIG_H -I$(top_builddir) $(AM_CPPFLAGS) $(CFLAGS) -c $< -o tmp$@.lo $(PLUGIN_CFLAGS) |
| 15817 | 56 $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o libtmp$@.la -rpath $(plugindir) tmp$@.lo $(LIBS) $(LDFLAGS) -module -avoid-version $(PLUGIN_LIBS) |
| 57 @rm -f tmp$@.lo tmp$@.o libtmp$@.la | |
| 58 @cp .libs/libtmp$@.so* $@ | |
| 59 @rm -f .libs/libtmp$@.* |
