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