Lines 2-8
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /home/cvsroot/gentoo-x86/app-editors/xemacs/xemacs-21.4.10.ebuild,v 1.2 2002/11/05 15:08:41 stubear Exp $ |
3 |
# $Header: /home/cvsroot/gentoo-x86/app-editors/xemacs/xemacs-21.4.10.ebuild,v 1.2 2002/11/05 15:08:41 stubear Exp $ |
4 |
|
4 |
|
5 |
IUSE="gpm esd postgres xface nas X jpeg tiff png mule motif canna" |
5 |
IUSE="gpm postgres xface nas dnd X jpeg tiff png mule motif canna lucid athena neXt Xaw3d" |
6 |
|
6 |
|
7 |
# this is just TEMPORARY until we can get to the core of the problem |
7 |
# this is just TEMPORARY until we can get to the core of the problem |
8 |
SANDBOX_DISABLED="1" |
8 |
SANDBOX_DISABLED="1" |
Lines 22-27
Link Here
|
22 |
|
22 |
|
23 |
HOMEPAGE="http://www.xemacs.org" |
23 |
HOMEPAGE="http://www.xemacs.org" |
24 |
|
24 |
|
|
|
25 |
# esound is know to cause problems in XEmacs |
26 |
#esd? ( media-sound/esound ) |
25 |
|
27 |
|
26 |
RDEPEND="virtual/glibc |
28 |
RDEPEND="virtual/glibc |
27 |
!virtual/xemacs |
29 |
!virtual/xemacs |
Lines 32-49
Link Here
|
32 |
>=media-libs/audiofile-0.2.3 |
34 |
>=media-libs/audiofile-0.2.3 |
33 |
|
35 |
|
34 |
gpm? ( >=sys-libs/gpm-1.19.6 ) |
36 |
gpm? ( >=sys-libs/gpm-1.19.6 ) |
|
|
37 |
|
35 |
postgres? ( >=dev-db/postgresql-7.2 ) |
38 |
postgres? ( >=dev-db/postgresql-7.2 ) |
36 |
|
39 |
|
37 |
nas? ( media-libs/nas ) |
40 |
nas? ( media-libs/nas ) |
38 |
esd? ( media-sound/esound ) |
|
|
39 |
|
41 |
|
40 |
X? ( virtual/x11 motif? ( >=x11-libs/openmotif-2.1.30 ) ) |
42 |
dnd? ( x11-libs/dnd ) |
|
|
43 |
|
44 |
X? ( virtual/x11 ) |
45 |
motif? ( >=x11-libs/openmotif-2.1.30 ) |
46 |
athena? ( virtual/x11 ) |
47 |
Xaw3d? ( x11-libs/Xaw3d ) |
48 |
neXt? ( x11-libs/neXtaw ) |
41 |
xface? ( media-libs/compface ) |
49 |
xface? ( media-libs/compface ) |
42 |
tiff? ( media-libs/tiff ) |
50 |
tiff? ( media-libs/tiff ) |
43 |
png? ( =media-libs/libpng-1.2* ) |
51 |
png? ( =media-libs/libpng-1.2* ) |
44 |
jpeg? ( media-libs/jpeg ) |
52 |
jpeg? ( media-libs/jpeg ) |
45 |
|
53 |
|
46 |
canna? ( app-i18n/canna )" |
54 |
canna? ( app-i18n/canna ) |
|
|
55 |
wnn? ( app-i18n/freewnn )" |
47 |
|
56 |
|
48 |
DEPEND="${RDEPEND} |
57 |
DEPEND="${RDEPEND} |
49 |
>=sys-libs/ncurses-5.2" |
58 |
>=sys-libs/ncurses-5.2" |
Lines 70-83
Link Here
|
70 |
src_compile() { |
79 |
src_compile() { |
71 |
local myconf="" |
80 |
local myconf="" |
72 |
|
81 |
|
73 |
if use X; |
82 |
if use X; then |
74 |
then |
83 |
|
|
|
84 |
myconf="--with-widgets=lucid" |
85 |
myconf="${myconf} --with-dialogs=lucid" |
86 |
myconf="${myconf} --with-scrollbars=lucid" |
87 |
myconf="${myconf} --with-menubars=lucid" |
88 |
if [ "`use motif`" ] ; then |
89 |
myconf="--with-widgets=motif" |
90 |
myconf="${myconf} --with-dialogs=motif" |
91 |
myconf="${myconf} --with-scrollbars=motif" |
92 |
myconf="${myconf} --with-menubars=lucid" |
93 |
fi |
94 |
if [ "`use athena`" ] ; then |
95 |
myconf="--with-widgets=athena" |
96 |
if [ "`use Xaw3d`" ] ; then |
97 |
myconf="${myconf} --with-athena=xaw3d" |
98 |
elif [ "`use neXt`" ] ; then |
99 |
myconf="${myconf} --with-athena=next" |
100 |
else |
101 |
myconf="${myconf} --with-athena=3d" |
102 |
fi |
103 |
myconf="${myconf} --with-dialogs=athena" |
104 |
myconf="${myconf} --with-scrollbars=athena" |
105 |
myconf="${myconf} --with-menubars=lucid" |
106 |
fi |
107 |
|
75 |
myconf="${myconf} |
108 |
myconf="${myconf} |
76 |
--with-x |
|
|
77 |
--with-xpm |
78 |
--with-dragndrop |
79 |
--with-gif=no" |
109 |
--with-gif=no" |
80 |
|
110 |
|
|
|
111 |
use dnd && myconf="${myconf} --with-dragndrop --with-offix" |
112 |
|
81 |
use tiff && myconf="${myconf} --with-tiff" || |
113 |
use tiff && myconf="${myconf} --with-tiff" || |
82 |
myconf="${myconf} --without-tiff" |
114 |
myconf="${myconf} --without-tiff" |
83 |
use png && mconf="${myconf} --with-png" || |
115 |
use png && mconf="${myconf} --with-png" || |
Lines 87-96
Link Here
|
87 |
use xface && myconf="${myconf} --with-xface" || |
119 |
use xface && myconf="${myconf} --with-xface" || |
88 |
myconf="${myconf} --without-xface" |
120 |
myconf="${myconf} --without-xface" |
89 |
|
121 |
|
90 |
myconf="${myconf} --with-dialogs=lucid" |
|
|
91 |
myconf="${myconf} --with-widgets=lucid" |
92 |
myconf="${myconf} --with-scrollbars=lucid" |
93 |
myconf="${myconf} --with-menubars=lucid" |
94 |
else |
122 |
else |
95 |
myconf="${myconf} |
123 |
myconf="${myconf} |
96 |
--without-x |
124 |
--without-x |
Lines 103-128
Link Here
|
103 |
myconf="${myconf} --without-gpm" |
131 |
myconf="${myconf} --without-gpm" |
104 |
use postgres && myconf="${myconf} --with-postgresql" || |
132 |
use postgres && myconf="${myconf} --with-postgresql" || |
105 |
myconf="${myconf} --without-postgresql" |
133 |
myconf="${myconf} --without-postgresql" |
106 |
use mule && myconf="${myconf} --with-mule" || |
134 |
|
107 |
myconf="${myconf} --without-mule" |
135 |
if [ "`use mule`" ] ; then |
|
|
136 |
myconf="${myconf} --with-mule" |
137 |
use motif && myconf="${myconf} --with-xim=motif" || |
138 |
myconf="${myconf} --with-xim=xlib" |
108 |
use canna && myconf="${myconf} --with-canna" || |
139 |
use canna && myconf="${myconf} --with-canna" || |
109 |
myconf="${myconf} --without-canna" |
140 |
myconf="${myconf} --without-canna" |
|
|
141 |
use wnn && myconf="${myconf} --with-wnn" || |
142 |
myconf="${myconf} --without-wnn" |
143 |
fi |
110 |
|
144 |
|
111 |
local soundconf="native" |
145 |
local soundconf="native" |
112 |
|
146 |
|
113 |
use nas && soundconf="${soundconf},nas" |
147 |
use nas && soundconf="${soundconf},nas" |
114 |
use esd && soundconf="${soundconf},esd" |
|
|
115 |
|
148 |
|
116 |
myconf="${myconf} --with-sound=${soundconf}" |
149 |
myconf="${myconf} --with-sound=${soundconf}" |
117 |
|
150 |
|
118 |
./configure ${myconf} \ |
151 |
./configure ${myconf} \ |
119 |
--prefix=/usr \ |
152 |
--prefix=/usr \ |
120 |
--with-database=gnudbm \ |
|
|
121 |
--with-pop \ |
153 |
--with-pop \ |
122 |
--with-ncurses \ |
154 |
--with-ncurses \ |
123 |
--with-site-lisp=yes \ |
|
|
124 |
--package-path=/usr/lib/xemacs/xemacs-packages/ \ |
125 |
--with-msw=no \ |
155 |
--with-msw=no \ |
|
|
156 |
--mail-locking=flock \ |
157 |
--with-database=gnudbm \ |
158 |
--pdump \ |
159 |
--with-site-lisp=yes \ |
126 |
|| die |
160 |
|| die |
127 |
|
161 |
|
128 |
# emake dont work on faster boxes it seems |
162 |
# emake dont work on faster boxes it seems |