-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ebd701f
commit 3f16c12
Showing
14 changed files
with
250 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
--- | ||
name: "📦 Build .deb package for plugin" | ||
on: | ||
push: | ||
branches: [ "main"] | ||
paths-ignore: | ||
- debian/changelog | ||
pull_request: | ||
branches: [ "main" ] | ||
paths-ignore: | ||
- debian/changelog | ||
|
||
jobs: | ||
build-deb-package: | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
matrix: | ||
os: [ubuntu-22.04] | ||
|
||
env: | ||
OS_VERSION: ${{ matrix.os }} | ||
defaults: | ||
run: | ||
working-directory: . | ||
steps: | ||
- name: Checkout source code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Extract and print repository name | ||
run: | | ||
echo "REPO_NAME=$(echo ${{ github.repository }} | cut -d'/' -f2)" >> $GITHUB_ENV | ||
- name: Set up Node.js | ||
run: | | ||
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - | ||
sudo apt-get install -y nodejs | ||
- name: Verify Node.js installation | ||
run: | | ||
node -v | ||
npm -v | ||
- name: Install dependencies | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y devscripts debhelper | ||
- name: Build Debian package | ||
run: | | ||
sudo dpkg-buildpackage -us -uc | ||
- name: Create artifacts directory and move .deb files | ||
run: | | ||
mkdir -p artifacts | ||
mv ../*.deb artifacts/ || mv ./*.deb artifacts/ | ||
ls -la artifacts | ||
- name: Upload Debian Package | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: "${{ env.REPO_NAME }}-${{ env.OS_VERSION }}" | ||
path: artifacts/*.deb | ||
|
||
release: | ||
name: "Upload assets to release" | ||
needs: build-deb-package | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
matrix: | ||
os: [ubuntu-22.04] | ||
|
||
env: | ||
OS_VERSION: ${{ matrix.os }} | ||
if: ${{ github.ref_type == 'tag' }} | ||
permissions: | ||
contents: write | ||
actions: read | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Extract and print repository name | ||
run: | | ||
echo "REPO_NAME=$(echo ${{ github.repository }} | cut -d'/' -f2)" >> $GITHUB_ENV | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: "${{ env.REPO_NAME }}-${{ env.OS_VERSION }}" | ||
path: "${{ env.REPO_NAME }}-${{ env.OS_VERSION }}" | ||
|
||
- name: Create release asset archives | ||
run: zip --junk-paths --recurse-paths --compression-method store "${{ env.REPO_NAME }}-${{ env.OS_VERSION }}.zip" "${{ env.REPO_NAME }}-${{ env.OS_VERSION }}" | ||
|
||
- name: Upload release assets | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: gh release upload ${{ github.ref_name }} "${{ env.REPO_NAME }}-${{ env.OS_VERSION }}.zip" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
node_modules | ||
dist | ||
debian/.debhelper/ | ||
debian/bbb-plugin-template.substvars | ||
debian/bbb-plugin-template/ | ||
debian/debhelper-build-stamp | ||
debian/files | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
misc:Depends= | ||
misc:Pre-Depends= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Package: bbb-plugin-generic-link-share | ||
Version: 0.1.0 | ||
Architecture: all | ||
Maintainer: Anton Georgiev <anton.georgiev@blindsidenetworks.com> | ||
Installed-Size: 252 | ||
Section: web | ||
Priority: extra | ||
Homepage: https://github.com/bigbluebutton/plugin-generic-link-share | ||
Description: Share a webpage with all session participants | ||
An official BigBlueButton plugin which allows | ||
the presenter to display a web page to | ||
all viewers inside of a session. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
522c99e8c4ff946b074f92634a31a159 usr/share/doc/bbb-plugin-generic-link-share/changelog.gz | ||
7b544c228d5e3d6964cf5dc724a738eb usr/share/doc/bbb-plugin-generic-link-share/copyright | ||
515086856ff7d20f4b7dc411aac80759 var/www/bigbluebutton-default/assets/plugins/bbb-plugin-generic-link-share/GenericLinkShare.js | ||
4fee9f9350890e8c3db68af6f55097cc var/www/bigbluebutton-default/assets/plugins/bbb-plugin-generic-link-share/GenericLinkShare.js.LICENSE.txt |
Binary file added
BIN
+162 Bytes
...an/bbb-plugin-generic-link-share/usr/share/doc/bbb-plugin-generic-link-share/changelog.gz
Binary file not shown.
18 changes: 18 additions & 0 deletions
18
debian/bbb-plugin-generic-link-share/usr/share/doc/bbb-plugin-generic-link-share/copyright
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Format: http://dep.debian.net/deps/dep5 | ||
Upstream-Name: bbb-plugin-generic-link-share | ||
|
||
Files: * | ||
Copyright: 2024 BigBlueButton Inc. and by respective authors | ||
License: LGPL-3.0+ | ||
This program is free software: you can redistribute it and/or modify it | ||
under the terms of the GNU Lesser General Public License as published by the | ||
Free Software Foundation, either version 3 of the License, or (at your | ||
option) any later version. | ||
|
||
This program is distributed in the hope that it will be useful, but | ||
WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | ||
Public License for more details. | ||
|
||
You should have received a copy of the GNU Lesser General Public License along | ||
with this program. If not, see <http://www.gnu.org/licenses/>. |
2 changes: 2 additions & 0 deletions
2
...ww/bigbluebutton-default/assets/plugins/bbb-plugin-generic-link-share/GenericLinkShare.js
Large diffs are not rendered by default.
Oops, something went wrong.
53 changes: 53 additions & 0 deletions
53
...tton-default/assets/plugins/bbb-plugin-generic-link-share/GenericLinkShare.js.LICENSE.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
/* | ||
object-assign | ||
(c) Sindre Sorhus | ||
@license MIT | ||
*/ | ||
|
||
/*! | ||
Copyright (c) 2015 Jed Watson. | ||
Based on code that is Copyright 2013-2015, Facebook, Inc. | ||
All rights reserved. | ||
*/ | ||
|
||
/*! | ||
* Adapted from jQuery UI core | ||
* | ||
* http://jqueryui.com | ||
* | ||
* Copyright 2014 jQuery Foundation and other contributors | ||
* Released under the MIT license. | ||
* http://jquery.org/license | ||
* | ||
* http://api.jqueryui.com/category/ui-core/ | ||
*/ | ||
|
||
/** | ||
* @license React | ||
* react-dom.production.min.js | ||
* | ||
* Copyright (c) Facebook, Inc. and its affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
|
||
/** | ||
* @license React | ||
* react.production.min.js | ||
* | ||
* Copyright (c) Facebook, Inc. and its affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
|
||
/** | ||
* @license React | ||
* scheduler.production.min.js | ||
* | ||
* Copyright (c) Facebook, Inc. and its affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
bbb-plugin-template (0.1.0) jammy; urgency=medium | ||
|
||
* initial build | ||
|
||
-- Anton Georgiev <anton.georgiev@blindsidenetworks.com> Thu, 04 Jul 2024 14:56:18 -0400 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
13 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Source: bbb-plugin-template | ||
Section: web | ||
Priority: extra | ||
Maintainer: Anton Georgiev <anton.georgiev@blindsidenetworks.com> | ||
Build-Depends: debhelper (>= 13), nodejs (>= 18) | ||
Standards-Version: 4.1.4 | ||
Homepage: https://github.com/bigbluebutton/plugin-template | ||
|
||
Package: bbb-plugin-template | ||
Architecture: all | ||
Depends: ${misc:Depends}, nodejs | ||
Description: Share a webpage with all session participants | ||
An official BigBlueButton plugin which allows | ||
the presenter to display a web page to | ||
all viewers inside of a session. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Format: http://dep.debian.net/deps/dep5 | ||
Upstream-Name: bbb-plugin-template | ||
|
||
Files: * | ||
Copyright: 2024 BigBlueButton Inc. and by respective authors | ||
License: LGPL-3.0+ | ||
This program is free software: you can redistribute it and/or modify it | ||
under the terms of the GNU Lesser General Public License as published by the | ||
Free Software Foundation, either version 3 of the License, or (at your | ||
option) any later version. | ||
|
||
This program is distributed in the hope that it will be useful, but | ||
WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | ||
Public License for more details. | ||
|
||
You should have received a copy of the GNU Lesser General Public License along | ||
with this program. If not, see <http://www.gnu.org/licenses/>. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/usr/bin/make -f | ||
|
||
%: | ||
dh $@ --no-parallel --verbose | ||
|
||
override_dh_auto_build: | ||
npm install | ||
npm run build-bundle | ||
|
||
override_dh_auto_install: | ||
install -d debian/bbb-plugin-template/var/www/bigbluebutton-default/assets/plugins/bbb-plugin-template | ||
cp -r dist/* debian/bbb-plugin-template/var/www/bigbluebutton-default/assets/plugins/bbb-plugin-template |