From 2df001c125c6ab6da752771d615ec70f16ef5a97 Mon Sep 17 00:00:00 2001 From: Damian Minkov Date: Mon, 20 Oct 2014 11:40:54 +0300 Subject: [PATCH] Removes usr/share/doc/ from debian folder. --- debian/jitsi-meet-prosody.docs | 3 +- debian/jitsi-meet.README.source | 18 ++++++++++ debian/jitsi-meet.docs | 4 +-- .../jitsi-meet-prosody/changelog.Debian.gz | Bin 149 -> 0 bytes .../share/doc/jitsi-meet-prosody/copyright | 31 ------------------ .../share/doc/jitsi-meet/changelog.Debian.gz | Bin 169 -> 0 bytes debian/usr/share/doc/jitsi-meet/copyright | 31 ------------------ .../debian}/jitsi-meet-prosody/README | 0 .../prosody.cfg.lua-jvb.example | 0 .../doc => doc/debian}/jitsi-meet/README | 0 .../debian}/jitsi-meet/jitsi-meet.example | 0 11 files changed, 22 insertions(+), 65 deletions(-) delete mode 100644 debian/usr/share/doc/jitsi-meet-prosody/changelog.Debian.gz delete mode 100644 debian/usr/share/doc/jitsi-meet-prosody/copyright delete mode 100644 debian/usr/share/doc/jitsi-meet/changelog.Debian.gz delete mode 100644 debian/usr/share/doc/jitsi-meet/copyright rename {debian/usr/share/doc => doc/debian}/jitsi-meet-prosody/README (100%) rename {debian/usr/share/doc => doc/debian}/jitsi-meet-prosody/prosody.cfg.lua-jvb.example (100%) rename {debian/usr/share/doc => doc/debian}/jitsi-meet/README (100%) rename {debian/usr/share/doc => doc/debian}/jitsi-meet/jitsi-meet.example (100%) diff --git a/debian/jitsi-meet-prosody.docs b/debian/jitsi-meet-prosody.docs index 768e612478..0aee9cc9c7 100644 --- a/debian/jitsi-meet-prosody.docs +++ b/debian/jitsi-meet-prosody.docs @@ -1 +1,2 @@ -debian/usr/share/doc/jitsi-meet-prosody/prosody.cfg.lua-jvb.example +doc/debian/jitsi-meet-prosody/prosody.cfg.lua-jvb.example +doc/debian/jitsi-meet-prosody/README diff --git a/debian/jitsi-meet.README.source b/debian/jitsi-meet.README.source index 45d7a1eb71..5d9f58f84d 100644 --- a/debian/jitsi-meet.README.source +++ b/debian/jitsi-meet.README.source @@ -4,3 +4,21 @@ jitsi-meet for Debian The jitsi-meet package is built from the sources of Jitsi Meet. Jitsi Meet is downloaded from https://github.com/jitsi/jitsi-meet and the git files are removed. you can recreate the source with 'git clone https://github.com/jitsi/jitsi-meet.git'. +Use something like the script below to update from Git + +#!/bin/bash + +VERSION=1.0.1-1 + +echo "*.min.js export-ignore" > .gitattributes +echo "jquery-2.1.1.* export-ignore" >> .gitattributes +echo "jquery-ui.js export-ignore" >> .gitattributes +echo ".gitignore export-ignore" >> .gitattributes +echo "$VERSION" > version.txt +sed -i "s/1.0.1-1/$VERSION/g" debian/changelog + +git archive --worktree-attributes --format tar --prefix jitsi-meet-$VERSION/ -o ../jitsi-meet_${VERSION}.orig.tar master +tar --transform "s,^,jitsi-meet-$VERSION/," -rf ../jitsi-meet_${VERSION}.orig.tar +cd .. + +bzip2 jitsi-meet_${VERSION}.orig.tar diff --git a/debian/jitsi-meet.docs b/debian/jitsi-meet.docs index 380f29e424..963cb87a02 100644 --- a/debian/jitsi-meet.docs +++ b/debian/jitsi-meet.docs @@ -1,3 +1,3 @@ README.md -debian/usr/share/doc/jitsi-meet/README -debian/usr/share/doc/jitsi-meet/jitsi-meet.example +doc/debian/jitsi-meet/jitsi-meet.example +doc/debian/jitsi-meet/README diff --git a/debian/usr/share/doc/jitsi-meet-prosody/changelog.Debian.gz b/debian/usr/share/doc/jitsi-meet-prosody/changelog.Debian.gz deleted file mode 100644 index 8159f41b6180c3f4d3555c7f12959adb3c984d82..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 149 zcmV;G0BZjqiwFSW1KLvn0~N?Q4#F@H1<*dH_$8Yy4~ZzkB3h^@Xega9iX3@~ynu3h zLihAWlampSIg2TV6y7sdB$XsVYZRZd?kpcs;=sP2&o+Fk3fSQ0O*YyhvSpokNg?oB z8xY;;57f|+S$URag*$Wy8zF^J1D}vSnL%wphH_z+Yq*@R;u~|3w5I7lmGw# D4c$gC diff --git a/debian/usr/share/doc/jitsi-meet-prosody/copyright b/debian/usr/share/doc/jitsi-meet-prosody/copyright deleted file mode 100644 index 06376c2a97..0000000000 --- a/debian/usr/share/doc/jitsi-meet-prosody/copyright +++ /dev/null @@ -1,31 +0,0 @@ -Format: http://dep.debian.net/deps/dep5 -Upstream-Name: Jitsi Meet -Upstream-Contact: Emil Ivov -Source: https://github.com/jitsi/jitsi-meet - -Files: * -Copyright: 2013-2014 Jitsi -License: MIT - -License: MIT - The MIT License (MIT) - . - Copyright (c) 2013 ESTOS GmbH - Copyright (c) 2013 BlueJimp SARL - . - Permission is hereby granted, free of charge, to any person obtaining a copy of - this software and associated documentation files (the "Software"), to deal in - the Software without restriction, including without limitation the rights to - use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of - the Software, and to permit persons to whom the Software is furnished to do so, - subject to the following conditions: - . - The above copyright notice and this permission notice shall be included in all - copies or substantial portions of the Software. - . - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS - FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR - COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER - IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/debian/usr/share/doc/jitsi-meet/changelog.Debian.gz b/debian/usr/share/doc/jitsi-meet/changelog.Debian.gz deleted file mode 100644 index 91191c76627c86ddfbfcd05cce382b795af2e247..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 169 zcmV;a09OAWiwFqBkg`(%17m1mZf9j|Z)Yw6ND65hR{)5vv%e6I`2W{VF=j{b}c(*}KxMzoX Xh^lUA*T@6bB#DYY2wK*FmH+?%d8$ft diff --git a/debian/usr/share/doc/jitsi-meet/copyright b/debian/usr/share/doc/jitsi-meet/copyright deleted file mode 100644 index 06376c2a97..0000000000 --- a/debian/usr/share/doc/jitsi-meet/copyright +++ /dev/null @@ -1,31 +0,0 @@ -Format: http://dep.debian.net/deps/dep5 -Upstream-Name: Jitsi Meet -Upstream-Contact: Emil Ivov -Source: https://github.com/jitsi/jitsi-meet - -Files: * -Copyright: 2013-2014 Jitsi -License: MIT - -License: MIT - The MIT License (MIT) - . - Copyright (c) 2013 ESTOS GmbH - Copyright (c) 2013 BlueJimp SARL - . - Permission is hereby granted, free of charge, to any person obtaining a copy of - this software and associated documentation files (the "Software"), to deal in - the Software without restriction, including without limitation the rights to - use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of - the Software, and to permit persons to whom the Software is furnished to do so, - subject to the following conditions: - . - The above copyright notice and this permission notice shall be included in all - copies or substantial portions of the Software. - . - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS - FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR - COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER - IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/debian/usr/share/doc/jitsi-meet-prosody/README b/doc/debian/jitsi-meet-prosody/README similarity index 100% rename from debian/usr/share/doc/jitsi-meet-prosody/README rename to doc/debian/jitsi-meet-prosody/README diff --git a/debian/usr/share/doc/jitsi-meet-prosody/prosody.cfg.lua-jvb.example b/doc/debian/jitsi-meet-prosody/prosody.cfg.lua-jvb.example similarity index 100% rename from debian/usr/share/doc/jitsi-meet-prosody/prosody.cfg.lua-jvb.example rename to doc/debian/jitsi-meet-prosody/prosody.cfg.lua-jvb.example diff --git a/debian/usr/share/doc/jitsi-meet/README b/doc/debian/jitsi-meet/README similarity index 100% rename from debian/usr/share/doc/jitsi-meet/README rename to doc/debian/jitsi-meet/README diff --git a/debian/usr/share/doc/jitsi-meet/jitsi-meet.example b/doc/debian/jitsi-meet/jitsi-meet.example similarity index 100% rename from debian/usr/share/doc/jitsi-meet/jitsi-meet.example rename to doc/debian/jitsi-meet/jitsi-meet.example