summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/weechat_/_metadata/author1
-rw-r--r--data/weechat_/_metadata/description1
l---------data/weechat_/_metadata/gettext.dep1
-rw-r--r--data/weechat_/_metadata/homepage1
l---------data/weechat_/_metadata/license1
l---------data/weechat_/_metadata/maintainer1
-rw-r--r--data/weechat_/_metadata/name1
l---------data/weechat_/_metadata/ncurses.dep1
-rw-r--r--data/weechat_/_metadata/priority1
l---------data/weechat_/_metadata/python.dep1
-rw-r--r--data/weechat_/_metadata/section1
-rw-r--r--data/weechat_/_metadata/tags1
-rw-r--r--data/weechat_/_metadata/version1
-rw-r--r--data/weechat_/iconv.diff32
-rw-r--r--data/weechat_/m4.diff12
-rw-r--r--data/weechat_/make.sh5
-rw-r--r--data/weechat_/strndup.diff33
-rw-r--r--data/weechat_/weechat-0.2.6.tar.gzbin0 -> 1615289 bytes
18 files changed, 95 insertions, 0 deletions
diff --git a/data/weechat_/_metadata/author b/data/weechat_/_metadata/author
new file mode 100644
index 000000000..ff2b9d3bf
--- /dev/null
+++ b/data/weechat_/_metadata/author
@@ -0,0 +1 @@
+FlashCode <flashcode@flashtux.org>
diff --git a/data/weechat_/_metadata/description b/data/weechat_/_metadata/description
new file mode 100644
index 000000000..b4f999c28
--- /dev/null
+++ b/data/weechat_/_metadata/description
@@ -0,0 +1 @@
+light and extensible irc client
diff --git a/data/weechat_/_metadata/gettext.dep b/data/weechat_/_metadata/gettext.dep
new file mode 120000
index 000000000..e8dbd8996
--- /dev/null
+++ b/data/weechat_/_metadata/gettext.dep
@@ -0,0 +1 @@
+../../gettext \ No newline at end of file
diff --git a/data/weechat_/_metadata/homepage b/data/weechat_/_metadata/homepage
new file mode 100644
index 000000000..4044b0ddc
--- /dev/null
+++ b/data/weechat_/_metadata/homepage
@@ -0,0 +1 @@
+http://weechat.flashtux.org/
diff --git a/data/weechat_/_metadata/license b/data/weechat_/_metadata/license
new file mode 120000
index 000000000..af4224931
--- /dev/null
+++ b/data/weechat_/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/gpl-3 \ No newline at end of file
diff --git a/data/weechat_/_metadata/maintainer b/data/weechat_/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/weechat_/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/weechat_/_metadata/name b/data/weechat_/_metadata/name
new file mode 100644
index 000000000..6fb6d6fef
--- /dev/null
+++ b/data/weechat_/_metadata/name
@@ -0,0 +1 @@
+WeeChat
diff --git a/data/weechat_/_metadata/ncurses.dep b/data/weechat_/_metadata/ncurses.dep
new file mode 120000
index 000000000..a395fad08
--- /dev/null
+++ b/data/weechat_/_metadata/ncurses.dep
@@ -0,0 +1 @@
+../../ncurses \ No newline at end of file
diff --git a/data/weechat_/_metadata/priority b/data/weechat_/_metadata/priority
new file mode 100644
index 000000000..134d9bc32
--- /dev/null
+++ b/data/weechat_/_metadata/priority
@@ -0,0 +1 @@
+optional
diff --git a/data/weechat_/_metadata/python.dep b/data/weechat_/_metadata/python.dep
new file mode 120000
index 000000000..62afec14c
--- /dev/null
+++ b/data/weechat_/_metadata/python.dep
@@ -0,0 +1 @@
+../../python \ No newline at end of file
diff --git a/data/weechat_/_metadata/section b/data/weechat_/_metadata/section
new file mode 100644
index 000000000..8708e4b54
--- /dev/null
+++ b/data/weechat_/_metadata/section
@@ -0,0 +1 @@
+Networking
diff --git a/data/weechat_/_metadata/tags b/data/weechat_/_metadata/tags
new file mode 100644
index 000000000..ad5d50831
--- /dev/null
+++ b/data/weechat_/_metadata/tags
@@ -0,0 +1 @@
+purpose::console
diff --git a/data/weechat_/_metadata/version b/data/weechat_/_metadata/version
new file mode 100644
index 000000000..53a75d673
--- /dev/null
+++ b/data/weechat_/_metadata/version
@@ -0,0 +1 @@
+0.2.6
diff --git a/data/weechat_/iconv.diff b/data/weechat_/iconv.diff
new file mode 100644
index 000000000..b08894b16
--- /dev/null
+++ b/data/weechat_/iconv.diff
@@ -0,0 +1,32 @@
+diff -ru weechat-0.2.6/configure.in weechat-0.2.6+iPhone/configure.in
+--- weechat-0.2.6/configure.in 2007-09-05 14:14:00.000000000 +0000
++++ weechat-0.2.6+iPhone/configure.in 2008-07-31 02:49:39.000000000 +0000
+@@ -210,15 +210,7 @@
+ LIBS="$LIBS $ICONV_LFLAGS"
+ fi
+ AC_MSG_CHECKING(for iconv usability in programs)
+- AC_TRY_RUN([
+- #include <iconv.h>
+- int main(int argc, char **argv) {
+- iconv_t conv = iconv_open("ISO8859-1", "UTF-8");
+- if (conv != (iconv_t) -1) {
+- return 0;
+- }
+- return 1;
+- }],iconv_found="yes")
++ iconv_found="yes"
+ if test "x$iconv_found" = "xno" ; then
+ AC_MSG_RESULT(no)
+ else
+diff -ru weechat-0.2.6/src/common/util.h weechat-0.2.6+iPhone/src/common/util.h
+--- weechat-0.2.6/src/common/util.h 2007-07-11 11:21:02.000000000 +0000
++++ weechat-0.2.6+iPhone/src/common/util.h 2008-07-31 03:29:37.000000000 +0000
+@@ -28,7 +28,7 @@
+ extern int ascii_strcasecmp (char *, char *);
+ extern int ascii_strncasecmp (char *, char *, int);
+ extern char *ascii_strcasestr (char *, char *);
+-extern char *weechat_iconv (char *, char *, char *);
++extern char *weechat_iconv (int, char *, char *, char *);
+ extern char *weechat_iconv_to_internal (char *, char *);
+ extern char *weechat_iconv_from_internal (char *, char *);
+ extern void weechat_iconv_fprintf (FILE *, char *, ...);
diff --git a/data/weechat_/m4.diff b/data/weechat_/m4.diff
new file mode 100644
index 000000000..4e6a7361a
--- /dev/null
+++ b/data/weechat_/m4.diff
@@ -0,0 +1,12 @@
+diff -r -u weechat-0.2.6/Makefile.in weechat-0.2.6+iPhone/Makefile.in
+--- weechat-0.2.6/Makefile.in 2007-09-05 14:16:27.000000000 +0000
++++ weechat-0.2.6+iPhone/Makefile.in 2008-07-31 03:03:29.000000000 +0000
+@@ -276,7 +276,7 @@
+ debian/weechat-curses.menu debian/NEWS debian/weechat.xpm \
+ weechat.spec weechat_icon_32.png
+
+-ACLOCAL_AMFLAGS = -I m4
++ACLOCAL_AMFLAGS =
+ all: config.h
+ $(MAKE) $(AM_MAKEFLAGS) all-recursive
+
diff --git a/data/weechat_/make.sh b/data/weechat_/make.sh
new file mode 100644
index 000000000..0ac03a457
--- /dev/null
+++ b/data/weechat_/make.sh
@@ -0,0 +1,5 @@
+pkg:setup
+autoconf
+pkg:configure --with-libiconv-prefix="${PKG_ROOT}" --disable-gnutls --disable-python --disable-ruby
+make
+pkg:install
diff --git a/data/weechat_/strndup.diff b/data/weechat_/strndup.diff
new file mode 100644
index 000000000..a472caf53
--- /dev/null
+++ b/data/weechat_/strndup.diff
@@ -0,0 +1,33 @@
+diff -ru weechat-0.2.6/src/common/util.c weechat-0.2.6+iPhone/src/common/util.c
+--- weechat-0.2.6/src/common/util.c 2007-08-31 13:24:45.000000000 +0000
++++ weechat-0.2.6+iPhone/src/common/util.c 2008-07-31 03:29:17.000000000 +0000
+@@ -43,6 +43,7 @@
+
+ #include "weechat.h"
+ #include "utf8.h"
++#include "util.h"
+ #include "weeconfig.h"
+
+
+@@ -52,7 +53,7 @@
+
+ #ifndef HAVE_STRNDUP
+ char *
+-strndup (char *string, int length)
++strndup (const char *string, size_t length)
+ {
+ char *result;
+
+diff -ru weechat-0.2.6/src/common/util.h weechat-0.2.6+iPhone/src/common/util.h
+--- weechat-0.2.6/src/common/util.h 2007-07-11 11:21:02.000000000 +0000
++++ weechat-0.2.6+iPhone/src/common/util.h 2008-07-31 03:28:59.000000000 +0000
+@@ -21,7 +21,8 @@
+ #define __WEECHAT_UTIL_H 1
+
+ #ifndef HAVE_STRNDUP
+-extern char *strndup (char *, int);
++#undef strndup
++extern char *strndup (const char *, size_t);
+ #endif
+ extern void ascii_tolower (char *);
+ extern void ascii_toupper (char *);
diff --git a/data/weechat_/weechat-0.2.6.tar.gz b/data/weechat_/weechat-0.2.6.tar.gz
new file mode 100644
index 000000000..ef4dd4cee
--- /dev/null
+++ b/data/weechat_/weechat-0.2.6.tar.gz
Binary files differ