summaryrefslogtreecommitdiffstats
path: root/debian/wordpress.linktrees
blob: 2f462ed1e4320315c672c587bb2c88202b26cef2 (plain)
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
# Symlinks to replace embedded libraries

### Javascript
# Backbone
deduplicate usr/share/javascript/backbone/backbone.min.js usr/share/wordpress/wp-includes/js/backbone.min.js

# cropper
replace usr/share/javascript/cropper usr/share/wordpress/wp-includes/js/crop

# lodash
replace usr/share/javascript/lodash/lodash.js usr/share/wordpress/wp-includes/js/dist/vendor/lodash.js
replace usr/share/javascript/lodash/lodash.min.js usr/share/wordpress/wp-includes/js/dist/vendor/lodash.min.js

# getid3
replace usr/share/php/getid3 usr/share/wordpress/wp-includes/ID3

# Jquery
# This one will never work as long a WP includes the jQuery.noConflict at
# the end, see http://core.trac.wordpress.org/ticket/16494 for a somewhat
# related discussion
deduplicate usr/share/javascript/jquery/jquery.min.js usr/share/wordpress/wp-includes/js/jquery/jquery.js

# Jquery-form
deduplicate usr/share/javascript/jquery-form usr/share/wordpress/wp-includes/js/jquery

# Jquery UI
# The debian package does not provide the required *.min.js files so we
# can't deduplicate them (see #677619 for a wishlist bug about this)
deduplicate usr/share/javascript/jquery-ui/ui usr/share/wordpress/wp-includes/js/jquery/ui

# mediaelement - too old 2.18.2 versus 2.15.1
#replace usr/share/javascript/mediaelement usr/share/wordpress/wp-includes/js/mediaelement

# Underscore
replace usr/share/javascript/underscore/underscore.min.js usr/share/wordpress/wp-includes/js/underscore.min.js
replace usr/share/javascript/underscore/underscore.js usr/share/wordpress/wp-includes/js/underscore.js

### PHP
#
# PHPmailer - No, see #905254
#replace usr/share/php/libphp-phpmailer/class.phpmailer.php usr/share/wordpress/wp-includes/class-phpmailer.php
#replace usr/share/php/libphp-phpmailer/class.smtp.php usr/share/wordpress/wp-includes/class-smtp.php

# Simplepie
# Use the embedded copy until #669054 is resolved
# replace usr/share/php/simplepie/simplepie.inc usr/share/wordpress/wp-includes/class-simplepie.php

# Snoopy
# wordpress version is prefixed with deprecated
#replace usr/share/php/libphp-snoopy/Snoopy.class.php usr/share/wordpress/wp-includes/class-snoopy.php