##// END OF EJS Templates
Added plugin vresion management....
jeandet -
r77:820d90d5d232 default
parent child
Show More
@@ -6,17 +6,12
6 CONFIG += socexplorerplugin
6 CONFIG += socexplorerplugin
7 win32:CONFIG += dll
7 win32:CONFIG += dll
8 win32:CONFIG -= static
8 win32:CONFIG -= static
9 CONFIG(debug, debug|release) {
9 VERSION=0.1.0
10 DEBUG_EXT = _d
11 } else {
12 DEBUG_EXT =
13 }
14 TARGET = %ProjectName%$${DEBUG_EXT}
10 TARGET = %ProjectName%$${DEBUG_EXT}
15 DEFINES += PLUGIN=%ProjectName%
11 DEFINES += PLUGIN=%ProjectName%
16 DEFINES += PLUGINHEADER="\"\\\"%ProjectName%.h"\\\"\"
12 DEFINES += PLUGINHEADER="\"\\\"%ProjectName%.h"\\\"\"
17 DEFINES += driver_Name="\"\\\"%driver_Name%"\\\"\"
13 DEFINES += driver_Name="\"\\\"%driver_Name%"\\\"\"
18 DEFINES += driver_Author="\"\\\"%driver_Author% %driver_Mail%"\\\"\"
14 DEFINES += driver_Author="\"\\\"%driver_Author% %driver_Mail%"\\\"\"
19 DEFINES += driver_Version="\"\\\"%driver_Version%"\\\"\"
20 DEFINES += driver_Description="\"\\\"%driver_Description%"\\\"\"
15 DEFINES += driver_Description="\"\\\"%driver_Description%"\\\"\"
21 DEFINES += driver_can_be_root=%ISROOT%
16 DEFINES += driver_can_be_root=%ISROOT%
22 DEFINES += driver_can_be_child=%ISCHILD%
17 DEFINES += driver_can_be_child=%ISCHILD%
@@ -10,7 +10,7 SOCEXPLORER_PLUGIN_LOADER="custom"
10
10
11 SOCEXPLORER_CHAGESETNUM=$$system(hg id)
11 SOCEXPLORER_CHAGESETNUM=$$system(hg id)
12 isEmpty(SOCEXPLORER_CHAGESETNUM){
12 isEmpty(SOCEXPLORER_CHAGESETNUM){
13 SOCEXPLORER_CHAGESETNUM=7e54838aea98+
13 SOCEXPLORER_CHAGESETNUM=2c7201cecc87+
14 }
14 }
15 SOCEXPLORER_CHAGESETNUMSTR = '\\"$${SOCEXPLORER_CHAGESETNUM}\\"'
15 SOCEXPLORER_CHAGESETNUMSTR = '\\"$${SOCEXPLORER_CHAGESETNUM}\\"'
16 SOCEXPLORER_BRANCH=$$system(hg branch)
16 SOCEXPLORER_BRANCH=$$system(hg branch)
@@ -19,7 +19,7 isEmpty(SOCEXPLORER_BRANCH){
19 }
19 }
20 SOCEXPLORER_BRANCHSTR = '\\"$${SOCEXPLORER_BRANCH}\\"'
20 SOCEXPLORER_BRANCHSTR = '\\"$${SOCEXPLORER_BRANCH}\\"'
21
21
22 DEFINES += SOCEXPLORER_VERSION="\"\\\"0.4.8"\\\"\"
22 DEFINES += SOCEXPLORER_VERSION="\"\\\"0.5.0"\\\"\"
23 DEFINES += SOCEXPLORER_CHAGESET=\"$${SOCEXPLORER_CHAGESETNUMSTR}\"
23 DEFINES += SOCEXPLORER_CHAGESET=\"$${SOCEXPLORER_CHAGESETNUMSTR}\"
24 DEFINES += SOCEXPLORER_BRANCH=\"$${SOCEXPLORER_BRANCHSTR}\"
24 DEFINES += SOCEXPLORER_BRANCH=\"$${SOCEXPLORER_BRANCHSTR}\"
25
25
@@ -1,4 +1,5
1
1
2 DEFINES += driver_Version="\"\\\"$$VERSION"\\\"\"
2
3
3 win32 {
4 win32 {
4 DEFINES += WIN32
5 DEFINES += WIN32
@@ -34,11 +35,6 isEmpty( SOCEXPLORER_SDK_BUILD ){
34 OBJECTS_DIR = obj
35 OBJECTS_DIR = obj
35 MOC_DIR = moc
36 MOC_DIR = moc
36 DESTDIR = bin
37 DESTDIR = bin
37 # CONFIG(debug, debug|release) {
38 # DEBUG_EXT = _d
39 # } else {
40 # DEBUG_EXT =
41 # }
42 unix{
38 unix{
43 target.path = $${SOCEXPLORER_PLUGINS_INSTALL_PATH}
39 target.path = $${SOCEXPLORER_PLUGINS_INSTALL_PATH}
44 INSTALLS += target
40 INSTALLS += target
@@ -77,20 +77,6 SOURCES += main.cpp\
77 regsExplorer/regsexplorercfg.cpp \
77 regsExplorer/regsexplorercfg.cpp \
78 aboutsocexplorer.cpp
78 aboutsocexplorer.cpp
79
79
80 # regWidget/xmltagtextedit.cpp \
81 # regWidget/xmltaglabeledit.cpp \
82 # regWidget/xmlelementslistwidget.cpp \
83 # regWidget/xmlelementslistview.cpp \
84 # regWidget/regpropeditor.cpp \
85 # regWidget/registerwdgt.cpp \
86 # regWidget/registereditor.cpp \
87 # regWidget/registercel.cpp \
88 # regWidget/periphpropeditor.cpp \
89 # regWidget/peripherialregs.cpp \
90 # regWidget/bitfieldpropeditor.cpp \
91 # regWidget/bitfield.cpp
92
93
94 HEADERS += mainwindow.h \
80 HEADERS += mainwindow.h \
95 PyWdgt/pythonconsole.h \
81 PyWdgt/pythonconsole.h \
96 PyWdgt/pythonqtscriptingconsoledandd.h \
82 PyWdgt/pythonqtscriptingconsoledandd.h \
@@ -103,18 +89,6 HEADERS += mainwindow.h \
103 socexplorer.h \
89 socexplorer.h \
104 SocExplorerEngine/plugins/socexplorerplugin.h \
90 SocExplorerEngine/plugins/socexplorerplugin.h \
105 aboutsocexplorer.h
91 aboutsocexplorer.h
106 # regWidget/xmltagtextedit.h \
107 # regWidget/xmltaglabeledit.h \
108 # regWidget/xmlelementslistwidget.h \
109 # regWidget/xmlelementslistview.h \
110 # regWidget/regpropeditor.h \
111 # regWidget/registerwdgt.h \
112 # regWidget/registereditor.h \
113 # regWidget/registercel.h \
114 # regWidget/periphpropeditor.h \
115 # regWidget/peripherialregs.h \
116 # regWidget/bitfieldpropeditor.h \
117 # regWidget/bitfield.h
118
92
119
93
120 include ( NicePyConsole/NicePyConsole.pri)
94 include ( NicePyConsole/NicePyConsole.pri)
@@ -1,16 +1,13
1 %global upstream_name socexplorer-0.4
1 %global upstream_name socexplorer-0.5
2
2
3 Name: socexplorer
3 Name: socexplorer
4 Version: 0.4
4 Version: 0.5
5 Release: 8%{?dist}
5 Release: 0%{?dist}
6 Summary: SocExplorer is an open source generic System On Chip testing software/framework.
6 Summary: SocExplorer is an open source generic System On Chip testing software/framework.
7 Group: Development/Tools
7 Group: Development/Tools
8 License: GPLv2+
8 License: GPLv2+
9 URL: https://hephaistos.lpp.polytechnique.fr/redmine/projects/socexplorer
9 URL: https://hephaistos.lpp.polytechnique.fr/redmine/projects/socexplorer
10 Source0: https://hephaistos.lpp.polytechnique.fr/redmine/attachments/download/376/socexplorer-0.4.zip
10 Source0: https://hephaistos.lpp.polytechnique.fr/redmine/attachments/download/376/socexplorer-0.5.zip
11 #
12 #Patch0: socexplorer_desktop.patch
13
14
11
15 BuildRequires: python2-devel
12 BuildRequires: python2-devel
16 BuildRequires: qt5-qtbase-devel
13 BuildRequires: qt5-qtbase-devel
@@ -34,8 +31,8 Requires(post): qt5-qtxmlpatterns
34 Requires(post): elfutils-libelf
31 Requires(post): elfutils-libelf
35 Requires(post): qt5-pythonqt
32 Requires(post): qt5-pythonqt
36
33
37 Provides: socexplorer = 0.4-6
34 Provides: socexplorer = 0.5-0
38 Obsoletes: socexplorer < 0.4-5
35 Obsoletes: socexplorer < 0.4-8
39
36
40 %description
37 %description
41 SocExplorer is an open source generic System On Chip testing software/framework. We write this software for the development and the validation of our instrument, the Low Frequency Receiver(LFR) for the Solar Orbiter mission. This instrument is based on an actel FPGA hosting a LEON3FT processor and some peripherals. To make it more collaborative, we use a plugin based system, the main executable is SocExplorer then all the functionality are provided by plugins. Like this everybody can provide his set of plugins to handle a new SOC or just a new peripheral. SocExplorer uses PythonQt to allow user to automate some tasks such as loading some plugins, configuring them and talking with his device.
38 SocExplorer is an open source generic System On Chip testing software/framework. We write this software for the development and the validation of our instrument, the Low Frequency Receiver(LFR) for the Solar Orbiter mission. This instrument is based on an actel FPGA hosting a LEON3FT processor and some peripherals. To make it more collaborative, we use a plugin based system, the main executable is SocExplorer then all the functionality are provided by plugins. Like this everybody can provide his set of plugins to handle a new SOC or just a new peripheral. SocExplorer uses PythonQt to allow user to automate some tasks such as loading some plugins, configuring them and talking with his device.
@@ -50,7 +47,6 Header files and development libraries f
50
47
51 %prep
48 %prep
52 %setup -q -n %{upstream_name}
49 %setup -q -n %{upstream_name}
53 #%patch0 -p1 -b .desktop
54
50
55
51
56
52
@@ -308,6 +304,9 desktop-file-validate $RPM_BUILD_ROOT%{_
308
304
309
305
310 %changelog
306 %changelog
307 * Thu Mar 26 2015 Alexis Jeandet <alexis.jeandet@member.fsf.org> - 0.5
308 -Uses r77 as source.
309
311 * Mon Mar 9 2015 Alexis Jeandet <alexis.jeandet@member.fsf.org> - 0.4
310 * Mon Mar 9 2015 Alexis Jeandet <alexis.jeandet@member.fsf.org> - 0.4
312 - Uses r75 as source.
311 - Uses r75 as source.
313
312
General Comments 0
You need to be logged in to leave comments. Login now