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