From 9b1f0e9cbb34469d1f2f1540bd14a7fc7dff16b0 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Thu, 6 Sep 2012 18:19:20 +0200 Subject: [PATCH] premier commit --- packages/openattachmentbyextension.xml | 37 ++++++++++++++ .../share/mozilla-mcd/thunderbird.mod.fixpdf.php | 18 +++++++ softwares/OpenAttachmentByExtension-0.3.5.xpi | Bin 0 -> 9950 bytes wpkg-openattachmentbyextension.spec | 53 +++++++++++++++++++++ 4 files changed, 108 insertions(+) create mode 100644 packages/openattachmentbyextension.xml create mode 100644 root/usr/share/mozilla-mcd/thunderbird.mod.fixpdf.php create mode 100644 softwares/OpenAttachmentByExtension-0.3.5.xpi create mode 100644 wpkg-openattachmentbyextension.spec diff --git a/packages/openattachmentbyextension.xml b/packages/openattachmentbyextension.xml new file mode 100644 index 0000000..1096dbe --- /dev/null +++ b/packages/openattachmentbyextension.xml @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/root/usr/share/mozilla-mcd/thunderbird.mod.fixpdf.php b/root/usr/share/mozilla-mcd/thunderbird.mod.fixpdf.php new file mode 100644 index 0000000..8f40efc --- /dev/null +++ b/root/usr/share/mozilla-mcd/thunderbird.mod.fixpdf.php @@ -0,0 +1,18 @@ +// OpenAttachmentByExtension +// Contourne un bug dans Thunderbird si le Content-Type n'est pas correct + +// 64bits ? +if(getenv("PROGRAMFILES(x86)") != "") { + var path_sumatrapdf = "C:\\Program Files (x86)\\SumatraPDF\\SumatraPDF.exe"; +} +// 32bits +else { + var path_sumatrapdf = "C:\\Program Files\\SumatraPDF\\SumatraPDF.exe"; +} + +lockPref("openattachment.extension.PDF",path_sumatrapdf); +lockPref("openattachment.extension.pdf",path_sumatrapdf); +lockPref("openattachment.use_charset",false); + +// Fin de la configuration de OpenAttachmentByExtension + diff --git a/softwares/OpenAttachmentByExtension-0.3.5.xpi b/softwares/OpenAttachmentByExtension-0.3.5.xpi new file mode 100644 index 0000000000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zs%=kL-c)ICtUeq_cRZfcK*tb+A`r(>%lpM1$oo|f!T@Y9o80d~1Oi6cI zhrbq|7tq#h`9GrnPB8zP{;$77|64xaL;RM{|0TqK>(F0AToAom g)BdVT@4(-x^j|=T5AP!afPCN0-vv#F^!L^O1ItJ(PXGV_ literal 0 HcmV?d00001 diff --git a/wpkg-openattachmentbyextension.spec b/wpkg-openattachmentbyextension.spec new file mode 100644 index 0000000..0a3396c --- /dev/null +++ b/wpkg-openattachmentbyextension.spec @@ -0,0 +1,53 @@ +%define package openattachmentbyextension +%define version 0.3.5 +%define release 1.beta0 + +Name: wpkg-%{package} +Version: %{version} +Release: %{release}%{?dist} +Summary: %{package} for WPKG on iPasserelle + +Group: System/Softwares +URL: http://www.ipasserelle.com +Source0: %{name}-%{version}.tar.gz +License: misc + +BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot +BuildArch: noarch +BuildRequires: unix2dos + +Requires: ipasserelle-gp +Requires: wpkg-thunderbird +Requires: wpkg-7zip +Requires: wpkg-sumatrapdf + +%description +%{package} for WPKG on iPasserelle + +%prep +%setup -q -n %{name}-%{version} + +%build +unix2dos packages/* + +%install +/bin/rm -rf %{buildroot} +cp -a root %{buildroot}/ +mkdir -p %{buildroot}/home/e-smith/files/shares/wpkg/files/packages +mkdir -p %{buildroot}/home/e-smith/files/shares/wpkg/files/softwares/thunderbird_addons/ +cp -r softwares/* %{buildroot}/home/e-smith/files/shares/wpkg/files/softwares/thunderbird_addons/ +cp -r packages/* %{buildroot}/home/e-smith/files/shares/wpkg/files/packages/ + +%files +%defattr(-,root,root) +%doc CHANGELOG.git +/home/e-smith/files/shares/wpkg/files/ +/usr + +%clean +/bin/rm -rf %{buildroot} + +%changelog +* Thu May 31 2012 Daniel Berteaud 0.3.5-1 +- initial release with Open Attachment By Extension 0.3.5 +