Merge branch 'master' of https://github.com/vollstock/Tooloop-Packages
@@ -1,22 +1,39 @@
|
|||||||
# DEB packaging store
|
# Tooloop Packages
|
||||||
|
|
||||||
http://packaging.ubuntu.com/html/packaging-new-software.html
|
This repository contains all apps, that come bundled with Tooloop OS.
|
||||||
https://blog.serverdensity.com/how-to-create-a-debian-deb-package/
|
It’s also a great place to get information on how to build your own package.
|
||||||
https://www.debian.org/doc/debian-policy/ch-binary.html
|
|
||||||
|
|
||||||
|
|
||||||
## Creating a package
|
## Creating a package
|
||||||
|
|
||||||
|
Tooloop Packages are ZIP files, containing a Debian package and additional images, displayed in the app center:
|
||||||
|
|
||||||
|
package.zip
|
||||||
|
│
|
||||||
|
├─ <package-name>_v.v.v_aaa.deb (mandatory)
|
||||||
|
│
|
||||||
|
└─ media/
|
||||||
|
├─ <preview_image>.jpg (mandatory)
|
||||||
|
├─ <optional-image>.png
|
||||||
|
├─ <optional-image>.jpg
|
||||||
|
└─ ...
|
||||||
|
|
||||||
|
|
||||||
**Debian package**
|
**Debian package**
|
||||||
|
|
||||||
Create a folder structure with your stuff:
|
Create a folder structure with your stuff:
|
||||||
|
|
||||||
package/
|
Your-App
|
||||||
│
|
│
|
||||||
|
├─ media/ (your image files)
|
||||||
|
│ ├─ some-image.jpg
|
||||||
|
│ └─ ...
|
||||||
|
│
|
||||||
|
package/ (the Debian package)
|
||||||
├─ DEBIAN/
|
├─ DEBIAN/
|
||||||
│ ├─ control (mandatory)
|
│ ├─ control (mandatory)
|
||||||
│ ├─ postinst (mandatory)
|
│ ├─ postinst (optional)
|
||||||
│ ├─ postrm (mandatory)
|
│ ├─ postrm (optional)
|
||||||
│ └─ ...
|
│ └─ ...
|
||||||
│
|
│
|
||||||
├─ assets/
|
├─ assets/
|
||||||
@@ -44,6 +61,9 @@ All other folders except simply copied to disk for you.
|
|||||||
|
|
||||||
**The DEBIAN/control file**
|
**The DEBIAN/control file**
|
||||||
|
|
||||||
|
This file contains all the information about your package.
|
||||||
|
It’s used to display information in the app center.
|
||||||
|
|
||||||
https://linux.die.net/man/5/deb-control
|
https://linux.die.net/man/5/deb-control
|
||||||
|
|
||||||
Package: tooloop-processing-example
|
Package: tooloop-processing-example
|
||||||
@@ -63,6 +83,12 @@ https://linux.die.net/man/5/deb-control
|
|||||||
# All following lines are used as detailed description.
|
# All following lines are used as detailed description.
|
||||||
Description: A simple example, how to make a processing app
|
Description: A simple example, how to make a processing app
|
||||||
Longer description…
|
Longer description…
|
||||||
|
# The thumbnail shown in the app center
|
||||||
|
Thumbnail: thumbnail.jpg
|
||||||
|
# The media files, shown in the detail view of the package
|
||||||
|
# can be JPGs and PNGs
|
||||||
|
Media: image1.jpg,
|
||||||
|
image2.png
|
||||||
|
|
||||||
|
|
||||||
**Scripts**
|
**Scripts**
|
||||||
@@ -94,22 +120,6 @@ e.g.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
**Packaging for Tooloop**
|
|
||||||
|
|
||||||
package.zip
|
|
||||||
│
|
|
||||||
├─ <package-name>_v.v.v_aaa.deb (mandatory)
|
|
||||||
│
|
|
||||||
└─ media/
|
|
||||||
├─ preview_image.jpg (mandatory)
|
|
||||||
├─ <package-name>_1.png
|
|
||||||
├─ <package-name>_2.jpg
|
|
||||||
└─ ...
|
|
||||||
|
|
||||||
media: png or jpg
|
|
||||||
preview_image.xxx: thumbnail
|
|
||||||
<packagename>xxxxx: app center media
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Setting up the local .deb repository
|
## Setting up the local .deb repository
|
||||||
@@ -183,3 +193,10 @@ https://askubuntu.com/a/473511/873460
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Links
|
||||||
|
|
||||||
|
**DEB packaging**
|
||||||
|
|
||||||
|
http://packaging.ubuntu.com/html/packaging-new-software.html
|
||||||
|
https://blog.serverdensity.com/how-to-create-a-debian-deb-package/
|
||||||
|
https://www.debian.org/doc/debian-policy/ch-binary.html
|
||||||
@@ -5,14 +5,20 @@ set -e
|
|||||||
# build packages
|
# build packages
|
||||||
for folder in *; do
|
for folder in *; do
|
||||||
if [ -d $folder ] && [ ${folder:0:1} != "#" ]; then
|
if [ -d $folder ] && [ ${folder:0:1} != "#" ]; then
|
||||||
|
cd $folder
|
||||||
|
|
||||||
# Get package infos
|
# Get package infos
|
||||||
package="$(cat $folder/package/DEBIAN/control | grep 'Package: ')"
|
package="$(cat package/DEBIAN/control | grep 'Package: ')"
|
||||||
arch="$(cat $folder/package/DEBIAN/control | grep 'Architecture: ')"
|
arch="$(cat package/DEBIAN/control | grep 'Architecture: ')"
|
||||||
version="$(cat $folder/package/DEBIAN/control | grep 'Version: ')"
|
version="$(cat package/DEBIAN/control | grep 'Version: ')"
|
||||||
packagename="${package#*: }_${version#*: }_${arch#*: }"
|
packagename="${package#*: }_${version#*: }_${arch#*: }"
|
||||||
|
|
||||||
# Build Debian package
|
# Build Debian package
|
||||||
dpkg --build $folder/package $folder/$packagename.deb
|
dpkg --build package $packagename.deb
|
||||||
# Bundle it with media files for Tooloop app center
|
|
||||||
zip -9 --exclude=*package* $packagename.zip $folder/$packagename.deb $folder/media/*.png $folder/media/*.jpg
|
# Bundle it with media files for the Tooloop app center
|
||||||
|
zip -9 --exclude=*package* ../$packagename.zip $packagename.deb media/*
|
||||||
|
|
||||||
|
cd ..
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|||||||
@@ -1,14 +1,19 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# move them to the repository
|
# move them to the repository
|
||||||
for folder in *; do
|
for archive in *; do
|
||||||
if [ -d $folder ] && [ ${folder:0:1} != "#" ]; then
|
# if [ -d $folder ] && [ ${folder:0:1} != "#" ]; then
|
||||||
mv $folder/*.deb /assets/packages
|
# mv $folder/*.deb /assets/packages
|
||||||
|
# fi
|
||||||
|
if [[ $archive =~ \.zip$ ]] && [ ${archive:0:1} != "#" ]; then
|
||||||
|
unzip -o $archive -d /assets/packages/
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
# update local package repository
|
# update local package repository
|
||||||
/opt/tooloop/scripts/tooloop-update-packages
|
#/opt/tooloop/scripts/tooloop-update-packages
|
||||||
|
|
||||||
# list available packages
|
# list available packages
|
||||||
apt list tooloop*
|
#apt list tooloop*
|
||||||
|
|
||||||
|
tree /assets/packages/
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
@@ -38,3 +38,5 @@ Description: Library for constructing graphs of media-handling components
|
|||||||
GStreamer is a library for constructing graphs of media-handling components.
|
GStreamer is a library for constructing graphs of media-handling components.
|
||||||
The applications it supports range from simple Ogg/Vorbis playback, audio/video
|
The applications it supports range from simple Ogg/Vorbis playback, audio/video
|
||||||
streaming to complex audio (mixing) and video (non-linear editing) processing.
|
streaming to complex audio (mixing) and video (non-linear editing) processing.
|
||||||
|
Thumbnail: gstreamer-thumbnail.png
|
||||||
|
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
@@ -10,3 +10,5 @@ Name: Image slideshow
|
|||||||
Description: Image slideshow with smooth transitions
|
Description: Image slideshow with smooth transitions
|
||||||
A simple example app using the chromium browser and some javascript to display
|
A simple example app using the chromium browser and some javascript to display
|
||||||
a fullscreen image slideshow.
|
a fullscreen image slideshow.
|
||||||
|
Thumbnail: image-slideshow-thumbnail.jpg
|
||||||
|
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
@@ -31,3 +31,5 @@ Description: X.Org X server -- Intel i8xx, i9xx display driver
|
|||||||
The use of this driver is discouraged if your hw is new enough (ca.
|
The use of this driver is discouraged if your hw is new enough (ca.
|
||||||
2007 and newer). You can try uninstalling this driver and let the
|
2007 and newer). You can try uninstalling this driver and let the
|
||||||
server use it's builtin modesetting driver instead.
|
server use it's builtin modesetting driver instead.
|
||||||
|
Thumbnail: intel-display-driver-thumbnail.png
|
||||||
|
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 12 KiB |
@@ -1,25 +0,0 @@
|
|||||||
Package: tooloop-intel-video-driver
|
|
||||||
Maintainer: vollstock <daniel@vollstock.de>
|
|
||||||
Original-Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
|
|
||||||
Homepage: https://www.x.org/
|
|
||||||
Architecture: amd64
|
|
||||||
Version: 1.0
|
|
||||||
Section: tooloop/addon
|
|
||||||
Depends: xserver-xorg-video-intel
|
|
||||||
Provides: xorg-driver-video
|
|
||||||
Download-Size: 728 kB
|
|
||||||
Installed-Size: 3,259 kB
|
|
||||||
Name: Intel Video Driver
|
|
||||||
Description: X.Org X server -- Intel i8xx, i9xx display driver
|
|
||||||
This package provides the driver for the Intel i8xx and i9xx family
|
|
||||||
of chipsets, including i810, i815, i830, i845, i855, i865, i915, i945
|
|
||||||
and i965 series chips.
|
|
||||||
.
|
|
||||||
This package also provides XvMC (XVideo Motion Compensation) drivers
|
|
||||||
for i810/i815 and i9xx and newer chipsets.
|
|
||||||
.
|
|
||||||
This package is built from the X.org xf86-video-intel driver module.
|
|
||||||
.
|
|
||||||
The use of this driver is discouraged if your hw is new enough (ca.
|
|
||||||
2007 and newer). You can try uninstalling this driver and let the
|
|
||||||
server use it's builtin modesetting driver instead.
|
|
||||||
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
@@ -11,3 +11,5 @@ Name: Kiosk Browser
|
|||||||
Description: Full-screen browser for touch kiosks
|
Description: Full-screen browser for touch kiosks
|
||||||
A simple full-screen kiosk browser based on chromium.
|
A simple full-screen kiosk browser based on chromium.
|
||||||
You can define its’ homepage in the settings.
|
You can define its’ homepage in the settings.
|
||||||
|
Thumbnail: kiosk-browser-thumbnail.jpg
|
||||||
|
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 101 KiB After Width: | Height: | Size: 101 KiB |
@@ -11,3 +11,5 @@ Description: Software sketchbook and a language for learning how to code
|
|||||||
promoted software literacy within the visual arts and visual literacy within
|
promoted software literacy within the visual arts and visual literacy within
|
||||||
technology. There are tens of thousands of students, artists, designers,
|
technology. There are tens of thousands of students, artists, designers,
|
||||||
researchers, and hobbyists who use Processing for learning and prototyping.
|
researchers, and hobbyists who use Processing for learning and prototyping.
|
||||||
|
Thumbnail: processing-3.4-thumbnail.png
|
||||||
|
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 8.4 KiB After Width: | Height: | Size: 8.4 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 7.6 KiB After Width: | Height: | Size: 7.6 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 417 B After Width: | Height: | Size: 417 B |
|
Before Width: | Height: | Size: 417 B After Width: | Height: | Size: 417 B |
|
Before Width: | Height: | Size: 417 B After Width: | Height: | Size: 417 B |
|
Before Width: | Height: | Size: 464 B After Width: | Height: | Size: 464 B |
|
Before Width: | Height: | Size: 464 B After Width: | Height: | Size: 464 B |
|
Before Width: | Height: | Size: 464 B After Width: | Height: | Size: 464 B |
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 402 B After Width: | Height: | Size: 402 B |
|
Before Width: | Height: | Size: 402 B After Width: | Height: | Size: 402 B |
|
Before Width: | Height: | Size: 402 B After Width: | Height: | Size: 402 B |
|
Before Width: | Height: | Size: 473 B After Width: | Height: | Size: 473 B |
|
Before Width: | Height: | Size: 473 B After Width: | Height: | Size: 473 B |
|
Before Width: | Height: | Size: 473 B After Width: | Height: | Size: 473 B |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |