|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Request for $DESTDIR support in MakefileHi guys.
It would make life a lot easier for both packagers and testers if the autotools based build system could be made to support DESTDIR, like most other autotools based packages does. Doing stuff like "./configure --prefix=/usr && make DESTDIR=/tmp/my-new-mesa- package install" makes it easier to verify that everything ends in up the right place, to do post install operations like stripping, creating symlinks, gzipping manpages etc, and finally, making "real" packages. Especially over the last period of time (with so much cool heavy development going on), has it been valuable to me to test things in various combinations, for which package creation is naturally rather convenient. Each of the xorg components support DESTDIR, but i have used a patch to fix this in mesa. However, the patch that i found does not apply on 7.6-devel, and i am not savy enough to figure out what-goes-where now :-/ I do, however, know that Slackware, Arch Linux and cross compiling people use DESTDIR when available, simply because it is the easiest way (anyone intimate with Debian or RH based build systems care to speak up?). It is a small change that will make life a lot easier for a lot of people, and it will make it easier to test and bug report the latest and greatest in Mesa development. I hope you will invest the time it takes to make Mesa testing more accessible to the public. Yours Sincerely - Anders Juel Jensen -- For reference: the general way packages are build in Slackware goes like this: ./configure --options make make DESTDIR=/tmp/package install cd /tmp/package makepkg package-name-x.y.z-$ARCH-$BUILD.tgz And viola, we have a package that can be installed/removed in no time.. pretty nifty when you want to try a series of patches in different combinations, or you want to try different releases against different xservers/kernels/libdrms ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@... https://lists.sourceforge.net/lists/listinfo/mesa3d-dev |
|
|
Re: Request for $DESTDIR support in MakefileHi,
Anders Juel Jensen <andersjjensen@...> writes: > It would make life a lot easier for both packagers and testers if > the autotools based build system could be made to support DESTDIR, > like most other autotools based packages does. This is the wrong forum/time to ask this question, but I've noted similar support mentioned in other contexts here and again and never understood the point. It seems to me like "./configure --prefix=/tmp/my-new-mesa-package/usr && make && make install" would have the same effect. What does DESTDIR accomplish that prefix does not? Thanks, -tom ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@... https://lists.sourceforge.net/lists/listinfo/mesa3d-dev |
|
|
Re: Request for $DESTDIR support in MakefileOn Mon, Jul 6, 2009 at 6:01 PM, Anders Juel
Jensen<andersjjensen@...> wrote: > Hi guys. > > It would make life a lot easier for both packagers and testers if the > autotools based build system could be made to support DESTDIR, like most other > autotools based packages does. Mesa does support DESTDIR. I use it extensively when testing out builds. What version are you trying to build? What files end up outside the DESTDIR? -- Dan ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@... https://lists.sourceforge.net/lists/listinfo/mesa3d-dev |
|
|
Re: Request for $DESTDIR support in MakefileOn Mon, Jul 6, 2009 at 6:45 PM, tom fogal<tfogal@...> wrote:
> Hi, > > Anders Juel Jensen <andersjjensen@...> writes: > >> It would make life a lot easier for both packagers and testers if >> the autotools based build system could be made to support DESTDIR, >> like most other autotools based packages does. > > This is the wrong forum/time to ask this question, but I've noted > similar support mentioned in other contexts here and again and never > understood the point. > > It seems to me like "./configure --prefix=/tmp/my-new-mesa-package/usr > && make && make install" would have the same effect. What does DESTDIR > accomplish that prefix does not? The package may be built differently depending on what the final destination (controlled by --prefix) is. Among other things: - paths entered in data such as the pkg-config .pc files will be wrong - you may get an incorrect rpath encoded into the binaries (usually only happens with libtool) - the build may make different decisions if you are installing to a system directory (/usr) vs. a temporary path -- Dan ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@... https://lists.sourceforge.net/lists/listinfo/mesa3d-dev |
|
|
Re: Request for $DESTDIR support in MakefileOn Tuesday 07 July 2009 04:46:24 Dan Nicholson wrote:
> On Mon, Jul 6, 2009 at 6:45 PM, tom fogal<tfogal@...> wrote: > > Hi, > > > > Anders Juel Jensen <andersjjensen@...> writes: > >> It would make life a lot easier for both packagers and testers if > >> the autotools based build system could be made to support DESTDIR, > >> like most other autotools based packages does. > > > > This is the wrong forum/time to ask this question, but I've noted > > similar support mentioned in other contexts here and again and never > > understood the point. > > > > It seems to me like "./configure --prefix=/tmp/my-new-mesa-package/usr > > && make && make install" would have the same effect. What does DESTDIR > > accomplish that prefix does not? > > The package may be built differently depending on what the final > destination (controlled by --prefix) is. Among other things: > > - paths entered in data such as the pkg-config .pc files will be wrong > - you may get an incorrect rpath encoded into the binaries (usually > only happens with libtool) > - the build may make different decisions if you are installing to a > system directory (/usr) vs. a temporary path > > -- > Dan Sorry for the noise.. i was just thrown off by the fact that if you actually grep all the Makefiles for DESTDIR after ./configure it comes up empty. I will try to investigate a little more closely next time, before i waste anyone elses time :-/ /Anders ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@... https://lists.sourceforge.net/lists/listinfo/mesa3d-dev |
| Free embeddable forum powered by Nabble | Forum Help |