Re: [aur-general] AUR package q -- newbie

2020-05-11 Thread Raj Kombiyil via aur-general
Hi Marcus,
Sorry I don't know where to post such questions. I need to get a working
system up and running asap since it helps with work and then understand how
to help with packaging etc.
Thanks much for your help and time. If I may, since I am like a day old in
arch world, pls be kind. I was going through the install messages and it
says :
You have to install this plugin into the same prefix as your gedit
installation (mine installed with pacman -S gedit, resides in
/usr/bin/gedit).
What I did was :
$cd /tmp
$git clone https:://AUR.archlinux.org/gedit-latex.git

$cd gedit-latex
$makepkg -Acs
$sudo pacman -U gedit-latex-3.20.0-1-x86_64.pkg.tar.xz
---
Before, I could just write my .Tex file and Ctrl+alt+1 and will get PDF.
pdflatex is installed via texlive-most pkg. Here, Ctrl+alt+1 doesn't do
anything. What am I missing? Because install was not proper? $which
gedit-latex says no gedit-latex in /user/bin etc.
Now, gedit can see the plugins and I marked the plugin. And also enabled
bottom panel where I see error messages. Here nothing comes. Any idea what
I need to do? Since I am teaching a class, I guess wrong time to play with
arch :(
Thanks in advance for any pointers. Appreciate it.

Thank you,
Raj

On Mon, May 11, 2020, 22:14 Markus Schaaf via aur-general <
aur-general@archlinux.org> wrote:

> Am 11.05.20 um 16:09 schrieb Raj Kombiyil via aur-general:
>
> > https://aur.archlinux.org/packages/gedit-latex
> > I see that in the comments section, there's some issue. The package is
> > updated in 2017 last.
>
> Since I'm using this plugin occasionally, I took the freedom to upload
> https://aur.archlinux.org/packages/gedit-latex-git/
>
> BR
>


Re: [aur-general] AUR package q -- newbie

2020-05-11 Thread Markus Schaaf via aur-general
Am 11.05.20 um 16:09 schrieb Raj Kombiyil via aur-general:

> https://aur.archlinux.org/packages/gedit-latex
> I see that in the comments section, there's some issue. The package is
> updated in 2017 last.

Since I'm using this plugin occasionally, I took the freedom to upload
https://aur.archlinux.org/packages/gedit-latex-git/

BR


Re: [aur-general] AUR package q -- newbie

2020-05-11 Thread Eli Schwartz via aur-general
On 5/11/20 10:09 AM, Raj Kombiyil via aur-general wrote:
> Dear all,
> Greetings!
> Just finished my maiden install of arch-linux on my laptop, with my share
> of headache. But things are running alright now, I guess. It's kind of
> difficult to find packages in one place -- e.g.; I could install gedit
> easily (via pacman), but couldn't find the LaTeX plugin. Searching, I see
> it is in AUR:
> https://aur.archlinux.org/packages/gedit-latex
> I see that in the comments section, there's some issue. The package is
> updated in 2017 last. I know all these will be voluntary work and maybe
> people don't need this plugin much. For me, I could compile LaTeX source on
> the fly, using gedit with this plugin. What should I do to install this
> package?

One advantage of the AUR is that many people have shared their work in
the AUR. One disadvantage is that since they are still, at the end of
the day, unsupported, they might become abandoned by their previous user
and stop working.

You have a couple of options.

- You can try commenting on the package, asking the maintainer to fix
  it.

- You can ask here or in the package requests subforum for some kind
  individual to update it for you, which often (but not always) works:
  https://bbs.archlinux.org/viewforum.php?id=38

- You can try to do it yourself, and ask for guidance (again, here or on
  the forums) which has the additional advantage of letting you learn
  something new, which can be exciting to some, and useful the next time
  you need a package.

I'm personally willing to provide guidance and help walk people through
the process of writing their first PKGBUILD, but I don't just do it for
people. However, don't worry, there are definitely other people who are
willing to do it for you, so you can certainly ask and there's a good
chance one of them will see your request and respond. (I have a gut
impression this happens more often on the forums, FWIW.)


To provide a head start, I'll point out that from a quick look at the
latest version of this plugin (
https://gitlab.gnome.org/GNOME/gedit-latex ) it appears to have been
switched from autotools to meson, which might simplify the build process
a bit but does require some changes.

> I was hoping just to install and move on with my work. I am into science
> computing and don't have the knowledge base to make this work/make packages
> etc. I read good things about Arch, so I picked it. Apologies, I am
> thankful for the great work all the developers/volunteers do, but at this
> moment I just would like something that works.
> Thank you for your time and any help would be greatly appreciated.

We appreciate your thanks. :)

I hope you find a quick resolution, see above.

Please note that writing a package can be fairly simple and easy to pick
up. In case you end up deciding you'd like to try this out, I would
encourage taking a quick look at the following resources to start with:

https://wiki.archlinux.org/index.php/Creating_packages

and https://wiki.archlinux.org/index.php/Classroom#Previous_classes (I
am a big fan of the class titled "The Beginner's Guide to Arch Linux
Package Management" :p)

And of course, you are free to ask any questions, we will be more than
happy to answer.

-- 
Eli Schwartz
Bug Wrangler and Trusted User



signature.asc
Description: OpenPGP digital signature


Re: [aur-general] AUR package q -- newbie

2020-05-11 Thread Chris Billington via aur-general
On Mon, May 11, 2020 at 10:09 AM Raj Kombiyil via aur-general <
aur-general@archlinux.org> wrote:

> Dear all,
> Greetings!
> Just finished my maiden install of arch-linux on my laptop, with my share
> of headache. But things are running alright now, I guess. It's kind of
> difficult to find packages in one place -- e.g.; I could install gedit
> easily (via pacman), but couldn't find the LaTeX plugin. Searching, I see
> it is in AUR:
> https://aur.archlinux.org/packages/gedit-latex
> I see that in the comments section, there's some issue. The package is
> updated in 2017 last. I know all these will be voluntary work and maybe
> people don't need this plugin much. For me, I could compile LaTeX source on
> the fly, using gedit with this plugin. What should I do to install this
> package?
> I was hoping just to install and move on with my work. I am into science
> computing and don't have the knowledge base to make this work/make packages
> etc. I read good things about Arch, so I picked it. Apologies, I am
> thankful for the great work all the developers/volunteers do, but at this
> moment I just would like something that works.
> Thank you for your time and any help would be greatly appreciated.
> Raj
>

It looks like that AUR package is up to date, but that the latest release
of the project does not work properly on newer versions of Gedit. But good
news, it looks like the plugin is working on a new release at the moment:

https://gitlab.gnome.org/GNOME/gedit-latex/-/commit/0c8a2b949739024844dd8c26a0dd3cd02f471fba


So hopefully there will be a release that fixes the bugs soon. Once there
is an official release, you can flag the AUR package as out of date, and
hopefully the packager will have the time and interest to update the AUR
package to the new version. However, it looks like the project has changed
their build system, so the AUR packager will have to do more than just bump
the version number.

If you want to learn about it in the meantime, Arch Linux packaging is not
as complicated as it might seem from the outside. You can look at the
PKGBUILDs from AUR packages as examples, and read about packaging on the
wiki here:

https://wiki.archlinux.org/index.php/Creating_packages

If you comment on the AUR page saying that a new release of the plugin is
in development, I'm sure other users would be interested to know, and
perhaps other users of the package may have the time and motivation to help
package the new release, or discuss what might be involved.

-Chris


Re: [aur-general] AUR package q -- newbie

2020-05-11 Thread Leonidas Spyropoulos via aur-general
On 11/05/20, Raj Kombiyil via aur-general wrote:
> Dear all,
> Greetings!
> Just finished my maiden install of arch-linux on my laptop, with my share
> of headache. But things are running alright now, I guess. It's kind of
> difficult to find packages in one place -- e.g.; I could install gedit
> easily (via pacman), but couldn't find the LaTeX plugin. Searching, I see
> it is in AUR:
> https://aur.archlinux.org/packages/gedit-latex
> I see that in the comments section, there's some issue. The package is
> updated in 2017 last. I know all these will be voluntary work and maybe
> people don't need this plugin much. For me, I could compile LaTeX source on
> the fly, using gedit with this plugin. What should I do to install this
> package?
> I was hoping just to install and move on with my work. I am into science
> computing and don't have the knowledge base to make this work/make packages
> etc. I read good things about Arch, so I picked it. Apologies, I am
> thankful for the great work all the developers/volunteers do, but at this
> moment I just would like something that works.
> Thank you for your time and any help would be greatly appreciated.
> Raj

Hi Raj,

See the wiki page regarding AUR and pay extra attention on the
rerequisites:
https://wiki.archlinux.org/index.php/Arch_User_Repository#Installing_packages

Many use AUR helpers (which come with a big disclaimer that they are not
officially supported)
https://wiki.archlinux.org/index.php/AUR_helpers

I'd recommend familirize yourself with manual building (use of makepkg)
before investing time in an AUR helper.

Cheers,
Leonidas

-- 
Leonidas Spyropoulos

A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?


[aur-general] AUR package q -- newbie

2020-05-11 Thread Raj Kombiyil via aur-general
Dear all,
Greetings!
Just finished my maiden install of arch-linux on my laptop, with my share
of headache. But things are running alright now, I guess. It's kind of
difficult to find packages in one place -- e.g.; I could install gedit
easily (via pacman), but couldn't find the LaTeX plugin. Searching, I see
it is in AUR:
https://aur.archlinux.org/packages/gedit-latex
I see that in the comments section, there's some issue. The package is
updated in 2017 last. I know all these will be voluntary work and maybe
people don't need this plugin much. For me, I could compile LaTeX source on
the fly, using gedit with this plugin. What should I do to install this
package?
I was hoping just to install and move on with my work. I am into science
computing and don't have the knowledge base to make this work/make packages
etc. I read good things about Arch, so I picked it. Apologies, I am
thankful for the great work all the developers/volunteers do, but at this
moment I just would like something that works.
Thank you for your time and any help would be greatly appreciated.
Raj


[aur-general] (no subject)

2020-05-11 Thread khashayar nazari via aur-general
75/5510