Removing unused dist files
This commit is contained in:
parent
000de01981
commit
774e8fa112
|
@ -1,43 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Make sure to adjust the QTDIR variable to where you have Qt's libraries installed.
|
||||
# install_name_tool will _silently_ fail if the path is incorrect. Also, it will
|
||||
# _not_ normalize double slashes.
|
||||
APPNAME=QSynergy
|
||||
QTDIR=$HOME/sw/qt/lib
|
||||
TMPBUNDLE=tmpbundledir
|
||||
PLATFORMS="ppc x86"
|
||||
|
||||
cd $(dirname $0)/..
|
||||
|
||||
rm -rf ${APPNAME}.app
|
||||
make distclean
|
||||
qmake -spec macx-g++ "CONFIG+=release" "CONFIG-=debug" "CONFIG+=${PLATFORMS}" "QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.4u.sdk"
|
||||
make
|
||||
mkdir ${APPNAME}.app/Contents/Frameworks
|
||||
|
||||
cp -R ${QTDIR}/QtCore.framework ${APPNAME}.app/Contents/Frameworks
|
||||
cp -R ${QTDIR}/QtGui.framework ${APPNAME}.app/Contents/Frameworks
|
||||
cp -R ${QTDIR}/QtNetwork.framework ${APPNAME}.app/Contents/Frameworks
|
||||
|
||||
rm -rf ${APPNAME}.app/Contents/Frameworks/Qt*.framework/Versions/4/Qt*_debug
|
||||
rm -rf ${APPNAME}.app/Contents/Frameworks/Qt*.framework/Versions/4/Headers
|
||||
|
||||
install_name_tool -id @executable_path/../Frameworks/QtCore.framework/Versions/4/QtCore ${APPNAME}.app/Contents/Frameworks/QtCore.framework/Versions/4/QtCore
|
||||
install_name_tool -id @executable_path/../Frameworks/QtGui.framework/Versions/4/QtGui ${APPNAME}.app/Contents/Frameworks/QtGui.framework/Versions/4/QtGui
|
||||
install_name_tool -id @executable_path/../Frameworks/QtNetwork.framework/Versions/4/QtNetwork ${APPNAME}.app/Contents/Frameworks/QtNetwork.framework/Versions/4/QtNetwork
|
||||
|
||||
install_name_tool -change ${QTDIR}/QtCore.framework/Versions/4/QtCore @executable_path/../Frameworks/QtCore.framework/Versions/4/QtCore ${APPNAME}.app/Contents/MacOs/$APPNAME
|
||||
install_name_tool -change ${QTDIR}/QtGui.framework/Versions/4/QtGui @executable_path/../Frameworks/QtGui.framework/Versions/4/QtGui ${APPNAME}.app/Contents/MacOs/$APPNAME
|
||||
install_name_tool -change ${QTDIR}/QtNetwork.framework/Versions/4/QtNetwork @executable_path/../Frameworks/QtNetwork.framework/Versions/4/QtNetwork ${APPNAME}.app/Contents/MacOs/$APPNAME
|
||||
|
||||
install_name_tool -change ${QTDIR}/QtCore.framework/Versions/4/QtCore @executable_path/../Frameworks/QtCore.framework/Versions/4/QtCore ${APPNAME}.app/Contents/Frameworks/QtGui.framework/Versions/4/QtGui
|
||||
install_name_tool -change ${QTDIR}/QtCore.framework/Versions/4/QtCore @executable_path/../Frameworks/QtCore.framework/Versions/4/QtCore ${APPNAME}.app/Contents/Frameworks/QtNetwork.framework/Versions/4/QtNetwork
|
||||
|
||||
mkdir ${TMPBUNDLE}
|
||||
mv ${APPNAME}.app ${TMPBUNDLE}
|
||||
cp COPYING README ${TMPBUNDLE}
|
||||
hdiutil create -ov -srcfolder ${TMPBUNDLE} -format UDBZ -volname "$APPNAME" "${APPNAME}.dmg"
|
||||
hdiutil internet-enable -yes "${APPNAME}.dmg"
|
||||
mv ${TMPBUNDLE}/${APPNAME}.app .
|
||||
rm -rf ${TMPBUNDLE}
|
|
@ -1,14 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd $(dirname $0)/..
|
||||
|
||||
dist/tarball.sh
|
||||
|
||||
rm -rf tmp/debian
|
||||
mkdir tmp/debian
|
||||
cd tmp/debian
|
||||
tar xfz ../../qsynergy*.tar.gz
|
||||
cd qsynergy*
|
||||
ln -s dist/debian debian
|
||||
dpkg-buildpackage -sgpg -rfakeroot
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
qsynergy (0.9.0-1) unstable; urgency=low
|
||||
|
||||
* Initial release.
|
||||
|
||||
-- Volker Lanz <vl@fidra.de> Fri, 27 Jun 2008 17:08:49 +0200
|
||||
|
|
@ -1 +0,0 @@
|
|||
5
|
|
@ -1,16 +0,0 @@
|
|||
Source: qsynergy
|
||||
Section: net
|
||||
Priority: optional
|
||||
Maintainer: Volker Lanz <vl@fidra.de>
|
||||
Build-Depends: debhelper (>= 5), qt4-dev-tools (>= 4.3.0), libqt4-dev (>= 4.3.0)
|
||||
Standards-Version: 3.7.2
|
||||
|
||||
Package: qsynergy
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, synergy (>= 1.3.1)
|
||||
Description: A comprehensive and easy to use graphical front end for synergy.
|
||||
QSynergy is a comprehensive and easy to use graphical front end for synergy.
|
||||
It allows you to configure synergy as a client or server and gives you
|
||||
complete and painless access to all of synergy's options. Visit
|
||||
http://www.volker-lanz.de/en/software/qsynergy/ for more information about
|
||||
this program.
|
|
@ -1,20 +0,0 @@
|
|||
This package was debianized by Volker Lanz <vl@fidra.de> on
|
||||
Fri, 27 Jun 2008 17:08:49 +0200.
|
||||
|
||||
It was downloaded from http://www.volker-lanz.de/en/software/qsynergy/
|
||||
|
||||
Upstream Author: Volker Lanz <vl@fidra.de>
|
||||
|
||||
Copyright: Copyright (C) 2008 Volker Lanz, Fidra Software Entwicklung.
|
||||
|
||||
License:
|
||||
|
||||
This software is copyright (c) 2008 Volker Lanz, Fidra Software Entwicklung.
|
||||
|
||||
You are free to distribute this software under the terms of the GNU General
|
||||
Public License version 2. On Debian systems, the complete text of the GNU
|
||||
General Public License can be found in the file
|
||||
`/usr/share/common-licenses/GPL-2'.
|
||||
|
||||
The Debian packaging is (C) 2008, Volker Lanz <vl@fidra.de> and is licensed
|
||||
under the GPL, see `/usr/share/common-licenses/GPL'.
|
|
@ -1,3 +0,0 @@
|
|||
usr/bin
|
||||
usr/share/pixmaps
|
||||
usr/share/applications
|
|
@ -1 +0,0 @@
|
|||
README
|
|
@ -1,2 +0,0 @@
|
|||
debian/qsynergy.desktop usr/share/applications
|
||||
dist/qsynergy.xpm usr/share/pixmaps
|
|
@ -1,4 +0,0 @@
|
|||
?package(qsynergy):needs="X11" section="Applications/System/Administration" \
|
||||
title="QSynergy" command="/usr/bin/qsynergy" \
|
||||
longtitle="Graphical interface to configure and run Synergy" \
|
||||
icon="/usr/share/pixmaps/qsynergy.xpm"
|
|
@ -1,9 +0,0 @@
|
|||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Name=QSynergy
|
||||
Comment=A graphical user interface for synergy.
|
||||
Exec=qsynergy
|
||||
Icon=qsynergy
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Utility
|
|
@ -1,54 +0,0 @@
|
|||
#!/usr/bin/make -f
|
||||
|
||||
# export DH_VERBOSE=1
|
||||
|
||||
configure: configure-stamp
|
||||
|
||||
configure-stamp:
|
||||
dh_testdir
|
||||
-$(MAKE) distclean
|
||||
qmake-qt4 CONFIG-="debug" CONFIG+="release" DESTDIR=$(CURDIR)/debian/qsynergy/usr/bin/
|
||||
touch $@
|
||||
|
||||
build: build-stamp
|
||||
|
||||
build-stamp: configure-stamp
|
||||
dh_testdir
|
||||
$(MAKE)
|
||||
|
||||
clean:
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
rm -f build-stamp configure-stamp
|
||||
qmake-qt4 CONFIG-="debug" CONFIG+="release"
|
||||
$(MAKE) distclean
|
||||
dh_clean
|
||||
|
||||
install: build
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_clean -k
|
||||
dh_install
|
||||
dh_installdirs
|
||||
$(MAKE)
|
||||
|
||||
binary-indep: build install
|
||||
binary-arch: build install
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_installchangelogs
|
||||
dh_installdocs
|
||||
dh_installmenu
|
||||
dh_strip
|
||||
dh_compress
|
||||
dh_desktop
|
||||
dh_fixperms
|
||||
dh_installdeb
|
||||
dh_shlibdeps
|
||||
dh_gencontrol
|
||||
dh_md5sums
|
||||
dh_builddeb
|
||||
|
||||
binary: binary-indep binary-arch
|
||||
.PHONY: build clean binary-indep binary-arch binary install configure
|
||||
|
|
@ -1,180 +0,0 @@
|
|||
!include "MUI.nsh"
|
||||
|
||||
!define MUI_ABORTWARNING
|
||||
!define MUI_COMPONENTSPAGE_SMALLDESC
|
||||
|
||||
!define MUI_HEADERIMAGE
|
||||
!define MUI_HEADERIMAGE_BITMAP "${NSISDIR}\Contrib\Graphics\Header\orange.bmp"
|
||||
|
||||
!define MUI_WELCOMEFINISHPAGE_BITMAP "${NSISDIR}\Contrib\Graphics\Wizard\orange.bmp"
|
||||
!define MUI_UNWELCOMEFINISHPAGE_BITMAP "${NSISDIR}\Contrib\Graphics\Wizard\orange.bmp"
|
||||
|
||||
!define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\orange-install.ico"
|
||||
!define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\orange-uninstall.ico"
|
||||
|
||||
!define VERSION "0.9.0"
|
||||
!define PRODUCT_VERSION "0.9.0.0"
|
||||
|
||||
Name "QSynergy ${VERSION}"
|
||||
OutFile "qsynergy-${VERSION}-setup.exe"
|
||||
InstallDir "$PROGRAMFILES\QSynergy\"
|
||||
|
||||
BrandingText " "
|
||||
|
||||
SetCompressor /FINAL bzip2
|
||||
|
||||
; Registry key to check for directory (so if you install again, it will
|
||||
; overwrite the old one automatically)
|
||||
InstallDirRegKey HKLM "Software\Fidra\QSynergy" "Install_Dir"
|
||||
|
||||
; ---------------------------
|
||||
; Pages
|
||||
; ---------------------------
|
||||
|
||||
!insertmacro MUI_PAGE_WELCOME
|
||||
!insertmacro MUI_PAGE_LICENSE "..\COPYING"
|
||||
|
||||
!insertmacro MUI_PAGE_COMPONENTS
|
||||
!insertmacro MUI_PAGE_DIRECTORY
|
||||
!insertmacro MUI_PAGE_INSTFILES
|
||||
!insertmacro MUI_PAGE_FINISH
|
||||
|
||||
!insertmacro MUI_UNPAGE_CONFIRM
|
||||
!insertmacro MUI_UNPAGE_INSTFILES
|
||||
!insertmacro MUI_UNPAGE_FINISH
|
||||
|
||||
|
||||
|
||||
; ---------------------------
|
||||
; Languages
|
||||
; ---------------------------
|
||||
|
||||
!insertmacro MUI_LANGUAGE "English"
|
||||
|
||||
LangString qsynergy ${LANG_ENGLISH} "QSynergy program files"
|
||||
LangString DESC_qsynergy ${LANG_ENGLISH} "The program files required for QSynergy."
|
||||
|
||||
LangString qt_dlls ${LANG_ENGLISH} "Qt libraries QSynergy needs to run"
|
||||
LangString DESC_qt_dlls ${LANG_ENGLISH} "If you have Qt 4.3 or newer installed, you don't need to install this."
|
||||
|
||||
LangString startmenu ${LANG_ENGLISH} "Start menu entry"
|
||||
LangString DESC_startmenu ${LANG_ENGLISH} "Create a start menu entry for QSynergy."
|
||||
|
||||
LangString desktopicon ${LANG_ENGLISH} "Desktop icon"
|
||||
LangString DESC_desktopicon ${LANG_ENGLISH} "Create an icon on the desktop for QSynergy."
|
||||
|
||||
; ---------------------------
|
||||
; Environment PATH manipulation
|
||||
; ---------------------------
|
||||
|
||||
; !include "path_manip.nsh"
|
||||
|
||||
|
||||
; ---------------------------
|
||||
; Version stuff
|
||||
; ---------------------------
|
||||
|
||||
VIProductVersion "${PRODUCT_VERSION}"
|
||||
|
||||
VIAddVersionKey /LANG=${LANG_ENGLISH} "ProductName" "QSynergy ${VERSION} Setup"
|
||||
VIAddVersionKey /LANG=${LANG_ENGLISH} "Comments" "Installs QSynergy ${VERSION} on your computer."
|
||||
VIAddVersionKey /LANG=${LANG_ENGLISH} "CompanyName" "Fidra Software Entwicklung, Volker Lanz"
|
||||
VIAddVersionKey /LANG=${LANG_ENGLISH} "LegalTrademarks" ""
|
||||
VIAddVersionKey /LANG=${LANG_ENGLISH} "LegalCopyright" "2008 Fidra Software Entwicklung, Volker Lanz"
|
||||
VIAddVersionKey /LANG=${LANG_ENGLISH} "FileDescription" "QSynergy ${VERSION} Setup"
|
||||
VIAddVersionKey /LANG=${LANG_ENGLISH} "FileVersion" "${VERSION}"
|
||||
|
||||
|
||||
; ---------------------------
|
||||
; Callbacks
|
||||
; ---------------------------
|
||||
|
||||
Function .onInit
|
||||
!insertmacro MUI_LANGDLL_DISPLAY
|
||||
FunctionEnd
|
||||
|
||||
Function un.onInit
|
||||
!insertmacro MUI_LANGDLL_DISPLAY
|
||||
FunctionEnd
|
||||
|
||||
|
||||
; ---------------------------
|
||||
; The stuff to install
|
||||
; ---------------------------
|
||||
|
||||
Section $(qsynergy) section_qsynergy
|
||||
SectionIn RO
|
||||
|
||||
SetOutPath "$INSTDIR"
|
||||
File "..\release\qsynergy.exe"
|
||||
File "..\README"
|
||||
File "..\COPYING"
|
||||
|
||||
; Write the installation path into the registry
|
||||
WriteRegStr HKLM "Software\Fidra\QSynergy" "Install_Dir" "$INSTDIR"
|
||||
|
||||
; Write the uninstall keys for Windows
|
||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\QSynergy" "DisplayName" "QSynergy ${VERSION}"
|
||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\QSynergy" "UninstallString" '"$INSTDIR\uninstall.exe"'
|
||||
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\QSynergy" "NoModify" 1
|
||||
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\QSynergy" "NoRepair" 1
|
||||
WriteUninstaller "uninstall.exe"
|
||||
SectionEnd
|
||||
|
||||
Section $(qt_dlls) section_qt_dlls
|
||||
SetOutPath "$INSTDIR"
|
||||
File "..\..\..\..\sw\qt\lib\qtcore4.dll"
|
||||
File "..\..\..\..\sw\qt\lib\qtgui4.dll"
|
||||
File "..\..\..\..\sw\qt\lib\qtnetwork4.dll"
|
||||
SectionEnd
|
||||
|
||||
Section $(startmenu) section_startmenu
|
||||
CreateDirectory "$SMPROGRAMS\QSynergy"
|
||||
CreateShortCut "$SMPROGRAMS\QSynergy\QSynergy.lnk" "$INSTDIR\qsynergy.exe" "" "$INSTDIR\qsynergy.exe" 0
|
||||
CreateShortCut "$SMPROGRAMS\QSynergy\README.lnk" "$INSTDIR\README" "" "$INSTDIR\README" 0
|
||||
CreateShortCut "$SMPROGRAMS\QSynergy\COPYING.lnk" "$INSTDIR\COPYING" "" "$INSTDIR\COPYING" 0
|
||||
CreateShortCut "$SMPROGRAMS\QSynergy\Uninstall.lnk" "$INSTDIR\uninstall.exe" "" "$INSTDIR\uninstall.exe" 0
|
||||
SectionEnd
|
||||
|
||||
Section $(desktopicon) section_desktopicon
|
||||
CreateShortCut "$DESKTOP\QSynergy.lnk" "$INSTDIR\qsynergy.exe" "" "$INSTDIR\qsynergy.exe" 0
|
||||
SectionEnd
|
||||
|
||||
; ---------------------------
|
||||
; Uninstaller
|
||||
; ---------------------------
|
||||
|
||||
Section "Uninstall"
|
||||
; Remove registry keys
|
||||
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\QSynergy"
|
||||
DeleteRegKey HKLM SOFTWARE\Fidra\QSynergy
|
||||
|
||||
; Remove files and uninstaller
|
||||
Delete "$INSTDIR\uninstall.exe"
|
||||
|
||||
Delete "$INSTDIR\*.exe"
|
||||
Delete "$INSTDIR\README"
|
||||
Delete "$INSTDIR\COPYING"
|
||||
Delete "$INSTDIR\*.dll"
|
||||
|
||||
; startmenu and desktop icon
|
||||
Delete "$SMPROGRAMS\QSynergy\*.*"
|
||||
Delete "$DESKTOP\QSynergy.lnk"
|
||||
|
||||
; Remove directories used
|
||||
RMDir "$SMPROGRAMS\QSynergy"
|
||||
RMDir "$INSTDIR"
|
||||
SectionEnd
|
||||
|
||||
|
||||
; ---------------------------
|
||||
; Section descriptions
|
||||
; ---------------------------
|
||||
|
||||
!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
|
||||
!insertmacro MUI_DESCRIPTION_TEXT ${section_qsynergy} $(DESC_qsynergy)
|
||||
!insertmacro MUI_DESCRIPTION_TEXT ${section_qt_dlls} $(DESC_qt_dlls)
|
||||
!insertmacro MUI_DESCRIPTION_TEXT ${section_startmenu} $(DESC_startmenu)
|
||||
!insertmacro MUI_DESCRIPTION_TEXT ${section_desktopicon} $(DESC_desktopicon)
|
||||
!insertmacro MUI_FUNCTION_DESCRIPTION_END
|
||||
|
|
@ -1,44 +0,0 @@
|
|||
/* XPM */
|
||||
static char *qsynergy[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"32 32 6 1",
|
||||
" c #010000",
|
||||
". c #336666",
|
||||
"X c #3399CC",
|
||||
"o c #6699FF",
|
||||
"O c #99CC33",
|
||||
"+ c None",
|
||||
/* pixels */
|
||||
"++++++++++++++++++++++++++++++++",
|
||||
"++++++++++++oooo....++++++++++++",
|
||||
"+++++++++ooooooo.......+++++++++",
|
||||
"++++++++oooooooo........++++++++",
|
||||
"++++++oooooooooo..........++++++",
|
||||
"+++++ooooooooooo...........+++++",
|
||||
"++++oooooooooooo............++++",
|
||||
"++++oooooooooooo............++++",
|
||||
"+++oooooooooo++++++..........+++",
|
||||
"++ooooooooo++++++++++.........++",
|
||||
"++oooooooo++++++++++++........++",
|
||||
"++ooooooo++++++++++++++.......++",
|
||||
"+oooooooo++++++++++++++........+",
|
||||
"+ooooooo++++++++++++++++.......+",
|
||||
"+ooooooo++++++++++++++++.......+",
|
||||
"+ooooooo++++++++++++++++.......+",
|
||||
"+OOOOOOO++++++++++++++++XXXXXXX+",
|
||||
"+OOOOOOO++++++++++++++++XXXXXXX+",
|
||||
"+OOOOOOO++++++++++++++++XXXXXXX+",
|
||||
"+OOOOOOOO++++++++++++++XXXXXXXX+",
|
||||
"++OOOOOOO++++++++++++++XXXXXXX++",
|
||||
"++OOOOOOOO++++++++++++XXXXXXXX++",
|
||||
"++OOOOOOOOO++++++++++XXXXXXXXX++",
|
||||
"+++OOOOOOOOOO++++++XXXXXXXXXX+++",
|
||||
"++++OOOOOOOOOOOOXXXXXXXXXXXX++++",
|
||||
"++++OOOOOOOOOOOOXXXXXXXXXXXX++++",
|
||||
"+++++OOOOOOOOOOOXXXXXXXXXXX+++++",
|
||||
"++++++OOOOOOOOOOXXXXXXXXXX++++++",
|
||||
"++++++++OOOOOOOOXXXXXXXX++++++++",
|
||||
"+++++++++OOOOOOOXXXXXXX+++++++++",
|
||||
"++++++++++++OOOOXXXX++++++++++++",
|
||||
"++++++++++++++++++++++++++++++++"
|
||||
};
|
|
@ -1,17 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
APPNAME=qsynergy
|
||||
VERSION=0.9.0
|
||||
TMPBASE=/tmp
|
||||
TMPDIR=${TMPBASE}/${APPNAME}-${VERSION}
|
||||
|
||||
cd $(dirname $0)/..
|
||||
[ -e Makefile ] && make distclean
|
||||
mkdir -p ${TMPDIR}
|
||||
cp -a src/ ${TMPDIR}
|
||||
cp -a res/ ${TMPDIR}
|
||||
cp -a dist/ ${TMPDIR}
|
||||
cp qsynergy.pro COPYING INSTALL README ${TMPDIR}
|
||||
tar cCfz ${TMPBASE} ${APPNAME}-${VERSION}.tar.gz --exclude=.svn ${APPNAME}-${VERSION}
|
||||
rm -rf ${TMPDIR}
|
||||
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue