[Bug 526444] Review Request: MyGUI - Fast, simple and flexible GUI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=526444





--- Comment #17 from Thomas Janssen <thomasj@xxxxxxxxxxxxxxxxx>  2009-11-17 14:51:08 EDT ---
(In reply to comment #16)
> (In reply to comment #15)

> > [fix]
> > You use %cmake but no macro for the rest of the commands like install, sed. 
> > 
> 
> I have seen use of core commands without macros in other packages; are macros
> mandatory? %cmake does a lot of things while %install and %sed are just
> wrappers 

Just saying, use macros, or not :) Consistency.

> > I rebuilt it here and it was running after i installed mygui and mygui-tools (i
> > tried the LayoutEditor).
> > Does it make sense to have mygui installed alone? Can one do anything with it,
> > without the tools?
> > If not, make the tools installed with the mainpackage, or maybe merge the tool
> > package into the main package.
> 
> MyGUI is a library that allows to build UIs defined with xml files, so yes, i
> think most installations will only involve the main package. The LayoutEditor
> is a (ongoing development) tool to help create those xml files, helping
> developers in designing uis. I could require -devel for the -tools to render
> that explicit, even if the tools works alone. Please share your thoughts.

Hmm.. Ok, then the %description of the main and -tools package are confusing.

Summary:        Fast, simple and flexible GUI for Ogre  <== shouldn't that be
library instead of GUI? Or gui creator

%description
MyGUI is a GUI library for Ogre Rendering Engine which aims to be fast, 
flexible and simple in using. 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^same here

%description    tools
This package contains the GUI tools... <== complete this sentence as you think
it would fit best. That way it's obviously there are GUI tools.


That gets me to another point i forgot in the last post. There's no desktop
file for the GUI apps. Means nothing shows up here in my menu (KDE menu with
search function). I was able to start it via terminal/krunner.

You should add desktop files for the GUI apps. To find out how this works isn't
very user friendly (not to blame you). One has to run MyGUI-Tools in a terminal
to find out that there are three things he can run.

Would be great from my point of view to have .desktop files to start it from
the menu.

> > As well it couldn't load anything from the list (within the load dialog). 
> > Maybe just me.
> 
> The current file dialog doesnt filter out unsupported files, and the working
> directory is a dotdir that contains some other files needed to run the editor.
> Can you please report if saving a simple design (a window with a button for
> instance), closing the editor, then loading it again works? 

Yes it does work, sorry, haven't thought about that.

> > Are the code template files needed outside a develpackage? Does the program
> > work without them installed? You could move them into the devel package and
> > make that installed by default as well.
> 
> The templates are meant for code generation by LayoutEditor, that's why they
> included them in Media subdirectory; note that code generation is not in
> LayoutEditor yet. atm LayoutEditor will work without them, but i included those
> files here to pass under the review process. I can only add that suse folks
> have packaged the templates in {_datadir} as well.

Ok. To have the templates in %{_datadir} isn't the problem. I was just asking
because of the rpmlint warnings about the devel files.
Package the devel files (code templates) into the -devel package and make the
-tools package require the -devel package installed.

> > [fix]
> > rpmlint -I dangling-symlink
> > dangling-symlink:
> > The target of the symbolic link does not exist within this package or its file
> > based dependencies.  Verify spelling of the link target and that the target is
> > included in a package in this package's dependency chain.
> 
> Need help here; the two fonts linked are provided by package dejavu-sans-fonts,
> which is among requires. After installation, the symlinks are working. Should i
> add a file based require? Adding BRs is not enough to make warning go away.

Hmm.. I have to digg deeper into that as well. Looking at my last paste (at
bottom) you can see the warning is after it's installed.

> > [fix]
> > rpmlint from installed packages:
> > 
> > mygui.x86_64: W: undefined-non-weak-symbol /usr/lib64/libMyGUIEngine.so.3.0.0
> > dlsym
> > mygui.x86_64: W: undefined-non-weak-symbol /usr/lib64/libMyGUIEngine.so.3.0.0
> > uuid_generate
> > mygui.x86_64: W: undefined-non-weak-symbol /usr/lib64/libMyGUIEngine.so.3.0.0
> > dlopen
> > mygui.x86_64: W: undefined-non-weak-symbol /usr/lib64/libMyGUIEngine.so.3.0.0
> > dlcloserpmlint -I undefined-non-weak-symbol
> > 
> > undefined-non-weak-symbol:
> > The binary contains undefined non-weak symbols.  This may indicate improper
> > linkage; check that the binary has been linked as expected.
> > 
> > You might check that linking problem with upstream.  
> 
> ok, i'm not on rawhide and my rpmlint wasnt reporting those warnings, i will
> investigate the problem.  

You get those rpmlint output running rpmlint on the installed packages:

[thomas@tusdell ~]$ rpmlint mygui mygui-tools mygui-devel mygui-demos
mygui-debuginfo
mygui.x86_64: W: undefined-non-weak-symbol /usr/lib64/libMyGUIEngine.so.3.0.0
dlsym
mygui.x86_64: W: undefined-non-weak-symbol /usr/lib64/libMyGUIEngine.so.3.0.0
uuid_generate
mygui.x86_64: W: undefined-non-weak-symbol /usr/lib64/libMyGUIEngine.so.3.0.0
dlopen
mygui.x86_64: W: undefined-non-weak-symbol /usr/lib64/libMyGUIEngine.so.3.0.0
dlclose
mygui.x86_64: W: dangling-symlink
/usr/share/MyGUI/Media/MyGUI_Media/DejaVuSans-ExtraLight.ttf
/usr/share/fonts/dejavu/DejaVuSans-ExtraLight.ttf
mygui.x86_64: W: dangling-symlink
/usr/share/MyGUI/Media/MyGUI_Media/DejaVuSans.ttf
/usr/share/fonts/dejavu/DejaVuSans.ttf
mygui-tools.x86_64: W: devel-file-in-non-devel-package
/usr/share/MyGUI/Media/Tools/LayoutEditor/CodeTemplates/BaseLayoutCPP/BaseLayoutTemplate.cpp
mygui-tools.x86_64: W: devel-file-in-non-devel-package
/usr/share/MyGUI/Media/Tools/LayoutEditor/CodeTemplates/BaseLayoutCPP/BaseLayoutTemplate.h
mygui-tools.x86_64: W: devel-file-in-non-devel-package
/usr/share/MyGUI/Media/Tools/LayoutEditor/CodeTemplates/BaseLayoutCPP/EventTemplate.cpp
mygui-devel.x86_64: W: no-documentation
5 packages and 0 specfiles checked; 0 errors, 10 warnings.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Fedora-package-review mailing list
Fedora-package-review@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-package-review

[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]