Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 351763 (kde-git)

Summary: [kde overlay] git support for kde4 eclasses
Product: Gentoo Linux Reporter: Theo Chatzimichos (RETIRED) <tampakrap>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal CC: aaron.lewis1989, endymion+gentoo, link, mkyral, mschiff, pietuguitarra, tomas
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: non-eapi2 packages
kde4-meta.eclass.patch

Description Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2011-01-15 15:11:15 UTC
Various kde live ebuilds are broken because upstream repos are moving from svn to git. The kde-git branch of the kde overlay has some work-in-progress eclass patches that add proper git support for the kde ebuilds
Comment 1 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2011-01-15 15:25:59 UTC
*** Bug 350386 has been marked as a duplicate of this bug. ***
Comment 2 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2011-01-15 15:35:09 UTC
*** Bug 346263 has been marked as a duplicate of this bug. ***
Comment 3 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2011-01-15 15:36:01 UTC
*** Bug 348223 has been marked as a duplicate of this bug. ***
Comment 4 Marc Schiffbauer gentoo-dev 2011-01-16 23:23:58 UTC
kdepim now builds from git again (4.6.999 ebuilds)

What changed?

* eclass/kde4-base.eclass: 
  - Updated some SVN specific parts to depend on KDE_SCM now
* eclass/kde4-meta.eclass: 
  - added git repo uri and project for kdepim|kdepim-runtime
  - made kde4-meta_src_unpack git aware
  - make kde4-meta_src_extract git aware
* kdepim-4.6.999 ebuilds: added KDE_SCM="git" so git will be used by them
Comment 5 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2011-01-17 01:03:33 UTC
Created attachment 260036 [details]
non-eapi2 packages

the list of those packages need to be converted to eapi2 before the kde-git merge to master
Comment 6 Aaron Lewis 2011-01-17 15:48:39 UTC
I think there's a problem , GIT repo uri should be end with ".git" as a suffix , or it won't work ?

I tried to emerge korganizer and it fails here , but trying to clone from 
git://anongit.kde.org/kdepim.git works.

>>> Emerging (1 of 4) kde-base/kdepim-icons-9999 from kde
 * Package:    kde-base/kdepim-icons-9999
 * Repository: kde
 * Maintainer: kde@gentoo.org
 * USE:        elibc_glibc kernel_linux userland_GNU x86
 * FEATURES:   preserve-libs sandbox
>>> Unpacking source...
 * GIT NEW clone -->
 *    repository:               git://anongit.kde.org/kdepim
Cloning into /boot/INSECURE/distfiles/git-src/kdepim...
fatal: read error: Connection reset by peer
Comment 7 Aaron Lewis 2011-01-17 15:52:05 UTC
Created attachment 260053 [details, diff]
kde4-meta.eclass.patch
Comment 8 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2011-01-17 18:33:05 UTC
no, your patch is not valid. try manually:
git clone git://anongit.kde.org/kdepim
it worked perfectly here, so there is something else wrong with the eclass if you can't clone the repo
Comment 9 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2011-01-20 15:19:00 UTC
*** Bug 351889 has been marked as a duplicate of this bug. ***
Comment 10 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2011-01-26 20:12:53 UTC
the git-branch has been merged to master. The bug will stay open till we fix the list of packages I posted so we can move the eclasses to tree.
Comment 11 Aaron Lewis 2011-01-30 11:24:04 UTC
Request updates:

couldn't install kde-base/nsplugins , as kdebase/apps moved to git.

>>> Unpacking source...
 * subversion update start -->
 *      repository: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdebase/apps
svn: Target path '/trunk/KDE/kdebase/apps' does not exist

And so for knetattach:

>>> Unpacking source...
 * subversion update start -->
 *      repository: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdebase/runtime
svn: Target path '/trunk/KDE/kdebase/runtime' does not exist

Comment 12 Andreas K. Hüttel archtester gentoo-dev 2011-03-05 19:44:33 UTC
I guess we can close this bug, since all in-tree ebuilds are fixed. (Just re-checked with grep, find, and sed. Three times EAPI=4, everything else 3.)

Aaron, if your problem is still valid, please file a bug per package...
Comment 13 Aaron Lewis 2011-03-08 08:59:47 UTC
I think there's an update required , kde-base/libkdcraw-9999 failed in installation , seems it's no longer in kdegraphics svn repository , could anyone check this ?