Mercurial > pidgin
annotate pidgin.apspec.in @ 16341:786edf5e2144
The core portion of the migration code. This is implemented as I described
in my e-mail a while back. If we have ~/.gaim and not ~/.purple (or we
have ~/.purple, but the "migrating" file exists, indicating an incomplete
previous migration), we copy all the files from ~/.gaim to ~/.purple and
move and symlink directories, except for plugins and icons. For icons,
we move and symlink any subdirectories, as a special case for the Album
plugin (written by me).
For this to work, it needs to be called by the UIs. Also, the icon
migration code is not included in this commit, so I highly recommend you
not test this on your main .gaim directory if you want a clean migration.
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Mon, 23 Apr 2007 16:57:12 +0000 |
parents | 6f04fe174f40 |
children | 3bd360f26a9e |
rev | line source |
---|---|
15903
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
1 # -*-shell-script-*- |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
2 |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
3 [Meta] |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
4 RootName: @pidgin.im/pidgin:$SOFTWAREVERSION |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
5 DisplayName: Pidgin Internet Messenger |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
6 ShortName: Pidgin |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
7 Maintainer: The Pidgin Developers |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
8 URL: http://pidgin.im/ |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
9 Packager: Tim Ringenbach <marv_sf@users.sourceforge.net> |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
10 Summary: A GTK+ based multiprotocol instant messaging client |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
11 SoftwareVersion: @VERSION@ |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
12 InterfaceVersion: 2.0 |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
13 PackageVersion: 1 |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
14 |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
15 [Description] |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
16 Pidgin allows you to talk to anyone using a variety of messaging protocols, |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
17 including AIM (Oscar and TOC), ICQ, IRC, Yahoo!, MSN Messenger, Jabber, |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
18 Gadu-Gadu, and Zephyr. These protocols are implemented using a |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
19 modular, easy to use design. To use a protocol, just add an account using the |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
20 account editor. |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
21 |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
22 Pidgin supports many common features of other clients, as well as many unique |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
23 features, such as perl scripting, TCL scripting and C plugins. |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
24 |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
25 Pidgin is NOT affiliated with or endorsed by America Online, Inc., Microsoft |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
26 Corporation, Yahoo! Inc., or ICQ Inc. |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
27 |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
28 [BuildPrepare] |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
29 APBUILD_STATIC="Xss startup-notification-1" prepareBuild --enable-nss --enable-gnutls --enable-binreloc --disable-perl --disable-tcl --disable-gtktest --disable-glibtest --disable-vv --disable-fortify |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
30 #APBUILD_STATIC="Xss startup-notification-1" prepareBuild --enable-nss --enable-gnutls --enable-binreloc --disable-perl --disable-tcl --disable-vv |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
31 |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
32 |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
33 [BuildUnprepare] |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
34 unprepareBuild |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
35 |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
36 [Imports] |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
37 rm -rf include |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
38 rm -rf lib/pkgconfig |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
39 find -name '*.la' | xargs rm |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
40 echo '*' | import |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
41 |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
42 [Prepare] |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
43 # Dependency checking |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
44 require @gtk.org/gtk 2.2 |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
45 require @68k.org/libaudiofile 0.0 |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
46 require @xiph.org/libao 2.0 |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
47 require @gtkspell.sourceforge.net/gtkspell 0.0 |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
48 require @gnutls.org/gnutls 11.0 || { require @mozilla.org/nspr 4 && require @mozilla.org/nss 3; } |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
49 |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
50 [Install] |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
51 # Put your installation script here |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
52 installExe ./bin/* |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
53 installLib ./lib/libpurple-remote.so.0.0.0 |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
54 # do the plugins |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
55 copyFiles ./lib/pidgin "$PREFIX/lib" |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
56 installMan 1 ./man/man1/pidgin.1 |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
57 installDesktop "Networking/Instant Messaging" ./share/applications/pidgin.desktop |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
58 installLocale ./share/locale |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
59 copyFiles ./share/pixmaps "$PREFIX/share" |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
60 copyFiles ./share/sounds "$PREFIX/share" |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
61 installIcon ./share/pixmaps/pidgin.png |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
62 # install and fix the .pc file |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
63 # move this to the -devel package when I make one |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
64 # copyFile ./lib/pkgconfig/pidgin.pc "$PREFIX/lib/pkgconfig/pidgin.pc" |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
65 # safeSed "$PREFIX/lib/pkgconfig/pidgin.pc" "s|prefix=/usr/local|prefix=$PREFIX|" |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
66 |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
67 [Uninstall] |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
68 # Usually just the following line is enough to uninstall everything |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
diff
changeset
|
69 uninstallFromLog |