FreeBSD Bugzilla – Attachment 176849 Details for
Bug 212458
[NEW PORT] ports-mgmt/kde-emerge: (almost) meta-port for KDE Emerge system
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Shar
shar (text/plain), 4.06 KB, created by
Gleb Popov
on 2016-11-10 10:52:13 UTC
(
hide
)
Description:
Shar
Filename:
MIME Type:
Creator:
Gleb Popov
Created:
2016-11-10 10:52:13 UTC
Size:
4.06 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># files ># files/pkg-message ># files/emerge-bootstrap ># Makefile ># pkg-descr ># >echo c - files >mkdir -p files > /dev/null 2>&1 >echo x - files/pkg-message >sed 's/^X//' >files/pkg-message << '966bc4c0e28e58cbacf03bdc9bb102e5' >XThis port installed `emerge-bootstrap` script. Run it to get started with KDE Emerge. >966bc4c0e28e58cbacf03bdc9bb102e5 >echo x - files/emerge-bootstrap >sed 's/^X//' >files/emerge-bootstrap << 'f25443f509719ae4b9d6819938195908' >X#!/usr/local/bin/perl >Xuse strict; >Xuse warnings; >Xuse File::Copy; >Xuse File::Path 'make_path'; >Xuse feature 'say'; >X >Xmy ($change_git_config, $change_emerge_config, $build_type); >X >Xprint "Enter the directory to act as Emerge root: [$ENV{'HOME'}/kderoot] "; >Xchomp (my $kderoot_path = <>); >X$kderoot_path = "$ENV{'HOME'}/kderoot" if ! $kderoot_path; >X >Xchomp (my $out = `git config --global --get url.git://anongit.kde.org/.insteadOf`); >Xif (! $out) { >X ++$change_git_config >X} elsif ($out ne 'kde:') { >X print "The insteadOf parameter of your ~/.gitconfig is \"$out\" but it should be \"kde:\"\nSet it to \"kde:\"? [yes] "; >X chomp (my $set = <>); >X ++$change_git_config if ! $set or $set =~ /^(?:yes|y)$/i >X} >X >Xwhile (1) { >X print 'Select BuildType (Release/Debug/MinSizeRel/RelWithDebInfo): [RelWithDebInfo] '; >X chomp ($build_type = <>); >X last if ! $build_type or $build_type eq 'RelWithDebInfo'; >X ++$change_emerge_config and last if $build_type =~ /^(?:Release|Debug|MinSizeRel)$/ >X} >X >Xmake_path $kderoot_path; >Xchdir $kderoot_path; >X >Xsay 'Something wrong with changing gitconfig' if $change_git_config and system 'git config --global url.git://anongit.kde.org/.insteadOf "kde:"'; >X >Xdie 'git clone error' if system 'git clone git://anongit.kde.org/emerge.git'; >Xmkdir 'etc' ; >X >Xif ($change_emerge_config) { >X open my $ini, 'emerge/kdesettings.fbsd'; >X open my $finini, '>etc/kdesettings.ini'; >X while (<$ini>) { >X s/(=\s)RelWithDebInfo/$1$build_type/; >X print $finini $_ >X } >X} else { >X copy 'emerge/kdesettings.fbsd', 'etc/kdesettings.ini' or die "copy:$!" >X} >X >Xsay "Bootstrapping done. Now start bash and run \"source $kderoot_path/emerge/kdeenv.sh\""; >f25443f509719ae4b9d6819938195908 >echo x - Makefile >sed 's/^X//' >Makefile << 'b67911656ef5d18c4ae36cb6741b7965' >X# $FreeBSD$ >X >XPORTNAME= kde-emerge >XPORTVERSION= 1 >XCATEGORIES= ports-mgmt kde devel >XDISTFILES= # none >X >XMAINTAINER= 6yearold@gmail.com >XCOMMENT= Meta-port to build all emerge dependencies >X >XLIB_DEPENDS= libicui18n.so:devel/icu \ >X libpcre.so:devel/pcre \ >X libdbus-1.so:devel/dbus \ >X libfontconfig.so:x11-fonts/fontconfig \ >X libfreetype.so:print/freetype2 \ >X libharfbuzz.so:print/harfbuzz \ >X libpng.so:graphics/png \ >X libxcb.so:x11/libxcb \ >X libxcb-image.so:x11/xcb-util-image \ >X libxcb-keysyms.so:x11/xcb-util-keysyms \ >X libxcb-render-util.so:x11/xcb-util-renderutil \ >X libxcb-icccm.so:x11/xcb-util-wm \ >X libxkbcommon.so:x11/libxkbcommon \ >X libgpgme.so:security/gpgme >X >XRUN_DEPENDS= py35-sqlite3>=0:databases/py35-sqlite3 \ >X inputproto>=0:x11/inputproto \ >X bash:shells/bash \ >X git:devel/git \ >X cmake:devel/cmake \ >X 7za:archivers/p7zip \ >X p5-URI>=0:net/p5-URI \ >X python:lang/python \ >X xkeyboard-config>=0:x11/xkeyboard-config \ >X xorg-fonts>=0:x11-fonts/xorg-fonts >X >XUSES= python:2,3.5,run execinfo gmake pkgconfig:run \ >X gettext-tools:run gettext-runtime:run bison:run shared-mime-info >XUSE_GNOME= glib20 libxslt >XUSE_RUBY= yes >XRUBY_NO_BUILD_DEPENDS= yes >XNO_BUILD= yes >X >XCONFLICTS= qt5-* >X >XPLIST_FILES= bin/emerge-bootstrap >X >Xdo-install: >X ${INSTALL_SCRIPT} ${FILESDIR}/emerge-bootstrap ${STAGEDIR}${PREFIX}/bin >X >X.include <bsd.port.mk> >b67911656ef5d18c4ae36cb6741b7965 >echo x - pkg-descr >sed 's/^X//' >pkg-descr << '7f9555c3c1089940396b503dd37f3979' >XMeta-port to build all emerge dependencies >7f9555c3c1089940396b503dd37f3979 >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 212458
:
174475
| 176849