Closed Bug 184982 Opened 23 years ago Closed 23 years ago

Make PostScript module optional for QT

Categories

(Core Graveyard :: Ports: Qt, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: timeless, Assigned: timeless)

References

Details

Attachments

(1 file)

one of the people on irc.kde.org #qt managed to have their build config not want postscript. here's the patch. biesi if you would r= then you can check this in.
Comment on attachment 109097 [details] [diff] [review] make ps conditional r=biesi, I'll checkin later today
Attachment #109097 - Flags: review+
Summary: Make PS optional for QT → Make PostScript module optional for QT
The patch still misses glue for configure.in...
References: The same RFE exists for the Xlib toolkit - see bug 185008 ("Make PostScript module optional for Xlib toolkit") ...
hm... I don't think it should be disabled by default for qt... however, you're raising a good point, the patch misses a Makefile.in change which is needed. basically, gfx/src/qt/Makefile.in needs these lines: 186 ifdef MOZ_ENABLE_POSTSCRIPT 187 DEFINES += -DUSE_POSTSCRIPT 188 endif 189 190 ifdef MOZ_ENABLE_XPRINT 191 DEFINES += -DUSE_XPRINT -DUSE_MOZILLA_TYPES 192 EXTRA_DSO_LDOPTS += $(MOZ_XPRINT_LDFLAGS) 193 endif (copied from gfx/src/gtk/Makefile.in) timeless: can I have r=timeless on inserting the above changes into the mentioned Makefile, above the LOCAL_INCLUDES stuff? (in addition to checking in your patch)
Christian Biesinger wrote: > hm... I don't think it should be disabled by default for qt.. Erm... I am going to add both Xprint and |QPrinter| support instead - both are significantly better than Mozilla's own PostScript module (that would save ~400KB in the final Qt-port distribution tarball... :) ...
biesi: go for it. gisburn: when we have mozilla working well enough to use for basic stuff and you get QPrinter support working better than postscript (this should be easy) then we can change postscript to not be built by default, but until then i think we should have at least one print module which does stuff, at least so we can see where to put things.
timeless wrote: > when we have mozilla working well enough to use for basic stuff and you > get QPrinter support working better than postscript (this should be easy) then > we can change postscript to not be built by default, but until then i think we > should have at least one print module which does stuff, at least so we can see > where to put things. I think we should make that decision at an early stage - and disabling it by default does not mean it won't disappear completely - people can still use --enable-postscript to enable it on demand... :)
s/it won't disappear/it will disappear/
There's no reason postscript printing should be disabled based upon toolkit. The two are disjoint feature sets. Supporting building w/o postscript is one thing, but making it the default doesn't make much sense. Postscript printing "just works" on most platforms/configurations whereas xprint requires a special setup and I'm not sure what QPrinter requires. In any case, the configure changes requested for xlib have been WONTFIX'd.
checked in, including parts mentioned in comment 5
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Component: XP Toolkit/Widgets → Ports: Qt
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: