-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Commit first, non-working, WIP packaging.
- Loading branch information
Rogério Brito
committed
Jun 21, 2017
1 parent
9506237
commit 1775673
Showing
11 changed files
with
182 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
kotlin-compiler for Debian | ||
------------------------- | ||
|
||
The version number of the package has been changed, since Debian version | ||
numbers can't contain a hyphen, but upstream uses them. | ||
|
||
The hypen has been changed to a dot. As a result, the first packaged release | ||
had a version of 1.1.2-5, which was rewritten as 1.1.2.5. | ||
|
||
-- Rogério Brito <[email protected]>, Wed, 21 Jun 2017 18:50:03 -0300 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
kotlin-compiler for Debian | ||
------------------------- | ||
|
||
This package, at the time of the first packaging, does not (not even close) | ||
conform to the Debian policy, since it is simply a repackaging of the | ||
binaries that the upstream deelopers provide. | ||
|
||
As time goes on, I intend to be replacing the parts in question with | ||
(unpatched) libraries and programs that are already in the Debian repository | ||
and package the other parts that are still not there, so that it can | ||
gradually get closer and closer to being suitable for inclusion in Debian | ||
proper. | ||
|
||
The main reason for the package being made this way is to avoid external | ||
package managers like SDKMAN or to avoid losing control of programs | ||
installed manually on the system, especially when it comes time to upgrade | ||
said programs. | ||
|
||
-- Rogério Brito <[email protected]>, Wed, 21 Jun 2017 19:00:13 -0300 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
kotlin-compiler (1.1.2.5-1) unstable; urgency=medium | ||
|
||
* Initial release (Closes: #nnnn) | ||
|
||
-- Rogério Brito <[email protected]> Wed, 21 Jun 2017 18:44:06 -0300 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Source: kotlin-compiler | ||
Section: devel | ||
Priority: optional | ||
Maintainer: Rogério Brito <[email protected]> | ||
Build-Depends: debhelper (>= 9) | ||
Standards-Version: 3.9.8 | ||
Homepage: https://kotlinlang.org/ | ||
Vcs-Git: https://github.com/rbrito/pkg-kotlin-compiler | ||
Vcs-Browser: https://github.com/rbrito/pkg-kotlin-compiler | ||
|
||
Package: kotlin-compiler | ||
Architecture: all | ||
Depends: ${misc:Depends} | ||
Description: compiler for the Kotlin language | ||
Kotlin is a statically typed programming language for modern multiplatform | ||
applications. | ||
. | ||
This particular implementation generates programs that are meant to be run | ||
on the Java Virtual Machine (JVM) and it is "100% interoperable with Java | ||
and Android". |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | ||
Upstream-Name: kotlin-compiler | ||
Source: <url://example.com> | ||
|
||
Files: * | ||
Copyright: <years> <put author's name and email here> | ||
<years> <likewise for another author> | ||
License: <special license> | ||
<Put the license of the package here indented by 1 space> | ||
<This follows the format of Description: lines in control file> | ||
. | ||
<Including paragraphs> | ||
|
||
# If you want to use GPL v2 or later for the /debian/* files use | ||
# the following clauses, or change it to suit. Delete these two lines | ||
Files: debian/* | ||
Copyright: 2017 Rogério Brito <[email protected]> | ||
License: GPL-2+ | ||
This package is free software; you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation; either version 2 of the License, or | ||
(at your option) any later version. | ||
. | ||
This package is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
. | ||
You should have received a copy of the GNU General Public License | ||
along with this program. If not, see <https://www.gnu.org/licenses/> | ||
. | ||
On Debian systems, the complete text of the GNU General | ||
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". | ||
|
||
# Please also look if there are files or directories which have a | ||
# different copyright/license attached and list them here. | ||
# Please avoid picking licenses with terms that are more restrictive than the | ||
# packaged work, as it may make Debian's contributions unacceptable upstream. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
README.source | ||
README.Debian |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
.\" Hey, EMACS: -*- nroff -*- | ||
.\" (C) Copyright 2017 Rogério Brito <[email protected]>, | ||
.\" | ||
.\" First parameter, NAME, should be all caps | ||
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection | ||
.\" other parameters are allowed: see man(7), man(1) | ||
.TH Kotlin-compiler SECTION "June 21 2017" | ||
.\" Please adjust this date whenever revising the manpage. | ||
.\" | ||
.\" Some roff macros, for reference: | ||
.\" .nh disable hyphenation | ||
.\" .hy enable hyphenation | ||
.\" .ad l left justify | ||
.\" .ad b justify to both left and right margins | ||
.\" .nf disable filling | ||
.\" .fi enable filling | ||
.\" .br insert line break | ||
.\" .sp <n> insert n+1 empty lines | ||
.\" for manpage-specific macros, see man(7) | ||
.SH NAME | ||
kotlin-compiler \- program to do something | ||
.SH SYNOPSIS | ||
.B kotlin-compiler | ||
.RI [ options ] " files" ... | ||
.br | ||
.B bar | ||
.RI [ options ] " files" ... | ||
.SH DESCRIPTION | ||
This manual page documents briefly the | ||
.B kotlin-compiler | ||
and | ||
.B bar | ||
commands. | ||
.PP | ||
.\" TeX users may be more comfortable with the \fB<whatever>\fP and | ||
.\" \fI<whatever>\fP escape sequences to invode bold face and italics, | ||
.\" respectively. | ||
\fBkotlin-compiler\fP is a program that... | ||
.SH OPTIONS | ||
These programs follow the usual GNU command line syntax, with long | ||
options starting with two dashes (`-'). | ||
A summary of options is included below. | ||
For a complete description, see the Info files. | ||
.TP | ||
.B \-h, \-\-help | ||
Show summary of options. | ||
.TP | ||
.B \-v, \-\-version | ||
Show version of program. | ||
.SH SEE ALSO | ||
.BR bar (1), | ||
.BR baz (1). | ||
.br | ||
The programs are documented fully by | ||
.IR "The Rise and Fall of a Fooish Bar" , | ||
available via the Info system. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/usr/bin/make -f | ||
# See debhelper(7) (uncomment to enable) | ||
# output every command that modifies files on the build system. | ||
#export DH_VERBOSE = 1 | ||
|
||
|
||
# see FEATURE AREAS in dpkg-buildflags(1) | ||
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all | ||
|
||
# see ENVIRONMENT in dpkg-buildflags(1) | ||
# package maintainers to append CFLAGS | ||
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic | ||
# package maintainers to append LDFLAGS | ||
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed | ||
|
||
|
||
%: | ||
dh $@ | ||
|
||
|
||
# dh_make generated override targets | ||
# This is example for Cmake (See https://bugs.debian.org/641051 ) | ||
#override_dh_auto_configure: | ||
# dh_auto_configure -- # -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3.0 (quilt) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
version=4 | ||
|
||
opts="dversionmangle=s/\.(\d+)$/-$1/,filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%kotlin-compiler-$1.tar.gz%" \ | ||
https://github.com/JetBrains/kotlin/tags \ | ||
(?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate |