diff --git a/debian/jitsi-meet-prosody.docs b/debian/jitsi-meet-prosody.docs index 768e61247..0aee9cc9c 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 45d7a1eb7..5d9f58f84 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 380f29e42..963cb87a0 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 8159f41b6..000000000 Binary files a/debian/usr/share/doc/jitsi-meet-prosody/changelog.Debian.gz and /dev/null differ 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 06376c2a9..000000000 --- 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 91191c766..000000000 Binary files a/debian/usr/share/doc/jitsi-meet/changelog.Debian.gz and /dev/null differ diff --git a/debian/usr/share/doc/jitsi-meet/copyright b/debian/usr/share/doc/jitsi-meet/copyright deleted file mode 100644 index 06376c2a9..000000000 --- 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