summaryrefslogtreecommitdiff
path: root/data/cwidget
diff options
context:
space:
mode:
Diffstat (limited to 'data/cwidget')
-rw-r--r--data/cwidget/_metadata/description1
l---------data/cwidget/_metadata/libsigc++.dep1
l---------data/cwidget/_metadata/license1
l---------data/cwidget/_metadata/maintainer1
l---------data/cwidget/_metadata/ncurses.dep1
-rw-r--r--data/cwidget/_metadata/ncurses.ver.darwin-arm1
-rw-r--r--data/cwidget/_metadata/priority1
-rw-r--r--data/cwidget/_metadata/role1
-rw-r--r--data/cwidget/_metadata/section1
-rw-r--r--data/cwidget/_metadata/tags1
-rw-r--r--data/cwidget/_metadata/version1
-rw-r--r--data/cwidget/cwidget-0.5.8.tar.gzbin0 -> 571292 bytes
-rw-r--r--data/cwidget/make.sh5
-rw-r--r--data/cwidget/xopen.diff26
14 files changed, 42 insertions, 0 deletions
diff --git a/data/cwidget/_metadata/description b/data/cwidget/_metadata/description
new file mode 100644
index 000000000..3b02efe81
--- /dev/null
+++ b/data/cwidget/_metadata/description
@@ -0,0 +1 @@
+C++ library for ncurses (terminal) UIs
diff --git a/data/cwidget/_metadata/libsigc++.dep b/data/cwidget/_metadata/libsigc++.dep
new file mode 120000
index 000000000..ae3968723
--- /dev/null
+++ b/data/cwidget/_metadata/libsigc++.dep
@@ -0,0 +1 @@
+../../libsigc++ \ No newline at end of file
diff --git a/data/cwidget/_metadata/license b/data/cwidget/_metadata/license
new file mode 120000
index 000000000..9c13a9a0f
--- /dev/null
+++ b/data/cwidget/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/gpl-2 \ No newline at end of file
diff --git a/data/cwidget/_metadata/maintainer b/data/cwidget/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/cwidget/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/cwidget/_metadata/ncurses.dep b/data/cwidget/_metadata/ncurses.dep
new file mode 120000
index 000000000..a395fad08
--- /dev/null
+++ b/data/cwidget/_metadata/ncurses.dep
@@ -0,0 +1 @@
+../../ncurses \ No newline at end of file
diff --git a/data/cwidget/_metadata/ncurses.ver.darwin-arm b/data/cwidget/_metadata/ncurses.ver.darwin-arm
new file mode 100644
index 000000000..ec7d5a80a
--- /dev/null
+++ b/data/cwidget/_metadata/ncurses.ver.darwin-arm
@@ -0,0 +1 @@
+5.6-9
diff --git a/data/cwidget/_metadata/priority b/data/cwidget/_metadata/priority
new file mode 100644
index 000000000..134d9bc32
--- /dev/null
+++ b/data/cwidget/_metadata/priority
@@ -0,0 +1 @@
+optional
diff --git a/data/cwidget/_metadata/role b/data/cwidget/_metadata/role
new file mode 100644
index 000000000..8d0320866
--- /dev/null
+++ b/data/cwidget/_metadata/role
@@ -0,0 +1 @@
+developer
diff --git a/data/cwidget/_metadata/section b/data/cwidget/_metadata/section
new file mode 100644
index 000000000..e0eb96881
--- /dev/null
+++ b/data/cwidget/_metadata/section
@@ -0,0 +1 @@
+Development
diff --git a/data/cwidget/_metadata/tags b/data/cwidget/_metadata/tags
new file mode 100644
index 000000000..a8928cec8
--- /dev/null
+++ b/data/cwidget/_metadata/tags
@@ -0,0 +1 @@
+purpose::library
diff --git a/data/cwidget/_metadata/version b/data/cwidget/_metadata/version
new file mode 100644
index 000000000..659914ae9
--- /dev/null
+++ b/data/cwidget/_metadata/version
@@ -0,0 +1 @@
+0.5.8
diff --git a/data/cwidget/cwidget-0.5.8.tar.gz b/data/cwidget/cwidget-0.5.8.tar.gz
new file mode 100644
index 000000000..8ef70af3d
--- /dev/null
+++ b/data/cwidget/cwidget-0.5.8.tar.gz
Binary files differ
diff --git a/data/cwidget/make.sh b/data/cwidget/make.sh
new file mode 100644
index 000000000..01abde691
--- /dev/null
+++ b/data/cwidget/make.sh
@@ -0,0 +1,5 @@
+pkg:setup
+pkg:configure
+pkg:make
+pkg:install
+pkg: cp -a cwidget-config.h /usr/include/
diff --git a/data/cwidget/xopen.diff b/data/cwidget/xopen.diff
new file mode 100644
index 000000000..d657f7698
--- /dev/null
+++ b/data/cwidget/xopen.diff
@@ -0,0 +1,26 @@
+diff -ru cwidget-0.5.8/src/cwidget/curses++.h cwidget-0.5.8+iPhone/src/cwidget/curses++.h
+--- cwidget-0.5.8/src/cwidget/curses++.h 2008-01-20 17:37:06.000000000 +0000
++++ cwidget-0.5.8+iPhone/src/cwidget/curses++.h 2009-07-07 07:28:31.000000000 +0000
+@@ -22,6 +22,9 @@
+ #ifndef CURSES_PLUSPLUS_H
+ #define CURSES_PLUSPLUS_H
+
++#define _XOPEN_SOURCE
++#define _XOPEN_SOURCE_EXTENDED 1
++
+ #include <string>
+ #include <ncursesw/curses.h>
+
+diff -ru cwidget-0.5.8/src/cwidget/style.h cwidget-0.5.8+iPhone/src/cwidget/style.h
+--- cwidget-0.5.8/src/cwidget/style.h 2008-01-20 17:37:06.000000000 +0000
++++ cwidget-0.5.8+iPhone/src/cwidget/style.h 2009-07-07 07:28:42.000000000 +0000
+@@ -20,6 +20,9 @@
+ #ifndef STYLE_H
+ #define STYLE_H
+
++#define _XOPEN_SOURCE
++#define _XOPEN_SOURCE_EXTENDED 1
++
+ #include <ncursesw/curses.h>
+
+ #include <cwidget/curses++.h>