merged 1.4 r902:903 into trunk

This commit is contained in:
Nick Bolton 2011-02-05 23:01:04 +00:00
parent 2da69a8759
commit 462248a2de
4 changed files with 571 additions and 553 deletions

View File

@ -28,16 +28,20 @@ install(TARGETS
if (UNIX) if (UNIX)
if (APPLE) if (APPLE)
# TODO: how the hell do we distribute mac apps? # no cpack support for apple
#install(
# MACOSX_BUNDLE
# bin/QSynergy.app
# DESTINATION bin)
else() else()
install( install(FILES bin/qsynergy
FILES DESTINATION bin
bin/qsynergy PERMISSIONS
DESTINATION bin) OWNER_READ OWNER_WRITE OWNER_EXECUTE
GROUP_READ GROUP_EXECUTE
WORLD_READ WORLD_EXECUTE)
# install gnome menu item
install(FILES cmake/synergy.desktop
DESTINATION share/applications)
install(FILES cmd/launcher/synergy.ico
DESTINATION share/icons)
endif() endif()
endif() endif()
@ -59,7 +63,7 @@ endif(APPLE)
SET(CPACK_PACKAGE_NAME "synergy") SET(CPACK_PACKAGE_NAME "synergy")
SET(CPACK_PACKAGE_VENDOR "The Synergy Project") SET(CPACK_PACKAGE_VENDOR "The Synergy Project")
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Installs Synergy server and client") SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Synergy server and client")
SET(CPACK_PACKAGE_VERSION_MAJOR ${VERSION_MAJOR}) SET(CPACK_PACKAGE_VERSION_MAJOR ${VERSION_MAJOR})
SET(CPACK_PACKAGE_VERSION_MINOR ${VERSION_MINOR}) SET(CPACK_PACKAGE_VERSION_MINOR ${VERSION_MINOR})
SET(CPACK_PACKAGE_VERSION_PATCH ${VERSION_REV}) SET(CPACK_PACKAGE_VERSION_PATCH ${VERSION_REV})

7
cmake/synergy.desktop Normal file
View File

@ -0,0 +1,7 @@
[Desktop Entry]
Name=Synergy
Comment=Share your keyboard and mouse over a network
Exec=qsynergy
Icon=/usr/share/icons/synergy.ico
Type=Application
Categories=Utility

View File

@ -5,18 +5,25 @@
<property name="windowModality"> <property name="windowModality">
<enum>Qt::ApplicationModal</enum> <enum>Qt::ApplicationModal</enum>
</property> </property>
<property name="geometry"> <property name="enabled">
<rect> <bool>true</bool>
<x>0</x> </property>
<y>0</y> <property name="sizePolicy">
<width>374</width> <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<height>212</height> <horstretch>0</horstretch>
</rect> <verstretch>0</verstretch>
</sizepolicy>
</property> </property>
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>0</width> <width>400</width>
<height>0</height> <height>250</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>400</width>
<height>250</height>
</size> </size>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
@ -45,19 +52,6 @@ p, li { white-space: pre-wrap; }
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="0" rowspan="2" colspan="2">
<widget class="QLabel" name="label_3">
<property name="text">
<string>The Synergy GUI is based on QSynergy by Volker Lanz
Copyright © 2008 Volker Lanz (vl@fidra.de)
Copyright © 2010 Chris Schoeneman, Nick Bolton, Sorin Sbarnea</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item row="3" column="0" colspan="2"> <item row="3" column="0" colspan="2">
<widget class="Line" name="line"> <widget class="Line" name="line">
<property name="orientation"> <property name="orientation">
@ -171,6 +165,19 @@ Copyright © 2010 Chris Schoeneman, Nick Bolton, Sorin Sbarnea</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="0" colspan="2">
<widget class="QLabel" name="label_3">
<property name="text">
<string>The Synergy GUI is based on QSynergy by Volker Lanz
Copyright © 2008 Volker Lanz (vl@fidra.de)
Copyright © 2010 Chris Schoeneman, Nick Bolton, Sorin Sbarnea</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
</layout> </layout>
</widget> </widget>
<resources/> <resources/>

View File

@ -6,8 +6,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>400</width> <width>445</width>
<height>260</height> <height>300</height>
</rect> </rect>
</property> </property>
<property name="sizePolicy"> <property name="sizePolicy">
@ -18,14 +18,14 @@
</property> </property>
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>400</width> <width>445</width>
<height>260</height> <height>300</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>400</width> <width>445</width>
<height>260</height> <height>400</height>
</size> </size>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">