DeLi(cate) Forum
seamonkey/firefox - Printable Version

+- DeLi(cate) Forum (
+-- Forum: DeLi(cate) Linux [english only] (/forumdisplay.php?fid=3)
+--- Forum: Requests for new packages (/forumdisplay.php?fid=14)
+--- Thread: seamonkey/firefox (/showthread.php?tid=147)

Pages: 1 2 3

seamonkey/firefox - delix - 01-02-2012 04:57 PM

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......

RE: seamonkey/firefox - nl2stk - 01-02-2012 06:38 PM

(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? :]

RE: seamonkey/firefox - delix - 01-03-2012 05:43 PM

Usage: configure [options] [host]
Options: [defaults in brackets after descriptions]
  --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
  --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
  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
  --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
                          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 compiler/library checks.
  --with-l10n-base=DIR     path to l10n repositories
                        The path to the Windows CE SDK
         Disable Windows Mobile specific components from CE build
                          Minimum Windows version (WINVER) to support
                              400: Windows 95
                              500: Windows 2000
                              501: Windows XP
                          Highest Windows version to target using this SDK
                              502: Windows Server 2003
                              600: Windows Vista
                              601: Windows 7
                           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
                          Exec prefix where NSPR is installed
  --with-system-nss      Use system installed NSS
  --with-nss-prefix=PFX  Prefix where NSS is installed
                          Exec prefix where NSS is installed
                          Use system libjpeg [installed at prefix PFX]
                          Use system libz [installed at prefix PFX]
                          Use system libbz2 [installed at prefix 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)
                          Options include:
                            suite (SeaMonkey)
                            mail (Thunderbird)
                            calendar (Sunbird)
  --with-xulrunner-stub-name=appname   Create the xulrunner stub with the given name
                          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
                          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 Branding
                          Do not distribute builds with
                          --enable-official-branding unless you have
                          permission to use trademarks per
  --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-xpinstall     Disable xpinstall support
  --disable-jsloader      Disable xpcom js loader support
  --disable-printing  Disable printing support
  --enable-native-uconv   Enable iconv support
                          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 such as autoconfig and
                          Disable universal encoding detection
  --disable-svg            Disable SVG support (NB: unsupported option in comm-central)
  --enable-tree-freetype         Enable Tree FreeType
                          Enable LDAP experimental features
  --disable-installer     Disable building of installer
  --disable-updater       Disable building of updater
                           Select application update channel (default=default)
                           Enable tools/update-packaging
                          Disable building of xpconnect support for IDispatch
                          (win32 only)
  --disable-activex       Disable building of ActiveX control (win32 only)
                          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
                           Do not build parental controls
                           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/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)
                            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)
                          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 Corel/Eazel profiler support
                          Enable/disable profiling for specific modules
  --enable-insure         Enable insure++ instrumentation (linux only)
                          Dirs to instrument with insure
                          Dirs to not instrument with insure
  --enable-quantify      Enable Quantify support (Windows only)
  --enable-xterm-updates  Update XTERM titles with current command.
                          Select FORMAT of chrome files (default=jar)
                          Set the default value for MOZILLA_FIVE_HOME
  --with-user-appdir=DIR  Set user-specific appdir (default=.mozilla)
                          Header/idl dirs to create docs from
                          Include dirs to preprocess doc headers
                          Dir to generate docs into
                          Warn about use of non-ANSI long long type
                           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)
                          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 ?

RE: seamonkey/firefox - tavvva - 01-03-2012 08:36 PM

(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

RE: seamonkey/firefox - nl2stk - 01-04-2012 05:55 PM

(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

RE: seamonkey/firefox - delix - 01-14-2012 06:10 PM

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
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

RE: seamonkey/firefox - tavvva - 01-14-2012 06:29 PM

(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.

RE: seamonkey/firefox - tavvva - 01-14-2012 06:46 PM

Ok. I just analyzed the memalign stuff in uclibc. The patch is really needed and it's gonna have just few lines ...

RE: seamonkey/firefox - delix - 01-14-2012 08:10 PM

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....

RE: seamonkey/firefox - tavvva - 01-14-2012 08:22 PM

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

#define posix_memalign(memptr, alignment, size) ((alignment % sizeof(void *)) ? EINVAL : ((*memptr = memalign(alignment, size)) ? 0 : ENOMEM))