maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Clean way to add/remove LED patterns to mce.ini (https://talk.maemo.org/showthread.php?t=45614)

rambo 2010-03-01 11:11

Re: Clean way to add/remove LED patterns to mce.ini
 
Promoted mceledpattern to extras-testing (again; it's not in user sections so to test you need to "apt-get install mceledpattern" instead of using HAM)

As for changing from python to a compiled language, we have had some PM discussions about this with ph5 and I agree it's a good idea but right now I don't have resources.

rambo 2010-03-02 21:26

Re: Clean way to add/remove LED patterns to mce.ini
 
Sleep be damned, been reading some Vala tutorials and though my weekend is fully booked already (budo seminar) it is possible that a Vala rewrite of my tool is coming at the end of the week anyway (especially if ph5 has time to help as he suggested he might)

rambo 2010-03-03 21:46

Re: Clean way to add/remove LED patterns to mce.ini
 
Vala rewrite WIP, I'm learning Vala as I go so this is a bit of a stub still...

rambo 2010-03-04 18:46

Re: Clean way to add/remove LED patterns to mce.ini
 
Thanks to a little help from ph5 I managed to finish the rewrite, new version should be landing to extras testing soon.

qole 2010-03-04 21:25

Re: Clean way to add/remove LED patterns to mce.ini
 
So now can you expand your tool to be a more generic mce editor? I would like to do the same thing, except I'd like to add vibrator patterns.

rambo 2010-03-05 06:10

Re: Clean way to add/remove LED patterns to mce.ini
 
Quote:

Originally Posted by qole (Post 556111)
So now can you expand your tool to be a more generic mce editor? I would like to do the same thing, except I'd like to add vibrator patterns.

I wasn't planning on making it *actually* generic (it would make the command-line options jungle so complicated that one would be better of using just sed), but adding handling for vibrator patterns as well should not be hard.

rambo 2010-03-05 21:16

Re: Clean way to add/remove LED patterns to mce.ini
 
Added a very ugly copy-paste solution for vibra patterns (not even tested yet), this raises the code smellines factor so high that refactoring needs to be done Real Soon Now.

raghavmurali 2010-03-05 21:37

Re: Clean way to add/remove LED patterns to mce.ini
 
not able to install from the site

rambo 2010-03-06 06:52

Re: Clean way to add/remove LED patterns to mce.ini
 
Quote:

Originally Posted by raghavmurali (Post 557323)
not able to install from the site

"from the site" ? As in which site etc ? This program is not in user/xx -category (since it's cli helper aimed mostly for developers of programs like the led pattern editor)

You need to install it via dpkg (first download the deb) or via apt-get (extras-testing repo), if you don't know how to do these things then this tool is not for you.

rambo 2010-03-06 07:26

Re: Clean way to add/remove LED patterns to mce.ini
 
Quote:

Originally Posted by rambo (Post 557304)
Added a very ugly copy-paste solution for vibra patterns (not even tested yet), this raises the code smellines factor so high that refactoring needs to be done Real Soon Now.

Of course the copy-paste version was buggy, but I fixed the bugs (not yet refactoring the code, that will take more than 30min...) and uploaded a new package version to autobuilder.

Don't have time to wait for it to land in devel repo so I could promote it, so if you want to test the latest version check the -devel repo.


All times are GMT. The time now is 17:03.

vBulletin® Version 3.8.8