[Pidgin] #5706: Turn off screensaver on message receive
Pidgin
trac at pidgin.im
Tue May 13 16:44:02 EDT 2008
#5706: Turn off screensaver on message receive
-----------------------------+----------------------------------------------
Reporter: mvidas | Owner:
Type: plugin request | Status: new
Priority: minor | Milestone:
Component: plugins | Version: 2.4.1
Resolution: | Keywords: power management, screensaver, new message
Pending: 0 |
-----------------------------+----------------------------------------------
Comment (by mvidas):
Hi,
Sorry for the delay in getting back to this. I wrote the plugin code, and
followed the instructions in the BuildingWinPidgin wiki page to create the
build environment to compile it. I fixed the coding errors I had, and now
I'm stuck with an error I can't get past. I'm going to paste the output
from cygwin here, but if you think I should create a new ticket (or have a
better idea of where I can ask this), please let me know. Here is what
came up for me:
Matt at matts-desktop ~ [[BR]]
$ cd pidgin-2.4.1/libpurple/plugins [[BR]]
Matt at matts-desktop ~/pidgin-2.4.1/libpurple/plugins [[BR]]
$ make -B -f Makefile.mingw mvscreensaver.dll [[BR]]
gcc.exe -O2 -Wall -Waggregate-return -Wcast-align -Wdeclaration-after-
statement -Werror-implicit-function-declaration -Wextra -Wno-sign-compare
-Wno-unused-parameter -Winit-self -Wmissing-declarations -Wmissing-
prototypes -Wnested-externs -Wpointer-arith -Wundef -pipe -mno-cygwin
-mms-bitfields -g -DHAVE_CYRUS_SASL -DHAVE_CONFIG_H
-I../../../win32-dev/gtk_2_0/include
-I../../../win32-dev/gtk_2_0/include/glib-2.0
-I../../../win32-dev/gtk_2_0/lib/glib-2.0/include -I../..
-I../../libpurple -I../../libpurple/win32 -o mvscreensaver.dll.o -c
mvscreensaver.c [[BR]]
gcc.exe -shared mvscreensaver.dll.o -L../../../win32-dev/gtk_2_0/lib
-L../../libpurple -lglib-2.0 -lgobject-2.0 -lgmodule-2.0 -lintl -lws2_32
-lpurple -Wl,--enable-auto-image-base -o mvscreensaver.dll [[BR]]
C:\cygwin\home\Matt\win32-dev\mingw\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe:
cannot find -lpurple [[BR]]
collect2: ld returned 1 exit status [[BR]]
make: *** [mvscreensaver.dll] Error 1
All that resulted was the file mvscreensaver.dll.o. I got all the
dependencies using the BuildEnvironmentFetcher listed on the wiki, and
when going through it all it seems all my dependencies are up to date.
Here is the include and lib sections of my makefile:
{{{
##
## INCLUDE PATHS
##
INCLUDE_PATHS += \
-I$(GTK_TOP)/include \
-I$(GTK_TOP)/include/glib-2.0 \
-I$(GTK_TOP)/lib/glib-2.0/include \
-I$(PIDGIN_TREE_TOP) \
-I$(PURPLE_TOP) \
-I$(PURPLE_TOP)/win32
LIB_PATHS += -L$(GTK_TOP)/lib \
-L$(PURPLE_TOP)
##
## LIBRARIES
##
LIBS = \
-lglib-2.0 \
-lgobject-2.0 \
-lgmodule-2.0 \
-lintl \
-lws2_32 \
-lpurple
}}}
Any ideas? I appreciate any help you can give (even if it is just to point
me somewhere else to ask)!
Thanks :)
--
Ticket URL: <http://developer.pidgin.im/ticket/5706#comment:4>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list