1 |
-------Python-Setup.patch---------- |
2 |
--- foo/Python-2.1.1/Modules/Setup Thu Oct 18 15:39:28 2001 |
3 |
+++ Python-2.1.1/Modules/Setup Thu Oct 18 14:23:22 2001 |
4 |
@@ -135,58 +135,59 @@ |
5 |
# it, depending on your system -- see the GNU readline instructions. |
6 |
# It's okay for this to be a shared library, too. |
7 |
|
8 |
-#readline readline.c -lreadline -ltermcap |
9 |
+readline readline.c -lreadline -lncurses |
10 |
|
11 |
|
12 |
# Modules that should always be present (non UNIX dependent): |
13 |
|
14 |
-#array arraymodule.c # array objects |
15 |
-#cmath cmathmodule.c # -lm # complex math library functions |
16 |
-#math mathmodule.c # -lm # math library functions, e.g. sin() |
17 |
-#struct structmodule.c # binary structure packing/unpacking |
18 |
-#time timemodule.c # -lm # time operations and variables |
19 |
-#operator operator.c # operator.add() and similar goodies |
20 |
-#_weakref _weakref.c # basic weak reference support |
21 |
-#_codecs _codecsmodule.c # access to the builtin codecs and codec registry |
22 |
-#_testcapi _testcapimodule.c # Python C API test module |
23 |
+array arraymodule.c # array objects |
24 |
+cmath cmathmodule.c # -lm # complex math library functions |
25 |
+math mathmodule.c # -lm # math library functions, e.g. sin() |
26 |
+struct structmodule.c # binary structure packing/unpacking |
27 |
+time timemodule.c # -lm # time operations and variables |
28 |
+operator operator.c # operator.add() and similar goodies |
29 |
+_weakref _weakref.c # basic weak reference support |
30 |
+_codecs _codecsmodule.c # access to the builtin codecs and codec registry |
31 |
+_testcapi _testcapimodule.c # Python C API test module |
32 |
|
33 |
-#unicodedata unicodedata.c # static Unicode character database |
34 |
+unicodedata unicodedata.c # static Unicode character database |
35 |
|
36 |
-#_locale _localemodule.c # access to ISO C locale support |
37 |
+_locale _localemodule.c # access to ISO C locale support |
38 |
|
39 |
|
40 |
# Modules with some UNIX dependencies -- on by default: |
41 |
# (If you have a really backward UNIX, select and socket may not be |
42 |
# supported...) |
43 |
|
44 |
-#fcntl fcntlmodule.c # fcntl(2) and ioctl(2) |
45 |
-#pwd pwdmodule.c # pwd(3) |
46 |
-#grp grpmodule.c # grp(3) |
47 |
-#errno errnomodule.c # posix (UNIX) errno values |
48 |
-#select selectmodule.c # select(2); not on ancient System V |
49 |
+fcntl fcntlmodule.c # fcntl(2) and ioctl(2) |
50 |
+pwd pwdmodule.c # pwd(3) |
51 |
+grp grpmodule.c # grp(3) |
52 |
+errno errnomodule.c # posix (UNIX) errno values |
53 |
+select selectmodule.c # select(2); not on ancient System V |
54 |
|
55 |
# Memory-mapped files (also works on Win32). |
56 |
-#mmap mmapmodule.c |
57 |
+mmap mmapmodule.c |
58 |
|
59 |
# Dynamic readlines |
60 |
-#xreadlines xreadlinesmodule.c |
61 |
+xreadlines xreadlinesmodule.c |
62 |
|
63 |
# for socket(2), without SSL support. |
64 |
#_socket socketmodule.c |
65 |
|
66 |
# Socket module compiled with SSL support; you must comment out the other |
67 |
# socket line above, and possibly edit the SSL variable: |
68 |
-#SSL=/usr/local/ssl |
69 |
-#_socket socketmodule.c \ |
70 |
-# -DUSE_SSL -I$(SSL)/include -I$(SSL)/include/openssl \ |
71 |
-# -L$(SSL)/lib -lssl -lcrypto |
72 |
+SSL=/usr/ssl |
73 |
+SSL_PREFIX=/usr |
74 |
+_socket socketmodule.c \ |
75 |
+ -DUSE_SSL -I$(SSL_PREFIX)/include -I$(SSL_PREFIX)/include/openssl \ |
76 |
+ -L$(SSL_PREFIX)/lib -lssl -lcrypto |
77 |
|
78 |
# The crypt module is now disabled by default because it breaks builds |
79 |
# on many systems (where -lcrypt is needed), e.g. Linux (I believe). |
80 |
# |
81 |
# First, look at Setup.config; configure may have set this for you. |
82 |
|
83 |
-#crypt cryptmodule.c # -lcrypt # crypt(3); needs -lcrypt on some systems |
84 |
+crypt cryptmodule.c # -lcrypt # crypt(3); needs -lcrypt on some systems |
85 |
|
86 |
|
87 |
# Some more UNIX dependent modules -- off by default, since these |
88 |
@@ -210,12 +211,12 @@ |
89 |
# Message-Digest Algorithm, described in RFC 1321. The necessary files |
90 |
# md5c.c and md5.h are included here. |
91 |
|
92 |
-#md5 md5module.c md5c.c |
93 |
+md5 md5module.c md5c.c |
94 |
|
95 |
|
96 |
# The sha module implements the SHA checksum algorithm. |
97 |
# (NIST's Secure Hash Algorithm.) |
98 |
-#sha shamodule.c |
99 |
+sha shamodule.c |
100 |
|
101 |
|
102 |
# The mpz module interfaces to the GNU Multiple Precision library. |
103 |
@@ -283,7 +284,7 @@ |
104 |
|
105 |
# George Neville-Neil's timing module: |
106 |
|
107 |
-#timing timingmodule.c |
108 |
+timing timingmodule.c |
109 |
|
110 |
|
111 |
# The _tkinter module. |
112 |
@@ -298,13 +299,13 @@ |
113 |
# every system. |
114 |
|
115 |
# *** Always uncomment this (leave the leading underscore in!): |
116 |
-# _tkinter _tkinter.c tkappinit.c -DWITH_APPINIT \ |
117 |
+_tkinter _tkinter.c tkappinit.c -DWITH_APPINIT \ |
118 |
# *** Uncomment and edit to reflect where your Tcl/Tk libraries are: |
119 |
-# -L/usr/local/lib \ |
120 |
+ -L/usr/lib \ |
121 |
# *** Uncomment and edit to reflect where your Tcl/Tk headers are: |
122 |
-# -I/usr/local/include \ |
123 |
+ -I/usr/lib/tk8.4/include/generic -I/usr/lib/tcl8.4/include/generic \ |
124 |
# *** Uncomment and edit to reflect where your X11 header files are: |
125 |
-# -I/usr/X11R6/include \ |
126 |
+ -I/usr/X11R6/include \ |
127 |
# *** Or uncomment this for Solaris: |
128 |
# -I/usr/openwin/include \ |
129 |
# *** Uncomment and edit for Tix extension only: |
130 |
@@ -317,9 +318,9 @@ |
131 |
# *** Uncomment and edit for TOGL extension only: |
132 |
# -DWITH_TOGL togl.c \ |
133 |
# *** Uncomment and edit to reflect your Tcl/Tk versions: |
134 |
-# -ltk8.2 -ltcl8.2 \ |
135 |
+ -ltk8.4 -ltcl8.4 \ |
136 |
# *** Uncomment and edit to reflect where your X11 libraries are: |
137 |
-# -L/usr/X11R6/lib \ |
138 |
+ -L/usr/X11R6/lib \ |
139 |
# *** Or uncomment this for Solaris: |
140 |
# -L/usr/openwin/lib \ |
141 |
# *** Uncomment these for TOGL extension only: |
142 |
@@ -327,12 +328,12 @@ |
143 |
# *** Uncomment for AIX: |
144 |
# -lld \ |
145 |
# *** Always uncomment this; X11 libraries to link with: |
146 |
-# -lX11 |
147 |
+ -lX11 |
148 |
|
149 |
# Lance Ellinghaus's modules: |
150 |
|
151 |
-#rotor rotormodule.c # enigma-inspired encryption |
152 |
-#syslog syslogmodule.c # syslog daemon interface |
153 |
+rotor rotormodule.c # enigma-inspired encryption |
154 |
+syslog syslogmodule.c # syslog daemon interface |
155 |
|
156 |
|
157 |
# Curses support, requring the System V version of curses, often |
158 |
@@ -342,9 +343,9 @@ |
159 |
# |
160 |
# First, look at Setup.config; configure may have set this for you. |
161 |
|
162 |
-#_curses _cursesmodule.c -lcurses -ltermcap |
163 |
+_curses _cursesmodule.c -lncurses |
164 |
# Wrapper for the panel library that's part of ncurses and SYSV curses. |
165 |
-#_curses_panel _curses_panel.c -lpanel -lncurses |
166 |
+_curses_panel _curses_panel.c -lpanel -lncurses |
167 |
|
168 |
|
169 |
# Tommy Burnette's 'new' module (creates new empty objects of certain kinds): |
170 |
@@ -406,14 +407,14 @@ |
171 |
|
172 |
|
173 |
# Helper module for various ascii-encoders |
174 |
-#binascii binascii.c |
175 |
+binascii binascii.c |
176 |
|
177 |
# Fred Drake's interface to the Python parser |
178 |
-#parser parsermodule.c |
179 |
+parser parsermodule.c |
180 |
|
181 |
# Digital Creations' cStringIO and cPickle |
182 |
-#cStringIO cStringIO.c |
183 |
-#cPickle cPickle.c |
184 |
+cStringIO cStringIO.c |
185 |
+cPickle cPickle.c |
186 |
|
187 |
|
188 |
# Lee Busby's SIGFPE modules. |
189 |
@@ -436,7 +437,7 @@ |
190 |
# Andrew Kuchling's zlib module. |
191 |
# This require zlib 1.1.3 (or later). |
192 |
# See http://www.cdrom.com/pub/infozip/zlib/ |
193 |
-#zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib -lz |
194 |
+zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib -lz |
195 |
|
196 |
# Interface to the Expat XML parser |
197 |
# |
198 |
----------------------------------- |
199 |
|
200 |
---------------tcl-tk.patch---------------- |
201 |
--- dev-lang/tcl-tk/tcl-tk-8.4.2.ebuild Thu Aug 30 23:23:38 2001 |
202 |
+++ tcl-tk-8.4.2.ebuild Thu Oct 18 15:57:12 2001 |
203 |
@@ -57,9 +57,9 @@ |
204 |
install -c -m0644 ${S1}/unix/*.h ${D}/usr/lib/tcl${V1}/include/unix |
205 |
dodir /usr/lib/tcl${V1}/include/generic |
206 |
install -c -m0644 ${S1}/generic/*.h ${D}/usr/lib/tcl${V1}/include/generic |
207 |
- rm -f ${D}/usr/lib/tcl${V1}/include/generic/tcl.h |
208 |
- rm -f ${D}/usr/lib/tcl${V1}/include/generic/tclDecls.h |
209 |
- rm -f ${D}/usr/lib/tcl${V1}/include/generic/tclPlatDecls.h |
210 |
+ #rm -f ${D}/usr/lib/tcl${V1}/include/generic/tcl.h |
211 |
+ #rm -f ${D}/usr/lib/tcl${V1}/include/generic/tclDecls.h |
212 |
+ #rm -f ${D}/usr/lib/tcl${V1}/include/generic/tclPlatDecls.h |
213 |
|
214 |
# install symlink for libraries |
215 |
dosym /usr/lib/libtcl${V1}.a /usr/lib/libtcl.a |
216 |
@@ -78,12 +78,12 @@ |
217 |
|
218 |
# install private headers |
219 |
dodir /usr/lib/tk${V2}/include/unix |
220 |
- install -c -m0644 ${S1}/unix/*.h ${D}/usr/lib/tk${V2}/include/unix |
221 |
+ install -c -m0644 ${S2}/unix/*.h ${D}/usr/lib/tk${V2}/include/unix |
222 |
dodir /usr/lib/tk${V2}/include/generic |
223 |
- install -c -m0644 ${S1}/generic/*.h ${D}/usr/lib/tk${V2}/include/generic |
224 |
- rm -f ${D}/usr/lib/tk${V2}/include/generic/tk.h |
225 |
- rm -f ${D}/usr/lib/tk${V2}/include/generic/tkDecls.h |
226 |
- rm -f ${D}/usr/lib/tk${V2}/include/generic/tkPlatDecls.h |
227 |
+ install -c -m0644 ${S2}/generic/*.h ${D}/usr/lib/tk${V2}/include/generic |
228 |
+ #rm -f ${D}/usr/lib/tk${V2}/include/generic/tk.h |
229 |
+ #rm -f ${D}/usr/lib/tk${V2}/include/generic/tkDecls.h |
230 |
+ #rm -f ${D}/usr/lib/tk${V2}/include/generic/tkPlatDecls.h |
231 |
|
232 |
# install symlink for libraries |
233 |
dosym /usr/lib/libtk${V2}.a /usr/lib/libtk.a |
234 |
---------------------------------------------------- |