Skip to content

Commit 2f5a8f4

Browse files
committed
chore: add files from other repos
1 parent 5af05ec commit 2f5a8f4

25 files changed

+401
-0
lines changed

build.sh

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
#!/bin/sh
2+
3+
set -ouex pipefail
4+
5+
RELEASE="$(rpm -E %fedora)"
6+
7+
INCLUDED_PACKAGES=($(jq -r "[(.all.include | (.all, select(.\"$IMAGE_NAME\" != null).\"$IMAGE_NAME\")[]), \
8+
(select(.\"$FEDORA_MAJOR_VERSION\" != null).\"$FEDORA_MAJOR_VERSION\".include | (.all, select(.\"$IMAGE_NAME\" != null).\"$IMAGE_NAME\")[])] \
9+
| sort | unique[]" /tmp/packages.json))
10+
EXCLUDED_PACKAGES=($(jq -r "[(.all.exclude | (.all, select(.\"$IMAGE_NAME\" != null).\"$IMAGE_NAME\")[]), \
11+
(select(.\"$FEDORA_MAJOR_VERSION\" != null).\"$FEDORA_MAJOR_VERSION\".exclude | (.all, select(.\"$IMAGE_NAME\" != null).\"$IMAGE_NAME\")[])] \
12+
| sort | unique[]" /tmp/packages.json))
13+
14+
15+
if [[ "${#EXCLUDED_PACKAGES[@]}" -gt 0 ]]; then
16+
EXCLUDED_PACKAGES=($(rpm -qa --queryformat='%{NAME} ' ${EXCLUDED_PACKAGES[@]}))
17+
fi
18+
19+
wget -P /tmp/rpms \
20+
https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-${RELEASE}.noarch.rpm \
21+
https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-${RELEASE}.noarch.rpm
22+
23+
rpm-ostree install \
24+
/tmp/rpms/*.rpm \
25+
fedora-repos-archive
26+
27+
if [[ "${#INCLUDED_PACKAGES[@]}" -gt 0 && "${#EXCLUDED_PACKAGES[@]}" -eq 0 ]]; then
28+
rpm-ostree install \
29+
${INCLUDED_PACKAGES[@]}
30+
31+
elif [[ "${#INCLUDED_PACKAGES[@]}" -eq 0 && "${#EXCLUDED_PACKAGES[@]}" -gt 0 ]]; then
32+
rpm-ostree override remove \
33+
${EXCLUDED_PACKAGES[@]}
34+
35+
elif [[ "${#INCLUDED_PACKAGES[@]}" -gt 0 && "${#EXCLUDED_PACKAGES[@]}" -gt 0 ]]; then
36+
rpm-ostree override remove \
37+
${EXCLUDED_PACKAGES[@]} \
38+
$(printf -- "--install=%s " ${INCLUDED_PACKAGES[@]})
39+
40+
else
41+
echo "No packages to install."
42+
43+
fi

cosign.pub

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
-----BEGIN PUBLIC KEY-----
2+
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE7lh7fJMV4dBT2jT1XafixUJa7OVA
3+
cT+QFVD8IfIJIS/KBAc8hx1aslzkH3tfeM0cwyCLB7kOStZ4sh6RyFQD9w==
4+
-----END PUBLIC KEY-----

etc/dconf/db/local.d/01-ublue

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
[org/gnome/shell]
2+
favorite-apps = ['org.mozilla.firefox.desktop', 'org.mozilla.Thunderbird.desktop', 'org.gnome.Nautilus.desktop', 'org.gnome.Rhythmbox3.desktop', 'org.libreoffice.LibreOffice.writer.desktop', 'org.gnome.Software.desktop', 'yelp.desktop']
3+
enabled-extensions = ['[email protected]', '[email protected]']
4+
5+
[org/gnome/desktop/background]
6+
picture-uri='file:///usr/share/backgrounds/lagoon.jpg'
7+
picture-options='stretched'
8+
primary-color='000000'
9+
secondary-color='FFFFFF'
10+
11+
[org/gnome/desktop/interface]
12+
enable-hot-corners="false"
13+
cursor-theme="Yaru"
14+
icon-theme="Yaru"
15+
gtk-theme="Yaru"
16+
font-antialiasing="rgba"
17+
font-name="Ubuntu 12"
18+
document-font-name="Ubuntu 12"
19+
monospace-font-name="Ubuntu Mono 18"
20+
21+
[org/gnome/desktop/sound]
22+
allow-volume-above-100-percent="true"
23+
theme-name="Yaru"
24+
25+
[org/gnome/desktop/wm/preferences]
26+
button-layout=":minimize,maximize,close"
27+
num-workspaces="4"
28+
title-bar-font="Ubuntu Bold 12"
29+
30+
[org/gnome/shell/extensions/dash-to-dock]
31+
dock-fixed="true"
32+
dock-position="LEFT"
33+
extend-height="true"
34+
force-straight-corner="false"
35+
custom-theme-shring="true"
36+
disable-overview-on-startup="true"
37+
38+
[org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0]
39+
binding='<Control><Alt>t'
40+
command='gnome-terminal'
41+
name='gnome-terminal'
42+
43+
[org/gnome/settings-daemon/plugins/media-keys]
44+
custom-keybindings=['/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/']

etc/dconf/profile/user

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
user-db:user
2+
system-db:local
+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[Unit]
2+
Description=Update the dconf database onboot
3+
Documentation=https://github.com/coreos/rpm-ostree/issues/1944
4+
5+
[Service]
6+
Type=oneshot
7+
ExecStart=/usr/bin/dconf update
8+
9+
[Install]
10+
WantedBy=multi-user.target

usr/share/backgrounds/lagoon.jpg

371 KB
Loading
+177
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,177 @@
1+
Ubuntu Font Family Licensing FAQ
2+
3+
Stylistic Foundations
4+
5+
The Ubuntu Font Family is the first time that a libre typeface has been
6+
designed professionally and explicitly with the intent of developing a
7+
public and long-term community-based development process.
8+
9+
When developing an open project, it is generally necessary to have firm
10+
foundations: a font needs to maintain harmony within itself even across
11+
many type designers and writing systems. For the [1]Ubuntu Font Family,
12+
the process has been guided with the type foundry Dalton Maag setting
13+
the project up with firm stylistic foundation covering several
14+
left-to-right scripts: Latin, Greek and Cyrillic; and right-to-left
15+
scripts: Arabic and Hebrew (due in 2011).
16+
17+
With this starting point the community will, under the supervision of
18+
[2]Canonical and [3]Dalton Maag, be able to build on the existing font
19+
sources to expand their character coverage. Ultimately everybody will
20+
be able to use the Ubuntu Font Family in their own written languages
21+
across the whole of Unicode (and this will take some time!).
22+
23+
Licensing
24+
25+
The licence chosen by any free software project is one of the
26+
foundational decisions that sets out how derivatives and contributions
27+
can occur, and in turn what kind of community will form around the
28+
project.
29+
30+
Using a licence that is compatible with other popular licences is a
31+
powerful constraint because of the [4]network effects: the freedom to
32+
share improvements between projects allows free software to reach
33+
high-quality over time. Licence-proliferation leads to many
34+
incompatible licences, undermining the network effect, the freedom to
35+
share and ultimately making the libre movement that Ubuntu is a part of
36+
less effective. For all kinds of software, writing a new licence is not
37+
to be taken lightly and is a choice that needs to be thoroughly
38+
justified if this path is taken.
39+
40+
Today it is not clear to Canonical what the best licence for a font
41+
project like the Ubuntu Font Family is: one that starts life designed
42+
by professionals and continues with the full range of community
43+
development, from highly commercial work in new directions to curious
44+
beginners' experimental contributions. The fast and steady pace of the
45+
Ubuntu release cycle means that an interim libre licence has been
46+
necessary to enable the consideration of the font family as part of
47+
Ubuntu 10.10 operating system release.
48+
49+
Before taking any decision on licensing, Canonical as sponsor and
50+
backer of the project has reviewed the many existing licenses used for
51+
libre/open fonts and engaged the stewards of the most popular licenses
52+
in detailed discussions. The current interim licence is the first step
53+
in progressing the state-of-the-art in licensing for libre/open font
54+
development.
55+
56+
The public discussion must now involve everyone in the (comparatively
57+
new) area of the libre/open font community; including font users,
58+
software freedom advocates, open source supporters and existing libre
59+
font developers. Most importantly, the minds and wishes of professional
60+
type designers considering entering the free software business
61+
community must be taken on board.
62+
63+
Conversations and discussion has taken place, privately, with
64+
individuals from the following groups (generally speaking personally on
65+
behalf of themselves, rather than their affiliations):
66+
* [5]SIL International
67+
* [6]Open Font Library
68+
* [7]Software Freedom Law Center
69+
* [8]Google Font API
70+
71+
Document embedding
72+
73+
One issue highlighted early on in the survey of existing font licences
74+
is that of document embedding. Almost all font licences, both free and
75+
unfree, permit embedding a font into a document to a certain degree.
76+
Embedding a font with other works that make up a document creates a
77+
"combined work" and copyleft would normally require the whole document
78+
to be distributed under the terms of the font licence. As beautiful as
79+
the font might be, such a licence makes a font too restrictive for
80+
useful general purpose digital publishing.
81+
82+
The situation is not entirely unique to fonts and is encountered also
83+
with tools such as GNU Bison: a vanilla GNU GPL licence would require
84+
anything generated with Bison to be made available under the terms of
85+
the GPL as well. To avoid this, Bison is [9]published with an
86+
additional permission to the GPL which allows the output of Bison to be
87+
made available under any licence.
88+
89+
The conflict between licensing of fonts and licensing of documents, is
90+
addressed in two popular libre font licences, the SIL OFL and GNU GPL:
91+
* [10]SIL Open Font Licence: When OFL fonts are embedded in a
92+
document, the OFL's terms do not apply to that document. (See
93+
[11]OFL-FAQ for details.
94+
* [12]GPL Font Exception: The situation is resolved by granting an
95+
additional permission to allow documents to not be covered by the
96+
GPL. (The exception is being reviewed).
97+
98+
The Ubuntu Font Family must also resolve this conflict, ensuring that
99+
if the font is embedded and then extracted it is once again clearly
100+
under the terms of its libre licence.
101+
102+
Long-term licensing
103+
104+
Those individuals involved, especially from Ubuntu and Canonical, are
105+
interested in finding a long-term libre licence that finds broad favour
106+
across the whole libre/open font community. The deliberation during the
107+
past months has been on how to licence the Ubuntu Font Family in the
108+
short-term, while knowingly encouraging everyone to pursue a long-term
109+
goal.
110+
* [13]Copyright assignment will be required so that the Ubuntu Font
111+
Family's licensing can be progressively expanded to one (or more)
112+
licences, as best practice continues to evolve within the
113+
libre/open font community.
114+
* Canonical will support and fund legal work on libre font licensing.
115+
It is recognised that the cost and time commitments required are
116+
likely to be significant. We invite other capable parties to join
117+
in supporting this activity.
118+
119+
The GPL version 3 (GPLv3) will be used for Ubuntu Font Family build
120+
scripts and the CC-BY-SA for associated documentation and non-font
121+
content: all items which do not end up embedded in general works and
122+
documents.
123+
124+
Ubuntu Font Licence
125+
126+
For the short-term only, the initial licence is the [14]Ubuntu Font
127+
License (UFL). This is loosely inspired from the work on the SIL
128+
OFL 1.1, and seeks to clarify the issues that arose during discussions
129+
and legal review, from the perspective of the backers, Canonical Ltd.
130+
Those already using established licensing models such as the GPL, OFL
131+
or Creative Commons licensing should have no worries about continuing
132+
to use them. The Ubuntu Font Licence (UFL) and the SIL Open Font
133+
Licence (SIL OFL) are not identical and should not be confused with
134+
each other. Please read the terms precisely. The UFL is only intended
135+
as an interim license, and the overriding aim is to support the
136+
creation of a more suitable and generic libre font licence. As soon as
137+
such a licence is developed, the Ubuntu Font Family will migrate to
138+
it—made possible by copyright assignment in the interium. Between the
139+
OFL 1.1, and the UFL 1.0, the following changes are made to produce the
140+
Ubuntu Font Licence:
141+
* Clarification:
142+
143+
1. Document embedding (see [15]embedding section above).
144+
2. Apply at point of distribution, instead of receipt
145+
3. Author vs. copyright holder disambiguation (type designers are
146+
authors, with the copyright holder normally being the funder)
147+
4. Define "Propagate" (for internationalisation, similar to the GPLv3)
148+
5. Define "Substantially Changed"
149+
6. Trademarks are explicitly not transferred
150+
7. Refine renaming requirement
151+
152+
Streamlining:
153+
8. Remove "not to be sold separately" clause
154+
9. Remove "Reserved Font Name(s)" declaration
155+
156+
A visual demonstration of how these points were implemented can be
157+
found in the accompanying coloured diff between SIL OFL 1.1 and the
158+
Ubuntu Font Licence 1.0: [16]ofl-1.1-ufl-1.0.diff.html
159+
160+
References
161+
162+
1. http://font.ubuntu.com/
163+
2. http://www.canonical.com/
164+
3. http://www.daltonmaag.com/
165+
4. http://en.wikipedia.org/wiki/Network_effect
166+
5. http://scripts.sil.org/
167+
6. http://openfontlibrary.org/
168+
7. http://www.softwarefreedom.org/
169+
8. http://code.google.com/webfonts
170+
9. http://www.gnu.org/licenses/gpl-faq.html#CanIUseGPLToolsForNF
171+
10. http://scripts.sil.org/OFL_web
172+
11. http://scripts.sil.org/OFL-FAQ_web
173+
12. http://www.gnu.org/licenses/gpl-faq.html#FontException
174+
13. https://launchpad.net/~uff-contributors
175+
14. http://font.ubuntu.com/ufl/ubuntu-font-licence-1.0.txt
176+
15. http://font.ubuntu.com/ufl/FAQ.html#embedding
177+
16. http://font.ubuntu.com/ufl/ofl-1.1-ufl-1.0.diff.html

usr/share/fonts/ubuntu/LICENCE.txt

+96
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
-------------------------------
2+
UBUNTU FONT LICENCE Version 1.0
3+
-------------------------------
4+
5+
PREAMBLE
6+
This licence allows the licensed fonts to be used, studied, modified and
7+
redistributed freely. The fonts, including any derivative works, can be
8+
bundled, embedded, and redistributed provided the terms of this licence
9+
are met. The fonts and derivatives, however, cannot be released under
10+
any other licence. The requirement for fonts to remain under this
11+
licence does not require any document created using the fonts or their
12+
derivatives to be published under this licence, as long as the primary
13+
purpose of the document is not to be a vehicle for the distribution of
14+
the fonts.
15+
16+
DEFINITIONS
17+
"Font Software" refers to the set of files released by the Copyright
18+
Holder(s) under this licence and clearly marked as such. This may
19+
include source files, build scripts and documentation.
20+
21+
"Original Version" refers to the collection of Font Software components
22+
as received under this licence.
23+
24+
"Modified Version" refers to any derivative made by adding to, deleting,
25+
or substituting -- in part or in whole -- any of the components of the
26+
Original Version, by changing formats or by porting the Font Software to
27+
a new environment.
28+
29+
"Copyright Holder(s)" refers to all individuals and companies who have a
30+
copyright ownership of the Font Software.
31+
32+
"Substantially Changed" refers to Modified Versions which can be easily
33+
identified as dissimilar to the Font Software by users of the Font
34+
Software comparing the Original Version with the Modified Version.
35+
36+
To "Propagate" a work means to do anything with it that, without
37+
permission, would make you directly or secondarily liable for
38+
infringement under applicable copyright law, except executing it on a
39+
computer or modifying a private copy. Propagation includes copying,
40+
distribution (with or without modification and with or without charging
41+
a redistribution fee), making available to the public, and in some
42+
countries other activities as well.
43+
44+
PERMISSION & CONDITIONS
45+
This licence does not grant any rights under trademark law and all such
46+
rights are reserved.
47+
48+
Permission is hereby granted, free of charge, to any person obtaining a
49+
copy of the Font Software, to propagate the Font Software, subject to
50+
the below conditions:
51+
52+
1) Each copy of the Font Software must contain the above copyright
53+
notice and this licence. These can be included either as stand-alone
54+
text files, human-readable headers or in the appropriate machine-
55+
readable metadata fields within text or binary files as long as those
56+
fields can be easily viewed by the user.
57+
58+
2) The font name complies with the following:
59+
(a) The Original Version must retain its name, unmodified.
60+
(b) Modified Versions which are Substantially Changed must be renamed to
61+
avoid use of the name of the Original Version or similar names entirely.
62+
(c) Modified Versions which are not Substantially Changed must be
63+
renamed to both (i) retain the name of the Original Version and (ii) add
64+
additional naming elements to distinguish the Modified Version from the
65+
Original Version. The name of such Modified Versions must be the name of
66+
the Original Version, with "derivative X" where X represents the name of
67+
the new work, appended to that name.
68+
69+
3) The name(s) of the Copyright Holder(s) and any contributor to the
70+
Font Software shall not be used to promote, endorse or advertise any
71+
Modified Version, except (i) as required by this licence, (ii) to
72+
acknowledge the contribution(s) of the Copyright Holder(s) or (iii) with
73+
their explicit written permission.
74+
75+
4) The Font Software, modified or unmodified, in part or in whole, must
76+
be distributed entirely under this licence, and must not be distributed
77+
under any other licence. The requirement for fonts to remain under this
78+
licence does not affect any document created using the Font Software,
79+
except any version of the Font Software extracted from a document
80+
created using the Font Software may only be distributed under this
81+
licence.
82+
83+
TERMINATION
84+
This licence becomes null and void if any of the above conditions are
85+
not met.
86+
87+
DISCLAIMER
88+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
89+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
90+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
91+
COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
92+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
93+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
94+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
95+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER
96+
DEALINGS IN THE FONT SOFTWARE.

0 commit comments

Comments
 (0)