summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarijn Schouten <hkbst@gentoo.org>2007-07-25 17:36:58 +0000
committerMarijn Schouten <hkbst@gentoo.org>2007-07-25 17:36:58 +0000
commitb8424f4cfd542d0d72d9eb1472c8e6d575b840c7 (patch)
tree27ed52ee230dc8655d1bff4e9cc79a4a73b84e9b /dev-scheme
parentFix URI address bar spoofing issue in 3.5.6 as well. (diff)
downloadhistorical-b8424f4cfd542d0d72d9eb1472c8e6d575b840c7.tar.gz
historical-b8424f4cfd542d0d72d9eb1472c8e6d575b840c7.tar.bz2
historical-b8424f4cfd542d0d72d9eb1472c8e6d575b840c7.zip
add patch to fix bug 186603
Package-Manager: portage-2.1.3_rc9
Diffstat (limited to 'dev-scheme')
-rw-r--r--dev-scheme/drscheme/ChangeLog8
-rw-r--r--dev-scheme/drscheme/Manifest19
-rw-r--r--dev-scheme/drscheme/drscheme-360-r3.ebuild91
-rw-r--r--dev-scheme/drscheme/files/360p1.patch142
-rw-r--r--dev-scheme/drscheme/files/digest-drscheme-360-r33
5 files changed, 258 insertions, 5 deletions
diff --git a/dev-scheme/drscheme/ChangeLog b/dev-scheme/drscheme/ChangeLog
index d45b631d21d1..15e030aa1b7e 100644
--- a/dev-scheme/drscheme/ChangeLog
+++ b/dev-scheme/drscheme/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-scheme/drscheme
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/drscheme/ChangeLog,v 1.50 2007/07/25 17:14:02 hkbst Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/drscheme/ChangeLog,v 1.51 2007/07/25 17:36:58 hkbst Exp $
+
+*drscheme-360-r3 (25 Jul 2007)
+
+ 25 Jul 2007; Marijn Schouten <hkBst@gentoo.org> +files/360p1.patch,
+ +drscheme-360-r3.ebuild:
+ add patch to fix bug 186603
25 Jul 2007; Marijn Schouten <hkBst@gentoo.org> -drscheme-301-r2.ebuild,
-drscheme-352-r2.ebuild:
diff --git a/dev-scheme/drscheme/Manifest b/dev-scheme/drscheme/Manifest
index 6dd3a1c089bf..e79e0940a2ae 100644
--- a/dev-scheme/drscheme/Manifest
+++ b/dev-scheme/drscheme/Manifest
@@ -1,3 +1,7 @@
+AUX 360p1.patch 3844 RMD160 80db29c1f1af6c3254c3672ee10afc4c6b71b10f SHA1 5f855fbc2e1e1b4ac1a85ed7d590daf4b7cd1739 SHA256 83ca690b3f145a63f477c257bcc089b1314e8f5e794afb7fc2bec0eb3d9320a2
+MD5 667812b04f00be127b24e96d3652493d files/360p1.patch 3844
+RMD160 80db29c1f1af6c3254c3672ee10afc4c6b71b10f files/360p1.patch 3844
+SHA256 83ca690b3f145a63f477c257bcc089b1314e8f5e794afb7fc2bec0eb3d9320a2 files/360p1.patch 3844
AUX drscheme-301-fPIC.patch 2802 RMD160 51d04864d5b1127f50ece3a1bb87f14adb1a8fb9 SHA1 48d906483efa841dd2b402ebf7a51098fd51c75d SHA256 e9ddebf2fcd4b1b37209a04d9b4e29799bf70c8cc6732c916be8e323840e9e7a
MD5 4ada17dfe65cb9defc23a29d23eb3c2d files/drscheme-301-fPIC.patch 2802
RMD160 51d04864d5b1127f50ece3a1bb87f14adb1a8fb9 files/drscheme-301-fPIC.patch 2802
@@ -28,14 +32,18 @@ EBUILD drscheme-360-r2.ebuild 2302 RMD160 9957e6bf9e6c9d28863dd4fc5d222c6dd6e7ed
MD5 0266c14a76bb82d93b00d0550b9d431e drscheme-360-r2.ebuild 2302
RMD160 9957e6bf9e6c9d28863dd4fc5d222c6dd6e7ed57 drscheme-360-r2.ebuild 2302
SHA256 659e2ace304b713dded922c0e65ed3d0daf7238ad5a50dd68098f478a0f32c90 drscheme-360-r2.ebuild 2302
+EBUILD drscheme-360-r3.ebuild 2336 RMD160 b9a99b98bcaa5dd41a2bb6b0a7b70091ab34394e SHA1 b33296459b09ef51c4d22aa49de36944dcb0d605 SHA256 e4d7dcbba11f79ad69253915873181e0af115ecf52c3ce7a82490ecee86a11ea
+MD5 05f28336bc372621720e2bb0666af7bf drscheme-360-r3.ebuild 2336
+RMD160 b9a99b98bcaa5dd41a2bb6b0a7b70091ab34394e drscheme-360-r3.ebuild 2336
+SHA256 e4d7dcbba11f79ad69253915873181e0af115ecf52c3ce7a82490ecee86a11ea drscheme-360-r3.ebuild 2336
EBUILD drscheme-370.6_p20070725.ebuild 2242 RMD160 1f22d00a7d2e77809c120ba7923f93362b82b7d9 SHA1 f705931e9a0ecd614a06e4c166b15e4b0fa4a6d7 SHA256 498a68ef11e36113685ec6c8493074e9053806a9e60661684c013b7881a077fd
MD5 ed8da936491e8fd205bcf502938376c0 drscheme-370.6_p20070725.ebuild 2242
RMD160 1f22d00a7d2e77809c120ba7923f93362b82b7d9 drscheme-370.6_p20070725.ebuild 2242
SHA256 498a68ef11e36113685ec6c8493074e9053806a9e60661684c013b7881a077fd drscheme-370.6_p20070725.ebuild 2242
-MISC ChangeLog 10001 RMD160 0785c4716c5a5777447d9f3f4b523468c05d8e27 SHA1 c005f3818f9fb13983543ecb5841d9703bbf0250 SHA256 ff43a01b6f395912b17ea4ab664d0a75c16022b01176422afa31fafb293ebb05
-MD5 32e7cead3b241975a04951c2c5065802 ChangeLog 10001
-RMD160 0785c4716c5a5777447d9f3f4b523468c05d8e27 ChangeLog 10001
-SHA256 ff43a01b6f395912b17ea4ab664d0a75c16022b01176422afa31fafb293ebb05 ChangeLog 10001
+MISC ChangeLog 10161 RMD160 988087192cf583b430d3ab85056443ee8fc97827 SHA1 d521ef4311e581f9659b53d3b63f911ca45ddee8 SHA256 c7b746cc91a65ba4aee9ca133276fb6cb4735e7c3c56c3627d1394c956309309
+MD5 cf8c2f6315e20bc4d62d04756a20741b ChangeLog 10161
+RMD160 988087192cf583b430d3ab85056443ee8fc97827 ChangeLog 10161
+SHA256 c7b746cc91a65ba4aee9ca133276fb6cb4735e7c3c56c3627d1394c956309309 ChangeLog 10161
MISC metadata.xml 599 RMD160 a228df650ca5754ecdc718ce046c3a88c429c65f SHA1 bc80c435999a6d6e26f1a678b4946d7cd1ddd054 SHA256 5e18280a7962fdcc78ca14de2f71c5756f32d8a247e3e4f665282363b133cbbb
MD5 9627f47b321f76eb1dd98334cce6621e metadata.xml 599
RMD160 a228df650ca5754ecdc718ce046c3a88c429c65f metadata.xml 599
@@ -46,6 +54,9 @@ SHA256 3fd8f8a4e4b61de05637b39ef8d6e7f31564cf9c1f0a04cf2f2637f7cb089a65 files/di
MD5 4253bc04f83435329a2dfce659e14cbc files/digest-drscheme-360-r2 247
RMD160 05b648cd1be988209b1c082600ced169393f4547 files/digest-drscheme-360-r2 247
SHA256 3fd8f8a4e4b61de05637b39ef8d6e7f31564cf9c1f0a04cf2f2637f7cb089a65 files/digest-drscheme-360-r2 247
+MD5 4253bc04f83435329a2dfce659e14cbc files/digest-drscheme-360-r3 247
+RMD160 05b648cd1be988209b1c082600ced169393f4547 files/digest-drscheme-360-r3 247
+SHA256 3fd8f8a4e4b61de05637b39ef8d6e7f31564cf9c1f0a04cf2f2637f7cb089a65 files/digest-drscheme-360-r3 247
MD5 53eb7ff418250ee35491e5f7d0c91a07 files/digest-drscheme-370.6_p20070725 253
RMD160 f4d2d767ae13ecbcfb7f9bdfe05893179debeeec files/digest-drscheme-370.6_p20070725 253
SHA256 e2eb1a9475575058d942a72ddda8fe364da66115f7cc5b84cc9c1c077fe79d0a files/digest-drscheme-370.6_p20070725 253
diff --git a/dev-scheme/drscheme/drscheme-360-r3.ebuild b/dev-scheme/drscheme/drscheme-360-r3.ebuild
new file mode 100644
index 000000000000..1e011cfa67d2
--- /dev/null
+++ b/dev-scheme/drscheme/drscheme-360-r3.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/drscheme/drscheme-360-r3.ebuild,v 1.1 2007/07/25 17:36:58 hkbst Exp $
+
+inherit eutils multilib flag-o-matic libtool
+
+DESCRIPTION="DrScheme programming environment. Includes mzscheme."
+HOMEPAGE="http://www.plt-scheme.org/software/drscheme/"
+SRC_URI="http://download.plt-scheme.org/bundles/${PV}/plt/plt-${PV}-src-unix.tgz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="3m backtrace cairo jpeg opengl perl png X"
+
+RDEPEND="X? ( x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libXaw
+ >=x11-libs/libXft-2.1.12
+ media-libs/freetype
+ media-libs/fontconfig )
+ cairo? ( >=x11-libs/cairo-1.2.3 )
+ jpeg? ( media-libs/jpeg )
+ opengl? ( virtual/opengl )
+ png? ( media-libs/libpng )"
+
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/plt-${PV}/src"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}/.."
+
+ epatch "${FILESDIR}/${PN}-350-fPIC.patch"
+ epatch "${FILESDIR}/${P}-DESTDIR-3m.patch"
+ epatch "${FILESDIR}/360p1.patch"
+
+ cd "${S}/mzscheme/gc"
+ elibtoolize
+ cd "${S}"
+
+ # lib dir fixups
+ sed -ie 's:-rpath ${absprefix}/lib:-rpath ${absprefix}/'$(get_libdir)':g' configure
+}
+
+src_compile() {
+ # -O3 seems to cause some miscompiles, this should fix #141925 and #133888
+ replace-flags -O? -O2
+
+ econf $(use_enable X mred) \
+ --enable-shared \
+ --enable-lt=/usr/bin/libtool \
+ $(use_enable backtrace) \
+ $(use_enable cairo) \
+ $(use_enable jpeg libjpeg) \
+ $(use_enable opengl gl) \
+ $(use_enable perl) \
+ $(use_enable png libpng) \
+ || die "econf failed"
+
+ emake || die "emake failed"
+
+ if use 3m; then
+ emake -j1 3m || die "emake 3m failed"
+ fi
+}
+
+src_install() {
+ export MZSCHEME_DYNEXT_LINKER_FLAGS=$(raw-ldflags)
+
+ make DESTDIR="${D}" install || die "make install failed"
+
+ if use 3m; then
+ make DESTDIR="${D}" install-3m || die "make install-m3 failed"
+ fi
+
+ dodoc ${WORKDIR}/plt/{readme.txt,src/README}
+
+ mv -f "${D}"/usr/share/plt/doc/* "${D}/usr/share/doc/${PF}/"
+ rm -rf "${D}/usr/share/plt/doc"
+
+ # needed so online help works
+ keepdir /usr/share/plt
+ dosym "/usr/share/doc/${PF}" "/usr/share/plt/doc"
+
+ if use X; then
+ newicon "${WORKDIR}/plt-${PV}/collects/icons/PLT-206.png" drscheme.png
+ make_desktop_entry drscheme "DrScheme" drscheme.png "Development"
+ fi
+}
diff --git a/dev-scheme/drscheme/files/360p1.patch b/dev-scheme/drscheme/files/360p1.patch
new file mode 100644
index 000000000000..c541e6c05a99
--- /dev/null
+++ b/dev-scheme/drscheme/files/360p1.patch
@@ -0,0 +1,142 @@
+Index: src/mred/mredx.cxx
+===================================================================
+--- src/mred/mredx.cxx (.../v360) (revision 5838)
++++ src/mred/mredx.cxx (.../v360p1) (revision 5838)
+@@ -151,7 +151,43 @@
+
+ static unsigned long lastUngrabTime;
+ static unsigned long lastUnhideTime;
++static int need_unhide = 0;
+
++class Check_Ungrab_Record {
++public:
++ Window window;
++ int x, y, x_root, y_root;
++ Check_Ungrab_Record *next;
++};
++
++static int cur_registered = 0;
++static Check_Ungrab_Record *first_cur = NULL, *last_cur = NULL;
++
++static void CheckUngrab(Display *dpy, Check_Ungrab_Record *cur)
++{
++ Window root;
++ int x, y;
++ unsigned w, h, b, d;
++
++ XGetGeometry(dpy, cur->window,
++ &root, &x, &y, &w, &h,
++ &b, &d);
++ if ((cur->x < 0) || (cur->y < 0)
++ || ((unsigned int)cur->x > w) || ((unsigned int)cur->y > h)) {
++ /* Looks bad, but is it a click in a MrEd window
++ that we could care about? */
++
++ wxWindow *w;
++ w = wxLocationToWindow(cur->x_root, cur->y_root);
++
++ if (w) {
++ /* Looks like we need to ungrab */
++ XUngrabPointer(dpy, 0);
++ XUngrabKeyboard(dpy, 0);
++ }
++ }
++}
++
+ static Bool CheckPred(Display *display, XEvent *e, char *args)
+ {
+ Window window;
+@@ -163,7 +199,7 @@
+ case MotionNotify:
+ if (e->xbutton.time > lastUnhideTime) {
+ lastUnhideTime = e->xbutton.time;
+- wxUnhideAllCursors();
++ need_unhide = 1;
+ }
+ break;
+ default:
+@@ -197,28 +233,22 @@
+ /* lastUngrabTime keeps us from checking the same events
+ over and over again. */
+ if (e->xbutton.time > lastUngrabTime) {
+- Window root;
+- int x, y;
+- unsigned w, h, b, d;
+-
+- XGetGeometry(XtDisplay(widget), e->xbutton.window,
+- &root, &x, &y, &w, &h,
+- &b, &d);
+- if ((e->xbutton.x < 0) || (e->xbutton.y < 0)
+- || ((unsigned int)e->xbutton.x > w) || ((unsigned int)e->xbutton.y > h)) {
+- /* Looks bad, but is it a click in a MrEd window
+- that we could care about? */
+-
+- wxWindow *w;
+- w = wxLocationToWindow(e->xbutton.x_root, e->xbutton.y_root);
+-
+- if (w) {
+- /* Looks like we need to ungrab */
+- XUngrabPointer(XtDisplay(widget), 0);
+- XUngrabKeyboard(XtDisplay(widget), 0);
+- }
++ Check_Ungrab_Record *cur;
++ if (!cur_registered) {
++ wxREGGLOB(first_cur);
++ wxREGGLOB(last_cur);
+ }
+-
++ cur = new WXGC_PTRS Check_Ungrab_Record;
++ cur->window = e->xbutton.window;
++ cur->x = e->xbutton.x;
++ cur->y = e->xbutton.y;
++ cur->x_root = e->xbutton.x_root;
++ cur->y_root = e->xbutton.y_root;
++ if (last_cur)
++ last_cur->next = cur;
++ else
++ first_cur = cur;
++ last_cur = cur;
+ lastUngrabTime = e->xbutton.time;
+ }
+ }
+@@ -339,6 +369,7 @@
+ XEvent *event, MrEdContext **which)
+ {
+ Display *d;
++ int got;
+
+ if (which)
+ *which = NULL;
+@@ -351,7 +382,20 @@
+ else
+ d = XtDisplay(orig_top_level);
+
+- if (XCheckIfEvent(d, event, CheckPred, (char *)which)) {
++ got = XCheckIfEvent(d, event, CheckPred, (char *)which);
++
++ if (need_unhide) {
++ need_unhide = 0;
++ wxUnhideAllCursors();
++ }
++
++ while (first_cur) {
++ CheckUngrab(d, first_cur);
++ first_cur = first_cur->next;
++ }
++ last_cur = NULL;
++
++ if (got) {
+ just_check = 0;
+ return 1;
+ } else if (short_circuit) {
+Index: collects/version/patchlevel.ss
+===================================================================
+--- collects/version/patchlevel.ss (.../v360) (revision 5838)
++++ collects/version/patchlevel.ss (.../v360p1) (revision 5838)
+@@ -1,5 +1,5 @@
+ ;; this file contains the current patch level of DrScheme
+ ;; it is usually `0' in the repository, and changed only when a patch is made.
+ (module patchlevel mzscheme
+- (define patchlevel 0)
++ (define patchlevel 1)
+ (provide patchlevel))
diff --git a/dev-scheme/drscheme/files/digest-drscheme-360-r3 b/dev-scheme/drscheme/files/digest-drscheme-360-r3
new file mode 100644
index 000000000000..d327f48d3562
--- /dev/null
+++ b/dev-scheme/drscheme/files/digest-drscheme-360-r3
@@ -0,0 +1,3 @@
+MD5 84bcab3ff30c333ae3c6b732518bdf27 plt-360-src-unix.tgz 14106005
+RMD160 cbe045f26f429d7df85540f09135c90bde45f84c plt-360-src-unix.tgz 14106005
+SHA256 014cd5c91231a5b6dd67c90ca9d2c26a7466abe0d072a37a40a605b29870f3bd plt-360-src-unix.tgz 14106005