Commit graph

3832 commits

Author SHA1 Message Date
Koop Mast
27137465a0 Fix lib_depend for gnome-control-center.
PR:		ports/183916
Submitted by:	truckman@
2013-11-13 19:28:51 +00:00
Marcus von Appen
922be491a2 Version two of the SDL2_gfx library, compatible with SDL2.0.
This also adds a new USE_SDL=gfx2 variable to add SDL2_gfx as
LIB_DEPENDS other ports.

The SDL_gfx library evolved out of the SDL_gfxPrimitives code which provided
basic drawing routines such as lines, circles or polygons and SDL_rotozoom
which implemented a interpolating rotozoomer for SDL surfaces.

The current components of the SDL_gfx library are:

   - Graphic Primitives (SDL_gfxPrimitves.h)
   - Rotozoomer (SDL_rotozoom.h)
   - Framerate control (SDL_framerate.h)
   - MMX image filters (SDL_imageFilter.h)

WWW: http://www.ferzkopp.net/Software/SDL_gfx-2.0/
2013-11-13 18:15:08 +00:00
Baptiste Daroussin
9bd61a7a21 Remove USES=npapi, please only use webplugin 2013-11-13 08:40:28 +00:00
Koop Mast
c659c62d1d Fix eel2 lib_depend line.
Submitted by:	antoine@
2013-11-12 21:32:22 +00:00
Rene Ladan
af3e639e7d Do not try to remove /boot/modules, it is part of BSD.root.dist [1]
While here unquote an instance of /boot/modules.
Submitted by:	antoine [1]
2013-11-12 19:44:50 +00:00
Baptiste Daroussin
8a3c39c70a Fix when PREFIX != LOCALBASE
Reported by:	avilla
2013-11-12 18:01:39 +00:00
Baptiste Daroussin
89749057d9 No need to parse twice the webplugin arguments 2013-11-12 15:24:57 +00:00
Baptiste Daroussin
4e90cf7414 Use USESDIR when possible 2013-11-12 15:13:04 +00:00
Baptiste Daroussin
a4de18e4c3 Define EXTRACT_SUFX at the very end of the pre section to allow
defining extract suffix from inside bsd.*.mk and USES
2013-11-12 14:56:50 +00:00
Baptiste Daroussin
08348196a9 Convert www/firefox/Makefile.webplugins into a USES
Simplify it a lot,
remove all not supported anymore web browsers,
Prepend private varible behind an underscore
Rename the gecko18, gecko19 target into a simple gecko target

If you are writing a plugin port please use this USES, and if this USES does fit your need please report it so we can improve.
2013-11-12 14:11:22 +00:00
Mathieu Arnold
2cc3335d59 Allow multiple value in ${opt}_USE= FOO=bar,baz.
Which is nice in case you end up with something like :
X11_USE=	xorg=x11 xorg=ice xorg=sm xorg=xext xorg=xineramaproto
		xorg=xinerama xorg=xrandr xorg=xrender xorg=xtst

now you can do :
X11_USE=	xorg=x11,ice,sm,xext,xineramaproto,xinerama,xrandr,xrender,xtst

PR:		ports/183892
Approved by:	bapt
2013-11-12 13:23:14 +00:00
Rene Ladan
dc28effcb6 Fix with bmake which requires KMODDDIR to be defined before use.
Submitted by:	marino
2013-11-12 11:40:54 +00:00
Baptiste Daroussin
5d908e6e7d Change DESTDIRNAME into a ant compatible argument when a port is staged
While here remove previous workarounds.

Submitted by:	ale
Discussed with:	jkim, glewis
2013-11-12 10:36:16 +00:00
Baptiste Daroussin
a23ec7269c On FreeBSD 8 clang will need a newer version of binutils.
Reported by:	dbn
2013-11-12 09:25:43 +00:00
Eitan Adler
db432dee6e Make Uses/npapi.mk STAGEDIR safe.
This was tested by commenting out poudriere's leftover testing and using this file with linux-f10-flash.

Approved by:	bapt
2013-11-11 23:11:16 +00:00
Eitan Adler
e2f2e74797 Copy npapi.mk from the mplayer port and USEify it.
Ports that currently include www/linux-mplayer-plugin/Makefile.npapi should be switched to USES once this is stagified.

Approved by:	bdrewery
2013-11-11 21:41:26 +00:00
Olli Hauer
c0763e48fc - support STAGE for ports using AP_FAST_BUILD 2013-11-10 23:05:35 +00:00
Olli Hauer
5ecf027efa - rewrite part of module enabling 2013-11-10 20:45:09 +00:00
Gerald Pfeifer
cee7e50a71 Document USE_GCC=any. Reformat the description a bit and use newer
versions of GCC for reference.
2013-11-10 20:29:52 +00:00
Raphael Kubo da Costa
0ec4b93cf6 Remove isc.org from the list of KDE mirrors. 2013-11-10 18:11:38 +00:00
Sunpoet Po-Chuan Hsieh
00f0530654 - Remove ftp.nctu.edu.tw from MASTER_SITE_GCC 2013-11-10 13:26:58 +00:00
Sunpoet Po-Chuan Hsieh
a11d4de96f - Add shared SPDY description 2013-11-09 19:58:07 +00:00
William Grzybowski
6e2087197c Mk/bsd.python.mk: remove deprecated easy install vars
Those vars have been deprecated for a long time, this is a no op.
2013-11-09 13:20:05 +00:00
William Grzybowski
b8481a8c7d Mk/bsd.python.mk: add staging support for easy_install
This allows stage dir support for python packages using easy_install
method from setuptools module.

easy_install target does not support a --root so we workaround it with
PYTHONUSERBASE and other user flags.

Submitted by:	nivit, wg
With hat on:	python
Exp-run:	bdrewery
2013-11-09 13:09:49 +00:00
Kubilay Kocak
ce4af1f963 Fix a typo: USE_PYDISUTILS -> USE_PYDISTUTILS 2013-11-09 08:08:35 +00:00
Kubilay Kocak
5677f2500d Further clarify PYTHON_PY3K_PLIST_HACK and PYTHON_PY3K_PLIST_HACK usage 2013-11-09 07:25:29 +00:00
Koop Mast
7bec789831 Add back gtksourceviewmm3 accidently removed in -r333211, because I didn't
saved/closed my editor...
2013-11-08 14:10:00 +00:00
Koop Mast
45d39777e6 Which to using new lib_depends syntax.
Add stage support.

Obtained from:	gnome dev repo.
2013-11-08 12:32:14 +00:00
Koop Mast
02199851af gnomelibs and orbit where retired. 2013-11-08 12:29:57 +00:00
Rene Ladan
496131984d Fix 'make stage' for ports which define USE_LINUX by passing a defined
variable to MTREE_CMD.  The previous variable, MTREE_LINUX_ARGS, seems to
be a leftover.

Approved by:	portmgr (bapt)
2013-11-08 10:36:20 +00:00
Rene Ladan
a850c2461f Change KMODDDIR to /boot/modules if it is set to /boot/kernel
This allows upgrading a kernel without breaking any installed kernel ports
because during the upgrade /boot/kernel is renamed to /boot/kernel.old ,
resulting in moved files.

While /boot/modules is the default, it might be overridden by bsd.own.mk to
/boot/kernel before kmod is included, so setting MODULES_WITH_WORLD has no
effect.
2013-11-08 09:44:24 +00:00
Baptiste Daroussin
e64227dd6e Allow base clang to be used if version is >= 3.3
This gives 2 new variables to the porters:
ALT_COMPILER_TYPE which can be empty, clang or cc depending on what ${CC} is
ALT_COMPILER_VERSION which will give the porter a 2 digit version of the alternative compiler

Requested by:	many
2013-11-07 17:35:36 +00:00
Olli Hauer
d5f4c2a2d4 - Fix user users-groups script ('-e')
PR:		ports/183628
Submitted by:	ohauer
Approved by:	portmgr (bapt via PM)
2013-11-07 05:58:42 +00:00
Rusmir Dusko
08e586a29b - Unbreak pure.mk, use correct .include "${PORTSDIR}/Mk/Uses/gmake.mk"
- Remove devel/pure-gen/pkg-plist

Approved by:	pawel / wg (mentors, implicit)
2013-11-07 00:20:49 +00:00
Xin LI
bc0d646198 Update to 0.57.
PR:		ports/179390
Submitted by:	nemysis
Approved by:	maintainer
2013-11-06 22:50:21 +00:00
Raphael Kubo da Costa
cf9c8e21f2 Update KDevelop to 4.5.2.
Additionally, support staging in all ports being changed here, replace
USE_GMAKE=yes with USES=gmake and fix a typo in the CMake parameters passed
in kdevelop-kde4 when the OKTETA option is disabled.

Submitted by:	Schaich Alonso <alonsoschaich@fastmail.fm>
2013-11-06 14:47:14 +00:00
Baptiste Daroussin
16c627dc09 Now that tinderbox knows how to properly check this, tests on OSVERSIONS are useless, just check is libreadline.so is in base
With hat:	portmgr
2013-11-05 14:26:41 +00:00
Baptiste Daroussin
7713357eb3 Remove useless OSVERSION check, now that tinderbox properly do not leak those tests from the host
With hat:	portmgr
2013-11-05 14:24:45 +00:00
Rene Ladan
c61a61be20 Using stage does not magically enforce the use of sane package tools, so
always use the "@unexec rmdir" form in TMPPLIST.  @dirrmtry lines are
substituted with this in bsd.port.mk, but only when generating TMPPLIST.

While here update the description in the header.

Submitted by:	QAT for commit r332642 (8.4-QAT/i386)
2013-11-04 09:30:22 +00:00
Rene Ladan
7d59899f0c Use @unexec rmdir instead of @dirrmtry in the NO_STAGE case.
Submitted by:	vsevolod via IRC
2013-11-03 22:51:56 +00:00
Rene Ladan
4df4cd508b Make sure that kldxref(8) is not run when installing into the staging
directory to prevent orphaned linker.hints files.

Obtained from:	Porters Handbook section 6.1
2013-11-03 19:41:58 +00:00
John Marino
804d58013a Mk/bsd.database.mk: Fix postgresql component specifications
Due to the RUN_DEPENDS and BUILD_DEPENDS specification of postgresql
components in bsd.database.mk not matching their package names,
net-mgmt/netmagis-database was failing during the RUN_DEPENDS stage
because it couldn't detect that a component was already installed.

Updating the pltcl line allowed that port to successfully built.  The
other lines weren't tested but the problem would be the same.

Suggested by:	wg
2013-11-03 12:43:45 +00:00
Marcus von Appen
c393e4469b - Followup commit for the final lang/python26 update, that was missed
previously
2013-11-02 12:39:32 +00:00
Bryan Drewery
66ff3bcafd - Fix 'make package-recursive' with staging
With hat:	portmgr
Reviewed by:	bapt
Tested by:	dmarker_ on freenode
2013-11-02 10:48:35 +00:00
Florian Smeets
8f604dd800 Fix a mismerge that caused html5 audio to not work.
PR:		ports/183552
Reported by:	Juanitou <listjm@club-internet.fr>, eadler
2013-11-01 23:12:00 +00:00
Matthias Andree
13b212c743 bsd.stage.mk: Fewer false positives, much faster, easier maintenance.
Bugfixes:

* @cmd in pkg-plist is now properly handled.
  - It was previously treated the same as though there was a directory
    following it, missing the prefix. (ordering matters in case...esac)

  - Due to the cwd=${PREFIX} inside the while read line loop, state
    tracking was broken and every new line assumed that cwd were the
    prefix.

* stage-qa no longer complains about unstripped binaries if debugging is
  active (WITH_DEBUG set && WITHOUT_DEBUG unset).

* The compress-man target uses ECHO_MSG, not ECHO_CMD, to print its
  build step.

Additions:

* The plist parser now understands @unexec rmdir ... || ... lines,
  including those with redirections, so that there are no false
  positives for directories stripped with @unexec rmdir (usually
  happens on stuff installed outside $PREFIX, as in /var).

* The system's root and var mtrees are now also expanded to avoid
  false @dirrm positives if a port installs directories under /var
  and has to create parents in the stagedir that are present in a fully
  installed system (i. e. in the real $PREFIX).

* Given that pkg_create is deemed beyond repair with respect to deleting
  files outside prefix, generate @unexec rmdir statements for such
  directories, rather than @dirrmtry, to sidestep the problem.

Speedups:

* the orphan check now generates sorted lists of staged files,
  and plisted/mtree files, and compares them with comm(1).
  This saves us the overhead of running one grep process per file
  and up to two per directory, and defers the actual list
  processing to a shell utility.  Complexity has not changed,
  but overhead per item has.

* the orphan check now uses one file for directories and one file for
  files mentioned in pkg-plist, so we need not decorate them with "dir "
  and parse them out any longer.

* qa.sh's shebang scanner only looks at the first line of a file,
  sed is told to exit from the 2nd line.

Other Changes:

* Split the makeplist/check-orphans logic out of bsd.stage.mk,
  it is too unwieldy to maintain in make-escaped shell syntax,
  and permits shell tracing with "SH=sh -x" (including quotes!)

* Unify the functions "makeplist" and "check-orphans" in one
  script.  The only difference is that makeplist assumes an empty
  pkg-plist, whereas check-orphans parses it.

* overhaul the mtree extractor, avoiding awk.

Reviewed by:	bapt
Approved by:	portmgr (bapt)
2013-10-31 19:07:38 +00:00
Thomas Abthorpe
1d55dd3d43 - Remove final vestiges of ruby18
Exp-run by:	bdrewery
2013-10-31 12:15:50 +00:00
Rene Ladan
4d17670e3d Add a new USES for kernel module ports.
USES=kmod takes no arguments and:
- adds kld to CATEGORIES
- sets SSP_UNSAFE
- sets IGNORE if the kernel sources are not found
- defines KMODDIR to /boot/modules by default, add it to
  PLIST_SUB and MAKE_ENV, and create it upon installation
- handles cross-referencing kernel modules upon installation and
  deinstallation

Approved by:	bapt
2013-10-31 11:34:46 +00:00
Baptiste Daroussin
ed0c23e7ea Drop support for lua 4 which is EOLed for a long time
Approved by:	Richard Kiss <him@richardkiss.com> (maintainer)
2013-10-31 11:12:23 +00:00
Bryan Drewery
de9253dbd6 - Fix 'make package' when using pkg_install. Broken in r332158 due to syntax
error in else branch for pkgng.

Reported by:	danfe, mandree
Submitted by:	Takefu <takefu@airport.fm>
With hat:	portmgr
2013-10-31 02:27:14 +00:00