Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=c2a16e464419585e5a451b05366f938070ae8597
commit c2a16e464419585e5a451b05366f938070ae8597 Author: bouleetbil <[email protected]> Date: Tue May 3 15:38:20 2011 +0200 postler-0.1.1-3-x86_64 *fix build *closed #4481 diff --git a/source/xapps-extra/postler/FrugalBuild b/source/xapps-extra/postler/FrugalBuild index f74fa03..5b070a6 100644 --- a/source/xapps-extra/postler/FrugalBuild +++ b/source/xapps-extra/postler/FrugalBuild @@ -3,10 +3,10 @@ pkgname=postler pkgver=0.1.1 -pkgrel=2 +pkgrel=3 pkgdesc="A lean mail interface" url="http://git.xfce.org/apps/postler" -depends=('libnotify' 'libcanberra' 'libindicate' 'unique1' 'webkit' 'libtool' 'libuuid' 'libnotify>=0.7') +depends=('libcanberra' 'unique1' 'webkit' 'libtool' 'libuuid' 'libnotify>=0.7' 'libindicate') makedepends=('vala' 'intltool' 'librsvg' 'gettext' 'python' 'msmtp') groups=('xapps-extra') archs=('i686' 'x86_64') @@ -15,12 +15,14 @@ _F_gnome_desktop="y" _F_gnome_iconcache="y" Finclude gnome-scriptlet up2date="Flasttar http://git.xfce.org/apps/postler" -source=(http://git.xfce.org/apps/postler/snapshot/$pkgname-$pkgver.tar.bz2) -sha1sums=('f5c73c0219844d4092860eb4d8aa36223027b298') +source=(http://git.xfce.org/apps/postler/snapshot/$pkgname-$pkgver.tar.bz2 icon.diff) +sha1sums=('f5c73c0219844d4092860eb4d8aa36223027b298' \ + '7b88971023d0c9d2bdbdfd1bf503253a1416e6db') build() { Fcd - ./waf configure --prefix=/usr || Fdie + Fpatchall + ./waf configure --prefix=/usr --disable-docs || Fdie ./waf build || Fdie ./waf --destdir=$Fdestdir install || Fdie Fsed "internet-mail" "evolution" $Fdestdir/usr/share/applications/$pkgname.desktop diff --git a/source/xapps-extra/postler/icon.diff b/source/xapps-extra/postler/icon.diff new file mode 100644 index 0000000..2d58893 --- /dev/null +++ b/source/xapps-extra/postler/icon.diff @@ -0,0 +1,47 @@ +diff -up postler-0.1.1/data/postler.desktop.in.orig postler-0.1.1/data/postler.desktop.in +--- postler-0.1.1/data/postler.desktop.in.orig 2011-03-21 02:06:07.000000000 +0100 ++++ postler-0.1.1/data/postler.desktop.in 2011-04-05 23:19:44.670813069 +0200 +@@ -8,6 +8,6 @@ _Comment=Lean mail interface + Categories=GTK;Network;Email; + MimeType=application/mbox;x-scheme-handler/mailto; + Exec=postler %u +-Icon=internet-mail ++Icon=postler + Terminal=false + StartupNotify=true +diff -up postler-0.1.1/postler/postler-accounts.vala.orig postler-0.1.1/postler/postler-accounts.vala +--- postler-0.1.1/postler/postler-accounts.vala.orig 2011-03-21 02:06:07.000000000 +0100 ++++ postler-0.1.1/postler/postler-accounts.vala 2011-04-05 23:17:04.831668868 +0200 +@@ -227,7 +227,7 @@ public class Postler.Accounts : GLib.Obj + DirUtils.create_with_parents (autostart_path, 0700); + FileUtils.set_contents (filename, + "[Desktop Entry]\nVersion=1.0\nType=Application\nName=Postler\n" +- + "Exec=postler -m service\nIcon=internet-mail"); ++ + "Exec=postler -m service\nIcon=postler"); + } + else if (infos.length () == 0) + FileUtils.unlink (filename); +diff -up postler-0.1.1/postler/postler-app.vala.orig postler-0.1.1/postler/postler-app.vala +--- postler-0.1.1/postler/postler-app.vala.orig 2011-03-21 02:06:07.000000000 +0100 ++++ postler-0.1.1/postler/postler-app.vala 2011-04-05 23:18:23.598218605 +0200 +@@ -25,7 +25,7 @@ namespace Postler { + const string STOCK_FACE_WINK = "face-wink"; + const string STOCK_FOLDER_SAVED_SEARCH = "folder-saved-search"; + const string STOCK_IMAGE = "image-x-generic"; +- const string STOCK_INTERNET_MAIL = "internet-mail"; ++ const string STOCK_INTERNET_MAIL = "postler"; + const string STOCK_MAIL_ATTACHMENT = "mail-attachment"; + const string STOCK_MAIL_FORWARD = "mail-forward"; + const string STOCK_MAIL_FORWARDED = "mail-forwarded"; +diff -up postler-0.1.1/wscript.orig postler-0.1.1/wscript +--- postler-0.1.1/wscript.orig 2011-03-21 02:06:07.000000000 +0100 ++++ postler-0.1.1/wscript 2011-04-05 23:23:26.674175886 +0200 +@@ -318,7 +318,7 @@ def build (bld): + Utils.pprint ('BLUE', 'File ' + desktop + ' not generated') + finally: + pre.close () +- bld.install_files ('${MDATADIR}/icons/hicolor/scalable/apps', ++ bld.install_as ('${MDATADIR}/icons/hicolor/scalable/apps/postler.svg', + srcdir + '/data/internet-mail.svg') + + if Options.commands['check']: _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
