author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Fri, 19 Feb 2016 09:35:22 +0000 | |
branch | jv |
changeset 3567 | 278c744dff7b |
parent 3512 | 3fdf9e113327 |
child 3627 | cbdde0dc5239 |
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 |
||
3441
48a344f75d27
comment/format in: #documentation
Claus Gittinger <cg@exept.de>
parents:
3434
diff
changeset
|
14 |
"{ NameSpace: Smalltalk }" |
48a344f75d27
comment/format in: #documentation
Claus Gittinger <cg@exept.de>
parents:
3434
diff
changeset
|
15 |
|
2151 | 16 |
LibraryDefinition subclass:#stx_libview2 |
17 |
instanceVariableNames:'' |
|
18 |
classVariableNames:'' |
|
19 |
poolDictionaries:'' |
|
2290 | 20 |
category:'* Projects & Packages *' |
2151 | 21 |
! |
22 |
||
2152 | 23 |
!stx_libview2 class methodsFor:'documentation'! |
24 |
||
25 |
copyright |
|
26 |
" |
|
27 |
COPYRIGHT (c) 2006 by eXept Software AG |
|
3054 | 28 |
All Rights Reserved |
2152 | 29 |
|
30 |
This software is furnished under a license and may be used |
|
31 |
only in accordance with the terms of that license and with the |
|
32 |
inclusion of the above copyright notice. This software may not |
|
33 |
be provided or otherwise made available to, or used by, any |
|
34 |
other person. No title to or ownership of the software is |
|
35 |
hereby transferred. |
|
36 |
" |
|
37 |
! |
|
38 |
||
39 |
documentation |
|
40 |
" |
|
3441
48a344f75d27
comment/format in: #documentation
Claus Gittinger <cg@exept.de>
parents:
3434
diff
changeset
|
41 |
Package Documentation |
48a344f75d27
comment/format in: #documentation
Claus Gittinger <cg@exept.de>
parents:
3434
diff
changeset
|
42 |
|
2152 | 43 |
This library contains additional graphics-interfacing components and infrastructure. |
3446 | 44 |
This includes support classes for the applciationModel framework, and readers/writers |
45 |
for various bitmap image file formats (PNG, GIF, TIFF, etc.) |
|
46 |
||
47 |
As with libview, this does not contain medium level widget classes or applications/tools. |
|
2152 | 48 |
" |
3101
8650cfc63b66
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3093
diff
changeset
|
49 |
! ! |
8650cfc63b66
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3093
diff
changeset
|
50 |
|
2151 | 51 |
!stx_libview2 class methodsFor:'description'! |
52 |
||
2332 | 53 |
excludedFromPreRequisites |
2838 | 54 |
"list all packages which should be ignored in the automatic |
55 |
preRequisites scan. See #preRequisites for more." |
|
56 |
||
2332 | 57 |
^ #( |
3106
77e6e44d3c04
extensionsVersion method SHALL NOT be here
Claus Gittinger <cg@exept.de>
parents:
3105
diff
changeset
|
58 |
#'stx:goodies/webServer' "HTTPServer - referenced by ApplicationModel>>initializeWebServiceDevice " |
77e6e44d3c04
extensionsVersion method SHALL NOT be here
Claus Gittinger <cg@exept.de>
parents:
3105
diff
changeset
|
59 |
#'exept:httpPortal' "HTTPPortalService - referenced by ApplicationModel class>>startAsWebService:onPort: " |
77e6e44d3c04
extensionsVersion method SHALL NOT be here
Claus Gittinger <cg@exept.de>
parents:
3105
diff
changeset
|
60 |
#'stx:libwidg' "Label - referenced by ActiveHelpView>>contents: " |
77e6e44d3c04
extensionsVersion method SHALL NOT be here
Claus Gittinger <cg@exept.de>
parents:
3105
diff
changeset
|
61 |
#'stx:libwidg2' "LabelAndIcon - referenced by MenuItem>>labelImage: " |
77e6e44d3c04
extensionsVersion method SHALL NOT be here
Claus Gittinger <cg@exept.de>
parents:
3105
diff
changeset
|
62 |
#'stx:libtool' "AboutBox - referenced by ToolApplicationModel>>xxopenAboutThisApplication " |
77e6e44d3c04
extensionsVersion method SHALL NOT be here
Claus Gittinger <cg@exept.de>
parents:
3105
diff
changeset
|
63 |
#'stx:libtool2' "ImageEditor - referenced by ResourceSpecEditor>>doEditImage " |
77e6e44d3c04
extensionsVersion method SHALL NOT be here
Claus Gittinger <cg@exept.de>
parents:
3105
diff
changeset
|
64 |
#'stx:libcompat' "TextAttributes - referenced by WindowBuilder>>resolveFont: " |
77e6e44d3c04
extensionsVersion method SHALL NOT be here
Claus Gittinger <cg@exept.de>
parents:
3105
diff
changeset
|
65 |
#'stx:libhtml' "HTMLDocumentView - referenced by ApplicationModel>>openDocumentationFile: " |
2151 | 66 |
) |
2245 | 67 |
! |
68 |
||
3101
8650cfc63b66
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3093
diff
changeset
|
69 |
mandatoryPreRequisites |
8650cfc63b66
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3093
diff
changeset
|
70 |
"list all required mandatory packages. |
8650cfc63b66
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3093
diff
changeset
|
71 |
Packages are mandatory, if they contain superclasses of the package's classes |
8650cfc63b66
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3093
diff
changeset
|
72 |
or classes which are extended by this package. |
2838 | 73 |
This list can be maintained manually or (better) generated and |
3101
8650cfc63b66
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3093
diff
changeset
|
74 |
updated by scanning the superclass hierarchies |
8650cfc63b66
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3093
diff
changeset
|
75 |
(the browser has a menu function for that) |
8650cfc63b66
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3093
diff
changeset
|
76 |
However, often too much is found, and you may want to explicitely |
8650cfc63b66
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3093
diff
changeset
|
77 |
exclude individual packages in the #excludedFromPreRequisites method." |
2838 | 78 |
|
2245 | 79 |
^ #( |
3177 | 80 |
#'stx:libbasic' "ArrayedCollection - extended " |
81 |
#'stx:libbasic2' "PrinterStream - superclass of WinPrinterStream " |
|
82 |
#'stx:libview' "Color - superclass of ColorValue " |
|
3101
8650cfc63b66
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3093
diff
changeset
|
83 |
) |
8650cfc63b66
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3093
diff
changeset
|
84 |
! |
8650cfc63b66
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3093
diff
changeset
|
85 |
|
8650cfc63b66
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3093
diff
changeset
|
86 |
referencedPreRequisites |
8650cfc63b66
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3093
diff
changeset
|
87 |
"list all packages containing classes referenced by the packages's members. |
8650cfc63b66
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3093
diff
changeset
|
88 |
This list can be maintained manually or (better) generated and |
8650cfc63b66
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3093
diff
changeset
|
89 |
updated by looking for global variable accesses |
8650cfc63b66
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3093
diff
changeset
|
90 |
(the browser has a menu function for that) |
8650cfc63b66
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3093
diff
changeset
|
91 |
However, often too much is found, and you may want to explicitely |
8650cfc63b66
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3093
diff
changeset
|
92 |
exclude individual packages in the #excludedFromPreRequisites method." |
8650cfc63b66
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3093
diff
changeset
|
93 |
|
8650cfc63b66
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3093
diff
changeset
|
94 |
^ #( |
3177 | 95 |
#'stx:libui' "ComponentSpec - referenced by UIBuilder>>add: " |
96 |
) |
|
97 |
! |
|
98 |
||
99 |
subProjects |
|
100 |
"list packages which are known as subprojects. |
|
101 |
The generated makefile will enter those and make there as well. |
|
102 |
However: they are not forced to be loaded when a package is loaded; |
|
103 |
for those, redefine requiredPrerequisites" |
|
104 |
||
105 |
^ #( |
|
2245 | 106 |
) |
2151 | 107 |
! ! |
108 |
||
2176 | 109 |
!stx_libview2 class methodsFor:'description - compilation'! |
110 |
||
2740 | 111 |
additionalBaseAddressDefinition_bc_dot_mak |
112 |
"this is an optional definition, which (if present) may speed up the dll-loading a little |
|
113 |
on win32 systems." |
|
114 |
||
2278 | 115 |
^ ' |
116 |
# see stdHeader_bc for LIBVIEW2_BASE |
|
2740 | 117 |
LIB_BASE=$(LIBVIEW2_BASE) |
118 |
' |
|
119 |
! |
|
2278 | 120 |
|
2740 | 121 |
additionalDefinitions_bc_dot_mak |
122 |
^ ' |
|
3567
278c744dff7b
Use standard configure & make to build libjpeg-9 under Windows/MinGW
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3512
diff
changeset
|
123 |
#LIBJPEG_DIR=$(TOP)\support\libjpeg-6a |
278c744dff7b
Use standard configure & make to build libjpeg-9 under Windows/MinGW
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3512
diff
changeset
|
124 |
LIBJPEG_DIR=$(TOP)\support\libjpeg-9 |
2965 | 125 |
|
3042 | 126 |
!!if defined(USEMINGW32) || defined(USEMINGW64) |
3567
278c744dff7b
Use standard configure & make to build libjpeg-9 under Windows/MinGW
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3512
diff
changeset
|
127 |
LIBJPEG=$(LIBJPEG_DIR)\.libs\libjpeg.a |
278c744dff7b
Use standard configure & make to build libjpeg-9 under Windows/MinGW
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3512
diff
changeset
|
128 |
!! if defined(USEMINGW32) |
278c744dff7b
Use standard configure & make to build libjpeg-9 under Windows/MinGW
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3512
diff
changeset
|
129 |
LIBJPEG_TARGET = i686-pc-mingw32 |
278c744dff7b
Use standard configure & make to build libjpeg-9 under Windows/MinGW
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3512
diff
changeset
|
130 |
!! else |
278c744dff7b
Use standard configure & make to build libjpeg-9 under Windows/MinGW
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3512
diff
changeset
|
131 |
LIBJPEG_TARGET = x86_64-w64-mingw32 |
278c744dff7b
Use standard configure & make to build libjpeg-9 under Windows/MinGW
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3512
diff
changeset
|
132 |
!! endif |
2959 | 133 |
!!else |
3042 | 134 |
LIBJPEG=$(LIBJPEG_DIR)\$(OBJDIR)\libjpeg.lib |
2959 | 135 |
!!endif |
3042 | 136 |
|
2278 | 137 |
CLOCAL_INCL=-I"$(LIBJPEG_DIR)" |
138 |
' |
|
139 |
||
140 |
"Created: / 22-08-2006 / 23:58:05 / cg" |
|
141 |
! |
|
142 |
||
2427 | 143 |
additionalLinkLibraries_bc_dot_mak |
144 |
^ '$(LIBJPEG)' |
|
145 |
! |
|
146 |
||
3058 | 147 |
additionalLinkLibraries_make_dot_proto |
148 |
^ '$(JPEGLIB_LD_ARG)' |
|
149 |
! |
|
150 |
||
2278 | 151 |
additionalRules_bc_dot_mak |
2151 | 152 |
^ ' |
3567
278c744dff7b
Use standard configure & make to build libjpeg-9 under Windows/MinGW
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3512
diff
changeset
|
153 |
!!if defined(USEMINGW32) || defined(USEMINGW64) |
278c744dff7b
Use standard configure & make to build libjpeg-9 under Windows/MinGW
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3512
diff
changeset
|
154 |
$(LIBJPEG): $(LIBJPEG_DIR)/config.status |
278c744dff7b
Use standard configure & make to build libjpeg-9 under Windows/MinGW
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3512
diff
changeset
|
155 |
pushd $(LIBJPEG_DIR) & set "PATH=C:\MINGW\MSYS\1.0\bin;C:\MSYS\1.0\bin;%%PATH%%" & make |
278c744dff7b
Use standard configure & make to build libjpeg-9 under Windows/MinGW
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3512
diff
changeset
|
156 |
|
278c744dff7b
Use standard configure & make to build libjpeg-9 under Windows/MinGW
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3512
diff
changeset
|
157 |
$(LIBJPEG_DIR)/config.status: |
278c744dff7b
Use standard configure & make to build libjpeg-9 under Windows/MinGW
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3512
diff
changeset
|
158 |
pushd $(LIBJPEG_DIR) & set "PATH=C:\MINGW\MSYS\1.0\bin;C:\MSYS\1.0\bin;%%PATH%%" & bash configure --build=$(LIBJPEG_TARGET) & echo #define HAVE_PROTOTYPES >> jconfig.h |
278c744dff7b
Use standard configure & make to build libjpeg-9 under Windows/MinGW
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3512
diff
changeset
|
159 |
|
278c744dff7b
Use standard configure & make to build libjpeg-9 under Windows/MinGW
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3512
diff
changeset
|
160 |
clobber:: |
278c744dff7b
Use standard configure & make to build libjpeg-9 under Windows/MinGW
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3512
diff
changeset
|
161 |
-pushd $(LIBJPEG_DIR) & set "PATH=C:\MINGW\MSYS\1.0\bin;C:\MSYS\1.0\bin;%%PATH%%" & IF EXIST makefile (make distclean) |
278c744dff7b
Use standard configure & make to build libjpeg-9 under Windows/MinGW
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3512
diff
changeset
|
162 |
|
278c744dff7b
Use standard configure & make to build libjpeg-9 under Windows/MinGW
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3512
diff
changeset
|
163 |
clean:: |
278c744dff7b
Use standard configure & make to build libjpeg-9 under Windows/MinGW
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3512
diff
changeset
|
164 |
-pushd $(LIBJPEG_DIR) & set "PATH=C:\MINGW\MSYS\1.0\bin;C:\MSYS\1.0\bin;%%PATH%%" & IF EXIST makefile (make clean) |
278c744dff7b
Use standard configure & make to build libjpeg-9 under Windows/MinGW
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3512
diff
changeset
|
165 |
|
278c744dff7b
Use standard configure & make to build libjpeg-9 under Windows/MinGW
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3512
diff
changeset
|
166 |
!!else |
2278 | 167 |
$(LIBJPEG): |
3567
278c744dff7b
Use standard configure & make to build libjpeg-9 under Windows/MinGW
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3512
diff
changeset
|
168 |
cd $(LIBJPEG_DIR) |
278c744dff7b
Use standard configure & make to build libjpeg-9 under Windows/MinGW
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3512
diff
changeset
|
169 |
$(MAKE_BAT) |
278c744dff7b
Use standard configure & make to build libjpeg-9 under Windows/MinGW
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3512
diff
changeset
|
170 |
cd ..\..\libview2 |
278c744dff7b
Use standard configure & make to build libjpeg-9 under Windows/MinGW
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3512
diff
changeset
|
171 |
!!endif |
2192 | 172 |
|
2278 | 173 |
$(OUTDIR)JPEGReader.$(O):: $(LIBJPEG_DIR)\jconfig.h |
174 |
||
175 |
$(LIBJPEG_DIR)\jconfig.h: $(LIBJPEG) |
|
2151 | 176 |
' |
177 |
||
2278 | 178 |
"Created: / 22-08-2006 / 23:58:29 / cg" |
2151 | 179 |
! |
180 |
||
181 |
additionalRules_make_dot_proto |
|
182 |
^ ' |
|
3058 | 183 |
|
3081 | 184 |
libjpeg: $(LIBJPEG_DIR)/Makefile |
3106
77e6e44d3c04
extensionsVersion method SHALL NOT be here
Claus Gittinger <cg@exept.de>
parents:
3105
diff
changeset
|
185 |
cd $(LIBJPEG_DIR); $(MAKE) $(MAKE_JPEGLIB_ARG) |
3058 | 186 |
|
2151 | 187 |
# |
188 |
# prelink JPEGReader.o with libjpeg |
|
189 |
# |
|
3137 | 190 |
JPEGReader_prelinked: $(LIBJPEG) |
3106
77e6e44d3c04
extensionsVersion method SHALL NOT be here
Claus Gittinger <cg@exept.de>
parents:
3105
diff
changeset
|
191 |
@$(MAKE) JPEGReader.$(O) \ |
77e6e44d3c04
extensionsVersion method SHALL NOT be here
Claus Gittinger <cg@exept.de>
parents:
3105
diff
changeset
|
192 |
CC="$(LIBJPEG_CC)" \ |
77e6e44d3c04
extensionsVersion method SHALL NOT be here
Claus Gittinger <cg@exept.de>
parents:
3105
diff
changeset
|
193 |
OPT="$(LIBJPEG_OPT)" \ |
77e6e44d3c04
extensionsVersion method SHALL NOT be here
Claus Gittinger <cg@exept.de>
parents:
3105
diff
changeset
|
194 |
LOCALDEFS="-I$(LIBJPEG_DIR)" \ |
77e6e44d3c04
extensionsVersion method SHALL NOT be here
Claus Gittinger <cg@exept.de>
parents:
3105
diff
changeset
|
195 |
LIBNAME="$(LIBNAME)" \ |
77e6e44d3c04
extensionsVersion method SHALL NOT be here
Claus Gittinger <cg@exept.de>
parents:
3105
diff
changeset
|
196 |
STCOPT="$(STCOPT)" \ |
77e6e44d3c04
extensionsVersion method SHALL NOT be here
Claus Gittinger <cg@exept.de>
parents:
3105
diff
changeset
|
197 |
STCLOCALOPT="$(STCLOCALOPT)" \ |
77e6e44d3c04
extensionsVersion method SHALL NOT be here
Claus Gittinger <cg@exept.de>
parents:
3105
diff
changeset
|
198 |
CCLOCALOPT="$(CCLOCALOPT)" \ |
77e6e44d3c04
extensionsVersion method SHALL NOT be here
Claus Gittinger <cg@exept.de>
parents:
3105
diff
changeset
|
199 |
LINKOBJRULE="$(LINKOBJRULE)" |
77e6e44d3c04
extensionsVersion method SHALL NOT be here
Claus Gittinger <cg@exept.de>
parents:
3105
diff
changeset
|
200 |
@if [ "$(NO_PRELINK_LIBJPEG)" = "" ]; then \ |
77e6e44d3c04
extensionsVersion method SHALL NOT be here
Claus Gittinger <cg@exept.de>
parents:
3105
diff
changeset
|
201 |
echo; \ |
77e6e44d3c04
extensionsVersion method SHALL NOT be here
Claus Gittinger <cg@exept.de>
parents:
3105
diff
changeset
|
202 |
echo "prelinking JPEGReader with libjpeg ..."; \ |
77e6e44d3c04
extensionsVersion method SHALL NOT be here
Claus Gittinger <cg@exept.de>
parents:
3105
diff
changeset
|
203 |
echo; \ |
3238
2d877646264b
Fixed compilation under Linux - use $(CLASSLIB_LD) instead of ld!!!
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3237
diff
changeset
|
204 |
echo $(CLASSLIB_LD) $(LD_REL_FLAG) -o JPEGReader.$(O) __JPEGReader.$(O) $(LIBJPEG); \ |
3106
77e6e44d3c04
extensionsVersion method SHALL NOT be here
Claus Gittinger <cg@exept.de>
parents:
3105
diff
changeset
|
205 |
mv JPEGReader.$(O) __JPEGReader.$(O) && \ |
3238
2d877646264b
Fixed compilation under Linux - use $(CLASSLIB_LD) instead of ld!!!
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3237
diff
changeset
|
206 |
$(CLASSLIB_LD) $(LD_REL_FLAG) -o JPEGReader.$(O) __JPEGReader.$(O) $(LIBJPEG) && \ |
3106
77e6e44d3c04
extensionsVersion method SHALL NOT be here
Claus Gittinger <cg@exept.de>
parents:
3105
diff
changeset
|
207 |
rm -f __JPEGReader.$(O); \ |
77e6e44d3c04
extensionsVersion method SHALL NOT be here
Claus Gittinger <cg@exept.de>
parents:
3105
diff
changeset
|
208 |
echo; \ |
77e6e44d3c04
extensionsVersion method SHALL NOT be here
Claus Gittinger <cg@exept.de>
parents:
3105
diff
changeset
|
209 |
fi |
2151 | 210 |
|
3137 | 211 |
$(LIBJPEG_DIR)/libjpeg.a: $(LIBJPEG_MAKE_LIB) |
212 |
cp $(LIBJPEG_MAKE_LIB)/.libs/libjpeg.a $(LIBJPEG) |
|
2810 | 213 |
|
3137 | 214 |
#the following is needed for linux; LIBJPEG_MAKE_LIB is expanded to: $(LIBJPEG_DIR)/.libs/libjpeg.a |
215 |
#do not replace taget below by LIBJPEG_MAKE_LIB, because it may be empty for other systems (osx) |
|
2810 | 216 |
$(LIBJPEG_DIR)/.libs/libjpeg.a: $(LIBJPEG_DIR)/Makefile $(LIBJPEG_DIR)/*.c $(LIBJPEG_DIR)/*.h |
3106
77e6e44d3c04
extensionsVersion method SHALL NOT be here
Claus Gittinger <cg@exept.de>
parents:
3105
diff
changeset
|
217 |
@-echo |
77e6e44d3c04
extensionsVersion method SHALL NOT be here
Claus Gittinger <cg@exept.de>
parents:
3105
diff
changeset
|
218 |
@-echo "making libjpeg support library ..." |
77e6e44d3c04
extensionsVersion method SHALL NOT be here
Claus Gittinger <cg@exept.de>
parents:
3105
diff
changeset
|
219 |
@-echo |
77e6e44d3c04
extensionsVersion method SHALL NOT be here
Claus Gittinger <cg@exept.de>
parents:
3105
diff
changeset
|
220 |
cd $(LIBJPEG_DIR) \ |
77e6e44d3c04
extensionsVersion method SHALL NOT be here
Claus Gittinger <cg@exept.de>
parents:
3105
diff
changeset
|
221 |
&& $(MAKE) all CC="$(LIBJPEG_CC)" OPT="$(LIBJPEG_OPT)" CFLAGS="$(LIBJPEG_OPT) $(CCCONFOPT)" |
77e6e44d3c04
extensionsVersion method SHALL NOT be here
Claus Gittinger <cg@exept.de>
parents:
3105
diff
changeset
|
222 |
@-echo |
2151 | 223 |
|
2810 | 224 |
$(LIBJPEG_DIR)/Makefile: |
3106
77e6e44d3c04
extensionsVersion method SHALL NOT be here
Claus Gittinger <cg@exept.de>
parents:
3105
diff
changeset
|
225 |
@-echo |
77e6e44d3c04
extensionsVersion method SHALL NOT be here
Claus Gittinger <cg@exept.de>
parents:
3105
diff
changeset
|
226 |
@-echo "configure libjpeg support library ..." |
77e6e44d3c04
extensionsVersion method SHALL NOT be here
Claus Gittinger <cg@exept.de>
parents:
3105
diff
changeset
|
227 |
@-echo |
77e6e44d3c04
extensionsVersion method SHALL NOT be here
Claus Gittinger <cg@exept.de>
parents:
3105
diff
changeset
|
228 |
cd $(LIBJPEG_DIR) && ./configure CC="$(LIBJPEG_CC)" OPT="$(LIBJPEG_OPT)" CFLAGS="$(LIBJPEG_OPT) $(CCCONFOPT)"' |
2151 | 229 |
|
230 |
"Created: / 22-08-2006 / 23:58:51 / cg" |
|
231 |
! |
|
232 |
||
2278 | 233 |
additionalTargets_bc_dot_mak |
234 |
"additional targets to be added to the nt.mak file." |
|
2151 | 235 |
|
2278 | 236 |
^ '$(LIBJPEG)' |
2151 | 237 |
|
2278 | 238 |
"Created: / 23-08-2006 / 00:01:19 / cg" |
2151 | 239 |
! |
240 |
||
241 |
additionalTargets_make_dot_proto |
|
242 |
"additional targets to be added to the make.proto file." |
|
243 |
||
3058 | 244 |
^ '$(JPEGLIB_MAKE_TARGET) $(JPEGREADER_PRELINKED)' |
2151 | 245 |
|
246 |
"Created: / 22-08-2006 / 23:54:37 / cg" |
|
247 |
! |
|
248 |
||
3161 | 249 |
localIncludes |
250 |
^ '$(JPEG_INCLUDE)' |
|
251 |
! |
|
252 |
||
2192 | 253 |
stcOptimizationOptions |
3391 | 254 |
^ '+optinline' |
2192 | 255 |
|
256 |
"Created: / 23-08-2006 / 11:27:11 / cg" |
|
3391 | 257 |
! |
258 |
||
259 |
stcWarningOptions |
|
260 |
^ '-warnNonStandard -warnUnused' |
|
2192 | 261 |
! ! |
262 |
||
2201 | 263 |
!stx_libview2 class methodsFor:'description - contents'! |
264 |
||
265 |
classNamesAndAttributes |
|
2838 | 266 |
"lists the classes which are to be included in the project. |
267 |
Each entry in the list may be: a single class-name (symbol), |
|
268 |
or an array-literal consisting of class name and attributes. |
|
269 |
Attributes are: #autoload or #<os> where os is one of win32, unix,..." |
|
270 |
||
2201 | 271 |
^ #( |
3131 | 272 |
"<className> or (<className> attributes...) in load order" |
273 |
ActiveHelpView |
|
274 |
ApplicationSubView |
|
275 |
ApplicationWindow |
|
276 |
ColorValue |
|
277 |
DisplayObject |
|
278 |
DragAndDropManager |
|
279 |
DragHandler |
|
280 |
DrawAdaptor |
|
281 |
DropContext |
|
282 |
DropObject |
|
283 |
DropSource |
|
284 |
DropTarget |
|
285 |
EventListener |
|
286 |
ExternalTopView |
|
287 |
GIFReader |
|
288 |
Icon |
|
289 |
ImageFrame |
|
290 |
ImageSequence |
|
291 |
InputView |
|
292 |
JPEGReader |
|
293 |
KeyboardProcessor |
|
294 |
Layout |
|
295 |
MIMETypeIconLibrary |
|
296 |
MIMETypes |
|
3378 | 297 |
MacOSXIconReader |
298 |
MenuItem |
|
3131 | 299 |
Model |
300 |
MultiImage |
|
301 |
PNGReader |
|
302 |
PopUpBanner |
|
303 |
PrintConverter |
|
304 |
PrinterContext |
|
305 |
PropertyListDictionary |
|
306 |
ResourceRetriever |
|
307 |
StandardSystemController |
|
308 |
TIFFReader |
|
309 |
TransparentBox |
|
310 |
VisualRegion |
|
311 |
WindowBuilder |
|
312 |
WindowsIconReader |
|
313 |
XBMReader |
|
314 |
XPMReader |
|
315 |
#'stx_libview2' |
|
316 |
ActiveHelp |
|
317 |
ApplicationModel |
|
318 |
LayoutOrigin |
|
3378 | 319 |
Menu |
3131 | 320 |
Plug |
3378 | 321 |
PluggableEventListener |
3406 | 322 |
ScreenLock |
3131 | 323 |
UIBuilder |
324 |
ValueModel |
|
325 |
VisualComponent |
|
326 |
AlignmentOrigin |
|
3378 | 327 |
ApplicationWithFileHistory |
3131 | 328 |
BlockValue |
329 |
FlyByHelp |
|
330 |
IndirectValue |
|
331 |
LayoutFrame |
|
332 |
PluggableAdaptor |
|
333 |
ProtocolAdaptor |
|
334 |
SimpleDialog |
|
335 |
ToolApplicationModel |
|
336 |
ValueHolder |
|
337 |
VisualPart |
|
338 |
AspectAdaptor |
|
339 |
BooleanBlockValue |
|
340 |
BooleanValueHolder |
|
341 |
BufferedValueHolder |
|
342 |
DictionaryAdaptor |
|
343 |
RangeAdaptor |
|
344 |
ResourceSpecEditor |
|
345 |
TriggerValue |
|
346 |
TypeConverter |
|
3378 | 347 |
ValueHolderWithRememberedPreviousValue |
3131 | 348 |
ValueHolderWithWeakDependents |
349 |
AspectAdaptorWithDefault |
|
3378 | 350 |
(AVIReader autoload) |
351 |
(ApplicationController autoload) |
|
352 |
(BlitImageReader autoload) |
|
353 |
(BorderedWrapper autoload) |
|
354 |
(CompositePart autoload) |
|
355 |
(CompositeTransform autoload) |
|
356 |
(ConvertedValue autoload) |
|
357 |
(DependentPart autoload) |
|
358 |
(FLIReader autoload) |
|
359 |
(FaceReader autoload) |
|
360 |
(HersheyFont autoload) |
|
361 |
(Insets autoload) |
|
362 |
(IrisRGBReader autoload) |
|
363 |
(MatrixTransform2x3 autoload) |
|
364 |
(PBMReader autoload) |
|
365 |
(PCXReader autoload) |
|
366 |
(PICTReader autoload) |
|
367 |
(PluggableView autoload) |
|
368 |
(RIFFReader autoload) |
|
369 |
(ST80FormReader autoload) |
|
370 |
(SunRasterReader autoload) |
|
371 |
(TargaReader autoload) |
|
372 |
(ViewForwardingController autoload) |
|
373 |
(WinPrinterContext win32) |
|
374 |
(WinPrinterStream win32) |
|
375 |
(Wrapper autoload) |
|
376 |
(GeometricWrapper autoload) |
|
377 |
(TranslatingWrapper autoload) |
|
378 |
(LayoutWrapper autoload) |
|
379 |
(BoundedWrapper autoload) |
|
380 |
(StrokingOrFillingWrapper autoload) |
|
381 |
(FillingWrapper autoload) |
|
382 |
(StrokingWrapper autoload) |
|
383 |
(XWDReader autoload) |
|
2201 | 384 |
) |
2729 | 385 |
! |
386 |
||
387 |
extensionMethodNames |
|
2838 | 388 |
"lists the extension methods which are to be included in the project. |
389 |
Entries are 2-element array literals, consisting of class-name and selector." |
|
390 |
||
2729 | 391 |
^ #( |
3177 | 392 |
CharacterArray asMimeType |
2729 | 393 |
) |
2201 | 394 |
! ! |
395 |
||
2192 | 396 |
!stx_libview2 class methodsFor:'description - project information'! |
397 |
||
2151 | 398 |
companyName |
399 |
"Return a companyname which will appear in <lib>.rc" |
|
400 |
||
401 |
^ 'eXept Software AG' |
|
402 |
! |
|
403 |
||
404 |
description |
|
405 |
"Return a description string which will appear in nt.def / bc.def" |
|
406 |
||
2152 | 407 |
^ 'Smalltalk/X Additional Graphic Interfacing' |
408 |
! |
|
409 |
||
2151 | 410 |
legalCopyright |
411 |
"Return copyright string which will appear in <lib>.rc" |
|
412 |
||
3479 | 413 |
^ 'Copyright Claus Gittinger 1988-2012\nCopyright eXept Software AG 2012' |
2350 | 414 |
|
3010 | 415 |
"Modified: / 18-07-2012 / 19:12:07 / cg" |
3101
8650cfc63b66
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3093
diff
changeset
|
416 |
! |
8650cfc63b66
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3093
diff
changeset
|
417 |
|
8650cfc63b66
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3093
diff
changeset
|
418 |
productName |
8650cfc63b66
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3093
diff
changeset
|
419 |
"Return a product name which will appear in <lib>.rc" |
8650cfc63b66
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3093
diff
changeset
|
420 |
|
8650cfc63b66
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3093
diff
changeset
|
421 |
^ 'Smalltalk/X' |
2151 | 422 |
! ! |
423 |
||
424 |
!stx_libview2 class methodsFor:'documentation'! |
|
425 |
||
426 |
version |
|
3479 | 427 |
^ '$Header$' |
2796 | 428 |
! |
429 |
||
430 |
version_CVS |
|
3479 | 431 |
^ '$Header$' |
2151 | 432 |
! ! |
3131 | 433 |