#78 Building without CUPS still looking for cups library.

Open
opened 6 months ago by MicheleC · 0 comments

From ML:

Mail 1

Hello

I just did a new build of TDE (git sources from today) on my custom Linux from Scratch system. I don’t have CUPS,
I don’t print, I despise printers, don’t have one and have no use for them (well, maybe ballistics targets). Cups
is not going to be a dependency on my system.

I am passing -DWITH_CUPS=OFF to all the builds (AFAIK it’s only valid for tdelibs, ignored everywhere else).

Now, when starting tde I get a KJobViewer error dialog with:

“There was an error loading tdeprint_cups. The diagnostic is:

Library files for “tdeprint_cups.la http://tdeprint_cups.la” not found in paths.”

Not just once, but twice.

There is no setting to disable tdeprint as far as I can see. There is no tdeprint_cups.la http://tdeprint_cups.la
either.

I have never had this annoyance before. Unless I can find a way to get it to stop, I’m going to restore a backup of
my previous tde build. I have already tried renaming kjobviewer but then I get 3 error messages Creating a bogus
tdeprint_cups.la http://tdeprint_cups.la just causes the error dialogs to have blank diagnostic message.

Any ideas for a temporary workaround (compile time or run time trickery)? I can’t have those error dialogs.


Mail 2

I guess it had been a while since I did a build on this system. I figured it out, it was this:

http://mirror.git.trinitydesktop.org/cgit/tdebase/commit/?id=28771943f7c5cbdb17754a962c668f6b61013d04
tdeprint: autostart of KJobViewer is now controlled by a .desktop file.

With the introduction of the autostart desktop file, it was invoking KJobViewer which wasn’t happy without tdeprint_cups.

I simply removed /opt/trinity/share/autostart/kjobviewer-autostart.desktop and it will bother me no more.

I guess I should have looked at the git change history, but I was hoping someone knew offhand what might have done it.

From ML: Mail 1 ----------------------- Hello I just did a new build of TDE (git sources from today) on my custom Linux from Scratch system. I don't have CUPS, I don't print, I despise printers, don't have one and have no use for them (well, maybe ballistics targets). Cups is not going to be a dependency on my system. I am passing -DWITH_CUPS=OFF to all the builds (AFAIK it's only valid for tdelibs, ignored everywhere else). Now, when starting tde I get a KJobViewer error dialog with: "There was an error loading tdeprint_cups. The diagnostic is: Library files for "tdeprint_cups.la <http://tdeprint_cups.la>" not found in paths." Not just once, but twice. There is no setting to disable tdeprint as far as I can see. There is no tdeprint_cups.la <http://tdeprint_cups.la> either. I have never had this annoyance before. Unless I can find a way to get it to stop, I'm going to restore a backup of my previous tde build. I have already tried renaming kjobviewer but then I get 3 error messages Creating a bogus tdeprint_cups.la <http://tdeprint_cups.la> just causes the error dialogs to have blank diagnostic message. Any ideas for a temporary workaround (compile time or run time trickery)? I can't have those error dialogs. ----------------------- Mail 2 ----------------------- I guess it had been a while since I did a build on this system. I figured it out, it was this: http://mirror.git.trinitydesktop.org/cgit/tdebase/commit/?id=28771943f7c5cbdb17754a962c668f6b61013d04 tdeprint: autostart of KJobViewer is now controlled by a .desktop file. With the introduction of the autostart desktop file, it was invoking KJobViewer which wasn't happy without tdeprint_cups. I simply removed /opt/trinity/share/autostart/kjobviewer-autostart.desktop and it will bother me no more. I guess I should have looked at the git change history, but I was hoping someone knew offhand what might have done it.
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.