mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-27 15:57:08 -05:00
moved file rsversion.h to rsguiversion.h, since it caused a conflict with libretroshare/src/util/rsversion.h when included as util/rsversion.h. Updated version detail script.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5539 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
29b5983e71
commit
1581f5a96e
@ -89,7 +89,7 @@
|
|||||||
#include <retroshare/rsnotify.h>
|
#include <retroshare/rsnotify.h>
|
||||||
|
|
||||||
#include "gui/connect/ConnectFriendWizard.h"
|
#include "gui/connect/ConnectFriendWizard.h"
|
||||||
#include "util/rsversion.h"
|
#include "util/rsguiversion.h"
|
||||||
#include "settings/rsettingswin.h"
|
#include "settings/rsettingswin.h"
|
||||||
#include "settings/rsharesettings.h"
|
#include "settings/rsharesettings.h"
|
||||||
#include "common/StatusDefs.h"
|
#include "common/StatusDefs.h"
|
||||||
|
@ -283,7 +283,7 @@ HEADERS += rshare.h \
|
|||||||
util/EventFilter.h \
|
util/EventFilter.h \
|
||||||
util/EventReceiver.h \
|
util/EventReceiver.h \
|
||||||
util/Widget.h \
|
util/Widget.h \
|
||||||
util/rsversion.h \
|
util/rsguiversion.h \
|
||||||
util/RsAction.h \
|
util/RsAction.h \
|
||||||
util/printpreview.h \
|
util/printpreview.h \
|
||||||
util/log.h \
|
util/log.h \
|
||||||
@ -576,7 +576,7 @@ SOURCES += main.cpp \
|
|||||||
util/EventReceiver.cpp \
|
util/EventReceiver.cpp \
|
||||||
util/Widget.cpp \
|
util/Widget.cpp \
|
||||||
util/RsAction.cpp \
|
util/RsAction.cpp \
|
||||||
util/rsversion.cpp \
|
util/rsguiversion.cpp \
|
||||||
util/printpreview.cpp \
|
util/printpreview.cpp \
|
||||||
util/log.cpp \
|
util/log.cpp \
|
||||||
util/misc.cpp \
|
util/misc.cpp \
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
* Boston, MA 02110-1301, USA.
|
* Boston, MA 02110-1301, USA.
|
||||||
****************************************************************/
|
****************************************************************/
|
||||||
|
|
||||||
#include "rsversion.h"
|
#include "rsguiversion.h"
|
||||||
|
|
||||||
QString retroshareVersion() {
|
QString retroshareVersion() {
|
||||||
return QString(GUI_VERSION);
|
return QString(GUI_VERSION);
|
||||||
@ -27,4 +27,4 @@ QString retroshareVersion() {
|
|||||||
|
|
||||||
QString retroshareRevision() {
|
QString retroshareRevision() {
|
||||||
return QString(GUI_REVISION);
|
return QString(GUI_REVISION);
|
||||||
}
|
}
|
@ -27,7 +27,7 @@ if (ls &> /dev/null); then
|
|||||||
echo "" >> gui/help/version.html
|
echo "" >> gui/help/version.html
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#write the rsversion.h file
|
#write the rsguiversion.h file
|
||||||
if ( git log -n 1 &> /dev/null); then
|
if ( git log -n 1 &> /dev/null); then
|
||||||
#retrieve git information
|
#retrieve git information
|
||||||
version="git : $(git status | grep branch | cut -c 6-) $(git log -n 1 | grep commit)"
|
version="git : $(git status | grep branch | cut -c 6-) $(git log -n 1 | grep commit)"
|
||||||
@ -46,8 +46,8 @@ if ( svn info &> /dev/null); then
|
|||||||
fi
|
fi
|
||||||
if [[ $version != '' ]]; then
|
if [[ $version != '' ]]; then
|
||||||
version="$version date : $(date +'%T %m.%d.%y')"
|
version="$version date : $(date +'%T %m.%d.%y')"
|
||||||
echo "Writing version to util/rsversion.h : $version "
|
echo "Writing version to util/rsguiversion.h : $version "
|
||||||
sed -i "s/GUI_REVISION .*/GUI_REVISION \"$version\"/g" util/rsversion.h
|
sed -i "s/GUI_REVISION .*/GUI_REVISION \"$version\"/g" util/rsguiversion.h
|
||||||
fi
|
fi
|
||||||
echo "version_detail.sh scripts finished"
|
echo "version_detail.sh scripts finished"
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user