Debian Codegraph @

debian/patches/fix-build.patch

raw symbols SCIP
1 Description: fix build
2 Author: Yadd <[email protected]>
3 Forwarded: not-needed
4 Last-Update: 2021-11-08
5
6 Index: jqueryui/Gruntfile.js
7 ===================================================================
8 --- jqueryui.orig/Gruntfile.js
9 +++ jqueryui/Gruntfile.js
10 @@ -154,8 +154,8 @@ grunt.initConfig( {
11 options: {
12 baseUrl: "./",
13 paths: {
14 - jquery: "./external/jquery/jquery",
15 - external: "./external/"
16 + jquery: "/usr/share/nodejs/jquery/dist/jquery",
17 + external: "/usr/share/nodejs/"
18 },
19 preserveLicenseComments: false,
20 optimize: "none",
21 @@ -172,167 +172,6 @@ grunt.initConfig( {
22 },
23
24 minify,
25 - htmllint: {
26 - good: {
27 - options: {
28 - ignore: [
29 - /The text content of element “script” was not in the required format: Expected space, tab, newline, or slash but found “.” instead/,
30 - /This document appears to be written in .*. Consider using “lang=".*"” \(or variant\) instead/
31 - ]
32 - },
33 - src: [
34 - "{demos,tests}/**/*.html",
35 - ...htmllintBad.map( pattern => `!${ pattern }` )
36 - ]
37 - },
38 - bad: {
39 - options: {
40 - ignore: [
41 - /Start tag seen without seeing a doctype first/,
42 - /Element “head” is missing a required instance of child element “title”/,
43 - /Element “object” is missing one or more of the following/,
44 - /The “codebase” attribute on the “object” element is obsolete/,
45 - /Consider adding a “lang” attribute to the “html” start tag/,
46 - /This document appears to be written in .*. Consider (?:adding|using) “lang=".*"” \(or variant\)/
47 - ]
48 - },
49 - src: htmllintBad
50 - }
51 - },
52 - eslint: {
53 - all: [
54 - "ui/**/*.js",
55 - "!ui/vendor/**/*.js",
56 - "Gruntfile.js",
57 - "dist/jquery-ui.js",
58 - "dist/jquery-ui.min.js",
59 - "build/**/*.js",
60 - "tests/unit/**/*.js",
61 - "tests/lib/**/*.js",
62 - "!tests/lib/vendor/**/*.js",
63 - "demos/**/*.js"
64 - ]
65 - },
66 - csslint: {
67 - base_theme: {
68 - src: "themes/base/*.css",
69 - options: {
70 - csslintrc: ".csslintrc"
71 - }
72 - }
73 - },
74 -
75 - bowercopy: {
76 - inlineVendors: {
77 - options: {
78 - clean: true,
79 - destPrefix: "ui/vendor"
80 - },
81 - files: {
82 - "jquery-color/jquery.color.js": "jquery-color/dist/jquery.color.js",
83 - "jquery-color/LICENSE.txt": "jquery-color/LICENSE.txt"
84 - }
85 - },
86 -
87 - all: {
88 - options: {
89 - clean: true,
90 - ignore: [ "jquery" ],
91 - destPrefix: "external"
92 - },
93 - files: {
94 - "qunit/qunit.js": "qunit/qunit/qunit.js",
95 - "qunit/qunit.css": "qunit/qunit/qunit.css",
96 - "qunit/LICENSE.txt": "qunit/LICENSE.txt",
97 -
98 - "requirejs/require.js": "requirejs/require.js",
99 -
100 - "jquery-mousewheel/jquery.mousewheel.js": "jquery-mousewheel/jquery.mousewheel.js",
101 - "jquery-mousewheel/LICENSE.txt": "jquery-mousewheel/LICENSE.txt",
102 -
103 - "jquery-simulate/jquery.simulate.js": "jquery-simulate/jquery.simulate.js",
104 - "jquery-simulate/LICENSE.txt": "jquery-simulate/LICENSE.txt",
105 -
106 - "jquery/jquery.js": "jquery-3.x/dist/jquery.js",
107 - "jquery/LICENSE.txt": "jquery-3.x/LICENSE.txt",
108 -
109 - "jquery-1.12.4/jquery.js": "jquery-1.12.4/dist/jquery.js",
110 - "jquery-1.12.4/LICENSE.txt": "jquery-1.12.4/LICENSE.txt",
111 -
112 - "jquery-2.2.4/jquery.js": "jquery-2.2.4/dist/jquery.js",
113 - "jquery-2.2.4/LICENSE.txt": "jquery-2.2.4/LICENSE.txt",
114 -
115 - "jquery-3.0.0/jquery.js": "jquery-3.0.0/dist/jquery.js",
116 - "jquery-3.0.0/LICENSE.txt": "jquery-3.0.0/LICENSE.txt",
117 -
118 - "jquery-3.1.0/jquery.js": "jquery-3.1.0/dist/jquery.js",
119 - "jquery-3.1.0/LICENSE.txt": "jquery-3.1.0/LICENSE.txt",
120 -
121 - "jquery-3.1.1/jquery.js": "jquery-3.1.1/dist/jquery.js",
122 - "jquery-3.1.1/LICENSE.txt": "jquery-3.1.1/LICENSE.txt",
123 -
124 - "jquery-3.2.0/jquery.js": "jquery-3.2.0/dist/jquery.js",
125 - "jquery-3.2.0/LICENSE.txt": "jquery-3.2.0/LICENSE.txt",
126 -
127 - "jquery-3.2.1/jquery.js": "jquery-3.2.1/dist/jquery.js",
128 - "jquery-3.2.1/LICENSE.txt": "jquery-3.2.1/LICENSE.txt",
129 -
130 - "jquery-3.3.0/jquery.js": "jquery-3.3.0/dist/jquery.js",
131 - "jquery-3.3.0/LICENSE.txt": "jquery-3.3.0/LICENSE.txt",
132 -
133 - "jquery-3.3.1/jquery.js": "jquery-3.3.1/dist/jquery.js",
134 - "jquery-3.3.1/LICENSE.txt": "jquery-3.3.1/LICENSE.txt",
135 -
136 - "jquery-3.4.0/jquery.js": "jquery-3.4.0/dist/jquery.js",
137 - "jquery-3.4.0/LICENSE.txt": "jquery-3.4.0/LICENSE.txt",
138 -
139 - "jquery-3.4.1/jquery.js": "jquery-3.4.1/dist/jquery.js",
140 - "jquery-3.4.1/LICENSE.txt": "jquery-3.4.1/LICENSE.txt",
141 -
142 - "jquery-3.5.0/jquery.js": "jquery-3.5.0/dist/jquery.js",
143 - "jquery-3.5.0/LICENSE.txt": "jquery-3.5.0/LICENSE.txt",
144 -
145 - "jquery-3.5.1/jquery.js": "jquery-3.5.1/dist/jquery.js",
146 - "jquery-3.5.1/LICENSE.txt": "jquery-3.5.1/LICENSE.txt",
147 -
148 - "jquery-3.6.0/jquery.js": "jquery-3.6.0/dist/jquery.js",
149 - "jquery-3.6.0/LICENSE.txt": "jquery-3.6.0/LICENSE.txt",
150 -
151 - "jquery-3.6.1/jquery.js": "jquery-3.6.1/dist/jquery.js",
152 - "jquery-3.6.1/LICENSE.txt": "jquery-3.6.1/LICENSE.txt",
153 -
154 - "jquery-3.6.2/jquery.js": "jquery-3.6.2/dist/jquery.js",
155 - "jquery-3.6.2/LICENSE.txt": "jquery-3.6.2/LICENSE.txt",
156 -
157 - "jquery-3.6.3/jquery.js": "jquery-3.6.3/dist/jquery.js",
158 - "jquery-3.6.3/LICENSE.txt": "jquery-3.6.3/LICENSE.txt",
159 -
160 - "jquery-3.6.4/jquery.js": "jquery-3.6.4/dist/jquery.js",
161 - "jquery-3.6.4/LICENSE.txt": "jquery-3.6.4/LICENSE.txt",
162 -
163 - "jquery-3.7.0/jquery.js": "jquery-3.7.0/dist/jquery.js",
164 - "jquery-3.7.0/LICENSE.txt": "jquery-3.7.0/LICENSE.txt",
165 -
166 - "jquery-3.7.1/jquery.js": "jquery-3.7.1/dist/jquery.js",
167 - "jquery-3.7.1/LICENSE.txt": "jquery-3.7.1/LICENSE.txt",
168 -
169 - "jquery-4.0.0/jquery.js": "jquery-4.0.0/dist/jquery.js",
170 - "jquery-4.0.0/LICENSE.txt": "jquery-4.0.0/LICENSE.txt",
171 -
172 - "jquery-migrate-1.x/jquery-migrate.js":
173 - "jquery-migrate-1.x/dist/jquery-migrate.js",
174 - "jquery-migrate-1.x/LICENSE.txt": "jquery-migrate-1.x/LICENSE.txt",
175 -
176 - "jquery-migrate-3.x/jquery-migrate.js":
177 - "jquery-migrate-3.x/dist/jquery-migrate.js",
178 - "jquery-migrate-3.x/LICENSE.txt": "jquery-migrate-3.x/LICENSE.txt",
179 -
180 - "jquery-migrate-4.x/jquery-migrate.js":
181 - "jquery-migrate-4.x/dist/jquery-migrate.js",
182 - "jquery-migrate-4.x/LICENSE.txt": "jquery-migrate-4.x/LICENSE.txt"
183 - }
184 - }
185 - },
186
187 authors: {
188 prior: [
189 @@ -404,15 +243,5 @@ grunt.registerTask( "print_old_node_mess
190 } );
191
192 // Keep this task list in sync with the testing steps in our GitHub action test workflow file!
193 -grunt.registerTask( "lint", [
194 - "asciilint",
195 - "eslint",
196 - "csslint",
197 - "htmllint"
198 -] );
199 -grunt.registerTask( "build", [ "requirejs", "concat", "minify:main" ] );
200 -grunt.registerTask( "default", [ "build", "lint" ] );
201 -grunt.registerTask( "sizer", [ "requirejs:js", "minify:main", "compare_size:all" ] );
202 -grunt.registerTask( "sizer_all", [ "requirejs:js", "minify", "compare_size" ] );
203
204 };