Bug 511320

Summary: Install header files for libplasmaweatherion and libplasmaweatherdata
Product: [Plasma] plasmashell Reporter: ZhangHua <zhanghua.00>
Component: Weather widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: ASSIGNED ---    
Severity: wishlist CC: bogdan.onofriuchuk, isma.af, kdedev, nate
Priority: NOR    
Version First Reported In: 6.5.0   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description ZhangHua 2025-10-29 13:40:42 UTC
SUMMARY
KDE 6.5's kdeplasma-addons does not install header files for libplasmaweatherdata.so and libplasmaweatherion.so, which results that it is very difficult to make customized Ion implementations.

STEPS TO REPRODUCE
1. Install kdeplasma-addons on archlinux
2. List all files in the package and check header files in usr/include.

OBSERVED RESULT
No ion.h or similar files listed, which is in the repository. (https://invent.kde.org/plasma/kdeplasma-addons/-/blob/master/applets/weather/ions/ion.h?ref_type=heads).

EXPECTED RESULT
Those header files are exposed to me so I can use them to create customized Ions.

SOFTWARE/OS VERSIONS
Windows: N/A
macOS: N/A
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 6.5.0
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0

ADDITIONAL INFORMATION
Although I can copy them directly in the repository and build directory, it is better we can include from system directly.
Comment 1 ZhangHua 2025-10-29 13:43:30 UTC
P.S.: The old Ion used before 6.5, which is implemented by using DataEngine, exposes its ion.h, so I guess you may forget about it or there is technical issue prevents this?
Comment 2 TraceyC 2025-10-29 20:13:35 UTC
Sounds reasonable.
Comment 3 Bug Janitor Service 2025-10-31 11:35:14 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/933