Re: Trying to make a recipe for swaywm or i3

Robert Alexander <[email protected]> Fri, 4 Jan 2019 14:53:24 +0100
Newsgroups gmane.linux.distributions.gobo.general
Message-ID <CAFie_AB23tgOWmEH6-jZQOy=XSrM3sSWG-13wphV_0NqeXzCZQ@mail.gmail.com>
--===============2706364926113584726==
Content-Type: multipart/alternative; boundary="00000000000071ac44057ea2320d"

--00000000000071ac44057ea2320d
Content-Type: text/plain; charset="UTF-8"

You can try this URL:

http://recipes.gobolinux.org/r/?name=i3&search=Recipes

I am not sure why the recipes there do not appear to be
updated; I know lucas and hisham update at the github
sites but these don't appear on the old(er) recipe
store.

https://github.com/gobolinux/Recipes

I think you can search online there too or download all
recipes and list them sorted by date.

One dependency I saw for i3 was at:

https://github.com/enki/libev

Another one is yajl. I gave up past this point because
I don't really use i3 myself; I am currently using
mate-desktop. I did, however had, also have success
compiling kde5 (almost all programs, excluding a few).

> I think perhaps my main trouble is finding all the gobo recipes that
> have the dependencies I need.

This is also made harder by distributions arbitrarily naming
packages and repackaging stuff. For example, debian based
distributions tend to remove mkmf from ruby by default, forcing
users to have to first add mkmf before they can install certain
extensions (e. g. those that require compilation; the debian
"explanation" is "bla bla server systems do not need to ever
compile anything on their own - just use apt/dpkg all the time
to manage your system").

As for your list above, I am not absolutely sure about the
names, but I can give you some of the URLs to the tarballs
or checkouts - you can then look if there is a recipe or not
but actually compiling on gobolinux is SUPER easy since
things are very consistent and simple to understand. I
even ended up compiling stuff without using the gobo
recipes as-is ;) (until I grew tired of annoying things such
as docbook and similar XML-centric applications ... just
as hisham once wrote, well-behaving programs aren't
causing troubles when it comes to defining where to
put stuff; it's the non-well behaving ones that are annoying
to deal with. Thankfully LFS/BLFS exists which helps
quite a lot getting annoying programs to install.)

So for the list that you provided:


https://www.x.org/archive/individual/xcb/libxcb-1.13.1.tar.gz
https://xkbcommon.org/download/libxkbcommon-0.8.2.tar.xz
https://www.x.org/releases/individual/xcb/xcb-util-cursor-0.1.3.tar.bz2
http://xcb.freedesktop.org/dist/xcb-util-0.4.0.tar.gz
http://ftp.gnome.org/pub/gnome/sources/pango/1.43/pango-1.43.0.tar.xz
https://www.x.org/releases/individual/lib/libXinerama-1.1.4.tar.bz2
http://www.freedesktop.org/software/startup-notification/releases/startup-notification-0.12.tar.gz

The other two:

libxcb-keysyms1-dev
libxcb-icccm4-dev

can probably also be found at the xorg releases; just look at all
entries containing "xcb".

By the way there is no xcb-cursor as far as I am aware (see
at https://www.x.org/releases/individual/xcb/ )

I have no idea what libxcb-cursor-dev thus refers to but as said,
distribution packagers have a strange way to repackage stuff. You
can probably look at the content to see what it is.

-dev usually refers to devel packages which mostly means .h
header files.

Hope that helps a bit. These are mostly well-behaving when they
come from x.org by the way; I have quite a lot of programs registered
in one of my ruby gem but even I don't have all registered so far
(libev and yajl for example I should add). One day I'll hopefully get
to test auto-generating valid gobo recipes; biggest obstacle I have,
aside from lack of time, is how to programmatically generate shell
code that some packages may require for e. g. post-installation
steps, and so forth; you may be able to view recipes online at
the older recipe-viewer URL listed above too.




On Fri, Jan 4, 2019 at 5:25 AM Philip White <[email protected]>
wrote:

> Hi,
>
> Since this is my first posting, I'll introduce myself. I'm a CS student
> who likes fiddling with his computer setup, so I have tried a bunch of
> different linux distros. I started using gobolinux this week, and so far
> what I like is how low the friction for adding recipes is.
> ContributePackage is a great idea.
>
> My preferred window manager is i3, but as far as I can tell, there are no
> recipes for it. I tried earlier today, but ran into some trouble. I haven't
> totally given up, but I decided see if sway would be an easier task to make
> a recipe for.
>
> libxcb1-dev libxcb-keysyms1-dev libxcb-util0-dev libxcb-icccm4-dev libyajl-dev libstartup-notification0-dev
> libxcb-randr0-dev libev-dev libxcb-xinerama0-dev libpango1.0-dev libxcursor-dev libxcb-cursor-devlibxcb-xkb-devlibxkbcommon-devlibxkbcommon-x11-dev
>
>
> Has anyone tried to make a recipe for i3 on gobo before? I think perhaps
> my main trouble is finding all the gobo recipes that have the dependencies
> I need. Below is a list of dependencies on Mint that I found; can someone
> help find that proper gobo recipes that would cover these?
>
> Thanks,
> Philip
> _______________________________________________
> gobolinux-users mailing list
> [email protected]
> http://lists.gobolinux.org/mailman/listinfo/gobolinux-users
>

--00000000000071ac44057ea2320d
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div di=
r=3D"ltr"><div dir=3D"ltr"><div>You can try this URL:</div><div><br></div><=
div><a href=3D"http://recipes.gobolinux.org/r/?name=3Di3&amp;search=3DRecip=
es">http://recipes.gobolinux.org/r/?name=3Di3&amp;search=3DRecipes</a></div=
><div><br></div><div>I am not sure why the recipes there do not appear to b=
e <br></div><div>updated; I know lucas and hisham update at the github</div=
><div>sites but these don&#39;t appear on the old(er) recipe</div><div>stor=
e.</div><div><br></div><div><a href=3D"https://github.com/gobolinux/Recipes=
">https://github.com/gobolinux/Recipes</a></div><div><br></div><div>I think=
 you can search online there too or download all</div><div>recipes and list=
 them sorted by date.</div><div><br></div><div>One dependency I saw for i3 =
was at:</div><div><br></div><div><a href=3D"https://github.com/enki/libev">=
https://github.com/enki/libev</a></div><div><br></div><div>Another one is y=
ajl. I gave up past this point because</div><div>I don&#39;t really use i3 =
myself; I am currently using</div><div>mate-desktop. I did, however had, al=
so have success</div><div>compiling kde5 (almost all programs, excluding a =
few).</div><div><br></div><div>&gt; I think perhaps my main trouble is find=
ing all the gobo recipes that<br>&gt; have the dependencies I need.</div><d=
iv><br></div><div>This is also made harder by distributions arbitrarily nam=
ing</div><div>packages and repackaging stuff. For example, debian based</di=
v><div>distributions tend to remove mkmf from ruby by default, forcing</div=
><div>users to have to first add mkmf before they can install certain</div>=
<div>extensions (e. g. those that require compilation; the debian <br></div=
><div>&quot;explanation&quot; is &quot;bla bla server systems do not need t=
o ever</div><div>compile anything on their own - just use apt/dpkg all the =
time</div><div>to manage your system&quot;).</div><div><br></div><div>As fo=
r your list above, I am not absolutely sure about the <br></div><div>names,=
 but I can give you some of the URLs to the tarballs</div><div>or checkouts=
 - you can then look if there is a recipe or not</div><div>but actually com=
piling on gobolinux is SUPER easy since</div><div>things are very consisten=
t and simple to understand. I <br></div><div>even ended up compiling stuff =
without using the gobo</div><div>recipes as-is ;) (until I grew tired of an=
noying things such</div><div>as docbook and similar XML-centric application=
s ... just</div><div>as hisham once wrote, well-behaving programs aren&#39;=
t</div><div>causing troubles when it comes to defining where to <br></div><=
div>put stuff; it&#39;s the non-well behaving ones that are annoying</div><=
div>to deal with. Thankfully LFS/BLFS exists which helps <br></div><div>qui=
te a lot getting annoying programs to install.)</div><div><br></div><div>So=
 for the list that you provided:</div><div><br></div><div><br><a href=3D"ht=
tps://www.x.org/archive/individual/xcb/libxcb-1.13.1.tar.gz">https://www.x.=
org/archive/individual/xcb/libxcb-1.13.1.tar.gz</a><br><a href=3D"https://x=
kbcommon.org/download/libxkbcommon-0.8.2.tar.xz">https://xkbcommon.org/down=
load/libxkbcommon-0.8.2.tar.xz</a><br><a href=3D"https://www.x.org/releases=
/individual/xcb/xcb-util-cursor-0.1.3.tar.bz2">https://www.x.org/releases/i=
ndividual/xcb/xcb-util-cursor-0.1.3.tar.bz2</a><br><a href=3D"http://xcb.fr=
eedesktop.org/dist/xcb-util-0.4.0.tar.gz">http://xcb.freedesktop.org/dist/x=
cb-util-0.4.0.tar.gz</a> <br><a href=3D"http://ftp.gnome.org/pub/gnome/sour=
ces/pango/1.43/pango-1.43.0.tar.xz">http://ftp.gnome.org/pub/gnome/sources/=
pango/1.43/pango-1.43.0.tar.xz</a><br><a href=3D"https://www.x.org/releases=
/individual/lib/libXinerama-1.1.4.tar.bz2">https://www.x.org/releases/indiv=
idual/lib/libXinerama-1.1.4.tar.bz2</a><br><a href=3D"http://www.freedeskto=
p.org/software/startup-notification/releases/startup-notification-0.12.tar.=
gz">http://www.freedesktop.org/software/startup-notification/releases/start=
up-notification-0.12.tar.gz</a><br><br>The other two:<br><br>libxcb-keysyms=
1-dev <br>libxcb-icccm4-dev <br><br>can probably also be found at the xorg =
releases; just look at all<br>entries containing &quot;xcb&quot;.<br><br>By=
 the way there is no xcb-cursor as far as I am aware (see<br>at <a href=3D"=
https://www.x.org/releases/individual/xcb/">https://www.x.org/releases/indi=
vidual/xcb/</a> )<br><br>I have no idea what libxcb-cursor-dev thus refers =
to but as said,<br>distribution packagers have a strange way to repackage s=
tuff. You<br>can probably look at the content to see what it is.<br><br>-de=
v usually refers to devel packages which mostly means .h <br>header files.<=
/div><div><br></div><div>Hope that helps a bit. These are mostly well-behav=
ing when they</div><div>come from <a href=3D"http://x.org">x.org</a> by the=
 way; I have quite a lot of programs registered</div><div>in one of my ruby=
 gem but even I don&#39;t have all registered so far</div><div>(libev and y=
ajl for example I should add). One day I&#39;ll hopefully get</div><div>to =
test auto-generating valid gobo recipes; biggest obstacle I have,</div><div=
>aside from lack of time, is how to programmatically generate shell</div><d=
iv>code that some packages may require for e. g. post-installation <br></di=
v><div>steps, and so forth; you may be able to view recipes online at</div>=
<div>the older recipe-viewer URL listed above too.<br></div><div><br></div>=
<div><br></div><div><br></div></div></div></div></div></div></div><br><div =
class=3D"gmail_quote"><div dir=3D"ltr">On Fri, Jan 4, 2019 at 5:25 AM Phili=
p White &lt;<a href=3D"mailto:[email protected]">philipwhite@cedar=
ville.edu</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding=
-left:1ex"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div><div><di=
v>Hi,<br><br></div>Since this is my first posting, I&#39;ll introduce mysel=
f. I&#39;m a CS student who likes fiddling with his computer setup, so I ha=
ve tried a bunch of different linux distros. I started using gobolinux this=
 week, and so far what I like is how low the friction for adding recipes is=
. ContributePackage is a great idea.<br><br></div>My preferred window manag=
er is i3, but as far as I can tell, there are no recipes for it. I tried ea=
rlier today, but ran into some trouble. I haven&#39;t totally given up, but=
 I decided see if sway would be an easier task to make a recipe for. <br><b=
r><pre class=3D"gmail-m_-498988596787135497gmail-prettyprint"><code><span c=
lass=3D"gmail-m_-498988596787135497gmail-pln">libxcb1</span><span class=3D"=
gmail-m_-498988596787135497gmail-pun">-</span><span class=3D"gmail-m_-49898=
8596787135497gmail-pln">dev=20
</span><span class=3D"gmail-m_-498988596787135497gmail-pun"></span><span cl=
ass=3D"gmail-m_-498988596787135497gmail-pln">libxcb</span><span class=3D"gm=
ail-m_-498988596787135497gmail-pun">-</span><span class=3D"gmail-m_-4989885=
96787135497gmail-pln">keysyms1</span><span class=3D"gmail-m_-49898859678713=
5497gmail-pun">-</span><span class=3D"gmail-m_-498988596787135497gmail-pln"=
>dev=20
</span><span class=3D"gmail-m_-498988596787135497gmail-pun"></span><span cl=
ass=3D"gmail-m_-498988596787135497gmail-pln">libxcb</span><span class=3D"gm=
ail-m_-498988596787135497gmail-pun">-</span><span class=3D"gmail-m_-4989885=
96787135497gmail-pln">util0</span><span class=3D"gmail-m_-49898859678713549=
7gmail-pun">-</span><span class=3D"gmail-m_-498988596787135497gmail-pln">de=
v=20
</span><span class=3D"gmail-m_-498988596787135497gmail-pun"></span><span cl=
ass=3D"gmail-m_-498988596787135497gmail-pln">libxcb</span><span class=3D"gm=
ail-m_-498988596787135497gmail-pun">-</span><span class=3D"gmail-m_-4989885=
96787135497gmail-pln">icccm4</span><span class=3D"gmail-m_-4989885967871354=
97gmail-pun">-</span><span class=3D"gmail-m_-498988596787135497gmail-pln">d=
ev=20
</span><span class=3D"gmail-m_-498988596787135497gmail-pun"></span><span cl=
ass=3D"gmail-m_-498988596787135497gmail-pln">libyajl</span><span class=3D"g=
mail-m_-498988596787135497gmail-pun">-</span><span class=3D"gmail-m_-498988=
596787135497gmail-pln">dev=20
</span><span class=3D"gmail-m_-498988596787135497gmail-pln">libstartup</spa=
n><span class=3D"gmail-m_-498988596787135497gmail-pun">-</span><span class=
=3D"gmail-m_-498988596787135497gmail-pln">notification0</span><span class=
=3D"gmail-m_-498988596787135497gmail-pun">-</span><span class=3D"gmail-m_-4=
98988596787135497gmail-pln">dev  </span><span class=3D"gmail-m_-49898859678=
7135497gmail-pln"> <br>libxcb</span><span class=3D"gmail-m_-498988596787135=
497gmail-pun">-</span><span class=3D"gmail-m_-498988596787135497gmail-pln">=
randr0</span><span class=3D"gmail-m_-498988596787135497gmail-pun">-</span><=
span class=3D"gmail-m_-498988596787135497gmail-pln">dev=20
</span><span class=3D"gmail-m_-498988596787135497gmail-pun"></span><span cl=
ass=3D"gmail-m_-498988596787135497gmail-pln">libev</span><span class=3D"gma=
il-m_-498988596787135497gmail-pun">-</span><span class=3D"gmail-m_-49898859=
6787135497gmail-pln">dev=20
</span><span class=3D"gmail-m_-498988596787135497gmail-pun"></span><span cl=
ass=3D"gmail-m_-498988596787135497gmail-pln">libxcb</span><span class=3D"gm=
ail-m_-498988596787135497gmail-pun">-</span><span class=3D"gmail-m_-4989885=
96787135497gmail-pln">xinerama0</span><span class=3D"gmail-m_-4989885967871=
35497gmail-pun">-</span><span class=3D"gmail-m_-498988596787135497gmail-pln=
">dev=20
</span><span class=3D"gmail-m_-498988596787135497gmail-pun"></span><span cl=
ass=3D"gmail-m_-498988596787135497gmail-pln">libpango1</span><span class=3D=
"gmail-m_-498988596787135497gmail-pun">.</span><span class=3D"gmail-m_-4989=
88596787135497gmail-lit">0</span><span class=3D"gmail-m_-498988596787135497=
gmail-pun">-</span><span class=3D"gmail-m_-498988596787135497gmail-pln">dev=
=20
</span><span class=3D"gmail-m_-498988596787135497gmail-pun"></span><span cl=
ass=3D"gmail-m_-498988596787135497gmail-pln">libxcursor</span><span class=
=3D"gmail-m_-498988596787135497gmail-pun">-</span><span class=3D"gmail-m_-4=
98988596787135497gmail-pln">dev=20
</span><span class=3D"gmail-m_-498988596787135497gmail-pun"></span><span cl=
ass=3D"gmail-m_-498988596787135497gmail-pln">libxcb</span><span class=3D"gm=
ail-m_-498988596787135497gmail-pun">-</span><span class=3D"gmail-m_-4989885=
96787135497gmail-pln">cursor</span><span class=3D"gmail-m_-4989885967871354=
97gmail-pun">-</span><span class=3D"gmail-m_-498988596787135497gmail-pln">d=
ev
</span><span class=3D"gmail-m_-498988596787135497gmail-pun"></span><span cl=
ass=3D"gmail-m_-498988596787135497gmail-pln">libxcb</span><span class=3D"gm=
ail-m_-498988596787135497gmail-pun">-</span><span class=3D"gmail-m_-4989885=
96787135497gmail-pln">xkb</span><span class=3D"gmail-m_-498988596787135497g=
mail-pun">-</span><span class=3D"gmail-m_-498988596787135497gmail-pln">dev
</span><span class=3D"gmail-m_-498988596787135497gmail-pun"></span><span cl=
ass=3D"gmail-m_-498988596787135497gmail-pln">libxkbcommon</span><span class=
=3D"gmail-m_-498988596787135497gmail-pun">-</span><span class=3D"gmail-m_-4=
98988596787135497gmail-pln">dev
</span><span class=3D"gmail-m_-498988596787135497gmail-pun"></span><span cl=
ass=3D"gmail-m_-498988596787135497gmail-pln">libxkbcommon</span><span class=
=3D"gmail-m_-498988596787135497gmail-pun">-</span><span class=3D"gmail-m_-4=
98988596787135497gmail-pln">x11</span><span class=3D"gmail-m_-4989885967871=
35497gmail-pun">-</span><span class=3D"gmail-m_-498988596787135497gmail-pln=
">dev</span></code></pre></div><div><br></div>Has anyone tried to make a re=
cipe for i3 on gobo before? I think perhaps my main trouble is finding all =
the gobo recipes that have the dependencies I need.  Below is a list of dep=
endencies on Mint that I found; can someone help find that proper gobo reci=
pes that would cover these?<br><br></div><div>Thanks,<br></div><div>Philip<=
br></div></div></div>
_______________________________________________<br>
gobolinux-users mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank">go=
[email protected]</a><br>
<a href=3D"http://lists.gobolinux.org/mailman/listinfo/gobolinux-users" rel=
=3D"noreferrer" target=3D"_blank">http://lists.gobolinux.org/mailman/listin=
fo/gobolinux-users</a><br>
</blockquote></div>

--00000000000071ac44057ea2320d--

--===============2706364926113584726==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZ29ib2xpbnV4
LXVzZXJzIG1haWxpbmcgbGlzdApnb2JvbGludXgtdXNlcnNAbGlzdHMuZ29ib2xpbnV4Lm9yZwpo
dHRwOi8vbGlzdHMuZ29ib2xpbnV4Lm9yZy9tYWlsbWFuL2xpc3RpbmZvL2dvYm9saW51eC11c2Vy
cwo=

--===============2706364926113584726==--