Compare commits
36 Commits
origin/dev
...
master
Author | SHA1 | Date |
---|---|---|
Marko Semet | 140a3b83e3 | |
Marko Semet | a5270bb11d | |
Marko Semet | 9b4d69a616 | |
Marko Semet | 1eb49b3f0d | |
Marko Semet | 54671e9ce7 | |
Marko Semet | 3078ddde0c | |
Marko Semet | d9122f1245 | |
Marko Semet | 507917b42e | |
Marko Semet | f1cda3cf05 | |
Marko Semet | 22efdacf4f | |
Marko Semet | 56fb5ce62e | |
Marko Semet | 3391ad9f19 | |
Marko Semet | 88789fd5d3 | |
Marko Semet | be3b54f008 | |
Marko Semet | 988edc11f1 | |
Marko Semet | 32f7f9beca | |
Marko Semet | 6aab03505a | |
Marko Semet | 7eb5a1ef68 | |
Marko Semet | f760801682 | |
Marko Semet | f40e4bf2ce | |
Marko Semet | a10521c674 | |
Marko Semet | d3d167e628 | |
Marko Semet | a71c7710ce | |
Marko Semet | aa804cbc1c | |
Marko Semet | 3fb56897fc | |
Marko Semet | c0b6da3d5b | |
Marko Semet | cdeb863766 | |
Marko Semet | cc3d372145 | |
Marko Semet | 56e405528c | |
Marko Semet | 05fb26c73f | |
Marko Semet | 2cf9456e81 | |
Marko Semet | 39835503df | |
Marko Semet | 3d4c7ac6e6 | |
Marko Semet | 65c6da5d33 | |
Marko Semet | 8fd9e75304 | |
Marko Semet | 077c546775 |
|
@ -0,0 +1,14 @@
|
|||
root = true
|
||||
|
||||
[*]
|
||||
indent_style = tab
|
||||
indent_size = 4
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
|
||||
[*.bst]
|
||||
indent_style = space
|
||||
|
||||
[*.yaml]
|
||||
indent_style = space
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"files.associations": {
|
||||
"*.bst": "yaml"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,660 @@
|
|||
### GNU AFFERO GENERAL PUBLIC LICENSE
|
||||
|
||||
Version 3, 19 November 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc.
|
||||
<https://fsf.org/>
|
||||
|
||||
Everyone is permitted to copy and distribute verbatim copies of this
|
||||
license document, but changing it is not allowed.
|
||||
|
||||
### Preamble
|
||||
|
||||
The GNU Affero General Public License is a free, copyleft license for
|
||||
software and other kinds of works, specifically designed to ensure
|
||||
cooperation with the community in the case of network server software.
|
||||
|
||||
The licenses for most software and other practical works are designed
|
||||
to take away your freedom to share and change the works. By contrast,
|
||||
our General Public Licenses are intended to guarantee your freedom to
|
||||
share and change all versions of a program--to make sure it remains
|
||||
free software for all its users.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
them if you wish), that you receive source code or can get it if you
|
||||
want it, that you can change the software or use pieces of it in new
|
||||
free programs, and that you know you can do these things.
|
||||
|
||||
Developers that use our General Public Licenses protect your rights
|
||||
with two steps: (1) assert copyright on the software, and (2) offer
|
||||
you this License which gives you legal permission to copy, distribute
|
||||
and/or modify the software.
|
||||
|
||||
A secondary benefit of defending all users' freedom is that
|
||||
improvements made in alternate versions of the program, if they
|
||||
receive widespread use, become available for other developers to
|
||||
incorporate. Many developers of free software are heartened and
|
||||
encouraged by the resulting cooperation. However, in the case of
|
||||
software used on network servers, this result may fail to come about.
|
||||
The GNU General Public License permits making a modified version and
|
||||
letting the public access it on a server without ever releasing its
|
||||
source code to the public.
|
||||
|
||||
The GNU Affero General Public License is designed specifically to
|
||||
ensure that, in such cases, the modified source code becomes available
|
||||
to the community. It requires the operator of a network server to
|
||||
provide the source code of the modified version running there to the
|
||||
users of that server. Therefore, public use of a modified version, on
|
||||
a publicly accessible server, gives the public access to the source
|
||||
code of the modified version.
|
||||
|
||||
An older license, called the Affero General Public License and
|
||||
published by Affero, was designed to accomplish similar goals. This is
|
||||
a different license, not a version of the Affero GPL, but Affero has
|
||||
released a new version of the Affero GPL which permits relicensing
|
||||
under this license.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
### TERMS AND CONDITIONS
|
||||
|
||||
#### 0. Definitions.
|
||||
|
||||
"This License" refers to version 3 of the GNU Affero General Public
|
||||
License.
|
||||
|
||||
"Copyright" also means copyright-like laws that apply to other kinds
|
||||
of works, such as semiconductor masks.
|
||||
|
||||
"The Program" refers to any copyrightable work licensed under this
|
||||
License. Each licensee is addressed as "you". "Licensees" and
|
||||
"recipients" may be individuals or organizations.
|
||||
|
||||
To "modify" a work means to copy from or adapt all or part of the work
|
||||
in a fashion requiring copyright permission, other than the making of
|
||||
an exact copy. The resulting work is called a "modified version" of
|
||||
the earlier work or a work "based on" the earlier work.
|
||||
|
||||
A "covered work" means either the unmodified Program or a work based
|
||||
on the Program.
|
||||
|
||||
To "propagate" a work means to do anything with it that, without
|
||||
permission, would make you directly or secondarily liable for
|
||||
infringement under applicable copyright law, except executing it on a
|
||||
computer or modifying a private copy. Propagation includes copying,
|
||||
distribution (with or without modification), making available to the
|
||||
public, and in some countries other activities as well.
|
||||
|
||||
To "convey" a work means any kind of propagation that enables other
|
||||
parties to make or receive copies. Mere interaction with a user
|
||||
through a computer network, with no transfer of a copy, is not
|
||||
conveying.
|
||||
|
||||
An interactive user interface displays "Appropriate Legal Notices" to
|
||||
the extent that it includes a convenient and prominently visible
|
||||
feature that (1) displays an appropriate copyright notice, and (2)
|
||||
tells the user that there is no warranty for the work (except to the
|
||||
extent that warranties are provided), that licensees may convey the
|
||||
work under this License, and how to view a copy of this License. If
|
||||
the interface presents a list of user commands or options, such as a
|
||||
menu, a prominent item in the list meets this criterion.
|
||||
|
||||
#### 1. Source Code.
|
||||
|
||||
The "source code" for a work means the preferred form of the work for
|
||||
making modifications to it. "Object code" means any non-source form of
|
||||
a work.
|
||||
|
||||
A "Standard Interface" means an interface that either is an official
|
||||
standard defined by a recognized standards body, or, in the case of
|
||||
interfaces specified for a particular programming language, one that
|
||||
is widely used among developers working in that language.
|
||||
|
||||
The "System Libraries" of an executable work include anything, other
|
||||
than the work as a whole, that (a) is included in the normal form of
|
||||
packaging a Major Component, but which is not part of that Major
|
||||
Component, and (b) serves only to enable use of the work with that
|
||||
Major Component, or to implement a Standard Interface for which an
|
||||
implementation is available to the public in source code form. A
|
||||
"Major Component", in this context, means a major essential component
|
||||
(kernel, window system, and so on) of the specific operating system
|
||||
(if any) on which the executable work runs, or a compiler used to
|
||||
produce the work, or an object code interpreter used to run it.
|
||||
|
||||
The "Corresponding Source" for a work in object code form means all
|
||||
the source code needed to generate, install, and (for an executable
|
||||
work) run the object code and to modify the work, including scripts to
|
||||
control those activities. However, it does not include the work's
|
||||
System Libraries, or general-purpose tools or generally available free
|
||||
programs which are used unmodified in performing those activities but
|
||||
which are not part of the work. For example, Corresponding Source
|
||||
includes interface definition files associated with source files for
|
||||
the work, and the source code for shared libraries and dynamically
|
||||
linked subprograms that the work is specifically designed to require,
|
||||
such as by intimate data communication or control flow between those
|
||||
subprograms and other parts of the work.
|
||||
|
||||
The Corresponding Source need not include anything that users can
|
||||
regenerate automatically from other parts of the Corresponding Source.
|
||||
|
||||
The Corresponding Source for a work in source code form is that same
|
||||
work.
|
||||
|
||||
#### 2. Basic Permissions.
|
||||
|
||||
All rights granted under this License are granted for the term of
|
||||
copyright on the Program, and are irrevocable provided the stated
|
||||
conditions are met. This License explicitly affirms your unlimited
|
||||
permission to run the unmodified Program. The output from running a
|
||||
covered work is covered by this License only if the output, given its
|
||||
content, constitutes a covered work. This License acknowledges your
|
||||
rights of fair use or other equivalent, as provided by copyright law.
|
||||
|
||||
You may make, run and propagate covered works that you do not convey,
|
||||
without conditions so long as your license otherwise remains in force.
|
||||
You may convey covered works to others for the sole purpose of having
|
||||
them make modifications exclusively for you, or provide you with
|
||||
facilities for running those works, provided that you comply with the
|
||||
terms of this License in conveying all material for which you do not
|
||||
control copyright. Those thus making or running the covered works for
|
||||
you must do so exclusively on your behalf, under your direction and
|
||||
control, on terms that prohibit them from making any copies of your
|
||||
copyrighted material outside their relationship with you.
|
||||
|
||||
Conveying under any other circumstances is permitted solely under the
|
||||
conditions stated below. Sublicensing is not allowed; section 10 makes
|
||||
it unnecessary.
|
||||
|
||||
#### 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||
|
||||
No covered work shall be deemed part of an effective technological
|
||||
measure under any applicable law fulfilling obligations under article
|
||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||
similar laws prohibiting or restricting circumvention of such
|
||||
measures.
|
||||
|
||||
When you convey a covered work, you waive any legal power to forbid
|
||||
circumvention of technological measures to the extent such
|
||||
circumvention is effected by exercising rights under this License with
|
||||
respect to the covered work, and you disclaim any intention to limit
|
||||
operation or modification of the work as a means of enforcing, against
|
||||
the work's users, your or third parties' legal rights to forbid
|
||||
circumvention of technological measures.
|
||||
|
||||
#### 4. Conveying Verbatim Copies.
|
||||
|
||||
You may convey verbatim copies of the Program's source code as you
|
||||
receive it, in any medium, provided that you conspicuously and
|
||||
appropriately publish on each copy an appropriate copyright notice;
|
||||
keep intact all notices stating that this License and any
|
||||
non-permissive terms added in accord with section 7 apply to the code;
|
||||
keep intact all notices of the absence of any warranty; and give all
|
||||
recipients a copy of this License along with the Program.
|
||||
|
||||
You may charge any price or no price for each copy that you convey,
|
||||
and you may offer support or warranty protection for a fee.
|
||||
|
||||
#### 5. Conveying Modified Source Versions.
|
||||
|
||||
You may convey a work based on the Program, or the modifications to
|
||||
produce it from the Program, in the form of source code under the
|
||||
terms of section 4, provided that you also meet all of these
|
||||
conditions:
|
||||
|
||||
- a) The work must carry prominent notices stating that you modified
|
||||
it, and giving a relevant date.
|
||||
- b) The work must carry prominent notices stating that it is
|
||||
released under this License and any conditions added under
|
||||
section 7. This requirement modifies the requirement in section 4
|
||||
to "keep intact all notices".
|
||||
- c) You must license the entire work, as a whole, under this
|
||||
License to anyone who comes into possession of a copy. This
|
||||
License will therefore apply, along with any applicable section 7
|
||||
additional terms, to the whole of the work, and all its parts,
|
||||
regardless of how they are packaged. This License gives no
|
||||
permission to license the work in any other way, but it does not
|
||||
invalidate such permission if you have separately received it.
|
||||
- d) If the work has interactive user interfaces, each must display
|
||||
Appropriate Legal Notices; however, if the Program has interactive
|
||||
interfaces that do not display Appropriate Legal Notices, your
|
||||
work need not make them do so.
|
||||
|
||||
A compilation of a covered work with other separate and independent
|
||||
works, which are not by their nature extensions of the covered work,
|
||||
and which are not combined with it such as to form a larger program,
|
||||
in or on a volume of a storage or distribution medium, is called an
|
||||
"aggregate" if the compilation and its resulting copyright are not
|
||||
used to limit the access or legal rights of the compilation's users
|
||||
beyond what the individual works permit. Inclusion of a covered work
|
||||
in an aggregate does not cause this License to apply to the other
|
||||
parts of the aggregate.
|
||||
|
||||
#### 6. Conveying Non-Source Forms.
|
||||
|
||||
You may convey a covered work in object code form under the terms of
|
||||
sections 4 and 5, provided that you also convey the machine-readable
|
||||
Corresponding Source under the terms of this License, in one of these
|
||||
ways:
|
||||
|
||||
- a) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by the
|
||||
Corresponding Source fixed on a durable physical medium
|
||||
customarily used for software interchange.
|
||||
- b) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by a
|
||||
written offer, valid for at least three years and valid for as
|
||||
long as you offer spare parts or customer support for that product
|
||||
model, to give anyone who possesses the object code either (1) a
|
||||
copy of the Corresponding Source for all the software in the
|
||||
product that is covered by this License, on a durable physical
|
||||
medium customarily used for software interchange, for a price no
|
||||
more than your reasonable cost of physically performing this
|
||||
conveying of source, or (2) access to copy the Corresponding
|
||||
Source from a network server at no charge.
|
||||
- c) Convey individual copies of the object code with a copy of the
|
||||
written offer to provide the Corresponding Source. This
|
||||
alternative is allowed only occasionally and noncommercially, and
|
||||
only if you received the object code with such an offer, in accord
|
||||
with subsection 6b.
|
||||
- d) Convey the object code by offering access from a designated
|
||||
place (gratis or for a charge), and offer equivalent access to the
|
||||
Corresponding Source in the same way through the same place at no
|
||||
further charge. You need not require recipients to copy the
|
||||
Corresponding Source along with the object code. If the place to
|
||||
copy the object code is a network server, the Corresponding Source
|
||||
may be on a different server (operated by you or a third party)
|
||||
that supports equivalent copying facilities, provided you maintain
|
||||
clear directions next to the object code saying where to find the
|
||||
Corresponding Source. Regardless of what server hosts the
|
||||
Corresponding Source, you remain obligated to ensure that it is
|
||||
available for as long as needed to satisfy these requirements.
|
||||
- e) Convey the object code using peer-to-peer transmission,
|
||||
provided you inform other peers where the object code and
|
||||
Corresponding Source of the work are being offered to the general
|
||||
public at no charge under subsection 6d.
|
||||
|
||||
A separable portion of the object code, whose source code is excluded
|
||||
from the Corresponding Source as a System Library, need not be
|
||||
included in conveying the object code work.
|
||||
|
||||
A "User Product" is either (1) a "consumer product", which means any
|
||||
tangible personal property which is normally used for personal,
|
||||
family, or household purposes, or (2) anything designed or sold for
|
||||
incorporation into a dwelling. In determining whether a product is a
|
||||
consumer product, doubtful cases shall be resolved in favor of
|
||||
coverage. For a particular product received by a particular user,
|
||||
"normally used" refers to a typical or common use of that class of
|
||||
product, regardless of the status of the particular user or of the way
|
||||
in which the particular user actually uses, or expects or is expected
|
||||
to use, the product. A product is a consumer product regardless of
|
||||
whether the product has substantial commercial, industrial or
|
||||
non-consumer uses, unless such uses represent the only significant
|
||||
mode of use of the product.
|
||||
|
||||
"Installation Information" for a User Product means any methods,
|
||||
procedures, authorization keys, or other information required to
|
||||
install and execute modified versions of a covered work in that User
|
||||
Product from a modified version of its Corresponding Source. The
|
||||
information must suffice to ensure that the continued functioning of
|
||||
the modified object code is in no case prevented or interfered with
|
||||
solely because modification has been made.
|
||||
|
||||
If you convey an object code work under this section in, or with, or
|
||||
specifically for use in, a User Product, and the conveying occurs as
|
||||
part of a transaction in which the right of possession and use of the
|
||||
User Product is transferred to the recipient in perpetuity or for a
|
||||
fixed term (regardless of how the transaction is characterized), the
|
||||
Corresponding Source conveyed under this section must be accompanied
|
||||
by the Installation Information. But this requirement does not apply
|
||||
if neither you nor any third party retains the ability to install
|
||||
modified object code on the User Product (for example, the work has
|
||||
been installed in ROM).
|
||||
|
||||
The requirement to provide Installation Information does not include a
|
||||
requirement to continue to provide support service, warranty, or
|
||||
updates for a work that has been modified or installed by the
|
||||
recipient, or for the User Product in which it has been modified or
|
||||
installed. Access to a network may be denied when the modification
|
||||
itself materially and adversely affects the operation of the network
|
||||
or violates the rules and protocols for communication across the
|
||||
network.
|
||||
|
||||
Corresponding Source conveyed, and Installation Information provided,
|
||||
in accord with this section must be in a format that is publicly
|
||||
documented (and with an implementation available to the public in
|
||||
source code form), and must require no special password or key for
|
||||
unpacking, reading or copying.
|
||||
|
||||
#### 7. Additional Terms.
|
||||
|
||||
"Additional permissions" are terms that supplement the terms of this
|
||||
License by making exceptions from one or more of its conditions.
|
||||
Additional permissions that are applicable to the entire Program shall
|
||||
be treated as though they were included in this License, to the extent
|
||||
that they are valid under applicable law. If additional permissions
|
||||
apply only to part of the Program, that part may be used separately
|
||||
under those permissions, but the entire Program remains governed by
|
||||
this License without regard to the additional permissions.
|
||||
|
||||
When you convey a copy of a covered work, you may at your option
|
||||
remove any additional permissions from that copy, or from any part of
|
||||
it. (Additional permissions may be written to require their own
|
||||
removal in certain cases when you modify the work.) You may place
|
||||
additional permissions on material, added by you to a covered work,
|
||||
for which you have or can give appropriate copyright permission.
|
||||
|
||||
Notwithstanding any other provision of this License, for material you
|
||||
add to a covered work, you may (if authorized by the copyright holders
|
||||
of that material) supplement the terms of this License with terms:
|
||||
|
||||
- a) Disclaiming warranty or limiting liability differently from the
|
||||
terms of sections 15 and 16 of this License; or
|
||||
- b) Requiring preservation of specified reasonable legal notices or
|
||||
author attributions in that material or in the Appropriate Legal
|
||||
Notices displayed by works containing it; or
|
||||
- c) Prohibiting misrepresentation of the origin of that material,
|
||||
or requiring that modified versions of such material be marked in
|
||||
reasonable ways as different from the original version; or
|
||||
- d) Limiting the use for publicity purposes of names of licensors
|
||||
or authors of the material; or
|
||||
- e) Declining to grant rights under trademark law for use of some
|
||||
trade names, trademarks, or service marks; or
|
||||
- f) Requiring indemnification of licensors and authors of that
|
||||
material by anyone who conveys the material (or modified versions
|
||||
of it) with contractual assumptions of liability to the recipient,
|
||||
for any liability that these contractual assumptions directly
|
||||
impose on those licensors and authors.
|
||||
|
||||
All other non-permissive additional terms are considered "further
|
||||
restrictions" within the meaning of section 10. If the Program as you
|
||||
received it, or any part of it, contains a notice stating that it is
|
||||
governed by this License along with a term that is a further
|
||||
restriction, you may remove that term. If a license document contains
|
||||
a further restriction but permits relicensing or conveying under this
|
||||
License, you may add to a covered work material governed by the terms
|
||||
of that license document, provided that the further restriction does
|
||||
not survive such relicensing or conveying.
|
||||
|
||||
If you add terms to a covered work in accord with this section, you
|
||||
must place, in the relevant source files, a statement of the
|
||||
additional terms that apply to those files, or a notice indicating
|
||||
where to find the applicable terms.
|
||||
|
||||
Additional terms, permissive or non-permissive, may be stated in the
|
||||
form of a separately written license, or stated as exceptions; the
|
||||
above requirements apply either way.
|
||||
|
||||
#### 8. Termination.
|
||||
|
||||
You may not propagate or modify a covered work except as expressly
|
||||
provided under this License. Any attempt otherwise to propagate or
|
||||
modify it is void, and will automatically terminate your rights under
|
||||
this License (including any patent licenses granted under the third
|
||||
paragraph of section 11).
|
||||
|
||||
However, if you cease all violation of this License, then your license
|
||||
from a particular copyright holder is reinstated (a) provisionally,
|
||||
unless and until the copyright holder explicitly and finally
|
||||
terminates your license, and (b) permanently, if the copyright holder
|
||||
fails to notify you of the violation by some reasonable means prior to
|
||||
60 days after the cessation.
|
||||
|
||||
Moreover, your license from a particular copyright holder is
|
||||
reinstated permanently if the copyright holder notifies you of the
|
||||
violation by some reasonable means, this is the first time you have
|
||||
received notice of violation of this License (for any work) from that
|
||||
copyright holder, and you cure the violation prior to 30 days after
|
||||
your receipt of the notice.
|
||||
|
||||
Termination of your rights under this section does not terminate the
|
||||
licenses of parties who have received copies or rights from you under
|
||||
this License. If your rights have been terminated and not permanently
|
||||
reinstated, you do not qualify to receive new licenses for the same
|
||||
material under section 10.
|
||||
|
||||
#### 9. Acceptance Not Required for Having Copies.
|
||||
|
||||
You are not required to accept this License in order to receive or run
|
||||
a copy of the Program. Ancillary propagation of a covered work
|
||||
occurring solely as a consequence of using peer-to-peer transmission
|
||||
to receive a copy likewise does not require acceptance. However,
|
||||
nothing other than this License grants you permission to propagate or
|
||||
modify any covered work. These actions infringe copyright if you do
|
||||
not accept this License. Therefore, by modifying or propagating a
|
||||
covered work, you indicate your acceptance of this License to do so.
|
||||
|
||||
#### 10. Automatic Licensing of Downstream Recipients.
|
||||
|
||||
Each time you convey a covered work, the recipient automatically
|
||||
receives a license from the original licensors, to run, modify and
|
||||
propagate that work, subject to this License. You are not responsible
|
||||
for enforcing compliance by third parties with this License.
|
||||
|
||||
An "entity transaction" is a transaction transferring control of an
|
||||
organization, or substantially all assets of one, or subdividing an
|
||||
organization, or merging organizations. If propagation of a covered
|
||||
work results from an entity transaction, each party to that
|
||||
transaction who receives a copy of the work also receives whatever
|
||||
licenses to the work the party's predecessor in interest had or could
|
||||
give under the previous paragraph, plus a right to possession of the
|
||||
Corresponding Source of the work from the predecessor in interest, if
|
||||
the predecessor has it or can get it with reasonable efforts.
|
||||
|
||||
You may not impose any further restrictions on the exercise of the
|
||||
rights granted or affirmed under this License. For example, you may
|
||||
not impose a license fee, royalty, or other charge for exercise of
|
||||
rights granted under this License, and you may not initiate litigation
|
||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||
any patent claim is infringed by making, using, selling, offering for
|
||||
sale, or importing the Program or any portion of it.
|
||||
|
||||
#### 11. Patents.
|
||||
|
||||
A "contributor" is a copyright holder who authorizes use under this
|
||||
License of the Program or a work on which the Program is based. The
|
||||
work thus licensed is called the contributor's "contributor version".
|
||||
|
||||
A contributor's "essential patent claims" are all patent claims owned
|
||||
or controlled by the contributor, whether already acquired or
|
||||
hereafter acquired, that would be infringed by some manner, permitted
|
||||
by this License, of making, using, or selling its contributor version,
|
||||
but do not include claims that would be infringed only as a
|
||||
consequence of further modification of the contributor version. For
|
||||
purposes of this definition, "control" includes the right to grant
|
||||
patent sublicenses in a manner consistent with the requirements of
|
||||
this License.
|
||||
|
||||
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||
patent license under the contributor's essential patent claims, to
|
||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||
propagate the contents of its contributor version.
|
||||
|
||||
In the following three paragraphs, a "patent license" is any express
|
||||
agreement or commitment, however denominated, not to enforce a patent
|
||||
(such as an express permission to practice a patent or covenant not to
|
||||
sue for patent infringement). To "grant" such a patent license to a
|
||||
party means to make such an agreement or commitment not to enforce a
|
||||
patent against the party.
|
||||
|
||||
If you convey a covered work, knowingly relying on a patent license,
|
||||
and the Corresponding Source of the work is not available for anyone
|
||||
to copy, free of charge and under the terms of this License, through a
|
||||
publicly available network server or other readily accessible means,
|
||||
then you must either (1) cause the Corresponding Source to be so
|
||||
available, or (2) arrange to deprive yourself of the benefit of the
|
||||
patent license for this particular work, or (3) arrange, in a manner
|
||||
consistent with the requirements of this License, to extend the patent
|
||||
license to downstream recipients. "Knowingly relying" means you have
|
||||
actual knowledge that, but for the patent license, your conveying the
|
||||
covered work in a country, or your recipient's use of the covered work
|
||||
in a country, would infringe one or more identifiable patents in that
|
||||
country that you have reason to believe are valid.
|
||||
|
||||
If, pursuant to or in connection with a single transaction or
|
||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||
covered work, and grant a patent license to some of the parties
|
||||
receiving the covered work authorizing them to use, propagate, modify
|
||||
or convey a specific copy of the covered work, then the patent license
|
||||
you grant is automatically extended to all recipients of the covered
|
||||
work and works based on it.
|
||||
|
||||
A patent license is "discriminatory" if it does not include within the
|
||||
scope of its coverage, prohibits the exercise of, or is conditioned on
|
||||
the non-exercise of one or more of the rights that are specifically
|
||||
granted under this License. You may not convey a covered work if you
|
||||
are a party to an arrangement with a third party that is in the
|
||||
business of distributing software, under which you make payment to the
|
||||
third party based on the extent of your activity of conveying the
|
||||
work, and under which the third party grants, to any of the parties
|
||||
who would receive the covered work from you, a discriminatory patent
|
||||
license (a) in connection with copies of the covered work conveyed by
|
||||
you (or copies made from those copies), or (b) primarily for and in
|
||||
connection with specific products or compilations that contain the
|
||||
covered work, unless you entered into that arrangement, or that patent
|
||||
license was granted, prior to 28 March 2007.
|
||||
|
||||
Nothing in this License shall be construed as excluding or limiting
|
||||
any implied license or other defenses to infringement that may
|
||||
otherwise be available to you under applicable patent law.
|
||||
|
||||
#### 12. No Surrender of Others' Freedom.
|
||||
|
||||
If conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot convey a
|
||||
covered work so as to satisfy simultaneously your obligations under
|
||||
this License and any other pertinent obligations, then as a
|
||||
consequence you may not convey it at all. For example, if you agree to
|
||||
terms that obligate you to collect a royalty for further conveying
|
||||
from those to whom you convey the Program, the only way you could
|
||||
satisfy both those terms and this License would be to refrain entirely
|
||||
from conveying the Program.
|
||||
|
||||
#### 13. Remote Network Interaction; Use with the GNU General Public License.
|
||||
|
||||
Notwithstanding any other provision of this License, if you modify the
|
||||
Program, your modified version must prominently offer all users
|
||||
interacting with it remotely through a computer network (if your
|
||||
version supports such interaction) an opportunity to receive the
|
||||
Corresponding Source of your version by providing access to the
|
||||
Corresponding Source from a network server at no charge, through some
|
||||
standard or customary means of facilitating copying of software. This
|
||||
Corresponding Source shall include the Corresponding Source for any
|
||||
work covered by version 3 of the GNU General Public License that is
|
||||
incorporated pursuant to the following paragraph.
|
||||
|
||||
Notwithstanding any other provision of this License, you have
|
||||
permission to link or combine any covered work with a work licensed
|
||||
under version 3 of the GNU General Public License into a single
|
||||
combined work, and to convey the resulting work. The terms of this
|
||||
License will continue to apply to the part which is the covered work,
|
||||
but the work with which it is combined will remain governed by version
|
||||
3 of the GNU General Public License.
|
||||
|
||||
#### 14. Revised Versions of this License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions
|
||||
of the GNU Affero General Public License from time to time. Such new
|
||||
versions will be similar in spirit to the present version, but may
|
||||
differ in detail to address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Program
|
||||
specifies that a certain numbered version of the GNU Affero General
|
||||
Public License "or any later version" applies to it, you have the
|
||||
option of following the terms and conditions either of that numbered
|
||||
version or of any later version published by the Free Software
|
||||
Foundation. If the Program does not specify a version number of the
|
||||
GNU Affero General Public License, you may choose any version ever
|
||||
published by the Free Software Foundation.
|
||||
|
||||
If the Program specifies that a proxy can decide which future versions
|
||||
of the GNU Affero General Public License can be used, that proxy's
|
||||
public statement of acceptance of a version permanently authorizes you
|
||||
to choose that version for the Program.
|
||||
|
||||
Later license versions may give you additional or different
|
||||
permissions. However, no additional obligations are imposed on any
|
||||
author or copyright holder as a result of your choosing to follow a
|
||||
later version.
|
||||
|
||||
#### 15. Disclaimer of Warranty.
|
||||
|
||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT
|
||||
WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT
|
||||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND
|
||||
PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE
|
||||
DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR
|
||||
CORRECTION.
|
||||
|
||||
#### 16. Limitation of Liability.
|
||||
|
||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR
|
||||
CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES
|
||||
ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT
|
||||
NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR
|
||||
LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM
|
||||
TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER
|
||||
PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
#### 17. Interpretation of Sections 15 and 16.
|
||||
|
||||
If the disclaimer of warranty and limitation of liability provided
|
||||
above cannot be given local legal effect according to their terms,
|
||||
reviewing courts shall apply local law that most closely approximates
|
||||
an absolute waiver of all civil liability in connection with the
|
||||
Program, unless a warranty or assumption of liability accompanies a
|
||||
copy of the Program in return for a fee.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
### How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these
|
||||
terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest to
|
||||
attach them to the start of each source file to most effectively state
|
||||
the exclusion of warranty; and each file should have at least the
|
||||
"copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero 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 Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
Also add information on how to contact you by electronic and paper
|
||||
mail.
|
||||
|
||||
If your software can interact with users remotely through a computer
|
||||
network, you should also make sure that it provides a way for users to
|
||||
get its source. For example, if your program is a web application, its
|
||||
interface could display a "Source" link that leads users to an archive
|
||||
of the code. There are many ways you could offer source, and different
|
||||
solutions will be better for different programs; see section 13 for
|
||||
the specific requirements.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or
|
||||
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||
necessary. For more information on this, and how to apply and follow
|
||||
the GNU AGPL, see <https://www.gnu.org/licenses/>.
|
|
@ -5,7 +5,7 @@ Sources
|
|||
|
||||
Original source:
|
||||
|
||||
https://git.marko10000.tk/flatpaks/flatpak
|
||||
https://git.marko10-000.de/flatpaks/flatpak
|
||||
|
||||
Github-Mirror:
|
||||
|
||||
|
@ -32,6 +32,7 @@ Contains:
|
|||
- Blu-ray-support isn't added (will be added in the future)
|
||||
- Remote control-support isn't added (has somebody the hardware for it?)
|
||||
- Extension: inputstream libs aren't add (coming soon)
|
||||
- [LCEdit](https://clonkspot.org/forum/topic_show.pl?tid=906) (tk.maxmitti.git.LCEdit)
|
||||
|
||||
Get a flatpak
|
||||
=============
|
||||
|
@ -44,7 +45,7 @@ Replace **\<app\>** with the wanted app name (e.g. for CodeLite replace it with
|
|||
|
||||
```bash
|
||||
$ flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
||||
$ flatpak remote-add --if-not-exists marko10_000 https://build.marko10000.tk/marko10_000.flatpakrepo
|
||||
$ flatpak remote-add --if-not-exists marko10_000 https://build.marko10-000.de/marko10_000.flatpakrepo
|
||||
$ flatpak install --assumeyes marko10_000 <app>
|
||||
```
|
||||
|
||||
|
@ -58,4 +59,4 @@ should be an empty folder (doesn't have to exists).
|
|||
```bash
|
||||
$ flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
||||
$ flatpak-builder --install --user --install-deps-from=flathub <build folder> <file>
|
||||
```
|
||||
```
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
#! /usr/bin/env bash
|
||||
exec nice flatpak-builder --force-clean --bundle-sources "$@"
|
|
@ -0,0 +1,6 @@
|
|||
[Flatpak Repo]
|
||||
Title=Marko10_000-Builds
|
||||
Url=https://builds.marko10-000.de/flatpak/
|
||||
Homepage=https://buils.marko10-000.de/
|
||||
Description=Builds from Marko10_000
|
||||
GPGKey=LS0tLS1CRUdJTiBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tCgptUUlOQkY3K2JoWUJFQURmN3BCZmVZeWlBb0llaFZua0Ywa3lueDU2eTVsSDZrTDZsR2pZMHVlWU5rYnIyQUJjCnBFZDlnQ0dnM1JBakhORFpkNnc3ZVpHTjh5YXhvQVVGM1dxL1FsOVVPbE1VK3R2UjdKQ0xQNUF0Uk9KOVFlaHQKOHJENk5TZVF4eUd4U1FaSGRaTGx2NVVYZUhxY0JsRTYwVDVmS0FCWjdxQkZIVmJsVXRodmlmOWVFZkdERHZGQQpLeFkwT2hCWUlQYmxwVlV3M0QwVTFNdEhSSkVmSHUvaFJ0ZmsxRWxoWkUyZVZjNEhZMzAvMEdiSEtXaUN3RXM1CkltR0dYai9HUk1KcmRjV3ZkNGxsNmlWZVlrNVBjckFZd0Y3ZUJIbXBxemR2L1BoTXBYc08rUDZCZnVtSzBUSTMKbGZIRVhjQU1jOWU5TjhDc2YvRCtWcWRGMnJ5OGdlbW0zZ2pwTnhjUXM0RUpkWFJiTGIrRkIwZDk1cG1jdnVyVgpWNTNrbytTOHM1NjFuR3pGTnJqR0pWQTRhemlSSzF2VzR6a3F1QS9zUmZmb25IelMvOFMwdVphZE54VHI4M2lZClVoVEZQL0ZxK2EvWFNhSk5sZk1BTERWZ0padzZJZGlQR3NQcVg2Z0xNck01TnhjU3J0Wll1OVVCaG13bUdqTHMKZGw4a242R25TNk1ibjZoSTJySWNsSk04b2FhMFhadHhDa3NLak1GdnJnU0c5WEc4U0Q3Nkhhd01tZ2psenNwYwpPN2dTakp1VCs2WDdsZzFPV0NxUmMwc3REQ2VSMUM0RjlKaS9UMzBwTGNURUVLaDljUDc5NXNiRFRRR0FjejRSCnNCYjV1dUVzSlNIUERaeHdtaitTK3BuUUdUSHUrdzdPM0pSSTVEdDdDK3RxV3ZBUDlqTlV6b045QVFBUkFRQUIKdEM5Q2RXbHNaSE1uY3lCdlppQk5ZWEpyYnpFd1h6QXdNQ0E4WW5WcGJHUnpRRzFoY210dk1UQXRNREF3TG1SbApQb2tDVGdRVEFRZ0FPQlloQkhDN3huaWpDY2Z6em1kU1BzdkxnZE1lVXpyQ0JRSmUvbTRXQWhzREJRc0pDQWNDCkJoVUtDUWdMQWdRV0FnTUJBaDRCQWhlQUFBb0pFTXZMZ2RNZVV6ckNDZGdQLzF1cUpVaEptTmlDT2RKeEFJTngKaXQvWGZxZmdTNW96ZlU0WXJjVzJvcmU3Q1pHK0FrK1IxMTB1ZFRnQ3ZNeGZNbGVZMSsxOVUyNjYzMzZuK0xsMApoZCtwWGMwNW5uSGExNjdXRTdXRG1SczRqaDdkNUllVGlxc1o2dy9uUUo3L0doVFA4TE9yYjNQWjhqZ2pNSldiCjNnRmxscTZtWkFTM01wZHpzc21taFFSbEFkN2t6cjlpN1RxVGUvQ1NMNWdCK1VEY2lUc3hkeG56ekUrWms0Z2oKaGZUNDA0WWdjVlVzeUNLbzRoNFNkam5PbzFoS0JPWG9VVlBsTWhvVk9lNUdHQ2h0YWpvVXNoVjZaVmZrcnBTNgpNU1hBeHNIcEhLdGdCWXhSeWhTNDJaVGpWaW4rUi9mNGkwRjloOXJYbnFqYnNjWWg4Ly9LYVJxRHlvRldaQzFmClNPSEppeWZYVlRVVkhtSU1oSjVnUGlNRE13TE1JKzNBVmJCMlpheGNRQVlWUHM1MFczL0VrSm9JNWl1WXJTNlQKWkk4Z21qWG4vQU5jZjgwbmNnaGFPZ1orYi83ZDNhcnVJOWtlTTZLckJ1Yk9WSGpnWGFkdHJhSjBrd0cxSFNEaAoxbVZla3k5cWhnaE1xVkVITm11cmtxRVhPS1RtZi9SZ1JBMFZIYTAxNjlEenJ1WDl1MlZBeHhDOUtrTDFOdThCCkgxTWxtZjZMZG9xQjI3d3N4MU5ZLzB4bnVVU2o3N3ZOV3libkFMOUVyWjNnSHFBOG51VjRMKzB5UmRVS085c2YKYWtjS1dHamJ4ams4Sm9PWjdTakNaa1YxU1I3RWhzWDVneng2eGpGVDg0SUhvM3FVNEd5L2kvNWNYdEZZOXp6ZQpZRWFFajhpTnNlM0wwS21Ob1NjS2VuYmN1UUlOQkY3K2JoWUJFQUNpT2MrOWpLaFl5NzRvZVJ1VGFNZ3k2Q1JUCi91d0NRKzBNQ1p5RTBuVWIrUXQrZk5KdWV2a2tmN3F1NVQvZjg5MGdYbzB1Q054cytaNjd6dG9xcHk3cjFReXYKNmJNTnN0N05JQWlncVFsdUF3ZUo5YWFiSEU1NHpDVUc0YmdubWptMlVHeVorWEpHWGt0SlNEUlh6NUJweG0yNgpMUllWYU02RDFIc29MaGNqVG82bHV6VEw5cXVMQkZvMEZHVnloakRXeFk4b2lUUUJRb0czQTU3T1c4Q1FkdTVqCmd1dWI0ckJxdEV3MGVyTUV3OWQ2UWN0OEJEeUVTMkJxM29JQ0xNcFQ4KzB3M2ZGaW9aeUxoZURxb0FjOUl6R20KZVhlOXcrbzJ3RnBqOVBQeHlXMnh1VkhGV0FQTmNybHcrWWtrTEFYOTdlNkVIeURBWWZTRmFncENieUxqVkxwSQptRCtibE5KOEd4MFZzTnlPOHl2SmhSYll0blV2SVA5d0hWRmNRc2lwZHhSTEJ3UitpcmdIaHAvZkJrekdINENiCmhiQy96c1g3a2NnTUIzY2pyZWgxRHE5cU5pN0NKdFdxNHFJM3pwWVc2akh3YzBDSWtyVHVUSHF5WHQ3NlZtZ24KdzhQcmpyNFlhL0Q3eSt3VzJ0MjBwbiszTHU5bXlxa0wrM0RCRndNd0V3RUFGNVpYazhjRVhmTi9oZU1lemNDLwpoOGs3a2FVeFFJZUNoK0FpelFwcVdFN1M4QSs1U1BjRXRsUDgyS0h6dVNrZjlSZ2FCekYwbHFHd1ROQ1VweVBwCmgwZ1g0NHJ1bWRBaGFncUt3VWlTb1dVN1NKd3BZV1QyRTFSMUpqcEdoZHRPNUJFdExXVlEzYlFQdm1LZ0tOK0sKOUtEeHBIK0w0WXRKcUdpMWxRQVJBUUFCaVFJMkJCZ0JDQUFnRmlFRWNMdkdlS01KeC9QT1oxSSt5OHVCMHg1VApPc0lGQWw3K2JoWUNHd3dBQ2drUXk4dUIweDVUT3NKaXNnLytPNi9TWmVJR0hydFpJOU42Q1JtUnh4dzYyNGFyCjNQSHlMQVJWOWZZQ3BJcFgrdUtYRmpieHVvak9mMmZVUnEyTVhhaHQ2aW96VTA2K2ZXUEZHWFJHTjdBVVpjQWoKcWRIWVQvMlZrR083WlpOUjh6UEFaMEJlMXJmVm15N0kyU0ZrZVE0OEl0UDZlQjV1SkxHdXNiYTRVTkpIQ2JKTQp5bWhPRXBoTU9Vb3J1STNmQkxYWkoxM0t3SCtRQzVJcGVQZlplc2U0QzBGUzB1REpoRzZJb2ZCd1NSU2JRaTdDClppYUZ0ZDlqNWt4Y0ZSVGNpbi9mSGV0Lzh6TVovT2xmVW5mZHdJU0Fkcy9VL2xaOURSeUtFT2Q2SkF2MjIrKzQKbS81ME5jVndac0tLbjdXWHc4NDc4cS9MM0hPSGVPQXFSZ3o1WjgrVGFYSkM4bThKTkpSQklkTnJZSFlBS3N0NQpPL0x6QkFaYlplOTYxQmFhOVU2TDA3ZTMxbTk0VlA2R0tWSUhWaDh6N0tmMSs1L1I3Rzl4M0NyQWNxR0ZxSXo5Cm40MmQ0SXAzQkwyUndaSmVqK3BRRkRCdnlkTWk4bWVBWkhxbjZzdzd5ZjdYTWZ5MFFpeGlybGRtNURBcit2MDAKRVgraTBCK1JsTHI1U3ZxV2poaE9KaGtXZlRURmswMTNsOXJzVVB4TjVLeCszSUpaWHJ0aDZzUG5rVEFNczlMTAo5WUlRMHFiZUFEWGFrRjE1ZmxmSlJoTFN0MnIrOHV6N0kxRjhmL1hoU3VsVWwyUUpDVEZ6ajBKSGN0VHVnTkV6Cm5KRzNUYWxHS1JqQ2FQcGtXbjllYUQwSmxmT213cDRNVlkvNXhqYWZRbFBnMzBCN2FQTE9ZVEtxMjVFSWRrUUwKUkExYWFKalJySHZMR2xZPQo9Mll0cQotLS0tLUVORCBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tCg==
|
|
@ -0,0 +1,5 @@
|
|||
kind: stack
|
||||
depends:
|
||||
- junction: _freedesktop_sdk_source.bst
|
||||
filename: desktop-image.bst
|
||||
type: all
|
|
@ -0,0 +1,5 @@
|
|||
kind: stack
|
||||
depends:
|
||||
- junction: platforms/_freedesktop_sdk_source.bst
|
||||
filename: sdk-image.bst
|
||||
type: all
|
|
@ -0,0 +1,8 @@
|
|||
# Unique project name
|
||||
name: Marko10_000-Flatpaks
|
||||
|
||||
# Required BuildStream format version
|
||||
format-version: 18
|
||||
|
||||
# Subdirectory where elements are stored
|
||||
element-path: elements
|
|
@ -0,0 +1,240 @@
|
|||
id: "com.vscodium.codium.tool.DLang"
|
||||
build-extension: true
|
||||
branch: "21.08"
|
||||
|
||||
runtime: com.vscodium.codium
|
||||
sdk: org.freedesktop.Sdk//21.08
|
||||
runtime-version: stable
|
||||
|
||||
separate-locales: false
|
||||
build-options:
|
||||
append-path: /app/tools/DLang/bin
|
||||
env:
|
||||
- SOURCE_DATE_EPOCH=1
|
||||
prefix: /app/tools/DLang
|
||||
|
||||
modules:
|
||||
- name: gcc-d
|
||||
sources:
|
||||
- type: archive
|
||||
url: https://ftp.gnu.org/gnu/gcc/gcc-11.2.0/gcc-11.2.0.tar.gz
|
||||
sha256: f0837f1bf8244a5cc23bd96ff6366712a791cfae01df8e25b137698aca26efc1
|
||||
- type: archive
|
||||
url: https://ftp.gnu.org/gnu/gmp/gmp-6.2.1.tar.lz
|
||||
sha256: 2c7f4f0d370801b2849c48c9ef3f59553b5f1d3791d070cffb04599f9fc67b41
|
||||
dest: gmp
|
||||
- type: archive
|
||||
url: https://ftp.gnu.org/gnu/mpc/mpc-1.2.1.tar.gz
|
||||
sha256: 17503d2c395dfcf106b622dc142683c1199431d095367c6aacba6eec30340459
|
||||
dest: mpc
|
||||
- type: archive
|
||||
url: https://ftp.gnu.org/gnu/mpfr/mpfr-4.1.0.tar.gz
|
||||
sha256: 3127fe813218f3a1f0adf4e8899de23df33b4cf4b4b3831a5314f78e65ffa2d6
|
||||
dest: mpfr
|
||||
- type: shell
|
||||
commands:
|
||||
- sed -i 's|m64=../lib64|m64=../lib|' gcc/config/i386/t-linux64
|
||||
config-opts:
|
||||
- --disable-bootstrap
|
||||
- --disable-multilib
|
||||
- --enable-default-pie
|
||||
- --enable-default-ssp
|
||||
- --enable-languages=d,lto
|
||||
- --enable-libphobos-checking
|
||||
- --enable-linker-build-id
|
||||
- --enable-lto
|
||||
- --enable-nls
|
||||
- --enable-targets=all
|
||||
- --enable-threads
|
||||
- --enable-tls
|
||||
- --enable-vtable-verify
|
||||
- --without-binutils
|
||||
post-install:
|
||||
- mkdir -p /app/tools/DLang/include/dlang
|
||||
- ln -s ../../lib/gcc/x86_64-pc-linux-gnu/10.2.0/include/d /app/tools/DLang/include/dlang/gcc
|
||||
build-options:
|
||||
cflags: -Os
|
||||
cppflags: -Os
|
||||
ldflags: -Os
|
||||
cleanup:
|
||||
- /share/info
|
||||
- /share/man
|
||||
- name: gdmd
|
||||
sources:
|
||||
- type: archive
|
||||
url: https://github.com/D-Programming-GDC/gdmd/archive/script-0.1.0.tar.gz
|
||||
sha256: 6c9891b7f2e41d8b6c0e89fab3ad32fb77bb3617760b33a4c23bca49197a026b
|
||||
- type: shell
|
||||
commands:
|
||||
- sed -i 's|prefix = /usr/local|prefix = /app/tools/DLang|' Makefile
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- make install
|
||||
cleanup:
|
||||
- /share
|
||||
#- name: ldc
|
||||
# sources:
|
||||
# - type: archive
|
||||
# url: https://github.com/ldc-developers/ldc/releases/download/v1.25.1/ldc-1.25.1-src.tar.gz
|
||||
# sha256: 0e3716fe9927be91264d1fde5c41071026f6c44262735e9ebda538089b612d40
|
||||
# - type: archive
|
||||
# url: https://github.com/ldc-developers/druntime/archive/refs/tags/ldc-v1.25.1.tar.gz
|
||||
# sha256: 85e339dd778a6c23fdaceac7be4765417932ee80d127e62a4081828ee9571693
|
||||
# dest: runtime/druntime
|
||||
# - type: archive
|
||||
# url: https://github.com/ldc-developers/phobos/archive/refs/tags/ldc-v1.25.0.tar.gz
|
||||
# sha256: b32a75f0265a7e48f09aef5c798f518a5c22573d156d527893b0663b036ddb09
|
||||
# dest: runtime/phobos
|
||||
# buildsystem: cmake-ninja
|
||||
# builddir: true
|
||||
# config-opts:
|
||||
# - -DCMAKE_BUILD_TYPE=Release
|
||||
# - -DCMAKE_SKIP_RPATH=ON
|
||||
# - -DINCLUDE_INSTALL_DIR=/app/tools/DLang/include/dlang/ldc
|
||||
# - -DBUILD_SHARED_LIBS=BOTH
|
||||
# - -DBUILD_LTO_LIBS=ON
|
||||
# - -DLDC_WITH_LLD=OFF
|
||||
# build-options:
|
||||
# append-ld-library-path: /app/tools/DLang/lib
|
||||
#- name: libs-fix
|
||||
# buildsystem: simple
|
||||
# build-commands:
|
||||
# - mkdir -p /app/tools/DLang/binexec
|
||||
# - echo -e '#! /usr/bin/env bash\nLD_LIBRARY_PATH="$(realpath "$(dirname "$0")/../lib"):$LD_LIBRARY_PATH" exec "$(dirname "$0")/../binexec/{{i}}" "$@"' > template.sh
|
||||
# - for i in /app/tools/DLang/bin/*; do mv -v "$i" "$(dirname "$i")/../binexec"; cat template.sh | sed "s|{{i}}|$(basename "$i")|" > $i; chmod +x "$i"; done
|
||||
- name: rsync
|
||||
sources:
|
||||
- type: archive
|
||||
url: https://github.com/WayneD/rsync/archive/v3.2.3.tar.gz
|
||||
sha256: 3127c93d7081db075d1057a44b0bd68ff37f297ba9fe2554043c3e4481ae5056
|
||||
config-opts:
|
||||
- --disable-debug
|
||||
- --disable-md2man
|
||||
- --disable-xxhash
|
||||
- --disable-zstd
|
||||
- --disable-lz4
|
||||
- name: dub
|
||||
sources:
|
||||
- type: git
|
||||
url: https://github.com/dlang/dub.git
|
||||
tag: v1.27.0
|
||||
commit: 7145f2c3d8f06a64b2012113a9aa3548e1cdbe58
|
||||
- dub_deps.json
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- gdmd -ofdub -release -O -version=DubUseCurl -Isource -L-lcurl @build-files.txt
|
||||
- ./dub build -c application --combined -b release --compiler=gdc
|
||||
- find .dub/build/ -type f | grep -v '\.o' | xargs -I '{}' install -v -Dm755 '{}' /app/tools/DLang/bin
|
||||
- name: dmd
|
||||
sources:
|
||||
- type: git
|
||||
url: https://github.com/dlang/dmd.git
|
||||
tag: &DMD_VERSION
|
||||
v2.098.1
|
||||
commit: 821f82efbb2f15e03cb04c8b0057bb6df82a428b
|
||||
dest: dmd
|
||||
- type: git
|
||||
url: https://github.com/dlang/druntime.git
|
||||
tag: *DMD_VERSION
|
||||
commit: 531e2b777aa0ef083f3082659372fad3d4c487fb
|
||||
dest: druntime
|
||||
- type: git
|
||||
url: https://github.com/dlang/phobos.git
|
||||
tag: *DMD_VERSION
|
||||
commit: 0425866dcde6debcde73ce5b3e1de5be49cecc97
|
||||
dest: phobos
|
||||
- type: git
|
||||
url: https://github.com/dlang/tools.git
|
||||
tag: *DMD_VERSION
|
||||
commit: 63b3867816e13ce5f074fd4342ca240d901f4e31
|
||||
dest: tools
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
# Prepare
|
||||
- sed -i 's/.deps(\[versionFile, sysconfDirFile, lexer, backend\])/.deps(\[versionFile, sysconfDirFile\])/' dmd/src/build.d
|
||||
- sed -i 's/dmdSources.chain(lexer.targets, backend.targets)/dmdSources.chain(sources.lexer, sources.backend)/' dmd/src/build.d
|
||||
- sed -Ei 's/OVERRIDE_MEMALLOC\W+=\W*[^;]+;/OVERRIDE_MEMALLOC = false;/' dmd/src/dmd/root/rmem.d
|
||||
# Build
|
||||
- cd dmd && make -f posix.mak BUILD=release ENABLE_RELEASE=1 HOST_DMD=gdmd HOST_DMD_KIND=gdc
|
||||
- cd druntime && make -f posix.mak BUILD=release ENABLE_RELEASE=1 HOST_DMD=gdmd HOST_DMD_KIND=gdc
|
||||
- cd phobos && make -f posix.mak DMD=../dmd/generated/linux/release/*/dmd BUILD=release ENABLE_RELEASE=1
|
||||
- cd tools && make -f posix.mak all RELEASE=1 "-j$FLATPAK_BUILDER_N_JOBS"
|
||||
# Install dmd
|
||||
- mkdir -p /app/tools/DLang/etc/ /app/tools/DLang/libexec
|
||||
- install -Dm755 dmd/generated/linux/release/*/dmd /app/tools/DLang/libexec
|
||||
- install -Dm755 dmd/generated/linux/release/*/dmd.conf /app/tools/DLang/etc/
|
||||
- echo -e '#! /usr/bin/env bash\nexec "$(dirname "$0")/../libexec/dmd" "-conf=$(dirname "$0")/../etc/dmd.conf" "-L-L$(dirname "$0")/../lib/" "-I$(dirname "$0")/../include/dlang/dmd" "$@"' > /app/tools/DLang/bin/dmd
|
||||
- chmod +x /app/tools/DLang/bin/dmd
|
||||
# Install druntime
|
||||
- mkdir -p /app/tools/DLang/include/dlang/dmd
|
||||
- cp -rav druntime/import/. /app/tools/DLang/include/dlang/dmd/.
|
||||
- cp -rav druntime/generated/linux/release/*/. /app/tools/DLang/lib/.
|
||||
# Install phobos
|
||||
- cp -rav phobos/generated/linux/release/*/. /app/tools/DLang/lib/.
|
||||
- cp -rav phobos/*.d /app/tools/DLang/include/dlang/dmd/.
|
||||
- cd phobos && find std etc -type d -print | xargs -I{} mkdir -p /app/tools/DLang/include/dlang/dmd/{}
|
||||
- cd phobos && find std etc -type f -iname '*.d' -print | xargs -I{} install -Dm644 {} /app/tools/DLang/include/dlang/dmd/{}
|
||||
# Install tools
|
||||
- find tools/generated/linux/*/ ! -iname '*.o' -type f -print | xargs -I '{}' install -v -Dm755 '{}' /app/tools/DLang/bin
|
||||
- name: dub-build-ddox
|
||||
sources:
|
||||
- type: git
|
||||
url: https://github.com/rejectedsoftware/ddox.git
|
||||
tag: v0.16.17
|
||||
commit: 83bab96196596e0c060a5478ad6adc35b01058fb
|
||||
- dub_build_ddox.json
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- dub build --skip-registry=all -b release --compiler=dmd
|
||||
- find .dub/build/ -type f | grep -v '\.o' | xargs -I '{}' install -v -Dm755 '{}' /app/tools/DLang/bin
|
||||
- name: dub-build-lint
|
||||
sources:
|
||||
- type: git
|
||||
url: https://github.com/dlang-community/D-Scanner.git
|
||||
tag: v0.12.0
|
||||
commit: cdf881c10386bb9cf9115af80daa86a48e93833b
|
||||
- dub_build_lint.json
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- dub build --skip-registry=all -b release --compiler=dmd
|
||||
- find .dub/build/ -type f | grep -v '\.o' | xargs -I '{}' install -v -Dm755 '{}' /app/tools/DLang/bin
|
||||
- name: dcd-client
|
||||
sources:
|
||||
- &DCD_SERVER
|
||||
type: git
|
||||
url: https://github.com/dlang-community/DCD.git
|
||||
tag: v0.13.6
|
||||
commit: 02acaa534b9be65142aed7b202a6a8d5524abf2a
|
||||
- dcd-client_dependencies.json
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- dub build --skip-registry=all -b release -c client --compiler=dmd
|
||||
- find .dub/build/ -type f | grep -v '\.o' | xargs -I '{}' install -v -Dm755 '{}' /app/tools/DLang/bin
|
||||
- name: dcd-server
|
||||
sources:
|
||||
- *DCD_SERVER
|
||||
- dcd-server_dependencies.json
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- dub build --skip-registry=all -b release -c server --compiler=dmd
|
||||
- find .dub/build/ -type f | grep -v '\.o' | xargs -I '{}' install -v -Dm755 '{}' /app/tools/DLang/bin
|
||||
- name: serve-d
|
||||
sources:
|
||||
- type: git
|
||||
url: https://github.com/Pure-D/serve-d.git
|
||||
tag: v0.7.4
|
||||
commit: e1fcbb82874e2329f15e29a4340b71c0d879e36f
|
||||
- serve-d.json
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- dub build --skip-registry=all -b release --compiler=dmd -c executable
|
||||
- find .dub/build/ -type f | grep -v '\.o' | xargs -I '{}' install -v -Dm755 '{}' /app/tools/DLang/bin
|
||||
- name: finalize
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- cd /app/tools/DLang && mv bin bin_ && mkdir bin && cp -ra bin_/. bin/. && rm -rf bin_
|
||||
- find /app/tools/DLang/bin -type f -exec strip \{\} \;
|
||||
- mv /app/tools/DLang/lib /app/tools/DLang/lib_ && mkdir -p /app/tools/DLang/lib && cp -ra /app/tools/DLang/lib_/. /app/tools/DLang/lib/. && rm -rf /app/tools/DLang/lib_
|
||||
- find /app/tools/DLang/lib -type f -iname '*.so' -exec strip \{\} \;
|
||||
- mv /app/tools/DLang/libexec /app/tools/DLang/libexec_ && mkdir -p /app/tools/DLang/libexec && cp -ra /app/tools/DLang/libexec_/. /app/tools/DLang/libexec/. && rm -rf /app/tools/DLang/libexec_
|
||||
- find /app/tools/DLang/libexec -type f -exec strip \{\} \;
|
|
@ -0,0 +1,44 @@
|
|||
[
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://code.dlang.org/packages/dsymbol/0.11.3.zip",
|
||||
"sha256": "67bb676eff8c88bd5c5f0a397c5959719314d8048b46832a852731181682963a",
|
||||
"dest": ".flatpak-dub/dsymbol-0.11.3"
|
||||
},
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://code.dlang.org/packages/emsi_containers/0.8.1.zip",
|
||||
"sha256": "0d75849a7209cb4b4c1ac466813a620ac0be0576cc69e0ac1b25098a16c65756",
|
||||
"dest": ".flatpak-dub/emsi_containers-0.8.1"
|
||||
},
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://code.dlang.org/packages/libdparse/0.15.4.zip",
|
||||
"sha256": "a58cd29600fa4bfd8e568816a95ed8156889fa2220309f8ed59a17da8d06f8af",
|
||||
"dest": ".flatpak-dub/libdparse-0.15.4"
|
||||
},
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://code.dlang.org/packages/msgpack-d/1.0.1.zip",
|
||||
"sha256": "ad0038a7c51fbe6088eb48ddaeca865a056f1d6aeb3cad810549dbea8f31dbac",
|
||||
"dest": ".flatpak-dub/msgpack-d-1.0.1"
|
||||
},
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://code.dlang.org/packages/stdx-allocator/2.77.5.zip",
|
||||
"sha256": "52cdd388b83f5a78fb9b57c176500cf0b828fc91c82b09b2f2522792b94003bd",
|
||||
"dest": ".flatpak-dub/stdx-allocator-2.77.5"
|
||||
},
|
||||
{
|
||||
"type": "file",
|
||||
"url": "data:%5B%7B%22name%22%3A%20%22dsymbol%22%2C%20%22version%22%3A%20%220.11.3%22%2C%20%22path%22%3A%20%22%40builddir%40/.flatpak-dub/dsymbol-0.11.3%22%7D%2C%20%7B%22name%22%3A%20%22emsi_containers%22%2C%20%22version%22%3A%20%220.8.1%22%2C%20%22path%22%3A%20%22%40builddir%40/.flatpak-dub/emsi_containers-0.8.1%22%7D%2C%20%7B%22name%22%3A%20%22libdparse%22%2C%20%22version%22%3A%20%220.15.4%22%2C%20%22path%22%3A%20%22%40builddir%40/.flatpak-dub/libdparse-0.15.4%22%7D%2C%20%7B%22name%22%3A%20%22msgpack-d%22%2C%20%22version%22%3A%20%221.0.1%22%2C%20%22path%22%3A%20%22%40builddir%40/.flatpak-dub/msgpack-d-1.0.1%22%7D%2C%20%7B%22name%22%3A%20%22stdx-allocator%22%2C%20%22version%22%3A%20%222.77.5%22%2C%20%22path%22%3A%20%22%40builddir%40/.flatpak-dub/stdx-allocator-2.77.5%22%7D%5D",
|
||||
"dest": ".dub/packages",
|
||||
"dest-filename": "local-packages.json"
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"commands": [
|
||||
"sed \"s|@builddir@|$(pwd)|g\" -i .dub/packages/local-packages.json"
|
||||
]
|
||||
}
|
||||
]
|
|
@ -0,0 +1,44 @@
|
|||
[
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://code.dlang.org/packages/dsymbol/0.11.3.zip",
|
||||
"sha256": "67bb676eff8c88bd5c5f0a397c5959719314d8048b46832a852731181682963a",
|
||||
"dest": ".flatpak-dub/dsymbol-0.11.3"
|
||||
},
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://code.dlang.org/packages/emsi_containers/0.8.1.zip",
|
||||
"sha256": "0d75849a7209cb4b4c1ac466813a620ac0be0576cc69e0ac1b25098a16c65756",
|
||||
"dest": ".flatpak-dub/emsi_containers-0.8.1"
|
||||
},
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://code.dlang.org/packages/libdparse/0.15.4.zip",
|
||||
"sha256": "a58cd29600fa4bfd8e568816a95ed8156889fa2220309f8ed59a17da8d06f8af",
|
||||
"dest": ".flatpak-dub/libdparse-0.15.4"
|
||||
},
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://code.dlang.org/packages/msgpack-d/1.0.1.zip",
|
||||
"sha256": "ad0038a7c51fbe6088eb48ddaeca865a056f1d6aeb3cad810549dbea8f31dbac",
|
||||
"dest": ".flatpak-dub/msgpack-d-1.0.1"
|
||||
},
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://code.dlang.org/packages/stdx-allocator/2.77.5.zip",
|
||||
"sha256": "52cdd388b83f5a78fb9b57c176500cf0b828fc91c82b09b2f2522792b94003bd",
|
||||
"dest": ".flatpak-dub/stdx-allocator-2.77.5"
|
||||
},
|
||||
{
|
||||
"type": "file",
|
||||
"url": "data:%5B%7B%22name%22%3A%20%22dsymbol%22%2C%20%22version%22%3A%20%220.11.3%22%2C%20%22path%22%3A%20%22%40builddir%40/.flatpak-dub/dsymbol-0.11.3%22%7D%2C%20%7B%22name%22%3A%20%22emsi_containers%22%2C%20%22version%22%3A%20%220.8.1%22%2C%20%22path%22%3A%20%22%40builddir%40/.flatpak-dub/emsi_containers-0.8.1%22%7D%2C%20%7B%22name%22%3A%20%22libdparse%22%2C%20%22version%22%3A%20%220.15.4%22%2C%20%22path%22%3A%20%22%40builddir%40/.flatpak-dub/libdparse-0.15.4%22%7D%2C%20%7B%22name%22%3A%20%22msgpack-d%22%2C%20%22version%22%3A%20%221.0.1%22%2C%20%22path%22%3A%20%22%40builddir%40/.flatpak-dub/msgpack-d-1.0.1%22%7D%2C%20%7B%22name%22%3A%20%22stdx-allocator%22%2C%20%22version%22%3A%20%222.77.5%22%2C%20%22path%22%3A%20%22%40builddir%40/.flatpak-dub/stdx-allocator-2.77.5%22%7D%5D",
|
||||
"dest": ".dub/packages",
|
||||
"dest-filename": "local-packages.json"
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"commands": [
|
||||
"sed \"s|@builddir@|$(pwd)|g\" -i .dub/packages/local-packages.json"
|
||||
]
|
||||
}
|
||||
]
|
|
@ -0,0 +1,104 @@
|
|||
[
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://code.dlang.org/packages/botan/1.12.18.zip",
|
||||
"sha256": "4f76acf1a69b48053345dab72f6802b7b5f593b4bc4b6418b7e6d1259d23ce7a",
|
||||
"dest": ".flatpak-dub/botan-1.12.18"
|
||||
},
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://code.dlang.org/packages/botan-math/1.0.3.zip",
|
||||
"sha256": "6b616b37e8c2ab8edfe8d05afd944208ce383f906f05414144a23fde6ffa5cf3",
|
||||
"dest": ".flatpak-dub/botan-math-1.0.3"
|
||||
},
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://code.dlang.org/packages/diet-ng/1.7.4.zip",
|
||||
"sha256": "e5d9358e0e62104de900ebadb6db331f0ca94183f7c5fffa18b43de4e0b880e0",
|
||||
"dest": ".flatpak-dub/diet-ng-1.7.4"
|
||||
},
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://code.dlang.org/packages/eventcore/0.9.9.zip",
|
||||
"sha256": "47ce73295780a63b63cd5a3b345688b56dafe7f37f376bf25c41539de25e5057",
|
||||
"dest": ".flatpak-dub/eventcore-0.9.9"
|
||||
},
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://code.dlang.org/packages/hyphenate/1.1.2.zip",
|
||||
"sha256": "1d83bc83c500a99044e70e7753c64409c08e1f53326f037b9ca8435f1c334fd9",
|
||||
"dest": ".flatpak-dub/hyphenate-1.1.2"
|
||||
},
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://code.dlang.org/packages/libasync/0.8.6.zip",
|
||||
"sha256": "d252de5e65711103e61f2fcfef796daeba762c2e429de327f28bb1e6b42a1342",
|
||||
"dest": ".flatpak-dub/libasync-0.8.6"
|
||||
},
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://code.dlang.org/packages/libdparse/0.15.4.zip",
|
||||
"sha256": "a58cd29600fa4bfd8e568816a95ed8156889fa2220309f8ed59a17da8d06f8af",
|
||||
"dest": ".flatpak-dub/libdparse-0.15.4"
|
||||
},
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://code.dlang.org/packages/libevent/2.0.2+2.0.16.zip",
|
||||
"sha256": "1ab728054dc7ac796d21ec1c36b1279730c0c818582331ba037445c4fc758998",
|
||||
"dest": ".flatpak-dub/libevent-2.0.2+2.0.16"
|
||||
},
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://code.dlang.org/packages/memutils/1.0.4.zip",
|
||||
"sha256": "e6d015cd9a548ca6ce0f2d51e99c68b796ee7773e1a69a5a865d501194d3e782",
|
||||
"dest": ".flatpak-dub/memutils-1.0.4"
|
||||
},
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://code.dlang.org/packages/mir-linux-kernel/1.0.1.zip",
|
||||
"sha256": "c662ed1df5f8da1371cc6cdea110a8b9eec5e5cd39dbe62321bf98f6d895be29",
|
||||
"dest": ".flatpak-dub/mir-linux-kernel-1.0.1"
|
||||
},
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://code.dlang.org/packages/openssl/1.1.6+1.0.1g.zip",
|
||||
"sha256": "5ca196fb89f95a5c31167e4f5e518fda8177b3e87f5995ced4356a751286a34e",
|
||||
"dest": ".flatpak-dub/openssl-1.1.6+1.0.1g"
|
||||
},
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://code.dlang.org/packages/stdx-allocator/2.77.5.zip",
|
||||
"sha256": "52cdd388b83f5a78fb9b57c176500cf0b828fc91c82b09b2f2522792b94003bd",
|
||||
"dest": ".flatpak-dub/stdx-allocator-2.77.5"
|
||||
},
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://code.dlang.org/packages/taggedalgebraic/0.11.17.zip",
|
||||
"sha256": "363a1489139bf91a22518743bd1f9e86548544a8a1e200781e96c13d8337e735",
|
||||
"dest": ".flatpak-dub/taggedalgebraic-0.11.17"
|
||||
},
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://code.dlang.org/packages/vibe-core/1.10.1.zip",
|
||||
"sha256": "33eae9c507394375d2f12c46a0c93c1dbae01f7f1c6805dc576530dc77f3dd83",
|
||||
"dest": ".flatpak-dub/vibe-core-1.10.1"
|
||||
},
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://code.dlang.org/packages/vibe-d/0.9.2.zip",
|
||||
"sha256": "c2071da4cb477957993da08791a5a48eb8db66e09282256a8cc06b653a5b2723",
|
||||
"dest": ".flatpak-dub/vibe-d-0.9.2"
|
||||
},
|
||||
{
|
||||
"type": "file",
|
||||
"url": "data:%5B%7B%22name%22%3A%20%22botan%22%2C%20%22version%22%3A%20%221.12.18%22%2C%20%22path%22%3A%20%22%40builddir%40/.flatpak-dub/botan-1.12.18%22%7D%2C%20%7B%22name%22%3A%20%22botan-math%22%2C%20%22version%22%3A%20%221.0.3%22%2C%20%22path%22%3A%20%22%40builddir%40/.flatpak-dub/botan-math-1.0.3%22%7D%2C%20%7B%22name%22%3A%20%22diet-ng%22%2C%20%22version%22%3A%20%221.7.4%22%2C%20%22path%22%3A%20%22%40builddir%40/.flatpak-dub/diet-ng-1.7.4%22%7D%2C%20%7B%22name%22%3A%20%22eventcore%22%2C%20%22version%22%3A%20%220.9.9%22%2C%20%22path%22%3A%20%22%40builddir%40/.flatpak-dub/eventcore-0.9.9%22%7D%2C%20%7B%22name%22%3A%20%22hyphenate%22%2C%20%22version%22%3A%20%221.1.2%22%2C%20%22path%22%3A%20%22%40builddir%40/.flatpak-dub/hyphenate-1.1.2%22%7D%2C%20%7B%22name%22%3A%20%22libasync%22%2C%20%22version%22%3A%20%220.8.6%22%2C%20%22path%22%3A%20%22%40builddir%40/.flatpak-dub/libasync-0.8.6%22%7D%2C%20%7B%22name%22%3A%20%22libdparse%22%2C%20%22version%22%3A%20%220.15.4%22%2C%20%22path%22%3A%20%22%40builddir%40/.flatpak-dub/libdparse-0.15.4%22%7D%2C%20%7B%22name%22%3A%20%22libevent%22%2C%20%22version%22%3A%20%222.0.2%2B2.0.16%22%2C%20%22path%22%3A%20%22%40builddir%40/.flatpak-dub/libevent-2.0.2%2B2.0.16%22%7D%2C%20%7B%22name%22%3A%20%22memutils%22%2C%20%22version%22%3A%20%221.0.4%22%2C%20%22path%22%3A%20%22%40builddir%40/.flatpak-dub/memutils-1.0.4%22%7D%2C%20%7B%22name%22%3A%20%22mir-linux-kernel%22%2C%20%22version%22%3A%20%221.0.1%22%2C%20%22path%22%3A%20%22%40builddir%40/.flatpak-dub/mir-linux-kernel-1.0.1%22%7D%2C%20%7B%22name%22%3A%20%22openssl%22%2C%20%22version%22%3A%20%221.1.6%2B1.0.1g%22%2C%20%22path%22%3A%20%22%40builddir%40/.flatpak-dub/openssl-1.1.6%2B1.0.1g%22%7D%2C%20%7B%22name%22%3A%20%22stdx-allocator%22%2C%20%22version%22%3A%20%222.77.5%22%2C%20%22path%22%3A%20%22%40builddir%40/.flatpak-dub/stdx-allocator-2.77.5%22%7D%2C%20%7B%22name%22%3A%20%22taggedalgebraic%22%2C%20%22version%22%3A%20%220.11.17%22%2C%20%22path%22%3A%20%22%40builddir%40/.flatpak-dub/taggedalgebraic-0.11.17%22%7D%2C%20%7B%22name%22%3A%20%22vibe-core%22%2C%20%22version%22%3A%20%221.10.1%22%2C%20%22path%22%3A%20%22%40builddir%40/.flatpak-dub/vibe-core-1.10.1%22%7D%2C%20%7B%22name%22%3A%20%22vibe-d%22%2C%20%22version%22%3A%20%220.9.2%22%2C%20%22path%22%3A%20%22%40builddir%40/.flatpak-dub/vibe-d-0.9.2%22%7D%5D",
|
||||
"dest": ".dub/packages",
|
||||
"dest-filename": "local-packages.json"
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"commands": [
|
||||
"sed \"s|@builddir@|$(pwd)|g\" -i .dub/packages/local-packages.json"
|
||||
]
|
||||
}
|
||||
]
|
|
@ -0,0 +1,50 @@
|
|||
[
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://code.dlang.org/packages/dsymbol/0.13.0.zip",
|
||||
"sha256": "916d8c3194df51252bfd7c04366dd2ab7139018841820c87deaaec25626efcd2",
|
||||
"dest": ".flatpak-dub/dsymbol-0.13.0"
|
||||
},
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://code.dlang.org/packages/emsi_containers/0.8.1.zip",
|
||||
"sha256": "0d75849a7209cb4b4c1ac466813a620ac0be0576cc69e0ac1b25098a16c65756",
|
||||
"dest": ".flatpak-dub/emsi_containers-0.8.1"
|
||||
},
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://code.dlang.org/packages/inifiled/1.3.3.zip",
|
||||
"sha256": "cdbc46d05729bd3a8574fd43fcecbe8592f2b812d816b94daf7c1b9b16051c06",
|
||||
"dest": ".flatpak-dub/inifiled-1.3.3"
|
||||
},
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://code.dlang.org/packages/libddoc/0.8.0.zip",
|
||||
"sha256": "4c4ffee4f47bd6af8f94702a6e3487b8ad00ffb4edaaadc1cf33f72c529bb06f",
|
||||
"dest": ".flatpak-dub/libddoc-0.8.0"
|
||||
},
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://code.dlang.org/packages/libdparse/0.19.0.zip",
|
||||
"sha256": "fee50241c12c6b150dc04b0ac31fbfd321cb48541b5bd1c31fd31d974c9c54ff",
|
||||
"dest": ".flatpak-dub/libdparse-0.19.0"
|
||||
},
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://code.dlang.org/packages/stdx-allocator/2.77.5.zip",
|
||||
"sha256": "52cdd388b83f5a78fb9b57c176500cf0b828fc91c82b09b2f2522792b94003bd",
|
||||
"dest": ".flatpak-dub/stdx-allocator-2.77.5"
|
||||
},
|
||||
{
|
||||
"type": "file",
|
||||
"url": "data:%5B%7B%22name%22%3A%20%22dsymbol%22%2C%20%22version%22%3A%20%220.13.0%22%2C%20%22path%22%3A%20%22%40builddir%40/.flatpak-dub/dsymbol-0.13.0%22%7D%2C%20%7B%22name%22%3A%20%22emsi_containers%22%2C%20%22version%22%3A%20%220.8.1%22%2C%20%22path%22%3A%20%22%40builddir%40/.flatpak-dub/emsi_containers-0.8.1%22%7D%2C%20%7B%22name%22%3A%20%22inifiled%22%2C%20%22version%22%3A%20%221.3.3%22%2C%20%22path%22%3A%20%22%40builddir%40/.flatpak-dub/inifiled-1.3.3%22%7D%2C%20%7B%22name%22%3A%20%22libddoc%22%2C%20%22version%22%3A%20%220.8.0%22%2C%20%22path%22%3A%20%22%40builddir%40/.flatpak-dub/libddoc-0.8.0%22%7D%2C%20%7B%22name%22%3A%20%22libdparse%22%2C%20%22version%22%3A%20%220.19.0%22%2C%20%22path%22%3A%20%22%40builddir%40/.flatpak-dub/libdparse-0.19.0%22%7D%2C%20%7B%22name%22%3A%20%22stdx-allocator%22%2C%20%22version%22%3A%20%222.77.5%22%2C%20%22path%22%3A%20%22%40builddir%40/.flatpak-dub/stdx-allocator-2.77.5%22%7D%5D",
|
||||
"dest": ".dub/packages",
|
||||
"dest-filename": "local-packages.json"
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"commands": [
|
||||
"sed \"s|@builddir@|$(pwd)|g\" -i .dub/packages/local-packages.json"
|
||||
]
|
||||
}
|
||||
]
|
|
@ -0,0 +1,98 @@
|
|||
[
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://code.dlang.org/packages/botan/1.12.18.zip",
|
||||
"sha256": "4f76acf1a69b48053345dab72f6802b7b5f593b4bc4b6418b7e6d1259d23ce7a",
|
||||
"dest": ".flatpak-dub/botan-1.12.18"
|
||||
},
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://code.dlang.org/packages/botan-math/1.0.3.zip",
|
||||
"sha256": "6b616b37e8c2ab8edfe8d05afd944208ce383f906f05414144a23fde6ffa5cf3",
|
||||
"dest": ".flatpak-dub/botan-math-1.0.3"
|
||||
},
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://code.dlang.org/packages/diet-ng/1.7.3.zip",
|
||||
"sha256": "5f38891598e942c13e1722522ddc8f4a36e6a16f3fbc62d00f56cb5828fc4c93",
|
||||
"dest": ".flatpak-dub/diet-ng-1.7.3"
|
||||
},
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://code.dlang.org/packages/eventcore/0.9.9.zip",
|
||||
"sha256": "47ce73295780a63b63cd5a3b345688b56dafe7f37f376bf25c41539de25e5057",
|
||||
"dest": ".flatpak-dub/eventcore-0.9.9"
|
||||
},
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://code.dlang.org/packages/libasync/0.8.6.zip",
|
||||
"sha256": "d252de5e65711103e61f2fcfef796daeba762c2e429de327f28bb1e6b42a1342",
|
||||
"dest": ".flatpak-dub/libasync-0.8.6"
|
||||
},
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://code.dlang.org/packages/libev/5.0.0+4.04.zip",
|
||||
"sha256": "fb4432adae5e59efa25ed45f9a71488355f96fcc38eb47df5dac9881d7c36476",
|
||||
"dest": ".flatpak-dub/libev-5.0.0+4.04"
|
||||
},
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://code.dlang.org/packages/libevent/2.0.2+2.0.16.zip",
|
||||
"sha256": "1ab728054dc7ac796d21ec1c36b1279730c0c818582331ba037445c4fc758998",
|
||||
"dest": ".flatpak-dub/libevent-2.0.2+2.0.16"
|
||||
},
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://code.dlang.org/packages/memutils/1.0.4.zip",
|
||||
"sha256": "e6d015cd9a548ca6ce0f2d51e99c68b796ee7773e1a69a5a865d501194d3e782",
|
||||
"dest": ".flatpak-dub/memutils-1.0.4"
|
||||
},
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://code.dlang.org/packages/mir-linux-kernel/1.0.1.zip",
|
||||
"sha256": "c662ed1df5f8da1371cc6cdea110a8b9eec5e5cd39dbe62321bf98f6d895be29",
|
||||
"dest": ".flatpak-dub/mir-linux-kernel-1.0.1"
|
||||
},
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://code.dlang.org/packages/openssl/1.1.6+1.0.1g.zip",
|
||||
"sha256": "5ca196fb89f95a5c31167e4f5e518fda8177b3e87f5995ced4356a751286a34e",
|
||||
"dest": ".flatpak-dub/openssl-1.1.6+1.0.1g"
|
||||
},
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://code.dlang.org/packages/stdx-allocator/2.77.5.zip",
|
||||
"sha256": "52cdd388b83f5a78fb9b57c176500cf0b828fc91c82b09b2f2522792b94003bd",
|
||||
"dest": ".flatpak-dub/stdx-allocator-2.77.5"
|
||||
},
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://code.dlang.org/packages/taggedalgebraic/0.11.17.zip",
|
||||
"sha256": "363a1489139bf91a22518743bd1f9e86548544a8a1e200781e96c13d8337e735",
|
||||
"dest": ".flatpak-dub/taggedalgebraic-0.11.17"
|
||||
},
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://code.dlang.org/packages/vibe-core/1.10.1.zip",
|
||||
"sha256": "33eae9c507394375d2f12c46a0c93c1dbae01f7f1c6805dc576530dc77f3dd83",
|
||||
"dest": ".flatpak-dub/vibe-core-1.10.1"
|
||||
},
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://code.dlang.org/packages/vibe-d/0.9.2.zip",
|
||||
"sha256": "c2071da4cb477957993da08791a5a48eb8db66e09282256a8cc06b653a5b2723",
|
||||
"dest": ".flatpak-dub/vibe-d-0.9.2"
|
||||
},
|
||||
{
|
||||
"type": "file",
|
||||
"url": "data:%5B%7B%22name%22%3A%20%22botan%22%2C%20%22version%22%3A%20%221.12.18%22%2C%20%22path%22%3A%20%22%40builddir%40/.flatpak-dub/botan-1.12.18%22%7D%2C%20%7B%22name%22%3A%20%22botan-math%22%2C%20%22version%22%3A%20%221.0.3%22%2C%20%22path%22%3A%20%22%40builddir%40/.flatpak-dub/botan-math-1.0.3%22%7D%2C%20%7B%22name%22%3A%20%22diet-ng%22%2C%20%22version%22%3A%20%221.7.3%22%2C%20%22path%22%3A%20%22%40builddir%40/.flatpak-dub/diet-ng-1.7.3%22%7D%2C%20%7B%22name%22%3A%20%22eventcore%22%2C%20%22version%22%3A%20%220.9.9%22%2C%20%22path%22%3A%20%22%40builddir%40/.flatpak-dub/eventcore-0.9.9%22%7D%2C%20%7B%22name%22%3A%20%22libasync%22%2C%20%22version%22%3A%20%220.8.6%22%2C%20%22path%22%3A%20%22%40builddir%40/.flatpak-dub/libasync-0.8.6%22%7D%2C%20%7B%22name%22%3A%20%22libev%22%2C%20%22version%22%3A%20%225.0.0%2B4.04%22%2C%20%22path%22%3A%20%22%40builddir%40/.flatpak-dub/libev-5.0.0%2B4.04%22%7D%2C%20%7B%22name%22%3A%20%22libevent%22%2C%20%22version%22%3A%20%222.0.2%2B2.0.16%22%2C%20%22path%22%3A%20%22%40builddir%40/.flatpak-dub/libevent-2.0.2%2B2.0.16%22%7D%2C%20%7B%22name%22%3A%20%22memutils%22%2C%20%22version%22%3A%20%221.0.4%22%2C%20%22path%22%3A%20%22%40builddir%40/.flatpak-dub/memutils-1.0.4%22%7D%2C%20%7B%22name%22%3A%20%22mir-linux-kernel%22%2C%20%22version%22%3A%20%221.0.1%22%2C%20%22path%22%3A%20%22%40builddir%40/.flatpak-dub/mir-linux-kernel-1.0.1%22%7D%2C%20%7B%22name%22%3A%20%22openssl%22%2C%20%22version%22%3A%20%221.1.6%2B1.0.1g%22%2C%20%22path%22%3A%20%22%40builddir%40/.flatpak-dub/openssl-1.1.6%2B1.0.1g%22%7D%2C%20%7B%22name%22%3A%20%22stdx-allocator%22%2C%20%22version%22%3A%20%222.77.5%22%2C%20%22path%22%3A%20%22%40builddir%40/.flatpak-dub/stdx-allocator-2.77.5%22%7D%2C%20%7B%22name%22%3A%20%22taggedalgebraic%22%2C%20%22version%22%3A%20%220.11.17%22%2C%20%22path%22%3A%20%22%40builddir%40/.flatpak-dub/taggedalgebraic-0.11.17%22%7D%2C%20%7B%22name%22%3A%20%22vibe-core%22%2C%20%22version%22%3A%20%221.10.1%22%2C%20%22path%22%3A%20%22%40builddir%40/.flatpak-dub/vibe-core-1.10.1%22%7D%2C%20%7B%22name%22%3A%20%22vibe-d%22%2C%20%22version%22%3A%20%220.9.2%22%2C%20%22path%22%3A%20%22%40builddir%40/.flatpak-dub/vibe-d-0.9.2%22%7D%5D",
|
||||
"dest": ".dub/packages",
|
||||
"dest-filename": "local-packages.json"
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"commands": [
|
||||
"sed \"s|@builddir@|$(pwd)|g\" -i .dub/packages/local-packages.json"
|
||||
]
|
||||
}
|
||||
]
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,35 @@
|
|||
id: "com.vscodium.codium.tool.DevEmbedded"
|
||||
build-extension: true
|
||||
branch: "20.08"
|
||||
|
||||
runtime: com.vscodium.codium
|
||||
sdk: org.freedesktop.Sdk//20.08
|
||||
runtime-version: stable
|
||||
|
||||
separate-locales: false
|
||||
build-options:
|
||||
prefix: /app/tools/DevEmbedded
|
||||
env:
|
||||
- SOURCE_DATE_EPOCH=1
|
||||
|
||||
modules:
|
||||
- name: gdb
|
||||
sources:
|
||||
- type: archive
|
||||
url: https://ftp.gnu.org/gnu/gdb/gdb-10.2.tar.xz
|
||||
sha256: aaa1223d534c9b700a8bec952d9748ee1977513f178727e1bee520ee000b4f29
|
||||
config-opts:
|
||||
- --enable-targets=all
|
||||
- --enable-languages=all
|
||||
- --enable-multilib
|
||||
- --enable-interwork
|
||||
- --with-system-readline
|
||||
- --with-python=/usr/bin/python
|
||||
builddir: true
|
||||
build-options:
|
||||
cflags: -O3
|
||||
cppflags: -O3
|
||||
ldflags: -O3
|
||||
post-install:
|
||||
- cd /app/tools/DevEmbedded && mv bin bin_ && cp -ra bin_ bin && rm -rf bin_ && find bin -type f -print | ( xargs -I{} strip '{}' || true )
|
||||
- cd /app/tools/DevEmbedded && mv lib lib_ && cp -ra lib_ lib && rm -rf lib_ && find lib -type f -print | ( xargs -I{} strip '{}' || true )
|
|
@ -0,0 +1,59 @@
|
|||
id: "com.vscodium.codium.tool.LLVM"
|
||||
build-extension: true
|
||||
branch: "21.08"
|
||||
|
||||
runtime: com.vscodium.codium
|
||||
sdk: org.freedesktop.Sdk//21.08
|
||||
runtime-version: stable
|
||||
|
||||
separate-locales: false
|
||||
build-options:
|
||||
prefix: /app/tools/LLVM
|
||||
env:
|
||||
- SOURCE_DATE_EPOCH=1
|
||||
|
||||
modules:
|
||||
- name: llvm
|
||||
sources: &LLVM
|
||||
- type: archive
|
||||
url: https://github.com/llvm/llvm-project/archive/refs/tags/llvmorg-13.0.0.tar.gz
|
||||
sha256: a1131358f1f9f819df73fa6bff505f2c49d176e9eef0a3aedd1fdbce3b4630e8
|
||||
buildsystem: cmake-ninja
|
||||
builddir: true
|
||||
subdir: llvm
|
||||
config-opts:
|
||||
- -DCMAKE_BUILD_TYPE=MinSizeRel
|
||||
- -DCMAKE_INSTALL_PREFIX=/app/tools/LLVM/tmp
|
||||
- -DLLVM_ENABLE_PROJECTS="clang;clang;libcxx;libcxxabi;lld;lldb"
|
||||
- -DLLVM_BUILD_LLVM_DYLIB=ON
|
||||
- -DLLVM_LINK_LLVM_DYLIB=ON
|
||||
- -DLLVM_INSTALL_UTILS=ON
|
||||
- -DLLVM_ENABLE_RTTI=ON
|
||||
- -DLLVM_ENABLE_FFI=ON
|
||||
- -DLLVM_BINUTILS_INCDIR=/usr/include
|
||||
post-install:
|
||||
- find /app/tools/LLVM/tmp -type f | xargs -I{} strip -g {} || true
|
||||
cleanup:
|
||||
- "*"
|
||||
- name: llvm2
|
||||
sources: *LLVM
|
||||
buildsystem: cmake-ninja
|
||||
builddir: true
|
||||
subdir: llvm
|
||||
config-opts:
|
||||
- -DCMAKE_BUILD_TYPE=MinSizeRel
|
||||
- -DCMAKE_INSTALL_PREFIX=/app/tools/LLVM
|
||||
- -DLLVM_ENABLE_PROJECTS="clang;clang;clang-tools-extra;compiler-rt;flang;libc;libclc;libcxx;libcxxabi;libunwind;lld;lldb;mlir;openmp;parallel-libs;polly;pstl"
|
||||
- -DLLVM_BUILD_LLVM_DYLIB=ON
|
||||
- -DLLVM_LINK_LLVM_DYLIB=ON
|
||||
- -DLLVM_INSTALL_UTILS=ON
|
||||
- -DLLVM_ENABLE_RTTI=ON
|
||||
- -DLLVM_ENABLE_FFI=ON
|
||||
- -DLLVM_BINUTILS_INCDIR=/usr/include
|
||||
build-options:
|
||||
env:
|
||||
CC: /app/tools/LLVM/tmp/bin/clang
|
||||
CXX: /app/tools/LLVM/tmp/bin/clang++
|
||||
LD: /app/tools/LLVM/tmp/bin/clang
|
||||
post-install:
|
||||
- find /app/tools/LLVM/bin /app/tools/LLVM/lib -type f | xargs -I{} strip -g {} || true
|
|
@ -0,0 +1,77 @@
|
|||
id: "com.vscodium.codium.tool.NPM"
|
||||
build-extension: true
|
||||
branch: "21.08"
|
||||
|
||||
runtime: com.vscodium.codium
|
||||
sdk: org.freedesktop.Sdk//21.08
|
||||
runtime-version: stable
|
||||
|
||||
separate-locales: false
|
||||
build-options:
|
||||
append-ld-library-path: /app/tools/NPM/lib
|
||||
append-path: /app/tools/NPM/bin
|
||||
append-pkg-config-path: /app/tools/NPM/lib/pkgconfig
|
||||
env:
|
||||
- SOURCE_DATE_EPOCH=1
|
||||
prefix: /app/tools/NPM
|
||||
|
||||
modules:
|
||||
- name: libuv
|
||||
sources:
|
||||
- type: git
|
||||
url: https://github.com/libuv/libuv.git
|
||||
tag: v1.43.0
|
||||
commit: 988f2bfc4defb9a85a536a3e645834c161143ee0
|
||||
build-options:
|
||||
cflags: -flto -Os
|
||||
cxxflags: -flto -Os
|
||||
ldflags: -flto -Os
|
||||
- name: libnghttp2
|
||||
sources:
|
||||
- type: git
|
||||
url: https://github.com/nghttp2/nghttp2.git
|
||||
tag: v1.47.0
|
||||
commit: d9f580c3cb419e77474da507eef20f1c81ecff32
|
||||
buildsystem: cmake-ninja
|
||||
config-opts:
|
||||
- -DENABLE_PYTHON_BINDINGS=OFF
|
||||
build-options:
|
||||
cflags: -flto -Os
|
||||
cxxflags: -flto -Os
|
||||
ldflags: -flto -Os
|
||||
- name: node
|
||||
sources:
|
||||
- type: git
|
||||
url: https://github.com/nodejs/node.git
|
||||
tag: v16.14.0
|
||||
commit: 418ff70b810f0e7112d48baaa72932a56cfa213b
|
||||
- type: shell
|
||||
commands:
|
||||
- sed -i 's/crsT/crs/g' deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py tools/gyp/pylib/gyp/generator/make.py
|
||||
config-opts:
|
||||
- --enable-lto
|
||||
- --enable-pgo-generate
|
||||
- --gdb
|
||||
- --no-cross-compiling
|
||||
- --shared-brotli
|
||||
- --shared-libuv
|
||||
- --shared-nghttp2
|
||||
- --shared-openssl
|
||||
- --shared-zlib
|
||||
#build-options:
|
||||
# cflags: -flto -Os
|
||||
# cxxflags: -flto -Os
|
||||
# ldflags: -flto -Os
|
||||
- name: yarn
|
||||
sources:
|
||||
- type: file
|
||||
url: https://github.com/yarnpkg/yarn/releases/download/v1.22.17/yarn-1.22.17.js
|
||||
sha256: 0a7a650c99f34c58cca1aaa82c25424d5383c29db30678450159b035107aea69
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- install -Dm755 yarn-* /app/tools/NPM/bin/yarn
|
||||
- name: finish
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- find /app/tools/NPM/bin -type f | xargs -I{} bash -c 'mv "$0" "$0_" && cp -a "$0_" "$0" && rm "$0_" && strip --strip-unneeded "$0" || true' {}
|
||||
- find /app/tools/NPM/lib -maxdepth 0 -type f | xargs -I{} bash -c 'mv "$0" "$0_" && cp -a "$0_" "$0" && rm "$0_" && strip --strip-unneeded "$0" || true' {}
|
|
@ -0,0 +1,63 @@
|
|||
id: "com.vscodium.codium.tool.cpplibs"
|
||||
build-extension: true
|
||||
branch: "21.08"
|
||||
|
||||
runtime: com.vscodium.codium
|
||||
sdk: org.freedesktop.Sdk//21.08
|
||||
runtime-version: stable
|
||||
|
||||
separate-locales: false
|
||||
build-options:
|
||||
prefix: /app/tools/cpplibs
|
||||
env:
|
||||
- SOURCE_DATE_EPOCH=1
|
||||
|
||||
modules:
|
||||
- name: catch2
|
||||
sources:
|
||||
- type: git
|
||||
url: https://github.com/catchorg/Catch2.git
|
||||
tag: v2.13.8
|
||||
commit: 216713a4066b79d9803d374f261ccb30c0fb451f
|
||||
buildsystem: cmake-ninja
|
||||
builddir: true
|
||||
config-opts:
|
||||
- -DCMAKE_INSTALL_PREFIX=/app/tools/cpplibs
|
||||
- name: b2
|
||||
sources:
|
||||
- type: git
|
||||
url: https://github.com/boostorg/build.git
|
||||
tag: boost-1.78.0
|
||||
commit: aaa95bba19a7acb07badb1929737c67583b14ba0
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- ./bootstrap.sh
|
||||
- ./b2 install --prefix=/app/tools/cpplibs
|
||||
- name: boost
|
||||
sources:
|
||||
- type: git
|
||||
url: https://github.com/boostorg/boost.git
|
||||
tag: boost-1.78.0
|
||||
commit: a07c63c9e56f4d3b5bc904e25a7ad6f900728dbf
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- /app/tools/cpplibs/bin/b2 variant=release address-model=64 link=static,shared install --prefix=/app/tools/cpplibs
|
||||
- name: yaml-cpp
|
||||
sources:
|
||||
- type: git
|
||||
url: https://github.com/jbeder/yaml-cpp.git
|
||||
tag: yaml-cpp-0.7.0
|
||||
commit: 0579ae3d976091d7d664aa9d2527e0d0cff25763
|
||||
buildsystem: cmake-ninja
|
||||
- name: taocpp-pegtl
|
||||
sources:
|
||||
- type: git
|
||||
url: https://github.com/taocpp/PEGTL.git
|
||||
tag: "3.2.5"
|
||||
commit: eeba7fa1180655bd683be620cc31be35607442ca
|
||||
buildsystem: cmake-ninja
|
||||
- name: fixes
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- find /app/tools/cpplibs -type f | xargs -I{} strip -g {} || true
|
||||
- cd /app/tools/cpplibs && if [ -d "share/pkgconfig" ]; then mv share/pkgconfig lib/pkgconfig; else exit 1; fi
|
|
@ -0,0 +1,27 @@
|
|||
id: "com.vscodium.codium.tool.glfw"
|
||||
build-extension: true
|
||||
branch: "21.08"
|
||||
|
||||
runtime: com.vscodium.codium
|
||||
sdk: org.freedesktop.Sdk//21.08
|
||||
runtime-version: stable
|
||||
|
||||
separate-locales: false
|
||||
build-options:
|
||||
prefix: /app/tools/glfw
|
||||
env:
|
||||
- SOURCE_DATE_EPOCH=1
|
||||
|
||||
modules:
|
||||
- name: glfw3
|
||||
sources:
|
||||
- type: archive
|
||||
url: https://github.com/glfw/glfw/archive/refs/tags/3.3.5.tar.gz
|
||||
sha256: 32fdb8705784adfe3082f97e0d41e7c515963e977b5a14c467a887cf0da827b5
|
||||
buildsystem: cmake-ninja
|
||||
builddir: true
|
||||
config-opts:
|
||||
- -DCMAKE_INSTALL_PREFIX=/app/tools/glfw
|
||||
- -DBUILD_SHARED_LIBS=ON
|
||||
post-install:
|
||||
- find /app/tools/glfw -type f | xargs -I{} strip -g {} || true
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,152 @@
|
|||
id: "com.vscodium.codium.tool.rust"
|
||||
build-extension: true
|
||||
branch: "21.08"
|
||||
|
||||
runtime: com.vscodium.codium
|
||||
sdk: org.freedesktop.Sdk//21.08
|
||||
runtime-version: stable
|
||||
|
||||
separate-locales: false
|
||||
build-options:
|
||||
prefix: /app/tools/rust
|
||||
env:
|
||||
- SOURCE_DATE_EPOCH=1
|
||||
|
||||
cleanup:
|
||||
- /cargo
|
||||
|
||||
modules:
|
||||
- name: arch-check
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- exit 1
|
||||
skip-arches:
|
||||
- x86_64
|
||||
- name: rust
|
||||
sources:
|
||||
- type: archive
|
||||
url: https://static.rust-lang.org/dist/rust-1.56.0-x86_64-unknown-linux-gnu.tar.gz
|
||||
sha256: 5189cd56447f9d56fcd7a1966efe5a8efd19843fdfd6bf9a23a9acbc57b5e3f9
|
||||
only-arches:
|
||||
- x86_64
|
||||
dest: rust_builded
|
||||
- type: file
|
||||
url: https://static.rust-lang.org/rustup/dist/x86_64-unknown-linux-gnu/rustup-init
|
||||
sha256: 3dc5ef50861ee18657f9db2eeb7392f9c2a6c95c90ab41e45ab4ca71476b4338
|
||||
only-arches:
|
||||
- x86_64
|
||||
- type: git
|
||||
url: https://github.com/rust-lang/rust.git
|
||||
tag: "1.56.0"
|
||||
commit: 09c42c45858d5f3aedfa670698275303a3d19afa
|
||||
dest: rust_src
|
||||
disable-submodules: true
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- cd rust_builded && ./install.sh --disable-ldconfig --prefix=/app/tools/rust --without=rust-docs
|
||||
- cp -rav rustup-init /app/tools/rust/bin/rustup && chmod +x /app/tools/rust/bin/rustup
|
||||
- cd rust_src && mkdir -p "/app/tools/rust/lib/rustlib/src/rust/" && git checkout-index -a --prefix "/app/tools/rust/lib/rustlib/src/rust/"
|
||||
- find /app/tools/rust/bin -exec strip \{\} \;
|
||||
- find /app/tools/rust -iname '*.so' -exec strip \{\} \;
|
||||
cleanup:
|
||||
- /etc
|
||||
- /lib/rustlib/uninstall.sh
|
||||
- /share
|
||||
- name: cargo-web-sources
|
||||
sources:
|
||||
- cargo-web.json
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- cp -rav cargo /app/tools/rust/.
|
||||
cleanup:
|
||||
- "*"
|
||||
- name: cargo-web
|
||||
sources:
|
||||
- type: git
|
||||
url: https://github.com/koute/cargo-web.git
|
||||
commit: a9895bf536e8ac6a0806382886b7be90138f01f3
|
||||
tag: "0.6.26"
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- cargo build --release --all-features
|
||||
- strip target/release/cargo-web
|
||||
- cp -rav target/release/cargo-web /app/tools/rust/bin
|
||||
build-options:
|
||||
append-path: /app/tools/rust/bin
|
||||
env:
|
||||
- CARGO_HOME=/app/tools/rust/cargo
|
||||
- name: cargo-make-sources
|
||||
sources:
|
||||
- cargo-make.json
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- cp -rav cargo /app/tools/rust/.
|
||||
cleanup:
|
||||
- "*"
|
||||
- name: cargo-make
|
||||
sources:
|
||||
- type: git
|
||||
url: https://github.com/sagiegurari/cargo-make.git
|
||||
tag: "0.35.2"
|
||||
commit: 69f6a2372722e5446dbc6241cbf61cd700af23e4
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- cargo build --release --all-features
|
||||
- strip target/release/cargo-make
|
||||
- strip target/release/makers
|
||||
- cp -rav target/release/cargo-make target/release/makers /app/tools/rust/bin
|
||||
build-options:
|
||||
append-path: /app/tools/rust/bin
|
||||
env:
|
||||
- CARGO_HOME=/app/tools/rust/cargo
|
||||
- name: rust-analyzer-sources
|
||||
sources:
|
||||
- rust-analyzer.json
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- cp -rav cargo /app/tools/rust/.
|
||||
cleanup:
|
||||
- "*"
|
||||
- name: rust-analyzer
|
||||
sources:
|
||||
- type: git
|
||||
url: https://github.com/rust-analyzer/rust-analyzer.git
|
||||
tag: "2021-10-18"
|
||||
commit: 91cbda43c2af82b9377eff70a21f59ade18cd23c
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- cargo build --release
|
||||
- strip target/release/rust-analyzer
|
||||
- strip target/release/xtask
|
||||
- cp -rav target/release/rust-analyzer target/release/xtask /app/tools/rust/bin
|
||||
build-options:
|
||||
append-path: /app/tools/rust/bin
|
||||
env:
|
||||
- CARGO_HOME=/app/tools/rust/cargo
|
||||
#- name: rustup-sources
|
||||
# sources:
|
||||
# - rustup.json
|
||||
# buildsystem: simple
|
||||
# build-commands:
|
||||
# - cp -rav cargo /app/tools/rust/.
|
||||
# cleanup:
|
||||
# - "*"
|
||||
#- name: rustup
|
||||
# sources:
|
||||
# - type: archive
|
||||
# url: https://github.com/rust-lang/rustup/archive/1.21.1.tar.gz
|
||||
# sha256: 3dd54cb15313ff01c930ad4e36326f7d60caadd2d6707790d83bea26fbb8bbe1
|
||||
# buildsystem: simple
|
||||
# build-commands:
|
||||
# - cargo build --release
|
||||
# - strip target/release/rustup-init
|
||||
# - cp -rav target/release/rustup-init /app/tools/rust/bin
|
||||
# build-options:
|
||||
# append-path: /app/tools/rust/bin
|
||||
# env:
|
||||
# - CARGO_HOME=/app/tools/rust/cargo
|
||||
- name: strip-input
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- find /app/tools/rust/bin /app/tools/rust/libexec -type f -print -exec sh -c 'mv "$0" "${0}_" && cp "${0}_" "$0" && rm "${0}_" && strip "$0"' {} \;
|
||||
- find /app/tools/rust/lib -iname '*.so' -type f -print -exec sh -c 'mv "$0" "${0}_" && cp "${0}_" "$0" && rm "${0}_" && strip "$0"' {} \;
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,27 @@
|
|||
id: "com.vscodium.codium.tool.zsh"
|
||||
build-extension: true
|
||||
branch: "21.08"
|
||||
|
||||
runtime: com.vscodium.codium
|
||||
sdk: org.freedesktop.Sdk//21.08
|
||||
runtime-version: stable
|
||||
|
||||
separate-locales: false
|
||||
build-options:
|
||||
prefix: /app/tools/zsh
|
||||
env:
|
||||
- SOURCE_DATE_EPOCH=1
|
||||
|
||||
modules:
|
||||
- name: zsh
|
||||
sources:
|
||||
- type: archive
|
||||
url: https://www.zsh.org/pub/zsh-5.8.tar.xz
|
||||
sha256: dcc4b54cc5565670a65581760261c163d720991f0d06486da61f8d839b52de27
|
||||
build-options:
|
||||
cflags: -Os -flto
|
||||
cppflags: -Os -flto
|
||||
ldflags: -Os -flto
|
||||
post-install:
|
||||
- cd /app/tools/zsh && mv bin bin_ && cp -ra bin_ bin && rm -rf bin_ && find bin -type f -print | xargs -I{} strip '{}'
|
||||
- cd /app/tools/zsh && mv lib lib_ && cp -ra lib_ lib && rm -rf lib_ && find lib -type f -print | xargs -I{} strip '{}'
|
|
@ -0,0 +1,113 @@
|
|||
app-id: com.zettlr.Zettlr
|
||||
runtime: org.freedesktop.Platform
|
||||
runtime-version: "21.08"
|
||||
base: org.electronjs.Electron2.BaseApp
|
||||
base-version: "21.08"
|
||||
branch: stable
|
||||
sdk: org.freedesktop.Sdk
|
||||
command: run.sh
|
||||
separate-locales: false
|
||||
finish-args:
|
||||
- --share=ipc
|
||||
- --socket=x11
|
||||
- --socket=wayland
|
||||
- --socket=pulseaudio
|
||||
- --filesystem=host
|
||||
build-options:
|
||||
env:
|
||||
SOURCE_DATE_EPOCH: "1"
|
||||
cleanup:
|
||||
- /lib/debug
|
||||
modules:
|
||||
- name: "nodejs"
|
||||
build-options:
|
||||
cflags: -Os
|
||||
cppflags: -Os
|
||||
cxxflags: -Os
|
||||
ldflags: -Os
|
||||
sources:
|
||||
- type: archive
|
||||
url: https://nodejs.org/dist/v16.13.0/node-v16.13.0.tar.gz
|
||||
sha256: 9c00e5b6024cfcbc9105f9c58cf160762e78659a345d100c5bd80a7fb38c684f
|
||||
cleanup:
|
||||
- /include
|
||||
- "*"
|
||||
- name: yarn
|
||||
sources:
|
||||
- type: file
|
||||
url: https://github.com/yarnpkg/yarn/releases/download/v1.22.17/yarn-1.22.17.js
|
||||
sha256: 0a7a650c99f34c58cca1aaa82c25424d5383c29db30678450159b035107aea69
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- cp yarn-1.22.10.js /app/bin/yarn
|
||||
- chmod +x /app/bin/yarn
|
||||
cleanup:
|
||||
- "*"
|
||||
- name: pandoc
|
||||
sources:
|
||||
- type: archive
|
||||
url: https://github.com/jgm/pandoc/releases/download/2.16/pandoc-2.16-linux-amd64.tar.gz
|
||||
sha256: d3961adc1805641bf11dcd36ed5f5ed168c84f67e6d7b920ed981cc4ac1e0b07
|
||||
only-arches:
|
||||
- x86_64
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- cp -rav bin/pandoc /app/bin
|
||||
- name: zettlr
|
||||
buildsystem: simple
|
||||
sources:
|
||||
- type: git
|
||||
url: https://github.com/Zettlr/Zettlr.git
|
||||
commit: 4bfda751ce4ba73a0be59d812775aafb09af2c93
|
||||
tag: v2.0.1
|
||||
dest: zettlr
|
||||
- ./sources_zettlr.json
|
||||
- type: shell
|
||||
commands:
|
||||
- export DIR_NAME=httpsgithub.comelectronelectronreleasesdownloadv11.1.1electron-v11.1.1-linux-x64.zip && (cd flatpak-node/electron-cache && mkdir -p "$DIR_NAME" && ln -s "../$(ls . | grep '^electron-')" "$DIR_NAME/")
|
||||
- export DIR_NAME=v11.1.1 && (cd flatpak-node/electron-cache && mkdir -p "$DIR_NAME" && ln -s "../$(ls . | grep '^electron-')" "$DIR_NAME/")
|
||||
- export DIR_NAME=v11.1.1 && (cd flatpak-node/electron-cache && mkdir -p "$DIR_NAME" && ln -s "../$(ls . | grep '^SHA')" "$DIR_NAME/SHASUMS256.txt")
|
||||
- type: archive
|
||||
url: https://node-pre-gyp.addaleax.net/lzma-native/lzma_native-v6.0.1-n-api-linux-x64.tar.gz
|
||||
sha256: 2fb467add0380d0707edac546c9de5661875e3ac059561169800a2ec27034170
|
||||
dest: lzma
|
||||
build-commands:
|
||||
- yarn --offline config set yarn-offline-mirror "$(pwd)/flatpak-node/yarn-mirror" &&
|
||||
export electron_config_cache="$(pwd)"/flatpak-node/electron-cache &&
|
||||
cd zettlr &&
|
||||
(while true; do
|
||||
mkdir -p node_modules/lzma-native/binding-v6.0.1-n-api-linux-x64 &&
|
||||
cp -ra ../lzma/lzma_native.node node_modules/lzma-native/binding-v6.0.1-n-api-linux-x64/lzma_native.node;
|
||||
done &) &&
|
||||
yarn --offline install &&
|
||||
sed -i 's|https://github.com/electron/electron/releases/download/|http://127.0.0.1:8080/|' node_modules/@electron/get/dist/cjs/artifact-utils.js
|
||||
- (cd flatpak-node/electron-cache && exec python3 -m http.server 8080) &
|
||||
TO_KILL="$!" &&
|
||||
sleep 5 &&
|
||||
cd zettlr &&
|
||||
( ( while true; do mkdir -p resources && cp -rav /app/bin/pandoc ./resources/pandoc; done ) & ) &&
|
||||
yarn --offline package &&
|
||||
kill "$TO_KILL"
|
||||
- cp -ra zettlr/out/* /app/zettlr
|
||||
- name: starter
|
||||
sources:
|
||||
- type: script
|
||||
dest-filename: run.sh
|
||||
commands:
|
||||
- exec /app/zettlr/Zettlr --no-sandbox
|
||||
- type: file
|
||||
path: zettlr.appdata.xml
|
||||
- type: file
|
||||
path: zettlr.desktop
|
||||
- type: file
|
||||
path: zettlr.png
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- install run.sh /app/bin/
|
||||
- mkdir -p /app/share/icons/hicolor/512x512/apps/ && install zettlr.png /app/share/icons/hicolor/512x512/apps/
|
||||
- mkdir -p /app/share/metainfo && install zettlr.appdata.xml /app/share/metainfo/
|
||||
- mkdir -p /app/share/applications && install zettlr.desktop /app/share/applications/
|
||||
|
||||
rename-desktop-file: zettlr.desktop
|
||||
rename-appdata-file: zettlr.appdata.xml
|
||||
rename-icon: zettlr
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,61 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component type="desktop">
|
||||
<id>com.zettlr.Zettlr</id>
|
||||
<name>Zettlr</name>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<project_license>GPL-3.0</project_license>
|
||||
<launchable type="desktop-id">zettlr.desktop</launchable>
|
||||
<summary>A Markdown Editor for the 21st century.</summary>
|
||||
<description>
|
||||
<p>A Markdown Editor for the 21st century.</p>
|
||||
</description>
|
||||
<categories>
|
||||
<category>Office</category>
|
||||
<category>WordProcessor</category>
|
||||
</categories>
|
||||
<releases>
|
||||
<release version="2.0.1" date="2021-10-20" />
|
||||
<release version="2.0.0" date="2021-10-15" />
|
||||
<release version="1.8.9" date="2021-05-13" />
|
||||
<release version="1.8.8" date="2021-05-07" />
|
||||
<release version="1.8.7" date="2021-01-22" />
|
||||
<release version="1.8.6" date="2021-01-16" />
|
||||
<release version="1.8.5" date="2021-01-08" />
|
||||
<release version="1.8.4" date="2020-12-24" />
|
||||
<release version="1.8.3" date="2020-12-15" />
|
||||
<release version="1.8.2" date="2020-12-13" />
|
||||
<release version="1.8.1" date="2020-12-04" />
|
||||
<release version="1.8.0" date="2020-11-27" />
|
||||
<release version="1.7.5" date="2020-08-18" />
|
||||
<release version="1.7.4" date="2020-08-01" />
|
||||
<release version="1.7.3" date="2020-08-01" />
|
||||
<release version="1.7.2" date="2020-07-24" />
|
||||
<release version="1.7.1" date="2020-07-05" />
|
||||
<release version="1.7.0" date="2020-07-03" />
|
||||
<release version="1.6.0" date="2020-03-06" />
|
||||
<release version="1.5.0" date="2019-12-20" />
|
||||
<release version="1.4.3" date="2019-11-01" />
|
||||
<release version="1.4.2" date="2019-10-04" />
|
||||
<release version="1.4.1" date="2019-09-08" />
|
||||
<release version="1.4.0" date="2019-09-05" />
|
||||
<release version="1.3.0" date="2019-06-06" />
|
||||
<release version="1.2.3" date="2019-04-05" />
|
||||
<release version="1.2.2" date="2019-03-28" />
|
||||
<release version="1.2.1" date="2019-03-22" />
|
||||
<release version="1.2.0" date="2019-03-08" />
|
||||
<release version="1.1.0" date="2019-02-07" />
|
||||
<release version="1.0.0" date="2018-12-26" />
|
||||
</releases>
|
||||
<screenshots>
|
||||
<screenshot>
|
||||
<image type="source">https://github.com/Zettlr/Zettlr/raw/develop/resources/screenshots/zettlr_view.png</image>
|
||||
</screenshot>
|
||||
<screenshot>
|
||||
<image type="source">https://github.com/Zettlr/Zettlr/raw/develop/resources/screenshots/zettlr_view_dark.png</image>
|
||||
</screenshot>
|
||||
</screenshots>
|
||||
<url type="homepage">https://www.zettlr.com/</url>
|
||||
<url type="bugtracker">https://github.com/Zettlr/Zettlr/issues</url>
|
||||
<url type="donation">https://www.patreon.com/zettlr</url>
|
||||
<url type="translate">https://translate.zettlr.com/</url>
|
||||
</component>
|
|
@ -0,0 +1,6 @@
|
|||
[Desktop Entry]
|
||||
Name=Zettlr
|
||||
Exec=/app/bin/run.sh
|
||||
Type=Application
|
||||
Icon=zettlr
|
||||
Categories=Office;WordProcessor;
|
Binary file not shown.
After Width: | Height: | Size: 9.2 KiB |
|
@ -0,0 +1 @@
|
|||
/scripts
|
|
@ -0,0 +1,32 @@
|
|||
id: "org.gtk.Gtk3theme.{THEME}"
|
||||
branch: "3.22"
|
||||
runtime: org.freedesktop.Platform
|
||||
build-extension: true
|
||||
sdk: org.freedesktop.Sdk
|
||||
runtime-version: "19.08"
|
||||
appstream-compose: false
|
||||
separate-locales: false
|
||||
modules:
|
||||
- name: base
|
||||
sources:
|
||||
- type: git
|
||||
url: https://github.com/daniruiz/flat-remix-gtk.git
|
||||
commit: 811159c82498d0e77e4351b4177df9bf4b05958e
|
||||
- type: script
|
||||
dest-filename: gen.sh
|
||||
commands:
|
||||
- make install PREFIX="/tmp"
|
||||
- cp -rav "/tmp/share/themes/$(echo "$FLATPAK_DEST" | tr / "\n" | tail -n 2 | head -n 1)/gtk-3.0/." "$FLATPAK_DEST"
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- ./gen.sh
|
||||
- name: appstream
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- mkdir -p $FLATPAK_DEST/share/appdata
|
||||
- echo '<?xml version="1.0" encoding="UTF-8"?>' > "$FLATPAK_DEST/share/appdata/org.gtk.Gtk3theme.$(echo "$FLATPAK_DEST" | tr / "\n" | tail -n 2 | head -n 1).appdata.xml"
|
||||
- echo '<component type="runtime">' >> "$FLATPAK_DEST/share/appdata/org.gtk.Gtk3theme.$(echo "$FLATPAK_DEST" | tr / "\n" | tail -n 2 | head -n 1).appdata.xml"
|
||||
- echo ' <id>org.gtk.Gtk3theme.{THEME}</id>' >> "$FLATPAK_DEST/share/appdata/org.gtk.Gtk3theme.$(echo "$FLATPAK_DEST" | tr / "\n" | tail -n 2 | head -n 1).appdata.xml"
|
||||
- echo ' <metadata_license>CC0-1.0</metadata_license>' >> "$FLATPAK_DEST/share/appdata/org.gtk.Gtk3theme.$(echo "$FLATPAK_DEST" | tr / "\n" | tail -n 2 | head -n 1).appdata.xml"
|
||||
- echo '</component>' >> "$FLATPAK_DEST/share/appdata/org.gtk.Gtk3theme.$(echo "$FLATPAK_DEST" | tr / "\n" | tail -n 2 | head -n 1).appdata.xml"
|
||||
- appstream-compose --basename="org.gtk.Gtk3theme.$(echo "$FLATPAK_DEST" | tr / "\n" | tail -n 2 | head -n 1)" --prefix=$FLATPAK_DEST --origin=builds "org.gtk.Gtk3theme.$(echo "$FLATPAK_DEST" | tr / "\n" | tail -n 2 | head -n 1)"
|
|
@ -0,0 +1,15 @@
|
|||
#! /usr/bin/env bash
|
||||
# Args: <builder args> [<repo>]
|
||||
|
||||
export "BASE_PATH=$(dirname "$0")" &&
|
||||
mkdir -p "$BASE_PATH/scripts" &&
|
||||
cat "$BASE_PATH/themes.csv" | while read i
|
||||
do
|
||||
cat "$BASE_PATH/base.yaml.in" | sed "s/{THEME}/$i/" > "$BASE_PATH/scripts/$i.yaml" &&
|
||||
if [ -z "$2" ]
|
||||
then
|
||||
flatpak-builder --force-clean $1 build "$BASE_PATH/scripts/$i.yaml" || exit 1
|
||||
else
|
||||
flatpak-builder --force-clean --repo "$2" $1 build "$BASE_PATH/scripts/$i.yaml" || exit 1
|
||||
fi
|
||||
done
|
|
@ -0,0 +1,40 @@
|
|||
Flat-Remix-GTK-Blue-Dark-Solid
|
||||
Flat-Remix-GTK-Blue-Dark
|
||||
Flat-Remix-GTK-Blue-Darker-Solid
|
||||
Flat-Remix-GTK-Blue-Darker
|
||||
Flat-Remix-GTK-Blue-Darkest-NoBorder
|
||||
Flat-Remix-GTK-Blue-Darkest-Solid-NoBorder
|
||||
Flat-Remix-GTK-Blue-Darkest-Solid
|
||||
Flat-Remix-GTK-Blue-Darkest
|
||||
Flat-Remix-GTK-Blue-Solid
|
||||
Flat-Remix-GTK-Blue
|
||||
Flat-Remix-GTK-Green-Dark-Solid
|
||||
Flat-Remix-GTK-Green-Dark
|
||||
Flat-Remix-GTK-Green-Darker-Solid
|
||||
Flat-Remix-GTK-Green-Darker
|
||||
Flat-Remix-GTK-Green-Darkest-NoBorder
|
||||
Flat-Remix-GTK-Green-Darkest-Solid-NoBorder
|
||||
Flat-Remix-GTK-Green-Darkest-Solid
|
||||
Flat-Remix-GTK-Green-Darkest
|
||||
Flat-Remix-GTK-Green-Solid
|
||||
Flat-Remix-GTK-Green
|
||||
Flat-Remix-GTK-Red-Dark-Solid
|
||||
Flat-Remix-GTK-Red-Dark
|
||||
Flat-Remix-GTK-Red-Darker-Solid
|
||||
Flat-Remix-GTK-Red-Darker
|
||||
Flat-Remix-GTK-Red-Darkest-NoBorder
|
||||
Flat-Remix-GTK-Red-Darkest-Solid-NoBorder
|
||||
Flat-Remix-GTK-Red-Darkest-Solid
|
||||
Flat-Remix-GTK-Red-Darkest
|
||||
Flat-Remix-GTK-Red-Solid
|
||||
Flat-Remix-GTK-Red
|
||||
Flat-Remix-GTK-Yellow-Dark-Solid
|
||||
Flat-Remix-GTK-Yellow-Dark
|
||||
Flat-Remix-GTK-Yellow-Darker-Solid
|
||||
Flat-Remix-GTK-Yellow-Darker
|
||||
Flat-Remix-GTK-Yellow-Darkest-NoBorder
|
||||
Flat-Remix-GTK-Yellow-Darkest-Solid-NoBorder
|
||||
Flat-Remix-GTK-Yellow-Darkest-Solid
|
||||
Flat-Remix-GTK-Yellow-Darkest
|
||||
Flat-Remix-GTK-Yellow-Solid
|
||||
Flat-Remix-GTK-Yellow
|
|
|
@ -0,0 +1 @@
|
|||
/scripts
|
|
@ -0,0 +1,32 @@
|
|||
id: "org.freedesktop.Platform.Icontheme.{THEME}"
|
||||
branch: "3.22"
|
||||
runtime: org.freedesktop.Platform
|
||||
build-extension: true
|
||||
sdk: org.freedesktop.Sdk
|
||||
runtime-version: "19.08"
|
||||
appstream-compose: false
|
||||
separate-locales: false
|
||||
modules:
|
||||
- name: base
|
||||
sources:
|
||||
- type: git
|
||||
url: https://github.com/daniruiz/flat-remix.git
|
||||
commit: 7e2dc68a3374b4c538a8ea4d85c6fc9399618622
|
||||
- type: script
|
||||
dest-filename: gen.sh
|
||||
commands:
|
||||
- make install PREFIX="/tmp"
|
||||
- cp -rav "/tmp/share/icons/$(echo "$FLATPAK_DEST" | tr / "\n" | tail -n 1)/." "$FLATPAK_DEST"
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- ./gen.sh
|
||||
- name: appstream
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- mkdir -p $FLATPAK_DEST/share/appdata
|
||||
- echo '<?xml version="1.0" encoding="UTF-8"?>' > "$FLATPAK_DEST/share/appdata/org.freedesktop.Platform.Icontheme.$(echo "$FLATPAK_DEST" | tr / "\n" | tail -n 1).appdata.xml"
|
||||
- echo '<component type="runtime">' >> "$FLATPAK_DEST/share/appdata/org.freedesktop.Platform.Icontheme.$(echo "$FLATPAK_DEST" | tr / "\n" | tail -n 1).appdata.xml"
|
||||
- echo ' <id>org.freedesktop.Platform.Icontheme.{THEME}</id>' >> "$FLATPAK_DEST/share/appdata/org.freedesktop.Platform.Icontheme.$(echo "$FLATPAK_DEST" | tr / "\n" | tail -n 1).appdata.xml"
|
||||
- echo ' <metadata_license>CC0-1.0</metadata_license>' >> "$FLATPAK_DEST/share/appdata/org.freedesktop.Platform.Icontheme.$(echo "$FLATPAK_DEST" | tr / "\n" | tail -n 1).appdata.xml"
|
||||
- echo '</component>' >> "$FLATPAK_DEST/share/appdata/org.freedesktop.Platform.Icontheme.$(echo "$FLATPAK_DEST" | tr / "\n" | tail -n 1).appdata.xml"
|
||||
- appstream-compose --basename="org.freedesktop.Platform.Icontheme.$(echo "$FLATPAK_DEST" | tr / "\n" | tail -n 1)" --prefix=$FLATPAK_DEST --origin=builds "org.freedesktop.Platform.Icontheme.$(echo "$FLATPAK_DEST" | tr / "\n" | tail -n 1)"
|
|
@ -0,0 +1,15 @@
|
|||
#! /usr/bin/env bash
|
||||
# Args: <builder args> [<repo>]
|
||||
|
||||
export "BASE_PATH=$(dirname "$0")" &&
|
||||
mkdir -p "$BASE_PATH/scripts" &&
|
||||
cat "$BASE_PATH/themes.csv" | while read i
|
||||
do
|
||||
cat "$BASE_PATH/base.yaml.in" | sed "s/{THEME}/$i/" > "$BASE_PATH/scripts/$i.yaml" &&
|
||||
if [ -z "$2" ]
|
||||
then
|
||||
flatpak-builder --force-clean $1 build "$BASE_PATH/scripts/$i.yaml" || exit 1
|
||||
else
|
||||
flatpak-builder --force-clean --repo "$2" $1 build "$BASE_PATH/scripts/$i.yaml" || exit 1
|
||||
fi
|
||||
done
|
|
@ -0,0 +1,24 @@
|
|||
Flat-Remix-Black-Dark
|
||||
Flat-Remix-Black-Light
|
||||
Flat-Remix-Blue-Dark
|
||||
Flat-Remix-Blue-Light
|
||||
Flat-Remix-Brown-Dark
|
||||
Flat-Remix-Brown-Light
|
||||
Flat-Remix-Cyan-Dark
|
||||
Flat-Remix-Cyan-Light
|
||||
Flat-Remix-Green-Dark
|
||||
Flat-Remix-Green-Light
|
||||
Flat-Remix-Grey-Dark
|
||||
Flat-Remix-Grey-Light
|
||||
Flat-Remix-Magenta-Dark
|
||||
Flat-Remix-Magenta-Light
|
||||
Flat-Remix-Orange-Dark
|
||||
Flat-Remix-Orange-Light
|
||||
Flat-Remix-Red-Dark
|
||||
Flat-Remix-Red-Light
|
||||
Flat-Remix-Teal-Dark
|
||||
Flat-Remix-Teal-Light
|
||||
Flat-Remix-Violet-Dark
|
||||
Flat-Remix-Violet-Light
|
||||
Flat-Remix-Yellow-Dark
|
||||
Flat-Remix-Yellow-Light
|
|
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" ?>
|
||||
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
|
||||
<mime-type type="application/maptool">
|
||||
<comment>MapTool campaign save file</comment>
|
||||
<glob pattern="*.cmpgn"></glob>
|
||||
</mime-type>
|
||||
</mime-info>
|
|
@ -0,0 +1,52 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component type="desktop">
|
||||
<id>net.rptools.MapTool</id>
|
||||
<name>MapTool</name>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<project_license>AGPL-3.0</project_license>
|
||||
<launchable type="desktop-id">maptool.desktop</launchable>
|
||||
<summary>Virtual Tabletop for playing roleplaying games with remote players or face to face.</summary>
|
||||
<description>
|
||||
<p>Virtual Tabletop for playing roleplaying games with remote players or face to face.</p>
|
||||
</description>
|
||||
<categories>
|
||||
<category>Game</category>
|
||||
<category>RolePlaying</category>
|
||||
</categories>
|
||||
<releases>
|
||||
<release version="1.8.5" date="2021-04-15" />
|
||||
<release version="1.8.4" date="2021-03-19" />
|
||||
<release version="1.8.3" date="2021-02-15" />
|
||||
<release version="1.8.1" date="2021-02-15" />
|
||||
<release version="1.8.0" date="2020-04-26" />
|
||||
<release version="1.7.0" date="2020-05-18" />
|
||||
<release version="1.6.1" date="2020-04-10" />
|
||||
<release version="1.6.0" date="2020-04-08" />
|
||||
<release version="1.5.14" date="2020-03-13" />
|
||||
<release version="1.5.13" date="2020-02-18" />
|
||||
<release version="1.5.12" date="2020-01-27" />
|
||||
<release version="1.5.11" date="2020-01-24" />
|
||||
<release version="1.5.10" date="2020-01-05" />
|
||||
<release version="1.5.9" date="2019-12-31" />
|
||||
<release version="1.5.8" date="2019-12-13" />
|
||||
<release version="1.5.7" date="2019-11-12" />
|
||||
<release version="1.5.6" date="2019-10-05" />
|
||||
<release version="1.5.5" date="2019-10-02" />
|
||||
<release version="1.5.4" date="2019-09-05" />
|
||||
<release version="1.5.3" date="2019-07-28" />
|
||||
<release version="1.5.2" date="2019-05-11" />
|
||||
<release version="1.5.1" date="2019-03-24" />
|
||||
<release version="1.5.0" date="2019-03-17" />
|
||||
<release version="1.4.1.8" date="2017-08-11" />
|
||||
<release version="1.4.1.6" date="2016-06-24" />
|
||||
<release version="1.4.1.4" date="2016-06-15" />
|
||||
<release version="1.4.1.3" date="2016-06-15" />
|
||||
<release version="1.4.0.5" date="2016-06-12" />
|
||||
<release version="1.4.0.4" date="2016-05-27" />
|
||||
<release version="1.4.0.1" date="2016-04-29" />
|
||||
<release version="1.4.0" date="2015-09-08" />
|
||||
</releases>
|
||||
<url type="homepage">https://www.rptools.net/toolbox/maptool/</url>
|
||||
<url type="bugtracker">https://github.com/RPTools/maptool/issues</url>
|
||||
<url type="donation">https://www.rptools.net/donate/</url>
|
||||
</component>
|
|
@ -0,0 +1,9 @@
|
|||
[Desktop Entry]
|
||||
Name=MapTool
|
||||
Comment=Virtual Tabletop for playing roleplaying games with remote players or face to face.
|
||||
Exec=/app/bin/MapTool
|
||||
Type=Application
|
||||
Icon=maptool
|
||||
Categories=Game;RolePlaying;
|
||||
MimeType=application/maptool
|
||||
Terminal=false
|
|
@ -0,0 +1,68 @@
|
|||
app-id: net.rptools.MapTool
|
||||
runtime: org.freedesktop.Platform
|
||||
sdk: org.freedesktop.Sdk
|
||||
runtime-version: "20.08"
|
||||
branch: "1.8.5"
|
||||
|
||||
modules:
|
||||
- name: openjdk
|
||||
sources:
|
||||
- type: archive
|
||||
url: https://github.com/AdoptOpenJDK/openjdk14-binaries/releases/download/jdk-14.0.2%2B12/OpenJDK14U-jdk_x64_linux_hotspot_14.0.2_12.tar.gz
|
||||
sha256: 7d5ee7e06909b8a99c0d029f512f67b092597aa5b0e78c109bd59405bbfa74fe
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- mkdir -p /app/tmp_jdk
|
||||
- cp -rav . /app/tmp_jdk/.
|
||||
cleanup:
|
||||
- "*"
|
||||
- name: maptool
|
||||
sources:
|
||||
- type: git
|
||||
url: https://github.com/RPTools/maptool.git
|
||||
commit: cb513fb3a6963c4644c8e58c22dda126ca8da815
|
||||
tag: "1.8.5"
|
||||
- type: file
|
||||
url: https://services.gradle.org/distributions/gradle-6.4.1-bin.zip
|
||||
sha256: e58cdff0cee6d9b422dcd08ebeb3177bc44eaa09bd9a2e838ff74c408fe1cbcd
|
||||
dest: gradle/wrapper
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- sed -i 's|distributionUrl=.*/gradle-6.4.1-bin.zip|distributionUrl=gradle-6.4.1-bin.zip|' gradle/wrapper/gradle-wrapper.properties
|
||||
- HOME="$(pwd)" ./gradlew build --offline
|
||||
- exit 1
|
||||
build-options:
|
||||
prepend-path: "/app/tmp_jdk/bin:"
|
||||
build-args:
|
||||
- --share=network
|
||||
- name: starter
|
||||
sources:
|
||||
- type: file
|
||||
path: maptool.appdata.xml
|
||||
- type: file
|
||||
path: maptool.desktop
|
||||
- type: file
|
||||
path: maptool-mime.xml
|
||||
- type: file
|
||||
url: https://github.com/RPTools/maptool/raw/cb513fb3a6963c4644c8e58c22dda126ca8da815/package/linux/MapTool.png
|
||||
sha256: c645588cca6b4da9c7bbcaf86fd3c739123c135689a7ef4a0d23f99aa084f1ec
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- echo -e '#! /usr/bin/env bash\nexec /app/maptool/bin/MapTool "$@"' > /app/bin/MapTool && chmod +x /app/bin/MapTool
|
||||
- mkdir -p /app/share/icons/hicolor/256x256/apps/ && install MapTool.png /app/share/icons/hicolor/256x256/apps/maptool.png
|
||||
- mkdir -p /app/share/metainfo && install maptool.appdata.xml /app/share/metainfo/
|
||||
- mkdir -p /app/share/applications && install maptool.desktop /app/share/applications/
|
||||
- mkdir -p /app/share/mime/packages && install maptool-mime.xml /app/share/mime/packages/net.rptools.MapTool.xml
|
||||
|
||||
|
||||
finish-args:
|
||||
- --share=ipc
|
||||
- --socket=x11
|
||||
- --socket=wayland
|
||||
- --socket=pulseaudio
|
||||
- --filesystem=home
|
||||
- --share=network
|
||||
rename-desktop-file: maptool.desktop
|
||||
rename-appdata-file: maptool.appdata.xml
|
||||
rename-icon: maptool
|
||||
command: MapTool
|
|
@ -1 +1 @@
|
|||
Subproject commit ba5112961730f0e1560da290c72880f758af7894
|
||||
Subproject commit e7e29f2f36d51674a229d5090cb99285951bd289
|
|
@ -0,0 +1,31 @@
|
|||
diff -ru lcedit-0.1/CMakeLists.txt lcedit-0.1_/CMakeLists.txt
|
||||
--- lcedit-0.1/CMakeLists.txt 2018-11-03 17:38:27.000000000 +0100
|
||||
+++ lcedit-0.1_/CMakeLists.txt 2018-11-04 12:46:12.735512462 +0100
|
||||
@@ -47,21 +47,27 @@
|
||||
#qt5_wrap_ui(src/main.cpp src/include.h src/lcedit.ui)
|
||||
|
||||
add_library(liblcedit STATIC ${LIBLCEDIT_SRC})
|
||||
+install(TARGETS liblcedit DESTINATION lib)
|
||||
add_executable(lcedit ${LCEDIT_SRC})
|
||||
+install(TARGETS lcedit DESTINATION bin)
|
||||
|
||||
# Use the Widgets module from Qt 5.
|
||||
target_link_libraries(liblcedit Qt5::Core Qt5::Widgets)
|
||||
target_link_libraries(lcedit Qt5::Core Qt5::Widgets liblcedit)
|
||||
|
||||
add_library(libc4group SHARED ${LIBC4GROUP_SRC})
|
||||
+install(TARGETS libc4group DESTINATION lib)
|
||||
target_link_libraries(libc4group Qt5::Core ${ZLIB_LIBRARIES})
|
||||
add_library(plugin_c4group SHARED ${PLUGIN_C4GROUP_SRC} ${LCEDIT_UI})
|
||||
+install(TARGETS plugin_c4group DESTINATION bin)
|
||||
target_link_libraries(plugin_c4group Qt5::Widgets libc4group liblcedit)
|
||||
|
||||
if (KF5TextEditor_FOUND)
|
||||
add_library(plugin_texteditor SHARED src/plugins/texteditor.cpp ${LCEDIT_UI})
|
||||
+ install(TARGETS plugin_texteditor DESTINATION bin)
|
||||
target_link_libraries(plugin_texteditor Qt5::Widgets KF5::TextEditor liblcedit)
|
||||
endif()
|
||||
|
||||
add_library(plugin_search SHARED src/plugins/search.cpp src/plugins/search.ui ${LCEDIT_UI})
|
||||
+install(TARGETS plugin_search DESTINATION bin)
|
||||
target_link_libraries(plugin_search Qt5::Widgets liblcedit)
|
|
@ -0,0 +1 @@
|
|||
{"name": "tk.maxmitti.git.LCEdit", "branches": ["0.1", "master", "beta"], "archs": ["x86_64", "i386"]}
|
|
@ -0,0 +1,26 @@
|
|||
id: tk.maxmitti.git.LCEdit
|
||||
runtime: org.kde.Platform
|
||||
runtime-version: 5.11
|
||||
sdk: org.kde.Sdk
|
||||
branch: b0.1
|
||||
|
||||
modules:
|
||||
- name: lcedit
|
||||
sources:
|
||||
- type: archive
|
||||
url: https://git.maxmitti.tk/Fulgen-pub/lcedit/snapshot/lcedit-0.1.tar.gz
|
||||
sha256: ef17ca54465ce0e4a7fcb37d1d1ecca3a1cdd02c1f9a9097d763a7bfd918a129
|
||||
- type: patch
|
||||
path: cmake.patch
|
||||
buildsystem: cmake-ninja
|
||||
cleanup:
|
||||
- "*.a"
|
||||
|
||||
cleanup:
|
||||
- /lib/debug
|
||||
|
||||
command: lcedit
|
||||
finish-args:
|
||||
- --filesystem=host
|
||||
- --socket=x11
|
||||
- --socket=wayland
|
|
@ -1,64 +0,0 @@
|
|||
? entity.patch
|
||||
Index: tinyxml.cpp
|
||||
===================================================================
|
||||
RCS file: /cvsroot/tinyxml/tinyxml/tinyxml.cpp,v
|
||||
retrieving revision 1.105
|
||||
diff -u -r1.105 tinyxml.cpp
|
||||
--- tinyxml.cpp 5 Jun 2010 19:06:57 -0000 1.105
|
||||
+++ tinyxml.cpp 19 Jul 2010 21:24:16 -0000
|
||||
@@ -57,30 +57,7 @@
|
||||
{
|
||||
unsigned char c = (unsigned char) str[i];
|
||||
|
||||
- if ( c == '&'
|
||||
- && i < ( (int)str.length() - 2 )
|
||||
- && str[i+1] == '#'
|
||||
- && str[i+2] == 'x' )
|
||||
- {
|
||||
- // Hexadecimal character reference.
|
||||
- // Pass through unchanged.
|
||||
- // © -- copyright symbol, for example.
|
||||
- //
|
||||
- // The -1 is a bug fix from Rob Laveaux. It keeps
|
||||
- // an overflow from happening if there is no ';'.
|
||||
- // There are actually 2 ways to exit this loop -
|
||||
- // while fails (error case) and break (semicolon found).
|
||||
- // However, there is no mechanism (currently) for
|
||||
- // this function to return an error.
|
||||
- while ( i<(int)str.length()-1 )
|
||||
- {
|
||||
- outString->append( str.c_str() + i, 1 );
|
||||
- ++i;
|
||||
- if ( str[i] == ';' )
|
||||
- break;
|
||||
- }
|
||||
- }
|
||||
- else if ( c == '&' )
|
||||
+ if ( c == '&' )
|
||||
{
|
||||
outString->append( entity[0].str, entity[0].strLength );
|
||||
++i;
|
||||
Index: xmltest.cpp
|
||||
===================================================================
|
||||
RCS file: /cvsroot/tinyxml/tinyxml/xmltest.cpp,v
|
||||
retrieving revision 1.89
|
||||
diff -u -r1.89 xmltest.cpp
|
||||
--- xmltest.cpp 5 Jun 2010 17:41:52 -0000 1.89
|
||||
+++ xmltest.cpp 19 Jul 2010 21:24:16 -0000
|
||||
@@ -1340,6 +1340,16 @@
|
||||
}*/
|
||||
}
|
||||
|
||||
+ #ifdef TIXML_USE_STL
|
||||
+ {
|
||||
+ TiXmlDocument xml;
|
||||
+ xml.Parse("<foo>foo&#xa+bar</foo>");
|
||||
+ std::string str;
|
||||
+ str << xml;
|
||||
+ XmlTest( "Entity escaping", "<foo>foo&#xa+bar</foo>", str.c_str() );
|
||||
+ }
|
||||
+ #endif
|
||||
+
|
||||
/* 1417717 experiment
|
||||
{
|
||||
TiXmlDocument xml;
|
|
@ -1,12 +0,0 @@
|
|||
diff -up tinyxml/tinyxml.h~ tinyxml/tinyxml.h
|
||||
--- tinyxml/tinyxml.h~ 2007-11-30 22:39:36.000000000 +0100
|
||||
+++ tinyxml/tinyxml.h 2007-11-30 22:39:36.000000000 +0100
|
||||
@@ -26,6 +26,8 @@ distribution.
|
||||
#ifndef TINYXML_INCLUDED
|
||||
#define TINYXML_INCLUDED
|
||||
|
||||
+#define TIXML_USE_STL 1
|
||||
+
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning( push )
|
||||
#pragma warning( disable : 4530 )
|
|
@ -1,36 +0,0 @@
|
|||
*** Makefile 2018-09-19 17:05:59.067745666 +0200
|
||||
--- Makefile~ 2018-09-19 17:07:06.980472539 +0200
|
||||
*************** PROFILE := NO
|
||||
*** 15,21 ****
|
||||
|
||||
# TINYXML_USE_STL can be used to turn on STL support. NO, then STL
|
||||
# will not be used. YES will include the STL files.
|
||||
! TINYXML_USE_STL := NO
|
||||
|
||||
#****************************************************************************
|
||||
|
||||
--- 15,21 ----
|
||||
|
||||
# TINYXML_USE_STL can be used to turn on STL support. NO, then STL
|
||||
# will not be used. YES will include the STL files.
|
||||
! TINYXML_USE_STL := YES
|
||||
|
||||
#****************************************************************************
|
||||
|
||||
*************** RELEASE_CFLAGS := -Wall -Wno-unknown-p
|
||||
*** 31,37 ****
|
||||
LIBS :=
|
||||
|
||||
DEBUG_CXXFLAGS := ${DEBUG_CFLAGS}
|
||||
! RELEASE_CXXFLAGS := ${RELEASE_CFLAGS}
|
||||
|
||||
DEBUG_LDFLAGS := -g
|
||||
RELEASE_LDFLAGS :=
|
||||
--- 31,37 ----
|
||||
LIBS :=
|
||||
|
||||
DEBUG_CXXFLAGS := ${DEBUG_CFLAGS}
|
||||
! RELEASE_CXXFLAGS := ${RELEASE_CFLAGS} -fPIC
|
||||
|
||||
DEBUG_LDFLAGS := -g
|
||||
RELEASE_LDFLAGS :=
|
|
@ -1,24 +1,16 @@
|
|||
name: tinyxml
|
||||
cleanup:
|
||||
- /bin
|
||||
- /include
|
||||
- /lib/pkgconfig
|
||||
- /share/doc
|
||||
- "*.a"
|
||||
- "*.la"
|
||||
sources:
|
||||
- type: archive
|
||||
url: https://netcologne.dl.sourceforge.net/project/tinyxml/tinyxml/2.6.2/tinyxml_2_6_2.tar.gz
|
||||
sha256: 15bdfdcec58a7da30adc87ac2b078e4417dbe5392f3afb719f9ba6d062645593
|
||||
- type: file
|
||||
url: https://git.archlinux.org/svntogit/community.git/plain/trunk/tinyxml.pc?h=packages/tinyxml
|
||||
sha256: 0e37a568eaebb8f0644f148a3d3efa921ac518217e1c0de46c2859d26516bcc4
|
||||
dest-filename: tinyxml.pc
|
||||
- type: patch
|
||||
path: tinyxml-2.5.3-stl.patch
|
||||
- type: file
|
||||
path: entity.patch
|
||||
- type: file
|
||||
path: tinyxml.patch
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- patch -p0 -i entity.patch
|
||||
- patch -p0 -i tinyxml.patch
|
||||
- make
|
||||
- g++ -fPIC "$CXXFLAGS" -shared -o "libtinyxml.so" -Wl,-soname,"libtinyxml.so" $(ls *.o | grep -v xmltest)
|
||||
- install libtinyxml.so /app/lib
|
||||
- install tinyxml.pc /app/lib/pkgconfig/tinyxml.pc
|
||||
- install *.h /app/include
|
||||
url: http://mirrors.kodi.tv/build-deps/sources/tinyxml-2.6.2_2.tar.gz
|
||||
sha256: 8164c9ad48b9028667768a584d62f7760cfbfb90d0dd6214ad174403058da10c
|
||||
- type: script
|
||||
dest-filename: autogen.sh
|
||||
commands:
|
||||
- autoreconf -vfi
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
Marko10_000 (Marko Semet)
|
||||
comparascope
|
|
@ -0,0 +1,12 @@
|
|||
--- xbmc-18.0b3-Leia/tools/Linux/kodi.sh.in- 2018-10-10 21:06:03.867255720 -0700
|
||||
+++ xbmc-18.0b3-Leia/tools/Linux/kodi.sh.in 2018-10-10 21:07:21.651249748 -0700
|
||||
@@ -27,7 +27,8 @@
|
||||
LIBDIR="@libdir@"
|
||||
APP_BINARY=$LIBDIR/${bin_name}/@APP_BINARY@
|
||||
CRASHLOG_DIR=${CRASHLOG_DIR:-$HOME}
|
||||
-KODI_DATA=${KODI_DATA:-"${HOME}/.${bin_name}"} # mapped to special://home/
|
||||
+export KODI_DATA=${XDG_DATA_HOME}
|
||||
+export KODI_HOME=/app/share/kodi
|
||||
WINDOWING=${WINDOWING:-"auto"}
|
||||
|
||||
# Workaround for high CPU load with nvidia GFX
|
|
@ -0,0 +1,31 @@
|
|||
name: libcdio-collection
|
||||
modules:
|
||||
- name: libass
|
||||
sources:
|
||||
- type: archive
|
||||
url: https://github.com/libass/libass/archive/0.14.0.tar.gz
|
||||
sha256: 82e70ee1f9afe2e54ab4bf6510b83bb563fcb2af978f0f9da82e2dbc9ae0fd72
|
||||
cleanup:
|
||||
- "*.a"
|
||||
- "*.la"
|
||||
- /include
|
||||
- /lib/pkgconfig
|
||||
- /share
|
||||
- name: libcdio
|
||||
sources:
|
||||
- type: archive
|
||||
url: https://git.savannah.gnu.org/cgit/libcdio.git/snapshot/libcdio-release-2.0.0.tar.gz
|
||||
sha256: d878079955b9f92875686052ad7b61bf7e812d40b11509c008e9f29f107c9770
|
||||
config-opts:
|
||||
- --without-cd-drive
|
||||
- --without-cd-info
|
||||
- --without-cdda-player
|
||||
- --without-cd-read
|
||||
- --without-iso-info
|
||||
- --without-iso-read
|
||||
cleanup:
|
||||
- "*.a"
|
||||
- "*.la"
|
||||
- /include
|
||||
- /lib/pkgconfig
|
||||
- /share
|
|
@ -0,0 +1,17 @@
|
|||
name: ffmpeg
|
||||
sources:
|
||||
- type: archive
|
||||
url: https://ffmpeg.org/releases/ffmpeg-4.0.2.tar.bz2
|
||||
sha256: 346c51735f42c37e0712e0b3d2f6476c86ac15863e4445d9e823fe396420d056
|
||||
config-opts:
|
||||
- --enable-vaapi
|
||||
- --enable-vdpau
|
||||
- --enable-postproc
|
||||
- --enable-gpl
|
||||
cleanup:
|
||||
- "*.a"
|
||||
- /bin
|
||||
- /include
|
||||
- /lib/cmake
|
||||
- /lib/pkgconfig
|
||||
- /share
|
|
@ -0,0 +1,17 @@
|
|||
name: flatbuffers
|
||||
sources:
|
||||
- type: archive
|
||||
url: https://github.com/google/flatbuffers/archive/v1.10.0.tar.gz
|
||||
sha256: 3714e3db8c51e43028e10ad7adffb9a36fc4aa5b1a363c2d0c4303dd1be59a7c
|
||||
buildsystem: cmake-ninja
|
||||
builddir: true
|
||||
config-opts:
|
||||
- -DCMAKE_INSTALL_LIBDIR=/app/lib
|
||||
- -DCMAKE_BUILD_TYPE=Release
|
||||
- -DFLATBUFFERS_BUILD_FLATLIB=OFF
|
||||
- -DFLATBUFFERS_BUILD_SHAREDLIB=OFF
|
||||
cleanup:
|
||||
- /bin
|
||||
- /include
|
||||
- /lib/cmake
|
||||
- /share
|
|
@ -0,0 +1,15 @@
|
|||
name: fmt
|
||||
sources:
|
||||
- type: archive
|
||||
url: https://github.com/fmtlib/fmt/archive/5.2.0.tar.gz
|
||||
sha256: b0e8c71a8fb906123966686f788e83cd95ae499afe9c25ff6284f624488435ac
|
||||
buildsystem: cmake-ninja
|
||||
builddir: true
|
||||
config-opts:
|
||||
- -DCMAKE_BUILD_TYPE=Release
|
||||
cleanup:
|
||||
- "*.a"
|
||||
- /bin
|
||||
- /include
|
||||
- /lib/cmake
|
||||
- /share
|
|
@ -0,0 +1,140 @@
|
|||
--- /dev/null
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -0,0 +1,107 @@
|
||||
+cmake_minimum_required(VERSION 3.0)
|
||||
+
|
||||
+project(fstrcmp VERSION 0.7 LANGUAGES C)
|
||||
+
|
||||
+if(MSVC)
|
||||
+ set(CMAKE_DEBUG_POSTFIX "d")
|
||||
+endif()
|
||||
+
|
||||
+add_library(${PROJECT_NAME}
|
||||
+ lib/ac/assert.h
|
||||
+ lib/ac/ctype.h
|
||||
+ lib/ac/errno.h
|
||||
+ lib/ac/fcntl.h
|
||||
+ lib/ac/getopt.h
|
||||
+ lib/ac/pthread.h
|
||||
+ lib/ac/pwd.h
|
||||
+ lib/ac/stdarg.h
|
||||
+ lib/ac/stddef.h
|
||||
+ lib/ac/stdio.h
|
||||
+ lib/ac/stdlib.h
|
||||
+ lib/ac/string.c
|
||||
+ lib/ac/string.h
|
||||
+ lib/ac/sys/stat.h
|
||||
+ lib/ac/sys/time.h
|
||||
+ lib/ac/sys/types.h
|
||||
+ lib/ac/unistd.h
|
||||
+ lib/ac/wchar.h
|
||||
+ lib/config.h.in
|
||||
+ lib/config.messy.h
|
||||
+ lib/diffseq.h
|
||||
+ lib/downcase.c
|
||||
+ lib/downcase.h
|
||||
+ lib/fmemcmp.c
|
||||
+ lib/fmemcmpi.c
|
||||
+ lib/fstrcasecmp.c
|
||||
+ lib/fstrcasecmpi.c
|
||||
+ lib/fstrcmp.c
|
||||
+ lib/fstrcmp.h
|
||||
+ lib/fstrcmpi.c
|
||||
+ lib/fstrcoll.c
|
||||
+ lib/fstrcolli.c
|
||||
+ lib/fwcscmp.c
|
||||
+ lib/fwcscmpi.c
|
||||
+ lib/gcc_attributes.h
|
||||
+ lib/mbs_to_wcs.c
|
||||
+ lib/mbs_to_wcs.h
|
||||
+ lib/minmax.h
|
||||
+ lib/nmalloc.c
|
||||
+ lib/nmalloc.h
|
||||
+ lib/patchlevel.h
|
||||
+ lib/version.c
|
||||
+ lib/version.h
|
||||
+ lib/version_print.c
|
||||
+ lib/version_print.h
|
||||
+ lib/warn_unused_result.h
|
||||
+)
|
||||
+
|
||||
+target_include_directories(${PROJECT_NAME}
|
||||
+ PRIVATE
|
||||
+ ${CMAKE_SOURCE_DIR}
|
||||
+)
|
||||
+
|
||||
+if(MSVC)
|
||||
+ add_definitions(-D_CRT_SECURE_NO_WARNINGS -Dssize_t=intptr_t)
|
||||
+endif()
|
||||
+
|
||||
+include(CMakePackageConfigHelpers)
|
||||
+write_basic_package_version_file(
|
||||
+ ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}-config-version.cmake
|
||||
+ VERSION ${PROJECT_VERSION}
|
||||
+ COMPATIBILITY AnyNewerVersion
|
||||
+)
|
||||
+
|
||||
+install(TARGETS ${PROJECT_NAME} EXPORT ${PROJECT_NAME}
|
||||
+ ARCHIVE DESTINATION lib
|
||||
+ LIBRARY DESTINATION lib
|
||||
+)
|
||||
+
|
||||
+install(FILES lib/fstrcmp.h DESTINATION include)
|
||||
+
|
||||
+if(MSVC)
|
||||
+ set_target_properties(${PROJECT_NAME} PROPERTIES COMPILE_PDB_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR} COMPILE_PDB_NAME ${PROJECT_NAME} COMPILE_PDB_NAME_DEBUG ${PROJECT_NAME}d)
|
||||
+ install(FILES ${PROJECT_BINARY_DIR}/RelWithDebInfo/${PROJECT_NAME}.pdb DESTINATION lib CONFIGURATIONS RelWithDebInfo)
|
||||
+ install(FILES ${PROJECT_BINARY_DIR}/Debug/${PROJECT_NAME}d.pdb DESTINATION lib CONFIGURATIONS Debug)
|
||||
+endif()
|
||||
+
|
||||
+install(EXPORT ${PROJECT_NAME}
|
||||
+ FILE
|
||||
+ ${PROJECT_NAME}.cmake
|
||||
+ NAMESPACE
|
||||
+ ${PROJECT_NAME}::
|
||||
+ DESTINATION
|
||||
+ lib/cmake/${PROJECT_NAME}
|
||||
+)
|
||||
+
|
||||
+install(FILES
|
||||
+ ${PROJECT_NAME}-config.cmake
|
||||
+ ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}-config-version.cmake
|
||||
+ DESTINATION
|
||||
+ lib/cmake/${PROJECT_NAME}
|
||||
+)
|
||||
+
|
||||
+export(TARGETS ${PROJECT_NAME}
|
||||
+ FILE
|
||||
+ ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}-config.cmake
|
||||
+ NAMESPACE ${PROJECT_NAME}::
|
||||
+)
|
||||
--- /dev/null
|
||||
+++ b/fstrcmp-config.cmake
|
||||
@@ -0,0 +1 @@
|
||||
+include(${CMAKE_CURRENT_LIST_DIR}/fstrcmp.cmake)
|
||||
--- /dev/null
|
||||
+++ b/lib/config.h
|
||||
@@ -0,0 +1,3 @@
|
||||
+#define HAVE_STRING_H 1
|
||||
+#define HAVE_STRERROR 1
|
||||
+#define HAVE_STDLIB_H 1
|
||||
diff --git a/lib/program_name.c b/lib/program_name.c
|
||||
index 725af51..e2eb631 100644
|
||||
--- a/lib/program_name.c
|
||||
+++ b/lib/program_name.c
|
||||
@@ -86,6 +86,7 @@ fstrcmp_program_name_get(void)
|
||||
/*
|
||||
* Does procfs have something useful?
|
||||
*/
|
||||
+#if !defined(_MSC_VER)
|
||||
{
|
||||
int n;
|
||||
char buf[2000];
|
||||
@@ -97,6 +98,7 @@ fstrcmp_program_name_get(void)
|
||||
fstrcmp_program_name_set_real(buf);
|
||||
}
|
||||
}
|
||||
+#endif
|
||||
if (progname[0])
|
||||
return progname;
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
name: fstrcmp
|
||||
buildsystem: cmake-ninja
|
||||
sources:
|
||||
- type: archive
|
||||
url: http://fstrcmp.sourceforge.net/fstrcmp-0.7.D001.tar.gz
|
||||
sha256: e4018e850f80700acee8da296e56e15b1eef711ab15157e542e7d7e1237c3476
|
||||
- type: patch
|
||||
path: fstrcmp.patch
|
||||
cleanup:
|
||||
- "*.a"
|
||||
- "*.la"
|
||||
- /include
|
||||
- /lib/cmake
|
||||
- /share
|
|
@ -0,0 +1,14 @@
|
|||
name: libnfs
|
||||
sources:
|
||||
- type: archive
|
||||
url: https://github.com/sahlberg/libnfs/archive/libnfs-3.0.0.tar.gz
|
||||
sha256: 445d92c5fc55e4a5b115e358e60486cf8f87ee50e0103d46a02e7fb4618566a5
|
||||
buildsystem: cmake-ninja
|
||||
builddir: true
|
||||
config-opts:
|
||||
- -DCMAKE_BUILD_TYPE=Release
|
||||
cleanup:
|
||||
- /include
|
||||
- /lib/cmake
|
||||
- /lib/pkgconfig
|
||||
- /share
|
|
@ -0,0 +1,14 @@
|
|||
name: lzo
|
||||
sources:
|
||||
- type: archive
|
||||
url: http://www.oberhumer.com/opensource/lzo/download/lzo-2.10.tar.gz
|
||||
sha256: c0f892943208266f9b6543b3ae308fab6284c5c90e627931446fb49b4221a072
|
||||
config-opts:
|
||||
- --enable-shared
|
||||
- --disable-static
|
||||
cleanup:
|
||||
- "*.la"
|
||||
- /include
|
||||
- /lib/cmake
|
||||
- /lib/pkgconfig
|
||||
- /share
|
|
@ -0,0 +1,16 @@
|
|||
name: rapidjson
|
||||
sources:
|
||||
- type: archive
|
||||
url: http://mirrors.kodi.tv/build-deps/sources/rapidjson-1.1.0.tar.gz
|
||||
sha256: bf7ced29704a1e696fbccf2a2b4ea068e7774fa37f6d7dd4039d0787f8bed98e
|
||||
buildsystem: cmake-ninja
|
||||
config-opts:
|
||||
- -DRAPIDJSON_BUILD_DOC=OFF
|
||||
- -DRAPIDJSON_BUILD_EXAMPLES=OFF
|
||||
- -DRAPIDJSON_BUILD_TESTS=OFF
|
||||
- -DRAPIDJSON_BUILD_THIRDPARTY_GTEST=OFF
|
||||
cleanup:
|
||||
- /include
|
||||
- /lib/cmake
|
||||
- /lib/pkgconfig
|
||||
- /share
|
|
@ -0,0 +1,33 @@
|
|||
name: samba
|
||||
sources:
|
||||
- type: archive
|
||||
url: https://download.samba.org/pub/samba/stable/samba-4.9.1.tar.gz
|
||||
sha256: 33118cbe83a87be085eba1aae6e597878b02d6ac9b2da67454ed33cf3e9853f2
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- LDFLAGS=-lcurses ./buildtools/bin/waf configure --prefix=/app --without-json-audit --disable-python --without-ad-dc --without-acl-support --without-ldap --without-ads --without-pam --without-systemd
|
||||
- ./buildtools/bin/waf build -j $FLATPAK_BUILDER_N_JOBS
|
||||
- ./buildtools/bin/waf install
|
||||
modules:
|
||||
- name: rpcsvc-proto
|
||||
sources:
|
||||
- type: archive
|
||||
url: https://github.com/thkukuk/rpcsvc-proto/releases/download/v1.4/rpcsvc-proto-1.4.tar.gz
|
||||
sha256: 867e46767812784d8dda6d8d931d6fabb30168abb02d87a2a205be6d5a2934a7
|
||||
cleanup:
|
||||
- "*.a"
|
||||
- /bin
|
||||
- /include
|
||||
- /share
|
||||
cleanup:
|
||||
- "*.a"
|
||||
- "*.la"
|
||||
- /bin
|
||||
- /bind-dns
|
||||
- /include
|
||||
- /lib/pkgconfig
|
||||
- /libexec
|
||||
- /private
|
||||
- /sbin
|
||||
- /share
|
||||
- /var
|
|
@ -0,0 +1,9 @@
|
|||
name: sndio
|
||||
sources:
|
||||
- type: archive
|
||||
url: http://www.sndio.org/sndio-1.5.0.tar.gz
|
||||
sha256: 12c70044749ad9cb7eaeb26c936816aa6b314fe4be71ef479d12272e4c5ad253
|
||||
cleanup:
|
||||
- /bin
|
||||
- /include
|
||||
- /share
|
|
@ -0,0 +1,7 @@
|
|||
name: swig
|
||||
sources:
|
||||
- type: archive
|
||||
url: https://github.com/swig/swig/archive/rel-3.0.12.tar.gz
|
||||
sha256: 64971de92b8a1da0b9ffb4b51e9214bb936c4dbbc304367899cdb07280b94af6
|
||||
cleanup:
|
||||
- "*"
|
|
@ -0,0 +1,15 @@
|
|||
name: taglib
|
||||
sources:
|
||||
- type: archive
|
||||
url: https://github.com/taglib/taglib/archive/v1.11.1.tar.gz
|
||||
sha256: b6d1a5a610aae6ff39d93de5efd0fdc787aa9e9dc1e7026fa4c961b26563526b
|
||||
buildsystem: cmake-ninja
|
||||
builddir: true
|
||||
config-opts:
|
||||
- -DCMAKE_BUILD_TYPE=Release
|
||||
cleanup:
|
||||
- /bin
|
||||
- "*.a"
|
||||
- /include
|
||||
- /lib/pkgconfig
|
||||
- /share
|
|
@ -1 +1 @@
|
|||
{"name": "tv.kodi.Kodi", "branches": ["18-b2", "master"], "archs": ["x86_64"]}
|
||||
{"name": "tv.kodi.Kodi", "branches": ["18", "18-b5", "master", "beta"], "archs": ["x86_64"]}
|
||||
|
|
|
@ -1,163 +1,72 @@
|
|||
id: tv.kodi.Kodi
|
||||
runtime: org.freedesktop.Platform
|
||||
runtime: org.freedesktop.Sdk
|
||||
runtime-version: 18.08
|
||||
sdk: org.freedesktop.Sdk
|
||||
branch: 18-b2
|
||||
branch: 18-b5
|
||||
separate-locales: false
|
||||
sdk-extensions:
|
||||
- org.freedesktop.Sdk.Extension.openjdk10
|
||||
|
||||
modules:
|
||||
- name: lzo2
|
||||
sources:
|
||||
- type: git
|
||||
url: https://github.com/damageboy/lzo2.git
|
||||
- name: libass
|
||||
sources:
|
||||
- type: archive
|
||||
url: https://github.com/libass/libass/archive/0.14.0.tar.gz
|
||||
sha256: 82e70ee1f9afe2e54ab4bf6510b83bb563fcb2af978f0f9da82e2dbc9ae0fd72
|
||||
- name: libcdio
|
||||
sources:
|
||||
- type: archive
|
||||
url: https://git.savannah.gnu.org/cgit/libcdio.git/snapshot/libcdio-release-2.0.0.tar.gz
|
||||
sha256: d878079955b9f92875686052ad7b61bf7e812d40b11509c008e9f29f107c9770
|
||||
config-opts:
|
||||
- --without-cd-drive
|
||||
- --without-cd-info
|
||||
- --without-cdda-player
|
||||
- --without-cd-read
|
||||
- --without-iso-info
|
||||
- --without-iso-read
|
||||
- name: flatbuffers
|
||||
sources:
|
||||
- type: archive
|
||||
url: https://github.com/google/flatbuffers/archive/v1.9.0.tar.gz
|
||||
sha256: 5ca5491e4260cacae30f1a5786d109230db3f3a6e5a0eb45d0d0608293d247e3
|
||||
buildsystem: cmake-ninja
|
||||
builddir: true
|
||||
config-opts:
|
||||
- -DCMAKE_INSTALL_LIBDIR=/app/lib
|
||||
- -DCMAKE_BUILD_TYPE=Release
|
||||
- -DCMAKE_CXX_COMPILER=clang++
|
||||
- -DFLATBUFFERS_BUILD_FLATLIB=OFF
|
||||
- -DFLATBUFFERS_BUILD_SHAREDLIB=ON
|
||||
- name: fmt
|
||||
sources:
|
||||
- type: archive
|
||||
url: https://github.com/fmtlib/fmt/archive/5.2.0.tar.gz
|
||||
sha256: b0e8c71a8fb906123966686f788e83cd95ae499afe9c25ff6284f624488435ac
|
||||
buildsystem: cmake-ninja
|
||||
builddir: true
|
||||
config-opts:
|
||||
- -DCMAKE_BUILD_TYPE=Release
|
||||
cleanup:
|
||||
- /lib64
|
||||
- name: fstrcmp
|
||||
sources:
|
||||
- type: archive
|
||||
url: https://netcologne.dl.sourceforge.net/project/fstrcmp/fstrcmp/0.7/fstrcmp-0.7.D001.tar.gz
|
||||
sha256: e4018e850f80700acee8da296e56e15b1eef711ab15157e542e7d7e1237c3476
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- ./configure --prefix=/app
|
||||
- echo "echo Skip PDF; echo '' > etc/building.pdf; echo '' > etc/readme.pdf; echo '' > etc/reference.pdf" > ps2pdf
|
||||
- chmod +x ps2pdf
|
||||
- PATH=$PATH:`pwd` make install
|
||||
- name: rapidjson
|
||||
sources:
|
||||
- type: git
|
||||
url: https://github.com/Tencent/rapidjson.git
|
||||
buildsystem: cmake-ninja
|
||||
builddir: true
|
||||
config-opts:
|
||||
- -DCMAKE_BUILD_TYPE=Release
|
||||
- name: taglib
|
||||
sources:
|
||||
- type: archive
|
||||
url: https://github.com/taglib/taglib/archive/v1.11.1.tar.gz
|
||||
sha256: b6d1a5a610aae6ff39d93de5efd0fdc787aa9e9dc1e7026fa4c961b26563526b
|
||||
buildsystem: cmake-ninja
|
||||
builddir: true
|
||||
config-opts:
|
||||
- -DCMAKE_BUILD_TYPE=Release
|
||||
- packages/cdio.yaml
|
||||
- packages/flatbuffers.yaml
|
||||
- packages/fmt.yaml
|
||||
- packages/fstrcmp.yaml
|
||||
- packages/taglib.yaml
|
||||
- "../tools/tinyxml/tinyxml.yaml"
|
||||
- "../shared-modules/glu/glu-9.0.0.json"
|
||||
- name: java
|
||||
sources:
|
||||
- type: archive
|
||||
url: https://download.java.net/java/GA/jdk10/10.0.2/19aef61b38124481863b1413dce1855f/13/openjdk-10.0.2_linux-x64_bin.tar.gz
|
||||
sha256: f3b26abc9990a0b8929781310e14a339a7542adfd6596afb842fa0dd7e3848b2
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- mkdir -p /app/java
|
||||
- cp -rv * /app/java
|
||||
- echo "exec /app/java/bin/java \$@" > /app/bin/java
|
||||
- echo "exec /app/java/bin/javac \$@" > /app/bin/javac
|
||||
- chmod +x /app/bin/java /app/bin/javac
|
||||
cleanup:
|
||||
- "*"
|
||||
- name: swig
|
||||
sources:
|
||||
- type: archive
|
||||
url: https://github.com/swig/swig/archive/rel-3.0.12.tar.gz
|
||||
sha256: 64971de92b8a1da0b9ffb4b51e9214bb936c4dbbc304367899cdb07280b94af6
|
||||
cleanup:
|
||||
- "*"
|
||||
- name: cmake
|
||||
sources:
|
||||
- type: archive
|
||||
url: https://cmake.org/files/v3.12/cmake-3.12.2.tar.gz
|
||||
sha256: 0f97485799e51a7070cc11494f3e02349b0fc3a24cc12b082e737bf67a0581a4
|
||||
buildsystem: cmake-ninja
|
||||
builddir: true
|
||||
config-opts:
|
||||
- -DCMAKE_BUILD_TYPE=Release
|
||||
cleanup:
|
||||
- "*"
|
||||
- packages/swig.yaml
|
||||
- "../shared-modules/python2.7/python-2.7.15.json"
|
||||
- "../shared-modules/udev/udev-175.json"
|
||||
- name: libnfs
|
||||
sources:
|
||||
- type: archive
|
||||
url: https://github.com/sahlberg/libnfs/archive/libnfs-3.0.0.tar.gz
|
||||
sha256: 445d92c5fc55e4a5b115e358e60486cf8f87ee50e0103d46a02e7fb4618566a5
|
||||
buildsystem: cmake-ninja
|
||||
builddir: true
|
||||
config-opts:
|
||||
- -DCMAKE_BUILD_TYPE=Release
|
||||
- name: sndio
|
||||
sources:
|
||||
- type: archive
|
||||
url: http://www.sndio.org/sndio-1.5.0.tar.gz
|
||||
sha256: 12c70044749ad9cb7eaeb26c936816aa6b314fe4be71ef479d12272e4c5ad253
|
||||
- packages/libnfs.yaml
|
||||
- packages/sndio.yaml
|
||||
- packages/lzo.yaml
|
||||
- packages/rapidjson.yaml
|
||||
- packages/ffmpeg.yaml
|
||||
- packages/samba.yaml
|
||||
- name: kodi
|
||||
build-options:
|
||||
build-args:
|
||||
- --share=network
|
||||
sources:
|
||||
- type: archive
|
||||
url: https://github.com/xbmc/xbmc/archive/18.0b2-Leia.tar.gz
|
||||
sha256: 25fc0aabfb523d4db19e08b1990d4851592ee2adec0424f5fb729bd3672eae69
|
||||
url: https://github.com/xbmc/xbmc/archive/18.0b5-Leia.tar.gz
|
||||
sha256: 7735bd346d3f1d62f8bd7a37cc5ad25b1fa16404c133e10e12995ac9d23d0161
|
||||
- type: file
|
||||
url: http://mirrors.kodi.tv/build-deps/sources/crossguid-8f399e8bd4.tar.gz
|
||||
sha256: 3d77d09a5df0de510aeeb940df4cb534787ddff3bb1828779753f5dfa1229d10
|
||||
dest: build/download/
|
||||
- type: file
|
||||
url: https://github.com/xbmc/libdvdcss/archive/1.4.1-Leia-Beta-3.tar.gz
|
||||
sha256: 579aa102ac14ff4a21aa4081fe47f8cb3941002a37ee96286d3737afd79e80d9
|
||||
dest: build/download/
|
||||
- type: file
|
||||
url: https://github.com/xbmc/libdvdread/archive/6.0.0-Leia-Alpha-3.tar.gz
|
||||
sha256: a30b6aa0aad0f2c505bc77948af2d5531a80b6e68112addb4c123fca24d5d3bf
|
||||
dest: build/download/
|
||||
- type: file
|
||||
url: https://github.com/xbmc/libdvdnav/archive/6.0.0-Leia-Alpha-3.tar.gz
|
||||
sha256: 071e414e61b795f2ff9015b21a85fc009dde967f27780d23092643916538a57a
|
||||
dest: build/download/
|
||||
dest-filename: libdvdnav-6.0.0-Leia-Alpha-3.tar.gz
|
||||
- type: patch
|
||||
path: kodi-sh-in.patch
|
||||
buildsystem: cmake-ninja
|
||||
builddir: true
|
||||
config-opts:
|
||||
- -DCMAKE_BUILD_TYPE=Release
|
||||
- -DCMAKE_INSTALL_LIBDIR=/app/lib
|
||||
- name: fix-starter
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- bash -c "for x in /app/share/icons/hicolor/*/apps/kodi.png; do mv -v \$x \${x%kodi.png}tv.kodi.Kodi.png; done"
|
||||
- mv /app/share/applications/kodi.desktop /app/share/applications/tv.kodi.Kodi.desktop
|
||||
- perl -pi -e s/Icon\\=kodi/Icon\\=tv\\.kodi\\.Kodi/g /app/share/applications/tv.kodi.Kodi.desktop
|
||||
cleanup:
|
||||
- /include
|
||||
- /lib/debug
|
||||
- /lib/cmake
|
||||
- /lib/pkgconfig
|
||||
- /share/doc
|
||||
- /share/info
|
||||
- /share/man
|
||||
- /share/xsessions
|
||||
- -DJava_JAVA_EXECUTABLE=/usr/lib/sdk/openjdk10/bin/java
|
||||
- -DCROSSGUID_URL=build/download/crossguid-8f399e8bd4.tar.gz
|
||||
- -DLIBDVDCSS_URL=build/download/1.4.1-Leia-Beta-3.tar.gz
|
||||
- -DLIBDVDREAD_URL=build/download/6.0.0-Leia-Alpha-3.tar.gz
|
||||
- -DLIBDVDNAV_URL=build/download/libdvdnav-6.0.0-Leia-Alpha-3.tar.gz
|
||||
cleanup:
|
||||
- /include
|
||||
- /share/doc
|
||||
- /share/man
|
||||
|
||||
cleanup:
|
||||
- /lib/debug
|
||||
rename-desktop-file: kodi.desktop
|
||||
rename-icon: kodi
|
||||
command: kodi
|
||||
finish-args:
|
||||
- --share=network
|
||||
|
|
Loading…
Reference in New Issue