Commit graph

72 commits

Author SHA1 Message Date
rillig
6561c36374 Fixed some more pkglint -Wall warnings. Somewhat related to PR 32763. 2006-02-07 09:07:19 +00:00
rillig
fb9a8c962f Fixed the pkglint @comment warning the right way. 2006-02-06 10:04:49 +00:00
ghen
180d61286f s/_MOZILLA_USE_GTK2/MOZILLA_USE_GTK2/g, as to silent pkglint (WARN: Variable
names starting with an underscore are reserved for internal pkgsrc use).
Ok with wiz.
2006-02-06 09:20:45 +00:00
ghen
c36891229e Reindent + fix some pkglint warnings. 2006-02-06 00:25:06 +00:00
ghen
f768d78998 Set CATEGORIES ?=www (instead of =) such that thunderbird (and later sunbird)
can override it.  Ok for wiz.
2006-02-05 14:43:59 +00:00
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00
rillig
6419e9879b Fixed PLIST quoting issue introduced by the recent "pkglint --autofix"
change.
2005-12-08 09:14:50 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
martin
0e79795cb1 Add support for PKG_OPTIONS.gecko += debug. 2005-11-26 22:09:25 +00:00
jlam
3b7c9b7a13 For the native firefox and mozilla packages, move the module/extension
registration out of the installation step and into the INSTALL script.
Also, remove the registration commands from the PLIST as well.  Putting
them into the INSTALL script allows for the same commands to be run
in the same way, so that there are fewer differences between installing
from source and installing from a binary package.  Also, this makes
these packages pass CHECK_FILES=yes.  Bump the PKGREVISION of firefox,
firefox-gtk1, mozilla, and mozilla-gtk2.

Also, include bsd.pkg.mk from the package Makefiles, not from within
Makefile.common.  This is a style issue and allows for appending to
variables originally defined in Makefile.common from the package
Makefile.
2005-09-17 02:35:19 +00:00
jlam
7820875fff Remove the abuse of buildlink that was pkg-config/buildlink3.mk. That
file's sole purpose was to provide a dependency on pkg-config and set
some environment variables.  Instead, turn pkg-config into a "tool"
in the tools framework, where the pkg-config wrapper automatically
adds PKG_CONFIG_LIBDIR to the environment before invoking the real
pkg-config.

For all package Makefiles that included pkg-config/buildlink3.mk, remove
that inclusion and replace it with USE_TOOLS+=pkg-config.
2005-08-10 20:56:10 +00:00
adam
5d3923b69e Use pkgsrc optimisation (CFLAGS, CXXFLAGS) = faster binary, less memory usage 2005-07-25 15:46:02 +00:00
wiz
d774725534 Change path from devel/pkgconfig to devel/pkg-config.
No PKGREVISION bump since pkg-config is only a BUILD_DEPENDS.
2005-07-21 16:29:42 +00:00
jlam
3e474a90d8 Get rid of USE_PERL5. The new way to express needing the Perl executable
around at either build-time or at run-time is:

	USE_TOOLS+=	perl		# build-time
	USE_TOOLS+=	perl:run	# run-time

Also remove some places where perl5/buildlink3.mk was being included
by a package Makefile, but all that the package wanted was the Perl
executable.
2005-07-16 01:19:06 +00:00
wiz
d566516723 MOZILLA_USE_GTK2 is a pkgsrc-internal variable -- prefix it with
an underscore.
2005-06-03 14:41:19 +00:00
jlam
fcb7da800b Remove mk/autoconf.mk and mk/automake.mk and replace their usage with
USE_TOOLS and any of "autoconf", "autoconf213", "automake" or
"automake14".  Also, we don't need to call the auto* tools via
${ACLOCAL}, ${AUTOCONF}, etc., since the tools framework takes care
to symlink the correct tool to the correct name, so we can just use
aclocal, autoconf, etc.
2005-06-01 20:07:59 +00:00
jlam
95fd1f6ec9 Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.
Several changes are involved since they are all interrelated.  These
changes affect about 1000 files.

The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk.  bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files.  Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred.  This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.

The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages.  Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc.  This modification is a nod toward LOCALBASE=/usr.  The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.

The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc.  The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.

The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files.  Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories.  These files are used as input
to imake since imake can't use stdin for that purpose.

The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead.  This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed.  Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries.  Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
2005-06-01 18:02:37 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
taya
9f597b31e8 Update mozilla & mozilla-gtk2 to 1.7.8
This is a security fix release.
Fixed vulnerabilities are follows:

MFSA 2005-44  Privilege escalation via non-DOM property overrides
MFSA 2005-43 "Wrapped" javascript: urls bypass security checks
MFSA 2005-42 Code execution via javascript: IconURL
2005-05-15 02:58:05 +00:00
taya
25013bab63 set CONFIG_GUESS_OVERRIDE, CONFIG_SUB_OVERRIDE, and CONFIG_STATUS_OVERRIDE
explicitly, because it fails to detect them with default setting.
suggested by Todd Willey.
2005-04-24 14:05:06 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
abs
15cef35050 MOZILLA_USE_GTK2 needs --disable-gnomevfs, so make this so in
mozilla/Makefile.common, rather than adding it into each Makefile
(also fixes thunderbird-gtk2).
2005-04-02 14:38:14 +00:00
abs
1697a2becb cut trailing whitespace 2005-04-02 09:46:41 +00:00
taya
a7e71712ee Update mozilla, mozilla-gtk2, and mozilla-stable to 1.7.5
Changes from release notes
- NPRuntime support. NPRuntime is an extension to the Netscape Plugin API
  that was developed in cooperation with Apple, Opera, and a group of plugin
  vendors. http://www.mozilla.org/projects/plugins/npruntime.html

- Added undetectable document.all support, and support for exposing elements
  by their ID in the global scope for greater IE compatibility when viewing
  pages that don't request standards compliant behaviour.
  https://bugzilla.mozilla.org/show_bug.cgi?id=248549 and
  https://bugzilla.mozilla.org/show_bug.cgi?id=256932.
2004-12-25 15:39:42 +00:00
wiz
6e02d7ee41 Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.
Suggested by Roland Illig, ok'd by various.
2004-12-03 15:14:50 +00:00
jlam
43ac8c39e1 Replace USE_GCC_SHLIB with "USE_LANGUAGE=c c++" (the latter implies the
former) for applications that are known to require C++.
2004-11-13 22:04:52 +00:00
jmmv
53252bed5c Modify mozilla and mozilla-gtk2 to install several additional headers.
More specifically, this lets Mozilla NSS be used by other programs.

Also make the pkgconfig substitutions happen at post-build time, so that
the right rpaths are added to the mozilla-nspr.pc file (which is filled
in during the build).

Bump PKGREVISION to 1 for both packages.  Ok'ed by taya@, the maintainer.
2004-10-25 18:06:25 +00:00
sekiya
6ea45198bb Force gcc34 and use the right varargs macro for amd64. Mozilla (and its
derivatives) now appears to work properly on amd64.

Patches from Nicholas Joly.
2004-10-25 13:02:15 +00:00
danw
cbe9744cbb darwin fixes (tested against firefox-gtk2) 2004-08-31 02:37:57 +00:00
jlam
ca70938428 Replace RPATH_FLAG with LINKER_RPATH_FLAG and COMPILER_RPATH_FLAG,
which are the full option names used to set rpath directives for the
linker and the compiler, respectively.  In places were we are invoking
the linker, use "${LINKER_RPATH_FLAG} <path>", where the space is
inserted in case the flag is a word, e.g. -rpath.  The default values
of *_RPATH_FLAG are set by the compiler/*.mk files, depending on the
compiler that you use.  They may be overridden on a ${OPSYS}-specific
basis by setting _OPSYS_LINKER_RPATH_FLAG and _OPSYS_COMPILER_RPATH_FLAG,
respectively.  Garbage-collect _OPSYS_RPATH_NAME and _COMPILER_LD_FLAG.
2004-08-27 06:29:06 +00:00
xtraeme
bd615e2e50 Fix pkgconfig files, they were using mozilla-1.6 as its directory to
find the headers/files, and this breaks some packages using the .pc files
with firefox*.
2004-06-19 00:25:04 +00:00
taya
0245c8cc7e regxpcom creates same user config directory ".mozilla"
even if it's main app creates another user config directory.
e.g. firefox creates .phoenix, thunderbird creates .thunderbird

so no need to define user config directory for each package based on mozilla.
simply remove ${WRKDIR}/.mozilla is enough
2004-06-02 14:32:22 +00:00
xtraeme
17285d04a2 Use !empty instead of != "", which was causing some troubles. 2004-06-01 22:41:21 +00:00
taya
aa27cf42cb - remove user profile directory created while installation. fix pkg/24609.
- correct ARM architecture handling
- add g++-3.0 support for xpcom module on alpha
- bump PKGREVISION
2004-06-01 15:01:17 +00:00
tron
8123f86d7e Set correct package revision in correct file. This undos the recent
accidental version number downgrade. We are now at version 1.6nb3.
2004-04-25 13:07:19 +00:00
xtraeme
81495749e6 Bump PKGREVISION due to gdk-pixbuf update. 2004-04-25 04:16:42 +00:00
jmmv
0edd320830 Ensure the pkgconfig bl3 file is included when MOZILLA_USE_GTK2 is defined. 2004-02-26 22:16:18 +00:00
jmmv
ffe6ed0b7b bl3ify. 2004-02-19 13:24:23 +00:00
jlam
efa1ab70ba Include "../../mk/compiler.mk" to get the value of CC_VERSION before
testing it.
2004-02-18 13:33:40 +00:00
jmmv
ab17dd00b3 PKGCONFIG_OVERRIDE is relative to WRKSRC. 2004-02-14 18:26:26 +00:00
jlam
d420fe7358 CC_VERSION is "gcc-2.8.1" for egcs. Also fix up a few nits: not all
compilers understand "-O" to optimize, and if we only care about gcc, then
wrap the block in an ifdef that is triggered only if we're using gcc.
2004-02-09 03:26:39 +00:00
jmmv
6400d550ec Enable installation of pkgconfig files in mozilla-gtk2. This requires a
new patch to fix paths to includes and libs.
Bump PKGREVISION of mozilla-gtk2 to 1.
2004-02-05 17:29:06 +00:00
abs
b37ee96c50 + USE_LANGUAGES=c c++ 2004-02-04 22:23:46 +00:00
grant
e3d128293a replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-24 15:18:32 +00:00
wiz
195fa4f6f3 Check for existance of shared libXinerama before
enabling Xinerama support.
Fixes mozilla on e.g. macppc with only libXinerama.a.
2004-01-22 00:21:26 +00:00
agc
3ad1bdbf06 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:18:15 +00:00
taya
148029f127 Update mozilla to 1.6
- New features and Fixes from release notes:

*  One of the most requested Mozilla Mail features, an option to
separate the Recipient and Sender columns in the thread pane, has been
implemented.

* Another frequently requested MailNews feature, a preference for
placing the user's signature above the quoted text, has been added.

* "Remove from server after x days" has been implemented for POP3 mail
accounts.

* vCard support has been added to Mozilla Mail.

* Mozilla 1.6 includes a new cross-platform NTLM authentication
mechanism. This feature brings NTLM authentication to the non-Windows
Mozilla users for the first time and also delivers more robust and
featureful NTLM support to users of older Windows versions.

* Ask Jeeves searching has been added to Mozilla 1.6.

* "Translate Page" functionality has returned to this release of Mozilla.

* The View Source window now has reload functionality.

* Several security-related bugs were fixed in 1.6

* Chatzilla 0.9.48 has been merged, which adds RPL_ISUPPORT support,
halfop mode support, and properly masks key and password dialogs.

* Many crash bugs have been fixed.

* One step closer to the kitchen sink, about:about has been
implemented. Typing about:about in the address field will give the
user a nice list of available about:s.

* The opacity implementation was completely revamped to properly
change the opacity of all descendants as a group.

* CSS inheritance has been updated to work per CSS2.1 (computed values
are inherited).

- pkgsrc specific changes
* add option to build with gtk2 (not completed yet)(from Jeremy C. Reed)

* make mathml optional (for MozillaThunderbird)
2004-01-17 00:04:49 +00:00
grant
92a57570ad only use COPTS?=-O2 if we're using gcc, otherwise use COPTS?=-O. gives
mozilla packages a chance of building with non-gcc compilers.
2004-01-12 11:44:47 +00:00
grant
f1858cae28 while "dependancy" is a valid spelling, we generally use
the more widely accepted "dependency".
2003-12-20 16:07:42 +00:00
grant
cfc7c32925 build with Xinerama support if available. libXinerama is only
available as a static library, so no change to PLISTs.

fixes PR pkg/19562 from epg.
2003-12-20 10:28:45 +00:00