Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
seamonkey/firefox
01-02-2012, 04:57 PM
Post: #1
seamonkey/firefox
well, I had a short look around what help is offered if you want to build a strpped-down version of these packages.
I think, LSF has a good (short !) page about it.
It applies for the latest versions, but I hope the basics shouldn't differ to much from the elder version.

I want to collect comments about the desirable compiling options. Actually, I would prefer to skip ALSA as well, but this might be hard to achive......
Find all posts by this user
Quote this message in a reply
01-02-2012, 06:38 PM
Post: #2
RE: seamonkey/firefox
(01-02-2012 04:57 PM)delix Wrote:  I think, LSF has a good (short !) page about it.
Whoa, that's some good information :]

delix Wrote:I want to collect comments about the desirable compiling options. Actually, I would prefer to skip ALSA as well, but this might be hard to achive......

Well as long as it supports the most common graphic fomats, render the pages well and beeing stable I'm quiet happy. If it ain't the latest version, then the 'updater' is rather annoying. The crashreporter isn't any useful so I would forget is. The plugin support can be useful (for adblocker, no script etc). I believe there is a plugin to download videos, which can be handy for watching stuff when the browser doesn't support flash and is memory friendly.

The ALSA thing, I don't know it either... Only the fact that I don't like it as a "standard', optional was a better choice... But who am I? :]

Hardware in use: Compaq PIII- 1GHZ, Geforce 4000, 256mb, 80gb HD
Dutch Delicate Linux information: http://www.delicatelinux.nl.ae
Visit this user's website Find all posts by this user
Quote this message in a reply
01-03-2012, 05:43 PM (This post was last modified: 01-03-2012 08:36 PM by tavvva.)
Post: #3
RE: seamonkey/firefox
Code:
Usage: configure [options] [host]
Options: [defaults in brackets after descriptions]
Configuration:
  --cache-file=FILE       cache test results in FILE
  --help                  print this message
  --no-create             do not create output files
  --quiet, --silent       do not print `checking...' messages
  --version               print the version of autoconf that created configure
Directory and file names:
  --prefix=PREFIX         install architecture-independent files in PREFIX
                          [/usr/local]
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                          [same as prefix]
  --bindir=DIR            user executables in DIR [EPREFIX/bin]
  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
  --datadir=DIR           read-only architecture-independent data in DIR
                          [PREFIX/share]
  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
                          [PREFIX/com]
  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
  --includedir=DIR        C header files in DIR [PREFIX/include]
  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
  --infodir=DIR           info documentation in DIR [PREFIX/info]
  --mandir=DIR            man documentation in DIR [PREFIX/man]
  --srcdir=DIR            find the sources in DIR [configure dir or ..]
  --program-prefix=PREFIX prepend PREFIX to installed program names
  --program-suffix=SUFFIX append SUFFIX to installed program names
  --program-transform-name=PROGRAM
                          run sed PROGRAM on installed program names
Host type:
  --build=BUILD           configure for building on BUILD [BUILD=HOST]
  --host=HOST             configure for HOST [guessed]
  --target=TARGET         configure for TARGET [TARGET=HOST]
Features and packages:
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  --x-includes=DIR        X include files are in DIR
  --x-libraries=DIR       X library files are in DIR
--enable and --with options recognized:
  --disable-compile-environment
                           Disable compiler/library checks.
  --with-l10n-base=DIR     path to l10n repositories
  --with-wince-sdk=WINCE_SDK_DIR
                        The path to the Windows CE SDK
  --disable-windows-mobile-components
         Disable Windows Mobile specific components from CE build
  --with-windows-version=WINVER
                          Minimum Windows version (WINVER) to support
                              400: Windows 95
                              500: Windows 2000
                              501: Windows XP
  --with-windows-version=WINSDK_TARGETVER
                          Highest Windows version to target using this SDK
                              502: Windows Server 2003
                              600: Windows Vista
                              601: Windows 7
  --disable-vista-sdk-requirements
                           Do not build Vista SDK specific code
  --enable-macos-target=VER (default=10.4)
                          Set the minimum MacOS version needed at runtime
  --enable-macos-target=VER (default=10.5)
                          Set the minimum MacOS version needed at runtime
  --with-macos-sdk=dir   Location of platform SDK to use (Mac OS X only)
  --with-x                use the X Window System
  --disable-os2-high-mem  Disable high-memory support on OS/2
  --enable-dtrace         build with dtrace support if available (default=no)
  --with-pthreads         Force use of system pthread library with NSPR
  --with-libxul-sdk=PFX   Use the libXUL SDK at <PFX>
  --with-system-nspr      Use system installed NSPR
  --with-nspr-prefix=PFX  Prefix where NSPR is installed
  --with-nspr-exec-prefix=PFX
                          Exec prefix where NSPR is installed
  --with-system-nss      Use system installed NSS
  --with-nss-prefix=PFX  Prefix where NSS is installed
  --with-nss-exec-prefix=PFX
                          Exec prefix where NSS is installed
  --with-system-jpeg[=PFX]
                          Use system libjpeg [installed at prefix PFX]
  --with-system-zlib[=PFX]
                          Use system libz [installed at prefix PFX]
  --with-system-bz2[=PFX]
                          Use system libbz2 [installed at prefix PFX]
  --with-system-png[=PFX]
                          Use system libpng [installed at prefix PFX]
  --enable-system-hunspell  Use system hunspell (located with pkgconfig)
  --with-arm-kuser         Use kuser helpers (Linux/ARM only -- requires kernel 2.6.13 or later)
  --enable-application=APP
                          Options include:
                            suite (SeaMonkey)
                            mail (Thunderbird)
                            calendar (Sunbird)
  --with-embedding-profile=default|basic|minimal
                       see http://wiki.mozilla.org/Gecko:Small_Device_Support
  --with-xulrunner-stub-name=appname   Create the xulrunner stub with the given name
  --enable-default-toolkit=TK
                          Select default toolkit
                          Platform specific defaults:
                            BeOS - cairo-beos
                            Mac OS X - cairo-cocoa
                            Neutrino/QNX - photon
                            OS/2 - cairo-os2
                            Win32 - cairo-windows
                            WinCE - windows
                            Gtk2 with DirectFB - cairo-gtk2-dfb
                            * - cairo-gtk2
                            * - cairo-qt
  --enable-startup-notification       Enable startup-notification support (default: disabled)
  --with-qtdir=$dir       Specify Qt directory
  --enable-ui-locale=ab-CD
                          Select the user interface locale (default: en-US)
  --enable-calendar      Enable building of the Lightning calendar extension
  --disable-mailnews      Disable building of mail & news components
  --disable-ldap          Disable LDAP support
  --enable-official-branding Enable Official mozilla.org Branding
                          Do not distribute builds with
                          --enable-official-branding unless you have
                          permission to use trademarks per
                          http://www.mozilla.org/foundation/trademarks/ .
  --with-branding=dir    Use branding from the specified directory.
  --with-distribution-id=ID  Set distribution-specific id (default=org.mozilla)
  --disable-gnomevfs      Disable GnomeVFS support
  --disable-gnomeui       Disable libgnomeui support (default: auto, optional at runtime)
  --disable-dbus       Disable dbus support
  --disable-crypto        Disable crypto support (Personal Security Manager)
  --disable-jsd           Disable JavaScript debug library
  --disable-plugins       Disable plugins support
  --disable-oji           Disable Open JVM Integration support
  --disable-view-source     Disable view source support
  --disable-accessibility Disable accessibility support (off by default on OS X)
  --disable-xpfe-components
                          Disable xpfe components
  --disable-xpinstall     Disable xpinstall support
  --disable-jsloader      Disable xpcom js loader support
  --disable-printing  Disable printing support
  --enable-native-uconv   Enable iconv support
  --enable-plaintext-editor-only
                          Allow only plaintext editing
  --disable-composer      Disable building of Composer
  --disable-xpcom-obsolete           Disable XPCOM Obsolete Library
  --disable-xpcom-fastload           Disable XPCOM fastload support
  --disable-ogg           Disable Ogg Codec support
  --disable-wave          Disable Wave decoder support
  --disable-permissions   Disable permissions (popup and cookie blocking)
  --disable-negotiateauth Disable GSS-API negotiation
  --disable-xtf           Disable XTF (pluggable xml tags) support
  --disable-inspector-apis Disable the DOM inspection APIs
  --disable-pref-extensions
                          Disable pref extensions such as autoconfig and
                          system-pref
  --disable-universalchardet
                          Disable universal encoding detection
  --disable-svg            Disable SVG support (NB: unsupported option in comm-central)
  --enable-tree-freetype         Enable Tree FreeType
  --enable-ldap-experimental
                          Enable LDAP experimental features
  --disable-installer     Disable building of installer
  --disable-updater       Disable building of updater
  --enable-update-channel=CHANNEL
                           Select application update channel (default=default)
  --enable-update-packaging
                           Enable tools/update-packaging
  --disable-xpconnect-idispatch
                          Disable building of xpconnect support for IDispatch
                          (win32 only)
  --disable-activex       Disable building of ActiveX control (win32 only)
  --disable-activex-scripting
                          Disable building of ActiveX scripting support (win32)
  --enable-leaky          Build leaky memory tool
  --enable-xpctools       Build JS profiling tool
  --disable-tests         Do not build test libraries & programs
  --disable-parental-controls
                           Do not build parental controls
  --disable-vista-sdk-requirements
                           Do not build Vista SDK specific code
  --enable-xpcom-lea      Use Lea malloc in xpcom
  --enable-places        Enable 'places' bookmark/history implementation
  --disable-feeds        Disable feed handling and processing components
  --enable-storage        Enable mozStorage module and related components
  --enable-system-sqlite  Use system sqlite (located with pkgconfig)
  --enable-help-viewer        Enable help viewer
  --enable-safe-browsing        Enable safe browsing (anti-phishing) implementation
  --enable-url-classifier        Enable url classifier module
  --disable-zipwriter             Disable zipwriter component
  --enable-js-ultrasparc  Use UltraSPARC optimizations in JS
  --enable-debug[=DBG]    Enable building with developer debug info
                          (Using compiler flags DBG)
  --disable-optimize      Disable compiler optimization
  --enable-optimize=[OPT] Specify compiler optimization flags [OPT=-O]
  --enable-debug-modules  Enable/disable debug info for specific modules
  --enable-debugger-info-modules
                          Enable/disable debugger info for specific modules
  --enable-boehm          Enable the Boehm Garbage Collector
  --disable-logging       Disable logging facilities
  --enable-logrefcnt      Enable logging of refcounts (default=debug)
  --enable-trace-malloc   Enable malloc tracing
  --enable-jemalloc       Replace memory allocator with jemalloc
  --enable-wrap-malloc    Wrap malloc calls (gnu linker only)
  --with-wrap-malloc=DIR  Location of malloc wrapper library
  --enable-efence         Link with Electric Fence
  --enable-jprof          Enable jprof profiling tool (needs mozilla/tools/jprof)
  --enable-shark          Enable shark remote profiling (needs CHUD framework)
  --with-static-checking=path/to/gcc_dehydra.so
                            Enable static checking of code using GCC-dehydra
  --enable-strip          Enable stripping of libs & executables
  --enable-install-strip  Enable stripping of libs & executables when packaging
  --enable-elf-dynstr-gc  Enable elf dynstr garbage collector (opt builds only)
  --enable-old-abi-compat-wrappers
                          Support old GCC ABI symbols to ease the pain
                          of the linux compiler change
  --enable-timeline       Enable timeline services
  --enable-reflow-perf    Enable reflow performance tracing
  --enable-perf-metrics   Enable performance metrics
  --enable-codesighs      Enable code size analysis tools
  --enable-eazel-profiler-support
                          Enable Corel/Eazel profiler support
  --enable-profile-modules
                          Enable/disable profiling for specific modules
  --enable-insure         Enable insure++ instrumentation (linux only)
  --with-insure-dirs=DIRS
                          Dirs to instrument with insure
  --with-insure-exclude-dirs=DIRS
                          Dirs to not instrument with insure
  --enable-quantify      Enable Quantify support (Windows only)
  --enable-xterm-updates  Update XTERM titles with current command.
  --enable-chrome-format=jar|flat|both|symlink
                          Select FORMAT of chrome files (default=jar)
  --with-default-mozilla-five-home
                          Set the default value for MOZILLA_FIVE_HOME
  --with-user-appdir=DIR  Set user-specific appdir (default=.mozilla)
  --with-doc-input-dirs=DIRS
                          Header/idl dirs to create docs from
  --with-doc-include-dirs=DIRS  
                          Include dirs to preprocess doc headers
  --with-doc-output-dir=DIR
                          Dir to generate docs into
  --enable-long-long-warning
                          Warn about use of non-ANSI long long type
  --disable-profile-guided-optimization
                           Don't build with PGO even if called via make profiledbuild
  --disable-pedantic      Issue all warnings demanded by strict ANSI C
  --enable-cpp-rtti       Enable C++ RTTI
  --enable-cpp-exceptions Enable C++ exceptions
  --disable-auto-deps     Do not automatically generate dependency info
  --disable-md            Do not use compiler-based dependencies
  --enable-static         Enable building of internal static libs
  --enable-libxul         Enable building of libxul
  --enable-js-static-build  Force js to be a static lib
  --enable-static-mail Enable static mail build support
  --enable-incomplete-external-linkage Changes some comm-central code to be built with external linkage. Developer only option, incomplete broken builds will result - There are already existing bugs for this.
  --with-glib-prefix=PFX  Prefix where GLIB is installed (optional)
  --with-glib-exec-prefix=PFX
                          Exec prefix where GLIB is installed (optional)
  --disable-glibtest      Do not try to compile and run a test GLIB program
--enable-system-cairo Use system cairo (located with pkgconfig)
  --disable-xul           Disable XUL
  --disable-profilelocking           Disable profile locking
  --disable-rdf           Disable RDF
these are (default) compiler options for seamonkey 2.0.14. As I understood tavvvas posting, the static builds are impossible and must be disabled -- right ?
Find all posts by this user
Quote this message in a reply
01-03-2012, 08:36 PM (This post was last modified: 01-03-2012 08:37 PM by tavvva.)
Post: #4
RE: seamonkey/firefox
(01-03-2012 05:43 PM)delix Wrote:  these are (default) compiler options for seamonkey 2.0.14. As I understood tavvvas posting, the static builds are impossible and must be disabled -- right ?

OMG ... flood of switches Big Grin I encapsulated the flood with code tags ...

static libs are not absolutely rejected, but they're unwanted :] unless a good explanation (why they're needed) is provided Smile
Visit this user's website Find all posts by this user
Quote this message in a reply
01-04-2012, 05:55 PM
Post: #5
RE: seamonkey/firefox
(01-03-2012 08:36 PM)tavvva Wrote:  OMG ... flood of switches Big Grin I encapsulated the flood with code tags ...

Hahaha... I was about to say 'It's a pity that it don't has any options' Tongue

Hardware in use: Compaq PIII- 1GHZ, Geforce 4000, 256mb, 80gb HD
Dutch Delicate Linux information: http://www.delicatelinux.nl.ae
Visit this user's website Find all posts by this user
Quote this message in a reply
01-14-2012, 06:10 PM
Post: #6
RE: seamonkey/firefox
started with the compilation.......

got rid of the sound stuff and other things and everything passed the checks.
However, no I got an error line
Code:
jsgc.o: in function  'NewGCArena(JSContext*)' :
jsgc.cpp:(.text+0xb3): undefined reference to 'posix_memalign'
this error occured in the .../modzilla/js/src directory, thus meaning it is a amtter of the JavaScript sources.

I've absolute no idea about Java, so it is unlikely that I'll be able to solve this.

Probably I'll try to switch back to an previous version of Iceape
Find all posts by this user
Quote this message in a reply
01-14-2012, 06:29 PM
Post: #7
RE: seamonkey/firefox
(01-14-2012 06:10 PM)delix Wrote:  I've absolute no idea about Java, so it is unlikely that I'll be able to solve this.

That's not java .... that's javascript :] The source is missing a memalign prototype. There are probably just incompatible headers or something ... please, paste your PKGBUILD here. I'll try to patch it.
Visit this user's website Find all posts by this user
Quote this message in a reply
01-14-2012, 06:46 PM
Post: #8
RE: seamonkey/firefox
Ok. I just analyzed the memalign stuff in uclibc. The patch is really needed and it's gonna have just few lines ...
Visit this user's website Find all posts by this user
Quote this message in a reply
01-14-2012, 08:10 PM
Post: #9
RE: seamonkey/firefox
thanks again, tavvva

most likely this is NOT the only one.
Actually, the PKGBUILD and mozcinfig are not useable as is because I mix the files on my machine with those on the servers. That means the md5sum are not usable.

What I did so far :
I grabbed the iceape-libre-src.tar.xz from ConnOS and the PKGBUILD file from the 2.6-Version of ARCH and mixed it together.
The result was a stripped down version; only the wireless_tools package is still on my list for further removal.

As I wrote, the mixed PKGBUILD passed the check of the compiler. So at least no additional packages is needed. However, most likely more patches....


Attached File(s)
.txt  mozconfig.txt (Size: 1.64 KB / Downloads: 4)
.txt  PKGBUILD.txt (Size: 2.77 KB / Downloads: 7)
Find all posts by this user
Quote this message in a reply
01-14-2012, 08:22 PM (This post was last modified: 01-14-2012 08:29 PM by tavvva.)
Post: #10
RE: seamonkey/firefox
Muhahaa Big Grin Porting libre stuff from ConnOS ... how easy Big Grin

I created the following disgusting define solving the memalign issue ... it needs to be placed in the code as well as headers defining the stuff used inside

Code:
#define posix_memalign(memptr, alignment, size) ((alignment % sizeof(void *)) ? EINVAL : ((*memptr = memalign(alignment, size)) ? 0 : ENOMEM))
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | DeLi(cate) Linux | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication