Changeset 18e1f3b


Ignore:
Timestamp:
2012-05-02T07:58:22Z (13 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
25b80e9c
Parents:
d527913
Message:

Set PACKAGE to BitlBee-LIBPURPLE for the libpurple variant, because in many
ways it's not BitlBee and I'm tired of getting libpurple-related bug reports.

Files:
7 edited

Legend:

Unmodified
Added
Removed
  • bitlbee.h

    rd527913 r18e1f3b  
    123123#define DEFAULT_AWAY "Away from computer"
    124124#define CONTROL_TOPIC "Welcome to the control channel. Type \2help\2 for help information."
    125 #define IRCD_INFO "BitlBee <http://www.bitlbee.org/>"
     125#define IRCD_INFO PACKAGE " <http://www.bitlbee.org/>"
    126126
    127127#define MAX_NICK_LENGTH 24
  • configure

    rd527913 r18e1f3b  
    641641        oscar=0
    642642        yahoo=0
     643
     644        echo '#undef PACKAGE' >> config.h
     645        echo '#define PACKAGE "BitlBee-LIBPURPLE"' >> config.h
    643646       
    644647        if [ "$events" = "libevent" ]; then
  • ipc.c

    rd527913 r18e1f3b  
    990990       
    991991        ipc_to_children_str( "HELLO\r\n" );
    992         ipc_to_children_str( "OPERMSG :New BitlBee master process started (version " BITLBEE_VERSION ")\r\n" );
     992        ipc_to_children_str( "OPERMSG :New %s master process started (version %s)\r\n", PACKAGE, BITLBEE_VERSION );
    993993       
    994994        fclose( fp );
  • irc_commands.c

    rd527913 r18e1f3b  
    682682static void irc_cmd_version( irc_t *irc, char **cmd )
    683683{
    684         irc_send_num( irc, 351, "bitlbee-%s. %s :%s/%s ",
    685                       BITLBEE_VERSION, irc->root->host, ARCH, CPU );
     684        irc_send_num( irc, 351, "%s-%s. %s :%s/%s ",
     685                      PACKAGE, BITLBEE_VERSION, irc->root->host, ARCH, CPU );
    686686}
    687687
  • irc_send.c

    rd527913 r18e1f3b  
    4040void irc_send_login( irc_t *irc )
    4141{
    42         irc_send_num( irc,   1, ":Welcome to the BitlBee gateway, %s", irc->user->nick );
    43         irc_send_num( irc,   2, ":Host %s is running BitlBee " BITLBEE_VERSION " " ARCH "/" CPU ".", irc->root->host );
     42        irc_send_num( irc,   1, ":Welcome to the %s gateway, %s", PACKAGE, irc->user->nick );
     43        irc_send_num( irc,   2, ":Host %s is running %s %s %s/%s.", irc->root->host,
     44                                PACKAGE, BITLBEE_VERSION, ARCH, CPU );
    4445        irc_send_num( irc,   3, ":%s", IRCD_INFO );
    4546        irc_send_num( irc,   4, "%s %s %s %s", irc->root->host, BITLBEE_VERSION, UMODES UMODES_PRIV, CMODES );
  • irc_user.c

    rd527913 r18e1f3b  
    233233        {
    234234                irc_send_msg_f( iu, "NOTICE", iu->irc->user->nick, "\001%s %s\001",
    235                                 ctcp[0], "BitlBee " BITLBEE_VERSION " " ARCH "/" CPU );
     235                                ctcp[0], PACKAGE " " BITLBEE_VERSION " " ARCH "/" CPU );
    236236        }
    237237        else if( g_strcasecmp( ctcp[0], "PING" ) == 0 )
  • unix.c

    rd527913 r18e1f3b  
    113113       
    114114                i = bitlbee_inetd_init();
    115                 log_message( LOGLVL_INFO, "BitlBee %s starting in inetd mode.", BITLBEE_VERSION );
     115                log_message( LOGLVL_INFO, "%s %s starting in inetd mode.", PACKAGE, BITLBEE_VERSION );
    116116
    117117        }
     
    122122
    123123                i = bitlbee_daemon_init();
    124                 log_message( LOGLVL_INFO, "BitlBee %s starting in daemon mode.", BITLBEE_VERSION );
     124                log_message( LOGLVL_INFO, "%s %s starting in daemon mode.", PACKAGE, BITLBEE_VERSION );
    125125        }
    126126        else if( global.conf->runmode == RUNMODE_FORKDAEMON )
     
    139139               
    140140                i = bitlbee_daemon_init();
    141                 log_message( LOGLVL_INFO, "BitlBee %s starting in forking daemon mode.", BITLBEE_VERSION );
     141                log_message( LOGLVL_INFO, "%s %s starting in forking daemon mode.", PACKAGE, BITLBEE_VERSION );
    142142        }
    143143        if( i != 0 )
Note: See TracChangeset for help on using the changeset viewer.