This repository was archived by the owner on Nov 11, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 178
Debian packaging #48
Closed
Closed
Debian packaging #48
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
48ca1be
Debian packaging
6ba8619
Script to generate Debian package
790157c
Vala PPA in debian script
04b621b
Bumped debhelper version
2661e63
Remove manual name targets
37284de
Debian copyright file policy 3.9.4
99cbb37
Vala versions in Debian control file
14f1eb7
Drastically reduced Debian rules file
4643cd3
Reduced Debian package dependencies
efe7213
Desktop file conforms to http://standards.freedesktop.org/menu-spec/1…
c625030
Added missing binaries to Debian includes
ae56c70
A minimal manpage (issue #48)
891b91a
fakeroot not required in debian.sh (issue #48)
5bb7497
Rename parent directory within debian.sh (issue #48)
e54c1ec
Abbreviated Debian copyright file (issue #48)
b43a298
Gee headers (issue #48)
e82d98d
Use --exclude-vcs (issue #48)
7c008b6
Tidying debian.sh (issue #48)
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Empty file.
This file contains hidden or 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
This file contains hidden or 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 @@ | ||
| # Run this script in order to generate a Debian package | ||
| # | ||
| # Ensure that the version number below is correct | ||
| # | ||
| # The directory within which the finalterm is contained | ||
| # should have the name finalterm-x.xx, where the x's are | ||
| # the version number. | ||
| # | ||
| # A corresponding version number entry must exist at the | ||
| # top of debian/changelog and the email signature name | ||
| # within that file should correspond exactly with your | ||
| # GPG key. | ||
| # | ||
| #!/bin/bash | ||
|
|
||
| APP=finalterm | ||
| VERSION=0.10 | ||
| DIR=${APP}-${VERSION} | ||
|
|
||
| # ensure that recent version of vala is available | ||
| #sudo add-apt-repository ppa:vala-team | ||
|
|
||
| # rename the directory | ||
| mv ../${APP} ../${DIR} | ||
|
|
||
| # clean | ||
| rm -f ${APP} \#* \.#* debian/*.log debian/*.substvars debian/files | ||
| rm -rf debian/deb.* debian/${APP} build obj-* | ||
| rm -f ../${APP}*.deb ../${APP}*.changes ../${APP}*.asc ../${APP}*.dsc | ||
|
|
||
| # Create a source archive | ||
| tar -cvzf ../${APP}_${VERSION}.orig.tar.gz ../${DIR} --exclude-vcs --exclude=build | ||
|
|
||
| # Build the package | ||
| dpkg-buildpackage -F | ||
|
|
||
| # rename the parent directory back to the original | ||
| mv ../${DIR} ../${APP} | ||
This file contains hidden or 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 @@ | ||
| finalterm (0.10-1) raring; urgency=low | ||
|
|
||
| * Added Debian packaging | ||
|
|
||
| -- Bob Mottram (4096 bits) <[email protected]> Mon, 20 May 2013 14:00:00 +0100 |
This file contains hidden or 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 hidden or 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,18 @@ | ||
| Source: finalterm | ||
| Section: contrib/utils | ||
| Priority: extra | ||
| Maintainer: Philipp Emanuel Weidmann <[email protected]> | ||
| Build-Depends: debhelper (>= 9.0.0), cmake, valac-0.18 | valac-0.20, libgee-0.8-2, libgee-0.8-dev, libmx-dev, libclutter-gtk-1.0-dev, libnotify-dev, libunity-dev, libkeybinder-3.0-dev | ||
| Standards-Version: 3.9.4 | ||
| Homepage: http://finalterm.org/ | ||
| Vcs-Browser: https://github.com/p-e-w/finalterm | ||
| Vcs-Git: https://github.com/p-e-w/finalterm.git | ||
|
|
||
| Package: finalterm | ||
| Architecture: any | ||
| Depends: ${shlibs:Depends} | ||
| Description: At last – a modern terminal emulator | ||
| finalterm goes beyond mere emulation and understands what is | ||
| happening inside the shell it is hosting. This allows it to | ||
| offer features no other terminal can, including semantic text | ||
| menus, smart command completion and GUI terminal controls |
This file contains hidden or 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,28 @@ | ||
| Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | ||
| Upstream-Name: finalterm | ||
| Source: https://github.com/p-e-w/finalterm | ||
|
|
||
| Files: * | ||
| Copyright: Copyright 2013 Philipp Emanuel Weidmann <[email protected]> | ||
| License: GPL-3.0+ | ||
|
|
||
| Files: debian/* | ||
| Copyright: Copyright 2013 Philipp Emanuel Weidmann <[email protected]> | ||
| License: GPL-3.0+ | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Avoid to name a license twice. So use: See also the standard itself. |
||
|
|
||
| License: GPL-3.0+ | ||
| This program 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 3 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 <http://www.gnu.org/licenses/>. | ||
| . | ||
| On Debian systems, the complete text of the GNU General | ||
| Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". | ||
This file contains hidden or 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 @@ | ||
| README.md |
This file contains hidden or 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 @@ | ||
| man/finalterm.1.gz |
This file contains hidden or 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,4 @@ | ||
| #!/usr/bin/make -f | ||
|
|
||
| %: | ||
| dh $@ |
This file contains hidden or 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 hidden or 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,13 @@ | ||
| man/finalterm.1.gz | ||
| data/Icons/hicolor/22x22/apps/final-term.png | ||
| data/Icons/hicolor/24x24/apps/final-term.png | ||
| data/Icons/hicolor/32x32/apps/final-term.png | ||
| data/Icons/hicolor/48x48/apps/final-term.png | ||
| data/Icons/hicolor/64x64/apps/final-term.png | ||
| data/Icons/hicolor/96x96/apps/final-term.png | ||
| data/Icons/hicolor/scalable/apps/final-term.svg | ||
| data/Icons/source/extra-small.svg | ||
| data/Icons/source/regular.svg | ||
| data/Icons/source/small.svg | ||
| data/Themes/default/button-active.png | ||
| data/Themes/default/button.png |
Binary file not shown.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A really cool thing would be to get the version string from git tags. (But that's rather advanced, an example can be found in vala sourcecode: build-aux/git-version-gen)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, that would save some manual effort when increasing the version number.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not using any tags ATM because I'm not actually versioning yet. I consider Final Term to be in an unstable, pre-alpha state where everything can change at any time and I do not want to worry about semantic implications of version numbers at the moment.
Once basic, everyday functionality is ready, versioning will start and I'll switch from a "push at will" model to an actual release cycle.
At that point, pulling the version from tags would indeed be very cool :)