| 1 | # $Id$ |
|---|
| 2 | |
|---|
| 3 | # NOTE |
|---|
| 4 | # |
|---|
| 5 | # The test /gsettings/keyfile may fail on first attempt, rerunning the tests |
|---|
| 6 | # should make it pass, though. --raos |
|---|
| 7 | # |
|---|
| 8 | # Set max open files to 1024 |
|---|
| 9 | |
|---|
| 10 | NAME = glib |
|---|
| 11 | VERSION = 2.32.4 |
|---|
| 12 | GARTYPE = v2 |
|---|
| 13 | GARCOMPILER = SOS12U3 |
|---|
| 14 | |
|---|
| 15 | DESCRIPTION = The GLib library of C routines. |
|---|
| 16 | define BLURB |
|---|
| 17 | GLib is a library containing many useful C routines for things such as trees, |
|---|
| 18 | hashes, and lists. GLib was previously distributed with the GTK toolkit, but |
|---|
| 19 | has been split off as of the developers' version 1.1.0. |
|---|
| 20 | endef |
|---|
| 21 | |
|---|
| 22 | MASTER_SITES = $(GNOME_MIRROR) |
|---|
| 23 | |
|---|
| 24 | DISTFILES = $(NAME)-$(VERSION).tar.xz |
|---|
| 25 | DISTFILES += changelog.CSW |
|---|
| 26 | DISTFILES += set-ulimit-for-build-test |
|---|
| 27 | |
|---|
| 28 | # |
|---|
| 29 | # Build patches |
|---|
| 30 | # |
|---|
| 31 | |
|---|
| 32 | PATCHFILES += 0012-Set-_XOPEN_SOURCE-to-600-in-configure-script.patch |
|---|
| 33 | |
|---|
| 34 | # New for 2.32.4 |
|---|
| 35 | PATCHFILES += 0001-Remove-pthread-from-LDFLAGS.patch |
|---|
| 36 | PATCHFILES += 0002-Include-sys-filio.h-to-provide-FIONREAD.patch |
|---|
| 37 | |
|---|
| 38 | # |
|---|
| 39 | # Test patches |
|---|
| 40 | # |
|---|
| 41 | PATCHFILES += 0003-Ad-hoc-macro-for-comparing-double.patch |
|---|
| 42 | # Needs to be reported |
|---|
| 43 | PATCHFILES += 0005-Disable-test-gobject-param-implement.patch |
|---|
| 44 | # gdbus/peer-to-peer and /gdbus/overflow need to be reported |
|---|
| 45 | PATCHFILES += 0019-Disable-some-gdbus-tests.patch |
|---|
| 46 | # Needs to be reported |
|---|
| 47 | PATCHFILES += 0009-Disable-file-async-create-delete-checks.patch |
|---|
| 48 | |
|---|
| 49 | # Needs to be reported |
|---|
| 50 | PATCHFILES += 0017-Fix-disable-testglib-tests.patch |
|---|
| 51 | # Needs to be reported |
|---|
| 52 | PATCHFILES += 0014-Disable-gvariant-varargs.patch |
|---|
| 53 | |
|---|
| 54 | # Those need to be reported |
|---|
| 55 | PATCHFILES_isa-sparcv9 += 0013-Disable-mainloop-child_sources-test.patch |
|---|
| 56 | PATCHFILES_isa-sparcv8plus += 0013-Disable-mainloop-child_sources-test.patch |
|---|
| 57 | |
|---|
| 58 | # This test fails sporadically... |
|---|
| 59 | PATCHFILES += 0020-Disable-desktop-app-info-tests.patch |
|---|
| 60 | |
|---|
| 61 | # Needs to be reported |
|---|
| 62 | PATCHFILES += 0017-Disable-gdbus-connection-loss-test.patch |
|---|
| 63 | |
|---|
| 64 | # Needs to be reported |
|---|
| 65 | PATCHFILES += 0018-Disable-all-gdbus-thread-tests.patch |
|---|
| 66 | |
|---|
| 67 | # Needs to be reported |
|---|
| 68 | PATCHFILES += 0021-Disable-some-gapplication-tests.patch |
|---|
| 69 | |
|---|
| 70 | # Needs to be reported |
|---|
| 71 | PATCHFILES_isa-sparcv9 += 0021-Disable-buffered-input-stream-set-buffer-size-test.patch |
|---|
| 72 | |
|---|
| 73 | # Needs to be reported |
|---|
| 74 | PATCHFILES += 0020-Disable-gsettings-strinfo-test.patch |
|---|
| 75 | |
|---|
| 76 | PATCHFILES += 0010-Fix-locale-for-unicode-collate-test.patch |
|---|
| 77 | PATCHFILES += 0015-Fix-locale-for-collate-test.patch |
|---|
| 78 | |
|---|
| 79 | # Those tests will fail if no IPv6 interfaces are up |
|---|
| 80 | PATCHFILES += 0013-Disable-IPv6-tests.patch |
|---|
| 81 | |
|---|
| 82 | # |
|---|
| 83 | # Patches to fit glib into Solaris environment |
|---|
| 84 | # |
|---|
| 85 | PATCHFILES += 0006-Adjust-hardcoded-paths-to-match-Solaris-CSW.patch |
|---|
| 86 | PATCHFILES += 0003-Make-glib-work-with-zoneinfo-version-1.patch |
|---|
| 87 | PATCHFILES += 0022-Change-shell-to-bash-in-test-shell-scripts.patch |
|---|
| 88 | PATCHFILES += 0021-Disable-libelf-doesn-t-work-with-large-file-support.patch |
|---|
| 89 | |
|---|
| 90 | # What to say? Disable yet another sporadically failing up test |
|---|
| 91 | PATCHFILES_isa-amd64 += 0023-disable-mainloop-invoke-test.patch |
|---|
| 92 | |
|---|
| 93 | # Solaris 11 specific package for FEN support |
|---|
| 94 | PACKAGING_PLATFORMS = solaris10-sparc solaris10-i386 |
|---|
| 95 | PACKAGING_PLATFORMS += solaris11-sparc solaris11-i386 |
|---|
| 96 | |
|---|
| 97 | |
|---|
| 98 | PACKAGES += CSWglib2 |
|---|
| 99 | SPKG_DESC_CSWglib2 = Low level core compatibility library for GTK+ and GNOME |
|---|
| 100 | # PKGFILES is catchall |
|---|
| 101 | RUNTIME_DEP_PKGS_CSWglib2 += CSWgio-fam-backend |
|---|
| 102 | RUNTIME_DEP_PKGS_CSWglib2 += CSWlibgio2-0-0 |
|---|
| 103 | RUNTIME_DEP_PKGS_CSWglib2 += CSWlibglib2-0-0 |
|---|
| 104 | RUNTIME_DEP_PKGS_CSWglib2 += CSWlibgmodule2-0-0 |
|---|
| 105 | RUNTIME_DEP_PKGS_CSWglib2 += CSWlibgobject2-0-0 |
|---|
| 106 | RUNTIME_DEP_PKGS_CSWglib2 += CSWlibgthread2-0-0 |
|---|
| 107 | CHECKPKG_OVERRIDES_CSWglib2 += surplus-dependency|CSWgio-fam-backend |
|---|
| 108 | CHECKPKG_OVERRIDES_CSWglib2 += surplus-dependency|CSWlibgio2-0-0 |
|---|
| 109 | CHECKPKG_OVERRIDES_CSWglib2 += surplus-dependency|CSWlibgthread2-0-0 |
|---|
| 110 | |
|---|
| 111 | PACKAGES += CSWgio-fam-backend |
|---|
| 112 | SPKG_DESC_CSWgio-fam-backend = $(DESCRIPTION), GIO FAM backend |
|---|
| 113 | PKGFILES_CSWgio-fam-backend = .*/libgiofam.so |
|---|
| 114 | RUNTIME_DEP_PKGS_CSWgio-fam-backend = CSWlibfam0 |
|---|
| 115 | RUNTIME_DEP_PKGS_CSWgio-fam-backend += CSWlibgio2-0-0 |
|---|
| 116 | RUNTIME_DEP_PKGS_CSWgio-fam-backend += CSWlibglib2-0-0 |
|---|
| 117 | RUNTIME_DEP_PKGS_CSWgio-fam-backend += CSWlibgobject2-0-0 |
|---|
| 118 | |
|---|
| 119 | PACKAGES += CSWlibgio2-0-0 |
|---|
| 120 | SPKG_DESC_CSWlibgio2-0-0 += $(DESCRIPTION), libgio-2.0.so.0 |
|---|
| 121 | PKGFILES_CSWlibgio2-0-0 += $(call pkgfiles_lib,libgio-2.0.so.0) |
|---|
| 122 | RUNTIME_DEP_PKGS_CSWlibgio2-0-0 += CSWlibgmodule2-0-0 |
|---|
| 123 | RUNTIME_DEP_PKGS_CSWlibgio2-0-0 += CSWlibz1 |
|---|
| 124 | RUNTIME_DEP_PKGS_CSWlibgio2-0-0 += CSWlibintl8 |
|---|
| 125 | RUNTIME_DEP_PKGS_CSWlibgio2-0-0 += CSWlibgobject2-0-0 |
|---|
| 126 | RUNTIME_DEP_PKGS_CSWlibgio2-0-0 += CSWlibglib2-0-0 |
|---|
| 127 | RUNTIME_DEP_PKGS_CSWlibgio2-0-0 += CSWsharedmimeinfo |
|---|
| 128 | # Those are ok: hardcoded search paths which have added /opt/csw |
|---|
| 129 | CHECKPKG_OVERRIDES_CSWlibgio2-0-0 += file-with-bad-content|/usr/local|root/opt/csw/lib/libgio-2.0.so.0.3200.4 |
|---|
| 130 | CHECKPKG_OVERRIDES_CSWlibgio2-0-0 += file-with-bad-content|/usr/share|root/opt/csw/lib/libgio-2.0.so.0.3200.4 |
|---|
| 131 | CHECKPKG_OVERRIDES_CSWlibgio2-0-0_sparc += file-with-bad-content|/usr/local|root/opt/csw/lib/sparcv9/libgio-2.0.so.0.3200.4 |
|---|
| 132 | CHECKPKG_OVERRIDES_CSWlibgio2-0-0_sparc += file-with-bad-content|/usr/share|root/opt/csw/lib/sparcv9/libgio-2.0.so.0.3200.4 |
|---|
| 133 | CHECKPKG_OVERRIDES_CSWlibgio2-0-0_i386 += file-with-bad-content|/usr/local|root/opt/csw/lib/amd64/libgio-2.0.so.0.3200.4 |
|---|
| 134 | CHECKPKG_OVERRIDES_CSWlibgio2-0-0_i386 += file-with-bad-content|/usr/share|root/opt/csw/lib/amd64/libgio-2.0.so.0.3200.4 |
|---|
| 135 | CHECKPKG_OVERRIDES_CSWlibgio2-0-0 += $(CHECKPKG_OVERRIDES_CSWlibgio2-0-0_$(GARCH)) |
|---|
| 136 | |
|---|
| 137 | |
|---|
| 138 | PACKAGES += CSWlibglib2-0-0 |
|---|
| 139 | PKGFILES_CSWlibglib2-0-0 += $(call pkgfiles_lib,libglib-2.0.so.0) |
|---|
| 140 | SPKG_DESC_CSWlibglib2-0-0 += $(DESCRIPTION), libglib-2.0.so.0 |
|---|
| 141 | RUNTIME_DEP_PKGS_CSWlibglib2-0-0 += CSWlibintl8 |
|---|
| 142 | RUNTIME_DEP_PKGS_CSWlibglib2-0-0 += CSWlibiconv2 |
|---|
| 143 | RUNTIME_DEP_PKGS_CSWlibglib2-0-0 += CSWlibpcre1 |
|---|
| 144 | |
|---|
| 145 | |
|---|
| 146 | PACKAGES += CSWlibgmodule2-0-0 |
|---|
| 147 | PKGFILES_CSWlibgmodule2-0-0 += $(call pkgfiles_lib,libgmodule-2.0.so.0) |
|---|
| 148 | SPKG_DESC_CSWlibgmodule2-0-0 += $(DESCRIPTION), libgmodule-2.0.so.0 |
|---|
| 149 | RUNTIME_DEP_PKGS_CSWlibgmodule2-0-0 += CSWlibglib2-0-0 |
|---|
| 150 | # Those are ok: hardcoded search paths which have added /opt/csw |
|---|
| 151 | CHECKPKG_OVERRIDES_CSWlibglib2-0-0 += file-with-bad-content|/usr/local|root/opt/csw/lib/libglib-2.0.so.0.3200.4 |
|---|
| 152 | CHECKPKG_OVERRIDES_CSWlibglib2-0-0 += file-with-bad-content|/usr/share|root/opt/csw/lib/libglib-2.0.so.0.3200.4 |
|---|
| 153 | CHECKPKG_OVERRIDES_CSWlibglib2-0-0_sparc += file-with-bad-content|/usr/local|root/opt/csw/lib/sparcv9/libglib-2.0.so.0.3200.4 |
|---|
| 154 | CHECKPKG_OVERRIDES_CSWlibglib2-0-0_sparc += file-with-bad-content|/usr/share|root/opt/csw/lib/sparcv9/libglib-2.0.so.0.3200.4 |
|---|
| 155 | CHECKPKG_OVERRIDES_CSWlibglib2-0-0_i386 += file-with-bad-content|/usr/local|root/opt/csw/lib/amd64/libglib-2.0.so.0.3200.4 |
|---|
| 156 | CHECKPKG_OVERRIDES_CSWlibglib2-0-0_i386 += file-with-bad-content|/usr/share|root/opt/csw/lib/amd64/libglib-2.0.so.0.3200.4 |
|---|
| 157 | CHECKPKG_OVERRIDES_CSWlibglib2-0-0 += $(CHECKPKG_OVERRIDES_CSWlibglib2-0-0_$(GARCH)) |
|---|
| 158 | |
|---|
| 159 | PACKAGES += CSWlibgobject2-0-0 |
|---|
| 160 | PKGFILES_CSWlibgobject2-0-0 += $(call pkgfiles_lib,libgobject-2.0.so.0) |
|---|
| 161 | SPKG_DESC_CSWlibgobject2-0-0 += $(DESCRIPTION), libgobject-2.0.so.0 |
|---|
| 162 | RUNTIME_DEP_PKGS_CSWlibgobject2-0-0 += CSWlibglib2-0-0 |
|---|
| 163 | RUNTIME_DEP_PKGS_CSWlibgobject2-0-0 += CSWlibffi4 |
|---|
| 164 | |
|---|
| 165 | PACKAGES += CSWlibgthread2-0-0 |
|---|
| 166 | SPKG_DESC_CSWlibgthread2-0-0 += $(DESCRIPTION), libgthread-2.0.so.0 |
|---|
| 167 | PKGFILES_CSWlibgthread2-0-0 += $(call pkgfiles_lib,libgthread-2.0.so.0) |
|---|
| 168 | RUNTIME_DEP_PKGS_CSWlibgthread2-0-0 += CSWlibglib2-0-0 |
|---|
| 169 | |
|---|
| 170 | PACKAGES += CSWlibglib2-dev |
|---|
| 171 | SPKG_DESC_CSWlibglib2-dev = Development files for libglib-2.0.so.0 and assorted libglib, libgmodule, libgobject and libgthread |
|---|
| 172 | RUNTIME_DEP_PKGS_CSWlibglib2-dev += CSWlibintl8 |
|---|
| 173 | RUNTIME_DEP_PKGS_CSWlibglib2-dev += CSWlibgthread2-0-0 |
|---|
| 174 | RUNTIME_DEP_PKGS_CSWlibglib2-dev += CSWlibgobject2-0-0 |
|---|
| 175 | RUNTIME_DEP_PKGS_CSWlibglib2-dev += CSWlibglib2-0-0 |
|---|
| 176 | RUNTIME_DEP_PKGS_CSWlibglib2-dev += CSWlibgmodule2-0-0 |
|---|
| 177 | RUNTIME_DEP_PKGS_CSWlibglib2-dev += CSWlibgio2-0-0 |
|---|
| 178 | RUNTIME_DEP_PKGS_CSWlibglib2-dev += CSWpython |
|---|
| 179 | RUNTIME_DEP_PKGS_CSWlibglib2-dev += CSWgio-fam-backend |
|---|
| 180 | CHECKPKG_OVERRIDES_CSWlibglib2-dev += surplus-dependency|CSWgio-fam-backend |
|---|
| 181 | PKGFILES_CSWlibglib2-dev += $(PKGFILES_DEVEL) |
|---|
| 182 | PKGFILES_CSWlibglib2-dev += .*/glib-2.0/include/.* |
|---|
| 183 | PKGFILES_CSWlibglib2-dev += .*/gdbus-2.0.* |
|---|
| 184 | PKGFILES_CSWlibglib2-dev += .*/bash-completion.* |
|---|
| 185 | PKGFILES_CSWlibglib2-dev += .*/bin.*/gdbus.* |
|---|
| 186 | PKGFILES_CSWlibglib2-dev += .*/bin.*/glib.* |
|---|
| 187 | PKGFILES_CSWlibglib2-dev += .*/bin.*/gobject-query |
|---|
| 188 | PKGFILES_CSWlibglib2-dev += .*/bin.*/gresource |
|---|
| 189 | PKGFILES_CSWlibglib2-dev += .*/bin.*/gsettings |
|---|
| 190 | PKGFILES_CSWlibglib2-dev += .*/bin.*/gtester.* |
|---|
| 191 | PKGFILES_CSWlibglib2-dev += .*/man1/gdbus.* |
|---|
| 192 | PKGFILES_CSWlibglib2-dev += .*/man1/glib.* |
|---|
| 193 | PKGFILES_CSWlibglib2-dev += .*/man1/gobject-query.* |
|---|
| 194 | PKGFILES_CSWlibglib2-dev += .*/man1/gresource.* |
|---|
| 195 | PKGFILES_CSWlibglib2-dev += .*/man1/gsettings.* |
|---|
| 196 | PKGFILES_CSWlibglib2-dev += .*/man1/gtester.* |
|---|
| 197 | OBSOLETED_BY_CSWlibglib2-dev = CSWglib2devel |
|---|
| 198 | CATALOGNAME_CSWglib2devel = glib2_devel_stub |
|---|
| 199 | CHECKPKG_OVERRIDES_CSWlibglib2-dev += discouraged-path-in-pkgmap|/opt/csw/lib/gdbus-2.0/codegen/__init__.pyc |
|---|
| 200 | CHECKPKG_OVERRIDES_CSWlibglib2-dev += discouraged-path-in-pkgmap|/opt/csw/lib/gdbus-2.0/codegen/__init__.pyo |
|---|
| 201 | CHECKPKG_OVERRIDES_CSWlibglib2-dev += discouraged-path-in-pkgmap|/opt/csw/lib/gdbus-2.0/codegen/codegen.pyc |
|---|
| 202 | CHECKPKG_OVERRIDES_CSWlibglib2-dev += discouraged-path-in-pkgmap|/opt/csw/lib/gdbus-2.0/codegen/codegen.pyo |
|---|
| 203 | CHECKPKG_OVERRIDES_CSWlibglib2-dev += discouraged-path-in-pkgmap|/opt/csw/lib/gdbus-2.0/codegen/codegen_docbook.pyc |
|---|
| 204 | CHECKPKG_OVERRIDES_CSWlibglib2-dev += discouraged-path-in-pkgmap|/opt/csw/lib/gdbus-2.0/codegen/codegen_docbook.pyo |
|---|
| 205 | CHECKPKG_OVERRIDES_CSWlibglib2-dev += discouraged-path-in-pkgmap|/opt/csw/lib/gdbus-2.0/codegen/codegen_main.pyc |
|---|
| 206 | CHECKPKG_OVERRIDES_CSWlibglib2-dev += discouraged-path-in-pkgmap|/opt/csw/lib/gdbus-2.0/codegen/codegen_main.pyo |
|---|
| 207 | CHECKPKG_OVERRIDES_CSWlibglib2-dev += discouraged-path-in-pkgmap|/opt/csw/lib/gdbus-2.0/codegen/config.pyc |
|---|
| 208 | CHECKPKG_OVERRIDES_CSWlibglib2-dev += discouraged-path-in-pkgmap|/opt/csw/lib/gdbus-2.0/codegen/config.pyo |
|---|
| 209 | CHECKPKG_OVERRIDES_CSWlibglib2-dev += discouraged-path-in-pkgmap|/opt/csw/lib/gdbus-2.0/codegen/dbustypes.pyc |
|---|
| 210 | CHECKPKG_OVERRIDES_CSWlibglib2-dev += discouraged-path-in-pkgmap|/opt/csw/lib/gdbus-2.0/codegen/dbustypes.pyo |
|---|
| 211 | CHECKPKG_OVERRIDES_CSWlibglib2-dev += discouraged-path-in-pkgmap|/opt/csw/lib/gdbus-2.0/codegen/parser.pyc |
|---|
| 212 | CHECKPKG_OVERRIDES_CSWlibglib2-dev += discouraged-path-in-pkgmap|/opt/csw/lib/gdbus-2.0/codegen/parser.pyo |
|---|
| 213 | CHECKPKG_OVERRIDES_CSWlibglib2-dev += discouraged-path-in-pkgmap|/opt/csw/lib/gdbus-2.0/codegen/utils.pyc |
|---|
| 214 | CHECKPKG_OVERRIDES_CSWlibglib2-dev += discouraged-path-in-pkgmap|/opt/csw/lib/gdbus-2.0/codegen/utils.pyo |
|---|
| 215 | CHECKPKG_OVERRIDES_CSWlibglib2-dev_sparc += discouraged-path-in-pkgmap|/opt/csw/lib/sparcv9/gdbus-2.0/codegen/__init__.pyc |
|---|
| 216 | CHECKPKG_OVERRIDES_CSWlibglib2-dev_sparc += discouraged-path-in-pkgmap|/opt/csw/lib/sparcv9/gdbus-2.0/codegen/__init__.pyo |
|---|
| 217 | CHECKPKG_OVERRIDES_CSWlibglib2-dev_sparc += discouraged-path-in-pkgmap|/opt/csw/lib/sparcv9/gdbus-2.0/codegen/codegen.pyc |
|---|
| 218 | CHECKPKG_OVERRIDES_CSWlibglib2-dev_sparc += discouraged-path-in-pkgmap|/opt/csw/lib/sparcv9/gdbus-2.0/codegen/codegen.pyo |
|---|
| 219 | CHECKPKG_OVERRIDES_CSWlibglib2-dev_sparc += discouraged-path-in-pkgmap|/opt/csw/lib/sparcv9/gdbus-2.0/codegen/codegen_docbook.pyc |
|---|
| 220 | CHECKPKG_OVERRIDES_CSWlibglib2-dev_sparc += discouraged-path-in-pkgmap|/opt/csw/lib/sparcv9/gdbus-2.0/codegen/codegen_docbook.pyo |
|---|
| 221 | CHECKPKG_OVERRIDES_CSWlibglib2-dev_sparc += discouraged-path-in-pkgmap|/opt/csw/lib/sparcv9/gdbus-2.0/codegen/codegen_main.pyc |
|---|
| 222 | CHECKPKG_OVERRIDES_CSWlibglib2-dev_sparc += discouraged-path-in-pkgmap|/opt/csw/lib/sparcv9/gdbus-2.0/codegen/codegen_main.pyo |
|---|
| 223 | CHECKPKG_OVERRIDES_CSWlibglib2-dev_sparc += discouraged-path-in-pkgmap|/opt/csw/lib/sparcv9/gdbus-2.0/codegen/config.pyc |
|---|
| 224 | CHECKPKG_OVERRIDES_CSWlibglib2-dev_sparc += discouraged-path-in-pkgmap|/opt/csw/lib/sparcv9/gdbus-2.0/codegen/config.pyo |
|---|
| 225 | CHECKPKG_OVERRIDES_CSWlibglib2-dev_sparc += discouraged-path-in-pkgmap|/opt/csw/lib/sparcv9/gdbus-2.0/codegen/dbustypes.pyc |
|---|
| 226 | CHECKPKG_OVERRIDES_CSWlibglib2-dev_sparc += discouraged-path-in-pkgmap|/opt/csw/lib/sparcv9/gdbus-2.0/codegen/dbustypes.pyo |
|---|
| 227 | CHECKPKG_OVERRIDES_CSWlibglib2-dev_sparc += discouraged-path-in-pkgmap|/opt/csw/lib/sparcv9/gdbus-2.0/codegen/parser.pyc |
|---|
| 228 | CHECKPKG_OVERRIDES_CSWlibglib2-dev_sparc += discouraged-path-in-pkgmap|/opt/csw/lib/sparcv9/gdbus-2.0/codegen/parser.pyo |
|---|
| 229 | CHECKPKG_OVERRIDES_CSWlibglib2-dev_sparc += discouraged-path-in-pkgmap|/opt/csw/lib/sparcv9/gdbus-2.0/codegen/utils.pyc |
|---|
| 230 | CHECKPKG_OVERRIDES_CSWlibglib2-dev_sparc += discouraged-path-in-pkgmap|/opt/csw/lib/sparcv9/gdbus-2.0/codegen/utils.pyo |
|---|
| 231 | CHECKPKG_OVERRIDES_CSWlibglib2-dev_i386 += discouraged-path-in-pkgmap|/opt/csw/lib/amd64/gdbus-2.0/codegen/__init__.pyc |
|---|
| 232 | CHECKPKG_OVERRIDES_CSWlibglib2-dev_i386 += discouraged-path-in-pkgmap|/opt/csw/lib/amd64/gdbus-2.0/codegen/__init__.pyo |
|---|
| 233 | CHECKPKG_OVERRIDES_CSWlibglib2-dev_i386 += discouraged-path-in-pkgmap|/opt/csw/lib/amd64/gdbus-2.0/codegen/codegen.pyc |
|---|
| 234 | CHECKPKG_OVERRIDES_CSWlibglib2-dev_i386 += discouraged-path-in-pkgmap|/opt/csw/lib/amd64/gdbus-2.0/codegen/codegen.pyo |
|---|
| 235 | CHECKPKG_OVERRIDES_CSWlibglib2-dev_i386 += discouraged-path-in-pkgmap|/opt/csw/lib/amd64/gdbus-2.0/codegen/codegen_docbook.pyc |
|---|
| 236 | CHECKPKG_OVERRIDES_CSWlibglib2-dev_i386 += discouraged-path-in-pkgmap|/opt/csw/lib/amd64/gdbus-2.0/codegen/codegen_docbook.pyo |
|---|
| 237 | CHECKPKG_OVERRIDES_CSWlibglib2-dev_i386 += discouraged-path-in-pkgmap|/opt/csw/lib/amd64/gdbus-2.0/codegen/codegen_main.pyc |
|---|
| 238 | CHECKPKG_OVERRIDES_CSWlibglib2-dev_i386 += discouraged-path-in-pkgmap|/opt/csw/lib/amd64/gdbus-2.0/codegen/codegen_main.pyo |
|---|
| 239 | CHECKPKG_OVERRIDES_CSWlibglib2-dev_i386 += discouraged-path-in-pkgmap|/opt/csw/lib/amd64/gdbus-2.0/codegen/config.pyc |
|---|
| 240 | CHECKPKG_OVERRIDES_CSWlibglib2-dev_i386 += discouraged-path-in-pkgmap|/opt/csw/lib/amd64/gdbus-2.0/codegen/config.pyo |
|---|
| 241 | CHECKPKG_OVERRIDES_CSWlibglib2-dev_i386 += discouraged-path-in-pkgmap|/opt/csw/lib/amd64/gdbus-2.0/codegen/dbustypes.pyc |
|---|
| 242 | CHECKPKG_OVERRIDES_CSWlibglib2-dev_i386 += discouraged-path-in-pkgmap|/opt/csw/lib/amd64/gdbus-2.0/codegen/dbustypes.pyo |
|---|
| 243 | CHECKPKG_OVERRIDES_CSWlibglib2-dev_i386 += discouraged-path-in-pkgmap|/opt/csw/lib/amd64/gdbus-2.0/codegen/parser.pyc |
|---|
| 244 | CHECKPKG_OVERRIDES_CSWlibglib2-dev_i386 += discouraged-path-in-pkgmap|/opt/csw/lib/amd64/gdbus-2.0/codegen/parser.pyo |
|---|
| 245 | CHECKPKG_OVERRIDES_CSWlibglib2-dev_i386 += discouraged-path-in-pkgmap|/opt/csw/lib/amd64/gdbus-2.0/codegen/utils.pyc |
|---|
| 246 | CHECKPKG_OVERRIDES_CSWlibglib2-dev_i386 += discouraged-path-in-pkgmap|/opt/csw/lib/amd64/gdbus-2.0/codegen/utils.pyo |
|---|
| 247 | CHECKPKG_OVERRIDES_CSWlibglib2-dev += $(CHECKPKG_OVERRIDES_CSWlibglib2-dev_$(GARCH)) |
|---|
| 248 | |
|---|
| 249 | PACKAGES += CSWglib2-doc |
|---|
| 250 | ARCHALL_CSWglib2-doc = 1 |
|---|
| 251 | SPKG_DESC_CSWglib2-doc = Gtk-doc Documentation for glib2 |
|---|
| 252 | PKGFILES_CSWglib2-doc = .*/gtk-doc.* |
|---|
| 253 | |
|---|
| 254 | |
|---|
| 255 | BUILD_DEP_PKGS = CSWggettext-dev CSWlibiconv-dev CSWlibffi-dev |
|---|
| 256 | BUILD_DEP_PKGS += CSWlibdbus-dev CSWdbus CSWlibgamin-dev CSWgamin |
|---|
| 257 | BUILD_DEP_PKGS += CSWpy-gobject CSWpkgconfig CSWlibpcre-dev CSWdskutl |
|---|
| 258 | # To make the tests working |
|---|
| 259 | BUILD_DEP_PKGS += CSWpython CSWdbuspython CSWsharedmimeinfo |
|---|
| 260 | # This is used to adjust paths in documentation |
|---|
| 261 | BUILD_DEP_PKGS += CSWgsed |
|---|
| 262 | |
|---|
| 263 | # -xO4 is necessary on sparc so that function inlining happens as expected |
|---|
| 264 | EXTRA_CFLAGS_sparc = -xO4 -features=extensions -xc99 -D_XPG6 # -D__EXTENSIONS__ -D_XOPEN_SOURCE=600 |
|---|
| 265 | EXTRA_CFLAGS_i386 = -features=extensions -xc99 -D_XPG6 # -D__EXTENSIONS__ -D_XOPEN_SOURCE=600 |
|---|
| 266 | EXTRA_CFLAGS += $(EXTRA_CFLAGS_$(GARCH)) |
|---|
| 267 | |
|---|
| 268 | EXTRA_LDFLAGS += -lsocket |
|---|
| 269 | |
|---|
| 270 | BUILD64 = 1 |
|---|
| 271 | |
|---|
| 272 | CONFIGURE_ARGS = $(DIRPATHS) |
|---|
| 273 | CONFIGURE_ARGS += --with-libiconv=gnu |
|---|
| 274 | CONFIGURE_ARGS += --with-pcre=system |
|---|
| 275 | CONFIGURE_ARGS += --enable-included-printf |
|---|
| 276 | CONFIGURE_ARGS += --with-threads=posix |
|---|
| 277 | CONFIGURE_ARGS += --disable-silent-rules |
|---|
| 278 | CONFIGURE_ARGS += --disable-Bsymbolic |
|---|
| 279 | CONFIGURE_ARGS += $(CONFIGURE_ARGS-$(MEMORYMODEL)) |
|---|
| 280 | |
|---|
| 281 | |
|---|
| 282 | # DTrace compilation fails, disable for now |
|---|
| 283 | CONFIGURE_ARGS += --disable-dtrace |
|---|
| 284 | |
|---|
| 285 | # For tests to succeed, set the ulimit higher than the default of 256. |
|---|
| 286 | EXTRA_TEST_ENV += BASH_ENV=$(abspath $(WORKDIR)/set-ulimit-for-build-test) |
|---|
| 287 | |
|---|
| 288 | # Those are to make the checks work |
|---|
| 289 | EXTRA_COMMON_EXPORTS = TZ |
|---|
| 290 | EXTRA_COMMON_EXPORTS += DISPLAY |
|---|
| 291 | EXTRA_COMMON_EXPORTS += TERM |
|---|
| 292 | EXTRA_COMMON_EXPORTS += HOME |
|---|
| 293 | |
|---|
| 294 | PYCOMPILE = 1 |
|---|
| 295 | |
|---|
| 296 | #provided by iconv |
|---|
| 297 | MERGE_EXCLUDE_FILES = .*/charset.alias |
|---|
| 298 | # Do we support gdb? |
|---|
| 299 | MERGE_EXCLUDE_FILES += .*/gdb .*/gdb/.* |
|---|
| 300 | |
|---|
| 301 | # libgio uses the mime info for determining the type of files |
|---|
| 302 | CHECKPKG_OVERRIDES_CSWlibgio2-0-0 += surplus-dependency|CSWsharedmimeinfo |
|---|
| 303 | |
|---|
| 304 | include gar/category.mk |
|---|
| 305 | |
|---|
| 306 | # We need /opt/csw/gnu/gettext, /usr/bin/gettext bails out |
|---|
| 307 | # IT seems that the correct Python is not picked up during make check on x86 |
|---|
| 308 | # without putting /opt/csw/bin first in PATH |
|---|
| 309 | PATH := /opt/csw/gnu:/opt/csw/bin:$(PATH) |
|---|
| 310 | |
|---|
| 311 | post-merge: |
|---|
| 312 | @echo "=== Cleanup stray bash_completion.d ===" |
|---|
| 313 | if [ -d $(PKGROOT)$(prefix)/bash_completion.d ] ; \ |
|---|
| 314 | then \ |
|---|
| 315 | ginstall -d $(PKGROOT)$(sysconfdir) ;\ |
|---|
| 316 | mv $(PKGROOT)$(prefix)/bash_completion.d $(PKGROOT)$(sysconfdir)/ ;\ |
|---|
| 317 | fi |
|---|
| 318 | |
|---|
| 319 | # This is in place to fix paths that make checkpkg complain |
|---|
| 320 | @echo "=== Fixing paths in documentation ===" |
|---|
| 321 | for d in gio glib gobject ; do \ |
|---|
| 322 | DOCBASEDIR="$(PKGROOT)/$(datadir)/gtk-doc/html/$$d/" ; \ |
|---|
| 323 | if [ -d "$$DOCBASEDIR" ] ; then \ |
|---|
| 324 | for f in $$DOCBASEDIR/*.html ; do \ |
|---|
| 325 | echo "Adjusting path in $$f" ; \ |
|---|
| 326 | /opt/csw/bin/gsed -e "s|/usr/share|$(datadir)|g" -e "s|/usr/local|$(prefix)|g" $$f > $$f.tmp ; \ |
|---|
| 327 | mv $$f.tmp $$f ; \ |
|---|
| 328 | done ; \ |
|---|
| 329 | fi ; \ |
|---|
| 330 | done |
|---|
| 331 | for f in $(PKGROOT)$(mandir)/man[123456789]/* ; do \ |
|---|
| 332 | echo "Adjusting path in $$f" ; \ |
|---|
| 333 | /opt/csw/bin/gsed -e "s|/usr/share|$(datadir)|g" -e "s|/usr/local|$(prefix)|g" $$f > $$f.tmp ; \ |
|---|
| 334 | mv $$f.tmp $$f ; \ |
|---|
| 335 | done ; \ |
|---|