Package: jquery-mobile Severity: important Tags: patch Hello,
While using php-horde, I noticed that mobile UI using libjs-jquery-mobile packages is broken because for its UI interface, Horde uses jquery.mobile.min.js whereas libjs-jquery-mobile ships jquery-mobile.min.js. After looking at other reverse dependencies of libjs-jquery-mobile, even though it has been patched to fix the directory it seems to initially expects the same filename as Horde (e.g. jquery.mobile.min.js). Moreover, I think that the filenames are inconsistent between CSS files and JS files, as the former uses jquery.mobile and the latter jquery-mobile. I have attached a patch fixing this problem by adding jquery.mobile*.js symlinks, while maintaining backward compatibility to avoid breaking other reverse dependencies (but maybe it's better to fix them at the same time as there are only 2 besides of horde, what do you think?) Regards, -- Arnaud Fontaine
--- jquery-mobile-1.2.0+dfsg.orig/debian/rules 2013-06-05 12:29:54.635768582 +0900 +++ jquery-mobile-1.2.0+dfsg/debian/rules 2013-06-05 12:24:15.500104794 +0900 @@ -11,6 +11,8 @@ done ln -s $$(basename jquery.mobile-*.js) jquery-mobile.js ln -s $$(basename jquery.mobile-*.min.js) jquery-mobile.min.js + ln -s $$(basename jquery.mobile-*.js) jquery.mobile.js + ln -s $$(basename jquery.mobile-*.min.js) jquery.mobile.min.js ln -s $$(basename jquery.mobile-*.css) jquery.mobile.css ln -s $$(basename jquery.mobile-*.min.css) jquery.mobile.min.css ln -s $$(basename jquery.mobile.structure-*.css) jquery.mobile.structure.css @@ -26,6 +28,7 @@ override_dh_auto_clean: rm -f *.min.* rm -f jquery-mobile.js + rm -f jquery.mobile.js rm -f jquery.mobile.css rm -f jquery.mobile.structure.css rm -f jquery.mobile.theme.css