Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Qcad] [SOLVED] Difficulté pour lancer/intégrer dans XFCE
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
enduser_
n00b
n00b


Joined: 23 Aug 2012
Posts: 7

PostPosted: Mon Oct 20, 2014 6:59 pm    Post subject: [Qcad] [SOLVED] Difficulté pour lancer/intégrer dans XFCE Reply with quote

Bonsoir,

j'ai du mal à lancer proprement qcad-3.6.4-pro-linux-x86_64 au sein de mon XFCE 4.10 (c'est une version " payante" pour avoir le droit d'utiliser F11....)
L'unique commande qui fonctionne sous le terminal est la suivante:

Code:
# LD_LIBRARY_PATH=. ./qcad-bin
(dans le rep. de qcad fraîchement décompressé à partir de l'archive fournit par Ribonsoft)

Pénible pour lancer systématiquement à partir du Terminal ou encore pour l'intégrer dans un launcher de XFCE

J'ai posé la question sur #gentoofr et j'ai cru comprendre qu'il me fallait faire un ls(lien symbolique) vers /opt.... j'avoue n'avoir pas tout retenu et surtout tout oublié ... :/ De plus il m'avait semblé que cette méthode devait m'obliger à refaire mon lien à chaque nouvel upgrade/maj de Qcad

Si quelqu'un avait une procédure ? Ou même une URL qui explique comment lancer proprement des progs sans ebuilds ou compilé "à la main...."
Bien cordialement.

EndU
___________________
Version:3.6.4
Build Date:Jun 19 2014
Qt Version:4.8.4
Compiler:gcc 4.4.3
OS :Gentoo
#################################################################
Portage 2.2.8-r2 (default/linux/amd64/13.0/desktop, gcc-4.7.3, glibc-2.19-r1, 3.14.14-gentoo x86_64)
=================================================================
System uname: Linux-3.14.14-gentoo-x86_64-Intel-R-_Core-TM-_i3_CPU_530_@_2.93GHz-with-gentoo-2.2
KiB Mem: 8100248 total, 5268648 free
KiB Swap: 12594956 total, 12594956 free
Timestamp of tree: Mon, 20 Oct 2014 14:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash: 4.2_p53
dev-java/java-config: 2.2.0
dev-lang/perl: 5.18.2-r2
dev-lang/python: 2.7.7, 3.3.5-r1, 3.4.1
dev-util/cmake: 2.8.12.2-r1
dev-util/pkgconfig: 0.28-r1
sys-apps/baselayout: 2.2
sys-apps/openrc: 0.12.4
sys-apps/sandbox: 2.6-r1
sys-devel/autoconf: 2.13, 2.69
sys-devel/automake: 1.11.6, 1.12.6, 1.13.4
sys-devel/binutils: 2.23.2
sys-devel/gcc: 4.7.3-r1
sys-devel/gcc-config: 1.7.3
sys-devel/libtool: 2.4.2-r1
sys-devel/make: 4.0-r1
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc: 2.19-r1
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/entropy /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://gentoo.imj.fr/pub/gentoo ftp://de-mirror.org/distro/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://mirror.netcologne.de/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/"
LANG="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apng automount berkdb bidi bluetooth branding bzip2 cairo caps caps-ng cdda cdio cdr cgi cli consolekit cracklib crypt ctype cups cxx dbus dri dts dvb dvd dvdr eds emboss emerald encode evo exif fam ffmpeg firefox flac fortran freetype ftp gd gdbm gif gimp glamor glitz gnutls gpm gstreamer gtk hddtempraw hdtemp httpd iconv ieee1394 introspection ipv6 jpeg lcms ldap libnotify livedvb lm_sensors lock mad matroska mmx mng modules mp3 mp4 mpeg multilib nano-syntax ncurses nls nptl ogg oggvorbis opengl openmp pam pango pcre pdf php png policykit ppds qt3support readline sdl session spell sqlite sse sse2 ssl startup-notification static-libs svg symlink tcpd theora threads thunar tiff truetype udev udisks unicode upower usb vcd vlm vorbis wifi win32codecs wxwidgets wxwindows x264 xcb xml xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr de en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


Last edited by enduser_ on Sun Nov 02, 2014 11:43 am; edited 1 time in total
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8708
Location: ~Brussels - Belgique

PostPosted: Tue Oct 21, 2014 7:12 am    Post subject: Reply with quote

Bonjour,

Installe QCad dans /opt/qcad-version-courante

Crée un script qcad dans /opt/bin :
/opt/bin/qcad:
#!/bin/sh
cd /opt/qcad-version-courante/bin
exec LD_LIBRARY_PATH=. ./qcad-bin


Et ainsi, tu peux exécuter ton script dans un raccourci.
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum