[Sugar-devel] Initial Release: Sugar packages 0.116 for Arch Linux
James Cameron
quozl at laptop.org
Thu Feb 6 15:52:33 EST 2020
Yes, Empy is a build time dependency. It is not used at run time.
(I don't know why Empy was chosen. Other GNU/Linux packages have used
m4(1) as this is almost always present on a standard system.)
On Thu, Feb 06, 2020 at 08:16:18PM +0300, Srevin Saju wrote:
> Thanks Sebastian. I will remove the empy package, yes I guess its a build time
> dependency, but it seems like the older PKGBUILD by Ballo Gyorfy used it not as
> build dependency, but I wait for Quozl or someone else to confirm. I am
> currently adding python2 support to sugar2-toolkit-gtk3, unreleased. Thanks for
> testing. Hope other activities work satisfactorily.
>
> On Thu, Feb 6, 2020 at 7:59 PM Sebastian Silva <[1]sebastian at fuentelibre.org>
> wrote:
>
> Okay, I was able to run Calculate from the Git repository.
>
> I suggest you to remove package python3-empy from your release, as it's
> a build-time dependency and it seems not to be needed for running Sugar
> or activities?
>
> Also the .INSTALL problem with your package seems to be unrelated to
> the issue you posted (but explains why you made the package).
>
> Regards,
> Sebastian
>
> El jue, 06-02-2020 a las 19:47 +0300, Srevin Saju escribió:
> > Great, thanks for the update. In this package, I have dropped support
> > for Python2 activities, (I have forgotten to mention that), as
> > python2 support has become deprecated, I have moved all the activity
> > support to python3, please see if any python3 based activities work
> > on the new system. I am currently working on Python2 support too,
> > will update you shortly.
> >
> > Python3 activities:
> > All Sugar Fructose Activities, latest sources from git
> > All Sugar Activities on GitHub, with Port to Python3 PR merged
> > Thanks again. Looking forward for more updates.
> >
> > On Thu, Feb 6, 2020 at 7:34 PM Sebastian Silva <
> > [2]sebastian at fuentelibre.org> wrote:
> > > Thanks,
> > > I installed the remaining packages and the native python-empy
> > > package.
> > > While Sugar starts ok, activities fail with:
> > >
> > > Traceback (most recent call last):
> > > File "/usr/bin/sugar-activity", line 3, in <module>
> > > from sugar3.activity import activityinstance
> > > ImportError: No module named sugar3.activity
> > >
> > > Getting closer...
> > > Regards,
> > > Sebastian
> > >
> > > El jue, 06-02-2020 a las 19:16 +0300, Srevin Saju escribió:
> > > > Thanks for testing, Sebastian. This is because, the python-empy
> > > > package on Fedora Distribution and Arch Linux distribution works,
> > > by
> > > > only creating the module in python. After installing the native
> > > > Fedora or Arch Linux, we would be able use empty by
> > > > ```
> > > > python3
> > > > >>> import empy
> > > > ```
> > > > But, Ubuntu distributions have a special symlink to empy, so If a
> > > > manual build goes on, I guess it searches in /usr/bin, for empy
> > > or
> > > > empy3, although it's installed as a python module, it is not
> > > detected
> > > > on build. this was workaround'd in the easiest way by me on
> > > Fedora:
> > > > * convert the working DEB (Ubuntu version) to RPM.
> > > > on Arch Linux
> > > > * convert the working DEB to PKG (using debtap)
> > > > Installing the modified python-empy version derived from the Deb
> > > > package, helps to create the symlink without changing the package
> > > > itself.
> > > > See [3]https://github.com/sugarlabs/sugar/issues/896 for information
> > > on
> > > > the link.
> > > >
> > > > Finally, about the error, the error can be temporarily ignored
> > > until
> > > > it's fixed on the #896 on sugar repository, the package is
> > > installed
> > > > successfully, you can proceed with the rest of the steps.
> > > >
> > > > If a solution for it is found in future on #896, it can be
> > > removed
> > > > the usual way, removing all of the remnants of the installation.
> > > > Alternatively, you may also try other solution, but this method
> > > has
> > > > been confirmed to be working by Markismus, another Arch User for
> > > > Sugar
> > > >
> > > > Please let me know if it indeed works for you and you could login
> > > to
> > > > your Sugar Desktop. Great Help.
> > > >
> > > >
> > > > On Thu, 6 Feb 2020, 16:57 Sebastian Silva, <
> > > [4]sebastian at fuentelibre.org
> > > > > wrote:
> > > > > Hi Srevin,
> > > > > I downloaded the packages and tried installing them. As
> > > instructed
> > > > > I installed python3-empy-3.3.2-1-any.pkg.tar.xz first, but then
> > > I
> > > > > got this error:
> > > > >
> > > > > :: Processing package changes...
> > > > > (1/1) installing python3-
> > > > > empy
> > > [######################
> > > > > ################] 100%
> > > > > /tmp/alpm_oAGVZn/.INSTALL: line 21: syntax error near
> > > unexpected
> > > > > token `}'
> > > > > /tmp/alpm_oAGVZn/.INSTALL: line 21: `}'
> > > > > :: Running post-transaction hooks...
> > > > > (1/1) Arming ConditionNeedsUpdate...
> > > > >
> > > > > Looking forward to test again.
> > > > > Regards,
> > > > >
> > > > > Sebastian
> > > > >
> > > > > El jue, 06-02-2020 a las 16:24 +0300, Srevin Saju escribió:
> > > > > > An Initial release for
> > > > > > * Sugar 0.116
> > > > > > * Sugar Artwork 0.116
> > > > > > * Sugar Datastore 0.116
> > > > > > * Sugar Toolkit GTK3 0.116
> > > > > > * Sugar runner 0.110 (master)
> > > > > > * gwebsockets 0.7
> > > > > >
> > > > > > has been published as prerelease to
> > > > > > [5]https://github.com/srevinsaju/sugar-arch/releases/tag/0.116.
> > > > > > Some developer filed a deletion request on the python3
> > > packages
> > > > > > on the AUR, as it was claimed to be a duplicate of the
> > > original
> > > > > > version (sugar 0.114 pkg by Ballo Gyorgy). If it works good
> > > for
> > > > > > any of the Arch Users, it can be pushed to the community
> > > packages
> > > > > > with the permission of Ballo Gyorgy.
> > > > > >
> > > > > > _______________________________________________
> > > > > > Sugar-devel mailing list
> > > > > > [6]Sugar-devel at lists.sugarlabs.org
> > > > > >
> > > > > > [7]http://lists.sugarlabs.org/listinfo/sugar-devel
> > > > > >
> > >
>
> References:
>
> [1] mailto:sebastian at fuentelibre.org
> [2] mailto:sebastian at fuentelibre.org
> [3] https://github.com/sugarlabs/sugar/issues/896
> [4] mailto:sebastian at fuentelibre.org
> [5] https://github.com/srevinsaju/sugar-arch/releases/tag/0.116
> [6] mailto:Sugar-devel at lists.sugarlabs.org
> [7] http://lists.sugarlabs.org/listinfo/sugar-devel
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
--
James Cameron
http://quozl.netrek.org/
More information about the Sugar-devel
mailing list