Author Topic: mkrepo problem  (Read 6633 times)

Offline gseaman

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3792
Re: mkrepo problem
« Reply #45 on: June 17, 2010, 07:51:05 PM »
2.  When I right click on an srpm, I don't have a menu entry for  "Install source rpm for build".  I'm pretty sure I have everything installed that I need.


I'm sure you already thought of this:

Quote
NOTE: Context sensitive right click service menus will not be available
in Dolphin after install until KDE is restarted by logging out and then back in.

;)

Galen

Offline travisN000

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1758
Re: mkrepo problem
« Reply #46 on: June 17, 2010, 11:25:47 PM »
All done!  :)

I just have a couple more questions.

1. I ran the following command to create the repo entry in my sources.list >

Code: [Select]
echo -e "rpm file:/$PKGR_HOME_DIR/src/apt/ pclinuxos/2010 athlon i586 noarch\n" >> /etc/apt/sources.list
and my entry looks like this  
Code: [Select]
rpm file:/home/tim/src/apt/pclinuxos/2010 athlon i586 noarchn
Is that correct with the noarchn at the end?  Should it just be noarch?




the rpm line should be as follows:

Code: [Select]
rpm file:/home/tim/src/apt/ pclinuxos/2010 athlon i586 noarch
Note that the extra n is removed, and also that there is a space after apt/   ..I'm not sure why it did not come out properly for you; I've tested it by copy and paste and it works fine here (..in the command above echo -e should "evaluate" \n to <new line>, not the character n).  Are you using a 2010 install for your packaging setup?
« Last Edit: June 17, 2010, 11:34:34 PM by travisn000 »

Offline timeth

  • Hero Member
  • *****
  • Posts: 829
  • G'day mate-Link for big GIF^ http://db.tt/SUIL4CtK
Re: mkrepo problem
« Reply #47 on: June 18, 2010, 12:56:33 AM »

NOTE: Context sensitive right click service menus will not be available
in Dolphin after install until KDE is restarted by logging out and then back in.


Thanks Galen, I'm actually setting this up on my LXDE install but I'll make sure I use your suggestion when I set all this up on my KDE.



the rpm line should be as follows:

Code: [Select]
rpm file:/home/tim/src/apt/ pclinuxos/2010 athlon i586 noarch
Note that the extra n is removed, and also that there is a space after apt/   ..I'm not sure why it did not come out properly for you; I've tested it by copy and paste and it works fine here (..in the command above echo -e should "evaluate" \n to <new line>, not the character n).  Are you using a 2010 install for your packaging setup?

Thanks Travis, I deleted the entry in sources.list and tried the command again. This time I got it.  :)   I think last time I took the ""  out of the command for some reason but I've got it now. I've also got the "Install source rpm for build" in the right click service menu now, I had to install pkgutils-thunar to get it. I've now installed the source of one of the srpms from a repository just to test the environment out and it worked so I'm on my way now! Thanks for everyone's help.  ;D  
« Last Edit: June 18, 2010, 12:58:08 AM by timeth »
宜しくお願いします > Yoroshiku Onegaishimasu > I humbly and respectfully ask for your kindness.  |   My graphics blog

Offline timeth

  • Hero Member
  • *****
  • Posts: 829
  • G'day mate-Link for big GIF^ http://db.tt/SUIL4CtK
Re: mkrepo problem
« Reply #48 on: June 18, 2010, 03:29:26 AM »
I'm posting about this because it got me pretty confused. Maybe there's a good reason why it is the way it is but I'm a beginner so I'd thought I'd ask.

Installing task-packaging-kde4 for KDE also pulls in pkgutils-kde4 which is for the Thunar filesystem. Why doesn't it pull in pkgutils-thunar?  And why doesn't it pull in  a-task-packager-minimal? 

On my LXDE install,  I installed task-packaging-kde4 and pkgutils-kde4 which set up my build environment ok but then I couldn't get the right click service menu entry   "Install source rpm for build"   until I found and installed pkgutils-thunar.

If they are all small rpms, could they all pull each other in or be combined into one?

Thanks  :)




宜しくお願いします > Yoroshiku Onegaishimasu > I humbly and respectfully ask for your kindness.  |   My graphics blog

Offline Joble

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6804
  • USA - Mountain Time
Re: mkrepo problem
« Reply #49 on: June 18, 2010, 07:06:13 AM »
Quote
Installing task-packaging-kde4 for KDE also pulls in pkgutils-kde4 which is for the Thunar filesystem. Why doesn't it pull in pkgutils-thunar?  And why doesn't it pull in  a-task-packager-minimal?
 

pkgutils-kde4 is for Dolphin.

For Thunar systems all you need is:
a-task-packager-minimal and pkgutils-thunar
Then delete the .config/Thunar folder, logout and login.  The service menus should show in thunar.  At least they did for me in Xfce.
Search First.
Forum Rules
Hero means I talk a lot, nothing more, nothing less!
Have an Awesome Day!
Healthy System

Offline timeth

  • Hero Member
  • *****
  • Posts: 829
  • G'day mate-Link for big GIF^ http://db.tt/SUIL4CtK
Re: mkrepo problem
« Reply #50 on: June 18, 2010, 07:16:24 AM »
Thanks Joble.  ;)

pkgutils-kde4 is for Dolphin???  ???
I guess I was confused because this is the description of pkgutils-kde4 in synaptic.


Helper scripts for Packaging for the Thunar file manager in the KDE4 environment

This package provides pkgutils for the KDE4 environment. Files with the type .rpm, .src.rpm and .spec are then handled with right-click on the files in Dolphin

addpkg
 -Uses apt-get to install missing dependencies in SPECFILE or RPMFILE
 -Uses gcr to create a file of the type .remove which can be later used to
  remove installed dependencies via rmvpkg

rmvpkg
 -Uses rpm to remove all installed packages in LISTFILE

gbd
 -Uses genbasedir to update a local repository

gcr
 -Filter files written by addpkg to create
  a clean list file for input to rmvpkg

mkrepo
 -Create a local repository including folder structure,
  .rpmrc and .rpmmacros files, modify sources.list, and
  optionally install prerequisite build packages


NOTE: Context sensitive right click service menus will not be available
in Dolphin after install until KDE is restarted by logging out and then back in.
宜しくお願いします > Yoroshiku Onegaishimasu > I humbly and respectfully ask for your kindness.  |   My graphics blog

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: mkrepo problem
« Reply #51 on: June 18, 2010, 07:19:54 AM »
I thought pkgutils-kde4 was for konqueror. ::)

In LXDE, unless you previously installed thunar, there is no .thunar folder to delete. Thunar will be installed with pkgutils-thunar and the .thunar folder created. You'll be set up to go. :D

Offline travisN000

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1758
Re: mkrepo problem
« Reply #52 on: June 26, 2010, 10:44:34 AM »
I thought pkgutils-kde4 was for konqueror. ::)

..in the early kde4 releases the service menus didn't always show up immediately in Dolphin or Konqueror.  It does work just fine in both dolphin and konqueror now.


Also, my progress in re-doing all of the pkgutils packages hit a bump a week or so ago..  the hard drive on the machine that I use to do all my packaging / testing is spewing 5 minutes worth of hard drive buffer errors at boot and with anything other than a small / slow disk write.  I'm pretty sure I can recover all the data as disk reads from a liveCD seem to be OK, I just haven't had the time to do it.