Skip to content

Commit 17c9f23

Browse files
committed
Packaging rules for Debian/Ubuntu.
1 parent b9dae91 commit 17c9f23

12 files changed

+136
-0
lines changed

debian/changelog

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
visualino (0.1) utopic; urgency=low
2+
3+
* Initial release
4+
5+
-- Víctor R. Ruiz <[email protected]> Tue, 03 Feb 2015 00:26:56 +0000

debian/compat

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
9

debian/control

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
Source: visualino
2+
Maintainer: Víctor R. Ruiz <[email protected]>
3+
Build-Depends: debhelper (>= 9),
4+
qt5-default,
5+
qt5-qmake,
6+
libqt5webkit5-dev,
7+
libqt5serialport5-dev,
8+
npm,
9+
git
10+
Standards-Version: 3.9.5
11+
Homepage: https://github.com/vrruiz/visualino
12+
Vcs-Git: git://github.com/vrruiz/visualino.git
13+
14+
Package: visualino
15+
Architecture: any
16+
Depends: ${shlibs:Depends}, ${misc:Depends},
17+
libqt5network5,
18+
libqt5widgets5,
19+
libqt5webkit5,
20+
libqt5serialport5
21+
Description: A desktop visual environment to program Arduino.
22+
Visualino embeds Bitbloq as a desktop application to
23+
offer a visual GUI to program Arduino.

debian/copyright

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2+
Upstream-Name: visualino
3+
Source: https://github.com/vrruiz/visualino
4+
5+
Files: *
6+
Copyright: 2014-2015 Víctor R. Ruiz
7+
License: MIT
8+
9+
Files: roboblocks/*
10+
Copyright: 2014-2015 Google
11+
License: Apache
12+
13+
Files: html/blockly/mocha
14+
Copyright: 2015 Mocha
15+
License: MIT
16+
17+
Files: html/blockly/jquery
18+
Copyright: 2015 jQuery
19+
License: MIT
20+
21+
License: MIT
22+
Permission is hereby granted, free of charge, to any person obtaining a
23+
copy of this software and associated documentation files (the "Software"),
24+
to deal in the Software without restriction, including without limitation
25+
the rights to use, copy, modify, merge, publish, distribute, sublicense,
26+
and/or sell copies of the Software, and to permit persons to whom the
27+
Software is furnished to do so, subject to the following conditions:
28+
.
29+
The above copyright notice and this permission notice shall be included
30+
in all copies or substantial portions of the Software.
31+
.
32+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
33+
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
34+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
35+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
36+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
37+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
38+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

debian/docs

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
README.md

debian/rules

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
#!/usr/bin/make -f
2+
# See debhelper(7) (uncomment to enable)
3+
# output every command that modifies files on the build system.
4+
#DH_VERBOSE = 1
5+
6+
# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
7+
DPKG_EXPORT_BUILDFLAGS = 1
8+
include /usr/share/dpkg/default.mk
9+
10+
# see FEATURE AREAS in dpkg-buildflags(1)
11+
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
12+
13+
# see ENVIRONMENT in dpkg-buildflags(1)
14+
# package maintainers to append CFLAGS
15+
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
16+
# package maintainers to append LDFLAGS
17+
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
18+
19+
20+
# main packaging script based on dh7 syntax
21+
%:
22+
dh $@
23+
24+
# debmake generated override targets
25+
# This is example for Cmake (See http://bugs.debian.org/641051 )
26+
#override_dh_auto_configure:
27+
# dh_auto_configure -- \
28+
# -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
29+
30+
31+
32+

debian/source/format

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.0 (native)

debian/visualino.install

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
visualino usr/bin/
2+
roboblocks/roboblocks/ usr/share/visualino/
3+
config.ini usr/share/visualino/
4+
icon.png usr/share/visualino/icons/
5+
visualino.desktop usr/share/applications/

icon.png

4.15 KB
Loading

manifest.json

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"name": "com.ubuntu.developer.vrruiz.visualino",
3+
"description": "Visual Programming Environment for Arduino.",
4+
"framework": "ubuntu-sdk-14.10-qml-dev3",
5+
"architecture": "all",
6+
"title": "Visualino",
7+
"hooks": {
8+
"visualino": {
9+
"apparmor": "visualino.json",
10+
"desktop": "visualino.desktop"
11+
}
12+
},
13+
"version": "0.1",
14+
"maintainer": "Víctor R. Ruiz <[email protected]>"
15+
}

visualino.desktop

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[Desktop Entry]
2+
Version=0.1
3+
Name=Visualino
4+
Comment=Visual Programming Environment for Arduino.
5+
Exec=/usr/bin/visualino
6+
Icon=/usr/share/visualino/icons/icon.png
7+
Terminal=false
8+
Type=Application
9+
Categories=Utility;Application;Programming;

visualino.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"policy_groups": [
3+
"networking"
4+
],
5+
"policy_version": 1.2
6+
}

0 commit comments

Comments
 (0)