Story of a patch, or: united we stand
Recently Fedora’s Lukas Tinkl pushed to kdelibs (for the 4.10 release) a patch that enabled Solid to talk to udisks2, which is a replacement for udisks. Fedora already moved to udisks2 (and killed HAL) and future GNOME releases will only use udisks2, so the need for a working backend was a necessity, and at the same time they acted like good open source citizens, and pushed the code both to 4.10 and the KDE Frameworks branch of kdelibs.
Unfortunately, there was a snag: the code was there, but not getting compiled. But no one noticed, as Fedora was patching the CMakeLists.txt during their build process (it wasn’t a mistake: they were removing things they didn’t need from upstream KDE, such as Solid’s HAL backend). At the same time, Alin on the openSUSE Factory mailing list noticed that with udisks2 he didn’t get devices offered by the Device Notifier widget.
So that’s where myself and Raymond, an openSUSE member and contributor, went to investigate the issue. Indeed, there wasn’t any reference to the UDisks2 backend in the build system for Solid. That’s where Raymond took off, and started to adapt it. At some point, we were stuck, so I pinged the helpful Rex Dieter from Fedora and he directed me and Raymond to #fedora-kde. There a quick discussion with Lukas Tinkl himself and Kevin Kofler helped ironing the final thigns out. In the end, Raymond produced and pushed to KDE’s repository a patch to enable the building of the backend.
What’s the lesson learned from this? That despite distro wars, differences, and even heated debates, collaboration is still a key aspect of FOSS. And in the end the talks between upstream (myself, although I’m not a professional coder by any means), openSUSE (Alin, Raymond) and Fedora (Lukas, Rex, and Kevin) ended up with an improvement that benefited KDE and by association everyone using it.
In short: FOSS rocks also for this.
_Note for Planet openSUSE readers: _This is my first post for planet openSUSE, so hello to everyone. Perhaps a proper introduction will come later…
openSUSE Summit - 2nd Day
Yesterday I was able to see some of our team's contributors, Sebatian (tian2992), Eugene, (it-s), and Richard (Ilmehtar). We decided to get together today, at some point, and work on some guidelines for our team. We will be making a few proposals to the team, because of this, later. The idea is to streamline our work. We understand that there are many ways in which the artwork team can fulfill its functions, but in the end, it really needs to comply with release dates more strongly. Right now, we are planning to create steps for our artwork to be done before release, we are also planning to work with people to come up with new design ideas for the distributions and, in the future, change our UI a little more.
The main idea is that we can do a good brainstorming here and then make proposals, mockups, and so on. Eventually, we will present these ideas at the openSUSE Conference and to the rest of the team later at the mailing list. We don't want to post something that is just ideas and half-way done. So stay tuned.
Today is a great day for a couple of our contributors. Richard Brown (Ilmehtar) will be presenting today and also me, Andy (anditosan). My presentation will feature a live stream. If you want to see and listen, please go here.
https://new.livestream.com/accounts/1483845/events/1544568
Broadcast will start at 2 PM Eastern Time, USA.
I hope you enjoy!
Projetos novos - Django
Arch Linux auf systemd umstellen
Da es anscheinend noch keine Anleitung auf deutsch gibt wie man sein Arch Linux auf systemd umstellt, werde ich mich nun daran versuchen. Folgend werden wir ein Arch Linux vom alten init-System auf systemd umstellen.
Pakete installieren
Zu allererst ein volles Update des Systems mit dem Befehl:
pacman -Syu
Nun installieren wir systemd mit dem Befehl:
pacman -S systemd
Konfigurationsdateien erstellen
Jetzt legen wir folgende Dateien an mit dem jeweiligen Inhalt:
/etc/hostname
#hostname vom Rechner
/etc/vconsole.conf
KEYMAP="de-latin1.map.gz"
FONT=lat9w-16
FONT_MAP=8859-1_to_uni
/etc/locale.conf
LANG=de_DE.utf8
LC_COLLATE=C
/etc/timezone
Europe/Berlin
Kernelmodule eintragen
Wenn zusätzliche Kernelmodule geladen werden müssen die in der /etc/rc.conf stehen, so müssen diese noch extra eingerichtet werden, da die rc.conf bei systemd in diesem Falle ignoriert wird.
Legen Sie für jedes Kernelmodul das geladen werden soll im Ordner
/etc/modules-load.d/
eine Datei an. Hier am Beispiel vom vboxdrv
touch /etc/modules-load.d/vboxdrv.conf
und schreiben Sie in die Datei den Namen des Kernelmoduls
vboxdrv
Dies wiederholen Sie mit allen zu ladenen Kernelmodulen.
systemd einrichten
Nun kommen wir zur eigentlichen systemd Konfiguration. Zuerst müssen wir das target, also das Ziel festlegen, was in unserem Fall das Ursprüngliche init 5 oder bei systemd das graphical.target ist.
Mit dem Befehl
systemctl enable graphical.target
geben wir dies an systemd weiter.
Nun müssen wir noch alle Deamons die beim Start geladen werden sollen, angeben. Schauen Sie dazu in die /etc/rc.conf hinein und übertragen Sie alle zu startenden Deamons in systemd.
Steht in der rc.conf zum Beispiel
DAEMONS=(syslog-ng acpid dbus iptables networkmanager ntpd alsa cupsd crond kdm)
sehen die Befehle an systemd so aus:
systemctl enable syslog-ng.service
systemctl enable acpid.service
systemctl enable apcid.socket
systemctl enable iptables.service
systemctl enable NetworkManager.service
systemctl enable ntpd.service
systemctl enable cupsd.service
systemctl enable cronie.service
systemctl enable kdm.service
Ohne NetworkManager benutzen Sie einfach
systemctl enable dhcpcd@eth0.service
Tipp: Manche Deamons haben andere Namen im systemd. So heisst zum Beispiel cupsd bei systemd cups.service. Um den richtigen Namen zu finden kann mit
systemctl --all | grep cups
gesucht werden.
Altes init-System löschen
Nun müssen Sie noch das alte init-System löschen
pacman -R initscripts
pacman -S systemd-sysvcompat
Das war es auch schon. Nach einem Neustart sollte systemd den Rechner nun ohne Probleme hochfahren. Sollte ein Deamon nicht starten können Sie die Fehlermeldung mit
systemctl status [deamon].service
abrufen.
Mehr Informationen zum Thema systemd in Arch Linux gibt es in dem sehr ausführlichen Artikel unter https://wiki.archlinux.org/index.php/Systemd
Wichtig: Wer auf der sicheren Seite sein möchte kann initscripts auch erstmal behalten und mit dem Kernelparameter
init=/bin/systemd
ausprobieren ob systemd wie erwartet funktioniert. Ist dies der Fall kann dann das alte init-System wie im letzen Kapitel beschrieben gelöscht werden.
1.5 million of people under the slogan "Catalonia, a new European state
Yesterday, September 11th, 2012, 1.5 million people meet in Barcelona under the slogan "Catalonia, new European state.
Spanish government is trying to minimize it. Please do not ignore us.
See:
http://rt.com/news/catalonian-national-day-protest-independence-925/
http://www.bbc.co.uk/news/world-europe-19564640
http://edition.cnn.com/2012/09/11/world/europe/spain-catalonia-protests/index.html
http://www.guardian.co.uk/world/2012/sep/11/catalan-independence-rally-barcelona?newsfeed=true
http://www.digitaljournal.com/article/332659
Release of openSUSE 12.2 (Plymouth)
IopenSUSE 12.2 got released some days ago and it seems that the plymouth integration is received very well. Even the openSUSE theme got good comments and is seen as sophisticated. This to my big surprise.
But i am very happy about it as that it proofs that we all did a good job. Unfortunately it seems that plymouth in combinztion with NVIDIA chipset can sometimes cause some unpleasant surprises. But lets hope we cn sort this out with the next release.
As that the pressure ix off again, i started to work on updates of KDE:Unstable:SC again. Yesterday kdegames was moved from svn to git and split out in seperate repositories. So a lot of new packages have to be created. Hopefully i can finish this soon, so that i can create a new snapshot this coming weekend.
Also Chromium saw a big chance recently. A couple of builds ago we noticed that chromium started to behave rathar crashy. Investigations showed that the our attempt to build with as much system libraries as possible failed. The chromium developers seemed to hsve r3ached the point where the system libraries are no longer compatible with the ones shipped with the chromium source. So as of two build, Chromium is now switched to utilize its full sourcecode. This resolved the issues and also the wotk required in keeping the opensuse patches up to date.
openSUSE 12.2: Green Means Go!
Αγαπητοί χρήστες, προγραμματιστές, και Geekos σε όλο τον κόσμο το openSUSE 12.2 είναι έτοιμο! Δύο μήνες επιπλέον εργασίες σταθεροποίησης έχουν οδηγήσει σε μια αστρική απελευθέρωση, γεμάτη με πολλά νέα πράγματα, αλλά σταθερή, όπως σας αρέσει.
Η τελευταία έκδοση της πιο ισχυρής και ευέλικτης διανομής Linux στον κόσμο σας φέρνει ταχύτητα σε όλους τους τομείς με το ταχύτερο στρώμα αποθήκευσης του πυρήνα Linux 3.4 και τις επιταχύνσεις στα glibc και Qt, δίνοντας ένα πιο ρευστό και ανταποκρίσιμο περιβάλλον εργασίας. Η υποδομή κάτω από το openSUSE έχει εξελιχθεί, φέρνοντας ώριμες νέες τεχνολογίες, όπως το GRUB2 και Plymouth και τα πρώτα βήματα προς την κατεύθυνση του ένα αναθεωρημένου και απλοποιημένου UNIX συστήματος αρχείων. Οι χρήστες θα παρατηρήσετε επίσης την προσθήκη βελτιώσεων εμφάνισης στα υπάρχοντα χαρακτηριστικά που φέρνει μια βελτιωμένη εμπειρία χρήστη πάνω από όλα. Το νέο σύστημα αρχείων Btrfs έρχεται με βελτιωμένο χειρισμό σφαλμάτων και εργαλεία ανάκτησης, το GNOME 3.4, αναπτύσσεται ραγδαία, φέρνοντας ομαλή κύλιση σε όλες τις εφαρμογές και τα χαρακτηριστικά, ένα επανασχεδιασμένο περιβάλλον Ελέγχου Συστήματος και στο XFCE έχει μια βελτιωμένη εφαρμογή εύρεσης.
Μερικές από τις πιο αξιοσημείωτες αλλαγές είναι στους ακόλουθους τομείς:
Επίδοση
Από τον πυρήνα ως το γραφικό περιβάλλον, το openSUSE 12.2 σας φέρνει ταχύτητα: Ο πυρήνας Linux 3.4 έχει ταχύτερη αποθήκευση για ν’ αποτρέψει το κλείδωμα κατά τη διάρκεια μεγάλων μεταφορών. Η glibc 2.15, η βασική βιβλιοθήκη, βελτιώνει την απόδοση πολλών λειτουργιών, ιδιαίτερα σε 64 bit συστήματα. Το systemd 44 επιτρέπει την ταχύτερη εκκίνηση. Και το KDE 4.8.4 βασίζεται στο Qt 4.8.1 να κάνει την επιφάνεια εργασίας να ανταποκρίνεται ταχύτερα.
Εξέλιξη
Το openSUSE υιοθετεί τις τελευταίες εξελίξεις στην τεχνολογία της διανομής Linux καθώς ωριμάζουν.Ο GRUB2 bootloader είναι τώρα προεπιλεγμένος, έχουμε ξεκινήσει τη διαδικασία αναθεώρησης και απλούστευσης του συστήματος αρχείων UNIX για να βελτιωθεί η συμβατότητα στις διανομές, και κατά τη διάρκεια της εκκίνησης και τερματισμού το Plymouth 0.8.6.1 παρέχει χωρίς τρεμόπαιγμα, μεταβάσεις και ελκυστικά κινούμενα σχέδια.
Βελτιστωποιήσεις
Το GNOME 3.4 εισάγει την ομαλή κύλιση σε όλες τις εφαρμογές, μια αναθεώρηση στις Ρυθμίσεις συστήματος και επανασχεδιασμένη επιφάνια εργασίας. Το XFCE 4.10 έχει μια βελτιωμένη εφαρμογή εύρεσης. Το Dolphin ο διαχειριστής αρχείων είναι πιο όμορφος και πιο γρήγορος.
Καινοτομία
Ο Xorg 1.12 εισάγει την υποστήριξη για multitouch συσκευές εισόδου. Ο Mozilla Firefox υποστηρίζει τις τελευταίες τεχνολογίες Web. Το llvmpipe λογισμικό 3D renderer επιτρέπει στο Gnome Shell και στις εικονικές μηχανές να χρησιμοποιούν compositing, ακόμη και όταν δεν υπάρχει 3D υλικό είναι παρόν. Τα GIMP 2.8 και Kritα 2.4 κάνουν την επεξεργασία εικόνας και τη ζωγραφική ανταγωνιστική με άλλα ιδιόκτητα εργαλεία. Ο Tomahawk Player υπόσχεται να ακούτε μουσική στον υπολογιστή σας μια κοινωνική εμπειρία.
Σταθερότητα
Το LibreOffice 3.5 συνεχίζει να βελτιώνετε με πολλές προσθήκες και βελτιώσεις. Οι εφαρμογές του KDE 4.8.4 για e-mail και ημερολόγιο έχουν αυξημένη σταθερότητα, ενώ η επόμενη γενιά btrfs σύστημα αρχείων έχει τώρα βελτιωμένη διαχείριση σφαλμάτων και εργαλεία ανάκτησης.
Διαχείριση
Ο πυρήνας 3.4 επιτρέπει τον καθορισμό ανωτάτου ορίου χρήση της CPU σε ολόκληρες ομάδες διεργασιών. Η νέα έκδοση του systemd προσφέρει μια λειτουργία φύλακα για την επίβλεψη των υπηρεσιών υπό τον έλεγχό του, καθώς και ένα νέο εργαλείο διαχείρισης της διαδικασίας. Οι Sysadmins θα επωφεληθούν από μια νέα σουίτα Digital Forensics/Incident Response.
Nεωτερισμός
Μια σειρά από επιστημονικά εργαλεία φέρνουν εφαρμογές μαθηματικών, όπως αριθμητικό υπολογισμό, σχεδίαση και οπτικοποίηση στο openSUSE. Το Stellarium ο αστρονομικός προσομοιωτής σας επιτρέπει να εξερευνήσετε το νυχτερινό ουρανό χωρίς τηλεσκόπιο. Οι προγραμματιστές θα απολαύσετε την έκδοση 1.0.2 της Google, Go γλώσσας, καθώς και τα πιο πρόσφατα C++ πρότυπα που εφαρμόζονται στα GCC 4.7.1 και Qt Creator 2.5.
Εκτός από αυτές τις τεχνικές αλλαγές, η ομάδα τεκμηρίωσης έχει κάνει μια σημαντική αναθεώρηση των εγχειριδίων αναφοράς, και εισήγαγε αλλαγές για να καταστεί ευκολότερο για τους συντελεστές της κοινότητας να γράψουν τεκμηρίωση για το openSUSE.
Για περισσότερες λεπτομέρειες σχετικά με τις τελευταίες καινοτομίες στο openSUSE 12.2 επίσκεψη opensuse.org/12.2.
Κατεβάστε το!
Το ανανεωμένο openSUSE 12,2 μπορεί να βρεθεί στο software.opensuse.org/122. Οι χρήστες που τρέχουν το openSUSE 12.1, είναι δυνατόν να αναβαθμίσουν στο openSUSE 12.2 μέσω των οδηγιών.
Have a lot of fun!
OpenSuSE 12.2 delivers again
I don't think enough is said or enough accolades is paid to hardworking folks that helps me to retain a few more of my already receding follicles after a major upgrade. Thank you guys! Aside from having to re-install my google chrome and my codecs (Why can't they just have an option to do or enable that during upgrade process ??) nothing much of anything was interesting. Boring. Crickets. That's the way a smooth and great upgrade should be.
Really like the work put into the boot up screen and the improvements done to zypper. Overall the box at homes is chugging along at a somewhat higher speed.
Thank you OpenSuSE. Just the other day it crossed my mind that I have had more than a decade affair with OpenSuSE and it just seems get stronger from release to release.
Going to the Summit of Geekos
How to install openSUSE 12.2 on MBA Mid 2012
openSUSE 12.2 release !
所以就嘗試安裝 openSUSE 12.2 到 MacBook Mid.2012 (5,2) 上,
不過遇到了一些困難,在這裡把安裝的方法和解決和大家分享:
請注意!
此種安裝方法會有風險,
請備份好所有的資料,
並且製作 Mac OS 的 安裝 image.
Step by step install openSUSE 12.2 to Mackbook Air Mid 2012
1. goto http://software.opensuse.org/122/en
選擇 Download的 openSUSE 12.2 (建議是使用 DVD x86_64版本的 iso)
2. Download 完成之後使用工具將 iso放到 usb 3.0 隨身碟裡面使用
可以使用簡單方便好用的 https://github.com/abock/image-usb-stick
3. 在 Mac OS中安裝 rEFIt ,安裝方法可以很簡單到找到,故在此就不贅述了
4. 開始安裝,這時後再開機畫面的option按下f5 選擇 "NO ACPI" 選項
( 需要使用外接鍵盤滑鼠 )
5. 安裝的時候再partation選項來說要使用
6. 自訂安裝磁區選項(下列為建議選項):
sda1 ( EFI boot partation )
sda2 ( Mac OS )
sda3 ( Recovery HD )
保留不要讓它們被清除,
選擇分割剩下的sda4 成
sda4 -> "swap" ( 建議2GB )
sda5 -> "/"
sda6 -> "/home"
並且把 sda1 選加上一個 /boot/efi 的 mount point.
7. boot loader 選擇 grub2-efi
8. 開始進行安裝
9. 遇到安裝錯誤
看到第一瞬間應該會想說
別擔心,這是因為EFI的driver沒有被掛上,所以我們需要一些步驟來解決這個問題
(原因似乎還不明,但是應該是因為並不是完全被使用EFI boot )
10. 使用 救援模式 來進行安裝boot loader的動作
11. 進入command line之後:
出現 " login : "
這裡輸入root就好,不會有密碼的問題.
linux-root:~ #mount /dev/sda5 /mnt
linux-root:~ #mount /dev/sda6 /mnt/home
linux-root:~ #mount --bind /dev/ /mnt/dev
linux-root:~ #mount --bind /dev/ /mnt/proc
linux-root:~ #mount --bind /sys /mnt/sys
linux-root:~ #chroot /mnt
linux-root:~ #mount /dev/sda1 /boot/efi
linux-root:~ #grub2-efi-install --target=x86_64-efi
查看發現在 /boot/efi 下面的 EFI/ 裡面有多一個 opensuse/grubx64.efi 的檔案
有的話就大功告成
然後進入到 /boot/grub2-efi/ 裡面修改 grub.cfg
找到 acpi=off 並且修改成 intremap=off ,這樣就可以暫時把 irq remap的問題給屏蔽掉.
然後就可以開心的讓 Gecko 跑在 Macbook AIR 上面了!
[hardware enablement]
Wireless:
- drivers
- 使用 /usr/sbin/install_bcm43xx_firmware 更新 firmware ( 要再有網路連線狀態下,否則會有黑屏crash的現象發生 ),下載完了之後wireless就可以使用了
Ethernat:
( Thunderbolt 對 Gigabit 乙太網路轉接器 )- driver
- 需要 tg3的patch
- 加入 DNS:
- check /etc/resolv.conf
- add "nameserver 8.8.8.8" or thers.
--
最後感謝所有好友的幫忙,也希望大家若是遇到問題能夠回報到 bugzilla 或是讓我知道.
錯誤和能夠改進的地方也歡迎大家提出,謝謝.
--
ChangeLog:
2012-9-11 v1 完成.
- 2012-9-11 02:16:小錯誤修改
--
TODO:
- 補上各步驟圖示方便大家了解細節


