Re: CMake and Ruby1.9 for Ubuntu 12.04 LTS

2012-11-07 Thread Ma Xiaojun
On Wed, Nov 7, 2012 at 5:45 PM, Benjamin Drung  wrote:
> I disagree. A new software version can bring new features, but also a
> lot of new bugs. There are even examples of new version that reduces the
> functionality to simplify the program.

True. Nautilus 3.6 is a notable example. The whole GNOME 3 stack can
be a downgrade for some people. Even GIMP 2.8 (Oops, it forces XCF
saving) or LibreOffice 3.6 (Oops, it removes old set of Impress
templates and switched to a entirely different one) can be arguable.

The problem is, do Ubuntu developers try to understand the issue in a
case-by-case manner? Or they should at least honestly ask users to
provide more information. I guess not.

> Do you have examples for your claim? The smaller the diff, the better.
> Cherry-picking a patch for a bug is more likely to get accepted than
> trying to push a new upstream version.

https://bugs.launchpad.net/ubuntu/+source/texlive-base/+bug/1005710
https://bugs.launchpad.net/ubuntu/+source/ibus/+bug/1072174
https://bugs.launchpad.net/ubuntu/+source/ibus-table/+bug/1063948
https://bugs.launchpad.net/ubuntu/+source/ibus-table-chinese/+bug/1063938

The last two bugs are not true SRU bugs yet and they are on my TODO
list. I hope I won't get WONTFIX eventually.

As I said before, judge by size is simple and naive. If you don't
understand what changed, at least ask. If you think test cases are not
good enough, at least ask. Don't waste people's time.

Philosophically, good changes don't have to be small.

> Using a PPA is a quicker and less time consuming solution for yourself.
> Following the SRU process takes more time, but then everyone can benefit
> from it.

I used to believe such ideas. However, after I filed / followed some
bugs and got WONTFIX eventually. (They were on my TODO list) I don't
think hoping for SRU is a smart thing any more.

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: CMake and Ruby1.9 for Ubuntu 12.04 LTS

2012-11-07 Thread Benjamin Drung
Am Samstag, den 03.11.2012, 02:28 -0500 schrieb Ma Xiaojun:
> Though newer software is generally better

I disagree. A new software version can bring new features, but also a
lot of new bugs. There are even examples of new version that reduces the
functionality to simplify the program.

> [...] and often contain important
> bug fixings. Ubuntu developers (with upload right) would often ignore
> or reject such SRU requests. Their excuse are always a magical word
> called regression.

Do you have examples for your claim? The smaller the diff, the better.
Cherry-picking a patch for a bug is more likely to get accepted than
trying to push a new upstream version.

> So I guess having a PPA for your own use is the best solution.

Using a PPA is a quicker and less time consuming solution for yourself.
Following the SRU process takes more time, but then everyone can benefit
from it.

-- 
Benjamin Drung
Debian & Ubuntu Developer


-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: CMake and Ruby1.9 for Ubuntu 12.04 LTS

2012-11-07 Thread Benjamin Drung
Am Samstag, den 27.10.2012, 14:36 +0200 schrieb Chris Müller:
> Hi,
> 
> We have some problems with the current cmake version on the Ubuntu 12.04 
> LTS Distribution that can't find ruby1.9 libraries.
> A simple "find_package(Ruby)" in a CMakeLists.txt throws the follow 
> error (Though ruby1.9-dev is installed):
> 
> -e:1: Use RbConfig instead of obsolete and deprecated Config.
> -e:1: Use RbConfig instead of obsolete and deprecated Config.
> -- Could NOT find Ruby (missing:  RUBY_LIBRARY) (found version
> "1.9.1")
> -- Ruby library not found. Skipping Ruby parts for this package
> -- found Ruby version 1.9.3
> 
> 
> 
> There exists 5 commits for CMake 2.8.8 that are handling this.
> See: http://www.cmake.org/pipermail/cmake/2012-October/052514.html
> 
> Testing 2.8.9 (build from sources) let my minimal example working.
> 
> I hope to reach the package maintainer for this because a bugfix in the 
> ubuntu repositories would be the cleanest solution.

We have a stable release update (SRU) process [1], which can be applied
for this bug.

Someone needs to do the packaging work (grab the five patches and put it
in the source package), create a bug against cmake, state a test case
(commands to reproduce the error you stated above), think about possible
regressions.

We have no concept of package maintainers in Ubuntu. Every Ubuntu
developer can touch any package. We have the sponsoring process [2] for
getting a package uploaded if you do not have upload rights. You are
welcome to get involved and follow the SRU process [2] instead of
waiting for an Ubuntu developer to do it. We tend to be busy with a lot
of stuff.

[1] https://wiki.ubuntu.com/StableReleaseUpdates
[2] https://wiki.ubuntu.com/SponsorshipProcess

-- 
Benjamin Drung
Debian & Ubuntu Developer


-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: CMake and Ruby1.9 for Ubuntu 12.04 LTS

2012-11-03 Thread Ma Xiaojun
Though newer software is generally better and often contain important
bug fixings. Ubuntu developers (with upload right) would often ignore
or reject such SRU requests. Their excuse are always a magical word
called regression.

To be fair, it's good to carefully consider regression risks. The
problem is that the developers generally do not try to do good testing
at all. They would blindly say, hey the debdiff is quite large so it
can't be accepted.

So I guess having a PPA for your own use is the best solution. Old
release has old, known, cannot-SRU thus stuck bugs. New release fix
some old bugs and introduce new probably unknown bugs. Most new bugs
will also stuck and never get fix since SRU chance is really low. Your
own PPA can fix whatever bugs annoys you.

( The support period is mostly about security. )

You will have to spend some time with the ugly Debian packaging tools, though.

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


CMake and Ruby1.9 for Ubuntu 12.04 LTS

2012-10-27 Thread Chris Müller

Hi,

We have some problems with the current cmake version on the Ubuntu 12.04 
LTS Distribution that can't find ruby1.9 libraries.
A simple "find_package(Ruby)" in a CMakeLists.txt throws the follow 
error (Though ruby1.9-dev is installed):


   -e:1: Use RbConfig instead of obsolete and deprecated Config.
   -e:1: Use RbConfig instead of obsolete and deprecated Config.
   -- Could NOT find Ruby (missing:  RUBY_LIBRARY) (found version
"1.9.1")
   -- Ruby library not found. Skipping Ruby parts for this package
   -- found Ruby version 1.9.3



There exists 5 commits for CMake 2.8.8 that are handling this.
See: http://www.cmake.org/pipermail/cmake/2012-October/052514.html

Testing 2.8.9 (build from sources) let my minimal example working.

I hope to reach the package maintainer for this because a bugfix in the 
ubuntu repositories would be

 the cleanest solution.

Chris

--
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss