[pacman-dev] makepkg: "no" options
Hello, I've seen today building a package that the "noemptydirs" option will be dropped off makepkg for using !emptydirs within the next version of makepkg. Well, i've made use quite a lot of this, so when will be the next version? I'd need about a weekend for all the packages using it, do i have a weekend for this? Thanks, Georg
On Fri, 11 May 2007 15:21:52 +0200, Georg Grabler wrote
Hello,
I've seen today building a package that the "noemptydirs" option will be dropped off makepkg for using !emptydirs within the next version of makepkg.
Well, i've made use quite a lot of this, so when will be the next version? I'd need about a weekend for all the packages using it, do i have a weekend for this?
Not a direct answer to your question, since I'm not entirely sure when "the next" makepkg is planned, but have you tried: find -name PKGBUILD -exec grep "noemptydirs" {} \; in whatever root directory you store your PKGBUILDs off? If all that shows is the options= lines, then you should be able to fix all your packages in one swipe with something like: find -name PKGBUILD -exec sed -i "s/noemptydirs/\!emptydirs/g" {} \; -- Travis
Simply, since mOLOk asked me to change this in my pkgbuilds. I actually used the find statement to remove empty dirs before. Well, a next version could be 3.0.5 as well ;). That's why i've been asking. I'll change that anyway, better now than later. On 5/11/07, Travis Willard <travis@archlinux.org> wrote:
On Fri, 11 May 2007 15:21:52 +0200, Georg Grabler wrote
Hello,
I've seen today building a package that the "noemptydirs" option will be dropped off makepkg for using !emptydirs within the next version of makepkg.
Well, i've made use quite a lot of this, so when will be the next version? I'd need about a weekend for all the packages using it, do i have a weekend for this?
Not a direct answer to your question, since I'm not entirely sure when "the next" makepkg is planned, but have you tried:
find -name PKGBUILD -exec grep "noemptydirs" {} \;
in whatever root directory you store your PKGBUILDs off? If all that shows is the options= lines, then you should be able to fix all your packages in one swipe with something like:
find -name PKGBUILD -exec sed -i "s/noemptydirs/\!emptydirs/g" {} \;
-- Travis
_______________________________________________ pacman-dev mailing list pacman-dev@archlinux.org http://archlinux.org/mailman/listinfo/pacman-dev
2007/5/11, Georg Grabler <ggrabler@gmail.com>:
Simply, since mOLOk asked me to change this in my pkgbuilds. I actually used the find statement to remove empty dirs before.
Well, a next version could be 3.0.5 as well ;). That's why i've been asking.
I'll change that anyway, better now than later.
Yeah, it's no problem to do with PKGBUILDs in Unsupported. But when it comes to Community - it's not worth to reupload a package with only that cosmethic change and force users to download it on -Syu. Keeping that in mind I added arch=('i686' 'x86_64') and license=... to CVS for all my packages, but didn't release pgkrel-bumped versions just with these changes. But every time I update a package I already have all those changes now, so I don't worry about adding those changes now. :-) -- Roman Kyrylych (Роман Кирилич)
On 5/11/07, Georg Grabler <ggrabler@gmail.com> wrote:
Well, a next version could be 3.0.5 as well ;). That's why i've been asking.
I'll change that anyway, better now than later.
Yeah maybe we should have worded it differently. It is not a major change, but is done to be more in line with other arch arrays, so there's no reason to force the usage just yet (as in license and arch arrays) When I see or say "next version" it usually means 3.1, just so we're clear
2007/5/11, Georg Grabler <ggrabler@gmail.com>:
Hello,
I've seen today building a package that the "noemptydirs" option will be dropped off makepkg for using !emptydirs within the next version of makepkg.
Well, i've made use quite a lot of this, so when will be the next version? I'd need about a weekend for all the packages using it, do i have a weekend for this?
I used no* options until 3.0.4 hit current. You have much more time (I doubt pacman 3.1 wil be in less than a month and I'm unsure if it will remove no* options syntax support, or it will be done in some next version). There's no need to update package just to change options to new standard. This can be done at the same time as usual pkgver bumping. -- Roman Kyrylych (Роман Кирилич)
On 5/11/07, Roman Kyrylych <roman.kyrylych@gmail.com> wrote:
2007/5/11, Georg Grabler <ggrabler@gmail.com>:
Hello,
I've seen today building a package that the "noemptydirs" option will be dropped off makepkg for using !emptydirs within the next version of makepkg.
Well, i've made use quite a lot of this, so when will be the next version? I'd need about a weekend for all the packages using it, do i have a weekend for this?
I used no* options until 3.0.4 hit current. You have much more time (I doubt pacman 3.1 wil be in less than a month and I'm unsure if it will remove no* options syntax support, or it will be done in some next version). There's no need to update package just to change options to new standard. This can be done at the same time as usual pkgver bumping.
The intention was that it would give packagers time to do this in their normal version bumping and rebuilding of packages, although using a sed on your PKGBUILDs should work just fine and is quick and easy. You have plenty of time. -Dan
participants (5)
-
Aaron Griffin
-
Dan McGee
-
Georg Grabler
-
Roman Kyrylych
-
Travis Willard