summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeri Harris <keri@gentoo.org>2011-08-12 23:12:17 +0000
committerKeri Harris <keri@gentoo.org>2011-08-12 23:12:17 +0000
commit980d5c113d3d18baee5125b1da3a2569ac0bef32 (patch)
tree86d5650b8115b3667512ab605b1ce22e4b2da2ab /dev-lang/mercury-extras
parentCorrection. (diff)
downloadgentoo-2-980d5c113d3d18baee5125b1da3a2569ac0bef32.tar.gz
gentoo-2-980d5c113d3d18baee5125b1da3a2569ac0bef32.tar.bz2
gentoo-2-980d5c113d3d18baee5125b1da3a2569ac0bef32.zip
Remove old versions
(Portage version: 2.1.10.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-lang/mercury-extras')
-rw-r--r--dev-lang/mercury-extras/ChangeLog16
-rw-r--r--dev-lang/mercury-extras/files/mercury-extras-0.13.1-curs.patch600
-rw-r--r--dev-lang/mercury-extras/files/mercury-extras-0.13.1-dynamic_linking.patch11
-rw-r--r--dev-lang/mercury-extras/files/mercury-extras-0.13.1-iodbc.patch50
-rw-r--r--dev-lang/mercury-extras/files/mercury-extras-0.13.1-lex.patch22
-rw-r--r--dev-lang/mercury-extras/files/mercury-extras-0.13.1-mercury_glut.patch24
-rw-r--r--dev-lang/mercury-extras/files/mercury-extras-0.13.1-mercury_opengl.patch92
-rw-r--r--dev-lang/mercury-extras/files/mercury-extras-0.13.1-mercury_tcltk.patch14
-rw-r--r--dev-lang/mercury-extras/files/mercury-extras-0.13.1-odbc.patch41
-rw-r--r--dev-lang/mercury-extras/files/mercury-extras-0.13.1-posix.patch11
-rw-r--r--dev-lang/mercury-extras/mercury-extras-0.13.1-r1.ebuild125
-rw-r--r--dev-lang/mercury-extras/mercury-extras-10.04-r1.ebuild132
-rw-r--r--dev-lang/mercury-extras/mercury-extras-10.04.1.ebuild132
-rw-r--r--dev-lang/mercury-extras/mercury-extras-10.04.ebuild128
-rw-r--r--dev-lang/mercury-extras/mercury-extras-11.01_beta1.ebuild195
15 files changed, 15 insertions, 1578 deletions
diff --git a/dev-lang/mercury-extras/ChangeLog b/dev-lang/mercury-extras/ChangeLog
index 017704faed94..94bc7a5f42a4 100644
--- a/dev-lang/mercury-extras/ChangeLog
+++ b/dev-lang/mercury-extras/ChangeLog
@@ -1,6 +1,20 @@
# ChangeLog for dev-lang/mercury-extras
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/mercury-extras/ChangeLog,v 1.97 2011/08/12 21:37:35 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/mercury-extras/ChangeLog,v 1.98 2011/08/12 23:12:17 keri Exp $
+
+ 12 Aug 2011; <keri@gentoo.org> -mercury-extras-0.13.1-r1.ebuild,
+ -files/mercury-extras-0.13.1-curs.patch,
+ -files/mercury-extras-0.13.1-dynamic_linking.patch,
+ -files/mercury-extras-0.13.1-iodbc.patch,
+ -files/mercury-extras-0.13.1-lex.patch,
+ -files/mercury-extras-0.13.1-mercury_glut.patch,
+ -files/mercury-extras-0.13.1-mercury_opengl.patch,
+ -files/mercury-extras-0.13.1-mercury_tcltk.patch,
+ -files/mercury-extras-0.13.1-odbc.patch,
+ -files/mercury-extras-0.13.1-posix.patch, -mercury-extras-10.04.ebuild,
+ -mercury-extras-10.04-r1.ebuild, -mercury-extras-10.04.1.ebuild,
+ -mercury-extras-11.01_beta1.ebuild:
+ Remove old versions
12 Aug 2011; Kacper Kowalik <xarthisius@gentoo.org>
mercury-extras-0.13.1-r1.ebuild, mercury-extras-10.04.ebuild,
diff --git a/dev-lang/mercury-extras/files/mercury-extras-0.13.1-curs.patch b/dev-lang/mercury-extras/files/mercury-extras-0.13.1-curs.patch
deleted file mode 100644
index ac3d346e8e81..000000000000
--- a/dev-lang/mercury-extras/files/mercury-extras-0.13.1-curs.patch
+++ /dev/null
@@ -1,600 +0,0 @@
-diff -urN mercury-extras-0.13.1.orig/curs/curs.m mercury-extras-0.13.1/curs/curs.m
---- mercury-extras-0.13.1.orig/curs/curs.m 2006-04-21 15:42:46.000000000 +1200
-+++ mercury-extras-0.13.1/curs/curs.m 2006-12-04 21:58:18.000000000 +1300
-@@ -31,6 +31,8 @@
- :- import_module io.
- :- import_module string.
-
-+:- include_module curs__panel.
-+
- %-----------------------------------------------------------------------------%
-
- % Start a curses session (colour, unbuffered input, no echoing,
-@@ -210,90 +212,6 @@
- :- func cyan = colour.
- :- func white = colour.
-
-- %-------------------------------------------------------------------------%
-- %-------------------------------------------------------------------------%
--
-- % Panels are windows over the main display; they may be
-- % stacked, moved, ordered and hidden. Contents of panels
-- % closer to the top of the stack obscure the parts of panels
-- % they overlap that are lower in the stack.
-- %
-- :- module panel.
-- :- interface.
--
-- :- type panel.
--
-- % new(Rows, Cols, Row, Col, Attr, Panel) creates a new panel
-- % Panel whose size is given by (Rows, Cols) and whose position
-- % on the display is given by (Row, Col). The new panel starts
-- % visible and at the top of the stack. The default attributes
-- % for the panel are set to Attr.
-- %
-- :- pred new(int::in, int::in, int::in, int::in, attr::in, panel::out,
-- io::di, io::uo) is det.
--
-- % Destroy a panel.
-- %
-- :- pred delete(panel::in, io::di, io::uo) is det.
--
-- % Raise/lower a panel to the top/bottom of the stack.
-- %
-- :- pred raise(panel::in, io::di, io::uo) is det.
-- :- pred lower(panel::in, io::di, io::uo) is det.
--
-- % Hide/reveal a panel (revealing places it at the top of the stack).
-- %
-- :- pred hide(panel::in, io::di, io::uo) is det.
-- :- pred reveal(panel::in, io::di, io::uo) is det.
--
-- % Move a panel to (Row, Col) on the display.
-- %
-- :- pred relocate(panel::in, int::in, int::in, io::di, io::uo) is det.
--
-- % Clear a panel.
-- %
-- :- pred clear(panel::in, io::di, io::uo) is det.
--
-- % Move the virtual cursor to given row and column; (0, 0) are the
-- % coordinates for the upper left hand corner of the panel.
-- %
-- :- pred move(panel::in, int::in, int::in, io::di, io::uo) is det.
--
-- % Add a char/string to a panel with the given attributes.
-- % Note that char codes are passed rather than plain chars.
-- %
-- :- pred addch(panel::in, attr::in, int::in, io::di, io::uo) is det.
-- :- pred addstr(panel::in, attr::in, string::in, io::di, io::uo) is det.
--
-- % Turn on/off or set attributes that will be applied by default.
-- %
-- :- pred attr_on(panel::in, attr::in, io::di, io::uo) is det.
-- :- pred attr_off(panel::in, attr::in, io::di, io::uo) is det.
-- :- pred attr_set(panel::in, attr::in, io::di, io::uo) is det.
--
-- % Update the display (also calls doupdate).
-- % NOTE: doupdate does not call update_panels.
-- %
-- :- pred update_panels(io::di, io::uo) is det.
--
-- % Draws a border around the inside edge of the display.
-- %
-- :- pred border(panel::in, io::di, io::uo) is det.
--
-- % Draws an horizontal line of length N moving to the right.
-- %
-- :- pred hline(panel::in, int::in, int::in, io::di, io::uo) is det.
--
-- % Draws a vertical line of length N moving down.
-- %
-- :- pred vline(panel::in, int::in, int::in, io::di, io::uo) is det.
--
-- :- end_module panel.
--
-- %-------------------------------------------------------------------------%
-- %-------------------------------------------------------------------------%
--
--%-----------------------------------------------------------------------------%
- %-----------------------------------------------------------------------------%
-
- :- implementation.
-@@ -1044,210 +962,4 @@
- IO = IO0;
- ").
-
-- %-------------------------------------------------------------------------%
-- %-------------------------------------------------------------------------%
--
-- :- module panel.
--
-- :- implementation.
--
-- %-------------------------------------------------------------------------%
--
-- :- pragma foreign_decl("C", "
--
-- #include <ncurses.h>
-- #include <panel.h>
--
-- ").
--
-- :- pragma foreign_type("C", panel, "PANEL *").
--
-- %-------------------------------------------------------------------------%
--
-- :- pragma foreign_proc("C",
-- new(Rows::in, Cols::in, Row::in, Col::in, Attr::in, Panel::out,
-- IO0::di, IO::uo),
-- [will_not_call_mercury, promise_pure],
-- "
-- WINDOW *w = newwin(Rows, Cols, Row, Col);
-- scrollok(w, TRUE);
-- wattrset(w, Attr);
-- wcolor_set(w, Attr, NULL);
-- wclear(w);
-- Panel = new_panel(w);
--
-- IO = IO0;
-- ").
--
-- %-------------------------------------------------------------------------%
--
-- :- pragma foreign_proc("C",
-- delete(Panel::in, IO0::di, IO::uo),
-- [will_not_call_mercury, promise_pure],
-- "
-- delwin(panel_window(Panel));
-- del_panel(Panel);
--
-- IO = IO0;
-- ").
--
-- %-------------------------------------------------------------------------%
--
-- :- pragma foreign_proc("C",
-- raise(Panel::in, IO0::di, IO::uo),
-- [will_not_call_mercury, promise_pure],
-- "
-- top_panel(Panel);
-- IO = IO0;
-- ").
--
-- %-------------------------------------------------------------------------%
--
-- :- pragma foreign_proc("C",
-- lower(Panel::in, IO0::di, IO::uo),
-- [will_not_call_mercury, promise_pure],
-- "
-- bottom_panel(Panel);
-- IO = IO0;
-- ").
--
-- %-------------------------------------------------------------------------%
--
-- :- pragma foreign_proc("C",
-- hide(Panel::in, IO0::di, IO::uo),
-- [will_not_call_mercury, promise_pure],
-- "
-- hide_panel(Panel);
-- IO = IO0;
-- ").
--
-- %-------------------------------------------------------------------------%
--
-- :- pragma foreign_proc("C",
-- reveal(Panel::in, IO0::di, IO::uo),
-- [will_not_call_mercury, promise_pure],
-- "
-- show_panel(Panel);
-- IO = IO0;
-- ").
--
-- %-------------------------------------------------------------------------%
--
-- :- pragma foreign_proc("C",
-- relocate(Panel::in, Row::in, Col::in, IO0::di, IO::uo),
-- [will_not_call_mercury, promise_pure],
-- "
-- move_panel(Panel, Row, Col);
-- IO = IO0;
-- ").
--
-- %-------------------------------------------------------------------------%
--
-- :- pragma foreign_proc("C",
-- clear(Panel::in, IO0::di, IO::uo),
-- [will_not_call_mercury, promise_pure],
-- "
-- wclear(panel_window(Panel));
-- IO = IO0;
-- ").
--
-- %-------------------------------------------------------------------------%
--
-- :- pragma foreign_proc("C",
-- move(Panel::in, Row::in, Col::in, IO0::di, IO::uo),
-- [will_not_call_mercury, promise_pure],
-- "
-- wmove(panel_window(Panel), Row, Col);
-- IO = IO0;
-- ").
--
-- %-------------------------------------------------------------------------%
--
-- :- pragma foreign_proc("C",
-- addch(Panel::in, Attr::in, CharCode::in, IO0::di, IO::uo),
-- [will_not_call_mercury, promise_pure],
-- "
-- waddch(panel_window(Panel), (chtype)Attr | (chtype)CharCode);
-- IO = IO0;
-- ").
--
-- %-------------------------------------------------------------------------%
--
-- addstr(Panel, Attr, Str, !IO) :-
-- string.foldl(
-- ( pred(Char::in, !.IO::di, !:IO::uo) is det :-
-- addch(Panel, Attr, char.to_int(Char), !IO)
-- ),
-- Str, !IO
-- ).
--
-- %-------------------------------------------------------------------------%
--
-- :- pragma foreign_proc("C",
-- attr_on(Panel::in, Attr::in, IO0::di, IO::uo),
-- [will_not_call_mercury, promise_pure],
-- "
-- wattron(panel_window(Panel), Attr);
-- IO = IO0;
-- ").
--
-- :- pragma foreign_proc("C",
-- attr_off(Panel::in, Attr::in, IO0::di, IO::uo),
-- [will_not_call_mercury, promise_pure],
-- "
-- wattroff(panel_window(Panel), Attr);
-- IO = IO0;
-- ").
--
-- :- pragma foreign_proc("C",
-- attr_set(Panel::in, Attr::in, IO0::di, IO::uo),
-- [will_not_call_mercury, promise_pure],
-- "
-- wattrset(panel_window(Panel), Attr);
-- IO = IO0;
-- ").
--
-- %-------------------------------------------------------------------------%
--
-- :- pragma foreign_proc("C",
-- update_panels(IO0::di, IO::uo),
-- [will_not_call_mercury, promise_pure],
-- "
-- update_panels();
-- doupdate();
-- IO = IO0;
-- ").
--
-- %-------------------------------------------------------------------------%
--
-- :- pragma foreign_proc("C",
-- border(Panel::in, IO0::di, IO::uo),
-- [will_not_call_mercury, promise_pure],
-- "
-- wborder(panel_window(Panel), 0, 0, 0, 0, 0, 0, 0, 0);
-- IO = IO0;
-- ").
--
-- :- pragma foreign_proc("C",
-- hline(Panel::in, C::in, N::in, IO0::di, IO::uo),
-- [will_not_call_mercury, promise_pure],
-- "
-- whline(panel_window(Panel), C, N);
-- IO = IO0;
-- ").
--
-- :- pragma foreign_proc("C",
-- vline(Panel::in, C::in, N::in, IO0::di, IO::uo),
-- [will_not_call_mercury, promise_pure],
-- "
-- wvline(panel_window(Panel), C, N);
-- IO = IO0;
-- ").
--
-- %-------------------------------------------------------------------------%
-- :- end_module panel.
-- %-------------------------------------------------------------------------%
-- %-------------------------------------------------------------------------%
--
--%-----------------------------------------------------------------------------%
- %-----------------------------------------------------------------------------%
-diff -urN mercury-extras-0.13.1.orig/curs/curs.panel.m mercury-extras-0.13.1/curs/curs.panel.m
---- mercury-extras-0.13.1.orig/curs/curs.panel.m 1970-01-01 12:00:00.000000000 +1200
-+++ mercury-extras-0.13.1/curs/curs.panel.m 2006-12-04 21:58:18.000000000 +1300
-@@ -0,0 +1,282 @@
-+%-----------------------------------------------------------------------------%
-+% curs.panel.m
-+% Copyright (C) 2001 Ralph Becket <rbeck@microsoft.com>
-+% Thu Jan 11 13:47:25 GMT 2001
-+% vim: ts=4 sw=4 et tw=0 wm=0 ff=unix ft=mercury
-+%
-+% THIS FILE IS HEREBY CONTRIBUTED TO THE MERCURY PROJECT TO
-+% BE RELEASED UNDER WHATEVER LICENCE IS DEEMED APPROPRIATE
-+% BY THE ADMINISTRATORS OF THE MERCURY PROJECT.
-+%
-+% Simplified Mercury interface to the ncurses panel library.
-+%
-+%-----------------------------------------------------------------------------%
-+
-+:- module curs__panel.
-+:- interface.
-+
-+:- type panel.
-+
-+ % new(Rows, Cols, Row, Col, Attr, Panel) creates a new panel
-+ % Panel whose size is given by (Rows, Cols) and whose position
-+ % on the display is given by (Row, Col). The new panel starts
-+ % visible and at the top of the stack. The default attributes
-+ % for the panel are set to Attr.
-+ %
-+:- pred new(int::in, int::in, int::in, int::in, attr::in, panel::out,
-+ io::di, io::uo) is det.
-+
-+ % Destroy a panel.
-+ %
-+:- pred delete(panel::in, io::di, io::uo) is det.
-+
-+ % Raise/lower a panel to the top/bottom of the stack.
-+ %
-+:- pred raise(panel::in, io::di, io::uo) is det.
-+:- pred lower(panel::in, io::di, io::uo) is det.
-+
-+ % Hide/reveal a panel (revealing places it at the top of the stack).
-+ %
-+:- pred hide(panel::in, io::di, io::uo) is det.
-+:- pred reveal(panel::in, io::di, io::uo) is det.
-+
-+ % Move a panel to (Row, Col) on the display.
-+ %
-+:- pred relocate(panel::in, int::in, int::in, io::di, io::uo) is det.
-+
-+ % Clear a panel.
-+ %
-+:- pred clear(panel::in, io::di, io::uo) is det.
-+
-+ % Move the virtual cursor to given row and column; (0, 0) are the
-+ % coordinates for the upper left hand corner of the panel.
-+ %
-+:- pred move(panel::in, int::in, int::in, io::di, io::uo) is det.
-+
-+ % Add a char/string to a panel with the given attributes.
-+ % Note that char codes are passed rather than plain chars.
-+ %
-+:- pred addch(panel::in, attr::in, int::in, io::di, io::uo) is det.
-+:- pred addstr(panel::in, attr::in, string::in, io::di, io::uo) is det.
-+
-+ % Turn on/off or set attributes that will be applied by default.
-+ %
-+:- pred attr_on(panel::in, attr::in, io::di, io::uo) is det.
-+:- pred attr_off(panel::in, attr::in, io::di, io::uo) is det.
-+:- pred attr_set(panel::in, attr::in, io::di, io::uo) is det.
-+
-+ % Update the display (also calls doupdate).
-+ % NOTE: doupdate does not call update_panels.
-+ %
-+:- pred update_panels(io::di, io::uo) is det.
-+
-+ % Draws a border around the inside edge of the display.
-+ %
-+:- pred border(panel::in, io::di, io::uo) is det.
-+
-+ % Draws an horizontal line of length N moving to the right.
-+ %
-+:- pred hline(panel::in, int::in, int::in, io::di, io::uo) is det.
-+
-+ % Draws a vertical line of length N moving down.
-+ %
-+:- pred vline(panel::in, int::in, int::in, io::di, io::uo) is det.
-+
-+%-----------------------------------------------------------------------------%
-+
-+:- implementation.
-+
-+%-------------------------------------------------------------------------%
-+
-+:- pragma foreign_decl("C", "
-+
-+ #include <ncurses.h>
-+ #include <panel.h>
-+
-+").
-+
-+:- pragma foreign_type("C", panel, "PANEL *").
-+
-+%-------------------------------------------------------------------------%
-+
-+:- pragma foreign_proc("C",
-+ new(Rows::in, Cols::in, Row::in, Col::in, Attr::in, Panel::out,
-+ IO0::di, IO::uo),
-+ [will_not_call_mercury, promise_pure],
-+"
-+ WINDOW *w = newwin(Rows, Cols, Row, Col);
-+ scrollok(w, TRUE);
-+ wattrset(w, Attr);
-+ wcolor_set(w, Attr, NULL);
-+ wclear(w);
-+ Panel = new_panel(w);
-+
-+ IO = IO0;
-+").
-+
-+%-------------------------------------------------------------------------%
-+
-+:- pragma foreign_proc("C",
-+ delete(Panel::in, IO0::di, IO::uo),
-+ [will_not_call_mercury, promise_pure],
-+"
-+ delwin(panel_window(Panel));
-+ del_panel(Panel);
-+
-+ IO = IO0;
-+").
-+
-+%-------------------------------------------------------------------------%
-+
-+:- pragma foreign_proc("C",
-+ raise(Panel::in, IO0::di, IO::uo),
-+ [will_not_call_mercury, promise_pure],
-+"
-+ top_panel(Panel);
-+ IO = IO0;
-+").
-+
-+%-------------------------------------------------------------------------%
-+
-+:- pragma foreign_proc("C",
-+ lower(Panel::in, IO0::di, IO::uo),
-+ [will_not_call_mercury, promise_pure],
-+"
-+ bottom_panel(Panel);
-+ IO = IO0;
-+").
-+
-+%-------------------------------------------------------------------------%
-+
-+:- pragma foreign_proc("C",
-+ hide(Panel::in, IO0::di, IO::uo),
-+ [will_not_call_mercury, promise_pure],
-+"
-+ hide_panel(Panel);
-+ IO = IO0;
-+").
-+
-+%-------------------------------------------------------------------------%
-+
-+:- pragma foreign_proc("C",
-+ reveal(Panel::in, IO0::di, IO::uo),
-+ [will_not_call_mercury, promise_pure],
-+"
-+ show_panel(Panel);
-+ IO = IO0;
-+").
-+
-+%-------------------------------------------------------------------------%
-+
-+:- pragma foreign_proc("C",
-+ relocate(Panel::in, Row::in, Col::in, IO0::di, IO::uo),
-+ [will_not_call_mercury, promise_pure],
-+"
-+ move_panel(Panel, Row, Col);
-+ IO = IO0;
-+").
-+
-+%-------------------------------------------------------------------------%
-+
-+:- pragma foreign_proc("C",
-+ clear(Panel::in, IO0::di, IO::uo),
-+ [will_not_call_mercury, promise_pure],
-+"
-+ wclear(panel_window(Panel));
-+ IO = IO0;
-+").
-+
-+%-------------------------------------------------------------------------%
-+
-+:- pragma foreign_proc("C",
-+ move(Panel::in, Row::in, Col::in, IO0::di, IO::uo),
-+ [will_not_call_mercury, promise_pure],
-+"
-+ wmove(panel_window(Panel), Row, Col);
-+ IO = IO0;
-+").
-+
-+%-------------------------------------------------------------------------%
-+
-+:- pragma foreign_proc("C",
-+ addch(Panel::in, Attr::in, CharCode::in, IO0::di, IO::uo),
-+ [will_not_call_mercury, promise_pure],
-+"
-+ waddch(panel_window(Panel), (chtype)Attr | (chtype)CharCode);
-+ IO = IO0;
-+").
-+
-+%-------------------------------------------------------------------------%
-+
-+addstr(Panel, Attr, Str, !IO) :-
-+ string.foldl(
-+ ( pred(Char::in, !.IO::di, !:IO::uo) is det :-
-+ addch(Panel, Attr, char.to_int(Char), !IO)
-+ ),
-+ Str, !IO
-+ ).
-+
-+%-------------------------------------------------------------------------%
-+
-+:- pragma foreign_proc("C",
-+ attr_on(Panel::in, Attr::in, IO0::di, IO::uo),
-+ [will_not_call_mercury, promise_pure],
-+"
-+ wattron(panel_window(Panel), Attr);
-+ IO = IO0;
-+").
-+
-+:- pragma foreign_proc("C",
-+ attr_off(Panel::in, Attr::in, IO0::di, IO::uo),
-+ [will_not_call_mercury, promise_pure],
-+"
-+ wattroff(panel_window(Panel), Attr);
-+ IO = IO0;
-+").
-+
-+:- pragma foreign_proc("C",
-+ attr_set(Panel::in, Attr::in, IO0::di, IO::uo),
-+ [will_not_call_mercury, promise_pure],
-+"
-+ wattrset(panel_window(Panel), Attr);
-+ IO = IO0;
-+").
-+
-+%-------------------------------------------------------------------------%
-+
-+:- pragma foreign_proc("C",
-+ update_panels(IO0::di, IO::uo),
-+ [will_not_call_mercury, promise_pure],
-+"
-+ update_panels();
-+ doupdate();
-+ IO = IO0;
-+").
-+
-+%-------------------------------------------------------------------------%
-+
-+:- pragma foreign_proc("C",
-+ border(Panel::in, IO0::di, IO::uo),
-+ [will_not_call_mercury, promise_pure],
-+"
-+ wborder(panel_window(Panel), 0, 0, 0, 0, 0, 0, 0, 0);
-+ IO = IO0;
-+").
-+
-+:- pragma foreign_proc("C",
-+ hline(Panel::in, C::in, N::in, IO0::di, IO::uo),
-+ [will_not_call_mercury, promise_pure],
-+"
-+ whline(panel_window(Panel), C, N);
-+ IO = IO0;
-+").
-+
-+:- pragma foreign_proc("C",
-+ vline(Panel::in, C::in, N::in, IO0::di, IO::uo),
-+ [will_not_call_mercury, promise_pure],
-+"
-+ wvline(panel_window(Panel), C, N);
-+ IO = IO0;
-+").
-+
-+%-----------------------------------------------------------------------------%
diff --git a/dev-lang/mercury-extras/files/mercury-extras-0.13.1-dynamic_linking.patch b/dev-lang/mercury-extras/files/mercury-extras-0.13.1-dynamic_linking.patch
deleted file mode 100644
index 940323e0495d..000000000000
--- a/dev-lang/mercury-extras/files/mercury-extras-0.13.1-dynamic_linking.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- mercury-extras-0.13.1.orig/dynamic_linking/Mmakefile 2005-01-25 20:49:05.000000000 +1300
-+++ mercury-extras-0.13.1/dynamic_linking/Mmakefile 2006-12-04 21:59:53.000000000 +1300
-@@ -11,7 +11,7 @@
- MLFLAGS = --shared
-
- # Link in the `-ldl' library (this may not be needed on some systems)
--MLLIBS = -ldl
-+MLLIBS = -L/usr/lib -ldl
-
- # enable C-level debugging
- CFLAGS = -g
diff --git a/dev-lang/mercury-extras/files/mercury-extras-0.13.1-iodbc.patch b/dev-lang/mercury-extras/files/mercury-extras-0.13.1-iodbc.patch
deleted file mode 100644
index 0bfaea27f6f7..000000000000
--- a/dev-lang/mercury-extras/files/mercury-extras-0.13.1-iodbc.patch
+++ /dev/null
@@ -1,50 +0,0 @@
---- mercury-extras-0.13.1.orig/odbc/Mmakefile 2006-04-04 13:49:14.000000000 +1200
-+++ mercury-extras-0.13.1/odbc/Mmakefile 2008-08-22 19:26:52.000000000 +1200
-@@ -12,7 +12,7 @@
- # The driver manager.
- # Legal values for MODBC_DRIVER are MODBC_IODBC, MODBC_UNIX, and MODBC_MS.
- # Feel free to add more (and handle them in odbc.m).
--MODBC_DRIVER=MODBC_UNIX
-+MODBC_DRIVER=MODBC_IODBC
-
- # The database.
- # Legal values for MODBC_DB are MODBC_MYSQL and MODBC_SQL_SERVER.
-@@ -36,22 +36,25 @@
- MLLIBS=-lodbc32
- else
- #ODBC_LIB_DIR=$(IODBC_DIR)/lib
-- #ODBC_INCL_DIR=$(IODBC_DIR)/include
-+ ODBC_CFLAGS=`iodbc-config --cflags`
-
- # The following are for Debian.
-
- # for unixODBC
-- MLLIBS=-lodbc -lpthread -lltdl -ldl
-+ MLLIBS=`iodbc-config --libs`
-
- # for iODBC
- # MLLIBS=-liodbc l-pthread -ldl
- # note: on a DEC Alpha using OSF1 remove the -ldl.
- endif
-
--MAIN_TARGET=odbc_test
-+MAIN_TARGET=libodbc
-
- .PHONY: depend
--depend: odbc_test.depend
-+depend: odbc.depend
-+
-+.PHONY: install
-+install: libodbc.install
-
- .PHONY: check
- check:
-@@ -62,7 +65,7 @@
- # `--no-ansi' is needed because the ODBC header files include C++-style
- # "//" comments. `--no-ansi' allows recognition of C++-style "//" comments,
- # presuming you have gcc version 2.7.1 or greater.
--MGNUCFLAGS=--no-ansi -D$(MODBC_DRIVER) -D$(MODBC_DB) -I$(ODBC_INCL_DIR)
-+MGNUCFLAGS=--no-ansi -D$(MODBC_DRIVER) -D$(MODBC_DB) $(ODBC_CFLAGS)
-
- #-----------------------------------------------------------------------------#
- #-----------------------------------------------------------------------------#
diff --git a/dev-lang/mercury-extras/files/mercury-extras-0.13.1-lex.patch b/dev-lang/mercury-extras/files/mercury-extras-0.13.1-lex.patch
deleted file mode 100644
index fcecb73100c6..000000000000
--- a/dev-lang/mercury-extras/files/mercury-extras-0.13.1-lex.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- mercury-extras-0.13.1.orig/lex/Mmakefile 2002-12-03 17:48:31.000000000 +1300
-+++ mercury-extras-0.13.1/lex/Mmakefile 2006-12-04 22:00:45.000000000 +1300
-@@ -25,7 +25,7 @@
- # Omit this line if you want to install the default grades.
- # Edit this line if you want to install with different grades.
- #
--LIBGRADES = asm_fast.gc hlc.gc asm_fast.gc.tr.debug
-+#LIBGRADES = asm_fast.gc hlc.gc asm_fast.gc.tr.debug
-
- # Any application using these libraries will also need the following
- # in its Mmakefile:
-@@ -47,7 +47,9 @@
-
- depend: lex.depend regex.depend
-
--install: liblex.install libregex.install
-+install:
-+ $(MMAKE) $(MMAKEFLAGS) liblex.install
-+ $(MMAKE) $(MMAKEFLAGS) libregex.install
-
- check: install
- (cd tests; mmake check)
diff --git a/dev-lang/mercury-extras/files/mercury-extras-0.13.1-mercury_glut.patch b/dev-lang/mercury-extras/files/mercury-extras-0.13.1-mercury_glut.patch
deleted file mode 100644
index c300c48b4046..000000000000
--- a/dev-lang/mercury-extras/files/mercury-extras-0.13.1-mercury_glut.patch
+++ /dev/null
@@ -1,24 +0,0 @@
---- mercury-extras-0.13.1.orig/graphics/mercury_glut/Mmakefile 2006-03-30 14:52:44.000000000 +1200
-+++ mercury-extras-0.13.1/graphics/mercury_glut/Mmakefile 2006-12-04 22:01:58.000000000 +1300
-@@ -13,10 +13,10 @@
- # The following libraries are for X on Linux (Debian) using Mesa.
-
- # Libaries required by X windows.
--X_LIBS = -lX11 -lXext -lXt -lXi -lSM -lICE -L/usr/X11R6/lib
-+#X_LIBS = -lX11 -lXext -lXt -lXi -lSM -lICE -L/usr/X11R6/lib
-
- # Libraries required by OpenGL.
--GL_LIBS = -lGL -LGL
-+#GL_LIBS = -lGL -LGL
-
- MCFLAGS-mercury_glut+=--no-warn-nothing-exported --no-warn-interface-imports
-
-@@ -26,7 +26,7 @@
- MGNUCFLAGS = --pic-reg
- EXTRA_MLFLAGS = -shared
-
--MLLIBS = -lglut $(X_LIBS) $(GL_LIBS)
-+MLLIBS = -lglut
-
- depend: mercury_glut.depend
-
diff --git a/dev-lang/mercury-extras/files/mercury-extras-0.13.1-mercury_opengl.patch b/dev-lang/mercury-extras/files/mercury-extras-0.13.1-mercury_opengl.patch
deleted file mode 100644
index 6a99068bb09a..000000000000
--- a/dev-lang/mercury-extras/files/mercury-extras-0.13.1-mercury_opengl.patch
+++ /dev/null
@@ -1,92 +0,0 @@
---- mercury-extras-0.13.1.orig/graphics/mercury_opengl/Mmakefile 2006-03-30 14:52:44.000000000 +1200
-+++ mercury-extras-0.13.1/graphics/mercury_opengl/Mmakefile 2006-12-04 22:03:01.000000000 +1300
-@@ -11,7 +11,7 @@
-
- # Specify what libraries we need to link against for OpenGL on this system.
- # (The following works on Debian with mesa as the OpenGL implementation).
--GL_LIBS = -lGL -lGLU -L/usr/X11R6/lib -lX11 -lXi -lXt -lICE -lXext -lSM
-+GL_LIBS = -lGL -lGLU
-
- # Don't issue a warning because mercury_opengl doesn't export anything.
- MCFLAGS-mercury_opengl = --no-warn-nothing-exported
---- mercury-extras-0.13.1.orig/graphics/mercury_opengl/Mmakefile.mtogl 2004-12-01 14:45:30.000000000 +1300
-+++ mercury-extras-0.13.1/graphics/mercury_opengl/Mmakefile.mtogl 2006-12-04 22:03:01.000000000 +1300
-@@ -11,29 +11,30 @@
- MLOBJS-mtogl = togl.o
-
- # Specify the location of the `mercury_tcltk' package.
--MERCURY_TCLTK_DIR = ../mercury_tcltk
-+#MERCURY_TCLTK_DIR = ../mercury_tcltk
-
- # Specify the version of Tcl/Tk.
--TCLTK_VERSION = 8.0
-+TCLTK_VERSION = 8.4
-
- # Specify what libraries we need to link against for Tcl/Tk on this system.
--TCLTK_LIBS = -ltcl$(TCLTK_VERSION) -ltk$(TCLTK_VERSION) -ldl
-+TCLTK_LIBS = -ltcl -ltk -ldl
-+GL_LIBS = -lGL -lGLU -lX11 -lXmu
-
- # Tell mmake to use the `mercury_tcltk' library.
--VPATH = $(MERCURY_TCLTK_DIR):$(MMAKE_VPATH)
--MCFLAGS = -I$(MERCURY_TCLTK_DIR) $(EXTRA_MCFLAGS)
--MLFLAGS = -R$(MERCURY_TCLTK_DIR) $(EXTRA_MLFLAGS) \
-- -L$(MERCURY_TCLTK_DIR)
--MLLIBS = $(TCLTK_LIBS) $(EXTRA_MLLIBS)
--C2INITARGS = $(MERCURY_TCLTK_DIR)/mercury_tcltk.init
-+#VPATH = $(MERCURY_TCLTK_DIR):$(MMAKE_VPATH)
-+#MCFLAGS = -I$(MERCURY_TCLTK_DIR) $(EXTRA_MCFLAGS)
-+#MLFLAGS = -R$(MERCURY_TCLTK_DIR) $(EXTRA_MLFLAGS) \
-+# -L$(MERCURY_TCLTK_DIR)
-+MLLIBS = $(TCLTK_LIBS) $(GL_LIBS) $(EXTRA_MLLIBS)
-+#C2INITARGS = $(MERCURY_TCLTK_DIR)/mercury_tcltk.init
-
- # We may need to tell mmake where tcl.h and tk.h are.
- # If we are using Tcl/Tk version 8.0 on Debian the include directory
- # we need is `/usr/include/tcl8.0/generic'.
--CFLAGS = -I/usr/include/tcl$(TCLTK_VERSION)
-+#CFLAGS = -I/usr/include/tcl$(TCLTK_VERSION)
-
- # We need to also access mtcltk.mh
--MGNUCFLAGS = -I$(MERCURY_TCLTK_DIR)
-+MGNUCFLAGS = -I/usr/lib/tk$(TCLTK_VERSION)/include/generic
-
- depend: mtogl.depend
-
---- mercury-extras-0.13.1.orig/graphics/mercury_opengl/togl.c 2003-08-13 17:49:46.000000000 +1200
-+++ mercury-extras-0.13.1/graphics/mercury_opengl/togl.c 2006-12-04 22:03:01.000000000 +1300
-@@ -274,22 +274,7 @@
- #include <tcl.h>
- #include <tk.h>
- #if defined(X11)
--#if TK_MAJOR_VERSION==4 && TK_MINOR_VERSION==0
--# include "tkInt4.0.h"
--# define NO_TK_CURSOR
--#elif TK_MAJOR_VERSION==4 && TK_MINOR_VERSION==1
--# include "tkInt4.1.h"
--#elif TK_MAJOR_VERSION==4 && TK_MINOR_VERSION==2
--# include "tkInt4.2.h"
--#elif TK_MAJOR_VERSION==8 && TK_MINOR_VERSION==0 && TK_RELEASE_SERIAL==0
--# include "tkInt8.0.h"
--#elif TK_MAJOR_VERSION==8 && TK_MINOR_VERSION==0 && TK_RELEASE_SERIAL==2
--# include "tkInt8.0p2.h"
--#elif TK_MAJOR_VERSION==8 && TK_MINOR_VERSION==0 && TK_RELEASE_SERIAL==5
--# include "tkInt8.0p5.h"
--#else
-- Sorry, you will have to edit togl.c to include the right tkInt.h file
--#endif
-+#include <tkInt.h>
- #elif defined(WIN32)
- #if TK_MAJOR_VERSION<8
- Sorry Windows version requires Tcl/Tk ver 8.0 or higher.
---- mercury-extras-0.13.1.orig/graphics/mercury_opengl/mtogl.m 2003-08-13 17:49:46.000000000 +1200
-+++ mercury-extras-0.13.1/graphics/mercury_opengl/mtogl.m 2007-01-14 11:26:48.000000000 +1300
-@@ -32,7 +32,7 @@
- :- pred mtogl__reshape(pred(togl, io__state, io__state), io__state, io__state).
- :- mode mtogl__reshape(pred(in, di, uo)is det, di, uo) is det.
-
--:- pred mtogl__destroy(pred(togl, io__state, io__state), io__state, io__state).
-+:- impure pred mtogl__destroy(pred(togl, io__state, io__state), io__state, io__state).
- :- mode mtogl__destroy(pred(in, di, uo)is det, di, uo) is det.
-
- %:- pred mtogl__create_command(string, pred(togl, list(string),
diff --git a/dev-lang/mercury-extras/files/mercury-extras-0.13.1-mercury_tcltk.patch b/dev-lang/mercury-extras/files/mercury-extras-0.13.1-mercury_tcltk.patch
deleted file mode 100644
index a6e437fcf0e7..000000000000
--- a/dev-lang/mercury-extras/files/mercury-extras-0.13.1-mercury_tcltk.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- mercury-extras-0.13.1.orig/graphics/mercury_tcltk/Mmakefile 2005-08-15 16:11:42.000000000 +1200
-+++ mercury-extras-0.13.1/graphics/mercury_tcltk/Mmakefile 2006-12-04 22:04:50.000000000 +1300
-@@ -8,10 +8,7 @@
-
- # You may need to modify the line below
-
--MLLIBS = -ltk8.4 -ltcl8.4 -L/usr/X11R6/lib -lX11 -lXmu -lXext -lm -ldl \
-- -lXt -lICE -lSM
--
--MLFLAGS = -R/usr/X11R6/lib
-+MLLIBS = -ltk -ltcl
-
- # On some Linux machines you may need to let mgnuc know where the
- # tcl/tk header files are.
diff --git a/dev-lang/mercury-extras/files/mercury-extras-0.13.1-odbc.patch b/dev-lang/mercury-extras/files/mercury-extras-0.13.1-odbc.patch
deleted file mode 100644
index d8b8cc8205b0..000000000000
--- a/dev-lang/mercury-extras/files/mercury-extras-0.13.1-odbc.patch
+++ /dev/null
@@ -1,41 +0,0 @@
---- mercury-extras-0.13.1.orig/odbc/Mmakefile 2006-04-04 13:49:14.000000000 +1200
-+++ mercury-extras-0.13.1/odbc/Mmakefile 2008-08-22 19:27:49.000000000 +1200
-@@ -36,22 +36,25 @@
- MLLIBS=-lodbc32
- else
- #ODBC_LIB_DIR=$(IODBC_DIR)/lib
-- #ODBC_INCL_DIR=$(IODBC_DIR)/include
-+ ODBC_CFLAGS=`odbc_config --cflags`
-
- # The following are for Debian.
-
- # for unixODBC
-- MLLIBS=-lodbc -lpthread -lltdl -ldl
-+ MLLIBS=`odbc_config --libs`
-
- # for iODBC
- # MLLIBS=-liodbc l-pthread -ldl
- # note: on a DEC Alpha using OSF1 remove the -ldl.
- endif
-
--MAIN_TARGET=odbc_test
-+MAIN_TARGET=libodbc
-
- .PHONY: depend
--depend: odbc_test.depend
-+depend: odbc.depend
-+
-+.PHONY: install
-+install: libodbc.install
-
- .PHONY: check
- check:
-@@ -62,7 +65,7 @@
- # `--no-ansi' is needed because the ODBC header files include C++-style
- # "//" comments. `--no-ansi' allows recognition of C++-style "//" comments,
- # presuming you have gcc version 2.7.1 or greater.
--MGNUCFLAGS=--no-ansi -D$(MODBC_DRIVER) -D$(MODBC_DB) -I$(ODBC_INCL_DIR)
-+MGNUCFLAGS=--no-ansi -D$(MODBC_DRIVER) -D$(MODBC_DB) $(ODBC_CFLAGS)
-
- #-----------------------------------------------------------------------------#
- #-----------------------------------------------------------------------------#
diff --git a/dev-lang/mercury-extras/files/mercury-extras-0.13.1-posix.patch b/dev-lang/mercury-extras/files/mercury-extras-0.13.1-posix.patch
deleted file mode 100644
index 2bdbc38dfd02..000000000000
--- a/dev-lang/mercury-extras/files/mercury-extras-0.13.1-posix.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- mercury-extras-0.13.1.orig/posix/Mmakefile 2004-02-11 17:35:14.000000000 +1300
-+++ mercury-extras-0.13.1/posix/Mmakefile 2006-12-04 22:06:43.000000000 +1300
-@@ -34,7 +34,7 @@
-
- .PHONY: install
- install: libposix.install
-- cp $(ADDITIONAL_HDRS) $(INSTALL_PREFIX)/lib/mercury/inc
-+ cp $(ADDITIONAL_HDRS) $(INSTALL_LIBDIR)/inc
-
- .PHONY: clean
- clean:
diff --git a/dev-lang/mercury-extras/mercury-extras-0.13.1-r1.ebuild b/dev-lang/mercury-extras/mercury-extras-0.13.1-r1.ebuild
deleted file mode 100644
index c1703462bb7f..000000000000
--- a/dev-lang/mercury-extras/mercury-extras-0.13.1-r1.ebuild
+++ /dev/null
@@ -1,125 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/mercury-extras/mercury-extras-0.13.1-r1.ebuild,v 1.7 2011/08/12 21:37:35 xarthisius Exp $
-
-inherit eutils
-
-DESCRIPTION="Additional libraries and tools that are not part of the Mercury standard library"
-HOMEPAGE="http://www.cs.mu.oz.au/research/mercury/index.html"
-SRC_URI="ftp://ftp.mercury.cs.mu.oz.au/pub/mercury/mercury-extras-0.13.1.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-IUSE="examples glut iodbc ncurses odbc opengl tcl tk xml"
-
-DEPEND="~dev-lang/mercury-${PV}
- glut? ( media-libs/freeglut )
- odbc? ( dev-db/unixODBC )
- iodbc? ( !odbc? ( dev-db/libiodbc ) )
- ncurses? ( sys-libs/ncurses )
- opengl? ( virtual/opengl )
- tcl? ( tk? (
- dev-lang/tcl
- dev-lang/tk
- x11-libs/libX11
- x11-libs/libXmu ) )"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${P}-curs.patch
- epatch "${FILESDIR}"/${P}-dynamic_linking.patch
- epatch "${FILESDIR}"/${P}-lex.patch
- epatch "${FILESDIR}"/${P}-mercury_glut.patch
- epatch "${FILESDIR}"/${P}-mercury_tcltk.patch
- epatch "${FILESDIR}"/${P}-mercury_opengl.patch
- epatch "${FILESDIR}"/${P}-posix.patch
-
- if use odbc; then
- epatch "${FILESDIR}"/${P}-odbc.patch
- elif use iodbc; then
- epatch "${FILESDIR}"/${P}-iodbc.patch
- fi
-
- sed -i -e "s:posix:posix quickcheck:" \
- -e "s:references::" \
- -e "s:windows_installer_generator ::" Mmakefile
-
- use glut && sed -i -e "s: lex : graphics/mercury_glut lex :" Mmakefile
- use tcl && use tk && sed -i -e "s: lex : graphics/mercury_tcltk lex :" Mmakefile
- use opengl && sed -i -e "s: lex : graphics/mercury_opengl lex :" Mmakefile
-
- if use odbc || use iodbc; then
- sed -i -e "s:moose:moose odbc:" Mmakefile
- fi
-
- ! use ncurses && sed -i -e "s:curs curses::" Mmakefile
- ! use xml && sed -i -e "s:xml::" Mmakefile
-}
-
-src_compile() {
- mmake \
- -j1 depend || die "mmake depend failed"
- mmake \
- MMAKEFLAGS="${MAKEOPTS}" \
- EXTRA_MLFLAGS=--no-strip \
- || die "mmake failed"
-
- if use opengl && use tcl && use tk; then
- cd "${S}"/graphics/mercury_opengl
- cp ../mercury_tcltk/mtcltk.m ./
- mmake \
- -f Mmakefile.mtogl \
- -j1 depend || die "mmake depend mtogl failed"
- mmake \
- MMAKEFLAGS="${MAKEOPTS}" \
- -f Mmakefile.mtogl \
- || die "mmake mtogl failed"
- fi
-}
-
-src_install() {
- mmake \
- MMAKEFLAGS="${MAKEOPTS}" \
- INSTALL_PREFIX="${D}" \
- install || die "mmake install failed"
-
- if use opengl && use tcl && use tk; then
- cd "${S}"/graphics/mercury_opengl
- mv Mmakefile Mmakefile.opengl
- mv Mmakefile.mtogl Mmakefile
- mmake \
- MMAKEFLAGS="${MAKEOPTS}" \
- INSTALL_PREFIX="${D}" \
- install || die "mmake install mtogl failed"
- fi
-
- find "${D}"/usr/lib/mercury-${PV} -type l | xargs rm
-
- cd "${S}"
- if use examples; then
- insinto /usr/share/doc/${PF}/samples/complex_numbers
- doins complex_numbers/samples/*.m
-
- if use ncurses; then
- insinto /usr/share/doc/${PF}/samples/curs
- doins curs/samples/*.m
-
- insinto /usr/share/doc/${PF}/samples/curses
- doins curses/sample/*.m
- fi
-
- insinto /usr/share/doc/${PF}/samples/dynamic_linking
- doins dynamic_linking/hello.m
-
- insinto /usr/share/doc/${PF}/samples/lex
- doins lex/samples/*.m
-
- insinto /usr/share/doc/${PF}/samples/moose
- doins moose/samples/*.m moose/samples/*.moo
- fi
-
- dodoc README
-}
diff --git a/dev-lang/mercury-extras/mercury-extras-10.04-r1.ebuild b/dev-lang/mercury-extras/mercury-extras-10.04-r1.ebuild
deleted file mode 100644
index e2ad87dfe758..000000000000
--- a/dev-lang/mercury-extras/mercury-extras-10.04-r1.ebuild
+++ /dev/null
@@ -1,132 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/mercury-extras/mercury-extras-10.04-r1.ebuild,v 1.5 2011/08/12 21:37:35 xarthisius Exp $
-
-inherit eutils
-
-PATCHSET_VER="0"
-
-DESCRIPTION="Additional libraries and tools that are not part of the Mercury standard library"
-HOMEPAGE="http://www.cs.mu.oz.au/research/mercury/index.html"
-SRC_URI="http://www.mercury.cs.mu.oz.au/download/files/${P}.tar.gz
- mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-IUSE="X examples glut iodbc ncurses odbc opengl tcl tk xml"
-
-DEPEND="~dev-lang/mercury-${PV}
- glut? ( media-libs/freeglut )
- odbc? ( dev-db/unixODBC )
- iodbc? ( !odbc? ( dev-db/libiodbc ) )
- ncurses? ( sys-libs/ncurses )
- opengl? ( virtual/opengl )
- tcl? ( tk? (
- dev-lang/tcl
- dev-lang/tk
- x11-libs/libX11
- x11-libs/libXmu ) )"
-
-src_unpack() {
- unpack ${A}
-
- EPATCH_FORCE=yes
- EPATCH_SUFFIX=patch
- epatch "${WORKDIR}"/${PV}
-
- if use odbc; then
- epatch "${WORKDIR}"/${PV}-odbc/${P}-odbc.patch
- elif use iodbc; then
- epatch "${FILESDIR}"/${PV}-odbc/${P}-iodbc.patch
- fi
-
- cd "${S}"
- sed -i -e "s:posix:posix quickcheck:" \
- -e "s:references::" \
- -e "s:windows_installer_generator ::" Mmakefile
-
- use glut && sed -i -e "s: lex : graphics/mercury_glut lex :" Mmakefile
- use tcl && use tk && sed -i -e "s: lex : graphics/mercury_tcltk lex :" Mmakefile
- use opengl && sed -i -e "s: lex : graphics/mercury_opengl lex :" Mmakefile
-
- if use odbc || use iodbc; then
- sed -i -e "s:moose:moose odbc:" Mmakefile
- fi
-
- ! use ncurses && sed -i -e "s:curs curses::" Mmakefile
- ! use xml && sed -i -e "s:xml::" Mmakefile
-
- sed -i -e "s:@libdir@:$(get_libdir):" \
- dynamic_linking/Mmakefile posix/Mmakefile
-
- # disable broken packages
- sed -i -e "s:lazy_evaluation ::" \
- -e "s:quickcheck::" Mmakefile
-}
-
-src_compile() {
- # Mercury dependency generation must be run single-threaded
- mmake \
- -j1 depend || die "mmake depend failed"
-
- mmake \
- MMAKEFLAGS="${MAKEOPTS}" \
- EXTRA_MLFLAGS=--no-strip \
- EXTRA_LDFLAGS="${LDFLAGS}" \
- EXTRA_LD_LIBFLAGS="${LDFLAGS}" \
- || die "mmake failed"
-}
-
-src_install() {
- mmake \
- MMAKEFLAGS="${MAKEOPTS}" \
- EXTRA_LD_LIBFLAGS="${LDFLAGS}" \
- INSTALL_PREFIX="${D}"/usr \
- install || die "mmake install failed"
-
- find "${D}"/usr/$(get_libdir)/mercury -type l | xargs rm
-
- cd "${S}"
- if use examples; then
- insinto /usr/share/doc/${PF}/samples/complex_numbers
- doins complex_numbers/samples/*.m
-
- if use ncurses; then
- insinto /usr/share/doc/${PF}/samples/curs
- doins curs/samples/*.m
-
- insinto /usr/share/doc/${PF}/samples/curses
- doins curses/sample/*.m
- fi
-
- if use X; then
- insinto /usr/share/doc/${PF}/samples/graphics
- doins graphics/easyx/samples/*.m
- fi
-
- if use glut && use opengl; then
- insinto /usr/share/doc/${PF}/samples/graphics
- doins graphics/samples/calc/*.m
- doins graphics/samples/gears/*.m
- doins graphics/samples/maze/*.m
- fi
-
- if use opengl && use tck && use tk; then
- insinto /usr/share/doc/${PF}/samples/graphics
- doins graphics/samples/pent/*.m
- fi
-
- insinto /usr/share/doc/${PF}/samples/dynamic_linking
- doins dynamic_linking/hello.m
-
- insinto /usr/share/doc/${PF}/samples/lex
- doins lex/samples/*.m
-
- insinto /usr/share/doc/${PF}/samples/moose
- doins moose/samples/*.m moose/samples/*.moo
- fi
-
- dodoc README
-}
diff --git a/dev-lang/mercury-extras/mercury-extras-10.04.1.ebuild b/dev-lang/mercury-extras/mercury-extras-10.04.1.ebuild
deleted file mode 100644
index f58773192b57..000000000000
--- a/dev-lang/mercury-extras/mercury-extras-10.04.1.ebuild
+++ /dev/null
@@ -1,132 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/mercury-extras/mercury-extras-10.04.1.ebuild,v 1.5 2011/08/12 21:37:35 xarthisius Exp $
-
-inherit eutils
-
-PATCHSET_VER="0"
-
-DESCRIPTION="Additional libraries and tools that are not part of the Mercury standard library"
-HOMEPAGE="http://www.cs.mu.oz.au/research/mercury/index.html"
-SRC_URI="http://www.mercury.cs.mu.oz.au/download/files/${P}.tar.gz
- mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-IUSE="X examples glut iodbc ncurses odbc opengl tcl tk xml"
-
-DEPEND="~dev-lang/mercury-${PV}
- glut? ( media-libs/freeglut )
- odbc? ( dev-db/unixODBC )
- iodbc? ( !odbc? ( dev-db/libiodbc ) )
- ncurses? ( sys-libs/ncurses )
- opengl? ( virtual/opengl )
- tcl? ( tk? (
- dev-lang/tcl
- dev-lang/tk
- x11-libs/libX11
- x11-libs/libXmu ) )"
-
-src_unpack() {
- unpack ${A}
-
- EPATCH_FORCE=yes
- EPATCH_SUFFIX=patch
- epatch "${WORKDIR}"/${PV}
-
- if use odbc; then
- epatch "${WORKDIR}"/${PV}-odbc/${P}-odbc.patch
- elif use iodbc; then
- epatch "${WORKDIR}"/${PV}-odbc/${P}-iodbc.patch
- fi
-
- cd "${S}"
- sed -i -e "s:posix:posix quickcheck:" \
- -e "s:references::" \
- -e "s:windows_installer_generator ::" Mmakefile
-
- use glut && sed -i -e "s: lex : graphics/mercury_glut lex :" Mmakefile
- use tcl && use tk && sed -i -e "s: lex : graphics/mercury_tcltk lex :" Mmakefile
- use opengl && sed -i -e "s: lex : graphics/mercury_opengl lex :" Mmakefile
-
- if use odbc || use iodbc; then
- sed -i -e "s:moose:moose odbc:" Mmakefile
- fi
-
- ! use ncurses && sed -i -e "s:curs curses::" Mmakefile
- ! use xml && sed -i -e "s:xml::" Mmakefile
-
- sed -i -e "s:@libdir@:$(get_libdir):" \
- dynamic_linking/Mmakefile posix/Mmakefile
-
- # disable broken packages
- sed -i -e "s:lazy_evaluation ::" \
- -e "s:quickcheck::" Mmakefile
-}
-
-src_compile() {
- # Mercury dependency generation must be run single-threaded
- mmake \
- -j1 depend || die "mmake depend failed"
-
- mmake \
- MMAKEFLAGS="${MAKEOPTS}" \
- EXTRA_MLFLAGS=--no-strip \
- EXTRA_LDFLAGS="${LDFLAGS}" \
- EXTRA_LD_LIBFLAGS="${LDFLAGS}" \
- || die "mmake failed"
-}
-
-src_install() {
- mmake \
- MMAKEFLAGS="${MAKEOPTS}" \
- EXTRA_LD_LIBFLAGS="${LDFLAGS}" \
- INSTALL_PREFIX="${D}"/usr \
- install || die "mmake install failed"
-
- find "${D}"/usr/$(get_libdir)/mercury -type l | xargs rm
-
- cd "${S}"
- if use examples; then
- insinto /usr/share/doc/${PF}/samples/complex_numbers
- doins complex_numbers/samples/*.m
-
- if use ncurses; then
- insinto /usr/share/doc/${PF}/samples/curs
- doins curs/samples/*.m
-
- insinto /usr/share/doc/${PF}/samples/curses
- doins curses/sample/*.m
- fi
-
- if use X; then
- insinto /usr/share/doc/${PF}/samples/graphics
- doins graphics/easyx/samples/*.m
- fi
-
- if use glut && use opengl; then
- insinto /usr/share/doc/${PF}/samples/graphics
- doins graphics/samples/calc/*.m
- doins graphics/samples/gears/*.m
- doins graphics/samples/maze/*.m
- fi
-
- if use opengl && use tck && use tk; then
- insinto /usr/share/doc/${PF}/samples/graphics
- doins graphics/samples/pent/*.m
- fi
-
- insinto /usr/share/doc/${PF}/samples/dynamic_linking
- doins dynamic_linking/hello.m
-
- insinto /usr/share/doc/${PF}/samples/lex
- doins lex/samples/*.m
-
- insinto /usr/share/doc/${PF}/samples/moose
- doins moose/samples/*.m moose/samples/*.moo
- fi
-
- dodoc README
-}
diff --git a/dev-lang/mercury-extras/mercury-extras-10.04.ebuild b/dev-lang/mercury-extras/mercury-extras-10.04.ebuild
deleted file mode 100644
index c0140d511e89..000000000000
--- a/dev-lang/mercury-extras/mercury-extras-10.04.ebuild
+++ /dev/null
@@ -1,128 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/mercury-extras/mercury-extras-10.04.ebuild,v 1.6 2011/08/12 21:37:35 xarthisius Exp $
-
-inherit eutils
-
-PATCHSET_VER="0"
-
-DESCRIPTION="Additional libraries and tools that are not part of the Mercury standard library"
-HOMEPAGE="http://www.cs.mu.oz.au/research/mercury/index.html"
-SRC_URI="http://www.mercury.cs.mu.oz.au/download/files/${P}.tar.gz
- mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-IUSE="X examples glut iodbc ncurses odbc opengl tcl tk xml"
-
-DEPEND="~dev-lang/mercury-${PV}
- glut? ( media-libs/freeglut )
- odbc? ( dev-db/unixODBC )
- iodbc? ( !odbc? ( dev-db/libiodbc ) )
- ncurses? ( sys-libs/ncurses )
- opengl? ( virtual/opengl )
- tcl? ( tk? (
- dev-lang/tcl
- dev-lang/tk
- x11-libs/libX11
- x11-libs/libXmu ) )"
-
-src_unpack() {
- unpack ${A}
-
- EPATCH_FORCE=yes
- EPATCH_SUFFIX=patch
- epatch "${WORKDIR}"/${PV}
-
- if use odbc; then
- epatch "${WORKDIR}"/${PV}-odbc/${P}-odbc.patch
- elif use iodbc; then
- epatch "${WORKDIR}"/${PV}-odbc/${P}-iodbc.patch
- fi
-
- cd "${S}"
- sed -i -e "s:posix:posix quickcheck:" \
- -e "s:references::" \
- -e "s:windows_installer_generator ::" Mmakefile
-
- use glut && sed -i -e "s: lex : graphics/mercury_glut lex :" Mmakefile
- use tcl && use tk && sed -i -e "s: lex : graphics/mercury_tcltk lex :" Mmakefile
- use opengl && sed -i -e "s: lex : graphics/mercury_opengl lex :" Mmakefile
-
- if use odbc || use iodbc; then
- sed -i -e "s:moose:moose odbc:" Mmakefile
- fi
-
- ! use ncurses && sed -i -e "s:curs curses::" Mmakefile
- ! use xml && sed -i -e "s:xml::" Mmakefile
-
- sed -i -e "s:@libdir@:$(get_libdir):" \
- dynamic_linking/Mmakefile posix/Mmakefile
-
- # disable broken packages
- sed -i -e "s:lazy_evaluation ::" \
- -e "s:quickcheck::" Mmakefile
-}
-
-src_compile() {
- mmake \
- -j1 depend || die "mmake depend failed"
-
- mmake \
- MMAKEFLAGS="${MAKEOPTS}" \
- EXTRA_MLFLAGS=--no-strip \
- || die "mmake failed"
-}
-
-src_install() {
- mmake \
- MMAKEFLAGS="${MAKEOPTS}" \
- INSTALL_PREFIX="${D}"/usr \
- install || die "mmake install failed"
-
- find "${D}"/usr/$(get_libdir)/mercury -type l | xargs rm
-
- cd "${S}"
- if use examples; then
- insinto /usr/share/doc/${PF}/samples/complex_numbers
- doins complex_numbers/samples/*.m
-
- if use ncurses; then
- insinto /usr/share/doc/${PF}/samples/curs
- doins curs/samples/*.m
-
- insinto /usr/share/doc/${PF}/samples/curses
- doins curses/sample/*.m
- fi
-
- if use X; then
- insinto /usr/share/doc/${PF}/samples/graphics
- doins graphics/easyx/samples/*.m
- fi
-
- if use glut && use opengl; then
- insinto /usr/share/doc/${PF}/samples/graphics
- doins graphics/samples/calc/*.m
- doins graphics/samples/gears/*.m
- doins graphics/samples/maze/*.m
- fi
-
- if use opengl && use tck && use tk; then
- insinto /usr/share/doc/${PF}/samples/graphics
- doins graphics/samples/pent/*.m
- fi
-
- insinto /usr/share/doc/${PF}/samples/dynamic_linking
- doins dynamic_linking/hello.m
-
- insinto /usr/share/doc/${PF}/samples/lex
- doins lex/samples/*.m
-
- insinto /usr/share/doc/${PF}/samples/moose
- doins moose/samples/*.m moose/samples/*.moo
- fi
-
- dodoc README
-}
diff --git a/dev-lang/mercury-extras/mercury-extras-11.01_beta1.ebuild b/dev-lang/mercury-extras/mercury-extras-11.01_beta1.ebuild
deleted file mode 100644
index cb5fc1983937..000000000000
--- a/dev-lang/mercury-extras/mercury-extras-11.01_beta1.ebuild
+++ /dev/null
@@ -1,195 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/mercury-extras/mercury-extras-11.01_beta1.ebuild,v 1.4 2011/08/12 21:37:35 xarthisius Exp $
-
-EAPI=2
-
-inherit eutils
-
-PATCHSET_VER="1"
-MY_PV=${PV/%?/-2010-12-22}
-MY_P=${PN}-${MY_PV/_/-}
-
-DESCRIPTION="Additional libraries and tools that are not part of the Mercury standard library"
-HOMEPAGE="http://www.cs.mu.oz.au/research/mercury/index.html"
-SRC_URI="http://www.mercury.cs.mu.oz.au/download/files/beta-releases/11.01-beta/${MY_P}.tar.gz
- mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-IUSE="X cairo examples glut iodbc ncurses odbc opengl ssl tcl tk xml"
-
-RDEPEND="~dev-lang/mercury-${PV}
- cairo? ( >=x11-libs/cairo-1.10.0 )
- glut? ( media-libs/freeglut )
- odbc? ( dev-db/unixODBC )
- iodbc? ( !odbc? ( dev-db/libiodbc ) )
- ncurses? ( sys-libs/ncurses )
- opengl? ( virtual/opengl )
- tcl? ( tk? (
- dev-lang/tcl
- dev-lang/tk
- x11-libs/libX11
- x11-libs/libXmu ) )"
-
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}"/${MY_P}
-
-src_prepare() {
- cd "${WORKDIR}"
-
- EPATCH_FORCE=yes
- EPATCH_SUFFIX=patch
- epatch "${WORKDIR}"/${PV}
-
- if use odbc; then
- epatch "${WORKDIR}"/${PV}-odbc/${P}-odbc.patch
- elif use iodbc; then
- epatch "${WORKDIR}"/${PV}-odbc/${P}-iodbc.patch
- fi
-
- cd "${S}"
- sed -i -e "s:references:references solver_types/library:" \
- -e "s:windows_installer_generator::" \
- Mmakefile || die "sed default packages failed"
-
- if use cairo; then
- sed -i -e "s: lex : graphics/mercury_cairo lex :" Mmakefile \
- || die "sed cairo failed"
- fi
-
- if use glut; then
- sed -i -e "s: lex : graphics/mercury_glut lex :" Mmakefile \
- || die "sed glut failed"
- fi
-
- if use opengl; then
- sed -i -e "s: lex : graphics/mercury_opengl lex :" Mmakefile \
- || die "sed opengl failed"
- fi
-
- if use tcl && use tk; then
- sed -i -e "s: lex : graphics/mercury_tcltk lex :" Mmakefile \
- || die "sed tcltk failed"
- fi
-
- if use odbc || use iodbc; then
- sed -i -e "s:moose:moose odbc:" Mmakefile \
- || die "sed odbc failed"
- fi
-
- if ! use ncurses; then
- sed -i -e "s:curs curses::" Mmakefile \
- || die "sed ncurses failed"
- fi
-
- if ! use xml; then
- sed -i -e "s:xml::" Mmakefile \
- || die "sed xml failed"
- fi
-
- sed -i -e "s:@libdir@:$(get_libdir):" \
- dynamic_linking/Mmakefile posix/Mmakefile \
- || die "sed libdir failed"
-
- # disable broken packages
- sed -i -e "s:lazy_evaluation::" -e "s:references::" Mmakefile \
- || die "sed broken packages failed"
-}
-
-src_compile() {
- # Mercury dependency generation must be run single-threaded
- mmake \
- -j1 depend || die "mmake depend failed"
-
- mmake \
- MMAKEFLAGS="${MAKEOPTS}" \
- EXTRA_MLFLAGS=--no-strip \
- EXTRA_LDFLAGS="${LDFLAGS}" \
- EXTRA_LD_LIBFLAGS="${LDFLAGS}" \
- || die "mmake failed"
-}
-
-src_install() {
- mmake \
- MMAKEFLAGS="${MAKEOPTS}" \
- EXTRA_LD_LIBFLAGS="${LDFLAGS}" \
- INSTALL_PREFIX="${D}"/usr \
- install || die "mmake install failed"
-
- find "${D}"/usr/$(get_libdir)/mercury -type l | xargs rm
-
- cd "${S}"
- if use examples; then
- insinto /usr/share/doc/${PF}/samples/base64
- doins base64/*.m || die
-
- insinto /usr/share/doc/${PF}/samples/complex_numbers
- doins complex_numbers/samples/* || die
-
- insinto /usr/share/doc/${PF}/samples/dynamic_linking
- doins dynamic_linking/hello.m || die
-
- insinto /usr/share/doc/${PF}/samples/error
- doins error/* || die
-
- insinto /usr/share/doc/${PF}/samples/fixed
- doins fixed/*.m || die
-
- insinto /usr/share/doc/${PF}/samples/gator
- doins -r gator/* || die
-
- insinto /usr/share/doc/${PF}/samples/lex
- doins lex/samples/* || die
-
- insinto /usr/share/doc/${PF}/samples/log4m
- doins log4m/*.m || die
-
- insinto /usr/share/doc/${PF}/samples/monte
- doins monte/*.m || die
-
- insinto /usr/share/doc/${PF}/samples/moose
- doins moose/samples/* || die
-
- insinto /usr/share/doc/${PF}/samples/net
- doins net/*.m || die
-
- if use ncurses; then
- insinto /usr/share/doc/${PF}/samples/curs
- doins curs/samples/* || die
-
- insinto /usr/share/doc/${PF}/samples/curses
- doins curses/sample/* || die
- fi
-
- if use X; then
- insinto /usr/share/doc/${PF}/samples/graphics
- doins graphics/easyx/samples/*.m || die
- fi
-
- if use glut && use opengl; then
- insinto /usr/share/doc/${PF}/samples/graphics
- doins graphics/samples/calc/* || die
- doins graphics/samples/gears/* || die
- doins graphics/samples/maze/* || die
- doins graphics/samples/pent/* || die
- fi
-
- if use opengl && use tcl && use tk; then
- insinto /usr/share/doc/${PF}/samples/graphics
- doins graphics/samples/pent/*.m || die
- fi
-
- if use ssl; then
- insinto /usr/share/doc/${PF}/samples/mopenssl
- doins mopenssl/*.m || die
- fi
- fi
-
- rm -rf $(find "${D}"/usr/share/doc/${PF}/samples -name CVS)
-
- dodoc README || die
-}