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

Linuxera

  • Guest
Re: Our first project, if anyone is still interested.
« Reply #30 on: March 14, 2009, 11:38:36 AM »
Maybe you can check for projects in the broken packages section.  If you wanna jump right in, and skip class.   ;D

Now that's an idea worth looking into.  Tex has processed the package on the contribs server and is now working on getting the repositories straightened out.  He's working like a packaging machine at the moment.. ;D  You could try one of the packages in the broken package section, and see if your results turn out the same as Tex's.  That should help you see how he thinks as a packager.

Have fun!!!

Offline Joble

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6804
  • USA - Mountain Time
Re: Our first project, if anyone is still interested.
« Reply #31 on: March 16, 2009, 09:56:35 AM »
OK, I'm going to lock this.  When QT4.4 hits the repos, will come back to it.
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, if anyone is still interested.
« Reply #32 on: June 22, 2009, 01:00:56 PM »
Out of pure desparation I'm working on this again.  Seems there are two versions, gtk and qt.  I think I'll try to build them both, I need the practice.
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, if anyone is still interested.
« Reply #33 on: June 22, 2009, 06:03:08 PM »
OK, this thing built fine but I do have a question.  tea is now qt, tea for gtk has been renamed teagtk, since I intend to try to build them both, would this line suffice in my spec file to keep things straight in the repo?
GTK Spec file:
Obsoletes:   tea-17.6.1-1pclos2007

Hmm, answered my own question I think.  Installed tea from the repo, then installed teagtk, and now they are both installed, so that didn't work as I expected it would.
« Last Edit: June 22, 2009, 06:30:19 PM by Joble »
Search First.
Forum Rules
Hero means I talk a lot, nothing more, nothing less!
Have an Awesome Day!
Healthy System

Offline travisN000

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1758
Re: Our first project, if anyone is still interested.
« Reply #34 on: June 22, 2009, 08:30:18 PM »
try:
Code: [Select]
Obsoletes: tea <= 17.6.1-1
..might want to make that version number higher..  ie. last shared qt-gtk version (..just in case someone has personal RPM install)
« Last Edit: June 22, 2009, 08:39:14 PM by travisn000 »

Offline Joble

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6804
  • USA - Mountain Time
Re: Our first project, if anyone is still interested.
« Reply #35 on: June 22, 2009, 08:43:14 PM »
I will give that a try, Thx Travis.
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, if anyone is still interested.
« Reply #36 on: June 25, 2009, 04:34:45 PM »
Code: [Select]
Obsoletes: tea <= 17.6.5
Code: [Select]
The following NEW packages will be installed:
  teagtk
0 upgraded, 1 newly installed, 1 replaced, 0 removed and 0 not upgraded.
Need to get 0B/556kB of archives.
After unpacking 62.4kB of additional disk space will be used.
Do you want to continue? [Y/n]
Committing changes...
Preparing                                ############################## [100%]
Updating / installing
  teagtk-17.6.6-1pclos2009.i586          ############################## [100%]
Cleaning up / removing
  tea-17.6.1-1pclos2007.i586             ############################## [100%]
Done.

That did it, now to build the qt version and check for conflicts!

Thx Again Travis!
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, if anyone is still interested.
« Reply #37 on: June 27, 2009, 09:17:37 AM »
Another Delay.  The QT version requires QT4.4 or higher, which it looks like we have in synaptic, so I installed task-qt4 and searched for qmake, there are symlinks to it all over the place but it does not exist in /usr/lib/qt4/bin/ which is where all the symlinks point.   :(  

qmake -> /usr/lib/qt4/bin/qmake  (It does not exist)

I will send the updated gtk version to contribs, but if I ever get the qt version built and they conflict, I will have to mkrel 2.

Sent!

Edit:

Nice!  We now have qmake.
« Last Edit: July 01, 2009, 12:57:05 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, if anyone is still interested.
« Reply #38 on: July 01, 2009, 06:41:26 PM »
At my whits end for the moment, here's where it left off, any help appreciated:

Code: [Select]
+ convert -resize 48x48 icons/tea_icon_v2.png /home/joe/src/tmp/tea-24.0.0-buildroot//usr/share/icons/large/tea.png
+ mkdir -p /home/joe/src/tmp/tea-24.0.0-buildroot/usr/share/applications
+ cat
+ exit 0
Processing files: tea-24.0.0-1pclos2009
error: File not found by glob: /home/joe/src/tmp/tea-24.0.0-buildroot/usr/bin/*
error: File not found: /home/joe/src/tmp/tea-24.0.0-buildroot/usr/share/tea
Executing(%doc): /bin/sh -e /home/joe/src/tmp/rpm-tmp.70599
+ umask 022
+ cd /home/joe/src/rpm/BUILD
+ cd tea-24.0.0
+ DOCDIR=/home/joe/src/tmp/tea-24.0.0-buildroot/usr/share/doc/tea-24.0.0
+ export DOCDIR
+ rm -rf /home/joe/src/tmp/tea-24.0.0-buildroot/usr/share/doc/tea-24.0.0
+ /bin/mkdir -p /home/joe/src/tmp/tea-24.0.0-buildroot/usr/share/doc/tea-24.0.0
+ cp -pr AUTHORS ChangeLog NEWS README TODO /home/joe/src/tmp/tea-24.0.0-buildroot/usr/share/doc/tea-24.0.0
+ exit 0


RPM build errors:
    File not found by glob: /home/joe/src/tmp/tea-24.0.0-buildroot/usr/bin/*
    File not found: /home/joe/src/tmp/tea-24.0.0-buildroot/usr/share/tea

SPEC file and/or source available upon request.

Thanks Team.

Contents of /home/joe/src/tmp:
[joe@localhost tea-24.0.0-buildroot]$ pwd
/union/home/joe/src/tmp/tea-24.0.0-buildroot
[joe@localhost tea-24.0.0-buildroot]$ ls
usr/
[joe@localhost tea-24.0.0-buildroot]$ cd usr
[joe@localhost usr]$ ls
share/
[joe@localhost usr]$ cd share
[joe@localhost share]$ ls
applications/  doc/  icons/
[joe@localhost share]$
« Last Edit: July 01, 2009, 07:11:32 PM by Joble »
Search First.
Forum Rules
Hero means I talk a lot, nothing more, nothing less!
Have an Awesome Day!
Healthy System

Offline travisN000

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1758
Re: Our first project, if anyone is still interested.
« Reply #39 on: July 02, 2009, 06:06:30 AM »
Try removing / commenting out the corresponding lines from the files section of your spec.. 

You may get new errors about un-packaged files afterward; if you do, then add the file/paths for the un-packaged files to your files section.

looks like your getting close!  ;D

Offline Joble

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6804
  • USA - Mountain Time
Re: Our first project, if anyone is still interested.
« Reply #40 on: July 02, 2009, 03:10:05 PM »
You pointed me in the right direction for sure.  Got it to build with no errors and installs fine, but..... I can't find the executable!  Either they forgot it  ;D or I'm still doing something wrong.   ;)
Search First.
Forum Rules
Hero means I talk a lot, nothing more, nothing less!
Have an Awesome Day!
Healthy System

Offline MaddogF16

  • Hero Member
  • *****
  • Posts: 2711
Re: Our first project, if anyone is still interested.
« Reply #41 on: July 02, 2009, 03:16:31 PM »
/usr/bin?? /usr/share/bin??
Why?

Offline Joble

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6804
  • USA - Mountain Time
Re: Our first project, if anyone is still interested.
« Reply #42 on: July 02, 2009, 03:22:19 PM »
Not there, does not exist.  Could not find with which and could not updatedb and locate it.  It's not there.
Search First.
Forum Rules
Hero means I talk a lot, nothing more, nothing less!
Have an Awesome Day!
Healthy System

Offline travisN000

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1758
Re: Our first project, if anyone is still interested.
« Reply #43 on: July 03, 2009, 11:34:28 AM »
Try to configure/make/install it manually and see what it does? 

if it really doesn't exist, contact the developer

Offline Joble

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6804
  • USA - Mountain Time
Re: Our first project, if anyone is still interested.
« Reply #44 on: July 03, 2009, 06:20:13 PM »
The source installs the executable to /usr/local/bin/

After watching the source build, it looks like qmake is what actually builds the executable and the make file, so I think the problem lies there, with the spec file.

I am learning a bit about what not to do, with trying different things.
« Last Edit: July 03, 2009, 06:43:34 PM by Joble »
Search First.
Forum Rules
Hero means I talk a lot, nothing more, nothing less!
Have an Awesome Day!
Healthy System