Build bunles delete unneeded files

Technical issues/questions of an intermediate or advanced nature.
Jack
Contributor
Contributor
Posts: 1857
Joined: 09 Aug 2013, 14:25
Distribution: Porteus and Nemesis
Location: USA

Build bunles delete unneeded files

Post#1 by Jack » 26 Jul 2016, 02:52

I want make these bundles smaller. What do I need to delete unneeded files? Any help on this would be great.

1. youtube-dl-gui

Code: Select all

.
├── etc
│   ├── bash_completion.d
│   └── fish
│       └── completions
├── usr
│   ├── bin
│   ├── doc
│   │   ├── wxPython-2.8.12.1
│   │   │   ├── docs
│   │   │   │   ├── base
│   │   │   │   ├── dfb
│   │   │   │   ├── gtk
│   │   │   │   │   └── wxGNOME
│   │   │   │   ├── html
│   │   │   │   │   ├── gettext
│   │   │   │   │   ├── images
│   │   │   │   │   └── wx
│   │   │   │   ├── publicity
│   │   │   │   └── tech
│   │   │   └── wxPython
│   │   │       └── screenshots
│   │   ├── youtube-dl-2016.06.23.1
│   │   ├── youtube-dl-gui-0.3.8
│   │   └── youtube_dl
│   ├── include
│   │   └── wx-2.8
│   │       └── wx
│   │           ├── aui
│   │           ├── generic
│   │           ├── gizmos
│   │           ├── gtk
│   │           │   └── gnome
│   │           ├── html
│   │           ├── ogl
│   │           ├── protocol
│   │           ├── richtext
│   │           ├── stc
│   │           ├── unix
│   │           ├── wxPython
│   │           │   └── i_files
│   │           ├── xml
│   │           └── xrc
│   ├── lib64
│   │   ├── python2.7
│   │   │   └── site-packages
│   │   │       ├── wx-2.8-gtk2-unicode
│   │   │       │   ├── wx
│   │   │       │   │   ├── build
│   │   │       │   │   ├── lib
│   │   │       │   │   │   ├── agw
│   │   │       │   │   │   │   ├── aui
│   │   │       │   │   │   │   ├── persist
│   │   │       │   │   │   │   └── ribbon
│   │   │       │   │   │   ├── analogclock
│   │   │       │   │   │   │   └── lib_setup
│   │   │       │   │   │   ├── art
│   │   │       │   │   │   ├── colourchooser
│   │   │       │   │   │   ├── editor
│   │   │       │   │   │   ├── floatcanvas
│   │   │       │   │   │   │   └── Utilities
│   │   │       │   │   │   ├── masked
│   │   │       │   │   │   ├── mixins
│   │   │       │   │   │   ├── ogl
│   │   │       │   │   │   └── pubsub
│   │   │       │   │   │       ├── core
│   │   │       │   │   │       │   ├── arg1
│   │   │       │   │   │       │   └── kwargs
│   │   │       │   │   │       ├── pubsub1
│   │   │       │   │   │       ├── pubsub2
│   │   │       │   │   │       └── utils
│   │   │       │   │   ├── py
│   │   │       │   │   └── tools
│   │   │       │   │       └── XRCed
│   │   │       │   │           ├── misc
│   │   │       │   │           └── plugins
│   │   │       │   │               └── bitmaps
│   │   │       │   └── wxPython
│   │   │       │       ├── lib
│   │   │       │       │   ├── colourchooser
│   │   │       │       │   ├── editor
│   │   │       │       │   └── mixins
│   │   │       │       └── tools
│   │   │       ├── youtube_dl
│   │   │       │   ├── downloader
│   │   │       │   ├── extractor
│   │   │       │   └── postprocessor
│   │   │       ├── youtube_dl-2016.6.23.1-py2.7.egg-info
│   │   │       └── youtube_dl_gui
│   │   └── wx
│   │       ├── config
│   │       └── include
│   │           └── gtk2-unicode-release-2.8
│   │               └── wx
│   ├── man
│   │   └── man1
│   └── share
│       ├── aclocal
│       ├── applications
│       ├── bakefile
│       │   └── presets
│       ├── icons
│       │   └── hicolor
│       │       ├── 128x128
│       │       │   └── apps
│       │       ├── 16x16
│       │       │   └── apps
│       │       ├── 256x256
│       │       │   └── apps
│       │       ├── 32x32
│       │       │   └── apps
│       │       ├── 48x48
│       │       │   └── apps
│       │       └── 64x64
│       │           └── apps
│       ├── locale
│       │   ├── ca
│       │   │   └── LC_MESSAGES
│       │   ├── cs
│       │   │   └── LC_MESSAGES
│       │   ├── da
│       │   │   └── LC_MESSAGES
│       │   ├── de
│       │   │   └── LC_MESSAGES
│       │   ├── el
│       │   │   └── LC_MESSAGES
│       │   ├── es
│       │   │   └── LC_MESSAGES
│       │   ├── fi
│       │   │   └── LC_MESSAGES
│       │   ├── fr
│       │   │   └── LC_MESSAGES
│       │   ├── hu
│       │   │   └── LC_MESSAGES
│       │   ├── id
│       │   │   └── LC_MESSAGES
│       │   ├── it
│       │   │   └── LC_MESSAGES
│       │   ├── ja
│       │   │   └── LC_MESSAGES
│       │   ├── nl
│       │   │   └── LC_MESSAGES
│       │   ├── pl
│       │   │   └── LC_MESSAGES
│       │   ├── ru
│       │   │   └── LC_MESSAGES
│       │   ├── sl
│       │   │   └── LC_MESSAGES
│       │   ├── sv
│       │   │   └── LC_MESSAGES
│       │   ├── tr
│       │   │   └── LC_MESSAGES
│       │   ├── uk
│       │   │   └── LC_MESSAGES
│       │   ├── zh
│       │   │   └── LC_MESSAGES
│       │   ├── zh_CN
│       │   │   └── LC_MESSAGES
│       │   └── zh_TW
│       │       └── LC_MESSAGES
│       ├── pixmaps
│       └── youtube-dlg
│           └── locale
│               ├── ar_AR
│               │   └── LC_MESSAGES
│               ├── de_DE
│               │   └── LC_MESSAGES
│               ├── en_US
│               │   └── LC_MESSAGES
│               ├── fr_FR
│               │   └── LC_MESSAGES
│               └── pt_BR
│                   └── LC_MESSAGES
└── var
    └── log
        ├── packages
        ├── removed_packages
        ├── removed_scripts
        ├── scripts
        └── setup
            └── tmp

180 directories
2. glabels

Code: Select all

.
├── etc
├── usr
│   ├── bin
│   ├── doc
│   │   └── json-glib-1.2.0
│   ├── include
│   │   ├── evolution-data-server
│   │   │   ├── camel
│   │   │   ├── libebackend
│   │   │   ├── libebook
│   │   │   ├── libebook-contacts
│   │   │   ├── libecal
│   │   │   ├── libedata-book
│   │   │   ├── libedata-cal
│   │   │   ├── libedataserver
│   │   │   └── libedataserverui
│   │   ├── google
│   │   │   └── protobuf
│   │   │       ├── compiler
│   │   │       │   ├── cpp
│   │   │       │   ├── java
│   │   │       │   └── python
│   │   │       ├── io
│   │   │       └── stubs
│   │   ├── gssapi
│   │   ├── gssrpc
│   │   ├── iec16022
│   │   ├── json-glib-1.0
│   │   │   └── json-glib
│   │   ├── kadm5
│   │   ├── krb5
│   │   ├── layout
│   │   ├── libglabels-3.0
│   │   │   └── libglabels
│   │   ├── libglbarcode-3.0
│   │   │   └── libglbarcode
│   │   ├── phonenumbers
│   │   │   ├── base
│   │   │   │   ├── memory
│   │   │   │   └── synchronization
│   │   │   ├── geocoding
│   │   │   └── utf
│   │   └── unicode
│   ├── lib
│   │   ├── evolution-data-server
│   │   │   ├── addressbook-backends
│   │   │   ├── calendar-backends
│   │   │   ├── camel-providers
│   │   │   ├── credential-modules
│   │   │   └── registry-modules
│   │   ├── girepository-1.0
│   │   ├── icu
│   │   │   ├── 57.1
│   │   │   └── current -> 57.1
│   │   ├── krb5
│   │   │   └── plugins
│   │   │       ├── kdb
│   │   │       ├── preauth
│   │   │       └── tls
│   │   ├── pkgconfig
│   │   └── systemd
│   │       ├── system
│   │       └── user
│   ├── lib64
│   │   ├── girepository-1.0
│   │   └── pkgconfig
│   ├── man
│   │   ├── man1
│   │   ├── man5
│   │   └── man8
│   ├── share
│   │   ├── GConf
│   │   │   └── gsettings
│   │   ├── aclocal
│   │   ├── appdata
│   │   ├── applications
│   │   ├── dbus-1
│   │   │   └── services
│   │   ├── doc
│   │   │   └── krb5
│   │   │       └── examples
│   │   ├── emacs
│   │   │   └── site-lisp
│   │   ├── evolution-data-server
│   │   ├── gir-1.0
│   │   ├── glabels-3.0
│   │   │   ├── icons
│   │   │   │   └── hicolor
│   │   │   │       ├── 16x16
│   │   │   │       │   └── actions
│   │   │   │       ├── 22x22
│   │   │   │       │   └── actions
│   │   │   │       └── 24x24
│   │   │   │           └── actions
│   │   │   ├── pixmaps
│   │   │   └── ui
│   │   ├── glib-2.0
│   │   │   └── schemas
│   │   ├── gtk-doc
│   │   │   └── html
│   │   │       ├── camel
│   │   │       ├── eds
│   │   │       ├── libglabels-3.0
│   │   │       └── libglbarcode-3.0
│   │   ├── help
│   │   │   ├── C
│   │   │   │   └── glabels-3.0
│   │   │   │       └── figures
│   │   │   ├── cs
│   │   │   │   └── glabels-3.0
│   │   │   │       └── figures
│   │   │   ├── de
│   │   │   │   └── glabels-3.0
│   │   │   │       └── figures
│   │   │   ├── el
│   │   │   │   └── glabels-3.0
│   │   │   │       └── figures
│   │   │   ├── es
│   │   │   │   └── glabels-3.0
│   │   │   │       └── figures
│   │   │   ├── fr
│   │   │   │   └── glabels-3.0
│   │   │   │       └── figures
│   │   │   ├── id
│   │   │   │   └── glabels-3.0
│   │   │   │       └── figures
│   │   │   ├── nl
│   │   │   │   └── glabels-3.0
│   │   │   │       └── figures
│   │   │   ├── pt_BR
│   │   │   │   └── glabels-3.0
│   │   │   │       └── figures
│   │   │   ├── ru
│   │   │   │   └── glabels-3.0
│   │   │   │       └── figures
│   │   │   └── sl
│   │   │       └── glabels-3.0
│   │   │           └── figures
│   │   ├── icons
│   │   │   └── hicolor
│   │   │       ├── 16x16
│   │   │       │   └── apps
│   │   │       ├── 22x22
│   │   │       │   └── apps
│   │   │       ├── 24x24
│   │   │       │   └── apps
│   │   │       ├── 32x32
│   │   │       │   └── apps
│   │   │       ├── 48x48
│   │   │       │   ├── apps
│   │   │       │   └── mimetypes
│   │   │       └── scalable
│   │   │           ├── apps
│   │   │           └── mimetypes
│   │   ├── icu
│   │   │   └── 57.1
│   │   │       └── config
│   │   ├── info
│   │   ├── libglabels-3.0
│   │   │   ├── dtd
│   │   │   └── templates
│   │   ├── licenses
│   │   │   ├── boost-libs
│   │   │   ├── db
│   │   │   ├── icu
│   │   │   ├── krb5
│   │   │   └── protobuf
│   │   ├── locale
│   │   │   ├── am
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── ar
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── as
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── ast
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── az
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── be
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── bg
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── bn
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── bn_IN
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── bs
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── ca
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── ca@valencia
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── cs
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── cy
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── da
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── de
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── dz
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── el
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── en@shaw
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── en_AU
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── en_CA
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── en_GB
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── en_US
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── eo
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── es
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── et
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── eu
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── fa
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── fi
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── fr
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── fur
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── ga
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── gl
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── gu
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── he
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── hi
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── hr
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── hu
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── id
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── is
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── it
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── ja
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── ka
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── kk
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── km
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── kn
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── ko
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── ku
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── ky
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── lt
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── lv
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── mai
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── mk
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── ml
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── mn
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── mr
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── ms
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── nb
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── ne
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── nl
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── nn
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── oc
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── or
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── pa
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── pl
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── pt
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── pt_BR
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── ro
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── ru
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── rw
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── si
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── sk
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── sl
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── sq
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── sr
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── sr@latin
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── sv
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── ta
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── te
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── tg
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── th
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── tr
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── ug
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── uk
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── vi
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── wa
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── xh
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── zh_CN
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── zh_HK
│   │   │   │   └── LC_MESSAGES
│   │   │   └── zh_TW
│   │   │       └── LC_MESSAGES
│   │   ├── mime
│   │   │   └── packages
│   │   ├── pixmaps
│   │   │   └── evolution-data-server
│   │   └── vala
│   │       └── vapi
│   └── src
│       └── json-glib-1.2.0
└── var
    ├── lib
    │   └── krb5kdc
    └── log
        ├── packages
        ├── removed_packages
        ├── removed_scripts
        ├── scripts
        └── setup
            └── tmp

366 directories
3. Cheese but not done yet

Code: Select all

.
├── etc
├── usr
│   ├── bin
│   ├── doc
│   │   └── json-glib-1.2.0
│   ├── include
│   │   ├── EGL
│   │   ├── GL
│   │   │   └── internal
│   │   ├── GLES
│   │   ├── GLES2
│   │   ├── GLES3
│   │   ├── KHR
│   │   ├── cheese
│   │   ├── clutter-1.0
│   │   │   ├── cally
│   │   │   └── clutter
│   │   │       ├── deprecated
│   │   │       ├── egl
│   │   │       ├── evdev
│   │   │       ├── gdk
│   │   │       ├── glx
│   │   │       ├── wayland
│   │   │       └── x11
│   │   ├── clutter-gst-3.0
│   │   │   └── clutter-gst
│   │   ├── clutter-gtk-1.0
│   │   │   └── clutter-gtk
│   │   ├── cogl
│   │   │   ├── cogl
│   │   │   │   ├── deprecated
│   │   │   │   └── gl-prototypes
│   │   │   ├── cogl-gles2
│   │   │   │   └── GLES2
│   │   │   ├── cogl-pango
│   │   │   └── cogl-path
│   │   ├── d3dadapter
│   │   ├── gnome-desktop-3.0
│   │   │   └── libgnome-desktop
│   │   ├── json-glib-1.0
│   │   │   └── json-glib
│   │   ├── libwacom-1.0
│   │   │   └── libwacom
│   │   └── xkbcommon
│   ├── lib
│   │   ├── bellagio
│   │   ├── cheese
│   │   ├── d3d
│   │   ├── girepository-1.0
│   │   ├── gnome-desktop
│   │   ├── mesa
│   │   ├── pkgconfig
│   │   ├── udev
│   │   │   ├── hwdb.d
│   │   │   └── rules.d
│   │   └── xorg
│   │       └── modules
│   │           └── dri
│   ├── lib64
│   │   ├── girepository-1.0
│   │   └── pkgconfig
│   ├── man
│   │   ├── man1
│   │   └── man3
│   ├── share
│   │   ├── aclocal
│   │   ├── appdata
│   │   ├── applications
│   │   ├── cogl
│   │   │   └── examples-data
│   │   ├── dbus-1
│   │   │   └── services
│   │   ├── doc
│   │   │   ├── libxkbcommon
│   │   │   └── wayland
│   │   │       └── Wayland
│   │   │           └── en-US
│   │   │               └── html
│   │   │                   ├── css
│   │   │                   └── images
│   │   ├── gir-1.0
│   │   ├── glib-2.0
│   │   │   └── schemas
│   │   ├── gnome
│   │   ├── gnome-video-effects
│   │   ├── gtk-doc
│   │   │   └── html
│   │   │       ├── cheese
│   │   │       ├── clutter
│   │   │       ├── clutter-gst-3.0
│   │   │       ├── clutter-gtk-1.0
│   │   │       └── gnome-desktop3
│   │   ├── help
│   │   │   ├── C
│   │   │   │   ├── cheese
│   │   │   │   │   └── figures
│   │   │   │   ├── fdl
│   │   │   │   ├── gpl
│   │   │   │   └── lgpl
│   │   │   ├── ar
│   │   │   │   ├── fdl
│   │   │   │   ├── gpl
│   │   │   │   └── lgpl
│   │   │   ├── ca
│   │   │   │   ├── cheese
│   │   │   │   │   └── figures
│   │   │   │   ├── fdl
│   │   │   │   ├── gpl
│   │   │   │   └── lgpl
│   │   │   ├── cs
│   │   │   │   ├── cheese
│   │   │   │   │   └── figures
│   │   │   │   └── gpl
│   │   │   ├── de
│   │   │   │   ├── cheese
│   │   │   │   │   └── figures
│   │   │   │   ├── fdl
│   │   │   │   ├── gpl
│   │   │   │   └── lgpl
│   │   │   ├── el
│   │   │   │   ├── cheese
│   │   │   │   │   └── figures
│   │   │   │   ├── fdl
│   │   │   │   ├── gpl
│   │   │   │   └── lgpl
│   │   │   ├── es
│   │   │   │   ├── cheese
│   │   │   │   │   └── figures
│   │   │   │   ├── fdl
│   │   │   │   ├── gpl
│   │   │   │   └── lgpl
│   │   │   ├── eu
│   │   │   │   ├── fdl
│   │   │   │   ├── gpl
│   │   │   │   └── lgpl
│   │   │   ├── fi
│   │   │   │   ├── cheese
│   │   │   │   │   └── figures
│   │   │   │   ├── gpl
│   │   │   │   └── lgpl
│   │   │   ├── fr
│   │   │   │   ├── cheese
│   │   │   │   │   └── figures
│   │   │   │   ├── fdl
│   │   │   │   ├── gpl
│   │   │   │   └── lgpl
│   │   │   ├── gl
│   │   │   │   ├── cheese
│   │   │   │   │   └── figures
│   │   │   │   ├── fdl
│   │   │   │   └── gpl
│   │   │   ├── hu
│   │   │   │   ├── cheese
│   │   │   │   │   └── figures
│   │   │   │   ├── fdl
│   │   │   │   ├── gpl
│   │   │   │   └── lgpl
│   │   │   ├── id
│   │   │   │   └── cheese
│   │   │   │       └── figures
│   │   │   ├── ko
│   │   │   │   ├── cheese
│   │   │   │   │   └── figures
│   │   │   │   ├── fdl
│   │   │   │   ├── gpl
│   │   │   │   └── lgpl
│   │   │   ├── nds
│   │   │   │   └── gpl
│   │   │   ├── nl
│   │   │   │   └── cheese
│   │   │   │       └── figures
│   │   │   ├── oc
│   │   │   │   ├── fdl
│   │   │   │   ├── gpl
│   │   │   │   └── lgpl
│   │   │   ├── pa
│   │   │   │   ├── gpl
│   │   │   │   └── lgpl
│   │   │   ├── pl
│   │   │   │   └── fdl
│   │   │   ├── pt_BR
│   │   │   │   ├── cheese
│   │   │   │   │   └── figures
│   │   │   │   ├── fdl
│   │   │   │   ├── gpl
│   │   │   │   └── lgpl
│   │   │   ├── ru
│   │   │   │   └── cheese
│   │   │   │       └── figures
│   │   │   ├── sl
│   │   │   │   ├── cheese
│   │   │   │   │   └── figures
│   │   │   │   ├── fdl
│   │   │   │   ├── gpl
│   │   │   │   └── lgpl
│   │   │   ├── sr
│   │   │   │   └── gpl
│   │   │   ├── sr@latin
│   │   │   │   └── gpl
│   │   │   ├── sv
│   │   │   │   ├── cheese
│   │   │   │   │   └── figures
│   │   │   │   ├── fdl
│   │   │   │   ├── gpl
│   │   │   │   └── lgpl
│   │   │   ├── uk
│   │   │   │   ├── fdl
│   │   │   │   ├── gpl
│   │   │   │   └── lgpl
│   │   │   ├── vi
│   │   │   │   ├── fdl
│   │   │   │   ├── gpl
│   │   │   │   └── lgpl
│   │   │   └── zh_CN
│   │   │       ├── cheese
│   │   │       │   └── figures
│   │   │       ├── fdl
│   │   │       ├── gpl
│   │   │       └── lgpl
│   │   ├── icons
│   │   │   └── hicolor
│   │   │       ├── 16x16
│   │   │       │   └── apps
│   │   │       ├── 22x22
│   │   │       │   └── apps
│   │   │       ├── 24x24
│   │   │       │   └── apps
│   │   │       ├── 256x256
│   │   │       │   └── apps
│   │   │       ├── 32x32
│   │   │       │   └── apps
│   │   │       ├── 48x48
│   │   │       │   └── apps
│   │   │       └── symbolic
│   │   │           └── apps
│   │   ├── libgnome-desktop-3.0
│   │   ├── libwacom
│   │   │   └── layouts
│   │   ├── licenses
│   │   │   ├── libinput
│   │   │   ├── libwacom
│   │   │   ├── libxkbcommon
│   │   │   ├── mesa
│   │   │   └── wayland
│   │   ├── locale
│   │   │   ├── af
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── am
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── an
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── ar
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── as
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── ast
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── az
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── az_IR
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── be
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── be@latin
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── bg
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── bn
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── bn_IN
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── br
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── bs
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── ca
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── ca@valencia
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── crh
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── cs
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── csb
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── cy
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── da
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── de
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── dz
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── el
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── en
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── en@shaw
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── en_CA
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── en_GB
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── eo
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── es
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── et
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── eu
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── fa
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── fi
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── fr
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── fur
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── fy
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── ga
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── gd
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── gl
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── gu
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── ha
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── he
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── hi
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── hr
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── hu
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── hy
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── id
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── ig
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── is
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── it
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── ja
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── ka
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── kg
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── kk
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── km
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── kn
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── ko
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── ku
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── ky
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── li
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── lo
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── lt
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── lv
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── mai
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── mg
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── mi
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── mk
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── ml
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── mn
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── mr
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── ms
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── nb
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── nds
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── ne
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── nl
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── nn
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── nso
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── oc
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── or
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── pa
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── pl
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── ps
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── pt
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── pt_BR
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── ro
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── ru
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── rw
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── si
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── sk
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── sl
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── sq
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── sr
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── sr@latin
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── sv
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── ta
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── te
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── tg
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── th
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── tk
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── tr
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── ug
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── uk
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── ur
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── uz
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── uz@cyrillic
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── vi
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── wa
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── xh
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── yi
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── yo
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── zh_CN
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── zh_HK
│   │   │   │   └── LC_MESSAGES
│   │   │   ├── zh_TW
│   │   │   │   └── LC_MESSAGES
│   │   │   └── zu
│   │   │       └── LC_MESSAGES
│   │   ├── pkgconfig
│   │   └── wayland
│   └── src
│       └── json-glib-1.2.0
└── var
    └── log
        ├── packages
        ├── removed_packages
        ├── removed_scripts
        ├── scripts
        └── setup
            └── tmp

489 directories
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

Bogomips
Full of knowledge
Full of knowledge
Posts: 2564
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: Build bunles delete unneeded files

Post#2 by Bogomips » 26 Jul 2016, 11:17

@ Jack
After a quick look you have some includes and some language files, and so far I notice, although many, altogether do not take up much space, compared with size of library directories. So if not doing any harm and not taking up much room, tend to leave them alone, for fear while trying to clean these up, do get rid of something vital. :twisted:
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

Jack
Contributor
Contributor
Posts: 1857
Joined: 09 Aug 2013, 14:25
Distribution: Porteus and Nemesis
Location: USA

Re: Build bunles delete unneeded files

Post#3 by Jack » 26 Jul 2016, 14:58

When I did those files I just use xzm2dir files name.xzm temp that why you see what you see. I just wanted to make them a little smaller in size. For me I don't care how big they are and I know member want them as small as possible.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

User avatar
wread
Module Guard
Module Guard
Posts: 1255
Joined: 09 Jan 2011, 18:48
Distribution: Porteus v5.0-kde-64 bits
Location: Santo Domingo
Contact:

Re: Build bunles delete unneeded files

Post#4 by wread » 02 Aug 2016, 12:37

@jack
you can strip bin-executables and libs, thus eliminating the possibility of debugging them. You can also eliminate all Info and doc-files. Your programs will run much faster. Try it!

Cheers!
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: Build bunles delete unneeded files

Post#5 by brokenman » 03 Aug 2016, 00:02

To start off you should be safe removing everything in these folders:
/usr/share/help
/usr/info
/usr/doc
/usr/share/doc/
/usr/man
/usr/share/man
/usr/share/locales
/usr/include

You may also remove any headers or statics. (Run this from within the folder that you will turn into a module.)
find -type f -name "*.h" | xargs rm
find -type f -name "*.a" | xargs rm
find -type f -name "*.la" | xargs rm

You can also strip any debugging symbols
find . | xargs file | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded
How do i become super user?
Wear your underpants on the outside and put on a cape.

neko
DEV Team
DEV Team
Posts: 2109
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Re: Build bunles delete unneeded files

Post#6 by neko » 03 Aug 2016, 06:32

@Jack
maybe the following locale information can be removed.

find /usr/share/*/translations/ -name '*.qm'

If the specific locale information (for specific language ISO) is needed,
it must be skipped removing.

Thanks.

Post Reply