public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] New USE_EXPAND: POSTGRES
@ 2016-01-23 12:26 Aaron W. Swenson
  2016-01-23 14:48 ` Michael Orlitzky
  0 siblings, 1 reply; 6+ messages in thread
From: Aaron W. Swenson @ 2016-01-23 12:26 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 328 bytes --]

In regards to:
https://archives.gentoo.org/gentoo-dev/message/877bee2af740e50e88f65cfe76126c0f

I'm planning on introducing a new eclass to the tree and am also
considering adding a new USE_EXPAND as well that would control the
specific slots the user would like to build PostgreSQL-related
extensions against.

Any objections?

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 345 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] New USE_EXPAND: POSTGRES
  2016-01-23 12:26 [gentoo-dev] New USE_EXPAND: POSTGRES Aaron W. Swenson
@ 2016-01-23 14:48 ` Michael Orlitzky
  2016-01-23 19:57   ` Aaron W. Swenson
  0 siblings, 1 reply; 6+ messages in thread
From: Michael Orlitzky @ 2016-01-23 14:48 UTC (permalink / raw
  To: gentoo-dev

On 01/23/2016 07:26 AM, Aaron W. Swenson wrote:
> In regards to:
> https://archives.gentoo.org/gentoo-dev/message/877bee2af740e50e88f65cfe76126c0f
> 
> I'm planning on introducing a new eclass to the tree and am also
> considering adding a new USE_EXPAND as well that would control the
> specific slots the user would like to build PostgreSQL-related
> extensions against.
> 
> Any objections?
> 

There are three other USE_EXPAND with a similar aim:

  * PHP_TARGETS
  * PYTHON_TARGETS
  * RUBY_TARGETS

And the related,

  * QEMU_SOFTMMU_TARGETS
  * QEMU_USER_TARGETS

If the "_TARGETS" suffix isn't somehow wrong in this context, having it
might act as a little bit of documentation for users who are used to the
variables above.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] New USE_EXPAND: POSTGRES
  2016-01-23 14:48 ` Michael Orlitzky
@ 2016-01-23 19:57   ` Aaron W. Swenson
  2016-01-24 23:21     ` [gentoo-dev] New USE_EXPAND: POSTGRES_TARGETS Aaron W. Swenson
  0 siblings, 1 reply; 6+ messages in thread
From: Aaron W. Swenson @ 2016-01-23 19:57 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 938 bytes --]

On 2016-01-23 09:48, Michael Orlitzky wrote:
> On 01/23/2016 07:26 AM, Aaron W. Swenson wrote:
> > In regards to:
> > https://archives.gentoo.org/gentoo-dev/message/877bee2af740e50e88f65cfe76126c0f
> > 
> > I'm planning on introducing a new eclass to the tree and am also
> > considering adding a new USE_EXPAND as well that would control the
> > specific slots the user would like to build PostgreSQL-related
> > extensions against.
> > 
> > Any objections?
> > 
> 
> There are three other USE_EXPAND with a similar aim:
> 
>   * PHP_TARGETS
>   * PYTHON_TARGETS
>   * RUBY_TARGETS
> 
> And the related,
> 
>   * QEMU_SOFTMMU_TARGETS
>   * QEMU_USER_TARGETS
> 
> If the "_TARGETS" suffix isn't somehow wrong in this context, having it
> might act as a little bit of documentation for users who are used to the
> variables above.

Good point.

POSTGRES_TARGETS it is.

Any objections or comments to that?

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 345 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] New USE_EXPAND: POSTGRES_TARGETS
  2016-01-23 19:57   ` Aaron W. Swenson
@ 2016-01-24 23:21     ` Aaron W. Swenson
  2016-01-24 23:33       ` Michael Orlitzky
  0 siblings, 1 reply; 6+ messages in thread
From: Aaron W. Swenson @ 2016-01-24 23:21 UTC (permalink / raw
  To: gentoo-dev


[-- Attachment #1.1: Type: text/plain, Size: 145 bytes --]

Attached are the changes I'm looking to make. I've never play with
global use flags, so I'd like for somebody to make sure I've done them
right.

[-- Attachment #1.2: postgres_targets.desc --]
[-- Type: text/plain, Size: 490 bytes --]

# Copyright 1999-2016 Gentoo Foundation.
# Distributed under the terms of the GNU General Public License v2
# $Id$

# This file contains descriptions of POSTGRES_TARGETS USE_EXPAND flags.

postgres9_0 - Build against PostgreSQL 9.0
postgres9_1 - Build against PostgreSQL 9.1
postgres9_2 - Build against PostgreSQL 9.2
postgres9_3 - Build against PostgreSQL 9.3
postgres9_4 - Build against PostgreSQL 9.4
postgres9_5 - Build against PostgreSQL 9.5
postgres9_6 - Build against PostgreSQL 9.6

[-- Attachment #1.3: use_expand-postgres_targets.patch --]
[-- Type: text/x-diff, Size: 2384 bytes --]

diff --git a/profiles/base/make.defaults b/profiles/base/make.defaults
index 8775ecf..a0902bb 100644
--- a/profiles/base/make.defaults
+++ b/profiles/base/make.defaults
@@ -16,7 +16,7 @@ USE_EXPAND_VALUES_USERLAND="BSD GNU"
 
 # Env vars to expand into USE vars.  Modifying this requires prior
 # discussion on gentoo-dev@lists.gentoo.org.
-USE_EXPAND="ABI_MIPS ABI_PPC ABI_S390 ABI_X86 ALSA_CARDS APACHE2_MODULES APACHE2_MPMS CALLIGRA_FEATURES CAMERAS COLLECTD_PLUGINS CPU_FLAGS_X86 CROSSCOMPILE_OPTS CURL_SSL DRACUT_MODULES DVB_CARDS ELIBC ENLIGHTENMENT_MODULES FCDSL_CARDS FFTOOLS FOO2ZJS_DEVICES FRITZCAPI_CARDS GPSD_PROTOCOLS GRUB_PLATFORMS INPUT_DEVICES KERNEL LCD_DEVICES LIBREOFFICE_EXTENSIONS LINGUAS LIRC_DEVICES MONKEYD_PLUGINS NETBEANS_MODULES NGINX_MODULES_HTTP NGINX_MODULES_MAIL OFED_DRIVERS OFFICE_IMPLEMENTATION OPENMPI_FABRICS OPENMPI_OFED_FEATURES OPENMPI_RM PHP_TARGETS PYTHON_SINGLE_TARGET PYTHON_TARGETS QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS RUBY_TARGETS SANE_BACKENDS USERLAND UWSGI_PLUGINS VIDEO_CARDS VOICEMAIL_STORAGE XFCE_PLUGINS XTABLES_ADDONS ROS_MESSAGES"
+USE_EXPAND="ABI_MIPS ABI_PPC ABI_S390 ABI_X86 ALSA_CARDS APACHE2_MODULES APACHE2_MPMS CALLIGRA_FEATURES CAMERAS COLLECTD_PLUGINS CPU_FLAGS_X86 CROSSCOMPILE_OPTS CURL_SSL DRACUT_MODULES DVB_CARDS ELIBC ENLIGHTENMENT_MODULES FCDSL_CARDS FFTOOLS FOO2ZJS_DEVICES FRITZCAPI_CARDS GPSD_PROTOCOLS GRUB_PLATFORMS INPUT_DEVICES KERNEL LCD_DEVICES LIBREOFFICE_EXTENSIONS LINGUAS LIRC_DEVICES MONKEYD_PLUGINS NETBEANS_MODULES NGINX_MODULES_HTTP NGINX_MODULES_MAIL OFED_DRIVERS OFFICE_IMPLEMENTATION OPENMPI_FABRICS OPENMPI_OFED_FEATURES OPENMPI_RM PHP_TARGETS POSTGRES_TARGETS PYTHON_SINGLE_TARGET PYTHON_TARGETS QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS RUBY_TARGETS SANE_BACKENDS USERLAND UWSGI_PLUGINS VIDEO_CARDS VOICEMAIL_STORAGE XFCE_PLUGINS XTABLES_ADDONS ROS_MESSAGES"
 
 # USE_EXPAND variables whose contents are not shown in package manager
 # output. Changes need discussion on gentoo-dev.
@@ -35,6 +35,10 @@ KERNEL="linux"
 USERLAND="GNU"
 INPUT_DEVICES="keyboard mouse"
 
+# Aaron W. Swenson <titanofold@gentoo.org> (23 Jan 2016)
+# Default slot for postges.eclass and postgres-multi.eclass
+POSTGRES_TARGETS="postgres9_4"
+
 # Tomáš Chvátal <scarabeus@gentoo.org> (23 Mar 2013)
 # By default enable libreoffice implementation only.
 OFFICE_IMPLEMENTATION="libreoffice"

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 345 bytes --]

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] New USE_EXPAND: POSTGRES_TARGETS
  2016-01-24 23:21     ` [gentoo-dev] New USE_EXPAND: POSTGRES_TARGETS Aaron W. Swenson
@ 2016-01-24 23:33       ` Michael Orlitzky
  2016-01-25 12:31         ` Aaron W. Swenson
  0 siblings, 1 reply; 6+ messages in thread
From: Michael Orlitzky @ 2016-01-24 23:33 UTC (permalink / raw
  To: gentoo-dev

On 01/24/2016 06:21 PM, Aaron W. Swenson wrote:
> Attached are the changes I'm looking to make. I've never play with
> global use flags, so I'd like for somebody to make sure I've done them
> right.
> 

Tiny typo "postges.eclass".



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] New USE_EXPAND: POSTGRES_TARGETS
  2016-01-24 23:33       ` Michael Orlitzky
@ 2016-01-25 12:31         ` Aaron W. Swenson
  0 siblings, 0 replies; 6+ messages in thread
From: Aaron W. Swenson @ 2016-01-25 12:31 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 322 bytes --]

On 2016-01-24 18:33, Michael Orlitzky wrote:
> On 01/24/2016 06:21 PM, Aaron W. Swenson wrote:
> > Attached are the changes I'm looking to make. I've never play with
> > global use flags, so I'd like for somebody to make sure I've done them
> > right.
> > 
> 
> Tiny typo "postges.eclass".

Thank you. Untypoed.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 345 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-01-25 12:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-23 12:26 [gentoo-dev] New USE_EXPAND: POSTGRES Aaron W. Swenson
2016-01-23 14:48 ` Michael Orlitzky
2016-01-23 19:57   ` Aaron W. Swenson
2016-01-24 23:21     ` [gentoo-dev] New USE_EXPAND: POSTGRES_TARGETS Aaron W. Swenson
2016-01-24 23:33       ` Michael Orlitzky
2016-01-25 12:31         ` Aaron W. Swenson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox