[Touch-packages] [Bug 1485217] Re: Magic for text/x-tex broken
Thanks for the detail, indeed it was fixed in https://packages.qa.debian.org/s/shared-mime- info/news/20150919T193529Z.html The new package has been synced to Ubuntu https://launchpad.net/ubuntu/+source/shared-mime-info/1.5-2 ** Changed in: shared-mime-info (Ubuntu) Importance: Undecided => High ** Changed in: shared-mime-info (Ubuntu) Status: Incomplete => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to shared-mime-info in Ubuntu. https://bugs.launchpad.net/bugs/1485217 Title: Magic for text/x-tex broken Status in shared-mime-info package in Ubuntu: Fix Released Bug description: The magic for text/x-tex in Ubuntu 15.04 is broken as it assigns text/x-tex to any text file which contains the word "section", "chapter" or "documentclass" within the first 100 characters. This behavior is fixed if one adds backslashes to the appropriate match values in /usr/share/mime/packages/freedesktop.org.xml (.in) (see attached patch). Edit: You can reproduce this bug as follows. Is (output on Ubuntu 15.04): user@host:/tmp/mime$ dpkg -s shared-mime-info | grep "Version" Version: 1.3-1 user@host:/tmp/mime$ sed '30568,30638!d' /usr/share/mime/packages/freedesktop.org.xml TeX document مستند TeX Dakument TeX Документ — TeX document TeX Dokument TeX Dogfen TeX TeX-dokument TeX-Dokument έγγραφο TeX TeX document TeX-dokumento documento TeX TeX dokumentua TeX-asiakirja TeX skjal document TeX cáipéis TeX documenton TeX מסמך TeX TeX dokument TeX-dokumentum Dokumen TeX Documento TeX TeX ドキュメント TeX құжаты TeX 문서 TeX dokumentas TeX dokuments Dokumen TeX TeX-dokument TeX-document TeX-dokument Dokument TeX documento TeX Documento TeX Document TeX документ TeX Dokument TeX Dokument TeX Dokument TeX ТеХ документ TeX-dokument TeX belgesi документ TeX Tài liệu TeX TeX 文档 TeX 文件 user@host:/tmp/mime$ echo "Normal text using 'sectional'." > no_tex user@host:/tmp/mime$ mimetype no_tex no_tex: text/x-tex user@host:/tmp/mime$ echo "\section{A \TeX Section}" > tex_file.tex user@host:/tmp/mime$ mimetype tex_file.tex tex_file.tex: text/x-tex Should (is, after patching): user@host:/tmp/mime$ sed '30568,30638!d' /usr/share/mime/packages/freedesktop.org.xml TeX document مستند TeX Dakument TeX Документ — TeX document TeX Dokument TeX Dogfen TeX TeX-dokument TeX-Dokument έγγραφο TeX TeX document TeX-dokumento documento TeX TeX dokumentua TeX-asiakirja TeX skjal document TeX cáipéis TeX documenton TeX מסמך TeX TeX dokument TeX-dokumentum Dokumen TeX Documento TeX TeX ドキュメント TeX құжаты TeX 문서 TeX dokumentas TeX dokuments Dokumen TeX TeX-dokument TeX-document TeX-dokument Dokument TeX documento TeX Documento TeX Document TeX документ TeX Dokument TeX Dokument TeX Dokument TeX ТеХ документ TeX-dokument TeX belgesi документ TeX Tài liệu TeX TeX 文档 TeX 文件 user@host:/tmp/mime$ echo "Normal text using 'sectional'." > no_tex user@host:/tmp/mime$ mimetype no_tex no_tex: text/plain user@host:/tmp/mime$ echo "\section{A \TeX Section}" > tex_file.tex user@host:/tmp/mime$ mimetype tex_file.tex tex_file.tex: text/x-tex To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/shared-mime-info/+bug/1485217/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1485217] Re: Magic for text/x-tex broken
The bug is now fixed in Debian upstream (revision 378, thanks to user "slomo"): http://anonscm.debian.org/viewvc/pkg-freedesktop/trunk/shared-mime-info/debian/patches/061_tex-matlab.patch?view=log It is not (and probably never was) present in the Freedesktop sources: http://cgit.freedesktop.org/xdg/shared-mime-info/tree/freedesktop.org.xml.in -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to shared-mime-info in Ubuntu. https://bugs.launchpad.net/bugs/1485217 Title: Magic for text/x-tex broken Status in shared-mime-info package in Ubuntu: Incomplete Bug description: The magic for text/x-tex in Ubuntu 15.04 is broken as it assigns text/x-tex to any text file which contains the word "section", "chapter" or "documentclass" within the first 100 characters. This behavior is fixed if one adds backslashes to the appropriate match values in /usr/share/mime/packages/freedesktop.org.xml (.in) (see attached patch). Edit: You can reproduce this bug as follows. Is (output on Ubuntu 15.04): user@host:/tmp/mime$ dpkg -s shared-mime-info | grep "Version" Version: 1.3-1 user@host:/tmp/mime$ sed '30568,30638!d' /usr/share/mime/packages/freedesktop.org.xml TeX document مستند TeX Dakument TeX Документ — TeX document TeX Dokument TeX Dogfen TeX TeX-dokument TeX-Dokument έγγραφο TeX TeX document TeX-dokumento documento TeX TeX dokumentua TeX-asiakirja TeX skjal document TeX cáipéis TeX documenton TeX מסמך TeX TeX dokument TeX-dokumentum Dokumen TeX Documento TeX TeX ドキュメント TeX құжаты TeX 문서 TeX dokumentas TeX dokuments Dokumen TeX TeX-dokument TeX-document TeX-dokument Dokument TeX documento TeX Documento TeX Document TeX документ TeX Dokument TeX Dokument TeX Dokument TeX ТеХ документ TeX-dokument TeX belgesi документ TeX Tài liệu TeX TeX 文档 TeX 文件 user@host:/tmp/mime$ echo "Normal text using 'sectional'." > no_tex user@host:/tmp/mime$ mimetype no_tex no_tex: text/x-tex user@host:/tmp/mime$ echo "\section{A \TeX Section}" > tex_file.tex user@host:/tmp/mime$ mimetype tex_file.tex tex_file.tex: text/x-tex Should (is, after patching): user@host:/tmp/mime$ sed '30568,30638!d' /usr/share/mime/packages/freedesktop.org.xml TeX document مستند TeX Dakument TeX Документ — TeX document TeX Dokument TeX Dogfen TeX TeX-dokument TeX-Dokument έγγραφο TeX TeX document TeX-dokumento documento TeX TeX dokumentua TeX-asiakirja TeX skjal document TeX cáipéis TeX documenton TeX מסמך TeX TeX dokument TeX-dokumentum Dokumen TeX Documento TeX TeX ドキュメント TeX құжаты TeX 문서 TeX dokumentas TeX dokuments Dokumen TeX TeX-dokument TeX-document TeX-dokument Dokument TeX documento TeX Documento TeX Document TeX документ TeX Dokument TeX Dokument TeX Dokument TeX ТеХ документ TeX-dokument TeX belgesi документ TeX Tài liệu TeX TeX 文档 TeX 文件 user@host:/tmp/mime$ echo "Normal text using 'sectional'." > no_tex user@host:/tmp/mime$ mimetype no_tex no_tex: text/plain user@host:/tmp/mime$ echo "\section{A \TeX Section}" > tex_file.tex user@host:/tmp/mime$ mimetype tex_file.tex tex_file.tex: text/x-tex To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/shared-mime-info/+bug/1485217/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1485217] Re: Magic for text/x-tex broken
ideally that would be sent upstream to https://bugs.freedesktop.org/enter_bug.cgi?product=shared-mime-info -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to shared-mime-info in Ubuntu. https://bugs.launchpad.net/bugs/1485217 Title: Magic for text/x-tex broken Status in shared-mime-info package in Ubuntu: Incomplete Bug description: The magic for text/x-tex in Ubuntu 15.04 is broken as it assigns text/x-tex to any text file which contains the word "section", "chapter" or "documentclass" within the first 100 characters. This behavior is fixed if one adds backslashes to the appropriate match values in /usr/share/mime/packages/freedesktop.org.xml (.in) (see attached patch). Edit: You can reproduce this bug as follows. Is (output on Ubuntu 15.04): user@host:/tmp/mime$ dpkg -s shared-mime-info | grep "Version" Version: 1.3-1 user@host:/tmp/mime$ sed '30568,30638!d' /usr/share/mime/packages/freedesktop.org.xml TeX document مستند TeX Dakument TeX Документ — TeX document TeX Dokument TeX Dogfen TeX TeX-dokument TeX-Dokument έγγραφο TeX TeX document TeX-dokumento documento TeX TeX dokumentua TeX-asiakirja TeX skjal document TeX cáipéis TeX documenton TeX מסמך TeX TeX dokument TeX-dokumentum Dokumen TeX Documento TeX TeX ドキュメント TeX құжаты TeX 문서 TeX dokumentas TeX dokuments Dokumen TeX TeX-dokument TeX-document TeX-dokument Dokument TeX documento TeX Documento TeX Document TeX документ TeX Dokument TeX Dokument TeX Dokument TeX ТеХ документ TeX-dokument TeX belgesi документ TeX Tài liệu TeX TeX 文档 TeX 文件 user@host:/tmp/mime$ echo "Normal text using 'sectional'." > no_tex user@host:/tmp/mime$ mimetype no_tex no_tex: text/x-tex user@host:/tmp/mime$ echo "\section{A \TeX Section}" > tex_file.tex user@host:/tmp/mime$ mimetype tex_file.tex tex_file.tex: text/x-tex Should (is, after patching): user@host:/tmp/mime$ sed '30568,30638!d' /usr/share/mime/packages/freedesktop.org.xml TeX document مستند TeX Dakument TeX Документ — TeX document TeX Dokument TeX Dogfen TeX TeX-dokument TeX-Dokument έγγραφο TeX TeX document TeX-dokumento documento TeX TeX dokumentua TeX-asiakirja TeX skjal document TeX cáipéis TeX documenton TeX מסמך TeX TeX dokument TeX-dokumentum Dokumen TeX Documento TeX TeX ドキュメント TeX құжаты TeX 문서 TeX dokumentas TeX dokuments Dokumen TeX TeX-dokument TeX-document TeX-dokument Dokument TeX documento TeX Documento TeX Document TeX документ TeX Dokument TeX Dokument TeX Dokument TeX ТеХ документ TeX-dokument TeX belgesi документ TeX Tài liệu TeX TeX 文档 TeX 文件 user@host:/tmp/mime$ echo "Normal text using 'sectional'." > no_tex user@host:/tmp/mime$ mimetype no_tex no_tex: text/plain user@host:/tmp/mime$ echo "\section{A \TeX Section}" > tex_file.tex user@host:/tmp/mime$ mimetype tex_file.tex tex_file.tex: text/x-tex To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/shared-mime-info/+bug/1485217/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1485217] Re: Magic for text/x-tex broken
Could you please elaborate on which additional information you need? Using the commands given above, one can reproduce this bug. I could also verify that it affects Ubuntu 14.04 LTS, too. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to shared-mime-info in Ubuntu. https://bugs.launchpad.net/bugs/1485217 Title: Magic for text/x-tex broken Status in shared-mime-info package in Ubuntu: Incomplete Bug description: The magic for text/x-tex in Ubuntu 15.04 is broken as it assigns text/x-tex to any text file which contains the word "section", "chapter" or "documentclass" within the first 100 characters. This behavior is fixed if one adds backslashes to the appropriate match values in /usr/share/mime/packages/freedesktop.org.xml (.in) (see attached patch). Edit: You can reproduce this bug as follows. Is (output on Ubuntu 15.04): user@host:/tmp/mime$ dpkg -s shared-mime-info | grep "Version" Version: 1.3-1 user@host:/tmp/mime$ sed '30568,30638!d' /usr/share/mime/packages/freedesktop.org.xml TeX document مستند TeX Dakument TeX Документ — TeX document TeX Dokument TeX Dogfen TeX TeX-dokument TeX-Dokument έγγραφο TeX TeX document TeX-dokumento documento TeX TeX dokumentua TeX-asiakirja TeX skjal document TeX cáipéis TeX documenton TeX מסמך TeX TeX dokument TeX-dokumentum Dokumen TeX Documento TeX TeX ドキュメント TeX құжаты TeX 문서 TeX dokumentas TeX dokuments Dokumen TeX TeX-dokument TeX-document TeX-dokument Dokument TeX documento TeX Documento TeX Document TeX документ TeX Dokument TeX Dokument TeX Dokument TeX ТеХ документ TeX-dokument TeX belgesi документ TeX Tài liệu TeX TeX 文档 TeX 文件 user@host:/tmp/mime$ echo "Normal text using 'sectional'." > no_tex user@host:/tmp/mime$ mimetype no_tex no_tex: text/x-tex user@host:/tmp/mime$ echo "\section{A \TeX Section}" > tex_file.tex user@host:/tmp/mime$ mimetype tex_file.tex tex_file.tex: text/x-tex Should (is, after patching): user@host:/tmp/mime$ sed '30568,30638!d' /usr/share/mime/packages/freedesktop.org.xml TeX document مستند TeX Dakument TeX Документ — TeX document TeX Dokument TeX Dogfen TeX TeX-dokument TeX-Dokument έγγραφο TeX TeX document TeX-dokumento documento TeX TeX dokumentua TeX-asiakirja TeX skjal document TeX cáipéis TeX documenton TeX מסמך TeX TeX dokument TeX-dokumentum Dokumen TeX Documento TeX TeX ドキュメント TeX құжаты TeX 문서 TeX dokumentas TeX dokuments Dokumen TeX TeX-dokument TeX-document TeX-dokument Dokument TeX documento TeX Documento TeX Document TeX документ TeX Dokument TeX Dokument TeX Dokument TeX ТеХ документ TeX-dokument TeX belgesi документ TeX Tài liệu TeX TeX 文档 TeX 文件 user@host:/tmp/mime$ echo "Normal text using 'sectional'." > no_tex user@host:/tmp/mime$ mimetype no_tex no_tex: text/plain user@host:/tmp/mime$ echo "\section{A \TeX Section}" > tex_file.tex user@host:/tmp/mime$ mimetype tex_file.tex tex_file.tex: text/x-tex To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/shared-mime-info/+bug/1485217/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1485217] Re: Magic for text/x-tex broken
** Changed in: shared-mime-info (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to shared-mime-info in Ubuntu. https://bugs.launchpad.net/bugs/1485217 Title: Magic for text/x-tex broken Status in shared-mime-info package in Ubuntu: Incomplete Bug description: The magic for text/x-tex in Ubuntu 15.04 is broken as it assigns text/x-tex to any text file which contains the word "section", "chapter" or "documentclass" within the first 100 characters. This behavior is fixed if one adds backslashes to the appropriate match values in /usr/share/mime/packages/freedesktop.org.xml (.in) (see attached patch). Edit: You can reproduce this bug as follows. Is (output on Ubuntu 15.04): user@host:/tmp/mime$ dpkg -s shared-mime-info | grep "Version" Version: 1.3-1 user@host:/tmp/mime$ sed '30568,30638!d' /usr/share/mime/packages/freedesktop.org.xml TeX document مستند TeX Dakument TeX Документ — TeX document TeX Dokument TeX Dogfen TeX TeX-dokument TeX-Dokument έγγραφο TeX TeX document TeX-dokumento documento TeX TeX dokumentua TeX-asiakirja TeX skjal document TeX cáipéis TeX documenton TeX מסמך TeX TeX dokument TeX-dokumentum Dokumen TeX Documento TeX TeX ドキュメント TeX құжаты TeX 문서 TeX dokumentas TeX dokuments Dokumen TeX TeX-dokument TeX-document TeX-dokument Dokument TeX documento TeX Documento TeX Document TeX документ TeX Dokument TeX Dokument TeX Dokument TeX ТеХ документ TeX-dokument TeX belgesi документ TeX Tài liệu TeX TeX 文档 TeX 文件 user@host:/tmp/mime$ echo "Normal text using 'sectional'." > no_tex user@host:/tmp/mime$ mimetype no_tex no_tex: text/x-tex user@host:/tmp/mime$ echo "\section{A \TeX Section}" > tex_file.tex user@host:/tmp/mime$ mimetype tex_file.tex tex_file.tex: text/x-tex Should (is, after patching): user@host:/tmp/mime$ sed '30568,30638!d' /usr/share/mime/packages/freedesktop.org.xml TeX document مستند TeX Dakument TeX Документ — TeX document TeX Dokument TeX Dogfen TeX TeX-dokument TeX-Dokument έγγραφο TeX TeX document TeX-dokumento documento TeX TeX dokumentua TeX-asiakirja TeX skjal document TeX cáipéis TeX documenton TeX מסמך TeX TeX dokument TeX-dokumentum Dokumen TeX Documento TeX TeX ドキュメント TeX құжаты TeX 문서 TeX dokumentas TeX dokuments Dokumen TeX TeX-dokument TeX-document TeX-dokument Dokument TeX documento TeX Documento TeX Document TeX документ TeX Dokument TeX Dokument TeX Dokument TeX ТеХ документ TeX-dokument TeX belgesi документ TeX Tài liệu TeX TeX 文档 TeX 文件 user@host:/tmp/mime$ echo "Normal text using 'sectional'." > no_tex user@host:/tmp/mime$ mimetype no_tex no_tex: text/plain user@host:/tmp/mime$ echo "\section{A \TeX Section}" > tex_file.tex user@host:/tmp/mime$ mimetype tex_file.tex tex_file.tex: text/x-tex To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/shared-mime-info/+bug/1485217/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1485217] Re: Magic for text/x-tex broken
** Description changed: The magic for text/x-tex in Ubuntu 15.04 is broken as it assigns text/x-tex to any text file which contains the word "section", "chapter" or "documentclass" within the first 100 characters. This behavior is fixed if one adds backslashes to the appropriate match values in /usr/share/mime/packages/freedesktop.org.xml (.in) (see attached patch). + + Edit: You can reproduce this bug as follows. + + Is (output on Ubuntu 15.04): + user@host:/tmp/mime$ dpkg -s shared-mime-info | grep "Version" + Version: 1.3-1 + user@host:/tmp/mime$ sed '30568,30638!d' /usr/share/mime/packages/freedesktop.org.xml + + TeX document + مستند TeX + Dakument TeX + Документ — TeX + document TeX + Dokument TeX + Dogfen TeX + TeX-dokument + TeX-Dokument + έγγραφο TeX + TeX document + TeX-dokumento + documento TeX + TeX dokumentua + TeX-asiakirja + TeX skjal + document TeX + cáipéis TeX + documenton TeX + מסמך TeX + TeX dokument + TeX-dokumentum + Dokumen TeX + Documento TeX + TeX ドキュメント + TeX құжаты + TeX 문서 + TeX dokumentas + TeX dokuments + Dokumen TeX + TeX-dokument + TeX-document + TeX-dokument + Dokument TeX + documento TeX + Documento TeX + Document TeX + документ TeX + Dokument TeX + Dokument TeX + Dokument TeX + ТеХ документ + TeX-dokument + TeX belgesi + документ TeX + Tài liệu TeX + TeX 文档 + TeX 文件 + + + + + + + + + + + + + + + + + + + + + + + user@host:/tmp/mime$ echo "Normal text using 'sectional'." > no_tex + user@host:/tmp/mime$ mimetype no_tex + no_tex: text/x-tex + user@host:/tmp/mime$ echo "\section{A \TeX Section}" > tex_file.tex + user@host:/tmp/mime$ mimetype tex_file.tex + tex_file.tex: text/x-tex + + + Should (is, after patching): + user@host:/tmp/mime$ sed '30568,30638!d' /usr/share/mime/packages/freedesktop.org.xml + + TeX document + مستند TeX + Dakument TeX + Документ — TeX + document TeX + Dokument TeX + Dogfen TeX + TeX-dokument + TeX-Dokument + έγγραφο TeX + TeX document + TeX-dokumento + documento TeX + TeX dokumentua + TeX-asiakirja + TeX skjal + document TeX + cáipéis TeX + documenton TeX + מסמך TeX + TeX dokument + TeX-dokumentum + Dokumen TeX + Documento TeX + TeX ドキュメント + TeX құжаты + TeX 문서 + TeX dokumentas + TeX dokuments + Dokumen TeX + TeX-dokument + TeX-document + TeX-dokument + Dokument TeX + documento TeX + Documento TeX + Document TeX + документ TeX + Dokument TeX + Dokument TeX + Dokument TeX + ТеХ документ + TeX-dokument + TeX belgesi + документ TeX + Tài liệu TeX + TeX 文档 + TeX 文件 + + + + + + + + + + + + + + + + + + + + + + + user@host:/tmp/mime$ echo "Normal text using 'sectional'." > no_tex + user@host:/tmp/mime$ mimetype no_tex + no_tex: text/plain + user@host:/tmp/mime$ echo "\section{A \TeX Section}" > tex_file.tex + user@host:/tmp/mime$ mimetype tex_file.tex + tex_file.tex: text/x-tex -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to shared-mime-info in Ubuntu. https://bugs.launchpad.net/bugs/1485217 Title: Magic for text/x-tex broken Status in shared-mime-info package in Ubuntu: New Bug description: The magic for text/x-tex in Ubuntu 15.04 is broken as it assigns text/x-tex to any text file which contains the word "section", "chapter" or "documentclass" within the first 100 characters. This behavior is fixed if one adds backslashes to the appropriate match values in /usr/share/mime/packages/freedesktop.org.xml (.in) (see attached patch). Edit: You can reproduce this bug as follows. Is (output on Ubuntu 15.04): user@host:/tmp/mime$ dpkg -s shared-mime-info | grep "Version" Version: 1.3-1 user@host:/tmp/mime$ sed '30568,30638!d' /usr/share/mime/packages/freedesktop.org.xml TeX document مستند TeX Dakument TeX Документ — TeX document TeX Dokument TeX Dogfen TeX TeX-dokument TeX-Dokument έγγραφο TeX TeX document TeX-dokumento documento TeX TeX dokumentua TeX-asiakirja TeX skjal document TeX cáipéis TeX documenton TeX מסמך TeX TeX dokument TeX-dokumentum Dokumen TeX Documento TeX TeX ドキュメント TeX құжаты TeX 문서 TeX dokumentas TeX dokuments Dokumen TeX TeX-dokument TeX-document TeX-dokument Dokument TeX documento TeX Doc
[Touch-packages] [Bug 1485217] Re: Magic for text/x-tex broken
How are you reproducing this? How can I verify the fix? It seems to me as nautilus recognizes a dummy file correctly as plain text rather than TeX document; so does the file command. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to shared-mime-info in Ubuntu. https://bugs.launchpad.net/bugs/1485217 Title: Magic for text/x-tex broken Status in shared-mime-info package in Ubuntu: New Bug description: The magic for text/x-tex in Ubuntu 15.04 is broken as it assigns text/x-tex to any text file which contains the word "section", "chapter" or "documentclass" within the first 100 characters. This behavior is fixed if one adds backslashes to the appropriate match values in /usr/share/mime/packages/freedesktop.org.xml (.in) (see attached patch). To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/shared-mime-info/+bug/1485217/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1485217] Re: Magic for text/x-tex broken
The attachment "fix_x-tex_magic.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team. [This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.] ** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to shared-mime-info in Ubuntu. https://bugs.launchpad.net/bugs/1485217 Title: Magic for text/x-tex broken Status in shared-mime-info package in Ubuntu: New Bug description: The magic for text/x-tex in Ubuntu 15.04 is broken as it assigns text/x-tex to any text file which contains the word "section", "chapter" or "documentclass" within the first 100 characters. This behavior is fixed if one adds backslashes to the appropriate match values in /usr/share/mime/packages/freedesktop.org.xml (.in) (see attached patch). To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/shared-mime-info/+bug/1485217/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp