summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2009-07-07 10:53:46 +0000
committerJay Freeman <saurik@saurik.com>2009-07-07 10:53:46 +0000
commit6cb4d46de4c28fb0c75279e807b10241781f5ff9 (patch)
tree10c230890b1a1672f63dcbb88536f71cd36a23f6
parent89173808ba701ce78288c7316d65048388710580 (diff)
Upgraded Aptitude for 3.x.
git-svn-id: http://svn.telesphoreo.org/trunk@631 514c082c-b64e-11dc-b46d-3d985efe055d
l---------data/aptitude/_metadata/apt.dep1
l---------data/aptitude/_metadata/apt7-lib.dep1
l---------data/aptitude/_metadata/cwidget.dep1
-rw-r--r--data/aptitude/_metadata/version2
-rw-r--r--data/aptitude/aptitude_0.4.11.11.orig.tar.gzbin0 -> 6162554 bytes
-rw-r--r--data/aptitude/aptitude_0.4.4.orig.tar.gzbin5281245 -> 0 bytes
-rw-r--r--data/aptitude/build.diff12
-rw-r--r--data/aptitude/intl.diff12
-rw-r--r--data/aptitude/make.sh4
-rw-r--r--data/aptitude/namespace.diff22
-rw-r--r--data/aptitude/port.diff22
-rw-r--r--data/aptitude/xopen.diff25
-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
-rw-r--r--data/libsigc++/_metadata/version2
-rw-r--r--data/libsigc++/libsigc++-2.0.18.tar.bz2bin1842485 -> 0 bytes
-rw-r--r--data/libsigc++/libsigc++-2.2.3.tar.bz2bin0 -> 4507948 bytes
-rw-r--r--data/libsigc++/make.sh2
30 files changed, 77 insertions, 71 deletions
diff --git a/data/aptitude/_metadata/apt.dep b/data/aptitude/_metadata/apt.dep
deleted file mode 120000
index e81d03f68..000000000
--- a/data/aptitude/_metadata/apt.dep
+++ /dev/null
@@ -1 +0,0 @@
-../../apt \ No newline at end of file
diff --git a/data/aptitude/_metadata/apt7-lib.dep b/data/aptitude/_metadata/apt7-lib.dep
new file mode 120000
index 000000000..78dc2609b
--- /dev/null
+++ b/data/aptitude/_metadata/apt7-lib.dep
@@ -0,0 +1 @@
+../../apt7-lib \ No newline at end of file
diff --git a/data/aptitude/_metadata/cwidget.dep b/data/aptitude/_metadata/cwidget.dep
new file mode 120000
index 000000000..1374c550c
--- /dev/null
+++ b/data/aptitude/_metadata/cwidget.dep
@@ -0,0 +1 @@
+../../cwidget \ No newline at end of file
diff --git a/data/aptitude/_metadata/version b/data/aptitude/_metadata/version
index 6f2743d65..94404405e 100644
--- a/data/aptitude/_metadata/version
+++ b/data/aptitude/_metadata/version
@@ -1 +1 @@
-0.4.4
+0.4.11.11
diff --git a/data/aptitude/aptitude_0.4.11.11.orig.tar.gz b/data/aptitude/aptitude_0.4.11.11.orig.tar.gz
new file mode 100644
index 000000000..054f18be8
--- /dev/null
+++ b/data/aptitude/aptitude_0.4.11.11.orig.tar.gz
Binary files differ
diff --git a/data/aptitude/aptitude_0.4.4.orig.tar.gz b/data/aptitude/aptitude_0.4.4.orig.tar.gz
deleted file mode 100644
index 694922b95..000000000
--- a/data/aptitude/aptitude_0.4.4.orig.tar.gz
+++ /dev/null
Binary files differ
diff --git a/data/aptitude/build.diff b/data/aptitude/build.diff
index a3f9c70c6..14709ad9e 100644
--- a/data/aptitude/build.diff
+++ b/data/aptitude/build.diff
@@ -1,12 +1,12 @@
-diff -ru aptitude-0.4.4.orig/Makefile.in aptitude-0.4.4.orig+iPhone/Makefile.in
---- aptitude-0.4.4.orig/Makefile.in 2006-10-27 04:28:52.000000000 +0000
-+++ aptitude-0.4.4.orig+iPhone/Makefile.in 2008-05-13 09:41:03.000000000 +0000
-@@ -209,7 +209,7 @@
+diff -ru aptitude_0.4.11.11.orig/Makefile.in aptitude_0.4.11.11.orig+iPhone/Makefile.in
+--- aptitude_0.4.11.11.orig/Makefile.in 2008-11-20 03:17:12.000000000 +0000
++++ aptitude_0.4.11.11.orig+iPhone/Makefile.in 2009-07-07 07:15:39.000000000 +0000
+@@ -215,7 +215,7 @@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.h.in
-SUBDIRS = $(SRCDIRS) $(DOCDIRS) m4 po tests
+SUBDIRS = $(SRCDIRS) m4
+ dist_bin_SCRIPTS = aptitude-create-state-bundle aptitude-run-state-bundle
MANPAGE_LOCALES = gl it pl
- TLMANPAGES = $(wildcard aptitude.??.8)
- TLHELPTXTS = help.txt $(wildcard help-??.txt) $(wildcard help-??_??.txt)
+ TLMANPAGES = $(wildcard $(srcdir)/aptitude.??.8)
diff --git a/data/aptitude/intl.diff b/data/aptitude/intl.diff
index 396733112..39fe13323 100644
--- a/data/aptitude/intl.diff
+++ b/data/aptitude/intl.diff
@@ -34,15 +34,3 @@ diff -ru aptitude-0.4.4.orig/src/Makefile.in aptitude-0.4.4.orig+iPhone/src/Make
mostlyclean-compile:
-rm -f *.$(OBJEXT)
-diff -ru aptitude-0.4.4.orig/src/vscreen/Makefile.in aptitude-0.4.4.orig+iPhone/src/vscreen/Makefile.in
---- aptitude-0.4.4.orig/src/vscreen/Makefile.in 2006-10-27 04:28:52.000000000 +0000
-+++ aptitude-0.4.4.orig+iPhone/src/vscreen/Makefile.in 2008-05-13 09:32:48.000000000 +0000
-@@ -346,7 +346,7 @@
- -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
- testvscreen$(EXEEXT): $(testvscreen_OBJECTS) $(testvscreen_DEPENDENCIES)
- @rm -f testvscreen$(EXEEXT)
-- $(CXXLINK) $(testvscreen_LDFLAGS) $(testvscreen_OBJECTS) $(testvscreen_LDADD) $(LIBS)
-+ $(CXXLINK) $(testvscreen_LDFLAGS) $(testvscreen_OBJECTS) $(testvscreen_LDADD) $(LIBS) $(INTLLIBS) -liconv
-
- mostlyclean-compile:
- -rm -f *.$(OBJEXT)
diff --git a/data/aptitude/make.sh b/data/aptitude/make.sh
index cf75e194d..2c972ac89 100644
--- a/data/aptitude/make.sh
+++ b/data/aptitude/make.sh
@@ -1,6 +1,6 @@
shopt -s extglob
pkg:setup
pkg:configure
-make
+pkg:make
pkg:install
-rm -f "${PKG_DEST}"/usr/share/aptitude/!(aptitude-defaults)
+rm -f "${PKG_DEST}"/usr/share/aptitude/!(aptitude-defaults|section-descriptions) #function_groups|function_pkgs
diff --git a/data/aptitude/namespace.diff b/data/aptitude/namespace.diff
new file mode 100644
index 000000000..3cc16639e
--- /dev/null
+++ b/data/aptitude/namespace.diff
@@ -0,0 +1,22 @@
+diff -ru aptitude_0.4.11.11.orig/src/generic/apt/matchers.cc aptitude_0.4.11.11.orig+iPhone/src/generic/apt/matchers.cc
+--- aptitude_0.4.11.11.orig/src/generic/apt/matchers.cc 2008-11-20 03:17:12.000000000 +0000
++++ aptitude_0.4.11.11.orig+iPhone/src/generic/apt/matchers.cc 2009-07-07 09:48:40.000000000 +0000
+@@ -4289,6 +4289,9 @@
+ return real_matcher->get_match(pkg, cache, records, stack);
+ }
+
++namespace
++{
++
+ class pkg_const_matcher : public pkg_matcher_real
+ {
+ pkgCache::PkgIterator match_pkg;
+@@ -4333,6 +4336,8 @@
+ }
+ };
+
++}
++
+ pkg_matcher *make_const_matcher(const pkgCache::PkgIterator &pkg)
+ {
+ return new pkg_const_matcher(pkg);
diff --git a/data/aptitude/port.diff b/data/aptitude/port.diff
index 1918b001a..839865d67 100644
--- a/data/aptitude/port.diff
+++ b/data/aptitude/port.diff
@@ -1,14 +1,3 @@
-diff -ru aptitude-0.4.4.orig/src/generic/util/eassert.cc aptitude-0.4.4.orig+iPhone/src/generic/util/eassert.cc
---- aptitude-0.4.4.orig/src/generic/util/eassert.cc 2006-10-27 04:26:08.000000000 +0000
-+++ aptitude-0.4.4.orig+iPhone/src/generic/util/eassert.cc 2008-05-13 09:07:58.000000000 +0000
-@@ -31,6 +31,6 @@
-
- std::string AssertionFailure::errmsg() const
- {
-- return ssprintf("%s:%d: %s: Assertion \"%s\" failed.",
-+ return ssprintf("%s:%ld: %s: Assertion \"%s\" failed.",
- file.c_str(), line, func.c_str(), exp.c_str());
- }
diff -ru aptitude-0.4.4.orig/src/generic/util/util.cc aptitude-0.4.4.orig+iPhone/src/generic/util/util.cc
--- aptitude-0.4.4.orig/src/generic/util/util.cc 2006-10-27 04:26:08.000000000 +0000
+++ aptitude-0.4.4.orig+iPhone/src/generic/util/util.cc 2008-05-13 09:08:45.000000000 +0000
@@ -24,14 +13,3 @@ diff -ru aptitude-0.4.4.orig/src/generic/util/util.cc aptitude-0.4.4.orig+iPhone
{
delete[] buf;
-diff -ru aptitude-0.4.4.orig/src/vscreen/transcode.cc aptitude-0.4.4.orig+iPhone/src/vscreen/transcode.cc
---- aptitude-0.4.4.orig/src/vscreen/transcode.cc 2006-10-27 04:26:08.000000000 +0000
-+++ aptitude-0.4.4.orig+iPhone/src/vscreen/transcode.cc 2008-05-13 09:30:43.000000000 +0000
-@@ -22,6 +22,7 @@
- #include <generic/util/eassert.h>
- #include <errno.h>
- #include <iconv.h>
-+#include <langinfo.h>
-
- using namespace std;
-
diff --git a/data/aptitude/xopen.diff b/data/aptitude/xopen.diff
deleted file mode 100644
index b43bf14b1..000000000
--- a/data/aptitude/xopen.diff
+++ /dev/null
@@ -1,25 +0,0 @@
-diff -ru aptitude-0.4.4.orig/src/vscreen/config/style.h aptitude-0.4.4.orig+iPhone/src/vscreen/config/style.h
---- aptitude-0.4.4.orig/src/vscreen/config/style.h 2006-10-27 04:26:08.000000000 +0000
-+++ aptitude-0.4.4.orig+iPhone/src/vscreen/config/style.h 2008-05-13 09:17:57.000000000 +0000
-@@ -20,8 +20,6 @@
- #ifndef STYLE_H
- #define STYLE_H
-
--#include <ncursesw/curses.h>
--
- #include <vscreen/curses++.h>
-
- #include <string>
-diff -ru aptitude-0.4.4.orig/src/vscreen/curses++.h aptitude-0.4.4.orig+iPhone/src/vscreen/curses++.h
---- aptitude-0.4.4.orig/src/vscreen/curses++.h 2006-10-27 04:26:08.000000000 +0000
-+++ aptitude-0.4.4.orig+iPhone/src/vscreen/curses++.h 2008-05-13 09:17:43.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 --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>
diff --git a/data/libsigc++/_metadata/version b/data/libsigc++/_metadata/version
index c945ef144..585940699 100644
--- a/data/libsigc++/_metadata/version
+++ b/data/libsigc++/_metadata/version
@@ -1 +1 @@
-2.0.18
+2.2.3
diff --git a/data/libsigc++/libsigc++-2.0.18.tar.bz2 b/data/libsigc++/libsigc++-2.0.18.tar.bz2
deleted file mode 100644
index bb5f0b90d..000000000
--- a/data/libsigc++/libsigc++-2.0.18.tar.bz2
+++ /dev/null
Binary files differ
diff --git a/data/libsigc++/libsigc++-2.2.3.tar.bz2 b/data/libsigc++/libsigc++-2.2.3.tar.bz2
new file mode 100644
index 000000000..3acedf14e
--- /dev/null
+++ b/data/libsigc++/libsigc++-2.2.3.tar.bz2
Binary files differ
diff --git a/data/libsigc++/make.sh b/data/libsigc++/make.sh
index 452a4bfd5..b78ddd2d2 100644
--- a/data/libsigc++/make.sh
+++ b/data/libsigc++/make.sh
@@ -1,4 +1,4 @@
pkg:setup
pkg:configure
-make
+pkg:make
pkg:install