author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Thu, 29 Mar 2012 17:44:54 +0000 | |
changeset 29 | 44bc6c85f95a |
parent 23 | b894e51653f4 |
child 32 | 23d2385dd44c |
permissions | -rw-r--r-- |
1 | 1 |
"{ Package: 'stx:libwebkit' }" |
2 |
||
3 |
LibraryDefinition subclass:#stx_libwebkit |
|
4 |
instanceVariableNames:'' |
|
5 |
classVariableNames:'' |
|
6 |
poolDictionaries:'' |
|
7 |
category:'* Projects & Packages *' |
|
8 |
! |
|
9 |
||
10 |
||
11 |
!stx_libwebkit class methodsFor:'description'! |
|
12 |
||
13 |
excludedFromPreRequisites |
|
14 |
"list all packages which should be ignored in the automatic |
|
15 |
preRequisites scan. See #preRequisites for more." |
|
16 |
||
17 |
^ #( |
|
18 |
) |
|
19 |
! |
|
20 |
||
21 |
preRequisites |
|
22 |
"list all required packages. |
|
23 |
This list can be maintained manually or (better) generated and |
|
24 |
updated by scanning the superclass hierarchies and looking for |
|
25 |
global variable accesses. (the browser has a menu function for that) |
|
26 |
Howevery, often too much is found, and you may want to explicitely |
|
27 |
exclude individual packages in the #excludedFromPrerequisites method." |
|
28 |
||
29 |
^ #( |
|
13 | 30 |
#'stx:libbasic' "Object - superclass of WebKitView " |
31 |
#'stx:libbasic2' "Socket - referenced by WebKitRenderer>>spawn " |
|
1 | 32 |
#'stx:libview' "DeviceGraphicsContext - superclass of WebKitView " |
13 | 33 |
#'stx:libview2' "ValueHolder - referenced by WebKitView>>title " |
18
92189b67e243
- WebKitView: do not spawn renderer if already running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
15
diff
changeset
|
34 |
#'stx:libwidg' "Label - referenced by WebKitView>>initialize " |
1 | 35 |
) |
36 |
! ! |
|
37 |
||
13 | 38 |
!stx_libwebkit class methodsFor:'description - compilation'! |
39 |
||
40 |
additionalRules_make_dot_proto |
|
41 |
"allows for additional rules to be added to the make.proto file." |
|
42 |
||
43 |
^ ' |
|
23
b894e51653f4
Fixes building of webkit renderer + 64bit precompiled version added
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
20
diff
changeset
|
44 |
WebKitRenderer.$(shell uname -m): uzbl/uzbl-core |
b894e51653f4
Fixes building of webkit renderer + 64bit precompiled version added
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
20
diff
changeset
|
45 |
', Character tab , 'cp uzbl/uzbl-core WebKitRenderer.$(shell uname -m) |
b894e51653f4
Fixes building of webkit renderer + 64bit precompiled version added
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
20
diff
changeset
|
46 |
|
13 | 47 |
uzbl/uzbl-core: |
20 | 48 |
', Character tab , '$(MAKE) -C uzbl uzbl-core |
23
b894e51653f4
Fixes building of webkit renderer + 64bit precompiled version added
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
20
diff
changeset
|
49 |
|
b894e51653f4
Fixes building of webkit renderer + 64bit precompiled version added
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
20
diff
changeset
|
50 |
clean:: |
b894e51653f4
Fixes building of webkit renderer + 64bit precompiled version added
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
20
diff
changeset
|
51 |
', Character tab , '$(MAKE) -C uzbl clean |
b894e51653f4
Fixes building of webkit renderer + 64bit precompiled version added
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
20
diff
changeset
|
52 |
', Character tab , 'rm WebKitRenderer.$(shell uname -m) |
13 | 53 |
' |
54 |
||
23
b894e51653f4
Fixes building of webkit renderer + 64bit precompiled version added
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
20
diff
changeset
|
55 |
|
13 | 56 |
"Created: / 22-08-2006 / 23:59:16 / cg" |
57 |
"Modified: / 09-06-2011 / 14:29:12 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
58 |
! |
|
59 |
||
60 |
additionalTargets_make_dot_proto |
|
61 |
"allows for additional targets to be added to the make.proto file." |
|
62 |
||
23
b894e51653f4
Fixes building of webkit renderer + 64bit precompiled version added
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
20
diff
changeset
|
63 |
^ 'WebKitRenderer.$(shell uname -m)' |
13 | 64 |
|
65 |
"Created: / 22-08-2006 / 23:53:33 / cg" |
|
66 |
"Modified: / 09-06-2011 / 14:28:32 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
67 |
! ! |
|
68 |
||
1 | 69 |
!stx_libwebkit class methodsFor:'description - contents'! |
70 |
||
71 |
classNamesAndAttributes |
|
72 |
"lists the classes which are to be included in the project. |
|
73 |
Each entry in the list may be: a single class-name (symbol), |
|
74 |
or an array-literal consisting of class name and attributes. |
|
75 |
Attributes are: #autoload or #<os> where os is one of win32, unix,..." |
|
76 |
||
77 |
^ #( |
|
78 |
"<className> or (<className> attributes...) in load order" |
|
2 | 79 |
WebKitRenderer |
80 |
WebKitView |
|
1 | 81 |
#'stx_libwebkit' |
82 |
) |
|
83 |
! |
|
84 |
||
85 |
extensionMethodNames |
|
86 |
"lists the extension methods which are to be included in the project. |
|
87 |
Entries are 2-element array literals, consisting of class-name and selector." |
|
88 |
||
89 |
^ #( |
|
18
92189b67e243
- WebKitView: do not spawn renderer if already running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
15
diff
changeset
|
90 |
'GenericToolbarIconLibrary class' webKit22x22 |
1 | 91 |
) |
92 |
! ! |
|
93 |
||
94 |
!stx_libwebkit class methodsFor:'description - project information'! |
|
95 |
||
96 |
applicationIconFileName |
|
97 |
"Return the name (without suffix) of an icon-file (the app's icon); will be included in the rc-resource file" |
|
98 |
||
99 |
^ nil |
|
100 |
"/ ^ self applicationName |
|
101 |
! |
|
102 |
||
103 |
companyName |
|
104 |
"Return a companyname which will appear in <lib>.rc" |
|
105 |
||
106 |
^ 'eXept Software AG' |
|
107 |
! |
|
108 |
||
109 |
description |
|
110 |
"Return a description string which will appear in vc.def / bc.def" |
|
111 |
||
112 |
^ 'Smalltalk/X Class library' |
|
113 |
! |
|
114 |
||
115 |
legalCopyright |
|
116 |
"Return a copyright string which will appear in <lib>.rc" |
|
117 |
||
118 |
^ 'Copyright Claus Gittinger 1988-2011\nCopyright eXept Software AG 1998-2011' |
|
119 |
! |
|
120 |
||
121 |
productName |
|
122 |
"Return a product name which will appear in <lib>.rc" |
|
123 |
||
124 |
^ 'Smalltalk/X' |
|
125 |
! ! |
|
126 |
||
127 |
!stx_libwebkit class methodsFor:'description - svn'! |
|
128 |
||
129 |
svnRepositoryUrlString |
|
130 |
"Return a SVN repository URL of myself. |
|
131 |
(Generated since 2011-04-08) |
|
29 | 132 |
Do not make the string shorter!!!!!! We have to use fixed-length keyword!!!!!! |
1 | 133 |
" |
134 |
||
29 | 135 |
^ '$URL:: $' |
1 | 136 |
! |
137 |
||
138 |
svnRevisionNr |
|
139 |
"Return a SVN revision number of myself. |
|
140 |
This number is updated after a commit" |
|
141 |
||
29 | 142 |
^ "$SVN-Revision:"'nil '"$" |
1 | 143 |
! ! |
144 |
||
145 |
!stx_libwebkit class methodsFor:'documentation'! |
|
146 |
||
147 |
version_SVN |
|
148 |
^ '$Id$' |
|
149 |
! ! |