Skip to content

Commit

Permalink
Added Debian/Ubuntu packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
Matvey Kozhev authored and icefox committed Jun 2, 2008
1 parent 72f2be4 commit 2e300f9
Show file tree
Hide file tree
Showing 10 changed files with 155 additions and 0 deletions.
7 changes: 7 additions & 0 deletions builddeb.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/sh
ln -sf debian-upstream debian
cat debian/changelog.in | sed "s/##DATE##/`date +%Y%m%d`/g" | sed "s/##RDATE##/`date -R`/g" | sed "s/##DIST##/`lsb_release -cs`/g" > debian/changelog
debuild -b
fakeroot debian/rules clean
rm debian/changelog
rm debian
34 changes: 34 additions & 0 deletions debian-upstream/arora.1
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
.TH ARORA "1" "May 2008"

.SH NAME
Arora - Lightweight web browser based on Qt and WebKit

.SH SYNOPSIS
.B arora

.SH DESCRIPTION
.B Arora
is a lightweight, cross-platform web browser using the Qt 4.4 port of the WebKit
layout engine. It is based on the demo browser application shipped with Qt
demos.
.PP
.B Arora
cannot be used from the command line, as it is Qt-based software.
Please run it under X.

.SH OPTIONS
.B Arora
has no options.

.SH BUGS
Please report bugs to \fIhttp://code.google.com/p/arora/issues/list\fR.

.SH AUTHOR
Arora is developed by Benjamin C. Meyer <[email protected]>, based on code release by Trolltech ASA.
.PP
This manual page was written by Matvey Kozhev <[email protected]> for the Ubuntu system (but may be used by others).
.PP
Permission is granted to copy, distribute and/or modify this document under the terms of the
GNU General Public License, Version 2 or any later version published by the Free Software Foundation.
.PP
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
5 changes: 5 additions & 0 deletions debian-upstream/changelog.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
arora (0.2~git##DATE##-1~##DIST##1~upstream1) ##DIST##; urgency=low

* Initial release (LP: #231731)

-- Matvey Kozhev <[email protected]> ##RDATE##
1 change: 1 addition & 0 deletions debian-upstream/compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
6
23 changes: 23 additions & 0 deletions debian-upstream/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Source: arora
Section: web
Priority: optional
Maintainer: Ubuntu MOTU Developers <[email protected]>
XSBC-Original-Maintainer: Matvey Kozhev <[email protected]>
Build-Depends: cdbs, debhelper (>= 6), git-core, libqt4-dev (>= 4.4.0)
Standards-Version: 3.7.3
Homepage: http://arora-browser.org

Package: arora
Architecture: any
Depends: ${shlibs:Depends}
Description: Lightweight web browser based on Qt and WebKit
Arora is a lightweight, cross-platform web browser using the Qt 4.4 port of
the WebKit layout engine. It is based on the demo browser application shipped
with Qt demos.
.
Its features include:
* WebKit layout engine
* History
* Bookmarks
* User styles
* Tabbed browsing
54 changes: 54 additions & 0 deletions debian-upstream/copyright
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
This package was debianized by Matvey Kozhev <[email protected]> on
Sun, 18 May 2008 22:29:04 +0700.

It was downloaded from <http://arora-browser.org>.

Upstream Authors:

Copyright 2008 Benjamin C. Meyer <[email protected]>
Copyright (C) 2007-2008 Trolltech ASA. All rights reserved.

License:

This file may be used under the terms of the GNU General Public
License versions 2.0 or 3.0 as published by the Free Software
Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
included in the packaging of this file. Alternatively you may (at
your option) use any later version of the GNU General Public
License if such license has been publicly approved by Trolltech ASA
(or its successors, if any) and the KDE Free Qt Foundation. In
addition, as a special exception, Trolltech gives you certain
additional rights. These rights are described in the Trolltech GPL
Exception version 1.2, which can be found at
http://www.trolltech.com/products/qt/gplexception/ and in the file
GPL_EXCEPTION.txt in this package.

Please review the following information to ensure GNU General
Public Licensing requirements will be met:
http://trolltech.com/products/qt/licenses/licensing/opensource/. If
you are unsure which license is appropriate for your use, please
review the following information:
http://trolltech.com/products/qt/licenses/licensing/licensingoverview
or contact the sales department at [email protected].

In addition, as a special exception, Trolltech, as the sole
copyright holder for Qt Designer, grants users of the Qt/Eclipse
Integration plug-in the right for the Qt/Eclipse Integration to
link to functionality provided by Qt Designer and its related
libraries.

This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE. Trolltech reserves all rights not expressly
granted herein.

This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.

The Debian packaging is (C) 2008, Matvey Kozhev <[email protected]> and
is licensed under the same conditions as above.

On Debian systems, the complete text of the GNU General Public License is
available at `/usr/share/common-licenses/GPL-2' for version 2 and
`/usr/share/common-licenses/GPL-3' for version 3.

3 changes: 3 additions & 0 deletions debian-upstream/dirs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
usr/share/icons/hicolor/16x16/apps
usr/share/icons/hicolor/32x32/apps
usr/share/icons/hicolor/128x128/apps
1 change: 1 addition & 0 deletions debian-upstream/docs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
README
1 change: 1 addition & 0 deletions debian-upstream/manpages
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
debian/arora.1
26 changes: 26 additions & 0 deletions debian-upstream/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/qmake.mk

QMAKE = qmake-qt4
DEB_QMAKE_ARGS += PREFIX=/usr QMAKE_LFLAGS+=-Wl,--as-needed
DEB_PHONY_RULES += get-orig-source
VERSION = $(shell dpkg-parsechangelog | egrep '^Version' | sed s/"Version: "//)
UPSTREAM_VERSION = $(shell echo $(VERSION) | sed s/-.*//)
DEB_INSTALL_CHANGELOGS_ALL = ChangeLog

makebuilddir/arora::
./generateAuthors

install/arora::
cp src/data/arora-16.png debian/arora/usr/share/icons/hicolor/16x16/apps/arora.png
cp src/data/arora-32.png debian/arora/usr/share/icons/hicolor/32x32/apps/arora.png
cp src/data/arora-128.png debian/arora/usr/share/icons/hicolor/128x128/apps/arora.png

get-orig-source:
cd debian && git clone git://github.com/icefox/arora.git arora-$(UPSTREAM_VERSION)
cd debian/arora-$(UPSTREAM_VERSION) && \
git archive --format=tar --prefix=arora-$(UPSTREAM_VERSION)/ HEAD | \
gzip -9c > ../../../arora_$(UPSTREAM_VERSION).orig.tar.gz
rm -rf debian/arora-$(UPSTREAM_VERSION)

0 comments on commit 2e300f9

Please sign in to comment.