Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Evergreen:11.2:Test
libwnck
libwnck-fix-bindings.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libwnck-fix-bindings.patch of Package libwnck
commit 51879e605ade65d1862f9a114e2a0a0c8defd5c0 Author: Arun Raghavan <ford_prefect@gentoo.org> Date: Tue Oct 6 19:22:41 2009 +0200 [build] Fix generation of wnck-enum-types.c to not break bindings We use g_flag_register_static() for flag types (rather than always using g_enum_register_static()). https://bugzilla.gnome.org/show_bug.cgi?id=590534 Index: libwnck-2.28.0/libwnck/Makefile.am =================================================================== --- libwnck-2.28.0.orig/libwnck/Makefile.am +++ libwnck-2.28.0/libwnck/Makefile.am @@ -129,13 +129,13 @@ wnck-enum-types.c: $(wnck_headers) wnck- $(AM_V_GEN)glib-mkenums \ --fhead "#include <libwnck/libwnck.h>\n" \ --fprod "\n/* enumerations from \"@filename@\" */" \ - --vhead "static const GEnumValue _@enum_name@_values[] = {" \ + --vhead "static const G@Type@Value _@enum_name@_values[] = {" \ --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \ --vtail " { 0, NULL, NULL }\n};\n\n" \ --vtail "GType\n@enum_name@_get_type (void)\n{\n" \ --vtail " static GType type = 0;\n\n" \ --vtail " if (!type)\n" \ - --vtail " type = g_enum_register_static (\"@EnumName@\", _@enum_name@_values);\n\n" \ + --vtail " type = g_@type@_register_static (\"@EnumName@\", _@enum_name@_values);\n\n" \ --vtail " return type;\n}\n\n" \ $(wnck_headers) > $@ Index: libwnck-2.28.0/libwnck/Makefile.in =================================================================== --- libwnck-2.28.0.orig/libwnck/Makefile.in +++ libwnck-2.28.0/libwnck/Makefile.in @@ -899,13 +899,13 @@ wnck-enum-types.c: $(wnck_headers) wnck- $(AM_V_GEN)glib-mkenums \ --fhead "#include <libwnck/libwnck.h>\n" \ --fprod "\n/* enumerations from \"@filename@\" */" \ - --vhead "static const GEnumValue _@enum_name@_values[] = {" \ + --vhead "static const G@Type@Value _@enum_name@_values[] = {" \ --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \ --vtail " { 0, NULL, NULL }\n};\n\n" \ --vtail "GType\n@enum_name@_get_type (void)\n{\n" \ --vtail " static GType type = 0;\n\n" \ --vtail " if (!type)\n" \ - --vtail " type = g_enum_register_static (\"@EnumName@\", _@enum_name@_values);\n\n" \ + --vtail " type = g_@type@_register_static (\"@EnumName@\", _@enum_name@_values);\n\n" \ --vtail " return type;\n}\n\n" \ $(wnck_headers) > $@
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor