Discussion:
[MacPorts] #52596: Add port for i3 window manager
MacPorts
2016-12-20 06:29:42 UTC
Permalink
#52596: Add port for i3 window manager
--------------------------+--------------------------------
Reporter: jenstroeger | Owner: macports-tickets@…
Type: request | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: i3 |
--------------------------+--------------------------------

Comment (by jenstroeger):

I started to look into this and would like to track progress and blocking
issues here.

First, I had to add a second port on which the
[https://github.com/jpouellet/MacPorts/tree/master/x11/i3 i3 port]
depends: [https://github.com/jpouellet/MacPorts/tree/master/x11/xkbcommon
xkbcommon] by ***@vt.edu. Compiling the xkbcommon port requires the
''cairo/cairo-xcb.h'' include which doesn't seem to come with the default
cairo port. This seems to be a circular dependency?
[https://trac.macports.org/ticket/23483 Ticket #23483] seems to be
related, by quite dated.

--
Ticket URL: <https://trac.macports.org/ticket/52596#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2017-12-02 22:50:06 UTC
Permalink
#52596: Add port for i3 window manager
--------------------------+--------------------------------
Reporter: jenstroeger | Owner: macports-tickets@…
Type: request | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: i3 |
--------------------------+--------------------------------

Comment (by jenstroeger):

Anybody care for this, or dependent blocking issues?

--
Ticket URL: <https://trac.macports.org/ticket/52596#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2017-12-02 23:11:01 UTC
Permalink
#52596: Add port for i3 window manager
--------------------------+--------------------------------
Reporter: jenstroeger | Owner: macports-tickets@…
Type: request | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: i3 |
--------------------------+--------------------------------

Comment (by mf2k):

It would be best if you submit a Portfile for ​xkbcommon in another
ticket. Then we can work on the i3 Portfile.

I'm not clear if this ticket is related? #52955

--
Ticket URL: <https://trac.macports.org/ticket/52596#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2017-12-03 00:47:58 UTC
Permalink
#52596: Add port for i3 window manager
--------------------------+--------------------------------
Reporter: jenstroeger | Owner: macports-tickets@…
Type: request | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: i3 |
--------------------------+--------------------------------

Comment (by jenstroeger):

I would agree: ticket #52955 seems to be related.

If I remember correctly then I tried to build xkbcommon manually but that
failed because of the missing cairo header. If xkbcommon was part of
MacPorts then at least that would be one step closer to building i3.

--
Ticket URL: <https://trac.macports.org/ticket/52596#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-05-29 17:08:50 UTC
Permalink
#52596: Add port for i3 window manager
--------------------------+--------------------------------
Reporter: jenstroeger | Owner: macports-tickets@

Type: request | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: i3 |
--------------------------+--------------------------------

Comment (by mf2k):

So I think all of the tickets we have been waiting on have been resolved.
I am going to attach my latest version of the Portfile as a starting point
for this. It fails at the configure phase as follows:

{{{
:info:configure checking for library containing iconv_open... no
:info:configure configure: error: in
`/opt/local/var/macports/build/_opt_local_var_macports_sources_github
.com_macports_macports-ports_x11_i3/i3/work/i3-4.15/x86_64-apple-
darwin16.7.0':
:info:configure configure: error: cannot find the required iconv_open()
function despite trying to link with -liconv
}}}
--
Ticket URL: <https://trac.macports.org/ticket/52596#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-05-29 17:09:09 UTC
Permalink
#52596: Add port for i3 window manager
--------------------------+--------------------------------
Reporter: jenstroeger | Owner: macports-tickets@

Type: request | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: i3 |
--------------------------+--------------------------------
Changes (by mf2k):

* Attachment "Portfile" added.
--
Ticket URL: <https://trac.macports.org/ticket/52596>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-08-03 17:14:35 UTC
Permalink
#52596: Add port for i3 window manager
--------------------------+--------------------------------
Reporter: jenstroeger | Owner: macports-tickets@

Type: request | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: i3 |
--------------------------+--------------------------------
Changes (by mf2k):

* Attachment "Portfile" added.
--
Ticket URL: <https://trac.macports.org/ticket/52596>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-08-03 17:14:43 UTC
Permalink
#52596: Add port for i3 window manager
--------------------------+--------------------------------
Reporter: jenstroeger | Owner: macports-tickets@

Type: request | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: i3 |
--------------------------+--------------------------------
Changes (by mf2k):

* Attachment "patch-configure-libiconv.diff" added.
--
Ticket URL: <https://trac.macports.org/ticket/52596>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-08-03 17:15:27 UTC
Permalink
#52596: Add port for i3 window manager
--------------------------+--------------------------------
Reporter: jenstroeger | Owner: macports-tickets@

Type: request | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: i3 |
--------------------------+--------------------------------

Comment (by mf2k):

With help from jmroot, I got past that error to hit another one:

{{{
:info:configure checking for XCB_UTIL_XRM... no
:info:configure configure: error: Package requirements (xcb-xrm) were not
met:
:info:configure No package 'xcb-xrm' found
}}}
--
Ticket URL: <https://trac.macports.org/ticket/52596#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-08-03 17:16:08 UTC
Permalink
#52596: Add port for i3 window manager
--------------------------+--------------------------------
Reporter: jenstroeger | Owner: macports-tickets@

Type: request | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: i3 |
--------------------------+--------------------------------

Comment (by mf2k):

That package needs to be added to Macports.

https://github.com/Airblader/xcb-util-xrm
--
Ticket URL: <https://trac.macports.org/ticket/52596#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-08-03 17:16:53 UTC
Permalink
#52596: Add port for i3 window manager
--------------------------+--------------------------------
Reporter: jenstroeger | Owner: macports-tickets@

Type: request | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: i3 |
--------------------------+--------------------------------

Comment (by mf2k):

The existing request ticket is #54094.
--
Ticket URL: <https://trac.macports.org/ticket/52596#comment:11>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-10-11 09:10:15 UTC
Permalink
#52596: Add port for i3 window manager
--------------------------+--------------------------------
Reporter: jenstroeger | Owner: macports-tickets@

Type: request | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: i3 |
--------------------------+--------------------------------
Changes (by jens-maus):

* Attachment "patch-Makefile.in.diff" added.
--
Ticket URL: <https://trac.macports.org/ticket/52596>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-10-11 09:10:44 UTC
Permalink
#52596: Add port for i3 window manager
--------------------------+--------------------------------
Reporter: jenstroeger | Owner: macports-tickets@

Type: request | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: i3 |
--------------------------+--------------------------------
Changes (by jens-maus):

* Attachment "Portfile.2" added.

functional Portfile but with necessary libxkcommon-x11 dependency
--
Ticket URL: <https://trac.macports.org/ticket/52596>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-10-11 09:14:55 UTC
Permalink
#52596: Add port for i3 window manager
--------------------------+--------------------------------
Reporter: jenstroeger | Owner: macports-tickets@

Type: request | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: i3 |
--------------------------+--------------------------------

Comment (by jens-maus):

Now that ticket #54094 is resolved and xcb-xrm compiles with the supplied
portfile I managed to get "i3" compiled and running. The necessary changes
were:

1. reactivate the libxcbcommon-x11 subport in the Portfile of
libxcbcommon (why is the x11 subport disabled/commented out in first
place?)
2. install libxcbcommon-x11 with forcing activation because it conflicts
with the standard libxcbcommon package
3. install the new "patch-Makefile.in.diff" which will patch a slight
problem in the Makefile.in resulting in a broken build.

After these three steps (in addition to getting xorg-xcb-xrm compiled) I
was able to compile+install i3 with the supplied Portfile.

Hope the mess around libxcbcommon-x11 gets cleaned up somehow and all this
integrated/merged into MacPorts one day.
--
Ticket URL: <https://trac.macports.org/ticket/52596#comment:12>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-10-11 15:06:06 UTC
Permalink
#52596: Add port for i3 window manager
--------------------------+--------------------------------
Reporter: jenstroeger | Owner: macports-tickets@

Type: request | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: i3 |
--------------------------+--------------------------------

Comment (by mf2k):

The conflict between libxkbcommon and libxkbcommon-x11 needs to be
resolved by identifying the conflicting files and figuring out which port
should install them - not both.
--
Ticket URL: <https://trac.macports.org/ticket/52596#comment:13>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-11-16 17:27:29 UTC
Permalink
#52596: Add port for i3 window manager
--------------------------+--------------------------------
Reporter: jenstroeger | Owner: macports-tickets@

Type: request | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: i3 |
--------------------------+--------------------------------

Comment (by mf2k):

Now that #54094 is committed, I opened #57623 for libxcbcommon-x11.
--
Ticket URL: <https://trac.macports.org/ticket/52596#comment:14>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-11-30 17:47:39 UTC
Permalink
#52596: Add port for i3 window manager
--------------------------+--------------------------------
Reporter: jenstroeger | Owner: macports-tickets@

Type: request | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: i3 |
--------------------------+--------------------------------

Comment (by mf2k):

It builds now with Portfile.2! But I don't know how to test it. Running i3
gives me the following runtime error:

{{{
$ i3
11/30/2018 10:45:06 - ERROR: Another window manager seems to be running (X
error 10)
}}}

How does it work?
--
Ticket URL: <https://trac.macports.org/ticket/52596#comment:15>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-11-30 17:55:24 UTC
Permalink
#52596: Add port for i3 window manager
--------------------------+--------------------------------
Reporter: jenstroeger | Owner: macports-tickets@

Type: request | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: i3 |
--------------------------+--------------------------------

Comment (by mf2k):

I created a file ~/.xinitrc with the following in it:

{{{
exec /opt/local/bin/i3
}}}

And that caused {{{xeyes}}} to take up the full screen. I'm not sure if I
did it correctly.
--
Ticket URL: <https://trac.macports.org/ticket/52596#comment:16>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-12-03 17:41:34 UTC
Permalink
#52596: Add port for i3 window manager
--------------------------+--------------------------------
Reporter: jenstroeger | Owner: macports-tickets@

Type: request | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: i3 |
--------------------------+--------------------------------
Changes (by mf2k):

* Attachment "Portfile.3" added.

Latest Portfile with some added dependencies
--
Ticket URL: <https://trac.macports.org/ticket/52596>
MacPorts <https://www.macports.org/>
Ports system for macOS
Loading...