Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3278 - request xvid ebuild
Summary: request xvid ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 All
: High normal (vote)
Assignee: Michael M Nazaroff (RETIRED)
URL:
Whiteboard:
Keywords:
: 9708 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-05-31 11:50 UTC by Jacob Perkins
Modified: 2003-02-04 19:42 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
xvid snapshot ebuild (xvid-20020412.ebuild,440 bytes, text/plain)
2002-06-22 20:17 UTC, Jacob Perkins
Details
xvid snapshot r1 (xvid-20020412-r1.ebuild,579 bytes, text/plain)
2002-06-23 23:34 UTC, Jacob Perkins
Details
makefile patch (Makefile-gentoo.diff,899 bytes, text/plain)
2002-06-23 23:34 UTC, Jacob Perkins
Details
new makefile patch (Makefile-gentoo.diff,932 bytes, text/plain)
2002-06-24 00:12 UTC, Jacob Perkins
Details
Changelog (Changelog,375 bytes, text/plain)
2002-07-11 17:19 UTC, Jacob Perkins
Details
xvid-20020412 (xvid-20020412.ebuild,1.20 KB, text/plain)
2002-07-27 13:54 UTC, Jacob Perkins
Details
xvid-20020810.ebuild (xvid-20020810.ebuild,1.62 KB, text/plain)
2002-08-10 19:52 UTC, Jacob Perkins
Details
xvid-20020822.ebuild (xvid-20020822.ebuild,1.37 KB, text/plain)
2002-08-23 01:50 UTC, Jacob Perkins
Details
xvid-20020822.ebuild (xvid-20020822.ebuild,1.41 KB, text/plain)
2002-09-29 10:17 UTC, Jacob Perkins
Details
xvid-cvs-20021028.ebuild (xvid-cvs-20021028.ebuild,1.48 KB, text/plain)
2002-10-28 02:11 UTC, Georgi Georgiev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jacob Perkins 2002-05-31 11:50:40 UTC
This is a request for an ebuild for the xvid media library, used by transcode 
to encode video, and possibly needed by xine to play video.  I could try to 
make this ebuild myself, but it seems like something that could be tied to 
a 'xvid' use variable, so I figured I'd leave this to the professionals.  If 
there is a better way to make ebuild requests, please let me know.
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-06-04 21:24:48 UTC
Please create one and attach it to this bug report.
Comment 2 Jacob Perkins 2002-06-22 20:17:38 UTC
Created attachment 1695 [details]
xvid snapshot ebuild

xvid ebuild
Comment 3 Jacob Perkins 2002-06-22 20:19:18 UTC
here's an ebuild for xvid snapshot 20020412.  It does not have a configure
script, and I don't know how to patch the makefile to use make.conf flag
settings, so right now it has it's own CFLAGS.  I will try to update it when I
find out how to do this.
Comment 4 Jacob Perkins 2002-06-23 23:34:24 UTC
Created attachment 1727 [details]
xvid snapshot r1

new r1 xvid ebuild to use patch for make.conf CFLAGS
Comment 5 Jacob Perkins 2002-06-23 23:34:56 UTC
Created attachment 1728 [details]
makefile patch

makefile patch to use make.conf CFLAGS
Comment 6 Jacob Perkins 2002-06-23 23:36:47 UTC
During the xine-lib configure process, it looks for xvid support, and unless
xvid.h is in /usr/include, it says xvid support is disabled.  This ebuild will
install xvid.h, so maybe xvid could also be added to xine-lib and anything else
that can use it, maybe under the avi use variable
Comment 7 Jacob Perkins 2002-06-24 00:12:11 UTC
Created attachment 1734 [details]
new makefile patch

new makefile patch to comment out CC declaration.  Also, the default makefile
is for x86 linux.  sometime I'll try to figure out how to use the different
arch makefiles
Comment 8 Jacob Perkins 2002-07-11 17:19:58 UTC
Created attachment 2150 [details]
Changelog

Here's the changelog, when will this be added to portage, and is there anything
else I need to do?
Comment 9 Jacob Perkins 2002-07-27 13:54:23 UTC
Created attachment 2632 [details]
xvid-20020412

updated for docs.
Makefile patch no longer needed, used sed in ebuild to correct Makefile.
Not tested on ppc and sparc so it may not compile, but should select correct
arch Makefile to sed and make from.
Comment 10 Jacob Perkins 2002-08-10 19:52:26 UTC
Created attachment 2982 [details]
xvid-20020810.ebuild

Here's an ebuild for xvid cvs snapshots. 20020810 seemed to be fairly stable
for me. One problem with this, though is that the SRC_URI is xvid_latest.tar.gz
and not the snapshot date. I just thought I'd put this up there though, and
maybe someone could put the actual snapshot with the date as part of the name
on ibiblio or something, whatever.
Comment 11 Jacob Perkins 2002-08-23 01:50:39 UTC
Created attachment 3342 [details]
xvid-20020822.ebuild

This ebuild is for a named, downloadable snapshot, and works fine on x86. It
_should_ work for ppc and sparc, but I can't test it on them right now. This
should be used instead of previous ebuild posts.
Comment 12 Sloan Poe 2002-09-29 08:26:48 UTC
I've installed this, and it works fine, the only problem is that to compile xvid support into mplayer libxvidcore.a needs to be copied as well.  One other problem (for mplayer) is that it needs divx4.h, which copying that to /usr/include seems to break opendivx and divx5linux.  (luckily I use libavcodec which supports divx4 and divx5)  
Comment 13 Jacob Perkins 2002-09-29 10:17:15 UTC
Created attachment 4289 [details]
xvid-20020822.ebuild

Installs libxvidcore.a, hope this will work for mplayer.  xvid probably
shouldn't be used for divx support, that's what opendivx is for.
Comment 14 Georgi Georgiev 2002-10-28 01:44:16 UTC
*** Bug 9708 has been marked as a duplicate of this bug. ***
Comment 15 Georgi Georgiev 2002-10-28 02:10:20 UTC
I didn't know there is a xvid ebuild posted so I submitted bug #9708.

I now see this one, and decided to anyway submit my ebuild here.

I edited xvid-20020822.ebuild and adjusted it to mine, so as to not break
anything that you were up to.

Key differences in the ebuild I submit:
1. It uses cvs, no SRC_URI or similar
2. Instead of grepping ${CHOST} I changed it to "use x86", "use sparc" ... etc
3. Added dependency ">=dev-lang/nasm-0.98.30"... the xvid guys say it is
required for building.

Nothing else to it I guess.

N.B. I also included the header that is known to break stuff - divx4.h... mostly
because this is the ebuild I use at home. I also include encoder.h and decoder.h
because I think mplayer need these four headers to detect xvid when compiling.
Just change as appropriate afterwards.

Hope the suggestions are welcome.
Comment 16 Georgi Georgiev 2002-10-28 02:11:40 UTC
Created attachment 5122 [details]
xvid-cvs-20021028.ebuild

a cvs build for xvid (based on xvid-20020822.ebuild)
Comment 17 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-02 08:48:27 UTC
Added xvid-0.9.0.ebuild to cvs, thanks.
Comment 18 Georgi Georgiev 2002-12-06 23:25:06 UTC
Just a quickie,
what is the proper behavior that the xvid-cvs ebuild should have, since it
provides the same functionality as the xvid ebuild. Does it have to
`PROVIDE="media-libs/xvid"' or similar, in case a package needs xvid?
Comment 19 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-08 14:37:29 UTC
Sorda, yes, but official policy will hold that there will be no more (unless
there is a *very* good reason) CVS ebuild in portage.  Putting it more clearly:

  1)  CVS ebuilds rever to ones that use the cvs.eclass, and thus do
      not use a stable tarball that contain a snapshot of cvs tree.

  2)  Any dev that feel he have the spare time to maintain something like this,
      should only host on his homepage with clear notice that its not officially
      supported by Gentoo Linux.

  3)  Stable CVS snapshots (meaning creating a tarball from cvs, uploading to
      ibiblio, etc ...) will be allowed if it fixes bugs/compile problems with
      some or other version of gcc.