-
farhan
Does anyone know how to specify cmake and gmake as build dependencies for a porT?
-
farhan
when I do "USES= gmake" I get an error saying "expecting: pattern:origin[@flavour][:target]" rather than just gmake.
-
farhan
Fair, but what do I use?
-
farhan
There are *multiple* instances of Makefiles that have `USES= gmake`
-
ivy
farhan: "USES=gmake" is fine according to
docs.freebsd.org/en/books/porters-handbook/uses/#uses-gmake. can you show the entire port makefile?
-
farhan
oh wait...USES makes it run `gmake` in the directory...no...I want to run a script...
-
ivy
the port has a build script that invokes gmake? in that case add gmake to BUILD_DEPENDS and use a custom build command
-
farhan
that complains that I need to specify a version of gmake
-
farhan
expecting: pattern:origin[@flavour][:target] \n got: gmake
-
ivy
the version can be >0
-
ivy
although looking at other ports, BUILD_DEPENDS=gmake:devel/gmake should be fine
-
farhan
so is that like `gmake>0` ?
-
ivy
are you sure it's complaining you need to specify a version?
-
ivy
the error message suggests you write "BUILD_DEPENDS=gmake" while actually you need to specify both the port and the origin, i.e. gmake:devel/gmake
-
farhan
So...that runs c++ -pthread -lgit2 -o usrbin/gitstatusd. <-- A build command. Why? I didn't specify to run `make` anywhere.
-
farhan
-
farhan
I suspect I need to overwrite the build command...
-
ivy
it runs make by default, if your port uses another build command then see
docs.freebsd.org/en/books/porters-handbook/special/#building, specifically you probably need to set something like MAKE_CMD=./build.sh
-
farhan
Thank you...I apologize, beena. Few days of troubles with coding
-
ivy
fwiw, you might also considering asking upstream to support a standard build system, or even provide a patch to do that
-
ivy
it's not required but it does make it easier for everyone if software builds in a standard way
-
farhan
The github itself says its not maintained. I suppose I could fork it (GPLv3)
-
ivy
if i'm understanding this right, Apache with mod_event uses thread count to scale processes, but every child has a fixed thread count, so if you have ThreadsPerChild 64, and it currently has 64 threads and needs 1 more, it'll create a new child with another 64 threads... is that right?
-
ivy
this seems weird and difficult to reason about, i'd rather there was just a way to specify min/max children
-
Daniel72HertsUK
Hi all ok I've got freebsd running X with xfce4 and startxfce4 works. I'd like now to setup a greeter and get xrdp working....
-
ek
Daniel72HertsUK: Not sure about a greeter, but xrdp is super easy.
-
ek
What's a greeter?
-
Daniel72HertsUK
It provides the login front end to your x windows system so asks for user/pass
-
Daniel72HertsUK
Maybe I don't need that I just need to tell xrdp what to launch when login is successful
-
ek
Ah. A login manager. Something like LightDM, maybe?
-
zilti
-
ek
And, xrdp doesn't need a login manager. It already has one.
-
Daniel72HertsUK
Exactly I've just installed lightdm to see if it works
-
SponiX
-
AmyMalik
it has been for more than 20 years, tyvm.
-
Daniel72HertsUK
Yay got there it's not too hard actually enable xrdp daemon and mod the startwm.sh script in the xrdp directory
-
ek
Daniel72HertsUK: Yep. Very simple.
-
Daniel72HertsUK
My gut is thinking it'd pay to learn sysrc?
-
Daniel72HertsUK
Got lightdm greeter going too looks alright apart from some odd mouse move artifacts
-
Daniel72HertsUK
Leaving black squares behind
-
Daniel72HertsUK
What should I add to xfce4 I wonder
-
ek
Whatever you'd like. Or nothing.
-
Daniel72HertsUK
Anyway I can use Symphytum now which is the main reason for setting up x
-
ek
I usually add some of the extra settings add-ons such as the control panel thingamajigger.
-
Daniel72HertsUK
I'd find someone who is mad keen on customisation
-
rtprio
"greeter" sounds like gdm or xdm
-
ek
rtprio: Yeah. He went with LightDM.
-
Daniel72HertsUK
rtprio yes I went with lightdm-gtk looks quite nice out the box actually
-
rtprio
SponiX: heck of a screenshot there
-
rtprio
lightdm... didn't know it does that
-
Daniel72HertsUK
complete nube question when you pkg install there are messages at the end there must be a way of looking at those later
-
ivy
Daniel72HertsUK: pkg info -D <package name>
-
ek
Daniel72HertsUK: pkg info -D
-
ivy
jinx
-
Daniel72HertsUK
thanks
-
ek
ivy got me! Derp! ;)
-
ivy
Daniel72HertsUK: however note this doesn't necessarily print *all* the messages you say in pkg since package post-install scripts may print things. postfix is particularly bad for this, for example
-
ivy
s/you say/you saw/
-
ek
Yep. Especially anything that set any kind of variables.
-
ivy
wow, apache.org uses qmail for their mailing lists
-
Daniel72HertsUK
ivy I am thinking alias pkginstall='pkg install $1 | tee install$1.txt' or a script
-
rtprio
why is that necessary?
-
Daniel72HertsUK
rtprio do an install with lots of dependencies sometime it's fine when there's a few but > 20
-
rtprio
i guess
-
Daniel72HertsUK
pkg install gimp if you haven't recently 37 dependencies all can have messages
-
rtprio
yeah, i very much doubt there's anything actionable on any of them
-
Daniel72HertsUK
Wow I'm seeing qpdf, cups, gutenprint, ghostscript