Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
LaTeX
10-09-2014, 12:54 PM (This post was last modified: 10-20-2014 08:37 PM by MSW.)
Post: #1
LaTeX
For using old laptops as no-interwebs-no-distraction typing machines having LaTeX would be very nice.

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

And throw in a small PDF viewer, such as mupdf:
https://www.archlinux.org/packages/commu...686/mupdf/

Instructions for installing pre-made TeXLive-Binaries (current state of the affairs):
(you definitely want to do this as root; guide follows https://en.wikibooks.org/wiki/LaTeX/Inst...h_TeX_Live)

  1. Download the TeXLive-Installer-Script
    Code:
    wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz
  2. Unpack it
    Code:
    tar -xzf install-tl-unx.tar.gz
  3. cd into the directory that has been produced (install-tl-$somedate)
  4. Set the umask, so you can use the TeX-System as non-root.
    Code:
    umask 022
  5. run
    Code:
    ./install-t1
  6. When the selection screen comes up, press "S <Enter>" to get to the Scheme selection screen. Then you probably want to select a minimal install, so press "e <Enter>". (Note: a full install comes in at several Gigabytes)
  7. Press "R <Enter>" to return.
  8. Press "C <Enter>" if you know you will need specific sets of packages. You get English language support with "v Enter", German with "y <Enter>"
  9. Press "R <Enter>" to return.
  10. You may customize paths or other options (such as whether doc or sources should be downloaded). Above selections, with docs and sources. clock in in at a bit above 200 Megabyte.
  11. Press "I <Enter>" to start the installation. This takes some time, depending on network speed and hardware.
  12. add the path reported by the installation script to /etc/profile (you may want to log out and in again, to have this settings in effect)
  13. realise that the tex binaries are (dynamically) linked against libc and thus won't run.

Find all posts by this user
Quote this message in a reply
10-09-2014, 06:44 PM
Post: #2
RE: LaTeX
(10-09-2014 12:54 PM)MSW Wrote:  For using old laptops as no-interwebs-no-distraction typing machines having LaTeX would be very nice.

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

And throw in a small PDF viewer, such as mupdf:
https://www.archlinux.org/packages/commu...686/mupdf/

Hello, wanna try to package them?
Visit this user's website Find all posts by this user
Quote this message in a reply
10-09-2014, 11:00 PM (This post was last modified: 10-09-2014 11:01 PM by MSW.)
Post: #3
RE: LaTeX
I'd try, but I'm gonna need someone to hold my hand through this. And pointers on where to read up on this (aside from the obvious man pages).
Find all posts by this user
Quote this message in a reply
10-11-2014, 05:16 PM
Post: #4
RE: LaTeX
(10-09-2014 11:00 PM)MSW Wrote:  I'd try, but I'm gonna need someone to hold my hand through this. And pointers on where to read up on this (aside from the obvious man pages).

Something's written on the wiki ... http://delicate-linux.net/wiki/index.php...g_packages

Something's on this forum ... you could read the following thread where you can find examples and discussions ... http://delicate-linux.net/forum/showthread.php?tid=74

... and of course, you can ask in this thread. I could guide you, but I'm always curious how useful the wiki and forum is. The wiki and forum might contain outdated or inaccurate info, but ... try and we'll see :]
Visit this user's website Find all posts by this user
Quote this message in a reply
10-16-2014, 10:16 PM
Post: #5
RE: LaTeX
Ok, so after looking at the dependency tree in the Arch-Repos and comapring with what is already available on Deli(cate) I think I might have better luck with getting the binaries directly.

On a side note building libattr (one of the basic dependencies of ntp) fails with

Code:
/usr/include/locale.h:127: error: syntax error before ';' token

any help? I used this PKGBUILD

Code:
# $Id$
# Maintainer: --- adopted from Arch
# Maintainer: Thomas Bächler <thomas@archlinux.org>

pkgname=attr
pkgver=2.4.47
pkgrel=1
pkgdesc="Extended attribute support library for ACL support"
arch=('i386')
url="http://savannah.nongnu.org/projects/attr"
license=('LGPL')
depends=('uclibc')
makedepends=('gettext-devel' 'uclibc-devel')
replaces=('xfsattr')
provides=('xfsattr')
conflicts=('xfsattr')
source=("http://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.src.tar.gz"{,.sig})
md5sums=('84f58dec00b60f2dc8fd1c9709291cc7'
         '25305607dd78d4f3efbeae44081674a1')

build() {
  cd "$pkgname-$pkgver"

  export INSTALL_USER=root INSTALL_GROUP=root
  ./configure --prefix=/usr --host=$CHOST --build=$CHOST --libdir=/usr/lib --libexecdir=/usr/lib
  make
}

package() {
  make -C "$pkgname-$pkgver" DIST_ROOT="$pkgdir" install install-lib install-dev

  # tidy up
  rm -f "$pkgdir"/usr/lib/libattr.a
  chmod 0755 "$pkgdir"/usr/lib/libattr.so.*.*.*

  # remove conflicting manpages
  rm -rf "$pkgdir"/usr/share/man/man2
}
Find all posts by this user
Quote this message in a reply
10-17-2014, 06:44 PM
Post: #6
RE: LaTeX
We already do have attr, but it is called libattr :]
Hope this helps.
Visit this user's website Find all posts by this user
Quote this message in a reply
10-20-2014, 06:42 PM
Post: #7
RE: LaTeX
(10-17-2014 06:44 PM)tavvva Wrote:  We already do have attr, but it is called libattr :]
Hope this helps.

It did. For some funny reason it was not found when I pacman -Q'd, even with updated databases, but pacman -S libattr worked.

And I think I got my first package to build. (While I had Flash and Thunder outside. Appropriate, I'd say.) See here: http://delicate-linux.net/forum/showthread.php?tid=417
Find all posts by this user
Quote this message in a reply
10-21-2014, 07:50 PM
Post: #8
RE: LaTeX
(10-20-2014 06:42 PM)MSW Wrote:  
(10-17-2014 06:44 PM)tavvva Wrote:  We already do have attr, but it is called libattr :]
Hope this helps.

It did. For some funny reason it was not found when I pacman -Q'd, even with updated databases, but pacman -S libattr worked.

Searching in the sync database can be done with pacman -Ss libattr

(10-20-2014 06:42 PM)MSW Wrote:  And I think I got my first package to build. (While I had Flash and Thunder outside. Appropriate, I'd say.) See here: http://delicate-linux.net/forum/showthread.php?tid=417

It needs more love :] Our pacman doesn't support the package() function. If you check the package content after the creation, you could see that it is missing the files :]
Visit this user's website Find all posts by this user
Quote this message in a reply
10-22-2014, 11:04 PM
Post: #9
RE: LaTeX
(10-21-2014 07:50 PM)tavvva Wrote:  It needs more love :] Our pacman doesn't support the package() function. If you check the package content after the creation, you could see that it is missing the files :]

Oh well, give a good example and fix it here first:

Code:
http://delicate-linux.net/0.1/src/icu/4.8-1/PKGBUILD
http://delicate-linux.net/0.1/pkg/icu-4.8-1.pkg.tar.gz

Tracing some compilation problems down to this package being empty did cost me some love.
Find all posts by this user
Quote this message in a reply
10-27-2014, 02:02 AM (This post was last modified: 10-27-2014 02:06 AM by tavvva.)
Post: #10
RE: LaTeX
icu is the only package out of 458 that suffers from this issue ... it's really a bad luck you chose this one

the solution is simple ... join the build() and package() functions by removing the stuff marked with RED

---------------------------------------------------------

build() {
cd ${srcdir}/icu/source
patch -Rp3 -i ${srcdir}/icu.8198.revert.icu5431.patch
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man
make
}

package() {
cd ${srcdir}/icu/source

make -j1 DESTDIR=${pkgdir} install
install -Dm644 ${srcdir}/icu/license.html ${pkgdir}/usr/share/licenses/icu/license.html
}

---------------------------------------------------------

and the result is

---------------------------------------------------------

build() {
cd ${srcdir}/icu/source
patch -Rp3 -i ${srcdir}/icu.8198.revert.icu5431.patch
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man
make
make -j1 DESTDIR=${pkgdir} install
install -Dm644 ${srcdir}/icu/license.html ${pkgdir}/usr/share/licenses/icu/license.html
}

---------------------------------------------------------
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | DeLi(cate) Linux | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication