aboutsummaryrefslogtreecommitdiff
blob: d00bac095c807c7b4909e5647b95daed062e89c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
* In pgplot-5.2.2-r99.ebuild, you can uncomment different lines for the drivers patch:
   
  epatch "${FILESDIR}"/${PN}-drivers.patch
  #epatch "${FILESDIR}"/${PN}-drivers-nox.patch
  #epatch "${FILESDIR}"/${PN}-drivers-ppmonly.patch
  
  the -nox has no support for X (and doesn't need libX11 and other libraries when linking statically)
  the -ppmonly has support for .ppm files only, and is only slightly smaller than -nox
  
  use /root/drivers.list.orig to make additional patches.

* PPM-only for Think
1) set ebuild to -ppmonly
2) USE=-doc ebuild pgplot-5.2.2-r99.ebuild clean manifest install
3) cp ~/usr/lib/libpgplot-ppmonly.a ~/usr/lib/old/
4) cp /var/tmp/portage/portage/sci-libs/pgplot-5.2.2-r99/image/usr/lib64/libpgplot.a ~/usr/lib/libpgplot-ppmonly.a

* PPM-only for For zotac (?)
1) set ebuild to -ppmonly
2) USE=-doc ebuild pgplot-5.2.2-r99.ebuild clean manifest install
3) rsync /var/tmp/portage/portage/sci-libs/pgplot-5.2.2-r99/image/usr/lib64/libpgplot.a zotac:usr/lib/libpgplot-ppmonly.a