Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 02 Sep 2014, 08:19
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Network
Frisbee Network Manager - Beta 2
Post new topic   Reply to topic View previous topic :: View next topic
Page 9 of 25 [363 Posts]   Goto page: Previous 1, 2, 3, ..., 7, 8, 9, 10, 11, ..., 23, 24, 25 Next
Author Message
01micko


Joined: 11 Oct 2008
Posts: 7797
Location: qld

PostPosted: Sat 19 Jan 2013, 00:51    Post subject:  

I have svg'd all the frisbee icons and the whole lot now weigh in at 68k uncompressed.

Now I have to code them in.. @rerwin.. what is that source above? Is that to make 1 tray app covering both frisbee and the other networking apps?

EDIT 0: @rerwin, ok looks like it! I'll adjust THAT code for my new icons, compile, test and upload source.

EDIT 1: Ok compile and test is successful, so if the original 2.6 adjusted by rerwin works, this version should work. The source with icons and binary weighs about the same as rerwin's but the icons should look much better. Svg scales perfectly as that's what it's designed to do (scalable vector graphics).

EDIT2: I installed the latest frisbee packages apart from the network tray and it svg shows but the icon doesn't update,

EDIT 3: Installed the original rerwin network_tray-2.6 and it still failed, but after a reboot the icons worked.. so I reinstalled my hacked network tray and rebooted and it worked! Now we can have nice frisbee tray icons. Probably a little work to do to get it refreshing without a reboot, or at least a message.

EDIT 4: I have now incorporated my IP patch, however I will leave the other version up in case that the IP code is buggy, I am yet to receive reports for PPP and PPPoe interfaces.
network_tray-2.6-2.tar.bz2
Description  With IP patch. The original network_tray source with that patch is included.
bz2

 Download 
Filename  network_tray-2.6-2.tar.bz2 
Filesize  20.17 KB 
Downloaded  168 Time(s) 
svg_frisbee.png
 Description   svg frisbee icons working
 Filesize   5.46 KB
 Viewed   800 Time(s)

svg_frisbee.png

network_tray-2.6-1.tar.bz2
Description  with svg icons
bz2

 Download 
Filename  network_tray-2.6-1.tar.bz2 
Filesize  19.08 KB 
Downloaded  157 Time(s) 
capture23968.png
 Description   
 Filesize   42.05 KB
 Viewed   841 Time(s)

capture23968.png

fris_svg-1.tar.bz2
Description 
bz2

 Download 
Filename  fris_svg-1.tar.bz2 
Filesize  6.26 KB 
Downloaded  158 Time(s) 

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
peebee


Joined: 21 Sep 2008
Posts: 1402
Location: Malvern, Worcs, UK

PostPosted: Sat 19 Jan 2013, 03:31    Post subject:  

01micko wrote:


EDIT2: I installed the latest frisbee packages apart from the network tray and it svg shows but the icon doesn't update,

EDIT 3: Installed the original rerwin network_tray-2.6 and it still failed, but after a reboot the icons worked.. so I reinstalled my hacked network tray and rebooted and it worked! Now we can have nice frisbee tray icons. Probably a little work to do to get it refreshing without a reboot, or at least a message.


Hi Mick

It may be because you haven't renamed:

network*.svg to network*-eth.svg - at least that was the scheme that Richard used with the old versions.

However you do still need the old network* versions for the other network manager / the network wizard?? Maybe now in both formats??

Just guessing.
Cheers
peebee

_________________
LxPup-14.03 = Puppy + LXDE
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7797
Location: qld

PostPosted: Sat 19 Jan 2013, 03:36    Post subject:  

Hi peebee,

No, I renamed them, like I said, works perfectly after a reboot, so it's something else, I haven't tracked it down yet, but it doesn't work after an X restart either. I'm 99.8% sure that the icons have nothing to do with it. The other source posted by rerwin behaves the same.

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
peebee


Joined: 21 Sep 2008
Posts: 1402
Location: Malvern, Worcs, UK

PostPosted: Sat 19 Jan 2013, 04:35    Post subject:  

01micko wrote:
Hi peebee,

No, I renamed them, like I said, works perfectly after a reboot, so it's something else, I haven't tracked it down yet, but it doesn't work after an X restart either. I'm 99.8% sure that the icons have nothing to do with it. The other source posted by rerwin behaves the same.


Did you include svg versions of the original network* icons - they're still needed as well as the 3 sets with - suffixes....

Really like the new icons BTW.

Cheers
peebee

_________________
LxPup-14.03 = Puppy + LXDE
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7797
Location: qld

PostPosted: Sat 19 Jan 2013, 04:52    Post subject:  

peebee wrote:
Did you include svg versions of the original network* icons - they're still needed as well as the 3 sets with - suffixes....

Really like the new icons BTW.

Cheers
peebee

No, they are not needed as they are called by *.xpm. They can coexist nicely. Even png could be mixed in, or whatever. (And BTW those relevant xpm icons are in my source).

EDIT 0: @rerwin, The refreshing of the icon when frisbee is engaged seems to be dependant on the renewal of the IP address. If from the frisbee main gui I reset the wireless process then the icons refresh and work as expected. This is why it works on a reboot. Simply restarting network_tray fails every time. I'm no programmer but I hope this info gives you a clue.

EDIT 1: I think I have got it! Wrong signal:
Code:
#define SIGRTfrisbeeup   35
This seems not to be respected. (I have been testing in slacko-5.4 and pemau's upup-3.7.2).
If I enter
Code:
killall -36 network_tray
it works! BUT that is for wireless only, and isn't consistent.. so for other connection types this won't work in /usr/local/bin/frisbee_mode_enable. This is definitely a starting point, Cool. [A few moments later...] well not quite, but sending 36 and then 35 did work after an X restart, tested both in upup and slacko, consisitent results. HTH
_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
rerwin


Joined: 24 Aug 2005
Posts: 1513
Location: Maine, USA

PostPosted: Sat 19 Jan 2013, 16:58    Post subject:  

01micko, peebee,
I think that the reason the frisbee icons do not show after installation of your pet is because the "killall -35 network_tray" does not happen after restarting the network_tray program (which tells it that frisbee mode is on). Both of those could be done in a pinstall.sh. But that script should test whether "frisbee mode" is in effect ([ -f /etc/frisbee/.frisbee_mode ]) before signalling.

Nice work, with the icons! Does use of the .svn files require any other resources than are already part of a standard puppy? I do not want to introduce a new dependency that might impact the likelihood of frisbee being accepted for woof.

Another consideration: How much processing is required to display an svg icon? If it is significant versus an xpm icon, that could be an issue, because an icon is displayed every half-second. As an experiment, just now, I exported a wireless icon into a 24x24 bitmap that is much simplified-looking. So pre-converting the vector image to bitmap (and then to xpm, I assume) is not productive.
Richard

Last edited by rerwin on Sat 19 Jan 2013, 17:49; edited 2 times in total
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7797
Location: qld

PostPosted: Sat 19 Jan 2013, 17:00    Post subject:  

rerwin wrote:
Nice work, with the icons! Does use of the .svn files require any other resources than are already part of a standard puppy? I do not want to introduce a new dependency that might impact the likelihood of frisbee being accepted for woof.
Richard
No, I have been using svg tray icons for awhile now and they seem to run fine in any puppy. All necessary stuff is included in gtk-+2.0.
_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
rerwin


Joined: 24 Aug 2005
Posts: 1513
Location: Maine, USA

PostPosted: Wed 23 Jan 2013, 23:55    Post subject: frisbee-1.0 release candidate  

I have uploaded another version of the frisbee "kit" and pdiag here:
http://www.murga-linux.com/puppy/viewtopic.php?p=678292#678292

I hope this is the set for submission to Barry for inclusion in the woof system. If anyone still has issues with my integrated version of Frisbee, please report them in this thread, so I can address them.

The only future change I expect is Argolance's internationalization upgrade to the frisbee package. See the link for more information.
Richard
Back to top
View user's profile Send private message 
rerwin


Joined: 24 Aug 2005
Posts: 1513
Location: Maine, USA

PostPosted: Thu 24 Jan 2013, 19:28    Post subject: frisbee network_tray icons - many possibilities  

The network_tray frisbee icons in the "kit" to be submitted for woof retains the 24x24 .xpm files I produced from the originals. Not that I object to people working to improve them, I do not want to impact this kit by making further icon changes. The kit is limited to migrating the existing Frisbee beta4 to woof with only the necessary changes and bug fixes. Once in woof, it would be ready for various improvement projects.

I feel that the icon improvements are a separate project, with many possibilities. My preference is to eliminate the separate set of icons in favor of creating variants of the existing puppy tray globe-and-terminal icon, representing broadband wireless (wlan, etc.), analog dialup and wireless dialup.

The dialups probably each need only a single icon that indicates that those connections are active (transmitting and receiving) because I know of no way to tell when actual data is transmitted or received; the ppp connection is "up" only when a call is in progress. I am not sure how to distinguish "up" from "connected". Wireless dialup could be detected by testing the wvdial log for a phone/access number that looks like a "data" call (#... or *...).

The current frisbee wireless activity icons do not distinguish transmitting versus receiving, although the network_tray logic for that is the same as for ethernet. Can anyone confirm that wireless can have periods of only transmitting or receiving? Or does wireless always do both?

So, there are too many icon possibilities for me to choose one for the kit. Let the fun begin, on ideas for upgrading the icons.
Richard
Back to top
View user's profile Send private message 
ASRI éducation


Joined: 09 May 2009
Posts: 2417
Location: France

PostPosted: Thu 31 Jan 2013, 07:55    Post subject: Re: Frisbee localization with gettext  

rerwin wrote:
Argolance wrote:
I noticed that Frisbee is in English Confused ... Did someone already begin to work on the localization? If not, I would eventually like to try to do it (using gettext).

...
We can work together on this by PM, if you so wish. Thanks for offering to do the internationalization.

@ Argolance
Si besoin, tu peux piocher des traductions dans le Frisbee d'ASRI300 (j'avais traduit en fr l'ancienne version de Frisbee).
Cordialement,
Back to top
View user's profile Send private message Visit poster's website 
Argolance


Joined: 06 Jan 2008
Posts: 1825
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Thu 31 Jan 2013, 12:22    Post subject:  

Hello ASRI,
Merci pour ta proposition: j'ai terminé la "gettextisation" de frisbee ainsi que la traduction et les ai envoyées hier soir à rerwin Confused. Reste à savoir maintenant si le travail est bon... et comme je fais pratiquement mes premières armes avec gettext, je suis un peu inquiet Embarassed. L'avenir le dira!

(Hors-sujet: C'est évident qu'il faudrait mettre en place un moyen de pouvoir mieux coordonner nos travaux, mais c'est toujours pareil, cela demanderait encore du temps et comme nous en avons tout juste assez pour mener à bien ces travaux de "titans" Very Happy, j'avoue pour ma part que je ne prends pas assez celui de lever la tête du guidon pour prendre connaissance de ce qu'il se passe. De plus, je fais les choses comme elles arrivent et ne planifie jamais rien à l'avance, ce qui complique les choses...)

Cordialement.

_________________

Back to top
View user's profile Send private message Visit poster's website 
rerwin


Joined: 24 Aug 2005
Posts: 1513
Location: Maine, USA

PostPosted: Thu 31 Jan 2013, 20:10    Post subject: Test version of Internationalized frisbee  

Argolance, peebee,
I have integrated Argolance's gettext internationalization into frisbee, along with some corrections to original typos and inconsistent or informal wording of messages.

The package does not include any .po or .mo files, as I assume they are maintained and placed by the translators. Anyway, I have no idea on how to implement the translations, so rely on the translators to do that. The frisbee.pot file, though, is in /usr/share/doc/nls/frisbee/

This should have the same functionality as 0125 in the "kit". Please notify me if I have broken something.
Richard

UPDATE 2/7/2012: I have removed the test version of frisbee previously attached here, because the latest version is now available at this link:
http://www.murga-linux.com/puppy/viewtopic.php?p=662521#662521

Please do all testing with that version. Thanks to all who tried the test package.
Richard

Last edited by rerwin on Thu 07 Feb 2013, 17:13; edited 1 time in total
Back to top
View user's profile Send private message 
Argolance


Joined: 06 Jan 2008
Posts: 1825
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Fri 01 Feb 2013, 05:18    Post subject:  

Hello rerwin,
You told me:
Quote:
I made further improvements to some of the wording of the messages, so your translation needs to be updated. I am attaching a difference listing between the frisbee.pot file you sent me and the "0131" version, to assist you in making your updates. For the comparison, I moved your frisbee.pot "hook_notify" section to the end of the file, to match "0131".
Thank you!
Question But I was wondering how you proceed to make your modifications. Did you only modified English chains inside the pot file I sent to you? If yes this would not have any effect on the script itself and po/mo files generated from this pot file would give wrong results. Modifications have to be done directly inside the script, then a pot file has to be build from. Afterward, it is possible to update any previous po files and to generate new mo files for each language.

Cordialement.

_________________

Back to top
View user's profile Send private message Visit poster's website 
rerwin


Joined: 24 Aug 2005
Posts: 1513
Location: Maine, USA

PostPosted: Fri 01 Feb 2013, 14:49    Post subject:  

Argolance,
I modified the frisbee and func scripts, then ran xgettext to generate the .pot file. So, they are synchronized.

I have since had one other thought: I probably should add a "version" to the scripts and to the xgettext command I use to produce the .pot file. I assume that I merely add a "version=1.0.0" line to each of the places where I put the export...frisbee lines. Then I add arguments to the xgettext command. BTW, I keep that as a comment in the pinstall.sh file in the package, because I want to keep it around, somewhere.

Beyond that, is there anything more I should do to complete my part of the internationalization? Will the scripts automatically look in /usr/share/locale for the translation files? Or do I need to specify that somewhere?
Richard
Back to top
View user's profile Send private message 
Argolance


Joined: 06 Jan 2008
Posts: 1825
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Sat 02 Feb 2013, 05:46    Post subject:  

Hello,
Quote:
I modified the frisbee and func scripts, then ran xgettext to generate the .pot file. So, they are synchronized.

OK! Smile
Sorry, I was a little perplexed because of the difference listing between the frisbee.pot files you sent to me. As far as I know, it is not required to update po files? But maybe I ignore its utility as well as the reason why you moved the frisbee.pot "hook_notify" section to the end of the file to match "0131"...
Quote:
I have since had one other thought: I probably should add a "version" to the scripts and to the xgettext command I use to produce the .pot file. I assume that I merely add a "version=1.0.0" line to each of the places where I put the export...frisbee lines. Then I add arguments to the xgettext command. BTW, I keep that as a comment in the pinstall.sh file in the package, because I want to keep it around, somewhere.

Not sure at all I well understand what you think Embarassed... I take the risk of saying the version number can simply be added at the beginning of the scritps as variable and displayed in their window title bars.
Quote:
Will the scripts automatically look in /usr/share/locale for the translation files? Or do I need to specify that somewhere?

Yes, they will!

EDIT: I will send French po and mo files later: I just noticed "Gateway" is still in English on the shot below Shocked!

Cordialement.
104537_846x422_easyshot.png
 Description   
 Filesize   58.58 KB
 Viewed   395 Time(s)

104537_846x422_easyshot.png


_________________

Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 9 of 25 [363 Posts]   Goto page: Previous 1, 2, 3, ..., 7, 8, 9, 10, 11, ..., 23, 24, 25 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Network
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1139s ][ Queries: 13 (0.0092s) ][ GZIP on ]