[SM-Commit] GIT changes to master grimoire by Quentin Rameau (b78f3e6333931d2b72bf08018c19bf3dc4a048bb)

Quentin Rameau scm at sourcemage.org
Thu Mar 18 21:20:44 EDT 2010


GIT changes to master grimoire by Quentin Rameau <quinq at sourcemage.org>:

 chat-irc/minbif/BUILD                         |    4 ++
 chat-irc/minbif/DEPENDS                       |   16 ++++++++
 chat-irc/minbif/DETAILS                       |   52 ++++++++++++++++++++++++++
 chat-irc/minbif/HISTORY                       |    5 ++
 chat-irc/minbif/PREPARE                       |    5 ++
 chat-irc/minbif/PRE_BUILD                     |    7 +++
 chat-irc/minbif/PRE_SUB_DEPENDS               |    4 ++
 chat-irc/minbif/SUB_DEPENDS                   |    4 ++
 chat-irc/minbif/minbif-1.0.1_ga_message.patch |   12 ++++++
 9 files changed, 109 insertions(+)

New commits:
commit fe92b761dbf667b7a767ea2baf6fed139afedf50
Author: Quentin Rameau <quinq at sourcemage.org>
Commit: Quentin Rameau <quinq at sourcemage.org>

    chat-irc/minbif: new spell IRC → IM gateway like bitlbee

diff --git a/chat-irc/minbif/BUILD b/chat-irc/minbif/BUILD
new file mode 100755
index 0000000..fbb778f
--- /dev/null
+++ b/chat-irc/minbif/BUILD
@@ -0,0 +1,4 @@
+make PREFIX="${INSTALL_ROOT}/usr" \
+     MAN_PREFIX="${INSTALL_ROOT}/usr/share/man" \
+     CONF_PREFIX="${INSTALL_ROOT}/etc" \
+     ${OPTS}
diff --git a/chat-irc/minbif/DEPENDS b/chat-irc/minbif/DEPENDS
new file mode 100755
index 0000000..7ed5903
--- /dev/null
+++ b/chat-irc/minbif/DEPENDS
@@ -0,0 +1,16 @@
+if [[ ${MINBIF_SCM} == "y" ]]
+then
+  depends git
+fi &&
+depends cmake &&
+depends pidgin &&
+
+optional_depends libcaca   "ENABLE_CACA=ON"  "ENABLE_CACA=OFF"  "Use libcaca features to display icons?" &&
+optional_depends gstreamer "ENABLE_VIDEO=ON" "ENABLE_VIDEO=OFF" "Enable the video viewer?"
+if is_depends_enabled $SPELL gstreamer; then
+ depends -sub LIBCACA $SPELL
+ depends farsight2
+fi &&
+optional_depends libxml2   "ENABLE_PLUGIN=ON" "ENABLE_PLUGIN=OFF" "Compile libpurple's plugins?"
+optional_depends linux-pam "ENABLE_PAM=ON"    "ENABLE_PAM=OFF"    "Compile with PAM support?"
+suggest_depends netkit-inetd "" "" "To run mindbif through inetd"
diff --git a/chat-irc/minbif/DETAILS b/chat-irc/minbif/DETAILS
new file mode 100755
index 0000000..fb7e52f
--- /dev/null
+++ b/chat-irc/minbif/DETAILS
@@ -0,0 +1,52 @@
+           SPELL=minbif
+if [[ "${MINBIF_SCM}" == "y" ]]
+then
+         VERSION=scm
+          SOURCE=${SPELL}-${VERSION}.tar.bz2
+   SOURCE_URL[0]=git://git.symlink.me/pub/romain/minbif.git:${SOURCE%.tar.bz2}
+  FORCE_DOWNLOAD=on
+   SOURCE_IGNORE=volatile
+else
+         VERSION=1.0.1
+          SOURCE=${SPELL}-${VERSION}.tar.gz
+   SOURCE_URL[0]=http://symlink.me/attachments/download/39/${SOURCE}
+     SOURCE_HASH=sha512:b07adca80c3205a64785284840d193f478d64c83a03a65bb8ba425fdcd3cb0aabfdad4419fe423eb5733ee025876897d23b31174da9cf2094e84e27bcfd296fd
+fi
+SOURCE_DIRECTORY=${BUILD_DIRECTORY}/${SOURCE%.tar.*}
+        WEB_SITE=http://minbif.im
+         ENTERED=20100318
+      LICENSE[0]=GPL
+           SHORT="IRC-friendly instant messaging client"
+cat << EOF
+Minbif aims to use the libpurple library from the Pidgin project to provide an
+IRC-friendly instant messaging client.
+
+Minbif is an IRC gateway to IM networks which provides the following features:
+
+  - Minbif uses a library which abstracts all IM calls, and has several plugins
+      to support more than 15 IM protocols (IRC included!);
+  - Two modes: inetd and daemon fork;
+  - Only IRC commands are used to control Minbif;
+  - IM Certificates check;
+  - Buddies are IRC users;
+  - Each account has a status channel. You see in all connected buddies, and
+      their status on it;
+  - Add and remove buddies from list with /INVITE and /KICK commands;
+  - Blocked users are bans on the account's status channel;
+  - Display when a buddy is typing a message;
+  - Can chat with someone who is not in your buddy list;
+  - You can see buddies' icons (with libcaca) or download them;
+  - DCC SEND an image to set your icon on IM networks;
+  - Display extended information about buddies with /WII command;
+  - Support away messages;
+  - Can send and receive files, which are sent or received to/from your IRC
+      client with DCC SEND;
+  - Conversation channels are supported;
+  - Auto-rejoin conversation channels at connection;
+  - Display list of channels on an IM account with /LIST;
+  - irssi scripts to increase your user experience of minbif;
+  - CACAcam (webcam in ascii art).
+  - CoinCoin plugin for libpurple.
+  - PAM support
+  - TLS support with certificate auth (released soon)
+EOF
diff --git a/chat-irc/minbif/HISTORY b/chat-irc/minbif/HISTORY
new file mode 100644
index 0000000..8e3b6d7
--- /dev/null
+++ b/chat-irc/minbif/HISTORY
@@ -0,0 +1,5 @@
+2010-03-19 Quentin Rameau <quinq at sourcemage.org>
+	* PREPARE, DETAILS, DEPENDS, SUB_DEPENDS, PRE_BUILD, BUILD,
+	  HISTORY, PRE_SUB_DEPENDS, REPAIR^ALL^PRE_SUB_DEPENDS,
+	  minbif-1.0.1_ga_message.patch: spell created
+
diff --git a/chat-irc/minbif/PREPARE b/chat-irc/minbif/PREPARE
new file mode 100755
index 0000000..350389e
--- /dev/null
+++ b/chat-irc/minbif/PREPARE
@@ -0,0 +1,5 @@
+config_query MINBIF_SCM "Build SCM (git) version?" n &&
+if [[ "${MINBIF_SCM}" == "y" ]]
+then
+  config_query MINBIF_SCM_AUTOUPDATE "Update on every system update?" n
+fi
diff --git a/chat-irc/minbif/PRE_BUILD b/chat-irc/minbif/PRE_BUILD
new file mode 100755
index 0000000..7bf1365
--- /dev/null
+++ b/chat-irc/minbif/PRE_BUILD
@@ -0,0 +1,7 @@
+default_pre_build &&
+cd ${SOURCE_DIRECTORY} &&
+sedit 's/CMAKE_BUILD_TYPE=Debug/CMAKE_BUILD_TYPE=Release/' Makefile &&
+if [[ "${VERSION}" == "1.0.1" ]]
+then
+	patch -p 1 < ${SPELL_DIRECTORY}/minbif-1.0.1_ga_message.patch
+fi
diff --git a/chat-irc/minbif/PRE_SUB_DEPENDS b/chat-irc/minbif/PRE_SUB_DEPENDS
new file mode 100755
index 0000000..b2a9f7d
--- /dev/null
+++ b/chat-irc/minbif/PRE_SUB_DEPENDS
@@ -0,0 +1,4 @@
+case $THIS_SUB_DEPENDS in
+  LIBCACA) is_depends_enabled $SPELL libcaca && return 0;;
+esac
+return 1
diff --git a/chat-irc/minbif/REPAIR^ALL^PRE_SUB_DEPENDS b/chat-irc/minbif/REPAIR^ALL^PRE_SUB_DEPENDS
new file mode 100755
index 0000000..e69de29
diff --git a/chat-irc/minbif/SUB_DEPENDS b/chat-irc/minbif/SUB_DEPENDS
new file mode 100755
index 0000000..f44dc3f
--- /dev/null
+++ b/chat-irc/minbif/SUB_DEPENDS
@@ -0,0 +1,4 @@
+case $THIS_SUB_DEPENDS in
+  LIBCACA) depends libcaca;;
+  *)       echo unknown sub-depends: $SPELL $THIS_SUB_DEPENDS !; return 1 ;;
+esac
diff --git a/chat-irc/minbif/minbif-1.0.1_ga_message.patch b/chat-irc/minbif/minbif-1.0.1_ga_message.patch
new file mode 100644
index 0000000..f76883a
--- /dev/null
+++ b/chat-irc/minbif/minbif-1.0.1_ga_message.patch
@@ -0,0 +1,12 @@
+diff -Naur minbif-1.0.1.orig/plugins/gayattitude/ga_message.c minbif-1.0.1/plugins/gayattitude/ga_message.c
+--- minbif-1.0.1.orig/plugins/gayattitude/ga_message.c	2010-01-16 19:52:51.000000000 +0100
++++ minbif-1.0.1/plugins/gayattitude/ga_message.c	2010-03-18 18:23:06.439911513 +0100
+@@ -208,7 +208,7 @@
+ 			message_content = g_parsing_quick_xpath_node_content(xpathCtx, "./td[4]/a", NULL, message_node);
+ 
+ 			/* check if ID is valid */
+-			guint64 message_id;
++			guint64 message_id = 0;
+ 			if (message_idstr)
+ 			{
+ 				if (g_str_has_prefix(message_idstr, "msg"))



More information about the SM-Commit mailing list