[opensuse-packaging] Still a long way to go on PHP.
Hi, all Yesterday I promise Ralf Lang <lang@b1-systems.de> that I would take care of long unmaintained package xinc. And I find there's still a long way to go on PHP. 1. we lack a wiki package. Portal:Packaging Packaging:PHP doesn't exist, and I have to refer to Fedora. to me, knowing nothing about PHP, I have to follow other packages' specfiles to find my way. a wiki page will help a lot. 2. we even lack a RPM Group named Development/Languages/PHP and many macros like %{__pear}, related rpmlint checks You can see /usr/lib/rpm/macro.php is nearly empty. macros.suse have no line of PHP. and rpmlint errors & warning seems ignore that series too. Hope this situation could change in the near future and some one developing it can see and fulfill our needs. Marguerite. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Am 28.02.2012 14:25, schrieb Marguerite Su:
Hi, all
Yesterday I promise Ralf Lang<lang@b1-systems.de> that I would take care of long unmaintained package xinc.
And I find there's still a long way to go on PHP.
1. we lack a wiki package. Portal:Packaging Packaging:PHP doesn't exist, and I have to refer to Fedora.
True.
to me, knowing nothing about PHP, I have to follow other packages' specfiles to find my way. a wiki page will help a lot.
2. we even lack a RPM Group named Development/Languages/PHP and many macros like %{__pear}, related rpmlint checks
We have macros for handling pear packages. refer the phpunit and horde packages in s:p:a to see how we use %php_pear_gen_filelist, %find_lang and %fdupes Most php libraries are in rpm group development/libraries/php pear packaged library files usually are named php5-pear-{library} or php5-pear-{channel}-{library}
You can see /usr/lib/rpm/macro.php is nearly empty. macros.suse have no line of PHP. and rpmlint errors& warning seems ignore that series too.
Hope this situation could change in the near future and some one developing it can see and fulfill our needs.
Yes. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Tue, Feb 28, 2012 at 9:29 PM, Ralf Lang <lang@b1-systems.de> wrote:
Am 28.02.2012 14:25, schrieb Marguerite Su:
Hi, all
Yesterday I promise Ralf Lang<lang@b1-systems.de> that I would take care of long unmaintained package xinc.
And I find there's still a long way to go on PHP.
1. we lack a wiki package. Portal:Packaging Packaging:PHP doesn't exist, and I have to refer to Fedora.
True.
to me, knowing nothing about PHP, I have to follow other packages' specfiles to find my way. a wiki page will help a lot.
2. we even lack a RPM Group named Development/Languages/PHP and many macros like %{__pear}, related rpmlint checks
We have macros for handling pear packages. refer the phpunit and horde packages in s:p:a to see how we use %php_pear_gen_filelist, %find_lang and %fdupes
Most php libraries are in rpm group development/libraries/php
pear packaged library files usually are named
php5-pear-{library} or php5-pear-{channel}-{library}
Yes, I saw the usage of %php_pear_gen_filelist. and I saw the RPM Group in many pear packages is Development/Languages, which will prompt a "non-standard-group" warning. so maybe we still need that group. or an exception in rpmlint. and It seems (I haven't checked that) such usage like Requires: php5-channel(xinc) or Provides: php5-pear(xinc/xinc) = %{version}-%{release} which is mentioned in Fedora wiki is not supported yet.
You can see /usr/lib/rpm/macro.php is nearly empty. macros.suse have no line of PHP. and rpmlint errors& warning seems ignore that
series too.
Hope this situation could change in the near future and some one developing it can see and fulfill our needs.
Yes. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Yes, I saw the usage of %php_pear_gen_filelist. and I saw the RPM Group in many pear packages is Development/Languages, which will prompt a "non-standard-group" warning. so maybe we still need that group. or an exception in rpmlint.
Development/Libraries/PHP should not trigger warnings.
and It seems (I haven't checked that) such usage like Requires: php5-channel(xinc) or Provides: php5-pear(xinc/xinc) = %{version}-%{release} which is mentioned in Fedora wiki is not supported yet.
Use instead: BuildRequires: php5-pear-channel-xinc Requires: php5-pear-channel-xinc I will need to write some docs on all this, I currently just lack time. -- Ralf Lang Linux Consultant / Developer Tel.: +49-170-6381563 Mail: lang@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Am 28.02.2012 14:42, schrieb Marguerite Su:
On Tue, Feb 28, 2012 at 9:29 PM, Ralf Lang<lang@b1-systems.de> wrote:
Am 28.02.2012 14:25, schrieb Marguerite Su:
Hi, all
Yesterday I promise Ralf Lang<lang@b1-systems.de> that I would take care of long unmaintained package xinc.
And I find there's still a long way to go on PHP.
1. we lack a wiki package. Portal:Packaging Packaging:PHP doesn't exist, and I have to refer to Fedora.
I have now created http://en.opensuse.org/openSUSE:Packaging_PHP#Packaging_a_pear_channel though it's just a start. -- Ralf Lang Linux Consultant / Developer Tel.: +49-170-6381563 Mail: lang@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Tue, Feb 28, 2012 at 9:12 AM, Ralf Lang <lang@b1-systems.de> wrote:
Am 28.02.2012 14:42, schrieb Marguerite Su:
On Tue, Feb 28, 2012 at 9:29 PM, Ralf Lang<lang@b1-systems.de> wrote:
Am 28.02.2012 14:25, schrieb Marguerite Su:
Hi, all
Yesterday I promise Ralf Lang<lang@b1-systems.de> that I would take care of long unmaintained package xinc.
And I find there's still a long way to go on PHP.
1. we lack a wiki package. Portal:Packaging Packaging:PHP doesn't exist, and I have to refer to Fedora.
I have now created http://en.opensuse.org/openSUSE:Packaging_PHP#Packaging_a_pear_channel though it's just a start.
I added a Category tag at the end of the page. It now shows up on: http://en.opensuse.org/Portal:Packaging Greg -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (3)
-
Greg Freemyer
-
Marguerite Su
-
Ralf Lang