Re: [darktable-user] Darktable 4.4 on Ubuntu 22.04

2023-07-04 Thread Jimmy G
Just in case anyone does not want to rebuild.darktable 4.4.1 can be also be 
installed via flatpak probably also snap.

Jimmy

On July 4, 2023 7:39:43 AM CDT, "Remco Viëtor"  wrote:
>On mardi 4 juillet 2023 14:38:09 CEST Remco Viëtor wrote:
>
>> Perhaps not in the official/base repositories, but:
>>  https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/ppa
>> has gcc-12 available.
>or perhaps this repository is better:
>https://ubuntu.pkgs.org/22.04/ubuntu-updates-main-amd64/
>
>
>
>
>darktable user mailing list
>to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org
>


darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] Darktable 4.4 on Ubuntu 22.04

2023-07-04 Thread Remco Viëtor
On mardi 4 juillet 2023 14:38:09 CEST Remco Viëtor wrote:

> Perhaps not in the official/base repositories, but:
>  https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/ppa
> has gcc-12 available.
or perhaps this repository is better:
https://ubuntu.pkgs.org/22.04/ubuntu-updates-main-amd64/




darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] Darktable 4.4 on Ubuntu 22.04

2023-07-04 Thread Remco Viëtor
On mardi 4 juillet 2023 13:52:17 CEST Guillermo Rozas wrote:
> The OBS packages are having problems because Ubuntu 22.04 lacks the
> required dependencies to compile darktable 4.4 (in particular, gcc12). As
> there is a single maintainer, and he doesn't use Debian/Ubuntu in "normal
> life", it could take a while or could be solved tomorrow, there is no ETA
> currently.

Perhaps not in the official/base repositories, but:
 https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/ppa
has gcc-12 available.
Once you have a binary, you no longer need gcc, so then it's not too difficult 
to create a package for others on the distro. 

However, if there are other missing dependencies (as is the case for OpenSUSe 
Leap), it gets trickier: if you have to hunt for libraries dt depends on, 
other would also have to hunt for those. _Not_ nice for a distributed 
package...

As for flatpak, snap and other self-contained packages, some seem to cause 
their own troubles as soon as you want more than vanilla use, due to the 
sandboxing they do (which is a good thing, until it isn't).

Remco




darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] Darktable 4.4 on Ubuntu 22.04

2023-07-04 Thread Guillermo Rozas
The OBS packages are having problems because Ubuntu 22.04 lacks the
required dependencies to compile darktable 4.4 (in particular, gcc12). As
there is a single maintainer, and he doesn't use Debian/Ubuntu in "normal
life", it could take a while or could be solved tomorrow, there is no ETA
currently.

More in general: Ubuntu 22.04 is an LTS release. If you want to keep using
it for its whole life, updating to newer and newer versions of darktable
through deb packages will become increasingly difficult, because they
depend on system libraries that are not going to be  upgraded (that's the
basic idea of the LTS). I would recommend you to start looking for
universal packages, like the official flatpak version (
https://flathub.org/apps/org.darktable.Darktable).

Best regards,
Guillermo

On Tue, Jul 4, 2023 at 1:00 AM Niranjan Rao  wrote:

> On 7/3/23 19:48, Patrick Shanahan wrote:
> > don't really know but would bet it is.  a simple proof would be to try
> it.
> >
> > warning, backup your library.db before trying as I believe 4.41
> library
> > is not backward compatible with 4.40.
>
> The question becomes where to get it from? OBS repository does not show
> it nor does Ubuntu updates. I don't expect Ubuntu updates to update as
> historically they haven't once stable release is released. But one could
> get binaries from OBS which seems not to be happening. Hence the question.
>
>
> Regards,
>
> Niranjan
>
>
> 
> darktable user mailing list
> to unsubscribe send a mail to
> darktable-user+unsubscr...@lists.darktable.org
>
>


darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] Darktable 4.4 on Ubuntu 22.04

2023-07-04 Thread Remco Viëtor
On mardi 4 juillet 2023 12:49:17 CEST Bernhard wrote:
> Remco Viëtor schrieb am 04.07.23 um 10:29:
> 
> > On mardi 4 juillet 2023 08:15:36 CEST Bernhard wrote:
> > 
> >> here is a list of what works and what not ...
> >> https://build.opensuse.org/project/show/graphics:darktable
> >> (might be possible to get to work with a lot of hacks though - obviously
> >> like William did)
> >> William Ferguson schrieb am 04.07.23 um 08:05:
> >> 
> >>> I build it
> > 
> > (...)
> >
> >
> >
> > Perhaps not all that many hacks.
> >
> >
> >
> > You'll need GCC-12 (or newer?), and tell your build system to use it, and
> > you  may have to disable some optional parts.
> >
> > e.g. on OpenSUSe I needed to tell the system to use GCC-12
> > ("export CC=gcc-12; export CXX=g++-12),
> > and I removed openEXR (which I don't use, so removing it was easier than
> > trying to get the proper version...)
> > In case of such problems, have a look at the DefineOptions.cmake file, to
> > see what could be disabled.
> >
> > Of course, if you can't get a proper version for a *required* component,
> > it  gets more difficult...
> >
> > Remco
> >
> >
> 
> depends on the viewpoint - aka base knowledge.
> I tried to build master 2 months ago - and learned I have do upgrade my
> debian.  I did that - then I learned I have to do this and that recommended
> in pixls.us, github and here. I tried but never succeeded. But I'm not a SW
> developer. I'm happy if my scripts (where I don't have the necessity to
> compile) work for me. 
> So something like
> 
> > tell the system to use GCC-12
> 
> is difficult (ok, you give two commands here - but: as a user? as root? And:
> what are the side-affects?)
 
> So I decided to wait till "normal compile" in a "standard system" will work
> again.  Btw: using the "Testing" binary in "Debian Bookworm" (manual
> download) seems to work in the meantime as a workaround. 
> -- 
So you have a working dt. Good.

If you want to be sure you can go back to stable 4.4.1, make sure you have a 
backup of the databases: a change in the database scheme may make it 
impossible to go back to an older version (iirc, a version that updates the 
databases saves a backup copy, so make sure it is there...) 

btw, the full sequence I used to compile darktable 4.4.1 was:
#> export CC=gcc-12
#> export CXX=g++-12
#> ./build.sh --prefix /opt/darktable --build-type Release --install --sudo
All as user, you'll be asked for the root password just before the install to 
/opt/darktable (which is not user-writable).

Remco



darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] Darktable 4.4 on Ubuntu 22.04

2023-07-04 Thread Bernhard



Remco Viëtor schrieb am 04.07.23 um 10:29:

On mardi 4 juillet 2023 08:15:36 CEST Bernhard wrote:

here is a list of what works and what not ...
https://build.opensuse.org/project/show/graphics:darktable
(might be possible to get to work with a lot of hacks though - obviously
like William did)
William Ferguson schrieb am 04.07.23 um 08:05:

I build it

(...)

Perhaps not all that many hacks.

You'll need GCC-12 (or newer?), and tell your build system to use it, and you
may have to disable some optional parts.

e.g. on OpenSUSe I needed to tell the system to use GCC-12
("export CC=gcc-12; export CXX=g++-12),
and I removed openEXR (which I don't use, so removing it was easier than
trying to get the proper version...)
In case of such problems, have a look at the DefineOptions.cmake file, to see
what could be disabled.

Of course, if you can't get a proper version for a *required* component, it
gets more difficult...

Remco


depends on the viewpoint - aka base knowledge.
I tried to build master 2 months ago - and learned I have do upgrade my debian.
I did that - then I learned I have to do this and that recommended in pixls.us, 
github and here.
I tried but never succeeded. But I'm not a SW developer. I'm happy if my 
scripts (where I don't have the necessity to compile) work for me.

So something like

tell the system to use GCC-12

is difficult (ok, you give two commands here - but: as a user? as root? And: 
what are the side-affects?)

So I decided to wait till "normal compile" in a "standard system" will work 
again.
Btw: using the "Testing" binary in "Debian Bookworm" (manual download) seems to 
work in the meantime as a workaround.

--

regards
Bernhard

https://www.bilddateien.de



darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.or

Re: [darktable-user] Darktable 4.4 on Ubuntu 22.04

2023-07-04 Thread Francesco Scaglioni

Hi,

On 04/07/2023 02:50, Niranjan Rao wrote:
It's not clear to me if latest release of darktable is supported on 
22.04. Opensuse OBS repository shows darktable 4.4 only for 23.04. Is 
it supported on Ubuntu 22.04? 



I run 22.04.  This morning DT updated to 4.4.1 via a simple nala update 
/ upgrade.  Still running terribly slow though when compared to prior 
4.2 version.  Opencl is showing as activated so I am at a loss how to 
investigate this slow performance further.



darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org

Re: [darktable-user] Darktable 4.4 on Ubuntu 22.04

2023-07-04 Thread Remco Viëtor
On mardi 4 juillet 2023 08:15:36 CEST Bernhard wrote:
> here is a list of what works and what not ...
> https://build.opensuse.org/project/show/graphics:darktable
> (might be possible to get to work with a lot of hacks though - obviously
> like William did)
> William Ferguson schrieb am 04.07.23 um 08:05:
> > I build it
(...)

Perhaps not all that many hacks.

You'll need GCC-12 (or newer?), and tell your build system to use it, and you 
may have to disable some optional parts.

e.g. on OpenSUSe I needed to tell the system to use GCC-12 
("export CC=gcc-12; export CXX=g++-12),
and I removed openEXR (which I don't use, so removing it was easier than 
trying to get the proper version...)
In case of such problems, have a look at the DefineOptions.cmake file, to see 
what could be disabled.

Of course, if you can't get a proper version for a *required* component, it 
gets more difficult...

Remco



darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] Darktable 4.4 on Ubuntu 22.04

2023-07-04 Thread Bernhard

here is a list of what works and what not ...
https://build.opensuse.org/project/show/graphics:darktable
(might be possible to get to work with a lot of hacks though - obviously like 
William did)

William Ferguson schrieb am 04.07.23 um 08:05:

I build it

On Tue, Jul 4, 2023, 12:00 AM Niranjan Rao  wrote:


On 7/3/23 19:48, Patrick Shanahan wrote:

don't really know but would bet it is.  a simple proof would be to try

it.

 warning, backup your library.db before trying as I believe 4.41

library

 is not backward compatible with 4.40.

The question becomes where to get it from? OBS repository does not show
it nor does Ubuntu updates. I don't expect Ubuntu updates to update as
historically they haven't once stable release is released. But one could
get binaries from OBS which seems not to be happening. Hence the question.


Regards,

Niranjan



darktable user mailing list
to unsubscribe send a mail to
darktable-user+unsubscr...@lists.darktable.org




darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org


--

regards
Bernhard

https://www.bilddateien.de


darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] Darktable 4.4 on Ubuntu 22.04

2023-07-04 Thread William Ferguson
I build it

On Tue, Jul 4, 2023, 12:00 AM Niranjan Rao  wrote:

> On 7/3/23 19:48, Patrick Shanahan wrote:
> > don't really know but would bet it is.  a simple proof would be to try
> it.
> >
> > warning, backup your library.db before trying as I believe 4.41
> library
> > is not backward compatible with 4.40.
>
> The question becomes where to get it from? OBS repository does not show
> it nor does Ubuntu updates. I don't expect Ubuntu updates to update as
> historically they haven't once stable release is released. But one could
> get binaries from OBS which seems not to be happening. Hence the question.
>
>
> Regards,
>
> Niranjan
>
>
> 
> darktable user mailing list
> to unsubscribe send a mail to
> darktable-user+unsubscr...@lists.darktable.org
>
>


darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org

Re: [darktable-user] Darktable 4.4 on Ubuntu 22.04

2023-07-03 Thread Niranjan Rao

On 7/3/23 19:48, Patrick Shanahan wrote:

don't really know but would bet it is.  a simple proof would be to try it.

warning, backup your library.db before trying as I believe 4.41 library
is not backward compatible with 4.40.


The question becomes where to get it from? OBS repository does not show 
it nor does Ubuntu updates. I don't expect Ubuntu updates to update as 
historically they haven't once stable release is released. But one could 
get binaries from OBS which seems not to be happening. Hence the question.



Regards,

Niranjan


darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] Darktable 4.4 on Ubuntu 22.04

2023-07-03 Thread Niranjan Rao

On 7/3/23 20:27, William Ferguson wrote:

I'm running 4.4.1  and 4.5 on 22.04 without any problems


Where did you download it from? Or did you build it yourself?


darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] Darktable 4.4 on Ubuntu 22.04

2023-07-03 Thread William Ferguson
I'm running 4.4.1  and 4.5 on 22.04 without any problems

On Mon, Jul 3, 2023 at 10:49 PM Patrick Shanahan  wrote:

> * Niranjan Rao  [07-03-23 21:53]:
> > Greetings,
> >
> >
> > It's not clear to me if latest release of darktable is supported on
> 22.04.
> > Opensuse OBS repository shows darktable 4.4 only for 23.04. Is it
> supported
> > on Ubuntu 22.04?
>
> don't really know but would bet it is.  a simple proof would be to try it.
>
>warning, backup your library.db before trying as I believe 4.41 library
>is not backward compatible with 4.40.
>
>
> --
> (paka)Patrick Shanahan   Plainfield, Indiana, USA  @ptilopteri
> http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri
> Photos: http://wahoo.no-ip.org/piwigo   paka @ IRCnet oftc
>
> 
> darktable user mailing list
> to unsubscribe send a mail to
> darktable-user+unsubscr...@lists.darktable.org
>
>


darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] Darktable 4.4 on Ubuntu 22.04

2023-07-03 Thread Patrick Shanahan
* Niranjan Rao  [07-03-23 21:53]:
> Greetings,
> 
> 
> It's not clear to me if latest release of darktable is supported on 22.04.
> Opensuse OBS repository shows darktable 4.4 only for 23.04. Is it supported
> on Ubuntu 22.04?

don't really know but would bet it is.  a simple proof would be to try it.

   warning, backup your library.db before trying as I believe 4.41 library
   is not backward compatible with 4.40.

   
-- 
(paka)Patrick Shanahan   Plainfield, Indiana, USA  @ptilopteri
http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri
Photos: http://wahoo.no-ip.org/piwigo   paka @ IRCnet oftc

darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



[darktable-user] Darktable 4.4 on Ubuntu 22.04

2023-07-03 Thread Niranjan Rao

Greetings,


It's not clear to me if latest release of darktable is supported on 
22.04. Opensuse OBS repository shows darktable 4.4 only for 23.04. Is it 
supported on Ubuntu 22.04?



Regards,


Niranjan


darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org