[debhelper-devel] [debhelper] 05/11: Dh_Lib: Support Xdg-App prefix in /app

Niels Thykier nthykier at moszumanska.debian.org
Sun Jan 7 21:38:03 UTC 2018


This is an automated email from the git hooks/post-receive script.

nthykier pushed a commit to annotated tag Release_2.6.0
in repository debhelper.

commit 3638954737b6fe7170b8f7d02637c0765400d952
Author: Dan Nicholson <nicholson at endlessm.com>
Date:   Thu Jan 28 09:08:41 2016 -0800

    Dh_Lib: Support Xdg-App prefix in /app
    
    Xdg-App builds using a build profile of "xdg-app" should have the prefix
    set to /app.
---
 Debian/Debhelper/Dh_Lib.pm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Debian/Debhelper/Dh_Lib.pm b/Debian/Debhelper/Dh_Lib.pm
index 9e09f4f..a3d3f0a 100644
--- a/Debian/Debhelper/Dh_Lib.pm
+++ b/Debian/Debhelper/Dh_Lib.pm
@@ -1075,7 +1075,10 @@ sub get_buildprefix {
 	my $package=shift;
 	my $prefix="/usr";
 
-	if (get_buildprofile("eos-app")) {
+	if (get_buildprofile("xdg-app")) {
+		# Xdg-App always uses /app for prefix
+		$prefix="/app";
+	} elsif (get_buildprofile("eos-app")) {
 		$prefix="/endless/" . package_eos_app_id($package);
 	}
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debhelper/debhelper.git




More information about the debhelper-devel mailing list