author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Thu, 24 Jan 2013 16:33:17 +0100 | |
changeset 3059 | 49f3f95a46e7 |
parent 3058 | 12d244adca63 |
child 3071 | aef6691fab99 |
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 |
|
2152 | 43 |
! ! |
2151 | 44 |
|
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 |
^ #( |
3054 | 52 |
#'stx:goodies/webServer' "HTTPServer - referenced by ApplicationModel class>>startAsWebService:onPort: " |
53 |
#'stx:libcompat' "TextAttributes - referenced by WindowBuilder>>resolveFont: " |
|
54 |
#'stx:libhtml' "HTMLDocumentView - referenced by ApplicationModel>>openDocumentationFile: " |
|
55 |
#'stx:libtool' "AboutBox - referenced by ToolApplicationModel class>>openAboutSTX " |
|
56 |
#'stx:libtool2' "ResourceSelectionBrowser - referenced by ResourceSpecEditor>>doLoad " |
|
57 |
#'stx:libui' "UISpecification - referenced by UIBuilder>>buildWindowFromSpec: " |
|
58 |
#'stx:libwidg' "Button - referenced by WindowBuilder>>resolveFont: " |
|
59 |
#'stx:libwidg2' "MenuPanel - referenced by Menu>>showCenteredIn: " |
|
2151 | 60 |
) |
2245 | 61 |
! |
62 |
||
63 |
preRequisites |
|
2838 | 64 |
"list all required packages. |
65 |
This list can be maintained manually or (better) generated and |
|
66 |
updated by scanning the superclass hierarchies and looking for |
|
67 |
global variable accesses. (the browser has a menu function for that) |
|
68 |
Howevery, often too much is found, and you may want to explicitely |
|
69 |
exclude individual packages in the #excludedFromPrerequisites method." |
|
70 |
||
2245 | 71 |
^ #( |
3054 | 72 |
#'stx:libbasic' "Object - superclass of PrinterContext " |
73 |
#'stx:libbasic2' "List - referenced by WindowBuilder>>listAspectFor: " |
|
74 |
#'stx:libview' "SimpleView - superclass of ApplicationWindow " |
|
2245 | 75 |
) |
2151 | 76 |
! ! |
77 |
||
2176 | 78 |
!stx_libview2 class methodsFor:'description - compilation'! |
79 |
||
2740 | 80 |
additionalBaseAddressDefinition_bc_dot_mak |
81 |
"this is an optional definition, which (if present) may speed up the dll-loading a little |
|
82 |
on win32 systems." |
|
83 |
||
2278 | 84 |
^ ' |
85 |
# see stdHeader_bc for LIBVIEW2_BASE |
|
2740 | 86 |
LIB_BASE=$(LIBVIEW2_BASE) |
87 |
' |
|
88 |
! |
|
2278 | 89 |
|
2740 | 90 |
additionalDefinitions_bc_dot_mak |
91 |
^ ' |
|
2965 | 92 |
LIBJPEG_DIR=$(TOP)\support\libjpeg-6a |
93 |
||
3042 | 94 |
!!if defined(USEMINGW32) || defined(USEMINGW64) |
95 |
LIBJPEG=$(LIBJPEG_DIR)\$(OBJDIR)\libjpeg.a |
|
2959 | 96 |
!!else |
3042 | 97 |
LIBJPEG=$(LIBJPEG_DIR)\$(OBJDIR)\libjpeg.lib |
2959 | 98 |
!!endif |
3042 | 99 |
|
2278 | 100 |
CLOCAL_INCL=-I"$(LIBJPEG_DIR)" |
101 |
' |
|
102 |
||
103 |
"Created: / 22-08-2006 / 23:58:05 / cg" |
|
104 |
! |
|
105 |
||
2151 | 106 |
additionalDefinitions_make_dot_proto |
107 |
^ ' |
|
108 |
NT_ADDITIONAL_DEFS:: |
|
3054 | 109 |
@-echo "LIBJPEG_DIR=$$(TOP)\\support\\libjpeg-6a" |
110 |
@-echo "LIBJPEG=$$(LIBJPEG_DIR)\libjpeg.lib" |
|
111 |
@-echo "CLOCAL_INCL=-I$$(LIBJPEG_DIR)" |
|
112 |
@-echo "LOCALLIBS=$$(LIBJPEG)" |
|
2151 | 113 |
|
114 |
NT_ADDITIONAL_RULES:: |
|
3054 | 115 |
@-echo "ALL:: $$(LIBJPEG)" |
116 |
@-echo |
|
117 |
@-echo "$$(LIBJPEG): |
|
118 |
@-echo "#cd $$(LIBJPEG_DIR)" | tr "#" "\\011" |
|
119 |
@-echo "#make.exe -f makefile.bcc32" | tr "#" "\\011" |
|
120 |
@-echo "#cd $$(TOP)\libview2" | tr ''#'' "\\011" |
|
2151 | 121 |
' |
122 |
||
123 |
"Created: / 22-08-2006 / 23:50:57 / cg" |
|
124 |
! |
|
125 |
||
2427 | 126 |
additionalLinkLibraries_bc_dot_mak |
127 |
^ '$(LIBJPEG)' |
|
128 |
! |
|
129 |
||
3058 | 130 |
additionalLinkLibraries_make_dot_proto |
131 |
^ '$(JPEGLIB_LD_ARG)' |
|
132 |
! |
|
133 |
||
2278 | 134 |
additionalRules_bc_dot_mak |
2151 | 135 |
^ ' |
2278 | 136 |
$(LIBJPEG): |
3054 | 137 |
cd $(LIBJPEG_DIR) |
138 |
$(MAKE_BAT) |
|
139 |
cd ..\..\libview2 |
|
2192 | 140 |
|
2278 | 141 |
$(OUTDIR)JPEGReader.$(O):: $(LIBJPEG_DIR)\jconfig.h |
142 |
||
143 |
$(LIBJPEG_DIR)\jconfig.h: $(LIBJPEG) |
|
2151 | 144 |
' |
145 |
||
2278 | 146 |
"Created: / 22-08-2006 / 23:58:29 / cg" |
2151 | 147 |
! |
148 |
||
149 |
additionalRules_make_dot_proto |
|
150 |
^ ' |
|
3058 | 151 |
|
152 |
libjpeg: $(LIBJPEG_DIR)/Makefile |
|
153 |
cd $(JPEGLIB_DIR); $(MAKE) $(MAKE_JPEGLIB_ARG) |
|
154 |
||
2151 | 155 |
# |
156 |
# prelink JPEGReader.o with libjpeg |
|
157 |
# |
|
3058 | 158 |
JPEGReader_prelinked: $(LIBJPEG) |
3054 | 159 |
@$(MAKE) JPEGReader.$(O) \ |
160 |
CC="$(LIBJPEG_CC)" \ |
|
161 |
OPT="$(LIBJPEG_OPT)" \ |
|
162 |
LOCALDEFS="-I$(LIBJPEG_DIR)" \ |
|
163 |
LIBNAME="$(LIBNAME)" \ |
|
164 |
STCOPT="$(STCOPT)" \ |
|
165 |
STCLOCALOPT="$(STCLOCALOPT)" \ |
|
166 |
CCLOCALOPT="$(CCLOCALOPT)" \ |
|
167 |
LINKOBJRULE="$(LINKOBJRULE)" |
|
168 |
@if [ "$(NO_PRELINK_LIBJPEG)" = "" ]; then \ |
|
169 |
echo; \ |
|
170 |
echo "prelinking JPEGReader with libjpeg ..."; \ |
|
171 |
echo; \ |
|
172 |
echo ld $(LD_REL_FLAG) -o JPEGReader.$(O) __JPEGReader.$(O) $(LIBJPEG); \ |
|
173 |
mv JPEGReader.$(O) __JPEGReader.$(O) && \ |
|
174 |
ld $(LD_REL_FLAG) -o JPEGReader.$(O) __JPEGReader.$(O) $(LIBJPEG) && \ |
|
175 |
rm -f __JPEGReader.$(O); \ |
|
176 |
echo; \ |
|
177 |
fi |
|
2151 | 178 |
|
2810 | 179 |
$(LIBJPEG): $(LIBJPEG_DIR)/.libs/libjpeg.a |
3054 | 180 |
cp $(LIBJPEG_DIR)/.libs/libjpeg.a $(LIBJPEG) |
2810 | 181 |
|
182 |
$(LIBJPEG_DIR)/.libs/libjpeg.a: $(LIBJPEG_DIR)/Makefile $(LIBJPEG_DIR)/*.c $(LIBJPEG_DIR)/*.h |
|
3054 | 183 |
@-echo |
184 |
@-echo "making libjpeg support library ..." |
|
185 |
@-echo |
|
186 |
cd $(LIBJPEG_DIR) \ |
|
187 |
&& $(MAKE) all CC="$(LIBJPEG_CC)" OPT="$(LIBJPEG_OPT)" CFLAGS="$(LIBJPEG_OPT) $(CCCONFOPT)" |
|
188 |
@-echo |
|
2151 | 189 |
|
2810 | 190 |
$(LIBJPEG_DIR)/Makefile: |
3054 | 191 |
@-echo |
192 |
@-echo "configure libjpeg support library ..." |
|
193 |
@-echo |
|
3059
49f3f95a46e7
Fixes for amd64_mode32 compilation
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3058
diff
changeset
|
194 |
cd $(LIBJPEG_DIR) && ./configure CFLAGS="$(LIBJPEG_OPT) $(CCCONFOPT)" |
2151 | 195 |
' |
196 |
||
197 |
"Created: / 22-08-2006 / 23:58:51 / cg" |
|
198 |
! |
|
199 |
||
2278 | 200 |
additionalTargets_bc_dot_mak |
201 |
"additional targets to be added to the nt.mak file." |
|
2151 | 202 |
|
2278 | 203 |
^ '$(LIBJPEG)' |
2151 | 204 |
|
2278 | 205 |
"Created: / 23-08-2006 / 00:01:19 / cg" |
2151 | 206 |
! |
207 |
||
208 |
additionalTargets_make_dot_proto |
|
209 |
"additional targets to be added to the make.proto file." |
|
210 |
||
3058 | 211 |
^ '$(JPEGLIB_MAKE_TARGET) $(JPEGREADER_PRELINKED)' |
2151 | 212 |
|
213 |
"Created: / 22-08-2006 / 23:54:37 / cg" |
|
214 |
! |
|
215 |
||
2192 | 216 |
stcOptimizationOptions |
217 |
^ '+optspace2 -warnNonStandard' |
|
218 |
||
219 |
"Created: / 23-08-2006 / 11:27:11 / cg" |
|
220 |
! ! |
|
221 |
||
2201 | 222 |
!stx_libview2 class methodsFor:'description - contents'! |
223 |
||
224 |
classNamesAndAttributes |
|
2838 | 225 |
"lists the classes which are to be included in the project. |
226 |
Each entry in the list may be: a single class-name (symbol), |
|
227 |
or an array-literal consisting of class name and attributes. |
|
228 |
Attributes are: #autoload or #<os> where os is one of win32, unix,..." |
|
229 |
||
2201 | 230 |
^ #( |
3054 | 231 |
"<className> or (<className> attributes...) in load order" |
232 |
(AVIReader autoload) |
|
233 |
ActiveHelpView |
|
234 |
(ApplicationController autoload) |
|
235 |
ApplicationSubView |
|
236 |
ApplicationWindow |
|
237 |
(BlitImageReader autoload) |
|
238 |
(BorderedWrapper autoload) |
|
239 |
(BoundedWrapper autoload) |
|
240 |
ColorValue |
|
241 |
(CompositePart autoload) |
|
242 |
(CompositeTransform autoload) |
|
243 |
(ConvertedValue autoload) |
|
244 |
(DependentPart autoload) |
|
245 |
DisplayObject |
|
246 |
(DisplayTransform autoload) |
|
247 |
DragAndDropManager |
|
248 |
DragHandler |
|
249 |
DrawAdaptor |
|
250 |
DropContext |
|
251 |
DropObject |
|
252 |
DropSource |
|
253 |
DropTarget |
|
254 |
EventListener |
|
255 |
ExternalTopView |
|
256 |
(FLIReader autoload) |
|
257 |
(FaceReader autoload) |
|
258 |
(FillingWrapper autoload) |
|
259 |
GIFReader |
|
260 |
(GeometricWrapper autoload) |
|
261 |
(HersheyFont autoload) |
|
262 |
Icon |
|
263 |
ImageFrame |
|
264 |
ImageSequence |
|
265 |
InputView |
|
266 |
(Insets autoload) |
|
267 |
(IrisRGBReader autoload) |
|
268 |
JPEGReader |
|
269 |
KeyboardProcessor |
|
270 |
Layout |
|
271 |
(LayoutWrapper autoload) |
|
272 |
MIMETypeIconLibrary |
|
273 |
MIMETypes |
|
274 |
(MatrixTransform2x3 autoload) |
|
275 |
Model |
|
276 |
Menu |
|
277 |
MenuItem |
|
278 |
MultiImage |
|
279 |
(PBMReader autoload) |
|
280 |
(PCXReader autoload) |
|
281 |
(PICTReader autoload) |
|
282 |
PNGReader |
|
283 |
(PluggableView autoload) |
|
284 |
PopUpBanner |
|
285 |
PrintConverter |
|
286 |
PrinterContext |
|
287 |
PropertyListDictionary |
|
288 |
(RIFFReader autoload) |
|
289 |
ResourceRetriever |
|
290 |
(ST80FormReader autoload) |
|
291 |
(ScreenLock autoload) |
|
292 |
StandardSystemController |
|
293 |
(StrokingOrFillingWrapper autoload) |
|
294 |
(StrokingWrapper autoload) |
|
295 |
(SunRasterReader autoload) |
|
296 |
TIFFReader |
|
297 |
(TargaReader autoload) |
|
298 |
(TranslatingWrapper autoload) |
|
299 |
TransparentBox |
|
300 |
(ViewForwardingController autoload) |
|
301 |
VisualRegion |
|
302 |
(WinPrinterContext win32) |
|
303 |
(WinPrinterStream win32) |
|
304 |
WindowBuilder |
|
305 |
WindowsIconReader |
|
306 |
(Wrapper autoload) |
|
307 |
XBMReader |
|
308 |
XPMReader |
|
309 |
(XWDReader autoload) |
|
310 |
#'stx_libview2' |
|
311 |
ActiveHelp |
|
312 |
ApplicationModel |
|
313 |
LayoutOrigin |
|
314 |
Plug |
|
315 |
UIBuilder |
|
316 |
ValueModel |
|
317 |
VisualComponent |
|
318 |
AlignmentOrigin |
|
319 |
BlockValue |
|
320 |
FlyByHelp |
|
321 |
IndirectValue |
|
322 |
LayoutFrame |
|
323 |
PluggableAdaptor |
|
324 |
ProtocolAdaptor |
|
325 |
SimpleDialog |
|
326 |
ToolApplicationModel |
|
327 |
ValueHolder |
|
328 |
VisualPart |
|
329 |
AspectAdaptor |
|
330 |
BooleanBlockValue |
|
331 |
BooleanValueHolder |
|
332 |
BufferedValueHolder |
|
333 |
DictionaryAdaptor |
|
334 |
RangeAdaptor |
|
335 |
ResourceSpecEditor |
|
336 |
TriggerValue |
|
337 |
TypeConverter |
|
338 |
ValueHolderWithWeakDependents |
|
339 |
AspectAdaptorWithDefault |
|
2201 | 340 |
) |
2729 | 341 |
! |
342 |
||
343 |
extensionMethodNames |
|
2838 | 344 |
"lists the extension methods which are to be included in the project. |
345 |
Entries are 2-element array literals, consisting of class-name and selector." |
|
346 |
||
2729 | 347 |
^ #( |
3054 | 348 |
CharacterArray asMimeType |
2729 | 349 |
) |
2201 | 350 |
! ! |
351 |
||
2192 | 352 |
!stx_libview2 class methodsFor:'description - project information'! |
353 |
||
2151 | 354 |
companyName |
355 |
"Return a companyname which will appear in <lib>.rc" |
|
356 |
||
357 |
^ 'eXept Software AG' |
|
358 |
! |
|
359 |
||
360 |
description |
|
361 |
"Return a description string which will appear in nt.def / bc.def" |
|
362 |
||
2152 | 363 |
^ 'Smalltalk/X Additional Graphic Interfacing' |
364 |
! |
|
365 |
||
2151 | 366 |
legalCopyright |
367 |
"Return copyright string which will appear in <lib>.rc" |
|
368 |
||
3010 | 369 |
^ 'Copyright Claus Gittinger 1988-2012\nCopyright eXept Software AG 1998-2012' |
2350 | 370 |
|
3010 | 371 |
"Modified: / 18-07-2012 / 19:12:07 / cg" |
2151 | 372 |
! ! |
373 |
||
374 |
!stx_libview2 class methodsFor:'documentation'! |
|
375 |
||
376 |
version |
|
3059
49f3f95a46e7
Fixes for amd64_mode32 compilation
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3058
diff
changeset
|
377 |
^ '$Header: /cvs/stx/stx/libview2/stx_libview2.st,v 1.57 2013-01-24 15:33:17 vrany Exp $' |
2796 | 378 |
! |
379 |
||
380 |
version_CVS |
|
3059
49f3f95a46e7
Fixes for amd64_mode32 compilation
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3058
diff
changeset
|
381 |
^ '$Header: /cvs/stx/stx/libview2/stx_libview2.st,v 1.57 2013-01-24 15:33:17 vrany Exp $' |
2151 | 382 |
! ! |