Author Topic: Trying to update Wicd to its latest version(Solved, I think...)  (Read 1287 times)

Offline Agent Smith

  • PCLinuxOS Tester
  • Sr. Member
  • *******
  • Posts: 317
    • Brazilian PCLinuxOS Community
Trying to update Wicd to its latest version(Solved, I think...)
« on: September 05, 2012, 07:29:22 AM »
Dear colleagues,

I got the latest sources of Wicd, the srpm from our repositories, and I am trying to update the package.
Making all the necessary changes, when I run rpmbuild -ba, it works for a little while, and gives me the following error messages: (the last 2 lines)
creating /home/alessandro/rpmbuild/BUILDROOT/wicd-1.7.2.4-1pclos2012.i386/usr/share/locale/el/LC_MESSAGES
error: can't copy 'translations/el/LC_MESSAGES/wicd.mo': doesn't exist or not a regular file


And stops there.

What can I do to fix the whole thing ?

Thanks in advance,

Best regards,

« Last Edit: September 21, 2012, 06:46:38 AM by Agent Smith »

Online ghostbunny

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1157
Re: Trying to update Wicd to its latest version
« Reply #1 on: September 06, 2012, 02:14:19 AM »
Hi Agent Smith,

try to add

Code: [Select]
python setup.py compile_translations
after the build command

regards
ghostbunny
The full life is a big mess

PS:
I'm German. Sorry because of possible mistakes in my written messages xD


Offline Agent Smith

  • PCLinuxOS Tester
  • Sr. Member
  • *******
  • Posts: 317
    • Brazilian PCLinuxOS Community
Re: Trying to update Wicd to its latest version
« Reply #2 on: September 06, 2012, 06:32:27 AM »
Oh, boy, how I wished your tip would fix it, GB, but no. No success, still the same error message.

I'm stuck on this...


Sincerely,

EDIT: Hey, I did have some improvement here. Got a spec from Mandriva, there's another dependency, Python-Babel, to create the translations.
I altered the spec, included that dependency and the process went forward a little more.
Now, it stops (after some compiling action) in this error message: creating /home/alessandro/rpmbuild/BUILDROOT/wicd-1.7.2.4-1pclos2012.i386/usr/share/locale/ast/LC_MESSAGES
error: can't copy 'translations/ast/LC_MESSAGES/wicd.mo': doesn't exist or not a regular file



« Last Edit: September 06, 2012, 06:48:09 AM by Agent Smith »

Offline Agent Smith

  • PCLinuxOS Tester
  • Sr. Member
  • *******
  • Posts: 317
    • Brazilian PCLinuxOS Community
Re: Trying to update Wicd to its latest version
« Reply #3 on: September 10, 2012, 02:14:37 PM »
Oh, well, I removed the AST (asturian language), and then, it completed the process.
But, the new version of WICD seems to be prepared to work under systemD.
It creates files that are placed on systemD folders, at the machine initialization.
So, when the process ends, it ends with errors and the package is not built.
If I knew Python better, perhaps I could adapt it to work with PCLinuxOS, but I know zilch about Python.
If any of our friends, more experienced on Python could help, we could make the latest Wicd work on PCLinuxOS...

Ok folks ???

Best regards,

 

Online JohnW_57

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2116
PCLinuxOS 2013 KDE4 (64 bit) on: home build system:  Intel Core 2 Quad (q6700) (2.66ghz), Asus P5K motherboard, 4 gig ddr2 memory, Asus Nvidia Geforce GTS 250 1024 mb gddr3, Crucial M4 128 SSD,  2x Samsung 500 gig HDD (sata), TSSTcorp CDDVDW SH-224BB.

Offline Agent Smith

  • PCLinuxOS Tester
  • Sr. Member
  • *******
  • Posts: 317
    • Brazilian PCLinuxOS Community
Re: Trying to update Wicd to its latest version
« Reply #5 on: September 10, 2012, 06:43:04 PM »
Dear JohnW,

I know a little about systemD, that it will replace sysinit system V, but our PCLOS is in the classic sysinit.
So, my hunch is: unless the source in Python is changed, to do not work with systemD, we're stuck (I am, at least).

That is what I was trying to say. Sorry if I didn't make myself clear.

Best regards,


Offline gseaman

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3791
Re: Trying to update Wicd to its latest version
« Reply #6 on: September 10, 2012, 10:28:34 PM »
If you talk to the developers of wicd, you may get some insight into what changes they made for systemd, so that you can change them back. ;)

Galen

Offline Agent Smith

  • PCLinuxOS Tester
  • Sr. Member
  • *******
  • Posts: 317
    • Brazilian PCLinuxOS Community
Re: Trying to update Wicd to its latest version
« Reply #7 on: September 11, 2012, 11:36:05 AM »
If you talk to the developers of wicd, you may get some insight into what changes they made for systemd, so that you can change them back. ;)

Galen


Great idea, going to do it asap.

Nice one Galen!

Regards,


Offline Agent Smith

  • PCLinuxOS Tester
  • Sr. Member
  • *******
  • Posts: 317
    • Brazilian PCLinuxOS Community
Re: Trying to update Wicd to its latest version
« Reply #8 on: September 13, 2012, 06:16:40 AM »
Hi folks,

just an update: I'm in contact with Mr. David Paleino, the dev, and he's giving me directions on how to compile and package this new version of Wicd.

Sincerely,


Offline gseaman

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3791
Re: Trying to update Wicd to its latest version
« Reply #9 on: September 13, 2012, 06:33:14 AM »
Excellent! :D

Galen

Offline Agent Smith

  • PCLinuxOS Tester
  • Sr. Member
  • *******
  • Posts: 317
    • Brazilian PCLinuxOS Community
Re: Trying to update Wicd to its latest version
« Reply #10 on: September 21, 2012, 06:45:08 AM »
Hummm, a colleague of ours, Ken (lxgator@gmail.com) updated Wicd successfully.
No more problems then.

Thanks to all who helped with tips and hints.

Sincerely,