View | Details | Raw Unified | Return to bug 197878
Collapse All | Expand All

(-)special/chapter.xml (-35 / +42 lines)
Lines 4125-4138 Link Here
4125
    <para><varname>USE_XFCE</varname> is used to
4125
    <para><varname>USE_XFCE</varname> is used to
4126
      autoconfigure the dependencies for ports which use an Xfce
4126
      autoconfigure the dependencies for ports which use an Xfce
4127
      based library or application like
4127
      based library or application like
4128
      <package role="port">x11-toolkits/libxfce4gui</package>
4128
      <package role="port">x11/libxfce4menu</package> and <package
4129
      and <package role="port">x11-wm/xfce4-panel</package>.</para>
4129
      role="port">x11-wm/xfce4-panel</package>.</para>
4130
4130
      
4131
    <para>These Xfce libraries and applications are
4131
    <para>These Xfce libraries and applications are
4132
      recognized:</para>
4132
      recognized:</para>
4133
4133
4134
    <itemizedlist>
4134
    <itemizedlist>
4135
      <listitem>
4135
      <listitem>
4136
	<para>garcon: <package
4137
	    role="port">sysutils/garcon</package></para>
4138
      </listitem>
4139
4140
      <listitem>
4136
	<para>libexo: <package
4141
	<para>libexo: <package
4137
	    role="port">x11/libexo</package></para>
4142
	    role="port">x11/libexo</package></para>
4138
      </listitem>
4143
      </listitem>
Lines 4143-4163 Link Here
4143
      </listitem>
4148
      </listitem>
4144
4149
4145
      <listitem>
4150
      <listitem>
4146
	<para>libutil: <package
4151
	<para>libmenu: <package
4147
	    role="port">x11/libxfce4util</package></para>
4152
	    role="port">x11/libxfce4menu</package></para>
4148
      </listitem>
4153
      </listitem>
4149
4154
4150
      <listitem>
4155
      <listitem>
4151
	<para>libmcs: <package
4156
	<para>libutil: <package
4152
	    role="port">x11/libxfce4mcs</package></para>
4157
	    role="port">x11/libxfce4util</package></para>
4153
      </listitem>
4158
      </listitem>
4154
4159
4155
      <listitem>
4160
      <listitem>
4156
	<para>mcsmanager: <package
4157
	    role="port">sysutils/xfce4-mcs-manager</package></para>
4158
      </listitem>
4159
4160
      <listitem>
4161
	<para>panel: <package
4161
	<para>panel: <package
4162
	    role="port">x11-wm/xfce4-panel</package></para>
4162
	    role="port">x11-wm/xfce4-panel</package></para>
4163
      </listitem>
4163
      </listitem>
Lines 4168-4204 Link Here
4168
      </listitem>
4168
      </listitem>
4169
4169
4170
      <listitem>
4170
      <listitem>
4171
	<para>wm: <package
4171
	<para>xfconf: <package
4172
	    role="port">x11-wm/xfce4-wm</package></para>
4172
	    role="port">x11/xfce4-conf</package></para>
4173
      </listitem>
4173
      </listitem>
4174
4175
      <listitem>
4176
	<para>xfdev: <package
4177
	    role="port">dev/xfce4-dev-tools</package></para>
4178
      </listitem>
4179
    </itemizedlist>
4174
    </itemizedlist>
4180
4175
4181
    <para>These additional parameters are recognized:</para>
4176
    <para>Always up-to-date list can be found in
4177
      <filename>/usr/ports/Mk/Uses/xfce.mk</filename>.</para>
4182
4178
4183
    <itemizedlist>
4179
    <example xml:id="use-xfce">
4184
      <listitem>
4180
      <title><varname>USES= xfce</varname> Example</title>
4185
	<para>configenv: Use this if the port requires a special
4186
	  modified <varname>CONFIGURE_ENV</varname> to find its
4187
	  required libraries.</para>
4188
4181
4189
	<programlisting>-I&dollar;{LOCALBASE}/include -L&dollar;{LOCALBASE}/lib</programlisting>
4182
      <programlisting>USES=           xfce
4183
USE_XFCE=       libmenu</programlisting>
4184
    </example>
4190
4185
4191
	<para>gets added to CPPFLAGS to
4186
    <example xml:id="use-xfce-gtk3">
4192
	  <varname>CONFIGURE_ENV</varname>.</para>
4187
      <title>Using own Xfce GTK3 Widgets</title>
4193
      </listitem>
4194
    </itemizedlist>
4195
4188
4196
    <para>Therefore, if a port has a dependency on
4189
      <para>In this example, the ported application uses the GTK3
4197
      <package role="port">sysutils/xfce4-mcs-manager</package>
4190
	specifics widgets, <package
4198
      and requires the special CPPFLAGS in its configure
4191
	role="port">x11/libxfce4menu</package> and <package
4199
      environment, the syntax will be:</para>
4192
	role="port">x11/xfce4-conf</package>.</para>
4193
      <programlisting>USES=           xfce:gtk3
4194
USE_XFCE=       libmenu xfconf</programlisting>
4195
    </example>
4200
4196
4201
    <programlisting>USE_XFCE=	mcsmanager configenv</programlisting>
4197
    <tip>
4198
      <para>The new framework can find dependencies recursively. It is no
4199
	longer necessary to specify the entire list.</para>
4200
4201
      <programlisting>USES=           xfce
4202
USE_XFCE=       panel</programlisting>
4203
4204
      <para>is equivalent to:</para>
4205
4206
      <programlisting>USES=           xfce
4207
USE_XFCE=       libexo libmenu libutil panel</programlisting>
4208
    </tip>
4202
  </sect1>
4209
  </sect1>
4203
4210
4204
  <sect1 xml:id="using-mozilla">
4211
  <sect1 xml:id="using-mozilla">
(-)uses/chapter.xml (+16 lines)
Lines 1298-1303 Link Here
1298
	    </itemizedlist></entry>
1298
	    </itemizedlist></entry>
1299
	</row>
1299
	</row>
1300
1300
1301
	<row xml:id="uses-xfce">
1302
	  <entry><literal>xfce</literal></entry>
1303
1304
	  <entry>(none), <literal>gtk3</literal></entry>
1305
1306
	  <entry>
1307
	    <para>Handle dependencies needed by Xfce libraries. For
1308
	      more information see <xref
1309
	      linkend="using-xfce"/>.</para>
1310
1311
	    <para>The <literal>gtk3</literal> argument specifies that
1312
	      port requires GTK3 features provided by <package
1313
	      role="port">x11/libxfce4menu</package>.</para>
1314
	  </entry>
1315
	</row>
1316
1301
	<row xml:id="uses-zip">
1317
	<row xml:id="uses-zip">
1302
	  <entry><literal>zip</literal></entry>
1318
	  <entry><literal>zip</literal></entry>
1303
1319

Return to bug 197878