From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Apr 23 00:37:00 2015 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D13EA939 for ; Thu, 23 Apr 2015 00:37:00 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A20951CCB for ; Thu, 23 Apr 2015 00:37:00 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t3N0b03i077224 for ; Thu, 23 Apr 2015 00:37:00 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 199633] graphics/jpeg-turbo: includes should be installed, rework proposed Date: Thu, 23 Apr 2015 00:36:59 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: amdmi3@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Apr 2015 00:37:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199633 Bug ID: 199633 Summary: graphics/jpeg-turbo: includes should be installed, rework proposed Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: amdmi3@FreeBSD.org CC: bytestore@yandex.ru Flags: maintainer-feedback?(bytestore@yandex.ru) CC: bytestore@yandex.ru I have a new port which explicitly requires libjpeg-turbo, including its headers (it uses stuff not present in headers of graphics/jpeg). Currently the headers are not installed. The primary purpose of this PR is to add headers installation - this may be done by simply moving them into dedicated directory (e.g. include/jpeg-turbo). However I also propose ravamp of jpeg-turbo ports as the way they are split is seemingly meaningless, confusing and hard to use. I propose to merge these into a single port which installs all parts of jpeg-turbo in a way to not conflict with graphics/jpeg: - lib/libturbojpeg.{a,so,so.*} - include/turbojpeg.h - lib/libjpeg-turbo.{a,so,so.*} - include/{jconfig,jerror,jmorecfg,jpeglib}-turbo.h - binaries and manpages This way - jpeg-turbo's own interface (libturbojpeg, turbojpeg.h) may be used as-is - jpeg-compatible interface may be used by patching consumers - separate port which just installs libmap.d entry may be added to use by ones who want to transparently use libjpeg-turbo library instead of one from graphics/jpeg. Note that I deliberately use filename suffixes for graphics/jpeg conflicting library and headers. We could use dedicated subdirectories and leave filenames unmodified (e.g. include/jpeg-turbo/{jconfig,jerror,jmorecfg,jpeglib}.h, lib/jpeg-turbo/libjpeg.{a,so,so.*}), however it's hard to handle as include/link paths come from many places and consumers may end up using graphics/jpeg stuff while they've wanted turbo. -- You are receiving this mail because: You are the assignee for the bug.