Changes in / [3d952b5:f1cf01c]
- Files:
-
- 21 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
r3d952b5 rf1cf01c 27 27 subdirobjs = $(foreach dir,$(subdirs),$(dir)/$(dir).o) 28 28 29 all: $(OUTFILE) $(OTR_PI) $(SKYPE_PI)systemd29 all: $(OUTFILE) $(OTR_PI) systemd 30 30 $(MAKE) -C doc 31 ifdef SKYPE_PI32 $(MAKE) -C protocols/skype doc33 endif34 31 35 32 uninstall: uninstall-bin uninstall-doc … … 74 71 install-doc: 75 72 $(MAKE) -C doc install 76 ifdef SKYPE_PI77 $(MAKE) -C protocols/skype install-doc78 endif79 73 80 74 uninstall-doc: 81 75 $(MAKE) -C doc uninstall 82 ifdef SKYPE_PI83 $(MAKE) -C protocols/skype uninstall-doc84 endif85 76 86 77 install-bin: … … 118 109 install -m 0755 otr.so $(DESTDIR)$(PLUGINDIR) 119 110 endif 120 ifdef SKYPE_PI121 mkdir -p $(DESTDIR)$(PLUGINDIR)122 install -m 0755 skype.so $(DESTDIR)$(PLUGINDIR)123 mkdir -p $(DESTDIR)$(ETCDIR)/../skyped124 install -m 0644 $(SRCDIR)protocols/skype/skyped.cnf $(DESTDIR)$(ETCDIR)/../skyped/skyped.cnf125 install -m 0644 $(SRCDIR)protocols/skype/skyped.conf $(DESTDIR)$(ETCDIR)/../skyped/skyped.conf126 install -m 0755 $(SRCDIR)protocols/skype/skyped.py $(DESTDIR)$(BINDIR)/skyped127 endif128 111 129 112 systemd: … … 158 141 @$(CC) $(CFLAGS) $(OTRFLAGS) -fPIC -shared $(LDFLAGS) $< -o $@ 159 142 160 $(SKYPE_PI): $(SRCDIR)protocols/skype/skype.c161 @echo '*' Building plugin skype162 @$(CC) $(CFLAGS) -fPIC -shared $< -o $@163 164 143 $(objects): %.o: $(SRCDIR)%.c 165 144 @echo '*' Compiling $< -
configure
r3d952b5 rf1cf01c 36 36 plugins=1 37 37 otr=0 38 skype=039 38 40 39 events=glib … … 84 83 --otr=0/1/auto/plugin 85 84 Disable/enable OTR encryption support $otr 86 --skype=0/1/plugin87 Disable/enable Skype support $skype88 85 89 86 --events=... Event handler (glib, libevent) $events … … 112 109 ipcsocket=`eval echo "$ipcsocket" | sed 's/\/\{1,\}/\//g'` 113 110 pcdir=`eval echo "$pcdir" | sed 's/\/\{1,\}/\//g'` 114 115 protocols_mods=""116 111 117 112 cat<<EOF>Makefile.settings … … 543 538 fi 544 539 545 if [ "$skype" = "1" -o "$skype" = "plugin" ]; then546 echo 'SKYPE_PI=skype.so' >> Makefile.settings547 protocols_mods="$protocol_mods skype(plugin)"548 fi549 550 540 if [ ! -e doc/user-guide/help.txt ] && ! type xmlto > /dev/null 2> /dev/null; then 551 541 echo … … 761 751 762 752 if [ -n "$protocols" ]; then 763 echo ' Building with these protocols:' $protocols $protocols_mods753 echo ' Building with these protocols:' $protocols 764 754 case "$protocols" in 765 755 *purple*) -
lib/misc.c
r3d952b5 rf1cf01c 400 400 cd = g_iconv_open( to_cs, from_cs ); 401 401 if( cd == (GIConv) -1 ) 402 return -1;402 return( -1 ); 403 403 404 404 inbytesleft = size ? size : strlen( src ); … … 408 408 g_iconv_close( cd ); 409 409 410 if( res != 0)411 return -1;410 if( res == (size_t) -1 ) 411 return( -1 ); 412 412 else 413 return outbuf - dst;413 return( outbuf - dst ); 414 414 } 415 415 -
lib/proxy.c
r3d952b5 rf1cf01c 85 85 closesocket(source); 86 86 dup2(new_fd, source); 87 closesocket(new_fd);88 87 phb->inpa = b_input_add(source, B_EV_IO_WRITE, gaim_io_connected, phb); 89 88 return FALSE;
Note: See TracChangeset
for help on using the changeset viewer.