1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
Commit Graph

79 Commits

Author SHA1 Message Date
Mathieu Arnold
a9dcad2fff Remove ${PORTSDIR}/ from dependencies, categories h, i, j, k, and l.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:08:37 +00:00
Greg Lewis
c17837b9af . Update to 8u77. 2016-03-27 23:02:57 +00:00
Tijl Coosemans
59272d1017 Combine print/cups-base, print/cups-client and print/cups-image into
print/cups and update it to 2.1.3.  Also remove print/cups-pstoraster,
improve print/cups-filters, print/foomatic-* and update print/hplip to
3.16.2.

Long description:

First some background.  When you hand a file to cups it sets up a chain of
filter programs that converts the file to something a printer understands.
Each filter has a cost associated with it and cups tries to find the
cheapest chain.  Costs used to be configured in such a way that files were
first converted to PostScript.  This could then be manipulated further (e.g.
putting multiple pages on one sheet) before finally being sent to a
PostScript printer or another filter like pstoraster which produces a raster
format understood by non-PostScript printer drivers.  Nowadays most filters
have been moved from cups to cups-filters and they have been configured to
use PDF as an intermediate format instead of PostScript.

Merging of cups-base, cups-client and cups-image into print/cups:
- cups-image provides a library to work with the cups raster format.  It is
  only used to implement filters and printer drivers and these only exist
  in the context of a cups server so there's no need to separate this from
  cups-base.
- cups-client provides a library that allows applications to print via cups.
  It is possible to use the library to access a remote cups server without
  running a local cups server, but such a setup is discouraged and the
  configuration file to set this up has been marked deprecated.  It is
  better to run a local cups server and let that talk to the remote cups
  server because then you have the benefits of local job queuing in case the
  remote server is down or busy.  Given this and the fact that without
  filters cups-base is now smaller than it used to be it makes sense to
  merge the ports.  The patch also adds options IPPTOOL, DOCS and NLS which
  when disabled make the new cups package smaller than the current
  cups-client package.  Merging the ports also prevents problems with
  options like ZEROCONF being configured differently in both ports.
- print/cups was a metaport that depended on cups-base and some filters.
  There isn't really a need for such a metaport so cups-base can be renamed
  to cups.  The filters can be depended on by printer drivers such as hplip
  if they need them.

Additional changes to the new print/cups:
- Clean up the patches.  They seem to have been regenerated with post-patch
  changes included.
- Add a patch to prevent intermediate conversion to PDF when a PostScript
  file is sent to a PostScript printer when cups-filters is installed.
- Fix the PAM configuration file.
- Add a patch to let the server search /usr/local/share/ppd like on Linux so
  other ports don't have to add links to it.
- Remove ulpt(4) helper scripts.  The port uses libusb with ugen(4).
- Remove support for mDNSResponder.  cups-filters only supports Avahi.
- Combine ICONS and XDG_OPEN options into an X11 option to support WITHOUT_X11.
- Optionally depend on colord for ICC profile support.
- Various smaller changes.

Changes to print/cups-filters:
- Let the cups_browsed rc.d script depend on cupsd and avahi_daemon instead
  of LOGIN.
- Development of foomatic-filters has been moved to cups-filters so let this
  port install foomatic related files and add foomatic-filters to CONFLICTS.
- Fix location of liblouis tables.
- Add patch to fix ICC support.

Changes to print/cups-pstoraster:
This port is essentially an old version of Ghostscript plus a cups filter.
It's no longer developed.  This commit removes it and changes existing
dependencies to print/cups-filters which depends on print/ghostscript* and
includes a gstoraster filter that can handle both PostScript and PDF.

Changes to print/foomatic-db*:
Remove old MASTER_SITES and dependencies and eliminate PKGNAMEPREFIX.

Changes to print/foomatic-filters:
Install beh backend with its original name again and add cups-filters to
CONFLICTS.

Changes to print/hplip:
- Stop installing hpijs/foomatic-rip support.  This is no longer supported
  upstream.
- Stop installing hpcups PPDs.  These are now automatically generated.  The
  bundled PPDs are generated for an older version of cups.
- Rename the QT option to X11 to support WITHOUT_X11.
- Simplify the patches now that ports are installed in a staging area.
- Add a patch to set SO_REUSEPORT (next to SO_REUSEADDR) on the mDNS socket
  like avahi-daemon does.  This fixes Zeroconf support for HP network
  printers.

PR:		207746
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2016-03-11 11:53:42 +00:00
Greg Lewis
44d8a469b9 . Update to 8u72. 2016-01-31 19:37:15 +00:00
Greg Lewis
24e7dd6d89 . Unreak CCACHE
PR:		205751
Submitted by:	chris@chrullrich.net
2016-01-21 05:25:44 +00:00
Jung-uk Kim
2edf0a9558 - Partially implement getThreadUserTime() using getrusage(2). Note we can
only get usage for the current thread.  Return -1 if the requested function
is not supported, i.e., user time for other threads, rather than crash. [1]
- Properly implement os::elapsedVTime() using getrusage().  Basically, it is
taken from Linux version.
- Temporarily revert r403748 to fix bootstrapping with earlier OpenJDK8. [2]

PR:		205523, 205843 [1]
PR:		205544 [2]
2016-01-05 22:39:46 +00:00
Greg Lewis
2813824f6f . Stub implementation of OperatingSystemImpl.
PR:		205229
2016-01-02 09:30:21 +00:00
Jung-uk Kim
f79bce06dd Fix the previous commit. We do not support getThreadUserTime().
PR:		205523
2015-12-23 00:47:12 +00:00
Jung-uk Kim
cafb8745f1 Implement ThreadMXBean.getThreadCpuTime(), etc.
PR:		205523
Submitted by:	will (via bsd-port-dev@openjdk.java.net)
2015-12-23 00:22:15 +00:00
Jung-uk Kim
95a9ce771d Fix build with fmake.
Reported by:	antoine
2015-12-15 06:45:16 +00:00
Jung-uk Kim
fc16b49fe6 Build compilefontconfig.jar and javazic.jar with bootstrap jar. Originally
it was intended to test the newly built JVM, it is not cross-build friendly.

Submitted by:	Eugene M. Zheganin (emz at norma dot perm dot ru)
2015-12-14 23:32:21 +00:00
Jung-uk Kim
37874e5364 Build with sjavac when we are self-hosting to improve build speed. 2015-12-14 23:20:05 +00:00
Jung-uk Kim
e64ae7e938 Allow java/openjdk7 for bootstrapping java/openjdk8. Although we cannot
build OpenJDK7 for ARM yet, there is no need to disallow it at all.
2015-12-14 23:15:09 +00:00
Jung-uk Kim
8d6f3ac3d4 Respect CC, CPP and CXX with full paths.
PR:		203747
2015-12-14 23:05:49 +00:00
Jung-uk Kim
c8b2413599 Respect CC, CPP and CXX with full paths.
PR:		203747
2015-12-14 23:02:49 +00:00
Greg Lewis
eb3bedf698 . Update to 8u66. 2015-12-13 00:50:58 +00:00
Jung-uk Kim
441bb19368 Restore jtreg disappeared in r396353.
PR:		205234
2015-12-11 16:54:22 +00:00
Jung-uk Kim
5b1ddddad1 Work around build failures with Poudriere. We have to limit max heap size
when building 32-bit targets on a 64-bit host for some unknown reason.
2015-12-10 19:37:07 +00:00
Jung-uk Kim
af65c31a00 Fix regression introduced in r372338, i.e., mis-merged fix for JDK-8031581.
PR:		205192
2015-12-10 18:43:51 +00:00
Jung-uk Kim
87463483c6 Add an upstream patch to fix build for some 32-bit platforms, i.e.,
java.lang.OutOfMemroryError.

http://hg.openjdk.java.net/jdk8u/jdk8u/rev/f398f28e3112
2015-12-09 21:23:01 +00:00
Antoine Brodin
0e8c3bf1b3 Update giflib to 5.1.1
PR:		204492
2015-12-03 20:01:03 +00:00
Jung-uk Kim
f4e079e884 Add support for armv6hf. Tested on Raspberry Pi 2 Model B. 2015-10-15 18:01:53 +00:00
Jung-uk Kim
389ecfc20d Clean up and modernize the port. No functional change. 2015-09-29 21:56:28 +00:00
Greg Lewis
801e7630ce . Add support for armv6.
PR:		201308
Submitted by:	mikael.urankar@gmail.com
Reviewed by:	sbruno
2015-09-29 14:54:56 +00:00
Jung-uk Kim
044e9e0d8b Do not build unnecessary targets to reduce build time. 2015-09-16 05:39:29 +00:00
Greg Lewis
68ee2ea98b . Switch to xz for the new remote patches to decrease download size. 2015-09-09 09:39:30 +00:00
Greg Lewis
74dbe676ce . Move the large patches which contain the changes between updates of the
JDK to being fetched remotely using PATCHFILES and PATCH_SITES.

  This cuts the size taken by openjdk8 in the ports repository.
2015-09-08 05:04:25 +00:00
Greg Lewis
519117c04b . Update to 8u60. 2015-09-07 09:41:49 +00:00
Jung-uk Kim
139ceeaf09 Fix few more mismerges in the previous update. 2015-07-20 22:10:17 +00:00
Jung-uk Kim
1ee26da0bb Tidy up couple of problems in the previous update. 2015-07-20 21:16:09 +00:00
Greg Lewis
8088e0cda1 . Update to 8u51. 2015-07-19 14:23:54 +00:00
Greg Lewis
2722598f71 . The test target wants jtreg binaries to be found one directory up. Allow
that to be the case.
2015-07-05 00:45:08 +00:00
Greg Lewis
d5b14ed39b . Fix BSD detection in the langtools test infrastructure. 2015-07-05 00:41:37 +00:00
Jung-uk Kim
fd492a9fe5 - Fix broken preprocessor directives.
- Use sysctl(3) instead of procfs(5) when we need executable path from PID.

MFH:		2015Q3
2015-07-02 18:17:12 +00:00
Jung-uk Kim
e25f3cb0e6 Fix the previous commit. Forgot to remove #'s before committing. :-( 2015-05-19 22:16:23 +00:00
Jung-uk Kim
75c6d35b75 Do not use static libjli for stable/10 and head. This complements PR193009.
Re-apply r381431 while I am here.

Submitted by:	Kurt Miller <kurt@intricatesoftware.com>
2015-05-19 22:13:51 +00:00
Greg Lewis
6e15254a68 . Update to 8u45. 2015-05-06 07:03:53 +00:00
Bryan Drewery
90ddbe7045 Fix build with GCC with recent head kernel by disabling PCH for GCC.
The case for this is a recent head kernel building an older branch that uses
GCC in a jail.

This is discussed at https://lists.freebsd.org/pipermail/svn-src-all/2015-March/101722.html

It may be possible to fix GCC to do the right thing with mmap(2) but it would
not be simple to make ports use a fixed GCC on older releases and without
needlessly building a ports compiler when the system one would otherwise be
fine without PCH.

With hat:	portmgr
2015-04-15 15:30:07 +00:00
Jung-uk Kim
cd50a3fd95 Set rpath for libawt_xawt.so as we do for libawt.so and libawt_headless.so.
Optimize fontconfig.properties while I am here.
2015-04-01 17:32:17 +00:00
Jung-uk Kim
7580e924ad Tidy up default fontconfig.properties. 2015-03-24 21:17:51 +00:00
Jung-uk Kim
74a9a89a8d Catch up with font directory changes. 2015-03-24 00:56:47 +00:00
Jung-uk Kim
d0b0657655 Clean up patches again. No functional change. 2015-03-16 18:53:10 +00:00
Greg Lewis
72d2e02134 . Update to 8u40. 2015-03-15 21:30:04 +00:00
Jung-uk Kim
6a5bb1c2f8 - Revert all damages done in r372338 and r379049.
- Really fix non-release builds. [1]

PR:		193009 [1]
2015-02-27 06:54:30 +00:00
Jung-uk Kim
6ff1cd31f3 Properly use BLOCKING_IO_RETURN_INT() macro for NET_Accept(). 2015-02-16 23:58:16 +00:00
Jung-uk Kim
ea9a2868cf Remove redundant linker options added in r379049. 2015-02-16 23:48:19 +00:00
Greg Lewis
2c4da2b583 . Fix the DEBUG build.
PR:		193009
Submitted by:	Brian Gardner (openjdk@getsnappy.com)
2015-02-15 21:18:12 +00:00
Greg Lewis
64f02c86a0 . Attempt to fix the build on 8.x amd64 by telling the HotSpot compilation
not to treat warnings as errors.

Reported by:	mat@
2015-02-05 03:13:05 +00:00
Greg Lewis
3bc2661ea9 . Update to 8u31. 2015-02-02 06:27:11 +00:00
Antoine Brodin
364abe76fd Switch some dependencies from a directory name or a file generated by pkg-install
to a package name,  as the former can't be attributed to a package
2015-01-24 15:07:39 +00:00