yazıcı için paketler
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
diff -Nuar a/installer/distros.dat b/installer/distros.dat
|
||||
--- a/installer/distros.dat 2014-01-08 11:29:27.000000000 +0200
|
||||
+++ b/installer/distros.dat 2014-01-17 11:36:40.776456834 +0200
|
||||
@@ -92,7 +92,7 @@
|
||||
# ****************************************
|
||||
|
||||
[distros]
|
||||
-distros=unknown,mepis,debian,suse,mandriva,fedora,redhat,rhel,slackware,gentoo,redflag,ubuntu,xandros,freebsd,linspire,ark,pclinuxos,centos,igos,linuxmint,linpus,gos,boss,lfs
|
||||
+distros=unknown,mepis,debian,suse,mandriva,fedora,redhat,rhel,slackware,gentoo,redflag,ubuntu,xandros,freebsd,linspire,ark,pclinuxos,centos,igos,linuxmint,linpus,gos,boss,lfs,pisilinux
|
||||
|
||||
# ****************************************
|
||||
|
||||
@@ -5957,3 +5957,25 @@
|
||||
|
||||
[lfs:6:avahi-utils]
|
||||
packages=avahi
|
||||
+
|
||||
+# ****************************************
|
||||
+[PiSilinux]
|
||||
+index=51
|
||||
+versions=1.0
|
||||
+display=1
|
||||
+display_name=Pisi
|
||||
+package_mgrs=pisi
|
||||
+package_mgr_cmd=su -c "pisi install $packages_to_install"
|
||||
+hplip_remove_cmd=su -c "pisi remove hplip hplip-gui"
|
||||
+su_sudo=su
|
||||
+ppd_install=drv
|
||||
+udev_mode_fix=1
|
||||
+ppd_dir=/usr/share/cups/model/HP
|
||||
+drv_dir=/usr/share/cups/drv/HP
|
||||
+fix_ppd_symlink=0
|
||||
+package_available=1
|
||||
+add_user_to_group=
|
||||
+policykit=1
|
||||
+native_cups=1
|
||||
+ui_toolkit=qt4
|
||||
+acl_rules=1
|
||||
\ Dosya sonunda yenisatır yok.
|
||||
@@ -0,0 +1,14 @@
|
||||
--- hplip-systray.desktop.in.OSmanOS 2013-02-13 18:38:51.000000000 +0200
|
||||
+++ hplip-systray.desktop.in 2013-03-03 13:23:27.618733314 +0200
|
||||
@@ -2,8 +2,11 @@
|
||||
Version=0.6
|
||||
Type=Application
|
||||
Name=HP System Tray Service
|
||||
+Name[tr]=HP Sistem Çekmecesi Hizmeti
|
||||
GenericName=Printer Status Applet
|
||||
+GenericName[tr]=Yazıcı Programcığı
|
||||
Comment=HP System Tray Service
|
||||
+Comment[tr]=HP Sistem Çekmecesi Hizmeti
|
||||
Exec=hp-systray -x
|
||||
Icon=@abs_datadir@/hplip/data/images/128x128/hp_logo.png
|
||||
Terminal=false
|
||||
@@ -0,0 +1,16 @@
|
||||
Index: hplip-3.9.6/hplip.desktop.in
|
||||
===================================================================
|
||||
--- hplip-3.9.6.orig/hplip.desktop.in
|
||||
+++ hplip-3.9.6/hplip.desktop.in
|
||||
@@ -2,8 +2,11 @@
|
||||
Encoding=UTF-8
|
||||
Type=Application
|
||||
Name=HP Device Manager
|
||||
+Name[tr]=HP Aygıt Yöneticisi
|
||||
GenericName=Printer Management Application
|
||||
+GenericName[tr]=Yazıcı Yönetim Uygulaması
|
||||
Comment=View device status, ink levels and perform maintenance.
|
||||
+Comment[tr]=Aygıt durumunu, mürekkep seviyelerini gözleyin.
|
||||
Exec=hp-toolbox
|
||||
Icon=@abs_datadir@/hplip/data/images/128x128/hp_logo.png
|
||||
Terminal=false
|
||||
@@ -0,0 +1,15 @@
|
||||
Index: hplip-3.9.10/configure.in
|
||||
===================================================================
|
||||
--- hplip-3.9.10.orig/configure.in
|
||||
+++ hplip-3.9.10/configure.in
|
||||
@@ -438,9 +438,7 @@ AM_CONDITIONAL(POLICYKIT_INSTALL, test x
|
||||
|
||||
# Determine where the PolicyKit policy file goes
|
||||
if test "$policykit" = "yes"; then
|
||||
- if test -d /usr/share/polkit-1; then
|
||||
- policykit_dir=/usr/share/polkit-1/actions
|
||||
- elif test -d /usr/share/PolicyKit; then
|
||||
+ if test -d /usr/share/PolicyKit; then
|
||||
policykit_dir=/usr/share/PolicyKit/policy
|
||||
else
|
||||
policykit_dir=/usr/share/PolicyKit/policy
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
Index: hplip-3.10.5/systray.py
|
||||
===================================================================
|
||||
--- hplip-3.10.5.orig/systray.py
|
||||
+++ hplip-3.10.5/systray.py
|
||||
@@ -48,6 +48,10 @@ if __name__ == '__main__':
|
||||
if os.getpgid(os.getpid()) != os.getpid():
|
||||
os.setsid()
|
||||
|
||||
+ if "-session" in sys.argv:
|
||||
+ si = sys.argv.index("-session")
|
||||
+ del sys.argv[si:si+2]
|
||||
+
|
||||
mod = module.Module(__mod__, __title__, __version__, __doc__, None,
|
||||
(GUI_MODE,), (UI_TOOLKIT_QT4, UI_TOOLKIT_QT3))
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
Index: hplip-3.9.6b/base/module.py
|
||||
===================================================================
|
||||
--- hplip-3.9.6b.orig/base/module.py
|
||||
+++ hplip-3.9.6b/base/module.py
|
||||
@@ -149,8 +149,8 @@ class Module(object):
|
||||
#log.debug("Default ui-toolkit: %s" % self.default_ui_toolkit)
|
||||
#log.debug("Default mode: %s" % self.default_mode)
|
||||
|
||||
- if os.getuid() == 0 and not run_as_root_ok:
|
||||
- log.warn("%s should not be run as root/superuser." % mod)
|
||||
+ #if os.getuid() == 0 and not run_as_root_ok:
|
||||
+ # log.warn("%s should not be run as root/superuser." % mod)
|
||||
|
||||
|
||||
def setUsage(self, include_flags=0, extra_options=None,
|
||||
Reference in New Issue
Block a user