Author Topic: I just packaged Noteedit-2.8.1 - Testers wanted  (Read 3162 times)

Offline gseaman

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3785
I just packaged Noteedit-2.8.1 - Testers wanted
« on: May 31, 2009, 09:09:15 PM »
Noteedit is an old program, but still the best way to graphically create ABC Music files. The developer's have moved on to create Canorus, which is going to be great, but they aren't currently working on export ABC music, so Noteedit still has value to a lot of people (or at least to me ;)). I created a patch so that the default preview with abcm2ps works correctly, without modification.

binary rpm
www.packagesite.net/rpm/noteedit-2.8.1-1pclinuxos2009.i586.rpm

source rpm
www.packagesite.net/rpm/noteedit-2.8.1-1pclinuxos2009.i586.src.rpm

Galen

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: I just packaged Noteedit-2.8.1 - Testers wanted
« Reply #1 on: June 01, 2009, 01:09:19 AM »
Two menu entries. > Multimedia > Sound > NoteEdit and ~~> Noteedit.
As Noteedit is what you have in your spec for Menu Entry > NAME, the NoteEdit entry may be coming from the source. - I haven't checked it; this is just my guess.

I opened it via NoteEdit entry, chose 'Insert' > Key Signature - C-Sharp - A-minor, then chose 'Edit' > Undo and got an error message that NoteEdit had encountered a problem. I clicked 'OK,' and it crashed.

I reopened it and recreated my steps. No error message. No crash. ???
« Last Edit: June 01, 2009, 01:16:44 AM by Neal »

Offline gseaman

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3785
Re: I just packaged Noteedit-2.8.1 - Testers wanted
« Reply #2 on: June 01, 2009, 09:30:08 AM »
I am still very confused about menu entries. There seems to be some kind of script that sets up somethings automatically. I will continue to work on figuring out what is happening in these cases.
About the crash, there is an unresolved problem with setting key signatures, that will cause it to crash and this will likely never be resolved since no one is working on it anymore. You can work around it and still get things done with the program. I am not sure this will ever be right for pclinuxos, but I'm doing this to learn packaging. If others want it, that's fine too.
Thanks for testing.

Galen

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: I just packaged Noteedit-2.8.1 - Testers wanted
« Reply #3 on: June 01, 2009, 10:56:16 AM »
Galen,
In your spec, you have:
Quote
Name=Noteedit

as the listing for NoteEdit.

Try using this:
Quote
Name=%name

Offline gseaman

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3785
Re: I just packaged Noteedit-2.8.1 - Testers wanted
« Reply #4 on: June 01, 2009, 12:08:47 PM »
You were right, there was a .desktop file in the source. My first efforts to remove it before installing failed, because I was using %{_buildroot} instead of %{buildroot}. Do you know why some of the variables require a leading underscore and some do not?

I think the menu issue is fixed now.

Galen

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: I just packaged Noteedit-2.8.1 - Testers wanted
« Reply #5 on: June 01, 2009, 02:44:55 PM »
(lots of head scratching) It seems like I should know the answer to that question..... hang this rotten memory.
I've just quickly scanned through some documentation but didn't see the answer. I'd need to look closer. It may take a while.

Offline rogaven

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 559
  • be patient, I'm German
Re: I just packaged Noteedit-2.8.1 - Testers wanted
« Reply #6 on: July 10, 2009, 01:29:54 PM »
Hola amigos,

today i had tested the installation, without problems.
BUT
The installation comes without localization; only english. (the source have 11 other languages)


saludos
Nothing is perfect, not even my english
3.4.25-pclos1.pae.bfs - KDE: 4.10.1 Intel(R) Core(TM)2 Quad CPU Q8400 @ 2.66GHz - RAM: 8 GB - GeForce 8400 GS

Offline gseaman

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3785
Re: I just packaged Noteedit-2.8.1 - Testers wanted
« Reply #7 on: July 10, 2009, 04:00:47 PM »
I am glad to hear someone is trying to use this package. Unfortunately, I am new to packaging and don't know anything about localization. I know the translations are there, so I will have to look into how to make them available to use.
Hasta luego ?

Galen

Offline gseaman

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3785
Re: I just packaged Noteedit-2.8.1 - Testers wanted
« Reply #8 on: July 10, 2009, 04:13:15 PM »
Ok, I tried this and it worked. The option is under Help -> Switch application language. There are some of the menu items that do not seem to be translated, but most are. Now, I will still attempt to see how to get the package to automatically select the system language as the default. If anyone reading this have the answer, speak up.  ;D

Galen

Offline rogaven

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 559
  • be patient, I'm German
Re: I just packaged Noteedit-2.8.1 - Testers wanted
« Reply #9 on: July 10, 2009, 04:45:59 PM »
Hola gseaman,

I found the switch but i can't change the language. Not additional language had installed. (I look with kpackage what is installed)
I search for the srpm but i can't find. (I have only a mdk-package)


saludos
Nothing is perfect, not even my english
3.4.25-pclos1.pae.bfs - KDE: 4.10.1 Intel(R) Core(TM)2 Quad CPU Q8400 @ 2.66GHz - RAM: 8 GB - GeForce 8400 GS

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: I just packaged Noteedit-2.8.1 - Testers wanted
« Reply #10 on: July 10, 2009, 04:50:37 PM »

Offline gseaman

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3785
Re: I just packaged Noteedit-2.8.1 - Testers wanted
« Reply #11 on: July 10, 2009, 06:03:01 PM »
Hola gseaman,

I found the switch but i can't change the language. Not additional language had installed. (I look with kpackage what is installed)
I search for the srpm but i can't find. (I have only a mdk-package)


saludos

Did you install from synaptic? If you have a mdk-package that would seem to be from mandrake/mandriva. It is not the correct package to install. If you remove it, and install from the synaptic and the pclos repos and you still have a problem, I will gladly try to help solve it. The languages are all there for me.

Galen

Offline rogaven

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 559
  • be patient, I'm German
Re: I just packaged Noteedit-2.8.1 - Testers wanted
« Reply #12 on: July 10, 2009, 07:07:11 PM »
i use synaptic of course
i have search for the srpm (and found only the mandriva) to know how work the spec, but i'm new with packaging
Nothing is perfect, not even my english
3.4.25-pclos1.pae.bfs - KDE: 4.10.1 Intel(R) Core(TM)2 Quad CPU Q8400 @ 2.66GHz - RAM: 8 GB - GeForce 8400 GS

Offline gseaman

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3785
Re: I just packaged Noteedit-2.8.1 - Testers wanted
« Reply #13 on: July 10, 2009, 09:10:54 PM »
I can send you the spec file, but you should read some of the howtos on packaging for pclinuxos is you are interested in doing that. To solve your problem, the translation are there, but for some reason are not working for you. I would use synaptic to completely remove the program and then reinstall it. You should be completely updated also, as selectively updating can sometimes cause problems.

Galen

Offline rogaven

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 559
  • be patient, I'm German
Re: I just packaged Noteedit-2.8.1 - Testers wanted
« Reply #14 on: July 10, 2009, 10:39:40 PM »
I'm back from the (dependency)hell ;D

hola gseaman,

now i had compiled from source and now i can change the language. The program is under /usr/local/kde.


- Why can't find noteeditXXXX.src.rpm in the repos? (but you can send me the spec)
- I'm use update-notifier, system is up2date.
- synaptic:         completly remove and reinstall nada only english


saludos
« Last Edit: July 10, 2009, 10:45:19 PM by margarita »
Nothing is perfect, not even my english
3.4.25-pclos1.pae.bfs - KDE: 4.10.1 Intel(R) Core(TM)2 Quad CPU Q8400 @ 2.66GHz - RAM: 8 GB - GeForce 8400 GS