components/gnome/gtk2/Makefile
changeset 6007 4c61ee2c9e6d
parent 5917 5d22f319e25b
child 6231 8b569784feeb
equal deleted inserted replaced
6006:e7eb980cf5b4 6007:4c61ee2c9e6d
    38 COMPONENT_ARCHIVE_URL=	https://download.gnome.org/sources/gtk+/2.24/$(COMPONENT_ARCHIVE)
    38 COMPONENT_ARCHIVE_URL=	https://download.gnome.org/sources/gtk+/2.24/$(COMPONENT_ARCHIVE)
    39 COMPONENT_BUGDB=	gnome/gtk+
    39 COMPONENT_BUGDB=	gnome/gtk+
    40 
    40 
    41 TPNO=			24778
    41 TPNO=			24778
    42 
    42 
       
    43 # Requires gdk-pixbuf, which we cannot build on 11.3, so do not publish.
       
    44 ifeq ($(BUILD_TYPE), evaluation)
       
    45 BUILD_32_and_64=
       
    46 INSTALL_32_and_64=
       
    47 PUBLISH_STAMP=
       
    48 endif
       
    49 
    43 ETCDIR.64="$(ETCDIR)/$(MACH64)"
    50 ETCDIR.64="$(ETCDIR)/$(MACH64)"
    44 
    51 
    45 include $(WS_MAKE_RULES)/gnome-component.mk
    52 include $(WS_MAKE_RULES)/gnome-component.mk
    46 
    53 
    47 CFLAGS += $(CPP_XPG6MODE)
    54 CFLAGS += $(CPP_XPG6MODE)
    63 CONFIGURE_ENV += ac_cv_lib_mlib_mlib_ImageSetStruct=no
    70 CONFIGURE_ENV += ac_cv_lib_mlib_mlib_ImageSetStruct=no
    64 
    71 
    65 # Tell g-ir-scanner which compiler to use since upstream Makefile forgot to
    72 # Tell g-ir-scanner which compiler to use since upstream Makefile forgot to
    66 COMPONENT_BUILD_ENV += INTROSPECTION_SCANNER_ENV='CC=$(CC_FOR_BUILD)'
    73 COMPONENT_BUILD_ENV += INTROSPECTION_SCANNER_ENV='CC=$(CC_FOR_BUILD)'
    67 
    74 
       
    75 ifneq ($(BUILD_TYPE), evaluation)
    68 # Generate and install architecture-specific configuration files.
    76 # Generate and install architecture-specific configuration files.
    69 PROTOETCGTKDIR.32=	$(PROTO_DIR)/$(ETCDIR.32)/gtk-2.0
    77 PROTOETCGTKDIR.32=	$(PROTO_DIR)/$(ETCDIR.32)/gtk-2.0
    70 PROTOETCGTKDIR.64=	$(PROTO_DIR)/$(ETCDIR.64)/gtk-2.0
    78 PROTOETCGTKDIR.64=	$(PROTO_DIR)/$(ETCDIR.64)/gtk-2.0
    71 PROTOETCIMMCONF.32=	$(PROTOETCGTKDIR.32)/gtk.immodules
    79 PROTOETCIMMCONF.32=	$(PROTOETCGTKDIR.32)/gtk.immodules
    72 PROTOETCIMMCONF.64=	$(PROTOETCGTKDIR.64)/gtk.immodules
    80 PROTOETCIMMCONF.64=	$(PROTOETCGTKDIR.64)/gtk.immodules
    84 	  $(PROTOUSRBINDIR64)/gtk-query-immodules-2.0 \
    92 	  $(PROTOUSRBINDIR64)/gtk-query-immodules-2.0 \
    85 	  $(PROTOUSRLIBDIR64)/gtk-2.0/*/immodules/*.so | \
    93 	  $(PROTOUSRLIBDIR64)/gtk-2.0/*/immodules/*.so | \
    86 	  $(GSED) -e "s#$(PROTO_DIR)/##" > $(PROTOETCIMMCONF.64)
    94 	  $(GSED) -e "s#$(PROTO_DIR)/##" > $(PROTOETCIMMCONF.64)
    87 
    95 
    88 install: $(PROTOETCIMMCONF.32) $(PROTOETCIMMCONF.64)
    96 install: $(PROTOETCIMMCONF.32) $(PROTOETCIMMCONF.64)
       
    97 endif
    89 
    98 
    90 # Needed for "gmake test" to work successfully.
    99 # Needed for "gmake test" to work successfully.
    91 unexport SHELLOPTS
   100 unexport SHELLOPTS
    92 
   101 
    93 # Strip pids from test output, since they're always different
   102 # Strip pids from test output, since they're always different