Package Details: texlive-localmanager-git 0.7-2

Git Clone URL: https://aur.archlinux.org/texlive-localmanager-git.git (read-only, click to copy)
Package Base: texlive-localmanager-git
Description: A shell and command-line utility to manage TeXLive on Arch Linux
Upstream URL: http://wiki.archlinux.org/index.php?title=TeXLive#TeXLive_Local_Manager
Licenses: GPL
Conflicts: texlive-localmanager
Provides: texlive-localmanager=0.7
Submitter: XZS
Maintainer: XZS
Last Packager: XZS
Votes: 63
Popularity: 0.022515
First Submitted: 2015-08-18 18:49
Last Updated: 2020-02-08 16:44

Latest Comments

1 2 3 4 5 6 ... Next › Last »

Cirelli94 commented on 2020-02-03 18:14

@hv15 so we can remove this one and install tllocalmgr-git? Thank you very much!

jungy commented on 2020-02-03 18:07

thank you @hv15

hv15 commented on 2020-02-02 21:10

Hi all, I've created a new package-base: https://aur.archlinux.org/packages/tllocalmgr-git/, and have requested that this package be merged in.

zilot commented on 2020-02-02 15:28

Package is broken. To install it, I had to manually installed the dependencies (even if it might not be mandatory) then I made a git clone, modified the PKGBUILD with @hv12 patch and it worked.

hv15 commented on 2020-01-23 15:45

@sharethewisdom I also emailed XZS and haven't received a reply (yet?). Regarding your three points, I think 2 and 3 are good. I'm not so sure about point 1, doesn't tllocalmgr download tlpdb itself?

I'd be happy to take over maintenance of this package, assuming that's all right with XZS, but am not familiar with the merge request policy.

sharethewisdom commented on 2020-01-23 15:25

I did not receive a response to my email to XZS last week (2020/01/16). I hope not to cause offense, but I guess someone could create a new aur package and submit a merge request to take over this one.

I also send the mail to Rémy, and I mentioned my preferences in reference to my patch:

1) add the exception: 'next if ( $col eq "tlpdb" );' at line 230, because https://aur.archlinux.org/packages/texlive-tlpdb/ could be installed;

2) makepkg not to clean the build and .SRCINFO could be added so that users can add the generated to a custom local repo;

3) add generated packages to a 'texlive-local' group for convenience

Point 2 is so that aur package managers to ignore these packages, (which are not in the aur). See my issue: https://github.com/Jguer/yay/issues/894#issuecomment-480508874

I'd like to hear your opinion about that.

rien333 commented on 2020-01-20 21:19

So, if I understand correctly, the maintainer of this project has been absent for a while now, and that's why the vanilla PKGBUILD here doesn't build? (i'm getting an error in pkgver()).

Does anyone have news about XZS ? Maybe you [hv15] could become the maintener of the project ? (Indeed, you are now :3)

What is meant by this? Is hv15 co-maintainer?

LHP22 commented on 2020-01-15 06:22

I've tried with this patch (which has been givne above). But it's with this patch I get the error with the prepare function().

And I'm sorry for the format of my error message : I'vnt found how to properly print it.

edit : OK, i've speaken too quickly : the two PKGBUILD were different. My bad, sorry hv15, and thx for your help. The latest you give works at me.

Does anyone have news about XZS ? Maybe you could become the maintener of the project ? (Indeed, you are now :3)

Thx again !

hv15 commented on 2020-01-14 20:05

@LHP22 there was an update to localmanager upstream (see 1), so the patch no longer works. Try the following patch instead:

diff --git a/PKGBUILD b/PKGBUILD
index 5248f31..ca803ad 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,8 +4,8 @@
 # Contributor: Firmicus <francois . archlinux . org>

 pkgname=texlive-localmanager-git
-pkgver=0.7
-pkgrel=2
+pkgver=v0.7.r3.gbbd8488
+pkgrel=1
 pkgdesc="A shell and command-line utility to manage TeXLive on Arch Linux"
 arch=('any')
 url="http://wiki.archlinux.org/index.php?title=TeXLive#TeXLive_Local_Manager"
@@ -19,20 +19,22 @@ depends=('texlive-core>=2011'
 install='tllocalmgr.install'

 _giturl="git://projects.archlinux.org/users/remy/${pkgname%-git}.git"
-makedepends+=('git')
-source+=("${_gitname:=${pkgname%-git}}::${_giturl:-git+$url}")
-for integ in $(get_integlist)
-do
-  typeset -n array="${integ}sums"
-  array+=('SKIP')
-done
-provides+=("$_gitname=$pkgver")
-conflicts+=("$_gitname")
+makedepends=('git')
+source=("${_gitname:=${pkgname%-git}}::${_giturl:-git+$url}"
+        'https://gist.githubusercontent.com/hv15/847bb2bb56db9f2e1d736e19209bd5fb/raw/8604571d6e6e59158c9914040d79314bf6f3ccc0/tllocalmgr.patch')
+sha256sums=('SKIP'
+            '22222ff329919ee6a16ffd489b0213b14f8169d9daf6ef1a82aa5ab37538c236')
+provides=("$_gitname=$pkgver")
+conflicts=("$_gitname")
+
 pkgver() {
   cd ${_gitname:-$pkgname}
-  git describe --long --tags 2>/dev/null | sed 's/[^[:digit:]]*\(.\+\)-\([[:digit:]]\+\)-g\([[:xdigit:]]\{7\}\)/\1.r\2.g\3/;t;q1'
-  [ ${PIPESTATUS[0]} -ne 0 ] && \
-printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+  git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+prepare() {
+  cd $_gitname
+  patch -p1 < "$srcdir/tllocalmgr.patch"
 }

 package() {

LHP22 commented on 2020-01-14 18:49

Hi !

Even with this patch, the function "prepare()" failed with this message (totally) :

[format] ==> Making package: texlive-localmanager-git v0.7.r1.gdaa34cf-2 (Tue 14 Jan 2020 07:41:32 PM CET) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Updating texlive-localmanager git repo... Fetching origin -> Found tllocalmgr.patch ==> Validating source files with sha256sums... texlive-localmanager ... Skipped tllocalmgr.patch ... Passed ==> Extracting sources... -> Creating working copy of texlive-localmanager git repo... Reset branch 'makepkg' ==> Starting prepare()... patching file tllocalmgr Hunk #1 FAILED at 18. Hunk #2 succeeded at 227 (offset 1 line). Hunk #3 succeeded at 637 (offset 1 line). Hunk #4 succeeded at 672 (offset 1 line). Hunk #5 succeeded at 732 (offset 1 line). Hunk #6 succeeded at 777 (offset 1 line). 1 out of 6 hunks FAILED -- saving rejects to file tllocalmgr.rej ==> ERROR: A failure occurred in prepare(). Aborting... [/format]