Re: [OE-core] [PATCH] scripts: add pkgdataui

2020-01-07 Thread Peter Kjellerstedt
> -Original Message-
> From: Ross Burton 
> Sent: den 2 januari 2020 18:16
> To: Peter Kjellerstedt ; openembedded-
> c...@lists.openembedded.org
> Subject: Re: [OE-core] [PATCH] scripts: add pkgdataui
> 
> On 30/12/2019 01:16, Peter Kjellerstedt wrote:
> >> pkgdataui is a Python 3/GObject Introspection/GTK+ 3 tool to browse the 
> >> pkgdata
> >
> > Would it make sense to rename it to oe-pkgdata-browser (based on the title 
> > it
> > gives itself, and the existing oe-pkgadata-util tool)?
> 
> Makes sense.

I have a patch set that changes this, and makes some other 
improvements. I'll send it next.

> > I get the following errors when I run it (though the GUI comes up and seems
> > to work):
> >
> > libGL error: No matching fbConfigs or visuals found
> > libGL error: failed to load driver: swrast
> 
> That's your host system GTK+/Mesa, not pkgdataui.

Hmm, ok. It seems to run without those errors now that I tried 
again, so I guess it was just something temporary.

> >>   scripts/pkgdataui.glade | 335
> 
> >
> > Can the .glade file be put somewhere else than in the scripts directory?
> > Because as it is now, it shows up when using tab completion (with zsh).
> 
> Why is zsh showing it? It's not executable, and a glade file shouldn't
> be ran by anything.

I have no idea. Anyway, if the script is renamed to a name without the 
.py suffix, it shouldn't matter anymore since the real script will then 
be shown before the .glade file.

> Ross

//Peter

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH] scripts: add pkgdataui

2020-01-02 Thread Ross Burton

On 30/12/2019 01:16, Peter Kjellerstedt wrote:

pkgdataui is a Python 3/GObject Introspection/GTK+ 3 tool to browse the pkgdata


Would it make sense to rename it to oe-pkgdata-browser (based on the title it
gives itself, and the existing oe-pkgadata-util tool)?


Makes sense.


I get the following errors when I run it (though the GUI comes up and seems
to work):

libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast


That's your host system GTK+/Mesa, not pkgdataui.


  scripts/pkgdataui.glade | 335 


Can the .glade file be put somewhere else than in the scripts directory?
Because as it is now, it shows up when using tab completion (with zsh).


Why is zsh showing it? It's not executable, and a glade file shouldn't 
be ran by anything.


Ross
--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH] scripts: add pkgdataui

2019-12-29 Thread Peter Kjellerstedt
> -Original Message-
> From: openembedded-core-boun...@lists.openembedded.org  boun...@lists.openembedded.org> On Behalf Of Ross Burton
> Sent: den 10 december 2019 13:08
> To: openembedded-core@lists.openembedded.org
> Subject: [OE-core] [PATCH] scripts: add pkgdataui
> 
> pkgdataui is a Python 3/GObject Introspection/GTK+ 3 tool to browse the 
> pkgdata

Would it make sense to rename it to oe-pkgdata-browser (based on the title it 
gives itself, and the existing oe-pkgadata-util tool)?

> database at your leisure.  By being graphical it is easier to explore and can
> follow links between packages.
> 
> This is very much a work in progress, so be gentle and patches are welcome.

I get the following errors when I run it (though the GUI comes up and seems 
to work):

libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast

> Signed-off-by: Ross Burton 
> ---
>  scripts/pkgdataui.glade | 335 

Can the .glade file be put somewhere else than in the scripts directory? 
Because as it is now, it shows up when using tab completion (with zsh).

>  scripts/pkgdataui.py| 241 +
>  2 files changed, 576 insertions(+)
>  create mode 100644 scripts/pkgdataui.glade
>  create mode 100755 scripts/pkgdataui.py

//Peter

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH] scripts: add pkgdataui

2019-12-10 Thread Ross Burton
pkgdataui is a Python 3/GObject Introspection/GTK+ 3 tool to browse the pkgdata
database at your leisure.  By being graphical it is easier to explore and can
follow links between packages.

This is very much a work in progress, so be gentle and patches are welcome.

Signed-off-by: Ross Burton 
---
 scripts/pkgdataui.glade | 335 
 scripts/pkgdataui.py| 241 +
 2 files changed, 576 insertions(+)
 create mode 100644 scripts/pkgdataui.glade
 create mode 100755 scripts/pkgdataui.py

diff --git a/scripts/pkgdataui.glade b/scripts/pkgdataui.glade
new file mode 100644
index 000..04e987b975e
--- /dev/null
+++ b/scripts/pkgdataui.glade
@@ -0,0 +1,335 @@
+
+
+
+  
+  
+
+  
+  
+  
+  
+
+  
+  
+
+  
+  
+  
+  
+
+  
+  
+
+  
+  
+  
+  
+
+  
+  
+
+  
+  
+
+  
+  
+False
+Package Data Browser
+accessories-dictionary
+True
+
+  
+True
+False
+4
+4
+4
+4
+vertical
+4
+
+  
+False
+pkgdata_store
+1
+
+  
+  
+0
+  
+
+  
+  
+False
+True
+0
+  
+
+
+  
+True
+True
+200
+True
+
+  
+True
+True
+in
+100
+
+  
+True
+True
+recipe_store
+0
+True
+False
+
+  
+
+
+  
+fixed
+Recipe
+
+  
+  
+0
+  
+
+  
+
+  
+
+  
+  
+False
+True
+  
+
+
+  
+True
+True
+200
+True
+
+  
+True
+True
+in
+100
+
+  
+True
+True
+package_store
+0
+False
+
+  
+
+
+  
+True
+autosize
+Package
+0
+
+  
+  
+0
+  
+
+  
+
+
+  
+True
+autosize
+Size
+1
+
+  
+
+  
+
+  
+
+  
+  
+False
+True
+  
+
+
+  
+True
+False
+4
+vertical
+4
+
+  
+True
+False
+0
+label
+  
+  
+False
+True
+0
+  
+
+
+  
+True
+False
+0
+depends_label
+True
+False
+  
+  
+False
+True
+1
+  
+
+
+  
+True
+False
+0
+recs_label
+True
+

[OE-core] [PATCH] scripts: add pkgdataui

2017-05-16 Thread Ross Burton
pkgdataui is a Python 3/GObject Introspection/GTK+ 3 tool to browse the pkgdata
database at your leisure.  By being graphical it is easier to explore and can
follow links between packages.

This is very much a work in progress, so be gentle and patches are welcome.

Signed-off-by: Ross Burton 
---
 scripts/pkgdataui.glade | 335 
 scripts/pkgdataui.py| 241 ++
 2 files changed, 576 insertions(+)
 create mode 100644 scripts/pkgdataui.glade
 create mode 100755 scripts/pkgdataui.py

diff --git a/scripts/pkgdataui.glade b/scripts/pkgdataui.glade
new file mode 100644
index 000..04e987b
--- /dev/null
+++ b/scripts/pkgdataui.glade
@@ -0,0 +1,335 @@
+
+
+
+  
+  
+
+  
+  
+  
+  
+
+  
+  
+
+  
+  
+  
+  
+
+  
+  
+
+  
+  
+  
+  
+
+  
+  
+
+  
+  
+
+  
+  
+False
+Package Data Browser
+accessories-dictionary
+True
+
+  
+True
+False
+4
+4
+4
+4
+vertical
+4
+
+  
+False
+pkgdata_store
+1
+
+  
+  
+0
+  
+
+  
+  
+False
+True
+0
+  
+
+
+  
+True
+True
+200
+True
+
+  
+True
+True
+in
+100
+
+  
+True
+True
+recipe_store
+0
+True
+False
+
+  
+
+
+  
+fixed
+Recipe
+
+  
+  
+0
+  
+
+  
+
+  
+
+  
+  
+False
+True
+  
+
+
+  
+True
+True
+200
+True
+
+  
+True
+True
+in
+100
+
+  
+True
+True
+package_store
+0
+False
+
+  
+
+
+  
+True
+autosize
+Package
+0
+
+  
+  
+0
+  
+
+  
+
+
+  
+True
+autosize
+Size
+1
+
+  
+
+  
+
+  
+
+  
+  
+False
+True
+  
+
+
+  
+True
+False
+4
+vertical
+4
+
+  
+True
+False
+0
+label
+  
+  
+False
+True
+0
+  
+
+
+  
+True
+False
+0
+depends_label
+True
+False
+  
+  
+False
+True
+1
+  
+
+
+  
+True
+False
+0
+recs_label
+True
+