WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: i3 wm  (Read 8076 times)

Offline ttz

  • Jr. Member
  • **
  • Posts: 82
i3 wm
« on: September 09, 2015, 04:24:42 PM »
I've accidentally come to a sort-of fork in the road to building i3 for core. The full extent of my experience with building is tmux and irssi - I now have them on tc.

Because, honestly, core is a bit beyond me, I set up arch a few weeks ago so I could more directly try things.

My goal is i3 on core. Having played with arch, I started to, let's say, manually discover deps. I did that because the tarball for i3 has a "DEPENDS" file that is binary and didn't know what to do with it.

But I totally got lucky; I stumbled on how to read that file!

What I see through each path is different. Either way it is a lot of work, so which path?

The list/files of what I see as deps, through either path, is available if helpful.

Thank you!!

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: i3 wm
« Reply #1 on: September 09, 2015, 05:39:56 PM »
i3 is available in TC 4 repository, you could try it in whatever Tiny Core version you are using. Otherwise, the TC 4 source repository may have build notes.

Quote
Architecture x86, repository 4.x

Title:   i3.tcz
Description:   i3 Window Manager
Version:   3.e-bf1
Author:   Michael Stapelberg
Original-site:   http://i3.zekjur.net
Copying-policy:   BSD
Size:   147k
Extension_by:   peterc
Tags:   i3 Window Manager
Comments:   i3 is a tiling window manager, written entirely from
   scratch, but inspired by wmii
   Program Documentation:
   http://i3.zekjur.net/docs
Change-log:   2010/09/03 Original
Current:   2010/09/03 Original

You might find more info here, also check out the src/ subdirectory and what the .dep file includes:
http://distro.ibiblio.org/tinycorelinux/4.x/x86/tcz/

Offline ttz

  • Jr. Member
  • **
  • Posts: 82
Re: i3 wm
« Reply #2 on: September 09, 2015, 06:31:17 PM »
i'm on arch at the moment - can't test (but will). more, i'm not on tc 4.x, i'm on 6.x. don't know how to cross.

i've tried tce-ab to find i3 and it ain't there....

thnks and aplgy from newb!!!!!!

P.S.

if it was in 4, why dropped? why not in 6?

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: i3 wm
« Reply #3 on: September 09, 2015, 07:42:27 PM »
Extensions from old Tiny Core versions don't automatically get forwarded to the new repository. Various reasons: maintainer may no longer use i3 or TC, nobody else uses it or had opportunity to test. Apps won't work to retrieve from old repository. Manually download the tcz, associated dep files and dependencies from here, load and test i3: http://distro.ibiblio.org/tinycorelinux/4.x/x86/tcz/

The i3 dep file from TC 4:
libxcb-util.tcz
libev.tcz
yajl.tcz
xsetroot.tcz

Unfortunately there's no i3 info in the src/ subdirectory, which may have been helpful to rebuild.

If the TC 4 version of i3 works, then post back so the developers can transfer it to the TC version you've successfully tested. If it doesn't work, you can try to rebuild yourself, maybe the dep list above will help. If stuck a developer might be able to help out further or submit an extension request via forum. Can also PM the original maintainer and request an update for TC 6.
« Last Edit: September 09, 2015, 07:46:50 PM by nitram »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: i3 wm
« Reply #4 on: September 10, 2015, 08:04:41 AM »
It looks like i3 should work in tc-6.x - the deps libev, yajl and xsetroot all look like they would work, but the issue is that there is an overlap between libxcb-utils in tc-4.x and libxcb in tc-6.x.

I can add the missing libxcb-event, libxcb-property, libxcb-atom, libxcb-aux and libxcb-icccm to libxcb (only +/- 25kb) in tc-6.x if that sounds like a plan?

Edit: I spoke too soon, it looks like libxcb-atom, libxcb-aux, libxcb-event and maybe libxcb-property are now rolled into libxcb-util, which means i3 would probably need to be recompiled to work in tc-6.x.
« Last Edit: September 10, 2015, 08:51:14 AM by Juanito »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: i3 wm
« Reply #5 on: September 10, 2015, 11:39:41 AM »
i3 recompiled and added to 6.x repo - you'll need to update the libxcb extension.

Since I don't know what to expect from i3, I cannot say if it is fully functional - there appears to be an xsetroot display error, so maybe i3_initmenu or ~/.i3/config need adjusting?

Offline ttz

  • Jr. Member
  • **
  • Posts: 82
Re: i3 wm
« Reply #6 on: September 15, 2015, 02:48:31 PM »
sorry for delay in coming back to this. i figured i just had to try to work thru it! building is a bugger...

@Juanito:

after my current/recent experience, all i can do is give you a big thank you for adding it to 6!!!!!!!

i'm not turning to it until i just have to, though. i really want to build this thing myself - must learn!

huge thanks,
ttz

Offline ttz

  • Jr. Member
  • **
  • Posts: 82
Re: i3 wm
« Reply #7 on: September 17, 2015, 02:02:38 AM »
follow up:
i caved. i tried the tcz added to 6 by Juanito. loaded but it did not really work. i'll keep at it - yes, i want a tiling wm, but gotta get sftwr building down.

thanks again!

Offline ttz

  • Jr. Member
  • **
  • Posts: 82
Re: i3 wm
« Reply #8 on: September 17, 2015, 02:33:47 AM »
@nitram

now that i've cooled off a bit, i looked more closely at your post. i noted:

The i3 dep file from TC 4:
libxcb-util.tcz
libev.tcz
yajl.tcz
xsetroot.tcz

and specifically: xsetroot

what follows is just plain verbose, sorry.
---------------
from arch:
> pacman -Qi i3-wm
Name           : i3-wm
Version        : 4.10.3-1
Description    : An improved dynamic tiling window manager
Architecture   : x86_64
URL            : http://i3wm.org/
Licenses       : BSD
Groups         : i3
Provides       : None
Depends On     : xcb-util-cursor  xcb-util-keysyms  xcb-util-wm
                 libev  yajl  startup-notification  pango
                 libxkbcommon-x11
...
...
-------------------


and from 'DEPENDS' in the i3 tar:

i3 has the following dependencies: "min" means minimum required version
 "lkgv" means last known good version dependency min.

lkgv URL pkg-config 0.25 0.26 http://pkgconfig.freedesktop.org/

libxcb 1.1.93 1.10 http://xcb.freedesktop.org/dist/

xcb-util 0.3.3 0.4.1 http://xcb.freedesktop.org/dist/

xkbcommon 0.4.0 0.4.0 http://xkbcommon.org/

xkbcommon-x11 0.4.0 0.4.0 http://xkbcommon.org/

util-cursor 0.0.99 0.0.99 http://xcb.freedesktop.org/dist/

libev 4.0 4.11 http://libev.schmorp.de/

yajl 2.0.1 2.0.4 http://lloyd.github.com/yajl/ -ALLREADY HAVE

asciidoc 8.3.0 8.6.4 http://www.methods.co.nz/asciidoc/

xmlto 0.0.23 0.0.23 http://www.methods.co.nz/asciidoc/  -PROBABLY HAVE - MUST CHECK - ELSE GET FROM ARCH or gnu

Pod::Simple 3.22 3.22 http://search.cpan.org/~dwheeler/Pod-Simple-3.23/

docbook-xml 4.5 4.5 http://www.methods.co.nz/asciidoc/ - PROBABLY HAVE -CHECK - ELSE ARCH

Xlib 1.3.3 1.4.3 http://ftp.x.org/pub/current/src/lib/ - PROB HAVE

PCRE 8.12 8.12 http://www.pcre.org/

libsn 0.10 0.12 http://freedesktop.org/wiki/Software/startup-notification

pango 1.30.0 | 1.30.0 http://www.pango.org/

cairo 1.12.2 1.12.2 http://cairographics.org/

------------

ignore the bold  notes in the text from the DEPENDS, just notes for me.

xsetroot got my attention. it is not in arch or DEPENDS...

what do you think? suggestion?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: i3 wm
« Reply #9 on: September 17, 2015, 03:31:44 AM »
Almost all of the packages in the depends file are in the 6.x repo - pkgconfig, libxcb, xcb*, libev, yajl, xlib, pcre, startup-notification, pango and cairo - I suspect that libev and maybe yajl will need updating.

libxkbcommon will need compiling (instructions in x86_64 src)

asciidoc, xmlto, pod::simple and docbook (in the repo) can probably be avoided by disabling documentation

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: i3 wm
« Reply #10 on: September 17, 2015, 04:24:42 AM »
what do you think? suggestion?
Do whatever Juanito suggests, he's the master builder  :)

Me also new to this, haven't compiled anything that needs a lot of dependencies. Ensure you have a good alternative window manager so you can take your time and not get frustrated when re-building i3. I have no experience with Window Manager From Scratch, but it is an alternative tiling Window Manager available in TC 6 x86 repository if you want to give it a try (wmfs2.tcz).

Good luck.

Offline ttz

  • Jr. Member
  • **
  • Posts: 82
Re: i3 wm
« Reply #11 on: September 18, 2015, 11:45:43 PM »
Quote
Ensure you have a good alternative window manager so you can take your time and not get frustrated when re-building i3.

imagine a huge smiley no emoticon can deliver!!

gotta laugh; i had 'awesome' in mind as back up - i tripped over that one too!!!

@nitram & @Juanito

hey, thank to both of you for your time.

ttz