daily pastebin goal
57%
SHARE
TWEET

InstallAndBuild

s243a May 26th, 2018 (edited) 208 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2.  
  3. #THIS_DIR=$PWD
  4. #ROOT="${THIS_DIR%%/tazpupsave/*}/tazpupsave"
  5. export ROOT='/mnt/home/devX_TazPup_s243a_1.0'
  6. export TMP='/tmp/InstallAndBuild'
  7. export FirstInstall=true
  8. export BuildDevX=false
  9. export InstallDev=false
  10. export Large=false
  11. export tinypy=true
  12. export icu=true #Globalization Libraries (Ignored if Large=true)
  13. export InstallPackages=true
  14. mkdir -p "$TMP"
  15. #cd $THIS_DIR
  16. #https://stackoverflow.com/questions/2337616/can-i-read-line-from-a-heredoc-in-bash
  17. while read line; do
  18.  
  19.   #line=echo "$line"
  20.        echo "line=$line"
  21.   case "$line" in
  22.      "#"*)
  23.         #do nothing
  24.         ;;
  25.      "I "*) #Install if this is the first time running this script (New Installation)
  26.          [ $FirstInstall ] && echo "$line" | tr -s [:blank:] | cut -d' ' -f2 >> $TMP/To_Install
  27.          ;;
  28.      "Id "*)
  29.          #Install if this is the first time running this script (New Installation)
  30.          [ $FirstInstall ] && [ $InstallDev ] && echo "$line" | tr -s [:blank:] | cut -d' ' -f2 >> "$TMP/To_Install"
  31.          echo "$line" | tr -s [:blank:] | cut -d' ' -f2 >> "$TMP/For_DevX"
  32.          ;;
  33.      "i "*)
  34.          echo "$line" | tr -s [:blank:] | cut -d' ' -f2 >> "$TMP/To_Install"
  35.          ;;    
  36.      "id "*)
  37.          [ $InstallDev ] && echo "$line" | tr -s [:blank:] | cut -d' ' -f2 >> "$TMP/To_Install"
  38.          echo "$line" | tr -s [:blank:] | cut -d' ' -f2 >> "$TMP/For_DevX"
  39.          ;;
  40.       "d *")
  41.          echo "$line" | tr -s [:blank:] | cut -d' ' -f2 >> "$TMP/For_DevX"
  42.          ;;
  43.      "L_i "*)          
  44.          [ $Large ] && echo "$line" | tr -s [:blank:] | cut -d' ' -f2 >> "$TMP/To_Install"
  45.           ;;
  46.      "L_id "*)
  47.          [ $Large ] && [ $InstallDev ] && echo "$line" | tr -s [:blank:] | cut -d' ' -f2 >> "$TMP/To_Install"
  48.          [ $Large ] && echo "$line" | tr -s [:blank:] | cut -d' ' -f2 >> "$TMP/For_DevX"; ;;
  49.       "s "*)  #Check if these are installed, I flagged them because they are important and should be standard but I don't know for sure          
  50.           echo "$line" | tr -s [:blank:] | cut -d' ' -f2 >> "$TMP/Should_Be_Standard"; ;;
  51.    esac  
  52. #done < <( echo <<EOM
  53. done <<EOM
  54. # First any glib changes
  55. I /var/lib/tazpkg/installed/glib
  56. Id /var/lib/tazpkg/installed/glib-dev
  57. I /var/lib/tazpkg/installed/glib-networking
  58. Id /var/lib/tazpkg/installed/glib-networking-dev
  59. I /var/lib/tazpkg/installed/glibc
  60. I /var/lib/tazpkg/installed/glibc-base
  61. I /var/lib/tazpkg/installed/glibc-dev
  62. I /var/lib/tazpkg/installed/glibc-locale
  63. I /var/lib/tazpkg/installed/glibmm
  64. Id /var/lib/tazpkg/installed/glibmm-dev
  65. #Then the rest of the packages
  66. # /var/lib/tazpkg/installed/915resolution
  67. # /var/lib/tazpkg/installed/acl
  68. # /var/lib/tazpkg/installed/alsa-lib   
  69. # /var/lib/tazpkg/installed/alsa-utils
  70. # /var/lib/tazpkg/installed/alsaplayer
  71. # /var/lib/tazpkg/installed/asunder
  72. # /var/lib/tazpkg/installed/at-spi2
  73. # /var/lib/tazpkg/installed/at-spi2-atk
  74. L2_i /var/lib/tazpkg/installed/atk
  75. L2_d /var/lib/tazpkg/installed/atk-dev
  76. L2_i /var/lib/tazpkg/installed/atkmm
  77. L2_d /var/lib/tazpkg/installed/atkmm-dev
  78. L2_d /var/lib/tazpkg/installed/attr
  79. L2_d /var/lib/tazpkg/installed/audacious-dev
  80. id /var/lib/tazpkg/installed/automoc4
  81. # /var/lib/tazpkg/installed/beaver
  82. id /var/lib/tazpkg/installed/binutils
  83. #/var/lib/tazpkg/installed/busybox
  84. id /var/lib/tazpkg/installed/busybox-httpd-ctrl
  85. #/var/lib/tazpkg/installed/bzip2
  86. #/var/lib/tazpkg/installed/bzlib
  87. #/var/lib/tazpkg/installed/cairo
  88. #/var/lib/tazpkg/installed/cairomm
  89. #/var/lib/tazpkg/installed/cairomm
  90. #/var/lib/tazpkg/installed/cdparanoia-III
  91. #/var/lib/tazpkg/installed/cdrkit
  92. #/var/lib/tazpkg/installed/clearlooks-colors
  93. #/var/lib/tazpkg/installed/clearlooks-compact
  94. id /var/lib/tazpkg/installed/cgdb #Curses interface for GDB
  95. id /var/lib/tazpkg/installed/cmake
  96. id /var/lib/tazpkg/installed/cookutils
  97. #/var/lib/tazpkg/installed/cyrus-sasl-dev
  98. i /var/lib/tazpkg/installed/dbus
  99. i /var/lib/tazpkg/installed/dbus-glib
  100. id /var/lib/tazpkg/installed/dbus-glib-dev
  101. i /var/lib/tazpkg/installed/dbus-helper
  102. #/var/lib/tazpkg/installed/desktop-file-utils
  103. #/var/lib/tazpkg/installed/dialog
  104. #/var/lib/tazpkg/installed/dropbear
  105. #/var/lib/tazpkg/installed/e2fsprogs #Filesystem utilities for use with ext2 and ext3 (without fsck*).
  106. s /var/lib/tazpkg/installed/e2fsprogs-dev
  107. L_i /var/lib/tazpkg/installed/elfkickers
  108. L_i /var/lib/tazpkg/installed/elfutils
  109. L_d /var/lib/tazpkg/installed/elfutils  
  110. #/var/lib/tazpkg/installed/enchant #Enchant spell checking library
  111. #/var/lib/tazpkg/installed/epdfview
  112. #/var/lib/tazpkg/installed/expat
  113. i /var/lib/tazpkg/installed/file
  114. #/var/lib/tazpkg/installed/firmware-rt2x00
  115. #/var/lib/tazpkg/installed/firmware-rtlwifi
  116. #/var/lib/tazpkg/installed/flac
  117. #/var/lib/tazpkg/installed/fontconfig
  118. #/var/lib/tazpkg/installed/freetype
  119. #/var/lib/tazpkg/installed/fuse
  120. #/var/lib/tazpkg/installed/gadmin-httpd
  121. #/var/lib/tazpkg/installed/galculator
  122. $( case $GCC_VERSION in
  123.    1)
  124.     echo "id /var/lib/tazpkg/installed/gcc
  125.              id /var/lib/tazpkg/installed/gcc-lib-base
  126.              id /var/lib/tazpkg/installed/gcc-lib-math"; ;;
  127.    3)
  128.     echo "id /var/lib/tazpkg/installed/gcc3"; ;;
  129.    49)
  130.     echo "id /var/lib/tazpkg/installed/gcc49
  131.               id /var/lib/tazpkg/installed/gcc49-lib-base"; ;;
  132.    54)
  133.     echo "id /var/lib/tazpkg/installed/gcc54
  134.               id /var/lib/tazpkg/installed/gcc54-lib-base"; ;;
  135.    64)
  136.     echo "id /var/lib/tazpkg/installed/gcc54
  137.               id /var/lib/tazpkg/installed/gcc54-lib-base"; ;;
  138.    esac          
  139.   )
  140. #/var/lib/tazpkg/installed/gcolor2
  141. id /var/lib/tazpkg/installed/gdb
  142. d /var/lib/tazpkg/installed/gdb-dev #The GNU Project Debugger.
  143. i /var/lib/tazpkg/installed/gdbm #GNU database indexing library.
  144. id /var/lib/tazpkg/installed/gdbm-dev
  145. id /var/lib/tazpkg/installed/gdb-python #The GNU Project Debugger with Python support.
  146. i /var/lib/tazpkg/installed/gdk-pixbuf #An image loading library for gtk2
  147. id /var/lib/tazpkg/installed/gdk-pixbuf-dev
  148. i /var/lib/tazpkg/installed/geany
  149. Id /var/lib/tazpkg/installed/geany-dev
  150. I /var/lib/tazpkg/installed/geany-doc
  151. I /var/lib/tazpkg/installed/geany-plugins
  152. I /var/lib/tazpkg/installed/get-palemoon
  153. id /var/lib/tazpkg/installed/gettext
  154. id /var/lib/tazpkg/installed/gettext-base
  155. id /var/lib/tazpkg/installed/gettext-tools
  156. d /var/lib/tazpkg/installed/glade3
  157. d /var/lib/tazpkg/installed/glade-perl
  158. # Glib stuff moved to top
  159. L_i /var/lib/tazpkg/installed/gmp  #GNU Multiple Precision Arithmetic Library.
  160. i /var/lib/tazpkg/installed/gobject-introspection
  161. id /var/lib/tazpkg/installed/gobject-introspection-dev
  162. #/var/lib/tazpkg/installed/gparted
  163. #/var/lib/tazpkg/installed/gphoto2
  164. #/var/lib/tazpkg/installed/gpicview
  165. #/var/lib/tazpkg/installed/groff #The GNU troff text-formatting system.
  166. # /var/lib/tazpkg/installed/grub4dos-linux
  167. L_i /var/lib/tazpkg/installed/gsasl #Simple Authentication and Security Layer.
  168. L_d /var/lib/tazpkg/installed/gsasl-dev
  169. #/var/lib/tazpkg/installed/gst-ffmpeg-small #GStreamer FFmpeg Plugins
  170. #/var/lib/tazpkg/installed/gst-plugins-base
  171. #/var/lib/tazpkg/installed/gst-plugins-good
  172. #/var/lib/tazpkg/installed/gstreamer
  173. i /var/lib/tazpkg/installed/gtk+
  174. id /var/lib/tazpkg/installed/gtk+-dev
  175. i /var/lib/tazpkg/installed/gtk+3
  176. id /var/lib/tazpkg/installed/gtk+3-dev
  177. i /var/lib/tazpkg/installed/gtk+3-widget-factory
  178. #
  179. # /var/lib/tazpkg/installed/gtk-clearlooks #    Updated default GTKengine, with ajustable colors.
  180. i /var/lib/tazpkg/installed/gtk-engines
  181. id /var/lib/tazpkg/installed/gtk-girepository
  182. i /var/lib/tazpkg/installed/gtkdialog
  183. id /var/lib/tazpkg/installed/gtkmm
  184. id /var/lib/tazpkg/installed/gtkmm-dev
  185. L_i /var/lib/tazpkg/installed/guile #Project GNU's extension language.
  186. L_d /var/lib/tazpkg/installed/guile-dev
  187. L_i /var/lib/tazpkg/installed/gutenprint #Top quality printer drivers for Canon, Epson
  188. L_d /var/lib/tazpkg/installed/gutenprint-dev
  189. #/var/lib/tazpkg/installed/gvfs #Userspace virtual filesystem designed to work with gio
  190. #/var/lib/tazpkg/installed/gvfs-fuse
  191. #/var/lib/tazpkg/installed/gvfs-gphoto2
  192. #/var/lib/tazpkg/installed/gvfs-udisks2
  193. #/var/lib/tazpkg/installed/harfbuzz
  194. #/var/lib/tazpkg/installed/hicolor-icon-theme
  195.   $( if [ $icu == true ]; then
  196.       echo "i /var/lib/tazpkg/installed/icu #C/C++ and Java libraries providing Unicode and Globalization.
  197.             d /var/lib/tazpkg/installed/icu-dev"
  198.     else
  199.       echo "L_i /var/lib/tazpkg/installed/icu #C/C++ and Java libraries providing Unicode and Globalization.
  200.             L_d /var/lib/tazpkg/installed/icu-dev"
  201.    fi )
  202. id /var/lib/tazpkg/installed/intltool #Translation tools (PO, XML).
  203. #/var/lib/tazpkg/installed/ipxe #Open source network boot firmware.
  204. L_i #/var/lib/tazpkg/installed/isapnptools #    ISA Plug-And-Play configuration.
  205. L_d /var/lib/tazpkg/installed/isapnptools-dev
  206. #/var/lib/tazpkg/installed/jpeg
  207. #/var/lib/tazpkg/installed/kbd-base #Keyboard mapping definitions, loadkeys and setfont utilities
  208. L_i /var/lib/tazpkg/installed/kmod #Linux kernel modules tools.
  209. L_d /var/lib/tazpkg/installed/kmod-dev
  210. L_i /var/lib/tazpkg/installed/mikmod #Mikmod module player.
  211. L_d /var/lib/tazpkg/installed/libmikmod-dev
  212. #/var/lib/tazpkg/installed/lcms #A free color management engine in 100K (library).
  213. #/var/lib/tazpkg/installed/lcms-dev
  214. #/var/lib/tazpkg/installed/lcms2
  215. i /var/lib/tazpkg/installed/leafpad
  216. d /var/lib/tazpkg/installed/lgi #Dynamic Lua binding to GObject libraries using GObject-Introspection
  217. #/var/lib/tazpkg/installed/libao #Cross-platform audio output library and plugins
  218. #var/lib/tazpkg/installed/libao-dev
  219. #/var/lib/tazpkg/installed/libatasmart #The libatasmart package is a disk reporting library.
  220. #/var/lib/tazpkg/installed/libatasmart-dev
  221. #/var/lib/tazpkg/installed/libcanberra #Portable Sound Event Library
  222. #/var/lib/tazpkg/installed/libcanberra
  223. #/var/lib/tazpkg/installed/libcap #Support for getting/setting POSIX.1e capabilities.
  224. #/var/lib/tazpkg/installed/libcddb
  225. #/var/lib/tazpkg/installed/libcomerr #Common Error handling
  226. i /var/lib/tazpkg/installed/libcrypto
  227. id /var/lib/tazpkg/installed/libcrypto-dev
  228. id /var/lib/tazpkg/installed/libcurl
  229. c /var/lib/tazpkg/installed/libdaemon
  230. #/var/lib/tazpkg/installed/libdrm
  231. i /var/lib/tazpkg/installed/libffi #A portable foreign function interface library.
  232. id /var/lib/tazpkg/installed/libffi
  233. #/var/lib/tazpkg/installed/libfm #File management support (core library)
  234. i /var/lib/tazpkg/installed/libfm-gtk
  235. i /var/lib/tazpkg/installed/libgcrypt
  236. id /var/lib/tazpkg/installed/libgcrypt-dev
  237. i /var/lib/tazpkg/installed/libgee #GObject collection library.
  238. id /var/lib/tazpkg/installed/libgee-dev
  239. L_i /var/lib/tazpkg/installed/libgio #Virtual File System Interface
  240. L_id /var/lib/tazpkg/installed/libgio-dev
  241. L_i /var/lib/tazpkg/installed/libgiomm
  242. L_id /var/lib/tazpkg/installed/libgiomm-dev
  243. d /var/lib/tazpkg/installed/libglade
  244. d /var/lib/tazpkg/installed/libglade-dev
  245. L_d /var/lib/tazpkg/installed/libglademm
  246. L_d /var/lib/tazpkg/installed/libglademm-dev
  247. L_i /var/lib/tazpkg/installed/libgnomeprint
  248. L_d /var/lib/tazpkg/installed/libgnomeprint-dev
  249. #/var/lib/tazpkg/installed/libgnomeprintui
  250. L_d/var/lib/tazpkg/installed/libgnomeprintui-dev
  251. L_i /var/lib/tazpkg/installed/libgnutls #GNU Transport Layer Security Library headers
  252. L2_i /var/lib/tazpkg/installed/libgpg-error
  253. #/var/lib/tazpkg/installed/libgphoto2 #core library of gphoto2 to access photos from digital camera
  254. L_d /var/lib/tazpkg/installed/libgphoto2-dev
  255. L_i /var/lib/tazpkg/installed/libgtkimageview #Simple image viewer widget for GTK.
  256. L_d d /var/lib/tazpkg/installed/libgtkimageview-dev
  257. L_i /var/lib/tazpkg/installed/libgudev #GObject-based wrapper library for libudev
  258. L_d /var/lib/tazpkg/installed/libgudev-dev
  259.   $( if [ $icu == true ]; then
  260.        echo "L_i /var/lib/tazpkg/installed/libidn #Encode and decode internationalized domain names.
  261.              L_d /var/lib/tazpkg/installed/libidn-dev"
  262.      else
  263.        echo "L_i /var/lib/tazpkg/installed/libidn #Encode and decode internationalized domain names.
  264.              L_d /var/lib/tazpkg/installed/libidn-dev"
  265.      fi
  266.  
  267.    )
  268. #/var/lib/tazpkg/installed/libjpeg
  269. L_i /var/lib/tazpkg/installed/libltdl #The GNU Portable Library Tool.
  270. L2_i /var/lib/tazpkg/installed/liblxqt #Core utility library for all LXDE-Qt components
  271. L2_d /var/lib/tazpkg/installed/liblxqt-dev
  272. L_i /var/lib/tazpkg/installed/liblzma
  273. L_d /var/lib/tazpkg/installed/liblzma-dev
  274. #/var/lib/tazpkg/installed/libmad #MAD is a high-quality MPEG audio decoder.
  275. #/var/lib/tazpkg/installed/libmad-dev
  276. i /var/lib/tazpkg/installed/libmagic
  277. id /var/lib/tazpkg/installed/libmagic-dev
  278. L_i /var/lib/tazpkg/installed/libmicrohttpd #A small C library that is supposed to make it easy to run an HTTP server as part of another application.
  279. L_d/var/lib/tazpkg/installed/libmicrohttpd-dev
  280. L_i /var/lib/tazpkg/installed/libnl #netlink library.
  281. L_d /var/lib/tazpkg/installed/libnl-dev
  282. L_i /var/lib/tazpkg/installed/libnl-tools
  283. L2_i /var/lib/tazpkg/installed/libnotify #Notification library
  284. L2_d /var/lib/tazpkg/installed/notify-python
  285. L3_i /var/lib/tazpkg/installed/mate-notification-daemon
  286. L3_i /var/lib/tazpkg/installed/libnotify-dev
  287. L3_d /var/lib/tazpkg/installed/libnotify-gtk3
  288. #/var/lib/tazpkg/installed/libogg
  289. #/var/lib/tazpkg/installed/libpng
  290. i /var/lib/tazpkg/installed/libQt3Support
  291. i /var/lib/tazpkg/installed/libQtCore
  292. i /var/lib/tazpkg/installed/libQtDBus
  293. i /var/lib/tazpkg/installed/libQtDeclarative
  294. i /var/lib/tazpkg/installed/libQtGui
  295. i /var/lib/tazpkg/installed/libQtMultimedia
  296. i /var/lib/tazpkg/installed/libQtNetwork
  297. i /var/lib/tazpkg/installed/libQtOpenGL
  298. i /var/lib/tazpkg/installed/libQtPlugins
  299. L_i /var/lib/tazpkg/installed/libqwt5-qt4
  300. L_d /var/lib/tazpkg/installed/libqwt5-qt4-dev
  301. #/var/lib/tazpkg/installed/libqwt6-qt4
  302. #/var/lib/tazpkg/installed/libqwt6-qt4-dev
  303. #/var/lib/tazpkg/installed/libsasl
  304. #/var/lib/tazpkg/installed/libsasl-modules
  305. L_i /var/lib/tazpkg/installed/libsigc++ #Callback Framework for C++
  306. L_d /var/lib/tazpkg/installed/libsigc++-dev
  307. #/var/lib/tazpkg/installed/libsoup
  308. i /var/lib/tazpkg/installed/libsqlite
  309. s /var/lib/tazpkg/installed/libssl
  310. i /var/lib/tazpkg/installed/libtasn1
  311. d /var/lib/tazpkg/installed/libtdb
  312. i /var/lib/tazpkg/installed/libtic
  313. L_i /var/lib/tazpkg/installed/libtinfo
  314. #/var/lib/tazpkg/installed/libunique
  315. #/var/lib/tazpkg/installed/libvorbis
  316. #/var/lib/tazpkg/installed/libwebkit-video
  317. #/var/lib/tazpkg/installed/libwnck
  318. #/var/lib/tazpkg/installed/libxcb
  319. #/var/lib/tazpkg/installed/libxml2
  320. #/var/lib/tazpkg/installed/libxslt
  321. #/var/lib/tazpkg/installed/linux
  322. #/var/lib/tazpkg/installed/linux64-squashfs
  323. #/var/lib/tazpkg/installed/linux-agp
  324. #/var/lib/tazpkg/installed/linux-crypto
  325. #/var/lib/tazpkg/installed/linux-drm
  326. #/var/lib/tazpkg/installed/linux-firmware
  327. #/var/lib/tazpkg/installed/linux-hfsplus
  328. #/var/lib/tazpkg/installed/linux-input-touchscreen
  329. #/var/lib/tazpkg/installed/linux-libre-squashfs
  330. #/var/lib/tazpkg/installed/linux-sound
  331. #/var/lib/tazpkg/installed/linux-squashfs
  332. #/var/lib/tazpkg/installed/linux-wireless
  333. #/var/lib/tazpkg/installed/locale-de
  334. #/var/lib/tazpkg/installed/locale-en
  335. #/var/lib/tazpkg/installed/locale-es
  336. #/var/lib/tazpkg/installed/locale-fr
  337. #/var/lib/tazpkg/installed/locale-it
  338. #/var/lib/tazpkg/installed/locale-pt_BR
  339. #/var/lib/tazpkg/installed/locale-ru
  340. #/var/lib/tazpkg/installed/lxappearance
  341. #/var/lib/tazpkg/installed/lxde
  342. #/var/lib/tazpkg/installed/lxinput
  343. #/var/lib/tazpkg/installed/lxpanel
  344. #/var/lib/tazpkg/installed/lxrandr
  345. #/var/lib/tazpkg/installed/lxsession
  346. #/var/lib/tazpkg/installed/lxsession-edit
  347. #/var/lib/tazpkg/installed/lxtask
  348. s /var/lib/tazpkg/installed/lz4
  349. id /var/lib/tazpkg/installed/lz4-dev
  350. i /var/lib/tazpkg/installed/lz4-lib
  351. #/var/lib/tazpkg/installed/lz5
  352. #/var/lib/tazpkg/installed/lz5-dev
  353. s /var/lib/tazpkg/installed/lzlib
  354. #/var/lib/tazpkg/installed/lzma
  355. i /var/lib/tazpkg/installed/lzo
  356. id /var/lib/tazpkg/installed/lzo-dev
  357. i /var/lib/tazpkg/installed/lzop
  358. #/var/lib/tazpkg/installed/mate-notification-daemon
  359. #/var/lib/tazpkg/installed/memtest
  360. #/var/lib/tazpkg/installed/menu-cache
  361. #/var/lib/tazpkg/installed/mhwaveedit
  362. #/var/lib/tazpkg/installed/midori
  363. #/var/lib/tazpkg/installed/midori-video
  364. #/var/lib/tazpkg/installed/mtdev
  365. #/var/lib/tazpkg/installed/mtpaint
  366. #/var/lib/tazpkg/installed/nano
  367. #/var/lib/tazpkg/installed/nanochess
  368. #/var/lib/tazpkg/installed/ncurses
  369. #/var/lib/tazpkg/installed/ncurses-common
  370. #/var/lib/tazpkg/installed/ncursesw
  371. #/var/lib/tazpkg/installed/nettle #
  372. L_d /var/lib/tazpkg/installed/nettle-dev #
  373. #/var/lib/tazpkg/installed/ntfs-3g
  374. #/var/lib/tazpkg/installed/ntfsprogs
  375. #/var/lib/tazpkg/installed/obconf
  376. #/var/lib/tazpkg/installed/openbox
  377. s /var/lib/tazpkg/installed/openssl
  378. #/var/lib/tazpkg/installed/orc
  379. #/var/lib/tazpkg/installed/package-libdaemon
  380. #/var/lib/tazpkg/installed/palemoon-opt
  381. #/var/lib/tazpkg/installed/pango
  382. #/var/lib/tazpkg/installed/pangomm
  383. #/var/lib/tazpkg/installed/parted
  384. id /var/lib/tazpkg/installed/patch
  385. id /var/lib/tazpkg/installed/patchelf
  386. #/var/lib/tazpkg/installed/pciids
  387. #/var/lib/tazpkg/installed/pcmanfm
  388. #/var/lib/tazpkg/installed/pcmciautils
  389. #/var/lib/tazpkg/installed/pcre
  390. #/var/lib/tazpkg/installed/pcsc-lite
  391. #
  392. id /var/lib/tazpkg/installed/perl-extutils-pkgconfig
  393. i /var/lib/tazpkg/installed/perl-gtk2
  394. #/var/lib/tazpkg/installed/perl-gtk2-trayicon
  395. i /var/lib/tazpkg/installed/perl-libjson
  396. id /var/lib/tazpkg/installed/perl-locale-gettext
  397. id /var/lib/tazpkg/installed/perl-maketext-gettext
  398. #
  399. #Install This one after the other Perl Libs to make sure nothing gets deleted
  400. i /var/lib/tazpkg/installed/perl
  401. #
  402. #/var/lib/tazpkg/installed/pixman
  403. id /var/lib/tazpkg/installed/pkg-config
  404. #/var/lib/tazpkg/installed/polkit
  405. #/var/lib/tazpkg/installed/poppler
  406. #/var/lib/tazpkg/installed/popt
  407. #/var/lib/tazpkg/installed/posixovl
  408. #/var/lib/tazpkg/installed/ppp
  409. #
  410. # Use this if you only want a small implementation of python
  411.   $( if [ $tinypy == true ]; then
  412.        echo "i /var/lib/tazpkg/installed/tinypy
  413.              id /var/lib/tazpkg/installed/python-docutils
  414.              id /var/lib/tazpkg/installed/python-idle
  415.              id /var/lib/tazpkg/installed/python-magic
  416.              id /var/lib/tazpkg/installed/python-pyxml
  417.              id /var/lib/tazpkg/installed/python-simplejson
  418.              id /var/lib/tazpkg/installed/python-xmlutils"
  419.             #/var/lib/tazpkg/installed/python-html5lib
  420.             #/var/lib/tazpkg/installed/python-http-parser
  421.             #/var/lib/tazpkg/installed/python-httplib2
  422.             #/var/lib/tazpkg/installed/python-ipy
  423.             #/var/lib/tazpkg/installed/python-jinja2
  424.             #/var/lib/tazpkg/installed/python-kid
  425.             #/var/lib/tazpkg/installed/python-kiwi
  426.             #/var/lib/tazpkg/installed/python-llfuse
  427.             #/var/lib/tazpkg/installed/python-lxml
  428.             #/var/lib/tazpkg/installed/python-mako
  429.             #/var/lib/tazpkg/installed/python-markupsafe
  430.             #/var/lib/tazpkg/installed/python-mechanize
  431.             #/var/lib/tazpkg/installed/python-mysql
  432.             #/var/lib/tazpkg/installed/python-netaddr
  433.             #/var/lib/tazpkg/installed/python-netifaces
  434.             #/var/lib/tazpkg/installed/python-numpy
  435.             #/var/lib/tazpkg/installed/python-psutil
  436.             #/var/lib/tazpkg/installed/python-pycryptopp
  437.             #/var/lib/tazpkg/installed/python-pygments
  438.             #/var/lib/tazpkg/installed/python-pysqlite
  439.             #/var/lib/tazpkg/installed/python-pyxml
  440.             #/var/lib/tazpkg/installed/python-simplejson
  441.             #/var/lib/tazpkg/installed/python-soappy
  442.             #/var/lib/tazpkg/installed/python-sphinx
  443.             #/var/lib/tazpkg/installed/python-sqlalchemy
  444.             #/var/lib/tazpkg/installed/python-urwid
  445.             #/var/lib/tazpkg/installed/python-vte
  446.             #/var/lib/tazpkg/installed/python-xlib
  447.             #/var/lib/tazpkg/installed/python-xlwt
  448.             #/var/lib/tazpkg/installed/python-xmlutils  
  449.      else
  450.          echo "i /var/lib/tazpkg/installed/python"
  451.      fi )
  452. i /var/lib/tazpkg/installed/pycrypto
  453. id /var/lib/tazpkg/installed/pycurl
  454. i /var/lib/tazpkg/installed/pygobject
  455. id /var/lib/tazpkg/installed/pygobject-dev
  456. #/var/lib/tazpkg/installed/pygobject3
  457. s /var/lib/tazpkg/installed/pygtk
  458. id /var/lib/tazpkg/installed/pygtk-dev
  459. i /var/lib/tazpkg/installed/PyQt-x11-gpl
  460. #
  461. id /var/lib/tazpkg/installed/libxml2-python
  462. # /var/lib/tazpkg/installed/paramiko
  463. # /var/lib/tazpkg/installed/protobuf-python
  464. #
  465. L_i /var/lib/tazpkg/installed/psyco
  466. d /var/lib/tazpkg/installed/ptpython
  467. i /var/lib/tazpkg/installed/pyopenssl
  468. L_d /var/lib/tazpkg/installed/python-antlr
  469. L_i /var/lib/tazpkg/installed/python-apsw #Python wrapper for SQLite.
  470. #/var/lib/tazpkg/installed/python-cssutils
  471. L_i /var/lib/tazpkg/installed/python-cython
  472. d /var/lib/tazpkg/installed/python-dev
  473. L_d /var/lib/tazpkg/installed/python-distribute
  474. L_i /var/lib/tazpkg/installed/python-dnspython
  475. d /var/lib/tazpkg/installed/python-docopt
  476. d /var/lib/tazpkg/installed/python-docutils
  477. L_i /var/lib/tazpkg/installed/python-html2text
  478. #
  479. #/var/lib/tazpkg/installed/sip
  480. #
  481. #
  482. #
  483. #
  484. id /var/lib/tazpkg/installed/qmake
  485. i /var/lib/tazpkg/installed/qt4
  486. id /var/lib/tazpkg/installed/Qt4-dev
  487. s /var/lib/tazpkg/installed/rox-default-icons
  488. s /var/lib/tazpkg/installed/rox-filer
  489. s /var/lib/tazpkg/installed/rox-filer-locales
  490. #/var/lib/tazpkg/installed/rp-pppoe
  491. id /var/lib/tazpkg/installed/ruby-pkgconfig
  492. #/var/lib/tazpkg/installed/sakura #A simple but powerful libvte-based terminal emulator
  493. L_d /var/lib/tazpkg/installed/sane-backends-dev
  494. #/var/lib/tazpkg/installed/sdft #SliTaz Desktop Files Tools
  495. #/var/lib/tazpkg/installed/shared-mime-info
  496. #/var/lib/tazpkg/installed/slim
  497. #/var/lib/tazpkg/installed/slitaz-base-files
  498. #/var/lib/tazpkg/installed/slitaz-boot-scripts
  499. #/var/lib/tazpkg/installed/slitaz-configs
  500. #/var/lib/tazpkg/installed/slitaz-configs-base
  501. #/var/lib/tazpkg/installed/slitaz-doc
  502. #/var/lib/tazpkg/installed/slitaz-icons-faenza
  503. #/var/lib/tazpkg/installed/slitaz-icons-faenza-dark
  504. #/var/lib/tazpkg/installed/slitaz-menus
  505. #/var/lib/tazpkg/installed/slitaz-polar-cursors
  506. #/var/lib/tazpkg/installed/slitaz-tools
  507. #/var/lib/tazpkg/installed/slitaz-tools-boxes
  508. #/var/lib/tazpkg/installed/speex #Low bandwith voice codec.
  509. #/var/lib/tazpkg/installed/speex-dev
  510. i /var/lib/tazpkg/installed/sqlite
  511. I /var/lib/tazpkg/installed/squashfs
  512. #/var/lib/tazpkg/installed/startup-notification
  513. #/var/lib/tazpkg/installed/sudoku #Sudoku game in javascript
  514. #/var/lib/tazpkg/installed/sundown #Standards compliant, fast, secure markdown processing library in C
  515. #/var/lib/tazpkg/installed/sysfsutils
  516. #/var/lib/tazpkg/installed/sysfsutils-dev
  517. #/var/lib/tazpkg/installed/syslinux
  518. #/var/lib/tazpkg/installed/syslinux-extra
  519. #/var/lib/tazpkg/installed/tazbug
  520. #/var/lib/tazpkg/installed/tazinst
  521. #/var/lib/tazpkg/installed/tazinst-gui
  522. #/var/lib/tazpkg/installed/tazirc
  523. #/var/lib/tazpkg/installed/tazlito
  524. #/var/lib/tazpkg/installed/tazpanel
  525. #/var/lib/tazpkg/installed/tazpkg
  526. #/var/lib/tazpkg/installed/tazusb
  527. #/var/lib/tazpkg/installed/tazweb
  528. #/var/lib/tazpkg/installed/tazwikiss
  529. #/var/lib/tazpkg/installed/terminus-font-base
  530. #/var/lib/tazpkg/installed/tiff
  531. #/var/lib/tazpkg/installed/transset-df #Tool to set windows opacity.
  532. #/var/lib/tazpkg/installed/ttf-dejavu
  533. #/var/lib/tazpkg/installed/udev
  534. #/var/lib/tazpkg/installed/udisks2
  535. #/var/lib/tazpkg/installed/uextract
  536. #/var/lib/tazpkg/installed/usbids
  537. #/var/lib/tazpkg/installed/util-linux-blkid
  538. #/var/lib/tazpkg/installed/util-linux-eject
  539. #/var/lib/tazpkg/installed/util-linux-getopt
  540. #/var/lib/tazpkg/installed/util-linux-mount
  541. #/var/lib/tazpkg/installed/util-linux-smartcols
  542. #/var/lib/tazpkg/installed/util-linux-uuid
  543. id /var/lib/tazpkg/installed/vala #Compiler for the GObject type system
  544. #/var/lib/tazpkg/installed/vorbis-tools
  545. i /var/lib/tazpkg/installed/vte #Terminal capabilities for GTK+ widgets.
  546. d /var/lib/tazpkg/installed/vte
  547. #/var/lib/tazpkg/installed/web-applications
  548. #/var/lib/tazpkg/installed/wireless_tools
  549. #/var/lib/tazpkg/installed/wpa_supplicant
  550. #/var/lib/tazpkg/installed/xcb-util
  551. #/var/lib/tazpkg/installed/xchat
  552. #/var/lib/tazpkg/installed/xchat-plugin
  553. #/var/lib/tazpkg/installed/xorg
  554. #/var/lib/tazpkg/installed/xorg-base-fonts
  555. id /var/lib/tazpkg/installed/xorg-dev
  556. d /var/lib/tazpkg/installed/xorg-gccmakedep
  557. #/var/lib/tazpkg/installed/xorg-libfontenc
  558. #/var/lib/tazpkg/installed/xorg-libICE
  559. #/var/lib/tazpkg/installed/xorg-libpciaccess
  560. #/var/lib/tazpkg/installed/xorg-libSM
  561. #/var/lib/tazpkg/installed/xorg-libX11
  562. #/var/lib/tazpkg/installed/xorg-libXau
  563. #/var/lib/tazpkg/installed/xorg-libXaw3d
  564. #/var/lib/tazpkg/installed/xorg-libXcomposite
  565. #/var/lib/tazpkg/installed/xorg-libXcursor
  566. #/var/lib/tazpkg/installed/xorg-libXdamage
  567. #/var/lib/tazpkg/installed/xorg-libXdmcp
  568. #/var/lib/tazpkg/installed/xorg-libXext
  569. #/var/lib/tazpkg/installed/xorg-libXfixes
  570. #/var/lib/tazpkg/installed/xorg-libXfont
  571. #/var/lib/tazpkg/installed/xorg-libXft
  572. #/var/lib/tazpkg/installed/xorg-libXi
  573. #/var/lib/tazpkg/installed/xorg-libXinerama
  574. #/var/lib/tazpkg/installed/xorg-libxkbfile
  575. #/var/lib/tazpkg/installed/xorg-libXmu
  576. #/var/lib/tazpkg/installed/xorg-libXpm
  577. #/var/lib/tazpkg/installed/xorg-libXrandr
  578. #/var/lib/tazpkg/installed/xorg-libXrender
  579. #/var/lib/tazpkg/installed/xorg-libXss
  580. #/var/lib/tazpkg/installed/xorg-libXt
  581. #/var/lib/tazpkg/installed/xorg-libXtst
  582. #/var/lib/tazpkg/installed/xorg-libXv
  583. #/var/lib/tazpkg/installed/xorg-libXvMC
  584. #/var/lib/tazpkg/installed/xorg-libXxf86vm
  585. #/var/lib/tazpkg/installed/xorg-server
  586. #/var/lib/tazpkg/installed/xorg-setxkbmap
  587. #/var/lib/tazpkg/installed/xorg-xauth
  588. #/var/lib/tazpkg/installed/xorg-xcompmgr
  589. #/var/lib/tazpkg/installed/xorg-xf86-input-evdev
  590. #/var/lib/tazpkg/installed/xorg-xf86-input-synaptics
  591. #/var/lib/tazpkg/installed/xorg-xf86-video-fbdev
  592. #/var/lib/tazpkg/installed/xorg-xf86-video-vesa
  593. #/var/lib/tazpkg/installed/xorg-xhost
  594. #/var/lib/tazpkg/installed/xorg-xkbcomp
  595. #/var/lib/tazpkg/installed/xorg-xkeyboard-config
  596. #/var/lib/tazpkg/installed/xorg-xrandr
  597. #/var/lib/tazpkg/installed/xorg-xset
  598. #/var/lib/tazpkg/installed/xterm
  599. #/var/lib/tazpkg/installed/yad-gtk2
  600. #/var/lib/tazpkg/installed/zlib
  601. EOM
  602. #)
  603. if [ $InstallPackages == true ]; then
  604.   while read PKG; do
  605.      [ -f "$PKG" ] || tazpkg get-install "$( basename "$PKG" )"
  606.   done <"$TMP/To_Install"
  607.    while read PKG; do
  608.      [ -f "$PKG" ] || tazpkg get-install "$( basename "$PKG" )"
  609.   done <"$TMP/Should_Be_Standard"
  610. fi
  611. copyPackage(){
  612.     PACKAGE=$1
  613.     if [ -n "$2" ]; then
  614.       aRoot="$2"
  615.     else
  616.       aROOT="$ROOT"
  617.     fi
  618.     if [ -f $PACKAGE ]; then
  619.       while read line; do
  620.         DIR=$( dirname "$line" )
  621.         mkdir -p "$aROOT$DIR"
  622.         cp -a -u "$line" "$aROOT$line"
  623.       done <"$PACKAGE/files.list"
  624.     else
  625.       cd "$TMP"
  626.       PKG_Name="$( basename "$PACKAGE" )"
  627.       tazpkg get $PKG_Name
  628.       VERSION=`tazpkg info $PKG_Name | grep 'Version' | sed 's/.*://'|cut -c 6-`
  629.       tazpkg extract "$PKG_Name"-"$VERSION".tazpkg "$ROOT"
  630.     fi
  631. }
  632. if [ $BuildDevX == true ]; then
  633.   while read PKG; do
  634.     copyPackage "$PKG"
  635.   done <"$TMP/For_DevX"
  636.   mksquashfs "$ROOT" devX_TazPup_s243a_1.0.sfs -comp xz -Xbcj arm -noappend
  637. fi
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top