From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id ABC026DE119D for ; Sat, 26 Nov 2016 01:45:47 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.549 X-Spam-Level: X-Spam-Status: No, score=-0.549 tagged_above=-999 required=5 tests=[AWL=0.171, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9kL0cDej6ERT for ; Sat, 26 Nov 2016 01:45:47 -0800 (PST) Received: from mail-lf0-f49.google.com (mail-lf0-f49.google.com [209.85.215.49]) by arlo.cworth.org (Postfix) with ESMTPS id B40E56DE115F for ; Sat, 26 Nov 2016 01:45:46 -0800 (PST) Received: by mail-lf0-f49.google.com with SMTP id o141so64788916lff.1 for ; Sat, 26 Nov 2016 01:45:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nikula-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=0OjM540xv6wLleAEe/ZcSWPN83w+9XRFGm9g4dqkoYg=; b=XiPsWCME2pspabvqmoB2EPBTOCJlYZ/ACVFM37psQRRIhiBsChLvHD7WHn4G2JHp/J PRGmc1ZFeiEXX5Or3mj3NjT7NBKwLlaSYEredVPwMtN5fInohh9HHVEzJ63nwT2tHQ5U nTGDVo2kyQ3AUJK1Si0XlOj6d5Lvzn/HMT8mZeaNAxoBsAvAjkCd6sHBFEcqvgF/Bq1t hXzeUqq2HYNYvGIHY1f4iadeQiriAGZDTT9YbDUYXp7ICXWeO9pCj8gTUkEJOnNmpKC4 s7C2l1nwu7BvmfiaebEAtFlyaQEDIbRGa669w4ggycpBSoVGT1MveTUWDqd5NogUY3N7 iyNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=0OjM540xv6wLleAEe/ZcSWPN83w+9XRFGm9g4dqkoYg=; b=VJ8mZ9cX626WzsVWVHdfILqjvucMM6YsdNsSLMbsyldMILGV9NkgfjUS57/eMy6B8W gK54rkHw8GgFeiAsWqz87SqaUCqDPC+GIO+9OpNd8US7e+D43he6Osr94bGyopq+/6xf So/dBM3vqKLhjyroWRoMGrurr3pGhss8997k3sgpKZ5yeJWLhflbguWfkcswxVoo5qyj WuO4aj0GIFfLpMCSu7rYCELrnEIxnvwKXauaoM2VEMhIQ7SY+EXRd54aY6w91v9kYZag 2jYqVGn5M6V23rS6hR6FNE7K3uoxn4YZKi3KEGcBip77mdJvXVtvQ9BKpnfGY2OpxA/e vaCw== X-Gm-Message-State: AKaTC02b+6UknifyvuC+EgukYQk3m0xXAuwMtZq6ea9ZyHmkQs8wXEgIjcLFdgBex1UjDw== X-Received: by 10.25.16.40 with SMTP id f40mr4845707lfi.60.1480153545038; Sat, 26 Nov 2016 01:45:45 -0800 (PST) Received: from localhost (mobile-access-bcee98-78.dhcp.inet.fi. [188.238.152.78]) by smtp.gmail.com with ESMTPSA id s127sm5412102lja.31.2016.11.26.01.45.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 26 Nov 2016 01:45:44 -0800 (PST) From: Jani Nikula To: notmuch@notmuchmail.org, Tomi Ollila Subject: [PATCH v3] build: update the desktop database after installing the desktop file Date: Sat, 26 Nov 2016 11:43:49 +0200 Message-Id: <1480153429-23831-1-git-send-email-jani@nikula.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <558484f7e16588ede880432c84ea96a6440ec558.1479762655.git.jani@nikula.org> References: <558484f7e16588ede880432c84ea96a6440ec558.1479762655.git.jani@nikula.org> X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Nov 2016 09:45:47 -0000 This makes the option to choose Notmuch as mailto: handler show up in the desktop environment settings. Ignore errors. --- v3: ignore errors on update-desktop-database. I don't want to skip desktop-file-install if update-desktop-database is not available, and if update fails, it's likely a transient error anyway. --- emacs/Makefile.local | 1 + 1 file changed, 1 insertion(+) diff --git a/emacs/Makefile.local b/emacs/Makefile.local index ffa8421ebd45..5fff019da73d 100644 --- a/emacs/Makefile.local +++ b/emacs/Makefile.local @@ -99,6 +99,7 @@ endif ifeq ($(WITH_DESKTOP),1) mkdir -p "$(DESTDIR)$(desktop_dir)" desktop-file-install --mode 0644 --dir "$(DESTDIR)$(desktop_dir)" $(emacs_mua_desktop) + -update-desktop-database "$(DESTDIR)$(desktop_dir)" endif CLEAN := $(CLEAN) $(emacs_bytecode) $(dir)/notmuch-version.el $(dir)/notmuch-pkg.el -- 2.1.4