1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
The Debian packaging of searx is maintained in git, using the merging workflow
described in dgit-maint-merge(7). There isn't a patch queue that can be
represented as a quilt series.
A detailed breakdown of the changes is available from their canonical
representation - git commits in the packaging repository. For example, to see
the changes made by the Debian maintainer in the first upload of upstream
version 1.2.3, you could use:
% git clone https://git.dgit.debian.org/searx
% cd searx
% git log --oneline 1.2.3..debian/1.2.3-1 -- . ':!debian'
(If you have dgit, use `dgit clone searx`, rather than plain `git clone`.)
A single combined diff, containing all the changes, follows.
--- searx-0.12.0+dfsg1.orig/manage.sh
+++ searx-0.12.0+dfsg1/manage.sh
@@ -88,7 +88,6 @@ styles() {
build_style themes/legacy/less/style-rtl.less themes/legacy/css/style-rtl.css
build_style themes/courgette/less/style.less themes/courgette/css/style.css
build_style themes/courgette/less/style-rtl.less themes/courgette/css/style-rtl.css
- build_style less/bootstrap/bootstrap.less css/bootstrap.min.css
build_style themes/oscar/less/pointhi/oscar.less themes/oscar/css/pointhi.min.css
build_style themes/oscar/less/logicodev/oscar.less themes/oscar/css/logicodev.min.css
build_style themes/pix-art/less/style.less themes/pix-art/css/style.css
--- searx-0.12.0+dfsg1.orig/searx/settings.yml
+++ searx-0.12.0+dfsg1/searx/settings.yml
@@ -16,8 +16,8 @@ server:
http_protocol_version : "1.0" # 1.0 and 1.1 are supported
ui:
- static_path : "" # Custom static path - leave it blank if you didn't change
- templates_path : "" # Custom templates path - leave it blank if you didn't change
+ static_path : "/usr/share/python3-searx/static" # Custom static path - leave it blank if you didn't change
+ templates_path : "/usr/share/python3-searx/templates" # Custom templates path - leave it blank if you didn't change
default_theme : oscar # ui theme
default_locale : "" # Default interface locale - leave blank to detect from browser information or use codes from the 'locales' config section
--- searx-0.12.0+dfsg1.orig/searx/static/themes/oscar/gruntfile.js
+++ searx-0.12.0+dfsg1/searx/static/themes/oscar/gruntfile.js
@@ -75,16 +75,9 @@ module.exports = function(grunt) {
}
});
- grunt.loadNpmTasks('grunt-contrib-uglify');
- grunt.loadNpmTasks('grunt-contrib-jshint');
- grunt.loadNpmTasks('grunt-contrib-watch');
- grunt.loadNpmTasks('grunt-contrib-concat');
- grunt.loadNpmTasks('grunt-contrib-less');
+ grunt.loadNpmTasks('grunt-contrib-uglify', '/usr/lib/nodejs');
+ grunt.loadNpmTasks('grunt-contrib-concat', '/usr/lib/nodejs');
- grunt.registerTask('test', ['jshint']);
-
- grunt.registerTask('default', ['jshint', 'concat', 'uglify', 'less']);
-
- grunt.registerTask('styles', ['less']);
+ grunt.registerTask('default', ['concat', 'uglify']);
};
--- searx-0.12.0+dfsg1.orig/setup.py
+++ searx-0.12.0+dfsg1/setup.py
@@ -51,23 +51,9 @@ setup(
},
package_data={
'searx': [
- 'settings.yml',
- '../README.rst',
- '../requirements.txt',
- '../requirements-dev.txt',
'data/*',
'plugins/*/*',
- 'static/*.*',
- 'static/*/*.*',
- 'static/*/*/*.*',
- 'static/*/*/*/*.*',
- 'static/*/*/*/*/*.*',
- 'templates/*/*.*',
- 'templates/*/*/*.*',
- 'tests/*',
- 'tests/*/*',
- 'tests/*/*/*',
- 'translations/*/*/*'
+ 'translations/*/*/*.mo'
],
},
|