author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Sat, 30 Sep 2017 22:41:09 +0100 | |
branch | jv |
changeset 4020 | d801dbd5cf3b |
parent 3856 | 47878d05e8e8 |
child 4132 | 7e5528572373 |
permissions | -rw-r--r-- |
2152 | 1 |
" |
3788 | 2 |
COPYRIGHT (c) Claus Gittinger / 2006 by eXept Software AG |
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 |
" |
|
3788 | 27 |
COPYRIGHT (c) Claus Gittinger / 2006 by eXept Software AG |
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. |
3771 | 44 |
This includes support classes for the applicationModel framework, and readers/writers |
3446 | 45 |
for various bitmap image file formats (PNG, GIF, TIFF, etc.) |
46 |
||
3771 | 47 |
As with libview, this does not contain 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 |
3626 | 70 |
"list packages which are mandatory as a prerequisite. |
71 |
This are packages containing superclasses of my classes and classes which |
|
72 |
are extended by myself. |
|
73 |
They are mandatory, because we need these packages as a prerequisite for loading and compiling. |
|
74 |
This method is generated automatically, |
|
75 |
by searching along the inheritance chain of all of my classes." |
|
2838 | 76 |
|
2245 | 77 |
^ #( |
3626 | 78 |
#'stx:libbasic' "ArrayedCollection - extended" |
79 |
#'stx:libbasic2' "PrinterStream - superclass of WinPrinterStream" |
|
80 |
#'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
|
81 |
) |
8650cfc63b66
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3093
diff
changeset
|
82 |
! |
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 |
referencedPreRequisites |
3626 | 85 |
"list packages which are a prerequisite, because they contain |
86 |
classes which are referenced by my classes. |
|
87 |
We do not need these packages as a prerequisite for compiling or loading, |
|
88 |
however, a class from it may be referenced during execution and having it |
|
89 |
unloaded then may lead to a runtime doesNotUnderstand error, unless the caller |
|
90 |
includes explicit checks for the package being present. |
|
91 |
This method is generated automatically, |
|
92 |
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
|
93 |
|
8650cfc63b66
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3093
diff
changeset
|
94 |
^ #( |
3626 | 95 |
#'stx:libui' "ComponentSpec - referenced by UIBuilder>>add:" |
3177 | 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 |
^ ' |
|
3649 | 123 |
# LIBJPEG_DIR=$(TOP)\support\libjpeg-6a |
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 |
!! 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
|
128 |
LIBJPEG_TARGET = i686-pc-mingw32 |
4020
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
129 |
!! else |
3567
278c744dff7b
Use standard configure & make to build libjpeg-9 under Windows/MinGW
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3512
diff
changeset
|
130 |
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
|
131 |
!! endif |
3855
1db7742d33ad
Win32: Build libjpeg in its own directory, out-of-source-tree.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3798
diff
changeset
|
132 |
LIBJPEG=$(LIBJPEG_DIR)\$(LIBJPEG_TARGET)\.libs\libjpeg.a |
1db7742d33ad
Win32: Build libjpeg in its own directory, out-of-source-tree.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3798
diff
changeset
|
133 |
CLOCAL_INCL=-I"$(LIBJPEG_DIR)" -I"$(LIBJPEG_DIR)\$(LIBJPEG_TARGET)" |
2959 | 134 |
!!else |
3042 | 135 |
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
|
136 |
CLOCAL_INCL=-I"$(LIBJPEG_DIR)" |
2959 | 137 |
!!endif |
3042 | 138 |
|
3855
1db7742d33ad
Win32: Build libjpeg in its own directory, out-of-source-tree.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3798
diff
changeset
|
139 |
|
2278 | 140 |
' |
141 |
||
142 |
"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
|
143 |
"Modified: / 23-01-2017 / 12:09:58 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
2278 | 144 |
! |
145 |
||
4020
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
146 |
additionalDefinitions_make_dot_proto |
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
147 |
^ ' |
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
148 |
# 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
|
149 |
LIBJPEG_DIR=$(TOP)/support/libjpeg-9 |
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
150 |
|
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
151 |
# Following is a hack for Smalltalk/X jv-branch 6.x.x builds |
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
152 |
# that DO NOT use GNU target triplets as BUILD_TARGET. |
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
153 |
# So, normalize here: |
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
154 |
ifeq ($(BUILD_TARGET), linux-i386) |
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
155 |
LIBJPEG_TARGET = i686-pc-linux-gnu |
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
156 |
else |
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
157 |
ifeq ($(BUILD_TARGET), linux-x86_64) |
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
158 |
LIBJPEG_TARGET = x86_64-pc-linux-gnu |
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
159 |
else |
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
160 |
LIBJPEG_TARGET = $(BUILD_TARGET) |
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
161 |
endif |
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
162 |
endif |
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
163 |
LIBJPEG=$(LIBJPEG_DIR)/$(LIBJPEG_TARGET)/.libs/libjpeg.a |
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
164 |
|
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 |
|
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
167 |
"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
|
168 |
! |
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
169 |
|
2427 | 170 |
additionalLinkLibraries_bc_dot_mak |
171 |
^ '$(LIBJPEG)' |
|
172 |
! |
|
173 |
||
3058 | 174 |
additionalLinkLibraries_make_dot_proto |
4020
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
175 |
^ '$(LIBJPEG)' |
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
176 |
|
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
177 |
"Modified: / 24-09-2017 / 19:57:45 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
3058 | 178 |
! |
179 |
||
2278 | 180 |
additionalRules_bc_dot_mak |
2151 | 181 |
^ ' |
3567
278c744dff7b
Use standard configure & make to build libjpeg-9 under Windows/MinGW
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3512
diff
changeset
|
182 |
!!if defined(USEMINGW32) || defined(USEMINGW64) |
3855
1db7742d33ad
Win32: Build libjpeg in its own directory, out-of-source-tree.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3798
diff
changeset
|
183 |
$(LIBJPEG): $(LIBJPEG_DIR)/$(LIBJPEG_TARGET)/config.status |
1db7742d33ad
Win32: Build libjpeg in its own directory, out-of-source-tree.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3798
diff
changeset
|
184 |
pushd $(LIBJPEG_DIR)\$(LIBJPEG_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
|
185 |
|
3855
1db7742d33ad
Win32: Build libjpeg in its own directory, out-of-source-tree.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3798
diff
changeset
|
186 |
$(LIBJPEG_DIR)/$(LIBJPEG_TARGET)/config.status: |
1db7742d33ad
Win32: Build libjpeg in its own directory, out-of-source-tree.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3798
diff
changeset
|
187 |
-md $(LIBJPEG_DIR)\$(LIBJPEG_TARGET) |
1db7742d33ad
Win32: Build libjpeg in its own directory, out-of-source-tree.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3798
diff
changeset
|
188 |
pushd $(LIBJPEG_DIR)\$(LIBJPEG_TARGET) & set "PATH=C:\MSYS64\usr\bin;C:\MINGW\MSYS\1.0\bin;C:\MSYS\1.0\bin;%%PATH%%" & bash ../configure --build=$(LIBJPEG_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
|
189 |
|
278c744dff7b
Use standard configure & make to build libjpeg-9 under Windows/MinGW
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3512
diff
changeset
|
190 |
clobber:: |
3855
1db7742d33ad
Win32: Build libjpeg in its own directory, out-of-source-tree.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3798
diff
changeset
|
191 |
-rd /S /Q $(LIBJPEG_DIR)\$(LIBJPEG_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
|
192 |
|
278c744dff7b
Use standard configure & make to build libjpeg-9 under Windows/MinGW
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3512
diff
changeset
|
193 |
clean:: |
3686
58c9f3c7d3c6
Win32: fixes to compile under MSYS2 environment
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3650
diff
changeset
|
194 |
-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
|
195 |
|
3855
1db7742d33ad
Win32: Build libjpeg in its own directory, out-of-source-tree.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3798
diff
changeset
|
196 |
$(OUTDIR)JPEGReader.$(O):: $(LIBJPEG_DIR)\$(LIBJPEG_TARGET)\jconfig.h |
4020
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
197 |
$(LIBJPEG_DIR)\$(LIBJPEG_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
|
198 |
|
3567
278c744dff7b
Use standard configure & make to build libjpeg-9 under Windows/MinGW
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3512
diff
changeset
|
199 |
!!else |
2278 | 200 |
$(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
|
201 |
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
|
202 |
$(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
|
203 |
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
|
204 |
$(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
|
205 |
$(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
|
206 |
!!endif |
2192 | 207 |
|
2278 | 208 |
|
2151 | 209 |
' |
210 |
||
2278 | 211 |
"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
|
212 |
"Modified: / 24-09-2017 / 20:01:30 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
2151 | 213 |
! |
214 |
||
215 |
additionalRules_make_dot_proto |
|
216 |
^ ' |
|
4020
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
217 |
$(LIBJPEG): $(LIBJPEG_DIR)/$(LIBJPEG_TARGET)/config.status |
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
218 |
$(MAKE) -C $(LIBJPEG_DIR)/$(LIBJPEG_TARGET) |
3058 | 219 |
|
4020
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
220 |
$(LIBJPEG_DIR)/$(LIBJPEG_TARGET)/config.status: |
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
221 |
mkdir -p $(LIBJPEG_DIR)/$(LIBJPEG_TARGET) |
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
222 |
cd $(LIBJPEG_DIR)/$(LIBJPEG_TARGET) && CC="$(CC) $(CCCONFOPT)" ../configure --build=$(LIBJPEG_TARGET) |
3058 | 223 |
|
4020
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
224 |
clobber:: |
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
225 |
rm -rf $(LIBJPEG_DIR)/$(LIBJPEG_TARGET) |
2151 | 226 |
|
4020
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
227 |
clean:: |
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
228 |
if [ -f $(LIBJPEG_DIR)/$(LIBJPEG_TARGET)/Makefile ]; then make -C $(LIBJPEG_DIR)/$(LIBJPEG_TARGET) clean; fi |
2810 | 229 |
|
4020
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
230 |
' |
2151 | 231 |
|
232 |
"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
|
233 |
"Modified: / 24-09-2017 / 20:35:27 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
2151 | 234 |
! |
235 |
||
2278 | 236 |
additionalTargets_bc_dot_mak |
237 |
"additional targets to be added to the nt.mak file." |
|
2151 | 238 |
|
2278 | 239 |
^ '$(LIBJPEG)' |
2151 | 240 |
|
2278 | 241 |
"Created: / 23-08-2006 / 00:01:19 / cg" |
2151 | 242 |
! |
243 |
||
244 |
additionalTargets_make_dot_proto |
|
245 |
"additional targets to be added to the make.proto file." |
|
246 |
||
4020
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
247 |
^ '$(LIBJPEG)' |
2151 | 248 |
|
249 |
"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
|
250 |
"Modified: / 24-09-2017 / 20:01:50 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
2151 | 251 |
! |
252 |
||
3161 | 253 |
localIncludes |
4020
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
254 |
^ '-I$(LIBJPEG_DIR)/$(LIBJPEG_TARGET) -I$(LIBJPEG_DIR)' |
3161 | 255 |
! |
256 |
||
2192 | 257 |
stcOptimizationOptions |
3391 | 258 |
^ '+optinline' |
2192 | 259 |
|
260 |
"Created: / 23-08-2006 / 11:27:11 / cg" |
|
3391 | 261 |
! |
262 |
||
263 |
stcWarningOptions |
|
264 |
^ '-warnNonStandard -warnUnused' |
|
2192 | 265 |
! ! |
266 |
||
2201 | 267 |
!stx_libview2 class methodsFor:'description - contents'! |
268 |
||
269 |
classNamesAndAttributes |
|
2838 | 270 |
"lists the classes which are to be included in the project. |
271 |
Each entry in the list may be: a single class-name (symbol), |
|
272 |
or an array-literal consisting of class name and attributes. |
|
273 |
Attributes are: #autoload or #<os> where os is one of win32, unix,..." |
|
274 |
||
2201 | 275 |
^ #( |
3131 | 276 |
"<className> or (<className> attributes...) in load order" |
277 |
ActiveHelpView |
|
278 |
ApplicationSubView |
|
279 |
ApplicationWindow |
|
280 |
ColorValue |
|
281 |
DisplayObject |
|
282 |
DragAndDropManager |
|
283 |
DragHandler |
|
284 |
DrawAdaptor |
|
285 |
DropContext |
|
286 |
DropObject |
|
287 |
DropSource |
|
288 |
DropTarget |
|
289 |
EventListener |
|
290 |
ExternalTopView |
|
291 |
GIFReader |
|
292 |
Icon |
|
293 |
ImageFrame |
|
294 |
ImageSequence |
|
295 |
InputView |
|
296 |
JPEGReader |
|
297 |
KeyboardProcessor |
|
298 |
Layout |
|
299 |
MIMETypeIconLibrary |
|
300 |
MIMETypes |
|
3378 | 301 |
MacOSXIconReader |
302 |
MenuItem |
|
3131 | 303 |
Model |
304 |
MultiImage |
|
305 |
PNGReader |
|
306 |
PopUpBanner |
|
307 |
PrintConverter |
|
308 |
PrinterContext |
|
309 |
PropertyListDictionary |
|
310 |
ResourceRetriever |
|
311 |
StandardSystemController |
|
312 |
TIFFReader |
|
313 |
TransparentBox |
|
314 |
VisualRegion |
|
3626 | 315 |
(WinPrinterStream win32) |
3131 | 316 |
WindowBuilder |
317 |
WindowsIconReader |
|
318 |
XBMReader |
|
319 |
XPMReader |
|
320 |
#'stx_libview2' |
|
321 |
ActiveHelp |
|
322 |
ApplicationModel |
|
323 |
LayoutOrigin |
|
3378 | 324 |
Menu |
3131 | 325 |
Plug |
3378 | 326 |
PluggableEventListener |
3406 | 327 |
ScreenLock |
3131 | 328 |
UIBuilder |
329 |
ValueModel |
|
330 |
VisualComponent |
|
3626 | 331 |
(WinPrinterContext win32) |
3131 | 332 |
AlignmentOrigin |
3378 | 333 |
ApplicationWithFileHistory |
3131 | 334 |
BlockValue |
335 |
FlyByHelp |
|
336 |
IndirectValue |
|
337 |
LayoutFrame |
|
338 |
PluggableAdaptor |
|
339 |
ProtocolAdaptor |
|
340 |
SimpleDialog |
|
341 |
ToolApplicationModel |
|
342 |
ValueHolder |
|
343 |
VisualPart |
|
344 |
AspectAdaptor |
|
345 |
BooleanBlockValue |
|
346 |
BooleanValueHolder |
|
347 |
BufferedValueHolder |
|
348 |
DictionaryAdaptor |
|
349 |
RangeAdaptor |
|
350 |
ResourceSpecEditor |
|
351 |
TriggerValue |
|
352 |
TypeConverter |
|
3378 | 353 |
ValueHolderWithRememberedPreviousValue |
3131 | 354 |
ValueHolderWithWeakDependents |
355 |
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
|
356 |
(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
|
357 |
(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
|
358 |
(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
|
359 |
(BoundedWrapper autoload) |
3378 | 360 |
(AVIReader autoload) |
361 |
(ApplicationController autoload) |
|
362 |
(BlitImageReader autoload) |
|
363 |
(BorderedWrapper autoload) |
|
364 |
(CompositePart autoload) |
|
365 |
(CompositeTransform autoload) |
|
366 |
(ConvertedValue autoload) |
|
367 |
(DependentPart autoload) |
|
368 |
(FLIReader autoload) |
|
369 |
(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
|
370 |
(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
|
371 |
(StrokingOrFillingWrapper autoload) |
3626 | 372 |
(FillingWrapper autoload) |
3378 | 373 |
(HersheyFont autoload) |
374 |
(Insets autoload) |
|
375 |
(IrisRGBReader autoload) |
|
376 |
(MatrixTransform2x3 autoload) |
|
377 |
(PBMReader autoload) |
|
378 |
(PCXReader autoload) |
|
379 |
(PICTReader autoload) |
|
380 |
(PluggableView autoload) |
|
381 |
(RIFFReader autoload) |
|
382 |
(ST80FormReader autoload) |
|
3626 | 383 |
(StrokingWrapper autoload) |
3378 | 384 |
(SunRasterReader autoload) |
385 |
(TargaReader autoload) |
|
386 |
(ViewForwardingController autoload) |
|
387 |
(XWDReader autoload) |
|
2201 | 388 |
) |
3855
1db7742d33ad
Win32: Build libjpeg in its own directory, out-of-source-tree.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3798
diff
changeset
|
389 |
|
1db7742d33ad
Win32: Build libjpeg in its own directory, out-of-source-tree.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3798
diff
changeset
|
390 |
"Modified: / 23-01-2017 / 12:12:53 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
2729 | 391 |
! |
392 |
||
393 |
extensionMethodNames |
|
3626 | 394 |
"list class/selector pairs of extensions. |
395 |
A correponding method with real names must be present in my concrete subclasses" |
|
2838 | 396 |
|
2729 | 397 |
^ #( |
3177 | 398 |
CharacterArray asMimeType |
2729 | 399 |
) |
2201 | 400 |
! ! |
401 |
||
2192 | 402 |
!stx_libview2 class methodsFor:'description - project information'! |
403 |
||
2151 | 404 |
companyName |
405 |
"Return a companyname which will appear in <lib>.rc" |
|
406 |
||
3787 | 407 |
^ 'Claus Gittinger / eXept Software AG' |
408 |
||
409 |
"Modified: / 18-11-2016 / 11:47:52 / cg" |
|
2151 | 410 |
! |
411 |
||
412 |
description |
|
413 |
"Return a description string which will appear in nt.def / bc.def" |
|
414 |
||
2152 | 415 |
^ 'Smalltalk/X Additional Graphic Interfacing' |
416 |
! |
|
417 |
||
2151 | 418 |
legalCopyright |
419 |
"Return copyright string which will appear in <lib>.rc" |
|
420 |
||
3789 | 421 |
^ 'Copyright Claus Gittinger 1988\nCopyright eXept Software AG 2012' |
2350 | 422 |
|
3789 | 423 |
"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
|
424 |
! |
8650cfc63b66
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3093
diff
changeset
|
425 |
|
8650cfc63b66
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3093
diff
changeset
|
426 |
productName |
8650cfc63b66
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3093
diff
changeset
|
427 |
"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
|
428 |
|
8650cfc63b66
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3093
diff
changeset
|
429 |
^ 'Smalltalk/X' |
2151 | 430 |
! ! |
431 |
||
432 |
!stx_libview2 class methodsFor:'documentation'! |
|
433 |
||
434 |
version |
|
3479 | 435 |
^ '$Header$' |
2796 | 436 |
! |
437 |
||
438 |
version_CVS |
|
3479 | 439 |
^ '$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
|
440 |
! |
1db7742d33ad
Win32: Build libjpeg in its own directory, out-of-source-tree.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3798
diff
changeset
|
441 |
|
1db7742d33ad
Win32: Build libjpeg in its own directory, out-of-source-tree.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3798
diff
changeset
|
442 |
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
|
443 |
^ '$Changeset: <not expanded> $' |
2151 | 444 |
! ! |
3131 | 445 |