* [gentoo-commits] gentoo-x86 commit in x11-libs/libxcb/files: xcb-rebuilder.sh
@ 2009-06-07 21:06 Remi Cardona (remi)
0 siblings, 0 replies; 4+ messages in thread
From: Remi Cardona (remi) @ 2009-06-07 21:06 UTC (permalink / raw
To: gentoo-commits
remi 09/06/07 21:06:30
Added: xcb-rebuilder.sh
Log:
x11-libs/libxcb: bump to 1.3, add xcb-rebuilder.sh from the x11 overlay
(Portage version: 2.2_rc33/cvs/Linux i686)
Revision Changes Path
1.1 x11-libs/libxcb/files/xcb-rebuilder.sh
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/libxcb/files/xcb-rebuilder.sh?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/libxcb/files/xcb-rebuilder.sh?rev=1.1&content-type=text/plain
Index: xcb-rebuilder.sh
===================================================================
#!/bin/bash
# To use something besides `emerge` to install packages, set
# XCB_REBUILDER_INSTALL to that binary.
. /etc/init.d/functions.sh
case ${1} in
'') ;;
*)
einfo 'Rebuilds broken packages from the XCB library renaming'
einfo
einfo 'To use something besides `emerge`, set the INSTALL variable to their binary.'
exit 1
;;
esac
if ! type -p qfile >/dev/null; then
einfo "Please install app-portage/portage-utils."
exit 1
fi
if ! type -p scanelf >/dev/null; then
einfo "Please install app-misc/pax-utils."
exit 1
fi
einfo "Fixing broken libtool archives (.la)"
for i in $(qlist -a | grep "\.la$"); do
sed -i \
-e "s:[^[:space:]]*xcb-xlib[^[:space:]]*::g" \
"${i}" 2>/dev/null
done
einfo "Scanning for libraries requiring libxcb-xlib.so..."
for i in $(qlist -a | grep "\.so$"); do
scanelf -n $i \
| grep -q xcb-xlib \
&& XCB_LIBS="${XCB_LIBS} ${i}"
done
if [[ -n ${XCB_LIBS} ]]; then
einfo "Broken libraries:"
for lib in ${XCB_LIBS}; do
echo " ${lib}"
done
ebegin "Scanning for packages installing broken libraries"
XCB_PACKAGES=$(qfile -qC ${XCB_LIBS} | sort | uniq)
eend 0
else
einfo "No broken libraries detected"
exit 0
fi
einfo "Broken packages:"
for pkg in ${XCB_PACKAGES}; do
echo " ${pkg}"
done
ebegin "Rebuilding broken packages"
${XCB_REBUILDER_INSTALL:-emerge -1} ${XCB_PACKAGES}
eend $?
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-commits] gentoo-x86 commit in x11-libs/libxcb/files: xcb-rebuilder.sh
@ 2009-08-18 14:38 Remi Cardona (remi)
0 siblings, 0 replies; 4+ messages in thread
From: Remi Cardona (remi) @ 2009-08-18 14:38 UTC (permalink / raw
To: gentoo-commits
remi 09/08/18 14:38:48
Modified: xcb-rebuilder.sh
Log:
x11-libs/libxcb: don't try to rebuild broken packages, just list them
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Revision Changes Path
1.2 x11-libs/libxcb/files/xcb-rebuilder.sh
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/libxcb/files/xcb-rebuilder.sh?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/libxcb/files/xcb-rebuilder.sh?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/libxcb/files/xcb-rebuilder.sh?r1=1.1&r2=1.2
Index: xcb-rebuilder.sh
===================================================================
RCS file: /var/cvsroot/gentoo-x86/x11-libs/libxcb/files/xcb-rebuilder.sh,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- xcb-rebuilder.sh 7 Jun 2009 21:06:30 -0000 1.1
+++ xcb-rebuilder.sh 18 Aug 2009 14:38:47 -0000 1.2
@@ -58,6 +58,7 @@
echo " ${pkg}"
done
-ebegin "Rebuilding broken packages"
-${XCB_REBUILDER_INSTALL:-emerge -1} ${XCB_PACKAGES}
-eend $?
+#
+#ebegin "Rebuilding broken packages"
+#${XCB_REBUILDER_INSTALL:-emerge -1} ${XCB_PACKAGES}
+#eend $?
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-commits] gentoo-x86 commit in x11-libs/libxcb/files: xcb-rebuilder.sh
@ 2009-09-28 13:13 Remi Cardona (remi)
0 siblings, 0 replies; 4+ messages in thread
From: Remi Cardona (remi) @ 2009-09-28 13:13 UTC (permalink / raw
To: gentoo-commits
remi 09/09/28 13:13:21
Modified: xcb-rebuilder.sh
Log:
x11-libs/libxcb: add upgrade guide URL at the end of xcb-rebuilder.sh
(Portage version: 2.2_rc42/cvs/Linux i686)
Revision Changes Path
1.3 x11-libs/libxcb/files/xcb-rebuilder.sh
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/libxcb/files/xcb-rebuilder.sh?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/libxcb/files/xcb-rebuilder.sh?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/libxcb/files/xcb-rebuilder.sh?r1=1.2&r2=1.3
Index: xcb-rebuilder.sh
===================================================================
RCS file: /var/cvsroot/gentoo-x86/x11-libs/libxcb/files/xcb-rebuilder.sh,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- xcb-rebuilder.sh 18 Aug 2009 14:38:47 -0000 1.2
+++ xcb-rebuilder.sh 28 Sep 2009 13:13:20 -0000 1.3
@@ -58,6 +58,10 @@
echo " ${pkg}"
done
+echo
+ewarn "Please read the libxcb upgrade guide for further instructions"
+ewarn "http://www.gentoo.org/proj/en/desktop/x/x11/libxcb-1.4-upgrade-guide.xml"
+
#
#ebegin "Rebuilding broken packages"
#${XCB_REBUILDER_INSTALL:-emerge -1} ${XCB_PACKAGES}
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-commits] gentoo-x86 commit in x11-libs/libxcb/files: xcb-rebuilder.sh
@ 2014-12-21 9:42 Michal Gorny (mgorny)
0 siblings, 0 replies; 4+ messages in thread
From: Michal Gorny (mgorny) @ 2014-12-21 9:42 UTC (permalink / raw
To: gentoo-commits
mgorny 14/12/21 09:42:18
Modified: xcb-rebuilder.sh
Log:
Use sys-apps/gentoo-functions in xcb-rebuilder, bug #504420.
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
Revision Changes Path
1.4 x11-libs/libxcb/files/xcb-rebuilder.sh
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libxcb/files/xcb-rebuilder.sh?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libxcb/files/xcb-rebuilder.sh?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libxcb/files/xcb-rebuilder.sh?r1=1.3&r2=1.4
Index: xcb-rebuilder.sh
===================================================================
RCS file: /var/cvsroot/gentoo-x86/x11-libs/libxcb/files/xcb-rebuilder.sh,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- xcb-rebuilder.sh 28 Sep 2009 13:13:20 -0000 1.3
+++ xcb-rebuilder.sh 21 Dec 2014 09:42:18 -0000 1.4
@@ -3,7 +3,10 @@
# To use something besides `emerge` to install packages, set
# XCB_REBUILDER_INSTALL to that binary.
-. /etc/init.d/functions.sh
+if ! . /lib/gentoo/functions.sh 2>/dev/null; then
+ echo 'Please install sys-apps/gentoo-functions and rerun this script.'
+ exit 1
+fi
case ${1} in
'') ;;
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-12-21 9:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-28 13:13 [gentoo-commits] gentoo-x86 commit in x11-libs/libxcb/files: xcb-rebuilder.sh Remi Cardona (remi)
-- strict thread matches above, loose matches on Subject: below --
2014-12-21 9:42 Michal Gorny (mgorny)
2009-08-18 14:38 Remi Cardona (remi)
2009-06-07 21:06 Remi Cardona (remi)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox