This commit is contained in:
milisbir 2018-02-03 20:57:02 +02:00
parent cc96f6cb48
commit 597876f31e
18 changed files with 454 additions and 0 deletions

View File

@ -0,0 +1,30 @@
# Tanım: Cinnamon Denetim Merkezi
# URL: https://github.com/linuxmint/cinnamon-control-center
# Paketçi: Cihan_Alkan
# Gerekler: glib intltool python-gobject python-pillow python-pam docbook-xsl libgnomekbd colord glibmm network-manager-applet cinnamon-settings-daemon cinnamon-translations cinnamon-menus gnome-online-accounts
# Grup: cinnamon
isim=cinnamon-control-center
surum=3.6.5
devir=1
kaynak=(https://github.com/linuxmint/$isim/archive/$surum.tar.gz::$isim-$surum.tar.gz)
derle() {
cd $isim-$surum
./autogen.sh \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-systemd
#https://bugzilla.gnome.org/show_bug.cgi?id=656229
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/ if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/ func_append compile_command " -Wl,-O1,--as-needed"\n func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
make
make DESTDIR=$PKG install
# Remove unused stuff
make -C shell DESTDIR=$PKG uninstall-binPROGRAMS uninstall-directoryDATA uninstall-uiDATA
rm $PKG/usr/share/applications/cinnamon-{control-center,region-panel}.desktop
rm -R $PKG/etc
install -d -o root -g 102 -m 750 $PKG/usr/share/polkit-1/rules.d
}

View File

@ -0,0 +1,24 @@
diff -Naur cinnamon-desktop-2.8.0.orig/schemas/org.cinnamon.desktop.background.gschema.xml.in.in cinnamon-desktop-2.8.0/schemas/org.cinnamon.desktop.background.gschema.xml.in.in
--- cinnamon-desktop-2.8.0.orig/schemas/org.cinnamon.desktop.background.gschema.xml.in.in 2015-10-16 13:00:30.000000000 +0000
+++ cinnamon-desktop-2.8.0/schemas/org.cinnamon.desktop.background.gschema.xml.in.in 2015-11-20 19:04:16.543027956 +0000
@@ -10,7 +10,7 @@
</_description>
</key>
<key name="picture-uri" type="s">
- <default>'file://@datadir@/themes/Adwaita/backgrounds/adwaita-timed.xml'</default>
+ <default>'file://@datadir@/backgrounds/gnome/adwaita-timed.xml'</default>
<_summary>Picture URI</_summary>
<_description>
URI to use for the background image. Not that the backend only supports
diff -Naur cinnamon-desktop-2.8.0.orig/schemas/org.cinnamon.desktop.interface.gschema.xml.in.in cinnamon-desktop-2.8.0/schemas/org.cinnamon.desktop.interface.gschema.xml.in.in
--- cinnamon-desktop-2.8.0.orig/schemas/org.cinnamon.desktop.interface.gschema.xml.in.in 2015-10-16 13:00:30.000000000 +0000
+++ cinnamon-desktop-2.8.0/schemas/org.cinnamon.desktop.interface.gschema.xml.in.in 2015-11-20 19:04:16.543027956 +0000
@@ -97,7 +97,7 @@
</_description>
</key>
<key name="icon-theme" type="s">
- <default>'gnome'</default>
+ <default>'Adwaita'</default>
<_summary>Icon Theme</_summary>
<_description>
Icon theme to use for the panel, nautilus etc.

View File

@ -0,0 +1,29 @@
# Tanım: Çeşitli Cinnamon modülleri için ortak API'li kütüphane
# URL: https://github.com/linuxmint/cinnamon-desktop
# Paketçi: Cihan_Alkan
# Gerekler: xorg-xkeyboard-config accountsservice pulseaudio python intltool
# Grup: cinnamon
isim=cinnamon-desktop
surum=3.6.2
devir=1
kaynak=(https://github.com/linuxmint/$isim/archive/$surum.tar.gz::$isim-$surum.tar.gz
config.patch)
derle() {
cd $isim-$surum
patch -Np1 -i $SRC/config.patch
./autogen.sh \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--libexecdir=/usr/lib/$isim \
--disable-static
#https://bugzilla.gnome.org/show_bug.cgi?id=656231
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
make DESTDIR=$PKG install
}

View File

@ -0,0 +1,23 @@
# Tanım: Cinnamon Menüsü
# URL: https://github.com/linuxmint/cinnamon-menus
# Paketçi: Cihan_Alkan
# Gerekler: gobject-introspection intltool
# Grup: cinnamon
isim=cinnamon-menus
surum=3.6.0
devir=1
kaynak=(https://github.com/linuxmint/$isim/archive/$surum.tar.gz::$isim-$surum.tar.gz)
derle() {
cd $isim-$surum
./autogen.sh \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
--sbindir=/usr/bin
make
make DESTDIR=$PKG install
}

View File

@ -0,0 +1,21 @@
# Tanım: Cinnamon masaüstü ile entegre olacak şekilde tasarlanan ekran koruyucu
# URL: https://github.com/linuxmint/cinnamon-screensaver
# Paketçi: Cihan_Alkan
# Gerekler: intltool gobject-introspection python-gobject python-cairo python3 gtk3
# Grup: cinnamon
isim=cinnamon-screensaver
surum=3.6.1
devir=1
kaynak=(https://github.com/linuxmint/$isim/archive/$surum.tar.gz::$isim-$surum.tar.gz)
derle() {
cd $isim-$surum
./autogen.sh --prefix=/usr --sysconfdir=/etc \
--libexecdir=/usr/lib/cinnamon-screensaver \
--localstatedir=/var \
--with-mit-ext
make
make DESTDIR=$PKG install
}

View File

@ -0,0 +1,25 @@
# Tanım: Cinnamon Oturumu
# URL: https://github.com/linuxmint/cinnamon-session
# Paketçi: Cihan_Alkan
# Gerekler: intltool dbus-glib cinnamon-desktop xorg-libsm libcanberra gtk3 tdb
# Grup: cinnamon
isim=cinnamon-session
surum=3.6.1
devir=1
kaynak=(https://github.com/linuxmint/$isim/archive/$surum.tar.gz::$isim-$surum.tar.gz)
derle() {
cd $isim-$surum
CFLAGS="${CFLAGS} -Wno-error=format-nonliteral" ./autogen.sh \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--libexecdir=/usr/lib/cinnamon-session \
--disable-schemas-compile \
--disable-gconf \
--enable-qt57-theme-support
make
make DESTDIR=$PKG install
}

View File

@ -0,0 +1,24 @@
# Tanım: Cinnamon ayarları programı
# URL: https://github.com/linuxmint/cinnamon-settings-daemon
# Paketçi: Cihan_Alkan
# Gerekler: glib intltool gtk3 cinnamon-desktop libnotify libgnomekbd libcanberra upower colord libgudev nss dbus-glib docbook-xsl librsvg pulseaudio polkit libwacom tdb
# Grup: cinnamon
isim=cinnamon-settings-daemon
surum=3.6.2
devir=1
kaynak=(https://github.com/linuxmint/$isim/archive/$surum.tar.gz::$isim-$surum.tar.gz)
derle() {
cd $isim-$surum
./autogen.sh \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--libexecdir="/usr/lib/$isim" \
--disable-systemd \
--enable-polkit
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
make DESTDIR=$PKG install
}

View File

@ -0,0 +1,14 @@
# Tanım: Milis Cinnamon Sürümü için tema paketi
# URL: https://github.com/oltulu
# Paketçi: Cihan Alkan
# Gerekler:
isim=cinnamon-tema
surum=1.0
devir=1
kaynak=(https://downloads.sourceforge.net/project/aylinux/Milis-Programlar/cinnamon-milis-tema.tar.xz)
derle() {
cp -r $SRC/* $PKG/
}

View File

@ -0,0 +1,17 @@
# Tanım: Cinnamon ve Nemo için Çeviriler
# URL: https://github.com/linuxmint/cinnamon-translations
# Paketçi: Cihan_Alkan
# Gerekler:
# Grup: cinnamon
isim=cinnamon-translations
surum=3.6.4
devir=1
kaynak=(https://github.com/linuxmint/$isim/archive/$surum.tar.gz::$isim-$surum.tar.gz)
derle() {
cd $isim-$surum
make
install -m 0755 -d $PKG/usr/share/locale/
cp -Rp usr/share/locale/* $PKG/usr/share/locale/
}

View File

@ -0,0 +1,25 @@
From 36af45f699daa886a3c3fc3187e0b24b193294ad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= <ballogyor@gmail.com>
Date: Sat, 22 Nov 2014 22:39:39 +0100
Subject: [PATCH] Set default theme to 'cinnamon'
---
data/org.cinnamon.gschema.xml.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/data/org.cinnamon.gschema.xml.in b/data/org.cinnamon.gschema.xml.in
index 91fa171..9f56e4c 100644
--- a/data/org.cinnamon.gschema.xml.in
+++ b/data/org.cinnamon.gschema.xml.in
@@ -581,7 +581,7 @@
<schema id="org.cinnamon.theme" path="/org/cinnamon/theme/"
gettext-domain="@GETTEXT_PACKAGE@">
<key name="name" type="s">
- <default>""</default>
+ <default>"cinnamon"</default>
<_summary>Theme name</_summary>
<_description>
The name of the theme
--
2.1.3

View File

@ -0,0 +1,56 @@
--- a/files/usr/share/cinnamon/cinnamon-settings-users/cinnamon-settings-users.py
+++ b/files/usr/share/cinnamon/cinnamon-settings-users/cinnamon-settings-users.py
@@ -153,12 +153,11 @@
class PasswordDialog(Gtk.Dialog):
- def __init__ (self, user, password_mask, group_mask, parent = None):
+ def __init__ (self, user, password_mask, parent = None):
super(PasswordDialog, self).__init__(None, parent)
self.user = user
self.password_mask = password_mask
- self.group_mask = group_mask
self.set_modal(True)
self.set_skip_taskbar_hint(True)
@@ -224,14 +223,7 @@
def change_password(self):
newpass = self.new_password.get_text()
self.user.set_password(newpass, "")
- mask = self.group_mask.get_text()
- if "nopasswdlogin" in mask:
- subprocess.call(["gpasswd", "-d", self.user.get_user_name(), "nopasswdlogin"])
- mask = mask.split(", ")
- mask.remove("nopasswdlogin")
- mask = ", ".join(mask)
- self.group_mask.set_text(mask)
- self.password_mask.set_text(u'\u2022\u2022\u2022\u2022\u2022\u2022')
+ self.password_mask.set_text(u'\u2022\u2022\u2022\u2022\u2022\u2022')
self.destroy()
def set_passwords_visibility(self):
@@ -563,7 +555,7 @@
model, treeiter = self.users_treeview.get_selection().get_selected()
if treeiter != None:
user = model[treeiter][INDEX_USER_OBJECT]
- dialog = PasswordDialog(user, self.password_mask, self.groups_label, self.window)
+ dialog = PasswordDialog(user, self.password_mask, self.window)
response = dialog.run()
def _on_groups_button_clicked(self, widget):
@@ -807,11 +799,11 @@
pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_size("/usr/share/cinnamon/faces/user-generic.png", 48, 48)
description = "<b>%s</b>\n%s" % (fullname, username)
piter = self.users.append(None, [new_user, pixbuf, description])
- # Add the user to his/her own group and sudo if Administrator was selected
+ # Add the user to his/her own group and wheel if Administrator was selected
if dialog.account_type_combo.get_active() == 1:
- subprocess.call(["usermod", username, "-G", "%s,sudo,nopasswdlogin" % username])
+ subprocess.call(["usermod", username, "-G", "%s,wheel" % username])
else:
- subprocess.call(["usermod", username, "-G", "%s,nopasswdlogin" % username])
+ subprocess.call(["usermod", username, "-G", "%s" % username])
self.load_groups()
dialog.destroy()

View File

@ -0,0 +1,54 @@
# Tanım: Gelişmiş yenilikçi özellikler ve geleneksel kullanıcı deneyimi sağlayan Linux masaüstü
# URL: https://github.com/linuxmint/cinnamon
# Paketçi: Cihan_Alkan
# Gerekler: python-setproctitle caribou muffin cinnamon-settings-daemon cinnamon-session cinnamon-translations clutter-gtk libgnome-keyring cinnamon-control-center cinnamon-screensaver cinnamon-menus startup-notification libgnomekbd network-manager-applet nemo polkit-gnome xapps cjs
# Grup: cinnamon
isim=cinnamon
surum=3.6.7
devir=1
kaynak=(https://github.com/linuxmint/$isim/archive/$surum.tar.gz::$isim-$surum.tar.gz
set_wheel.patch
default-theme.patch)
derle() {
cd Cinnamon-$surum
patch -Np1 -i $SRC/set_wheel.patch
patch -Np1 -i $SRC/default-theme.patch
sed -i 's/RequiredComponents=\(.*\)$/RequiredComponents=\1polkit-gnome-authentication-agent-1;/' \
files/usr/share/cinnamon-session/sessions/cinnamon*.session
sed -i 's|/usr/bin/cinnamon-control-center|/usr/lib/cinnamon-control-center-1/panels|' \
files/usr/bin/cinnamon-settings
sed -i 's|/usr/share/cinnamon-background-properties|/usr/share/gnome-background-properties|' \
files/usr/share/cinnamon/cinnamon-settings/modules/cs_backgrounds.py
# Adwaita teması için Cinnamon Ayarlarında seçilen arka plan rengini düzelt
sed -i 's/@selected_bg_color;/@theme_selected_bg_color;/' \
files/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py
# GNOME Terminal masaüstü dosyası GNOME 3.20'de yeniden adlandırıldı
sed -i 's/gnome-terminal.desktop/org.gnome.Terminal.desktop/' data/org.cinnamon.gschema.xml.in \
files/usr/share/cinnamon/applets/panel-launchers@cinnamon.org/settings-schema.json
# MintInstall'ı GNOME Yazılımı ile Değiştirin
sed -i 's/mintinstall.desktop/org.gnome.Software.desktop/' data/org.cinnamon.gschema.xml.in
# Kırık sembolik bağlantıyı kaldır
rm files/etc/xdg/menus/cinnamon-applications-merged
./autogen.sh --prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib/cinnamon \
--localstatedir=/var \
--disable-static \
--enable-schemas-compile \
--enable-compile-warnings=yes \
--without-ca-certificates
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
make DESTDIR=$PKG install
}

View File

@ -0,0 +1,32 @@
# Tanım: Cinnamon Pencere Yöneticisi
# URL: https://github.com/linuxmint/muffin
# Paketçi: Cihan_Alkan
# Gerekler: clutter gobject-introspection cinnamon-desktop libcanberra xorg-libsm zenity dconf intltool gnome-doc-utils gnome-common gtk-doc
# Grup: cinnamon
isim=muffin
surum=3.6.0
devir=1
kaynak=(https://github.com/linuxmint/$isim/archive/$surum.tar.gz::$isim-$surum.tar.gz)
derle() {
cd $isim-$surum
PYTHON=python ./autogen.sh \
--prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib/muffin \
--localstatedir=/var \
--disable-static \
--disable-schemas-compile \
--enable-compile-warnings=minimum
#https://bugzilla.gnome.org/show_bug.cgi?id=656231
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
make DESTDIR=$PKG install
make -C src DESTDIR="$PKG" uninstall-binPROGRAMS uninstall-desktopfilesDATA
make -C src/tools DESTDIR="$PKG" uninstall
make -C src/compositor/plugins DESTDIR="$PKG" uninstall
make -C doc/man DESTDIR="$PKG" uninstall
}

Binary file not shown.

View File

@ -0,0 +1 @@
glib-compile-schemas /usr/share/glib-2.0/schemas/

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policyconfig PUBLIC
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
"http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
<policyconfig>
<vendor>Nemo Project</vendor>
<vendor_url>https://github.com/linuxmint/nemo</vendor_url>
<action id="org.nemo.root">
<description>Nemo'yu yükseltilmiş ayrıcalıklarla çalıştır</description>
<message>Nemo'yu kök olarak çalıştırmak için lütfen şifrenizi girin</message>
<icon_name>gksu-root-terminal</icon_name>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>auth_admin_keep</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">/usr/bin/nemo</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
</action>
</policyconfig>

View File

@ -0,0 +1,35 @@
# Tanım: Cinnamon Dosya Yöneticisi
# URL: https://github.com/linuxmint/nemo
# Paketçi: Cihan_Alkan
# Gerekler: glib gtk-doc intltool xapps python-polib python-gobject gtk3 cinnamon-desktop libnotify cinnamon-translations gobject-introspection gnome-common libexif gvfs dconf desktop-file-utils exempi python libxml2
# Grup: cinnamon
isim=nemo
surum=3.6.5
devir=1
kaynak=(https://github.com/linuxmint/$isim/archive/$surum.tar.gz::$isim-$surum.tar.gz
libnemo-fileroller.so)
derle() {
cd $isim-$surum
./autogen.sh \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
--libexecdir=/usr/lib/nemo \
--disable-update-mimedb \
--disable-tracker \
--disable-gtk-doc-html \
--disable-schemas-compile \
--disable-selinux
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
make DESTDIR=$PKG install
mkdir -p $PKG/usr/lib/nemo/extensions-3.0
mv $SRC/libnemo-fileroller.so $PKG/usr/lib/nemo/extensions-3.0/
sed -i 's/Run Nemo with elevated privileges/Nemoyu yükseltilmiş ayrıcalıklarla çalıştır/g' $PKG/usr/share/polkit-1/actions/org.nemo.root.policy
sed -i 's/Please enter your password to run Nemo as root/Nemoyu kök olarak çalıştırmak için lütfen şifrenizi girin/g' $PKG/usr/share/polkit-1/actions/org.nemo.root.policy
}

View File

@ -0,0 +1,21 @@
# Tanımlar: X-Apps projesi için ortak kütüphane
# URL: https://github.com/linuxmint/xapps
# Paketçi: Cihan_Alkan
# Gerekler: libgnomekbd python gnome-common gobject-introspection gtk-doc gtk3
# Grup: cinnamon
isim=xapps
surum=1.0.4
devir=1
kaynak=(https://github.com/linuxmint/$isim/archive/$surum.tar.gz::$isim-$surum.tar.gz)
derle() {
cd $isim-$surum
./autogen.sh \
--prefix=/usr \
--localstatedir=/var \
--libexecdir=/usr/lib/$isim
make
make DESTDIR=$PKG install
}