Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Ebuild problem
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
AustrianCoder
Apprentice
Apprentice


Joined: 11 Oct 2003
Posts: 258
Location: �sterreich

PostPosted: Thu Mar 18, 2004 12:29 pm    Post subject: Ebuild problem Reply with quote

Hallo!

Ich möchte hier ein abgeändertes Ebuild bei mir testen. Doch ich kriegs nicht hin: ebuild libsdl-1.2.6-r3.ebuild digest

Code:

HTTP request sent, awaiting response... 200 OK
Length: 6,617 [text/plain]

100%[====================================>] 6,617         24.84K/s

13:27:59 (24.77 KB/s) - `/usr/portage/distfiles/SDL-1.2.6-dxr3-ffmpeg.patch.gz' saved [6617/6617]

!!! Couldn't download SDL-1.2.6-dxr3-ffmpeg.patch.gz. Aborting.


Super... was nun?

Danke, Christian
Back to top
View user's profile Send private message
tacki
Guru
Guru


Joined: 29 Jun 2002
Posts: 418
Location: Germany

PostPosted: Thu Mar 18, 2004 1:08 pm    Post subject: Reply with quote

na offensichtlich kann er eine der dateien die dafuer notwendig sind nicht runterladen. eventuell ein typo im ebuild... schau es dir nochmal genau an, bzw. poste das relevante mal hier
_________________
"Kazaa ist der beste MP3-Player den es gibt!"
.o( ... )
Back to top
View user's profile Send private message
beejay
Retired Dev
Retired Dev


Joined: 03 Oct 2002
Posts: 924
Location: Flensungen (das liegt neben Merlau)

PostPosted: Thu Mar 18, 2004 1:11 pm    Post subject: Reply with quote

tacki wrote:
na offensichtlich kann er eine der dateien die dafuer notwendig sind nicht runterladen. eventuell ein typo im ebuild... schau es dir nochmal genau an, bzw. poste das relevante mal hier


Erm - lies die Ausgabe die AustrianCoder gepostet hat doch noch einmal ganz genau ;)
_________________
Dort wo schwarzer Rauch aufsteigt, sich alsbald ein Fehler zeigt.
www.paludis-sucks.org | www.gentoo.de | www.gentoo-ev.org | www.gentoo.org
Back to top
View user's profile Send private message
psyqil
Advocate
Advocate


Joined: 26 May 2003
Posts: 2767

PostPosted: Thu Mar 18, 2004 1:11 pm    Post subject: Reply with quote

:D Na, offensichtlich hat er die Datei gerade runtergeladen:
Quote:
'/usr/portage/distfiles/SDL-1.2.6-dxr3-ffmpeg.patch.gz' saved
Couldn't download SDL-1.2.6-dxr3-ffmpeg.patch.gz. Aborting.
Aber Du hast Recht: Zeig mal die Änderungen, Christian!
Back to top
View user's profile Send private message
AustrianCoder
Apprentice
Apprentice


Joined: 11 Oct 2003
Posts: 258
Location: �sterreich

PostPosted: Thu Mar 18, 2004 1:27 pm    Post subject: Reply with quote

Hier die Änderungen:

Der Patch sollte support für ein dx3 device in sdl geben... bin mir nicht genau sicher ob der Patch so schon ok ist!

Code:

# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /home/cvsroot/gentoo-x86/media-libs/libsdl/libsdl-1.2.6-r3.ebuild,v 1.7 2004/03/14 16:48:40 geoman Exp $

inherit eutils

DESCRIPTION="Simple Direct Media Layer"
HOMEPAGE="http://www.libsdl.org/"
SRC_URI="http://www.libsdl.org/release/SDL-${PV}.tar.gz
http://www.visual-page.de/vdr/SDL-1.2.6-dxr3-ffmpeg.patch.gz
http://www.visual-page.de/vdr/SDL-1.2.6-nokeyboard.patch.gz"

LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="x86 ppc sparc alpha hppa amd64 ia64 ~mips"
IUSE="oss alsa esd arts nas X dga xv xinerama fbcon directfb ggi svga aalib opengl noaudio novideo nojoystick"
# if you disable audio/video/joystick and something breaks, you pick up the pieces

RDEPEND=">=media-libs/audiofile-0.1.9
   alsa? ( media-libs/alsa-lib )
   esd? ( >=media-sound/esound-0.2.19 )
   arts? ( kde-base/arts )
   nas? ( media-libs/nas virtual/x11 )
   X? ( >=x11-base/xfree-4.3.0 )
   directfb? ( >=dev-libs/DirectFB-0.9.19 )
   ggi? ( >=media-libs/libggi-2.0_beta3 )
   svga? ( >=media-libs/svgalib-1.4.2 )
   aalib? ( media-libs/aalib )
   opengl? ( virtual/opengl )"
DEPEND="${RDEPEND}
   >=sys-apps/sed-4"
   # Removed temporarily
   #x86? ( dev-lang/nasm )"

S=${WORKDIR}/SDL-${PV}

src_unpack() {
   unpack ${A}
   cd ${S}
   epatch ${FILESDIR}/${P}-fullscreen.patch #31235
   epatch ${FILESDIR}/${PV}-alsa-1.0.0.patch #35049
   epatch ${FILESDIR}/${PV}-nobuggy-X.patch #30089

   epatch ../SDL-1.2.6-dxr3-ffmpeg.patch
   epatch ../SDL-1.2.6-nokeyboard.patch

   sed -i \
      -e 's:head -1:head -n 1:' configure \
      || die "sed configure failed"
   if [ `use nas` ] && [ ! `use X` ] ; then #32447
      sed -i \
         -e 's:-DNAS_SUPPORT:-DNAS_SUPPORT -I/usr/X11R6/include:' \
         -e 's:-laudio:-laudio -L/usr/X11R6/lib:' \
         configure || die "nas sed hack failed"
   fi

   // to make the makefile for dxr3
   ./autogen.sh

}

src_compile() {
   local myconf=""
   [ `use noaudio` ] && myconf="${myconf} --disable-audio"
   [ `use novideo` ] \
      && myconf="${myconf} --disable-video" \
      || myconf="${myconf} --enable-video-dummy"
   [ `use nojoystick` ] && myconf="${myconf} --disable-joystick"

   # asm is b0rken in 1.2.6
   # http://www.libsdl.org/pipermail/sdl/2003-October/057304.html
   # `use_enable x86 nasm` \
   econf \
      --enable-events \
      --enable-cdrom \
      --enable-threads \
      --enable-timers \
      --enable-endian \
      --enable-file \
      `use_enable oss` \
      `use_enable alsa` \
      `use_enable esd` \
      `use_enable arts` \
      `use_enable nas` \
      --disable-nasm \
      `use_enable X video-x11` \
      `use_enable dga` \
      `use_enable xv video-x11-xv` \
      `use_enable xinerama video-x11-xinerama` \
      `use_enable dga video-dga` \
      `use_enable fbcon video-fbcon` \
      `use_enable directfb video-directfb` \
      `use_enable ggi video-ggi` \
      `use_enable svga video-svga` \
      `use_enable aalib video-aalib` \
      `use_enable opengl video-opengl` \
      ${myconf} || die
   emake || die "emake failed"
}

src_install() {
   make DESTDIR=${D} install || die "make install failed"
   preplib
   dosed "s:-pthread::g" /usr/lib/libSDL.la # Bug 34804
   dodoc BUGS CREDITS README README-SDL.txt README.CVS TODO WhatsNew
   dohtml -r ./
}


Sollte ja passen....
Back to top
View user's profile Send private message
psyqil
Advocate
Advocate


Joined: 26 May 2003
Posts: 2767

PostPosted: Thu Mar 18, 2004 1:54 pm    Post subject: Reply with quote

Code:
   epatch ${FILESDIR}/${P}-fullscreen.patch #31235
   epatch ${FILESDIR}/${PV}-alsa-1.0.0.patch #35049
   epatch ${FILESDIR}/${PV}-nobuggy-X.patch #30089

   epatch ../SDL-1.2.6-dxr3-ffmpeg.patch
   epatch ../SDL-1.2.6-nokeyboard.patch


M.E. sollte der patch nicht runtergeladen werden, wie in Deinem ersten Post, sondern im files-Verzeichnis bereitliegen...vielleichst möchtest Du die Pfade oben auch noch anpassen...
Back to top
View user's profile Send private message
tacki
Guru
Guru


Joined: 29 Jun 2002
Posts: 418
Location: Germany

PostPosted: Thu Mar 18, 2004 2:07 pm    Post subject: Reply with quote

erm :oops: ich entschuldige mich hiermit öffentlich etwas schief geschaut zu haben ;)

mann mann, müssen die buchstaben so rumtanzen? :lol:
_________________
"Kazaa ist der beste MP3-Player den es gibt!"
.o( ... )
Back to top
View user's profile Send private message
AustrianCoder
Apprentice
Apprentice


Joined: 11 Oct 2003
Posts: 258
Location: �sterreich

PostPosted: Fri Mar 19, 2004 9:27 am    Post subject: Reply with quote

@psyqil:

Das sollte schon so passen. Ist kein offizlier Patch, sonder einfach ein Versuch dxr3 in die libsdl zu bekommen. Die Pfade stimmen, so, dass mache ich bei den VDR Ebuilds auch so.
Wenn falls du trotzdem Recht haben solltest, ist das leider keine Antwort auf mein Problem.
Back to top
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Germany

PostPosted: Fri Mar 19, 2004 9:54 am    Post subject: Reply with quote

Hast Du mal versucht, den alten digest zu löschen, bevor Du den neuen erstellst?
Back to top
View user's profile Send private message
yah
n00b
n00b


Joined: 11 Dec 2003
Posts: 5
Location: Nettetal - NRW - Germany

PostPosted: Fri Mar 19, 2004 7:06 pm    Post subject: Reply with quote

Bei mir hat es geholfen, alle digests die sich da so angesammelt haben zu killen.

cd /usr/portage/<category>/<package>/
rm files/digest-*
echo "" > Manifest
ebuild <ebuild> digest
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum