Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 151988 - x11-libs/seom video capturing library (new ebuild)
Summary: x11-libs/seom video capturing library (new ebuild)
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://neopsis.com/projects/seom/
Whiteboard: sunrise-removal
Keywords: EBUILD, InOverlay
Depends on:
Blocks: 181216
  Show dependency tree
 
Reported: 2006-10-19 11:14 UTC by Tomas Carnecky
Modified: 2020-09-24 10:11 UTC (History)
6 users (show)

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


Attachments
x11-libs/seom ebuild, version 1.0.69 (seom-1.0.69.ebuild,472 bytes, text/plain)
2006-10-19 11:16 UTC, Tomas Carnecky
Details
files/seom-makefile.diff (seom-makefile.diff,1.33 KB, patch)
2006-11-02 06:33 UTC, Jakub Moc (RETIRED)
Details | Diff
x11-libs/seom-9999.ebuild (seom-9999.ebuild,670 bytes, text/plain)
2006-11-02 06:34 UTC, Jakub Moc (RETIRED)
Details
x11-libs/seom-9999.ebuild (seom-9999.ebuild,569 bytes, text/plain)
2006-11-12 04:34 UTC, Jakub Moc (RETIRED)
Details
updated ebuild (seom-9999.ebuild,597 bytes, text/plain)
2006-12-04 07:48 UTC, Tomas Carnecky
Details
updated ebuild (seom-9999.ebuild,597 bytes, text/plain)
2006-12-04 07:50 UTC, Tomas Carnecky
Details
updated ebuild (Dec. 17, 2006) (seom-9999.ebuild,620 bytes, text/plain)
2006-12-17 14:43 UTC, Tomas Carnecky
Details
updated ebuild (Jan. 17, 2007) (seom-9999.ebuild,644 bytes, text/plain)
2007-01-17 01:35 UTC, Tomas Carnecky
Details
updated ebuild (Jan. 19, 2007) (seom-9999.ebuild,789 bytes, text/plain)
2007-01-18 23:11 UTC, Tomas Carnecky
Details
updated ebuild (2007-02-27) (seom-9999.ebuild,793 bytes, text/plain)
2007-02-27 08:51 UTC, Pedroleouf
Details
Updated ebuild (2007-05-19) (seom-1.0.179.ebuild,922 bytes, text/plain)
2007-05-19 14:09 UTC, Tomas Carnecky
Details
Patch to make ebuild "192 compatible" (seom-ebuild-192.patch,646 bytes, patch)
2007-09-12 12:05 UTC, Dennis Schridde
Details | Diff
Logfile of the failed build (build.log,3.18 KB, text/plain)
2007-09-12 12:06 UTC, Dennis Schridde
Details
Patch to make ebuild "192 compatible" (seom-ebuild-192.patch,922 bytes, patch)
2007-09-12 12:17 UTC, Dennis Schridde
Details | Diff
Build.log (Build.log,2.89 KB, text/plain)
2011-06-26 10:46 UTC, Piotr Szymaniak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Carnecky 2006-10-19 11:14:25 UTC
seom is required for example for the beryl vidcap plugin and yukon (http://neopsis.com/projects/yukon/), a C-source file and a script and that can be used to set up a fake libGL.so library to allow to capture OpenGL games.
Comment 1 Tomas Carnecky 2006-10-19 11:16:17 UTC
Created attachment 100033 [details]
x11-libs/seom ebuild, version 1.0.69

I don't know where this ebuild should go into, I found x11-libs to be the right place, correct me if I'm wrong.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-11-02 05:58:39 UTC
The makefile sucks... Doesn't respect CFLAGS/LDFLAGS, has hardcoded gcc (will fail on crosscompile) and it compiles in src_install()
Comment 3 Tomas Carnecky 2006-11-02 06:17:49 UTC
(In reply to comment #2)
> The makefile sucks... Doesn't respect CFLAGS/LDFLAGS, has hardcoded gcc (will
> fail on crosscompile) and it compiles in src_install()
> 

The LDFLAGS/CFLAGS/hardcoded gcc could be fixed (though I really don't want to use autotools).

It compiles in 'make install' - but only because make doesn't understand that the targets have been already built.. I guess make chokes on this construct:

APPS = filter player server
$(APPS): libseom.la
    $(CC) [...] -o seom-$@ [...]

care to suggest how I could fix this instead of complaining?
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-11-02 06:33:29 UTC
Created attachment 101048 [details, diff]
files/seom-makefile.diff

- Makefile patch to fix the above issues
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-11-02 06:34:35 UTC
Created attachment 101049 [details]
x11-libs/seom-9999.ebuild

fixed ebuild
Comment 6 Tomas Carnecky 2006-11-02 06:49:05 UTC
(In reply to comment #4)
> Created an attachment (id=101048) [edit]
> files/seom-makefile.diff
> 
> - Makefile patch to fix the above issues
> 
    
Thanks for the patch, I committed it to the SVN repo.
Comment 7 Tomas Carnecky 2006-11-02 12:09:18 UTC
(In reply to comment #5)
> x11-libs/seom-9999.ebuild

couple of questions...

CC=$(tc-getCC), will that allow to build the 32bit version on amd64 (eg. will that make the seom multilib-aware?). That's quite important for all those who have amd64 and play 32bit games (windows games under wine/cedega), yukon can already be easily cross-compiled so seom is the only missing piece in the chain.

why 'emake' when compiling but 'make' when installing?


Comment 8 Jakub Moc (RETIRED) gentoo-dev 2006-11-03 07:45:35 UTC
(In reply to comment #7)
> 
> CC=$(tc-getCC), will that allow to build the 32bit version on amd64 (eg. will
> that make the seom multilib-aware?).

Has nothing to do w/ that multilib stuff. It allows for a proper cross-compile (unlike the original makefile w/ a hardcoded CC = gcc). For similar questions, please ask amd64 folks at #gentoo-amd64, sorry I can't help with this.

> why 'emake' when compiling but 'make' when installing?

Shrug... Not something that'd be important, feel free to change it. 

BTW, if this goes to portage, we'll need either a regular release or a SVN snapshot, we're not much into live CVS/SVN stuff.

(Also, beryl-vidcap Makefile suffers from identical issues - doesn't respect CFLAGS/LDFLAGS, hardcodes gcc)


Comment 9 Tomas Carnecky 2006-11-03 10:46:31 UTC
(In reply to comment #8)
> BTW, if this goes to portage, we'll need either a regular release or a SVN
> snapshot, we're not much into live CVS/SVN stuff.

I could make tags whenever I feel it's stable enough. But I guess you mean create tarballs... But the SVN server can handle the load as I don't think that many people will start using beryl-vidcap.

Does the gentoo release team (or someone else) have a make-tarball-from-svn-and-create-ebuild script at hand? Would be nice to have such a script to be able to quicky create both the tarball and the ebuild.

> (Also, beryl-vidcap Makefile suffers from identical issues - doesn't respect
> CFLAGS/LDFLAGS, hardcodes gcc)
> 

I don't know much about Makefiles.. I'm able to write a simple one for a 'hello world' app, but anything that goes beyond that is above my skills. But feel free to send me patches, or alternatively you can go into #beryl-dev and tell someone with write-rights to commit your patch.

Comment 10 Tomas Carnecky 2006-11-03 17:17:37 UTC
(In reply to comment #4)
> - Makefile patch to fix the above issues
> 

Strange that you only change 'CC' but not 'PREFIX', but both variables are overridden on the make command line.

When I use 'CC ?= gcc' then CC gets defined as 'cc', if I revert it back to 'CC = gcc' then I still can override CC from the commandline and if I don't specify anything then CC gets 'gcc', as expected. I also couldn't find anything that would explain the ?= syntax.

Also, users have been reporting problems with libtool, don't know if it's related to the Makefile change, see http://forum.beryl-project.org/post-50852#p50852
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2006-11-12 04:29:44 UTC
(In reply to comment #10)

Eh, just revert it to CC = gcc, it works as well. Prefix needs to be overriden in the ebuild, will bomb out w/ sandbox otherwise. (I'd suggest to move this debate somewhere else, this is not exactly a place to debate autotools and makefiles.)
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2006-11-12 04:33:03 UTC
Comment on attachment 101048 [details, diff]
files/seom-makefile.diff

No longer needed, fixed upstream.
Comment 13 Jakub Moc (RETIRED) gentoo-dev 2006-11-12 04:34:53 UTC
Created attachment 101727 [details]
x11-libs/seom-9999.ebuild
Comment 14 Tomas Carnecky 2006-12-04 07:48:43 UTC
Created attachment 103330 [details]
updated ebuild

updated ebuild that uses ARCH to optimize for amd64 and x86 architectures
Comment 15 Tomas Carnecky 2006-12-04 07:50:17 UTC
Created attachment 103331 [details]
updated ebuild

updated ebuild that uses ARCH to optimize for amd64 and x86 architectures
Comment 16 Tomas Carnecky 2006-12-17 14:43:11 UTC
Created attachment 104246 [details]
updated ebuild (Dec. 17, 2006)

ARCH also needs to be set when we're installing seom, otherwise it will compile some files in the install stage.
Comment 17 Jakub Moc (RETIRED) gentoo-dev 2007-01-17 00:04:36 UTC
WTH... You might want to fix this thing in SVN to NOT install /usr/lib/pkgconfig as a *file* (see Bug 162456)

$ cat /var/tmp/portage/x11-libs/seom-9999/image/usr/lib/pkgconfig 
Name: seom
Description: seom video capturing library
Version: 1.0-
Libs: -L/var/tmp/portage/x11-libs/seom-9999/image//usr/lib -lseom
Cflags: -I/var/tmp/portage/x11-libs/seom-9999/image//usr/include
Comment 18 Tomas Carnecky 2007-01-17 01:28:41 UTC
fixed.. but the ebuild needs an update, too. It needs to use PREFIX and DESTDIR correctly, eg. in src_install() it should be:
emake [..] DESTDIR="${D}" PREFIX="/usr"
otherwise the paths in the seom pkgconfig file will be bad.
Comment 19 Tomas Carnecky 2007-01-17 01:35:34 UTC
Created attachment 107228 [details]
updated ebuild (Jan. 17, 2007)

fix usage of PREFIX and DESTDIR
Comment 20 Jakub Moc (RETIRED) gentoo-dev 2007-01-17 08:29:53 UTC
>>> Compiling source in /var/tmp/portage/x11-libs/seom-9999/work/trunk ...
Makefile:17: config.make: No such file or directory
Makefile:57: *** missing separator.  Stop.
Comment 21 Tomas Carnecky 2007-01-18 23:11:11 UTC
Created attachment 107397 [details]
updated ebuild (Jan. 19, 2007)

this ebuild should work again.
Comment 22 Pedroleouf 2007-02-27 08:51:17 UTC
Created attachment 111383 [details]
updated ebuild (2007-02-27)

The dev-lang/yasm is required to compile this package
Added in RDEPEND
Comment 23 Jakub Moc (RETIRED) gentoo-dev 2007-03-04 09:05:59 UTC
Stuff that's required to compile something is DEPEND, not RDEPEND.
Comment 24 Tomas Carnecky 2007-05-19 14:09:03 UTC
Created attachment 119705 [details]
Updated ebuild (2007-05-19)

Now build all ABIs on amd64, don't know how it behaves on x86 systems.
Comment 25 Tomas Carnecky 2007-06-08 05:52:51 UTC
ebuild is in the sunrise overlay: http://overlays.gentoo.org/proj/sunrise/browser/reviewed/x11-libs/seom
Comment 26 Dennis Schridde 2007-09-12 12:04:52 UTC
Tried the sunrise version, but version 1.0.179 cannot be downloaded anymore.
Current (and only) version seems to be 1.0.192, which needs a few adjustments in the ebuild, patch attached.
After that it still does not work, because "x86-64 architecture of input file `src/arch/amd64/frame.o' is incompatible with i386 output", buildlog attached.
Comment 27 Dennis Schridde 2007-09-12 12:05:51 UTC
Created attachment 130693 [details, diff]
Patch to make ebuild "192 compatible"
Comment 28 Dennis Schridde 2007-09-12 12:06:31 UTC
Created attachment 130695 [details]
Logfile of the failed build
Comment 29 Dennis Schridde 2007-09-12 12:17:59 UTC
Created attachment 130697 [details, diff]
Patch to make ebuild "192 compatible"

Sorry for the noise. Here comes the fix for my build problems.
Comment 30 Piotr Szymaniak 2008-02-12 12:06:00 UTC
Failed for me on x86.

Log file and emerge --info are here:
http://mlodyinteligent.pl/~lazy_bum/tmp/
Comment 31 Tomas Carnecky 2008-02-12 12:25:05 UTC
was something changed in portage? Or why does your $(get_install_abis) contain 'default'? The offending code is this:

  for ABI in $(get_install_abis); do
    econf --arch="${ABI}" --prefix="/usr" || die "econf failed"
  done

ABI is set to 'default', which is wrong. It should be either 'x86' or 'amd64'. Someone who knows the portage internals would have to look into it.
Comment 32 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-07-05 21:14:03 UTC
The HOMEPAGE & SRC_URI are dead, and I am unable to find a reference of a new one. Unless somebody fixes that, the ebuild will be masked for removal in 30 days.
Comment 33 Tomas Carnecky 2010-07-05 21:16:26 UTC
The new homepage is: https://devel.neopsis.com/projects/seom
Comment 34 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-07-05 22:43:27 UTC
(In reply to comment #33)
> The new homepage is: https://devel.neopsis.com/projects/seom

Are there any official tarballs/snapshots around?
Comment 35 Piotr Szymaniak 2011-06-26 10:46:20 UTC
Created attachment 278219 [details]
Build.log

# emerge --info =x11-libs/seom-1.0.192
Portage 2.2.0_alpha41 (default/linux/amd64/10.0, gcc-4.6.0, glibc-2.13-r2, 2.6.39.1 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.39.1-x86_64-Intel-R-_Core-TM-2_CPU_6300_@_1.86GHz-with-gentoo-2.0.3
Timestamp of tree: Sat, 25 Jun 2011 21:45:01 +0000
ccache version 3.1.5 [enabled]
app-shells/bash:          4.2_p10
dev-lang/python:          2.4.6, 2.7.1-r1, 3.2
dev-util/ccache:          3.1.5
dev-util/cmake:           2.8.4-r1
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21
sys-devel/gcc:            4.5.2, 4.6.0
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r2
Repositories: gentoo roslin xarthisius sunrise
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -mno-sse3 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=nocona -mno-sse3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.ift.uni.wroc.pl/"
LANG="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/roslin /var/lib/layman/xarthisius /var/lib/layman/sunrise"
SYNC="rsync://rsync1.pl.gentoo.org/gentoo-portage"
USE="acl amd64 berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 mmx modules mudflap multilib ncurses nptl nptlonly openmp pam pcre perl pppd python readline session sse sse2 ssl sysfs tcpd unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


# emerge -pqv =x11-libs/seom-1.0.192
[ebuild  N    ] dev-python/cython-0.14.1  USE="-doc -examples" 
[ebuild  N    ] dev-lang/yasm-1.1.0-r1  USE="python -nls" 
[ebuild  N    ] x11-libs/seom-1.0.192
Comment 36 Tomas Carnecky 2011-06-26 21:04:50 UTC
Note that seom is unsupported now and no longer being actively worked on. As to your issue, it looks like you need to install the opengl headers. It's probably a missing dependency in the seom ebuild.
Comment 37 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-06-08 16:48:47 UTC
Hello, everyone.

It seems that at least one ebuild related to this bug exists in the Sunrise overlay at the moment. However, I have to regretfully announce that after a long inactivity period the Sunrise project has been discontinued and the related overlay will be eventually removed. For this reason, I'd like to ask you to reevaluate the ebuilds and consider moving them. If you'd like to maintain a package from Sunrise in Gentoo, please take a look at our Proxy Maintainers [1] project.

Please make sure to take ebuilds from the unreviewed developer Sunrise repository [2] rather than the -reviewed one, since the latter has not been updated for over a year. While at it, please note that:

1. Adding a package to Gentoo requires declaring yourself as an active maintainer for it. All bugs regarding the package will be assigned to you, and you will be expected to maintain it.

2. Some packages may not be suitable for addition anymore. While there's no strong rules that would prevent you from adding a package, it may be a bad idea to add old-unmaintained packages that will shortly result in a large number of bugs reported with no solution. If that is the case, please close the bug as RESOLVED/OBSOLETE to make it easier to find packages worth adding.

3. Some of the bugs were already closed as WONTFIX/OBSOLETE/... while the relevant ebuild was kept in Sunrise. If you disagree with the original decision, you still can add the ebuild via proxy-maint.

4. Pleaes note that many of the Sunrise ebuilds are old and may be buggy. If you decide to move them, please make sure to update/clean them up. The proxy-maint team will also review your ebuilds, therefore making sure they land in Gentoo in good quality.

Once again, thank you for your contribution. We hope that you will still want to contribute to Gentoo, through proxy-maint or otherwise.


[1]:https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers
[2]:https://gitweb.gentoo.org/proj/sunrise.git/
Comment 38 Jesús P Rey (Chuso) 2020-09-24 10:11:22 UTC
Upstream has abandoned this project as stated above by the main developer himself: https://bugs.gentoo.org/151988#c36

Also see my notes on https://bugs.gentoo.org/181216#c12 with more evidence that this package and the only one pulling it as a dependency are both abandoned by the same upstream.