LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 01-21-2009, 06:07 AM   #31
tramni1980
Member
 
Registered: Jul 2006
Location: Tübingen, Germany
Distribution: Slackware64-13.37
Posts: 737

Original Poster
Rep: Reputation: 37

Quote:
Originally Posted by grissiom View Post
I have a doubt since you have posted your SlackBuild into slackbuilds.org and want it a wider use:

How do you handle TeXLive self-contained package manager( http://www.tug.org/texlive/tlmgr.html )? Since using it to update your TeXLive may add or remove files, so when you removepkg may cause a oop. How do you handle it?
I have to admit that I have not considered using the texlive package manager. And I do not see a simple way to cope with that. If someone figures out something, he is welcome to improve the script. For myself, I do not use the texlive package manager. Once I install the distribution I keep it as is, til the next official release.
 
Old 01-21-2009, 06:11 AM   #32
Ilgar
Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware 14.1, Slackware64 14.1
Posts: 930

Rep: Reputation: 96
Are there any significant advantages of TeXLive over teTeX? For those people who run into bugs in teTeX I understand the need to move to a maintained package, but teTeX has been working quite well for me so far. I'm not sure that for me it is worth the upgrade, considering that I'm a mathematician and I don't really need any fancy stuff. What would you think?
 
Old 01-21-2009, 06:56 AM   #33
grissiom
Member
 
Registered: Apr 2008
Location: China, Beijing
Distribution: Slackware
Posts: 423

Rep: Reputation: 45
Quote:
Originally Posted by tramni1980 View Post
I have to admit that I have not considered using the texlive package manager. And I do not see a simple way to cope with that. If someone figures out something, he is welcome to improve the script. For myself, I do not use the texlive package manager. Once I install the distribution I keep it as is, til the next official release.
Hmm, maybe there is a simple(and violent) way to do that - just remove tlmgr with force. You may need to add
Code:
rm $PKG/bin/tlmgr # or something like that
(you may also need some comment to explain the reason to remove it) before
Code:
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$PKG_VERSION-$ARCH-$BUILD$TAG.tgz
.

This was inspired by the packaged Firefox. In the 'Help' menu, you can see 'Check for updates...' is disabled...

Last edited by grissiom; 01-21-2009 at 06:58 AM.
 
Old 01-21-2009, 07:01 AM   #34
grissiom
Member
 
Registered: Apr 2008
Location: China, Beijing
Distribution: Slackware
Posts: 423

Rep: Reputation: 45
Quote:
Originally Posted by Ilgar View Post
Are there any significant advantages of TeXLive over teTeX? For those people who run into bugs in teTeX I understand the need to move to a maintained package, but teTeX has been working quite well for me so far. I'm not sure that for me it is worth the upgrade, considering that I'm a mathematician and I don't really need any fancy stuff. What would you think?
In my view, if teTeX work great for you, you can go still with it. But for me, it will be painful to use teTeX because of the Chinese supporting is poor and painful there.
 
Old 01-21-2009, 08:51 AM   #35
tramni1980
Member
 
Registered: Jul 2006
Location: Tübingen, Germany
Distribution: Slackware64-13.37
Posts: 737

Original Poster
Rep: Reputation: 37
Quote:
Originally Posted by Ilgar View Post
Are there any significant advantages of TeXLive over teTeX? For those people who run into bugs in teTeX I understand the need to move to a maintained package, but teTeX has been working quite well for me so far. I'm not sure that for me it is worth the upgrade, considering that I'm a mathematician and I don't really need any fancy stuff. What would you think?
I am currently writing my PhD thesis. The reason I moved to texlive is because it is current and maintained. For example, when I have problems during writing, I search for help in some LaTeX forums. The people there refuse to help when they hear that I use the obsolete tetex. This forced me to texlive.

Grissiom, I do not see any reason in removing the tlmgr, since I simply can refrain from using it. Besides, I am not well acquainted with this manager. As the build script configures it, texlive goes all in all into 4 system directories, all in /usr/share: texmf, texmf-dist,texmf-local and texmf-var. Won't tlmgr somehow recognize that structure and install the updates according to it? If it does so, then removing texlive would be as simple as removing these 4 directories.
 
Old 01-21-2009, 09:28 AM   #36
trashbird1240
Member
 
Registered: Sep 2006
Location: Durham, NC
Distribution: Slackware, Ubuntu (yes, both)
Posts: 463

Rep: Reputation: 31
Quote:
Originally Posted by grissiom View Post

How do you handle TeXLive self-contained package manager( http://www.tug.org/texlive/tlmgr.html )? Since using it to update your TeXLive may add or remove files, so when you removepkg may cause a oop. How do you handle it?
I might use this package manager, but anything it downloads and installs will go into the texmf tree, and if I want to remove it or upgrade it later, any changes will be made to that structure. The texmf tree is a standard for TeX distributions, so I think there is little danger of stuff spilling out into other directories.

Why do I want TeXLive? The biggest reason is TeX4ht. TeX4ht is a very nice utility, is superior to tth and other tools I've used for translation to html, and works really well with TeXLive. Unfortunately, trying to get TeX4ht to work on Slackware with teTeX was a pain, so I'd rather have TeXLive.

There's also other stuff: xeTeX, for example.

Joel

PS: It looks like you can use tlmgr as a normal user, in which case there is no conflict with existing TeX trees at the system level.

Last edited by trashbird1240; 01-21-2009 at 09:31 AM. Reason: added a note
 
Old 01-21-2009, 12:11 PM   #37
grissiom
Member
 
Registered: Apr 2008
Location: China, Beijing
Distribution: Slackware
Posts: 423

Rep: Reputation: 45
Quote:
Originally Posted by tramni1980 View Post
Grissiom, I do not see any reason in removing the tlmgr, since I simply can refrain from using it. Besides, I am not well acquainted with this manager. As the build script configures it, texlive goes all in all into 4 system directories, all in /usr/share: texmf, texmf-dist,texmf-local and texmf-var. Won't tlmgr somehow recognize that structure and install the updates according to it? If it does so, then removing texlive would be as simple as removing these 4 directories.
Yes, I am using texlive which I installed from the ISO without SlackBuild, i.e., all the files of texlive is not under slackware's package control. And, I am happy updating texlive with tlmgr too. AFAIK, I agree to you that all of texlive goes into that 4 directories. But, slackware's package control tracks File, not only directories. If a file that it's tracking has been removed, it will show:
Code:
  --> /file no longer exists. Skipping.
If a directory contains any file that it's not tracking, it will show:
Code:
WARNING: Unique directory /test-pkg/ contains new files
and will Not remove the directory. Removing and adding files is common when you update. So you cannot get a clean removal if you both use tlmgr and slackware to do package control.
 
Old 01-21-2009, 01:40 PM   #38
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Ruhr Area, Germany
Distribution: Slackware64 14.0
Posts: 1,525

Rep: Reputation: 94
Quote:
Originally Posted by grissiom View Post
[...] But, slackware's package control tracks File, not only directories. [...] Removing and adding files is common when you update. So you cannot get a clean removal if you both use tlmgr and slackware to do package control.
To get the real impact of the texlive update manager you have to consider which files are altered by it. I have not used myself, so I can only take guesses, maybe you know more from using the tool. I can imagine some sort of update log, but that might also be saved in a local folder (like /root/.texlive or /root/.texmf-var ?). If other files are only changed, but no files get deleted and added and no new packages get installed, you might end with the same fileset like before the update. In this case the Slackware pkgtool & Co. could deal with it.

I hope my thoughts are clear enough So my question would be: Does the update manager from texlive only alter existing files or does it really add/remove files and if so: Are the changes restricted to local per user configuration folders or do they touch files that are listed in /var/log/packages/texlive-.... ?
 
Old 01-21-2009, 08:22 PM   #39
grissiom
Member
 
Registered: Apr 2008
Location: China, Beijing
Distribution: Slackware
Posts: 423

Rep: Reputation: 45
Quote:
Originally Posted by titopoquito View Post
[...]I can imagine some sort of update log, but that might also be saved in a local folder (like /root/.texlive or /root/.texmf-var ?). [...]
I hope my thoughts are clear enough So my question would be: Does the update manager from texlive only alter existing files or does it really add/remove files and if so: Are the changes restricted to local per user configuration folders or do they touch files that are listed in /var/log/packages/texlive-.... ?
Yes, I think your thoughts is clearer than mine

I don't know the answer about update log since it goes under the earth which I cannot see. After a little search in /var/log/ and texlive directories I cannot find them too...

Yes, tlmgr does Add and Remove packages. As you can see here: http://www.tug.org/texlive/doc/tlmgr...n______pkg____ which "update --all" is a must-have command in the update work flow. Since the packages are installed in system path, and all the installed files are tracked by slackware, it means tlmgr will touch files that are listed in /var/log/packages/texlive-....

Last edited by grissiom; 01-21-2009 at 08:25 PM.
 
Old 03-30-2009, 11:56 PM   #40
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,973

Rep: Reputation: Disabled
Thanks to a gentle push from tramni1980, I worked up a build script for TeXLive from source; see http://www.linuxquestions.org/questi...ckware-715655/
 
Old 03-31-2009, 04:41 AM   #41
tramni1980
Member
 
Registered: Jul 2006
Location: Tübingen, Germany
Distribution: Slackware64-13.37
Posts: 737

Original Poster
Rep: Reputation: 37
Quote:
Originally Posted by rworkman View Post
Thanks to a gentle push from tramni1980, I worked up a build script for TeXLive from source; see http://www.linuxquestions.org/questi...ckware-715655/
Mr Workman,
I have to apologize to you for submitting a build script of poor quality. We all have to thank you for the efforts you put into improving the build. "Improving" is maybe not the appropriate word here, as your build has nothing to do with the script I submitted: I build it from the iso image, while you build it from sources.
I think the community would be glad to know what else is required to make the build compatible with the slackbuild.org's requirements. Maybe some of us will be able to improve your build so that it meets the high standards of the site.
 
Old 03-31-2009, 09:07 AM   #42
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,973

Rep: Reputation: Disabled
Quote:
Originally Posted by tramni1980 View Post
Mr Workman,
I have to apologize to you for submitting a build script of poor quality. We all have to thank you for the efforts you put into improving the build. "Improving" is maybe not the appropriate word here, as your build has nothing to do with the script I submitted: I build it from the iso image, while you build it from sources.
No apology needed. Just because it isn't acceptable for SlackBuilds.org doesn't make it a "poor quality" script at all.

Quote:
I think the community would be glad to know what else is required to make the build compatible with the slackbuild.org's requirements. Maybe some of us will be able to improve your build so that it meets the high standards of the site.
Well, if there are enough people who want that, I guess I can be convinced to do it. Alternatively, if someone just wants to do it themselves, then feel free to send the results to me. Basically, it will require splitting the build into three separate scripts.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Live CD contain TeX and/or LateX trainee Linux - Newbie 2 06-20-2006 05:24 AM
Ever used TeX, post your work. -- Tex Art Gallery barton Linux - Software 2 02-28-2006 03:29 AM
TeX can't find tex.fmt jrdioko Linux - Software 0 11-14-2005 06:34 PM
Using LyX with TeX Live tslothrop Linux - Software 0 11-11-2004 03:31 PM
Slackware and Lilypond (...and Tex) tubatodd Slackware 6 08-12-2004 07:55 PM


All times are GMT -5. The time now is 01:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration