Changes in / [3d952b5:f1cf01c]


Ignore:
Files:
21 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r3d952b5 rf1cf01c  
    2727subdirobjs = $(foreach dir,$(subdirs),$(dir)/$(dir).o)
    2828
    29 all: $(OUTFILE) $(OTR_PI) $(SKYPE_PI) systemd
     29all: $(OUTFILE) $(OTR_PI) systemd
    3030        $(MAKE) -C doc
    31 ifdef SKYPE_PI
    32         $(MAKE) -C protocols/skype doc
    33 endif
    3431
    3532uninstall: uninstall-bin uninstall-doc
     
    7471install-doc:
    7572        $(MAKE) -C doc install
    76 ifdef SKYPE_PI
    77         $(MAKE) -C protocols/skype install-doc
    78 endif
    7973
    8074uninstall-doc:
    8175        $(MAKE) -C doc uninstall
    82 ifdef SKYPE_PI
    83         $(MAKE) -C protocols/skype uninstall-doc
    84 endif
    8576
    8677install-bin:
     
    118109        install -m 0755 otr.so $(DESTDIR)$(PLUGINDIR)
    119110endif
    120 ifdef SKYPE_PI
    121         mkdir -p $(DESTDIR)$(PLUGINDIR)
    122         install -m 0755 skype.so $(DESTDIR)$(PLUGINDIR)
    123         mkdir -p $(DESTDIR)$(ETCDIR)/../skyped
    124         install -m 0644 $(SRCDIR)protocols/skype/skyped.cnf $(DESTDIR)$(ETCDIR)/../skyped/skyped.cnf
    125         install -m 0644 $(SRCDIR)protocols/skype/skyped.conf $(DESTDIR)$(ETCDIR)/../skyped/skyped.conf
    126         install -m 0755 $(SRCDIR)protocols/skype/skyped.py $(DESTDIR)$(BINDIR)/skyped
    127 endif
    128111
    129112systemd:
     
    158141        @$(CC) $(CFLAGS) $(OTRFLAGS) -fPIC -shared $(LDFLAGS) $< -o $@
    159142
    160 $(SKYPE_PI): $(SRCDIR)protocols/skype/skype.c
    161         @echo '*' Building plugin skype
    162         @$(CC) $(CFLAGS) -fPIC -shared $< -o $@
    163 
    164143$(objects): %.o: $(SRCDIR)%.c
    165144        @echo '*' Compiling $<
  • configure

    r3d952b5 rf1cf01c  
    3636plugins=1
    3737otr=0
    38 skype=0
    3938
    4039events=glib
     
    8483--otr=0/1/auto/plugin
    8584                Disable/enable OTR encryption support   $otr
    86 --skype=0/1/plugin
    87                 Disable/enable Skype support            $skype
    8885
    8986--events=...    Event handler (glib, libevent)          $events
     
    112109ipcsocket=`eval echo "$ipcsocket" | sed 's/\/\{1,\}/\//g'`
    113110pcdir=`eval echo "$pcdir" | sed 's/\/\{1,\}/\//g'`
    114 
    115 protocols_mods=""
    116111
    117112cat<<EOF>Makefile.settings
     
    543538fi
    544539
    545 if [ "$skype" = "1" -o "$skype" = "plugin" ]; then
    546         echo 'SKYPE_PI=skype.so' >> Makefile.settings
    547         protocols_mods="$protocol_mods skype(plugin)"
    548 fi
    549 
    550540if [ ! -e doc/user-guide/help.txt ] && ! type xmlto > /dev/null 2> /dev/null; then
    551541        echo
     
    761751
    762752if [ -n "$protocols" ]; then
    763         echo '  Building with these protocols:' $protocols$protocols_mods
     753        echo '  Building with these protocols:' $protocols
    764754        case "$protocols" in
    765755        *purple*)
  • lib/misc.c

    r3d952b5 rf1cf01c  
    400400        cd = g_iconv_open( to_cs, from_cs );
    401401        if( cd == (GIConv) -1 )
    402                 return -1;
     402                return( -1 );
    403403       
    404404        inbytesleft = size ? size : strlen( src );
     
    408408        g_iconv_close( cd );
    409409       
    410         if( res != 0 )
    411                 return -1;
     410        if( res == (size_t) -1 )
     411                return( -1 );
    412412        else
    413                 return outbuf - dst;
     413                return( outbuf - dst );
    414414}
    415415
  • lib/proxy.c

    r3d952b5 rf1cf01c  
    8585                                closesocket(source);
    8686                                dup2(new_fd, source);
    87                                 closesocket(new_fd);
    8887                                phb->inpa = b_input_add(source, B_EV_IO_WRITE, gaim_io_connected, phb);
    8988                                return FALSE;
Note: See TracChangeset for help on using the changeset viewer.