Author Topic: Our first project, teagtk and teaqt - Finished!  (Read 8896 times)

Offline travisN000

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1758
Re: Our first project, if anyone is still interested.
« Reply #45 on: July 03, 2009, 06:23:45 PM »
Maybe try changing ...buildroot/usr/bin/* to ...buildroot/usr/local/bin/*
 ???

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12525
Re: Our first project, if anyone is still interested.
« Reply #46 on: July 03, 2009, 06:36:38 PM »
Try adding to your specfile

%define prefix /usr

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

Offline Joble

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6804
  • USA - Mountain Time
Re: Our first project, if anyone is still interested.
« Reply #47 on: July 04, 2009, 10:14:11 AM »
Thx, will try all that.  Here's where the problem is in the output:

+ make DESTDIR=/home/joe/src/tmp/tea-24.0.0-buildroot install
install -m 755 -p "bin/tea" "/usr/local/bin/tea"
install: cannot create regular file `/usr/local/bin/tea': Permission denied
make: [install_target] Error 1 (ignored)

The problem is probably in the files section:
 File not found: /home/joe/src/tmp/tea-24.0.0-buildroot/usr/bin/tea
The executable is in rpm/build/bin/ but does not get transferred to /src/tmp/

Here's the current line in the files section of the spec file:
%{_bindir}/%{name}
I've tried many things, so far none have worked.
« Last Edit: July 04, 2009, 10:35:49 AM by Joble »
Search First.
Forum Rules
Hero means I talk a lot, nothing more, nothing less!
Have an Awesome Day!
Healthy System

Offline Wildman

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 7556
  • Symphony for a Unstrung Tongue
Re: Our first project, if anyone is still interested.
« Reply #48 on: July 04, 2009, 12:58:35 PM »
This help any?  :)


%{_libdir}/%{name}/valid.dat

Happiness is not having what you want, but wanting what you have!

Joe Gable, "Joble" Was my Friend..
Dave "Exwintech" has also gone on...
Linux Counter #288984

Offline Joble

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6804
  • USA - Mountain Time
Re: Our first project, if anyone is still interested.
« Reply #49 on: July 04, 2009, 08:53:29 PM »
Not sure, since it's not a lib, but, I've tried worse.   :D
Search First.
Forum Rules
Hero means I talk a lot, nothing more, nothing less!
Have an Awesome Day!
Healthy System

Offline Wildman

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 7556
  • Symphony for a Unstrung Tongue
Re: Our first project, if anyone is still interested.
« Reply #50 on: July 05, 2009, 07:19:37 AM »
Heh Heh , so much for flashbacks...didn't look at what wrote!  :-[

I meant, shouldn't the {name} be listed ie:like so?   (another flashback maybe?)  ;)

%{_bindir}/%isa_64/lzegrep
Happiness is not having what you want, but wanting what you have!

Joe Gable, "Joble" Was my Friend..
Dave "Exwintech" has also gone on...
Linux Counter #288984

Offline Joble

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6804
  • USA - Mountain Time
Re: Our first project, if anyone is still interested.
« Reply #51 on: July 06, 2009, 05:34:42 PM »
BINGO!  Leiche Solved It!

Code: [Select]
%install
rm -rf $RPM_BUILD_ROOT
install -d -m 0755 %buildroot%_bindir
install -m 0755 $RPM_BUILD_DIR/%{name}-%{version}/bin/%{name} %buildroot%_bindir/%{name}

DOH!  It was so easy!

Now, to clean up my spec file, make sure tea and teagtk don't conflict, test it out, and... and... and...
« Last Edit: July 06, 2009, 05:36:18 PM by Joble »
Search First.
Forum Rules
Hero means I talk a lot, nothing more, nothing less!
Have an Awesome Day!
Healthy System

Offline Wildman

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 7556
  • Symphony for a Unstrung Tongue
Re: Our first project, if anyone is still interested.
« Reply #52 on: July 06, 2009, 06:54:07 PM »
Yay, way to go Leiche! joble is all happy now!  ;D ;)
Happiness is not having what you want, but wanting what you have!

Joe Gable, "Joble" Was my Friend..
Dave "Exwintech" has also gone on...
Linux Counter #288984

CtrlAltDel

  • Guest
Re: Our first project, if anyone is still interested.
« Reply #53 on: July 06, 2009, 07:40:37 PM »
Hey Joble..

Well done!!  I've been following this thread as I want to get into packaging..  Wow is all I can say!!

Good job..


CtrlAltDel

Offline Joble

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6804
  • USA - Mountain Time
Re: Our first project, if anyone is still interested.
« Reply #54 on: July 06, 2009, 07:48:58 PM »
hehe, Thanks CAD, but all I did was ask questions, the rest of the team answered them, and very well I might say.  I read all the how-tos and manuals, many times over, never saw this solution in any of them.  Adding it to my notes book.
« Last Edit: July 06, 2009, 07:50:38 PM by Joble »
Search First.
Forum Rules
Hero means I talk a lot, nothing more, nothing less!
Have an Awesome Day!
Healthy System

CtrlAltDel

  • Guest
Re: Our first project, if anyone is still interested.
« Reply #55 on: July 06, 2009, 07:52:06 PM »
Quote
hehe, Thanks CAD, but all I did was ask questions, the rest of the team answered them, and very well I might say.  I read all the how-tos and manuals, many times over, never saw this solution in any of them.

Do you need any testers?  I've an install just for that kinda thing..  ;)


CtrlAltDel

Offline Joble

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6804
  • USA - Mountain Time
Re: Our first project, if anyone is still interested.
« Reply #56 on: July 06, 2009, 08:01:11 PM »
I've got a little more work to do, after all the messing around there's comments and garbage all over my spec file.  I can say one thing, there may be missing dependencies because the build requires qt4-devel.  I'm going to test that myself, on an install that does not have qt4.  When I am satisfied it will not trash your testbox, I will offer up a link.  Thx for the offer.

tea is pretty awesome, once I get used to it, I might replace kwrite for tea, it is that good.
Search First.
Forum Rules
Hero means I talk a lot, nothing more, nothing less!
Have an Awesome Day!
Healthy System

Offline Wildman

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 7556
  • Symphony for a Unstrung Tongue
Re: Our first project, if anyone is still interested.
« Reply #57 on: July 06, 2009, 08:34:36 PM »
Hey Joble..

Well done!!  I've been following this thread as I want to get into packaging..  Wow is all I can say!!

Good job..


CtrlAltDel

I'll second that! Good job Joble.... :) :) :) :)
Happiness is not having what you want, but wanting what you have!

Joe Gable, "Joble" Was my Friend..
Dave "Exwintech" has also gone on...
Linux Counter #288984

Offline Joble

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6804
  • USA - Mountain Time
Re: Our first project, if anyone is still interested.
« Reply #58 on: July 06, 2009, 08:40:45 PM »
Try adding to your specfile

%define prefix /usr



Texstar:  I took your advice about %prefix and found this:
http://linuxshellaccount.blogspot.com/2008/03/creating-your-own-linux-rpms-initial.html

There is no ./configure in this source and man:qmake indicates it does not take that parameter or the DESTDIR= parameter.  I did try it, along with many other things that did not work.

As usual I learned the hard way.  Thx for the help, I learned a lot!

Wildman!  CAD!  I've respected you guys for a very long time.  I'm glad to see the feeling is mutual.  Thanks for the kind words.  No doo-doo gun this time Wildman.   :)

You can't believe (or maybe you can) how I felt in Oct 2007, when I first arrived here.
PS:  Don't tell anyone, but I'm still clueless.   ;)
« Last Edit: July 06, 2009, 08:53:27 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: Our first project, tea-24.0.0 for KDE - Testers wanted
« Reply #59 on: July 07, 2009, 08:02:46 PM »
rpm and src.rpm available here:
http://nbrks.com/Joble/tea/
This is qt4 for kde.  gnome users who are already using tea should upgrade to teagtk, already in the repo.

This thing is pretty awesome.

Note:  tea and teagtk do not conflict.  Both work in kde even when both are open at the same time, not sure about the qt version in gnome though.

--------------------------
Edit:
After getting some advice from slick50, I will try to rename this package teaqt, so the gnome users don't upgrade to a qt version by accident, will be working on that, and hope to have it up to contribs by this weekend.  A big "Thank You!" to linuxera for putting me in touch with slick50 tonight.    ;) ;D  And another big "Thank You!" to slick50 for the good advice.
« Last Edit: July 12, 2009, 12:36:53 PM by Joble »
Search First.
Forum Rules
Hero means I talk a lot, nothing more, nothing less!
Have an Awesome Day!
Healthy System