author | Stefan Vogel <sv@exept.de> |
Fri, 25 Jan 2013 13:33:02 +0100 | |
changeset 3082 | a395ac282376 |
parent 3081 | c31be64e085f |
child 3092 | fbe40b7e8c08 |
permissions | -rw-r--r-- |
2152 | 1 |
" |
2 |
COPYRIGHT (c) 2006 by eXept Software AG |
|
3054 | 3 |
All Rights Reserved |
2152 | 4 |
|
5 |
This software is furnished under a license and may be used |
|
6 |
only in accordance with the terms of that license and with the |
|
7 |
inclusion of the above copyright notice. This software may not |
|
8 |
be provided or otherwise made available to, or used by, any |
|
9 |
other person. No title to or ownership of the software is |
|
10 |
hereby transferred. |
|
11 |
" |
|
2151 | 12 |
"{ Package: 'stx:libview2' }" |
13 |
||
14 |
LibraryDefinition subclass:#stx_libview2 |
|
15 |
instanceVariableNames:'' |
|
16 |
classVariableNames:'' |
|
17 |
poolDictionaries:'' |
|
2290 | 18 |
category:'* Projects & Packages *' |
2151 | 19 |
! |
20 |
||
2152 | 21 |
!stx_libview2 class methodsFor:'documentation'! |
22 |
||
23 |
copyright |
|
24 |
" |
|
25 |
COPYRIGHT (c) 2006 by eXept Software AG |
|
3054 | 26 |
All Rights Reserved |
2152 | 27 |
|
28 |
This software is furnished under a license and may be used |
|
29 |
only in accordance with the terms of that license and with the |
|
30 |
inclusion of the above copyright notice. This software may not |
|
31 |
be provided or otherwise made available to, or used by, any |
|
32 |
other person. No title to or ownership of the software is |
|
33 |
hereby transferred. |
|
34 |
" |
|
35 |
! |
|
36 |
||
37 |
documentation |
|
38 |
" |
|
3031 | 39 |
Build- and package information for creation of the st/x standard library: stx_libview2. |
2152 | 40 |
This library contains additional graphics-interfacing components and infrastructure. |
41 |
" |
|
2796 | 42 |
|
3071 | 43 |
! |
44 |
||
2151 | 45 |
!stx_libview2 class methodsFor:'description'! |
46 |
||
2332 | 47 |
excludedFromPreRequisites |
2838 | 48 |
"list all packages which should be ignored in the automatic |
49 |
preRequisites scan. See #preRequisites for more." |
|
50 |
||
2332 | 51 |
^ #( |
3071 | 52 |
#'exept:httpPortal' "HTTPPortalService - referenced by ApplicationModel class>>startAsWebService:onPort: " |
2151 | 53 |
) |
2245 | 54 |
! |
55 |
||
56 |
preRequisites |
|
2838 | 57 |
"list all required packages. |
58 |
This list can be maintained manually or (better) generated and |
|
59 |
updated by scanning the superclass hierarchies and looking for |
|
60 |
global variable accesses. (the browser has a menu function for that) |
|
61 |
Howevery, often too much is found, and you may want to explicitely |
|
62 |
exclude individual packages in the #excludedFromPrerequisites method." |
|
63 |
||
2245 | 64 |
^ #( |
3071 | 65 |
#'stx:libbasic' "Dictionary - superclass of PropertyListDictionary " |
66 |
#'stx:libbasic2' "RunArray - referenced by MenuItem>>filteredLabel " |
|
67 |
#'stx:libview' "TopView - superclass of ApplicationWindow " |
|
2245 | 68 |
) |
2151 | 69 |
! ! |
70 |
||
2176 | 71 |
!stx_libview2 class methodsFor:'description - compilation'! |
72 |
||
2740 | 73 |
additionalBaseAddressDefinition_bc_dot_mak |
74 |
"this is an optional definition, which (if present) may speed up the dll-loading a little |
|
75 |
on win32 systems." |
|
76 |
||
2278 | 77 |
^ ' |
78 |
# see stdHeader_bc for LIBVIEW2_BASE |
|
2740 | 79 |
LIB_BASE=$(LIBVIEW2_BASE) |
80 |
' |
|
81 |
! |
|
2278 | 82 |
|
2740 | 83 |
additionalDefinitions_bc_dot_mak |
84 |
^ ' |
|
2965 | 85 |
LIBJPEG_DIR=$(TOP)\support\libjpeg-6a |
86 |
||
3042 | 87 |
!!if defined(USEMINGW32) || defined(USEMINGW64) |
88 |
LIBJPEG=$(LIBJPEG_DIR)\$(OBJDIR)\libjpeg.a |
|
2959 | 89 |
!!else |
3042 | 90 |
LIBJPEG=$(LIBJPEG_DIR)\$(OBJDIR)\libjpeg.lib |
2959 | 91 |
!!endif |
3042 | 92 |
|
2278 | 93 |
CLOCAL_INCL=-I"$(LIBJPEG_DIR)" |
94 |
' |
|
95 |
||
96 |
"Created: / 22-08-2006 / 23:58:05 / cg" |
|
97 |
! |
|
98 |
||
2427 | 99 |
additionalLinkLibraries_bc_dot_mak |
100 |
^ '$(LIBJPEG)' |
|
101 |
! |
|
102 |
||
3058 | 103 |
additionalLinkLibraries_make_dot_proto |
104 |
^ '$(JPEGLIB_LD_ARG)' |
|
105 |
! |
|
106 |
||
2278 | 107 |
additionalRules_bc_dot_mak |
2151 | 108 |
^ ' |
2278 | 109 |
$(LIBJPEG): |
3054 | 110 |
cd $(LIBJPEG_DIR) |
111 |
$(MAKE_BAT) |
|
112 |
cd ..\..\libview2 |
|
2192 | 113 |
|
2278 | 114 |
$(OUTDIR)JPEGReader.$(O):: $(LIBJPEG_DIR)\jconfig.h |
115 |
||
116 |
$(LIBJPEG_DIR)\jconfig.h: $(LIBJPEG) |
|
2151 | 117 |
' |
118 |
||
2278 | 119 |
"Created: / 22-08-2006 / 23:58:29 / cg" |
2151 | 120 |
! |
121 |
||
122 |
additionalRules_make_dot_proto |
|
123 |
^ ' |
|
3058 | 124 |
|
3081 | 125 |
libjpeg: $(LIBJPEG_DIR)/Makefile |
126 |
cd $(LIBJPEG_DIR); $(MAKE) $(MAKE_JPEGLIB_ARG) |
|
3058 | 127 |
|
2151 | 128 |
# |
129 |
# prelink JPEGReader.o with libjpeg |
|
130 |
# |
|
3058 | 131 |
JPEGReader_prelinked: $(LIBJPEG) |
3071 | 132 |
@$(MAKE) JPEGReader.$(O) \ |
133 |
CC="$(LIBJPEG_CC)" \ |
|
134 |
OPT="$(LIBJPEG_OPT)" \ |
|
135 |
LOCALDEFS="-I$(LIBJPEG_DIR)" \ |
|
136 |
LIBNAME="$(LIBNAME)" \ |
|
137 |
STCOPT="$(STCOPT)" \ |
|
138 |
STCLOCALOPT="$(STCLOCALOPT)" \ |
|
139 |
CCLOCALOPT="$(CCLOCALOPT)" \ |
|
140 |
LINKOBJRULE="$(LINKOBJRULE)" |
|
141 |
@if [ "$(NO_PRELINK_LIBJPEG)" = "" ]; then \ |
|
142 |
echo; \ |
|
143 |
echo "prelinking JPEGReader with libjpeg ..."; \ |
|
144 |
echo; \ |
|
145 |
echo ld $(LD_REL_FLAG) -o JPEGReader.$(O) __JPEGReader.$(O) $(LIBJPEG); \ |
|
146 |
mv JPEGReader.$(O) __JPEGReader.$(O) && \ |
|
147 |
ld $(LD_REL_FLAG) -o JPEGReader.$(O) __JPEGReader.$(O) $(LIBJPEG) && \ |
|
148 |
rm -f __JPEGReader.$(O); \ |
|
149 |
echo; \ |
|
150 |
fi |
|
2151 | 151 |
|
2810 | 152 |
$(LIBJPEG): $(LIBJPEG_DIR)/.libs/libjpeg.a |
3071 | 153 |
cp $(LIBJPEG_DIR)/.libs/libjpeg.a $(LIBJPEG) |
2810 | 154 |
|
155 |
$(LIBJPEG_DIR)/.libs/libjpeg.a: $(LIBJPEG_DIR)/Makefile $(LIBJPEG_DIR)/*.c $(LIBJPEG_DIR)/*.h |
|
3071 | 156 |
@-echo |
157 |
@-echo "making libjpeg support library ..." |
|
158 |
@-echo |
|
159 |
cd $(LIBJPEG_DIR) \ |
|
160 |
&& $(MAKE) all CC="$(LIBJPEG_CC)" OPT="$(LIBJPEG_OPT)" CFLAGS="$(LIBJPEG_OPT) $(CCCONFOPT)" |
|
161 |
@-echo |
|
2151 | 162 |
|
2810 | 163 |
$(LIBJPEG_DIR)/Makefile: |
3071 | 164 |
@-echo |
165 |
@-echo "configure libjpeg support library ..." |
|
166 |
@-echo |
|
167 |
cd $(LIBJPEG_DIR) && ./configure CC="$(LIBJPEG_CC)" OPT="$(LIBJPEG_OPT)" CFLAGS="$(LIBJPEG_OPT) $(CCCONFOPT)"' |
|
2151 | 168 |
|
169 |
"Created: / 22-08-2006 / 23:58:51 / cg" |
|
170 |
! |
|
171 |
||
2278 | 172 |
additionalTargets_bc_dot_mak |
173 |
"additional targets to be added to the nt.mak file." |
|
2151 | 174 |
|
2278 | 175 |
^ '$(LIBJPEG)' |
2151 | 176 |
|
2278 | 177 |
"Created: / 23-08-2006 / 00:01:19 / cg" |
2151 | 178 |
! |
179 |
||
180 |
additionalTargets_make_dot_proto |
|
181 |
"additional targets to be added to the make.proto file." |
|
182 |
||
3058 | 183 |
^ '$(JPEGLIB_MAKE_TARGET) $(JPEGREADER_PRELINKED)' |
2151 | 184 |
|
185 |
"Created: / 22-08-2006 / 23:54:37 / cg" |
|
186 |
! |
|
187 |
||
2192 | 188 |
stcOptimizationOptions |
189 |
^ '+optspace2 -warnNonStandard' |
|
190 |
||
191 |
"Created: / 23-08-2006 / 11:27:11 / cg" |
|
192 |
! ! |
|
193 |
||
2201 | 194 |
!stx_libview2 class methodsFor:'description - contents'! |
195 |
||
196 |
classNamesAndAttributes |
|
2838 | 197 |
"lists the classes which are to be included in the project. |
198 |
Each entry in the list may be: a single class-name (symbol), |
|
199 |
or an array-literal consisting of class name and attributes. |
|
200 |
Attributes are: #autoload or #<os> where os is one of win32, unix,..." |
|
201 |
||
2201 | 202 |
^ #( |
3071 | 203 |
"<className> or (<className> attributes...) in load order" |
204 |
(AVIReader autoload) |
|
205 |
ActiveHelpView |
|
206 |
(ApplicationController autoload) |
|
207 |
ApplicationSubView |
|
208 |
ApplicationWindow |
|
209 |
(BlitImageReader autoload) |
|
210 |
(BorderedWrapper autoload) |
|
211 |
(BoundedWrapper autoload) |
|
212 |
ColorValue |
|
213 |
(CompositePart autoload) |
|
214 |
(CompositeTransform autoload) |
|
215 |
(ConvertedValue autoload) |
|
216 |
(DependentPart autoload) |
|
217 |
DisplayObject |
|
218 |
(DisplayTransform autoload) |
|
219 |
DragAndDropManager |
|
220 |
DragHandler |
|
221 |
DrawAdaptor |
|
222 |
DropContext |
|
223 |
DropObject |
|
224 |
DropSource |
|
225 |
DropTarget |
|
226 |
EventListener |
|
227 |
ExternalTopView |
|
228 |
(FLIReader autoload) |
|
229 |
(FaceReader autoload) |
|
230 |
(FillingWrapper autoload) |
|
231 |
GIFReader |
|
232 |
(GeometricWrapper autoload) |
|
233 |
(HersheyFont autoload) |
|
234 |
Icon |
|
235 |
ImageFrame |
|
236 |
ImageSequence |
|
237 |
InputView |
|
238 |
(Insets autoload) |
|
239 |
(IrisRGBReader autoload) |
|
240 |
JPEGReader |
|
241 |
KeyboardProcessor |
|
242 |
Layout |
|
243 |
(LayoutWrapper autoload) |
|
244 |
MIMETypeIconLibrary |
|
245 |
MIMETypes |
|
246 |
(MatrixTransform2x3 autoload) |
|
247 |
Model |
|
248 |
Menu |
|
249 |
MenuItem |
|
250 |
MultiImage |
|
251 |
(PBMReader autoload) |
|
252 |
(PCXReader autoload) |
|
253 |
(PICTReader autoload) |
|
254 |
PNGReader |
|
255 |
(PluggableView autoload) |
|
256 |
PopUpBanner |
|
257 |
PrintConverter |
|
258 |
PrinterContext |
|
259 |
PropertyListDictionary |
|
260 |
(RIFFReader autoload) |
|
261 |
ResourceRetriever |
|
262 |
(ST80FormReader autoload) |
|
263 |
(ScreenLock autoload) |
|
264 |
StandardSystemController |
|
265 |
(StrokingOrFillingWrapper autoload) |
|
266 |
(StrokingWrapper autoload) |
|
267 |
(SunRasterReader autoload) |
|
268 |
TIFFReader |
|
269 |
(TargaReader autoload) |
|
270 |
(TranslatingWrapper autoload) |
|
271 |
TransparentBox |
|
272 |
(ViewForwardingController autoload) |
|
273 |
VisualRegion |
|
274 |
(WinPrinterContext win32) |
|
275 |
(WinPrinterStream win32) |
|
276 |
WindowBuilder |
|
277 |
WindowsIconReader |
|
278 |
(Wrapper autoload) |
|
279 |
XBMReader |
|
280 |
XPMReader |
|
281 |
(XWDReader autoload) |
|
282 |
#'stx_libview2' |
|
283 |
ActiveHelp |
|
284 |
ApplicationModel |
|
285 |
LayoutOrigin |
|
286 |
Plug |
|
287 |
UIBuilder |
|
288 |
ValueModel |
|
289 |
VisualComponent |
|
290 |
AlignmentOrigin |
|
291 |
BlockValue |
|
292 |
FlyByHelp |
|
293 |
IndirectValue |
|
294 |
LayoutFrame |
|
295 |
PluggableAdaptor |
|
296 |
ProtocolAdaptor |
|
297 |
SimpleDialog |
|
298 |
ToolApplicationModel |
|
299 |
ValueHolder |
|
300 |
VisualPart |
|
301 |
AspectAdaptor |
|
302 |
BooleanBlockValue |
|
303 |
BooleanValueHolder |
|
304 |
BufferedValueHolder |
|
305 |
DictionaryAdaptor |
|
306 |
RangeAdaptor |
|
307 |
ResourceSpecEditor |
|
308 |
TriggerValue |
|
309 |
TypeConverter |
|
310 |
ValueHolderWithWeakDependents |
|
311 |
AspectAdaptorWithDefault |
|
2201 | 312 |
) |
2729 | 313 |
! |
314 |
||
315 |
extensionMethodNames |
|
2838 | 316 |
"lists the extension methods which are to be included in the project. |
317 |
Entries are 2-element array literals, consisting of class-name and selector." |
|
318 |
||
2729 | 319 |
^ #( |
3071 | 320 |
CharacterArray asMimeType |
2729 | 321 |
) |
2201 | 322 |
! ! |
323 |
||
2192 | 324 |
!stx_libview2 class methodsFor:'description - project information'! |
325 |
||
2151 | 326 |
companyName |
327 |
"Return a companyname which will appear in <lib>.rc" |
|
328 |
||
329 |
^ 'eXept Software AG' |
|
330 |
! |
|
331 |
||
332 |
description |
|
333 |
"Return a description string which will appear in nt.def / bc.def" |
|
334 |
||
2152 | 335 |
^ 'Smalltalk/X Additional Graphic Interfacing' |
336 |
! |
|
337 |
||
2151 | 338 |
legalCopyright |
339 |
"Return copyright string which will appear in <lib>.rc" |
|
340 |
||
3010 | 341 |
^ 'Copyright Claus Gittinger 1988-2012\nCopyright eXept Software AG 1998-2012' |
2350 | 342 |
|
3010 | 343 |
"Modified: / 18-07-2012 / 19:12:07 / cg" |
2151 | 344 |
! ! |
345 |
||
346 |
!stx_libview2 class methodsFor:'documentation'! |
|
347 |
||
348 |
version |
|
3082
a395ac282376
Oops - duplicate extensions_version??
Stefan Vogel <sv@exept.de>
parents:
3081
diff
changeset
|
349 |
^ '$Header: /cvs/stx/stx/libview2/stx_libview2.st,v 1.61 2013-01-25 12:33:02 stefan Exp $' |
2796 | 350 |
! |
351 |
||
352 |
version_CVS |
|
3082
a395ac282376
Oops - duplicate extensions_version??
Stefan Vogel <sv@exept.de>
parents:
3081
diff
changeset
|
353 |
^ '$Header: /cvs/stx/stx/libview2/stx_libview2.st,v 1.61 2013-01-25 12:33:02 stefan Exp $' |
2151 | 354 |
! ! |
3071 | 355 |