First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 73454
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Tom Payne (RETIRED) <twp@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Tom Payne (RETIRED) <twp@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
glitz-0.2.3.ebuild glitz-0.2.3 ebuild (works with cairo-0.2.0) text/plain Nahum Shalman 2004-12-18 15:15 0000 894 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 73454 depends on: Show dependency tree
Bug 73454 blocks: 73041
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-12-05 08:51 0000
With glitz-cvs-20041204 I get:

 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I/usr/X11R6/include -I/usr/include/libpng12 -I/usr/include/freetype2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -march=athlon-xp -O3 -pipe -MT cairo_glitz_surface.lo -MD -MP -MF .deps/cairo_glitz_surface.Tpo -c cairo_glitz_surface.c  -fPIC -DPIC -o .libs/cairo_glitz_surface.o
In file included from cairo_glitz_surface.c:27:
cairoint.h:407: warning: `__visibility__' attribute ignored on non-class types
cairoint.h:812: warning: `__visibility__' attribute ignored on non-class types
cairoint.h:827: warning: `__visibility__' attribute ignored on non-class types
cairoint.h:842: warning: `__visibility__' attribute ignored on non-class types
cairoint.h:848: warning: `__visibility__' attribute ignored on non-class types
cairoint.h:1130: warning: `__visibility__' attribute ignored on non-class types
cairoint.h:1274: warning: `__visibility__' attribute ignored on non-class types
cairoint.h:1281: warning: `__visibility__' attribute ignored on non-class types
cairoint.h:1336: warning: `__visibility__' attribute ignored on non-class types
cairoint.h:1357: warning: `__visibility__' attribute ignored on non-class types
cairoint.h:1538: warning: `__visibility__' attribute ignored on non-class types
cairoint.h:1568: warning: `__visibility__' attribute ignored on non-class types
cairo_glitz_surface.c: In function `_cairo_glitz_surface_get_image':
cairo_glitz_surface.c:122: error: structure has no member named `red_size'
cairo_glitz_surface.c:125: error: structure has no member named `alpha_size'
cairo_glitz_surface.c: In function `_glitz_operator':
cairo_glitz_surface.c:310: error: `GLITZ_OPERATOR_SATURATE' undeclared (first use in this function)
cairo_glitz_surface.c:310: error: (Each undeclared identifier is reported only once
cairo_glitz_surface.c:310: error: for each function it appears in.)
cairo_glitz_surface.c: In function `_glitz_surface_create_solid':
cairo_glitz_surface.c:325: warning: implicit declaration of function `glitz_surface_find_similar_standard_format'
cairo_glitz_surface.c:325: warning: nested extern declaration of `glitz_surface_find_similar_standard_format'
cairo_glitz_surface.c:325: warning: assignment makes pointer from integer without a cast
cairo_glitz_surface.c:329: warning: implicit declaration of function `glitz_surface_create_similar'
cairo_glitz_surface.c:329: warning: nested extern declaration of `glitz_surface_create_similar'
cairo_glitz_surface.c:329: warning: assignment makes pointer from integer without a cast
cairo_glitz_surface.c: In function `_cairo_glitz_surface_create_similar':
cairo_glitz_surface.c:354: error: structure has no member named `read'
cairo_glitz_surface.c:355: error: `GLITZ_FORMAT_READ_OFFSCREEN_MASK' undeclared (first use in this function)
cairo_glitz_surface.c:358: error: structure has no member named `draw'
cairo_glitz_surface.c:359: error: `GLITZ_FEATURE_OFFSCREEN_MULTISAMPLE_MASK' undeclared (first use in this function)
cairo_glitz_surface.c:360: error: structure has no member named `multisample'
cairo_glitz_surface.c:360: error: structure has no member named `multisample'
cairo_glitz_surface.c:361: error: `GLITZ_FORMAT_MULTISAMPLE_SAMPLES_MASK' undeclared (first use in this function)
cairo_glitz_surface.c:364: error: structure has no member named `draw'
cairo_glitz_surface.c:366: error: `GLITZ_FORMAT_DRAW_OFFSCREEN_MASK' undeclared (first use in this function)
cairo_glitz_surface.c:371: error: structure has no member named `alpha_size'
cairo_glitz_surface.c:375: error: structure has no member named `red_size'
cairo_glitz_surface.c:380: error: structure has no member named `alpha_size'
cairo_glitz_surface.c:380: error: structure has no member named `red_size'
cairo_glitz_surface.c:387: warning: implicit declaration of function `glitz_surface_find_similar_format'
cairo_glitz_surface.c:387: warning: nested extern declaration of `glitz_surface_find_similar_format'
cairo_glitz_surface.c:387: warning: assignment makes pointer from integer without a cast
cairo_glitz_surface.c:391: warning: assignment makes pointer from integer without a cast
cairo_glitz_surface.c:396: warning: nested extern declaration of `glitz_surface_create_similar'
cairo_glitz_surface.c:397: warning: assignment makes pointer from integer without a cast
cairo_glitz_surface.c: In function `cairo_glitz_surface_create':
cairo_glitz_surface.c:922: warning: implicit declaration of function `glitz_surface_get_features'
cairo_glitz_surface.c:922: warning: nested extern declaration of `glitz_surface_get_features'
make[2]: *** [cairo_glitz_surface.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/cairo-0.2.0/work/cairo-0.2.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/cairo-0.2.0/work/cairo-0.2.0'
make: *** [all] Error 2

!!! ERROR: x11-libs/cairo-0.2.0 failed.
!!! Function src_compile, Line 26, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

------- Comment #1 From Tom Payne (RETIRED) 2004-12-05 09:01:30 0000 -------
I've informed the author, Carl Worth.

------- Comment #2 From Nahum Shalman 2004-12-18 15:14:09 0000 -------
I checked some of the documentation, and cairo-0.20 is meant to work with glitz
0.2.3.  media-libs/glitz-cvs is not 0.2.3.

solution: make a glitz-0.2.3 package and have cairo depend on that. (modify the
cairo ebuild to depend on glitz instead of glitz-cvs)

to create a glitz source tarball for 0.2.3:
cvs -d:pserver:anoncvs@cvs.freedesktop.org:/cvs/cairo login
    [press enter]
cvs -d:pserver:anoncvs@cvs.freedesktop.org:/cvs/cairo/ checkout -r
SNAPSHOT_0_2_3 glitz
mv glitz glitz-0.2.3
tar -czvf glitz-0.2.3.tar.gz glitz-0.2.3
cp glitz-0.2.3.tar.gz /usr/portage/distfiles

glitz-0.2.3 ebuild attached (note the included hack from bug #73041)

I hope this stuff is helpful.

------- Comment #3 From Nahum Shalman 2004-12-18 15:15:40 0000 -------
Created an attachment (id=46302) [details]
glitz-0.2.3 ebuild (works with cairo-0.2.0)

------- Comment #4 From Tom Payne (RETIRED) 2004-12-19 10:20:48 0000 -------
Many thanks for this Nahum. The updated glitz and cairo ebuilds are now in CVS.

Best regards,

Tom

First Last Prev Next    No search results available      Search page      Enter new bug