Added appdata for gnome-software visibility.
Jeandet Alexis -
r67:b3ebdaaf24d5 default
Not Reviewed
Show More
Add another comment
TODOs: 0 unresolved 0 Resolved
COMMENTS: 0 General 0 Inline
@@ -0,0 +1,10
1 class SocExplorerRegister:
2 plugin=0
3 address=0
4 def __init__(self, plugin,address):
5 self.plugin = plugin
6 self.address = address
7 def value(self):
8 return self.plugin.Read(self.address,1)[0]
9 def set(self, value):
10 return self.plugin.Write(self.address,[value])
@@ -0,0 +1,27
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Copyright 2014 Alexis Jeandet <alexis.jeandet@member.fsf.org> -->
3 <application>
4 <id type="desktop">SocExplorer.desktop</id>
5 <metadata_license>CC0-1.0</metadata_license>
6 <project_license>GPL-2.0</project_license>
7 <name>SocExplorer</name>
8 <summary>SocExplorer is an open source generic System On Chip testing software/framework.</summary>
9 <description>
10 <p>
11 SocExplorer is an open source generic System On Chip testing software/framework.
12 We write this software for the development and the validation of our instrument,
13 the Low Frequency Receiver(LFR) for the Solar Orbiter mission. This instrument is
14 based on an actel FPGA hosting a LEON3FT processor and some peripherals. To
15 make it more collaborative, we use a plugin based system, the main executable is
16 SocExplorer then all the functionality are provided by plugins. Like this
17 everybody can provide his set of plugins to handle a new SOC or just a new
18 peripheral. SocExplorer uses PythonQt to allow user to automate some tasks such
19 as loading some plugins, configuring them and talking with his device.
20 </p>
21 </description>
22 <screenshots>
23 <screenshot type="default" width="800" height="600">https://hephaistos.lpp.polytechnique.fr/redmine/attachments/download/384/SocExplorer_ScreenShot1.png</screenshot>
24 </screenshots>
25 <url type="homepage">http://www.gnome.org/projects/en_US/gnome-power-manager</url>
26 <updatecontact>alexis.jeandet@member.fsf.org</updatecontact>
27 </application>
@@ -20,8 +20,10
20
20
21
21
22 unix{
22 unix{
23 SocExplorer.path = /usr/share/applications/
23 SocExplorerLauncher.path = /usr/share/applications/
24 SocExplorer.files = unixcfg/SocExplorer.desktop
24 SocExplorerLauncher.files = unixcfg/SocExplorer.desktop
25 SocExplorerAppData.path = /usr/share/appdata/
26 SocExplorerAppData.files = unixcfg/SocExplorer.appdata.xml
25 PluginConfPath.path = /etc/SocExplorer/plugin.conf.d/
27 PluginConfPath.path = /etc/SocExplorer/plugin.conf.d/
26 PluginConfPath.files = unixcfg/plugins.conf
28 PluginConfPath.files = unixcfg/plugins.conf
27 share.path = /usr/share/SocExplorer
29 share.path = /usr/share/SocExplorer
@@ -33,7 +35,7
33 Qt_Creator_Wizard/SocExplorerPlugin/plugin.h \
35 Qt_Creator_Wizard/SocExplorerPlugin/plugin.h \
34 Qt_Creator_Wizard/SocExplorerPlugin/project.pro \
36 Qt_Creator_Wizard/SocExplorerPlugin/project.pro \
35 Qt_Creator_Wizard/SocExplorerPlugin/wizard.xml
37 Qt_Creator_Wizard/SocExplorerPlugin/wizard.xml
36 INSTALLS+=Wizard SocExplorer share PluginConfPath
38 INSTALLS+=Wizard SocExplorerLauncher share PluginConfPath SocExplorerAppData
37 }
39 }
38 INSTALLS+=socexplorercfg
40 INSTALLS+=socexplorercfg
39
41
@@ -25,31 +25,6
25 #include <QList>
25 #include <QList>
26 #include <QObject>
26 #include <QObject>
27
27
28 //class ucBitfield: public QObject
29 //{
30 // Q_OBJECT
31 //public:
32 // explicit ucBitfield(QObject* parent =0);
33 // explicit ucBitfield(const QString& name,int offset,const QString& description,QObject* parent =0);
34 // QString name();
35 // int offset();
36 // QString description();
37 //public slots:
38 // void setName(const QString& name);
39 // void setOffset(int offset);
40 // void setDescription(const QString& description);
41
42 //signals:
43 // void nameChanged(const QString& name);
44 // void offsetChanged(int offset);
45 // void descriptionChanged(const QString& description);
46 //private:
47
48 // QString p_name;
49 // int p_offset;
50 // QString p_description;
51 //};
52
53 class ucRegister :public QObject
28 class ucRegister :public QObject
54 {
29 {
55 Q_OBJECT
30 Q_OBJECT
@@ -30,7 +30,6
30 #include "registerdata.h"
30 #include "registerdata.h"
31 #include <socclk.h>
31 #include <socclk.h>
32 #include <socexplorerplugin.h>
32 #include <socexplorerplugin.h>
33 //#include <socexplorerenumdevice.h>
34 class socExplorerEnumDevice;
33 class socExplorerEnumDevice;
35
34
36 class registerBitFieldModel
35 class registerBitFieldModel
@@ -82,7 +81,6
82 Q_OBJECT
81 Q_OBJECT
83 public:
82 public:
84 SOCModel(socexplorerplugin* rootDev,QObject* parent=0);
83 SOCModel(socexplorerplugin* rootDev,QObject* parent=0);
85 // qint32 getRegValue(qint32 baseAddress);
86 bool isRootDev(socexplorerplugin* rootDev)
84 bool isRootDev(socexplorerplugin* rootDev)
87 {
85 {
88 return rootDev==p_rootDev;
86 return rootDev==p_rootDev;
@@ -90,7 +88,6
90 bool enumDeviceExists(qint32 baseAddress);
88 bool enumDeviceExists(qint32 baseAddress);
91 socExplorerEnumDevice *getEnumDevice(qint32 baseAddress);
89 socExplorerEnumDevice *getEnumDevice(qint32 baseAddress);
92 public slots:
90 public slots:
93 //void setRegValue(qint32 baseAddress,qint32 value);
94 qint32 getEnumDeviceBaseAddress(int VID,int PID,int count=0);
91 qint32 getEnumDeviceBaseAddress(int VID,int PID,int count=0);
95 qint32 getEnumDeviceCount(int VID,int PID);
92 qint32 getEnumDeviceCount(int VID,int PID);
96 socExplorerEnumDevice* addEnumDevice(int VID, int PID, qint32 baseAddress, const QString& name);
93 socExplorerEnumDevice* addEnumDevice(int VID, int PID, qint32 baseAddress, const QString& name);
@@ -90,7 +90,6
90 //! Return the configuration folder path, OS dependant.
90 //! Return the configuration folder path, OS dependant.
91 SOCEXPLORER_SDK_EXPORT static QString configFolder();
91 SOCEXPLORER_SDK_EXPORT static QString configFolder();
92 //! Return the default plugin folder path, OS dependant.
92 //! Return the default plugin folder path, OS dependant.
93 //static QString pluginFolder(){return QString(SOCEXPLORER_PLUGINS_INSTALL_PATH);}
94 static QStringList pluginFolders();
93 static QStringList pluginFolders();
95 static QString configPath(){return QString(SOCEXPLORER_CONFIG_PATH);}
94 static QString configPath(){return QString(SOCEXPLORER_CONFIG_PATH);}
96 static QString sharePath(){return QString(SOCEXPLORER_SHARE_PATH);}
95 static QString sharePath(){return QString(SOCEXPLORER_SHARE_PATH);}
Comments 0
You need to be logged in to leave comments. Login now