|
2011-12-14
, 20:49
|
Posts: 8 |
Thanked: 3 times |
Joined on Dec 2011
|
#72
|
|
2011-12-14
, 21:16
|
Posts: 307 |
Thanked: 1,460 times |
Joined on May 2011
@ Switzerland
|
#73
|
The Following User Says Thank You to billranton For This Useful Post: | ||
|
2011-12-14
, 23:44
|
|
Posts: 1,391 |
Thanked: 4,272 times |
Joined on Sep 2007
@ Vienna, Austria
|
#74
|
The Following User Says Thank You to thp For This Useful Post: | ||
|
2011-12-15
, 06:16
|
Posts: 4 |
Thanked: 2 times |
Joined on Jul 2010
|
#75
|
The Following User Says Thank You to niels For This Useful Post: | ||
|
2011-12-15
, 08:42
|
Posts: 6 |
Thanked: 0 times |
Joined on Dec 2011
|
#76
|
<emoticon_theme theme_uuid="2b8a0922-d6c5-420e-a145-9c7a508ddc2b" service_uuid="skype" theme_name="Skype">
<emoticon_theme service_uuid="facebook-chat" theme_uuid="76564e15-4d9c-569e-7c5a-b6746523ed31" theme_name="Facebook-Chat">
|
2011-12-15
, 09:09
|
Posts: 307 |
Thanked: 1,460 times |
Joined on May 2011
@ Switzerland
|
#77
|
I making QML app with features:
- changing account name, username, passwordm jabber server, ssl
- checking and installing libpurple0, telepathy-haze and im-providers
for installing just only some services need separate debs for each services
The Following User Says Thank You to billranton For This Useful Post: | ||
|
2011-12-15
, 09:26
|
|
Posts: 120 |
Thanked: 126 times |
Joined on Nov 2011
@ Germany
|
#78
|
Thanks for posting the source code.
Here's an updated pidgin 2.10.0 source with some cleanups (e.g. don't ship debug libraries in libpurple0, which makes it significantly smaller - I wonder if we could strip out other files, e.g. the ones in usr/bin from libpurple0):
http://o.thp.io/tmp/harmattan-purple/
It also doesn't build the translation files (only needed for pidgin?). Let me know if this is useful and/or if something broke there.
There's also an im-providers-additional source package, which is just the binary package unpacked and with some added packaging information (please feel free to adapt this and change the maintainer/version to the original one, I didn't bother to copy'n'paste and just left the defaults that dh_make generated) - this might come in handy for uploading to the OBS or something.
And finally, one can build an all-in-one package by simply extracting (with dpkg -x <file>.deb .) all three packages into the same directory and then creating (with dh_make) packaging information and creating a dummy makefile that simply copies everything into $(DESTDIR) in the install: target (see im-providers-additional-1.0.0's source for an example how to do this).
This might not be very clean (and requires a two-step process), but it results in a single, user-installable .deb that contains all the required files and libraries. An example how this could look can be found here (sorry for the weird package name, I couldn't really decide on a proper package name for this frankenpackage):
http://o.thp.io/tmp/harmattan-purple/single-pkg/
The Following User Says Thank You to Niwakame For This Useful Post: | ||
|
2011-12-15
, 09:37
|
|
Posts: 120 |
Thanked: 126 times |
Joined on Nov 2011
@ Germany
|
#79
|
IMHO the correct way to create a single package would be to create a meta-package which adds the relevant repositories and pulls in the 3 actual packages.
To put all binaries into a single package may cause conflicts with other apps which use the original packages.
Source: pidgin Section: user/network Priority: optional Maintainer: Gabriel Schulhof <nix@go-nix.ca> Build-Depends: debhelper (>= 4.0.0), libgstfarsight0.10-dev (>= 0.0.9), doxygen, intltool, libdbus-1-dev, libdbus-glib-1-dev, libgstreamer0.10-dev, libnss3-dev, libxml2-dev, libxml-parser-perl, libgstreamer-plugins-base0.10-dev, libsqlite3-dev (>= 3.3), python2.6, xsltproc Standards-Version: 3.6.0 Package: libpurple0 Architecture: any Depends: ${shlibs:Depends}, libnspr4, libnss3 Recommends: ca-certificates Suggests: ${shlibs:Suggests} Description: multi-protocol instant messaging library libpurple is a library intended to be used by programmers seeking to write an IM client that connects to many IM networks. Currently supported are: AIM/ICQ, Yahoo!, MSN, IRC, Jabber/XMPP, Napster, Zephyr, Gadu-Gadu, Bonjour, Groupwise, Sametime, SILC, SIMPLE, QQ, and MySpaceIM. Package: libpurple-dev Architecture: any Depends: libpurple0 (>= ${Source-Version}), pkg-config, libglib2.0-dev, libdbus-glib-1-dev Description: multi-protocol instant messaging library - development files This package contains the headers and other development files not included in the main libpurple0 package. Install this if you wish to compile your own client-agnostic plugins, or would like to compile programs that use libpurple. Package: libpurple0-dbg Architecture: any Depends: libpurple0 (= ${Source-Version}), ${shlibs:Depends} Description: Debugging symbols for libpurple This package includes the debugging symbols useful for debugging libpurple and its plugins, contained in the libpurple0 package. The debugging symbols are used for execution tracing and core dump analysis.