Bug 38647 - [Qt] Upstream maemo/fremantle debianization infra structure
Summary: [Qt] Upstream maemo/fremantle debianization infra structure
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Normal
Assignee: Rodrigo Belem
URL:
Keywords: Qt, QtTriaged
Depends on:
Blocks:
 
Reported: 2010-05-06 08:32 PDT by Rodrigo Belem
Modified: 2010-06-16 13:22 PDT (History)
5 users (show)

See Also:


Attachments
Patch with proposed debianization (7.75 KB, patch)
2010-05-06 12:48 PDT, Rodrigo Belem
hausmann: review-
Details | Formatted Diff | Diff
Updated patch with the requested changes (6.91 KB, patch)
2010-05-12 09:46 PDT, Rodrigo Belem
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rodrigo Belem 2010-05-06 08:32:59 PDT
Maemo users may be able to build their own QtWebKit2.0 debian packages.
Comment 1 Rodrigo Belem 2010-05-06 12:48:34 PDT
Created attachment 55287 [details]
Patch with proposed debianization
Comment 2 Laszlo Gombos 2010-05-06 17:56:53 PDT
How much of this is specific to Maemo vs. generic Debian packaging ? Will this work on a desktop Debian environment ?
Comment 3 Kenneth Rohde Christiansen 2010-05-07 05:51:40 PDT
(In reply to comment #2)
> How much of this is specific to Maemo vs. generic Debian packaging ? Will this
> work on a desktop Debian environment ?

And how to handle Maemo6 packaging when that is going to be needed?
Comment 4 Antonio Gomes 2010-05-07 06:01:37 PDT
I asked exactly both these questions to Belem in person.


(In reply to comment #2)
> And how to handle Maemo6 packaging when that is going to be needed?

According to him, the short term plan is to upstream the maemo5 debianization (WebKit/qt/debian/fremantle), but it'd become in a soon future general for maemo, so WebKit/qt/debian/maemo/

maybe by DEB_BUILD_OPTIONS="{fremantle,harmatan}, XXX"

> How much of this is specific to Maemo vs. generic Debian packaging ? Will this
> work on a desktop Debian environment ?

I will let Belem to answer that. But I agree that we should make it so that all debian based distros could use the debianization infra we provide here to create their packages. IMO it should even support patching by allowing using quilt, so they could easily patch it for shipping.
Comment 5 Rodrigo Belem 2010-05-07 06:09:51 PDT
(In reply to comment #2)
> How much of this is specific to Maemo vs. generic Debian packaging ? Will this
> work on a desktop Debian environment ?

It will work on debian with small changes, such as installation path will be different and some dependencies have different package name.
Comment 6 Rodrigo Belem 2010-05-07 06:12:00 PDT
(In reply to comment #3)
> (In reply to comment #2)
> > How much of this is specific to Maemo vs. generic Debian packaging ? Will this
> > work on a desktop Debian environment ?
> 
> And how to handle Maemo6 packaging when that is going to be needed?

I think it will work without changes for harmattan.
Comment 7 Laszlo Gombos 2010-05-07 14:44:29 PDT
If we see this work being useful for all Debian based distro's in the near future, i would vote for putting it under WebKit/qt/debian/ (without any sub directory below) - even if in its current status it has been only tested with Fremantle.
Comment 8 Simon Hausmann 2010-05-07 15:45:05 PDT
(In reply to comment #7)
> If we see this work being useful for all Debian based distro's in the near
> future, i would vote for putting it under WebKit/qt/debian/ (without any sub
> directory below) - even if in its current status it has been only tested with
> Fremantle.

I think the packages are going to be debian distro specific, I don't expect there to be much sharing. The control files are going to differ, so are the .install and changelogs.

However I also think that WebKit/qt/debian/fremantle is the right location for the fremantle specific files (or maemo5, whichever you like :)
Comment 9 Simon Hausmann 2010-05-12 05:08:15 PDT
Comment on attachment 55287 [details]
Patch with proposed debianization

The files look fine to me, but please move them to WebKit/qt/debian/fremantle or maemo5.
Comment 10 Kenneth Rohde Christiansen 2010-05-12 05:21:50 PDT
use maemo5 please
Comment 11 Rodrigo Belem 2010-05-12 09:46:29 PDT
Created attachment 55862 [details]
Updated patch with the requested changes
Comment 12 Kenneth Rohde Christiansen 2010-05-12 09:52:47 PDT
Comment on attachment 55862 [details]
Updated patch with the requested changes

WebKit/qt/debian/maemo5/control:30
 +   QtWebKit provides a Web browser engine that makes it easy to embed content
I would say Web contents and editing engine (I think that is what the site says)

WebKit/qt/debian/maemo5/control:33
 +  Package: libqt4-webkit-dev
I wonder if we should rename this as it is now a separate project
Comment 13 Simon Hausmann 2010-05-20 04:49:12 PDT
As discussed on the phone, we're going to use git-buildpackage and separate package repositories for the actual packaging.
Comment 14 Laszlo Gombos 2010-06-02 20:17:33 PDT
(In reply to comment #13)
> As discussed on the phone, we're going to use git-buildpackage and separate package repositories for the actual packaging.

Simon, are you saying that this build files should not be up-streamed ?
Comment 15 Simon Hausmann 2010-06-16 13:22:32 PDT
(In reply to comment #14)
> (In reply to comment #13)
> > As discussed on the phone, we're going to use git-buildpackage and separate package repositories for the actual packaging.
> 
> Simon, are you saying that this build files should not be up-streamed ?

Yep
Comment 16 Simon Hausmann 2010-06-16 13:22:54 PDT
Comment on attachment 55862 [details]
Updated patch with the requested changes

Clearing review, as the packaging files are maintained separately now.