[Emc-developers] GTK3

2021-05-23 Thread Rene Hopf via Emc-developers

Hi,

I cleaned up my gtk3 branch. master-gtk3 on the official repo is now the 
place to work on all gtk3 related changes.


https://github.com/LinuxCNC/linuxcnc/pull/1164

anything python3 related shoud go in master, unless it breaks something.

Please test it.

Rene



___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


[Emc-developers] linuxcnc-dev dependencies

2021-05-23 Thread andy pugh
Is there a good reason not to have all the build-time dependencies as
dependencies for linuxcnc-dev? This would mean that apt-get install
linuxcnc-dev would install all that is needed to run "make"

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] linuxcnc-dev dependencies

2021-05-23 Thread Phill Carter


> On 24 May 2021, at 8:19 am, andy pugh  wrote:
> 
> Is there a good reason not to have all the build-time dependencies as
> dependencies for linuxcnc-dev? This would mean that apt-get install
> linuxcnc-dev would install all that is needed to run "make"

I don't know but originally I thought that was what it did. I would have 
thought that things like halcompile and python-serial would be in the 
"standard" package.

> 
> -- 
> atp
> "A motorcycle is a bicycle with a pandemonium attachment and is
> designed for the especial use of mechanical geniuses, daredevils and
> lunatics."
> — George Fitch, Atlanta Constitution Newspaper, 1912
> 
> 
> ___
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers



___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] linuxcnc-dev dependencies

2021-05-23 Thread Alec Ari via Emc-developers
Hi Andy,

That's how a properly written dev package is supposed to work. linuxcnc-dev 
should solve all build dependencies. Some may argue disk usage, but you'd run 
Gentoo instead of Debian if that was your concern.

Alec




On Sunday, May 23, 2021, 10:21:36 PM UTC, andy pugh  wrote: 





Is there a good reason not to have all the build-time dependencies as
dependencies for linuxcnc-dev? This would mean that apt-get install
linuxcnc-dev would install all that is needed to run "make"

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] linuxcnc-dev dependencies

2021-05-23 Thread John Morris
A `-dev` package is not meant satisfy dependencies for building the 
packaged software, only the dependencies for other packages to build 
*against* the packaged software.  A `foo-dev` package might correspond 
to a package `foo` containing a library `libfoo.so.1.2`, and the 
`foo-dev` package should supply the headers, `libfoo.so.1` and 
`libfoo.so` symlinks and any other dependencies to build against 
`libfoo.so`.  For example, `libfoo.so.1.2` may need `flex` and `bison` 
to build, but other packages do not need those to build against `libfoo.so`.


Of course it's *possible* to replicate a source package's 
`Build-Depends:` list in a binary package's `Depends:` list (`-dev` or 
otherwise).  Since the `linuxcnc-dev` package `Depends: linuxcnc`, I'd 
worry about confusion created by having both an RIP build and a package 
install on the same machine.  Surprise may result from forgetting that 
`$EMC_HOME` has been set or not.  (Rene saw me fall for this one just in 
the last week!)  If this really must be done, it should be a completely 
separate package that with no Depends: linuxcnc.


Better is simply to use the means provided by Debian developers to 
automatically installing a source package's build dependencies; for 
LinuxCNC, maybe:


sudo apt-get install devscripts
debian/configure uspace
mk-build-deps -irs sudo

Or if you have the LinuxCNC apt repos configured anyway:

apt-get build-dep linuxcnc

John


On 5/23/21 5:19 PM, andy pugh wrote:

Is there a good reason not to have all the build-time dependencies as
dependencies for linuxcnc-dev? This would mean that apt-get install
linuxcnc-dev would install all that is needed to run "make"




___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers