Skip to content

Commit

Permalink
print/xreader: unbreak build with Meson 1.2.0
Browse files Browse the repository at this point in the history
ld: error: undefined symbol: XLockDisplay
>>> referenced by totem-scrsaver.c
>>>               ../cut-n-paste/totem-screensaver/libtotemscrsaver.a.p/totem-scrsaver.c.o:(totem_scrsaver_disable) in archive shell/libshell.a
>>> referenced by totem-scrsaver.c
>>>               ../cut-n-paste/totem-screensaver/libtotemscrsaver.a.p/totem-scrsaver.c.o:(totem_scrsaver_enable) in archive shell/libshell.a

ld: error: undefined symbol: XGetScreenSaver
>>> referenced by totem-scrsaver.c
>>>               ../cut-n-paste/totem-screensaver/libtotemscrsaver.a.p/totem-scrsaver.c.o:(totem_scrsaver_disable) in archive shell/libshell.a

ld: error: undefined symbol: XSetScreenSaver
>>> referenced by totem-scrsaver.c
>>>               ../cut-n-paste/totem-screensaver/libtotemscrsaver.a.p/totem-scrsaver.c.o:(totem_scrsaver_disable) in archive shell/libshell.a
>>> referenced by totem-scrsaver.c
>>>               ../cut-n-paste/totem-screensaver/libtotemscrsaver.a.p/totem-scrsaver.c.o:(totem_scrsaver_enable) in archive shell/libshell.a

ld: error: undefined symbol: XUnlockDisplay
>>> referenced by totem-scrsaver.c
>>>               ../cut-n-paste/totem-screensaver/libtotemscrsaver.a.p/totem-scrsaver.c.o:(totem_scrsaver_disable) in archive shell/libshell.a
>>> referenced by totem-scrsaver.c
>>>               ../cut-n-paste/totem-screensaver/libtotemscrsaver.a.p/totem-scrsaver.c.o:(totem_scrsaver_enable) in archive shell/libshell.a

ld: error: undefined symbol: IceSetIOErrorHandler
>>> referenced by eggsmclient-xsmp.c
>>>               ../cut-n-paste/smclient/libsmclient.a.p/eggsmclient-xsmp.c.o:(sm_client_xsmp_startup) in archive shell/libshell.a

ld: error: undefined symbol: IceSetErrorHandler
>>> referenced by eggsmclient-xsmp.c
>>>               ../cut-n-paste/smclient/libsmclient.a.p/eggsmclient-xsmp.c.o:(sm_client_xsmp_startup) in archive shell/libshell.a

ld: error: undefined symbol: IceAddConnectionWatch
>>> referenced by eggsmclient-xsmp.c
>>>               ../cut-n-paste/smclient/libsmclient.a.p/eggsmclient-xsmp.c.o:(sm_client_xsmp_startup) in archive shell/libshell.a

ld: error: undefined symbol: SmcSetErrorHandler
>>> referenced by eggsmclient-xsmp.c
>>>               ../cut-n-paste/smclient/libsmclient.a.p/eggsmclient-xsmp.c.o:(sm_client_xsmp_startup) in archive shell/libshell.a

ld: error: undefined symbol: SmcOpenConnection
>>> referenced by eggsmclient-xsmp.c
>>>               ../cut-n-paste/smclient/libsmclient.a.p/eggsmclient-xsmp.c.o:(sm_client_xsmp_startup) in archive shell/libshell.a

ld: error: undefined symbol: SmcInteractDone
>>> referenced by eggsmclient-xsmp.c
>>>               ../cut-n-paste/smclient/libsmclient.a.p/eggsmclient-xsmp.c.o:(sm_client_xsmp_will_quit) in archive shell/libshell.a
>>> referenced by eggsmclient-xsmp.c
>>>               ../cut-n-paste/smclient/libsmclient.a.p/eggsmclient-xsmp.c.o:(fix_broken_state) in archive shell/libshell.a

ld: error: undefined symbol: SmcSaveYourselfDone
>>> referenced by eggsmclient-xsmp.c
>>>               ../cut-n-paste/smclient/libsmclient.a.p/eggsmclient-xsmp.c.o:(sm_client_xsmp_will_quit) in archive shell/libshell.a
>>> referenced by eggsmclient-xsmp.c
>>>               ../cut-n-paste/smclient/libsmclient.a.p/eggsmclient-xsmp.c.o:(sm_client_xsmp_end_session) in archive shell/libshell.a
>>> referenced by eggsmclient-xsmp.c
>>>               ../cut-n-paste/smclient/libsmclient.a.p/eggsmclient-xsmp.c.o:(xsmp_save_yourself) in archive shell/libshell.a
>>> referenced 3 more times

ld: error: undefined symbol: SmcVendor
>>> referenced by eggsmclient-xsmp.c
>>>               ../cut-n-paste/smclient/libsmclient.a.p/eggsmclient-xsmp.c.o:(sm_client_xsmp_end_session) in archive shell/libshell.a

ld: error: undefined symbol: SmcRequestSaveYourself
>>> referenced by eggsmclient-xsmp.c
>>>               ../cut-n-paste/smclient/libsmclient.a.p/eggsmclient-xsmp.c.o:(sm_client_xsmp_end_session) in archive shell/libshell.a

ld: error: undefined symbol: SmcGetIceConnection
>>> referenced by eggsmclient-xsmp.c
>>>               ../cut-n-paste/smclient/libsmclient.a.p/eggsmclient-xsmp.c.o:(sm_client_xsmp_end_session) in archive shell/libshell.a

ld: error: undefined symbol: IceProcessMessages
>>> referenced by eggsmclient-xsmp.c
>>>               ../cut-n-paste/smclient/libsmclient.a.p/eggsmclient-xsmp.c.o:(sm_client_xsmp_end_session) in archive shell/libshell.a
>>> referenced by eggsmclient-xsmp.c
>>>               ../cut-n-paste/smclient/libsmclient.a.p/eggsmclient-xsmp.c.o:(ice_iochannel_watch) in archive shell/libshell.a

ld: error: undefined symbol: IceGetConnectionContext
>>> referenced by eggsmclient-xsmp.c
>>>               ../cut-n-paste/smclient/libsmclient.a.p/eggsmclient-xsmp.c.o:(sm_client_xsmp_end_session) in archive shell/libshell.a
>>> referenced by eggsmclient-xsmp.c
>>>               ../cut-n-paste/smclient/libsmclient.a.p/eggsmclient-xsmp.c.o:(ice_iochannel_watch) in archive shell/libshell.a

ld: error: undefined symbol: SmcCloseConnection
>>> referenced by eggsmclient-xsmp.c
>>>               ../cut-n-paste/smclient/libsmclient.a.p/eggsmclient-xsmp.c.o:(sm_client_xsmp_end_session) in archive shell/libshell.a
>>> referenced by eggsmclient-xsmp.c
>>>               ../cut-n-paste/smclient/libsmclient.a.p/eggsmclient-xsmp.c.o:(xsmp_die) in archive shell/libshell.a
>>> referenced by eggsmclient-xsmp.c
>>>               ../cut-n-paste/smclient/libsmclient.a.p/eggsmclient-xsmp.c.o:(ice_iochannel_watch) in archive shell/libshell.a

ld: error: undefined symbol: IceConnectionNumber
>>> referenced by eggsmclient-xsmp.c
>>>               ../cut-n-paste/smclient/libsmclient.a.p/eggsmclient-xsmp.c.o:(ice_connection_watch) in archive shell/libshell.a

ld: error: undefined symbol: SmcInteractRequest
>>> referenced by eggsmclient-xsmp.c
>>>               ../cut-n-paste/smclient/libsmclient.a.p/eggsmclient-xsmp.c.o:(do_save_yourself) in archive shell/libshell.a

ld: error: undefined symbol: SmcSetProperties
>>> referenced by eggsmclient-xsmp.c
>>>               ../cut-n-paste/smclient/libsmclient.a.p/eggsmclient-xsmp.c.o:(set_properties) in archive shell/libshell.a

ld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)

PR:		272276
Reported by:	vishwin, antoine (via exp-run)
Regressed by:	mesonbuild/meson@a78af2368620
  • Loading branch information
jbeich committed Jul 29, 2023
1 parent a088dbb commit c463e4a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions print/xreader/files/patch-shell_meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
--- shell/meson.build.orig 2021-12-06 16:02:19 UTC
+++ shell/meson.build
@@ -94,6 +94,9 @@ xreader_deps = [
gtk,
libsecret,
math,
+ ice,
+ sm,
+ X11,
xapp,
]

0 comments on commit c463e4a

Please sign in to comment.