author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Fri, 07 Jun 2019 19:57:30 +0100 | |
branch | jv |
changeset 4278 | 8cc5f9eafef8 |
parent 4132 | 7e5528572373 |
child 4469 | fc342e7d9b41 |
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) |
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 = 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 |
3567
278c744dff7b
Use standard configure & make to build libjpeg-9 under Windows/MinGW
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3512
diff
changeset
|
132 |
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
|
133 |
!! 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
|
134 |
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
|
135 |
CLOCAL_INCL=-I"$(LIBJPEG_DIR)" -I"$(LIBJPEG_DIR)\$(LIBJPEG_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 |
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
152 |
|
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
153 |
# 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
|
154 |
# 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
|
155 |
# So, normalize here: |
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
156 |
ifeq ($(BUILD_TARGET), linux-i386) |
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
157 |
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
|
158 |
else |
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
159 |
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
|
160 |
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
|
161 |
else |
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
162 |
LIBJPEG_TARGET = $(BUILD_TARGET) |
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
163 |
endif |
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
164 |
endif |
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
165 |
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
|
166 |
|
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
167 |
' |
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 |
"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
|
170 |
! |
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
171 |
|
2427 | 172 |
additionalLinkLibraries_bc_dot_mak |
173 |
^ '$(LIBJPEG)' |
|
174 |
! |
|
175 |
||
3058 | 176 |
additionalLinkLibraries_make_dot_proto |
4020
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
177 |
^ '$(LIBJPEG)' |
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
178 |
|
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
179 |
"Modified: / 24-09-2017 / 19:57:45 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
3058 | 180 |
! |
181 |
||
2278 | 182 |
additionalRules_bc_dot_mak |
2151 | 183 |
^ ' |
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 |
!!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
|
185 |
$(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
|
186 |
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
|
187 |
|
3855
1db7742d33ad
Win32: Build libjpeg in its own directory, out-of-source-tree.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3798
diff
changeset
|
188 |
$(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
|
189 |
-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
|
190 |
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
|
191 |
|
278c744dff7b
Use standard configure & make to build libjpeg-9 under Windows/MinGW
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3512
diff
changeset
|
192 |
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
|
193 |
-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
|
194 |
|
278c744dff7b
Use standard configure & make to build libjpeg-9 under Windows/MinGW
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3512
diff
changeset
|
195 |
clean:: |
3686
58c9f3c7d3c6
Win32: fixes to compile under MSYS2 environment
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3650
diff
changeset
|
196 |
-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
|
197 |
|
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 |
$(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
|
199 |
$(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
|
200 |
|
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 |
!!else |
2278 | 202 |
$(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
|
203 |
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
|
204 |
$(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
|
205 |
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
|
206 |
$(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
|
207 |
$(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
|
208 |
!!endif |
2192 | 209 |
|
2278 | 210 |
|
2151 | 211 |
' |
212 |
||
2278 | 213 |
"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
|
214 |
"Modified: / 24-09-2017 / 20:01:30 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
2151 | 215 |
! |
216 |
||
217 |
additionalRules_make_dot_proto |
|
218 |
^ ' |
|
4020
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
219 |
$(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
|
220 |
$(MAKE) -C $(LIBJPEG_DIR)/$(LIBJPEG_TARGET) |
3058 | 221 |
|
4020
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
222 |
$(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
|
223 |
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
|
224 |
cd $(LIBJPEG_DIR)/$(LIBJPEG_TARGET) && CC="$(CC) $(CCCONFOPT)" ../configure --build=$(LIBJPEG_TARGET) |
3058 | 225 |
|
4020
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
226 |
clobber:: |
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
227 |
rm -rf $(LIBJPEG_DIR)/$(LIBJPEG_TARGET) |
2151 | 228 |
|
4020
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
229 |
clean:: |
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
230 |
if [ -f $(LIBJPEG_DIR)/$(LIBJPEG_TARGET)/Makefile ]; then make -C $(LIBJPEG_DIR)/$(LIBJPEG_TARGET) clean; fi |
2810 | 231 |
|
4020
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
232 |
' |
2151 | 233 |
|
234 |
"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
|
235 |
"Modified: / 24-09-2017 / 20:35:27 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
2151 | 236 |
! |
237 |
||
2278 | 238 |
additionalTargets_bc_dot_mak |
239 |
"additional targets to be added to the nt.mak file." |
|
2151 | 240 |
|
2278 | 241 |
^ '$(LIBJPEG)' |
2151 | 242 |
|
2278 | 243 |
"Created: / 23-08-2006 / 00:01:19 / cg" |
2151 | 244 |
! |
245 |
||
246 |
additionalTargets_make_dot_proto |
|
247 |
"additional targets to be added to the make.proto file." |
|
248 |
||
4020
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
249 |
^ '$(LIBJPEG)' |
2151 | 250 |
|
251 |
"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
|
252 |
"Modified: / 24-09-2017 / 20:01:50 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
2151 | 253 |
! |
254 |
||
3161 | 255 |
localIncludes |
4020
d801dbd5cf3b
Moved libjpeg build configuration to stx:libview2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3856
diff
changeset
|
256 |
^ '-I$(LIBJPEG_DIR)/$(LIBJPEG_TARGET) -I$(LIBJPEG_DIR)' |
3161 | 257 |
! |
258 |
||
2192 | 259 |
stcOptimizationOptions |
3391 | 260 |
^ '+optinline' |
2192 | 261 |
|
262 |
"Created: / 23-08-2006 / 11:27:11 / cg" |
|
3391 | 263 |
! |
264 |
||
265 |
stcWarningOptions |
|
266 |
^ '-warnNonStandard -warnUnused' |
|
2192 | 267 |
! ! |
268 |
||
2201 | 269 |
!stx_libview2 class methodsFor:'description - contents'! |
270 |
||
271 |
classNamesAndAttributes |
|
2838 | 272 |
"lists the classes which are to be included in the project. |
273 |
Each entry in the list may be: a single class-name (symbol), |
|
274 |
or an array-literal consisting of class name and attributes. |
|
275 |
Attributes are: #autoload or #<os> where os is one of win32, unix,..." |
|
276 |
||
2201 | 277 |
^ #( |
3131 | 278 |
"<className> or (<className> attributes...) in load order" |
279 |
ActiveHelpView |
|
280 |
ApplicationSubView |
|
281 |
ApplicationWindow |
|
282 |
ColorValue |
|
283 |
DisplayObject |
|
284 |
DragAndDropManager |
|
285 |
DragHandler |
|
286 |
DrawAdaptor |
|
287 |
DropContext |
|
288 |
DropObject |
|
289 |
DropSource |
|
290 |
DropTarget |
|
291 |
EventListener |
|
292 |
ExternalTopView |
|
293 |
GIFReader |
|
294 |
Icon |
|
295 |
ImageFrame |
|
296 |
ImageSequence |
|
297 |
InputView |
|
298 |
JPEGReader |
|
299 |
KeyboardProcessor |
|
300 |
Layout |
|
301 |
MIMETypeIconLibrary |
|
302 |
MIMETypes |
|
3378 | 303 |
MacOSXIconReader |
304 |
MenuItem |
|
3131 | 305 |
Model |
306 |
MultiImage |
|
307 |
PNGReader |
|
308 |
PopUpBanner |
|
309 |
PrintConverter |
|
310 |
PrinterContext |
|
311 |
PropertyListDictionary |
|
312 |
ResourceRetriever |
|
313 |
StandardSystemController |
|
314 |
TIFFReader |
|
315 |
TransparentBox |
|
316 |
VisualRegion |
|
3626 | 317 |
(WinPrinterStream win32) |
3131 | 318 |
WindowBuilder |
319 |
WindowsIconReader |
|
320 |
XBMReader |
|
321 |
XPMReader |
|
322 |
#'stx_libview2' |
|
323 |
ActiveHelp |
|
324 |
ApplicationModel |
|
325 |
LayoutOrigin |
|
3378 | 326 |
Menu |
3131 | 327 |
Plug |
3378 | 328 |
PluggableEventListener |
3406 | 329 |
ScreenLock |
3131 | 330 |
UIBuilder |
331 |
ValueModel |
|
332 |
VisualComponent |
|
3626 | 333 |
(WinPrinterContext win32) |
3131 | 334 |
AlignmentOrigin |
3378 | 335 |
ApplicationWithFileHistory |
3131 | 336 |
BlockValue |
337 |
FlyByHelp |
|
338 |
IndirectValue |
|
339 |
LayoutFrame |
|
340 |
PluggableAdaptor |
|
341 |
ProtocolAdaptor |
|
342 |
SimpleDialog |
|
343 |
ToolApplicationModel |
|
344 |
ValueHolder |
|
345 |
VisualPart |
|
346 |
AspectAdaptor |
|
347 |
BooleanBlockValue |
|
348 |
BooleanValueHolder |
|
349 |
BufferedValueHolder |
|
350 |
DictionaryAdaptor |
|
351 |
RangeAdaptor |
|
352 |
ResourceSpecEditor |
|
353 |
TriggerValue |
|
354 |
TypeConverter |
|
3378 | 355 |
ValueHolderWithRememberedPreviousValue |
3131 | 356 |
ValueHolderWithWeakDependents |
357 |
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
|
358 |
(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
|
359 |
(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
|
360 |
(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
|
361 |
(BoundedWrapper autoload) |
3378 | 362 |
(AVIReader autoload) |
363 |
(ApplicationController autoload) |
|
364 |
(BlitImageReader autoload) |
|
365 |
(BorderedWrapper autoload) |
|
366 |
(CompositePart autoload) |
|
367 |
(CompositeTransform autoload) |
|
368 |
(ConvertedValue autoload) |
|
369 |
(DependentPart autoload) |
|
370 |
(FLIReader autoload) |
|
371 |
(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
|
372 |
(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
|
373 |
(StrokingOrFillingWrapper autoload) |
3626 | 374 |
(FillingWrapper autoload) |
3378 | 375 |
(HersheyFont autoload) |
376 |
(Insets autoload) |
|
377 |
(IrisRGBReader autoload) |
|
378 |
(MatrixTransform2x3 autoload) |
|
379 |
(PBMReader autoload) |
|
380 |
(PCXReader autoload) |
|
381 |
(PICTReader autoload) |
|
382 |
(PluggableView autoload) |
|
383 |
(RIFFReader autoload) |
|
384 |
(ST80FormReader autoload) |
|
3626 | 385 |
(StrokingWrapper autoload) |
3378 | 386 |
(SunRasterReader autoload) |
387 |
(TargaReader autoload) |
|
388 |
(ViewForwardingController autoload) |
|
389 |
(XWDReader autoload) |
|
2201 | 390 |
) |
3855
1db7742d33ad
Win32: Build libjpeg in its own directory, out-of-source-tree.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3798
diff
changeset
|
391 |
|
1db7742d33ad
Win32: Build libjpeg in its own directory, out-of-source-tree.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3798
diff
changeset
|
392 |
"Modified: / 23-01-2017 / 12:12:53 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
2729 | 393 |
! |
394 |
||
395 |
extensionMethodNames |
|
3626 | 396 |
"list class/selector pairs of extensions. |
397 |
A correponding method with real names must be present in my concrete subclasses" |
|
2838 | 398 |
|
2729 | 399 |
^ #( |
3177 | 400 |
CharacterArray asMimeType |
2729 | 401 |
) |
2201 | 402 |
! ! |
403 |
||
2192 | 404 |
!stx_libview2 class methodsFor:'description - project information'! |
405 |
||
2151 | 406 |
companyName |
407 |
"Return a companyname which will appear in <lib>.rc" |
|
408 |
||
3787 | 409 |
^ 'Claus Gittinger / eXept Software AG' |
410 |
||
411 |
"Modified: / 18-11-2016 / 11:47:52 / cg" |
|
2151 | 412 |
! |
413 |
||
414 |
description |
|
415 |
"Return a description string which will appear in nt.def / bc.def" |
|
416 |
||
2152 | 417 |
^ 'Smalltalk/X Additional Graphic Interfacing' |
418 |
! |
|
419 |
||
2151 | 420 |
legalCopyright |
421 |
"Return copyright string which will appear in <lib>.rc" |
|
422 |
||
3789 | 423 |
^ 'Copyright Claus Gittinger 1988\nCopyright eXept Software AG 2012' |
2350 | 424 |
|
3789 | 425 |
"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
|
426 |
! |
8650cfc63b66
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3093
diff
changeset
|
427 |
|
8650cfc63b66
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3093
diff
changeset
|
428 |
productName |
8650cfc63b66
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3093
diff
changeset
|
429 |
"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
|
430 |
|
8650cfc63b66
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3093
diff
changeset
|
431 |
^ 'Smalltalk/X' |
2151 | 432 |
! ! |
433 |
||
434 |
!stx_libview2 class methodsFor:'documentation'! |
|
435 |
||
436 |
version |
|
3479 | 437 |
^ '$Header$' |
2796 | 438 |
! |
439 |
||
440 |
version_CVS |
|
3479 | 441 |
^ '$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
|
442 |
! |
1db7742d33ad
Win32: Build libjpeg in its own directory, out-of-source-tree.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3798
diff
changeset
|
443 |
|
1db7742d33ad
Win32: Build libjpeg in its own directory, out-of-source-tree.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3798
diff
changeset
|
444 |
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
|
445 |
^ '$Changeset: <not expanded> $' |
2151 | 446 |
! ! |
3131 | 447 |