Guys,
I'm making headway figuring out CMake so I can be a bit more helpful. I'm currently reverse engineering kruler (it's small enough to learn with). So far, the kruler CMakeLists.txt is easy to follow, but I can't figure out how the following creates 2 files??
install( FILES kruler.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
/opt/trinity/share/applications/kde/kruler.desktop /opt/trinity/share/applnk/Graphics/kruler.desktop
Is there something that says if to ${XDG_APPS_INSTALL_DIR} put it in both the following places:
/opt/trinity/share/applications/kde/ /opt/trinity/share/applnk/Graphics/
The other install ( FILES... just end up in one place. (eg.
install( FILES eventsrc DESTINATION ${DATA_INSTALL_DIR}/kruler )
/opt/trinity/share/apps/kruler/eventsrc
install( FILES move.wav DESTINATION ${DATA_INSTALL_DIR}/kruler/sounds )
/opt/trinity/share/apps/kruler/sounds/move.wav
What's the difference?
On Saturday 05 March 2011 06:31:48 David C. Rankin wrote:
Guys,
I'm making headway figuring out CMake so I can be a bit more helpful. I'm currently reverse engineering kruler (it's small enough to learn with). So far, the kruler CMakeLists.txt is easy to follow, but I can't figure out how the following creates 2 files??
install( FILES kruler.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
/opt/trinity/share/applications/kde/kruler.desktop /opt/trinity/share/applnk/Graphics/kruler.desktop
Actually above files are installed by:
install( FILES kruler.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) install( FILES uninstall.desktop DESTINATION ${APPS_INSTALL_DIR}/Graphics RENAME kruler.desktop )
install() can intall two files only if there are two file arguments, like:
install( FILES file1 file2 DESTINATION /path/to/destination )
PS if you want to port to cmake indepenent apps, you can follow knetworkmaneger, d3lphin or amarok.
On 03/05/2011 03:25 AM, Serghei Amelian wrote:
On Saturday 05 March 2011 06:31:48 David C. Rankin wrote:
Guys,
I'm making headway figuring out CMake so I can be a bit more helpful. I'm currently reverse engineering kruler (it's small enough to learn with). So far, the kruler CMakeLists.txt is easy to follow, but I can't figure out how the following creates 2 files??
install( FILES kruler.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
/opt/trinity/share/applications/kde/kruler.desktop /opt/trinity/share/applnk/Graphics/kruler.desktop
Actually above files are installed by:
install( FILES kruler.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) install( FILES uninstall.desktop DESTINATION ${APPS_INSTALL_DIR}/Graphics RENAME kruler.desktop )
install() can intall two files only if there are two file arguments, like:
install( FILES file1 file2 DESTINATION /path/to/destination )
PS if you want to port to cmake indepenent apps, you can follow knetworkmaneger, d3lphin or amarok.
Thanks Serghei,
I'm working on the knetworkmanager build right now :)
On Sat, Mar 5, 2011 at 2:46 PM, David C. Rankin drankinatty@suddenlinkmail.com wrote:
On 03/05/2011 03:25 AM, Serghei Amelian wrote:
<snip>
PS if you want to port to cmake indepenent apps, you can follow knetworkmaneger, d3lphin or amarok.
Thanks Serghei,
I'm working on the knetworkmanager build right now :)
We may not have knetworkmanager for long when the HAL code goes away, it uses the HAL-dependent networkmanager.
On Sat, Mar 5, 2011 at 2:46 PM, David C. Rankin drankinatty@suddenlinkmail.com wrote:
On 03/05/2011 03:25 AM, Serghei Amelian wrote:
<snip> >> PS if you want to port to cmake indepenent apps, you can follow >> knetworkmaneger, d3lphin or amarok. >> > > Thanks Serghei, > > I'm working on the knetworkmanager build right now :)
We may not have knetworkmanager for long when the HAL code goes away, it uses the HAL-dependent networkmanager.
Then the backend needs to be replaced. We can't ship Trinity without a tray-type network manager...
Tim
On Sat, Mar 5, 2011 at 21:23, Timothy Pearson kb9vqf@pearsoncomputing.net wrote:
On Sat, Mar 5, 2011 at 2:46 PM, David C. Rankin drankinatty@suddenlinkmail.com wrote:
On 03/05/2011 03:25 AM, Serghei Amelian wrote:
<snip> >> PS if you want to port to cmake indepenent apps, you can follow >> knetworkmaneger, d3lphin or amarok. >> > > Thanks Serghei, > > I'm working on the knetworkmanager build right now :)
We may not have knetworkmanager for long when the HAL code goes away, it uses the HAL-dependent networkmanager.
Then the backend needs to be replaced. We can't ship Trinity without a tray-type network manager...
Tim
NetworkManager no longer uses HAL as of June 2009...
On Sat, Mar 5, 2011 at 21:23, Timothy Pearson kb9vqf@pearsoncomputing.net wrote:
On Sat, Mar 5, 2011 at 2:46 PM, David C. Rankin drankinatty@suddenlinkmail.com wrote:
On 03/05/2011 03:25 AM, Serghei Amelian wrote:
<snip> >> PS if you want to port to cmake indepenent apps, you can follow >> knetworkmaneger, d3lphin or amarok. >> > > Thanks Serghei, > > I'm working on the knetworkmanager build right now :)
We may not have knetworkmanager for long when the HAL code goes away, it uses the HAL-dependent networkmanager.
Then the backend needs to be replaced. We can't ship Trinity without a tray-type network manager...
Tim
NetworkManager no longer uses HAL as of June 2009...
OK, good to hear. knetworkmanager uses DBUS so it should not need any changes.
Tim
On Sat, Mar 5, 2011 at 9:23 PM, Timothy Pearson kb9vqf@pearsoncomputing.net wrote:
We may not have knetworkmanager for long when the HAL code goes away, it uses the HAL-dependent networkmanager.
Then the backend needs to be replaced. We can't ship Trinity without a tray-type network manager...
Yes, the question would be what the backend should be...
But rather than hijack this thread further, if anyone has a suggestion, I think we should get a new thread started.