1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00
Commit Graph

173 Commits

Author SHA1 Message Date
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
Jung-uk Kim
2f54b0f610 - Update to b38.
- Use Apache Ant 1.9.6 to build.

MFH:		2016Q1
2016-01-25 23:16:02 +00:00
Jung-uk Kim
3623e74701 The old URL for jtreg disappeared.
Noticed by:	ohauer
MFH:		2015Q4
2015-11-19 20:34:20 +00:00
Jung-uk Kim
6947a676ad Update to b37.
MFH:		2015Q4
2015-11-17 00:54:02 +00:00
Jung-uk Kim
c9d7641f61 - Update to b36.
- Fix default core file location in crash report.

MFH:		2015Q3
2015-07-30 22:55:30 +00:00
Jung-uk Kim
cee04cb56e Use sysctl(3) instead of procfs(5) when we need executable path from PID.
MFH:		2015Q3
2015-07-02 18:18:16 +00:00
Jung-uk Kim
8fd3be6a57 - Update to b35.
- Optimize fontconfig.properties.
2015-06-30 20:11:59 +00:00
Mathieu Arnold
8dab11a002 Remove $FreeBSD$ from patches files in categories a-j.
With hat:	portmgr
Sponsored by:	Absolight
2015-05-22 13:34:20 +00:00
Jung-uk Kim
ce40d635b9 Fix build without precompiled headers and apply r384056 to java/openjdk6.
http://bugs.java.com/bugdatabase/view_bug.do?bug_id=7154517

Obtained from:	OpenJDK project [1]
MFH:		2015Q2
2015-05-20 21:05:25 +00:00
Mathieu Arnold
60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00
Jung-uk Kim
c94deb44cf Fix a mismerged file for OpenJDK6. 2015-03-24 21:26:18 +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
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
Jung-uk Kim
d5ce7749e1 Update to b34. 2015-01-24 00:02:00 +00:00
Antoine Brodin
7cdc0b1e9e Allow building 10 years after 31 december 2004
With hat:	portmgr
2014-12-30 23:02:57 +00:00
Jung-uk Kim
7df9bf91d2 Turn off -Werror for Clang 3.5+ and revert r374780 for now. 2014-12-16 21:37:30 +00:00
Jung-uk Kim
73bb14c0e3 Add an upstream patch to remove adlc's unused class FileBuffRegion.
https://bugs.openjdk.java.net/browse/JDK-8041620

Note this is an attempt to fix build with upcoming Clang 3.5.

Obtained from:	jdk9
2014-12-16 00:25:58 +00:00
John Baldwin
1ebd0e3345 The MAP_NORESERVE flag to mmap() has never been implemented in FreeBSD and
is being removed.  No portrev bump needed since the kernel will continue to
accept this flag for old binaries even after support for it in new binaries
is removed.

PR:		193961
Approved by:	portmgr (antoine)
2014-10-18 12:20:42 +00:00
Jung-uk Kim
1c8be2bab1 - Update to b33.
- Update TimeZoneNames to tzdata2014g.
2014-10-17 05:00:20 +00:00
Jung-uk Kim
e45d1e1be9 - Update to b32.
- Update TimeZoneNames to tzdata2014b.
- Enlist openjdk6 users as testers of ant 1.9.4.
2014-07-17 04:03:21 +00:00
Jung-uk Kim
6d8c62429c Implement current and signal methods for sun.nio.ch.NativeThread. Note this
fixes a test case in the following Apache Solr bug report.

https://issues.apache.org/jira/browse/SOLR-6204

Reported by:	Dawid Weiss <dawid.weiss@gmail.com>
2014-06-27 18:41:19 +00:00
Baptiste Daroussin
a33191366c Convert GMAKE to MAKE_CMD
Please note that lots of invocation of MAKE_CMD here are wrong as they do not
properly respect MAKE_ENV and friends

With hat:	portmgr
2014-06-25 05:35:31 +00:00
Dmitry Sivachenko
fdce02a97a USE_XZ --> USES=tar:xz. 2014-06-10 11:29:39 +00:00
Jung-uk Kim
ca590d213b Mark it as unsafe for parallel build. 2014-06-06 23:40:56 +00:00
Jung-uk Kim
a763513dab Fix printing services. When CUPS is used, ${LOCALBASE}/bin/lpr must be used
to print a generated PostScript file.  When lpd(8) is used, lpr(1) from base
must be used.  Also, status command for lpc(8) requires a printer name.  If
no argument is specified, i.e., "/usr/sbin/lpc status", then it displays the
command usage, i.e., "usage: status  {all | printer ...}".  Unfortunately,
"usage" is interpreted as a printer name because ":" is included.  Add "all"
and adjust an expression for grep(1).

PR:		ports/178856
2014-05-21 19:57:11 +00:00
Jung-uk Kim
c979edf70f Actually fix the mis-merge. 2014-04-17 18:32:06 +00:00
Jung-uk Kim
ec9037822d Fix couple of mis-merges. 2014-04-17 18:24:47 +00:00
Niclas Zeising
39fc32e828 The FreeBSD x11@ and graphics team proudly presents
a zeising, kwm production, with help from dumbbell, bdrewery:

NEW XORG ON FREEBSD 9-STABLE AND 10-STABLE

This update switches over to use the new xorg stack by default on FreeBSD 9
and 10 stable, on osversions where vt(9) is available.
It is still possible to use the old stack by specifying WITHOUT_NEW_XORG in
/etc/make.conf .
FreeBSD 8-STABLE and released versions of FreeBSD still use
the old version.
A package repository with binary packages for new xorg will
be available soon.

This patch also contains updates of libxcb and related ports, pixman, as well
as some drivers and utilities.

Bump portrevisions for xf86-* ports, as well as virtualbox-ose-additions due
to xserver version change.

Apart from these updates, the way shared libraries are handled has been
changed for all xorg ports, as well as libxml2 and freetype, which means
ltverhack is gone and as a consequence shared libraries have been bumped.
The plan is that this change will make library bumps less likely in the
future.
All affected ports have had their portrevisions bumped as a consequence of
this.

Fix some issues where WITH_NEW_XORG weren't detected properly on CURRENT.

Update instructions, hardware support, and more notes can be found on
https://wiki.freebsd.org/Graphics

Thanks to:	all testers, bdrewery and the FreeBSD x11@ team
exp-run by:	bdrewery [1]
PR:		ports/187602 [1]
Approved by:	portmgr (bdrewery), core (jhb)
2014-04-16 18:28:47 +00:00
Jung-uk Kim
ba490d88af Update to b31. 2014-04-16 01:43:53 +00:00
Jung-uk Kim
f0fd5a1e4a Add an upstream patch to fix yet another fallout from HotSpot 23 merge.
https://java.net/jira/browse/OPENJDK6-29
http://hg.openjdk.java.net/jdk6/jdk6/jdk/rev/04e4c3ec6516
2014-03-12 20:56:47 +00:00
Jung-uk Kim
29ab93ec97 Fix missing symbols after re-appearance of converters/libiconv on 10+. This
actually fixes java/icedtea-web because libsplashscreen.so was looking for
libiconv_open() and libiconv_close() from libiconv instead of iconv_open()
and iconv_close() from libc.  Tidy up compiler/linker flags while I am here.
2014-03-11 17:18:02 +00:00
Jung-uk Kim
d89d9f9160 - Sync. extremely outdated sun.util.resources.TimeZoneNames to the latest
tzdata 2013i from the upstream.  Note we are not updating zoneinfo data here
as it can be updated via java/java-zoneinfo.
- Fix build with Clang 3.4 and other miscellaneous issues while I am here.
2014-03-03 23:45:26 +00:00
Jung-uk Kim
7654e4a9ce - Update to b30.
- Implement sigset(2) for libjsig.  All supported FreeBSD releases have it.
- Turn UseMembar back on by default until we find better solution.
2014-01-23 23:34:07 +00:00
Jung-uk Kim
b5028779b8 Build with Apache Ant 1.9.3. 2014-01-08 21:21:21 +00:00
Mathieu Arnold
f9902a1f64 Revert lang/openjdk6 to b28.
With hat:	portmgr-lurker
2014-01-04 14:33:12 +00:00
Baptiste Daroussin
313cb94889 Part 2 at removing now useless FETCH_ARGS redifition 2014-01-03 01:12:59 +00:00
Baptiste Daroussin
992c8a537c Mark as forbidden, the port is now trigering a nasty FreeBSD bug!
A fix is being investigated
2013-12-27 11:50:37 +00:00
Jung-uk Kim
a2f7a06c58 Re-add jtreg to the distinfo. 2013-12-24 23:19:00 +00:00
Jung-uk Kim
799b4d21cc - Update to b29.
- Tidy up signal handler.
- Disable a Linux-specific hack.
- Do not create stack guard for Java threads.
- Implement thread CPU time.
2013-12-24 23:11:15 +00:00
Jung-uk Kim
50a824c824 If /var/db/zoneinfo exists, use the file to determine timezone rather than
iterating over all files under /usr/share/zoneinfo.  All supported FreeBSD
versions create the file with tzsetup(8).  This change usually improves
java.util.TimeZone performance because we only need to test just one file.
2013-12-11 01:18:33 +00:00
Jung-uk Kim
fffab58da8 Add multiple security patches and improvements from IcedTea6.
http://icedtea.classpath.org/hg/icedtea6/rev/e98b0ef70b26

Obtained from:	IcedTea Project
2013-12-04 23:20:35 +00:00
Jung-uk Kim
35ee67e7ee - Add throw() to all user-defined operator new()s within HotSpot because
Clang does not support "-fcheck-new".  Note it is a backport of S8021954
(http://hg.openjdk.java.net/hsx/hotspot-rt/hotspot/rev/9758d9f36299).
- Re-implement signal_name() with sys_signame(3) and adjust the comments.
- Re-implement ThreadCritical with PTHREAD_MUTEX_RECURSIVE.
- Fix DEBUG build with Clang on i386.  Clang does not support "-gstabs".
- Limit allocatable physical memory per getrlimit(2).
2013-11-09 00:11:00 +00:00
Jung-uk Kim
77e1b3cd31 - Do not crash when unsupported options are specified. [1]
- Micro-optimize and tidy up some patches.

PR:		java/183656 [1]
2013-11-05 21:16:12 +00:00
Jung-uk Kim
5cf97021e1 - Turn off UseMembar by default. This workaround is not necessary any more.
- Add few minor patches related to thread ID that were mis-merged.
- Add couple of minor HotSpot patches from upstream while I am here.
2013-10-25 22:53:53 +00:00
Jung-uk Kim
d6de7bac6f Allow overriding linker flags for standard C++ libraries and zlib. 2013-10-22 20:17:09 +00:00
Jung-uk Kim
6d6efeba92 Allow adding extra patches from slave ports. 2013-10-16 20:40:27 +00:00
Jung-uk Kim
2d8e62780d Fix build on old releases where nitems() macro is not defined.
Reported by:	Scott Ballantyne (sdb at ssr dot com)
2013-10-15 18:12:05 +00:00
Jung-uk Kim
7b302b1c04 Build with Apache Ant 1.9.2. 2013-10-14 19:09:17 +00:00
Jung-uk Kim
eeab9aebc3 Simplify compiler detection. COMPILER_TYPE must be defined since r330336. 2013-10-14 17:45:14 +00:00