Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Namespace collision with xdg-utils #1

Open
ibara opened this issue Oct 30, 2017 · 2 comments
Open

Namespace collision with xdg-utils #1

ibara opened this issue Oct 30, 2017 · 2 comments
Assignees

Comments

@ibara
Copy link

ibara commented Oct 30, 2017

Browser has a component named open. But such a program name already exists in xdg-utils. The name for this Browser utility should be renamed.

===>  Installing deforaos-browser-0.5.1 from /usr/ports/packages/amd64/all/
Collision in deforaos-browser-0.5.1: the following files already exist
        /usr/local/bin/open (xdg-utils-1.1.2p0 and deforaos-browser-0.5.1)
@khorben
Copy link
Member

khorben commented May 11, 2022

Hi Brian, thank you for reporting this issue! (and sorry for noticing it so late)
The good news is, it should be fairly easy for the ports maintainer of DeforaOS Browser to apply a work-around (Olivier Cochard-Labbé, also an assignee here).
After compiling with the parameter CPPFLAGS='-DPROGNAME_OPEN=\"deforaos-open\"' (proper quoting is important) it should simply be possible to rename the open binary to deforaos-open. Unfortunately this will not update the corresponding manual pages, but it should be enough to fix your issue.

@khorben
Copy link
Member

khorben commented May 11, 2022

By the way, the same thing can be done with bin/browser and bin/copy, with CPPFLAGS='-DPROGNAME_BROWSER=\"deforaos-browser\" -DPROGNAME_COPY=\"deforaos-copy\" -DPROGNAME_OPEN=\"deforaos-open\"'. This will then also require adjusting data/org.defora.browser.desktop and data/org.defora.browser-folder.desktop as follows: (respectively)

-TryExec=browser
-Exec=browser
+TryExec=deforaos-browser
+Exec=deforaos-browser

and

-TryExec=browser
-Exec=browser %F
+TryExec=deforaos-browser
+Exec=deforaos-browser %F

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants