Package: irssi
Version: 0.8.12-3
Severity: wishlist
Tags: patch

I think the decision to pre-create generated files via debian/rules
"patch" target is flawed: e.g. an irrsi patch extending the perl
interface by patching docs/signals.txt won't work with the debian
package. As stated in the changelog, the idea was to have the diff.gz
only add the debian subdir and not change anything else, which of course
is a good idea. To prevent the generated files from being added to the
diff.gz however, it is much easier and cleaner to remove them in the
debian/rules "clean" target. I'm attaching a patch against the package
to change this.

Regards, Felix

-- 
Felix M. Palmen (Zirias)  \ -PGP- <[EMAIL PROTECTED]>  /"\  ASCII  Ribbon
web: http://zirias.ath.cx/ \ http://zirias.ath.cx/pub.txt  \ /     Campaign
my open source projects:    \ FP ED9B 62D0 BE39 32F9 2488   X  Against HTML In
http://zirias.ath.cx/?pg=pro \   5D0C 8177 9D80 5ECF F683  / \  Mail And News
diff -Nru irssi-0.8.12.orig/debian/patches/00default-config.h irssi-0.8.12/debian/patches/00default-config.h
--- irssi-0.8.12.orig/debian/patches/00default-config.h	2008-04-16 22:49:59.000000000 +0200
+++ irssi-0.8.12/debian/patches/00default-config.h	1970-01-01 01:00:00.000000000 +0100
@@ -1,218 +0,0 @@
-Author: David Pashley <[EMAIL PROTECTED]>	vim:ft=diff:
-Description: none
-
-Index: irssi-0.8.12/default-config.h
-===================================================================
---- /dev/null
-+++ irssi-0.8.12/default-config.h
-@@ -0,0 +1,210 @@
-+const char *default_config =
-+"servers = (\n"
-+"  { address = \"irc.stealth.net\"; chatnet = \"IRCnet\"; port = \"6668\"; },\n"
-+"  { address = \"irc.efnet.org\"; chatnet = \"EFNet\"; port = \"6667\"; },\n"
-+"  { address = \"irc.undernet.org\"; chatnet = \"Undernet\"; port = \"6667\"; },\n"
-+"  { address = \"irc.dal.net\"; chatnet = \"DALnet\"; port = \"6667\"; }, \n"
-+"  { address = \"irc.quakenet.org\"; chatnet = \"QuakeNet\"; port = \"6667\"; },\n"
-+"  { address = \"silc.silcnet.org\"; chatnet = \"SILC\"; port = \"706\"; }\n"
-+");\n"
-+"\n"
-+"chatnets = {\n"
-+"  IRCnet = {\n"
-+"    type = \"IRC\";\n"
-+"    max_kicks = \"4\";\n"
-+"    max_msgs = \"5\";\n"
-+"    max_whois = \"4\";\n"
-+"    max_query_chans = \"5\";\n"
-+"  };\n"
-+"  EFNet = {\n"
-+"    type = \"IRC\";\n"
-+"    max_kicks = \"4\";\n"
-+"    max_msgs = \"3\";\n"
-+"    max_whois = \"1\";\n"
-+"  };\n"
-+"  Undernet = {\n"
-+"    type = \"IRC\";\n"
-+"    max_kicks = \"1\";\n"
-+"    max_msgs = \"3\";\n"
-+"    max_whois = \"30\";\n"
-+"  };\n"
-+"  DALnet = {\n"
-+"    type = \"IRC\";\n"
-+"    max_kicks = \"4\";\n"
-+"    max_msgs = \"3\";\n"
-+"    max_whois = \"30\";\n"
-+"  }; \n"
-+"  QuakeNet = {\n"
-+"    type = \"IRC\";\n"
-+"    max_kicks = \"1\";\n"
-+"    max_msgs = \"3\";\n"
-+"    max_whois = \"30\";\n"
-+"  };\n"
-+"  SILC = { type = \"SILC\"; };\n"
-+"};\n"
-+"\n"
-+"channels = (\n"
-+"  { name = \"#irssi\"; chatnet = \"ircnet\"; autojoin = \"No\"; },\n"
-+"  { name = \"silc\"; chatnet = \"silc\"; autojoin = \"No\"; }\n"
-+");\n"
-+"\n"
-+"aliases = {\n"
-+"  J = \"join\";\n"
-+"  WJOIN = \"join -window\";\n"
-+"  WQUERY = \"query -window\";\n"
-+"  LEAVE = \"part\";\n"
-+"  BYE = \"quit\";\n"
-+"  EXIT = \"quit\";\n"
-+"  SIGNOFF = \"quit\";\n"
-+"  DESCRIBE = \"action\";\n"
-+"  DATE = \"time\";\n"
-+"  HOST = \"userhost\";\n"
-+"  LAST = \"lastlog\";\n"
-+"  SAY = \"msg *\";\n"
-+"  WI = \"whois\";\n"
-+"  WII = \"whois $0 $0\";\n"
-+"  WW = \"whowas\";\n"
-+"  W = \"who\";\n"
-+"  N = \"names\";\n"
-+"  M = \"msg\";\n"
-+"  T = \"topic\";\n"
-+"  C = \"clear\";\n"
-+"  CL = \"clear\";\n"
-+"  K = \"kick\";\n"
-+"  KB = \"kickban\";\n"
-+"  KN = \"knockout\";\n"
-+"  BANS = \"ban\";\n"
-+"  B = \"ban\";\n"
-+"  MUB = \"unban *\";\n"
-+"  UB = \"unban\";\n"
-+"  IG = \"ignore\";\n"
-+"  UNIG = \"unignore\";\n"
-+"  SB = \"scrollback\";\n"
-+"  UMODE = \"mode $N\";\n"
-+"  WC = \"window close\";\n"
-+"  WN = \"window new hide\";\n"
-+"  SV = \"say Irssi $J ($V) - http://irssi.org/\";\n";
-+"  GOTO = \"sb goto\";\n"
-+"  CHAT = \"dcc chat\";\n"
-+"  RUN = \"SCRIPT LOAD\";\n"
-+"  CALC = \"exec - if which bc &>/dev/null\\\\; then echo '$*' | bc | awk '{print \\\"$*=\\\"$$1}'\\\\; else echo bc was not found\\\\; fi\";\n"
-+"  SBAR = \"STATUSBAR\";\n"
-+"  INVITELIST = \"mode $C +I\";\n"
-+"  Q = \"QUERY\";\n"
-+"  \"MANUAL-WINDOWS\" = \"set use_status_window off;set autocreate_windows off;set autocreate_query_level none;set autoclose_windows off;set reuse_unused_windows on;save\";\n"
-+"  EXEMPTLIST = \"mode $C +e\";\n"
-+"  ATAG = \"WINDOW SERVER\";\n"
-+"};\n"
-+"\n"
-+"statusbar = {\n"
-+"  # formats:\n"
-+"  # when using {templates}, the template is shown only if it's argument isn't\n"
-+"  # empty unless no argument is given. for example {sb} is printed always,\n"
-+"  # but {sb $T} is printed only if $T isn't empty.\n"
-+"\n"
-+"  items = {\n"
-+"    # start/end text in statusbars\n"
-+"    barstart = \"{sbstart}\";\n"
-+"    barend = \"{sbend}\";\n"
-+"\n"
-+"    topicbarstart = \"{topicsbstart}\";\n"
-+"    topicbarend = \"{topicsbend}\";\n"
-+"\n"
-+"    # treated \"normally\", you could change the time/user name to whatever\n"
-+"    time = \"{sb $Z}\";\n"
-+"    user = \"{sb {sbnickmode $cumode}$N{sbmode $usermode}{sbaway $A}}\";\n"
-+"\n"
-+"    # treated specially .. window is printed with non-empty windows,\n"
-+"    # window_empty is printed with empty windows\n"
-+"    window = \"{sb $winref:$tag/$itemname{sbmode $M}}\";\n"
-+"    window_empty = \"{sb $winref{sbservertag $tag}}\";\n"
-+"    prompt = \"{prompt $[.15]itemname}\";\n"
-+"    prompt_empty = \"{prompt $winname}\";\n"
-+"    topic = \" $topic\";\n"
-+"    topic_empty = \" Irssi v$J - http://irssi.org/help/\";\n";
-+"\n"
-+"    # all of these treated specially, they're only displayed when needed\n"
-+"    lag = \"{sb Lag: $0-}\";\n"
-+"    act = \"{sb Act: $0-}\";\n"
-+"    more = \"-- more --\";\n"
-+"  };\n"
-+"\n"
-+"  # there's two type of statusbars. root statusbars are either at the top\n"
-+"  # of the screen or at the bottom of the screen. window statusbars are at\n"
-+"  # the top/bottom of each split window in screen.\n"
-+"  default = {\n"
-+"    # the \"default statusbar\" to be displayed at the bottom of the window.\n"
-+"    # contains all the normal items.\n"
-+"    window = {\n"
-+"      disabled = \"no\";\n"
-+"\n"
-+"      # window, root\n"
-+"      type = \"window\";\n"
-+"      # top, bottom\n"
-+"      placement = \"bottom\";\n"
-+"      # number\n"
-+"      position = \"1\";\n"
-+"      # active, inactive, always\n"
-+"      visible = \"active\";\n"
-+"\n"
-+"      # list of items in statusbar in the display order\n"
-+"      items = {\n"
-+"        barstart = { priority = \"100\"; };\n"
-+"        time = { };\n"
-+"        user = { };\n"
-+"        window = { };\n"
-+"        window_empty = { };\n"
-+"        lag = { priority = \"-1\"; };\n"
-+"        act = { priority = \"10\"; };\n"
-+"        more = { priority = \"-1\"; alignment = \"right\"; };\n"
-+"        barend = { priority = \"100\"; alignment = \"right\"; };\n"
-+"      };\n"
-+"    };\n"
-+"\n"
-+"    # statusbar to use in inactive split windows\n"
-+"    window_inact = {\n"
-+"      type = \"window\";\n"
-+"      placement = \"bottom\";\n"
-+"      position = \"1\";\n"
-+"      visible = \"inactive\";\n"
-+"      items = {\n"
-+"        barstart = { priority = \"100\"; };\n"
-+"        window = { };\n"
-+"        window_empty = { };\n"
-+"        more = { priority = \"-1\"; alignment = \"right\"; };\n"
-+"        barend = { priority = \"100\"; alignment = \"right\"; };\n"
-+"      };\n"
-+"    };\n"
-+"\n"
-+"    # we treat input line as yet another statusbar :) It's possible to\n"
-+"    # add other items before or after the input line item.\n"
-+"    prompt = {\n"
-+"      type = \"root\";\n"
-+"      placement = \"bottom\";\n"
-+"      # we want to be at the bottom always\n"
-+"      position = \"100\";\n"
-+"      visible = \"always\";\n"
-+"      items = {\n"
-+"        prompt = { priority = \"-1\"; };\n"
-+"        prompt_empty = { priority = \"-1\"; };\n"
-+"        # treated specially, this is the real input line.\n"
-+"        input = { priority = \"10\"; };\n"
-+"      };\n"
-+"    };\n"
-+"\n"
-+"    # topicbar\n"
-+"    topic = {\n"
-+"      type = \"root\";\n"
-+"      placement = \"top\";\n"
-+"      position = \"1\";\n"
-+"      visible = \"always\";\n"
-+"      items = {\n"
-+"        topicbarstart = { priority = \"100\"; };\n"
-+"        topic = { };\n"
-+"        topic_empty = { };\n"
-+"        topicbarend = { priority = \"100\"; alignment = \"right\"; };\n"
-+"      };\n"
-+"    };\n"
-+"  };\n"
-+"};\n"
-+;
diff -Nru irssi-0.8.12.orig/debian/patches/00default-theme.h irssi-0.8.12/debian/patches/00default-theme.h
--- irssi-0.8.12.orig/debian/patches/00default-theme.h	2008-04-16 22:49:59.000000000 +0200
+++ irssi-0.8.12/debian/patches/00default-theme.h	1970-01-01 01:00:00.000000000 +0100
@@ -1,304 +0,0 @@
-Author: David Pashley <[EMAIL PROTECTED]>	vim:ft=diff:
-Description: none
-
-Index: irssi-0.8.12/default-theme.h
-===================================================================
---- /dev/null
-+++ irssi-0.8.12/default-theme.h
-@@ -0,0 +1,296 @@
-+const char *default_theme =
-+"# When testing changes, the easiest way to reload the theme is with /RELOAD.\n"
-+"# This reloads the configuration file too, so if you did any changes remember\n"
-+"# to /SAVE it first. Remember also that /SAVE overwrites the theme file with\n"
-+"# old data so keep backups :)\n"
-+"\n"
-+"# TEMPLATES:\n"
-+"\n"
-+"# The real text formats that irssi uses are the ones you can find with\n"
-+"# /FORMAT command. Back in the old days all the colors and texts were mixed\n"
-+"# up in those formats, and it was really hard to change the colors since you\n"
-+"# might have had to change them in tens of different places. So, then came\n"
-+"# this templating system.\n"
-+"\n"
-+"# Now the /FORMATs don't have any colors in them, and they also have very\n"
-+"# little other styling. Most of the stuff you need to change is in this\n"
-+"# theme file. If you can't change something here, you can always go back\n"
-+"# to change the /FORMATs directly, they're also saved in these .theme files.\n"
-+"\n"
-+"# So .. the templates. They're those {blahblah} parts you see all over the\n"
-+"# /FORMATs and here. Their usage is simply {name parameter1 parameter2}.\n"
-+"# When irssi sees this kind of text, it goes to find \"name\" from abstracts\n"
-+"# block below and sets \"parameter1\" into $0 and \"parameter2\" into $1 (you\n"
-+"# can have more parameters of course). Templates can have subtemplates.\n"
-+"# Here's a small example:\n"
-+"#   /FORMAT format hello {colorify {underline world}}\n"
-+"#   abstracts = { colorify = \"%G$0-%n\"; underline = \"%U$0-%U\"; }\n"
-+"# When irssi expands the templates in \"format\", the final string would be:\n"
-+"#   hello %G%Uworld%U%n\n"
-+"# ie. underlined bright green \"world\" text.\n"
-+"# and why \"$0-\", why not \"$0\"? $0 would only mean the first parameter,\n"
-+"# $0- means all the parameters. With {underline hello world} you'd really\n"
-+"# want to underline both of the words, not just the hello (and world would\n"
-+"# actually be removed entirely).\n"
-+"\n"
-+"# COLORS:\n"
-+"\n"
-+"# You can find definitions for the color format codes in docs/formats.txt.\n"
-+"\n"
-+"# There's one difference here though. %n format. Normally it means the\n"
-+"# default color of the terminal (white mostly), but here it means the\n"
-+"# \"reset color back to the one it was in higher template\". For example\n"
-+"# if there was /FORMAT test %g{foo}bar, and foo = \"%Y$0%n\", irssi would\n"
-+"# print yellow \"foo\" (as set with %Y) but \"bar\" would be green, which was\n"
-+"# set at the beginning before the {foo} template. If there wasn't the %g\n"
-+"# at start, the normal behaviour of %n would occur. If you _really_ want\n"
-+"# to use the terminal's default color, use %N.\n"
-+"\n"
-+"#############################################################################\n"
-+"\n"
-+"# default foreground color (%N) - -1 is the \"default terminal color\"\n"
-+"default_color = \"-1\";\n"
-+"\n"
-+"# print timestamp/servertag at the end of line, not at beginning\n"
-+"info_eol = \"false\";\n"
-+"\n"
-+"# these characters are automatically replaced with specified color\n"
-+"# (dark grey by default)\n"
-+"replaces = { \"[]=\" = \"%K$*%n\"; };\n"
-+"\n"
-+"abstracts = {\n"
-+"  ##\n"
-+"  ## generic\n"
-+"  ##\n"
-+"\n"
-+"  # text to insert at the beginning of each non-message line\n"
-+"  line_start = \"%B-%W!%B-%n \";\n"
-+"\n"
-+"  # timestamp styling, nothing by default\n"
-+"  timestamp = \"$*\";\n"
-+"\n"
-+"  # any kind of text that needs hilighting, default is to bold\n"
-+"  hilight = \"%_$*%_\";\n"
-+"\n"
-+"  # any kind of error message, default is bright red\n"
-+"  error = \"%R$*%n\";\n"
-+"\n"
-+"  # channel name is printed\n"
-+"  channel = \"%_$*%_\";\n"
-+"\n"
-+"  # nick is printed\n"
-+"  nick = \"%_$*%_\";\n"
-+"\n"
-+"  # nick host is printed\n"
-+"  nickhost = \"[$*]\";\n"
-+"\n"
-+"  # server name is printed\n"
-+"  server = \"%_$*%_\";\n"
-+"\n"
-+"  # some kind of comment is printed\n"
-+"  comment = \"[$*]\";\n"
-+"\n"
-+"  # reason for something is printed (part, quit, kick, ..)\n"
-+"  reason = \"{comment $*}\";\n"
-+"\n"
-+"  # mode change is printed ([+o nick])\n"
-+"  mode = \"{comment $*}\";\n"
-+"\n"
-+"  ##\n"
-+"  ## channel specific messages\n"
-+"  ##\n"
-+"\n"
-+"  # highlighted nick/host is printed (joins)\n"
-+"  channick_hilight = \"%C$*%n\";\n"
-+"  chanhost_hilight = \"{nickhost %c$*%n}\";\n"
-+"\n"
-+"  # nick/host is printed (parts, quits, etc.)\n"
-+"  channick = \"%c$*%n\";\n"
-+"  chanhost = \"{nickhost $*}\";\n"
-+"\n"
-+"  # highlighted channel name is printed\n"
-+"  channelhilight = \"%c$*%n\";\n"
-+"\n"
-+"  # ban/ban exception/invite list mask is printed\n"
-+"  ban = \"%c$*%n\";\n"
-+"\n"
-+"  ##\n"
-+"  ## messages\n"
-+"  ##\n"
-+"\n"
-+"  # the basic styling of how to print message, $0 = nick mode, $1 = nick\n"
-+"  msgnick = \"%K<%n$0$1-%K>%n %|\";\n"
-+"\n"
-+"  # message from you is printed. \"msgownnick\" specifies the styling of the\n"
-+"  # nick ($0 part in msgnick) and \"ownmsgnick\" specifies the styling of the\n"
-+"  # whole line.\n"
-+"\n"
-+"  # Example1: You want the message text to be green:\n"
-+"  #  ownmsgnick = \"{msgnick $0 $1-}%g\";\n"
-+"  # Example2.1: You want < and > chars to be yellow:\n"
-+"  #  ownmsgnick = \"%Y{msgnick $0 $1-%Y}%n\";\n"
-+"  #  (you'll also have to remove <> from replaces list above)\n"
-+"  # Example2.2: But you still want to keep <> grey for other messages:\n"
-+"  #  pubmsgnick = \"%K{msgnick $0 $1-%K}%n\";\n"
-+"  #  pubmsgmenick = \"%K{msgnick $0 $1-%K}%n\";\n"
-+"  #  pubmsghinick = \"%K{msgnick $1 $0$2-%n%K}%n\";\n"
-+"  #  ownprivmsgnick = \"%K{msgnick  $*%K}%n\";\n"
-+"  #  privmsgnick = \"%K{msgnick  %R$*%K}%n\";\n"
-+"\n"
-+"  # $0 = nick mode, $1 = nick\n"
-+"  ownmsgnick = \"{msgnick $0 $1-}\";\n"
-+"  ownnick = \"%W$*%n\";\n"
-+"\n"
-+"  # public message in channel, $0 = nick mode, $1 = nick\n"
-+"  pubmsgnick = \"{msgnick $0 $1-}\";\n"
-+"  pubnick = \"%N$*%n\";\n"
-+"\n"
-+"  # public message in channel meant for me, $0 = nick mode, $1 = nick\n"
-+"  pubmsgmenick = \"{msgnick $0 $1-}\";\n"
-+"  menick = \"%Y$*%n\";\n"
-+"\n"
-+"  # public highlighted message in channel\n"
-+"  # $0 = highlight color, $1 = nick mode, $2 = nick\n"
-+"  pubmsghinick = \"{msgnick $1 $0$2-%n}\";\n"
-+"\n"
-+"  # channel name is printed with message\n"
-+"  msgchannel = \"%K:%c$*%n\";\n"
-+"\n"
-+"  # private message, $0 = nick, $1 = host\n"
-+"  privmsg = \"[%R$0%K(%r$1-%K)%n] \";\n"
-+"\n"
-+"  # private message from you, $0 = \"msg\", $1 = target nick\n"
-+"  ownprivmsg = \"[%r$0%K(%R$1-%K)%n] \";\n"
-+"\n"
-+"  # own private message in query\n"
-+"  ownprivmsgnick = \"{msgnick  $*}\";\n"
-+"  ownprivnick = \"%W$*%n\";\n"
-+"\n"
-+"  # private message in query\n"
-+"  privmsgnick = \"{msgnick  %R$*%n}\";\n"
-+"\n"
-+"  ##\n"
-+"  ## Actions (/ME stuff)\n"
-+"  ##\n"
-+"\n"
-+"  # used internally by this theme\n"
-+"  action_core = \"%W * $*%n\";\n"
-+"\n"
-+"  # generic one that's used by most actions\n"
-+"  action = \"{action_core $*} \";\n"
-+"\n"
-+"  # own action, both private/public\n"
-+"  ownaction = \"{action $*}\";\n"
-+"\n"
-+"  # own action with target, both private/public\n"
-+"  ownaction_target = \"{action_core $0}%K:%c$1%n \";\n"
-+"\n"
-+"  # private action sent by others\n"
-+"  pvtaction = \"%W (*) $*%n \";\n"
-+"  pvtaction_query = \"{action $*}\";\n"
-+"\n"
-+"  # public action sent by others\n"
-+"  pubaction = \"{action $*}\";\n"
-+"\n"
-+"\n"
-+"  ##\n"
-+"  ## other IRC events\n"
-+"  ##\n"
-+"\n"
-+"  # whois\n"
-+"  whois = \"%# $[8]0 : $1-\";\n"
-+"\n"
-+"  # notices\n"
-+"  ownnotice = \"[%r$0%K(%R$1-%K)]%n \";\n"
-+"  notice = \"%K-%M$*%K-%n \";\n"
-+"  pubnotice_channel = \"%K:%m$*\";\n"
-+"  pvtnotice_host = \"%K(%m$*%K)\";\n"
-+"  servernotice = \"%g!$*%n \";\n"
-+"\n"
-+"  # CTCPs\n"
-+"  ownctcp = \"[%r$0%K(%R$1-%K)] \";\n"
-+"  ctcp = \"%g$*%n\";\n"
-+"\n"
-+"  # wallops\n"
-+"  wallop = \"%W$*%n: \";\n"
-+"  wallop_nick = \"%n$*\";\n"
-+"  wallop_action = \"%W * $*%n \";\n"
-+"\n"
-+"  # netsplits\n"
-+"  netsplit = \"%R$*%n\";\n"
-+"  netjoin = \"%C$*%n\";\n"
-+"\n"
-+"  # /names list\n"
-+"  names_prefix = \"\";\n"
-+"  names_nick = \"[%_$0%_$1-] \";\n"
-+"  names_nick_op = \"{names_nick $*}\";\n"
-+"  names_nick_halfop = \"{names_nick $*}\";\n"
-+"  names_nick_voice = \"{names_nick $*}\";\n"
-+"  names_users = \"[%g$*%n]\";\n"
-+"  names_channel = \"%G$*%n\";\n"
-+"\n"
-+"  # DCC\n"
-+"  dcc = \"%g$*%n\";\n"
-+"  dccfile = \"%_$*%_\";\n"
-+"\n"
-+"  # DCC chat, own msg/action\n"
-+"  dccownmsg = \"[%r$0%K($1-%K)%n] \";\n"
-+"  dccownnick = \"%R$*%n\";\n"
-+"  dccownquerynick = \"%W$*%n\";\n"
-+"  dccownaction = \"{action $*}\";\n"
-+"  dccownaction_target = \"{action_core $0}%K:%c$1%n \";\n"
-+"\n"
-+"  # DCC chat, others\n"
-+"  dccmsg = \"[%G$1-%K(%g$0%K)%n] \";\n"
-+"  dccquerynick = \"%G$*%n\";\n"
-+"  dccaction = \"%W (*dcc*) $*%n %|\";\n"
-+"\n"
-+"  ##\n"
-+"  ## statusbar\n"
-+"  ##\n"
-+"\n"
-+"  # default background for all statusbars. You can also give\n"
-+"  # the default foreground color for statusbar items.\n"
-+"  sb_background = \"%4%w\";\n"
-+"\n"
-+"  # default backround for \"default\" statusbar group\n"
-+"  #sb_default_bg = \"%4\";\n"
-+"  # background for prompt / input line\n"
-+"  sb_prompt_bg = \"%n\";\n"
-+"  # background for info statusbar\n"
-+"  sb_info_bg = \"%8\";\n"
-+"  # background for topicbar (same default)\n"
-+"  #sb_topic_bg = \"%4\";\n"
-+"\n"
-+"  # text at the beginning of statusbars. sb-item already puts\n"
-+"  # space there,so we don't use anything by default.\n"
-+"  sbstart = \"\";\n"
-+"  # text at the end of statusbars. Use space so that it's never\n"
-+"  # used for anything.\n"
-+"  sbend = \" \";\n"
-+"\n"
-+"  topicsbstart = \"{sbstart $*}\";\n"
-+"  topicsbend = \"{sbend $*}\";\n"
-+"\n"
-+"  prompt = \"[$*] \";\n"
-+"\n"
-+"  sb = \" %c[%n$*%c]%n\";\n"
-+"  sbmode = \"(%c+%n$*)\";\n"
-+"  sbaway = \" (%GzZzZ%n)\";\n"
-+"  sbservertag = \":$0 (change with ^X)\";\n"
-+"  sbnickmode = \"$0\";\n"
-+"\n"
-+"  # activity in statusbar\n"
-+"\n"
-+"  # ',' separator\n"
-+"  sb_act_sep = \"%c$*\";\n"
-+"  # normal text\n"
-+"  sb_act_text = \"%c$*\";\n"
-+"  # public message\n"
-+"  sb_act_msg = \"%W$*\";\n"
-+"  # hilight\n"
-+"  sb_act_hilight = \"%M$*\";\n"
-+"  # hilight with specified color, $0 = color, $1 = text\n"
-+"  sb_act_hilight_color = \"$0$1-%n\";\n"
-+"};\n"
-+;
diff -Nru irssi-0.8.12.orig/debian/patches/00irssi-core.pl.h irssi-0.8.12/debian/patches/00irssi-core.pl.h
--- irssi-0.8.12.orig/debian/patches/00irssi-core.pl.h	2008-04-16 22:49:59.000000000 +0200
+++ irssi-0.8.12/debian/patches/00irssi-core.pl.h	1970-01-01 01:00:00.000000000 +0100
@@ -1,60 +0,0 @@
-Author: David Pashley <[EMAIL PROTECTED]>	vim:ft=diff:
-Description: none
-
-Index: irssi-0.8.12/src/perl/irssi-core.pl.h
-===================================================================
---- /dev/null
-+++ irssi-0.8.12/src/perl/irssi-core.pl.h
-@@ -0,0 +1,52 @@
-+const char *irssi_core_code =
-+"# NOTE: this is printed through printf()-like function,\n"
-+"# so no extra percent characters.\n"
-+"\n"
-+"# %%d : must be first - 1 if perl libraries are to be linked \n"
-+"#       statically with irssi binary, 0 if not\n"
-+"# %%s : must be second - use Irssi; use Irssi::Irc; etc..\n"
-+"package Irssi::Core;\n"
-+"\n"
-+"use Symbol;\n"
-+"\n"
-+"sub is_static {\n"
-+"  return %d;\n"
-+"}\n"
-+"\n"
-+"sub destroy {\n"
-+"  eval { $_[0]->UNLOAD() if $_[0]->can('UNLOAD'); };\n"
-+"  Symbol::delete_package($_[0]);\n"
-+"}\n"
-+"\n"
-+"sub eval_data {\n"
-+"  my ($data, $id) = @_;\n"
-+"  destroy(\"Irssi::Script::$id\");\n"
-+"\n"
-+"  my $package = \"Irssi::Script::$id\";\n"
-+"  my $eval = qq{package $package; %s sub handler { $data; }};\n"
-+"  {\n"
-+"      # hide our variables within this block\n"
-+"      my ($filename, $package, $data);\n"
-+"      eval $eval;\n"
-+"  }\n"
-+"  die $@ if $@;\n"
-+"\n"
-+"  my $ret;\n"
-+"  eval { $ret = $package->handler; };\n"
-+"  die $@ if $@;\n"
-+"  return $ret;\n"
-+"}\n"
-+"\n"
-+"sub eval_file {\n"
-+"  my ($filename, $id) = @_;\n"
-+"\n"
-+"  local *FH;\n"
-+"  open FH, $filename or die \"File not found: $filename\";\n"
-+"  local($/) = undef;\n"
-+"  my $data = <FH>;\n"
-+"  close FH;\n"
-+"  local($/) = \"\\n\";\n"
-+"\n"
-+"  eval_data($data, $id);\n"
-+"}\n"
-+;
diff -Nru irssi-0.8.12.orig/debian/patches/00perl-signals-list.h irssi-0.8.12/debian/patches/00perl-signals-list.h
--- irssi-0.8.12.orig/debian/patches/00perl-signals-list.h	2008-04-16 22:49:59.000000000 +0200
+++ irssi-0.8.12/debian/patches/00perl-signals-list.h	1970-01-01 01:00:00.000000000 +0100
@@ -1,191 +0,0 @@
-Author: David Pashley <[EMAIL PROTECTED]>	vim:ft=diff:
-Description: none
-
-Index: irssi-0.8.12/src/perl/perl-signals-list.h
-===================================================================
---- /dev/null
-+++ irssi-0.8.12/src/perl/perl-signals-list.h
-@@ -0,0 +1,183 @@
-+static PERL_SIGNAL_ARGS_REC perl_signal_args[] =
-+{
-+    { "gui dialog", { "string", "string", NULL } },
-+    { "send command", { "string", "iobject", "iobject", NULL } },
-+    { "chat protocol created", { "CHAT_PROTOCOL_REC", NULL } },
-+    { "chat protocol updated", { "CHAT_PROTOCOL_REC", NULL } },
-+    { "chat protocol destroyed", { "CHAT_PROTOCOL_REC", NULL } },
-+    { "channel created", { "iobject", "int", NULL } },
-+    { "channel destroyed", { "iobject", NULL } },
-+    { "chatnet created", { "iobject", NULL } },
-+    { "chatnet destroyed", { "iobject", NULL } },
-+    { "commandlist new", { "Irssi::Command", NULL } },
-+    { "commandlist remove", { "Irssi::Command", NULL } },
-+    { "error command", { "int", "string", NULL } },
-+    { "send command", { "string", "iobject", "iobject", NULL } },
-+    { "send text", { "string", "iobject", "iobject", NULL } },
-+    { "command ", { "string", "iobject", "iobject", NULL } },
-+    { "default command", { "string", "iobject", "iobject", NULL } },
-+    { "ignore created", { "Irssi::Ignore", NULL } },
-+    { "ignore destroyed", { "Irssi::Ignore", NULL } },
-+    { "ignore changed", { "Irssi::Ignore", NULL } },
-+    { "log new", { "Irssi::Log", NULL } },
-+    { "log remove", { "Irssi::Log", NULL } },
-+    { "log create failed", { "Irssi::Log", NULL } },
-+    { "log locked", { "Irssi::Log", NULL } },
-+    { "log started", { "Irssi::Log", NULL } },
-+    { "log stopped", { "Irssi::Log", NULL } },
-+    { "log rotated", { "Irssi::Log", NULL } },
-+    { "log written", { "Irssi::Log", "string", NULL } },
-+    { "module loaded", { "Irssi::Module", "MODULE_FILE_REC", NULL } },
-+    { "module unloaded", { "Irssi::Module", "MODULE_FILE_REC", NULL } },
-+    { "module error", { "int", "string", "string", "string", NULL } },
-+    { "nicklist new", { "iobject", "iobject", NULL } },
-+    { "nicklist remove", { "iobject", "iobject", NULL } },
-+    { "nicklist changed", { "iobject", "iobject", "string", NULL } },
-+    { "nicklist host changed", { "iobject", "iobject", NULL } },
-+    { "nicklist gone changed", { "iobject", "iobject", NULL } },
-+    { "nicklist serverop changed", { "iobject", "iobject", NULL } },
-+    { "pidwait", { "int", "int", NULL } },
-+    { "query created", { "iobject", "int", NULL } },
-+    { "query destroyed", { "iobject", NULL } },
-+    { "query nick changed", { "iobject", "string", NULL } },
-+    { "window item name changed", { "iobject", NULL } },
-+    { "query address changed", { "iobject", NULL } },
-+    { "query server changed", { "iobject", "iobject", NULL } },
-+    { "rawlog", { "RAWIrssi::Log", "string", NULL } },
-+    { "server looking", { "iobject", NULL } },
-+    { "server connected", { "iobject", NULL } },
-+    { "server connecting", { "iobject", "ulongptr", NULL } },
-+    { "server connect failed", { "iobject", NULL } },
-+    { "server disconnected", { "iobject", NULL } },
-+    { "server quit", { "iobject", "string", NULL } },
-+    { "server sendmsg", { "iobject", "string", "string", "int", NULL } },
-+    { "setup reread", { "string", NULL } },
-+    { "setup saved", { "string", "int", NULL } },
-+    { "ban type changed", { "string", NULL } },
-+    { "channel joined", { "iobject", NULL } },
-+    { "channel wholist", { "iobject", NULL } },
-+    { "channel sync", { "iobject", NULL } },
-+    { "channel topic changed", { "iobject", NULL } },
-+    { "ctcp msg", { "iobject", "string", "string", "string", "string", NULL } },
-+    { "ctcp msg ", { "iobject", "string", "string", "string", "string", NULL } },
-+    { "default ctcp msg", { "iobject", "string", "string", "string", "string", NULL } },
-+    { "ctcp reply", { "iobject", "string", "string", "string", "string", NULL } },
-+    { "ctcp reply ", { "iobject", "string", "string", "string", "string", NULL } },
-+    { "default ctcp reply", { "iobject", "string", "string", "string", "string", NULL } },
-+    { "ctcp action", { "iobject", "string", "string", "string", "string", NULL } },
-+    { "awaylog show", { "Irssi::Log", "int", "int", NULL } },
-+    { "server nick changed", { "iobject", NULL } },
-+    { "event connected", { "iobject", NULL } },
-+    { "server event", { "iobject", "string", "string", "string", NULL } },
-+    { "event ", { "iobject", "string", "string", "string", NULL } },
-+    { "default event", { "iobject", "string", "string", "string", NULL } },
-+    { "whois default event", { "iobject", "string", "string", "string", NULL } },
-+    { "server incoming", { "iobject", "string", NULL } },
-+    { "redir ", { "iobject", "string", "string", "string", NULL } },
-+    { "server lag", { "iobject", NULL } },
-+    { "server lag disconnect", { "iobject", NULL } },
-+    { "massjoin", { "iobject", "gslist_iobject", NULL } },
-+    { "ban new", { "iobject", "Irssi::Irc::Ban", NULL } },
-+    { "ban remove", { "iobject", "Irssi::Irc::Ban", "string", NULL } },
-+    { "channel mode changed", { "iobject", "string", NULL } },
-+    { "nick mode changed", { "iobject", "iobject", "string", "string", "string", NULL } },
-+    { "user mode changed", { "iobject", "string", NULL } },
-+    { "away mode changed", { "iobject", NULL } },
-+    { "netsplit server new", { "iobject", "NETSPLIT_iobject", NULL } },
-+    { "netsplit server remove", { "iobject", "NETSPLIT_iobject", NULL } },
-+    { "netsplit new", { "Irssi::Irc::Netsplit", NULL } },
-+    { "netsplit remove", { "Irssi::Irc::Netsplit", NULL } },
-+    { "dcc ctcp ", { "string", "siobject", NULL } },
-+    { "default dcc ctcp", { "string", "siobject", NULL } },
-+    { "dcc unknown ctcp", { "string", "string", "string", NULL } },
-+    { "dcc reply ", { "string", "siobject", NULL } },
-+    { "default dcc reply", { "string", "siobject", NULL } },
-+    { "dcc unknown reply", { "string", "string", "string", NULL } },
-+    { "dcc chat message", { "siobject", "string", NULL } },
-+    { "dcc created", { "siobject", NULL } },
-+    { "dcc destroyed", { "siobject", NULL } },
-+    { "dcc connected", { "siobject", NULL } },
-+    { "dcc rejecting", { "siobject", NULL } },
-+    { "dcc closed", { "siobject", NULL } },
-+    { "dcc request", { "siobject", "string", NULL } },
-+    { "dcc request send", { "siobject", NULL } },
-+    { "dcc chat message", { "siobject", "string", NULL } },
-+    { "dcc transfer update", { "siobject", NULL } },
-+    { "dcc get receive", { "siobject", NULL } },
-+    { "dcc error connect", { "siobject", NULL } },
-+    { "dcc error file create", { "siobject", "string", NULL } },
-+    { "dcc error file open", { "string", "string", "int", NULL } },
-+    { "dcc error get not found", { "string", NULL } },
-+    { "dcc error send exists", { "string", "string", NULL } },
-+    { "dcc error unknown type", { "string", NULL } },
-+    { "dcc error close not found", { "string", "string", "string", NULL } },
-+    { "autoignore new", { "iobject", "AUTOIrssi::Ignore", NULL } },
-+    { "autoignore remove", { "iobject", "AUTOIrssi::Ignore", NULL } },
-+    { "flood", { "iobject", "string", "string", "int", "string", NULL } },
-+    { "notifylist new", { "Irssi::Irc::Notifylist", NULL } },
-+    { "notifylist remove", { "Irssi::Irc::Notifylist", NULL } },
-+    { "notifylist joined", { "iobject", "string", "string", "string", "string", "string", NULL } },
-+    { "notifylist away changed", { "iobject", "string", "string", "string", "string", "string", NULL } },
-+    { "notifylist unidle", { "iobject", "string", "string", "string", "string", "string", NULL } },
-+    { "notifylist left", { "iobject", "string", "string", "string", "string", "string", NULL } },
-+    { "proxy client connected", { "CLIENT_REC", NULL } },
-+    { "proxy client disconnected", { "CLIENT_REC", NULL } },
-+    { "gui print text", { "Irssi::UI::Window", "int", "int", "int", "string", "Irssi::UI::TextDest", NULL } },
-+    { "gui print text finished", { "Irssi::UI::Window", NULL } },
-+    { "complete word", { "glistptr_char*", "Irssi::UI::Window", "string", "string", "intptr", NULL } },
-+    { "exec new", { "Irssi::UI::Process", NULL } },
-+    { "exec remove", { "Irssi::UI::Process", "int", NULL } },
-+    { "exec input", { "Irssi::UI::Process", "string", NULL } },
-+    { "message public", { "iobject", "string", "string", "string", "string", NULL } },
-+    { "message private", { "iobject", "string", "string", "string", NULL } },
-+    { "message own_public", { "iobject", "string", "string", NULL } },
-+    { "message own_private", { "iobject", "string", "string", "string", NULL } },
-+    { "message join", { "iobject", "string", "string", "string", NULL } },
-+    { "message part", { "iobject", "string", "string", "string", "string", NULL } },
-+    { "message quit", { "iobject", "string", "string", "string", NULL } },
-+    { "message kick", { "iobject", "string", "string", "string", "string", "string", NULL } },
-+    { "message nick", { "iobject", "string", "string", "string", NULL } },
-+    { "message own_nick", { "iobject", "string", "string", "string", NULL } },
-+    { "message invite", { "iobject", "string", "string", "string", NULL } },
-+    { "message topic", { "iobject", "string", "string", "string", "string", NULL } },
-+    { "keyinfo created", { "Irssi::UI::Keyinfo", NULL } },
-+    { "keyinfo destroyed", { "Irssi::UI::Keyinfo", NULL } },
-+    { "print text", { "Irssi::UI::TextDest", "string", "string", NULL } },
-+    { "theme created", { "Irssi::UI::Theme", NULL } },
-+    { "theme destroyed", { "Irssi::UI::Theme", NULL } },
-+    { "window hilight", { "Irssi::UI::Window", NULL } },
-+    { "window activity", { "Irssi::UI::Window", "int", NULL } },
-+    { "window item hilight", { "iobject", NULL } },
-+    { "window item activity", { "iobject", "int", NULL } },
-+    { "window item new", { "Irssi::UI::Window", "iobject", NULL } },
-+    { "window item remove", { "Irssi::UI::Window", "iobject", NULL } },
-+    { "window item changed", { "Irssi::UI::Window", "iobject", NULL } },
-+    { "window item server changed", { "Irssi::UI::Window", "iobject", NULL } },
-+    { "window created", { "Irssi::UI::Window", NULL } },
-+    { "window destroyed", { "Irssi::UI::Window", NULL } },
-+    { "window changed", { "Irssi::UI::Window", "Irssi::UI::Window", NULL } },
-+    { "window changed automatic", { "Irssi::UI::Window", NULL } },
-+    { "window server changed", { "Irssi::UI::Window", "iobject", NULL } },
-+    { "window refnum changed", { "Irssi::UI::Window", "int", NULL } },
-+    { "window name changed", { "Irssi::UI::Window", NULL } },
-+    { "window history changed", { "Irssi::UI::Window", "string", NULL } },
-+    { "window level changed", { "Irssi::UI::Window", NULL } },
-+    { "message irc op_public", { "iobject", "string", "string", "string", "string", NULL } },
-+    { "message irc own_wall", { "iobject", "string", "string", NULL } },
-+    { "message irc own_action", { "iobject", "string", "string", NULL } },
-+    { "message irc action", { "iobject", "string", "string", "string", "string", NULL } },
-+    { "message irc own_notice", { "iobject", "string", "string", NULL } },
-+    { "message irc notice", { "iobject", "string", "string", "string", "string", NULL } },
-+    { "message irc own_ctcp", { "iobject", "string", "string", "string", NULL } },
-+    { "message irc ctcp", { "iobject", "string", "string", "string", "string", "string", NULL } },
-+    { "message irc mode", { "iobject", "string", "string", "string", "string", NULL } },
-+    { "message dcc own", { "siobject", "string", NULL } },
-+    { "message dcc own_action", { "siobject", "string", NULL } },
-+    { "message dcc own_ctcp", { "siobject", "string", "string", NULL } },
-+    { "message dcc", { "siobject", "string", NULL } },
-+    { "message dcc action", { "siobject", "string", NULL } },
-+    { "message dcc ctcp", { "siobject", "string", "string", NULL } },
-+    { "gui key pressed", { "int", NULL } },
-+
-+    { NULL }
-+};
diff -Nru irssi-0.8.12.orig/debian/patches/series irssi-0.8.12/debian/patches/series
--- irssi-0.8.12.orig/debian/patches/series	2008-04-16 22:49:59.000000000 +0200
+++ irssi-0.8.12/debian/patches/series	2008-04-16 22:49:07.000000000 +0200
@@ -1,7 +1,3 @@
-00perl-signals-list.h
-00irssi-core.pl.h
-00default-theme.h
-00default-config.h
 01chanmode_expando_strip
 02ctcp_version_reply
 03firsttimer_text
diff -Nru irssi-0.8.12.orig/debian/rules irssi-0.8.12/debian/rules
--- irssi-0.8.12.orig/debian/rules	2008-04-16 22:49:59.000000000 +0200
+++ irssi-0.8.12/debian/rules	2008-04-15 13:23:51.000000000 +0200
@@ -54,7 +54,15 @@
 	# Add here commands to clean up after the build process.
 	[ ! -f Makefile ] || $(MAKE) distclean
 
-	rm -f src/perl/common/Makefile.old src/perl/irc/Makefile.old src/perl/textui/Makefile.old src/perl/ui/Makefile.old
+	rm -f \
+		src/perl/common/Makefile.old \
+		src/perl/irc/Makefile.old \
+		src/perl/textui/Makefile.old \
+		src/perl/ui/Makefile.old \
+		src/perl/perl-signals-list.h \
+		src/perl/irssi-core.pl.h \
+		default-config.h \
+		default-theme.h
 
 	dh_clean 
 

Reply via email to