Changeset 79528
- Timestamp:
- 06/16/11 09:57:46 (4 years ago)
- Location:
- trunk/dports/www/firefox-x11
- Files:
-
- 2 added
- 2 deleted
- 1 edited
-
Portfile (modified) (11 diffs)
-
files/527612.patch (deleted)
-
files/549746.patch (deleted)
-
files/PR-623797.patch (added)
-
files/plugin-instance-nococoa.patch (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/www/firefox-x11/Portfile
r77391 r79528 8 8 set component firefox 9 9 categories www x11 10 version 3.6.1610 version 4.0.1 11 11 platforms darwin 12 12 maintainers jeremyhu openmaintainer 13 description Mozilla.org's popular stand-alone web browser 13 description Mozilla.org's popular stand-alone web browser, Beta and Release Candidates 14 14 15 15 long_description \ … … 20 20 21 21 homepage http://www.mozilla.com/${component}/ 22 master_sites http://mozilla.isc.org/pub/mozilla.org/${component}/releases/${version}/source/ \ 23 http://www.mirrorservice.org/sites/releases.mozilla.org/pub/mozilla.org/${component}/releases/${version}/source/ \ 24 http://mirror.internode.on.net/pub/mozilla/${component}/releases/${version}/source/ \ 25 http://kyoto-mz-dl.sinet.ad.jp/pub/mozilla.org/${component}/releases/${version}/source/ \ 26 http://mirror.yandex.ru/mozilla/${component}/releases/${version}/source/ \ 27 http://mozilla.c3sl.ufpr.br/releases/${component}/releases/${version}/source/ \ 28 http://releases.mozilla.org/pub/mozilla.org/${component}/releases/${version}/source/ 22 23 master_sites http://releases.mozilla.org/pub/mozilla.org/${component}/releases/${version}/source/ 29 24 distname ${component}-${version}.source 25 dist_subdir ${component} 30 26 31 27 use_bzip2 yes 32 dist_subdir ${component} 33 34 checksums md5 232a3c0160cd1cbe3dcaaaf7e4ae51c2 \ 35 sha1 38124597440b7d60aa568adeef23659575841e92 \ 36 rmd160 fdb7b41f25a5b8ba6eb1c5672ecc668c962b0af8 37 38 worksrcdir mozilla-1.9.2 28 29 checksums md5 9abda7d23151e97913c8555a64c13f34 \ 30 sha1 c89bc5106266aa0097a7be15be84555bd2649f03 \ 31 rmd160 63faaae78b56db407a34454986361212382c838e 32 33 worksrcdir mozilla-2.0 39 34 40 35 depends_build \ 41 36 port:findutils \ 42 37 port:pkgconfig \ 43 port:autoconf213 38 port:autoconf213 \ 39 port:yasm 44 40 45 41 depends_lib \ 46 port:xulrunner 42 port:heimdal \ 43 port:gconf \ 44 port:esound \ 45 port:libcanberra \ 46 port:findutils \ 47 port:gtk2 \ 48 port:mesa \ 49 port:xorg-libXt \ 50 port:libnotify 51 52 archcheck.files \ 53 libexec/heimdal/lib/libkrb5.dylib \ 54 lib/libcanberra.dylib \ 55 lib/libgconf-2.dylib \ 56 lib/libgtk-x11-2.0.dylib \ 57 lib/libnotify.dylib \ 58 lib/libXt.dylib 47 59 48 60 use_autoconf yes 49 61 autoconf.cmd autoconf213 50 62 51 if {[variant_isset internal_dependencies]} { 52 set pkg_name ${name}-standalone 53 } else { 54 set pkg_name ${component}-x11 55 } 63 set pkg_name ${name} 56 64 57 65 configure.args \ … … 65 73 --x-includes=${prefix}/include \ 66 74 --x-libraries=${prefix}/lib \ 67 --with-system-nspr \ 68 --with-nspr-prefix=${prefix} \ 69 --with-system-nss \ 70 --with-nss-prefix=${prefix} \ 71 --with-system-libxul \ 72 --with-libxul-sdk=${prefix}/lib/xulrunner \ 73 --with-system-bzip2=${prefix} \ 74 --with-system-jpeg=${prefix} \ 75 --with-system-zlib=${prefix} \ 76 --enable-system-lcms \ 77 --enable-system-cairo \ 78 --enable-system-sqlite \ 75 --enable-libxul \ 76 --disable-system-lcms \ 77 --disable-system-cairo \ 78 --disable-system-sqlite \ 79 79 --with-default-mozilla-five-home=${prefix}/lib/${pkg_name} \ 80 80 --enable-oji \ … … 114 114 # xpctools and necko-wifi broke in 3.6b1 115 115 116 # Force 32-bit, inline-asm 117 supported_archs i386 ppc 116 # gcc-4.0 has issues, so force gcc-4.2 on Leopard 117 if {${configure.compiler} == "gcc-4.0"} { 118 configure.compiler gcc-4.2 119 } 120 118 121 # Yes, this is ugly... but the real fix is in the works 119 122 # https://bugzilla.mozilla.org/show_bug.cgi?id=529878 … … 157 160 } 158 161 159 variant internal_dependencies description {Use internal versions of nspr, nss, and xulrunner} { 160 configure.args-delete \ 161 --with-system-nspr \ 162 --with-nspr-prefix=${prefix} \ 163 --with-system-nss \ 164 --with-nss-prefix=${prefix} \ 165 --with-system-libxul \ 166 --with-libxul-sdk=${prefix}/lib/xulrunner 167 168 configure.args-append \ 169 --enable-libxul 170 171 depends_lib-delete \ 172 port:xulrunner 173 174 depends_lib-append \ 175 port:heimdal \ 176 port:lcms \ 177 port:gconf \ 178 port:esound \ 179 port:libcanberra \ 180 port:findutils \ 181 port:gtk2 \ 182 port:xorg-libXt \ 183 port:libnotify 184 185 archcheck.files-append \ 186 libexec/heimdal/lib/libkrb5.dylib \ 187 lib/libcanberra.dylib \ 188 lib/libgconf-2.dylib \ 189 lib/libgtk-x11-2.0.dylib \ 190 lib/liblcms.dylib \ 191 lib/libnotify.dylib \ 192 lib/libXt.dylib 193 } 194 195 patchfiles patch-dylib_file.diff 527612.patch 549746.patch 162 # plugin-instance-nococoa.patch : https://bugzilla.mozilla.org/show_bug.cgi?id=587370 163 patchfiles patch-dylib_file.diff plugin-instance-nococoa.patch 196 164 197 165 post-patch { … … 199 167 reinplace "s:XP_MACOSX:__APPLE__:g" ${worksrcpath}/xpcom/base/nsStackWalk.cpp 200 168 169 # https://bugzilla.mozilla.org/show_bug.cgi?id=641755 170 reinplace "s:XP_MACOSX:__APPLE__:g" ${worksrcpath}/gfx/ycbcr/update.sh 171 reinplace "s:XP_MACOSX:__APPLE__:g" ${worksrcpath}/gfx/ycbcr/yuv_row_posix.cpp 172 201 173 # https://bugzilla.mozilla.org/show_bug.cgi?id=486034 202 174 # find -xtype -> gfind -xtype 203 175 reinplace "s:find:gfind:g" ${worksrcpath}/toolkit/mozapps/installer/packager.mk 204 176 205 # Don't use the system X11206 reinplace "s:/usr/X11R6:${prefix}:" ${worksrcpath}/modules/plugin/base/src/nsPluginsDirUnix.cpp177 # Don't use the system X11 178 reinplace "s:/usr/X11R6:${prefix}:" ${worksrcpath}/modules/plugin/base/src/nsPluginsDirUnix.cpp 207 179 208 180 # Set the right install_name on the libs … … 211 183 reinplace "s:@executable_path:${prefix}/lib/${pkg_name}:g" ${worksrcpath}/js/src/config/config.mk 212 184 reinplace "s:@executable_path:${prefix}/lib/${pkg_name}:g" ${worksrcpath}/js/src/config/rules.mk 213 reinplace "s:@executable_path:${prefix}/lib/${pkg_name}:g" ${worksrcpath}/config/config.mk214 185 reinplace "s:@executable_path:${prefix}/lib/${pkg_name}:g" ${worksrcpath}/nsprpub/configure.in 215 186 reinplace "s:@executable_path:${prefix}/lib/${pkg_name}:g" ${worksrcpath}/nsprpub/configure … … 218 189 219 190 # Fix the correct library filenames for loading at runtime 220 reinplace "s:libatk-1.0.so.0:${prefix}/lib/libatk-1.0.dylib:" ${worksrcpath}/accessible/src/atk/nsApp RootAccessible.cpp191 reinplace "s:libatk-1.0.so.0:${prefix}/lib/libatk-1.0.dylib:" ${worksrcpath}/accessible/src/atk/nsApplicationAccessibleWrap.cpp 221 192 222 193 reinplace "s:libgssapi_krb5.so.2:${prefix}/libexec/heimdal/lib/libgssapi.2.dylib:" ${worksrcpath}/extensions/auth/nsAuthGSSAPI.cpp … … 228 199 reinplace "s:libgconf-2.so.4:${prefix}/lib/libgconf-2.dylib:" ${worksrcpath}/extensions/pref/system-pref/src/gconf/nsSystemPrefService.cpp 229 200 230 reinplace "s:libcups.so.2:/usr/lib/libcups.2.dylib:" ${worksrcpath}/ gfx/src/psshared/nsCUPSShim.cpp201 reinplace "s:libcups.so.2:/usr/lib/libcups.2.dylib:" ${worksrcpath}/widget/src/gtk2/nsCUPSShim.cpp 231 202 232 203 reinplace "s:libgnomeui-2.so.0:${prefix}/lib/libgnomeui-2.dylib:" ${worksrcpath}/toolkit/xre/nsNativeAppSupportUnix.cpp 233 204 reinplace "s:libgnome-2.so.0:${prefix}/lib/libgnome-2.dylib:" ${worksrcpath}/toolkit/xre/nsNativeAppSupportUnix.cpp 205 206 reinplace "s:libgnomeui-2.so.0:${prefix}/lib/libgnomeui-2.dylib:" ${worksrcpath}/toolkit/crashreporter/client/crashreporter_linux.cpp 207 reinplace "s:libgnome-2.so.0:${prefix}/lib/libgnome-2.dylib:" ${worksrcpath}/toolkit/crashreporter/client/crashreporter_linux.cpp 208 209 reinplace "s:libgconf-2.so.4:${prefix}/lib/libgconf-2.dylib:" ${worksrcpath}/toolkit/crashreporter/client/crashreporter_gtk_common.cpp 234 210 235 211 reinplace "s:libgtk-x11-2.0.so.0:${prefix}/lib/libgtk-x11-2.0.dylib:" ${worksrcpath}/widget/src/gtk2/nsBidiKeyboard.cpp … … 238 214 reinplace "s:libesd.so.0:${prefix}/lib/libesd.0.dylib:" ${worksrcpath}/widget/src/gtk2/nsSound.cpp 239 215 reinplace "s:libcanberra.so.0:${prefix}/lib/libcanberra.0.dylib:" ${worksrcpath}/widget/src/gtk2/nsSound.cpp 240 reinplace "s:libgtk-x11-2.0.dylib:${prefix}/lib/libgtk-x11-2.0.dylib:" ${worksrcpath}/widget/src/gtk2/nsFilePicker.cpp 216 217 reinplace "s:libgtk-x11-2.0.dylib:${prefix}/lib/libgtk-x11-2.0.dylib:" ${worksrcpath}/dom/plugins/PluginModuleChild.cpp 241 218 242 219 reinplace "s:libXss.so.1:${prefix}/lib/libXss.1.0.0.dylib:" ${worksrcpath}/widget/src/qt/nsIdleServiceQt.cpp … … 278 255 279 256 move ${destroot}${prefix}/bin/${component} ${destroot}${prefix}/bin/${pkg_name} 280 if {![variant_isset internal_dependencies]} {281 ln -s ${pkg_name} ${destroot}${prefix}/bin/${component}282 283 # Workaround to get root certs loaded, so https:// works284 ln -s ${prefix}/lib/nss/libnssckbi.dylib ${destroot}${prefix}/lib/${pkg_name}/libnssckbi.dylib285 }286 257 } 287 258
Note: See TracChangeset
for help on using the changeset viewer.

