On Thu, Oct 28, 2010 at 10:57:51PM +0200, Pavel Nemec wrote:
>
> > > Hm, from first link I see, that I should create new method. No
> > > problem. Will try.
>
> So I tried. I created method
> g_y2ccjast
>
> but It was stored in compiled file as
> 0001491e T _Z10g_y2ccjastv
>
> as I do not know how to compile it with precise name I gaved it up.
The g_y2cc... symbol must be an object of the Y2ComponentCreator
type.
> > There might be a way around that, but I'd rather remove this
> > senseless restriction in an online update. Can you patch
> > YUIComponentCreator::createInternal and proceed?
>
> Did that. Actually worked.
Oh, good.
> However.
> My library is placed in ~/.yast2/servers/libjast.so
> and for sure I created link into
>
> ~/.yast2/plugin/libpy2jast.so.2
>
> Strace showed, that those places are tried :)
>
> But at the end
> I got:
> [ui] YUIPlugin.cc(YUIPlugin):69 Could not load UI plugin "jast":
> /usr/lib/YaST2/plugin/libpy2jast.so.2: cannot open shared object file: No such
> file or directory
>
> Which I had to say didn`t expected.
>
> After creating of symbolic link I was finally able to call my constructor.
>
> So. What I can to do run it without patching YUIComponentCreator ?
Well, I would have to dig around a bit.
It would help if I could try it on your actual code. Can I get a
snapshot or a repository?
We can also meet on irc://irc.freenode.org/#yast
--
Martin Vidner, YaST developer
http://en.opensuse.org/User:Mvidner
Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu
[full quote for the mailing list]
On Wed, Oct 27, 2010 at 04:17:02PM +0200, Pavel Nemec wrote:
> Dne 27. října 2010 12:42 Martin Vidner <mvidner(a)suse.cz> napsal(a):
> > Hi Pavel,
> >
> > I'm excited to see someone develop with YaST, welcome.
> >
> > Would it be OK to make this discussion public, for the benefit of
> > others with the same problem? Therefore I write in English.
>
> np.
>
> >
> > Which version of YaST are you using? One distributed with a
> > particular openSUSE release? It looks like it wants to
>
> openSUSE 11.3
>
> > initialize the UI in an old way, abandoned in 2008:
> > http://svn.opensuse.org/viewvc/yast?view=revision&revision=44717
>
> Hm, from first link I see, that I should create new method. No
> problem. Will try.
>
> But I do not understand what is the new aproach? I have different name
> than gtk, ncurses or qt. How should I proceed to intialize my
> component?
Aaaargh! the code indeed limits the UI names to the three existing
ones:
http://svn.opensuse.org/svn/yast/trunk/ycp-ui-bindings/src/YUIComponentCrea…
There might be a way around that, but I'd rather remove this
senseless restriction in an online update. Can you patch
YUIComponentCreator::createInternal and proceed?
Martin
> Thanks a lot.
>
> Pavel
>
> >
> > Martin
> >
> > On Wed, Oct 27, 2010 at 11:04:11AM +0200, Lukas Ocilka wrote:
> >> -----BEGIN PGP SIGNED MESSAGE-----
> >> Hash: SHA1
> >>
> >> Ahoj, vubec netusim, co je tam za problem. Preposilam Martinovi.
> >>
> >> Lukas
> >>
> >> - -------- P?vodní zpráva --------
> >> P?edm?t: vlastni server komponenta v yastu a problem s nenalezenim symbolu
> >> Datum: Tue, 26 Oct 2010 21:31:22 +0200
> >> Od: Pavel Nemec <nemecp4(a)gmail.com>
> >> Komu: locilka(a)suse.cz
> >>
> >> Ahoj Lukasi,
> >> zkousim si vytvorit vlastni komponentu pro yast (vlastni ui) a zasekl
> >> jsem se
> >> na problemu, s kterym si nevim rady. Puvodne jsem se chtel zeptat huhy
> >> (vetsina ui je s huhovou hlavickou), ale zaslechl jsem, ze uz v suse neni.
> >>
> >>
> >> Vytvoril jsem vlastni implementaci UI, zkompiloval a inicializoval pomoci
> >> /usr/lib/YaST2/bin/y2base nfs jast
> >>
> >> (jast se jmenuje me UI)
> >>
> >> V logu se objevi postupne
> >>
> >> genericfrontend.cc(main):760 Creating server "jast"
> >> ...
> >> Y2PluginComponent.cc(loadPlugin):215 loadPlugin
> >> (/home/pavel/.yast2/plugin/libpy2jast.so.2), namespace (nil)
> >>
> >> a pak
> >>
> >> Y2PluginComponent.cc(locateSym):316 Not found symbol: g_y2ccjast
> >>
> >>
> >> to pochazi z kodu
> >> Y2ComponentCreator* y2cc = (Y2ComponentCreator*) dlsym (handle, buffer);
> >>
> >> kde handle je "jast"
> >>
> >> a buffer je "g_y2cc"+jast
> >>
> >> A v tom zrejme vezi muj problem, netusim jak vytvorit handler s timto
> >> nazvem,
> >> pripadne, jak ho nejak zaregistrovat. Prohledaval jsem qt a ncurses
> >> implementaci, ale nenasel jsem nic co by pripominalo takovy handler.
> >>
> >> Budu vdecny za jakykoliv napovedu.
> >> Predem dik,
> >> Pavel Nemec
--
Martin Vidner, YaST developer
http://en.opensuse.org/User:Mvidner
Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu
Hi all,
Each webyast module defines several options for the control panel (like title,
icon...). There is also a tag with description, but it has not been used at all.
So have enabled it in my branch tmp/lslezak/after_1.1 as a tooltip (implemented by
title attribute). So the description is displayed after a while when you place
the cursor on an icon.
However, the problem is that the descriptions are inconsistent or they do not provide
any useful value in some cases.
Bad examples:
"System Services" -> "Manage the LSB init scripts" (too technical, our target users
may not even know what LSB init script is)
"Firewall" -> "Firewall settings" (useless, of course it sets the firewall, but the
user may not know what does it mean...)
Good examples (IMO):
"Roles" -> "Set permissions in roles and assign users to roles"
"Time" -> "Set the clock"
The others are something between, but they are definitely inconsistent in style
and wording.
This is just one more point in WebYaST usability/design problems...
--
Best Regards
Ladislav Slezák
Yast Developer
------------------------------------------------------------------------
SUSE LINUX, s.r.o. e-mail: lslezak(a)suse.cz
Lihovarská 1060/12 tel: +420 284 028 960
190 00 Prague 9 fax: +420 284 028 951
Czech Republic http://www.suse.cz/
--
To unsubscribe, e-mail: yast-devel+unsubscribe(a)opensuse.org
For additional commands, e-mail: yast-devel+help(a)opensuse.org
Hi there,
cause i cant catch everybody on the irc, i ask this way :-)
i trying to find the yast documentation stuff, but ftpforge.novell.com
seems to be shutoff.
I would like to read a bit in this docu, so where hat it gone :-)
Greets
Jörg
--
To unsubscribe, e-mail: yast-devel+unsubscribe(a)opensuse.org
For additional commands, e-mail: yast-devel+help(a)opensuse.org
Hi all,
I just have noticed that we still build YaST:Head project also for openSUSE-11.2.
Is it still needed?
openSUSE-11.3 is out for quite long time and IMO we could remove 11.2 build target
to save some OBS resources...
Any opinions? Does anybody still need the latest YaST packages for 11.2?
--
Best Regards
Ladislav Slezák
Yast Developer
------------------------------------------------------------------------
SUSE LINUX, s.r.o. e-mail: lslezak(a)suse.cz
Lihovarská 1060/12 tel: +420 284 028 960
190 00 Prague 9 fax: +420 284 028 951
Czech Republic http://www.suse.cz/
--
To unsubscribe, e-mail: yast-devel+unsubscribe(a)opensuse.org
For additional commands, e-mail: yast-devel+help(a)opensuse.org
Hi,
with the release of Appliance Toolkit 1.1, we are taking a pause in
WebYaST development.
For the git repositories it means that we are not making a
maintenance branch yet and 'master' will be used for that. Naturally
you can use feature branches for new stuff.
--
Martin Vidner, YaST developer
http://en.opensuse.org/User:Mvidner
Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu
kkaempf, vgorobets, mvidner, schubi, jsuchome, lslezak
** we have a gold master for WebYaST 1.1 **
Congratulations and thank you for a job well done !!
Next step: Maintenance update to bring WebYaST 1.1 to SLES11 SP1
-- no more daily stand-up calls for WebYaST --
vgorobets:
- SLMS update testing
mvidner:
- worked with Rudi to get WebYaST-1.1-Pool
- will start with maintenance update
schubi:
- no update
jsuchome:
- Continued with SLMS update testing
- Still blocked by SLMS (and Studio) bugs
- keeps contact with SLMS team
lslezak:
- testing SLMS
---
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
--
To unsubscribe, e-mail: yast-devel+unsubscribe(a)opensuse.org
For additional commands, e-mail: yast-devel+help(a)opensuse.org
mvidner, jsuchome, mzugec, vgorobets, schubi, kkaempf
mvidner:
- WebYaST-Pool not properly signed (will file bug report)
jsuchome:
- Continued with SLMS update testing, currently blocked by
WebYaST-Pool not properly signed
mzugec:
- no update
vgorobets:
- further fixes and testing
- will also help with SLMS update testing
schubi:
- no update
kkaempf:
- no update
---
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
--
To unsubscribe, e-mail: yast-devel+unsubscribe(a)opensuse.org
For additional commands, e-mail: yast-devel+help(a)opensuse.org