summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2002-12-20 19:47:46 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2002-12-20 19:47:46 +0000
commit425dd86234b638a36950e36130df2589c1180ac4 (patch)
treed987a012819e061432f8112f0d170ec23e0d0d38 /perl-install
parent9f02f30dccf6806029ed5b881130f0644939f547 (diff)
downloaddrakx-425dd86234b638a36950e36130df2589c1180ac4.tar
drakx-425dd86234b638a36950e36130df2589c1180ac4.tar.gz
drakx-425dd86234b638a36950e36130df2589c1180ac4.tar.bz2
drakx-425dd86234b638a36950e36130df2589c1180ac4.tar.xz
drakx-425dd86234b638a36950e36130df2589c1180ac4.zip
list files changes for gtk2 (is that really optimal to have utf8.pm and utf8_heavy.pl?)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/Makefile8
-rw-r--r--perl-install/share/list24
2 files changed, 21 insertions, 11 deletions
diff --git a/perl-install/Makefile b/perl-install/Makefile
index e5f04c445..c885d928e 100644
--- a/perl-install/Makefile
+++ b/perl-install/Makefile
@@ -83,9 +83,11 @@ get_needed_files: $(DIRS) $(MOFILES)
# export PERL_INSTALL_TEST=1 ; strace -f -e trace=file -o '| grep -v "(No such file or directory)" | sed -e "s/[^\"]*\"//" -e "s/\".*//" | grep "^/" | grep -v -e "^/tmp" -e "^/home" -e "^/proc" -e "^/var" -e "^/dev" -e "^/etc" -e "^/usr/lib/rpm" > /tmp/list ' $(PERL) -d install2 < /dev/null
eval `perl -V:version`; \
cat share/list `../tools/specific_arch share/list` | \
- perl -pe "s/ARCH/$(ARCH)/g ; s/PERL_VERSION/$$version/g ; s|/LIB/|/$(LIB)/|g" > /tmp/list
+ perl -pe "s/ARCH/$(ARCH)/g ; s/PERL_VERSION/$$version/g ; s|/LIB/|/$(LIB)/|g " | \
+ perl -pe 'if (/\*/) { @l = glob; @l == 1 and $$_ = "$$l[0]\n" } ' > /tmp/list
+ rpm -ql perl-GTK2 | grep '^/usr/lib' >> /tmp/list
- @missing=`perl -lne 'print if !-e $$_' /tmp/list`; [ -z "$$missing" ] || { echo "missing files vvvvvvvvvvvvvvvvvvvvvvvvvv" ; echo "$$missing" ; echo "missing files ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^" ; exit 1; }
+ @missing=`perl -lne 'print if !-e $$_' /tmp/list`; [ -z "$$missing" ] || { echo "missing or multiple files vvvvvvvvvvvvvvvvvvvvvvvvvv" ; echo "$$missing" ; echo "missing or multiple files ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^" ; exit 1; }
find auto -follow -name "*.so" >> /tmp/list
@@ -140,7 +142,7 @@ endif
fi; \
fi; \
done
- mv -f $(DEST)/$(LIB)/libimlib-png.so $(DEST)/usr/$(LIB)
+ perl -pi -e 's/\s*use\s+(warnings|diagnostics|vars|strict).*//g' $(DEST)/usr/*/*/*/utf8_heavy.pl
mv -f $(DEST)/bin/* $(DEST)/sbin/* $(DEST)/usr/bin
cd $(DEST)/usr/bin ; mv insmod insmod_
diff --git a/perl-install/share/list b/perl-install/share/list
index b3f2b92ad..547db5994 100644
--- a/perl-install/share/list
+++ b/perl-install/share/list
@@ -49,9 +49,17 @@
/usr/LIB/gconv/GEORGIAN-PS.so
/usr/LIB/gconv/EUC-CN.so
/usr/LIB/gconv/gconv-modules
-/usr/LIB/gtk/themes/engines/libpixmap.so
-/usr/LIB/gtk/themes/engines/libpixmap.la
-/usr/LIB/libimlib-png.so
+/usr/LIB/gtk-2.0/*/engines/libpixmap.so
+/usr/LIB/gtk-2.0/*/engines/libpixmap.la
+
+/etc/gtk-2.0/gdk-pixbuf.loaders
+/usr/LIB/gtk-2.0/*/loaders/libpixbufloader-xpm.so
+/usr/LIB/gtk-2.0/*/loaders/libpixbufloader-png.so
+/etc/gtk-2.0/gtk.immodules
+/etc/pango/pango.modules
+/usr/LIB/pango/*/modules/pango-basic-xft.so
+/usr/LIB/pango/*/modules/pango-basic-x.so
+
/usr/lib/perl5/PERL_VERSION/AutoLoader.pm
/usr/lib/perl5/PERL_VERSION/Carp.pm
/usr/lib/perl5/PERL_VERSION/Carp/Heavy.pm
@@ -64,6 +72,11 @@
/usr/lib/perl5/PERL_VERSION/Time/Local.pm
/usr/lib/perl5/PERL_VERSION/IO/Socket/INET.pm
/usr/lib/perl5/PERL_VERSION/IO/Socket/UNIX.pm
+/usr/lib/perl5/PERL_VERSION/base.pm
+/usr/lib/perl5/PERL_VERSION/constant.pm
+/usr/lib/perl5/PERL_VERSION/utf8.pm
+/usr/lib/perl5/PERL_VERSION/utf8_heavy.pl
+/usr/lib/perl5/PERL_VERSION/unicore/Exact.pl
/usr/lib/perl5/PERL_VERSION/dumpvar.pl
/usr/lib/perl5/PERL_VERSION/warnings.pm
/usr/lib/perl5/PERL_VERSION/warnings/register.pm
@@ -118,11 +131,6 @@
/usr/lib/perl5/vendor_perl/PERL_VERSION/ARCH-linux-thread-multi/URPM.pm
/usr/lib/perl5/vendor_perl/PERL_VERSION/ARCH-linux-thread-multi/URPM/Resolve.pm
/usr/lib/perl5/vendor_perl/PERL_VERSION/ARCH-linux-thread-multi/auto/URPM/URPM.so
-/usr/lib/perl5/vendor_perl/PERL_VERSION/ARCH-linux-thread-multi/Gtk.pm
-/usr/lib/perl5/vendor_perl/PERL_VERSION/ARCH-linux-thread-multi/Gtk/Types.pm
-/usr/lib/perl5/vendor_perl/PERL_VERSION/ARCH-linux-thread-multi/Gtk/Gdk/ImlibImage.pm
-/usr/lib/perl5/vendor_perl/PERL_VERSION/ARCH-linux-thread-multi/auto/Gtk/Gtk.so
-/usr/lib/perl5/vendor_perl/PERL_VERSION/ARCH-linux-thread-multi/auto/Gtk/Gdk/ImlibImage/ImlibImage.so
/usr/LIB/rpm/rpmrc
/usr/LIB/rpm/macros
/sbin/rescuept