Bug 502765 - Provide a macOS build
Summary: Provide a macOS build
Status: RESOLVED FIXED
Alias: None
Product: lokalize
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Simon Depiets
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-13 23:42 UTC by Emir SARI
Modified: 2025-10-04 11:30 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Emir SARI 2025-04-13 23:42:55 UTC
These days I find myself having less and less time booting into Linux due to $WORK reasons, and having Lokalize on macOS would be a great help to keep my translation workflow intact.

I would also love to test and report issues! I tried PoEdit on macOS, but it is really limiting compared to Lokalize, so I’d love to be able to use it on macOS as well.
Comment 1 Albert Astals Cid 2025-04-15 19:58:46 UTC
You can find nightly builds at https://cdn.kde.org/ci-builds/sdk/lokalize/master/ that's the most we're going to do at this point but should possibly work for you
Comment 2 Emir SARI 2025-04-15 22:00:12 UTC
Thanks for the prompt build!

However I could not get it to launch, even with removing the quarantine on the bundle. Anyone can confirm?
Comment 3 Emir SARI 2025-04-15 22:03:30 UTC
Here’s the log output:

saptanmış	01:01:05.511504+0300	lokalize	[0x600003eec000] activating connection: mach=true listener=false peer=false name=com.apple.cfprefsd.daemon
saptanmış	01:01:05.511630+0300	lokalize	[0x600003eec0f0] activating connection: mach=true listener=false peer=false name=com.apple.cfprefsd.agent
saptanmış	01:01:05.602456+0300	lokalize	[0x600003eec4b0] activating connection: mach=true listener=false peer=false name=com.apple.distributed_notifications@Uv3
saptanmış	01:01:05.609277+0300	lokalize	[0x600003eec780] activating connection: mach=true listener=false peer=false name=com.apple.tccd.system
saptanmış	01:01:05.614733+0300	lokalize	[0x600003eec780] invalidated after the last release of the connection object
saptanmış	01:01:05.615026+0300	lokalize	server port 0x00003f07, session port 0x00003f07
saptanmış	01:01:05.625850+0300	lokalize	[0x600003ef0000] activating connection: mach=true listener=false peer=false name=com.apple.coreservices.launchservicesd
saptanmış	01:01:05.626607+0300	lokalize	[0x600003ee00f0] activating connection: mach=true listener=false peer=false name=com.apple.analyticsd
saptanmış	01:01:05.627635+0300	lokalize	Received configuration update from daemon (initial)
saptanmış	01:01:05.628968+0300	lokalize	New connection 0x1ae00f main
saptanmış	01:01:05.629228+0300	lokalize	Current system appearance, (HLTB: 2), (SLS: 1)
saptanmış	01:01:05.629971+0300	lokalize	Current system appearance, (HLTB: 2), (SLS: 1)
saptanmış	01:01:05.630997+0300	lokalize	Post-registration system appearance: (HLTB: 2)
saptanmış	01:01:05.633706+0300	lokalize	[0x600003ee4000] activating connection: mach=true listener=false peer=false name=com.apple.pasteboard.1
saptanmış	01:01:05.644304+0300	lokalize	[0x7f88f53099c0] activating connection: mach=true listener=false peer=false name=com.apple.lsd.mapdb
saptanmış	01:01:05.672496+0300	lokalize	void _NSDisableAutomaticTerminationAndLog(NSString *) No windows open yet
saptanmış	01:01:05.675661+0300	lokalize	CHECKIN: pid=3129
saptanmış	01:01:05.682876+0300	lokalize	CHECKEDIN: pid=3129 asn=0x0-0x1802801 foreground=1
saptanmış	01:01:05.683310+0300	lokalize	[0x7f88f5504760] activating connection: mach=false listener=true peer=false name=(anonymous)
saptanmış	01:01:05.683340+0300	lokalize	[0x7f88f5504760] Channel could not return listener port.
saptanmış	01:01:05.699249+0300	lokalize	FRONTLOGGING: version 1
saptanmış	01:01:05.699507+0300	lokalize	Registered, pid=3129 ASN=0x0,0x1802801
saptanmış	01:01:05.691998+0300	lokalize	[0x7f88f5704190] activating connection: mach=false listener=false peer=true name=com.apple.xpc.anonymous.0x7f88f5504760.peer[157].0x7f88f5704190
saptanmış	01:01:05.713160+0300	lokalize	[0x7f88f5504760] Channel could not return listener port.
saptanmış	01:01:05.717830+0300	lokalize	BringForward: pid=3129 asn=0x0-0x1802801 bringForward=1 foreground=1 uiElement=0 launchedByLS=1 modifiersCount=1 allDisabled=0
saptanmış	01:01:05.717892+0300	lokalize	BringFrontModifier: pid=3129 asn=0x0-0x1802801 Modifier 0 hideAfter=0 hideOthers=0 dontMakeFrontmost=0 mouseDown=0/0 seed=0/0
saptanmış	01:01:05.718048+0300	lokalize	BringForward: pid=3129 asn=0x0-0x1802801
saptanmış	01:01:05.718163+0300	lokalize	SetFrontProcess: asn=0x0-0x1802801 options=0
saptanmış	01:01:05.761460+0300	lokalize	[0x7f88f5504760] Channel could not return listener port.
saptanmış	01:01:05.772341+0300	lokalize	[0x7f88f5504760] Channel could not return listener port.
saptanmış	01:01:05.808943+0300	lokalize	NSApp cache appearance:
-NSRequiresAquaSystemAppearance: 0
-appearance: (null)
-effectiveAppearance: <NSCompositeAppearance: 0x6000033ec6c0
 (
    "<NSDarkAquaAppearance: 0x6000033ec510>",
    "<NSDarkAquaAppearance: 0x6000033ec5a0>",
    "<NSSystemAppearance: 0x6000033f41b0>"
)>
saptanmış	01:01:05.832848+0300	lokalize	[0x7f88f530ad90] activating connection: mach=false listener=false peer=false name=com.apple.carboncore.csnameddata
saptanmış	01:01:05.854053+0300	lokalize	[0x600003df1300] activating connection: mach=true listener=false peer=false name=com.apple.fonts
hata	01:01:06.026988+0300	lokalize	DBus session bus not found. To circumvent this problem try the following command (with bash):
    export $(dbus-launch)
hata	01:01:06.027067+0300	lokalize	kf.dbusaddons: DBus session bus not found. To circumvent this problem try the following command (with bash):
    export $(dbus-launch)
saptanmış	01:01:06.028466+0300	lokalize	Entering exit handler.
saptanmış	01:01:06.028512+0300	lokalize	Queueing exit procedure onto XPC queue. Any further messages sent will be discarded. activeSendTransactions=0
saptanmış	01:01:06.028619+0300	lokalize	Cancelling XPC connection. Any further reply handler invocations will not retry messages
saptanmış	01:01:06.028637+0300	lokalize	[0x600003ee00f0] invalidated because the current process cancelled the connection by calling xpc_connection_cancel()
saptanmış	01:01:06.028670+0300	lokalize	Exiting exit handler.
saptanmış	01:01:06.028707+0300	lokalize	XPC connection invalidated (daemon unloaded/disabled)
Comment 4 Albert Astals Cid 2025-04-15 22:08:39 UTC
Right, probably need to disable dbus stuff on Mac.
Comment 5 Emir SARI 2025-04-16 21:33:31 UTC
Is there an example where I can see how to do that? I can try to do it.
Comment 6 Albert Astals Cid 2025-04-16 21:53:26 UTC
Both Okular and kate have cmake code (and lots of ifdefs) to only enable dbus on Linux/FreeBSD, you can take that as inspiration.
Comment 7 Emir SARI 2025-04-17 02:39:31 UTC
Looks like disabling DBus for Lokalize is no trivial task, most of the application functionality depends on it. Shall I reopen this or open a new issue for it?
Comment 8 Albert Astals Cid 2025-04-17 23:35:08 UTC
https://invent.kde.org/sdk/lokalize/-/merge_requests/224
Comment 9 Emir SARI 2025-04-26 16:44:58 UTC
Update: As of today Lokalize starts, but the application functionality is still a no-go. Not able to open any files or projects, no response on buttons.
Comment 10 Albert Astals Cid 2025-05-03 20:25:37 UTC
Git commit 597390beabb9ed450df6f01512b4b0c6732faa62 by Albert Astals Cid.
Committed on 03/05/2025 at 20:24.
Pushed by aacid into branch 'master'.

macos: Fix open file not opening a dialog

M  +10   -0    src/CMakeLists.txt

https://invent.kde.org/sdk/lokalize/-/commit/597390beabb9ed450df6f01512b4b0c6732faa62