Author Topic: addlocale and GetOpenOffice  (Read 3048 times)

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
addlocale and GetOpenOffice
« on: June 23, 2009, 02:38:28 PM »
GetOpenOffice output:
Quote
Executing(%prep): /bin/sh -e /home/neal/src/tmp/rpm-tmp.11443
+ umask 022
+ cd /home/neal/src/rpm/BUILD
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/neal/src/rpm/BUILD
+ rm -rf GetOpenOffice-0.3
+ /usr/bin/bzip2 -dc /home/neal/src/rpm/SOURCES/GetOpenOffice-0.3.tar.bz2
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd GetOpenOffice-0.3
/home/neal/src/tmp/rpm-tmp.11443: line 38: cd: GetOpenOffice-0.3: No such file or directory
error: Bad exit status from /home/neal/src/tmp/rpm-tmp.11443 (%prep)

From the tmp files:
Quote
cd /home/neal/src/rpm/BUILD
rm -rf addlocale-2.4
/usr/bin/bzip2 -dc /home/neal/src/rpm/SOURCES/addlocale-2.4.tar.bz2 | tar -xf -
STATUS=$?
if [ $STATUS -ne 0 ]; then
  exit $STATUS
fi
cd addlocale-2.4


exit 0

and
Quote
cd /home/neal/src/rpm/BUILD
rm -rf GetOpenOffice-0.3
/usr/bin/bzip2 -dc /home/neal/src/rpm/SOURCES/GetOpenOffice-0.3.tar.bz2 | tar -xf -
STATUS=$?
if [ $STATUS -ne 0 ]; then
  exit $STATUS
fi
cd GetOpenOffice-0.3


exit 0

Any ideas?

Offline Joble

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6804
  • USA - Mountain Time
Re: addlocale and GetOpenOffice
« Reply #1 on: June 23, 2009, 02:55:26 PM »
These are bash scripts right, not sources, it's probably not finding the right commands to build it, since it's not a true source. 

Maybe look at the src.rpm for pokerTH and see how Tex packaged the jar file, also not a true source.  Unless you already thought of that. 

I will take a look when I get home, I'm just guessing at the moment.
Search First.
Forum Rules
Hero means I talk a lot, nothing more, nothing less!
Have an Awesome Day!
Healthy System

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12495
Re: addlocale and GetOpenOffice
« Reply #2 on: June 23, 2009, 03:31:19 PM »
make a folder called GetOpenOffice-0.3
put script file into folder
compress folder to  GetOpenOffice-0.3.tar.bz2


srpm for addlocale:

http://distro.ibiblio.org/pub/linux/distributions/texstar/pclinuxos/apt/pclinuxos/2007/SRPMS.extra/addlocale-2.3-1pclos2009.src.rpm
« Last Edit: June 23, 2009, 03:32:54 PM by texstar »

Thanks to everyone who donates. You keep the servers running.

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: addlocale and GetOpenOffice
« Reply #3 on: June 23, 2009, 03:36:31 PM »
Thanks, Tex! :D

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: addlocale and GetOpenOffice
« Reply #4 on: June 23, 2009, 07:29:57 PM »
The RPMs built successfully. However the entry in the utilities folder for addlocale is showing as "Setup-Language" with the sub being "set up sound card.."  ??? (Pinoc requested Add-Locale be used in preference to Setup-Language.) The entry for GetOpenOffice in the utilities folder is not showing up at all. Both have entries in system > configuration.

SRPM for addlocale.

SRPM for GetOpenOffice.

Offline Joble

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6804
  • USA - Mountain Time
Re: addlocale and GetOpenOffice
« Reply #5 on: June 23, 2009, 07:34:59 PM »
You didn't actually think you would get it on the first, or second...... or third try did you?   ;D ;D ;D

Welcome to the club.   :D

Just messin wit ya Neal, I'll take a look.  If there is anything extremely obvious, I might get lucky and spot it.  ;)
« Last Edit: June 23, 2009, 07:37:36 PM by Joble »
Search First.
Forum Rules
Hero means I talk a lot, nothing more, nothing less!
Have an Awesome Day!
Healthy System

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: addlocale and GetOpenOffice
« Reply #6 on: June 23, 2009, 07:39:32 PM »
You didn't actually think you would get it on the first, or second...... or third try did you?   ;D ;D ;D

Welcome to the club.   :D

Of course not! Why would I ever think that? Sheesh! ;)

I'm a founding member of that club. :D

Offline Joble

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6804
  • USA - Mountain Time
Re: addlocale and GetOpenOffice
« Reply #7 on: June 23, 2009, 07:50:23 PM »
Is there any particular reason by you chose bin instead of sbin?
openoffice from you:
install -m 755 %{name} $RPM_BUILD_ROOT%_prefix/bin/%{name}
add-locale from Tex:
install -m 755 %{name} $RPM_BUILD_ROOT%_prefix/sbin/%{name}

OK, lame I know, still looking at them, but I don't see anything extremely obvious.
Search First.
Forum Rules
Hero means I talk a lot, nothing more, nothing less!
Have an Awesome Day!
Healthy System

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: addlocale and GetOpenOffice
« Reply #8 on: June 23, 2009, 08:11:56 PM »
Is there any particular reason by you chose bin instead of sbin?
openoffice from you:
install -m 755 %{name} $RPM_BUILD_ROOT%_prefix/bin/%{name}
add-locale from Tex:
install -m 755 %{name} $RPM_BUILD_ROOT%_prefix/sbin/%{name}

OK, lame I know, still looking at them, but I don't see anything extremely obvious.

Pinoc asked that bin be used for GOO and sbin for AL.

Offline Joble

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6804
  • USA - Mountain Time
Re: addlocale and GetOpenOffice
« Reply #9 on: June 23, 2009, 08:35:41 PM »
OK, still looking, but I just built, and installed them both, neither one showed up in my utilities folder, though they are both in my menu->system->configuration.

Nice trick with the icons, I expected to see them in the src.rpm, but they already exist, sweet.

OK, looking at the spec files, it appears that the entry in the utilities folder is put in /etc/skel which would indicate it will only appear in the utilities folder for newly created users, so, I will create a test user, and see if it is there.
« Last Edit: June 23, 2009, 08:53:15 PM by Joble »
Search First.
Forum Rules
Hero means I talk a lot, nothing more, nothing less!
Have an Awesome Day!
Healthy System

Offline Joble

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6804
  • USA - Mountain Time
Re: addlocale and GetOpenOffice
« Reply #10 on: June 23, 2009, 08:59:34 PM »
OK, I created a new user, and the new scripts do show up in the Utilities folder for the new user, but not in mine.  So you either accept it, or maybe you can try to make an entry in the utilities folder for the current user.  Your Choice, Good Luck.    :)
Search First.
Forum Rules
Hero means I talk a lot, nothing more, nothing less!
Have an Awesome Day!
Healthy System

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12495
Re: addlocale and GetOpenOffice
« Reply #11 on: June 23, 2009, 09:02:51 PM »
OK, still looking, but I just built, and installed them both, neither one showed up in my utilities folder, though they are both in my menu->system->configuration.

Nice trick with the icons, I expected to see them in the src.rpm, but they already exist, sweet.

OK, looking at the spec files, it appears that the entry in the utilities folder is put in /etc/skel which would indicate it will only appear in the utilities folder for newly created users, so, I will create a test user, and see if it is there.

For the existing users you would have to manually copy the desktop files from /etc/skel to the utilies folder for root and guest.

Thanks to everyone who donates. You keep the servers running.

Offline Joble

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6804
  • USA - Mountain Time
Re: addlocale and GetOpenOffice
« Reply #12 on: June 23, 2009, 09:14:00 PM »
Texstar quoted me!  I think that is only the third time in two and half years!

Looks like success Neal!  Congratulations!
« Last Edit: June 23, 2009, 09:17:03 PM by Joble »
Search First.
Forum Rules
Hero means I talk a lot, nothing more, nothing less!
Have an Awesome Day!
Healthy System

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: addlocale and GetOpenOffice
« Reply #13 on: June 23, 2009, 09:46:22 PM »
Thank you, Texstar! Thank you, Joble. This is appreciated.

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12495
Re: addlocale and GetOpenOffice
« Reply #14 on: June 24, 2009, 12:26:43 AM »
Don't forget to add apturl package please to the CD.

Thanks to everyone who donates. You keep the servers running.