|
|||||||||
Friday the 3rd of July, 2009 |
|||||||||
firefox-x11 most recent diffversion 3.0.10
Scroll down toward the bottom of the page to get installation instructions for firefox-x11. The raw portfile for firefox-x11 3.0.10 is located here: http://firefox-x11.darwinports.com/dports/www/firefox-x11/Portfile Find related portfiles with the unique DarwinPorts.com search feature. Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/firefox-x11 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 The firefox-x11 Portfile 50852 2009-05-11 07:24:41Z jeremyhu PortSystem 1.0 Name: firefox-x11 Category: www x11 Version: 3.0.10 Revision: 0 Platform: darwin Maintainers: jeremyhu openmaintainer Description: Mozilla.org's popular stand-alone web browser Long Description: Firefox empowers you to browse faster, more safely and more efficiently than with any other browser. universal_variant no Homepage: http://www.mozilla.com/firefox/ Master Sites: http://mozilla.isc.org/pub/mozilla.org/firefox/releases/${version}/source/ http://www.mirrorservice.org/sites/releases.mozilla.org/pub/mozilla.org/firefox/releases/${version}/source/ http://mirror.internode.on.net/pub/mozilla/firefox/releases/${version}/source/ http://kyoto-mz-dl.sinet.ad.jp/pub/mozilla.org/firefox/releases/${version}/source/ http://mirror.yandex.ru/mozilla/firefox/releases/${version}/source/ http://mozilla.c3sl.ufpr.br/releases/firefox/releases/${version}/source/ http://releases.mozilla.org/pub/mozilla.org/firefox/releases/${version}/source/ distname firefox-${version}-source use_bzip2 yes Checksums: md5 1012e835a5c130d18479bccdee240640 sha1 67f74cac153d37aa6aff8d5c62042fb76e197481 rmd160 301ecfe77eef5d0b698b1f1d340b952b1a59ab39 worksrcdir mozilla depends_build port:findutils port:pkgconfig depends_lib port:xulrunner if {[variant_isset internal_dependencies]} { set pkg_name ${name}-standalone } else { set pkg_name firefox-x11 } configure.args --with-xulrunner-stub-name=xulrunner-stub --disable-static --enable-shared --disable-official-branding --with-branding=browser/branding/unofficial --with-distribution-id=org.macports --enable-default-toolkit=cairo-gtk2 --x-includes=${prefix}/include --x-libraries=${prefix}/lib --with-system-nspr --with-nspr-prefix=${prefix} --with-system-nss --with-nss-prefix=${prefix} --with-system-bzip2=${prefix} --with-system-jpeg=${prefix} --with-system-zlib=${prefix} --enable-system-lcms --enable-system-cairo --enable-system-sqlite --with-default-mozilla-five-home=${prefix}/lib/${pkg_name} --enable-oji --enable-plugins --enable-mathml --enable-extensions="default,spellcheck" --enable-permissions --enable-cookie --enable-image-decoders=all --enable-image-encoder=all --enable-canvas --enable-jsd --enable-xpctools --enable-crypto --enable-pango --enable-svg --enable-svg-renderer=cairo --enable-xinerama --with-pthreads --disable-gnomevfs --disable-gnomeui --enable-postscript --enable-safe-browsing --disable-crashreporter --enable-optimize='-O2' --disable-prebinding --enable-strip --enable-install-strip --disable-debug --disable-installer --disable-updater --disable-pedantic --disable-tests --disable-mochitest --with-libxul-sdk=${prefix}/lib/xulrunner Variant: debug description {build with debugging symbols} { configure.args-delete --disable-debug --disable-mochitest --enable-optimize='-O2' --enable-strip --enable-install-strip configure.args-append --enable-debug='-ggdb3' --enable-mochitest --disable-optimize --disable-strip --disable-install-strip } Variant: gnome description {use gnome libraries where appropriate} { depends_lib-append port:gnome-vfs port:libgnomeui port:libgnome port:gnome-icon-theme configure.args-delete --disable-gnomevfs --disable-gnomeui configure.args-append --enable-gnomevfs --enable-gnomeui } Variant: official_branding description {Enables official Firefox branding. You may not redistribute resulting packages built with this variant.} { configure.args-delete --disable-official-branding --with-branding=browser/branding/unofficial configure.args-append --enable-official-branding } Variant: internal_dependencies description {Use internal versions of nspr, nss, and xulrunner} { configure.args-delete --with-system-nspr --with-nspr-prefix=${prefix} --with-system-nss --with-nss-prefix=${prefix} --with-libxul-sdk=${prefix}/lib/xulrunner configure.args-append --enable-libxul depends_lib-delete port:xulrunner depends_lib-append port:heimdal port:lcms port:gconf port:esound port:libcanberra port:findutils port:gtk2 port:xorg-libXt } post-extract { # https://bugzilla.mozilla.org/show_bug.cgi?id=484353 move ${worksrcpath}/modules/libjar/nsWildCard.cpp ${worksrcpath}/modules/libjar/nsWildCard_jar.cpp } # Upstream bugs (http://bugzilla.mozilla.org) # #485827 (xpcom-Makefile) # #485856 (configure) # #485862 (system-nss) # #486036 (make-install) # #485863 (icon-Makefile) # NOTFILED (nsFilePicker) # #486892 (plugins) # #487367 (browser-xulrunner-stub) # #487371 (xulrunner-app-Makefile) # Previous firefox-x11 port (patch-dylib_file.diff patch-pthread.diff) Patch Files: configure.patch xpcom-Makefile.patch system-nss.patch make-install.patch patch-dylib_file.diff patch-pthread.diff icon-Makefile.patch nsFilePicker.patch plugins.patch browser-xulrunner-stub.patch xulrunner-app-Makefile.patch post-patch { # https://bugzilla.mozilla.org/show_bug.cgi?id=485857 reinplace "s:XP_MACOSX:__APPLE__:g" ${worksrcpath}/xpcom/base/nsStackWalk.cpp # https://bugzilla.mozilla.org/show_bug.cgi?id=484353 reinplace "s:nsWildCard.cpp:nsWildCard_jar.cpp:g" ${worksrcpath}/modules/libjar/objs.mk # https://bugzilla.mozilla.org/show_bug.cgi?id=486034 # find -xtype -> gfind -xtype reinplace "s:find:gfind:g" ${worksrcpath}/toolkit/mozapps/installer/packager.mk if {[file exists ${prefix}/lib/pkgconfig/x11.pc]} { reinplace "s:/usr/X11R6:${prefix}:" ${worksrcpath}/modules/plugin/base/src/nsPluginsDirUnix.cpp } # Set the right install_name on the libs reinplace "s: reinplace "s: reinplace "s: reinplace "s: reinplace "s: reinplace "s: # Fix the correct library filenames for loading at runtime reinplace "s:libatk-1.0.so.0:${prefix}/lib/libatk-1.0.dylib:" ${worksrcpath}/accessible/src/atk/nsAppRootAccessible.cpp reinplace "s:libgssapi_krb5.so.2:${prefix}/heimdal/lib/libgssapi.2.dylib:" ${worksrcpath}/extensions/auth/nsAuthGSSAPI.cpp reinplace "s:libgnomeui-2.so.0:${prefix}/lib/libgnomeui-2.dylib:" ${worksrcpath}/modules/libpr0n/decoders/icon/gtk/nsIconChannel.cpp reinplace "s:libgnome-2.so.0:${prefix}/lib/libgnome-2.dylib:" ${worksrcpath}/modules/libpr0n/decoders/icon/gtk/nsIconChannel.cpp reinplace "s:libgnomevfs-2.so.0:${prefix}/lib/libgnomevfs-2.dylib:" ${worksrcpath}/modules/libpr0n/decoders/icon/gtk/nsIconChannel.cpp reinplace "s:libgconf-2.so.4:${prefix}/lib/libgconf-2.dylib:" ${worksrcpath}/extensions/pref/system-pref/src/gconf/nsSystemPrefService.cpp reinplace "s:libcups.so.2:/usr/lib/libcups.2.dylib:" ${worksrcpath}/gfx/src/psshared/nsCUPSShim.cpp reinplace "s:libgnomeui-2.so.0:${prefix}/lib/libgnomeui-2.dylib:" ${worksrcpath}/toolkit/xre/nsNativeAppSupportUnix.cpp reinplace "s:libgnome-2.so.0:${prefix}/lib/libgnome-2.dylib:" ${worksrcpath}/toolkit/xre/nsNativeAppSupportUnix.cpp reinplace "s:libgtk-x11-2.0.so.0:${prefix}/lib/libgtk-x11-2.0.dylib:" ${worksrcpath}/widget/src/gtk2/nsBidiKeyboard.cpp reinplace "s:libXss.so.1:${prefix}/lib/libXss.1.0.0.dylib:" ${worksrcpath}/widget/src/gtk2/nsIdleServiceGTK.cpp reinplace "s:libXinerama.so.1:${prefix}/lib/libXinerama.1.dylib:" ${worksrcpath}/widget/src/gtk2/nsScreenManagerGtk.cpp reinplace "s:libesd.so.0:${prefix}/lib/libesd.0.dylib:" ${worksrcpath}/widget/src/gtk2/nsSound.cpp reinplace "s:libcanberra.so.0:${prefix}/lib/libcanberra.0.dylib:" ${worksrcpath}/widget/src/gtk2/nsSound.cpp reinplace "s:libgtk-x11-2.0.dylib:${prefix}/lib/libgtk-x11-2.0.dylib:" ${worksrcpath}/widget/src/gtk2/nsFilePicker.cpp # Set our system plugins path reinplace "s:/usr/lib/mozilla/plugins:${prefix}/lib/nsplugins:" ${worksrcpath}/xpcom/io/nsAppFileLocationProvider.cpp reinplace "s:/etc/gre\.:${prefix}/etc/gre.:g" ${worksrcpath}/xpcom/build/nsXPCOMPrivate.h ${worksrcpath}/xulrunner/app/nsRegisterGREUnix.cpp ${worksrcpath}/xulrunner/installer/Makefile.in } configure.env MOZCONFIG="${worksrcpath}/browser/config/mozconfig" MOZILLA_FIVE_HOME="${prefix}/lib/${pkg_name}" build.args-append includedir="${prefix}/include/${pkg_name}" idldir="${prefix}/share/idl/${pkg_name}" installdir="${prefix}/lib/${pkg_name}" sdkdir="${prefix}/lib/${pkg_name}" SKIP_COPY_XULRUNNER=1 destroot.args-append includedir="${prefix}/include/${pkg_name}" idldir="${prefix}/share/idl/${pkg_name}" installdir="${prefix}/lib/${pkg_name}" sdkdir="${prefix}/lib/${pkg_name}" SKIP_COPY_XULRUNNER=1 post-destroot { file mkdir ${destroot}${prefix}/share/applications copy ${filespath}/share-applications-firefox.desktop ${destroot}${prefix}/share/applications/firefox.desktop move ${destroot}${prefix}/bin/firefox ${destroot}${prefix}/bin/${pkg_name} if {![variant_isset internal_dependencies]} { ln -s ${pkg_name} ${destroot}${prefix}/bin/firefox # Workaround to get root certs loaded, so https:// works ln -s ${prefix}/lib/nss/libnssckbi.dylib ${destroot}${prefix}/lib/${pkg_name}/libnssckbi.dylib } else { # https://bugzilla.mozilla.org/show_bug.cgi?id=486064 system "cat ${worksrcpath}/dist/include/gfx/gfxtypes.h ${worksrcpath}/dist/include/thebes/gfxTypes.h > ${destroot}${prefix}/include/${pkg_name}/unstable/gfxtypes.h" } } livecheck.check regex livecheck.url http://releases.mozilla.org/pub/mozilla.org/firefox/releases livecheck.regex ">(\\d+(?:\\.\\d+)*).<" If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page. Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:
% cd /opt/local/bin/portslocation/dports/firefox-x11You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to: Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using firefox-x11 with these commands: % man firefox-x11 Where to find more information:
|
![]() |
![]() Digg firefox-x11 on MacOSX Download the Darwinports Installer version 1.7 How to Install Darwinports Other Helpful SitesMacOSForgeDebian Packages MacPorts - SVN Freshports - FreeBSD Fink Package List RPM for MacOSX Port Categories
accounting
amusements aqua archivers audio benchmarks biology blinkenlights cad chat chinese comms compression cross crypto databases devel editors education electronics emacs emulators erlang finance fonts framework fuse games genealogy gis gnome gnustep graphics gtk haskell iphone irc japanese java kde kde4 lang macports math mercurial ml mono multimedia net network news ocaml office palm parallel perl php pim project python reporting rox ruby russian scheme science security shells spelling squeak sysutils tcl tex textproc tk unicode vnc win32 wsn www x11 x11-font x11-wm xfce zope
Current SVN DownloadsDarwin Ports Current :nightly SVN snapshot SSH Key Gen See also: GNU-Darwin Ports for GNU-only software |
|||||||
| |



