[winswitch] [ANNOUNCE] xpra 0.3.0

Neal Becker ndbecker2 at gmail.com
Tue May 22 16:46:21 BST 2012


One suggestion:
Use your revision control system to create a file called 'version'.  Then
you can have various other things read it.  Then, just normal use of
revision control ensures everything is in sync.

On Tue, May 22, 2012 at 11:34 AM, Antoine Martin <antoine at nagafix.co.uk>wrote:

> On 22/05/12 22:23, Neal Becker wrote:
> > I'm just trying to build winswitch from srpm, and it has issues:
> >
> > #1 issue:
> >
> > Need this:
> > %define version 0.12.13
> >
> > This won't work unless winswitch is installed already:
> >
> > %{!?version: %define version %(%{__python} -c "from winswitch import
> > __version__; print  __version__")}
> Hmm, I did this because I was just tired of forgetting to bump the
> version in so many different places everytime I make a new build...
>
>
> > #2 issue:
> >
> > + cd /home/nbecker/rpmbuild/BUILD
> > + cd winswitch-0.12.13
> > + LANG=C
> > + export LANG
> > + unset DISPLAY
> > + /usr/bin/python setup.py build
> > sys.argv=['setup.py', 'build']
> > Traceback (most recent call last):
> >   File "setup.py", line 84, in <module>
> >     import add_build_info
> > ImportError: No module named add_build_info
> > error: Bad exit status from /var/tmp/rpm-tmp.jGwdR6 (%build)
> >
> > Doesn't look like this could have ever worked :(
> Oh, but it does..
> My automated build scripts place the root of the source tree on the
> PYTHONPATH so that both of these problems go away, without needing to
> update the versions by hand everytime.
>
> It's not elegant, and it's probably not right for packagers, but it
> saves me a lot of time... suggestions welcome!
>
> Cheers
> Antoine
>
>
>
>
> >
> > On Tue, May 22, 2012 at 11:21 AM, Neal Becker <ndbecker2 at gmail.com>
> wrote:
> >
> >> I do not recommend using atrpms.  This will often cause nasty conflicts.
> >>
> >> Use rpmfusion.  And then use x264-devel (not libx264...)
> >>
> >> Also, I needed a couple patches to build from srpm
> >>
> >> Basically, change build to:
> >>
> >> %build
> >> cd parti-all-%{version}
> >> rm -rf build install
> >> python make_constants_pxi.py wimpiggy/lowlevel/constants.txt
> >> wimpiggy/lowlevel/constants.pxi
> >> python setup.py build
> >>
> >>
> >> On Tue, May 22, 2012 at 11:14 AM, Antoine Martin <antoine at nagafix.co.uk
> >wrote:
> >>
> >>>  On 22/05/12 21:37, Neal Becker wrote:
> >>>
> >>> On fedora, need also:
> >>>
> >>> yum install x264-devel ffmpeg-devel
> >>>
> >>>
> >>>  The development instructions have this info here:
> >>> https://xpra.org/dev.html#fedora
> >>>
> >>> What I had missed was that on Fedora the binary RPMs needed to depend
> on
> >>> "libx264_118" and not "libx264"...
> >>> I have just re-spun them with the fix, you can grab the new 0.3.0-2
> >>> binary RPMs from here:
> >>> http://xpra.org/dists/Fedora/
> >>>
> >>> Thanks!
> >>> Antoine
> >>>
> >>
>
>



More information about the shifter-users mailing list