Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexis López Zubieta committed Aug 24, 2017
1 parent 988ed1b commit 99a2409
Show file tree
Hide file tree
Showing 22 changed files with 282 additions and 0 deletions.
3 changes: 3 additions & 0 deletions debian/calamares-settings-nxos.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#lib/*
etc/*
usr/*
1 change: 1 addition & 0 deletions debian/calamares-settings-nxos.qml-ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
calamares.slideshow
5 changes: 5 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
calamares-settings-nxos (1.0-1) nxos; urgency=medium

* Initial release

-- Alexis López Zubieta <[email protected]> Thu, 24 Aug 2017 10:15:54 -0500
1 change: 1 addition & 0 deletions debian/compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
9
14 changes: 14 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Source: calamares-settings-nxos
Section: unknown
Priority: optional
Maintainer: Alexis López Zubieta <[email protected]>
Build-Depends: debhelper (>=9)
Standards-Version: 3.9.6
Homepage: https://nxos.org/
Vcs-Git: https://github.com/nomad-desktop/calamares-settings-nxos.git

Package: calamares-settings-nxos
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, calamares
Description: <insert up to 60 chars description>
<insert long description, indented with spaces>
38 changes: 38 additions & 0 deletions debian/copyright
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: calamares-settings-nxos
Source: <url://example.com>

Files: *
Copyright: <years> <put author's name and email here>
<years> <likewise for another author>
License: <special license>
<Put the license of the package here indented by 1 space>
<This follows the format of Description: lines in control file>
.
<Including paragraphs>

# If you want to use GPL v2 or later for the /debian/* files use
# the following clauses, or change it to suit. Delete these two lines
Files: debian/*
Copyright: 2017 Alexis L?pez Zubieta <[email protected]>
License: GPL-2+
This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
.
This package 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 General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>
.
On Debian systems, the complete text of the GNU General
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".

# Please also look if there are files or directories which have a
# different copyright/license attached and list them here.
# Please avoid picking licenses with terms that are more restrictive than the
# packaged work, as it may make Debian's contributions unacceptable upstream.
25 changes: 25 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1


# see FEATURE AREAS in dpkg-buildflags(1)
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# see ENVIRONMENT in dpkg-buildflags(1)
# package maintainers to append CFLAGS
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
# package maintainers to append LDFLAGS
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed


%:
dh $@


# dh_make generated override targets
# This is example for Cmake (See https://bugs.debian.org/641051 )
#override_dh_auto_configure:
# dh_auto_configure -- # -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)

1 change: 1 addition & 0 deletions debian/source/format
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0 (quilt)
47 changes: 47 additions & 0 deletions etc/calamares/branding/nxos/branding.desc
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
componentName: nxos

# This selects between different welcome texts. When false, uses
# the traditional "Welcome to the %1 installer.", and when true,
# uses "Welcome to the Calamares installer for %1." This allows
# to distinguish this installer from other installers for the
# same distribution.
welcomeStyleCalamares: false

# Should the welcome image (productWelcome, below) be scaled
# up beyond its natural size?
welcomeExpandingLogo: true

strings:
productName: NXOS GNU/Linux
shortProductName: NXOS
version: 1.0.3 Rolling
shortVersion: 1.0.3
versionedName: NXOS GNU/Linux 1.0.3 Rolling "Majestic bit"
shortVersionedName: NXOS 1.0.3
bootloaderEntryName: NXOS
productUrl: http://nxos.org/
# supportUrl: http://calamares.io/bugs/
# knownIssuesUrl: http://calamares.io/about/
# releaseNotesUrl: http://calamares.io/about/

images:
productLogo: "nxos_logo.png"
productIcon: "squid.png"
productWelcome: "welcome.png"

slideshow: "show.qml"

# Colors for text and background components.
#
# - sidebarBackground is the background of the sidebar
# - sidebarText is the (foreground) text color
# - sidebarTextHighlight sets the background of the selected (current) step.
# Optional, and defaults to the application palette.
# - sidebarSelect is the text color of the selected step.
#
style:
sidebarBackground: "#292F34"
sidebarText: "#FFFFFF"
sidebarTextSelect: "#292F34"
sidebarTextHighlight: "#D35400"
Binary file added etc/calamares/branding/nxos/nxos_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
43 changes: 43 additions & 0 deletions etc/calamares/branding/nxos/show.qml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
import QtQuick 2.0;
import calamares.slideshow 1.0;

Presentation
{
id: presentation

Timer {
interval: 5000
running: false
repeat: true
onTriggered: presentation.goToNextSlide()
}

Slide {

// Image {
// id: background
// source: "squid.png"
// width: 200; height: 200
// fillMode: Image.PreserveAspectFit
// anchors.centerIn: parent
// }
Text {
anchors.horizontalCenter: background.horizontalCenter
anchors.top: background.bottom
text: "Hi there, Meet Nitrux.<br/><br/>"+
"A Linux distribution focusing on portable universal app formats,<br/>"+
"using Nomad Desktop built on top of KDE Plasma 5 and Qt. <br/>"
wrapMode: Text.WordWrap
width: root.width
horizontalAlignment: Text.Center
}
}

// Slide {
// centeredText: "This is a second Slide element."
// }

// Slide {
// centeredText: "This is a third Slide element."
// }
}
Binary file added etc/calamares/branding/nxos/squid.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added etc/calamares/branding/nxos/welcome.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions etc/calamares/modules/finished.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
restartNowChecked: true
restartNowEnabled: true
restartNowCommand: "systemctl -i reboot"
2 changes: 2 additions & 0 deletions etc/calamares/modules/netinstall.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
groupsUrl: file:///usr/share/calamares/netinstall.php
6 changes: 6 additions & 0 deletions etc/calamares/modules/packages.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
backend: apt

operations:
- remove:
- calamares
- '^live-*'
1 change: 1 addition & 0 deletions etc/calamares/modules/partition.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
enableLuksAutomatedPartitioning: false
5 changes: 5 additions & 0 deletions etc/calamares/modules/unpackfs.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
unpack:
- source: "/cdrom/casper/filesystem.squashfs"
sourcefs: "squashfs"
destination: ""
14 changes: 14 additions & 0 deletions etc/calamares/modules/users.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
doAutologin: false
setRootPassword: false
sudoersGroup: sudo
defaultGroups:
- adm
- lpadmin
- sambashare
- lp
- video
- network
- storage
- sudo
- audio
18 changes: 18 additions & 0 deletions etc/calamares/modules/welcome.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
showSupportUrl: true
showKnownIssuesUrl: true
showReleaseNotesUrl: true

requirements:
requiredStorage: 8.0
requiredRam: 1.0
check:
- storage
- ram
- power
- internet
- root
required:
- root
- storage
- ram
40 changes: 40 additions & 0 deletions etc/calamares/settings.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
modules-search: [ local ]

sequence:

- show:
- welcome
- locale
- keyboard
- partition
- users
- summary

- exec:
- partition
- mount
- unpackfs
- machineid
- fstab
- locale
- keyboard
- localecfg
- users
- displaymanager
- networkcfg
- hwclock
- services
# Add initramfs module for Debian
- initramfs
- grubcfg
- bootloader
- packages
- umount

- show:
- finished


branding: nxos
prompt-install: false
14 changes: 14 additions & 0 deletions usr/share/calamares/netinstall.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
- name: "Restricted Media Formats"
description: "Media tools with restricted uses"
packages:
- flashplugin-installer
- gstreamer1.0-plugins-ugly
- gstreamer1.0-plugins-bad
- gstreamer1.0-libav
- libk3b6-extracodecs
- libdvdread4
- chromium-codecs-ffmpeg-extra
- oxideqt-codecs-extra
- unrar
- lame
- libavcodec-extra

0 comments on commit 99a2409

Please sign in to comment.